@univerjs/preset-docs-collaboration 0.12.4-experimental.20251210-29c379a → 0.12.4-insiders.20251211-c28f914
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 +4 -4
- package/lib/umd/locales/ca-ES.js +2 -2
- package/lib/umd/locales/en-US.js +2 -2
- package/lib/umd/locales/es-ES.js +2 -2
- package/lib/umd/locales/fa-IR.js +2 -2
- package/lib/umd/locales/fr-FR.js +2 -2
- package/lib/umd/locales/ja-JP.js +2 -2
- package/lib/umd/locales/ko-KR.js +2 -2
- package/lib/umd/locales/ru-RU.js +2 -2
- package/lib/umd/locales/vi-VN.js +2 -2
- package/lib/umd/locales/zh-CN.js +2 -2
- package/lib/umd/locales/zh-TW.js +2 -2
- package/package.json +5 -5
package/lib/umd/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @univerjs-pro/collaboration-client/index
|
|
2
|
-
function _0x4f3d(_0xdc846d,_0xf65fbb){_0xdc846d=_0xdc846d-0xab;var _0x16cf0e=_0x16cf();var _0x4f3da6=_0x16cf0e[_0xdc846d];return _0x4f3da6;}(function(_0x461268,_0x37a60d){var _0x5a8553=_0x4f3d,_0xb36fe=_0x461268();while(!![]){try{var _0x4598e1=parseInt(_0x5a8553(0x3ca))/0x1*(-parseInt(_0x5a8553(0x411))/0x2)+-parseInt(_0x5a8553(0x267))/0x3*(parseInt(_0x5a8553(0xf1))/0x4)+-parseInt(_0x5a8553(0x2d4))/0x5*(-parseInt(_0x5a8553(0x238))/0x6)+parseInt(_0x5a8553(0xf2))/0x7*(-parseInt(_0x5a8553(0x28d))/0x8)+-parseInt(_0x5a8553(0x16a))/0x9*(-parseInt(_0x5a8553(0x21d))/0xa)+-parseInt(_0x5a8553(0x168))/0xb+parseInt(_0x5a8553(0x10b))/0xc;if(_0x4598e1===_0x37a60d)break;else _0xb36fe['push'](_0xb36fe['shift']());}catch(_0x1dcd32){_0xb36fe['push'](_0xb36fe['shift']());}}}(_0x16cf,0x9f005),function(_0x5f0dbe,_0x3533be){var _0x395584=_0x4f3d;typeof exports==_0x395584(0x286)&&typeof module<'u'?_0x3533be(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==_0x395584(0x311)&&define[_0x395584(0x21a)]?define([_0x395584(0x257),'@univerjs-pro/collaboration',_0x395584(0x1e3),'@univerjs/docs',_0x395584(0xf7),_0x395584(0xd1),_0x395584(0x420),_0x395584(0x2dc),'@univerjs/network',_0x395584(0x41b),'@univerjs-pro/license'],_0x3533be):(_0x5f0dbe=typeof globalThis<'u'?globalThis:_0x5f0dbe||self,_0x3533be(_0x5f0dbe[_0x395584(0x112)]={},_0x5f0dbe[_0x395584(0x154)],_0x5f0dbe['UniverCore'],_0x5f0dbe[_0x395584(0x2b7)],_0x5f0dbe[_0x395584(0x3ba)],_0x5f0dbe['rxjs'],_0x5f0dbe['UniverTelemetry'],_0x5f0dbe[_0x395584(0xd1)][_0x395584(0x1ea)],_0x5f0dbe[_0x395584(0x3c7)],_0x5f0dbe[_0x395584(0x20f)],_0x5f0dbe[_0x395584(0x376)]));}(this,function(_0x4bf482,_0x4811d6,_0x449ba5,_0x187ef9,_0x38c84a,_0x550b9f,_0x52cd9a,_0x4a20aa,_0xcd2fb4,_0x40ace2,_0x514d4e){'use strict';var _0x12ab33=_0x4f3d;var _0x49dd47=Object[_0x12ab33(0x25d)],_0x5a8d09=(_0x575202,_0x4ebcad,_0x35b6f1)=>_0x4ebcad in _0x575202?_0x49dd47(_0x575202,_0x4ebcad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x35b6f1}):_0x575202[_0x4ebcad]=_0x35b6f1,_0x389841=(_0x2abaf5,_0x435d77,_0x26ba69)=>_0x5a8d09(_0x2abaf5,typeof _0x435d77!='symbol'?_0x435d77+'':_0x435d77,_0x26ba69);const _0x20340e=_0x12ab33(0x1d6),_0x574fde=_0x12ab33(0x136),_0x19a15b=_0x12ab33(0x26d),_0x71609='/universer-api/user/session-ticket',_0x5f4e3a=_0x12ab33(0x2b0),_0x5e9f32='HEARTBEAT_TIMEOUT',_0x8019cb=_0x12ab33(0x316),_0x395175=_0x12ab33(0x336),_0x32249d=_0x12ab33(0x367),_0x4def6e=_0x12ab33(0x258),_0x4a651b=_0x12ab33(0x2e5),_0xa6350f=_0x12ab33(0x37a);var _0x4c2ac7=(_0x5c72e2=>(_0x5c72e2[_0x5c72e2[_0x12ab33(0x1df)]=0x0]='UNDEFINED',_0x5c72e2[_0x5c72e2['OK']=0x1]='OK',_0x5c72e2[_0x5c72e2[_0x12ab33(0x41d)]=0x2]=_0x12ab33(0x41d),_0x5c72e2[_0x5c72e2[_0x12ab33(0x1c9)]=0x3]=_0x12ab33(0x1c9),_0x5c72e2[_0x5c72e2['NOT_FOUND']=0x4]=_0x12ab33(0x3ed),_0x5c72e2[_0x5c72e2[_0x12ab33(0x405)]=0x5]=_0x12ab33(0x405),_0x5c72e2[_0x5c72e2[_0x12ab33(0x426)]=0x6]=_0x12ab33(0x426),_0x5c72e2[_0x5c72e2[_0x12ab33(0x2a6)]=0x7]='INVALID_ARGUMENT',_0x5c72e2[_0x5c72e2[_0x12ab33(0x26e)]=0x8]=_0x12ab33(0x26e),_0x5c72e2[_0x5c72e2['COMPLETION_FINISHED']=0x9]=_0x12ab33(0x3b3),_0x5c72e2[_0x5c72e2[_0x12ab33(0x309)]=0xa]=_0x12ab33(0x309),_0x5c72e2[_0x5c72e2[_0x12ab33(0x2da)]=0xb]=_0x12ab33(0x2da),_0x5c72e2[_0x5c72e2['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x12ab33(0x2ba),_0x5c72e2[_0x5c72e2[_0x12ab33(0x3d8)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5c72e2[_0x5c72e2[_0x12ab33(0x373)]=0xe]=_0x12ab33(0x373),_0x5c72e2[_0x5c72e2[_0x12ab33(0x247)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x5c72e2[_0x5c72e2[_0x12ab33(0x1a3)]=0x10]=_0x12ab33(0x1a3),_0x5c72e2[_0x5c72e2[_0x12ab33(0x3ff)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x5c72e2[_0x5c72e2[_0x12ab33(0x428)]=0x65]=_0x12ab33(0x428),_0x5c72e2[_0x5c72e2['USER_NOT_FOUND']=0xc9]=_0x12ab33(0x355),_0x5c72e2[_0x5c72e2['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x5c72e2[_0x5c72e2[_0x12ab33(0xfd)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5c72e2[_0x5c72e2[_0x12ab33(0x233)]=0x1771]=_0x12ab33(0x233),_0x5c72e2[_0x5c72e2[_0x12ab33(0x3b1)]=0x1772]=_0x12ab33(0x3b1),_0x5c72e2[_0x5c72e2[_0x12ab33(0x235)]=0x1773]=_0x12ab33(0x235),_0x5c72e2[_0x5c72e2[_0x12ab33(0x382)]=0x1b59]='APPLY_REJECT',_0x5c72e2[_0x5c72e2['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x12ab33(0x3ee),_0x5c72e2[_0x5c72e2[_0x12ab33(0x3e4)]=0x1b5b]=_0x12ab33(0x3e4),_0x5c72e2[_0x5c72e2[_0x12ab33(0x244)]=0x1b5c]=_0x12ab33(0x244),_0x5c72e2[_0x5c72e2[_0x12ab33(0x181)]=0x1b5d]=_0x12ab33(0x181),_0x5c72e2[_0x5c72e2[_0x12ab33(0x25a)]=0x1f41]=_0x12ab33(0x25a),_0x5c72e2[_0x5c72e2[_0x12ab33(0x176)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5c72e2[_0x5c72e2[_0x12ab33(0xee)]=0x232a]=_0x12ab33(0xee),_0x5c72e2[_0x5c72e2[_0x12ab33(0x3f3)]=0x232b]=_0x12ab33(0x3f3),_0x5c72e2[_0x5c72e2[_0x12ab33(0x312)]=0x232c]=_0x12ab33(0x312),_0x5c72e2[_0x5c72e2[_0x12ab33(0x386)]=0x232d]=_0x12ab33(0x386),_0x5c72e2[_0x5c72e2[_0x12ab33(0x107)]=0x2711]=_0x12ab33(0x107),_0x5c72e2[_0x5c72e2[_0x12ab33(0x251)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5c72e2[_0x5c72e2[_0x12ab33(0x2cb)]=0x2713]=_0x12ab33(0x2cb),_0x5c72e2[_0x5c72e2['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5c72e2[_0x5c72e2[_0x12ab33(0x40f)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5c72e2[_0x5c72e2[_0x12ab33(0x2b6)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5c72e2[_0x5c72e2[_0x12ab33(0xb3)]=0x271c]=_0x12ab33(0xb3),_0x5c72e2[_0x5c72e2[_0x12ab33(0x414)]=0x271d]=_0x12ab33(0x414),_0x5c72e2[_0x5c72e2[_0x12ab33(0x13a)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5c72e2[_0x5c72e2[_0x12ab33(0x1a6)]=0x271f]=_0x12ab33(0x1a6),_0x5c72e2[_0x5c72e2[_0x12ab33(0x20e)]=0x2720]=_0x12ab33(0x20e),_0x5c72e2[_0x5c72e2[_0x12ab33(0x2a0)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5c72e2[_0x5c72e2['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x12ab33(0x33c),_0x5c72e2[_0x5c72e2[_0x12ab33(0x318)]=0x2ee2]=_0x12ab33(0x318),_0x5c72e2[_0x5c72e2[_0x12ab33(0x158)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5c72e2[_0x5c72e2[_0x12ab33(0x3e9)]=0x2ee4]=_0x12ab33(0x3e9),_0x5c72e2[_0x5c72e2[_0x12ab33(0x407)]=0x2ee5]=_0x12ab33(0x407),_0x5c72e2[_0x5c72e2[_0x12ab33(0x194)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5c72e2[_0x5c72e2['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x12ab33(0x141),_0x5c72e2[_0x5c72e2[_0x12ab33(0x230)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5c72e2[_0x5c72e2[_0x12ab33(0x42c)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x5c72e2[_0x5c72e2[_0x12ab33(0x22d)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x5c72e2[_0x5c72e2[_0x12ab33(0x173)]=0x36b3]=_0x12ab33(0x173),_0x5c72e2[_0x5c72e2[_0x12ab33(0x38f)]=0x36b4]=_0x12ab33(0x38f),_0x5c72e2[_0x5c72e2[_0x12ab33(0x195)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x5c72e2[_0x5c72e2['ENTITLE_COUPON_EXPIRED']=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x5c72e2[_0x5c72e2[_0x12ab33(0xde)]=0x36b7]=_0x12ab33(0xde),_0x5c72e2[_0x5c72e2['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x5c72e2[_0x5c72e2['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x12ab33(0xff),_0x5c72e2[_0x5c72e2[_0x12ab33(0x186)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x5c72e2[_0x5c72e2[_0x12ab33(0x2a3)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x5c72e2[_0x5c72e2[_0x12ab33(0x1f1)]=0x37dd]=_0x12ab33(0x1f1),_0x5c72e2[_0x5c72e2[_0x12ab33(0x262)]=0x3a99]=_0x12ab33(0x262),_0x5c72e2[_0x5c72e2[_0x12ab33(0x2fc)]=0x3a9a]=_0x12ab33(0x2fc),_0x5c72e2[_0x5c72e2[_0x12ab33(0x42d)]=0x3a9b]=_0x12ab33(0x42d),_0x5c72e2[_0x5c72e2[_0x12ab33(0x208)]=0x3a9c]=_0x12ab33(0x208),_0x5c72e2[_0x5c72e2['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x12ab33(0xb5),_0x5c72e2[_0x5c72e2[_0x12ab33(0xeb)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x5c72e2[_0x5c72e2['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x12ab33(0x1e6),_0x5c72e2[_0x5c72e2[_0x12ab33(0x239)]=0x3e81]=_0x12ab33(0x239),_0x5c72e2[_0x5c72e2['UNRECOGNIZED']=-0x1]=_0x12ab33(0xc5),_0x5c72e2))(_0x4c2ac7||{}),_0x5bae36=(_0x4b8c69=>(_0x4b8c69[_0x4b8c69[_0x12ab33(0x1a4)]=0x0]='UNIVER_UNKNOWN',_0x4b8c69[_0x4b8c69[_0x12ab33(0xef)]=0x1]=_0x12ab33(0xef),_0x4b8c69[_0x4b8c69[_0x12ab33(0x343)]=0x2]=_0x12ab33(0x343),_0x4b8c69[_0x4b8c69[_0x12ab33(0x360)]=0x3]=_0x12ab33(0x360),_0x4b8c69[_0x4b8c69[_0x12ab33(0xd0)]=0x4]=_0x12ab33(0xd0),_0x4b8c69[_0x4b8c69[_0x12ab33(0xc5)]=-0x1]=_0x12ab33(0xc5),_0x4b8c69))(_0x5bae36||{}),_0x366ec0=(_0x4943fd=>(_0x4943fd[_0x4943fd[_0x12ab33(0x2ee)]=0x0]='UNKNOWN_CMD',_0x4943fd[_0x4943fd[_0x12ab33(0xad)]=0x1]=_0x12ab33(0xad),_0x4943fd[_0x4943fd[_0x12ab33(0x431)]=0x2]=_0x12ab33(0x431),_0x4943fd[_0x4943fd[_0x12ab33(0x103)]=0x3]=_0x12ab33(0x103),_0x4943fd[_0x4943fd[_0x12ab33(0x25c)]=0x4]=_0x12ab33(0x25c),_0x4943fd[_0x4943fd[_0x12ab33(0x34c)]=0x5]='HEARTBEAT',_0x4943fd[_0x4943fd[_0x12ab33(0x29a)]=0x6]=_0x12ab33(0x29a),_0x4943fd[_0x4943fd[_0x12ab33(0xc5)]=-0x1]='UNRECOGNIZED',_0x4943fd))(_0x366ec0||{}),_0x369dd2=(_0x3e0870=>(_0x3e0870[_0x3e0870[_0x12ab33(0x1b5)]=0x0]=_0x12ab33(0x1b5),_0x3e0870[_0x3e0870['OK']=0x1]='OK',_0x3e0870[_0x3e0870[_0x12ab33(0x423)]=0x2]='FAIL',_0x3e0870[_0x3e0870[_0x12ab33(0x42a)]=0x3e9]='JOIN_ROOM_FULL',_0x3e0870[_0x3e0870['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x3e0870[_0x3e0870[_0x12ab33(0x335)]=0x3eb]=_0x12ab33(0x335),_0x3e0870[_0x3e0870[_0x12ab33(0x38e)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x3e0870[_0x3e0870['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3e0870))(_0x369dd2||{}),_0x4818ca=(_0x489c49=>(_0x489c49[_0x489c49[_0x12ab33(0x39f)]=0x0]=_0x12ab33(0x39f),_0x489c49[_0x489c49[_0x12ab33(0x339)]=0x1]=_0x12ab33(0x339),_0x489c49[_0x489c49['HttpExport']=0x2]=_0x12ab33(0x254),_0x489c49[_0x489c49[_0x12ab33(0x402)]=0x3]=_0x12ab33(0x402),_0x489c49[_0x489c49[_0x12ab33(0x174)]=0x4]=_0x12ab33(0x174),_0x489c49[_0x489c49[_0x12ab33(0x113)]=0x5]=_0x12ab33(0x113),_0x489c49[_0x489c49[_0x12ab33(0x38d)]=0x6]=_0x12ab33(0x38d),_0x489c49[_0x489c49[_0x12ab33(0xc5)]=-0x1]=_0x12ab33(0xc5),_0x489c49))(_0x4818ca||{});const _0x160b1b=_0x12ab33(0x41e);function _0x4d86b8(_0x225cf6){var _0x2fd6e8=_0x12ab33;return JSON[_0x2fd6e8(0x3b6)](_0x225cf6)[_0x2fd6e8(0xe6)];}var _0x49a56d=(_0x4f629d=>(_0x4f629d['OTHER_CLIENT_EDITING']=_0x12ab33(0x217),_0x4f629d['PERMISSION_DENIED']='PERMISSION_DENIED',_0x4f629d[_0x12ab33(0x33f)]=_0x12ab33(0x33f),_0x4f629d['CLOSE_ROOM']=_0x12ab33(0x375),_0x4f629d[_0x12ab33(0x1ce)]='JOIN_ROOM_FAILED',_0x4f629d['SOCKET_FAILED_RETRY']=_0x12ab33(0x33e),_0x4f629d[_0x12ab33(0x3a0)]=_0x12ab33(0x3a0),_0x4f629d[_0x12ab33(0x358)]=_0x12ab33(0x358),_0x4f629d))(_0x49a56d||{});class _0x382c6e{constructor(){var _0x23cdda=_0x12ab33;_0x389841(this,_0x23cdda(0xfa),new _0x550b9f[(_0x23cdda(0x10a))]()),_0x389841(this,_0x23cdda(0x403),this[_0x23cdda(0xfa)][_0x23cdda(0xda)]());}[_0x12ab33(0x3c1)](_0x2a0d4f){var _0x5308b1=_0x12ab33;this[_0x5308b1(0xfa)][_0x5308b1(0xaf)](_0x2a0d4f);}}class _0x5d6148{constructor(){var _0x488464=_0x12ab33;_0x389841(this,_0x488464(0x40c),new _0x550b9f[(_0x488464(0x10a))]()),_0x389841(this,_0x488464(0x271),this[_0x488464(0x40c)][_0x488464(0xda)]());}[_0x12ab33(0xb8)](_0x4086be){var _0x4f08ce=_0x12ab33;this[_0x4f08ce(0x40c)][_0x4f08ce(0xaf)](_0x4086be);}}var _0x96864e=Object[_0x12ab33(0x39e)],_0x51a82a=(_0xf06de1,_0x459ba5,_0x31edcc,_0x2338b1)=>{var _0x4c4db0=_0x12ab33;for(var _0x3bc423=_0x2338b1>0x1?void 0x0:_0x2338b1?_0x96864e(_0x459ba5,_0x31edcc):_0x459ba5,_0x26897c=_0xf06de1[_0x4c4db0(0xe6)]-0x1,_0x4cf256;_0x26897c>=0x0;_0x26897c--)(_0x4cf256=_0xf06de1[_0x26897c])&&(_0x3bc423=_0x4cf256(_0x3bc423)||_0x3bc423);return _0x3bc423;},_0x3d4c8e=(_0x7a2636,_0x1c5470)=>(_0x4783c1,_0x5490f1)=>_0x1c5470(_0x4783c1,_0x5490f1,_0x7a2636);_0x4bf482[_0x12ab33(0x1a0)]=class extends _0x449ba5[_0x12ab33(0x106)]{constructor(_0x419bb4,_0x2f2094){var _0x242640=_0x12ab33;super(),_0x389841(this,_0x242640(0x3fd),new Map()),_0x389841(this,_0x242640(0x21b),new _0x550b9f[(_0x242640(0x10a))]()),(this[_0x242640(0x436)]=_0x419bb4,this['_userManagerService']=_0x2f2094,this[_0x242640(0x21e)](_0x550b9f[_0x242640(0x421)](this[_0x242640(0x436)][_0x242640(0x167)](_0x449ba5[_0x242640(0x3c2)][_0x242640(0x343)])[_0x242640(0x188)](_0x4a20aa['map'](_0x3f9570=>_0x3f9570[_0x242640(0x26f)]())),this[_0x242640(0x436)][_0x242640(0x167)](_0x449ba5[_0x242640(0x3c2)]['UNIVER_DOC'])[_0x242640(0x188)](_0x4a20aa[_0x242640(0xc9)](_0x57b0f7=>_0x57b0f7[_0x242640(0x26f)]())),this[_0x242640(0x436)][_0x242640(0x167)](_0x449ba5['UniverInstanceType']['UNIVER_SLIDE'])['pipe'](_0x4a20aa[_0x242640(0xc9)](_0x4519b4=>_0x4519b4['getUnitId']())))[_0x242640(0x368)](_0x24a14f=>this[_0x242640(0x291)](_0x24a14f))));}[_0x12ab33(0x410)](_0x4c8d56){var _0x3f8649=_0x12ab33;return this['_roomMembers'][_0x3f8649(0xd9)](_0x4c8d56)?_0x550b9f['of'](this[_0x3f8649(0x3fd)]['get'](_0x4c8d56)):this['_roomCreated$'][_0x3f8649(0x188)](_0x4a20aa[_0x3f8649(0xc9)](_0x2f3234=>{var _0xf3abb7=_0x3f8649;if(_0x2f3234===_0x4c8d56)return this['_roomMembers'][_0xf3abb7(0x1fa)](_0x2f3234);}));}[_0x12ab33(0x24f)](_0x23f2f2){var _0x5b93dc=_0x12ab33;this['_userManagerService'][_0x5b93dc(0x24f)](_0x23f2f2);}[_0x12ab33(0xe8)](){var _0x31f439=_0x12ab33;return this[_0x31f439(0x17f)][_0x31f439(0xe8)]();}['updateMember'](_0xeb3ecd,_0x2b6a64){var _0x1712ff=_0x12ab33;let _0x5cc212=this[_0x1712ff(0x3fd)]['get'](_0xeb3ecd);_0x5cc212||(_0x5cc212=new _0x216119(),this[_0x1712ff(0x3fd)][_0x1712ff(0x25b)](_0xeb3ecd,_0x5cc212),this[_0x1712ff(0x21b)][_0x1712ff(0xaf)](_0xeb3ecd)),_0x5cc212[_0x1712ff(0xe3)](_0x2b6a64);}[_0x12ab33(0x1a8)](_0x2d94b7,_0x7c0516){var _0x5b8c22=_0x12ab33;const _0x10a149=this[_0x5b8c22(0x3fd)][_0x5b8c22(0x1fa)](_0x2d94b7);_0x10a149&&_0x10a149[_0x5b8c22(0x1a8)](_0x7c0516);}[_0x12ab33(0x3e7)](_0x3093c9){var _0x25bf8a=_0x12ab33;return this['_roomMembers'][_0x25bf8a(0x1fa)](_0x3093c9);}[_0x12ab33(0x11f)](_0x3d4f1e,_0x27e2b3){var _0x3d7b87=_0x12ab33;const _0x4e7dda=this[_0x3d7b87(0x3fd)]['get'](_0x3d4f1e);if(_0x4e7dda)return _0x4e7dda[_0x3d7b87(0x11f)](_0x27e2b3);}[_0x12ab33(0x291)](_0x54d283){var _0xff7fb=_0x12ab33;const _0x3e3d95=this[_0xff7fb(0x3fd)][_0xff7fb(0x1fa)](_0x54d283);_0x3e3d95&&(_0x3e3d95[_0xff7fb(0x35e)](),this['_roomMembers']['delete'](_0x54d283));}[_0x12ab33(0x35e)](){var _0x5289c7=_0x12ab33;this['_roomMembers'][_0x5289c7(0x17b)](_0x15ce2f=>_0x15ce2f[_0x5289c7(0x35e)]()),this[_0x5289c7(0x3fd)][_0x5289c7(0x204)](),this[_0x5289c7(0x21b)][_0x5289c7(0x240)]();}},_0x4bf482[_0x12ab33(0x1a0)]=_0x51a82a([_0x3d4c8e(0x0,_0x449ba5[_0x12ab33(0x38b)]),_0x3d4c8e(0x1,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x160)]))],_0x4bf482[_0x12ab33(0x1a0)]);class _0x216119 extends _0x449ba5[_0x12ab33(0x106)]{constructor(){var _0x120852=_0x12ab33;super(...arguments),_0x389841(this,'_members',new Map()),_0x389841(this,_0x120852(0x3ef),new _0x550b9f[(_0x120852(0x1f8))](this[_0x120852(0x2d9)])),_0x389841(this,_0x120852(0x1ff),this['_members$'][_0x120852(0xda)]());}[_0x12ab33(0x35e)](){var _0x1ae306=_0x12ab33;this[_0x1ae306(0x2d9)][_0x1ae306(0x204)]();}[_0x12ab33(0xe3)](_0x2ca016){var _0x112d9a=_0x12ab33;this['_members'][_0x112d9a(0x25b)](_0x2ca016[_0x112d9a(0x110)],_0x2ca016),this[_0x112d9a(0x1e1)]();}[_0x12ab33(0x1a8)](_0x27d1fc){this['_members']['delete'](_0x27d1fc);}[_0x12ab33(0x11f)](_0x58af7f){var _0x31ddeb=_0x12ab33;return this[_0x31ddeb(0x2d9)][_0x31ddeb(0x1fa)](_0x58af7f);}[_0x12ab33(0x118)](){var _0x58dbd8=_0x12ab33;return Array[_0x58dbd8(0x1d1)](this[_0x58dbd8(0x2d9)][_0x58dbd8(0x297)]());}[_0x12ab33(0x1e1)](){var _0x3f60cc=_0x12ab33;this[_0x3f60cc(0x3ef)]['next'](this[_0x3f60cc(0x2d9)]);}}var _0x1557af=Object[_0x12ab33(0x39e)],_0xe5644b=(_0x4ef3aa,_0x351977,_0x2c02ee,_0x2e6991)=>{for(var _0x12a476=_0x2e6991>0x1?void 0x0:_0x2e6991?_0x1557af(_0x351977,_0x2c02ee):_0x351977,_0x3eb1fe=_0x4ef3aa['length']-0x1,_0x368935;_0x3eb1fe>=0x0;_0x3eb1fe--)(_0x368935=_0x4ef3aa[_0x3eb1fe])&&(_0x12a476=_0x368935(_0x12a476)||_0x12a476);return _0x12a476;},_0x134ec6=(_0x3a32e8,_0x214be4)=>(_0x379446,_0x369d32)=>_0x214be4(_0x379446,_0x369d32,_0x3a32e8),_0x439d16=(_0x45971d=>(_0x45971d[_0x45971d['IDLE']=0x0]='IDLE',_0x45971d[_0x45971d[_0x12ab33(0x2db)]=0x1]=_0x12ab33(0x2db),_0x45971d[_0x45971d[_0x12ab33(0x3d1)]=0x2]=_0x12ab33(0x3d1),_0x45971d[_0x45971d[_0x12ab33(0x20d)]=0x3]=_0x12ab33(0x20d),_0x45971d))(_0x439d16||{});const _0x1c50f1={[_0x369dd2[_0x12ab33(0x423)]]:'session.join-failed',[_0x369dd2[_0x12ab33(0x42a)]]:_0x12ab33(0x27d),[_0x369dd2['JOIN_ROOM_NOT_EXISTS']]:_0x12ab33(0x191),[_0x369dd2[_0x12ab33(0x335)]]:'session.room-permission-denied',[_0x369dd2[_0x12ab33(0x38e)]]:_0x12ab33(0x2af)};_0x4bf482[_0x12ab33(0x3b7)]=class extends _0x449ba5['RxDisposable']{constructor(_0x109eb4,_0x328a29,_0x4db857,_0x338089,_0x440b30,_0x599265,_0x22a32c,_0x4839f3){var _0x5e8b2f=_0x12ab33;super(),_0x389841(this,_0x5e8b2f(0x396),new _0x550b9f['BehaviorSubject'](0x0)),_0x389841(this,'sessionStatus$',this['_sessionStatus$']['asObservable']()),_0x389841(this,'_event$',new _0x550b9f[(_0x5e8b2f(0x10a))]()),_0x389841(this,_0x5e8b2f(0x403),this['_event$'][_0x5e8b2f(0xda)]()),_0x389841(this,_0x5e8b2f(0x220)),_0x389841(this,'_socketMessageSubscription'),_0x389841(this,'_collaborationTimeoutTimer'),_0x389841(this,'_shouldReportTelemetry',!0x1),_0x389841(this,_0x5e8b2f(0x3c3),null),(this[_0x5e8b2f(0x12a)]=_0x109eb4,this[_0x5e8b2f(0x400)]=_0x4db857,this[_0x5e8b2f(0x3af)]=_0x338089,this[_0x5e8b2f(0x30c)]=_0x440b30,this[_0x5e8b2f(0x412)]=_0x599265,this[_0x5e8b2f(0x18e)]=_0x22a32c,this['_telemetryService']=_0x4839f3,this['_shouldReportTelemetry']=!!this[_0x5e8b2f(0x2ff)],_0x328a29['pipe'](_0x550b9f[_0x5e8b2f(0x34b)](this[_0x5e8b2f(0x338)]))[_0x5e8b2f(0x368)](_0x4e7ed1=>{var _0x3b1fb8=_0x5e8b2f,_0x5b6fd0;typeof _0x4e7ed1>'u'||(this[_0x3b1fb8(0x220)]=_0x4e7ed1,_0x4e7ed1?(this[_0x3b1fb8(0x1f6)](_0x4e7ed1),this[_0x3b1fb8(0x273)]=_0x4e7ed1[_0x3b1fb8(0x38c)]['subscribe'](_0x8aeed8=>{var _0x3c1981=_0x3b1fb8;_0x8aeed8[_0x3c1981(0x17c)]===this[_0x3c1981(0x12a)]&&this[_0x3c1981(0x3fb)](_0x8aeed8);})):(this[_0x3b1fb8(0x3d4)](),this[_0x3b1fb8(0x396)][_0x3b1fb8(0xaf)](0x2),(_0x5b6fd0=this[_0x3b1fb8(0x273)])==null||_0x5b6fd0['unsubscribe'](),this[_0x3b1fb8(0x273)]=null));}));}get[_0x12ab33(0x2de)](){var _0x5c3dbb=_0x12ab33;return this['_sessionStatus$'][_0x5c3dbb(0xe1)]();}[_0x12ab33(0x26a)](){var _0x18d553=_0x12ab33,_0x45d7c7,_0x18d06e;return(_0x18d06e=(_0x45d7c7=this[_0x18d553(0x220)])==null?void 0x0:_0x45d7c7['memberID'])!=null?_0x18d06e:null;}[_0x12ab33(0x35e)](){var _0x2790fb=_0x12ab33;super['dispose'](),this['dispose$']['next'](),this['dispose$'][_0x2790fb(0x240)]();}[_0x12ab33(0x1e5)](){var _0x2e090c=_0x12ab33,_0x4509c3,_0x1bd661;this[_0x2e090c(0x3d4)](),(_0x4509c3=this[_0x2e090c(0x220)])==null||_0x4509c3[_0x2e090c(0x199)]({'cmd':_0x366ec0['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x1bd661=this['_socket'])==null||_0x1bd661[_0x2e090c(0x1e5)](),this[_0x2e090c(0xfa)]['complete'](),this['_sessionStatus$'][_0x2e090c(0x240)](),this[_0x2e090c(0x35e)]();}[_0x12ab33(0x3fb)](_0x50ca9d){var _0x40c833=_0x12ab33;_0x50ca9d['cmd']===_0x366ec0[_0x40c833(0x431)]?this[_0x40c833(0xfc)](_0x50ca9d):_0x50ca9d[_0x40c833(0x435)]===_0x366ec0['RECV']&&this[_0x40c833(0x1d7)](_0x50ca9d);}['_joinRoom'](_0x226ae6){var _0x156965=_0x12ab33;this['_sessionStatus$']['next'](0x1),_0x226ae6[_0x156965(0x199)]({'cmd':_0x366ec0[_0x156965(0x431)],'routeKey':this[_0x156965(0x12a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x156965(0x12a)]}]}});}[_0x12ab33(0xfc)](_0x233804){var _0x1b925b=_0x12ab33,_0x12fd52;if(_0x233804[_0x1b925b(0x218)]in _0x1c50f1){this['_collaborationUIEventService'][_0x1b925b(0x3c1)]({'id':_0x49a56d[_0x1b925b(0x1ce)],'data':_0x1c50f1[_0x233804[_0x1b925b(0x218)]]}),this[_0x1b925b(0x396)][_0x1b925b(0xaf)](0x2);return;}this['_sessionStatus$'][_0x1b925b(0xaf)](0x3);const _0x194824=(_0x12fd52=_0x233804[_0x1b925b(0x166)][_0x1b925b(0xdf)][this['_unitID']])==null?void 0x0:_0x12fd52['members'];_0x194824&&_0x194824[_0x1b925b(0x17b)](_0x47be9e=>this[_0x1b925b(0x30c)][_0x1b925b(0xe3)](this[_0x1b925b(0x12a)],_0x47be9e));}[_0x12ab33(0x1d7)](_0xa3bf89){var _0x5c6d9c=_0x12ab33;try{const _0x318e01=_0xa3bf89['data'];switch(_0x318e01[_0x5c6d9c(0x28c)]){case _0x4811d6[_0x5c6d9c(0x381)][_0x5c6d9c(0x13d)]:this[_0x5c6d9c(0x27f)](_0x318e01),this[_0x5c6d9c(0xfa)]['next'](_0x318e01);break;case _0x4811d6[_0x5c6d9c(0x381)][_0x5c6d9c(0x42f)]:this[_0x5c6d9c(0x2fd)](_0x318e01),this[_0x5c6d9c(0xfa)][_0x5c6d9c(0xaf)](_0x318e01);break;case _0x4811d6[_0x5c6d9c(0x381)][_0x5c6d9c(0x2f4)]:case _0x4811d6['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x5c6d9c(0x441)](),this['_event$'][_0x5c6d9c(0xaf)](_0x318e01);break;case _0x4811d6[_0x5c6d9c(0x381)][_0x5c6d9c(0x3f2)]:this[_0x5c6d9c(0x400)][_0x5c6d9c(0x2f2)](_0x5c6d9c(0x131)+JSON[_0x5c6d9c(0x3b6)](_0x318e01)),this['_event$'][_0x5c6d9c(0xaf)](_0x318e01);break;case _0x4811d6['CollaborationEvent']['COMMENT_UPDATE']:this['_commentService'][_0x5c6d9c(0xb8)](_0x318e01[_0x5c6d9c(0x166)]),this['_event$']['next'](_0x318e01);break;default:this[_0x5c6d9c(0xfa)]['next'](_0x318e01);}}catch(_0x2b6415){this[_0x5c6d9c(0x400)][_0x5c6d9c(0x2f2)](_0x2b6415,_0xa3bf89);}}[_0x12ab33(0x27f)](_0xd59ee5){var _0x160faa=_0x12ab33;this['_memberService']['updateMember'](this[_0x160faa(0x12a)],_0xd59ee5['data']);}['_onUserLeave'](_0x14ff29){var _0x5b859f=_0x12ab33;this[_0x5b859f(0x30c)]['removeMember'](this[_0x5b859f(0x12a)],_0x14ff29[_0x5b859f(0x166)][_0x5b859f(0x110)]);}async[_0x12ab33(0x199)](_0x396469,_0x29cc36){var _0x51e13c=_0x12ab33;if(this[_0x51e13c(0x2de)]!==0x3||!this[_0x51e13c(0x220)])throw new Error(_0x51e13c(0x260));try{_0x396469[_0x51e13c(0x28c)]===_0x4811d6['CollaborationEvent'][_0x51e13c(0x308)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x51e13c(0xb6)](_0x396469)),this[_0x51e13c(0x220)][_0x51e13c(0x199)]({'cmd':_0x366ec0['INGEST'],'routeKey':_0x29cc36,'routeType':'','data':_0x396469});}catch(_0x530b8d){this[_0x51e13c(0x400)][_0x51e13c(0x2f2)](_0x530b8d);}}[_0x12ab33(0x127)](){var _0x3fc8bb=_0x12ab33,_0x51ba7f;this[_0x3fc8bb(0x3ad)]=setTimeout(()=>{var _0x5ee918=_0x3fc8bb;this[_0x5ee918(0x3ad)]=null,this['_collaborationUIEventService'][_0x5ee918(0x3c1)]({'id':_0x49a56d[_0x5ee918(0x358)]});},(_0x51ba7f=this['_configService'][_0x3fc8bb(0x18d)](_0x5e9f32))!=null?_0x51ba7f:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x490a8f=_0x12ab33;this[_0x490a8f(0x3ad)]&&(clearTimeout(this[_0x490a8f(0x3ad)]),this[_0x490a8f(0x3ad)]=null);}[_0x12ab33(0xb6)](_0x1747e9){var _0x300fc5=_0x12ab33;if(!this[_0x300fc5(0x133)])return;const {data:_0x14fec4}=_0x1747e9,{unitID:_0x18361b,changeset:_0x4dd123}=_0x14fec4,{mutations:_0x24022f,type:_0xf1d9a0}=_0x4dd123;this[_0x300fc5(0x3c3)]={'unitId':_0x18361b,'type':_0xf1d9a0,'startTime':performance[_0x300fc5(0x265)](),'stopTime':0x0,'duration':0x0,'size':_0x4d86b8(_0x24022f)};}[_0x12ab33(0x31d)](){var _0x454b6e=_0x12ab33;if(this[_0x454b6e(0x133)]){if(!this[_0x454b6e(0x3c3)]){this[_0x454b6e(0x400)][_0x454b6e(0x2f2)](_0x454b6e(0x15e),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x454b6e(0x3c3)][_0x454b6e(0x12f)]=performance[_0x454b6e(0x265)](),this[_0x454b6e(0x3c3)][_0x454b6e(0x139)]=this[_0x454b6e(0x3c3)]['stopTime']-this[_0x454b6e(0x3c3)][_0x454b6e(0xac)],this['_telemetryService']['capture'](_0x160b1b,this[_0x454b6e(0x3c3)]),this[_0x454b6e(0x3c3)]=null;}}[_0x12ab33(0x3d4)](){var _0x555c38=_0x12ab33;this[_0x555c38(0x3c3)]=null;}},_0x4bf482[_0x12ab33(0x3b7)]=_0xe5644b([_0x134ec6(0x2,_0x449ba5[_0x12ab33(0x37b)]),_0x134ec6(0x3,_0x449ba5[_0x12ab33(0x388)]),_0x134ec6(0x4,_0x449ba5['Inject'](_0x4bf482[_0x12ab33(0x1a0)])),_0x134ec6(0x5,_0x449ba5[_0x12ab33(0x116)](_0x5d6148)),_0x134ec6(0x6,_0x449ba5[_0x12ab33(0x116)](_0x382c6e)),_0x134ec6(0x7,_0x449ba5['Optional'](_0x52cd9a[_0x12ab33(0x21c)]))],_0x4bf482[_0x12ab33(0x3b7)]);const _0x6af55a=_0x449ba5[_0x12ab33(0x37d)](_0x12ab33(0x427));function _0x5bc769(_0x527575){var _0x265ea5=_0x12ab33;return _0x265ea5(0x31e)+_0x527575;}var _0x2fdd05=Object['getOwnPropertyDescriptor'],_0x2b99d3=(_0x2686d2,_0x338a41,_0x357ca,_0x3fcfcc)=>{var _0x5f3a0d=_0x12ab33;for(var _0x470b40=_0x3fcfcc>0x1?void 0x0:_0x3fcfcc?_0x2fdd05(_0x338a41,_0x357ca):_0x338a41,_0x27c96e=_0x2686d2[_0x5f3a0d(0xe6)]-0x1,_0x2efe82;_0x27c96e>=0x0;_0x27c96e--)(_0x2efe82=_0x2686d2[_0x27c96e])&&(_0x470b40=_0x2efe82(_0x470b40)||_0x470b40);return _0x470b40;},_0x151df3=(_0x2316ad,_0x4c6697)=>(_0xa2d88c,_0x25d664)=>_0x4c6697(_0xa2d88c,_0x25d664,_0x2316ad);function _0x4a1418(_0x401cde){var _0x1d8161=_0x12ab33;const {unitID:_0x1b7759,mutations:_0xa16e30}=_0x401cde;return{'unitId':_0x1b7759,'subUnitId':_0xa16e30[_0x1d8161(0xe6)]>0x0?_0xa16e30[0x0][_0x1d8161(0x27c)][_0x1d8161(0xab)]:null};}_0x4bf482[_0x12ab33(0x280)]=class{constructor(_0x39d9ad,_0x29f8d9,_0x2a7376){this['_injector']=_0x39d9ad,this['_transformService']=_0x29f8d9,this['_instanceService']=_0x2a7376;}[_0x12ab33(0x2f7)](_0x27eee2){var _0x5bf04d=_0x12ab33,_0x9c10fd,_0x3d2f14,_0x4c54dc,_0x24fa3c;const _0x210098=this[_0x5bf04d(0x401)][_0x5bf04d(0x1fa)](_0x38c84a[_0x5bf04d(0x3b4)]),{unitId:_0x5068b3,subUnitId:_0x558ef0}=_0x4a1418(_0x27eee2),_0x53bba8=_0x210098==null?void 0x0:_0x210098[_0x5bf04d(0x11c)](_0x5068b3)[_0x5bf04d(0x321)](),_0x390006=(_0x3d2f14=(_0x9c10fd=this['_instanceService'][_0x5bf04d(0xf6)](_0x5068b3))==null?void 0x0:_0x9c10fd[_0x5bf04d(0x1a2)]())==null?void 0x0:_0x3d2f14[_0x5bf04d(0x212)]();if(_0x53bba8[_0x5bf04d(0xe6)]===0x0||!_0x5068b3||!_0x558ef0)return;const _0x47147e=[{'id':_0x38c84a[_0x5bf04d(0x1b4)]['id'],'params':{'unitId':_0x5068b3,'subUnitId':_0x390006,'selections':_0x449ba5[_0x5bf04d(0x1c0)][_0x5bf04d(0x380)](_0x53bba8)}}],_0x34efcf=this[_0x5bf04d(0x180)][_0x5bf04d(0x1b1)](_0x27eee2,_0x47147e);if(!_0x4811d6[_0x5bf04d(0x330)](_0x34efcf))throw _0x34efcf['error'];const _0x38c8ff=(_0x24fa3c=(_0x4c54dc=_0x34efcf[_0x5bf04d(0x304)][0x0])==null?void 0x0:_0x4c54dc[_0x5bf04d(0x27c)])==null?void 0x0:_0x24fa3c[_0x5bf04d(0x35d)];if(Array[_0x5bf04d(0x328)](_0x38c8ff)&&_0x38c8ff[_0x5bf04d(0xe6)]){if(_0x38c8ff[_0x5bf04d(0xe6)]===_0x47147e[0x0][_0x5bf04d(0x27c)][_0x5bf04d(0x35d)][_0x5bf04d(0xe6)]&&_0x38c8ff[_0x5bf04d(0x2ef)]((_0x48a7b6,_0x48efda)=>_0x449ba5[_0x5bf04d(0x1cb)]['equals'](_0x48a7b6[_0x5bf04d(0x2c9)],_0x47147e[0x0]['params'][_0x5bf04d(0x35d)][_0x48efda][_0x5bf04d(0x2c9)])))return;this[_0x5bf04d(0x401)][_0x5bf04d(0x1fa)](_0x449ba5[_0x5bf04d(0x20a)])[_0x5bf04d(0x29d)](_0x38c84a['SetSelectionsOperation']['id'],{'unitId':_0x5068b3,'subUnitId':_0x390006,'selections':_0x38c8ff});}}},_0x4bf482[_0x12ab33(0x280)]=_0x2b99d3([_0x151df3(0x0,_0x449ba5[_0x12ab33(0x116)](_0x449ba5['Injector'])),_0x151df3(0x1,_0x4811d6[_0x12ab33(0x3d0)]),_0x151df3(0x2,_0x449ba5['IUniverInstanceService'])],_0x4bf482[_0x12ab33(0x280)]);const _0x6f1b14=_0x449ba5['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var _0x5f5425=(_0x3bbbeb=>(_0x3bbbeb[_0x3bbbeb[_0x12ab33(0x2e4)]=0x0]=_0x12ab33(0x2e4),_0x3bbbeb[_0x3bbbeb['OTHER_CLIENTS_EDITING']=0x1]=_0x12ab33(0x1d4),_0x3bbbeb))(_0x5f5425||{});const _0x433534=_0x12ab33(0x197),_0x17c09c={};function _0x9855a5(_0x4abcf9){var _0x3d4a4c=_0x12ab33,_0x5d1598;return!!((_0x5d1598=_0x4abcf9['params'])!=null&&_0x5d1598[_0x3d4a4c(0x2e7)]);}const _0x320516=new Set([_0x38c84a[_0x12ab33(0x37f)]['id']]);function _0x1b0e19(_0x4d41a9,_0x77ace,_0x19f36a,_0x12e4c9,_0x26f0ba){var _0x2b520f=_0x12ab33,_0x778e06,_0x36e6ee,_0x414f32,_0x5b5200;const _0x214209=[];for(const _0x197b2c of _0x4d41a9){if(_0x320516[_0x2b520f(0xd9)](_0x197b2c['id'])){if(_0x214209[_0x2b520f(0xe6)]>0x0)break;_0x214209['push'](_0x197b2c);break;}if(_0x9855a5(_0x197b2c)){if(_0x214209['length']>0x0)break;_0x214209[_0x2b520f(0x125)](_0x197b2c);break;}_0x214209[_0x2b520f(0x125)](_0x197b2c);}const _0x4a4b5a=(_0x36e6ee=(_0x778e06=_0x26f0ba[_0x2b520f(0xe8)]())==null?void 0x0:_0x778e06[_0x2b520f(0x30d)])!=null?_0x36e6ee:_0x2b520f(0x2c8),_0x435e99=(_0x5b5200=(_0x414f32=_0x26f0ba[_0x2b520f(0xe8)]())==null?void 0x0:_0x414f32[_0x2b520f(0x110)])!=null?_0x5b5200:'unknown';return{'changeset':{'unitID':_0x77ace,'type':_0x4811d6[_0x2b520f(0x27b)](_0x19f36a[_0x2b520f(0x2fe)](_0x77ace)),'baseRev':_0x12e4c9[_0x2b520f(0x3c6)](_0x77ace),'revision':0x0,'userID':_0x4a4b5a,'memberID':_0x435e99,'mutations':_0x214209},'pendingMutations':_0x4d41a9[_0x2b520f(0x23e)](_0x214209['length'])};}function _0x3238ce(_0x4d8228,_0x592bed,_0x1a07ad,_0x58ecb8,_0x23fc8c){var _0x3b23ed=_0x12ab33,_0x3c0972,_0x3e6c43,_0x4da3dd,_0x575e47;const _0x256168=[_0x4d8228[_0x3b23ed(0x3f7)]((_0x42b53e,_0x1903d2)=>{var _0x2b4863=_0x3b23ed,_0x1a62f3;const {id:_0xb00958}=_0x42b53e,{id:_0x1fee13,type:_0x3dd42a}=_0x1903d2,_0x2dca53=(_0x1a62f3=_0x42b53e[_0x2b4863(0x27c)])!=null?_0x1a62f3:{'actions':null},_0x178503=_0x1903d2[_0x2b4863(0x27c)];if(_0xb00958&&_0xb00958!==_0x1fee13)throw new Error(_0x2b4863(0x374)+_0xb00958+'\x20-\x20'+_0x1fee13+'.');return{..._0x42b53e,'id':_0x1fee13,'type':_0x3dd42a,'params':{'unitId':_0x178503[_0x2b4863(0x109)],'textRanges':_0x178503[_0x2b4863(0x306)],'actions':_0x449ba5[_0x2b4863(0xb1)][_0x2b4863(0x22e)](_0x2dca53[_0x2b4863(0x1fe)],_0x178503[_0x2b4863(0x1fe)])}};},{})],_0x2afe69=(_0x3e6c43=(_0x3c0972=_0x23fc8c['getCurrentUser']())==null?void 0x0:_0x3c0972[_0x3b23ed(0x30d)])!=null?_0x3e6c43:_0x3b23ed(0x2c8),_0x603d65=(_0x575e47=(_0x4da3dd=_0x23fc8c['getCurrentUser']())==null?void 0x0:_0x4da3dd[_0x3b23ed(0x110)])!=null?_0x575e47:'unknown';return{'changeset':{'unitID':_0x592bed,'type':_0x4811d6[_0x3b23ed(0x27b)](_0x1a07ad[_0x3b23ed(0x2fe)](_0x592bed)),'baseRev':_0x58ecb8[_0x3b23ed(0x3c6)](_0x592bed),'revision':0x0,'userID':_0x2afe69,'memberID':_0x603d65,'mutations':_0x256168},'pendingMutations':[]};}function _0x25c9b1(_0x4519ea,_0x1d1e09){var _0x16aa4a=_0x12ab33;const _0x2bbc37=new _0x550b9f[(_0x16aa4a(0x3a3))](0x1);return setTimeout(()=>_0x2bbc37[_0x16aa4a(0xaf)](_0x1d1e09),_0x4519ea),_0x2bbc37[_0x16aa4a(0xda)]()[_0x16aa4a(0x188)](_0x550b9f['take'](0x1));}var _0xc27c5=Object[_0x12ab33(0x39e)],_0x59db31=(_0x3d2d21,_0xdda4bb,_0x19b5c9,_0x59633c)=>{var _0x54ac8e=_0x12ab33;for(var _0x1613e0=_0x59633c>0x1?void 0x0:_0x59633c?_0xc27c5(_0xdda4bb,_0x19b5c9):_0xdda4bb,_0x52b6ea=_0x3d2d21[_0x54ac8e(0xe6)]-0x1,_0x26c13d;_0x52b6ea>=0x0;_0x52b6ea--)(_0x26c13d=_0x3d2d21[_0x52b6ea])&&(_0x1613e0=_0x26c13d(_0x1613e0)||_0x1613e0);return _0x1613e0;},_0x3760d5=(_0x5d811e,_0x1966be)=>(_0x12cf39,_0x5e95f4)=>_0x1966be(_0x12cf39,_0x5e95f4,_0x5d811e),_0x1bd308=(_0x3ccfbb=>(_0x3ccfbb[_0x12ab33(0xb7)]=_0x12ab33(0x3da),_0x3ccfbb[_0x12ab33(0x15f)]=_0x12ab33(0x3d5),_0x3ccfbb[_0x12ab33(0x2f9)]=_0x12ab33(0xe9),_0x3ccfbb[_0x12ab33(0xc1)]='awaiting',_0x3ccfbb['AWAITING_WITH_PENDING']=_0x12ab33(0x1b3),_0x3ccfbb['FETCH_MISS']=_0x12ab33(0x196),_0x3ccfbb[_0x12ab33(0x33f)]=_0x12ab33(0x2c0),_0x3ccfbb['OFFLINE']=_0x12ab33(0x269),_0x3ccfbb))(_0x1bd308||{});const _0x39d44f=0x4e20,_0x235019=0x2bf20;class _0x415b3a{constructor(_0x2bddad,_0x590829,_0x17a022,_0x522427,_0x3b0c2b,_0x722756,_0x2c6473,_0x23b942,_0x4bcad0){var _0x5cc041=_0x12ab33;_0x389841(this,_0x5cc041(0x3e8),null),_0x389841(this,_0x5cc041(0x215),[]),(this[_0x5cc041(0x183)]=_0x2bddad,this[_0x5cc041(0x424)]=_0x590829,this[_0x5cc041(0x241)]=_0x3b0c2b,this['_commandService']=_0x722756,this[_0x5cc041(0x203)]=_0x2c6473,this[_0x5cc041(0xf0)]=_0x23b942,this[_0x5cc041(0x3d2)]=_0x4bcad0,this[_0x5cc041(0x3e8)]=_0x17a022,this[_0x5cc041(0x215)]=_0x522427);}[_0x12ab33(0x3e5)](_0x14ff93){var _0x43325a=_0x12ab33;const _0x351cb4=this['_revisionService']['getCurrentRevOfUnit'](this[_0x43325a(0x183)]);return _0x14ff93['revision']>_0x351cb4+0x1?(this[_0x43325a(0x241)][_0x43325a(0x40a)]({'from':_0x351cb4,'to':_0x14ff93[_0x43325a(0x352)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0xc3d303){var _0x8131bf=_0x12ab33;this[_0x8131bf(0x203)][_0x8131bf(0x138)](this[_0x8131bf(0x183)],_0xc3d303);}[_0x12ab33(0x1e8)](_0x333553){var _0xcc696a=_0x12ab33,_0x14ac2f,_0xea580a;(_0xea580a=(_0x14ac2f=this[_0xcc696a(0x241)])['onTransformSelections'])==null||_0xea580a[_0xcc696a(0x1a5)](_0x14ac2f,_0x333553);}['_transformIMECache'](_0x44ce9e){var _0x5d9d96=_0x12ab33,_0x409e0d,_0x1f0365;return(_0x1f0365=(_0x409e0d=this[_0x5d9d96(0x241)])[_0x5d9d96(0x307)])==null?void 0x0:_0x1f0365[_0x5d9d96(0x1a5)](_0x409e0d,_0x44ce9e);}[_0x12ab33(0x3c4)](_0xfc9ccc){var _0x138e9c=_0x12ab33,_0x3c506e,_0x585d2d;return(_0x585d2d=(_0x3c506e=this[_0x138e9c(0x241)])[_0x138e9c(0x353)])==null?void 0x0:_0x585d2d[_0x138e9c(0x1a5)](_0x3c506e,_0xfc9ccc);}['_transformRemoteChangesetByIMECache'](_0x493734){var _0x31537a=_0x12ab33,_0x581b74,_0x5b7605,_0x1f3d98;return(_0x1f3d98=(_0x5b7605=(_0x581b74=this[_0x31537a(0x241)])[_0x31537a(0xf4)])==null?void 0x0:_0x5b7605[_0x31537a(0x1a5)](_0x581b74,_0x493734))!=null?_0x1f3d98:_0x493734;}['_transformRemoteChangesetByStateCache'](_0x59ca90){var _0x1b22ea=_0x12ab33,_0x2b02b4,_0x2d649c,_0x5ae979;return(_0x5ae979=(_0x2d649c=(_0x2b02b4=this[_0x1b22ea(0x241)])[_0x1b22ea(0x18f)])==null?void 0x0:_0x2d649c[_0x1b22ea(0x1a5)](_0x2b02b4,_0x59ca90))!=null?_0x5ae979:_0x59ca90;}[_0x12ab33(0xd2)](_0x2a2eee){var _0x5b16d3=_0x12ab33,_0x37426b,_0x25e4de;if(this[_0x5b16d3(0x424)]===_0x5bae36[_0x5b16d3(0xef)]){const {unitID:_0x350b57,mutations:_0x1c536b,memberID:_0x5009e5}=_0x2a2eee,_0x2cc07b=_0x1c536b[_0x5b16d3(0xe6)]>0x0?_0x1c536b[0x0][_0x5b16d3(0x27c)][_0x5b16d3(0x306)]:[];Array['isArray'](_0x2cc07b)&&_0x2cc07b['length']>0x0&&((_0x25e4de=(_0x37426b=this['_handler'])[_0x5b16d3(0x11e)])==null||_0x25e4de[_0x5b16d3(0x1a5)](_0x37426b,{'unitID':_0x350b57,'memberID':_0x5009e5,'textRanges':_0x2cc07b}));}}[_0x12ab33(0xdc)](){var _0x36bf1e=_0x12ab33,_0x4add22;(_0x4add22=this['_localCacheService'])==null||_0x4add22['updateOfflineData'](this[_0x36bf1e(0x183)],this[_0x36bf1e(0x424)],this[_0x36bf1e(0x3e8)],this[_0x36bf1e(0x215)]);}[_0x12ab33(0x408)](){var _0x1fff34=_0x12ab33;return this[_0x1fff34(0xf0)]['getCurrentRevOfUnit'](this[_0x1fff34(0x183)]);}[_0x12ab33(0x101)](){var _0x587f90=_0x12ab33;this[_0x587f90(0xf0)]['incrementRevOfUnit'](this[_0x587f90(0x183)]);}[_0x12ab33(0xb2)](_0x4a6f39){var _0x38b607=_0x12ab33,_0x78101c;let _0x25bd83=this[_0x38b607(0x348)](_0x4a6f39);_0x25bd83=this['_transformRemoteChangesetByStateCache'](_0x25bd83);const _0x32102e=_0x449ba5['sequenceExecute'](_0x25bd83['mutations'],this[_0x38b607(0x1e2)],{'fromCollab':!0x0});if(!_0x32102e[_0x38b607(0x415)])throw _0x32102e[_0x38b607(0x2f2)]instanceof Error?_0x32102e['error']:new Error((_0x78101c=_0x32102e[_0x38b607(0x2f2)])!=null?_0x78101c:_0x38b607(0x2fb));this[_0x38b607(0x10d)](_0x25bd83),this['_transformStateCache'](_0x25bd83),this[_0x38b607(0x2ae)](_0x4a6f39),this['_transformSelections'](_0x25bd83),this[_0x38b607(0xd2)](_0x25bd83),this['_incrementRevisionNumber']();}}_0x4bf482[_0x12ab33(0x390)]=class extends _0x415b3a{constructor(_0x36783f,_0x1acea4,_0x4d83b5,_0x1114b4,_0x5209db,_0x4e617e,_0x8034b2,_0xc0b019,_0x2de116,_0x42f33b){var _0x183f4c=_0x12ab33;super(_0x36783f,_0x1acea4,null,[],_0x4d83b5,_0x8034b2,_0x4e617e,_0x1114b4,_0x42f33b),_0x389841(this,_0x183f4c(0x242),'synced'),(this[_0x183f4c(0x401)]=_0x5209db,this['_logService']=_0xc0b019,this[_0x183f4c(0x180)]=_0x2de116,this[_0x183f4c(0x346)]=_0x42f33b);}[_0x12ab33(0x1fd)](_0x580d29){var _0x2e436e=_0x12ab33;const _0x139baa=this[_0x2e436e(0x401)]['createInstance'](_0x4bf482[_0x2e436e(0x397)],this[_0x2e436e(0x183)],this['type'],[_0x580d29],this['_handler']);return _0x139baa[_0x2e436e(0x18b)](),_0x139baa[_0x2e436e(0xdc)](),_0x139baa;}[_0x12ab33(0x179)](_0x52c2fc){var _0x5e3622=_0x12ab33;if(this['_checkMissing'](_0x52c2fc))return this[_0x5e3622(0x401)][_0x5e3622(0x34e)](_0x4bf482['FetchingMissState'],this[_0x5e3622(0x183)],this[_0x5e3622(0x424)],null,[],null,[_0x52c2fc],this['_handler']);try{const _0x1c7057=this[_0x5e3622(0x180)][_0x5e3622(0x1b1)](_0x52c2fc,[_0x4811d6[_0x5e3622(0x1f3)]]);if(_0x4811d6['isTransformMutationsWithChangesetSuccess'](_0x1c7057)){const {c1Prime:_0x5a3310}=_0x1c7057;return this[_0x5e3622(0xb2)](_0x5a3310),this;}throw _0x1c7057[_0x5e3622(0x2f2)];}catch(_0x180383){return this[_0x5e3622(0x400)][_0x5e3622(0x2f2)](_0x180383),this[_0x5e3622(0x219)](!0x1);}}[_0x12ab33(0x219)](_0x11789d){var _0x2fd609=_0x12ab33;return this[_0x2fd609(0x401)][_0x2fd609(0x34e)](_0x4bf482[_0x2fd609(0x200)],this[_0x2fd609(0x183)],this[_0x2fd609(0x424)],null,[],this[_0x2fd609(0x241)],_0x11789d);}[_0x12ab33(0x274)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x12ab33(0x120)](){var _0xe38687=_0x12ab33;throw new Error(_0xe38687(0x326));}[_0x12ab33(0x155)](){return this;}[_0x12ab33(0x33b)](){var _0x5c5a3a=_0x12ab33;return this[_0x5c5a3a(0x401)][_0x5c5a3a(0x34e)](_0x4bf482[_0x5c5a3a(0x2d6)],this[_0x5c5a3a(0x183)],this[_0x5c5a3a(0x424)],null,[],this[_0x5c5a3a(0x241)]);}[_0x12ab33(0x303)](){return this;}[_0x12ab33(0xcb)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x186eb5=_0x12ab33;const _0x4f0901=this[_0x186eb5(0xf0)][_0x186eb5(0x3c6)](this[_0x186eb5(0x183)]);return this[_0x186eb5(0x241)][_0x186eb5(0x40a)]({'from':_0x4f0901,'to':0x0}),this[_0x186eb5(0x401)][_0x186eb5(0x34e)](_0x4bf482[_0x186eb5(0x433)],this[_0x186eb5(0x183)],this[_0x186eb5(0x424)],null,[],null,[],this[_0x186eb5(0x241)]);}},_0x4bf482[_0x12ab33(0x390)]=_0x59db31([_0x3760d5(0x3,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x337)])),_0x3760d5(0x4,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0x3760d5(0x5,_0x449ba5['IUndoRedoService']),_0x3760d5(0x6,_0x449ba5['ICommandService']),_0x3760d5(0x7,_0x449ba5[_0x12ab33(0x37b)]),_0x3760d5(0x8,_0x4811d6[_0x12ab33(0x3d0)]),_0x3760d5(0x9,_0x449ba5['Optional'](_0x6af55a))],_0x4bf482[_0x12ab33(0x390)]),_0x4bf482[_0x12ab33(0x397)]=class extends _0x415b3a{constructor(_0x57a3ac,_0x3057b3,_0x1fc248,_0xb4aadf,_0x38a55a,_0x24b332,_0x2015f4,_0x1f8aed,_0x19aa81,_0x6837b4,_0x21321e,_0x4b2573,_0x25c9d4,_0x7e5ea4){var _0xde64f2=_0x12ab33;super(_0x57a3ac,_0x3057b3,null,_0x1fc248,_0xb4aadf,_0x19aa81,_0x25c9d4,_0x24b332,_0x7e5ea4),_0x389841(this,_0xde64f2(0x242),_0xde64f2(0xe9)),_0x389841(this,_0xde64f2(0xc6),null),_0x389841(this,_0xde64f2(0x3a8),null),(this[_0xde64f2(0x401)]=_0x38a55a,this['_memberService']=_0x2015f4,this['_logService']=_0x1f8aed,this[_0xde64f2(0x3af)]=_0x6837b4,this[_0xde64f2(0x180)]=_0x21321e,this[_0xde64f2(0x436)]=_0x4b2573);}['appendMutation'](_0x1c9ade){var _0xb018c8=_0x12ab33;return this[_0xb018c8(0x215)][_0xb018c8(0x125)](_0x1c9ade),this[_0xb018c8(0xdc)](),this;}[_0x12ab33(0x179)](_0x17c55f){var _0xf4f815=_0x12ab33;if(this[_0xf4f815(0x3e5)](_0x17c55f))return this[_0xf4f815(0x363)](),this[_0xf4f815(0x401)][_0xf4f815(0x34e)](_0x4bf482['FetchingMissState'],this[_0xf4f815(0x183)],this[_0xf4f815(0x424)],null,this[_0xf4f815(0x215)],null,[_0x17c55f],this['_handler']);try{const _0x7a19b2=this[_0xf4f815(0x180)]['transformMutationsWithChangeset'](_0x17c55f,this[_0xf4f815(0x215)]);if(_0x4811d6[_0xf4f815(0x330)](_0x7a19b2)){const {c1Prime:_0x336f2b,m2Prime:_0xa213ef}=_0x7a19b2;this['_executeRemoteChangeset'](_0x336f2b);const _0x1003a3=this[_0xf4f815(0x401)]['createInstance'](_0x4bf482[_0xf4f815(0x397)],this[_0xf4f815(0x183)],this['type'],_0xa213ef,this['_handler']);this[_0xf4f815(0x363)]();const _0x4aa318=new Date()[_0xf4f815(0x1a1)](),_0x253d7d=this[_0xf4f815(0xc6)]?Math['max'](this[_0xf4f815(0xc6)]-_0x4aa318,0x0):this[_0xf4f815(0x171)]();return _0x1003a3[_0xf4f815(0x18b)](_0x253d7d),_0x1003a3;}throw _0x7a19b2[_0xf4f815(0x2f2)];}catch(_0x53b9ec){return this[_0xf4f815(0x400)][_0xf4f815(0x2f2)](_0x53b9ec),this[_0xf4f815(0x219)](!0x1);}}[_0x12ab33(0x274)](){var _0x550ec7=_0x12ab33;throw new Error(_0x550ec7(0x1be));}[_0x12ab33(0x120)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x12ab33(0x155)](){return this;}[_0x12ab33(0x33b)](){var _0x344726=_0x12ab33;return this[_0x344726(0x363)](),this[_0x344726(0x401)][_0x344726(0x34e)](_0x4bf482['OfflineState'],this[_0x344726(0x183)],this[_0x344726(0x424)],null,this['_pendingMutations'],this[_0x344726(0x241)]);}['toggleOnline'](){return this;}[_0x12ab33(0x18b)](_0x816c8f){var _0x5928eb=_0x12ab33;const _0x4f7a13=_0x816c8f!=null?_0x816c8f:this['_getSendChangesetTimeout']();this[_0x5928eb(0xc6)]=new Date()[_0x5928eb(0x1a1)]()+_0x4f7a13,this[_0x5928eb(0x3a8)]=setTimeout(()=>{var _0xb1eea9=_0x5928eb;this[_0xb1eea9(0x363)]();let _0x1d5f0b=null;switch(this[_0xb1eea9(0x424)]){case _0x5bae36[_0xb1eea9(0x343)]:{_0x1d5f0b=_0x1b0e19(this['_pendingMutations'],this[_0xb1eea9(0x183)],this[_0xb1eea9(0x436)],this[_0xb1eea9(0xf0)],this[_0xb1eea9(0x30c)]);break;}case _0x5bae36[_0xb1eea9(0xef)]:{this[_0xb1eea9(0x215)][_0xb1eea9(0x2ef)](_0x460d4b=>_0x460d4b['id']===_0x187ef9[_0xb1eea9(0x31a)]['id'])?_0x1d5f0b=_0x3238ce(this[_0xb1eea9(0x215)],this[_0xb1eea9(0x183)],this[_0xb1eea9(0x436)],this[_0xb1eea9(0xf0)],this['_memberService']):_0x1d5f0b=_0x1b0e19(this[_0xb1eea9(0x215)],this[_0xb1eea9(0x183)],this[_0xb1eea9(0x436)],this[_0xb1eea9(0xf0)],this[_0xb1eea9(0x30c)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0xb1eea9(0x2bd));}const {changeset:_0x161ac6,pendingMutations:_0x262933}=_0x1d5f0b;this[_0xb1eea9(0x241)][_0xb1eea9(0x124)](_0x161ac6);const _0x50b6e9=_0x262933[_0xb1eea9(0xe6)]?this[_0xb1eea9(0x401)][_0xb1eea9(0x34e)](_0x4bf482['AwaitingWithPendingState'],this[_0xb1eea9(0x183)],this['type'],_0x161ac6,_0x262933,this[_0xb1eea9(0x241)],void 0x0):this[_0xb1eea9(0x401)][_0xb1eea9(0x34e)](_0x4bf482[_0xb1eea9(0x137)],this[_0xb1eea9(0x183)],this['type'],_0x161ac6,this[_0xb1eea9(0x241)]);_0x50b6e9['_updateLocalCache'](),this[_0xb1eea9(0x241)][_0xb1eea9(0xc3)](this,_0x50b6e9);},_0x4f7a13);}[_0x12ab33(0x171)](){var _0x20e212=_0x12ab33,_0x28cb22;const _0x4e7a1a=this[_0x20e212(0x3af)][_0x20e212(0x18d)](_0x433534);return(_0x28cb22=_0x4e7a1a==null?void 0x0:_0x4e7a1a[_0x20e212(0x144)])!=null?_0x28cb22:0x7d0;}[_0x12ab33(0xcb)](){var _0x2ed5bb=_0x12ab33;throw new Error(_0x2ed5bb(0x299));}[_0x12ab33(0x363)](){var _0x309bf3=_0x12ab33;this[_0x309bf3(0x3a8)]!=null&&(clearTimeout(this[_0x309bf3(0x3a8)]),this[_0x309bf3(0x3a8)]=null);}['_onConflict'](_0x33df7a){var _0x2b907b=_0x12ab33;return this[_0x2b907b(0x363)](),this[_0x2b907b(0x401)][_0x2b907b(0x34e)](_0x4bf482['ConflictState'],this[_0x2b907b(0x183)],this[_0x2b907b(0x424)],null,this[_0x2b907b(0x215)],this[_0x2b907b(0x241)],_0x33df7a);}},_0x4bf482['PendingState']=_0x59db31([_0x3760d5(0x4,_0x449ba5['Inject'](_0x449ba5[_0x12ab33(0x298)])),_0x3760d5(0x5,_0x449ba5[_0x12ab33(0x116)](_0x4811d6['RevisionService'])),_0x3760d5(0x6,_0x449ba5[_0x12ab33(0x116)](_0x4bf482[_0x12ab33(0x1a0)])),_0x3760d5(0x7,_0x449ba5[_0x12ab33(0x37b)]),_0x3760d5(0x8,_0x449ba5[_0x12ab33(0x20a)]),_0x3760d5(0x9,_0x449ba5[_0x12ab33(0x388)]),_0x3760d5(0xa,_0x4811d6[_0x12ab33(0x3d0)]),_0x3760d5(0xb,_0x449ba5[_0x12ab33(0x38b)]),_0x3760d5(0xc,_0x449ba5[_0x12ab33(0x36d)]),_0x3760d5(0xd,_0x449ba5['Optional'](_0x6af55a))],_0x4bf482['PendingState']),_0x4bf482[_0x12ab33(0x137)]=class extends _0x415b3a{constructor(_0x31a282,_0x356ff3,_0x3b668c,_0x592742,_0x1c451d,_0x4bf78c,_0x5c9beb,_0xbb8cad,_0x1a2628,_0x2e1b36,_0x369772){var _0x7507f4=_0x12ab33;super(_0x31a282,_0x356ff3,_0x3b668c,[],_0x592742,_0x5c9beb,_0x2e1b36,_0x4bf78c,_0x369772),_0x389841(this,_0x7507f4(0x242),_0x7507f4(0x43f)),_0x389841(this,_0x7507f4(0x3dd),0x0),_0x389841(this,_0x7507f4(0x417),0x0),_0x389841(this,'_resendTimer'),_0x389841(this,'_sender'),(this[_0x7507f4(0x401)]=_0x1c451d,this[_0x7507f4(0x400)]=_0xbb8cad,this[_0x7507f4(0x180)]=_0x1a2628);}['appendMutation'](_0x3be626){var _0x80cfe=_0x12ab33;this['_clearScheduledTask']();const _0x4b679c=this[_0x80cfe(0x401)][_0x80cfe(0x34e)](_0x4bf482[_0x80cfe(0x370)],this['unitID'],this[_0x80cfe(0x424)],this[_0x80cfe(0x3e8)],[_0x3be626],this[_0x80cfe(0x241)],this[_0x80cfe(0x1bc)]);return _0x4b679c[_0x80cfe(0xdc)](),_0x4b679c;}[_0x12ab33(0x179)](_0x3e646c){var _0x8c72ab=_0x12ab33;if(this[_0x8c72ab(0x3e5)](_0x3e646c))return this['_clearScheduledTask'](),this[_0x8c72ab(0x401)]['createInstance'](_0x4bf482['FetchingMissState'],this[_0x8c72ab(0x183)],this[_0x8c72ab(0x424)],this[_0x8c72ab(0x3e8)],[],null,[_0x3e646c],this[_0x8c72ab(0x241)]);try{const _0x30a275=this[_0x8c72ab(0x180)]['transformChangesets']([_0x3e646c],[this['_awaitingChangeset']],!0x1);if(_0x4811d6[_0x8c72ab(0x24d)](_0x30a275)){const {c1Prime:_0x1b1c64,c2Prime:_0x53e776}=_0x30a275;this[_0x8c72ab(0xb2)](_0x1b1c64[0x0]),_0x53e776[0x0][_0x8c72ab(0x149)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x110784=this[_0x8c72ab(0x401)][_0x8c72ab(0x34e)](_0x4bf482[_0x8c72ab(0x137)],this[_0x8c72ab(0x183)],this['type'],_0x53e776[0x0],this[_0x8c72ab(0x241)]);return _0x110784[_0x8c72ab(0xdc)](),_0x110784;}return this[_0x8c72ab(0x219)](!0x1);}catch(_0x4ef20d){return this['_logService'][_0x8c72ab(0x2f2)](_0x4ef20d),this[_0x8c72ab(0x219)](!0x1);}}[_0x12ab33(0x274)](_0x3c0259){var _0x1d45b1=_0x12ab33;this[_0x1d45b1(0x363)]();const _0x3fe974=this[_0x1d45b1(0xf0)][_0x1d45b1(0x3c6)](this[_0x1d45b1(0x183)]);if(_0x3c0259[_0x1d45b1(0x352)]<_0x3fe974-0x1)return this;if(this[_0x1d45b1(0x3e5)](_0x3c0259))return this[_0x1d45b1(0x401)][_0x1d45b1(0x34e)](_0x4bf482['FetchingMissState'],this['unitID'],this[_0x1d45b1(0x424)],null,[],this[_0x1d45b1(0x3e8)],[],this[_0x1d45b1(0x241)]);this[_0x1d45b1(0x101)]();const _0x2ce8d9=this[_0x1d45b1(0x401)][_0x1d45b1(0x34e)](_0x4bf482[_0x1d45b1(0x390)],this[_0x1d45b1(0x183)],this['type'],this['_handler']);return _0x2ce8d9[_0x1d45b1(0xdc)](),_0x2ce8d9;}[_0x12ab33(0x120)](_0x4208a0){var _0xecd2bc=_0x12ab33;return this[_0xecd2bc(0x219)](!!(_0x4208a0!=null&&_0x4208a0[_0xecd2bc(0x223)]));}[_0x12ab33(0x155)](_0x2cbb09){var _0x5ef0d3=_0x12ab33;return this[_0x5ef0d3(0x417)]>_0x235019?this['toggleOffline']():(this['_resendTimer']=_0x25c9b1(this[_0x5ef0d3(0x3dd)],{'timeout':this[_0x5ef0d3(0x3dd)],'reqId':_0x2cbb09[_0x5ef0d3(0x387)]}),this['_sender']=this['_resendTimer'][_0x5ef0d3(0x368)](({reqId:_0xa9cb00,timeout:_0x166177})=>{var _0x35d6ed=_0x5ef0d3;this[_0x35d6ed(0x261)](_0xa9cb00,_0x166177);}),this);}[_0x12ab33(0x33b)](){var _0x39134a=_0x12ab33;return this['_clearScheduledTask'](),this['_injector'][_0x39134a(0x34e)](_0x4bf482['OfflineState'],this[_0x39134a(0x183)],this['type'],this[_0x39134a(0x3e8)],[],this['_handler']);}[_0x12ab33(0x303)](){return this;}[_0x12ab33(0xcb)](){var _0x1d2005=_0x12ab33;this[_0x1d2005(0x241)]['onSendChangeset'](this[_0x1d2005(0x3e8)]);}[_0x12ab33(0x219)](_0x341826){var _0x1fdfeb=_0x12ab33;return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x4bf482[_0x1fdfeb(0x200)],this['unitID'],this[_0x1fdfeb(0x424)],this['_awaitingChangeset'],[],this[_0x1fdfeb(0x241)],_0x341826);}['_resendWithTimeout'](_0x30979e,_0x391aa4){var _0x3b1b08=_0x12ab33,_0x521ab0;_0x30979e===((_0x521ab0=this[_0x3b1b08(0x3e8)])==null?void 0x0:_0x521ab0[_0x3b1b08(0x387)])&&(this[_0x3b1b08(0xcb)](),this[_0x3b1b08(0x3dd)]=_0x391aa4===0x0?0x3e8:Math[_0x3b1b08(0x169)](_0x391aa4*0x2,_0x39d44f),this[_0x3b1b08(0x417)]+=this[_0x3b1b08(0x3dd)]);}['_clearScheduledTask'](){var _0x57062c=_0x12ab33,_0x5c7108;(_0x5c7108=this[_0x57062c(0x296)])==null||_0x5c7108[_0x57062c(0x1bb)](),this['_resendTimeout']=0x0,this[_0x57062c(0x417)]=0x0;}},_0x4bf482[_0x12ab33(0x137)]=_0x59db31([_0x3760d5(0x4,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0x3760d5(0x5,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x337)])),_0x3760d5(0x6,_0x449ba5['ICommandService']),_0x3760d5(0x7,_0x449ba5[_0x12ab33(0x37b)]),_0x3760d5(0x8,_0x4811d6[_0x12ab33(0x3d0)]),_0x3760d5(0x9,_0x449ba5[_0x12ab33(0x36d)]),_0x3760d5(0xa,_0x449ba5[_0x12ab33(0xce)](_0x6af55a))],_0x4bf482['AwaitingState']),_0x4bf482[_0x12ab33(0x370)]=class extends _0x415b3a{constructor(_0x207de2,_0xc84686,_0xe2d914,_0x4f1b64,_0x54ea22,_0x3fda2f,_0x3f3d69,_0x42a37a,_0x566a9d,_0x21804e,_0x179984,_0x47c95b,_0x718aa6){var _0x9412aa=_0x12ab33;super(_0x207de2,_0xc84686,_0xe2d914,_0x4f1b64,_0x54ea22,_0x566a9d,_0x47c95b,_0x42a37a,_0x718aa6),_0x389841(this,_0x9412aa(0x242),_0x9412aa(0x1b3)),_0x389841(this,_0x9412aa(0x3dd),0x0),_0x389841(this,'_maxTotalRetryTimeout',0x0),_0x389841(this,_0x9412aa(0x1bc)),_0x389841(this,'_sender'),(this[_0x9412aa(0x401)]=_0x3f3d69,this[_0x9412aa(0x400)]=_0x21804e,this[_0x9412aa(0x180)]=_0x179984,this[_0x9412aa(0x346)]=_0x718aa6,_0x3fda2f&&(this[_0x9412aa(0x1bc)]=_0x3fda2f,this[_0x9412aa(0x296)]=this[_0x9412aa(0x1bc)][_0x9412aa(0x368)](({reqId:_0xb242f0,timeout:_0x30f68a})=>{var _0x3003ef=_0x9412aa;this[_0x3003ef(0x261)](_0xb242f0,_0x30f68a);})));}['appendMutation'](_0x1bf89e){var _0x22fecf=_0x12ab33;return this[_0x22fecf(0x215)][_0x22fecf(0x125)](_0x1bf89e),this;}[_0x12ab33(0x179)](_0x8eb968){var _0x4aef9d=_0x12ab33;if(this[_0x4aef9d(0x3e5)](_0x8eb968))return this['_clearScheduledTask'](),this[_0x4aef9d(0x401)]['createInstance'](_0x4bf482[_0x4aef9d(0x433)],this[_0x4aef9d(0x183)],this[_0x4aef9d(0x424)],this[_0x4aef9d(0x3e8)],this[_0x4aef9d(0x215)],null,[_0x8eb968],this[_0x4aef9d(0x241)]);try{const _0x264ec7=this['_transformService'][_0x4aef9d(0x2b9)]([_0x8eb968],[this[_0x4aef9d(0x3e8)]],!0x1);if(_0x4811d6[_0x4aef9d(0x24d)](_0x264ec7)){const {c1Prime:_0xd400cc,c2Prime:_0x1e8905}=_0x264ec7,_0x350481=this[_0x4aef9d(0x180)][_0x4aef9d(0x1b1)](_0xd400cc[0x0],this[_0x4aef9d(0x215)]);if(_0x4811d6[_0x4aef9d(0x330)](_0x350481)){const {c1Prime:_0x39173a,m2Prime:_0x7c1926}=_0x350481;return this[_0x4aef9d(0xb2)](_0x39173a),_0x1e8905[0x0][_0x4aef9d(0x149)]=this[_0x4aef9d(0x408)](),this[_0x4aef9d(0x363)](),this[_0x4aef9d(0x401)]['createInstance'](_0x4bf482[_0x4aef9d(0x370)],this[_0x4aef9d(0x183)],this[_0x4aef9d(0x424)],_0x1e8905[0x0],_0x7c1926,this[_0x4aef9d(0x241)],void 0x0);}throw _0x350481[_0x4aef9d(0x2f2)];}throw _0x264ec7[_0x4aef9d(0x2f2)];}catch(_0x34219a){return this['_logService'][_0x4aef9d(0x2f2)](_0x34219a),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x255403){var _0x15776e=_0x12ab33;if(this['_clearScheduledTask'](),this[_0x15776e(0x3e5)](_0x255403))return this[_0x15776e(0x401)][_0x15776e(0x34e)](_0x4bf482[_0x15776e(0x433)],this[_0x15776e(0x183)],this['type'],null,this[_0x15776e(0x215)],this[_0x15776e(0x3e8)],[],this[_0x15776e(0x241)]);this[_0x15776e(0x101)]();const _0xd103ec=this[_0x15776e(0x401)][_0x15776e(0x34e)](_0x4bf482[_0x15776e(0x397)],this[_0x15776e(0x183)],this[_0x15776e(0x424)],this[_0x15776e(0x215)],this[_0x15776e(0x241)]);return _0xd103ec[_0x15776e(0x18b)](),_0xd103ec['_updateLocalCache'](),_0xd103ec;}['onRemoteRej'](_0x600d7e){var _0xcf3330=_0x12ab33;return this['_onConflict'](!!(_0x600d7e!=null&&_0x600d7e[_0xcf3330(0x223)]));}[_0x12ab33(0x155)](_0x8ecff8){var _0x47e03c=_0x12ab33;return this[_0x47e03c(0x417)]>_0x235019?this[_0x47e03c(0x33b)]():(this[_0x47e03c(0x1bc)]=_0x25c9b1(this[_0x47e03c(0x3dd)],{'timeout':this['_resendTimeout'],'reqId':_0x8ecff8[_0x47e03c(0x387)]}),this[_0x47e03c(0x296)]=this[_0x47e03c(0x1bc)][_0x47e03c(0x368)](({reqId:_0x42ec36,timeout:_0x1c4a4f})=>{var _0x4d2217=_0x47e03c;this[_0x4d2217(0x261)](_0x42ec36,_0x1c4a4f);}),this);}[_0x12ab33(0x33b)](){var _0x55d278=_0x12ab33;return this[_0x55d278(0x363)](),this[_0x55d278(0x401)]['createInstance'](_0x4bf482[_0x55d278(0x2d6)],this[_0x55d278(0x183)],this['type'],this[_0x55d278(0x3e8)],this[_0x55d278(0x215)],this[_0x55d278(0x241)]);}[_0x12ab33(0x303)](){return this;}[_0x12ab33(0xcb)](){var _0x48a409=_0x12ab33;this[_0x48a409(0x241)][_0x48a409(0x124)](this[_0x48a409(0x3e8)]);}[_0x12ab33(0x219)](_0x4d6fd2){var _0x1293e4=_0x12ab33;return this['_clearScheduledTask'](),this[_0x1293e4(0x401)][_0x1293e4(0x34e)](_0x4bf482[_0x1293e4(0x200)],this[_0x1293e4(0x183)],this[_0x1293e4(0x424)],null,this['_pendingMutations'],this[_0x1293e4(0x241)],_0x4d6fd2);}[_0x12ab33(0x261)](_0x4051ea,_0x5bdd35){var _0x5dcaa3=_0x12ab33,_0x3f6f35;_0x4051ea===((_0x3f6f35=this[_0x5dcaa3(0x3e8)])==null?void 0x0:_0x3f6f35[_0x5dcaa3(0x387)])&&(this[_0x5dcaa3(0xcb)](),this[_0x5dcaa3(0x3dd)]=_0x5bdd35===0x0?0x3e8:Math[_0x5dcaa3(0x169)](_0x5bdd35*0x2,_0x39d44f),this['_maxTotalRetryTimeout']+=this['_resendTimeout']);}[_0x12ab33(0x363)](){var _0x13d428=_0x12ab33,_0x4f040e;(_0x4f040e=this['_sender'])==null||_0x4f040e[_0x13d428(0x1bb)](),this[_0x13d428(0x3dd)]=0x0,this[_0x13d428(0x417)]=0x0;}},_0x4bf482[_0x12ab33(0x370)]=_0x59db31([_0x3760d5(0x6,_0x449ba5[_0x12ab33(0x116)](_0x449ba5['Injector'])),_0x3760d5(0x7,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x337)])),_0x3760d5(0x8,_0x449ba5[_0x12ab33(0x20a)]),_0x3760d5(0x9,_0x449ba5[_0x12ab33(0x37b)]),_0x3760d5(0xa,_0x4811d6[_0x12ab33(0x3d0)]),_0x3760d5(0xb,_0x449ba5['IUndoRedoService']),_0x3760d5(0xc,_0x449ba5['Optional'](_0x6af55a))],_0x4bf482[_0x12ab33(0x370)]),_0x4bf482[_0x12ab33(0x200)]=class extends _0x415b3a{constructor(_0x5ed375,_0x58f2f5,_0x16f7db,_0x56a432,_0x40b1fb,_0x394c31=!0x1,_0x13fa15,_0x3dfcac,_0x49732b,_0xa52806,_0x406abe,_0x1edcf6,_0x43cf2e){var _0x3b2404=_0x12ab33;super(_0x5ed375,_0x58f2f5,_0x16f7db,_0x56a432,_0x40b1fb,_0x3dfcac,_0x49732b,_0xa52806,_0x43cf2e),_0x389841(this,_0x3b2404(0x242),'conflict'),(this[_0x3b2404(0x192)]=_0x394c31,this[_0x3b2404(0x17a)]=_0x13fa15,this[_0x3b2404(0x18a)]=_0x406abe,this[_0x3b2404(0x18e)]=_0x1edcf6,this[_0x3b2404(0x346)]=_0x43cf2e,this[_0x3b2404(0x12c)](),this[_0x3b2404(0xcd)](),this[_0x3b2404(0x359)]());}[_0x12ab33(0x1fd)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x12ab33(0x155)](){return this;}[_0x12ab33(0x33b)](){return this;}['toggleOnline'](){return this;}[_0x12ab33(0xcb)](){var _0x475398=_0x12ab33;throw new Error(_0x475398(0x289));}[_0x12ab33(0xcd)](){var _0x2a8daa=_0x12ab33,_0x331bf5;(_0x331bf5=this[_0x2a8daa(0x3d2)])==null||_0x331bf5[_0x2a8daa(0x1ba)](this['unitID'],this[_0x2a8daa(0x424)],null,[]);}['_showConflictNotification'](){var _0x464662=_0x12ab33;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x464662(0x3c1)]({'id':_0x49a56d[_0x464662(0x1c9)]}):this['_collaborationUIEventService']['emitEvent']({'id':_0x49a56d[_0x464662(0x33f)]});}['_disableEditing'](){var _0x4de488=_0x12ab33;this[_0x4de488(0x17a)]['updatePermissionPoint'](new _0x38c84a['WorkbookEditablePermission'](this[_0x4de488(0x183)])['id'],!0x1);}},_0x4bf482['ConflictState']=_0x59db31([_0x3760d5(0x6,_0x449ba5[_0x12ab33(0x116)](_0x449ba5['IPermissionService'])),_0x3760d5(0x7,_0x449ba5['ICommandService']),_0x3760d5(0x8,_0x449ba5['IUndoRedoService']),_0x3760d5(0x9,_0x449ba5['Inject'](_0x4811d6[_0x12ab33(0x337)])),_0x3760d5(0xa,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x30b)])),_0x3760d5(0xb,_0x449ba5['Inject'](_0x382c6e)),_0x3760d5(0xc,_0x449ba5[_0x12ab33(0xce)](_0x6af55a))],_0x4bf482[_0x12ab33(0x200)]),_0x4bf482[_0x12ab33(0x2d6)]=class extends _0x415b3a{constructor(_0x3b2b15,_0x28317c,_0x2d23af,_0x213d0f,_0x57cb38,_0x123d33,_0x538863,_0x4e89e2,_0x398c91,_0x1d7c93){var _0x224ffb=_0x12ab33;super(_0x3b2b15,_0x28317c,_0x2d23af,_0x213d0f,_0x57cb38,_0x4e89e2,_0x398c91,_0x538863,_0x1d7c93),_0x389841(this,'status',_0x224ffb(0x269)),this[_0x224ffb(0x401)]=_0x123d33;}['appendMutation'](_0x2ccfca){var _0x218f4b=_0x12ab33;return this[_0x218f4b(0x215)][_0x218f4b(0x125)](_0x2ccfca),this[_0x218f4b(0xdc)](),this;}[_0x12ab33(0x179)](_0x450224){var _0x442557=_0x12ab33;throw new Error(_0x442557(0x1eb));}[_0x12ab33(0x274)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x12ab33(0x120)](){var _0x2958e7=_0x12ab33;throw new Error(_0x2958e7(0x302));}[_0x12ab33(0x155)](){return this;}[_0x12ab33(0x33b)](){return this;}[_0x12ab33(0x303)](){var _0x10d88e=_0x12ab33;const {_injector:_0x5a6e90,_pendingMutations:_0x461c18,_awaitingChangeset:_0x14553f,unitID:_0x4fffbb,_handler:_0x42ec33,type:_0x2aa8e5}=this,_0x170cbe=_0xdd3008(_0x5a6e90,_0x4fffbb,_0x2aa8e5,_0x14553f,_0x461c18,_0x42ec33);return _0x170cbe instanceof _0x4bf482[_0x10d88e(0x397)]?_0x170cbe[_0x10d88e(0x18b)]():(_0x170cbe instanceof _0x4bf482['AwaitingWithPendingState']||_0x170cbe instanceof _0x4bf482['AwaitingState'])&&_0x170cbe[_0x10d88e(0xcb)](),_0x170cbe;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x4bf482['OfflineState']=_0x59db31([_0x3760d5(0x5,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0x3760d5(0x6,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x337)])),_0x3760d5(0x7,_0x449ba5[_0x12ab33(0x20a)]),_0x3760d5(0x8,_0x449ba5[_0x12ab33(0x36d)]),_0x3760d5(0x9,_0x449ba5[_0x12ab33(0xce)](_0x6af55a))],_0x4bf482[_0x12ab33(0x2d6)]),_0x4bf482[_0x12ab33(0x433)]=class extends _0x415b3a{constructor(_0x48b135,_0x1f2995,_0x41f459,_0x17946e,_0x32f872,_0x9b4599,_0x4e8f19,_0x3fb013,_0x4019a2,_0xffead2,_0xbade23,_0x484f2f,_0x10bba3,_0x2d61a2){var _0xa63c54=_0x12ab33;super(_0x48b135,_0x1f2995,_0x41f459,_0x17946e,_0x4e8f19,_0xbade23,_0x484f2f,_0x4019a2,_0x2d61a2),_0x389841(this,_0xa63c54(0x242),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x32f872,this['_queuedRemoteChangesets']=_0x9b4599,this[_0xa63c54(0x401)]=_0x3fb013,this[_0xa63c54(0x400)]=_0xffead2,this[_0xa63c54(0x180)]=_0x10bba3,this[_0xa63c54(0x346)]=_0x2d61a2);}[_0x12ab33(0x41c)](_0x399b1b){var _0x2ca1f7=_0x12ab33;try{const _0x375973=[..._0x399b1b,...this['_queuedRemoteChangesets']],_0x2ca78f=[this[_0x2ca1f7(0x3e8)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x332573=>!!_0x332573);let _0x4ae494,_0x407564;if(_0x2ca78f['length']){const _0x142a76=this[_0x2ca1f7(0x180)][_0x2ca1f7(0x2b9)](_0x375973,_0x2ca78f,!0x1);if(!_0x4811d6[_0x2ca1f7(0x24d)](_0x142a76))throw _0x142a76[_0x2ca1f7(0x2f2)];_0x4ae494=_0x142a76['c1Prime'],_0x407564=_0x142a76['c2Prime'];}else _0x4ae494=_0x375973,_0x407564=[];let _0x21c7dc=this['_pendingMutations'];_0x4ae494[_0x2ca1f7(0x17b)](_0x3249e3=>{var _0x1db30b=_0x2ca1f7;let _0x2c37fb;if(_0x21c7dc['length']){const _0x21509a=this[_0x1db30b(0x180)][_0x1db30b(0x1b1)](_0x3249e3,_0x21c7dc);if(!_0x4811d6[_0x1db30b(0x330)](_0x21509a))throw _0x21509a['error'];_0x2c37fb=_0x21509a['c1Prime'],_0x21c7dc=_0x21509a[_0x1db30b(0x304)];}else _0x2c37fb=_0x3249e3;this['_executeRemoteChangeset'](_0x2c37fb);}),this[_0x2ca1f7(0xd3)]&&this[_0x2ca1f7(0x101)](),this[_0x2ca1f7(0x3e8)]&&_0x407564['length']&&(_0x407564[0x0][_0x2ca1f7(0x149)]=this['_getCurrentRevision']());let _0x5c975b;if(this[_0x2ca1f7(0x3e8)]&&_0x21c7dc[_0x2ca1f7(0xe6)]!==0x0)_0x5c975b=this[_0x2ca1f7(0x401)][_0x2ca1f7(0x34e)](_0x4bf482[_0x2ca1f7(0x370)],this['unitID'],this['type'],_0x407564[0x0],_0x21c7dc,this[_0x2ca1f7(0x241)],void 0x0);else{if(this['_awaitingChangeset']&&_0x21c7dc['length']===0x0)_0x407564[0x0][_0x2ca1f7(0x149)]=this['_getCurrentRevision'](),_0x5c975b=this[_0x2ca1f7(0x401)][_0x2ca1f7(0x34e)](_0x4bf482['AwaitingState'],this[_0x2ca1f7(0x183)],this[_0x2ca1f7(0x424)],_0x407564[0x0],this[_0x2ca1f7(0x241)]);else{if(_0x21c7dc['length']!==0x0){const _0xc056f=this['_injector'][_0x2ca1f7(0x34e)](_0x4bf482[_0x2ca1f7(0x397)],this[_0x2ca1f7(0x183)],this[_0x2ca1f7(0x424)],_0x21c7dc,this[_0x2ca1f7(0x241)]);_0xc056f[_0x2ca1f7(0x18b)](),_0x5c975b=_0xc056f;}else _0x5c975b=this[_0x2ca1f7(0x401)]['createInstance'](_0x4bf482[_0x2ca1f7(0x390)],this['unitID'],this[_0x2ca1f7(0x424)],this[_0x2ca1f7(0x241)]);}}return _0x5c975b[_0x2ca1f7(0xdc)](),_0x5c975b;}catch(_0x3b96ba){return this[_0x2ca1f7(0x400)][_0x2ca1f7(0x2f2)](_0x2ca1f7(0x1c1),'failed\x20to\x20apply\x20missed\x20changesets!',_0x3b96ba),this[_0x2ca1f7(0x401)][_0x2ca1f7(0x34e)](_0x4bf482[_0x2ca1f7(0x200)],this['unitID'],this[_0x2ca1f7(0x424)],this[_0x2ca1f7(0x3e8)],this[_0x2ca1f7(0x215)],this['_handler'],!0x1);}}[_0x12ab33(0xcb)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x3c634b){var _0x154b2a=_0x12ab33;return this[_0x154b2a(0x215)]['push'](_0x3c634b),this;}['onRemoteChangeset'](_0x160217){var _0x260b77=_0x12ab33;return this[_0x260b77(0x3e1)]['push'](_0x160217),this;}['onRemoteAck'](_0x12bf10){var _0x5e674e=_0x12ab33;if(this[_0x5e674e(0x3e8)])return this[_0x5e674e(0xd3)]=this[_0x5e674e(0x3e8)],this[_0x5e674e(0x3e8)]=null,this;throw new Error(_0x5e674e(0x24b));}[_0x12ab33(0x120)](_0x12f7b9){var _0x49e6c9=_0x12ab33;return this[_0x49e6c9(0x219)](!!(_0x12f7b9!=null&&_0x12f7b9[_0x49e6c9(0x223)]));}[_0x12ab33(0x155)](){return this;}[_0x12ab33(0x33b)](){var _0x9f98c7=_0x12ab33;return this[_0x9f98c7(0x401)]['createInstance'](_0x4bf482['OfflineState'],this['unitID'],this['type'],this[_0x9f98c7(0x3e8)],this['_pendingMutations'],this[_0x9f98c7(0x241)]);}[_0x12ab33(0x303)](){return this;}[_0x12ab33(0x219)](_0x15f837){var _0x4b25a9=_0x12ab33;return this[_0x4b25a9(0x401)][_0x4b25a9(0x34e)](_0x4bf482[_0x4b25a9(0x200)],this['unitID'],this['type'],this[_0x4b25a9(0x3e8)],this[_0x4b25a9(0x215)],this[_0x4b25a9(0x241)],_0x15f837);}},_0x4bf482[_0x12ab33(0x433)]=_0x59db31([_0x3760d5(0x7,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0x3760d5(0x8,_0x449ba5[_0x12ab33(0x116)](_0x4811d6['RevisionService'])),_0x3760d5(0x9,_0x449ba5[_0x12ab33(0x37b)]),_0x3760d5(0xa,_0x449ba5[_0x12ab33(0x20a)]),_0x3760d5(0xb,_0x449ba5[_0x12ab33(0x36d)]),_0x3760d5(0xc,_0x4811d6[_0x12ab33(0x3d0)]),_0x3760d5(0xd,_0x449ba5[_0x12ab33(0xce)](_0x6af55a))],_0x4bf482[_0x12ab33(0x433)]);function _0xdd3008(_0x367a02,_0x1229d5,_0x2c6b4c,_0x162b52,_0x1dfa47,_0x3d3ee7){var _0x33573c=_0x12ab33;return _0x162b52&&_0x1dfa47[_0x33573c(0xe6)]?_0x367a02[_0x33573c(0x34e)](_0x4bf482[_0x33573c(0x370)],_0x1229d5,_0x2c6b4c,_0x162b52,_0x1dfa47,_0x3d3ee7,void 0x0):_0x162b52?_0x367a02['createInstance'](_0x4bf482[_0x33573c(0x137)],_0x1229d5,_0x2c6b4c,_0x162b52,_0x3d3ee7):_0x1dfa47['length']?_0x367a02[_0x33573c(0x34e)](_0x4bf482[_0x33573c(0x397)],_0x1229d5,_0x2c6b4c,_0x1dfa47,_0x3d3ee7):_0x367a02[_0x33573c(0x34e)](_0x4bf482['SyncedState'],_0x1229d5,_0x2c6b4c,_0x3d3ee7);}var _0x13b3b6=Object[_0x12ab33(0x39e)],_0x29d5b5=(_0x5fbc8a,_0x105be2,_0x9a7485,_0xf30681)=>{var _0x550286=_0x12ab33;for(var _0x17947a=_0xf30681>0x1?void 0x0:_0xf30681?_0x13b3b6(_0x105be2,_0x9a7485):_0x105be2,_0x55f7af=_0x5fbc8a[_0x550286(0xe6)]-0x1,_0x22e793;_0x55f7af>=0x0;_0x55f7af--)(_0x22e793=_0x5fbc8a[_0x55f7af])&&(_0x17947a=_0x22e793(_0x17947a)||_0x17947a);return _0x17947a;},_0xa345b7=(_0x204b71,_0x4a9b67)=>(_0x389993,_0x406bc8)=>_0x4a9b67(_0x389993,_0x406bc8,_0x204b71);_0x4bf482[_0x12ab33(0xb0)]=class extends _0x449ba5[_0x12ab33(0x1fc)]{constructor(_0x24f149,_0xa04dd0,_0x6d8933,_0x48e16a,_0x3e893d,_0x5a23c9,_0x43d6e9,_0x132add,_0x453028,_0x36f590,_0x48013b,_0x135da4,_0x490216,_0x312ea3){var _0x26d654=_0x12ab33;super(),_0x389841(this,'_state$',new _0x550b9f[(_0x26d654(0x1f8))](null)),_0x389841(this,_0x26d654(0x2dd),this['_state$']['asObservable']()),_0x389841(this,_0x26d654(0x1f4)),_0x389841(this,_0x26d654(0x3dc),!0x1),_0x389841(this,_0x26d654(0x2aa),''),_0x389841(this,_0x26d654(0x398),0x0),_0x389841(this,'status$',this[_0x26d654(0x2dd)][_0x26d654(0x188)](_0x550b9f['map'](_0x12998d=>_0x12998d?_0x12998d[_0x26d654(0x242)]:_0x1bd308[_0x26d654(0x3d1)]),_0x550b9f[_0x26d654(0x225)](0x1))),_0x389841(this,'_transitionLocked',!0x1),_0x389841(this,_0x26d654(0x3ac),[]),(this[_0x26d654(0x183)]=_0x24f149,this[_0x26d654(0x1cd)]=_0xa04dd0,this[_0x26d654(0x19d)]=_0x6d8933,this[_0x26d654(0x401)]=_0x48e16a,this[_0x26d654(0x11a)]=_0x3e893d,this[_0x26d654(0x18a)]=_0x5a23c9,this['_revisionService']=_0x43d6e9,this['_eventService']=_0x132add,this['_univerInstanceService']=_0x453028,this[_0x26d654(0x400)]=_0x36f590,this[_0x26d654(0x1e2)]=_0x48013b,this[_0x26d654(0x17a)]=_0x135da4,this[_0x26d654(0x22b)]=_0x490216,this['_localCacheService']=_0x312ea3);}get[_0x12ab33(0x14f)](){var _0x2b15c9=_0x12ab33;return this[_0x2b15c9(0x1f4)];}async[_0x12ab33(0x33d)](){if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}['pauseCollaboration'](){var _0x4b90a9=_0x12ab33;return this[_0x4b90a9(0x3dc)]=!0x0,_0x449ba5[_0x4b90a9(0x36c)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x12ab33(0x3cb)](_0x16a242){var _0x3fe094=_0x12ab33;this[_0x3fe094(0x3df)](_0x16a242);}['_updateState'](_0x141446){var _0x50bd40=_0x12ab33;this[_0x50bd40(0x1f4)]=_0x141446,this['_state$'][_0x50bd40(0xaf)](_0x141446);}async[_0x12ab33(0x256)](){var _0x1df7ee=_0x12ab33,_0x1b9794;this[_0x1df7ee(0x341)](await this[_0x1df7ee(0x2d8)]()),this[_0x1df7ee(0x22b)]&&((_0x1b9794=this[_0x1df7ee(0x22b)])==null||_0x1b9794['editingUnit'](this[_0x1df7ee(0x183)]),this['disposeWithMe'](this[_0x1df7ee(0x22b)][_0x1df7ee(0x3b5)](this[_0x1df7ee(0x183)])['subscribe'](_0x465f44=>{var _0x523af0=_0x1df7ee;this[_0x523af0(0x400)]['debug'](_0x523af0(0x2c5),_0x523af0(0x3cd),_0x465f44),_0x465f44===_0x5f5425[_0x523af0(0x1d4)]?(this['_eventService'][_0x523af0(0x3c1)]({'id':_0x49a56d[_0x523af0(0x217)]}),this[_0x523af0(0x17a)][_0x523af0(0x2b2)](new _0x38c84a[(_0x523af0(0x3c9))](this[_0x523af0(0x183)])['id'],!0x1),this[_0x523af0(0x17a)][_0x523af0(0x2c3)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x38c84a[(_0x523af0(0x3c9))](this[_0x523af0(0x183)])['id'],!0x0),this[_0x523af0(0x17a)][_0x523af0(0x2c3)](!0x0));})));let _0x1d1a71=!0x1;return this[_0x1df7ee(0x21e)](this[_0x1df7ee(0x1cd)]['sessionStatus$']['subscribe'](_0x38ce82=>{var _0x500726=_0x1df7ee;_0x38ce82===_0x439d16[_0x500726(0x20d)]?this['_toggleOnline'](_0x1d1a71):_0x38ce82===_0x439d16[_0x500726(0x3d1)]&&(_0x1d1a71=!0x0,this[_0x500726(0x35f)]());})),this['disposeWithMe'](this[_0x1df7ee(0x1cd)]['event$']['subscribe'](_0x6f7cbe=>{var _0x4d64cd=_0x1df7ee;try{switch(_0x6f7cbe[_0x4d64cd(0x28c)]){case _0x4811d6[_0x4d64cd(0x381)][_0x4d64cd(0x2c1)]:{this[_0x4d64cd(0x1e0)](_0x4811d6[_0x4d64cd(0x41f)](_0x6f7cbe[_0x4d64cd(0x166)]));break;}case _0x4811d6[_0x4d64cd(0x381)][_0x4d64cd(0x2f4)]:{this['_onRemoteACK'](_0x6f7cbe[_0x4d64cd(0x166)]);break;}case _0x4811d6['CollaborationEvent'][_0x4d64cd(0x383)]:{this[_0x4d64cd(0xae)]();break;}case _0x4811d6['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this[_0x4d64cd(0x222)](_0x6f7cbe[_0x4d64cd(0x166)]);break;}case _0x4811d6[_0x4d64cd(0x381)][_0x4d64cd(0x404)]:{this[_0x4d64cd(0x350)](_0x6f7cbe['data'][_0x4d64cd(0xd5)]['map'](_0x501e81=>_0x4811d6[_0x4d64cd(0x41f)](_0x501e81)));break;}case _0x4811d6['CollaborationEvent'][_0x4d64cd(0x151)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x4811d6[_0x4d64cd(0x381)][_0x4d64cd(0x207)]:break;}}catch(_0x3b6c63){throw console[_0x4d64cd(0x2f2)](_0x4d64cd(0x126),_0x3b6c63),_0x3b6c63;}})),this['_state'];}[_0x12ab33(0x317)](){var _0x2b8a7b=_0x12ab33;this[_0x2b8a7b(0x209)]=!0x1;}[_0x12ab33(0x3d7)](){var _0x44ff09=_0x12ab33;if(this[_0x44ff09(0x209)])throw new Error(_0x44ff09(0x228));this[_0x44ff09(0x209)]=!0x0;}[_0x12ab33(0x3df)](_0x18d08b){var _0x4e4adf=_0x12ab33;this[_0x4e4adf(0x3d7)](),this[_0x4e4adf(0x341)](this[_0x4e4adf(0x1f4)][_0x4e4adf(0x1fd)](_0x18d08b)),this[_0x4e4adf(0x317)]();}[_0x12ab33(0x1e0)](_0x126ea3){var _0xffad2c=_0x12ab33;if(!(_0x126ea3['revision']<=this[_0xffad2c(0xf0)][_0xffad2c(0x3c6)](this[_0xffad2c(0x183)]))){if(this[_0xffad2c(0x3dc)]){this[_0xffad2c(0x3ac)][_0xffad2c(0x125)](_0x126ea3);return;}this[_0xffad2c(0x2ec)](_0x126ea3);}}[_0x12ab33(0x1ae)](){var _0x2d5eba=_0x12ab33;this[_0x2d5eba(0x3ac)]['forEach'](_0x3fefcd=>this['_applyRemoteChangeset'](_0x3fefcd)),this[_0x2d5eba(0x3ac)]=[];}[_0x12ab33(0x2ec)](_0x15c08d){var _0x1c2538=_0x12ab33;const _0x5d7a2a=this[_0x1c2538(0x11a)][_0x1c2538(0x42b)][_0x1c2538(0x2e0)](this['_compressMutationService']['interceptor'][_0x1c2538(0x121)]()[_0x1c2538(0x24c)])(_0x15c08d[_0x1c2538(0x34d)],null)||_0x15c08d[_0x1c2538(0x34d)],_0x233387={..._0x15c08d,'mutations':_0x5d7a2a};this[_0x1c2538(0x3d7)](),this[_0x1c2538(0x341)](this[_0x1c2538(0x1f4)][_0x1c2538(0x179)](_0x233387)),this['_unlockTransition']();}['_onRemoteACK'](_0x2afb1f){var _0x43f9e3=_0x12ab33;this[_0x43f9e3(0x3d7)](),this['_updateState'](this['_state'][_0x43f9e3(0x274)](_0x2afb1f)),this[_0x43f9e3(0x317)]();}['_onRemoteRejected'](_0x48d634){var _0xac0e08=_0x12ab33;this[_0xac0e08(0x3d7)](),this[_0xac0e08(0x341)](this[_0xac0e08(0x1f4)][_0xac0e08(0x120)](_0x48d634)),this['_unlockTransition']();}[_0x12ab33(0x222)](_0x40af35){var _0x1b99c3=_0x12ab33;this['_lockTransition'](),this['_updateState'](this[_0x1b99c3(0x1f4)][_0x1b99c3(0x155)](_0x40af35)),this['_unlockTransition']();}[_0x12ab33(0x350)](_0x591c0f){var _0x3cf80d=_0x12ab33;if(!(this[_0x3cf80d(0x1f4)]instanceof _0x4bf482['FetchingMissState']))throw new TypeError(_0x3cf80d(0xf3));const _0x4b06f2=_0x591c0f[_0x3cf80d(0xc9)](_0x3268cf=>{var _0x5ae55f=_0x3cf80d;const _0x21b980=this[_0x5ae55f(0x11a)]['interceptor']['fetchThroughInterceptors'](this[_0x5ae55f(0x11a)]['interceptor'][_0x5ae55f(0x121)]()[_0x5ae55f(0x24c)])(_0x3268cf[_0x5ae55f(0x34d)],null)||_0x3268cf[_0x5ae55f(0x34d)];return{..._0x3268cf,'mutations':_0x21b980};});this[_0x3cf80d(0x3d7)](),this[_0x3cf80d(0x341)](this[_0x3cf80d(0x1f4)]['onMissedChangesetFetched'](_0x4b06f2)),this['_unlockTransition']();}[_0x12ab33(0x35f)](){var _0x422179=_0x12ab33;this[_0x422179(0x3d7)](),this['_updateState'](this[_0x422179(0x1f4)]['toggleOffline']()),this[_0x422179(0x317)]();}['_toggleOnline'](_0x3bbe9d=!0x1){var _0x2e6f56=_0x12ab33;this[_0x2e6f56(0x3d7)](),this[_0x2e6f56(0x341)](this[_0x2e6f56(0x1f4)][_0x2e6f56(0x303)]()),this[_0x2e6f56(0x317)]();const _0x3b70bb=this[_0x2e6f56(0x1f4)];_0x3bbe9d&&_0x3b70bb instanceof _0x4bf482[_0x2e6f56(0x390)]&&(this[_0x2e6f56(0x3d7)](),this['_updateState'](_0x3b70bb[_0x2e6f56(0x2bf)]()),this[_0x2e6f56(0x317)]());}async[_0x12ab33(0x2d8)](){return new Promise(_0x1d8ee9=>{var _0x53a02b=_0x4f3d;this[_0x53a02b(0x1cd)][_0x53a02b(0x2d3)][_0x53a02b(0x188)](_0x550b9f['take'](0x1))[_0x53a02b(0x368)](async _0x3b2c29=>{var _0x12c494=_0x53a02b;_0x1d8ee9(await this['_createInitialStateImpl'](_0x3b2c29===_0x439d16[_0x12c494(0x20d)]));});});}[_0x12ab33(0x12d)](){var _0x2b8ac8=_0x12ab33;const _0xa3e161=this[_0x2b8ac8(0x183)];return{'onStateChange':(_0x1f700d,_0x46b0ac)=>{var _0x3f3e60=_0x2b8ac8;if(_0x1f700d!==this[_0x3f3e60(0x1f4)])throw new Error(_0x3f3e60(0x1d0)+_0x1f700d[_0x3f3e60(0x242)]+_0x3f3e60(0x266)+_0x46b0ac['status']+_0x3f3e60(0x371)+this[_0x3f3e60(0x1f4)][_0x3f3e60(0x242)]);this[_0x3f3e60(0x341)](_0x46b0ac);},'onSendChangeset':_0x41ef7d=>{var _0xaf1148=_0x2b8ac8;_0x41ef7d[_0xaf1148(0x3a6)]||(_0x41ef7d[_0xaf1148(0x3a6)]=this[_0xaf1148(0x2aa)],_0x41ef7d[_0xaf1148(0x387)]=++this['_changesetReqId']);const _0x4f1c67={'eventID':_0x4811d6[_0xaf1148(0x381)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x41ef7d[_0xaf1148(0x183)],'unitType':this[_0xaf1148(0x19d)],'changeset':_0x41ef7d,'memberID':this['session']['getMemberID']()}};this['session'][_0xaf1148(0x199)](_0x4f1c67,this[_0xaf1148(0x183)]);},'onMissingChangesets':({from:_0x59eb52,to:_0x310766})=>{var _0x3cec23=_0x2b8ac8;this[_0x3cec23(0x400)][_0x3cec23(0x2ea)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x59eb52+'\x20to\x20'+_0x310766);const _0x549f8e={'eventID':_0x4811d6[_0x3cec23(0x381)][_0x3cec23(0x14b)],'data':{'unitID':_0xa3e161,'unitType':this[_0x3cec23(0x19d)],'from':_0x59eb52,'to':_0x310766}};this[_0x3cec23(0x1cd)][_0x3cec23(0x199)](_0x549f8e,this[_0x3cec23(0x183)]);}};}async['_createInitialStateImpl'](_0x547fd0){var _0x31f0db=_0x12ab33,_0x226961,_0x25839f,_0x67a988;const _0x3070f0=await((_0x226961=this[_0x31f0db(0x3d2)])==null?void 0x0:_0x226961[_0x31f0db(0x1c5)](this[_0x31f0db(0x183)])),_0x14dfef=(_0x25839f=_0x3070f0==null?void 0x0:_0x3070f0[_0x31f0db(0x34d)])!=null?_0x25839f:[],_0x41ec7c=(_0x67a988=_0x3070f0==null?void 0x0:_0x3070f0['awaitingChangeset'])!=null?_0x67a988:null,_0x28f4c7=!!(_0x41ec7c!=null&&_0x41ec7c[_0x31f0db(0x3a6)])&&!!(_0x41ec7c!=null&&_0x41ec7c[_0x31f0db(0x387)]);this[_0x31f0db(0x2aa)]=_0x28f4c7?_0x41ec7c[_0x31f0db(0x3a6)]:_0x4811d6['uuidv4'](),this[_0x31f0db(0x398)]=_0x28f4c7?_0x41ec7c['reqId']:0x0;const _0x19b6e8=this[_0x31f0db(0x183)];try{this[_0x31f0db(0x287)](_0x41ec7c,_0x14dfef);}catch(_0x50ea3e){this['_logService'][_0x31f0db(0x2f2)](_0x50ea3e);}const _0x534e76=this[_0x31f0db(0x12d)]();if(_0x547fd0){const _0x58997f=_0xdd3008(this[_0x31f0db(0x401)],_0x19b6e8,this[_0x31f0db(0x19d)],_0x41ec7c,_0x14dfef,_0x534e76);return _0x58997f instanceof _0x4bf482[_0x31f0db(0x397)]?_0x58997f[_0x31f0db(0x18b)]():(_0x58997f instanceof _0x4bf482[_0x31f0db(0x370)]||_0x58997f instanceof _0x4bf482[_0x31f0db(0x137)])&&_0x58997f[_0x31f0db(0xcb)](),_0x58997f;}return this[_0x31f0db(0x401)][_0x31f0db(0x34e)](_0x4bf482['OfflineState'],_0x19b6e8,this[_0x31f0db(0x19d)],_0x41ec7c,_0x14dfef,_0x534e76);}[_0x12ab33(0x287)](_0x2d44e9,_0x30d09e){var _0x41ee6d=_0x12ab33,_0x3003c3,_0x340bbb;const _0x2fc591=this[_0x41ee6d(0x11a)][_0x41ee6d(0x42b)][_0x41ee6d(0x2e0)](this[_0x41ee6d(0x11a)]['interceptor'][_0x41ee6d(0x121)]()[_0x41ee6d(0x24c)]);(_0x3003c3=_0x2fc591((_0x2d44e9==null?void 0x0:_0x2d44e9[_0x41ee6d(0x34d)])||[],null))==null||_0x3003c3['forEach'](_0x177978=>this[_0x41ee6d(0x1e2)]['executeCommand'](_0x177978['id'],_0x177978[_0x41ee6d(0x27c)])),(_0x340bbb=_0x2fc591(_0x30d09e||[],null))==null||_0x340bbb['forEach'](_0xb7fc96=>this['_commandService'][_0x41ee6d(0x29d)](_0xb7fc96['id'],_0xb7fc96['params']));}},_0x4bf482[_0x12ab33(0xb0)]=_0x29d5b5([_0xa345b7(0x3,_0x449ba5['Inject'](_0x449ba5[_0x12ab33(0x298)])),_0xa345b7(0x4,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x2c6)])),_0xa345b7(0x5,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x30b)])),_0xa345b7(0x6,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x337)])),_0xa345b7(0x7,_0x449ba5[_0x12ab33(0x116)](_0x382c6e)),_0xa345b7(0x8,_0x449ba5['IUniverInstanceService']),_0xa345b7(0x9,_0x449ba5[_0x12ab33(0x37b)]),_0xa345b7(0xa,_0x449ba5[_0x12ab33(0x20a)]),_0xa345b7(0xb,_0x449ba5['IPermissionService']),_0xa345b7(0xc,_0x449ba5['Optional'](_0x6f1b14)),_0xa345b7(0xd,_0x449ba5[_0x12ab33(0xce)](_0x6af55a))],_0x4bf482[_0x12ab33(0xb0)]),_0x4bf482[_0x12ab33(0x226)]=class extends _0x4bf482['CollaborationEntity']{constructor(_0x5e84ca,_0x22056c,_0x92fa92,_0x3b32a0,_0x5701eb,_0x24e7ec,_0x34a00b,_0x5204eb,_0x4320ce,_0x350b86,_0xf2769e,_0x7fe1eb,_0x4f53c5,_0x2437d4){var _0x4647e8=_0x12ab33;super(_0x5e84ca,_0x92fa92,_0x22056c,_0x3b32a0,_0x5701eb,_0x24e7ec,_0x34a00b,_0x5204eb,_0x4320ce,_0x350b86,_0xf2769e,_0x7fe1eb,_0x4f53c5,_0x2437d4),_0x389841(this,'_handlerCallback',null),(this[_0x4647e8(0x183)]=_0x5e84ca,this[_0x4647e8(0x424)]=_0x22056c);}[_0x12ab33(0x1b2)](_0x6dabb4){var _0x4185e3=_0x12ab33;this[_0x4185e3(0x105)]=_0x6dabb4;}[_0x12ab33(0x35e)](){var _0x1a82e1=_0x12ab33;this[_0x1a82e1(0x105)]=null,super['dispose']();}['_createHandler'](){var _0x3ff5dc=_0x12ab33;const _0x5d6b3c=super[_0x3ff5dc(0x12d)]();return _0x5d6b3c[_0x3ff5dc(0x307)]=_0x28d022=>{var _0x34ad46=_0x3ff5dc,_0x846c02,_0x1b43f4;return(_0x1b43f4=(_0x846c02=this['_handlerCallback'])==null?void 0x0:_0x846c02[_0x34ad46(0x307)])==null?void 0x0:_0x1b43f4[_0x34ad46(0x1a5)](_0x846c02,_0x28d022);},_0x5d6b3c[_0x3ff5dc(0x353)]=_0x15c9ab=>{var _0xd0fcfe=_0x3ff5dc,_0x4c803d,_0x369c05;return(_0x369c05=(_0x4c803d=this[_0xd0fcfe(0x105)])==null?void 0x0:_0x4c803d[_0xd0fcfe(0x353)])==null?void 0x0:_0x369c05[_0xd0fcfe(0x1a5)](_0x4c803d,_0x15c9ab);},_0x5d6b3c[_0x3ff5dc(0x3e3)]=_0x5d5861=>{var _0x2ac481=_0x3ff5dc,_0x488fce,_0x54e48c;return(_0x54e48c=(_0x488fce=this[_0x2ac481(0x105)])==null?void 0x0:_0x488fce['onTransformSelections'])==null?void 0x0:_0x54e48c['call'](_0x488fce,_0x5d5861);},_0x5d6b3c[_0x3ff5dc(0x11e)]=_0x5a59ba=>{var _0x1535c0=_0x3ff5dc,_0x55a0c3,_0x5170b6;return(_0x5170b6=(_0x55a0c3=this['_handlerCallback'])==null?void 0x0:_0x55a0c3[_0x1535c0(0x11e)])==null?void 0x0:_0x5170b6['call'](_0x55a0c3,_0x5a59ba);},_0x5d6b3c[_0x3ff5dc(0xf4)]=_0x15aefd=>{var _0x56ee64=_0x3ff5dc,_0x1968da,_0x3414c5,_0x5e0c7;if(!((_0x1968da=this['_handlerCallback'])!=null&&_0x1968da[_0x56ee64(0xf4)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5e0c7=(_0x3414c5=this[_0x56ee64(0x105)])==null?void 0x0:_0x3414c5['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5e0c7['call'](_0x3414c5,_0x15aefd);},_0x5d6b3c[_0x3ff5dc(0x18f)]=_0x747f7a=>{var _0x9e1360=_0x3ff5dc,_0x143084,_0x39704e,_0x117664;if(!((_0x143084=this['_handlerCallback'])!=null&&_0x143084[_0x9e1360(0x18f)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x117664=(_0x39704e=this[_0x9e1360(0x105)])==null?void 0x0:_0x39704e[_0x9e1360(0x18f)])==null?void 0x0:_0x117664[_0x9e1360(0x1a5)](_0x39704e,_0x747f7a);},_0x5d6b3c;}async[_0x12ab33(0x256)](){var _0x53a8f7=_0x12ab33;const _0x27bb5e=await super[_0x53a8f7(0x256)]();return this['disposeWithMe'](this[_0x53a8f7(0x1e2)]['onMutationExecutedForCollab']((_0x277aa6,_0x5f1b53)=>{var _0x48fda2=_0x53a8f7;if(_0x277aa6[_0x48fda2(0x424)]!==_0x449ba5[_0x48fda2(0x2b5)]['MUTATION']||_0x5f1b53!=null&&_0x5f1b53[_0x48fda2(0x33a)]||_0x5f1b53!=null&&_0x5f1b53[_0x48fda2(0x1d9)]||_0x277aa6['id']===_0x187ef9[_0x48fda2(0x31a)]['id'])return;const _0x411f1b=_0x277aa6[_0x48fda2(0x27c)];if((_0x411f1b==null?void 0x0:_0x411f1b[_0x48fda2(0x109)])!==this[_0x48fda2(0x183)])return;const _0x37cfc1=_0x277aa6,_0x21bfd2=this['_compressMutationService'][_0x48fda2(0x42b)][_0x48fda2(0x2e0)](this['_compressMutationService'][_0x48fda2(0x42b)][_0x48fda2(0x121)]()[_0x48fda2(0x1ef)])([_0x37cfc1],this['_univerInstanceService'])||[_0x37cfc1];this[_0x48fda2(0x3df)](_0x21bfd2[0x0]);})),_0x27bb5e;}},_0x4bf482['DocCollaborationEntity']=_0x29d5b5([_0xa345b7(0x3,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0xa345b7(0x4,_0x449ba5['Inject'](_0x4811d6['CompressMutationService'])),_0xa345b7(0x5,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x30b)])),_0xa345b7(0x6,_0x449ba5[_0x12ab33(0x116)](_0x4811d6['RevisionService'])),_0xa345b7(0x7,_0x449ba5[_0x12ab33(0x116)](_0x382c6e)),_0xa345b7(0x8,_0x449ba5[_0x12ab33(0x38b)]),_0xa345b7(0x9,_0x449ba5['ILogService']),_0xa345b7(0xa,_0x449ba5[_0x12ab33(0x20a)]),_0xa345b7(0xb,_0x449ba5[_0x12ab33(0x340)]),_0xa345b7(0xc,_0x449ba5[_0x12ab33(0xce)](_0x6f1b14)),_0xa345b7(0xd,_0x449ba5[_0x12ab33(0xce)](_0x6af55a))],_0x4bf482[_0x12ab33(0x226)]),_0x4bf482['SheetCollaborationEntity']=class extends _0x4bf482[_0x12ab33(0xb0)]{constructor(_0x4f12e8,_0x4daba6,_0x2dc185,_0x120c02,_0x37304b,_0x23c1b7,_0x51cbd3,_0x75ad4f,_0x5a63c3,_0x33d960,_0x2dc05f,_0x4b0349,_0x4db8be,_0x15e2f0,_0x552612){var _0x27f118=_0x12ab33;super(_0x4f12e8,_0x2dc185,_0x4daba6,_0x120c02,_0x37304b,_0x23c1b7,_0x51cbd3,_0x5a63c3,_0x33d960,_0x2dc05f,_0x4b0349,_0x4db8be,_0x15e2f0,_0x552612),this[_0x27f118(0x183)]=_0x4f12e8,this[_0x27f118(0x424)]=_0x4daba6,this[_0x27f118(0xe4)]=_0x75ad4f;}[_0x12ab33(0x12d)](){var _0x4b9f52=_0x12ab33;const _0x19be43=super[_0x4b9f52(0x12d)]();return _0x19be43['onTransformSelections']=_0x3c7ca2=>this[_0x4b9f52(0xe4)]['transformSelections'](_0x3c7ca2),_0x19be43;}async[_0x12ab33(0x256)](){var _0x5e1495=_0x12ab33;const _0x305b29=await super[_0x5e1495(0x256)]();return this['disposeWithMe'](this[_0x5e1495(0x1e2)][_0x5e1495(0x177)]((_0x11437a,_0x4b3afc)=>{var _0x3de3bf=_0x5e1495;if(_0x11437a[_0x3de3bf(0x424)]!==_0x449ba5[_0x3de3bf(0x2b5)][_0x3de3bf(0x3d3)]||_0x4b3afc!=null&&_0x4b3afc['fromCollab']||_0x4b3afc!=null&&_0x4b3afc[_0x3de3bf(0x1d9)])return;const _0x22c345=_0x11437a[_0x3de3bf(0x27c)];if((_0x22c345==null?void 0x0:_0x22c345[_0x3de3bf(0x109)])!==this['unitID'])return;const _0x5c2733=_0x11437a,_0x118558=this[_0x3de3bf(0x11a)][_0x3de3bf(0x42b)][_0x3de3bf(0x2e0)](this[_0x3de3bf(0x11a)][_0x3de3bf(0x42b)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x5c2733],this[_0x3de3bf(0x436)])||[_0x5c2733];this['_onLocalMutation'](_0x118558[0x0]);})),_0x305b29;}},_0x4bf482[_0x12ab33(0x2ed)]=_0x29d5b5([_0xa345b7(0x3,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0xa345b7(0x4,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x2c6)])),_0xa345b7(0x5,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x30b)])),_0xa345b7(0x6,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x337)])),_0xa345b7(0x7,_0x449ba5[_0x12ab33(0x116)](_0x4bf482[_0x12ab33(0x280)])),_0xa345b7(0x8,_0x449ba5['Inject'](_0x382c6e)),_0xa345b7(0x9,_0x449ba5[_0x12ab33(0x38b)]),_0xa345b7(0xa,_0x449ba5[_0x12ab33(0x37b)]),_0xa345b7(0xb,_0x449ba5[_0x12ab33(0x20a)]),_0xa345b7(0xc,_0x449ba5[_0x12ab33(0x340)]),_0xa345b7(0xd,_0x449ba5[_0x12ab33(0xce)](_0x6f1b14)),_0xa345b7(0xe,_0x449ba5['Optional'](_0x6af55a))],_0x4bf482[_0x12ab33(0x2ed)]);const _0x22ffa0=_0x449ba5[_0x12ab33(0x37d)](_0x12ab33(0x19a));function _0x4820e4(_0xf9d71){var _0x3358c5=_0x12ab33,_0x1996f8,_0x32cb16,_0x4e1b2c,_0x413c0a,_0x5d68f7;const _0x56496c=_0xf9d71[_0x3358c5(0x166)],_0x2fde37=JSON['parse'](_0x56496c);switch(_0x2fde37[_0x3358c5(0x435)]){case _0x366ec0['HEARTBEAT']:case _0x366ec0[_0x3358c5(0xad)]:{const _0x1fa13e=_0x2fde37[_0x3358c5(0x34f)];return{..._0x2fde37,'data':_0x1fa13e,'cmd':_0x2fde37[_0x3358c5(0x435)]};}case _0x366ec0[_0x3358c5(0x431)]:{const _0x5c6aad=_0x2fde37[_0x3358c5(0x2bb)];return{..._0x2fde37,'data':_0x5c6aad,'cmd':_0x2fde37['cmd']};}case _0x366ec0[_0x3358c5(0x29a)]:{const _0x34f054=_0x2fde37[_0x3358c5(0x14e)];switch(_0x34f054[_0x3358c5(0x28c)]){case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x151)]:return{..._0x2fde37,'data':{..._0x34f054,'data':(_0x1996f8=_0x34f054['permissionRejEvent'])==null?void 0x0:_0x1996f8['cs']},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)]['CHANGESET_ACK']:return{..._0x2fde37,'data':{..._0x34f054,'data':(_0x32cb16=_0x34f054[_0x3358c5(0x10e)])==null?void 0x0:_0x32cb16['cs']},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x2c1)]:return{..._0x2fde37,'data':{..._0x34f054,'data':(_0x4e1b2c=_0x34f054[_0x3358c5(0x364)])==null?void 0x0:_0x4e1b2c['cs']},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x383)]:return{..._0x2fde37,'data':{..._0x34f054,'data':(_0x413c0a=_0x34f054[_0x3358c5(0x26c)])==null?void 0x0:_0x413c0a['cs']},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x119)]:return{..._0x2fde37,'data':{..._0x34f054,'data':(_0x5d68f7=_0x34f054[_0x3358c5(0x23d)])==null?void 0x0:_0x5d68f7['cs']},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x249)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x40e)]},'cmd':_0x2fde37['cmd']};case _0x4811d6['CollaborationEvent'][_0x3358c5(0x13d)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x3a9)]},'cmd':_0x2fde37['cmd']};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x42f)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x27a)]},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x329)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x132)]},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)]['LIVESHARE_FETCH_OPERATIONS']:case _0x4811d6['CollaborationEvent'][_0x3358c5(0x1ad)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054['liveShareOperation']},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x2f8)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x132)]},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x3f2)]:return{..._0x2fde37,'data':_0x34f054,'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x3b9)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x1ca)]},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x31c)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x211)]},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0xfb)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0xba)]},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x207)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x325)]},'cmd':_0x2fde37[_0x3358c5(0x435)]};default:return _0x2fde37;}}default:return _0x2fde37;}}function _0x111693(_0x29d84c){var _0x298d9d=_0x12ab33;switch(_0x29d84c[_0x298d9d(0x435)]){case _0x366ec0[_0x298d9d(0x34c)]:case _0x366ec0[_0x298d9d(0xad)]:return JSON[_0x298d9d(0x3b6)]({'cmd':_0x29d84c[_0x298d9d(0x435)],'routeKey':_0x29d84c[_0x298d9d(0x17c)]});case _0x366ec0[_0x298d9d(0x25c)]:{let _0x16a2c5;switch(_0x29d84c[_0x298d9d(0x166)][_0x298d9d(0x28c)]){case _0x4811d6['CollaborationEvent'][_0x298d9d(0x249)]:{_0x16a2c5={'eventID':_0x4811d6['CollaborationEvent'][_0x298d9d(0x249)],'updateCursorEvent':_0x29d84c[_0x298d9d(0x166)][_0x298d9d(0x166)]};break;}case _0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x42f)]:{_0x16a2c5={'eventID':_0x4811d6['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x29d84c[_0x298d9d(0x166)]['data']};break;}case _0x4811d6['CollaborationEvent'][_0x298d9d(0x13d)]:{_0x16a2c5={'eventID':_0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x13d)],'joinEvent':_0x29d84c['data'][_0x298d9d(0x166)]};break;}case _0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x329)]:{_0x16a2c5={'eventID':_0x4811d6[_0x298d9d(0x381)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x29d84c[_0x298d9d(0x166)]['data']};break;}case _0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x1ad)]:{_0x16a2c5={'eventID':_0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x1ad)],'liveShareOperation':_0x29d84c['data'][_0x298d9d(0x166)]};break;}case _0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x2f8)]:{_0x16a2c5={'eventID':_0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x2f8)],'liveShareTerminate':_0x29d84c[_0x298d9d(0x166)]['data']};break;}case _0x4811d6[_0x298d9d(0x381)]['LIVESHARE_REQUEST_HOST']:{_0x16a2c5={'eventID':_0x4811d6['CollaborationEvent'][_0x298d9d(0x409)],'liveShareRequestHost':_0x29d84c[_0x298d9d(0x166)][_0x298d9d(0x166)]};break;}case _0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x2d2)]:{_0x16a2c5={'eventID':_0x4811d6[_0x298d9d(0x381)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x16a2c5={'eventID':_0x29d84c[_0x298d9d(0x166)]['eventID']};}return JSON[_0x298d9d(0x3b6)]({'cmd':_0x29d84c['cmd'],'routeKey':_0x29d84c[_0x298d9d(0x17c)],'collaMsg':_0x16a2c5});}case _0x366ec0['JOIN']:return JSON['stringify']({'cmd':_0x29d84c[_0x298d9d(0x435)],'routeKey':_0x29d84c[_0x298d9d(0x17c)],'joinReq':_0x29d84c[_0x298d9d(0x166)]});case _0x366ec0[_0x298d9d(0x103)]:return JSON[_0x298d9d(0x3b6)]({'cmd':_0x29d84c[_0x298d9d(0x435)],'routeKey':_0x29d84c['routeKey'],'leaveReq':_0x29d84c[_0x298d9d(0x166)]});default:throw new Error(_0x298d9d(0x3cc));}}var _0x112f9d=Object[_0x12ab33(0x39e)],_0x40d664=(_0x26244d,_0x2499ef,_0x116cc6,_0x56c25f)=>{var _0x4773f1=_0x12ab33;for(var _0x298901=_0x56c25f>0x1?void 0x0:_0x56c25f?_0x112f9d(_0x2499ef,_0x116cc6):_0x2499ef,_0x410590=_0x26244d[_0x4773f1(0xe6)]-0x1,_0x483d2a;_0x410590>=0x0;_0x410590--)(_0x483d2a=_0x26244d[_0x410590])&&(_0x298901=_0x483d2a(_0x298901)||_0x298901);return _0x298901;},_0x4eb2a0=(_0x3dd0be,_0x24451c)=>(_0x131537,_0xae12c0)=>_0x24451c(_0x131537,_0xae12c0,_0x3dd0be);const _0x559ff3=_0x449ba5['createIdentifier']('univer-pro.collaboration-client-socket-service');function _0x2ef7a9(_0x49cde9,_0x351d94,_0x4acc03){var _0x5410d7=_0x12ab33;return _0x49cde9+'/'+_0x351d94+_0x5410d7(0x1a9)+_0x4acc03+'/new_changes';}_0x4bf482[_0x12ab33(0x295)]=class extends _0x449ba5['Disposable']{constructor(_0x28cab4,_0x108b92,_0xa4b36a,_0x4ea1fc,_0x30e64d){var _0x291d67=_0x12ab33;super(),this[_0x291d67(0x401)]=_0x28cab4,this[_0x291d67(0xe5)]=_0x108b92,this['_configService']=_0xa4b36a,this[_0x291d67(0x400)]=_0x4ea1fc,this[_0x291d67(0x2f1)]=_0x30e64d;}[_0x12ab33(0x37e)](_0x3f963d){var _0xc17fcd=_0x12ab33;const _0x331de1=this[_0xc17fcd(0x401)][_0xc17fcd(0x1fa)](_0xcd2fb4['ISocketService']);if(!_0x331de1)throw new Error(_0xc17fcd(0x129));const _0x449eed=_0x331de1['createSocket'](_0x3f963d);if(!_0x449eed)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x2ee634=new _0x449ba5[(_0xc17fcd(0x1c3))](),_0x2fe59f=new _0x550b9f['Subject']();_0x2ee634[_0xc17fcd(0x394)](_0x449eed[_0xc17fcd(0x2a4)]['subscribe'](_0x85bda1=>_0x2fe59f[_0xc17fcd(0xaf)](_0x85bda1))),_0x2ee634[_0xc17fcd(0x394)](_0x449ba5[_0xc17fcd(0x36c)](()=>_0x2fe59f[_0xc17fcd(0x240)]()));const _0x13e14d=new _0x550b9f['Subject']();_0x2ee634[_0xc17fcd(0x394)](_0x449eed[_0xc17fcd(0x2a2)][_0xc17fcd(0x368)](_0x13167a=>_0x13e14d[_0xc17fcd(0xaf)](_0x13167a))),_0x2ee634[_0xc17fcd(0x394)](_0x449ba5[_0xc17fcd(0x36c)](()=>_0x13e14d[_0xc17fcd(0x240)]()));const _0x56d8de=new _0x550b9f[(_0xc17fcd(0x10a))]();_0x2ee634[_0xc17fcd(0x394)](_0x449eed['message$'][_0xc17fcd(0x368)](_0x56f106=>{var _0x1996ff=_0xc17fcd;const _0x2c4801=_0x4820e4(_0x56f106);_0x56d8de[_0x1996ff(0xaf)](_0x2c4801);})),_0x2ee634[_0xc17fcd(0x394)](_0x449ba5[_0xc17fcd(0x36c)](()=>_0x56d8de[_0xc17fcd(0x240)]()));let _0x104afa;const _0x414d0e=()=>{var _0x2b7a9c=_0xc17fcd;_0x13e14d['next'](new Event('connection\x20error')),_0x2fe59f[_0x2b7a9c(0xaf)](new Event(_0x2b7a9c(0x2f6))),_0x104afa[_0x2b7a9c(0x1e5)]();};return _0x104afa={'memberID':'','close$':_0x2fe59f[_0xc17fcd(0xda)](),'error$':_0x13e14d[_0xc17fcd(0xda)](),'open$':_0x449eed['open$'],'message$':_0x56d8de[_0xc17fcd(0xda)](),'send':_0x5b6e2b=>{var _0x4adfa4=_0xc17fcd;if(_0x5b6e2b[_0x4adfa4(0x435)]===_0x366ec0[_0x4adfa4(0x25c)]){if(_0x5b6e2b['data']['eventID']===_0x4811d6[_0x4adfa4(0x381)][_0x4adfa4(0x308)]){this[_0x4adfa4(0x378)](_0x104afa,_0x5b6e2b['data'])[_0x4adfa4(0x150)](_0x393afa=>{var _0x1d9a5d=_0x4adfa4;this['_logService'][_0x1d9a5d(0x2f2)](_0x393afa),_0x414d0e();});return;}if(_0x5b6e2b['data'][_0x4adfa4(0x28c)]===_0x4811d6[_0x4adfa4(0x381)][_0x4adfa4(0x14b)]){const _0x4b22a0=_0x5b6e2b['data'];this['_fetchMissChangesets'](_0x4b22a0)[_0x4adfa4(0x315)](_0x3eb872=>{var _0x20bca4=_0x4adfa4;_0x56d8de[_0x20bca4(0xaf)]({'cmd':_0x366ec0[_0x20bca4(0x29a)],'code':_0x369dd2['OK'],'routeKey':_0x4b22a0[_0x20bca4(0x166)][_0x20bca4(0x183)],'routeType':'','data':{'eventID':_0x4811d6[_0x20bca4(0x381)][_0x20bca4(0x404)],'data':{'changesets':_0x3eb872}}});})[_0x4adfa4(0x150)](_0x1e525b=>{var _0xec71ea=_0x4adfa4;this[_0xec71ea(0x400)]['error'](_0x1e525b),_0x414d0e();});return;}}_0x449eed[_0x4adfa4(0x199)](_0x111693(_0x5b6e2b));},'close':()=>{var _0xa89970=_0xc17fcd;_0x449eed[_0xa89970(0x1e5)](),_0x2ee634[_0xa89970(0x35e)]();}},_0x104afa;}async[_0x12ab33(0x378)](_0x4adb77,_0x39cb6c){var _0x1a2cd0=_0x12ab33,_0x19c649;const {unitType:_0x57e99b,unitID:_0x4e5dd9,changeset:_0x364bc6}=_0x39cb6c[_0x1a2cd0(0x166)],_0xc8e39={'unitID':_0x4e5dd9,'memberID':_0x4adb77[_0x1a2cd0(0x110)],'type':_0x57e99b,'changeset':_0x4811d6[_0x1a2cd0(0x1b0)](_0x364bc6)},_0x1ed202=this[_0x1a2cd0(0x3af)][_0x1a2cd0(0x18d)](_0x433534),_0x474a71=_0x2ef7a9((_0x19c649=_0x1ed202==null?void 0x0:_0x1ed202['collabSubmitChangesetUrl'])!=null?_0x19c649:_0x32249d,_0x57e99b,_0x4e5dd9);try{await this[_0x1a2cd0(0xe5)][_0x1a2cd0(0x3a4)](_0x474a71,{'body':_0xc8e39});}catch(_0x463617){throw this[_0x1a2cd0(0x400)]['error'](_0x1a2cd0(0x15e),_0x1a2cd0(0x2ac)),_0x463617;}}async['_fetchMissChangesets'](_0x96fe13){var _0x87c66f=_0x12ab33;const {unitID:_0x8e786d,from:_0x391d70,to:_0x4fb942,unitType:_0x2d104d}=_0x96fe13[_0x87c66f(0x166)];return(await this['_snapshotServerService'][_0x87c66f(0x134)]({'metadata':void 0x0},{'unitID':_0x8e786d,'type':_0x2d104d,'from':_0x391d70,'to':_0x4fb942}))['changesets'][_0x87c66f(0xc9)](_0x201bc8=>((_0x201bc8[_0x87c66f(0x34d)]===null||_0x201bc8[_0x87c66f(0x34d)]===void 0x0)&&(_0x201bc8[_0x87c66f(0x34d)]=[]),_0x201bc8));}},_0x4bf482[_0x12ab33(0x295)]=_0x40d664([_0x4eb2a0(0x0,_0x449ba5['Inject'](_0x449ba5[_0x12ab33(0x298)])),_0x4eb2a0(0x1,_0x449ba5[_0x12ab33(0x116)](_0xcd2fb4[_0x12ab33(0xfe)])),_0x4eb2a0(0x2,_0x449ba5[_0x12ab33(0x388)]),_0x4eb2a0(0x3,_0x449ba5[_0x12ab33(0x37b)]),_0x4eb2a0(0x4,_0x4811d6['ISnapshotServerService'])],_0x4bf482['CollaborationSocketService']);var _0xb8927b=Object[_0x12ab33(0x39e)],_0x525724=(_0x23485d,_0x58f273,_0x33624f,_0x318f39)=>{var _0x2e268a=_0x12ab33;for(var _0x340c87=_0x318f39>0x1?void 0x0:_0x318f39?_0xb8927b(_0x58f273,_0x33624f):_0x58f273,_0xa8c089=_0x23485d[_0x2e268a(0xe6)]-0x1,_0x2fb4b9;_0xa8c089>=0x0;_0xa8c089--)(_0x2fb4b9=_0x23485d[_0xa8c089])&&(_0x340c87=_0x2fb4b9(_0x340c87)||_0x340c87);return _0x340c87;},_0x210fbb=(_0x590e64,_0x2f3f27)=>(_0x3b65ce,_0x1bed11)=>_0x2f3f27(_0x3b65ce,_0x1bed11,_0x590e64);_0x4bf482['CollaborationSessionService']=class extends _0x449ba5[_0x12ab33(0x106)]{constructor(_0x5d6e00,_0x1ebb0a,_0x568a27,_0x3567ed,_0x4ab2d6,_0x5ac664){var _0x8d23a0=_0x12ab33;super(),_0x389841(this,'_socket$',new _0x550b9f[(_0x8d23a0(0x1f8))](void 0x0)),_0x389841(this,_0x8d23a0(0xb4),this[_0x8d23a0(0x36a)][_0x8d23a0(0xda)]()),_0x389841(this,_0x8d23a0(0x3bf),null),_0x389841(this,_0x8d23a0(0x1bd),new Map()),_0x389841(this,_0x8d23a0(0x1cf),new _0x550b9f[(_0x8d23a0(0x1f8))](_0x439d16[_0x8d23a0(0x24e)])),_0x389841(this,'status$',this['_status$']['asObservable']()),_0x389841(this,'_socketReady',!0x1),_0x389841(this,'_retryConnectingTimer'),_0x389841(this,_0x8d23a0(0xbd),0x0),_0x389841(this,'_sendHeartbeatTimer'),_0x389841(this,_0x8d23a0(0x437)),(this[_0x8d23a0(0x401)]=_0x5d6e00,this[_0x8d23a0(0x400)]=_0x1ebb0a,this[_0x8d23a0(0x3af)]=_0x568a27,this[_0x8d23a0(0x12b)]=_0x3567ed,this['_collaborationUIEventService']=_0x4ab2d6,this[_0x8d23a0(0x416)]=_0x5ac664,this['_listenToNetworkCondition']());}get['_socket'](){var _0x11e016=_0x12ab33;return this['_socket$'][_0x11e016(0xe1)]();}[_0x12ab33(0x202)](){var _0x35b1fd=_0x12ab33;this[_0x35b1fd(0x416)]&&this[_0x35b1fd(0x21e)](this[_0x35b1fd(0x416)][_0x35b1fd(0x15a)][_0x35b1fd(0x368)](_0x59a161=>{var _0x1e955b=_0x35b1fd;_0x59a161&&!this[_0x1e955b(0x220)]&&this['reconnect'](),_0x59a161||this['_onOffline']();}));}['dispose'](){var _0x1be6a7=_0x12ab33;super['dispose'](),this[_0x1be6a7(0x361)](),this[_0x1be6a7(0xbc)](),this[_0x1be6a7(0x3e6)](),this[_0x1be6a7(0x1bd)][_0x1be6a7(0x17b)](_0x217f6e=>_0x217f6e['dispose']()),this[_0x1be6a7(0x1bd)][_0x1be6a7(0x204)](),this[_0x1be6a7(0x1cf)][_0x1be6a7(0x240)]();}async[_0x12ab33(0x29f)](_0x4998b5){var _0x8d6631=_0x12ab33;if(this[_0x8d6631(0x1bd)][_0x8d6631(0xd9)](_0x4998b5))return this['_sessions']['get'](_0x4998b5);this[_0x8d6631(0x234)]();const _0x1da031=this[_0x8d6631(0x401)]['createInstance'](_0x4bf482[_0x8d6631(0x3b7)],_0x4998b5,this['_socket$'][_0x8d6631(0xda)]());return this['_sessions'][_0x8d6631(0x25b)](_0x4998b5,_0x1da031),_0x1da031;}[_0x12ab33(0x17e)](_0xacbf08){var _0x2bdde5=_0x12ab33,_0x570323;const _0x2a7131=this[_0x2bdde5(0x1bd)]['get'](_0xacbf08);_0x2a7131&&(this[_0x2bdde5(0x1bd)]['delete'](_0xacbf08),_0x2a7131[_0x2bdde5(0x1e5)]()),this['_sessions'][_0x2bdde5(0x283)]||(_0x570323=this[_0x2bdde5(0x220)])==null||_0x570323[_0x2bdde5(0x1e5)]();}[_0x12ab33(0x146)](){var _0x2ac09a=_0x12ab33;this[_0x2ac09a(0xbd)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0x5cb3a4=_0x12ab33;this[_0x5cb3a4(0x40d)]!=null&&(clearTimeout(this[_0x5cb3a4(0x40d)]),this[_0x5cb3a4(0x40d)]=null);}async[_0x12ab33(0x263)](){var _0x543f14=_0x12ab33,_0x54783c;const _0x49e09e=this[_0x543f14(0x3af)][_0x543f14(0x18d)](_0x433534),_0x2f7d2f=(_0x54783c=_0x49e09e==null?void 0x0:_0x49e09e[_0x543f14(0x153)])!=null?_0x54783c:_0x19a15b,_0x5ec253=await this[_0x543f14(0x12b)][_0x543f14(0x268)](_0x2f7d2f);return this[_0x543f14(0x3bf)]=_0x5ec253,_0x5ec253;}async[_0x12ab33(0x234)](){var _0x1ad965=_0x12ab33,_0x207d30,_0x35c92d;try{const _0x37c3a2=(_0x35c92d=(_0x207d30=this[_0x1ad965(0x220)])!=null?_0x207d30:this['_candidateSocket'])!=null?_0x35c92d:await this[_0x1ad965(0x263)]();if(_0x37c3a2){const _0x26c08e=_0x37c3a2[_0x1ad965(0x199)];_0x37c3a2[_0x1ad965(0x199)]=_0x30d763=>(this[_0x1ad965(0xd8)](),_0x26c08e[_0x1ad965(0x2fa)](_0x37c3a2,[_0x30d763])),_0x37c3a2[_0x1ad965(0x38c)][_0x1ad965(0x368)](_0x222862=>this[_0x1ad965(0x193)](_0x37c3a2,_0x222862)),_0x37c3a2[_0x1ad965(0x2a2)][_0x1ad965(0x188)](_0x4a20aa[_0x1ad965(0x3c0)](0x1))[_0x1ad965(0x368)](_0x18d0a1=>this[_0x1ad965(0x400)][_0x1ad965(0x2f2)]('[CollaborationSessionService]:\x20socket\x20error',_0x18d0a1)),_0x37c3a2[_0x1ad965(0x432)][_0x1ad965(0x188)](_0x4a20aa['take'](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x37c3a2);}),_0x37c3a2[_0x1ad965(0x2a4)][_0x1ad965(0x188)](_0x4a20aa[_0x1ad965(0x3c0)](0x1))[_0x1ad965(0x368)](_0x429048=>{var _0x519cbd=_0x1ad965;this[_0x519cbd(0x400)][_0x519cbd(0x2ea)](_0x519cbd(0xc2),_0x519cbd(0x313),_0x429048),this[_0x519cbd(0x16c)]();});}}catch(_0x338a67){this[_0x1ad965(0x400)]['error'](_0x338a67),this['_onConnectionFailed']();}}[_0x12ab33(0x189)](_0x25dc81){var _0x3e079e=_0x12ab33;this[_0x3e079e(0x400)][_0x3e079e(0x2ea)]('[CollaborationSessionService]',_0x3e079e(0x345)),_0x25dc81[_0x3e079e(0x199)]({'cmd':_0x366ec0[_0x3e079e(0xad)]}),this[_0x3e079e(0xd8)]();}[_0x12ab33(0x161)](){var _0x1c77bf=_0x12ab33;this[_0x1c77bf(0x347)]=!0x1,this[_0x1c77bf(0x3bf)]=null,this['_status$'][_0x1c77bf(0xaf)](_0x439d16[_0x1c77bf(0x3d1)]),this['_socket$'][_0x1c77bf(0xaf)](null),this[_0x1c77bf(0xbc)](),this[_0x1c77bf(0x3e6)]();}['_onConnectionFailed'](){var _0x564003=_0x12ab33,_0x1d0c8a;this['_onOffline'](),this[_0x564003(0xbd)]<((_0x1d0c8a=this[_0x564003(0x3af)]['getConfig'](_0x8019cb))!=null?_0x1d0c8a:0x3)?(this[_0x564003(0x18e)]['emitEvent']({'id':_0x49a56d[_0x564003(0x33e)]}),this[_0x564003(0x42e)]()):this['_collaborationUIEventService'][_0x564003(0x3c1)]({'id':_0x49a56d[_0x564003(0x3a0)]});}['_tryReconnect'](){var _0x22bf2a=_0x12ab33,_0x50fe5d;const _0x3ac05c=this[_0x22bf2a(0xbd)],_0x1055b4=this[_0x22bf2a(0x3af)][_0x22bf2a(0x18d)](_0x433534),_0xf8a509=_0x3ac05c===0x0?0x0:((_0x50fe5d=_0x1055b4==null?void 0x0:_0x1055b4[_0x22bf2a(0x3a1)])!=null?_0x50fe5d:0x4e20)*0x2**_0x3ac05c;this['_retryConnectingTimer']=setTimeout(()=>{var _0x17b583=_0x22bf2a;clearTimeout(this[_0x17b583(0x40d)]),this[_0x17b583(0x40d)]=null,this['_tryEnsureSocket']();},_0xf8a509),this['_retryCount']+=0x1;}['_onMessage'](_0x386bb8,_0x34c4f8){var _0x4b3d98=_0x12ab33;const {cmd:_0x35c65d}=_0x34c4f8;_0x35c65d===_0x366ec0[_0x4b3d98(0xad)]&&!this['_socketReady']&&(_0x386bb8[_0x4b3d98(0x110)]=_0x34c4f8[_0x4b3d98(0x166)][_0x4b3d98(0x110)],this['_socket$'][_0x4b3d98(0xaf)](_0x386bb8),this[_0x4b3d98(0x1cf)][_0x4b3d98(0xaf)](_0x439d16[_0x4b3d98(0x20d)]),this[_0x4b3d98(0x347)]=!0x0,this[_0x4b3d98(0x3bf)]=null),_0x35c65d===_0x366ec0['HEARTBEAT']&&this[_0x4b3d98(0xbc)](),this[_0x4b3d98(0xd8)]();}['_rescheduleHeartbeat'](){var _0x80afe=_0x12ab33,_0x4eae54;this[_0x80afe(0x3e6)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x4eae54=this[_0x80afe(0x3af)][_0x80afe(0x18d)](_0x5f4e3a))!=null?_0x4eae54:0x7530);}[_0x12ab33(0x323)](){var _0x285b37=_0x12ab33;this['_socket']['send']({'cmd':_0x366ec0[_0x285b37(0x34c)]}),this[_0x285b37(0x11d)]();}[_0x12ab33(0x11d)](){var _0x572ae3=_0x12ab33,_0x12bbed;this[_0x572ae3(0x437)]=setTimeout(()=>this[_0x572ae3(0x16c)](),(_0x12bbed=this['_configService'][_0x572ae3(0x18d)](_0x5e9f32))!=null?_0x12bbed:0x4e20);}[_0x12ab33(0x3e6)](){var _0x34e06e=_0x12ab33;this[_0x34e06e(0x366)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x34e06e(0x366)]=null);}[_0x12ab33(0xbc)](){var _0x5a15e2=_0x12ab33;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x5a15e2(0x437)]),this[_0x5a15e2(0x437)]=null);}},_0x4bf482[_0x12ab33(0x1b8)]=_0x525724([_0x210fbb(0x0,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0x210fbb(0x1,_0x449ba5[_0x12ab33(0x37b)]),_0x210fbb(0x2,_0x449ba5[_0x12ab33(0x388)]),_0x210fbb(0x3,_0x559ff3),_0x210fbb(0x4,_0x449ba5[_0x12ab33(0x116)](_0x382c6e)),_0x210fbb(0x5,_0x449ba5[_0x12ab33(0xce)](_0x22ffa0))],_0x4bf482[_0x12ab33(0x1b8)]);var _0x1be8d0=Object['getOwnPropertyDescriptor'],_0x15fd40=(_0x130c15,_0x28984e,_0x4f9d0d,_0x8df31b)=>{var _0x152b0d=_0x12ab33;for(var _0x4e791d=_0x8df31b>0x1?void 0x0:_0x8df31b?_0x1be8d0(_0x28984e,_0x4f9d0d):_0x28984e,_0x290e14=_0x130c15[_0x152b0d(0xe6)]-0x1,_0x103019;_0x290e14>=0x0;_0x290e14--)(_0x103019=_0x130c15[_0x290e14])&&(_0x4e791d=_0x103019(_0x4e791d)||_0x4e791d);return _0x4e791d;},_0x3679b0=(_0x2143da,_0x46c054)=>(_0x415f1d,_0x48cce7)=>_0x46c054(_0x415f1d,_0x48cce7,_0x2143da);_0x4bf482['CollaborationController']=class extends _0x449ba5[_0x12ab33(0x1fc)]{constructor(_0x49de48,_0x2dfee8,_0x25c8d3,_0x585f5e){var _0x3a6903=_0x12ab33,_0x24d05c;super(),_0x389841(this,_0x3a6903(0x3ec),new Map()),_0x389841(this,_0x3a6903(0x3de),new _0x550b9f[(_0x3a6903(0x10a))]()),_0x389841(this,'entityInit$',this[_0x3a6903(0x3de)][_0x3a6903(0xda)]()),(this['_injector']=_0x49de48,this[_0x3a6903(0x140)]=_0x2dfee8,this['_configService']=_0x25c8d3,this['_univerInstanceService']=_0x585f5e,((_0x24d05c=this['_configService'][_0x3a6903(0x18d)](_0x433534))==null?void 0x0:_0x24d05c[_0x3a6903(0x2ad)])!==!0x1&&this[_0x3a6903(0x256)]());}[_0x12ab33(0x35e)](){var _0x3c1b1b=_0x12ab33;super[_0x3c1b1b(0x35e)](),this[_0x3c1b1b(0x3ec)]['forEach'](_0x411d1b=>_0x411d1b[_0x3c1b1b(0x35e)]()),this[_0x3c1b1b(0x3ec)]['clear']();}[_0x12ab33(0x159)](_0xc611f){var _0x39bb7f=_0x12ab33,_0x3cbb5a;return(_0x3cbb5a=this['_entities'][_0x39bb7f(0x1fa)](_0xc611f))!=null?_0x3cbb5a:null;}[_0x12ab33(0x354)](_0x29e22d){var _0x24c687=_0x12ab33;const _0xc25ec7=this[_0x24c687(0x159)](_0x29e22d);return _0xc25ec7?_0x550b9f['of'](_0xc25ec7):this[_0x24c687(0x3de)][_0x24c687(0x188)](_0x4a20aa['filter'](_0x470001=>_0x470001[_0x24c687(0x183)]===_0x29e22d));}['readyForCollab'](_0x131d77){var _0xac6eaa=_0x12ab33;return _0x550b9f[_0xac6eaa(0x206)](this['getCollabEntity$'](_0x131d77)[_0xac6eaa(0x188)](_0x4a20aa['map'](()=>{})));}[_0x12ab33(0x256)](){var _0x2f0140=_0x12ab33;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x449ba5['UniverInstanceType'][_0x2f0140(0x343)])[_0x2f0140(0x188)](_0x550b9f['takeUntil'](this[_0x2f0140(0x338)]),_0x4a20aa[_0x2f0140(0x15d)](0x10))[_0x2f0140(0x368)](async _0x17939a=>{var _0x3a0a54=_0x2f0140;const _0x29c148=_0x17939a[_0x3a0a54(0x26f)](),_0xdd1ac5=await this[_0x3a0a54(0x3ce)](_0x29c148,_0x5bae36['UNIVER_SHEET']);this['_entities'][_0x3a0a54(0x25b)](_0x29c148,_0xdd1ac5);}),this[_0x2f0140(0x436)][_0x2f0140(0x43e)](_0x449ba5[_0x2f0140(0x3c2)][_0x2f0140(0xef)])['pipe'](_0x550b9f['takeUntil'](this['dispose$']),_0x4a20aa[_0x2f0140(0x15d)](0x10))[_0x2f0140(0x188)](_0x4a20aa[_0x2f0140(0x16b)](_0x239149=>!_0x239149[_0x2f0140(0x26f)]()[_0x2f0140(0x331)]('__')))['subscribe'](async _0x36a08d=>{var _0x2fb5f2=_0x2f0140;const _0x115261=_0x36a08d[_0x2fb5f2(0x26f)](),_0x3c29e0=await this['_startCollaboration'](_0x115261,_0x5bae36[_0x2fb5f2(0xef)]);this['_entities'][_0x2fb5f2(0x25b)](_0x115261,_0x3c29e0);}),_0x550b9f['merge'](this[_0x2f0140(0x436)][_0x2f0140(0x167)](_0x449ba5['UniverInstanceType']['UNIVER_SHEET']),this[_0x2f0140(0x436)][_0x2f0140(0x167)](_0x449ba5[_0x2f0140(0x3c2)][_0x2f0140(0xef)]))[_0x2f0140(0x188)](_0x550b9f['takeUntil'](this[_0x2f0140(0x338)]))['subscribe'](_0x760e02=>{var _0xc7287b=_0x2f0140;const _0x342a7d=_0x760e02[_0xc7287b(0x26f)](),_0x45d14d=this['_entities'][_0xc7287b(0x1fa)](_0x342a7d);_0x45d14d&&(_0x45d14d[_0xc7287b(0x35e)](),this[_0xc7287b(0x3ec)][_0xc7287b(0x3ea)](_0x342a7d));});}async['_startCollaboration'](_0x22b2c8,_0x4e5de2){var _0x14fbd1=_0x12ab33;const _0x952937=await this['_collabSessionService'][_0x14fbd1(0x29f)](_0x22b2c8),_0x49ddd9=this[_0x14fbd1(0x401)][_0x14fbd1(0x34e)](this[_0x14fbd1(0x1de)](_0x4e5de2),_0x22b2c8,_0x4e5de2,_0x952937);return await _0x49ddd9[_0x14fbd1(0x33d)](),this[_0x14fbd1(0x3de)][_0x14fbd1(0xaf)](_0x49ddd9),_0x49ddd9;}[_0x12ab33(0x1de)](_0x3c8479){var _0x49c282=_0x12ab33;switch(_0x3c8479){case _0x5bae36[_0x49c282(0xef)]:return _0x4bf482[_0x49c282(0x226)];case _0x5bae36[_0x49c282(0x343)]:return _0x4bf482[_0x49c282(0x2ed)];default:throw new Error(_0x49c282(0x276)+_0x3c8479);}}},_0x4bf482[_0x12ab33(0x164)]=_0x15fd40([_0x3679b0(0x0,_0x449ba5['Inject'](_0x449ba5[_0x12ab33(0x298)])),_0x3679b0(0x1,_0x449ba5[_0x12ab33(0x116)](_0x4bf482['CollaborationSessionService'])),_0x3679b0(0x2,_0x449ba5[_0x12ab33(0x388)]),_0x3679b0(0x3,_0x449ba5['IUniverInstanceService'])],_0x4bf482['CollaborationController']);var _0x53c580=Object[_0x12ab33(0x39e)],_0x29a13b=(_0x32f8ad,_0x5cbf72,_0x120cc0,_0x50496e)=>{var _0x3f548e=_0x12ab33;for(var _0x5bdcc3=_0x50496e>0x1?void 0x0:_0x50496e?_0x53c580(_0x5cbf72,_0x120cc0):_0x5cbf72,_0xb6590e=_0x32f8ad[_0x3f548e(0xe6)]-0x1,_0x208590;_0xb6590e>=0x0;_0xb6590e--)(_0x208590=_0x32f8ad[_0xb6590e])&&(_0x5bdcc3=_0x208590(_0x5bdcc3)||_0x5bdcc3);return _0x5bdcc3;},_0x3c7f85=(_0x493644,_0x58ab6e)=>(_0x11ee13,_0x37f30b)=>_0x58ab6e(_0x11ee13,_0x37f30b,_0x493644);const _0x5d6435=_0x12ab33(0x23b),_0x2b409c=_0x12ab33(0x30f);let _0x3f6d3c=class extends _0x449ba5[_0x12ab33(0x106)]{constructor(_0x436de5,_0xb08dc9){var _0x56ca37=_0x12ab33;super(),this[_0x56ca37(0x436)]=_0x436de5,this[_0x56ca37(0x3af)]=_0xb08dc9,this[_0x56ca37(0x256)]();}[_0x12ab33(0x256)](){var _0x455fae=_0x12ab33;this[_0x455fae(0x21e)](this[_0x455fae(0x436)][_0x455fae(0x1c4)][_0x455fae(0x368)](()=>{var _0x34bc96=_0x455fae,_0x215e52;const _0x20d54c=this['_univerInstanceService'][_0x34bc96(0x19c)]();let _0x4451a4=(_0x215e52=this[_0x34bc96(0x3af)][_0x34bc96(0x18d)](_0x5d6435))!=null?_0x215e52:_0x2b409c;_0x20d54c instanceof _0x449ba5[_0x34bc96(0x31f)]&&(_0x4451a4=_0x20d54c[_0x34bc96(0x3bb)]),document[_0x34bc96(0x253)]=_0x4451a4;}));}};_0x3f6d3c=_0x29a13b([_0x3c7f85(0x0,_0x449ba5['IUniverInstanceService']),_0x3c7f85(0x1,_0x449ba5[_0x12ab33(0x388)])],_0x3f6d3c);var _0x121571=Object['getOwnPropertyDescriptor'],_0xe3acd4=(_0x195304,_0x4985b0,_0x7b8ff3,_0x13137)=>{var _0x5469cb=_0x12ab33;for(var _0x48c8b7=_0x13137>0x1?void 0x0:_0x13137?_0x121571(_0x4985b0,_0x7b8ff3):_0x4985b0,_0x4efe3b=_0x195304[_0x5469cb(0xe6)]-0x1,_0x252042;_0x4efe3b>=0x0;_0x4efe3b--)(_0x252042=_0x195304[_0x4efe3b])&&(_0x48c8b7=_0x252042(_0x48c8b7)||_0x48c8b7);return _0x48c8b7;},_0xf0b054=(_0x27b984,_0x5c74e2)=>(_0x216243,_0x393564)=>_0x5c74e2(_0x216243,_0x393564,_0x27b984);let _0x559bbf=class{constructor(_0x15a8bd,_0x2756de,_0x2732ae){var _0x457cfb=_0x12ab33;this['_configService']=_0x15a8bd,this[_0x457cfb(0xe5)]=_0x2756de,this[_0x457cfb(0x1ed)]=_0x2732ae,this[_0x457cfb(0x33d)]();}[_0x12ab33(0x33d)](){var _0x39773c=_0x12ab33;this['_httpService'][_0x39773c(0x2ce)]({'priority':0x1,'interceptor':(_0x5b82de,_0x2304e3)=>_0x2304e3(_0x5b82de)[_0x39773c(0x188)](_0x550b9f['concatMap'](async _0x41558d=>{var _0x54d466=_0x39773c;const _0x5c640e=_0x41558d;if(_0x5c640e[_0x54d466(0x242)]===0x191){if(typeof window>'u')throw new Error(_0x54d466(0x21f));if(window[_0x54d466(0x3a5)](this[_0x54d466(0x1ed)]['t'](_0x54d466(0x3a2)))){const _0x506f5f=window[_0x54d466(0x236)](window[_0x54d466(0x1cc)][_0x54d466(0x439)]);window[_0x54d466(0x1cc)][_0x54d466(0x439)]=this['_getLoginPath']()+_0x54d466(0x111)+_0x506f5f;}}return _0x5c640e;}))});}['_getLoginPath'](){var _0x766b34=_0x12ab33,_0x1578c3;const _0x228741=this[_0x766b34(0x3af)][_0x766b34(0x18d)](_0x433534);return(_0x1578c3=_0x228741==null?void 0x0:_0x228741['loginUrlKey'])!=null?_0x1578c3:_0x4def6e;}};_0x559bbf=_0xe3acd4([_0xf0b054(0x0,_0x449ba5[_0x12ab33(0x388)]),_0xf0b054(0x1,_0x449ba5[_0x12ab33(0x116)](_0xcd2fb4['HTTPService'])),_0xf0b054(0x2,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x30b)]))],_0x559bbf);var _0x4462bf=Object[_0x12ab33(0x39e)],_0x3640bf=(_0x4d5386,_0x3f7243,_0x295242,_0x48d8e9)=>{var _0x3a3b37=_0x12ab33;for(var _0x20627b=_0x48d8e9>0x1?void 0x0:_0x48d8e9?_0x4462bf(_0x3f7243,_0x295242):_0x3f7243,_0x29fde8=_0x4d5386[_0x3a3b37(0xe6)]-0x1,_0x172aa9;_0x29fde8>=0x0;_0x29fde8--)(_0x172aa9=_0x4d5386[_0x29fde8])&&(_0x20627b=_0x172aa9(_0x20627b)||_0x20627b);return _0x20627b;},_0x3d1c56=(_0x1656bc,_0x48db58)=>(_0x4b4cf7,_0x5b2f2b)=>_0x48db58(_0x4b4cf7,_0x5b2f2b,_0x1656bc);const _0x25da85='/universer-api/authz';_0x4bf482[_0x12ab33(0x395)]=class extends _0x449ba5['Disposable']{constructor(_0x55a5fb,_0x2f3acf){var _0x150d95=_0x12ab33;super(),this[_0x150d95(0x1b7)]=_0x55a5fb,this[_0x150d95(0x3af)]=_0x2f3acf,this[_0x150d95(0x399)]();}[_0x12ab33(0x399)](){var _0x21d8ed=_0x12ab33;const _0xf3070=this;this[_0x21d8ed(0x21e)](this[_0x21d8ed(0x1b7)][_0x21d8ed(0x2ce)]({'priority':0x3e7,'interceptor':_0xcd2fb4['MergeInterceptorFactory']({'isMatch'(_0x27d28c){var _0x2d2eeb=_0x21d8ed,_0x3a5450;if(_0x27d28c[_0x2d2eeb(0x1e9)]===_0x2d2eeb(0x377)&&((_0x3a5450=_0x27d28c[_0x2d2eeb(0x2c7)])!=null&&_0x3a5450[_0x2d2eeb(0x3f5)])){const {objectID:_0x5a0e32,objectType:_0x144633}=_0x27d28c[_0x2d2eeb(0x2c7)][_0x2d2eeb(0x3f5)]||{};if(!_0x5a0e32||_0x144633===void 0x0)return!0x1;const _0xa64179=_0xf3070[_0x2d2eeb(0x288)]()+'/'+_0x144633+_0x2d2eeb(0x2a8)+_0x5a0e32+_0x2d2eeb(0x28b);if(_0x27d28c['url']===_0xa64179)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3624e5){var _0x4ec7fd=_0x21d8ed,_0x48f35b;return(_0x48f35b=_0x3624e5[_0x4ec7fd(0x2c7)])==null?void 0x0:_0x48f35b[_0x4ec7fd(0x3f5)];},'mergeParamsToRequest'(_0x1dd0fa,_0x44bd2c){var _0x115844=_0x21d8ed;const _0x47cf0e=_0xf3070[_0x115844(0x288)]()+_0x115844(0x290),_0x233939=_0x1dd0fa['reduce']((_0x44fc88,_0x24adbe)=>{const {unitID:_0x5412a4,objectID:_0x349ec7,objectType:_0x353e15,actions:_0x130fd0}=_0x24adbe;return _0x44fc88[_0x5412a4]||(_0x44fc88[_0x5412a4]={}),_0x44fc88[_0x5412a4][_0x349ec7]||(_0x44fc88[_0x5412a4][_0x349ec7]={'objectID':_0x349ec7,'objectType':_0x353e15,'actions':[]}),_0x44fc88[_0x5412a4][_0x349ec7]['actions']['push'](..._0x130fd0),_0x44fc88;},{}),_0x2c484a=[];for(const _0x2d620c in _0x233939)for(const _0x168cdc in _0x233939[_0x2d620c]){const {actions:_0xd8b59,objectType:_0x31b0b0}=_0x233939[_0x2d620c][_0x168cdc],_0x3f1e24=[...new Set(_0xd8b59)];_0x2c484a['push']({'unitID':_0x2d620c,'objectID':_0x168cdc,'objectType':_0x31b0b0,'actions':_0x3f1e24});}return new _0xcd2fb4[(_0x115844(0x2c4))]('POST',_0x47cf0e,{'headers':_0x44bd2c[_0x115844(0x275)],'withCredentials':_0x44bd2c['withCredentials'],'responseType':_0x44bd2c['responseType'],'body':{'requests':_0x2c484a}});}},{'distributeResult'(_0x27876e,_0x167526){const {objectActions:_0xb33983}=_0x27876e;return _0x167526['map'](_0x16f5da=>{var _0xecf153=_0x4f3d;const {unitID:_0x4a3f73,objectID:_0x1324a3,actions:_0x14a655}=_0x16f5da,_0x55cd45=_0xb33983['find'](_0x748423=>_0x748423[_0xecf153(0x183)]===_0x4a3f73&&_0x748423[_0xecf153(0xca)]===_0x1324a3),_0x55df3b=_0x14a655[_0xecf153(0xc9)](_0x132984=>_0x55cd45==null?void 0x0:_0x55cd45[_0xecf153(0x1fe)][_0xecf153(0x22a)](_0x433880=>_0x433880['action']===_0x132984))[_0xecf153(0x16b)](_0xdfcffc=>!!_0xdfcffc);return{'config':_0x16f5da,'result':{'actions':_0x55df3b,'error':_0x27876e['error']}};});}})}));}[_0x12ab33(0x288)](){var _0x1aae2a=_0x12ab33,_0x300f3e;const _0x1b2c3d=this[_0x1aae2a(0x3af)][_0x1aae2a(0x18d)](_0x433534);return(_0x300f3e=_0x1b2c3d==null?void 0x0:_0x1b2c3d[_0x1aae2a(0x213)])!=null?_0x300f3e:_0x25da85;}async[_0x12ab33(0x142)](_0x17335f){var _0x3cfda3=_0x12ab33;const _0x3c1174=this['_getAPIPrefixPath']()+'/'+_0x17335f[_0x3cfda3(0x322)]+_0x3cfda3(0x13c);return(await this[_0x3cfda3(0x1b7)][_0x3cfda3(0x3a4)](_0x3c1174,{'body':_0x17335f}))[_0x3cfda3(0x3f5)][_0x3cfda3(0xca)]||'';}async['list'](_0x13a033){var _0x462df5=_0x12ab33;const _0x4fa421=this[_0x462df5(0x288)]()+_0x462df5(0x2f5);return(await this[_0x462df5(0x1b7)][_0x462df5(0x3a4)](_0x4fa421,{'body':_0x13a033}))['body']['objects'];}async[_0x12ab33(0x11b)](_0x302ed8){var _0x5a790b=_0x12ab33,_0x32edc5,_0x3f2021;const _0x40e263=this[_0x5a790b(0x288)]()+'/'+_0x302ed8[_0x5a790b(0x322)]+'/object/'+_0x302ed8[_0x5a790b(0xca)],_0x3f49d4=await this[_0x5a790b(0x1b7)][_0x5a790b(0x3be)](_0x40e263,{'body':_0x302ed8});if(((_0x3f2021=(_0x32edc5=_0x3f49d4==null?void 0x0:_0x3f49d4[_0x5a790b(0x3f5)])==null?void 0x0:_0x32edc5[_0x5a790b(0x2f2)])==null?void 0x0:_0x3f2021['code'])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x12ab33(0xe7)](_0x3d54a5){var _0xfa66e0=_0x12ab33;const _0x30adde=this[_0xfa66e0(0x288)]()+'/'+_0x3d54a5['objectType']+'/object/'+_0x3d54a5[_0xfa66e0(0xca)]+_0xfa66e0(0x28b);return(await this[_0xfa66e0(0x1b7)][_0xfa66e0(0x3a4)](_0x30adde,{'body':_0x3d54a5}))['body'][_0xfa66e0(0x1fe)];}async[_0x12ab33(0x250)](_0x3b0f53){var _0x420bb5=_0x12ab33;const _0x47be65=this['_getAPIPrefixPath']()+_0x420bb5(0x290);return(await this[_0x420bb5(0x1b7)][_0x420bb5(0x3a4)](_0x47be65,{'body':{'requests':_0x3b0f53}}))['body'][_0x420bb5(0x1c8)];}async[_0x12ab33(0x10c)](_0x24dcaf){var _0x6a2af1=_0x12ab33;const _0x2410b7=this['_getAPIPrefixPath']()+'/'+_0x24dcaf[_0x6a2af1(0x322)]+_0x6a2af1(0x248),_0x1c7d8e=await this[_0x6a2af1(0x1b7)][_0x6a2af1(0x3a4)](_0x2410b7,{'body':_0x24dcaf});return{'roles':_0x1c7d8e[_0x6a2af1(0x3f5)][_0x6a2af1(0x272)],'actions':_0x1c7d8e[_0x6a2af1(0x3f5)]['actions']};}async[_0x12ab33(0x185)](_0x13ef89){var _0x274e66=_0x12ab33;const _0xcfacb2=this[_0x274e66(0x288)]()+_0x274e66(0xe0);await this[_0x274e66(0x1b7)][_0x274e66(0x3ea)](_0xcfacb2,{'params':{'collaboratorID':_0x13ef89['collaboratorID'],'objectID':_0x13ef89[_0x274e66(0xca)],'unitID':_0x13ef89[_0x274e66(0x183)]}});}async['updateCollaborator'](_0x5ab365){var _0x44b825=_0x12ab33;const _0x27bcd5=this[_0x44b825(0x288)]()+_0x44b825(0xe0);await this['_HTTPService'][_0x44b825(0x3ab)](_0x27bcd5,{'body':_0x5ab365});}async[_0x12ab33(0x128)](_0x164830){var _0x2c7ce9=_0x12ab33;const _0x2d1483=this['_getAPIPrefixPath']()+_0x2c7ce9(0xe0);await this[_0x2c7ce9(0x1b7)][_0x2c7ce9(0x3a4)](_0x2d1483,{'body':_0x164830});}async[_0x12ab33(0x1aa)](_0x57c16b){var _0x570b39=_0x12ab33;const _0x3f291c=this[_0x570b39(0x288)]()+'/collaborator';return(await this[_0x570b39(0x1b7)][_0x570b39(0x1fa)](_0x3f291c,{'params':{'objectID':_0x57c16b[_0x570b39(0xca)],'unitID':_0x57c16b[_0x570b39(0x183)]}}))[_0x570b39(0x3f5)]['collaborators'];}async['putCollaborators'](_0x34bbf6){var _0x4c37be=_0x12ab33;const _0x21f375=this[_0x4c37be(0x288)]()+'/collaborator';await this[_0x4c37be(0x1b7)][_0x4c37be(0x3be)](_0x21f375,{'body':_0x34bbf6});}},_0x4bf482['AuthzIoHttpService']=_0x3640bf([_0x3d1c56(0x0,_0x449ba5['Inject'](_0xcd2fb4['HTTPService'])),_0x3d1c56(0x1,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x388)]))],_0x4bf482[_0x12ab33(0x395)]);var _0x5ec76b=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x1f767d(_0x12e567){var _0x50de23=_0x12ab33;return _0x12e567&&_0x12e567['__esModule']&&Object[_0x50de23(0x293)][_0x50de23(0x3fc)]['call'](_0x12e567,'default')?_0x12e567['default']:_0x12e567;}var _0x5c5b2b={'exports':{}};function _0x150697(_0x4ae699){var _0x4d10e4=_0x12ab33;throw new Error(_0x4d10e4(0x36b)+_0x4ae699+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0xc3b4d6={'exports':{}},_0x4e1a23=_0xc3b4d6[_0x12ab33(0x257)],_0xf9e6c5;function _0x2b16a(){var _0x55d11a=_0x12ab33;return _0xf9e6c5||(_0xf9e6c5=0x1,function(_0x4a3232,_0x5df2ef){(function(_0x4650b5,_0x156fec){var _0x31e494=_0x4f3d;_0x4a3232[_0x31e494(0x257)]=_0x156fec();}(_0x4e1a23,function(){var _0x5c1ef3=_0x5c1ef3||function(_0xdc8cfd,_0x5db7b3){var _0x2bcc37=_0x4f3d,_0x523f62;if(typeof window<'u'&&window['crypto']&&(_0x523f62=window[_0x2bcc37(0x438)]),typeof self<'u'&&self[_0x2bcc37(0x438)]&&(_0x523f62=self[_0x2bcc37(0x438)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x523f62=globalThis[_0x2bcc37(0x438)]),!_0x523f62&&typeof window<'u'&&window[_0x2bcc37(0x41a)]&&(_0x523f62=window[_0x2bcc37(0x41a)]),!_0x523f62&&typeof _0x5ec76b<'u'&&_0x5ec76b[_0x2bcc37(0x438)]&&(_0x523f62=_0x5ec76b[_0x2bcc37(0x438)]),!_0x523f62&&typeof _0x150697==_0x2bcc37(0x311))try{_0x523f62=require('crypto');}catch{}var _0xb39a3a=function(){var _0x23be90=_0x2bcc37;if(_0x523f62){if(typeof _0x523f62[_0x23be90(0x32f)]==_0x23be90(0x311))try{return _0x523f62['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x523f62[_0x23be90(0x39d)]==_0x23be90(0x311))try{return _0x523f62[_0x23be90(0x39d)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x23be90(0x10f));},_0x2492f3=Object[_0x2bcc37(0x142)]||(function(){function _0x31bee9(){}return function(_0x542e1d){var _0x3a135e=_0x4f3d,_0x380bc0;return _0x31bee9['prototype']=_0x542e1d,_0x380bc0=new _0x31bee9(),_0x31bee9[_0x3a135e(0x293)]=null,_0x380bc0;};}()),_0xabdfa={},_0xc15a1c=_0xabdfa[_0x2bcc37(0x15b)]={},_0x163efc=_0xc15a1c['Base']=(function(){return{'extend':function(_0x2ca3fa){var _0x1c192e=_0x4f3d,_0x3133db=_0x2492f3(this);return _0x2ca3fa&&_0x3133db[_0x1c192e(0x36e)](_0x2ca3fa),(!_0x3133db[_0x1c192e(0x3fc)]('init')||this[_0x1c192e(0x33d)]===_0x3133db[_0x1c192e(0x33d)])&&(_0x3133db[_0x1c192e(0x33d)]=function(){var _0x2dceea=_0x1c192e;_0x3133db['$super'][_0x2dceea(0x33d)][_0x2dceea(0x2fa)](this,arguments);}),_0x3133db[_0x1c192e(0x33d)][_0x1c192e(0x293)]=_0x3133db,_0x3133db[_0x1c192e(0xbe)]=this,_0x3133db;},'create':function(){var _0xfccecc=_0x4f3d,_0x35736c=this[_0xfccecc(0x2b4)]();return _0x35736c[_0xfccecc(0x33d)]['apply'](_0x35736c,arguments),_0x35736c;},'init':function(){},'mixIn':function(_0x243abc){var _0x21387b=_0x4f3d;for(var _0x193e8e in _0x243abc)_0x243abc[_0x21387b(0x3fc)](_0x193e8e)&&(this[_0x193e8e]=_0x243abc[_0x193e8e]);_0x243abc[_0x21387b(0x3fc)]('toString')&&(this[_0x21387b(0x1f5)]=_0x243abc[_0x21387b(0x1f5)]);},'clone':function(){var _0x5e0d2e=_0x4f3d;return this[_0x5e0d2e(0x33d)][_0x5e0d2e(0x293)][_0x5e0d2e(0x2b4)](this);}};}()),_0xf1b283=_0xc15a1c[_0x2bcc37(0xdb)]=_0x163efc['extend']({'init':function(_0x12cc53,_0x3d7bd2){var _0x2c2433=_0x2bcc37;_0x12cc53=this[_0x2c2433(0xb9)]=_0x12cc53||[],_0x3d7bd2!=_0x5db7b3?this[_0x2c2433(0x2e2)]=_0x3d7bd2:this[_0x2c2433(0x2e2)]=_0x12cc53[_0x2c2433(0xe6)]*0x4;},'toString':function(_0x4619d4){var _0x5abd7b=_0x2bcc37;return(_0x4619d4||_0x1eb55d)[_0x5abd7b(0x3b6)](this);},'concat':function(_0xeec17b){var _0x2363dd=_0x2bcc37,_0xce9a96=this[_0x2363dd(0xb9)],_0x476c9a=_0xeec17b['words'],_0x22b44a=this['sigBytes'],_0x5b870f=_0xeec17b[_0x2363dd(0x2e2)];if(this[_0x2363dd(0x1d3)](),_0x22b44a%0x4)for(var _0x266692=0x0;_0x266692<_0x5b870f;_0x266692++){var _0x3d0816=_0x476c9a[_0x266692>>>0x2]>>>0x18-_0x266692%0x4*0x8&0xff;_0xce9a96[_0x22b44a+_0x266692>>>0x2]|=_0x3d0816<<0x18-(_0x22b44a+_0x266692)%0x4*0x8;}else{for(var _0x554435=0x0;_0x554435<_0x5b870f;_0x554435+=0x4)_0xce9a96[_0x22b44a+_0x554435>>>0x2]=_0x476c9a[_0x554435>>>0x2];}return this['sigBytes']+=_0x5b870f,this;},'clamp':function(){var _0x7c00e0=_0x2bcc37,_0x564530=this[_0x7c00e0(0xb9)],_0x235a96=this[_0x7c00e0(0x2e2)];_0x564530[_0x235a96>>>0x2]&=0xffffffff<<0x20-_0x235a96%0x4*0x8,_0x564530[_0x7c00e0(0xe6)]=_0xdc8cfd[_0x7c00e0(0x2d1)](_0x235a96/0x4);},'clone':function(){var _0xdb63c=_0x2bcc37,_0x2dd62e=_0x163efc['clone'][_0xdb63c(0x1a5)](this);return _0x2dd62e[_0xdb63c(0xb9)]=this[_0xdb63c(0xb9)][_0xdb63c(0x23e)](0x0),_0x2dd62e;},'random':function(_0x2c334a){var _0x40d4f4=_0x2bcc37;for(var _0x2cd703=[],_0x4c5900=0x0;_0x4c5900<_0x2c334a;_0x4c5900+=0x4)_0x2cd703[_0x40d4f4(0x125)](_0xb39a3a());return new _0xf1b283[(_0x40d4f4(0x33d))](_0x2cd703,_0x2c334a);}}),_0x119f9c=_0xabdfa[_0x2bcc37(0x3bc)]={},_0x1eb55d=_0x119f9c[_0x2bcc37(0x148)]={'stringify':function(_0x2ad912){var _0x1e2f56=_0x2bcc37;for(var _0x44e4ea=_0x2ad912[_0x1e2f56(0xb9)],_0x48f378=_0x2ad912[_0x1e2f56(0x2e2)],_0x5556c5=[],_0x3dac97=0x0;_0x3dac97<_0x48f378;_0x3dac97++){var _0x1ee922=_0x44e4ea[_0x3dac97>>>0x2]>>>0x18-_0x3dac97%0x4*0x8&0xff;_0x5556c5[_0x1e2f56(0x125)]((_0x1ee922>>>0x4)[_0x1e2f56(0x1f5)](0x10)),_0x5556c5['push']((_0x1ee922&0xf)[_0x1e2f56(0x1f5)](0x10));}return _0x5556c5[_0x1e2f56(0x429)]('');},'parse':function(_0x205258){var _0x1d940f=_0x2bcc37;for(var _0xd05d02=_0x205258[_0x1d940f(0xe6)],_0x117c46=[],_0x49f429=0x0;_0x49f429<_0xd05d02;_0x49f429+=0x2)_0x117c46[_0x49f429>>>0x3]|=parseInt(_0x205258['substr'](_0x49f429,0x2),0x10)<<0x18-_0x49f429%0x8*0x4;return new _0xf1b283[(_0x1d940f(0x33d))](_0x117c46,_0xd05d02/0x2);}},_0x34e93b=_0x119f9c['Latin1']={'stringify':function(_0x4f9a2e){var _0x3b977c=_0x2bcc37;for(var _0x39cc9d=_0x4f9a2e['words'],_0x3d8474=_0x4f9a2e[_0x3b977c(0x2e2)],_0x2c1dd4=[],_0x9f6752=0x0;_0x9f6752<_0x3d8474;_0x9f6752++){var _0x49854f=_0x39cc9d[_0x9f6752>>>0x2]>>>0x18-_0x9f6752%0x4*0x8&0xff;_0x2c1dd4[_0x3b977c(0x125)](String[_0x3b977c(0x379)](_0x49854f));}return _0x2c1dd4[_0x3b977c(0x429)]('');},'parse':function(_0x318f7d){var _0x35044f=_0x2bcc37;for(var _0x5b443b=_0x318f7d['length'],_0x4001b7=[],_0x48d006=0x0;_0x48d006<_0x5b443b;_0x48d006++)_0x4001b7[_0x48d006>>>0x2]|=(_0x318f7d[_0x35044f(0xf8)](_0x48d006)&0xff)<<0x18-_0x48d006%0x4*0x8;return new _0xf1b283[(_0x35044f(0x33d))](_0x4001b7,_0x5b443b);}},_0x25135d=_0x119f9c[_0x2bcc37(0x292)]={'stringify':function(_0x16c327){var _0x4a5b93=_0x2bcc37;try{return decodeURIComponent(escape(_0x34e93b[_0x4a5b93(0x3b6)](_0x16c327)));}catch{throw new Error(_0x4a5b93(0x32b));}},'parse':function(_0x442e31){var _0x5b893a=_0x2bcc37;return _0x34e93b[_0x5b893a(0x190)](unescape(encodeURIComponent(_0x442e31)));}},_0x16f6f3=_0xc15a1c['BufferedBlockAlgorithm']=_0x163efc[_0x2bcc37(0x2b4)]({'reset':function(){var _0x3fdcf4=_0x2bcc37;this[_0x3fdcf4(0x3cf)]=new _0xf1b283[(_0x3fdcf4(0x33d))](),this[_0x3fdcf4(0x3b0)]=0x0;},'_append':function(_0x4ab520){var _0x1109c8=_0x2bcc37;typeof _0x4ab520==_0x1109c8(0x2eb)&&(_0x4ab520=_0x25135d['parse'](_0x4ab520)),this[_0x1109c8(0x3cf)][_0x1109c8(0x214)](_0x4ab520),this[_0x1109c8(0x3b0)]+=_0x4ab520['sigBytes'];},'_process':function(_0x4f26ea){var _0x3df3ff=_0x2bcc37,_0x16d1e7,_0x10c478=this[_0x3df3ff(0x3cf)],_0x158af8=_0x10c478[_0x3df3ff(0xb9)],_0x259254=_0x10c478[_0x3df3ff(0x2e2)],_0x135f40=this[_0x3df3ff(0x389)],_0x34fe7a=_0x135f40*0x4,_0x11e4d1=_0x259254/_0x34fe7a;_0x4f26ea?_0x11e4d1=_0xdc8cfd['ceil'](_0x11e4d1):_0x11e4d1=_0xdc8cfd[_0x3df3ff(0x156)]((_0x11e4d1|0x0)-this['_minBufferSize'],0x0);var _0x5e7785=_0x11e4d1*_0x135f40,_0x1aaf47=_0xdc8cfd['min'](_0x5e7785*0x4,_0x259254);if(_0x5e7785){for(var _0x58cf7d=0x0;_0x58cf7d<_0x5e7785;_0x58cf7d+=_0x135f40)this[_0x3df3ff(0x281)](_0x158af8,_0x58cf7d);_0x16d1e7=_0x158af8[_0x3df3ff(0x3f1)](0x0,_0x5e7785),_0x10c478[_0x3df3ff(0x2e2)]-=_0x1aaf47;}return new _0xf1b283['init'](_0x16d1e7,_0x1aaf47);},'clone':function(){var _0xa6e1ff=_0x2bcc37,_0x5ec02a=_0x163efc[_0xa6e1ff(0x3b8)]['call'](this);return _0x5ec02a[_0xa6e1ff(0x3cf)]=this[_0xa6e1ff(0x3cf)][_0xa6e1ff(0x3b8)](),_0x5ec02a;},'_minBufferSize':0x0});_0xc15a1c[_0x2bcc37(0x13b)]=_0x16f6f3[_0x2bcc37(0x2b4)]({'cfg':_0x163efc[_0x2bcc37(0x2b4)](),'init':function(_0x425c4f){var _0x4f32b0=_0x2bcc37;this['cfg']=this[_0x4f32b0(0x1d5)]['extend'](_0x425c4f),this[_0x4f32b0(0x391)]();},'reset':function(){var _0x4f5495=_0x2bcc37;_0x16f6f3[_0x4f5495(0x391)][_0x4f5495(0x1a5)](this),this[_0x4f5495(0x1ac)]();},'update':function(_0x546f17){var _0x36f7f1=_0x2bcc37;return this[_0x36f7f1(0x2d5)](_0x546f17),this[_0x36f7f1(0x229)](),this;},'finalize':function(_0x3a7bd0){var _0x363d17=_0x2bcc37;_0x3a7bd0&&this[_0x363d17(0x2d5)](_0x3a7bd0);var _0x2428c4=this[_0x363d17(0x419)]();return _0x2428c4;},'blockSize':0x10,'_createHelper':function(_0x360caa){return function(_0x2d97f5,_0x36eaf3){var _0x3b7263=_0x4f3d;return new _0x360caa[(_0x3b7263(0x33d))](_0x36eaf3)[_0x3b7263(0x39b)](_0x2d97f5);};},'_createHmacHelper':function(_0x423485){return function(_0x2b099b,_0x4ed545){var _0x2c9c83=_0x4f3d;return new _0x217c0f[(_0x2c9c83(0xc8))][(_0x2c9c83(0x33d))](_0x423485,_0x4ed545)['finalize'](_0x2b099b);};}});var _0x217c0f=_0xabdfa['algo']={};return _0xabdfa;}(Math);return _0x5c1ef3;}));}(_0xc3b4d6)),_0xc3b4d6[_0x55d11a(0x257)];}var _0x3f4223={'exports':{}},_0x383386=_0x3f4223[_0x12ab33(0x257)],_0x593cb1;function _0x1b0b49(){var _0x54603d=_0x12ab33;return _0x593cb1||(_0x593cb1=0x1,function(_0x311c25,_0x2c8f7a){(function(_0x4421c8,_0x4f683c){var _0x353095=_0x4f3d;_0x311c25[_0x353095(0x257)]=_0x4f683c(_0x2b16a());}(_0x383386,function(_0x1f59ff){var _0x2a217d=_0x4f3d;return(function(){var _0x42d4b6=_0x4f3d,_0x4b29cb=_0x1f59ff,_0x2a94be=_0x4b29cb['lib'],_0x56d0a5=_0x2a94be['WordArray'],_0x3806d0=_0x4b29cb[_0x42d4b6(0x3bc)];_0x3806d0[_0x42d4b6(0x43a)]={'stringify':function(_0x30b875){var _0x376ae9=_0x42d4b6,_0x383324=_0x30b875[_0x376ae9(0xb9)],_0x184745=_0x30b875[_0x376ae9(0x2e2)],_0x578d57=this['_map'];_0x30b875['clamp']();for(var _0x2a5018=[],_0x42803b=0x0;_0x42803b<_0x184745;_0x42803b+=0x3)for(var _0x202731=_0x383324[_0x42803b>>>0x2]>>>0x18-_0x42803b%0x4*0x8&0xff,_0x5ec29d=_0x383324[_0x42803b+0x1>>>0x2]>>>0x18-(_0x42803b+0x1)%0x4*0x8&0xff,_0x2bcd7b=_0x383324[_0x42803b+0x2>>>0x2]>>>0x18-(_0x42803b+0x2)%0x4*0x8&0xff,_0x1b921c=_0x202731<<0x10|_0x5ec29d<<0x8|_0x2bcd7b,_0x28f6aa=0x0;_0x28f6aa<0x4&&_0x42803b+_0x28f6aa*0.75<_0x184745;_0x28f6aa++)_0x2a5018['push'](_0x578d57[_0x376ae9(0x2a7)](_0x1b921c>>>0x6*(0x3-_0x28f6aa)&0x3f));var _0x213fe1=_0x578d57[_0x376ae9(0x2a7)](0x40);if(_0x213fe1){for(;_0x2a5018[_0x376ae9(0xe6)]%0x4;)_0x2a5018[_0x376ae9(0x125)](_0x213fe1);}return _0x2a5018[_0x376ae9(0x429)]('');},'parse':function(_0x2aeeaf){var _0x5aa4b0=_0x42d4b6,_0x3842ef=_0x2aeeaf[_0x5aa4b0(0xe6)],_0x1f1f87=this[_0x5aa4b0(0x145)],_0x32fd99=this['_reverseMap'];if(!_0x32fd99){_0x32fd99=this[_0x5aa4b0(0x365)]=[];for(var _0x326600=0x0;_0x326600<_0x1f1f87[_0x5aa4b0(0xe6)];_0x326600++)_0x32fd99[_0x1f1f87[_0x5aa4b0(0xf8)](_0x326600)]=_0x326600;}var _0x9591ef=_0x1f1f87['charAt'](0x40);if(_0x9591ef){var _0x3e0d39=_0x2aeeaf[_0x5aa4b0(0x31b)](_0x9591ef);_0x3e0d39!==-0x1&&(_0x3842ef=_0x3e0d39);}return _0x46aa60(_0x2aeeaf,_0x3842ef,_0x32fd99);},'_map':_0x42d4b6(0x1ab)};function _0x46aa60(_0x2b4bed,_0x214392,_0x4fd388){var _0x5f1fa5=_0x42d4b6;for(var _0x49f658=[],_0x2608eb=0x0,_0xf470f3=0x0;_0xf470f3<_0x214392;_0xf470f3++)if(_0xf470f3%0x4){var _0x33d856=_0x4fd388[_0x2b4bed[_0x5f1fa5(0xf8)](_0xf470f3-0x1)]<<_0xf470f3%0x4*0x2,_0x2f87eb=_0x4fd388[_0x2b4bed[_0x5f1fa5(0xf8)](_0xf470f3)]>>>0x6-_0xf470f3%0x4*0x2,_0xf56982=_0x33d856|_0x2f87eb;_0x49f658[_0x2608eb>>>0x2]|=_0xf56982<<0x18-_0x2608eb%0x4*0x8,_0x2608eb++;}return _0x56d0a5['create'](_0x49f658,_0x2608eb);}}()),_0x1f59ff[_0x2a217d(0x3bc)][_0x2a217d(0x43a)];}));}(_0x3f4223)),_0x3f4223[_0x54603d(0x257)];}var _0x2648b9={'exports':{}},_0x5855cc=_0x2648b9['exports'],_0x5a3d53;function _0x51af11(){var _0x5eadb7=_0x12ab33;return _0x5a3d53||(_0x5a3d53=0x1,function(_0x46bf8d,_0x8d1355){(function(_0x1d17a0,_0x538cf3){var _0x474cb7=_0x4f3d;_0x46bf8d[_0x474cb7(0x257)]=_0x538cf3(_0x2b16a());}(_0x5855cc,function(_0x4a6454){var _0x293dc1=_0x4f3d;return function(_0xd8cc4c){var _0x3be6db=_0x4f3d,_0x3df712=_0x4a6454,_0x3e15a5=_0x3df712[_0x3be6db(0x15b)],_0x2468cf=_0x3e15a5[_0x3be6db(0xdb)],_0x14f1dd=_0x3e15a5['Hasher'],_0x2731d2=_0x3df712['algo'],_0x40eadb=[];(function(){var _0x431287=_0x3be6db;for(var _0x51235f=0x0;_0x51235f<0x40;_0x51235f++)_0x40eadb[_0x51235f]=_0xd8cc4c[_0x431287(0xc0)](_0xd8cc4c[_0x431287(0x2f0)](_0x51235f+0x1))*0x100000000|0x0;}());var _0x322083=_0x2731d2[_0x3be6db(0x310)]=_0x14f1dd[_0x3be6db(0x2b4)]({'_doReset':function(){var _0x117cf1=_0x3be6db;this['_hash']=new _0x2468cf[(_0x117cf1(0x33d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x8c2100,_0x4520b8){var _0x47ee3c=_0x3be6db;for(var _0x6f426b=0x0;_0x6f426b<0x10;_0x6f426b++){var _0x4ed6bd=_0x4520b8+_0x6f426b,_0x3e6535=_0x8c2100[_0x4ed6bd];_0x8c2100[_0x4ed6bd]=(_0x3e6535<<0x8|_0x3e6535>>>0x18)&0xff00ff|(_0x3e6535<<0x18|_0x3e6535>>>0x8)&0xff00ff00;}var _0x41cf35=this[_0x47ee3c(0x2bc)][_0x47ee3c(0xb9)],_0x5df320=_0x8c2100[_0x4520b8+0x0],_0x1c3166=_0x8c2100[_0x4520b8+0x1],_0x133daa=_0x8c2100[_0x4520b8+0x2],_0x441f3f=_0x8c2100[_0x4520b8+0x3],_0x301b76=_0x8c2100[_0x4520b8+0x4],_0x30ef12=_0x8c2100[_0x4520b8+0x5],_0x52cecf=_0x8c2100[_0x4520b8+0x6],_0x4577fb=_0x8c2100[_0x4520b8+0x7],_0x3cd16d=_0x8c2100[_0x4520b8+0x8],_0x3f845b=_0x8c2100[_0x4520b8+0x9],_0xfe24d=_0x8c2100[_0x4520b8+0xa],_0x434417=_0x8c2100[_0x4520b8+0xb],_0x12ed6c=_0x8c2100[_0x4520b8+0xc],_0x23e103=_0x8c2100[_0x4520b8+0xd],_0x445f9d=_0x8c2100[_0x4520b8+0xe],_0x5985b0=_0x8c2100[_0x4520b8+0xf],_0x1010e4=_0x41cf35[0x0],_0x5e5698=_0x41cf35[0x1],_0x1748e3=_0x41cf35[0x2],_0x456597=_0x41cf35[0x3];_0x1010e4=_0x39d8ec(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x5df320,0x7,_0x40eadb[0x0]),_0x456597=_0x39d8ec(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x1c3166,0xc,_0x40eadb[0x1]),_0x1748e3=_0x39d8ec(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x133daa,0x11,_0x40eadb[0x2]),_0x5e5698=_0x39d8ec(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x441f3f,0x16,_0x40eadb[0x3]),_0x1010e4=_0x39d8ec(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x301b76,0x7,_0x40eadb[0x4]),_0x456597=_0x39d8ec(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x30ef12,0xc,_0x40eadb[0x5]),_0x1748e3=_0x39d8ec(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x52cecf,0x11,_0x40eadb[0x6]),_0x5e5698=_0x39d8ec(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x4577fb,0x16,_0x40eadb[0x7]),_0x1010e4=_0x39d8ec(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x3cd16d,0x7,_0x40eadb[0x8]),_0x456597=_0x39d8ec(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x3f845b,0xc,_0x40eadb[0x9]),_0x1748e3=_0x39d8ec(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0xfe24d,0x11,_0x40eadb[0xa]),_0x5e5698=_0x39d8ec(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x434417,0x16,_0x40eadb[0xb]),_0x1010e4=_0x39d8ec(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x12ed6c,0x7,_0x40eadb[0xc]),_0x456597=_0x39d8ec(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x23e103,0xc,_0x40eadb[0xd]),_0x1748e3=_0x39d8ec(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x445f9d,0x11,_0x40eadb[0xe]),_0x5e5698=_0x39d8ec(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x5985b0,0x16,_0x40eadb[0xf]),_0x1010e4=_0x25e151(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x1c3166,0x5,_0x40eadb[0x10]),_0x456597=_0x25e151(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x52cecf,0x9,_0x40eadb[0x11]),_0x1748e3=_0x25e151(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x434417,0xe,_0x40eadb[0x12]),_0x5e5698=_0x25e151(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x5df320,0x14,_0x40eadb[0x13]),_0x1010e4=_0x25e151(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x30ef12,0x5,_0x40eadb[0x14]),_0x456597=_0x25e151(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0xfe24d,0x9,_0x40eadb[0x15]),_0x1748e3=_0x25e151(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x5985b0,0xe,_0x40eadb[0x16]),_0x5e5698=_0x25e151(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x301b76,0x14,_0x40eadb[0x17]),_0x1010e4=_0x25e151(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x3f845b,0x5,_0x40eadb[0x18]),_0x456597=_0x25e151(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x445f9d,0x9,_0x40eadb[0x19]),_0x1748e3=_0x25e151(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x441f3f,0xe,_0x40eadb[0x1a]),_0x5e5698=_0x25e151(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x3cd16d,0x14,_0x40eadb[0x1b]),_0x1010e4=_0x25e151(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x23e103,0x5,_0x40eadb[0x1c]),_0x456597=_0x25e151(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x133daa,0x9,_0x40eadb[0x1d]),_0x1748e3=_0x25e151(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x4577fb,0xe,_0x40eadb[0x1e]),_0x5e5698=_0x25e151(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x12ed6c,0x14,_0x40eadb[0x1f]),_0x1010e4=_0x1b79a2(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x30ef12,0x4,_0x40eadb[0x20]),_0x456597=_0x1b79a2(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x3cd16d,0xb,_0x40eadb[0x21]),_0x1748e3=_0x1b79a2(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x434417,0x10,_0x40eadb[0x22]),_0x5e5698=_0x1b79a2(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x445f9d,0x17,_0x40eadb[0x23]),_0x1010e4=_0x1b79a2(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x1c3166,0x4,_0x40eadb[0x24]),_0x456597=_0x1b79a2(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x301b76,0xb,_0x40eadb[0x25]),_0x1748e3=_0x1b79a2(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x4577fb,0x10,_0x40eadb[0x26]),_0x5e5698=_0x1b79a2(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0xfe24d,0x17,_0x40eadb[0x27]),_0x1010e4=_0x1b79a2(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x23e103,0x4,_0x40eadb[0x28]),_0x456597=_0x1b79a2(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x5df320,0xb,_0x40eadb[0x29]),_0x1748e3=_0x1b79a2(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x441f3f,0x10,_0x40eadb[0x2a]),_0x5e5698=_0x1b79a2(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x52cecf,0x17,_0x40eadb[0x2b]),_0x1010e4=_0x1b79a2(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x3f845b,0x4,_0x40eadb[0x2c]),_0x456597=_0x1b79a2(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x12ed6c,0xb,_0x40eadb[0x2d]),_0x1748e3=_0x1b79a2(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x5985b0,0x10,_0x40eadb[0x2e]),_0x5e5698=_0x1b79a2(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x133daa,0x17,_0x40eadb[0x2f]),_0x1010e4=_0x3df19e(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x5df320,0x6,_0x40eadb[0x30]),_0x456597=_0x3df19e(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x4577fb,0xa,_0x40eadb[0x31]),_0x1748e3=_0x3df19e(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x445f9d,0xf,_0x40eadb[0x32]),_0x5e5698=_0x3df19e(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x30ef12,0x15,_0x40eadb[0x33]),_0x1010e4=_0x3df19e(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x12ed6c,0x6,_0x40eadb[0x34]),_0x456597=_0x3df19e(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x441f3f,0xa,_0x40eadb[0x35]),_0x1748e3=_0x3df19e(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0xfe24d,0xf,_0x40eadb[0x36]),_0x5e5698=_0x3df19e(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x1c3166,0x15,_0x40eadb[0x37]),_0x1010e4=_0x3df19e(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x3cd16d,0x6,_0x40eadb[0x38]),_0x456597=_0x3df19e(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x5985b0,0xa,_0x40eadb[0x39]),_0x1748e3=_0x3df19e(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x52cecf,0xf,_0x40eadb[0x3a]),_0x5e5698=_0x3df19e(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x23e103,0x15,_0x40eadb[0x3b]),_0x1010e4=_0x3df19e(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x301b76,0x6,_0x40eadb[0x3c]),_0x456597=_0x3df19e(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x434417,0xa,_0x40eadb[0x3d]),_0x1748e3=_0x3df19e(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x133daa,0xf,_0x40eadb[0x3e]),_0x5e5698=_0x3df19e(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x3f845b,0x15,_0x40eadb[0x3f]),_0x41cf35[0x0]=_0x41cf35[0x0]+_0x1010e4|0x0,_0x41cf35[0x1]=_0x41cf35[0x1]+_0x5e5698|0x0,_0x41cf35[0x2]=_0x41cf35[0x2]+_0x1748e3|0x0,_0x41cf35[0x3]=_0x41cf35[0x3]+_0x456597|0x0;},'_doFinalize':function(){var _0xd4a1c=_0x3be6db,_0x5a0e93=this['_data'],_0x397ba6=_0x5a0e93[_0xd4a1c(0xb9)],_0x28f799=this['_nDataBytes']*0x8,_0x44c7ea=_0x5a0e93[_0xd4a1c(0x2e2)]*0x8;_0x397ba6[_0x44c7ea>>>0x5]|=0x80<<0x18-_0x44c7ea%0x20;var _0x406f0e=_0xd8cc4c['floor'](_0x28f799/0x100000000),_0x4df04f=_0x28f799;_0x397ba6[(_0x44c7ea+0x40>>>0x9<<0x4)+0xf]=(_0x406f0e<<0x8|_0x406f0e>>>0x18)&0xff00ff|(_0x406f0e<<0x18|_0x406f0e>>>0x8)&0xff00ff00,_0x397ba6[(_0x44c7ea+0x40>>>0x9<<0x4)+0xe]=(_0x4df04f<<0x8|_0x4df04f>>>0x18)&0xff00ff|(_0x4df04f<<0x18|_0x4df04f>>>0x8)&0xff00ff00,_0x5a0e93[_0xd4a1c(0x2e2)]=(_0x397ba6[_0xd4a1c(0xe6)]+0x1)*0x4,this[_0xd4a1c(0x229)]();for(var _0x56c9d3=this[_0xd4a1c(0x2bc)],_0x4b625c=_0x56c9d3[_0xd4a1c(0xb9)],_0x3e7380=0x0;_0x3e7380<0x4;_0x3e7380++){var _0x4e7033=_0x4b625c[_0x3e7380];_0x4b625c[_0x3e7380]=(_0x4e7033<<0x8|_0x4e7033>>>0x18)&0xff00ff|(_0x4e7033<<0x18|_0x4e7033>>>0x8)&0xff00ff00;}return _0x56c9d3;},'clone':function(){var _0x575b98=_0x3be6db,_0x39393c=_0x14f1dd['clone'][_0x575b98(0x1a5)](this);return _0x39393c[_0x575b98(0x2bc)]=this['_hash'][_0x575b98(0x3b8)](),_0x39393c;}});function _0x39d8ec(_0x210916,_0x46fe48,_0x172b50,_0x1bc650,_0x462a73,_0x22b8f8,_0x59dc78){var _0x2d9401=_0x210916+(_0x46fe48&_0x172b50|~_0x46fe48&_0x1bc650)+_0x462a73+_0x59dc78;return(_0x2d9401<<_0x22b8f8|_0x2d9401>>>0x20-_0x22b8f8)+_0x46fe48;}function _0x25e151(_0x217d96,_0x507fb4,_0xa6141d,_0x3a5a38,_0x58f7df,_0x530a78,_0x4b6b86){var _0x65d511=_0x217d96+(_0x507fb4&_0x3a5a38|_0xa6141d&~_0x3a5a38)+_0x58f7df+_0x4b6b86;return(_0x65d511<<_0x530a78|_0x65d511>>>0x20-_0x530a78)+_0x507fb4;}function _0x1b79a2(_0x4f7504,_0x4559b5,_0x41e18a,_0x145b6d,_0x5a3e69,_0x508db6,_0x1403c9){var _0x57fe73=_0x4f7504+(_0x4559b5^_0x41e18a^_0x145b6d)+_0x5a3e69+_0x1403c9;return(_0x57fe73<<_0x508db6|_0x57fe73>>>0x20-_0x508db6)+_0x4559b5;}function _0x3df19e(_0x51d660,_0x5f5218,_0x1e9dc4,_0x17b80e,_0x2f7c84,_0xca2628,_0x5c59dc){var _0x3faf06=_0x51d660+(_0x1e9dc4^(_0x5f5218|~_0x17b80e))+_0x2f7c84+_0x5c59dc;return(_0x3faf06<<_0xca2628|_0x3faf06>>>0x20-_0xca2628)+_0x5f5218;}_0x3df712[_0x3be6db(0x310)]=_0x14f1dd[_0x3be6db(0x413)](_0x322083),_0x3df712['HmacMD5']=_0x14f1dd['_createHmacHelper'](_0x322083);}(Math),_0x4a6454[_0x293dc1(0x310)];}));}(_0x2648b9)),_0x2648b9[_0x5eadb7(0x257)];}var _0x589e5d={'exports':{}},_0x288fb8={'exports':{}},_0x4c9e8c=_0x288fb8[_0x12ab33(0x257)],_0x1218f6;function _0x174afe(){return _0x1218f6||(_0x1218f6=0x1,function(_0x3a9448,_0x384d2b){(function(_0x4b06ea,_0x570b7b){var _0x42c3e0=_0x4f3d;_0x3a9448[_0x42c3e0(0x257)]=_0x570b7b(_0x2b16a());}(_0x4c9e8c,function(_0x45bc12){var _0x39d015=_0x4f3d;return(function(){var _0x3faa97=_0x4f3d,_0x35deb5=_0x45bc12,_0x322729=_0x35deb5[_0x3faa97(0x15b)],_0x34922d=_0x322729[_0x3faa97(0xdb)],_0x4857af=_0x322729[_0x3faa97(0x13b)],_0x54dc0a=_0x35deb5['algo'],_0x208d09=[],_0x3c6b13=_0x54dc0a[_0x3faa97(0x19f)]=_0x4857af['extend']({'_doReset':function(){this['_hash']=new _0x34922d['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1cb461,_0x372f6b){var _0x39e2db=_0x3faa97;for(var _0x197889=this[_0x39e2db(0x2bc)]['words'],_0xc5d5bc=_0x197889[0x0],_0x51a1c6=_0x197889[0x1],_0x714abe=_0x197889[0x2],_0x35a7ce=_0x197889[0x3],_0x484d6c=_0x197889[0x4],_0x32c3e4=0x0;_0x32c3e4<0x50;_0x32c3e4++){if(_0x32c3e4<0x10)_0x208d09[_0x32c3e4]=_0x1cb461[_0x372f6b+_0x32c3e4]|0x0;else{var _0x299882=_0x208d09[_0x32c3e4-0x3]^_0x208d09[_0x32c3e4-0x8]^_0x208d09[_0x32c3e4-0xe]^_0x208d09[_0x32c3e4-0x10];_0x208d09[_0x32c3e4]=_0x299882<<0x1|_0x299882>>>0x1f;}var _0x452fea=(_0xc5d5bc<<0x5|_0xc5d5bc>>>0x1b)+_0x484d6c+_0x208d09[_0x32c3e4];_0x32c3e4<0x14?_0x452fea+=(_0x51a1c6&_0x714abe|~_0x51a1c6&_0x35a7ce)+0x5a827999:_0x32c3e4<0x28?_0x452fea+=(_0x51a1c6^_0x714abe^_0x35a7ce)+0x6ed9eba1:_0x32c3e4<0x3c?_0x452fea+=(_0x51a1c6&_0x714abe|_0x51a1c6&_0x35a7ce|_0x714abe&_0x35a7ce)-0x70e44324:_0x452fea+=(_0x51a1c6^_0x714abe^_0x35a7ce)-0x359d3e2a,_0x484d6c=_0x35a7ce,_0x35a7ce=_0x714abe,_0x714abe=_0x51a1c6<<0x1e|_0x51a1c6>>>0x2,_0x51a1c6=_0xc5d5bc,_0xc5d5bc=_0x452fea;}_0x197889[0x0]=_0x197889[0x0]+_0xc5d5bc|0x0,_0x197889[0x1]=_0x197889[0x1]+_0x51a1c6|0x0,_0x197889[0x2]=_0x197889[0x2]+_0x714abe|0x0,_0x197889[0x3]=_0x197889[0x3]+_0x35a7ce|0x0,_0x197889[0x4]=_0x197889[0x4]+_0x484d6c|0x0;},'_doFinalize':function(){var _0x36068a=_0x3faa97,_0x475c81=this['_data'],_0xe8559b=_0x475c81[_0x36068a(0xb9)],_0xe1deff=this[_0x36068a(0x3b0)]*0x8,_0x3a121c=_0x475c81[_0x36068a(0x2e2)]*0x8;return _0xe8559b[_0x3a121c>>>0x5]|=0x80<<0x18-_0x3a121c%0x20,_0xe8559b[(_0x3a121c+0x40>>>0x9<<0x4)+0xe]=Math[_0x36068a(0x1af)](_0xe1deff/0x100000000),_0xe8559b[(_0x3a121c+0x40>>>0x9<<0x4)+0xf]=_0xe1deff,_0x475c81[_0x36068a(0x2e2)]=_0xe8559b['length']*0x4,this['_process'](),this[_0x36068a(0x2bc)];},'clone':function(){var _0x2358b0=_0x3faa97,_0x40ed15=_0x4857af[_0x2358b0(0x3b8)]['call'](this);return _0x40ed15['_hash']=this[_0x2358b0(0x2bc)]['clone'](),_0x40ed15;}});_0x35deb5[_0x3faa97(0x19f)]=_0x4857af[_0x3faa97(0x413)](_0x3c6b13),_0x35deb5[_0x3faa97(0x3bd)]=_0x4857af[_0x3faa97(0x28f)](_0x3c6b13);}()),_0x45bc12[_0x39d015(0x19f)];}));}(_0x288fb8)),_0x288fb8['exports'];}var _0x353671={'exports':{}},_0x317ba8=_0x353671[_0x12ab33(0x257)],_0x32e398;function _0x50989f(){return _0x32e398||(_0x32e398=0x1,function(_0x13d174,_0x4a78f8){(function(_0x2b30e7,_0x3c15cd){_0x13d174['exports']=_0x3c15cd(_0x2b16a());}(_0x317ba8,function(_0x221b3b){(function(){var _0x29ccfb=_0x4f3d,_0x5913d8=_0x221b3b,_0x335a37=_0x5913d8['lib'],_0x28c819=_0x335a37[_0x29ccfb(0x2e3)],_0x2a560b=_0x5913d8[_0x29ccfb(0x3bc)],_0x4e6b1a=_0x2a560b[_0x29ccfb(0x292)],_0x842e43=_0x5913d8[_0x29ccfb(0x1ec)];_0x842e43[_0x29ccfb(0xc8)]=_0x28c819[_0x29ccfb(0x2b4)]({'init':function(_0x26a91c,_0x15a752){var _0x40f110=_0x29ccfb;_0x26a91c=this[_0x40f110(0x187)]=new _0x26a91c[(_0x40f110(0x33d))](),typeof _0x15a752=='string'&&(_0x15a752=_0x4e6b1a['parse'](_0x15a752));var _0x12ff25=_0x26a91c[_0x40f110(0x389)],_0x35e416=_0x12ff25*0x4;_0x15a752[_0x40f110(0x2e2)]>_0x35e416&&(_0x15a752=_0x26a91c[_0x40f110(0x39b)](_0x15a752)),_0x15a752[_0x40f110(0x1d3)]();for(var _0x1e0989=this[_0x40f110(0x2a5)]=_0x15a752[_0x40f110(0x3b8)](),_0xcc98e6=this[_0x40f110(0x327)]=_0x15a752[_0x40f110(0x3b8)](),_0x5a3c22=_0x1e0989[_0x40f110(0xb9)],_0x2e412b=_0xcc98e6[_0x40f110(0xb9)],_0x590af2=0x0;_0x590af2<_0x12ff25;_0x590af2++)_0x5a3c22[_0x590af2]^=0x5c5c5c5c,_0x2e412b[_0x590af2]^=0x36363636;_0x1e0989[_0x40f110(0x2e2)]=_0xcc98e6[_0x40f110(0x2e2)]=_0x35e416,this[_0x40f110(0x391)]();},'reset':function(){var _0x439788=_0x29ccfb,_0x57c909=this[_0x439788(0x187)];_0x57c909['reset'](),_0x57c909[_0x439788(0x11b)](this['_iKey']);},'update':function(_0x212f59){var _0x178ec0=_0x29ccfb;return this[_0x178ec0(0x187)][_0x178ec0(0x11b)](_0x212f59),this;},'finalize':function(_0x1b524c){var _0x240b77=_0x29ccfb,_0x3c8ac8=this[_0x240b77(0x187)],_0xc64a9d=_0x3c8ac8[_0x240b77(0x39b)](_0x1b524c);_0x3c8ac8[_0x240b77(0x391)]();var _0x1d2782=_0x3c8ac8[_0x240b77(0x39b)](this[_0x240b77(0x2a5)][_0x240b77(0x3b8)]()[_0x240b77(0x214)](_0xc64a9d));return _0x1d2782;}});}());}));}(_0x353671)),_0x353671['exports'];}var _0x1bed4c=_0x589e5d[_0x12ab33(0x257)],_0x304c35;function _0x47a2cb(){var _0x5778a5=_0x12ab33;return _0x304c35||(_0x304c35=0x1,function(_0x5471d8,_0x29b921){(function(_0xddee5b,_0x55b534,_0xf37573){var _0x5e3d51=_0x4f3d;_0x5471d8[_0x5e3d51(0x257)]=_0x55b534(_0x2b16a(),_0x174afe(),_0x50989f());}(_0x1bed4c,function(_0xd29e48){return(function(){var _0x16de9b=_0x4f3d,_0x33c830=_0xd29e48,_0x4794fb=_0x33c830[_0x16de9b(0x15b)],_0x180d3e=_0x4794fb[_0x16de9b(0x2e3)],_0x1425d7=_0x4794fb[_0x16de9b(0xdb)],_0x4d17fc=_0x33c830[_0x16de9b(0x1ec)],_0xd563c7=_0x4d17fc[_0x16de9b(0x310)],_0x33ebda=_0x4d17fc[_0x16de9b(0x3aa)]=_0x180d3e[_0x16de9b(0x2b4)]({'cfg':_0x180d3e[_0x16de9b(0x2b4)]({'keySize':0x80/0x20,'hasher':_0xd563c7,'iterations':0x1}),'init':function(_0x1dfc1f){var _0x1658e2=_0x16de9b;this[_0x1658e2(0x1d5)]=this[_0x1658e2(0x1d5)][_0x1658e2(0x2b4)](_0x1dfc1f);},'compute':function(_0x2cc72b,_0x523372){var _0x4dd5e0=_0x16de9b;for(var _0x2170ad,_0xa1bb63=this[_0x4dd5e0(0x1d5)],_0x141ca5=_0xa1bb63[_0x4dd5e0(0x224)][_0x4dd5e0(0x142)](),_0x400130=_0x1425d7['create'](),_0x3e9224=_0x400130[_0x4dd5e0(0xb9)],_0x428783=_0xa1bb63[_0x4dd5e0(0x1b6)],_0x419c5a=_0xa1bb63['iterations'];_0x3e9224['length']<_0x428783;){_0x2170ad&&_0x141ca5[_0x4dd5e0(0x11b)](_0x2170ad),_0x2170ad=_0x141ca5[_0x4dd5e0(0x11b)](_0x2cc72b)[_0x4dd5e0(0x39b)](_0x523372),_0x141ca5[_0x4dd5e0(0x391)]();for(var _0x12e527=0x1;_0x12e527<_0x419c5a;_0x12e527++)_0x2170ad=_0x141ca5[_0x4dd5e0(0x39b)](_0x2170ad),_0x141ca5[_0x4dd5e0(0x391)]();_0x400130['concat'](_0x2170ad);}return _0x400130[_0x4dd5e0(0x2e2)]=_0x428783*0x4,_0x400130;}});_0x33c830[_0x16de9b(0x3aa)]=function(_0x3bc93e,_0x211c6e,_0x2c4dbd){var _0x5ac37e=_0x16de9b;return _0x33ebda['create'](_0x2c4dbd)[_0x5ac37e(0x22f)](_0x3bc93e,_0x211c6e);};}()),_0xd29e48['EvpKDF'];}));}(_0x589e5d)),_0x589e5d[_0x5778a5(0x257)];}var _0x419bcd={'exports':{}},_0x404563=_0x419bcd[_0x12ab33(0x257)],_0x44d8e9;function _0x40ad97(){var _0x3874ed=_0x12ab33;return _0x44d8e9||(_0x44d8e9=0x1,function(_0xe85896,_0x49cd0b){(function(_0x22600e,_0x8cafcc,_0x147059){_0xe85896['exports']=_0x8cafcc(_0x2b16a(),_0x47a2cb());}(_0x404563,function(_0x4446c2){var _0x251154=_0x4f3d;_0x4446c2[_0x251154(0x15b)][_0x251154(0x1ee)]||function(_0x3c4782){var _0x4541d4=_0x251154,_0xa358e9=_0x4446c2,_0x2314bd=_0xa358e9[_0x4541d4(0x15b)],_0x2d0b7f=_0x2314bd[_0x4541d4(0x2e3)],_0x38afaf=_0x2314bd['WordArray'],_0x3cc0ec=_0x2314bd[_0x4541d4(0x2e9)],_0x2c8ba8=_0xa358e9['enc'];_0x2c8ba8['Utf8'];var _0x2a677d=_0x2c8ba8['Base64'],_0x1c05c0=_0xa358e9[_0x4541d4(0x1ec)],_0x15b62b=_0x1c05c0[_0x4541d4(0x3aa)],_0x1a094b=_0x2314bd[_0x4541d4(0x1ee)]=_0x3cc0ec[_0x4541d4(0x2b4)]({'cfg':_0x2d0b7f['extend'](),'createEncryptor':function(_0x55a0d9,_0x585df4){var _0x181d4e=_0x4541d4;return this[_0x181d4e(0x142)](this[_0x181d4e(0x1fb)],_0x55a0d9,_0x585df4);},'createDecryptor':function(_0x263c4b,_0x4b555c){var _0x3420b3=_0x4541d4;return this[_0x3420b3(0x142)](this[_0x3420b3(0xd4)],_0x263c4b,_0x4b555c);},'init':function(_0x1bd3ba,_0x53dd0c,_0xe5f681){var _0x23a7d9=_0x4541d4;this['cfg']=this['cfg'][_0x23a7d9(0x2b4)](_0xe5f681),this['_xformMode']=_0x1bd3ba,this[_0x23a7d9(0x26b)]=_0x53dd0c,this['reset']();},'reset':function(){var _0x970c25=_0x4541d4;_0x3cc0ec['reset'][_0x970c25(0x1a5)](this),this[_0x970c25(0x1ac)]();},'process':function(_0x76076){var _0x109744=_0x4541d4;return this[_0x109744(0x2d5)](_0x76076),this[_0x109744(0x229)]();},'finalize':function(_0x51592e){_0x51592e&&this['_append'](_0x51592e);var _0x1c6052=this['_doFinalize']();return _0x1c6052;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4def6b(_0x3e13b2){var _0x261ed3=_0x4f3d;return typeof _0x3e13b2==_0x261ed3(0x2eb)?_0x2117de:_0x48e404;}return function(_0x261645){return{'encrypt':function(_0x5c9f7b,_0x48abd4,_0x29cbbf){var _0x191462=_0x4f3d;return _0x4def6b(_0x48abd4)[_0x191462(0x1c2)](_0x261645,_0x5c9f7b,_0x48abd4,_0x29cbbf);},'decrypt':function(_0x2d3700,_0x557e17,_0x17bbcf){var _0x1a1791=_0x4f3d;return _0x4def6b(_0x557e17)[_0x1a1791(0x1db)](_0x261645,_0x2d3700,_0x557e17,_0x17bbcf);}};};}())});_0x2314bd[_0x4541d4(0x270)]=_0x1a094b[_0x4541d4(0x2b4)]({'_doFinalize':function(){var _0x1df121=_0x4541d4,_0x1cbcfd=this[_0x1df121(0x229)](!0x0);return _0x1cbcfd;},'blockSize':0x1});var _0x126d39=_0xa358e9[_0x4541d4(0x277)]={},_0x1ec89f=_0x2314bd['BlockCipherMode']=_0x2d0b7f['extend']({'createEncryptor':function(_0x384fba,_0x23ba27){var _0x59fb09=_0x4541d4;return this['Encryptor'][_0x59fb09(0x142)](_0x384fba,_0x23ba27);},'createDecryptor':function(_0xa55701,_0x511362){var _0xace91e=_0x4541d4;return this[_0xace91e(0x246)][_0xace91e(0x142)](_0xa55701,_0x511362);},'init':function(_0x3f5222,_0x18a3dd){var _0x223e58=_0x4541d4;this['_cipher']=_0x3f5222,this[_0x223e58(0x102)]=_0x18a3dd;}}),_0x1333e4=_0x126d39[_0x4541d4(0x13e)]=(function(){var _0x3ff8e6=_0x4541d4,_0x4a0114=_0x1ec89f[_0x3ff8e6(0x2b4)]();_0x4a0114[_0x3ff8e6(0x14a)]=_0x4a0114[_0x3ff8e6(0x2b4)]({'processBlock':function(_0x20a89b,_0x3402fe){var _0x40ff80=_0x3ff8e6,_0x47a417=this[_0x40ff80(0x3f8)],_0x4acc78=_0x47a417[_0x40ff80(0x389)];_0x564a38[_0x40ff80(0x1a5)](this,_0x20a89b,_0x3402fe,_0x4acc78),_0x47a417[_0x40ff80(0x22c)](_0x20a89b,_0x3402fe),this[_0x40ff80(0x351)]=_0x20a89b[_0x40ff80(0x23e)](_0x3402fe,_0x3402fe+_0x4acc78);}}),_0x4a0114[_0x3ff8e6(0x246)]=_0x4a0114['extend']({'processBlock':function(_0x431bd9,_0x49f89d){var _0x5e2499=_0x3ff8e6,_0x56de56=this[_0x5e2499(0x3f8)],_0x9ac3a=_0x56de56[_0x5e2499(0x389)],_0x4476d4=_0x431bd9[_0x5e2499(0x23e)](_0x49f89d,_0x49f89d+_0x9ac3a);_0x56de56['decryptBlock'](_0x431bd9,_0x49f89d),_0x564a38[_0x5e2499(0x1a5)](this,_0x431bd9,_0x49f89d,_0x9ac3a),this[_0x5e2499(0x351)]=_0x4476d4;}});function _0x564a38(_0x5c2bb3,_0x46e445,_0x282bd8){var _0x2c8d02=_0x3ff8e6,_0x2386fb,_0x3e74a8=this[_0x2c8d02(0x102)];_0x3e74a8?(_0x2386fb=_0x3e74a8,this[_0x2c8d02(0x102)]=_0x3c4782):_0x2386fb=this['_prevBlock'];for(var _0x21231d=0x0;_0x21231d<_0x282bd8;_0x21231d++)_0x5c2bb3[_0x46e445+_0x21231d]^=_0x2386fb[_0x21231d];}return _0x4a0114;}()),_0x33f18d=_0xa358e9[_0x4541d4(0x264)]={},_0x210869=_0x33f18d['Pkcs7']={'pad':function(_0x49a050,_0x1198b3){var _0xeae679=_0x4541d4;for(var _0x54723f=_0x1198b3*0x4,_0x18a43f=_0x54723f-_0x49a050['sigBytes']%_0x54723f,_0x58b00b=_0x18a43f<<0x18|_0x18a43f<<0x10|_0x18a43f<<0x8|_0x18a43f,_0x5bf5a1=[],_0x3bc028=0x0;_0x3bc028<_0x18a43f;_0x3bc028+=0x4)_0x5bf5a1[_0xeae679(0x125)](_0x58b00b);var _0x18f8f9=_0x38afaf['create'](_0x5bf5a1,_0x18a43f);_0x49a050['concat'](_0x18f8f9);},'unpad':function(_0x2aac77){var _0x3944e6=_0x4541d4,_0x221d3c=_0x2aac77[_0x3944e6(0xb9)][_0x2aac77[_0x3944e6(0x2e2)]-0x1>>>0x2]&0xff;_0x2aac77[_0x3944e6(0x2e2)]-=_0x221d3c;}};_0x2314bd[_0x4541d4(0x216)]=_0x1a094b[_0x4541d4(0x2b4)]({'cfg':_0x1a094b['cfg'][_0x4541d4(0x2b4)]({'mode':_0x1333e4,'padding':_0x210869}),'reset':function(){var _0x3817bc=_0x4541d4,_0x352621;_0x1a094b[_0x3817bc(0x391)][_0x3817bc(0x1a5)](this);var _0x5886f2=this['cfg'],_0x123457=_0x5886f2['iv'],_0x57d792=_0x5886f2[_0x3817bc(0x277)];this[_0x3817bc(0xbb)]==this['_ENC_XFORM_MODE']?_0x352621=_0x57d792[_0x3817bc(0x14d)]:(_0x352621=_0x57d792[_0x3817bc(0x32d)],this['_minBufferSize']=0x1),this[_0x3817bc(0x294)]&&this[_0x3817bc(0x294)]['__creator']==_0x352621?this[_0x3817bc(0x294)]['init'](this,_0x123457&&_0x123457['words']):(this[_0x3817bc(0x294)]=_0x352621[_0x3817bc(0x1a5)](_0x57d792,this,_0x123457&&_0x123457['words']),this[_0x3817bc(0x294)][_0x3817bc(0x13f)]=_0x352621);},'_doProcessBlock':function(_0x209f30,_0x3f685e){var _0x13dcd9=_0x4541d4;this[_0x13dcd9(0x294)]['processBlock'](_0x209f30,_0x3f685e);},'_doFinalize':function(){var _0x468676=_0x4541d4,_0x2ebdfb,_0x49301c=this[_0x468676(0x1d5)][_0x468676(0x1bf)];return this[_0x468676(0xbb)]==this[_0x468676(0x1fb)]?(_0x49301c['pad'](this['_data'],this[_0x468676(0x389)]),_0x2ebdfb=this[_0x468676(0x229)](!0x0)):(_0x2ebdfb=this[_0x468676(0x229)](!0x0),_0x49301c[_0x468676(0x163)](_0x2ebdfb)),_0x2ebdfb;},'blockSize':0x80/0x20});var _0x507b0d=_0x2314bd[_0x4541d4(0x30a)]=_0x2d0b7f[_0x4541d4(0x2b4)]({'init':function(_0x143869){var _0x2194f3=_0x4541d4;this[_0x2194f3(0x36e)](_0x143869);},'toString':function(_0x35a7b1){var _0xc899dc=_0x4541d4;return(_0x35a7b1||this[_0xc899dc(0x1e4)])[_0xc899dc(0x3b6)](this);}}),_0xff514e=_0xa358e9[_0x4541d4(0x17d)]={},_0x28dcf1=_0xff514e[_0x4541d4(0xd7)]={'stringify':function(_0x63e9e9){var _0x37f6d1=_0x4541d4,_0x88ea4f,_0x40d2b4=_0x63e9e9[_0x37f6d1(0x18c)],_0x5b00d8=_0x63e9e9[_0x37f6d1(0x152)];return _0x5b00d8?_0x88ea4f=_0x38afaf['create']([0x53616c74,0x65645f5f])[_0x37f6d1(0x214)](_0x5b00d8)['concat'](_0x40d2b4):_0x88ea4f=_0x40d2b4,_0x88ea4f[_0x37f6d1(0x1f5)](_0x2a677d);},'parse':function(_0x1e89f6){var _0x41f2c4=_0x4541d4,_0x539dcd,_0xc47479=_0x2a677d['parse'](_0x1e89f6),_0x49564d=_0xc47479['words'];return _0x49564d[0x0]==0x53616c74&&_0x49564d[0x1]==0x65645f5f&&(_0x539dcd=_0x38afaf[_0x41f2c4(0x142)](_0x49564d[_0x41f2c4(0x23e)](0x2,0x4)),_0x49564d[_0x41f2c4(0x3f1)](0x0,0x4),_0xc47479[_0x41f2c4(0x2e2)]-=0x10),_0x507b0d[_0x41f2c4(0x142)]({'ciphertext':_0xc47479,'salt':_0x539dcd});}},_0x48e404=_0x2314bd['SerializableCipher']=_0x2d0b7f[_0x4541d4(0x2b4)]({'cfg':_0x2d0b7f[_0x4541d4(0x2b4)]({'format':_0x28dcf1}),'encrypt':function(_0x42f924,_0x5726f8,_0x2e06f3,_0x5b1074){var _0x2e43cf=_0x4541d4;_0x5b1074=this[_0x2e43cf(0x1d5)][_0x2e43cf(0x2b4)](_0x5b1074);var _0x296112=_0x42f924[_0x2e43cf(0x14d)](_0x2e06f3,_0x5b1074),_0x2e4009=_0x296112[_0x2e43cf(0x39b)](_0x5726f8),_0x5a8e2d=_0x296112[_0x2e43cf(0x1d5)];return _0x507b0d[_0x2e43cf(0x142)]({'ciphertext':_0x2e4009,'key':_0x2e06f3,'iv':_0x5a8e2d['iv'],'algorithm':_0x42f924,'mode':_0x5a8e2d[_0x2e43cf(0x277)],'padding':_0x5a8e2d[_0x2e43cf(0x1bf)],'blockSize':_0x42f924[_0x2e43cf(0x389)],'formatter':_0x5b1074[_0x2e43cf(0x17d)]});},'decrypt':function(_0x20ff89,_0xf265f6,_0x8788d9,_0x16d84f){var _0x1e4f6b=_0x4541d4;_0x16d84f=this[_0x1e4f6b(0x1d5)][_0x1e4f6b(0x2b4)](_0x16d84f),_0xf265f6=this[_0x1e4f6b(0x2f3)](_0xf265f6,_0x16d84f['format']);var _0x21cfd7=_0x20ff89[_0x1e4f6b(0x32d)](_0x8788d9,_0x16d84f)[_0x1e4f6b(0x39b)](_0xf265f6[_0x1e4f6b(0x18c)]);return _0x21cfd7;},'_parse':function(_0x539714,_0x1780ac){var _0x47bc13=_0x4541d4;return typeof _0x539714==_0x47bc13(0x2eb)?_0x1780ac['parse'](_0x539714,this):_0x539714;}}),_0x55d1b2=_0xa358e9[_0x4541d4(0x32c)]={},_0x15a538=_0x55d1b2[_0x4541d4(0xd7)]={'execute':function(_0x54c923,_0x2e5007,_0x58ac83,_0x5f5854,_0x2304cd){var _0x17e5fe=_0x4541d4;if(_0x5f5854||(_0x5f5854=_0x38afaf[_0x17e5fe(0x130)](0x40/0x8)),_0x2304cd)var _0x1db9fd=_0x15b62b[_0x17e5fe(0x142)]({'keySize':_0x2e5007+_0x58ac83,'hasher':_0x2304cd})[_0x17e5fe(0x22f)](_0x54c923,_0x5f5854);else var _0x1db9fd=_0x15b62b[_0x17e5fe(0x142)]({'keySize':_0x2e5007+_0x58ac83})[_0x17e5fe(0x22f)](_0x54c923,_0x5f5854);var _0x2ab7fc=_0x38afaf['create'](_0x1db9fd[_0x17e5fe(0xb9)][_0x17e5fe(0x23e)](_0x2e5007),_0x58ac83*0x4);return _0x1db9fd[_0x17e5fe(0x2e2)]=_0x2e5007*0x4,_0x507b0d[_0x17e5fe(0x142)]({'key':_0x1db9fd,'iv':_0x2ab7fc,'salt':_0x5f5854});}},_0x2117de=_0x2314bd['PasswordBasedCipher']=_0x48e404[_0x4541d4(0x2b4)]({'cfg':_0x48e404['cfg']['extend']({'kdf':_0x15a538}),'encrypt':function(_0x35da8d,_0x17b551,_0xf68a89,_0x6e57f5){var _0xb7510b=_0x4541d4;_0x6e57f5=this[_0xb7510b(0x1d5)][_0xb7510b(0x2b4)](_0x6e57f5);var _0x1385ef=_0x6e57f5[_0xb7510b(0x32c)][_0xb7510b(0x2e1)](_0xf68a89,_0x35da8d[_0xb7510b(0x1b6)],_0x35da8d[_0xb7510b(0x1da)],_0x6e57f5[_0xb7510b(0x152)],_0x6e57f5['hasher']);_0x6e57f5['iv']=_0x1385ef['iv'];var _0x16b715=_0x48e404[_0xb7510b(0x1c2)][_0xb7510b(0x1a5)](this,_0x35da8d,_0x17b551,_0x1385ef[_0xb7510b(0x27e)],_0x6e57f5);return _0x16b715[_0xb7510b(0x36e)](_0x1385ef),_0x16b715;},'decrypt':function(_0x5672a9,_0x37938a,_0x2ecc46,_0x54ed58){var _0xc21a24=_0x4541d4;_0x54ed58=this[_0xc21a24(0x1d5)][_0xc21a24(0x2b4)](_0x54ed58),_0x37938a=this[_0xc21a24(0x2f3)](_0x37938a,_0x54ed58['format']);var _0x227ce1=_0x54ed58['kdf']['execute'](_0x2ecc46,_0x5672a9['keySize'],_0x5672a9['ivSize'],_0x37938a[_0xc21a24(0x152)],_0x54ed58[_0xc21a24(0x224)]);_0x54ed58['iv']=_0x227ce1['iv'];var _0x5f2bc0=_0x48e404['decrypt'][_0xc21a24(0x1a5)](this,_0x5672a9,_0x37938a,_0x227ce1[_0xc21a24(0x27e)],_0x54ed58);return _0x5f2bc0;}});}();}));}(_0x419bcd)),_0x419bcd[_0x3874ed(0x257)];}var _0x55f1cd=_0x5c5b2b[_0x12ab33(0x257)],_0x296f8d;function _0x23dd96(){return _0x296f8d||(_0x296f8d=0x1,function(_0x2e7aef,_0x2c1795){(function(_0x24fd50,_0x1747f2,_0x1cae4a){var _0x5efa61=_0x4f3d;_0x2e7aef[_0x5efa61(0x257)]=_0x1747f2(_0x2b16a(),_0x1b0b49(),_0x51af11(),_0x47a2cb(),_0x40ad97());}(_0x55f1cd,function(_0x565e9a){var _0x5425eb=_0x4f3d;return(function(){var _0x12b90b=_0x4f3d,_0x2a7e19=_0x565e9a,_0x77d319=_0x2a7e19[_0x12b90b(0x15b)],_0x2c8eca=_0x77d319[_0x12b90b(0x216)],_0x414bc5=_0x2a7e19[_0x12b90b(0x1ec)],_0x9db37c=[],_0x3add15=[],_0x1ea5e4=[],_0x34dffb=[],_0x55d908=[],_0x27e7b6=[],_0x24cb9f=[],_0x3ca3a5=[],_0x2eac54=[],_0x83169=[];(function(){for(var _0x406a4c=[],_0x1fa4aa=0x0;_0x1fa4aa<0x100;_0x1fa4aa++)_0x1fa4aa<0x80?_0x406a4c[_0x1fa4aa]=_0x1fa4aa<<0x1:_0x406a4c[_0x1fa4aa]=_0x1fa4aa<<0x1^0x11b;for(var _0x480001=0x0,_0x4728a5=0x0,_0x1fa4aa=0x0;_0x1fa4aa<0x100;_0x1fa4aa++){var _0x2511ed=_0x4728a5^_0x4728a5<<0x1^_0x4728a5<<0x2^_0x4728a5<<0x3^_0x4728a5<<0x4;_0x2511ed=_0x2511ed>>>0x8^_0x2511ed&0xff^0x63,_0x9db37c[_0x480001]=_0x2511ed,_0x3add15[_0x2511ed]=_0x480001;var _0x328ed5=_0x406a4c[_0x480001],_0x48856e=_0x406a4c[_0x328ed5],_0x25e1b5=_0x406a4c[_0x48856e],_0x1b451e=_0x406a4c[_0x2511ed]*0x101^_0x2511ed*0x1010100;_0x1ea5e4[_0x480001]=_0x1b451e<<0x18|_0x1b451e>>>0x8,_0x34dffb[_0x480001]=_0x1b451e<<0x10|_0x1b451e>>>0x10,_0x55d908[_0x480001]=_0x1b451e<<0x8|_0x1b451e>>>0x18,_0x27e7b6[_0x480001]=_0x1b451e;var _0x1b451e=_0x25e1b5*0x1010101^_0x48856e*0x10001^_0x328ed5*0x101^_0x480001*0x1010100;_0x24cb9f[_0x2511ed]=_0x1b451e<<0x18|_0x1b451e>>>0x8,_0x3ca3a5[_0x2511ed]=_0x1b451e<<0x10|_0x1b451e>>>0x10,_0x2eac54[_0x2511ed]=_0x1b451e<<0x8|_0x1b451e>>>0x18,_0x83169[_0x2511ed]=_0x1b451e,_0x480001?(_0x480001=_0x328ed5^_0x406a4c[_0x406a4c[_0x406a4c[_0x25e1b5^_0x328ed5]]],_0x4728a5^=_0x406a4c[_0x406a4c[_0x4728a5]]):_0x480001=_0x4728a5=0x1;}}());var _0x252100=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2fac8d=_0x414bc5[_0x12b90b(0x14c)]=_0x2c8eca[_0x12b90b(0x2b4)]({'_doReset':function(){var _0x5cf4ba=_0x12b90b,_0xe8c79c;if(!(this[_0x5cf4ba(0x434)]&&this[_0x5cf4ba(0x178)]===this[_0x5cf4ba(0x26b)])){for(var _0x33a630=this['_keyPriorReset']=this[_0x5cf4ba(0x26b)],_0x58caad=_0x33a630[_0x5cf4ba(0xb9)],_0x30750b=_0x33a630[_0x5cf4ba(0x2e2)]/0x4,_0x42a843=this['_nRounds']=_0x30750b+0x6,_0x30eeac=(_0x42a843+0x1)*0x4,_0x38fe65=this['_keySchedule']=[],_0x4c2cfd=0x0;_0x4c2cfd<_0x30eeac;_0x4c2cfd++)_0x4c2cfd<_0x30750b?_0x38fe65[_0x4c2cfd]=_0x58caad[_0x4c2cfd]:(_0xe8c79c=_0x38fe65[_0x4c2cfd-0x1],_0x4c2cfd%_0x30750b?_0x30750b>0x6&&_0x4c2cfd%_0x30750b==0x4&&(_0xe8c79c=_0x9db37c[_0xe8c79c>>>0x18]<<0x18|_0x9db37c[_0xe8c79c>>>0x10&0xff]<<0x10|_0x9db37c[_0xe8c79c>>>0x8&0xff]<<0x8|_0x9db37c[_0xe8c79c&0xff]):(_0xe8c79c=_0xe8c79c<<0x8|_0xe8c79c>>>0x18,_0xe8c79c=_0x9db37c[_0xe8c79c>>>0x18]<<0x18|_0x9db37c[_0xe8c79c>>>0x10&0xff]<<0x10|_0x9db37c[_0xe8c79c>>>0x8&0xff]<<0x8|_0x9db37c[_0xe8c79c&0xff],_0xe8c79c^=_0x252100[_0x4c2cfd/_0x30750b|0x0]<<0x18),_0x38fe65[_0x4c2cfd]=_0x38fe65[_0x4c2cfd-_0x30750b]^_0xe8c79c);for(var _0x27cf80=this[_0x5cf4ba(0xc4)]=[],_0x21f400=0x0;_0x21f400<_0x30eeac;_0x21f400++){var _0x4c2cfd=_0x30eeac-_0x21f400;if(_0x21f400%0x4)var _0xe8c79c=_0x38fe65[_0x4c2cfd];else var _0xe8c79c=_0x38fe65[_0x4c2cfd-0x4];_0x21f400<0x4||_0x4c2cfd<=0x4?_0x27cf80[_0x21f400]=_0xe8c79c:_0x27cf80[_0x21f400]=_0x24cb9f[_0x9db37c[_0xe8c79c>>>0x18]]^_0x3ca3a5[_0x9db37c[_0xe8c79c>>>0x10&0xff]]^_0x2eac54[_0x9db37c[_0xe8c79c>>>0x8&0xff]]^_0x83169[_0x9db37c[_0xe8c79c&0xff]];}}},'encryptBlock':function(_0x124499,_0x2c12ad){var _0x6e5cd0=_0x12b90b;this[_0x6e5cd0(0x23c)](_0x124499,_0x2c12ad,this[_0x6e5cd0(0x3b2)],_0x1ea5e4,_0x34dffb,_0x55d908,_0x27e7b6,_0x9db37c);},'decryptBlock':function(_0x384ad3,_0x4ef811){var _0x21b672=_0x12b90b,_0x1e9569=_0x384ad3[_0x4ef811+0x1];_0x384ad3[_0x4ef811+0x1]=_0x384ad3[_0x4ef811+0x3],_0x384ad3[_0x4ef811+0x3]=_0x1e9569,this[_0x21b672(0x23c)](_0x384ad3,_0x4ef811,this[_0x21b672(0xc4)],_0x24cb9f,_0x3ca3a5,_0x2eac54,_0x83169,_0x3add15);var _0x1e9569=_0x384ad3[_0x4ef811+0x1];_0x384ad3[_0x4ef811+0x1]=_0x384ad3[_0x4ef811+0x3],_0x384ad3[_0x4ef811+0x3]=_0x1e9569;},'_doCryptBlock':function(_0x3c07ae,_0xd8df26,_0xf71c3f,_0x1be839,_0x367d47,_0x29d8fd,_0x9601be,_0x3cb19d){var _0x2be041=_0x12b90b;for(var _0x1dfcfb=this[_0x2be041(0x434)],_0xc0bc56=_0x3c07ae[_0xd8df26]^_0xf71c3f[0x0],_0x3cdc49=_0x3c07ae[_0xd8df26+0x1]^_0xf71c3f[0x1],_0x25a613=_0x3c07ae[_0xd8df26+0x2]^_0xf71c3f[0x2],_0x182b20=_0x3c07ae[_0xd8df26+0x3]^_0xf71c3f[0x3],_0x28cb63=0x4,_0x165e7a=0x1;_0x165e7a<_0x1dfcfb;_0x165e7a++){var _0x469a01=_0x1be839[_0xc0bc56>>>0x18]^_0x367d47[_0x3cdc49>>>0x10&0xff]^_0x29d8fd[_0x25a613>>>0x8&0xff]^_0x9601be[_0x182b20&0xff]^_0xf71c3f[_0x28cb63++],_0x21a64d=_0x1be839[_0x3cdc49>>>0x18]^_0x367d47[_0x25a613>>>0x10&0xff]^_0x29d8fd[_0x182b20>>>0x8&0xff]^_0x9601be[_0xc0bc56&0xff]^_0xf71c3f[_0x28cb63++],_0x3f57d4=_0x1be839[_0x25a613>>>0x18]^_0x367d47[_0x182b20>>>0x10&0xff]^_0x29d8fd[_0xc0bc56>>>0x8&0xff]^_0x9601be[_0x3cdc49&0xff]^_0xf71c3f[_0x28cb63++],_0x469e8c=_0x1be839[_0x182b20>>>0x18]^_0x367d47[_0xc0bc56>>>0x10&0xff]^_0x29d8fd[_0x3cdc49>>>0x8&0xff]^_0x9601be[_0x25a613&0xff]^_0xf71c3f[_0x28cb63++];_0xc0bc56=_0x469a01,_0x3cdc49=_0x21a64d,_0x25a613=_0x3f57d4,_0x182b20=_0x469e8c;}var _0x469a01=(_0x3cb19d[_0xc0bc56>>>0x18]<<0x18|_0x3cb19d[_0x3cdc49>>>0x10&0xff]<<0x10|_0x3cb19d[_0x25a613>>>0x8&0xff]<<0x8|_0x3cb19d[_0x182b20&0xff])^_0xf71c3f[_0x28cb63++],_0x21a64d=(_0x3cb19d[_0x3cdc49>>>0x18]<<0x18|_0x3cb19d[_0x25a613>>>0x10&0xff]<<0x10|_0x3cb19d[_0x182b20>>>0x8&0xff]<<0x8|_0x3cb19d[_0xc0bc56&0xff])^_0xf71c3f[_0x28cb63++],_0x3f57d4=(_0x3cb19d[_0x25a613>>>0x18]<<0x18|_0x3cb19d[_0x182b20>>>0x10&0xff]<<0x10|_0x3cb19d[_0xc0bc56>>>0x8&0xff]<<0x8|_0x3cb19d[_0x3cdc49&0xff])^_0xf71c3f[_0x28cb63++],_0x469e8c=(_0x3cb19d[_0x182b20>>>0x18]<<0x18|_0x3cb19d[_0xc0bc56>>>0x10&0xff]<<0x10|_0x3cb19d[_0x3cdc49>>>0x8&0xff]<<0x8|_0x3cb19d[_0x25a613&0xff])^_0xf71c3f[_0x28cb63++];_0x3c07ae[_0xd8df26]=_0x469a01,_0x3c07ae[_0xd8df26+0x1]=_0x21a64d,_0x3c07ae[_0xd8df26+0x2]=_0x3f57d4,_0x3c07ae[_0xd8df26+0x3]=_0x469e8c;},'keySize':0x100/0x20});_0x2a7e19[_0x12b90b(0x14c)]=_0x2c8eca[_0x12b90b(0x413)](_0x2fac8d);}()),_0x565e9a[_0x5425eb(0x14c)];}));}(_0x5c5b2b)),_0x5c5b2b['exports'];}var _0x2a4277=_0x23dd96();const _0x55ca40=_0x1f767d(_0x2a4277);var _0x517231=_0x1b0b49();const _0x1e044c=_0x1f767d(_0x517231);var _0x214bfa={'exports':{}},_0x2083be=_0x214bfa[_0x12ab33(0x257)],_0x1d5147;function _0x2978a9(){var _0x11ee5d=_0x12ab33;return _0x1d5147||(_0x1d5147=0x1,function(_0x275531,_0x28f317){(function(_0x8a7e1a,_0x574121){_0x275531['exports']=_0x574121(_0x2b16a());}(_0x2083be,function(_0x25528a){var _0xf795e=_0x4f3d;return _0x25528a[_0xf795e(0x3bc)][_0xf795e(0x292)];}));}(_0x214bfa)),_0x214bfa[_0x11ee5d(0x257)];}var _0x319594=_0x2978a9();const _0x1c24ad=_0x1f767d(_0x319594);var _0x46c3c3={'exports':{}},_0x4e81c0=_0x46c3c3[_0x12ab33(0x257)],_0x31f4dc;function _0x384d3d(){var _0xb492ab=_0x12ab33;return _0x31f4dc||(_0x31f4dc=0x1,function(_0x1e3d86,_0x5cae84){(function(_0x29c6b5,_0x4f6c89){var _0x7a9243=_0x4f3d;_0x1e3d86[_0x7a9243(0x257)]=_0x4f6c89(_0x2b16a());}(_0x4e81c0,function(_0x2490be){var _0x34c642=_0x4f3d;return(function(){var _0x21aee0=_0x4f3d;if(typeof ArrayBuffer==_0x21aee0(0x311)){var _0x9ee2aa=_0x2490be,_0x4a2b5c=_0x9ee2aa[_0x21aee0(0x15b)],_0xe22dc=_0x4a2b5c[_0x21aee0(0xdb)],_0xbc48de=_0xe22dc[_0x21aee0(0x33d)],_0x23427a=_0xe22dc[_0x21aee0(0x33d)]=function(_0x1a253c){var _0x113d75=_0x21aee0;if(_0x1a253c instanceof ArrayBuffer&&(_0x1a253c=new Uint8Array(_0x1a253c)),(_0x1a253c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1a253c instanceof Uint8ClampedArray||_0x1a253c instanceof Int16Array||_0x1a253c instanceof Uint16Array||_0x1a253c instanceof Int32Array||_0x1a253c instanceof Uint32Array||_0x1a253c instanceof Float32Array||_0x1a253c instanceof Float64Array)&&(_0x1a253c=new Uint8Array(_0x1a253c[_0x113d75(0x3e2)],_0x1a253c[_0x113d75(0x40b)],_0x1a253c[_0x113d75(0x406)])),_0x1a253c instanceof Uint8Array){for(var _0x43c718=_0x1a253c[_0x113d75(0x406)],_0x16cc83=[],_0x26f730=0x0;_0x26f730<_0x43c718;_0x26f730++)_0x16cc83[_0x26f730>>>0x2]|=_0x1a253c[_0x26f730]<<0x18-_0x26f730%0x4*0x8;_0xbc48de[_0x113d75(0x1a5)](this,_0x16cc83,_0x43c718);}else _0xbc48de['apply'](this,arguments);};_0x23427a['prototype']=_0xe22dc;}}()),_0x2490be[_0x34c642(0x15b)][_0x34c642(0xdb)];}));}(_0x46c3c3)),_0x46c3c3[_0xb492ab(0x257)];}var _0x4c39c6=_0x384d3d();const _0x16e160=_0x1f767d(_0x4c39c6);var _0x4489be={'exports':{}},_0x255f81=_0x4489be[_0x12ab33(0x257)],_0x3c52a5;function _0x381343(){var _0x2cee72=_0x12ab33;return _0x3c52a5||(_0x3c52a5=0x1,function(_0x4ed468,_0x2678e6){(function(_0x52eb0c,_0x17067b,_0x4bc917){var _0x24153d=_0x4f3d;_0x4ed468[_0x24153d(0x257)]=_0x17067b(_0x2b16a(),_0x40ad97());}(_0x255f81,function(_0x3ea9ad){var _0x35e2eb=_0x4f3d;return _0x3ea9ad['pad'][_0x35e2eb(0x32e)]={'pad':function(){},'unpad':function(){}},_0x3ea9ad[_0x35e2eb(0x264)]['NoPadding'];}));}(_0x4489be)),_0x4489be[_0x2cee72(0x257)];}var _0x1fd1cd=_0x381343();const _0x5de6f0=_0x1f767d(_0x1fd1cd);function _0xe10022(_0xb083a5,_0x20d259){var _0x4822fa=_0x12ab33;const _0xc1023b=_0x20d259-_0xb083a5[_0x4822fa(0xe6)]%_0x20d259,_0x20da6c=String[_0x4822fa(0x379)](_0xc1023b)[_0x4822fa(0x143)](_0xc1023b);return _0xb083a5+_0x20da6c;}function _0x5454a4(_0x49f674,_0x41be84){var _0x56200e=_0x12ab33;const _0x269f34=_0x16e160[_0x56200e(0x130)](0x10),_0x33a3c1=_0xe10022(_0x49f674,0x10),_0x3d38f3=_0x55ca40[_0x56200e(0x1c2)](_0x1c24ad['parse'](_0x33a3c1),_0x1e044c[_0x56200e(0x190)](_0x41be84),{'iv':_0x269f34,'padding':_0x5de6f0});return _0x269f34[_0x56200e(0x214)](_0x3d38f3['ciphertext'])[_0x56200e(0x1f5)](_0x1e044c);}function _0x9da52a(){var _0xc6ab1e=_0x12ab33;const _0x442665=_0x514d4e[_0xc6ab1e(0x182)]()[_0xc6ab1e(0x162)];if(_0x442665){const _0x31d899={'time':Math[_0xc6ab1e(0x1af)](Date[_0xc6ab1e(0x265)]()/0x3e8),'domain':location['hostname']};return _0x5454a4(JSON[_0xc6ab1e(0x3b6)](_0x31d899),_0x442665);}}var _0x1512fa=Object[_0x12ab33(0x39e)],_0x4f2a20=(_0x165c36,_0x4b183f,_0x2d5322,_0x22956e)=>{var _0x365b69=_0x12ab33;for(var _0x3064d1=_0x22956e>0x1?void 0x0:_0x22956e?_0x1512fa(_0x4b183f,_0x2d5322):_0x4b183f,_0x1c4863=_0x165c36[_0x365b69(0xe6)]-0x1,_0xbbf632;_0x1c4863>=0x0;_0x1c4863--)(_0xbbf632=_0x165c36[_0x1c4863])&&(_0x3064d1=_0xbbf632(_0x3064d1)||_0x3064d1);return _0x3064d1;},_0x1aa745=(_0xa24644,_0x566ccb)=>(_0x252bd6,_0x4b9ac4)=>_0x566ccb(_0x252bd6,_0x4b9ac4,_0xa24644);let _0x4ebec9=class{constructor(_0x50f80c){var _0x46f8cb=_0x12ab33;this['_httpService']=_0x50f80c,this[_0x46f8cb(0x157)]();}['_initRequestHeader'](){var _0x471a45=_0x12ab33;this[_0x471a45(0xe5)][_0x471a45(0x2ce)]({'interceptor':(_0x28f7b0,_0x253e2d)=>{var _0x15f267=_0x471a45;const _0x2a4cfa=_0x28f7b0['headers'],_0x1c3740=_0x9da52a();return _0x1c3740&&_0x2a4cfa[_0x15f267(0x25b)]('x-univer-host',_0x1c3740),_0x253e2d(_0x28f7b0);}});}};_0x4ebec9=_0x4f2a20([_0x1aa745(0x0,_0x449ba5['Inject'](_0xcd2fb4[_0x12ab33(0xfe)]))],_0x4ebec9);var _0x465e3d=Object['getOwnPropertyDescriptor'],_0x44013e=(_0x7fa64e,_0x2350e9,_0x3b5f6f,_0x355489)=>{var _0x2dcf41=_0x12ab33;for(var _0x4139c0=_0x355489>0x1?void 0x0:_0x355489?_0x465e3d(_0x2350e9,_0x3b5f6f):_0x2350e9,_0x28044b=_0x7fa64e[_0x2dcf41(0xe6)]-0x1,_0x2014a5;_0x28044b>=0x0;_0x28044b--)(_0x2014a5=_0x7fa64e[_0x28044b])&&(_0x4139c0=_0x2014a5(_0x4139c0)||_0x4139c0);return _0x4139c0;},_0x48d482=(_0x4cfe86,_0x41319a)=>(_0x54bdce,_0x2d8658)=>_0x41319a(_0x54bdce,_0x2d8658,_0x4cfe86);_0x4bf482[_0x12ab33(0x35b)]=class extends _0x449ba5[_0x12ab33(0x1fc)]{constructor(_0x2bdd92,_0x424730,_0x516901){var _0x3205d6=_0x12ab33;super(),_0x389841(this,_0x3205d6(0x34a),new _0x550b9f['BehaviorSubject'](null)),_0x389841(this,_0x3205d6(0x2e8),this['_unitInfo$']['asObservable']()),(this[_0x3205d6(0x400)]=_0x2bdd92,this[_0x3205d6(0x25e)]=_0x424730,this['_localCacheService']=_0x516901);}async[_0x12ab33(0x122)](_0x4ce0fe,_0x28737a,_0x3eb626){var _0x5b367e=_0x12ab33;this[_0x5b367e(0x34a)][_0x5b367e(0xaf)]({'unitId':_0x4ce0fe,'type':_0x28737a});let _0x4161c4=null;switch(_0x28737a){case _0x5bae36['UNIVER_SHEET']:{_0x4161c4=await this[_0x5b367e(0x25e)][_0x5b367e(0x3f9)](_0x4ce0fe,_0x3eb626);break;}case _0x5bae36[_0x5b367e(0xef)]:{_0x4161c4=await this[_0x5b367e(0x25e)][_0x5b367e(0xd6)](_0x4ce0fe,_0x3eb626);break;}default:{this['_logService'][_0x5b367e(0x2f2)](_0x5b367e(0x279),_0x5b367e(0x392));break;}}return _0x4161c4;}async[_0x12ab33(0x282)](_0x240d94,_0x2b9ad7,_0x5545fb){var _0x5364fe=_0x12ab33,_0x5ba6a5;this[_0x5364fe(0x34a)][_0x5364fe(0xaf)]({'unitId':_0x240d94,'type':_0x2b9ad7,'subUnitId':_0x5545fb});let _0x4e559c=0x0;const _0x416df8=await((_0x5ba6a5=this['_localCacheService'])==null?void 0x0:_0x5ba6a5[_0x5364fe(0x1c5)](_0x240d94));return _0x416df8&&(_0x416df8[_0x5364fe(0x320)]||_0x416df8[_0x5364fe(0x34d)][_0x5364fe(0xe6)]!==0x0)&&(_0x4e559c=_0x416df8['rev']),_0x4e559c===0x0&&this[_0x5364fe(0x400)][_0x5364fe(0x2ea)](_0x5364fe(0x279),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x5364fe(0x122)](_0x240d94,_0x2b9ad7,_0x4e559c);}},_0x4bf482[_0x12ab33(0x35b)]=_0x44013e([_0x48d482(0x0,_0x449ba5[_0x12ab33(0x37b)]),_0x48d482(0x1,_0x449ba5['Inject'](_0x4811d6['SnapshotService'])),_0x48d482(0x2,_0x449ba5[_0x12ab33(0xce)](_0x6af55a))],_0x4bf482['DataLoaderService']);var _0x59f7ef=Object['getOwnPropertyDescriptor'],_0x512f7a=(_0x2b30ae,_0x11192c,_0xbbbaad,_0x54b47b)=>{var _0x1e30d0=_0x12ab33;for(var _0x3a884e=_0x54b47b>0x1?void 0x0:_0x54b47b?_0x59f7ef(_0x11192c,_0xbbbaad):_0x11192c,_0x19899b=_0x2b30ae[_0x1e30d0(0xe6)]-0x1,_0x19244b;_0x19899b>=0x0;_0x19899b--)(_0x19244b=_0x2b30ae[_0x19899b])&&(_0x3a884e=_0x19244b(_0x3a884e)||_0x3a884e);return _0x3a884e;},_0xf9632b=(_0x33bb74,_0x12fe12)=>(_0x3625e2,_0x442cc9)=>_0x12fe12(_0x3625e2,_0x442cc9,_0x33bb74);const _0x5f5bb5=[_0x12ab33(0x1f2),_0x12ab33(0x29c),_0x12ab33(0x393),_0x12ab33(0x43b),_0x12ab33(0x422)],_0x5a6118=0x5*0x400*0x400,_0x33a84c=_0x12ab33(0x1f9),_0x52ebab=_0x12ab33(0x3d6);_0x4bf482[_0x12ab33(0x418)]=class{constructor(_0x5cf5ad,_0x5c683e,_0x24d72d){var _0x410132=_0x12ab33;_0x389841(this,_0x410132(0x372),0x0),_0x389841(this,_0x410132(0x12e),new _0x550b9f[(_0x410132(0x10a))]()),_0x389841(this,_0x410132(0x3c8),this['_change$']),_0x389841(this,_0x410132(0x357),new Map()),(this['_httpService']=_0x5cf5ad,this[_0x410132(0x3af)]=_0x5c683e,this[_0x410132(0x436)]=_0x24d72d);}[_0x12ab33(0xec)](_0x428d77){var _0x5f4b2f=_0x12ab33;this[_0x5f4b2f(0x372)]=_0x428d77,this[_0x5f4b2f(0x12e)]['next'](_0x428d77);}[_0x12ab33(0x245)](_0x53a22b,_0x544d48){var _0x5de487=_0x12ab33;if(_0x544d48===_0x40ace2['ImageSourceType'][_0x5de487(0x349)]){const _0x594f05=new Image();return _0x594f05['src']=_0x53a22b,_0x594f05;}return this['_imageSourceCache'][_0x5de487(0x1fa)](_0x53a22b);}[_0x12ab33(0x205)](_0x34e552,_0x4125a2,_0x45d6aa){var _0x2c94fb=_0x12ab33;_0x4125a2===_0x40ace2[_0x2c94fb(0xbf)][_0x2c94fb(0x349)]||_0x45d6aa==null||this[_0x2c94fb(0x357)][_0x2c94fb(0x25b)](_0x34e552,_0x45d6aa);}async[_0x12ab33(0x28e)](_0x3451eb){var _0x415ffd=_0x12ab33;try{const _0x22f19d=this['_replaceFileID'](this[_0x415ffd(0x344)](),''+_0x3451eb),_0x5de65b=(await this[_0x415ffd(0xe5)][_0x415ffd(0x1fa)](_0x22f19d))['body'];if(_0x5de65b['error']&&_0x5de65b[_0x415ffd(0x2f2)][_0x415ffd(0x218)]===_0x4c2ac7['OK']){const _0x2c85a9=new URL(_0x5de65b['url'],this[_0x415ffd(0x20c)]())[_0x415ffd(0x1f5)]();return Promise[_0x415ffd(0x3f4)](_0x2c85a9);}return Promise[_0x415ffd(0x300)](_0x5de65b[_0x415ffd(0x2f2)]);}catch(_0x192749){return Promise[_0x415ffd(0x300)](_0x192749);}}async[_0x12ab33(0x2df)](_0xc22b25){var _0x5a4d4c=_0x12ab33;let _0x126919='';if(!_0x5f5bb5['includes'](_0xc22b25[_0x5a4d4c(0x424)]))return this[_0x5a4d4c(0x252)](),Promise[_0x5a4d4c(0x300)](new Error(_0x40ace2['ImageUploadStatusType'][_0x5a4d4c(0x147)]));if(_0xc22b25[_0x5a4d4c(0x283)]>_0x5a6118)return this['_decreaseWaiting'](),Promise[_0x5a4d4c(0x300)](new Error(_0x40ace2[_0x5a4d4c(0x305)][_0x5a4d4c(0x3a7)]));try{const _0xb4acd7=new FormData();_0xb4acd7[_0x5a4d4c(0x362)](_0x5a4d4c(0x2b8),_0xc22b25);const _0x295dc2=this['_univerInstanceService'][_0x5a4d4c(0x19c)](),_0x5efb5c=_0x295dc2==null?void 0x0:_0x295dc2['getUnitId']();if(!_0x5efb5c)throw new Error(_0x5a4d4c(0x104));const _0x13c136=this[_0x5a4d4c(0x115)]()+_0x5a4d4c(0x1dd)+_0xc22b25[_0x5a4d4c(0x283)][_0x5a4d4c(0x1f5)]()+_0x5a4d4c(0x324)+_0x4818ca['UnitEmbedded']+_0x5a4d4c(0x3fe)+encodeURIComponent(_0x5efb5c),_0x4cb491={'body':_0xb4acd7},_0x1d2208=(await this[_0x5a4d4c(0xe5)][_0x5a4d4c(0x3a4)](_0x13c136,_0x4cb491))['body'];if(typeof _0x1d2208[_0x5a4d4c(0x3f6)]!=_0x5a4d4c(0x2eb))return this[_0x5a4d4c(0x252)](),Promise['reject'](new Error(_0x40ace2[_0x5a4d4c(0x305)][_0x5a4d4c(0x170)]));_0x126919=_0x1d2208['FileId'];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x40ace2[_0x5a4d4c(0x305)][_0x5a4d4c(0x170)]));}return new Promise((_0x13cf17,_0x1a71bd)=>{var _0x55bde9=_0x5a4d4c;const _0x206c74=new FileReader();_0x206c74[_0x55bde9(0x25f)](_0xc22b25),_0x206c74['onload']=_0xd238e5=>{var _0x407d38=_0x55bde9,_0x5b51c1;const _0x56a31=(_0x5b51c1=_0xd238e5[_0x407d38(0x3eb)])==null?void 0x0:_0x5b51c1[_0x407d38(0x415)];if(_0x56a31==null){this[_0x407d38(0x252)](),_0x1a71bd(new Error(_0x40ace2['ImageUploadStatusType'][_0x407d38(0x170)]));return;}const _0x9f3188=_0x449ba5[_0x407d38(0x2b3)](0x6);_0x13cf17({'imageId':_0x9f3188,'imageSourceType':_0x40ace2[_0x407d38(0xbf)][_0x407d38(0x201)],'source':_0x126919,'base64Cache':_0x56a31,'status':_0x40ace2[_0x407d38(0x305)][_0x407d38(0x232)]}),this[_0x407d38(0x252)]();};});}[_0x12ab33(0x115)](){var _0x5e272e=_0x12ab33,_0x522a76;const _0x1fbbea=this['_configService']['getConfig'](_0x433534);return(_0x522a76=_0x1fbbea==null?void 0x0:_0x1fbbea[_0x5e272e(0x38a)])!=null?_0x522a76:_0x33a84c;}['_getSignURL'](){var _0x149521=_0x12ab33,_0x76a2b3;const _0x5576ce=this['_configService'][_0x149521(0x18d)](_0x433534);return(_0x76a2b3=_0x5576ce==null?void 0x0:_0x5576ce['signUrlServerUrl'])!=null?_0x76a2b3:_0x52ebab;}['_getDownloadEndpointURL'](){var _0x2d22fb=_0x12ab33,_0x429c7d;const _0x49bdb1=this[_0x2d22fb(0x3af)][_0x2d22fb(0x18d)](_0x433534);return(_0x429c7d=_0x49bdb1==null?void 0x0:_0x49bdb1[_0x2d22fb(0x1d8)])!=null?_0x429c7d:location[_0x2d22fb(0x259)];}[_0x12ab33(0x2cc)](_0x40a3f7,_0x3737da){var _0x26c75e=_0x12ab33;return _0x40a3f7[_0x26c75e(0x227)](_0x26c75e(0x255),_0x3737da);}[_0x12ab33(0x252)](){var _0x32e363=_0x12ab33;this['_waitCount']-=0x1,this[_0x32e363(0x12e)]['next'](this[_0x32e363(0x372)]);}},_0x4bf482[_0x12ab33(0x418)]=_0x512f7a([_0xf9632b(0x0,_0x449ba5[_0x12ab33(0x116)](_0xcd2fb4['HTTPService'])),_0xf9632b(0x1,_0x449ba5[_0x12ab33(0x388)]),_0xf9632b(0x2,_0x449ba5['Inject'](_0x449ba5['IUniverInstanceService']))],_0x4bf482[_0x12ab33(0x418)]);var _0x1b0f63=Object[_0x12ab33(0x39e)],_0x32facc=(_0x46be19,_0x47df1d,_0x17568e,_0x4f1a9b)=>{for(var _0x46c20f=_0x4f1a9b>0x1?void 0x0:_0x4f1a9b?_0x1b0f63(_0x47df1d,_0x17568e):_0x47df1d,_0x50f89a=_0x46be19['length']-0x1,_0xe76be0;_0x50f89a>=0x0;_0x50f89a--)(_0xe76be0=_0x46be19[_0x50f89a])&&(_0x46c20f=_0xe76be0(_0x46c20f)||_0x46c20f);return _0x46c20f;},_0x3eed6d=(_0x279eb0,_0x435cff)=>(_0x4c1ad1,_0x22395a)=>_0x435cff(_0x4c1ad1,_0x22395a,_0x279eb0);const _0x26ea43='/universer-api/authz';_0x4bf482[_0x12ab33(0x1c6)]=class{constructor(_0x314123,_0x55ee93){var _0x3e471a=_0x12ab33;this['_configService']=_0x314123,this[_0x3e471a(0x1b7)]=_0x55ee93;}[_0x12ab33(0x288)](){var _0x2eb369;const _0x39a25f=this['_configService']['getConfig'](_0x433534);return(_0x2eb369=_0x39a25f==null?void 0x0:_0x39a25f['authzUrl'])!=null?_0x2eb369:_0x26ea43;}async[_0x12ab33(0xe2)](_0xe28c83){var _0x245ad6=_0x12ab33;const _0x224354=this[_0x245ad6(0x288)]()+_0x245ad6(0xe0);return{'list':[{'title':_0x245ad6(0x39a),'mentions':(await this[_0x245ad6(0x1b7)][_0x245ad6(0x1fa)](_0x224354,{'params':{'objectID':_0xe28c83[_0x245ad6(0x109)],'unitID':_0xe28c83[_0x245ad6(0x109)]}}))[_0x245ad6(0x3f5)][_0x245ad6(0x3db)]['map'](_0x2fb0d1=>({'objectId':_0x2fb0d1['id'],'name':_0x2fb0d1['subject']['name'],'metadata':{'icon':_0x2fb0d1[_0x245ad6(0x135)][_0x245ad6(0x123)]},'label':_0x2fb0d1[_0x245ad6(0x135)]['name'],'objectType':_0x449ba5[_0x245ad6(0x108)]['PERSON']})),'metadata':{},'type':_0x449ba5[_0x245ad6(0x108)][_0x245ad6(0xc7)]}]};}},_0x4bf482[_0x12ab33(0x1c6)]=_0x32facc([_0x3eed6d(0x0,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x388)])),_0x3eed6d(0x1,_0x449ba5['Inject'](_0xcd2fb4[_0x12ab33(0xfe)]))],_0x4bf482['MentionIoHttpService']);var _0x24e870=Object[_0x12ab33(0x39e)],_0x2fac99=(_0x55ac0b,_0x314c98,_0x38a619,_0xe343a3)=>{var _0x50fa40=_0x12ab33;for(var _0x45ef71=_0xe343a3>0x1?void 0x0:_0xe343a3?_0x24e870(_0x314c98,_0x38a619):_0x314c98,_0x381cf=_0x55ac0b[_0x50fa40(0xe6)]-0x1,_0x318a8c;_0x381cf>=0x0;_0x381cf--)(_0x318a8c=_0x55ac0b[_0x381cf])&&(_0x45ef71=_0x318a8c(_0x45ef71)||_0x45ef71);return _0x45ef71;},_0x576cbb=(_0x4d1853,_0x5ec475)=>(_0x3d0302,_0x1eea1d)=>_0x5ec475(_0x3d0302,_0x1eea1d,_0x4d1853);let _0x1fa16c=class extends _0x449ba5[_0x12ab33(0x1fc)]{constructor(_0x30ef67,_0x36d572,_0x4dab55,_0xf009b5,_0x511f1d){var _0x3cfdd3=_0x12ab33;super(),this[_0x3cfdd3(0x401)]=_0x30ef67,this[_0x3cfdd3(0x436)]=_0x36d572,this[_0x3cfdd3(0x17a)]=_0x4dab55,this[_0x3cfdd3(0x39c)]=_0xf009b5,this[_0x3cfdd3(0x18e)]=_0x511f1d,this[_0x3cfdd3(0x1f0)](),this[_0x3cfdd3(0x2d0)]();}[_0x12ab33(0x2d0)](){var _0x2dfa03=_0x12ab33;const _0x16e3ad=async _0x5293c6=>{var _0x59b656=_0x4f3d;(await this[_0x59b656(0x39c)][_0x59b656(0x29f)](_0x5293c6))[_0x59b656(0x403)]['pipe'](_0x4a20aa['filter'](_0xc657c=>_0xc657c[_0x59b656(0x28c)]===_0x4811d6[_0x59b656(0x381)][_0x59b656(0xfb)]),_0x4a20aa[_0x59b656(0x34b)](this[_0x59b656(0x338)]))['subscribe'](_0x371ae5=>{var _0x124349=_0x59b656;const _0x286ccf=_0x371ae5,{reason:_0x3ac6c9}=_0x286ccf[_0x124349(0x166)];this[_0x124349(0x18e)][_0x124349(0x3c1)]({'id':_0x49a56d[_0x124349(0x375)],'data':_0x3ac6c9}),this[_0x124349(0x17a)]['updatePermissionPoint'](new _0x38c84a[(_0x124349(0x3c9))](_0x5293c6)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x5293c6);});};_0x550b9f[_0x2dfa03(0x421)](this[_0x2dfa03(0x436)][_0x2dfa03(0x43e)](_0x449ba5[_0x2dfa03(0x3c2)][_0x2dfa03(0x343)]),this[_0x2dfa03(0x436)][_0x2dfa03(0x43e)](_0x449ba5[_0x2dfa03(0x3c2)]['UNIVER_DOC']))[_0x2dfa03(0x188)](_0x4a20aa[_0x2dfa03(0xc9)](_0x141361=>_0x141361[_0x2dfa03(0x26f)]()),_0x4a20aa[_0x2dfa03(0x16b)](_0x47f62b=>!_0x449ba5[_0x2dfa03(0xed)](_0x47f62b)),_0x4a20aa[_0x2dfa03(0x34b)](this['dispose$']))[_0x2dfa03(0x368)](_0x26087a=>{_0x16e3ad(_0x26087a);});}[_0x12ab33(0x1f0)](){var _0x37dbd7=_0x12ab33;const _0x4466c3=async _0x516e81=>{var _0x408ae9=_0x4f3d;const _0x2cffb6=await this[_0x408ae9(0x39c)][_0x408ae9(0x29f)](_0x516e81),_0x1d230d=this[_0x408ae9(0x401)][_0x408ae9(0x1fa)](_0x38c84a['SheetPermissionInitController']);_0x2cffb6[_0x408ae9(0x403)]['pipe'](_0x4a20aa[_0x408ae9(0x16b)](_0xad7162=>_0xad7162[_0x408ae9(0x28c)]===_0x4811d6['CollaborationEvent'][_0x408ae9(0x31c)]),_0x4a20aa[_0x408ae9(0x34b)](this['dispose$']))['subscribe'](_0x22ce9d=>{var _0xb6d1e7=_0x408ae9;const _0x16cc3d=_0x22ce9d,{objectId:_0x1cea98}=_0x16cc3d[_0xb6d1e7(0x166)];_0x1cea98===_0x516e81?_0x1d230d[_0xb6d1e7(0x2e6)](_0x516e81):_0x1d230d['refreshPermission'](_0x516e81,_0x1cea98);});};_0x550b9f[_0x37dbd7(0x421)](this[_0x37dbd7(0x436)]['getTypeOfUnitAdded$'](_0x449ba5[_0x37dbd7(0x3c2)][_0x37dbd7(0x343)]))[_0x37dbd7(0x188)](_0x4a20aa['map'](_0x249b03=>_0x249b03['getUnitId']()),_0x4a20aa[_0x37dbd7(0x16b)](_0x383f43=>!_0x449ba5[_0x37dbd7(0xed)](_0x383f43)),_0x4a20aa[_0x37dbd7(0x34b)](this[_0x37dbd7(0x338)]))[_0x37dbd7(0x368)](_0x588f44=>{_0x4466c3(_0x588f44);});}};_0x1fa16c=_0x2fac99([_0x576cbb(0x0,_0x449ba5['Inject'](_0x449ba5[_0x12ab33(0x298)])),_0x576cbb(0x1,_0x449ba5['IUniverInstanceService']),_0x576cbb(0x2,_0x449ba5[_0x12ab33(0x340)]),_0x576cbb(0x3,_0x449ba5[_0x12ab33(0x116)](_0x4bf482[_0x12ab33(0x1b8)])),_0x576cbb(0x4,_0x449ba5[_0x12ab33(0x116)](_0x382c6e))],_0x1fa16c);var _0x5778d2=Object['getOwnPropertyDescriptor'],_0x471df1=(_0x3285e1,_0xd6f492,_0x463ec3,_0x5a06b2)=>{var _0x215eba=_0x12ab33;for(var _0x35484d=_0x5a06b2>0x1?void 0x0:_0x5a06b2?_0x5778d2(_0xd6f492,_0x463ec3):_0xd6f492,_0x1a8199=_0x3285e1[_0x215eba(0xe6)]-0x1,_0x448010;_0x1a8199>=0x0;_0x1a8199--)(_0x448010=_0x3285e1[_0x1a8199])&&(_0x35484d=_0x448010(_0x35484d)||_0x35484d);return _0x35484d;},_0xe0dae1=(_0x14e96c,_0x5a38d2)=>(_0x4d63d3,_0x25e2ed)=>_0x5a38d2(_0x4d63d3,_0x25e2ed,_0x14e96c);_0x4bf482['SnapshotServerOverHTTPService']=class{constructor(_0xfb6115,_0x32a864){var _0x2ca7c4=_0x12ab33;this[_0x2ca7c4(0x3af)]=_0xfb6115,this[_0x2ca7c4(0xe5)]=_0x32a864;}async['getUnitOnRev'](_0x1a351c,_0xb08560){var _0xca1456=_0x12ab33,_0x7f8f8c;const {unitID:_0x3ae698,type:_0x320c69,revision:_0x2feb72=0x0}=_0xb08560,_0x51f4df=this[_0xca1456(0x278)]()+'/'+_0x320c69+_0xca1456(0x1a9)+_0x3ae698+_0xca1456(0x117)+_0x2feb72,_0x52869f=(await this[_0xca1456(0xe5)][_0xca1456(0x1fa)](_0x51f4df))[_0xca1456(0x3f5)],_0xe48d7b=(_0x7f8f8c=_0x52869f[_0xca1456(0x3fa)])==null?void 0x0:_0x7f8f8c[_0xca1456(0xcf)];if(_0xe48d7b){const _0xcdfd52=_0xe48d7b==null?void 0x0:_0xe48d7b[_0xca1456(0x2be)],_0x48b589=_0x4811d6[_0xca1456(0x3f0)][_0xca1456(0x35c)](_0x4811d6[_0xca1456(0x301)](_0xcdfd52));_0xe48d7b[_0xca1456(0x2be)]=_0x48b589,Object['entries'](_0xe48d7b['sheets'])[_0xca1456(0x17b)](([,_0x78e059])=>{var _0x19fb86=_0xca1456;const _0x49526f=_0x78e059[_0x19fb86(0x2be)],_0xd9fa92=_0x4811d6[_0x19fb86(0x3f0)][_0x19fb86(0x35c)](_0x4811d6['b64DecodeUnicode'](_0x49526f));_0x78e059[_0x19fb86(0x2be)]=_0xd9fa92;});}return _0x52869f;}async[_0x12ab33(0x1d2)](_0x156ca2,_0x14ff1a){var _0x58e126=_0x12ab33;const {unitID:_0x118a72,type:_0x483b3e,blockID:_0x6259ef}=_0x14ff1a,_0x577bc8=this[_0x58e126(0xdd)]()+'/'+_0x483b3e+_0x58e126(0x1a9)+_0x118a72+_0x58e126(0x2cd)+_0x6259ef;return(await this['_httpService'][_0x58e126(0x1fa)](_0x577bc8))[_0x58e126(0x3f5)];}async[_0x12ab33(0x243)](_0x42f7c1,_0x2a9e32){var _0x61c95c=_0x12ab33;const {unitID:_0x16e497,type:_0x689c9d,blockID:_0x277ecb}=_0x2a9e32,_0x4c57d4=this[_0x61c95c(0xdd)]()+'/block/'+_0x689c9d+_0x61c95c(0x1a9)+_0x16e497+'/block/'+_0x277ecb;return(await this[_0x61c95c(0xe5)][_0x61c95c(0x1fa)](_0x4c57d4))[_0x61c95c(0x3f5)];}async['fetchMissingChangesets'](_0x1334a0,_0x3965c1){var _0xded6fe=_0x12ab33;const {unitID:_0x5246b6,type:_0x2d12f4,from:_0x204a85,to:_0x49bcc1}=_0x3965c1,_0x48e92d=this['_getAPIPrefix']()+'/'+_0x2d12f4+_0xded6fe(0x1a9)+_0x5246b6+_0xded6fe(0x35a)+_0x204a85+'&to='+_0x49bcc1;return(await this[_0xded6fe(0xe5)]['get'](_0x48e92d))['body'];}[_0x12ab33(0x278)](){var _0x4e291d=_0x12ab33,_0x2efc15;return(_0x2efc15=this[_0x4e291d(0x3af)][_0x4e291d(0x18d)](_0x574fde))!=null?_0x2efc15:this[_0x4e291d(0xdd)]();}[_0x12ab33(0xdd)](){var _0x48b900=_0x12ab33,_0x15a224;const _0x4e7db9=this['_configService']['getConfig'](_0x433534);return(_0x15a224=_0x4e7db9==null?void 0x0:_0x4e7db9[_0x48b900(0x319)])!=null?_0x15a224:_0x20340e;}async[_0x12ab33(0x2ca)](_0x241aed,_0x28ef90){var _0x3aa77f=_0x12ab33;const _0x3e8d7c=_0x3aa77f(0xf5)+_0x28ef90[_0x3aa77f(0x424)]+'/unit/'+_0x28ef90['unitID']+'/resources';return(await this[_0x3aa77f(0xe5)][_0x3aa77f(0x1fa)](_0x3e8d7c,{'params':{'resourceId':JSON[_0x3aa77f(0x3b6)](_0x28ef90[_0x3aa77f(0x3c5)])}}))[_0x3aa77f(0x3f5)];}['saveSnapshot'](){var _0x4bc03f=_0x12ab33;throw new Error(_0x4bc03f(0x231));}['updateSnapshot'](){var _0x52b6bd=_0x12ab33;throw new Error(_0x52b6bd(0x231));}[_0x12ab33(0x16f)](){var _0x25f127=_0x12ab33;throw new Error(_0x25f127(0x231));}['saveChangeset'](){var _0x3d4ddf=_0x12ab33;throw new Error(_0x3d4ddf(0x231));}[_0x12ab33(0x43d)](){var _0x5b2582=_0x12ab33;throw new Error(_0x5b2582(0x231));}[_0x12ab33(0xea)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x4bf482[_0x12ab33(0x2ab)]=_0x471df1([_0xe0dae1(0x0,_0x449ba5[_0x12ab33(0x388)]),_0xe0dae1(0x1,_0x449ba5[_0x12ab33(0x116)](_0xcd2fb4['HTTPService']))],_0x4bf482[_0x12ab33(0x2ab)]);var _0x369736=Object[_0x12ab33(0x39e)],_0x5ef29d=(_0x14754c,_0x1ced30,_0x21ddbd,_0x44f267)=>{var _0x30310d=_0x12ab33;for(var _0x4bd761=_0x44f267>0x1?void 0x0:_0x44f267?_0x369736(_0x1ced30,_0x21ddbd):_0x1ced30,_0x39ffef=_0x14754c[_0x30310d(0xe6)]-0x1,_0x26ba1f;_0x39ffef>=0x0;_0x39ffef--)(_0x26ba1f=_0x14754c[_0x39ffef])&&(_0x4bd761=_0x26ba1f(_0x4bd761)||_0x4bd761);return _0x4bd761;},_0x366127=(_0xefe11f,_0x51b20e)=>(_0x3b2385,_0x5b9b6b)=>_0x51b20e(_0x3b2385,_0x5b9b6b,_0xefe11f);_0x4bf482[_0x12ab33(0x16e)]=class extends _0x449ba5[_0x12ab33(0x385)]{constructor(_0x51d771,_0x80c7a1,_0x3a001f,_0x1c124f,_0x51c687){var _0x38b7dd=_0x12ab33;super(_0x51d771,_0x80c7a1,_0x3a001f),this['_transformService']=_0x1c124f,this[_0x38b7dd(0x400)]=_0x51c687;}[_0x12ab33(0x138)](_0x5c6923,_0x527b57){var _0x5b386a=_0x12ab33;const _0x492e06=this[_0x5b386a(0x2a1)](_0x5c6923);if(_0x492e06)try{const _0x38ab32=this['_transformStack'](_0x492e06,_0x527b57);this[_0x5b386a(0x3ae)](_0x5c6923,_0x38ab32);}catch(_0x49e422){this[_0x5b386a(0x400)][_0x5b386a(0x2f2)]('[CollaborationUndoRedoService]',_0x49e422),this[_0x5b386a(0x165)](_0x5c6923);}const _0x580b58=this[_0x5b386a(0x37c)](_0x5c6923);if(_0x580b58)try{const _0x248017=this[_0x5b386a(0x285)](_0x580b58,_0x527b57);this[_0x5b386a(0x334)](_0x5c6923,_0x248017);}catch(_0x3545da){this[_0x5b386a(0x400)]['error'](_0x3545da),this[_0x5b386a(0x172)](_0x5c6923);}}[_0x12ab33(0x165)](_0x2aae33){var _0x3c196c=_0x12ab33;const _0xc670e3=this[_0x3c196c(0x2a1)](_0x2aae33);_0xc670e3&&(_0xc670e3['length']=0x0,this['_updateStatus']());}[_0x12ab33(0x172)](_0x23dd34){var _0x1566d3=_0x12ab33;const _0x196ae8=this['_getRedoStack'](_0x23dd34);_0x196ae8&&(_0x196ae8[_0x1566d3(0xe6)]=0x0,this['_updateStatus']());}[_0x12ab33(0x3ae)](_0x19a94d,_0x525b71){var _0x1d5394=_0x12ab33;this[_0x1d5394(0x333)][_0x1d5394(0x25b)](_0x19a94d,_0x525b71),this[_0x1d5394(0x384)]();}[_0x12ab33(0x334)](_0x2e1a82,_0x2ac386){var _0xa5c059=_0x12ab33;this[_0xa5c059(0x3d9)][_0xa5c059(0x25b)](_0x2e1a82,_0x2ac386),this[_0xa5c059(0x384)]();}[_0x12ab33(0x285)](_0x450e2b,_0xea5d2c){var _0x36ff6e=_0x12ab33;const _0x2c7c08=[];let _0x5c63ad=_0xea5d2c,_0x203326=_0xea5d2c;for(let _0xd44976=_0x450e2b[_0x36ff6e(0xe6)]-0x1;_0xd44976>=0x0;_0xd44976--){const {unitID:_0x2816ce,undoMutations:_0x30f8fa,redoMutations:_0x349df1}=_0x450e2b[_0xd44976],_0x34e9d4=this[_0x36ff6e(0x180)]['transformMutationsWithChangeset'](_0x5c63ad,_0x30f8fa),_0x17e6f6=this['_transformService']['transformMutationsWithChangeset'](_0x203326,_0x349df1);if(_0x4811d6['isTransformMutationsWithChangesetFailure'](_0x34e9d4)||_0x4811d6[_0x36ff6e(0x1c7)](_0x17e6f6)){this[_0x36ff6e(0x400)][_0x36ff6e(0x2f2)]('[CollaborationUndoRedoService]',_0x36ff6e(0x430),_0x34e9d4,_0x17e6f6);break;}_0x5c63ad=_0x34e9d4[_0x36ff6e(0x184)],_0x203326=_0x17e6f6[_0x36ff6e(0x184)],_0x2c7c08[_0x36ff6e(0x125)]({'unitID':_0x2816ce,'undoMutations':_0x34e9d4[_0x36ff6e(0x304)],'redoMutations':_0x17e6f6[_0x36ff6e(0x304)]});}return _0x2c7c08[_0x36ff6e(0x237)]();}},_0x4bf482['CollaborativeUndoRedoService']=_0x5ef29d([_0x366127(0x0,_0x449ba5['IUniverInstanceService']),_0x366127(0x1,_0x449ba5['ICommandService']),_0x366127(0x2,_0x449ba5['IContextService']),_0x366127(0x3,_0x4811d6[_0x12ab33(0x3d0)]),_0x366127(0x4,_0x449ba5[_0x12ab33(0x37b)])],_0x4bf482[_0x12ab33(0x16e)]);var _0x3f2f9d=Object[_0x12ab33(0x25d)],_0xb67842=Object['getOwnPropertyDescriptor'],_0x11dcb0=(_0x529937,_0x2b45a4,_0x1bf29a)=>_0x2b45a4 in _0x529937?_0x3f2f9d(_0x529937,_0x2b45a4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1bf29a}):_0x529937[_0x2b45a4]=_0x1bf29a,_0xfca091=(_0x286b1d,_0x5def32,_0x379512,_0x34bcd8)=>{for(var _0x51f009=_0x34bcd8>0x1?void 0x0:_0x34bcd8?_0xb67842(_0x5def32,_0x379512):_0x5def32,_0x609367=_0x286b1d['length']-0x1,_0x23d540;_0x609367>=0x0;_0x609367--)(_0x23d540=_0x286b1d[_0x609367])&&(_0x51f009=_0x23d540(_0x51f009)||_0x51f009);return _0x51f009;},_0x381425=(_0x1a2401,_0x7f1279)=>(_0x2c6d7e,_0x2996b2)=>_0x7f1279(_0x2c6d7e,_0x2996b2,_0x1a2401),_0x45441b=(_0xff8fce,_0x53dc2a,_0x4205d5)=>_0x11dcb0(_0xff8fce,_0x53dc2a+'',_0x4205d5);const _0x7ec1cb='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x4bf482[_0x12ab33(0x43c)]=class extends _0x449ba5[_0x12ab33(0x175)]{constructor(_0x567aea,_0x11f1fa,_0x65634e,_0x3d7279){var _0x114f46=_0x12ab33;super(),_0x389841(this,_0x114f46(0xf9)),(this[_0x114f46(0x400)]=_0x11f1fa,this[_0x114f46(0x401)]=_0x65634e,this[_0x114f46(0x3af)]=_0x3d7279);const {..._0x5ed89f}=_0x449ba5['merge']({},_0x17c09c,_0x567aea);if(!_0x5ed89f[_0x114f46(0x1f7)])throw new Error(_0x114f46(0x20b));this['_config']=_0x5ed89f,this[_0x114f46(0x3af)][_0x114f46(0x24a)](_0x433534,_0x5ed89f);}['onStarting'](){var _0x4b0ec7=_0x12ab33;this[_0x4b0ec7(0x2d7)](),this[_0x4b0ec7(0x2cf)]();}[_0x12ab33(0x2d7)](){var _0x24c4f5=_0x12ab33,_0x17b92a,_0x1b91a6;this[_0x24c4f5(0x401)][_0x24c4f5(0xd9)](_0x449ba5[_0x24c4f5(0x36d)])&&this[_0x24c4f5(0x400)][_0x24c4f5(0x2f2)](_0x24c4f5(0x369),_0x24c4f5(0x210));const _0x3cb2e2=_0x449ba5[_0x24c4f5(0x23f)]([[_0x449ba5[_0x24c4f5(0x36d)],{'useClass':_0x4bf482[_0x24c4f5(0x16e)]}],[_0x4bf482[_0x24c4f5(0x1b8)]],[_0x4bf482['MemberService']],[_0x4bf482[_0x24c4f5(0x280)]],[_0x559bbf],[_0x4ebec9],[_0x5d6148],[_0x1fa16c],[_0x382c6e],[_0x4bf482['DataLoaderService']],[_0x559ff3,{'useClass':this[_0x24c4f5(0xf9)][_0x24c4f5(0x1f7)]}],[_0x4811d6[_0x24c4f5(0x36f)],{'useClass':_0x4bf482['SnapshotServerOverHTTPService']}],[_0x449ba5[_0x24c4f5(0x16d)],{'useClass':_0x4bf482[_0x24c4f5(0x395)]}],[_0x40ace2[_0x24c4f5(0x2b1)],{'useClass':_0x4bf482['CollaborationImageIoService']}],[_0x449ba5[_0x24c4f5(0x440)],{'useClass':_0x4bf482[_0x24c4f5(0x1c6)]}],[_0x4bf482[_0x24c4f5(0x164)]],[_0x3f6d3c]],(_0x17b92a=this[_0x24c4f5(0xf9)])==null?void 0x0:_0x17b92a[_0x24c4f5(0x221)]);if(!((_0x1b91a6=this[_0x24c4f5(0xf9)])!=null&&_0x1b91a6[_0x24c4f5(0x356)])){const _0x2f2d66=_0x3cb2e2[_0x24c4f5(0x342)](([_0x31e495])=>_0x31e495===_0x6f1b14);_0x2f2d66!==-0x1&&_0x3cb2e2[_0x24c4f5(0x3f1)](_0x2f2d66,0x1);}_0x449ba5[_0x24c4f5(0x425)](this['_injector'],_0x3cb2e2);}[_0x12ab33(0x2cf)](){var _0x498b08=_0x12ab33,_0xdb4e11,_0x22be32,_0x26a761;this[_0x498b08(0x401)][_0x498b08(0x1fa)](_0xcd2fb4[_0x498b08(0xfe)])[_0x498b08(0x2ce)]({'priority':0x14,'interceptor':_0xcd2fb4[_0x498b08(0x23a)]({'maxParallel':0x6})}),(_0xdb4e11=this[_0x498b08(0xf9)])!=null&&_0xdb4e11['enableOfflineEditing']||(_0x22be32=this[_0x498b08(0x401)][_0x498b08(0x1fa)](_0x6af55a,_0x449ba5['Quantity'][_0x498b08(0x3e0)]))==null||_0x22be32[_0x498b08(0x19e)](),(_0x26a761=this['_config'])!=null&&_0x26a761[_0x498b08(0x1dc)]&&_0x449ba5[_0x498b08(0x30e)](this[_0x498b08(0x401)],[[_0x559bbf]]),_0x449ba5[_0x498b08(0x30e)](this[_0x498b08(0x401)],[[_0x4ebec9],[_0x4bf482[_0x498b08(0x164)]],[_0x1fa16c]]);}},_0x45441b(_0x4bf482['UniverCollaborationClientPlugin'],_0x12ab33(0x198),_0x7ec1cb),_0x4bf482['UniverCollaborationClientPlugin']=_0xfca091([_0x449ba5[_0x12ab33(0x2a9)](_0x4811d6[_0x12ab33(0x29b)],_0xcd2fb4[_0x12ab33(0x1e7)]),_0x381425(0x1,_0x449ba5[_0x12ab33(0x37b)]),_0x381425(0x2,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0x381425(0x3,_0x449ba5[_0x12ab33(0x388)])],_0x4bf482['UniverCollaborationClientPlugin']),_0x4bf482[_0x12ab33(0x19b)]=_0x433534,_0x4bf482['CollaborationStatus']=_0x1bd308,_0x4bf482[_0x12ab33(0x15c)]=_0x49a56d,_0x4bf482['CollaborationUIEventService']=_0x382c6e,_0x4bf482[_0x12ab33(0x100)]=_0x5d6148,_0x4bf482['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x19a15b,_0x4bf482['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0xa6350f,_0x4bf482[_0x12ab33(0x2c2)]=_0x71609,_0x4bf482[_0x12ab33(0x1a7)]=_0x5f4e3a,_0x4bf482['HEARTBEAT_TIMEOUT_KEY']=_0x5e9f32,_0x4bf482[_0x12ab33(0x332)]=_0x559ff3,_0x4bf482['ILocalCacheService']=_0x6af55a,_0x4bf482[_0x12ab33(0xcc)]=_0x22ffa0,_0x4bf482[_0x12ab33(0x29e)]=_0x6f1b14,_0x4bf482['LOCAL_CACHE_INTERVAL']=0x3e8,_0x4bf482[_0x12ab33(0x314)]=_0x395175,_0x4bf482[_0x12ab33(0x28a)]=_0x4a651b,_0x4bf482[_0x12ab33(0x114)]=_0x8019cb,_0x4bf482[_0x12ab33(0x1b9)]=_0x439d16,_0x4bf482[_0x12ab33(0x32a)]=_0x5f5425,_0x4bf482['deserializeToCombResponse']=_0x4820e4,_0x4bf482[_0x12ab33(0x284)]=_0x5bc769,_0x4bf482['serializeCombRequest']=_0x111693,Object['defineProperty'](_0x4bf482,Symbol['toStringTag'],{'value':'Module'});}));function _0x16cf(){var _0x27e3d0=['_imageSourceCache','SUBMIT_CHANGESET_TIMEOUT','_disableEditing','/fetchmissing?from=','DataLoaderService','encode','selections','dispose','_toggleOffline','UNIVER_SLIDE','_clearRetryConnectingTimer','append','_clearScheduledTask','newCsEvent','_reverseMap','_sendHeartbeatTimer','/universer-api/comb','subscribe','[UniverCollaborationClientPlugin]','_socket$','Could\x20not\x20dynamically\x20require\x20\x22','toDisposable','IUndoRedoService','mixIn','ISnapshotServerService','AwaitingWithPendingState','\x0aCurrent:\x20','_waitCount','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','CLOSE_ROOM','UniverProLicense','POST','_submitChangeset','fromCharCode','/universer-api/uniscript','ILogService','_getRedoStack','createIdentifier','_doCreateSocket','InsertSheetMutation','deepClone','CollaborationEvent','APPLY_REJECT','CHANGESET_REJ','_updateStatus','LocalUndoRedoService','LICENSE_DISTRO_REJECTED','reqId','IConfigService','blockSize','uploadFileServerUrl','IUniverInstanceService','message$','ClipsheetFragments','GLOBAL_ROOMS_CNT_EXCEEDS','PAYMENT_CHANNEL_NOT_SUPPORT','SyncedState','reset','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','image/jpg','add','AuthzIoHttpService','_sessionStatus$','PendingState','_changesetReqId','_initMergeInterceptor','People','finalize','_collaborationSessionService','randomBytes','getOwnPropertyDescriptor','Undefined','SOCKET_FAILED','retryConnectingInterval','auth.needGotoLoginAlert','ReplaySubject','post','confirm','sid','ERROR_EXCEED_SIZE','_sendingTimer','joinEvent','EvpKDF','patch','_remoteChangesetQueue','_collaborationTimeoutTimer','_substituteUndoStack','_configService','_nDataBytes','SNAPSHOT_HAS_BEEN_REMOVED','_keySchedule','COMPLETION_FINISHED','SheetsSelectionsService','getUnitStatus$','stringify','CollaborationSession','clone','COMMENT_UPDATE','UniverSheets','name','enc','HmacSHA1','put','_candidateSocket','take','emitEvent','UniverInstanceType','_telemetryInfo','_transformStateCache','resourceIDs','getCurrentRevOfUnit','UniverNetwork','change$','WorkbookEditablePermission','19hMyBCy','onLocalMutation','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','editing\x20status\x20changed\x20to','_startCollaboration','_data','ITransformService','OFFLINE','_localCacheService','MUTATION','_throwTelemetryCollaborationNewChangeset','synced','/universer-api/file/{fileID}/sign-url','_lockTransition','EMAIL_VERIFY_CODE_MISMATCH','_redoStacks','not_collab','collaborators','_collaborationPaused','_resendTimeout','_entityInit$','_onLocalMutation','OPTIONAL','_queuedRemoteChangesets','buffer','onTransformSelections','APPLY_REVISION_CONFILICT','_checkMissing','_clearHeartbeatTimer','getRoom','_awaitingChangeset','USER_NOT_INVITED_CODE','delete','target','_entities','NOT_FOUND','APPLY_NON_SEQUENTIAL_REVISION','_members$','textEncoder','splice','MSG_FOR_ERROR','LICENSE_IMPORT_SIZE_EXCEEDED','resolve','body','FileId','reduce','_cipher','loadSheet','snapshot','_onCombEvent','hasOwnProperty','_roomMembers','&assign=','CURRENT_STATUS_CANNOT_OPERATE','_logService','_injector','UnitEmbedded','event$','PSEUDO_FETCH_MISSING_RESULT','UNAUTHENTICATED','byteLength','INVITE_CODE_ALREADY_BOUND','_getCurrentRevision','LIVESHARE_REQUEST_HOST','onMissingChangesets','byteOffset','_commentUpdate$','_retryConnectingTimer','updateCursorEvent','YUUMI_NO_CUBOID_FOR_QUESTION','waitForRoom$','2314UohiNB','_commentService','_createHelper','YUUMI_ALL_TABLES_IS_INVALID','result','_networkConditionService','_maxTotalRetryTimeout','CollaborationImageIoService','_doFinalize','msCrypto','@univerjs/drawing','onMissedChangesetFetched','INTERNAL_ERROR','collaboration_new_changeset','parseProtocolChangeset','@univerjs/telemetry','merge','image/bmp','FAIL','type','registerDependencies','ALREADY_EXISTS','collaboration-client.local-cache-service','ERROR_AGAIN','join','JOIN_ROOM_FULL','interceptor','ENTITLE_CAN_NOT_BUY_LOWER_OTP','REDEMPTION_CODE_FULLY_REDEEMED','_tryReconnect','USERS_LEAVE','transformStack\x20failed!','JOIN','open$','FetchingMissState','_nRounds','cmd','_univerInstanceService','_timeoutTimer','crypto','href','Base64','image/gif','UniverCollaborationClientPlugin','copyFileMeta','getTypeOfUnitAdded$','awaiting','IMentionIOService','_clearCollaborationTimeoutTimer','subUnitId','startTime','HELLO','_onRemoteRejected','next','CollaborationEntity','JSONX','_executeRemoteChangeset','YUUMI_TABLE_NOT_FOUND_IN_UNIT','socket$','REDEMPTION_USER_NOT_ELIGIBLE','_startTelemetryCollaborationNewChangeset','NOT_COLLAB','onCommentUpdate','words','shouldCloseConn','_xformMode','_clearTimeoutTimer','_retryCount','$super','ImageSourceType','abs','AWAITING','[CollaborationSessionService]','onStateChange','_invKeySchedule','UNRECOGNIZED','_scheduleCompleteTimestamp','PERSON','HMAC','map','objectID','resend','INetworkConditionService','_clearLocalCache','Optional','workbook','UNIVER_PROJECT','rxjs','_syncEditingCollabCursor','_acknowledgedAwaitingChangeset','_DEC_XFORM_MODE','changesets','loadDoc','OpenSSL','_rescheduleHeartbeat','has','asObservable','WordArray','_updateLocalCache','_getAPIPrefix','ENTITLE_COUPON_USED_UP','roomInfos','/collaborator','getValue','list','updateMember','_sheetTransformSelectionsService','_httpService','length','allowed','getCurrentUser','pending','getLatestCsReqIdBySid','REDEMPTION_USER_REDEEM_TIMES_EXCEED','setWaitCount','isInternalEditorID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNIVER_DOC','_revisionService','17588THRfOc','235459IdXPGZ','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','onTransformRemoteChangesetByIMECache','/universer-api/snapshot/','getUnit','@univerjs/sheets','charCodeAt','_config','_event$','SHOULD_CLOSE_CONN','_onJoinRoomEvent','CHANGESET_REVISION_CONFILICT','HTTPService','ENTITLE_CHAT_LIMIT_EXCEED','CommentService','_incrementRevisionNumber','_iv','LEAVE','unitId\x20is\x20not\x20found','_handlerCallback','Disposable','YUUMI_UNABLE_LOAD_URL','MentionType','unitId','Subject','10939848wvyinx','listRoles','_transformIMECache','csAckEvent','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','memberID','?url=','UniverProCollaborationClient','UserProfileImg','RETRY_CONNECTING_MAX_COUNT_KEY','_getUploadFileURL','Inject','/rev/','getAllMembers','CHANGESET_SHOULD_RETRY','_compressMutationService','update','getWorkbookSelections','_waitForHeartbeatResponse','onSyncEditingCollabCursor','getMember','onRemoteRej','getInterceptPoints','loadUnitOfRevision','avatar','onSendChangeset','push','Error\x20on\x20receiving\x20event','_scheduleCollaborationTimeoutTimer','createCollaborator','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_unitID','_socketService','_showConflictNotification','_createHandler','_change$','stopTime','random','save\x20fail\x20reason\x20is\x20','liveShareNewHost','_shouldReportTelemetry','fetchMissingChangesets','subject','SNAPSHOT_URL_KEY','AwaitingState','transformUndoRedo','duration','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Hasher','/object','USERS_ENTER','CBC','__creator','_collabSessionService','MOBILE_HAS_BEEN_BOUND','create','repeat','sendChangesetTimeout','_map','reconnect','ERROR_IMAGE_TYPE','Hex','baseRev','Encryptor','FETCH_MISSING','AES','createEncryptor','collaMsg','state','catch','PERMISSION_REJ','salt','collabWebSocketUrl','UniverProCollaboration','onRemoteRetry','max','_initRequestHeader','INVITE_CODE_REQUIRED','getCollabEntity','online$','lib','CollaborationUIEventId','delay','[CollaborationSession]','SYNCED','UserManagerService','_onOffline','__Key__','unpad','CollaborationController','_clearUndo','data','getTypeOfUnitDisposed$','5222789hQezPT','min','36thZojY','filter','_onConnectionFailed','IAuthzIoService','CollaborativeUndoRedoService','saveSheetBlock','ERROR_IMAGE','_getSendChangesetTimeout','_clearRedo','ENTITLE_DUP_SUBSCRIPTION','UnitSnapshot','Plugin','LICENSE_MAX_UNITS_EXCEEDED','onMutationExecutedForCollab','_keyPriorReset','onRemoteChangeset','_permissionService','forEach','routeKey','format','closeSession','_userManagerService','_transformService','APPLY_DUPLICATED','getGlobalObject','unitID','c1Prime','deleteCollaborator','ENTITLE_REPORT_LIMIT_EXCEED','_hasher','pipe','_onConnectionOpen','_localeService','_schedule','ciphertext','getConfig','_collaborationUIEventService','onTransformRemoteChangesetByStateCache','parse','session.room-not-exists','_isPermissionRej','_onMessage','WECHAT_HAS_BEEN_BOUND','ENTITLE_INVALID_COUPON_CODE','fetch_missing','collaboration-client.config','pluginName','send','univer-pro.collaboration-client.network-condition.service','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getFocusedUnit','_type','disableLocalCache','SHA1','MemberService','getTime','getActiveSheet','LOGIN_TOKEN_PROCESSING_FAILED','UNIVER_UNKNOWN','call','YUUMI_AI_RUN_FAILED','HEARTBEAT_INTERVAL_KEY','removeMember','/unit/','listCollaborators','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_doReset','LIVESHARE_OPERATION','_exhaustRemoteChangesetQueue','floor','parseChangesetToProtocol','transformMutationsWithChangeset','addHandlerCallback','awaiting_with_pending','SetSelectionsOperation','UNKNOWN_CODE','keySize','_HTTPService','CollaborationSessionService','SessionStatus','updateOfflineData','unsubscribe','_resendTimer','_sessions','[PendingState]:\x20received\x20acknowledgement.','padding','Tools','[FetchMissState]','encrypt','DisposableCollection','focused$','loadOfflineData','MentionIoHttpService','isTransformMutationsWithChangesetFailure','objectActions','PERMISSION_DENIED','commentUpdateEvent','Rectangle','location','session','JOIN_ROOM_FAILED','_status$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','from','getSheetBlock','clamp','OTHER_CLIENTS_EDITING','cfg','/universer-api/snapshot','_onRecvEvent','downloadEndpointUrl','onlyLocal','ivSize','decrypt','enableAuthServer','?size=','_getCtorByUniverType','UNDEFINED','_onRemoteChangeset','_emitMembers','_commandService','@univerjs/core','formatter','close','REDEMPTION_CODE_HAS_BEEN_CREATED','UniverNetworkPlugin','_transformSelections','method','operators','[OfflineState]:\x20received\x20changeset.','algo','localeService','Cipher','COMPRESS_MUTATION_SEND','_initUnitPermissionChange','ENTITLE_NEED_BILLING_ADDRESS','image/png','EmptyMutationInfo','_state','toString','_joinRoom','socketService','BehaviorSubject','/universer-api/stream/file/upload','get','_ENC_XFORM_MODE','RxDisposable','appendMutation','actions','members$','ConflictState','UUID','_listenToNetworkCondition','_undoRedoService','clear','addImageSourceCache','firstValueFrom','UNISCRIPT_RUN','REDEMPTION_CODE_NOT_STARTED','_transitionLocked','ICommandService','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_getDownloadEndpointURL','ONLINE','YUUMI_CONNECTOR_URL_NOT_FOUND','UniverDrawing','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','updatePermissionObjEvent','getSheetId','authzUrl','concat','_pendingMutations','BlockCipher','OTHER_CLIENT_EDITING','code','_onConflict','amd','_roomCreated$','ITelemetryService','2960140bTtuag','disposeWithMe','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_socket','override','_onRemoteRetry','isPermissionRej','hasher','shareReplay','DocCollaborationEntity','replace','[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.','_process','find','_singleActiveUnitService','encryptBlock','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','compose','compute','EMAIL_HAS_BEEN_BOUND','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','SUCCUSS','SNAPSHOT_INVALID_SNAPSHOT','_tryEnsureSocket','ENSURE_SNAPSHOT_EXECUTION','encodeURIComponent','reverse','2139258SUyIQB','DATA_SOURCE_TOO_LARGE','ThresholdInterceptorFactory','DEFAULT_FILE_NAME','_doCryptBlock','csShouldRetryEvent','slice','mergeOverrideWithDependencies','complete','_handler','status','getDeserializedSheetBlock','APPLY_PERMISSION_DENIED','getImageSourceCache','Decryptor','AUTHORIZE_CODE_ILLEGAL','/role','UPDATE_CURSOR','setConfig','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','COMPRESS_MUTATION_APPLY','isTransformChangesetsSuccess','IDLE','setCurrentUser','batchAllowed','YUUMI_URL_COL_OUT_OF_RANGE','_decreaseWaiting','title','HttpExport','{fileID}','_init','exports','/universer-api/oidc/authpage','origin','CONNECTOR_DATA_TOO_LARGE','set','INGEST','defineProperty','_snapshotService','readAsDataURL','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_resendWithTimeout','REDEMPTION_INVALID_CODE','_createSocket','pad','now','\x0aAfter:\x20','261LAPclJ','createSocket','offline','getMemberID','_key','csRejEvent','ws://127.0.0.1:8000/universer-api/comb/connect','TOO_MANY_REQUESTS','getUnitId','StreamCipher','commentUpdate$','roles','_socketMessageSubscription','onRemoteAck','headers','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','mode','getSnapshotAPIPath','[DataLoaderService]','leaveEvent','mapDocumentTypeToUniverType','params','session.room-full','key','_onUserJoin','SheetTransformSelectionsService','_doProcessBlock','loadUnit','size','getLocalCacheKey','_transformStack','object','_replayCachedMutations','_getAPIPrefixPath','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','/allowed','eventID','304bmHxzv','getImage','_createHmacHelper','/-/object/-/batch_allowed','_removeRoom','Utf8','prototype','_mode','CollaborationSocketService','_sender','values','Injector','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','RECV','UniverCollaborationPlugin','image/jpeg','executeCommand','ISingleActiveUnitService','requireSession','PY_RUNTIME_SCRIPT_ERROR','_getUndoStack','error$','ENTITLE_INSUFFICIENT_QUOTA','close$','_oKey','INVALID_ARGUMENT','charAt','/object/','DependentOn','_changesetSessionId','SnapshotServerOverHTTPService','submit\x20changeset\x20error!','enableCollaboration','_transformUndoredo','session.room-cnt-exceeds','HEARTBEAT_INTERVAL','IImageIoService','updatePermissionPoint','generateRandomId','extend','CommandType','YUUMI_ASYNCIO_CANCELLED','UniverDocs','file','transformChangesets','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','joinRsp','_hash','\x20in\x20_schedule.','originalMeta','fetchMiss','conflict','NEW_CHANGESETS','DEFAULT_WS_SESSION_TICKET_URL','setShowComponents','HTTPRequest','[CollaborationEntity]','CompressMutationService','requestParams','unknown','range','getResourcesRequest','YUUMI_RATE_OVER_LIMIT','_replaceFileID','/block/','registerHTTPInterceptor','_initDependencies','_initCloseConn','ceil','LIVESHARE_FETCH_OPERATIONS','sessionStatus$','10NBFqiZ','_append','OfflineState','_registerDependencies','_createInitialState','_members','MOBILE_VERIFY_CODE_MISMATCH','JOINING','rxjs/operators','state$','sessionStatus','saveImage','fetchThroughInterceptors','execute','sigBytes','Base','NO_OTHER_CLIENTS_EDITING','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','initWorkbookPermissionChange','__splitChunk__','unitInfo$','BufferedBlockAlgorithm','debug','string','_applyRemoteChangeset','SheetCollaborationEntity','UNKNOWN_CMD','every','sin','_snapshotServerService','error','_parse','CHANGESET_ACK','/-/object/list','connection\x20error','transformSelections','LIVESHARE_TERMINATE','PENDING','apply','[CollaborationState]:\x20apply\x20error!','REDEMPTION_CODE_INACTIVE','_onUserLeave','getUnitType','_telemetryService','reject','b64DecodeUnicode','[OfflineState]:\x20received\x20rejection.','toggleOnline','m2Prime','ImageUploadStatusType','textRanges','onTransformIME','SUBMIT_CHANGESET','LOGIN_FAILED','CipherParams','LocaleService','_memberService','userID','touchDependencies','Univer','MD5','function','LICENSE_EXPORT_SIZE_EXCEEDED','socket\x20close','LOCAL_CACHE_INTERVAL_KEY','then','RETRY_CONNECTING_MAX_COUNT','_unlockTransition','INVALID_INVITE_CODE','snapshotServerUrl','RichTextEditingMutation','indexOf','UPDATE_PERMISSION_OBJ','_stopTelemetryCollaborationNewChangeset','unit-cache-','Workbook','awaitingChangeset','getCurrentSelections','objectType','_sendHeartbeat','&source=','uniscriptRunEvent','[SyncedState]:\x20received\x20rejection.','_iKey','isArray','LIVESHARE_NEW_HOST','UnitStatus','Malformed\x20UTF-8\x20data','kdf','createDecryptor','NoPadding','getRandomValues','isTransformMutationsWithChangesetSuccess','startsWith','ICollaborationSocketService','_undoStacks','_substituteRedoStack','JOIN_ROOM_PERMISSION_DENIED','LOCAL_CACHE_INTERVAL','RevisionService','dispose$','HttpImport','fromCollab','toggleOffline','INVITE_CODE_HAS_BEEN_UES','init','SOCKET_FAILED_RETRY','CONFLICT','IPermissionService','_updateState','findIndex','UNIVER_SHEET','_getSignURL','socket\x20open.','localCacheService','_socketReady','_transformRemoteChangesetByIMECache','BASE64','_unitInfo$','takeUntil','HEARTBEAT','mutations','createInstance','infoRsp','_onFetchMissResult','_prevBlock','revision','onTransformState','getCollabEntity$','USER_NOT_FOUND','enableSingleActiveInstanceLock'];_0x16cf=function(){return _0x27e3d0;};return _0x16cf();}
|
|
2
|
+
function _0x4fbb(_0xf2aa81,_0x5c7555){_0xf2aa81=_0xf2aa81-0x1ad;var _0x288de4=_0x288d();var _0x4fbbda=_0x288de4[_0xf2aa81];return _0x4fbbda;}(function(_0xd0c439,_0x408fd4){var _0x2edc1d=_0x4fbb,_0x4fb999=_0xd0c439();while(!![]){try{var _0x200996=-parseInt(_0x2edc1d(0x4e7))/0x1+-parseInt(_0x2edc1d(0x376))/0x2*(-parseInt(_0x2edc1d(0x213))/0x3)+-parseInt(_0x2edc1d(0x33a))/0x4*(parseInt(_0x2edc1d(0x442))/0x5)+parseInt(_0x2edc1d(0x2c9))/0x6+parseInt(_0x2edc1d(0x501))/0x7*(-parseInt(_0x2edc1d(0x459))/0x8)+parseInt(_0x2edc1d(0x3bf))/0x9+parseInt(_0x2edc1d(0x281))/0xa*(-parseInt(_0x2edc1d(0x24d))/0xb);if(_0x200996===_0x408fd4)break;else _0x4fb999['push'](_0x4fb999['shift']());}catch(_0x190f1f){_0x4fb999['push'](_0x4fb999['shift']());}}}(_0x288d,0x86c40),function(_0x37d9e4,_0x26e28a){var _0x42aa1c=_0x4fbb;typeof exports=='object'&&typeof module<'u'?_0x26e28a(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==_0x42aa1c(0x3c0)&&define[_0x42aa1c(0x1fd)]?define([_0x42aa1c(0x1ae),'@univerjs-pro/collaboration',_0x42aa1c(0x309),_0x42aa1c(0x365),_0x42aa1c(0x457),_0x42aa1c(0x543),_0x42aa1c(0x4e4),'rxjs/operators',_0x42aa1c(0x51b),_0x42aa1c(0x4a0),_0x42aa1c(0x36b)],_0x26e28a):(_0x37d9e4=typeof globalThis<'u'?globalThis:_0x37d9e4||self,_0x26e28a(_0x37d9e4[_0x42aa1c(0x21a)]={},_0x37d9e4[_0x42aa1c(0x464)],_0x37d9e4[_0x42aa1c(0x42c)],_0x37d9e4['UniverDocs'],_0x37d9e4[_0x42aa1c(0x500)],_0x37d9e4[_0x42aa1c(0x543)],_0x37d9e4[_0x42aa1c(0x22d)],_0x37d9e4[_0x42aa1c(0x543)][_0x42aa1c(0x4ce)],_0x37d9e4[_0x42aa1c(0x3af)],_0x37d9e4[_0x42aa1c(0x259)],_0x37d9e4[_0x42aa1c(0x494)]));}(this,function(_0x1fe4e5,_0x5e2062,_0x3a8efd,_0x42a10e,_0x14ea65,_0x49840d,_0x217672,_0x3844a2,_0x5a784f,_0x58b2c0,_0x3ca4ea){'use strict';var _0x4b5896=_0x4fbb;var _0x2cfc9d=Object[_0x4b5896(0x3e2)],_0x4af00b=(_0x56553d,_0x164674,_0xca17f4)=>_0x164674 in _0x56553d?_0x2cfc9d(_0x56553d,_0x164674,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xca17f4}):_0x56553d[_0x164674]=_0xca17f4,_0x33a719=(_0x4a058e,_0x885389,_0x59c098)=>_0x4af00b(_0x4a058e,typeof _0x885389!=_0x4b5896(0x2c7)?_0x885389+'':_0x885389,_0x59c098);const _0xf122e0='/universer-api/snapshot',_0x92045e=_0x4b5896(0x41c),_0x461a26=_0x4b5896(0x2c8),_0x3df7c5=_0x4b5896(0x526),_0x320476=_0x4b5896(0x49d),_0xf8cda4=_0x4b5896(0x547),_0x88c7ad=_0x4b5896(0x218),_0x5f5c95=_0x4b5896(0x471),_0xcea972=_0x4b5896(0x2fe),_0x106d2b=_0x4b5896(0x37b),_0x68efa9=_0x4b5896(0x2fd),_0x222c74=_0x4b5896(0x4d3);var _0x1df182=(_0x40e7b5=>(_0x40e7b5[_0x40e7b5['UNDEFINED']=0x0]='UNDEFINED',_0x40e7b5[_0x40e7b5['OK']=0x1]='OK',_0x40e7b5[_0x40e7b5['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x40e7b5[_0x40e7b5[_0x4b5896(0x1bb)]=0x3]='PERMISSION_DENIED',_0x40e7b5[_0x40e7b5[_0x4b5896(0x2cc)]=0x4]='NOT_FOUND',_0x40e7b5[_0x40e7b5['UNAUTHENTICATED']=0x5]=_0x4b5896(0x247),_0x40e7b5[_0x40e7b5[_0x4b5896(0x4a7)]=0x6]=_0x4b5896(0x4a7),_0x40e7b5[_0x40e7b5['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x40e7b5[_0x40e7b5[_0x4b5896(0x450)]=0x8]=_0x4b5896(0x450),_0x40e7b5[_0x40e7b5['COMPLETION_FINISHED']=0x9]=_0x4b5896(0x3cf),_0x40e7b5[_0x40e7b5[_0x4b5896(0x43e)]=0xa]='LOGIN_FAILED',_0x40e7b5[_0x40e7b5[_0x4b5896(0x351)]=0xb]=_0x4b5896(0x351),_0x40e7b5[_0x40e7b5['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x4b5896(0x496),_0x40e7b5[_0x40e7b5['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x40e7b5[_0x40e7b5[_0x4b5896(0x4f7)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x40e7b5[_0x40e7b5['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x4b5896(0x371),_0x40e7b5[_0x40e7b5['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x40e7b5[_0x40e7b5[_0x4b5896(0x34b)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x40e7b5[_0x40e7b5['ERROR_AGAIN']=0x65]=_0x4b5896(0x392),_0x40e7b5[_0x40e7b5[_0x4b5896(0x2f5)]=0xc9]='USER_NOT_FOUND',_0x40e7b5[_0x40e7b5[_0x4b5896(0x23b)]=0xca]='USER_IS_ANONYMOUS',_0x40e7b5[_0x40e7b5[_0x4b5896(0x267)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x40e7b5[_0x40e7b5[_0x4b5896(0x3ce)]=0x1771]=_0x4b5896(0x3ce),_0x40e7b5[_0x40e7b5[_0x4b5896(0x25b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x40e7b5[_0x40e7b5[_0x4b5896(0x36a)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x40e7b5[_0x40e7b5[_0x4b5896(0x3c5)]=0x1b59]=_0x4b5896(0x3c5),_0x40e7b5[_0x40e7b5[_0x4b5896(0x43f)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x40e7b5[_0x40e7b5[_0x4b5896(0x23e)]=0x1b5b]=_0x4b5896(0x23e),_0x40e7b5[_0x40e7b5['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4b5896(0x20c),_0x40e7b5[_0x40e7b5['APPLY_DUPLICATED']=0x1b5d]=_0x4b5896(0x32d),_0x40e7b5[_0x40e7b5['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4b5896(0x31f),_0x40e7b5[_0x40e7b5['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4b5896(0x4b4),_0x40e7b5[_0x40e7b5[_0x4b5896(0x447)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x40e7b5[_0x40e7b5[_0x4b5896(0x3c8)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x40e7b5[_0x40e7b5[_0x4b5896(0x51d)]=0x232c]=_0x4b5896(0x51d),_0x40e7b5[_0x40e7b5[_0x4b5896(0x32c)]=0x232d]=_0x4b5896(0x32c),_0x40e7b5[_0x40e7b5[_0x4b5896(0x4c9)]=0x2711]=_0x4b5896(0x4c9),_0x40e7b5[_0x40e7b5['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4b5896(0x1ef),_0x40e7b5[_0x40e7b5[_0x4b5896(0x304)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x40e7b5[_0x40e7b5['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x40e7b5[_0x40e7b5['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x40e7b5[_0x40e7b5[_0x4b5896(0x240)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x40e7b5[_0x40e7b5[_0x4b5896(0x4e5)]=0x271c]=_0x4b5896(0x4e5),_0x40e7b5[_0x40e7b5['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x4b5896(0x39f),_0x40e7b5[_0x40e7b5[_0x4b5896(0x362)]=0x271e]=_0x4b5896(0x362),_0x40e7b5[_0x40e7b5['YUUMI_AI_RUN_FAILED']=0x271f]=_0x4b5896(0x32a),_0x40e7b5[_0x40e7b5['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x4b5896(0x2bc),_0x40e7b5[_0x40e7b5['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4b5896(0x2f0),_0x40e7b5[_0x40e7b5[_0x4b5896(0x200)]=0x2ee1]=_0x4b5896(0x200),_0x40e7b5[_0x40e7b5[_0x4b5896(0x44c)]=0x2ee2]='INVALID_INVITE_CODE',_0x40e7b5[_0x40e7b5[_0x4b5896(0x3c4)]=0x2ee3]=_0x4b5896(0x3c4),_0x40e7b5[_0x40e7b5[_0x4b5896(0x527)]=0x2ee4]=_0x4b5896(0x527),_0x40e7b5[_0x40e7b5[_0x4b5896(0x258)]=0x2ee5]=_0x4b5896(0x258),_0x40e7b5[_0x40e7b5[_0x4b5896(0x1bc)]=0x32c9]=_0x4b5896(0x1bc),_0x40e7b5[_0x40e7b5[_0x4b5896(0x2a6)]=0x32ca]=_0x4b5896(0x2a6),_0x40e7b5[_0x40e7b5[_0x4b5896(0x548)]=0x32cb]=_0x4b5896(0x548),_0x40e7b5[_0x40e7b5['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x4b5896(0x4ea),_0x40e7b5[_0x40e7b5[_0x4b5896(0x239)]=0x36b2]=_0x4b5896(0x239),_0x40e7b5[_0x40e7b5['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x4b5896(0x201),_0x40e7b5[_0x40e7b5['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x4b5896(0x48a),_0x40e7b5[_0x40e7b5[_0x4b5896(0x210)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x40e7b5[_0x40e7b5['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x4b5896(0x3e4),_0x40e7b5[_0x40e7b5[_0x4b5896(0x30c)]=0x36b7]=_0x4b5896(0x30c),_0x40e7b5[_0x40e7b5[_0x4b5896(0x426)]=0x36b8]=_0x4b5896(0x426),_0x40e7b5[_0x40e7b5['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x4b5896(0x2ba),_0x40e7b5[_0x40e7b5[_0x4b5896(0x23f)]=0x3716]=_0x4b5896(0x23f),_0x40e7b5[_0x40e7b5['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x4b5896(0x299),_0x40e7b5[_0x40e7b5[_0x4b5896(0x27c)]=0x37dd]=_0x4b5896(0x27c),_0x40e7b5[_0x40e7b5['REDEMPTION_INVALID_CODE']=0x3a99]=_0x4b5896(0x388),_0x40e7b5[_0x40e7b5[_0x4b5896(0x34a)]=0x3a9a]=_0x4b5896(0x34a),_0x40e7b5[_0x40e7b5[_0x4b5896(0x4ef)]=0x3a9b]=_0x4b5896(0x4ef),_0x40e7b5[_0x40e7b5[_0x4b5896(0x1f3)]=0x3a9c]=_0x4b5896(0x1f3),_0x40e7b5[_0x40e7b5[_0x4b5896(0x3f1)]=0x3a9d]=_0x4b5896(0x3f1),_0x40e7b5[_0x40e7b5[_0x4b5896(0x328)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x40e7b5[_0x40e7b5[_0x4b5896(0x2f6)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x40e7b5[_0x40e7b5[_0x4b5896(0x4aa)]=0x3e81]=_0x4b5896(0x4aa),_0x40e7b5[_0x40e7b5[_0x4b5896(0x4a6)]=-0x1]='UNRECOGNIZED',_0x40e7b5))(_0x1df182||{}),_0x4dc4c2=(_0x12e785=>(_0x12e785[_0x12e785[_0x4b5896(0x54b)]=0x0]=_0x4b5896(0x54b),_0x12e785[_0x12e785[_0x4b5896(0x234)]=0x1]=_0x4b5896(0x234),_0x12e785[_0x12e785['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x12e785[_0x12e785[_0x4b5896(0x4b8)]=0x3]=_0x4b5896(0x4b8),_0x12e785[_0x12e785['UNIVER_PROJECT']=0x4]=_0x4b5896(0x403),_0x12e785[_0x12e785[_0x4b5896(0x4a6)]=-0x1]=_0x4b5896(0x4a6),_0x12e785))(_0x4dc4c2||{}),_0x4a19f=(_0x2ebbd5=>(_0x2ebbd5[_0x2ebbd5[_0x4b5896(0x549)]=0x0]='UNKNOWN_CMD',_0x2ebbd5[_0x2ebbd5[_0x4b5896(0x34c)]=0x1]=_0x4b5896(0x34c),_0x2ebbd5[_0x2ebbd5[_0x4b5896(0x379)]=0x2]='JOIN',_0x2ebbd5[_0x2ebbd5[_0x4b5896(0x490)]=0x3]=_0x4b5896(0x490),_0x2ebbd5[_0x2ebbd5['INGEST']=0x4]='INGEST',_0x2ebbd5[_0x2ebbd5['HEARTBEAT']=0x5]=_0x4b5896(0x207),_0x2ebbd5[_0x2ebbd5['RECV']=0x6]=_0x4b5896(0x1e8),_0x2ebbd5[_0x2ebbd5[_0x4b5896(0x4a6)]=-0x1]=_0x4b5896(0x4a6),_0x2ebbd5))(_0x4a19f||{}),_0x1e0075=(_0x522b05=>(_0x522b05[_0x522b05['UNKNOWN_CODE']=0x0]=_0x4b5896(0x1eb),_0x522b05[_0x522b05['OK']=0x1]='OK',_0x522b05[_0x522b05['FAIL']=0x2]=_0x4b5896(0x45a),_0x522b05[_0x522b05[_0x4b5896(0x524)]=0x3e9]=_0x4b5896(0x524),_0x522b05[_0x522b05[_0x4b5896(0x2b5)]=0x3ea]=_0x4b5896(0x2b5),_0x522b05[_0x522b05[_0x4b5896(0x1b9)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x522b05[_0x522b05[_0x4b5896(0x412)]=0x3ec]=_0x4b5896(0x412),_0x522b05[_0x522b05[_0x4b5896(0x4a6)]=-0x1]=_0x4b5896(0x4a6),_0x522b05))(_0x1e0075||{}),_0x29f3c6=(_0x1ff82f=>(_0x1ff82f[_0x1ff82f['Undefined']=0x0]=_0x4b5896(0x1b5),_0x1ff82f[_0x1ff82f['HttpImport']=0x1]=_0x4b5896(0x22a),_0x1ff82f[_0x1ff82f[_0x4b5896(0x3a2)]=0x2]=_0x4b5896(0x3a2),_0x1ff82f[_0x1ff82f['UnitEmbedded']=0x3]=_0x4b5896(0x427),_0x1ff82f[_0x1ff82f[_0x4b5896(0x2d4)]=0x4]=_0x4b5896(0x2d4),_0x1ff82f[_0x1ff82f[_0x4b5896(0x1fb)]=0x5]=_0x4b5896(0x1fb),_0x1ff82f[_0x1ff82f[_0x4b5896(0x498)]=0x6]=_0x4b5896(0x498),_0x1ff82f[_0x1ff82f[_0x4b5896(0x4a6)]=-0x1]=_0x4b5896(0x4a6),_0x1ff82f))(_0x29f3c6||{});const _0x6d41e2='collaboration_new_changeset';function _0x3394c9(_0x4b24ef){var _0x538a16=_0x4b5896;return JSON['stringify'](_0x4b24ef)[_0x538a16(0x31b)];}var _0x758ea3=(_0x45a606=>(_0x45a606[_0x4b5896(0x4e3)]='OTHER_CLIENT_EDITING',_0x45a606['PERMISSION_DENIED']=_0x4b5896(0x1bb),_0x45a606['CONFLICT']=_0x4b5896(0x3f0),_0x45a606[_0x4b5896(0x4fd)]=_0x4b5896(0x4fd),_0x45a606[_0x4b5896(0x30e)]=_0x4b5896(0x30e),_0x45a606[_0x4b5896(0x336)]=_0x4b5896(0x336),_0x45a606['SOCKET_FAILED']=_0x4b5896(0x2d6),_0x45a606[_0x4b5896(0x430)]=_0x4b5896(0x430),_0x45a606))(_0x758ea3||{});class _0x5b5dc8{constructor(){var _0x414c42=_0x4b5896;_0x33a719(this,_0x414c42(0x486),new _0x49840d['Subject']()),_0x33a719(this,_0x414c42(0x2b6),this[_0x414c42(0x486)][_0x414c42(0x350)]());}[_0x4b5896(0x487)](_0x14be4f){var _0x5902ae=_0x4b5896;this['_event$'][_0x5902ae(0x4eb)](_0x14be4f);}}class _0x41f3ae{constructor(){var _0x224f06=_0x4b5896;_0x33a719(this,'_commentUpdate$',new _0x49840d[(_0x224f06(0x3f4))]()),_0x33a719(this,_0x224f06(0x3ad),this[_0x224f06(0x437)][_0x224f06(0x350)]());}[_0x4b5896(0x2ad)](_0x1ba28b){var _0x203e91=_0x4b5896;this[_0x203e91(0x437)][_0x203e91(0x4eb)](_0x1ba28b);}}var _0x5075b8=Object[_0x4b5896(0x36f)],_0x3119ed=(_0x4ea685,_0x20da34,_0x26b6d6,_0x3ea43a)=>{var _0x477b0a=_0x4b5896;for(var _0x2cb90e=_0x3ea43a>0x1?void 0x0:_0x3ea43a?_0x5075b8(_0x20da34,_0x26b6d6):_0x20da34,_0x481195=_0x4ea685[_0x477b0a(0x31b)]-0x1,_0x385a4a;_0x481195>=0x0;_0x481195--)(_0x385a4a=_0x4ea685[_0x481195])&&(_0x2cb90e=_0x385a4a(_0x2cb90e)||_0x2cb90e);return _0x2cb90e;},_0x53e58e=(_0x119c1c,_0x4f7d07)=>(_0x3b0de7,_0x401c1)=>_0x4f7d07(_0x3b0de7,_0x401c1,_0x119c1c);_0x1fe4e5[_0x4b5896(0x1cf)]=class extends _0x3a8efd[_0x4b5896(0x3ed)]{constructor(_0xba40ed,_0x234de0){var _0x39a87b=_0x4b5896;super(),_0x33a719(this,_0x39a87b(0x272),new Map()),_0x33a719(this,_0x39a87b(0x53a),new _0x49840d[(_0x39a87b(0x3f4))]()),(this['_univerInstanceService']=_0xba40ed,this[_0x39a87b(0x3f6)]=_0x234de0,this['disposeWithMe'](_0x49840d['merge'](this[_0x39a87b(0x4e8)][_0x39a87b(0x424)](_0x3a8efd[_0x39a87b(0x1af)]['UNIVER_SHEET'])[_0x39a87b(0x3b7)](_0x3844a2[_0x39a87b(0x451)](_0x23db6d=>_0x23db6d[_0x39a87b(0x49a)]())),this[_0x39a87b(0x4e8)]['getTypeOfUnitDisposed$'](_0x3a8efd[_0x39a87b(0x1af)][_0x39a87b(0x234)])['pipe'](_0x3844a2[_0x39a87b(0x451)](_0xa70f01=>_0xa70f01[_0x39a87b(0x49a)]())),this[_0x39a87b(0x4e8)]['getTypeOfUnitDisposed$'](_0x3a8efd[_0x39a87b(0x1af)]['UNIVER_SLIDE'])[_0x39a87b(0x3b7)](_0x3844a2[_0x39a87b(0x451)](_0x51035d=>_0x51035d[_0x39a87b(0x49a)]())))[_0x39a87b(0x465)](_0x25892b=>this[_0x39a87b(0x512)](_0x25892b))));}[_0x4b5896(0x482)](_0x238a68){var _0x25f8a9=_0x4b5896;return this['_roomMembers']['has'](_0x238a68)?_0x49840d['of'](this[_0x25f8a9(0x272)][_0x25f8a9(0x4b6)](_0x238a68)):this['_roomCreated$']['pipe'](_0x3844a2[_0x25f8a9(0x451)](_0xfb7848=>{var _0x145f73=_0x25f8a9;if(_0xfb7848===_0x238a68)return this['_roomMembers'][_0x145f73(0x4b6)](_0xfb7848);}));}[_0x4b5896(0x3f3)](_0xd81923){this['_userManagerService']['setCurrentUser'](_0xd81923);}[_0x4b5896(0x2c2)](){var _0x4f0434=_0x4b5896;return this[_0x4f0434(0x3f6)]['getCurrentUser']();}[_0x4b5896(0x3a8)](_0x5689fa,_0x26b55e){var _0x2f1870=_0x4b5896;let _0x44f92e=this[_0x2f1870(0x272)][_0x2f1870(0x4b6)](_0x5689fa);_0x44f92e||(_0x44f92e=new _0x17a9a9(),this[_0x2f1870(0x272)][_0x2f1870(0x513)](_0x5689fa,_0x44f92e),this['_roomCreated$'][_0x2f1870(0x4eb)](_0x5689fa)),_0x44f92e[_0x2f1870(0x3a8)](_0x26b55e);}[_0x4b5896(0x283)](_0x1088a6,_0x30d2f4){var _0x5d9cac=_0x4b5896;const _0x17895f=this[_0x5d9cac(0x272)]['get'](_0x1088a6);_0x17895f&&_0x17895f['removeMember'](_0x30d2f4);}[_0x4b5896(0x46d)](_0x35f0fa){var _0x4dba18=_0x4b5896;return this[_0x4dba18(0x272)][_0x4dba18(0x4b6)](_0x35f0fa);}[_0x4b5896(0x45b)](_0x36dc90,_0xaa7bb4){var _0x5a0b4f=_0x4b5896;const _0x1943e8=this[_0x5a0b4f(0x272)][_0x5a0b4f(0x4b6)](_0x36dc90);if(_0x1943e8)return _0x1943e8['getMember'](_0xaa7bb4);}[_0x4b5896(0x512)](_0x5da4f4){var _0x693b3c=_0x4b5896;const _0x9cc8c=this[_0x693b3c(0x272)][_0x693b3c(0x4b6)](_0x5da4f4);_0x9cc8c&&(_0x9cc8c[_0x693b3c(0x44f)](),this['_roomMembers'][_0x693b3c(0x1c5)](_0x5da4f4));}['dispose'](){var _0x441fed=_0x4b5896;this[_0x441fed(0x272)][_0x441fed(0x28b)](_0x79b704=>_0x79b704[_0x441fed(0x44f)]()),this[_0x441fed(0x272)][_0x441fed(0x448)](),this[_0x441fed(0x53a)][_0x441fed(0x397)]();}},_0x1fe4e5[_0x4b5896(0x1cf)]=_0x3119ed([_0x53e58e(0x0,_0x3a8efd[_0x4b5896(0x40f)]),_0x53e58e(0x1,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x3f5)]))],_0x1fe4e5['MemberService']);class _0x17a9a9 extends _0x3a8efd[_0x4b5896(0x3ed)]{constructor(){var _0x1ab39a=_0x4b5896;super(...arguments),_0x33a719(this,_0x1ab39a(0x21b),new Map()),_0x33a719(this,_0x1ab39a(0x1c2),new _0x49840d[(_0x1ab39a(0x293))](this['_members'])),_0x33a719(this,_0x1ab39a(0x2dc),this[_0x1ab39a(0x1c2)][_0x1ab39a(0x350)]());}['dispose'](){var _0x33092c=_0x4b5896;this['_members'][_0x33092c(0x448)]();}[_0x4b5896(0x3a8)](_0x329eaa){var _0x54f3a4=_0x4b5896;this[_0x54f3a4(0x21b)]['set'](_0x329eaa[_0x54f3a4(0x1b6)],_0x329eaa),this['_emitMembers']();}[_0x4b5896(0x283)](_0x4932f6){var _0x1953cf=_0x4b5896;this[_0x1953cf(0x21b)][_0x1953cf(0x1c5)](_0x4932f6);}[_0x4b5896(0x45b)](_0x1c73ed){return this['_members']['get'](_0x1c73ed);}['getAllMembers'](){var _0x6012c6=_0x4b5896;return Array[_0x6012c6(0x48b)](this[_0x6012c6(0x21b)][_0x6012c6(0x3bd)]());}['_emitMembers'](){var _0x98b361=_0x4b5896;this[_0x98b361(0x1c2)][_0x98b361(0x4eb)](this[_0x98b361(0x21b)]);}}var _0x1700e8=Object['getOwnPropertyDescriptor'],_0x36e4c6=(_0x4fede8,_0xa1cc35,_0x1ba718,_0x42bcee)=>{var _0x3d5131=_0x4b5896;for(var _0x51ac1e=_0x42bcee>0x1?void 0x0:_0x42bcee?_0x1700e8(_0xa1cc35,_0x1ba718):_0xa1cc35,_0x568f75=_0x4fede8[_0x3d5131(0x31b)]-0x1,_0x41a73a;_0x568f75>=0x0;_0x568f75--)(_0x41a73a=_0x4fede8[_0x568f75])&&(_0x51ac1e=_0x41a73a(_0x51ac1e)||_0x51ac1e);return _0x51ac1e;},_0x4b7bb0=(_0x5e96d3,_0x240d4e)=>(_0x48d02c,_0x324a0c)=>_0x240d4e(_0x48d02c,_0x324a0c,_0x5e96d3),_0x31c1b0=(_0x45bc6a=>(_0x45bc6a[_0x45bc6a[_0x4b5896(0x2f7)]=0x0]='IDLE',_0x45bc6a[_0x45bc6a['JOINING']=0x1]='JOINING',_0x45bc6a[_0x45bc6a[_0x4b5896(0x3cd)]=0x2]='OFFLINE',_0x45bc6a[_0x45bc6a['ONLINE']=0x3]=_0x4b5896(0x1d4),_0x45bc6a))(_0x31c1b0||{});const _0x4690e5={[_0x1e0075[_0x4b5896(0x45a)]]:_0x4b5896(0x27e),[_0x1e0075['JOIN_ROOM_FULL']]:_0x4b5896(0x406),[_0x1e0075[_0x4b5896(0x2b5)]]:'session.room-not-exists',[_0x1e0075[_0x4b5896(0x1b9)]]:_0x4b5896(0x26f),[_0x1e0075[_0x4b5896(0x412)]]:'session.room-cnt-exceeds'};_0x1fe4e5['CollaborationSession']=class extends _0x3a8efd[_0x4b5896(0x4ad)]{constructor(_0x44aee0,_0x5e8295,_0x2cd21b,_0x27ae96,_0x190367,_0x273677,_0x2fa3b3,_0x44b0b6){var _0x8ba52e=_0x4b5896;super(),_0x33a719(this,_0x8ba52e(0x417),new _0x49840d[(_0x8ba52e(0x293))](0x0)),_0x33a719(this,_0x8ba52e(0x1f6),this[_0x8ba52e(0x417)][_0x8ba52e(0x350)]()),_0x33a719(this,_0x8ba52e(0x486),new _0x49840d[(_0x8ba52e(0x3f4))]()),_0x33a719(this,_0x8ba52e(0x2b6),this['_event$'][_0x8ba52e(0x350)]()),_0x33a719(this,_0x8ba52e(0x21f)),_0x33a719(this,'_socketMessageSubscription'),_0x33a719(this,_0x8ba52e(0x43b)),_0x33a719(this,_0x8ba52e(0x4ec),!0x1),_0x33a719(this,'_telemetryInfo',null),(this[_0x8ba52e(0x2bb)]=_0x44aee0,this[_0x8ba52e(0x2e7)]=_0x2cd21b,this[_0x8ba52e(0x229)]=_0x27ae96,this[_0x8ba52e(0x428)]=_0x190367,this[_0x8ba52e(0x530)]=_0x273677,this[_0x8ba52e(0x3ca)]=_0x2fa3b3,this[_0x8ba52e(0x305)]=_0x44b0b6,this['_shouldReportTelemetry']=!!this[_0x8ba52e(0x305)],_0x5e8295[_0x8ba52e(0x3b7)](_0x49840d[_0x8ba52e(0x224)](this[_0x8ba52e(0x422)]))[_0x8ba52e(0x465)](_0x6c3bf9=>{var _0x5069b7=_0x8ba52e,_0x3f70d3;typeof _0x6c3bf9>'u'||(this[_0x5069b7(0x21f)]=_0x6c3bf9,_0x6c3bf9?(this[_0x5069b7(0x511)](_0x6c3bf9),this[_0x5069b7(0x4d4)]=_0x6c3bf9[_0x5069b7(0x23d)]['subscribe'](_0x5ec0ad=>{var _0x447c43=_0x5069b7;_0x5ec0ad[_0x447c43(0x367)]===this['_unitID']&&this[_0x447c43(0x261)](_0x5ec0ad);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x5069b7(0x417)][_0x5069b7(0x4eb)](0x2),(_0x3f70d3=this[_0x5069b7(0x4d4)])==null||_0x3f70d3[_0x5069b7(0x4d6)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0xdc76d4=_0x4b5896;return this[_0xdc76d4(0x417)][_0xdc76d4(0x202)]();}[_0x4b5896(0x20e)](){var _0x473ad6=_0x4b5896,_0x306b98,_0x1da938;return(_0x1da938=(_0x306b98=this[_0x473ad6(0x21f)])==null?void 0x0:_0x306b98[_0x473ad6(0x1b6)])!=null?_0x1da938:null;}[_0x4b5896(0x44f)](){var _0xb68aab=_0x4b5896;super[_0xb68aab(0x44f)](),this['dispose$']['next'](),this[_0xb68aab(0x422)]['complete']();}[_0x4b5896(0x2ed)](){var _0x4b70e9=_0x4b5896,_0x1cc436,_0x55c598;this[_0x4b70e9(0x49f)](),(_0x1cc436=this[_0x4b70e9(0x21f)])==null||_0x1cc436[_0x4b70e9(0x2d7)]({'cmd':_0x4a19f[_0x4b70e9(0x490)],'data':{'roomID':this[_0x4b70e9(0x2bb)]}}),(_0x55c598=this[_0x4b70e9(0x21f)])==null||_0x55c598[_0x4b70e9(0x2ed)](),this[_0x4b70e9(0x486)][_0x4b70e9(0x397)](),this['_sessionStatus$'][_0x4b70e9(0x397)](),this[_0x4b70e9(0x44f)]();}[_0x4b5896(0x261)](_0x345346){var _0x9d5533=_0x4b5896;_0x345346[_0x9d5533(0x2b2)]===_0x4a19f[_0x9d5533(0x379)]?this[_0x9d5533(0x497)](_0x345346):_0x345346[_0x9d5533(0x2b2)]===_0x4a19f[_0x9d5533(0x1e8)]&&this[_0x9d5533(0x33b)](_0x345346);}[_0x4b5896(0x511)](_0x2f0e59){var _0x552758=_0x4b5896;this['_sessionStatus$'][_0x552758(0x4eb)](0x1),_0x2f0e59['send']({'cmd':_0x4a19f['JOIN'],'routeKey':this[_0x552758(0x2bb)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x4b5896(0x497)](_0x3eeb0d){var _0x282c47=_0x4b5896,_0x2b96de;if(_0x3eeb0d[_0x282c47(0x354)]in _0x4690e5){this[_0x282c47(0x3ca)]['emitEvent']({'id':_0x758ea3[_0x282c47(0x30e)],'data':_0x4690e5[_0x3eeb0d[_0x282c47(0x354)]]}),this['_sessionStatus$']['next'](0x2);return;}this['_sessionStatus$'][_0x282c47(0x4eb)](0x3);const _0x338b90=(_0x2b96de=_0x3eeb0d[_0x282c47(0x1d2)][_0x282c47(0x2cd)][this[_0x282c47(0x2bb)]])==null?void 0x0:_0x2b96de[_0x282c47(0x321)];_0x338b90&&_0x338b90[_0x282c47(0x28b)](_0x31c548=>this[_0x282c47(0x428)][_0x282c47(0x3a8)](this[_0x282c47(0x2bb)],_0x31c548));}[_0x4b5896(0x33b)](_0x422fe3){var _0x1a41d0=_0x4b5896;try{const _0x31842f=_0x422fe3[_0x1a41d0(0x1d2)];switch(_0x31842f[_0x1a41d0(0x4ab)]){case _0x5e2062['CollaborationEvent']['USERS_ENTER']:this[_0x1a41d0(0x334)](_0x31842f),this['_event$'][_0x1a41d0(0x4eb)](_0x31842f);break;case _0x5e2062['CollaborationEvent'][_0x1a41d0(0x3eb)]:this['_onUserLeave'](_0x31842f),this['_event$'][_0x1a41d0(0x4eb)](_0x31842f);break;case _0x5e2062[_0x1a41d0(0x1c0)][_0x1a41d0(0x29d)]:case _0x5e2062[_0x1a41d0(0x1c0)][_0x1a41d0(0x220)]:this[_0x1a41d0(0x25f)](),this[_0x1a41d0(0x440)](),this[_0x1a41d0(0x486)][_0x1a41d0(0x4eb)](_0x31842f);break;case _0x5e2062[_0x1a41d0(0x1c0)][_0x1a41d0(0x50a)]:this[_0x1a41d0(0x2e7)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x1a41d0(0x1d0)](_0x31842f)),this['_event$'][_0x1a41d0(0x4eb)](_0x31842f);break;case _0x5e2062['CollaborationEvent']['COMMENT_UPDATE']:this[_0x1a41d0(0x530)][_0x1a41d0(0x2ad)](_0x31842f[_0x1a41d0(0x1d2)]),this[_0x1a41d0(0x486)]['next'](_0x31842f);break;default:this[_0x1a41d0(0x486)]['next'](_0x31842f);}}catch(_0x655b74){this[_0x1a41d0(0x2e7)][_0x1a41d0(0x542)](_0x655b74,_0x422fe3);}}[_0x4b5896(0x334)](_0x53bdc0){var _0x568d45=_0x4b5896;this[_0x568d45(0x428)][_0x568d45(0x3a8)](this[_0x568d45(0x2bb)],_0x53bdc0[_0x568d45(0x1d2)]);}['_onUserLeave'](_0x47eb67){var _0x44a292=_0x4b5896;this[_0x44a292(0x428)][_0x44a292(0x283)](this['_unitID'],_0x47eb67[_0x44a292(0x1d2)][_0x44a292(0x1b6)]);}async[_0x4b5896(0x2d7)](_0x4eb7fc,_0x5220ee){var _0x1b9a71=_0x4b5896;if(this[_0x1b9a71(0x266)]!==0x3||!this[_0x1b9a71(0x21f)])throw new Error(_0x1b9a71(0x52f));try{_0x4eb7fc[_0x1b9a71(0x4ab)]===_0x5e2062[_0x1b9a71(0x1c0)][_0x1b9a71(0x503)]&&(this[_0x1b9a71(0x531)](),this[_0x1b9a71(0x248)](_0x4eb7fc)),this[_0x1b9a71(0x21f)]['send']({'cmd':_0x4a19f['INGEST'],'routeKey':_0x5220ee,'routeType':'','data':_0x4eb7fc});}catch(_0x27abca){this[_0x1b9a71(0x2e7)][_0x1b9a71(0x542)](_0x27abca);}}[_0x4b5896(0x531)](){var _0x1aba3b=_0x4b5896,_0x3e0e66;this[_0x1aba3b(0x43b)]=setTimeout(()=>{var _0x1db79d=_0x1aba3b;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x1db79d(0x487)]({'id':_0x758ea3[_0x1db79d(0x430)]});},(_0x3e0e66=this[_0x1aba3b(0x229)][_0x1aba3b(0x523)](_0xf8cda4))!=null?_0x3e0e66:0x4e20);}[_0x4b5896(0x440)](){var _0x2a2c5f=_0x4b5896;this[_0x2a2c5f(0x43b)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x2a2c5f(0x43b)]=null);}[_0x4b5896(0x248)](_0x5bc0fb){var _0x79417f=_0x4b5896;if(!this['_shouldReportTelemetry'])return;const {data:_0xf41c32}=_0x5bc0fb,{unitID:_0xaac415,changeset:_0x35b81d}=_0xf41c32,{mutations:_0x26f08f,type:_0x1fc222}=_0x35b81d;this[_0x79417f(0x3da)]={'unitId':_0xaac415,'type':_0x1fc222,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x3394c9(_0x26f08f)};}[_0x4b5896(0x25f)](){var _0x27ccdf=_0x4b5896;if(this[_0x27ccdf(0x4ec)]){if(!this[_0x27ccdf(0x3da)]){this['_logService'][_0x27ccdf(0x542)](_0x27ccdf(0x40c),_0x27ccdf(0x3b0));return;}this[_0x27ccdf(0x3da)][_0x27ccdf(0x1c3)]=performance['now'](),this[_0x27ccdf(0x3da)][_0x27ccdf(0x298)]=this[_0x27ccdf(0x3da)][_0x27ccdf(0x1c3)]-this[_0x27ccdf(0x3da)]['startTime'],this[_0x27ccdf(0x305)]['capture'](_0x6d41e2,this[_0x27ccdf(0x3da)]),this[_0x27ccdf(0x3da)]=null;}}[_0x4b5896(0x49f)](){var _0xf95912=_0x4b5896;this[_0xf95912(0x3da)]=null;}},_0x1fe4e5['CollaborationSession']=_0x36e4c6([_0x4b7bb0(0x2,_0x3a8efd['ILogService']),_0x4b7bb0(0x3,_0x3a8efd[_0x4b5896(0x383)]),_0x4b7bb0(0x4,_0x3a8efd[_0x4b5896(0x4b2)](_0x1fe4e5[_0x4b5896(0x1cf)])),_0x4b7bb0(0x5,_0x3a8efd[_0x4b5896(0x4b2)](_0x41f3ae)),_0x4b7bb0(0x6,_0x3a8efd[_0x4b5896(0x4b2)](_0x5b5dc8)),_0x4b7bb0(0x7,_0x3a8efd['Optional'](_0x217672['ITelemetryService']))],_0x1fe4e5[_0x4b5896(0x50f)]);const _0x5d850f=_0x3a8efd[_0x4b5896(0x474)]('collaboration-client.local-cache-service');function _0x6872c8(_0x4ad8c2){var _0x240163=_0x4b5896;return _0x240163(0x508)+_0x4ad8c2;}var _0x1bdfe9=Object['getOwnPropertyDescriptor'],_0x421480=(_0x52532c,_0x528eb5,_0xe92878,_0x51ec71)=>{var _0x279650=_0x4b5896;for(var _0x163dc7=_0x51ec71>0x1?void 0x0:_0x51ec71?_0x1bdfe9(_0x528eb5,_0xe92878):_0x528eb5,_0x23dd31=_0x52532c[_0x279650(0x31b)]-0x1,_0x5e50dd;_0x23dd31>=0x0;_0x23dd31--)(_0x5e50dd=_0x52532c[_0x23dd31])&&(_0x163dc7=_0x5e50dd(_0x163dc7)||_0x163dc7);return _0x163dc7;},_0x4d6c04=(_0x32e6b0,_0x376332)=>(_0x3788ab,_0x2e94b8)=>_0x376332(_0x3788ab,_0x2e94b8,_0x32e6b0);function _0x3cbd14(_0x5122b5){var _0x420572=_0x4b5896;const {unitID:_0x18d859,mutations:_0x3801f5}=_0x5122b5;return{'unitId':_0x18d859,'subUnitId':_0x3801f5[_0x420572(0x31b)]>0x0?_0x3801f5[0x0][_0x420572(0x47e)][_0x420572(0x271)]:null};}_0x1fe4e5[_0x4b5896(0x235)]=class{constructor(_0x5f44e4,_0x4eb491,_0x58cd69){var _0x392db1=_0x4b5896;this['_injector']=_0x5f44e4,this[_0x392db1(0x2d2)]=_0x4eb491,this['_instanceService']=_0x58cd69;}[_0x4b5896(0x50e)](_0xf2c4bc){var _0x136c59=_0x4b5896,_0x56f153,_0xd4dbfd,_0x193bcc,_0x42f1c3;const _0x5f28ec=this[_0x136c59(0x467)]['get'](_0x14ea65[_0x136c59(0x1c6)]),{unitId:_0x4b6cb0,subUnitId:_0x5f34dc}=_0x3cbd14(_0xf2c4bc),_0x246aa9=_0x5f28ec==null?void 0x0:_0x5f28ec[_0x136c59(0x3e0)](_0x4b6cb0)[_0x136c59(0x47b)](),_0x571465=(_0xd4dbfd=(_0x56f153=this[_0x136c59(0x31d)]['getUnit'](_0x4b6cb0))==null?void 0x0:_0x56f153['getActiveSheet']())==null?void 0x0:_0xd4dbfd[_0x136c59(0x3a7)]();if(_0x246aa9['length']===0x0||!_0x4b6cb0||!_0x5f34dc)return;const _0x4ecf91=[{'id':_0x14ea65[_0x136c59(0x483)]['id'],'params':{'unitId':_0x4b6cb0,'subUnitId':_0x571465,'selections':_0x3a8efd[_0x136c59(0x1f8)]['deepClone'](_0x246aa9)}}],_0x25f625=this[_0x136c59(0x2d2)][_0x136c59(0x262)](_0xf2c4bc,_0x4ecf91);if(!_0x5e2062[_0x136c59(0x3d6)](_0x25f625))throw _0x25f625[_0x136c59(0x542)];const _0x5d6a76=(_0x42f1c3=(_0x193bcc=_0x25f625[_0x136c59(0x48c)][0x0])==null?void 0x0:_0x193bcc[_0x136c59(0x47e)])==null?void 0x0:_0x42f1c3[_0x136c59(0x2b0)];if(Array['isArray'](_0x5d6a76)&&_0x5d6a76['length']){if(_0x5d6a76['length']===_0x4ecf91[0x0][_0x136c59(0x47e)][_0x136c59(0x2b0)]['length']&&_0x5d6a76[_0x136c59(0x51c)]((_0x54b721,_0x4cf21b)=>_0x3a8efd[_0x136c59(0x53b)][_0x136c59(0x1b8)](_0x54b721['range'],_0x4ecf91[0x0][_0x136c59(0x47e)][_0x136c59(0x2b0)][_0x4cf21b][_0x136c59(0x368)])))return;this['_injector'][_0x136c59(0x4b6)](_0x3a8efd[_0x136c59(0x31c)])[_0x136c59(0x2f8)](_0x14ea65[_0x136c59(0x483)]['id'],{'unitId':_0x4b6cb0,'subUnitId':_0x571465,'selections':_0x5d6a76});}}},_0x1fe4e5['SheetTransformSelectionsService']=_0x421480([_0x4d6c04(0x0,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x308)])),_0x4d6c04(0x1,_0x5e2062[_0x4b5896(0x529)]),_0x4d6c04(0x2,_0x3a8efd[_0x4b5896(0x40f)])],_0x1fe4e5['SheetTransformSelectionsService']);const _0x4632e6=_0x3a8efd[_0x4b5896(0x474)]('univer-pro.collaboration-client.single-active-unit-service');var _0x1445d5=(_0xe6ee7=>(_0xe6ee7[_0xe6ee7['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4b5896(0x433),_0xe6ee7[_0xe6ee7[_0x4b5896(0x366)]=0x1]=_0x4b5896(0x366),_0xe6ee7))(_0x1445d5||{});const _0x3fa8a8=_0x4b5896(0x230),_0x5cef49={};function _0x4306cb(_0x5f55f6){var _0x53977e=_0x4b5896,_0x2ad867;return!!((_0x2ad867=_0x5f55f6[_0x53977e(0x47e)])!=null&&_0x2ad867['__splitChunk__']);}const _0x303272=new Set([_0x14ea65[_0x4b5896(0x3cc)]['id']]);function _0x1869a1(_0x2c3d7d,_0x45e8ee,_0x103579,_0x3959e8,_0x1b6384){var _0x203203=_0x4b5896,_0x1c0ecf,_0x21d5cf,_0x564378,_0xe4fc08;const _0x1f5d7f=[];for(const _0x61d050 of _0x2c3d7d){if(_0x303272['has'](_0x61d050['id'])){if(_0x1f5d7f[_0x203203(0x31b)]>0x0)break;_0x1f5d7f[_0x203203(0x435)](_0x61d050);break;}if(_0x4306cb(_0x61d050)){if(_0x1f5d7f[_0x203203(0x31b)]>0x0)break;_0x1f5d7f['push'](_0x61d050);break;}_0x1f5d7f[_0x203203(0x435)](_0x61d050);}const _0x5bab8f=(_0x21d5cf=(_0x1c0ecf=_0x1b6384[_0x203203(0x2c2)]())==null?void 0x0:_0x1c0ecf[_0x203203(0x373)])!=null?_0x21d5cf:_0x203203(0x35a),_0x4ca96e=(_0xe4fc08=(_0x564378=_0x1b6384[_0x203203(0x2c2)]())==null?void 0x0:_0x564378['memberID'])!=null?_0xe4fc08:_0x203203(0x35a);return{'changeset':{'unitID':_0x45e8ee,'type':_0x5e2062[_0x203203(0x42b)](_0x103579[_0x203203(0x324)](_0x45e8ee)),'baseRev':_0x3959e8[_0x203203(0x3f8)](_0x45e8ee),'revision':0x0,'userID':_0x5bab8f,'memberID':_0x4ca96e,'mutations':_0x1f5d7f},'pendingMutations':_0x2c3d7d[_0x203203(0x326)](_0x1f5d7f['length'])};}function _0x18d7bb(_0x4505a7,_0x16b98e,_0x3f6e34,_0x2d0ed6,_0xc31765){var _0x435895=_0x4b5896,_0x2589ac,_0x576604,_0x4837e2,_0x51182a;const _0x3b08c5=[_0x4505a7[_0x435895(0x3be)]((_0x174894,_0x2bf5f6)=>{var _0x9bcce7=_0x435895,_0x4267e5;const {id:_0x5d9f60}=_0x174894,{id:_0x4ddf67,type:_0x4b2689}=_0x2bf5f6,_0x3c7b90=(_0x4267e5=_0x174894[_0x9bcce7(0x47e)])!=null?_0x4267e5:{'actions':null},_0x2caff7=_0x2bf5f6[_0x9bcce7(0x47e)];if(_0x5d9f60&&_0x5d9f60!==_0x4ddf67)throw new Error(_0x9bcce7(0x35d)+_0x5d9f60+'\x20-\x20'+_0x4ddf67+'.');return{..._0x174894,'id':_0x4ddf67,'type':_0x4b2689,'params':{'unitId':_0x2caff7['unitId'],'textRanges':_0x2caff7[_0x9bcce7(0x38b)],'actions':_0x3a8efd['JSONX']['compose'](_0x3c7b90[_0x9bcce7(0x514)],_0x2caff7[_0x9bcce7(0x514)])}};},{})],_0x547361=(_0x576604=(_0x2589ac=_0xc31765[_0x435895(0x2c2)]())==null?void 0x0:_0x2589ac[_0x435895(0x373)])!=null?_0x576604:'unknown',_0x318a3=(_0x51182a=(_0x4837e2=_0xc31765[_0x435895(0x2c2)]())==null?void 0x0:_0x4837e2[_0x435895(0x1b6)])!=null?_0x51182a:_0x435895(0x35a);return{'changeset':{'unitID':_0x16b98e,'type':_0x5e2062[_0x435895(0x42b)](_0x3f6e34['getUnitType'](_0x16b98e)),'baseRev':_0x2d0ed6['getCurrentRevOfUnit'](_0x16b98e),'revision':0x0,'userID':_0x547361,'memberID':_0x318a3,'mutations':_0x3b08c5},'pendingMutations':[]};}function _0x92083f(_0x3227b5,_0x5e2413){var _0x3986de=_0x4b5896;const _0x14b105=new _0x49840d[(_0x3986de(0x4a9))](0x1);return setTimeout(()=>_0x14b105[_0x3986de(0x4eb)](_0x5e2413),_0x3227b5),_0x14b105[_0x3986de(0x350)]()[_0x3986de(0x3b7)](_0x49840d[_0x3986de(0x3c7)](0x1));}var _0x3443a9=Object['getOwnPropertyDescriptor'],_0x19e867=(_0x2211b9,_0x1d4a4c,_0x4c083f,_0x57e1a2)=>{for(var _0x517546=_0x57e1a2>0x1?void 0x0:_0x57e1a2?_0x3443a9(_0x1d4a4c,_0x4c083f):_0x1d4a4c,_0x57f9f2=_0x2211b9['length']-0x1,_0x4520d3;_0x57f9f2>=0x0;_0x57f9f2--)(_0x4520d3=_0x2211b9[_0x57f9f2])&&(_0x517546=_0x4520d3(_0x517546)||_0x517546);return _0x517546;},_0x4233b2=(_0x153d6f,_0xd81b61)=>(_0x2cbcae,_0x291988)=>_0xd81b61(_0x2cbcae,_0x291988,_0x153d6f),_0x366a4b=(_0x23c941=>(_0x23c941[_0x4b5896(0x2d5)]='not_collab',_0x23c941[_0x4b5896(0x4f5)]=_0x4b5896(0x4dc),_0x23c941[_0x4b5896(0x3db)]=_0x4b5896(0x4f9),_0x23c941[_0x4b5896(0x226)]=_0x4b5896(0x4ae),_0x23c941['AWAITING_WITH_PENDING']=_0x4b5896(0x24a),_0x23c941[_0x4b5896(0x3ee)]=_0x4b5896(0x33e),_0x23c941[_0x4b5896(0x3f0)]=_0x4b5896(0x499),_0x23c941[_0x4b5896(0x3cd)]='offline',_0x23c941))(_0x366a4b||{});const _0x394cb1=0x4e20,_0xf5ed0d=0x2bf20;class _0x25cac4{constructor(_0x3d8b76,_0xcee4be,_0x1ee82e,_0x87f9d,_0x118c6e,_0x22b786,_0x52c4d7,_0x4b17d3,_0x402bf8){var _0x2e606c=_0x4b5896;_0x33a719(this,'_awaitingChangeset',null),_0x33a719(this,_0x2e606c(0x42f),[]),(this[_0x2e606c(0x28a)]=_0x3d8b76,this[_0x2e606c(0x25a)]=_0xcee4be,this[_0x2e606c(0x1b1)]=_0x118c6e,this[_0x2e606c(0x1da)]=_0x22b786,this[_0x2e606c(0x377)]=_0x52c4d7,this[_0x2e606c(0x4ba)]=_0x4b17d3,this[_0x2e606c(0x25d)]=_0x402bf8,this['_awaitingChangeset']=_0x1ee82e,this['_pendingMutations']=_0x87f9d);}[_0x4b5896(0x436)](_0x1c1b2f){var _0x49fe5e=_0x4b5896;const _0x12e00e=this['_revisionService'][_0x49fe5e(0x3f8)](this[_0x49fe5e(0x28a)]);return _0x1c1b2f['revision']>_0x12e00e+0x1?(this['_handler']['onMissingChangesets']({'from':_0x12e00e,'to':_0x1c1b2f[_0x49fe5e(0x301)]-0x1}),!0x0):!0x1;}[_0x4b5896(0x460)](_0x1cfecf){var _0x3101c6=_0x4b5896;this[_0x3101c6(0x377)][_0x3101c6(0x2fb)](this[_0x3101c6(0x28a)],_0x1cfecf);}[_0x4b5896(0x382)](_0x306f71){var _0x27c7a0=_0x4b5896,_0xdeddae,_0x574080;(_0x574080=(_0xdeddae=this[_0x27c7a0(0x1b1)])[_0x27c7a0(0x3d2)])==null||_0x574080['call'](_0xdeddae,_0x306f71);}['_transformIMECache'](_0x5b0e60){var _0x10f46b=_0x4b5896,_0x462a28,_0x9dd25f;return(_0x9dd25f=(_0x462a28=this['_handler'])[_0x10f46b(0x4d8)])==null?void 0x0:_0x9dd25f[_0x10f46b(0x473)](_0x462a28,_0x5b0e60);}[_0x4b5896(0x2e6)](_0x23a137){var _0x48f774=_0x4b5896,_0x20cd67,_0x3e52ca;return(_0x3e52ca=(_0x20cd67=this[_0x48f774(0x1b1)])[_0x48f774(0x39a)])==null?void 0x0:_0x3e52ca[_0x48f774(0x473)](_0x20cd67,_0x23a137);}[_0x4b5896(0x257)](_0x5e0ddd){var _0x40b6d3=_0x4b5896,_0xa2539a,_0x18d479,_0x455b31;return(_0x455b31=(_0x18d479=(_0xa2539a=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x18d479[_0x40b6d3(0x473)](_0xa2539a,_0x5e0ddd))!=null?_0x455b31:_0x5e0ddd;}[_0x4b5896(0x52a)](_0x4e3ced){var _0x1fcf8=_0x4b5896,_0x5643c9,_0x3bcd7a,_0x49e60b;return(_0x49e60b=(_0x3bcd7a=(_0x5643c9=this[_0x1fcf8(0x1b1)])[_0x1fcf8(0x3b8)])==null?void 0x0:_0x3bcd7a['call'](_0x5643c9,_0x4e3ced))!=null?_0x49e60b:_0x4e3ced;}[_0x4b5896(0x42a)](_0xd83464){var _0x57333c=_0x4b5896,_0x50e1f3,_0x253873;if(this[_0x57333c(0x25a)]===_0x4dc4c2[_0x57333c(0x234)]){const {unitID:_0x1e9a0a,mutations:_0x16c162,memberID:_0x2504c5}=_0xd83464,_0x560449=_0x16c162[_0x57333c(0x31b)]>0x0?_0x16c162[0x0][_0x57333c(0x47e)][_0x57333c(0x38b)]:[];Array[_0x57333c(0x4c2)](_0x560449)&&_0x560449[_0x57333c(0x31b)]>0x0&&((_0x253873=(_0x50e1f3=this['_handler'])[_0x57333c(0x41f)])==null||_0x253873[_0x57333c(0x473)](_0x50e1f3,{'unitID':_0x1e9a0a,'memberID':_0x2504c5,'textRanges':_0x560449}));}}[_0x4b5896(0x3bc)](){var _0x40cd41=_0x4b5896,_0x23ae20;(_0x23ae20=this[_0x40cd41(0x25d)])==null||_0x23ae20['updateOfflineData'](this[_0x40cd41(0x28a)],this['type'],this['_awaitingChangeset'],this[_0x40cd41(0x42f)]);}['_getCurrentRevision'](){var _0xf813ed=_0x4b5896;return this[_0xf813ed(0x4ba)]['getCurrentRevOfUnit'](this['unitID']);}[_0x4b5896(0x1b2)](){var _0x27acc4=_0x4b5896;this['_revisionService'][_0x27acc4(0x461)](this[_0x27acc4(0x28a)]);}[_0x4b5896(0x484)](_0x22d54d){var _0x4db254=_0x4b5896,_0x3b8e01;let _0x3b38f9=this['_transformRemoteChangesetByIMECache'](_0x22d54d);_0x3b38f9=this[_0x4db254(0x52a)](_0x3b38f9);const _0x533f47=_0x3a8efd[_0x4db254(0x4b0)](_0x3b38f9[_0x4db254(0x21e)],this[_0x4db254(0x1da)],{'fromCollab':!0x0});if(!_0x533f47[_0x4db254(0x2af)])throw _0x533f47[_0x4db254(0x542)]instanceof Error?_0x533f47[_0x4db254(0x542)]:new Error((_0x3b8e01=_0x533f47[_0x4db254(0x542)])!=null?_0x3b8e01:_0x4db254(0x525));this[_0x4db254(0x374)](_0x3b38f9),this[_0x4db254(0x2e6)](_0x3b38f9),this[_0x4db254(0x460)](_0x22d54d),this[_0x4db254(0x382)](_0x3b38f9),this[_0x4db254(0x42a)](_0x3b38f9),this[_0x4db254(0x1b2)]();}}_0x1fe4e5[_0x4b5896(0x462)]=class extends _0x25cac4{constructor(_0x6d79c8,_0x4f3245,_0x34d186,_0x223aca,_0x26ba9e,_0xdfcdad,_0x324c4a,_0x12a8c5,_0x8732f8,_0xe07a04){var _0x10eb91=_0x4b5896;super(_0x6d79c8,_0x4f3245,null,[],_0x34d186,_0x324c4a,_0xdfcdad,_0x223aca,_0xe07a04),_0x33a719(this,_0x10eb91(0x318),_0x10eb91(0x4dc)),(this['_injector']=_0x26ba9e,this['_logService']=_0x12a8c5,this[_0x10eb91(0x2d2)]=_0x8732f8,this[_0x10eb91(0x3ba)]=_0xe07a04);}[_0x4b5896(0x470)](_0x1a6a93){var _0x4fe0ad=_0x4b5896;const _0x3c1cb4=this['_injector'][_0x4fe0ad(0x284)](_0x1fe4e5['PendingState'],this[_0x4fe0ad(0x28a)],this['type'],[_0x1a6a93],this[_0x4fe0ad(0x1b1)]);return _0x3c1cb4[_0x4fe0ad(0x409)](),_0x3c1cb4[_0x4fe0ad(0x3bc)](),_0x3c1cb4;}[_0x4b5896(0x211)](_0x208e75){var _0x2a5839=_0x4b5896;if(this[_0x2a5839(0x436)](_0x208e75))return this[_0x2a5839(0x467)][_0x2a5839(0x284)](_0x1fe4e5['FetchingMissState'],this[_0x2a5839(0x28a)],this[_0x2a5839(0x25a)],null,[],null,[_0x208e75],this[_0x2a5839(0x1b1)]);try{const _0x40a40f=this[_0x2a5839(0x2d2)][_0x2a5839(0x262)](_0x208e75,[_0x5e2062['EmptyMutationInfo']]);if(_0x5e2062[_0x2a5839(0x3d6)](_0x40a40f)){const {c1Prime:_0x1fe21f}=_0x40a40f;return this['_executeRemoteChangeset'](_0x1fe21f),this;}throw _0x40a40f[_0x2a5839(0x542)];}catch(_0xd5466d){return this[_0x2a5839(0x2e7)]['error'](_0xd5466d),this['_onConflict'](!0x1);}}['_onConflict'](_0x3a749f){var _0x5092f3=_0x4b5896;return this['_injector'][_0x5092f3(0x284)](_0x1fe4e5['ConflictState'],this['unitID'],this[_0x5092f3(0x25a)],null,[],this[_0x5092f3(0x1b1)],_0x3a749f);}[_0x4b5896(0x534)](){var _0x25121a=_0x4b5896;throw new Error(_0x25121a(0x3d9));}[_0x4b5896(0x54c)](){var _0x1d67c8=_0x4b5896;throw new Error(_0x1d67c8(0x4df));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x2024bf=_0x4b5896;return this[_0x2024bf(0x467)][_0x2024bf(0x284)](_0x1fe4e5[_0x2024bf(0x2c6)],this[_0x2024bf(0x28a)],this[_0x2024bf(0x25a)],null,[],this[_0x2024bf(0x1b1)]);}[_0x4b5896(0x4ee)](){return this;}[_0x4b5896(0x446)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x5b9a49=_0x4b5896;const _0x10b7ca=this['_revisionService'][_0x5b9a49(0x3f8)](this[_0x5b9a49(0x28a)]);return this[_0x5b9a49(0x1b1)][_0x5b9a49(0x3c6)]({'from':_0x10b7ca,'to':0x0}),this[_0x5b9a49(0x467)][_0x5b9a49(0x284)](_0x1fe4e5[_0x5b9a49(0x204)],this[_0x5b9a49(0x28a)],this[_0x5b9a49(0x25a)],null,[],null,[],this[_0x5b9a49(0x1b1)]);}},_0x1fe4e5['SyncedState']=_0x19e867([_0x4233b2(0x3,_0x3a8efd[_0x4b5896(0x4b2)](_0x5e2062[_0x4b5896(0x2ef)])),_0x4233b2(0x4,_0x3a8efd['Inject'](_0x3a8efd[_0x4b5896(0x308)])),_0x4233b2(0x5,_0x3a8efd[_0x4b5896(0x4f2)]),_0x4233b2(0x6,_0x3a8efd['ICommandService']),_0x4233b2(0x7,_0x3a8efd[_0x4b5896(0x4b5)]),_0x4233b2(0x8,_0x5e2062[_0x4b5896(0x529)]),_0x4233b2(0x9,_0x3a8efd[_0x4b5896(0x1ec)](_0x5d850f))],_0x1fe4e5['SyncedState']),_0x1fe4e5[_0x4b5896(0x536)]=class extends _0x25cac4{constructor(_0x33128e,_0x216dfd,_0x512a0b,_0x87f158,_0x34e5e2,_0x57d917,_0x32f514,_0x328fc6,_0x5a531f,_0x5a4d72,_0x35d0d5,_0x345ac0,_0x3d41b5,_0x216341){var _0xd03484=_0x4b5896;super(_0x33128e,_0x216dfd,null,_0x512a0b,_0x87f158,_0x5a531f,_0x3d41b5,_0x57d917,_0x216341),_0x33a719(this,_0xd03484(0x318),_0xd03484(0x4f9)),_0x33a719(this,_0xd03484(0x37a),null),_0x33a719(this,_0xd03484(0x4f8),null),(this[_0xd03484(0x467)]=_0x34e5e2,this[_0xd03484(0x428)]=_0x32f514,this[_0xd03484(0x2e7)]=_0x328fc6,this['_configService']=_0x5a4d72,this[_0xd03484(0x2d2)]=_0x35d0d5,this[_0xd03484(0x4e8)]=_0x345ac0);}[_0x4b5896(0x470)](_0x5093b4){var _0x39d2bc=_0x4b5896;return this[_0x39d2bc(0x42f)][_0x39d2bc(0x435)](_0x5093b4),this[_0x39d2bc(0x3bc)](),this;}[_0x4b5896(0x211)](_0x3be07e){var _0xdae8d=_0x4b5896;if(this['_checkMissing'](_0x3be07e))return this[_0xdae8d(0x535)](),this[_0xdae8d(0x467)]['createInstance'](_0x1fe4e5[_0xdae8d(0x204)],this['unitID'],this[_0xdae8d(0x25a)],null,this[_0xdae8d(0x42f)],null,[_0x3be07e],this[_0xdae8d(0x1b1)]);try{const _0xa3d4b2=this['_transformService'][_0xdae8d(0x262)](_0x3be07e,this['_pendingMutations']);if(_0x5e2062[_0xdae8d(0x3d6)](_0xa3d4b2)){const {c1Prime:_0x331e42,m2Prime:_0x45bfd8}=_0xa3d4b2;this['_executeRemoteChangeset'](_0x331e42);const _0x150743=this['_injector'][_0xdae8d(0x284)](_0x1fe4e5[_0xdae8d(0x536)],this[_0xdae8d(0x28a)],this[_0xdae8d(0x25a)],_0x45bfd8,this['_handler']);this[_0xdae8d(0x535)]();const _0x46f66f=new Date()[_0xdae8d(0x330)](),_0x197c2c=this['_scheduleCompleteTimestamp']?Math[_0xdae8d(0x420)](this[_0xdae8d(0x37a)]-_0x46f66f,0x0):this[_0xdae8d(0x402)]();return _0x150743[_0xdae8d(0x409)](_0x197c2c),_0x150743;}throw _0xa3d4b2[_0xdae8d(0x542)];}catch(_0x3c64a7){return this[_0xdae8d(0x2e7)][_0xdae8d(0x542)](_0x3c64a7),this['_onConflict'](!0x1);}}[_0x4b5896(0x534)](){var _0xec8b6a=_0x4b5896;throw new Error(_0xec8b6a(0x24e));}[_0x4b5896(0x54c)](){var _0x413c57=_0x4b5896;throw new Error(_0x413c57(0x25e));}[_0x4b5896(0x408)](){return this;}[_0x4b5896(0x485)](){var _0x19acb7=_0x4b5896;return this[_0x19acb7(0x535)](),this['_injector'][_0x19acb7(0x284)](_0x1fe4e5[_0x19acb7(0x2c6)],this[_0x19acb7(0x28a)],this[_0x19acb7(0x25a)],null,this[_0x19acb7(0x42f)],this[_0x19acb7(0x1b1)]);}[_0x4b5896(0x4ee)](){return this;}[_0x4b5896(0x409)](_0x20f320){var _0x448d81=_0x4b5896;const _0x4700aa=_0x20f320!=null?_0x20f320:this['_getSendChangesetTimeout']();this[_0x448d81(0x37a)]=new Date()[_0x448d81(0x330)]()+_0x4700aa,this[_0x448d81(0x4f8)]=setTimeout(()=>{var _0x4c5348=_0x448d81;this[_0x4c5348(0x535)]();let _0x3c9cf2=null;switch(this['type']){case _0x4dc4c2['UNIVER_SHEET']:{_0x3c9cf2=_0x1869a1(this[_0x4c5348(0x42f)],this[_0x4c5348(0x28a)],this[_0x4c5348(0x4e8)],this[_0x4c5348(0x4ba)],this['_memberService']);break;}case _0x4dc4c2['UNIVER_DOC']:{this[_0x4c5348(0x42f)][_0x4c5348(0x51c)](_0x455702=>_0x455702['id']===_0x42a10e[_0x4c5348(0x4c8)]['id'])?_0x3c9cf2=_0x18d7bb(this[_0x4c5348(0x42f)],this[_0x4c5348(0x28a)],this['_univerInstanceService'],this[_0x4c5348(0x4ba)],this[_0x4c5348(0x428)]):_0x3c9cf2=_0x1869a1(this[_0x4c5348(0x42f)],this[_0x4c5348(0x28a)],this[_0x4c5348(0x4e8)],this[_0x4c5348(0x4ba)],this[_0x4c5348(0x428)]);break;}default:throw new Error(_0x4c5348(0x3a1)+this[_0x4c5348(0x25a)]+'\x20in\x20_schedule.');}const {changeset:_0x8a044d,pendingMutations:_0x1e38d1}=_0x3c9cf2;this['_handler'][_0x4c5348(0x341)](_0x8a044d);const _0xcc3db0=_0x1e38d1[_0x4c5348(0x31b)]?this[_0x4c5348(0x467)]['createInstance'](_0x1fe4e5[_0x4c5348(0x2c0)],this['unitID'],this['type'],_0x8a044d,_0x1e38d1,this[_0x4c5348(0x1b1)],void 0x0):this[_0x4c5348(0x467)][_0x4c5348(0x284)](_0x1fe4e5[_0x4c5348(0x2d8)],this[_0x4c5348(0x28a)],this[_0x4c5348(0x25a)],_0x8a044d,this[_0x4c5348(0x1b1)]);_0xcc3db0[_0x4c5348(0x3bc)](),this[_0x4c5348(0x1b1)][_0x4c5348(0x41d)](this,_0xcc3db0);},_0x4700aa);}['_getSendChangesetTimeout'](){var _0x1016fa=_0x4b5896,_0x2a45a0;const _0x1a3202=this[_0x1016fa(0x229)]['getConfig'](_0x3fa8a8);return(_0x2a45a0=_0x1a3202==null?void 0x0:_0x1a3202[_0x1016fa(0x1f4)])!=null?_0x2a45a0:0x7d0;}[_0x4b5896(0x446)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4b5896(0x535)](){var _0x1b0cf7=_0x4b5896;this[_0x1b0cf7(0x4f8)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x1b0cf7(0x4f8)]=null);}[_0x4b5896(0x4bd)](_0x4660cb){var _0x3589b8=_0x4b5896;return this[_0x3589b8(0x535)](),this[_0x3589b8(0x467)][_0x3589b8(0x284)](_0x1fe4e5[_0x3589b8(0x3b4)],this['unitID'],this[_0x3589b8(0x25a)],null,this[_0x3589b8(0x42f)],this[_0x3589b8(0x1b1)],_0x4660cb);}},_0x1fe4e5[_0x4b5896(0x536)]=_0x19e867([_0x4233b2(0x4,_0x3a8efd['Inject'](_0x3a8efd[_0x4b5896(0x308)])),_0x4233b2(0x5,_0x3a8efd[_0x4b5896(0x4b2)](_0x5e2062[_0x4b5896(0x2ef)])),_0x4233b2(0x6,_0x3a8efd[_0x4b5896(0x4b2)](_0x1fe4e5[_0x4b5896(0x1cf)])),_0x4233b2(0x7,_0x3a8efd[_0x4b5896(0x4b5)]),_0x4233b2(0x8,_0x3a8efd['ICommandService']),_0x4233b2(0x9,_0x3a8efd[_0x4b5896(0x383)]),_0x4233b2(0xa,_0x5e2062[_0x4b5896(0x529)]),_0x4233b2(0xb,_0x3a8efd[_0x4b5896(0x40f)]),_0x4233b2(0xc,_0x3a8efd['IUndoRedoService']),_0x4233b2(0xd,_0x3a8efd['Optional'](_0x5d850f))],_0x1fe4e5['PendingState']),_0x1fe4e5[_0x4b5896(0x2d8)]=class extends _0x25cac4{constructor(_0x2206a2,_0x43b182,_0x4bf762,_0x404d7a,_0xe40d59,_0x2fb8e2,_0x1eaf7b,_0x376f31,_0x1295e0,_0x7825f4,_0x5db9ef){var _0x277250=_0x4b5896;super(_0x2206a2,_0x43b182,_0x4bf762,[],_0x404d7a,_0x1eaf7b,_0x7825f4,_0x2fb8e2,_0x5db9ef),_0x33a719(this,'status',_0x277250(0x4ae)),_0x33a719(this,_0x277250(0x1cb),0x0),_0x33a719(this,'_maxTotalRetryTimeout',0x0),_0x33a719(this,_0x277250(0x4b1)),_0x33a719(this,_0x277250(0x46b)),(this[_0x277250(0x467)]=_0xe40d59,this['_logService']=_0x376f31,this['_transformService']=_0x1295e0);}[_0x4b5896(0x470)](_0x9687f9){var _0xbf9d5e=_0x4b5896;this[_0xbf9d5e(0x535)]();const _0x378d9a=this[_0xbf9d5e(0x467)][_0xbf9d5e(0x284)](_0x1fe4e5['AwaitingWithPendingState'],this['unitID'],this[_0xbf9d5e(0x25a)],this[_0xbf9d5e(0x30a)],[_0x9687f9],this['_handler'],this[_0xbf9d5e(0x4b1)]);return _0x378d9a[_0xbf9d5e(0x3bc)](),_0x378d9a;}[_0x4b5896(0x211)](_0x51e8bf){var _0x3ac74a=_0x4b5896;if(this['_checkMissing'](_0x51e8bf))return this['_clearScheduledTask'](),this[_0x3ac74a(0x467)]['createInstance'](_0x1fe4e5[_0x3ac74a(0x204)],this[_0x3ac74a(0x28a)],this[_0x3ac74a(0x25a)],this[_0x3ac74a(0x30a)],[],null,[_0x51e8bf],this['_handler']);try{const _0x442c65=this[_0x3ac74a(0x2d2)]['transformChangesets']([_0x51e8bf],[this[_0x3ac74a(0x30a)]],!0x1);if(_0x5e2062['isTransformChangesetsSuccess'](_0x442c65)){const {c1Prime:_0x572f53,c2Prime:_0x2bfc15}=_0x442c65;this[_0x3ac74a(0x484)](_0x572f53[0x0]),_0x2bfc15[0x0][_0x3ac74a(0x48e)]=this[_0x3ac74a(0x1cd)](),this[_0x3ac74a(0x535)]();const _0x76031d=this[_0x3ac74a(0x467)][_0x3ac74a(0x284)](_0x1fe4e5[_0x3ac74a(0x2d8)],this[_0x3ac74a(0x28a)],this['type'],_0x2bfc15[0x0],this['_handler']);return _0x76031d[_0x3ac74a(0x3bc)](),_0x76031d;}return this['_onConflict'](!0x1);}catch(_0x5a2c55){return this[_0x3ac74a(0x2e7)][_0x3ac74a(0x542)](_0x5a2c55),this[_0x3ac74a(0x4bd)](!0x1);}}[_0x4b5896(0x534)](_0x506d9a){var _0x287a2c=_0x4b5896;this[_0x287a2c(0x535)]();const _0x4e8cfb=this['_revisionService'][_0x287a2c(0x3f8)](this[_0x287a2c(0x28a)]);if(_0x506d9a[_0x287a2c(0x301)]<_0x4e8cfb-0x1)return this;if(this[_0x287a2c(0x436)](_0x506d9a))return this[_0x287a2c(0x467)][_0x287a2c(0x284)](_0x1fe4e5[_0x287a2c(0x204)],this[_0x287a2c(0x28a)],this['type'],null,[],this[_0x287a2c(0x30a)],[],this[_0x287a2c(0x1b1)]);this[_0x287a2c(0x1b2)]();const _0x6a82be=this[_0x287a2c(0x467)][_0x287a2c(0x284)](_0x1fe4e5[_0x287a2c(0x462)],this['unitID'],this[_0x287a2c(0x25a)],this[_0x287a2c(0x1b1)]);return _0x6a82be[_0x287a2c(0x3bc)](),_0x6a82be;}['onRemoteRej'](_0x11c62c){var _0x53ed0e=_0x4b5896;return this[_0x53ed0e(0x4bd)](!!(_0x11c62c!=null&&_0x11c62c['isPermissionRej']));}['onRemoteRetry'](_0x17a716){var _0x579b04=_0x4b5896;return this[_0x579b04(0x287)]>_0xf5ed0d?this[_0x579b04(0x485)]():(this[_0x579b04(0x4b1)]=_0x92083f(this[_0x579b04(0x1cb)],{'timeout':this[_0x579b04(0x1cb)],'reqId':_0x17a716['reqId']}),this[_0x579b04(0x46b)]=this[_0x579b04(0x4b1)]['subscribe'](({reqId:_0x3ceac6,timeout:_0x213d4c})=>{this['_resendWithTimeout'](_0x3ceac6,_0x213d4c);}),this);}[_0x4b5896(0x485)](){var _0x214db5=_0x4b5896;return this[_0x214db5(0x535)](),this[_0x214db5(0x467)]['createInstance'](_0x1fe4e5[_0x214db5(0x2c6)],this[_0x214db5(0x28a)],this[_0x214db5(0x25a)],this[_0x214db5(0x30a)],[],this['_handler']);}[_0x4b5896(0x4ee)](){return this;}[_0x4b5896(0x446)](){var _0x54cbba=_0x4b5896;this['_handler']['onSendChangeset'](this[_0x54cbba(0x30a)]);}[_0x4b5896(0x4bd)](_0x5a4775){var _0x3b692e=_0x4b5896;return this[_0x3b692e(0x535)](),this[_0x3b692e(0x467)]['createInstance'](_0x1fe4e5['ConflictState'],this[_0x3b692e(0x28a)],this['type'],this[_0x3b692e(0x30a)],[],this[_0x3b692e(0x1b1)],_0x5a4775);}[_0x4b5896(0x33c)](_0x445b99,_0x4e691c){var _0x59c1ec=_0x4b5896,_0x56c510;_0x445b99===((_0x56c510=this[_0x59c1ec(0x30a)])==null?void 0x0:_0x56c510[_0x59c1ec(0x1df)])&&(this[_0x59c1ec(0x446)](),this['_resendTimeout']=_0x4e691c===0x0?0x3e8:Math['min'](_0x4e691c*0x2,_0x394cb1),this[_0x59c1ec(0x287)]+=this[_0x59c1ec(0x1cb)]);}['_clearScheduledTask'](){var _0x143bb3=_0x4b5896,_0xaf1c56;(_0xaf1c56=this[_0x143bb3(0x46b)])==null||_0xaf1c56[_0x143bb3(0x4d6)](),this[_0x143bb3(0x1cb)]=0x0,this[_0x143bb3(0x287)]=0x0;}},_0x1fe4e5['AwaitingState']=_0x19e867([_0x4233b2(0x4,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x308)])),_0x4233b2(0x5,_0x3a8efd[_0x4b5896(0x4b2)](_0x5e2062[_0x4b5896(0x2ef)])),_0x4233b2(0x6,_0x3a8efd[_0x4b5896(0x31c)]),_0x4233b2(0x7,_0x3a8efd[_0x4b5896(0x4b5)]),_0x4233b2(0x8,_0x5e2062[_0x4b5896(0x529)]),_0x4233b2(0x9,_0x3a8efd[_0x4b5896(0x4f2)]),_0x4233b2(0xa,_0x3a8efd[_0x4b5896(0x1ec)](_0x5d850f))],_0x1fe4e5[_0x4b5896(0x2d8)]),_0x1fe4e5[_0x4b5896(0x2c0)]=class extends _0x25cac4{constructor(_0xb4d961,_0x26dbe7,_0x14cace,_0x42693f,_0x455401,_0xbad341,_0x19d697,_0x3a90ba,_0x548873,_0x1384aa,_0x1cb038,_0x542796,_0x65ebd7){var _0x4d997f=_0x4b5896;super(_0xb4d961,_0x26dbe7,_0x14cace,_0x42693f,_0x455401,_0x548873,_0x542796,_0x3a90ba,_0x65ebd7),_0x33a719(this,_0x4d997f(0x318),'awaiting_with_pending'),_0x33a719(this,_0x4d997f(0x1cb),0x0),_0x33a719(this,_0x4d997f(0x287),0x0),_0x33a719(this,_0x4d997f(0x4b1)),_0x33a719(this,_0x4d997f(0x46b)),(this['_injector']=_0x19d697,this[_0x4d997f(0x2e7)]=_0x1384aa,this[_0x4d997f(0x2d2)]=_0x1cb038,this[_0x4d997f(0x3ba)]=_0x65ebd7,_0xbad341&&(this[_0x4d997f(0x4b1)]=_0xbad341,this[_0x4d997f(0x46b)]=this['_resendTimer'][_0x4d997f(0x465)](({reqId:_0x87ff26,timeout:_0x2c9cd7})=>{var _0xd23fd3=_0x4d997f;this[_0xd23fd3(0x33c)](_0x87ff26,_0x2c9cd7);})));}[_0x4b5896(0x470)](_0xec05fd){var _0x49154d=_0x4b5896;return this['_pendingMutations'][_0x49154d(0x435)](_0xec05fd),this;}[_0x4b5896(0x211)](_0x223b98){var _0x348a3b=_0x4b5896;if(this[_0x348a3b(0x436)](_0x223b98))return this['_clearScheduledTask'](),this[_0x348a3b(0x467)][_0x348a3b(0x284)](_0x1fe4e5['FetchingMissState'],this[_0x348a3b(0x28a)],this['type'],this[_0x348a3b(0x30a)],this['_pendingMutations'],null,[_0x223b98],this[_0x348a3b(0x1b1)]);try{const _0x13c3dd=this[_0x348a3b(0x2d2)][_0x348a3b(0x2a7)]([_0x223b98],[this['_awaitingChangeset']],!0x1);if(_0x5e2062[_0x348a3b(0x20f)](_0x13c3dd)){const {c1Prime:_0x4bf945,c2Prime:_0x1ef12f}=_0x13c3dd,_0x11abf7=this['_transformService']['transformMutationsWithChangeset'](_0x4bf945[0x0],this[_0x348a3b(0x42f)]);if(_0x5e2062[_0x348a3b(0x3d6)](_0x11abf7)){const {c1Prime:_0x26d332,m2Prime:_0x3d2954}=_0x11abf7;return this[_0x348a3b(0x484)](_0x26d332),_0x1ef12f[0x0]['baseRev']=this[_0x348a3b(0x1cd)](),this[_0x348a3b(0x535)](),this[_0x348a3b(0x467)]['createInstance'](_0x1fe4e5[_0x348a3b(0x2c0)],this[_0x348a3b(0x28a)],this[_0x348a3b(0x25a)],_0x1ef12f[0x0],_0x3d2954,this[_0x348a3b(0x1b1)],void 0x0);}throw _0x11abf7[_0x348a3b(0x542)];}throw _0x13c3dd[_0x348a3b(0x542)];}catch(_0x4b951a){return this[_0x348a3b(0x2e7)][_0x348a3b(0x542)](_0x4b951a),this['_onConflict'](!0x1);}}[_0x4b5896(0x534)](_0x126666){var _0x52a726=_0x4b5896;if(this['_clearScheduledTask'](),this[_0x52a726(0x436)](_0x126666))return this[_0x52a726(0x467)]['createInstance'](_0x1fe4e5[_0x52a726(0x204)],this[_0x52a726(0x28a)],this[_0x52a726(0x25a)],null,this[_0x52a726(0x42f)],this[_0x52a726(0x30a)],[],this['_handler']);this[_0x52a726(0x1b2)]();const _0xbfff3c=this[_0x52a726(0x467)][_0x52a726(0x284)](_0x1fe4e5[_0x52a726(0x536)],this[_0x52a726(0x28a)],this[_0x52a726(0x25a)],this[_0x52a726(0x42f)],this[_0x52a726(0x1b1)]);return _0xbfff3c[_0x52a726(0x409)](),_0xbfff3c[_0x52a726(0x3bc)](),_0xbfff3c;}[_0x4b5896(0x54c)](_0x283100){var _0xaac22=_0x4b5896;return this[_0xaac22(0x4bd)](!!(_0x283100!=null&&_0x283100[_0xaac22(0x361)]));}['onRemoteRetry'](_0x328170){var _0x38edf0=_0x4b5896;return this['_maxTotalRetryTimeout']>_0xf5ed0d?this[_0x38edf0(0x485)]():(this[_0x38edf0(0x4b1)]=_0x92083f(this[_0x38edf0(0x1cb)],{'timeout':this[_0x38edf0(0x1cb)],'reqId':_0x328170[_0x38edf0(0x1df)]}),this[_0x38edf0(0x46b)]=this[_0x38edf0(0x4b1)]['subscribe'](({reqId:_0x32f414,timeout:_0x28e207})=>{var _0xb65e19=_0x38edf0;this[_0xb65e19(0x33c)](_0x32f414,_0x28e207);}),this);}[_0x4b5896(0x485)](){var _0x24bae4=_0x4b5896;return this[_0x24bae4(0x535)](),this['_injector']['createInstance'](_0x1fe4e5[_0x24bae4(0x2c6)],this[_0x24bae4(0x28a)],this['type'],this[_0x24bae4(0x30a)],this[_0x24bae4(0x42f)],this[_0x24bae4(0x1b1)]);}[_0x4b5896(0x4ee)](){return this;}[_0x4b5896(0x446)](){var _0x4dcc57=_0x4b5896;this[_0x4dcc57(0x1b1)]['onSendChangeset'](this[_0x4dcc57(0x30a)]);}['_onConflict'](_0x5cf35f){var _0x584800=_0x4b5896;return this['_clearScheduledTask'](),this[_0x584800(0x467)][_0x584800(0x284)](_0x1fe4e5[_0x584800(0x3b4)],this[_0x584800(0x28a)],this[_0x584800(0x25a)],null,this[_0x584800(0x42f)],this[_0x584800(0x1b1)],_0x5cf35f);}[_0x4b5896(0x33c)](_0x4e151c,_0x159882){var _0x3c458e=_0x4b5896,_0x253e8e;_0x4e151c===((_0x253e8e=this[_0x3c458e(0x30a)])==null?void 0x0:_0x253e8e[_0x3c458e(0x1df)])&&(this['resend'](),this['_resendTimeout']=_0x159882===0x0?0x3e8:Math['min'](_0x159882*0x2,_0x394cb1),this['_maxTotalRetryTimeout']+=this[_0x3c458e(0x1cb)]);}[_0x4b5896(0x535)](){var _0x3f4f21=_0x4b5896,_0x3c040c;(_0x3c040c=this['_sender'])==null||_0x3c040c[_0x3f4f21(0x4d6)](),this[_0x3f4f21(0x1cb)]=0x0,this[_0x3f4f21(0x287)]=0x0;}},_0x1fe4e5[_0x4b5896(0x2c0)]=_0x19e867([_0x4233b2(0x6,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd['Injector'])),_0x4233b2(0x7,_0x3a8efd[_0x4b5896(0x4b2)](_0x5e2062['RevisionService'])),_0x4233b2(0x8,_0x3a8efd[_0x4b5896(0x31c)]),_0x4233b2(0x9,_0x3a8efd['ILogService']),_0x4233b2(0xa,_0x5e2062['ITransformService']),_0x4233b2(0xb,_0x3a8efd['IUndoRedoService']),_0x4233b2(0xc,_0x3a8efd[_0x4b5896(0x1ec)](_0x5d850f))],_0x1fe4e5[_0x4b5896(0x2c0)]),_0x1fe4e5[_0x4b5896(0x3b4)]=class extends _0x25cac4{constructor(_0x55848b,_0x3e3992,_0x4477f6,_0x573d0f,_0x2a89dd,_0x2b347a=!0x1,_0x1fae10,_0x216ddc,_0x31625a,_0x495731,_0x31e2a6,_0x2b8542,_0x391ee0){var _0x348dbf=_0x4b5896;super(_0x55848b,_0x3e3992,_0x4477f6,_0x573d0f,_0x2a89dd,_0x216ddc,_0x31625a,_0x495731,_0x391ee0),_0x33a719(this,_0x348dbf(0x318),_0x348dbf(0x499)),(this[_0x348dbf(0x1ad)]=_0x2b347a,this['_permissionService']=_0x1fae10,this[_0x348dbf(0x3c2)]=_0x31e2a6,this[_0x348dbf(0x3ca)]=_0x2b8542,this[_0x348dbf(0x3ba)]=_0x391ee0,this[_0x348dbf(0x378)](),this['_clearLocalCache'](),this[_0x348dbf(0x533)]());}[_0x4b5896(0x470)](){return this;}['onRemoteChangeset'](){return this;}[_0x4b5896(0x534)](){return this;}['onRemoteRej'](){return this;}[_0x4b5896(0x408)](){return this;}[_0x4b5896(0x485)](){return this;}[_0x4b5896(0x4ee)](){return this;}[_0x4b5896(0x446)](){var _0x2d28ee=_0x4b5896;throw new Error(_0x2d28ee(0x4fe));}[_0x4b5896(0x3b9)](){var _0x4e2f13=_0x4b5896,_0x464e41;(_0x464e41=this[_0x4e2f13(0x25d)])==null||_0x464e41[_0x4e2f13(0x1d7)](this[_0x4e2f13(0x28a)],this[_0x4e2f13(0x25a)],null,[]);}[_0x4b5896(0x378)](){var _0x524610=_0x4b5896;this[_0x524610(0x1ad)]?this['_collaborationUIEventService'][_0x524610(0x487)]({'id':_0x758ea3['PERMISSION_DENIED']}):this['_collaborationUIEventService']['emitEvent']({'id':_0x758ea3[_0x524610(0x3f0)]});}[_0x4b5896(0x533)](){var _0x5c4cdc=_0x4b5896;this['_permissionService'][_0x5c4cdc(0x475)](new _0x14ea65['WorkbookEditablePermission'](this[_0x5c4cdc(0x28a)])['id'],!0x1);}},_0x1fe4e5[_0x4b5896(0x3b4)]=_0x19e867([_0x4233b2(0x6,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd['IPermissionService'])),_0x4233b2(0x7,_0x3a8efd[_0x4b5896(0x31c)]),_0x4233b2(0x8,_0x3a8efd[_0x4b5896(0x4f2)]),_0x4233b2(0x9,_0x3a8efd['Inject'](_0x5e2062[_0x4b5896(0x2ef)])),_0x4233b2(0xa,_0x3a8efd['Inject'](_0x3a8efd[_0x4b5896(0x30b)])),_0x4233b2(0xb,_0x3a8efd['Inject'](_0x5b5dc8)),_0x4233b2(0xc,_0x3a8efd[_0x4b5896(0x1ec)](_0x5d850f))],_0x1fe4e5[_0x4b5896(0x3b4)]),_0x1fe4e5[_0x4b5896(0x2c6)]=class extends _0x25cac4{constructor(_0x553798,_0x43f49f,_0x40ff8b,_0x54da78,_0x50ca35,_0x4fb22a,_0x97b2ab,_0x1cf736,_0x381759,_0x5c27b6){var _0x55ceb5=_0x4b5896;super(_0x553798,_0x43f49f,_0x40ff8b,_0x54da78,_0x50ca35,_0x1cf736,_0x381759,_0x97b2ab,_0x5c27b6),_0x33a719(this,_0x55ceb5(0x318),_0x55ceb5(0x3b5)),this['_injector']=_0x4fb22a;}['appendMutation'](_0x403ac4){var _0x3fb5fa=_0x4b5896;return this[_0x3fb5fa(0x42f)][_0x3fb5fa(0x435)](_0x403ac4),this[_0x3fb5fa(0x3bc)](),this;}[_0x4b5896(0x211)](_0x4be577){var _0x4ec7a6=_0x4b5896;throw new Error(_0x4ec7a6(0x1f2));}[_0x4b5896(0x534)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x4b5896(0x54c)](){var _0x32758f=_0x4b5896;throw new Error(_0x32758f(0x244));}[_0x4b5896(0x408)](){return this;}[_0x4b5896(0x485)](){return this;}[_0x4b5896(0x4ee)](){var _0x4e4cd5=_0x4b5896;const {_injector:_0x1aabe8,_pendingMutations:_0x4ab372,_awaitingChangeset:_0x52f088,unitID:_0x1cdb9a,_handler:_0x525031,type:_0x993640}=this,_0x59f4b5=_0x221279(_0x1aabe8,_0x1cdb9a,_0x993640,_0x52f088,_0x4ab372,_0x525031);return _0x59f4b5 instanceof _0x1fe4e5[_0x4e4cd5(0x536)]?_0x59f4b5['_schedule']():(_0x59f4b5 instanceof _0x1fe4e5['AwaitingWithPendingState']||_0x59f4b5 instanceof _0x1fe4e5['AwaitingState'])&&_0x59f4b5['resend'](),_0x59f4b5;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x1fe4e5[_0x4b5896(0x2c6)]=_0x19e867([_0x4233b2(0x5,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd['Injector'])),_0x4233b2(0x6,_0x3a8efd[_0x4b5896(0x4b2)](_0x5e2062[_0x4b5896(0x2ef)])),_0x4233b2(0x7,_0x3a8efd[_0x4b5896(0x31c)]),_0x4233b2(0x8,_0x3a8efd['IUndoRedoService']),_0x4233b2(0x9,_0x3a8efd[_0x4b5896(0x1ec)](_0x5d850f))],_0x1fe4e5['OfflineState']),_0x1fe4e5[_0x4b5896(0x204)]=class extends _0x25cac4{constructor(_0x2149b4,_0x1e0553,_0x4eeba0,_0x2cb812,_0x1c8a25,_0x69585f,_0x159f8e,_0x59e08b,_0x609a22,_0x23972d,_0x1ffbdf,_0xf0830d,_0x32bc8a,_0x6bee3b){var _0x412c5c=_0x4b5896;super(_0x2149b4,_0x1e0553,_0x4eeba0,_0x2cb812,_0x159f8e,_0x1ffbdf,_0xf0830d,_0x609a22,_0x6bee3b),_0x33a719(this,_0x412c5c(0x318),_0x412c5c(0x33e)),(this['_acknowledgedAwaitingChangeset']=_0x1c8a25,this[_0x412c5c(0x302)]=_0x69585f,this[_0x412c5c(0x467)]=_0x59e08b,this['_logService']=_0x23972d,this['_transformService']=_0x32bc8a,this[_0x412c5c(0x3ba)]=_0x6bee3b);}[_0x4b5896(0x2ac)](_0x45eb7a){var _0x7f1834=_0x4b5896;try{const _0x1fd67c=[..._0x45eb7a,...this[_0x7f1834(0x302)]],_0x5f2648=[this['_awaitingChangeset']||this[_0x7f1834(0x1d9)]][_0x7f1834(0x329)](_0x4898ba=>!!_0x4898ba);let _0x143d4,_0x1ae409;if(_0x5f2648[_0x7f1834(0x31b)]){const _0x1de3ac=this[_0x7f1834(0x2d2)][_0x7f1834(0x2a7)](_0x1fd67c,_0x5f2648,!0x1);if(!_0x5e2062[_0x7f1834(0x20f)](_0x1de3ac))throw _0x1de3ac[_0x7f1834(0x542)];_0x143d4=_0x1de3ac[_0x7f1834(0x2c4)],_0x1ae409=_0x1de3ac[_0x7f1834(0x4d9)];}else _0x143d4=_0x1fd67c,_0x1ae409=[];let _0x19f839=this[_0x7f1834(0x42f)];_0x143d4['forEach'](_0x4bddc7=>{var _0x555cea=_0x7f1834;let _0x3a51ae;if(_0x19f839[_0x555cea(0x31b)]){const _0x2a2445=this['_transformService']['transformMutationsWithChangeset'](_0x4bddc7,_0x19f839);if(!_0x5e2062[_0x555cea(0x3d6)](_0x2a2445))throw _0x2a2445[_0x555cea(0x542)];_0x3a51ae=_0x2a2445['c1Prime'],_0x19f839=_0x2a2445[_0x555cea(0x48c)];}else _0x3a51ae=_0x4bddc7;this[_0x555cea(0x484)](_0x3a51ae);}),this[_0x7f1834(0x1d9)]&&this[_0x7f1834(0x1b2)](),this[_0x7f1834(0x30a)]&&_0x1ae409['length']&&(_0x1ae409[0x0][_0x7f1834(0x48e)]=this[_0x7f1834(0x1cd)]());let _0x48ca30;if(this['_awaitingChangeset']&&_0x19f839[_0x7f1834(0x31b)]!==0x0)_0x48ca30=this[_0x7f1834(0x467)]['createInstance'](_0x1fe4e5[_0x7f1834(0x2c0)],this[_0x7f1834(0x28a)],this['type'],_0x1ae409[0x0],_0x19f839,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x19f839[_0x7f1834(0x31b)]===0x0)_0x1ae409[0x0][_0x7f1834(0x48e)]=this[_0x7f1834(0x1cd)](),_0x48ca30=this['_injector']['createInstance'](_0x1fe4e5[_0x7f1834(0x2d8)],this[_0x7f1834(0x28a)],this['type'],_0x1ae409[0x0],this[_0x7f1834(0x1b1)]);else{if(_0x19f839[_0x7f1834(0x31b)]!==0x0){const _0x1347a5=this[_0x7f1834(0x467)][_0x7f1834(0x284)](_0x1fe4e5[_0x7f1834(0x536)],this['unitID'],this['type'],_0x19f839,this['_handler']);_0x1347a5[_0x7f1834(0x409)](),_0x48ca30=_0x1347a5;}else _0x48ca30=this['_injector'][_0x7f1834(0x284)](_0x1fe4e5[_0x7f1834(0x462)],this[_0x7f1834(0x28a)],this[_0x7f1834(0x25a)],this[_0x7f1834(0x1b1)]);}}return _0x48ca30[_0x7f1834(0x3bc)](),_0x48ca30;}catch(_0x594dcf){return this[_0x7f1834(0x2e7)][_0x7f1834(0x542)](_0x7f1834(0x223),_0x7f1834(0x4c3),_0x594dcf),this['_injector'][_0x7f1834(0x284)](_0x1fe4e5[_0x7f1834(0x3b4)],this[_0x7f1834(0x28a)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x4b5896(0x446)](){var _0x264d63=_0x4b5896;throw new Error(_0x264d63(0x2be));}[_0x4b5896(0x470)](_0x6b9f3d){var _0x232369=_0x4b5896;return this[_0x232369(0x42f)]['push'](_0x6b9f3d),this;}['onRemoteChangeset'](_0x3e3ac6){var _0x2c7687=_0x4b5896;return this[_0x2c7687(0x302)][_0x2c7687(0x435)](_0x3e3ac6),this;}['onRemoteAck'](_0x3be996){var _0x2355a1=_0x4b5896;if(this[_0x2355a1(0x30a)])return this[_0x2355a1(0x1d9)]=this[_0x2355a1(0x30a)],this['_awaitingChangeset']=null,this;throw new Error(_0x2355a1(0x4af));}[_0x4b5896(0x54c)](_0x5c1d49){var _0x1036eb=_0x4b5896;return this[_0x1036eb(0x4bd)](!!(_0x5c1d49!=null&&_0x5c1d49[_0x1036eb(0x361)]));}['onRemoteRetry'](){return this;}[_0x4b5896(0x485)](){var _0x20c000=_0x4b5896;return this[_0x20c000(0x467)][_0x20c000(0x284)](_0x1fe4e5[_0x20c000(0x2c6)],this['unitID'],this[_0x20c000(0x25a)],this[_0x20c000(0x30a)],this[_0x20c000(0x42f)],this[_0x20c000(0x1b1)]);}[_0x4b5896(0x4ee)](){return this;}[_0x4b5896(0x4bd)](_0x46a10b){var _0x423dc9=_0x4b5896;return this[_0x423dc9(0x467)][_0x423dc9(0x284)](_0x1fe4e5[_0x423dc9(0x3b4)],this[_0x423dc9(0x28a)],this[_0x423dc9(0x25a)],this[_0x423dc9(0x30a)],this[_0x423dc9(0x42f)],this['_handler'],_0x46a10b);}},_0x1fe4e5[_0x4b5896(0x204)]=_0x19e867([_0x4233b2(0x7,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x308)])),_0x4233b2(0x8,_0x3a8efd['Inject'](_0x5e2062[_0x4b5896(0x2ef)])),_0x4233b2(0x9,_0x3a8efd[_0x4b5896(0x4b5)]),_0x4233b2(0xa,_0x3a8efd['ICommandService']),_0x4233b2(0xb,_0x3a8efd[_0x4b5896(0x4f2)]),_0x4233b2(0xc,_0x5e2062[_0x4b5896(0x529)]),_0x4233b2(0xd,_0x3a8efd[_0x4b5896(0x1ec)](_0x5d850f))],_0x1fe4e5[_0x4b5896(0x204)]);function _0x221279(_0x5a6e50,_0x58f0f9,_0x7bf448,_0x2a4f5b,_0x81ea02,_0x2c5dfb){var _0x445a4b=_0x4b5896;return _0x2a4f5b&&_0x81ea02['length']?_0x5a6e50[_0x445a4b(0x284)](_0x1fe4e5[_0x445a4b(0x2c0)],_0x58f0f9,_0x7bf448,_0x2a4f5b,_0x81ea02,_0x2c5dfb,void 0x0):_0x2a4f5b?_0x5a6e50[_0x445a4b(0x284)](_0x1fe4e5['AwaitingState'],_0x58f0f9,_0x7bf448,_0x2a4f5b,_0x2c5dfb):_0x81ea02[_0x445a4b(0x31b)]?_0x5a6e50[_0x445a4b(0x284)](_0x1fe4e5['PendingState'],_0x58f0f9,_0x7bf448,_0x81ea02,_0x2c5dfb):_0x5a6e50[_0x445a4b(0x284)](_0x1fe4e5['SyncedState'],_0x58f0f9,_0x7bf448,_0x2c5dfb);}var _0x117d69=Object[_0x4b5896(0x36f)],_0x2c8ee5=(_0x5cdb5c,_0x39c73e,_0x1d62c3,_0x2ceeee)=>{var _0x5e8a76=_0x4b5896;for(var _0x341a49=_0x2ceeee>0x1?void 0x0:_0x2ceeee?_0x117d69(_0x39c73e,_0x1d62c3):_0x39c73e,_0x57ac72=_0x5cdb5c[_0x5e8a76(0x31b)]-0x1,_0xdce3e8;_0x57ac72>=0x0;_0x57ac72--)(_0xdce3e8=_0x5cdb5c[_0x57ac72])&&(_0x341a49=_0xdce3e8(_0x341a49)||_0x341a49);return _0x341a49;},_0x180f0d=(_0x5d629a,_0x1945aa)=>(_0x1da64b,_0x5b4de5)=>_0x1945aa(_0x1da64b,_0x5b4de5,_0x5d629a);_0x1fe4e5[_0x4b5896(0x398)]=class extends _0x3a8efd[_0x4b5896(0x4ad)]{constructor(_0x238872,_0x293f61,_0x3e32ed,_0x3f3f65,_0x529252,_0x4c4674,_0x13e9ed,_0x49d9c5,_0x5efb17,_0x33ec2f,_0xe8290c,_0x4a66b2,_0x53bcf1,_0x5c7d90){var _0x24b62a=_0x4b5896;super(),_0x33a719(this,_0x24b62a(0x20b),new _0x49840d[(_0x24b62a(0x293))](null)),_0x33a719(this,_0x24b62a(0x30d),this['_state$'][_0x24b62a(0x350)]()),_0x33a719(this,_0x24b62a(0x242)),_0x33a719(this,_0x24b62a(0x4bf),!0x1),_0x33a719(this,'_changesetSessionId',''),_0x33a719(this,_0x24b62a(0x394),0x0),_0x33a719(this,_0x24b62a(0x314),this[_0x24b62a(0x30d)][_0x24b62a(0x3b7)](_0x49840d['map'](_0x2a4043=>_0x2a4043?_0x2a4043[_0x24b62a(0x318)]:_0x366a4b[_0x24b62a(0x3cd)]),_0x49840d[_0x24b62a(0x212)](0x1))),_0x33a719(this,'_transitionLocked',!0x1),_0x33a719(this,'_remoteChangesetQueue',[]),(this[_0x24b62a(0x28a)]=_0x238872,this['session']=_0x293f61,this['_type']=_0x3e32ed,this[_0x24b62a(0x467)]=_0x3f3f65,this[_0x24b62a(0x4f4)]=_0x529252,this[_0x24b62a(0x3c2)]=_0x4c4674,this['_revisionService']=_0x13e9ed,this['_eventService']=_0x49d9c5,this[_0x24b62a(0x4e8)]=_0x5efb17,this[_0x24b62a(0x2e7)]=_0x33ec2f,this[_0x24b62a(0x1da)]=_0xe8290c,this['_permissionService']=_0x4a66b2,this['_singleActiveUnitService']=_0x53bcf1,this['_localCacheService']=_0x5c7d90);}get['state'](){var _0x4a9ea7=_0x4b5896;return this[_0x4a9ea7(0x242)];}async[_0x4b5896(0x3d0)](){var _0x32708a=_0x4b5896;if(this[_0x32708a(0x3a3)])throw new Error(_0x32708a(0x274));await this[_0x32708a(0x380)]();}['pauseCollaboration'](){var _0x491826=_0x4b5896;return this[_0x491826(0x4bf)]=!0x0,_0x3a8efd['toDisposable'](()=>{var _0x1c7db4=_0x491826;this[_0x1c7db4(0x4bf)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x4b5896(0x347)](_0x5085a3){var _0x45f0fc=_0x4b5896;this[_0x45f0fc(0x276)](_0x5085a3);}[_0x4b5896(0x4e2)](_0xd39783){var _0x550598=_0x4b5896;this[_0x550598(0x242)]=_0xd39783,this[_0x550598(0x20b)][_0x550598(0x4eb)](_0xd39783);}async[_0x4b5896(0x380)](){var _0x56b9c2=_0x4b5896,_0x522ccd;this['_updateState'](await this[_0x56b9c2(0x4cc)]()),this['_singleActiveUnitService']&&((_0x522ccd=this['_singleActiveUnitService'])==null||_0x522ccd[_0x56b9c2(0x51e)](this[_0x56b9c2(0x28a)]),this[_0x56b9c2(0x353)](this[_0x56b9c2(0x4c5)][_0x56b9c2(0x390)](this[_0x56b9c2(0x28a)])['subscribe'](_0x343fc3=>{var _0xd01b50=_0x56b9c2;this[_0xd01b50(0x2e7)]['debug'](_0xd01b50(0x4cd),_0xd01b50(0x389),_0x343fc3),_0x343fc3===_0x1445d5[_0xd01b50(0x366)]?(this[_0xd01b50(0x28c)][_0xd01b50(0x487)]({'id':_0x758ea3[_0xd01b50(0x4e3)]}),this[_0xd01b50(0x1b0)]['updatePermissionPoint'](new _0x14ea65[(_0xd01b50(0x522))](this[_0xd01b50(0x28a)])['id'],!0x1),this[_0xd01b50(0x1b0)][_0xd01b50(0x26b)](!0x1)):(this['_permissionService'][_0xd01b50(0x475)](new _0x14ea65['WorkbookEditablePermission'](this[_0xd01b50(0x28a)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x14c64d=!0x1;return this[_0x56b9c2(0x353)](this[_0x56b9c2(0x2e3)][_0x56b9c2(0x1f6)][_0x56b9c2(0x465)](_0x4a247f=>{var _0x5495ee=_0x56b9c2;_0x4a247f===_0x31c1b0[_0x5495ee(0x1d4)]?this[_0x5495ee(0x520)](_0x14c64d):_0x4a247f===_0x31c1b0[_0x5495ee(0x3cd)]&&(_0x14c64d=!0x0,this[_0x5495ee(0x38f)]());})),this[_0x56b9c2(0x353)](this[_0x56b9c2(0x2e3)][_0x56b9c2(0x2b6)][_0x56b9c2(0x465)](_0xa8aae5=>{var _0x378a2=_0x56b9c2;try{switch(_0xa8aae5[_0x378a2(0x4ab)]){case _0x5e2062[_0x378a2(0x1c0)][_0x378a2(0x37e)]:{this[_0x378a2(0x541)](_0x5e2062[_0x378a2(0x208)](_0xa8aae5[_0x378a2(0x1d2)]));break;}case _0x5e2062[_0x378a2(0x1c0)][_0x378a2(0x29d)]:{this[_0x378a2(0x2e4)](_0xa8aae5[_0x378a2(0x1d2)]);break;}case _0x5e2062[_0x378a2(0x1c0)][_0x378a2(0x1ea)]:{this[_0x378a2(0x4a4)]();break;}case _0x5e2062[_0x378a2(0x1c0)][_0x378a2(0x220)]:{this[_0x378a2(0x4e0)](_0xa8aae5[_0x378a2(0x1d2)]);break;}case _0x5e2062['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0xa8aae5['data']['changesets'][_0x378a2(0x451)](_0x1f85cc=>_0x5e2062[_0x378a2(0x208)](_0x1f85cc)));break;}case _0x5e2062['CollaborationEvent'][_0x378a2(0x404)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x5e2062[_0x378a2(0x1c0)][_0x378a2(0x477)]:break;}}catch(_0xeaa2ff){throw console[_0x378a2(0x542)]('Error\x20on\x20receiving\x20event',_0xeaa2ff),_0xeaa2ff;}})),this[_0x56b9c2(0x242)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x4b5896(0x413)](){var _0x1276eb=_0x4b5896;if(this[_0x1276eb(0x25c)])throw new Error(_0x1276eb(0x265));this[_0x1276eb(0x25c)]=!0x0;}[_0x4b5896(0x276)](_0xe7647e){var _0x338326=_0x4b5896;this[_0x338326(0x413)](),this['_updateState'](this['_state'][_0x338326(0x470)](_0xe7647e)),this[_0x338326(0x2bd)]();}['_onRemoteChangeset'](_0x51f569){var _0x2ba8d8=_0x4b5896;if(!(_0x51f569['revision']<=this[_0x2ba8d8(0x4ba)][_0x2ba8d8(0x3f8)](this[_0x2ba8d8(0x28a)]))){if(this[_0x2ba8d8(0x4bf)]){this[_0x2ba8d8(0x4a8)][_0x2ba8d8(0x435)](_0x51f569);return;}this[_0x2ba8d8(0x538)](_0x51f569);}}['_exhaustRemoteChangesetQueue'](){var _0x24b3a4=_0x4b5896;this['_remoteChangesetQueue']['forEach'](_0xc08f2b=>this[_0x24b3a4(0x538)](_0xc08f2b)),this['_remoteChangesetQueue']=[];}[_0x4b5896(0x538)](_0x1f7d99){var _0x5bb9c4=_0x4b5896;const _0x11073a=this['_compressMutationService'][_0x5bb9c4(0x456)][_0x5bb9c4(0x290)](this[_0x5bb9c4(0x4f4)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x1f7d99[_0x5bb9c4(0x21e)],null)||_0x1f7d99[_0x5bb9c4(0x21e)],_0x2bdf={..._0x1f7d99,'mutations':_0x11073a};this[_0x5bb9c4(0x413)](),this[_0x5bb9c4(0x4e2)](this[_0x5bb9c4(0x242)][_0x5bb9c4(0x211)](_0x2bdf)),this[_0x5bb9c4(0x2bd)]();}[_0x4b5896(0x2e4)](_0x15bb8d){var _0x5c6d22=_0x4b5896;this[_0x5c6d22(0x413)](),this['_updateState'](this[_0x5c6d22(0x242)]['onRemoteAck'](_0x15bb8d)),this['_unlockTransition']();}[_0x4b5896(0x4a4)](_0x16c702){var _0x99044b=_0x4b5896;this[_0x99044b(0x413)](),this['_updateState'](this[_0x99044b(0x242)][_0x99044b(0x54c)](_0x16c702)),this[_0x99044b(0x2bd)]();}[_0x4b5896(0x4e0)](_0x409794){var _0x2b61c0=_0x4b5896;this[_0x2b61c0(0x413)](),this[_0x2b61c0(0x4e2)](this[_0x2b61c0(0x242)][_0x2b61c0(0x408)](_0x409794)),this[_0x2b61c0(0x2bd)]();}['_onFetchMissResult'](_0x250b23){var _0x1d465d=_0x4b5896;if(!(this[_0x1d465d(0x242)]instanceof _0x1fe4e5[_0x1d465d(0x204)]))throw new TypeError(_0x1d465d(0x323));const _0xd4fc27=_0x250b23[_0x1d465d(0x451)](_0x5e002e=>{var _0x518e2b=_0x1d465d;const _0x828ce=this[_0x518e2b(0x4f4)][_0x518e2b(0x456)]['fetchThroughInterceptors'](this[_0x518e2b(0x4f4)]['interceptor']['getInterceptPoints']()[_0x518e2b(0x458)])(_0x5e002e[_0x518e2b(0x21e)],null)||_0x5e002e[_0x518e2b(0x21e)];return{..._0x5e002e,'mutations':_0x828ce};});this[_0x1d465d(0x413)](),this[_0x1d465d(0x4e2)](this[_0x1d465d(0x242)]['onMissedChangesetFetched'](_0xd4fc27)),this[_0x1d465d(0x2bd)]();}[_0x4b5896(0x38f)](){var _0x2e95e7=_0x4b5896;this['_lockTransition'](),this[_0x2e95e7(0x4e2)](this[_0x2e95e7(0x242)]['toggleOffline']()),this[_0x2e95e7(0x2bd)]();}[_0x4b5896(0x520)](_0x49e2e3=!0x1){var _0x177143=_0x4b5896;this[_0x177143(0x413)](),this[_0x177143(0x4e2)](this[_0x177143(0x242)][_0x177143(0x4ee)]()),this['_unlockTransition']();const _0x54f36c=this[_0x177143(0x242)];_0x49e2e3&&_0x54f36c instanceof _0x1fe4e5[_0x177143(0x462)]&&(this[_0x177143(0x413)](),this[_0x177143(0x4e2)](_0x54f36c[_0x177143(0x315)]()),this['_unlockTransition']());}async[_0x4b5896(0x4cc)](){return new Promise(_0x3c22b8=>{var _0x5db6b6=_0x4fbb;this[_0x5db6b6(0x2e3)]['sessionStatus$'][_0x5db6b6(0x3b7)](_0x49840d[_0x5db6b6(0x3c7)](0x1))[_0x5db6b6(0x465)](async _0x24c7e6=>{var _0x2a3553=_0x5db6b6;_0x3c22b8(await this[_0x2a3553(0x46e)](_0x24c7e6===_0x31c1b0['ONLINE']));});});}['_createHandler'](){var _0x212120=_0x4b5896;const _0x3f405a=this[_0x212120(0x28a)];return{'onStateChange':(_0x338e4d,_0x110198)=>{var _0x312321=_0x212120;if(_0x338e4d!==this['_state'])throw new Error(_0x312321(0x372)+_0x338e4d[_0x312321(0x318)]+_0x312321(0x3fe)+_0x110198[_0x312321(0x318)]+'\x0aCurrent:\x20'+this['_state'][_0x312321(0x318)]);this['_updateState'](_0x110198);},'onSendChangeset':_0x4129d6=>{var _0x59135b=_0x212120;_0x4129d6[_0x59135b(0x416)]||(_0x4129d6['sid']=this[_0x59135b(0x310)],_0x4129d6[_0x59135b(0x1df)]=++this[_0x59135b(0x394)]);const _0x1b4564={'eventID':_0x5e2062['CollaborationEvent'][_0x59135b(0x503)],'data':{'unitID':_0x4129d6['unitID'],'unitType':this['_type'],'changeset':_0x4129d6,'memberID':this[_0x59135b(0x2e3)][_0x59135b(0x20e)]()}};this[_0x59135b(0x2e3)]['send'](_0x1b4564,this[_0x59135b(0x28a)]);},'onMissingChangesets':({from:_0x27a30f,to:_0x2a640b})=>{var _0x2279f4=_0x212120;this[_0x2279f4(0x2e7)][_0x2279f4(0x1ba)](_0x2279f4(0x4cd),'fetching\x20missing\x20changesets\x20from\x20'+_0x27a30f+_0x2279f4(0x2e9)+_0x2a640b);const _0x225d63={'eventID':_0x5e2062[_0x2279f4(0x1c0)]['FETCH_MISSING'],'data':{'unitID':_0x3f405a,'unitType':this[_0x2279f4(0x3b6)],'from':_0x27a30f,'to':_0x2a640b}};this[_0x2279f4(0x2e3)][_0x2279f4(0x2d7)](_0x225d63,this['unitID']);}};}async[_0x4b5896(0x46e)](_0x67a078){var _0x3a8c00=_0x4b5896,_0xf8ba6f,_0x3dadd7,_0x4bfe0c;const _0xe35748=await((_0xf8ba6f=this[_0x3a8c00(0x25d)])==null?void 0x0:_0xf8ba6f[_0x3a8c00(0x342)](this[_0x3a8c00(0x28a)])),_0x5f454f=(_0x3dadd7=_0xe35748==null?void 0x0:_0xe35748['mutations'])!=null?_0x3dadd7:[],_0x16cbef=(_0x4bfe0c=_0xe35748==null?void 0x0:_0xe35748[_0x3a8c00(0x359)])!=null?_0x4bfe0c:null,_0x2d8501=!!(_0x16cbef!=null&&_0x16cbef[_0x3a8c00(0x416)])&&!!(_0x16cbef!=null&&_0x16cbef[_0x3a8c00(0x1df)]);this[_0x3a8c00(0x310)]=_0x2d8501?_0x16cbef[_0x3a8c00(0x416)]:_0x5e2062[_0x3a8c00(0x203)](),this[_0x3a8c00(0x394)]=_0x2d8501?_0x16cbef['reqId']:0x0;const _0x321861=this[_0x3a8c00(0x28a)];try{this[_0x3a8c00(0x537)](_0x16cbef,_0x5f454f);}catch(_0x5d08f7){this[_0x3a8c00(0x2e7)]['error'](_0x5d08f7);}const _0x105013=this[_0x3a8c00(0x399)]();if(_0x67a078){const _0x3a0dce=_0x221279(this[_0x3a8c00(0x467)],_0x321861,this[_0x3a8c00(0x3b6)],_0x16cbef,_0x5f454f,_0x105013);return _0x3a0dce instanceof _0x1fe4e5[_0x3a8c00(0x536)]?_0x3a0dce[_0x3a8c00(0x409)]():(_0x3a0dce instanceof _0x1fe4e5['AwaitingWithPendingState']||_0x3a0dce instanceof _0x1fe4e5[_0x3a8c00(0x2d8)])&&_0x3a0dce[_0x3a8c00(0x446)](),_0x3a0dce;}return this['_injector'][_0x3a8c00(0x284)](_0x1fe4e5[_0x3a8c00(0x2c6)],_0x321861,this[_0x3a8c00(0x3b6)],_0x16cbef,_0x5f454f,_0x105013);}['_replayCachedMutations'](_0x2be0b4,_0x17b7f8){var _0x2ebd6a=_0x4b5896,_0x49ea84,_0xea00fe;const _0x512193=this[_0x2ebd6a(0x4f4)][_0x2ebd6a(0x456)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x2ebd6a(0x456)][_0x2ebd6a(0x2cb)]()['COMPRESS_MUTATION_APPLY']);(_0x49ea84=_0x512193((_0x2be0b4==null?void 0x0:_0x2be0b4['mutations'])||[],null))==null||_0x49ea84[_0x2ebd6a(0x28b)](_0xdb9127=>this[_0x2ebd6a(0x1da)][_0x2ebd6a(0x2f8)](_0xdb9127['id'],_0xdb9127[_0x2ebd6a(0x47e)])),(_0xea00fe=_0x512193(_0x17b7f8||[],null))==null||_0xea00fe[_0x2ebd6a(0x28b)](_0x138b61=>this[_0x2ebd6a(0x1da)]['executeCommand'](_0x138b61['id'],_0x138b61['params']));}},_0x1fe4e5[_0x4b5896(0x398)]=_0x2c8ee5([_0x180f0d(0x3,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x308)])),_0x180f0d(0x4,_0x3a8efd['Inject'](_0x5e2062[_0x4b5896(0x294)])),_0x180f0d(0x5,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x30b)])),_0x180f0d(0x6,_0x3a8efd['Inject'](_0x5e2062['RevisionService'])),_0x180f0d(0x7,_0x3a8efd[_0x4b5896(0x4b2)](_0x5b5dc8)),_0x180f0d(0x8,_0x3a8efd[_0x4b5896(0x40f)]),_0x180f0d(0x9,_0x3a8efd['ILogService']),_0x180f0d(0xa,_0x3a8efd[_0x4b5896(0x31c)]),_0x180f0d(0xb,_0x3a8efd[_0x4b5896(0x52c)]),_0x180f0d(0xc,_0x3a8efd[_0x4b5896(0x1ec)](_0x4632e6)),_0x180f0d(0xd,_0x3a8efd['Optional'](_0x5d850f))],_0x1fe4e5[_0x4b5896(0x398)]),_0x1fe4e5[_0x4b5896(0x37d)]=class extends _0x1fe4e5[_0x4b5896(0x398)]{constructor(_0x1be132,_0x50c2e4,_0x43b767,_0x560f0c,_0x4bda33,_0x3cad7e,_0xdff3e3,_0x46f1d7,_0x438d43,_0x2e5108,_0x18a9d6,_0x527807,_0x25f6d6,_0x44fe1d){var _0x47fa11=_0x4b5896;super(_0x1be132,_0x43b767,_0x50c2e4,_0x560f0c,_0x4bda33,_0x3cad7e,_0xdff3e3,_0x46f1d7,_0x438d43,_0x2e5108,_0x18a9d6,_0x527807,_0x25f6d6,_0x44fe1d),_0x33a719(this,_0x47fa11(0x444),null),(this[_0x47fa11(0x28a)]=_0x1be132,this['type']=_0x50c2e4);}[_0x4b5896(0x2e1)](_0x4db600){this['_handlerCallback']=_0x4db600;}[_0x4b5896(0x44f)](){var _0x1bec2a=_0x4b5896;this[_0x1bec2a(0x444)]=null,super[_0x1bec2a(0x44f)]();}[_0x4b5896(0x399)](){var _0x26a22d=_0x4b5896;const _0x112f3=super[_0x26a22d(0x399)]();return _0x112f3[_0x26a22d(0x4d8)]=_0x5404f9=>{var _0x2febde=_0x26a22d,_0x3dddc3,_0x5a0178;return(_0x5a0178=(_0x3dddc3=this[_0x2febde(0x444)])==null?void 0x0:_0x3dddc3[_0x2febde(0x4d8)])==null?void 0x0:_0x5a0178[_0x2febde(0x473)](_0x3dddc3,_0x5404f9);},_0x112f3['onTransformState']=_0x33ba21=>{var _0x26f17a=_0x26a22d,_0x5b446c,_0x5ce97e;return(_0x5ce97e=(_0x5b446c=this[_0x26f17a(0x444)])==null?void 0x0:_0x5b446c[_0x26f17a(0x39a)])==null?void 0x0:_0x5ce97e[_0x26f17a(0x473)](_0x5b446c,_0x33ba21);},_0x112f3[_0x26a22d(0x3d2)]=_0x59dda0=>{var _0xc9f3fa=_0x26a22d,_0x533559,_0x2749f5;return(_0x2749f5=(_0x533559=this['_handlerCallback'])==null?void 0x0:_0x533559[_0xc9f3fa(0x3d2)])==null?void 0x0:_0x2749f5[_0xc9f3fa(0x473)](_0x533559,_0x59dda0);},_0x112f3[_0x26a22d(0x41f)]=_0x1d4388=>{var _0x200084=_0x26a22d,_0x589df9,_0x5b3ddf;return(_0x5b3ddf=(_0x589df9=this[_0x200084(0x444)])==null?void 0x0:_0x589df9['onSyncEditingCollabCursor'])==null?void 0x0:_0x5b3ddf[_0x200084(0x473)](_0x589df9,_0x1d4388);},_0x112f3[_0x26a22d(0x303)]=_0x18e19e=>{var _0x57e217=_0x26a22d,_0x2e7414,_0x7ccb73,_0x3b69ee;if(!((_0x2e7414=this[_0x57e217(0x444)])!=null&&_0x2e7414[_0x57e217(0x303)]))throw new Error(_0x57e217(0x4da));return(_0x3b69ee=(_0x7ccb73=this[_0x57e217(0x444)])==null?void 0x0:_0x7ccb73['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3b69ee[_0x57e217(0x473)](_0x7ccb73,_0x18e19e);},_0x112f3[_0x26a22d(0x3b8)]=_0x511dda=>{var _0x3ba434=_0x26a22d,_0x5fd56b,_0x405bc6,_0x28c58f;if(!((_0x5fd56b=this[_0x3ba434(0x444)])!=null&&_0x5fd56b['onTransformRemoteChangesetByStateCache']))throw new Error(_0x3ba434(0x3ab));return(_0x28c58f=(_0x405bc6=this[_0x3ba434(0x444)])==null?void 0x0:_0x405bc6['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x28c58f[_0x3ba434(0x473)](_0x405bc6,_0x511dda);},_0x112f3;}async['_init'](){var _0xfb4678=_0x4b5896;const _0x51efce=await super[_0xfb4678(0x380)]();return this['disposeWithMe'](this[_0xfb4678(0x1da)][_0xfb4678(0x311)]((_0x3c0bbe,_0x555c3e)=>{var _0x65484d=_0xfb4678;if(_0x3c0bbe['type']!==_0x3a8efd[_0x65484d(0x3df)]['MUTATION']||_0x555c3e!=null&&_0x555c3e[_0x65484d(0x1ff)]||_0x555c3e!=null&&_0x555c3e[_0x65484d(0x466)]||_0x3c0bbe['id']===_0x42a10e[_0x65484d(0x4c8)]['id'])return;const _0x45d746=_0x3c0bbe[_0x65484d(0x47e)];if((_0x45d746==null?void 0x0:_0x45d746[_0x65484d(0x21d)])!==this[_0x65484d(0x28a)])return;const _0x5bda44=_0x3c0bbe,_0x29b8dd=this[_0x65484d(0x4f4)][_0x65484d(0x456)][_0x65484d(0x290)](this[_0x65484d(0x4f4)]['interceptor'][_0x65484d(0x2cb)]()[_0x65484d(0x47f)])([_0x5bda44],this[_0x65484d(0x4e8)])||[_0x5bda44];this[_0x65484d(0x276)](_0x29b8dd[0x0]);})),_0x51efce;}},_0x1fe4e5[_0x4b5896(0x37d)]=_0x2c8ee5([_0x180f0d(0x3,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd['Injector'])),_0x180f0d(0x4,_0x3a8efd['Inject'](_0x5e2062[_0x4b5896(0x294)])),_0x180f0d(0x5,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x30b)])),_0x180f0d(0x6,_0x3a8efd['Inject'](_0x5e2062['RevisionService'])),_0x180f0d(0x7,_0x3a8efd[_0x4b5896(0x4b2)](_0x5b5dc8)),_0x180f0d(0x8,_0x3a8efd['IUniverInstanceService']),_0x180f0d(0x9,_0x3a8efd['ILogService']),_0x180f0d(0xa,_0x3a8efd['ICommandService']),_0x180f0d(0xb,_0x3a8efd[_0x4b5896(0x52c)]),_0x180f0d(0xc,_0x3a8efd[_0x4b5896(0x1ec)](_0x4632e6)),_0x180f0d(0xd,_0x3a8efd[_0x4b5896(0x1ec)](_0x5d850f))],_0x1fe4e5['DocCollaborationEntity']),_0x1fe4e5[_0x4b5896(0x3a0)]=class extends _0x1fe4e5[_0x4b5896(0x398)]{constructor(_0x122bee,_0x1fdcc6,_0x3aa068,_0x46ad3d,_0x2d191a,_0x284758,_0x54f4a8,_0x4734bb,_0x4e4a55,_0x306aea,_0x148c1e,_0x2514b3,_0x3f60ae,_0x8fb7af,_0x3a7816){var _0xa8c196=_0x4b5896;super(_0x122bee,_0x3aa068,_0x1fdcc6,_0x46ad3d,_0x2d191a,_0x284758,_0x54f4a8,_0x4e4a55,_0x306aea,_0x148c1e,_0x2514b3,_0x3f60ae,_0x8fb7af,_0x3a7816),this[_0xa8c196(0x28a)]=_0x122bee,this['type']=_0x1fdcc6,this[_0xa8c196(0x28e)]=_0x4734bb;}[_0x4b5896(0x399)](){var _0x839cef=_0x4b5896;const _0x30c137=super['_createHandler']();return _0x30c137[_0x839cef(0x3d2)]=_0x454b80=>this[_0x839cef(0x28e)]['transformSelections'](_0x454b80),_0x30c137;}async[_0x4b5896(0x380)](){var _0x468463=_0x4b5896;const _0x1386d9=await super[_0x468463(0x380)]();return this[_0x468463(0x353)](this[_0x468463(0x1da)][_0x468463(0x311)]((_0x199402,_0x46cc87)=>{var _0x429ed3=_0x468463;if(_0x199402[_0x429ed3(0x25a)]!==_0x3a8efd['CommandType']['MUTATION']||_0x46cc87!=null&&_0x46cc87[_0x429ed3(0x1ff)]||_0x46cc87!=null&&_0x46cc87['onlyLocal'])return;const _0x528d0b=_0x199402[_0x429ed3(0x47e)];if((_0x528d0b==null?void 0x0:_0x528d0b[_0x429ed3(0x21d)])!==this[_0x429ed3(0x28a)])return;const _0x12bd7d=_0x199402,_0x4c8349=this[_0x429ed3(0x4f4)][_0x429ed3(0x456)][_0x429ed3(0x290)](this[_0x429ed3(0x4f4)][_0x429ed3(0x456)][_0x429ed3(0x2cb)]()[_0x429ed3(0x47f)])([_0x12bd7d],this['_univerInstanceService'])||[_0x12bd7d];this[_0x429ed3(0x276)](_0x4c8349[0x0]);})),_0x1386d9;}},_0x1fe4e5[_0x4b5896(0x3a0)]=_0x2c8ee5([_0x180f0d(0x3,_0x3a8efd['Inject'](_0x3a8efd[_0x4b5896(0x308)])),_0x180f0d(0x4,_0x3a8efd[_0x4b5896(0x4b2)](_0x5e2062['CompressMutationService'])),_0x180f0d(0x5,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd['LocaleService'])),_0x180f0d(0x6,_0x3a8efd[_0x4b5896(0x4b2)](_0x5e2062[_0x4b5896(0x2ef)])),_0x180f0d(0x7,_0x3a8efd[_0x4b5896(0x4b2)](_0x1fe4e5[_0x4b5896(0x235)])),_0x180f0d(0x8,_0x3a8efd[_0x4b5896(0x4b2)](_0x5b5dc8)),_0x180f0d(0x9,_0x3a8efd[_0x4b5896(0x40f)]),_0x180f0d(0xa,_0x3a8efd[_0x4b5896(0x4b5)]),_0x180f0d(0xb,_0x3a8efd[_0x4b5896(0x31c)]),_0x180f0d(0xc,_0x3a8efd[_0x4b5896(0x52c)]),_0x180f0d(0xd,_0x3a8efd[_0x4b5896(0x1ec)](_0x4632e6)),_0x180f0d(0xe,_0x3a8efd[_0x4b5896(0x1ec)](_0x5d850f))],_0x1fe4e5[_0x4b5896(0x3a0)]);const _0x42d43b=_0x3a8efd[_0x4b5896(0x474)](_0x4b5896(0x3a4));function _0x50a746(_0x34e8ac){var _0x51820a=_0x4b5896,_0xd1817a,_0x4fe212,_0x1bbc5b,_0x34bea0,_0x4e6484;const _0x2c4500=_0x34e8ac[_0x51820a(0x1d2)],_0x504049=JSON['parse'](_0x2c4500);switch(_0x504049['cmd']){case _0x4a19f[_0x51820a(0x207)]:case _0x4a19f['HELLO']:{const _0xe9fcef=_0x504049[_0x51820a(0x47c)];return{..._0x504049,'data':_0xe9fcef,'cmd':_0x504049[_0x51820a(0x2b2)]};}case _0x4a19f['JOIN']:{const _0x282a41=_0x504049['joinRsp'];return{..._0x504049,'data':_0x282a41,'cmd':_0x504049[_0x51820a(0x2b2)]};}case _0x4a19f[_0x51820a(0x1e8)]:{const _0x3e1948=_0x504049[_0x51820a(0x279)];switch(_0x3e1948[_0x51820a(0x4ab)]){case _0x5e2062[_0x51820a(0x1c0)][_0x51820a(0x404)]:return{..._0x504049,'data':{..._0x3e1948,'data':(_0xd1817a=_0x3e1948[_0x51820a(0x3a9)])==null?void 0x0:_0xd1817a['cs']},'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062['CollaborationEvent'][_0x51820a(0x29d)]:return{..._0x504049,'data':{..._0x3e1948,'data':(_0x4fe212=_0x3e1948[_0x51820a(0x2a4)])==null?void 0x0:_0x4fe212['cs']},'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062['CollaborationEvent'][_0x51820a(0x37e)]:return{..._0x504049,'data':{..._0x3e1948,'data':(_0x1bbc5b=_0x3e1948[_0x51820a(0x3ea)])==null?void 0x0:_0x1bbc5b['cs']},'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062[_0x51820a(0x1c0)][_0x51820a(0x1ea)]:return{..._0x504049,'data':{..._0x3e1948,'data':(_0x34bea0=_0x3e1948[_0x51820a(0x26e)])==null?void 0x0:_0x34bea0['cs']},'cmd':_0x504049['cmd']};case _0x5e2062['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x504049,'data':{..._0x3e1948,'data':(_0x4e6484=_0x3e1948[_0x51820a(0x53c)])==null?void 0x0:_0x4e6484['cs']},'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062[_0x51820a(0x1c0)][_0x51820a(0x236)]:return{..._0x504049,'data':{..._0x3e1948,'data':_0x3e1948['updateCursorEvent']},'cmd':_0x504049['cmd']};case _0x5e2062[_0x51820a(0x1c0)][_0x51820a(0x2b9)]:return{..._0x504049,'data':{..._0x3e1948,'data':_0x3e1948[_0x51820a(0x3b1)]},'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062[_0x51820a(0x1c0)]['USERS_LEAVE']:return{..._0x504049,'data':{..._0x3e1948,'data':_0x3e1948[_0x51820a(0x339)]},'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062['CollaborationEvent'][_0x51820a(0x35c)]:return{..._0x504049,'data':{..._0x3e1948,'data':_0x3e1948[_0x51820a(0x313)]},'cmd':_0x504049['cmd']};case _0x5e2062['CollaborationEvent'][_0x51820a(0x421)]:case _0x5e2062[_0x51820a(0x1c0)][_0x51820a(0x2a1)]:return{..._0x504049,'data':{..._0x3e1948,'data':_0x3e1948['liveShareOperation']},'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062[_0x51820a(0x1c0)][_0x51820a(0x2ae)]:return{..._0x504049,'data':{..._0x3e1948,'data':_0x3e1948[_0x51820a(0x313)]},'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062[_0x51820a(0x1c0)][_0x51820a(0x50a)]:return{..._0x504049,'data':_0x3e1948,'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062[_0x51820a(0x1c0)][_0x51820a(0x29a)]:return{..._0x504049,'data':{..._0x3e1948,'data':_0x3e1948[_0x51820a(0x20a)]},'cmd':_0x504049['cmd']};case _0x5e2062[_0x51820a(0x1c0)]['UPDATE_PERMISSION_OBJ']:return{..._0x504049,'data':{..._0x3e1948,'data':_0x3e1948[_0x51820a(0x33f)]},'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062[_0x51820a(0x1c0)][_0x51820a(0x545)]:return{..._0x504049,'data':{..._0x3e1948,'data':_0x3e1948[_0x51820a(0x29b)]},'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062['CollaborationEvent']['UNISCRIPT_RUN']:return{..._0x504049,'data':{..._0x3e1948,'data':_0x3e1948[_0x51820a(0x4db)]},'cmd':_0x504049[_0x51820a(0x2b2)]};default:return _0x504049;}}default:return _0x504049;}}function _0x7e8078(_0x36709e){var _0x453adc=_0x4b5896;switch(_0x36709e['cmd']){case _0x4a19f['HEARTBEAT']:case _0x4a19f[_0x453adc(0x34c)]:return JSON[_0x453adc(0x1d0)]({'cmd':_0x36709e['cmd'],'routeKey':_0x36709e[_0x453adc(0x367)]});case _0x4a19f['INGEST']:{let _0x12a8a7;switch(_0x36709e['data']['eventID']){case _0x5e2062[_0x453adc(0x1c0)][_0x453adc(0x236)]:{_0x12a8a7={'eventID':_0x5e2062[_0x453adc(0x1c0)][_0x453adc(0x236)],'updateCursorEvent':_0x36709e[_0x453adc(0x1d2)][_0x453adc(0x1d2)]};break;}case _0x5e2062['CollaborationEvent'][_0x453adc(0x3eb)]:{_0x12a8a7={'eventID':_0x5e2062[_0x453adc(0x1c0)]['USERS_LEAVE'],'leaveEvent':_0x36709e['data'][_0x453adc(0x1d2)]};break;}case _0x5e2062[_0x453adc(0x1c0)][_0x453adc(0x2b9)]:{_0x12a8a7={'eventID':_0x5e2062['CollaborationEvent'][_0x453adc(0x2b9)],'joinEvent':_0x36709e[_0x453adc(0x1d2)][_0x453adc(0x1d2)]};break;}case _0x5e2062['CollaborationEvent'][_0x453adc(0x35c)]:{_0x12a8a7={'eventID':_0x5e2062[_0x453adc(0x1c0)][_0x453adc(0x35c)],'liveShareNewHost':_0x36709e[_0x453adc(0x1d2)][_0x453adc(0x1d2)]};break;}case _0x5e2062[_0x453adc(0x1c0)][_0x453adc(0x2a1)]:{_0x12a8a7={'eventID':_0x5e2062[_0x453adc(0x1c0)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x36709e[_0x453adc(0x1d2)][_0x453adc(0x1d2)]};break;}case _0x5e2062[_0x453adc(0x1c0)][_0x453adc(0x2ae)]:{_0x12a8a7={'eventID':_0x5e2062[_0x453adc(0x1c0)][_0x453adc(0x2ae)],'liveShareTerminate':_0x36709e['data'][_0x453adc(0x1d2)]};break;}case _0x5e2062['CollaborationEvent'][_0x453adc(0x493)]:{_0x12a8a7={'eventID':_0x5e2062[_0x453adc(0x1c0)][_0x453adc(0x493)],'liveShareRequestHost':_0x36709e[_0x453adc(0x1d2)][_0x453adc(0x1d2)]};break;}case _0x5e2062[_0x453adc(0x1c0)]['LIVESHARE_FETCH_OPERATIONS']:{_0x12a8a7={'eventID':_0x5e2062[_0x453adc(0x1c0)][_0x453adc(0x421)]};break;}default:_0x12a8a7={'eventID':_0x36709e['data']['eventID']};}return JSON[_0x453adc(0x1d0)]({'cmd':_0x36709e[_0x453adc(0x2b2)],'routeKey':_0x36709e[_0x453adc(0x367)],'collaMsg':_0x12a8a7});}case _0x4a19f[_0x453adc(0x379)]:return JSON[_0x453adc(0x1d0)]({'cmd':_0x36709e['cmd'],'routeKey':_0x36709e[_0x453adc(0x367)],'joinReq':_0x36709e[_0x453adc(0x1d2)]});case _0x4a19f[_0x453adc(0x490)]:return JSON['stringify']({'cmd':_0x36709e[_0x453adc(0x2b2)],'routeKey':_0x36709e[_0x453adc(0x367)],'leaveReq':_0x36709e['data']});default:throw new Error(_0x453adc(0x320));}}var _0x3d180f=Object[_0x4b5896(0x36f)],_0x2e5a13=(_0x19782d,_0x31ffd2,_0x4bcbd1,_0xf36ee8)=>{var _0x330d81=_0x4b5896;for(var _0xb14bea=_0xf36ee8>0x1?void 0x0:_0xf36ee8?_0x3d180f(_0x31ffd2,_0x4bcbd1):_0x31ffd2,_0x5b7225=_0x19782d[_0x330d81(0x31b)]-0x1,_0xd384;_0x5b7225>=0x0;_0x5b7225--)(_0xd384=_0x19782d[_0x5b7225])&&(_0xb14bea=_0xd384(_0xb14bea)||_0xb14bea);return _0xb14bea;},_0x37b618=(_0x4fe7f4,_0x2e86d9)=>(_0x165421,_0x13904d)=>_0x2e86d9(_0x165421,_0x13904d,_0x4fe7f4);const _0x2b8c0d=_0x3a8efd[_0x4b5896(0x474)](_0x4b5896(0x4f0));function _0x37da77(_0x5dbffb,_0xa679b7,_0x285203){var _0x582a9b=_0x4b5896;return _0x5dbffb+'/'+_0xa679b7+'/unit/'+_0x285203+_0x582a9b(0x41e);}_0x1fe4e5[_0x4b5896(0x544)]=class extends _0x3a8efd[_0x4b5896(0x3ed)]{constructor(_0x3e563c,_0x3c8a72,_0x1589bd,_0x546a1c,_0x1796ce){var _0x26e2c2=_0x4b5896;super(),this[_0x26e2c2(0x467)]=_0x3e563c,this['_httpService']=_0x3c8a72,this[_0x26e2c2(0x229)]=_0x1589bd,this[_0x26e2c2(0x2e7)]=_0x546a1c,this['_snapshotServerService']=_0x1796ce;}[_0x4b5896(0x1c1)](_0x201c00){var _0x5514b8=_0x4b5896;const _0x148d9d=this[_0x5514b8(0x467)]['get'](_0x5a784f['ISocketService']);if(!_0x148d9d)throw new Error(_0x5514b8(0x39c));const _0x220978=_0x148d9d['createSocket'](_0x201c00);if(!_0x220978)throw new Error(_0x5514b8(0x42e));const _0x2d2254=new _0x3a8efd['DisposableCollection'](),_0x70db32=new _0x49840d[(_0x5514b8(0x3f4))]();_0x2d2254[_0x5514b8(0x1d1)](_0x220978[_0x5514b8(0x1f5)]['subscribe'](_0xcba60d=>_0x70db32['next'](_0xcba60d))),_0x2d2254[_0x5514b8(0x1d1)](_0x3a8efd[_0x5514b8(0x3c9)](()=>_0x70db32[_0x5514b8(0x397)]()));const _0x153dd5=new _0x49840d[(_0x5514b8(0x3f4))]();_0x2d2254['add'](_0x220978['error$'][_0x5514b8(0x465)](_0x1ff479=>_0x153dd5[_0x5514b8(0x4eb)](_0x1ff479))),_0x2d2254[_0x5514b8(0x1d1)](_0x3a8efd[_0x5514b8(0x3c9)](()=>_0x153dd5['complete']()));const _0x2715af=new _0x49840d[(_0x5514b8(0x3f4))]();_0x2d2254[_0x5514b8(0x1d1)](_0x220978['message$']['subscribe'](_0x5bcb80=>{var _0x193d45=_0x5514b8;const _0x4e44f4=_0x50a746(_0x5bcb80);_0x2715af[_0x193d45(0x4eb)](_0x4e44f4);})),_0x2d2254[_0x5514b8(0x1d1)](_0x3a8efd[_0x5514b8(0x3c9)](()=>_0x2715af[_0x5514b8(0x397)]()));let _0x5d00a5;const _0xaccedf=()=>{var _0x3ae4e2=_0x5514b8;_0x153dd5[_0x3ae4e2(0x4eb)](new Event(_0x3ae4e2(0x28d))),_0x70db32['next'](new Event('connection\x20error')),_0x5d00a5[_0x3ae4e2(0x2ed)]();};return _0x5d00a5={'memberID':'','close$':_0x70db32[_0x5514b8(0x350)](),'error$':_0x153dd5[_0x5514b8(0x350)](),'open$':_0x220978[_0x5514b8(0x4d5)],'message$':_0x2715af[_0x5514b8(0x350)](),'send':_0x928251=>{var _0x1a9072=_0x5514b8;if(_0x928251[_0x1a9072(0x2b2)]===_0x4a19f[_0x1a9072(0x495)]){if(_0x928251['data']['eventID']===_0x5e2062['CollaborationEvent'][_0x1a9072(0x503)]){this[_0x1a9072(0x506)](_0x5d00a5,_0x928251[_0x1a9072(0x1d2)])[_0x1a9072(0x439)](_0x2c6dae=>{var _0x41f658=_0x1a9072;this[_0x41f658(0x2e7)][_0x41f658(0x542)](_0x2c6dae),_0xaccedf();});return;}if(_0x928251[_0x1a9072(0x1d2)]['eventID']===_0x5e2062[_0x1a9072(0x1c0)]['FETCH_MISSING']){const _0x4f8eb2=_0x928251[_0x1a9072(0x1d2)];this[_0x1a9072(0x2bf)](_0x4f8eb2)[_0x1a9072(0x4e9)](_0x69c2e5=>{var _0x9727b2=_0x1a9072;_0x2715af['next']({'cmd':_0x4a19f[_0x9727b2(0x1e8)],'code':_0x1e0075['OK'],'routeKey':_0x4f8eb2[_0x9727b2(0x1d2)][_0x9727b2(0x28a)],'routeType':'','data':{'eventID':_0x5e2062[_0x9727b2(0x1c0)][_0x9727b2(0x307)],'data':{'changesets':_0x69c2e5}}});})[_0x1a9072(0x439)](_0x1d2314=>{var _0x3cc974=_0x1a9072;this[_0x3cc974(0x2e7)][_0x3cc974(0x542)](_0x1d2314),_0xaccedf();});return;}}_0x220978[_0x1a9072(0x2d7)](_0x7e8078(_0x928251));},'close':()=>{var _0x8c400d=_0x5514b8;_0x220978[_0x8c400d(0x2ed)](),_0x2d2254[_0x8c400d(0x44f)]();}},_0x5d00a5;}async[_0x4b5896(0x506)](_0x52e191,_0xb24c11){var _0x1b713c=_0x4b5896,_0x405677;const {unitType:_0x1da9fa,unitID:_0x3818cb,changeset:_0x5a0e8d}=_0xb24c11[_0x1b713c(0x1d2)],_0x392e42={'unitID':_0x3818cb,'memberID':_0x52e191[_0x1b713c(0x1b6)],'type':_0x1da9fa,'changeset':_0x5e2062[_0x1b713c(0x1e4)](_0x5a0e8d)},_0x4d032d=this[_0x1b713c(0x229)][_0x1b713c(0x523)](_0x3fa8a8),_0x2235bb=_0x37da77((_0x405677=_0x4d032d==null?void 0x0:_0x4d032d['collabSubmitChangesetUrl'])!=null?_0x405677:_0xcea972,_0x1da9fa,_0x3818cb);try{await this[_0x1b713c(0x2e8)][_0x1b713c(0x54a)](_0x2235bb,{'body':_0x392e42});}catch(_0x22e366){throw this['_logService']['error']('[CollaborationSession]','submit\x20changeset\x20error!'),_0x22e366;}}async['_fetchMissChangesets'](_0xa8aee9){var _0x3ff203=_0x4b5896;const {unitID:_0x2a38d8,from:_0x55f547,to:_0xa368c4,unitType:_0x583fe4}=_0xa8aee9[_0x3ff203(0x1d2)];return(await this[_0x3ff203(0x415)][_0x3ff203(0x2dd)]({'metadata':void 0x0},{'unitID':_0x2a38d8,'type':_0x583fe4,'from':_0x55f547,'to':_0xa368c4}))['changesets'][_0x3ff203(0x451)](_0x54fa17=>((_0x54fa17['mutations']===null||_0x54fa17[_0x3ff203(0x21e)]===void 0x0)&&(_0x54fa17['mutations']=[]),_0x54fa17));}},_0x1fe4e5[_0x4b5896(0x544)]=_0x2e5a13([_0x37b618(0x0,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x308)])),_0x37b618(0x1,_0x3a8efd[_0x4b5896(0x4b2)](_0x5a784f[_0x4b5896(0x227)])),_0x37b618(0x2,_0x3a8efd[_0x4b5896(0x383)]),_0x37b618(0x3,_0x3a8efd[_0x4b5896(0x4b5)]),_0x37b618(0x4,_0x5e2062[_0x4b5896(0x2d3)])],_0x1fe4e5[_0x4b5896(0x544)]);var _0x464544=Object[_0x4b5896(0x36f)],_0xd3e21e=(_0x501b28,_0x881fc9,_0x3b6ed0,_0x446b21)=>{for(var _0x569e08=_0x446b21>0x1?void 0x0:_0x446b21?_0x464544(_0x881fc9,_0x3b6ed0):_0x881fc9,_0x5933f2=_0x501b28['length']-0x1,_0x5d79c4;_0x5933f2>=0x0;_0x5933f2--)(_0x5d79c4=_0x501b28[_0x5933f2])&&(_0x569e08=_0x5d79c4(_0x569e08)||_0x569e08);return _0x569e08;},_0x1d6eeb=(_0x484b3,_0x596777)=>(_0x6cb031,_0x251172)=>_0x596777(_0x6cb031,_0x251172,_0x484b3);_0x1fe4e5[_0x4b5896(0x1ed)]=class extends _0x3a8efd[_0x4b5896(0x3ed)]{constructor(_0x22c300,_0x5d384f,_0x4c2f64,_0x43c041,_0x15179d,_0xedcd54){var _0xb5d7aa=_0x4b5896;super(),_0x33a719(this,'_socket$',new _0x49840d['BehaviorSubject'](void 0x0)),_0x33a719(this,_0xb5d7aa(0x3ae),this[_0xb5d7aa(0x275)][_0xb5d7aa(0x350)]()),_0x33a719(this,_0xb5d7aa(0x4fb),null),_0x33a719(this,_0xb5d7aa(0x521),new Map()),_0x33a719(this,_0xb5d7aa(0x2e5),new _0x49840d[(_0xb5d7aa(0x293))](_0x31c1b0[_0xb5d7aa(0x2f7)])),_0x33a719(this,'status$',this[_0xb5d7aa(0x2e5)][_0xb5d7aa(0x350)]()),_0x33a719(this,'_socketReady',!0x1),_0x33a719(this,_0xb5d7aa(0x22f)),_0x33a719(this,_0xb5d7aa(0x434),0x0),_0x33a719(this,_0xb5d7aa(0x43c)),_0x33a719(this,_0xb5d7aa(0x3d4)),(this[_0xb5d7aa(0x467)]=_0x22c300,this['_logService']=_0x5d384f,this[_0xb5d7aa(0x229)]=_0x4c2f64,this[_0xb5d7aa(0x4e1)]=_0x43c041,this[_0xb5d7aa(0x3ca)]=_0x15179d,this[_0xb5d7aa(0x46a)]=_0xedcd54,this[_0xb5d7aa(0x28f)]());}get[_0x4b5896(0x21f)](){return this['_socket$']['getValue']();}['_listenToNetworkCondition'](){var _0x622053=_0x4b5896;this[_0x622053(0x46a)]&&this[_0x622053(0x353)](this[_0x622053(0x46a)]['online$'][_0x622053(0x465)](_0x24241d=>{var _0x37aa4d=_0x622053;_0x24241d&&!this[_0x37aa4d(0x21f)]&&this[_0x37aa4d(0x27a)](),_0x24241d||this[_0x37aa4d(0x2eb)]();}));}[_0x4b5896(0x44f)](){var _0x3a05a0=_0x4b5896;super['dispose'](),this[_0x3a05a0(0x445)](),this[_0x3a05a0(0x45c)](),this[_0x3a05a0(0x2ec)](),this[_0x3a05a0(0x521)][_0x3a05a0(0x28b)](_0x5c39ff=>_0x5c39ff[_0x3a05a0(0x44f)]()),this[_0x3a05a0(0x521)][_0x3a05a0(0x448)](),this[_0x3a05a0(0x2e5)][_0x3a05a0(0x397)]();}async[_0x4b5896(0x41b)](_0x189bdc){var _0x28657e=_0x4b5896;if(this[_0x28657e(0x521)]['has'](_0x189bdc))return this['_sessions'][_0x28657e(0x4b6)](_0x189bdc);this['_tryEnsureSocket']();const _0x2d324d=this[_0x28657e(0x467)]['createInstance'](_0x1fe4e5[_0x28657e(0x50f)],_0x189bdc,this['_socket$']['asObservable']());return this[_0x28657e(0x521)][_0x28657e(0x513)](_0x189bdc,_0x2d324d),_0x2d324d;}[_0x4b5896(0x396)](_0x29109c){var _0x51d6f9=_0x4b5896,_0x544f79;const _0x560956=this[_0x51d6f9(0x521)][_0x51d6f9(0x4b6)](_0x29109c);_0x560956&&(this[_0x51d6f9(0x521)]['delete'](_0x29109c),_0x560956[_0x51d6f9(0x2ed)]()),this['_sessions'][_0x51d6f9(0x1dd)]||(_0x544f79=this[_0x51d6f9(0x21f)])==null||_0x544f79[_0x51d6f9(0x2ed)]();}[_0x4b5896(0x27a)](){var _0x4a2053=_0x4b5896;this[_0x4a2053(0x434)]=0x0,this[_0x4a2053(0x445)](),this[_0x4a2053(0x233)]();}['_clearRetryConnectingTimer'](){var _0x3ab43e=_0x4b5896;this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x3ab43e(0x22f)]=null);}async[_0x4b5896(0x4c4)](){var _0x32568c=_0x4b5896,_0x3a8414;const _0x352b58=this[_0x32568c(0x229)][_0x32568c(0x523)](_0x3fa8a8),_0x5b1d22=(_0x3a8414=_0x352b58==null?void 0x0:_0x352b58['collabWebSocketUrl'])!=null?_0x3a8414:_0x461a26,_0x311bbc=await this[_0x32568c(0x4e1)][_0x32568c(0x395)](_0x5b1d22);return this['_candidateSocket']=_0x311bbc,_0x311bbc;}async[_0x4b5896(0x489)](){var _0x4ca531=_0x4b5896,_0x2a202f,_0x167803;try{const _0x28fed4=(_0x167803=(_0x2a202f=this[_0x4ca531(0x21f)])!=null?_0x2a202f:this[_0x4ca531(0x4fb)])!=null?_0x167803:await this['_createSocket']();if(_0x28fed4){const _0x1c591c=_0x28fed4[_0x4ca531(0x2d7)];_0x28fed4[_0x4ca531(0x2d7)]=_0x289052=>(this[_0x4ca531(0x411)](),_0x1c591c['apply'](_0x28fed4,[_0x289052])),_0x28fed4[_0x4ca531(0x23d)][_0x4ca531(0x465)](_0x3fb310=>this[_0x4ca531(0x253)](_0x28fed4,_0x3fb310)),_0x28fed4[_0x4ca531(0x4a1)][_0x4ca531(0x3b7)](_0x3844a2[_0x4ca531(0x3c7)](0x1))['subscribe'](_0x53e862=>this[_0x4ca531(0x2e7)][_0x4ca531(0x542)](_0x4ca531(0x2a8),_0x53e862)),_0x28fed4[_0x4ca531(0x4d5)][_0x4ca531(0x3b7)](_0x3844a2[_0x4ca531(0x3c7)](0x1))[_0x4ca531(0x465)](()=>{this['_onConnectionOpen'](_0x28fed4);}),_0x28fed4[_0x4ca531(0x1f5)][_0x4ca531(0x3b7)](_0x3844a2[_0x4ca531(0x3c7)](0x1))['subscribe'](_0x282f2a=>{var _0x3e27f1=_0x4ca531;this[_0x3e27f1(0x2e7)][_0x3e27f1(0x1ba)](_0x3e27f1(0x245),'socket\x20close',_0x282f2a),this['_onConnectionFailed']();});}}catch(_0xbc29ed){this['_logService']['error'](_0xbc29ed),this[_0x4ca531(0x455)]();}}[_0x4b5896(0x2f9)](_0x30bfd0){var _0x2d8980=_0x4b5896;this[_0x2d8980(0x2e7)][_0x2d8980(0x1ba)](_0x2d8980(0x245),_0x2d8980(0x26a)),_0x30bfd0[_0x2d8980(0x2d7)]({'cmd':_0x4a19f[_0x2d8980(0x34c)]}),this[_0x2d8980(0x411)]();}[_0x4b5896(0x2eb)](){var _0x4c85c8=_0x4b5896;this[_0x4c85c8(0x41a)]=!0x1,this['_candidateSocket']=null,this[_0x4c85c8(0x2e5)]['next'](_0x31c1b0[_0x4c85c8(0x3cd)]),this[_0x4c85c8(0x275)]['next'](null),this[_0x4c85c8(0x45c)](),this[_0x4c85c8(0x2ec)]();}[_0x4b5896(0x455)](){var _0x12cb61=_0x4b5896,_0x4899e8;this[_0x12cb61(0x2eb)](),this[_0x12cb61(0x434)]<((_0x4899e8=this[_0x12cb61(0x229)]['getConfig'](_0x88c7ad))!=null?_0x4899e8:0x3)?(this[_0x12cb61(0x3ca)][_0x12cb61(0x487)]({'id':_0x758ea3[_0x12cb61(0x336)]}),this[_0x12cb61(0x233)]()):this['_collaborationUIEventService'][_0x12cb61(0x487)]({'id':_0x758ea3['SOCKET_FAILED']});}[_0x4b5896(0x233)](){var _0x10a736=_0x4b5896,_0xeb5fd8;const _0x441549=this['_retryCount'],_0x17cd03=this[_0x10a736(0x229)][_0x10a736(0x523)](_0x3fa8a8),_0x39222e=_0x441549===0x0?0x0:((_0xeb5fd8=_0x17cd03==null?void 0x0:_0x17cd03['retryConnectingInterval'])!=null?_0xeb5fd8:0x4e20)*0x2**_0x441549;this[_0x10a736(0x22f)]=setTimeout(()=>{var _0x386e67=_0x10a736;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x386e67(0x489)]();},_0x39222e),this[_0x10a736(0x434)]+=0x1;}[_0x4b5896(0x253)](_0x51f106,_0x16b8aa){var _0x5e7ef8=_0x4b5896;const {cmd:_0x47c2b1}=_0x16b8aa;_0x47c2b1===_0x4a19f[_0x5e7ef8(0x34c)]&&!this[_0x5e7ef8(0x41a)]&&(_0x51f106[_0x5e7ef8(0x1b6)]=_0x16b8aa[_0x5e7ef8(0x1d2)][_0x5e7ef8(0x1b6)],this[_0x5e7ef8(0x275)][_0x5e7ef8(0x4eb)](_0x51f106),this['_status$'][_0x5e7ef8(0x4eb)](_0x31c1b0[_0x5e7ef8(0x1d4)]),this[_0x5e7ef8(0x41a)]=!0x0,this[_0x5e7ef8(0x4fb)]=null),_0x47c2b1===_0x4a19f['HEARTBEAT']&&this[_0x5e7ef8(0x45c)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x1bd633=_0x4b5896,_0x3f3cc3;this[_0x1bd633(0x2ec)](),this[_0x1bd633(0x43c)]=setTimeout(()=>this[_0x1bd633(0x360)](),(_0x3f3cc3=this[_0x1bd633(0x229)][_0x1bd633(0x523)](_0x320476))!=null?_0x3f3cc3:0x7530);}[_0x4b5896(0x360)](){var _0x5b75d4=_0x4b5896;this[_0x5b75d4(0x21f)][_0x5b75d4(0x2d7)]({'cmd':_0x4a19f[_0x5b75d4(0x207)]}),this[_0x5b75d4(0x453)]();}[_0x4b5896(0x453)](){var _0x116579=_0x4b5896,_0x127128;this[_0x116579(0x3d4)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x127128=this[_0x116579(0x229)]['getConfig'](_0xf8cda4))!=null?_0x127128:0x4e20);}[_0x4b5896(0x2ec)](){var _0x124869=_0x4b5896;this[_0x124869(0x43c)]!=null&&(clearTimeout(this[_0x124869(0x43c)]),this[_0x124869(0x43c)]=null);}['_clearTimeoutTimer'](){var _0xc0fc4e=_0x4b5896;this['_timeoutTimer']!=null&&(clearTimeout(this[_0xc0fc4e(0x3d4)]),this[_0xc0fc4e(0x3d4)]=null);}},_0x1fe4e5[_0x4b5896(0x1ed)]=_0xd3e21e([_0x1d6eeb(0x0,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x308)])),_0x1d6eeb(0x1,_0x3a8efd[_0x4b5896(0x4b5)]),_0x1d6eeb(0x2,_0x3a8efd['IConfigService']),_0x1d6eeb(0x3,_0x2b8c0d),_0x1d6eeb(0x4,_0x3a8efd['Inject'](_0x5b5dc8)),_0x1d6eeb(0x5,_0x3a8efd['Optional'](_0x42d43b))],_0x1fe4e5[_0x4b5896(0x1ed)]);var _0x1d35c1=Object[_0x4b5896(0x36f)],_0x3642dd=(_0x1e84b4,_0x40d816,_0x4a21d1,_0x24d757)=>{var _0x324af0=_0x4b5896;for(var _0x5724c5=_0x24d757>0x1?void 0x0:_0x24d757?_0x1d35c1(_0x40d816,_0x4a21d1):_0x40d816,_0x2a2c37=_0x1e84b4[_0x324af0(0x31b)]-0x1,_0x461c07;_0x2a2c37>=0x0;_0x2a2c37--)(_0x461c07=_0x1e84b4[_0x2a2c37])&&(_0x5724c5=_0x461c07(_0x5724c5)||_0x5724c5);return _0x5724c5;},_0x5661eb=(_0x490226,_0x2551a2)=>(_0x1417ed,_0xc1e96a)=>_0x2551a2(_0x1417ed,_0xc1e96a,_0x490226);_0x1fe4e5[_0x4b5896(0x263)]=class extends _0x3a8efd[_0x4b5896(0x4ad)]{constructor(_0x5cfa52,_0x4572ce,_0x9496f8,_0x42b0e8){var _0x1f9c98=_0x4b5896,_0x582bdb;super(),_0x33a719(this,'_entities',new Map()),_0x33a719(this,_0x1f9c98(0x3e1),new _0x49840d[(_0x1f9c98(0x3f4))]()),_0x33a719(this,_0x1f9c98(0x1e5),this['_entityInit$'][_0x1f9c98(0x350)]()),(this[_0x1f9c98(0x467)]=_0x5cfa52,this[_0x1f9c98(0x49c)]=_0x4572ce,this['_configService']=_0x9496f8,this[_0x1f9c98(0x4e8)]=_0x42b0e8,((_0x582bdb=this['_configService'][_0x1f9c98(0x523)](_0x3fa8a8))==null?void 0x0:_0x582bdb[_0x1f9c98(0x2f2)])!==!0x1&&this['_init']());}[_0x4b5896(0x44f)](){var _0x1b08fd=_0x4b5896;super[_0x1b08fd(0x44f)](),this[_0x1b08fd(0x4de)]['forEach'](_0x1fed26=>_0x1fed26[_0x1b08fd(0x44f)]()),this['_entities']['clear']();}[_0x4b5896(0x1c8)](_0x1a9dde){var _0xc775f8=_0x4b5896,_0x4e8cd3;return(_0x4e8cd3=this[_0xc775f8(0x4de)][_0xc775f8(0x4b6)](_0x1a9dde))!=null?_0x4e8cd3:null;}[_0x4b5896(0x3e3)](_0x4ad713){var _0x2e78ce=_0x4b5896;const _0x49139e=this[_0x2e78ce(0x1c8)](_0x4ad713);return _0x49139e?_0x49840d['of'](_0x49139e):this[_0x2e78ce(0x3e1)][_0x2e78ce(0x3b7)](_0x3844a2[_0x2e78ce(0x329)](_0x5c20f2=>_0x5c20f2[_0x2e78ce(0x28a)]===_0x4ad713));}[_0x4b5896(0x3d3)](_0x3e3c4){var _0x5a22a2=_0x4b5896;return _0x49840d[_0x5a22a2(0x237)](this[_0x5a22a2(0x3e3)](_0x3e3c4)[_0x5a22a2(0x3b7)](_0x3844a2[_0x5a22a2(0x451)](()=>{})));}['_init'](){var _0x132ba5=_0x4b5896;this[_0x132ba5(0x4e8)][_0x132ba5(0x346)](_0x3a8efd['UniverInstanceType'][_0x132ba5(0x4b9)])[_0x132ba5(0x3b7)](_0x49840d[_0x132ba5(0x224)](this[_0x132ba5(0x422)]),_0x3844a2[_0x132ba5(0x37f)](0x10))[_0x132ba5(0x465)](async _0x46b3de=>{var _0x2516ba=_0x132ba5;const _0x4f590b=_0x46b3de[_0x2516ba(0x49a)](),_0x1c3d64=await this[_0x2516ba(0x32b)](_0x4f590b,_0x4dc4c2['UNIVER_SHEET']);this[_0x2516ba(0x4de)][_0x2516ba(0x513)](_0x4f590b,_0x1c3d64);}),this[_0x132ba5(0x4e8)][_0x132ba5(0x346)](_0x3a8efd[_0x132ba5(0x1af)][_0x132ba5(0x234)])[_0x132ba5(0x3b7)](_0x49840d['takeUntil'](this[_0x132ba5(0x422)]),_0x3844a2['delay'](0x10))['pipe'](_0x3844a2['filter'](_0x5c03b4=>!_0x5c03b4[_0x132ba5(0x49a)]()['startsWith']('__')))[_0x132ba5(0x465)](async _0x52d549=>{var _0x33b708=_0x132ba5;const _0x50cb37=_0x52d549[_0x33b708(0x49a)](),_0x197b13=await this[_0x33b708(0x32b)](_0x50cb37,_0x4dc4c2[_0x33b708(0x234)]);this[_0x33b708(0x4de)][_0x33b708(0x513)](_0x50cb37,_0x197b13);}),_0x49840d[_0x132ba5(0x40b)](this[_0x132ba5(0x4e8)]['getTypeOfUnitDisposed$'](_0x3a8efd[_0x132ba5(0x1af)][_0x132ba5(0x4b9)]),this[_0x132ba5(0x4e8)][_0x132ba5(0x424)](_0x3a8efd[_0x132ba5(0x1af)][_0x132ba5(0x234)]))[_0x132ba5(0x3b7)](_0x49840d['takeUntil'](this[_0x132ba5(0x422)]))[_0x132ba5(0x465)](_0x30b37e=>{var _0x2b305e=_0x132ba5;const _0x2cf443=_0x30b37e[_0x2b305e(0x49a)](),_0x1632c6=this[_0x2b305e(0x4de)][_0x2b305e(0x4b6)](_0x2cf443);_0x1632c6&&(_0x1632c6[_0x2b305e(0x44f)](),this['_entities'][_0x2b305e(0x1c5)](_0x2cf443));});}async[_0x4b5896(0x32b)](_0x3638ac,_0x3fcc6e){var _0x28c166=_0x4b5896;const _0x273793=await this[_0x28c166(0x49c)][_0x28c166(0x41b)](_0x3638ac),_0x3fc9a7=this[_0x28c166(0x467)]['createInstance'](this[_0x28c166(0x3f7)](_0x3fcc6e),_0x3638ac,_0x3fcc6e,_0x273793);return await _0x3fc9a7[_0x28c166(0x3d0)](),this[_0x28c166(0x3e1)][_0x28c166(0x4eb)](_0x3fc9a7),_0x3fc9a7;}[_0x4b5896(0x3f7)](_0x185fe2){var _0x4dbbb5=_0x4b5896;switch(_0x185fe2){case _0x4dc4c2[_0x4dbbb5(0x234)]:return _0x1fe4e5[_0x4dbbb5(0x37d)];case _0x4dc4c2[_0x4dbbb5(0x4b9)]:return _0x1fe4e5[_0x4dbbb5(0x3a0)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x185fe2);}}},_0x1fe4e5[_0x4b5896(0x263)]=_0x3642dd([_0x5661eb(0x0,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x308)])),_0x5661eb(0x1,_0x3a8efd[_0x4b5896(0x4b2)](_0x1fe4e5[_0x4b5896(0x1ed)])),_0x5661eb(0x2,_0x3a8efd[_0x4b5896(0x383)]),_0x5661eb(0x3,_0x3a8efd[_0x4b5896(0x40f)])],_0x1fe4e5['CollaborationController']);var _0x480d25=Object[_0x4b5896(0x36f)],_0xaf079=(_0x2eb8eb,_0x31fb07,_0xe12f24,_0x3bea5d)=>{var _0x5da18e=_0x4b5896;for(var _0x50dbfb=_0x3bea5d>0x1?void 0x0:_0x3bea5d?_0x480d25(_0x31fb07,_0xe12f24):_0x31fb07,_0x447b3f=_0x2eb8eb[_0x5da18e(0x31b)]-0x1,_0x1c1385;_0x447b3f>=0x0;_0x447b3f--)(_0x1c1385=_0x2eb8eb[_0x447b3f])&&(_0x50dbfb=_0x1c1385(_0x50dbfb)||_0x50dbfb);return _0x50dbfb;},_0x534136=(_0x20d904,_0x15b720)=>(_0x50de06,_0x49bcb3)=>_0x15b720(_0x50de06,_0x49bcb3,_0x20d904);const _0x1bc918=_0x4b5896(0x431),_0x11875c=_0x4b5896(0x1e6);let _0xa98e7c=class extends _0x3a8efd[_0x4b5896(0x3ed)]{constructor(_0x1a6231,_0x3d228e){var _0x206347=_0x4b5896;super(),this[_0x206347(0x4e8)]=_0x1a6231,this[_0x206347(0x229)]=_0x3d228e,this['_init']();}[_0x4b5896(0x380)](){var _0x187b70=_0x4b5896;this[_0x187b70(0x353)](this[_0x187b70(0x4e8)][_0x187b70(0x4cf)]['subscribe'](()=>{var _0x2e5c23=_0x187b70,_0x64219d;const _0x2d839a=this[_0x2e5c23(0x4e8)][_0x2e5c23(0x3cb)]();let _0x3008c3=(_0x64219d=this[_0x2e5c23(0x229)][_0x2e5c23(0x523)](_0x1bc918))!=null?_0x64219d:_0x11875c;_0x2d839a instanceof _0x3a8efd[_0x2e5c23(0x1de)]&&(_0x3008c3=_0x2d839a[_0x2e5c23(0x39b)]),document[_0x2e5c23(0x2f4)]=_0x3008c3;}));}};_0xa98e7c=_0xaf079([_0x534136(0x0,_0x3a8efd[_0x4b5896(0x40f)]),_0x534136(0x1,_0x3a8efd['IConfigService'])],_0xa98e7c);var _0x5b467e=Object[_0x4b5896(0x36f)],_0x9711f=(_0x594fbd,_0x56c9e6,_0x49e517,_0x5b669f)=>{for(var _0x3bef69=_0x5b669f>0x1?void 0x0:_0x5b669f?_0x5b467e(_0x56c9e6,_0x49e517):_0x56c9e6,_0x277cdb=_0x594fbd['length']-0x1,_0x595433;_0x277cdb>=0x0;_0x277cdb--)(_0x595433=_0x594fbd[_0x277cdb])&&(_0x3bef69=_0x595433(_0x3bef69)||_0x3bef69);return _0x3bef69;},_0x472de9=(_0xbd45,_0x1eede1)=>(_0x20c7bb,_0x49e11e)=>_0x1eede1(_0x20c7bb,_0x49e11e,_0xbd45);let _0x2b9f33=class{constructor(_0x218d8e,_0x4bd832,_0x2965f5){var _0x5704a4=_0x4b5896;this['_configService']=_0x218d8e,this['_httpService']=_0x4bd832,this[_0x5704a4(0x331)]=_0x2965f5,this[_0x5704a4(0x3d0)]();}['init'](){var _0x5bc4ca=_0x4b5896;this[_0x5bc4ca(0x2e8)][_0x5bc4ca(0x335)]({'priority':0x1,'interceptor':(_0x53d60e,_0x549037)=>_0x549037(_0x53d60e)[_0x5bc4ca(0x3b7)](_0x49840d[_0x5bc4ca(0x238)](async _0x3173e6=>{var _0x5cfca9=_0x5bc4ca;const _0x29e6f7=_0x3173e6;if(_0x29e6f7['status']===0x191){if(typeof window>'u')throw new Error(_0x5cfca9(0x2a9));if(window[_0x5cfca9(0x1fa)](this['localeService']['t'](_0x5cfca9(0x432)))){const _0x16c780=window[_0x5cfca9(0x4fc)](window[_0x5cfca9(0x2de)][_0x5cfca9(0x505)]);window[_0x5cfca9(0x2de)][_0x5cfca9(0x505)]=this[_0x5cfca9(0x3ac)]()+_0x5cfca9(0x355)+_0x16c780;}}return _0x29e6f7;}))});}[_0x4b5896(0x3ac)](){var _0x2e48f9=_0x4b5896,_0x2a214a;const _0x3eee3b=this[_0x2e48f9(0x229)][_0x2e48f9(0x523)](_0x3fa8a8);return(_0x2a214a=_0x3eee3b==null?void 0x0:_0x3eee3b[_0x2e48f9(0x285)])!=null?_0x2a214a:_0x106d2b;}};_0x2b9f33=_0x9711f([_0x472de9(0x0,_0x3a8efd[_0x4b5896(0x383)]),_0x472de9(0x1,_0x3a8efd[_0x4b5896(0x4b2)](_0x5a784f[_0x4b5896(0x227)])),_0x472de9(0x2,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x30b)]))],_0x2b9f33);var _0x26c6d6=Object['getOwnPropertyDescriptor'],_0x5969e3=(_0x11cf23,_0x4c024a,_0xa7cf23,_0x38a761)=>{var _0x233a83=_0x4b5896;for(var _0x5a6415=_0x38a761>0x1?void 0x0:_0x38a761?_0x26c6d6(_0x4c024a,_0xa7cf23):_0x4c024a,_0x2581ab=_0x11cf23[_0x233a83(0x31b)]-0x1,_0x21e378;_0x2581ab>=0x0;_0x2581ab--)(_0x21e378=_0x11cf23[_0x2581ab])&&(_0x5a6415=_0x21e378(_0x5a6415)||_0x5a6415);return _0x5a6415;},_0x3b6e44=(_0x2d8767,_0x1e7041)=>(_0x3c7dbd,_0x8d2cd7)=>_0x1e7041(_0x3c7dbd,_0x8d2cd7,_0x2d8767);const _0x1ef166='/universer-api/authz';_0x1fe4e5[_0x4b5896(0x2ee)]=class extends _0x3a8efd[_0x4b5896(0x3ed)]{constructor(_0x4a4150,_0x3363b9){var _0x413628=_0x4b5896;super(),this[_0x413628(0x312)]=_0x4a4150,this[_0x413628(0x229)]=_0x3363b9,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x2f50fd=_0x4b5896;const _0x373c78=this;this['disposeWithMe'](this[_0x2f50fd(0x312)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x5a784f[_0x2f50fd(0x2ca)]({'isMatch'(_0x42e0dc){var _0xaa68f7=_0x2f50fd,_0x4e393c;if(_0x42e0dc['method']==='POST'&&((_0x4e393c=_0x42e0dc[_0xaa68f7(0x385)])!=null&&_0x4e393c[_0xaa68f7(0x1be)])){const {objectID:_0x4e2f45,objectType:_0x71695f}=_0x42e0dc[_0xaa68f7(0x385)][_0xaa68f7(0x1be)]||{};if(!_0x4e2f45||_0x71695f===void 0x0)return!0x1;const _0x33a97c=_0x373c78[_0xaa68f7(0x47a)]()+'/'+_0x71695f+_0xaa68f7(0x35f)+_0x4e2f45+_0xaa68f7(0x539);if(_0x42e0dc[_0xaa68f7(0x1ee)]===_0x33a97c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x59472e){var _0x245a84=_0x2f50fd,_0x59e883;return(_0x59e883=_0x59472e['requestParams'])==null?void 0x0:_0x59e883[_0x245a84(0x1be)];},'mergeParamsToRequest'(_0x5128db,_0x458376){var _0x24660d=_0x2f50fd;const _0x54345a=_0x373c78[_0x24660d(0x47a)]()+'/-/object/-/batch_allowed',_0x395bc8=_0x5128db['reduce']((_0x4d72b1,_0x272b01)=>{var _0x2ca1c7=_0x24660d;const {unitID:_0x273d98,objectID:_0x2aba0b,objectType:_0x1e73b1,actions:_0xe7bea5}=_0x272b01;return _0x4d72b1[_0x273d98]||(_0x4d72b1[_0x273d98]={}),_0x4d72b1[_0x273d98][_0x2aba0b]||(_0x4d72b1[_0x273d98][_0x2aba0b]={'objectID':_0x2aba0b,'objectType':_0x1e73b1,'actions':[]}),_0x4d72b1[_0x273d98][_0x2aba0b][_0x2ca1c7(0x514)][_0x2ca1c7(0x435)](..._0xe7bea5),_0x4d72b1;},{}),_0x4b39ca=[];for(const _0x105125 in _0x395bc8)for(const _0x2458b6 in _0x395bc8[_0x105125]){const {actions:_0x1e7c9d,objectType:_0x52c439}=_0x395bc8[_0x105125][_0x2458b6],_0xeb7b20=[...new Set(_0x1e7c9d)];_0x4b39ca[_0x24660d(0x435)]({'unitID':_0x105125,'objectID':_0x2458b6,'objectType':_0x52c439,'actions':_0xeb7b20});}return new _0x5a784f[(_0x24660d(0x4b7))](_0x24660d(0x1ca),_0x54345a,{'headers':_0x458376['headers'],'withCredentials':_0x458376[_0x24660d(0x3bb)],'responseType':_0x458376[_0x24660d(0x35b)],'body':{'requests':_0x4b39ca}});}},{'distributeResult'(_0x3fd541,_0x458054){var _0x419ac3=_0x2f50fd;const {objectActions:_0x54a6f5}=_0x3fd541;return _0x458054[_0x419ac3(0x451)](_0x32c9ed=>{var _0x568f4b=_0x419ac3;const {unitID:_0x4a3428,objectID:_0x4e9614,actions:_0x30b8c8}=_0x32c9ed,_0x1f3113=_0x54a6f5[_0x568f4b(0x515)](_0x86ca5a=>_0x86ca5a[_0x568f4b(0x28a)]===_0x4a3428&&_0x86ca5a[_0x568f4b(0x206)]===_0x4e9614),_0x5f1e17=_0x30b8c8[_0x568f4b(0x451)](_0x434b46=>_0x1f3113==null?void 0x0:_0x1f3113[_0x568f4b(0x514)][_0x568f4b(0x515)](_0x35ee5c=>_0x35ee5c[_0x568f4b(0x3e8)]===_0x434b46))[_0x568f4b(0x329)](_0x486711=>!!_0x486711);return{'config':_0x32c9ed,'result':{'actions':_0x5f1e17,'error':_0x3fd541[_0x568f4b(0x542)]}};});}})}));}[_0x4b5896(0x47a)](){var _0x2113fa=_0x4b5896,_0x585a38;const _0x41fc0c=this[_0x2113fa(0x229)][_0x2113fa(0x523)](_0x3fa8a8);return(_0x585a38=_0x41fc0c==null?void 0x0:_0x41fc0c['authzUrl'])!=null?_0x585a38:_0x1ef166;}async['create'](_0x3635f9){var _0x472695=_0x4b5896;const _0x3af786=this[_0x472695(0x47a)]()+'/'+_0x3635f9[_0x472695(0x429)]+'/object';return(await this[_0x472695(0x312)][_0x472695(0x54a)](_0x3af786,{'body':_0x3635f9}))[_0x472695(0x1be)][_0x472695(0x206)]||'';}async[_0x4b5896(0x546)](_0x45d534){var _0x22b13d=_0x4b5896;const _0x24b4f2=this[_0x22b13d(0x47a)]()+_0x22b13d(0x278);return(await this[_0x22b13d(0x312)][_0x22b13d(0x54a)](_0x24b4f2,{'body':_0x45d534}))[_0x22b13d(0x1be)]['objects'];}async[_0x4b5896(0x255)](_0xb32109){var _0x335ab3=_0x4b5896,_0x23d272,_0x43e421;const _0x3566b9=this[_0x335ab3(0x47a)]()+'/'+_0xb32109[_0x335ab3(0x429)]+'/object/'+_0xb32109[_0x335ab3(0x206)],_0x21ac9c=await this[_0x335ab3(0x312)][_0x335ab3(0x1f1)](_0x3566b9,{'body':_0xb32109});if(((_0x43e421=(_0x23d272=_0x21ac9c==null?void 0x0:_0x21ac9c[_0x335ab3(0x1be)])==null?void 0x0:_0x23d272['error'])==null?void 0x0:_0x43e421[_0x335ab3(0x354)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async['allowed'](_0x51e65b){var _0x4f8281=_0x4b5896;const _0x27596d=this[_0x4f8281(0x47a)]()+'/'+_0x51e65b['objectType']+_0x4f8281(0x35f)+_0x51e65b['objectID']+_0x4f8281(0x539);return(await this[_0x4f8281(0x312)]['post'](_0x27596d,{'body':_0x51e65b}))['body'][_0x4f8281(0x514)];}async[_0x4b5896(0x2b4)](_0x34eb35){var _0x4aaa07=_0x4b5896;const _0x5aeabd=this[_0x4aaa07(0x47a)]()+_0x4aaa07(0x250);return(await this[_0x4aaa07(0x312)][_0x4aaa07(0x54a)](_0x5aeabd,{'body':{'requests':_0x34eb35}}))[_0x4aaa07(0x1be)]['objectActions'];}async[_0x4b5896(0x34f)](_0xf73be9){var _0x30d690=_0x4b5896;const _0x35bc8d=this['_getAPIPrefixPath']()+'/'+_0xf73be9['objectType']+_0x30d690(0x4e6),_0x1693aa=await this[_0x30d690(0x312)][_0x30d690(0x54a)](_0x35bc8d,{'body':_0xf73be9});return{'roles':_0x1693aa[_0x30d690(0x1be)]['roles'],'actions':_0x1693aa[_0x30d690(0x1be)]['actions']};}async['deleteCollaborator'](_0x474823){var _0x1b05cd=_0x4b5896;const _0x5e2b6c=this[_0x1b05cd(0x47a)]()+_0x1b05cd(0x2e2);await this['_HTTPService'][_0x1b05cd(0x1c5)](_0x5e2b6c,{'params':{'collaboratorID':_0x474823[_0x1b05cd(0x540)],'objectID':_0x474823[_0x1b05cd(0x206)],'unitID':_0x474823[_0x1b05cd(0x28a)]}});}async[_0x4b5896(0x438)](_0x5bd678){var _0x1e63db=_0x4b5896;const _0xac8428=this[_0x1e63db(0x47a)]()+_0x1e63db(0x2e2);await this[_0x1e63db(0x312)][_0x1e63db(0x34e)](_0xac8428,{'body':_0x5bd678});}async[_0x4b5896(0x2d1)](_0x39ab20){var _0x42bf93=_0x4b5896;const _0x1c6c2a=this[_0x42bf93(0x47a)]()+_0x42bf93(0x2e2);await this['_HTTPService'][_0x42bf93(0x54a)](_0x1c6c2a,{'body':_0x39ab20});}async[_0x4b5896(0x4d7)](_0x38b13b){var _0x45960b=_0x4b5896;const _0x5c4f17=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x45960b(0x312)][_0x45960b(0x4b6)](_0x5c4f17,{'params':{'objectID':_0x38b13b[_0x45960b(0x206)],'unitID':_0x38b13b['unitID']}}))[_0x45960b(0x1be)][_0x45960b(0x2b8)];}async[_0x4b5896(0x4bb)](_0x43b612){var _0x589b57=_0x4b5896;const _0x48a961=this[_0x589b57(0x47a)]()+_0x589b57(0x2e2);await this['_HTTPService']['put'](_0x48a961,{'body':_0x43b612});}},_0x1fe4e5['AuthzIoHttpService']=_0x5969e3([_0x3b6e44(0x0,_0x3a8efd[_0x4b5896(0x4b2)](_0x5a784f[_0x4b5896(0x227)])),_0x3b6e44(0x1,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd['IConfigService']))],_0x1fe4e5['AuthzIoHttpService']);var _0x2f24d2=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x26c98b(_0x4e4149){var _0x66f2e0=_0x4b5896;return _0x4e4149&&_0x4e4149[_0x66f2e0(0x27d)]&&Object[_0x66f2e0(0x4f1)][_0x66f2e0(0x2e0)]['call'](_0x4e4149,_0x66f2e0(0x29c))?_0x4e4149[_0x66f2e0(0x29c)]:_0x4e4149;}var _0x4ee07f={'exports':{}};function _0x5a9195(_0x290114){var _0x3e6375=_0x4b5896;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x290114+_0x3e6375(0x2ab));}var _0x480731={'exports':{}},_0x5d8b58=_0x480731[_0x4b5896(0x1ae)],_0x14e91d;function _0x38fba3(){var _0x2f1fe3=_0x4b5896;return _0x14e91d||(_0x14e91d=0x1,function(_0x429791,_0x19bca4){(function(_0x5b8585,_0x4a6e72){var _0x636a2c=_0x4fbb;_0x429791[_0x636a2c(0x1ae)]=_0x4a6e72();}(_0x5d8b58,function(){var _0x344d1a=_0x344d1a||function(_0x239719,_0xdf0dc7){var _0x49e853=_0x4fbb,_0x47fd1f;if(typeof window<'u'&&window[_0x49e853(0x2ff)]&&(_0x47fd1f=window[_0x49e853(0x2ff)]),typeof self<'u'&&self[_0x49e853(0x2ff)]&&(_0x47fd1f=self[_0x49e853(0x2ff)]),typeof globalThis<'u'&&globalThis[_0x49e853(0x2ff)]&&(_0x47fd1f=globalThis[_0x49e853(0x2ff)]),!_0x47fd1f&&typeof window<'u'&&window[_0x49e853(0x3fa)]&&(_0x47fd1f=window['msCrypto']),!_0x47fd1f&&typeof _0x2f24d2<'u'&&_0x2f24d2[_0x49e853(0x2ff)]&&(_0x47fd1f=_0x2f24d2['crypto']),!_0x47fd1f&&typeof _0x5a9195==_0x49e853(0x3c0))try{_0x47fd1f=require('crypto');}catch{}var _0x1285dd=function(){var _0x23bd51=_0x49e853;if(_0x47fd1f){if(typeof _0x47fd1f[_0x23bd51(0x49e)]==_0x23bd51(0x3c0))try{return _0x47fd1f[_0x23bd51(0x49e)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x47fd1f[_0x23bd51(0x3d5)]==_0x23bd51(0x3c0))try{return _0x47fd1f['randomBytes'](0x4)[_0x23bd51(0x1e7)]();}catch{}}throw new Error(_0x23bd51(0x4a3));},_0x32f490=Object['create']||(function(){function _0x13381a(){}return function(_0x591d58){var _0x2432f0=_0x4fbb,_0x236698;return _0x13381a[_0x2432f0(0x4f1)]=_0x591d58,_0x236698=new _0x13381a(),_0x13381a['prototype']=null,_0x236698;};}()),_0x59811e={},_0x378438=_0x59811e['lib']={},_0x1ea96f=_0x378438[_0x49e853(0x3de)]=(function(){return{'extend':function(_0x287a40){var _0x3b6723=_0x4fbb,_0x47985e=_0x32f490(this);return _0x287a40&&_0x47985e[_0x3b6723(0x369)](_0x287a40),(!_0x47985e[_0x3b6723(0x2e0)](_0x3b6723(0x3d0))||this[_0x3b6723(0x3d0)]===_0x47985e[_0x3b6723(0x3d0)])&&(_0x47985e[_0x3b6723(0x3d0)]=function(){var _0x331dfc=_0x3b6723;_0x47985e[_0x331dfc(0x4a2)][_0x331dfc(0x3d0)][_0x331dfc(0x273)](this,arguments);}),_0x47985e[_0x3b6723(0x3d0)][_0x3b6723(0x4f1)]=_0x47985e,_0x47985e[_0x3b6723(0x4a2)]=this,_0x47985e;},'create':function(){var _0x211ee2=_0x4fbb,_0x303637=this['extend']();return _0x303637[_0x211ee2(0x3d0)]['apply'](_0x303637,arguments),_0x303637;},'init':function(){},'mixIn':function(_0x2ac922){var _0xdb0bb8=_0x4fbb;for(var _0x9aa2b3 in _0x2ac922)_0x2ac922[_0xdb0bb8(0x2e0)](_0x9aa2b3)&&(this[_0x9aa2b3]=_0x2ac922[_0x9aa2b3]);_0x2ac922[_0xdb0bb8(0x2e0)](_0xdb0bb8(0x46c))&&(this[_0xdb0bb8(0x46c)]=_0x2ac922['toString']);},'clone':function(){var _0x4cad7f=_0x4fbb;return this[_0x4cad7f(0x3d0)][_0x4cad7f(0x4f1)]['extend'](this);}};}()),_0x2a3c85=_0x378438[_0x49e853(0x40d)]=_0x1ea96f['extend']({'init':function(_0x2c4bf7,_0x1e926c){var _0x3959ae=_0x49e853;_0x2c4bf7=this[_0x3959ae(0x300)]=_0x2c4bf7||[],_0x1e926c!=_0xdf0dc7?this[_0x3959ae(0x51a)]=_0x1e926c:this['sigBytes']=_0x2c4bf7[_0x3959ae(0x31b)]*0x4;},'toString':function(_0x2ad4f1){var _0x5ff111=_0x49e853;return(_0x2ad4f1||_0x41b834)[_0x5ff111(0x1d0)](this);},'concat':function(_0x38a0c3){var _0xa8f373=_0x49e853,_0x23dcae=this[_0xa8f373(0x300)],_0x2605ac=_0x38a0c3['words'],_0x5c7498=this['sigBytes'],_0x192239=_0x38a0c3[_0xa8f373(0x51a)];if(this[_0xa8f373(0x1e3)](),_0x5c7498%0x4)for(var _0x25df4a=0x0;_0x25df4a<_0x192239;_0x25df4a++){var _0x706325=_0x2605ac[_0x25df4a>>>0x2]>>>0x18-_0x25df4a%0x4*0x8&0xff;_0x23dcae[_0x5c7498+_0x25df4a>>>0x2]|=_0x706325<<0x18-(_0x5c7498+_0x25df4a)%0x4*0x8;}else{for(var _0x11c94a=0x0;_0x11c94a<_0x192239;_0x11c94a+=0x4)_0x23dcae[_0x5c7498+_0x11c94a>>>0x2]=_0x2605ac[_0x11c94a>>>0x2];}return this['sigBytes']+=_0x192239,this;},'clamp':function(){var _0x5e6380=_0x49e853,_0x1cd343=this[_0x5e6380(0x300)],_0x59e497=this['sigBytes'];_0x1cd343[_0x59e497>>>0x2]&=0xffffffff<<0x20-_0x59e497%0x4*0x8,_0x1cd343[_0x5e6380(0x31b)]=_0x239719[_0x5e6380(0x478)](_0x59e497/0x4);},'clone':function(){var _0x3a11ba=_0x49e853,_0x273577=_0x1ea96f[_0x3a11ba(0x4ca)][_0x3a11ba(0x473)](this);return _0x273577[_0x3a11ba(0x300)]=this[_0x3a11ba(0x300)]['slice'](0x0),_0x273577;},'random':function(_0x270f64){var _0x2321e6=_0x49e853;for(var _0x278391=[],_0x109d02=0x0;_0x109d02<_0x270f64;_0x109d02+=0x4)_0x278391['push'](_0x1285dd());return new _0x2a3c85[(_0x2321e6(0x3d0))](_0x278391,_0x270f64);}}),_0x2d5af1=_0x59811e[_0x49e853(0x43d)]={},_0x41b834=_0x2d5af1[_0x49e853(0x3fd)]={'stringify':function(_0x428ef0){var _0x4433a9=_0x49e853;for(var _0xa8e982=_0x428ef0[_0x4433a9(0x300)],_0x431789=_0x428ef0[_0x4433a9(0x51a)],_0x580fed=[],_0x557333=0x0;_0x557333<_0x431789;_0x557333++){var _0x458345=_0xa8e982[_0x557333>>>0x2]>>>0x18-_0x557333%0x4*0x8&0xff;_0x580fed[_0x4433a9(0x435)]((_0x458345>>>0x4)[_0x4433a9(0x46c)](0x10)),_0x580fed[_0x4433a9(0x435)]((_0x458345&0xf)[_0x4433a9(0x46c)](0x10));}return _0x580fed[_0x4433a9(0x36d)]('');},'parse':function(_0x1842c7){var _0x52c7ac=_0x49e853;for(var _0x203d06=_0x1842c7[_0x52c7ac(0x31b)],_0x33ae59=[],_0x4f94b6=0x0;_0x4f94b6<_0x203d06;_0x4f94b6+=0x2)_0x33ae59[_0x4f94b6>>>0x3]|=parseInt(_0x1842c7['substr'](_0x4f94b6,0x2),0x10)<<0x18-_0x4f94b6%0x8*0x4;return new _0x2a3c85[(_0x52c7ac(0x3d0))](_0x33ae59,_0x203d06/0x2);}},_0x13a89d=_0x2d5af1['Latin1']={'stringify':function(_0x57a30f){var _0x5b6f7e=_0x49e853;for(var _0xc936f8=_0x57a30f[_0x5b6f7e(0x300)],_0xf6cb56=_0x57a30f[_0x5b6f7e(0x51a)],_0x399d27=[],_0x5d7c1b=0x0;_0x5d7c1b<_0xf6cb56;_0x5d7c1b++){var _0x9b07c5=_0xc936f8[_0x5d7c1b>>>0x2]>>>0x18-_0x5d7c1b%0x4*0x8&0xff;_0x399d27[_0x5b6f7e(0x435)](String[_0x5b6f7e(0x481)](_0x9b07c5));}return _0x399d27[_0x5b6f7e(0x36d)]('');},'parse':function(_0x51ab30){var _0xb4b9a9=_0x49e853;for(var _0x32649e=_0x51ab30[_0xb4b9a9(0x31b)],_0x3c8744=[],_0x1f6a90=0x0;_0x1f6a90<_0x32649e;_0x1f6a90++)_0x3c8744[_0x1f6a90>>>0x2]|=(_0x51ab30[_0xb4b9a9(0x322)](_0x1f6a90)&0xff)<<0x18-_0x1f6a90%0x4*0x8;return new _0x2a3c85['init'](_0x3c8744,_0x32649e);}},_0x22a845=_0x2d5af1['Utf8']={'stringify':function(_0x2c9ad6){var _0x1408b9=_0x49e853;try{return decodeURIComponent(escape(_0x13a89d['stringify'](_0x2c9ad6)));}catch{throw new Error(_0x1408b9(0x1c4));}},'parse':function(_0xa8b247){var _0x30fa5c=_0x49e853;return _0x13a89d[_0x30fa5c(0x1fc)](unescape(encodeURIComponent(_0xa8b247)));}},_0x13dbe2=_0x378438[_0x49e853(0x2c1)]=_0x1ea96f[_0x49e853(0x36e)]({'reset':function(){var _0x32b32c=_0x49e853;this[_0x32b32c(0x36c)]=new _0x2a3c85[(_0x32b32c(0x3d0))](),this[_0x32b32c(0x35e)]=0x0;},'_append':function(_0x17f831){var _0x42555a=_0x49e853;typeof _0x17f831==_0x42555a(0x53e)&&(_0x17f831=_0x22a845[_0x42555a(0x1fc)](_0x17f831)),this[_0x42555a(0x36c)][_0x42555a(0x22e)](_0x17f831),this[_0x42555a(0x35e)]+=_0x17f831[_0x42555a(0x51a)];},'_process':function(_0x51ff21){var _0x4fab71=_0x49e853,_0x45b6c6,_0x20c9aa=this[_0x4fab71(0x36c)],_0x4ac7a6=_0x20c9aa[_0x4fab71(0x300)],_0x239b54=_0x20c9aa[_0x4fab71(0x51a)],_0x216aa0=this['blockSize'],_0x576440=_0x216aa0*0x4,_0x1ae7c2=_0x239b54/_0x576440;_0x51ff21?_0x1ae7c2=_0x239719[_0x4fab71(0x478)](_0x1ae7c2):_0x1ae7c2=_0x239719[_0x4fab71(0x420)]((_0x1ae7c2|0x0)-this[_0x4fab71(0x4ff)],0x0);var _0x76b7c5=_0x1ae7c2*_0x216aa0,_0x45669b=_0x239719[_0x4fab71(0x254)](_0x76b7c5*0x4,_0x239b54);if(_0x76b7c5){for(var _0x3032d0=0x0;_0x3032d0<_0x76b7c5;_0x3032d0+=_0x216aa0)this[_0x4fab71(0x221)](_0x4ac7a6,_0x3032d0);_0x45b6c6=_0x4ac7a6['splice'](0x0,_0x76b7c5),_0x20c9aa[_0x4fab71(0x51a)]-=_0x45669b;}return new _0x2a3c85[(_0x4fab71(0x3d0))](_0x45b6c6,_0x45669b);},'clone':function(){var _0xcf988f=_0x49e853,_0x47569d=_0x1ea96f[_0xcf988f(0x4ca)][_0xcf988f(0x473)](this);return _0x47569d['_data']=this[_0xcf988f(0x36c)][_0xcf988f(0x4ca)](),_0x47569d;},'_minBufferSize':0x0});_0x378438[_0x49e853(0x297)]=_0x13dbe2[_0x49e853(0x36e)]({'cfg':_0x1ea96f[_0x49e853(0x36e)](),'init':function(_0x226af0){var _0x4df25d=_0x49e853;this[_0x4df25d(0x44e)]=this['cfg'][_0x4df25d(0x36e)](_0x226af0),this['reset']();},'reset':function(){var _0x1e33ac=_0x49e853;_0x13dbe2['reset']['call'](this),this[_0x1e33ac(0x1e2)]();},'update':function(_0x4a37be){var _0x4bca2d=_0x49e853;return this[_0x4bca2d(0x264)](_0x4a37be),this['_process'](),this;},'finalize':function(_0x2d3106){var _0x1939a3=_0x49e853;_0x2d3106&&this[_0x1939a3(0x264)](_0x2d3106);var _0x3a9e6a=this[_0x1939a3(0x3a6)]();return _0x3a9e6a;},'blockSize':0x10,'_createHelper':function(_0xe99bd2){return function(_0x18416c,_0x2a61f8){var _0x2cccc3=_0x4fbb;return new _0xe99bd2[(_0x2cccc3(0x3d0))](_0x2a61f8)['finalize'](_0x18416c);};},'_createHmacHelper':function(_0x3b7457){return function(_0x29e80d,_0x2780a3){var _0x9ec7ea=_0x4fbb;return new _0xd5bf6[(_0x9ec7ea(0x286))]['init'](_0x3b7457,_0x2780a3)[_0x9ec7ea(0x52e)](_0x29e80d);};}});var _0xd5bf6=_0x59811e[_0x49e853(0x400)]={};return _0x59811e;}(Math);return _0x344d1a;}));}(_0x480731)),_0x480731[_0x2f1fe3(0x1ae)];}var _0x302e1b={'exports':{}},_0x464ff9=_0x302e1b[_0x4b5896(0x1ae)],_0x35c727;function _0x99d294(){var _0x4ca6b3=_0x4b5896;return _0x35c727||(_0x35c727=0x1,function(_0x78c1d3,_0x3a404c){(function(_0x225095,_0x4836a0){_0x78c1d3['exports']=_0x4836a0(_0x38fba3());}(_0x464ff9,function(_0x439d67){var _0x5d1a61=_0x4fbb;return(function(){var _0x1478bd=_0x4fbb,_0x5c3bb5=_0x439d67,_0x1b22b2=_0x5c3bb5[_0x1478bd(0x1bd)],_0x208c29=_0x1b22b2[_0x1478bd(0x40d)],_0x4a1622=_0x5c3bb5[_0x1478bd(0x43d)];_0x4a1622[_0x1478bd(0x1f9)]={'stringify':function(_0x399a63){var _0x355a83=_0x1478bd,_0x569c2e=_0x399a63[_0x355a83(0x300)],_0x255a49=_0x399a63['sigBytes'],_0x40957d=this[_0x355a83(0x3d8)];_0x399a63['clamp']();for(var _0xcb0ca2=[],_0x21f335=0x0;_0x21f335<_0x255a49;_0x21f335+=0x3)for(var _0x4f01ff=_0x569c2e[_0x21f335>>>0x2]>>>0x18-_0x21f335%0x4*0x8&0xff,_0x3d054b=_0x569c2e[_0x21f335+0x1>>>0x2]>>>0x18-(_0x21f335+0x1)%0x4*0x8&0xff,_0x5a003f=_0x569c2e[_0x21f335+0x2>>>0x2]>>>0x18-(_0x21f335+0x2)%0x4*0x8&0xff,_0x1384a8=_0x4f01ff<<0x10|_0x3d054b<<0x8|_0x5a003f,_0x2e1451=0x0;_0x2e1451<0x4&&_0x21f335+_0x2e1451*0.75<_0x255a49;_0x2e1451++)_0xcb0ca2[_0x355a83(0x435)](_0x40957d[_0x355a83(0x469)](_0x1384a8>>>0x6*(0x3-_0x2e1451)&0x3f));var _0x43bb53=_0x40957d[_0x355a83(0x469)](0x40);if(_0x43bb53){for(;_0xcb0ca2[_0x355a83(0x31b)]%0x4;)_0xcb0ca2[_0x355a83(0x435)](_0x43bb53);}return _0xcb0ca2[_0x355a83(0x36d)]('');},'parse':function(_0x3690cd){var _0x1bc51c=_0x1478bd,_0x349201=_0x3690cd[_0x1bc51c(0x31b)],_0x3d08b2=this[_0x1bc51c(0x3d8)],_0x571a8d=this[_0x1bc51c(0x38c)];if(!_0x571a8d){_0x571a8d=this[_0x1bc51c(0x38c)]=[];for(var _0x5dc856=0x0;_0x5dc856<_0x3d08b2['length'];_0x5dc856++)_0x571a8d[_0x3d08b2[_0x1bc51c(0x322)](_0x5dc856)]=_0x5dc856;}var _0x2a143f=_0x3d08b2[_0x1bc51c(0x469)](0x40);if(_0x2a143f){var _0x509251=_0x3690cd['indexOf'](_0x2a143f);_0x509251!==-0x1&&(_0x349201=_0x509251);}return _0x47f06f(_0x3690cd,_0x349201,_0x571a8d);},'_map':_0x1478bd(0x3f9)};function _0x47f06f(_0xaf9cc,_0x29202e,_0xa5a225){var _0x4988db=_0x1478bd;for(var _0x10bf8a=[],_0x4f92ae=0x0,_0x4190c8=0x0;_0x4190c8<_0x29202e;_0x4190c8++)if(_0x4190c8%0x4){var _0x26d02e=_0xa5a225[_0xaf9cc[_0x4988db(0x322)](_0x4190c8-0x1)]<<_0x4190c8%0x4*0x2,_0x422b57=_0xa5a225[_0xaf9cc[_0x4988db(0x322)](_0x4190c8)]>>>0x6-_0x4190c8%0x4*0x2,_0x23d534=_0x26d02e|_0x422b57;_0x10bf8a[_0x4f92ae>>>0x2]|=_0x23d534<<0x18-_0x4f92ae%0x4*0x8,_0x4f92ae++;}return _0x208c29[_0x4988db(0x510)](_0x10bf8a,_0x4f92ae);}}()),_0x439d67['enc'][_0x5d1a61(0x1f9)];}));}(_0x302e1b)),_0x302e1b[_0x4ca6b3(0x1ae)];}var _0x549062={'exports':{}},_0x5b65f9=_0x549062[_0x4b5896(0x1ae)],_0x17e7ee;function _0x19a264(){var _0x5914b5=_0x4b5896;return _0x17e7ee||(_0x17e7ee=0x1,function(_0xae490f,_0x4b15cc){(function(_0x427332,_0x327653){var _0x3a0287=_0x4fbb;_0xae490f[_0x3a0287(0x1ae)]=_0x327653(_0x38fba3());}(_0x5b65f9,function(_0x2ea078){var _0x5add29=_0x4fbb;return function(_0x3e9763){var _0x486c3e=_0x4fbb,_0x46d33f=_0x2ea078,_0x32f3a0=_0x46d33f[_0x486c3e(0x1bd)],_0x4729ae=_0x32f3a0[_0x486c3e(0x40d)],_0x657289=_0x32f3a0[_0x486c3e(0x297)],_0xaf2db6=_0x46d33f[_0x486c3e(0x400)],_0x26595f=[];(function(){var _0x13530c=_0x486c3e;for(var _0x267b88=0x0;_0x267b88<0x40;_0x267b88++)_0x26595f[_0x267b88]=_0x3e9763[_0x13530c(0x319)](_0x3e9763[_0x13530c(0x4b3)](_0x267b88+0x1))*0x100000000|0x0;}());var _0x532ccf=_0xaf2db6[_0x486c3e(0x3e6)]=_0x657289[_0x486c3e(0x36e)]({'_doReset':function(){var _0x4a8584=_0x486c3e;this[_0x4a8584(0x345)]=new _0x4729ae['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3ba3d0,_0x1c414b){var _0x219805=_0x486c3e;for(var _0x5ca648=0x0;_0x5ca648<0x10;_0x5ca648++){var _0x851fe7=_0x1c414b+_0x5ca648,_0x81ce8e=_0x3ba3d0[_0x851fe7];_0x3ba3d0[_0x851fe7]=(_0x81ce8e<<0x8|_0x81ce8e>>>0x18)&0xff00ff|(_0x81ce8e<<0x18|_0x81ce8e>>>0x8)&0xff00ff00;}var _0x1a9a91=this['_hash'][_0x219805(0x300)],_0x5e0dc2=_0x3ba3d0[_0x1c414b+0x0],_0x1b474b=_0x3ba3d0[_0x1c414b+0x1],_0x53edf2=_0x3ba3d0[_0x1c414b+0x2],_0x588b50=_0x3ba3d0[_0x1c414b+0x3],_0x2d7d1c=_0x3ba3d0[_0x1c414b+0x4],_0x23f319=_0x3ba3d0[_0x1c414b+0x5],_0x97c47f=_0x3ba3d0[_0x1c414b+0x6],_0x39179a=_0x3ba3d0[_0x1c414b+0x7],_0x15ee23=_0x3ba3d0[_0x1c414b+0x8],_0x454c22=_0x3ba3d0[_0x1c414b+0x9],_0x117c5b=_0x3ba3d0[_0x1c414b+0xa],_0x3af12b=_0x3ba3d0[_0x1c414b+0xb],_0x20cad5=_0x3ba3d0[_0x1c414b+0xc],_0x1b66eb=_0x3ba3d0[_0x1c414b+0xd],_0x855a75=_0x3ba3d0[_0x1c414b+0xe],_0x187720=_0x3ba3d0[_0x1c414b+0xf],_0x8ac81c=_0x1a9a91[0x0],_0x41aea0=_0x1a9a91[0x1],_0x3363d4=_0x1a9a91[0x2],_0xeb0ddd=_0x1a9a91[0x3];_0x8ac81c=_0x510d1d(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x5e0dc2,0x7,_0x26595f[0x0]),_0xeb0ddd=_0x510d1d(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x1b474b,0xc,_0x26595f[0x1]),_0x3363d4=_0x510d1d(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x53edf2,0x11,_0x26595f[0x2]),_0x41aea0=_0x510d1d(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x588b50,0x16,_0x26595f[0x3]),_0x8ac81c=_0x510d1d(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x2d7d1c,0x7,_0x26595f[0x4]),_0xeb0ddd=_0x510d1d(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x23f319,0xc,_0x26595f[0x5]),_0x3363d4=_0x510d1d(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x97c47f,0x11,_0x26595f[0x6]),_0x41aea0=_0x510d1d(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x39179a,0x16,_0x26595f[0x7]),_0x8ac81c=_0x510d1d(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x15ee23,0x7,_0x26595f[0x8]),_0xeb0ddd=_0x510d1d(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x454c22,0xc,_0x26595f[0x9]),_0x3363d4=_0x510d1d(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x117c5b,0x11,_0x26595f[0xa]),_0x41aea0=_0x510d1d(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x3af12b,0x16,_0x26595f[0xb]),_0x8ac81c=_0x510d1d(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x20cad5,0x7,_0x26595f[0xc]),_0xeb0ddd=_0x510d1d(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x1b66eb,0xc,_0x26595f[0xd]),_0x3363d4=_0x510d1d(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x855a75,0x11,_0x26595f[0xe]),_0x41aea0=_0x510d1d(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x187720,0x16,_0x26595f[0xf]),_0x8ac81c=_0x57a3bb(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x1b474b,0x5,_0x26595f[0x10]),_0xeb0ddd=_0x57a3bb(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x97c47f,0x9,_0x26595f[0x11]),_0x3363d4=_0x57a3bb(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3af12b,0xe,_0x26595f[0x12]),_0x41aea0=_0x57a3bb(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x5e0dc2,0x14,_0x26595f[0x13]),_0x8ac81c=_0x57a3bb(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x23f319,0x5,_0x26595f[0x14]),_0xeb0ddd=_0x57a3bb(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x117c5b,0x9,_0x26595f[0x15]),_0x3363d4=_0x57a3bb(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x187720,0xe,_0x26595f[0x16]),_0x41aea0=_0x57a3bb(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x2d7d1c,0x14,_0x26595f[0x17]),_0x8ac81c=_0x57a3bb(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x454c22,0x5,_0x26595f[0x18]),_0xeb0ddd=_0x57a3bb(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x855a75,0x9,_0x26595f[0x19]),_0x3363d4=_0x57a3bb(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x588b50,0xe,_0x26595f[0x1a]),_0x41aea0=_0x57a3bb(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x15ee23,0x14,_0x26595f[0x1b]),_0x8ac81c=_0x57a3bb(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x1b66eb,0x5,_0x26595f[0x1c]),_0xeb0ddd=_0x57a3bb(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x53edf2,0x9,_0x26595f[0x1d]),_0x3363d4=_0x57a3bb(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x39179a,0xe,_0x26595f[0x1e]),_0x41aea0=_0x57a3bb(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x20cad5,0x14,_0x26595f[0x1f]),_0x8ac81c=_0x51e0ae(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x23f319,0x4,_0x26595f[0x20]),_0xeb0ddd=_0x51e0ae(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x15ee23,0xb,_0x26595f[0x21]),_0x3363d4=_0x51e0ae(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3af12b,0x10,_0x26595f[0x22]),_0x41aea0=_0x51e0ae(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x855a75,0x17,_0x26595f[0x23]),_0x8ac81c=_0x51e0ae(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x1b474b,0x4,_0x26595f[0x24]),_0xeb0ddd=_0x51e0ae(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x2d7d1c,0xb,_0x26595f[0x25]),_0x3363d4=_0x51e0ae(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x39179a,0x10,_0x26595f[0x26]),_0x41aea0=_0x51e0ae(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x117c5b,0x17,_0x26595f[0x27]),_0x8ac81c=_0x51e0ae(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x1b66eb,0x4,_0x26595f[0x28]),_0xeb0ddd=_0x51e0ae(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x5e0dc2,0xb,_0x26595f[0x29]),_0x3363d4=_0x51e0ae(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x588b50,0x10,_0x26595f[0x2a]),_0x41aea0=_0x51e0ae(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x97c47f,0x17,_0x26595f[0x2b]),_0x8ac81c=_0x51e0ae(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x454c22,0x4,_0x26595f[0x2c]),_0xeb0ddd=_0x51e0ae(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x20cad5,0xb,_0x26595f[0x2d]),_0x3363d4=_0x51e0ae(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x187720,0x10,_0x26595f[0x2e]),_0x41aea0=_0x51e0ae(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x53edf2,0x17,_0x26595f[0x2f]),_0x8ac81c=_0x3b8741(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x5e0dc2,0x6,_0x26595f[0x30]),_0xeb0ddd=_0x3b8741(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x39179a,0xa,_0x26595f[0x31]),_0x3363d4=_0x3b8741(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x855a75,0xf,_0x26595f[0x32]),_0x41aea0=_0x3b8741(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x23f319,0x15,_0x26595f[0x33]),_0x8ac81c=_0x3b8741(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x20cad5,0x6,_0x26595f[0x34]),_0xeb0ddd=_0x3b8741(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x588b50,0xa,_0x26595f[0x35]),_0x3363d4=_0x3b8741(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x117c5b,0xf,_0x26595f[0x36]),_0x41aea0=_0x3b8741(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x1b474b,0x15,_0x26595f[0x37]),_0x8ac81c=_0x3b8741(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x15ee23,0x6,_0x26595f[0x38]),_0xeb0ddd=_0x3b8741(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x187720,0xa,_0x26595f[0x39]),_0x3363d4=_0x3b8741(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x97c47f,0xf,_0x26595f[0x3a]),_0x41aea0=_0x3b8741(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x1b66eb,0x15,_0x26595f[0x3b]),_0x8ac81c=_0x3b8741(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x2d7d1c,0x6,_0x26595f[0x3c]),_0xeb0ddd=_0x3b8741(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x3af12b,0xa,_0x26595f[0x3d]),_0x3363d4=_0x3b8741(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x53edf2,0xf,_0x26595f[0x3e]),_0x41aea0=_0x3b8741(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x454c22,0x15,_0x26595f[0x3f]),_0x1a9a91[0x0]=_0x1a9a91[0x0]+_0x8ac81c|0x0,_0x1a9a91[0x1]=_0x1a9a91[0x1]+_0x41aea0|0x0,_0x1a9a91[0x2]=_0x1a9a91[0x2]+_0x3363d4|0x0,_0x1a9a91[0x3]=_0x1a9a91[0x3]+_0xeb0ddd|0x0;},'_doFinalize':function(){var _0x127069=_0x486c3e,_0x948548=this[_0x127069(0x36c)],_0x1ad3d7=_0x948548[_0x127069(0x300)],_0x1fb2fe=this[_0x127069(0x35e)]*0x8,_0x1dcde2=_0x948548[_0x127069(0x51a)]*0x8;_0x1ad3d7[_0x1dcde2>>>0x5]|=0x80<<0x18-_0x1dcde2%0x20;var _0x3322b4=_0x3e9763[_0x127069(0x316)](_0x1fb2fe/0x100000000),_0x4c6572=_0x1fb2fe;_0x1ad3d7[(_0x1dcde2+0x40>>>0x9<<0x4)+0xf]=(_0x3322b4<<0x8|_0x3322b4>>>0x18)&0xff00ff|(_0x3322b4<<0x18|_0x3322b4>>>0x8)&0xff00ff00,_0x1ad3d7[(_0x1dcde2+0x40>>>0x9<<0x4)+0xe]=(_0x4c6572<<0x8|_0x4c6572>>>0x18)&0xff00ff|(_0x4c6572<<0x18|_0x4c6572>>>0x8)&0xff00ff00,_0x948548[_0x127069(0x51a)]=(_0x1ad3d7[_0x127069(0x31b)]+0x1)*0x4,this[_0x127069(0x40a)]();for(var _0x445011=this[_0x127069(0x345)],_0x423992=_0x445011[_0x127069(0x300)],_0x30d3cd=0x0;_0x30d3cd<0x4;_0x30d3cd++){var _0x49bc34=_0x423992[_0x30d3cd];_0x423992[_0x30d3cd]=(_0x49bc34<<0x8|_0x49bc34>>>0x18)&0xff00ff|(_0x49bc34<<0x18|_0x49bc34>>>0x8)&0xff00ff00;}return _0x445011;},'clone':function(){var _0x460ed1=_0x486c3e,_0x54b2d4=_0x657289[_0x460ed1(0x4ca)][_0x460ed1(0x473)](this);return _0x54b2d4[_0x460ed1(0x345)]=this['_hash'][_0x460ed1(0x4ca)](),_0x54b2d4;}});function _0x510d1d(_0x766784,_0x892d7c,_0x4b8d1d,_0x19d739,_0x29b737,_0x572539,_0x22276a){var _0x2f4d3b=_0x766784+(_0x892d7c&_0x4b8d1d|~_0x892d7c&_0x19d739)+_0x29b737+_0x22276a;return(_0x2f4d3b<<_0x572539|_0x2f4d3b>>>0x20-_0x572539)+_0x892d7c;}function _0x57a3bb(_0x505b47,_0x35fb0d,_0x30adb2,_0x5c1e79,_0x38c513,_0x8186bd,_0x4ee4a7){var _0x436de1=_0x505b47+(_0x35fb0d&_0x5c1e79|_0x30adb2&~_0x5c1e79)+_0x38c513+_0x4ee4a7;return(_0x436de1<<_0x8186bd|_0x436de1>>>0x20-_0x8186bd)+_0x35fb0d;}function _0x51e0ae(_0x514def,_0x4cb9fe,_0x437763,_0x3124d3,_0x59a88c,_0x22818b,_0x120081){var _0x1e40fe=_0x514def+(_0x4cb9fe^_0x437763^_0x3124d3)+_0x59a88c+_0x120081;return(_0x1e40fe<<_0x22818b|_0x1e40fe>>>0x20-_0x22818b)+_0x4cb9fe;}function _0x3b8741(_0x5c3729,_0x1ce09a,_0x8c5256,_0x8c8f8b,_0x14a7a4,_0x383cb7,_0x1418e2){var _0x33ac0b=_0x5c3729+(_0x8c5256^(_0x1ce09a|~_0x8c8f8b))+_0x14a7a4+_0x1418e2;return(_0x33ac0b<<_0x383cb7|_0x33ac0b>>>0x20-_0x383cb7)+_0x1ce09a;}_0x46d33f[_0x486c3e(0x3e6)]=_0x657289['_createHelper'](_0x532ccf),_0x46d33f['HmacMD5']=_0x657289['_createHmacHelper'](_0x532ccf);}(Math),_0x2ea078[_0x5add29(0x3e6)];}));}(_0x549062)),_0x549062[_0x5914b5(0x1ae)];}var _0x26b522={'exports':{}},_0x1adea8={'exports':{}},_0x3bdf00=_0x1adea8[_0x4b5896(0x1ae)],_0x36a916;function _0x5e3490(){var _0xee84fa=_0x4b5896;return _0x36a916||(_0x36a916=0x1,function(_0x4fc7b0,_0x3c8308){(function(_0x237d17,_0x3a23a9){var _0x3b44a1=_0x4fbb;_0x4fc7b0[_0x3b44a1(0x1ae)]=_0x3a23a9(_0x38fba3());}(_0x3bdf00,function(_0x465fa4){var _0x5f1ad9=_0x4fbb;return(function(){var _0xe0a153=_0x4fbb,_0x3212fb=_0x465fa4,_0x4b799a=_0x3212fb['lib'],_0x3e79d6=_0x4b799a[_0xe0a153(0x40d)],_0xa4035f=_0x4b799a['Hasher'],_0x387756=_0x3212fb[_0xe0a153(0x400)],_0x43e2df=[],_0x12139c=_0x387756[_0xe0a153(0x4ac)]=_0xa4035f[_0xe0a153(0x36e)]({'_doReset':function(){var _0x4e09ff=_0xe0a153;this[_0x4e09ff(0x345)]=new _0x3e79d6[(_0x4e09ff(0x3d0))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x36aa72,_0x2eb3fd){var _0x385107=_0xe0a153;for(var _0x1cf72d=this['_hash'][_0x385107(0x300)],_0x318242=_0x1cf72d[0x0],_0x559fdd=_0x1cf72d[0x1],_0x10309c=_0x1cf72d[0x2],_0x199be3=_0x1cf72d[0x3],_0x5ba475=_0x1cf72d[0x4],_0x1ebb72=0x0;_0x1ebb72<0x50;_0x1ebb72++){if(_0x1ebb72<0x10)_0x43e2df[_0x1ebb72]=_0x36aa72[_0x2eb3fd+_0x1ebb72]|0x0;else{var _0xfaea05=_0x43e2df[_0x1ebb72-0x3]^_0x43e2df[_0x1ebb72-0x8]^_0x43e2df[_0x1ebb72-0xe]^_0x43e2df[_0x1ebb72-0x10];_0x43e2df[_0x1ebb72]=_0xfaea05<<0x1|_0xfaea05>>>0x1f;}var _0x560a71=(_0x318242<<0x5|_0x318242>>>0x1b)+_0x5ba475+_0x43e2df[_0x1ebb72];_0x1ebb72<0x14?_0x560a71+=(_0x559fdd&_0x10309c|~_0x559fdd&_0x199be3)+0x5a827999:_0x1ebb72<0x28?_0x560a71+=(_0x559fdd^_0x10309c^_0x199be3)+0x6ed9eba1:_0x1ebb72<0x3c?_0x560a71+=(_0x559fdd&_0x10309c|_0x559fdd&_0x199be3|_0x10309c&_0x199be3)-0x70e44324:_0x560a71+=(_0x559fdd^_0x10309c^_0x199be3)-0x359d3e2a,_0x5ba475=_0x199be3,_0x199be3=_0x10309c,_0x10309c=_0x559fdd<<0x1e|_0x559fdd>>>0x2,_0x559fdd=_0x318242,_0x318242=_0x560a71;}_0x1cf72d[0x0]=_0x1cf72d[0x0]+_0x318242|0x0,_0x1cf72d[0x1]=_0x1cf72d[0x1]+_0x559fdd|0x0,_0x1cf72d[0x2]=_0x1cf72d[0x2]+_0x10309c|0x0,_0x1cf72d[0x3]=_0x1cf72d[0x3]+_0x199be3|0x0,_0x1cf72d[0x4]=_0x1cf72d[0x4]+_0x5ba475|0x0;},'_doFinalize':function(){var _0x46ff84=_0xe0a153,_0x112dff=this[_0x46ff84(0x36c)],_0x3aeb65=_0x112dff[_0x46ff84(0x300)],_0x4c99ea=this['_nDataBytes']*0x8,_0x561c1=_0x112dff[_0x46ff84(0x51a)]*0x8;return _0x3aeb65[_0x561c1>>>0x5]|=0x80<<0x18-_0x561c1%0x20,_0x3aeb65[(_0x561c1+0x40>>>0x9<<0x4)+0xe]=Math[_0x46ff84(0x316)](_0x4c99ea/0x100000000),_0x3aeb65[(_0x561c1+0x40>>>0x9<<0x4)+0xf]=_0x4c99ea,_0x112dff[_0x46ff84(0x51a)]=_0x3aeb65[_0x46ff84(0x31b)]*0x4,this[_0x46ff84(0x40a)](),this[_0x46ff84(0x345)];},'clone':function(){var _0x3e8bb1=_0xe0a153,_0x41c6b3=_0xa4035f[_0x3e8bb1(0x4ca)][_0x3e8bb1(0x473)](this);return _0x41c6b3[_0x3e8bb1(0x345)]=this['_hash']['clone'](),_0x41c6b3;}});_0x3212fb['SHA1']=_0xa4035f['_createHelper'](_0x12139c),_0x3212fb[_0xe0a153(0x2b1)]=_0xa4035f[_0xe0a153(0x1e9)](_0x12139c);}()),_0x465fa4[_0x5f1ad9(0x4ac)];}));}(_0x1adea8)),_0x1adea8[_0xee84fa(0x1ae)];}var _0x3f5094={'exports':{}},_0x53e7aa=_0x3f5094[_0x4b5896(0x1ae)],_0x391259;function _0x596a28(){return _0x391259||(_0x391259=0x1,function(_0x1ebbb8,_0x52cdd7){(function(_0x9124ee,_0x25e4e3){_0x1ebbb8['exports']=_0x25e4e3(_0x38fba3());}(_0x53e7aa,function(_0x586df4){(function(){var _0x47d1eb=_0x4fbb,_0x465740=_0x586df4,_0x14d513=_0x465740[_0x47d1eb(0x1bd)],_0x29980b=_0x14d513[_0x47d1eb(0x3de)],_0x47ba35=_0x465740[_0x47d1eb(0x43d)],_0xf2a0d7=_0x47ba35[_0x47d1eb(0x205)],_0x1e2179=_0x465740[_0x47d1eb(0x400)];_0x1e2179[_0x47d1eb(0x286)]=_0x29980b['extend']({'init':function(_0x47ae9c,_0x2e946a){var _0xff3d9a=_0x47d1eb;_0x47ae9c=this[_0xff3d9a(0x517)]=new _0x47ae9c[(_0xff3d9a(0x3d0))](),typeof _0x2e946a=='string'&&(_0x2e946a=_0xf2a0d7[_0xff3d9a(0x1fc)](_0x2e946a));var _0x5f5682=_0x47ae9c['blockSize'],_0x20e3b9=_0x5f5682*0x4;_0x2e946a[_0xff3d9a(0x51a)]>_0x20e3b9&&(_0x2e946a=_0x47ae9c[_0xff3d9a(0x52e)](_0x2e946a)),_0x2e946a[_0xff3d9a(0x1e3)]();for(var _0x345ad2=this[_0xff3d9a(0x386)]=_0x2e946a[_0xff3d9a(0x4ca)](),_0x51b60f=this['_iKey']=_0x2e946a[_0xff3d9a(0x4ca)](),_0x5f3108=_0x345ad2['words'],_0x4f5313=_0x51b60f['words'],_0x38adee=0x0;_0x38adee<_0x5f5682;_0x38adee++)_0x5f3108[_0x38adee]^=0x5c5c5c5c,_0x4f5313[_0x38adee]^=0x36363636;_0x345ad2[_0xff3d9a(0x51a)]=_0x51b60f[_0xff3d9a(0x51a)]=_0x20e3b9,this['reset']();},'reset':function(){var _0x58cd39=_0x47d1eb,_0x25e27f=this[_0x58cd39(0x517)];_0x25e27f[_0x58cd39(0x1d3)](),_0x25e27f['update'](this[_0x58cd39(0x1fe)]);},'update':function(_0x3b8b9e){var _0x3ec187=_0x47d1eb;return this[_0x3ec187(0x517)][_0x3ec187(0x255)](_0x3b8b9e),this;},'finalize':function(_0x27346c){var _0x13050b=_0x47d1eb,_0x58fd55=this[_0x13050b(0x517)],_0x190300=_0x58fd55[_0x13050b(0x52e)](_0x27346c);_0x58fd55[_0x13050b(0x1d3)]();var _0x4e1498=_0x58fd55[_0x13050b(0x52e)](this[_0x13050b(0x386)][_0x13050b(0x4ca)]()['concat'](_0x190300));return _0x4e1498;}});}());}));}(_0x3f5094)),_0x3f5094['exports'];}var _0x404226=_0x26b522[_0x4b5896(0x1ae)],_0x293044;function _0x5a3281(){var _0x97795c=_0x4b5896;return _0x293044||(_0x293044=0x1,function(_0x127c7a,_0x7056c9){(function(_0x22120c,_0x31cc7f,_0x529c45){_0x127c7a['exports']=_0x31cc7f(_0x38fba3(),_0x5e3490(),_0x596a28());}(_0x404226,function(_0x590e07){return(function(){var _0x466281=_0x4fbb,_0x518610=_0x590e07,_0x537d62=_0x518610[_0x466281(0x1bd)],_0x31e1c9=_0x537d62['Base'],_0x1fa5f5=_0x537d62[_0x466281(0x40d)],_0x5ef395=_0x518610[_0x466281(0x400)],_0x26cb00=_0x5ef395[_0x466281(0x3e6)],_0x2a49f6=_0x5ef395[_0x466281(0x3c3)]=_0x31e1c9[_0x466281(0x36e)]({'cfg':_0x31e1c9[_0x466281(0x36e)]({'keySize':0x80/0x20,'hasher':_0x26cb00,'iterations':0x1}),'init':function(_0x452070){var _0x44e8f6=_0x466281;this[_0x44e8f6(0x44e)]=this[_0x44e8f6(0x44e)][_0x44e8f6(0x36e)](_0x452070);},'compute':function(_0x1eb73a,_0x3ace8d){var _0x1960df=_0x466281;for(var _0x2a1972,_0x91dd3f=this[_0x1960df(0x44e)],_0x2fa493=_0x91dd3f[_0x1960df(0x3b2)][_0x1960df(0x510)](),_0x24d8ef=_0x1fa5f5[_0x1960df(0x510)](),_0x1be2fd=_0x24d8ef['words'],_0x5b9432=_0x91dd3f[_0x1960df(0x289)],_0xbf4597=_0x91dd3f[_0x1960df(0x2c3)];_0x1be2fd[_0x1960df(0x31b)]<_0x5b9432;){_0x2a1972&&_0x2fa493[_0x1960df(0x255)](_0x2a1972),_0x2a1972=_0x2fa493['update'](_0x1eb73a)[_0x1960df(0x52e)](_0x3ace8d),_0x2fa493['reset']();for(var _0x1cfcea=0x1;_0x1cfcea<_0xbf4597;_0x1cfcea++)_0x2a1972=_0x2fa493[_0x1960df(0x52e)](_0x2a1972),_0x2fa493[_0x1960df(0x1d3)]();_0x24d8ef[_0x1960df(0x22e)](_0x2a1972);}return _0x24d8ef[_0x1960df(0x51a)]=_0x5b9432*0x4,_0x24d8ef;}});_0x518610[_0x466281(0x3c3)]=function(_0x6db823,_0x19fa06,_0x42dae0){var _0xfe508f=_0x466281;return _0x2a49f6[_0xfe508f(0x510)](_0x42dae0)[_0xfe508f(0x241)](_0x6db823,_0x19fa06);};}()),_0x590e07['EvpKDF'];}));}(_0x26b522)),_0x26b522[_0x97795c(0x1ae)];}var _0x13b13e={'exports':{}},_0x230e6a=_0x13b13e[_0x4b5896(0x1ae)],_0x5beb46;function _0x47499a(){var _0x2f2628=_0x4b5896;return _0x5beb46||(_0x5beb46=0x1,function(_0x2c2fa6,_0x43cfdd){(function(_0x32db8b,_0x3618c4,_0x4b25d1){var _0x80a66=_0x4fbb;_0x2c2fa6[_0x80a66(0x1ae)]=_0x3618c4(_0x38fba3(),_0x5a3281());}(_0x230e6a,function(_0xd55bc3){var _0x573197=_0x4fbb;_0xd55bc3[_0x573197(0x1bd)][_0x573197(0x393)]||function(_0x227302){var _0x199320=_0x573197,_0xa3bc84=_0xd55bc3,_0x2cb148=_0xa3bc84['lib'],_0x1067dd=_0x2cb148[_0x199320(0x3de)],_0x55ee8f=_0x2cb148[_0x199320(0x40d)],_0x1b5554=_0x2cb148[_0x199320(0x2c1)],_0x437044=_0xa3bc84[_0x199320(0x43d)];_0x437044[_0x199320(0x205)];var _0x8ae4bc=_0x437044[_0x199320(0x1f9)],_0x5dedb6=_0xa3bc84['algo'],_0x53f37a=_0x5dedb6[_0x199320(0x3c3)],_0xe545dd=_0x2cb148['Cipher']=_0x1b5554[_0x199320(0x36e)]({'cfg':_0x1067dd['extend'](),'createEncryptor':function(_0x216b08,_0xe0e5d4){var _0x1d9f2c=_0x199320;return this[_0x1d9f2c(0x510)](this['_ENC_XFORM_MODE'],_0x216b08,_0xe0e5d4);},'createDecryptor':function(_0x3cc0a2,_0x132e40){var _0x4a64df=_0x199320;return this['create'](this[_0x4a64df(0x3d1)],_0x3cc0a2,_0x132e40);},'init':function(_0x5c94dc,_0x170953,_0x15e943){var _0x2ef726=_0x199320;this[_0x2ef726(0x44e)]=this['cfg'][_0x2ef726(0x36e)](_0x15e943),this[_0x2ef726(0x375)]=_0x5c94dc,this[_0x2ef726(0x280)]=_0x170953,this[_0x2ef726(0x1d3)]();},'reset':function(){var _0x23e1ce=_0x199320;_0x1b5554[_0x23e1ce(0x1d3)][_0x23e1ce(0x473)](this),this[_0x23e1ce(0x1e2)]();},'process':function(_0x27a0d5){var _0x34c3e=_0x199320;return this[_0x34c3e(0x264)](_0x27a0d5),this[_0x34c3e(0x40a)]();},'finalize':function(_0x48193e){var _0x9dc075=_0x199320;_0x48193e&&this[_0x9dc075(0x264)](_0x48193e);var _0x4b9b05=this[_0x9dc075(0x3a6)]();return _0x4b9b05;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x18ebe2(_0x7e4eb1){var _0x4f5479=_0x4fbb;return typeof _0x7e4eb1==_0x4f5479(0x53e)?_0x42d28e:_0x2767ae;}return function(_0x37c3a8){return{'encrypt':function(_0x5a60e7,_0x3bb9a3,_0x417da1){var _0x24097f=_0x4fbb;return _0x18ebe2(_0x3bb9a3)[_0x24097f(0x327)](_0x37c3a8,_0x5a60e7,_0x3bb9a3,_0x417da1);},'decrypt':function(_0x8a4e7c,_0x1f0fec,_0x4289f2){var _0x3552d8=_0x4fbb;return _0x18ebe2(_0x1f0fec)[_0x3552d8(0x480)](_0x37c3a8,_0x8a4e7c,_0x1f0fec,_0x4289f2);}};};}())});_0x2cb148[_0x199320(0x39e)]=_0xe545dd['extend']({'_doFinalize':function(){var _0x1159d0=this['_process'](!0x0);return _0x1159d0;},'blockSize':0x1});var _0x53d2ac=_0xa3bc84['mode']={},_0x1535f4=_0x2cb148['BlockCipherMode']=_0x1067dd['extend']({'createEncryptor':function(_0x2ef7bc,_0x55f701){var _0xeea36c=_0x199320;return this[_0xeea36c(0x1f0)][_0xeea36c(0x510)](_0x2ef7bc,_0x55f701);},'createDecryptor':function(_0x788757,_0x352cd2){var _0x430dbc=_0x199320;return this[_0x430dbc(0x3ef)]['create'](_0x788757,_0x352cd2);},'init':function(_0x5058ce,_0x2e5697){var _0xf02d1a=_0x199320;this[_0xf02d1a(0x357)]=_0x5058ce,this[_0xf02d1a(0x2ce)]=_0x2e5697;}}),_0x7117ec=_0x53d2ac[_0x199320(0x3dc)]=(function(){var _0x4bb3fd=_0x199320,_0x40a258=_0x1535f4[_0x4bb3fd(0x36e)]();_0x40a258[_0x4bb3fd(0x1f0)]=_0x40a258[_0x4bb3fd(0x36e)]({'processBlock':function(_0x5b40b9,_0x461f92){var _0x352655=_0x4bb3fd,_0x42680d=this[_0x352655(0x357)],_0x1b8f58=_0x42680d['blockSize'];_0x59fd97['call'](this,_0x5b40b9,_0x461f92,_0x1b8f58),_0x42680d[_0x352655(0x4cb)](_0x5b40b9,_0x461f92),this['_prevBlock']=_0x5b40b9[_0x352655(0x326)](_0x461f92,_0x461f92+_0x1b8f58);}}),_0x40a258[_0x4bb3fd(0x3ef)]=_0x40a258['extend']({'processBlock':function(_0x1b8b01,_0x4409d9){var _0x59a20d=_0x4bb3fd,_0x33ceff=this[_0x59a20d(0x357)],_0x47febd=_0x33ceff['blockSize'],_0x57527b=_0x1b8b01[_0x59a20d(0x326)](_0x4409d9,_0x4409d9+_0x47febd);_0x33ceff[_0x59a20d(0x2b7)](_0x1b8b01,_0x4409d9),_0x59fd97[_0x59a20d(0x473)](this,_0x1b8b01,_0x4409d9,_0x47febd),this[_0x59a20d(0x4c7)]=_0x57527b;}});function _0x59fd97(_0x124c3c,_0x50fcce,_0x2afc92){var _0x5618b2=_0x4bb3fd,_0x1faf9d,_0x298ea1=this['_iv'];_0x298ea1?(_0x1faf9d=_0x298ea1,this[_0x5618b2(0x2ce)]=_0x227302):_0x1faf9d=this[_0x5618b2(0x4c7)];for(var _0x1bd21b=0x0;_0x1bd21b<_0x2afc92;_0x1bd21b++)_0x124c3c[_0x50fcce+_0x1bd21b]^=_0x1faf9d[_0x1bd21b];}return _0x40a258;}()),_0xbdc60a=_0xa3bc84['pad']={},_0x2c6c55=_0xbdc60a['Pkcs7']={'pad':function(_0x363a9b,_0x301938){var _0x22cd58=_0x199320;for(var _0xcd473b=_0x301938*0x4,_0xdb3637=_0xcd473b-_0x363a9b[_0x22cd58(0x51a)]%_0xcd473b,_0x315104=_0xdb3637<<0x18|_0xdb3637<<0x10|_0xdb3637<<0x8|_0xdb3637,_0x3e1c08=[],_0x431619=0x0;_0x431619<_0xdb3637;_0x431619+=0x4)_0x3e1c08[_0x22cd58(0x435)](_0x315104);var _0x2759d2=_0x55ee8f[_0x22cd58(0x510)](_0x3e1c08,_0xdb3637);_0x363a9b[_0x22cd58(0x22e)](_0x2759d2);},'unpad':function(_0x52fd20){var _0x3ad2bb=_0x199320,_0x4e2d68=_0x52fd20[_0x3ad2bb(0x300)][_0x52fd20[_0x3ad2bb(0x51a)]-0x1>>>0x2]&0xff;_0x52fd20['sigBytes']-=_0x4e2d68;}};_0x2cb148[_0x199320(0x4bc)]=_0xe545dd['extend']({'cfg':_0xe545dd['cfg'][_0x199320(0x36e)]({'mode':_0x7117ec,'padding':_0x2c6c55}),'reset':function(){var _0x14e26d=_0x199320,_0x3d7b10;_0xe545dd[_0x14e26d(0x1d3)][_0x14e26d(0x473)](this);var _0x4b5055=this['cfg'],_0x185543=_0x4b5055['iv'],_0x203b26=_0x4b5055[_0x14e26d(0x1e1)];this['_xformMode']==this[_0x14e26d(0x27f)]?_0x3d7b10=_0x203b26[_0x14e26d(0x340)]:(_0x3d7b10=_0x203b26[_0x14e26d(0x1d5)],this[_0x14e26d(0x4ff)]=0x1),this[_0x14e26d(0x3aa)]&&this['_mode'][_0x14e26d(0x288)]==_0x3d7b10?this[_0x14e26d(0x3aa)][_0x14e26d(0x3d0)](this,_0x185543&&_0x185543[_0x14e26d(0x300)]):(this[_0x14e26d(0x3aa)]=_0x3d7b10['call'](_0x203b26,this,_0x185543&&_0x185543[_0x14e26d(0x300)]),this[_0x14e26d(0x3aa)]['__creator']=_0x3d7b10);},'_doProcessBlock':function(_0x15444f,_0x3c9922){var _0xc50733=_0x199320;this[_0xc50733(0x3aa)][_0xc50733(0x45d)](_0x15444f,_0x3c9922);},'_doFinalize':function(){var _0x39f14a=_0x199320,_0x20a324,_0x3b38ec=this[_0x39f14a(0x44e)]['padding'];return this['_xformMode']==this[_0x39f14a(0x27f)]?(_0x3b38ec['pad'](this[_0x39f14a(0x36c)],this[_0x39f14a(0x282)]),_0x20a324=this[_0x39f14a(0x40a)](!0x0)):(_0x20a324=this[_0x39f14a(0x40a)](!0x0),_0x3b38ec[_0x39f14a(0x20d)](_0x20a324)),_0x20a324;},'blockSize':0x80/0x20});var _0x36e4de=_0x2cb148['CipherParams']=_0x1067dd[_0x199320(0x36e)]({'init':function(_0x5890f7){var _0x4860d3=_0x199320;this[_0x4860d3(0x369)](_0x5890f7);},'toString':function(_0x280eec){var _0x462688=_0x199320;return(_0x280eec||this['formatter'])[_0x462688(0x1d0)](this);}}),_0x1287c5=_0xa3bc84['format']={},_0x58abda=_0x1287c5[_0x199320(0x48f)]={'stringify':function(_0x361891){var _0x34aaca=_0x199320,_0x581a74,_0x25c25e=_0x361891[_0x34aaca(0x2fa)],_0x384037=_0x361891[_0x34aaca(0x219)];return _0x384037?_0x581a74=_0x55ee8f[_0x34aaca(0x510)]([0x53616c74,0x65645f5f])[_0x34aaca(0x22e)](_0x384037)['concat'](_0x25c25e):_0x581a74=_0x25c25e,_0x581a74[_0x34aaca(0x46c)](_0x8ae4bc);},'parse':function(_0x5e7de7){var _0x9926ac=_0x199320,_0x3c2add,_0x504e46=_0x8ae4bc[_0x9926ac(0x1fc)](_0x5e7de7),_0x3b541f=_0x504e46[_0x9926ac(0x300)];return _0x3b541f[0x0]==0x53616c74&&_0x3b541f[0x1]==0x65645f5f&&(_0x3c2add=_0x55ee8f[_0x9926ac(0x510)](_0x3b541f[_0x9926ac(0x326)](0x2,0x4)),_0x3b541f[_0x9926ac(0x1d6)](0x0,0x4),_0x504e46[_0x9926ac(0x51a)]-=0x10),_0x36e4de[_0x9926ac(0x510)]({'ciphertext':_0x504e46,'salt':_0x3c2add});}},_0x2767ae=_0x2cb148['SerializableCipher']=_0x1067dd[_0x199320(0x36e)]({'cfg':_0x1067dd[_0x199320(0x36e)]({'format':_0x58abda}),'encrypt':function(_0x5d09b3,_0x28e8ac,_0x52ae96,_0x44f00d){var _0xa1b9d1=_0x199320;_0x44f00d=this[_0xa1b9d1(0x44e)][_0xa1b9d1(0x36e)](_0x44f00d);var _0x2ab39b=_0x5d09b3[_0xa1b9d1(0x340)](_0x52ae96,_0x44f00d),_0x48451d=_0x2ab39b[_0xa1b9d1(0x52e)](_0x28e8ac),_0x57d263=_0x2ab39b[_0xa1b9d1(0x44e)];return _0x36e4de[_0xa1b9d1(0x510)]({'ciphertext':_0x48451d,'key':_0x52ae96,'iv':_0x57d263['iv'],'algorithm':_0x5d09b3,'mode':_0x57d263[_0xa1b9d1(0x1e1)],'padding':_0x57d263[_0xa1b9d1(0x325)],'blockSize':_0x5d09b3['blockSize'],'formatter':_0x44f00d[_0xa1b9d1(0x38d)]});},'decrypt':function(_0x28fe50,_0x382c2c,_0x5ed581,_0x4f9c90){var _0xd74147=_0x199320;_0x4f9c90=this['cfg'][_0xd74147(0x36e)](_0x4f9c90),_0x382c2c=this['_parse'](_0x382c2c,_0x4f9c90[_0xd74147(0x38d)]);var _0x672cd1=_0x28fe50[_0xd74147(0x1d5)](_0x5ed581,_0x4f9c90)[_0xd74147(0x52e)](_0x382c2c[_0xd74147(0x2fa)]);return _0x672cd1;},'_parse':function(_0x2c266f,_0x39546c){var _0x3c8c8f=_0x199320;return typeof _0x2c266f=='string'?_0x39546c[_0x3c8c8f(0x1fc)](_0x2c266f,this):_0x2c266f;}}),_0x3b29d3=_0xa3bc84[_0x199320(0x2d0)]={},_0x6fa1a8=_0x3b29d3['OpenSSL']={'execute':function(_0x4f0e02,_0x11a77e,_0x5e9d6c,_0x32b1bd,_0x550767){var _0x2b83e8=_0x199320;if(_0x32b1bd||(_0x32b1bd=_0x55ee8f['random'](0x40/0x8)),_0x550767)var _0x4235f7=_0x53f37a[_0x2b83e8(0x510)]({'keySize':_0x11a77e+_0x5e9d6c,'hasher':_0x550767})['compute'](_0x4f0e02,_0x32b1bd);else var _0x4235f7=_0x53f37a[_0x2b83e8(0x510)]({'keySize':_0x11a77e+_0x5e9d6c})['compute'](_0x4f0e02,_0x32b1bd);var _0x1b0cce=_0x55ee8f[_0x2b83e8(0x510)](_0x4235f7[_0x2b83e8(0x300)][_0x2b83e8(0x326)](_0x11a77e),_0x5e9d6c*0x4);return _0x4235f7['sigBytes']=_0x11a77e*0x4,_0x36e4de['create']({'key':_0x4235f7,'iv':_0x1b0cce,'salt':_0x32b1bd});}},_0x42d28e=_0x2cb148['PasswordBasedCipher']=_0x2767ae[_0x199320(0x36e)]({'cfg':_0x2767ae['cfg']['extend']({'kdf':_0x6fa1a8}),'encrypt':function(_0x1df1ba,_0x395161,_0x33804c,_0x24ce4b){var _0x1414ef=_0x199320;_0x24ce4b=this[_0x1414ef(0x44e)][_0x1414ef(0x36e)](_0x24ce4b);var _0x4a2b1e=_0x24ce4b[_0x1414ef(0x2d0)][_0x1414ef(0x2cf)](_0x33804c,_0x1df1ba[_0x1414ef(0x289)],_0x1df1ba[_0x1414ef(0x292)],_0x24ce4b['salt'],_0x24ce4b[_0x1414ef(0x3b2)]);_0x24ce4b['iv']=_0x4a2b1e['iv'];var _0x745b53=_0x2767ae[_0x1414ef(0x327)][_0x1414ef(0x473)](this,_0x1df1ba,_0x395161,_0x4a2b1e['key'],_0x24ce4b);return _0x745b53[_0x1414ef(0x369)](_0x4a2b1e),_0x745b53;},'decrypt':function(_0x788258,_0x4ef522,_0x258b34,_0x4d73ca){var _0x41bd67=_0x199320;_0x4d73ca=this[_0x41bd67(0x44e)]['extend'](_0x4d73ca),_0x4ef522=this[_0x41bd67(0x29f)](_0x4ef522,_0x4d73ca['format']);var _0x1e53c4=_0x4d73ca[_0x41bd67(0x2d0)][_0x41bd67(0x2cf)](_0x258b34,_0x788258[_0x41bd67(0x289)],_0x788258['ivSize'],_0x4ef522[_0x41bd67(0x219)],_0x4d73ca[_0x41bd67(0x3b2)]);_0x4d73ca['iv']=_0x1e53c4['iv'];var _0x181bc3=_0x2767ae[_0x41bd67(0x480)][_0x41bd67(0x473)](this,_0x788258,_0x4ef522,_0x1e53c4[_0x41bd67(0x3ff)],_0x4d73ca);return _0x181bc3;}});}();}));}(_0x13b13e)),_0x13b13e[_0x2f2628(0x1ae)];}var _0x184c11=_0x4ee07f['exports'],_0x3f7696;function _0x2690a7(){var _0xcef7f5=_0x4b5896;return _0x3f7696||(_0x3f7696=0x1,function(_0x1f2b92,_0x2f23db){(function(_0x36ead1,_0x2353a2,_0x553eaa){var _0x5abe18=_0x4fbb;_0x1f2b92[_0x5abe18(0x1ae)]=_0x2353a2(_0x38fba3(),_0x99d294(),_0x19a264(),_0x5a3281(),_0x47499a());}(_0x184c11,function(_0x541585){var _0x12d6f5=_0x4fbb;return(function(){var _0x5616f7=_0x4fbb,_0x1b4a0d=_0x541585,_0x1e8f88=_0x1b4a0d[_0x5616f7(0x1bd)],_0xc50369=_0x1e8f88[_0x5616f7(0x4bc)],_0x2f2fc8=_0x1b4a0d['algo'],_0x66c221=[],_0x19cdce=[],_0x3b6b6c=[],_0xb33133=[],_0xb6b026=[],_0x44a1fd=[],_0x3aa3e2=[],_0x32844d=[],_0x4c4b0b=[],_0x28cffc=[];(function(){for(var _0x277725=[],_0x1b5f35=0x0;_0x1b5f35<0x100;_0x1b5f35++)_0x1b5f35<0x80?_0x277725[_0x1b5f35]=_0x1b5f35<<0x1:_0x277725[_0x1b5f35]=_0x1b5f35<<0x1^0x11b;for(var _0x197f26=0x0,_0x35c24a=0x0,_0x1b5f35=0x0;_0x1b5f35<0x100;_0x1b5f35++){var _0x3b45bd=_0x35c24a^_0x35c24a<<0x1^_0x35c24a<<0x2^_0x35c24a<<0x3^_0x35c24a<<0x4;_0x3b45bd=_0x3b45bd>>>0x8^_0x3b45bd&0xff^0x63,_0x66c221[_0x197f26]=_0x3b45bd,_0x19cdce[_0x3b45bd]=_0x197f26;var _0xbc2e0c=_0x277725[_0x197f26],_0x363fdd=_0x277725[_0xbc2e0c],_0x4478c7=_0x277725[_0x363fdd],_0x235a4d=_0x277725[_0x3b45bd]*0x101^_0x3b45bd*0x1010100;_0x3b6b6c[_0x197f26]=_0x235a4d<<0x18|_0x235a4d>>>0x8,_0xb33133[_0x197f26]=_0x235a4d<<0x10|_0x235a4d>>>0x10,_0xb6b026[_0x197f26]=_0x235a4d<<0x8|_0x235a4d>>>0x18,_0x44a1fd[_0x197f26]=_0x235a4d;var _0x235a4d=_0x4478c7*0x1010101^_0x363fdd*0x10001^_0xbc2e0c*0x101^_0x197f26*0x1010100;_0x3aa3e2[_0x3b45bd]=_0x235a4d<<0x18|_0x235a4d>>>0x8,_0x32844d[_0x3b45bd]=_0x235a4d<<0x10|_0x235a4d>>>0x10,_0x4c4b0b[_0x3b45bd]=_0x235a4d<<0x8|_0x235a4d>>>0x18,_0x28cffc[_0x3b45bd]=_0x235a4d,_0x197f26?(_0x197f26=_0xbc2e0c^_0x277725[_0x277725[_0x277725[_0x4478c7^_0xbc2e0c]]],_0x35c24a^=_0x277725[_0x277725[_0x35c24a]]):_0x197f26=_0x35c24a=0x1;}}());var _0x505005=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x54da76=_0x2f2fc8[_0x5616f7(0x24c)]=_0xc50369[_0x5616f7(0x36e)]({'_doReset':function(){var _0x2dfd13=_0x5616f7,_0x23e489;if(!(this[_0x2dfd13(0x472)]&&this[_0x2dfd13(0x2c5)]===this[_0x2dfd13(0x280)])){for(var _0x514464=this[_0x2dfd13(0x2c5)]=this[_0x2dfd13(0x280)],_0x25a00f=_0x514464[_0x2dfd13(0x300)],_0x5acbbf=_0x514464['sigBytes']/0x4,_0x319da1=this[_0x2dfd13(0x472)]=_0x5acbbf+0x6,_0x2d8dfa=(_0x319da1+0x1)*0x4,_0x23c483=this[_0x2dfd13(0x209)]=[],_0x2e1180=0x0;_0x2e1180<_0x2d8dfa;_0x2e1180++)_0x2e1180<_0x5acbbf?_0x23c483[_0x2e1180]=_0x25a00f[_0x2e1180]:(_0x23e489=_0x23c483[_0x2e1180-0x1],_0x2e1180%_0x5acbbf?_0x5acbbf>0x6&&_0x2e1180%_0x5acbbf==0x4&&(_0x23e489=_0x66c221[_0x23e489>>>0x18]<<0x18|_0x66c221[_0x23e489>>>0x10&0xff]<<0x10|_0x66c221[_0x23e489>>>0x8&0xff]<<0x8|_0x66c221[_0x23e489&0xff]):(_0x23e489=_0x23e489<<0x8|_0x23e489>>>0x18,_0x23e489=_0x66c221[_0x23e489>>>0x18]<<0x18|_0x66c221[_0x23e489>>>0x10&0xff]<<0x10|_0x66c221[_0x23e489>>>0x8&0xff]<<0x8|_0x66c221[_0x23e489&0xff],_0x23e489^=_0x505005[_0x2e1180/_0x5acbbf|0x0]<<0x18),_0x23c483[_0x2e1180]=_0x23c483[_0x2e1180-_0x5acbbf]^_0x23e489);for(var _0x536605=this[_0x2dfd13(0x364)]=[],_0x5e3b55=0x0;_0x5e3b55<_0x2d8dfa;_0x5e3b55++){var _0x2e1180=_0x2d8dfa-_0x5e3b55;if(_0x5e3b55%0x4)var _0x23e489=_0x23c483[_0x2e1180];else var _0x23e489=_0x23c483[_0x2e1180-0x4];_0x5e3b55<0x4||_0x2e1180<=0x4?_0x536605[_0x5e3b55]=_0x23e489:_0x536605[_0x5e3b55]=_0x3aa3e2[_0x66c221[_0x23e489>>>0x18]]^_0x32844d[_0x66c221[_0x23e489>>>0x10&0xff]]^_0x4c4b0b[_0x66c221[_0x23e489>>>0x8&0xff]]^_0x28cffc[_0x66c221[_0x23e489&0xff]];}}},'encryptBlock':function(_0x54b751,_0x3b3072){var _0x15e4d7=_0x5616f7;this[_0x15e4d7(0x504)](_0x54b751,_0x3b3072,this[_0x15e4d7(0x209)],_0x3b6b6c,_0xb33133,_0xb6b026,_0x44a1fd,_0x66c221);},'decryptBlock':function(_0xcb8a08,_0x59011f){var _0x47f5e0=_0x5616f7,_0x50dd81=_0xcb8a08[_0x59011f+0x1];_0xcb8a08[_0x59011f+0x1]=_0xcb8a08[_0x59011f+0x3],_0xcb8a08[_0x59011f+0x3]=_0x50dd81,this['_doCryptBlock'](_0xcb8a08,_0x59011f,this[_0x47f5e0(0x364)],_0x3aa3e2,_0x32844d,_0x4c4b0b,_0x28cffc,_0x19cdce);var _0x50dd81=_0xcb8a08[_0x59011f+0x1];_0xcb8a08[_0x59011f+0x1]=_0xcb8a08[_0x59011f+0x3],_0xcb8a08[_0x59011f+0x3]=_0x50dd81;},'_doCryptBlock':function(_0x495929,_0x2a6e2b,_0x4a55da,_0xb5fe1f,_0x1e969f,_0x13b1c5,_0xdd0f98,_0x110507){var _0x37389a=_0x5616f7;for(var _0xdd4b0f=this[_0x37389a(0x472)],_0x4deac0=_0x495929[_0x2a6e2b]^_0x4a55da[0x0],_0x3e7b03=_0x495929[_0x2a6e2b+0x1]^_0x4a55da[0x1],_0x3b0dbe=_0x495929[_0x2a6e2b+0x2]^_0x4a55da[0x2],_0x572005=_0x495929[_0x2a6e2b+0x3]^_0x4a55da[0x3],_0x4bcbaf=0x4,_0x43c6b5=0x1;_0x43c6b5<_0xdd4b0f;_0x43c6b5++){var _0x54def5=_0xb5fe1f[_0x4deac0>>>0x18]^_0x1e969f[_0x3e7b03>>>0x10&0xff]^_0x13b1c5[_0x3b0dbe>>>0x8&0xff]^_0xdd0f98[_0x572005&0xff]^_0x4a55da[_0x4bcbaf++],_0x284005=_0xb5fe1f[_0x3e7b03>>>0x18]^_0x1e969f[_0x3b0dbe>>>0x10&0xff]^_0x13b1c5[_0x572005>>>0x8&0xff]^_0xdd0f98[_0x4deac0&0xff]^_0x4a55da[_0x4bcbaf++],_0x21cf27=_0xb5fe1f[_0x3b0dbe>>>0x18]^_0x1e969f[_0x572005>>>0x10&0xff]^_0x13b1c5[_0x4deac0>>>0x8&0xff]^_0xdd0f98[_0x3e7b03&0xff]^_0x4a55da[_0x4bcbaf++],_0xe4ae7c=_0xb5fe1f[_0x572005>>>0x18]^_0x1e969f[_0x4deac0>>>0x10&0xff]^_0x13b1c5[_0x3e7b03>>>0x8&0xff]^_0xdd0f98[_0x3b0dbe&0xff]^_0x4a55da[_0x4bcbaf++];_0x4deac0=_0x54def5,_0x3e7b03=_0x284005,_0x3b0dbe=_0x21cf27,_0x572005=_0xe4ae7c;}var _0x54def5=(_0x110507[_0x4deac0>>>0x18]<<0x18|_0x110507[_0x3e7b03>>>0x10&0xff]<<0x10|_0x110507[_0x3b0dbe>>>0x8&0xff]<<0x8|_0x110507[_0x572005&0xff])^_0x4a55da[_0x4bcbaf++],_0x284005=(_0x110507[_0x3e7b03>>>0x18]<<0x18|_0x110507[_0x3b0dbe>>>0x10&0xff]<<0x10|_0x110507[_0x572005>>>0x8&0xff]<<0x8|_0x110507[_0x4deac0&0xff])^_0x4a55da[_0x4bcbaf++],_0x21cf27=(_0x110507[_0x3b0dbe>>>0x18]<<0x18|_0x110507[_0x572005>>>0x10&0xff]<<0x10|_0x110507[_0x4deac0>>>0x8&0xff]<<0x8|_0x110507[_0x3e7b03&0xff])^_0x4a55da[_0x4bcbaf++],_0xe4ae7c=(_0x110507[_0x572005>>>0x18]<<0x18|_0x110507[_0x4deac0>>>0x10&0xff]<<0x10|_0x110507[_0x3e7b03>>>0x8&0xff]<<0x8|_0x110507[_0x3b0dbe&0xff])^_0x4a55da[_0x4bcbaf++];_0x495929[_0x2a6e2b]=_0x54def5,_0x495929[_0x2a6e2b+0x1]=_0x284005,_0x495929[_0x2a6e2b+0x2]=_0x21cf27,_0x495929[_0x2a6e2b+0x3]=_0xe4ae7c;},'keySize':0x100/0x20});_0x1b4a0d[_0x5616f7(0x24c)]=_0xc50369[_0x5616f7(0x454)](_0x54da76);}()),_0x541585[_0x12d6f5(0x24c)];}));}(_0x4ee07f)),_0x4ee07f[_0xcef7f5(0x1ae)];}var _0x2d018d=_0x2690a7();const _0x136821=_0x26c98b(_0x2d018d);var _0x1dd8dd=_0x99d294();const _0x3b5c4f=_0x26c98b(_0x1dd8dd);var _0x261c09={'exports':{}},_0x6e9c0b=_0x261c09[_0x4b5896(0x1ae)],_0xc3456c;function _0x44d7f2(){var _0xc8abfe=_0x4b5896;return _0xc3456c||(_0xc3456c=0x1,function(_0x123cf6,_0x55f8c4){(function(_0xa5f829,_0x8b042a){var _0x56e754=_0x4fbb;_0x123cf6[_0x56e754(0x1ae)]=_0x8b042a(_0x38fba3());}(_0x6e9c0b,function(_0x27f2e7){return _0x27f2e7['enc']['Utf8'];}));}(_0x261c09)),_0x261c09[_0xc8abfe(0x1ae)];}var _0x548208=_0x44d7f2();const _0x88e797=_0x26c98b(_0x548208);var _0x367f58={'exports':{}},_0x53c9b9=_0x367f58['exports'],_0x3939b1;function _0x1ac188(){var _0x3238ab=_0x4b5896;return _0x3939b1||(_0x3939b1=0x1,function(_0x1d95ac,_0x10f92c){(function(_0x218316,_0x2a7416){var _0xeb57ba=_0x4fbb;_0x1d95ac[_0xeb57ba(0x1ae)]=_0x2a7416(_0x38fba3());}(_0x53c9b9,function(_0x2d6437){var _0xf19339=_0x4fbb;return(function(){var _0x39a2ed=_0x4fbb;if(typeof ArrayBuffer==_0x39a2ed(0x3c0)){var _0x32df4d=_0x2d6437,_0xffe446=_0x32df4d[_0x39a2ed(0x1bd)],_0x4c396a=_0xffe446['WordArray'],_0x2baa14=_0x4c396a[_0x39a2ed(0x3d0)],_0x1be8a6=_0x4c396a['init']=function(_0x3cdfea){var _0xf348aa=_0x39a2ed;if(_0x3cdfea instanceof ArrayBuffer&&(_0x3cdfea=new Uint8Array(_0x3cdfea)),(_0x3cdfea instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3cdfea instanceof Uint8ClampedArray||_0x3cdfea instanceof Int16Array||_0x3cdfea instanceof Uint16Array||_0x3cdfea instanceof Int32Array||_0x3cdfea instanceof Uint32Array||_0x3cdfea instanceof Float32Array||_0x3cdfea instanceof Float64Array)&&(_0x3cdfea=new Uint8Array(_0x3cdfea[_0xf348aa(0x363)],_0x3cdfea[_0xf348aa(0x4a5)],_0x3cdfea['byteLength'])),_0x3cdfea instanceof Uint8Array){for(var _0x94a2ae=_0x3cdfea[_0xf348aa(0x452)],_0x5f9809=[],_0x4071b9=0x0;_0x4071b9<_0x94a2ae;_0x4071b9++)_0x5f9809[_0x4071b9>>>0x2]|=_0x3cdfea[_0x4071b9]<<0x18-_0x4071b9%0x4*0x8;_0x2baa14[_0xf348aa(0x473)](this,_0x5f9809,_0x94a2ae);}else _0x2baa14[_0xf348aa(0x273)](this,arguments);};_0x1be8a6['prototype']=_0x4c396a;}}()),_0x2d6437[_0xf19339(0x1bd)][_0xf19339(0x40d)];}));}(_0x367f58)),_0x367f58[_0x3238ab(0x1ae)];}var _0x1c032c=_0x1ac188();const _0x323395=_0x26c98b(_0x1c032c);var _0x207e41={'exports':{}},_0x128aaf=_0x207e41[_0x4b5896(0x1ae)],_0x4e01bd;function _0xe0e526(){var _0x5970c4=_0x4b5896;return _0x4e01bd||(_0x4e01bd=0x1,function(_0xcf5575,_0x2e2c59){(function(_0x1a55c7,_0x2b802e,_0x2ca0d2){var _0x254d29=_0x4fbb;_0xcf5575[_0x254d29(0x1ae)]=_0x2b802e(_0x38fba3(),_0x47499a());}(_0x128aaf,function(_0x535b9b){var _0x2595d1=_0x4fbb;return _0x535b9b[_0x2595d1(0x3e7)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x535b9b[_0x2595d1(0x3e7)][_0x2595d1(0x1bf)];}));}(_0x207e41)),_0x207e41[_0x5970c4(0x1ae)];}var _0x4dc336=_0xe0e526();const _0x19162f=_0x26c98b(_0x4dc336);function _0x3d67ac(_0x48dfde,_0xc90be1){var _0x107898=_0x4b5896;const _0x151ff7=_0xc90be1-_0x48dfde[_0x107898(0x31b)]%_0xc90be1,_0x48fff3=String[_0x107898(0x481)](_0x151ff7)[_0x107898(0x214)](_0x151ff7);return _0x48dfde+_0x48fff3;}function _0x59f71c(_0x5797e2,_0x44aabc){var _0x59afa0=_0x4b5896;const _0x4589c5=_0x323395[_0x59afa0(0x519)](0x10),_0x1cfe74=_0x3d67ac(_0x5797e2,0x10),_0x40a44f=_0x136821[_0x59afa0(0x327)](_0x88e797[_0x59afa0(0x1fc)](_0x1cfe74),_0x3b5c4f[_0x59afa0(0x1fc)](_0x44aabc),{'iv':_0x4589c5,'padding':_0x19162f});return _0x4589c5[_0x59afa0(0x22e)](_0x40a44f['ciphertext'])['toString'](_0x3b5c4f);}function _0x57c93d(){var _0x56cf39=_0x4b5896;const _0x5ce508=_0x3ca4ea[_0x56cf39(0x4c6)]()[_0x56cf39(0x296)];if(_0x5ce508){const _0x4071ae={'time':Math[_0x56cf39(0x316)](Date['now']()/0x3e8),'domain':location['hostname']};return _0x59f71c(JSON[_0x56cf39(0x1d0)](_0x4071ae),_0x5ce508);}}var _0x23e856=Object[_0x4b5896(0x36f)],_0x262faa=(_0x130261,_0x3beaf1,_0x289590,_0x2898ee)=>{for(var _0x2fa5fa=_0x2898ee>0x1?void 0x0:_0x2898ee?_0x23e856(_0x3beaf1,_0x289590):_0x3beaf1,_0x1404c8=_0x130261['length']-0x1,_0x59629b;_0x1404c8>=0x0;_0x1404c8--)(_0x59629b=_0x130261[_0x1404c8])&&(_0x2fa5fa=_0x59629b(_0x2fa5fa)||_0x2fa5fa);return _0x2fa5fa;},_0x40af52=(_0x553afa,_0x38a511)=>(_0x4b0b71,_0x533d15)=>_0x38a511(_0x4b0b71,_0x533d15,_0x553afa);let _0xc97bac=class{constructor(_0x33626f){var _0x426afe=_0x4b5896;this[_0x426afe(0x2e8)]=_0x33626f,this[_0x426afe(0x488)]();}[_0x4b5896(0x488)](){var _0x8b3ec9=_0x4b5896;this[_0x8b3ec9(0x2e8)][_0x8b3ec9(0x335)]({'interceptor':(_0x118a95,_0x80e0d)=>{var _0x184632=_0x8b3ec9;const _0x3f46dc=_0x118a95[_0x184632(0x401)],_0x1ad48e=_0x57c93d();return _0x1ad48e&&_0x3f46dc['set'](_0x184632(0x333),_0x1ad48e),_0x80e0d(_0x118a95);}});}};_0xc97bac=_0x262faa([_0x40af52(0x0,_0x3a8efd[_0x4b5896(0x4b2)](_0x5a784f[_0x4b5896(0x227)]))],_0xc97bac);var _0x5ed80e=Object[_0x4b5896(0x36f)],_0x1dc71b=(_0x1baf7e,_0x21d1b6,_0x2ebc67,_0x5de905)=>{var _0x343c1e=_0x4b5896;for(var _0x273065=_0x5de905>0x1?void 0x0:_0x5de905?_0x5ed80e(_0x21d1b6,_0x2ebc67):_0x21d1b6,_0x9a89c2=_0x1baf7e[_0x343c1e(0x31b)]-0x1,_0x1da541;_0x9a89c2>=0x0;_0x9a89c2--)(_0x1da541=_0x1baf7e[_0x9a89c2])&&(_0x273065=_0x1da541(_0x273065)||_0x273065);return _0x273065;},_0x5c4351=(_0xc2e88a,_0x587e4b)=>(_0xad56d7,_0x5e0987)=>_0x587e4b(_0xad56d7,_0x5e0987,_0xc2e88a);_0x1fe4e5[_0x4b5896(0x47d)]=class extends _0x3a8efd[_0x4b5896(0x4ad)]{constructor(_0x17146a,_0x5c9d66,_0xb64f6a){var _0x47a2e6=_0x4b5896;super(),_0x33a719(this,'_unitInfo$',new _0x49840d[(_0x47a2e6(0x293))](null)),_0x33a719(this,_0x47a2e6(0x1b4),this[_0x47a2e6(0x256)][_0x47a2e6(0x350)]()),(this[_0x47a2e6(0x2e7)]=_0x17146a,this[_0x47a2e6(0x34d)]=_0x5c9d66,this['_localCacheService']=_0xb64f6a);}async[_0x4b5896(0x3fc)](_0x219865,_0x2e7986,_0x2b794c){var _0x15c656=_0x4b5896;this[_0x15c656(0x256)][_0x15c656(0x4eb)]({'unitId':_0x219865,'type':_0x2e7986});let _0xae6917=null;switch(_0x2e7986){case _0x4dc4c2[_0x15c656(0x4b9)]:{_0xae6917=await this[_0x15c656(0x34d)][_0x15c656(0x268)](_0x219865,_0x2b794c);break;}case _0x4dc4c2['UNIVER_DOC']:{_0xae6917=await this[_0x15c656(0x34d)][_0x15c656(0x2db)](_0x219865,_0x2b794c);break;}default:{this[_0x15c656(0x2e7)][_0x15c656(0x542)](_0x15c656(0x52d),_0x15c656(0x338));break;}}return _0xae6917;}async['loadUnit'](_0x3759b7,_0x43b38f,_0x1cf91e){var _0xe0286a=_0x4b5896,_0x47ea66;this[_0xe0286a(0x256)][_0xe0286a(0x4eb)]({'unitId':_0x3759b7,'type':_0x43b38f,'subUnitId':_0x1cf91e});let _0x3d35f7=0x0;const _0x56233b=await((_0x47ea66=this[_0xe0286a(0x25d)])==null?void 0x0:_0x47ea66[_0xe0286a(0x342)](_0x3759b7));return _0x56233b&&(_0x56233b[_0xe0286a(0x359)]||_0x56233b['mutations'][_0xe0286a(0x31b)]!==0x0)&&(_0x3d35f7=_0x56233b[_0xe0286a(0x24b)]),_0x3d35f7===0x0&&this[_0xe0286a(0x2e7)][_0xe0286a(0x1ba)](_0xe0286a(0x52d),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0xe0286a(0x3fc)](_0x3759b7,_0x43b38f,_0x3d35f7);}},_0x1fe4e5[_0x4b5896(0x47d)]=_0x1dc71b([_0x5c4351(0x0,_0x3a8efd[_0x4b5896(0x4b5)]),_0x5c4351(0x1,_0x3a8efd['Inject'](_0x5e2062[_0x4b5896(0x38a)])),_0x5c4351(0x2,_0x3a8efd[_0x4b5896(0x1ec)](_0x5d850f))],_0x1fe4e5['DataLoaderService']);var _0x27bcb4=Object[_0x4b5896(0x36f)],_0x58ca5f=(_0x8c3f77,_0xae1936,_0x1325e7,_0xdacd2d)=>{var _0xa3ddc5=_0x4b5896;for(var _0x58a944=_0xdacd2d>0x1?void 0x0:_0xdacd2d?_0x27bcb4(_0xae1936,_0x1325e7):_0xae1936,_0x1f85fe=_0x8c3f77[_0xa3ddc5(0x31b)]-0x1,_0x4744fe;_0x1f85fe>=0x0;_0x1f85fe--)(_0x4744fe=_0x8c3f77[_0x1f85fe])&&(_0x58a944=_0x4744fe(_0x58a944)||_0x58a944);return _0x58a944;},_0x4fb247=(_0x4c409c,_0x709d96)=>(_0x57fb2a,_0x29bf7b)=>_0x709d96(_0x57fb2a,_0x29bf7b,_0x4c409c);const _0x37b870=[_0x4b5896(0x23a),'image/jpeg',_0x4b5896(0x40e),_0x4b5896(0x51f),'image/bmp'],_0x232d5=0x5*0x400*0x400,_0xcc20c5=_0x4b5896(0x4f6),_0x348378='/universer-api/file/{fileID}/sign-url';_0x1fe4e5[_0x4b5896(0x1d8)]=class{constructor(_0x1bf58c,_0x2f3d2a,_0x51620f){var _0x408763=_0x4b5896;_0x33a719(this,_0x408763(0x410),0x0),_0x33a719(this,_0x408763(0x53f),new _0x49840d[(_0x408763(0x3f4))]()),_0x33a719(this,_0x408763(0x387),this[_0x408763(0x53f)]),_0x33a719(this,'_imageSourceCache',new Map()),(this[_0x408763(0x2e8)]=_0x1bf58c,this[_0x408763(0x229)]=_0x2f3d2a,this[_0x408763(0x4e8)]=_0x51620f);}['setWaitCount'](_0x3d15bb){var _0x258461=_0x4b5896;this[_0x258461(0x410)]=_0x3d15bb,this[_0x258461(0x53f)][_0x258461(0x4eb)](_0x3d15bb);}['getImageSourceCache'](_0x342b63,_0x4e947a){var _0x5b94c=_0x4b5896;if(_0x4e947a===_0x58b2c0[_0x5b94c(0x44b)][_0x5b94c(0x3c1)]){const _0xd8085=new Image();return _0xd8085[_0x5b94c(0x4f3)]=_0x342b63,_0xd8085;}return this['_imageSourceCache'][_0x5b94c(0x4b6)](_0x342b63);}[_0x4b5896(0x37c)](_0x533d16,_0x5493a6,_0x30d18b){var _0x26c78=_0x4b5896;_0x5493a6===_0x58b2c0[_0x26c78(0x44b)]['BASE64']||_0x30d18b==null||this[_0x26c78(0x31e)][_0x26c78(0x513)](_0x533d16,_0x30d18b);}async[_0x4b5896(0x1ce)](_0x26dd2a){var _0x2519b6=_0x4b5896;try{const _0x370556=this[_0x2519b6(0x352)](this[_0x2519b6(0x222)](),''+_0x26dd2a),_0x5ceebf=(await this[_0x2519b6(0x2e8)][_0x2519b6(0x4b6)](_0x370556))[_0x2519b6(0x1be)];if(_0x5ceebf[_0x2519b6(0x542)]&&_0x5ceebf[_0x2519b6(0x542)]['code']===_0x1df182['OK']){const _0x1f646c=new URL(_0x5ceebf[_0x2519b6(0x1ee)],this[_0x2519b6(0x3dd)]())[_0x2519b6(0x46c)]();return Promise[_0x2519b6(0x23c)](_0x1f646c);}return Promise[_0x2519b6(0x502)](_0x5ceebf[_0x2519b6(0x542)]);}catch(_0x65b31f){return Promise[_0x2519b6(0x502)](_0x65b31f);}}async[_0x4b5896(0x348)](_0x50535e){var _0x433878=_0x4b5896;let _0x46ddcc='';if(!_0x37b870['includes'](_0x50535e[_0x433878(0x25a)]))return this['_decreaseWaiting'](),Promise[_0x433878(0x502)](new Error(_0x58b2c0['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x50535e[_0x433878(0x1dd)]>_0x232d5)return this[_0x433878(0x344)](),Promise[_0x433878(0x502)](new Error(_0x58b2c0[_0x433878(0x468)][_0x433878(0x4d1)]));try{const _0x58830c=new FormData();_0x58830c[_0x433878(0x414)](_0x433878(0x26c),_0x50535e);const _0x352707=this['_univerInstanceService']['getFocusedUnit'](),_0x14131b=_0x352707==null?void 0x0:_0x352707[_0x433878(0x49a)]();if(!_0x14131b)throw new Error('unitId\x20is\x20not\x20found');const _0x5e8108=this[_0x433878(0x249)]()+_0x433878(0x4ed)+_0x50535e[_0x433878(0x1dd)][_0x433878(0x46c)]()+_0x433878(0x251)+_0x29f3c6[_0x433878(0x427)]+_0x433878(0x337)+encodeURIComponent(_0x14131b),_0x449265={'body':_0x58830c},_0xc7beb1=(await this[_0x433878(0x2e8)][_0x433878(0x54a)](_0x5e8108,_0x449265))[_0x433878(0x1be)];if(typeof _0xc7beb1[_0x433878(0x44d)]!=_0x433878(0x53e))return this['_decreaseWaiting'](),Promise[_0x433878(0x502)](new Error(_0x58b2c0[_0x433878(0x468)][_0x433878(0x317)]));_0x46ddcc=_0xc7beb1[_0x433878(0x44d)];}catch{return this['_decreaseWaiting'](),Promise[_0x433878(0x502)](new Error(_0x58b2c0[_0x433878(0x468)][_0x433878(0x317)]));}return new Promise((_0xa88ef8,_0x1d6b7b)=>{var _0x3cede7=_0x433878;const _0x5d6790=new FileReader();_0x5d6790[_0x3cede7(0x3e5)](_0x50535e),_0x5d6790[_0x3cede7(0x231)]=_0x53dd3b=>{var _0x150714=_0x3cede7,_0x5b970a;const _0x54fada=(_0x5b970a=_0x53dd3b[_0x150714(0x1e0)])==null?void 0x0:_0x5b970a[_0x150714(0x2af)];if(_0x54fada==null){this[_0x150714(0x344)](),_0x1d6b7b(new Error(_0x58b2c0[_0x150714(0x468)][_0x150714(0x317)]));return;}const _0x2a626c=_0x3a8efd[_0x150714(0x4fa)](0x6);_0xa88ef8({'imageId':_0x2a626c,'imageSourceType':_0x58b2c0['ImageSourceType'][_0x150714(0x291)],'source':_0x46ddcc,'base64Cache':_0x54fada,'status':_0x58b2c0['ImageUploadStatusType'][_0x150714(0x343)]}),this['_decreaseWaiting']();};});}[_0x4b5896(0x249)](){var _0x10dca2=_0x4b5896,_0xc44fcb;const _0x510158=this[_0x10dca2(0x229)]['getConfig'](_0x3fa8a8);return(_0xc44fcb=_0x510158==null?void 0x0:_0x510158[_0x10dca2(0x3a5)])!=null?_0xc44fcb:_0xcc20c5;}['_getSignURL'](){var _0x29f0e5=_0x4b5896,_0x414a8e;const _0x3c7ff9=this[_0x29f0e5(0x229)][_0x29f0e5(0x523)](_0x3fa8a8);return(_0x414a8e=_0x3c7ff9==null?void 0x0:_0x3c7ff9[_0x29f0e5(0x216)])!=null?_0x414a8e:_0x348378;}['_getDownloadEndpointURL'](){var _0x3ac7e8=_0x4b5896,_0x53711e;const _0x485eb7=this['_configService'][_0x3ac7e8(0x523)](_0x3fa8a8);return(_0x53711e=_0x485eb7==null?void 0x0:_0x485eb7['downloadEndpointUrl'])!=null?_0x53711e:location[_0x3ac7e8(0x443)];}['_replaceFileID'](_0x4bbb81,_0x395216){var _0x2bff27=_0x4b5896;return _0x4bbb81[_0x2bff27(0x2b3)](_0x2bff27(0x507),_0x395216);}[_0x4b5896(0x344)](){var _0x3fb7e8=_0x4b5896;this['_waitCount']-=0x1,this[_0x3fb7e8(0x53f)]['next'](this['_waitCount']);}},_0x1fe4e5[_0x4b5896(0x1d8)]=_0x58ca5f([_0x4fb247(0x0,_0x3a8efd[_0x4b5896(0x4b2)](_0x5a784f['HTTPService'])),_0x4fb247(0x1,_0x3a8efd[_0x4b5896(0x383)]),_0x4fb247(0x2,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x40f)]))],_0x1fe4e5['CollaborationImageIoService']);var _0x37531b=Object[_0x4b5896(0x36f)],_0x4962cc=(_0x2170a4,_0x5d015a,_0x3c38c4,_0x49dd0d)=>{var _0x4cc067=_0x4b5896;for(var _0x45d191=_0x49dd0d>0x1?void 0x0:_0x49dd0d?_0x37531b(_0x5d015a,_0x3c38c4):_0x5d015a,_0x30fe9d=_0x2170a4[_0x4cc067(0x31b)]-0x1,_0x137b08;_0x30fe9d>=0x0;_0x30fe9d--)(_0x137b08=_0x2170a4[_0x30fe9d])&&(_0x45d191=_0x137b08(_0x45d191)||_0x45d191);return _0x45d191;},_0x20e8ca=(_0x95f94e,_0x5860da)=>(_0x51223d,_0x221949)=>_0x5860da(_0x51223d,_0x221949,_0x95f94e);const _0x1cacf4='/universer-api/authz';_0x1fe4e5[_0x4b5896(0x2fc)]=class{constructor(_0x1084be,_0x5b6bca){var _0x19b5f7=_0x4b5896;this[_0x19b5f7(0x229)]=_0x1084be,this[_0x19b5f7(0x312)]=_0x5b6bca;}[_0x4b5896(0x47a)](){var _0x4386e5=_0x4b5896,_0x4c07a9;const _0x44c335=this[_0x4386e5(0x229)][_0x4386e5(0x523)](_0x3fa8a8);return(_0x4c07a9=_0x44c335==null?void 0x0:_0x44c335[_0x4386e5(0x50d)])!=null?_0x4c07a9:_0x1cacf4;}async[_0x4b5896(0x546)](_0x8c2d8){var _0x6ded78=_0x4b5896;const _0x1e3237=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x6ded78(0x349),'mentions':(await this[_0x6ded78(0x312)][_0x6ded78(0x4b6)](_0x1e3237,{'params':{'objectID':_0x8c2d8['unitId'],'unitID':_0x8c2d8[_0x6ded78(0x21d)]}}))[_0x6ded78(0x1be)][_0x6ded78(0x2b8)][_0x6ded78(0x451)](_0x3ea710=>({'objectId':_0x3ea710['id'],'name':_0x3ea710[_0x6ded78(0x33d)][_0x6ded78(0x39b)],'metadata':{'icon':_0x3ea710[_0x6ded78(0x33d)][_0x6ded78(0x1db)]},'label':_0x3ea710[_0x6ded78(0x33d)][_0x6ded78(0x39b)],'objectType':_0x3a8efd[_0x6ded78(0x356)][_0x6ded78(0x1b3)]})),'metadata':{},'type':_0x3a8efd[_0x6ded78(0x356)]['PERSON']}]};}},_0x1fe4e5[_0x4b5896(0x2fc)]=_0x4962cc([_0x20e8ca(0x0,_0x3a8efd['Inject'](_0x3a8efd[_0x4b5896(0x383)])),_0x20e8ca(0x1,_0x3a8efd[_0x4b5896(0x4b2)](_0x5a784f[_0x4b5896(0x227)]))],_0x1fe4e5[_0x4b5896(0x2fc)]);var _0x4579b9=Object['getOwnPropertyDescriptor'],_0x17c5ac=(_0x7e067,_0x440d51,_0x10c618,_0x251c97)=>{var _0x196c2b=_0x4b5896;for(var _0x13621d=_0x251c97>0x1?void 0x0:_0x251c97?_0x4579b9(_0x440d51,_0x10c618):_0x440d51,_0x4ea3a1=_0x7e067[_0x196c2b(0x31b)]-0x1,_0x4de5ee;_0x4ea3a1>=0x0;_0x4ea3a1--)(_0x4de5ee=_0x7e067[_0x4ea3a1])&&(_0x13621d=_0x4de5ee(_0x13621d)||_0x13621d);return _0x13621d;},_0x2a48f0=(_0x539742,_0x2edf17)=>(_0x12af27,_0x2de946)=>_0x2edf17(_0x12af27,_0x2de946,_0x539742);let _0x30e44a=class extends _0x3a8efd[_0x4b5896(0x4ad)]{constructor(_0x5c6911,_0x49ee62,_0x4280d7,_0x1d673b,_0x187af3){var _0x39ed77=_0x4b5896;super(),this[_0x39ed77(0x467)]=_0x5c6911,this[_0x39ed77(0x4e8)]=_0x49ee62,this['_permissionService']=_0x4280d7,this[_0x39ed77(0x423)]=_0x1d673b,this[_0x39ed77(0x3ca)]=_0x187af3,this['_initUnitPermissionChange'](),this[_0x39ed77(0x532)]();}[_0x4b5896(0x532)](){var _0x4783b3=_0x4b5896;const _0x15ab34=async _0x32a369=>{var _0x4b3160=_0x4fbb;(await this[_0x4b3160(0x423)][_0x4b3160(0x41b)](_0x32a369))['event$'][_0x4b3160(0x3b7)](_0x3844a2[_0x4b3160(0x329)](_0x54c433=>_0x54c433[_0x4b3160(0x4ab)]===_0x5e2062[_0x4b3160(0x1c0)][_0x4b3160(0x545)]),_0x3844a2[_0x4b3160(0x224)](this[_0x4b3160(0x422)]))[_0x4b3160(0x465)](_0x13a1c8=>{var _0x5e33c7=_0x4b3160;const _0x443696=_0x13a1c8,{reason:_0x13cd33}=_0x443696[_0x5e33c7(0x1d2)];this[_0x5e33c7(0x3ca)][_0x5e33c7(0x487)]({'id':_0x758ea3[_0x5e33c7(0x4fd)],'data':_0x13cd33}),this[_0x5e33c7(0x1b0)][_0x5e33c7(0x475)](new _0x14ea65[(_0x5e33c7(0x522))](_0x32a369)['id'],!0x1),this[_0x5e33c7(0x423)][_0x5e33c7(0x396)](_0x32a369);});};_0x49840d[_0x4783b3(0x40b)](this[_0x4783b3(0x4e8)][_0x4783b3(0x346)](_0x3a8efd['UniverInstanceType']['UNIVER_SHEET']),this[_0x4783b3(0x4e8)]['getTypeOfUnitAdded$'](_0x3a8efd['UniverInstanceType'][_0x4783b3(0x234)]))['pipe'](_0x3844a2[_0x4783b3(0x451)](_0x1a4144=>_0x1a4144['getUnitId']()),_0x3844a2[_0x4783b3(0x329)](_0x413e4a=>!_0x3a8efd[_0x4783b3(0x45e)](_0x413e4a)),_0x3844a2[_0x4783b3(0x224)](this[_0x4783b3(0x422)]))[_0x4783b3(0x465)](_0x46bf13=>{_0x15ab34(_0x46bf13);});}[_0x4b5896(0x2a2)](){var _0x5df302=_0x4b5896;const _0x3c07f0=async _0x3df53b=>{var _0x51fd91=_0x4fbb;const _0x1bcd07=await this[_0x51fd91(0x423)][_0x51fd91(0x41b)](_0x3df53b),_0x9b93ed=this[_0x51fd91(0x467)][_0x51fd91(0x4b6)](_0x14ea65[_0x51fd91(0x425)]);_0x1bcd07['event$'][_0x51fd91(0x3b7)](_0x3844a2['filter'](_0x171452=>_0x171452[_0x51fd91(0x4ab)]===_0x5e2062[_0x51fd91(0x1c0)]['UPDATE_PERMISSION_OBJ']),_0x3844a2[_0x51fd91(0x224)](this['dispose$']))[_0x51fd91(0x465)](_0x878268=>{var _0x272c66=_0x51fd91;const _0x45f8f3=_0x878268,{objectId:_0x389a05}=_0x45f8f3[_0x272c66(0x1d2)];_0x389a05===_0x3df53b?_0x9b93ed[_0x272c66(0x516)](_0x3df53b):_0x9b93ed[_0x272c66(0x1f7)](_0x3df53b,_0x389a05);});};_0x49840d[_0x5df302(0x40b)](this[_0x5df302(0x4e8)][_0x5df302(0x346)](_0x3a8efd[_0x5df302(0x1af)]['UNIVER_SHEET']))[_0x5df302(0x3b7)](_0x3844a2['map'](_0x3c1b3b=>_0x3c1b3b['getUnitId']()),_0x3844a2[_0x5df302(0x329)](_0x3045d4=>!_0x3a8efd[_0x5df302(0x45e)](_0x3045d4)),_0x3844a2['takeUntil'](this[_0x5df302(0x422)]))[_0x5df302(0x465)](_0x4ba515=>{_0x3c07f0(_0x4ba515);});}};_0x30e44a=_0x17c5ac([_0x2a48f0(0x0,_0x3a8efd['Inject'](_0x3a8efd[_0x4b5896(0x308)])),_0x2a48f0(0x1,_0x3a8efd[_0x4b5896(0x40f)]),_0x2a48f0(0x2,_0x3a8efd['IPermissionService']),_0x2a48f0(0x3,_0x3a8efd[_0x4b5896(0x4b2)](_0x1fe4e5['CollaborationSessionService'])),_0x2a48f0(0x4,_0x3a8efd['Inject'](_0x5b5dc8))],_0x30e44a);var _0x48aae8=Object[_0x4b5896(0x36f)],_0x545c50=(_0xc25fed,_0x54bb7a,_0x543233,_0x3255ec)=>{for(var _0x26bb1b=_0x3255ec>0x1?void 0x0:_0x3255ec?_0x48aae8(_0x54bb7a,_0x543233):_0x54bb7a,_0x13441e=_0xc25fed['length']-0x1,_0x3759d9;_0x13441e>=0x0;_0x13441e--)(_0x3759d9=_0xc25fed[_0x13441e])&&(_0x26bb1b=_0x3759d9(_0x26bb1b)||_0x26bb1b);return _0x26bb1b;},_0x5354d4=(_0x57f8a5,_0x5102e7)=>(_0x99dc41,_0x3a109e)=>_0x5102e7(_0x99dc41,_0x3a109e,_0x57f8a5);_0x1fe4e5['SnapshotServerOverHTTPService']=class{constructor(_0x3b249c,_0xef9fcc){var _0x5064f5=_0x4b5896;this[_0x5064f5(0x229)]=_0x3b249c,this[_0x5064f5(0x2e8)]=_0xef9fcc;}async[_0x4b5896(0x43a)](_0x5f002c,_0x873fd3){var _0x426090=_0x4b5896,_0x4163fd;const {unitID:_0x40526a,type:_0x342bff,revision:_0x92cb72=0x0}=_0x873fd3,_0x468e14=this[_0x426090(0x22b)]()+'/'+_0x342bff+'/unit/'+_0x40526a+_0x426090(0x2df)+_0x92cb72,_0xf3df1f=(await this['_httpService']['get'](_0x468e14))[_0x426090(0x1be)],_0x3713dd=(_0x4163fd=_0xf3df1f[_0x426090(0x232)])==null?void 0x0:_0x4163fd[_0x426090(0x50b)];if(_0x3713dd){const _0x2b6baa=_0x3713dd==null?void 0x0:_0x3713dd[_0x426090(0x332)],_0x5b7e43=_0x5e2062[_0x426090(0x270)][_0x426090(0x243)](_0x5e2062[_0x426090(0x1c7)](_0x2b6baa));_0x3713dd[_0x426090(0x332)]=_0x5b7e43,Object[_0x426090(0x509)](_0x3713dd[_0x426090(0x3b3)])[_0x426090(0x28b)](([,_0x1915b8])=>{var _0x200682=_0x426090;const _0x588278=_0x1915b8[_0x200682(0x332)],_0x50c43f=_0x5e2062[_0x200682(0x270)]['encode'](_0x5e2062[_0x200682(0x1c7)](_0x588278));_0x1915b8[_0x200682(0x332)]=_0x50c43f;});}return _0xf3df1f;}async['getSheetBlock'](_0x17c3e2,_0x24e52d){var _0x2e45c6=_0x4b5896;const {unitID:_0x147ed9,type:_0x5c4759,blockID:_0x218cea}=_0x24e52d,_0x1542f4=this[_0x2e45c6(0x225)]()+'/'+_0x5c4759+_0x2e45c6(0x2d9)+_0x147ed9+_0x2e45c6(0x4c1)+_0x218cea;return(await this[_0x2e45c6(0x2e8)][_0x2e45c6(0x4b6)](_0x1542f4))['body'];}async[_0x4b5896(0x26d)](_0x16e1c5,_0x309e7d){var _0x75433=_0x4b5896;const {unitID:_0x3642b4,type:_0x19c250,blockID:_0x70e0c3}=_0x309e7d,_0x18f8ee=this[_0x75433(0x225)]()+_0x75433(0x4c1)+_0x19c250+'/unit/'+_0x3642b4+'/block/'+_0x70e0c3;return(await this[_0x75433(0x2e8)][_0x75433(0x4b6)](_0x18f8ee))[_0x75433(0x1be)];}async['fetchMissingChangesets'](_0x14f755,_0x53675b){var _0x680c86=_0x4b5896;const {unitID:_0x42498c,type:_0x206939,from:_0x3ccf4f,to:_0x2a74f3}=_0x53675b,_0x548dd2=this['_getAPIPrefix']()+'/'+_0x206939+'/unit/'+_0x42498c+_0x680c86(0x3f2)+_0x3ccf4f+_0x680c86(0x39d)+_0x2a74f3;return(await this[_0x680c86(0x2e8)][_0x680c86(0x4b6)](_0x548dd2))[_0x680c86(0x1be)];}[_0x4b5896(0x22b)](){var _0x468854=_0x4b5896,_0x5ef5a5;return(_0x5ef5a5=this[_0x468854(0x229)][_0x468854(0x523)](_0x92045e))!=null?_0x5ef5a5:this[_0x468854(0x225)]();}[_0x4b5896(0x225)](){var _0x33c60b=_0x4b5896,_0x271903;const _0x16dee4=this['_configService'][_0x33c60b(0x523)](_0x3fa8a8);return(_0x271903=_0x16dee4==null?void 0x0:_0x16dee4[_0x33c60b(0x306)])!=null?_0x271903:_0xf122e0;}async[_0x4b5896(0x4c0)](_0x124f52,_0x105d89){var _0x236eae=_0x4b5896;const _0x367cb2=_0x236eae(0x38e)+_0x105d89[_0x236eae(0x25a)]+_0x236eae(0x2d9)+_0x105d89[_0x236eae(0x28a)]+_0x236eae(0x479);return(await this[_0x236eae(0x2e8)][_0x236eae(0x4b6)](_0x367cb2,{'params':{'resourceId':JSON['stringify'](_0x105d89[_0x236eae(0x31a)])}}))[_0x236eae(0x1be)];}[_0x4b5896(0x2a3)](){var _0x1e7bbc=_0x4b5896;throw new Error(_0x1e7bbc(0x50c));}[_0x4b5896(0x24f)](){var _0x42958f=_0x4b5896;throw new Error(_0x42958f(0x50c));}[_0x4b5896(0x269)](){var _0x8e5506=_0x4b5896;throw new Error(_0x8e5506(0x50c));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4b5896(0x405)](){var _0x52a3c3=_0x4b5896;throw new Error(_0x52a3c3(0x50c));}['getLatestCsReqIdBySid'](){var _0x299e2d=_0x4b5896;throw new Error(_0x299e2d(0x50c));}},_0x1fe4e5[_0x4b5896(0x49b)]=_0x545c50([_0x5354d4(0x0,_0x3a8efd[_0x4b5896(0x383)]),_0x5354d4(0x1,_0x3a8efd[_0x4b5896(0x4b2)](_0x5a784f[_0x4b5896(0x227)]))],_0x1fe4e5[_0x4b5896(0x49b)]);var _0x112b3a=Object[_0x4b5896(0x36f)],_0x1a6d03=(_0x3ec457,_0x4c063,_0x5b016b,_0x1b83b7)=>{for(var _0x4a7a5d=_0x1b83b7>0x1?void 0x0:_0x1b83b7?_0x112b3a(_0x4c063,_0x5b016b):_0x4c063,_0x4337ec=_0x3ec457['length']-0x1,_0xedd2fc;_0x4337ec>=0x0;_0x4337ec--)(_0xedd2fc=_0x3ec457[_0x4337ec])&&(_0x4a7a5d=_0xedd2fc(_0x4a7a5d)||_0x4a7a5d);return _0x4a7a5d;},_0x2c5b1c=(_0x56ecfb,_0x1d160e)=>(_0xe03c9d,_0x2dbef5)=>_0x1d160e(_0xe03c9d,_0x2dbef5,_0x56ecfb);_0x1fe4e5['CollaborativeUndoRedoService']=class extends _0x3a8efd[_0x4b5896(0x358)]{constructor(_0x5d0563,_0x5e517d,_0x19f668,_0xad4c63,_0x31f58f){var _0x4f6043=_0x4b5896;super(_0x5d0563,_0x5e517d,_0x19f668),this[_0x4f6043(0x2d2)]=_0xad4c63,this[_0x4f6043(0x2e7)]=_0x31f58f;}['transformUndoRedo'](_0x88d311,_0x197cb9){var _0x102e90=_0x4b5896;const _0x4eee08=this[_0x102e90(0x370)](_0x88d311);if(_0x4eee08)try{const _0x515b47=this[_0x102e90(0x1cc)](_0x4eee08,_0x197cb9);this[_0x102e90(0x44a)](_0x88d311,_0x515b47);}catch(_0x19d2db){this['_logService']['error'](_0x102e90(0x2a0),_0x19d2db),this['_clearUndo'](_0x88d311);}const _0x212189=this['_getRedoStack'](_0x88d311);if(_0x212189)try{const _0x4229d9=this['_transformStack'](_0x212189,_0x197cb9);this[_0x102e90(0x252)](_0x88d311,_0x4229d9);}catch(_0xeae509){this[_0x102e90(0x2e7)]['error'](_0xeae509),this['_clearRedo'](_0x88d311);}}[_0x4b5896(0x32f)](_0x45134f){var _0x1bc49d=_0x4b5896;const _0x348288=this[_0x1bc49d(0x370)](_0x45134f);_0x348288&&(_0x348288[_0x1bc49d(0x31b)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x57a450){var _0x2724e7=_0x4b5896;const _0x56a42f=this[_0x2724e7(0x22c)](_0x57a450);_0x56a42f&&(_0x56a42f[_0x2724e7(0x31b)]=0x0,this[_0x2724e7(0x418)]());}[_0x4b5896(0x44a)](_0x5235cc,_0x2ca289){var _0x5aa584=_0x4b5896;this[_0x5aa584(0x46f)][_0x5aa584(0x513)](_0x5235cc,_0x2ca289),this[_0x5aa584(0x418)]();}[_0x4b5896(0x252)](_0x317fab,_0x2b70d8){var _0x460e38=_0x4b5896;this[_0x460e38(0x45f)][_0x460e38(0x513)](_0x317fab,_0x2b70d8),this['_updateStatus']();}['_transformStack'](_0x27e437,_0x5e81ab){var _0x45d45c=_0x4b5896;const _0x25232d=[];let _0x19e4d6=_0x5e81ab,_0x50db78=_0x5e81ab;for(let _0xda6525=_0x27e437[_0x45d45c(0x31b)]-0x1;_0xda6525>=0x0;_0xda6525--){const {unitID:_0x60d5be,undoMutations:_0x41db49,redoMutations:_0x3041fd}=_0x27e437[_0xda6525],_0x1f73b9=this[_0x45d45c(0x2d2)][_0x45d45c(0x262)](_0x19e4d6,_0x41db49),_0x56e1c3=this['_transformService'][_0x45d45c(0x262)](_0x50db78,_0x3041fd);if(_0x5e2062[_0x45d45c(0x48d)](_0x1f73b9)||_0x5e2062[_0x45d45c(0x48d)](_0x56e1c3)){this[_0x45d45c(0x2e7)][_0x45d45c(0x542)](_0x45d45c(0x2a0),_0x45d45c(0x52b),_0x1f73b9,_0x56e1c3);break;}_0x19e4d6=_0x1f73b9[_0x45d45c(0x2c4)],_0x50db78=_0x56e1c3[_0x45d45c(0x2c4)],_0x25232d[_0x45d45c(0x435)]({'unitID':_0x60d5be,'undoMutations':_0x1f73b9[_0x45d45c(0x48c)],'redoMutations':_0x56e1c3['m2Prime']});}return _0x25232d[_0x45d45c(0x3d7)]();}},_0x1fe4e5[_0x4b5896(0x246)]=_0x1a6d03([_0x2c5b1c(0x0,_0x3a8efd[_0x4b5896(0x40f)]),_0x2c5b1c(0x1,_0x3a8efd[_0x4b5896(0x31c)]),_0x2c5b1c(0x2,_0x3a8efd[_0x4b5896(0x42d)]),_0x2c5b1c(0x3,_0x5e2062[_0x4b5896(0x529)]),_0x2c5b1c(0x4,_0x3a8efd[_0x4b5896(0x4b5)])],_0x1fe4e5[_0x4b5896(0x246)]);var _0x471188=Object[_0x4b5896(0x3e2)],_0x15d117=Object['getOwnPropertyDescriptor'],_0x3d4361=(_0xed035f,_0x1de5d3,_0x3b4411)=>_0x1de5d3 in _0xed035f?_0x471188(_0xed035f,_0x1de5d3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b4411}):_0xed035f[_0x1de5d3]=_0x3b4411,_0x429cd5=(_0x146cee,_0x599029,_0x16514c,_0x3aefec)=>{var _0x40b34d=_0x4b5896;for(var _0x3c6ce0=_0x3aefec>0x1?void 0x0:_0x3aefec?_0x15d117(_0x599029,_0x16514c):_0x599029,_0x54b29c=_0x146cee[_0x40b34d(0x31b)]-0x1,_0x155ecb;_0x54b29c>=0x0;_0x54b29c--)(_0x155ecb=_0x146cee[_0x54b29c])&&(_0x3c6ce0=_0x155ecb(_0x3c6ce0)||_0x3c6ce0);return _0x3c6ce0;},_0x25b9d8=(_0x23d3f4,_0x42e1fc)=>(_0x4404ae,_0x1a44b5)=>_0x42e1fc(_0x4404ae,_0x1a44b5,_0x23d3f4),_0x544819=(_0x5e95e5,_0x457da1,_0x4378a0)=>_0x3d4361(_0x5e95e5,_0x457da1+'',_0x4378a0);const _0x4f7660=_0x4b5896(0x295);_0x1fe4e5[_0x4b5896(0x4be)]=class extends _0x3a8efd[_0x4b5896(0x1dc)]{constructor(_0x52cb04,_0x466f20,_0x1df431,_0x3eda4e){var _0x48ab56=_0x4b5896;super(),_0x33a719(this,_0x48ab56(0x32e)),(this['_logService']=_0x466f20,this[_0x48ab56(0x467)]=_0x1df431,this[_0x48ab56(0x229)]=_0x3eda4e);const {..._0x58b411}=_0x3a8efd[_0x48ab56(0x40b)]({},_0x5cef49,_0x52cb04);if(!_0x58b411[_0x48ab56(0x53d)])throw new Error(_0x48ab56(0x2f1));this[_0x48ab56(0x32e)]=_0x58b411,this[_0x48ab56(0x229)][_0x48ab56(0x384)](_0x3fa8a8,_0x58b411);}[_0x4b5896(0x4d2)](){var _0x313fcb=_0x4b5896;this[_0x313fcb(0x476)](),this[_0x313fcb(0x463)]();}[_0x4b5896(0x476)](){var _0x1836e9=_0x4b5896,_0x325a2a,_0x292a23;this[_0x1836e9(0x467)]['has'](_0x3a8efd[_0x1836e9(0x4f2)])&&this[_0x1836e9(0x2e7)][_0x1836e9(0x542)](_0x1836e9(0x1c9),_0x1836e9(0x449));const _0x1b7277=_0x3a8efd[_0x1836e9(0x21c)]([[_0x3a8efd[_0x1836e9(0x4f2)],{'useClass':_0x1fe4e5[_0x1836e9(0x246)]}],[_0x1fe4e5[_0x1836e9(0x1ed)]],[_0x1fe4e5[_0x1836e9(0x1cf)]],[_0x1fe4e5[_0x1836e9(0x235)]],[_0x2b9f33],[_0xc97bac],[_0x41f3ae],[_0x30e44a],[_0x5b5dc8],[_0x1fe4e5[_0x1836e9(0x47d)]],[_0x2b8c0d,{'useClass':this['_config'][_0x1836e9(0x53d)]}],[_0x5e2062[_0x1836e9(0x2d3)],{'useClass':_0x1fe4e5['SnapshotServerOverHTTPService']}],[_0x3a8efd[_0x1836e9(0x381)],{'useClass':_0x1fe4e5[_0x1836e9(0x2ee)]}],[_0x58b2c0[_0x1836e9(0x30f)],{'useClass':_0x1fe4e5[_0x1836e9(0x1d8)]}],[_0x3a8efd['IMentionIOService'],{'useClass':_0x1fe4e5['MentionIoHttpService']}],[_0x1fe4e5['CollaborationController']],[_0xa98e7c]],(_0x325a2a=this[_0x1836e9(0x32e)])==null?void 0x0:_0x325a2a[_0x1836e9(0x3e9)]);if(!((_0x292a23=this[_0x1836e9(0x32e)])!=null&&_0x292a23[_0x1836e9(0x491)])){const _0x1d9baa=_0x1b7277[_0x1836e9(0x441)](([_0xfe6c2c])=>_0xfe6c2c===_0x4632e6);_0x1d9baa!==-0x1&&_0x1b7277[_0x1836e9(0x1d6)](_0x1d9baa,0x1);}_0x3a8efd[_0x1836e9(0x260)](this['_injector'],_0x1b7277);}[_0x4b5896(0x463)](){var _0x2926e0=_0x4b5896,_0x1a8cda,_0x202e52,_0x4333a4;this[_0x2926e0(0x467)]['get'](_0x5a784f['HTTPService'])[_0x2926e0(0x335)]({'priority':0x14,'interceptor':_0x5a784f['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x1a8cda=this[_0x2926e0(0x32e)])!=null&&_0x1a8cda[_0x2926e0(0x3ec)]||(_0x202e52=this[_0x2926e0(0x467)]['get'](_0x5d850f,_0x3a8efd['Quantity'][_0x2926e0(0x391)]))==null||_0x202e52['disableLocalCache'](),(_0x4333a4=this[_0x2926e0(0x32e)])!=null&&_0x4333a4['enableAuthServer']&&_0x3a8efd[_0x2926e0(0x4dd)](this['_injector'],[[_0x2b9f33]]),_0x3a8efd['touchDependencies'](this[_0x2926e0(0x467)],[[_0xc97bac],[_0x1fe4e5['CollaborationController']],[_0x30e44a]]);}},_0x544819(_0x1fe4e5[_0x4b5896(0x4be)],'pluginName',_0x4f7660),_0x1fe4e5[_0x4b5896(0x4be)]=_0x429cd5([_0x3a8efd['DependentOn'](_0x5e2062[_0x4b5896(0x2a5)],_0x5a784f[_0x4b5896(0x528)]),_0x25b9d8(0x1,_0x3a8efd[_0x4b5896(0x4b5)]),_0x25b9d8(0x2,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x308)])),_0x25b9d8(0x3,_0x3a8efd[_0x4b5896(0x383)])],_0x1fe4e5['UniverCollaborationClientPlugin']),_0x1fe4e5[_0x4b5896(0x419)]=_0x3fa8a8,_0x1fe4e5['CollaborationStatus']=_0x366a4b,_0x1fe4e5[_0x4b5896(0x2f3)]=_0x758ea3,_0x1fe4e5[_0x4b5896(0x228)]=_0x5b5dc8,_0x1fe4e5[_0x4b5896(0x492)]=_0x41f3ae,_0x1fe4e5[_0x4b5896(0x215)]=_0x461a26,_0x1fe4e5['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x222c74,_0x1fe4e5[_0x4b5896(0x518)]=_0x3df7c5,_0x1fe4e5[_0x4b5896(0x3fb)]=_0x320476,_0x1fe4e5[_0x4b5896(0x407)]=_0xf8cda4,_0x1fe4e5['ICollaborationSocketService']=_0x2b8c0d,_0x1fe4e5[_0x4b5896(0x29e)]=_0x5d850f,_0x1fe4e5[_0x4b5896(0x1b7)]=_0x42d43b,_0x1fe4e5[_0x4b5896(0x2aa)]=_0x4632e6,_0x1fe4e5['LOCAL_CACHE_INTERVAL']=0x3e8,_0x1fe4e5['LOCAL_CACHE_INTERVAL_KEY']=_0x5f5c95,_0x1fe4e5[_0x4b5896(0x27b)]=_0x68efa9,_0x1fe4e5['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x88c7ad,_0x1fe4e5[_0x4b5896(0x4d0)]=_0x31c1b0,_0x1fe4e5['UnitStatus']=_0x1445d5,_0x1fe4e5[_0x4b5896(0x277)]=_0x50a746,_0x1fe4e5[_0x4b5896(0x217)]=_0x6872c8,_0x1fe4e5[_0x4b5896(0x2ea)]=_0x7e8078,Object[_0x4b5896(0x3e2)](_0x1fe4e5,Symbol['toStringTag'],{'value':_0x4b5896(0x2da)});}));function _0x288d(){var _0x7aa28f=['toDisposable','_collaborationUIEventService','getFocusedUnit','InsertSheetMutation','OFFLINE','SNAPSHOT_INVALID_SNAPSHOT','COMPLETION_FINISHED','init','_DEC_XFORM_MODE','onTransformSelections','readyForCollab','_timeoutTimer','randomBytes','isTransformMutationsWithChangesetSuccess','reverse','_map','[SyncedState]:\x20received\x20acknowledgement.','_telemetryInfo','PENDING','CBC','_getDownloadEndpointURL','Base','CommandType','getWorkbookSelections','_entityInit$','defineProperty','getCollabEntity$','ENTITLE_COUPON_EXPIRED','readAsDataURL','MD5','pad','action','override','newCsEvent','USERS_LEAVE','enableOfflineEditing','Disposable','FETCH_MISS','Decryptor','CONFLICT','REDEMPTION_USER_NOT_ELIGIBLE','/fetchmissing?from=','setCurrentUser','Subject','UserManagerService','_userManagerService','_getCtorByUniverType','getCurrentRevOfUnit','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','msCrypto','HEARTBEAT_INTERVAL_KEY','loadUnitOfRevision','Hex','\x0aAfter:\x20','key','algo','headers','_getSendChangesetTimeout','UNIVER_PROJECT','PERMISSION_REJ','copyFileMeta','session.room-full','HEARTBEAT_TIMEOUT_KEY','onRemoteRetry','_schedule','_process','merge','[CollaborationSession]','WordArray','image/jpg','IUniverInstanceService','_waitCount','_rescheduleHeartbeat','GLOBAL_ROOMS_CNT_EXCEEDS','_lockTransition','append','_snapshotServerService','sid','_sessionStatus$','_updateStatus','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_socketReady','requireSession','SNAPSHOT_URL_KEY','onStateChange','/new_changes','onSyncEditingCollabCursor','max','LIVESHARE_FETCH_OPERATIONS','dispose$','_collaborationSessionService','getTypeOfUnitDisposed$','SheetPermissionInitController','ENTITLE_USE_COUPON_NOT_1ST_TRADE','UnitEmbedded','_memberService','objectType','_syncEditingCollabCursor','mapDocumentTypeToUniverType','UniverCore','IContextService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_pendingMutations','SUBMIT_CHANGESET_TIMEOUT','DEFAULT_FILE_NAME','auth.needGotoLoginAlert','NO_OTHER_CLIENTS_EDITING','_retryCount','push','_checkMissing','_commentUpdate$','updateCollaborator','catch','getUnitOnRev','_collaborationTimeoutTimer','_sendHeartbeatTimer','enc','LOGIN_FAILED','APPLY_NON_SEQUENTIAL_REVISION','_clearCollaborationTimeoutTimer','findIndex','25GLMuRs','origin','_handlerCallback','_clearRetryConnectingTimer','resend','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','clear','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_substituteUndoStack','ImageSourceType','INVALID_INVITE_CODE','FileId','cfg','dispose','TOO_MANY_REQUESTS','map','byteLength','_waitForHeartbeatResponse','_createHelper','_onConnectionFailed','interceptor','@univerjs/sheets','COMPRESS_MUTATION_APPLY','1819296yoBeGX','FAIL','getMember','_clearTimeoutTimer','processBlock','isInternalEditorID','_redoStacks','_transformUndoredo','incrementRevOfUnit','SyncedState','_initDependencies','UniverProCollaboration','subscribe','onlyLocal','_injector','ImageUploadStatusType','charAt','_networkConditionService','_sender','toString','getRoom','_createInitialStateImpl','_undoStacks','appendMutation','LOCAL_CACHE_INTERVAL','_nRounds','call','createIdentifier','updatePermissionPoint','_registerDependencies','UNISCRIPT_RUN','ceil','/resources','_getAPIPrefixPath','getCurrentSelections','infoRsp','DataLoaderService','params','COMPRESS_MUTATION_SEND','decrypt','fromCharCode','waitForRoom$','SetSelectionsOperation','_executeRemoteChangeset','toggleOffline','_event$','emitEvent','_initRequestHeader','_tryEnsureSocket','PAYMENT_CHANNEL_NOT_SUPPORT','from','m2Prime','isTransformMutationsWithChangesetFailure','baseRev','OpenSSL','LEAVE','enableSingleActiveInstanceLock','CommentService','LIVESHARE_REQUEST_HOST','UniverProLicense','INGEST','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onJoinRoomEvent','ClipsheetFragments','conflict','getUnitId','SnapshotServerOverHTTPService','_collabSessionService','HEARTBEAT_INTERVAL','getRandomValues','_throwTelemetryCollaborationNewChangeset','@univerjs/drawing','error$','$super','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_onRemoteRejected','byteOffset','UNRECOGNIZED','ALREADY_EXISTS','_remoteChangesetQueue','ReplaySubject','DATA_SOURCE_TOO_LARGE','eventID','SHA1','RxDisposable','awaiting','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','sequenceExecute','_resendTimer','Inject','sin','LICENSE_MAX_UNITS_EXCEEDED','ILogService','get','HTTPRequest','UNIVER_SLIDE','UNIVER_SHEET','_revisionService','putCollaborators','BlockCipher','_onConflict','UniverCollaborationClientPlugin','_collaborationPaused','getResourcesRequest','/block/','isArray','failed\x20to\x20apply\x20missed\x20changesets!','_createSocket','_singleActiveUnitService','getGlobalObject','_prevBlock','RichTextEditingMutation','YUUMI_UNABLE_LOAD_URL','clone','encryptBlock','_createInitialState','[CollaborationEntity]','operators','focused$','SessionStatus','ERROR_EXCEED_SIZE','onStarting','/universer-api/uniscript','_socketMessageSubscription','open$','unsubscribe','listCollaborators','onTransformIME','c2Prime','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','uniscriptRunEvent','synced','touchDependencies','_entities','[SyncedState]:\x20received\x20rejection.','_onRemoteRetry','_socketService','_updateState','OTHER_CLIENT_EDITING','@univerjs/telemetry','YUUMI_TABLE_NOT_FOUND_IN_UNIT','/role','208798QyNmUm','_univerInstanceService','then','ENTITLE_CAN_NOT_BUY_LOWER_OTP','next','_shouldReportTelemetry','?size=','toggleOnline','REDEMPTION_CODE_FULLY_REDEEMED','univer-pro.collaboration-client-socket-service','prototype','IUndoRedoService','src','_compressMutationService','SYNCED','/universer-api/stream/file/upload','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_sendingTimer','pending','generateRandomId','_candidateSocket','encodeURIComponent','CLOSE_ROOM','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_minBufferSize','UniverSheets','7JALWYX','reject','SUBMIT_CHANGESET','_doCryptBlock','href','_submitChangeset','{fileID}','unit-cache-','entries','MSG_FOR_ERROR','workbook','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','authzUrl','transformSelections','CollaborationSession','create','_joinRoom','_removeRoom','set','actions','find','initWorkbookPermissionChange','_hasher','DEFAULT_WS_SESSION_TICKET_URL','random','sigBytes','@univerjs/network','every','LICENSE_EXPORT_SIZE_EXCEEDED','editingUnit','image/gif','_toggleOnline','_sessions','WorkbookEditablePermission','getConfig','JOIN_ROOM_FULL','[CollaborationState]:\x20apply\x20error!','/universer-api/user/session-ticket','USER_NOT_INVITED_CODE','UniverNetworkPlugin','ITransformService','_transformRemoteChangesetByStateCache','transformStack\x20failed!','IPermissionService','[DataLoaderService]','finalize','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_commentService','_scheduleCollaborationTimeoutTimer','_initCloseConn','_disableEditing','onRemoteAck','_clearScheduledTask','PendingState','_replayCachedMutations','_applyRemoteChangeset','/allowed','_roomCreated$','Rectangle','csShouldRetryEvent','socketService','string','_change$','collaboratorID','_onRemoteChangeset','error','rxjs','CollaborationSocketService','SHOULD_CLOSE_CONN','list','HEARTBEAT_TIMEOUT','EMAIL_HAS_BEEN_BOUND','UNKNOWN_CMD','post','UNIVER_UNKNOWN','onRemoteRej','_isPermissionRej','exports','UniverInstanceType','_permissionService','_handler','_incrementRevisionNumber','PERSON','unitInfo$','Undefined','memberID','INetworkConditionService','equals','JOIN_ROOM_PERMISSION_DENIED','debug','PERMISSION_DENIED','WECHAT_HAS_BEEN_BOUND','lib','body','NoPadding','CollaborationEvent','_doCreateSocket','_members$','stopTime','Malformed\x20UTF-8\x20data','delete','SheetsSelectionsService','b64DecodeUnicode','getCollabEntity','[UniverCollaborationClientPlugin]','POST','_resendTimeout','_transformStack','_getCurrentRevision','getImage','MemberService','stringify','add','data','reset','ONLINE','createDecryptor','splice','updateOfflineData','CollaborationImageIoService','_acknowledgedAwaitingChangeset','_commandService','avatar','Plugin','size','Workbook','reqId','target','mode','_doReset','clamp','parseChangesetToProtocol','entityInit$','Univer','readInt32LE','RECV','_createHmacHelper','CHANGESET_REJ','UNKNOWN_CODE','Optional','CollaborationSessionService','url','YUUMI_URL_COL_OUT_OF_RANGE','Encryptor','put','[OfflineState]:\x20received\x20changeset.','REDEMPTION_CODE_NOT_STARTED','sendChangesetTimeout','close$','sessionStatus$','refreshPermission','Tools','Base64','confirm','UserProfileImg','parse','amd','_iKey','fromCollab','INVITE_CODE_HAS_BEEN_UES','ENTITLE_DUP_SUBSCRIPTION','getValue','uuidv4','FetchingMissState','Utf8','objectID','HEARTBEAT','parseProtocolChangeset','_keySchedule','commentUpdateEvent','_state$','APPLY_PERMISSION_DENIED','unpad','getMemberID','isTransformChangesetsSuccess','ENTITLE_INVALID_COUPON_CODE','onRemoteChangeset','shareReplay','849VbPdcP','repeat','DEFAULT_COLLAB_WEB_SOCKET_URL','signUrlServerUrl','getLocalCacheKey','RETRY_CONNECTING_MAX_COUNT','salt','UniverProCollaborationClient','_members','mergeOverrideWithDependencies','unitId','mutations','_socket','CHANGESET_SHOULD_RETRY','_doProcessBlock','_getSignURL','[FetchMissState]','takeUntil','_getAPIPrefix','AWAITING','HTTPService','CollaborationUIEventService','_configService','HttpImport','getSnapshotAPIPath','_getRedoStack','UniverTelemetry','concat','_retryConnectingTimer','collaboration-client.config','onload','snapshot','_tryReconnect','UNIVER_DOC','SheetTransformSelectionsService','UPDATE_CURSOR','firstValueFrom','concatMap','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','image/png','USER_IS_ANONYMOUS','resolve','message$','APPLY_REVISION_CONFILICT','ENTITLE_REPORT_LIMIT_EXCEED','YUUMI_ASYNCIO_CANCELLED','compute','_state','encode','[OfflineState]:\x20received\x20rejection.','[CollaborationSessionService]','CollaborativeUndoRedoService','UNAUTHENTICATED','_startTelemetryCollaborationNewChangeset','_getUploadFileURL','awaiting_with_pending','rev','AES','2059607NbzOsn','[PendingState]:\x20received\x20acknowledgement.','updateSnapshot','/-/object/-/batch_allowed','&source=','_substituteRedoStack','_onMessage','min','update','_unitInfo$','_transformRemoteChangesetByIMECache','INVITE_CODE_ALREADY_BOUND','UniverDrawing','type','SNAPSHOT_HAS_BEEN_REMOVED','_transitionLocked','_localCacheService','[PendingState]:\x20received\x20rejection.','_stopTelemetryCollaborationNewChangeset','registerDependencies','_onCombEvent','transformMutationsWithChangeset','CollaborationController','_append','[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.','sessionStatus','CHANGESET_REVISION_CONFILICT','loadSheet','saveSheetBlock','socket\x20open.','setShowComponents','file','getDeserializedSheetBlock','csRejEvent','session.room-permission-denied','textEncoder','subUnitId','_roomMembers','apply','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_socket$','_onLocalMutation','deserializeToCombResponse','/-/object/list','collaMsg','reconnect','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','ENTITLE_NEED_BILLING_ADDRESS','__esModule','session.join-failed','_ENC_XFORM_MODE','_key','20lQGEpg','blockSize','removeMember','createInstance','loginUrlKey','HMAC','_maxTotalRetryTimeout','__creator','keySize','unitID','forEach','_eventService','connection\x20error','_sheetTransformSelectionsService','_listenToNetworkCondition','fetchThroughInterceptors','UUID','ivSize','BehaviorSubject','CompressMutationService','UNIVER_COLLABORATION_CLIENT_PLUGIN','__Key__','Hasher','duration','ENTITLE_INSUFFICIENT_QUOTA','COMMENT_UPDATE','shouldCloseConn','default','CHANGESET_ACK','ILocalCacheService','_parse','[CollaborationUndoRedoService]','LIVESHARE_OPERATION','_initUnitPermissionChange','saveSnapshot','csAckEvent','UniverCollaborationPlugin','MOBILE_HAS_BEEN_BOUND','transformChangesets','[CollaborationSessionService]:\x20socket\x20error','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','ISingleActiveUnitService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','onMissedChangesetFetched','onCommentUpdate','LIVESHARE_TERMINATE','result','selections','HmacSHA1','cmd','replace','batchAllowed','JOIN_ROOM_NOT_EXISTS','event$','decryptBlock','collaborators','USERS_ENTER','ENTITLE_CHAT_LIMIT_EXCEED','_unitID','YUUMI_CONNECTOR_URL_NOT_FOUND','_unlockTransition','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_fetchMissChangesets','AwaitingWithPendingState','BufferedBlockAlgorithm','getCurrentUser','iterations','c1Prime','_keyPriorReset','OfflineState','symbol','ws://127.0.0.1:8000/universer-api/comb/connect','3449826xGxlYB','MergeInterceptorFactory','getInterceptPoints','NOT_FOUND','roomInfos','_iv','execute','kdf','createCollaborator','_transformService','ISnapshotServerService','UnitSnapshot','NOT_COLLAB','SOCKET_FAILED','send','AwaitingState','/unit/','Module','loadDoc','members$','fetchMissingChangesets','location','/rev/','hasOwnProperty','addHandlerCallback','/collaborator','session','_onRemoteACK','_status$','_transformStateCache','_logService','_httpService','\x20to\x20','serializeCombRequest','_onOffline','_clearHeartbeatTimer','close','AuthzIoHttpService','RevisionService','PY_RUNTIME_SCRIPT_ERROR','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','enableCollaboration','CollaborationUIEventId','title','USER_NOT_FOUND','REDEMPTION_CODE_HAS_BEEN_CREATED','IDLE','executeCommand','_onConnectionOpen','ciphertext','transformUndoRedo','MentionIoHttpService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','/universer-api/comb','crypto','words','revision','_queuedRemoteChangesets','onTransformRemoteChangesetByIMECache','YUUMI_RATE_OVER_LIMIT','_telemetryService','snapshotServerUrl','PSEUDO_FETCH_MISSING_RESULT','Injector','@univerjs/core','_awaitingChangeset','LocaleService','ENTITLE_COUPON_USED_UP','state$','JOIN_ROOM_FAILED','IImageIoService','_changesetSessionId','onMutationExecutedForCollab','_HTTPService','liveShareNewHost','status$','fetchMiss','floor','ERROR_IMAGE','status','abs','resourceIDs','length','ICommandService','_instanceService','_imageSourceCache','CONNECTOR_DATA_TOO_LARGE','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','members','charCodeAt','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getUnitType','padding','slice','encrypt','REDEMPTION_USER_REDEEM_TIMES_EXCEED','filter','YUUMI_AI_RUN_FAILED','_startCollaboration','LICENSE_DISTRO_REJECTED','APPLY_DUPLICATED','_config','_clearUndo','getTime','localeService','originalMeta','x-univer-host','_onUserJoin','registerHTTPInterceptor','SOCKET_FAILED_RETRY','&assign=','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','leaveEvent','99888TmVTyS','_onRecvEvent','_resendWithTimeout','subject','fetch_missing','updatePermissionObjEvent','createEncryptor','onSendChangeset','loadOfflineData','SUCCUSS','_decreaseWaiting','_hash','getTypeOfUnitAdded$','onLocalMutation','saveImage','People','REDEMPTION_CODE_INACTIVE','CURRENT_STATUS_CANNOT_OPERATE','HELLO','_snapshotService','patch','listRoles','asObservable','MOBILE_VERIFY_CODE_MISMATCH','_replaceFileID','disposeWithMe','code','?url=','MentionType','_cipher','LocalUndoRedoService','awaitingChangeset','unknown','responseType','LIVESHARE_NEW_HOST','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_nDataBytes','/object/','_sendHeartbeat','isPermissionRej','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','buffer','_invKeySchedule','@univerjs/docs','OTHER_CLIENTS_EDITING','routeKey','range','mixIn','ENSURE_SNAPSHOT_EXECUTION','@univerjs-pro/license','_data','join','extend','getOwnPropertyDescriptor','_getUndoStack','AUTHORIZE_CODE_ILLEGAL','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','userID','_transformIMECache','_xformMode','2246olxSUb','_undoRedoService','_showConflictNotification','JOIN','_scheduleCompleteTimestamp','/universer-api/oidc/authpage','addImageSourceCache','DocCollaborationEntity','NEW_CHANGESETS','delay','_init','IAuthzIoService','_transformSelections','IConfigService','setConfig','requestParams','_oKey','change$','REDEMPTION_INVALID_CODE','editing\x20status\x20changed\x20to','SnapshotService','textRanges','_reverseMap','format','/universer-api/snapshot/','_toggleOffline','getUnitStatus$','OPTIONAL','ERROR_AGAIN','Cipher','_changesetReqId','createSocket','closeSession','complete','CollaborationEntity','_createHandler','onTransformState','name','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','&to=','StreamCipher','YUUMI_ALL_TABLES_IS_INVALID','SheetCollaborationEntity','[PendingState]:\x20unhandled\x20univer\x20type:\x20','HttpExport','state','univer-pro.collaboration-client.network-condition.service','uploadFileServerUrl','_doFinalize','getSheetId','updateMember','permissionRejEvent','_mode','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_getLoginPath','commentUpdate$','socket$','UniverNetwork','telemetry\x20info\x20is\x20not\x20initialized','joinEvent','hasher','sheets','ConflictState','offline','_type','pipe','onTransformRemoteChangesetByStateCache','_clearLocalCache','localCacheService','withCredentials','_updateLocalCache','values','reduce','5352876Itmvkq','function','BASE64','_localeService','EvpKDF','INVITE_CODE_REQUIRED','APPLY_REJECT','onMissingChangesets','take','LICENSE_IMPORT_SIZE_EXCEEDED'];_0x288d=function(){return _0x7aa28f;};return _0x288d();}
|
|
3
3
|
|
|
4
4
|
// @univerjs-pro/collaboration-client/facade
|
|
5
|
-
function
|
|
5
|
+
function _0x3771(_0x269059,_0x2ae5f1){_0x269059=_0x269059-0x145;const _0x24da94=_0x24da();let _0x377148=_0x24da94[_0x269059];return _0x377148;}function _0x24da(){const _0x2313ee=['FCollaboration','UniverProCollaborationClientFacade','626104PkXaKs','object','toStringTag','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getCollabEntity','DataLoaderService','values','FUniver','Inject','rxjs','16728984EFniki','@univerjs-pro/collaboration','loadUnitOfRevision','UniverCoreFacade','loadServerUnit','MemberService','extend','waitForRoom$','UniverProCollaborationClient','getUniverSheet','CollaborationStatus','toDisposable','loadServerUnitOfRevision','readyForCollab','12IKjFoh','Injector','loadActiveSheet','_injector','getCollaborationStatus','get','FEnum','state','7897792vEPUTq','_univerInstanceService','2813279xnLeTj','_collaborationController','getCollaboration','getOwnPropertyDescriptor','_snapshotService','Module','loadSheet','defineProperty','loadActiveSheetAsync','switchMap','NOT_COLLAB','4GnwbMU','@univerjs-pro/collaboration-client','subscribeCollaborators','710799OyTEGR','652150czTqea','CollaborationController','loadUnit','SnapshotService','FBase','function','UniverCore','_handler','@univerjs/core/facade','from','status','838698sGjYXO','IUniverInstanceService'];_0x24da=function(){return _0x2313ee;};return _0x24da();}(function(_0x229478,_0x2342d6){const _0x358a27=_0x3771,_0x32070c=_0x229478();while(!![]){try{const _0x347475=-parseInt(_0x358a27(0x15f))/0x1+-parseInt(_0x358a27(0x15b))/0x2+-parseInt(_0x358a27(0x14f))/0x3+-parseInt(_0x358a27(0x14c))/0x4*(-parseInt(_0x358a27(0x150))/0x5)+-parseInt(_0x358a27(0x177))/0x6*(-parseInt(_0x358a27(0x181))/0x7)+-parseInt(_0x358a27(0x17f))/0x8+parseInt(_0x358a27(0x169))/0x9;if(_0x347475===_0x2342d6)break;else _0x32070c['push'](_0x32070c['shift']());}catch(_0x15c6d2){_0x32070c['push'](_0x32070c['shift']());}}}(_0x24da,0x7fc7e),function(_0x25eb8f,_0x1d7a45){const _0x7ecf3=_0x3771;typeof exports==_0x7ecf3(0x160)&&typeof module<'u'?_0x1d7a45(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define==_0x7ecf3(0x155)&&define['amd']?define(['exports',_0x7ecf3(0x14d),_0x7ecf3(0x158),_0x7ecf3(0x16a),'@univerjs/core',_0x7ecf3(0x168)],_0x1d7a45):(_0x25eb8f=typeof globalThis<'u'?globalThis:_0x25eb8f||self,_0x1d7a45(_0x25eb8f[_0x7ecf3(0x15e)]={},_0x25eb8f[_0x7ecf3(0x171)],_0x25eb8f[_0x7ecf3(0x16c)],_0x25eb8f['UniverProCollaboration'],_0x25eb8f[_0x7ecf3(0x156)],_0x25eb8f[_0x7ecf3(0x168)]));}(this,function(_0x45dfab,_0x5ba230,_0x50ea95,_0x4ac398,_0x59b9f5,_0x31e6c9){'use strict';const _0x1bee8b=_0x3771;class _0x4053f9 extends _0x50ea95[_0x1bee8b(0x17d)]{get[_0x1bee8b(0x173)](){const _0x39bb3d=_0x1bee8b;return _0x5ba230[_0x39bb3d(0x173)];}}_0x50ea95[_0x1bee8b(0x17d)][_0x1bee8b(0x16f)](_0x4053f9);var _0x7f9dcb=Object[_0x1bee8b(0x184)],_0x1d2d84=(_0x1ffefd,_0x599d8e,_0x222bc7,_0x42f759)=>{for(var _0x34fc95=_0x42f759>0x1?void 0x0:_0x42f759?_0x7f9dcb(_0x599d8e,_0x222bc7):_0x599d8e,_0x5a0b23=_0x1ffefd['length']-0x1,_0x3bfa0c;_0x5a0b23>=0x0;_0x5a0b23--)(_0x3bfa0c=_0x1ffefd[_0x5a0b23])&&(_0x34fc95=_0x3bfa0c(_0x34fc95)||_0x34fc95);return _0x34fc95;},_0x2f2476=(_0x4ded02,_0x5bdecc)=>(_0x347b98,_0x366228)=>_0x5bdecc(_0x347b98,_0x366228,_0x4ded02);_0x45dfab[_0x1bee8b(0x15d)]=class extends _0x50ea95[_0x1bee8b(0x154)]{constructor(_0x146ecf,_0x112186,_0x47d98b,_0x4f0202,_0x112e36){const _0x17eb3c=_0x1bee8b;super(),this['_handler']=_0x146ecf,this[_0x17eb3c(0x17a)]=_0x112186,this['_univerInstanceService']=_0x47d98b,this[_0x17eb3c(0x145)]=_0x4f0202,this[_0x17eb3c(0x182)]=_0x112e36;}async[_0x1bee8b(0x179)](){const _0x299d17=_0x1bee8b;return this[_0x299d17(0x149)]();}async['loadActiveSheetAsync'](){const _0x165cb9=_0x1bee8b;throw new Error(_0x165cb9(0x162));}async[_0x1bee8b(0x147)](_0x31418){return this['loadSheetAsync'](_0x31418);}async['loadSheetAsync'](_0x8552fc,_0x5b47ae){const _0x8114a0=_0x1bee8b;return await this[_0x8114a0(0x145)]['loadSheet'](_0x8552fc,0x0,_0x5b47ae)?(await this[_0x8114a0(0x182)][_0x8114a0(0x176)](_0x8552fc),this[_0x8114a0(0x157)][_0x8114a0(0x172)](_0x8552fc)):null;}[_0x1bee8b(0x14e)](_0x4653e0,_0x30d997){const _0x33d5a8=_0x1bee8b,_0x4bdd1a=this[_0x33d5a8(0x17a)]['get'](_0x5ba230[_0x33d5a8(0x16e)])[_0x33d5a8(0x170)](_0x4653e0)['pipe'](_0x31e6c9[_0x33d5a8(0x14a)](_0x4d1dba=>_0x4d1dba['members$']))['subscribe'](_0xe5f54d=>_0x30d997(Array[_0x33d5a8(0x159)](_0xe5f54d[_0x33d5a8(0x165)]())));return _0x59b9f5[_0x33d5a8(0x174)](_0x4bdd1a);}[_0x1bee8b(0x17b)](){const _0x1336d3=_0x1bee8b,_0x5448ec=this[_0x1336d3(0x180)]['getFocusedUnit']();if(!_0x5448ec)return _0x5ba230['CollaborationStatus'][_0x1336d3(0x14b)];const _0x4c862d=this['_collaborationController'][_0x1336d3(0x163)](_0x5448ec['getUnitId']());return _0x4c862d?_0x4c862d[_0x1336d3(0x17e)][_0x1336d3(0x15a)]:_0x5ba230[_0x1336d3(0x173)][_0x1336d3(0x14b)];}},_0x45dfab[_0x1bee8b(0x15d)]=_0x1d2d84([_0x2f2476(0x1,_0x59b9f5['Inject'](_0x59b9f5[_0x1bee8b(0x178)])),_0x2f2476(0x2,_0x59b9f5[_0x1bee8b(0x15c)]),_0x2f2476(0x3,_0x59b9f5[_0x1bee8b(0x167)](_0x4ac398[_0x1bee8b(0x153)])),_0x2f2476(0x4,_0x59b9f5['Inject'](_0x5ba230[_0x1bee8b(0x151)]))],_0x45dfab[_0x1bee8b(0x15d)]);class _0x26e1c3 extends _0x50ea95[_0x1bee8b(0x166)]{[_0x1bee8b(0x183)](){const _0x3f1a10=_0x1bee8b;return this['_injector']['createInstance'](_0x45dfab[_0x3f1a10(0x15d)],{'getUniverSheet':_0x18dd52=>this['getUniverSheet'](_0x18dd52)});}[_0x1bee8b(0x16d)](_0x38757a,_0xa1d554,_0xedb69f){const _0x17ef0b=_0x1bee8b;return this[_0x17ef0b(0x17a)][_0x17ef0b(0x17c)](_0x5ba230[_0x17ef0b(0x164)])[_0x17ef0b(0x152)](_0x38757a,_0xa1d554,_0xedb69f);}[_0x1bee8b(0x175)](_0x2dae4d,_0x496ee1,_0x499956){const _0x3878b4=_0x1bee8b;return this[_0x3878b4(0x17a)][_0x3878b4(0x17c)](_0x5ba230[_0x3878b4(0x164)])[_0x3878b4(0x16b)](_0x2dae4d,_0x496ee1,_0x499956);}}_0x50ea95['FUniver'][_0x1bee8b(0x16f)](_0x26e1c3),Object[_0x1bee8b(0x148)](_0x45dfab,Symbol[_0x1bee8b(0x161)],{'value':_0x1bee8b(0x146)});}));
|
|
6
6
|
|
|
7
7
|
// @univerjs-pro/collaboration-client-ui/index
|
|
8
|
-
function _0x34b8(_0x1a0d7f,_0x1d6ca9){_0x1a0d7f=_0x1a0d7f-0x86;const _0x356f4f=_0x356f();let _0x34b88d=_0x356f4f[_0x1a0d7f];return _0x34b88d;}function _0x356f(){const _0x40841e=['registerBeforeClose','302620SflCmv','executionId','subUnitId','collab-text-range-','unit','_cachedData','_createSocketURL','CollaborationEvent','getRenderById','setUndoRedoMutationParamsCache','idSuffix','IBeforeCloseService','univer-flex\x20univer-items-center','_showGuardMessage','@univerjs/docs-ui','origin','LOGIN_FAILED','runId','actions','getRelativeToViewportCoord','getSheetBySheetId','LICENSE_DISTRO_REJECTED','push','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','RxDisposable','BehaviorSubject','redoState','_handleJoinEvent','stringify','getCoordByCell','_handleEvent','m2Prime','UnitStatus','_transformPreviousActiveRange','runRefRangeMutations','_initCommandInterceptor','_beforeCloseService','disposeUnit','_docTransformStateCacheService','transformMutation','setTimeout','/universer-api/license/formula/limit/start','InsertRowCommandId','_setFormulaLimitStatus','sheetID','_startCalculationLimit','UniverEngineRender','APPLY_REVISION_CONFILICT','INTERNAL_ERROR','APPLY_REJECT','useCallback','_scheduleSaving','on-line-icon','_initEntityListener','OffLineIcon','toRgbString','popstate','_lastPointer','drawWith','catch','UNIVER_SHEET','getUnitId','http://www.w3.org/2000/svg','IImageIoService','_maxFormulaLimit','UniverCore','div','DocSelectionManagerService','_textBubble','getCollabCursors$','NOT_COLLAB','addHandlerCallback','CanceledError','transformIMECache','_docSkeleton','_online','Failed','INVITE_CODE_REQUIRED','_lastResponseTimestamp','YUUMI_ASYNCIO_CANCELLED','_unitStatus','runOnServer','debounce','range','UNAUTHENTICATED','collabStatus.notCollab','APPLY_PERMISSION_DENIED','round','_range','jsx','sessionStatus$','ENTITLE_CHAT_LIMIT_EXCEED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverDesign','focused$','current','INotificationService','_configService','merge','_hover','labelPosition','BuiltInUIPart','EMAIL_VERIFY_CODE_MISMATCH','evenodd','_hasFormulaInDirtyRanges','deepClone','updateOfflineData','data','search','ThemeService','PAYMENT_CHANNEL_NOT_SUPPORT','requireSession','IURLService','UNDEFINED','_httpService','url(#off-line-icon_clip0_910_343)','cursorInfo','tag','saveImage','sessionTicket','generateRandomId','green.600','_applyCommand','UniverProCollaboration','INVALID_INVITE_CODE','jsxs','_localeService','_toggleOffline','red.300','addClipboardHook','dirtyRanges','setItem','758omMOQL','mask','flatMap','lineno','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','getMemberID','Workbook','permission.content','HEADER_MENU','2868116kOssaQ','_updateLocalCursor','_collabSessionService','black','_registerDependencies','_name','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','formula.calculation.started','Disposable','stage','restore','YUUMI_NO_CUBOID_FOR_QUESTION','SUCCESS','REDEMPTION_CODE_NOT_STARTED','2984930UHIHGD','SetFormulaCalculationStartMutation','whenReady','RemoteUniscriptService','eventID','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','limitInfo','ENTITLE_INVALID_COUPON_CODE','_collaborationSessionService','OnLineIcon','addEventListener','assignAColorForMemberID','_anchor','override','handleIRemoveCol','getViewport','length','_getSheetObject','purple.300','IRenderManagerService','APPLY_DUPLICATED','UPDATE_CURSOR','_instanceService','has','distinctUntilChanged','url(#on-line-icon_clip0_910_349)','handleMoveRange','univer-mr-2\x20univer-flex\x20univer-text-xl','UniverNetwork','_saveTaskMap','IUniverInstanceService','_docClipboardService','MOBILE_VERIFY_CODE_MISMATCH','_transformService','_initUserListener','_initCommandExecutedListener','activeSheet$','M0\x200H16V16H0z','split','_initUnhandledRejectionListener','hovered','displayName','map','NOT_FOUND','_transformUndoRedoStack','DeleteRangeMoveUpCommandId','INVITE_CODE_HAS_BEEN_UES','[RemoteUniscriptService]:\x20no\x20focused\x20unit','RegularPolygon','Tools','_removeCollabCursors','Optional','WebSocketService','ACTIVE_UNIT_EVENT_CHANNEL','_entityInit$','getItem','enableFrontendLog','_notificationService','CollaborationStatus','NodePositionConvertToCursor','DocSkeletonManagerService','exhaustSavingTask','HTTPService','debug','unhandledrejection','ColorKit','includes','_assignedColors','isEditing','YUUMI_TABLE_NOT_FOUND_IN_UNIT','setConfig','REDEMPTION_USER_NOT_ELIGIBLE','onLocalMutation','@univerjs/rpc','LOCAL_CACHE_INTERVAL','_updateCollabCursors','react','startRow','CollaborationSessionService','_anchorDot','NodePositionConvertToRectRange','#FFF','475698CFatoo','InsertRangeMoveRightCommandId','UniverSheetsUi','docStateChange$','_themeService','createInstance','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_heartbeatTimer','debounceTime','_uploadLog','entityInit$','LICENSE_EXPORT_SIZE_EXCEEDED','url(#$1','Injector','CollaborationUIEventId','permission.title','CHANGESET_REVISION_CONFILICT','RefRangeService','FormulaExecutedStateType','Error','1988464qWsUbH','SetFormulaCalculationNotificationMutation','clearInterval','asObservable','_ensureSubject','_entities','_currentUsage','_getScale','add','bind','Unknown\x20user','colorChannel1','params','ENTITLE_NEED_BILLING_ADDRESS','_initWindowErrorListener','then','fillStyle','LICENSE_IMPORT_SIZE_EXCEEDED','dispose$','replaceState','getActiveSheet','filename','RichTextEditingMutation','ILocalCacheService','currentTheme$','collaboration-client-ui.config','size','Plugin','isActive','_checkAndWaitForCalculationPermission','SetWorksheetActivateCommand','code','ENTITLE_COUPON_USED_UP','_send','@univerjs/ui','onPointerMove$','ISocketService','_drawAnchor','ENTITLE_USE_COUPON_NOT_1ST_TRADE','NO_OTHER_CLIENTS_EDITING','isFormulaString','transformMutationsWithChangeset','subunit','uni.network.url-service','_pollingInterval','string','CommandType','use','CONFLICT','_shapes','children','resize','column','executeCommand','useDependency','storage','ITransformService','MemberService','ONLINE','_context','handleIRemoveRow','isArray','width','source','Module','getCellMatrix','fillRule','text','addObjects','getStateCache','mapTo','_docTransformIMECacheService','UniverEngineFormula','find','_scene','EffectRefRangId','EMAIL_HAS_BEEN_BOUND','DEFAULT_WS_SESSION_TICKET_URL','blue.400','UniverUi','ticket','_id','_updateURLWithCurrentState','MOBILE_HAS_BEEN_BOUND','registerComponent','collabStatus.offline','_clearPolling','transform','getParam','_localStorageService','top','REDEMPTION_CODE_HAS_BEEN_CREATED','toStringTag','_eventUnsubscribe','react/jsx-runtime','_session','Rect','subscribeEvent','SetDocZoomRatioOperation','_logService','m1Prime','pushState','onMouseMove','useObservable','_memberID','transformByState','_getFormulaLimitStatus','replace','off-line-icon_clip0_910_343','wsSessionTicketUrl','getColorFromTheme','doc.mutation.rich-text-editing','USER_IS_ANONYMOUS','REDEMPTION_INVALID_CODE','CURRENT_STATUS_CANNOT_OPERATE','xlink:href','ICommandService','SOCKET_FAILED_RETRY','setShapeProps','_draw','OFFLINE','clipPath','fillText','engine','_monkeyPatchLogService','_sheetSkeletonManagerService','disableLocalCache','DesktopCollaborationStatusDisplayController','ILocalStorageService','yellow.400','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','FormulaExecuteStageType','START_CALCULATION','href','getActiveRange','getUniverSheetInstance','setParam','YUUMI_SUBSCRIPTION_NOT_FOUND','AWAITING','_scheduleClearOtherTimer','JOIN_ROOM_FAILED','ILogService','_toggleOnline','univerjs-icon\x20univerjs-icon-','reason','1257195rGPplt','currentColor','ENTITLE_INSUFFICIENT_QUOTA','_color','InsertRangeMoveDownCommandId','_collabCursorController','with','BrowserCollaborationSocketService','type','stack','TRANSFORM_CHANGE_OBSERVABLE_TYPE','sheetId','disposeWithMe','_roomMembers$','IMessageService','getformulaLimitStatusUrl','SheetsSelectionsService','UniverCollaborationClientPlugin','[Unhandled\x20Rejection]:\x20','contains','session.connection-failed','getRangePointData','ENSURE_SNAPSHOT_EXECUTION','RevisionService','takeUntil','getUnhiddenWorksheets','FETCH_MISS','YUUMI_URL_COL_OUT_OF_RANGE','_renderManagerService','filter','_status$','28PKYraG','[CollaborationDataLoaderController]','[Window\x20Error]:\x20','FromArray','LOGIN_TOKEN_PROCESSING_FAILED','YUUMI_RATE_OVER_LIMIT','result','Inject','rxjs','collaboration.closeRoom','_dataLoaderService','@univerjs/engine-formula','values','_clearOtherTimers','getCurrentSelections','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','parseInt','fromEvent','saveTaskMap','ENTITLE_DUP_SUBSCRIPTION','on-line-icon_clip0_910_349','unshift','_initResize','fill','@univerjs-pro/collaboration','getMember','hide','SNAPSHOT_INVALID_SNAPSHOT','LocaleService','APPLY_NON_SEQUENTIAL_REVISION','PENDING','_docTransformSelectionsService','YUUMI_UNABLE_LOAD_URL','TOO_MANY_REQUESTS','exports','IConfigService','transformSelections','symbol','get','onPointerEnter$','TEXT_RANGE_LAYER_INDEX','createIdentifier','newValue','SetSelectionsOperation','RemoveColCommandId','@univerjs/engine-render','toDisposable','_refRangeService','translate(.97)','urlChange$','58BrhYvL','/universer-api/license/formula/limit/done','collabCursorState$','white','COLORS','TEXT','isFormulaId','RECT','DATA_SOURCE_TOO_LARGE','_saveCache','onPointerLeave$','COMPLETION_FINISHED','formula.calculation.unable','undoState','INVITE_CODE_ALREADY_BOUND','_cursorShapes','_localCacheService','_univerInstanceService','SHEET_VIEWPORT_KEY','_disabled','_checkCalculationAvailable','backgroundColor','SUBMIT_CHANGESET_TIMEOUT','/universer-api/frontend/logs','SetTextSelectionsOperation','USERS_LEAVE','CollaborationSocketService','_taskIds','UniverInstanceType','DocCollaborationEntity','getTypeOfUnitDisposed$','post','DOC_RANGE_TYPE','assign','handleInsertRangeMoveRight','_docStateChangeManagerService','getValue','CollaborationDataLoaderController','ENTITLE_COUPON_EXPIRED','getConfig','set','from','ENTITLE_REPORT_LIMIT_EXCEED','random','function','SessionStatus','INVALID_ARGUMENT','DocIMEInputManagerService','complete','_updateSubUnitFromURLParams','loadOfflineData','_imageIoService','memberID','save','lineTo','_messageService','roomMembers','getAncestorScale','_setupBeforeClosingHandler','_handleLeaveEvent','endColumn','subscribe','toString','onCommandExecuted','_unitOnClients','arc','entries','_doCreateSocket','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_colorAssignService','YUUMI_ALL_TABLES_IS_INVALID','startFormulaLimitUrl','_initDependencies','setAlpha','Warning','getOwnPropertyDescriptor','session.collaboration-timeout','getTypeOfUnitAdded$','_collabCursorState$','_render','parse','_startDocCollabCursor','svg','SYNCED','touchDependencies','unitID','_memberService','_transformHistoryAndStateStack','addObject','_selfUnitIDs','removeParam','_collaborationController','dispose','@univerjs-pro/collaboration-client','ENTITLE_CAN_NOT_BUY_LOWER_OTP','ranges','OTHER_CLIENTS_EDITING','_onRefRangeChange','socket$','UNRECOGNIZED','row','_docSkeletonManagerService','location','name','Tooltip','1em','handleInsertRow','_commandService','_onCursorUpdate','_syncEditingCollabCursorService','getSheetId','onStarting','getCurrentUnitForType','clsx','send','?taskId=','replaceDocRanges','error','_revisionService','_getAnchorBounding','getVpScrollXYInfoByPosToVp','MoveRangeCommandId','_config','387GFNnOv','endRow','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','ERROR_AGAIN','_init','event$','forwardRef','makeDirty','bottom','max','collabStatus.conflict','_startSheetCollabCursor','attrs','SheetCollabCursorShape','_handleHover','UniverDrawing','color','_uiPartsService','getCurrent','_removeClearOtherTimer','trim','unitId','roomMembers$','selection','startColumn','UniverDocsUi','@univerjs/design','\x20at\x20','UNIVER_DOC','MessageType','YUUMI_AI_RUN_FAILED','rgba(255,\x20255,\x20255,\x200.01)','ALREADY_EXISTS','WebBrowserSingleActiveUnitService','clearTimeout','_injector','_urlService','_setupSubUnitSync','_backgroundColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','switchMap','SNAPSHOT_HAS_BEEN_REMOVED','_hideTimer','UniverRpc','Success','/run/','DocStateChangeManagerService','show','_initStatusListener','isTransformMutationsWithChangesetSuccess','_getSaveTimeout','defIds','getUndoRedoMutationParamsCache','skeleton','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getColor','UniverCollaborationClientUIPlugin','forEach','_drawRectRange','defs','shift','Rectangle','beforeCommandExecuted','MUTATION','next','_colorIndex','closePath','Vector2','@univerjs/sheets-ui','createElement','_initStatusComponent','history','status$','body','React','path','unload','CollaborationController','collab-rect-range-','_cursorInfo$','pipe','REDEMPTION_CODE_FULLY_REDEEMED','USER_NOT_INVITED_CODE','collabStatus.synced','CONNECTOR_DATA_TOO_LARGE','isTransformMutationFailure','now','enableLocalCache','USER_NOT_FOUND','[LogService\x20Error]:\x20','CollaborationUIEventService','_docSyncEditingCollabCursorService','YUUMI_CONNECTOR_URL_NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','_handleHeartbeatEvent','_getMergeRange','colno','getLocalCacheKey','handleDeleteRangeMoveUp','transformRemoteChangeset','DeleteRangeMoveLeftCommandId','searchParams','collabStatus.syncing','_onCursorDelete','jiqing.500','currentSkeleton$','getFocusedUnit','_scheduleHeartbeat','none','getDocRanges','defineProperty','init','UniverProCollaborationClientUi','_hovered','_cursors','_labelPosition','CLOSE_ROOM','handleDeleteRangeMoveLeft','_refreshCollabCursors','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','DataLoaderService','_initEvent','PERMISSION_DENIED','removeEventListener','getOffsetConfig','moveTo','off-line-icon','textRanges','registerRefRange','measureText','delete','...','mutations','substring','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','cursorInfo$','Shape','registerRenderModule','UniverIcon','_drawTextRange','_releaseCalculationLimit','min','startsWith','createSocket'];_0x356f=function(){return _0x40841e;};return _0x356f();}(function(_0x232148,_0x450492){const _0x4a56b0=_0x34b8,_0x1db6fb=_0x232148();while(!![]){try{const _0x1fa649=-parseInt(_0x4a56b0(0x23a))/0x1*(parseInt(_0x4a56b0(0xaa))/0x2)+-parseInt(_0x4a56b0(0x348))/0x3+parseInt(_0x4a56b0(0x243))/0x4+-parseInt(_0x4a56b0(0x251))/0x5+-parseInt(_0x4a56b0(0x2a3))/0x6*(parseInt(_0x4a56b0(0x367))/0x7)+-parseInt(_0x4a56b0(0x2b7))/0x8+-parseInt(_0x4a56b0(0x125))/0x9*(-parseInt(_0x4a56b0(0x1b6))/0xa);if(_0x1fa649===_0x450492)break;else _0x1db6fb['push'](_0x1db6fb['shift']());}catch(_0x57bc17){_0x1db6fb['push'](_0x1db6fb['shift']());}}}(_0x356f,0x6536c),function(_0x14441c,_0x14a50d){const _0x32037a=_0x34b8;typeof exports=='object'&&typeof module<'u'?_0x14a50d(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==_0x32037a(0xd6)&&define['amd']?define([_0x32037a(0x9a),_0x32037a(0x315),_0x32037a(0x107),'@univerjs/core',_0x32037a(0x2d9),_0x32037a(0x36f),_0x32037a(0x13f),_0x32037a(0x29d),_0x32037a(0x29a),'@univerjs/sheets',_0x32037a(0xa5),'@univerjs/network',_0x32037a(0x1c4),'@univerjs/drawing',_0x32037a(0x90),'@univerjs/docs',_0x32037a(0x372),'rxjs/operators',_0x32037a(0x169)],_0x14a50d):(_0x14441c=typeof globalThis<'u'?globalThis:_0x14441c||self,_0x14a50d(_0x14441c[_0x32037a(0x195)]={},_0x14441c[_0x32037a(0x16f)],_0x14441c['UniverProCollaborationClient'],_0x14441c[_0x32037a(0x1f7)],_0x14441c[_0x32037a(0x306)],_0x14441c[_0x32037a(0x36f)],_0x14441c[_0x32037a(0x213)],_0x14441c[_0x32037a(0x16f)],_0x14441c[_0x32037a(0x150)],_0x14441c['UniverSheets'],_0x14441c[_0x32037a(0x1e4)],_0x14441c[_0x32037a(0x26d)],_0x14441c[_0x32037a(0x13e)],_0x14441c[_0x32037a(0x134)],_0x14441c[_0x32037a(0x231)],_0x14441c['UniverDocs'],_0x14441c[_0x32037a(0x2ff)],_0x14441c[_0x32037a(0x36f)]['operators'],_0x14441c[_0x32037a(0x2a5)]));}(this,function(_0x49b1c5,_0x43d0fe,_0x497c74,_0x4b176f,_0x48763f,_0x2d9524,_0x47ae90,_0x1b9293,_0x4e4364,_0x4ba8ca,_0x517da6,_0x542501,_0x5f0c77,_0x150443,_0x2cf75e,_0xb532ca,_0x1707bd,_0x11f65e,_0x17a370){'use strict';const _0x568c59=_0x34b8;var _0x2f51a2=Object['defineProperty'],_0x2b2d24=(_0x420982,_0x2d6f56,_0x1bb42e)=>_0x2d6f56 in _0x420982?_0x2f51a2(_0x420982,_0x2d6f56,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1bb42e}):_0x420982[_0x2d6f56]=_0x1bb42e,_0xe730d4=(_0x975106,_0x564a72,_0x20c8f1)=>_0x2b2d24(_0x975106,typeof _0x564a72!=_0x568c59(0x9d)?_0x564a72+'':_0x564a72,_0x20c8f1);function _0x3a20cf({ref:_0x471aec,..._0x219de2}){const _0x1961f3=_0x568c59,{icon:_0x10d2d2,id:_0x3c80bc,className:_0x4d16c2,extend:_0x42bc47,..._0xf63751}=_0x219de2,_0x58844b=(_0x1961f3(0x346)+_0x3c80bc+'\x20'+(_0x4d16c2||''))[_0x1961f3(0x139)](),_0x664cb2=_0x1b9293['useRef']('_'+_0xa6bce8());return _0x36803a(_0x10d2d2,''+_0x3c80bc,{'defIds':_0x10d2d2[_0x1961f3(0x158)],'idSuffix':_0x664cb2[_0x1961f3(0x215)]},{'ref':_0x471aec,'className':_0x58844b,..._0xf63751},_0x42bc47);}function _0x36803a(_0x1a50e9,_0x4e71de,_0x182dd5,_0x27d9fd,_0xde2fce){const _0x2642f5=_0x568c59;return _0x1b9293[_0x2642f5(0x16a)](_0x1a50e9[_0x2642f5(0x22b)],{'key':_0x4e71de,..._0x3a294c(_0x1a50e9,_0x182dd5,_0xde2fce),..._0x27d9fd},(_0x5a6783(_0x1a50e9,_0x182dd5)[_0x2642f5(0x2e9)]||[])[_0x2642f5(0x27b)]((_0x1faa6b,_0x351ba2)=>_0x36803a(_0x1faa6b,_0x4e71de+'-'+_0x1a50e9['tag']+'-'+_0x351ba2,_0x182dd5,void 0x0,_0xde2fce)));}function _0x3a294c(_0x18fd4f,_0x305a37,_0x1d8322){const _0x4c2ad5=_0x568c59,_0x1a7a67={..._0x18fd4f[_0x4c2ad5(0x131)]};_0x1d8322!=null&&_0x1d8322[_0x4c2ad5(0x2c2)]&&_0x1a7a67[_0x4c2ad5(0x8f)]===_0x4c2ad5(0x2c2)&&(_0x1a7a67[_0x4c2ad5(0x8f)]=_0x1d8322['colorChannel1']),_0x18fd4f['tag']===_0x4c2ad5(0x23b)&&_0x1a7a67['id']&&(_0x1a7a67['id']=_0x1a7a67['id']+_0x305a37['idSuffix']),Object[_0x4c2ad5(0xec)](_0x1a7a67)[_0x4c2ad5(0x15e)](([_0x12281c,_0x1b15a8])=>{const _0xc2fbd8=_0x4c2ad5;_0x12281c===_0xc2fbd8(0x23b)&&typeof _0x1b15a8=='string'&&(_0x1a7a67[_0x12281c]=_0x1b15a8[_0xc2fbd8(0x322)](/url\(#(.*)\)/,_0xc2fbd8(0x2af)+_0x305a37[_0xc2fbd8(0x1c0)]+')'));});const {defIds:_0x4356c2}=_0x305a37;return!_0x4356c2||_0x4356c2[_0x4c2ad5(0x261)]===0x0||(_0x18fd4f[_0x4c2ad5(0x22b)]===_0x4c2ad5(0x2e6)&&_0x1a7a67['xlink:href']&&(_0x1a7a67[_0x4c2ad5(0x32a)]=_0x1a7a67[_0x4c2ad5(0x32a)]+_0x305a37['idSuffix']),Object['entries'](_0x1a7a67)[_0x4c2ad5(0x15e)](([_0x11e19f,_0x5c2ecb])=>{const _0x21b651=_0x4c2ad5;typeof _0x5c2ecb==_0x21b651(0x2e4)&&(_0x1a7a67[_0x11e19f]=_0x5c2ecb[_0x21b651(0x322)](/url\(#(.*)\)/,'url(#$1'+_0x305a37[_0x21b651(0x1c0)]+')'));})),_0x1a7a67;}function _0x5a6783(_0x25f58e,_0x13501d){const _0x2318f0=_0x568c59;var _0x44ad18;const {defIds:_0x28262e}=_0x13501d;return!_0x28262e||_0x28262e[_0x2318f0(0x261)]===0x0?_0x25f58e:_0x25f58e['tag']===_0x2318f0(0x160)&&((_0x44ad18=_0x25f58e[_0x2318f0(0x2e9)])!=null&&_0x44ad18[_0x2318f0(0x261)])?{..._0x25f58e,'children':_0x25f58e[_0x2318f0(0x2e9)][_0x2318f0(0x27b)](_0x28342f=>typeof _0x28342f[_0x2318f0(0x131)]['id']==_0x2318f0(0x2e4)&&_0x28262e&&_0x28262e['includes'](_0x28342f[_0x2318f0(0x131)]['id'])?{..._0x28342f,'attrs':{..._0x28342f[_0x2318f0(0x131)],'id':_0x28342f[_0x2318f0(0x131)]['id']+_0x13501d[_0x2318f0(0x1c0)]}}:_0x28342f)}:_0x25f58e;}function _0xa6bce8(){const _0x47f5ff=_0x568c59;return Math[_0x47f5ff(0xd5)]()['toString'](0x24)[_0x47f5ff(0x1aa)](0x2,0x8);}_0x3a20cf['displayName']=_0x568c59(0x1af);const _0x2e9596={'tag':_0x568c59(0xfc),'attrs':{'xmlns':_0x568c59(0x1f4),'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x568c59(0x229)},'children':[{'tag':'path','attrs':{'stroke':_0x568c59(0x349),'d':_0x568c59(0x23e),'strokeLinecap':'round','strokeLinejoin':_0x568c59(0x20d),'strokeWidth':1.2}}]},{'tag':_0x568c59(0x160),'attrs':{},'children':[{'tag':_0x568c59(0x330),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x568c59(0x170),'attrs':{'fill':_0x568c59(0xad),'d':_0x568c59(0x276)}}]}]}],'defIds':[_0x568c59(0x323)]},_0x4fe69e=_0x1b9293[_0x568c59(0x12b)](function(_0x4a2d92,_0x20f4a3){const _0x2753fc=_0x568c59;return _0x1b9293[_0x2753fc(0x16a)](_0x3a20cf,Object[_0x2753fc(0xcb)]({},_0x4a2d92,{'id':_0x2753fc(0x1a3),'ref':_0x20f4a3,'icon':_0x2e9596}));});_0x4fe69e[_0x568c59(0x27a)]=_0x568c59(0x1ec);const _0x40e88d={'tag':_0x568c59(0xfc),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x568c59(0x191),'viewBox':'0\x200\x2017\x2016','width':_0x568c59(0x113),'height':_0x568c59(0x113)},'children':[{'tag':'g','attrs':{'clipPath':_0x568c59(0x26a)},'children':[{'tag':_0x568c59(0x170),'attrs':{'stroke':_0x568c59(0x349),'d':'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','strokeLinecap':_0x568c59(0x20d),'strokeLinejoin':_0x568c59(0x20d),'strokeWidth':1.2}}]},{'tag':_0x568c59(0x160),'attrs':{},'children':[{'tag':_0x568c59(0x330),'attrs':{'id':_0x568c59(0x8c)},'children':[{'tag':'path','attrs':{'fill':_0x568c59(0xad),'d':'M0\x200H16V16H0z','transform':_0x568c59(0xa8)}}]}]}],'defIds':[_0x568c59(0x8c)]},_0x4c1607=_0x1b9293[_0x568c59(0x12b)](function(_0x597fd8,_0x3714af){const _0x23759e=_0x568c59;return _0x1b9293[_0x23759e(0x16a)](_0x3a20cf,Object[_0x23759e(0xcb)]({},_0x597fd8,{'id':_0x23759e(0x1ea),'ref':_0x3714af,'icon':_0x40e88d}));});_0x4c1607[_0x568c59(0x27a)]=_0x568c59(0x25a);function _0x3bc71b(_0x65bc62){const _0x53b8af=_0x568c59;switch(_0x65bc62){case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0x32f)]:return _0x53b8af(0x30c);case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0x2e7)]:return _0x53b8af(0x12f);case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0x362)]:return'collabStatus.fetchMiss';case _0x497c74['CollaborationStatus'][_0x53b8af(0x1fc)]:return _0x53b8af(0x20b);case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0x341)]:case _0x497c74[_0x53b8af(0x28b)]['AWAITING_WITH_PENDING']:return _0x53b8af(0x18b);case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0xfd)]:case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0x96)]:return _0x53b8af(0x178);}}function _0x1db768(_0x48f5cc){const _0x332ccc=_0x568c59,{status$:_0x4929f1}=_0x48f5cc,_0x11f8da=_0x48763f[_0x332ccc(0x31e)](_0x4929f1,_0x497c74[_0x332ccc(0x28b)]['NOT_COLLAB']),_0x15853a=_0x48763f['useDependency'](_0x4b176f['LocaleService']),_0x2ea38f=_0x48763f[_0x332ccc(0x2ed)](_0x497c74[_0x332ccc(0x29f)]),_0x371a67=_0x11f8da!==_0x497c74[_0x332ccc(0x28b)]['OFFLINE'],_0x2fb180=_0x15853a['t'](_0x3bc71b(_0x11f8da)),_0x35750b=_0x371a67?_0x43d0fe[_0x332ccc(0x20f)](_0x4c1607,{}):_0x43d0fe[_0x332ccc(0x20f)](_0x4fe69e,{}),_0x59862c=_0x1b9293[_0x332ccc(0x1e8)](()=>{_0x371a67||_0x2ea38f['reconnect']();},[_0x371a67,_0x2ea38f]);function _0x5fb97(){const _0x89a94e=_0x332ccc;return _0x43d0fe[_0x89a94e(0x233)](_0x89a94e(0x1f8),{'className':_0x89a94e(0x1c2),'onClick':_0x59862c,'children':[_0x43d0fe[_0x89a94e(0x20f)](_0x89a94e(0x1f8),{'className':_0x47ae90[_0x89a94e(0x11b)](_0x89a94e(0x26c),{'univer-text-green-500':_0x371a67,'univer-text-red-500':!_0x371a67}),'children':_0x35750b}),_0x43d0fe['jsx'](_0x89a94e(0x1f8),{'className':_0x89a94e(0x1cd),'children':_0x2fb180})]});}return _0x371a67?_0x5fb97():_0x43d0fe['jsx'](_0x47ae90[_0x332ccc(0x112)],{'title':_0x15853a['t']('collab-client.tooltip.reconnect'),'children':_0x5fb97()});}var _0x11eec4=Object[_0x568c59(0xf5)],_0x1d0e0d=(_0x35669b,_0x243c75,_0x45806e,_0x1eb313)=>{const _0x2d5f84=_0x568c59;for(var _0x72c77a=_0x1eb313>0x1?void 0x0:_0x1eb313?_0x11eec4(_0x243c75,_0x45806e):_0x243c75,_0x137442=_0x35669b[_0x2d5f84(0x261)]-0x1,_0x2beff6;_0x137442>=0x0;_0x137442--)(_0x2beff6=_0x35669b[_0x137442])&&(_0x72c77a=_0x2beff6(_0x72c77a)||_0x72c77a);return _0x72c77a;},_0x2ae13f=(_0x1e1ced,_0x5dec5c)=>(_0x5582a2,_0x19ee3e)=>_0x5dec5c(_0x5582a2,_0x19ee3e,_0x1e1ced);_0x49b1c5[_0x568c59(0x336)]=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x254a0c,_0x12b351,_0x45c852,_0x22dbaa){const _0x191560=_0x568c59;super(),_0xe730d4(this,_0x191560(0x366),new _0x2d9524[(_0x191560(0x1cf))](_0x497c74[_0x191560(0x28b)][_0x191560(0x1fc)])),(this['_univerInstanceService']=_0x254a0c,this['_injector']=_0x12b351,this[_0x191560(0x105)]=_0x45c852,this[_0x191560(0x136)]=_0x22dbaa,this[_0x191560(0x16b)](),this[_0x191560(0x155)]());}['_initStatusListener'](){const _0x593d99=_0x568c59;this['disposeWithMe'](this[_0x593d99(0xbb)][_0x593d99(0x214)][_0x593d99(0x175)](_0x2d9524['switchMap'](()=>{const _0x2bd9ac=_0x593d99,_0x5e1756=this['_univerInstanceService'][_0x2bd9ac(0x18f)]();return _0x5e1756?this['_collaborationController']['getCollabEntity$'](_0x5e1756['getUnitId']()):_0x2d9524['of'](null);}),_0x2d9524[_0x593d99(0x14d)](_0xab08a=>_0xab08a?_0xab08a[_0x593d99(0x16d)]:_0x2d9524['of'](_0x497c74[_0x593d99(0x28b)][_0x593d99(0x1fc)])))[_0x593d99(0xe7)](_0xaf82=>{const _0x4d953b=_0x593d99;this[_0x4d953b(0x366)][_0x4d953b(0x165)](_0xaf82);}));}[_0x568c59(0x16b)](){const _0x4e4301=_0x568c59;this[_0x4e4301(0x354)](this[_0x4e4301(0x136)][_0x4e4301(0x30b)](_0x48763f[_0x4e4301(0x21b)][_0x4e4301(0x242)],()=>_0x48763f['connectInjector'](_0x274aa2({'status$':this[_0x4e4301(0x366)][_0x4e4301(0x2ba)]()}),this[_0x4e4301(0x148)])));}},_0x49b1c5[_0x568c59(0x336)]=_0x1d0e0d([_0x2ae13f(0x0,_0x4b176f['IUniverInstanceService']),_0x2ae13f(0x1,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x2b0)])),_0x2ae13f(0x2,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x172)])),_0x2ae13f(0x3,_0x48763f['IUIPartsService'])],_0x49b1c5[_0x568c59(0x336)]);function _0x274aa2(_0x2b84c2){const {status$:_0x13a947}=_0x2b84c2;return function(){return _0x43d0fe['jsx'](_0x1db768,{'status$':_0x13a947});};}const _0x69f589=_0x4b176f[_0x568c59(0xa1)](_0x568c59(0x2e2));var _0x3b8b70=Object[_0x568c59(0xf5)],_0xc2a3f8=(_0x2cb8e5,_0x16dc43,_0x3472ea,_0x514b04)=>{const _0x33255c=_0x568c59;for(var _0x4ecb39=_0x514b04>0x1?void 0x0:_0x514b04?_0x3b8b70(_0x16dc43,_0x3472ea):_0x16dc43,_0x1ecf42=_0x2cb8e5[_0x33255c(0x261)]-0x1,_0x268be3;_0x1ecf42>=0x0;_0x1ecf42--)(_0x268be3=_0x2cb8e5[_0x1ecf42])&&(_0x4ecb39=_0x268be3(_0x4ecb39)||_0x4ecb39);return _0x4ecb39;},_0x5755bf=(_0x200246,_0x5bb552)=>(_0x5baaab,_0xdf5fd3)=>_0x5bb552(_0x5baaab,_0xdf5fd3,_0x200246);_0x49b1c5[_0x568c59(0xcf)]=class extends _0x4b176f[_0x568c59(0x1ce)]{constructor(_0x3cd4cb,_0x655d0b,_0x1653a2,_0x5c63cd,_0xd3ab34){const _0x39cd02=_0x568c59;super(),this[_0x39cd02(0x149)]=_0x3cd4cb,this[_0x39cd02(0x31a)]=_0x655d0b,this[_0x39cd02(0x115)]=_0x1653a2,this[_0x39cd02(0x371)]=_0x5c63cd,_0xd3ab34?_0xd3ab34==null||_0xd3ab34[_0x39cd02(0x253)]()[_0x39cd02(0x2c6)](()=>this['_init']()):(this[_0x39cd02(0x31a)][_0x39cd02(0x290)](_0x39cd02(0x368),_0x39cd02(0x2a9)),this['_init']());}async[_0x568c59(0x129)](){const _0xee14e5=_0x568c59,_0x4b5e56=this[_0xee14e5(0x149)][_0xee14e5(0x30f)](_0xee14e5(0x1ba)),_0xa28c0f=this[_0xee14e5(0x149)][_0xee14e5(0x30f)]('type'),_0x5b0bcf=this[_0xee14e5(0x149)][_0xee14e5(0x30f)](_0xee14e5(0x2e1));if(!_0x4b5e56||!_0xa28c0f){this[_0xee14e5(0x31a)][_0xee14e5(0x290)](_0xee14e5(0x368),_0xee14e5(0x87));return;}const _0x1a54d2=await this[_0xee14e5(0x371)]['loadUnit'](_0x4b5e56,Number(_0xa28c0f),_0x5b0bcf);_0x1a54d2&&_0x1a54d2 instanceof _0x4b176f[_0xee14e5(0x240)]&&this[_0xee14e5(0x14a)](_0x1a54d2);}async[_0x568c59(0x14a)](_0x1756b8){const _0x543145=_0x568c59;await this[_0x543145(0xdb)](_0x1756b8),_0x1756b8[_0x543145(0x275)][_0x543145(0x175)](_0x2d9524[_0x543145(0x360)](this['dispose$']))['subscribe'](_0x2b81cf=>{const _0x1b4af9=_0x543145;_0x2b81cf&&this[_0x1b4af9(0x309)](_0x2b81cf);}),this[_0x543145(0x149)][_0x543145(0xa9)][_0x543145(0x175)](_0x2d9524[_0x543145(0x360)](this[_0x543145(0x2c9)]))[_0x543145(0xe7)](()=>this[_0x543145(0xdb)](_0x1756b8));}[_0x568c59(0x309)](_0x4ec03b,_0x4b808d=!0x1){const _0x13e6ca=_0x568c59,_0xb4e1bd=this[_0x13e6ca(0x149)][_0x13e6ca(0x30f)](_0x13e6ca(0x2e1));_0x4ec03b[_0x13e6ca(0x118)]()!==_0xb4e1bd&&this[_0x13e6ca(0x149)][_0x13e6ca(0x33f)](_0x13e6ca(0x2e1),_0x4ec03b[_0x13e6ca(0x118)](),_0x4b808d);}async[_0x568c59(0xdb)](_0x440290){const _0x3c06f0=_0x568c59;var _0x4b2411;const _0x739feb=this[_0x3c06f0(0x149)]['getParam'](_0x3c06f0(0x2e1));if(!_0x739feb||!_0x440290[_0x3c06f0(0x1ca)](_0x739feb)){const _0x257e53=_0x440290[_0x3c06f0(0x361)]()[0x0],_0x198690=_0x440290[_0x3c06f0(0x1ca)](_0x257e53);if(!_0x198690)return;this[_0x3c06f0(0x309)](_0x198690,!0x0),await this['_commandService']['executeCommand'](_0x4ba8ca['SetWorksheetActivateCommand']['id'],{'unitId':_0x440290['getUnitId'](),'subUnitId':_0x257e53});return;}((_0x4b2411=_0x440290['getActiveSheet']())==null?void 0x0:_0x4b2411[_0x3c06f0(0x118)]())!==_0x739feb&&await this[_0x3c06f0(0x115)][_0x3c06f0(0x2ec)](_0x4ba8ca[_0x3c06f0(0x2d5)]['id'],{'unitId':_0x440290['getUnitId'](),'subUnitId':_0x739feb});}},_0x49b1c5[_0x568c59(0xcf)]=_0xc2a3f8([_0x5755bf(0x0,_0x69f589),_0x5755bf(0x1,_0x4b176f[_0x568c59(0x344)]),_0x5755bf(0x2,_0x4b176f['ICommandService']),_0x5755bf(0x3,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x19d)])),_0x5755bf(0x4,_0x4b176f[_0x568c59(0x284)](_0x4e4364['IRemoteInstanceService']))],_0x49b1c5['CollaborationDataLoaderController']);var _0x4efba8=Object[_0x568c59(0xf5)],_0x486b2d=(_0x34f4c7,_0x295ebb,_0x3ce311,_0x363be3)=>{for(var _0x1b7262=_0x363be3>0x1?void 0x0:_0x363be3?_0x4efba8(_0x295ebb,_0x3ce311):_0x295ebb,_0x3187c6=_0x34f4c7['length']-0x1,_0x5c3419;_0x3187c6>=0x0;_0x3187c6--)(_0x5c3419=_0x34f4c7[_0x3187c6])&&(_0x1b7262=_0x5c3419(_0x1b7262)||_0x1b7262);return _0x1b7262;},_0x2c1b3d=(_0x407df6,_0x2d7df0)=>(_0xb02b09,_0xf08b8)=>_0x2d7df0(_0xb02b09,_0xf08b8,_0x407df6);let _0x30a20f=class extends _0x4b176f[_0x568c59(0x1ce)]{constructor(_0x833609,_0x34a3a2){const _0x16da91=_0x568c59;super(),this[_0x16da91(0x270)]=_0x833609,this['_imageIoService']=_0x34a3a2,this[_0x16da91(0x129)]();}['_init'](){const _0x3b2bdf=_0x568c59,_0x19885d=this;this[_0x3b2bdf(0x354)](this[_0x3b2bdf(0x270)][_0x3b2bdf(0x237)]({'onBeforePasteImage':async _0x405f26=>{const _0x47e14e=_0x3b2bdf,_0x3e55d3=await _0x19885d[_0x47e14e(0xdd)][_0x47e14e(0x22c)](_0x405f26);return _0x3e55d3?{'source':_0x3e55d3[_0x47e14e(0x2f6)],'imageSourceType':_0x3e55d3['imageSourceType']}:null;}}));}};_0x30a20f=_0x486b2d([_0x2c1b3d(0x0,_0x5f0c77['IDocClipboardService']),_0x2c1b3d(0x1,_0x150443[_0x568c59(0x1f5)])],_0x30a20f);const _0x4294fe=[_0x568c59(0x263),_0x568c59(0x18d),_0x568c59(0x22f),_0x568c59(0x236),_0x568c59(0x305),_0x568c59(0x338)];class _0x4009eb extends _0x4b176f[_0x568c59(0x24b)]{constructor(){const _0x3285f0=_0x568c59;super(...arguments),_0xe730d4(this,_0x3285f0(0x294),new Map()),_0xe730d4(this,_0x3285f0(0x166),0x0);}[_0x568c59(0x25c)](_0x119a2b){const _0x4f4842=_0x568c59;if(this[_0x4f4842(0x294)][_0x4f4842(0x268)](_0x119a2b))return this[_0x4f4842(0x294)][_0x4f4842(0x9e)](_0x119a2b);const _0x53e362=_0x4294fe[this[_0x4f4842(0x166)]];return this[_0x4f4842(0x166)]=(this['_colorIndex']+0x1)%_0x4294fe[_0x4f4842(0x261)],this[_0x4f4842(0x294)][_0x4f4842(0xd2)](_0x119a2b,_0x53e362),_0x53e362;}}function _0x548dc2(_0x2e805b){const _0x4d84a6=_0x568c59;let _0x180144='';for(const _0x4051e9 of _0x2e805b){const {startOffset:_0x2af84b,endOffset:_0x752fc2,isActive:_0x218f74,rangeType:_0x2173e4,segmentId:_0x6858f0,segmentPage:_0x40c20a}=_0x4051e9;_0x180144[_0x4d84a6(0x261)]&&(_0x180144+=','),_0x180144+=_0x2af84b+':'+_0x752fc2+':'+(_0x218f74?'1':'0')+':'+_0x2173e4+':'+_0x6858f0+':'+_0x40c20a;}return _0x180144;}function _0xd0e126(_0x36a289){const _0x510971=_0x568c59,_0x29c685=_0x36a289['split'](','),_0x4cc1f6=[];for(const _0x5752de of _0x29c685){const [_0x782ba7,_0x4e3b98,_0x38090d,_0x3df3e9,_0x2f0076,_0x29a219]=_0x5752de[_0x510971(0x277)](':');_0x4cc1f6['push']({'startOffset':Number(_0x782ba7),'endOffset':Number(_0x4e3b98),'collapsed':_0x782ba7===_0x4e3b98,'isActive':_0x38090d==='1','rangeType':_0x3df3e9===_0x4b176f['DOC_RANGE_TYPE'][_0x510971(0xaf)]?_0x4b176f[_0x510971(0xca)]['TEXT']:_0x4b176f[_0x510971(0xca)][_0x510971(0xb1)],'segmentId':typeof _0x2f0076==_0x510971(0x2e4)?String(_0x2f0076):'','segmentPage':Number(_0x29a219!=null?_0x29a219:-0x1)});}return _0x4cc1f6['some'](_0x1160d4=>_0x1160d4['isActive'])||(_0x4cc1f6[0x0][_0x510971(0x2d3)]=!0x0),_0x4cc1f6;}class _0x510ecb extends _0x4b176f['RxDisposable']{constructor(){const _0x39ef27=_0x568c59;super(...arguments),_0xe730d4(this,_0x39ef27(0xf8),new _0x2d9524[(_0x39ef27(0x1cf))](null)),_0xe730d4(this,_0x39ef27(0xac),this[_0x39ef27(0xf8)][_0x39ef27(0x2ba)]());}['syncEditingCollabCursor'](_0x2f0bbd){const _0x389036=_0x568c59,{unitID:_0x3bc56b,memberID:_0x39283b,textRanges:_0x558d01}=_0x2f0bbd,_0x42425b=_0x548dc2(_0x558d01);if(_0x42425b==='')return;const _0x3ecfe9={'unitID':_0x3bc56b,'memberID':_0x39283b,'selection':_0x42425b};this['_collabCursorState$'][_0x389036(0x165)](_0x3ecfe9);}}var _0x24a4c3=Object[_0x568c59(0xf5)],_0x504e87=(_0x2be9e0,_0x4d3d3a,_0x5937f5,_0x535584)=>{const _0x2dd1cd=_0x568c59;for(var _0x3f5ea9=_0x535584>0x1?void 0x0:_0x535584?_0x24a4c3(_0x4d3d3a,_0x5937f5):_0x4d3d3a,_0x1253aa=_0x2be9e0[_0x2dd1cd(0x261)]-0x1,_0x238989;_0x1253aa>=0x0;_0x1253aa--)(_0x238989=_0x2be9e0[_0x1253aa])&&(_0x3f5ea9=_0x238989(_0x3f5ea9)||_0x3f5ea9);return _0x3f5ea9;},_0x160ff1=(_0x2ff61c,_0x36a548)=>(_0x4f9946,_0x2160af)=>_0x36a548(_0x4f9946,_0x2160af,_0x2ff61c);const _0x4705a8=0x12c,_0x873073=0x64;let _0x2c2994=class extends _0x4b176f['RxDisposable']{constructor(_0x7c0598,_0x34aeff,_0x5f5781,_0x4f67ae,_0xe937c5,_0x42423c,_0x4b8977,_0x4b4f41,_0x1b1d1f){const _0x1b8cc6=_0x568c59;super(),_0xe730d4(this,'_online',!0x1),_0xe730d4(this,'_init',!0x1),_0xe730d4(this,'_cursorInfo$',new _0x2d9524[(_0x1b8cc6(0x1cf))](new Map())),_0xe730d4(this,'cursorInfo$',this[_0x1b8cc6(0x174)][_0x1b8cc6(0x2ba)]()),_0xe730d4(this,_0x1b8cc6(0x355),new _0x2d9524[(_0x1b8cc6(0x1cf))]([])),_0xe730d4(this,'roomMembers$',this[_0x1b8cc6(0x355)][_0x1b8cc6(0x175)](_0x2d9524[_0x1b8cc6(0x2ab)](_0x4705a8))),_0xe730d4(this,_0x1b8cc6(0x244),_0x4b176f[_0x1b8cc6(0x208)](_0x4b956e=>{const _0x41a29d=_0x1b8cc6,_0x135edc={'eventID':_0x2cf75e[_0x41a29d(0x1bd)][_0x41a29d(0x266)],'data':{'unitID':this[_0x41a29d(0xff)],'memberID':this[_0x41a29d(0x316)][_0x41a29d(0x23f)](),'selection':_0x548dc2(_0x4b956e)}};this['_session'][_0x41a29d(0x11c)](_0x135edc,this[_0x41a29d(0xff)]);},_0x873073)),(this[_0x1b8cc6(0xff)]=_0x7c0598,this[_0x1b8cc6(0x316)]=_0x34aeff,this[_0x1b8cc6(0x148)]=_0x5f5781,this[_0x1b8cc6(0xef)]=_0x4f67ae,this[_0x1b8cc6(0x100)]=_0xe937c5,this[_0x1b8cc6(0x117)]=_0x42423c,this['_transformService']=_0x4b8977,this[_0x1b8cc6(0xbb)]=_0x4b4f41,this[_0x1b8cc6(0x115)]=_0x1b1d1f);}get[_0x568c59(0x22a)](){const _0x40150d=_0x568c59;return this[_0x40150d(0x174)]['getValue']();}get[_0x568c59(0xe2)](){const _0x8f7e9f=_0x568c59;return this[_0x8f7e9f(0x355)]['getValue']();}[_0x568c59(0x106)](){const _0x577fe5=_0x568c59;super[_0x577fe5(0x106)](),this[_0x577fe5(0x174)]['next'](new Map()),this[_0x577fe5(0x174)][_0x577fe5(0xda)](),this['_roomMembers$'][_0x577fe5(0x165)]([]),this[_0x577fe5(0x355)][_0x577fe5(0xda)]();}['init'](){const _0x375469=_0x568c59;this[_0x375469(0x129)]||(this['_init']=!0x0,this['_session'][_0x375469(0x210)][_0x375469(0x175)](_0x2d9524[_0x375469(0x360)](this[_0x375469(0x2c9)]))[_0x375469(0xe7)](_0x242376=>{const _0x406b03=_0x375469;_0x242376===_0x497c74[_0x406b03(0xd7)][_0x406b03(0x2f1)]?this[_0x406b03(0x345)]():this[_0x406b03(0x235)]();}),this[_0x375469(0x316)][_0x375469(0x12a)]['pipe'](_0x2d9524[_0x375469(0x360)](this['dispose$']))[_0x375469(0xe7)](_0x1dcad6=>{const _0x2732a0=_0x375469,_0x8062f9=_0x1dcad6[_0x2732a0(0x255)];_0x8062f9===_0x2cf75e[_0x2732a0(0x1bd)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1dcad6),_0x8062f9===_0x2cf75e[_0x2732a0(0x1bd)][_0x2732a0(0xc3)]&&this[_0x2732a0(0x18c)](_0x1dcad6);}),this[_0x375469(0x354)](this['_commandService'][_0x375469(0xe9)](_0x136de1=>{const _0x37f9af=_0x375469,_0x179989=_0x136de1['params'];_0x179989!=null&&this[_0x37f9af(0x201)]&&_0x136de1['id']===_0xb532ca[_0x37f9af(0xc2)]['id']&&_0x179989[_0x37f9af(0x13a)]===this[_0x37f9af(0xff)]&&_0x179989[_0x37f9af(0x295)]===!0x1&&_0x179989[_0x37f9af(0x109)][_0x37f9af(0x261)]>0x0&&this['_updateLocalCursor'](_0x179989[_0x37f9af(0x109)]);})),this[_0x375469(0x117)][_0x375469(0xac)]['pipe'](_0x2d9524[_0x375469(0x360)](this[_0x375469(0x2c9)]))[_0x375469(0xe7)](_0xbcf20f=>{const _0x2d24cf=_0x375469;if((_0xbcf20f==null?void 0x0:_0xbcf20f[_0x2d24cf(0xff)])!==this[_0x2d24cf(0xff)])return;const _0x20877a={'eventID':_0x2cf75e[_0x2d24cf(0x1bd)][_0x2d24cf(0x266)],'data':_0xbcf20f};this[_0x2d24cf(0x116)](_0x20877a);}),this[_0x375469(0x354)](this[_0x375469(0x115)][_0x375469(0xe9)](_0x3affc5=>{const _0xfd2d7=_0x375469;if(_0x3affc5[_0xfd2d7(0x2c3)]==null)return;const _0x34a1fd=_0x3affc5['params'];if(_0x3affc5['id']!==_0xb532ca[_0xfd2d7(0x2cd)]['id']||_0x34a1fd[_0xfd2d7(0x13a)]!==this[_0xfd2d7(0xff)])return;const _0x15e6d9={'id':_0xfd2d7(0x326),'params':_0x34a1fd},_0x429a15=this[_0xfd2d7(0x22a)];for(const [_0x57d100,_0x714044]of _0x429a15){const _0x11c648={'id':_0xfd2d7(0x326),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x714044['ranges']}},_0x54c7d2=this[_0xfd2d7(0x272)][_0xfd2d7(0x1dd)](_0x15e6d9,_0x11c648,!0x1);if(_0x2cf75e['isTransformMutationFailure'](_0x54c7d2))throw _0x54c7d2[_0xfd2d7(0x11f)];_0x429a15[_0xfd2d7(0xd2)](_0x57d100,{..._0x714044,'ranges':_0x54c7d2[_0xfd2d7(0x1d5)][_0xfd2d7(0x2c3)][_0xfd2d7(0x1a4)]});}queueMicrotask(()=>{const _0x3f3961=_0xfd2d7;this[_0x3f3961(0x174)]['next'](_0x429a15);});})));}['_onCursorUpdate'](_0x1a135a){const _0x1937f0=_0x568c59;var _0x1d1b59,_0x13e5e3;const {memberID:_0x36befa,selection:_0x200e41}=_0x1a135a[_0x1937f0(0x221)],_0x35b8ae=_0xd0e126(_0x200e41),_0x5997d4=(_0x13e5e3=(_0x1d1b59=this[_0x1937f0(0x100)][_0x1937f0(0x91)](this['unitID'],_0x36befa))==null?void 0x0:_0x1d1b59['name'])!=null?_0x13e5e3:_0x1937f0(0x2c1),_0x2c8516={'color':this[_0x1937f0(0xef)][_0x1937f0(0x25c)](_0x36befa),'name':_0x5997d4,'ranges':_0x35b8ae},_0x1ccb55=this[_0x1937f0(0x22a)];_0x1ccb55[_0x1937f0(0xd2)](_0x36befa,_0x2c8516),this[_0x1937f0(0x174)][_0x1937f0(0x165)](_0x1ccb55);}[_0x568c59(0x18c)](_0x634634){const _0x581fe1=_0x568c59,{memberID:_0x4c8c42}=_0x634634[_0x581fe1(0x221)],_0x169378=this[_0x581fe1(0x22a)];_0x169378[_0x581fe1(0x1a7)](_0x4c8c42),this[_0x581fe1(0x174)][_0x581fe1(0x165)](_0x169378);}['_toggleOnline'](){const _0x1a756b=_0x568c59;var _0x34066a;if(this['_online']=!0x0,((_0x34066a=this[_0x1a756b(0xbb)][_0x1a756b(0x18f)]())==null?void 0x0:_0x34066a[_0x1a756b(0x1f3)]())!==this[_0x1a756b(0xff)])return;const _0x225dcd=this[_0x1a756b(0x148)][_0x1a756b(0x9e)](_0xb532ca[_0x1a756b(0x1f9)])[_0x1a756b(0x192)]();Array[_0x1a756b(0x2f4)](_0x225dcd)&&_0x225dcd[_0x1a756b(0x261)]>0x0&&this[_0x1a756b(0x244)](_0x225dcd);}[_0x568c59(0x235)](){const _0x218795=_0x568c59;this[_0x218795(0x201)]=!0x1;}};_0x2c2994=_0x504e87([_0x160ff1(0x2,_0x4b176f['Inject'](_0x4b176f[_0x568c59(0x2b0)])),_0x160ff1(0x3,_0x4b176f[_0x568c59(0x36e)](_0x4009eb)),_0x160ff1(0x4,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x2f0)])),_0x160ff1(0x5,_0x4b176f[_0x568c59(0x36e)](_0x510ecb)),_0x160ff1(0x6,_0x2cf75e[_0x568c59(0x2ef)]),_0x160ff1(0x7,_0x4b176f[_0x568c59(0x26f)]),_0x160ff1(0x8,_0x4b176f['ICommandService'])],_0x2c2994);var _0x5a2ffe=Object[_0x568c59(0xf5)],_0x20e6db=(_0x2b2e0f,_0x225502,_0x2d20a6,_0x51c0db)=>{const _0x204a9b=_0x568c59;for(var _0x5e5922=_0x51c0db>0x1?void 0x0:_0x51c0db?_0x5a2ffe(_0x225502,_0x2d20a6):_0x225502,_0x388af7=_0x2b2e0f[_0x204a9b(0x261)]-0x1,_0x463224;_0x388af7>=0x0;_0x388af7--)(_0x463224=_0x2b2e0f[_0x388af7])&&(_0x5e5922=_0x463224(_0x5e5922)||_0x5e5922);return _0x5e5922;},_0x35bee9=(_0x36b935,_0x568c18)=>(_0x379089,_0x2195cd)=>_0x568c18(_0x379089,_0x2195cd,_0x36b935);const _0x2fd63a=0x12c,_0xdbf390=0x64,_0x152b33=()=>{let _0x423bd5=[],_0x5bec71=!0x1;return _0x8747a3=>{const _0xb476b5=_0x34b8;_0x423bd5[_0xb476b5(0x1cc)](_0x8747a3),_0x5bec71||(_0x5bec71=!0x0,setTimeout(()=>{const _0x4601e8=_0xb476b5;_0x423bd5[_0x4601e8(0x15e)](_0x36f22f=>_0x36f22f()),_0x423bd5=[],_0x5bec71=!0x1;}));};};let _0x8f0c30=class extends _0x4b176f[_0x568c59(0x1ce)]{constructor(_0x48d25c,_0x530191,_0x103a00,_0x406c7d,_0x5e1cb5,_0x1acda7,_0x26a4eb,_0x490a27){const _0x4674fb=_0x568c59;super(),_0xe730d4(this,_0x4674fb(0x201),!0x1),_0xe730d4(this,_0x4674fb(0x129),!0x1),_0xe730d4(this,'_cursorInfo$',new _0x2d9524[(_0x4674fb(0x1cf))](new Map())),_0xe730d4(this,_0x4674fb(0x1ac),this[_0x4674fb(0x174)][_0x4674fb(0x2ba)]()),_0xe730d4(this,_0x4674fb(0x355),new _0x2d9524['BehaviorSubject']([])),_0xe730d4(this,_0x4674fb(0x13b),this[_0x4674fb(0x355)][_0x4674fb(0x175)](_0x2d9524[_0x4674fb(0x2ab)](_0x2fd63a))),_0xe730d4(this,_0x4674fb(0x244),_0x4b176f[_0x4674fb(0x208)]((_0x5e6aab,_0x4216e1)=>{const _0x407cef=_0x4674fb,_0x1a7230={'eventID':_0x2cf75e['CollaborationEvent'][_0x407cef(0x266)],'data':{'unitID':this[_0x407cef(0xff)],'memberID':this[_0x407cef(0x316)][_0x407cef(0x23f)](),'selection':_0x1707bd['serializeRangeWithSheet'](_0x5e6aab,_0x4216e1[_0x407cef(0x209)])}};this['_session'][_0x407cef(0x11c)](_0x1a7230,this[_0x407cef(0xff)]);},_0xdbf390)),(this[_0x4674fb(0xff)]=_0x48d25c,this[_0x4674fb(0x316)]=_0x530191,this[_0x4674fb(0x148)]=_0x103a00,this[_0x4674fb(0xef)]=_0x406c7d,this[_0x4674fb(0x100)]=_0x5e1cb5,this[_0x4674fb(0xbb)]=_0x1acda7,this[_0x4674fb(0x115)]=_0x26a4eb,this[_0x4674fb(0xa7)]=_0x490a27);}get[_0x568c59(0x22a)](){const _0x432a4=_0x568c59;return this[_0x432a4(0x174)]['getValue']();}get[_0x568c59(0xe2)](){const _0x5f1fa5=_0x568c59;return this['_roomMembers$'][_0x5f1fa5(0xce)]();}[_0x568c59(0x106)](){const _0x5339d0=_0x568c59;super[_0x5339d0(0x106)](),this[_0x5339d0(0x174)]['next'](new Map()),this[_0x5339d0(0x174)]['complete'](),this[_0x5339d0(0x355)][_0x5339d0(0x165)]([]),this[_0x5339d0(0x355)][_0x5339d0(0xda)]();}[_0x568c59(0x194)](){const _0x5626de=_0x568c59;this[_0x5626de(0x129)]||(this['_init']=!0x0,this['_session'][_0x5626de(0x210)][_0x5626de(0x175)](_0x2d9524[_0x5626de(0x360)](this[_0x5626de(0x2c9)]))[_0x5626de(0xe7)](_0x4eaafd=>{const _0x270453=_0x5626de;_0x4eaafd===_0x497c74[_0x270453(0xd7)][_0x270453(0x2f1)]?this[_0x270453(0x345)]():this[_0x270453(0x235)]();}),this[_0x5626de(0x316)][_0x5626de(0x12a)][_0x5626de(0x175)](_0x2d9524[_0x5626de(0x360)](this[_0x5626de(0x2c9)]))[_0x5626de(0xe7)](_0x100783=>{const _0x30b5a5=_0x5626de,_0x3cf27c=_0x100783[_0x30b5a5(0x255)];_0x3cf27c===_0x2cf75e['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x30b5a5(0x116)](_0x100783),_0x3cf27c===_0x2cf75e[_0x30b5a5(0x1bd)][_0x30b5a5(0xc3)]&&this[_0x30b5a5(0x18c)](_0x100783);}),this[_0x5626de(0x10b)](),this[_0x5626de(0x354)](this[_0x5626de(0x115)][_0x5626de(0xe9)](_0x46b7e4=>{const _0x3b5169=_0x5626de;if(this['_online']&&_0x46b7e4['id']===_0x4ba8ca[_0x3b5169(0xa3)]['id']&&_0x46b7e4[_0x3b5169(0x2c3)]['unitId']===this[_0x3b5169(0xff)]){const _0x482267=_0x46b7e4['params'];this[_0x3b5169(0x244)](_0x482267[_0x3b5169(0x1b8)],_0x482267['selections'][0x0]);}})));}[_0x568c59(0x116)](_0x208182){const _0x43a178=_0x568c59;var _0x439a9d,_0x43671a;const {memberID:_0x369b1e,selection:_0x286652}=_0x208182['data'],{sheetName:_0x36d6b3,range:_0x964ea6}=_0x1707bd['deserializeRangeWithSheet'](_0x286652),_0x2cd365={'name':(_0x43671a=(_0x439a9d=this['_memberService'][_0x43a178(0x91)](this[_0x43a178(0xff)],_0x369b1e))==null?void 0x0:_0x439a9d[_0x43a178(0x111)])!=null?_0x43671a:_0x43a178(0x2c1),'range':this[_0x43a178(0x184)](_0x36d6b3,_0x964ea6),'sheetID':_0x36d6b3,'color':this[_0x43a178(0xef)][_0x43a178(0x25c)](_0x369b1e),'selection':_0x286652},_0x9da315=this[_0x43a178(0x22a)];_0x9da315[_0x43a178(0xd2)](_0x369b1e,_0x2cd365),this[_0x43a178(0x174)][_0x43a178(0x165)](_0x9da315);}[_0x568c59(0x18c)](_0xaf3487){const _0x2020f7=_0x568c59,{memberID:_0x522980}=_0xaf3487[_0x2020f7(0x221)],_0x1cc1b0=this[_0x2020f7(0x22a)];_0x1cc1b0['delete'](_0x522980),this[_0x2020f7(0x174)][_0x2020f7(0x165)](_0x1cc1b0);}['_getMergeRange'](_0x1286a7,_0x3d905e){const _0x44fd78=_0x568c59;var _0x3a49bf,_0xc338e6;const _0x1e1b50=(_0xc338e6=(_0x3a49bf=this[_0x44fd78(0xbb)][_0x44fd78(0x33e)](this[_0x44fd78(0xff)]))==null?void 0x0:_0x3a49bf[_0x44fd78(0x1ca)](_0x1286a7))==null?void 0x0:_0xc338e6['getMergeData']();return(_0x1e1b50==null?void 0x0:_0x1e1b50[_0x44fd78(0x300)](_0x22df91=>_0x4b176f[_0x44fd78(0x162)][_0x44fd78(0x35b)](_0x22df91,_0x3d905e)))||_0x3d905e;}[_0x568c59(0x10b)](){const _0x382e78=_0x568c59,_0x3b75df=new _0x4b176f['DisposableCollection'](),_0x27f2c3=_0x152b33(),_0x4d100e=()=>{const _0x2a341e=_0x34b8;_0x3b75df[_0x2a341e(0x106)]();const _0x7099a0=(_0x5c8027,_0x5d0c5a,_0x262008,_0x721060)=>{const _0x5ae608=_0x2a341e;let _0x529a1e=[];switch(_0x5c8027['id']){case _0x4ba8ca['EffectRefRangId'][_0x5ae608(0x189)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x19a)](_0x5c8027,_0x721060);break;}case _0x4ba8ca['EffectRefRangId'][_0x5ae608(0x27e)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x187)](_0x5c8027,_0x721060);break;}case _0x4ba8ca[_0x5ae608(0x302)]['InsertColCommandId']:{_0x529a1e=_0x4ba8ca['handleInsertCol'](_0x5c8027,_0x721060);break;}case _0x4ba8ca[_0x5ae608(0x302)][_0x5ae608(0x34c)]:{_0x529a1e=_0x4ba8ca['handleInsertRangeMoveDown'](_0x5c8027,_0x721060);break;}case _0x4ba8ca['EffectRefRangId'][_0x5ae608(0x2a4)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0xcc)](_0x5c8027,_0x721060);break;}case _0x4ba8ca['EffectRefRangId'][_0x5ae608(0x1e0)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x114)](_0x5c8027,_0x721060);break;}case _0x4ba8ca[_0x5ae608(0x302)][_0x5ae608(0x123)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x26b)](_0x5c8027,_0x721060);break;}case _0x4ba8ca[_0x5ae608(0x302)][_0x5ae608(0xa4)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x25f)](_0x5c8027,_0x721060);break;}case _0x4ba8ca[_0x5ae608(0x302)]['RemoveRowCommandId']:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x2f3)](_0x5c8027,_0x721060);break;}}const _0x580455=_0x4ba8ca[_0x5ae608(0x1d8)](_0x529a1e,_0x721060),_0x1a32b9=this[_0x5ae608(0x22a)][_0x5ae608(0x9e)](_0x5d0c5a);if(_0x1a32b9&&_0x580455){const _0x5d57c5={..._0x1a32b9,'range':_0x580455};this[_0x5ae608(0x22a)][_0x5ae608(0xd2)](_0x5d0c5a,_0x5d57c5),_0x27f2c3(()=>{const _0x5520cf=_0x5ae608,_0x346a15=this[_0x5520cf(0xa7)][_0x5520cf(0x1a5)](_0x580455,_0x2d31db=>(_0x346a15[_0x5520cf(0x106)](),_0x7099a0(_0x2d31db,_0x5d0c5a,_0x262008,_0x580455)));_0x3b75df[_0x5520cf(0x2bf)](_0x346a15);});}return{'redos':[],'undos':[]};};this[_0x2a341e(0x22a)][_0x2a341e(0x15e)]((_0x3602ca,_0x30a3de)=>{const _0x49b6f1=_0x2a341e,{range:_0x4c57ce,sheetID:_0x33243a}=_0x3602ca,_0x54a744=this[_0x49b6f1(0xa7)][_0x49b6f1(0x1a5)](_0x4c57ce,_0x33de9c=>(_0x54a744[_0x49b6f1(0x106)](),_0x7099a0(_0x33de9c,_0x30a3de,_0x33243a,_0x4c57ce)));_0x3b75df[_0x49b6f1(0x2bf)](_0x54a744);});};this[_0x382e78(0x354)](_0x4b176f[_0x382e78(0xa6)](this['_cursorInfo$']['subscribe'](()=>{_0x4d100e();})));}[_0x568c59(0x345)](){const _0xa642d4=_0x568c59;var _0x59f55e,_0x49eec7;if(this[_0xa642d4(0x201)]=!0x0,((_0x59f55e=this[_0xa642d4(0xbb)][_0xa642d4(0x18f)]())==null?void 0x0:_0x59f55e[_0xa642d4(0x1f3)]())!==this[_0xa642d4(0xff)])return;const _0x1a6d1b=(_0x49eec7=this[_0xa642d4(0x148)]['get'](_0x4ba8ca[_0xa642d4(0x358)])[_0xa642d4(0x86)]())==null?void 0x0:_0x49eec7[0x0],_0x29ed25=this[_0xa642d4(0xbb)][_0xa642d4(0x11a)](_0x4b176f[_0xa642d4(0xc6)][_0xa642d4(0x1f2)])[_0xa642d4(0x2cb)]();_0x1a6d1b&&_0x29ed25&&this[_0xa642d4(0x244)](_0x29ed25[_0xa642d4(0x118)](),_0x1a6d1b);}[_0x568c59(0x235)](){const _0x50dc50=_0x568c59;this[_0x50dc50(0x201)]=!0x1;}};_0x8f0c30=_0x20e6db([_0x35bee9(0x2,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x2b0)])),_0x35bee9(0x3,_0x4b176f[_0x568c59(0x36e)](_0x4009eb)),_0x35bee9(0x4,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x2f0)])),_0x35bee9(0x5,_0x4b176f['IUniverInstanceService']),_0x35bee9(0x6,_0x4b176f[_0x568c59(0x32b)]),_0x35bee9(0x7,_0x4b176f[_0x568c59(0x36e)](_0x4ba8ca[_0x568c59(0x2b4)]))],_0x8f0c30);var _0x37d882=Object['getOwnPropertyDescriptor'],_0x5c5d4a=(_0x492623,_0x1dff59,_0x5dc127,_0x4f837f)=>{const _0x3f8c51=_0x568c59;for(var _0x3fd4d1=_0x4f837f>0x1?void 0x0:_0x4f837f?_0x37d882(_0x1dff59,_0x5dc127):_0x1dff59,_0x1c1114=_0x492623[_0x3f8c51(0x261)]-0x1,_0x49c918;_0x1c1114>=0x0;_0x1c1114--)(_0x49c918=_0x492623[_0x1c1114])&&(_0x3fd4d1=_0x49c918(_0x3fd4d1)||_0x3fd4d1);return _0x3fd4d1;},_0x3f5b2f=(_0x44fc5d,_0x593bc3)=>(_0x2a7c06,_0x266415)=>_0x593bc3(_0x2a7c06,_0x266415,_0x44fc5d);let _0x53db82=class extends _0x4b176f['RxDisposable']{constructor(_0x18a9a4,_0x2240e6,_0x348426){const _0x3cf699=_0x568c59;super(),_0xe730d4(this,_0x3cf699(0x2bc),new Map()),_0xe730d4(this,_0x3cf699(0x287),new _0x2d9524['Subject']()),(this['_univerInstanceService']=_0x18a9a4,this['_injector']=_0x2240e6,this[_0x3cf699(0x245)]=_0x348426,this[_0x3cf699(0x129)]());}['dispose'](){const _0x238994=_0x568c59;super[_0x238994(0x106)](),this[_0x238994(0x287)][_0x238994(0xda)](),this[_0x238994(0x2bc)][_0x238994(0x15e)](_0x5b0205=>_0x5b0205[_0x238994(0x106)]());}['getCollabCursors$'](_0xf234f){const _0x54cd19=_0x568c59;return this[_0x54cd19(0x2bc)][_0x54cd19(0x268)](_0xf234f)?this[_0x54cd19(0x2bc)][_0x54cd19(0x9e)](_0xf234f)['cursorInfo$']:this[_0x54cd19(0x287)][_0x54cd19(0x175)](_0x2d9524[_0x54cd19(0x365)](_0x5bc7bd=>_0x5bc7bd[_0x54cd19(0xff)]===_0xf234f),_0x2d9524['switchMap'](_0x4d1a08=>_0x4d1a08[_0x54cd19(0x1ac)]));}[_0x568c59(0x129)](){const _0x4ec8be=_0x568c59;this['_univerInstanceService'][_0x4ec8be(0xf7)](_0x4b176f[_0x4ec8be(0xc6)]['UNIVER_SHEET'])[_0x4ec8be(0x175)](_0x2d9524[_0x4ec8be(0x360)](this[_0x4ec8be(0x2c9)]))[_0x4ec8be(0xe7)](async _0x434f8b=>{const _0x216f79=_0x4ec8be,_0x4b7d6d=_0x434f8b[_0x216f79(0x1f3)](),_0x24e280=await this['_startSheetCollabCursor'](_0x4b7d6d);this['_entityInit$'][_0x216f79(0x165)](_0x24e280),this['_entities'][_0x216f79(0xd2)](_0x4b7d6d,_0x24e280);}),this['_univerInstanceService'][_0x4ec8be(0xf7)](_0x4b176f[_0x4ec8be(0xc6)][_0x4ec8be(0x141)])[_0x4ec8be(0x175)](_0x2d9524[_0x4ec8be(0x360)](this[_0x4ec8be(0x2c9)]))[_0x4ec8be(0x175)](_0x2d9524[_0x4ec8be(0x365)](_0x4ee439=>!_0x4ee439[_0x4ec8be(0x1f3)]()[_0x4ec8be(0x1b3)]('__')))[_0x4ec8be(0xe7)](async _0xa4b31b=>{const _0x4c1a76=_0x4ec8be,_0x2b489a=_0xa4b31b[_0x4c1a76(0x1f3)](),_0xe020ee=await this[_0x4c1a76(0xfb)](_0x2b489a);this[_0x4c1a76(0x287)][_0x4c1a76(0x165)](_0xe020ee),this[_0x4c1a76(0x2bc)][_0x4c1a76(0xd2)](_0x2b489a,_0xe020ee);}),_0x2d9524['merge'](this[_0x4ec8be(0xbb)][_0x4ec8be(0xc8)](_0x4b176f[_0x4ec8be(0xc6)][_0x4ec8be(0x141)]),this[_0x4ec8be(0xbb)][_0x4ec8be(0xc8)](_0x4b176f[_0x4ec8be(0xc6)][_0x4ec8be(0x1f2)]))['pipe'](_0x2d9524[_0x4ec8be(0x360)](this[_0x4ec8be(0x2c9)]))[_0x4ec8be(0xe7)](_0xca7592=>{const _0x11535e=_0x4ec8be,_0x2ea9ed=_0xca7592[_0x11535e(0x1f3)](),_0x1101e8=this[_0x11535e(0x2bc)][_0x11535e(0x9e)](_0x2ea9ed);_0x1101e8&&(_0x1101e8['dispose'](),this[_0x11535e(0x2bc)]['delete'](_0x2ea9ed));});}async[_0x568c59(0x130)](_0x32392b){const _0x396471=_0x568c59,_0x47dcf7=await this[_0x396471(0x245)][_0x396471(0x225)](_0x32392b),_0x53cb74=this[_0x396471(0x148)][_0x396471(0x2a8)](_0x8f0c30,_0x32392b,_0x47dcf7);return _0x53cb74['init'](),_0x53cb74;}async[_0x568c59(0xfb)](_0x7cad46){const _0x383843=_0x568c59,_0x5b0175=await this[_0x383843(0x245)][_0x383843(0x225)](_0x7cad46),_0x5976a7=this[_0x383843(0x148)]['createInstance'](_0x2c2994,_0x7cad46,_0x5b0175);return _0x5976a7['init'](),_0x5976a7;}};_0x53db82=_0x5c5d4a([_0x3f5b2f(0x0,_0x4b176f[_0x568c59(0x26f)]),_0x3f5b2f(0x1,_0x4b176f[_0x568c59(0x36e)](_0x4b176f['Injector'])),_0x3f5b2f(0x2,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x29f)]))],_0x53db82);const _0x21a6a9=0x14,_0x367f7e=0xc8,_0x167a5c=0x4,_0x3cdce1=0x5;function _0x42254b(_0x313b12,_0x5af7f4){const _0x2d4bda=_0x568c59;let {radius:_0x335b2c,width:_0x33d915,height:_0x83cbee}=_0x5af7f4;_0x335b2c=_0x335b2c!=null?_0x335b2c:0x0,_0x33d915=_0x33d915!=null?_0x33d915:0x1e,_0x83cbee=_0x83cbee!=null?_0x83cbee:0x1e;let _0x447c61=0x0,_0x2f75a2=0x0,_0x26f420=0x0;_0x447c61=_0x2f75a2=_0x26f420=Math[_0x2d4bda(0x1b2)](_0x335b2c,_0x33d915/0x2,_0x83cbee/0x2),_0x313b12['beginPath'](),_0x313b12[_0x2d4bda(0x1a2)](_0x447c61,0x0),_0x313b12[_0x2d4bda(0xe0)](_0x33d915-_0x2f75a2,0x0),_0x313b12[_0x2d4bda(0xeb)](_0x33d915-_0x2f75a2,_0x2f75a2,_0x2f75a2,Math['PI']*0x3/0x2,0x0,!0x1),_0x313b12[_0x2d4bda(0xe0)](_0x33d915,_0x83cbee-_0x26f420),_0x313b12[_0x2d4bda(0xeb)](_0x33d915-_0x26f420,_0x83cbee-_0x26f420,_0x26f420,0x0,Math['PI']/0x2,!0x1),_0x313b12[_0x2d4bda(0xe0)](0x0,_0x83cbee),_0x313b12[_0x2d4bda(0xe0)](0x0,_0x447c61),_0x313b12[_0x2d4bda(0xeb)](_0x447c61,_0x447c61,_0x447c61,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x313b12[_0x2d4bda(0x167)](),_0x5af7f4[_0x2d4bda(0x8f)]&&(_0x313b12[_0x2d4bda(0xdf)](),_0x313b12[_0x2d4bda(0x2c7)]=_0x5af7f4['fill'],_0x5af7f4[_0x2d4bda(0x2f9)]===_0x2d4bda(0x21d)?_0x313b12['fill'](_0x2d4bda(0x21d)):_0x313b12[_0x2d4bda(0x8f)](),_0x313b12[_0x2d4bda(0x24d)]());}class _0x1a0ab3 extends _0x517da6[_0x568c59(0x1ad)]{constructor(_0x4db68e,_0xf5216f){const _0x25b852=_0x568c59;super(_0x4db68e,_0xf5216f),_0xe730d4(this,_0x25b852(0x135)),_0xe730d4(this,_0x25b852(0x2fa)),(this[_0x25b852(0x135)]=_0xf5216f==null?void 0x0:_0xf5216f[_0x25b852(0x135)],this[_0x25b852(0x2fa)]=_0xf5216f==null?void 0x0:_0xf5216f['text']);}static['drawWith'](_0x5a2ebc,_0x257ff9){const _0x3e0e03=_0x568c59,{text:_0x3a99a0,color:_0x3d2785}=_0x257ff9;_0x5a2ebc[_0x3e0e03(0xdf)](),_0x5a2ebc['font']=_0x3e0e03(0x14c);const _0x2b5657=_0x5a2ebc[_0x3e0e03(0x1a6)](_0x3a99a0)['width'],_0x5ce001=Math[_0x3e0e03(0x1b2)](_0x2b5657+0x2*_0x167a5c,_0x367f7e);_0x42254b(_0x5a2ebc,{'height':_0x21a6a9,'radius':0x4,'width':_0x5ce001,'fill':_0x3d2785}),_0x5a2ebc[_0x3e0e03(0x2c7)]=_0x3e0e03(0x2a2);const _0x386ebf=_0x167a5c,_0x2d99bf=_0x21a6a9-_0x3cdce1,_0xd16930=_0x367f7e-0x2*_0x167a5c;if(_0x2b5657>_0xd16930){let _0xf87f0c='',_0x13cf9d=0x0;for(const _0x11b1ec of _0x3a99a0){const _0x5c3799=_0x5a2ebc[_0x3e0e03(0x1a6)](_0x11b1ec)[_0x3e0e03(0x2f5)];if(_0x13cf9d+_0x5c3799<=_0xd16930-_0x5a2ebc[_0x3e0e03(0x1a6)](_0x3e0e03(0x1a8))[_0x3e0e03(0x2f5)])_0xf87f0c+=_0x11b1ec,_0x13cf9d+=_0x5c3799;else{_0xf87f0c+=_0x3e0e03(0x1a8);break;}}_0x5a2ebc['fillText'](_0xf87f0c,_0x386ebf,_0x2d99bf);}else _0x5a2ebc[_0x3e0e03(0x331)](_0x3a99a0,_0x386ebf,_0x2d99bf);_0x5a2ebc[_0x3e0e03(0x24d)]();}[_0x568c59(0x32e)](_0x3bd794){const _0x188af3=_0x568c59;_0x1a0ab3[_0x188af3(0x1f0)](_0x3bd794,this);}}const _0x4e9940='collab-text-anchor-',_0x2c0825=_0x568c59(0x1b9),_0x11e65f=_0x568c59(0x173),_0x43bf1e=0x6,_0x3c9181=1.5,_0x803823=0x4,_0x5c6dee=1.5,_0x2032f6=_0x568c59(0x144);class _0x4a4828{constructor(_0x1e08df,_0x2a6a03,_0x264c18,_0x5a0b87){const _0x1ee61d=_0x568c59;_0xe730d4(this,_0x1ee61d(0x2e8),[]),_0xe730d4(this,'_anchor',null),_0xe730d4(this,_0x1ee61d(0x1fa),null),_0xe730d4(this,'_anchorDot',null),_0xe730d4(this,_0x1ee61d(0x14f),null),_0xe730d4(this,_0x1ee61d(0x314),null),(this['_cursor']=_0x1e08df,this[_0x1ee61d(0x301)]=_0x2a6a03,this[_0x1ee61d(0x200)]=_0x264c18,this['_document']=_0x5a0b87,this[_0x1ee61d(0xf9)]());}set[_0x568c59(0x219)](_0x32bac7){const _0xc05020=_0x568c59;_0x32bac7?(this[_0xc05020(0x2a0)]&&this['_anchorDot'][_0xc05020(0x92)](),this[_0xc05020(0x1fa)]&&this[_0xc05020(0x1fa)][_0xc05020(0x154)]()):(this['_anchorDot']&&this[_0xc05020(0x2a0)]['show'](),this['_textBubble']&&this[_0xc05020(0x1fa)]['hide']());}[_0x568c59(0x106)](){const _0x1e3af2=_0x568c59;for(const _0x48976c of this['_shapes'])_0x48976c[_0x1e3af2(0x106)]();this[_0x1e3af2(0x1fa)]&&this[_0x1e3af2(0x1fa)][_0x1e3af2(0x106)](),this[_0x1e3af2(0x2a0)]&&this[_0x1e3af2(0x2a0)][_0x1e3af2(0x106)](),this[_0x1e3af2(0x25d)]&&this[_0x1e3af2(0x25d)]['dispose'](),this['_eventUnsubscribe']&&this[_0x1e3af2(0x314)]();}[_0x568c59(0xf9)](){const _0x5ca834=_0x568c59;var _0x467ca4;const {_docSkeleton:_0x1789ef,_document:_0x3e8419}=this,{color:_0x24f206,name:_0x3d8bfe,ranges:_0x479082}=this['_cursor'],_0x1132cf=_0x3e8419[_0x5ca834(0x1a1)](),{docsLeft:_0x13d9ba,docsTop:_0x27f99a}=_0x1132cf,_0x4d6ff6=new _0x5f0c77[(_0x5ca834(0x28c))](_0x1132cf,_0x1789ef);for(const {startOffset:_0x14201c,endOffset:_0x3f1aac,rangeType:_0xb9db8f,segmentId:_0x1d20b0,segmentPage:_0x2b3ea0,collapsed:_0x4b1738,isActive:_0x2629aa}of _0x479082){const _0xbb9b19=_0x1789ef['findNodePositionByCharIndex'](_0x14201c,!0x0,_0x1d20b0,_0x2b3ea0);let _0x2eb71d=_0x1789ef['findNodePositionByCharIndex'](_0x3f1aac,!0x0,_0x1d20b0,_0x2b3ea0);if(_0x2eb71d==null&&(_0x2eb71d=_0x1789ef['findNodePositionByCharIndex'](_0x3f1aac-0x1,!0x1,_0x1d20b0,_0x2b3ea0)),_0x2629aa){const {contentBoxPointGroup:_0x357b46}=_0x4d6ff6[_0x5ca834(0x35d)](_0x2eb71d,_0x2eb71d);if(_0x357b46[_0x5ca834(0x261)]===0x0)continue;this[_0x5ca834(0x2dc)](_0x24f206,_0x357b46,_0x13d9ba,_0x27f99a,_0x3d8bfe),this[_0x5ca834(0x314)]=this['_handleHover']();}if(_0xbb9b19&&_0x2eb71d){if(_0xb9db8f===_0x4b176f[_0x5ca834(0xca)][_0x5ca834(0xb1)]){const _0x4c24a2=new _0x5f0c77[(_0x5ca834(0x2a1))](_0x1132cf,_0x1789ef),{pointGroup:_0x5948be}=(_0x467ca4=_0x4c24a2[_0x5ca834(0x35d)](_0xbb9b19,_0x2eb71d))!=null?_0x467ca4:{};if(_0x5948be==null||_0x5948be[_0x5ca834(0x261)]===0x0)continue;this[_0x5ca834(0x15f)](_0x24f206,_0x5948be,_0x13d9ba,_0x27f99a);}else{if(!_0x4b1738){const {borderBoxPointGroup:_0x48d85d}=_0x4d6ff6[_0x5ca834(0x35d)](_0xbb9b19,_0x2eb71d);if(_0x48d85d[_0x5ca834(0x261)]===0x0)continue;this[_0x5ca834(0x1b0)](_0x24f206,_0x48d85d,_0x13d9ba,_0x27f99a);}}}}}[_0x568c59(0x2dc)](_0x5ba58c,_0x184b93,_0x532d82,_0x4c2b65,_0x418499){const _0xa5e435=_0x568c59,_0x168ab8=this[_0xa5e435(0x121)](_0x184b93),{left:_0x2e4ab5,top:_0x59334a,height:_0x2cedc6}=_0x168ab8,_0x4bee49=this[_0xa5e435(0x2be)](),_0x1defe2=_0x5c6dee/_0x4bee49,_0x58d0f7=new _0x517da6[(_0xa5e435(0x317))](_0x4e9940+_0x4b176f[_0xa5e435(0x22e)](_0x43bf1e),{'left':_0x2e4ab5+_0x532d82-_0x1defe2,'top':_0x59334a+_0x4c2b65,'height':_0x2cedc6,'width':_0x3c9181,'fill':_0x5ba58c||_0x517da6['getColor'](_0x4b176f[_0xa5e435(0xae)][_0xa5e435(0x246)],0x0),'strokeWidth':_0x1defe2,'stroke':_0x2032f6,'evented':!0x0});this[_0xa5e435(0x25d)]=_0x58d0f7,this[_0xa5e435(0x301)][_0xa5e435(0x102)](_0x58d0f7,_0x5f0c77['TEXT_RANGE_LAYER_INDEX']);const _0x4d18a8=new _0x517da6[(_0xa5e435(0x317))](_0x4e9940+_0x4b176f[_0xa5e435(0x22e)](_0x43bf1e),{'left':_0x2e4ab5+_0x532d82-_0x1defe2,'top':_0x59334a+_0x4c2b65-_0x803823/0x2,'height':_0x803823,'width':_0x803823,'fill':_0x5ba58c||_0x517da6['getColor'](_0x4b176f[_0xa5e435(0xae)][_0xa5e435(0x246)],0x0),'strokeWidth':0x0,'stroke':_0x5ba58c||_0x517da6[_0xa5e435(0x15c)](_0x4b176f['COLORS'][_0xa5e435(0x246)],0x0),'evented':!0x1});this[_0xa5e435(0x2a0)]=_0x4d18a8,this[_0xa5e435(0x301)][_0xa5e435(0x102)](_0x4d18a8,_0x5f0c77[_0xa5e435(0xa0)]);const _0x533f8a=new _0x1a0ab3(_0x4e9940+_0x4b176f[_0xa5e435(0x22e)](_0x43bf1e),{'left':_0x2e4ab5+_0x532d82-_0x1defe2,'top':_0x59334a+_0x4c2b65-_0x21a6a9,'text':_0x418499,'color':_0x5ba58c});this['_textBubble']=_0x533f8a,this[_0xa5e435(0x301)]['addObject'](_0x533f8a,_0x5f0c77[_0xa5e435(0xa0)]),this[_0xa5e435(0x219)]=!0x1;}[_0x568c59(0x133)](){const _0x468009=_0x568c59,_0x571e41=this[_0x468009(0x25d)][_0x468009(0x9f)][_0x468009(0x318)](()=>{const _0x38f37d=_0x468009;this[_0x38f37d(0x219)]=!0x0;}),_0xf4c749=this[_0x468009(0x25d)][_0x468009(0xb4)]['subscribeEvent'](()=>{const _0x10b5b3=_0x468009;this['_hideTimer']&&clearTimeout(this[_0x10b5b3(0x14f)]),this[_0x10b5b3(0x14f)]=setTimeout(()=>{const _0x4bab3b=_0x10b5b3;this[_0x4bab3b(0x219)]=!0x1;},0x7d0);});return()=>{_0x571e41['unsubscribe'](),_0xf4c749['unsubscribe']();};}[_0x568c59(0x1b0)](_0x5cdd72,_0x3f6c32,_0x46e403,_0x4797cc){const _0x3c7abf=_0x568c59,_0x135f59=new _0x4b176f['ColorKit'](_0x5cdd72)[_0x3c7abf(0xf3)](0.2)[_0x3c7abf(0x1ed)](),_0x422cf1=new _0x517da6[(_0x3c7abf(0x281))](_0x2c0825+_0x4b176f[_0x3c7abf(0x22e)](_0x43bf1e),{'pointsGroup':_0x3f6c32,'fill':_0x135f59||_0x517da6[_0x3c7abf(0x15c)](_0x4b176f[_0x3c7abf(0xae)][_0x3c7abf(0x246)],0.2),'left':_0x46e403,'top':_0x4797cc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3c7abf(0x2e8)][_0x3c7abf(0x1cc)](_0x422cf1),this[_0x3c7abf(0x301)]['addObject'](_0x422cf1,_0x5f0c77[_0x3c7abf(0xa0)]);}[_0x568c59(0x15f)](_0x59f840,_0x26384e,_0x435584,_0x44b69d){const _0x3d057c=_0x568c59,_0x3fe02c=new _0x4b176f[(_0x3d057c(0x292))](_0x59f840)[_0x3d057c(0xf3)](0.2)[_0x3d057c(0x1ed)](),_0xddf071=new _0x517da6[(_0x3d057c(0x281))](_0x11e65f+_0x4b176f['generateRandomId'](_0x43bf1e),{'pointsGroup':_0x26384e,'fill':_0x3fe02c||_0x517da6['getColor'](_0x4b176f[_0x3d057c(0xae)]['black'],0.2),'left':_0x435584,'top':_0x44b69d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3d057c(0x1cc)](_0xddf071),this[_0x3d057c(0x301)][_0x3d057c(0x102)](_0xddf071,_0x5f0c77[_0x3d057c(0xa0)]);}[_0x568c59(0x121)](_0x41a536){const _0x3376e1=_0x41a536[0x0],_0x3ca364=_0x3376e1[0x0],_0x4b8cc1=_0x3376e1[0x2],{x:_0xadd302,y:_0x237372}=_0x3ca364,{x:_0x487d0f,y:_0xe00c11}=_0x4b8cc1;return{'left':_0xadd302,'top':_0x237372,'width':_0x487d0f-_0xadd302,'height':_0xe00c11-_0x237372};}[_0x568c59(0x2be)](){const _0x4da505=_0x568c59,{scaleX:_0x40f3ca,scaleY:_0x4dee50}=this['_scene'][_0x4da505(0xe3)]();return Math[_0x4da505(0x12e)](_0x40f3ca,_0x4dee50);}}var _0x19d6a8=Object[_0x568c59(0xf5)],_0x5ac40a=(_0x2a9660,_0x1932b0,_0x2e58a5,_0x5a2bff)=>{for(var _0x336ecb=_0x5a2bff>0x1?void 0x0:_0x5a2bff?_0x19d6a8(_0x1932b0,_0x2e58a5):_0x1932b0,_0x466643=_0x2a9660['length']-0x1,_0x313009;_0x466643>=0x0;_0x466643--)(_0x313009=_0x2a9660[_0x466643])&&(_0x336ecb=_0x313009(_0x336ecb)||_0x336ecb);return _0x336ecb;},_0x4b8ca1=(_0x2c63ef,_0x3044a0)=>(_0x30b68f,_0x296753)=>_0x3044a0(_0x30b68f,_0x296753,_0x2c63ef);let _0x578f3e=class extends _0x4b176f['RxDisposable']{constructor(_0x5476cc,_0x3b0f9b,_0x3a70b7,_0x416471,_0x20dda3){const _0x1fbe36=_0x568c59;super(),_0xe730d4(this,_0x1fbe36(0xb9),[]),_0xe730d4(this,_0x1fbe36(0x197),[]),(this[_0x1fbe36(0x2f2)]=_0x5476cc,this[_0x1fbe36(0x10f)]=_0x3b0f9b,this['_collabCursorController']=_0x3a70b7,this[_0x1fbe36(0x115)]=_0x416471,this['_themeService']=_0x20dda3,this[_0x1fbe36(0x129)]());}[_0x568c59(0x129)](){const _0x51c32a=_0x568c59,_0x2d39bd=this[_0x51c32a(0x2f2)][_0x51c32a(0x13a)],_0x3a7cb3=this[_0x51c32a(0x10f)];this[_0x51c32a(0x354)](_0x2d9524['combineLatest']([this[_0x51c32a(0x34d)][_0x51c32a(0x1fb)](_0x2d39bd),this[_0x51c32a(0x2a7)][_0x51c32a(0x2cf)]])[_0x51c32a(0x175)](_0x11f65e[_0x51c32a(0x27b)](([_0x50d772,_0x32d235])=>({'skeleton':_0x3a7cb3['getSkeleton'](),'cursors':[..._0x50d772[_0x51c32a(0x373)]()][_0x51c32a(0x23c)](_0x41472b=>({..._0x41472b,'color':this['_themeService'][_0x51c32a(0x325)](_0x41472b[_0x51c32a(0x135)])}))})))[_0x51c32a(0xe7)](_0x466482=>{const _0x415a07=_0x51c32a;if(this['_removeCollabCursors'](),_0x466482){const {skeleton:_0x381120,cursors:_0x52116c}=_0x466482;this[_0x415a07(0x29c)](_0x381120,_0x52116c);}})),this['_initResize'](),this[_0x51c32a(0x274)]();}['_updateCollabCursors'](_0x209378,_0x39aaf7){const _0x5a7f33=_0x568c59,{scene:_0x1cd50d,mainComponent:_0x4be5c}=this[_0x5a7f33(0x2f2)],_0x31ad0b=_0x39aaf7[_0x5a7f33(0x27b)](_0x2f8b0c=>new _0x4a4828(_0x2f8b0c,_0x1cd50d,_0x209378,_0x4be5c));this[_0x5a7f33(0xb9)]=_0x31ad0b,this[_0x5a7f33(0x197)]=_0x39aaf7;}[_0x568c59(0x19b)](){const _0x22b28a=_0x568c59;this[_0x22b28a(0x283)]();const {scene:_0x10bb61,mainComponent:_0x4afb7c}=this[_0x22b28a(0x2f2)],_0x486951=this[_0x22b28a(0x10f)]['getSkeleton'](),_0x301b36=this[_0x22b28a(0x197)][_0x22b28a(0x27b)](_0x1fa623=>new _0x4a4828(_0x1fa623,_0x10bb61,_0x486951,_0x4afb7c));this[_0x22b28a(0xb9)]=_0x301b36;}[_0x568c59(0x283)](){const _0x5c3dd2=_0x568c59;this['_cursorShapes']['forEach'](_0xfb101c=>_0xfb101c['dispose']()),this[_0x5c3dd2(0xb9)]=[];}['_initCommandExecutedListener'](){const _0x41983d=_0x568c59,_0x5b6564=[_0x5f0c77[_0x41983d(0x319)]['id']];this[_0x41983d(0x354)](this[_0x41983d(0x115)][_0x41983d(0xe9)](_0x47ac55=>{const _0x3bccaa=_0x41983d;_0x5b6564[_0x3bccaa(0x293)](_0x47ac55['id'])&&_0x47ac55[_0x3bccaa(0x2c3)]['unitId']===this[_0x3bccaa(0x2f2)][_0x3bccaa(0x13a)]&&this[_0x3bccaa(0x19b)]();}));}[_0x568c59(0x8e)](){const _0x32616c=_0x568c59;this[_0x32616c(0x354)](_0x4b176f['fromEventSubject'](this['_context'][_0x32616c(0x332)]['onTransformChange$'])[_0x32616c(0x175)](_0x11f65e['filter'](_0x35afb6=>_0x35afb6[_0x32616c(0x350)]===_0x517da6[_0x32616c(0x352)][_0x32616c(0x2ea)]),_0x11f65e['throttleTime'](0x10))[_0x32616c(0xe7)](()=>{const _0x53b12a=_0x32616c;this[_0x53b12a(0x19b)]();}));}};_0x578f3e=_0x5ac40a([_0x4b8ca1(0x1,_0x4b176f['Inject'](_0xb532ca[_0x568c59(0x28d)])),_0x4b8ca1(0x2,_0x4b176f[_0x568c59(0x36e)](_0x53db82)),_0x4b8ca1(0x3,_0x4b176f[_0x568c59(0x32b)]),_0x4b8ca1(0x4,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x223)]))],_0x578f3e);const _0x82d777=0x1,_0xa9e60e=1.5;class _0x2b40de extends _0x517da6[_0x568c59(0x1ad)]{constructor(_0x52d6b7,_0x161416){const _0x5981cf=_0x568c59;super(_0x52d6b7,_0x161416),_0xe730d4(this,'_color'),_0xe730d4(this,_0x5981cf(0x196),!0x1),_0xe730d4(this,_0x5981cf(0x20e)),_0xe730d4(this,_0x5981cf(0x248),''),_0xe730d4(this,_0x5981cf(0x198),_0x5981cf(0x311)),_0xe730d4(this,_0x5981cf(0x14b)),(_0x161416&&this['setShapeProps'](_0x161416),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x5981cf(0x32d)]({'hovered':!0x0})),this[_0x5981cf(0xb4)][_0x5981cf(0x318)](()=>this[_0x5981cf(0x32d)]({'hovered':!0x1})));}[_0x568c59(0x32d)](_0x31ca64){const _0x54efb0=_0x568c59;var _0x13cca5,_0x35327e,_0x5f2e36,_0x5ac359,_0x35e001,_0x5a1c02;this[_0x54efb0(0x34b)]=(_0x13cca5=_0x31ca64['color'])!=null?_0x13cca5:this['_color'],this['_hovered']=(_0x35327e=_0x31ca64[_0x54efb0(0x279)])!=null?_0x35327e:this[_0x54efb0(0x196)],this['_range']=(_0x5f2e36=_0x31ca64[_0x54efb0(0x209)])!=null?_0x5f2e36:this[_0x54efb0(0x20e)],this['_name']=(_0x5ac359=_0x31ca64[_0x54efb0(0x111)])!=null?_0x5ac359:this[_0x54efb0(0x248)],this[_0x54efb0(0x198)]=(_0x35e001=_0x31ca64[_0x54efb0(0x21a)])!=null?_0x35e001:this[_0x54efb0(0x198)],this[_0x54efb0(0x14b)]=(_0x5a1c02=_0x31ca64[_0x54efb0(0xbf)])!=null?_0x5a1c02:this[_0x54efb0(0x14b)],this[_0x54efb0(0x320)]({'width':_0x31ca64['width'],'height':_0x31ca64['height']});}[_0x568c59(0x31d)](_0x2b14e5){const _0x54ff90=_0x568c59,{row:_0x45bb9e,column:_0x212095}=_0x2b14e5;if(_0x45bb9e>=this[_0x54ff90(0x20e)]['startRow']&&_0x45bb9e<=this['_range'][_0x54ff90(0x126)]&&_0x212095>=this[_0x54ff90(0x20e)][_0x54ff90(0x13d)]&&_0x212095<=this[_0x54ff90(0x20e)][_0x54ff90(0xe6)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x54ff90(0x32d)]({'hovered':!0x1});}['triggerDblclick'](_0x2b1ed4){return!0x1;}[_0x568c59(0x32e)](_0x293359){const _0x5c36bc=_0x568c59;_0x517da6[_0x5c36bc(0x317)][_0x5c36bc(0x1f0)](_0x293359,{'width':this[_0x5c36bc(0x2f5)],'height':this['height'],'strokeWidth':_0xa9e60e,'stroke':this[_0x5c36bc(0x34b)],'evented':!0x1,'fill':this[_0x5c36bc(0x14b)]}),this['_hovered']&&(_0x293359[_0x5c36bc(0xdf)](),_0x293359[_0x5c36bc(0x30e)](0x1,0x0,0x0,0x1,this[_0x5c36bc(0x2f5)],this['_labelPosition']===_0x5c36bc(0x12d)?0x0:-_0x21a6a9),_0x1a0ab3[_0x5c36bc(0x1f0)](_0x293359,{'text':this[_0x5c36bc(0x248)],'color':this['_color']}),_0x293359[_0x5c36bc(0x24d)]());}}var _0x42b3d=Object['getOwnPropertyDescriptor'],_0x29b0df=(_0x4b012b,_0x444fbf,_0x41b040,_0x5584f3)=>{const _0x1832f0=_0x568c59;for(var _0x100be8=_0x5584f3>0x1?void 0x0:_0x5584f3?_0x42b3d(_0x444fbf,_0x41b040):_0x444fbf,_0x387936=_0x4b012b[_0x1832f0(0x261)]-0x1,_0x4c588a;_0x387936>=0x0;_0x387936--)(_0x4c588a=_0x4b012b[_0x387936])&&(_0x100be8=_0x4c588a(_0x100be8)||_0x100be8);return _0x100be8;},_0x7e96e1=(_0x5380,_0x1cc556)=>(_0x589fa8,_0x2a3ead)=>_0x1cc556(_0x589fa8,_0x2a3ead,_0x5380);const _0x45cea3=0x1389;let _0x4f696d=class extends _0x4b176f[_0x568c59(0x1ce)]{constructor(_0x25ef35,_0x1a01f1,_0xf1ee7d,_0x37b76f){const _0x4bdd=_0x568c59;super(),_0xe730d4(this,_0x4bdd(0x197),new Set()),_0xe730d4(this,_0x4bdd(0x1ef),null),(this['_context']=_0x25ef35,this[_0x4bdd(0x334)]=_0x1a01f1,this['_collabCursorController']=_0xf1ee7d,this[_0x4bdd(0x2a7)]=_0x37b76f,this['_init']());}[_0x568c59(0x129)](){const _0x2c5d66=_0x568c59;this[_0x2c5d66(0x334)][_0x2c5d66(0x18e)][_0x2c5d66(0x175)](_0x11f65e[_0x2c5d66(0x360)](this[_0x2c5d66(0x2c9)]),_0x11f65e[_0x2c5d66(0x14d)](_0x2f1350=>{const _0x399ca5=_0x2c5d66;if(_0x2f1350){const _0x154c07=_0x2f1350[_0x399ca5(0x353)];return _0x2d9524['combineLatest'](this[_0x399ca5(0x34d)][_0x399ca5(0x1fb)](this[_0x399ca5(0x2f2)][_0x399ca5(0x13a)]),this['_themeService'][_0x399ca5(0x2cf)])['pipe'](_0x11f65e[_0x399ca5(0x27b)](([_0x5402a3,_0x2ebe09])=>{const _0x56130b=_0x399ca5,_0x536e18=new Map();return _0x5402a3[_0x56130b(0x15e)]((_0xc571b5,_0x5bd700)=>{const _0x4ed3f2=_0x56130b;if(_0xc571b5[_0x4ed3f2(0x1e2)]===_0x154c07){const _0x422873={..._0xc571b5};_0x422873[_0x4ed3f2(0x135)]=this['_themeService'][_0x4ed3f2(0x325)](_0xc571b5[_0x4ed3f2(0x135)]),_0x536e18[_0x4ed3f2(0xd2)](_0x5bd700,_0x422873);}}),{'skeleton':_0x2f1350,'cursors':_0x536e18};}));}return _0x2d9524['of']({'skeleton':null,'cursors':new Map()});}))[_0x2c5d66(0xe7)](({skeleton:_0x1e9cd1,cursors:_0x1c23da})=>{const _0x52a66c=_0x2c5d66;this['_removeCollabCursors'](),_0x1e9cd1&&this[_0x52a66c(0x29c)](_0x1e9cd1,_0x1c23da);}),this['_sheetSkeletonManagerService'][_0x2c5d66(0x18e)][_0x2c5d66(0xe7)](_0x1a42b7=>{const _0x5418cc=_0x2c5d66;if(_0x1a42b7==null)return;const {skeleton:_0x31488a}=_0x1a42b7,{scene:_0x2404d7}=this[_0x5418cc(0x2f2)];_0x2404d7[_0x5418cc(0x2da)][_0x5418cc(0x318)](_0x4b176f[_0x5418cc(0x208)](_0x3d3831=>{const _0xae0b8c=_0x5418cc;var _0x5634bf,_0x4ee74a;const {offsetX:_0x1c0faa,offsetY:_0x249a82}=_0x3d3831,{x:_0x1f77ee,y:_0x130572}=_0x2404d7[_0xae0b8c(0x1c9)](_0x517da6[_0xae0b8c(0x168)][_0xae0b8c(0x36a)]([_0x1c0faa,_0x249a82])),{scaleX:_0x4a468a,scaleY:_0x2078ba}=_0x2404d7[_0xae0b8c(0xe3)](),_0x21608b=_0x2404d7[_0xae0b8c(0x260)](_0x517da6[_0xae0b8c(0xbc)]['VIEW_MAIN']),_0x49a04a=_0x2404d7[_0xae0b8c(0x122)](_0x517da6[_0xae0b8c(0x168)]['FromArray']([_0x1f77ee,_0x130572]),_0x21608b),_0x57d07d=_0x31488a['getCellPositionByOffset'](_0x1c0faa,_0x249a82,_0x4a468a,_0x2078ba,_0x49a04a);((_0x5634bf=this[_0xae0b8c(0x1ef)])==null?void 0x0:_0x5634bf[_0xae0b8c(0x2eb)])===_0x57d07d['column']&&((_0x4ee74a=this[_0xae0b8c(0x1ef)])==null?void 0x0:_0x4ee74a[_0xae0b8c(0x10e)])===_0x57d07d[_0xae0b8c(0x10e)]||this[_0xae0b8c(0x197)][_0xae0b8c(0x15e)](_0x2030b9=>{const _0xf8203a=_0xae0b8c;_0x2030b9[_0xf8203a(0x31d)](_0x57d07d);});},0x64));});}[_0x568c59(0x29c)](_0x499ba9,_0x4b801f){const _0x57db35=_0x568c59;var _0x22bf98;const _0x1e2178=(_0x22bf98=this[_0x57db35(0x334)][_0x57db35(0x137)]())==null?void 0x0:_0x22bf98[_0x57db35(0x15a)];if(!_0x1e2178)return;const _0x3f8353=this[_0x57db35(0x262)]();if(!_0x3f8353)return;this[_0x57db35(0x197)][_0x57db35(0x15e)](_0x2df5f9=>{const _0x370964=_0x57db35;_0x2df5f9[_0x370964(0x12c)]();});const {scene:_0x5d3493}=_0x3f8353,_0x27b3c9=_0x5b2156(Array[_0x57db35(0xd3)](_0x4b801f[_0x57db35(0x373)]()))[_0x57db35(0x27b)](_0x598536=>{const _0x4cd2e9=_0x57db35,{color:_0xb2545a,range:_0x238343,name:_0x4c5fce,selection:_0x4fd12b,sheetID:_0x57b6ba}=_0x598536,{startColumn:_0x5bd3fa,startRow:_0x2aa605,endColumn:_0xa84623,endRow:_0x59ee31}=_0x238343,_0x440a6f=_0x17a370[_0x4cd2e9(0x1d3)](_0x2aa605,_0x5bd3fa,_0x5d3493,_0x1e2178),_0x2ddaec=_0x17a370['getCoordByCell'](_0x59ee31,_0xa84623,_0x5d3493,_0x1e2178),{columnHeaderHeightAndMarginTop:_0x35f92d}=_0x1e2178,{startX:_0xccbf,startY:_0x5d66c1}=_0x440a6f,{endX:_0x258596,endY:_0x358ea4}=_0x2ddaec,_0x624a90=_0x258596-_0xccbf,_0xbab199=_0x358ea4-_0x5d66c1,_0x548b20={'labelPosition':_0x5d66c1-_0x35f92d>=_0x21a6a9?_0x4cd2e9(0x311):_0x4cd2e9(0x12d),'sheetID':_0x57b6ba,'range':_0x238343,'color':_0xb2545a,'name':_0x4c5fce,'selection':_0x4fd12b,'left':_0xccbf,'top':_0x5d66c1,'width':_0x624a90,'height':_0xbab199,'evented':!0x1,'zIndex':_0x45cea3};return new _0x2b40de(_0x4c5fce,_0x548b20);});_0x5d3493[_0x57db35(0x2fb)](_0x27b3c9,_0x82d777),this[_0x57db35(0x197)]=new Set(_0x27b3c9);}['_removeCollabCursors'](){const _0x11ddeb=_0x568c59;var _0x1415f8;(_0x1415f8=this[_0x11ddeb(0x197)])==null||_0x1415f8[_0x11ddeb(0x15e)](_0x23e15e=>_0x23e15e[_0x11ddeb(0x106)]());}[_0x568c59(0x262)](){const _0x2478e8=_0x568c59;return _0x17a370['getSheetObject'](this[_0x2478e8(0x2f2)][_0x2478e8(0x1ba)],this[_0x2478e8(0x2f2)]);}};_0x4f696d=_0x29b0df([_0x7e96e1(0x1,_0x4b176f['Inject'](_0x17a370['SheetSkeletonManagerService'])),_0x7e96e1(0x2,_0x4b176f[_0x568c59(0x36e)](_0x53db82)),_0x7e96e1(0x3,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x223)]))],_0x4f696d);function _0x5b2156(_0x1aa52b){const _0x5e00d3=_0x568c59,_0x2a7369=new Map();return _0x1aa52b[_0x5e00d3(0x15e)](_0x48db34=>{const _0x115d1a=_0x5e00d3;if(_0x2a7369[_0x115d1a(0x268)](_0x48db34[_0x115d1a(0x13c)])){const _0x52c387=_0x2a7369[_0x115d1a(0x9e)](_0x48db34[_0x115d1a(0x13c)]);_0x52c387[_0x115d1a(0x111)]+=',\x20'+_0x48db34['name'];}else _0x2a7369[_0x115d1a(0xd2)](_0x48db34['selection'],_0x48db34);}),Array[_0x5e00d3(0xd3)](_0x2a7369['values']());}var _0x31250e=Object[_0x568c59(0xf5)],_0x344602=(_0x2b8466,_0x2ec0bf,_0x553ab9,_0xa1b141)=>{const _0x2ed923=_0x568c59;for(var _0x549240=_0xa1b141>0x1?void 0x0:_0xa1b141?_0x31250e(_0x2ec0bf,_0x553ab9):_0x2ec0bf,_0x239d95=_0x2b8466[_0x2ed923(0x261)]-0x1,_0x2b029c;_0x239d95>=0x0;_0x239d95--)(_0x2b029c=_0x2b8466[_0x239d95])&&(_0x549240=_0x2b029c(_0x549240)||_0x549240);return _0x549240;},_0x409624=(_0x3e8468,_0x4234e2)=>(_0x3f2447,_0x27775a)=>_0x4234e2(_0x3f2447,_0x27775a,_0x3e8468);let _0x32db3d=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x22cd61,_0x21666a,_0xa20e8d,_0x31cea6,_0x434412,_0x1e8fcc){const _0xf0fd2f=_0x568c59;super(),this[_0xf0fd2f(0x1da)]=_0x22cd61,this[_0xf0fd2f(0xba)]=_0x21666a,this['_collaborationUIEventService']=_0xa20e8d,this[_0xf0fd2f(0xe1)]=_0x31cea6,this[_0xf0fd2f(0x28a)]=_0x434412,this[_0xf0fd2f(0x234)]=_0x1e8fcc,this[_0xf0fd2f(0xe4)](),this[_0xf0fd2f(0x19e)]();}[_0x568c59(0xe4)](){const _0x3eaf77=_0x568c59;this[_0x3eaf77(0x354)](this[_0x3eaf77(0x1da)][_0x3eaf77(0x1b5)](()=>{const _0x2db9c3=_0x3eaf77;if(this[_0x2db9c3(0xba)][_0x2db9c3(0x8a)]['size'])return this[_0x2db9c3(0x234)]['t']('collaboration.offline-data-not-saved');}));}[_0x568c59(0x19e)](){const _0x3c1535=_0x568c59;this['disposeWithMe'](this['_collaborationUIEventService'][_0x3c1535(0x12a)]['subscribe'](_0xbd4b2f=>{const _0x33c956=_0x3c1535;_0xbd4b2f['id']===_0x497c74[_0x33c956(0x2b1)]['OTHER_CLIENT_EDITING']&&this[_0x33c956(0xe1)][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0xf4)],'content':this[_0x33c956(0x234)]['t']('collaboration.single-unit.warning')}),_0xbd4b2f['id']===_0x497c74[_0x33c956(0x2b1)][_0x33c956(0x199)]&&this[_0x33c956(0xe1)][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0xf4)],'content':this[_0x33c956(0x234)]['t'](_0x33c956(0x370))}),_0xbd4b2f['id']===_0x497c74[_0x33c956(0x2b1)][_0x33c956(0x19f)]&&this['_notificationService']['show']({'title':this[_0x33c956(0x234)]['t'](_0x33c956(0x2b2)),'content':this['_localeService']['t'](_0x33c956(0x241)),'type':_0x33c956(0x11f),'duration':0x0}),_0xbd4b2f['id']===_0x497c74['CollaborationUIEventId']['CONFLICT']&&this['_messageService'][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0x2b6)],'content':this['_localeService']['t'](_0x33c956(0x370))+'('+_0xbd4b2f[_0x33c956(0x221)]+')'}),_0xbd4b2f['id']===_0x497c74['CollaborationUIEventId'][_0x33c956(0x343)]&&this[_0x33c956(0xe1)][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0xf4)],'content':this[_0x33c956(0x234)]['t'](_0xbd4b2f[_0x33c956(0x221)]||'')}),_0xbd4b2f['id']===_0x497c74[_0x33c956(0x2b1)][_0x33c956(0x32c)]&&this['_messageService']['show']({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0xf4)],'content':this[_0x33c956(0x234)]['t']('session.will-retry')}),_0xbd4b2f['id']===_0x497c74['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x33c956(0xe1)][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0x2b6)],'content':this[_0x33c956(0x234)]['t'](_0x33c956(0x35c))}),_0xbd4b2f['id']===_0x497c74['CollaborationUIEventId'][_0x33c956(0xc0)]&&this[_0x33c956(0xe1)][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0x2b6)],'content':this[_0x33c956(0x234)]['t'](_0x33c956(0xf6))});}));}};_0x32db3d=_0x344602([_0x409624(0x0,_0x48763f[_0x568c59(0x1c1)]),_0x409624(0x1,_0x497c74[_0x568c59(0x2ce)]),_0x409624(0x2,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x17f)])),_0x409624(0x3,_0x48763f[_0x568c59(0x356)]),_0x409624(0x4,_0x48763f[_0x568c59(0x216)]),_0x409624(0x5,_0x4b176f['Inject'](_0x4b176f[_0x568c59(0x94)]))],_0x32db3d);var _0x57136a=Object[_0x568c59(0xf5)],_0x41029f=(_0x49d23d,_0x4e7f94,_0x1abebd,_0x4303a0)=>{for(var _0x16fe17=_0x4303a0>0x1?void 0x0:_0x4303a0?_0x57136a(_0x4e7f94,_0x1abebd):_0x4e7f94,_0xb0b8d7=_0x49d23d['length']-0x1,_0x2d7b7f;_0xb0b8d7>=0x0;_0xb0b8d7--)(_0x2d7b7f=_0x49d23d[_0xb0b8d7])&&(_0x16fe17=_0x2d7b7f(_0x16fe17)||_0x16fe17);return _0x16fe17;},_0x513fe8=(_0x162bde,_0x549b2e)=>(_0xd1d2e1,_0x455563)=>_0x549b2e(_0xd1d2e1,_0x455563,_0x162bde);let _0x16e051=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x5757d9,_0x63253c,_0x1d4793,_0x42a57f){const _0x4e42f0=_0x568c59;super(),_0xe730d4(this,_0x4e42f0(0x31f)),(this['_injector']=_0x5757d9,this[_0x4e42f0(0x228)]=_0x63253c,this[_0x4e42f0(0x31a)]=_0x1d4793,this['_collaborationSessionService']=_0x42a57f,this[_0x4e42f0(0x129)]());}[_0x568c59(0x129)](){const _0x17b95e=_0x568c59;this[_0x17b95e(0x2c5)](),this[_0x17b95e(0x278)](),this[_0x17b95e(0x333)](),this[_0x17b95e(0x273)]();}[_0x568c59(0x273)](){const _0x2d75c9=_0x568c59;this[_0x2d75c9(0x354)](this[_0x2d75c9(0x259)][_0x2d75c9(0x10c)][_0x2d75c9(0xe7)](_0xa7a78f=>{const _0x30beea=_0x2d75c9;this['_memberID']=_0xa7a78f==null?void 0x0:_0xa7a78f[_0x30beea(0xde)];}));}[_0x568c59(0x2c5)](){const _0x406e2e=_0x568c59,_0x540890=_0x70db5b=>{const _0x28574b=_0x34b8;var _0x57c3b7;this['_uploadLog']('error',_0x28574b(0x369)+_0x70db5b['message']+_0x28574b(0x140)+_0x70db5b[_0x28574b(0x2cc)]+':'+_0x70db5b[_0x28574b(0x23d)]+':'+_0x70db5b[_0x28574b(0x185)]+'\x0a'+(((_0x57c3b7=_0x70db5b[_0x28574b(0x11f)])==null?void 0x0:_0x57c3b7[_0x28574b(0x351)])||''));};window[_0x406e2e(0x25b)](_0x406e2e(0x11f),_0x540890),this['disposeWithMe'](()=>{const _0x4708f8=_0x406e2e;window[_0x4708f8(0x1a0)]('error',_0x540890);});}[_0x568c59(0x278)](){const _0x563390=_0x568c59,_0x278260=_0x5c9fab=>{const _0x4330d0=_0x34b8;this[_0x4330d0(0x2ac)]('error',_0x4330d0(0x35a)+_0x5c9fab[_0x4330d0(0x347)]);};window[_0x563390(0x25b)](_0x563390(0x291),_0x278260),this[_0x563390(0x354)](()=>{const _0x4b69bb=_0x563390;window[_0x4b69bb(0x1a0)](_0x4b69bb(0x291),_0x278260);});}[_0x568c59(0x333)](){const _0x26806f=_0x568c59,_0x3f43cd=this[_0x26806f(0x31a)][_0x26806f(0x11f)][_0x26806f(0x2c0)](this[_0x26806f(0x31a)]);this['_logService'][_0x26806f(0x11f)]=(..._0x586f07)=>{const _0x1c06d2=_0x26806f,_0x45c03d=_0x586f07[_0x1c06d2(0x27b)](_0x12af6c=>_0x12af6c instanceof Error?_0x12af6c['message']+'\x0a'+_0x12af6c[_0x1c06d2(0x351)]:String(_0x12af6c))['join']('\x20');this[_0x1c06d2(0x2ac)](_0x1c06d2(0x11f),_0x1c06d2(0x17e)+_0x45c03d),_0x3f43cd(..._0x586f07);},this[_0x26806f(0x354)](()=>{const _0x14962a=_0x26806f;this[_0x14962a(0x31a)][_0x14962a(0x11f)]=_0x3f43cd;});}[_0x568c59(0x2ac)](_0x38c61d,_0x4db42f){const _0x439699=_0x568c59;try{const _0x241aff={'userId':this['_memberID'],'logLabel':_0x38c61d,'content':_0x4db42f};this['_httpService']['post'](_0x439699(0xc1),{'body':_0x241aff})[_0x439699(0x1f1)](()=>{});}catch{}}};_0x16e051=_0x41029f([_0x513fe8(0x0,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x2b0)])),_0x513fe8(0x1,_0x4b176f['Inject'](_0x542501[_0x568c59(0x28f)])),_0x513fe8(0x2,_0x4b176f[_0x568c59(0x344)]),_0x513fe8(0x3,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x29f)]))],_0x16e051);const _0x28fa25=_0x568c59(0x2d0),_0x1119c0={};var _0x3d83c2=Object[_0x568c59(0xf5)],_0x1e3963=(_0x30fba6,_0x7149da,_0x4f0b04,_0x492c50)=>{const _0x1cdf6b=_0x568c59;for(var _0x3c6a97=_0x492c50>0x1?void 0x0:_0x492c50?_0x3d83c2(_0x7149da,_0x4f0b04):_0x7149da,_0xf35b72=_0x30fba6[_0x1cdf6b(0x261)]-0x1,_0x595782;_0xf35b72>=0x0;_0xf35b72--)(_0x595782=_0x30fba6[_0xf35b72])&&(_0x3c6a97=_0x595782(_0x3c6a97)||_0x3c6a97);return _0x3c6a97;},_0x511c5a=(_0x33af04,_0xf41059)=>(_0x1b51a0,_0x53b2c6)=>_0xf41059(_0x1b51a0,_0x53b2c6,_0x33af04);let _0x32787b=class{constructor(_0x2341f9,_0x23c0f0){const _0x35bedd=_0x568c59;this[_0x35bedd(0x272)]=_0x2341f9,this[_0x35bedd(0x364)]=_0x23c0f0;}[_0x568c59(0x1ff)](_0x3017cf){const _0x2bfd06=_0x568c59;this['_transformUndoRedoStack'](_0x3017cf),this[_0x2bfd06(0x1d7)](_0x3017cf);}[_0x568c59(0x188)](_0xb1c492){const _0x2e6fb6=_0x568c59,{unitID:_0x4b62d2}=_0xb1c492,_0x442bd5=this['_renderManagerService']['getRenderById'](_0x4b62d2)[_0x2e6fb6(0x34e)](_0x5f0c77[_0x2e6fb6(0xd9)]),{redoCache:_0x454603}=_0x442bd5[_0x2e6fb6(0x159)]();if(_0x454603[_0x2e6fb6(0x261)]===0x0)return _0xb1c492;let _0x1b569f=_0x4b176f[_0x2e6fb6(0x282)]['deepClone'](_0xb1c492[_0x2e6fb6(0x1a9)][0x0]);for(let _0x27b5af=0x0;_0x27b5af<_0x454603[_0x2e6fb6(0x261)];_0x27b5af++){const _0x16ba51={'id':_0x2e6fb6(0x326),'params':{..._0x454603[_0x27b5af]}},_0x131de3=this[_0x2e6fb6(0x272)][_0x2e6fb6(0x1dd)](_0x1b569f,_0x16ba51,!0x1);if(_0x2cf75e['isTransformMutationFailure'](_0x131de3))throw _0x131de3[_0x2e6fb6(0x11f)];_0x1b569f=_0x131de3[_0x2e6fb6(0x31b)];}return{..._0x4b176f['Tools'][_0x2e6fb6(0x21f)](_0xb1c492),'mutations':[_0x1b569f]};}[_0x568c59(0x27d)](_0x2cdba7){const _0x178ec9=_0x568c59,{unitID:_0x266e74}=_0x2cdba7,_0x1e45e2=this[_0x178ec9(0x364)][_0x178ec9(0x1be)](_0x266e74)['with'](_0x5f0c77[_0x178ec9(0xd9)]),{undoCache:_0x11ea97,redoCache:_0x19c30c}=_0x1e45e2[_0x178ec9(0x159)]();if(_0x11ea97[_0x178ec9(0x261)]===0x0||_0x19c30c[_0x178ec9(0x261)]===0x0)return;const _0xfbc98a=[],_0x6d2bfa=[];let _0x3bc736=_0x4b176f[_0x178ec9(0x282)][_0x178ec9(0x21f)](_0x2cdba7[_0x178ec9(0x1a9)][0x0]),_0x1533de=_0x4b176f['Tools'][_0x178ec9(0x21f)](_0x2cdba7[_0x178ec9(0x1a9)][0x0]);for(let _0x4db40c=_0x11ea97[_0x178ec9(0x261)]-0x1;_0x4db40c>=0x0;_0x4db40c--){const _0x4b14c2={'id':'doc.mutation.rich-text-editing','params':{..._0x11ea97[_0x4db40c]}},_0x158adf={'id':'doc.mutation.rich-text-editing','params':{..._0x19c30c[_0x4db40c]}},_0x33d2d9=this[_0x178ec9(0x272)][_0x178ec9(0x1dd)](_0x3bc736,_0x4b14c2,!0x1),_0x39b929=this[_0x178ec9(0x272)]['transformMutation'](_0x1533de,_0x158adf,!0x1);if(_0x2cf75e[_0x178ec9(0x17a)](_0x33d2d9))throw _0x33d2d9['error'];if(_0x2cf75e[_0x178ec9(0x17a)](_0x39b929))throw _0x39b929[_0x178ec9(0x11f)];_0xfbc98a[_0x178ec9(0x8d)](_0x33d2d9[_0x178ec9(0x1d5)][_0x178ec9(0x2c3)]),_0x6d2bfa[_0x178ec9(0x8d)](_0x39b929[_0x178ec9(0x1d5)][_0x178ec9(0x2c3)]),_0x3bc736=_0x33d2d9[_0x178ec9(0x31b)],_0x1533de=_0x39b929[_0x178ec9(0x31b)];}_0x1e45e2[_0x178ec9(0x1bf)]({'undoCache':_0xfbc98a,'redoCache':_0x6d2bfa});}[_0x568c59(0x1d7)](_0x3f574f){const _0x457708=_0x568c59,{unitID:_0x38a70f}=_0x3f574f,_0x553191=this[_0x457708(0x364)][_0x457708(0x1be)](_0x38a70f)[_0x457708(0x34e)](_0x5f0c77['DocIMEInputManagerService']),_0x67b920=_0x553191[_0x457708(0x33d)]();if(_0x67b920==null)return;const _0x3e2b4e=[{'id':_0x457708(0x326),'params':{'unitId':_0x3f574f[_0x457708(0xff)],'actions':null,'textRanges':[_0x67b920]}}],_0x496892=this['_transformService'][_0x457708(0x2e0)](_0x3f574f,_0x3e2b4e);if(!_0x2cf75e[_0x457708(0x156)](_0x496892))throw _0x496892['error'];const _0x14b24c=_0x496892[_0x457708(0x1d5)][0x0][_0x457708(0x2c3)][_0x457708(0x1a4)];Array[_0x457708(0x2f4)](_0x14b24c)&&_0x14b24c['length']&&_0x553191['setActiveRange'](_0x14b24c[0x0]);}};_0x32787b=_0x1e3963([_0x511c5a(0x0,_0x2cf75e[_0x568c59(0x2ef)]),_0x511c5a(0x1,_0x517da6[_0x568c59(0x264)])],_0x32787b);var _0x66e15e=Object['getOwnPropertyDescriptor'],_0x35aef2=(_0x598ebd,_0x478a88,_0x4018be,_0x47b746)=>{const _0x24e29f=_0x568c59;for(var _0x3ca2ea=_0x47b746>0x1?void 0x0:_0x47b746?_0x66e15e(_0x478a88,_0x4018be):_0x478a88,_0x1b1b87=_0x598ebd[_0x24e29f(0x261)]-0x1,_0x9f8f6;_0x1b1b87>=0x0;_0x1b1b87--)(_0x9f8f6=_0x598ebd[_0x1b1b87])&&(_0x3ca2ea=_0x9f8f6(_0x3ca2ea)||_0x3ca2ea);return _0x3ca2ea;},_0x10cdb3=(_0x43377d,_0x1884f9)=>(_0x39984b,_0x2b78b9)=>_0x1884f9(_0x39984b,_0x2b78b9,_0x43377d);let _0x45c595=class{constructor(_0x4ec0b9,_0x584c05,_0x59977d){const _0x317657=_0x568c59;this[_0x317657(0x148)]=_0x4ec0b9,this['_transformService']=_0x584c05,this[_0x317657(0xcd)]=_0x59977d;}['transformStateCache'](_0x286d9f){const _0x4ab5a6=_0x568c59;this[_0x4ab5a6(0x101)](_0x286d9f);}[_0x568c59(0x188)](_0x35f8ad){const _0x549678=_0x568c59,{unitID:_0x22bcd3}=_0x35f8ad,{collaboration:_0xa5fa12}=this[_0x549678(0xcd)][_0x549678(0x2fc)](_0x22bcd3);if(_0xa5fa12[_0x549678(0x261)]===0x0)return _0x35f8ad;let _0x2684d5=_0x4b176f['Tools']['deepClone'](_0x35f8ad[_0x549678(0x1a9)][0x0]);for(let _0x4ffbc9=0x0;_0x4ffbc9<_0xa5fa12['length'];_0x4ffbc9++){const _0x335298={'id':_0x549678(0x326),'params':{'unitId':_0xa5fa12[_0x4ffbc9][_0x549678(0x13a)],..._0xa5fa12[_0x4ffbc9][_0x549678(0x1d0)]}},_0xabd955=this[_0x549678(0x272)]['transformMutation'](_0x2684d5,_0x335298,!0x1);if(_0x2cf75e[_0x549678(0x17a)](_0xabd955))throw _0xabd955[_0x549678(0x11f)];_0x2684d5=_0xabd955['m1Prime'];}return{..._0x4b176f['Tools'][_0x549678(0x21f)](_0x35f8ad),'mutations':[_0x2684d5]};}[_0x568c59(0x101)](_0x458411){const _0x271961=_0x568c59,{unitID:_0x5bda90}=_0x458411,{history:_0x4aceed,collaboration:_0x2e4c29}=this[_0x271961(0xcd)]['getStateCache'](_0x5bda90);if(_0x4aceed[_0x271961(0x261)]===0x0&&_0x2e4c29[_0x271961(0x261)]===0x0)return;const _0x88d731=[],_0x22677e=[];let _0x4a5f4b=_0x4b176f[_0x271961(0x282)][_0x271961(0x21f)](_0x458411['mutations'][0x0]),_0x10c596=_0x4b176f[_0x271961(0x282)][_0x271961(0x21f)](_0x458411['mutations'][0x0]);for(let _0x1b3e2c=_0x4aceed[_0x271961(0x261)]-0x1;_0x1b3e2c>=0x0;_0x1b3e2c--){const _0x381f8f={'id':_0x271961(0x326),'params':{'unitId':_0x4aceed[_0x1b3e2c][_0x271961(0x13a)],..._0x4aceed[_0x1b3e2c][_0x271961(0xb7)]}},_0x4aa288={'id':_0x271961(0x326),'params':{'unitId':_0x4aceed[_0x1b3e2c][_0x271961(0x13a)],..._0x4aceed[_0x1b3e2c]['redoState']}},_0xbea3c=this[_0x271961(0x272)][_0x271961(0x1dd)](_0x4a5f4b,_0x381f8f,!0x1),_0x2b0619=this['_transformService'][_0x271961(0x1dd)](_0x10c596,_0x4aa288,!0x1);if(_0x2cf75e['isTransformMutationFailure'](_0xbea3c))throw _0xbea3c[_0x271961(0x11f)];if(_0x2cf75e[_0x271961(0x17a)](_0x2b0619))throw _0x2b0619['error'];_0x88d731[_0x271961(0x8d)]({..._0x4aceed[_0x1b3e2c],'undoState':_0xbea3c[_0x271961(0x1d5)]['params'],'redoState':_0x2b0619[_0x271961(0x1d5)]['params']}),_0x4a5f4b=_0xbea3c[_0x271961(0x31b)],_0x10c596=_0x2b0619['m1Prime'];}_0x4a5f4b=_0x4b176f[_0x271961(0x282)]['deepClone'](_0x458411[_0x271961(0x1a9)][0x0]),_0x10c596=_0x4b176f[_0x271961(0x282)]['deepClone'](_0x458411[_0x271961(0x1a9)][0x0]);for(let _0x3ab5dc=_0x2e4c29[_0x271961(0x261)]-0x1;_0x3ab5dc>=0x0;_0x3ab5dc--){const _0x1fc2aa={'id':_0x271961(0x326),'params':{'unitId':_0x2e4c29[_0x3ab5dc][_0x271961(0x13a)],..._0x2e4c29[_0x3ab5dc][_0x271961(0xb7)]}},_0x29871e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2e4c29[_0x3ab5dc][_0x271961(0x13a)],..._0x2e4c29[_0x3ab5dc][_0x271961(0x1d0)]}},_0x2fdb44=this[_0x271961(0x272)][_0x271961(0x1dd)](_0x4a5f4b,_0x1fc2aa,!0x1),_0x45708c=this[_0x271961(0x272)][_0x271961(0x1dd)](_0x10c596,_0x29871e,!0x1);if(_0x2cf75e['isTransformMutationFailure'](_0x2fdb44))throw _0x2fdb44[_0x271961(0x11f)];if(_0x2cf75e[_0x271961(0x17a)](_0x45708c))throw _0x45708c[_0x271961(0x11f)];_0x22677e[_0x271961(0x8d)]({..._0x2e4c29[_0x3ab5dc],'undoState':_0x2fdb44[_0x271961(0x1d5)][_0x271961(0x2c3)],'redoState':_0x45708c[_0x271961(0x1d5)][_0x271961(0x2c3)]}),_0x4a5f4b=_0x2fdb44[_0x271961(0x31b)],_0x10c596=_0x45708c['m1Prime'];}this['_docStateChangeManagerService']['setStateCache'](_0x5bda90,{'history':_0x88d731,'collaboration':_0x22677e});}};_0x45c595=_0x35aef2([_0x10cdb3(0x0,_0x4b176f['Inject'](_0x4b176f[_0x568c59(0x2b0)])),_0x10cdb3(0x1,_0x2cf75e[_0x568c59(0x2ef)]),_0x10cdb3(0x2,_0x4b176f[_0x568c59(0x36e)](_0x5f0c77[_0x568c59(0x153)]))],_0x45c595);var _0x2b703f=Object['getOwnPropertyDescriptor'],_0x6c757f=(_0x1c93dc,_0x36b644,_0x363dbd,_0x1c9a8f)=>{const _0x54939a=_0x568c59;for(var _0x16c090=_0x1c9a8f>0x1?void 0x0:_0x1c9a8f?_0x2b703f(_0x36b644,_0x363dbd):_0x36b644,_0x55df3f=_0x1c93dc[_0x54939a(0x261)]-0x1,_0x52b270;_0x55df3f>=0x0;_0x55df3f--)(_0x52b270=_0x1c93dc[_0x55df3f])&&(_0x16c090=_0x52b270(_0x16c090)||_0x16c090);return _0x16c090;},_0x1b4705=(_0x48116a,_0x4f631d)=>(_0x63a405,_0x59465c)=>_0x4f631d(_0x63a405,_0x59465c,_0x48116a);let _0x4ac300=class{constructor(_0x2a8f94,_0x28eaf8){const _0x42fc30=_0x568c59;this[_0x42fc30(0x148)]=_0x2a8f94,this[_0x42fc30(0x272)]=_0x28eaf8;}[_0x568c59(0x9c)](_0x5a22c0){const _0x2d4789=_0x568c59;var _0x4fb676;const _0x1db3d0=this[_0x2d4789(0x148)]['get'](_0xb532ca[_0x2d4789(0x1f9)]),_0x4ac941=(_0x4fb676=_0x1db3d0[_0x2d4789(0x192)]())!=null?_0x4fb676:[];if(_0x4ac941[_0x2d4789(0x261)]===0x0)return;const _0x421190=_0x5a22c0['unitID'],_0x456a7d=[{'id':_0x2d4789(0x326),'params':{'unitId':_0x421190,'actions':null,'textRanges':_0x4ac941}}],_0x259606=this[_0x2d4789(0x272)][_0x2d4789(0x2e0)](_0x5a22c0,_0x456a7d);if(!_0x2cf75e[_0x2d4789(0x156)](_0x259606))throw _0x259606['error'];const _0x52b96b=_0x259606[_0x2d4789(0x1d5)][0x0][_0x2d4789(0x2c3)]['textRanges'];Array[_0x2d4789(0x2f4)](_0x52b96b)&&_0x52b96b[_0x2d4789(0x261)]&&_0x1db3d0[_0x2d4789(0x11e)](_0x52b96b,{'unitId':_0x421190,'subUnitId':_0x421190},!0x1);}};_0x4ac300=_0x6c757f([_0x1b4705(0x0,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x2b0)])),_0x1b4705(0x1,_0x2cf75e[_0x568c59(0x2ef)])],_0x4ac300);var _0x3d75dd=Object[_0x568c59(0xf5)],_0x1c45a1=(_0x42f74f,_0xacd1f2,_0x1ee466,_0x4196bc)=>{const _0x6c8c23=_0x568c59;for(var _0x3b2246=_0x4196bc>0x1?void 0x0:_0x4196bc?_0x3d75dd(_0xacd1f2,_0x1ee466):_0xacd1f2,_0x3404b8=_0x42f74f[_0x6c8c23(0x261)]-0x1,_0x587d36;_0x3404b8>=0x0;_0x3404b8--)(_0x587d36=_0x42f74f[_0x3404b8])&&(_0x3b2246=_0x587d36(_0x3b2246)||_0x3b2246);return _0x3b2246;},_0x3c478a=(_0x3511e7,_0x4a21f0)=>(_0x57e6e8,_0x20db5a)=>_0x4a21f0(_0x57e6e8,_0x20db5a,_0x3511e7);let _0x1c4ddb=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x2d6d81,_0x290c85,_0xb5ffe1,_0x48d629,_0x380bee,_0x1824fe,_0x3e0be3,_0x42d866){const _0x428985=_0x568c59;super(),_0xe730d4(this,_0x428985(0x366),new _0x2d9524['BehaviorSubject'](_0x497c74['CollaborationStatus'][_0x428985(0x1fc)])),(this['_docStateChangeManagerService']=_0x2d6d81,this[_0x428985(0x105)]=_0x290c85,this[_0x428985(0x2fe)]=_0xb5ffe1,this['_docTransformStateCacheService']=_0x48d629,this[_0x428985(0x97)]=_0x380bee,this['_docSyncEditingCollabCursorService']=_0x1824fe,this['_messageService']=_0x3e0be3,this[_0x428985(0x234)]=_0x42d866,this[_0x428985(0x1eb)]());}[_0x568c59(0x1eb)](){const _0x196c77=_0x568c59;this[_0x196c77(0x354)](this[_0x196c77(0x105)][_0x196c77(0x2ad)][_0x196c77(0xe7)](_0x267e6f=>{const _0x4732ad=_0x196c77,_0x102230=this[_0x4732ad(0xcd)][_0x4732ad(0x2a6)][_0x4732ad(0xe7)](_0x5749fc=>{const _0x17d1cc=_0x4732ad;if(_0x5749fc==null)return;const {unitId:_0x99d716,redoState:_0x1b2c87,commandId:_0x46a427}=_0x5749fc;if(_0x99d716!==_0x267e6f['unitID'])return;const _0x231f10={'id':_0x46a427,'type':_0x4b176f[_0x17d1cc(0x2e5)][_0x17d1cc(0x164)],'params':{'unitId':_0x99d716,'actions':_0x1b2c87[_0x17d1cc(0x1c8)],'textRanges':null}};_0x267e6f[_0x17d1cc(0x299)](_0x231f10);});if(_0x267e6f[_0x4732ad(0x354)](_0x102230),_0x267e6f instanceof _0x497c74[_0x4732ad(0xc7)]){const _0x587dc6={'onTransformIME':_0x1236e2=>this['_docTransformIMECacheService'][_0x4732ad(0x1ff)](_0x1236e2),'onTransformState':_0x200e11=>this[_0x4732ad(0x1dc)]['transformStateCache'](_0x200e11),'onTransformSelections':_0x2ec78d=>this['_docTransformSelectionsService'][_0x4732ad(0x9c)](_0x2ec78d),'onSyncEditingCollabCursor':_0x164309=>this[_0x4732ad(0x180)]['syncEditingCollabCursor'](_0x164309),'onTransformRemoteChangesetByIMECache':_0x4b88c2=>this[_0x4732ad(0x2fe)][_0x4732ad(0x188)](_0x4b88c2),'onTransformRemoteChangesetByStateCache':_0x534fc6=>this[_0x4732ad(0x1dc)]['transformRemoteChangeset'](_0x534fc6)};_0x267e6f[_0x4732ad(0x1fd)](_0x587dc6);}}));}};_0x1c4ddb=_0x1c45a1([_0x3c478a(0x0,_0x4b176f[_0x568c59(0x36e)](_0x5f0c77[_0x568c59(0x153)])),_0x3c478a(0x1,_0x4b176f['Inject'](_0x497c74[_0x568c59(0x172)])),_0x3c478a(0x2,_0x4b176f[_0x568c59(0x36e)](_0x32787b)),_0x3c478a(0x3,_0x4b176f[_0x568c59(0x36e)](_0x45c595)),_0x3c478a(0x4,_0x4b176f[_0x568c59(0x36e)](_0x4ac300)),_0x3c478a(0x5,_0x4b176f[_0x568c59(0x36e)](_0x510ecb)),_0x3c478a(0x6,_0x48763f[_0x568c59(0x356)]),_0x3c478a(0x7,_0x4b176f[_0x568c59(0x36e)](_0x4b176f['LocaleService']))],_0x1c4ddb);var _0x5502e6=(_0xa98f1=>(_0xa98f1[_0xa98f1['UNDEFINED']=0x0]=_0x568c59(0x227),_0xa98f1[_0xa98f1['OK']=0x1]='OK',_0xa98f1[_0xa98f1[_0x568c59(0x1e6)]=0x2]=_0x568c59(0x1e6),_0xa98f1[_0xa98f1[_0x568c59(0x19f)]=0x3]=_0x568c59(0x19f),_0xa98f1[_0xa98f1['NOT_FOUND']=0x4]=_0x568c59(0x27c),_0xa98f1[_0xa98f1[_0x568c59(0x20a)]=0x5]=_0x568c59(0x20a),_0xa98f1[_0xa98f1[_0x568c59(0x145)]=0x6]=_0x568c59(0x145),_0xa98f1[_0xa98f1[_0x568c59(0xd8)]=0x7]=_0x568c59(0xd8),_0xa98f1[_0xa98f1[_0x568c59(0x99)]=0x8]=_0x568c59(0x99),_0xa98f1[_0xa98f1[_0x568c59(0xb5)]=0x9]=_0x568c59(0xb5),_0xa98f1[_0xa98f1[_0x568c59(0x1c6)]=0xa]='LOGIN_FAILED',_0xa98f1[_0xa98f1[_0x568c59(0x271)]=0xb]=_0x568c59(0x271),_0xa98f1[_0xa98f1[_0x568c59(0x256)]=0xc]=_0x568c59(0x256),_0xa98f1[_0xa98f1[_0x568c59(0x21c)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xa98f1[_0xa98f1[_0x568c59(0x339)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xa98f1[_0xa98f1['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0xa98f1[_0xa98f1[_0x568c59(0x36b)]=0x10]=_0x568c59(0x36b),_0xa98f1[_0xa98f1[_0x568c59(0x329)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0xa98f1[_0xa98f1['ERROR_AGAIN']=0x65]=_0x568c59(0x128),_0xa98f1[_0xa98f1[_0x568c59(0x17d)]=0xc9]=_0x568c59(0x17d),_0xa98f1[_0xa98f1[_0x568c59(0x327)]=0xca]=_0x568c59(0x327),_0xa98f1[_0xa98f1[_0x568c59(0x2b3)]=0x1389]=_0x568c59(0x2b3),_0xa98f1[_0xa98f1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x568c59(0x93),_0xa98f1[_0xa98f1['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x568c59(0x14e),_0xa98f1[_0xa98f1[_0x568c59(0x35e)]=0x1773]=_0x568c59(0x35e),_0xa98f1[_0xa98f1[_0x568c59(0x1e7)]=0x1b59]=_0x568c59(0x1e7),_0xa98f1[_0xa98f1[_0x568c59(0x95)]=0x1b5a]=_0x568c59(0x95),_0xa98f1[_0xa98f1['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x568c59(0x1e5),_0xa98f1[_0xa98f1['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x568c59(0x20c),_0xa98f1[_0xa98f1[_0x568c59(0x265)]=0x1b5d]='APPLY_DUPLICATED',_0xa98f1[_0xa98f1[_0x568c59(0x179)]=0x1f41]=_0x568c59(0x179),_0xa98f1[_0xa98f1['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0xa98f1[_0xa98f1[_0x568c59(0x1ab)]=0x232a]=_0x568c59(0x1ab),_0xa98f1[_0xa98f1[_0x568c59(0x2c8)]=0x232b]=_0x568c59(0x2c8),_0xa98f1[_0xa98f1['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x568c59(0x2ae),_0xa98f1[_0xa98f1['LICENSE_DISTRO_REJECTED']=0x232d]=_0x568c59(0x1cb),_0xa98f1[_0xa98f1[_0x568c59(0x98)]=0x2711]=_0x568c59(0x98),_0xa98f1[_0xa98f1[_0x568c59(0x363)]=0x2712]=_0x568c59(0x363),_0xa98f1[_0xa98f1[_0x568c59(0x36c)]=0x2713]=_0x568c59(0x36c),_0xa98f1[_0xa98f1[_0x568c59(0x340)]=0x2714]=_0x568c59(0x340),_0xa98f1[_0xa98f1[_0x568c59(0x24e)]=0x271a]=_0x568c59(0x24e),_0xa98f1[_0xa98f1[_0x568c59(0x205)]=0x271b]=_0x568c59(0x205),_0xa98f1[_0xa98f1[_0x568c59(0x296)]=0x271c]=_0x568c59(0x296),_0xa98f1[_0xa98f1[_0x568c59(0xf0)]=0x271d]=_0x568c59(0xf0),_0xa98f1[_0xa98f1[_0x568c59(0x19c)]=0x271e]=_0x568c59(0x19c),_0xa98f1[_0xa98f1[_0x568c59(0x143)]=0x271f]=_0x568c59(0x143),_0xa98f1[_0xa98f1[_0x568c59(0x181)]=0x2720]=_0x568c59(0x181),_0xa98f1[_0xa98f1[_0x568c59(0x182)]=0x2af9]=_0x568c59(0x182),_0xa98f1[_0xa98f1[_0x568c59(0x27f)]=0x2ee1]=_0x568c59(0x27f),_0xa98f1[_0xa98f1[_0x568c59(0x232)]=0x2ee2]=_0x568c59(0x232),_0xa98f1[_0xa98f1[_0x568c59(0x203)]=0x2ee3]=_0x568c59(0x203),_0xa98f1[_0xa98f1[_0x568c59(0x177)]=0x2ee4]=_0x568c59(0x177),_0xa98f1[_0xa98f1[_0x568c59(0xb8)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xa98f1[_0xa98f1['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0xa98f1[_0xa98f1[_0x568c59(0x30a)]=0x32ca]=_0x568c59(0x30a),_0xa98f1[_0xa98f1[_0x568c59(0x303)]=0x32cb]=_0x568c59(0x303),_0xa98f1[_0xa98f1[_0x568c59(0x108)]=0x36b1]=_0x568c59(0x108),_0xa98f1[_0xa98f1[_0x568c59(0x127)]=0x36b2]=_0x568c59(0x127),_0xa98f1[_0xa98f1[_0x568c59(0x8b)]=0x36b3]=_0x568c59(0x8b),_0xa98f1[_0xa98f1[_0x568c59(0x224)]=0x36b4]=_0x568c59(0x224),_0xa98f1[_0xa98f1[_0x568c59(0x258)]=0x36b5]=_0x568c59(0x258),_0xa98f1[_0xa98f1[_0x568c59(0xd0)]=0x36b6]=_0x568c59(0xd0),_0xa98f1[_0xa98f1[_0x568c59(0x2d7)]=0x36b7]=_0x568c59(0x2d7),_0xa98f1[_0xa98f1[_0x568c59(0x2dd)]=0x36b8]=_0x568c59(0x2dd),_0xa98f1[_0xa98f1[_0x568c59(0x211)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0xa98f1[_0xa98f1[_0x568c59(0xd4)]=0x3716]=_0x568c59(0xd4),_0xa98f1[_0xa98f1[_0x568c59(0x34a)]=0x3717]=_0x568c59(0x34a),_0xa98f1[_0xa98f1[_0x568c59(0x2c4)]=0x37dd]=_0x568c59(0x2c4),_0xa98f1[_0xa98f1['REDEMPTION_INVALID_CODE']=0x3a99]=_0x568c59(0x328),_0xa98f1[_0xa98f1['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0xa98f1[_0xa98f1[_0x568c59(0x176)]=0x3a9b]=_0x568c59(0x176),_0xa98f1[_0xa98f1['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x568c59(0x250),_0xa98f1[_0xa98f1[_0x568c59(0x298)]=0x3a9d]=_0x568c59(0x298),_0xa98f1[_0xa98f1[_0x568c59(0xee)]=0x3a9e]=_0x568c59(0xee),_0xa98f1[_0xa98f1[_0x568c59(0x312)]=0x3a9f]=_0x568c59(0x312),_0xa98f1[_0xa98f1[_0x568c59(0xb2)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0xa98f1[_0xa98f1[_0x568c59(0x10d)]=-0x1]='UNRECOGNIZED',_0xa98f1))(_0x5502e6||{});function _0x360e8a(_0x5c498b){const _0x54759b=_0x568c59;var _0x554a31,_0x90bf84;const _0x348a44=(_0x554a31=_0x5c498b['stageInfo'])==null?void 0x0:_0x554a31[_0x54759b(0x24c)],_0x19eaae=((_0x90bf84=_0x5c498b['stageInfo'])==null?void 0x0:_0x90bf84['totalFormulasToCalculate'])||0x0;return _0x348a44===_0x1707bd[_0x54759b(0x33a)][_0x54759b(0x33b)]&&_0x19eaae>0x0;}function _0x83ba07(_0x5a1ce6){const _0x1a981e=_0x568c59;return _0x5a1ce6['functionsExecutedState']===_0x1707bd[_0x1a981e(0x2b5)][_0x1a981e(0x24f)];}var _0x3d1652=Object[_0x568c59(0xf5)],_0x56a47e=(_0x2a64bd,_0xf5909d,_0x3a117f,_0x1b5032)=>{const _0x4b718f=_0x568c59;for(var _0x5e976d=_0x1b5032>0x1?void 0x0:_0x1b5032?_0x3d1652(_0xf5909d,_0x3a117f):_0xf5909d,_0x5e9fae=_0x2a64bd[_0x4b718f(0x261)]-0x1,_0xf36b6a;_0x5e9fae>=0x0;_0x5e9fae--)(_0xf36b6a=_0x2a64bd[_0x5e9fae])&&(_0x5e976d=_0xf36b6a(_0x5e976d)||_0x5e976d);return _0x5e976d;},_0x5ba6c1=(_0x26f5f1,_0x578971)=>(_0x349eb8,_0x56b356)=>_0x578971(_0x349eb8,_0x56b356,_0x26f5f1);const _0x1e85dc='/universer-api/license/formula/limit/status',_0x151764=_0x568c59(0x1df),_0x5d06f3=_0x568c59(0xab);let _0x535a7f=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x34690b,_0x3cfbbb,_0x55eb63,_0x337c6f,_0x23f8c6,_0x835de1,_0x4228f8){const _0x42ee4e=_0x568c59;super(),_0xe730d4(this,_0x42ee4e(0x2e3),null),_0xe730d4(this,_0x42ee4e(0x1f6),0x0),_0xe730d4(this,_0x42ee4e(0x2bd),0x0),_0xe730d4(this,_0x42ee4e(0xc5),[]),_0xe730d4(this,_0x42ee4e(0x204),0x0),(this[_0x42ee4e(0xe1)]=_0x34690b,this[_0x42ee4e(0x115)]=_0x3cfbbb,this['_configService']=_0x55eb63,this['_httpService']=_0x337c6f,this['_univerInstanceService']=_0x23f8c6,this[_0x42ee4e(0x31a)]=_0x835de1,this['_localeService']=_0x4228f8,this[_0x42ee4e(0x1d9)]());}[_0x568c59(0x1d9)](){const _0x28089f=_0x568c59;this[_0x28089f(0x354)](this[_0x28089f(0x115)][_0x28089f(0x163)]((_0x3ac3f0,_0x3fdd15)=>{const _0x52ccd7=_0x28089f;var _0x88b470;if(_0x3ac3f0['id']!==_0x1707bd[_0x52ccd7(0x252)]['id'])return;const _0x3392f6=_0x3ac3f0[_0x52ccd7(0x2c3)];if(!this[_0x52ccd7(0x21e)]((_0x88b470=_0x3392f6[_0x52ccd7(0x238)])!=null?_0x88b470:[]))return;if(!this[_0x52ccd7(0xbe)]())throw this[_0x52ccd7(0x2d4)](_0x3ac3f0,_0x3fdd15),this[_0x52ccd7(0x1c3)](),new _0x4b176f[(_0x52ccd7(0x1fe))]();})),this[_0x28089f(0x354)](this['_commandService'][_0x28089f(0xe9)]((_0x433bfe,_0x4e518e)=>{const _0x340e32=_0x28089f;if(_0x433bfe['id']!==_0x1707bd[_0x340e32(0x2b8)]['id'])return;const _0x1e7207=_0x433bfe[_0x340e32(0x2c3)];if(_0x360e8a(_0x1e7207)){const _0x3d27da=_0x4b176f[_0x340e32(0x22e)]();this['_taskIds'][_0x340e32(0x1cc)](_0x3d27da),this[_0x340e32(0x1e3)](_0x3d27da);}else{if(_0x83ba07(_0x1e7207)&&this[_0x340e32(0xc5)]['length']>0x0){const _0x22a9ff=this['_taskIds'][_0x340e32(0x161)]();this[_0x340e32(0x1b1)](_0x22a9ff);}}}));}[_0x568c59(0x106)](){const _0x80c332=_0x568c59;super[_0x80c332(0x106)](),this['_clearPolling'](),this[_0x80c332(0xc5)]=[],this[_0x80c332(0x2bd)]=0x0,this[_0x80c332(0x1f6)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x475b3d,_0xb4e1c5){const _0xec9b6a=_0x568c59;for(let _0x1f601d=0x0;_0x1f601d<0x1e;_0x1f601d++)try{if(await this[_0xec9b6a(0x321)](),this['_checkCalculationAvailable']()){this[_0xec9b6a(0x230)](_0x475b3d,_0xb4e1c5),this[_0xec9b6a(0xe1)][_0xec9b6a(0x154)]({'content':this[_0xec9b6a(0x234)]['t'](_0xec9b6a(0x24a)),'type':_0x47ae90[_0xec9b6a(0x142)][_0xec9b6a(0x151)]});return;}await new Promise(_0x28076e=>{const _0x1e0a60=_0xec9b6a;this[_0x1e0a60(0x2e3)]=window[_0x1e0a60(0x1de)](_0x28076e,0x3e8);});}catch(_0x54f856){this[_0xec9b6a(0x31a)][_0xec9b6a(0x11f)](_0x54f856);}this['_messageService'][_0xec9b6a(0x154)]({'content':this[_0xec9b6a(0x234)]['t'](_0xec9b6a(0xb6)),'type':_0x47ae90['MessageType'][_0xec9b6a(0x2b6)]});}[_0x568c59(0x230)](_0x1aed52,_0x4a5846){const _0x529e24=_0x568c59;try{this[_0x529e24(0x115)][_0x529e24(0x2ec)](_0x1aed52['id'],_0x1aed52['params'],_0x4a5846);}catch(_0x18be1a){this[_0x529e24(0x31a)][_0x529e24(0x11f)](_0x18be1a);}}[_0x568c59(0x1e1)](_0x5a89b4,_0x38c5c0){const _0x537ee9=_0x568c59;_0x38c5c0<this[_0x537ee9(0x204)]||(this[_0x537ee9(0x204)]=_0x38c5c0,this[_0x537ee9(0x1f6)]=Number[_0x537ee9(0x88)](_0x5a89b4['maxFormulaLimit']),this[_0x537ee9(0x2bd)]=Number[_0x537ee9(0x88)](_0x5a89b4['currentUsage']));}async[_0x568c59(0x1e3)](_0x5d17db){const _0x57bca9=_0x568c59;var _0xb70801,_0x4a431e;const _0x326cbb=Date[_0x57bca9(0x17b)]();try{const _0x58b1bf=((_0xb70801=this[_0x57bca9(0x217)][_0x57bca9(0xd1)](_0x497c74[_0x57bca9(0x212)]))==null?void 0x0:_0xb70801[_0x57bca9(0xf1)])||_0x151764,_0x462d98=(await this['_httpService'][_0x57bca9(0xc9)](_0x58b1bf,{'body':JSON['stringify']({'taskId':_0x5d17db})}))[_0x57bca9(0x16e)];if(((_0x4a431e=_0x462d98[_0x57bca9(0x11f)])==null?void 0x0:_0x4a431e['code'])!==_0x5502e6['OK'])return;this['_setFormulaLimitStatus'](_0x462d98[_0x57bca9(0x257)],_0x326cbb);}catch(_0x5ba2c1){this[_0x57bca9(0x31a)]['error'](_0x5ba2c1);}}async[_0x568c59(0x321)](_0x2c5a8a){const _0x564b2c=_0x568c59;var _0x58af99,_0x3ed634;const _0x571543=Date[_0x564b2c(0x17b)]();try{const _0x2fc9c9=((_0x58af99=this[_0x564b2c(0x217)][_0x564b2c(0xd1)](_0x497c74[_0x564b2c(0x212)]))==null?void 0x0:_0x58af99[_0x564b2c(0x357)])||_0x1e85dc,_0x2020cc=_0x2c5a8a?_0x2fc9c9+_0x564b2c(0x11d)+encodeURIComponent(_0x2c5a8a):_0x2fc9c9,_0x1077a4=(await this['_httpService'][_0x564b2c(0x9e)](_0x2020cc))[_0x564b2c(0x16e)];if(((_0x3ed634=_0x1077a4['error'])==null?void 0x0:_0x3ed634['code'])!==_0x5502e6['OK'])return;this['_setFormulaLimitStatus'](_0x1077a4[_0x564b2c(0x257)],_0x571543);}catch(_0x3251ac){this[_0x564b2c(0x31a)]['error'](_0x3251ac);}}async[_0x568c59(0x1b1)](_0xfaa52c){const _0x6d4567=_0x568c59;var _0x4ba6df,_0x5c189c;const _0x10e1c1=Date[_0x6d4567(0x17b)]();try{const _0xfe9b95=((_0x4ba6df=this[_0x6d4567(0x217)][_0x6d4567(0xd1)](_0x497c74[_0x6d4567(0x212)]))==null?void 0x0:_0x4ba6df['releaseFormulaLimitUrl'])||_0x5d06f3,_0x58ac33=(await this[_0x6d4567(0x228)][_0x6d4567(0xc9)](_0xfe9b95,{'body':JSON['stringify']({'taskId':_0xfaa52c})}))[_0x6d4567(0x16e)];if(((_0x5c189c=_0x58ac33[_0x6d4567(0x11f)])==null?void 0x0:_0x5c189c[_0x6d4567(0x2d6)])!==_0x5502e6['OK'])return;this[_0x6d4567(0x1e1)](_0x58ac33[_0x6d4567(0x257)],_0x10e1c1);}catch(_0x2f23aa){this[_0x6d4567(0x31a)]['error'](_0x2f23aa);}}[_0x568c59(0xbe)](){return this['_maxFormulaLimit']===0x0?!0x0:this['_maxFormulaLimit']-this['_currentUsage']>0x0;}[_0x568c59(0x30d)](){const _0x559fd5=_0x568c59;this[_0x559fd5(0x2e3)]&&(clearTimeout(this['_pollingInterval']),this['_pollingInterval']=null);}[_0x568c59(0x1c3)](){const _0x31824d=_0x568c59;this[_0x31824d(0xe1)][_0x31824d(0x154)]({'content':this[_0x31824d(0x234)]['t']('formula.calculation.waiting'),'type':_0x47ae90['MessageType']['Loading']});}[_0x568c59(0x21e)](_0x29b4b7){const _0x510daf=_0x568c59;for(const _0x40777a of _0x29b4b7){const {unitId:_0x269859,sheetId:_0x5227a8,range:_0x4808d9}=_0x40777a,_0x10bdce=this[_0x510daf(0xbb)]['getUnit'](_0x269859);if(!_0x10bdce)continue;const _0x43f986=_0x10bdce['getSheetBySheetId'](_0x5227a8);if(!_0x43f986)continue;const _0x153a86=_0x43f986[_0x510daf(0x2f8)]();for(let _0x1a077c=_0x4808d9[_0x510daf(0x29e)];_0x1a077c<=_0x4808d9['endRow'];_0x1a077c++)for(let _0x6a372b=_0x4808d9[_0x510daf(0x13d)];_0x6a372b<=_0x4808d9[_0x510daf(0xe6)];_0x6a372b++){const _0x14719b=_0x153a86[_0x510daf(0xce)](_0x1a077c,_0x6a372b);if(_0x14719b&&(_0x4b176f[_0x510daf(0x2df)](_0x14719b['f'])||_0x4b176f[_0x510daf(0xb0)](_0x14719b['si'])))return!0x0;}}return!0x1;}};_0x535a7f=_0x56a47e([_0x5ba6c1(0x0,_0x4b176f[_0x568c59(0x36e)](_0x48763f[_0x568c59(0x356)])),_0x5ba6c1(0x1,_0x4b176f[_0x568c59(0x32b)]),_0x5ba6c1(0x2,_0x4b176f['IConfigService']),_0x5ba6c1(0x3,_0x4b176f[_0x568c59(0x36e)](_0x542501[_0x568c59(0x28f)])),_0x5ba6c1(0x4,_0x4b176f['IUniverInstanceService']),_0x5ba6c1(0x5,_0x4b176f['ILogService']),_0x5ba6c1(0x6,_0x4b176f[_0x568c59(0x36e)](_0x4b176f['LocaleService']))],_0x535a7f);var _0x5237a6=Object[_0x568c59(0xf5)],_0x2c1815=(_0x48cf4c,_0x47d574,_0x32e2c0,_0x1a67c1)=>{for(var _0x9d1836=_0x1a67c1>0x1?void 0x0:_0x1a67c1?_0x5237a6(_0x47d574,_0x32e2c0):_0x47d574,_0x315271=_0x48cf4c['length']-0x1,_0x2d7c95;_0x315271>=0x0;_0x315271--)(_0x2d7c95=_0x48cf4c[_0x315271])&&(_0x9d1836=_0x2d7c95(_0x9d1836)||_0x9d1836);return _0x9d1836;},_0x5b86ae=(_0x1ab50f,_0xb53619)=>(_0x5206f9,_0x11af16)=>_0xb53619(_0x5206f9,_0x11af16,_0x1ab50f);let _0x3d07bb=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x464f41,_0x5ae807,_0x56a0ac){const _0x14c145=_0x568c59;super(),_0xe730d4(this,'_cachedData',new Map()),_0xe730d4(this,_0x14c145(0x26e),new Map()),_0xe730d4(this,'_disabled',!0x1),(this['_configService']=_0x464f41,this[_0x14c145(0x310)]=_0x5ae807,this[_0x14c145(0x120)]=_0x56a0ac);}[_0x568c59(0x335)](){const _0x1417f2=_0x568c59;this[_0x1417f2(0xbd)]=!0x0;}[_0x568c59(0x17c)](){const _0x41c9b6=_0x568c59;this[_0x41c9b6(0xbd)]=!0x1;}get[_0x568c59(0x8a)](){const _0xc8885c=_0x568c59;return this[_0xc8885c(0x26e)];}['dispose'](){const _0x302faa=_0x568c59;this[_0x302faa(0x28e)]()[_0x302faa(0x2c6)](()=>super[_0x302faa(0x106)]());}async[_0x568c59(0xdc)](_0x57e58e){const _0x4fcf1e=_0x568c59;return this['_disabled']?null:this[_0x4fcf1e(0x310)][_0x4fcf1e(0x288)](_0x497c74[_0x4fcf1e(0x186)](_0x57e58e));}async['saveOfflineData'](_0x12214b,_0x5ddef2){const _0x3b9c95=_0x568c59;return!!this['_localStorageService'][_0x3b9c95(0x239)](_0x12214b,_0x5ddef2);}[_0x568c59(0x220)](_0x53fdc1,_0x19d0b3,_0x50bfa6,_0x22440a){const _0x563d05=_0x568c59,_0x50a355=this[_0x563d05(0x120)]['getCurrentRevOfUnit'](_0x53fdc1);this[_0x563d05(0x1bb)]['set'](_0x53fdc1,{'unitID':_0x53fdc1,'type':_0x19d0b3,'awaitingChangeset':_0x50bfa6,'mutations':_0x22440a,'rev':_0x50a355}),this[_0x563d05(0x26e)][_0x563d05(0x268)](_0x53fdc1)||this[_0x563d05(0x1e9)](_0x53fdc1);}[_0x568c59(0x1e9)](_0x7bd6cd){const _0x4f64c7=_0x568c59,_0x1300a6=this[_0x4f64c7(0x157)]();_0x1300a6===0x0?this[_0x4f64c7(0xb3)](_0x7bd6cd):this[_0x4f64c7(0x26e)]['set'](_0x7bd6cd,setTimeout(()=>this[_0x4f64c7(0xb3)](_0x7bd6cd),_0x1300a6));}[_0x568c59(0x157)](){const _0x3d2c40=_0x568c59;var _0x528384;return(_0x528384=this[_0x3d2c40(0x217)][_0x3d2c40(0xd1)](_0x497c74['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x528384:_0x497c74[_0x3d2c40(0x29b)];}[_0x568c59(0xb3)](_0x421d05){const _0xb08e44=_0x568c59,_0x2da690=this[_0xb08e44(0x26e)][_0xb08e44(0x9e)](_0x421d05);return _0x2da690!==void 0x0&&window[_0xb08e44(0x147)](_0x2da690),this['_localStorageService'][_0xb08e44(0x239)](_0x497c74[_0xb08e44(0x186)](_0x421d05),this['_cachedData']['get'](_0x421d05))['then'](()=>this[_0xb08e44(0x26e)][_0xb08e44(0x1a7)](_0x421d05));}async['exhaustSavingTask'](){const _0x2756f4=_0x568c59,_0x232dd2=[];this[_0x2756f4(0x26e)]['forEach']((_0x2366f8,_0x457397)=>{const _0x3d0253=_0x2756f4;window[_0x3d0253(0x147)](_0x2366f8),_0x232dd2[_0x3d0253(0x1cc)](this[_0x3d0253(0xb3)](_0x457397)[_0x3d0253(0x2c6)](()=>{const _0x2783ca=_0x3d0253;this[_0x2783ca(0x26e)][_0x2783ca(0x1a7)](_0x457397);}));}),await Promise['all'](_0x232dd2);}};_0x3d07bb=_0x2c1815([_0x5b86ae(0x0,_0x4b176f[_0x568c59(0x9b)]),_0x5b86ae(0x1,_0x4b176f[_0x568c59(0x337)]),_0x5b86ae(0x2,_0x4b176f[_0x568c59(0x36e)](_0x2cf75e[_0x568c59(0x35f)]))],_0x3d07bb);class _0x2347bf extends _0x4b176f['RxDisposable']{constructor(){const _0x1fd6da=_0x568c59;super(),_0xe730d4(this,_0x1fd6da(0xa9)),this[_0x1fd6da(0xa9)]=_0x2d9524[_0x1fd6da(0x89)](window,_0x1fd6da(0x1ee))[_0x1fd6da(0x175)](_0x2d9524['takeUntil'](this['dispose$']),_0x2d9524['shareReplay'](0x1),_0x2d9524[_0x1fd6da(0x2fd)](void 0x0));}[_0x568c59(0x33f)](_0x53a9b4,_0x229341,_0x47635d=!0x1){const _0x330b73=_0x568c59,_0x2ad483=new URL(window[_0x330b73(0x110)][_0x330b73(0x33c)]);_0x2ad483['searchParams']['set'](_0x53a9b4,_0x229341),_0x47635d?window['history'][_0x330b73(0x2ca)]('','',_0x2ad483[_0x330b73(0xe8)]()):window['history'][_0x330b73(0x31c)]('','',_0x2ad483[_0x330b73(0xe8)]());}[_0x568c59(0x104)](_0x369f1d,_0x3091c8=!0x1){const _0x333f04=_0x568c59,_0x12200b=new URL(window['location'][_0x333f04(0x33c)]);_0x12200b[_0x333f04(0x18a)][_0x333f04(0x1a7)](_0x369f1d),_0x3091c8?window[_0x333f04(0x16c)][_0x333f04(0x2ca)]('','',_0x12200b[_0x333f04(0xe8)]()):window[_0x333f04(0x16c)][_0x333f04(0x31c)]('','',_0x12200b[_0x333f04(0xe8)]());}[_0x568c59(0x30f)](_0x9ef46c){const _0x2d4c18=_0x568c59;var _0x22e0fa;return(_0x22e0fa=new URL(window[_0x2d4c18(0x110)]['href'])['searchParams'][_0x2d4c18(0x9e)](_0x9ef46c))!=null?_0x22e0fa:void 0x0;}}var _0x287c9e=Object[_0x568c59(0x193)],_0x203838=Object[_0x568c59(0xf5)],_0x9e97f7=(_0x572ee5,_0x455b09,_0x2cf558)=>_0x455b09 in _0x572ee5?_0x287c9e(_0x572ee5,_0x455b09,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2cf558}):_0x572ee5[_0x455b09]=_0x2cf558,_0x431c8d=(_0x36283f,_0x59713c,_0x26f96e,_0x101f9d)=>{const _0x20aa8a=_0x568c59;for(var _0x41a9d8=_0x101f9d>0x1?void 0x0:_0x101f9d?_0x203838(_0x59713c,_0x26f96e):_0x59713c,_0xdd7bb8=_0x36283f[_0x20aa8a(0x261)]-0x1,_0x4cfb74;_0xdd7bb8>=0x0;_0xdd7bb8--)(_0x4cfb74=_0x36283f[_0xdd7bb8])&&(_0x41a9d8=_0x4cfb74(_0x41a9d8)||_0x41a9d8);return _0x41a9d8;},_0x2b34fb=(_0xddeafa,_0x5e6f3d)=>(_0x2547ab,_0xc6153c)=>_0x5e6f3d(_0x2547ab,_0xc6153c,_0xddeafa),_0x2a513a=(_0x3c12bf,_0x1f56a9,_0x2ee4c0)=>_0x9e97f7(_0x3c12bf,_0x1f56a9+'',_0x2ee4c0);const _0x293f41=_0x568c59(0x249);_0x49b1c5[_0x568c59(0x15d)]=class extends _0x4b176f[_0x568c59(0x2d2)]{constructor(_0x2da001=_0x1119c0,_0x2d6daf,_0x22d942,_0x49875a){const _0x8d7552=_0x568c59;super(),this['_config']=_0x2da001,this[_0x8d7552(0x364)]=_0x2d6daf,this[_0x8d7552(0x148)]=_0x22d942,this[_0x8d7552(0x217)]=_0x49875a;const {..._0x4d87c4}=_0x4b176f[_0x8d7552(0x218)]({},_0x1119c0,this[_0x8d7552(0x124)]);this['_configService'][_0x8d7552(0x297)](_0x28fa25,_0x4d87c4);}[_0x568c59(0x119)](){const _0x2121f4=_0x568c59;this['_registerDependencies'](),this[_0x2121f4(0xf2)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x568c59(0x247)](){const _0xcfd021=_0x568c59;var _0xe4cead;const _0xcc771b=[[_0x4009eb],[_0x535a7f],[_0x4ac300],[_0x32787b],[_0x45c595],[_0x510ecb],[_0x69f589,{'useClass':_0x2347bf}],[_0x542501[_0xcfd021(0x2db)],{'useClass':_0x542501[_0xcfd021(0x285)]}],[_0x497c74['ILocalCacheService'],{'useClass':_0x3d07bb}],[_0x49b1c5[_0xcfd021(0x336)]],[_0x1c4ddb],[_0x32db3d],[_0x53db82],[_0x30a20f],[_0x49b1c5['CollaborationDataLoaderController']]];this[_0xcfd021(0x124)][_0xcfd021(0x289)]&&_0xcc771b[_0xcfd021(0x1cc)]([_0x16e051]),_0x4b176f['registerDependencies'](this[_0xcfd021(0x148)],_0x4b176f['mergeOverrideWithDependencies'](_0xcc771b,(_0xe4cead=this['_config'])==null?void 0x0:_0xe4cead[_0xcfd021(0x25e)]));}['_registerRenderDependencies'](){const _0x3fa480=_0x568c59;this[_0x3fa480(0x354)](this[_0x3fa480(0x364)][_0x3fa480(0x1ae)](_0x4b176f[_0x3fa480(0xc6)][_0x3fa480(0x141)],[_0x578f3e])),this[_0x3fa480(0x354)](this[_0x3fa480(0x364)][_0x3fa480(0x1ae)](_0x4b176f[_0x3fa480(0xc6)]['UNIVER_SHEET'],[_0x4f696d]));}[_0x568c59(0xf2)](){const _0x36d382=_0x568c59;_0x4b176f[_0x36d382(0xfe)](this['_injector'],[[_0x53db82],[_0x49b1c5[_0x36d382(0x336)]],[_0x1c4ddb],[_0x32db3d],[_0x49b1c5['CollaborationDataLoaderController']],[_0x535a7f]]),this[_0x36d382(0x124)][_0x36d382(0x289)]&&_0x4b176f[_0x36d382(0xfe)](this[_0x36d382(0x148)],[[_0x16e051]]);}},_0x2a513a(_0x49b1c5['UniverCollaborationClientUIPlugin'],'pluginName',_0x293f41),_0x49b1c5[_0x568c59(0x15d)]=_0x431c8d([_0x4b176f['DependentOn'](_0x497c74[_0x568c59(0x359)]),_0x2b34fb(0x1,_0x517da6[_0x568c59(0x264)]),_0x2b34fb(0x2,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x2b0)])),_0x2b34fb(0x3,_0x4b176f[_0x568c59(0x9b)])],_0x49b1c5[_0x568c59(0x15d)]);var _0x555dd1=Object[_0x568c59(0xf5)],_0xef853b=(_0x2c8a5b,_0x559c0f,_0xa845f0,_0x4075f4)=>{const _0xdbe6ea=_0x568c59;for(var _0x263754=_0x4075f4>0x1?void 0x0:_0x4075f4?_0x555dd1(_0x559c0f,_0xa845f0):_0x559c0f,_0x240378=_0x2c8a5b[_0xdbe6ea(0x261)]-0x1,_0x110103;_0x240378>=0x0;_0x240378--)(_0x110103=_0x2c8a5b[_0x240378])&&(_0x263754=_0x110103(_0x263754)||_0x263754);return _0x263754;},_0xc8fcd7=(_0x3614fb,_0x5702d4)=>(_0x4c722c,_0x31a9d6)=>_0x5702d4(_0x4c722c,_0x31a9d6,_0x3614fb);_0x49b1c5[_0x568c59(0x34f)]=class extends _0x497c74[_0x568c59(0xc4)]{constructor(_0x13ff5a,_0x22a86c,_0x3e8ba9,_0x299d72,_0x2b7b7f){super(_0x13ff5a,_0x22a86c,_0x3e8ba9,_0x299d72,_0x2b7b7f);}async[_0x568c59(0x1b4)](_0x175c10){const _0x18468c=_0x568c59,_0x36b2ee=await this['_getSessionTicket'](),_0xc00b64=this[_0x18468c(0x1bc)](_0x175c10,_0x36b2ee);return this[_0x18468c(0xed)](_0xc00b64);}['_createSocketURL'](_0x10083a,_0x450a4d){const _0x5a3d8c=_0x568c59,_0x73309b=typeof window>'u'?new URL(_0x10083a):new URL(_0x10083a,window[_0x5a3d8c(0x110)][_0x5a3d8c(0x1c5)]);_0x73309b[_0x5a3d8c(0x18a)][_0x5a3d8c(0xd2)](_0x5a3d8c(0x22d),_0x450a4d);const _0x5b7390=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5a3d8c(0x110)][_0x5a3d8c(0x222)]);return _0x5b7390[_0x5a3d8c(0x9e)](_0x5a3d8c(0x1c7))&&_0x73309b[_0x5a3d8c(0x18a)][_0x5a3d8c(0xd2)]('runId',_0x5b7390[_0x5a3d8c(0x9e)](_0x5a3d8c(0x1c7))),_0x73309b[_0x5a3d8c(0xe8)]();}async['_getSessionTicket'](){const _0x1da992=_0x568c59;var _0x6f3901,_0x16d18e,_0x3c6894;const _0x634648=this[_0x1da992(0x217)][_0x1da992(0xd1)](_0x497c74['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x134be2=(_0x6f3901=_0x634648==null?void 0x0:_0x634648[_0x1da992(0x324)])!=null?_0x6f3901:_0x497c74[_0x1da992(0x304)];return(_0x3c6894=(_0x16d18e=(await this['_httpService']['get'](_0x134be2,{'headers':{'Content-Type':'application/json'}}))[_0x1da992(0x16e)])==null?void 0x0:_0x16d18e[_0x1da992(0x307)])!=null?_0x3c6894:'';}},_0x49b1c5[_0x568c59(0x34f)]=_0xef853b([_0xc8fcd7(0x0,_0x4b176f['Inject'](_0x4b176f[_0x568c59(0x2b0)])),_0xc8fcd7(0x1,_0x4b176f[_0x568c59(0x36e)](_0x542501[_0x568c59(0x28f)])),_0xc8fcd7(0x2,_0x4b176f[_0x568c59(0x9b)]),_0xc8fcd7(0x3,_0x4b176f[_0x568c59(0x344)]),_0xc8fcd7(0x4,_0x2cf75e['ISnapshotServerService'])],_0x49b1c5['BrowserCollaborationSocketService']);var _0xb7dbe1=Object[_0x568c59(0xf5)],_0x2da5f7=(_0x33b30a,_0x378757,_0x51a64f,_0x257469)=>{const _0x58ac9e=_0x568c59;for(var _0x5bbbda=_0x257469>0x1?void 0x0:_0x257469?_0xb7dbe1(_0x378757,_0x51a64f):_0x378757,_0x1007d2=_0x33b30a[_0x58ac9e(0x261)]-0x1,_0x4a286a;_0x1007d2>=0x0;_0x1007d2--)(_0x4a286a=_0x33b30a[_0x1007d2])&&(_0x5bbbda=_0x4a286a(_0x5bbbda)||_0x5bbbda);return _0x5bbbda;},_0xfa9f7f=(_0x44d0a4,_0x3fd110)=>(_0x31643c,_0x310df3)=>_0x3fd110(_0x31643c,_0x310df3,_0x44d0a4);_0x49b1c5[_0x568c59(0x254)]=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x3fa835,_0x3ac559,_0xeab8c9){const _0x55b502=_0x568c59;super(),this[_0x55b502(0x267)]=_0x3fa835,this[_0x55b502(0x228)]=_0x3ac559,this[_0x55b502(0x217)]=_0xeab8c9;}async[_0x568c59(0x207)](_0x35bfdd,_0xd4cbb3,_0x10423b,..._0x592ae4){const _0x4a9e4c=_0x568c59;var _0x5bc41e,_0xca6253,_0x48cd13,_0x28f631;const _0x1b7f18=this[_0x4a9e4c(0x267)][_0x4a9e4c(0x18f)]();if(!_0x1b7f18)throw new Error(_0x4a9e4c(0x280));const _0x2ed315=((_0x5bc41e=this[_0x4a9e4c(0x217)][_0x4a9e4c(0xd1)](_0x497c74[_0x4a9e4c(0x15b)]))!=null?_0x5bc41e:_0x497c74['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x35bfdd+_0x4a9e4c(0x152)+_0xd4cbb3,_0x577994=new URL(window[_0x4a9e4c(0x110)][_0x4a9e4c(0x33c)]),_0x2fdaab={'scriptId':_0x35bfdd,'runId':(_0xca6253=_0x577994['searchParams'][_0x4a9e4c(0x9e)](_0x4a9e4c(0x1c7)))!=null?_0xca6253:'','function':_0xd4cbb3,'unitId':_0x1b7f18[_0x4a9e4c(0x1f3)](),'argsOfFunction':JSON[_0x4a9e4c(0x1d2)](_0x592ae4),'invokeId':(_0x48cd13=_0x10423b['invokeId'])!=null?_0x48cd13:'','executionId':(_0x28f631=_0x10423b[_0x4a9e4c(0x1b7)])!=null?_0x28f631:''};try{const _0x128dee=await this[_0x4a9e4c(0x228)][_0x4a9e4c(0xc9)](_0x2ed315,{'body':_0x2fdaab});return _0x128dee[_0x4a9e4c(0x16e)][_0x4a9e4c(0x11f)]&&_0x128dee['body'][_0x4a9e4c(0x11f)][_0x4a9e4c(0x2d6)]!==_0x5502e6['OK']?_0x4a9e4c(0x202):_0x128dee[_0x4a9e4c(0x16e)][_0x4a9e4c(0x36d)];}catch{return'Failed';}}},_0x49b1c5['RemoteUniscriptService']=_0x2da5f7([_0xfa9f7f(0x0,_0x4b176f[_0x568c59(0x26f)]),_0xfa9f7f(0x1,_0x4b176f[_0x568c59(0x36e)](_0x542501[_0x568c59(0x28f)])),_0xfa9f7f(0x2,_0x4b176f[_0x568c59(0x9b)])],_0x49b1c5[_0x568c59(0x254)]);const _0x5ef8d7=0x7530,_0x317e80=_0x568c59(0x286);class _0xbda6a0 extends _0x4b176f['Disposable']{constructor(){const _0x9c2660=_0x568c59;super(),_0xe730d4(this,_0x9c2660(0x308),_0x4b176f[_0x9c2660(0x22e)]()),_0xe730d4(this,'_selfUnitIDs',new Set()),_0xe730d4(this,'_unitOnClients',new Map()),_0xe730d4(this,'_heartbeatTimer',null),_0xe730d4(this,_0x9c2660(0x374),new Map()),_0xe730d4(this,'_unitStatus',new Map()),this[_0x9c2660(0x129)]();}[_0x568c59(0x106)](){const _0x3ce6eb=_0x568c59;super[_0x3ce6eb(0x106)](),this[_0x3ce6eb(0x374)][_0x3ce6eb(0x15e)]((_0x2a479b,_0x4f33ad)=>this[_0x3ce6eb(0x138)](_0x4f33ad)),this[_0x3ce6eb(0x2aa)]&&window['clearInterval'](this[_0x3ce6eb(0x2aa)]);}['getUnitStatus$'](_0x5e6e4e){const _0x28a2e2=_0x568c59;return this[_0x28a2e2(0x2bb)](_0x5e6e4e)['pipe'](_0x2d9524[_0x28a2e2(0x269)]());}['editingUnit'](_0x22b0a6){const _0xaa886e=_0x568c59;this[_0xaa886e(0x103)][_0xaa886e(0x2d1)]===0x0&&this[_0xaa886e(0x190)](),this[_0xaa886e(0x103)][_0xaa886e(0x2bf)](_0x22b0a6),this[_0xaa886e(0x2d8)]({'type':0x0,'memberID':this[_0xaa886e(0x308)],'unitIDs':[_0x22b0a6],'isForwarded':!0x1});}[_0x568c59(0x1db)](_0x4c7dd8){const _0x569ad2=_0x568c59;this['_selfUnitIDs'][_0x569ad2(0x1a7)](_0x4c7dd8),this[_0x569ad2(0x103)][_0x569ad2(0x2d1)]===0x0&&this[_0x569ad2(0x2aa)]&&window[_0x569ad2(0x2b9)](this['_heartbeatTimer']);}[_0x568c59(0x129)](){const _0x2ace39=_0x568c59;this[_0x2ace39(0x354)](_0x4b176f['toDisposable'](_0x2d9524[_0x2ace39(0x89)](window,_0x2ace39(0x2ee))[_0x2ace39(0xe7)](_0x949f2e=>{const _0x4bdb8d=_0x2ace39;if(_0x949f2e['key']!==_0x317e80||!_0x949f2e[_0x4bdb8d(0xa2)])return;const _0xb6803d=JSON[_0x4bdb8d(0xfa)](_0x949f2e[_0x4bdb8d(0xa2)]);this[_0x4bdb8d(0x1d4)](_0xb6803d);}))),window['addEventListener'](_0x2ace39(0x171),()=>this[_0x2ace39(0x2d8)]({'type':0x1,'memberID':this[_0x2ace39(0x308)],'unitIDs':Array[_0x2ace39(0xd3)](this[_0x2ace39(0x103)])}));}[_0x568c59(0x1d4)](_0x3e7398){const _0x3ed957=_0x568c59;switch(_0x3e7398['type']){case 0x0:this[_0x3ed957(0x1d1)](_0x3e7398);break;case 0x1:this[_0x3ed957(0xe5)](_0x3e7398);break;case 0x2:this[_0x3ed957(0x183)](_0x3e7398);break;}}[_0x568c59(0x1d1)](_0x48f530){const _0x1a6663=_0x568c59,{unitIDs:_0x58a802,memberID:_0x549e88,isForwarded:_0x33653b}=_0x48f530;_0x58a802[_0x1a6663(0x15e)](_0x251ea=>{const _0x53623b=_0x1a6663;if(!_0x33653b&&this[_0x53623b(0xea)][_0x53623b(0x268)](_0x251ea)&&this[_0x53623b(0x2bb)](_0x251ea)[_0x53623b(0x165)](_0x497c74['UnitStatus'][_0x53623b(0x10a)]),!this[_0x53623b(0xea)][_0x53623b(0x268)](_0x251ea)||!this[_0x53623b(0xea)]['get'](_0x251ea)[_0x53623b(0x268)](_0x549e88)){const _0x53728b=this[_0x53623b(0xea)][_0x53623b(0x9e)](_0x251ea)||new Set();_0x53728b[_0x53623b(0x2bf)](_0x549e88),this['_unitOnClients'][_0x53623b(0xd2)](_0x251ea,_0x53728b),this[_0x53623b(0x342)](_0x549e88);}}),_0x33653b||this['_send']({'type':0x0,'memberID':this[_0x1a6663(0x308)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x568c59(0x342)](_0x47e6d1){const _0xe3b74=_0x568c59;this[_0xe3b74(0x138)](_0x47e6d1);const _0x52a920=window[_0xe3b74(0x1de)](()=>{const _0x564f48=_0xe3b74;this[_0x564f48(0xea)]['forEach'](_0x437c5e=>{const _0x32fd4d=_0x564f48;_0x437c5e[_0x32fd4d(0x1a7)](_0x47e6d1);});},_0x5ef8d7*0x2);this[_0xe3b74(0x374)]['set'](_0x47e6d1,_0x52a920);}['_removeClearOtherTimer'](_0x568c43){const _0xd1194e=_0x568c59;if(this[_0xd1194e(0x374)][_0xd1194e(0x268)](_0x568c43)){const _0x13b5e4=this[_0xd1194e(0x374)]['get'](_0x568c43);_0x13b5e4&&window[_0xd1194e(0x147)](_0x13b5e4),this['_clearOtherTimers'][_0xd1194e(0xd2)](_0x568c43,null);}}['_handleLeaveEvent'](_0xa18a36){const _0xcae122=_0x568c59,{memberID:_0x4d2afa,unitIDs:_0x689ae4}=_0xa18a36;_0x689ae4[_0xcae122(0x15e)](_0x33f472=>{const _0x2bfcfe=_0xcae122;var _0x3618bc;const _0x907d6f=this['_unitOnClients'][_0x2bfcfe(0x9e)](_0x33f472);_0x907d6f&&(_0x907d6f[_0x2bfcfe(0x1a7)](_0x4d2afa),(_0x3618bc=this[_0x2bfcfe(0x2bb)](_0x33f472))==null||_0x3618bc['next'](_0x907d6f[_0x2bfcfe(0x2d1)]===0x0?_0x497c74[_0x2bfcfe(0x1d6)][_0x2bfcfe(0x2de)]:_0x497c74[_0x2bfcfe(0x1d6)][_0x2bfcfe(0x10a)]));}),this['_removeClearOtherTimer'](_0x4d2afa);}[_0x568c59(0x183)](_0x78b5ed){const _0x53c4ca=_0x568c59;this['_scheduleClearOtherTimer'](_0x78b5ed[_0x53c4ca(0xde)]);}['_send'](_0x2f9499){const _0x2f4b4c=_0x568c59;localStorage[_0x2f4b4c(0x239)](_0x317e80,JSON[_0x2f4b4c(0x1d2)](_0x2f9499));}[_0x568c59(0x190)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x33539d=_0x34b8;this['_send']({'type':0x2,'memberID':this[_0x33539d(0x308)]});},_0x5ef8d7);}[_0x568c59(0x2bb)](_0x37fd18){const _0xd4875b=_0x568c59;return this['_unitStatus']['has'](_0x37fd18)||this[_0xd4875b(0x206)]['set'](_0x37fd18,new _0x2d9524[(_0xd4875b(0x1cf))](_0x497c74[_0xd4875b(0x1d6)][_0xd4875b(0x2de)])),this[_0xd4875b(0x206)]['get'](_0x37fd18);}}_0x49b1c5[_0x568c59(0x226)]=_0x69f589,_0x49b1c5[_0x568c59(0x132)]=_0x2b40de,_0x49b1c5[_0x568c59(0x146)]=_0xbda6a0,_0x49b1c5['WebURLService']=_0x2347bf,Object[_0x568c59(0x193)](_0x49b1c5,Symbol[_0x568c59(0x313)],{'value':_0x568c59(0x2f7)});}));
|
|
8
|
+
function _0x1f30(){const _0x144e7f=['status$','generateRandomId','DocStateChangeManagerService','COLORS','_backgroundColor','_saveCache','evenodd','HEADER_MENU','totalFormulasToCalculate','collaboration.closeRoom','permission.title','ILogService','UniverCollaborationClientPlugin','closePath','_applyCommand','collaboration.single-unit.warning','Tooltip','enableFrontendLog','BehaviorSubject','/run/','SetSelectionsOperation','flatMap','type','asObservable','_cursors','Tools','0\x200\x2016\x2016','startsWith','FromArray','translate(.97)','fill','eventID','onRendered','getRenderById','substring','_dataLoaderService','add','0\x200\x2017\x2016','message','_hasFormulaInDirtyRanges','unload','forEach','_createSocketURL','UniverUi','onMouseMove','override','10aSfSzp','handleDeleteRangeMoveLeft','storage','registerRenderModule','addEventListener','_eventUnsubscribe','_clearPolling','InsertRowCommandId','LOCAL_CACHE_INTERVAL_KEY','cursorInfo','DEFAULT_WS_SESSION_TICKET_URL','next','ColorKit','pipe','IUniverInstanceService','LOGIN_TOKEN_PROCESSING_FAILED','getCurrentRevOfUnit','hide','1223nLDiKI','[CollaborationDataLoaderController]','UNIVER_DOC','unitId','merge','purple.300','react','_selfUnitIDs','_themeService','startColumn','createInstance','?taskId=','_disabled','addObjects','isTransformMutationsWithChangesetSuccess','session.collaboration-timeout','DesktopCollaborationStatusDisplayController','data','getUndoRedoMutationParamsCache','transformMutation','getUnitStatus$','loadOfflineData','@univerjs-pro/collaboration','_commandService','transformMutationsWithChangeset','UNAUTHENTICATED','url(#off-line-icon_clip0_910_343)','CollaborationStatus','_setupBeforeClosingHandler','UniverDesign','Disposable','http://www.w3.org/2000/svg','CONNECTOR_DATA_TOO_LARGE','UniverDocs','sheetID','BrowserCollaborationSocketService','_saveTaskMap','JOIN_ROOM_FAILED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','textRanges','NOT_COLLAB','SetWorksheetActivateCommand','_entityInit$','MessageType','_lastResponseTimestamp','red.300','OnLineIcon','LOGIN_FAILED','findNodePositionByCharIndex','INTERNAL_ERROR','docStateChange$','UniverDocsUi','UniverSheets','436imFbpv','2040XCtVqP','saveOfflineData','[Window\x20Error]:\x20','toDisposable','runRefRangeMutations','PERMISSION_DENIED','black','_context','formula.calculation.waiting','resize','unitID','_uiPartsService','_getAnchorBounding','max','includes','find','_drawTextRange','some','send','debug','split','PENDING','_startSheetCollabCursor','length','ONLINE','_clearOtherTimers','ENTITLE_COUPON_USED_UP','FormulaExecuteStageType','IRemoteInstanceService','onLocalMutation','backgroundColor','then','disableLocalCache','RxDisposable','_registerRenderDependencies','imageSourceType','isFormulaString','_lastPointer','combineLatest','_render','colorChannel1','_cachedData','DOC_RANGE_TYPE','_getSessionTicket','APPLY_PERMISSION_DENIED','_logService','ENTITLE_COUPON_EXPIRED','runOnServer','complete','APPLY_REVISION_CONFILICT','values','RemoveColCommandId','m1Prime','_pollingInterval','currentSkeleton$','delete','measureText','RemoteUniscriptService','_updateSubUnitFromURLParams','UniverDrawing','YUUMI_RATE_OVER_LIMIT','USER_NOT_FOUND','getDocRanges','event$','UniverIcon','pluginName','IImageIoService','_ensureSubject','OTHER_CLIENT_EDITING','_httpService','arc','mask','YUUMI_ASYNCIO_CANCELLED','replace','CollaborationUIEventId','_scheduleClearOtherTimer','join','_transformPreviousActiveRange','drawWith','memberID','div','_unitStatus','_config','_toggleOffline','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_syncEditingCollabCursorService','_refRangeService','name','_drawAnchor','getConfig','handleMoveRange','object','clearTimeout','formula.calculation.started','roomMembers$','location','colno','@univerjs-pro/collaboration-client','AUTHORIZE_CODE_ILLEGAL','UNDEFINED','DeleteRangeMoveLeftCommandId','Warning','ranges','SYNCED','12970432Ydlqmc','INVALID_ARGUMENT','REDEMPTION_CODE_NOT_STARTED','_memberID','_checkAndWaitForCalculationPermission','RECT','InsertRangeMoveDownCommandId','from','rxjs','CollaborationDataLoaderController','_removeClearOtherTimer','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','registerRefRange','OffLineIcon','actions','redoState','enableLocalCache','/universer-api/license/formula/limit/done','67520LmgVLa','_setFormulaLimitStatus','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','...','_beforeCloseService','_onCursorUpdate','post','invokeId','ICommandService','EMAIL_VERIFY_CODE_MISMATCH','shareReplay','getActiveSheet','functionsExecutedState','AWAITING_WITH_PENDING','_id','parse','APPLY_REJECT','6609474JJFrTC','createElement','getItem','_currentUsage','HTTPService','@univerjs/network','_color','getMergeData','CHANGESET_REVISION_CONFILICT','UniverCore','SetFormulaCalculationStartMutation','column','attrs','_updateURLWithCurrentState','handleInsertRow','REDEMPTION_CODE_FULLY_REDEEMED','IBeforeCloseService','assignAColorForMemberID','useObservable','_scheduleHeartbeat','CanceledError','_initStatusComponent','defs','_updateLocalCursor','INVITE_CODE_ALREADY_BOUND','REDEMPTION_INVALID_CODE','transformByState','YUUMI_URL_COL_OUT_OF_RANGE','function','deepClone','NOT_FOUND','_getMergeRange','_send','stageInfo','getRangePointData','xlink:href','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','init','defIds','color','_configService','throttleTime','Vector2','YUUMI_ALL_TABLES_IS_INVALID','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_instanceService','collabCursorState$','font','UnitStatus','CommandType','univerjs-icon\x20univerjs-icon-','38030643zYVsMR','APPLY_DUPLICATED','key','[LogService\x20Error]:\x20','on-line-icon_clip0_910_349','dirtyRanges','string','whenReady','_toggleOnline','handleInsertRangeMoveRight','_localeService','_initWindowErrorListener','row','newValue','tag','setStateCache','path','session.will-retry','DocSelectionManagerService','_releaseCalculationLimit','YUUMI_UNABLE_LOAD_URL','idSuffix','svg','Error','executeCommand','SNAPSHOT_INVALID_SNAPSHOT','DataLoaderService','displayName','_removeCollabCursors','Rect','source','exports','_handleJoinEvent','_docSkeleton','NodePositionConvertToRectRange','UniverInstanceType','MOBILE_HAS_BEEN_BOUND','fromEvent','getRelativeToViewportCoord','REDEMPTION_CODE_INACTIVE','onPointerLeave$','YUUMI_SUBSCRIPTION_NOT_FOUND','_initCommandExecutedListener','_unitOnClients','getUniverSheetInstance','getTypeOfUnitDisposed$','blue.400','_hideTimer','setAlpha','RemoveRowCommandId','filter','startRow','ticket','ENTITLE_DUP_SUBSCRIPTION','MemberService','unshift','createSocket','_initUnhandledRejectionListener','assign','shift','clsx','_docTransformSelectionsService','_notificationService','ILocalCacheService','_injector','uni.network.url-service','_startDocCollabCursor','CURRENT_STATUS_CANNOT_OPERATE','unit','ITransformService','off-line-icon','use','unsubscribe','fromEventSubject','DeleteRangeMoveUpCommandId','setShapeProps','_checkCalculationAvailable','M0\x200H16V16H0z','collab-client.tooltip.reconnect','_anchor','code','collabStatus.conflict','_getSaveTimeout','_renderManagerService','_transformService','unhandledrejection','LICENSE_EXPORT_SIZE_EXCEEDED','origin','setConfig','random','VIEW_MAIN','BuiltInUIPart','_initDependencies','skeleton','height','_maxFormulaLimit','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','makeDirty','INVITE_CODE_HAS_BEEN_UES','getCellPositionByOffset','dispose$','getUnit','_scene','doc.mutation.rich-text-editing','size','SUBMIT_CHANGESET_TIMEOUT','min','defineProperty','saveTaskMap','getSkeleton','USERS_LEAVE','USER_NOT_INVITED_CODE','InsertRangeMoveRightCommandId','CollaborationEvent','InsertColCommandId','REDEMPTION_USER_REDEEM_TIMES_EXCEED','onCommandExecuted','takeUntil','_hovered','CLOSE_ROOM','_revisionService','_transformUndoRedoStack','disposeWithMe','ENTITLE_CHAT_LIMIT_EXCEED','ENSURE_SNAPSHOT_EXECUTION','parseInt','SheetSkeletonManagerService','moveTo','stage','pushState','updateOfflineData','UniverProCollaborationClient','transformStateCache','_initResize','getStateCache','setTimeout','_colorIndex','removeEventListener','_memberService','beforeCommandExecuted','_handleEvent','ISocketService','_collaborationUIEventService','url(#on-line-icon_clip0_910_349)','_initStatusListener','AWAITING','mutations','getSheetId','sessionStatus$','distinctUntilChanged','transformSelections','_roomMembers$','Subject','_messageService','error','url(#$1','@univerjs/drawing','entries','collabStatus.syncing','ISnapshotServerService','_showGuardMessage','getOffsetConfig','UNRECOGNIZED','getSheetObject','_handleHover','transformRemoteChangeset','isTransformMutationFailure','getCoordByCell','wsSessionTicketUrl','Optional','getCollabCursors$','amd','_startCalculationLimit','_cursorInfo$','collabStatus.fetchMiss','_collaborationSessionService','CollaborationController','replaceDocRanges','_localStorageService','white','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','APPLY_NON_SEQUENTIAL_REVISION','_collaborationController','_anchorDot','current','getMemberID','_initEvent','currentTheme$','width','getTypeOfUnitAdded$','startFormulaLimitUrl','_drawRectRange','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','exhaustSavingTask','ERROR_AGAIN','rxjs/operators','clipPath','OTHER_CLIENTS_EDITING','fillText','getformulaLimitStatusUrl','UniverProCollaboration','roomMembers','EffectRefRangId','toStringTag','setInterval','LocaleService','fillStyle','ENTITLE_INVALID_COUPON_CODE','IURLService','requireSession','children','map','getValue','INVALID_INVITE_CODE','mapTo','stack','_session','/universer-api/license/formula/limit/start','UPDATE_CURSOR','_heartbeatTimer','_handleLeaveEvent','show','SUCCESS','_docClipboardService','selections','/universer-api/license/formula/limit/status','[RemoteUniscriptService]:\x20no\x20focused\x20unit','SNAPSHOT_HAS_BEEN_REMOVED','_collabCursorController','maxFormulaLimit','UniverSheetsUi','ENTITLE_INSUFFICIENT_QUOTA','m2Prime','_getFormulaLimitStatus','addObject','getUnitId','_getScale','top','UniverCollaborationClientUIPlugin','onPointerMove$','_getSheetObject','_document','toString','debounce','round','lineTo','_localCacheService','@univerjs/design','CONFLICT','removeParam','clearInterval','TEXT_RANGE_LAYER_INDEX','subscribeEvent','off-line-icon_clip0_910_343','forwardRef','UniverEngineFormula','NodePositionConvertToCursor','catch','PY_RUNTIME_SCRIPT_ERROR','lineno','Unknown\x20user','sheetId','on-line-icon','limitInfo','collab-text-range-','SetTextSelectionsOperation','setActiveRange','_collabCursorState$','getCurrent','beginPath','@univerjs/core','green.600','ENTITLE_REPORT_LIMIT_EXCEED','DocCollaborationEntity','deserializeRangeWithSheet','WECHAT_HAS_BEEN_BOUND','ENTITLE_USE_COUPON_NOT_1ST_TRADE','toRgbString','OFFLINE','reason','_transformHistoryAndStateStack','Plugin','result','DependentOn','collaboration.offline-data-not-saved','disposeUnit','body','_onRefRangeChange','FormulaExecutedStateType','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','@univerjs/sheets-ui','LICENSE_MAX_UNITS_EXCEEDED','debounceTime','ALREADY_EXISTS','DocIMEInputManagerService','setItem','setParam','executionId','_status$','WebURLService','subunit','none','CollaborationUIEventService','_docSkeletonManagerService','restore','_monkeyPatchLogService','symbol','history','IMessageService','CollaborationSessionService','getColorFromTheme','onPointerEnter$','handleInsertRangeMoveDown','_onCursorDelete','getCellMatrix','currentColor','_docSyncEditingCollabCursorService','1em','Workbook','endRow','_online','currentUsage','stringify','Module','_textBubble','now','isActive','_refreshCollabCursors','search','subscribe','onStarting','_taskIds','MOBILE_VERIFY_CODE_MISMATCH','isEditing','switchMap','IRenderManagerService','RegularPolygon','setUndoRedoMutationParamsCache','_univerInstanceService','@univerjs/docs-ui','operators','jiqing.500','REDEMPTION_CODE_HAS_BEEN_CREATED','YUUMI_NO_CUBOID_FOR_QUESTION','Injector','_handleHeartbeatEvent','serializeRangeWithSheet','_imageIoService','START_CALCULATION','isArray','collabStatus.offline','touchDependencies','DocSkeletonManagerService','collabStatus.synced','DATA_SOURCE_TOO_LARGE','SheetsSelectionsService','React','INVITE_CODE_REQUIRED','dispose','_setupSubUnitSync','with','syncEditingCollabCursor','subUnitId','react/jsx-runtime','_colorAssignService','SOCKET_FAILED_RETRY','_init','_range','set','cursorInfo$','_scheduleSaving','push','IConfigService','UNIVER_SHEET','text','getFocusedUnit','@univerjs/sheets','SetDocZoomRatioOperation','_labelPosition','transformIMECache','@univerjs/engine-render','getSheetBySheetId','get','_initCommandInterceptor','_collabSessionService','save','endColumn','Inject','_docStateChangeManagerService','COMPLETION_FINISHED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','/universer-api/frontend/logs','getMember','SetFormulaCalculationNotificationMutation','has','params','_updateCollabCursors','_urlService','_cursor','EMAIL_HAS_BEEN_BOUND','getLocalCacheKey','IUIPartsService','getOwnPropertyDescriptor','_name','searchParams','_draw','_assignedColors','_uploadLog','REDEMPTION_USER_NOT_ELIGIBLE','editingUnit','_doCreateSocket','3415986kBKNKB','jsx','ACTIVE_UNIT_EVENT_CHANNEL','5870396VZSIYw','contains','_registerDependencies','getColor','LICENSE_IMPORT_SIZE_EXCEEDED','Shape','href','_initEntityListener','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','TOO_MANY_REQUESTS','collab-rect-range-','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getViewport','urlChange$','ThemeService','[Unhandled\x20Rejection]:\x20','getVpScrollXYInfoByPosToVp','_hover','YUUMI_AI_RUN_FAILED','SessionStatus','LICENSE_DISTRO_REJECTED','runId','USER_IS_ANONYMOUS','connectInjector','_sheetSkeletonManagerService','session.connection-failed','_entities','_docTransformStateCacheService','Failed','RichTextEditingMutation','_shapes','collab-text-anchor-','getCurrentUnitForType','PAYMENT_CHANNEL_NOT_SUPPORT','Rectangle','getAncestorScale','bottom','selection','_docTransformIMECacheService','getParam'];_0x1f30=function(){return _0x144e7f;};return _0x1f30();}function _0x2163(_0x36a24c,_0x5f8c48){_0x36a24c=_0x36a24c-0x198;const _0x1f3066=_0x1f30();let _0x2163e9=_0x1f3066[_0x36a24c];return _0x2163e9;}(function(_0x541fd9,_0x486123){const _0x45b5df=_0x2163,_0x414479=_0x541fd9();while(!![]){try{const _0x4c15b4=parseInt(_0x45b5df(0x39c))/0x1*(parseInt(_0x45b5df(0x3d2))/0x2)+-parseInt(_0x45b5df(0x331))/0x3+parseInt(_0x45b5df(0x3d1))/0x4*(parseInt(_0x45b5df(0x44c))/0x5)+parseInt(_0x45b5df(0x45d))/0x6+parseInt(_0x45b5df(0x334))/0x7+parseInt(_0x45b5df(0x43a))/0x8+parseInt(_0x45b5df(0x490))/0x9*(-parseInt(_0x45b5df(0x38a))/0xa);if(_0x4c15b4===_0x486123)break;else _0x414479['push'](_0x414479['shift']());}catch(_0x4439ad){_0x414479['push'](_0x414479['shift']());}}}(_0x1f30,0xdfc8a),function(_0x3cf91d,_0x3c3210){const _0x4d152e=_0x2163;typeof exports==_0x4d152e(0x42d)&&typeof module<'u'?_0x3c3210(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==_0x4d152e(0x479)&&define[_0x4d152e(0x241)]?define([_0x4d152e(0x1b5),_0x4d152e(0x301),_0x4d152e(0x433),_0x4d152e(0x2a4),'@univerjs/ui',_0x4d152e(0x442),_0x4d152e(0x28d),_0x4d152e(0x3a2),'@univerjs/rpc',_0x4d152e(0x30e),_0x4d152e(0x312),_0x4d152e(0x462),_0x4d152e(0x2e9),_0x4d152e(0x232),_0x4d152e(0x3b2),'@univerjs/docs','@univerjs/engine-formula',_0x4d152e(0x259),_0x4d152e(0x2b8)],_0x3c3210):(_0x3cf91d=typeof globalThis<'u'?globalThis:_0x3cf91d||self,_0x3c3210(_0x3cf91d['UniverProCollaborationClientUi']={},_0x3cf91d[_0x4d152e(0x2fa)],_0x3cf91d[_0x4d152e(0x219)],_0x3cf91d[_0x4d152e(0x466)],_0x3cf91d[_0x4d152e(0x387)],_0x3cf91d[_0x4d152e(0x442)],_0x3cf91d[_0x4d152e(0x3b9)],_0x3cf91d['React'],_0x3cf91d['UniverRpc'],_0x3cf91d[_0x4d152e(0x3d0)],_0x3cf91d['UniverEngineRender'],_0x3cf91d['UniverNetwork'],_0x3cf91d[_0x4d152e(0x3cf)],_0x3cf91d[_0x4d152e(0x40d)],_0x3cf91d[_0x4d152e(0x25e)],_0x3cf91d[_0x4d152e(0x3bd)],_0x3cf91d[_0x4d152e(0x295)],_0x3cf91d[_0x4d152e(0x442)][_0x4d152e(0x2ea)],_0x3cf91d[_0x4d152e(0x27c)]));}(this,function(_0x109cc1,_0x3d7e11,_0x463ba0,_0x4ce188,_0x577183,_0x4d6cca,_0x523600,_0x29b3ac,_0x5aaaee,_0x1fcf92,_0xcd5ffc,_0x1d4876,_0x1bfa4c,_0x31c46d,_0x5f3c3e,_0x4ebf52,_0xf94d0f,_0x133836,_0x406458){'use strict';const _0x28c363=_0x2163;var _0x4ff067=Object[_0x28c363(0x201)],_0xf5aeaf=(_0x2c6513,_0x1de0e3,_0x5dd025)=>_0x1de0e3 in _0x2c6513?_0x4ff067(_0x2c6513,_0x1de0e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5dd025}):_0x2c6513[_0x1de0e3]=_0x5dd025,_0x2002db=(_0x3d50b8,_0x5e0f05,_0x1d13dd)=>_0xf5aeaf(_0x3d50b8,typeof _0x5e0f05!=_0x28c363(0x2c8)?_0x5e0f05+'':_0x5e0f05,_0x1d13dd);function _0x3735e6({ref:_0x2f2530,..._0x5c8326}){const _0x10de19=_0x28c363,{icon:_0x5d9797,id:_0x468ac6,className:_0x3163ec,extend:_0x195ffb,..._0x2b27bf}=_0x5c8326,_0xda3322=(_0x10de19(0x48f)+_0x468ac6+'\x20'+(_0x3163ec||''))['trim'](),_0xc51ca8=_0x29b3ac['useRef']('_'+_0x2e5f45());return _0x49dea5(_0x5d9797,''+_0x468ac6,{'defIds':_0x5d9797[_0x10de19(0x483)],'idSuffix':_0xc51ca8[_0x10de19(0x24e)]},{'ref':_0x2f2530,'className':_0xda3322,..._0x2b27bf},_0x195ffb);}function _0x49dea5(_0x312c7b,_0x1c9b4a,_0xcdc1c2,_0x117774,_0x652577){const _0x5e51ac=_0x28c363;return _0x29b3ac['createElement'](_0x312c7b['tag'],{'key':_0x1c9b4a,..._0x39af35(_0x312c7b,_0xcdc1c2,_0x652577),..._0x117774},(_0x414693(_0x312c7b,_0xcdc1c2)[_0x5e51ac(0x268)]||[])[_0x5e51ac(0x269)]((_0x222ab5,_0xa8741c)=>_0x49dea5(_0x222ab5,_0x1c9b4a+'-'+_0x312c7b[_0x5e51ac(0x1a4)]+'-'+_0xa8741c,_0xcdc1c2,void 0x0,_0x652577)));}function _0x39af35(_0x46f528,_0x231388,_0x2afced){const _0x365be7=_0x28c363,_0xcdf056={..._0x46f528[_0x365be7(0x469)]};_0x2afced!=null&&_0x2afced[_0x365be7(0x3fa)]&&_0xcdf056['fill']==='colorChannel1'&&(_0xcdf056[_0x365be7(0x37a)]=_0x2afced[_0x365be7(0x3fa)]),_0x46f528[_0x365be7(0x1a4)]===_0x365be7(0x419)&&_0xcdf056['id']&&(_0xcdf056['id']=_0xcdf056['id']+_0x231388[_0x365be7(0x1ab)]),Object['entries'](_0xcdf056)[_0x365be7(0x385)](([_0x4a95ee,_0x1ed9d0])=>{const _0x1806d6=_0x365be7;_0x4a95ee===_0x1806d6(0x419)&&typeof _0x1ed9d0=='string'&&(_0xcdf056[_0x4a95ee]=_0x1ed9d0[_0x1806d6(0x41b)](/url\(#(.*)\)/,_0x1806d6(0x231)+_0x231388[_0x1806d6(0x1ab)]+')'));});const {defIds:_0x38c757}=_0x231388;return!_0x38c757||_0x38c757[_0x365be7(0x3e9)]===0x0||(_0x46f528[_0x365be7(0x1a4)]===_0x365be7(0x1dd)&&_0xcdf056[_0x365be7(0x480)]&&(_0xcdf056[_0x365be7(0x480)]=_0xcdf056[_0x365be7(0x480)]+_0x231388[_0x365be7(0x1ab)]),Object[_0x365be7(0x233)](_0xcdf056)['forEach'](([_0x539257,_0x29e631])=>{const _0xdb7e9f=_0x365be7;typeof _0x29e631=='string'&&(_0xcdf056[_0x539257]=_0x29e631['replace'](/url\(#(.*)\)/,_0xdb7e9f(0x231)+_0x231388['idSuffix']+')'));})),_0xcdf056;}function _0x414693(_0x46a2ed,_0x572ae4){const _0x4adb15=_0x28c363;var _0x449b57;const {defIds:_0x2b019c}=_0x572ae4;return!_0x2b019c||_0x2b019c['length']===0x0?_0x46a2ed:_0x46a2ed['tag']===_0x4adb15(0x473)&&((_0x449b57=_0x46a2ed['children'])!=null&&_0x449b57[_0x4adb15(0x3e9)])?{..._0x46a2ed,'children':_0x46a2ed[_0x4adb15(0x268)][_0x4adb15(0x269)](_0x178fe6=>typeof _0x178fe6[_0x4adb15(0x469)]['id']==_0x4adb15(0x19c)&&_0x2b019c&&_0x2b019c[_0x4adb15(0x3e0)](_0x178fe6[_0x4adb15(0x469)]['id'])?{..._0x178fe6,'attrs':{..._0x178fe6[_0x4adb15(0x469)],'id':_0x178fe6[_0x4adb15(0x469)]['id']+_0x572ae4[_0x4adb15(0x1ab)]}}:_0x178fe6)}:_0x46a2ed;}function _0x2e5f45(){const _0x298f54=_0x28c363;return Math[_0x298f54(0x1ef)]()[_0x298f54(0x288)](0x24)[_0x298f54(0x37e)](0x2,0x8);}_0x3735e6[_0x28c363(0x1b1)]=_0x28c363(0x412);const _0x5ab5f3={'tag':_0x28c363(0x1ac),'attrs':{'xmlns':_0x28c363(0x3bb),'fill':_0x28c363(0x2c3),'viewBox':_0x28c363(0x376),'width':_0x28c363(0x2d3),'height':_0x28c363(0x2d3)},'children':[{'tag':'g','attrs':{'clipPath':_0x28c363(0x3b6)},'children':[{'tag':_0x28c363(0x1a6),'attrs':{'stroke':_0x28c363(0x2d1),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x28c363(0x28a),'strokeLinejoin':_0x28c363(0x28a),'strokeWidth':1.2}}]},{'tag':_0x28c363(0x473),'attrs':{},'children':[{'tag':_0x28c363(0x25a),'attrs':{'id':_0x28c363(0x293)},'children':[{'tag':'path','attrs':{'fill':_0x28c363(0x249),'d':_0x28c363(0x1e3)}}]}]}],'defIds':[_0x28c363(0x293)]},_0x4f7356=_0x29b3ac[_0x28c363(0x294)](function(_0x37be74,_0x4d0202){const _0x37ffcb=_0x28c363;return _0x29b3ac[_0x37ffcb(0x45e)](_0x3735e6,Object[_0x37ffcb(0x1d0)]({},_0x37be74,{'id':_0x37ffcb(0x1dc),'ref':_0x4d0202,'icon':_0x5ab5f3}));});_0x4f7356['displayName']=_0x28c363(0x447);const _0x454177={'tag':_0x28c363(0x1ac),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x28c363(0x2c3),'viewBox':_0x28c363(0x381),'width':_0x28c363(0x2d3),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x28c363(0x225)},'children':[{'tag':_0x28c363(0x1a6),'attrs':{'stroke':_0x28c363(0x2d1),'d':'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','strokeLinecap':_0x28c363(0x28a),'strokeLinejoin':_0x28c363(0x28a),'strokeWidth':1.2}}]},{'tag':_0x28c363(0x473),'attrs':{},'children':[{'tag':_0x28c363(0x25a),'attrs':{'id':_0x28c363(0x19a)},'children':[{'tag':'path','attrs':{'fill':_0x28c363(0x249),'d':_0x28c363(0x1e3),'transform':_0x28c363(0x379)}}]}]}],'defIds':[_0x28c363(0x19a)]},_0x29c408=_0x29b3ac['forwardRef'](function(_0x1d1616,_0x5c0c4e){const _0x3fd110=_0x28c363;return _0x29b3ac[_0x3fd110(0x45e)](_0x3735e6,Object['assign']({},_0x1d1616,{'id':_0x3fd110(0x29c),'ref':_0x5c0c4e,'icon':_0x454177}));});_0x29c408[_0x28c363(0x1b1)]=_0x28c363(0x3ca);function _0x4127e1(_0x2cbd38){const _0x22e4be=_0x28c363;switch(_0x2cbd38){case _0x463ba0['CollaborationStatus']['OFFLINE']:return _0x22e4be(0x2f4);case _0x463ba0[_0x22e4be(0x3b7)]['CONFLICT']:return _0x22e4be(0x1e7);case _0x463ba0[_0x22e4be(0x3b7)]['FETCH_MISS']:return _0x22e4be(0x244);case _0x463ba0[_0x22e4be(0x3b7)][_0x22e4be(0x3c4)]:return'collabStatus.notCollab';case _0x463ba0[_0x22e4be(0x3b7)][_0x22e4be(0x227)]:case _0x463ba0[_0x22e4be(0x3b7)][_0x22e4be(0x459)]:return _0x22e4be(0x234);case _0x463ba0['CollaborationStatus'][_0x22e4be(0x439)]:case _0x463ba0[_0x22e4be(0x3b7)][_0x22e4be(0x3e7)]:return _0x22e4be(0x2f7);}}function _0x466448(_0x3a449d){const _0x38bb80=_0x28c363,{status$:_0x2f8940}=_0x3a449d,_0x5b9d0f=_0x577183[_0x38bb80(0x46f)](_0x2f8940,_0x463ba0['CollaborationStatus']['NOT_COLLAB']),_0x18df60=_0x577183['useDependency'](_0x4ce188[_0x38bb80(0x263)]),_0x37ed8d=_0x577183['useDependency'](_0x463ba0[_0x38bb80(0x2cb)]),_0x4c61f3=_0x5b9d0f!==_0x463ba0[_0x38bb80(0x3b7)][_0x38bb80(0x2ac)],_0xe502c6=_0x18df60['t'](_0x4127e1(_0x5b9d0f)),_0x4d7de6=_0x4c61f3?_0x3d7e11['jsx'](_0x29c408,{}):_0x3d7e11[_0x38bb80(0x332)](_0x4f7356,{}),_0x28d0bb=_0x29b3ac['useCallback'](()=>{_0x4c61f3||_0x37ed8d['reconnect']();},[_0x4c61f3,_0x37ed8d]);function _0x54a851(){const _0x1db42c=_0x38bb80;return _0x3d7e11['jsxs'](_0x1db42c(0x422),{'className':'univer-flex\x20univer-items-center','onClick':_0x28d0bb,'children':[_0x3d7e11[_0x1db42c(0x332)]('div',{'className':_0x523600[_0x1db42c(0x1d2)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x4c61f3,'univer-text-red-500':!_0x4c61f3}),'children':_0x4d7de6}),_0x3d7e11[_0x1db42c(0x332)](_0x1db42c(0x422),{'className':_0x1db42c(0x24a),'children':_0xe502c6})]});}return _0x4c61f3?_0x54a851():_0x3d7e11[_0x38bb80(0x332)](_0x523600[_0x38bb80(0x36c)],{'title':_0x18df60['t'](_0x38bb80(0x1e4)),'children':_0x54a851()});}var _0x29cc3a=Object['getOwnPropertyDescriptor'],_0x2c0dfe=(_0x35349a,_0x3138d5,_0x4352d3,_0x4e2ba1)=>{const _0x70e69a=_0x28c363;for(var _0x4ddea7=_0x4e2ba1>0x1?void 0x0:_0x4e2ba1?_0x29cc3a(_0x3138d5,_0x4352d3):_0x3138d5,_0x202fb4=_0x35349a[_0x70e69a(0x3e9)]-0x1,_0x418f8c;_0x202fb4>=0x0;_0x202fb4--)(_0x418f8c=_0x35349a[_0x202fb4])&&(_0x4ddea7=_0x418f8c(_0x4ddea7)||_0x4ddea7);return _0x4ddea7;},_0x3e25e7=(_0x3d34f2,_0x391b88)=>(_0x12e9ec,_0x10af42)=>_0x391b88(_0x12e9ec,_0x10af42,_0x3d34f2);_0x109cc1['DesktopCollaborationStatusDisplayController']=class extends _0x4ce188['Disposable']{constructor(_0x548ff3,_0x59ee79,_0x1db328,_0x120473){const _0x563d66=_0x28c363;super(),_0x2002db(this,_0x563d66(0x2c0),new _0x4d6cca[(_0x563d66(0x36e))](_0x463ba0['CollaborationStatus'][_0x563d66(0x3c4)])),(this[_0x563d66(0x2e8)]=_0x548ff3,this[_0x563d66(0x1d6)]=_0x59ee79,this[_0x563d66(0x24c)]=_0x1db328,this[_0x563d66(0x3dd)]=_0x120473,this[_0x563d66(0x472)](),this[_0x563d66(0x226)]());}[_0x28c363(0x226)](){const _0x10d6ed=_0x28c363;this['disposeWithMe'](this[_0x10d6ed(0x2e8)]['focused$'][_0x10d6ed(0x397)](_0x4d6cca[_0x10d6ed(0x2e4)](()=>{const _0x42dfb1=_0x10d6ed,_0x24da62=this['_univerInstanceService'][_0x42dfb1(0x30d)]();return _0x24da62?this['_collaborationController']['getCollabEntity$'](_0x24da62[_0x42dfb1(0x281)]()):_0x4d6cca['of'](null);}),_0x4d6cca[_0x10d6ed(0x2e4)](_0x1437cf=>_0x1437cf?_0x1437cf[_0x10d6ed(0x35c)]:_0x4d6cca['of'](_0x463ba0['CollaborationStatus'][_0x10d6ed(0x3c4)])))[_0x10d6ed(0x2df)](_0x1cca20=>{const _0x37ad53=_0x10d6ed;this[_0x37ad53(0x2c0)][_0x37ad53(0x395)](_0x1cca20);}));}[_0x28c363(0x472)](){const _0x26f12e=_0x28c363;this[_0x26f12e(0x210)](this[_0x26f12e(0x3dd)]['registerComponent'](_0x577183[_0x26f12e(0x1f1)][_0x26f12e(0x363)],()=>_0x577183[_0x26f12e(0x34b)](_0x45d1cf({'status$':this['_status$'][_0x26f12e(0x373)]()}),this['_injector'])));}},_0x109cc1[_0x28c363(0x3ac)]=_0x2c0dfe([_0x3e25e7(0x0,_0x4ce188[_0x28c363(0x398)]),_0x3e25e7(0x1,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x3e25e7(0x2,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x246)])),_0x3e25e7(0x3,_0x577183[_0x28c363(0x327)])],_0x109cc1[_0x28c363(0x3ac)]);function _0x45d1cf(_0x1b3cf0){const {status$:_0x5dc0ef}=_0x1b3cf0;return function(){const _0x553d86=_0x2163;return _0x3d7e11[_0x553d86(0x332)](_0x466448,{'status$':_0x5dc0ef});};}const _0x204646=_0x4ce188['createIdentifier'](_0x28c363(0x1d7));var _0x2d9acb=Object[_0x28c363(0x328)],_0x4a9e8c=(_0x14c9e3,_0xd715e,_0x2b7858,_0x5f1ee1)=>{const _0x4aa59f=_0x28c363;for(var _0x5981b6=_0x5f1ee1>0x1?void 0x0:_0x5f1ee1?_0x2d9acb(_0xd715e,_0x2b7858):_0xd715e,_0xcad15f=_0x14c9e3[_0x4aa59f(0x3e9)]-0x1,_0x46e82e;_0xcad15f>=0x0;_0xcad15f--)(_0x46e82e=_0x14c9e3[_0xcad15f])&&(_0x5981b6=_0x46e82e(_0x5981b6)||_0x5981b6);return _0x5981b6;},_0x5b9760=(_0xe34b9,_0x4e7358)=>(_0x15e131,_0x1db19b)=>_0x4e7358(_0x15e131,_0x1db19b,_0xe34b9);_0x109cc1[_0x28c363(0x443)]=class extends _0x4ce188['RxDisposable']{constructor(_0x550cda,_0x382e69,_0x3d7231,_0x2ab9b0,_0x429153){const _0x133f1d=_0x28c363;super(),this['_urlService']=_0x550cda,this[_0x133f1d(0x3ff)]=_0x382e69,this[_0x133f1d(0x3b3)]=_0x3d7231,this[_0x133f1d(0x37f)]=_0x2ab9b0,_0x429153?_0x429153==null||_0x429153[_0x133f1d(0x19d)]()[_0x133f1d(0x3f1)](()=>this[_0x133f1d(0x304)]()):(this[_0x133f1d(0x3ff)][_0x133f1d(0x3e5)](_0x133f1d(0x39d),_0x133f1d(0x33c)),this[_0x133f1d(0x304)]());}async[_0x28c363(0x304)](){const _0x458b0c=_0x28c363,_0x4b6a3e=this['_urlService']['getParam']('unit'),_0xdaa84=this['_urlService'][_0x458b0c(0x35b)](_0x458b0c(0x372)),_0x48a23a=this[_0x458b0c(0x323)][_0x458b0c(0x35b)](_0x458b0c(0x2c2));if(!_0x4b6a3e||!_0xdaa84){this['_logService'][_0x458b0c(0x3e5)](_0x458b0c(0x39d),_0x458b0c(0x33f));return;}const _0x3d9b01=await this['_dataLoaderService']['loadUnit'](_0x4b6a3e,Number(_0xdaa84),_0x48a23a);_0x3d9b01&&_0x3d9b01 instanceof _0x4ce188[_0x458b0c(0x2d4)]&&this['_setupSubUnitSync'](_0x3d9b01);}async[_0x28c363(0x2fd)](_0x29a816){const _0x3dbc37=_0x28c363;await this[_0x3dbc37(0x40c)](_0x29a816),_0x29a816['activeSheet$'][_0x3dbc37(0x397)](_0x4d6cca[_0x3dbc37(0x20b)](this[_0x3dbc37(0x1fa)]))['subscribe'](_0x4a7772=>{_0x4a7772&&this['_updateURLWithCurrentState'](_0x4a7772);}),this[_0x3dbc37(0x323)][_0x3dbc37(0x341)][_0x3dbc37(0x397)](_0x4d6cca['takeUntil'](this[_0x3dbc37(0x1fa)]))[_0x3dbc37(0x2df)](()=>this['_updateSubUnitFromURLParams'](_0x29a816));}['_updateURLWithCurrentState'](_0x187edd,_0xc1d051=!0x1){const _0xbc2db=_0x28c363,_0x223bab=this[_0xbc2db(0x323)][_0xbc2db(0x35b)](_0xbc2db(0x2c2));_0x187edd[_0xbc2db(0x229)]()!==_0x223bab&&this['_urlService'][_0xbc2db(0x2be)](_0xbc2db(0x2c2),_0x187edd[_0xbc2db(0x229)](),_0xc1d051);}async['_updateSubUnitFromURLParams'](_0x590816){const _0x4533c4=_0x28c363;var _0x34c69e;const _0x3c3f2c=this['_urlService'][_0x4533c4(0x35b)](_0x4533c4(0x2c2));if(!_0x3c3f2c||!_0x590816[_0x4533c4(0x313)](_0x3c3f2c)){const _0x257d01=_0x590816['getUnhiddenWorksheets']()[0x0],_0x124f14=_0x590816['getSheetBySheetId'](_0x257d01);if(!_0x124f14)return;this[_0x4533c4(0x46a)](_0x124f14,!0x0),await this[_0x4533c4(0x3b3)][_0x4533c4(0x1ae)](_0x1fcf92[_0x4533c4(0x3c5)]['id'],{'unitId':_0x590816['getUnitId'](),'subUnitId':_0x257d01});return;}((_0x34c69e=_0x590816[_0x4533c4(0x457)]())==null?void 0x0:_0x34c69e[_0x4533c4(0x229)]())!==_0x3c3f2c&&await this['_commandService']['executeCommand'](_0x1fcf92[_0x4533c4(0x3c5)]['id'],{'unitId':_0x590816['getUnitId'](),'subUnitId':_0x3c3f2c});}},_0x109cc1['CollaborationDataLoaderController']=_0x4a9e8c([_0x5b9760(0x0,_0x204646),_0x5b9760(0x1,_0x4ce188[_0x28c363(0x367)]),_0x5b9760(0x2,_0x4ce188['ICommandService']),_0x5b9760(0x3,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x1b0)])),_0x5b9760(0x4,_0x4ce188[_0x28c363(0x23f)](_0x5aaaee[_0x28c363(0x3ee)]))],_0x109cc1['CollaborationDataLoaderController']);var _0x1322f3=Object['getOwnPropertyDescriptor'],_0x20f952=(_0x13691c,_0x183f9e,_0x2e2323,_0x906436)=>{for(var _0x166b0e=_0x906436>0x1?void 0x0:_0x906436?_0x1322f3(_0x183f9e,_0x2e2323):_0x183f9e,_0x1aaa61=_0x13691c['length']-0x1,_0x547188;_0x1aaa61>=0x0;_0x1aaa61--)(_0x547188=_0x13691c[_0x1aaa61])&&(_0x166b0e=_0x547188(_0x166b0e)||_0x166b0e);return _0x166b0e;},_0x1c6190=(_0x1ca324,_0x55a123)=>(_0x18b992,_0x16ff3f)=>_0x55a123(_0x18b992,_0x16ff3f,_0x1ca324);let _0x288851=class extends _0x4ce188[_0x28c363(0x3f3)]{constructor(_0xc87200,_0x5c359b){const _0x55cd16=_0x28c363;super(),this[_0x55cd16(0x275)]=_0xc87200,this[_0x55cd16(0x2f1)]=_0x5c359b,this[_0x55cd16(0x304)]();}[_0x28c363(0x304)](){const _0x5c9e1d=_0x28c363,_0xc96039=this;this['disposeWithMe'](this[_0x5c9e1d(0x275)]['addClipboardHook']({'onBeforePasteImage':async _0x464539=>{const _0x26c265=_0x5c9e1d,_0x5e59cc=await _0xc96039['_imageIoService']['saveImage'](_0x464539);return _0x5e59cc?{'source':_0x5e59cc[_0x26c265(0x1b4)],'imageSourceType':_0x5e59cc[_0x26c265(0x3f5)]}:null;}}));}};_0x288851=_0x20f952([_0x1c6190(0x0,_0x1bfa4c['IDocClipboardService']),_0x1c6190(0x1,_0x31c46d[_0x28c363(0x414)])],_0x288851);const _0x7590f5=[_0x28c363(0x3a1),_0x28c363(0x2eb),_0x28c363(0x2a5),_0x28c363(0x3c9),_0x28c363(0x1c4),'yellow.400'];class _0x5937ca extends _0x4ce188[_0x28c363(0x3ba)]{constructor(){super(...arguments),_0x2002db(this,'_assignedColors',new Map()),_0x2002db(this,'_colorIndex',0x0);}[_0x28c363(0x46e)](_0x282e8c){const _0x429c35=_0x28c363;if(this['_assignedColors']['has'](_0x282e8c))return this[_0x429c35(0x32c)][_0x429c35(0x314)](_0x282e8c);const _0xcefbba=_0x7590f5[this[_0x429c35(0x21e)]];return this[_0x429c35(0x21e)]=(this['_colorIndex']+0x1)%_0x7590f5['length'],this[_0x429c35(0x32c)][_0x429c35(0x306)](_0x282e8c,_0xcefbba),_0xcefbba;}}function _0x10a2e2(_0xb73db1){const _0x1eeb22=_0x28c363;let _0x134675='';for(const _0x2e238f of _0xb73db1){const {startOffset:_0x3a0d0e,endOffset:_0x56b9b4,isActive:_0x2e2f14,rangeType:_0x55a8a3,segmentId:_0x1a4387,segmentPage:_0x2e4a89}=_0x2e238f;_0x134675[_0x1eeb22(0x3e9)]&&(_0x134675+=','),_0x134675+=_0x3a0d0e+':'+_0x56b9b4+':'+(_0x2e2f14?'1':'0')+':'+_0x55a8a3+':'+_0x1a4387+':'+_0x2e4a89;}return _0x134675;}function _0x57accd(_0x204702){const _0x277624=_0x28c363,_0x1eabaf=_0x204702[_0x277624(0x3e6)](','),_0x8c21a8=[];for(const _0x4b87f1 of _0x1eabaf){const [_0x32bf0c,_0x4a2bcd,_0x8a8261,_0x212a61,_0x343095,_0x257ddd]=_0x4b87f1[_0x277624(0x3e6)](':');_0x8c21a8[_0x277624(0x309)]({'startOffset':Number(_0x32bf0c),'endOffset':Number(_0x4a2bcd),'collapsed':_0x32bf0c===_0x4a2bcd,'isActive':_0x8a8261==='1','rangeType':_0x212a61===_0x4ce188[_0x277624(0x3fc)]['TEXT']?_0x4ce188[_0x277624(0x3fc)]['TEXT']:_0x4ce188[_0x277624(0x3fc)][_0x277624(0x43f)],'segmentId':typeof _0x343095==_0x277624(0x19c)?String(_0x343095):'','segmentPage':Number(_0x257ddd!=null?_0x257ddd:-0x1)});}return _0x8c21a8[_0x277624(0x3e3)](_0x246ff8=>_0x246ff8[_0x277624(0x2dc)])||(_0x8c21a8[0x0]['isActive']=!0x0),_0x8c21a8;}class _0x53ce46 extends _0x4ce188[_0x28c363(0x3f3)]{constructor(){const _0x5e3b53=_0x28c363;super(...arguments),_0x2002db(this,_0x5e3b53(0x2a1),new _0x4d6cca[(_0x5e3b53(0x36e))](null)),_0x2002db(this,_0x5e3b53(0x48b),this['_collabCursorState$']['asObservable']());}[_0x28c363(0x2ff)](_0x2311d8){const _0x24b3ad=_0x28c363,{unitID:_0x4b49ef,memberID:_0x2adf39,textRanges:_0x33ac34}=_0x2311d8,_0x22e023=_0x10a2e2(_0x33ac34);if(_0x22e023==='')return;const _0x33bbcd={'unitID':_0x4b49ef,'memberID':_0x2adf39,'selection':_0x22e023};this[_0x24b3ad(0x2a1)][_0x24b3ad(0x395)](_0x33bbcd);}}var _0x1b6d9f=Object[_0x28c363(0x328)],_0x3d3717=(_0x1e994c,_0x3cc13a,_0x485941,_0x346c0e)=>{for(var _0x155deb=_0x346c0e>0x1?void 0x0:_0x346c0e?_0x1b6d9f(_0x3cc13a,_0x485941):_0x3cc13a,_0x106954=_0x1e994c['length']-0x1,_0x4dd9c3;_0x106954>=0x0;_0x106954--)(_0x4dd9c3=_0x1e994c[_0x106954])&&(_0x155deb=_0x4dd9c3(_0x155deb)||_0x155deb);return _0x155deb;},_0xca0963=(_0x5e678f,_0x397edf)=>(_0x56f656,_0x38710c)=>_0x397edf(_0x56f656,_0x38710c,_0x5e678f);const _0x5ef029=0x12c,_0x184cdd=0x64;let _0x33dd8a=class extends _0x4ce188['RxDisposable']{constructor(_0x48036b,_0x46d634,_0x230f74,_0x2bddab,_0x734b35,_0x25330a,_0x36325,_0x5397f2,_0x4a4c88){const _0x12a29f=_0x28c363;super(),_0x2002db(this,_0x12a29f(0x2d6),!0x1),_0x2002db(this,_0x12a29f(0x304),!0x1),_0x2002db(this,_0x12a29f(0x243),new _0x4d6cca[(_0x12a29f(0x36e))](new Map())),_0x2002db(this,_0x12a29f(0x307),this[_0x12a29f(0x243)]['asObservable']()),_0x2002db(this,_0x12a29f(0x22d),new _0x4d6cca[(_0x12a29f(0x36e))]([])),_0x2002db(this,_0x12a29f(0x430),this[_0x12a29f(0x22d)][_0x12a29f(0x397)](_0x4d6cca[_0x12a29f(0x2ba)](_0x5ef029))),_0x2002db(this,'_updateLocalCursor',_0x4ce188['debounce'](_0x36fa17=>{const _0x1bfa58=_0x12a29f,_0x157689={'eventID':_0x5f3c3e[_0x1bfa58(0x207)][_0x1bfa58(0x270)],'data':{'unitID':this[_0x1bfa58(0x3dc)],'memberID':this[_0x1bfa58(0x26e)][_0x1bfa58(0x24f)](),'selection':_0x10a2e2(_0x36fa17)}};this['_session']['send'](_0x157689,this[_0x1bfa58(0x3dc)]);},_0x184cdd)),(this['unitID']=_0x48036b,this[_0x12a29f(0x26e)]=_0x46d634,this['_injector']=_0x230f74,this[_0x12a29f(0x302)]=_0x2bddab,this[_0x12a29f(0x220)]=_0x734b35,this[_0x12a29f(0x427)]=_0x25330a,this[_0x12a29f(0x1ea)]=_0x36325,this[_0x12a29f(0x2e8)]=_0x5397f2,this[_0x12a29f(0x3b3)]=_0x4a4c88);}get['cursorInfo'](){const _0x2e6f1c=_0x28c363;return this['_cursorInfo$'][_0x2e6f1c(0x26a)]();}get[_0x28c363(0x25f)](){const _0x57b620=_0x28c363;return this[_0x57b620(0x22d)][_0x57b620(0x26a)]();}[_0x28c363(0x2fc)](){const _0x1f8d52=_0x28c363;super[_0x1f8d52(0x2fc)](),this['_cursorInfo$']['next'](new Map()),this[_0x1f8d52(0x243)][_0x1f8d52(0x402)](),this[_0x1f8d52(0x22d)][_0x1f8d52(0x395)]([]),this[_0x1f8d52(0x22d)][_0x1f8d52(0x402)]();}[_0x28c363(0x482)](){const _0x5e6afa=_0x28c363;this['_init']||(this[_0x5e6afa(0x304)]=!0x0,this[_0x5e6afa(0x26e)][_0x5e6afa(0x22a)][_0x5e6afa(0x397)](_0x4d6cca[_0x5e6afa(0x20b)](this[_0x5e6afa(0x1fa)]))['subscribe'](_0x59fdfc=>{const _0x13e1bc=_0x5e6afa;_0x59fdfc===_0x463ba0[_0x13e1bc(0x347)][_0x13e1bc(0x3ea)]?this[_0x13e1bc(0x19e)]():this[_0x13e1bc(0x425)]();}),this[_0x5e6afa(0x26e)][_0x5e6afa(0x411)][_0x5e6afa(0x397)](_0x4d6cca[_0x5e6afa(0x20b)](this[_0x5e6afa(0x1fa)]))[_0x5e6afa(0x2df)](_0x281bb2=>{const _0x1f6b5b=_0x5e6afa,_0x3432b6=_0x281bb2[_0x1f6b5b(0x37b)];_0x3432b6===_0x5f3c3e['CollaborationEvent'][_0x1f6b5b(0x270)]&&this[_0x1f6b5b(0x451)](_0x281bb2),_0x3432b6===_0x5f3c3e['CollaborationEvent'][_0x1f6b5b(0x204)]&&this[_0x1f6b5b(0x2cf)](_0x281bb2);}),this[_0x5e6afa(0x210)](this[_0x5e6afa(0x3b3)][_0x5e6afa(0x20a)](_0x1f6e0d=>{const _0x4104ad=_0x5e6afa,_0x4cf502=_0x1f6e0d[_0x4104ad(0x321)];_0x4cf502!=null&&this[_0x4104ad(0x2d6)]&&_0x1f6e0d['id']===_0x4ebf52[_0x4104ad(0x29f)]['id']&&_0x4cf502[_0x4104ad(0x39f)]===this[_0x4104ad(0x3dc)]&&_0x4cf502[_0x4104ad(0x2e3)]===!0x1&&_0x4cf502[_0x4104ad(0x438)][_0x4104ad(0x3e9)]>0x0&&this[_0x4104ad(0x474)](_0x4cf502[_0x4104ad(0x438)]);})),this[_0x5e6afa(0x427)][_0x5e6afa(0x48b)][_0x5e6afa(0x397)](_0x4d6cca['takeUntil'](this[_0x5e6afa(0x1fa)]))[_0x5e6afa(0x2df)](_0x4172a3=>{const _0x300613=_0x5e6afa;if((_0x4172a3==null?void 0x0:_0x4172a3[_0x300613(0x3dc)])!==this['unitID'])return;const _0x41b647={'eventID':_0x5f3c3e[_0x300613(0x207)][_0x300613(0x270)],'data':_0x4172a3};this[_0x300613(0x451)](_0x41b647);}),this['disposeWithMe'](this[_0x5e6afa(0x3b3)][_0x5e6afa(0x20a)](_0x5d668e=>{const _0x1e4775=_0x5e6afa;if(_0x5d668e[_0x1e4775(0x321)]==null)return;const _0x4860aa=_0x5d668e[_0x1e4775(0x321)];if(_0x5d668e['id']!==_0x4ebf52[_0x1e4775(0x351)]['id']||_0x4860aa[_0x1e4775(0x39f)]!==this['unitID'])return;const _0x288dcc={'id':'doc.mutation.rich-text-editing','params':_0x4860aa},_0x336a68=this[_0x1e4775(0x393)];for(const [_0x1c0a7e,_0x5094ac]of _0x336a68){const _0x5c41a1={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5094ac[_0x1e4775(0x438)]}},_0x5a484b=this[_0x1e4775(0x1ea)][_0x1e4775(0x3af)](_0x288dcc,_0x5c41a1,!0x1);if(_0x5f3c3e['isTransformMutationFailure'](_0x5a484b))throw _0x5a484b[_0x1e4775(0x230)];_0x336a68[_0x1e4775(0x306)](_0x1c0a7e,{..._0x5094ac,'ranges':_0x5a484b[_0x1e4775(0x27e)]['params']['textRanges']});}queueMicrotask(()=>{const _0x3f1159=_0x1e4775;this[_0x3f1159(0x243)][_0x3f1159(0x395)](_0x336a68);});})));}[_0x28c363(0x451)](_0x1b4055){const _0x5839bf=_0x28c363;var _0x4b652a,_0x1ab7f1;const {memberID:_0x31f8ce,selection:_0xc89563}=_0x1b4055['data'],_0x1f7b9a=_0x57accd(_0xc89563),_0xbeb6be=(_0x1ab7f1=(_0x4b652a=this['_memberService'][_0x5839bf(0x31e)](this[_0x5839bf(0x3dc)],_0x31f8ce))==null?void 0x0:_0x4b652a[_0x5839bf(0x429)])!=null?_0x1ab7f1:_0x5839bf(0x29a),_0x29667a={'color':this[_0x5839bf(0x302)]['assignAColorForMemberID'](_0x31f8ce),'name':_0xbeb6be,'ranges':_0x1f7b9a},_0x363882=this['cursorInfo'];_0x363882[_0x5839bf(0x306)](_0x31f8ce,_0x29667a),this[_0x5839bf(0x243)][_0x5839bf(0x395)](_0x363882);}['_onCursorDelete'](_0x4697f0){const _0x574c5a=_0x28c363,{memberID:_0x2b4df1}=_0x4697f0[_0x574c5a(0x3ad)],_0x2e0f8c=this[_0x574c5a(0x393)];_0x2e0f8c[_0x574c5a(0x409)](_0x2b4df1),this[_0x574c5a(0x243)][_0x574c5a(0x395)](_0x2e0f8c);}['_toggleOnline'](){const _0x24b635=_0x28c363;var _0x11b14b;if(this[_0x24b635(0x2d6)]=!0x0,((_0x11b14b=this['_univerInstanceService'][_0x24b635(0x30d)]())==null?void 0x0:_0x11b14b[_0x24b635(0x281)]())!==this[_0x24b635(0x3dc)])return;const _0x4ce4d4=this[_0x24b635(0x1d6)][_0x24b635(0x314)](_0x4ebf52[_0x24b635(0x1a8)])['getDocRanges']();Array[_0x24b635(0x2f3)](_0x4ce4d4)&&_0x4ce4d4[_0x24b635(0x3e9)]>0x0&&this[_0x24b635(0x474)](_0x4ce4d4);}['_toggleOffline'](){const _0x3eda52=_0x28c363;this[_0x3eda52(0x2d6)]=!0x1;}};_0x33dd8a=_0x3d3717([_0xca0963(0x2,_0x4ce188[_0x28c363(0x319)](_0x4ce188['Injector'])),_0xca0963(0x3,_0x4ce188[_0x28c363(0x319)](_0x5937ca)),_0xca0963(0x4,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x1cc)])),_0xca0963(0x5,_0x4ce188[_0x28c363(0x319)](_0x53ce46)),_0xca0963(0x6,_0x5f3c3e[_0x28c363(0x1db)]),_0xca0963(0x7,_0x4ce188['IUniverInstanceService']),_0xca0963(0x8,_0x4ce188['ICommandService'])],_0x33dd8a);var _0x59492f=Object[_0x28c363(0x328)],_0x6a781c=(_0x2ed28b,_0x1c7462,_0x3500f0,_0xffc8e6)=>{const _0x474e7a=_0x28c363;for(var _0x3ad363=_0xffc8e6>0x1?void 0x0:_0xffc8e6?_0x59492f(_0x1c7462,_0x3500f0):_0x1c7462,_0x3b7b94=_0x2ed28b[_0x474e7a(0x3e9)]-0x1,_0x377d82;_0x3b7b94>=0x0;_0x3b7b94--)(_0x377d82=_0x2ed28b[_0x3b7b94])&&(_0x3ad363=_0x377d82(_0x3ad363)||_0x3ad363);return _0x3ad363;},_0x5558d0=(_0x21cb0e,_0x31740d)=>(_0x33df5c,_0x4a65d4)=>_0x31740d(_0x33df5c,_0x4a65d4,_0x21cb0e);const _0x60940e=0x12c,_0x27d173=0x64,_0x2e9a4=()=>{let _0x50a6d0=[],_0x246c64=!0x1;return _0x70b62b=>{_0x50a6d0['push'](_0x70b62b),_0x246c64||(_0x246c64=!0x0,setTimeout(()=>{const _0x1a9799=_0x2163;_0x50a6d0[_0x1a9799(0x385)](_0x24eb30=>_0x24eb30()),_0x50a6d0=[],_0x246c64=!0x1;}));};};let _0x328aa2=class extends _0x4ce188[_0x28c363(0x3f3)]{constructor(_0x2f1468,_0x1aebf1,_0x231363,_0x47b6d6,_0x1b6c94,_0x1f9ee7,_0x4363f1,_0x560d9f){const _0x442ded=_0x28c363;super(),_0x2002db(this,_0x442ded(0x2d6),!0x1),_0x2002db(this,_0x442ded(0x304),!0x1),_0x2002db(this,'_cursorInfo$',new _0x4d6cca[(_0x442ded(0x36e))](new Map())),_0x2002db(this,'cursorInfo$',this[_0x442ded(0x243)][_0x442ded(0x373)]()),_0x2002db(this,_0x442ded(0x22d),new _0x4d6cca['BehaviorSubject']([])),_0x2002db(this,_0x442ded(0x430),this[_0x442ded(0x22d)][_0x442ded(0x397)](_0x4d6cca[_0x442ded(0x2ba)](_0x60940e))),_0x2002db(this,'_updateLocalCursor',_0x4ce188[_0x442ded(0x289)]((_0x3f07f5,_0x102fb4)=>{const _0x2e491c=_0x442ded,_0x3b8d84={'eventID':_0x5f3c3e[_0x2e491c(0x207)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x2e491c(0x3dc)],'memberID':this[_0x2e491c(0x26e)][_0x2e491c(0x24f)](),'selection':_0xf94d0f[_0x2e491c(0x2f0)](_0x3f07f5,_0x102fb4['range'])}};this[_0x2e491c(0x26e)][_0x2e491c(0x3e4)](_0x3b8d84,this[_0x2e491c(0x3dc)]);},_0x27d173)),(this[_0x442ded(0x3dc)]=_0x2f1468,this[_0x442ded(0x26e)]=_0x1aebf1,this['_injector']=_0x231363,this[_0x442ded(0x302)]=_0x47b6d6,this['_memberService']=_0x1b6c94,this[_0x442ded(0x2e8)]=_0x1f9ee7,this[_0x442ded(0x3b3)]=_0x4363f1,this['_refRangeService']=_0x560d9f);}get[_0x28c363(0x393)](){const _0x5af44f=_0x28c363;return this[_0x5af44f(0x243)]['getValue']();}get[_0x28c363(0x25f)](){const _0x48d6f0=_0x28c363;return this[_0x48d6f0(0x22d)][_0x48d6f0(0x26a)]();}['dispose'](){const _0x3edf5b=_0x28c363;super[_0x3edf5b(0x2fc)](),this[_0x3edf5b(0x243)]['next'](new Map()),this[_0x3edf5b(0x243)][_0x3edf5b(0x402)](),this[_0x3edf5b(0x22d)]['next']([]),this[_0x3edf5b(0x22d)]['complete']();}[_0x28c363(0x482)](){const _0x2ccbf2=_0x28c363;this['_init']||(this[_0x2ccbf2(0x304)]=!0x0,this['_session'][_0x2ccbf2(0x22a)][_0x2ccbf2(0x397)](_0x4d6cca[_0x2ccbf2(0x20b)](this['dispose$']))[_0x2ccbf2(0x2df)](_0x19a66a=>{const _0x12cb5b=_0x2ccbf2;_0x19a66a===_0x463ba0[_0x12cb5b(0x347)]['ONLINE']?this['_toggleOnline']():this[_0x12cb5b(0x425)]();}),this[_0x2ccbf2(0x26e)]['event$'][_0x2ccbf2(0x397)](_0x4d6cca[_0x2ccbf2(0x20b)](this[_0x2ccbf2(0x1fa)]))[_0x2ccbf2(0x2df)](_0x445cea=>{const _0x22e9e4=_0x2ccbf2,_0x2514eb=_0x445cea['eventID'];_0x2514eb===_0x5f3c3e[_0x22e9e4(0x207)]['UPDATE_CURSOR']&&this[_0x22e9e4(0x451)](_0x445cea),_0x2514eb===_0x5f3c3e[_0x22e9e4(0x207)][_0x22e9e4(0x204)]&&this[_0x22e9e4(0x2cf)](_0x445cea);}),this[_0x2ccbf2(0x2b5)](),this[_0x2ccbf2(0x210)](this[_0x2ccbf2(0x3b3)][_0x2ccbf2(0x20a)](_0x55998e=>{const _0x173ee0=_0x2ccbf2;if(this[_0x173ee0(0x2d6)]&&_0x55998e['id']===_0x1fcf92[_0x173ee0(0x370)]['id']&&_0x55998e[_0x173ee0(0x321)][_0x173ee0(0x39f)]===this[_0x173ee0(0x3dc)]){const _0x1e37dc=_0x55998e[_0x173ee0(0x321)];this['_updateLocalCursor'](_0x1e37dc[_0x173ee0(0x300)],_0x1e37dc[_0x173ee0(0x276)][0x0]);}})));}[_0x28c363(0x451)](_0x42552b){const _0xc78070=_0x28c363;var _0x24e9c6,_0x14157a;const {memberID:_0x185736,selection:_0x555da3}=_0x42552b[_0xc78070(0x3ad)],{sheetName:_0x2c19c7,range:_0x5d25ff}=_0xf94d0f[_0xc78070(0x2a8)](_0x555da3),_0x2cd53={'name':(_0x14157a=(_0x24e9c6=this['_memberService'][_0xc78070(0x31e)](this[_0xc78070(0x3dc)],_0x185736))==null?void 0x0:_0x24e9c6[_0xc78070(0x429)])!=null?_0x14157a:'Unknown\x20user','range':this[_0xc78070(0x47c)](_0x2c19c7,_0x5d25ff),'sheetID':_0x2c19c7,'color':this['_colorAssignService'][_0xc78070(0x46e)](_0x185736),'selection':_0x555da3},_0x4f309f=this[_0xc78070(0x393)];_0x4f309f[_0xc78070(0x306)](_0x185736,_0x2cd53),this[_0xc78070(0x243)][_0xc78070(0x395)](_0x4f309f);}['_onCursorDelete'](_0x3b0e10){const _0x37a0cf=_0x28c363,{memberID:_0x547c2f}=_0x3b0e10[_0x37a0cf(0x3ad)],_0x2f8615=this[_0x37a0cf(0x393)];_0x2f8615['delete'](_0x547c2f),this[_0x37a0cf(0x243)][_0x37a0cf(0x395)](_0x2f8615);}[_0x28c363(0x47c)](_0x7aa476,_0x17ee18){const _0xdcab22=_0x28c363;var _0x2ba3e5,_0x341a31;const _0x261377=(_0x341a31=(_0x2ba3e5=this['_univerInstanceService'][_0xdcab22(0x1c2)](this[_0xdcab22(0x3dc)]))==null?void 0x0:_0x2ba3e5[_0xdcab22(0x313)](_0x7aa476))==null?void 0x0:_0x341a31[_0xdcab22(0x464)]();return(_0x261377==null?void 0x0:_0x261377[_0xdcab22(0x3e1)](_0x17588b=>_0x4ce188[_0xdcab22(0x356)][_0xdcab22(0x335)](_0x17588b,_0x17ee18)))||_0x17ee18;}['_onRefRangeChange'](){const _0x4372d9=_0x28c363,_0x1ffd3a=new _0x4ce188['DisposableCollection'](),_0x1b2730=_0x2e9a4(),_0x5c22b9=()=>{const _0x3c5a19=_0x2163;_0x1ffd3a[_0x3c5a19(0x2fc)]();const _0x402f6b=(_0x3bc1d9,_0x2eecc4,_0x3eee3e,_0x2d6c44)=>{const _0x10d1b5=_0x3c5a19;let _0x17f5e3=[];switch(_0x3bc1d9['id']){case _0x1fcf92[_0x10d1b5(0x260)][_0x10d1b5(0x436)]:{_0x17f5e3=_0x1fcf92[_0x10d1b5(0x38b)](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92['EffectRefRangId'][_0x10d1b5(0x1e0)]:{_0x17f5e3=_0x1fcf92['handleDeleteRangeMoveUp'](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92['EffectRefRangId'][_0x10d1b5(0x208)]:{_0x17f5e3=_0x1fcf92['handleInsertCol'](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92[_0x10d1b5(0x260)][_0x10d1b5(0x440)]:{_0x17f5e3=_0x1fcf92[_0x10d1b5(0x2ce)](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92[_0x10d1b5(0x260)][_0x10d1b5(0x206)]:{_0x17f5e3=_0x1fcf92[_0x10d1b5(0x19f)](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92[_0x10d1b5(0x260)][_0x10d1b5(0x391)]:{_0x17f5e3=_0x1fcf92[_0x10d1b5(0x46b)](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92[_0x10d1b5(0x260)]['MoveRangeCommandId']:{_0x17f5e3=_0x1fcf92[_0x10d1b5(0x42c)](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92['EffectRefRangId'][_0x10d1b5(0x405)]:{_0x17f5e3=_0x1fcf92['handleIRemoveCol'](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92[_0x10d1b5(0x260)][_0x10d1b5(0x1c7)]:{_0x17f5e3=_0x1fcf92['handleIRemoveRow'](_0x3bc1d9,_0x2d6c44);break;}}const _0x2e7429=_0x1fcf92[_0x10d1b5(0x3d6)](_0x17f5e3,_0x2d6c44),_0x2a26d8=this[_0x10d1b5(0x393)][_0x10d1b5(0x314)](_0x2eecc4);if(_0x2a26d8&&_0x2e7429){const _0x2a345d={..._0x2a26d8,'range':_0x2e7429};this[_0x10d1b5(0x393)][_0x10d1b5(0x306)](_0x2eecc4,_0x2a345d),_0x1b2730(()=>{const _0x5b5206=_0x10d1b5,_0x2a13bc=this[_0x5b5206(0x428)][_0x5b5206(0x446)](_0x2e7429,_0x5b0f0d=>(_0x2a13bc[_0x5b5206(0x2fc)](),_0x402f6b(_0x5b0f0d,_0x2eecc4,_0x3eee3e,_0x2e7429)));_0x1ffd3a[_0x5b5206(0x380)](_0x2a13bc);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x3c5a19(0x385)]((_0x10484f,_0x379b41)=>{const _0x27c56b=_0x3c5a19,{range:_0x369a11,sheetID:_0x233a31}=_0x10484f,_0x182310=this[_0x27c56b(0x428)][_0x27c56b(0x446)](_0x369a11,_0x50abe6=>(_0x182310[_0x27c56b(0x2fc)](),_0x402f6b(_0x50abe6,_0x379b41,_0x233a31,_0x369a11)));_0x1ffd3a['add'](_0x182310);});};this[_0x4372d9(0x210)](_0x4ce188[_0x4372d9(0x3d5)](this[_0x4372d9(0x243)][_0x4372d9(0x2df)](()=>{_0x5c22b9();})));}[_0x28c363(0x19e)](){const _0x245b9c=_0x28c363;var _0x2eaddb,_0x3e5228;if(this[_0x245b9c(0x2d6)]=!0x0,((_0x2eaddb=this[_0x245b9c(0x2e8)][_0x245b9c(0x30d)]())==null?void 0x0:_0x2eaddb[_0x245b9c(0x281)]())!==this[_0x245b9c(0x3dc)])return;const _0x3cd57b=(_0x3e5228=this[_0x245b9c(0x1d6)][_0x245b9c(0x314)](_0x1fcf92[_0x245b9c(0x2f9)])['getCurrentSelections']())==null?void 0x0:_0x3e5228[0x0],_0x56e47a=this['_univerInstanceService'][_0x245b9c(0x354)](_0x4ce188['UniverInstanceType'][_0x245b9c(0x30b)])[_0x245b9c(0x457)]();_0x3cd57b&&_0x56e47a&&this[_0x245b9c(0x474)](_0x56e47a[_0x245b9c(0x229)](),_0x3cd57b);}[_0x28c363(0x425)](){const _0x48a4dc=_0x28c363;this[_0x48a4dc(0x2d6)]=!0x1;}};_0x328aa2=_0x6a781c([_0x5558d0(0x2,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x5558d0(0x3,_0x4ce188[_0x28c363(0x319)](_0x5937ca)),_0x5558d0(0x4,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x1cc)])),_0x5558d0(0x5,_0x4ce188[_0x28c363(0x398)]),_0x5558d0(0x6,_0x4ce188[_0x28c363(0x454)]),_0x5558d0(0x7,_0x4ce188['Inject'](_0x1fcf92['RefRangeService']))],_0x328aa2);var _0x42e913=Object[_0x28c363(0x328)],_0x806f6a=(_0x374178,_0x4ff83d,_0x401135,_0x15b759)=>{const _0x7abc6b=_0x28c363;for(var _0x136a02=_0x15b759>0x1?void 0x0:_0x15b759?_0x42e913(_0x4ff83d,_0x401135):_0x4ff83d,_0x1a50bc=_0x374178[_0x7abc6b(0x3e9)]-0x1,_0x17e51b;_0x1a50bc>=0x0;_0x1a50bc--)(_0x17e51b=_0x374178[_0x1a50bc])&&(_0x136a02=_0x17e51b(_0x136a02)||_0x136a02);return _0x136a02;},_0x1fce5b=(_0x5da830,_0x392235)=>(_0x151c9d,_0x4a4383)=>_0x392235(_0x151c9d,_0x4a4383,_0x5da830);let _0x2a8919=class extends _0x4ce188['RxDisposable']{constructor(_0x14db15,_0x344eb3,_0x31baab){const _0x3788ea=_0x28c363;super(),_0x2002db(this,_0x3788ea(0x34e),new Map()),_0x2002db(this,_0x3788ea(0x3c6),new _0x4d6cca[(_0x3788ea(0x22e))]()),(this['_univerInstanceService']=_0x14db15,this[_0x3788ea(0x1d6)]=_0x344eb3,this[_0x3788ea(0x316)]=_0x31baab,this['_init']());}['dispose'](){const _0x1ed3af=_0x28c363;super[_0x1ed3af(0x2fc)](),this[_0x1ed3af(0x3c6)]['complete'](),this[_0x1ed3af(0x34e)]['forEach'](_0x12c4bb=>_0x12c4bb[_0x1ed3af(0x2fc)]());}[_0x28c363(0x240)](_0x225e61){const _0x2bc882=_0x28c363;return this[_0x2bc882(0x34e)][_0x2bc882(0x320)](_0x225e61)?this[_0x2bc882(0x34e)]['get'](_0x225e61)['cursorInfo$']:this['_entityInit$'][_0x2bc882(0x397)](_0x4d6cca[_0x2bc882(0x1c8)](_0x2d323d=>_0x2d323d[_0x2bc882(0x3dc)]===_0x225e61),_0x4d6cca['switchMap'](_0x38e125=>_0x38e125[_0x2bc882(0x307)]));}[_0x28c363(0x304)](){const _0x27499c=_0x28c363;this[_0x27499c(0x2e8)][_0x27499c(0x253)](_0x4ce188['UniverInstanceType'][_0x27499c(0x30b)])[_0x27499c(0x397)](_0x4d6cca[_0x27499c(0x20b)](this[_0x27499c(0x1fa)]))[_0x27499c(0x2df)](async _0x304c6f=>{const _0x7c0d34=_0x27499c,_0x21a289=_0x304c6f[_0x7c0d34(0x281)](),_0x48b0d5=await this[_0x7c0d34(0x3e8)](_0x21a289);this['_entityInit$']['next'](_0x48b0d5),this['_entities']['set'](_0x21a289,_0x48b0d5);}),this[_0x27499c(0x2e8)][_0x27499c(0x253)](_0x4ce188[_0x27499c(0x1b9)][_0x27499c(0x39e)])[_0x27499c(0x397)](_0x4d6cca[_0x27499c(0x20b)](this['dispose$']))[_0x27499c(0x397)](_0x4d6cca[_0x27499c(0x1c8)](_0x203e4c=>!_0x203e4c['getUnitId']()[_0x27499c(0x377)]('__')))[_0x27499c(0x2df)](async _0x27ea00=>{const _0x311114=_0x27499c,_0x27e6a6=_0x27ea00['getUnitId'](),_0x5ac1bd=await this[_0x311114(0x1d8)](_0x27e6a6);this[_0x311114(0x3c6)]['next'](_0x5ac1bd),this[_0x311114(0x34e)][_0x311114(0x306)](_0x27e6a6,_0x5ac1bd);}),_0x4d6cca[_0x27499c(0x3a0)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4ce188[_0x27499c(0x1b9)][_0x27499c(0x39e)]),this[_0x27499c(0x2e8)][_0x27499c(0x1c3)](_0x4ce188['UniverInstanceType'][_0x27499c(0x30b)]))[_0x27499c(0x397)](_0x4d6cca[_0x27499c(0x20b)](this[_0x27499c(0x1fa)]))[_0x27499c(0x2df)](_0x2f9228=>{const _0x23c82c=_0x27499c,_0x2d33ba=_0x2f9228[_0x23c82c(0x281)](),_0x32a926=this[_0x23c82c(0x34e)][_0x23c82c(0x314)](_0x2d33ba);_0x32a926&&(_0x32a926[_0x23c82c(0x2fc)](),this[_0x23c82c(0x34e)][_0x23c82c(0x409)](_0x2d33ba));});}async[_0x28c363(0x3e8)](_0x16cf15){const _0xb38bc5=_0x28c363,_0xea1d90=await this[_0xb38bc5(0x316)][_0xb38bc5(0x267)](_0x16cf15),_0x263c54=this[_0xb38bc5(0x1d6)][_0xb38bc5(0x3a6)](_0x328aa2,_0x16cf15,_0xea1d90);return _0x263c54[_0xb38bc5(0x482)](),_0x263c54;}async[_0x28c363(0x1d8)](_0x5ab558){const _0x45274a=_0x28c363,_0x2228f4=await this[_0x45274a(0x316)][_0x45274a(0x267)](_0x5ab558),_0x579e25=this[_0x45274a(0x1d6)][_0x45274a(0x3a6)](_0x33dd8a,_0x5ab558,_0x2228f4);return _0x579e25[_0x45274a(0x482)](),_0x579e25;}};_0x2a8919=_0x806f6a([_0x1fce5b(0x0,_0x4ce188[_0x28c363(0x398)]),_0x1fce5b(0x1,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x1fce5b(0x2,_0x4ce188[_0x28c363(0x319)](_0x463ba0['CollaborationSessionService']))],_0x2a8919);const _0x25350b=0x14,_0x12abee=0xc8,_0x2dfeb6=0x4,_0x4ee7e1=0x5;function _0x2e83ce(_0x1ad3d9,_0x28019f){const _0x37fa21=_0x28c363;let {radius:_0x4e934b,width:_0xa5d991,height:_0x16bdc3}=_0x28019f;_0x4e934b=_0x4e934b!=null?_0x4e934b:0x0,_0xa5d991=_0xa5d991!=null?_0xa5d991:0x1e,_0x16bdc3=_0x16bdc3!=null?_0x16bdc3:0x1e;let _0x53cdac=0x0,_0x5ca536=0x0,_0x63f6d3=0x0;_0x53cdac=_0x5ca536=_0x63f6d3=Math[_0x37fa21(0x200)](_0x4e934b,_0xa5d991/0x2,_0x16bdc3/0x2),_0x1ad3d9[_0x37fa21(0x2a3)](),_0x1ad3d9[_0x37fa21(0x215)](_0x53cdac,0x0),_0x1ad3d9[_0x37fa21(0x28b)](_0xa5d991-_0x5ca536,0x0),_0x1ad3d9['arc'](_0xa5d991-_0x5ca536,_0x5ca536,_0x5ca536,Math['PI']*0x3/0x2,0x0,!0x1),_0x1ad3d9[_0x37fa21(0x28b)](_0xa5d991,_0x16bdc3-_0x63f6d3),_0x1ad3d9[_0x37fa21(0x418)](_0xa5d991-_0x63f6d3,_0x16bdc3-_0x63f6d3,_0x63f6d3,0x0,Math['PI']/0x2,!0x1),_0x1ad3d9[_0x37fa21(0x28b)](0x0,_0x16bdc3),_0x1ad3d9[_0x37fa21(0x28b)](0x0,_0x53cdac),_0x1ad3d9[_0x37fa21(0x418)](_0x53cdac,_0x53cdac,_0x53cdac,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1ad3d9[_0x37fa21(0x369)](),_0x28019f[_0x37fa21(0x37a)]&&(_0x1ad3d9[_0x37fa21(0x317)](),_0x1ad3d9[_0x37fa21(0x264)]=_0x28019f[_0x37fa21(0x37a)],_0x28019f['fillRule']==='evenodd'?_0x1ad3d9[_0x37fa21(0x37a)](_0x37fa21(0x362)):_0x1ad3d9['fill'](),_0x1ad3d9[_0x37fa21(0x2c6)]());}class _0x37a2c3 extends _0xcd5ffc[_0x28c363(0x339)]{constructor(_0x302790,_0x28fc77){const _0x2b84eb=_0x28c363;super(_0x302790,_0x28fc77),_0x2002db(this,_0x2b84eb(0x484)),_0x2002db(this,_0x2b84eb(0x30c)),(this[_0x2b84eb(0x484)]=_0x28fc77==null?void 0x0:_0x28fc77[_0x2b84eb(0x484)],this[_0x2b84eb(0x30c)]=_0x28fc77==null?void 0x0:_0x28fc77[_0x2b84eb(0x30c)]);}static['drawWith'](_0x174a57,_0x269453){const _0x57fe97=_0x28c363,{text:_0x3f60b3,color:_0x4b8451}=_0x269453;_0x174a57[_0x57fe97(0x317)](),_0x174a57[_0x57fe97(0x48c)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x411708=_0x174a57[_0x57fe97(0x40a)](_0x3f60b3)[_0x57fe97(0x252)],_0xed919=Math['min'](_0x411708+0x2*_0x2dfeb6,_0x12abee);_0x2e83ce(_0x174a57,{'height':_0x25350b,'radius':0x4,'width':_0xed919,'fill':_0x4b8451}),_0x174a57['fillStyle']='#FFF';const _0x13f716=_0x2dfeb6,_0x1ec7ee=_0x25350b-_0x4ee7e1,_0x93e1e5=_0x12abee-0x2*_0x2dfeb6;if(_0x411708>_0x93e1e5){let _0x34fbe2='',_0xf75fe9=0x0;for(const _0x32fd3c of _0x3f60b3){const _0x1e576d=_0x174a57['measureText'](_0x32fd3c)[_0x57fe97(0x252)];if(_0xf75fe9+_0x1e576d<=_0x93e1e5-_0x174a57['measureText'](_0x57fe97(0x44f))[_0x57fe97(0x252)])_0x34fbe2+=_0x32fd3c,_0xf75fe9+=_0x1e576d;else{_0x34fbe2+=_0x57fe97(0x44f);break;}}_0x174a57[_0x57fe97(0x25c)](_0x34fbe2,_0x13f716,_0x1ec7ee);}else _0x174a57[_0x57fe97(0x25c)](_0x3f60b3,_0x13f716,_0x1ec7ee);_0x174a57['restore']();}['_draw'](_0x210e88){const _0x47f248=_0x28c363;_0x37a2c3[_0x47f248(0x420)](_0x210e88,this);}}const _0x4f588b=_0x28c363(0x353),_0x27e4da=_0x28c363(0x29e),_0x386a0a=_0x28c363(0x33e),_0x7bb81=0x6,_0x4ff717=1.5,_0x45028c=0x4,_0x595131=1.5,_0x596848='rgba(255,\x20255,\x20255,\x200.01)';class _0x31a71a{constructor(_0xfe212f,_0x1c2424,_0x515492,_0x5b6c56){const _0x2817d1=_0x28c363;_0x2002db(this,_0x2817d1(0x352),[]),_0x2002db(this,'_anchor',null),_0x2002db(this,_0x2817d1(0x2da),null),_0x2002db(this,_0x2817d1(0x24d),null),_0x2002db(this,_0x2817d1(0x1c5),null),_0x2002db(this,_0x2817d1(0x38f),null),(this[_0x2817d1(0x324)]=_0xfe212f,this[_0x2817d1(0x1fc)]=_0x1c2424,this[_0x2817d1(0x1b7)]=_0x515492,this[_0x2817d1(0x287)]=_0x5b6c56,this['_render']());}set[_0x28c363(0x345)](_0x2765a9){const _0x4a5cbf=_0x28c363;_0x2765a9?(this[_0x4a5cbf(0x24d)]&&this[_0x4a5cbf(0x24d)][_0x4a5cbf(0x39b)](),this[_0x4a5cbf(0x2da)]&&this[_0x4a5cbf(0x2da)][_0x4a5cbf(0x273)]()):(this['_anchorDot']&&this[_0x4a5cbf(0x24d)]['show'](),this[_0x4a5cbf(0x2da)]&&this[_0x4a5cbf(0x2da)][_0x4a5cbf(0x39b)]());}['dispose'](){const _0x2f227e=_0x28c363;for(const _0xed479e of this[_0x2f227e(0x352)])_0xed479e[_0x2f227e(0x2fc)]();this[_0x2f227e(0x2da)]&&this[_0x2f227e(0x2da)][_0x2f227e(0x2fc)](),this[_0x2f227e(0x24d)]&&this[_0x2f227e(0x24d)][_0x2f227e(0x2fc)](),this[_0x2f227e(0x1e5)]&&this[_0x2f227e(0x1e5)]['dispose'](),this[_0x2f227e(0x38f)]&&this[_0x2f227e(0x38f)]();}[_0x28c363(0x3f9)](){const _0x563b81=_0x28c363;var _0x60b752;const {_docSkeleton:_0x573e5e,_document:_0x3422f8}=this,{color:_0x338ed3,name:_0x1a177c,ranges:_0x2bb929}=this[_0x563b81(0x324)],_0x5493f3=_0x3422f8[_0x563b81(0x237)](),{docsLeft:_0x13e754,docsTop:_0x24d7ca}=_0x5493f3,_0x4ff3b3=new _0x1bfa4c[(_0x563b81(0x296))](_0x5493f3,_0x573e5e);for(const {startOffset:_0x4c8bfd,endOffset:_0x1bec19,rangeType:_0x572399,segmentId:_0x3058f3,segmentPage:_0x498ff5,collapsed:_0x48f443,isActive:_0x47b935}of _0x2bb929){const _0x4b3c21=_0x573e5e[_0x563b81(0x3cc)](_0x4c8bfd,!0x0,_0x3058f3,_0x498ff5);let _0x5b96dc=_0x573e5e[_0x563b81(0x3cc)](_0x1bec19,!0x0,_0x3058f3,_0x498ff5);if(_0x5b96dc==null&&(_0x5b96dc=_0x573e5e[_0x563b81(0x3cc)](_0x1bec19-0x1,!0x1,_0x3058f3,_0x498ff5)),_0x47b935){const {contentBoxPointGroup:_0xafa4fb}=_0x4ff3b3['getRangePointData'](_0x5b96dc,_0x5b96dc);if(_0xafa4fb['length']===0x0)continue;this[_0x563b81(0x42a)](_0x338ed3,_0xafa4fb,_0x13e754,_0x24d7ca,_0x1a177c),this[_0x563b81(0x38f)]=this[_0x563b81(0x23a)]();}if(_0x4b3c21&&_0x5b96dc){if(_0x572399===_0x4ce188[_0x563b81(0x3fc)][_0x563b81(0x43f)]){const _0x598e7=new _0x1bfa4c[(_0x563b81(0x1b8))](_0x5493f3,_0x573e5e),{pointGroup:_0x2b12b9}=(_0x60b752=_0x598e7['getRangePointData'](_0x4b3c21,_0x5b96dc))!=null?_0x60b752:{};if(_0x2b12b9==null||_0x2b12b9[_0x563b81(0x3e9)]===0x0)continue;this[_0x563b81(0x255)](_0x338ed3,_0x2b12b9,_0x13e754,_0x24d7ca);}else{if(!_0x48f443){const {borderBoxPointGroup:_0x4117f4}=_0x4ff3b3[_0x563b81(0x47f)](_0x4b3c21,_0x5b96dc);if(_0x4117f4[_0x563b81(0x3e9)]===0x0)continue;this[_0x563b81(0x3e2)](_0x338ed3,_0x4117f4,_0x13e754,_0x24d7ca);}}}}}[_0x28c363(0x42a)](_0x408a69,_0x5c5fa7,_0x43a774,_0x2853c9,_0x4d1d65){const _0x14e40e=_0x28c363,_0x481afe=this[_0x14e40e(0x3de)](_0x5c5fa7),{left:_0x4807ab,top:_0xfd9690,height:_0x33b9b6}=_0x481afe,_0x437ebd=this[_0x14e40e(0x282)](),_0x2f5bcf=_0x595131/_0x437ebd,_0xc0d538=new _0xcd5ffc[(_0x14e40e(0x1b3))](_0x4f588b+_0x4ce188[_0x14e40e(0x35d)](_0x7bb81),{'left':_0x4807ab+_0x43a774-_0x2f5bcf,'top':_0xfd9690+_0x2853c9,'height':_0x33b9b6,'width':_0x4ff717,'fill':_0x408a69||_0xcd5ffc['getColor'](_0x4ce188['COLORS'][_0x14e40e(0x3d8)],0x0),'strokeWidth':_0x2f5bcf,'stroke':_0x596848,'evented':!0x0});this['_anchor']=_0xc0d538,this[_0x14e40e(0x1fc)][_0x14e40e(0x280)](_0xc0d538,_0x1bfa4c[_0x14e40e(0x291)]);const _0x1223d0=new _0xcd5ffc[(_0x14e40e(0x1b3))](_0x4f588b+_0x4ce188[_0x14e40e(0x35d)](_0x7bb81),{'left':_0x4807ab+_0x43a774-_0x2f5bcf,'top':_0xfd9690+_0x2853c9-_0x45028c/0x2,'height':_0x45028c,'width':_0x45028c,'fill':_0x408a69||_0xcd5ffc[_0x14e40e(0x337)](_0x4ce188[_0x14e40e(0x35f)][_0x14e40e(0x3d8)],0x0),'strokeWidth':0x0,'stroke':_0x408a69||_0xcd5ffc[_0x14e40e(0x337)](_0x4ce188[_0x14e40e(0x35f)][_0x14e40e(0x3d8)],0x0),'evented':!0x1});this['_anchorDot']=_0x1223d0,this['_scene'][_0x14e40e(0x280)](_0x1223d0,_0x1bfa4c[_0x14e40e(0x291)]);const _0x5ba17a=new _0x37a2c3(_0x4f588b+_0x4ce188[_0x14e40e(0x35d)](_0x7bb81),{'left':_0x4807ab+_0x43a774-_0x2f5bcf,'top':_0xfd9690+_0x2853c9-_0x25350b,'text':_0x4d1d65,'color':_0x408a69});this[_0x14e40e(0x2da)]=_0x5ba17a,this[_0x14e40e(0x1fc)][_0x14e40e(0x280)](_0x5ba17a,_0x1bfa4c['TEXT_RANGE_LAYER_INDEX']),this[_0x14e40e(0x345)]=!0x1;}[_0x28c363(0x23a)](){const _0x4aa573=_0x28c363,_0xe0a416=this[_0x4aa573(0x1e5)][_0x4aa573(0x2cd)][_0x4aa573(0x292)](()=>{this['_hover']=!0x0;}),_0x1a1e58=this[_0x4aa573(0x1e5)][_0x4aa573(0x1be)][_0x4aa573(0x292)](()=>{const _0x1101b3=_0x4aa573;this[_0x1101b3(0x1c5)]&&clearTimeout(this[_0x1101b3(0x1c5)]),this[_0x1101b3(0x1c5)]=setTimeout(()=>{const _0x4828d7=_0x1101b3;this[_0x4828d7(0x345)]=!0x1;},0x7d0);});return()=>{const _0x441abf=_0x4aa573;_0xe0a416[_0x441abf(0x1de)](),_0x1a1e58[_0x441abf(0x1de)]();};}[_0x28c363(0x3e2)](_0x5c9786,_0x3ae510,_0x2781e5,_0x2f8099){const _0x30cfcd=_0x28c363,_0x35f50f=new _0x4ce188['ColorKit'](_0x5c9786)[_0x30cfcd(0x1c6)](0.2)[_0x30cfcd(0x2ab)](),_0x21f2f3=new _0xcd5ffc[(_0x30cfcd(0x2e6))](_0x27e4da+_0x4ce188[_0x30cfcd(0x35d)](_0x7bb81),{'pointsGroup':_0x3ae510,'fill':_0x35f50f||_0xcd5ffc[_0x30cfcd(0x337)](_0x4ce188['COLORS'][_0x30cfcd(0x3d8)],0.2),'left':_0x2781e5,'top':_0x2f8099,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x21f2f3),this['_scene'][_0x30cfcd(0x280)](_0x21f2f3,_0x1bfa4c[_0x30cfcd(0x291)]);}[_0x28c363(0x255)](_0x4d80a3,_0x3d181a,_0x26fdf2,_0x38720d){const _0x24d0c0=_0x28c363,_0x397349=new _0x4ce188[(_0x24d0c0(0x396))](_0x4d80a3)[_0x24d0c0(0x1c6)](0.2)['toRgbString'](),_0x44a723=new _0xcd5ffc[(_0x24d0c0(0x2e6))](_0x386a0a+_0x4ce188[_0x24d0c0(0x35d)](_0x7bb81),{'pointsGroup':_0x3d181a,'fill':_0x397349||_0xcd5ffc['getColor'](_0x4ce188[_0x24d0c0(0x35f)][_0x24d0c0(0x3d8)],0.2),'left':_0x26fdf2,'top':_0x38720d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x24d0c0(0x352)]['push'](_0x44a723),this[_0x24d0c0(0x1fc)][_0x24d0c0(0x280)](_0x44a723,_0x1bfa4c[_0x24d0c0(0x291)]);}['_getAnchorBounding'](_0xfc26d6){const _0x476eba=_0xfc26d6[0x0],_0x4a4df5=_0x476eba[0x0],_0x5834b8=_0x476eba[0x2],{x:_0x24702e,y:_0x5c34a1}=_0x4a4df5,{x:_0x3f1fd5,y:_0x2100d1}=_0x5834b8;return{'left':_0x24702e,'top':_0x5c34a1,'width':_0x3f1fd5-_0x24702e,'height':_0x2100d1-_0x5c34a1};}[_0x28c363(0x282)](){const _0x386b4b=_0x28c363,{scaleX:_0x34780b,scaleY:_0x72fa5e}=this[_0x386b4b(0x1fc)][_0x386b4b(0x357)]();return Math[_0x386b4b(0x3df)](_0x34780b,_0x72fa5e);}}var _0x451609=Object[_0x28c363(0x328)],_0x3959de=(_0x53453e,_0x29a2e0,_0x5a306c,_0x32ef79)=>{for(var _0x5d2d21=_0x32ef79>0x1?void 0x0:_0x32ef79?_0x451609(_0x29a2e0,_0x5a306c):_0x29a2e0,_0x34ca5d=_0x53453e['length']-0x1,_0x4b9d1f;_0x34ca5d>=0x0;_0x34ca5d--)(_0x4b9d1f=_0x53453e[_0x34ca5d])&&(_0x5d2d21=_0x4b9d1f(_0x5d2d21)||_0x5d2d21);return _0x5d2d21;},_0x5b9df3=(_0x224102,_0x239da8)=>(_0x209550,_0x54e60a)=>_0x239da8(_0x209550,_0x54e60a,_0x224102);let _0x2af2e0=class extends _0x4ce188[_0x28c363(0x3f3)]{constructor(_0x24b98a,_0x515582,_0x208d3a,_0x31c810,_0x594515){const _0x44e78e=_0x28c363;super(),_0x2002db(this,'_cursorShapes',[]),_0x2002db(this,_0x44e78e(0x374),[]),(this[_0x44e78e(0x3d9)]=_0x24b98a,this[_0x44e78e(0x2c5)]=_0x515582,this[_0x44e78e(0x27a)]=_0x208d3a,this['_commandService']=_0x31c810,this[_0x44e78e(0x3a4)]=_0x594515,this['_init']());}[_0x28c363(0x304)](){const _0x2dbd0f=_0x28c363,_0x2d464f=this[_0x2dbd0f(0x3d9)][_0x2dbd0f(0x39f)],_0x45ee95=this[_0x2dbd0f(0x2c5)];this[_0x2dbd0f(0x210)](_0x4d6cca[_0x2dbd0f(0x3f8)]([this[_0x2dbd0f(0x27a)][_0x2dbd0f(0x240)](_0x2d464f),this['_themeService']['currentTheme$']])['pipe'](_0x133836['map'](([_0x3732f3,_0x1c129c])=>({'skeleton':_0x45ee95[_0x2dbd0f(0x203)](),'cursors':[..._0x3732f3[_0x2dbd0f(0x404)]()][_0x2dbd0f(0x371)](_0x5d5d66=>({..._0x5d5d66,'color':this[_0x2dbd0f(0x3a4)][_0x2dbd0f(0x2cc)](_0x5d5d66[_0x2dbd0f(0x484)])}))})))[_0x2dbd0f(0x2df)](_0x514295=>{const _0x387303=_0x2dbd0f;if(this[_0x387303(0x1b2)](),_0x514295){const {skeleton:_0x227cad,cursors:_0x417940}=_0x514295;this[_0x387303(0x322)](_0x227cad,_0x417940);}})),this[_0x2dbd0f(0x21b)](),this[_0x2dbd0f(0x1c0)]();}[_0x28c363(0x322)](_0x5d6ba8,_0x20b56f){const {scene:_0xe6a063,mainComponent:_0x255c53}=this['_context'],_0x55f02f=_0x20b56f['map'](_0x2af99f=>new _0x31a71a(_0x2af99f,_0xe6a063,_0x5d6ba8,_0x255c53));this['_cursorShapes']=_0x55f02f,this['_cursors']=_0x20b56f;}[_0x28c363(0x2dd)](){const _0x36834b=_0x28c363;this[_0x36834b(0x1b2)]();const {scene:_0x26fa78,mainComponent:_0x5c0365}=this['_context'],_0x58ab27=this[_0x36834b(0x2c5)][_0x36834b(0x203)](),_0x48d6a5=this['_cursors'][_0x36834b(0x269)](_0x283777=>new _0x31a71a(_0x283777,_0x26fa78,_0x58ab27,_0x5c0365));this['_cursorShapes']=_0x48d6a5;}['_removeCollabCursors'](){const _0x43f6a4=_0x28c363;this['_cursorShapes'][_0x43f6a4(0x385)](_0x317aa9=>_0x317aa9[_0x43f6a4(0x2fc)]()),this['_cursorShapes']=[];}[_0x28c363(0x1c0)](){const _0x50d655=_0x28c363,_0x3145e8=[_0x1bfa4c[_0x50d655(0x30f)]['id']];this['disposeWithMe'](this['_commandService'][_0x50d655(0x20a)](_0x48beaf=>{const _0x2855ad=_0x50d655;_0x3145e8[_0x2855ad(0x3e0)](_0x48beaf['id'])&&_0x48beaf['params'][_0x2855ad(0x39f)]===this[_0x2855ad(0x3d9)][_0x2855ad(0x39f)]&&this[_0x2855ad(0x2dd)]();}));}['_initResize'](){const _0x92a6a6=_0x28c363;this[_0x92a6a6(0x210)](_0x4ce188[_0x92a6a6(0x1df)](this[_0x92a6a6(0x3d9)]['engine']['onTransformChange$'])[_0x92a6a6(0x397)](_0x133836[_0x92a6a6(0x1c8)](_0x5d423a=>_0x5d423a[_0x92a6a6(0x372)]===_0xcd5ffc[_0x92a6a6(0x31c)][_0x92a6a6(0x3db)]),_0x133836[_0x92a6a6(0x486)](0x10))[_0x92a6a6(0x2df)](()=>{const _0x251a0d=_0x92a6a6;this[_0x251a0d(0x2dd)]();}));}};_0x2af2e0=_0x3959de([_0x5b9df3(0x1,_0x4ce188['Inject'](_0x4ebf52[_0x28c363(0x2f6)])),_0x5b9df3(0x2,_0x4ce188[_0x28c363(0x319)](_0x2a8919)),_0x5b9df3(0x3,_0x4ce188[_0x28c363(0x454)]),_0x5b9df3(0x4,_0x4ce188[_0x28c363(0x319)](_0x4ce188['ThemeService']))],_0x2af2e0);const _0x5a36fd=0x1,_0x1f5eaa=1.5;class _0x3b4e84 extends _0xcd5ffc[_0x28c363(0x339)]{constructor(_0x117445,_0x3a78d5){const _0x3e9009=_0x28c363;super(_0x117445,_0x3a78d5),_0x2002db(this,_0x3e9009(0x463)),_0x2002db(this,_0x3e9009(0x20c),!0x1),_0x2002db(this,_0x3e9009(0x305)),_0x2002db(this,'_name',''),_0x2002db(this,_0x3e9009(0x310),_0x3e9009(0x283)),_0x2002db(this,_0x3e9009(0x360)),(_0x3a78d5&&this[_0x3e9009(0x1e1)](_0x3a78d5),this[_0x3e9009(0x2cd)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x3e9009(0x1e1)]({'hovered':!0x1})));}[_0x28c363(0x1e1)](_0x26cf1b){const _0x512ff7=_0x28c363;var _0x50e1c8,_0x18c1c5,_0x4ee10b,_0x3284bf,_0xfbfb8f,_0x2b3919;this[_0x512ff7(0x463)]=(_0x50e1c8=_0x26cf1b[_0x512ff7(0x484)])!=null?_0x50e1c8:this[_0x512ff7(0x463)],this[_0x512ff7(0x20c)]=(_0x18c1c5=_0x26cf1b['hovered'])!=null?_0x18c1c5:this[_0x512ff7(0x20c)],this[_0x512ff7(0x305)]=(_0x4ee10b=_0x26cf1b['range'])!=null?_0x4ee10b:this[_0x512ff7(0x305)],this[_0x512ff7(0x329)]=(_0x3284bf=_0x26cf1b[_0x512ff7(0x429)])!=null?_0x3284bf:this['_name'],this[_0x512ff7(0x310)]=(_0xfbfb8f=_0x26cf1b['labelPosition'])!=null?_0xfbfb8f:this[_0x512ff7(0x310)],this[_0x512ff7(0x360)]=(_0x2b3919=_0x26cf1b[_0x512ff7(0x3f0)])!=null?_0x2b3919:this[_0x512ff7(0x360)],this[_0x512ff7(0x477)]({'width':_0x26cf1b[_0x512ff7(0x252)],'height':_0x26cf1b['height']});}[_0x28c363(0x388)](_0xa95640){const _0x2cf620=_0x28c363,{row:_0x17968f,column:_0x546f17}=_0xa95640;if(_0x17968f>=this[_0x2cf620(0x305)][_0x2cf620(0x1c9)]&&_0x17968f<=this[_0x2cf620(0x305)][_0x2cf620(0x2d5)]&&_0x546f17>=this[_0x2cf620(0x305)][_0x2cf620(0x3a5)]&&_0x546f17<=this[_0x2cf620(0x305)][_0x2cf620(0x318)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x2cf620(0x1e1)]({'hovered':!0x1});}['triggerDblclick'](_0x35bae5){return!0x1;}[_0x28c363(0x32b)](_0x274a59){const _0x4c575e=_0x28c363;_0xcd5ffc[_0x4c575e(0x1b3)][_0x4c575e(0x420)](_0x274a59,{'width':this[_0x4c575e(0x252)],'height':this[_0x4c575e(0x1f4)],'strokeWidth':_0x1f5eaa,'stroke':this[_0x4c575e(0x463)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x4c575e(0x20c)]&&(_0x274a59[_0x4c575e(0x317)](),_0x274a59['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x4c575e(0x310)]===_0x4c575e(0x358)?0x0:-_0x25350b),_0x37a2c3[_0x4c575e(0x420)](_0x274a59,{'text':this[_0x4c575e(0x329)],'color':this[_0x4c575e(0x463)]}),_0x274a59[_0x4c575e(0x2c6)]());}}var _0x217aa0=Object['getOwnPropertyDescriptor'],_0x49f790=(_0x1eaad8,_0x4e88b0,_0x4547c8,_0x566d6c)=>{const _0x160819=_0x28c363;for(var _0x197c7a=_0x566d6c>0x1?void 0x0:_0x566d6c?_0x217aa0(_0x4e88b0,_0x4547c8):_0x4e88b0,_0x41a7a9=_0x1eaad8[_0x160819(0x3e9)]-0x1,_0x582120;_0x41a7a9>=0x0;_0x41a7a9--)(_0x582120=_0x1eaad8[_0x41a7a9])&&(_0x197c7a=_0x582120(_0x197c7a)||_0x197c7a);return _0x197c7a;},_0x43a142=(_0x2c592e,_0x4cfdbc)=>(_0x4ce25d,_0xc0e152)=>_0x4cfdbc(_0x4ce25d,_0xc0e152,_0x2c592e);const _0xbb2a9a=0x1389;let _0x5dc1d7=class extends _0x4ce188[_0x28c363(0x3f3)]{constructor(_0x534551,_0x3ffbcd,_0x2fd374,_0x6c2312){const _0x438668=_0x28c363;super(),_0x2002db(this,_0x438668(0x374),new Set()),_0x2002db(this,'_lastPointer',null),(this[_0x438668(0x3d9)]=_0x534551,this[_0x438668(0x34c)]=_0x3ffbcd,this[_0x438668(0x27a)]=_0x2fd374,this[_0x438668(0x3a4)]=_0x6c2312,this[_0x438668(0x304)]());}['_init'](){const _0x4a31ac=_0x28c363;this[_0x4a31ac(0x34c)][_0x4a31ac(0x408)]['pipe'](_0x133836[_0x4a31ac(0x20b)](this[_0x4a31ac(0x1fa)]),_0x133836[_0x4a31ac(0x2e4)](_0x2d4196=>{const _0x363ba7=_0x4a31ac;if(_0x2d4196){const _0x5450cf=_0x2d4196[_0x363ba7(0x29b)];return _0x4d6cca['combineLatest'](this[_0x363ba7(0x27a)][_0x363ba7(0x240)](this[_0x363ba7(0x3d9)][_0x363ba7(0x39f)]),this['_themeService'][_0x363ba7(0x251)])[_0x363ba7(0x397)](_0x133836[_0x363ba7(0x269)](([_0x348001,_0x304e41])=>{const _0xc93c2f=_0x363ba7,_0x3776e7=new Map();return _0x348001[_0xc93c2f(0x385)]((_0x1a853,_0x2c4ccf)=>{const _0x46080a=_0xc93c2f;if(_0x1a853[_0x46080a(0x3be)]===_0x5450cf){const _0x266627={..._0x1a853};_0x266627['color']=this[_0x46080a(0x3a4)][_0x46080a(0x2cc)](_0x1a853[_0x46080a(0x484)]),_0x3776e7[_0x46080a(0x306)](_0x2c4ccf,_0x266627);}}),{'skeleton':_0x2d4196,'cursors':_0x3776e7};}));}return _0x4d6cca['of']({'skeleton':null,'cursors':new Map()});}))[_0x4a31ac(0x2df)](({skeleton:_0x190896,cursors:_0x3cfb88})=>{const _0x2d6fd5=_0x4a31ac;this['_removeCollabCursors'](),_0x190896&&this[_0x2d6fd5(0x322)](_0x190896,_0x3cfb88);}),this[_0x4a31ac(0x34c)][_0x4a31ac(0x408)]['subscribe'](_0x2eb0ac=>{const _0x363916=_0x4a31ac;if(_0x2eb0ac==null)return;const {skeleton:_0x28a440}=_0x2eb0ac,{scene:_0x4524fd}=this[_0x363916(0x3d9)];_0x4524fd[_0x363916(0x285)][_0x363916(0x292)](_0x4ce188['debounce'](_0x5126a5=>{const _0x976817=_0x363916;var _0x18c2d3,_0x47e984;const {offsetX:_0x4aa8f9,offsetY:_0x47dd30}=_0x5126a5,{x:_0x1dcd18,y:_0x19dd7a}=_0x4524fd[_0x976817(0x1bc)](_0xcd5ffc[_0x976817(0x487)][_0x976817(0x378)]([_0x4aa8f9,_0x47dd30])),{scaleX:_0x1397cb,scaleY:_0x2cb98c}=_0x4524fd['getAncestorScale'](),_0x145080=_0x4524fd[_0x976817(0x340)](_0xcd5ffc['SHEET_VIEWPORT_KEY'][_0x976817(0x1f0)]),_0x3cceca=_0x4524fd[_0x976817(0x344)](_0xcd5ffc['Vector2']['FromArray']([_0x1dcd18,_0x19dd7a]),_0x145080),_0x586a11=_0x28a440[_0x976817(0x1f9)](_0x4aa8f9,_0x47dd30,_0x1397cb,_0x2cb98c,_0x3cceca);((_0x18c2d3=this[_0x976817(0x3f7)])==null?void 0x0:_0x18c2d3[_0x976817(0x468)])===_0x586a11[_0x976817(0x468)]&&((_0x47e984=this['_lastPointer'])==null?void 0x0:_0x47e984[_0x976817(0x1a2)])===_0x586a11[_0x976817(0x1a2)]||this[_0x976817(0x374)][_0x976817(0x385)](_0x2d0c93=>{const _0x371bb9=_0x976817;_0x2d0c93[_0x371bb9(0x388)](_0x586a11);});},0x64));});}[_0x28c363(0x322)](_0x118269,_0x272f32){const _0x1055f5=_0x28c363;var _0x1b8da1;const _0x58c3fb=(_0x1b8da1=this[_0x1055f5(0x34c)][_0x1055f5(0x2a2)]())==null?void 0x0:_0x1b8da1[_0x1055f5(0x1f3)];if(!_0x58c3fb)return;const _0x46c10a=this[_0x1055f5(0x286)]();if(!_0x46c10a)return;this[_0x1055f5(0x374)][_0x1055f5(0x385)](_0x3980b1=>{const _0x39a1e5=_0x1055f5;_0x3980b1[_0x39a1e5(0x1f7)]();});const {scene:_0x3363f6}=_0x46c10a,_0x1ef196=_0x1196c0(Array[_0x1055f5(0x441)](_0x272f32[_0x1055f5(0x404)]()))[_0x1055f5(0x269)](_0xda8c78=>{const _0x56ee3c=_0x1055f5,{color:_0x483e61,range:_0x47ea98,name:_0x41d95d,selection:_0x1971f0,sheetID:_0x3ad2c6}=_0xda8c78,{startColumn:_0x4f8249,startRow:_0x5806a0,endColumn:_0x2ee70d,endRow:_0x4f4a11}=_0x47ea98,_0x37d006=_0x406458[_0x56ee3c(0x23d)](_0x5806a0,_0x4f8249,_0x3363f6,_0x58c3fb),_0x58d85d=_0x406458['getCoordByCell'](_0x4f4a11,_0x2ee70d,_0x3363f6,_0x58c3fb),{columnHeaderHeightAndMarginTop:_0x10dafe}=_0x58c3fb,{startX:_0x2ba513,startY:_0x75fd84}=_0x37d006,{endX:_0x68c066,endY:_0x4578d6}=_0x58d85d,_0x53395c=_0x68c066-_0x2ba513,_0x2d13c7=_0x4578d6-_0x75fd84,_0x15738a={'labelPosition':_0x75fd84-_0x10dafe>=_0x25350b?_0x56ee3c(0x283):_0x56ee3c(0x358),'sheetID':_0x3ad2c6,'range':_0x47ea98,'color':_0x483e61,'name':_0x41d95d,'selection':_0x1971f0,'left':_0x2ba513,'top':_0x75fd84,'width':_0x53395c,'height':_0x2d13c7,'evented':!0x1,'zIndex':_0xbb2a9a};return new _0x3b4e84(_0x41d95d,_0x15738a);});_0x3363f6[_0x1055f5(0x3a9)](_0x1ef196,_0x5a36fd),this[_0x1055f5(0x374)]=new Set(_0x1ef196);}[_0x28c363(0x1b2)](){const _0x4e457a=_0x28c363;var _0x4b1770;(_0x4b1770=this[_0x4e457a(0x374)])==null||_0x4b1770[_0x4e457a(0x385)](_0x580fb2=>_0x580fb2['dispose']());}[_0x28c363(0x286)](){const _0x348945=_0x28c363;return _0x406458[_0x348945(0x239)](this[_0x348945(0x3d9)][_0x348945(0x1da)],this[_0x348945(0x3d9)]);}};_0x5dc1d7=_0x49f790([_0x43a142(0x1,_0x4ce188[_0x28c363(0x319)](_0x406458[_0x28c363(0x214)])),_0x43a142(0x2,_0x4ce188[_0x28c363(0x319)](_0x2a8919)),_0x43a142(0x3,_0x4ce188['Inject'](_0x4ce188[_0x28c363(0x342)]))],_0x5dc1d7);function _0x1196c0(_0x40c22d){const _0x2f317c=_0x28c363,_0x89313e=new Map();return _0x40c22d[_0x2f317c(0x385)](_0x40906f=>{const _0x4b56a5=_0x2f317c;if(_0x89313e[_0x4b56a5(0x320)](_0x40906f['selection'])){const _0x39c44a=_0x89313e[_0x4b56a5(0x314)](_0x40906f[_0x4b56a5(0x359)]);_0x39c44a['name']+=',\x20'+_0x40906f[_0x4b56a5(0x429)];}else _0x89313e['set'](_0x40906f[_0x4b56a5(0x359)],_0x40906f);}),Array['from'](_0x89313e['values']());}var _0x2ea302=Object[_0x28c363(0x328)],_0x33897b=(_0x49aa6e,_0x3e72d6,_0x3b5876,_0x2581bc)=>{const _0x5875d4=_0x28c363;for(var _0x41cca1=_0x2581bc>0x1?void 0x0:_0x2581bc?_0x2ea302(_0x3e72d6,_0x3b5876):_0x3e72d6,_0x4fb4a0=_0x49aa6e[_0x5875d4(0x3e9)]-0x1,_0x18d7ca;_0x4fb4a0>=0x0;_0x4fb4a0--)(_0x18d7ca=_0x49aa6e[_0x4fb4a0])&&(_0x41cca1=_0x18d7ca(_0x41cca1)||_0x41cca1);return _0x41cca1;},_0x332728=(_0x19011a,_0x8ad69f)=>(_0xe15c4e,_0x4413ed)=>_0x8ad69f(_0xe15c4e,_0x4413ed,_0x19011a);let _0x35c423=class extends _0x4ce188[_0x28c363(0x3ba)]{constructor(_0x15e0fb,_0x3f4095,_0x4e1f47,_0x24b09c,_0x5a5dac,_0x37a2b6){const _0x5cd3c3=_0x28c363;super(),this['_beforeCloseService']=_0x15e0fb,this[_0x5cd3c3(0x28c)]=_0x3f4095,this[_0x5cd3c3(0x224)]=_0x4e1f47,this[_0x5cd3c3(0x22f)]=_0x24b09c,this[_0x5cd3c3(0x1d4)]=_0x5a5dac,this[_0x5cd3c3(0x1a0)]=_0x37a2b6,this[_0x5cd3c3(0x3b8)](),this[_0x5cd3c3(0x250)]();}['_setupBeforeClosingHandler'](){const _0x2c38b6=_0x28c363;this[_0x2c38b6(0x210)](this[_0x2c38b6(0x450)]['registerBeforeClose'](()=>{const _0x2df508=_0x2c38b6;if(this[_0x2df508(0x28c)]['saveTaskMap'][_0x2df508(0x1fe)])return this[_0x2df508(0x1a0)]['t'](_0x2df508(0x2b2));}));}['_initEvent'](){const _0x5a68ff=_0x28c363;this['disposeWithMe'](this[_0x5a68ff(0x224)]['event$'][_0x5a68ff(0x2df)](_0x25ecb5=>{const _0x3cac16=_0x5a68ff;_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x416)]&&this[_0x3cac16(0x22f)][_0x3cac16(0x273)]({'type':_0x523600[_0x3cac16(0x3c7)]['Warning'],'content':this[_0x3cac16(0x1a0)]['t'](_0x3cac16(0x36b))}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x20d)]&&this[_0x3cac16(0x22f)][_0x3cac16(0x273)]({'type':_0x523600[_0x3cac16(0x3c7)]['Warning'],'content':this[_0x3cac16(0x1a0)]['t'](_0x3cac16(0x365))}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)]['PERMISSION_DENIED']&&this['_notificationService'][_0x3cac16(0x273)]({'title':this[_0x3cac16(0x1a0)]['t'](_0x3cac16(0x366)),'content':this[_0x3cac16(0x1a0)]['t']('permission.content'),'type':'error','duration':0x0}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x28e)]&&this[_0x3cac16(0x22f)]['show']({'type':_0x523600[_0x3cac16(0x3c7)][_0x3cac16(0x1ad)],'content':this[_0x3cac16(0x1a0)]['t']('collaboration.closeRoom')+'('+_0x25ecb5[_0x3cac16(0x3ad)]+')'}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x3c1)]&&this['_messageService'][_0x3cac16(0x273)]({'type':_0x523600['MessageType'][_0x3cac16(0x437)],'content':this[_0x3cac16(0x1a0)]['t'](_0x25ecb5[_0x3cac16(0x3ad)]||'')}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x303)]&&this[_0x3cac16(0x22f)]['show']({'type':_0x523600[_0x3cac16(0x3c7)]['Warning'],'content':this[_0x3cac16(0x1a0)]['t'](_0x3cac16(0x1a7))}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)]['SOCKET_FAILED']&&this['_messageService'][_0x3cac16(0x273)]({'type':_0x523600['MessageType'][_0x3cac16(0x1ad)],'content':this['_localeService']['t'](_0x3cac16(0x34d))}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x1ff)]&&this['_messageService'][_0x3cac16(0x273)]({'type':_0x523600['MessageType'][_0x3cac16(0x1ad)],'content':this['_localeService']['t'](_0x3cac16(0x3ab))});}));}};_0x35c423=_0x33897b([_0x332728(0x0,_0x577183[_0x28c363(0x46d)]),_0x332728(0x1,_0x463ba0['ILocalCacheService']),_0x332728(0x2,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x2c4)])),_0x332728(0x3,_0x577183[_0x28c363(0x2ca)]),_0x332728(0x4,_0x577183['INotificationService']),_0x332728(0x5,_0x4ce188[_0x28c363(0x319)](_0x4ce188['LocaleService']))],_0x35c423);var _0x335ea8=Object['getOwnPropertyDescriptor'],_0x2c939f=(_0x457298,_0x26bd49,_0x461e62,_0x2f34c3)=>{const _0x3d3520=_0x28c363;for(var _0x20fc9d=_0x2f34c3>0x1?void 0x0:_0x2f34c3?_0x335ea8(_0x26bd49,_0x461e62):_0x26bd49,_0x14377f=_0x457298[_0x3d3520(0x3e9)]-0x1,_0x42485b;_0x14377f>=0x0;_0x14377f--)(_0x42485b=_0x457298[_0x14377f])&&(_0x20fc9d=_0x42485b(_0x20fc9d)||_0x20fc9d);return _0x20fc9d;},_0xf6f714=(_0x18186c,_0x3614d5)=>(_0x465589,_0x53fd3e)=>_0x3614d5(_0x465589,_0x53fd3e,_0x18186c);let _0x1e2184=class extends _0x4ce188[_0x28c363(0x3ba)]{constructor(_0x2eb5ff,_0x2e2b69,_0x1e770e,_0x180ada){const _0x1dc2b3=_0x28c363;super(),_0x2002db(this,_0x1dc2b3(0x43d)),(this[_0x1dc2b3(0x1d6)]=_0x2eb5ff,this[_0x1dc2b3(0x417)]=_0x2e2b69,this[_0x1dc2b3(0x3ff)]=_0x1e770e,this['_collaborationSessionService']=_0x180ada,this[_0x1dc2b3(0x304)]());}[_0x28c363(0x304)](){const _0x54579d=_0x28c363;this[_0x54579d(0x1a1)](),this[_0x54579d(0x1cf)](),this[_0x54579d(0x2c7)](),this['_initUserListener']();}['_initUserListener'](){const _0x37a7b3=_0x28c363;this[_0x37a7b3(0x210)](this[_0x37a7b3(0x245)]['socket$'][_0x37a7b3(0x2df)](_0x1a48cd=>{const _0x28ddb8=_0x37a7b3;this[_0x28ddb8(0x43d)]=_0x1a48cd==null?void 0x0:_0x1a48cd['memberID'];}));}[_0x28c363(0x1a1)](){const _0x26a18a=_0x28c363,_0x4a5457=_0x19b7ec=>{const _0x5a8b0f=_0x2163;var _0x3d0071;this[_0x5a8b0f(0x32d)]('error',_0x5a8b0f(0x3d4)+_0x19b7ec[_0x5a8b0f(0x382)]+'\x20at\x20'+_0x19b7ec['filename']+':'+_0x19b7ec[_0x5a8b0f(0x299)]+':'+_0x19b7ec[_0x5a8b0f(0x432)]+'\x0a'+(((_0x3d0071=_0x19b7ec['error'])==null?void 0x0:_0x3d0071['stack'])||''));};window['addEventListener'](_0x26a18a(0x230),_0x4a5457),this[_0x26a18a(0x210)](()=>{const _0x2be5fa=_0x26a18a;window[_0x2be5fa(0x21f)](_0x2be5fa(0x230),_0x4a5457);});}[_0x28c363(0x1cf)](){const _0x173889=_0x28c363,_0xcc4cea=_0x598551=>{const _0x284ea4=_0x2163;this['_uploadLog'](_0x284ea4(0x230),_0x284ea4(0x343)+_0x598551[_0x284ea4(0x2ad)]);};window[_0x173889(0x38e)]('unhandledrejection',_0xcc4cea),this['disposeWithMe'](()=>{const _0x38cb66=_0x173889;window['removeEventListener'](_0x38cb66(0x1eb),_0xcc4cea);});}[_0x28c363(0x2c7)](){const _0x22254a=_0x28c363,_0x789511=this[_0x22254a(0x3ff)]['error']['bind'](this[_0x22254a(0x3ff)]);this[_0x22254a(0x3ff)][_0x22254a(0x230)]=(..._0x3b2961)=>{const _0xe01bbc=_0x22254a,_0x3bd8f5=_0x3b2961[_0xe01bbc(0x269)](_0x182880=>_0x182880 instanceof Error?_0x182880['message']+'\x0a'+_0x182880[_0xe01bbc(0x26d)]:String(_0x182880))[_0xe01bbc(0x41e)]('\x20');this[_0xe01bbc(0x32d)](_0xe01bbc(0x230),_0xe01bbc(0x199)+_0x3bd8f5),_0x789511(..._0x3b2961);},this[_0x22254a(0x210)](()=>{this['_logService']['error']=_0x789511;});}[_0x28c363(0x32d)](_0x4bc78c,_0x35b9ad){const _0x38e5ca=_0x28c363;try{const _0x10b86c={'userId':this[_0x38e5ca(0x43d)],'logLabel':_0x4bc78c,'content':_0x35b9ad};this[_0x38e5ca(0x417)][_0x38e5ca(0x452)](_0x38e5ca(0x31d),{'body':_0x10b86c})[_0x38e5ca(0x297)](()=>{});}catch{}}};_0x1e2184=_0x2c939f([_0xf6f714(0x0,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0xf6f714(0x1,_0x4ce188[_0x28c363(0x319)](_0x1d4876[_0x28c363(0x461)])),_0xf6f714(0x2,_0x4ce188[_0x28c363(0x367)]),_0xf6f714(0x3,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x2cb)]))],_0x1e2184);const _0xe3ab6a='collaboration-client-ui.config',_0x52a5e9={};var _0x5e70d4=Object[_0x28c363(0x328)],_0x27fb5d=(_0x2cd688,_0x56ce52,_0x38bf32,_0x2e945b)=>{for(var _0x408ae4=_0x2e945b>0x1?void 0x0:_0x2e945b?_0x5e70d4(_0x56ce52,_0x38bf32):_0x56ce52,_0x240617=_0x2cd688['length']-0x1,_0x3b06db;_0x240617>=0x0;_0x240617--)(_0x3b06db=_0x2cd688[_0x240617])&&(_0x408ae4=_0x3b06db(_0x408ae4)||_0x408ae4);return _0x408ae4;},_0x46a373=(_0x361cba,_0x22cf5a)=>(_0x422509,_0x307d3d)=>_0x22cf5a(_0x422509,_0x307d3d,_0x361cba);let _0x4289c1=class{constructor(_0x4614b6,_0x558670){const _0x2dea37=_0x28c363;this[_0x2dea37(0x1ea)]=_0x4614b6,this[_0x2dea37(0x1e9)]=_0x558670;}[_0x28c363(0x311)](_0x1194d3){const _0xfe5922=_0x28c363;this[_0xfe5922(0x20f)](_0x1194d3),this[_0xfe5922(0x41f)](_0x1194d3);}[_0x28c363(0x23b)](_0x4f6b93){const _0x476efc=_0x28c363,{unitID:_0x540f0e}=_0x4f6b93,_0x4e2750=this[_0x476efc(0x1e9)][_0x476efc(0x37d)](_0x540f0e)[_0x476efc(0x2fe)](_0x1bfa4c[_0x476efc(0x2bc)]),{redoCache:_0xc70c08}=_0x4e2750[_0x476efc(0x3ae)]();if(_0xc70c08[_0x476efc(0x3e9)]===0x0)return _0x4f6b93;let _0x4b5e8c=_0x4ce188[_0x476efc(0x375)][_0x476efc(0x47a)](_0x4f6b93[_0x476efc(0x228)][0x0]);for(let _0x2f56cb=0x0;_0x2f56cb<_0xc70c08[_0x476efc(0x3e9)];_0x2f56cb++){const _0x2bbf06={'id':_0x476efc(0x1fd),'params':{..._0xc70c08[_0x2f56cb]}},_0xf9ac89=this[_0x476efc(0x1ea)][_0x476efc(0x3af)](_0x4b5e8c,_0x2bbf06,!0x1);if(_0x5f3c3e['isTransformMutationFailure'](_0xf9ac89))throw _0xf9ac89[_0x476efc(0x230)];_0x4b5e8c=_0xf9ac89[_0x476efc(0x406)];}return{..._0x4ce188[_0x476efc(0x375)][_0x476efc(0x47a)](_0x4f6b93),'mutations':[_0x4b5e8c]};}[_0x28c363(0x20f)](_0x7d8ceb){const _0x29b51d=_0x28c363,{unitID:_0x1c9dd8}=_0x7d8ceb,_0x3a6c21=this['_renderManagerService'][_0x29b51d(0x37d)](_0x1c9dd8)[_0x29b51d(0x2fe)](_0x1bfa4c[_0x29b51d(0x2bc)]),{undoCache:_0x3cf122,redoCache:_0x1b572b}=_0x3a6c21[_0x29b51d(0x3ae)]();if(_0x3cf122[_0x29b51d(0x3e9)]===0x0||_0x1b572b[_0x29b51d(0x3e9)]===0x0)return;const _0x2d529a=[],_0x4568c8=[];let _0x8a0de9=_0x4ce188[_0x29b51d(0x375)][_0x29b51d(0x47a)](_0x7d8ceb[_0x29b51d(0x228)][0x0]),_0x465418=_0x4ce188['Tools'][_0x29b51d(0x47a)](_0x7d8ceb[_0x29b51d(0x228)][0x0]);for(let _0x865aa4=_0x3cf122['length']-0x1;_0x865aa4>=0x0;_0x865aa4--){const _0x54d896={'id':'doc.mutation.rich-text-editing','params':{..._0x3cf122[_0x865aa4]}},_0x39c8a9={'id':'doc.mutation.rich-text-editing','params':{..._0x1b572b[_0x865aa4]}},_0x16d0b6=this[_0x29b51d(0x1ea)][_0x29b51d(0x3af)](_0x8a0de9,_0x54d896,!0x1),_0x4a1d99=this[_0x29b51d(0x1ea)][_0x29b51d(0x3af)](_0x465418,_0x39c8a9,!0x1);if(_0x5f3c3e[_0x29b51d(0x23c)](_0x16d0b6))throw _0x16d0b6[_0x29b51d(0x230)];if(_0x5f3c3e[_0x29b51d(0x23c)](_0x4a1d99))throw _0x4a1d99[_0x29b51d(0x230)];_0x2d529a[_0x29b51d(0x1cd)](_0x16d0b6[_0x29b51d(0x27e)][_0x29b51d(0x321)]),_0x4568c8['unshift'](_0x4a1d99[_0x29b51d(0x27e)][_0x29b51d(0x321)]),_0x8a0de9=_0x16d0b6[_0x29b51d(0x406)],_0x465418=_0x4a1d99[_0x29b51d(0x406)];}_0x3a6c21[_0x29b51d(0x2e7)]({'undoCache':_0x2d529a,'redoCache':_0x4568c8});}[_0x28c363(0x41f)](_0x8d0e9){const _0x2c870b=_0x28c363,{unitID:_0x29ed12}=_0x8d0e9,_0x1f4b39=this[_0x2c870b(0x1e9)][_0x2c870b(0x37d)](_0x29ed12)[_0x2c870b(0x2fe)](_0x1bfa4c[_0x2c870b(0x2bc)]),_0x4cd0e1=_0x1f4b39['getActiveRange']();if(_0x4cd0e1==null)return;const _0x28af32=[{'id':_0x2c870b(0x1fd),'params':{'unitId':_0x8d0e9['unitID'],'actions':null,'textRanges':[_0x4cd0e1]}}],_0x66061e=this[_0x2c870b(0x1ea)][_0x2c870b(0x3b4)](_0x8d0e9,_0x28af32);if(!_0x5f3c3e[_0x2c870b(0x3aa)](_0x66061e))throw _0x66061e[_0x2c870b(0x230)];const _0x3e87ba=_0x66061e[_0x2c870b(0x27e)][0x0][_0x2c870b(0x321)]['textRanges'];Array[_0x2c870b(0x2f3)](_0x3e87ba)&&_0x3e87ba[_0x2c870b(0x3e9)]&&_0x1f4b39[_0x2c870b(0x2a0)](_0x3e87ba[0x0]);}};_0x4289c1=_0x27fb5d([_0x46a373(0x0,_0x5f3c3e[_0x28c363(0x1db)]),_0x46a373(0x1,_0xcd5ffc[_0x28c363(0x2e5)])],_0x4289c1);var _0x442d7b=Object[_0x28c363(0x328)],_0x2fa2f5=(_0x23be53,_0xa9b661,_0x5afbf1,_0x193aee)=>{const _0x1e3892=_0x28c363;for(var _0x2d054c=_0x193aee>0x1?void 0x0:_0x193aee?_0x442d7b(_0xa9b661,_0x5afbf1):_0xa9b661,_0x85fef9=_0x23be53[_0x1e3892(0x3e9)]-0x1,_0x56285f;_0x85fef9>=0x0;_0x85fef9--)(_0x56285f=_0x23be53[_0x85fef9])&&(_0x2d054c=_0x56285f(_0x2d054c)||_0x2d054c);return _0x2d054c;},_0x36bae0=(_0x486050,_0x2e05e5)=>(_0x12ffb6,_0x29ce72)=>_0x2e05e5(_0x12ffb6,_0x29ce72,_0x486050);let _0x3f4111=class{constructor(_0x4f316d,_0x342249,_0x4fc20a){const _0x20cbc2=_0x28c363;this[_0x20cbc2(0x1d6)]=_0x4f316d,this[_0x20cbc2(0x1ea)]=_0x342249,this[_0x20cbc2(0x31a)]=_0x4fc20a;}[_0x28c363(0x21a)](_0xe5e418){const _0x55d963=_0x28c363;this[_0x55d963(0x2ae)](_0xe5e418);}[_0x28c363(0x23b)](_0x26c948){const _0x259b28=_0x28c363,{unitID:_0x4faccd}=_0x26c948,{collaboration:_0x328a5b}=this[_0x259b28(0x31a)][_0x259b28(0x21c)](_0x4faccd);if(_0x328a5b['length']===0x0)return _0x26c948;let _0x461576=_0x4ce188[_0x259b28(0x375)][_0x259b28(0x47a)](_0x26c948[_0x259b28(0x228)][0x0]);for(let _0x464a72=0x0;_0x464a72<_0x328a5b[_0x259b28(0x3e9)];_0x464a72++){const _0x64eec6={'id':_0x259b28(0x1fd),'params':{'unitId':_0x328a5b[_0x464a72]['unitId'],..._0x328a5b[_0x464a72]['redoState']}},_0x19fe91=this[_0x259b28(0x1ea)][_0x259b28(0x3af)](_0x461576,_0x64eec6,!0x1);if(_0x5f3c3e[_0x259b28(0x23c)](_0x19fe91))throw _0x19fe91[_0x259b28(0x230)];_0x461576=_0x19fe91[_0x259b28(0x406)];}return{..._0x4ce188[_0x259b28(0x375)][_0x259b28(0x47a)](_0x26c948),'mutations':[_0x461576]};}['_transformHistoryAndStateStack'](_0x1bae99){const _0x48c9a2=_0x28c363,{unitID:_0x308d36}=_0x1bae99,{history:_0x4d6004,collaboration:_0x331df3}=this[_0x48c9a2(0x31a)][_0x48c9a2(0x21c)](_0x308d36);if(_0x4d6004[_0x48c9a2(0x3e9)]===0x0&&_0x331df3['length']===0x0)return;const _0xa8034a=[],_0xb0c0a4=[];let _0x252e71=_0x4ce188[_0x48c9a2(0x375)][_0x48c9a2(0x47a)](_0x1bae99[_0x48c9a2(0x228)][0x0]),_0x18a739=_0x4ce188[_0x48c9a2(0x375)]['deepClone'](_0x1bae99['mutations'][0x0]);for(let _0x5f23ef=_0x4d6004['length']-0x1;_0x5f23ef>=0x0;_0x5f23ef--){const _0x37fabe={'id':_0x48c9a2(0x1fd),'params':{'unitId':_0x4d6004[_0x5f23ef][_0x48c9a2(0x39f)],..._0x4d6004[_0x5f23ef]['undoState']}},_0x337165={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d6004[_0x5f23ef][_0x48c9a2(0x39f)],..._0x4d6004[_0x5f23ef]['redoState']}},_0x4a9ac6=this['_transformService'][_0x48c9a2(0x3af)](_0x252e71,_0x37fabe,!0x1),_0x65b439=this[_0x48c9a2(0x1ea)][_0x48c9a2(0x3af)](_0x18a739,_0x337165,!0x1);if(_0x5f3c3e['isTransformMutationFailure'](_0x4a9ac6))throw _0x4a9ac6[_0x48c9a2(0x230)];if(_0x5f3c3e[_0x48c9a2(0x23c)](_0x65b439))throw _0x65b439[_0x48c9a2(0x230)];_0xa8034a[_0x48c9a2(0x1cd)]({..._0x4d6004[_0x5f23ef],'undoState':_0x4a9ac6[_0x48c9a2(0x27e)][_0x48c9a2(0x321)],'redoState':_0x65b439[_0x48c9a2(0x27e)]['params']}),_0x252e71=_0x4a9ac6[_0x48c9a2(0x406)],_0x18a739=_0x65b439['m1Prime'];}_0x252e71=_0x4ce188[_0x48c9a2(0x375)][_0x48c9a2(0x47a)](_0x1bae99[_0x48c9a2(0x228)][0x0]),_0x18a739=_0x4ce188['Tools'][_0x48c9a2(0x47a)](_0x1bae99[_0x48c9a2(0x228)][0x0]);for(let _0x2665ad=_0x331df3[_0x48c9a2(0x3e9)]-0x1;_0x2665ad>=0x0;_0x2665ad--){const _0x4c4e42={'id':_0x48c9a2(0x1fd),'params':{'unitId':_0x331df3[_0x2665ad][_0x48c9a2(0x39f)],..._0x331df3[_0x2665ad]['undoState']}},_0x2c6dee={'id':_0x48c9a2(0x1fd),'params':{'unitId':_0x331df3[_0x2665ad][_0x48c9a2(0x39f)],..._0x331df3[_0x2665ad][_0x48c9a2(0x449)]}},_0x1a563f=this[_0x48c9a2(0x1ea)][_0x48c9a2(0x3af)](_0x252e71,_0x4c4e42,!0x1),_0x2ec2c2=this['_transformService'][_0x48c9a2(0x3af)](_0x18a739,_0x2c6dee,!0x1);if(_0x5f3c3e[_0x48c9a2(0x23c)](_0x1a563f))throw _0x1a563f[_0x48c9a2(0x230)];if(_0x5f3c3e[_0x48c9a2(0x23c)](_0x2ec2c2))throw _0x2ec2c2[_0x48c9a2(0x230)];_0xb0c0a4[_0x48c9a2(0x1cd)]({..._0x331df3[_0x2665ad],'undoState':_0x1a563f[_0x48c9a2(0x27e)][_0x48c9a2(0x321)],'redoState':_0x2ec2c2[_0x48c9a2(0x27e)][_0x48c9a2(0x321)]}),_0x252e71=_0x1a563f[_0x48c9a2(0x406)],_0x18a739=_0x2ec2c2[_0x48c9a2(0x406)];}this[_0x48c9a2(0x31a)][_0x48c9a2(0x1a5)](_0x308d36,{'history':_0xa8034a,'collaboration':_0xb0c0a4});}};_0x3f4111=_0x2fa2f5([_0x36bae0(0x0,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x36bae0(0x1,_0x5f3c3e[_0x28c363(0x1db)]),_0x36bae0(0x2,_0x4ce188[_0x28c363(0x319)](_0x1bfa4c[_0x28c363(0x35e)]))],_0x3f4111);var _0x4384bd=Object['getOwnPropertyDescriptor'],_0x1ad86c=(_0x3baaaa,_0x1a9350,_0x38bcac,_0x2fdcd4)=>{const _0x2cef2f=_0x28c363;for(var _0x4409fa=_0x2fdcd4>0x1?void 0x0:_0x2fdcd4?_0x4384bd(_0x1a9350,_0x38bcac):_0x1a9350,_0x54a7e1=_0x3baaaa[_0x2cef2f(0x3e9)]-0x1,_0x18e167;_0x54a7e1>=0x0;_0x54a7e1--)(_0x18e167=_0x3baaaa[_0x54a7e1])&&(_0x4409fa=_0x18e167(_0x4409fa)||_0x4409fa);return _0x4409fa;},_0x4ff607=(_0x570c93,_0x25614f)=>(_0x422599,_0x565ae2)=>_0x25614f(_0x422599,_0x565ae2,_0x570c93);let _0x2c9efa=class{constructor(_0x47cef0,_0x4904b0){const _0x37e54b=_0x28c363;this['_injector']=_0x47cef0,this[_0x37e54b(0x1ea)]=_0x4904b0;}[_0x28c363(0x22c)](_0x471289){const _0x1f4051=_0x28c363;var _0x585999;const _0x353468=this[_0x1f4051(0x1d6)]['get'](_0x4ebf52['DocSelectionManagerService']),_0x48248f=(_0x585999=_0x353468[_0x1f4051(0x410)]())!=null?_0x585999:[];if(_0x48248f[_0x1f4051(0x3e9)]===0x0)return;const _0x5c0416=_0x471289[_0x1f4051(0x3dc)],_0x341e98=[{'id':_0x1f4051(0x1fd),'params':{'unitId':_0x5c0416,'actions':null,'textRanges':_0x48248f}}],_0x2d4176=this['_transformService'][_0x1f4051(0x3b4)](_0x471289,_0x341e98);if(!_0x5f3c3e['isTransformMutationsWithChangesetSuccess'](_0x2d4176))throw _0x2d4176[_0x1f4051(0x230)];const _0x16372e=_0x2d4176[_0x1f4051(0x27e)][0x0]['params'][_0x1f4051(0x3c3)];Array[_0x1f4051(0x2f3)](_0x16372e)&&_0x16372e[_0x1f4051(0x3e9)]&&_0x353468[_0x1f4051(0x247)](_0x16372e,{'unitId':_0x5c0416,'subUnitId':_0x5c0416},!0x1);}};_0x2c9efa=_0x1ad86c([_0x4ff607(0x0,_0x4ce188[_0x28c363(0x319)](_0x4ce188['Injector'])),_0x4ff607(0x1,_0x5f3c3e[_0x28c363(0x1db)])],_0x2c9efa);var _0x5c24d0=Object['getOwnPropertyDescriptor'],_0x254394=(_0x3f19f5,_0x39da72,_0x3b6122,_0x516bca)=>{for(var _0xc079f6=_0x516bca>0x1?void 0x0:_0x516bca?_0x5c24d0(_0x39da72,_0x3b6122):_0x39da72,_0x28e9d3=_0x3f19f5['length']-0x1,_0x1e20e8;_0x28e9d3>=0x0;_0x28e9d3--)(_0x1e20e8=_0x3f19f5[_0x28e9d3])&&(_0xc079f6=_0x1e20e8(_0xc079f6)||_0xc079f6);return _0xc079f6;},_0x3ad6aa=(_0x3db62f,_0x9c589d)=>(_0x2f6540,_0x54720f)=>_0x9c589d(_0x2f6540,_0x54720f,_0x3db62f);let _0x4613c6=class extends _0x4ce188['Disposable']{constructor(_0x4a284d,_0x41ae42,_0x11c266,_0x1a102a,_0x4f5e98,_0x51652c,_0x5c052e,_0x1e5f4d){const _0x2006d6=_0x28c363;super(),_0x2002db(this,_0x2006d6(0x2c0),new _0x4d6cca['BehaviorSubject'](_0x463ba0[_0x2006d6(0x3b7)][_0x2006d6(0x3c4)])),(this[_0x2006d6(0x31a)]=_0x4a284d,this[_0x2006d6(0x24c)]=_0x41ae42,this[_0x2006d6(0x35a)]=_0x11c266,this[_0x2006d6(0x34f)]=_0x1a102a,this[_0x2006d6(0x1d3)]=_0x4f5e98,this[_0x2006d6(0x2d2)]=_0x51652c,this['_messageService']=_0x5c052e,this[_0x2006d6(0x1a0)]=_0x1e5f4d,this[_0x2006d6(0x33b)]());}['_initEntityListener'](){const _0x2a51e7=_0x28c363;this['disposeWithMe'](this[_0x2a51e7(0x24c)]['entityInit$'][_0x2a51e7(0x2df)](_0x2cc5aa=>{const _0x44ff22=_0x2a51e7,_0x11ba51=this[_0x44ff22(0x31a)][_0x44ff22(0x3ce)][_0x44ff22(0x2df)](_0x2114e4=>{const _0x1c9c59=_0x44ff22;if(_0x2114e4==null)return;const {unitId:_0x5aa149,redoState:_0x55b7c2,commandId:_0x42a7b5}=_0x2114e4;if(_0x5aa149!==_0x2cc5aa[_0x1c9c59(0x3dc)])return;const _0x565501={'id':_0x42a7b5,'type':_0x4ce188[_0x1c9c59(0x48e)]['MUTATION'],'params':{'unitId':_0x5aa149,'actions':_0x55b7c2[_0x1c9c59(0x448)],'textRanges':null}};_0x2cc5aa[_0x1c9c59(0x3ef)](_0x565501);});if(_0x2cc5aa[_0x44ff22(0x210)](_0x11ba51),_0x2cc5aa instanceof _0x463ba0[_0x44ff22(0x2a7)]){const _0x37c669={'onTransformIME':_0x355c49=>this[_0x44ff22(0x35a)][_0x44ff22(0x311)](_0x355c49),'onTransformState':_0x351f69=>this['_docTransformStateCacheService'][_0x44ff22(0x21a)](_0x351f69),'onTransformSelections':_0x41decd=>this['_docTransformSelectionsService'][_0x44ff22(0x22c)](_0x41decd),'onSyncEditingCollabCursor':_0x3ca6f5=>this[_0x44ff22(0x2d2)]['syncEditingCollabCursor'](_0x3ca6f5),'onTransformRemoteChangesetByIMECache':_0x54114a=>this[_0x44ff22(0x35a)][_0x44ff22(0x23b)](_0x54114a),'onTransformRemoteChangesetByStateCache':_0x20638a=>this[_0x44ff22(0x34f)][_0x44ff22(0x23b)](_0x20638a)};_0x2cc5aa['addHandlerCallback'](_0x37c669);}}));}};_0x4613c6=_0x254394([_0x3ad6aa(0x0,_0x4ce188[_0x28c363(0x319)](_0x1bfa4c['DocStateChangeManagerService'])),_0x3ad6aa(0x1,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x246)])),_0x3ad6aa(0x2,_0x4ce188[_0x28c363(0x319)](_0x4289c1)),_0x3ad6aa(0x3,_0x4ce188['Inject'](_0x3f4111)),_0x3ad6aa(0x4,_0x4ce188[_0x28c363(0x319)](_0x2c9efa)),_0x3ad6aa(0x5,_0x4ce188[_0x28c363(0x319)](_0x53ce46)),_0x3ad6aa(0x6,_0x577183['IMessageService']),_0x3ad6aa(0x7,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x263)]))],_0x4613c6);var _0x3e28d9=(_0x436eff=>(_0x436eff[_0x436eff[_0x28c363(0x435)]=0x0]=_0x28c363(0x435),_0x436eff[_0x436eff['OK']=0x1]='OK',_0x436eff[_0x436eff[_0x28c363(0x3cd)]=0x2]=_0x28c363(0x3cd),_0x436eff[_0x436eff[_0x28c363(0x3d7)]=0x3]=_0x28c363(0x3d7),_0x436eff[_0x436eff[_0x28c363(0x47b)]=0x4]=_0x28c363(0x47b),_0x436eff[_0x436eff[_0x28c363(0x3b5)]=0x5]=_0x28c363(0x3b5),_0x436eff[_0x436eff[_0x28c363(0x2bb)]=0x6]=_0x28c363(0x2bb),_0x436eff[_0x436eff[_0x28c363(0x43b)]=0x7]=_0x28c363(0x43b),_0x436eff[_0x436eff[_0x28c363(0x33d)]=0x8]=_0x28c363(0x33d),_0x436eff[_0x436eff[_0x28c363(0x31b)]=0x9]=_0x28c363(0x31b),_0x436eff[_0x436eff[_0x28c363(0x3cb)]=0xa]='LOGIN_FAILED',_0x436eff[_0x436eff[_0x28c363(0x2e2)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x436eff[_0x436eff[_0x28c363(0x489)]=0xc]=_0x28c363(0x489),_0x436eff[_0x436eff[_0x28c363(0x455)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x436eff[_0x436eff['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x28c363(0x256),_0x436eff[_0x436eff[_0x28c363(0x434)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x436eff[_0x436eff[_0x28c363(0x399)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x436eff[_0x436eff[_0x28c363(0x1d9)]=0x64]=_0x28c363(0x1d9),_0x436eff[_0x436eff['ERROR_AGAIN']=0x65]=_0x28c363(0x258),_0x436eff[_0x436eff[_0x28c363(0x40f)]=0xc9]=_0x28c363(0x40f),_0x436eff[_0x436eff[_0x28c363(0x34a)]=0xca]=_0x28c363(0x34a),_0x436eff[_0x436eff['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x28c363(0x465),_0x436eff[_0x436eff['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x28c363(0x1af),_0x436eff[_0x436eff['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x28c363(0x279),_0x436eff[_0x436eff['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x28c363(0x212),_0x436eff[_0x436eff[_0x28c363(0x45c)]=0x1b59]=_0x28c363(0x45c),_0x436eff[_0x436eff[_0x28c363(0x24b)]=0x1b5a]=_0x28c363(0x24b),_0x436eff[_0x436eff[_0x28c363(0x403)]=0x1b5b]=_0x28c363(0x403),_0x436eff[_0x436eff['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x28c363(0x3fe),_0x436eff[_0x436eff[_0x28c363(0x491)]=0x1b5d]=_0x28c363(0x491),_0x436eff[_0x436eff[_0x28c363(0x3bc)]=0x1f41]=_0x28c363(0x3bc),_0x436eff[_0x436eff[_0x28c363(0x2b9)]=0x2329]=_0x28c363(0x2b9),_0x436eff[_0x436eff[_0x28c363(0x44e)]=0x232a]=_0x28c363(0x44e),_0x436eff[_0x436eff[_0x28c363(0x338)]=0x232b]=_0x28c363(0x338),_0x436eff[_0x436eff[_0x28c363(0x1ec)]=0x232c]=_0x28c363(0x1ec),_0x436eff[_0x436eff[_0x28c363(0x348)]=0x232d]=_0x28c363(0x348),_0x436eff[_0x436eff[_0x28c363(0x1aa)]=0x2711]=_0x28c363(0x1aa),_0x436eff[_0x436eff[_0x28c363(0x478)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x436eff[_0x436eff['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x28c363(0x40e),_0x436eff[_0x436eff[_0x28c363(0x1bf)]=0x2714]=_0x28c363(0x1bf),_0x436eff[_0x436eff[_0x28c363(0x2ed)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x436eff[_0x436eff[_0x28c363(0x41a)]=0x271b]=_0x28c363(0x41a),_0x436eff[_0x436eff['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x436eff[_0x436eff[_0x28c363(0x488)]=0x271d]=_0x28c363(0x488),_0x436eff[_0x436eff[_0x28c363(0x2b7)]=0x271e]=_0x28c363(0x2b7),_0x436eff[_0x436eff[_0x28c363(0x346)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x436eff[_0x436eff['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x436eff[_0x436eff[_0x28c363(0x298)]=0x2af9]=_0x28c363(0x298),_0x436eff[_0x436eff[_0x28c363(0x1f8)]=0x2ee1]=_0x28c363(0x1f8),_0x436eff[_0x436eff[_0x28c363(0x26b)]=0x2ee2]='INVALID_INVITE_CODE',_0x436eff[_0x436eff[_0x28c363(0x2fb)]=0x2ee3]=_0x28c363(0x2fb),_0x436eff[_0x436eff[_0x28c363(0x205)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x436eff[_0x436eff['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x28c363(0x475),_0x436eff[_0x436eff[_0x28c363(0x2a9)]=0x32c9]=_0x28c363(0x2a9),_0x436eff[_0x436eff[_0x28c363(0x1ba)]=0x32ca]=_0x28c363(0x1ba),_0x436eff[_0x436eff[_0x28c363(0x325)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x436eff[_0x436eff[_0x28c363(0x3c2)]=0x36b1]=_0x28c363(0x3c2),_0x436eff[_0x436eff[_0x28c363(0x445)]=0x36b2]=_0x28c363(0x445),_0x436eff[_0x436eff[_0x28c363(0x1cb)]=0x36b3]=_0x28c363(0x1cb),_0x436eff[_0x436eff['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x28c363(0x355),_0x436eff[_0x436eff[_0x28c363(0x265)]=0x36b5]=_0x28c363(0x265),_0x436eff[_0x436eff[_0x28c363(0x400)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x436eff[_0x436eff[_0x28c363(0x3ec)]=0x36b7]=_0x28c363(0x3ec),_0x436eff[_0x436eff[_0x28c363(0x2aa)]=0x36b8]=_0x28c363(0x2aa),_0x436eff[_0x436eff['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x28c363(0x211),_0x436eff[_0x436eff[_0x28c363(0x2a6)]=0x3716]=_0x28c363(0x2a6),_0x436eff[_0x436eff[_0x28c363(0x27d)]=0x3717]=_0x28c363(0x27d),_0x436eff[_0x436eff['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x436eff[_0x436eff[_0x28c363(0x476)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x436eff[_0x436eff['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x28c363(0x1bd),_0x436eff[_0x436eff['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x28c363(0x46c),_0x436eff[_0x436eff[_0x28c363(0x43c)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x436eff[_0x436eff[_0x28c363(0x32e)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x436eff[_0x436eff[_0x28c363(0x209)]=0x3a9e]=_0x28c363(0x209),_0x436eff[_0x436eff['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x28c363(0x2ec),_0x436eff[_0x436eff[_0x28c363(0x2f8)]=0x3e81]=_0x28c363(0x2f8),_0x436eff[_0x436eff['UNRECOGNIZED']=-0x1]=_0x28c363(0x238),_0x436eff))(_0x3e28d9||{});function _0x3a12fb(_0x287fc2){const _0x24248c=_0x28c363;var _0x1bf4f3,_0x55b221;const _0x484e0f=(_0x1bf4f3=_0x287fc2['stageInfo'])==null?void 0x0:_0x1bf4f3[_0x24248c(0x216)],_0x54a48c=((_0x55b221=_0x287fc2[_0x24248c(0x47e)])==null?void 0x0:_0x55b221[_0x24248c(0x364)])||0x0;return _0x484e0f===_0xf94d0f[_0x24248c(0x3ed)][_0x24248c(0x2f2)]&&_0x54a48c>0x0;}function _0x2be548(_0x499736){const _0x24b171=_0x28c363;return _0x499736[_0x24b171(0x458)]===_0xf94d0f[_0x24b171(0x2b6)][_0x24b171(0x274)];}var _0x3b99aa=Object[_0x28c363(0x328)],_0x26126a=(_0x159087,_0x433372,_0x1941a4,_0x4e5745)=>{for(var _0x4f1220=_0x4e5745>0x1?void 0x0:_0x4e5745?_0x3b99aa(_0x433372,_0x1941a4):_0x433372,_0x1306d1=_0x159087['length']-0x1,_0x4a9bc1;_0x1306d1>=0x0;_0x1306d1--)(_0x4a9bc1=_0x159087[_0x1306d1])&&(_0x4f1220=_0x4a9bc1(_0x4f1220)||_0x4f1220);return _0x4f1220;},_0x56c89d=(_0x1e9456,_0x8b831a)=>(_0x5c50ae,_0x44b3d0)=>_0x8b831a(_0x5c50ae,_0x44b3d0,_0x1e9456);const _0x54dbdf=_0x28c363(0x277),_0x4bae55=_0x28c363(0x26f),_0x3201a1=_0x28c363(0x44b);let _0x3c389e=class extends _0x4ce188['Disposable']{constructor(_0x1c9e6b,_0xf8f707,_0x4c8dab,_0x5e1b7e,_0x5dc0e6,_0x1a85c1,_0x155a1b){const _0x2d5411=_0x28c363;super(),_0x2002db(this,'_pollingInterval',null),_0x2002db(this,_0x2d5411(0x1f5),0x0),_0x2002db(this,_0x2d5411(0x460),0x0),_0x2002db(this,_0x2d5411(0x2e1),[]),_0x2002db(this,_0x2d5411(0x3c8),0x0),(this[_0x2d5411(0x22f)]=_0x1c9e6b,this['_commandService']=_0xf8f707,this[_0x2d5411(0x485)]=_0x4c8dab,this[_0x2d5411(0x417)]=_0x5e1b7e,this[_0x2d5411(0x2e8)]=_0x5dc0e6,this[_0x2d5411(0x3ff)]=_0x1a85c1,this['_localeService']=_0x155a1b,this[_0x2d5411(0x315)]());}[_0x28c363(0x315)](){const _0x585267=_0x28c363;this[_0x585267(0x210)](this[_0x585267(0x3b3)][_0x585267(0x221)]((_0x25fcbc,_0x291cf5)=>{const _0x5da90f=_0x585267;var _0x2d3b2c;if(_0x25fcbc['id']!==_0xf94d0f[_0x5da90f(0x467)]['id'])return;const _0x5e07c1=_0x25fcbc['params'];if(!this[_0x5da90f(0x383)]((_0x2d3b2c=_0x5e07c1[_0x5da90f(0x19b)])!=null?_0x2d3b2c:[]))return;if(!this[_0x5da90f(0x1e2)]())throw this[_0x5da90f(0x43e)](_0x25fcbc,_0x291cf5),this[_0x5da90f(0x236)](),new _0x4ce188[(_0x5da90f(0x471))]();})),this[_0x585267(0x210)](this[_0x585267(0x3b3)][_0x585267(0x20a)]((_0x4bd952,_0x51d75a)=>{const _0x5b1999=_0x585267;if(_0x4bd952['id']!==_0xf94d0f[_0x5b1999(0x31f)]['id'])return;const _0x4e5887=_0x4bd952[_0x5b1999(0x321)];if(_0x3a12fb(_0x4e5887)){const _0x3dde8d=_0x4ce188[_0x5b1999(0x35d)]();this[_0x5b1999(0x2e1)][_0x5b1999(0x309)](_0x3dde8d),this[_0x5b1999(0x242)](_0x3dde8d);}else{if(_0x2be548(_0x4e5887)&&this[_0x5b1999(0x2e1)][_0x5b1999(0x3e9)]>0x0){const _0x50d7d9=this[_0x5b1999(0x2e1)][_0x5b1999(0x1d1)]();this[_0x5b1999(0x1a9)](_0x50d7d9);}}}));}['dispose'](){const _0x12512c=_0x28c363;super[_0x12512c(0x2fc)](),this[_0x12512c(0x390)](),this[_0x12512c(0x2e1)]=[],this[_0x12512c(0x460)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x12512c(0x3c8)]=0x0;}async[_0x28c363(0x43e)](_0x31a431,_0x250625){const _0x231c22=_0x28c363;for(let _0x530348=0x0;_0x530348<0x1e;_0x530348++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x31a431,_0x250625),this[_0x231c22(0x22f)][_0x231c22(0x273)]({'content':this[_0x231c22(0x1a0)]['t'](_0x231c22(0x42f)),'type':_0x523600['MessageType']['Success']});return;}await new Promise(_0x3a231a=>{const _0x44ec1b=_0x231c22;this['_pollingInterval']=window[_0x44ec1b(0x21d)](_0x3a231a,0x3e8);});}catch(_0x28f0e8){this[_0x231c22(0x3ff)][_0x231c22(0x230)](_0x28f0e8);}this['_messageService'][_0x231c22(0x273)]({'content':this[_0x231c22(0x1a0)]['t']('formula.calculation.unable'),'type':_0x523600[_0x231c22(0x3c7)]['Error']});}[_0x28c363(0x36a)](_0x4fa65c,_0xc49773){const _0x563429=_0x28c363;try{this[_0x563429(0x3b3)][_0x563429(0x1ae)](_0x4fa65c['id'],_0x4fa65c[_0x563429(0x321)],_0xc49773);}catch(_0x1040a5){this['_logService'][_0x563429(0x230)](_0x1040a5);}}[_0x28c363(0x44d)](_0x1e7b79,_0x2733b8){const _0x383676=_0x28c363;_0x2733b8<this[_0x383676(0x3c8)]||(this[_0x383676(0x3c8)]=_0x2733b8,this[_0x383676(0x1f5)]=Number[_0x383676(0x213)](_0x1e7b79[_0x383676(0x27b)]),this[_0x383676(0x460)]=Number[_0x383676(0x213)](_0x1e7b79[_0x383676(0x2d7)]));}async[_0x28c363(0x242)](_0x1b1687){const _0x417dd6=_0x28c363;var _0x5b63e2,_0x16e5bd;const _0x514f09=Date[_0x417dd6(0x2db)]();try{const _0x38af72=((_0x5b63e2=this[_0x417dd6(0x485)][_0x417dd6(0x42b)](_0x463ba0[_0x417dd6(0x1f6)]))==null?void 0x0:_0x5b63e2[_0x417dd6(0x254)])||_0x4bae55,_0x98d5a7=(await this['_httpService'][_0x417dd6(0x452)](_0x38af72,{'body':JSON[_0x417dd6(0x2d8)]({'taskId':_0x1b1687})}))[_0x417dd6(0x2b4)];if(((_0x16e5bd=_0x98d5a7['error'])==null?void 0x0:_0x16e5bd[_0x417dd6(0x1e6)])!==_0x3e28d9['OK'])return;this[_0x417dd6(0x44d)](_0x98d5a7['limitInfo'],_0x514f09);}catch(_0x1fee1c){this[_0x417dd6(0x3ff)][_0x417dd6(0x230)](_0x1fee1c);}}async[_0x28c363(0x27f)](_0x4c55d3){const _0x5af737=_0x28c363;var _0x2c5de5,_0x540486;const _0x7b0a02=Date['now']();try{const _0x48a0be=((_0x2c5de5=this[_0x5af737(0x485)][_0x5af737(0x42b)](_0x463ba0[_0x5af737(0x1f6)]))==null?void 0x0:_0x2c5de5[_0x5af737(0x25d)])||_0x54dbdf,_0x27955e=_0x4c55d3?_0x48a0be+_0x5af737(0x3a7)+encodeURIComponent(_0x4c55d3):_0x48a0be,_0x12ddde=(await this[_0x5af737(0x417)][_0x5af737(0x314)](_0x27955e))['body'];if(((_0x540486=_0x12ddde[_0x5af737(0x230)])==null?void 0x0:_0x540486['code'])!==_0x3e28d9['OK'])return;this['_setFormulaLimitStatus'](_0x12ddde['limitInfo'],_0x7b0a02);}catch(_0x5f5077){this[_0x5af737(0x3ff)][_0x5af737(0x230)](_0x5f5077);}}async[_0x28c363(0x1a9)](_0x398955){const _0x41156=_0x28c363;var _0x57e3a6,_0xdb32d5;const _0x312e75=Date['now']();try{const _0x4c3424=((_0x57e3a6=this[_0x41156(0x485)]['getConfig'](_0x463ba0[_0x41156(0x1f6)]))==null?void 0x0:_0x57e3a6['releaseFormulaLimitUrl'])||_0x3201a1,_0x34ea83=(await this['_httpService'][_0x41156(0x452)](_0x4c3424,{'body':JSON[_0x41156(0x2d8)]({'taskId':_0x398955})}))[_0x41156(0x2b4)];if(((_0xdb32d5=_0x34ea83['error'])==null?void 0x0:_0xdb32d5['code'])!==_0x3e28d9['OK'])return;this[_0x41156(0x44d)](_0x34ea83[_0x41156(0x29d)],_0x312e75);}catch(_0x4c36c2){this[_0x41156(0x3ff)]['error'](_0x4c36c2);}}['_checkCalculationAvailable'](){const _0x51848b=_0x28c363;return this[_0x51848b(0x1f5)]===0x0?!0x0:this[_0x51848b(0x1f5)]-this[_0x51848b(0x460)]>0x0;}[_0x28c363(0x390)](){const _0x20d42a=_0x28c363;this[_0x20d42a(0x407)]&&(clearTimeout(this[_0x20d42a(0x407)]),this['_pollingInterval']=null);}[_0x28c363(0x236)](){const _0x4966bd=_0x28c363;this[_0x4966bd(0x22f)][_0x4966bd(0x273)]({'content':this[_0x4966bd(0x1a0)]['t'](_0x4966bd(0x3da)),'type':_0x523600[_0x4966bd(0x3c7)]['Loading']});}[_0x28c363(0x383)](_0xe1ed6b){const _0x4e592c=_0x28c363;for(const _0x136619 of _0xe1ed6b){const {unitId:_0x12038c,sheetId:_0xdd8371,range:_0x180a4e}=_0x136619,_0x22f5fa=this[_0x4e592c(0x2e8)][_0x4e592c(0x1fb)](_0x12038c);if(!_0x22f5fa)continue;const _0x71ac4=_0x22f5fa[_0x4e592c(0x313)](_0xdd8371);if(!_0x71ac4)continue;const _0x1c77db=_0x71ac4[_0x4e592c(0x2d0)]();for(let _0x44c82e=_0x180a4e[_0x4e592c(0x1c9)];_0x44c82e<=_0x180a4e[_0x4e592c(0x2d5)];_0x44c82e++)for(let _0x12a9ea=_0x180a4e[_0x4e592c(0x3a5)];_0x12a9ea<=_0x180a4e[_0x4e592c(0x318)];_0x12a9ea++){const _0x4ca7ea=_0x1c77db[_0x4e592c(0x26a)](_0x44c82e,_0x12a9ea);if(_0x4ca7ea&&(_0x4ce188[_0x4e592c(0x3f6)](_0x4ca7ea['f'])||_0x4ce188['isFormulaId'](_0x4ca7ea['si'])))return!0x0;}}return!0x1;}};_0x3c389e=_0x26126a([_0x56c89d(0x0,_0x4ce188[_0x28c363(0x319)](_0x577183[_0x28c363(0x2ca)])),_0x56c89d(0x1,_0x4ce188[_0x28c363(0x454)]),_0x56c89d(0x2,_0x4ce188['IConfigService']),_0x56c89d(0x3,_0x4ce188[_0x28c363(0x319)](_0x1d4876['HTTPService'])),_0x56c89d(0x4,_0x4ce188['IUniverInstanceService']),_0x56c89d(0x5,_0x4ce188[_0x28c363(0x367)]),_0x56c89d(0x6,_0x4ce188[_0x28c363(0x319)](_0x4ce188['LocaleService']))],_0x3c389e);var _0x18ddfa=Object['getOwnPropertyDescriptor'],_0x1532f7=(_0x8309f1,_0x3b6e52,_0x2fa6ef,_0x56bac2)=>{const _0xb9c740=_0x28c363;for(var _0x2086cf=_0x56bac2>0x1?void 0x0:_0x56bac2?_0x18ddfa(_0x3b6e52,_0x2fa6ef):_0x3b6e52,_0x14a22e=_0x8309f1[_0xb9c740(0x3e9)]-0x1,_0x1ba283;_0x14a22e>=0x0;_0x14a22e--)(_0x1ba283=_0x8309f1[_0x14a22e])&&(_0x2086cf=_0x1ba283(_0x2086cf)||_0x2086cf);return _0x2086cf;},_0x1f2646=(_0x43e53a,_0x3ed5a7)=>(_0x2026ef,_0x358f6d)=>_0x3ed5a7(_0x2026ef,_0x358f6d,_0x43e53a);let _0x102e99=class extends _0x4ce188[_0x28c363(0x3ba)]{constructor(_0x1a5ebc,_0x4b5c6d,_0x259a4b){const _0x5d5437=_0x28c363;super(),_0x2002db(this,_0x5d5437(0x3fb),new Map()),_0x2002db(this,_0x5d5437(0x3c0),new Map()),_0x2002db(this,_0x5d5437(0x3a8),!0x1),(this[_0x5d5437(0x485)]=_0x1a5ebc,this[_0x5d5437(0x248)]=_0x4b5c6d,this[_0x5d5437(0x20e)]=_0x259a4b);}[_0x28c363(0x3f2)](){const _0x1f2efe=_0x28c363;this[_0x1f2efe(0x3a8)]=!0x0;}[_0x28c363(0x44a)](){this['_disabled']=!0x1;}get[_0x28c363(0x202)](){return this['_saveTaskMap'];}['dispose'](){const _0x1fe2aa=_0x28c363;this['exhaustSavingTask']()[_0x1fe2aa(0x3f1)](()=>super['dispose']());}async[_0x28c363(0x3b1)](_0x33e975){const _0x2d3da2=_0x28c363;return this[_0x2d3da2(0x3a8)]?null:this[_0x2d3da2(0x248)][_0x2d3da2(0x45f)](_0x463ba0['getLocalCacheKey'](_0x33e975));}async[_0x28c363(0x3d3)](_0x2060c4,_0x2788c1){const _0x2511dd=_0x28c363;return!!this['_localStorageService'][_0x2511dd(0x2bd)](_0x2060c4,_0x2788c1);}[_0x28c363(0x218)](_0x289685,_0x438d36,_0x43554b,_0x307c8c){const _0x20be54=_0x28c363,_0x1a8078=this[_0x20be54(0x20e)][_0x20be54(0x39a)](_0x289685);this[_0x20be54(0x3fb)][_0x20be54(0x306)](_0x289685,{'unitID':_0x289685,'type':_0x438d36,'awaitingChangeset':_0x43554b,'mutations':_0x307c8c,'rev':_0x1a8078}),this[_0x20be54(0x3c0)]['has'](_0x289685)||this[_0x20be54(0x308)](_0x289685);}[_0x28c363(0x308)](_0x53c230){const _0x3af4c2=_0x28c363,_0x38530c=this[_0x3af4c2(0x1e8)]();_0x38530c===0x0?this[_0x3af4c2(0x361)](_0x53c230):this[_0x3af4c2(0x3c0)]['set'](_0x53c230,setTimeout(()=>this[_0x3af4c2(0x361)](_0x53c230),_0x38530c));}[_0x28c363(0x1e8)](){const _0x5ab243=_0x28c363;var _0x1828a7;return(_0x1828a7=this[_0x5ab243(0x485)][_0x5ab243(0x42b)](_0x463ba0[_0x5ab243(0x392)]))!=null?_0x1828a7:_0x463ba0['LOCAL_CACHE_INTERVAL'];}[_0x28c363(0x361)](_0x4ca25c){const _0x3ecd0e=_0x28c363,_0x5d960e=this['_saveTaskMap'][_0x3ecd0e(0x314)](_0x4ca25c);return _0x5d960e!==void 0x0&&window[_0x3ecd0e(0x42e)](_0x5d960e),this[_0x3ecd0e(0x248)][_0x3ecd0e(0x2bd)](_0x463ba0[_0x3ecd0e(0x326)](_0x4ca25c),this[_0x3ecd0e(0x3fb)][_0x3ecd0e(0x314)](_0x4ca25c))['then'](()=>this[_0x3ecd0e(0x3c0)][_0x3ecd0e(0x409)](_0x4ca25c));}async[_0x28c363(0x257)](){const _0x352c3f=_0x28c363,_0x262b95=[];this['_saveTaskMap'][_0x352c3f(0x385)]((_0x394fcc,_0x4cfe6c)=>{const _0x411b04=_0x352c3f;window[_0x411b04(0x42e)](_0x394fcc),_0x262b95[_0x411b04(0x309)](this[_0x411b04(0x361)](_0x4cfe6c)[_0x411b04(0x3f1)](()=>{const _0x5d54b8=_0x411b04;this[_0x5d54b8(0x3c0)][_0x5d54b8(0x409)](_0x4cfe6c);}));}),await Promise['all'](_0x262b95);}};_0x102e99=_0x1532f7([_0x1f2646(0x0,_0x4ce188[_0x28c363(0x30a)]),_0x1f2646(0x1,_0x4ce188['ILocalStorageService']),_0x1f2646(0x2,_0x4ce188[_0x28c363(0x319)](_0x5f3c3e['RevisionService']))],_0x102e99);class _0x9a2c00 extends _0x4ce188[_0x28c363(0x3f3)]{constructor(){const _0x3d804a=_0x28c363;super(),_0x2002db(this,_0x3d804a(0x341)),this['urlChange$']=_0x4d6cca['fromEvent'](window,'popstate')[_0x3d804a(0x397)](_0x4d6cca[_0x3d804a(0x20b)](this[_0x3d804a(0x1fa)]),_0x4d6cca[_0x3d804a(0x456)](0x1),_0x4d6cca[_0x3d804a(0x26c)](void 0x0));}[_0x28c363(0x2be)](_0x394d4c,_0x17aced,_0x3e4be7=!0x1){const _0x89cfe3=_0x28c363,_0x18b3d2=new URL(window['location'][_0x89cfe3(0x33a)]);_0x18b3d2['searchParams'][_0x89cfe3(0x306)](_0x394d4c,_0x17aced),_0x3e4be7?window[_0x89cfe3(0x2c9)]['replaceState']('','',_0x18b3d2['toString']()):window[_0x89cfe3(0x2c9)]['pushState']('','',_0x18b3d2['toString']());}[_0x28c363(0x28f)](_0x1a0c28,_0x5a7df4=!0x1){const _0x7683d3=_0x28c363,_0x185278=new URL(window['location'][_0x7683d3(0x33a)]);_0x185278[_0x7683d3(0x32a)]['delete'](_0x1a0c28),_0x5a7df4?window[_0x7683d3(0x2c9)]['replaceState']('','',_0x185278[_0x7683d3(0x288)]()):window['history'][_0x7683d3(0x217)]('','',_0x185278[_0x7683d3(0x288)]());}[_0x28c363(0x35b)](_0x328f61){const _0x373b94=_0x28c363;var _0x6eed6d;return(_0x6eed6d=new URL(window[_0x373b94(0x431)][_0x373b94(0x33a)])[_0x373b94(0x32a)][_0x373b94(0x314)](_0x328f61))!=null?_0x6eed6d:void 0x0;}}var _0xc25f4e=Object['defineProperty'],_0x3e7f9b=Object[_0x28c363(0x328)],_0x23e167=(_0x30aa08,_0x241426,_0x34cb91)=>_0x241426 in _0x30aa08?_0xc25f4e(_0x30aa08,_0x241426,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34cb91}):_0x30aa08[_0x241426]=_0x34cb91,_0x574c82=(_0x1338e2,_0x5d59f1,_0x75f1ce,_0x4d550f)=>{const _0x142e46=_0x28c363;for(var _0x4ecc39=_0x4d550f>0x1?void 0x0:_0x4d550f?_0x3e7f9b(_0x5d59f1,_0x75f1ce):_0x5d59f1,_0x9447ce=_0x1338e2[_0x142e46(0x3e9)]-0x1,_0x2ec141;_0x9447ce>=0x0;_0x9447ce--)(_0x2ec141=_0x1338e2[_0x9447ce])&&(_0x4ecc39=_0x2ec141(_0x4ecc39)||_0x4ecc39);return _0x4ecc39;},_0x2b153c=(_0xb167c4,_0x5b996a)=>(_0x50947,_0x54fca4)=>_0x5b996a(_0x50947,_0x54fca4,_0xb167c4),_0x48d32e=(_0x491146,_0x34f6d4,_0x2f081e)=>_0x23e167(_0x491146,_0x34f6d4+'',_0x2f081e);const _0x13f050=_0x28c363(0x426);_0x109cc1[_0x28c363(0x284)]=class extends _0x4ce188[_0x28c363(0x2af)]{constructor(_0x51c425=_0x52a5e9,_0x1eb3b0,_0x820aed,_0x4aaf85){const _0x5b57ca=_0x28c363;super(),this[_0x5b57ca(0x424)]=_0x51c425,this['_renderManagerService']=_0x1eb3b0,this[_0x5b57ca(0x1d6)]=_0x820aed,this[_0x5b57ca(0x485)]=_0x4aaf85;const {..._0x34ae89}=_0x4ce188[_0x5b57ca(0x3a0)]({},_0x52a5e9,this['_config']);this['_configService'][_0x5b57ca(0x1ee)](_0xe3ab6a,_0x34ae89);}[_0x28c363(0x2e0)](){const _0x1ce7ba=_0x28c363;this[_0x1ce7ba(0x336)](),this[_0x1ce7ba(0x1f2)]();}[_0x28c363(0x37c)](){const _0x2e0e94=_0x28c363;this[_0x2e0e94(0x3f4)]();}[_0x28c363(0x336)](){const _0x329a11=_0x28c363;var _0x322378;const _0x26ec07=[[_0x5937ca],[_0x3c389e],[_0x2c9efa],[_0x4289c1],[_0x3f4111],[_0x53ce46],[_0x204646,{'useClass':_0x9a2c00}],[_0x1d4876[_0x329a11(0x223)],{'useClass':_0x1d4876['WebSocketService']}],[_0x463ba0[_0x329a11(0x1d5)],{'useClass':_0x102e99}],[_0x109cc1['DesktopCollaborationStatusDisplayController']],[_0x4613c6],[_0x35c423],[_0x2a8919],[_0x288851],[_0x109cc1['CollaborationDataLoaderController']]];this[_0x329a11(0x424)]['enableFrontendLog']&&_0x26ec07['push']([_0x1e2184]),_0x4ce188['registerDependencies'](this[_0x329a11(0x1d6)],_0x4ce188['mergeOverrideWithDependencies'](_0x26ec07,(_0x322378=this[_0x329a11(0x424)])==null?void 0x0:_0x322378[_0x329a11(0x389)]));}['_registerRenderDependencies'](){const _0x512f08=_0x28c363;this[_0x512f08(0x210)](this[_0x512f08(0x1e9)][_0x512f08(0x38d)](_0x4ce188['UniverInstanceType']['UNIVER_DOC'],[_0x2af2e0])),this[_0x512f08(0x210)](this[_0x512f08(0x1e9)]['registerRenderModule'](_0x4ce188[_0x512f08(0x1b9)][_0x512f08(0x30b)],[_0x5dc1d7]));}[_0x28c363(0x1f2)](){const _0x422ecc=_0x28c363;_0x4ce188[_0x422ecc(0x2f5)](this[_0x422ecc(0x1d6)],[[_0x2a8919],[_0x109cc1[_0x422ecc(0x3ac)]],[_0x4613c6],[_0x35c423],[_0x109cc1[_0x422ecc(0x443)]],[_0x3c389e]]),this[_0x422ecc(0x424)][_0x422ecc(0x36d)]&&_0x4ce188[_0x422ecc(0x2f5)](this[_0x422ecc(0x1d6)],[[_0x1e2184]]);}},_0x48d32e(_0x109cc1['UniverCollaborationClientUIPlugin'],_0x28c363(0x413),_0x13f050),_0x109cc1['UniverCollaborationClientUIPlugin']=_0x574c82([_0x4ce188[_0x28c363(0x2b1)](_0x463ba0[_0x28c363(0x368)]),_0x2b153c(0x1,_0xcd5ffc[_0x28c363(0x2e5)]),_0x2b153c(0x2,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x2b153c(0x3,_0x4ce188[_0x28c363(0x30a)])],_0x109cc1[_0x28c363(0x284)]);var _0x54e371=Object['getOwnPropertyDescriptor'],_0x21f088=(_0x941301,_0x5ddb22,_0x5380e7,_0x2cbe94)=>{const _0x577608=_0x28c363;for(var _0x805392=_0x2cbe94>0x1?void 0x0:_0x2cbe94?_0x54e371(_0x5ddb22,_0x5380e7):_0x5ddb22,_0x2527bd=_0x941301[_0x577608(0x3e9)]-0x1,_0x37c89f;_0x2527bd>=0x0;_0x2527bd--)(_0x37c89f=_0x941301[_0x2527bd])&&(_0x805392=_0x37c89f(_0x805392)||_0x805392);return _0x805392;},_0x517ad6=(_0x3526df,_0x13e727)=>(_0x28addc,_0x291eda)=>_0x13e727(_0x28addc,_0x291eda,_0x3526df);_0x109cc1[_0x28c363(0x3bf)]=class extends _0x463ba0['CollaborationSocketService']{constructor(_0x331ec5,_0xea1c6,_0xff027f,_0x2ad3e9,_0x55d356){super(_0x331ec5,_0xea1c6,_0xff027f,_0x2ad3e9,_0x55d356);}async[_0x28c363(0x1ce)](_0xc96eaa){const _0x1a0ba3=_0x28c363,_0x2755f4=await this[_0x1a0ba3(0x3fd)](),_0x2dcd08=this['_createSocketURL'](_0xc96eaa,_0x2755f4);return this[_0x1a0ba3(0x330)](_0x2dcd08);}[_0x28c363(0x386)](_0x1ea50e,_0x114da7){const _0x1630dc=_0x28c363,_0xcbc9fe=typeof window>'u'?new URL(_0x1ea50e):new URL(_0x1ea50e,window['location'][_0x1630dc(0x1ed)]);_0xcbc9fe[_0x1630dc(0x32a)][_0x1630dc(0x306)]('sessionTicket',_0x114da7);const _0x394084=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1630dc(0x431)][_0x1630dc(0x2de)]);return _0x394084[_0x1630dc(0x314)](_0x1630dc(0x349))&&_0xcbc9fe[_0x1630dc(0x32a)][_0x1630dc(0x306)](_0x1630dc(0x349),_0x394084['get']('runId')),_0xcbc9fe['toString']();}async[_0x28c363(0x3fd)](){const _0x4c3b95=_0x28c363;var _0xa6b5e7,_0x284122,_0x1b0fbe;const _0x1432c2=this['_configService']['getConfig'](_0x463ba0[_0x4c3b95(0x1f6)]),_0x9ec75a=(_0xa6b5e7=_0x1432c2==null?void 0x0:_0x1432c2[_0x4c3b95(0x23e)])!=null?_0xa6b5e7:_0x463ba0[_0x4c3b95(0x394)];return(_0x1b0fbe=(_0x284122=(await this[_0x4c3b95(0x417)][_0x4c3b95(0x314)](_0x9ec75a,{'headers':{'Content-Type':'application/json'}}))[_0x4c3b95(0x2b4)])==null?void 0x0:_0x284122[_0x4c3b95(0x1ca)])!=null?_0x1b0fbe:'';}},_0x109cc1[_0x28c363(0x3bf)]=_0x21f088([_0x517ad6(0x0,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x517ad6(0x1,_0x4ce188[_0x28c363(0x319)](_0x1d4876[_0x28c363(0x461)])),_0x517ad6(0x2,_0x4ce188['IConfigService']),_0x517ad6(0x3,_0x4ce188[_0x28c363(0x367)]),_0x517ad6(0x4,_0x5f3c3e[_0x28c363(0x235)])],_0x109cc1[_0x28c363(0x3bf)]);var _0x5bf8cc=Object[_0x28c363(0x328)],_0x3a5105=(_0x232911,_0x3e9502,_0x983ea6,_0x3942d3)=>{const _0x5a0ddf=_0x28c363;for(var _0x169ba9=_0x3942d3>0x1?void 0x0:_0x3942d3?_0x5bf8cc(_0x3e9502,_0x983ea6):_0x3e9502,_0x3b41c5=_0x232911[_0x5a0ddf(0x3e9)]-0x1,_0x4fc389;_0x3b41c5>=0x0;_0x3b41c5--)(_0x4fc389=_0x232911[_0x3b41c5])&&(_0x169ba9=_0x4fc389(_0x169ba9)||_0x169ba9);return _0x169ba9;},_0x20a694=(_0x400f63,_0x1991de)=>(_0x121520,_0x1e1456)=>_0x1991de(_0x121520,_0x1e1456,_0x400f63);_0x109cc1['RemoteUniscriptService']=class extends _0x4ce188[_0x28c363(0x3ba)]{constructor(_0x4b64f9,_0x54f4a1,_0x540dad){const _0x1b9540=_0x28c363;super(),this[_0x1b9540(0x48a)]=_0x4b64f9,this[_0x1b9540(0x417)]=_0x54f4a1,this[_0x1b9540(0x485)]=_0x540dad;}async[_0x28c363(0x401)](_0x46d46a,_0x424f36,_0x2cb119,..._0x5b5111){const _0x1b1ea4=_0x28c363;var _0x578e6c,_0x11ede1,_0x5df489,_0x4f7b24;const _0x2f69ea=this[_0x1b1ea4(0x48a)][_0x1b1ea4(0x30d)]();if(!_0x2f69ea)throw new Error(_0x1b1ea4(0x278));const _0x5caa33=((_0x578e6c=this[_0x1b1ea4(0x485)]['getConfig'](_0x463ba0[_0x1b1ea4(0x481)]))!=null?_0x578e6c:_0x463ba0['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x46d46a+_0x1b1ea4(0x36f)+_0x424f36,_0x1fad06=new URL(window['location']['href']),_0x24d793={'scriptId':_0x46d46a,'runId':(_0x11ede1=_0x1fad06[_0x1b1ea4(0x32a)][_0x1b1ea4(0x314)](_0x1b1ea4(0x349)))!=null?_0x11ede1:'','function':_0x424f36,'unitId':_0x2f69ea[_0x1b1ea4(0x281)](),'argsOfFunction':JSON[_0x1b1ea4(0x2d8)](_0x5b5111),'invokeId':(_0x5df489=_0x2cb119[_0x1b1ea4(0x453)])!=null?_0x5df489:'','executionId':(_0x4f7b24=_0x2cb119[_0x1b1ea4(0x2bf)])!=null?_0x4f7b24:''};try{const _0x1fc1e3=await this[_0x1b1ea4(0x417)]['post'](_0x5caa33,{'body':_0x24d793});return _0x1fc1e3[_0x1b1ea4(0x2b4)][_0x1b1ea4(0x230)]&&_0x1fc1e3[_0x1b1ea4(0x2b4)]['error']['code']!==_0x3e28d9['OK']?'Failed':_0x1fc1e3[_0x1b1ea4(0x2b4)][_0x1b1ea4(0x2b0)];}catch{return _0x1b1ea4(0x350);}}},_0x109cc1[_0x28c363(0x40b)]=_0x3a5105([_0x20a694(0x0,_0x4ce188['IUniverInstanceService']),_0x20a694(0x1,_0x4ce188['Inject'](_0x1d4876[_0x28c363(0x461)])),_0x20a694(0x2,_0x4ce188['IConfigService'])],_0x109cc1['RemoteUniscriptService']);const _0x5334c6=0x7530,_0x5c1113=_0x28c363(0x333);class _0x3c1ac2 extends _0x4ce188['Disposable']{constructor(){const _0x357132=_0x28c363;super(),_0x2002db(this,_0x357132(0x45a),_0x4ce188['generateRandomId']()),_0x2002db(this,'_selfUnitIDs',new Set()),_0x2002db(this,'_unitOnClients',new Map()),_0x2002db(this,_0x357132(0x271),null),_0x2002db(this,_0x357132(0x3eb),new Map()),_0x2002db(this,_0x357132(0x423),new Map()),this[_0x357132(0x304)]();}[_0x28c363(0x2fc)](){const _0x90099a=_0x28c363;super[_0x90099a(0x2fc)](),this['_clearOtherTimers'][_0x90099a(0x385)]((_0x8a7ef2,_0x4e00ca)=>this[_0x90099a(0x444)](_0x4e00ca)),this[_0x90099a(0x271)]&&window['clearInterval'](this[_0x90099a(0x271)]);}[_0x28c363(0x3b0)](_0x28089e){const _0x44106f=_0x28c363;return this['_ensureSubject'](_0x28089e)[_0x44106f(0x397)](_0x4d6cca[_0x44106f(0x22b)]());}[_0x28c363(0x32f)](_0x3b02c2){const _0x13211f=_0x28c363;this[_0x13211f(0x3a3)]['size']===0x0&&this[_0x13211f(0x470)](),this[_0x13211f(0x3a3)][_0x13211f(0x380)](_0x3b02c2),this[_0x13211f(0x47d)]({'type':0x0,'memberID':this[_0x13211f(0x45a)],'unitIDs':[_0x3b02c2],'isForwarded':!0x1});}[_0x28c363(0x2b3)](_0x50b84f){const _0x40e6f6=_0x28c363;this[_0x40e6f6(0x3a3)]['delete'](_0x50b84f),this[_0x40e6f6(0x3a3)][_0x40e6f6(0x1fe)]===0x0&&this[_0x40e6f6(0x271)]&&window[_0x40e6f6(0x290)](this[_0x40e6f6(0x271)]);}[_0x28c363(0x304)](){const _0x5dc161=_0x28c363;this[_0x5dc161(0x210)](_0x4ce188[_0x5dc161(0x3d5)](_0x4d6cca[_0x5dc161(0x1bb)](window,_0x5dc161(0x38c))[_0x5dc161(0x2df)](_0x5352ba=>{const _0x439a9f=_0x5dc161;if(_0x5352ba[_0x439a9f(0x198)]!==_0x5c1113||!_0x5352ba[_0x439a9f(0x1a3)])return;const _0x16ab7b=JSON[_0x439a9f(0x45b)](_0x5352ba['newValue']);this['_handleEvent'](_0x16ab7b);}))),window[_0x5dc161(0x38e)](_0x5dc161(0x384),()=>this[_0x5dc161(0x47d)]({'type':0x1,'memberID':this[_0x5dc161(0x45a)],'unitIDs':Array[_0x5dc161(0x441)](this[_0x5dc161(0x3a3)])}));}[_0x28c363(0x222)](_0x3865cf){const _0x194266=_0x28c363;switch(_0x3865cf['type']){case 0x0:this[_0x194266(0x1b6)](_0x3865cf);break;case 0x1:this[_0x194266(0x272)](_0x3865cf);break;case 0x2:this[_0x194266(0x2ef)](_0x3865cf);break;}}[_0x28c363(0x1b6)](_0x1e6e01){const _0xb2c244=_0x28c363,{unitIDs:_0x24d3e1,memberID:_0x5745b1,isForwarded:_0x104dff}=_0x1e6e01;_0x24d3e1[_0xb2c244(0x385)](_0x2858e4=>{const _0x4bda91=_0xb2c244;if(!_0x104dff&&this[_0x4bda91(0x1c1)]['has'](_0x2858e4)&&this[_0x4bda91(0x415)](_0x2858e4)['next'](_0x463ba0[_0x4bda91(0x48d)]['OTHER_CLIENTS_EDITING']),!this[_0x4bda91(0x1c1)][_0x4bda91(0x320)](_0x2858e4)||!this['_unitOnClients'][_0x4bda91(0x314)](_0x2858e4)[_0x4bda91(0x320)](_0x5745b1)){const _0x2ce5d8=this[_0x4bda91(0x1c1)][_0x4bda91(0x314)](_0x2858e4)||new Set();_0x2ce5d8[_0x4bda91(0x380)](_0x5745b1),this['_unitOnClients'][_0x4bda91(0x306)](_0x2858e4,_0x2ce5d8),this[_0x4bda91(0x41d)](_0x5745b1);}}),_0x104dff||this[_0xb2c244(0x47d)]({'type':0x0,'memberID':this[_0xb2c244(0x45a)],'unitIDs':[...this[_0xb2c244(0x3a3)]],'isForwarded':!0x0});}[_0x28c363(0x41d)](_0xcf7441){const _0x35d333=_0x28c363;this['_removeClearOtherTimer'](_0xcf7441);const _0x5d78c6=window[_0x35d333(0x21d)](()=>{const _0x1df104=_0x35d333;this[_0x1df104(0x1c1)][_0x1df104(0x385)](_0x14f917=>{_0x14f917['delete'](_0xcf7441);});},_0x5334c6*0x2);this[_0x35d333(0x3eb)]['set'](_0xcf7441,_0x5d78c6);}[_0x28c363(0x444)](_0x304240){const _0x55ea1c=_0x28c363;if(this[_0x55ea1c(0x3eb)][_0x55ea1c(0x320)](_0x304240)){const _0x5020ad=this[_0x55ea1c(0x3eb)]['get'](_0x304240);_0x5020ad&&window[_0x55ea1c(0x42e)](_0x5020ad),this[_0x55ea1c(0x3eb)][_0x55ea1c(0x306)](_0x304240,null);}}[_0x28c363(0x272)](_0x151086){const _0x3f5c3e=_0x28c363,{memberID:_0xd50f9a,unitIDs:_0xfac1ae}=_0x151086;_0xfac1ae[_0x3f5c3e(0x385)](_0x4fbd8d=>{const _0x55e8d1=_0x3f5c3e;var _0x3dbfbc;const _0x165dfb=this[_0x55e8d1(0x1c1)]['get'](_0x4fbd8d);_0x165dfb&&(_0x165dfb[_0x55e8d1(0x409)](_0xd50f9a),(_0x3dbfbc=this['_ensureSubject'](_0x4fbd8d))==null||_0x3dbfbc['next'](_0x165dfb[_0x55e8d1(0x1fe)]===0x0?_0x463ba0[_0x55e8d1(0x48d)]['NO_OTHER_CLIENTS_EDITING']:_0x463ba0[_0x55e8d1(0x48d)][_0x55e8d1(0x25b)]));}),this[_0x3f5c3e(0x444)](_0xd50f9a);}[_0x28c363(0x2ef)](_0xefc3a5){const _0x574198=_0x28c363;this[_0x574198(0x41d)](_0xefc3a5[_0x574198(0x421)]);}[_0x28c363(0x47d)](_0x486fe1){const _0x6037c2=_0x28c363;localStorage[_0x6037c2(0x2bd)](_0x5c1113,JSON['stringify'](_0x486fe1));}['_scheduleHeartbeat'](){const _0x1f0eb8=_0x28c363;this[_0x1f0eb8(0x271)]=window[_0x1f0eb8(0x262)](()=>{const _0x1a3acb=_0x1f0eb8;this[_0x1a3acb(0x47d)]({'type':0x2,'memberID':this[_0x1a3acb(0x45a)]});},_0x5334c6);}[_0x28c363(0x415)](_0x523d2e){const _0x3d177f=_0x28c363;return this['_unitStatus'][_0x3d177f(0x320)](_0x523d2e)||this['_unitStatus'][_0x3d177f(0x306)](_0x523d2e,new _0x4d6cca[(_0x3d177f(0x36e))](_0x463ba0[_0x3d177f(0x48d)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x3d177f(0x423)][_0x3d177f(0x314)](_0x523d2e);}}_0x109cc1[_0x28c363(0x266)]=_0x204646,_0x109cc1['SheetCollabCursorShape']=_0x3b4e84,_0x109cc1['WebBrowserSingleActiveUnitService']=_0x3c1ac2,_0x109cc1[_0x28c363(0x2c1)]=_0x9a2c00,Object['defineProperty'](_0x109cc1,Symbol[_0x28c363(0x261)],{'value':_0x28c363(0x2d9)});}));
|
|
9
9
|
|
|
10
10
|
// @univerjs-pro/collaboration-client-ui/facade
|
|
11
|
-
|
|
11
|
+
(function(_0x1569e9,_0x4efec8){var _0x243762=_0x1d04,_0x3e00cf=_0x1569e9();while(!![]){try{var _0x2c4cd2=parseInt(_0x243762(0xce))/0x1+-parseInt(_0x243762(0xc1))/0x2*(parseInt(_0x243762(0xcf))/0x3)+-parseInt(_0x243762(0xc0))/0x4*(-parseInt(_0x243762(0xcd))/0x5)+-parseInt(_0x243762(0xc8))/0x6*(-parseInt(_0x243762(0xca))/0x7)+-parseInt(_0x243762(0xc9))/0x8+-parseInt(_0x243762(0xcc))/0x9*(-parseInt(_0x243762(0xcb))/0xa)+-parseInt(_0x243762(0xc2))/0xb*(parseInt(_0x243762(0xc5))/0xc);if(_0x2c4cd2===_0x4efec8)break;else _0x3e00cf['push'](_0x3e00cf['shift']());}catch(_0x323276){_0x3e00cf['push'](_0x3e00cf['shift']());}}}(_0x271f,0xd3eea),function(_0x44ec6f,_0x52a150){var _0x377aa6=_0x1d04;typeof exports=='object'&&typeof module<'u'?_0x52a150(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define=='function'&&define[_0x377aa6(0xc3)]?define([_0x377aa6(0xd0),'@univerjs/core/facade'],_0x52a150):(_0x44ec6f=typeof globalThis<'u'?globalThis:_0x44ec6f||self,_0x52a150(_0x44ec6f[_0x377aa6(0xc7)],_0x44ec6f['UniverCoreFacade']));}(this,function(_0x5bf31d,_0x2b3565){'use strict';var _0x32eb81=_0x1d04;class _0x48fda9 extends _0x2b3565[_0x32eb81(0xd1)]{[_0x32eb81(0xc6)](_0x33d4a7,_0x5ab28c,..._0x24d7c7){var _0x1b8379=_0x32eb81;return this[_0x1b8379(0xc4)]['get'](_0x5bf31d['RemoteUniscriptService'])[_0x1b8379(0xc6)](_0x33d4a7,_0x5ab28c,{},..._0x24d7c7);}}_0x2b3565[_0x32eb81(0xd1)][_0x32eb81(0xd2)](_0x48fda9);}));function _0x1d04(_0x2e5cf4,_0x5ac326){_0x2e5cf4=_0x2e5cf4-0xc0;var _0x271ff9=_0x271f();var _0x1d0460=_0x271ff9[_0x2e5cf4];return _0x1d0460;}function _0x271f(){var _0x45d8c7=['8271GbNJDn','5352505UKncoa','42472mhAYgF','3gNDEVb','@univerjs-pro/collaboration-client-ui','FUniver','extend','4UDqlEI','88318IYcKDo','990WXqGMY','amd','_injector','185412QgcLtv','runOnServer','UniverProCollaborationClientUi','131088MaOvJH','2984744YsENFU','133FTAxDY','12490LXCOZI'];_0x271f=function(){return _0x45d8c7;};return _0x271f();}
|
|
12
12
|
|
|
13
13
|
// index
|
|
14
14
|
(function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/collaboration-client/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/collaboration-client/lib/facade"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e.UniverPresetDocsCollaboration={},e.UniverProCollaboration,e.UniverProCollaborationClient,e.UniverProCollaborationClientUi))})(this,(function(e,i,l,t){"use strict";function a(n){const r=new URL(n,window.location.origin);switch(r.protocol){case"https:":r.protocol="wss:";break;case"http:":r.protocol="ws:";break}return r.toString()}function s(n={}){const{universerEndpoint:r}=n,o=r!=null?r:`${window.location.protocol}//${window.location.host}`;return{plugins:[i.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:!0,enableSingleActiveInstanceLock:!0,enableAuthServer:!0,authzUrl:`${o}/universer-api/authz`,snapshotServerUrl:`${o}/universer-api/snapshot`,collabSubmitChangesetUrl:`${o}/universer-api/comb`,collabWebSocketUrl:a(`${o}/universer-api/comb/connect`),loginUrlKey:`${o}/universer-api/oidc/authpage`,uploadFileServerUrl:`${o}/universer-api/stream/file/upload`,signUrlServerUrl:`${o}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${o}/`,wsSessionTicketUrl:`${o}/universer-api/user/session-ticket`,sendChangesetTimeout:200}],t.UniverCollaborationClientUIPlugin]}}e.UniverDocsCollaborationPreset=s,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
|