@univerjs/preset-sheets-collaboration 0.13.0-insiders.20251215-64041bb → 0.13.0-insiders.20251218-2062647

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1,23 +1,23 @@
1
1
  // @univerjs-pro/collaboration-client/index
2
- function _0x222a(_0x3b5c13,_0x1a070a){_0x3b5c13=_0x3b5c13-0x1c4;var _0x53166d=_0x5316();var _0x222a39=_0x53166d[_0x3b5c13];return _0x222a39;}(function(_0x1f88f1,_0x44fb01){var _0x262945=_0x222a,_0x9d0000=_0x1f88f1();while(!![]){try{var _0xed38d1=parseInt(_0x262945(0x40a))/0x1+parseInt(_0x262945(0x3c4))/0x2+-parseInt(_0x262945(0x4a7))/0x3+parseInt(_0x262945(0x48c))/0x4+parseInt(_0x262945(0x399))/0x5+-parseInt(_0x262945(0x288))/0x6*(-parseInt(_0x262945(0x2ce))/0x7)+-parseInt(_0x262945(0x332))/0x8*(parseInt(_0x262945(0x430))/0x9);if(_0xed38d1===_0x44fb01)break;else _0x9d0000['push'](_0x9d0000['shift']());}catch(_0x352ed2){_0x9d0000['push'](_0x9d0000['shift']());}}}(_0x5316,0x21643),function(_0x303650,_0x419e8b){var _0x5407c7=_0x222a;typeof exports=='object'&&typeof module<'u'?_0x419e8b(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==_0x5407c7(0x35d)&&define[_0x5407c7(0x24b)]?define([_0x5407c7(0x375),_0x5407c7(0x4bc),_0x5407c7(0x3ec),_0x5407c7(0x502),_0x5407c7(0x4cb),_0x5407c7(0x34f),'@univerjs/telemetry',_0x5407c7(0x47e),_0x5407c7(0x509),_0x5407c7(0x4b3),_0x5407c7(0x466)],_0x419e8b):(_0x303650=typeof globalThis<'u'?globalThis:_0x303650||self,_0x419e8b(_0x303650['UniverProCollaborationClient']={},_0x303650[_0x5407c7(0x44f)],_0x303650['UniverCore'],_0x303650[_0x5407c7(0x31b)],_0x303650[_0x5407c7(0x4e4)],_0x303650[_0x5407c7(0x34f)],_0x303650[_0x5407c7(0x234)],_0x303650['rxjs'][_0x5407c7(0x2f3)],_0x303650[_0x5407c7(0x352)],_0x303650['UniverDrawing'],_0x303650[_0x5407c7(0x3c5)]));}(this,function(_0x330a6c,_0x94e8ef,_0x29f72d,_0x1633c3,_0x504e3a,_0x26770d,_0x55e48e,_0x213182,_0x59551f,_0xb9a54d,_0x136827){'use strict';var _0x3b85f3=_0x222a;var _0x3d982f=Object[_0x3b85f3(0x40f)],_0x1f3f6a=(_0x3fac3a,_0x3738a7,_0x3157cf)=>_0x3738a7 in _0x3fac3a?_0x3d982f(_0x3fac3a,_0x3738a7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3157cf}):_0x3fac3a[_0x3738a7]=_0x3157cf,_0x3dafef=(_0x4ad006,_0x521fb6,_0x96966e)=>_0x1f3f6a(_0x4ad006,typeof _0x521fb6!=_0x3b85f3(0x49b)?_0x521fb6+'':_0x521fb6,_0x96966e);const _0x3610cc=_0x3b85f3(0x342),_0x371056=_0x3b85f3(0x213),_0xbda5=_0x3b85f3(0x4d8),_0x1bd4c8='/universer-api/user/session-ticket',_0x5559aa='HEARTBEAT_INTERVAL',_0x11fb3c=_0x3b85f3(0x1eb),_0x48de82=_0x3b85f3(0x282),_0x28c6bf=_0x3b85f3(0x34e),_0x21462f=_0x3b85f3(0x454),_0x491713=_0x3b85f3(0x1da),_0x1335a0='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x70674b=_0x3b85f3(0x2b8);var _0x229e63=(_0x200504=>(_0x200504[_0x200504[_0x3b85f3(0x1c8)]=0x0]='UNDEFINED',_0x200504[_0x200504['OK']=0x1]='OK',_0x200504[_0x200504[_0x3b85f3(0x45d)]=0x2]=_0x3b85f3(0x45d),_0x200504[_0x200504[_0x3b85f3(0x1c9)]=0x3]='PERMISSION_DENIED',_0x200504[_0x200504[_0x3b85f3(0x346)]=0x4]=_0x3b85f3(0x346),_0x200504[_0x200504[_0x3b85f3(0x1c5)]=0x5]='UNAUTHENTICATED',_0x200504[_0x200504[_0x3b85f3(0x431)]=0x6]=_0x3b85f3(0x431),_0x200504[_0x200504[_0x3b85f3(0x455)]=0x7]=_0x3b85f3(0x455),_0x200504[_0x200504[_0x3b85f3(0x4a6)]=0x8]='TOO_MANY_REQUESTS',_0x200504[_0x200504['COMPLETION_FINISHED']=0x9]=_0x3b85f3(0x2f7),_0x200504[_0x200504[_0x3b85f3(0x32c)]=0xa]=_0x3b85f3(0x32c),_0x200504[_0x200504[_0x3b85f3(0x49c)]=0xb]=_0x3b85f3(0x49c),_0x200504[_0x200504[_0x3b85f3(0x22e)]=0xc]=_0x3b85f3(0x22e),_0x200504[_0x200504['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x3b85f3(0x3f2),_0x200504[_0x200504[_0x3b85f3(0x363)]=0xe]=_0x3b85f3(0x363),_0x200504[_0x200504[_0x3b85f3(0x267)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x200504[_0x200504['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x3b85f3(0x393),_0x200504[_0x200504['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x3b85f3(0x383),_0x200504[_0x200504[_0x3b85f3(0x260)]=0x65]=_0x3b85f3(0x260),_0x200504[_0x200504[_0x3b85f3(0x460)]=0xc9]=_0x3b85f3(0x460),_0x200504[_0x200504[_0x3b85f3(0x2f4)]=0xca]='USER_IS_ANONYMOUS',_0x200504[_0x200504['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x3b85f3(0x476),_0x200504[_0x200504[_0x3b85f3(0x464)]=0x1771]=_0x3b85f3(0x464),_0x200504[_0x200504[_0x3b85f3(0x256)]=0x1772]=_0x3b85f3(0x256),_0x200504[_0x200504[_0x3b85f3(0x241)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x200504[_0x200504[_0x3b85f3(0x2e2)]=0x1b59]=_0x3b85f3(0x2e2),_0x200504[_0x200504[_0x3b85f3(0x292)]=0x1b5a]=_0x3b85f3(0x292),_0x200504[_0x200504['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x200504[_0x200504[_0x3b85f3(0x3d0)]=0x1b5c]=_0x3b85f3(0x3d0),_0x200504[_0x200504['APPLY_DUPLICATED']=0x1b5d]=_0x3b85f3(0x210),_0x200504[_0x200504[_0x3b85f3(0x537)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x200504[_0x200504[_0x3b85f3(0x1ef)]=0x2329]=_0x3b85f3(0x1ef),_0x200504[_0x200504[_0x3b85f3(0x4a2)]=0x232a]=_0x3b85f3(0x4a2),_0x200504[_0x200504[_0x3b85f3(0x4ff)]=0x232b]=_0x3b85f3(0x4ff),_0x200504[_0x200504[_0x3b85f3(0x27a)]=0x232c]=_0x3b85f3(0x27a),_0x200504[_0x200504['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x200504[_0x200504[_0x3b85f3(0x322)]=0x2711]=_0x3b85f3(0x322),_0x200504[_0x200504['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3b85f3(0x233),_0x200504[_0x200504['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3b85f3(0x424),_0x200504[_0x200504[_0x3b85f3(0x448)]=0x2714]=_0x3b85f3(0x448),_0x200504[_0x200504[_0x3b85f3(0x3e0)]=0x271a]=_0x3b85f3(0x3e0),_0x200504[_0x200504[_0x3b85f3(0x515)]=0x271b]=_0x3b85f3(0x515),_0x200504[_0x200504[_0x3b85f3(0x227)]=0x271c]=_0x3b85f3(0x227),_0x200504[_0x200504['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x3b85f3(0x37f),_0x200504[_0x200504[_0x3b85f3(0x364)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x200504[_0x200504[_0x3b85f3(0x3a1)]=0x271f]=_0x3b85f3(0x3a1),_0x200504[_0x200504[_0x3b85f3(0x249)]=0x2720]=_0x3b85f3(0x249),_0x200504[_0x200504[_0x3b85f3(0x395)]=0x2af9]=_0x3b85f3(0x395),_0x200504[_0x200504[_0x3b85f3(0x403)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x200504[_0x200504[_0x3b85f3(0x4d9)]=0x2ee2]='INVALID_INVITE_CODE',_0x200504[_0x200504[_0x3b85f3(0x39e)]=0x2ee3]=_0x3b85f3(0x39e),_0x200504[_0x200504[_0x3b85f3(0x1ca)]=0x2ee4]=_0x3b85f3(0x1ca),_0x200504[_0x200504['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x200504[_0x200504[_0x3b85f3(0x497)]=0x32c9]=_0x3b85f3(0x497),_0x200504[_0x200504['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x200504[_0x200504['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x3b85f3(0x333),_0x200504[_0x200504['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x200504[_0x200504[_0x3b85f3(0x503)]=0x36b2]=_0x3b85f3(0x503),_0x200504[_0x200504['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x3b85f3(0x275),_0x200504[_0x200504[_0x3b85f3(0x39d)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x200504[_0x200504['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x3b85f3(0x276),_0x200504[_0x200504['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x3b85f3(0x2b1),_0x200504[_0x200504[_0x3b85f3(0x32f)]=0x36b7]=_0x3b85f3(0x32f),_0x200504[_0x200504[_0x3b85f3(0x2df)]=0x36b8]=_0x3b85f3(0x2df),_0x200504[_0x200504[_0x3b85f3(0x1e6)]=0x3715]=_0x3b85f3(0x1e6),_0x200504[_0x200504[_0x3b85f3(0x365)]=0x3716]=_0x3b85f3(0x365),_0x200504[_0x200504[_0x3b85f3(0x498)]=0x3717]=_0x3b85f3(0x498),_0x200504[_0x200504[_0x3b85f3(0x1e4)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x200504[_0x200504[_0x3b85f3(0x1d7)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x200504[_0x200504[_0x3b85f3(0x337)]=0x3a9a]=_0x3b85f3(0x337),_0x200504[_0x200504[_0x3b85f3(0x217)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x200504[_0x200504['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x3b85f3(0x428),_0x200504[_0x200504['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x3b85f3(0x3ba),_0x200504[_0x200504[_0x3b85f3(0x1e7)]=0x3a9e]=_0x3b85f3(0x1e7),_0x200504[_0x200504[_0x3b85f3(0x4d3)]=0x3a9f]=_0x3b85f3(0x4d3),_0x200504[_0x200504[_0x3b85f3(0x1dc)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x200504[_0x200504[_0x3b85f3(0x486)]=-0x1]=_0x3b85f3(0x486),_0x200504))(_0x229e63||{}),_0x2da9ac=(_0x1eca87=>(_0x1eca87[_0x1eca87[_0x3b85f3(0x41b)]=0x0]=_0x3b85f3(0x41b),_0x1eca87[_0x1eca87[_0x3b85f3(0x3ee)]=0x1]=_0x3b85f3(0x3ee),_0x1eca87[_0x1eca87['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x1eca87[_0x1eca87[_0x3b85f3(0x3af)]=0x3]=_0x3b85f3(0x3af),_0x1eca87[_0x1eca87[_0x3b85f3(0x329)]=0x4]=_0x3b85f3(0x329),_0x1eca87[_0x1eca87['UNRECOGNIZED']=-0x1]=_0x3b85f3(0x486),_0x1eca87))(_0x2da9ac||{}),_0x8150f7=(_0x54a485=>(_0x54a485[_0x54a485[_0x3b85f3(0x400)]=0x0]='UNKNOWN_CMD',_0x54a485[_0x54a485['HELLO']=0x1]=_0x3b85f3(0x549),_0x54a485[_0x54a485['JOIN']=0x2]='JOIN',_0x54a485[_0x54a485[_0x3b85f3(0x4c1)]=0x3]=_0x3b85f3(0x4c1),_0x54a485[_0x54a485['INGEST']=0x4]='INGEST',_0x54a485[_0x54a485[_0x3b85f3(0x398)]=0x5]=_0x3b85f3(0x398),_0x54a485[_0x54a485[_0x3b85f3(0x535)]=0x6]='RECV',_0x54a485[_0x54a485[_0x3b85f3(0x486)]=-0x1]=_0x3b85f3(0x486),_0x54a485))(_0x8150f7||{}),_0xb4b847=(_0xd4a0d8=>(_0xd4a0d8[_0xd4a0d8[_0x3b85f3(0x36e)]=0x0]=_0x3b85f3(0x36e),_0xd4a0d8[_0xd4a0d8['OK']=0x1]='OK',_0xd4a0d8[_0xd4a0d8[_0x3b85f3(0x52c)]=0x2]=_0x3b85f3(0x52c),_0xd4a0d8[_0xd4a0d8[_0x3b85f3(0x3b2)]=0x3e9]=_0x3b85f3(0x3b2),_0xd4a0d8[_0xd4a0d8['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x3b85f3(0x274),_0xd4a0d8[_0xd4a0d8[_0x3b85f3(0x2b4)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0xd4a0d8[_0xd4a0d8['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0xd4a0d8[_0xd4a0d8[_0x3b85f3(0x486)]=-0x1]=_0x3b85f3(0x486),_0xd4a0d8))(_0xb4b847||{}),_0x195c26=(_0x48440e=>(_0x48440e[_0x48440e[_0x3b85f3(0x353)]=0x0]=_0x3b85f3(0x353),_0x48440e[_0x48440e[_0x3b85f3(0x263)]=0x1]=_0x3b85f3(0x263),_0x48440e[_0x48440e['HttpExport']=0x2]=_0x3b85f3(0x22c),_0x48440e[_0x48440e[_0x3b85f3(0x293)]=0x3]=_0x3b85f3(0x293),_0x48440e[_0x48440e[_0x3b85f3(0x373)]=0x4]=_0x3b85f3(0x373),_0x48440e[_0x48440e[_0x3b85f3(0x277)]=0x5]=_0x3b85f3(0x277),_0x48440e[_0x48440e[_0x3b85f3(0x52d)]=0x6]='ClipsheetFragments',_0x48440e[_0x48440e[_0x3b85f3(0x486)]=-0x1]=_0x3b85f3(0x486),_0x48440e))(_0x195c26||{});const _0xd5da60=_0x3b85f3(0x3d6);function _0x314a10(_0x26ef01){return JSON['stringify'](_0x26ef01)['length'];}var _0x465567=(_0x18a55d=>(_0x18a55d[_0x3b85f3(0x456)]=_0x3b85f3(0x456),_0x18a55d['PERMISSION_DENIED']=_0x3b85f3(0x1c9),_0x18a55d[_0x3b85f3(0x31d)]=_0x3b85f3(0x31d),_0x18a55d[_0x3b85f3(0x2f8)]=_0x3b85f3(0x2f8),_0x18a55d[_0x3b85f3(0x326)]=_0x3b85f3(0x326),_0x18a55d[_0x3b85f3(0x41d)]=_0x3b85f3(0x41d),_0x18a55d['SOCKET_FAILED']=_0x3b85f3(0x42f),_0x18a55d[_0x3b85f3(0x4ec)]=_0x3b85f3(0x4ec),_0x18a55d))(_0x465567||{});class _0x18e687{constructor(){var _0x2131f5=_0x3b85f3;_0x3dafef(this,_0x2131f5(0x33f),new _0x26770d[(_0x2131f5(0x37c))]()),_0x3dafef(this,_0x2131f5(0x479),this[_0x2131f5(0x33f)][_0x2131f5(0x1fb)]());}[_0x3b85f3(0x1d4)](_0x1f16c1){var _0x23ba31=_0x3b85f3;this[_0x23ba31(0x33f)][_0x23ba31(0x4c8)](_0x1f16c1);}}class _0x146c00{constructor(){var _0x282d7a=_0x3b85f3;_0x3dafef(this,'_commentUpdate$',new _0x26770d[(_0x282d7a(0x37c))]()),_0x3dafef(this,_0x282d7a(0x404),this[_0x282d7a(0x3b9)]['asObservable']());}['onCommentUpdate'](_0x49e0a1){var _0x58ff20=_0x3b85f3;this[_0x58ff20(0x3b9)][_0x58ff20(0x4c8)](_0x49e0a1);}}var _0x1881db=Object[_0x3b85f3(0x2e1)],_0x4e98ea=(_0x1185b7,_0x54f37c,_0x10d11c,_0xdf2cc7)=>{for(var _0x262959=_0xdf2cc7>0x1?void 0x0:_0xdf2cc7?_0x1881db(_0x54f37c,_0x10d11c):_0x54f37c,_0x464706=_0x1185b7['length']-0x1,_0x52fa5e;_0x464706>=0x0;_0x464706--)(_0x52fa5e=_0x1185b7[_0x464706])&&(_0x262959=_0x52fa5e(_0x262959)||_0x262959);return _0x262959;},_0x335e54=(_0x29886b,_0x30f1ac)=>(_0x3eb6b3,_0x152d19)=>_0x30f1ac(_0x3eb6b3,_0x152d19,_0x29886b);_0x330a6c[_0x3b85f3(0x2d9)]=class extends _0x29f72d[_0x3b85f3(0x45b)]{constructor(_0x42a260,_0x250f98){var _0x2875ba=_0x3b85f3;super(),_0x3dafef(this,_0x2875ba(0x44c),new Map()),_0x3dafef(this,_0x2875ba(0x2eb),new _0x26770d[(_0x2875ba(0x37c))]()),(this[_0x2875ba(0x550)]=_0x42a260,this[_0x2875ba(0x422)]=_0x250f98,this[_0x2875ba(0x4de)](_0x26770d[_0x2875ba(0x1cb)](this[_0x2875ba(0x550)][_0x2875ba(0x2da)](_0x29f72d[_0x2875ba(0x294)][_0x2875ba(0x4be)])[_0x2875ba(0x341)](_0x213182[_0x2875ba(0x55e)](_0x440c19=>_0x440c19[_0x2875ba(0x4ba)]())),this[_0x2875ba(0x550)]['getTypeOfUnitDisposed$'](_0x29f72d['UniverInstanceType'][_0x2875ba(0x3ee)])[_0x2875ba(0x341)](_0x213182['map'](_0x3cec14=>_0x3cec14[_0x2875ba(0x4ba)]())),this['_univerInstanceService'][_0x2875ba(0x2da)](_0x29f72d['UniverInstanceType']['UNIVER_SLIDE'])[_0x2875ba(0x341)](_0x213182[_0x2875ba(0x55e)](_0x514d5b=>_0x514d5b[_0x2875ba(0x4ba)]())))[_0x2875ba(0x255)](_0x53b85d=>this['_removeRoom'](_0x53b85d))));}[_0x3b85f3(0x4d7)](_0x33f6b1){var _0x4c82c7=_0x3b85f3;return this[_0x4c82c7(0x44c)][_0x4c82c7(0x1d6)](_0x33f6b1)?_0x26770d['of'](this[_0x4c82c7(0x44c)][_0x4c82c7(0x1f8)](_0x33f6b1)):this[_0x4c82c7(0x2eb)][_0x4c82c7(0x341)](_0x213182[_0x4c82c7(0x55e)](_0x5354fa=>{var _0x2b0057=_0x4c82c7;if(_0x5354fa===_0x33f6b1)return this[_0x2b0057(0x44c)][_0x2b0057(0x1f8)](_0x5354fa);}));}[_0x3b85f3(0x521)](_0x5e4bb2){var _0xb6b7f=_0x3b85f3;this[_0xb6b7f(0x422)][_0xb6b7f(0x521)](_0x5e4bb2);}[_0x3b85f3(0x28c)](){var _0x28d394=_0x3b85f3;return this['_userManagerService'][_0x28d394(0x28c)]();}[_0x3b85f3(0x4b5)](_0x3e3062,_0x31450c){var _0x18c158=_0x3b85f3;let _0x35dbe7=this[_0x18c158(0x44c)][_0x18c158(0x1f8)](_0x3e3062);_0x35dbe7||(_0x35dbe7=new _0x5406c0(),this[_0x18c158(0x44c)][_0x18c158(0x2d7)](_0x3e3062,_0x35dbe7),this[_0x18c158(0x2eb)][_0x18c158(0x4c8)](_0x3e3062)),_0x35dbe7[_0x18c158(0x4b5)](_0x31450c);}['removeMember'](_0x38972b,_0x246d03){var _0x2a10b5=_0x3b85f3;const _0x3587a0=this[_0x2a10b5(0x44c)][_0x2a10b5(0x1f8)](_0x38972b);_0x3587a0&&_0x3587a0[_0x2a10b5(0x209)](_0x246d03);}[_0x3b85f3(0x418)](_0x5a4a63){var _0x5418b5=_0x3b85f3;return this[_0x5418b5(0x44c)]['get'](_0x5a4a63);}[_0x3b85f3(0x262)](_0x48d4b2,_0x3b6f9b){var _0xeefee5=_0x3b85f3;const _0x2631fc=this['_roomMembers'][_0xeefee5(0x1f8)](_0x48d4b2);if(_0x2631fc)return _0x2631fc[_0xeefee5(0x262)](_0x3b6f9b);}[_0x3b85f3(0x2ba)](_0x276cf5){var _0x178a16=_0x3b85f3;const _0x1aec11=this[_0x178a16(0x44c)]['get'](_0x276cf5);_0x1aec11&&(_0x1aec11[_0x178a16(0x44d)](),this[_0x178a16(0x44c)][_0x178a16(0x245)](_0x276cf5));}[_0x3b85f3(0x44d)](){var _0x4913a3=_0x3b85f3;this[_0x4913a3(0x44c)][_0x4913a3(0x3ae)](_0xfa29d=>_0xfa29d[_0x4913a3(0x44d)]()),this[_0x4913a3(0x44c)]['clear'](),this['_roomCreated$'][_0x4913a3(0x4ee)]();}},_0x330a6c[_0x3b85f3(0x2d9)]=_0x4e98ea([_0x335e54(0x0,_0x29f72d[_0x3b85f3(0x558)]),_0x335e54(0x1,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x42d)]))],_0x330a6c[_0x3b85f3(0x2d9)]);class _0x5406c0 extends _0x29f72d[_0x3b85f3(0x45b)]{constructor(){var _0x46e6fd=_0x3b85f3;super(...arguments),_0x3dafef(this,_0x46e6fd(0x220),new Map()),_0x3dafef(this,'_members$',new _0x26770d['BehaviorSubject'](this[_0x46e6fd(0x220)])),_0x3dafef(this,_0x46e6fd(0x3f3),this[_0x46e6fd(0x1e1)]['asObservable']());}['dispose'](){var _0x183c5a=_0x3b85f3;this[_0x183c5a(0x220)]['clear']();}['updateMember'](_0x49f3a9){var _0x439117=_0x3b85f3;this['_members'][_0x439117(0x2d7)](_0x49f3a9['memberID'],_0x49f3a9),this[_0x439117(0x4e8)]();}['removeMember'](_0x37e06f){var _0x450a2b=_0x3b85f3;this[_0x450a2b(0x220)]['delete'](_0x37e06f);}[_0x3b85f3(0x262)](_0x4a8b6c){var _0x48e28b=_0x3b85f3;return this[_0x48e28b(0x220)][_0x48e28b(0x1f8)](_0x4a8b6c);}[_0x3b85f3(0x4f7)](){var _0x1377d6=_0x3b85f3;return Array['from'](this[_0x1377d6(0x220)]['values']());}[_0x3b85f3(0x4e8)](){var _0x156397=_0x3b85f3;this[_0x156397(0x1e1)][_0x156397(0x4c8)](this[_0x156397(0x220)]);}}var _0x4de37a=Object[_0x3b85f3(0x2e1)],_0x3eff84=(_0x2f4e97,_0x381a4e,_0x411873,_0x5dbdf4)=>{for(var _0x21694c=_0x5dbdf4>0x1?void 0x0:_0x5dbdf4?_0x4de37a(_0x381a4e,_0x411873):_0x381a4e,_0x302074=_0x2f4e97['length']-0x1,_0x30e0cc;_0x302074>=0x0;_0x302074--)(_0x30e0cc=_0x2f4e97[_0x302074])&&(_0x21694c=_0x30e0cc(_0x21694c)||_0x21694c);return _0x21694c;},_0x482da3=(_0x4c38f4,_0x18457f)=>(_0x3d379e,_0x3e393e)=>_0x18457f(_0x3d379e,_0x3e393e,_0x4c38f4),_0x5c4cf0=(_0x4c315f=>(_0x4c315f[_0x4c315f['IDLE']=0x0]='IDLE',_0x4c315f[_0x4c315f[_0x3b85f3(0x43a)]=0x1]=_0x3b85f3(0x43a),_0x4c315f[_0x4c315f[_0x3b85f3(0x376)]=0x2]=_0x3b85f3(0x376),_0x4c315f[_0x4c315f[_0x3b85f3(0x425)]=0x3]=_0x3b85f3(0x425),_0x4c315f))(_0x5c4cf0||{});const _0x1d7134={[_0xb4b847[_0x3b85f3(0x52c)]]:_0x3b85f3(0x507),[_0xb4b847[_0x3b85f3(0x3b2)]]:'session.room-full',[_0xb4b847[_0x3b85f3(0x274)]]:_0x3b85f3(0x2b3),[_0xb4b847['JOIN_ROOM_PERMISSION_DENIED']]:_0x3b85f3(0x530),[_0xb4b847[_0x3b85f3(0x271)]]:_0x3b85f3(0x3b8)};_0x330a6c[_0x3b85f3(0x325)]=class extends _0x29f72d[_0x3b85f3(0x253)]{constructor(_0x539714,_0x3cd1ac,_0x686062,_0x2520a6,_0x324b8a,_0x36e85c,_0x222250,_0x22d1bd){var _0x33685f=_0x3b85f3;super(),_0x3dafef(this,_0x33685f(0x222),new _0x26770d[(_0x33685f(0x2cc))](0x0)),_0x3dafef(this,_0x33685f(0x301),this[_0x33685f(0x222)]['asObservable']()),_0x3dafef(this,_0x33685f(0x33f),new _0x26770d[(_0x33685f(0x37c))]()),_0x3dafef(this,_0x33685f(0x479),this[_0x33685f(0x33f)][_0x33685f(0x1fb)]()),_0x3dafef(this,_0x33685f(0x1e3)),_0x3dafef(this,_0x33685f(0x508)),_0x3dafef(this,_0x33685f(0x2e4)),_0x3dafef(this,_0x33685f(0x1ff),!0x1),_0x3dafef(this,_0x33685f(0x25d),null),(this[_0x33685f(0x257)]=_0x539714,this[_0x33685f(0x20b)]=_0x686062,this[_0x33685f(0x265)]=_0x2520a6,this[_0x33685f(0x2a9)]=_0x324b8a,this[_0x33685f(0x41f)]=_0x36e85c,this[_0x33685f(0x2ed)]=_0x222250,this[_0x33685f(0x254)]=_0x22d1bd,this[_0x33685f(0x1ff)]=!!this['_telemetryService'],_0x3cd1ac[_0x33685f(0x341)](_0x26770d[_0x33685f(0x4bb)](this['dispose$']))[_0x33685f(0x255)](_0x501dd6=>{var _0x4706bd=_0x33685f,_0x569d44;typeof _0x501dd6>'u'||(this[_0x4706bd(0x1e3)]=_0x501dd6,_0x501dd6?(this['_joinRoom'](_0x501dd6),this['_socketMessageSubscription']=_0x501dd6[_0x4706bd(0x264)][_0x4706bd(0x255)](_0x3de79c=>{var _0x830ed0=_0x4706bd;_0x3de79c['routeKey']===this[_0x830ed0(0x257)]&&this[_0x830ed0(0x3f0)](_0x3de79c);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x4706bd(0x222)][_0x4706bd(0x4c8)](0x2),(_0x569d44=this[_0x4706bd(0x508)])==null||_0x569d44[_0x4706bd(0x2c8)](),this['_socketMessageSubscription']=null));}));}get[_0x3b85f3(0x28d)](){var _0x1693a8=_0x3b85f3;return this[_0x1693a8(0x222)][_0x1693a8(0x377)]();}[_0x3b85f3(0x4d1)](){var _0x443ec1=_0x3b85f3,_0xa054ad,_0x1f66bb;return(_0x1f66bb=(_0xa054ad=this['_socket'])==null?void 0x0:_0xa054ad[_0x443ec1(0x297)])!=null?_0x1f66bb:null;}[_0x3b85f3(0x44d)](){var _0x10d69e=_0x3b85f3;super[_0x10d69e(0x44d)](),this[_0x10d69e(0x4dc)]['next'](),this[_0x10d69e(0x4dc)][_0x10d69e(0x4ee)]();}[_0x3b85f3(0x268)](){var _0x3e5983=_0x3b85f3,_0x2c1bc0,_0xed8b20;this[_0x3e5983(0x3b5)](),(_0x2c1bc0=this[_0x3e5983(0x1e3)])==null||_0x2c1bc0[_0x3e5983(0x485)]({'cmd':_0x8150f7[_0x3e5983(0x4c1)],'data':{'roomID':this[_0x3e5983(0x257)]}}),(_0xed8b20=this['_socket'])==null||_0xed8b20[_0x3e5983(0x268)](),this[_0x3e5983(0x33f)][_0x3e5983(0x4ee)](),this[_0x3e5983(0x222)][_0x3e5983(0x4ee)](),this[_0x3e5983(0x44d)]();}[_0x3b85f3(0x3f0)](_0x17b8b4){var _0x15c245=_0x3b85f3;_0x17b8b4[_0x15c245(0x21c)]===_0x8150f7[_0x15c245(0x225)]?this[_0x15c245(0x44e)](_0x17b8b4):_0x17b8b4[_0x15c245(0x21c)]===_0x8150f7['RECV']&&this['_onRecvEvent'](_0x17b8b4);}[_0x3b85f3(0x347)](_0xde23f5){var _0x4f8a7a=_0x3b85f3;this[_0x4f8a7a(0x222)][_0x4f8a7a(0x4c8)](0x1),_0xde23f5[_0x4f8a7a(0x485)]({'cmd':_0x8150f7[_0x4f8a7a(0x225)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x4f8a7a(0x257)]}]}});}[_0x3b85f3(0x44e)](_0x16b9b7){var _0x1293a0=_0x3b85f3,_0x125bae;if(_0x16b9b7[_0x1293a0(0x2b2)]in _0x1d7134){this[_0x1293a0(0x2ed)][_0x1293a0(0x1d4)]({'id':_0x465567[_0x1293a0(0x326)],'data':_0x1d7134[_0x16b9b7['code']]}),this['_sessionStatus$']['next'](0x2);return;}this[_0x1293a0(0x222)][_0x1293a0(0x4c8)](0x3);const _0x20efd8=(_0x125bae=_0x16b9b7['data'][_0x1293a0(0x445)][this['_unitID']])==null?void 0x0:_0x125bae[_0x1293a0(0x504)];_0x20efd8&&_0x20efd8[_0x1293a0(0x3ae)](_0x66d90=>this[_0x1293a0(0x2a9)][_0x1293a0(0x4b5)](this['_unitID'],_0x66d90));}[_0x3b85f3(0x1f1)](_0xebfd36){var _0x28c582=_0x3b85f3;try{const _0x557816=_0xebfd36[_0x28c582(0x2c0)];switch(_0x557816[_0x28c582(0x3df)]){case _0x94e8ef['CollaborationEvent'][_0x28c582(0x414)]:this[_0x28c582(0x23f)](_0x557816),this[_0x28c582(0x33f)]['next'](_0x557816);break;case _0x94e8ef[_0x28c582(0x22b)][_0x28c582(0x421)]:this['_onUserLeave'](_0x557816),this[_0x28c582(0x33f)][_0x28c582(0x4c8)](_0x557816);break;case _0x94e8ef['CollaborationEvent']['CHANGESET_ACK']:case _0x94e8ef[_0x28c582(0x22b)][_0x28c582(0x370)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x28c582(0x247)](),this[_0x28c582(0x33f)][_0x28c582(0x4c8)](_0x557816);break;case _0x94e8ef[_0x28c582(0x22b)]['MSG_FOR_ERROR']:this[_0x28c582(0x20b)][_0x28c582(0x313)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x28c582(0x3ff)](_0x557816)),this['_event$'][_0x28c582(0x4c8)](_0x557816);break;case _0x94e8ef[_0x28c582(0x22b)][_0x28c582(0x35c)]:this[_0x28c582(0x41f)][_0x28c582(0x2cf)](_0x557816[_0x28c582(0x2c0)]),this['_event$'][_0x28c582(0x4c8)](_0x557816);break;default:this['_event$'][_0x28c582(0x4c8)](_0x557816);}}catch(_0x14d30b){this['_logService'][_0x28c582(0x313)](_0x14d30b,_0xebfd36);}}[_0x3b85f3(0x23f)](_0x4269c7){var _0x2e6245=_0x3b85f3;this['_memberService'][_0x2e6245(0x4b5)](this[_0x2e6245(0x257)],_0x4269c7[_0x2e6245(0x2c0)]);}[_0x3b85f3(0x25a)](_0x2e9800){var _0x264dbc=_0x3b85f3;this['_memberService'][_0x264dbc(0x209)](this[_0x264dbc(0x257)],_0x2e9800['data'][_0x264dbc(0x297)]);}async['send'](_0x2bf662,_0x5a231c){var _0x29104a=_0x3b85f3;if(this[_0x29104a(0x28d)]!==0x3||!this[_0x29104a(0x1e3)])throw new Error(_0x29104a(0x280));try{_0x2bf662['eventID']===_0x94e8ef[_0x29104a(0x22b)][_0x29104a(0x544)]&&(this[_0x29104a(0x459)](),this[_0x29104a(0x4d6)](_0x2bf662)),this[_0x29104a(0x1e3)][_0x29104a(0x485)]({'cmd':_0x8150f7['INGEST'],'routeKey':_0x5a231c,'routeType':'','data':_0x2bf662});}catch(_0x2e28dc){this[_0x29104a(0x20b)][_0x29104a(0x313)](_0x2e28dc);}}[_0x3b85f3(0x459)](){var _0x428cc7=_0x3b85f3,_0x258ffe;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x4f8227=_0x222a;this[_0x4f8227(0x2e4)]=null,this[_0x4f8227(0x2ed)]['emitEvent']({'id':_0x465567[_0x4f8227(0x4ec)]});},(_0x258ffe=this[_0x428cc7(0x265)][_0x428cc7(0x4d4)](_0x11fb3c))!=null?_0x258ffe:0x4e20);}[_0x3b85f3(0x247)](){var _0x5e90d6=_0x3b85f3;this[_0x5e90d6(0x2e4)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x5e90d6(0x2e4)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x1bace3){var _0x6d9a04=_0x3b85f3;if(!this[_0x6d9a04(0x1ff)])return;const {data:_0x59c85b}=_0x1bace3,{unitID:_0x487e30,changeset:_0x36b0d4}=_0x59c85b,{mutations:_0x5694f5,type:_0x5369b8}=_0x36b0d4;this[_0x6d9a04(0x25d)]={'unitId':_0x487e30,'type':_0x5369b8,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x314a10(_0x5694f5)};}[_0x3b85f3(0x478)](){var _0x58e5f0=_0x3b85f3;if(this[_0x58e5f0(0x1ff)]){if(!this[_0x58e5f0(0x25d)]){this['_logService']['error']('[CollaborationSession]',_0x58e5f0(0x357));return;}this['_telemetryInfo'][_0x58e5f0(0x381)]=performance[_0x58e5f0(0x202)](),this[_0x58e5f0(0x25d)]['duration']=this[_0x58e5f0(0x25d)][_0x58e5f0(0x381)]-this[_0x58e5f0(0x25d)]['startTime'],this[_0x58e5f0(0x254)][_0x58e5f0(0x506)](_0xd5da60,this[_0x58e5f0(0x25d)]),this[_0x58e5f0(0x25d)]=null;}}[_0x3b85f3(0x3b5)](){var _0x3a8557=_0x3b85f3;this[_0x3a8557(0x25d)]=null;}},_0x330a6c[_0x3b85f3(0x325)]=_0x3eff84([_0x482da3(0x2,_0x29f72d['ILogService']),_0x482da3(0x3,_0x29f72d['IConfigService']),_0x482da3(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x330a6c[_0x3b85f3(0x2d9)])),_0x482da3(0x5,_0x29f72d[_0x3b85f3(0x397)](_0x146c00)),_0x482da3(0x6,_0x29f72d[_0x3b85f3(0x397)](_0x18e687)),_0x482da3(0x7,_0x29f72d['Optional'](_0x55e48e[_0x3b85f3(0x1cf)]))],_0x330a6c[_0x3b85f3(0x325)]);const _0x54c85=_0x29f72d[_0x3b85f3(0x3cf)](_0x3b85f3(0x31f));function _0x99f370(_0x5f3cda){var _0x21eb44=_0x3b85f3;return _0x21eb44(0x391)+_0x5f3cda;}var _0x3c9695=Object['getOwnPropertyDescriptor'],_0x535e46=(_0x4d246d,_0x3ae6f6,_0x5b0ec5,_0x401db4)=>{for(var _0x3275bb=_0x401db4>0x1?void 0x0:_0x401db4?_0x3c9695(_0x3ae6f6,_0x5b0ec5):_0x3ae6f6,_0x3bf6fc=_0x4d246d['length']-0x1,_0x5c37e5;_0x3bf6fc>=0x0;_0x3bf6fc--)(_0x5c37e5=_0x4d246d[_0x3bf6fc])&&(_0x3275bb=_0x5c37e5(_0x3275bb)||_0x3275bb);return _0x3275bb;},_0x127ebf=(_0x2715f0,_0x1ee457)=>(_0x21608e,_0x1758fb)=>_0x1ee457(_0x21608e,_0x1758fb,_0x2715f0);function _0x5b8cb8(_0x4b43f4){var _0x4b7c52=_0x3b85f3;const {unitID:_0x214567,mutations:_0x554edb}=_0x4b43f4;return{'unitId':_0x214567,'subUnitId':_0x554edb[_0x4b7c52(0x24a)]>0x0?_0x554edb[0x0][_0x4b7c52(0x45a)][_0x4b7c52(0x2fc)]:null};}_0x330a6c[_0x3b85f3(0x4e9)]=class{constructor(_0x55181b,_0x13c76f,_0x5b8ad){var _0x370914=_0x3b85f3;this[_0x370914(0x53a)]=_0x55181b,this[_0x370914(0x2c5)]=_0x13c76f,this[_0x370914(0x4af)]=_0x5b8ad;}['transformSelections'](_0x31f7b5){var _0x25c001=_0x3b85f3,_0x1ccb2f,_0x347b9a,_0x1bdf36,_0x534894;const _0xca7a0e=this[_0x25c001(0x53a)][_0x25c001(0x1f8)](_0x504e3a[_0x25c001(0x25c)]),{unitId:_0xdd5cac,subUnitId:_0x5bdf25}=_0x5b8cb8(_0x31f7b5),_0xb0ea28=_0xca7a0e==null?void 0x0:_0xca7a0e[_0x25c001(0x482)](_0xdd5cac)[_0x25c001(0x1ee)](),_0x2f0b5e=(_0x347b9a=(_0x1ccb2f=this[_0x25c001(0x4af)]['getUnit'](_0xdd5cac))==null?void 0x0:_0x1ccb2f[_0x25c001(0x47b)]())==null?void 0x0:_0x347b9a['getSheetId']();if(_0xb0ea28[_0x25c001(0x24a)]===0x0||!_0xdd5cac||!_0x5bdf25)return;const _0x16b30d=[{'id':_0x504e3a[_0x25c001(0x3a2)]['id'],'params':{'unitId':_0xdd5cac,'subUnitId':_0x2f0b5e,'selections':_0x29f72d[_0x25c001(0x4e6)][_0x25c001(0x4e5)](_0xb0ea28)}}],_0x47480b=this[_0x25c001(0x2c5)][_0x25c001(0x25f)](_0x31f7b5,_0x16b30d);if(!_0x94e8ef[_0x25c001(0x221)](_0x47480b))throw _0x47480b['error'];const _0x567618=(_0x534894=(_0x1bdf36=_0x47480b[_0x25c001(0x343)][0x0])==null?void 0x0:_0x1bdf36[_0x25c001(0x45a)])==null?void 0x0:_0x534894['selections'];if(Array[_0x25c001(0x25b)](_0x567618)&&_0x567618[_0x25c001(0x24a)]){if(_0x567618[_0x25c001(0x24a)]===_0x16b30d[0x0]['params'][_0x25c001(0x471)][_0x25c001(0x24a)]&&_0x567618[_0x25c001(0x321)]((_0x6acd25,_0x168150)=>_0x29f72d[_0x25c001(0x3ea)][_0x25c001(0x26d)](_0x6acd25[_0x25c001(0x1d3)],_0x16b30d[0x0][_0x25c001(0x45a)][_0x25c001(0x471)][_0x168150][_0x25c001(0x1d3)])))return;this[_0x25c001(0x53a)]['get'](_0x29f72d[_0x25c001(0x4f4)])[_0x25c001(0x551)](_0x504e3a[_0x25c001(0x3a2)]['id'],{'unitId':_0xdd5cac,'subUnitId':_0x2f0b5e,'selections':_0x567618});}}},_0x330a6c[_0x3b85f3(0x4e9)]=_0x535e46([_0x127ebf(0x0,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x127ebf(0x1,_0x94e8ef[_0x3b85f3(0x34a)]),_0x127ebf(0x2,_0x29f72d[_0x3b85f3(0x558)])],_0x330a6c[_0x3b85f3(0x4e9)]);const _0x17abdd=_0x29f72d[_0x3b85f3(0x3cf)](_0x3b85f3(0x1c4));var _0x17f828=(_0x1d49e3=>(_0x1d49e3[_0x1d49e3[_0x3b85f3(0x4b2)]=0x0]=_0x3b85f3(0x4b2),_0x1d49e3[_0x1d49e3[_0x3b85f3(0x4fc)]=0x1]=_0x3b85f3(0x4fc),_0x1d49e3))(_0x17f828||{});const _0x54fbde=_0x3b85f3(0x4eb),_0x32803a={};function _0x16f21b(_0x3f37a0){var _0x566cbf=_0x3b85f3,_0x5a2dce;return!!((_0x5a2dce=_0x3f37a0[_0x566cbf(0x45a)])!=null&&_0x5a2dce['__splitChunk__']);}const _0x8bff1=new Set([_0x504e3a['InsertSheetMutation']['id']]);function _0x17ce0a(_0x2dc7f5,_0x464a58,_0x325dda,_0x537643,_0x12bdba){var _0x1e191b=_0x3b85f3,_0x495c46,_0x1166fd,_0x5290f4,_0x320415;const _0x4e3774=[];for(const _0x1e919e of _0x2dc7f5){if(_0x8bff1[_0x1e191b(0x1d6)](_0x1e919e['id'])){if(_0x4e3774[_0x1e191b(0x24a)]>0x0)break;_0x4e3774[_0x1e191b(0x2cd)](_0x1e919e);break;}if(_0x16f21b(_0x1e919e)){if(_0x4e3774[_0x1e191b(0x24a)]>0x0)break;_0x4e3774[_0x1e191b(0x2cd)](_0x1e919e);break;}_0x4e3774['push'](_0x1e919e);}const _0x3cdbd5=(_0x1166fd=(_0x495c46=_0x12bdba[_0x1e191b(0x28c)]())==null?void 0x0:_0x495c46[_0x1e191b(0x4a4)])!=null?_0x1166fd:_0x1e191b(0x26e),_0x11b99d=(_0x320415=(_0x5290f4=_0x12bdba['getCurrentUser']())==null?void 0x0:_0x5290f4[_0x1e191b(0x297)])!=null?_0x320415:_0x1e191b(0x26e);return{'changeset':{'unitID':_0x464a58,'type':_0x94e8ef['mapDocumentTypeToUniverType'](_0x325dda[_0x1e191b(0x272)](_0x464a58)),'baseRev':_0x537643['getCurrentRevOfUnit'](_0x464a58),'revision':0x0,'userID':_0x3cdbd5,'memberID':_0x11b99d,'mutations':_0x4e3774},'pendingMutations':_0x2dc7f5[_0x1e191b(0x3db)](_0x4e3774['length'])};}function _0x2697b3(_0x1e8056,_0x116133,_0x308778,_0x5e7036,_0x4a8de4){var _0x5bdb9d=_0x3b85f3,_0x2b550a,_0x1a4aaf,_0x3f9cf7,_0x14f94d;const _0x258a7b=[_0x1e8056[_0x5bdb9d(0x46d)]((_0x220895,_0x54403a)=>{var _0x1a581d=_0x5bdb9d,_0x2541c8;const {id:_0x3678ad}=_0x220895,{id:_0x361339,type:_0x5d0e07}=_0x54403a,_0x19ddb4=(_0x2541c8=_0x220895[_0x1a581d(0x45a)])!=null?_0x2541c8:{'actions':null},_0xb942d7=_0x54403a['params'];if(_0x3678ad&&_0x3678ad!==_0x361339)throw new Error(_0x1a581d(0x533)+_0x3678ad+_0x1a581d(0x554)+_0x361339+'.');return{..._0x220895,'id':_0x361339,'type':_0x5d0e07,'params':{'unitId':_0xb942d7[_0x1a581d(0x2fe)],'textRanges':_0xb942d7['textRanges'],'actions':_0x29f72d[_0x1a581d(0x266)][_0x1a581d(0x1c7)](_0x19ddb4[_0x1a581d(0x29b)],_0xb942d7[_0x1a581d(0x29b)])}};},{})],_0x28033b=(_0x1a4aaf=(_0x2b550a=_0x4a8de4['getCurrentUser']())==null?void 0x0:_0x2b550a['userID'])!=null?_0x1a4aaf:_0x5bdb9d(0x26e),_0x2bf2e4=(_0x14f94d=(_0x3f9cf7=_0x4a8de4['getCurrentUser']())==null?void 0x0:_0x3f9cf7[_0x5bdb9d(0x297)])!=null?_0x14f94d:_0x5bdb9d(0x26e);return{'changeset':{'unitID':_0x116133,'type':_0x94e8ef[_0x5bdb9d(0x2d6)](_0x308778[_0x5bdb9d(0x272)](_0x116133)),'baseRev':_0x5e7036[_0x5bdb9d(0x1ec)](_0x116133),'revision':0x0,'userID':_0x28033b,'memberID':_0x2bf2e4,'mutations':_0x258a7b},'pendingMutations':[]};}function _0x42bc29(_0x48f298,_0x446e8e){var _0x127817=_0x3b85f3;const _0x17c59a=new _0x26770d[(_0x127817(0x410))](0x1);return setTimeout(()=>_0x17c59a[_0x127817(0x4c8)](_0x446e8e),_0x48f298),_0x17c59a['asObservable']()[_0x127817(0x341)](_0x26770d[_0x127817(0x354)](0x1));}var _0x57decf=Object[_0x3b85f3(0x2e1)],_0x1d59cd=(_0x23425e,_0x2201f3,_0x46bcba,_0x293a30)=>{var _0x3af1f1=_0x3b85f3;for(var _0x40333f=_0x293a30>0x1?void 0x0:_0x293a30?_0x57decf(_0x2201f3,_0x46bcba):_0x2201f3,_0x32f654=_0x23425e[_0x3af1f1(0x24a)]-0x1,_0x5d7e24;_0x32f654>=0x0;_0x32f654--)(_0x5d7e24=_0x23425e[_0x32f654])&&(_0x40333f=_0x5d7e24(_0x40333f)||_0x40333f);return _0x40333f;},_0x2215d7=(_0x2c4c1b,_0x3a0f3a)=>(_0x2793bb,_0x17b6d2)=>_0x3a0f3a(_0x2793bb,_0x17b6d2,_0x2c4c1b),_0xcbbb88=(_0x468407=>(_0x468407[_0x3b85f3(0x402)]='not_collab',_0x468407[_0x3b85f3(0x2ee)]=_0x3b85f3(0x35e),_0x468407[_0x3b85f3(0x3ca)]=_0x3b85f3(0x38c),_0x468407['AWAITING']=_0x3b85f3(0x3ce),_0x468407[_0x3b85f3(0x33a)]=_0x3b85f3(0x323),_0x468407['FETCH_MISS']=_0x3b85f3(0x561),_0x468407[_0x3b85f3(0x31d)]=_0x3b85f3(0x31a),_0x468407[_0x3b85f3(0x376)]=_0x3b85f3(0x23e),_0x468407))(_0xcbbb88||{});const _0x59df39=0x4e20,_0x2e27e1=0x2bf20;class _0x3e2750{constructor(_0x3c4a0b,_0x3d8051,_0x3d3236,_0x2c0c76,_0x2bcc9d,_0x5df099,_0x58a1fc,_0x5a0a0e,_0x280eb6){var _0x12ffa0=_0x3b85f3;_0x3dafef(this,_0x12ffa0(0x238),null),_0x3dafef(this,_0x12ffa0(0x50c),[]),(this[_0x12ffa0(0x3be)]=_0x3c4a0b,this[_0x12ffa0(0x565)]=_0x3d8051,this['_handler']=_0x2bcc9d,this[_0x12ffa0(0x440)]=_0x5df099,this[_0x12ffa0(0x24c)]=_0x58a1fc,this[_0x12ffa0(0x2ff)]=_0x5a0a0e,this['_localCacheService']=_0x280eb6,this[_0x12ffa0(0x238)]=_0x3d3236,this[_0x12ffa0(0x50c)]=_0x2c0c76);}[_0x3b85f3(0x38d)](_0x5add1b){var _0x316240=_0x3b85f3;const _0x21cb1e=this['_revisionService']['getCurrentRevOfUnit'](this[_0x316240(0x3be)]);return _0x5add1b[_0x316240(0x2c2)]>_0x21cb1e+0x1?(this[_0x316240(0x24d)]['onMissingChangesets']({'from':_0x21cb1e,'to':_0x5add1b[_0x316240(0x2c2)]-0x1}),!0x0):!0x1;}[_0x3b85f3(0x426)](_0x52ba4c){var _0x513567=_0x3b85f3;this['_undoRedoService'][_0x513567(0x3d2)](this[_0x513567(0x3be)],_0x52ba4c);}['_transformSelections'](_0x2b0a51){var _0x8be8f0=_0x3b85f3,_0x5c2459,_0x5b6323;(_0x5b6323=(_0x5c2459=this[_0x8be8f0(0x24d)])[_0x8be8f0(0x2a0)])==null||_0x5b6323[_0x8be8f0(0x4c4)](_0x5c2459,_0x2b0a51);}[_0x3b85f3(0x392)](_0x511b48){var _0x52763f=_0x3b85f3,_0x43f964,_0x2e7808;return(_0x2e7808=(_0x43f964=this[_0x52763f(0x24d)])[_0x52763f(0x53d)])==null?void 0x0:_0x2e7808['call'](_0x43f964,_0x511b48);}['_transformStateCache'](_0x370837){var _0x522901=_0x3b85f3,_0x508b66,_0x52e755;return(_0x52e755=(_0x508b66=this[_0x522901(0x24d)])['onTransformState'])==null?void 0x0:_0x52e755['call'](_0x508b66,_0x370837);}[_0x3b85f3(0x2ef)](_0x1354d0){var _0x16b99d=_0x3b85f3,_0x2f4f48,_0x1f5bc9,_0x5c7407;return(_0x5c7407=(_0x1f5bc9=(_0x2f4f48=this[_0x16b99d(0x24d)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x1f5bc9['call'](_0x2f4f48,_0x1354d0))!=null?_0x5c7407:_0x1354d0;}[_0x3b85f3(0x1f4)](_0x262335){var _0x5cb603=_0x3b85f3,_0x389782,_0xf253d2,_0x5c00bf;return(_0x5c00bf=(_0xf253d2=(_0x389782=this[_0x5cb603(0x24d)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0xf253d2[_0x5cb603(0x4c4)](_0x389782,_0x262335))!=null?_0x5c00bf:_0x262335;}['_syncEditingCollabCursor'](_0x200d07){var _0x3c2c48=_0x3b85f3,_0xf446d4,_0x263040;if(this['type']===_0x2da9ac[_0x3c2c48(0x3ee)]){const {unitID:_0x21b46f,mutations:_0x3a0b56,memberID:_0x309382}=_0x200d07,_0x166ee6=_0x3a0b56['length']>0x0?_0x3a0b56[0x0][_0x3c2c48(0x45a)]['textRanges']:[];Array[_0x3c2c48(0x25b)](_0x166ee6)&&_0x166ee6[_0x3c2c48(0x24a)]>0x0&&((_0x263040=(_0xf446d4=this[_0x3c2c48(0x24d)])[_0x3c2c48(0x2b7)])==null||_0x263040[_0x3c2c48(0x4c4)](_0xf446d4,{'unitID':_0x21b46f,'memberID':_0x309382,'textRanges':_0x166ee6}));}}[_0x3b85f3(0x2cb)](){var _0x208add=_0x3b85f3,_0x25eaf3;(_0x25eaf3=this['_localCacheService'])==null||_0x25eaf3[_0x208add(0x2ea)](this[_0x208add(0x3be)],this[_0x208add(0x565)],this['_awaitingChangeset'],this[_0x208add(0x50c)]);}['_getCurrentRevision'](){var _0x3a3bb1=_0x3b85f3;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x3a3bb1(0x3be)]);}[_0x3b85f3(0x4c3)](){var _0xd4deb9=_0x3b85f3;this[_0xd4deb9(0x2ff)][_0xd4deb9(0x223)](this[_0xd4deb9(0x3be)]);}[_0x3b85f3(0x299)](_0xbfea68){var _0x493252=_0x3b85f3,_0x39ea38;let _0x52c3cc=this[_0x493252(0x2ef)](_0xbfea68);_0x52c3cc=this['_transformRemoteChangesetByStateCache'](_0x52c3cc);const _0x1ff7a8=_0x29f72d[_0x493252(0x37d)](_0x52c3cc[_0x493252(0x358)],this[_0x493252(0x440)],{'fromCollab':!0x0});if(!_0x1ff7a8['result'])throw _0x1ff7a8['error']instanceof Error?_0x1ff7a8[_0x493252(0x313)]:new Error((_0x39ea38=_0x1ff7a8['error'])!=null?_0x39ea38:_0x493252(0x433));this[_0x493252(0x392)](_0x52c3cc),this['_transformStateCache'](_0x52c3cc),this[_0x493252(0x426)](_0xbfea68),this[_0x493252(0x350)](_0x52c3cc),this[_0x493252(0x226)](_0x52c3cc),this[_0x493252(0x4c3)]();}}_0x330a6c[_0x3b85f3(0x2d4)]=class extends _0x3e2750{constructor(_0x304e64,_0xd312be,_0x2d39b2,_0x15db1b,_0x2a056e,_0x3f099d,_0x32ec34,_0x437ec,_0x243f73,_0x1d62c6){var _0x4799f1=_0x3b85f3;super(_0x304e64,_0xd312be,null,[],_0x2d39b2,_0x32ec34,_0x3f099d,_0x15db1b,_0x1d62c6),_0x3dafef(this,_0x4799f1(0x47c),_0x4799f1(0x35e)),(this[_0x4799f1(0x53a)]=_0x2a056e,this[_0x4799f1(0x20b)]=_0x437ec,this[_0x4799f1(0x2c5)]=_0x243f73,this[_0x4799f1(0x3fd)]=_0x1d62c6);}[_0x3b85f3(0x4ac)](_0x4f1261){var _0x280721=_0x3b85f3;const _0x530372=this['_injector'][_0x280721(0x43b)](_0x330a6c[_0x280721(0x50f)],this[_0x280721(0x3be)],this[_0x280721(0x565)],[_0x4f1261],this['_handler']);return _0x530372[_0x280721(0x43e)](),_0x530372['_updateLocalCache'](),_0x530372;}['onRemoteChangeset'](_0x5e7aec){var _0x60c129=_0x3b85f3;if(this[_0x60c129(0x38d)](_0x5e7aec))return this[_0x60c129(0x53a)][_0x60c129(0x43b)](_0x330a6c[_0x60c129(0x34b)],this['unitID'],this[_0x60c129(0x565)],null,[],null,[_0x5e7aec],this['_handler']);try{const _0x5f22cd=this['_transformService'][_0x60c129(0x25f)](_0x5e7aec,[_0x94e8ef[_0x60c129(0x3a5)]]);if(_0x94e8ef['isTransformMutationsWithChangesetSuccess'](_0x5f22cd)){const {c1Prime:_0x4d36d6}=_0x5f22cd;return this[_0x60c129(0x299)](_0x4d36d6),this;}throw _0x5f22cd[_0x60c129(0x313)];}catch(_0x3858d9){return this['_logService']['error'](_0x3858d9),this[_0x60c129(0x3d1)](!0x1);}}[_0x3b85f3(0x3d1)](_0x2c63dd){var _0x5338d5=_0x3b85f3;return this[_0x5338d5(0x53a)][_0x5338d5(0x43b)](_0x330a6c[_0x5338d5(0x304)],this[_0x5338d5(0x3be)],this[_0x5338d5(0x565)],null,[],this[_0x5338d5(0x24d)],_0x2c63dd);}[_0x3b85f3(0x212)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x3b85f3(0x2bb)](){var _0x5b0691=_0x3b85f3;throw new Error(_0x5b0691(0x474));}[_0x3b85f3(0x32e)](){return this;}['toggleOffline'](){var _0x436535=_0x3b85f3;return this['_injector'][_0x436535(0x43b)](_0x330a6c['OfflineState'],this['unitID'],this[_0x436535(0x565)],null,[],this[_0x436535(0x24d)]);}[_0x3b85f3(0x553)](){return this;}[_0x3b85f3(0x3fc)](){var _0x3bc3af=_0x3b85f3;throw new Error(_0x3bc3af(0x52f));}[_0x3b85f3(0x348)](){var _0x449d9b=_0x3b85f3;const _0x583f93=this['_revisionService']['getCurrentRevOfUnit'](this[_0x449d9b(0x3be)]);return this[_0x449d9b(0x24d)][_0x449d9b(0x283)]({'from':_0x583f93,'to':0x0}),this[_0x449d9b(0x53a)]['createInstance'](_0x330a6c[_0x449d9b(0x34b)],this[_0x449d9b(0x3be)],this['type'],null,[],null,[],this[_0x449d9b(0x24d)]);}},_0x330a6c[_0x3b85f3(0x2d4)]=_0x1d59cd([_0x2215d7(0x3,_0x29f72d['Inject'](_0x94e8ef['RevisionService'])),_0x2215d7(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x2215d7(0x5,_0x29f72d[_0x3b85f3(0x2d2)]),_0x2215d7(0x6,_0x29f72d[_0x3b85f3(0x4f4)]),_0x2215d7(0x7,_0x29f72d[_0x3b85f3(0x316)]),_0x2215d7(0x8,_0x94e8ef[_0x3b85f3(0x34a)]),_0x2215d7(0x9,_0x29f72d['Optional'](_0x54c85))],_0x330a6c[_0x3b85f3(0x2d4)]),_0x330a6c['PendingState']=class extends _0x3e2750{constructor(_0x15291b,_0x415abb,_0x510069,_0x215e1e,_0x423105,_0x404528,_0x4b9b24,_0x4e8739,_0x305eda,_0x1630d2,_0x3f6606,_0x2bf5b1,_0x344a13,_0x5ebdee){var _0x41c459=_0x3b85f3;super(_0x15291b,_0x415abb,null,_0x510069,_0x215e1e,_0x305eda,_0x344a13,_0x404528,_0x5ebdee),_0x3dafef(this,'status',_0x41c459(0x38c)),_0x3dafef(this,_0x41c459(0x3bb),null),_0x3dafef(this,_0x41c459(0x4a8),null),(this[_0x41c459(0x53a)]=_0x423105,this[_0x41c459(0x2a9)]=_0x4b9b24,this[_0x41c459(0x20b)]=_0x4e8739,this[_0x41c459(0x265)]=_0x1630d2,this[_0x41c459(0x2c5)]=_0x3f6606,this[_0x41c459(0x550)]=_0x2bf5b1);}[_0x3b85f3(0x4ac)](_0x55f3f9){var _0x2c1813=_0x3b85f3;return this['_pendingMutations'][_0x2c1813(0x2cd)](_0x55f3f9),this['_updateLocalCache'](),this;}[_0x3b85f3(0x2e9)](_0x22773e){var _0x57d68c=_0x3b85f3;if(this[_0x57d68c(0x38d)](_0x22773e))return this[_0x57d68c(0x39b)](),this['_injector'][_0x57d68c(0x43b)](_0x330a6c[_0x57d68c(0x34b)],this[_0x57d68c(0x3be)],this['type'],null,this[_0x57d68c(0x50c)],null,[_0x22773e],this[_0x57d68c(0x24d)]);try{const _0x49a86b=this[_0x57d68c(0x2c5)]['transformMutationsWithChangeset'](_0x22773e,this[_0x57d68c(0x50c)]);if(_0x94e8ef[_0x57d68c(0x221)](_0x49a86b)){const {c1Prime:_0x5d15a6,m2Prime:_0x5cdc56}=_0x49a86b;this[_0x57d68c(0x299)](_0x5d15a6);const _0x3c3b75=this[_0x57d68c(0x53a)][_0x57d68c(0x43b)](_0x330a6c['PendingState'],this['unitID'],this['type'],_0x5cdc56,this['_handler']);this['_clearScheduledTask']();const _0x18eb41=new Date()[_0x57d68c(0x4ea)](),_0x396148=this['_scheduleCompleteTimestamp']?Math[_0x57d68c(0x566)](this[_0x57d68c(0x3bb)]-_0x18eb41,0x0):this[_0x57d68c(0x309)]();return _0x3c3b75[_0x57d68c(0x43e)](_0x396148),_0x3c3b75;}throw _0x49a86b[_0x57d68c(0x313)];}catch(_0x3d8270){return this[_0x57d68c(0x20b)][_0x57d68c(0x313)](_0x3d8270),this[_0x57d68c(0x3d1)](!0x1);}}['onRemoteAck'](){var _0x1ff151=_0x3b85f3;throw new Error(_0x1ff151(0x20a));}[_0x3b85f3(0x2bb)](){var _0x2d9132=_0x3b85f3;throw new Error(_0x2d9132(0x269));}[_0x3b85f3(0x32e)](){return this;}[_0x3b85f3(0x492)](){var _0x425410=_0x3b85f3;return this['_clearScheduledTask'](),this[_0x425410(0x53a)]['createInstance'](_0x330a6c['OfflineState'],this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x425410(0x24d)]);}[_0x3b85f3(0x553)](){return this;}[_0x3b85f3(0x43e)](_0x48260c){var _0x2b9616=_0x3b85f3;const _0x927268=_0x48260c!=null?_0x48260c:this[_0x2b9616(0x309)]();this[_0x2b9616(0x3bb)]=new Date()[_0x2b9616(0x4ea)]()+_0x927268,this['_sendingTimer']=setTimeout(()=>{var _0x2699aa=_0x2b9616;this[_0x2699aa(0x39b)]();let _0x2e2bcb=null;switch(this[_0x2699aa(0x565)]){case _0x2da9ac['UNIVER_SHEET']:{_0x2e2bcb=_0x17ce0a(this[_0x2699aa(0x50c)],this[_0x2699aa(0x3be)],this[_0x2699aa(0x550)],this[_0x2699aa(0x2ff)],this[_0x2699aa(0x2a9)]);break;}case _0x2da9ac['UNIVER_DOC']:{this[_0x2699aa(0x50c)][_0x2699aa(0x321)](_0x23827c=>_0x23827c['id']===_0x1633c3[_0x2699aa(0x3e4)]['id'])?_0x2e2bcb=_0x2697b3(this[_0x2699aa(0x50c)],this[_0x2699aa(0x3be)],this[_0x2699aa(0x550)],this['_revisionService'],this[_0x2699aa(0x2a9)]):_0x2e2bcb=_0x17ce0a(this[_0x2699aa(0x50c)],this[_0x2699aa(0x3be)],this[_0x2699aa(0x550)],this[_0x2699aa(0x2ff)],this[_0x2699aa(0x2a9)]);break;}default:throw new Error(_0x2699aa(0x230)+this[_0x2699aa(0x565)]+_0x2699aa(0x368));}const {changeset:_0x508e,pendingMutations:_0x5aead9}=_0x2e2bcb;this[_0x2699aa(0x24d)][_0x2699aa(0x28f)](_0x508e);const _0x699035=_0x5aead9['length']?this[_0x2699aa(0x53a)][_0x2699aa(0x43b)](_0x330a6c[_0x2699aa(0x4fe)],this[_0x2699aa(0x3be)],this[_0x2699aa(0x565)],_0x508e,_0x5aead9,this[_0x2699aa(0x24d)],void 0x0):this[_0x2699aa(0x53a)][_0x2699aa(0x43b)](_0x330a6c['AwaitingState'],this[_0x2699aa(0x3be)],this[_0x2699aa(0x565)],_0x508e,this['_handler']);_0x699035[_0x2699aa(0x2cb)](),this['_handler'][_0x2699aa(0x469)](this,_0x699035);},_0x927268);}[_0x3b85f3(0x309)](){var _0x7db2cd=_0x3b85f3,_0x572545;const _0x8048a3=this['_configService']['getConfig'](_0x54fbde);return(_0x572545=_0x8048a3==null?void 0x0:_0x8048a3[_0x7db2cd(0x31e)])!=null?_0x572545:0x7d0;}[_0x3b85f3(0x3fc)](){var _0x2f374f=_0x3b85f3;throw new Error(_0x2f374f(0x423));}[_0x3b85f3(0x39b)](){var _0x2a035c=_0x3b85f3;this[_0x2a035c(0x4a8)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x2a035c(0x4a8)]=null);}[_0x3b85f3(0x3d1)](_0x29bb09){var _0x2144ae=_0x3b85f3;return this[_0x2144ae(0x39b)](),this[_0x2144ae(0x53a)][_0x2144ae(0x43b)](_0x330a6c[_0x2144ae(0x304)],this[_0x2144ae(0x3be)],this[_0x2144ae(0x565)],null,this['_pendingMutations'],this['_handler'],_0x29bb09);}},_0x330a6c['PendingState']=_0x1d59cd([_0x2215d7(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d['Injector'])),_0x2215d7(0x5,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x413)])),_0x2215d7(0x6,_0x29f72d[_0x3b85f3(0x397)](_0x330a6c['MemberService'])),_0x2215d7(0x7,_0x29f72d['ILogService']),_0x2215d7(0x8,_0x29f72d[_0x3b85f3(0x4f4)]),_0x2215d7(0x9,_0x29f72d['IConfigService']),_0x2215d7(0xa,_0x94e8ef[_0x3b85f3(0x34a)]),_0x2215d7(0xb,_0x29f72d[_0x3b85f3(0x558)]),_0x2215d7(0xc,_0x29f72d[_0x3b85f3(0x2d2)]),_0x2215d7(0xd,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x50f)]),_0x330a6c['AwaitingState']=class extends _0x3e2750{constructor(_0x172a39,_0x5e2dcd,_0xa8b9ce,_0x140356,_0x36238b,_0x4ce788,_0xc0b2a0,_0x45dcbd,_0x4e25c5,_0x999b1d,_0x49d03){var _0x5c7b90=_0x3b85f3;super(_0x172a39,_0x5e2dcd,_0xa8b9ce,[],_0x140356,_0xc0b2a0,_0x999b1d,_0x4ce788,_0x49d03),_0x3dafef(this,_0x5c7b90(0x47c),_0x5c7b90(0x3ce)),_0x3dafef(this,_0x5c7b90(0x243),0x0),_0x3dafef(this,_0x5c7b90(0x3e3),0x0),_0x3dafef(this,'_resendTimer'),_0x3dafef(this,'_sender'),(this[_0x5c7b90(0x53a)]=_0x36238b,this[_0x5c7b90(0x20b)]=_0x45dcbd,this[_0x5c7b90(0x2c5)]=_0x4e25c5);}[_0x3b85f3(0x4ac)](_0x4b1d6d){var _0x977977=_0x3b85f3;this['_clearScheduledTask']();const _0x1dd187=this[_0x977977(0x53a)][_0x977977(0x43b)](_0x330a6c[_0x977977(0x4fe)],this[_0x977977(0x3be)],this[_0x977977(0x565)],this[_0x977977(0x238)],[_0x4b1d6d],this[_0x977977(0x24d)],this[_0x977977(0x279)]);return _0x1dd187[_0x977977(0x2cb)](),_0x1dd187;}[_0x3b85f3(0x2e9)](_0x2e52f2){var _0x42d613=_0x3b85f3;if(this[_0x42d613(0x38d)](_0x2e52f2))return this[_0x42d613(0x39b)](),this[_0x42d613(0x53a)][_0x42d613(0x43b)](_0x330a6c[_0x42d613(0x34b)],this[_0x42d613(0x3be)],this['type'],this[_0x42d613(0x238)],[],null,[_0x2e52f2],this[_0x42d613(0x24d)]);try{const _0x972c56=this[_0x42d613(0x2c5)][_0x42d613(0x3d5)]([_0x2e52f2],[this[_0x42d613(0x238)]],!0x1);if(_0x94e8ef['isTransformChangesetsSuccess'](_0x972c56)){const {c1Prime:_0x16da86,c2Prime:_0x27d411}=_0x972c56;this[_0x42d613(0x299)](_0x16da86[0x0]),_0x27d411[0x0][_0x42d613(0x4a0)]=this[_0x42d613(0x1ea)](),this[_0x42d613(0x39b)]();const _0x439bd3=this[_0x42d613(0x53a)][_0x42d613(0x43b)](_0x330a6c['AwaitingState'],this['unitID'],this[_0x42d613(0x565)],_0x27d411[0x0],this[_0x42d613(0x24d)]);return _0x439bd3['_updateLocalCache'](),_0x439bd3;}return this['_onConflict'](!0x1);}catch(_0x11eab3){return this[_0x42d613(0x20b)][_0x42d613(0x313)](_0x11eab3),this['_onConflict'](!0x1);}}[_0x3b85f3(0x212)](_0x515b5f){var _0x51c1fb=_0x3b85f3;this['_clearScheduledTask']();const _0x19ec57=this[_0x51c1fb(0x2ff)][_0x51c1fb(0x1ec)](this[_0x51c1fb(0x3be)]);if(_0x515b5f[_0x51c1fb(0x2c2)]<_0x19ec57-0x1)return this;if(this[_0x51c1fb(0x38d)](_0x515b5f))return this['_injector'][_0x51c1fb(0x43b)](_0x330a6c[_0x51c1fb(0x34b)],this['unitID'],this[_0x51c1fb(0x565)],null,[],this[_0x51c1fb(0x238)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x35e5f1=this[_0x51c1fb(0x53a)]['createInstance'](_0x330a6c[_0x51c1fb(0x2d4)],this[_0x51c1fb(0x3be)],this['type'],this[_0x51c1fb(0x24d)]);return _0x35e5f1[_0x51c1fb(0x2cb)](),_0x35e5f1;}[_0x3b85f3(0x2bb)](_0x419954){var _0x35d353=_0x3b85f3;return this[_0x35d353(0x3d1)](!!(_0x419954!=null&&_0x419954[_0x35d353(0x4fa)]));}[_0x3b85f3(0x32e)](_0x407230){var _0x4727d6=_0x3b85f3;return this[_0x4727d6(0x3e3)]>_0x2e27e1?this[_0x4727d6(0x492)]():(this[_0x4727d6(0x279)]=_0x42bc29(this[_0x4727d6(0x243)],{'timeout':this[_0x4727d6(0x243)],'reqId':_0x407230[_0x4727d6(0x3ab)]}),this[_0x4727d6(0x4fb)]=this['_resendTimer'][_0x4727d6(0x255)](({reqId:_0x3ba60f,timeout:_0x2ac385})=>{var _0x2348d3=_0x4727d6;this[_0x2348d3(0x2d0)](_0x3ba60f,_0x2ac385);}),this);}[_0x3b85f3(0x492)](){var _0x17510d=_0x3b85f3;return this['_clearScheduledTask'](),this[_0x17510d(0x53a)]['createInstance'](_0x330a6c[_0x17510d(0x557)],this[_0x17510d(0x3be)],this['type'],this[_0x17510d(0x238)],[],this[_0x17510d(0x24d)]);}[_0x3b85f3(0x553)](){return this;}[_0x3b85f3(0x3fc)](){var _0x5dcb01=_0x3b85f3;this[_0x5dcb01(0x24d)][_0x5dcb01(0x28f)](this[_0x5dcb01(0x238)]);}[_0x3b85f3(0x3d1)](_0x1fcb7e){var _0x391fdf=_0x3b85f3;return this[_0x391fdf(0x39b)](),this[_0x391fdf(0x53a)][_0x391fdf(0x43b)](_0x330a6c['ConflictState'],this[_0x391fdf(0x3be)],this['type'],this['_awaitingChangeset'],[],this[_0x391fdf(0x24d)],_0x1fcb7e);}['_resendWithTimeout'](_0x48eab4,_0x3f3b18){var _0x56943c=_0x3b85f3,_0x24e7f7;_0x48eab4===((_0x24e7f7=this['_awaitingChangeset'])==null?void 0x0:_0x24e7f7[_0x56943c(0x3ab)])&&(this[_0x56943c(0x3fc)](),this[_0x56943c(0x243)]=_0x3f3b18===0x0?0x3e8:Math[_0x56943c(0x2f0)](_0x3f3b18*0x2,_0x59df39),this[_0x56943c(0x3e3)]+=this['_resendTimeout']);}[_0x3b85f3(0x39b)](){var _0x280277=_0x3b85f3,_0x4b03c5;(_0x4b03c5=this[_0x280277(0x4fb)])==null||_0x4b03c5[_0x280277(0x2c8)](),this[_0x280277(0x243)]=0x0,this[_0x280277(0x3e3)]=0x0;}},_0x330a6c[_0x3b85f3(0x30b)]=_0x1d59cd([_0x2215d7(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x2215d7(0x5,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x413)])),_0x2215d7(0x6,_0x29f72d[_0x3b85f3(0x4f4)]),_0x2215d7(0x7,_0x29f72d['ILogService']),_0x2215d7(0x8,_0x94e8ef['ITransformService']),_0x2215d7(0x9,_0x29f72d[_0x3b85f3(0x2d2)]),_0x2215d7(0xa,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x30b)]),_0x330a6c[_0x3b85f3(0x4fe)]=class extends _0x3e2750{constructor(_0x466940,_0x5913a8,_0x34cdea,_0x2e5c74,_0x855680,_0x25fef2,_0x368065,_0x5ba104,_0x4151a6,_0x505ea0,_0x1c6ce8,_0x58d6d1,_0x247090){var _0x487da1=_0x3b85f3;super(_0x466940,_0x5913a8,_0x34cdea,_0x2e5c74,_0x855680,_0x4151a6,_0x58d6d1,_0x5ba104,_0x247090),_0x3dafef(this,_0x487da1(0x47c),_0x487da1(0x323)),_0x3dafef(this,_0x487da1(0x243),0x0),_0x3dafef(this,_0x487da1(0x3e3),0x0),_0x3dafef(this,_0x487da1(0x279)),_0x3dafef(this,_0x487da1(0x4fb)),(this['_injector']=_0x368065,this[_0x487da1(0x20b)]=_0x505ea0,this[_0x487da1(0x2c5)]=_0x1c6ce8,this[_0x487da1(0x3fd)]=_0x247090,_0x25fef2&&(this[_0x487da1(0x279)]=_0x25fef2,this[_0x487da1(0x4fb)]=this[_0x487da1(0x279)]['subscribe'](({reqId:_0x1eed55,timeout:_0x51b00d})=>{var _0x17b892=_0x487da1;this[_0x17b892(0x2d0)](_0x1eed55,_0x51b00d);})));}['appendMutation'](_0x105303){var _0x4f371b=_0x3b85f3;return this[_0x4f371b(0x50c)][_0x4f371b(0x2cd)](_0x105303),this;}[_0x3b85f3(0x2e9)](_0x3c75db){var _0x293a3f=_0x3b85f3;if(this[_0x293a3f(0x38d)](_0x3c75db))return this[_0x293a3f(0x39b)](),this[_0x293a3f(0x53a)][_0x293a3f(0x43b)](_0x330a6c[_0x293a3f(0x34b)],this['unitID'],this[_0x293a3f(0x565)],this[_0x293a3f(0x238)],this[_0x293a3f(0x50c)],null,[_0x3c75db],this[_0x293a3f(0x24d)]);try{const _0x334ffc=this[_0x293a3f(0x2c5)]['transformChangesets']([_0x3c75db],[this['_awaitingChangeset']],!0x1);if(_0x94e8ef[_0x293a3f(0x520)](_0x334ffc)){const {c1Prime:_0x5ec518,c2Prime:_0x5791a4}=_0x334ffc,_0xa1ddf=this['_transformService'][_0x293a3f(0x25f)](_0x5ec518[0x0],this[_0x293a3f(0x50c)]);if(_0x94e8ef['isTransformMutationsWithChangesetSuccess'](_0xa1ddf)){const {c1Prime:_0x23b8b8,m2Prime:_0x32156e}=_0xa1ddf;return this[_0x293a3f(0x299)](_0x23b8b8),_0x5791a4[0x0][_0x293a3f(0x4a0)]=this[_0x293a3f(0x1ea)](),this[_0x293a3f(0x39b)](),this[_0x293a3f(0x53a)][_0x293a3f(0x43b)](_0x330a6c['AwaitingWithPendingState'],this[_0x293a3f(0x3be)],this[_0x293a3f(0x565)],_0x5791a4[0x0],_0x32156e,this[_0x293a3f(0x24d)],void 0x0);}throw _0xa1ddf['error'];}throw _0x334ffc[_0x293a3f(0x313)];}catch(_0x142e4a){return this[_0x293a3f(0x20b)][_0x293a3f(0x313)](_0x142e4a),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x1433e7){var _0x309c9c=_0x3b85f3;if(this['_clearScheduledTask'](),this[_0x309c9c(0x38d)](_0x1433e7))return this[_0x309c9c(0x53a)][_0x309c9c(0x43b)](_0x330a6c[_0x309c9c(0x34b)],this[_0x309c9c(0x3be)],this[_0x309c9c(0x565)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x309c9c(0x24d)]);this[_0x309c9c(0x4c3)]();const _0x59bb62=this['_injector'][_0x309c9c(0x43b)](_0x330a6c[_0x309c9c(0x50f)],this[_0x309c9c(0x3be)],this['type'],this['_pendingMutations'],this[_0x309c9c(0x24d)]);return _0x59bb62[_0x309c9c(0x43e)](),_0x59bb62[_0x309c9c(0x2cb)](),_0x59bb62;}[_0x3b85f3(0x2bb)](_0x22da1e){var _0x443e2e=_0x3b85f3;return this[_0x443e2e(0x3d1)](!!(_0x22da1e!=null&&_0x22da1e[_0x443e2e(0x4fa)]));}[_0x3b85f3(0x32e)](_0x21467a){var _0x2f60a9=_0x3b85f3;return this[_0x2f60a9(0x3e3)]>_0x2e27e1?this[_0x2f60a9(0x492)]():(this[_0x2f60a9(0x279)]=_0x42bc29(this[_0x2f60a9(0x243)],{'timeout':this[_0x2f60a9(0x243)],'reqId':_0x21467a[_0x2f60a9(0x3ab)]}),this['_sender']=this[_0x2f60a9(0x279)]['subscribe'](({reqId:_0x513f39,timeout:_0x354e94})=>{var _0x12d7a6=_0x2f60a9;this[_0x12d7a6(0x2d0)](_0x513f39,_0x354e94);}),this);}[_0x3b85f3(0x492)](){var _0x3eb8a4=_0x3b85f3;return this[_0x3eb8a4(0x39b)](),this[_0x3eb8a4(0x53a)]['createInstance'](_0x330a6c[_0x3eb8a4(0x557)],this[_0x3eb8a4(0x3be)],this['type'],this['_awaitingChangeset'],this[_0x3eb8a4(0x50c)],this[_0x3eb8a4(0x24d)]);}[_0x3b85f3(0x553)](){return this;}[_0x3b85f3(0x3fc)](){var _0x232512=_0x3b85f3;this[_0x232512(0x24d)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x3b85f3(0x3d1)](_0x41662d){var _0x5733e8=_0x3b85f3;return this[_0x5733e8(0x39b)](),this[_0x5733e8(0x53a)]['createInstance'](_0x330a6c[_0x5733e8(0x304)],this['unitID'],this[_0x5733e8(0x565)],null,this['_pendingMutations'],this['_handler'],_0x41662d);}[_0x3b85f3(0x2d0)](_0x2fe2bc,_0x3300c7){var _0x434a0f=_0x3b85f3,_0x236c99;_0x2fe2bc===((_0x236c99=this[_0x434a0f(0x238)])==null?void 0x0:_0x236c99[_0x434a0f(0x3ab)])&&(this['resend'](),this[_0x434a0f(0x243)]=_0x3300c7===0x0?0x3e8:Math['min'](_0x3300c7*0x2,_0x59df39),this['_maxTotalRetryTimeout']+=this[_0x434a0f(0x243)]);}[_0x3b85f3(0x39b)](){var _0x49a1a8=_0x3b85f3,_0x3774e2;(_0x3774e2=this[_0x49a1a8(0x4fb)])==null||_0x3774e2['unsubscribe'](),this[_0x49a1a8(0x243)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},_0x330a6c[_0x3b85f3(0x4fe)]=_0x1d59cd([_0x2215d7(0x6,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x2215d7(0x7,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x413)])),_0x2215d7(0x8,_0x29f72d[_0x3b85f3(0x4f4)]),_0x2215d7(0x9,_0x29f72d[_0x3b85f3(0x316)]),_0x2215d7(0xa,_0x94e8ef['ITransformService']),_0x2215d7(0xb,_0x29f72d[_0x3b85f3(0x2d2)]),_0x2215d7(0xc,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x4fe)]),_0x330a6c[_0x3b85f3(0x304)]=class extends _0x3e2750{constructor(_0x49c65e,_0x3f92fa,_0x213d9d,_0x5b9039,_0x51ae1e,_0x2e56d5=!0x1,_0x3e09f7,_0x112387,_0x5536a7,_0x940095,_0x16d32a,_0x2df0e4,_0x1605da){var _0xbfe0f6=_0x3b85f3;super(_0x49c65e,_0x3f92fa,_0x213d9d,_0x5b9039,_0x51ae1e,_0x112387,_0x5536a7,_0x940095,_0x1605da),_0x3dafef(this,_0xbfe0f6(0x47c),_0xbfe0f6(0x31a)),(this[_0xbfe0f6(0x439)]=_0x2e56d5,this[_0xbfe0f6(0x543)]=_0x3e09f7,this[_0xbfe0f6(0x407)]=_0x16d32a,this[_0xbfe0f6(0x2ed)]=_0x2df0e4,this[_0xbfe0f6(0x3fd)]=_0x1605da,this[_0xbfe0f6(0x531)](),this[_0xbfe0f6(0x372)](),this['_disableEditing']());}[_0x3b85f3(0x4ac)](){return this;}['onRemoteChangeset'](){return this;}[_0x3b85f3(0x212)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x3b85f3(0x492)](){return this;}[_0x3b85f3(0x553)](){return this;}[_0x3b85f3(0x3fc)](){var _0x35d3a8=_0x3b85f3;throw new Error(_0x35d3a8(0x50d));}[_0x3b85f3(0x372)](){var _0x17743a=_0x3b85f3,_0x1054b4;(_0x1054b4=this[_0x17743a(0x38e)])==null||_0x1054b4[_0x17743a(0x2ea)](this[_0x17743a(0x3be)],this[_0x17743a(0x565)],null,[]);}[_0x3b85f3(0x531)](){var _0x10d13c=_0x3b85f3;this[_0x10d13c(0x439)]?this['_collaborationUIEventService'][_0x10d13c(0x1d4)]({'id':_0x465567[_0x10d13c(0x1c9)]}):this['_collaborationUIEventService'][_0x10d13c(0x1d4)]({'id':_0x465567['CONFLICT']});}[_0x3b85f3(0x340)](){var _0x2abd6a=_0x3b85f3;this['_permissionService'][_0x2abd6a(0x44b)](new _0x504e3a['WorkbookEditablePermission'](this[_0x2abd6a(0x3be)])['id'],!0x1);}},_0x330a6c[_0x3b85f3(0x304)]=_0x1d59cd([_0x2215d7(0x6,_0x29f72d['Inject'](_0x29f72d['IPermissionService'])),_0x2215d7(0x7,_0x29f72d[_0x3b85f3(0x4f4)]),_0x2215d7(0x8,_0x29f72d[_0x3b85f3(0x2d2)]),_0x2215d7(0x9,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef['RevisionService'])),_0x2215d7(0xa,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x487)])),_0x2215d7(0xb,_0x29f72d[_0x3b85f3(0x397)](_0x18e687)),_0x2215d7(0xc,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x304)]),_0x330a6c['OfflineState']=class extends _0x3e2750{constructor(_0x4917a9,_0x4fabc0,_0x1ef129,_0x581dd4,_0x5a254a,_0x3f4658,_0x4f2cec,_0x26e09a,_0x181245,_0x3582ed){var _0x184f35=_0x3b85f3;super(_0x4917a9,_0x4fabc0,_0x1ef129,_0x581dd4,_0x5a254a,_0x26e09a,_0x181245,_0x4f2cec,_0x3582ed),_0x3dafef(this,_0x184f35(0x47c),'offline'),this[_0x184f35(0x53a)]=_0x3f4658;}['appendMutation'](_0x491e47){var _0x530244=_0x3b85f3;return this[_0x530244(0x50c)][_0x530244(0x2cd)](_0x491e47),this[_0x530244(0x2cb)](),this;}[_0x3b85f3(0x2e9)](_0x1e45b7){var _0x4e75c9=_0x3b85f3;throw new Error(_0x4e75c9(0x310));}['onRemoteAck'](){var _0x40fb78=_0x3b85f3;throw new Error(_0x40fb78(0x3d3));}[_0x3b85f3(0x2bb)](){var _0x7d9109=_0x3b85f3;throw new Error(_0x7d9109(0x560));}['onRemoteRetry'](){return this;}[_0x3b85f3(0x492)](){return this;}[_0x3b85f3(0x553)](){var _0x15a412=_0x3b85f3;const {_injector:_0x5a7966,_pendingMutations:_0x2f3d05,_awaitingChangeset:_0x5d8e7f,unitID:_0x80e60d,_handler:_0x37f9a1,type:_0x3683c7}=this,_0x467e04=_0x3d585d(_0x5a7966,_0x80e60d,_0x3683c7,_0x5d8e7f,_0x2f3d05,_0x37f9a1);return _0x467e04 instanceof _0x330a6c[_0x15a412(0x50f)]?_0x467e04[_0x15a412(0x43e)]():(_0x467e04 instanceof _0x330a6c[_0x15a412(0x4fe)]||_0x467e04 instanceof _0x330a6c['AwaitingState'])&&_0x467e04[_0x15a412(0x3fc)](),_0x467e04;}[_0x3b85f3(0x3fc)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x330a6c[_0x3b85f3(0x557)]=_0x1d59cd([_0x2215d7(0x5,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x2215d7(0x6,_0x29f72d['Inject'](_0x94e8ef[_0x3b85f3(0x413)])),_0x2215d7(0x7,_0x29f72d[_0x3b85f3(0x4f4)]),_0x2215d7(0x8,_0x29f72d[_0x3b85f3(0x2d2)]),_0x2215d7(0x9,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x557)]),_0x330a6c[_0x3b85f3(0x34b)]=class extends _0x3e2750{constructor(_0x34f334,_0xa985cb,_0x4a7c48,_0x232e6f,_0x104f1a,_0x25f725,_0x41a716,_0x453664,_0x135bdd,_0x3b53c9,_0xa84be4,_0x572f25,_0x488f65,_0x44b3bf){var _0x41c32d=_0x3b85f3;super(_0x34f334,_0xa985cb,_0x4a7c48,_0x232e6f,_0x41a716,_0xa84be4,_0x572f25,_0x135bdd,_0x44b3bf),_0x3dafef(this,_0x41c32d(0x47c),_0x41c32d(0x561)),(this['_acknowledgedAwaitingChangeset']=_0x104f1a,this[_0x41c32d(0x539)]=_0x25f725,this['_injector']=_0x453664,this['_logService']=_0x3b53c9,this[_0x41c32d(0x2c5)]=_0x488f65,this['localCacheService']=_0x44b3bf);}[_0x3b85f3(0x534)](_0x3b9d34){var _0x4a7b00=_0x3b85f3;try{const _0x1e3889=[..._0x3b9d34,...this[_0x4a7b00(0x539)]],_0x1433d0=[this[_0x4a7b00(0x238)]||this[_0x4a7b00(0x3f1)]][_0x4a7b00(0x463)](_0x2f9c00=>!!_0x2f9c00);let _0x22d2bf,_0xd23234;if(_0x1433d0[_0x4a7b00(0x24a)]){const _0x567f40=this['_transformService']['transformChangesets'](_0x1e3889,_0x1433d0,!0x1);if(!_0x94e8ef[_0x4a7b00(0x520)](_0x567f40))throw _0x567f40[_0x4a7b00(0x313)];_0x22d2bf=_0x567f40[_0x4a7b00(0x3f9)],_0xd23234=_0x567f40[_0x4a7b00(0x3e8)];}else _0x22d2bf=_0x1e3889,_0xd23234=[];let _0x440be5=this[_0x4a7b00(0x50c)];_0x22d2bf[_0x4a7b00(0x3ae)](_0x2ceeb4=>{var _0x40ed38=_0x4a7b00;let _0x1255f8;if(_0x440be5['length']){const _0x324417=this[_0x40ed38(0x2c5)][_0x40ed38(0x25f)](_0x2ceeb4,_0x440be5);if(!_0x94e8ef[_0x40ed38(0x221)](_0x324417))throw _0x324417[_0x40ed38(0x313)];_0x1255f8=_0x324417['c1Prime'],_0x440be5=_0x324417[_0x40ed38(0x343)];}else _0x1255f8=_0x2ceeb4;this[_0x40ed38(0x299)](_0x1255f8);}),this[_0x4a7b00(0x3f1)]&&this[_0x4a7b00(0x4c3)](),this[_0x4a7b00(0x238)]&&_0xd23234[_0x4a7b00(0x24a)]&&(_0xd23234[0x0][_0x4a7b00(0x4a0)]=this['_getCurrentRevision']());let _0x3620ac;if(this[_0x4a7b00(0x238)]&&_0x440be5[_0x4a7b00(0x24a)]!==0x0)_0x3620ac=this[_0x4a7b00(0x53a)][_0x4a7b00(0x43b)](_0x330a6c[_0x4a7b00(0x4fe)],this['unitID'],this[_0x4a7b00(0x565)],_0xd23234[0x0],_0x440be5,this[_0x4a7b00(0x24d)],void 0x0);else{if(this[_0x4a7b00(0x238)]&&_0x440be5['length']===0x0)_0xd23234[0x0][_0x4a7b00(0x4a0)]=this['_getCurrentRevision'](),_0x3620ac=this[_0x4a7b00(0x53a)]['createInstance'](_0x330a6c[_0x4a7b00(0x30b)],this['unitID'],this['type'],_0xd23234[0x0],this['_handler']);else{if(_0x440be5[_0x4a7b00(0x24a)]!==0x0){const _0x3f624d=this['_injector'][_0x4a7b00(0x43b)](_0x330a6c['PendingState'],this[_0x4a7b00(0x3be)],this[_0x4a7b00(0x565)],_0x440be5,this['_handler']);_0x3f624d[_0x4a7b00(0x43e)](),_0x3620ac=_0x3f624d;}else _0x3620ac=this[_0x4a7b00(0x53a)]['createInstance'](_0x330a6c[_0x4a7b00(0x2d4)],this['unitID'],this[_0x4a7b00(0x565)],this[_0x4a7b00(0x24d)]);}}return _0x3620ac[_0x4a7b00(0x2cb)](),_0x3620ac;}catch(_0xf22356){return this[_0x4a7b00(0x20b)]['error']('[FetchMissState]',_0x4a7b00(0x46c),_0xf22356),this[_0x4a7b00(0x53a)][_0x4a7b00(0x43b)](_0x330a6c['ConflictState'],this[_0x4a7b00(0x3be)],this[_0x4a7b00(0x565)],this[_0x4a7b00(0x238)],this['_pendingMutations'],this[_0x4a7b00(0x24d)],!0x1);}}[_0x3b85f3(0x3fc)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3b85f3(0x4ac)](_0x1bbc94){var _0x23ecf0=_0x3b85f3;return this[_0x23ecf0(0x50c)]['push'](_0x1bbc94),this;}[_0x3b85f3(0x2e9)](_0x22877f){var _0xe084df=_0x3b85f3;return this[_0xe084df(0x539)][_0xe084df(0x2cd)](_0x22877f),this;}[_0x3b85f3(0x212)](_0xf3e037){var _0x1ad954=_0x3b85f3;if(this[_0x1ad954(0x238)])return this['_acknowledgedAwaitingChangeset']=this[_0x1ad954(0x238)],this['_awaitingChangeset']=null,this;throw new Error(_0x1ad954(0x2dd));}[_0x3b85f3(0x2bb)](_0x5b6dd0){var _0x2ec39c=_0x3b85f3;return this[_0x2ec39c(0x3d1)](!!(_0x5b6dd0!=null&&_0x5b6dd0[_0x2ec39c(0x4fa)]));}[_0x3b85f3(0x32e)](){return this;}[_0x3b85f3(0x492)](){var _0x6f4b0=_0x3b85f3;return this['_injector'][_0x6f4b0(0x43b)](_0x330a6c['OfflineState'],this[_0x6f4b0(0x3be)],this[_0x6f4b0(0x565)],this[_0x6f4b0(0x238)],this[_0x6f4b0(0x50c)],this[_0x6f4b0(0x24d)]);}[_0x3b85f3(0x553)](){return this;}[_0x3b85f3(0x3d1)](_0x20b786){var _0x430113=_0x3b85f3;return this[_0x430113(0x53a)][_0x430113(0x43b)](_0x330a6c[_0x430113(0x304)],this[_0x430113(0x3be)],this[_0x430113(0x565)],this[_0x430113(0x238)],this[_0x430113(0x50c)],this[_0x430113(0x24d)],_0x20b786);}},_0x330a6c[_0x3b85f3(0x34b)]=_0x1d59cd([_0x2215d7(0x7,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x345)])),_0x2215d7(0x8,_0x29f72d['Inject'](_0x94e8ef[_0x3b85f3(0x413)])),_0x2215d7(0x9,_0x29f72d[_0x3b85f3(0x316)]),_0x2215d7(0xa,_0x29f72d[_0x3b85f3(0x4f4)]),_0x2215d7(0xb,_0x29f72d[_0x3b85f3(0x2d2)]),_0x2215d7(0xc,_0x94e8ef[_0x3b85f3(0x34a)]),_0x2215d7(0xd,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x34b)]);function _0x3d585d(_0x37ef6f,_0x1b2ffa,_0x2f46a9,_0x93a0e4,_0x28d173,_0x46ef04){var _0x5a912=_0x3b85f3;return _0x93a0e4&&_0x28d173[_0x5a912(0x24a)]?_0x37ef6f[_0x5a912(0x43b)](_0x330a6c[_0x5a912(0x4fe)],_0x1b2ffa,_0x2f46a9,_0x93a0e4,_0x28d173,_0x46ef04,void 0x0):_0x93a0e4?_0x37ef6f[_0x5a912(0x43b)](_0x330a6c['AwaitingState'],_0x1b2ffa,_0x2f46a9,_0x93a0e4,_0x46ef04):_0x28d173[_0x5a912(0x24a)]?_0x37ef6f[_0x5a912(0x43b)](_0x330a6c[_0x5a912(0x50f)],_0x1b2ffa,_0x2f46a9,_0x28d173,_0x46ef04):_0x37ef6f['createInstance'](_0x330a6c[_0x5a912(0x2d4)],_0x1b2ffa,_0x2f46a9,_0x46ef04);}var _0x2a33da=Object[_0x3b85f3(0x2e1)],_0x223caa=(_0x1c71c6,_0x47a751,_0x546e9e,_0x2badd0)=>{var _0xf7bb02=_0x3b85f3;for(var _0x417182=_0x2badd0>0x1?void 0x0:_0x2badd0?_0x2a33da(_0x47a751,_0x546e9e):_0x47a751,_0x332958=_0x1c71c6[_0xf7bb02(0x24a)]-0x1,_0x3b7f83;_0x332958>=0x0;_0x332958--)(_0x3b7f83=_0x1c71c6[_0x332958])&&(_0x417182=_0x3b7f83(_0x417182)||_0x417182);return _0x417182;},_0x132858=(_0x188647,_0x478323)=>(_0x298e65,_0x434c1f)=>_0x478323(_0x298e65,_0x434c1f,_0x188647);_0x330a6c['CollaborationEntity']=class extends _0x29f72d['RxDisposable']{constructor(_0x38b0e6,_0x275b75,_0x2ac148,_0x544436,_0x473170,_0x466826,_0xb944b4,_0xe6b718,_0x280ef9,_0x549ea8,_0x136e32,_0x22bea9,_0x10f43a,_0x3abc24){var _0x1f9a53=_0x3b85f3;super(),_0x3dafef(this,_0x1f9a53(0x4e3),new _0x26770d[(_0x1f9a53(0x2cc))](null)),_0x3dafef(this,_0x1f9a53(0x29e),this[_0x1f9a53(0x4e3)]['asObservable']()),_0x3dafef(this,'_state'),_0x3dafef(this,'_collaborationPaused',!0x1),_0x3dafef(this,_0x1f9a53(0x49e),''),_0x3dafef(this,_0x1f9a53(0x409),0x0),_0x3dafef(this,_0x1f9a53(0x3e7),this[_0x1f9a53(0x29e)][_0x1f9a53(0x341)](_0x26770d[_0x1f9a53(0x55e)](_0x3d928d=>_0x3d928d?_0x3d928d[_0x1f9a53(0x47c)]:_0xcbbb88[_0x1f9a53(0x376)]),_0x26770d[_0x1f9a53(0x32a)](0x1))),_0x3dafef(this,_0x1f9a53(0x26a),!0x1),_0x3dafef(this,_0x1f9a53(0x546),[]),(this[_0x1f9a53(0x3be)]=_0x38b0e6,this['session']=_0x275b75,this[_0x1f9a53(0x30c)]=_0x2ac148,this[_0x1f9a53(0x53a)]=_0x544436,this[_0x1f9a53(0x23c)]=_0x473170,this[_0x1f9a53(0x407)]=_0x466826,this[_0x1f9a53(0x2ff)]=_0xb944b4,this[_0x1f9a53(0x3e1)]=_0xe6b718,this[_0x1f9a53(0x550)]=_0x280ef9,this[_0x1f9a53(0x20b)]=_0x549ea8,this[_0x1f9a53(0x440)]=_0x136e32,this['_permissionService']=_0x22bea9,this[_0x1f9a53(0x49d)]=_0x10f43a,this['_localCacheService']=_0x3abc24);}get[_0x3b85f3(0x4f5)](){var _0x13e723=_0x3b85f3;return this[_0x13e723(0x2b9)];}async[_0x3b85f3(0x4e1)](){var _0x49879e=_0x3b85f3;if(this[_0x49879e(0x4f5)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x49879e(0x527)]();}['pauseCollaboration'](){var _0x228c35=_0x3b85f3;return this[_0x228c35(0x51a)]=!0x0,_0x29f72d['toDisposable'](()=>{var _0x539274=_0x228c35;this[_0x539274(0x51a)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x27d008){this['_onLocalMutation'](_0x27d008);}[_0x3b85f3(0x53e)](_0x5dd1bd){var _0x4e82af=_0x3b85f3;this[_0x4e82af(0x2b9)]=_0x5dd1bd,this['_state$'][_0x4e82af(0x4c8)](_0x5dd1bd);}async[_0x3b85f3(0x527)](){var _0x4b5fa9=_0x3b85f3,_0x2cffd1;this[_0x4b5fa9(0x53e)](await this[_0x4b5fa9(0x336)]()),this[_0x4b5fa9(0x49d)]&&((_0x2cffd1=this['_singleActiveUnitService'])==null||_0x2cffd1['editingUnit'](this[_0x4b5fa9(0x3be)]),this[_0x4b5fa9(0x4de)](this[_0x4b5fa9(0x49d)][_0x4b5fa9(0x3c9)](this[_0x4b5fa9(0x3be)])['subscribe'](_0x6f1e54=>{var _0xb21b23=_0x4b5fa9;this['_logService']['debug'](_0xb21b23(0x31c),'editing\x20status\x20changed\x20to',_0x6f1e54),_0x6f1e54===_0x17f828[_0xb21b23(0x4fc)]?(this[_0xb21b23(0x3e1)][_0xb21b23(0x1d4)]({'id':_0x465567[_0xb21b23(0x456)]}),this[_0xb21b23(0x543)][_0xb21b23(0x44b)](new _0x504e3a[(_0xb21b23(0x251))](this[_0xb21b23(0x3be)])['id'],!0x1),this[_0xb21b23(0x543)][_0xb21b23(0x4f6)](!0x1)):(this[_0xb21b23(0x543)][_0xb21b23(0x44b)](new _0x504e3a[(_0xb21b23(0x251))](this[_0xb21b23(0x3be)])['id'],!0x0),this[_0xb21b23(0x543)][_0xb21b23(0x4f6)](!0x0));})));let _0x467c1e=!0x1;return this['disposeWithMe'](this[_0x4b5fa9(0x36b)]['sessionStatus$']['subscribe'](_0x1af437=>{var _0x5b15cb=_0x4b5fa9;_0x1af437===_0x5c4cf0[_0x5b15cb(0x425)]?this[_0x5b15cb(0x30a)](_0x467c1e):_0x1af437===_0x5c4cf0['OFFLINE']&&(_0x467c1e=!0x0,this[_0x5b15cb(0x319)]());})),this[_0x4b5fa9(0x4de)](this[_0x4b5fa9(0x36b)]['event$']['subscribe'](_0x11916f=>{var _0xcca1ef=_0x4b5fa9;try{switch(_0x11916f[_0xcca1ef(0x3df)]){case _0x94e8ef[_0xcca1ef(0x22b)][_0xcca1ef(0x20e)]:{this[_0xcca1ef(0x2ca)](_0x94e8ef[_0xcca1ef(0x21b)](_0x11916f['data']));break;}case _0x94e8ef[_0xcca1ef(0x22b)][_0xcca1ef(0x3b3)]:{this['_onRemoteACK'](_0x11916f[_0xcca1ef(0x2c0)]);break;}case _0x94e8ef[_0xcca1ef(0x22b)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x94e8ef[_0xcca1ef(0x22b)][_0xcca1ef(0x370)]:{this[_0xcca1ef(0x415)](_0x11916f[_0xcca1ef(0x2c0)]);break;}case _0x94e8ef['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this[_0xcca1ef(0x442)](_0x11916f[_0xcca1ef(0x2c0)][_0xcca1ef(0x529)][_0xcca1ef(0x55e)](_0x3f0cd2=>_0x94e8ef['parseProtocolChangeset'](_0x3f0cd2)));break;}case _0x94e8ef[_0xcca1ef(0x22b)][_0xcca1ef(0x4db)]:{this[_0xcca1ef(0x541)]({'isPermissionRej':!0x0});break;}case _0x94e8ef[_0xcca1ef(0x22b)][_0xcca1ef(0x2fa)]:break;}}catch(_0x151e78){throw console[_0xcca1ef(0x313)](_0xcca1ef(0x47d),_0x151e78),_0x151e78;}})),this[_0x4b5fa9(0x2b9)];}[_0x3b85f3(0x285)](){var _0xae7f0a=_0x3b85f3;this[_0xae7f0a(0x26a)]=!0x1;}[_0x3b85f3(0x2a5)](){var _0x722273=_0x3b85f3;if(this[_0x722273(0x26a)])throw new Error(_0x722273(0x1f2));this[_0x722273(0x26a)]=!0x0;}[_0x3b85f3(0x37a)](_0x35a9da){var _0x25fd47=_0x3b85f3;this[_0x25fd47(0x2a5)](),this[_0x25fd47(0x53e)](this[_0x25fd47(0x2b9)][_0x25fd47(0x4ac)](_0x35a9da)),this['_unlockTransition']();}[_0x3b85f3(0x2ca)](_0x1e29a7){var _0x30ecd3=_0x3b85f3;if(!(_0x1e29a7[_0x30ecd3(0x2c2)]<=this[_0x30ecd3(0x2ff)][_0x30ecd3(0x1ec)](this['unitID']))){if(this[_0x30ecd3(0x51a)]){this[_0x30ecd3(0x546)]['push'](_0x1e29a7);return;}this[_0x30ecd3(0x287)](_0x1e29a7);}}['_exhaustRemoteChangesetQueue'](){var _0x5273e7=_0x3b85f3;this['_remoteChangesetQueue']['forEach'](_0x4c4712=>this[_0x5273e7(0x287)](_0x4c4712)),this[_0x5273e7(0x546)]=[];}['_applyRemoteChangeset'](_0xc2f658){var _0x250a8d=_0x3b85f3;const _0x533db9=this[_0x250a8d(0x23c)]['interceptor'][_0x250a8d(0x453)](this[_0x250a8d(0x23c)][_0x250a8d(0x3e2)][_0x250a8d(0x33e)]()[_0x250a8d(0x3a9)])(_0xc2f658[_0x250a8d(0x358)],null)||_0xc2f658[_0x250a8d(0x358)],_0x1219b0={..._0xc2f658,'mutations':_0x533db9};this[_0x250a8d(0x2a5)](),this[_0x250a8d(0x53e)](this[_0x250a8d(0x2b9)][_0x250a8d(0x2e9)](_0x1219b0)),this[_0x250a8d(0x285)]();}[_0x3b85f3(0x369)](_0x114036){var _0x242a12=_0x3b85f3;this[_0x242a12(0x2a5)](),this['_updateState'](this[_0x242a12(0x2b9)][_0x242a12(0x212)](_0x114036)),this[_0x242a12(0x285)]();}[_0x3b85f3(0x541)](_0x2af852){var _0x934d3a=_0x3b85f3;this[_0x934d3a(0x2a5)](),this[_0x934d3a(0x53e)](this[_0x934d3a(0x2b9)]['onRemoteRej'](_0x2af852)),this[_0x934d3a(0x285)]();}[_0x3b85f3(0x415)](_0x56e151){var _0x2af5fd=_0x3b85f3;this[_0x2af5fd(0x2a5)](),this[_0x2af5fd(0x53e)](this[_0x2af5fd(0x2b9)]['onRemoteRetry'](_0x56e151)),this[_0x2af5fd(0x285)]();}[_0x3b85f3(0x442)](_0x3fef98){var _0x313143=_0x3b85f3;if(!(this[_0x313143(0x2b9)]instanceof _0x330a6c[_0x313143(0x34b)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3912d3=_0x3fef98[_0x313143(0x55e)](_0x53c67c=>{var _0x2fe73a=_0x313143;const _0x1253a7=this[_0x2fe73a(0x23c)][_0x2fe73a(0x3e2)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x2fe73a(0x3e2)][_0x2fe73a(0x33e)]()[_0x2fe73a(0x3a9)])(_0x53c67c[_0x2fe73a(0x358)],null)||_0x53c67c[_0x2fe73a(0x358)];return{..._0x53c67c,'mutations':_0x1253a7};});this[_0x313143(0x2a5)](),this[_0x313143(0x53e)](this[_0x313143(0x2b9)][_0x313143(0x534)](_0x3912d3)),this[_0x313143(0x285)]();}[_0x3b85f3(0x319)](){var _0x295277=_0x3b85f3;this[_0x295277(0x2a5)](),this[_0x295277(0x53e)](this[_0x295277(0x2b9)][_0x295277(0x492)]()),this[_0x295277(0x285)]();}['_toggleOnline'](_0x502259=!0x1){var _0x4aa75f=_0x3b85f3;this[_0x4aa75f(0x2a5)](),this[_0x4aa75f(0x53e)](this[_0x4aa75f(0x2b9)][_0x4aa75f(0x553)]()),this[_0x4aa75f(0x285)]();const _0x10bc99=this[_0x4aa75f(0x2b9)];_0x502259&&_0x10bc99 instanceof _0x330a6c[_0x4aa75f(0x2d4)]&&(this[_0x4aa75f(0x2a5)](),this[_0x4aa75f(0x53e)](_0x10bc99[_0x4aa75f(0x348)]()),this[_0x4aa75f(0x285)]());}async['_createInitialState'](){return new Promise(_0x15036b=>{var _0x3dd5c9=_0x222a;this[_0x3dd5c9(0x36b)][_0x3dd5c9(0x301)][_0x3dd5c9(0x341)](_0x26770d[_0x3dd5c9(0x354)](0x1))['subscribe'](async _0x3589d2=>{var _0x244479=_0x3dd5c9;_0x15036b(await this[_0x244479(0x4d2)](_0x3589d2===_0x5c4cf0[_0x244479(0x425)]));});});}[_0x3b85f3(0x390)](){var _0x294869=_0x3b85f3;const _0x13f361=this[_0x294869(0x3be)];return{'onStateChange':(_0x2bea61,_0x331e5c)=>{var _0x3e092a=_0x294869;if(_0x2bea61!==this[_0x3e092a(0x2b9)])throw new Error(_0x3e092a(0x48f)+_0x2bea61[_0x3e092a(0x47c)]+_0x3e092a(0x2db)+_0x331e5c[_0x3e092a(0x47c)]+_0x3e092a(0x55b)+this[_0x3e092a(0x2b9)][_0x3e092a(0x47c)]);this[_0x3e092a(0x53e)](_0x331e5c);},'onSendChangeset':_0xb98d10=>{var _0x16838c=_0x294869;_0xb98d10['sid']||(_0xb98d10[_0x16838c(0x2e7)]=this[_0x16838c(0x49e)],_0xb98d10['reqId']=++this[_0x16838c(0x409)]);const _0x3eeabf={'eventID':_0x94e8ef[_0x16838c(0x22b)][_0x16838c(0x544)],'data':{'unitID':_0xb98d10['unitID'],'unitType':this[_0x16838c(0x30c)],'changeset':_0xb98d10,'memberID':this[_0x16838c(0x36b)]['getMemberID']()}};this[_0x16838c(0x36b)][_0x16838c(0x485)](_0x3eeabf,this['unitID']);},'onMissingChangesets':({from:_0x37aa4a,to:_0x9785ce})=>{var _0x497c43=_0x294869;this[_0x497c43(0x20b)][_0x497c43(0x53f)](_0x497c43(0x31c),_0x497c43(0x261)+_0x37aa4a+_0x497c43(0x2e6)+_0x9785ce);const _0x276525={'eventID':_0x94e8ef[_0x497c43(0x22b)][_0x497c43(0x3a7)],'data':{'unitID':_0x13f361,'unitType':this[_0x497c43(0x30c)],'from':_0x37aa4a,'to':_0x9785ce}};this[_0x497c43(0x36b)]['send'](_0x276525,this[_0x497c43(0x3be)]);}};}async[_0x3b85f3(0x4d2)](_0x104fc3){var _0x5c350f=_0x3b85f3,_0x176f50,_0x6c92ee,_0x621af0;const _0x18a83f=await((_0x176f50=this[_0x5c350f(0x38e)])==null?void 0x0:_0x176f50['loadOfflineData'](this[_0x5c350f(0x3be)])),_0x2a9c5c=(_0x6c92ee=_0x18a83f==null?void 0x0:_0x18a83f[_0x5c350f(0x358)])!=null?_0x6c92ee:[],_0x1f6957=(_0x621af0=_0x18a83f==null?void 0x0:_0x18a83f['awaitingChangeset'])!=null?_0x621af0:null,_0x3334e4=!!(_0x1f6957!=null&&_0x1f6957[_0x5c350f(0x2e7)])&&!!(_0x1f6957!=null&&_0x1f6957[_0x5c350f(0x3ab)]);this[_0x5c350f(0x49e)]=_0x3334e4?_0x1f6957[_0x5c350f(0x2e7)]:_0x94e8ef[_0x5c350f(0x457)](),this['_changesetReqId']=_0x3334e4?_0x1f6957[_0x5c350f(0x3ab)]:0x0;const _0x39f2c2=this['unitID'];try{this['_replayCachedMutations'](_0x1f6957,_0x2a9c5c);}catch(_0x3c18ae){this[_0x5c350f(0x20b)]['error'](_0x3c18ae);}const _0x537b3b=this[_0x5c350f(0x390)]();if(_0x104fc3){const _0xf5d43b=_0x3d585d(this[_0x5c350f(0x53a)],_0x39f2c2,this[_0x5c350f(0x30c)],_0x1f6957,_0x2a9c5c,_0x537b3b);return _0xf5d43b instanceof _0x330a6c[_0x5c350f(0x50f)]?_0xf5d43b[_0x5c350f(0x43e)]():(_0xf5d43b instanceof _0x330a6c[_0x5c350f(0x4fe)]||_0xf5d43b instanceof _0x330a6c[_0x5c350f(0x30b)])&&_0xf5d43b[_0x5c350f(0x3fc)](),_0xf5d43b;}return this[_0x5c350f(0x53a)][_0x5c350f(0x43b)](_0x330a6c[_0x5c350f(0x557)],_0x39f2c2,this[_0x5c350f(0x30c)],_0x1f6957,_0x2a9c5c,_0x537b3b);}[_0x3b85f3(0x38b)](_0x554c47,_0x47096d){var _0x232cae=_0x3b85f3,_0x1c4ed4,_0x4a0473;const _0x379ed9=this[_0x232cae(0x23c)][_0x232cae(0x3e2)][_0x232cae(0x453)](this['_compressMutationService']['interceptor'][_0x232cae(0x33e)]()[_0x232cae(0x3a9)]);(_0x1c4ed4=_0x379ed9((_0x554c47==null?void 0x0:_0x554c47['mutations'])||[],null))==null||_0x1c4ed4[_0x232cae(0x3ae)](_0x3ebac1=>this[_0x232cae(0x440)]['executeCommand'](_0x3ebac1['id'],_0x3ebac1[_0x232cae(0x45a)])),(_0x4a0473=_0x379ed9(_0x47096d||[],null))==null||_0x4a0473['forEach'](_0x16a668=>this['_commandService']['executeCommand'](_0x16a668['id'],_0x16a668['params']));}},_0x330a6c[_0x3b85f3(0x295)]=_0x223caa([_0x132858(0x3,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d['Injector'])),_0x132858(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x50b)])),_0x132858(0x5,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x487)])),_0x132858(0x6,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x413)])),_0x132858(0x7,_0x29f72d[_0x3b85f3(0x397)](_0x18e687)),_0x132858(0x8,_0x29f72d['IUniverInstanceService']),_0x132858(0x9,_0x29f72d['ILogService']),_0x132858(0xa,_0x29f72d['ICommandService']),_0x132858(0xb,_0x29f72d['IPermissionService']),_0x132858(0xc,_0x29f72d[_0x3b85f3(0x307)](_0x17abdd)),_0x132858(0xd,_0x29f72d['Optional'](_0x54c85))],_0x330a6c[_0x3b85f3(0x295)]),_0x330a6c[_0x3b85f3(0x242)]=class extends _0x330a6c[_0x3b85f3(0x295)]{constructor(_0x275f4f,_0x36f825,_0x2cf822,_0x2c0ace,_0x47bdbe,_0x199c59,_0x572aa7,_0x1c5ed0,_0x2a809a,_0x59360c,_0x245516,_0xef0d12,_0x2ef881,_0x45ceca){var _0x301367=_0x3b85f3;super(_0x275f4f,_0x2cf822,_0x36f825,_0x2c0ace,_0x47bdbe,_0x199c59,_0x572aa7,_0x1c5ed0,_0x2a809a,_0x59360c,_0x245516,_0xef0d12,_0x2ef881,_0x45ceca),_0x3dafef(this,_0x301367(0x35b),null),(this[_0x301367(0x3be)]=_0x275f4f,this['type']=_0x36f825);}[_0x3b85f3(0x2dc)](_0x54c348){this['_handlerCallback']=_0x54c348;}[_0x3b85f3(0x44d)](){var _0x237aa1=_0x3b85f3;this[_0x237aa1(0x35b)]=null,super[_0x237aa1(0x44d)]();}[_0x3b85f3(0x390)](){var _0x223e31=_0x3b85f3;const _0x4efb3a=super[_0x223e31(0x390)]();return _0x4efb3a[_0x223e31(0x53d)]=_0x199341=>{var _0x43deb1=_0x223e31,_0x4249c5,_0x4ddd37;return(_0x4ddd37=(_0x4249c5=this[_0x43deb1(0x35b)])==null?void 0x0:_0x4249c5[_0x43deb1(0x53d)])==null?void 0x0:_0x4ddd37[_0x43deb1(0x4c4)](_0x4249c5,_0x199341);},_0x4efb3a[_0x223e31(0x27e)]=_0x4feda9=>{var _0x465966=_0x223e31,_0x2570a9,_0x5e7c8d;return(_0x5e7c8d=(_0x2570a9=this['_handlerCallback'])==null?void 0x0:_0x2570a9[_0x465966(0x27e)])==null?void 0x0:_0x5e7c8d[_0x465966(0x4c4)](_0x2570a9,_0x4feda9);},_0x4efb3a[_0x223e31(0x2a0)]=_0x994429=>{var _0x2e8cd4,_0x4cd8bb;return(_0x4cd8bb=(_0x2e8cd4=this['_handlerCallback'])==null?void 0x0:_0x2e8cd4['onTransformSelections'])==null?void 0x0:_0x4cd8bb['call'](_0x2e8cd4,_0x994429);},_0x4efb3a[_0x223e31(0x2b7)]=_0x1228fb=>{var _0x328c57=_0x223e31,_0x2d1eea,_0x28b2fc;return(_0x28b2fc=(_0x2d1eea=this[_0x328c57(0x35b)])==null?void 0x0:_0x2d1eea['onSyncEditingCollabCursor'])==null?void 0x0:_0x28b2fc[_0x328c57(0x4c4)](_0x2d1eea,_0x1228fb);},_0x4efb3a['onTransformRemoteChangesetByIMECache']=_0x3286f3=>{var _0x26b655=_0x223e31,_0x5be22c,_0x55c741,_0x270a45;if(!((_0x5be22c=this['_handlerCallback'])!=null&&_0x5be22c[_0x26b655(0x250)]))throw new Error(_0x26b655(0x438));return(_0x270a45=(_0x55c741=this[_0x26b655(0x35b)])==null?void 0x0:_0x55c741['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x270a45[_0x26b655(0x4c4)](_0x55c741,_0x3286f3);},_0x4efb3a[_0x223e31(0x567)]=_0x34652c=>{var _0x5415a8=_0x223e31,_0x39100e,_0xc0d7af,_0x245d7a;if(!((_0x39100e=this[_0x5415a8(0x35b)])!=null&&_0x39100e[_0x5415a8(0x567)]))throw new Error(_0x5415a8(0x371));return(_0x245d7a=(_0xc0d7af=this['_handlerCallback'])==null?void 0x0:_0xc0d7af[_0x5415a8(0x567)])==null?void 0x0:_0x245d7a[_0x5415a8(0x4c4)](_0xc0d7af,_0x34652c);},_0x4efb3a;}async[_0x3b85f3(0x527)](){var _0x4260e3=_0x3b85f3;const _0x12d0d0=await super[_0x4260e3(0x527)]();return this[_0x4260e3(0x4de)](this['_commandService'][_0x4260e3(0x555)]((_0x2a5f12,_0x5201f7)=>{var _0x29e7a9=_0x4260e3;if(_0x2a5f12['type']!==_0x29f72d[_0x29e7a9(0x46b)]['MUTATION']||_0x5201f7!=null&&_0x5201f7['fromCollab']||_0x5201f7!=null&&_0x5201f7['onlyLocal']||_0x2a5f12['id']===_0x1633c3[_0x29e7a9(0x3e4)]['id'])return;const _0x1547e9=_0x2a5f12['params'];if((_0x1547e9==null?void 0x0:_0x1547e9['unitId'])!==this['unitID'])return;const _0x3eec0c=_0x2a5f12,_0x40c5bf=this[_0x29e7a9(0x23c)]['interceptor'][_0x29e7a9(0x453)](this[_0x29e7a9(0x23c)]['interceptor'][_0x29e7a9(0x33e)]()[_0x29e7a9(0x33b)])([_0x3eec0c],this[_0x29e7a9(0x550)])||[_0x3eec0c];this[_0x29e7a9(0x37a)](_0x40c5bf[0x0]);})),_0x12d0d0;}},_0x330a6c[_0x3b85f3(0x242)]=_0x223caa([_0x132858(0x3,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x345)])),_0x132858(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x50b)])),_0x132858(0x5,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x487)])),_0x132858(0x6,_0x29f72d['Inject'](_0x94e8ef[_0x3b85f3(0x413)])),_0x132858(0x7,_0x29f72d[_0x3b85f3(0x397)](_0x18e687)),_0x132858(0x8,_0x29f72d[_0x3b85f3(0x558)]),_0x132858(0x9,_0x29f72d[_0x3b85f3(0x316)]),_0x132858(0xa,_0x29f72d[_0x3b85f3(0x4f4)]),_0x132858(0xb,_0x29f72d[_0x3b85f3(0x4cc)]),_0x132858(0xc,_0x29f72d['Optional'](_0x17abdd)),_0x132858(0xd,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x242)]),_0x330a6c[_0x3b85f3(0x24e)]=class extends _0x330a6c[_0x3b85f3(0x295)]{constructor(_0x3ad690,_0x1fff01,_0x1de21e,_0x519e4d,_0x1aa317,_0x19f14b,_0x575ff7,_0x106f71,_0x2b1b81,_0x3fd52a,_0x17f86c,_0xef72a6,_0x534683,_0x287a14,_0x4d813b){var _0x1f311e=_0x3b85f3;super(_0x3ad690,_0x1de21e,_0x1fff01,_0x519e4d,_0x1aa317,_0x19f14b,_0x575ff7,_0x2b1b81,_0x3fd52a,_0x17f86c,_0xef72a6,_0x534683,_0x287a14,_0x4d813b),this[_0x1f311e(0x3be)]=_0x3ad690,this[_0x1f311e(0x565)]=_0x1fff01,this[_0x1f311e(0x246)]=_0x106f71;}[_0x3b85f3(0x390)](){var _0x2795a3=_0x3b85f3;const _0x3a276c=super[_0x2795a3(0x390)]();return _0x3a276c[_0x2795a3(0x2a0)]=_0x26f72d=>this[_0x2795a3(0x246)][_0x2795a3(0x2fd)](_0x26f72d),_0x3a276c;}async[_0x3b85f3(0x527)](){var _0x9d10b5=_0x3b85f3;const _0x4d7634=await super[_0x9d10b5(0x527)]();return this['disposeWithMe'](this['_commandService']['onMutationExecutedForCollab']((_0x954333,_0x289888)=>{var _0x2ea9fa=_0x9d10b5;if(_0x954333['type']!==_0x29f72d[_0x2ea9fa(0x46b)][_0x2ea9fa(0x4b4)]||_0x289888!=null&&_0x289888['fromCollab']||_0x289888!=null&&_0x289888[_0x2ea9fa(0x305)])return;const _0x5a2282=_0x954333[_0x2ea9fa(0x45a)];if((_0x5a2282==null?void 0x0:_0x5a2282[_0x2ea9fa(0x2fe)])!==this[_0x2ea9fa(0x3be)])return;const _0x5d2463=_0x954333,_0x156490=this[_0x2ea9fa(0x23c)]['interceptor'][_0x2ea9fa(0x453)](this[_0x2ea9fa(0x23c)]['interceptor'][_0x2ea9fa(0x33e)]()['COMPRESS_MUTATION_SEND'])([_0x5d2463],this[_0x2ea9fa(0x550)])||[_0x5d2463];this[_0x2ea9fa(0x37a)](_0x156490[0x0]);})),_0x4d7634;}},_0x330a6c[_0x3b85f3(0x24e)]=_0x223caa([_0x132858(0x3,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x132858(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x50b)])),_0x132858(0x5,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x487)])),_0x132858(0x6,_0x29f72d['Inject'](_0x94e8ef[_0x3b85f3(0x413)])),_0x132858(0x7,_0x29f72d[_0x3b85f3(0x397)](_0x330a6c[_0x3b85f3(0x4e9)])),_0x132858(0x8,_0x29f72d[_0x3b85f3(0x397)](_0x18e687)),_0x132858(0x9,_0x29f72d[_0x3b85f3(0x558)]),_0x132858(0xa,_0x29f72d[_0x3b85f3(0x316)]),_0x132858(0xb,_0x29f72d['ICommandService']),_0x132858(0xc,_0x29f72d[_0x3b85f3(0x4cc)]),_0x132858(0xd,_0x29f72d['Optional'](_0x17abdd)),_0x132858(0xe,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c['SheetCollaborationEntity']);const _0x3f33c3=_0x29f72d['createIdentifier'](_0x3b85f3(0x458));function _0xf5b918(_0x43f3bf){var _0x21f9b3=_0x3b85f3,_0xa9bd09,_0x322472,_0x52f2f4,_0xd4b49a,_0x367037;const _0x172b0a=_0x43f3bf[_0x21f9b3(0x2c0)],_0x4ee94e=JSON[_0x21f9b3(0x2a8)](_0x172b0a);switch(_0x4ee94e[_0x21f9b3(0x21c)]){case _0x8150f7[_0x21f9b3(0x398)]:case _0x8150f7[_0x21f9b3(0x549)]:{const _0x68ec78=_0x4ee94e['infoRsp'];return{..._0x4ee94e,'data':_0x68ec78,'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};}case _0x8150f7[_0x21f9b3(0x225)]:{const _0x236ad2=_0x4ee94e[_0x21f9b3(0x366)];return{..._0x4ee94e,'data':_0x236ad2,'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};}case _0x8150f7[_0x21f9b3(0x535)]:{const _0x333654=_0x4ee94e[_0x21f9b3(0x380)];switch(_0x333654[_0x21f9b3(0x3df)]){case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x4db)]:return{..._0x4ee94e,'data':{..._0x333654,'data':(_0xa9bd09=_0x333654['permissionRejEvent'])==null?void 0x0:_0xa9bd09['cs']},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef['CollaborationEvent'][_0x21f9b3(0x3b3)]:return{..._0x4ee94e,'data':{..._0x333654,'data':(_0x322472=_0x333654[_0x21f9b3(0x51b)])==null?void 0x0:_0x322472['cs']},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef[_0x21f9b3(0x22b)]['NEW_CHANGESETS']:return{..._0x4ee94e,'data':{..._0x333654,'data':(_0x52f2f4=_0x333654[_0x21f9b3(0x484)])==null?void 0x0:_0x52f2f4['cs']},'cmd':_0x4ee94e['cmd']};case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x446)]:return{..._0x4ee94e,'data':{..._0x333654,'data':(_0xd4b49a=_0x333654[_0x21f9b3(0x518)])==null?void 0x0:_0xd4b49a['cs']},'cmd':_0x4ee94e['cmd']};case _0x94e8ef['CollaborationEvent'][_0x21f9b3(0x370)]:return{..._0x4ee94e,'data':{..._0x333654,'data':(_0x367037=_0x333654['csShouldRetryEvent'])==null?void 0x0:_0x367037['cs']},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x472)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x452)]},'cmd':_0x4ee94e['cmd']};case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x414)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x55d)]},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef['CollaborationEvent'][_0x21f9b3(0x421)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x23a)]},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef[_0x21f9b3(0x22b)]['LIVESHARE_NEW_HOST']:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654['liveShareNewHost']},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef['CollaborationEvent'][_0x21f9b3(0x303)]:case _0x94e8ef['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x2b6)]},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef['CollaborationEvent'][_0x21f9b3(0x4c9)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x441)]},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef['CollaborationEvent'][_0x21f9b3(0x1fd)]:return{..._0x4ee94e,'data':_0x333654,'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x35c)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x3f4)]},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x2bc)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x46e)]},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x231)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x2d1)]},'cmd':_0x4ee94e['cmd']};case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x2fa)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x48e)]},'cmd':_0x4ee94e['cmd']};default:return _0x4ee94e;}}default:return _0x4ee94e;}}function _0xd85f3a(_0x12ddaf){var _0x427e91=_0x3b85f3;switch(_0x12ddaf['cmd']){case _0x8150f7[_0x427e91(0x398)]:case _0x8150f7['HELLO']:return JSON[_0x427e91(0x3ff)]({'cmd':_0x12ddaf[_0x427e91(0x21c)],'routeKey':_0x12ddaf[_0x427e91(0x4fd)]});case _0x8150f7[_0x427e91(0x45f)]:{let _0x580a36;switch(_0x12ddaf[_0x427e91(0x2c0)][_0x427e91(0x3df)]){case _0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x472)]:{_0x580a36={'eventID':_0x94e8ef['CollaborationEvent'][_0x427e91(0x472)],'updateCursorEvent':_0x12ddaf[_0x427e91(0x2c0)][_0x427e91(0x2c0)]};break;}case _0x94e8ef[_0x427e91(0x22b)]['USERS_LEAVE']:{_0x580a36={'eventID':_0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x421)],'leaveEvent':_0x12ddaf[_0x427e91(0x2c0)][_0x427e91(0x2c0)]};break;}case _0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x414)]:{_0x580a36={'eventID':_0x94e8ef['CollaborationEvent'][_0x427e91(0x414)],'joinEvent':_0x12ddaf['data'][_0x427e91(0x2c0)]};break;}case _0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x302)]:{_0x580a36={'eventID':_0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x302)],'liveShareNewHost':_0x12ddaf[_0x427e91(0x2c0)]['data']};break;}case _0x94e8ef[_0x427e91(0x22b)]['LIVESHARE_OPERATION']:{_0x580a36={'eventID':_0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x3f8)],'liveShareOperation':_0x12ddaf['data']['data']};break;}case _0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x4c9)]:{_0x580a36={'eventID':_0x94e8ef['CollaborationEvent'][_0x427e91(0x4c9)],'liveShareTerminate':_0x12ddaf[_0x427e91(0x2c0)]['data']};break;}case _0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x32b)]:{_0x580a36={'eventID':_0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x32b)],'liveShareRequestHost':_0x12ddaf[_0x427e91(0x2c0)]['data']};break;}case _0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x303)]:{_0x580a36={'eventID':_0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x303)]};break;}default:_0x580a36={'eventID':_0x12ddaf[_0x427e91(0x2c0)]['eventID']};}return JSON['stringify']({'cmd':_0x12ddaf[_0x427e91(0x21c)],'routeKey':_0x12ddaf[_0x427e91(0x4fd)],'collaMsg':_0x580a36});}case _0x8150f7[_0x427e91(0x225)]:return JSON[_0x427e91(0x3ff)]({'cmd':_0x12ddaf[_0x427e91(0x21c)],'routeKey':_0x12ddaf[_0x427e91(0x4fd)],'joinReq':_0x12ddaf[_0x427e91(0x2c0)]});case _0x8150f7['LEAVE']:return JSON[_0x427e91(0x3ff)]({'cmd':_0x12ddaf['cmd'],'routeKey':_0x12ddaf[_0x427e91(0x4fd)],'leaveReq':_0x12ddaf[_0x427e91(0x2c0)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x4f1e6d=Object[_0x3b85f3(0x2e1)],_0x33fc5e=(_0x3a842d,_0x2e75c0,_0x5b5a21,_0xe18a0c)=>{var _0x4b679c=_0x3b85f3;for(var _0x1f6d24=_0xe18a0c>0x1?void 0x0:_0xe18a0c?_0x4f1e6d(_0x2e75c0,_0x5b5a21):_0x2e75c0,_0x10bb8f=_0x3a842d[_0x4b679c(0x24a)]-0x1,_0x19e634;_0x10bb8f>=0x0;_0x10bb8f--)(_0x19e634=_0x3a842d[_0x10bb8f])&&(_0x1f6d24=_0x19e634(_0x1f6d24)||_0x1f6d24);return _0x1f6d24;},_0x5f4063=(_0x1d6069,_0x4c6f14)=>(_0x295fdc,_0x42f910)=>_0x4c6f14(_0x295fdc,_0x42f910,_0x1d6069);const _0x2d9dbe=_0x29f72d[_0x3b85f3(0x3cf)]('univer-pro.collaboration-client-socket-service');function _0x19ffaf(_0x393332,_0x3b5365,_0x2c2a8e){var _0x3411e4=_0x3b85f3;return _0x393332+'/'+_0x3b5365+_0x3411e4(0x526)+_0x2c2a8e+_0x3411e4(0x1e8);}_0x330a6c[_0x3b85f3(0x3c3)]=class extends _0x29f72d['Disposable']{constructor(_0x2c9418,_0x1ba947,_0x242012,_0x325e30,_0x5a37e4){var _0xce47a3=_0x3b85f3;super(),this['_injector']=_0x2c9418,this[_0xce47a3(0x2c1)]=_0x1ba947,this['_configService']=_0x242012,this[_0xce47a3(0x20b)]=_0x325e30,this[_0xce47a3(0x45e)]=_0x5a37e4;}[_0x3b85f3(0x36f)](_0x22c7f5){var _0x25254c=_0x3b85f3;const _0xe18d08=this[_0x25254c(0x53a)][_0x25254c(0x1f8)](_0x59551f[_0x25254c(0x3ed)]);if(!_0xe18d08)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0xe6e398=_0xe18d08[_0x25254c(0x4e2)](_0x22c7f5);if(!_0xe6e398)throw new Error(_0x25254c(0x228));const _0x26375=new _0x29f72d[(_0x25254c(0x3d9))](),_0x18bcc1=new _0x26770d[(_0x25254c(0x37c))]();_0x26375[_0x25254c(0x406)](_0xe6e398[_0x25254c(0x524)][_0x25254c(0x255)](_0x27ab30=>_0x18bcc1[_0x25254c(0x4c8)](_0x27ab30))),_0x26375['add'](_0x29f72d[_0x25254c(0x514)](()=>_0x18bcc1['complete']()));const _0x58d10e=new _0x26770d[(_0x25254c(0x37c))]();_0x26375[_0x25254c(0x406)](_0xe6e398[_0x25254c(0x48b)][_0x25254c(0x255)](_0x355ddc=>_0x58d10e[_0x25254c(0x4c8)](_0x355ddc))),_0x26375[_0x25254c(0x406)](_0x29f72d['toDisposable'](()=>_0x58d10e[_0x25254c(0x4ee)]()));const _0x11d176=new _0x26770d['Subject']();_0x26375[_0x25254c(0x406)](_0xe6e398['message$']['subscribe'](_0x2714f6=>{const _0x163e8f=_0xf5b918(_0x2714f6);_0x11d176['next'](_0x163e8f);})),_0x26375[_0x25254c(0x406)](_0x29f72d[_0x25254c(0x514)](()=>_0x11d176[_0x25254c(0x4ee)]()));let _0x501fb7;const _0x4a4eb8=()=>{var _0x42274a=_0x25254c;_0x58d10e[_0x42274a(0x4c8)](new Event('connection\x20error')),_0x18bcc1['next'](new Event('connection\x20error')),_0x501fb7['close']();};return _0x501fb7={'memberID':'','close$':_0x18bcc1['asObservable'](),'error$':_0x58d10e[_0x25254c(0x1fb)](),'open$':_0xe6e398[_0x25254c(0x4ce)],'message$':_0x11d176['asObservable'](),'send':_0x1480b4=>{var _0x599290=_0x25254c;if(_0x1480b4[_0x599290(0x21c)]===_0x8150f7['INGEST']){if(_0x1480b4[_0x599290(0x2c0)][_0x599290(0x3df)]===_0x94e8ef[_0x599290(0x22b)][_0x599290(0x544)]){this[_0x599290(0x1e2)](_0x501fb7,_0x1480b4[_0x599290(0x2c0)])[_0x599290(0x519)](_0x21ec31=>{var _0x395b41=_0x599290;this[_0x395b41(0x20b)][_0x395b41(0x313)](_0x21ec31),_0x4a4eb8();});return;}if(_0x1480b4[_0x599290(0x2c0)]['eventID']===_0x94e8ef[_0x599290(0x22b)][_0x599290(0x3a7)]){const _0x10f2ee=_0x1480b4[_0x599290(0x2c0)];this[_0x599290(0x3d4)](_0x10f2ee)[_0x599290(0x218)](_0x144f89=>{var _0xd5718c=_0x599290;_0x11d176[_0xd5718c(0x4c8)]({'cmd':_0x8150f7['RECV'],'code':_0xb4b847['OK'],'routeKey':_0x10f2ee['data'][_0xd5718c(0x3be)],'routeType':'','data':{'eventID':_0x94e8ef['CollaborationEvent'][_0xd5718c(0x4a5)],'data':{'changesets':_0x144f89}}});})[_0x599290(0x519)](_0x182486=>{var _0x42bb0f=_0x599290;this[_0x42bb0f(0x20b)][_0x42bb0f(0x313)](_0x182486),_0x4a4eb8();});return;}}_0xe6e398['send'](_0xd85f3a(_0x1480b4));},'close':()=>{var _0xce730=_0x25254c;_0xe6e398[_0xce730(0x268)](),_0x26375[_0xce730(0x44d)]();}},_0x501fb7;}async['_submitChangeset'](_0x55c236,_0x1131d0){var _0x36345a=_0x3b85f3,_0x2d98e0;const {unitType:_0x198a71,unitID:_0x5764da,changeset:_0x3cfa51}=_0x1131d0['data'],_0x5a6d71={'unitID':_0x5764da,'memberID':_0x55c236[_0x36345a(0x297)],'type':_0x198a71,'changeset':_0x94e8ef[_0x36345a(0x207)](_0x3cfa51)},_0x4520ae=this[_0x36345a(0x265)][_0x36345a(0x4d4)](_0x54fbde),_0x206f4b=_0x19ffaf((_0x2d98e0=_0x4520ae==null?void 0x0:_0x4520ae[_0x36345a(0x1c6)])!=null?_0x2d98e0:_0x21462f,_0x198a71,_0x5764da);try{await this[_0x36345a(0x2c1)][_0x36345a(0x1fe)](_0x206f4b,{'body':_0x5a6d71});}catch(_0x478e13){throw this['_logService']['error'](_0x36345a(0x495),'submit\x20changeset\x20error!'),_0x478e13;}}async[_0x3b85f3(0x3d4)](_0x12b158){var _0x35fd21=_0x3b85f3;const {unitID:_0x581810,from:_0x429f3d,to:_0x5cdaa5,unitType:_0x4cfd36}=_0x12b158[_0x35fd21(0x2c0)];return(await this[_0x35fd21(0x45e)][_0x35fd21(0x49f)]({'metadata':void 0x0},{'unitID':_0x581810,'type':_0x4cfd36,'from':_0x429f3d,'to':_0x5cdaa5}))['changesets'][_0x35fd21(0x55e)](_0x7aaafa=>((_0x7aaafa[_0x35fd21(0x358)]===null||_0x7aaafa['mutations']===void 0x0)&&(_0x7aaafa[_0x35fd21(0x358)]=[]),_0x7aaafa));}},_0x330a6c['CollaborationSocketService']=_0x33fc5e([_0x5f4063(0x0,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x345)])),_0x5f4063(0x1,_0x29f72d['Inject'](_0x59551f[_0x3b85f3(0x2bf)])),_0x5f4063(0x2,_0x29f72d[_0x3b85f3(0x44a)]),_0x5f4063(0x3,_0x29f72d[_0x3b85f3(0x316)]),_0x5f4063(0x4,_0x94e8ef[_0x3b85f3(0x54f)])],_0x330a6c['CollaborationSocketService']);var _0x436279=Object[_0x3b85f3(0x2e1)],_0x15191a=(_0x3f557d,_0x2765f4,_0x2a0493,_0x2c77ad)=>{var _0x2b223a=_0x3b85f3;for(var _0x48aa3c=_0x2c77ad>0x1?void 0x0:_0x2c77ad?_0x436279(_0x2765f4,_0x2a0493):_0x2765f4,_0x5e09ea=_0x3f557d[_0x2b223a(0x24a)]-0x1,_0x5f23b0;_0x5e09ea>=0x0;_0x5e09ea--)(_0x5f23b0=_0x3f557d[_0x5e09ea])&&(_0x48aa3c=_0x5f23b0(_0x48aa3c)||_0x48aa3c);return _0x48aa3c;},_0x1c2159=(_0x4697d4,_0x147d7b)=>(_0x4ff23d,_0x185af3)=>_0x147d7b(_0x4ff23d,_0x185af3,_0x4697d4);_0x330a6c['CollaborationSessionService']=class extends _0x29f72d[_0x3b85f3(0x45b)]{constructor(_0x54e77a,_0x3d33d8,_0x2e06f4,_0x5aa53f,_0x491da9,_0x59910f){var _0x389125=_0x3b85f3;super(),_0x3dafef(this,_0x389125(0x493),new _0x26770d[(_0x389125(0x2cc))](void 0x0)),_0x3dafef(this,_0x389125(0x3e5),this[_0x389125(0x493)]['asObservable']()),_0x3dafef(this,_0x389125(0x273),null),_0x3dafef(this,_0x389125(0x1de),new Map()),_0x3dafef(this,_0x389125(0x351),new _0x26770d[(_0x389125(0x2cc))](_0x5c4cf0[_0x389125(0x25e)])),_0x3dafef(this,'status$',this[_0x389125(0x351)]['asObservable']()),_0x3dafef(this,'_socketReady',!0x1),_0x3dafef(this,_0x389125(0x2e5)),_0x3dafef(this,_0x389125(0x3da),0x0),_0x3dafef(this,_0x389125(0x29f)),_0x3dafef(this,_0x389125(0x34d)),(this[_0x389125(0x53a)]=_0x54e77a,this['_logService']=_0x3d33d8,this[_0x389125(0x265)]=_0x2e06f4,this[_0x389125(0x55a)]=_0x5aa53f,this['_collaborationUIEventService']=_0x491da9,this[_0x389125(0x2ec)]=_0x59910f,this[_0x389125(0x4d0)]());}get[_0x3b85f3(0x1e3)](){var _0x3c6a4e=_0x3b85f3;return this[_0x3c6a4e(0x493)]['getValue']();}[_0x3b85f3(0x4d0)](){var _0x30ccef=_0x3b85f3;this[_0x30ccef(0x2ec)]&&this[_0x30ccef(0x4de)](this[_0x30ccef(0x2ec)][_0x30ccef(0x48a)]['subscribe'](_0x29a971=>{var _0x6eeb6a=_0x30ccef;_0x29a971&&!this[_0x6eeb6a(0x1e3)]&&this[_0x6eeb6a(0x1e5)](),_0x29a971||this[_0x6eeb6a(0x300)]();}));}[_0x3b85f3(0x44d)](){var _0x179ba3=_0x3b85f3;super[_0x179ba3(0x44d)](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this[_0x179ba3(0x1de)][_0x179ba3(0x3ae)](_0x521aa0=>_0x521aa0['dispose']()),this[_0x179ba3(0x1de)][_0x179ba3(0x315)](),this[_0x179ba3(0x351)][_0x179ba3(0x4ee)]();}async[_0x3b85f3(0x214)](_0x4c54a4){var _0x4d4585=_0x3b85f3;if(this[_0x4d4585(0x1de)][_0x4d4585(0x1d6)](_0x4c54a4))return this[_0x4d4585(0x1de)][_0x4d4585(0x1f8)](_0x4c54a4);this[_0x4d4585(0x2a1)]();const _0x3d23a2=this[_0x4d4585(0x53a)]['createInstance'](_0x330a6c[_0x4d4585(0x325)],_0x4c54a4,this[_0x4d4585(0x493)][_0x4d4585(0x1fb)]());return this[_0x4d4585(0x1de)][_0x4d4585(0x2d7)](_0x4c54a4,_0x3d23a2),_0x3d23a2;}[_0x3b85f3(0x21d)](_0x523e06){var _0x2259f6=_0x3b85f3,_0x163c5c;const _0x291153=this[_0x2259f6(0x1de)][_0x2259f6(0x1f8)](_0x523e06);_0x291153&&(this[_0x2259f6(0x1de)][_0x2259f6(0x245)](_0x523e06),_0x291153[_0x2259f6(0x268)]()),this[_0x2259f6(0x1de)][_0x2259f6(0x21a)]||(_0x163c5c=this[_0x2259f6(0x1e3)])==null||_0x163c5c['close']();}[_0x3b85f3(0x1e5)](){var _0x202582=_0x3b85f3;this[_0x202582(0x3da)]=0x0,this[_0x202582(0x3a4)](),this[_0x202582(0x51f)]();}[_0x3b85f3(0x3a4)](){var _0x1f5bfc=_0x3b85f3;this[_0x1f5bfc(0x2e5)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async[_0x3b85f3(0x362)](){var _0x599b0b=_0x3b85f3,_0x13a280;const _0x6b73c8=this['_configService'][_0x599b0b(0x4d4)](_0x54fbde),_0xa84f7c=(_0x13a280=_0x6b73c8==null?void 0x0:_0x6b73c8['collabWebSocketUrl'])!=null?_0x13a280:_0xbda5,_0x3d6a32=await this[_0x599b0b(0x55a)]['createSocket'](_0xa84f7c);return this[_0x599b0b(0x273)]=_0x3d6a32,_0x3d6a32;}async[_0x3b85f3(0x2a1)](){var _0x2a1fa3=_0x3b85f3,_0x36b637,_0x2028bf;try{const _0x23f422=(_0x2028bf=(_0x36b637=this[_0x2a1fa3(0x1e3)])!=null?_0x36b637:this[_0x2a1fa3(0x273)])!=null?_0x2028bf:await this[_0x2a1fa3(0x362)]();if(_0x23f422){const _0x2d9d6c=_0x23f422[_0x2a1fa3(0x485)];_0x23f422['send']=_0x7b49ef=>(this[_0x2a1fa3(0x385)](),_0x2d9d6c['apply'](_0x23f422,[_0x7b49ef])),_0x23f422[_0x2a1fa3(0x264)]['subscribe'](_0x1f4796=>this[_0x2a1fa3(0x3e9)](_0x23f422,_0x1f4796)),_0x23f422[_0x2a1fa3(0x48b)][_0x2a1fa3(0x341)](_0x213182[_0x2a1fa3(0x354)](0x1))[_0x2a1fa3(0x255)](_0x37820d=>this[_0x2a1fa3(0x20b)][_0x2a1fa3(0x313)]('[CollaborationSessionService]:\x20socket\x20error',_0x37820d)),_0x23f422[_0x2a1fa3(0x4ce)][_0x2a1fa3(0x341)](_0x213182['take'](0x1))['subscribe'](()=>{var _0x3bdfd9=_0x2a1fa3;this[_0x3bdfd9(0x2f6)](_0x23f422);}),_0x23f422[_0x2a1fa3(0x524)]['pipe'](_0x213182[_0x2a1fa3(0x354)](0x1))['subscribe'](_0x38eb56=>{var _0x432777=_0x2a1fa3;this[_0x432777(0x20b)][_0x432777(0x53f)](_0x432777(0x248),_0x432777(0x236),_0x38eb56),this['_onConnectionFailed']();});}}catch(_0x366526){this['_logService'][_0x2a1fa3(0x313)](_0x366526),this[_0x2a1fa3(0x22a)]();}}[_0x3b85f3(0x2f6)](_0x34beb3){var _0x489091=_0x3b85f3;this['_logService'][_0x489091(0x53f)](_0x489091(0x248),_0x489091(0x4f0)),_0x34beb3['send']({'cmd':_0x8150f7['HELLO']}),this['_rescheduleHeartbeat']();}[_0x3b85f3(0x300)](){var _0x6a419=_0x3b85f3;this[_0x6a419(0x290)]=!0x1,this[_0x6a419(0x273)]=null,this[_0x6a419(0x351)][_0x6a419(0x4c8)](_0x5c4cf0['OFFLINE']),this[_0x6a419(0x493)][_0x6a419(0x4c8)](null),this[_0x6a419(0x318)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0xe80f87=_0x3b85f3,_0x5bdee0;this['_onOffline'](),this[_0xe80f87(0x3da)]<((_0x5bdee0=this['_configService']['getConfig'](_0x48de82))!=null?_0x5bdee0:0x3)?(this[_0xe80f87(0x2ed)][_0xe80f87(0x1d4)]({'id':_0x465567[_0xe80f87(0x41d)]}),this['_tryReconnect']()):this[_0xe80f87(0x2ed)]['emitEvent']({'id':_0x465567[_0xe80f87(0x42f)]});}[_0x3b85f3(0x51f)](){var _0x44fdfd=_0x3b85f3,_0x2fa93b;const _0x59798e=this[_0x44fdfd(0x3da)],_0x108c0e=this[_0x44fdfd(0x265)][_0x44fdfd(0x4d4)](_0x54fbde),_0x4541ee=_0x59798e===0x0?0x0:((_0x2fa93b=_0x108c0e==null?void 0x0:_0x108c0e['retryConnectingInterval'])!=null?_0x2fa93b:0x4e20)*0x2**_0x59798e;this[_0x44fdfd(0x2e5)]=setTimeout(()=>{var _0x5b73d6=_0x44fdfd;clearTimeout(this[_0x5b73d6(0x2e5)]),this[_0x5b73d6(0x2e5)]=null,this[_0x5b73d6(0x2a1)]();},_0x4541ee),this[_0x44fdfd(0x3da)]+=0x1;}[_0x3b85f3(0x3e9)](_0x22a9e8,_0x5adcde){var _0x5f3bac=_0x3b85f3;const {cmd:_0x57346d}=_0x5adcde;_0x57346d===_0x8150f7[_0x5f3bac(0x549)]&&!this['_socketReady']&&(_0x22a9e8[_0x5f3bac(0x297)]=_0x5adcde[_0x5f3bac(0x2c0)][_0x5f3bac(0x297)],this['_socket$'][_0x5f3bac(0x4c8)](_0x22a9e8),this[_0x5f3bac(0x351)][_0x5f3bac(0x4c8)](_0x5c4cf0[_0x5f3bac(0x425)]),this[_0x5f3bac(0x290)]=!0x0,this[_0x5f3bac(0x273)]=null),_0x57346d===_0x8150f7[_0x5f3bac(0x398)]&&this[_0x5f3bac(0x318)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x348a1d=_0x3b85f3,_0x1a1ee3;this['_clearHeartbeatTimer'](),this[_0x348a1d(0x29f)]=setTimeout(()=>this[_0x348a1d(0x24f)](),(_0x1a1ee3=this['_configService'][_0x348a1d(0x4d4)](_0x5559aa))!=null?_0x1a1ee3:0x7530);}[_0x3b85f3(0x24f)](){var _0xeff317=_0x3b85f3;this['_socket']['send']({'cmd':_0x8150f7[_0xeff317(0x398)]}),this[_0xeff317(0x54c)]();}[_0x3b85f3(0x54c)](){var _0x4aeae4=_0x3b85f3,_0x4cb411;this['_timeoutTimer']=setTimeout(()=>this[_0x4aeae4(0x22a)](),(_0x4cb411=this[_0x4aeae4(0x265)][_0x4aeae4(0x4d4)](_0x11fb3c))!=null?_0x4cb411:0x4e20);}[_0x3b85f3(0x22f)](){var _0x2a56a5=_0x3b85f3;this[_0x2a56a5(0x29f)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x2a56a5(0x29f)]=null);}[_0x3b85f3(0x318)](){var _0x5e02e9=_0x3b85f3;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x5e02e9(0x34d)]),this[_0x5e02e9(0x34d)]=null);}},_0x330a6c[_0x3b85f3(0x4ab)]=_0x15191a([_0x1c2159(0x0,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x1c2159(0x1,_0x29f72d[_0x3b85f3(0x316)]),_0x1c2159(0x2,_0x29f72d[_0x3b85f3(0x44a)]),_0x1c2159(0x3,_0x2d9dbe),_0x1c2159(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x18e687)),_0x1c2159(0x5,_0x29f72d[_0x3b85f3(0x307)](_0x3f33c3))],_0x330a6c['CollaborationSessionService']);var _0x355175=Object[_0x3b85f3(0x2e1)],_0xd57e0e=(_0x24c19d,_0x4b83d0,_0xfdc091,_0x15f84e)=>{for(var _0x74c541=_0x15f84e>0x1?void 0x0:_0x15f84e?_0x355175(_0x4b83d0,_0xfdc091):_0x4b83d0,_0x11be24=_0x24c19d['length']-0x1,_0x5324b3;_0x11be24>=0x0;_0x11be24--)(_0x5324b3=_0x24c19d[_0x11be24])&&(_0x74c541=_0x5324b3(_0x74c541)||_0x74c541);return _0x74c541;},_0x348701=(_0x20556d,_0x303dce)=>(_0x592b38,_0x4132a3)=>_0x303dce(_0x592b38,_0x4132a3,_0x20556d);_0x330a6c['CollaborationController']=class extends _0x29f72d['RxDisposable']{constructor(_0x1d3e6f,_0x578104,_0x4c1e34,_0x11b1e9){var _0x2548d=_0x3b85f3,_0x32be37;super(),_0x3dafef(this,'_entities',new Map()),_0x3dafef(this,_0x2548d(0x2d5),new _0x26770d[(_0x2548d(0x37c))]()),_0x3dafef(this,_0x2548d(0x200),this[_0x2548d(0x2d5)][_0x2548d(0x1fb)]()),(this[_0x2548d(0x53a)]=_0x1d3e6f,this[_0x2548d(0x235)]=_0x578104,this[_0x2548d(0x265)]=_0x4c1e34,this[_0x2548d(0x550)]=_0x11b1e9,((_0x32be37=this[_0x2548d(0x265)][_0x2548d(0x4d4)](_0x54fbde))==null?void 0x0:_0x32be37[_0x2548d(0x55c)])!==!0x1&&this[_0x2548d(0x527)]());}[_0x3b85f3(0x44d)](){var _0x47aeac=_0x3b85f3;super['dispose'](),this[_0x47aeac(0x54e)]['forEach'](_0x2777f6=>_0x2777f6[_0x47aeac(0x44d)]()),this[_0x47aeac(0x54e)]['clear']();}[_0x3b85f3(0x416)](_0x30058b){var _0x329c54=_0x3b85f3,_0x50aa3a;return(_0x50aa3a=this[_0x329c54(0x54e)][_0x329c54(0x1f8)](_0x30058b))!=null?_0x50aa3a:null;}['getCollabEntity$'](_0x2663b9){var _0x2852e2=_0x3b85f3;const _0x1a1480=this['getCollabEntity'](_0x2663b9);return _0x1a1480?_0x26770d['of'](_0x1a1480):this[_0x2852e2(0x2d5)]['pipe'](_0x213182[_0x2852e2(0x463)](_0xe44c4d=>_0xe44c4d['unitID']===_0x2663b9));}['readyForCollab'](_0x4354f6){var _0x186b39=_0x3b85f3;return _0x26770d[_0x186b39(0x2a7)](this[_0x186b39(0x468)](_0x4354f6)[_0x186b39(0x341)](_0x213182[_0x186b39(0x55e)](()=>{})));}[_0x3b85f3(0x527)](){var _0x7495a7=_0x3b85f3;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x29f72d[_0x7495a7(0x294)]['UNIVER_SHEET'])[_0x7495a7(0x341)](_0x26770d['takeUntil'](this[_0x7495a7(0x4dc)]),_0x213182[_0x7495a7(0x28b)](0x10))['subscribe'](async _0x3a90cb=>{var _0x136a70=_0x7495a7;const _0x5e93dc=_0x3a90cb[_0x136a70(0x4ba)](),_0x1c3f09=await this[_0x136a70(0x30f)](_0x5e93dc,_0x2da9ac['UNIVER_SHEET']);this[_0x136a70(0x54e)][_0x136a70(0x2d7)](_0x5e93dc,_0x1c3f09);}),this['_univerInstanceService'][_0x7495a7(0x494)](_0x29f72d[_0x7495a7(0x294)][_0x7495a7(0x3ee)])[_0x7495a7(0x341)](_0x26770d[_0x7495a7(0x4bb)](this[_0x7495a7(0x4dc)]),_0x213182[_0x7495a7(0x28b)](0x10))[_0x7495a7(0x341)](_0x213182['filter'](_0x4c4ae6=>!_0x4c4ae6[_0x7495a7(0x4ba)]()[_0x7495a7(0x34c)]('__')))['subscribe'](async _0x196204=>{var _0xaf3bc1=_0x7495a7;const _0x2e8d17=_0x196204['getUnitId'](),_0x556415=await this['_startCollaboration'](_0x2e8d17,_0x2da9ac[_0xaf3bc1(0x3ee)]);this[_0xaf3bc1(0x54e)][_0xaf3bc1(0x2d7)](_0x2e8d17,_0x556415);}),_0x26770d[_0x7495a7(0x1cb)](this[_0x7495a7(0x550)][_0x7495a7(0x2da)](_0x29f72d[_0x7495a7(0x294)][_0x7495a7(0x4be)]),this['_univerInstanceService'][_0x7495a7(0x2da)](_0x29f72d['UniverInstanceType']['UNIVER_DOC']))['pipe'](_0x26770d[_0x7495a7(0x4bb)](this['dispose$']))[_0x7495a7(0x255)](_0x232da8=>{var _0x454d9e=_0x7495a7;const _0x370ddc=_0x232da8[_0x454d9e(0x4ba)](),_0x335e8c=this[_0x454d9e(0x54e)][_0x454d9e(0x1f8)](_0x370ddc);_0x335e8c&&(_0x335e8c[_0x454d9e(0x44d)](),this['_entities'][_0x454d9e(0x245)](_0x370ddc));});}async[_0x3b85f3(0x30f)](_0x83d5f7,_0x2449b9){var _0x2576f5=_0x3b85f3;const _0x103cc0=await this['_collabSessionService']['requireSession'](_0x83d5f7),_0x4c2274=this['_injector'][_0x2576f5(0x43b)](this[_0x2576f5(0x2f9)](_0x2449b9),_0x83d5f7,_0x2449b9,_0x103cc0);return await _0x4c2274[_0x2576f5(0x4e1)](),this[_0x2576f5(0x2d5)]['next'](_0x4c2274),_0x4c2274;}[_0x3b85f3(0x2f9)](_0x2e1d3f){var _0xca1597=_0x3b85f3;switch(_0x2e1d3f){case _0x2da9ac[_0xca1597(0x3ee)]:return _0x330a6c[_0xca1597(0x242)];case _0x2da9ac[_0xca1597(0x4be)]:return _0x330a6c[_0xca1597(0x24e)];default:throw new Error(_0xca1597(0x4e0)+_0x2e1d3f);}}},_0x330a6c[_0x3b85f3(0x2c6)]=_0xd57e0e([_0x348701(0x0,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x345)])),_0x348701(0x1,_0x29f72d[_0x3b85f3(0x397)](_0x330a6c[_0x3b85f3(0x4ab)])),_0x348701(0x2,_0x29f72d[_0x3b85f3(0x44a)]),_0x348701(0x3,_0x29f72d[_0x3b85f3(0x558)])],_0x330a6c[_0x3b85f3(0x2c6)]);var _0x4183da=Object['getOwnPropertyDescriptor'],_0x1879eb=(_0x41eab4,_0x1fc8cc,_0x43911f,_0xf990fa)=>{var _0x1ab0f4=_0x3b85f3;for(var _0x44b69e=_0xf990fa>0x1?void 0x0:_0xf990fa?_0x4183da(_0x1fc8cc,_0x43911f):_0x1fc8cc,_0xb74885=_0x41eab4[_0x1ab0f4(0x24a)]-0x1,_0x359642;_0xb74885>=0x0;_0xb74885--)(_0x359642=_0x41eab4[_0xb74885])&&(_0x44b69e=_0x359642(_0x44b69e)||_0x44b69e);return _0x44b69e;},_0x1c21d2=(_0x4e7229,_0x1b4120)=>(_0x4d2ce5,_0x102b0b)=>_0x1b4120(_0x4d2ce5,_0x102b0b,_0x4e7229);const _0x5799e1=_0x3b85f3(0x2b0),_0x26fd9f=_0x3b85f3(0x532);let _0x5b598e=class extends _0x29f72d[_0x3b85f3(0x45b)]{constructor(_0x3b59e7,_0x78d143){var _0x267652=_0x3b85f3;super(),this[_0x267652(0x550)]=_0x3b59e7,this[_0x267652(0x265)]=_0x78d143,this[_0x267652(0x527)]();}['_init'](){var _0xcfb5ec=_0x3b85f3;this['disposeWithMe'](this['_univerInstanceService'][_0xcfb5ec(0x1d9)][_0xcfb5ec(0x255)](()=>{var _0x2482dc=_0xcfb5ec,_0x328458;const _0x50422b=this[_0x2482dc(0x550)]['getFocusedUnit']();let _0x2fc194=(_0x328458=this['_configService'][_0x2482dc(0x4d4)](_0x5799e1))!=null?_0x328458:_0x26fd9f;_0x50422b instanceof _0x29f72d['Workbook']&&(_0x2fc194=_0x50422b['name']),document[_0x2482dc(0x4b7)]=_0x2fc194;}));}};_0x5b598e=_0x1879eb([_0x1c21d2(0x0,_0x29f72d[_0x3b85f3(0x558)]),_0x1c21d2(0x1,_0x29f72d['IConfigService'])],_0x5b598e);var _0x4872f0=Object[_0x3b85f3(0x2e1)],_0x21913e=(_0x2fa3a7,_0x3ea310,_0x12acca,_0x307a8d)=>{for(var _0x47e745=_0x307a8d>0x1?void 0x0:_0x307a8d?_0x4872f0(_0x3ea310,_0x12acca):_0x3ea310,_0xa9dae=_0x2fa3a7['length']-0x1,_0xe255a7;_0xa9dae>=0x0;_0xa9dae--)(_0xe255a7=_0x2fa3a7[_0xa9dae])&&(_0x47e745=_0xe255a7(_0x47e745)||_0x47e745);return _0x47e745;},_0x1bc03f=(_0x2f79de,_0x5c9e09)=>(_0xe65e15,_0x1ea72d)=>_0x5c9e09(_0xe65e15,_0x1ea72d,_0x2f79de);let _0x3b6ab0=class{constructor(_0xab8c37,_0x1d5e0d,_0x409f9d){var _0x232fa0=_0x3b85f3;this['_configService']=_0xab8c37,this[_0x232fa0(0x2c1)]=_0x1d5e0d,this['localeService']=_0x409f9d,this[_0x232fa0(0x4e1)]();}[_0x3b85f3(0x4e1)](){var _0x4f5b95=_0x3b85f3;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x30ce1f,_0x28e5dc)=>_0x28e5dc(_0x30ce1f)['pipe'](_0x26770d[_0x4f5b95(0x2d8)](async _0x26fd76=>{var _0x4e74b2=_0x4f5b95;const _0x37a6c3=_0x26fd76;if(_0x37a6c3['status']===0x191){if(typeof window>'u')throw new Error(_0x4e74b2(0x556));if(window[_0x4e74b2(0x401)](this[_0x4e74b2(0x3cd)]['t'](_0x4e74b2(0x46f)))){const _0x5bd0e0=window[_0x4e74b2(0x1e0)](window[_0x4e74b2(0x54a)][_0x4e74b2(0x4bd)]);window[_0x4e74b2(0x54a)][_0x4e74b2(0x4bd)]=this['_getLoginPath']()+'?url='+_0x5bd0e0;}}return _0x37a6c3;}))});}[_0x3b85f3(0x467)](){var _0xcfd3dc=_0x3b85f3,_0x24d8d4;const _0x5917ee=this[_0xcfd3dc(0x265)]['getConfig'](_0x54fbde);return(_0x24d8d4=_0x5917ee==null?void 0x0:_0x5917ee[_0xcfd3dc(0x2a3)])!=null?_0x24d8d4:_0x491713;}};_0x3b6ab0=_0x21913e([_0x1bc03f(0x0,_0x29f72d[_0x3b85f3(0x44a)]),_0x1bc03f(0x1,_0x29f72d['Inject'](_0x59551f[_0x3b85f3(0x2bf)])),_0x1bc03f(0x2,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x487)]))],_0x3b6ab0);var _0x2813f5=Object[_0x3b85f3(0x2e1)],_0x1a5c82=(_0x656659,_0x50f34f,_0x531de7,_0xb5855d)=>{for(var _0xc4dc=_0xb5855d>0x1?void 0x0:_0xb5855d?_0x2813f5(_0x50f34f,_0x531de7):_0x50f34f,_0x48016d=_0x656659['length']-0x1,_0x20dda5;_0x48016d>=0x0;_0x48016d--)(_0x20dda5=_0x656659[_0x48016d])&&(_0xc4dc=_0x20dda5(_0xc4dc)||_0xc4dc);return _0xc4dc;},_0x31ebae=(_0x5c360a,_0x107dd2)=>(_0x5542a1,_0x515b42)=>_0x107dd2(_0x5542a1,_0x515b42,_0x5c360a);const _0x4905a4='/universer-api/authz';_0x330a6c[_0x3b85f3(0x568)]=class extends _0x29f72d[_0x3b85f3(0x45b)]{constructor(_0xb46e90,_0x19c016){var _0x1a16b6=_0x3b85f3;super(),this[_0x1a16b6(0x360)]=_0xb46e90,this['_configService']=_0x19c016,this[_0x1a16b6(0x523)]();}['_initMergeInterceptor'](){var _0x22d3fe=_0x3b85f3;const _0x209b9f=this;this[_0x22d3fe(0x4de)](this[_0x22d3fe(0x360)][_0x22d3fe(0x1d1)]({'priority':0x3e7,'interceptor':_0x59551f['MergeInterceptorFactory']({'isMatch'(_0x3dc0e9){var _0x5de5a5=_0x22d3fe,_0x1c34b6;if(_0x3dc0e9[_0x5de5a5(0x219)]===_0x5de5a5(0x2d3)&&((_0x1c34b6=_0x3dc0e9['requestParams'])!=null&&_0x1c34b6[_0x5de5a5(0x3fa)])){const {objectID:_0xf86879,objectType:_0x2cea8c}=_0x3dc0e9[_0x5de5a5(0x330)]['body']||{};if(!_0xf86879||_0x2cea8c===void 0x0)return!0x1;const _0x34568c=_0x209b9f[_0x5de5a5(0x49a)]()+'/'+_0x2cea8c+_0x5de5a5(0x4f3)+_0xf86879+_0x5de5a5(0x499);if(_0x3dc0e9['url']===_0x34568c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1424a9){var _0x4c2bc9=_0x22d3fe,_0x39419b;return(_0x39419b=_0x1424a9['requestParams'])==null?void 0x0:_0x39419b[_0x4c2bc9(0x3fa)];},'mergeParamsToRequest'(_0x2ca650,_0x1fe3ff){var _0x2aa24b=_0x22d3fe;const _0x4a65df=_0x209b9f[_0x2aa24b(0x49a)]()+_0x2aa24b(0x54b),_0x3890f5=_0x2ca650[_0x2aa24b(0x46d)]((_0x4fcf63,_0x580421)=>{const {unitID:_0x575e6e,objectID:_0x256d34,objectType:_0x50d2f1,actions:_0x194fee}=_0x580421;return _0x4fcf63[_0x575e6e]||(_0x4fcf63[_0x575e6e]={}),_0x4fcf63[_0x575e6e][_0x256d34]||(_0x4fcf63[_0x575e6e][_0x256d34]={'objectID':_0x256d34,'objectType':_0x50d2f1,'actions':[]}),_0x4fcf63[_0x575e6e][_0x256d34]['actions']['push'](..._0x194fee),_0x4fcf63;},{}),_0x10855d=[];for(const _0x35e08b in _0x3890f5)for(const _0x3b19c3 in _0x3890f5[_0x35e08b]){const {actions:_0x46552e,objectType:_0xbf73}=_0x3890f5[_0x35e08b][_0x3b19c3],_0x2a5fea=[...new Set(_0x46552e)];_0x10855d[_0x2aa24b(0x2cd)]({'unitID':_0x35e08b,'objectID':_0x3b19c3,'objectType':_0xbf73,'actions':_0x2a5fea});}return new _0x59551f[(_0x2aa24b(0x201))]('POST',_0x4a65df,{'headers':_0x1fe3ff['headers'],'withCredentials':_0x1fe3ff[_0x2aa24b(0x500)],'responseType':_0x1fe3ff['responseType'],'body':{'requests':_0x10855d}});}},{'distributeResult'(_0x43d216,_0x581ef3){var _0x4ada30=_0x22d3fe;const {objectActions:_0x459e30}=_0x43d216;return _0x581ef3[_0x4ada30(0x55e)](_0x522873=>{var _0x193186=_0x4ada30;const {unitID:_0x4086eb,objectID:_0xa3ede,actions:_0x5011b7}=_0x522873,_0xdd07a0=_0x459e30[_0x193186(0x229)](_0x28fecc=>_0x28fecc[_0x193186(0x3be)]===_0x4086eb&&_0x28fecc['objectID']===_0xa3ede),_0x4247d1=_0x5011b7['map'](_0xbf3a30=>_0xdd07a0==null?void 0x0:_0xdd07a0[_0x193186(0x29b)][_0x193186(0x229)](_0x370337=>_0x370337['action']===_0xbf3a30))[_0x193186(0x463)](_0x149036=>!!_0x149036);return{'config':_0x522873,'result':{'actions':_0x4247d1,'error':_0x43d216[_0x193186(0x313)]}};});}})}));}['_getAPIPrefixPath'](){var _0x585612=_0x3b85f3,_0x25d947;const _0x132668=this[_0x585612(0x265)][_0x585612(0x4d4)](_0x54fbde);return(_0x25d947=_0x132668==null?void 0x0:_0x132668[_0x585612(0x26f)])!=null?_0x25d947:_0x4905a4;}async[_0x3b85f3(0x444)](_0x468b2b){var _0x545662=_0x3b85f3;const _0x205d39=this['_getAPIPrefixPath']()+'/'+_0x468b2b['objectType']+_0x545662(0x331);return(await this['_HTTPService'][_0x545662(0x1fe)](_0x205d39,{'body':_0x468b2b}))[_0x545662(0x3fa)][_0x545662(0x512)]||'';}async[_0x3b85f3(0x3b4)](_0xf4867e){var _0x3e94da=_0x3b85f3;const _0x5e1d76=this[_0x3e94da(0x49a)]()+'/-/object/list';return(await this[_0x3e94da(0x360)][_0x3e94da(0x1fe)](_0x5e1d76,{'body':_0xf4867e}))['body'][_0x3e94da(0x447)];}async[_0x3b85f3(0x2a4)](_0x38c6fc){var _0x36740b=_0x3b85f3,_0x3f6908,_0x587731;const _0x3bac79=this[_0x36740b(0x49a)]()+'/'+_0x38c6fc[_0x36740b(0x3d7)]+_0x36740b(0x4f3)+_0x38c6fc['objectID'],_0x3de13e=await this[_0x36740b(0x360)][_0x36740b(0x3b0)](_0x3bac79,{'body':_0x38c6fc});if(((_0x587731=(_0x3f6908=_0x3de13e==null?void 0x0:_0x3de13e[_0x36740b(0x3fa)])==null?void 0x0:_0x3f6908[_0x36740b(0x313)])==null?void 0x0:_0x587731[_0x36740b(0x2b2)])!==0x1)throw new Error(_0x36740b(0x42b));}async[_0x3b85f3(0x2a6)](_0x3bb46e){var _0x2b623b=_0x3b85f3;const _0x5e8a24=this[_0x2b623b(0x49a)]()+'/'+_0x3bb46e[_0x2b623b(0x3d7)]+_0x2b623b(0x4f3)+_0x3bb46e[_0x2b623b(0x512)]+_0x2b623b(0x499);return(await this[_0x2b623b(0x360)]['post'](_0x5e8a24,{'body':_0x3bb46e}))['body']['actions'];}async[_0x3b85f3(0x224)](_0x1a2cff){var _0x4f593f=_0x3b85f3;const _0xf96fcc=this[_0x4f593f(0x49a)]()+_0x4f593f(0x54b);return(await this[_0x4f593f(0x360)][_0x4f593f(0x1fe)](_0xf96fcc,{'body':{'requests':_0x1a2cff}}))[_0x4f593f(0x3fa)][_0x4f593f(0x204)];}async[_0x3b85f3(0x2ab)](_0x309721){var _0x11fe19=_0x3b85f3;const _0xff0a60=this[_0x11fe19(0x49a)]()+'/'+_0x309721[_0x11fe19(0x3d7)]+'/role',_0xc387ff=await this[_0x11fe19(0x360)]['post'](_0xff0a60,{'body':_0x309721});return{'roles':_0xc387ff[_0x11fe19(0x3fa)]['roles'],'actions':_0xc387ff[_0x11fe19(0x3fa)][_0x11fe19(0x29b)]};}async[_0x3b85f3(0x2ac)](_0x511566){var _0x3a9190=_0x3b85f3;const _0x437e7d=this[_0x3a9190(0x49a)]()+_0x3a9190(0x1d0);await this['_HTTPService'][_0x3a9190(0x245)](_0x437e7d,{'params':{'collaboratorID':_0x511566[_0x3a9190(0x432)],'objectID':_0x511566[_0x3a9190(0x512)],'unitID':_0x511566[_0x3a9190(0x3be)]}});}async[_0x3b85f3(0x29d)](_0x420abb){var _0x574b2a=_0x3b85f3;const _0x1defd2=this[_0x574b2a(0x49a)]()+_0x574b2a(0x1d0);await this[_0x574b2a(0x360)][_0x574b2a(0x2c4)](_0x1defd2,{'body':_0x420abb});}async['createCollaborator'](_0x477da2){var _0x7fcd3e=_0x3b85f3;const _0x28d7b3=this[_0x7fcd3e(0x49a)]()+_0x7fcd3e(0x1d0);await this[_0x7fcd3e(0x360)]['post'](_0x28d7b3,{'body':_0x477da2});}async[_0x3b85f3(0x3aa)](_0x4014e1){var _0x1ffc74=_0x3b85f3;const _0x548e26=this[_0x1ffc74(0x49a)]()+'/collaborator';return(await this['_HTTPService'][_0x1ffc74(0x1f8)](_0x548e26,{'params':{'objectID':_0x4014e1[_0x1ffc74(0x512)],'unitID':_0x4014e1['unitID']}}))[_0x1ffc74(0x3fa)][_0x1ffc74(0x3fb)];}async[_0x3b85f3(0x237)](_0x2ac32f){var _0x3b1313=_0x3b85f3;const _0xf45729=this['_getAPIPrefixPath']()+_0x3b1313(0x1d0);await this[_0x3b1313(0x360)][_0x3b1313(0x3b0)](_0xf45729,{'body':_0x2ac32f});}},_0x330a6c[_0x3b85f3(0x568)]=_0x1a5c82([_0x31ebae(0x0,_0x29f72d[_0x3b85f3(0x397)](_0x59551f['HTTPService'])),_0x31ebae(0x1,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x44a)]))],_0x330a6c[_0x3b85f3(0x568)]);var _0x3b3051=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x38739b(_0x547a7a){var _0x4fc4b9=_0x3b85f3;return _0x547a7a&&_0x547a7a['__esModule']&&Object[_0x4fc4b9(0x387)][_0x4fc4b9(0x451)]['call'](_0x547a7a,'default')?_0x547a7a[_0x4fc4b9(0x37b)]:_0x547a7a;}var _0x1ef8e4={'exports':{}};function _0x2fce9a(_0x5c5f70){var _0x324e68=_0x3b85f3;throw new Error(_0x324e68(0x483)+_0x5c5f70+_0x324e68(0x427));}var _0x162bf4={'exports':{}},_0x1cabf5=_0x162bf4[_0x3b85f3(0x375)],_0x50289d;function _0x19ebea(){var _0x88f2bb=_0x3b85f3;return _0x50289d||(_0x50289d=0x1,function(_0x5494c7,_0x313c14){(function(_0x37b035,_0x404d00){var _0x1b3e60=_0x222a;_0x5494c7[_0x1b3e60(0x375)]=_0x404d00();}(_0x1cabf5,function(){var _0x323056=_0x323056||function(_0xb9a56e,_0x46bacb){var _0x5e08d2=_0x222a,_0x5607de;if(typeof window<'u'&&window['crypto']&&(_0x5607de=window[_0x5e08d2(0x4c5)]),typeof self<'u'&&self['crypto']&&(_0x5607de=self[_0x5e08d2(0x4c5)]),typeof globalThis<'u'&&globalThis[_0x5e08d2(0x4c5)]&&(_0x5607de=globalThis['crypto']),!_0x5607de&&typeof window<'u'&&window[_0x5e08d2(0x434)]&&(_0x5607de=window['msCrypto']),!_0x5607de&&typeof _0x3b3051<'u'&&_0x3b3051[_0x5e08d2(0x4c5)]&&(_0x5607de=_0x3b3051[_0x5e08d2(0x4c5)]),!_0x5607de&&typeof _0x2fce9a==_0x5e08d2(0x35d))try{_0x5607de=require('crypto');}catch{}var _0x57e3b8=function(){var _0x591e85=_0x5e08d2;if(_0x5607de){if(typeof _0x5607de[_0x591e85(0x528)]==_0x591e85(0x35d))try{return _0x5607de[_0x591e85(0x528)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5607de['randomBytes']==_0x591e85(0x35d))try{return _0x5607de[_0x591e85(0x27f)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x2c7061=Object[_0x5e08d2(0x444)]||(function(){function _0x581eee(){}return function(_0x5833d6){var _0x227ccb=_0x222a,_0x403c5b;return _0x581eee[_0x227ccb(0x387)]=_0x5833d6,_0x403c5b=new _0x581eee(),_0x581eee[_0x227ccb(0x387)]=null,_0x403c5b;};}()),_0x58adbf={},_0x8b4af8=_0x58adbf[_0x5e08d2(0x563)]={},_0x36169d=_0x8b4af8['Base']=(function(){return{'extend':function(_0x5236eb){var _0x2fb4b1=_0x222a,_0x28ee15=_0x2c7061(this);return _0x5236eb&&_0x28ee15[_0x2fb4b1(0x27b)](_0x5236eb),(!_0x28ee15[_0x2fb4b1(0x451)]('init')||this[_0x2fb4b1(0x4e1)]===_0x28ee15[_0x2fb4b1(0x4e1)])&&(_0x28ee15[_0x2fb4b1(0x4e1)]=function(){var _0x57313a=_0x2fb4b1;_0x28ee15[_0x57313a(0x382)][_0x57313a(0x4e1)][_0x57313a(0x33d)](this,arguments);}),_0x28ee15[_0x2fb4b1(0x4e1)][_0x2fb4b1(0x387)]=_0x28ee15,_0x28ee15['$super']=this,_0x28ee15;},'create':function(){var _0x35b510=_0x222a,_0x27cd9c=this[_0x35b510(0x39f)]();return _0x27cd9c[_0x35b510(0x4e1)][_0x35b510(0x33d)](_0x27cd9c,arguments),_0x27cd9c;},'init':function(){},'mixIn':function(_0x1fd056){var _0x3af7d0=_0x222a;for(var _0x552677 in _0x1fd056)_0x1fd056[_0x3af7d0(0x451)](_0x552677)&&(this[_0x552677]=_0x1fd056[_0x552677]);_0x1fd056['hasOwnProperty'](_0x3af7d0(0x3f5))&&(this['toString']=_0x1fd056[_0x3af7d0(0x3f5)]);},'clone':function(){var _0x829681=_0x222a;return this[_0x829681(0x4e1)][_0x829681(0x387)][_0x829681(0x39f)](this);}};}()),_0x163903=_0x8b4af8[_0x5e08d2(0x2de)]=_0x36169d['extend']({'init':function(_0xfed3e4,_0x5bc518){var _0x20a474=_0x5e08d2;_0xfed3e4=this[_0x20a474(0x30e)]=_0xfed3e4||[],_0x5bc518!=_0x46bacb?this[_0x20a474(0x436)]=_0x5bc518:this[_0x20a474(0x436)]=_0xfed3e4['length']*0x4;},'toString':function(_0x247ef0){var _0x48bc9a=_0x5e08d2;return(_0x247ef0||_0x579188)[_0x48bc9a(0x3ff)](this);},'concat':function(_0xdddebc){var _0x5bb439=_0x5e08d2,_0x1816fa=this[_0x5bb439(0x30e)],_0xdb48d3=_0xdddebc[_0x5bb439(0x30e)],_0x12db2d=this[_0x5bb439(0x436)],_0x1f2083=_0xdddebc[_0x5bb439(0x436)];if(this['clamp'](),_0x12db2d%0x4)for(var _0x4480e8=0x0;_0x4480e8<_0x1f2083;_0x4480e8++){var _0x49a28e=_0xdb48d3[_0x4480e8>>>0x2]>>>0x18-_0x4480e8%0x4*0x8&0xff;_0x1816fa[_0x12db2d+_0x4480e8>>>0x2]|=_0x49a28e<<0x18-(_0x12db2d+_0x4480e8)%0x4*0x8;}else{for(var _0x10e092=0x0;_0x10e092<_0x1f2083;_0x10e092+=0x4)_0x1816fa[_0x12db2d+_0x10e092>>>0x2]=_0xdb48d3[_0x10e092>>>0x2];}return this[_0x5bb439(0x436)]+=_0x1f2083,this;},'clamp':function(){var _0x5882cf=_0x5e08d2,_0xa9a491=this[_0x5882cf(0x30e)],_0x293db6=this[_0x5882cf(0x436)];_0xa9a491[_0x293db6>>>0x2]&=0xffffffff<<0x20-_0x293db6%0x4*0x8,_0xa9a491['length']=_0xb9a56e['ceil'](_0x293db6/0x4);},'clone':function(){var _0x8a7d06=_0x5e08d2,_0x4622ee=_0x36169d['clone']['call'](this);return _0x4622ee[_0x8a7d06(0x30e)]=this[_0x8a7d06(0x30e)]['slice'](0x0),_0x4622ee;},'random':function(_0x3e281d){var _0x234b83=_0x5e08d2;for(var _0x1f52b1=[],_0x2ecbd6=0x0;_0x2ecbd6<_0x3e281d;_0x2ecbd6+=0x4)_0x1f52b1[_0x234b83(0x2cd)](_0x57e3b8());return new _0x163903['init'](_0x1f52b1,_0x3e281d);}}),_0x58404c=_0x58adbf[_0x5e08d2(0x344)]={},_0x579188=_0x58404c[_0x5e08d2(0x41e)]={'stringify':function(_0x2f78af){var _0x4734f9=_0x5e08d2;for(var _0x592818=_0x2f78af[_0x4734f9(0x30e)],_0x3da652=_0x2f78af[_0x4734f9(0x436)],_0x34dd02=[],_0x240794=0x0;_0x240794<_0x3da652;_0x240794++){var _0x3f1bf6=_0x592818[_0x240794>>>0x2]>>>0x18-_0x240794%0x4*0x8&0xff;_0x34dd02[_0x4734f9(0x2cd)]((_0x3f1bf6>>>0x4)[_0x4734f9(0x3f5)](0x10)),_0x34dd02[_0x4734f9(0x2cd)]((_0x3f1bf6&0xf)[_0x4734f9(0x3f5)](0x10));}return _0x34dd02[_0x4734f9(0x320)]('');},'parse':function(_0x599130){var _0x2d903a=_0x5e08d2;for(var _0x4f0a3a=_0x599130[_0x2d903a(0x24a)],_0x40cf60=[],_0x348538=0x0;_0x348538<_0x4f0a3a;_0x348538+=0x2)_0x40cf60[_0x348538>>>0x3]|=parseInt(_0x599130[_0x2d903a(0x36a)](_0x348538,0x2),0x10)<<0x18-_0x348538%0x8*0x4;return new _0x163903[(_0x2d903a(0x4e1))](_0x40cf60,_0x4f0a3a/0x2);}},_0x4ddb5f=_0x58404c[_0x5e08d2(0x1e9)]={'stringify':function(_0x1ab2f5){var _0x229986=_0x5e08d2;for(var _0x3b1f42=_0x1ab2f5['words'],_0x8c448=_0x1ab2f5[_0x229986(0x436)],_0x455039=[],_0x20f3a6=0x0;_0x20f3a6<_0x8c448;_0x20f3a6++){var _0x93c693=_0x3b1f42[_0x20f3a6>>>0x2]>>>0x18-_0x20f3a6%0x4*0x8&0xff;_0x455039[_0x229986(0x2cd)](String[_0x229986(0x1f0)](_0x93c693));}return _0x455039['join']('');},'parse':function(_0x41ac10){var _0x2ef6b3=_0x5e08d2;for(var _0x56bc6c=_0x41ac10[_0x2ef6b3(0x24a)],_0x57df86=[],_0x1f7822=0x0;_0x1f7822<_0x56bc6c;_0x1f7822++)_0x57df86[_0x1f7822>>>0x2]|=(_0x41ac10[_0x2ef6b3(0x3cc)](_0x1f7822)&0xff)<<0x18-_0x1f7822%0x4*0x8;return new _0x163903[(_0x2ef6b3(0x4e1))](_0x57df86,_0x56bc6c);}},_0x357588=_0x58404c[_0x5e08d2(0x286)]={'stringify':function(_0x1974a4){var _0x5f4815=_0x5e08d2;try{return decodeURIComponent(escape(_0x4ddb5f[_0x5f4815(0x3ff)](_0x1974a4)));}catch{throw new Error(_0x5f4815(0x419));}},'parse':function(_0xa6bcb2){var _0x484450=_0x5e08d2;return _0x4ddb5f[_0x484450(0x2a8)](unescape(encodeURIComponent(_0xa6bcb2)));}},_0x403570=_0x8b4af8[_0x5e08d2(0x437)]=_0x36169d[_0x5e08d2(0x39f)]({'reset':function(){var _0x9d569f=_0x5e08d2;this['_data']=new _0x163903[(_0x9d569f(0x4e1))](),this[_0x9d569f(0x2af)]=0x0;},'_append':function(_0x87879c){var _0x5e6dca=_0x5e08d2;typeof _0x87879c==_0x5e6dca(0x2f5)&&(_0x87879c=_0x357588[_0x5e6dca(0x2a8)](_0x87879c)),this[_0x5e6dca(0x465)][_0x5e6dca(0x211)](_0x87879c),this[_0x5e6dca(0x2af)]+=_0x87879c['sigBytes'];},'_process':function(_0x120f6b){var _0x4ad45d=_0x5e08d2,_0x224ca1,_0x49ea53=this['_data'],_0x8a15a7=_0x49ea53[_0x4ad45d(0x30e)],_0x1b52db=_0x49ea53['sigBytes'],_0x21cd5f=this['blockSize'],_0x559a6a=_0x21cd5f*0x4,_0x2a6976=_0x1b52db/_0x559a6a;_0x120f6b?_0x2a6976=_0xb9a56e[_0x4ad45d(0x296)](_0x2a6976):_0x2a6976=_0xb9a56e[_0x4ad45d(0x566)]((_0x2a6976|0x0)-this[_0x4ad45d(0x417)],0x0);var _0x437716=_0x2a6976*_0x21cd5f,_0x449c21=_0xb9a56e['min'](_0x437716*0x4,_0x1b52db);if(_0x437716){for(var _0x108b87=0x0;_0x108b87<_0x437716;_0x108b87+=_0x21cd5f)this[_0x4ad45d(0x547)](_0x8a15a7,_0x108b87);_0x224ca1=_0x8a15a7['splice'](0x0,_0x437716),_0x49ea53['sigBytes']-=_0x449c21;}return new _0x163903[(_0x4ad45d(0x4e1))](_0x224ca1,_0x449c21);},'clone':function(){var _0x50fee0=_0x5e08d2,_0x2f2f59=_0x36169d['clone'][_0x50fee0(0x4c4)](this);return _0x2f2f59[_0x50fee0(0x465)]=this[_0x50fee0(0x465)][_0x50fee0(0x52e)](),_0x2f2f59;},'_minBufferSize':0x0});_0x8b4af8[_0x5e08d2(0x386)]=_0x403570[_0x5e08d2(0x39f)]({'cfg':_0x36169d[_0x5e08d2(0x39f)](),'init':function(_0xffac84){var _0xe50afc=_0x5e08d2;this[_0xe50afc(0x252)]=this['cfg'][_0xe50afc(0x39f)](_0xffac84),this[_0xe50afc(0x1cd)]();},'reset':function(){var _0x2dbbb7=_0x5e08d2;_0x403570[_0x2dbbb7(0x1cd)][_0x2dbbb7(0x4c4)](this),this[_0x2dbbb7(0x208)]();},'update':function(_0x521dd2){var _0xc4056e=_0x5e08d2;return this[_0xc4056e(0x3f6)](_0x521dd2),this[_0xc4056e(0x522)](),this;},'finalize':function(_0x17a1cd){var _0x5166d8=_0x5e08d2;_0x17a1cd&&this[_0x5166d8(0x3f6)](_0x17a1cd);var _0x571a7c=this[_0x5166d8(0x490)]();return _0x571a7c;},'blockSize':0x10,'_createHelper':function(_0x93feec){return function(_0x35e484,_0x5ef4c9){var _0x657b71=_0x222a;return new _0x93feec['init'](_0x5ef4c9)[_0x657b71(0x411)](_0x35e484);};},'_createHmacHelper':function(_0x50aa09){return function(_0x2891aa,_0x12dd01){var _0x35299b=_0x222a;return new _0x145b62[(_0x35299b(0x50a))][(_0x35299b(0x4e1))](_0x50aa09,_0x12dd01)[_0x35299b(0x411)](_0x2891aa);};}});var _0x145b62=_0x58adbf[_0x5e08d2(0x2e0)]={};return _0x58adbf;}(Math);return _0x323056;}));}(_0x162bf4)),_0x162bf4[_0x88f2bb(0x375)];}var _0x2abece={'exports':{}},_0x5215d5=_0x2abece[_0x3b85f3(0x375)],_0x4d3051;function _0x2e66f6(){return _0x4d3051||(_0x4d3051=0x1,function(_0xc10ac8,_0x3f7855){(function(_0x399672,_0x4afc2c){var _0x462db0=_0x222a;_0xc10ac8[_0x462db0(0x375)]=_0x4afc2c(_0x19ebea());}(_0x5215d5,function(_0x44006c){var _0x262d52=_0x222a;return(function(){var _0x5b0d2d=_0x222a,_0x2121b9=_0x44006c,_0x5d4000=_0x2121b9[_0x5b0d2d(0x563)],_0x5c8918=_0x5d4000[_0x5b0d2d(0x2de)],_0x32100c=_0x2121b9[_0x5b0d2d(0x344)];_0x32100c[_0x5b0d2d(0x3e6)]={'stringify':function(_0x338458){var _0x3df0b0=_0x5b0d2d,_0x496170=_0x338458[_0x3df0b0(0x30e)],_0x5dcade=_0x338458[_0x3df0b0(0x436)],_0x12f85d=this['_map'];_0x338458[_0x3df0b0(0x405)]();for(var _0x32f427=[],_0x498e3a=0x0;_0x498e3a<_0x5dcade;_0x498e3a+=0x3)for(var _0x26703d=_0x496170[_0x498e3a>>>0x2]>>>0x18-_0x498e3a%0x4*0x8&0xff,_0x3ce442=_0x496170[_0x498e3a+0x1>>>0x2]>>>0x18-(_0x498e3a+0x1)%0x4*0x8&0xff,_0x4220e1=_0x496170[_0x498e3a+0x2>>>0x2]>>>0x18-(_0x498e3a+0x2)%0x4*0x8&0xff,_0x488d03=_0x26703d<<0x10|_0x3ce442<<0x8|_0x4220e1,_0x265437=0x0;_0x265437<0x4&&_0x498e3a+_0x265437*0.75<_0x5dcade;_0x265437++)_0x32f427[_0x3df0b0(0x2cd)](_0x12f85d[_0x3df0b0(0x475)](_0x488d03>>>0x6*(0x3-_0x265437)&0x3f));var _0x288fa5=_0x12f85d['charAt'](0x40);if(_0x288fa5){for(;_0x32f427[_0x3df0b0(0x24a)]%0x4;)_0x32f427[_0x3df0b0(0x2cd)](_0x288fa5);}return _0x32f427[_0x3df0b0(0x320)]('');},'parse':function(_0x4c2b8d){var _0x40f1a4=_0x5b0d2d,_0x4de124=_0x4c2b8d[_0x40f1a4(0x24a)],_0x178cc1=this[_0x40f1a4(0x205)],_0x114abe=this[_0x40f1a4(0x42a)];if(!_0x114abe){_0x114abe=this[_0x40f1a4(0x42a)]=[];for(var _0x18ce91=0x0;_0x18ce91<_0x178cc1[_0x40f1a4(0x24a)];_0x18ce91++)_0x114abe[_0x178cc1['charCodeAt'](_0x18ce91)]=_0x18ce91;}var _0x51ea0c=_0x178cc1[_0x40f1a4(0x475)](0x40);if(_0x51ea0c){var _0x275ac2=_0x4c2b8d[_0x40f1a4(0x3b1)](_0x51ea0c);_0x275ac2!==-0x1&&(_0x4de124=_0x275ac2);}return _0x5b3e01(_0x4c2b8d,_0x4de124,_0x114abe);},'_map':_0x5b0d2d(0x258)};function _0x5b3e01(_0x2000d1,_0x49c600,_0x570119){var _0x531604=_0x5b0d2d;for(var _0x1c0354=[],_0x32589d=0x0,_0x2f5556=0x0;_0x2f5556<_0x49c600;_0x2f5556++)if(_0x2f5556%0x4){var _0x173fac=_0x570119[_0x2000d1['charCodeAt'](_0x2f5556-0x1)]<<_0x2f5556%0x4*0x2,_0x4a2ba7=_0x570119[_0x2000d1['charCodeAt'](_0x2f5556)]>>>0x6-_0x2f5556%0x4*0x2,_0x56cdd9=_0x173fac|_0x4a2ba7;_0x1c0354[_0x32589d>>>0x2]|=_0x56cdd9<<0x18-_0x32589d%0x4*0x8,_0x32589d++;}return _0x5c8918[_0x531604(0x444)](_0x1c0354,_0x32589d);}}()),_0x44006c[_0x262d52(0x344)][_0x262d52(0x3e6)];}));}(_0x2abece)),_0x2abece['exports'];}var _0x32baeb={'exports':{}},_0x36f18c=_0x32baeb['exports'],_0x20ebf5;function _0x1cda65(){var _0x5e4241=_0x3b85f3;return _0x20ebf5||(_0x20ebf5=0x1,function(_0x3a3739,_0x2571a7){(function(_0x1b5f9f,_0x185d8f){_0x3a3739['exports']=_0x185d8f(_0x19ebea());}(_0x36f18c,function(_0x33656f){var _0x564ae8=_0x222a;return function(_0x3fc3e4){var _0x24e033=_0x222a,_0x10d118=_0x33656f,_0x2f60df=_0x10d118[_0x24e033(0x563)],_0x50105f=_0x2f60df[_0x24e033(0x2de)],_0x533730=_0x2f60df['Hasher'],_0x1ee726=_0x10d118[_0x24e033(0x2e0)],_0x34fd6a=[];(function(){var _0x2093bb=_0x24e033;for(var _0x4b848b=0x0;_0x4b848b<0x40;_0x4b848b++)_0x34fd6a[_0x4b848b]=_0x3fc3e4[_0x2093bb(0x3dc)](_0x3fc3e4[_0x2093bb(0x36c)](_0x4b848b+0x1))*0x100000000|0x0;}());var _0x36c0cc=_0x1ee726[_0x24e033(0x42c)]=_0x533730[_0x24e033(0x39f)]({'_doReset':function(){var _0x435cf8=_0x24e033;this[_0x435cf8(0x2e8)]=new _0x50105f[(_0x435cf8(0x4e1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x104f82,_0x5371e9){var _0x54bbef=_0x24e033;for(var _0x460185=0x0;_0x460185<0x10;_0x460185++){var _0x3c1d59=_0x5371e9+_0x460185,_0x4789ff=_0x104f82[_0x3c1d59];_0x104f82[_0x3c1d59]=(_0x4789ff<<0x8|_0x4789ff>>>0x18)&0xff00ff|(_0x4789ff<<0x18|_0x4789ff>>>0x8)&0xff00ff00;}var _0x2963c2=this['_hash'][_0x54bbef(0x30e)],_0x5efa7c=_0x104f82[_0x5371e9+0x0],_0x316c87=_0x104f82[_0x5371e9+0x1],_0x44ac0b=_0x104f82[_0x5371e9+0x2],_0x4e3a5e=_0x104f82[_0x5371e9+0x3],_0x286b97=_0x104f82[_0x5371e9+0x4],_0x12eda2=_0x104f82[_0x5371e9+0x5],_0x3da290=_0x104f82[_0x5371e9+0x6],_0x1b52d0=_0x104f82[_0x5371e9+0x7],_0x291ea3=_0x104f82[_0x5371e9+0x8],_0x33e7b8=_0x104f82[_0x5371e9+0x9],_0x5a3395=_0x104f82[_0x5371e9+0xa],_0x450eb6=_0x104f82[_0x5371e9+0xb],_0x1c99f0=_0x104f82[_0x5371e9+0xc],_0x27db29=_0x104f82[_0x5371e9+0xd],_0x1cbe5c=_0x104f82[_0x5371e9+0xe],_0xaad0d3=_0x104f82[_0x5371e9+0xf],_0x5aa973=_0x2963c2[0x0],_0x7a1a01=_0x2963c2[0x1],_0x5f4cd3=_0x2963c2[0x2],_0x16907d=_0x2963c2[0x3];_0x5aa973=_0x85e5c7(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5efa7c,0x7,_0x34fd6a[0x0]),_0x16907d=_0x85e5c7(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x316c87,0xc,_0x34fd6a[0x1]),_0x5f4cd3=_0x85e5c7(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x44ac0b,0x11,_0x34fd6a[0x2]),_0x7a1a01=_0x85e5c7(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x4e3a5e,0x16,_0x34fd6a[0x3]),_0x5aa973=_0x85e5c7(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x286b97,0x7,_0x34fd6a[0x4]),_0x16907d=_0x85e5c7(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x12eda2,0xc,_0x34fd6a[0x5]),_0x5f4cd3=_0x85e5c7(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x3da290,0x11,_0x34fd6a[0x6]),_0x7a1a01=_0x85e5c7(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x1b52d0,0x16,_0x34fd6a[0x7]),_0x5aa973=_0x85e5c7(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x291ea3,0x7,_0x34fd6a[0x8]),_0x16907d=_0x85e5c7(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x33e7b8,0xc,_0x34fd6a[0x9]),_0x5f4cd3=_0x85e5c7(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x5a3395,0x11,_0x34fd6a[0xa]),_0x7a1a01=_0x85e5c7(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x450eb6,0x16,_0x34fd6a[0xb]),_0x5aa973=_0x85e5c7(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x1c99f0,0x7,_0x34fd6a[0xc]),_0x16907d=_0x85e5c7(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x27db29,0xc,_0x34fd6a[0xd]),_0x5f4cd3=_0x85e5c7(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x1cbe5c,0x11,_0x34fd6a[0xe]),_0x7a1a01=_0x85e5c7(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0xaad0d3,0x16,_0x34fd6a[0xf]),_0x5aa973=_0x52d114(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x316c87,0x5,_0x34fd6a[0x10]),_0x16907d=_0x52d114(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x3da290,0x9,_0x34fd6a[0x11]),_0x5f4cd3=_0x52d114(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x450eb6,0xe,_0x34fd6a[0x12]),_0x7a1a01=_0x52d114(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x5efa7c,0x14,_0x34fd6a[0x13]),_0x5aa973=_0x52d114(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x12eda2,0x5,_0x34fd6a[0x14]),_0x16907d=_0x52d114(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x5a3395,0x9,_0x34fd6a[0x15]),_0x5f4cd3=_0x52d114(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0xaad0d3,0xe,_0x34fd6a[0x16]),_0x7a1a01=_0x52d114(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x286b97,0x14,_0x34fd6a[0x17]),_0x5aa973=_0x52d114(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x33e7b8,0x5,_0x34fd6a[0x18]),_0x16907d=_0x52d114(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x1cbe5c,0x9,_0x34fd6a[0x19]),_0x5f4cd3=_0x52d114(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x4e3a5e,0xe,_0x34fd6a[0x1a]),_0x7a1a01=_0x52d114(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x291ea3,0x14,_0x34fd6a[0x1b]),_0x5aa973=_0x52d114(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x27db29,0x5,_0x34fd6a[0x1c]),_0x16907d=_0x52d114(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x44ac0b,0x9,_0x34fd6a[0x1d]),_0x5f4cd3=_0x52d114(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x1b52d0,0xe,_0x34fd6a[0x1e]),_0x7a1a01=_0x52d114(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x1c99f0,0x14,_0x34fd6a[0x1f]),_0x5aa973=_0x9010e8(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x12eda2,0x4,_0x34fd6a[0x20]),_0x16907d=_0x9010e8(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x291ea3,0xb,_0x34fd6a[0x21]),_0x5f4cd3=_0x9010e8(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x450eb6,0x10,_0x34fd6a[0x22]),_0x7a1a01=_0x9010e8(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x1cbe5c,0x17,_0x34fd6a[0x23]),_0x5aa973=_0x9010e8(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x316c87,0x4,_0x34fd6a[0x24]),_0x16907d=_0x9010e8(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x286b97,0xb,_0x34fd6a[0x25]),_0x5f4cd3=_0x9010e8(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x1b52d0,0x10,_0x34fd6a[0x26]),_0x7a1a01=_0x9010e8(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x5a3395,0x17,_0x34fd6a[0x27]),_0x5aa973=_0x9010e8(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x27db29,0x4,_0x34fd6a[0x28]),_0x16907d=_0x9010e8(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x5efa7c,0xb,_0x34fd6a[0x29]),_0x5f4cd3=_0x9010e8(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x4e3a5e,0x10,_0x34fd6a[0x2a]),_0x7a1a01=_0x9010e8(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x3da290,0x17,_0x34fd6a[0x2b]),_0x5aa973=_0x9010e8(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x33e7b8,0x4,_0x34fd6a[0x2c]),_0x16907d=_0x9010e8(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x1c99f0,0xb,_0x34fd6a[0x2d]),_0x5f4cd3=_0x9010e8(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0xaad0d3,0x10,_0x34fd6a[0x2e]),_0x7a1a01=_0x9010e8(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x44ac0b,0x17,_0x34fd6a[0x2f]),_0x5aa973=_0x267818(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5efa7c,0x6,_0x34fd6a[0x30]),_0x16907d=_0x267818(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x1b52d0,0xa,_0x34fd6a[0x31]),_0x5f4cd3=_0x267818(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x1cbe5c,0xf,_0x34fd6a[0x32]),_0x7a1a01=_0x267818(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x12eda2,0x15,_0x34fd6a[0x33]),_0x5aa973=_0x267818(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x1c99f0,0x6,_0x34fd6a[0x34]),_0x16907d=_0x267818(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x4e3a5e,0xa,_0x34fd6a[0x35]),_0x5f4cd3=_0x267818(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x5a3395,0xf,_0x34fd6a[0x36]),_0x7a1a01=_0x267818(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x316c87,0x15,_0x34fd6a[0x37]),_0x5aa973=_0x267818(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x291ea3,0x6,_0x34fd6a[0x38]),_0x16907d=_0x267818(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0xaad0d3,0xa,_0x34fd6a[0x39]),_0x5f4cd3=_0x267818(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x3da290,0xf,_0x34fd6a[0x3a]),_0x7a1a01=_0x267818(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x27db29,0x15,_0x34fd6a[0x3b]),_0x5aa973=_0x267818(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x286b97,0x6,_0x34fd6a[0x3c]),_0x16907d=_0x267818(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x450eb6,0xa,_0x34fd6a[0x3d]),_0x5f4cd3=_0x267818(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x44ac0b,0xf,_0x34fd6a[0x3e]),_0x7a1a01=_0x267818(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x33e7b8,0x15,_0x34fd6a[0x3f]),_0x2963c2[0x0]=_0x2963c2[0x0]+_0x5aa973|0x0,_0x2963c2[0x1]=_0x2963c2[0x1]+_0x7a1a01|0x0,_0x2963c2[0x2]=_0x2963c2[0x2]+_0x5f4cd3|0x0,_0x2963c2[0x3]=_0x2963c2[0x3]+_0x16907d|0x0;},'_doFinalize':function(){var _0x1fc3eb=_0x24e033,_0xa7657a=this[_0x1fc3eb(0x465)],_0x3758b3=_0xa7657a[_0x1fc3eb(0x30e)],_0x2f97d1=this[_0x1fc3eb(0x2af)]*0x8,_0x1d6756=_0xa7657a[_0x1fc3eb(0x436)]*0x8;_0x3758b3[_0x1d6756>>>0x5]|=0x80<<0x18-_0x1d6756%0x20;var _0x5e8d10=_0x3fc3e4[_0x1fc3eb(0x1f5)](_0x2f97d1/0x100000000),_0xd5f03=_0x2f97d1;_0x3758b3[(_0x1d6756+0x40>>>0x9<<0x4)+0xf]=(_0x5e8d10<<0x8|_0x5e8d10>>>0x18)&0xff00ff|(_0x5e8d10<<0x18|_0x5e8d10>>>0x8)&0xff00ff00,_0x3758b3[(_0x1d6756+0x40>>>0x9<<0x4)+0xe]=(_0xd5f03<<0x8|_0xd5f03>>>0x18)&0xff00ff|(_0xd5f03<<0x18|_0xd5f03>>>0x8)&0xff00ff00,_0xa7657a[_0x1fc3eb(0x436)]=(_0x3758b3['length']+0x1)*0x4,this[_0x1fc3eb(0x522)]();for(var _0x3b92de=this[_0x1fc3eb(0x2e8)],_0x596ba2=_0x3b92de[_0x1fc3eb(0x30e)],_0xf5aa15=0x0;_0xf5aa15<0x4;_0xf5aa15++){var _0x438658=_0x596ba2[_0xf5aa15];_0x596ba2[_0xf5aa15]=(_0x438658<<0x8|_0x438658>>>0x18)&0xff00ff|(_0x438658<<0x18|_0x438658>>>0x8)&0xff00ff00;}return _0x3b92de;},'clone':function(){var _0x126588=_0x24e033,_0x54989b=_0x533730[_0x126588(0x52e)][_0x126588(0x4c4)](this);return _0x54989b[_0x126588(0x2e8)]=this[_0x126588(0x2e8)][_0x126588(0x52e)](),_0x54989b;}});function _0x85e5c7(_0x57ac71,_0x4bbe79,_0x42e61a,_0x59db22,_0x169d7a,_0xa711d2,_0x5d8b1d){var _0xffbd0c=_0x57ac71+(_0x4bbe79&_0x42e61a|~_0x4bbe79&_0x59db22)+_0x169d7a+_0x5d8b1d;return(_0xffbd0c<<_0xa711d2|_0xffbd0c>>>0x20-_0xa711d2)+_0x4bbe79;}function _0x52d114(_0x1ccb0e,_0x105d7d,_0x28ec5b,_0x21f248,_0x1b70f0,_0x3aa496,_0xac5e8){var _0x54e524=_0x1ccb0e+(_0x105d7d&_0x21f248|_0x28ec5b&~_0x21f248)+_0x1b70f0+_0xac5e8;return(_0x54e524<<_0x3aa496|_0x54e524>>>0x20-_0x3aa496)+_0x105d7d;}function _0x9010e8(_0x163121,_0x278a29,_0xceef0,_0x586fc7,_0x4814d2,_0x36e23c,_0x5a09f9){var _0x34097d=_0x163121+(_0x278a29^_0xceef0^_0x586fc7)+_0x4814d2+_0x5a09f9;return(_0x34097d<<_0x36e23c|_0x34097d>>>0x20-_0x36e23c)+_0x278a29;}function _0x267818(_0x459a7c,_0x11f4f8,_0x4fc4cc,_0x418000,_0x3cf0af,_0x4977f9,_0x5341f0){var _0x5eb133=_0x459a7c+(_0x4fc4cc^(_0x11f4f8|~_0x418000))+_0x3cf0af+_0x5341f0;return(_0x5eb133<<_0x4977f9|_0x5eb133>>>0x20-_0x4977f9)+_0x11f4f8;}_0x10d118[_0x24e033(0x42c)]=_0x533730[_0x24e033(0x3bd)](_0x36c0cc),_0x10d118['HmacMD5']=_0x533730['_createHmacHelper'](_0x36c0cc);}(Math),_0x33656f[_0x564ae8(0x42c)];}));}(_0x32baeb)),_0x32baeb[_0x5e4241(0x375)];}var _0x31c94c={'exports':{}},_0x42392e={'exports':{}},_0x4d2944=_0x42392e[_0x3b85f3(0x375)],_0x530498;function _0x5e943a(){return _0x530498||(_0x530498=0x1,function(_0x2228f2,_0x388caa){(function(_0xe664ea,_0x2240d2){var _0xa2c284=_0x222a;_0x2228f2[_0xa2c284(0x375)]=_0x2240d2(_0x19ebea());}(_0x4d2944,function(_0x3431b1){var _0x21d05d=_0x222a;return(function(){var _0x2b1baf=_0x222a,_0x16bd67=_0x3431b1,_0x5cdcc2=_0x16bd67[_0x2b1baf(0x563)],_0x2cf08d=_0x5cdcc2[_0x2b1baf(0x2de)],_0x3a9b9f=_0x5cdcc2[_0x2b1baf(0x386)],_0x3d8d48=_0x16bd67['algo'],_0x2ee788=[],_0x893ed4=_0x3d8d48[_0x2b1baf(0x29a)]=_0x3a9b9f[_0x2b1baf(0x39f)]({'_doReset':function(){var _0x498a7d=_0x2b1baf;this[_0x498a7d(0x2e8)]=new _0x2cf08d[(_0x498a7d(0x4e1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3ec0c4,_0x35cb92){var _0x4f6ea1=_0x2b1baf;for(var _0x46fce0=this[_0x4f6ea1(0x2e8)]['words'],_0x909a99=_0x46fce0[0x0],_0x21aa88=_0x46fce0[0x1],_0x56a76c=_0x46fce0[0x2],_0x1b0ce3=_0x46fce0[0x3],_0x533956=_0x46fce0[0x4],_0x3c7d32=0x0;_0x3c7d32<0x50;_0x3c7d32++){if(_0x3c7d32<0x10)_0x2ee788[_0x3c7d32]=_0x3ec0c4[_0x35cb92+_0x3c7d32]|0x0;else{var _0x7cc118=_0x2ee788[_0x3c7d32-0x3]^_0x2ee788[_0x3c7d32-0x8]^_0x2ee788[_0x3c7d32-0xe]^_0x2ee788[_0x3c7d32-0x10];_0x2ee788[_0x3c7d32]=_0x7cc118<<0x1|_0x7cc118>>>0x1f;}var _0x12d288=(_0x909a99<<0x5|_0x909a99>>>0x1b)+_0x533956+_0x2ee788[_0x3c7d32];_0x3c7d32<0x14?_0x12d288+=(_0x21aa88&_0x56a76c|~_0x21aa88&_0x1b0ce3)+0x5a827999:_0x3c7d32<0x28?_0x12d288+=(_0x21aa88^_0x56a76c^_0x1b0ce3)+0x6ed9eba1:_0x3c7d32<0x3c?_0x12d288+=(_0x21aa88&_0x56a76c|_0x21aa88&_0x1b0ce3|_0x56a76c&_0x1b0ce3)-0x70e44324:_0x12d288+=(_0x21aa88^_0x56a76c^_0x1b0ce3)-0x359d3e2a,_0x533956=_0x1b0ce3,_0x1b0ce3=_0x56a76c,_0x56a76c=_0x21aa88<<0x1e|_0x21aa88>>>0x2,_0x21aa88=_0x909a99,_0x909a99=_0x12d288;}_0x46fce0[0x0]=_0x46fce0[0x0]+_0x909a99|0x0,_0x46fce0[0x1]=_0x46fce0[0x1]+_0x21aa88|0x0,_0x46fce0[0x2]=_0x46fce0[0x2]+_0x56a76c|0x0,_0x46fce0[0x3]=_0x46fce0[0x3]+_0x1b0ce3|0x0,_0x46fce0[0x4]=_0x46fce0[0x4]+_0x533956|0x0;},'_doFinalize':function(){var _0x664fa5=_0x2b1baf,_0x269077=this['_data'],_0x36886e=_0x269077[_0x664fa5(0x30e)],_0x2490af=this[_0x664fa5(0x2af)]*0x8,_0x307a26=_0x269077[_0x664fa5(0x436)]*0x8;return _0x36886e[_0x307a26>>>0x5]|=0x80<<0x18-_0x307a26%0x20,_0x36886e[(_0x307a26+0x40>>>0x9<<0x4)+0xe]=Math[_0x664fa5(0x1f5)](_0x2490af/0x100000000),_0x36886e[(_0x307a26+0x40>>>0x9<<0x4)+0xf]=_0x2490af,_0x269077[_0x664fa5(0x436)]=_0x36886e[_0x664fa5(0x24a)]*0x4,this[_0x664fa5(0x522)](),this['_hash'];},'clone':function(){var _0x181935=_0x2b1baf,_0x53ce43=_0x3a9b9f[_0x181935(0x52e)][_0x181935(0x4c4)](this);return _0x53ce43[_0x181935(0x2e8)]=this[_0x181935(0x2e8)][_0x181935(0x52e)](),_0x53ce43;}});_0x16bd67[_0x2b1baf(0x29a)]=_0x3a9b9f['_createHelper'](_0x893ed4),_0x16bd67[_0x2b1baf(0x35f)]=_0x3a9b9f[_0x2b1baf(0x54d)](_0x893ed4);}()),_0x3431b1[_0x21d05d(0x29a)];}));}(_0x42392e)),_0x42392e['exports'];}var _0x24aa0e={'exports':{}},_0x4c0aee=_0x24aa0e[_0x3b85f3(0x375)],_0x288d21;function _0x5c392a(){var _0x1ae4b0=_0x3b85f3;return _0x288d21||(_0x288d21=0x1,function(_0x326529,_0x3a878e){(function(_0x3992da,_0x45399a){var _0xcce024=_0x222a;_0x326529[_0xcce024(0x375)]=_0x45399a(_0x19ebea());}(_0x4c0aee,function(_0x4ee675){(function(){var _0x48ab55=_0x222a,_0x46c251=_0x4ee675,_0x179650=_0x46c251['lib'],_0x4bbb0f=_0x179650[_0x48ab55(0x511)],_0x9722e8=_0x46c251[_0x48ab55(0x344)],_0x6bc1c8=_0x9722e8[_0x48ab55(0x286)],_0x5e96ce=_0x46c251[_0x48ab55(0x2e0)];_0x5e96ce[_0x48ab55(0x50a)]=_0x4bbb0f[_0x48ab55(0x39f)]({'init':function(_0x59d148,_0x1215a5){var _0x58d232=_0x48ab55;_0x59d148=this[_0x58d232(0x3a8)]=new _0x59d148[(_0x58d232(0x4e1))](),typeof _0x1215a5==_0x58d232(0x2f5)&&(_0x1215a5=_0x6bc1c8[_0x58d232(0x2a8)](_0x1215a5));var _0x7c3b51=_0x59d148[_0x58d232(0x20f)],_0x3d3385=_0x7c3b51*0x4;_0x1215a5['sigBytes']>_0x3d3385&&(_0x1215a5=_0x59d148[_0x58d232(0x411)](_0x1215a5)),_0x1215a5[_0x58d232(0x405)]();for(var _0x32a073=this['_oKey']=_0x1215a5[_0x58d232(0x52e)](),_0x235868=this[_0x58d232(0x4ed)]=_0x1215a5[_0x58d232(0x52e)](),_0x3ffd29=_0x32a073[_0x58d232(0x30e)],_0x23e030=_0x235868['words'],_0x191222=0x0;_0x191222<_0x7c3b51;_0x191222++)_0x3ffd29[_0x191222]^=0x5c5c5c5c,_0x23e030[_0x191222]^=0x36363636;_0x32a073[_0x58d232(0x436)]=_0x235868[_0x58d232(0x436)]=_0x3d3385,this[_0x58d232(0x1cd)]();},'reset':function(){var _0x3d3e4a=_0x48ab55,_0x14a7b9=this['_hasher'];_0x14a7b9[_0x3d3e4a(0x1cd)](),_0x14a7b9['update'](this[_0x3d3e4a(0x4ed)]);},'update':function(_0x4cb2a1){var _0x2ce77a=_0x48ab55;return this[_0x2ce77a(0x3a8)][_0x2ce77a(0x2a4)](_0x4cb2a1),this;},'finalize':function(_0x352084){var _0x3b7d97=_0x48ab55,_0x4dd113=this['_hasher'],_0x2f1a44=_0x4dd113[_0x3b7d97(0x411)](_0x352084);_0x4dd113['reset']();var _0x17689b=_0x4dd113[_0x3b7d97(0x411)](this['_oKey'][_0x3b7d97(0x52e)]()[_0x3b7d97(0x211)](_0x2f1a44));return _0x17689b;}});}());}));}(_0x24aa0e)),_0x24aa0e[_0x1ae4b0(0x375)];}var _0x54368c=_0x31c94c[_0x3b85f3(0x375)],_0x3f6bae;function _0x3e1602(){var _0x38b7fd=_0x3b85f3;return _0x3f6bae||(_0x3f6bae=0x1,function(_0x2c9faa,_0xc4b40d){(function(_0xb92433,_0x484081,_0x54704b){var _0x49a572=_0x222a;_0x2c9faa[_0x49a572(0x375)]=_0x484081(_0x19ebea(),_0x5e943a(),_0x5c392a());}(_0x54368c,function(_0x3feb62){var _0x81d86d=_0x222a;return(function(){var _0xce3477=_0x222a,_0x4e5b45=_0x3feb62,_0x157bf0=_0x4e5b45[_0xce3477(0x563)],_0x7c8e6d=_0x157bf0[_0xce3477(0x511)],_0xdb06d1=_0x157bf0[_0xce3477(0x2de)],_0x5a20db=_0x4e5b45[_0xce3477(0x2e0)],_0x5128e7=_0x5a20db[_0xce3477(0x42c)],_0x4e0f57=_0x5a20db[_0xce3477(0x470)]=_0x7c8e6d[_0xce3477(0x39f)]({'cfg':_0x7c8e6d[_0xce3477(0x39f)]({'keySize':0x80/0x20,'hasher':_0x5128e7,'iterations':0x1}),'init':function(_0x464ada){var _0x499456=_0xce3477;this[_0x499456(0x252)]=this['cfg'][_0x499456(0x39f)](_0x464ada);},'compute':function(_0x2bde7b,_0x444974){var _0x14a63c=_0xce3477;for(var _0x2fede4,_0x87032d=this[_0x14a63c(0x252)],_0x44ad59=_0x87032d[_0x14a63c(0x2fb)][_0x14a63c(0x444)](),_0xebc9bf=_0xdb06d1[_0x14a63c(0x444)](),_0x426143=_0xebc9bf['words'],_0x2c4ae7=_0x87032d['keySize'],_0x14ad5e=_0x87032d[_0x14a63c(0x339)];_0x426143[_0x14a63c(0x24a)]<_0x2c4ae7;){_0x2fede4&&_0x44ad59[_0x14a63c(0x2a4)](_0x2fede4),_0x2fede4=_0x44ad59['update'](_0x2bde7b)[_0x14a63c(0x411)](_0x444974),_0x44ad59[_0x14a63c(0x1cd)]();for(var _0x2be184=0x1;_0x2be184<_0x14ad5e;_0x2be184++)_0x2fede4=_0x44ad59['finalize'](_0x2fede4),_0x44ad59[_0x14a63c(0x1cd)]();_0xebc9bf['concat'](_0x2fede4);}return _0xebc9bf['sigBytes']=_0x2c4ae7*0x4,_0xebc9bf;}});_0x4e5b45[_0xce3477(0x470)]=function(_0x322077,_0x50af01,_0x3eadaa){var _0x39cb1b=_0xce3477;return _0x4e0f57[_0x39cb1b(0x444)](_0x3eadaa)['compute'](_0x322077,_0x50af01);};}()),_0x3feb62[_0x81d86d(0x470)];}));}(_0x31c94c)),_0x31c94c[_0x38b7fd(0x375)];}var _0x2ccee7={'exports':{}},_0x49d383=_0x2ccee7['exports'],_0x37cb56;function _0x3d46bc(){var _0x418fe5=_0x3b85f3;return _0x37cb56||(_0x37cb56=0x1,function(_0x559d1d,_0xe1779a){(function(_0x97fd67,_0x15c185,_0x4524a0){var _0xb16a3=_0x222a;_0x559d1d[_0xb16a3(0x375)]=_0x15c185(_0x19ebea(),_0x3e1602());}(_0x49d383,function(_0x3d1381){var _0x273f8e=_0x222a;_0x3d1381[_0x273f8e(0x563)][_0x273f8e(0x52a)]||function(_0x52daa5){var _0x1c7ee7=_0x273f8e,_0x4be53e=_0x3d1381,_0x16d229=_0x4be53e[_0x1c7ee7(0x563)],_0x5afe0e=_0x16d229['Base'],_0x205607=_0x16d229[_0x1c7ee7(0x2de)],_0xdde14d=_0x16d229[_0x1c7ee7(0x437)],_0x443b58=_0x4be53e[_0x1c7ee7(0x344)];_0x443b58[_0x1c7ee7(0x286)];var _0xfec7f7=_0x443b58[_0x1c7ee7(0x3e6)],_0x4610d5=_0x4be53e['algo'],_0x20a66a=_0x4610d5[_0x1c7ee7(0x470)],_0x27b764=_0x16d229[_0x1c7ee7(0x52a)]=_0xdde14d[_0x1c7ee7(0x39f)]({'cfg':_0x5afe0e['extend'](),'createEncryptor':function(_0x2ec2a4,_0x3e3ed0){var _0x3a9854=_0x1c7ee7;return this[_0x3a9854(0x444)](this[_0x3a9854(0x47a)],_0x2ec2a4,_0x3e3ed0);},'createDecryptor':function(_0x5544a2,_0xce5d6f){var _0xf8f760=_0x1c7ee7;return this[_0xf8f760(0x444)](this[_0xf8f760(0x52b)],_0x5544a2,_0xce5d6f);},'init':function(_0x299def,_0x1aa7b6,_0x269b38){var _0x5296b5=_0x1c7ee7;this[_0x5296b5(0x252)]=this[_0x5296b5(0x252)]['extend'](_0x269b38),this[_0x5296b5(0x51e)]=_0x299def,this['_key']=_0x1aa7b6,this['reset']();},'reset':function(){var _0x4ee7cf=_0x1c7ee7;_0xdde14d[_0x4ee7cf(0x1cd)][_0x4ee7cf(0x4c4)](this),this[_0x4ee7cf(0x208)]();},'process':function(_0x5090db){var _0xc9038=_0x1c7ee7;return this[_0xc9038(0x3f6)](_0x5090db),this['_process']();},'finalize':function(_0x30ec6c){var _0x12377e=_0x1c7ee7;_0x30ec6c&&this[_0x12377e(0x3f6)](_0x30ec6c);var _0x251687=this[_0x12377e(0x490)]();return _0x251687;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2bfbfd(_0x489e18){var _0x1a338e=_0x222a;return typeof _0x489e18==_0x1a338e(0x2f5)?_0x4512f5:_0x505643;}return function(_0x139f32){return{'encrypt':function(_0x1b3e16,_0x414256,_0x52b338){var _0x1adbb3=_0x222a;return _0x2bfbfd(_0x414256)[_0x1adbb3(0x43c)](_0x139f32,_0x1b3e16,_0x414256,_0x52b338);},'decrypt':function(_0x29f3e9,_0x490c72,_0x2e9b24){var _0x2b6fb1=_0x222a;return _0x2bfbfd(_0x490c72)[_0x2b6fb1(0x379)](_0x139f32,_0x29f3e9,_0x490c72,_0x2e9b24);}};};}())});_0x16d229['StreamCipher']=_0x27b764[_0x1c7ee7(0x39f)]({'_doFinalize':function(){var _0x417868=_0x1c7ee7,_0x1f1b34=this[_0x417868(0x522)](!0x0);return _0x1f1b34;},'blockSize':0x1});var _0x36bcb3=_0x4be53e[_0x1c7ee7(0x28e)]={},_0x21bdd1=_0x16d229[_0x1c7ee7(0x538)]=_0x5afe0e[_0x1c7ee7(0x39f)]({'createEncryptor':function(_0x4fa23d,_0x13b503){var _0x1694ca=_0x1c7ee7;return this[_0x1694ca(0x394)]['create'](_0x4fa23d,_0x13b503);},'createDecryptor':function(_0x5b4efc,_0x4f3731){var _0x391f64=_0x1c7ee7;return this[_0x391f64(0x38f)][_0x391f64(0x444)](_0x5b4efc,_0x4f3731);},'init':function(_0x1acbd9,_0x33fff1){var _0xa3fcbd=_0x1c7ee7;this[_0xa3fcbd(0x361)]=_0x1acbd9,this[_0xa3fcbd(0x26b)]=_0x33fff1;}}),_0x2f06e3=_0x36bcb3['CBC']=(function(){var _0x368320=_0x1c7ee7,_0x52a24a=_0x21bdd1[_0x368320(0x39f)]();_0x52a24a[_0x368320(0x394)]=_0x52a24a[_0x368320(0x39f)]({'processBlock':function(_0x758a5c,_0x112459){var _0x337508=_0x368320,_0x506718=this[_0x337508(0x361)],_0x54db51=_0x506718['blockSize'];_0x2b1cdf[_0x337508(0x4c4)](this,_0x758a5c,_0x112459,_0x54db51),_0x506718[_0x337508(0x3b7)](_0x758a5c,_0x112459),this['_prevBlock']=_0x758a5c[_0x337508(0x3db)](_0x112459,_0x112459+_0x54db51);}}),_0x52a24a['Decryptor']=_0x52a24a[_0x368320(0x39f)]({'processBlock':function(_0x3f3260,_0x237f02){var _0x5a7681=_0x368320,_0x1decfa=this['_cipher'],_0x57d210=_0x1decfa['blockSize'],_0x3b5cd4=_0x3f3260['slice'](_0x237f02,_0x237f02+_0x57d210);_0x1decfa[_0x5a7681(0x259)](_0x3f3260,_0x237f02),_0x2b1cdf[_0x5a7681(0x4c4)](this,_0x3f3260,_0x237f02,_0x57d210),this[_0x5a7681(0x27c)]=_0x3b5cd4;}});function _0x2b1cdf(_0x3716a1,_0x3656a9,_0x2f8001){var _0x44ea59=_0x368320,_0x427923,_0x30b60a=this[_0x44ea59(0x26b)];_0x30b60a?(_0x427923=_0x30b60a,this[_0x44ea59(0x26b)]=_0x52daa5):_0x427923=this['_prevBlock'];for(var _0x5e4702=0x0;_0x5e4702<_0x2f8001;_0x5e4702++)_0x3716a1[_0x3656a9+_0x5e4702]^=_0x427923[_0x5e4702];}return _0x52a24a;}()),_0x12addb=_0x4be53e['pad']={},_0xccd6ad=_0x12addb['Pkcs7']={'pad':function(_0x18c213,_0x5c2155){var _0x9844d4=_0x1c7ee7;for(var _0x4fbf32=_0x5c2155*0x4,_0x2a6ecd=_0x4fbf32-_0x18c213[_0x9844d4(0x436)]%_0x4fbf32,_0x2ccd27=_0x2a6ecd<<0x18|_0x2a6ecd<<0x10|_0x2a6ecd<<0x8|_0x2a6ecd,_0x29ba44=[],_0x174aa0=0x0;_0x174aa0<_0x2a6ecd;_0x174aa0+=0x4)_0x29ba44[_0x9844d4(0x2cd)](_0x2ccd27);var _0x3f33e0=_0x205607['create'](_0x29ba44,_0x2a6ecd);_0x18c213[_0x9844d4(0x211)](_0x3f33e0);},'unpad':function(_0x1d835d){var _0x54b0ee=_0x1c7ee7,_0x223cf5=_0x1d835d[_0x54b0ee(0x30e)][_0x1d835d[_0x54b0ee(0x436)]-0x1>>>0x2]&0xff;_0x1d835d['sigBytes']-=_0x223cf5;}};_0x16d229['BlockCipher']=_0x27b764[_0x1c7ee7(0x39f)]({'cfg':_0x27b764[_0x1c7ee7(0x252)][_0x1c7ee7(0x39f)]({'mode':_0x2f06e3,'padding':_0xccd6ad}),'reset':function(){var _0x48155e=_0x1c7ee7,_0x5ba3f0;_0x27b764['reset'][_0x48155e(0x4c4)](this);var _0x5ed6d4=this[_0x48155e(0x252)],_0x44f61c=_0x5ed6d4['iv'],_0x104ef6=_0x5ed6d4['mode'];this[_0x48155e(0x51e)]==this[_0x48155e(0x47a)]?_0x5ba3f0=_0x104ef6[_0x48155e(0x2c3)]:(_0x5ba3f0=_0x104ef6['createDecryptor'],this[_0x48155e(0x417)]=0x1),this[_0x48155e(0x3b6)]&&this[_0x48155e(0x3b6)]['__creator']==_0x5ba3f0?this[_0x48155e(0x3b6)][_0x48155e(0x4e1)](this,_0x44f61c&&_0x44f61c[_0x48155e(0x30e)]):(this[_0x48155e(0x3b6)]=_0x5ba3f0[_0x48155e(0x4c4)](_0x104ef6,this,_0x44f61c&&_0x44f61c['words']),this['_mode'][_0x48155e(0x2aa)]=_0x5ba3f0);},'_doProcessBlock':function(_0x1e2e9b,_0x39e311){var _0x43f6ab=_0x1c7ee7;this[_0x43f6ab(0x3b6)]['processBlock'](_0x1e2e9b,_0x39e311);},'_doFinalize':function(){var _0xce7dce=_0x1c7ee7,_0x478f48,_0x3715f6=this[_0xce7dce(0x252)][_0xce7dce(0x2ae)];return this['_xformMode']==this[_0xce7dce(0x47a)]?(_0x3715f6[_0xce7dce(0x388)](this[_0xce7dce(0x465)],this[_0xce7dce(0x20f)]),_0x478f48=this[_0xce7dce(0x522)](!0x0)):(_0x478f48=this[_0xce7dce(0x522)](!0x0),_0x3715f6['unpad'](_0x478f48)),_0x478f48;},'blockSize':0x80/0x20});var _0x145d08=_0x16d229[_0x1c7ee7(0x327)]=_0x5afe0e[_0x1c7ee7(0x39f)]({'init':function(_0x366964){var _0x2326f5=_0x1c7ee7;this[_0x2326f5(0x27b)](_0x366964);},'toString':function(_0x27b9d6){var _0x5adc3b=_0x1c7ee7;return(_0x27b9d6||this[_0x5adc3b(0x1f3)])[_0x5adc3b(0x3ff)](this);}}),_0x20e429=_0x4be53e[_0x1c7ee7(0x501)]={},_0x598eab=_0x20e429[_0x1c7ee7(0x314)]={'stringify':function(_0x407691){var _0x546ca6=_0x1c7ee7,_0x336458,_0x538513=_0x407691[_0x546ca6(0x21f)],_0x4632dc=_0x407691[_0x546ca6(0x517)];return _0x4632dc?_0x336458=_0x205607[_0x546ca6(0x444)]([0x53616c74,0x65645f5f])[_0x546ca6(0x211)](_0x4632dc)[_0x546ca6(0x211)](_0x538513):_0x336458=_0x538513,_0x336458[_0x546ca6(0x3f5)](_0xfec7f7);},'parse':function(_0x15d01b){var _0x28f446=_0x1c7ee7,_0x2c2ec4,_0x5bc657=_0xfec7f7[_0x28f446(0x2a8)](_0x15d01b),_0x214250=_0x5bc657['words'];return _0x214250[0x0]==0x53616c74&&_0x214250[0x1]==0x65645f5f&&(_0x2c2ec4=_0x205607[_0x28f446(0x444)](_0x214250[_0x28f446(0x3db)](0x2,0x4)),_0x214250[_0x28f446(0x4ca)](0x0,0x4),_0x5bc657[_0x28f446(0x436)]-=0x10),_0x145d08[_0x28f446(0x444)]({'ciphertext':_0x5bc657,'salt':_0x2c2ec4});}},_0x505643=_0x16d229[_0x1c7ee7(0x3a0)]=_0x5afe0e[_0x1c7ee7(0x39f)]({'cfg':_0x5afe0e[_0x1c7ee7(0x39f)]({'format':_0x598eab}),'encrypt':function(_0x2cb55c,_0x37e538,_0x428155,_0x500d33){var _0x5face6=_0x1c7ee7;_0x500d33=this[_0x5face6(0x252)]['extend'](_0x500d33);var _0x4406d2=_0x2cb55c[_0x5face6(0x2c3)](_0x428155,_0x500d33),_0x179cdb=_0x4406d2['finalize'](_0x37e538),_0xb0d1c4=_0x4406d2[_0x5face6(0x252)];return _0x145d08[_0x5face6(0x444)]({'ciphertext':_0x179cdb,'key':_0x428155,'iv':_0xb0d1c4['iv'],'algorithm':_0x2cb55c,'mode':_0xb0d1c4[_0x5face6(0x28e)],'padding':_0xb0d1c4[_0x5face6(0x2ae)],'blockSize':_0x2cb55c[_0x5face6(0x20f)],'formatter':_0x500d33[_0x5face6(0x501)]});},'decrypt':function(_0x12b015,_0x23b0be,_0xa9d37f,_0xe29a7c){var _0x221de7=_0x1c7ee7;_0xe29a7c=this[_0x221de7(0x252)][_0x221de7(0x39f)](_0xe29a7c),_0x23b0be=this[_0x221de7(0x40b)](_0x23b0be,_0xe29a7c[_0x221de7(0x501)]);var _0x1774aa=_0x12b015['createDecryptor'](_0xa9d37f,_0xe29a7c)['finalize'](_0x23b0be[_0x221de7(0x21f)]);return _0x1774aa;},'_parse':function(_0x516f25,_0x719ffb){var _0x454e52=_0x1c7ee7;return typeof _0x516f25=='string'?_0x719ffb[_0x454e52(0x2a8)](_0x516f25,this):_0x516f25;}}),_0x228118=_0x4be53e['kdf']={},_0x1f9e95=_0x228118['OpenSSL']={'execute':function(_0x5d7d1a,_0x293a8e,_0x439de6,_0x24c578,_0x5d8b95){var _0x22c098=_0x1c7ee7;if(_0x24c578||(_0x24c578=_0x205607[_0x22c098(0x1ce)](0x40/0x8)),_0x5d8b95)var _0x10dee6=_0x20a66a['create']({'keySize':_0x293a8e+_0x439de6,'hasher':_0x5d8b95})['compute'](_0x5d7d1a,_0x24c578);else var _0x10dee6=_0x20a66a[_0x22c098(0x444)]({'keySize':_0x293a8e+_0x439de6})[_0x22c098(0x545)](_0x5d7d1a,_0x24c578);var _0x561e3f=_0x205607['create'](_0x10dee6[_0x22c098(0x30e)][_0x22c098(0x3db)](_0x293a8e),_0x439de6*0x4);return _0x10dee6[_0x22c098(0x436)]=_0x293a8e*0x4,_0x145d08['create']({'key':_0x10dee6,'iv':_0x561e3f,'salt':_0x24c578});}},_0x4512f5=_0x16d229[_0x1c7ee7(0x203)]=_0x505643[_0x1c7ee7(0x39f)]({'cfg':_0x505643['cfg'][_0x1c7ee7(0x39f)]({'kdf':_0x1f9e95}),'encrypt':function(_0x4838ac,_0x3aba8b,_0x36d148,_0xcbaafd){var _0x1bd9b5=_0x1c7ee7;_0xcbaafd=this[_0x1bd9b5(0x252)]['extend'](_0xcbaafd);var _0x5c756f=_0xcbaafd['kdf'][_0x1bd9b5(0x412)](_0x36d148,_0x4838ac['keySize'],_0x4838ac[_0x1bd9b5(0x29c)],_0xcbaafd[_0x1bd9b5(0x517)],_0xcbaafd[_0x1bd9b5(0x2fb)]);_0xcbaafd['iv']=_0x5c756f['iv'];var _0x1f1cf7=_0x505643[_0x1bd9b5(0x43c)][_0x1bd9b5(0x4c4)](this,_0x4838ac,_0x3aba8b,_0x5c756f['key'],_0xcbaafd);return _0x1f1cf7[_0x1bd9b5(0x27b)](_0x5c756f),_0x1f1cf7;},'decrypt':function(_0x400e6d,_0x5892fb,_0x54931e,_0x38d831){var _0x410763=_0x1c7ee7;_0x38d831=this['cfg'][_0x410763(0x39f)](_0x38d831),_0x5892fb=this[_0x410763(0x40b)](_0x5892fb,_0x38d831[_0x410763(0x501)]);var _0x4c3048=_0x38d831['kdf'][_0x410763(0x412)](_0x54931e,_0x400e6d[_0x410763(0x21e)],_0x400e6d[_0x410763(0x29c)],_0x5892fb[_0x410763(0x517)],_0x38d831['hasher']);_0x38d831['iv']=_0x4c3048['iv'];var _0xef3df6=_0x505643[_0x410763(0x379)]['call'](this,_0x400e6d,_0x5892fb,_0x4c3048[_0x410763(0x559)],_0x38d831);return _0xef3df6;}});}();}));}(_0x2ccee7)),_0x2ccee7[_0x418fe5(0x375)];}var _0x157c7f=_0x1ef8e4[_0x3b85f3(0x375)],_0x43271c;function _0x1c4b92(){return _0x43271c||(_0x43271c=0x1,function(_0x7f8d19,_0x4952fc){(function(_0xf7aa9b,_0xf4e752,_0x561b37){_0x7f8d19['exports']=_0xf4e752(_0x19ebea(),_0x2e66f6(),_0x1cda65(),_0x3e1602(),_0x3d46bc());}(_0x157c7f,function(_0x3284ca){var _0x137da8=_0x222a;return(function(){var _0x18c2e3=_0x222a,_0x533a94=_0x3284ca,_0x57dc3a=_0x533a94[_0x18c2e3(0x563)],_0x5966a0=_0x57dc3a['BlockCipher'],_0x41700e=_0x533a94['algo'],_0x1834c4=[],_0x536ffc=[],_0x2ea63e=[],_0x5a8b55=[],_0x1da941=[],_0x5f3fc9=[],_0x579f98=[],_0x4bcc3d=[],_0xddfa7d=[],_0x5f4c3a=[];(function(){for(var _0x46256e=[],_0x414521=0x0;_0x414521<0x100;_0x414521++)_0x414521<0x80?_0x46256e[_0x414521]=_0x414521<<0x1:_0x46256e[_0x414521]=_0x414521<<0x1^0x11b;for(var _0x391964=0x0,_0x5abe73=0x0,_0x414521=0x0;_0x414521<0x100;_0x414521++){var _0x1a9478=_0x5abe73^_0x5abe73<<0x1^_0x5abe73<<0x2^_0x5abe73<<0x3^_0x5abe73<<0x4;_0x1a9478=_0x1a9478>>>0x8^_0x1a9478&0xff^0x63,_0x1834c4[_0x391964]=_0x1a9478,_0x536ffc[_0x1a9478]=_0x391964;var _0x9052=_0x46256e[_0x391964],_0x59fc75=_0x46256e[_0x9052],_0x4f307f=_0x46256e[_0x59fc75],_0x12a864=_0x46256e[_0x1a9478]*0x101^_0x1a9478*0x1010100;_0x2ea63e[_0x391964]=_0x12a864<<0x18|_0x12a864>>>0x8,_0x5a8b55[_0x391964]=_0x12a864<<0x10|_0x12a864>>>0x10,_0x1da941[_0x391964]=_0x12a864<<0x8|_0x12a864>>>0x18,_0x5f3fc9[_0x391964]=_0x12a864;var _0x12a864=_0x4f307f*0x1010101^_0x59fc75*0x10001^_0x9052*0x101^_0x391964*0x1010100;_0x579f98[_0x1a9478]=_0x12a864<<0x18|_0x12a864>>>0x8,_0x4bcc3d[_0x1a9478]=_0x12a864<<0x10|_0x12a864>>>0x10,_0xddfa7d[_0x1a9478]=_0x12a864<<0x8|_0x12a864>>>0x18,_0x5f4c3a[_0x1a9478]=_0x12a864,_0x391964?(_0x391964=_0x9052^_0x46256e[_0x46256e[_0x46256e[_0x4f307f^_0x9052]]],_0x5abe73^=_0x46256e[_0x46256e[_0x5abe73]]):_0x391964=_0x5abe73=0x1;}}());var _0x5dbc50=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x301e81=_0x41700e['AES']=_0x5966a0[_0x18c2e3(0x39f)]({'_doReset':function(){var _0x1b047f=_0x18c2e3,_0x14d79f;if(!(this[_0x1b047f(0x1fa)]&&this['_keyPriorReset']===this['_key'])){for(var _0x39e5f3=this[_0x1b047f(0x461)]=this[_0x1b047f(0x420)],_0x577c8c=_0x39e5f3[_0x1b047f(0x30e)],_0x4b0ee9=_0x39e5f3[_0x1b047f(0x436)]/0x4,_0x2ae7e0=this[_0x1b047f(0x1fa)]=_0x4b0ee9+0x6,_0x1e8296=(_0x2ae7e0+0x1)*0x4,_0x4f9ab8=this['_keySchedule']=[],_0x3bdd6b=0x0;_0x3bdd6b<_0x1e8296;_0x3bdd6b++)_0x3bdd6b<_0x4b0ee9?_0x4f9ab8[_0x3bdd6b]=_0x577c8c[_0x3bdd6b]:(_0x14d79f=_0x4f9ab8[_0x3bdd6b-0x1],_0x3bdd6b%_0x4b0ee9?_0x4b0ee9>0x6&&_0x3bdd6b%_0x4b0ee9==0x4&&(_0x14d79f=_0x1834c4[_0x14d79f>>>0x18]<<0x18|_0x1834c4[_0x14d79f>>>0x10&0xff]<<0x10|_0x1834c4[_0x14d79f>>>0x8&0xff]<<0x8|_0x1834c4[_0x14d79f&0xff]):(_0x14d79f=_0x14d79f<<0x8|_0x14d79f>>>0x18,_0x14d79f=_0x1834c4[_0x14d79f>>>0x18]<<0x18|_0x1834c4[_0x14d79f>>>0x10&0xff]<<0x10|_0x1834c4[_0x14d79f>>>0x8&0xff]<<0x8|_0x1834c4[_0x14d79f&0xff],_0x14d79f^=_0x5dbc50[_0x3bdd6b/_0x4b0ee9|0x0]<<0x18),_0x4f9ab8[_0x3bdd6b]=_0x4f9ab8[_0x3bdd6b-_0x4b0ee9]^_0x14d79f);for(var _0x505ac7=this[_0x1b047f(0x1df)]=[],_0x27aa20=0x0;_0x27aa20<_0x1e8296;_0x27aa20++){var _0x3bdd6b=_0x1e8296-_0x27aa20;if(_0x27aa20%0x4)var _0x14d79f=_0x4f9ab8[_0x3bdd6b];else var _0x14d79f=_0x4f9ab8[_0x3bdd6b-0x4];_0x27aa20<0x4||_0x3bdd6b<=0x4?_0x505ac7[_0x27aa20]=_0x14d79f:_0x505ac7[_0x27aa20]=_0x579f98[_0x1834c4[_0x14d79f>>>0x18]]^_0x4bcc3d[_0x1834c4[_0x14d79f>>>0x10&0xff]]^_0xddfa7d[_0x1834c4[_0x14d79f>>>0x8&0xff]]^_0x5f4c3a[_0x1834c4[_0x14d79f&0xff]];}}},'encryptBlock':function(_0x4ff294,_0x2f79dd){var _0xa3737=_0x18c2e3;this[_0xa3737(0x564)](_0x4ff294,_0x2f79dd,this[_0xa3737(0x40c)],_0x2ea63e,_0x5a8b55,_0x1da941,_0x5f3fc9,_0x1834c4);},'decryptBlock':function(_0x1a8420,_0xe337a8){var _0x44b5e1=_0x18c2e3,_0x14c9fb=_0x1a8420[_0xe337a8+0x1];_0x1a8420[_0xe337a8+0x1]=_0x1a8420[_0xe337a8+0x3],_0x1a8420[_0xe337a8+0x3]=_0x14c9fb,this[_0x44b5e1(0x564)](_0x1a8420,_0xe337a8,this[_0x44b5e1(0x1df)],_0x579f98,_0x4bcc3d,_0xddfa7d,_0x5f4c3a,_0x536ffc);var _0x14c9fb=_0x1a8420[_0xe337a8+0x1];_0x1a8420[_0xe337a8+0x1]=_0x1a8420[_0xe337a8+0x3],_0x1a8420[_0xe337a8+0x3]=_0x14c9fb;},'_doCryptBlock':function(_0x3b6ca2,_0xaa2e7d,_0x3e219f,_0x4479f5,_0x3e39a7,_0x36d052,_0x3ca283,_0x48aa6e){var _0x3d0ec5=_0x18c2e3;for(var _0x5e0c62=this[_0x3d0ec5(0x1fa)],_0x4edb66=_0x3b6ca2[_0xaa2e7d]^_0x3e219f[0x0],_0x58a375=_0x3b6ca2[_0xaa2e7d+0x1]^_0x3e219f[0x1],_0x380fd8=_0x3b6ca2[_0xaa2e7d+0x2]^_0x3e219f[0x2],_0x373d89=_0x3b6ca2[_0xaa2e7d+0x3]^_0x3e219f[0x3],_0x107f82=0x4,_0x5db816=0x1;_0x5db816<_0x5e0c62;_0x5db816++){var _0x17e8d8=_0x4479f5[_0x4edb66>>>0x18]^_0x3e39a7[_0x58a375>>>0x10&0xff]^_0x36d052[_0x380fd8>>>0x8&0xff]^_0x3ca283[_0x373d89&0xff]^_0x3e219f[_0x107f82++],_0x323729=_0x4479f5[_0x58a375>>>0x18]^_0x3e39a7[_0x380fd8>>>0x10&0xff]^_0x36d052[_0x373d89>>>0x8&0xff]^_0x3ca283[_0x4edb66&0xff]^_0x3e219f[_0x107f82++],_0xa70611=_0x4479f5[_0x380fd8>>>0x18]^_0x3e39a7[_0x373d89>>>0x10&0xff]^_0x36d052[_0x4edb66>>>0x8&0xff]^_0x3ca283[_0x58a375&0xff]^_0x3e219f[_0x107f82++],_0xad07b4=_0x4479f5[_0x373d89>>>0x18]^_0x3e39a7[_0x4edb66>>>0x10&0xff]^_0x36d052[_0x58a375>>>0x8&0xff]^_0x3ca283[_0x380fd8&0xff]^_0x3e219f[_0x107f82++];_0x4edb66=_0x17e8d8,_0x58a375=_0x323729,_0x380fd8=_0xa70611,_0x373d89=_0xad07b4;}var _0x17e8d8=(_0x48aa6e[_0x4edb66>>>0x18]<<0x18|_0x48aa6e[_0x58a375>>>0x10&0xff]<<0x10|_0x48aa6e[_0x380fd8>>>0x8&0xff]<<0x8|_0x48aa6e[_0x373d89&0xff])^_0x3e219f[_0x107f82++],_0x323729=(_0x48aa6e[_0x58a375>>>0x18]<<0x18|_0x48aa6e[_0x380fd8>>>0x10&0xff]<<0x10|_0x48aa6e[_0x373d89>>>0x8&0xff]<<0x8|_0x48aa6e[_0x4edb66&0xff])^_0x3e219f[_0x107f82++],_0xa70611=(_0x48aa6e[_0x380fd8>>>0x18]<<0x18|_0x48aa6e[_0x373d89>>>0x10&0xff]<<0x10|_0x48aa6e[_0x4edb66>>>0x8&0xff]<<0x8|_0x48aa6e[_0x58a375&0xff])^_0x3e219f[_0x107f82++],_0xad07b4=(_0x48aa6e[_0x373d89>>>0x18]<<0x18|_0x48aa6e[_0x4edb66>>>0x10&0xff]<<0x10|_0x48aa6e[_0x58a375>>>0x8&0xff]<<0x8|_0x48aa6e[_0x380fd8&0xff])^_0x3e219f[_0x107f82++];_0x3b6ca2[_0xaa2e7d]=_0x17e8d8,_0x3b6ca2[_0xaa2e7d+0x1]=_0x323729,_0x3b6ca2[_0xaa2e7d+0x2]=_0xa70611,_0x3b6ca2[_0xaa2e7d+0x3]=_0xad07b4;},'keySize':0x100/0x20});_0x533a94[_0x18c2e3(0x240)]=_0x5966a0['_createHelper'](_0x301e81);}()),_0x3284ca[_0x137da8(0x240)];}));}(_0x1ef8e4)),_0x1ef8e4['exports'];}var _0x3c95e6=_0x1c4b92();const _0x1bb738=_0x38739b(_0x3c95e6);var _0x5edb84=_0x2e66f6();const _0x3167b1=_0x38739b(_0x5edb84);var _0x2e9cda={'exports':{}},_0x1fe925=_0x2e9cda[_0x3b85f3(0x375)],_0x5a0d7d;function _0x278c28(){var _0x585e0c=_0x3b85f3;return _0x5a0d7d||(_0x5a0d7d=0x1,function(_0xd6c0d4,_0x5f3e48){(function(_0x55f7e4,_0x174978){var _0x484e98=_0x222a;_0xd6c0d4[_0x484e98(0x375)]=_0x174978(_0x19ebea());}(_0x1fe925,function(_0x133937){var _0x2cecce=_0x222a;return _0x133937[_0x2cecce(0x344)]['Utf8'];}));}(_0x2e9cda)),_0x2e9cda[_0x585e0c(0x375)];}var _0x16149d=_0x278c28();const _0x3efdfa=_0x38739b(_0x16149d);var _0x118015={'exports':{}},_0x884938=_0x118015[_0x3b85f3(0x375)],_0x4fbab8;function _0x2bc9ad(){return _0x4fbab8||(_0x4fbab8=0x1,function(_0x2ac3aa,_0x34ff57){(function(_0x247d88,_0x4601ff){var _0x2186ae=_0x222a;_0x2ac3aa[_0x2186ae(0x375)]=_0x4601ff(_0x19ebea());}(_0x884938,function(_0x3ea44a){var _0x29a91a=_0x222a;return(function(){var _0x242868=_0x222a;if(typeof ArrayBuffer=='function'){var _0x1633de=_0x3ea44a,_0x565dc8=_0x1633de[_0x242868(0x563)],_0x20c87b=_0x565dc8[_0x242868(0x2de)],_0x4ee913=_0x20c87b[_0x242868(0x4e1)],_0x42ca90=_0x20c87b[_0x242868(0x4e1)]=function(_0x3d9268){var _0x170e2c=_0x242868;if(_0x3d9268 instanceof ArrayBuffer&&(_0x3d9268=new Uint8Array(_0x3d9268)),(_0x3d9268 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3d9268 instanceof Uint8ClampedArray||_0x3d9268 instanceof Int16Array||_0x3d9268 instanceof Uint16Array||_0x3d9268 instanceof Int32Array||_0x3d9268 instanceof Uint32Array||_0x3d9268 instanceof Float32Array||_0x3d9268 instanceof Float64Array)&&(_0x3d9268=new Uint8Array(_0x3d9268[_0x170e2c(0x1d5)],_0x3d9268['byteOffset'],_0x3d9268[_0x170e2c(0x39c)])),_0x3d9268 instanceof Uint8Array){for(var _0x20285b=_0x3d9268[_0x170e2c(0x39c)],_0x118fd1=[],_0x1c420a=0x0;_0x1c420a<_0x20285b;_0x1c420a++)_0x118fd1[_0x1c420a>>>0x2]|=_0x3d9268[_0x1c420a]<<0x18-_0x1c420a%0x4*0x8;_0x4ee913[_0x170e2c(0x4c4)](this,_0x118fd1,_0x20285b);}else _0x4ee913[_0x170e2c(0x33d)](this,arguments);};_0x42ca90['prototype']=_0x20c87b;}}()),_0x3ea44a[_0x29a91a(0x563)][_0x29a91a(0x2de)];}));}(_0x118015)),_0x118015['exports'];}var _0x224c0a=_0x2bc9ad();const _0xa0bdb4=_0x38739b(_0x224c0a);var _0x22b5ef={'exports':{}},_0x51afdd=_0x22b5ef[_0x3b85f3(0x375)],_0x87d13e;function _0x2149ce(){return _0x87d13e||(_0x87d13e=0x1,function(_0x567dd8,_0x10f3dc){(function(_0xaeb5e,_0x4e487f,_0x2d4b51){var _0x4a3e8f=_0x222a;_0x567dd8[_0x4a3e8f(0x375)]=_0x4e487f(_0x19ebea(),_0x3d46bc());}(_0x51afdd,function(_0x44352c){var _0x587127=_0x222a;return _0x44352c[_0x587127(0x388)][_0x587127(0x3c7)]={'pad':function(){},'unpad':function(){}},_0x44352c[_0x587127(0x388)][_0x587127(0x3c7)];}));}(_0x22b5ef)),_0x22b5ef['exports'];}var _0x22d3f2=_0x2149ce();const _0x5d316c=_0x38739b(_0x22d3f2);function _0x1dfed0(_0x2a40be,_0x2daf17){var _0x135bb6=_0x3b85f3;const _0x4be0cb=_0x2daf17-_0x2a40be[_0x135bb6(0x24a)]%_0x2daf17,_0x351c2d=String[_0x135bb6(0x1f0)](_0x4be0cb)[_0x135bb6(0x2b5)](_0x4be0cb);return _0x2a40be+_0x351c2d;}function _0x358c2d(_0x7b19d4,_0x1b3178){var _0x431573=_0x3b85f3;const _0x4b8ab4=_0xa0bdb4[_0x431573(0x1ce)](0x10),_0x454ed6=_0x1dfed0(_0x7b19d4,0x10),_0x4fcc7c=_0x1bb738[_0x431573(0x43c)](_0x3efdfa[_0x431573(0x2a8)](_0x454ed6),_0x3167b1[_0x431573(0x2a8)](_0x1b3178),{'iv':_0x4b8ab4,'padding':_0x5d316c});return _0x4b8ab4[_0x431573(0x211)](_0x4fcc7c[_0x431573(0x21f)])['toString'](_0x3167b1);}function _0xb18fef(){var _0x3bb680=_0x3b85f3;const _0x203b4d=_0x136827[_0x3bb680(0x270)]()[_0x3bb680(0x335)];if(_0x203b4d){const _0x4d9f40={'time':Math[_0x3bb680(0x1f5)](Date[_0x3bb680(0x202)]()/0x3e8),'domain':location[_0x3bb680(0x449)]};return _0x358c2d(JSON[_0x3bb680(0x3ff)](_0x4d9f40),_0x203b4d);}}var _0x593f97=Object[_0x3b85f3(0x2e1)],_0x45c140=(_0x218f9f,_0x12577b,_0x1ed4fa,_0x7d7e33)=>{var _0x30c7f3=_0x3b85f3;for(var _0x2dbf93=_0x7d7e33>0x1?void 0x0:_0x7d7e33?_0x593f97(_0x12577b,_0x1ed4fa):_0x12577b,_0x4e8f1e=_0x218f9f[_0x30c7f3(0x24a)]-0x1,_0x174d73;_0x4e8f1e>=0x0;_0x4e8f1e--)(_0x174d73=_0x218f9f[_0x4e8f1e])&&(_0x2dbf93=_0x174d73(_0x2dbf93)||_0x2dbf93);return _0x2dbf93;},_0x2f96c0=(_0x11d4b5,_0x34ffaa)=>(_0x26eb08,_0x28e422)=>_0x34ffaa(_0x26eb08,_0x28e422,_0x11d4b5);let _0x5d8493=class{constructor(_0x2914ef){var _0x3ff499=_0x3b85f3;this[_0x3ff499(0x2c1)]=_0x2914ef,this[_0x3ff499(0x306)]();}[_0x3b85f3(0x306)](){var _0x195a0d=_0x3b85f3;this[_0x195a0d(0x2c1)][_0x195a0d(0x1d1)]({'interceptor':(_0x38ef2b,_0x1d615e)=>{var _0x422526=_0x195a0d;const _0x698743=_0x38ef2b[_0x422526(0x20d)],_0x16667a=_0xb18fef();return _0x16667a&&_0x698743[_0x422526(0x2d7)]('x-univer-host',_0x16667a),_0x1d615e(_0x38ef2b);}});}};_0x5d8493=_0x45c140([_0x2f96c0(0x0,_0x29f72d[_0x3b85f3(0x397)](_0x59551f['HTTPService']))],_0x5d8493);var _0x31b70f=Object[_0x3b85f3(0x2e1)],_0x4b9bdb=(_0x58105d,_0x7fe5fc,_0x5dcba3,_0x2359cc)=>{var _0x211969=_0x3b85f3;for(var _0x4816be=_0x2359cc>0x1?void 0x0:_0x2359cc?_0x31b70f(_0x7fe5fc,_0x5dcba3):_0x7fe5fc,_0x3513ed=_0x58105d[_0x211969(0x24a)]-0x1,_0x1dc613;_0x3513ed>=0x0;_0x3513ed--)(_0x1dc613=_0x58105d[_0x3513ed])&&(_0x4816be=_0x1dc613(_0x4816be)||_0x4816be);return _0x4816be;},_0x501eef=(_0x486fd6,_0x3ff71a)=>(_0x1d553b,_0xcd4849)=>_0x3ff71a(_0x1d553b,_0xcd4849,_0x486fd6);_0x330a6c[_0x3b85f3(0x569)]=class extends _0x29f72d['RxDisposable']{constructor(_0x36a3e9,_0x16abba,_0x569905){var _0x35f302=_0x3b85f3;super(),_0x3dafef(this,_0x35f302(0x4c6),new _0x26770d[(_0x35f302(0x2cc))](null)),_0x3dafef(this,_0x35f302(0x278),this[_0x35f302(0x4c6)][_0x35f302(0x1fb)]()),(this['_logService']=_0x36a3e9,this[_0x35f302(0x20c)]=_0x16abba,this[_0x35f302(0x38e)]=_0x569905);}async[_0x3b85f3(0x37e)](_0x56346b,_0x505801,_0x231d6b){var _0x401afe=_0x3b85f3;this[_0x401afe(0x4c6)]['next']({'unitId':_0x56346b,'type':_0x505801});let _0x5d3b2f=null;switch(_0x505801){case _0x2da9ac[_0x401afe(0x4be)]:{_0x5d3b2f=await this[_0x401afe(0x20c)][_0x401afe(0x536)](_0x56346b,_0x231d6b);break;}case _0x2da9ac[_0x401afe(0x3ee)]:{_0x5d3b2f=await this[_0x401afe(0x20c)][_0x401afe(0x3fe)](_0x56346b,_0x231d6b);break;}default:{this[_0x401afe(0x20b)][_0x401afe(0x313)](_0x401afe(0x4b8),_0x401afe(0x27d));break;}}return _0x5d3b2f;}async[_0x3b85f3(0x3dd)](_0x19319c,_0x30a659,_0x391d50){var _0x2dbb13=_0x3b85f3,_0x257507;this[_0x2dbb13(0x4c6)]['next']({'unitId':_0x19319c,'type':_0x30a659,'subUnitId':_0x391d50});let _0x3d3f4f=0x0;const _0x1a926c=await((_0x257507=this[_0x2dbb13(0x38e)])==null?void 0x0:_0x257507[_0x2dbb13(0x338)](_0x19319c));return _0x1a926c&&(_0x1a926c['awaitingChangeset']||_0x1a926c[_0x2dbb13(0x358)]['length']!==0x0)&&(_0x3d3f4f=_0x1a926c[_0x2dbb13(0x2c9)]),_0x3d3f4f===0x0&&this[_0x2dbb13(0x20b)]['debug']('[DataLoaderService]',_0x2dbb13(0x516)),this['loadUnitOfRevision'](_0x19319c,_0x30a659,_0x3d3f4f);}},_0x330a6c[_0x3b85f3(0x569)]=_0x4b9bdb([_0x501eef(0x0,_0x29f72d[_0x3b85f3(0x316)]),_0x501eef(0x1,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x3c1)])),_0x501eef(0x2,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x569)]);var _0x433aba=Object[_0x3b85f3(0x2e1)],_0x15c249=(_0x2fb8c2,_0x512a63,_0x182b82,_0x4dcb45)=>{var _0x5a198c=_0x3b85f3;for(var _0x5019e9=_0x4dcb45>0x1?void 0x0:_0x4dcb45?_0x433aba(_0x512a63,_0x182b82):_0x512a63,_0x536f2e=_0x2fb8c2[_0x5a198c(0x24a)]-0x1,_0x35c18f;_0x536f2e>=0x0;_0x536f2e--)(_0x35c18f=_0x2fb8c2[_0x536f2e])&&(_0x5019e9=_0x35c18f(_0x5019e9)||_0x5019e9);return _0x5019e9;},_0x4c431a=(_0x2d9913,_0x418117)=>(_0x594234,_0x4e16e1)=>_0x418117(_0x594234,_0x4e16e1,_0x2d9913);const _0x215288=[_0x3b85f3(0x42e),_0x3b85f3(0x540),_0x3b85f3(0x1f6),_0x3b85f3(0x53b),'image/bmp'],_0x313c4f=0x5*0x400*0x400,_0x456bc6=_0x3b85f3(0x480),_0x28851a=_0x3b85f3(0x4b9);_0x330a6c[_0x3b85f3(0x4c2)]=class{constructor(_0x3aaa7e,_0x2b3e8f,_0x534623){var _0x1d3fff=_0x3b85f3;_0x3dafef(this,_0x1d3fff(0x4b6),0x0),_0x3dafef(this,_0x1d3fff(0x1fc),new _0x26770d[(_0x1d3fff(0x37c))]()),_0x3dafef(this,'change$',this[_0x1d3fff(0x1fc)]),_0x3dafef(this,_0x1d3fff(0x22d),new Map()),(this['_httpService']=_0x3aaa7e,this['_configService']=_0x2b3e8f,this[_0x1d3fff(0x550)]=_0x534623);}[_0x3b85f3(0x4da)](_0x55d7c8){var _0xc2279d=_0x3b85f3;this[_0xc2279d(0x4b6)]=_0x55d7c8,this[_0xc2279d(0x1fc)][_0xc2279d(0x4c8)](_0x55d7c8);}['getImageSourceCache'](_0x345b03,_0x4baac4){var _0x649c3c=_0x3b85f3;if(_0x4baac4===_0xb9a54d[_0x649c3c(0x396)][_0x649c3c(0x4bf)]){const _0x31932a=new Image();return _0x31932a[_0x649c3c(0x1cc)]=_0x345b03,_0x31932a;}return this[_0x649c3c(0x22d)]['get'](_0x345b03);}['addImageSourceCache'](_0xc5700,_0x2a6e4e,_0x21df84){var _0x2073ec=_0x3b85f3;_0x2a6e4e===_0xb9a54d[_0x2073ec(0x396)][_0x2073ec(0x4bf)]||_0x21df84==null||this[_0x2073ec(0x22d)]['set'](_0xc5700,_0x21df84);}async[_0x3b85f3(0x289)](_0x3b89c4){var _0x3ad164=_0x3b85f3;try{const _0x5d3574=this[_0x3ad164(0x2f2)](this['_getSignURL'](),''+_0x3b89c4),_0x5dd4e5=(await this[_0x3ad164(0x2c1)][_0x3ad164(0x1f8)](_0x5d3574))[_0x3ad164(0x3fa)];if(_0x5dd4e5['error']&&_0x5dd4e5[_0x3ad164(0x313)][_0x3ad164(0x2b2)]===_0x229e63['OK']){const _0x2f9285=new URL(_0x5dd4e5[_0x3ad164(0x435)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x3ad164(0x4f8)](_0x2f9285);}return Promise[_0x3ad164(0x4f9)](_0x5dd4e5[_0x3ad164(0x313)]);}catch(_0x4e9240){return Promise['reject'](_0x4e9240);}}async['saveImage'](_0x3db3b1){var _0x186d74=_0x3b85f3;let _0xa8fdd6='';if(!_0x215288[_0x186d74(0x312)](_0x3db3b1[_0x186d74(0x565)]))return this[_0x186d74(0x3cb)](),Promise['reject'](new Error(_0xb9a54d[_0x186d74(0x510)][_0x186d74(0x244)]));if(_0x3db3b1[_0x186d74(0x21a)]>_0x313c4f)return this['_decreaseWaiting'](),Promise[_0x186d74(0x4f9)](new Error(_0xb9a54d[_0x186d74(0x510)][_0x186d74(0x46a)]));try{const _0x2229e6=new FormData();_0x2229e6['append'](_0x186d74(0x41c),_0x3db3b1);const _0xbbcbd6=this['_univerInstanceService']['getFocusedUnit'](),_0x4d4750=_0xbbcbd6==null?void 0x0:_0xbbcbd6['getUnitId']();if(!_0x4d4750)throw new Error(_0x186d74(0x4dd));const _0x10faf0=this[_0x186d74(0x2ad)]()+_0x186d74(0x477)+_0x3db3b1['size'][_0x186d74(0x3f5)]()+_0x186d74(0x4a1)+_0x195c26[_0x186d74(0x293)]+_0x186d74(0x35a)+encodeURIComponent(_0x4d4750),_0x5785d3={'body':_0x2229e6},_0x35cf6d=(await this['_httpService'][_0x186d74(0x1fe)](_0x10faf0,_0x5785d3))[_0x186d74(0x3fa)];if(typeof _0x35cf6d[_0x186d74(0x30d)]!='string')return this[_0x186d74(0x3cb)](),Promise['reject'](new Error(_0xb9a54d['ImageUploadStatusType'][_0x186d74(0x367)]));_0xa8fdd6=_0x35cf6d[_0x186d74(0x30d)];}catch{return this[_0x186d74(0x3cb)](),Promise[_0x186d74(0x4f9)](new Error(_0xb9a54d[_0x186d74(0x510)][_0x186d74(0x367)]));}return new Promise((_0x3a82bb,_0x4a43b8)=>{var _0x42d51c=_0x186d74;const _0x2fff32=new FileReader();_0x2fff32[_0x42d51c(0x4ae)](_0x3db3b1),_0x2fff32[_0x42d51c(0x4cf)]=_0x5dfaab=>{var _0x526f80=_0x42d51c,_0x3197e3;const _0x2f93d2=(_0x3197e3=_0x5dfaab['target'])==null?void 0x0:_0x3197e3['result'];if(_0x2f93d2==null){this[_0x526f80(0x3cb)](),_0x4a43b8(new Error(_0xb9a54d[_0x526f80(0x510)][_0x526f80(0x367)]));return;}const _0x533a2d=_0x29f72d[_0x526f80(0x206)](0x6);_0x3a82bb({'imageId':_0x533a2d,'imageSourceType':_0xb9a54d[_0x526f80(0x396)][_0x526f80(0x41a)],'source':_0xa8fdd6,'base64Cache':_0x2f93d2,'status':_0xb9a54d[_0x526f80(0x510)][_0x526f80(0x562)]}),this[_0x526f80(0x3cb)]();};});}[_0x3b85f3(0x2ad)](){var _0x39cd4d=_0x3b85f3,_0x54d81d;const _0xfe3eb8=this[_0x39cd4d(0x265)][_0x39cd4d(0x4d4)](_0x54fbde);return(_0x54d81d=_0xfe3eb8==null?void 0x0:_0xfe3eb8[_0x39cd4d(0x359)])!=null?_0x54d81d:_0x456bc6;}['_getSignURL'](){var _0x2dfaf6=_0x3b85f3,_0x5484cc;const _0x1150ef=this[_0x2dfaf6(0x265)][_0x2dfaf6(0x4d4)](_0x54fbde);return(_0x5484cc=_0x1150ef==null?void 0x0:_0x1150ef[_0x2dfaf6(0x491)])!=null?_0x5484cc:_0x28851a;}[_0x3b85f3(0x1f9)](){var _0x3f59f3=_0x3b85f3,_0x2fa731;const _0x339e99=this['_configService'][_0x3f59f3(0x4d4)](_0x54fbde);return(_0x2fa731=_0x339e99==null?void 0x0:_0x339e99[_0x3f59f3(0x2a2)])!=null?_0x2fa731:location[_0x3f59f3(0x50e)];}[_0x3b85f3(0x2f2)](_0x38d0de,_0x2011c1){var _0xbfaf5a=_0x3b85f3;return _0x38d0de[_0xbfaf5a(0x40e)]('{fileID}',_0x2011c1);}[_0x3b85f3(0x3cb)](){var _0x1b1da6=_0x3b85f3;this['_waitCount']-=0x1,this[_0x1b1da6(0x1fc)][_0x1b1da6(0x4c8)](this[_0x1b1da6(0x4b6)]);}},_0x330a6c[_0x3b85f3(0x4c2)]=_0x15c249([_0x4c431a(0x0,_0x29f72d[_0x3b85f3(0x397)](_0x59551f['HTTPService'])),_0x4c431a(0x1,_0x29f72d[_0x3b85f3(0x44a)]),_0x4c431a(0x2,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x558)]))],_0x330a6c[_0x3b85f3(0x4c2)]);var _0x3a907a=Object['getOwnPropertyDescriptor'],_0x2131c3=(_0x4d2995,_0x460592,_0x525777,_0x2f312b)=>{var _0x1c7063=_0x3b85f3;for(var _0x57a7fe=_0x2f312b>0x1?void 0x0:_0x2f312b?_0x3a907a(_0x460592,_0x525777):_0x460592,_0x3bb14f=_0x4d2995[_0x1c7063(0x24a)]-0x1,_0x838a19;_0x3bb14f>=0x0;_0x3bb14f--)(_0x838a19=_0x4d2995[_0x3bb14f])&&(_0x57a7fe=_0x838a19(_0x57a7fe)||_0x57a7fe);return _0x57a7fe;},_0x2f5b7b=(_0xdd1375,_0x48651a)=>(_0x313478,_0x155b44)=>_0x48651a(_0x313478,_0x155b44,_0xdd1375);const _0x353ae2=_0x3b85f3(0x4df);_0x330a6c[_0x3b85f3(0x33c)]=class{constructor(_0x41db3c,_0x1780dc){var _0xd36f=_0x3b85f3;this['_configService']=_0x41db3c,this[_0xd36f(0x360)]=_0x1780dc;}[_0x3b85f3(0x49a)](){var _0x414229=_0x3b85f3,_0x33e4d3;const _0x58ff82=this[_0x414229(0x265)][_0x414229(0x4d4)](_0x54fbde);return(_0x33e4d3=_0x58ff82==null?void 0x0:_0x58ff82[_0x414229(0x26f)])!=null?_0x33e4d3:_0x353ae2;}async[_0x3b85f3(0x3b4)](_0x21e898){var _0xaaeb2c=_0x3b85f3;const _0x2fd9f4=this[_0xaaeb2c(0x49a)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0xaaeb2c(0x360)][_0xaaeb2c(0x1f8)](_0x2fd9f4,{'params':{'objectID':_0x21e898[_0xaaeb2c(0x2fe)],'unitID':_0x21e898[_0xaaeb2c(0x2fe)]}}))[_0xaaeb2c(0x3fa)]['collaborators']['map'](_0x472ba8=>({'objectId':_0x472ba8['id'],'name':_0x472ba8[_0xaaeb2c(0x298)][_0xaaeb2c(0x36d)],'metadata':{'icon':_0x472ba8[_0xaaeb2c(0x298)][_0xaaeb2c(0x26c)]},'label':_0x472ba8[_0xaaeb2c(0x298)]['name'],'objectType':_0x29f72d[_0xaaeb2c(0x3c2)]['PERSON']})),'metadata':{},'type':_0x29f72d[_0xaaeb2c(0x3c2)][_0xaaeb2c(0x548)]}]};}},_0x330a6c['MentionIoHttpService']=_0x2131c3([_0x2f5b7b(0x0,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x44a)])),_0x2f5b7b(0x1,_0x29f72d[_0x3b85f3(0x397)](_0x59551f[_0x3b85f3(0x2bf)]))],_0x330a6c[_0x3b85f3(0x33c)]);var _0x541d19=Object[_0x3b85f3(0x2e1)],_0x115f15=(_0x5d8ca3,_0x53f094,_0x2ef8a7,_0x1f43a3)=>{var _0x2cb146=_0x3b85f3;for(var _0x553136=_0x1f43a3>0x1?void 0x0:_0x1f43a3?_0x541d19(_0x53f094,_0x2ef8a7):_0x53f094,_0x3e0322=_0x5d8ca3[_0x2cb146(0x24a)]-0x1,_0x1f5d47;_0x3e0322>=0x0;_0x3e0322--)(_0x1f5d47=_0x5d8ca3[_0x3e0322])&&(_0x553136=_0x1f5d47(_0x553136)||_0x553136);return _0x553136;},_0x4aa4ef=(_0x4a7484,_0x44afd7)=>(_0x28523b,_0x3785d9)=>_0x44afd7(_0x28523b,_0x3785d9,_0x4a7484);let _0x4b0910=class extends _0x29f72d['RxDisposable']{constructor(_0x4f3ea0,_0x1b48de,_0x441e07,_0x37cc54,_0x42ab76){var _0x3a61ef=_0x3b85f3;super(),this['_injector']=_0x4f3ea0,this['_univerInstanceService']=_0x1b48de,this[_0x3a61ef(0x543)]=_0x441e07,this[_0x3a61ef(0x239)]=_0x37cc54,this[_0x3a61ef(0x2ed)]=_0x42ab76,this['_initUnitPermissionChange'](),this[_0x3a61ef(0x43d)]();}[_0x3b85f3(0x43d)](){var _0x3bc9b7=_0x3b85f3;const _0x2ab3da=async _0x1ecd07=>{var _0x529db0=_0x222a;(await this['_collaborationSessionService']['requireSession'](_0x1ecd07))[_0x529db0(0x479)][_0x529db0(0x341)](_0x213182['filter'](_0x39a354=>_0x39a354[_0x529db0(0x3df)]===_0x94e8ef[_0x529db0(0x22b)]['SHOULD_CLOSE_CONN']),_0x213182[_0x529db0(0x4bb)](this[_0x529db0(0x4dc)]))[_0x529db0(0x255)](_0x2fc9a1=>{var _0x4e5ff6=_0x529db0;const _0x2d1187=_0x2fc9a1,{reason:_0x11f7c2}=_0x2d1187[_0x4e5ff6(0x2c0)];this['_collaborationUIEventService'][_0x4e5ff6(0x1d4)]({'id':_0x465567[_0x4e5ff6(0x2f8)],'data':_0x11f7c2}),this[_0x4e5ff6(0x543)][_0x4e5ff6(0x44b)](new _0x504e3a[(_0x4e5ff6(0x251))](_0x1ecd07)['id'],!0x1),this[_0x4e5ff6(0x239)]['closeSession'](_0x1ecd07);});};_0x26770d[_0x3bc9b7(0x1cb)](this[_0x3bc9b7(0x550)][_0x3bc9b7(0x494)](_0x29f72d[_0x3bc9b7(0x294)][_0x3bc9b7(0x4be)]),this[_0x3bc9b7(0x550)]['getTypeOfUnitAdded$'](_0x29f72d[_0x3bc9b7(0x294)][_0x3bc9b7(0x3ee)]))['pipe'](_0x213182[_0x3bc9b7(0x55e)](_0x32d498=>_0x32d498['getUnitId']()),_0x213182[_0x3bc9b7(0x463)](_0x4cdf2b=>!_0x29f72d[_0x3bc9b7(0x232)](_0x4cdf2b)),_0x213182[_0x3bc9b7(0x4bb)](this[_0x3bc9b7(0x4dc)]))['subscribe'](_0x5edb17=>{_0x2ab3da(_0x5edb17);});}['_initUnitPermissionChange'](){var _0x388721=_0x3b85f3;const _0xd5a498=async _0x16cf6f=>{var _0xf8bcb4=_0x222a;const _0x47af4c=await this[_0xf8bcb4(0x239)][_0xf8bcb4(0x214)](_0x16cf6f),_0x292f61=this[_0xf8bcb4(0x53a)]['get'](_0x504e3a['SheetPermissionInitController']);_0x47af4c[_0xf8bcb4(0x479)][_0xf8bcb4(0x341)](_0x213182['filter'](_0x1e4b78=>_0x1e4b78[_0xf8bcb4(0x3df)]===_0x94e8ef[_0xf8bcb4(0x22b)]['UPDATE_PERMISSION_OBJ']),_0x213182[_0xf8bcb4(0x4bb)](this['dispose$']))['subscribe'](_0x22ce4e=>{var _0x2b4c49=_0xf8bcb4;const _0x4d9ba3=_0x22ce4e,{objectId:_0x18d36c}=_0x4d9ba3[_0x2b4c49(0x2c0)];_0x18d36c===_0x16cf6f?_0x292f61[_0x2b4c49(0x1f7)](_0x16cf6f):_0x292f61[_0x2b4c49(0x4d5)](_0x16cf6f,_0x18d36c);});};_0x26770d['merge'](this[_0x388721(0x550)][_0x388721(0x494)](_0x29f72d[_0x388721(0x294)][_0x388721(0x4be)]))[_0x388721(0x341)](_0x213182[_0x388721(0x55e)](_0x40b941=>_0x40b941[_0x388721(0x4ba)]()),_0x213182[_0x388721(0x463)](_0x46a7b5=>!_0x29f72d[_0x388721(0x232)](_0x46a7b5)),_0x213182[_0x388721(0x4bb)](this['dispose$']))[_0x388721(0x255)](_0x54f4c3=>{_0xd5a498(_0x54f4c3);});}};_0x4b0910=_0x115f15([_0x4aa4ef(0x0,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x4aa4ef(0x1,_0x29f72d[_0x3b85f3(0x558)]),_0x4aa4ef(0x2,_0x29f72d['IPermissionService']),_0x4aa4ef(0x3,_0x29f72d[_0x3b85f3(0x397)](_0x330a6c['CollaborationSessionService'])),_0x4aa4ef(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x18e687))],_0x4b0910);var _0x14c222=Object[_0x3b85f3(0x2e1)],_0x756102=(_0x86f37b,_0x2b43d6,_0x5c8f92,_0x2bfe04)=>{for(var _0x3882c0=_0x2bfe04>0x1?void 0x0:_0x2bfe04?_0x14c222(_0x2b43d6,_0x5c8f92):_0x2b43d6,_0x58ff4a=_0x86f37b['length']-0x1,_0x3b8dec;_0x58ff4a>=0x0;_0x58ff4a--)(_0x3b8dec=_0x86f37b[_0x58ff4a])&&(_0x3882c0=_0x3b8dec(_0x3882c0)||_0x3882c0);return _0x3882c0;},_0x299bc7=(_0x96cb7d,_0x4d5c5e)=>(_0x1bc90c,_0x119fa9)=>_0x4d5c5e(_0x1bc90c,_0x119fa9,_0x96cb7d);_0x330a6c['SnapshotServerOverHTTPService']=class{constructor(_0x4d65fd,_0x2ac3c3){var _0x2d2a3f=_0x3b85f3;this[_0x2d2a3f(0x265)]=_0x4d65fd,this['_httpService']=_0x2ac3c3;}async['getUnitOnRev'](_0x107105,_0x333fc6){var _0x1edad1=_0x3b85f3,_0x4cc3fb;const {unitID:_0x17159f,type:_0xc2bbc3,revision:_0x4e39e0=0x0}=_0x333fc6,_0xcce0b0=this[_0x1edad1(0x355)]()+'/'+_0xc2bbc3+_0x1edad1(0x526)+_0x17159f+'/rev/'+_0x4e39e0,_0x315c48=(await this[_0x1edad1(0x2c1)][_0x1edad1(0x1f8)](_0xcce0b0))['body'],_0xdafb6f=(_0x4cc3fb=_0x315c48['snapshot'])==null?void 0x0:_0x4cc3fb[_0x1edad1(0x349)];if(_0xdafb6f){const _0x50039a=_0xdafb6f==null?void 0x0:_0xdafb6f[_0x1edad1(0x384)],_0x1e00ad=_0x94e8ef[_0x1edad1(0x3eb)][_0x1edad1(0x328)](_0x94e8ef[_0x1edad1(0x334)](_0x50039a));_0xdafb6f[_0x1edad1(0x384)]=_0x1e00ad,Object[_0x1edad1(0x51d)](_0xdafb6f[_0x1edad1(0x284)])[_0x1edad1(0x3ae)](([,_0x5cb40f])=>{var _0x219ae7=_0x1edad1;const _0x217ea7=_0x5cb40f[_0x219ae7(0x384)],_0x5c5460=_0x94e8ef[_0x219ae7(0x3eb)]['encode'](_0x94e8ef[_0x219ae7(0x334)](_0x217ea7));_0x5cb40f[_0x219ae7(0x384)]=_0x5c5460;});}return _0x315c48;}async[_0x3b85f3(0x3c8)](_0x3f2f55,_0x4631ae){var _0x3d17cd=_0x3b85f3;const {unitID:_0x236c66,type:_0x34d273,blockID:_0x459fed}=_0x4631ae,_0x1dd054=this[_0x3d17cd(0x496)]()+'/'+_0x34d273+_0x3d17cd(0x526)+_0x236c66+_0x3d17cd(0x3ac)+_0x459fed;return(await this[_0x3d17cd(0x2c1)][_0x3d17cd(0x1f8)](_0x1dd054))[_0x3d17cd(0x3fa)];}async[_0x3b85f3(0x450)](_0x3ac44a,_0x287b22){var _0x281841=_0x3b85f3;const {unitID:_0x59ee37,type:_0x3e37b8,blockID:_0x50bd5c}=_0x287b22,_0x3fe573=this[_0x281841(0x496)]()+_0x281841(0x3ac)+_0x3e37b8+_0x281841(0x526)+_0x59ee37+_0x281841(0x3ac)+_0x50bd5c;return(await this['_httpService'][_0x281841(0x1f8)](_0x3fe573))[_0x281841(0x3fa)];}async[_0x3b85f3(0x49f)](_0x43be7f,_0x5393ec){var _0x41b987=_0x3b85f3;const {unitID:_0x262e0f,type:_0x405966,from:_0x33c573,to:_0x5b0483}=_0x5393ec,_0x214caf=this[_0x41b987(0x496)]()+'/'+_0x405966+_0x41b987(0x526)+_0x262e0f+_0x41b987(0x3c0)+_0x33c573+_0x41b987(0x215)+_0x5b0483;return(await this[_0x41b987(0x2c1)][_0x41b987(0x1f8)](_0x214caf))[_0x41b987(0x3fa)];}[_0x3b85f3(0x355)](){var _0x541e1c=_0x3b85f3,_0x57df8c;return(_0x57df8c=this[_0x541e1c(0x265)][_0x541e1c(0x4d4)](_0x371056))!=null?_0x57df8c:this[_0x541e1c(0x496)]();}[_0x3b85f3(0x496)](){var _0x43c630=_0x3b85f3,_0x4ccb4f;const _0x3150a5=this[_0x43c630(0x265)][_0x43c630(0x4d4)](_0x54fbde);return(_0x4ccb4f=_0x3150a5==null?void 0x0:_0x3150a5[_0x43c630(0x1d8)])!=null?_0x4ccb4f:_0x3610cc;}async[_0x3b85f3(0x1d2)](_0x269fdd,_0x35b68f){var _0x1d0d7c=_0x3b85f3;const _0x180b7a=_0x1d0d7c(0x3a6)+_0x35b68f[_0x1d0d7c(0x565)]+_0x1d0d7c(0x526)+_0x35b68f[_0x1d0d7c(0x3be)]+'/resources';return(await this['_httpService'][_0x1d0d7c(0x1f8)](_0x180b7a,{'params':{'resourceId':JSON[_0x1d0d7c(0x3ff)](_0x35b68f[_0x1d0d7c(0x4b1)])}}))[_0x1d0d7c(0x3fa)];}[_0x3b85f3(0x473)](){var _0x423dbc=_0x3b85f3;throw new Error(_0x423dbc(0x3ad));}[_0x3b85f3(0x2bd)](){var _0x2bbd73=_0x3b85f3;throw new Error(_0x2bbd73(0x3ad));}[_0x3b85f3(0x291)](){var _0x304198=_0x3b85f3;throw new Error(_0x304198(0x3ad));}[_0x3b85f3(0x3d8)](){var _0x334931=_0x3b85f3;throw new Error(_0x334931(0x3ad));}[_0x3b85f3(0x4b0)](){var _0x4354fb=_0x3b85f3;throw new Error(_0x4354fb(0x3ad));}[_0x3b85f3(0x4e7)](){var _0x40d469=_0x3b85f3;throw new Error(_0x40d469(0x3ad));}},_0x330a6c['SnapshotServerOverHTTPService']=_0x756102([_0x299bc7(0x0,_0x29f72d[_0x3b85f3(0x44a)]),_0x299bc7(0x1,_0x29f72d[_0x3b85f3(0x397)](_0x59551f[_0x3b85f3(0x2bf)]))],_0x330a6c['SnapshotServerOverHTTPService']);var _0x428b5e=Object['getOwnPropertyDescriptor'],_0x468eb8=(_0x8919f6,_0x1a16f9,_0x4226f6,_0x59f925)=>{for(var _0x3fd85b=_0x59f925>0x1?void 0x0:_0x59f925?_0x428b5e(_0x1a16f9,_0x4226f6):_0x1a16f9,_0x51a672=_0x8919f6['length']-0x1,_0x3a1f4a;_0x51a672>=0x0;_0x51a672--)(_0x3a1f4a=_0x8919f6[_0x51a672])&&(_0x3fd85b=_0x3a1f4a(_0x3fd85b)||_0x3fd85b);return _0x3fd85b;},_0x465fa5=(_0x56cd2f,_0x459839)=>(_0x225851,_0x4c7112)=>_0x459839(_0x225851,_0x4c7112,_0x56cd2f);_0x330a6c[_0x3b85f3(0x4ef)]=class extends _0x29f72d[_0x3b85f3(0x53c)]{constructor(_0x23a5dd,_0x395c75,_0x5f4ad4,_0x71787c,_0x5e0327){var _0x5c0f94=_0x3b85f3;super(_0x23a5dd,_0x395c75,_0x5f4ad4),this[_0x5c0f94(0x2c5)]=_0x71787c,this[_0x5c0f94(0x20b)]=_0x5e0327;}[_0x3b85f3(0x3d2)](_0x336efb,_0x392706){var _0x104bc0=_0x3b85f3;const _0x16b979=this['_getUndoStack'](_0x336efb);if(_0x16b979)try{const _0x296251=this[_0x104bc0(0x552)](_0x16b979,_0x392706);this[_0x104bc0(0x308)](_0x336efb,_0x296251);}catch(_0x45c89d){this[_0x104bc0(0x20b)]['error'](_0x104bc0(0x216),_0x45c89d),this[_0x104bc0(0x374)](_0x336efb);}const _0x48dfc0=this[_0x104bc0(0x47f)](_0x336efb);if(_0x48dfc0)try{const _0x37e22c=this[_0x104bc0(0x552)](_0x48dfc0,_0x392706);this[_0x104bc0(0x2be)](_0x336efb,_0x37e22c);}catch(_0x4a4a8c){this[_0x104bc0(0x20b)][_0x104bc0(0x313)](_0x4a4a8c),this[_0x104bc0(0x3ef)](_0x336efb);}}[_0x3b85f3(0x374)](_0x581e00){var _0x1a2f16=_0x3b85f3;const _0xa070f4=this[_0x1a2f16(0x488)](_0x581e00);_0xa070f4&&(_0xa070f4[_0x1a2f16(0x24a)]=0x0,this['_updateStatus']());}[_0x3b85f3(0x3ef)](_0x9a848f){var _0x82e6f4=_0x3b85f3;const _0x3c385f=this[_0x82e6f4(0x47f)](_0x9a848f);_0x3c385f&&(_0x3c385f[_0x82e6f4(0x24a)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x14aa6a,_0x388cec){var _0x183d9a=_0x3b85f3;this[_0x183d9a(0x281)][_0x183d9a(0x2d7)](_0x14aa6a,_0x388cec),this[_0x183d9a(0x378)]();}[_0x3b85f3(0x2be)](_0x9a66df,_0x1a8275){var _0x1a34b2=_0x3b85f3;this['_redoStacks'][_0x1a34b2(0x2d7)](_0x9a66df,_0x1a8275),this[_0x1a34b2(0x378)]();}['_transformStack'](_0x269f35,_0x3e4512){var _0x2d6541=_0x3b85f3;const _0x505746=[];let _0x13b6b0=_0x3e4512,_0x368422=_0x3e4512;for(let _0x2592de=_0x269f35[_0x2d6541(0x24a)]-0x1;_0x2592de>=0x0;_0x2592de--){const {unitID:_0x1af47c,undoMutations:_0x15fcf1,redoMutations:_0x3efd09}=_0x269f35[_0x2592de],_0x9195b3=this[_0x2d6541(0x2c5)][_0x2d6541(0x25f)](_0x13b6b0,_0x15fcf1),_0x2c15e3=this[_0x2d6541(0x2c5)]['transformMutationsWithChangeset'](_0x368422,_0x3efd09);if(_0x94e8ef[_0x2d6541(0x23b)](_0x9195b3)||_0x94e8ef[_0x2d6541(0x23b)](_0x2c15e3)){this[_0x2d6541(0x20b)][_0x2d6541(0x313)](_0x2d6541(0x216),_0x2d6541(0x324),_0x9195b3,_0x2c15e3);break;}_0x13b6b0=_0x9195b3[_0x2d6541(0x3f9)],_0x368422=_0x2c15e3[_0x2d6541(0x3f9)],_0x505746[_0x2d6541(0x2cd)]({'unitID':_0x1af47c,'undoMutations':_0x9195b3['m2Prime'],'redoMutations':_0x2c15e3[_0x2d6541(0x343)]});}return _0x505746['reverse']();}},_0x330a6c[_0x3b85f3(0x4ef)]=_0x468eb8([_0x465fa5(0x0,_0x29f72d[_0x3b85f3(0x558)]),_0x465fa5(0x1,_0x29f72d['ICommandService']),_0x465fa5(0x2,_0x29f72d[_0x3b85f3(0x317)]),_0x465fa5(0x3,_0x94e8ef['ITransformService']),_0x465fa5(0x4,_0x29f72d[_0x3b85f3(0x316)])],_0x330a6c[_0x3b85f3(0x4ef)]);var _0x5c9507=Object[_0x3b85f3(0x40f)],_0x1543df=Object[_0x3b85f3(0x2e1)],_0x15ca2e=(_0xeb0671,_0x231ff8,_0x758ec8)=>_0x231ff8 in _0xeb0671?_0x5c9507(_0xeb0671,_0x231ff8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x758ec8}):_0xeb0671[_0x231ff8]=_0x758ec8,_0x100304=(_0x33ddeb,_0xf926b1,_0x361d86,_0x13236d)=>{for(var _0x5c33b6=_0x13236d>0x1?void 0x0:_0x13236d?_0x1543df(_0xf926b1,_0x361d86):_0xf926b1,_0x673852=_0x33ddeb['length']-0x1,_0x649bdb;_0x673852>=0x0;_0x673852--)(_0x649bdb=_0x33ddeb[_0x673852])&&(_0x5c33b6=_0x649bdb(_0x5c33b6)||_0x5c33b6);return _0x5c33b6;},_0x253e2b=(_0x21f3a8,_0xd7749c)=>(_0x1405fd,_0x10a910)=>_0xd7749c(_0x1405fd,_0x10a910,_0x21f3a8),_0x261247=(_0x342315,_0x25d282,_0xe6b1e0)=>_0x15ca2e(_0x342315,_0x25d282+'',_0xe6b1e0);const _0x4be1ec=_0x3b85f3(0x513);_0x330a6c[_0x3b85f3(0x2f1)]=class extends _0x29f72d[_0x3b85f3(0x356)]{constructor(_0x23e850,_0x51ba8a,_0x1b3665,_0x2a31a2){var _0x45c0ab=_0x3b85f3;super(),_0x3dafef(this,'_config'),(this[_0x45c0ab(0x20b)]=_0x51ba8a,this[_0x45c0ab(0x53a)]=_0x1b3665,this[_0x45c0ab(0x265)]=_0x2a31a2);const {..._0x5279c9}=_0x29f72d['merge']({},_0x32803a,_0x23e850);if(!_0x5279c9[_0x45c0ab(0x32d)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x45c0ab(0x2c7)]=_0x5279c9,this[_0x45c0ab(0x265)][_0x45c0ab(0x3a3)](_0x54fbde,_0x5279c9);}[_0x3b85f3(0x408)](){var _0x2278c9=_0x3b85f3;this[_0x2278c9(0x45c)](),this[_0x2278c9(0x38a)]();}[_0x3b85f3(0x45c)](){var _0x5b758a=_0x3b85f3,_0x125ef7,_0xf0bf85;this['_injector']['has'](_0x29f72d[_0x5b758a(0x2d2)])&&this[_0x5b758a(0x20b)][_0x5b758a(0x313)](_0x5b758a(0x40d),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x3917dd=_0x29f72d[_0x5b758a(0x28a)]([[_0x29f72d['IUndoRedoService'],{'useClass':_0x330a6c['CollaborativeUndoRedoService']}],[_0x330a6c[_0x5b758a(0x4ab)]],[_0x330a6c[_0x5b758a(0x2d9)]],[_0x330a6c[_0x5b758a(0x4e9)]],[_0x3b6ab0],[_0x5d8493],[_0x146c00],[_0x4b0910],[_0x18e687],[_0x330a6c['DataLoaderService']],[_0x2d9dbe,{'useClass':this['_config'][_0x5b758a(0x32d)]}],[_0x94e8ef[_0x5b758a(0x54f)],{'useClass':_0x330a6c['SnapshotServerOverHTTPService']}],[_0x29f72d[_0x5b758a(0x443)],{'useClass':_0x330a6c[_0x5b758a(0x568)]}],[_0xb9a54d[_0x5b758a(0x3bf)],{'useClass':_0x330a6c[_0x5b758a(0x4c2)]}],[_0x29f72d[_0x5b758a(0x489)],{'useClass':_0x330a6c[_0x5b758a(0x33c)]}],[_0x330a6c[_0x5b758a(0x2c6)]],[_0x5b598e]],(_0x125ef7=this[_0x5b758a(0x2c7)])==null?void 0x0:_0x125ef7[_0x5b758a(0x23d)]);if(!((_0xf0bf85=this[_0x5b758a(0x2c7)])!=null&&_0xf0bf85[_0x5b758a(0x4c0)])){const _0x4b4840=_0x3917dd['findIndex'](([_0x114803])=>_0x114803===_0x17abdd);_0x4b4840!==-0x1&&_0x3917dd[_0x5b758a(0x4ca)](_0x4b4840,0x1);}_0x29f72d[_0x5b758a(0x4ad)](this['_injector'],_0x3917dd);}[_0x3b85f3(0x38a)](){var _0x318f2c=_0x3b85f3,_0x591a,_0x44ecd9,_0x3229ea;this[_0x318f2c(0x53a)][_0x318f2c(0x1f8)](_0x59551f[_0x318f2c(0x2bf)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x59551f[_0x318f2c(0x311)]({'maxParallel':0x6})}),(_0x591a=this[_0x318f2c(0x2c7)])!=null&&_0x591a[_0x318f2c(0x429)]||(_0x44ecd9=this[_0x318f2c(0x53a)][_0x318f2c(0x1f8)](_0x54c85,_0x29f72d['Quantity'][_0x318f2c(0x3bc)]))==null||_0x44ecd9['disableLocalCache'](),(_0x3229ea=this[_0x318f2c(0x2c7)])!=null&&_0x3229ea['enableAuthServer']&&_0x29f72d[_0x318f2c(0x51c)](this['_injector'],[[_0x3b6ab0]]),_0x29f72d[_0x318f2c(0x51c)](this['_injector'],[[_0x5d8493],[_0x330a6c[_0x318f2c(0x2c6)]],[_0x4b0910]]);}},_0x261247(_0x330a6c['UniverCollaborationClientPlugin'],_0x3b85f3(0x4a9),_0x4be1ec),_0x330a6c[_0x3b85f3(0x2f1)]=_0x100304([_0x29f72d[_0x3b85f3(0x4cd)](_0x94e8ef['UniverCollaborationPlugin'],_0x59551f['UniverNetworkPlugin']),_0x253e2b(0x1,_0x29f72d[_0x3b85f3(0x316)]),_0x253e2b(0x2,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d['Injector'])),_0x253e2b(0x3,_0x29f72d['IConfigService'])],_0x330a6c[_0x3b85f3(0x2f1)]),_0x330a6c[_0x3b85f3(0x3c6)]=_0x54fbde,_0x330a6c[_0x3b85f3(0x4aa)]=_0xcbbb88,_0x330a6c[_0x3b85f3(0x4f1)]=_0x465567,_0x330a6c[_0x3b85f3(0x2e3)]=_0x18e687,_0x330a6c[_0x3b85f3(0x4a3)]=_0x146c00,_0x330a6c[_0x3b85f3(0x542)]=_0xbda5,_0x330a6c[_0x3b85f3(0x389)]=_0x70674b,_0x330a6c[_0x3b85f3(0x1dd)]=_0x1bd4c8,_0x330a6c[_0x3b85f3(0x1ed)]=_0x5559aa,_0x330a6c[_0x3b85f3(0x462)]=_0x11fb3c,_0x330a6c[_0x3b85f3(0x3de)]=_0x2d9dbe,_0x330a6c[_0x3b85f3(0x55f)]=_0x54c85,_0x330a6c[_0x3b85f3(0x43f)]=_0x3f33c3,_0x330a6c[_0x3b85f3(0x505)]=_0x17abdd,_0x330a6c['LOCAL_CACHE_INTERVAL']=0x3e8,_0x330a6c[_0x3b85f3(0x4f2)]=_0x28c6bf,_0x330a6c[_0x3b85f3(0x39a)]=_0x1335a0,_0x330a6c[_0x3b85f3(0x3f7)]=_0x48de82,_0x330a6c[_0x3b85f3(0x481)]=_0x5c4cf0,_0x330a6c['UnitStatus']=_0x17f828,_0x330a6c[_0x3b85f3(0x4c7)]=_0xf5b918,_0x330a6c['getLocalCacheKey']=_0x99f370,_0x330a6c[_0x3b85f3(0x48d)]=_0xd85f3a,Object['defineProperty'](_0x330a6c,Symbol[_0x3b85f3(0x1db)],{'value':_0x3b85f3(0x525)});}));function _0x5316(){var _0x13130c=['YUUMI_ALL_TABLES_IS_INVALID','collaMsg','stopTime','$super','CURRENT_STATUS_CANNOT_OPERATE','originalMeta','_rescheduleHeartbeat','Hasher','prototype','pad','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_initDependencies','_replayCachedMutations','pending','_checkMissing','_localCacheService','Decryptor','_createHandler','unit-cache-','_transformIMECache','LOGIN_TOKEN_PROCESSING_FAILED','Encryptor','PY_RUNTIME_SCRIPT_ERROR','ImageSourceType','Inject','HEARTBEAT','1037100AFAqLy','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_clearScheduledTask','byteLength','PAYMENT_CHANNEL_NOT_SUPPORT','INVITE_CODE_REQUIRED','extend','SerializableCipher','YUUMI_AI_RUN_FAILED','SetSelectionsOperation','setConfig','_clearRetryConnectingTimer','EmptyMutationInfo','/universer-api/snapshot/','FETCH_MISSING','_hasher','COMPRESS_MUTATION_APPLY','listCollaborators','reqId','/block/','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','forEach','UNIVER_SLIDE','put','indexOf','JOIN_ROOM_FULL','CHANGESET_ACK','list','_throwTelemetryCollaborationNewChangeset','_mode','encryptBlock','session.room-cnt-exceeds','_commentUpdate$','REDEMPTION_USER_NOT_ELIGIBLE','_scheduleCompleteTimestamp','OPTIONAL','_createHelper','unitID','IImageIoService','/fetchmissing?from=','SnapshotService','MentionType','CollaborationSocketService','463896pambqP','UniverProLicense','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','NoPadding','getSheetBlock','getUnitStatus$','PENDING','_decreaseWaiting','charCodeAt','localeService','awaiting','createIdentifier','APPLY_PERMISSION_DENIED','_onConflict','transformUndoRedo','[OfflineState]:\x20received\x20acknowledgement.','_fetchMissChangesets','transformChangesets','collaboration_new_changeset','objectType','saveChangeset','DisposableCollection','_retryCount','slice','abs','loadUnit','ICollaborationSocketService','eventID','YUUMI_NO_CUBOID_FOR_QUESTION','_eventService','interceptor','_maxTotalRetryTimeout','RichTextEditingMutation','socket$','Base64','status$','c2Prime','_onMessage','Rectangle','textEncoder','@univerjs/core','ISocketService','UNIVER_DOC','_clearRedo','_onCombEvent','_acknowledgedAwaitingChangeset','EMAIL_VERIFY_CODE_MISMATCH','members$','commentUpdateEvent','toString','_append','RETRY_CONNECTING_MAX_COUNT_KEY','LIVESHARE_OPERATION','c1Prime','body','collaborators','resend','localCacheService','loadDoc','stringify','UNKNOWN_CMD','confirm','NOT_COLLAB','INVITE_CODE_HAS_BEEN_UES','commentUpdate$','clamp','add','_localeService','onStarting','_changesetReqId','153823CYUmcg','_parse','_keySchedule','[UniverCollaborationClientPlugin]','replace','defineProperty','ReplaySubject','finalize','execute','RevisionService','USERS_ENTER','_onRemoteRetry','getCollabEntity','_minBufferSize','getRoom','Malformed\x20UTF-8\x20data','UUID','UNIVER_UNKNOWN','file','SOCKET_FAILED_RETRY','Hex','_commentService','_key','USERS_LEAVE','_userManagerService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','YUUMI_RATE_OVER_LIMIT','ONLINE','_transformUndoredo','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','REDEMPTION_CODE_NOT_STARTED','enableOfflineEditing','_reverseMap','Failed\x20to\x20update\x20permission\x20point','MD5','UserManagerService','image/png','SOCKET_FAILED','4021065DtcLpU','ALREADY_EXISTS','collaboratorID','[CollaborationState]:\x20apply\x20error!','msCrypto','url','sigBytes','BufferedBlockAlgorithm','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_isPermissionRej','JOINING','createInstance','encrypt','_initCloseConn','_schedule','INetworkConditionService','_commandService','liveShareNewHost','_onFetchMissResult','IAuthzIoService','create','roomInfos','CHANGESET_REJ','objects','YUUMI_SUBSCRIPTION_NOT_FOUND','hostname','IConfigService','updatePermissionPoint','_roomMembers','dispose','_onJoinRoomEvent','UniverProCollaboration','getDeserializedSheetBlock','hasOwnProperty','updateCursorEvent','fetchThroughInterceptors','/universer-api/comb','INVALID_ARGUMENT','OTHER_CLIENT_EDITING','uuidv4','univer-pro.collaboration-client.network-condition.service','_scheduleCollaborationTimeoutTimer','params','Disposable','_registerDependencies','INTERNAL_ERROR','_snapshotServerService','INGEST','USER_NOT_FOUND','_keyPriorReset','HEARTBEAT_TIMEOUT_KEY','filter','SNAPSHOT_INVALID_SNAPSHOT','_data','@univerjs-pro/license','_getLoginPath','getCollabEntity$','onStateChange','ERROR_EXCEED_SIZE','CommandType','failed\x20to\x20apply\x20missed\x20changesets!','reduce','updatePermissionObjEvent','auth.needGotoLoginAlert','EvpKDF','selections','UPDATE_CURSOR','saveSnapshot','[SyncedState]:\x20received\x20rejection.','charAt','CHANGESET_REVISION_CONFILICT','?size=','_stopTelemetryCollaborationNewChangeset','event$','_ENC_XFORM_MODE','getActiveSheet','status','Error\x20on\x20receiving\x20event','rxjs/operators','_getRedoStack','/universer-api/stream/file/upload','SessionStatus','getWorkbookSelections','Could\x20not\x20dynamically\x20require\x20\x22','newCsEvent','send','UNRECOGNIZED','LocaleService','_getUndoStack','IMentionIOService','online$','error$','954320Klqpzl','serializeCombRequest','uniscriptRunEvent','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_doFinalize','signUrlServerUrl','toggleOffline','_socket$','getTypeOfUnitAdded$','[CollaborationSession]','_getAPIPrefix','WECHAT_HAS_BEEN_BOUND','ENTITLE_INSUFFICIENT_QUOTA','/allowed','_getAPIPrefixPath','symbol','MOBILE_VERIFY_CODE_MISMATCH','_singleActiveUnitService','_changesetSessionId','fetchMissingChangesets','baseRev','&source=','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CommentService','userID','PSEUDO_FETCH_MISSING_RESULT','TOO_MANY_REQUESTS','219777RZCjON','_sendingTimer','pluginName','CollaborationStatus','CollaborationSessionService','appendMutation','registerDependencies','readAsDataURL','_instanceService','copyFileMeta','resourceIDs','NO_OTHER_CLIENTS_EDITING','@univerjs/drawing','MUTATION','updateMember','_waitCount','title','[DataLoaderService]','/universer-api/file/{fileID}/sign-url','getUnitId','takeUntil','@univerjs-pro/collaboration','href','UNIVER_SHEET','BASE64','enableSingleActiveInstanceLock','LEAVE','CollaborationImageIoService','_incrementRevisionNumber','call','crypto','_unitInfo$','deserializeToCombResponse','next','LIVESHARE_TERMINATE','splice','@univerjs/sheets','IPermissionService','DependentOn','open$','onload','_listenToNetworkCondition','getMemberID','_createInitialStateImpl','REDEMPTION_CODE_HAS_BEEN_CREATED','getConfig','refreshPermission','_startTelemetryCollaborationNewChangeset','waitForRoom$','ws://127.0.0.1:8000/universer-api/comb/connect','INVALID_INVITE_CODE','setWaitCount','PERMISSION_REJ','dispose$','unitId\x20is\x20not\x20found','disposeWithMe','/universer-api/authz','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','init','createSocket','_state$','UniverSheets','deepClone','Tools','getLatestCsReqIdBySid','_emitMembers','SheetTransformSelectionsService','getTime','collaboration-client.config','SUBMIT_CHANGESET_TIMEOUT','_iKey','complete','CollaborativeUndoRedoService','socket\x20open.','CollaborationUIEventId','LOCAL_CACHE_INTERVAL_KEY','/object/','ICommandService','state','setShowComponents','getAllMembers','resolve','reject','isPermissionRej','_sender','OTHER_CLIENTS_EDITING','routeKey','AwaitingWithPendingState','LICENSE_IMPORT_SIZE_EXCEEDED','withCredentials','format','@univerjs/docs','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','members','ISingleActiveUnitService','capture','session.join-failed','_socketMessageSubscription','@univerjs/network','HMAC','CompressMutationService','_pendingMutations','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','origin','PendingState','ImageUploadStatusType','Base','objectID','UNIVER_COLLABORATION_CLIENT_PLUGIN','toDisposable','YUUMI_ASYNCIO_CANCELLED','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','salt','csRejEvent','catch','_collaborationPaused','csAckEvent','touchDependencies','entries','_xformMode','_tryReconnect','isTransformChangesetsSuccess','setCurrentUser','_process','_initMergeInterceptor','close$','Module','/unit/','_init','getRandomValues','changesets','Cipher','_DEC_XFORM_MODE','FAIL','ClipsheetFragments','clone','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','session.room-permission-denied','_showConflictNotification','Univer','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','onMissedChangesetFetched','RECV','loadSheet','CONNECTOR_DATA_TOO_LARGE','BlockCipherMode','_queuedRemoteChangesets','_injector','image/gif','LocalUndoRedoService','onTransformIME','_updateState','debug','image/jpeg','_onRemoteRejected','DEFAULT_COLLAB_WEB_SOCKET_URL','_permissionService','SUBMIT_CHANGESET','compute','_remoteChangesetQueue','_doProcessBlock','PERSON','HELLO','location','/-/object/-/batch_allowed','_waitForHeartbeatResponse','_createHmacHelper','_entities','ISnapshotServerService','_univerInstanceService','executeCommand','_transformStack','toggleOnline','\x20-\x20','onMutationExecutedForCollab','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','OfflineState','IUniverInstanceService','key','_socketService','\x0aCurrent:\x20','enableCollaboration','joinEvent','map','ILocalCacheService','[OfflineState]:\x20received\x20rejection.','fetch_missing','SUCCUSS','lib','_doCryptBlock','type','max','onTransformRemoteChangesetByStateCache','AuthzIoHttpService','DataLoaderService','univer-pro.collaboration-client.single-active-unit-service','UNAUTHENTICATED','collabSubmitChangesetUrl','compose','UNDEFINED','PERMISSION_DENIED','USER_NOT_INVITED_CODE','merge','src','reset','random','ITelemetryService','/collaborator','registerHTTPInterceptor','getResourcesRequest','range','emitEvent','buffer','has','REDEMPTION_INVALID_CODE','snapshotServerUrl','focused$','/universer-api/oidc/authpage','toStringTag','DATA_SOURCE_TOO_LARGE','DEFAULT_WS_SESSION_TICKET_URL','_sessions','_invKeySchedule','encodeURIComponent','_members$','_submitChangeset','_socket','ENTITLE_NEED_BILLING_ADDRESS','reconnect','ENTITLE_CHAT_LIMIT_EXCEED','REDEMPTION_USER_REDEEM_TIMES_EXCEED','/new_changes','Latin1','_getCurrentRevision','HEARTBEAT_TIMEOUT','getCurrentRevOfUnit','HEARTBEAT_INTERVAL_KEY','getCurrentSelections','LICENSE_MAX_UNITS_EXCEEDED','fromCharCode','_onRecvEvent','[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.','formatter','_transformRemoteChangesetByStateCache','floor','image/jpg','initWorkbookPermissionChange','get','_getDownloadEndpointURL','_nRounds','asObservable','_change$','MSG_FOR_ERROR','post','_shouldReportTelemetry','entityInit$','HTTPRequest','now','PasswordBasedCipher','objectActions','_map','generateRandomId','parseChangesetToProtocol','_doReset','removeMember','[PendingState]:\x20received\x20acknowledgement.','_logService','_snapshotService','headers','NEW_CHANGESETS','blockSize','APPLY_DUPLICATED','concat','onRemoteAck','SNAPSHOT_URL_KEY','requireSession','&to=','[CollaborationUndoRedoService]','REDEMPTION_CODE_FULLY_REDEEMED','then','method','size','parseProtocolChangeset','cmd','closeSession','keySize','ciphertext','_members','isTransformMutationsWithChangesetSuccess','_sessionStatus$','incrementRevOfUnit','batchAllowed','JOIN','_syncEditingCollabCursor','YUUMI_TABLE_NOT_FOUND_IN_UNIT','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','find','_onConnectionFailed','CollaborationEvent','HttpExport','_imageSourceCache','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_clearHeartbeatTimer','[PendingState]:\x20unhandled\x20univer\x20type:\x20','SHOULD_CLOSE_CONN','isInternalEditorID','YUUMI_URL_COL_OUT_OF_RANGE','UniverTelemetry','_collabSessionService','socket\x20close','putCollaborators','_awaitingChangeset','_collaborationSessionService','leaveEvent','isTransformMutationsWithChangesetFailure','_compressMutationService','override','offline','_onUserJoin','AES','ENSURE_SNAPSHOT_EXECUTION','DocCollaborationEntity','_resendTimeout','ERROR_IMAGE_TYPE','delete','_sheetTransformSelectionsService','_clearCollaborationTimeoutTimer','[CollaborationSessionService]','YUUMI_CONNECTOR_URL_NOT_FOUND','length','amd','_undoRedoService','_handler','SheetCollaborationEntity','_sendHeartbeat','onTransformRemoteChangesetByIMECache','WorkbookEditablePermission','cfg','RxDisposable','_telemetryService','subscribe','SNAPSHOT_HAS_BEEN_REMOVED','_unitID','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','decryptBlock','_onUserLeave','isArray','SheetsSelectionsService','_telemetryInfo','IDLE','transformMutationsWithChangeset','ERROR_AGAIN','fetching\x20missing\x20changesets\x20from\x20','getMember','HttpImport','message$','_configService','JSONX','AUTHORIZE_CODE_ILLEGAL','close','[PendingState]:\x20received\x20rejection.','_transitionLocked','_iv','avatar','equals','unknown','authzUrl','getGlobalObject','GLOBAL_ROOMS_CNT_EXCEEDS','getUnitType','_candidateSocket','JOIN_ROOM_NOT_EXISTS','ENTITLE_DUP_SUBSCRIPTION','ENTITLE_INVALID_COUPON_CODE','UserProfileImg','unitInfo$','_resendTimer','LICENSE_EXPORT_SIZE_EXCEEDED','mixIn','_prevBlock','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onTransformState','randomBytes','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_undoStacks','RETRY_CONNECTING_MAX_COUNT','onMissingChangesets','sheets','_unlockTransition','Utf8','_applyRemoteChangeset','6edqSFO','getImage','mergeOverrideWithDependencies','delay','getCurrentUser','sessionStatus','mode','onSendChangeset','_socketReady','saveSheetBlock','APPLY_NON_SEQUENTIAL_REVISION','UnitEmbedded','UniverInstanceType','CollaborationEntity','ceil','memberID','subject','_executeRemoteChangeset','SHA1','actions','ivSize','updateCollaborator','state$','_sendHeartbeatTimer','onTransformSelections','_tryEnsureSocket','downloadEndpointUrl','loginUrlKey','update','_lockTransition','allowed','firstValueFrom','parse','_memberService','__creator','listRoles','deleteCollaborator','_getUploadFileURL','padding','_nDataBytes','DEFAULT_FILE_NAME','ENTITLE_COUPON_EXPIRED','code','session.room-not-exists','JOIN_ROOM_PERMISSION_DENIED','repeat','liveShareOperation','onSyncEditingCollabCursor','/universer-api/uniscript','_state','_removeRoom','onRemoteRej','UPDATE_PERMISSION_OBJ','updateSnapshot','_substituteRedoStack','HTTPService','data','_httpService','revision','createEncryptor','patch','_transformService','CollaborationController','_config','unsubscribe','rev','_onRemoteChangeset','_updateLocalCache','BehaviorSubject','push','1902803BHQOPy','onCommentUpdate','_resendWithTimeout','shouldCloseConn','IUndoRedoService','POST','SyncedState','_entityInit$','mapDocumentTypeToUniverType','set','concatMap','MemberService','getTypeOfUnitDisposed$','\x0aAfter:\x20','addHandlerCallback','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','WordArray','ENTITLE_USE_COUPON_NOT_1ST_TRADE','algo','getOwnPropertyDescriptor','APPLY_REJECT','CollaborationUIEventService','_collaborationTimeoutTimer','_retryConnectingTimer','\x20to\x20','sid','_hash','onRemoteChangeset','updateOfflineData','_roomCreated$','_networkConditionService','_collaborationUIEventService','SYNCED','_transformRemoteChangesetByIMECache','min','UniverCollaborationClientPlugin','_replaceFileID','operators','USER_IS_ANONYMOUS','string','_onConnectionOpen','COMPLETION_FINISHED','CLOSE_ROOM','_getCtorByUniverType','UNISCRIPT_RUN','hasher','subUnitId','transformSelections','unitId','_revisionService','_onOffline','sessionStatus$','LIVESHARE_NEW_HOST','LIVESHARE_FETCH_OPERATIONS','ConflictState','onlyLocal','_initRequestHeader','Optional','_substituteUndoStack','_getSendChangesetTimeout','_toggleOnline','AwaitingState','_type','FileId','words','_startCollaboration','[OfflineState]:\x20received\x20changeset.','ThresholdInterceptorFactory','includes','error','OpenSSL','clear','ILogService','IContextService','_clearTimeoutTimer','_toggleOffline','conflict','UniverDocs','[CollaborationEntity]','CONFLICT','sendChangesetTimeout','collaboration-client.local-cache-service','join','every','YUUMI_UNABLE_LOAD_URL','awaiting_with_pending','transformStack\x20failed!','CollaborationSession','JOIN_ROOM_FAILED','CipherParams','encode','UNIVER_PROJECT','shareReplay','LIVESHARE_REQUEST_HOST','LOGIN_FAILED','socketService','onRemoteRetry','ENTITLE_COUPON_USED_UP','requestParams','/object','16IgMeue','EMAIL_HAS_BEEN_BOUND','b64DecodeUnicode','__Key__','_createInitialState','REDEMPTION_CODE_INACTIVE','loadOfflineData','iterations','AWAITING_WITH_PENDING','COMPRESS_MUTATION_SEND','MentionIoHttpService','apply','getInterceptPoints','_event$','_disableEditing','pipe','/universer-api/snapshot','m2Prime','enc','Injector','NOT_FOUND','_joinRoom','fetchMiss','workbook','ITransformService','FetchingMissState','startsWith','_timeoutTimer','LOCAL_CACHE_INTERVAL','rxjs','_transformSelections','_status$','UniverNetwork','Undefined','take','getSnapshotAPIPath','Plugin','telemetry\x20info\x20is\x20not\x20initialized','mutations','uploadFileServerUrl','&assign=','_handlerCallback','COMMENT_UPDATE','function','synced','HmacSHA1','_HTTPService','_cipher','_createSocket','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ENTITLE_REPORT_LIMIT_EXCEED','joinRsp','ERROR_IMAGE','\x20in\x20_schedule.','_onRemoteACK','substr','session','sin','name','UNKNOWN_CODE','_doCreateSocket','CHANGESET_SHOULD_RETRY','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_clearLocalCache','UnitSnapshot','_clearUndo','exports','OFFLINE','getValue','_updateStatus','decrypt','_onLocalMutation','default','Subject','sequenceExecute','loadUnitOfRevision'];_0x5316=function(){return _0x13130c;};return _0x5316();}
2
+ function _0x3800(_0x4d9b2e,_0x5a6ac0){_0x4d9b2e=_0x4d9b2e-0xa4;var _0x53bad0=_0x53ba();var _0x3800fc=_0x53bad0[_0x4d9b2e];return _0x3800fc;}function _0x53ba(){var _0x422fca=['apply','getMember','COMPRESS_MUTATION_APPLY','USERS_ENTER','originalMeta','OFFLINE','loadDoc','\x20in\x20_schedule.','retryConnectingInterval','UNKNOWN_CMD','ENTITLE_REPORT_LIMIT_EXCEED','_toggleOffline','_getUndoStack','_socketService','changesets','SetSelectionsOperation','BlockCipherMode','getTime','_sheetTransformSelectionsService','_onLocalMutation','Optional','_doProcessBlock','reject','updateMember','asObservable','unpad','fetchThroughInterceptors','HELLO','JOINING','_startCollaboration','fetching\x20missing\x20changesets\x20from\x20','createSocket','loadUnit','disposeWithMe','_disableEditing','interceptor','randomBytes','Quantity','_commandService','_config','SNAPSHOT_URL_KEY','_getCurrentRevision','_sendHeartbeatTimer','LOGIN_TOKEN_PROCESSING_FAILED','members$','_entities','_transformService','copyFileMeta','keySize','unitId','csAckEvent','ENTITLE_COUPON_EXPIRED','USER_IS_ANONYMOUS','RECV','RevisionService','enableSingleActiveInstanceLock','SheetTransformSelectionsService','BufferedBlockAlgorithm','getRandomValues','PendingState','startsWith','_initMergeInterceptor','sid','_onMessage','registerDependencies','CONFLICT','_state$','listCollaborators','USER_NOT_INVITED_CODE','awaiting','isPermissionRej','?url=','/object/','deleteCollaborator','enc','IPermissionService','_clearTimeoutTimer','ciphertext','APPLY_REVISION_CONFILICT','_awaitingChangeset','onRemoteRej','_replaceFileID','[CollaborationSessionService]','\x0aAfter:\x20','_getSendChangesetTimeout','/universer-api/stream/file/upload','_resendWithTimeout','IImageIoService','Cipher','Tools','_type','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','UNIVER_PROJECT','_updateState','csRejEvent','NOT_COLLAB','awaitingChangeset','not_collab','/rev/','ENTITLE_COUPON_USED_UP','roles','readAsDataURL','BlockCipher','_members$','_showConflictNotification','_onUserLeave','_transformStack','location','size','SHA1','[CollaborationState]:\x20apply\x20error!','Could\x20not\x20dynamically\x20require\x20\x22','AuthzIoHttpService','RichTextEditingMutation','SYNCED','message$','requestParams','LIVESHARE_REQUEST_HOST','getSnapshotAPIPath','_prevBlock','title','IDLE','localCacheService','rev','_snapshotServerService','reconnect','_clearRetryConnectingTimer','INGEST','onMissingChangesets','LICENSE_MAX_UNITS_EXCEEDED','LEAVE','joinRsp','sessionStatus$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','amd','toString','repeat','\x20-\x20','ICommandService','DataLoaderService','CONNECTOR_DATA_TOO_LARGE','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','PERMISSION_REJ','Utf8','COMPLETION_FINISHED','byteOffset','_mode','key','HttpExport','saveImage','connection\x20error','addImageSourceCache','[DataLoaderService]','WorkbookEditablePermission','PERMISSION_DENIED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_transformRemoteChangesetByIMECache','LICENSE_DISTRO_REJECTED','MemberService','state','compute','error','[PendingState]:\x20received\x20rejection.','salt','status','href','createDecryptor','downloadEndpointUrl','updateCursorEvent','YUUMI_NO_CUBOID_FOR_QUESTION','HEARTBEAT_TIMEOUT','AES','LocalUndoRedoService','Workbook','abs','RETRY_CONNECTING_MAX_COUNT_KEY','splice','_iKey','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getAllMembers','Inject','pad','getUnitStatus$','__Key__','HEARTBEAT_INTERVAL','_acknowledgedAwaitingChangeset','_getDownloadEndpointURL','random','subUnitId','__creator','_createHmacHelper','_waitForHeartbeatResponse','lib','CLOSE_ROOM','UserProfileImg','delete','signUrlServerUrl','isTransformChangesetsSuccess','SheetPermissionInitController','OfflineState','focused$','LIVESHARE_TERMINATE','loadOfflineData','socket$','x-univer-host','_process','stopTime','RETRY_CONNECTING_MAX_COUNT','min','UserManagerService','saveSheetBlock','Malformed\x20UTF-8\x20data','UNIVER_SLIDE','includes','_schedule','compose','YUUMI_ASYNCIO_CANCELLED','_eventService','default','c2Prime','_sendHeartbeat','range','unknown','socketService','UniverTelemetry','_queuedRemoteChangesets','_userManagerService','_iv','_rescheduleHeartbeat','snapshotServerUrl','SessionStatus','LOCAL_CACHE_INTERVAL_KEY','/-/object/list','withCredentials','_socketReady','fromCollab','[SyncedState]:\x20received\x20rejection.','_scheduleCompleteTimestamp','session.room-cnt-exceeds','_singleActiveUnitService','close','IContextService','10838052Blyzeu','_emitMembers','objectID','&to=','INVITE_CODE_REQUIRED','length','sequenceExecute','_collabSessionService','collaboration-client.config','_transformUndoredo','decrypt','Error\x20on\x20receiving\x20event','_retryConnectingTimer','stringify','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','$super','_onRecvEvent','baseRev','2AyNUbz','_state','debug','params','_applyRemoteChangeset','_transformStateCache','initWorkbookPermissionChange','responseType','getTypeOfUnitAdded$','_collaborationPaused','submit\x20changeset\x20error!','CHANGESET_ACK','ISnapshotServerService','SOCKET_FAILED','_oKey','_registerDependencies','SyncedState','getUnitOnRev','format','[CollaborationSessionService]:\x20socket\x20error','getConfig','ALREADY_EXISTS','WECHAT_HAS_BEEN_BOUND','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','HEARTBEAT','_undoRedoService','liveShareNewHost','encode','DATA_SOURCE_TOO_LARGE','HEARTBEAT_INTERVAL_KEY','[CollaborationUndoRedoService]','eventID','[OfflineState]:\x20received\x20rejection.','_syncEditingCollabCursor','OTHER_CLIENT_EDITING','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','pauseCollaboration','updateOfflineData','_createHelper','_change$','_status$','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','infoRsp','setShowComponents','batchAllowed','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','PERSON','DEFAULT_WS_SESSION_TICKET_URL','authzUrl','function','_tryEnsureSocket','_handler','reqId','?size=','/universer-api/uniscript','workbook','cmd','ImageUploadStatusType','readyForCollab','crypto','image/bmp','_onJoinRoomEvent','_listenToNetworkCondition','_incrementRevisionNumber','getUnitType','collabSubmitChangesetUrl','@univerjs-pro/collaboration','REDEMPTION_INVALID_CODE','/collaborator','subject','_roomCreated$','shareReplay','_nDataBytes','mode','ERROR_IMAGE','_onConnectionFailed','_onOffline','COMPRESS_MUTATION_SEND','_initCloseConn','/-/object/-/batch_allowed','_clearCollaborationTimeoutTimer','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','unsubscribe','[OfflineState]:\x20received\x20changeset.','_HTTPService','CURRENT_STATUS_CANNOT_OPERATE','allowed','ThresholdInterceptorFactory','REDEMPTION_USER_NOT_ELIGIBLE','hasOwnProperty','catch','createEncryptor','_commentService','YUUMI_SUBSCRIPTION_NOT_FOUND','editingUnit','getWorkbookSelections','APPLY_NON_SEQUENTIAL_REVISION','APPLY_PERMISSION_DENIED','values','onTransformState','IConfigService','UNIVER_UNKNOWN','WordArray','4800boiAAD','selections','onload','joinEvent','_createSocket','take','_lockTransition','_unitInfo$','offline','onSendChangeset','_socket','JSONX','data','_sessionStatus$','HTTPRequest','set','1830fAmnCh','UNRECOGNIZED','code','_entityInit$','HmacSHA1','_getCtorByUniverType','indexOf','Hasher','PY_RUNTIME_SCRIPT_ERROR','_getAPIPrefixPath','transformUndoRedo','reduce','_exhaustRemoteChangesetQueue','from','slice','LIVESHARE_NEW_HOST','CipherParams','UniverInstanceType','_revisionService','capture','__splitChunk__','name','setCurrentUser','CollaborationEvent','getCollabEntity$','CollaborationUIEventService','getValue','max','_onRemoteACK','removeMember','_sender','exports','_changesetReqId','/universer-api/authz','unitInfo$','REDEMPTION_CODE_NOT_STARTED','finalize','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_createInitialState','createInstance','INetworkConditionService','UNDEFINED','onMutationExecutedForCollab','loadUnitOfRevision','onlyLocal','/universer-api/snapshot','_candidateSocket','_doCreateSocket','EMAIL_VERIFY_CODE_MISMATCH','Injector','_getSignURL','symbol','UniverCollaborationClientPlugin','_removeRoom','_resendTimer','_stopTelemetryCollaborationNewChangeset','createIdentifier','AUTHORIZE_CODE_ILLEGAL','status$','_localeService','_cipher','src','_decreaseWaiting','INTERNAL_ERROR','SNAPSHOT_HAS_BEEN_REMOVED','parseProtocolChangeset','members','LICENSE_IMPORT_SIZE_EXCEEDED','transformMutationsWithChangeset','_pendingMutations','InsertSheetMutation','auth.needGotoLoginAlert','IUndoRedoService','object','ClipsheetFragments','_doCryptBlock','Plugin','_univerInstanceService','getGlobalObject','entityInit$','session.room-not-exists','&assign=','_startTelemetryCollaborationNewChangeset','onTransformRemoteChangesetByIMECache','deserializeToCombResponse','map','mixIn','_updateStatus','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','fromCharCode','_collaborationSessionService','REDEMPTION_CODE_HAS_BEEN_CREATED','FETCH_MISSING','close$','_transformSelections','algo','collaboration_new_changeset','[UniverCollaborationClientPlugin]','AWAITING','kdf','_retryCount','HTTPService','_getAPIPrefix','collaboratorID','actions','setConfig','OTHER_CLIENTS_EDITING','_createHandler','_clearLocalCache','LOCAL_CACHE_INTERVAL','INVALID_INVITE_CODE','UniverNetwork','session','getFocusedUnit','_clearScheduledTask','init','PENDING','Subject','dispose$','MD5','c1Prime','DisposableCollection','SnapshotServerOverHTTPService','CollaborationImageIoService','ENTITLE_NEED_BILLING_ADDRESS','open$','Failed\x20to\x20update\x20permission\x20point','JOIN_ROOM_FAILED','_configService','MOBILE_HAS_BEEN_BOUND','_key','charAt','MOBILE_VERIFY_CODE_MISMATCH','_commentUpdate$','then','CompressMutationService','UniverCore','objectType','_socketMessageSubscription','transformStack\x20failed!','AwaitingState','complete','@univerjs/sheets','YUUMI_URL_COL_OUT_OF_RANGE','sendChangesetTimeout','Decryptor','_timeoutTimer','@univerjs/telemetry','PSEUDO_FETCH_MISSING_RESULT','FileId','HttpImport','_scheduleCollaborationTimeoutTimer','/unit/','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','CollaborativeUndoRedoService','CollaborationSocketService','_append','/universer-api/user/session-ticket','_tryReconnect','_onRemoteRejected','put','isTransformMutationsWithChangesetFailure','_joinRoom','OpenSSL','DependentOn','add','MSG_FOR_ERROR','UnitEmbedded','UniverProCollaborationClient','_getUploadFileURL','_createInitialStateImpl','_clearHeartbeatTimer','CollaborationEntity','blockSize','BASE64','_throwTelemetryCollaborationNewChangeset','_onFetchMissResult','INVITE_CODE_HAS_BEEN_UES','ONLINE','JOIN','ivSize','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','m2Prime','join','words','@univerjs/docs','_telemetryService','21565YayDPz','UnitSnapshot','getImageSourceCache','onStarting','msCrypto','onRemoteChangeset','objectActions','_initDependencies','_checkMissing','People','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','type','_resendTimeout','_socket$','onRemoteAck','permissionRejEvent','setWaitCount','ConflictState','enableAuthServer','ENTITLE_CAN_NOT_BUY_LOWER_OTP','cfg','ENSURE_SNAPSHOT_EXECUTION','_toggleOnline','/block/','revision','delay','getResourcesRequest','_event$','transformSelections','toDisposable','commentUpdateEvent','refreshPermission','YUUMI_ALL_TABLES_IS_INVALID','getTypeOfUnitDisposed$','getCurrentRevOfUnit','toggleOnline','subscribe','JOIN_ROOM_NOT_EXISTS','onCommentUpdate','getInterceptPoints','_undoStacks','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','objects','TOO_MANY_REQUESTS','PasswordBasedCipher','isInternalEditorID','USER_NOT_FOUND','Latin1','_compressMutationService','JOIN_ROOM_PERMISSION_DENIED','update','_roomMembers','liveShareOperation','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','state$','ITelemetryService','rxjs','updatePermissionPoint','session.join-failed','parse','deepClone','_transitionLocked','_networkConditionService','defineProperty','_telemetryInfo','_invKeySchedule','_init','MentionType','findIndex','NOT_FOUND','JOIN_ROOM_FULL','localeService','CHANGESET_SHOULD_RETRY','touchDependencies','socket\x20close','getLocalCacheKey','/resources','clamp','requireSession','textRanges','uploadFileServerUrl','ENTITLE_CHAT_LIMIT_EXCEED','telemetry\x20info\x20is\x20not\x20initialized','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','roomInfos','result','NEW_CHANGESETS','toggleOffline','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_logService','collaMsg','reset','ws://127.0.0.1:8000/universer-api/comb/connect','EvpKDF','[PendingState]:\x20received\x20acknowledgement.','session.room-permission-denied','post','_hasher','_changesetSessionId','getSheetId','ERROR_AGAIN','onTransformIME','_unlockTransition','UniverDrawing','UniverProLicense','send','REDEMPTION_CODE_FULLY_REDEEMED','CommentService','\x0aCurrent:\x20','_collaborationUIEventService','_waitCount','{fileID}','filter','image/png','LOGIN_FAILED','body','CHANGESET_REVISION_CONFILICT','getLatestCsReqIdBySid','saveSnapshot','_replayCachedMutations','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','memberID','forEach','b64DecodeUnicode','_fetchMissChangesets','snapshot','onTransformSelections','ISingleActiveUnitService','getDeserializedSheetBlock','CollaborationSession','sigBytes','saveChangeset','[CollaborationSession]','next','SUBMIT_CHANGESET_TIMEOUT','SerializableCipher','_handlerCallback','appendMutation','_httpService','parseChangesetToProtocol','_clearRedo','isTransformMutationsWithChangesetSuccess','264004uJPqpJ','APPLY_DUPLICATED','url','_substituteRedoStack','_parse','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','NoPadding','createCollaborator','FAIL','pending','_collaborationTimeoutTimer','_isPermissionRej','onStateChange','_keySchedule','CollaborationSessionService','/universer-api/comb','MUTATION','_maxTotalRetryTimeout','collaboration-client.local-cache-service','FETCH_MISS','_ENC_XFORM_MODE','mergeOverrideWithDependencies','getRoom','getMemberID','newCsEvent','hasher','string','COMMENT_UPDATE','UUID','Base64','executeCommand','byteLength','_imageSourceCache','getCurrentUser','REDEMPTION_CODE_INACTIVE','clone','_instanceService','_onRemoteRetry','conflict','ILogService','concat','_memberService','pipe','now','LICENSE_EXPORT_SIZE_EXCEEDED','getUnitId','event$','hostname','resend','FetchingMissState','ICollaborationSocketService','IUniverInstanceService','_doFinalize','Disposable','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','enableOfflineEditing','encrypt','transformChangesets','NO_OTHER_CLIENTS_EDITING','unit-cache-','create','prototype','textEncoder','1864980FHsvel','call','_onRemoteChangeset','onSyncEditingCollabCursor','13447KBBIap','fetch_missing','_sendingTimer','CHANGESET_REJ','save\x20fail\x20reason\x20is\x20','patch','Rectangle','EmptyMutationInfo','image/jpg','get','SUBMIT_CHANGESET','shouldCloseConn','encryptBlock','ImageSourceType','getCollabEntity','error$','Univer','firstValueFrom','_onCombEvent','YUUMI_RATE_OVER_LIMIT','[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.','commentUpdate$','buffer','_keyPriorReset','_permissionService','RxDisposable','/new_changes','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','HEARTBEAT_TIMEOUT_KEY','MentionIoHttpService','_injector','every','replace','Hex','leaveEvent','onTransformRemoteChangesetByStateCache','onRemoteRetry','UNISCRIPT_RUN','_sessions','mutations','ceil','getUnit','charCodeAt','emitEvent','Encryptor','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','PAYMENT_CHANNEL_NOT_SUPPORT','origin','collaborators','_onUserJoin','ENTITLE_INSUFFICIENT_QUOTA','Base','_clearUndo','_transformIMECache','padding','UNIVER_SHEET','closeSession','_getRedoStack','sin','sheets','SHOULD_CLOSE_CONN','socket\x20open.','LocaleService','has','ILocalCacheService','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_members','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_initRequestHeader','_snapshotService','synced','sessionStatus','EMAIL_HAS_BEEN_BOUND','DocCollaborationEntity','push','clear','19164240ainJtx','_remoteChangesetQueue','_redoStacks','YUUMI_CONNECTOR_URL_NOT_FOUND','_reverseMap','_map','extend','LIVESHARE_FETCH_OPERATIONS','Pkcs7','_data','updateSnapshot','CollaborationController','onLocalMutation','fetchMissingChangesets','SheetCollaborationEntity','takeUntil','INVITE_CODE_ALREADY_BOUND','_nRounds','/allowed','ENTITLE_DUP_SUBSCRIPTION','_updateLocalCache','784766zSHtak','SUCCUSS','ITransformService','APPLY_REJECT','_minBufferSize','_initUnitPermissionChange','_unitID','getOwnPropertyDescriptor','/universer-api/oidc/authpage','LIVESHARE_OPERATION','UPDATE_CURSOR','INVALID_ARGUMENT','UniverSheets','encodeURIComponent','BehaviorSubject','merge','_executeRemoteChangeset','_onConflict','_transformRemoteChangesetByStateCache','dispose','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','AwaitingWithPendingState','_substituteUndoStack','univer-pro.collaboration-client.single-active-unit-service','floor','UNKNOWN_CODE','unitID','OPTIONAL','/object','routeKey','execute','GLOBAL_ROOMS_CNT_EXCEEDS','userID','decryptBlock','change$','_hash','listRoles','_onConnectionOpen','confirm','Undefined','_shouldReportTelemetry','_localCacheService','[CollaborationEntity]','getImage','UNIVER_DOC','_submitChangeset','_xformMode','UNAUTHENTICATED','YUUMI_UNABLE_LOAD_URL','&source=','method','registerHTTPInterceptor','USERS_LEAVE','fetchMiss'];_0x53ba=function(){return _0x422fca;};return _0x53ba();}(function(_0x2a99c3,_0x5c1a46){var _0xcb7bbb=_0x3800,_0x31aab5=_0x2a99c3();while(!![]){try{var _0xcec53a=-parseInt(_0xcb7bbb(0x23f))/0x1*(-parseInt(_0xcb7bbb(0x379))/0x2)+parseInt(_0xcb7bbb(0x1d9))/0x3+-parseInt(_0xcb7bbb(0x19a))/0x4+parseInt(_0xcb7bbb(0x10b))/0x5*(parseInt(_0xcb7bbb(0x3f0))/0x6)+parseInt(_0xcb7bbb(0x1dd))/0x7*(parseInt(_0xcb7bbb(0x3e0))/0x8)+-parseInt(_0xcb7bbb(0x367))/0x9+-parseInt(_0xcb7bbb(0x22a))/0xa;if(_0xcec53a===_0x5c1a46)break;else _0x31aab5['push'](_0x31aab5['shift']());}catch(_0xb52ef0){_0x31aab5['push'](_0x31aab5['shift']());}}}(_0x53ba,0xa7ede),function(_0x524030,_0x52c684){var _0x56091c=_0x3800;typeof exports==_0x56091c(0x439)&&typeof module<'u'?_0x52c684(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=='function'&&define[_0x56091c(0x2fb)]?define([_0x56091c(0x40f),_0x56091c(0x3bb),'@univerjs/core',_0x56091c(0x109),_0x56091c(0xde),_0x56091c(0x143),_0x56091c(0xe3),'rxjs/operators','@univerjs/network','@univerjs/drawing','@univerjs-pro/license'],_0x52c684):(_0x524030=typeof globalThis<'u'?globalThis:_0x524030||self,_0x52c684(_0x524030[_0x56091c(0xf8)]={},_0x524030['UniverProCollaboration'],_0x524030[_0x56091c(0xd8)],_0x524030['UniverDocs'],_0x524030[_0x56091c(0x24b)],_0x524030[_0x56091c(0x143)],_0x524030[_0x56091c(0x355)],_0x524030[_0x56091c(0x143)]['operators'],_0x524030[_0x56091c(0xbf)],_0x524030[_0x56091c(0x173)],_0x524030[_0x56091c(0x174)]));}(this,function(_0x427316,_0x2e372d,_0x3392b5,_0x2b0001,_0x5d6cc8,_0x2c1c73,_0x15185f,_0x1f6813,_0x48a077,_0x550b7d,_0x488317){'use strict';var _0x4f3d5a=_0x3800;var _0x1fbfc9=Object[_0x4f3d5a(0x14a)],_0x37f05c=(_0x5f23ea,_0x571ceb,_0x13546d)=>_0x571ceb in _0x5f23ea?_0x1fbfc9(_0x5f23ea,_0x571ceb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13546d}):_0x5f23ea[_0x571ceb]=_0x13546d,_0x2cd3a0=(_0xad5a96,_0x483e27,_0x3fa749)=>_0x37f05c(_0xad5a96,typeof _0x483e27!=_0x4f3d5a(0x423)?_0x483e27+'':_0x483e27,_0x3fa749);const _0x36155e=_0x4f3d5a(0x41d),_0x5b4571=_0x4f3d5a(0x29d),_0x390407=_0x4f3d5a(0x168),_0x3e8642=_0x4f3d5a(0xed),_0x5ac1cf=_0x4f3d5a(0x32d),_0x1324fc=_0x4f3d5a(0x31f),_0x394647=_0x4f3d5a(0x344),_0x280b98=_0x4f3d5a(0xbd),_0x26b037=_0x4f3d5a(0x1a9),_0x1911dc=_0x4f3d5a(0x247),_0x32a0eb=_0x4f3d5a(0x302),_0x374860=_0x4f3d5a(0x3af);var _0x30de26=(_0x57f5c9=>(_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x419)]=0x0]='UNDEFINED',_0x57f5c9[_0x57f5c9['OK']=0x1]='OK',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x42f)]=0x2]=_0x4f3d5a(0x42f),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x30f)]=0x3]=_0x4f3d5a(0x30f),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x150)]=0x4]=_0x4f3d5a(0x150),_0x57f5c9[_0x57f5c9['UNAUTHENTICATED']=0x5]=_0x4f3d5a(0x26e),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x38e)]=0x6]=_0x4f3d5a(0x38e),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x24a)]=0x7]=_0x4f3d5a(0x24a),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x136)]=0x8]='TOO_MANY_REQUESTS',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x305)]=0x9]='COMPLETION_FINISHED',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x17e)]=0xa]=_0x4f3d5a(0x17e),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0xd4)]=0xb]=_0x4f3d5a(0xd4),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x253)]=0xc]=_0x4f3d5a(0x253),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x420)]=0xd]=_0x4f3d5a(0x420),_0x57f5c9[_0x57f5c9['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x429)]=0xf]=_0x4f3d5a(0x429),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x2a0)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x3ce)]=0x64]=_0x4f3d5a(0x3ce),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x170)]=0x65]='ERROR_AGAIN',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x139)]=0xc9]=_0x4f3d5a(0x139),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x2a9)]=0xca]='USER_IS_ANONYMOUS',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x180)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x57f5c9[_0x57f5c9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x430)]=0x1772]=_0x4f3d5a(0x430),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x120)]=0x1773]=_0x4f3d5a(0x120),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x242)]=0x1b59]=_0x4f3d5a(0x242),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x3d9)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x2c3)]=0x1b5b]=_0x4f3d5a(0x2c3),_0x57f5c9[_0x57f5c9['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4f3d5a(0x3da),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x19b)]=0x1b5d]='APPLY_DUPLICATED',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x301)]=0x1f41]=_0x4f3d5a(0x301),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x2f6)]=0x2329]=_0x4f3d5a(0x2f6),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x164)]=0x232a]=_0x4f3d5a(0x164),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x433)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x1c6)]=0x232c]=_0x4f3d5a(0x1c6),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x312)]=0x232d]=_0x4f3d5a(0x312),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x26f)]=0x2711]=_0x4f3d5a(0x26f),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0xdf)]=0x2712]=_0x4f3d5a(0xdf),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x1f0)]=0x2713]=_0x4f3d5a(0x1f0),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x3d6)]=0x2714]=_0x4f3d5a(0x3d6),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x31e)]=0x271a]=_0x4f3d5a(0x31e),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x34d)]=0x271b]=_0x4f3d5a(0x34d),_0x57f5c9[_0x57f5c9['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x57f5c9[_0x57f5c9['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x4f3d5a(0x12b),_0x57f5c9[_0x57f5c9['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x57f5c9[_0x57f5c9['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x57f5c9[_0x57f5c9['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x4f3d5a(0x22d),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x3f8)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x101)]=0x2ee1]=_0x4f3d5a(0x101),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0xbe)]=0x2ee2]='INVALID_INVITE_CODE',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x36b)]=0x2ee3]=_0x4f3d5a(0x36b),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x2b9)]=0x2ee4]=_0x4f3d5a(0x2b9),_0x57f5c9[_0x57f5c9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4f3d5a(0x23a),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x38f)]=0x32c9]=_0x4f3d5a(0x38f),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0xd1)]=0x32ca]=_0x4f3d5a(0xd1),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x226)]=0x32cb]=_0x4f3d5a(0x226),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x11e)]=0x36b1]=_0x4f3d5a(0x11e),_0x57f5c9[_0x57f5c9['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x4f3d5a(0x221),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x23d)]=0x36b3]=_0x4f3d5a(0x23d),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x20b)]=0x36b4]=_0x4f3d5a(0x20b),_0x57f5c9[_0x57f5c9['ENTITLE_INVALID_COUPON_CODE']=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x2a8)]=0x36b6]=_0x4f3d5a(0x2a8),_0x57f5c9[_0x57f5c9['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x4f3d5a(0x2d8),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x21f)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x57f5c9[_0x57f5c9['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x4f3d5a(0x15c),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x27f)]=0x3716]=_0x4f3d5a(0x27f),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x20f)]=0x3717]=_0x4f3d5a(0x20f),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0xcc)]=0x37dd]=_0x4f3d5a(0xcc),_0x57f5c9[_0x57f5c9['REDEMPTION_INVALID_CODE']=0x3a99]=_0x4f3d5a(0x3bc),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x1bc)]=0x3a9a]=_0x4f3d5a(0x1bc),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x176)]=0x3a9b]=_0x4f3d5a(0x176),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x413)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x3d1)]=0x3a9d]=_0x4f3d5a(0x3d1),_0x57f5c9[_0x57f5c9['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0xab)]=0x3a9f]=_0x4f3d5a(0xab),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x395)]=0x3e81]=_0x4f3d5a(0x395),_0x57f5c9[_0x57f5c9['UNRECOGNIZED']=-0x1]=_0x4f3d5a(0x3f1),_0x57f5c9))(_0x30de26||{}),_0x2f4b9b=(_0x5b19ef=>(_0x5b19ef[_0x5b19ef[_0x4f3d5a(0x3de)]=0x0]=_0x4f3d5a(0x3de),_0x5b19ef[_0x5b19ef[_0x4f3d5a(0x26b)]=0x1]=_0x4f3d5a(0x26b),_0x5b19ef[_0x5b19ef[_0x4f3d5a(0x214)]=0x2]=_0x4f3d5a(0x214),_0x5b19ef[_0x5b19ef['UNIVER_SLIDE']=0x3]=_0x4f3d5a(0x349),_0x5b19ef[_0x5b19ef[_0x4f3d5a(0x2d1)]=0x4]=_0x4f3d5a(0x2d1),_0x5b19ef[_0x5b19ef[_0x4f3d5a(0x3f1)]=-0x1]=_0x4f3d5a(0x3f1),_0x5b19ef))(_0x2f4b9b||{}),_0x270d19=(_0x19289b=>(_0x19289b[_0x19289b[_0x4f3d5a(0x27e)]=0x0]=_0x4f3d5a(0x27e),_0x19289b[_0x19289b[_0x4f3d5a(0x290)]=0x1]=_0x4f3d5a(0x290),_0x19289b[_0x19289b[_0x4f3d5a(0x103)]=0x2]=_0x4f3d5a(0x103),_0x19289b[_0x19289b[_0x4f3d5a(0x2f7)]=0x3]='LEAVE',_0x19289b[_0x19289b[_0x4f3d5a(0x2f4)]=0x4]=_0x4f3d5a(0x2f4),_0x19289b[_0x19289b[_0x4f3d5a(0x391)]=0x5]=_0x4f3d5a(0x391),_0x19289b[_0x19289b['RECV']=0x6]='RECV',_0x19289b[_0x19289b['UNRECOGNIZED']=-0x1]=_0x4f3d5a(0x3f1),_0x19289b))(_0x270d19||{}),_0xfcdf32=(_0xc4ea58=>(_0xc4ea58[_0xc4ea58['UNKNOWN_CODE']=0x0]=_0x4f3d5a(0x258),_0xc4ea58[_0xc4ea58['OK']=0x1]='OK',_0xc4ea58[_0xc4ea58[_0x4f3d5a(0x1a2)]=0x2]='FAIL',_0xc4ea58[_0xc4ea58['JOIN_ROOM_FULL']=0x3e9]=_0x4f3d5a(0x151),_0xc4ea58[_0xc4ea58[_0x4f3d5a(0x130)]=0x3ea]=_0x4f3d5a(0x130),_0xc4ea58[_0xc4ea58[_0x4f3d5a(0x13c)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0xc4ea58[_0xc4ea58[_0x4f3d5a(0x25e)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0xc4ea58[_0xc4ea58[_0x4f3d5a(0x3f1)]=-0x1]=_0x4f3d5a(0x3f1),_0xc4ea58))(_0xfcdf32||{}),_0x1ac2eb=(_0x16885d=>(_0x16885d[_0x16885d[_0x4f3d5a(0x266)]=0x0]=_0x4f3d5a(0x266),_0x16885d[_0x16885d[_0x4f3d5a(0xe6)]=0x1]=_0x4f3d5a(0xe6),_0x16885d[_0x16885d[_0x4f3d5a(0x309)]=0x2]=_0x4f3d5a(0x309),_0x16885d[_0x16885d['UnitEmbedded']=0x3]=_0x4f3d5a(0xf7),_0x16885d[_0x16885d['UnitSnapshot']=0x4]=_0x4f3d5a(0x10c),_0x16885d[_0x16885d[_0x4f3d5a(0x337)]=0x5]='UserProfileImg',_0x16885d[_0x16885d[_0x4f3d5a(0x43a)]=0x6]=_0x4f3d5a(0x43a),_0x16885d[_0x16885d[_0x4f3d5a(0x3f1)]=-0x1]=_0x4f3d5a(0x3f1),_0x16885d))(_0x1ac2eb||{});const _0x47d658=_0x4f3d5a(0xb0);function _0x294c3d(_0x117fb2){var _0x483496=_0x4f3d5a;return JSON[_0x483496(0x374)](_0x117fb2)[_0x483496(0x36c)];}var _0x2f98ef=(_0x2b6284=>(_0x2b6284[_0x4f3d5a(0x39b)]=_0x4f3d5a(0x39b),_0x2b6284['PERMISSION_DENIED']='PERMISSION_DENIED',_0x2b6284['CONFLICT']=_0x4f3d5a(0x2b6),_0x2b6284[_0x4f3d5a(0x336)]=_0x4f3d5a(0x336),_0x2b6284[_0x4f3d5a(0xcf)]=_0x4f3d5a(0xcf),_0x2b6284['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x2b6284[_0x4f3d5a(0x386)]=_0x4f3d5a(0x386),_0x2b6284[_0x4f3d5a(0x192)]=_0x4f3d5a(0x192),_0x2b6284))(_0x2f98ef||{});class _0x5d354c{constructor(){var _0x2d19ae=_0x4f3d5a;_0x2cd3a0(this,_0x2d19ae(0x126),new _0x2c1c73[(_0x2d19ae(0xc5))]()),_0x2cd3a0(this,_0x2d19ae(0x1c8),this[_0x2d19ae(0x126)][_0x2d19ae(0x28d)]());}['emitEvent'](_0x20ad2c){var _0x91575c=_0x4f3d5a;this[_0x91575c(0x126)]['next'](_0x20ad2c);}}class _0x279e44{constructor(){var _0x594a11=_0x4f3d5a;_0x2cd3a0(this,_0x594a11(0xd5),new _0x2c1c73[(_0x594a11(0xc5))]()),_0x2cd3a0(this,_0x594a11(0x1f2),this[_0x594a11(0xd5)][_0x594a11(0x28d)]());}[_0x4f3d5a(0x131)](_0x2f6f33){var _0x43a05d=_0x4f3d5a;this['_commentUpdate$'][_0x43a05d(0x191)](_0x2f6f33);}}var _0x34137d=Object['getOwnPropertyDescriptor'],_0x1fd485=(_0x2accd9,_0x52518a,_0x354717,_0x37b29b)=>{var _0x2d36a2=_0x4f3d5a;for(var _0x55f111=_0x37b29b>0x1?void 0x0:_0x37b29b?_0x34137d(_0x52518a,_0x354717):_0x52518a,_0x1d4595=_0x2accd9[_0x2d36a2(0x36c)]-0x1,_0x5c2ca5;_0x1d4595>=0x0;_0x1d4595--)(_0x5c2ca5=_0x2accd9[_0x1d4595])&&(_0x55f111=_0x5c2ca5(_0x55f111)||_0x55f111);return _0x55f111;},_0x58ae70=(_0xc1ce12,_0x17b8c2)=>(_0x47b072,_0x1129cc)=>_0x17b8c2(_0x47b072,_0x1129cc,_0xc1ce12);_0x427316[_0x4f3d5a(0x313)]=class extends _0x3392b5[_0x4f3d5a(0x1cf)]{constructor(_0x23f91f,_0x494230){var _0x19e273=_0x4f3d5a;super(),_0x2cd3a0(this,'_roomMembers',new Map()),_0x2cd3a0(this,'_roomCreated$',new _0x2c1c73['Subject']()),(this[_0x19e273(0x43d)]=_0x23f91f,this[_0x19e273(0x357)]=_0x494230,this['disposeWithMe'](_0x2c1c73[_0x19e273(0x24e)](this[_0x19e273(0x43d)]['getTypeOfUnitDisposed$'](_0x3392b5[_0x19e273(0x401)][_0x19e273(0x214)])[_0x19e273(0x1c4)](_0x1f6813[_0x19e273(0xa5)](_0x320885=>_0x320885[_0x19e273(0x1c7)]())),this['_univerInstanceService'][_0x19e273(0x12c)](_0x3392b5[_0x19e273(0x401)]['UNIVER_DOC'])[_0x19e273(0x1c4)](_0x1f6813[_0x19e273(0xa5)](_0x189a85=>_0x189a85[_0x19e273(0x1c7)]())),this[_0x19e273(0x43d)]['getTypeOfUnitDisposed$'](_0x3392b5[_0x19e273(0x401)][_0x19e273(0x349)])[_0x19e273(0x1c4)](_0x1f6813['map'](_0x136a08=>_0x136a08['getUnitId']())))[_0x19e273(0x12f)](_0x54d3a3=>this[_0x19e273(0x425)](_0x54d3a3))));}['waitForRoom$'](_0x46a923){var _0x11cd7c=_0x4f3d5a;return this[_0x11cd7c(0x13e)][_0x11cd7c(0x21c)](_0x46a923)?_0x2c1c73['of'](this[_0x11cd7c(0x13e)]['get'](_0x46a923)):this[_0x11cd7c(0x3bf)][_0x11cd7c(0x1c4)](_0x1f6813[_0x11cd7c(0xa5)](_0xfdb8a6=>{var _0x2d3202=_0x11cd7c;if(_0xfdb8a6===_0x46a923)return this[_0x2d3202(0x13e)][_0x2d3202(0x1e6)](_0xfdb8a6);}));}[_0x4f3d5a(0x406)](_0x5df5c5){var _0x289ba1=_0x4f3d5a;this[_0x289ba1(0x357)][_0x289ba1(0x406)](_0x5df5c5);}['getCurrentUser'](){var _0x160ea6=_0x4f3d5a;return this['_userManagerService'][_0x160ea6(0x1bb)]();}['updateMember'](_0x40e29e,_0x30c6ca){var _0x4fe19f=_0x4f3d5a;let _0x19fadf=this[_0x4fe19f(0x13e)]['get'](_0x40e29e);_0x19fadf||(_0x19fadf=new _0x589964(),this[_0x4fe19f(0x13e)][_0x4fe19f(0x3ef)](_0x40e29e,_0x19fadf),this[_0x4fe19f(0x3bf)][_0x4fe19f(0x191)](_0x40e29e)),_0x19fadf[_0x4fe19f(0x28c)](_0x30c6ca);}['removeMember'](_0x47851f,_0x3573c3){var _0x156115=_0x4f3d5a;const _0x2a78d7=this[_0x156115(0x13e)][_0x156115(0x1e6)](_0x47851f);_0x2a78d7&&_0x2a78d7[_0x156115(0x40d)](_0x3573c3);}[_0x4f3d5a(0x1b0)](_0x483aa5){var _0x2b6c17=_0x4f3d5a;return this[_0x2b6c17(0x13e)][_0x2b6c17(0x1e6)](_0x483aa5);}[_0x4f3d5a(0x276)](_0x4679f4,_0x49eba9){var _0xb1c68c=_0x4f3d5a;const _0x26ab80=this[_0xb1c68c(0x13e)][_0xb1c68c(0x1e6)](_0x4679f4);if(_0x26ab80)return _0x26ab80[_0xb1c68c(0x276)](_0x49eba9);}[_0x4f3d5a(0x425)](_0x256781){var _0x46cfe7=_0x4f3d5a;const _0x1ac26d=this[_0x46cfe7(0x13e)][_0x46cfe7(0x1e6)](_0x256781);_0x1ac26d&&(_0x1ac26d[_0x46cfe7(0x252)](),this[_0x46cfe7(0x13e)]['delete'](_0x256781));}[_0x4f3d5a(0x252)](){var _0x30ad01=_0x4f3d5a;this[_0x30ad01(0x13e)][_0x30ad01(0x186)](_0x5c40f0=>_0x5c40f0[_0x30ad01(0x252)]()),this['_roomMembers']['clear'](),this[_0x30ad01(0x3bf)][_0x30ad01(0xdd)]();}},_0x427316[_0x4f3d5a(0x313)]=_0x1fd485([_0x58ae70(0x0,_0x3392b5[_0x4f3d5a(0x1cd)]),_0x58ae70(0x1,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x346)]))],_0x427316['MemberService']);class _0x589964 extends _0x3392b5['Disposable']{constructor(){var _0x558e36=_0x4f3d5a;super(...arguments),_0x2cd3a0(this,_0x558e36(0x220),new Map()),_0x2cd3a0(this,'_members$',new _0x2c1c73[(_0x558e36(0x24d))](this[_0x558e36(0x220)])),_0x2cd3a0(this,_0x558e36(0x2a1),this[_0x558e36(0x2dc)][_0x558e36(0x28d)]());}[_0x4f3d5a(0x252)](){var _0x5c0f96=_0x4f3d5a;this[_0x5c0f96(0x220)][_0x5c0f96(0x229)]();}[_0x4f3d5a(0x28c)](_0x9efbf1){var _0x1ebc9d=_0x4f3d5a;this[_0x1ebc9d(0x220)][_0x1ebc9d(0x3ef)](_0x9efbf1[_0x1ebc9d(0x185)],_0x9efbf1),this[_0x1ebc9d(0x368)]();}[_0x4f3d5a(0x40d)](_0x39d74b){var _0x446ce9=_0x4f3d5a;this[_0x446ce9(0x220)]['delete'](_0x39d74b);}['getMember'](_0x20948a){var _0x23612b=_0x4f3d5a;return this[_0x23612b(0x220)][_0x23612b(0x1e6)](_0x20948a);}[_0x4f3d5a(0x328)](){var _0x5aa308=_0x4f3d5a;return Array[_0x5aa308(0x3fd)](this[_0x5aa308(0x220)][_0x5aa308(0x3db)]());}[_0x4f3d5a(0x368)](){var _0x5901a8=_0x4f3d5a;this['_members$']['next'](this[_0x5901a8(0x220)]);}}var _0x5a20cf=Object[_0x4f3d5a(0x246)],_0x4f0f96=(_0x2981db,_0x353e4d,_0xfbe87c,_0x383847)=>{for(var _0x1bab22=_0x383847>0x1?void 0x0:_0x383847?_0x5a20cf(_0x353e4d,_0xfbe87c):_0x353e4d,_0x4014e7=_0x2981db['length']-0x1,_0x240f12;_0x4014e7>=0x0;_0x4014e7--)(_0x240f12=_0x2981db[_0x4014e7])&&(_0x1bab22=_0x240f12(_0x1bab22)||_0x1bab22);return _0x1bab22;},_0x244344=(_0x61f187,_0x136e4)=>(_0x23a4ae,_0x1ff4ab)=>_0x136e4(_0x23a4ae,_0x1ff4ab,_0x61f187),_0x45134b=(_0x6c45d8=>(_0x6c45d8[_0x6c45d8[_0x4f3d5a(0x2ee)]=0x0]=_0x4f3d5a(0x2ee),_0x6c45d8[_0x6c45d8[_0x4f3d5a(0x291)]=0x1]=_0x4f3d5a(0x291),_0x6c45d8[_0x6c45d8['OFFLINE']=0x2]=_0x4f3d5a(0x27a),_0x6c45d8[_0x6c45d8['ONLINE']=0x3]=_0x4f3d5a(0x102),_0x6c45d8))(_0x45134b||{});const _0xd9daec={[_0xfcdf32[_0x4f3d5a(0x1a2)]]:_0x4f3d5a(0x145),[_0xfcdf32[_0x4f3d5a(0x151)]]:'session.room-full',[_0xfcdf32['JOIN_ROOM_NOT_EXISTS']]:_0x4f3d5a(0x440),[_0xfcdf32[_0x4f3d5a(0x13c)]]:_0x4f3d5a(0x16b),[_0xfcdf32[_0x4f3d5a(0x25e)]]:_0x4f3d5a(0x363)};_0x427316[_0x4f3d5a(0x18d)]=class extends _0x3392b5['RxDisposable']{constructor(_0x1b998a,_0x1a94a6,_0x349879,_0x2b7d5f,_0x5d6f36,_0x51789e,_0x5e021d,_0x4ab287){var _0x59a2e2=_0x4f3d5a;super(),_0x2cd3a0(this,_0x59a2e2(0x3ed),new _0x2c1c73[(_0x59a2e2(0x24d))](0x0)),_0x2cd3a0(this,_0x59a2e2(0x2f9),this['_sessionStatus$'][_0x59a2e2(0x28d)]()),_0x2cd3a0(this,'_event$',new _0x2c1c73[(_0x59a2e2(0xc5))]()),_0x2cd3a0(this,_0x59a2e2(0x1c8),this['_event$'][_0x59a2e2(0x28d)]()),_0x2cd3a0(this,'_socket'),_0x2cd3a0(this,'_socketMessageSubscription'),_0x2cd3a0(this,'_collaborationTimeoutTimer'),_0x2cd3a0(this,_0x59a2e2(0x267),!0x1),_0x2cd3a0(this,_0x59a2e2(0x14b),null),(this[_0x59a2e2(0x245)]=_0x1b998a,this['_logService']=_0x349879,this[_0x59a2e2(0xd0)]=_0x2b7d5f,this[_0x59a2e2(0x1c3)]=_0x5d6f36,this['_commentService']=_0x51789e,this[_0x59a2e2(0x179)]=_0x5e021d,this[_0x59a2e2(0x10a)]=_0x4ab287,this[_0x59a2e2(0x267)]=!!this[_0x59a2e2(0x10a)],_0x1a94a6[_0x59a2e2(0x1c4)](_0x2c1c73['takeUntil'](this['dispose$']))[_0x59a2e2(0x12f)](_0x1f5e09=>{var _0x56f983=_0x59a2e2,_0x21ab4c;typeof _0x1f5e09>'u'||(this[_0x56f983(0x3ea)]=_0x1f5e09,_0x1f5e09?(this[_0x56f983(0xf2)](_0x1f5e09),this[_0x56f983(0xda)]=_0x1f5e09[_0x56f983(0x2e8)][_0x56f983(0x12f)](_0x40ced0=>{var _0x237d90=_0x56f983;_0x40ced0[_0x237d90(0x25c)]===this['_unitID']&&this[_0x237d90(0x1ef)](_0x40ced0);})):(this[_0x56f983(0xff)](),this['_sessionStatus$'][_0x56f983(0x191)](0x2),(_0x21ab4c=this[_0x56f983(0xda)])==null||_0x21ab4c[_0x56f983(0x3cb)](),this[_0x56f983(0xda)]=null));}));}get[_0x4f3d5a(0x225)](){var _0x1a16ac=_0x4f3d5a;return this['_sessionStatus$'][_0x1a16ac(0x40a)]();}[_0x4f3d5a(0x1b1)](){var _0x4c3c21=_0x4f3d5a,_0x20f754,_0x5626a0;return(_0x5626a0=(_0x20f754=this[_0x4c3c21(0x3ea)])==null?void 0x0:_0x20f754[_0x4c3c21(0x185)])!=null?_0x5626a0:null;}[_0x4f3d5a(0x252)](){var _0x24b260=_0x4f3d5a;super[_0x24b260(0x252)](),this['dispose$'][_0x24b260(0x191)](),this['dispose$']['complete']();}[_0x4f3d5a(0x365)](){var _0x13004a=_0x4f3d5a,_0x24c8e9,_0x5e6dde;this[_0x13004a(0xff)](),(_0x24c8e9=this[_0x13004a(0x3ea)])==null||_0x24c8e9[_0x13004a(0x175)]({'cmd':_0x270d19[_0x13004a(0x2f7)],'data':{'roomID':this[_0x13004a(0x245)]}}),(_0x5e6dde=this['_socket'])==null||_0x5e6dde[_0x13004a(0x365)](),this[_0x13004a(0x126)][_0x13004a(0xdd)](),this['_sessionStatus$'][_0x13004a(0xdd)](),this['dispose']();}['_onCombEvent'](_0x5b65b7){var _0x532a3b=_0x4f3d5a;_0x5b65b7[_0x532a3b(0x3b1)]===_0x270d19['JOIN']?this[_0x532a3b(0x3b6)](_0x5b65b7):_0x5b65b7[_0x532a3b(0x3b1)]===_0x270d19[_0x532a3b(0x2aa)]&&this[_0x532a3b(0x377)](_0x5b65b7);}[_0x4f3d5a(0xf2)](_0xb814da){var _0x5dc2c7=_0x4f3d5a;this[_0x5dc2c7(0x3ed)]['next'](0x1),_0xb814da['send']({'cmd':_0x270d19['JOIN'],'routeKey':this[_0x5dc2c7(0x245)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5dc2c7(0x245)]}]}});}[_0x4f3d5a(0x3b6)](_0x26cee6){var _0x20d7fe=_0x4f3d5a,_0x43ff27;if(_0x26cee6[_0x20d7fe(0x3f2)]in _0xd9daec){this[_0x20d7fe(0x179)][_0x20d7fe(0x208)]({'id':_0x2f98ef['JOIN_ROOM_FAILED'],'data':_0xd9daec[_0x26cee6[_0x20d7fe(0x3f2)]]}),this[_0x20d7fe(0x3ed)][_0x20d7fe(0x191)](0x2);return;}this[_0x20d7fe(0x3ed)][_0x20d7fe(0x191)](0x3);const _0x381db7=(_0x43ff27=_0x26cee6[_0x20d7fe(0x3ec)][_0x20d7fe(0x160)][this[_0x20d7fe(0x245)]])==null?void 0x0:_0x43ff27[_0x20d7fe(0x432)];_0x381db7&&_0x381db7[_0x20d7fe(0x186)](_0x512187=>this[_0x20d7fe(0x1c3)]['updateMember'](this[_0x20d7fe(0x245)],_0x512187));}[_0x4f3d5a(0x377)](_0x1c2553){var _0x3a2545=_0x4f3d5a;try{const _0x473679=_0x1c2553[_0x3a2545(0x3ec)];switch(_0x473679[_0x3a2545(0x398)]){case _0x2e372d[_0x3a2545(0x407)][_0x3a2545(0x278)]:this['_onUserJoin'](_0x473679),this[_0x3a2545(0x126)][_0x3a2545(0x191)](_0x473679);break;case _0x2e372d['CollaborationEvent'][_0x3a2545(0x273)]:this[_0x3a2545(0x2de)](_0x473679),this[_0x3a2545(0x126)][_0x3a2545(0x191)](_0x473679);break;case _0x2e372d[_0x3a2545(0x407)][_0x3a2545(0x384)]:case _0x2e372d[_0x3a2545(0x407)][_0x3a2545(0x153)]:this[_0x3a2545(0x427)](),this[_0x3a2545(0x3c9)](),this[_0x3a2545(0x126)][_0x3a2545(0x191)](_0x473679);break;case _0x2e372d['CollaborationEvent'][_0x3a2545(0xf6)]:this[_0x3a2545(0x165)]['error'](_0x3a2545(0x1e1)+JSON[_0x3a2545(0x374)](_0x473679)),this[_0x3a2545(0x126)][_0x3a2545(0x191)](_0x473679);break;case _0x2e372d[_0x3a2545(0x407)]['COMMENT_UPDATE']:this[_0x3a2545(0x3d5)][_0x3a2545(0x131)](_0x473679[_0x3a2545(0x3ec)]),this[_0x3a2545(0x126)][_0x3a2545(0x191)](_0x473679);break;default:this['_event$'][_0x3a2545(0x191)](_0x473679);}}catch(_0x3f7af3){this[_0x3a2545(0x165)][_0x3a2545(0x316)](_0x3f7af3,_0x1c2553);}}[_0x4f3d5a(0x20e)](_0x2eb42b){var _0x4cb3bc=_0x4f3d5a;this['_memberService'][_0x4cb3bc(0x28c)](this['_unitID'],_0x2eb42b[_0x4cb3bc(0x3ec)]);}[_0x4f3d5a(0x2de)](_0x2051e8){var _0x89dfcc=_0x4f3d5a;this[_0x89dfcc(0x1c3)][_0x89dfcc(0x40d)](this['_unitID'],_0x2051e8[_0x89dfcc(0x3ec)][_0x89dfcc(0x185)]);}async[_0x4f3d5a(0x175)](_0x39a4ef,_0x3a0803){var _0x32a816=_0x4f3d5a;if(this[_0x32a816(0x225)]!==0x3||!this[_0x32a816(0x3ea)])throw new Error(_0x32a816(0x15e));try{_0x39a4ef[_0x32a816(0x398)]===_0x2e372d['CollaborationEvent'][_0x32a816(0x1e7)]&&(this[_0x32a816(0xe7)](),this[_0x32a816(0x442)](_0x39a4ef)),this[_0x32a816(0x3ea)][_0x32a816(0x175)]({'cmd':_0x270d19[_0x32a816(0x2f4)],'routeKey':_0x3a0803,'routeType':'','data':_0x39a4ef});}catch(_0x31de60){this['_logService'][_0x32a816(0x316)](_0x31de60);}}[_0x4f3d5a(0xe7)](){var _0x44c358=_0x4f3d5a,_0x2cb7cf;this[_0x44c358(0x1a4)]=setTimeout(()=>{var _0x11bc4e=_0x44c358;this[_0x11bc4e(0x1a4)]=null,this['_collaborationUIEventService'][_0x11bc4e(0x208)]({'id':_0x2f98ef['SUBMIT_CHANGESET_TIMEOUT']});},(_0x2cb7cf=this[_0x44c358(0xd0)]['getConfig'](_0x1324fc))!=null?_0x2cb7cf:0x4e20);}[_0x4f3d5a(0x3c9)](){var _0x43a1dc=_0x4f3d5a;this[_0x43a1dc(0x1a4)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x2d6e02){var _0x4b270=_0x4f3d5a;if(!this[_0x4b270(0x267)])return;const {data:_0x5a7d72}=_0x2d6e02,{unitID:_0x4a2fcc,changeset:_0x2a0f50}=_0x5a7d72,{mutations:_0x3b4947,type:_0x3d80f5}=_0x2a0f50;this[_0x4b270(0x14b)]={'unitId':_0x4a2fcc,'type':_0x3d80f5,'startTime':performance[_0x4b270(0x1c5)](),'stopTime':0x0,'duration':0x0,'size':_0x294c3d(_0x3b4947)};}[_0x4f3d5a(0x427)](){var _0x381cf4=_0x4f3d5a;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x381cf4(0x165)][_0x381cf4(0x316)](_0x381cf4(0x190),_0x381cf4(0x15d));return;}this[_0x381cf4(0x14b)][_0x381cf4(0x343)]=performance['now'](),this[_0x381cf4(0x14b)]['duration']=this['_telemetryInfo'][_0x381cf4(0x343)]-this[_0x381cf4(0x14b)]['startTime'],this[_0x381cf4(0x10a)][_0x381cf4(0x403)](_0x47d658,this['_telemetryInfo']),this[_0x381cf4(0x14b)]=null;}}[_0x4f3d5a(0xff)](){this['_telemetryInfo']=null;}},_0x427316[_0x4f3d5a(0x18d)]=_0x4f0f96([_0x244344(0x2,_0x3392b5['ILogService']),_0x244344(0x3,_0x3392b5[_0x4f3d5a(0x3dd)]),_0x244344(0x4,_0x3392b5[_0x4f3d5a(0x329)](_0x427316[_0x4f3d5a(0x313)])),_0x244344(0x5,_0x3392b5['Inject'](_0x279e44)),_0x244344(0x6,_0x3392b5[_0x4f3d5a(0x329)](_0x5d354c)),_0x244344(0x7,_0x3392b5[_0x4f3d5a(0x289)](_0x15185f[_0x4f3d5a(0x142)]))],_0x427316['CollaborationSession']);const _0x4597c5=_0x3392b5[_0x4f3d5a(0x428)](_0x4f3d5a(0x1ac));function _0x3fd395(_0x523465){var _0x5c9891=_0x4f3d5a;return _0x5c9891(0x1d5)+_0x523465;}var _0x3ed9f2=Object['getOwnPropertyDescriptor'],_0x5c20ad=(_0x40e1bc,_0x227211,_0x5ea0b3,_0x1dc7af)=>{var _0x2a9d5d=_0x4f3d5a;for(var _0x110385=_0x1dc7af>0x1?void 0x0:_0x1dc7af?_0x3ed9f2(_0x227211,_0x5ea0b3):_0x227211,_0x5392e2=_0x40e1bc[_0x2a9d5d(0x36c)]-0x1,_0x358a9b;_0x5392e2>=0x0;_0x5392e2--)(_0x358a9b=_0x40e1bc[_0x5392e2])&&(_0x110385=_0x358a9b(_0x110385)||_0x110385);return _0x110385;},_0x11c0e1=(_0x2e8a47,_0xa8ba06)=>(_0x42bd12,_0x4ee1a7)=>_0xa8ba06(_0x42bd12,_0x4ee1a7,_0x2e8a47);function _0x23eac8(_0x1fa903){var _0x1f47a5=_0x4f3d5a;const {unitID:_0x171e00,mutations:_0x190d47}=_0x1fa903;return{'unitId':_0x171e00,'subUnitId':_0x190d47['length']>0x0?_0x190d47[0x0][_0x1f47a5(0x37c)][_0x1f47a5(0x331)]:null};}_0x427316['SheetTransformSelectionsService']=class{constructor(_0x4ac86f,_0x1771db,_0x145f32){var _0x582f0d=_0x4f3d5a;this[_0x582f0d(0x1fb)]=_0x4ac86f,this[_0x582f0d(0x2a3)]=_0x1771db,this[_0x582f0d(0x1be)]=_0x145f32;}[_0x4f3d5a(0x127)](_0x48d8bd){var _0x30ada6=_0x4f3d5a,_0x840340,_0x2e18fb,_0x19598b,_0x1eed50;const _0x32d606=this[_0x30ada6(0x1fb)]['get'](_0x5d6cc8['SheetsSelectionsService']),{unitId:_0x4b4221,subUnitId:_0x43e1f7}=_0x23eac8(_0x48d8bd),_0x5522f2=_0x32d606==null?void 0x0:_0x32d606[_0x30ada6(0x3d8)](_0x4b4221)['getCurrentSelections'](),_0x16ac3e=(_0x2e18fb=(_0x840340=this[_0x30ada6(0x1be)][_0x30ada6(0x206)](_0x4b4221))==null?void 0x0:_0x840340['getActiveSheet']())==null?void 0x0:_0x2e18fb[_0x30ada6(0x16f)]();if(_0x5522f2[_0x30ada6(0x36c)]===0x0||!_0x4b4221||!_0x43e1f7)return;const _0x302f72=[{'id':_0x5d6cc8['SetSelectionsOperation']['id'],'params':{'unitId':_0x4b4221,'subUnitId':_0x16ac3e,'selections':_0x3392b5[_0x30ada6(0x2ce)][_0x30ada6(0x147)](_0x5522f2)}}],_0x2aab66=this[_0x30ada6(0x2a3)][_0x30ada6(0x434)](_0x48d8bd,_0x302f72);if(!_0x2e372d['isTransformMutationsWithChangesetSuccess'](_0x2aab66))throw _0x2aab66[_0x30ada6(0x316)];const _0x32768a=(_0x1eed50=(_0x19598b=_0x2aab66[_0x30ada6(0x106)][0x0])==null?void 0x0:_0x19598b[_0x30ada6(0x37c)])==null?void 0x0:_0x1eed50[_0x30ada6(0x3e1)];if(Array['isArray'](_0x32768a)&&_0x32768a[_0x30ada6(0x36c)]){if(_0x32768a[_0x30ada6(0x36c)]===_0x302f72[0x0][_0x30ada6(0x37c)][_0x30ada6(0x3e1)]['length']&&_0x32768a[_0x30ada6(0x1fc)]((_0x1d9869,_0x51e17d)=>_0x3392b5[_0x30ada6(0x1e3)]['equals'](_0x1d9869[_0x30ada6(0x352)],_0x302f72[0x0]['params'][_0x30ada6(0x3e1)][_0x51e17d][_0x30ada6(0x352)])))return;this[_0x30ada6(0x1fb)][_0x30ada6(0x1e6)](_0x3392b5[_0x30ada6(0x2ff)])[_0x30ada6(0x1b8)](_0x5d6cc8[_0x30ada6(0x284)]['id'],{'unitId':_0x4b4221,'subUnitId':_0x16ac3e,'selections':_0x32768a});}}},_0x427316[_0x4f3d5a(0x2ad)]=_0x5c20ad([_0x11c0e1(0x0,_0x3392b5['Inject'](_0x3392b5[_0x4f3d5a(0x421)])),_0x11c0e1(0x1,_0x2e372d[_0x4f3d5a(0x241)]),_0x11c0e1(0x2,_0x3392b5[_0x4f3d5a(0x1cd)])],_0x427316[_0x4f3d5a(0x2ad)]);const _0x5066c3=_0x3392b5[_0x4f3d5a(0x428)](_0x4f3d5a(0x256));var _0x10fa35=(_0x55c04f=>(_0x55c04f[_0x55c04f['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4f3d5a(0x1d4),_0x55c04f[_0x55c04f[_0x4f3d5a(0xba)]=0x1]=_0x4f3d5a(0xba),_0x55c04f))(_0x10fa35||{});const _0x5dafb3=_0x4f3d5a(0x36f),_0x332a83={};function _0x41e0d1(_0x5026e2){var _0x5855bd=_0x4f3d5a,_0xa9946b;return!!((_0xa9946b=_0x5026e2[_0x5855bd(0x37c)])!=null&&_0xa9946b[_0x5855bd(0x404)]);}const _0x44eb66=new Set([_0x5d6cc8[_0x4f3d5a(0x436)]['id']]);function _0x38a3b5(_0x216bce,_0x324b30,_0x334d2e,_0x3b05e0,_0x578795){var _0x56f202=_0x4f3d5a,_0x3847f8,_0x1b05e6,_0x2be358,_0x184a34;const _0x11e742=[];for(const _0x482099 of _0x216bce){if(_0x44eb66[_0x56f202(0x21c)](_0x482099['id'])){if(_0x11e742['length']>0x0)break;_0x11e742[_0x56f202(0x228)](_0x482099);break;}if(_0x41e0d1(_0x482099)){if(_0x11e742[_0x56f202(0x36c)]>0x0)break;_0x11e742['push'](_0x482099);break;}_0x11e742[_0x56f202(0x228)](_0x482099);}const _0x5e673a=(_0x1b05e6=(_0x3847f8=_0x578795[_0x56f202(0x1bb)]())==null?void 0x0:_0x3847f8[_0x56f202(0x25f)])!=null?_0x1b05e6:_0x56f202(0x353),_0x1cceab=(_0x184a34=(_0x2be358=_0x578795['getCurrentUser']())==null?void 0x0:_0x2be358[_0x56f202(0x185)])!=null?_0x184a34:_0x56f202(0x353);return{'changeset':{'unitID':_0x324b30,'type':_0x2e372d['mapDocumentTypeToUniverType'](_0x334d2e[_0x56f202(0x3b9)](_0x324b30)),'baseRev':_0x3b05e0[_0x56f202(0x12d)](_0x324b30),'revision':0x0,'userID':_0x5e673a,'memberID':_0x1cceab,'mutations':_0x11e742},'pendingMutations':_0x216bce[_0x56f202(0x3fe)](_0x11e742['length'])};}function _0xad5e0e(_0x450e4e,_0x335a27,_0x26d134,_0x5deb2e,_0x4251f1){var _0xfe569b=_0x4f3d5a,_0x5e15bd,_0x581aa7,_0x174f79,_0x19f94e;const _0x4fce45=[_0x450e4e[_0xfe569b(0x3fb)]((_0x56f4ed,_0x4d7e7e)=>{var _0xa038cc=_0xfe569b,_0x3f53b1;const {id:_0x523aab}=_0x56f4ed,{id:_0x2804c3,type:_0x458815}=_0x4d7e7e,_0x403125=(_0x3f53b1=_0x56f4ed['params'])!=null?_0x3f53b1:{'actions':null},_0x27ea2c=_0x4d7e7e[_0xa038cc(0x37c)];if(_0x523aab&&_0x523aab!==_0x2804c3)throw new Error(_0xa038cc(0x19f)+_0x523aab+_0xa038cc(0x2fe)+_0x2804c3+'.');return{..._0x56f4ed,'id':_0x2804c3,'type':_0x458815,'params':{'unitId':_0x27ea2c[_0xa038cc(0x2a6)],'textRanges':_0x27ea2c[_0xa038cc(0x15a)],'actions':_0x3392b5[_0xa038cc(0x3eb)][_0xa038cc(0x34c)](_0x403125['actions'],_0x27ea2c[_0xa038cc(0xb8)])}};},{})],_0x5d4a22=(_0x581aa7=(_0x5e15bd=_0x4251f1[_0xfe569b(0x1bb)]())==null?void 0x0:_0x5e15bd[_0xfe569b(0x25f)])!=null?_0x581aa7:'unknown',_0x173593=(_0x19f94e=(_0x174f79=_0x4251f1['getCurrentUser']())==null?void 0x0:_0x174f79[_0xfe569b(0x185)])!=null?_0x19f94e:_0xfe569b(0x353);return{'changeset':{'unitID':_0x335a27,'type':_0x2e372d['mapDocumentTypeToUniverType'](_0x26d134[_0xfe569b(0x3b9)](_0x335a27)),'baseRev':_0x5deb2e[_0xfe569b(0x12d)](_0x335a27),'revision':0x0,'userID':_0x5d4a22,'memberID':_0x173593,'mutations':_0x4fce45},'pendingMutations':[]};}function _0x162f53(_0x5d2cea,_0x33aadd){var _0x5df35d=_0x4f3d5a;const _0x44b383=new _0x2c1c73['ReplaySubject'](0x1);return setTimeout(()=>_0x44b383['next'](_0x33aadd),_0x5d2cea),_0x44b383[_0x5df35d(0x28d)]()[_0x5df35d(0x1c4)](_0x2c1c73[_0x5df35d(0x3e5)](0x1));}var _0x5ad3a8=Object['getOwnPropertyDescriptor'],_0xe1621a=(_0x5ac6fe,_0x595843,_0x1bd487,_0x310054)=>{for(var _0xf4020d=_0x310054>0x1?void 0x0:_0x310054?_0x5ad3a8(_0x595843,_0x1bd487):_0x595843,_0x4f8c63=_0x5ac6fe['length']-0x1,_0x105404;_0x4f8c63>=0x0;_0x4f8c63--)(_0x105404=_0x5ac6fe[_0x4f8c63])&&(_0xf4020d=_0x105404(_0xf4020d)||_0xf4020d);return _0xf4020d;},_0x558211=(_0x3a1055,_0x307477)=>(_0x165e0c,_0x5a546d)=>_0x307477(_0x165e0c,_0x5a546d,_0x3a1055),_0x544502=(_0xd647bc=>(_0xd647bc[_0x4f3d5a(0x2d4)]=_0x4f3d5a(0x2d6),_0xd647bc[_0x4f3d5a(0x2e7)]=_0x4f3d5a(0x224),_0xd647bc[_0x4f3d5a(0xc4)]=_0x4f3d5a(0x1a3),_0xd647bc[_0x4f3d5a(0xb2)]=_0x4f3d5a(0x2ba),_0xd647bc['AWAITING_WITH_PENDING']='awaiting_with_pending',_0xd647bc[_0x4f3d5a(0x1ad)]='fetch_missing',_0xd647bc[_0x4f3d5a(0x2b6)]=_0x4f3d5a(0x1c0),_0xd647bc[_0x4f3d5a(0x27a)]='offline',_0xd647bc))(_0x544502||{});const _0x31105b=0x4e20,_0x54bef6=0x2bf20;class _0x2448c4{constructor(_0x434284,_0x49f9db,_0x21dec9,_0x4162be,_0x598fd8,_0x26d2df,_0x5b4db8,_0x24e324,_0x373222){var _0xf2a49b=_0x4f3d5a;_0x2cd3a0(this,_0xf2a49b(0x2c4),null),_0x2cd3a0(this,_0xf2a49b(0x435),[]),(this[_0xf2a49b(0x259)]=_0x434284,this[_0xf2a49b(0x116)]=_0x49f9db,this[_0xf2a49b(0x3ac)]=_0x598fd8,this[_0xf2a49b(0x29b)]=_0x26d2df,this[_0xf2a49b(0x392)]=_0x5b4db8,this[_0xf2a49b(0x402)]=_0x24e324,this['_localCacheService']=_0x373222,this['_awaitingChangeset']=_0x21dec9,this['_pendingMutations']=_0x4162be);}[_0x4f3d5a(0x113)](_0x3439fb){var _0x446b1b=_0x4f3d5a;const _0x107a2c=this[_0x446b1b(0x402)][_0x446b1b(0x12d)](this[_0x446b1b(0x259)]);return _0x3439fb[_0x446b1b(0x123)]>_0x107a2c+0x1?(this['_handler'][_0x446b1b(0x2f5)]({'from':_0x107a2c,'to':_0x3439fb[_0x446b1b(0x123)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1e10f4){var _0x3f7c8b=_0x4f3d5a;this['_undoRedoService'][_0x3f7c8b(0x3fa)](this[_0x3f7c8b(0x259)],_0x1e10f4);}[_0x4f3d5a(0xae)](_0x3aad75){var _0x4a395c=_0x4f3d5a,_0x430406,_0x124cd0;(_0x124cd0=(_0x430406=this['_handler'])[_0x4a395c(0x18a)])==null||_0x124cd0['call'](_0x430406,_0x3aad75);}[_0x4f3d5a(0x212)](_0x2b4d1b){var _0x14e4dc=_0x4f3d5a,_0xbed10f,_0x42c791;return(_0x42c791=(_0xbed10f=this[_0x14e4dc(0x3ac)])[_0x14e4dc(0x171)])==null?void 0x0:_0x42c791[_0x14e4dc(0x1da)](_0xbed10f,_0x2b4d1b);}[_0x4f3d5a(0x37e)](_0x59fd01){var _0x1236cc=_0x4f3d5a,_0x775e79,_0x201a4b;return(_0x201a4b=(_0x775e79=this['_handler'])[_0x1236cc(0x3dc)])==null?void 0x0:_0x201a4b['call'](_0x775e79,_0x59fd01);}['_transformRemoteChangesetByIMECache'](_0x1ffba4){var _0x53b36b=_0x4f3d5a,_0x156246,_0x3220d1,_0x5593cf;return(_0x5593cf=(_0x3220d1=(_0x156246=this[_0x53b36b(0x3ac)])[_0x53b36b(0x443)])==null?void 0x0:_0x3220d1[_0x53b36b(0x1da)](_0x156246,_0x1ffba4))!=null?_0x5593cf:_0x1ffba4;}[_0x4f3d5a(0x251)](_0x16f6d8){var _0x39cfad=_0x4f3d5a,_0x4d713d,_0xce8311,_0x130f03;return(_0x130f03=(_0xce8311=(_0x4d713d=this[_0x39cfad(0x3ac)])[_0x39cfad(0x200)])==null?void 0x0:_0xce8311['call'](_0x4d713d,_0x16f6d8))!=null?_0x130f03:_0x16f6d8;}['_syncEditingCollabCursor'](_0x451b55){var _0x2f232d=_0x4f3d5a,_0x4cb0a7,_0x3b5ec7;if(this[_0x2f232d(0x116)]===_0x2f4b9b['UNIVER_DOC']){const {unitID:_0x3ab57d,mutations:_0xe837eb,memberID:_0x1a022f}=_0x451b55,_0x494afa=_0xe837eb[_0x2f232d(0x36c)]>0x0?_0xe837eb[0x0]['params'][_0x2f232d(0x15a)]:[];Array['isArray'](_0x494afa)&&_0x494afa['length']>0x0&&((_0x3b5ec7=(_0x4cb0a7=this[_0x2f232d(0x3ac)])['onSyncEditingCollabCursor'])==null||_0x3b5ec7[_0x2f232d(0x1da)](_0x4cb0a7,{'unitID':_0x3ab57d,'memberID':_0x1a022f,'textRanges':_0x494afa}));}}['_updateLocalCache'](){var _0x204eb3=_0x4f3d5a,_0x32152a;(_0x32152a=this['_localCacheService'])==null||_0x32152a[_0x204eb3(0x39e)](this['unitID'],this[_0x204eb3(0x116)],this[_0x204eb3(0x2c4)],this['_pendingMutations']);}[_0x4f3d5a(0x29e)](){var _0x5f5ad9=_0x4f3d5a;return this[_0x5f5ad9(0x402)][_0x5f5ad9(0x12d)](this['unitID']);}[_0x4f3d5a(0x3b8)](){var _0x454b20=_0x4f3d5a;this[_0x454b20(0x402)]['incrementRevOfUnit'](this[_0x454b20(0x259)]);}['_executeRemoteChangeset'](_0xe8d51d){var _0x249e31=_0x4f3d5a,_0x21758f;let _0x56d154=this[_0x249e31(0x311)](_0xe8d51d);_0x56d154=this[_0x249e31(0x251)](_0x56d154);const _0x1dce83=_0x3392b5[_0x249e31(0x36d)](_0x56d154[_0x249e31(0x204)],this[_0x249e31(0x29b)],{'fromCollab':!0x0});if(!_0x1dce83[_0x249e31(0x161)])throw _0x1dce83[_0x249e31(0x316)]instanceof Error?_0x1dce83[_0x249e31(0x316)]:new Error((_0x21758f=_0x1dce83[_0x249e31(0x316)])!=null?_0x21758f:_0x249e31(0x2e3));this[_0x249e31(0x212)](_0x56d154),this[_0x249e31(0x37e)](_0x56d154),this[_0x249e31(0x370)](_0xe8d51d),this[_0x249e31(0xae)](_0x56d154),this[_0x249e31(0x39a)](_0x56d154),this['_incrementRevisionNumber']();}}_0x427316[_0x4f3d5a(0x389)]=class extends _0x2448c4{constructor(_0x27720c,_0x40923b,_0x140dbc,_0x211e95,_0x114ff4,_0x67eec,_0x2dd972,_0x11242d,_0x5ac3bf,_0xd054d6){var _0x51fc93=_0x4f3d5a;super(_0x27720c,_0x40923b,null,[],_0x140dbc,_0x2dd972,_0x67eec,_0x211e95,_0xd054d6),_0x2cd3a0(this,_0x51fc93(0x319),_0x51fc93(0x224)),(this[_0x51fc93(0x1fb)]=_0x114ff4,this[_0x51fc93(0x165)]=_0x11242d,this['_transformService']=_0x5ac3bf,this[_0x51fc93(0x2ef)]=_0xd054d6);}[_0x4f3d5a(0x195)](_0x17eb9b){var _0x274f89=_0x4f3d5a;const _0x2e51b6=this[_0x274f89(0x1fb)][_0x274f89(0x417)](_0x427316[_0x274f89(0x2b0)],this[_0x274f89(0x259)],this[_0x274f89(0x116)],[_0x17eb9b],this[_0x274f89(0x3ac)]);return _0x2e51b6['_schedule'](),_0x2e51b6['_updateLocalCache'](),_0x2e51b6;}[_0x4f3d5a(0x110)](_0x10cc41){var _0x1dec5b=_0x4f3d5a;if(this[_0x1dec5b(0x113)](_0x10cc41))return this[_0x1dec5b(0x1fb)]['createInstance'](_0x427316[_0x1dec5b(0x1cb)],this['unitID'],this[_0x1dec5b(0x116)],null,[],null,[_0x10cc41],this['_handler']);try{const _0xe13773=this['_transformService'][_0x1dec5b(0x434)](_0x10cc41,[_0x2e372d[_0x1dec5b(0x1e4)]]);if(_0x2e372d[_0x1dec5b(0x199)](_0xe13773)){const {c1Prime:_0x107af9}=_0xe13773;return this[_0x1dec5b(0x24f)](_0x107af9),this;}throw _0xe13773[_0x1dec5b(0x316)];}catch(_0x4afbec){return this[_0x1dec5b(0x165)]['error'](_0x4afbec),this['_onConflict'](!0x1);}}[_0x4f3d5a(0x250)](_0x3bdab2){var _0x1599fa=_0x4f3d5a;return this[_0x1599fa(0x1fb)][_0x1599fa(0x417)](_0x427316[_0x1599fa(0x11c)],this['unitID'],this[_0x1599fa(0x116)],null,[],this['_handler'],_0x3bdab2);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x4f3d5a(0x2c5)](){var _0x4865b1=_0x4f3d5a;throw new Error(_0x4865b1(0x361));}[_0x4f3d5a(0x201)](){return this;}[_0x4f3d5a(0x163)](){var _0x4f3cc4=_0x4f3d5a;return this[_0x4f3cc4(0x1fb)]['createInstance'](_0x427316['OfflineState'],this[_0x4f3cc4(0x259)],this[_0x4f3cc4(0x116)],null,[],this[_0x4f3cc4(0x3ac)]);}[_0x4f3d5a(0x12e)](){return this;}[_0x4f3d5a(0x1ca)](){var _0x3fe507=_0x4f3d5a;throw new Error(_0x3fe507(0x3ca));}[_0x4f3d5a(0x274)](){var _0x260228=_0x4f3d5a;const _0xe50d1c=this[_0x260228(0x402)][_0x260228(0x12d)](this[_0x260228(0x259)]);return this[_0x260228(0x3ac)][_0x260228(0x2f5)]({'from':_0xe50d1c,'to':0x0}),this[_0x260228(0x1fb)][_0x260228(0x417)](_0x427316[_0x260228(0x1cb)],this[_0x260228(0x259)],this[_0x260228(0x116)],null,[],null,[],this['_handler']);}},_0x427316['SyncedState']=_0xe1621a([_0x558211(0x3,_0x3392b5['Inject'](_0x2e372d[_0x4f3d5a(0x2ab)])),_0x558211(0x4,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x421)])),_0x558211(0x5,_0x3392b5[_0x4f3d5a(0x438)]),_0x558211(0x6,_0x3392b5[_0x4f3d5a(0x2ff)]),_0x558211(0x7,_0x3392b5[_0x4f3d5a(0x1c1)]),_0x558211(0x8,_0x2e372d['ITransformService']),_0x558211(0x9,_0x3392b5['Optional'](_0x4597c5))],_0x427316[_0x4f3d5a(0x389)]),_0x427316[_0x4f3d5a(0x2b0)]=class extends _0x2448c4{constructor(_0x1802a8,_0x34b70b,_0x1feda8,_0x17190c,_0x2b2755,_0x594a88,_0x9b4bd1,_0x27ac66,_0x430d93,_0x215e52,_0x382f3e,_0xaac94a,_0x46be05,_0x3f497e){var _0x160479=_0x4f3d5a;super(_0x1802a8,_0x34b70b,null,_0x1feda8,_0x17190c,_0x430d93,_0x46be05,_0x594a88,_0x3f497e),_0x2cd3a0(this,_0x160479(0x319),_0x160479(0x1a3)),_0x2cd3a0(this,'_scheduleCompleteTimestamp',null),_0x2cd3a0(this,_0x160479(0x1df),null),(this[_0x160479(0x1fb)]=_0x2b2755,this[_0x160479(0x1c3)]=_0x9b4bd1,this[_0x160479(0x165)]=_0x27ac66,this[_0x160479(0xd0)]=_0x215e52,this[_0x160479(0x2a3)]=_0x382f3e,this['_univerInstanceService']=_0xaac94a);}[_0x4f3d5a(0x195)](_0x300b2c){var _0x3459ff=_0x4f3d5a;return this[_0x3459ff(0x435)][_0x3459ff(0x228)](_0x300b2c),this[_0x3459ff(0x23e)](),this;}[_0x4f3d5a(0x110)](_0x275547){var _0x408c70=_0x4f3d5a;if(this[_0x408c70(0x113)](_0x275547))return this['_clearScheduledTask'](),this[_0x408c70(0x1fb)][_0x408c70(0x417)](_0x427316[_0x408c70(0x1cb)],this[_0x408c70(0x259)],this[_0x408c70(0x116)],null,this[_0x408c70(0x435)],null,[_0x275547],this[_0x408c70(0x3ac)]);try{const _0x62f2ce=this[_0x408c70(0x2a3)]['transformMutationsWithChangeset'](_0x275547,this[_0x408c70(0x435)]);if(_0x2e372d[_0x408c70(0x199)](_0x62f2ce)){const {c1Prime:_0x10e653,m2Prime:_0x2944a7}=_0x62f2ce;this['_executeRemoteChangeset'](_0x10e653);const _0x477914=this[_0x408c70(0x1fb)][_0x408c70(0x417)](_0x427316[_0x408c70(0x2b0)],this[_0x408c70(0x259)],this[_0x408c70(0x116)],_0x2944a7,this['_handler']);this[_0x408c70(0xc2)]();const _0x13e1a8=new Date()[_0x408c70(0x286)](),_0x3e8283=this[_0x408c70(0x362)]?Math[_0x408c70(0x40b)](this[_0x408c70(0x362)]-_0x13e1a8,0x0):this[_0x408c70(0x2c9)]();return _0x477914[_0x408c70(0x34b)](_0x3e8283),_0x477914;}throw _0x62f2ce[_0x408c70(0x316)];}catch(_0x45be74){return this[_0x408c70(0x165)][_0x408c70(0x316)](_0x45be74),this[_0x408c70(0x250)](!0x1);}}[_0x4f3d5a(0x119)](){var _0x4fbe91=_0x4f3d5a;throw new Error(_0x4fbe91(0x16a));}['onRemoteRej'](){var _0x10c193=_0x4f3d5a;throw new Error(_0x10c193(0x317));}[_0x4f3d5a(0x201)](){return this;}['toggleOffline'](){var _0x18399c=_0x4f3d5a;return this[_0x18399c(0xc2)](),this[_0x18399c(0x1fb)][_0x18399c(0x417)](_0x427316[_0x18399c(0x33c)],this['unitID'],this[_0x18399c(0x116)],null,this[_0x18399c(0x435)],this[_0x18399c(0x3ac)]);}['toggleOnline'](){return this;}[_0x4f3d5a(0x34b)](_0x5a1d7b){var _0x563a40=_0x4f3d5a;const _0x314b4c=_0x5a1d7b!=null?_0x5a1d7b:this[_0x563a40(0x2c9)]();this[_0x563a40(0x362)]=new Date()[_0x563a40(0x286)]()+_0x314b4c,this[_0x563a40(0x1df)]=setTimeout(()=>{var _0x28608d=_0x563a40;this[_0x28608d(0xc2)]();let _0x138697=null;switch(this['type']){case _0x2f4b9b[_0x28608d(0x214)]:{_0x138697=_0x38a3b5(this[_0x28608d(0x435)],this[_0x28608d(0x259)],this['_univerInstanceService'],this[_0x28608d(0x402)],this[_0x28608d(0x1c3)]);break;}case _0x2f4b9b[_0x28608d(0x26b)]:{this[_0x28608d(0x435)]['every'](_0x5a9512=>_0x5a9512['id']===_0x2b0001[_0x28608d(0x2e6)]['id'])?_0x138697=_0xad5e0e(this[_0x28608d(0x435)],this[_0x28608d(0x259)],this[_0x28608d(0x43d)],this['_revisionService'],this[_0x28608d(0x1c3)]):_0x138697=_0x38a3b5(this[_0x28608d(0x435)],this[_0x28608d(0x259)],this[_0x28608d(0x43d)],this[_0x28608d(0x402)],this['_memberService']);break;}default:throw new Error(_0x28608d(0x327)+this['type']+_0x28608d(0x27c));}const {changeset:_0x46d24f,pendingMutations:_0x44b3fb}=_0x138697;this[_0x28608d(0x3ac)][_0x28608d(0x3e9)](_0x46d24f);const _0x43160d=_0x44b3fb[_0x28608d(0x36c)]?this['_injector'][_0x28608d(0x417)](_0x427316['AwaitingWithPendingState'],this['unitID'],this['type'],_0x46d24f,_0x44b3fb,this['_handler'],void 0x0):this[_0x28608d(0x1fb)][_0x28608d(0x417)](_0x427316[_0x28608d(0xdc)],this[_0x28608d(0x259)],this[_0x28608d(0x116)],_0x46d24f,this[_0x28608d(0x3ac)]);_0x43160d['_updateLocalCache'](),this[_0x28608d(0x3ac)][_0x28608d(0x1a6)](this,_0x43160d);},_0x314b4c);}['_getSendChangesetTimeout'](){var _0x597acd=_0x4f3d5a,_0x5adfd7;const _0x5c7989=this[_0x597acd(0xd0)][_0x597acd(0x38d)](_0x5dafb3);return(_0x5adfd7=_0x5c7989==null?void 0x0:_0x5c7989[_0x597acd(0xe0)])!=null?_0x5adfd7:0x7d0;}[_0x4f3d5a(0x1ca)](){var _0x21172a=_0x4f3d5a;throw new Error(_0x21172a(0x2d0));}[_0x4f3d5a(0xc2)](){var _0x6ada44=_0x4f3d5a;this[_0x6ada44(0x1df)]!=null&&(clearTimeout(this[_0x6ada44(0x1df)]),this[_0x6ada44(0x1df)]=null);}[_0x4f3d5a(0x250)](_0x53bba3){var _0x254e42=_0x4f3d5a;return this[_0x254e42(0xc2)](),this['_injector'][_0x254e42(0x417)](_0x427316[_0x254e42(0x11c)],this[_0x254e42(0x259)],this['type'],null,this[_0x254e42(0x435)],this[_0x254e42(0x3ac)],_0x53bba3);}},_0x427316[_0x4f3d5a(0x2b0)]=_0xe1621a([_0x558211(0x4,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x421)])),_0x558211(0x5,_0x3392b5[_0x4f3d5a(0x329)](_0x2e372d[_0x4f3d5a(0x2ab)])),_0x558211(0x6,_0x3392b5[_0x4f3d5a(0x329)](_0x427316['MemberService'])),_0x558211(0x7,_0x3392b5[_0x4f3d5a(0x1c1)]),_0x558211(0x8,_0x3392b5['ICommandService']),_0x558211(0x9,_0x3392b5[_0x4f3d5a(0x3dd)]),_0x558211(0xa,_0x2e372d[_0x4f3d5a(0x241)]),_0x558211(0xb,_0x3392b5['IUniverInstanceService']),_0x558211(0xc,_0x3392b5['IUndoRedoService']),_0x558211(0xd,_0x3392b5[_0x4f3d5a(0x289)](_0x4597c5))],_0x427316[_0x4f3d5a(0x2b0)]),_0x427316['AwaitingState']=class extends _0x2448c4{constructor(_0x1cd64a,_0xb5b606,_0x3d6bf1,_0x345781,_0x5c4294,_0x587d5c,_0xdf7f68,_0x3a53da,_0x22572d,_0x319a37,_0x52d565){var _0x24fa02=_0x4f3d5a;super(_0x1cd64a,_0xb5b606,_0x3d6bf1,[],_0x345781,_0xdf7f68,_0x319a37,_0x587d5c,_0x52d565),_0x2cd3a0(this,_0x24fa02(0x319),'awaiting'),_0x2cd3a0(this,_0x24fa02(0x117),0x0),_0x2cd3a0(this,_0x24fa02(0x1ab),0x0),_0x2cd3a0(this,_0x24fa02(0x426)),_0x2cd3a0(this,_0x24fa02(0x40e)),(this['_injector']=_0x5c4294,this[_0x24fa02(0x165)]=_0x3a53da,this[_0x24fa02(0x2a3)]=_0x22572d);}[_0x4f3d5a(0x195)](_0x2fd610){var _0x40f47c=_0x4f3d5a;this['_clearScheduledTask']();const _0x12de03=this[_0x40f47c(0x1fb)][_0x40f47c(0x417)](_0x427316[_0x40f47c(0x254)],this[_0x40f47c(0x259)],this[_0x40f47c(0x116)],this[_0x40f47c(0x2c4)],[_0x2fd610],this[_0x40f47c(0x3ac)],this['_resendTimer']);return _0x12de03[_0x40f47c(0x23e)](),_0x12de03;}[_0x4f3d5a(0x110)](_0x25ea3d){var _0x3a9ffb=_0x4f3d5a;if(this[_0x3a9ffb(0x113)](_0x25ea3d))return this[_0x3a9ffb(0xc2)](),this[_0x3a9ffb(0x1fb)][_0x3a9ffb(0x417)](_0x427316[_0x3a9ffb(0x1cb)],this[_0x3a9ffb(0x259)],this['type'],this[_0x3a9ffb(0x2c4)],[],null,[_0x25ea3d],this[_0x3a9ffb(0x3ac)]);try{const _0x5c6a9b=this[_0x3a9ffb(0x2a3)]['transformChangesets']([_0x25ea3d],[this[_0x3a9ffb(0x2c4)]],!0x1);if(_0x2e372d['isTransformChangesetsSuccess'](_0x5c6a9b)){const {c1Prime:_0x249235,c2Prime:_0x13151e}=_0x5c6a9b;this[_0x3a9ffb(0x24f)](_0x249235[0x0]),_0x13151e[0x0][_0x3a9ffb(0x378)]=this[_0x3a9ffb(0x29e)](),this['_clearScheduledTask']();const _0x412114=this[_0x3a9ffb(0x1fb)][_0x3a9ffb(0x417)](_0x427316[_0x3a9ffb(0xdc)],this[_0x3a9ffb(0x259)],this[_0x3a9ffb(0x116)],_0x13151e[0x0],this[_0x3a9ffb(0x3ac)]);return _0x412114[_0x3a9ffb(0x23e)](),_0x412114;}return this[_0x3a9ffb(0x250)](!0x1);}catch(_0x195f98){return this[_0x3a9ffb(0x165)]['error'](_0x195f98),this[_0x3a9ffb(0x250)](!0x1);}}[_0x4f3d5a(0x119)](_0x27bb56){var _0x42680a=_0x4f3d5a;this[_0x42680a(0xc2)]();const _0x23b8ef=this[_0x42680a(0x402)]['getCurrentRevOfUnit'](this[_0x42680a(0x259)]);if(_0x27bb56[_0x42680a(0x123)]<_0x23b8ef-0x1)return this;if(this[_0x42680a(0x113)](_0x27bb56))return this[_0x42680a(0x1fb)][_0x42680a(0x417)](_0x427316[_0x42680a(0x1cb)],this[_0x42680a(0x259)],this['type'],null,[],this[_0x42680a(0x2c4)],[],this['_handler']);this[_0x42680a(0x3b8)]();const _0x494768=this[_0x42680a(0x1fb)][_0x42680a(0x417)](_0x427316[_0x42680a(0x389)],this['unitID'],this[_0x42680a(0x116)],this[_0x42680a(0x3ac)]);return _0x494768['_updateLocalCache'](),_0x494768;}[_0x4f3d5a(0x2c5)](_0x1a3cb3){var _0x441e34=_0x4f3d5a;return this[_0x441e34(0x250)](!!(_0x1a3cb3!=null&&_0x1a3cb3[_0x441e34(0x2bb)]));}[_0x4f3d5a(0x201)](_0x3cc002){var _0xe4ecf7=_0x4f3d5a;return this[_0xe4ecf7(0x1ab)]>_0x54bef6?this['toggleOffline']():(this[_0xe4ecf7(0x426)]=_0x162f53(this[_0xe4ecf7(0x117)],{'timeout':this[_0xe4ecf7(0x117)],'reqId':_0x3cc002['reqId']}),this['_sender']=this[_0xe4ecf7(0x426)][_0xe4ecf7(0x12f)](({reqId:_0x33af65,timeout:_0xcec685})=>{var _0x1e3209=_0xe4ecf7;this[_0x1e3209(0x2cb)](_0x33af65,_0xcec685);}),this);}['toggleOffline'](){var _0x3625e7=_0x4f3d5a;return this['_clearScheduledTask'](),this[_0x3625e7(0x1fb)][_0x3625e7(0x417)](_0x427316[_0x3625e7(0x33c)],this[_0x3625e7(0x259)],this['type'],this[_0x3625e7(0x2c4)],[],this['_handler']);}[_0x4f3d5a(0x12e)](){return this;}['resend'](){var _0x36e76e=_0x4f3d5a;this[_0x36e76e(0x3ac)][_0x36e76e(0x3e9)](this[_0x36e76e(0x2c4)]);}[_0x4f3d5a(0x250)](_0x17c441){var _0x3e8735=_0x4f3d5a;return this[_0x3e8735(0xc2)](),this[_0x3e8735(0x1fb)][_0x3e8735(0x417)](_0x427316[_0x3e8735(0x11c)],this['unitID'],this[_0x3e8735(0x116)],this[_0x3e8735(0x2c4)],[],this[_0x3e8735(0x3ac)],_0x17c441);}[_0x4f3d5a(0x2cb)](_0x7304c8,_0x18a8ac){var _0x421126=_0x4f3d5a,_0x3504fb;_0x7304c8===((_0x3504fb=this[_0x421126(0x2c4)])==null?void 0x0:_0x3504fb[_0x421126(0x3ad)])&&(this[_0x421126(0x1ca)](),this[_0x421126(0x117)]=_0x18a8ac===0x0?0x3e8:Math[_0x421126(0x345)](_0x18a8ac*0x2,_0x31105b),this[_0x421126(0x1ab)]+=this[_0x421126(0x117)]);}[_0x4f3d5a(0xc2)](){var _0x2fcdf6=_0x4f3d5a,_0x47de73;(_0x47de73=this[_0x2fcdf6(0x40e)])==null||_0x47de73['unsubscribe'](),this[_0x2fcdf6(0x117)]=0x0,this[_0x2fcdf6(0x1ab)]=0x0;}},_0x427316['AwaitingState']=_0xe1621a([_0x558211(0x4,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x421)])),_0x558211(0x5,_0x3392b5['Inject'](_0x2e372d[_0x4f3d5a(0x2ab)])),_0x558211(0x6,_0x3392b5[_0x4f3d5a(0x2ff)]),_0x558211(0x7,_0x3392b5[_0x4f3d5a(0x1c1)]),_0x558211(0x8,_0x2e372d[_0x4f3d5a(0x241)]),_0x558211(0x9,_0x3392b5[_0x4f3d5a(0x438)]),_0x558211(0xa,_0x3392b5[_0x4f3d5a(0x289)](_0x4597c5))],_0x427316[_0x4f3d5a(0xdc)]),_0x427316[_0x4f3d5a(0x254)]=class extends _0x2448c4{constructor(_0x581763,_0x4ec52d,_0x4f010d,_0x5883b7,_0x542f28,_0x4b1d13,_0x13e2ed,_0x5ca93f,_0x183293,_0x331a49,_0x22d35d,_0x39e352,_0x6dd78d){var _0x56312a=_0x4f3d5a;super(_0x581763,_0x4ec52d,_0x4f010d,_0x5883b7,_0x542f28,_0x183293,_0x39e352,_0x5ca93f,_0x6dd78d),_0x2cd3a0(this,'status','awaiting_with_pending'),_0x2cd3a0(this,'_resendTimeout',0x0),_0x2cd3a0(this,_0x56312a(0x1ab),0x0),_0x2cd3a0(this,_0x56312a(0x426)),_0x2cd3a0(this,_0x56312a(0x40e)),(this[_0x56312a(0x1fb)]=_0x13e2ed,this['_logService']=_0x331a49,this['_transformService']=_0x22d35d,this['localCacheService']=_0x6dd78d,_0x4b1d13&&(this[_0x56312a(0x426)]=_0x4b1d13,this[_0x56312a(0x40e)]=this[_0x56312a(0x426)]['subscribe'](({reqId:_0x4c74f9,timeout:_0x36a4a8})=>{var _0x22d434=_0x56312a;this[_0x22d434(0x2cb)](_0x4c74f9,_0x36a4a8);})));}['appendMutation'](_0x2dabf9){var _0x7d8b2e=_0x4f3d5a;return this['_pendingMutations'][_0x7d8b2e(0x228)](_0x2dabf9),this;}[_0x4f3d5a(0x110)](_0x3bfb40){var _0x56ccb7=_0x4f3d5a;if(this[_0x56ccb7(0x113)](_0x3bfb40))return this['_clearScheduledTask'](),this[_0x56ccb7(0x1fb)][_0x56ccb7(0x417)](_0x427316[_0x56ccb7(0x1cb)],this[_0x56ccb7(0x259)],this[_0x56ccb7(0x116)],this['_awaitingChangeset'],this[_0x56ccb7(0x435)],null,[_0x3bfb40],this[_0x56ccb7(0x3ac)]);try{const _0x7ab73f=this[_0x56ccb7(0x2a3)][_0x56ccb7(0x1d3)]([_0x3bfb40],[this[_0x56ccb7(0x2c4)]],!0x1);if(_0x2e372d['isTransformChangesetsSuccess'](_0x7ab73f)){const {c1Prime:_0x28f1c5,c2Prime:_0x2d61cb}=_0x7ab73f,_0x4ff5f8=this['_transformService']['transformMutationsWithChangeset'](_0x28f1c5[0x0],this[_0x56ccb7(0x435)]);if(_0x2e372d[_0x56ccb7(0x199)](_0x4ff5f8)){const {c1Prime:_0x335e5f,m2Prime:_0x48abf1}=_0x4ff5f8;return this[_0x56ccb7(0x24f)](_0x335e5f),_0x2d61cb[0x0]['baseRev']=this[_0x56ccb7(0x29e)](),this['_clearScheduledTask'](),this[_0x56ccb7(0x1fb)][_0x56ccb7(0x417)](_0x427316[_0x56ccb7(0x254)],this[_0x56ccb7(0x259)],this[_0x56ccb7(0x116)],_0x2d61cb[0x0],_0x48abf1,this['_handler'],void 0x0);}throw _0x4ff5f8[_0x56ccb7(0x316)];}throw _0x7ab73f['error'];}catch(_0x1e0991){return this[_0x56ccb7(0x165)][_0x56ccb7(0x316)](_0x1e0991),this[_0x56ccb7(0x250)](!0x1);}}[_0x4f3d5a(0x119)](_0x28b10b){var _0x14f469=_0x4f3d5a;if(this[_0x14f469(0xc2)](),this[_0x14f469(0x113)](_0x28b10b))return this[_0x14f469(0x1fb)]['createInstance'](_0x427316[_0x14f469(0x1cb)],this[_0x14f469(0x259)],this[_0x14f469(0x116)],null,this[_0x14f469(0x435)],this['_awaitingChangeset'],[],this[_0x14f469(0x3ac)]);this[_0x14f469(0x3b8)]();const _0x3232e0=this[_0x14f469(0x1fb)][_0x14f469(0x417)](_0x427316['PendingState'],this[_0x14f469(0x259)],this[_0x14f469(0x116)],this[_0x14f469(0x435)],this[_0x14f469(0x3ac)]);return _0x3232e0[_0x14f469(0x34b)](),_0x3232e0[_0x14f469(0x23e)](),_0x3232e0;}[_0x4f3d5a(0x2c5)](_0xaed517){var _0x3df2a6=_0x4f3d5a;return this[_0x3df2a6(0x250)](!!(_0xaed517!=null&&_0xaed517['isPermissionRej']));}[_0x4f3d5a(0x201)](_0x17cdd4){var _0x342d4e=_0x4f3d5a;return this['_maxTotalRetryTimeout']>_0x54bef6?this[_0x342d4e(0x163)]():(this['_resendTimer']=_0x162f53(this[_0x342d4e(0x117)],{'timeout':this[_0x342d4e(0x117)],'reqId':_0x17cdd4[_0x342d4e(0x3ad)]}),this[_0x342d4e(0x40e)]=this[_0x342d4e(0x426)][_0x342d4e(0x12f)](({reqId:_0x4051ac,timeout:_0x55533b})=>{var _0x5999fc=_0x342d4e;this[_0x5999fc(0x2cb)](_0x4051ac,_0x55533b);}),this);}[_0x4f3d5a(0x163)](){var _0x4a9df8=_0x4f3d5a;return this['_clearScheduledTask'](),this[_0x4a9df8(0x1fb)][_0x4a9df8(0x417)](_0x427316[_0x4a9df8(0x33c)],this[_0x4a9df8(0x259)],this[_0x4a9df8(0x116)],this[_0x4a9df8(0x2c4)],this[_0x4a9df8(0x435)],this[_0x4a9df8(0x3ac)]);}['toggleOnline'](){return this;}[_0x4f3d5a(0x1ca)](){var _0x5bed68=_0x4f3d5a;this[_0x5bed68(0x3ac)]['onSendChangeset'](this[_0x5bed68(0x2c4)]);}[_0x4f3d5a(0x250)](_0x32ddb0){var _0x12ff7c=_0x4f3d5a;return this[_0x12ff7c(0xc2)](),this[_0x12ff7c(0x1fb)][_0x12ff7c(0x417)](_0x427316[_0x12ff7c(0x11c)],this['unitID'],this[_0x12ff7c(0x116)],null,this[_0x12ff7c(0x435)],this['_handler'],_0x32ddb0);}[_0x4f3d5a(0x2cb)](_0x5c4098,_0x228b38){var _0x3266f3=_0x4f3d5a,_0x2c0af2;_0x5c4098===((_0x2c0af2=this[_0x3266f3(0x2c4)])==null?void 0x0:_0x2c0af2[_0x3266f3(0x3ad)])&&(this['resend'](),this[_0x3266f3(0x117)]=_0x228b38===0x0?0x3e8:Math[_0x3266f3(0x345)](_0x228b38*0x2,_0x31105b),this[_0x3266f3(0x1ab)]+=this['_resendTimeout']);}[_0x4f3d5a(0xc2)](){var _0x151300=_0x4f3d5a,_0x38d694;(_0x38d694=this[_0x151300(0x40e)])==null||_0x38d694['unsubscribe'](),this[_0x151300(0x117)]=0x0,this[_0x151300(0x1ab)]=0x0;}},_0x427316['AwaitingWithPendingState']=_0xe1621a([_0x558211(0x6,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x421)])),_0x558211(0x7,_0x3392b5[_0x4f3d5a(0x329)](_0x2e372d[_0x4f3d5a(0x2ab)])),_0x558211(0x8,_0x3392b5[_0x4f3d5a(0x2ff)]),_0x558211(0x9,_0x3392b5['ILogService']),_0x558211(0xa,_0x2e372d[_0x4f3d5a(0x241)]),_0x558211(0xb,_0x3392b5[_0x4f3d5a(0x438)]),_0x558211(0xc,_0x3392b5['Optional'](_0x4597c5))],_0x427316[_0x4f3d5a(0x254)]),_0x427316[_0x4f3d5a(0x11c)]=class extends _0x2448c4{constructor(_0x1a88ee,_0x51e737,_0x12b566,_0x2a848f,_0x4dc012,_0x4dae39=!0x1,_0x3be1ba,_0x55cf10,_0x474b78,_0x2c0f39,_0x10653c,_0x2c545c,_0x1d501c){var _0x36d944=_0x4f3d5a;super(_0x1a88ee,_0x51e737,_0x12b566,_0x2a848f,_0x4dc012,_0x55cf10,_0x474b78,_0x2c0f39,_0x1d501c),_0x2cd3a0(this,_0x36d944(0x319),_0x36d944(0x1c0)),(this['_isPermissionRej']=_0x4dae39,this[_0x36d944(0x1f5)]=_0x3be1ba,this[_0x36d944(0x42b)]=_0x10653c,this[_0x36d944(0x179)]=_0x2c545c,this[_0x36d944(0x2ef)]=_0x1d501c,this[_0x36d944(0x2dd)](),this[_0x36d944(0xbc)](),this[_0x36d944(0x297)]());}[_0x4f3d5a(0x195)](){return this;}[_0x4f3d5a(0x110)](){return this;}['onRemoteAck'](){return this;}[_0x4f3d5a(0x2c5)](){return this;}[_0x4f3d5a(0x201)](){return this;}['toggleOffline'](){return this;}[_0x4f3d5a(0x12e)](){return this;}[_0x4f3d5a(0x1ca)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4f3d5a(0xbc)](){var _0x15be3e=_0x4f3d5a,_0x2b0e52;(_0x2b0e52=this['_localCacheService'])==null||_0x2b0e52['updateOfflineData'](this[_0x15be3e(0x259)],this[_0x15be3e(0x116)],null,[]);}[_0x4f3d5a(0x2dd)](){var _0xfc54d0=_0x4f3d5a;this[_0xfc54d0(0x1a5)]?this[_0xfc54d0(0x179)]['emitEvent']({'id':_0x2f98ef[_0xfc54d0(0x30f)]}):this['_collaborationUIEventService'][_0xfc54d0(0x208)]({'id':_0x2f98ef[_0xfc54d0(0x2b6)]});}[_0x4f3d5a(0x297)](){var _0x4492c5=_0x4f3d5a;this[_0x4492c5(0x1f5)]['updatePermissionPoint'](new _0x5d6cc8[(_0x4492c5(0x30e))](this[_0x4492c5(0x259)])['id'],!0x1);}},_0x427316[_0x4f3d5a(0x11c)]=_0xe1621a([_0x558211(0x6,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x2c0)])),_0x558211(0x7,_0x3392b5['ICommandService']),_0x558211(0x8,_0x3392b5[_0x4f3d5a(0x438)]),_0x558211(0x9,_0x3392b5['Inject'](_0x2e372d[_0x4f3d5a(0x2ab)])),_0x558211(0xa,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5['LocaleService'])),_0x558211(0xb,_0x3392b5[_0x4f3d5a(0x329)](_0x5d354c)),_0x558211(0xc,_0x3392b5[_0x4f3d5a(0x289)](_0x4597c5))],_0x427316[_0x4f3d5a(0x11c)]),_0x427316[_0x4f3d5a(0x33c)]=class extends _0x2448c4{constructor(_0x59b2c8,_0x380b6e,_0x1891f0,_0x467d8b,_0x542d25,_0x466186,_0x1b6236,_0xe40252,_0x2ca723,_0xd40a0){var _0x750104=_0x4f3d5a;super(_0x59b2c8,_0x380b6e,_0x1891f0,_0x467d8b,_0x542d25,_0xe40252,_0x2ca723,_0x1b6236,_0xd40a0),_0x2cd3a0(this,_0x750104(0x319),_0x750104(0x3e8)),this['_injector']=_0x466186;}['appendMutation'](_0x22e980){var _0x45283c=_0x4f3d5a;return this['_pendingMutations']['push'](_0x22e980),this[_0x45283c(0x23e)](),this;}[_0x4f3d5a(0x110)](_0x203c55){var _0x28f14c=_0x4f3d5a;throw new Error(_0x28f14c(0x3cc));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x4f3d5a(0x2c5)](){var _0x813708=_0x4f3d5a;throw new Error(_0x813708(0x399));}[_0x4f3d5a(0x201)](){return this;}[_0x4f3d5a(0x163)](){return this;}['toggleOnline'](){var _0x42950c=_0x4f3d5a;const {_injector:_0x391414,_pendingMutations:_0x487bbd,_awaitingChangeset:_0x368366,unitID:_0x1421d2,_handler:_0x23c4ca,type:_0x42d325}=this,_0x529fa0=_0x1b4f55(_0x391414,_0x1421d2,_0x42d325,_0x368366,_0x487bbd,_0x23c4ca);return _0x529fa0 instanceof _0x427316[_0x42950c(0x2b0)]?_0x529fa0[_0x42950c(0x34b)]():(_0x529fa0 instanceof _0x427316['AwaitingWithPendingState']||_0x529fa0 instanceof _0x427316[_0x42950c(0xdc)])&&_0x529fa0[_0x42950c(0x1ca)](),_0x529fa0;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x427316[_0x4f3d5a(0x33c)]=_0xe1621a([_0x558211(0x5,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5['Injector'])),_0x558211(0x6,_0x3392b5[_0x4f3d5a(0x329)](_0x2e372d['RevisionService'])),_0x558211(0x7,_0x3392b5[_0x4f3d5a(0x2ff)]),_0x558211(0x8,_0x3392b5[_0x4f3d5a(0x438)]),_0x558211(0x9,_0x3392b5[_0x4f3d5a(0x289)](_0x4597c5))],_0x427316[_0x4f3d5a(0x33c)]),_0x427316['FetchingMissState']=class extends _0x2448c4{constructor(_0x473f62,_0x37401f,_0x3fefd5,_0x418f29,_0xe23719,_0x2fbf02,_0x3bbc18,_0x201675,_0x2cad82,_0x2de673,_0x1da0f6,_0x3099d4,_0x33ae38,_0x1d6ce1){var _0x588572=_0x4f3d5a;super(_0x473f62,_0x37401f,_0x3fefd5,_0x418f29,_0x3bbc18,_0x1da0f6,_0x3099d4,_0x2cad82,_0x1d6ce1),_0x2cd3a0(this,_0x588572(0x319),_0x588572(0x1de)),(this[_0x588572(0x32e)]=_0xe23719,this[_0x588572(0x356)]=_0x2fbf02,this[_0x588572(0x1fb)]=_0x201675,this['_logService']=_0x2de673,this[_0x588572(0x2a3)]=_0x33ae38,this[_0x588572(0x2ef)]=_0x1d6ce1);}['onMissedChangesetFetched'](_0x239490){var _0x1a3ac3=_0x4f3d5a;try{const _0x549424=[..._0x239490,...this[_0x1a3ac3(0x356)]],_0x43141c=[this[_0x1a3ac3(0x2c4)]||this[_0x1a3ac3(0x32e)]][_0x1a3ac3(0x17c)](_0x1f1078=>!!_0x1f1078);let _0x1bd895,_0x5a5267;if(_0x43141c['length']){const _0x425a57=this[_0x1a3ac3(0x2a3)]['transformChangesets'](_0x549424,_0x43141c,!0x1);if(!_0x2e372d[_0x1a3ac3(0x33a)](_0x425a57))throw _0x425a57['error'];_0x1bd895=_0x425a57[_0x1a3ac3(0xc8)],_0x5a5267=_0x425a57[_0x1a3ac3(0x350)];}else _0x1bd895=_0x549424,_0x5a5267=[];let _0x459fd6=this[_0x1a3ac3(0x435)];_0x1bd895[_0x1a3ac3(0x186)](_0x443bde=>{var _0x454fc6=_0x1a3ac3;let _0x4174be;if(_0x459fd6[_0x454fc6(0x36c)]){const _0x3869df=this[_0x454fc6(0x2a3)][_0x454fc6(0x434)](_0x443bde,_0x459fd6);if(!_0x2e372d[_0x454fc6(0x199)](_0x3869df))throw _0x3869df[_0x454fc6(0x316)];_0x4174be=_0x3869df[_0x454fc6(0xc8)],_0x459fd6=_0x3869df[_0x454fc6(0x106)];}else _0x4174be=_0x443bde;this['_executeRemoteChangeset'](_0x4174be);}),this['_acknowledgedAwaitingChangeset']&&this[_0x1a3ac3(0x3b8)](),this[_0x1a3ac3(0x2c4)]&&_0x5a5267[_0x1a3ac3(0x36c)]&&(_0x5a5267[0x0][_0x1a3ac3(0x378)]=this[_0x1a3ac3(0x29e)]());let _0x26a731;if(this[_0x1a3ac3(0x2c4)]&&_0x459fd6['length']!==0x0)_0x26a731=this[_0x1a3ac3(0x1fb)][_0x1a3ac3(0x417)](_0x427316[_0x1a3ac3(0x254)],this[_0x1a3ac3(0x259)],this[_0x1a3ac3(0x116)],_0x5a5267[0x0],_0x459fd6,this[_0x1a3ac3(0x3ac)],void 0x0);else{if(this[_0x1a3ac3(0x2c4)]&&_0x459fd6[_0x1a3ac3(0x36c)]===0x0)_0x5a5267[0x0][_0x1a3ac3(0x378)]=this[_0x1a3ac3(0x29e)](),_0x26a731=this[_0x1a3ac3(0x1fb)]['createInstance'](_0x427316['AwaitingState'],this[_0x1a3ac3(0x259)],this[_0x1a3ac3(0x116)],_0x5a5267[0x0],this[_0x1a3ac3(0x3ac)]);else{if(_0x459fd6[_0x1a3ac3(0x36c)]!==0x0){const _0x70c6a6=this['_injector'][_0x1a3ac3(0x417)](_0x427316[_0x1a3ac3(0x2b0)],this[_0x1a3ac3(0x259)],this[_0x1a3ac3(0x116)],_0x459fd6,this[_0x1a3ac3(0x3ac)]);_0x70c6a6[_0x1a3ac3(0x34b)](),_0x26a731=_0x70c6a6;}else _0x26a731=this[_0x1a3ac3(0x1fb)][_0x1a3ac3(0x417)](_0x427316['SyncedState'],this[_0x1a3ac3(0x259)],this[_0x1a3ac3(0x116)],this[_0x1a3ac3(0x3ac)]);}}return _0x26a731[_0x1a3ac3(0x23e)](),_0x26a731;}catch(_0x5355d4){return this[_0x1a3ac3(0x165)]['error']('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x5355d4),this['_injector'][_0x1a3ac3(0x417)](_0x427316[_0x1a3ac3(0x11c)],this[_0x1a3ac3(0x259)],this[_0x1a3ac3(0x116)],this['_awaitingChangeset'],this[_0x1a3ac3(0x435)],this[_0x1a3ac3(0x3ac)],!0x1);}}[_0x4f3d5a(0x1ca)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x5b98fb){var _0x2b07e6=_0x4f3d5a;return this[_0x2b07e6(0x435)][_0x2b07e6(0x228)](_0x5b98fb),this;}[_0x4f3d5a(0x110)](_0x506695){var _0x1940ad=_0x4f3d5a;return this[_0x1940ad(0x356)][_0x1940ad(0x228)](_0x506695),this;}[_0x4f3d5a(0x119)](_0x47cecc){var _0xb67378=_0x4f3d5a;if(this[_0xb67378(0x2c4)])return this[_0xb67378(0x32e)]=this[_0xb67378(0x2c4)],this[_0xb67378(0x2c4)]=null,this;throw new Error(_0xb67378(0xe9));}[_0x4f3d5a(0x2c5)](_0x2822a0){var _0x4fe01c=_0x4f3d5a;return this[_0x4fe01c(0x250)](!!(_0x2822a0!=null&&_0x2822a0[_0x4fe01c(0x2bb)]));}[_0x4f3d5a(0x201)](){return this;}[_0x4f3d5a(0x163)](){var _0x4783cf=_0x4f3d5a;return this[_0x4783cf(0x1fb)][_0x4783cf(0x417)](_0x427316[_0x4783cf(0x33c)],this[_0x4783cf(0x259)],this[_0x4783cf(0x116)],this[_0x4783cf(0x2c4)],this['_pendingMutations'],this[_0x4783cf(0x3ac)]);}[_0x4f3d5a(0x12e)](){return this;}[_0x4f3d5a(0x250)](_0x32bd11){var _0x5ac59c=_0x4f3d5a;return this[_0x5ac59c(0x1fb)]['createInstance'](_0x427316[_0x5ac59c(0x11c)],this[_0x5ac59c(0x259)],this[_0x5ac59c(0x116)],this[_0x5ac59c(0x2c4)],this[_0x5ac59c(0x435)],this[_0x5ac59c(0x3ac)],_0x32bd11);}},_0x427316[_0x4f3d5a(0x1cb)]=_0xe1621a([_0x558211(0x7,_0x3392b5['Inject'](_0x3392b5[_0x4f3d5a(0x421)])),_0x558211(0x8,_0x3392b5[_0x4f3d5a(0x329)](_0x2e372d[_0x4f3d5a(0x2ab)])),_0x558211(0x9,_0x3392b5['ILogService']),_0x558211(0xa,_0x3392b5[_0x4f3d5a(0x2ff)]),_0x558211(0xb,_0x3392b5[_0x4f3d5a(0x438)]),_0x558211(0xc,_0x2e372d[_0x4f3d5a(0x241)]),_0x558211(0xd,_0x3392b5['Optional'](_0x4597c5))],_0x427316['FetchingMissState']);function _0x1b4f55(_0x5511d3,_0x2e5749,_0x87ab34,_0xfd960d,_0x3b19ce,_0x15cbf4){var _0x3ce6=_0x4f3d5a;return _0xfd960d&&_0x3b19ce[_0x3ce6(0x36c)]?_0x5511d3['createInstance'](_0x427316['AwaitingWithPendingState'],_0x2e5749,_0x87ab34,_0xfd960d,_0x3b19ce,_0x15cbf4,void 0x0):_0xfd960d?_0x5511d3[_0x3ce6(0x417)](_0x427316['AwaitingState'],_0x2e5749,_0x87ab34,_0xfd960d,_0x15cbf4):_0x3b19ce[_0x3ce6(0x36c)]?_0x5511d3[_0x3ce6(0x417)](_0x427316[_0x3ce6(0x2b0)],_0x2e5749,_0x87ab34,_0x3b19ce,_0x15cbf4):_0x5511d3[_0x3ce6(0x417)](_0x427316[_0x3ce6(0x389)],_0x2e5749,_0x87ab34,_0x15cbf4);}var _0x374994=Object[_0x4f3d5a(0x246)],_0x3cec99=(_0x4e157f,_0x15aee0,_0x487b27,_0x5ab0b4)=>{var _0x14c4cb=_0x4f3d5a;for(var _0x2fc470=_0x5ab0b4>0x1?void 0x0:_0x5ab0b4?_0x374994(_0x15aee0,_0x487b27):_0x15aee0,_0x34cbee=_0x4e157f[_0x14c4cb(0x36c)]-0x1,_0x3cdb02;_0x34cbee>=0x0;_0x34cbee--)(_0x3cdb02=_0x4e157f[_0x34cbee])&&(_0x2fc470=_0x3cdb02(_0x2fc470)||_0x2fc470);return _0x2fc470;},_0x551821=(_0x39355a,_0x3f4b80)=>(_0x1aa86a,_0x3a1d1a)=>_0x3f4b80(_0x1aa86a,_0x3a1d1a,_0x39355a);_0x427316[_0x4f3d5a(0xfc)]=class extends _0x3392b5['RxDisposable']{constructor(_0x3b0bb7,_0xd0f372,_0x429a26,_0x3e9b89,_0x4f85c7,_0x422537,_0x2e8f0d,_0x2122f5,_0x5a007d,_0x4b1f14,_0x1af182,_0x58b6cf,_0x5d6448,_0x31378c){var _0x81f5c=_0x4f3d5a;super(),_0x2cd3a0(this,_0x81f5c(0x2b7),new _0x2c1c73['BehaviorSubject'](null)),_0x2cd3a0(this,_0x81f5c(0x141),this[_0x81f5c(0x2b7)][_0x81f5c(0x28d)]()),_0x2cd3a0(this,'_state'),_0x2cd3a0(this,_0x81f5c(0x382),!0x1),_0x2cd3a0(this,_0x81f5c(0x16e),''),_0x2cd3a0(this,_0x81f5c(0x410),0x0),_0x2cd3a0(this,_0x81f5c(0x42a),this[_0x81f5c(0x141)][_0x81f5c(0x1c4)](_0x2c1c73[_0x81f5c(0xa5)](_0x4fe15a=>_0x4fe15a?_0x4fe15a[_0x81f5c(0x319)]:_0x544502[_0x81f5c(0x27a)]),_0x2c1c73[_0x81f5c(0x3c0)](0x1))),_0x2cd3a0(this,'_transitionLocked',!0x1),_0x2cd3a0(this,_0x81f5c(0x22b),[]),(this[_0x81f5c(0x259)]=_0x3b0bb7,this[_0x81f5c(0xc0)]=_0xd0f372,this[_0x81f5c(0x2cf)]=_0x429a26,this[_0x81f5c(0x1fb)]=_0x3e9b89,this['_compressMutationService']=_0x4f85c7,this[_0x81f5c(0x42b)]=_0x422537,this[_0x81f5c(0x402)]=_0x2e8f0d,this[_0x81f5c(0x34e)]=_0x2122f5,this[_0x81f5c(0x43d)]=_0x5a007d,this[_0x81f5c(0x165)]=_0x4b1f14,this[_0x81f5c(0x29b)]=_0x1af182,this[_0x81f5c(0x1f5)]=_0x58b6cf,this['_singleActiveUnitService']=_0x5d6448,this['_localCacheService']=_0x31378c);}get[_0x4f3d5a(0x314)](){var _0x2ae902=_0x4f3d5a;return this[_0x2ae902(0x37a)];}async[_0x4f3d5a(0xc3)](){var _0x5d40b7=_0x4f3d5a;if(this[_0x5d40b7(0x314)])throw new Error(_0x5d40b7(0x15f));await this[_0x5d40b7(0x14d)]();}[_0x4f3d5a(0x39d)](){var _0x2a8fae=_0x4f3d5a;return this['_collaborationPaused']=!0x0,_0x3392b5[_0x2a8fae(0x128)](()=>{var _0x40e4eb=_0x2a8fae;this[_0x40e4eb(0x382)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x4f3d5a(0x236)](_0x183582){var _0x2be89c=_0x4f3d5a;this[_0x2be89c(0x288)](_0x183582);}['_updateState'](_0x3bfe8d){var _0x10ea3c=_0x4f3d5a;this[_0x10ea3c(0x37a)]=_0x3bfe8d,this['_state$'][_0x10ea3c(0x191)](_0x3bfe8d);}async[_0x4f3d5a(0x14d)](){var _0x114ac0=_0x4f3d5a,_0x11d41b;this['_updateState'](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x11d41b=this[_0x114ac0(0x364)])==null||_0x11d41b[_0x114ac0(0x3d7)](this[_0x114ac0(0x259)]),this['disposeWithMe'](this[_0x114ac0(0x364)][_0x114ac0(0x32b)](this[_0x114ac0(0x259)])[_0x114ac0(0x12f)](_0x25425=>{var _0x4606e1=_0x114ac0;this[_0x4606e1(0x165)]['debug'](_0x4606e1(0x269),'editing\x20status\x20changed\x20to',_0x25425),_0x25425===_0x10fa35['OTHER_CLIENTS_EDITING']?(this[_0x4606e1(0x34e)]['emitEvent']({'id':_0x2f98ef[_0x4606e1(0x39b)]}),this['_permissionService'][_0x4606e1(0x144)](new _0x5d6cc8[(_0x4606e1(0x30e))](this[_0x4606e1(0x259)])['id'],!0x1),this[_0x4606e1(0x1f5)][_0x4606e1(0x3a4)](!0x1)):(this['_permissionService'][_0x4606e1(0x144)](new _0x5d6cc8['WorkbookEditablePermission'](this[_0x4606e1(0x259)])['id'],!0x0),this[_0x4606e1(0x1f5)]['setShowComponents'](!0x0));})));let _0x518bcf=!0x1;return this['disposeWithMe'](this[_0x114ac0(0xc0)]['sessionStatus$'][_0x114ac0(0x12f)](_0x5d9f39=>{var _0x2a9b22=_0x114ac0;_0x5d9f39===_0x45134b['ONLINE']?this[_0x2a9b22(0x121)](_0x518bcf):_0x5d9f39===_0x45134b['OFFLINE']&&(_0x518bcf=!0x0,this[_0x2a9b22(0x280)]());})),this[_0x114ac0(0x296)](this[_0x114ac0(0xc0)][_0x114ac0(0x1c8)]['subscribe'](_0x31ba3e=>{var _0x5e1a57=_0x114ac0;try{switch(_0x31ba3e[_0x5e1a57(0x398)]){case _0x2e372d[_0x5e1a57(0x407)][_0x5e1a57(0x162)]:{this[_0x5e1a57(0x1db)](_0x2e372d[_0x5e1a57(0x431)](_0x31ba3e[_0x5e1a57(0x3ec)]));break;}case _0x2e372d[_0x5e1a57(0x407)][_0x5e1a57(0x384)]:{this[_0x5e1a57(0x40c)](_0x31ba3e[_0x5e1a57(0x3ec)]);break;}case _0x2e372d[_0x5e1a57(0x407)][_0x5e1a57(0x1e0)]:{this['_onRemoteRejected']();break;}case _0x2e372d['CollaborationEvent'][_0x5e1a57(0x153)]:{this[_0x5e1a57(0x1bf)](_0x31ba3e[_0x5e1a57(0x3ec)]);break;}case _0x2e372d['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x31ba3e[_0x5e1a57(0x3ec)][_0x5e1a57(0x283)][_0x5e1a57(0xa5)](_0x5c3309=>_0x2e372d[_0x5e1a57(0x431)](_0x5c3309)));break;}case _0x2e372d[_0x5e1a57(0x407)]['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x2e372d['CollaborationEvent'][_0x5e1a57(0x202)]:break;}}catch(_0x2a4d41){throw console['error'](_0x5e1a57(0x372),_0x2a4d41),_0x2a4d41;}})),this[_0x114ac0(0x37a)];}['_unlockTransition'](){var _0xcfa35c=_0x4f3d5a;this[_0xcfa35c(0x148)]=!0x1;}[_0x4f3d5a(0x3e6)](){var _0x5620ec=_0x4f3d5a;if(this['_transitionLocked'])throw new Error(_0x5620ec(0x1f1));this[_0x5620ec(0x148)]=!0x0;}[_0x4f3d5a(0x288)](_0x5c3d77){var _0x130343=_0x4f3d5a;this[_0x130343(0x3e6)](),this[_0x130343(0x2d2)](this[_0x130343(0x37a)]['appendMutation'](_0x5c3d77)),this['_unlockTransition']();}[_0x4f3d5a(0x1db)](_0x4e2385){var _0x5a72e0=_0x4f3d5a;if(!(_0x4e2385[_0x5a72e0(0x123)]<=this['_revisionService'][_0x5a72e0(0x12d)](this[_0x5a72e0(0x259)]))){if(this[_0x5a72e0(0x382)]){this['_remoteChangesetQueue']['push'](_0x4e2385);return;}this[_0x5a72e0(0x37d)](_0x4e2385);}}[_0x4f3d5a(0x3fc)](){var _0x1ee13d=_0x4f3d5a;this[_0x1ee13d(0x22b)][_0x1ee13d(0x186)](_0x3966a5=>this[_0x1ee13d(0x37d)](_0x3966a5)),this[_0x1ee13d(0x22b)]=[];}[_0x4f3d5a(0x37d)](_0x33b19c){var _0x4846a2=_0x4f3d5a;const _0x17ad20=this[_0x4846a2(0x13b)]['interceptor'][_0x4846a2(0x28f)](this[_0x4846a2(0x13b)]['interceptor'][_0x4846a2(0x132)]()[_0x4846a2(0x277)])(_0x33b19c['mutations'],null)||_0x33b19c[_0x4846a2(0x204)],_0x5a4cf7={..._0x33b19c,'mutations':_0x17ad20};this[_0x4846a2(0x3e6)](),this['_updateState'](this[_0x4846a2(0x37a)]['onRemoteChangeset'](_0x5a4cf7)),this[_0x4846a2(0x172)]();}[_0x4f3d5a(0x40c)](_0x48ff78){var _0x421a30=_0x4f3d5a;this['_lockTransition'](),this[_0x421a30(0x2d2)](this[_0x421a30(0x37a)][_0x421a30(0x119)](_0x48ff78)),this[_0x421a30(0x172)]();}[_0x4f3d5a(0xef)](_0x19ae64){var _0x385231=_0x4f3d5a;this[_0x385231(0x3e6)](),this[_0x385231(0x2d2)](this['_state']['onRemoteRej'](_0x19ae64)),this[_0x385231(0x172)]();}[_0x4f3d5a(0x1bf)](_0x448c81){var _0x53db76=_0x4f3d5a;this[_0x53db76(0x3e6)](),this[_0x53db76(0x2d2)](this['_state'][_0x53db76(0x201)](_0x448c81)),this[_0x53db76(0x172)]();}[_0x4f3d5a(0x100)](_0x581afb){var _0x579dcf=_0x4f3d5a;if(!(this['_state']instanceof _0x427316[_0x579dcf(0x1cb)]))throw new TypeError(_0x579dcf(0x184));const _0x5657e0=_0x581afb[_0x579dcf(0xa5)](_0x14dee=>{var _0x379de5=_0x579dcf;const _0x2b143b=this[_0x379de5(0x13b)]['interceptor'][_0x379de5(0x28f)](this[_0x379de5(0x13b)][_0x379de5(0x298)][_0x379de5(0x132)]()[_0x379de5(0x277)])(_0x14dee['mutations'],null)||_0x14dee[_0x379de5(0x204)];return{..._0x14dee,'mutations':_0x2b143b};});this[_0x579dcf(0x3e6)](),this['_updateState'](this[_0x579dcf(0x37a)]['onMissedChangesetFetched'](_0x5657e0)),this[_0x579dcf(0x172)]();}[_0x4f3d5a(0x280)](){var _0x188f7c=_0x4f3d5a;this[_0x188f7c(0x3e6)](),this[_0x188f7c(0x2d2)](this[_0x188f7c(0x37a)][_0x188f7c(0x163)]()),this['_unlockTransition']();}[_0x4f3d5a(0x121)](_0xaf8bf=!0x1){var _0x1f1ec2=_0x4f3d5a;this['_lockTransition'](),this[_0x1f1ec2(0x2d2)](this['_state']['toggleOnline']()),this[_0x1f1ec2(0x172)]();const _0x478dd8=this[_0x1f1ec2(0x37a)];_0xaf8bf&&_0x478dd8 instanceof _0x427316[_0x1f1ec2(0x389)]&&(this[_0x1f1ec2(0x3e6)](),this[_0x1f1ec2(0x2d2)](_0x478dd8[_0x1f1ec2(0x274)]()),this['_unlockTransition']());}async[_0x4f3d5a(0x416)](){return new Promise(_0x36bc6d=>{var _0x23cfea=_0x3800;this[_0x23cfea(0xc0)][_0x23cfea(0x2f9)]['pipe'](_0x2c1c73[_0x23cfea(0x3e5)](0x1))[_0x23cfea(0x12f)](async _0x1eec42=>{var _0x463fc1=_0x23cfea;_0x36bc6d(await this[_0x463fc1(0xfa)](_0x1eec42===_0x45134b[_0x463fc1(0x102)]));});});}[_0x4f3d5a(0xbb)](){var _0x3ebc8a=_0x4f3d5a;const _0x26dce4=this[_0x3ebc8a(0x259)];return{'onStateChange':(_0x575f92,_0x2696b4)=>{var _0x246678=_0x3ebc8a;if(_0x575f92!==this['_state'])throw new Error(_0x246678(0x115)+_0x575f92['status']+_0x246678(0x2c8)+_0x2696b4[_0x246678(0x319)]+_0x246678(0x178)+this['_state'][_0x246678(0x319)]);this['_updateState'](_0x2696b4);},'onSendChangeset':_0x15ea69=>{var _0x32f776=_0x3ebc8a;_0x15ea69[_0x32f776(0x2b3)]||(_0x15ea69[_0x32f776(0x2b3)]=this[_0x32f776(0x16e)],_0x15ea69[_0x32f776(0x3ad)]=++this[_0x32f776(0x410)]);const _0x463f50={'eventID':_0x2e372d[_0x32f776(0x407)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x15ea69[_0x32f776(0x259)],'unitType':this[_0x32f776(0x2cf)],'changeset':_0x15ea69,'memberID':this[_0x32f776(0xc0)][_0x32f776(0x1b1)]()}};this[_0x32f776(0xc0)][_0x32f776(0x175)](_0x463f50,this[_0x32f776(0x259)]);},'onMissingChangesets':({from:_0x10b315,to:_0x5d1fcf})=>{var _0xbb52b4=_0x3ebc8a;this[_0xbb52b4(0x165)][_0xbb52b4(0x37b)](_0xbb52b4(0x269),_0xbb52b4(0x293)+_0x10b315+'\x20to\x20'+_0x5d1fcf);const _0x5a1dbb={'eventID':_0x2e372d[_0xbb52b4(0x407)][_0xbb52b4(0xac)],'data':{'unitID':_0x26dce4,'unitType':this[_0xbb52b4(0x2cf)],'from':_0x10b315,'to':_0x5d1fcf}};this[_0xbb52b4(0xc0)][_0xbb52b4(0x175)](_0x5a1dbb,this[_0xbb52b4(0x259)]);}};}async['_createInitialStateImpl'](_0x53afcf){var _0x44d4c1=_0x4f3d5a,_0x545139,_0x1f7312,_0x5484e5;const _0x283acf=await((_0x545139=this[_0x44d4c1(0x268)])==null?void 0x0:_0x545139['loadOfflineData'](this['unitID'])),_0x5c3134=(_0x1f7312=_0x283acf==null?void 0x0:_0x283acf[_0x44d4c1(0x204)])!=null?_0x1f7312:[],_0x315a10=(_0x5484e5=_0x283acf==null?void 0x0:_0x283acf[_0x44d4c1(0x2d5)])!=null?_0x5484e5:null,_0x5cd7b3=!!(_0x315a10!=null&&_0x315a10[_0x44d4c1(0x2b3)])&&!!(_0x315a10!=null&&_0x315a10[_0x44d4c1(0x3ad)]);this[_0x44d4c1(0x16e)]=_0x5cd7b3?_0x315a10['sid']:_0x2e372d['uuidv4'](),this['_changesetReqId']=_0x5cd7b3?_0x315a10['reqId']:0x0;const _0x33a21f=this[_0x44d4c1(0x259)];try{this[_0x44d4c1(0x183)](_0x315a10,_0x5c3134);}catch(_0x10bdd1){this[_0x44d4c1(0x165)][_0x44d4c1(0x316)](_0x10bdd1);}const _0x175d38=this[_0x44d4c1(0xbb)]();if(_0x53afcf){const _0x50c329=_0x1b4f55(this[_0x44d4c1(0x1fb)],_0x33a21f,this['_type'],_0x315a10,_0x5c3134,_0x175d38);return _0x50c329 instanceof _0x427316[_0x44d4c1(0x2b0)]?_0x50c329['_schedule']():(_0x50c329 instanceof _0x427316['AwaitingWithPendingState']||_0x50c329 instanceof _0x427316['AwaitingState'])&&_0x50c329['resend'](),_0x50c329;}return this[_0x44d4c1(0x1fb)]['createInstance'](_0x427316[_0x44d4c1(0x33c)],_0x33a21f,this[_0x44d4c1(0x2cf)],_0x315a10,_0x5c3134,_0x175d38);}[_0x4f3d5a(0x183)](_0x177638,_0xe92dd2){var _0x17441c=_0x4f3d5a,_0x274cb3,_0x12be58;const _0x358f08=this[_0x17441c(0x13b)][_0x17441c(0x298)][_0x17441c(0x28f)](this[_0x17441c(0x13b)][_0x17441c(0x298)]['getInterceptPoints']()[_0x17441c(0x277)]);(_0x274cb3=_0x358f08((_0x177638==null?void 0x0:_0x177638[_0x17441c(0x204)])||[],null))==null||_0x274cb3['forEach'](_0x21e5d5=>this['_commandService'][_0x17441c(0x1b8)](_0x21e5d5['id'],_0x21e5d5['params'])),(_0x12be58=_0x358f08(_0xe92dd2||[],null))==null||_0x12be58['forEach'](_0x31a80a=>this['_commandService']['executeCommand'](_0x31a80a['id'],_0x31a80a[_0x17441c(0x37c)]));}},_0x427316['CollaborationEntity']=_0x3cec99([_0x551821(0x3,_0x3392b5['Inject'](_0x3392b5[_0x4f3d5a(0x421)])),_0x551821(0x4,_0x3392b5['Inject'](_0x2e372d[_0x4f3d5a(0xd7)])),_0x551821(0x5,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5['LocaleService'])),_0x551821(0x6,_0x3392b5[_0x4f3d5a(0x329)](_0x2e372d[_0x4f3d5a(0x2ab)])),_0x551821(0x7,_0x3392b5[_0x4f3d5a(0x329)](_0x5d354c)),_0x551821(0x8,_0x3392b5[_0x4f3d5a(0x1cd)]),_0x551821(0x9,_0x3392b5[_0x4f3d5a(0x1c1)]),_0x551821(0xa,_0x3392b5['ICommandService']),_0x551821(0xb,_0x3392b5[_0x4f3d5a(0x2c0)]),_0x551821(0xc,_0x3392b5['Optional'](_0x5066c3)),_0x551821(0xd,_0x3392b5[_0x4f3d5a(0x289)](_0x4597c5))],_0x427316[_0x4f3d5a(0xfc)]),_0x427316[_0x4f3d5a(0x227)]=class extends _0x427316['CollaborationEntity']{constructor(_0x36fef1,_0x1443de,_0x457233,_0x2e3571,_0x4d0b12,_0x51f98c,_0x365fe8,_0x51c042,_0x1a1c06,_0xb9d30f,_0x5aca6a,_0x54b6fd,_0x2d948a,_0x1a8dd8){var _0x37be8b=_0x4f3d5a;super(_0x36fef1,_0x457233,_0x1443de,_0x2e3571,_0x4d0b12,_0x51f98c,_0x365fe8,_0x51c042,_0x1a1c06,_0xb9d30f,_0x5aca6a,_0x54b6fd,_0x2d948a,_0x1a8dd8),_0x2cd3a0(this,_0x37be8b(0x194),null),(this[_0x37be8b(0x259)]=_0x36fef1,this[_0x37be8b(0x116)]=_0x1443de);}['addHandlerCallback'](_0x2be4a0){this['_handlerCallback']=_0x2be4a0;}['dispose'](){var _0x1aa502=_0x4f3d5a;this[_0x1aa502(0x194)]=null,super[_0x1aa502(0x252)]();}['_createHandler'](){var _0x1d34e8=_0x4f3d5a;const _0x3df201=super[_0x1d34e8(0xbb)]();return _0x3df201['onTransformIME']=_0x367ec9=>{var _0x2284d1=_0x1d34e8,_0x36d13c,_0x2fac1f;return(_0x2fac1f=(_0x36d13c=this[_0x2284d1(0x194)])==null?void 0x0:_0x36d13c[_0x2284d1(0x171)])==null?void 0x0:_0x2fac1f['call'](_0x36d13c,_0x367ec9);},_0x3df201[_0x1d34e8(0x3dc)]=_0x17c82f=>{var _0x58ec70=_0x1d34e8,_0x474f10,_0x1bddec;return(_0x1bddec=(_0x474f10=this['_handlerCallback'])==null?void 0x0:_0x474f10[_0x58ec70(0x3dc)])==null?void 0x0:_0x1bddec[_0x58ec70(0x1da)](_0x474f10,_0x17c82f);},_0x3df201[_0x1d34e8(0x18a)]=_0xb4f05a=>{var _0x1ee26a,_0x4c9af2;return(_0x4c9af2=(_0x1ee26a=this['_handlerCallback'])==null?void 0x0:_0x1ee26a['onTransformSelections'])==null?void 0x0:_0x4c9af2['call'](_0x1ee26a,_0xb4f05a);},_0x3df201[_0x1d34e8(0x1dc)]=_0x5216f0=>{var _0x54b711=_0x1d34e8,_0x31db89,_0x5a867d;return(_0x5a867d=(_0x31db89=this['_handlerCallback'])==null?void 0x0:_0x31db89['onSyncEditingCollabCursor'])==null?void 0x0:_0x5a867d[_0x54b711(0x1da)](_0x31db89,_0x5216f0);},_0x3df201[_0x1d34e8(0x443)]=_0x71b819=>{var _0x37e304=_0x1d34e8,_0x19ccdc,_0x580464,_0x51998a;if(!((_0x19ccdc=this['_handlerCallback'])!=null&&_0x19ccdc[_0x37e304(0x443)]))throw new Error(_0x37e304(0x3a2));return(_0x51998a=(_0x580464=this[_0x37e304(0x194)])==null?void 0x0:_0x580464[_0x37e304(0x443)])==null?void 0x0:_0x51998a['call'](_0x580464,_0x71b819);},_0x3df201[_0x1d34e8(0x200)]=_0x59c0bf=>{var _0x2fc180=_0x1d34e8,_0x4f8b9c,_0x18b619,_0x44a1b0;if(!((_0x4f8b9c=this['_handlerCallback'])!=null&&_0x4f8b9c['onTransformRemoteChangesetByStateCache']))throw new Error(_0x2fc180(0x140));return(_0x44a1b0=(_0x18b619=this[_0x2fc180(0x194)])==null?void 0x0:_0x18b619[_0x2fc180(0x200)])==null?void 0x0:_0x44a1b0[_0x2fc180(0x1da)](_0x18b619,_0x59c0bf);},_0x3df201;}async['_init'](){var _0x1a134a=_0x4f3d5a;const _0x1859b9=await super[_0x1a134a(0x14d)]();return this[_0x1a134a(0x296)](this[_0x1a134a(0x29b)][_0x1a134a(0x41a)]((_0xba7879,_0x175d8c)=>{var _0x28c33a=_0x1a134a;if(_0xba7879['type']!==_0x3392b5['CommandType'][_0x28c33a(0x1aa)]||_0x175d8c!=null&&_0x175d8c[_0x28c33a(0x360)]||_0x175d8c!=null&&_0x175d8c[_0x28c33a(0x41c)]||_0xba7879['id']===_0x2b0001[_0x28c33a(0x2e6)]['id'])return;const _0x1e7310=_0xba7879[_0x28c33a(0x37c)];if((_0x1e7310==null?void 0x0:_0x1e7310[_0x28c33a(0x2a6)])!==this[_0x28c33a(0x259)])return;const _0x51aa07=_0xba7879,_0x5299a1=this['_compressMutationService'][_0x28c33a(0x298)][_0x28c33a(0x28f)](this[_0x28c33a(0x13b)][_0x28c33a(0x298)]['getInterceptPoints']()[_0x28c33a(0x3c6)])([_0x51aa07],this['_univerInstanceService'])||[_0x51aa07];this[_0x28c33a(0x288)](_0x5299a1[0x0]);})),_0x1859b9;}},_0x427316['DocCollaborationEntity']=_0x3cec99([_0x551821(0x3,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x421)])),_0x551821(0x4,_0x3392b5[_0x4f3d5a(0x329)](_0x2e372d[_0x4f3d5a(0xd7)])),_0x551821(0x5,_0x3392b5['Inject'](_0x3392b5[_0x4f3d5a(0x21b)])),_0x551821(0x6,_0x3392b5[_0x4f3d5a(0x329)](_0x2e372d[_0x4f3d5a(0x2ab)])),_0x551821(0x7,_0x3392b5['Inject'](_0x5d354c)),_0x551821(0x8,_0x3392b5[_0x4f3d5a(0x1cd)]),_0x551821(0x9,_0x3392b5[_0x4f3d5a(0x1c1)]),_0x551821(0xa,_0x3392b5['ICommandService']),_0x551821(0xb,_0x3392b5['IPermissionService']),_0x551821(0xc,_0x3392b5[_0x4f3d5a(0x289)](_0x5066c3)),_0x551821(0xd,_0x3392b5[_0x4f3d5a(0x289)](_0x4597c5))],_0x427316[_0x4f3d5a(0x227)]),_0x427316[_0x4f3d5a(0x238)]=class extends _0x427316[_0x4f3d5a(0xfc)]{constructor(_0x5bd0de,_0x4e2091,_0x3e3837,_0x43a2df,_0x559d09,_0x1cd399,_0x949480,_0x14593b,_0x5b441a,_0x5d5a84,_0x4772d1,_0x450437,_0x403c59,_0x15fc4f,_0x155385){var _0x2f2455=_0x4f3d5a;super(_0x5bd0de,_0x3e3837,_0x4e2091,_0x43a2df,_0x559d09,_0x1cd399,_0x949480,_0x5b441a,_0x5d5a84,_0x4772d1,_0x450437,_0x403c59,_0x15fc4f,_0x155385),this[_0x2f2455(0x259)]=_0x5bd0de,this['type']=_0x4e2091,this[_0x2f2455(0x287)]=_0x14593b;}[_0x4f3d5a(0xbb)](){var _0x52eeaa=_0x4f3d5a;const _0x518edf=super[_0x52eeaa(0xbb)]();return _0x518edf[_0x52eeaa(0x18a)]=_0x4eac24=>this[_0x52eeaa(0x287)][_0x52eeaa(0x127)](_0x4eac24),_0x518edf;}async[_0x4f3d5a(0x14d)](){var _0x56d757=_0x4f3d5a;const _0x122d15=await super['_init']();return this[_0x56d757(0x296)](this[_0x56d757(0x29b)][_0x56d757(0x41a)]((_0x1c1eec,_0xf65116)=>{var _0x6137e3=_0x56d757;if(_0x1c1eec[_0x6137e3(0x116)]!==_0x3392b5['CommandType'][_0x6137e3(0x1aa)]||_0xf65116!=null&&_0xf65116[_0x6137e3(0x360)]||_0xf65116!=null&&_0xf65116[_0x6137e3(0x41c)])return;const _0x2f2f7d=_0x1c1eec[_0x6137e3(0x37c)];if((_0x2f2f7d==null?void 0x0:_0x2f2f7d[_0x6137e3(0x2a6)])!==this[_0x6137e3(0x259)])return;const _0x56974c=_0x1c1eec,_0x234f8e=this[_0x6137e3(0x13b)][_0x6137e3(0x298)]['fetchThroughInterceptors'](this[_0x6137e3(0x13b)]['interceptor'][_0x6137e3(0x132)]()['COMPRESS_MUTATION_SEND'])([_0x56974c],this[_0x6137e3(0x43d)])||[_0x56974c];this[_0x6137e3(0x288)](_0x234f8e[0x0]);})),_0x122d15;}},_0x427316[_0x4f3d5a(0x238)]=_0x3cec99([_0x551821(0x3,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x421)])),_0x551821(0x4,_0x3392b5['Inject'](_0x2e372d[_0x4f3d5a(0xd7)])),_0x551821(0x5,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x21b)])),_0x551821(0x6,_0x3392b5['Inject'](_0x2e372d[_0x4f3d5a(0x2ab)])),_0x551821(0x7,_0x3392b5['Inject'](_0x427316['SheetTransformSelectionsService'])),_0x551821(0x8,_0x3392b5[_0x4f3d5a(0x329)](_0x5d354c)),_0x551821(0x9,_0x3392b5[_0x4f3d5a(0x1cd)]),_0x551821(0xa,_0x3392b5['ILogService']),_0x551821(0xb,_0x3392b5[_0x4f3d5a(0x2ff)]),_0x551821(0xc,_0x3392b5['IPermissionService']),_0x551821(0xd,_0x3392b5[_0x4f3d5a(0x289)](_0x5066c3)),_0x551821(0xe,_0x3392b5['Optional'](_0x4597c5))],_0x427316[_0x4f3d5a(0x238)]);const _0x357e84=_0x3392b5[_0x4f3d5a(0x428)]('univer-pro.collaboration-client.network-condition.service');function _0x384d7c(_0x2b4bf1){var _0x98cf6=_0x4f3d5a,_0x6f6ebc,_0x4a1a68,_0xb5d9f1,_0x43b762,_0x3b7ae1;const _0xbeb97a=_0x2b4bf1[_0x98cf6(0x3ec)],_0x3fd773=JSON[_0x98cf6(0x146)](_0xbeb97a);switch(_0x3fd773[_0x98cf6(0x3b1)]){case _0x270d19[_0x98cf6(0x391)]:case _0x270d19[_0x98cf6(0x290)]:{const _0x54c3e0=_0x3fd773[_0x98cf6(0x3a3)];return{..._0x3fd773,'data':_0x54c3e0,'cmd':_0x3fd773[_0x98cf6(0x3b1)]};}case _0x270d19[_0x98cf6(0x103)]:{const _0x13e1d7=_0x3fd773[_0x98cf6(0x2f8)];return{..._0x3fd773,'data':_0x13e1d7,'cmd':_0x3fd773[_0x98cf6(0x3b1)]};}case _0x270d19[_0x98cf6(0x2aa)]:{const _0x1b168f=_0x3fd773[_0x98cf6(0x166)];switch(_0x1b168f[_0x98cf6(0x398)]){case _0x2e372d[_0x98cf6(0x407)][_0x98cf6(0x303)]:return{..._0x3fd773,'data':{..._0x1b168f,'data':(_0x6f6ebc=_0x1b168f[_0x98cf6(0x11a)])==null?void 0x0:_0x6f6ebc['cs']},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d[_0x98cf6(0x407)][_0x98cf6(0x384)]:return{..._0x3fd773,'data':{..._0x1b168f,'data':(_0x4a1a68=_0x1b168f[_0x98cf6(0x2a7)])==null?void 0x0:_0x4a1a68['cs']},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d[_0x98cf6(0x407)]['NEW_CHANGESETS']:return{..._0x3fd773,'data':{..._0x1b168f,'data':(_0xb5d9f1=_0x1b168f[_0x98cf6(0x1b2)])==null?void 0x0:_0xb5d9f1['cs']},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d[_0x98cf6(0x407)][_0x98cf6(0x1e0)]:return{..._0x3fd773,'data':{..._0x1b168f,'data':(_0x43b762=_0x1b168f[_0x98cf6(0x2d3)])==null?void 0x0:_0x43b762['cs']},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d[_0x98cf6(0x407)][_0x98cf6(0x153)]:return{..._0x3fd773,'data':{..._0x1b168f,'data':(_0x3b7ae1=_0x1b168f['csShouldRetryEvent'])==null?void 0x0:_0x3b7ae1['cs']},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d[_0x98cf6(0x407)]['UPDATE_CURSOR']:return{..._0x3fd773,'data':{..._0x1b168f,'data':_0x1b168f[_0x98cf6(0x31d)]},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d['CollaborationEvent']['USERS_ENTER']:return{..._0x3fd773,'data':{..._0x1b168f,'data':_0x1b168f[_0x98cf6(0x3e3)]},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d['CollaborationEvent']['USERS_LEAVE']:return{..._0x3fd773,'data':{..._0x1b168f,'data':_0x1b168f[_0x98cf6(0x1ff)]},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d['CollaborationEvent']['LIVESHARE_NEW_HOST']:return{..._0x3fd773,'data':{..._0x1b168f,'data':_0x1b168f['liveShareNewHost']},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case _0x2e372d[_0x98cf6(0x407)][_0x98cf6(0x248)]:return{..._0x3fd773,'data':{..._0x1b168f,'data':_0x1b168f[_0x98cf6(0x13f)]},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d['CollaborationEvent'][_0x98cf6(0x33e)]:return{..._0x3fd773,'data':{..._0x1b168f,'data':_0x1b168f[_0x98cf6(0x393)]},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d[_0x98cf6(0x407)][_0x98cf6(0xf6)]:return{..._0x3fd773,'data':_0x1b168f,'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d[_0x98cf6(0x407)][_0x98cf6(0x1b5)]:return{..._0x3fd773,'data':{..._0x1b168f,'data':_0x1b168f[_0x98cf6(0x129)]},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d['CollaborationEvent']['UPDATE_PERMISSION_OBJ']:return{..._0x3fd773,'data':{..._0x1b168f,'data':_0x1b168f['updatePermissionObjEvent']},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d[_0x98cf6(0x407)]['SHOULD_CLOSE_CONN']:return{..._0x3fd773,'data':{..._0x1b168f,'data':_0x1b168f[_0x98cf6(0x1e8)]},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d[_0x98cf6(0x407)][_0x98cf6(0x202)]:return{..._0x3fd773,'data':{..._0x1b168f,'data':_0x1b168f['uniscriptRunEvent']},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};default:return _0x3fd773;}}default:return _0x3fd773;}}function _0x2357d8(_0x52ffe2){var _0x1b0d14=_0x4f3d5a;switch(_0x52ffe2[_0x1b0d14(0x3b1)]){case _0x270d19['HEARTBEAT']:case _0x270d19[_0x1b0d14(0x290)]:return JSON[_0x1b0d14(0x374)]({'cmd':_0x52ffe2[_0x1b0d14(0x3b1)],'routeKey':_0x52ffe2[_0x1b0d14(0x25c)]});case _0x270d19['INGEST']:{let _0x181b94;switch(_0x52ffe2[_0x1b0d14(0x3ec)]['eventID']){case _0x2e372d[_0x1b0d14(0x407)][_0x1b0d14(0x249)]:{_0x181b94={'eventID':_0x2e372d[_0x1b0d14(0x407)]['UPDATE_CURSOR'],'updateCursorEvent':_0x52ffe2[_0x1b0d14(0x3ec)][_0x1b0d14(0x3ec)]};break;}case _0x2e372d['CollaborationEvent'][_0x1b0d14(0x273)]:{_0x181b94={'eventID':_0x2e372d['CollaborationEvent'][_0x1b0d14(0x273)],'leaveEvent':_0x52ffe2[_0x1b0d14(0x3ec)][_0x1b0d14(0x3ec)]};break;}case _0x2e372d[_0x1b0d14(0x407)]['USERS_ENTER']:{_0x181b94={'eventID':_0x2e372d[_0x1b0d14(0x407)][_0x1b0d14(0x278)],'joinEvent':_0x52ffe2[_0x1b0d14(0x3ec)]['data']};break;}case _0x2e372d[_0x1b0d14(0x407)][_0x1b0d14(0x3ff)]:{_0x181b94={'eventID':_0x2e372d[_0x1b0d14(0x407)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x52ffe2[_0x1b0d14(0x3ec)]['data']};break;}case _0x2e372d['CollaborationEvent'][_0x1b0d14(0x248)]:{_0x181b94={'eventID':_0x2e372d['CollaborationEvent'][_0x1b0d14(0x248)],'liveShareOperation':_0x52ffe2['data'][_0x1b0d14(0x3ec)]};break;}case _0x2e372d[_0x1b0d14(0x407)][_0x1b0d14(0x33e)]:{_0x181b94={'eventID':_0x2e372d[_0x1b0d14(0x407)][_0x1b0d14(0x33e)],'liveShareTerminate':_0x52ffe2[_0x1b0d14(0x3ec)][_0x1b0d14(0x3ec)]};break;}case _0x2e372d['CollaborationEvent'][_0x1b0d14(0x2ea)]:{_0x181b94={'eventID':_0x2e372d[_0x1b0d14(0x407)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x52ffe2[_0x1b0d14(0x3ec)][_0x1b0d14(0x3ec)]};break;}case _0x2e372d[_0x1b0d14(0x407)][_0x1b0d14(0x231)]:{_0x181b94={'eventID':_0x2e372d['CollaborationEvent'][_0x1b0d14(0x231)]};break;}default:_0x181b94={'eventID':_0x52ffe2[_0x1b0d14(0x3ec)][_0x1b0d14(0x398)]};}return JSON[_0x1b0d14(0x374)]({'cmd':_0x52ffe2['cmd'],'routeKey':_0x52ffe2[_0x1b0d14(0x25c)],'collaMsg':_0x181b94});}case _0x270d19['JOIN']:return JSON[_0x1b0d14(0x374)]({'cmd':_0x52ffe2[_0x1b0d14(0x3b1)],'routeKey':_0x52ffe2['routeKey'],'joinReq':_0x52ffe2['data']});case _0x270d19[_0x1b0d14(0x2f7)]:return JSON[_0x1b0d14(0x374)]({'cmd':_0x52ffe2[_0x1b0d14(0x3b1)],'routeKey':_0x52ffe2[_0x1b0d14(0x25c)],'leaveReq':_0x52ffe2['data']});default:throw new Error(_0x1b0d14(0xa8));}}var _0x2eff3b=Object[_0x4f3d5a(0x246)],_0x4e07a2=(_0x4ef1d3,_0x160a6f,_0x232d04,_0x264fcd)=>{var _0x46ab3f=_0x4f3d5a;for(var _0x38870b=_0x264fcd>0x1?void 0x0:_0x264fcd?_0x2eff3b(_0x160a6f,_0x232d04):_0x160a6f,_0x3cd45e=_0x4ef1d3[_0x46ab3f(0x36c)]-0x1,_0x232184;_0x3cd45e>=0x0;_0x3cd45e--)(_0x232184=_0x4ef1d3[_0x3cd45e])&&(_0x38870b=_0x232184(_0x38870b)||_0x38870b);return _0x38870b;},_0x10f43c=(_0x507a39,_0x6ef6cb)=>(_0x1d772c,_0x139557)=>_0x6ef6cb(_0x1d772c,_0x139557,_0x507a39);const _0x4be32f=_0x3392b5[_0x4f3d5a(0x428)]('univer-pro.collaboration-client-socket-service');function _0x226ab0(_0x5252f8,_0x5ddefc,_0x3a9ef3){var _0x535676=_0x4f3d5a;return _0x5252f8+'/'+_0x5ddefc+_0x535676(0xe8)+_0x3a9ef3+_0x535676(0x1f7);}_0x427316[_0x4f3d5a(0xeb)]=class extends _0x3392b5[_0x4f3d5a(0x1cf)]{constructor(_0x4dce4a,_0x5bc9a3,_0x56d199,_0x197e01,_0x505e3b){var _0xa3893c=_0x4f3d5a;super(),this[_0xa3893c(0x1fb)]=_0x4dce4a,this['_httpService']=_0x5bc9a3,this[_0xa3893c(0xd0)]=_0x56d199,this[_0xa3893c(0x165)]=_0x197e01,this[_0xa3893c(0x2f1)]=_0x505e3b;}[_0x4f3d5a(0x41f)](_0x32ea30){var _0x5d774a=_0x4f3d5a;const _0x4400ef=this[_0x5d774a(0x1fb)][_0x5d774a(0x1e6)](_0x48a077['ISocketService']);if(!_0x4400ef)throw new Error(_0x5d774a(0x1d0));const _0x474bc3=_0x4400ef[_0x5d774a(0x294)](_0x32ea30);if(!_0x474bc3)throw new Error(_0x5d774a(0x105));const _0x2f1f1c=new _0x3392b5[(_0x5d774a(0xc9))](),_0x5dd66d=new _0x2c1c73[(_0x5d774a(0xc5))]();_0x2f1f1c[_0x5d774a(0xf5)](_0x474bc3[_0x5d774a(0xad)][_0x5d774a(0x12f)](_0x3f757a=>_0x5dd66d[_0x5d774a(0x191)](_0x3f757a))),_0x2f1f1c[_0x5d774a(0xf5)](_0x3392b5[_0x5d774a(0x128)](()=>_0x5dd66d[_0x5d774a(0xdd)]()));const _0x38b73e=new _0x2c1c73['Subject']();_0x2f1f1c[_0x5d774a(0xf5)](_0x474bc3[_0x5d774a(0x1ec)][_0x5d774a(0x12f)](_0x2f8640=>_0x38b73e[_0x5d774a(0x191)](_0x2f8640))),_0x2f1f1c[_0x5d774a(0xf5)](_0x3392b5[_0x5d774a(0x128)](()=>_0x38b73e['complete']()));const _0x596bfb=new _0x2c1c73[(_0x5d774a(0xc5))]();_0x2f1f1c[_0x5d774a(0xf5)](_0x474bc3[_0x5d774a(0x2e8)]['subscribe'](_0x34cfb2=>{var _0x1b4cea=_0x5d774a;const _0x26b404=_0x384d7c(_0x34cfb2);_0x596bfb[_0x1b4cea(0x191)](_0x26b404);})),_0x2f1f1c['add'](_0x3392b5[_0x5d774a(0x128)](()=>_0x596bfb[_0x5d774a(0xdd)]()));let _0x378c16;const _0x434305=()=>{var _0x256726=_0x5d774a;_0x38b73e[_0x256726(0x191)](new Event(_0x256726(0x30b))),_0x5dd66d[_0x256726(0x191)](new Event('connection\x20error')),_0x378c16[_0x256726(0x365)]();};return _0x378c16={'memberID':'','close$':_0x5dd66d[_0x5d774a(0x28d)](),'error$':_0x38b73e[_0x5d774a(0x28d)](),'open$':_0x474bc3[_0x5d774a(0xcd)],'message$':_0x596bfb[_0x5d774a(0x28d)](),'send':_0x201a7a=>{var _0x4daaa3=_0x5d774a;if(_0x201a7a[_0x4daaa3(0x3b1)]===_0x270d19[_0x4daaa3(0x2f4)]){if(_0x201a7a[_0x4daaa3(0x3ec)][_0x4daaa3(0x398)]===_0x2e372d[_0x4daaa3(0x407)][_0x4daaa3(0x1e7)]){this[_0x4daaa3(0x26c)](_0x378c16,_0x201a7a[_0x4daaa3(0x3ec)])['catch'](_0x2f00db=>{var _0x16a690=_0x4daaa3;this['_logService'][_0x16a690(0x316)](_0x2f00db),_0x434305();});return;}if(_0x201a7a[_0x4daaa3(0x3ec)][_0x4daaa3(0x398)]===_0x2e372d[_0x4daaa3(0x407)]['FETCH_MISSING']){const _0x12e057=_0x201a7a[_0x4daaa3(0x3ec)];this[_0x4daaa3(0x188)](_0x12e057)[_0x4daaa3(0xd6)](_0x44fa60=>{var _0x5a60cd=_0x4daaa3;_0x596bfb[_0x5a60cd(0x191)]({'cmd':_0x270d19['RECV'],'code':_0xfcdf32['OK'],'routeKey':_0x12e057[_0x5a60cd(0x3ec)][_0x5a60cd(0x259)],'routeType':'','data':{'eventID':_0x2e372d[_0x5a60cd(0x407)][_0x5a60cd(0xe4)],'data':{'changesets':_0x44fa60}}});})[_0x4daaa3(0x3d3)](_0xada85d=>{var _0xdc970e=_0x4daaa3;this[_0xdc970e(0x165)][_0xdc970e(0x316)](_0xada85d),_0x434305();});return;}}_0x474bc3[_0x4daaa3(0x175)](_0x2357d8(_0x201a7a));},'close':()=>{var _0x309391=_0x5d774a;_0x474bc3[_0x309391(0x365)](),_0x2f1f1c[_0x309391(0x252)]();}},_0x378c16;}async[_0x4f3d5a(0x26c)](_0x207876,_0x36b738){var _0x1e67a7=_0x4f3d5a,_0xfdc206;const {unitType:_0x4f7239,unitID:_0x3ad60b,changeset:_0x28732d}=_0x36b738[_0x1e67a7(0x3ec)],_0xaf892f={'unitID':_0x3ad60b,'memberID':_0x207876[_0x1e67a7(0x185)],'type':_0x4f7239,'changeset':_0x2e372d[_0x1e67a7(0x197)](_0x28732d)},_0x2a25f1=this[_0x1e67a7(0xd0)][_0x1e67a7(0x38d)](_0x5dafb3),_0x3971e5=_0x226ab0((_0xfdc206=_0x2a25f1==null?void 0x0:_0x2a25f1[_0x1e67a7(0x3ba)])!=null?_0xfdc206:_0x26b037,_0x4f7239,_0x3ad60b);try{await this[_0x1e67a7(0x196)][_0x1e67a7(0x16c)](_0x3971e5,{'body':_0xaf892f});}catch(_0x58cb17){throw this[_0x1e67a7(0x165)][_0x1e67a7(0x316)](_0x1e67a7(0x190),_0x1e67a7(0x383)),_0x58cb17;}}async['_fetchMissChangesets'](_0x48fcc6){var _0x273bce=_0x4f3d5a;const {unitID:_0x56a867,from:_0xe92277,to:_0x115cdc,unitType:_0x521e88}=_0x48fcc6[_0x273bce(0x3ec)];return(await this['_snapshotServerService'][_0x273bce(0x237)]({'metadata':void 0x0},{'unitID':_0x56a867,'type':_0x521e88,'from':_0xe92277,'to':_0x115cdc}))[_0x273bce(0x283)][_0x273bce(0xa5)](_0x5e8399=>((_0x5e8399[_0x273bce(0x204)]===null||_0x5e8399[_0x273bce(0x204)]===void 0x0)&&(_0x5e8399[_0x273bce(0x204)]=[]),_0x5e8399));}},_0x427316['CollaborationSocketService']=_0x4e07a2([_0x10f43c(0x0,_0x3392b5['Inject'](_0x3392b5[_0x4f3d5a(0x421)])),_0x10f43c(0x1,_0x3392b5[_0x4f3d5a(0x329)](_0x48a077[_0x4f3d5a(0xb5)])),_0x10f43c(0x2,_0x3392b5['IConfigService']),_0x10f43c(0x3,_0x3392b5[_0x4f3d5a(0x1c1)]),_0x10f43c(0x4,_0x2e372d[_0x4f3d5a(0x385)])],_0x427316[_0x4f3d5a(0xeb)]);var _0x266318=Object['getOwnPropertyDescriptor'],_0x27247a=(_0x365390,_0x2a7304,_0x2acfff,_0x40a1d4)=>{var _0x258fae=_0x4f3d5a;for(var _0x685562=_0x40a1d4>0x1?void 0x0:_0x40a1d4?_0x266318(_0x2a7304,_0x2acfff):_0x2a7304,_0x58a7bf=_0x365390[_0x258fae(0x36c)]-0x1,_0x35f3ab;_0x58a7bf>=0x0;_0x58a7bf--)(_0x35f3ab=_0x365390[_0x58a7bf])&&(_0x685562=_0x35f3ab(_0x685562)||_0x685562);return _0x685562;},_0x59a936=(_0x2d1f56,_0x43f8f1)=>(_0x5b34bc,_0x477592)=>_0x43f8f1(_0x5b34bc,_0x477592,_0x2d1f56);_0x427316[_0x4f3d5a(0x1a8)]=class extends _0x3392b5[_0x4f3d5a(0x1cf)]{constructor(_0x4fd71a,_0x17b685,_0x239065,_0x219998,_0x479881,_0x45af11){var _0x1a28ee=_0x4f3d5a;super(),_0x2cd3a0(this,_0x1a28ee(0x118),new _0x2c1c73[(_0x1a28ee(0x24d))](void 0x0)),_0x2cd3a0(this,_0x1a28ee(0x340),this[_0x1a28ee(0x118)]['asObservable']()),_0x2cd3a0(this,_0x1a28ee(0x41e),null),_0x2cd3a0(this,_0x1a28ee(0x203),new Map()),_0x2cd3a0(this,_0x1a28ee(0x3a1),new _0x2c1c73[(_0x1a28ee(0x24d))](_0x45134b[_0x1a28ee(0x2ee)])),_0x2cd3a0(this,_0x1a28ee(0x42a),this['_status$']['asObservable']()),_0x2cd3a0(this,_0x1a28ee(0x35f),!0x1),_0x2cd3a0(this,_0x1a28ee(0x373)),_0x2cd3a0(this,_0x1a28ee(0xb4),0x0),_0x2cd3a0(this,'_sendHeartbeatTimer'),_0x2cd3a0(this,_0x1a28ee(0xe2)),(this['_injector']=_0x4fd71a,this['_logService']=_0x17b685,this[_0x1a28ee(0xd0)]=_0x239065,this[_0x1a28ee(0x282)]=_0x219998,this[_0x1a28ee(0x179)]=_0x479881,this[_0x1a28ee(0x149)]=_0x45af11,this['_listenToNetworkCondition']());}get[_0x4f3d5a(0x3ea)](){var _0x53855b=_0x4f3d5a;return this[_0x53855b(0x118)]['getValue']();}[_0x4f3d5a(0x3b7)](){var _0x287e91=_0x4f3d5a;this[_0x287e91(0x149)]&&this[_0x287e91(0x296)](this[_0x287e91(0x149)]['online$'][_0x287e91(0x12f)](_0x140dcf=>{var _0x5d787d=_0x287e91;_0x140dcf&&!this[_0x5d787d(0x3ea)]&&this[_0x5d787d(0x2f2)](),_0x140dcf||this[_0x5d787d(0x3c5)]();}));}[_0x4f3d5a(0x252)](){var _0x4d3904=_0x4f3d5a;super[_0x4d3904(0x252)](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this[_0x4d3904(0xfb)](),this[_0x4d3904(0x203)][_0x4d3904(0x186)](_0x21515f=>_0x21515f['dispose']()),this[_0x4d3904(0x203)]['clear'](),this[_0x4d3904(0x3a1)]['complete']();}async['requireSession'](_0x38d6ad){var _0x4da929=_0x4f3d5a;if(this[_0x4da929(0x203)][_0x4da929(0x21c)](_0x38d6ad))return this[_0x4da929(0x203)][_0x4da929(0x1e6)](_0x38d6ad);this[_0x4da929(0x3ab)]();const _0xbe47e8=this[_0x4da929(0x1fb)][_0x4da929(0x417)](_0x427316[_0x4da929(0x18d)],_0x38d6ad,this[_0x4da929(0x118)][_0x4da929(0x28d)]());return this[_0x4da929(0x203)]['set'](_0x38d6ad,_0xbe47e8),_0xbe47e8;}[_0x4f3d5a(0x215)](_0x34472a){var _0x50b49e=_0x4f3d5a,_0x7bd938;const _0x43d55d=this[_0x50b49e(0x203)][_0x50b49e(0x1e6)](_0x34472a);_0x43d55d&&(this[_0x50b49e(0x203)][_0x50b49e(0x338)](_0x34472a),_0x43d55d[_0x50b49e(0x365)]()),this[_0x50b49e(0x203)][_0x50b49e(0x2e1)]||(_0x7bd938=this['_socket'])==null||_0x7bd938['close']();}[_0x4f3d5a(0x2f2)](){var _0x398a93=_0x4f3d5a;this[_0x398a93(0xb4)]=0x0,this[_0x398a93(0x2f3)](),this[_0x398a93(0xee)]();}[_0x4f3d5a(0x2f3)](){var _0x1c62d2=_0x4f3d5a;this[_0x1c62d2(0x373)]!=null&&(clearTimeout(this[_0x1c62d2(0x373)]),this[_0x1c62d2(0x373)]=null);}async['_createSocket'](){var _0x5af559=_0x4f3d5a,_0x4d0a37;const _0x772c72=this[_0x5af559(0xd0)][_0x5af559(0x38d)](_0x5dafb3),_0x329410=(_0x4d0a37=_0x772c72==null?void 0x0:_0x772c72['collabWebSocketUrl'])!=null?_0x4d0a37:_0x390407,_0x40cbc1=await this[_0x5af559(0x282)][_0x5af559(0x294)](_0x329410);return this[_0x5af559(0x41e)]=_0x40cbc1,_0x40cbc1;}async[_0x4f3d5a(0x3ab)](){var _0x4a4f64=_0x4f3d5a,_0x30131e,_0x5207ed;try{const _0x25ee85=(_0x5207ed=(_0x30131e=this[_0x4a4f64(0x3ea)])!=null?_0x30131e:this[_0x4a4f64(0x41e)])!=null?_0x5207ed:await this[_0x4a4f64(0x3e4)]();if(_0x25ee85){const _0x3d3c11=_0x25ee85[_0x4a4f64(0x175)];_0x25ee85[_0x4a4f64(0x175)]=_0x18cbe8=>(this[_0x4a4f64(0x359)](),_0x3d3c11[_0x4a4f64(0x275)](_0x25ee85,[_0x18cbe8])),_0x25ee85[_0x4a4f64(0x2e8)][_0x4a4f64(0x12f)](_0x20466e=>this[_0x4a4f64(0x2b4)](_0x25ee85,_0x20466e)),_0x25ee85[_0x4a4f64(0x1ec)][_0x4a4f64(0x1c4)](_0x1f6813[_0x4a4f64(0x3e5)](0x1))['subscribe'](_0x14529d=>this[_0x4a4f64(0x165)][_0x4a4f64(0x316)](_0x4a4f64(0x38c),_0x14529d)),_0x25ee85[_0x4a4f64(0xcd)][_0x4a4f64(0x1c4)](_0x1f6813[_0x4a4f64(0x3e5)](0x1))[_0x4a4f64(0x12f)](()=>{var _0x244657=_0x4a4f64;this[_0x244657(0x264)](_0x25ee85);}),_0x25ee85[_0x4a4f64(0xad)][_0x4a4f64(0x1c4)](_0x1f6813[_0x4a4f64(0x3e5)](0x1))[_0x4a4f64(0x12f)](_0xdab315=>{var _0x2cd14b=_0x4a4f64;this['_logService'][_0x2cd14b(0x37b)](_0x2cd14b(0x2c7),_0x2cd14b(0x155),_0xdab315),this['_onConnectionFailed']();});}}catch(_0x57611b){this[_0x4a4f64(0x165)][_0x4a4f64(0x316)](_0x57611b),this[_0x4a4f64(0x3c4)]();}}[_0x4f3d5a(0x264)](_0x1e78f6){var _0x102294=_0x4f3d5a;this['_logService'][_0x102294(0x37b)](_0x102294(0x2c7),_0x102294(0x21a)),_0x1e78f6[_0x102294(0x175)]({'cmd':_0x270d19[_0x102294(0x290)]}),this[_0x102294(0x359)]();}['_onOffline'](){var _0x2f723b=_0x4f3d5a;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x2f723b(0x3a1)]['next'](_0x45134b[_0x2f723b(0x27a)]),this[_0x2f723b(0x118)][_0x2f723b(0x191)](null),this[_0x2f723b(0x2c1)](),this[_0x2f723b(0xfb)]();}[_0x4f3d5a(0x3c4)](){var _0x2a8021=_0x4f3d5a,_0x4899c7;this[_0x2a8021(0x3c5)](),this[_0x2a8021(0xb4)]<((_0x4899c7=this[_0x2a8021(0xd0)][_0x2a8021(0x38d)](_0x394647))!=null?_0x4899c7:0x3)?(this[_0x2a8021(0x179)][_0x2a8021(0x208)]({'id':_0x2f98ef['SOCKET_FAILED_RETRY']}),this[_0x2a8021(0xee)]()):this[_0x2a8021(0x179)][_0x2a8021(0x208)]({'id':_0x2f98ef[_0x2a8021(0x386)]});}['_tryReconnect'](){var _0x1fec28=_0x4f3d5a,_0x4e030d;const _0xd89060=this[_0x1fec28(0xb4)],_0x3e706e=this[_0x1fec28(0xd0)][_0x1fec28(0x38d)](_0x5dafb3),_0xdffef2=_0xd89060===0x0?0x0:((_0x4e030d=_0x3e706e==null?void 0x0:_0x3e706e[_0x1fec28(0x27d)])!=null?_0x4e030d:0x4e20)*0x2**_0xd89060;this[_0x1fec28(0x373)]=setTimeout(()=>{var _0x47cea3=_0x1fec28;clearTimeout(this[_0x47cea3(0x373)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0xdffef2),this[_0x1fec28(0xb4)]+=0x1;}[_0x4f3d5a(0x2b4)](_0x4164d7,_0x159134){var _0x5318a2=_0x4f3d5a;const {cmd:_0x4f8294}=_0x159134;_0x4f8294===_0x270d19[_0x5318a2(0x290)]&&!this[_0x5318a2(0x35f)]&&(_0x4164d7[_0x5318a2(0x185)]=_0x159134[_0x5318a2(0x3ec)][_0x5318a2(0x185)],this[_0x5318a2(0x118)]['next'](_0x4164d7),this['_status$'][_0x5318a2(0x191)](_0x45134b[_0x5318a2(0x102)]),this['_socketReady']=!0x0,this[_0x5318a2(0x41e)]=null),_0x4f8294===_0x270d19[_0x5318a2(0x391)]&&this[_0x5318a2(0x2c1)](),this[_0x5318a2(0x359)]();}[_0x4f3d5a(0x359)](){var _0x611f69=_0x4f3d5a,_0x26ad9c;this['_clearHeartbeatTimer'](),this[_0x611f69(0x29f)]=setTimeout(()=>this[_0x611f69(0x351)](),(_0x26ad9c=this[_0x611f69(0xd0)][_0x611f69(0x38d)](_0x5ac1cf))!=null?_0x26ad9c:0x7530);}[_0x4f3d5a(0x351)](){var _0x589748=_0x4f3d5a;this[_0x589748(0x3ea)][_0x589748(0x175)]({'cmd':_0x270d19['HEARTBEAT']}),this[_0x589748(0x334)]();}[_0x4f3d5a(0x334)](){var _0x2fc364=_0x4f3d5a,_0x8472e0;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x8472e0=this['_configService'][_0x2fc364(0x38d)](_0x1324fc))!=null?_0x8472e0:0x4e20);}[_0x4f3d5a(0xfb)](){var _0x50779b=_0x4f3d5a;this[_0x50779b(0x29f)]!=null&&(clearTimeout(this[_0x50779b(0x29f)]),this[_0x50779b(0x29f)]=null);}['_clearTimeoutTimer'](){var _0x4d667f=_0x4f3d5a;this[_0x4d667f(0xe2)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x4d667f(0xe2)]=null);}},_0x427316[_0x4f3d5a(0x1a8)]=_0x27247a([_0x59a936(0x0,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x421)])),_0x59a936(0x1,_0x3392b5[_0x4f3d5a(0x1c1)]),_0x59a936(0x2,_0x3392b5['IConfigService']),_0x59a936(0x3,_0x4be32f),_0x59a936(0x4,_0x3392b5[_0x4f3d5a(0x329)](_0x5d354c)),_0x59a936(0x5,_0x3392b5[_0x4f3d5a(0x289)](_0x357e84))],_0x427316[_0x4f3d5a(0x1a8)]);var _0x3c3ab4=Object['getOwnPropertyDescriptor'],_0x1039af=(_0x12e82a,_0x25d091,_0x1f66e4,_0x57a0c6)=>{var _0x187cd8=_0x4f3d5a;for(var _0x23d230=_0x57a0c6>0x1?void 0x0:_0x57a0c6?_0x3c3ab4(_0x25d091,_0x1f66e4):_0x25d091,_0x535f11=_0x12e82a[_0x187cd8(0x36c)]-0x1,_0x5e8c0c;_0x535f11>=0x0;_0x535f11--)(_0x5e8c0c=_0x12e82a[_0x535f11])&&(_0x23d230=_0x5e8c0c(_0x23d230)||_0x23d230);return _0x23d230;},_0x365956=(_0x13bbe5,_0x5cca81)=>(_0x28b42d,_0x8b6320)=>_0x5cca81(_0x28b42d,_0x8b6320,_0x13bbe5);_0x427316[_0x4f3d5a(0x235)]=class extends _0x3392b5['RxDisposable']{constructor(_0x4503e6,_0x135d94,_0x160e60,_0x462a07){var _0x128b1d=_0x4f3d5a,_0x32b93b;super(),_0x2cd3a0(this,_0x128b1d(0x2a2),new Map()),_0x2cd3a0(this,'_entityInit$',new _0x2c1c73[(_0x128b1d(0xc5))]()),_0x2cd3a0(this,_0x128b1d(0x43f),this[_0x128b1d(0x3f3)]['asObservable']()),(this[_0x128b1d(0x1fb)]=_0x4503e6,this[_0x128b1d(0x36e)]=_0x135d94,this[_0x128b1d(0xd0)]=_0x160e60,this[_0x128b1d(0x43d)]=_0x462a07,((_0x32b93b=this[_0x128b1d(0xd0)][_0x128b1d(0x38d)](_0x5dafb3))==null?void 0x0:_0x32b93b['enableCollaboration'])!==!0x1&&this[_0x128b1d(0x14d)]());}[_0x4f3d5a(0x252)](){var _0x201632=_0x4f3d5a;super['dispose'](),this['_entities'][_0x201632(0x186)](_0x1e23b2=>_0x1e23b2[_0x201632(0x252)]()),this['_entities'][_0x201632(0x229)]();}[_0x4f3d5a(0x1eb)](_0x35340c){var _0x30e9be=_0x4f3d5a,_0x49b49b;return(_0x49b49b=this[_0x30e9be(0x2a2)][_0x30e9be(0x1e6)](_0x35340c))!=null?_0x49b49b:null;}[_0x4f3d5a(0x408)](_0x7b1dc7){var _0xc0d39a=_0x4f3d5a;const _0x3794eb=this[_0xc0d39a(0x1eb)](_0x7b1dc7);return _0x3794eb?_0x2c1c73['of'](_0x3794eb):this['_entityInit$'][_0xc0d39a(0x1c4)](_0x1f6813['filter'](_0x18e660=>_0x18e660[_0xc0d39a(0x259)]===_0x7b1dc7));}[_0x4f3d5a(0x3b3)](_0x237b69){var _0x351575=_0x4f3d5a;return _0x2c1c73[_0x351575(0x1ee)](this[_0x351575(0x408)](_0x237b69)[_0x351575(0x1c4)](_0x1f6813['map'](()=>{})));}[_0x4f3d5a(0x14d)](){var _0x388ed5=_0x4f3d5a;this[_0x388ed5(0x43d)][_0x388ed5(0x381)](_0x3392b5[_0x388ed5(0x401)]['UNIVER_SHEET'])[_0x388ed5(0x1c4)](_0x2c1c73[_0x388ed5(0x239)](this[_0x388ed5(0xc6)]),_0x1f6813[_0x388ed5(0x124)](0x10))['subscribe'](async _0x5169e2=>{var _0x1e42c4=_0x388ed5;const _0x5792ae=_0x5169e2[_0x1e42c4(0x1c7)](),_0x55fc16=await this[_0x1e42c4(0x292)](_0x5792ae,_0x2f4b9b[_0x1e42c4(0x214)]);this[_0x1e42c4(0x2a2)][_0x1e42c4(0x3ef)](_0x5792ae,_0x55fc16);}),this[_0x388ed5(0x43d)][_0x388ed5(0x381)](_0x3392b5[_0x388ed5(0x401)][_0x388ed5(0x26b)])[_0x388ed5(0x1c4)](_0x2c1c73[_0x388ed5(0x239)](this['dispose$']),_0x1f6813[_0x388ed5(0x124)](0x10))['pipe'](_0x1f6813[_0x388ed5(0x17c)](_0x39b81b=>!_0x39b81b['getUnitId']()[_0x388ed5(0x2b1)]('__')))[_0x388ed5(0x12f)](async _0x3ce609=>{var _0x3e103e=_0x388ed5;const _0x168d80=_0x3ce609[_0x3e103e(0x1c7)](),_0x565764=await this[_0x3e103e(0x292)](_0x168d80,_0x2f4b9b[_0x3e103e(0x26b)]);this[_0x3e103e(0x2a2)]['set'](_0x168d80,_0x565764);}),_0x2c1c73['merge'](this['_univerInstanceService'][_0x388ed5(0x12c)](_0x3392b5[_0x388ed5(0x401)][_0x388ed5(0x214)]),this[_0x388ed5(0x43d)][_0x388ed5(0x12c)](_0x3392b5[_0x388ed5(0x401)][_0x388ed5(0x26b)]))[_0x388ed5(0x1c4)](_0x2c1c73[_0x388ed5(0x239)](this[_0x388ed5(0xc6)]))['subscribe'](_0x2ab3b8=>{var _0xca6e39=_0x388ed5;const _0x4f1916=_0x2ab3b8[_0xca6e39(0x1c7)](),_0x582344=this[_0xca6e39(0x2a2)][_0xca6e39(0x1e6)](_0x4f1916);_0x582344&&(_0x582344[_0xca6e39(0x252)](),this[_0xca6e39(0x2a2)]['delete'](_0x4f1916));});}async[_0x4f3d5a(0x292)](_0x5a7afc,_0x552914){var _0x2e5998=_0x4f3d5a;const _0x52d00b=await this[_0x2e5998(0x36e)][_0x2e5998(0x159)](_0x5a7afc),_0x22b114=this['_injector'][_0x2e5998(0x417)](this[_0x2e5998(0x3f5)](_0x552914),_0x5a7afc,_0x552914,_0x52d00b);return await _0x22b114[_0x2e5998(0xc3)](),this[_0x2e5998(0x3f3)][_0x2e5998(0x191)](_0x22b114),_0x22b114;}[_0x4f3d5a(0x3f5)](_0x2fb830){var _0x2e6c86=_0x4f3d5a;switch(_0x2fb830){case _0x2f4b9b[_0x2e6c86(0x26b)]:return _0x427316[_0x2e6c86(0x227)];case _0x2f4b9b[_0x2e6c86(0x214)]:return _0x427316[_0x2e6c86(0x238)];default:throw new Error(_0x2e6c86(0x3a6)+_0x2fb830);}}},_0x427316[_0x4f3d5a(0x235)]=_0x1039af([_0x365956(0x0,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x421)])),_0x365956(0x1,_0x3392b5['Inject'](_0x427316['CollaborationSessionService'])),_0x365956(0x2,_0x3392b5[_0x4f3d5a(0x3dd)]),_0x365956(0x3,_0x3392b5[_0x4f3d5a(0x1cd)])],_0x427316['CollaborationController']);var _0x383474=Object[_0x4f3d5a(0x246)],_0x1fdc12=(_0x229966,_0x263370,_0x32665c,_0x5a1f8f)=>{var _0x4fe861=_0x4f3d5a;for(var _0x425a91=_0x5a1f8f>0x1?void 0x0:_0x5a1f8f?_0x383474(_0x263370,_0x32665c):_0x263370,_0x437ffe=_0x229966[_0x4fe861(0x36c)]-0x1,_0x4e0ba5;_0x437ffe>=0x0;_0x437ffe--)(_0x4e0ba5=_0x229966[_0x437ffe])&&(_0x425a91=_0x4e0ba5(_0x425a91)||_0x425a91);return _0x425a91;},_0x1fc2aa=(_0x5b1ebb,_0x3e4dad)=>(_0x544202,_0x78155c)=>_0x3e4dad(_0x544202,_0x78155c,_0x5b1ebb);const _0x4a7017='DEFAULT_FILE_NAME',_0x4da647=_0x4f3d5a(0x1ed);let _0x64f94e=class extends _0x3392b5[_0x4f3d5a(0x1cf)]{constructor(_0x1a9b22,_0x4f1f47){var _0x30fc46=_0x4f3d5a;super(),this[_0x30fc46(0x43d)]=_0x1a9b22,this[_0x30fc46(0xd0)]=_0x4f1f47,this['_init']();}[_0x4f3d5a(0x14d)](){var _0x167d03=_0x4f3d5a;this[_0x167d03(0x296)](this[_0x167d03(0x43d)][_0x167d03(0x33d)][_0x167d03(0x12f)](()=>{var _0x55a8e2=_0x167d03,_0x1a9884;const _0x1c2b05=this[_0x55a8e2(0x43d)][_0x55a8e2(0xc1)]();let _0x49e725=(_0x1a9884=this[_0x55a8e2(0xd0)]['getConfig'](_0x4a7017))!=null?_0x1a9884:_0x4da647;_0x1c2b05 instanceof _0x3392b5[_0x55a8e2(0x322)]&&(_0x49e725=_0x1c2b05[_0x55a8e2(0x405)]),document[_0x55a8e2(0x2ed)]=_0x49e725;}));}};_0x64f94e=_0x1fdc12([_0x1fc2aa(0x0,_0x3392b5[_0x4f3d5a(0x1cd)]),_0x1fc2aa(0x1,_0x3392b5[_0x4f3d5a(0x3dd)])],_0x64f94e);var _0x4d8f52=Object[_0x4f3d5a(0x246)],_0x444450=(_0x3b25ad,_0xfcf81a,_0x47a0bd,_0x30dde4)=>{var _0x54d887=_0x4f3d5a;for(var _0x19cf1e=_0x30dde4>0x1?void 0x0:_0x30dde4?_0x4d8f52(_0xfcf81a,_0x47a0bd):_0xfcf81a,_0x8d93ac=_0x3b25ad[_0x54d887(0x36c)]-0x1,_0x19da59;_0x8d93ac>=0x0;_0x8d93ac--)(_0x19da59=_0x3b25ad[_0x8d93ac])&&(_0x19cf1e=_0x19da59(_0x19cf1e)||_0x19cf1e);return _0x19cf1e;},_0x574090=(_0xc1e1f0,_0x43b057)=>(_0x11327e,_0x14491a)=>_0x43b057(_0x11327e,_0x14491a,_0xc1e1f0);let _0x81a0c9=class{constructor(_0x5584f1,_0x3e3476,_0xf47888){var _0x521a2c=_0x4f3d5a;this['_configService']=_0x5584f1,this[_0x521a2c(0x196)]=_0x3e3476,this[_0x521a2c(0x152)]=_0xf47888,this[_0x521a2c(0xc3)]();}[_0x4f3d5a(0xc3)](){var _0x428801=_0x4f3d5a;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x28d64d,_0x1d139a)=>_0x1d139a(_0x28d64d)[_0x428801(0x1c4)](_0x2c1c73['concatMap'](async _0x313477=>{var _0x1beb21=_0x428801;const _0x96b983=_0x313477;if(_0x96b983[_0x1beb21(0x319)]===0x191){if(typeof window>'u')throw new Error(_0x1beb21(0x2fa));if(window[_0x1beb21(0x265)](this['localeService']['t'](_0x1beb21(0x437)))){const _0xcc69e1=window[_0x1beb21(0x24c)](window[_0x1beb21(0x2e0)][_0x1beb21(0x31a)]);window['location'][_0x1beb21(0x31a)]=this['_getLoginPath']()+_0x1beb21(0x2bc)+_0xcc69e1;}}return _0x96b983;}))});}['_getLoginPath'](){var _0x311536=_0x4f3d5a,_0x29d737;const _0x422848=this[_0x311536(0xd0)][_0x311536(0x38d)](_0x5dafb3);return(_0x29d737=_0x422848==null?void 0x0:_0x422848['loginUrlKey'])!=null?_0x29d737:_0x1911dc;}};_0x81a0c9=_0x444450([_0x574090(0x0,_0x3392b5[_0x4f3d5a(0x3dd)]),_0x574090(0x1,_0x3392b5[_0x4f3d5a(0x329)](_0x48a077[_0x4f3d5a(0xb5)])),_0x574090(0x2,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5['LocaleService']))],_0x81a0c9);var _0x369812=Object[_0x4f3d5a(0x246)],_0x58a783=(_0x4e9909,_0xe26097,_0x21f2d6,_0x39fdd7)=>{var _0x7f3bc8=_0x4f3d5a;for(var _0x1b18e9=_0x39fdd7>0x1?void 0x0:_0x39fdd7?_0x369812(_0xe26097,_0x21f2d6):_0xe26097,_0x47d3eb=_0x4e9909[_0x7f3bc8(0x36c)]-0x1,_0xffcc86;_0x47d3eb>=0x0;_0x47d3eb--)(_0xffcc86=_0x4e9909[_0x47d3eb])&&(_0x1b18e9=_0xffcc86(_0x1b18e9)||_0x1b18e9);return _0x1b18e9;},_0x2145d3=(_0x54f59b,_0x5bd4f9)=>(_0x36b1f0,_0x4a531e)=>_0x5bd4f9(_0x36b1f0,_0x4a531e,_0x54f59b);const _0xdaf2f4=_0x4f3d5a(0x411);_0x427316['AuthzIoHttpService']=class extends _0x3392b5[_0x4f3d5a(0x1cf)]{constructor(_0x1691ac,_0x2034ec){var _0x265ff8=_0x4f3d5a;super(),this[_0x265ff8(0x3cd)]=_0x1691ac,this[_0x265ff8(0xd0)]=_0x2034ec,this[_0x265ff8(0x2b2)]();}[_0x4f3d5a(0x2b2)](){var _0xb56045=_0x4f3d5a;const _0x427beb=this;this[_0xb56045(0x296)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x48a077['MergeInterceptorFactory']({'isMatch'(_0x30d7a1){var _0x291071=_0xb56045,_0xb18885;if(_0x30d7a1[_0x291071(0x271)]==='POST'&&((_0xb18885=_0x30d7a1[_0x291071(0x2e9)])!=null&&_0xb18885['body'])){const {objectID:_0x9211e,objectType:_0x38575c}=_0x30d7a1['requestParams'][_0x291071(0x17f)]||{};if(!_0x9211e||_0x38575c===void 0x0)return!0x1;const _0x569148=_0x427beb[_0x291071(0x3f9)]()+'/'+_0x38575c+_0x291071(0x2bd)+_0x9211e+_0x291071(0x23c);if(_0x30d7a1['url']===_0x569148)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x30efc0){var _0x3dbceb=_0xb56045,_0x1a7535;return(_0x1a7535=_0x30efc0[_0x3dbceb(0x2e9)])==null?void 0x0:_0x1a7535['body'];},'mergeParamsToRequest'(_0x46316e,_0x3fc489){var _0xa34416=_0xb56045;const _0x3bf339=_0x427beb['_getAPIPrefixPath']()+_0xa34416(0x3c8),_0x301803=_0x46316e[_0xa34416(0x3fb)]((_0x6a52a4,_0x3d42ec)=>{var _0x84d67c=_0xa34416;const {unitID:_0x26d813,objectID:_0x416ce2,objectType:_0x28edd1,actions:_0x5b2b4a}=_0x3d42ec;return _0x6a52a4[_0x26d813]||(_0x6a52a4[_0x26d813]={}),_0x6a52a4[_0x26d813][_0x416ce2]||(_0x6a52a4[_0x26d813][_0x416ce2]={'objectID':_0x416ce2,'objectType':_0x28edd1,'actions':[]}),_0x6a52a4[_0x26d813][_0x416ce2][_0x84d67c(0xb8)][_0x84d67c(0x228)](..._0x5b2b4a),_0x6a52a4;},{}),_0x10a841=[];for(const _0x9b85ed in _0x301803)for(const _0x4b0d69 in _0x301803[_0x9b85ed]){const {actions:_0x2e47dd,objectType:_0x885b41}=_0x301803[_0x9b85ed][_0x4b0d69],_0x22fbe9=[...new Set(_0x2e47dd)];_0x10a841[_0xa34416(0x228)]({'unitID':_0x9b85ed,'objectID':_0x4b0d69,'objectType':_0x885b41,'actions':_0x22fbe9});}return new _0x48a077[(_0xa34416(0x3ee))]('POST',_0x3bf339,{'headers':_0x3fc489['headers'],'withCredentials':_0x3fc489[_0xa34416(0x35e)],'responseType':_0x3fc489[_0xa34416(0x380)],'body':{'requests':_0x10a841}});}},{'distributeResult'(_0x4ff2f5,_0x581495){const {objectActions:_0x276abe}=_0x4ff2f5;return _0x581495['map'](_0x108073=>{var _0x38738b=_0x3800;const {unitID:_0x5d38c2,objectID:_0x8cc755,actions:_0xbec207}=_0x108073,_0x7a5e7c=_0x276abe['find'](_0x50d64b=>_0x50d64b[_0x38738b(0x259)]===_0x5d38c2&&_0x50d64b[_0x38738b(0x369)]===_0x8cc755),_0x4f6cec=_0xbec207[_0x38738b(0xa5)](_0x492bc3=>_0x7a5e7c==null?void 0x0:_0x7a5e7c[_0x38738b(0xb8)]['find'](_0xbe223a=>_0xbe223a['action']===_0x492bc3))[_0x38738b(0x17c)](_0x194b11=>!!_0x194b11);return{'config':_0x108073,'result':{'actions':_0x4f6cec,'error':_0x4ff2f5['error']}};});}})}));}[_0x4f3d5a(0x3f9)](){var _0xf58db9=_0x4f3d5a,_0x1fd702;const _0x135fb5=this[_0xf58db9(0xd0)]['getConfig'](_0x5dafb3);return(_0x1fd702=_0x135fb5==null?void 0x0:_0x135fb5[_0xf58db9(0x3a9)])!=null?_0x1fd702:_0xdaf2f4;}async[_0x4f3d5a(0x1d6)](_0x541cd9){var _0x5b259f=_0x4f3d5a;const _0x5e392d=this[_0x5b259f(0x3f9)]()+'/'+_0x541cd9['objectType']+_0x5b259f(0x25b);return(await this[_0x5b259f(0x3cd)][_0x5b259f(0x16c)](_0x5e392d,{'body':_0x541cd9}))[_0x5b259f(0x17f)]['objectID']||'';}async['list'](_0xdab64f){var _0x10ce6b=_0x4f3d5a;const _0xdcb4c3=this[_0x10ce6b(0x3f9)]()+_0x10ce6b(0x35d);return(await this[_0x10ce6b(0x3cd)][_0x10ce6b(0x16c)](_0xdcb4c3,{'body':_0xdab64f}))['body'][_0x10ce6b(0x135)];}async['update'](_0x47fe56){var _0x149d35=_0x4f3d5a,_0x3d4283,_0x31839e;const _0x1482f7=this[_0x149d35(0x3f9)]()+'/'+_0x47fe56[_0x149d35(0xd9)]+_0x149d35(0x2bd)+_0x47fe56[_0x149d35(0x369)],_0x202d13=await this[_0x149d35(0x3cd)][_0x149d35(0xf0)](_0x1482f7,{'body':_0x47fe56});if(((_0x31839e=(_0x3d4283=_0x202d13==null?void 0x0:_0x202d13[_0x149d35(0x17f)])==null?void 0x0:_0x3d4283[_0x149d35(0x316)])==null?void 0x0:_0x31839e['code'])!==0x1)throw new Error(_0x149d35(0xce));}async[_0x4f3d5a(0x3cf)](_0x54ee6a){var _0x111ee1=_0x4f3d5a;const _0x2c67af=this[_0x111ee1(0x3f9)]()+'/'+_0x54ee6a['objectType']+_0x111ee1(0x2bd)+_0x54ee6a['objectID']+_0x111ee1(0x23c);return(await this[_0x111ee1(0x3cd)][_0x111ee1(0x16c)](_0x2c67af,{'body':_0x54ee6a}))[_0x111ee1(0x17f)][_0x111ee1(0xb8)];}async[_0x4f3d5a(0x3a5)](_0x161f4b){var _0x57461e=_0x4f3d5a;const _0x11cffa=this[_0x57461e(0x3f9)]()+_0x57461e(0x3c8);return(await this[_0x57461e(0x3cd)][_0x57461e(0x16c)](_0x11cffa,{'body':{'requests':_0x161f4b}}))[_0x57461e(0x17f)][_0x57461e(0x111)];}async[_0x4f3d5a(0x263)](_0x1ae7fa){var _0xf01835=_0x4f3d5a;const _0x46ae89=this[_0xf01835(0x3f9)]()+'/'+_0x1ae7fa[_0xf01835(0xd9)]+'/role',_0x4b672a=await this[_0xf01835(0x3cd)][_0xf01835(0x16c)](_0x46ae89,{'body':_0x1ae7fa});return{'roles':_0x4b672a[_0xf01835(0x17f)][_0xf01835(0x2d9)],'actions':_0x4b672a[_0xf01835(0x17f)][_0xf01835(0xb8)]};}async[_0x4f3d5a(0x2be)](_0x4bc155){var _0x2a1094=_0x4f3d5a;const _0x63469=this[_0x2a1094(0x3f9)]()+'/collaborator';await this['_HTTPService'][_0x2a1094(0x338)](_0x63469,{'params':{'collaboratorID':_0x4bc155[_0x2a1094(0xb7)],'objectID':_0x4bc155[_0x2a1094(0x369)],'unitID':_0x4bc155[_0x2a1094(0x259)]}});}async['updateCollaborator'](_0x11db5f){var _0x45d203=_0x4f3d5a;const _0x4ff00a=this['_getAPIPrefixPath']()+_0x45d203(0x3bd);await this[_0x45d203(0x3cd)][_0x45d203(0x1e2)](_0x4ff00a,{'body':_0x11db5f});}async[_0x4f3d5a(0x1a1)](_0x1fe4a8){var _0x470d3c=_0x4f3d5a;const _0x14ac03=this[_0x470d3c(0x3f9)]()+_0x470d3c(0x3bd);await this[_0x470d3c(0x3cd)][_0x470d3c(0x16c)](_0x14ac03,{'body':_0x1fe4a8});}async[_0x4f3d5a(0x2b8)](_0x4f6f2d){var _0x1b3254=_0x4f3d5a;const _0x524a4f=this[_0x1b3254(0x3f9)]()+_0x1b3254(0x3bd);return(await this['_HTTPService'][_0x1b3254(0x1e6)](_0x524a4f,{'params':{'objectID':_0x4f6f2d[_0x1b3254(0x369)],'unitID':_0x4f6f2d['unitID']}}))[_0x1b3254(0x17f)][_0x1b3254(0x20d)];}async['putCollaborators'](_0x52b420){var _0x3ca4e6=_0x4f3d5a;const _0x3cb149=this[_0x3ca4e6(0x3f9)]()+_0x3ca4e6(0x3bd);await this[_0x3ca4e6(0x3cd)][_0x3ca4e6(0xf0)](_0x3cb149,{'body':_0x52b420});}},_0x427316[_0x4f3d5a(0x2e5)]=_0x58a783([_0x2145d3(0x0,_0x3392b5[_0x4f3d5a(0x329)](_0x48a077[_0x4f3d5a(0xb5)])),_0x2145d3(0x1,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x3dd)]))],_0x427316[_0x4f3d5a(0x2e5)]);var _0x55adf1=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x4edaab(_0x129c5b){var _0x4cc109=_0x4f3d5a;return _0x129c5b&&_0x129c5b['__esModule']&&Object[_0x4cc109(0x1d7)][_0x4cc109(0x3d2)][_0x4cc109(0x1da)](_0x129c5b,_0x4cc109(0x34f))?_0x129c5b[_0x4cc109(0x34f)]:_0x129c5b;}var _0x5b399d={'exports':{}};function _0x492d11(_0x1e6169){var _0x39031e=_0x4f3d5a;throw new Error(_0x39031e(0x2e4)+_0x1e6169+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x40df66={'exports':{}},_0x3699cd=_0x40df66[_0x4f3d5a(0x40f)],_0x500fca;function _0x42e50c(){return _0x500fca||(_0x500fca=0x1,function(_0x569b3f,_0x280430){(function(_0x35bb3e,_0x3c269b){_0x569b3f['exports']=_0x3c269b();}(_0x3699cd,function(){var _0x1a590b=_0x1a590b||function(_0x41bdc3,_0x2e15e0){var _0x51e291=_0x3800,_0x3f8060;if(typeof window<'u'&&window[_0x51e291(0x3b4)]&&(_0x3f8060=window[_0x51e291(0x3b4)]),typeof self<'u'&&self[_0x51e291(0x3b4)]&&(_0x3f8060=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3f8060=globalThis[_0x51e291(0x3b4)]),!_0x3f8060&&typeof window<'u'&&window['msCrypto']&&(_0x3f8060=window[_0x51e291(0x10f)]),!_0x3f8060&&typeof _0x55adf1<'u'&&_0x55adf1[_0x51e291(0x3b4)]&&(_0x3f8060=_0x55adf1['crypto']),!_0x3f8060&&typeof _0x492d11=='function')try{_0x3f8060=require('crypto');}catch{}var _0x268cf3=function(){var _0x5c84e7=_0x51e291;if(_0x3f8060){if(typeof _0x3f8060[_0x5c84e7(0x2af)]=='function')try{return _0x3f8060[_0x5c84e7(0x2af)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3f8060[_0x5c84e7(0x299)]=='function')try{return _0x3f8060[_0x5c84e7(0x299)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x5c84e7(0x134));},_0x5d4b3d=Object[_0x51e291(0x1d6)]||(function(){function _0x11b26f(){}return function(_0x4b1f5d){var _0x3d1f2a=_0x3800,_0x1eecc0;return _0x11b26f[_0x3d1f2a(0x1d7)]=_0x4b1f5d,_0x1eecc0=new _0x11b26f(),_0x11b26f['prototype']=null,_0x1eecc0;};}()),_0x510c3e={},_0x4800f8=_0x510c3e[_0x51e291(0x335)]={},_0x1b99d8=_0x4800f8[_0x51e291(0x210)]=(function(){return{'extend':function(_0x57f723){var _0x32a535=_0x3800,_0x335fed=_0x5d4b3d(this);return _0x57f723&&_0x335fed[_0x32a535(0xa6)](_0x57f723),(!_0x335fed[_0x32a535(0x3d2)](_0x32a535(0xc3))||this[_0x32a535(0xc3)]===_0x335fed[_0x32a535(0xc3)])&&(_0x335fed[_0x32a535(0xc3)]=function(){var _0x504e38=_0x32a535;_0x335fed['$super'][_0x504e38(0xc3)][_0x504e38(0x275)](this,arguments);}),_0x335fed['init']['prototype']=_0x335fed,_0x335fed[_0x32a535(0x376)]=this,_0x335fed;},'create':function(){var _0x6853d5=_0x3800,_0x112b0f=this[_0x6853d5(0x230)]();return _0x112b0f[_0x6853d5(0xc3)][_0x6853d5(0x275)](_0x112b0f,arguments),_0x112b0f;},'init':function(){},'mixIn':function(_0x1c641e){var _0x46c36a=_0x3800;for(var _0x177a70 in _0x1c641e)_0x1c641e['hasOwnProperty'](_0x177a70)&&(this[_0x177a70]=_0x1c641e[_0x177a70]);_0x1c641e[_0x46c36a(0x3d2)]('toString')&&(this['toString']=_0x1c641e[_0x46c36a(0x2fc)]);},'clone':function(){var _0xf41a21=_0x3800;return this[_0xf41a21(0xc3)]['prototype'][_0xf41a21(0x230)](this);}};}()),_0x5060c2=_0x4800f8[_0x51e291(0x3df)]=_0x1b99d8[_0x51e291(0x230)]({'init':function(_0xe1dd2b,_0x206e29){var _0x119e55=_0x51e291;_0xe1dd2b=this[_0x119e55(0x108)]=_0xe1dd2b||[],_0x206e29!=_0x2e15e0?this[_0x119e55(0x18e)]=_0x206e29:this[_0x119e55(0x18e)]=_0xe1dd2b[_0x119e55(0x36c)]*0x4;},'toString':function(_0x50b243){var _0xbcb3a8=_0x51e291;return(_0x50b243||_0x269e1c)[_0xbcb3a8(0x374)](this);},'concat':function(_0x3478c7){var _0x4c222e=_0x51e291,_0x97ad01=this['words'],_0x3cc8e7=_0x3478c7[_0x4c222e(0x108)],_0x483b1f=this[_0x4c222e(0x18e)],_0x5e27ca=_0x3478c7['sigBytes'];if(this[_0x4c222e(0x158)](),_0x483b1f%0x4)for(var _0x457b33=0x0;_0x457b33<_0x5e27ca;_0x457b33++){var _0x5b3996=_0x3cc8e7[_0x457b33>>>0x2]>>>0x18-_0x457b33%0x4*0x8&0xff;_0x97ad01[_0x483b1f+_0x457b33>>>0x2]|=_0x5b3996<<0x18-(_0x483b1f+_0x457b33)%0x4*0x8;}else{for(var _0x1d5d72=0x0;_0x1d5d72<_0x5e27ca;_0x1d5d72+=0x4)_0x97ad01[_0x483b1f+_0x1d5d72>>>0x2]=_0x3cc8e7[_0x1d5d72>>>0x2];}return this['sigBytes']+=_0x5e27ca,this;},'clamp':function(){var _0x2d0b66=_0x51e291,_0x2e4a06=this[_0x2d0b66(0x108)],_0x3c04a9=this['sigBytes'];_0x2e4a06[_0x3c04a9>>>0x2]&=0xffffffff<<0x20-_0x3c04a9%0x4*0x8,_0x2e4a06[_0x2d0b66(0x36c)]=_0x41bdc3['ceil'](_0x3c04a9/0x4);},'clone':function(){var _0x303008=_0x51e291,_0x18dd09=_0x1b99d8[_0x303008(0x1bd)][_0x303008(0x1da)](this);return _0x18dd09[_0x303008(0x108)]=this[_0x303008(0x108)][_0x303008(0x3fe)](0x0),_0x18dd09;},'random':function(_0xe6915){var _0x61fe94=_0x51e291;for(var _0x546bfc=[],_0x32bb8e=0x0;_0x32bb8e<_0xe6915;_0x32bb8e+=0x4)_0x546bfc[_0x61fe94(0x228)](_0x268cf3());return new _0x5060c2[(_0x61fe94(0xc3))](_0x546bfc,_0xe6915);}}),_0x47aee3=_0x510c3e['enc']={},_0x269e1c=_0x47aee3[_0x51e291(0x1fe)]={'stringify':function(_0x226e8e){var _0x34b761=_0x51e291;for(var _0x5c042f=_0x226e8e[_0x34b761(0x108)],_0x3bbe10=_0x226e8e[_0x34b761(0x18e)],_0x595f7c=[],_0x352b96=0x0;_0x352b96<_0x3bbe10;_0x352b96++){var _0x4074fa=_0x5c042f[_0x352b96>>>0x2]>>>0x18-_0x352b96%0x4*0x8&0xff;_0x595f7c['push']((_0x4074fa>>>0x4)[_0x34b761(0x2fc)](0x10)),_0x595f7c[_0x34b761(0x228)]((_0x4074fa&0xf)['toString'](0x10));}return _0x595f7c[_0x34b761(0x107)]('');},'parse':function(_0x2f9cf5){var _0x45ff82=_0x51e291;for(var _0x16da14=_0x2f9cf5[_0x45ff82(0x36c)],_0x4a8073=[],_0x50bff4=0x0;_0x50bff4<_0x16da14;_0x50bff4+=0x2)_0x4a8073[_0x50bff4>>>0x3]|=parseInt(_0x2f9cf5['substr'](_0x50bff4,0x2),0x10)<<0x18-_0x50bff4%0x8*0x4;return new _0x5060c2[(_0x45ff82(0xc3))](_0x4a8073,_0x16da14/0x2);}},_0x5e2be7=_0x47aee3[_0x51e291(0x13a)]={'stringify':function(_0x45dfb2){var _0x250f3a=_0x51e291;for(var _0xf6f680=_0x45dfb2[_0x250f3a(0x108)],_0x2dbb71=_0x45dfb2[_0x250f3a(0x18e)],_0x2bf71b=[],_0x10f731=0x0;_0x10f731<_0x2dbb71;_0x10f731++){var _0x5ed62a=_0xf6f680[_0x10f731>>>0x2]>>>0x18-_0x10f731%0x4*0x8&0xff;_0x2bf71b[_0x250f3a(0x228)](String[_0x250f3a(0xa9)](_0x5ed62a));}return _0x2bf71b['join']('');},'parse':function(_0x56716b){var _0x152157=_0x51e291;for(var _0x2a0be5=_0x56716b[_0x152157(0x36c)],_0x3e9309=[],_0x263ab1=0x0;_0x263ab1<_0x2a0be5;_0x263ab1++)_0x3e9309[_0x263ab1>>>0x2]|=(_0x56716b[_0x152157(0x207)](_0x263ab1)&0xff)<<0x18-_0x263ab1%0x4*0x8;return new _0x5060c2['init'](_0x3e9309,_0x2a0be5);}},_0x4d8253=_0x47aee3[_0x51e291(0x304)]={'stringify':function(_0x3c9845){var _0x5f0fc1=_0x51e291;try{return decodeURIComponent(escape(_0x5e2be7[_0x5f0fc1(0x374)](_0x3c9845)));}catch{throw new Error(_0x5f0fc1(0x348));}},'parse':function(_0x5aab8b){var _0x47d9fb=_0x51e291;return _0x5e2be7[_0x47d9fb(0x146)](unescape(encodeURIComponent(_0x5aab8b)));}},_0x128dc2=_0x4800f8[_0x51e291(0x2ae)]=_0x1b99d8[_0x51e291(0x230)]({'reset':function(){var _0x239482=_0x51e291;this[_0x239482(0x233)]=new _0x5060c2[(_0x239482(0xc3))](),this[_0x239482(0x3c1)]=0x0;},'_append':function(_0x2c3094){var _0x51c9fc=_0x51e291;typeof _0x2c3094=='string'&&(_0x2c3094=_0x4d8253[_0x51c9fc(0x146)](_0x2c3094)),this[_0x51c9fc(0x233)][_0x51c9fc(0x1c2)](_0x2c3094),this[_0x51c9fc(0x3c1)]+=_0x2c3094['sigBytes'];},'_process':function(_0x4ec920){var _0x5e6290=_0x51e291,_0x2e1b4d,_0x4a47ac=this[_0x5e6290(0x233)],_0x4fb963=_0x4a47ac['words'],_0x46791e=_0x4a47ac[_0x5e6290(0x18e)],_0x5e26c6=this['blockSize'],_0x568db6=_0x5e26c6*0x4,_0x557054=_0x46791e/_0x568db6;_0x4ec920?_0x557054=_0x41bdc3[_0x5e6290(0x205)](_0x557054):_0x557054=_0x41bdc3[_0x5e6290(0x40b)]((_0x557054|0x0)-this[_0x5e6290(0x243)],0x0);var _0x24fac5=_0x557054*_0x5e26c6,_0x5c8c30=_0x41bdc3[_0x5e6290(0x345)](_0x24fac5*0x4,_0x46791e);if(_0x24fac5){for(var _0x17470b=0x0;_0x17470b<_0x24fac5;_0x17470b+=_0x5e26c6)this[_0x5e6290(0x28a)](_0x4fb963,_0x17470b);_0x2e1b4d=_0x4fb963['splice'](0x0,_0x24fac5),_0x4a47ac[_0x5e6290(0x18e)]-=_0x5c8c30;}return new _0x5060c2[(_0x5e6290(0xc3))](_0x2e1b4d,_0x5c8c30);},'clone':function(){var _0x3684ce=_0x51e291,_0x310df7=_0x1b99d8['clone'][_0x3684ce(0x1da)](this);return _0x310df7[_0x3684ce(0x233)]=this[_0x3684ce(0x233)]['clone'](),_0x310df7;},'_minBufferSize':0x0});_0x4800f8[_0x51e291(0x3f7)]=_0x128dc2[_0x51e291(0x230)]({'cfg':_0x1b99d8['extend'](),'init':function(_0x4928ef){var _0x2d27b0=_0x51e291;this[_0x2d27b0(0x11f)]=this[_0x2d27b0(0x11f)]['extend'](_0x4928ef),this[_0x2d27b0(0x167)]();},'reset':function(){var _0x30630c=_0x51e291;_0x128dc2[_0x30630c(0x167)][_0x30630c(0x1da)](this),this['_doReset']();},'update':function(_0x3bb3f0){var _0x21a0bc=_0x51e291;return this[_0x21a0bc(0xec)](_0x3bb3f0),this['_process'](),this;},'finalize':function(_0x40c545){var _0x3788b6=_0x51e291;_0x40c545&&this[_0x3788b6(0xec)](_0x40c545);var _0x57e0f4=this[_0x3788b6(0x1ce)]();return _0x57e0f4;},'blockSize':0x10,'_createHelper':function(_0x24a27b){return function(_0x1977ec,_0xa0b3d2){var _0x24a75d=_0x3800;return new _0x24a27b[(_0x24a75d(0xc3))](_0xa0b3d2)[_0x24a75d(0x414)](_0x1977ec);};},'_createHmacHelper':function(_0x1b327a){return function(_0x16cc0b,_0x2aef19){var _0x3b2e7c=_0x3800;return new _0x4491fa['HMAC'][(_0x3b2e7c(0xc3))](_0x1b327a,_0x2aef19)['finalize'](_0x16cc0b);};}});var _0x4491fa=_0x510c3e[_0x51e291(0xaf)]={};return _0x510c3e;}(Math);return _0x1a590b;}));}(_0x40df66)),_0x40df66['exports'];}var _0x56bb47={'exports':{}},_0x226533=_0x56bb47[_0x4f3d5a(0x40f)],_0x12c4e3;function _0x3e61e9(){var _0x14873b=_0x4f3d5a;return _0x12c4e3||(_0x12c4e3=0x1,function(_0x35576f,_0x44d591){(function(_0xd7f724,_0x20adcf){var _0x3de8f8=_0x3800;_0x35576f[_0x3de8f8(0x40f)]=_0x20adcf(_0x42e50c());}(_0x226533,function(_0x2cb82c){var _0x313529=_0x3800;return(function(){var _0xffde8b=_0x3800,_0x20e726=_0x2cb82c,_0x21903b=_0x20e726[_0xffde8b(0x335)],_0x2c2ec6=_0x21903b[_0xffde8b(0x3df)],_0xf9de4=_0x20e726[_0xffde8b(0x2bf)];_0xf9de4[_0xffde8b(0x1b7)]={'stringify':function(_0x54a042){var _0x4ea558=_0xffde8b,_0x2bac57=_0x54a042[_0x4ea558(0x108)],_0x482a11=_0x54a042['sigBytes'],_0xb9be5c=this[_0x4ea558(0x22f)];_0x54a042['clamp']();for(var _0x11e9cb=[],_0x39952a=0x0;_0x39952a<_0x482a11;_0x39952a+=0x3)for(var _0x2742b5=_0x2bac57[_0x39952a>>>0x2]>>>0x18-_0x39952a%0x4*0x8&0xff,_0x17dc3e=_0x2bac57[_0x39952a+0x1>>>0x2]>>>0x18-(_0x39952a+0x1)%0x4*0x8&0xff,_0x5d6957=_0x2bac57[_0x39952a+0x2>>>0x2]>>>0x18-(_0x39952a+0x2)%0x4*0x8&0xff,_0x136511=_0x2742b5<<0x10|_0x17dc3e<<0x8|_0x5d6957,_0x10b2fe=0x0;_0x10b2fe<0x4&&_0x39952a+_0x10b2fe*0.75<_0x482a11;_0x10b2fe++)_0x11e9cb[_0x4ea558(0x228)](_0xb9be5c[_0x4ea558(0xd3)](_0x136511>>>0x6*(0x3-_0x10b2fe)&0x3f));var _0x19cbd6=_0xb9be5c['charAt'](0x40);if(_0x19cbd6){for(;_0x11e9cb[_0x4ea558(0x36c)]%0x4;)_0x11e9cb[_0x4ea558(0x228)](_0x19cbd6);}return _0x11e9cb[_0x4ea558(0x107)]('');},'parse':function(_0x41940e){var _0x5b5e98=_0xffde8b,_0x1c169e=_0x41940e['length'],_0x4373a2=this[_0x5b5e98(0x22f)],_0x11a61e=this[_0x5b5e98(0x22e)];if(!_0x11a61e){_0x11a61e=this[_0x5b5e98(0x22e)]=[];for(var _0x270738=0x0;_0x270738<_0x4373a2[_0x5b5e98(0x36c)];_0x270738++)_0x11a61e[_0x4373a2[_0x5b5e98(0x207)](_0x270738)]=_0x270738;}var _0x158beb=_0x4373a2['charAt'](0x40);if(_0x158beb){var _0x158ea9=_0x41940e[_0x5b5e98(0x3f6)](_0x158beb);_0x158ea9!==-0x1&&(_0x1c169e=_0x158ea9);}return _0x332cbd(_0x41940e,_0x1c169e,_0x11a61e);},'_map':_0xffde8b(0x390)};function _0x332cbd(_0x32a191,_0x1bb4c3,_0x480cc0){var _0x4dce34=_0xffde8b;for(var _0x441159=[],_0x33c4da=0x0,_0x2dbc14=0x0;_0x2dbc14<_0x1bb4c3;_0x2dbc14++)if(_0x2dbc14%0x4){var _0x204cc2=_0x480cc0[_0x32a191['charCodeAt'](_0x2dbc14-0x1)]<<_0x2dbc14%0x4*0x2,_0x1367cc=_0x480cc0[_0x32a191[_0x4dce34(0x207)](_0x2dbc14)]>>>0x6-_0x2dbc14%0x4*0x2,_0x2c3672=_0x204cc2|_0x1367cc;_0x441159[_0x33c4da>>>0x2]|=_0x2c3672<<0x18-_0x33c4da%0x4*0x8,_0x33c4da++;}return _0x2c2ec6[_0x4dce34(0x1d6)](_0x441159,_0x33c4da);}}()),_0x2cb82c['enc'][_0x313529(0x1b7)];}));}(_0x56bb47)),_0x56bb47[_0x14873b(0x40f)];}var _0x4fd2bc={'exports':{}},_0x74d7e2=_0x4fd2bc[_0x4f3d5a(0x40f)],_0x4e7d9b;function _0x55f54f(){var _0x1aa726=_0x4f3d5a;return _0x4e7d9b||(_0x4e7d9b=0x1,function(_0x3dfb07,_0x3a6497){(function(_0xe6605e,_0x3342de){var _0x160e13=_0x3800;_0x3dfb07[_0x160e13(0x40f)]=_0x3342de(_0x42e50c());}(_0x74d7e2,function(_0x517d87){var _0x3d4eea=_0x3800;return function(_0xcb5097){var _0x4f9563=_0x3800,_0x26b563=_0x517d87,_0xf4af8a=_0x26b563['lib'],_0x5173e4=_0xf4af8a['WordArray'],_0x861244=_0xf4af8a[_0x4f9563(0x3f7)],_0x4b0d6e=_0x26b563[_0x4f9563(0xaf)],_0x493691=[];(function(){var _0x46cb12=_0x4f9563;for(var _0x2706e5=0x0;_0x2706e5<0x40;_0x2706e5++)_0x493691[_0x2706e5]=_0xcb5097[_0x46cb12(0x323)](_0xcb5097[_0x46cb12(0x217)](_0x2706e5+0x1))*0x100000000|0x0;}());var _0x2049db=_0x4b0d6e[_0x4f9563(0xc7)]=_0x861244['extend']({'_doReset':function(){this['_hash']=new _0x5173e4['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x46a4ba,_0x4c59ba){var _0x3ea5bf=_0x4f9563;for(var _0x37436c=0x0;_0x37436c<0x10;_0x37436c++){var _0x2bcb67=_0x4c59ba+_0x37436c,_0x23e79d=_0x46a4ba[_0x2bcb67];_0x46a4ba[_0x2bcb67]=(_0x23e79d<<0x8|_0x23e79d>>>0x18)&0xff00ff|(_0x23e79d<<0x18|_0x23e79d>>>0x8)&0xff00ff00;}var _0x112c7e=this[_0x3ea5bf(0x262)][_0x3ea5bf(0x108)],_0x529c75=_0x46a4ba[_0x4c59ba+0x0],_0x2d436c=_0x46a4ba[_0x4c59ba+0x1],_0x43ade3=_0x46a4ba[_0x4c59ba+0x2],_0xc38ebf=_0x46a4ba[_0x4c59ba+0x3],_0x2f6152=_0x46a4ba[_0x4c59ba+0x4],_0x1f7b69=_0x46a4ba[_0x4c59ba+0x5],_0x4aaaf4=_0x46a4ba[_0x4c59ba+0x6],_0x16dbe8=_0x46a4ba[_0x4c59ba+0x7],_0x422f74=_0x46a4ba[_0x4c59ba+0x8],_0x2c5f44=_0x46a4ba[_0x4c59ba+0x9],_0x2f2f95=_0x46a4ba[_0x4c59ba+0xa],_0x530015=_0x46a4ba[_0x4c59ba+0xb],_0x130d9a=_0x46a4ba[_0x4c59ba+0xc],_0x553657=_0x46a4ba[_0x4c59ba+0xd],_0x5de253=_0x46a4ba[_0x4c59ba+0xe],_0x36421a=_0x46a4ba[_0x4c59ba+0xf],_0x515ca4=_0x112c7e[0x0],_0x39d9be=_0x112c7e[0x1],_0x29575e=_0x112c7e[0x2],_0x528473=_0x112c7e[0x3];_0x515ca4=_0x494fc8(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x529c75,0x7,_0x493691[0x0]),_0x528473=_0x494fc8(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x2d436c,0xc,_0x493691[0x1]),_0x29575e=_0x494fc8(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x43ade3,0x11,_0x493691[0x2]),_0x39d9be=_0x494fc8(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0xc38ebf,0x16,_0x493691[0x3]),_0x515ca4=_0x494fc8(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x2f6152,0x7,_0x493691[0x4]),_0x528473=_0x494fc8(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x1f7b69,0xc,_0x493691[0x5]),_0x29575e=_0x494fc8(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x4aaaf4,0x11,_0x493691[0x6]),_0x39d9be=_0x494fc8(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x16dbe8,0x16,_0x493691[0x7]),_0x515ca4=_0x494fc8(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x422f74,0x7,_0x493691[0x8]),_0x528473=_0x494fc8(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x2c5f44,0xc,_0x493691[0x9]),_0x29575e=_0x494fc8(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x2f2f95,0x11,_0x493691[0xa]),_0x39d9be=_0x494fc8(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x530015,0x16,_0x493691[0xb]),_0x515ca4=_0x494fc8(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x130d9a,0x7,_0x493691[0xc]),_0x528473=_0x494fc8(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x553657,0xc,_0x493691[0xd]),_0x29575e=_0x494fc8(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x5de253,0x11,_0x493691[0xe]),_0x39d9be=_0x494fc8(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x36421a,0x16,_0x493691[0xf]),_0x515ca4=_0x3f2309(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x2d436c,0x5,_0x493691[0x10]),_0x528473=_0x3f2309(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x4aaaf4,0x9,_0x493691[0x11]),_0x29575e=_0x3f2309(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x530015,0xe,_0x493691[0x12]),_0x39d9be=_0x3f2309(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x529c75,0x14,_0x493691[0x13]),_0x515ca4=_0x3f2309(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x1f7b69,0x5,_0x493691[0x14]),_0x528473=_0x3f2309(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x2f2f95,0x9,_0x493691[0x15]),_0x29575e=_0x3f2309(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x36421a,0xe,_0x493691[0x16]),_0x39d9be=_0x3f2309(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x2f6152,0x14,_0x493691[0x17]),_0x515ca4=_0x3f2309(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x2c5f44,0x5,_0x493691[0x18]),_0x528473=_0x3f2309(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x5de253,0x9,_0x493691[0x19]),_0x29575e=_0x3f2309(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0xc38ebf,0xe,_0x493691[0x1a]),_0x39d9be=_0x3f2309(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x422f74,0x14,_0x493691[0x1b]),_0x515ca4=_0x3f2309(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x553657,0x5,_0x493691[0x1c]),_0x528473=_0x3f2309(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x43ade3,0x9,_0x493691[0x1d]),_0x29575e=_0x3f2309(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x16dbe8,0xe,_0x493691[0x1e]),_0x39d9be=_0x3f2309(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x130d9a,0x14,_0x493691[0x1f]),_0x515ca4=_0x2acc62(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x1f7b69,0x4,_0x493691[0x20]),_0x528473=_0x2acc62(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x422f74,0xb,_0x493691[0x21]),_0x29575e=_0x2acc62(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x530015,0x10,_0x493691[0x22]),_0x39d9be=_0x2acc62(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x5de253,0x17,_0x493691[0x23]),_0x515ca4=_0x2acc62(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x2d436c,0x4,_0x493691[0x24]),_0x528473=_0x2acc62(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x2f6152,0xb,_0x493691[0x25]),_0x29575e=_0x2acc62(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x16dbe8,0x10,_0x493691[0x26]),_0x39d9be=_0x2acc62(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x2f2f95,0x17,_0x493691[0x27]),_0x515ca4=_0x2acc62(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x553657,0x4,_0x493691[0x28]),_0x528473=_0x2acc62(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x529c75,0xb,_0x493691[0x29]),_0x29575e=_0x2acc62(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0xc38ebf,0x10,_0x493691[0x2a]),_0x39d9be=_0x2acc62(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x4aaaf4,0x17,_0x493691[0x2b]),_0x515ca4=_0x2acc62(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x2c5f44,0x4,_0x493691[0x2c]),_0x528473=_0x2acc62(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x130d9a,0xb,_0x493691[0x2d]),_0x29575e=_0x2acc62(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x36421a,0x10,_0x493691[0x2e]),_0x39d9be=_0x2acc62(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x43ade3,0x17,_0x493691[0x2f]),_0x515ca4=_0x52daa0(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x529c75,0x6,_0x493691[0x30]),_0x528473=_0x52daa0(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x16dbe8,0xa,_0x493691[0x31]),_0x29575e=_0x52daa0(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x5de253,0xf,_0x493691[0x32]),_0x39d9be=_0x52daa0(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x1f7b69,0x15,_0x493691[0x33]),_0x515ca4=_0x52daa0(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x130d9a,0x6,_0x493691[0x34]),_0x528473=_0x52daa0(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0xc38ebf,0xa,_0x493691[0x35]),_0x29575e=_0x52daa0(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x2f2f95,0xf,_0x493691[0x36]),_0x39d9be=_0x52daa0(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x2d436c,0x15,_0x493691[0x37]),_0x515ca4=_0x52daa0(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x422f74,0x6,_0x493691[0x38]),_0x528473=_0x52daa0(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x36421a,0xa,_0x493691[0x39]),_0x29575e=_0x52daa0(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x4aaaf4,0xf,_0x493691[0x3a]),_0x39d9be=_0x52daa0(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x553657,0x15,_0x493691[0x3b]),_0x515ca4=_0x52daa0(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x2f6152,0x6,_0x493691[0x3c]),_0x528473=_0x52daa0(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x530015,0xa,_0x493691[0x3d]),_0x29575e=_0x52daa0(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x43ade3,0xf,_0x493691[0x3e]),_0x39d9be=_0x52daa0(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x2c5f44,0x15,_0x493691[0x3f]),_0x112c7e[0x0]=_0x112c7e[0x0]+_0x515ca4|0x0,_0x112c7e[0x1]=_0x112c7e[0x1]+_0x39d9be|0x0,_0x112c7e[0x2]=_0x112c7e[0x2]+_0x29575e|0x0,_0x112c7e[0x3]=_0x112c7e[0x3]+_0x528473|0x0;},'_doFinalize':function(){var _0x34b4f9=_0x4f9563,_0x21b14a=this[_0x34b4f9(0x233)],_0x46813a=_0x21b14a[_0x34b4f9(0x108)],_0x331f6c=this[_0x34b4f9(0x3c1)]*0x8,_0x3835d0=_0x21b14a['sigBytes']*0x8;_0x46813a[_0x3835d0>>>0x5]|=0x80<<0x18-_0x3835d0%0x20;var _0x616869=_0xcb5097[_0x34b4f9(0x257)](_0x331f6c/0x100000000),_0x587ea3=_0x331f6c;_0x46813a[(_0x3835d0+0x40>>>0x9<<0x4)+0xf]=(_0x616869<<0x8|_0x616869>>>0x18)&0xff00ff|(_0x616869<<0x18|_0x616869>>>0x8)&0xff00ff00,_0x46813a[(_0x3835d0+0x40>>>0x9<<0x4)+0xe]=(_0x587ea3<<0x8|_0x587ea3>>>0x18)&0xff00ff|(_0x587ea3<<0x18|_0x587ea3>>>0x8)&0xff00ff00,_0x21b14a[_0x34b4f9(0x18e)]=(_0x46813a[_0x34b4f9(0x36c)]+0x1)*0x4,this[_0x34b4f9(0x342)]();for(var _0x2a2b60=this[_0x34b4f9(0x262)],_0x3489c1=_0x2a2b60[_0x34b4f9(0x108)],_0x2099f8=0x0;_0x2099f8<0x4;_0x2099f8++){var _0x2c60a6=_0x3489c1[_0x2099f8];_0x3489c1[_0x2099f8]=(_0x2c60a6<<0x8|_0x2c60a6>>>0x18)&0xff00ff|(_0x2c60a6<<0x18|_0x2c60a6>>>0x8)&0xff00ff00;}return _0x2a2b60;},'clone':function(){var _0x9fc03a=_0x4f9563,_0x3fbb5b=_0x861244['clone'][_0x9fc03a(0x1da)](this);return _0x3fbb5b[_0x9fc03a(0x262)]=this[_0x9fc03a(0x262)][_0x9fc03a(0x1bd)](),_0x3fbb5b;}});function _0x494fc8(_0x515172,_0x481797,_0x8b9317,_0x2ff6cf,_0x14135b,_0x586ed6,_0x822746){var _0x14b53d=_0x515172+(_0x481797&_0x8b9317|~_0x481797&_0x2ff6cf)+_0x14135b+_0x822746;return(_0x14b53d<<_0x586ed6|_0x14b53d>>>0x20-_0x586ed6)+_0x481797;}function _0x3f2309(_0x49aaab,_0x3c58c4,_0x33636e,_0xff5141,_0x3d3679,_0xa9654e,_0xf0cbc7){var _0x4c4356=_0x49aaab+(_0x3c58c4&_0xff5141|_0x33636e&~_0xff5141)+_0x3d3679+_0xf0cbc7;return(_0x4c4356<<_0xa9654e|_0x4c4356>>>0x20-_0xa9654e)+_0x3c58c4;}function _0x2acc62(_0x2a8526,_0x8ccf46,_0x33568b,_0x39e92b,_0x530c48,_0xe808a9,_0x1c03fc){var _0x582631=_0x2a8526+(_0x8ccf46^_0x33568b^_0x39e92b)+_0x530c48+_0x1c03fc;return(_0x582631<<_0xe808a9|_0x582631>>>0x20-_0xe808a9)+_0x8ccf46;}function _0x52daa0(_0x2bcced,_0x1dfb91,_0x2de94f,_0xe58041,_0x494b08,_0x2601b6,_0x3a8f89){var _0x4e534a=_0x2bcced+(_0x2de94f^(_0x1dfb91|~_0xe58041))+_0x494b08+_0x3a8f89;return(_0x4e534a<<_0x2601b6|_0x4e534a>>>0x20-_0x2601b6)+_0x1dfb91;}_0x26b563[_0x4f9563(0xc7)]=_0x861244[_0x4f9563(0x39f)](_0x2049db),_0x26b563['HmacMD5']=_0x861244[_0x4f9563(0x333)](_0x2049db);}(Math),_0x517d87[_0x3d4eea(0xc7)];}));}(_0x4fd2bc)),_0x4fd2bc[_0x1aa726(0x40f)];}var _0x430cbf={'exports':{}},_0x15993e={'exports':{}},_0x4820e1=_0x15993e['exports'],_0x2eb33d;function _0x3b383e(){var _0x18c0d6=_0x4f3d5a;return _0x2eb33d||(_0x2eb33d=0x1,function(_0x107756,_0x120a34){(function(_0x282b0f,_0x34db07){var _0x5c80c3=_0x3800;_0x107756[_0x5c80c3(0x40f)]=_0x34db07(_0x42e50c());}(_0x4820e1,function(_0x6f9c07){var _0xde8dd7=_0x3800;return(function(){var _0x16763e=_0x3800,_0x484e45=_0x6f9c07,_0x3e3858=_0x484e45['lib'],_0x534bfa=_0x3e3858['WordArray'],_0x170b91=_0x3e3858[_0x16763e(0x3f7)],_0x2cda5b=_0x484e45[_0x16763e(0xaf)],_0x188eae=[],_0x2e801a=_0x2cda5b[_0x16763e(0x2e2)]=_0x170b91[_0x16763e(0x230)]({'_doReset':function(){var _0x52c331=_0x16763e;this[_0x52c331(0x262)]=new _0x534bfa['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x20f67e,_0x3b040b){var _0x59afac=_0x16763e;for(var _0x15f408=this[_0x59afac(0x262)][_0x59afac(0x108)],_0x9a9960=_0x15f408[0x0],_0x4777bb=_0x15f408[0x1],_0x26165b=_0x15f408[0x2],_0xadddbf=_0x15f408[0x3],_0x456e6b=_0x15f408[0x4],_0x56b6e5=0x0;_0x56b6e5<0x50;_0x56b6e5++){if(_0x56b6e5<0x10)_0x188eae[_0x56b6e5]=_0x20f67e[_0x3b040b+_0x56b6e5]|0x0;else{var _0x5828c7=_0x188eae[_0x56b6e5-0x3]^_0x188eae[_0x56b6e5-0x8]^_0x188eae[_0x56b6e5-0xe]^_0x188eae[_0x56b6e5-0x10];_0x188eae[_0x56b6e5]=_0x5828c7<<0x1|_0x5828c7>>>0x1f;}var _0x182a07=(_0x9a9960<<0x5|_0x9a9960>>>0x1b)+_0x456e6b+_0x188eae[_0x56b6e5];_0x56b6e5<0x14?_0x182a07+=(_0x4777bb&_0x26165b|~_0x4777bb&_0xadddbf)+0x5a827999:_0x56b6e5<0x28?_0x182a07+=(_0x4777bb^_0x26165b^_0xadddbf)+0x6ed9eba1:_0x56b6e5<0x3c?_0x182a07+=(_0x4777bb&_0x26165b|_0x4777bb&_0xadddbf|_0x26165b&_0xadddbf)-0x70e44324:_0x182a07+=(_0x4777bb^_0x26165b^_0xadddbf)-0x359d3e2a,_0x456e6b=_0xadddbf,_0xadddbf=_0x26165b,_0x26165b=_0x4777bb<<0x1e|_0x4777bb>>>0x2,_0x4777bb=_0x9a9960,_0x9a9960=_0x182a07;}_0x15f408[0x0]=_0x15f408[0x0]+_0x9a9960|0x0,_0x15f408[0x1]=_0x15f408[0x1]+_0x4777bb|0x0,_0x15f408[0x2]=_0x15f408[0x2]+_0x26165b|0x0,_0x15f408[0x3]=_0x15f408[0x3]+_0xadddbf|0x0,_0x15f408[0x4]=_0x15f408[0x4]+_0x456e6b|0x0;},'_doFinalize':function(){var _0x43b964=_0x16763e,_0x4a045b=this[_0x43b964(0x233)],_0xedd753=_0x4a045b[_0x43b964(0x108)],_0x2d7d7c=this[_0x43b964(0x3c1)]*0x8,_0x3e73cc=_0x4a045b[_0x43b964(0x18e)]*0x8;return _0xedd753[_0x3e73cc>>>0x5]|=0x80<<0x18-_0x3e73cc%0x20,_0xedd753[(_0x3e73cc+0x40>>>0x9<<0x4)+0xe]=Math[_0x43b964(0x257)](_0x2d7d7c/0x100000000),_0xedd753[(_0x3e73cc+0x40>>>0x9<<0x4)+0xf]=_0x2d7d7c,_0x4a045b[_0x43b964(0x18e)]=_0xedd753[_0x43b964(0x36c)]*0x4,this[_0x43b964(0x342)](),this['_hash'];},'clone':function(){var _0x3f998e=_0x16763e,_0x3cf72d=_0x170b91[_0x3f998e(0x1bd)][_0x3f998e(0x1da)](this);return _0x3cf72d[_0x3f998e(0x262)]=this[_0x3f998e(0x262)][_0x3f998e(0x1bd)](),_0x3cf72d;}});_0x484e45[_0x16763e(0x2e2)]=_0x170b91[_0x16763e(0x39f)](_0x2e801a),_0x484e45[_0x16763e(0x3f4)]=_0x170b91[_0x16763e(0x333)](_0x2e801a);}()),_0x6f9c07[_0xde8dd7(0x2e2)];}));}(_0x15993e)),_0x15993e[_0x18c0d6(0x40f)];}var _0x5b08c8={'exports':{}},_0x28364f=_0x5b08c8[_0x4f3d5a(0x40f)],_0x4bb3a0;function _0x3c9538(){var _0x25f70f=_0x4f3d5a;return _0x4bb3a0||(_0x4bb3a0=0x1,function(_0x1aa16a,_0x31b758){(function(_0x319493,_0x5db757){var _0x1acd2f=_0x3800;_0x1aa16a[_0x1acd2f(0x40f)]=_0x5db757(_0x42e50c());}(_0x28364f,function(_0x4390bf){(function(){var _0xcb28b4=_0x3800,_0x321b32=_0x4390bf,_0x29176a=_0x321b32['lib'],_0x9411ac=_0x29176a[_0xcb28b4(0x210)],_0x491be1=_0x321b32[_0xcb28b4(0x2bf)],_0x35393b=_0x491be1[_0xcb28b4(0x304)],_0x5e9855=_0x321b32[_0xcb28b4(0xaf)];_0x5e9855['HMAC']=_0x9411ac[_0xcb28b4(0x230)]({'init':function(_0x314503,_0x2ee271){var _0x3f895d=_0xcb28b4;_0x314503=this[_0x3f895d(0x16d)]=new _0x314503[(_0x3f895d(0xc3))](),typeof _0x2ee271==_0x3f895d(0x1b4)&&(_0x2ee271=_0x35393b[_0x3f895d(0x146)](_0x2ee271));var _0x534206=_0x314503[_0x3f895d(0xfd)],_0x23717b=_0x534206*0x4;_0x2ee271['sigBytes']>_0x23717b&&(_0x2ee271=_0x314503[_0x3f895d(0x414)](_0x2ee271)),_0x2ee271[_0x3f895d(0x158)]();for(var _0x49518a=this[_0x3f895d(0x387)]=_0x2ee271[_0x3f895d(0x1bd)](),_0x58a642=this[_0x3f895d(0x326)]=_0x2ee271[_0x3f895d(0x1bd)](),_0x5969c3=_0x49518a[_0x3f895d(0x108)],_0x5a8607=_0x58a642[_0x3f895d(0x108)],_0x2ac944=0x0;_0x2ac944<_0x534206;_0x2ac944++)_0x5969c3[_0x2ac944]^=0x5c5c5c5c,_0x5a8607[_0x2ac944]^=0x36363636;_0x49518a['sigBytes']=_0x58a642[_0x3f895d(0x18e)]=_0x23717b,this[_0x3f895d(0x167)]();},'reset':function(){var _0x19253a=_0xcb28b4,_0x586be7=this[_0x19253a(0x16d)];_0x586be7[_0x19253a(0x167)](),_0x586be7[_0x19253a(0x13d)](this['_iKey']);},'update':function(_0x5db293){var _0x54e891=_0xcb28b4;return this[_0x54e891(0x16d)]['update'](_0x5db293),this;},'finalize':function(_0x1f5d13){var _0x52f8b9=_0xcb28b4,_0x1c2e40=this['_hasher'],_0x194944=_0x1c2e40[_0x52f8b9(0x414)](_0x1f5d13);_0x1c2e40['reset']();var _0x1b724b=_0x1c2e40[_0x52f8b9(0x414)](this[_0x52f8b9(0x387)][_0x52f8b9(0x1bd)]()['concat'](_0x194944));return _0x1b724b;}});}());}));}(_0x5b08c8)),_0x5b08c8[_0x25f70f(0x40f)];}var _0x28e598=_0x430cbf[_0x4f3d5a(0x40f)],_0x4c8f47;function _0x43eb61(){var _0x2a1ab8=_0x4f3d5a;return _0x4c8f47||(_0x4c8f47=0x1,function(_0x5727fe,_0x4cad23){(function(_0x1a2616,_0x14ab2e,_0x2558c9){var _0x423732=_0x3800;_0x5727fe[_0x423732(0x40f)]=_0x14ab2e(_0x42e50c(),_0x3b383e(),_0x3c9538());}(_0x28e598,function(_0x1e633d){return(function(){var _0x40dfe3=_0x3800,_0xa03820=_0x1e633d,_0x2245a4=_0xa03820['lib'],_0x1bf020=_0x2245a4[_0x40dfe3(0x210)],_0x146a40=_0x2245a4[_0x40dfe3(0x3df)],_0xb87b28=_0xa03820['algo'],_0x1ceaba=_0xb87b28[_0x40dfe3(0xc7)],_0x41736e=_0xb87b28[_0x40dfe3(0x169)]=_0x1bf020['extend']({'cfg':_0x1bf020['extend']({'keySize':0x80/0x20,'hasher':_0x1ceaba,'iterations':0x1}),'init':function(_0x13b591){var _0x5f54ef=_0x40dfe3;this[_0x5f54ef(0x11f)]=this[_0x5f54ef(0x11f)][_0x5f54ef(0x230)](_0x13b591);},'compute':function(_0x1b2dd0,_0x2f5214){var _0xa00f2c=_0x40dfe3;for(var _0x4af06f,_0x2e3488=this['cfg'],_0x43e5f8=_0x2e3488[_0xa00f2c(0x1b3)]['create'](),_0x318c47=_0x146a40[_0xa00f2c(0x1d6)](),_0x351804=_0x318c47[_0xa00f2c(0x108)],_0x1de74a=_0x2e3488[_0xa00f2c(0x2a5)],_0x19b5a5=_0x2e3488['iterations'];_0x351804[_0xa00f2c(0x36c)]<_0x1de74a;){_0x4af06f&&_0x43e5f8[_0xa00f2c(0x13d)](_0x4af06f),_0x4af06f=_0x43e5f8[_0xa00f2c(0x13d)](_0x1b2dd0)[_0xa00f2c(0x414)](_0x2f5214),_0x43e5f8['reset']();for(var _0x2b48b0=0x1;_0x2b48b0<_0x19b5a5;_0x2b48b0++)_0x4af06f=_0x43e5f8['finalize'](_0x4af06f),_0x43e5f8['reset']();_0x318c47[_0xa00f2c(0x1c2)](_0x4af06f);}return _0x318c47[_0xa00f2c(0x18e)]=_0x1de74a*0x4,_0x318c47;}});_0xa03820[_0x40dfe3(0x169)]=function(_0x447827,_0x1d51a2,_0x2bcea6){var _0xcb1120=_0x40dfe3;return _0x41736e[_0xcb1120(0x1d6)](_0x2bcea6)[_0xcb1120(0x315)](_0x447827,_0x1d51a2);};}()),_0x1e633d['EvpKDF'];}));}(_0x430cbf)),_0x430cbf[_0x2a1ab8(0x40f)];}var _0x5d8f9e={'exports':{}},_0x37c8a7=_0x5d8f9e['exports'],_0x50ec02;function _0x3fb074(){var _0x5127b4=_0x4f3d5a;return _0x50ec02||(_0x50ec02=0x1,function(_0x4d4ef0,_0x375699){(function(_0x1bf7aa,_0x582b89,_0xa9b88f){var _0x3dae5a=_0x3800;_0x4d4ef0[_0x3dae5a(0x40f)]=_0x582b89(_0x42e50c(),_0x43eb61());}(_0x37c8a7,function(_0x18ff12){var _0x56a7b2=_0x3800;_0x18ff12[_0x56a7b2(0x335)]['Cipher']||function(_0x54f75b){var _0x4abcbd=_0x56a7b2,_0x570ec3=_0x18ff12,_0x901225=_0x570ec3['lib'],_0x3da2db=_0x901225['Base'],_0x1988d4=_0x901225[_0x4abcbd(0x3df)],_0x3b2503=_0x901225[_0x4abcbd(0x2ae)],_0x3cbf26=_0x570ec3[_0x4abcbd(0x2bf)];_0x3cbf26['Utf8'];var _0x23f56f=_0x3cbf26[_0x4abcbd(0x1b7)],_0x5de349=_0x570ec3['algo'],_0x1b0585=_0x5de349[_0x4abcbd(0x169)],_0x265bbf=_0x901225[_0x4abcbd(0x2cd)]=_0x3b2503[_0x4abcbd(0x230)]({'cfg':_0x3da2db[_0x4abcbd(0x230)](),'createEncryptor':function(_0x3719ef,_0x42eaf4){var _0x3c4fe4=_0x4abcbd;return this[_0x3c4fe4(0x1d6)](this[_0x3c4fe4(0x1ae)],_0x3719ef,_0x42eaf4);},'createDecryptor':function(_0x12edfd,_0x166f27){var _0x40b1aa=_0x4abcbd;return this[_0x40b1aa(0x1d6)](this['_DEC_XFORM_MODE'],_0x12edfd,_0x166f27);},'init':function(_0x14e93f,_0x12f052,_0x1e6d6a){var _0x411ca8=_0x4abcbd;this['cfg']=this[_0x411ca8(0x11f)][_0x411ca8(0x230)](_0x1e6d6a),this[_0x411ca8(0x26d)]=_0x14e93f,this[_0x411ca8(0xd2)]=_0x12f052,this['reset']();},'reset':function(){var _0x59a633=_0x4abcbd;_0x3b2503[_0x59a633(0x167)][_0x59a633(0x1da)](this),this['_doReset']();},'process':function(_0x59c486){var _0x2db8ec=_0x4abcbd;return this[_0x2db8ec(0xec)](_0x59c486),this[_0x2db8ec(0x342)]();},'finalize':function(_0x62a31b){_0x62a31b&&this['_append'](_0x62a31b);var _0x8b3fa7=this['_doFinalize']();return _0x8b3fa7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x43e065(_0x1f2184){var _0x26c2e5=_0x3800;return typeof _0x1f2184==_0x26c2e5(0x1b4)?_0x215007:_0x4b19c4;}return function(_0x4089a1){return{'encrypt':function(_0x1573e2,_0x37246b,_0x512df7){var _0x32a091=_0x3800;return _0x43e065(_0x37246b)[_0x32a091(0x1d2)](_0x4089a1,_0x1573e2,_0x37246b,_0x512df7);},'decrypt':function(_0xa6326a,_0x417ce,_0x2f6b8f){var _0x4b7ead=_0x3800;return _0x43e065(_0x417ce)[_0x4b7ead(0x371)](_0x4089a1,_0xa6326a,_0x417ce,_0x2f6b8f);}};};}())});_0x901225['StreamCipher']=_0x265bbf['extend']({'_doFinalize':function(){var _0x3cb016=_0x4abcbd,_0x2205fd=this[_0x3cb016(0x342)](!0x0);return _0x2205fd;},'blockSize':0x1});var _0x169fcf=_0x570ec3[_0x4abcbd(0x3c2)]={},_0x2e9fba=_0x901225[_0x4abcbd(0x285)]=_0x3da2db['extend']({'createEncryptor':function(_0x494010,_0x9cc12c){var _0x5cd56c=_0x4abcbd;return this[_0x5cd56c(0x209)]['create'](_0x494010,_0x9cc12c);},'createDecryptor':function(_0x241929,_0x17d6d9){var _0x377a28=_0x4abcbd;return this[_0x377a28(0xe1)][_0x377a28(0x1d6)](_0x241929,_0x17d6d9);},'init':function(_0x39c0fa,_0x301e00){var _0x48ca67=_0x4abcbd;this[_0x48ca67(0x42c)]=_0x39c0fa,this[_0x48ca67(0x358)]=_0x301e00;}}),_0x12edd2=_0x169fcf['CBC']=(function(){var _0x2a264a=_0x4abcbd,_0x1576a9=_0x2e9fba[_0x2a264a(0x230)]();_0x1576a9[_0x2a264a(0x209)]=_0x1576a9[_0x2a264a(0x230)]({'processBlock':function(_0x3ac3b1,_0x15de94){var _0x1428c2=_0x2a264a,_0x2b78a1=this['_cipher'],_0x5d25e6=_0x2b78a1[_0x1428c2(0xfd)];_0x5b631b['call'](this,_0x3ac3b1,_0x15de94,_0x5d25e6),_0x2b78a1[_0x1428c2(0x1e9)](_0x3ac3b1,_0x15de94),this['_prevBlock']=_0x3ac3b1['slice'](_0x15de94,_0x15de94+_0x5d25e6);}}),_0x1576a9['Decryptor']=_0x1576a9[_0x2a264a(0x230)]({'processBlock':function(_0x58bfeb,_0x4ec7d6){var _0x4546c6=_0x2a264a,_0x152382=this[_0x4546c6(0x42c)],_0x10e9aa=_0x152382['blockSize'],_0x27496e=_0x58bfeb[_0x4546c6(0x3fe)](_0x4ec7d6,_0x4ec7d6+_0x10e9aa);_0x152382[_0x4546c6(0x260)](_0x58bfeb,_0x4ec7d6),_0x5b631b['call'](this,_0x58bfeb,_0x4ec7d6,_0x10e9aa),this[_0x4546c6(0x2ec)]=_0x27496e;}});function _0x5b631b(_0x2fc3d7,_0x4d0f44,_0x5baf3e){var _0x5a9218=_0x2a264a,_0x5e369e,_0xa55d86=this[_0x5a9218(0x358)];_0xa55d86?(_0x5e369e=_0xa55d86,this[_0x5a9218(0x358)]=_0x54f75b):_0x5e369e=this[_0x5a9218(0x2ec)];for(var _0x18d7ef=0x0;_0x18d7ef<_0x5baf3e;_0x18d7ef++)_0x2fc3d7[_0x4d0f44+_0x18d7ef]^=_0x5e369e[_0x18d7ef];}return _0x1576a9;}()),_0x5ce682=_0x570ec3[_0x4abcbd(0x32a)]={},_0x3b3f06=_0x5ce682[_0x4abcbd(0x232)]={'pad':function(_0x39ed96,_0x55a9bb){var _0xdc5330=_0x4abcbd;for(var _0x4f1bc6=_0x55a9bb*0x4,_0x3d92f0=_0x4f1bc6-_0x39ed96[_0xdc5330(0x18e)]%_0x4f1bc6,_0x417380=_0x3d92f0<<0x18|_0x3d92f0<<0x10|_0x3d92f0<<0x8|_0x3d92f0,_0x409543=[],_0x537b95=0x0;_0x537b95<_0x3d92f0;_0x537b95+=0x4)_0x409543[_0xdc5330(0x228)](_0x417380);var _0x34230a=_0x1988d4[_0xdc5330(0x1d6)](_0x409543,_0x3d92f0);_0x39ed96[_0xdc5330(0x1c2)](_0x34230a);},'unpad':function(_0x4bc72c){var _0x5b9bf1=_0x4abcbd,_0x1f21e1=_0x4bc72c[_0x5b9bf1(0x108)][_0x4bc72c[_0x5b9bf1(0x18e)]-0x1>>>0x2]&0xff;_0x4bc72c['sigBytes']-=_0x1f21e1;}};_0x901225[_0x4abcbd(0x2db)]=_0x265bbf[_0x4abcbd(0x230)]({'cfg':_0x265bbf['cfg'][_0x4abcbd(0x230)]({'mode':_0x12edd2,'padding':_0x3b3f06}),'reset':function(){var _0x11a452=_0x4abcbd,_0x41f0c0;_0x265bbf[_0x11a452(0x167)][_0x11a452(0x1da)](this);var _0x1eb7ec=this[_0x11a452(0x11f)],_0x27f324=_0x1eb7ec['iv'],_0x5ac5d5=_0x1eb7ec[_0x11a452(0x3c2)];this['_xformMode']==this[_0x11a452(0x1ae)]?_0x41f0c0=_0x5ac5d5[_0x11a452(0x3d4)]:(_0x41f0c0=_0x5ac5d5[_0x11a452(0x31b)],this[_0x11a452(0x243)]=0x1),this[_0x11a452(0x307)]&&this['_mode'][_0x11a452(0x332)]==_0x41f0c0?this['_mode'][_0x11a452(0xc3)](this,_0x27f324&&_0x27f324['words']):(this[_0x11a452(0x307)]=_0x41f0c0['call'](_0x5ac5d5,this,_0x27f324&&_0x27f324[_0x11a452(0x108)]),this[_0x11a452(0x307)][_0x11a452(0x332)]=_0x41f0c0);},'_doProcessBlock':function(_0x4d35fe,_0xcf3d7b){var _0x5a5b09=_0x4abcbd;this[_0x5a5b09(0x307)]['processBlock'](_0x4d35fe,_0xcf3d7b);},'_doFinalize':function(){var _0x1dcd25=_0x4abcbd,_0x4a4ad8,_0xe11b8c=this[_0x1dcd25(0x11f)][_0x1dcd25(0x213)];return this[_0x1dcd25(0x26d)]==this[_0x1dcd25(0x1ae)]?(_0xe11b8c[_0x1dcd25(0x32a)](this['_data'],this[_0x1dcd25(0xfd)]),_0x4a4ad8=this[_0x1dcd25(0x342)](!0x0)):(_0x4a4ad8=this[_0x1dcd25(0x342)](!0x0),_0xe11b8c[_0x1dcd25(0x28e)](_0x4a4ad8)),_0x4a4ad8;},'blockSize':0x80/0x20});var _0x329c66=_0x901225[_0x4abcbd(0x400)]=_0x3da2db[_0x4abcbd(0x230)]({'init':function(_0x3a4d53){this['mixIn'](_0x3a4d53);},'toString':function(_0x820c61){var _0x15a02b=_0x4abcbd;return(_0x820c61||this['formatter'])[_0x15a02b(0x374)](this);}}),_0x2cf807=_0x570ec3[_0x4abcbd(0x38b)]={},_0x5eeaf7=_0x2cf807[_0x4abcbd(0xf3)]={'stringify':function(_0x5617de){var _0x20945f=_0x4abcbd,_0x5106a9,_0x2fe82f=_0x5617de[_0x20945f(0x2c2)],_0x1d7f3d=_0x5617de[_0x20945f(0x318)];return _0x1d7f3d?_0x5106a9=_0x1988d4[_0x20945f(0x1d6)]([0x53616c74,0x65645f5f])['concat'](_0x1d7f3d)[_0x20945f(0x1c2)](_0x2fe82f):_0x5106a9=_0x2fe82f,_0x5106a9[_0x20945f(0x2fc)](_0x23f56f);},'parse':function(_0x370c6d){var _0x25d69c=_0x4abcbd,_0x5e6fb6,_0x58669e=_0x23f56f[_0x25d69c(0x146)](_0x370c6d),_0x35e638=_0x58669e[_0x25d69c(0x108)];return _0x35e638[0x0]==0x53616c74&&_0x35e638[0x1]==0x65645f5f&&(_0x5e6fb6=_0x1988d4[_0x25d69c(0x1d6)](_0x35e638[_0x25d69c(0x3fe)](0x2,0x4)),_0x35e638[_0x25d69c(0x325)](0x0,0x4),_0x58669e['sigBytes']-=0x10),_0x329c66[_0x25d69c(0x1d6)]({'ciphertext':_0x58669e,'salt':_0x5e6fb6});}},_0x4b19c4=_0x901225[_0x4abcbd(0x193)]=_0x3da2db[_0x4abcbd(0x230)]({'cfg':_0x3da2db[_0x4abcbd(0x230)]({'format':_0x5eeaf7}),'encrypt':function(_0x19d43f,_0x549aa5,_0x54c2c3,_0x486295){var _0x50646c=_0x4abcbd;_0x486295=this[_0x50646c(0x11f)]['extend'](_0x486295);var _0x555814=_0x19d43f[_0x50646c(0x3d4)](_0x54c2c3,_0x486295),_0x2fb197=_0x555814['finalize'](_0x549aa5),_0x2c4ad9=_0x555814['cfg'];return _0x329c66[_0x50646c(0x1d6)]({'ciphertext':_0x2fb197,'key':_0x54c2c3,'iv':_0x2c4ad9['iv'],'algorithm':_0x19d43f,'mode':_0x2c4ad9[_0x50646c(0x3c2)],'padding':_0x2c4ad9[_0x50646c(0x213)],'blockSize':_0x19d43f[_0x50646c(0xfd)],'formatter':_0x486295['format']});},'decrypt':function(_0x6f2802,_0x482e9f,_0x31bd14,_0x44dd62){var _0x58062c=_0x4abcbd;_0x44dd62=this[_0x58062c(0x11f)]['extend'](_0x44dd62),_0x482e9f=this[_0x58062c(0x19e)](_0x482e9f,_0x44dd62[_0x58062c(0x38b)]);var _0x2db184=_0x6f2802[_0x58062c(0x31b)](_0x31bd14,_0x44dd62)[_0x58062c(0x414)](_0x482e9f['ciphertext']);return _0x2db184;},'_parse':function(_0x291199,_0x3dfd74){var _0x4b2dd3=_0x4abcbd;return typeof _0x291199==_0x4b2dd3(0x1b4)?_0x3dfd74[_0x4b2dd3(0x146)](_0x291199,this):_0x291199;}}),_0x230361=_0x570ec3['kdf']={},_0x26b937=_0x230361[_0x4abcbd(0xf3)]={'execute':function(_0x541d10,_0x238fc7,_0x21c7f6,_0x365237,_0x2d6491){var _0x25ddb1=_0x4abcbd;if(_0x365237||(_0x365237=_0x1988d4['random'](0x40/0x8)),_0x2d6491)var _0x45cbde=_0x1b0585[_0x25ddb1(0x1d6)]({'keySize':_0x238fc7+_0x21c7f6,'hasher':_0x2d6491})[_0x25ddb1(0x315)](_0x541d10,_0x365237);else var _0x45cbde=_0x1b0585[_0x25ddb1(0x1d6)]({'keySize':_0x238fc7+_0x21c7f6})[_0x25ddb1(0x315)](_0x541d10,_0x365237);var _0x25ddd5=_0x1988d4[_0x25ddb1(0x1d6)](_0x45cbde['words']['slice'](_0x238fc7),_0x21c7f6*0x4);return _0x45cbde['sigBytes']=_0x238fc7*0x4,_0x329c66[_0x25ddb1(0x1d6)]({'key':_0x45cbde,'iv':_0x25ddd5,'salt':_0x365237});}},_0x215007=_0x901225[_0x4abcbd(0x137)]=_0x4b19c4[_0x4abcbd(0x230)]({'cfg':_0x4b19c4[_0x4abcbd(0x11f)][_0x4abcbd(0x230)]({'kdf':_0x26b937}),'encrypt':function(_0x22b95a,_0x42abb8,_0x49f2d9,_0x5a1686){var _0x134357=_0x4abcbd;_0x5a1686=this[_0x134357(0x11f)][_0x134357(0x230)](_0x5a1686);var _0x589447=_0x5a1686[_0x134357(0xb3)][_0x134357(0x25d)](_0x49f2d9,_0x22b95a['keySize'],_0x22b95a[_0x134357(0x104)],_0x5a1686[_0x134357(0x318)],_0x5a1686['hasher']);_0x5a1686['iv']=_0x589447['iv'];var _0x15a916=_0x4b19c4['encrypt']['call'](this,_0x22b95a,_0x42abb8,_0x589447[_0x134357(0x308)],_0x5a1686);return _0x15a916[_0x134357(0xa6)](_0x589447),_0x15a916;},'decrypt':function(_0x8a2604,_0xbe6779,_0x3bbfc6,_0x4d5c9b){var _0xbd1ca0=_0x4abcbd;_0x4d5c9b=this['cfg']['extend'](_0x4d5c9b),_0xbe6779=this[_0xbd1ca0(0x19e)](_0xbe6779,_0x4d5c9b[_0xbd1ca0(0x38b)]);var _0x31bfca=_0x4d5c9b[_0xbd1ca0(0xb3)][_0xbd1ca0(0x25d)](_0x3bbfc6,_0x8a2604['keySize'],_0x8a2604['ivSize'],_0xbe6779[_0xbd1ca0(0x318)],_0x4d5c9b[_0xbd1ca0(0x1b3)]);_0x4d5c9b['iv']=_0x31bfca['iv'];var _0x1b8235=_0x4b19c4[_0xbd1ca0(0x371)]['call'](this,_0x8a2604,_0xbe6779,_0x31bfca['key'],_0x4d5c9b);return _0x1b8235;}});}();}));}(_0x5d8f9e)),_0x5d8f9e[_0x5127b4(0x40f)];}var _0x3994b6=_0x5b399d[_0x4f3d5a(0x40f)],_0x18559a;function _0x32eb73(){return _0x18559a||(_0x18559a=0x1,function(_0x1a4115,_0x1f890b){(function(_0x532b6e,_0x5c9b58,_0x3ff721){var _0x556ab4=_0x3800;_0x1a4115[_0x556ab4(0x40f)]=_0x5c9b58(_0x42e50c(),_0x3e61e9(),_0x55f54f(),_0x43eb61(),_0x3fb074());}(_0x3994b6,function(_0xb16c3b){return(function(){var _0x4fbd55=_0x3800,_0x4f0758=_0xb16c3b,_0x44af75=_0x4f0758[_0x4fbd55(0x335)],_0x510f86=_0x44af75[_0x4fbd55(0x2db)],_0x97a7c=_0x4f0758['algo'],_0x24dd36=[],_0x35b5c0=[],_0x54a013=[],_0x2d19c7=[],_0x57f845=[],_0x14f976=[],_0x1d024c=[],_0x913867=[],_0x1a2af9=[],_0x1c8483=[];(function(){for(var _0xc23b38=[],_0x2920cb=0x0;_0x2920cb<0x100;_0x2920cb++)_0x2920cb<0x80?_0xc23b38[_0x2920cb]=_0x2920cb<<0x1:_0xc23b38[_0x2920cb]=_0x2920cb<<0x1^0x11b;for(var _0x44120b=0x0,_0x41f173=0x0,_0x2920cb=0x0;_0x2920cb<0x100;_0x2920cb++){var _0x4495dd=_0x41f173^_0x41f173<<0x1^_0x41f173<<0x2^_0x41f173<<0x3^_0x41f173<<0x4;_0x4495dd=_0x4495dd>>>0x8^_0x4495dd&0xff^0x63,_0x24dd36[_0x44120b]=_0x4495dd,_0x35b5c0[_0x4495dd]=_0x44120b;var _0x567d44=_0xc23b38[_0x44120b],_0x380e93=_0xc23b38[_0x567d44],_0xdfb421=_0xc23b38[_0x380e93],_0x138d47=_0xc23b38[_0x4495dd]*0x101^_0x4495dd*0x1010100;_0x54a013[_0x44120b]=_0x138d47<<0x18|_0x138d47>>>0x8,_0x2d19c7[_0x44120b]=_0x138d47<<0x10|_0x138d47>>>0x10,_0x57f845[_0x44120b]=_0x138d47<<0x8|_0x138d47>>>0x18,_0x14f976[_0x44120b]=_0x138d47;var _0x138d47=_0xdfb421*0x1010101^_0x380e93*0x10001^_0x567d44*0x101^_0x44120b*0x1010100;_0x1d024c[_0x4495dd]=_0x138d47<<0x18|_0x138d47>>>0x8,_0x913867[_0x4495dd]=_0x138d47<<0x10|_0x138d47>>>0x10,_0x1a2af9[_0x4495dd]=_0x138d47<<0x8|_0x138d47>>>0x18,_0x1c8483[_0x4495dd]=_0x138d47,_0x44120b?(_0x44120b=_0x567d44^_0xc23b38[_0xc23b38[_0xc23b38[_0xdfb421^_0x567d44]]],_0x41f173^=_0xc23b38[_0xc23b38[_0x41f173]]):_0x44120b=_0x41f173=0x1;}}());var _0x5bd155=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x7a8f94=_0x97a7c[_0x4fbd55(0x320)]=_0x510f86[_0x4fbd55(0x230)]({'_doReset':function(){var _0x83d87b=_0x4fbd55,_0x158209;if(!(this[_0x83d87b(0x23b)]&&this[_0x83d87b(0x1f4)]===this[_0x83d87b(0xd2)])){for(var _0x5845b8=this['_keyPriorReset']=this[_0x83d87b(0xd2)],_0x4f6b0e=_0x5845b8[_0x83d87b(0x108)],_0x2b22fb=_0x5845b8[_0x83d87b(0x18e)]/0x4,_0x522290=this[_0x83d87b(0x23b)]=_0x2b22fb+0x6,_0xc27985=(_0x522290+0x1)*0x4,_0x1c4f84=this[_0x83d87b(0x1a7)]=[],_0x40bb5e=0x0;_0x40bb5e<_0xc27985;_0x40bb5e++)_0x40bb5e<_0x2b22fb?_0x1c4f84[_0x40bb5e]=_0x4f6b0e[_0x40bb5e]:(_0x158209=_0x1c4f84[_0x40bb5e-0x1],_0x40bb5e%_0x2b22fb?_0x2b22fb>0x6&&_0x40bb5e%_0x2b22fb==0x4&&(_0x158209=_0x24dd36[_0x158209>>>0x18]<<0x18|_0x24dd36[_0x158209>>>0x10&0xff]<<0x10|_0x24dd36[_0x158209>>>0x8&0xff]<<0x8|_0x24dd36[_0x158209&0xff]):(_0x158209=_0x158209<<0x8|_0x158209>>>0x18,_0x158209=_0x24dd36[_0x158209>>>0x18]<<0x18|_0x24dd36[_0x158209>>>0x10&0xff]<<0x10|_0x24dd36[_0x158209>>>0x8&0xff]<<0x8|_0x24dd36[_0x158209&0xff],_0x158209^=_0x5bd155[_0x40bb5e/_0x2b22fb|0x0]<<0x18),_0x1c4f84[_0x40bb5e]=_0x1c4f84[_0x40bb5e-_0x2b22fb]^_0x158209);for(var _0x37451=this[_0x83d87b(0x14c)]=[],_0x3ba983=0x0;_0x3ba983<_0xc27985;_0x3ba983++){var _0x40bb5e=_0xc27985-_0x3ba983;if(_0x3ba983%0x4)var _0x158209=_0x1c4f84[_0x40bb5e];else var _0x158209=_0x1c4f84[_0x40bb5e-0x4];_0x3ba983<0x4||_0x40bb5e<=0x4?_0x37451[_0x3ba983]=_0x158209:_0x37451[_0x3ba983]=_0x1d024c[_0x24dd36[_0x158209>>>0x18]]^_0x913867[_0x24dd36[_0x158209>>>0x10&0xff]]^_0x1a2af9[_0x24dd36[_0x158209>>>0x8&0xff]]^_0x1c8483[_0x24dd36[_0x158209&0xff]];}}},'encryptBlock':function(_0x4d18c0,_0x3c346b){var _0x10e2fe=_0x4fbd55;this[_0x10e2fe(0x43b)](_0x4d18c0,_0x3c346b,this[_0x10e2fe(0x1a7)],_0x54a013,_0x2d19c7,_0x57f845,_0x14f976,_0x24dd36);},'decryptBlock':function(_0xe8e6d4,_0x3b22fa){var _0x43c25e=_0x4fbd55,_0x3c0971=_0xe8e6d4[_0x3b22fa+0x1];_0xe8e6d4[_0x3b22fa+0x1]=_0xe8e6d4[_0x3b22fa+0x3],_0xe8e6d4[_0x3b22fa+0x3]=_0x3c0971,this[_0x43c25e(0x43b)](_0xe8e6d4,_0x3b22fa,this[_0x43c25e(0x14c)],_0x1d024c,_0x913867,_0x1a2af9,_0x1c8483,_0x35b5c0);var _0x3c0971=_0xe8e6d4[_0x3b22fa+0x1];_0xe8e6d4[_0x3b22fa+0x1]=_0xe8e6d4[_0x3b22fa+0x3],_0xe8e6d4[_0x3b22fa+0x3]=_0x3c0971;},'_doCryptBlock':function(_0x4e37f7,_0x321383,_0x1750ce,_0x389c47,_0x3daae4,_0x43e5c9,_0x21712d,_0x417de6){for(var _0xfadb2b=this['_nRounds'],_0x51b87a=_0x4e37f7[_0x321383]^_0x1750ce[0x0],_0x496ea5=_0x4e37f7[_0x321383+0x1]^_0x1750ce[0x1],_0x5269a7=_0x4e37f7[_0x321383+0x2]^_0x1750ce[0x2],_0x2c10c2=_0x4e37f7[_0x321383+0x3]^_0x1750ce[0x3],_0x38ab8f=0x4,_0x5a8e7d=0x1;_0x5a8e7d<_0xfadb2b;_0x5a8e7d++){var _0x436b91=_0x389c47[_0x51b87a>>>0x18]^_0x3daae4[_0x496ea5>>>0x10&0xff]^_0x43e5c9[_0x5269a7>>>0x8&0xff]^_0x21712d[_0x2c10c2&0xff]^_0x1750ce[_0x38ab8f++],_0x353985=_0x389c47[_0x496ea5>>>0x18]^_0x3daae4[_0x5269a7>>>0x10&0xff]^_0x43e5c9[_0x2c10c2>>>0x8&0xff]^_0x21712d[_0x51b87a&0xff]^_0x1750ce[_0x38ab8f++],_0x2413f0=_0x389c47[_0x5269a7>>>0x18]^_0x3daae4[_0x2c10c2>>>0x10&0xff]^_0x43e5c9[_0x51b87a>>>0x8&0xff]^_0x21712d[_0x496ea5&0xff]^_0x1750ce[_0x38ab8f++],_0x4ef79f=_0x389c47[_0x2c10c2>>>0x18]^_0x3daae4[_0x51b87a>>>0x10&0xff]^_0x43e5c9[_0x496ea5>>>0x8&0xff]^_0x21712d[_0x5269a7&0xff]^_0x1750ce[_0x38ab8f++];_0x51b87a=_0x436b91,_0x496ea5=_0x353985,_0x5269a7=_0x2413f0,_0x2c10c2=_0x4ef79f;}var _0x436b91=(_0x417de6[_0x51b87a>>>0x18]<<0x18|_0x417de6[_0x496ea5>>>0x10&0xff]<<0x10|_0x417de6[_0x5269a7>>>0x8&0xff]<<0x8|_0x417de6[_0x2c10c2&0xff])^_0x1750ce[_0x38ab8f++],_0x353985=(_0x417de6[_0x496ea5>>>0x18]<<0x18|_0x417de6[_0x5269a7>>>0x10&0xff]<<0x10|_0x417de6[_0x2c10c2>>>0x8&0xff]<<0x8|_0x417de6[_0x51b87a&0xff])^_0x1750ce[_0x38ab8f++],_0x2413f0=(_0x417de6[_0x5269a7>>>0x18]<<0x18|_0x417de6[_0x2c10c2>>>0x10&0xff]<<0x10|_0x417de6[_0x51b87a>>>0x8&0xff]<<0x8|_0x417de6[_0x496ea5&0xff])^_0x1750ce[_0x38ab8f++],_0x4ef79f=(_0x417de6[_0x2c10c2>>>0x18]<<0x18|_0x417de6[_0x51b87a>>>0x10&0xff]<<0x10|_0x417de6[_0x496ea5>>>0x8&0xff]<<0x8|_0x417de6[_0x5269a7&0xff])^_0x1750ce[_0x38ab8f++];_0x4e37f7[_0x321383]=_0x436b91,_0x4e37f7[_0x321383+0x1]=_0x353985,_0x4e37f7[_0x321383+0x2]=_0x2413f0,_0x4e37f7[_0x321383+0x3]=_0x4ef79f;},'keySize':0x100/0x20});_0x4f0758['AES']=_0x510f86['_createHelper'](_0x7a8f94);}()),_0xb16c3b['AES'];}));}(_0x5b399d)),_0x5b399d['exports'];}var _0x451152=_0x32eb73();const _0x3cfb4c=_0x4edaab(_0x451152);var _0xaddc3e=_0x3e61e9();const _0x50749c=_0x4edaab(_0xaddc3e);var _0x580568={'exports':{}},_0xa3165a=_0x580568[_0x4f3d5a(0x40f)],_0x9c2715;function _0x3d7f2c(){var _0xb5e567=_0x4f3d5a;return _0x9c2715||(_0x9c2715=0x1,function(_0x5ec659,_0x501102){(function(_0x184e49,_0xcc772a){_0x5ec659['exports']=_0xcc772a(_0x42e50c());}(_0xa3165a,function(_0x334f1a){var _0x39eacb=_0x3800;return _0x334f1a[_0x39eacb(0x2bf)][_0x39eacb(0x304)];}));}(_0x580568)),_0x580568[_0xb5e567(0x40f)];}var _0xc209b3=_0x3d7f2c();const _0x6a76e0=_0x4edaab(_0xc209b3);var _0x59e8b2={'exports':{}},_0x345d78=_0x59e8b2[_0x4f3d5a(0x40f)],_0x283de4;function _0x5a1a57(){return _0x283de4||(_0x283de4=0x1,function(_0x184126,_0x336325){(function(_0x562b28,_0x448aba){var _0x172988=_0x3800;_0x184126[_0x172988(0x40f)]=_0x448aba(_0x42e50c());}(_0x345d78,function(_0x4eb3d8){var _0x5229a=_0x3800;return(function(){var _0x4d1969=_0x3800;if(typeof ArrayBuffer==_0x4d1969(0x3aa)){var _0x204121=_0x4eb3d8,_0x2b9919=_0x204121[_0x4d1969(0x335)],_0x4d0658=_0x2b9919['WordArray'],_0x26466b=_0x4d0658[_0x4d1969(0xc3)],_0x326227=_0x4d0658[_0x4d1969(0xc3)]=function(_0x211652){var _0x46e673=_0x4d1969;if(_0x211652 instanceof ArrayBuffer&&(_0x211652=new Uint8Array(_0x211652)),(_0x211652 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x211652 instanceof Uint8ClampedArray||_0x211652 instanceof Int16Array||_0x211652 instanceof Uint16Array||_0x211652 instanceof Int32Array||_0x211652 instanceof Uint32Array||_0x211652 instanceof Float32Array||_0x211652 instanceof Float64Array)&&(_0x211652=new Uint8Array(_0x211652[_0x46e673(0x1f3)],_0x211652[_0x46e673(0x306)],_0x211652[_0x46e673(0x1b9)])),_0x211652 instanceof Uint8Array){for(var _0x27df4d=_0x211652[_0x46e673(0x1b9)],_0x67e168=[],_0x4cbd15=0x0;_0x4cbd15<_0x27df4d;_0x4cbd15++)_0x67e168[_0x4cbd15>>>0x2]|=_0x211652[_0x4cbd15]<<0x18-_0x4cbd15%0x4*0x8;_0x26466b[_0x46e673(0x1da)](this,_0x67e168,_0x27df4d);}else _0x26466b[_0x46e673(0x275)](this,arguments);};_0x326227[_0x4d1969(0x1d7)]=_0x4d0658;}}()),_0x4eb3d8['lib'][_0x5229a(0x3df)];}));}(_0x59e8b2)),_0x59e8b2['exports'];}var _0x60d0bd=_0x5a1a57();const _0xf1b002=_0x4edaab(_0x60d0bd);var _0x2dd080={'exports':{}},_0x421e53=_0x2dd080['exports'],_0x23f521;function _0x3a9c19(){var _0x5ba1d6=_0x4f3d5a;return _0x23f521||(_0x23f521=0x1,function(_0x3ec785,_0x5f236f){(function(_0x5b4019,_0x783add,_0x2c61ac){var _0x3771f1=_0x3800;_0x3ec785[_0x3771f1(0x40f)]=_0x783add(_0x42e50c(),_0x3fb074());}(_0x421e53,function(_0x21e9a8){var _0x4cb6a1=_0x3800;return _0x21e9a8['pad'][_0x4cb6a1(0x1a0)]={'pad':function(){},'unpad':function(){}},_0x21e9a8['pad'][_0x4cb6a1(0x1a0)];}));}(_0x2dd080)),_0x2dd080[_0x5ba1d6(0x40f)];}var _0x547fd1=_0x3a9c19();const _0x217d61=_0x4edaab(_0x547fd1);function _0x2cf88e(_0x48862d,_0x30cc3d){var _0x47a2ae=_0x4f3d5a;const _0x14a9cc=_0x30cc3d-_0x48862d[_0x47a2ae(0x36c)]%_0x30cc3d,_0x55d2eb=String[_0x47a2ae(0xa9)](_0x14a9cc)[_0x47a2ae(0x2fd)](_0x14a9cc);return _0x48862d+_0x55d2eb;}function _0x12c563(_0x2c680c,_0x2eace0){var _0xd0a774=_0x4f3d5a;const _0x1fef88=_0xf1b002[_0xd0a774(0x330)](0x10),_0x25278c=_0x2cf88e(_0x2c680c,0x10),_0x1e380f=_0x3cfb4c['encrypt'](_0x6a76e0[_0xd0a774(0x146)](_0x25278c),_0x50749c[_0xd0a774(0x146)](_0x2eace0),{'iv':_0x1fef88,'padding':_0x217d61});return _0x1fef88['concat'](_0x1e380f[_0xd0a774(0x2c2)])[_0xd0a774(0x2fc)](_0x50749c);}function _0x18229a(){var _0x246f30=_0x4f3d5a;const _0x1c1d71=_0x488317[_0x246f30(0x43e)]()[_0x246f30(0x32c)];if(_0x1c1d71){const _0x328815={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x246f30(0x1c9)]};return _0x12c563(JSON[_0x246f30(0x374)](_0x328815),_0x1c1d71);}}var _0x55e8d1=Object[_0x4f3d5a(0x246)],_0x507e89=(_0x119a87,_0x2e5c6b,_0x322a0b,_0x43c1e4)=>{var _0x4ff758=_0x4f3d5a;for(var _0x40d099=_0x43c1e4>0x1?void 0x0:_0x43c1e4?_0x55e8d1(_0x2e5c6b,_0x322a0b):_0x2e5c6b,_0x16fca0=_0x119a87[_0x4ff758(0x36c)]-0x1,_0xd6a3b2;_0x16fca0>=0x0;_0x16fca0--)(_0xd6a3b2=_0x119a87[_0x16fca0])&&(_0x40d099=_0xd6a3b2(_0x40d099)||_0x40d099);return _0x40d099;},_0x402152=(_0x4126c0,_0x1cf27a)=>(_0x218744,_0x18b35c)=>_0x1cf27a(_0x218744,_0x18b35c,_0x4126c0);let _0x32d21b=class{constructor(_0x2caeb3){var _0x39b910=_0x4f3d5a;this[_0x39b910(0x196)]=_0x2caeb3,this[_0x39b910(0x222)]();}[_0x4f3d5a(0x222)](){var _0x6c5ddd=_0x4f3d5a;this[_0x6c5ddd(0x196)][_0x6c5ddd(0x272)]({'interceptor':(_0x38f20d,_0x28103e)=>{var _0x26b31b=_0x6c5ddd;const _0x47d061=_0x38f20d['headers'],_0x291c49=_0x18229a();return _0x291c49&&_0x47d061['set'](_0x26b31b(0x341),_0x291c49),_0x28103e(_0x38f20d);}});}};_0x32d21b=_0x507e89([_0x402152(0x0,_0x3392b5['Inject'](_0x48a077[_0x4f3d5a(0xb5)]))],_0x32d21b);var _0x17190d=Object['getOwnPropertyDescriptor'],_0x5f4054=(_0x484627,_0x559d02,_0x3fc16d,_0x2dfb42)=>{var _0x30d09f=_0x4f3d5a;for(var _0x214fa1=_0x2dfb42>0x1?void 0x0:_0x2dfb42?_0x17190d(_0x559d02,_0x3fc16d):_0x559d02,_0x2ea12c=_0x484627[_0x30d09f(0x36c)]-0x1,_0x1e4d01;_0x2ea12c>=0x0;_0x2ea12c--)(_0x1e4d01=_0x484627[_0x2ea12c])&&(_0x214fa1=_0x1e4d01(_0x214fa1)||_0x214fa1);return _0x214fa1;},_0x4df0ec=(_0x4154dd,_0x43b7a6)=>(_0x30a475,_0x332eb9)=>_0x43b7a6(_0x30a475,_0x332eb9,_0x4154dd);_0x427316['DataLoaderService']=class extends _0x3392b5[_0x4f3d5a(0x1f6)]{constructor(_0x2f7791,_0x269824,_0x57a167){var _0xd331b3=_0x4f3d5a;super(),_0x2cd3a0(this,_0xd331b3(0x3e7),new _0x2c1c73[(_0xd331b3(0x24d))](null)),_0x2cd3a0(this,_0xd331b3(0x412),this[_0xd331b3(0x3e7)][_0xd331b3(0x28d)]()),(this[_0xd331b3(0x165)]=_0x2f7791,this[_0xd331b3(0x223)]=_0x269824,this[_0xd331b3(0x268)]=_0x57a167);}async['loadUnitOfRevision'](_0x633da3,_0x35d6f3,_0x47f261){var _0x39541c=_0x4f3d5a;this[_0x39541c(0x3e7)]['next']({'unitId':_0x633da3,'type':_0x35d6f3});let _0xf1452b=null;switch(_0x35d6f3){case _0x2f4b9b[_0x39541c(0x214)]:{_0xf1452b=await this[_0x39541c(0x223)]['loadSheet'](_0x633da3,_0x47f261);break;}case _0x2f4b9b['UNIVER_DOC']:{_0xf1452b=await this[_0x39541c(0x223)][_0x39541c(0x27b)](_0x633da3,_0x47f261);break;}default:{this[_0x39541c(0x165)][_0x39541c(0x316)](_0x39541c(0x30d),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0xf1452b;}async[_0x4f3d5a(0x295)](_0x210572,_0xd64580,_0x12453d){var _0x332ade=_0x4f3d5a,_0x2f1710;this[_0x332ade(0x3e7)][_0x332ade(0x191)]({'unitId':_0x210572,'type':_0xd64580,'subUnitId':_0x12453d});let _0x47e255=0x0;const _0x28f7ed=await((_0x2f1710=this[_0x332ade(0x268)])==null?void 0x0:_0x2f1710[_0x332ade(0x33f)](_0x210572));return _0x28f7ed&&(_0x28f7ed[_0x332ade(0x2d5)]||_0x28f7ed[_0x332ade(0x204)][_0x332ade(0x36c)]!==0x0)&&(_0x47e255=_0x28f7ed[_0x332ade(0x2f0)]),_0x47e255===0x0&&this[_0x332ade(0x165)][_0x332ade(0x37b)](_0x332ade(0x30d),_0x332ade(0x375)),this[_0x332ade(0x41b)](_0x210572,_0xd64580,_0x47e255);}},_0x427316[_0x4f3d5a(0x300)]=_0x5f4054([_0x4df0ec(0x0,_0x3392b5[_0x4f3d5a(0x1c1)]),_0x4df0ec(0x1,_0x3392b5[_0x4f3d5a(0x329)](_0x2e372d['SnapshotService'])),_0x4df0ec(0x2,_0x3392b5[_0x4f3d5a(0x289)](_0x4597c5))],_0x427316['DataLoaderService']);var _0x117955=Object[_0x4f3d5a(0x246)],_0x372787=(_0x5a71f9,_0x1051d0,_0x431726,_0x55fedc)=>{var _0xe084c2=_0x4f3d5a;for(var _0x1bb716=_0x55fedc>0x1?void 0x0:_0x55fedc?_0x117955(_0x1051d0,_0x431726):_0x1051d0,_0x485ada=_0x5a71f9[_0xe084c2(0x36c)]-0x1,_0x42bad9;_0x485ada>=0x0;_0x485ada--)(_0x42bad9=_0x5a71f9[_0x485ada])&&(_0x1bb716=_0x42bad9(_0x1bb716)||_0x1bb716);return _0x1bb716;},_0x286d0e=(_0x3d8562,_0x4f44fd)=>(_0x54c907,_0xa8edfe)=>_0x4f44fd(_0x54c907,_0xa8edfe,_0x3d8562);const _0x113c97=[_0x4f3d5a(0x17d),'image/jpeg',_0x4f3d5a(0x1e5),'image/gif',_0x4f3d5a(0x3b5)],_0x2b2b96=0x5*0x400*0x400,_0x17741e=_0x4f3d5a(0x2ca),_0x3cdb8e='/universer-api/file/{fileID}/sign-url';_0x427316['CollaborationImageIoService']=class{constructor(_0x2010f5,_0x47f367,_0x760996){var _0x2c5c18=_0x4f3d5a;_0x2cd3a0(this,_0x2c5c18(0x17a),0x0),_0x2cd3a0(this,'_change$',new _0x2c1c73[(_0x2c5c18(0xc5))]()),_0x2cd3a0(this,_0x2c5c18(0x261),this[_0x2c5c18(0x3a0)]),_0x2cd3a0(this,'_imageSourceCache',new Map()),(this[_0x2c5c18(0x196)]=_0x2010f5,this[_0x2c5c18(0xd0)]=_0x47f367,this[_0x2c5c18(0x43d)]=_0x760996);}[_0x4f3d5a(0x11b)](_0x3fc453){var _0x4f0ea5=_0x4f3d5a;this[_0x4f0ea5(0x17a)]=_0x3fc453,this['_change$'][_0x4f0ea5(0x191)](_0x3fc453);}[_0x4f3d5a(0x10d)](_0x27bbe9,_0x51a27c){var _0x1f60db=_0x4f3d5a;if(_0x51a27c===_0x550b7d[_0x1f60db(0x1ea)][_0x1f60db(0xfe)]){const _0x1144f6=new Image();return _0x1144f6[_0x1f60db(0x42d)]=_0x27bbe9,_0x1144f6;}return this[_0x1f60db(0x1ba)][_0x1f60db(0x1e6)](_0x27bbe9);}[_0x4f3d5a(0x30c)](_0x4faa68,_0x5cbb07,_0x2b14f6){var _0x1a5381=_0x4f3d5a;_0x5cbb07===_0x550b7d['ImageSourceType']['BASE64']||_0x2b14f6==null||this['_imageSourceCache'][_0x1a5381(0x3ef)](_0x4faa68,_0x2b14f6);}async[_0x4f3d5a(0x26a)](_0x5580ec){var _0x50219e=_0x4f3d5a;try{const _0x1d8110=this['_replaceFileID'](this[_0x50219e(0x422)](),''+_0x5580ec),_0x3e9f4c=(await this[_0x50219e(0x196)][_0x50219e(0x1e6)](_0x1d8110))[_0x50219e(0x17f)];if(_0x3e9f4c[_0x50219e(0x316)]&&_0x3e9f4c['error']['code']===_0x30de26['OK']){const _0x5ac292=new URL(_0x3e9f4c[_0x50219e(0x19c)],this[_0x50219e(0x32f)]())[_0x50219e(0x2fc)]();return Promise['resolve'](_0x5ac292);}return Promise[_0x50219e(0x28b)](_0x3e9f4c[_0x50219e(0x316)]);}catch(_0x41bb52){return Promise[_0x50219e(0x28b)](_0x41bb52);}}async[_0x4f3d5a(0x30a)](_0x36b186){var _0x461ff8=_0x4f3d5a;let _0x518824='';if(!_0x113c97[_0x461ff8(0x34a)](_0x36b186[_0x461ff8(0x116)]))return this[_0x461ff8(0x42e)](),Promise[_0x461ff8(0x28b)](new Error(_0x550b7d[_0x461ff8(0x3b2)]['ERROR_IMAGE_TYPE']));if(_0x36b186[_0x461ff8(0x2e1)]>_0x2b2b96)return this[_0x461ff8(0x42e)](),Promise['reject'](new Error(_0x550b7d[_0x461ff8(0x3b2)]['ERROR_EXCEED_SIZE']));try{const _0x35e807=new FormData();_0x35e807['append']('file',_0x36b186);const _0x30d269=this['_univerInstanceService'][_0x461ff8(0xc1)](),_0x4eaa03=_0x30d269==null?void 0x0:_0x30d269[_0x461ff8(0x1c7)]();if(!_0x4eaa03)throw new Error('unitId\x20is\x20not\x20found');const _0x566b69=this[_0x461ff8(0xf9)]()+_0x461ff8(0x3ae)+_0x36b186[_0x461ff8(0x2e1)][_0x461ff8(0x2fc)]()+_0x461ff8(0x270)+_0x1ac2eb[_0x461ff8(0xf7)]+_0x461ff8(0x441)+encodeURIComponent(_0x4eaa03),_0xdc0cbe={'body':_0x35e807},_0x46d81a=(await this[_0x461ff8(0x196)]['post'](_0x566b69,_0xdc0cbe))['body'];if(typeof _0x46d81a[_0x461ff8(0xe5)]!=_0x461ff8(0x1b4))return this[_0x461ff8(0x42e)](),Promise['reject'](new Error(_0x550b7d[_0x461ff8(0x3b2)][_0x461ff8(0x3c3)]));_0x518824=_0x46d81a['FileId'];}catch{return this[_0x461ff8(0x42e)](),Promise[_0x461ff8(0x28b)](new Error(_0x550b7d['ImageUploadStatusType'][_0x461ff8(0x3c3)]));}return new Promise((_0x1fbfdf,_0x89465f)=>{var _0x2af400=_0x461ff8;const _0x266d6f=new FileReader();_0x266d6f[_0x2af400(0x2da)](_0x36b186),_0x266d6f[_0x2af400(0x3e2)]=_0x1afa01=>{var _0xec9032=_0x2af400,_0x12fddd;const _0x106fb0=(_0x12fddd=_0x1afa01['target'])==null?void 0x0:_0x12fddd[_0xec9032(0x161)];if(_0x106fb0==null){this['_decreaseWaiting'](),_0x89465f(new Error(_0x550b7d[_0xec9032(0x3b2)][_0xec9032(0x3c3)]));return;}const _0x1a839e=_0x3392b5['generateRandomId'](0x6);_0x1fbfdf({'imageId':_0x1a839e,'imageSourceType':_0x550b7d['ImageSourceType'][_0xec9032(0x1b6)],'source':_0x518824,'base64Cache':_0x106fb0,'status':_0x550b7d[_0xec9032(0x3b2)][_0xec9032(0x240)]}),this[_0xec9032(0x42e)]();};});}[_0x4f3d5a(0xf9)](){var _0x473f9c=_0x4f3d5a,_0x510a39;const _0x9d91ca=this['_configService'][_0x473f9c(0x38d)](_0x5dafb3);return(_0x510a39=_0x9d91ca==null?void 0x0:_0x9d91ca[_0x473f9c(0x15b)])!=null?_0x510a39:_0x17741e;}['_getSignURL'](){var _0x92322f=_0x4f3d5a,_0x44d957;const _0x118bdf=this[_0x92322f(0xd0)][_0x92322f(0x38d)](_0x5dafb3);return(_0x44d957=_0x118bdf==null?void 0x0:_0x118bdf[_0x92322f(0x339)])!=null?_0x44d957:_0x3cdb8e;}[_0x4f3d5a(0x32f)](){var _0x2b3afc=_0x4f3d5a,_0x4fc491;const _0x60634a=this[_0x2b3afc(0xd0)][_0x2b3afc(0x38d)](_0x5dafb3);return(_0x4fc491=_0x60634a==null?void 0x0:_0x60634a[_0x2b3afc(0x31c)])!=null?_0x4fc491:location[_0x2b3afc(0x20c)];}[_0x4f3d5a(0x2c6)](_0x2df617,_0x5dff99){var _0x523f29=_0x4f3d5a;return _0x2df617[_0x523f29(0x1fd)](_0x523f29(0x17b),_0x5dff99);}[_0x4f3d5a(0x42e)](){var _0x5417fa=_0x4f3d5a;this['_waitCount']-=0x1,this[_0x5417fa(0x3a0)][_0x5417fa(0x191)](this['_waitCount']);}},_0x427316[_0x4f3d5a(0xcb)]=_0x372787([_0x286d0e(0x0,_0x3392b5[_0x4f3d5a(0x329)](_0x48a077[_0x4f3d5a(0xb5)])),_0x286d0e(0x1,_0x3392b5[_0x4f3d5a(0x3dd)]),_0x286d0e(0x2,_0x3392b5['Inject'](_0x3392b5[_0x4f3d5a(0x1cd)]))],_0x427316[_0x4f3d5a(0xcb)]);var _0x6ba6c6=Object[_0x4f3d5a(0x246)],_0x6646e3=(_0x315d4b,_0x3f7f6d,_0x20d806,_0x93cc48)=>{var _0x1fc516=_0x4f3d5a;for(var _0x50877c=_0x93cc48>0x1?void 0x0:_0x93cc48?_0x6ba6c6(_0x3f7f6d,_0x20d806):_0x3f7f6d,_0x35391a=_0x315d4b[_0x1fc516(0x36c)]-0x1,_0xc7ec8e;_0x35391a>=0x0;_0x35391a--)(_0xc7ec8e=_0x315d4b[_0x35391a])&&(_0x50877c=_0xc7ec8e(_0x50877c)||_0x50877c);return _0x50877c;},_0x290ea3=(_0x469245,_0x3b46a5)=>(_0x54d499,_0x3831fb)=>_0x3b46a5(_0x54d499,_0x3831fb,_0x469245);const _0x5b7e9d=_0x4f3d5a(0x411);_0x427316[_0x4f3d5a(0x1fa)]=class{constructor(_0x52c6dc,_0x40965c){var _0x1615be=_0x4f3d5a;this[_0x1615be(0xd0)]=_0x52c6dc,this[_0x1615be(0x3cd)]=_0x40965c;}[_0x4f3d5a(0x3f9)](){var _0xb74e14=_0x4f3d5a,_0x28abfa;const _0x4f6197=this[_0xb74e14(0xd0)]['getConfig'](_0x5dafb3);return(_0x28abfa=_0x4f6197==null?void 0x0:_0x4f6197[_0xb74e14(0x3a9)])!=null?_0x28abfa:_0x5b7e9d;}async['list'](_0x325f7b){var _0x13b4e1=_0x4f3d5a;const _0x42b8d2=this[_0x13b4e1(0x3f9)]()+_0x13b4e1(0x3bd);return{'list':[{'title':_0x13b4e1(0x114),'mentions':(await this[_0x13b4e1(0x3cd)][_0x13b4e1(0x1e6)](_0x42b8d2,{'params':{'objectID':_0x325f7b[_0x13b4e1(0x2a6)],'unitID':_0x325f7b['unitId']}}))[_0x13b4e1(0x17f)][_0x13b4e1(0x20d)][_0x13b4e1(0xa5)](_0x5511cb=>({'objectId':_0x5511cb['id'],'name':_0x5511cb['subject'][_0x13b4e1(0x405)],'metadata':{'icon':_0x5511cb[_0x13b4e1(0x3be)]['avatar']},'label':_0x5511cb[_0x13b4e1(0x3be)][_0x13b4e1(0x405)],'objectType':_0x3392b5[_0x13b4e1(0x14e)][_0x13b4e1(0x3a7)]})),'metadata':{},'type':_0x3392b5[_0x13b4e1(0x14e)][_0x13b4e1(0x3a7)]}]};}},_0x427316[_0x4f3d5a(0x1fa)]=_0x6646e3([_0x290ea3(0x0,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x3dd)])),_0x290ea3(0x1,_0x3392b5[_0x4f3d5a(0x329)](_0x48a077[_0x4f3d5a(0xb5)]))],_0x427316['MentionIoHttpService']);var _0x73313c=Object['getOwnPropertyDescriptor'],_0x1910dd=(_0x5422e2,_0x5303ad,_0x24a85f,_0x46de0e)=>{var _0x55b781=_0x4f3d5a;for(var _0x4c557b=_0x46de0e>0x1?void 0x0:_0x46de0e?_0x73313c(_0x5303ad,_0x24a85f):_0x5303ad,_0x1530ee=_0x5422e2[_0x55b781(0x36c)]-0x1,_0xf1e26d;_0x1530ee>=0x0;_0x1530ee--)(_0xf1e26d=_0x5422e2[_0x1530ee])&&(_0x4c557b=_0xf1e26d(_0x4c557b)||_0x4c557b);return _0x4c557b;},_0x42b8ef=(_0x4f4fee,_0x1bff33)=>(_0xa43752,_0x3c6600)=>_0x1bff33(_0xa43752,_0x3c6600,_0x4f4fee);let _0x34fa01=class extends _0x3392b5['RxDisposable']{constructor(_0x382567,_0x3487b8,_0x56ebc4,_0x253817,_0x4f025d){var _0x5cc4fa=_0x4f3d5a;super(),this[_0x5cc4fa(0x1fb)]=_0x382567,this[_0x5cc4fa(0x43d)]=_0x3487b8,this[_0x5cc4fa(0x1f5)]=_0x56ebc4,this[_0x5cc4fa(0xaa)]=_0x253817,this[_0x5cc4fa(0x179)]=_0x4f025d,this['_initUnitPermissionChange'](),this[_0x5cc4fa(0x3c7)]();}['_initCloseConn'](){var _0x1914a7=_0x4f3d5a;const _0x15c835=async _0x59324d=>{var _0x41299d=_0x3800;(await this[_0x41299d(0xaa)][_0x41299d(0x159)](_0x59324d))[_0x41299d(0x1c8)][_0x41299d(0x1c4)](_0x1f6813['filter'](_0x521317=>_0x521317[_0x41299d(0x398)]===_0x2e372d[_0x41299d(0x407)][_0x41299d(0x219)]),_0x1f6813[_0x41299d(0x239)](this[_0x41299d(0xc6)]))[_0x41299d(0x12f)](_0x1daecd=>{var _0x43110e=_0x41299d;const _0xaa3a9=_0x1daecd,{reason:_0x41d5c6}=_0xaa3a9['data'];this[_0x43110e(0x179)][_0x43110e(0x208)]({'id':_0x2f98ef[_0x43110e(0x336)],'data':_0x41d5c6}),this['_permissionService'][_0x43110e(0x144)](new _0x5d6cc8['WorkbookEditablePermission'](_0x59324d)['id'],!0x1),this[_0x43110e(0xaa)][_0x43110e(0x215)](_0x59324d);});};_0x2c1c73[_0x1914a7(0x24e)](this[_0x1914a7(0x43d)][_0x1914a7(0x381)](_0x3392b5[_0x1914a7(0x401)][_0x1914a7(0x214)]),this[_0x1914a7(0x43d)][_0x1914a7(0x381)](_0x3392b5[_0x1914a7(0x401)][_0x1914a7(0x26b)]))[_0x1914a7(0x1c4)](_0x1f6813['map'](_0x2e1417=>_0x2e1417[_0x1914a7(0x1c7)]()),_0x1f6813['filter'](_0x76d5a2=>!_0x3392b5[_0x1914a7(0x138)](_0x76d5a2)),_0x1f6813[_0x1914a7(0x239)](this['dispose$']))['subscribe'](_0x53f4a3=>{_0x15c835(_0x53f4a3);});}[_0x4f3d5a(0x244)](){var _0x195ad9=_0x4f3d5a;const _0x3812c6=async _0x464ee1=>{var _0x52dbd2=_0x3800;const _0x186fa9=await this[_0x52dbd2(0xaa)][_0x52dbd2(0x159)](_0x464ee1),_0x45c07e=this[_0x52dbd2(0x1fb)][_0x52dbd2(0x1e6)](_0x5d6cc8[_0x52dbd2(0x33b)]);_0x186fa9[_0x52dbd2(0x1c8)]['pipe'](_0x1f6813['filter'](_0x34883f=>_0x34883f[_0x52dbd2(0x398)]===_0x2e372d['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),_0x1f6813[_0x52dbd2(0x239)](this[_0x52dbd2(0xc6)]))[_0x52dbd2(0x12f)](_0x5d5d07=>{var _0x331f15=_0x52dbd2;const _0x2d6900=_0x5d5d07,{objectId:_0x28ebb2}=_0x2d6900[_0x331f15(0x3ec)];_0x28ebb2===_0x464ee1?_0x45c07e[_0x331f15(0x37f)](_0x464ee1):_0x45c07e[_0x331f15(0x12a)](_0x464ee1,_0x28ebb2);});};_0x2c1c73[_0x195ad9(0x24e)](this[_0x195ad9(0x43d)]['getTypeOfUnitAdded$'](_0x3392b5[_0x195ad9(0x401)][_0x195ad9(0x214)]))[_0x195ad9(0x1c4)](_0x1f6813[_0x195ad9(0xa5)](_0x12b90d=>_0x12b90d[_0x195ad9(0x1c7)]()),_0x1f6813['filter'](_0x5350e5=>!_0x3392b5[_0x195ad9(0x138)](_0x5350e5)),_0x1f6813[_0x195ad9(0x239)](this[_0x195ad9(0xc6)]))[_0x195ad9(0x12f)](_0x442fc8=>{_0x3812c6(_0x442fc8);});}};_0x34fa01=_0x1910dd([_0x42b8ef(0x0,_0x3392b5['Inject'](_0x3392b5[_0x4f3d5a(0x421)])),_0x42b8ef(0x1,_0x3392b5[_0x4f3d5a(0x1cd)]),_0x42b8ef(0x2,_0x3392b5[_0x4f3d5a(0x2c0)]),_0x42b8ef(0x3,_0x3392b5[_0x4f3d5a(0x329)](_0x427316[_0x4f3d5a(0x1a8)])),_0x42b8ef(0x4,_0x3392b5['Inject'](_0x5d354c))],_0x34fa01);var _0x576d79=Object[_0x4f3d5a(0x246)],_0x37063a=(_0x9e1d2b,_0x3cbb7b,_0x35fdda,_0x22d5f0)=>{var _0x120797=_0x4f3d5a;for(var _0x18baad=_0x22d5f0>0x1?void 0x0:_0x22d5f0?_0x576d79(_0x3cbb7b,_0x35fdda):_0x3cbb7b,_0x381061=_0x9e1d2b[_0x120797(0x36c)]-0x1,_0x1e66e4;_0x381061>=0x0;_0x381061--)(_0x1e66e4=_0x9e1d2b[_0x381061])&&(_0x18baad=_0x1e66e4(_0x18baad)||_0x18baad);return _0x18baad;},_0x3f6fb1=(_0x272a4f,_0x35343b)=>(_0x463558,_0x3e813c)=>_0x35343b(_0x463558,_0x3e813c,_0x272a4f);_0x427316[_0x4f3d5a(0xca)]=class{constructor(_0x16fda5,_0x3c5a45){var _0x5178d6=_0x4f3d5a;this[_0x5178d6(0xd0)]=_0x16fda5,this['_httpService']=_0x3c5a45;}async[_0x4f3d5a(0x38a)](_0x57caa9,_0x41f5f9){var _0x568082=_0x4f3d5a,_0x295ffa;const {unitID:_0x32b2a6,type:_0x1b5407,revision:_0x21ed8d=0x0}=_0x41f5f9,_0x245d40=this[_0x568082(0x2eb)]()+'/'+_0x1b5407+_0x568082(0xe8)+_0x32b2a6+_0x568082(0x2d7)+_0x21ed8d,_0x4f7cc2=(await this['_httpService'][_0x568082(0x1e6)](_0x245d40))['body'],_0x35afe0=(_0x295ffa=_0x4f7cc2[_0x568082(0x189)])==null?void 0x0:_0x295ffa[_0x568082(0x3b0)];if(_0x35afe0){const _0x5d73ec=_0x35afe0==null?void 0x0:_0x35afe0[_0x568082(0x279)],_0x39a519=_0x2e372d[_0x568082(0x1d8)][_0x568082(0x394)](_0x2e372d[_0x568082(0x187)](_0x5d73ec));_0x35afe0[_0x568082(0x279)]=_0x39a519,Object['entries'](_0x35afe0[_0x568082(0x218)])[_0x568082(0x186)](([,_0x5c3549])=>{var _0x27c9e5=_0x568082;const _0x3d1454=_0x5c3549[_0x27c9e5(0x279)],_0x1dfe98=_0x2e372d[_0x27c9e5(0x1d8)]['encode'](_0x2e372d[_0x27c9e5(0x187)](_0x3d1454));_0x5c3549[_0x27c9e5(0x279)]=_0x1dfe98;});}return _0x4f7cc2;}async['getSheetBlock'](_0xfc655,_0x188059){var _0x25f8ce=_0x4f3d5a;const {unitID:_0x4c3401,type:_0x2f3ed9,blockID:_0x54d394}=_0x188059,_0x563120=this[_0x25f8ce(0xb6)]()+'/'+_0x2f3ed9+'/unit/'+_0x4c3401+_0x25f8ce(0x122)+_0x54d394;return(await this[_0x25f8ce(0x196)][_0x25f8ce(0x1e6)](_0x563120))['body'];}async[_0x4f3d5a(0x18c)](_0x1dced0,_0x3e0bb7){var _0x440fd7=_0x4f3d5a;const {unitID:_0x4b3c40,type:_0x4da71f,blockID:_0xcab73f}=_0x3e0bb7,_0x49283b=this[_0x440fd7(0xb6)]()+_0x440fd7(0x122)+_0x4da71f+'/unit/'+_0x4b3c40+_0x440fd7(0x122)+_0xcab73f;return(await this[_0x440fd7(0x196)]['get'](_0x49283b))['body'];}async['fetchMissingChangesets'](_0x532dd3,_0x555bf9){var _0x3db525=_0x4f3d5a;const {unitID:_0x4743e7,type:_0x3d5265,from:_0x3a71f3,to:_0x1cf15f}=_0x555bf9,_0x43e745=this[_0x3db525(0xb6)]()+'/'+_0x3d5265+'/unit/'+_0x4743e7+'/fetchmissing?from='+_0x3a71f3+_0x3db525(0x36a)+_0x1cf15f;return(await this[_0x3db525(0x196)][_0x3db525(0x1e6)](_0x43e745))[_0x3db525(0x17f)];}[_0x4f3d5a(0x2eb)](){var _0x4bbcfc=_0x4f3d5a,_0x56e178;return(_0x56e178=this['_configService'][_0x4bbcfc(0x38d)](_0x5b4571))!=null?_0x56e178:this[_0x4bbcfc(0xb6)]();}[_0x4f3d5a(0xb6)](){var _0x533699=_0x4f3d5a,_0x5e0ea8;const _0x43c1ed=this[_0x533699(0xd0)][_0x533699(0x38d)](_0x5dafb3);return(_0x5e0ea8=_0x43c1ed==null?void 0x0:_0x43c1ed[_0x533699(0x35a)])!=null?_0x5e0ea8:_0x36155e;}async[_0x4f3d5a(0x125)](_0x49da33,_0x5b3d58){var _0x175bae=_0x4f3d5a;const _0xb8cafa='/universer-api/snapshot/'+_0x5b3d58[_0x175bae(0x116)]+_0x175bae(0xe8)+_0x5b3d58[_0x175bae(0x259)]+_0x175bae(0x157);return(await this[_0x175bae(0x196)][_0x175bae(0x1e6)](_0xb8cafa,{'params':{'resourceId':JSON['stringify'](_0x5b3d58['resourceIDs'])}}))['body'];}[_0x4f3d5a(0x182)](){var _0x47f39d=_0x4f3d5a;throw new Error(_0x47f39d(0x415));}[_0x4f3d5a(0x234)](){var _0x317d7a=_0x4f3d5a;throw new Error(_0x317d7a(0x415));}[_0x4f3d5a(0x347)](){var _0x260f53=_0x4f3d5a;throw new Error(_0x260f53(0x415));}[_0x4f3d5a(0x18f)](){var _0x4365d7=_0x4f3d5a;throw new Error(_0x4365d7(0x415));}[_0x4f3d5a(0x2a4)](){var _0x49d913=_0x4f3d5a;throw new Error(_0x49d913(0x415));}[_0x4f3d5a(0x181)](){var _0x78c67e=_0x4f3d5a;throw new Error(_0x78c67e(0x415));}},_0x427316[_0x4f3d5a(0xca)]=_0x37063a([_0x3f6fb1(0x0,_0x3392b5[_0x4f3d5a(0x3dd)]),_0x3f6fb1(0x1,_0x3392b5[_0x4f3d5a(0x329)](_0x48a077[_0x4f3d5a(0xb5)]))],_0x427316[_0x4f3d5a(0xca)]);var _0x5b2709=Object[_0x4f3d5a(0x246)],_0x2e3167=(_0x25ba03,_0x30aba5,_0x54d5ab,_0x31c1bb)=>{var _0x102762=_0x4f3d5a;for(var _0x20a0aa=_0x31c1bb>0x1?void 0x0:_0x31c1bb?_0x5b2709(_0x30aba5,_0x54d5ab):_0x30aba5,_0x3dbd75=_0x25ba03[_0x102762(0x36c)]-0x1,_0x55515c;_0x3dbd75>=0x0;_0x3dbd75--)(_0x55515c=_0x25ba03[_0x3dbd75])&&(_0x20a0aa=_0x55515c(_0x20a0aa)||_0x20a0aa);return _0x20a0aa;},_0x39eff2=(_0x5d4204,_0x444556)=>(_0x3a9bdc,_0x548041)=>_0x444556(_0x3a9bdc,_0x548041,_0x5d4204);_0x427316[_0x4f3d5a(0xea)]=class extends _0x3392b5[_0x4f3d5a(0x321)]{constructor(_0x3f01cf,_0x1911f0,_0x275752,_0x507bcb,_0x183759){var _0x31d642=_0x4f3d5a;super(_0x3f01cf,_0x1911f0,_0x275752),this[_0x31d642(0x2a3)]=_0x507bcb,this[_0x31d642(0x165)]=_0x183759;}[_0x4f3d5a(0x3fa)](_0x163053,_0x58ff83){var _0x46a577=_0x4f3d5a;const _0x263798=this[_0x46a577(0x281)](_0x163053);if(_0x263798)try{const _0x2cebe9=this[_0x46a577(0x2df)](_0x263798,_0x58ff83);this[_0x46a577(0x255)](_0x163053,_0x2cebe9);}catch(_0x59e4e4){this[_0x46a577(0x165)][_0x46a577(0x316)](_0x46a577(0x397),_0x59e4e4),this[_0x46a577(0x211)](_0x163053);}const _0x31d2f7=this[_0x46a577(0x216)](_0x163053);if(_0x31d2f7)try{const _0x19da49=this[_0x46a577(0x2df)](_0x31d2f7,_0x58ff83);this[_0x46a577(0x19d)](_0x163053,_0x19da49);}catch(_0xd43273){this[_0x46a577(0x165)][_0x46a577(0x316)](_0xd43273),this['_clearRedo'](_0x163053);}}['_clearUndo'](_0x4c3418){var _0x110959=_0x4f3d5a;const _0x4c1d6a=this[_0x110959(0x281)](_0x4c3418);_0x4c1d6a&&(_0x4c1d6a[_0x110959(0x36c)]=0x0,this[_0x110959(0xa7)]());}[_0x4f3d5a(0x198)](_0x34700e){var _0x34a275=_0x4f3d5a;const _0x1a2ae6=this[_0x34a275(0x216)](_0x34700e);_0x1a2ae6&&(_0x1a2ae6[_0x34a275(0x36c)]=0x0,this[_0x34a275(0xa7)]());}[_0x4f3d5a(0x255)](_0x4d9f9c,_0x1b101b){var _0x40df9c=_0x4f3d5a;this[_0x40df9c(0x133)][_0x40df9c(0x3ef)](_0x4d9f9c,_0x1b101b),this[_0x40df9c(0xa7)]();}[_0x4f3d5a(0x19d)](_0x1817df,_0x4d686c){var _0x59d692=_0x4f3d5a;this[_0x59d692(0x22c)]['set'](_0x1817df,_0x4d686c),this['_updateStatus']();}[_0x4f3d5a(0x2df)](_0x4d21c0,_0x359f8b){var _0x34dff0=_0x4f3d5a;const _0x2dd00a=[];let _0x170a6e=_0x359f8b,_0xfb45cc=_0x359f8b;for(let _0x1cae5d=_0x4d21c0['length']-0x1;_0x1cae5d>=0x0;_0x1cae5d--){const {unitID:_0x25652b,undoMutations:_0x112316,redoMutations:_0x20f192}=_0x4d21c0[_0x1cae5d],_0x2af88e=this[_0x34dff0(0x2a3)][_0x34dff0(0x434)](_0x170a6e,_0x112316),_0x40a4c0=this[_0x34dff0(0x2a3)][_0x34dff0(0x434)](_0xfb45cc,_0x20f192);if(_0x2e372d[_0x34dff0(0xf1)](_0x2af88e)||_0x2e372d[_0x34dff0(0xf1)](_0x40a4c0)){this[_0x34dff0(0x165)][_0x34dff0(0x316)](_0x34dff0(0x397),_0x34dff0(0xdb),_0x2af88e,_0x40a4c0);break;}_0x170a6e=_0x2af88e[_0x34dff0(0xc8)],_0xfb45cc=_0x40a4c0['c1Prime'],_0x2dd00a[_0x34dff0(0x228)]({'unitID':_0x25652b,'undoMutations':_0x2af88e[_0x34dff0(0x106)],'redoMutations':_0x40a4c0[_0x34dff0(0x106)]});}return _0x2dd00a['reverse']();}},_0x427316[_0x4f3d5a(0xea)]=_0x2e3167([_0x39eff2(0x0,_0x3392b5['IUniverInstanceService']),_0x39eff2(0x1,_0x3392b5[_0x4f3d5a(0x2ff)]),_0x39eff2(0x2,_0x3392b5[_0x4f3d5a(0x366)]),_0x39eff2(0x3,_0x2e372d[_0x4f3d5a(0x241)]),_0x39eff2(0x4,_0x3392b5[_0x4f3d5a(0x1c1)])],_0x427316[_0x4f3d5a(0xea)]);var _0x29e3a1=Object[_0x4f3d5a(0x14a)],_0x2664ea=Object['getOwnPropertyDescriptor'],_0xa92fba=(_0x2e3d8f,_0x45a8b2,_0x88a05b)=>_0x45a8b2 in _0x2e3d8f?_0x29e3a1(_0x2e3d8f,_0x45a8b2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x88a05b}):_0x2e3d8f[_0x45a8b2]=_0x88a05b,_0x5d8eb4=(_0x197f4e,_0x58f964,_0x18854f,_0x158111)=>{var _0x1c64f9=_0x4f3d5a;for(var _0x2036f4=_0x158111>0x1?void 0x0:_0x158111?_0x2664ea(_0x58f964,_0x18854f):_0x58f964,_0x4aa14a=_0x197f4e[_0x1c64f9(0x36c)]-0x1,_0x1305be;_0x4aa14a>=0x0;_0x4aa14a--)(_0x1305be=_0x197f4e[_0x4aa14a])&&(_0x2036f4=_0x1305be(_0x2036f4)||_0x2036f4);return _0x2036f4;},_0x4c89d5=(_0x859c47,_0xc5bae0)=>(_0x94444a,_0x590461)=>_0xc5bae0(_0x94444a,_0x590461,_0x859c47),_0x3bb45f=(_0x538971,_0x184bfd,_0x199c53)=>_0xa92fba(_0x538971,_0x184bfd+'',_0x199c53);const _0x1021ee='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x427316[_0x4f3d5a(0x424)]=class extends _0x3392b5[_0x4f3d5a(0x43c)]{constructor(_0x5cd7c2,_0x1ec3f3,_0x33b158,_0x42a10f){var _0x11dc39=_0x4f3d5a;super(),_0x2cd3a0(this,_0x11dc39(0x29c)),(this[_0x11dc39(0x165)]=_0x1ec3f3,this['_injector']=_0x33b158,this['_configService']=_0x42a10f);const {..._0x4f6f32}=_0x3392b5[_0x11dc39(0x24e)]({},_0x332a83,_0x5cd7c2);if(!_0x4f6f32[_0x11dc39(0x354)])throw new Error(_0x11dc39(0x21e));this[_0x11dc39(0x29c)]=_0x4f6f32,this[_0x11dc39(0xd0)][_0x11dc39(0xb9)](_0x5dafb3,_0x4f6f32);}[_0x4f3d5a(0x10e)](){var _0x39712d=_0x4f3d5a;this[_0x39712d(0x388)](),this[_0x39712d(0x112)]();}[_0x4f3d5a(0x388)](){var _0x5d99bd=_0x4f3d5a,_0x44fce9,_0x57879e;this[_0x5d99bd(0x1fb)][_0x5d99bd(0x21c)](_0x3392b5[_0x5d99bd(0x438)])&&this[_0x5d99bd(0x165)][_0x5d99bd(0x316)](_0x5d99bd(0xb1),_0x5d99bd(0x1f8));const _0x15bf9c=_0x3392b5[_0x5d99bd(0x1af)]([[_0x3392b5['IUndoRedoService'],{'useClass':_0x427316[_0x5d99bd(0xea)]}],[_0x427316['CollaborationSessionService']],[_0x427316[_0x5d99bd(0x313)]],[_0x427316[_0x5d99bd(0x2ad)]],[_0x81a0c9],[_0x32d21b],[_0x279e44],[_0x34fa01],[_0x5d354c],[_0x427316[_0x5d99bd(0x300)]],[_0x4be32f,{'useClass':this[_0x5d99bd(0x29c)][_0x5d99bd(0x354)]}],[_0x2e372d[_0x5d99bd(0x385)],{'useClass':_0x427316[_0x5d99bd(0xca)]}],[_0x3392b5['IAuthzIoService'],{'useClass':_0x427316[_0x5d99bd(0x2e5)]}],[_0x550b7d[_0x5d99bd(0x2cc)],{'useClass':_0x427316['CollaborationImageIoService']}],[_0x3392b5['IMentionIOService'],{'useClass':_0x427316[_0x5d99bd(0x1fa)]}],[_0x427316[_0x5d99bd(0x235)]],[_0x64f94e]],(_0x44fce9=this[_0x5d99bd(0x29c)])==null?void 0x0:_0x44fce9['override']);if(!((_0x57879e=this[_0x5d99bd(0x29c)])!=null&&_0x57879e[_0x5d99bd(0x2ac)])){const _0x4d6052=_0x15bf9c[_0x5d99bd(0x14f)](([_0xd70edf])=>_0xd70edf===_0x5066c3);_0x4d6052!==-0x1&&_0x15bf9c[_0x5d99bd(0x325)](_0x4d6052,0x1);}_0x3392b5[_0x5d99bd(0x2b5)](this[_0x5d99bd(0x1fb)],_0x15bf9c);}[_0x4f3d5a(0x112)](){var _0xf5caf5=_0x4f3d5a,_0x2fca91,_0x1622e6,_0x19c351;this['_injector']['get'](_0x48a077[_0xf5caf5(0xb5)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x48a077[_0xf5caf5(0x3d0)]({'maxParallel':0x6})}),(_0x2fca91=this[_0xf5caf5(0x29c)])!=null&&_0x2fca91[_0xf5caf5(0x1d1)]||(_0x1622e6=this[_0xf5caf5(0x1fb)][_0xf5caf5(0x1e6)](_0x4597c5,_0x3392b5[_0xf5caf5(0x29a)][_0xf5caf5(0x25a)]))==null||_0x1622e6['disableLocalCache'](),(_0x19c351=this[_0xf5caf5(0x29c)])!=null&&_0x19c351[_0xf5caf5(0x11d)]&&_0x3392b5[_0xf5caf5(0x154)](this['_injector'],[[_0x81a0c9]]),_0x3392b5[_0xf5caf5(0x154)](this[_0xf5caf5(0x1fb)],[[_0x32d21b],[_0x427316['CollaborationController']],[_0x34fa01]]);}},_0x3bb45f(_0x427316[_0x4f3d5a(0x424)],'pluginName',_0x1021ee),_0x427316[_0x4f3d5a(0x424)]=_0x5d8eb4([_0x3392b5[_0x4f3d5a(0xf4)](_0x2e372d['UniverCollaborationPlugin'],_0x48a077['UniverNetworkPlugin']),_0x4c89d5(0x1,_0x3392b5[_0x4f3d5a(0x1c1)]),_0x4c89d5(0x2,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x421)])),_0x4c89d5(0x3,_0x3392b5[_0x4f3d5a(0x3dd)])],_0x427316[_0x4f3d5a(0x424)]),_0x427316[_0x4f3d5a(0x20a)]=_0x5dafb3,_0x427316['CollaborationStatus']=_0x544502,_0x427316['CollaborationUIEventId']=_0x2f98ef,_0x427316[_0x4f3d5a(0x409)]=_0x5d354c,_0x427316[_0x4f3d5a(0x177)]=_0x279e44,_0x427316['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x390407,_0x427316[_0x4f3d5a(0x39c)]=_0x374860,_0x427316[_0x4f3d5a(0x3a8)]=_0x3e8642,_0x427316[_0x4f3d5a(0x396)]=_0x5ac1cf,_0x427316[_0x4f3d5a(0x1f9)]=_0x1324fc,_0x427316[_0x4f3d5a(0x1cc)]=_0x4be32f,_0x427316[_0x4f3d5a(0x21d)]=_0x4597c5,_0x427316[_0x4f3d5a(0x418)]=_0x357e84,_0x427316[_0x4f3d5a(0x18b)]=_0x5066c3,_0x427316[_0x4f3d5a(0xbd)]=0x3e8,_0x427316[_0x4f3d5a(0x35c)]=_0x280b98,_0x427316[_0x4f3d5a(0x310)]=_0x32a0eb,_0x427316[_0x4f3d5a(0x324)]=_0x394647,_0x427316[_0x4f3d5a(0x35b)]=_0x45134b,_0x427316['UnitStatus']=_0x10fa35,_0x427316[_0x4f3d5a(0xa4)]=_0x384d7c,_0x427316[_0x4f3d5a(0x156)]=_0x3fd395,_0x427316['serializeCombRequest']=_0x2357d8,Object[_0x4f3d5a(0x14a)](_0x427316,Symbol['toStringTag'],{'value':'Module'});}));
3
3
 
4
4
  // @univerjs-pro/collaboration-client/facade
5
- (function(_0x141629,_0x19b82e){const _0x452787=_0x5d1c,_0x52e22f=_0x141629();while(!![]){try{const _0x86df6a=parseInt(_0x452787(0x116))/0x1+-parseInt(_0x452787(0x111))/0x2+-parseInt(_0x452787(0xe6))/0x3*(-parseInt(_0x452787(0x10d))/0x4)+-parseInt(_0x452787(0x11a))/0x5+-parseInt(_0x452787(0x112))/0x6+parseInt(_0x452787(0x10c))/0x7*(-parseInt(_0x452787(0xfe))/0x8)+-parseInt(_0x452787(0xe2))/0x9*(-parseInt(_0x452787(0xf1))/0xa);if(_0x86df6a===_0x19b82e)break;else _0x52e22f['push'](_0x52e22f['shift']());}catch(_0x248e5b){_0x52e22f['push'](_0x52e22f['shift']());}}}(_0x5e01,0x3e398),function(_0x115d86,_0x4ba9e3){const _0x350aeb=_0x5d1c;typeof exports=='object'&&typeof module<'u'?_0x4ba9e3(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define==_0x350aeb(0xfb)&&define[_0x350aeb(0x11f)]?define([_0x350aeb(0xee),_0x350aeb(0x11c),'@univerjs/core/facade',_0x350aeb(0x10a),_0x350aeb(0xec),_0x350aeb(0xe4)],_0x4ba9e3):(_0x115d86=typeof globalThis<'u'?globalThis:_0x115d86||self,_0x4ba9e3(_0x115d86[_0x350aeb(0xf4)]={},_0x115d86[_0x350aeb(0xed)],_0x115d86[_0x350aeb(0x121)],_0x115d86[_0x350aeb(0xf0)],_0x115d86[_0x350aeb(0xf5)],_0x115d86['rxjs']));}(this,function(_0x115386,_0x43617f,_0x32518e,_0x447ad5,_0x5845df,_0x300528){'use strict';const _0x131e75=_0x5d1c;class _0x241c95 extends _0x32518e[_0x131e75(0x105)]{get[_0x131e75(0xe7)](){const _0x5a3381=_0x131e75;return _0x43617f[_0x5a3381(0xe7)];}}_0x32518e['FEnum'][_0x131e75(0x113)](_0x241c95);var _0x4cc2ae=Object[_0x131e75(0x114)],_0x1d0d4c=(_0xc23e5f,_0x54b113,_0x23f9f0,_0x1fd3f7)=>{const _0x170a67=_0x131e75;for(var _0x46113d=_0x1fd3f7>0x1?void 0x0:_0x1fd3f7?_0x4cc2ae(_0x54b113,_0x23f9f0):_0x54b113,_0x4639de=_0xc23e5f[_0x170a67(0xde)]-0x1,_0x1970a2;_0x4639de>=0x0;_0x4639de--)(_0x1970a2=_0xc23e5f[_0x4639de])&&(_0x46113d=_0x1970a2(_0x46113d)||_0x46113d);return _0x46113d;},_0xee84f1=(_0x15caac,_0x83f15d)=>(_0x5c958f,_0x4227d2)=>_0x83f15d(_0x5c958f,_0x4227d2,_0x15caac);_0x115386[_0x131e75(0x120)]=class extends _0x32518e[_0x131e75(0x122)]{constructor(_0x106cef,_0x411878,_0xff7657,_0x108694,_0x4fe30a){const _0x4c3045=_0x131e75;super(),this[_0x4c3045(0x100)]=_0x106cef,this[_0x4c3045(0xfa)]=_0x411878,this[_0x4c3045(0x110)]=_0xff7657,this[_0x4c3045(0x11e)]=_0x108694,this[_0x4c3045(0xef)]=_0x4fe30a;}async[_0x131e75(0x102)](){const _0x124336=_0x131e75;return this[_0x124336(0x119)]();}async[_0x131e75(0x119)](){const _0x2978f9=_0x131e75;throw new Error(_0x2978f9(0x106));}async[_0x131e75(0xff)](_0x108259){const _0x4378a7=_0x131e75;return this[_0x4378a7(0x117)](_0x108259);}async[_0x131e75(0x117)](_0x21084b,_0x1c4a5d){const _0x44f7c9=_0x131e75;return await this['_snapshotService'][_0x44f7c9(0xff)](_0x21084b,0x0,_0x1c4a5d)?(await this[_0x44f7c9(0xef)][_0x44f7c9(0x104)](_0x21084b),this[_0x44f7c9(0x100)]['getUniverSheet'](_0x21084b)):null;}[_0x131e75(0xdd)](_0x41553b,_0x176c57){const _0x39690e=_0x131e75,_0x3055c2=this['_injector']['get'](_0x43617f[_0x39690e(0xea)])['waitForRoom$'](_0x41553b)[_0x39690e(0x108)](_0x300528[_0x39690e(0x103)](_0x202ae9=>_0x202ae9['members$']))[_0x39690e(0x10b)](_0xfd495=>_0x176c57(Array[_0x39690e(0x11b)](_0xfd495[_0x39690e(0xf3)]())));return _0x5845df[_0x39690e(0x109)](_0x3055c2);}[_0x131e75(0x10f)](){const _0x4a7082=_0x131e75,_0x37d8b3=this[_0x4a7082(0x110)]['getFocusedUnit']();if(!_0x37d8b3)return _0x43617f[_0x4a7082(0xe7)][_0x4a7082(0x107)];const _0x180a28=this[_0x4a7082(0xef)][_0x4a7082(0xdf)](_0x37d8b3[_0x4a7082(0xe9)]());return _0x180a28?_0x180a28[_0x4a7082(0xe1)][_0x4a7082(0x115)]:_0x43617f[_0x4a7082(0xe7)][_0x4a7082(0x107)];}},_0x115386['FCollaboration']=_0x1d0d4c([_0xee84f1(0x1,_0x5845df[_0x131e75(0xf2)](_0x5845df[_0x131e75(0xf9)])),_0xee84f1(0x2,_0x5845df[_0x131e75(0xe5)]),_0xee84f1(0x3,_0x5845df['Inject'](_0x447ad5[_0x131e75(0xfd)])),_0xee84f1(0x4,_0x5845df[_0x131e75(0xf2)](_0x43617f[_0x131e75(0xfc)]))],_0x115386[_0x131e75(0x120)]);class _0x109e56 extends _0x32518e[_0x131e75(0xf8)]{[_0x131e75(0x11d)](){const _0x106c79=_0x131e75;return this[_0x106c79(0xfa)][_0x106c79(0xeb)](_0x115386[_0x106c79(0x120)],{'getUniverSheet':_0x1373d8=>this[_0x106c79(0xe0)](_0x1373d8)});}[_0x131e75(0x101)](_0x168fde,_0x199396,_0x1f334f){const _0x5b6f9b=_0x131e75;return this['_injector']['get'](_0x43617f[_0x5b6f9b(0xf6)])['loadUnit'](_0x168fde,_0x199396,_0x1f334f);}[_0x131e75(0xe8)](_0x4272df,_0x9b0218,_0x1f1113){const _0x47a94b=_0x131e75;return this[_0x47a94b(0xfa)][_0x47a94b(0xe3)](_0x43617f[_0x47a94b(0xf6)])[_0x47a94b(0x118)](_0x4272df,_0x9b0218,_0x1f1113);}}_0x32518e[_0x131e75(0xf8)][_0x131e75(0x113)](_0x109e56),Object['defineProperty'](_0x115386,Symbol[_0x131e75(0x10e)],{'value':_0x131e75(0xf7)});}));function _0x5d1c(_0x42e439,_0x22c696){_0x42e439=_0x42e439-0xdd;const _0x5e01df=_0x5e01();let _0x5d1cd0=_0x5e01df[_0x42e439];return _0x5d1cd0;}function _0x5e01(){const _0x2f58ce=['443654XostAi','loadSheetAsync','loadUnitOfRevision','loadActiveSheetAsync','2310505REOwXQ','from','@univerjs-pro/collaboration-client','getCollaboration','_snapshotService','amd','FCollaboration','UniverCoreFacade','FBase','subscribeCollaborators','length','getCollabEntity','getUniverSheet','state','63mVTzSg','get','rxjs','IUniverInstanceService','245121EgTLmL','CollaborationStatus','loadServerUnitOfRevision','getUnitId','MemberService','createInstance','@univerjs/core','UniverProCollaborationClient','exports','_collaborationController','UniverProCollaboration','1257110OrnHzV','Inject','values','UniverProCollaborationClientFacade','UniverCore','DataLoaderService','Module','FUniver','Injector','_injector','function','CollaborationController','SnapshotService','8aUlTBd','loadSheet','_handler','loadServerUnit','loadActiveSheet','switchMap','readyForCollab','FEnum','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','NOT_COLLAB','pipe','toDisposable','@univerjs-pro/collaboration','subscribe','1588762WRFNhK','4XwPblI','toStringTag','getCollaborationStatus','_univerInstanceService','358062qSCuPf','1694208GCiHll','extend','getOwnPropertyDescriptor','status'];_0x5e01=function(){return _0x2f58ce;};return _0x5e01();}
5
+ (function(_0x11d67c,_0x5736b2){const _0x58a2ac=_0x40d2,_0x5d5bd7=_0x11d67c();while(!![]){try{const _0x18dd95=parseInt(_0x58a2ac(0x1ac))/0x1*(-parseInt(_0x58a2ac(0x1df))/0x2)+-parseInt(_0x58a2ac(0x1b3))/0x3+-parseInt(_0x58a2ac(0x1e3))/0x4+-parseInt(_0x58a2ac(0x1e8))/0x5+parseInt(_0x58a2ac(0x1b6))/0x6+-parseInt(_0x58a2ac(0x1d7))/0x7*(parseInt(_0x58a2ac(0x1cd))/0x8)+-parseInt(_0x58a2ac(0x1b8))/0x9*(-parseInt(_0x58a2ac(0x1ae))/0xa);if(_0x18dd95===_0x5736b2)break;else _0x5d5bd7['push'](_0x5d5bd7['shift']());}catch(_0x5f44a7){_0x5d5bd7['push'](_0x5d5bd7['shift']());}}}(_0x121b,0x26d90),function(_0x4d57cb,_0x48359c){const _0x2cf482=_0x40d2;typeof exports==_0x2cf482(0x1d9)&&typeof module<'u'?_0x48359c(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define=='function'&&define[_0x2cf482(0x1cc)]?define(['exports',_0x2cf482(0x1b5),_0x2cf482(0x1d8),_0x2cf482(0x1d1),_0x2cf482(0x1d6),'rxjs'],_0x48359c):(_0x4d57cb=typeof globalThis<'u'?globalThis:_0x4d57cb||self,_0x48359c(_0x4d57cb['UniverProCollaborationClientFacade']={},_0x4d57cb[_0x2cf482(0x1c6)],_0x4d57cb[_0x2cf482(0x1b2)],_0x4d57cb[_0x2cf482(0x1a9)],_0x4d57cb['UniverCore'],_0x4d57cb[_0x2cf482(0x1af)]));}(this,function(_0x583c8c,_0x12683d,_0x2f1ca3,_0x238877,_0x4705a7,_0x441d80){'use strict';const _0x49810f=_0x40d2;class _0x24e8f0 extends _0x2f1ca3['FEnum']{get['CollaborationStatus'](){const _0x41ade7=_0x40d2;return _0x12683d[_0x41ade7(0x1a5)];}}_0x2f1ca3['FEnum'][_0x49810f(0x1e2)](_0x24e8f0);var _0x155d42=Object[_0x49810f(0x1ad)],_0x2f3522=(_0x51e79f,_0x3f0b2b,_0x5156d7,_0x21de27)=>{const _0x2b2f6c=_0x49810f;for(var _0x945e48=_0x21de27>0x1?void 0x0:_0x21de27?_0x155d42(_0x3f0b2b,_0x5156d7):_0x3f0b2b,_0x563ccb=_0x51e79f[_0x2b2f6c(0x1dd)]-0x1,_0x45de9a;_0x563ccb>=0x0;_0x563ccb--)(_0x45de9a=_0x51e79f[_0x563ccb])&&(_0x945e48=_0x45de9a(_0x945e48)||_0x945e48);return _0x945e48;},_0x4f7e4a=(_0x3239af,_0xe8cd4f)=>(_0x216e3b,_0x5d16e0)=>_0xe8cd4f(_0x216e3b,_0x5d16e0,_0x3239af);_0x583c8c['FCollaboration']=class extends _0x2f1ca3[_0x49810f(0x1a7)]{constructor(_0x1c202e,_0x3ab4a3,_0x1610b7,_0xca52f2,_0x2cebcf){const _0x53caf4=_0x49810f;super(),this['_handler']=_0x1c202e,this[_0x53caf4(0x1d0)]=_0x3ab4a3,this[_0x53caf4(0x1a6)]=_0x1610b7,this[_0x53caf4(0x1de)]=_0xca52f2,this[_0x53caf4(0x1ca)]=_0x2cebcf;}async[_0x49810f(0x1bc)](){const _0x2f40cf=_0x49810f;return this[_0x2f40cf(0x1e0)]();}async[_0x49810f(0x1e0)](){const _0x450afc=_0x49810f;throw new Error(_0x450afc(0x1e4));}async[_0x49810f(0x1b7)](_0x1b97b6){return this['loadSheetAsync'](_0x1b97b6);}async['loadSheetAsync'](_0x3d1c20,_0x9b4ce9){const _0x31a3eb=_0x49810f;return await this[_0x31a3eb(0x1de)][_0x31a3eb(0x1b7)](_0x3d1c20,0x0,_0x9b4ce9)?(await this['_collaborationController'][_0x31a3eb(0x1b1)](_0x3d1c20),this[_0x31a3eb(0x1bf)][_0x31a3eb(0x1d3)](_0x3d1c20)):null;}['subscribeCollaborators'](_0x31428d,_0x5731c3){const _0x43b692=_0x49810f,_0x28f53c=this[_0x43b692(0x1d0)][_0x43b692(0x1ab)](_0x12683d[_0x43b692(0x1d2)])[_0x43b692(0x1c7)](_0x31428d)[_0x43b692(0x1b0)](_0x441d80[_0x43b692(0x1da)](_0x51acd5=>_0x51acd5[_0x43b692(0x1b9)]))[_0x43b692(0x1cf)](_0x13c638=>_0x5731c3(Array[_0x43b692(0x1e5)](_0x13c638[_0x43b692(0x1c1)]())));return _0x4705a7['toDisposable'](_0x28f53c);}[_0x49810f(0x1e7)](){const _0x3fa9f1=_0x49810f,_0x2eaeac=this[_0x3fa9f1(0x1a6)]['getFocusedUnit']();if(!_0x2eaeac)return _0x12683d[_0x3fa9f1(0x1a5)][_0x3fa9f1(0x1e6)];const _0x3ea653=this[_0x3fa9f1(0x1ca)][_0x3fa9f1(0x1be)](_0x2eaeac[_0x3fa9f1(0x1c8)]());return _0x3ea653?_0x3ea653[_0x3fa9f1(0x1c4)][_0x3fa9f1(0x1a8)]:_0x12683d[_0x3fa9f1(0x1a5)][_0x3fa9f1(0x1e6)];}},_0x583c8c[_0x49810f(0x1bb)]=_0x2f3522([_0x4f7e4a(0x1,_0x4705a7['Inject'](_0x4705a7[_0x49810f(0x1c2)])),_0x4f7e4a(0x2,_0x4705a7[_0x49810f(0x1dc)]),_0x4f7e4a(0x3,_0x4705a7[_0x49810f(0x1e1)](_0x238877[_0x49810f(0x1c3)])),_0x4f7e4a(0x4,_0x4705a7[_0x49810f(0x1e1)](_0x12683d[_0x49810f(0x1ba)]))],_0x583c8c['FCollaboration']);class _0x153297 extends _0x2f1ca3[_0x49810f(0x1cb)]{[_0x49810f(0x1db)](){const _0x491d9f=_0x49810f;return this[_0x491d9f(0x1d0)][_0x491d9f(0x1c5)](_0x583c8c[_0x491d9f(0x1bb)],{'getUniverSheet':_0x32d08e=>this[_0x491d9f(0x1d3)](_0x32d08e)});}[_0x49810f(0x1aa)](_0x2fe3a5,_0x36f5b9,_0x38f2b8){const _0xf33313=_0x49810f;return this[_0xf33313(0x1d0)][_0xf33313(0x1ab)](_0x12683d[_0xf33313(0x1ce)])[_0xf33313(0x1d5)](_0x2fe3a5,_0x36f5b9,_0x38f2b8);}[_0x49810f(0x1c9)](_0x29979,_0x471b35,_0x5e5b09){const _0x50d355=_0x49810f;return this[_0x50d355(0x1d0)]['get'](_0x12683d[_0x50d355(0x1ce)])[_0x50d355(0x1b4)](_0x29979,_0x471b35,_0x5e5b09);}}_0x2f1ca3[_0x49810f(0x1cb)]['extend'](_0x153297),Object[_0x49810f(0x1c0)](_0x583c8c,Symbol[_0x49810f(0x1bd)],{'value':_0x49810f(0x1d4)});}));function _0x40d2(_0x3a7092,_0x82472e){_0x3a7092=_0x3a7092-0x1a5;const _0x121b09=_0x121b();let _0x40d2d0=_0x121b09[_0x3a7092];return _0x40d2d0;}function _0x121b(){const _0x32e68f=['getCollaboration','IUniverInstanceService','length','_snapshotService','456058WhMaiJ','loadActiveSheetAsync','Inject','extend','923104tdNTpm','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','from','NOT_COLLAB','getCollaborationStatus','1394960cjqqTH','CollaborationStatus','_univerInstanceService','FBase','status','UniverProCollaboration','loadServerUnit','get','1sftcgH','getOwnPropertyDescriptor','5430BsmeCt','rxjs','pipe','readyForCollab','UniverCoreFacade','814713uBFmon','loadUnitOfRevision','@univerjs-pro/collaboration-client','57912rMQaTg','loadSheet','23292IStNai','members$','CollaborationController','FCollaboration','loadActiveSheet','toStringTag','getCollabEntity','_handler','defineProperty','values','Injector','SnapshotService','state','createInstance','UniverProCollaborationClient','waitForRoom$','getUnitId','loadServerUnitOfRevision','_collaborationController','FUniver','amd','6752BOCiwi','DataLoaderService','subscribe','_injector','@univerjs-pro/collaboration','MemberService','getUniverSheet','Module','loadUnit','@univerjs/core','2044krgfHc','@univerjs/core/facade','object','switchMap'];_0x121b=function(){return _0x32e68f;};return _0x121b();}
6
6
 
7
7
  // @univerjs-pro/collaboration-client-ui/index
8
- function _0xd951(_0x3e2f78,_0x29cae3){_0x3e2f78=_0x3e2f78-0x1be;const _0x509803=_0x5098();let _0xd9510b=_0x509803[_0x3e2f78];return _0xd9510b;}function _0x5098(){const _0x3c2b3a=['collabStatus.offline','LOCAL_CACHE_INTERVAL','onCommandExecuted','SHEET_VIEWPORT_KEY','show','WebURLService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','createElement','setActiveRange','runRefRangeMutations','_applyCommand','_docTransformIMECacheService','_updateURLWithCurrentState','some','CollaborationUIEventId','DocSelectionManagerService','isTransformMutationFailure','_injector','_range','_hideTimer','stage','status$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','children','min','getCollabCursors$','TEXT_RANGE_LAYER_INDEX','reconnect','whenReady','height','registerRenderModule','entityInit$','useRef','map','_selfUnitIDs','source','_updateLocalCursor','_removeClearOtherTimer','DeleteRangeMoveUpCommandId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','urlChange$','_render','UNIVER_DOC','LOCAL_CACHE_INTERVAL_KEY','connectInjector','createIdentifier','EffectRefRangId','_scene','set','eventID','add','split','Shape','all','debounceTime','fillRule','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_getSessionTicket','CLOSE_ROOM','getRelativeToViewportCoord','_docTransformSelectionsService','CollaborationEvent','PENDING','univerjs-icon\x20univerjs-icon-','EMAIL_VERIFY_CODE_MISMATCH','toDisposable','resize','_unitStatus','_setupSubUnitSync','_initDependencies','ticket','_beforeCloseService','_config','YUUMI_RATE_OVER_LIMIT','RECT','isTransformMutationsWithChangesetSuccess','getVpScrollXYInfoByPosToVp','_drawTextRange','data','Module','_memberService','UniverDesign','ALREADY_EXISTS','_memberID','handleIRemoveCol','_httpService','UniverDocsUi','ISocketService','UniverCore','getCellPositionByOffset','distinctUntilChanged','Loading','@univerjs/sheets-ui','CURRENT_STATUS_CANNOT_OPERATE','Plugin','assignAColorForMemberID','getOwnPropertyDescriptor','isFormulaString','IBeforeCloseService','round','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','APPLY_PERMISSION_DENIED','enableLocalCache','CollaborationStatus','/universer-api/frontend/logs','Vector2','values','onPointerEnter$','blue.400','docStateChange$','lineTo','endColumn','error','TOO_MANY_REQUESTS','location','currentSkeleton$','replace','_urlService','ENTITLE_COUPON_USED_UP','_sheetSkeletonManagerService','startsWith','off-line-icon_clip0_910_343','_univerInstanceService','_onCursorDelete','41184pbxaDL','_pollingInterval','collabCursorState$','_status$','_onRefRangeChange','black','subunit','@univerjs/ui','origin','DependentOn','send','_docSyncEditingCollabCursorService','_textBubble','getDocRanges','MemberService','transformSelections','cursorInfo$','getFocusedUnit','_collabCursorController','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','toRgbString','dispose','m2Prime','DisposableCollection','focused$','InsertRangeMoveDownCommandId','hide','setUndoRedoMutationParamsCache','clsx','_instanceService','deepClone','UnitStatus','collabStatus.fetchMiss','IMessageService','getActiveSheet','_refreshCollabCursors','APPLY_REVISION_CONFILICT','getCellMatrix','getSheetBySheetId','\x20at\x20','_docSkeletonManagerService','formula.calculation.started','collabStatus.syncing','collabStatus.notCollab','[Window\x20Error]:\x20','Subject','UNAUTHENTICATED','DeleteRangeMoveLeftCommandId','init','_startDocCollabCursor','_commandService','13HHySZA','RemoteUniscriptService','getUnitStatus$','ENTITLE_DUP_SUBSCRIPTION','_getMergeRange','YUUMI_NO_CUBOID_FOR_QUESTION','_currentUsage','setInterval','_transformUndoRedoStack','_hover','toStringTag','ColorKit','transformMutationsWithChangeset','syncEditingCollabCursor','_handleJoinEvent','getRenderById','mapTo','permission.content','createSocket','reason','throttleTime','_id','Unknown\x20user','setItem','_name','_handleHeartbeatEvent','SetDocZoomRatioOperation','RxDisposable','fillText','@univerjs-pro/collaboration-client','_collabSessionService','rgba(255,\x20255,\x20255,\x200.01)','now','InsertRangeMoveRightCommandId','ISnapshotServerService','Optional','LICENSE_MAX_UNITS_EXCEEDED','undoState','_docClipboardService','DocSkeletonManagerService','SUBMIT_CHANGESET_TIMEOUT','PY_RUNTIME_SCRIPT_ERROR','transformRemoteChangeset','green.600','@univerjs/engine-formula','@univerjs/sheets','_docSkeleton','permission.title','YUUMI_UNABLE_LOAD_URL','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','endRow','transformStateCache','collaboration.closeRoom','HEADER_MENU','clearTimeout','switchMap','_notificationService','SNAPSHOT_HAS_BEEN_REMOVED','assign','imageSourceType','/universer-api/license/formula/limit/done','_syncEditingCollabCursorService','_drawRectRange','/run/','_anchorDot','Disposable','sessionTicket','SOCKET_FAILED_RETRY','popstate','423SnGbxk','react/jsx-runtime','ThemeService','arc','IURLService','RichTextEditingMutation','stageInfo','AWAITING_WITH_PENDING','find','actions','_clearPolling','_online','_handleLeaveEvent','SetFormulaCalculationStartMutation','REDEMPTION_CODE_NOT_STARTED','getCurrentRevOfUnit','with','getUniverSheetInstance','_transformPreviousActiveRange','ENTITLE_COUPON_EXPIRED','handleInsertRangeMoveDown','http://www.w3.org/2000/svg','post','LOGIN_TOKEN_PROCESSING_FAILED','jsxs','REDEMPTION_USER_NOT_ELIGIBLE','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','isArray','_startCalculationLimit','font','_startSheetCollabCursor','[Unhandled\x20Rejection]:\x20','0\x200\x2017\x2016','UniverProCollaborationClient','application/json','getAncestorScale','_logService','catch','shift','socket$','WECHAT_HAS_BEEN_BOUND','_imageIoService','unload','@univerjs/network','_labelPosition','getMember','addObjects','ILogService','_collaborationSessionService','url(#off-line-icon_clip0_910_343)','Tools','ENTITLE_NEED_BILLING_ADDRESS','contains','_toggleOnline','restore','_checkAndWaitForCalculationPermission','exhaustSavingTask','rxjs','transform','dirtyRanges','Success','collaboration-client-ui.config','collabStatus.conflict','@univerjs/design','Injector','4200192dUyIbO','Error','_collaborationUIEventService','SOCKET_FAILED','INVITE_CODE_HAS_BEEN_UES','search','LICENSE_DISTRO_REJECTED','_scheduleClearOtherTimer','drawWith','size','unhandledrejection','_anchor','enableFrontendLog','sheetId','SetSelectionsOperation','getMergeData','formula.calculation.unable','collaboration.offline-data-not-saved','ITransformService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','doc.mutation.rich-text-editing','getTypeOfUnitDisposed$','executeCommand','MOBILE_VERIFY_CODE_MISMATCH','includes','DOC_RANGE_TYPE','_initEntityListener','_localStorageService','takeUntil','_maxFormulaLimit','REDEMPTION_CODE_FULLY_REDEEMED','m1Prime','unitId','subUnitId','unsubscribe','_eventUnsubscribe','UPDATE_CURSOR','CONFLICT','SetTextSelectionsOperation','MoveRangeCommandId','_lastResponseTimestamp','OffLineIcon','selection','_init','RegularPolygon','body','UniverCollaborationClientPlugin','closePath','fromEvent','from','_releaseCalculationLimit','trim','INTERNAL_ERROR','loadOfflineData','amd','red.300','_roomMembers$','color','subscribe','combineLatest','current','ENTITLE_REPORT_LIMIT_EXCEED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_initWindowErrorListener','_draw','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','saveOfflineData','getCurrentUnitForType','releaseFormulaLimitUrl','fill','getCurrent','_transformService','length','defs','Rect','[CollaborationDataLoaderController]','setShapeProps','_taskIds','collaboration.single-unit.warning','deserializeRangeWithSheet','onRendered','runId','UniverIcon','UniverSheets','unshift','APPLY_DUPLICATED','_clearOtherTimers','event$','_refRangeService','flatMap','params','text','UniverUi','registerComponent','width','history','YUUMI_ALL_TABLES_IS_INVALID','_setFormulaLimitStatus','get','onPointerMove$','startFormulaLimitUrl','getViewport','function','InsertRowCommandId','getMemberID','getItem','OnLineIcon','Workbook','activeSheet$','yellow.400','BuiltInUIPart','react','UNDEFINED','_renderManagerService','addObject','redoState','_cursors','colorChannel1','removeParam','_initUserListener','textRanges','asObservable','univer-mr-2\x20univer-flex\x20univer-text-xl','YUUMI_ASYNCIO_CANCELLED','ranges','transformIMECache','hovered','RevisionService','onMouseMove','href','_saveTaskMap','_getFormulaLimitStatus','disableLocalCache','_uiPartsService','UniverSheetsUi','handleInsertRangeMoveRight','ONLINE','getActiveRange','substring','xlink:href','@univerjs/core','key','TEXT','string','setConfig','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_saveCache','NOT_COLLAB','stack','SNAPSHOT_INVALID_SNAPSHOT','touchDependencies','replaceState','INVALID_ARGUMENT','currentColor','makeDirty','fromEventSubject','startRow','debounce','registerBeforeClose','div','bottom','BehaviorSubject','FormulaExecutedStateType','0\x200\x2016\x2016','_disabled','displayName','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','invokeId','engine','setStateCache','jsx','moveTo','USER_NOT_INVITED_CODE','override','addHandlerCallback','getUnhiddenWorksheets','findNodePositionByCharIndex','setAlpha','getSheetObject','ILocalCacheService','idSuffix','getConfig','translate(.97)','_messageService','mask','on-line-icon_clip0_910_349','join','on-line-icon','REDEMPTION_INVALID_CODE','DocCollaborationEntity','_checkCalculationAvailable','_backgroundColor','complete','1em','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_assignedColors','delete','subscribeEvent','off-line-icon','YUUMI_TABLE_NOT_FOUND_IN_UNIT','APPLY_REJECT','session.collaboration-timeout','_initResize','_localCacheService','has','parse','createInstance','ENSURE_SNAPSHOT_EXECUTION','_themeService','forEach','UniverEngineRender','uni.network.url-service','_dataLoaderService','updateOfflineData','NodePositionConvertToRectRange','[LogService\x20Error]:\x20','functionsExecutedState','UNRECOGNIZED','MessageType','_scheduleSaving','ENTITLE_INSUFFICIENT_QUOTA','addEventListener','getSkeleton','CollaborationSessionService','_send','114YzTssk','_drawAnchor','startColumn','UniverInstanceType','_getSaveTimeout','FormulaExecuteStageType','merge','MOBILE_HAS_BEEN_BOUND','clipPath','_initCommandExecutedListener','596540TASByU','removeEventListener','CollaborationController','sessionStatus$','IConfigService','ENTITLE_INVALID_COUPON_CODE','symbol','_cursorInfo$','_getScale','...','33006eySUYm','UniverCollaborationClientUIPlugin','UniverNetwork','svg','useDependency','_uploadLog','_heartbeatTimer','138068EgwACc','173250slbiPT','transformMutation','_scheduleHeartbeat','LICENSE_IMPORT_SIZE_EXCEEDED','skeleton','2235832Niblkg','DocIMEInputManagerService','IRenderManagerService','IImageIoService','APPLY_NON_SEQUENTIAL_REVISION','roomMembers','limitInfo','_updateCollabCursors','code','getSheetId','SetWorksheetActivateCommand','CONNECTOR_DATA_TOO_LARGE','UniverEngineFormula','BrowserCollaborationSocketService','registerRefRange','M0\x200H16V16H0z','_onCursorUpdate','_colorAssignService','getCoordByCell','RemoveColCommandId','DocStateChangeManagerService','getCurrentSelections','REDEMPTION_CODE_INACTIVE','DesktopCollaborationStatusDisplayController','currentUsage','_initCommandInterceptor','unitID','parseInt','NOT_FOUND','USER_IS_ANONYMOUS','UNIVER_SHEET','onPointerLeave$','useCallback','SetFormulaCalculationNotificationMutation','_getSheetObject','then','debug','range','_doCreateSocket','_localeService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','CHANGESET_REVISION_CONFILICT','_handleHover','_createSocketURL','UniverDrawing','UniverRpc','RemoveRowCommandId','COMPLETION_FINISHED','shareReplay','NO_OTHER_CLIENTS_EDITING','HTTPService','VIEW_MAIN','name','url(#on-line-icon_clip0_910_349)','IDocClipboardService','_entityInit$','_unitOnClients','collab-rect-range-','_cursorShapes','FromArray','_session','editingUnit','disposeWithMe','triggerDblclick','stringify','bind','random','getColorFromTheme','evenodd','getStateCache','@univerjs/docs-ui','fillStyle','_collaborationController','ERROR_AGAIN','mutations','jiqing.500','UniverProCollaborationClientUi','transformByState','attrs','_removeCollabCursors','exports','getColor','_ensureSubject','_colorIndex','_context','next','_configService','generateRandomId','entries','_hovered','save','pushState','_monkeyPatchLogService','getLocalCacheKey','replaceDocRanges','row','OFFLINE','SheetsSelectionsService','_lastPointer','_entities','memberID','#FFF','IUniverInstanceService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','DATA_SOURCE_TOO_LARGE','_getAnchorBounding','_docTransformStateCacheService','CommandType','INVALID_INVITE_CODE','CollaborationSocketService','_toggleOffline','_shapes','UniverDocs','_setupBeforeClosingHandler','push','WebBrowserSingleActiveUnitService','getParam','COLORS','column','Failed','beginPath','PAYMENT_CHANNEL_NOT_SUPPORT','YUUMI_AI_RUN_FAILED','_showGuardMessage','runOnServer','_updateSubUnitFromURLParams','_docStateChangeManagerService','searchParams','totalFormulasToCalculate','dispose$','type','CollaborationDataLoaderController','/universer-api/license/formula/limit/status','currentTheme$','collab-text-anchor-','_handleEvent','YUUMI_URL_COL_OUT_OF_RANGE','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','YUUMI_SUBSCRIPTION_NOT_FOUND','OTHER_CLIENTS_EDITING','FETCH_MISS','_transformHistoryAndStateStack','_initStatusComponent','backgroundColor','/universer-api/license/formula/limit/start','setTimeout','getUnitId','tag','@univerjs-pro/collaboration','saveTaskMap','defineProperty','object','_initStatusListener','_cursor','maxFormulaLimit','path','isActive','measureText','_document','_registerRenderDependencies','ICommandService','ENTITLE_USE_COUPON_NOT_1ST_TRADE','executionId','_revisionService','useObservable','message','getTypeOfUnitAdded$','YUUMI_CONNECTOR_URL_NOT_FOUND','React','LOGIN_FAILED','white','saveImage','_hasFormulaInDirtyRanges','EMAIL_HAS_BEEN_BOUND','getUndoRedoMutationParamsCache','pipe','_cachedData','cursorInfo','REDEMPTION_CODE_HAS_BEEN_CREATED','_collabCursorState$','url(#$1','USER_NOT_FOUND','roomMembers$','JOIN_ROOM_FAILED','LocaleService','getValue','LICENSE_EXPORT_SIZE_EXCEEDED','toString','none','_color','PERMISSION_DENIED','Inject','INotificationService','ENTITLE_CHAT_LIMIT_EXCEED'];_0x5098=function(){return _0x3c2b3a;};return _0x5098();}(function(_0x287316,_0x5b1030){const _0xc1aa93=_0xd951,_0x173688=_0x287316();while(!![]){try{const _0x5e5873=-parseInt(_0xc1aa93(0x3ef))/0x1*(parseInt(_0xc1aa93(0x271))/0x2)+-parseInt(_0xc1aa93(0x3bc))/0x3+parseInt(_0xc1aa93(0x27e))/0x4+-parseInt(_0xc1aa93(0x267))/0x5+parseInt(_0xc1aa93(0x25d))/0x6*(parseInt(_0xc1aa93(0x278))/0x7)+parseInt(_0xc1aa93(0x475))/0x8+-parseInt(_0xc1aa93(0x434))/0x9*(parseInt(_0xc1aa93(0x279))/0xa);if(_0x5e5873===_0x5b1030)break;else _0x173688['push'](_0x173688['shift']());}catch(_0x19e397){_0x173688['push'](_0x173688['shift']());}}}(_0x5098,0x487b8),function(_0x57b525,_0x273d66){const _0x31a82e=_0xd951;typeof exports==_0x31a82e(0x315)&&typeof module<'u'?_0x273d66(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==_0x31a82e(0x1e2)&&define[_0x31a82e(0x4ab)]?define([_0x31a82e(0x2ce),_0x31a82e(0x435),_0x31a82e(0x40c),_0x31a82e(0x208),_0x31a82e(0x3c3),'rxjs',_0x31a82e(0x473),_0x31a82e(0x1eb),'@univerjs/rpc',_0x31a82e(0x41c),'@univerjs/engine-render',_0x31a82e(0x45f),_0x31a82e(0x2c4),'@univerjs/drawing',_0x31a82e(0x312),'@univerjs/docs',_0x31a82e(0x41b),'rxjs/operators',_0x31a82e(0x39c)],_0x273d66):(_0x57b525=typeof globalThis<'u'?globalThis:_0x57b525||self,_0x273d66(_0x57b525[_0x31a82e(0x2ca)]={},_0x57b525[_0x31a82e(0x326)],_0x57b525[_0x31a82e(0x455)],_0x57b525[_0x31a82e(0x398)],_0x57b525[_0x31a82e(0x1d8)],_0x57b525[_0x31a82e(0x46d)],_0x57b525[_0x31a82e(0x391)],_0x57b525['React'],_0x57b525[_0x31a82e(0x2ab)],_0x57b525[_0x31a82e(0x1cf)],_0x57b525[_0x31a82e(0x24e)],_0x57b525[_0x31a82e(0x273)],_0x57b525[_0x31a82e(0x396)],_0x57b525[_0x31a82e(0x2aa)],_0x57b525['UniverProCollaboration'],_0x57b525[_0x31a82e(0x2ee)],_0x57b525[_0x31a82e(0x28a)],_0x57b525['rxjs']['operators'],_0x57b525[_0x31a82e(0x202)]));}(this,function(_0x40352c,_0x13857f,_0x3958ea,_0x40624a,_0x8e6f8f,_0x5b38f4,_0x4e15c3,_0xd4880e,_0xd8d89c,_0x411621,_0x2680b3,_0x42d795,_0x118be2,_0x39a6e5,_0x2c324c,_0x3f3b23,_0x100a4f,_0x23a207,_0x383790){'use strict';const _0x295e11=_0xd951;var _0x52273e=Object[_0x295e11(0x314)],_0x1ef35f=(_0x5532b3,_0xd23dcd,_0x5194f6)=>_0xd23dcd in _0x5532b3?_0x52273e(_0x5532b3,_0xd23dcd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5194f6}):_0x5532b3[_0xd23dcd]=_0x5194f6,_0x9020b=(_0x19606b,_0x2cf3a6,_0x43941c)=>_0x1ef35f(_0x19606b,typeof _0x2cf3a6!=_0x295e11(0x26d)?_0x2cf3a6+'':_0x2cf3a6,_0x43941c);function _0x131739({ref:_0xca56b2,..._0x76c429}){const _0x376ae8=_0x295e11,{icon:_0x85921,id:_0x360fe0,className:_0x1a9603,extend:_0x16bfad,..._0xac3fef}=_0x76c429,_0x1301a7=(_0x376ae8(0x37f)+_0x360fe0+'\x20'+(_0x1a9603||''))[_0x376ae8(0x4a8)](),_0x2a7704=_0xd4880e[_0x376ae8(0x360)]('_'+_0x4a4889());return _0x39d872(_0x85921,''+_0x360fe0,{'defIds':_0x85921['defIds'],'idSuffix':_0x2a7704[_0x376ae8(0x4b1)]},{'ref':_0xca56b2,'className':_0x1301a7,..._0xac3fef},_0x16bfad);}function _0x39d872(_0xb6893a,_0x2d2188,_0xb6e0a2,_0x470ea3,_0x3f876c){const _0x2eb4a0=_0x295e11;return _0xd4880e[_0x2eb4a0(0x347)](_0xb6893a['tag'],{'key':_0x2d2188,..._0x4a7ab4(_0xb6893a,_0xb6e0a2,_0x3f876c),..._0x470ea3},(_0x3b45e4(_0xb6893a,_0xb6e0a2)[_0x2eb4a0(0x357)]||[])[_0x2eb4a0(0x361)]((_0x3c3a8f,_0xf1c516)=>_0x39d872(_0x3c3a8f,_0x2d2188+'-'+_0xb6893a[_0x2eb4a0(0x311)]+'-'+_0xf1c516,_0xb6e0a2,void 0x0,_0x3f876c)));}function _0x4a7ab4(_0x1e8845,_0x6642f6,_0x472910){const _0x2289af=_0x295e11,_0x41dcf0={..._0x1e8845['attrs']};_0x472910!=null&&_0x472910['colorChannel1']&&_0x41dcf0[_0x2289af(0x1c1)]===_0x2289af(0x1f1)&&(_0x41dcf0[_0x2289af(0x1c1)]=_0x472910[_0x2289af(0x1f1)]),_0x1e8845[_0x2289af(0x311)]===_0x2289af(0x234)&&_0x41dcf0['id']&&(_0x41dcf0['id']=_0x41dcf0['id']+_0x6642f6['idSuffix']),Object[_0x2289af(0x2d6)](_0x41dcf0)[_0x2289af(0x24d)](([_0xcb21f,_0x16c5ac])=>{const _0x577462=_0x2289af;_0xcb21f===_0x577462(0x234)&&typeof _0x16c5ac==_0x577462(0x20b)&&(_0x41dcf0[_0xcb21f]=_0x16c5ac['replace'](/url\(#(.*)\)/,'url(#$1'+_0x6642f6['idSuffix']+')'));});const {defIds:_0x5d9336}=_0x6642f6;return!_0x5d9336||_0x5d9336[_0x2289af(0x1c4)]===0x0||(_0x1e8845[_0x2289af(0x311)]==='use'&&_0x41dcf0['xlink:href']&&(_0x41dcf0[_0x2289af(0x207)]=_0x41dcf0['xlink:href']+_0x6642f6[_0x2289af(0x230)]),Object['entries'](_0x41dcf0)[_0x2289af(0x24d)](([_0x29a382,_0x6b1f68])=>{const _0x5ce6b7=_0x2289af;typeof _0x6b1f68==_0x5ce6b7(0x20b)&&(_0x41dcf0[_0x29a382]=_0x6b1f68[_0x5ce6b7(0x3b4)](/url\(#(.*)\)/,_0x5ce6b7(0x332)+_0x6642f6[_0x5ce6b7(0x230)]+')'));})),_0x41dcf0;}function _0x3b45e4(_0x57adee,_0x20b1ae){const _0x47902b=_0x295e11;var _0x124c7f;const {defIds:_0x25813d}=_0x20b1ae;return!_0x25813d||_0x25813d[_0x47902b(0x1c4)]===0x0?_0x57adee:_0x57adee['tag']===_0x47902b(0x1c5)&&((_0x124c7f=_0x57adee[_0x47902b(0x357)])!=null&&_0x124c7f[_0x47902b(0x1c4)])?{..._0x57adee,'children':_0x57adee['children'][_0x47902b(0x361)](_0x498124=>typeof _0x498124[_0x47902b(0x2cc)]['id']==_0x47902b(0x20b)&&_0x25813d&&_0x25813d[_0x47902b(0x48d)](_0x498124[_0x47902b(0x2cc)]['id'])?{..._0x498124,'attrs':{..._0x498124[_0x47902b(0x2cc)],'id':_0x498124[_0x47902b(0x2cc)]['id']+_0x20b1ae['idSuffix']}}:_0x498124)}:_0x57adee;}function _0x4a4889(){const _0x70cca9=_0x295e11;return Math[_0x70cca9(0x2c0)]()[_0x70cca9(0x339)](0x24)[_0x70cca9(0x206)](0x2,0x8);}_0x131739[_0x295e11(0x221)]=_0x295e11(0x1ce);const _0x5901d5={'tag':_0x295e11(0x274),'attrs':{'xmlns':_0x295e11(0x449),'fill':_0x295e11(0x33a),'viewBox':_0x295e11(0x21f),'width':_0x295e11(0x23d),'height':_0x295e11(0x23d)},'children':[{'tag':'g','attrs':{'clipPath':_0x295e11(0x465)},'children':[{'tag':_0x295e11(0x319),'attrs':{'stroke':_0x295e11(0x215),'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':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x295e11(0x1c5),'attrs':{},'children':[{'tag':_0x295e11(0x265),'attrs':{'id':_0x295e11(0x3b9)},'children':[{'tag':_0x295e11(0x319),'attrs':{'fill':'white','d':_0x295e11(0x28d)}}]}]}],'defIds':[_0x295e11(0x3b9)]},_0x5590f2=_0xd4880e['forwardRef'](function(_0x4f8aa6,_0x36dca2){const _0xa355de=_0x295e11;return _0xd4880e[_0xa355de(0x347)](_0x131739,Object[_0xa355de(0x429)]({},_0x4f8aa6,{'id':_0xa355de(0x242),'ref':_0x36dca2,'icon':_0x5901d5}));});_0x5590f2[_0x295e11(0x221)]=_0x295e11(0x49e);const _0xe8835b={'tag':'svg','attrs':{'xmlns':_0x295e11(0x449),'fill':'none','viewBox':_0x295e11(0x454),'width':_0x295e11(0x23d),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x295e11(0x2b3)},'children':[{'tag':_0x295e11(0x319),'attrs':{'stroke':_0x295e11(0x215),'d':_0x295e11(0x4b6),'strokeLinecap':_0x295e11(0x3a3),'strokeLinejoin':_0x295e11(0x3a3),'strokeWidth':1.2}}]},{'tag':_0x295e11(0x1c5),'attrs':{},'children':[{'tag':_0x295e11(0x265),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x295e11(0x319),'attrs':{'fill':_0x295e11(0x328),'d':_0x295e11(0x28d),'transform':_0x295e11(0x232)}}]}]}],'defIds':[_0x295e11(0x235)]},_0x52040c=_0xd4880e['forwardRef'](function(_0x2250c3,_0x43e22f){const _0x53fe98=_0x295e11;return _0xd4880e[_0x53fe98(0x347)](_0x131739,Object['assign']({},_0x2250c3,{'id':_0x53fe98(0x237),'ref':_0x43e22f,'icon':_0xe8835b}));});_0x52040c[_0x295e11(0x221)]=_0x295e11(0x1e6);function _0x2f1c0b(_0x1ffd1e){const _0x51dc1a=_0x295e11;switch(_0x1ffd1e){case _0x3958ea[_0x51dc1a(0x3a7)][_0x51dc1a(0x2de)]:return _0x51dc1a(0x340);case _0x3958ea[_0x51dc1a(0x3a7)]['CONFLICT']:return _0x51dc1a(0x472);case _0x3958ea[_0x51dc1a(0x3a7)][_0x51dc1a(0x30a)]:return _0x51dc1a(0x3dc);case _0x3958ea[_0x51dc1a(0x3a7)]['NOT_COLLAB']:return _0x51dc1a(0x3e7);case _0x3958ea['CollaborationStatus']['AWAITING']:case _0x3958ea[_0x51dc1a(0x3a7)][_0x51dc1a(0x43b)]:return _0x51dc1a(0x3e6);case _0x3958ea[_0x51dc1a(0x3a7)]['SYNCED']:case _0x3958ea[_0x51dc1a(0x3a7)][_0x51dc1a(0x37e)]:return'collabStatus.synced';}}function _0xcd213(_0x1b6a2c){const _0x2bc7f5=_0x295e11,{status$:_0x436ae1}=_0x1b6a2c,_0x495ca0=_0x8e6f8f[_0x2bc7f5(0x322)](_0x436ae1,_0x3958ea['CollaborationStatus'][_0x2bc7f5(0x20f)]),_0x340eec=_0x8e6f8f['useDependency'](_0x40624a[_0x2bc7f5(0x336)]),_0x5cfd52=_0x8e6f8f[_0x2bc7f5(0x275)](_0x3958ea[_0x2bc7f5(0x25b)]),_0x3d8e3b=_0x495ca0!==_0x3958ea[_0x2bc7f5(0x3a7)]['OFFLINE'],_0x482001=_0x340eec['t'](_0x2f1c0b(_0x495ca0)),_0x164598=_0x3d8e3b?_0x13857f[_0x2bc7f5(0x226)](_0x52040c,{}):_0x13857f[_0x2bc7f5(0x226)](_0x5590f2,{}),_0x13c59d=_0xd4880e[_0x2bc7f5(0x29e)](()=>{const _0x38d741=_0x2bc7f5;_0x3d8e3b||_0x5cfd52[_0x38d741(0x35b)]();},[_0x3d8e3b,_0x5cfd52]);function _0x2e0147(){const _0xb30c2d=_0x2bc7f5;return _0x13857f[_0xb30c2d(0x44c)](_0xb30c2d(0x21b),{'className':'univer-flex\x20univer-items-center','onClick':_0x13c59d,'children':[_0x13857f[_0xb30c2d(0x226)](_0xb30c2d(0x21b),{'className':_0x4e15c3[_0xb30c2d(0x3d8)](_0xb30c2d(0x1f6),{'univer-text-green-500':_0x3d8e3b,'univer-text-red-500':!_0x3d8e3b}),'children':_0x164598}),_0x13857f[_0xb30c2d(0x226)]('div',{'className':_0xb30c2d(0x2a6),'children':_0x482001})]});}return _0x3d8e3b?_0x2e0147():_0x13857f[_0x2bc7f5(0x226)](_0x4e15c3['Tooltip'],{'title':_0x340eec['t']('collab-client.tooltip.reconnect'),'children':_0x2e0147()});}var _0x12011b=Object[_0x295e11(0x3a0)],_0x168c30=(_0x2ae7c1,_0xd94130,_0x39c76e,_0x9fb07e)=>{const _0x548137=_0x295e11;for(var _0x1022bb=_0x9fb07e>0x1?void 0x0:_0x9fb07e?_0x12011b(_0xd94130,_0x39c76e):_0xd94130,_0x35bcdb=_0x2ae7c1[_0x548137(0x1c4)]-0x1,_0x258a3c;_0x35bcdb>=0x0;_0x35bcdb--)(_0x258a3c=_0x2ae7c1[_0x35bcdb])&&(_0x1022bb=_0x258a3c(_0x1022bb)||_0x1022bb);return _0x1022bb;},_0x1e8573=(_0x43b099,_0x25030e)=>(_0x7067a,_0x705bdc)=>_0x25030e(_0x7067a,_0x705bdc,_0x43b099);_0x40352c['DesktopCollaborationStatusDisplayController']=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x391501,_0x5997cb,_0x5e9bdb,_0xbc69da){const _0x53a496=_0x295e11;super(),_0x9020b(this,'_status$',new _0x5b38f4['BehaviorSubject'](_0x3958ea[_0x53a496(0x3a7)][_0x53a496(0x20f)])),(this[_0x53a496(0x3ba)]=_0x391501,this[_0x53a496(0x351)]=_0x5997cb,this['_collaborationController']=_0x5e9bdb,this[_0x53a496(0x201)]=_0xbc69da,this[_0x53a496(0x30c)](),this['_initStatusListener']());}[_0x295e11(0x316)](){const _0x32a44f=_0x295e11;this[_0x32a44f(0x2bc)](this[_0x32a44f(0x3ba)][_0x32a44f(0x3d4)][_0x32a44f(0x32d)](_0x5b38f4[_0x32a44f(0x426)](()=>{const _0x1b9a06=_0x32a44f,_0x2517cd=this[_0x1b9a06(0x3ba)][_0x1b9a06(0x3cd)]();return _0x2517cd?this[_0x1b9a06(0x2c6)]['getCollabEntity$'](_0x2517cd[_0x1b9a06(0x310)]()):_0x5b38f4['of'](null);}),_0x5b38f4['switchMap'](_0x4ca2fe=>_0x4ca2fe?_0x4ca2fe[_0x32a44f(0x355)]:_0x5b38f4['of'](_0x3958ea[_0x32a44f(0x3a7)]['NOT_COLLAB'])))[_0x32a44f(0x4af)](_0x253c97=>{const _0x1dbc8e=_0x32a44f;this[_0x1dbc8e(0x3bf)][_0x1dbc8e(0x2d3)](_0x253c97);}));}[_0x295e11(0x30c)](){const _0x54a419=_0x295e11;this[_0x54a419(0x2bc)](this[_0x54a419(0x201)][_0x54a419(0x1d9)](_0x8e6f8f[_0x54a419(0x1ea)][_0x54a419(0x424)],()=>_0x8e6f8f[_0x54a419(0x36c)](_0x41185c({'status$':this['_status$'][_0x54a419(0x1f5)]()}),this['_injector'])));}},_0x40352c[_0x295e11(0x295)]=_0x168c30([_0x1e8573(0x0,_0x40624a[_0x295e11(0x2e4)]),_0x1e8573(0x1,_0x40624a['Inject'](_0x40624a[_0x295e11(0x474)])),_0x1e8573(0x2,_0x40624a[_0x295e11(0x33d)](_0x3958ea[_0x295e11(0x269)])),_0x1e8573(0x3,_0x8e6f8f['IUIPartsService'])],_0x40352c[_0x295e11(0x295)]);function _0x41185c(_0x52c9ae){const {status$:_0x44ad9c}=_0x52c9ae;return function(){return _0x13857f['jsx'](_0xcd213,{'status$':_0x44ad9c});};}const _0x6adebe=_0x40624a[_0x295e11(0x36d)](_0x295e11(0x24f));var _0x42923e=Object[_0x295e11(0x3a0)],_0x2a106a=(_0x1e7ffc,_0x5503fa,_0x5cc529,_0xde3492)=>{const _0x214063=_0x295e11;for(var _0x5c6e79=_0xde3492>0x1?void 0x0:_0xde3492?_0x42923e(_0x5503fa,_0x5cc529):_0x5503fa,_0x1307ae=_0x1e7ffc[_0x214063(0x1c4)]-0x1,_0x76634d;_0x1307ae>=0x0;_0x1307ae--)(_0x76634d=_0x1e7ffc[_0x1307ae])&&(_0x5c6e79=_0x76634d(_0x5c6e79)||_0x5c6e79);return _0x5c6e79;},_0x592fe8=(_0x4dc3cd,_0x2b9a45)=>(_0x553803,_0x22066f)=>_0x2b9a45(_0x553803,_0x22066f,_0x4dc3cd);_0x40352c[_0x295e11(0x301)]=class extends _0x40624a[_0x295e11(0x40a)]{constructor(_0x1b2fa9,_0x3c9bd7,_0x3bc1d3,_0x38a27a,_0x531ae1){const _0x17777a=_0x295e11;super(),this[_0x17777a(0x3b5)]=_0x1b2fa9,this[_0x17777a(0x458)]=_0x3c9bd7,this[_0x17777a(0x3ee)]=_0x3bc1d3,this['_dataLoaderService']=_0x38a27a,_0x531ae1?_0x531ae1==null||_0x531ae1[_0x17777a(0x35c)]()[_0x17777a(0x2a1)](()=>this[_0x17777a(0x4a0)]()):(this[_0x17777a(0x458)][_0x17777a(0x2a2)](_0x17777a(0x1c7),_0x17777a(0x44e)),this[_0x17777a(0x4a0)]());}async['_init'](){const _0x4ce2cd=_0x295e11,_0x4492e0=this['_urlService'][_0x4ce2cd(0x2f2)]('unit'),_0x52bd08=this[_0x4ce2cd(0x3b5)][_0x4ce2cd(0x2f2)](_0x4ce2cd(0x300)),_0x40146a=this['_urlService'][_0x4ce2cd(0x2f2)](_0x4ce2cd(0x3c2));if(!_0x4492e0||!_0x52bd08){this['_logService'][_0x4ce2cd(0x2a2)](_0x4ce2cd(0x1c7),_0x4ce2cd(0x3a4));return;}const _0x41d800=await this[_0x4ce2cd(0x250)]['loadUnit'](_0x4492e0,Number(_0x52bd08),_0x40146a);_0x41d800&&_0x41d800 instanceof _0x40624a[_0x4ce2cd(0x1e7)]&&this[_0x4ce2cd(0x384)](_0x41d800);}async[_0x295e11(0x384)](_0x562653){const _0x461bd0=_0x295e11;await this['_updateSubUnitFromURLParams'](_0x562653),_0x562653[_0x461bd0(0x1e8)]['pipe'](_0x5b38f4[_0x461bd0(0x491)](this[_0x461bd0(0x2ff)]))[_0x461bd0(0x4af)](_0xcfca4f=>{const _0x25c174=_0x461bd0;_0xcfca4f&&this[_0x25c174(0x34c)](_0xcfca4f);}),this[_0x461bd0(0x3b5)][_0x461bd0(0x368)][_0x461bd0(0x32d)](_0x5b38f4[_0x461bd0(0x491)](this['dispose$']))[_0x461bd0(0x4af)](()=>this[_0x461bd0(0x2fb)](_0x562653));}[_0x295e11(0x34c)](_0x114e33,_0x41669a=!0x1){const _0x84637e=_0x295e11,_0xe85f69=this[_0x84637e(0x3b5)]['getParam'](_0x84637e(0x3c2));_0x114e33['getSheetId']()!==_0xe85f69&&this[_0x84637e(0x3b5)]['setParam']('subunit',_0x114e33[_0x84637e(0x287)](),_0x41669a);}async['_updateSubUnitFromURLParams'](_0x26aece){const _0x2c758e=_0x295e11;var _0x5bad2b;const _0x1690ab=this['_urlService']['getParam']('subunit');if(!_0x1690ab||!_0x26aece['getSheetBySheetId'](_0x1690ab)){const _0x5e1680=_0x26aece[_0x2c758e(0x22b)]()[0x0],_0x5b2d25=_0x26aece[_0x2c758e(0x3e2)](_0x5e1680);if(!_0x5b2d25)return;this[_0x2c758e(0x34c)](_0x5b2d25,!0x0),await this[_0x2c758e(0x3ee)][_0x2c758e(0x48b)](_0x411621[_0x2c758e(0x288)]['id'],{'unitId':_0x26aece['getUnitId'](),'subUnitId':_0x5e1680});return;}((_0x5bad2b=_0x26aece[_0x2c758e(0x3de)]())==null?void 0x0:_0x5bad2b['getSheetId']())!==_0x1690ab&&await this[_0x2c758e(0x3ee)][_0x2c758e(0x48b)](_0x411621[_0x2c758e(0x288)]['id'],{'unitId':_0x26aece[_0x2c758e(0x310)](),'subUnitId':_0x1690ab});}},_0x40352c[_0x295e11(0x301)]=_0x2a106a([_0x592fe8(0x0,_0x6adebe),_0x592fe8(0x1,_0x40624a['ILogService']),_0x592fe8(0x2,_0x40624a[_0x295e11(0x31e)]),_0x592fe8(0x3,_0x40624a['Inject'](_0x3958ea['DataLoaderService'])),_0x592fe8(0x4,_0x40624a[_0x295e11(0x412)](_0xd8d89c['IRemoteInstanceService']))],_0x40352c[_0x295e11(0x301)]);var _0x3d1fbf=Object[_0x295e11(0x3a0)],_0x23df43=(_0x2c8cd8,_0x4dfc0f,_0x1078d4,_0x2a945f)=>{const _0x4c0641=_0x295e11;for(var _0x31108d=_0x2a945f>0x1?void 0x0:_0x2a945f?_0x3d1fbf(_0x4dfc0f,_0x1078d4):_0x4dfc0f,_0x3d14b5=_0x2c8cd8[_0x4c0641(0x1c4)]-0x1,_0x2d7fb9;_0x3d14b5>=0x0;_0x3d14b5--)(_0x2d7fb9=_0x2c8cd8[_0x3d14b5])&&(_0x31108d=_0x2d7fb9(_0x31108d)||_0x31108d);return _0x31108d;},_0x52f7c2=(_0x22a71c,_0x40e784)=>(_0x13c049,_0x1fe269)=>_0x40e784(_0x13c049,_0x1fe269,_0x22a71c);let _0x47f626=class extends _0x40624a['RxDisposable']{constructor(_0x302379,_0xcd4b90){const _0x3f6b21=_0x295e11;super(),this[_0x3f6b21(0x415)]=_0x302379,this['_imageIoService']=_0xcd4b90,this[_0x3f6b21(0x4a0)]();}['_init'](){const _0x55319d=_0x295e11,_0x1ab0a9=this;this[_0x55319d(0x2bc)](this[_0x55319d(0x415)]['addClipboardHook']({'onBeforePasteImage':async _0x277c93=>{const _0x3910a2=_0x55319d,_0x49c372=await _0x1ab0a9[_0x3910a2(0x45d)][_0x3910a2(0x329)](_0x277c93);return _0x49c372?{'source':_0x49c372[_0x3910a2(0x363)],'imageSourceType':_0x49c372[_0x3910a2(0x42a)]}:null;}}));}};_0x47f626=_0x23df43([_0x52f7c2(0x0,_0x118be2[_0x295e11(0x2b4)]),_0x52f7c2(0x1,_0x39a6e5[_0x295e11(0x281)])],_0x47f626);const _0x5a4b3c=['purple.300',_0x295e11(0x2c9),_0x295e11(0x41a),_0x295e11(0x4ac),_0x295e11(0x3ac),_0x295e11(0x1e9)];class _0x2d4f99 extends _0x40624a[_0x295e11(0x430)]{constructor(){const _0x4bea10=_0x295e11;super(...arguments),_0x9020b(this,'_assignedColors',new Map()),_0x9020b(this,_0x4bea10(0x2d1),0x0);}[_0x295e11(0x39f)](_0x244c72){const _0x516272=_0x295e11;if(this[_0x516272(0x23f)][_0x516272(0x248)](_0x244c72))return this[_0x516272(0x23f)][_0x516272(0x1de)](_0x244c72);const _0x1a80ba=_0x5a4b3c[this[_0x516272(0x2d1)]];return this[_0x516272(0x2d1)]=(this[_0x516272(0x2d1)]+0x1)%_0x5a4b3c[_0x516272(0x1c4)],this['_assignedColors']['set'](_0x244c72,_0x1a80ba),_0x1a80ba;}}function _0x102844(_0x17dfa0){const _0x5ebeb7=_0x295e11;let _0xf102be='';for(const _0x21d1f8 of _0x17dfa0){const {startOffset:_0x4f2170,endOffset:_0x129770,isActive:_0x4d8e89,rangeType:_0x40628c,segmentId:_0x50c7ae,segmentPage:_0x12f649}=_0x21d1f8;_0xf102be[_0x5ebeb7(0x1c4)]&&(_0xf102be+=','),_0xf102be+=_0x4f2170+':'+_0x129770+':'+(_0x4d8e89?'1':'0')+':'+_0x40628c+':'+_0x50c7ae+':'+_0x12f649;}return _0xf102be;}function _0x58bff3(_0x51a700){const _0x1bf0df=_0x295e11,_0x21e4a0=_0x51a700[_0x1bf0df(0x373)](','),_0x1311e2=[];for(const _0x12e62a of _0x21e4a0){const [_0x4be033,_0x207bb7,_0x5c1387,_0x6963c9,_0x35316c,_0x2d12cd]=_0x12e62a[_0x1bf0df(0x373)](':');_0x1311e2[_0x1bf0df(0x2f0)]({'startOffset':Number(_0x4be033),'endOffset':Number(_0x207bb7),'collapsed':_0x4be033===_0x207bb7,'isActive':_0x5c1387==='1','rangeType':_0x6963c9===_0x40624a['DOC_RANGE_TYPE'][_0x1bf0df(0x20a)]?_0x40624a['DOC_RANGE_TYPE'][_0x1bf0df(0x20a)]:_0x40624a['DOC_RANGE_TYPE'][_0x1bf0df(0x38a)],'segmentId':typeof _0x35316c==_0x1bf0df(0x20b)?String(_0x35316c):'','segmentPage':Number(_0x2d12cd!=null?_0x2d12cd:-0x1)});}return _0x1311e2[_0x1bf0df(0x34d)](_0x3756f2=>_0x3756f2[_0x1bf0df(0x31a)])||(_0x1311e2[0x0][_0x1bf0df(0x31a)]=!0x0),_0x1311e2;}class _0x2a125f extends _0x40624a[_0x295e11(0x40a)]{constructor(){const _0x2da0fb=_0x295e11;super(...arguments),_0x9020b(this,_0x2da0fb(0x331),new _0x5b38f4[(_0x2da0fb(0x21d))](null)),_0x9020b(this,_0x2da0fb(0x3be),this['_collabCursorState$'][_0x2da0fb(0x1f5)]());}[_0x295e11(0x3fc)](_0x9dd2f1){const _0x4c9fae=_0x295e11,{unitID:_0x231157,memberID:_0x4e6650,textRanges:_0x555a9c}=_0x9dd2f1,_0x275abd=_0x102844(_0x555a9c);if(_0x275abd==='')return;const _0x30bb1c={'unitID':_0x231157,'memberID':_0x4e6650,'selection':_0x275abd};this[_0x4c9fae(0x331)][_0x4c9fae(0x2d3)](_0x30bb1c);}}var _0x2a4222=Object[_0x295e11(0x3a0)],_0x3e0001=(_0x55520a,_0x2800cf,_0x5d7e1e,_0x2fa240)=>{const _0x1292cd=_0x295e11;for(var _0x322cbe=_0x2fa240>0x1?void 0x0:_0x2fa240?_0x2a4222(_0x2800cf,_0x5d7e1e):_0x2800cf,_0x214fd1=_0x55520a[_0x1292cd(0x1c4)]-0x1,_0x3324de;_0x214fd1>=0x0;_0x214fd1--)(_0x3324de=_0x55520a[_0x214fd1])&&(_0x322cbe=_0x3324de(_0x322cbe)||_0x322cbe);return _0x322cbe;},_0x257362=(_0x4f2bf8,_0x25dbb3)=>(_0x446402,_0xe9a420)=>_0x25dbb3(_0x446402,_0xe9a420,_0x4f2bf8);const _0x3d3736=0x12c,_0x5e6a39=0x64;let _0x3890dd=class extends _0x40624a[_0x295e11(0x40a)]{constructor(_0x55503b,_0x4c0f58,_0x13026e,_0x328ad8,_0xd6fe50,_0x253ed7,_0x4c8692,_0x5c0ab0,_0x4ed639){const _0x4e266d=_0x295e11;super(),_0x9020b(this,_0x4e266d(0x43f),!0x1),_0x9020b(this,_0x4e266d(0x4a0),!0x1),_0x9020b(this,'_cursorInfo$',new _0x5b38f4['BehaviorSubject'](new Map())),_0x9020b(this,_0x4e266d(0x3cc),this['_cursorInfo$'][_0x4e266d(0x1f5)]()),_0x9020b(this,'_roomMembers$',new _0x5b38f4[(_0x4e266d(0x21d))]([])),_0x9020b(this,'roomMembers$',this['_roomMembers$'][_0x4e266d(0x32d)](_0x5b38f4[_0x4e266d(0x376)](_0x3d3736))),_0x9020b(this,_0x4e266d(0x364),_0x40624a[_0x4e266d(0x219)](_0x15702c=>{const _0x2869dd=_0x4e266d,_0x2d05d2={'eventID':_0x2c324c[_0x2869dd(0x37d)][_0x2869dd(0x499)],'data':{'unitID':this[_0x2869dd(0x298)],'memberID':this[_0x2869dd(0x2ba)][_0x2869dd(0x1e4)](),'selection':_0x102844(_0x15702c)}};this['_session'][_0x2869dd(0x3c6)](_0x2d05d2,this[_0x2869dd(0x298)]);},_0x5e6a39)),(this[_0x4e266d(0x298)]=_0x55503b,this[_0x4e266d(0x2ba)]=_0x4c0f58,this[_0x4e266d(0x351)]=_0x13026e,this[_0x4e266d(0x28f)]=_0x328ad8,this[_0x4e266d(0x390)]=_0xd6fe50,this[_0x4e266d(0x42c)]=_0x253ed7,this[_0x4e266d(0x1c3)]=_0x4c8692,this[_0x4e266d(0x3ba)]=_0x5c0ab0,this[_0x4e266d(0x3ee)]=_0x4ed639);}get[_0x295e11(0x32f)](){const _0x17382f=_0x295e11;return this['_cursorInfo$'][_0x17382f(0x337)]();}get['roomMembers'](){const _0x2631be=_0x295e11;return this[_0x2631be(0x4ad)][_0x2631be(0x337)]();}['dispose'](){const _0x3e252b=_0x295e11;super[_0x3e252b(0x3d1)](),this[_0x3e252b(0x26e)][_0x3e252b(0x2d3)](new Map()),this['_cursorInfo$'][_0x3e252b(0x23c)](),this[_0x3e252b(0x4ad)][_0x3e252b(0x2d3)]([]),this['_roomMembers$'][_0x3e252b(0x23c)]();}[_0x295e11(0x3ec)](){const _0x1edc16=_0x295e11;this[_0x1edc16(0x4a0)]||(this[_0x1edc16(0x4a0)]=!0x0,this[_0x1edc16(0x2ba)][_0x1edc16(0x26a)][_0x1edc16(0x32d)](_0x5b38f4[_0x1edc16(0x491)](this[_0x1edc16(0x2ff)]))['subscribe'](_0x4cca0c=>{const _0x7ed1b7=_0x1edc16;_0x4cca0c===_0x3958ea['SessionStatus'][_0x7ed1b7(0x204)]?this['_toggleOnline']():this[_0x7ed1b7(0x2ec)]();}),this[_0x1edc16(0x2ba)]['event$'][_0x1edc16(0x32d)](_0x5b38f4['takeUntil'](this[_0x1edc16(0x2ff)]))['subscribe'](_0x3409f3=>{const _0x2e2d6d=_0x1edc16,_0x529573=_0x3409f3[_0x2e2d6d(0x371)];_0x529573===_0x2c324c[_0x2e2d6d(0x37d)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x3409f3),_0x529573===_0x2c324c[_0x2e2d6d(0x37d)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x3409f3);}),this[_0x1edc16(0x2bc)](this[_0x1edc16(0x3ee)][_0x1edc16(0x342)](_0x3bfc14=>{const _0x367677=_0x1edc16,_0x5741d1=_0x3bfc14[_0x367677(0x1d6)];_0x5741d1!=null&&this['_online']&&_0x3bfc14['id']===_0x3f3b23[_0x367677(0x49b)]['id']&&_0x5741d1['unitId']===this[_0x367677(0x298)]&&_0x5741d1['isEditing']===!0x1&&_0x5741d1['ranges'][_0x367677(0x1c4)]>0x0&&this[_0x367677(0x364)](_0x5741d1[_0x367677(0x1f8)]);})),this[_0x1edc16(0x42c)]['collabCursorState$']['pipe'](_0x5b38f4[_0x1edc16(0x491)](this[_0x1edc16(0x2ff)]))[_0x1edc16(0x4af)](_0x2a4d46=>{const _0xde30fa=_0x1edc16;if((_0x2a4d46==null?void 0x0:_0x2a4d46[_0xde30fa(0x298)])!==this[_0xde30fa(0x298)])return;const _0x901b06={'eventID':_0x2c324c['CollaborationEvent'][_0xde30fa(0x499)],'data':_0x2a4d46};this[_0xde30fa(0x28e)](_0x901b06);}),this[_0x1edc16(0x2bc)](this[_0x1edc16(0x3ee)]['onCommandExecuted'](_0x3372f4=>{const _0x3ce016=_0x1edc16;if(_0x3372f4['params']==null)return;const _0x5c9574=_0x3372f4['params'];if(_0x3372f4['id']!==_0x3f3b23[_0x3ce016(0x439)]['id']||_0x5c9574[_0x3ce016(0x495)]!==this[_0x3ce016(0x298)])return;const _0x5786b3={'id':_0x3ce016(0x489),'params':_0x5c9574},_0x4c4f43=this[_0x3ce016(0x32f)];for(const [_0x5a7712,_0x2ecd0e]of _0x4c4f43){const _0x339304={'id':_0x3ce016(0x489),'params':{'unitId':this[_0x3ce016(0x298)],'actions':null,'textRanges':_0x2ecd0e[_0x3ce016(0x1f8)]}},_0x24577b=this[_0x3ce016(0x1c3)][_0x3ce016(0x27a)](_0x5786b3,_0x339304,!0x1);if(_0x2c324c[_0x3ce016(0x350)](_0x24577b))throw _0x24577b[_0x3ce016(0x3b0)];_0x4c4f43['set'](_0x5a7712,{..._0x2ecd0e,'ranges':_0x24577b[_0x3ce016(0x3d2)][_0x3ce016(0x1d6)][_0x3ce016(0x1f4)]});}queueMicrotask(()=>{const _0x553931=_0x3ce016;this[_0x553931(0x26e)][_0x553931(0x2d3)](_0x4c4f43);});})));}[_0x295e11(0x28e)](_0x187296){const _0x3f686f=_0x295e11;var _0x4ca474,_0x52d007;const {memberID:_0x222de6,selection:_0x888b6f}=_0x187296['data'],_0x529384=_0x58bff3(_0x888b6f),_0x46197e=(_0x52d007=(_0x4ca474=this[_0x3f686f(0x390)][_0x3f686f(0x461)](this[_0x3f686f(0x298)],_0x222de6))==null?void 0x0:_0x4ca474[_0x3f686f(0x2b2)])!=null?_0x52d007:_0x3f686f(0x405),_0x29e655={'color':this[_0x3f686f(0x28f)][_0x3f686f(0x39f)](_0x222de6),'name':_0x46197e,'ranges':_0x529384},_0x1eab11=this['cursorInfo'];_0x1eab11['set'](_0x222de6,_0x29e655),this[_0x3f686f(0x26e)][_0x3f686f(0x2d3)](_0x1eab11);}[_0x295e11(0x3bb)](_0x1bc7a9){const _0x54f6ef=_0x295e11,{memberID:_0x1f34a3}=_0x1bc7a9[_0x54f6ef(0x38e)],_0x280e18=this[_0x54f6ef(0x32f)];_0x280e18[_0x54f6ef(0x240)](_0x1f34a3),this[_0x54f6ef(0x26e)][_0x54f6ef(0x2d3)](_0x280e18);}[_0x295e11(0x469)](){const _0x44e8a8=_0x295e11;var _0x736fbe;if(this['_online']=!0x0,((_0x736fbe=this[_0x44e8a8(0x3ba)][_0x44e8a8(0x3cd)]())==null?void 0x0:_0x736fbe[_0x44e8a8(0x310)]())!==this[_0x44e8a8(0x298)])return;const _0x325e34=this[_0x44e8a8(0x351)][_0x44e8a8(0x1de)](_0x3f3b23['DocSelectionManagerService'])[_0x44e8a8(0x3c9)]();Array[_0x44e8a8(0x44f)](_0x325e34)&&_0x325e34[_0x44e8a8(0x1c4)]>0x0&&this[_0x44e8a8(0x364)](_0x325e34);}[_0x295e11(0x2ec)](){const _0x3df8b6=_0x295e11;this[_0x3df8b6(0x43f)]=!0x1;}};_0x3890dd=_0x3e0001([_0x257362(0x2,_0x40624a['Inject'](_0x40624a[_0x295e11(0x474)])),_0x257362(0x3,_0x40624a[_0x295e11(0x33d)](_0x2d4f99)),_0x257362(0x4,_0x40624a[_0x295e11(0x33d)](_0x3958ea[_0x295e11(0x3ca)])),_0x257362(0x5,_0x40624a[_0x295e11(0x33d)](_0x2a125f)),_0x257362(0x6,_0x2c324c[_0x295e11(0x487)]),_0x257362(0x7,_0x40624a[_0x295e11(0x2e4)]),_0x257362(0x8,_0x40624a[_0x295e11(0x31e)])],_0x3890dd);var _0x4f6ccc=Object[_0x295e11(0x3a0)],_0x41cedf=(_0x4f145a,_0x397679,_0x1be8c2,_0x5174c2)=>{const _0x1cba3e=_0x295e11;for(var _0x8a633=_0x5174c2>0x1?void 0x0:_0x5174c2?_0x4f6ccc(_0x397679,_0x1be8c2):_0x397679,_0x556b21=_0x4f145a[_0x1cba3e(0x1c4)]-0x1,_0x1b4ab6;_0x556b21>=0x0;_0x556b21--)(_0x1b4ab6=_0x4f145a[_0x556b21])&&(_0x8a633=_0x1b4ab6(_0x8a633)||_0x8a633);return _0x8a633;},_0x1b052f=(_0x53d015,_0x570139)=>(_0x1c6c6b,_0x12287d)=>_0x570139(_0x1c6c6b,_0x12287d,_0x53d015);const _0x5b2ea1=0x12c,_0x1f1062=0x64,_0x5e4f08=()=>{let _0xb95cd2=[],_0x9b5be1=!0x1;return _0x53a938=>{const _0x4b227d=_0xd951;_0xb95cd2[_0x4b227d(0x2f0)](_0x53a938),_0x9b5be1||(_0x9b5be1=!0x0,setTimeout(()=>{const _0x38c4d2=_0x4b227d;_0xb95cd2[_0x38c4d2(0x24d)](_0x198d60=>_0x198d60()),_0xb95cd2=[],_0x9b5be1=!0x1;}));};};let _0x523ec5=class extends _0x40624a[_0x295e11(0x40a)]{constructor(_0x53a2aa,_0x24400c,_0x3f2398,_0x2540fd,_0x54a51d,_0xd0d4ed,_0x2b9b4e,_0x5eabde){const _0x4de1b5=_0x295e11;super(),_0x9020b(this,_0x4de1b5(0x43f),!0x1),_0x9020b(this,_0x4de1b5(0x4a0),!0x1),_0x9020b(this,'_cursorInfo$',new _0x5b38f4[(_0x4de1b5(0x21d))](new Map())),_0x9020b(this,_0x4de1b5(0x3cc),this[_0x4de1b5(0x26e)]['asObservable']()),_0x9020b(this,'_roomMembers$',new _0x5b38f4['BehaviorSubject']([])),_0x9020b(this,_0x4de1b5(0x334),this[_0x4de1b5(0x4ad)][_0x4de1b5(0x32d)](_0x5b38f4[_0x4de1b5(0x376)](_0x5b2ea1))),_0x9020b(this,'_updateLocalCursor',_0x40624a[_0x4de1b5(0x219)]((_0x49fedb,_0x3f8233)=>{const _0x170276=_0x4de1b5,_0xe1c0d2={'eventID':_0x2c324c[_0x170276(0x37d)][_0x170276(0x499)],'data':{'unitID':this[_0x170276(0x298)],'memberID':this[_0x170276(0x2ba)][_0x170276(0x1e4)](),'selection':_0x100a4f['serializeRangeWithSheet'](_0x49fedb,_0x3f8233[_0x170276(0x2a3)])}};this[_0x170276(0x2ba)][_0x170276(0x3c6)](_0xe1c0d2,this[_0x170276(0x298)]);},_0x1f1062)),(this[_0x4de1b5(0x298)]=_0x53a2aa,this[_0x4de1b5(0x2ba)]=_0x24400c,this[_0x4de1b5(0x351)]=_0x3f2398,this[_0x4de1b5(0x28f)]=_0x2540fd,this[_0x4de1b5(0x390)]=_0x54a51d,this['_univerInstanceService']=_0xd0d4ed,this[_0x4de1b5(0x3ee)]=_0x2b9b4e,this[_0x4de1b5(0x1d4)]=_0x5eabde);}get[_0x295e11(0x32f)](){const _0x5db136=_0x295e11;return this[_0x5db136(0x26e)][_0x5db136(0x337)]();}get[_0x295e11(0x283)](){const _0x330254=_0x295e11;return this[_0x330254(0x4ad)][_0x330254(0x337)]();}[_0x295e11(0x3d1)](){const _0x51655=_0x295e11;super[_0x51655(0x3d1)](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0x51655(0x23c)](),this['_roomMembers$'][_0x51655(0x2d3)]([]),this[_0x51655(0x4ad)][_0x51655(0x23c)]();}[_0x295e11(0x3ec)](){const _0x1ee9a5=_0x295e11;this['_init']||(this[_0x1ee9a5(0x4a0)]=!0x0,this[_0x1ee9a5(0x2ba)]['sessionStatus$'][_0x1ee9a5(0x32d)](_0x5b38f4[_0x1ee9a5(0x491)](this[_0x1ee9a5(0x2ff)]))['subscribe'](_0x1cb913=>{const _0x3a2a11=_0x1ee9a5;_0x1cb913===_0x3958ea['SessionStatus'][_0x3a2a11(0x204)]?this['_toggleOnline']():this[_0x3a2a11(0x2ec)]();}),this[_0x1ee9a5(0x2ba)][_0x1ee9a5(0x1d3)][_0x1ee9a5(0x32d)](_0x5b38f4[_0x1ee9a5(0x491)](this[_0x1ee9a5(0x2ff)]))[_0x1ee9a5(0x4af)](_0x18ca13=>{const _0x4be13e=_0x1ee9a5,_0x9171fb=_0x18ca13[_0x4be13e(0x371)];_0x9171fb===_0x2c324c[_0x4be13e(0x37d)]['UPDATE_CURSOR']&&this[_0x4be13e(0x28e)](_0x18ca13),_0x9171fb===_0x2c324c[_0x4be13e(0x37d)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x18ca13);}),this['_onRefRangeChange'](),this[_0x1ee9a5(0x2bc)](this[_0x1ee9a5(0x3ee)][_0x1ee9a5(0x342)](_0x548dff=>{const _0x447cef=_0x1ee9a5;if(this[_0x447cef(0x43f)]&&_0x548dff['id']===_0x411621[_0x447cef(0x483)]['id']&&_0x548dff['params']['unitId']===this[_0x447cef(0x298)]){const _0x2c7fef=_0x548dff[_0x447cef(0x1d6)];this[_0x447cef(0x364)](_0x2c7fef[_0x447cef(0x496)],_0x2c7fef['selections'][0x0]);}})));}['_onCursorUpdate'](_0x87c3c5){const _0x3f3f45=_0x295e11;var _0x29d61d,_0x3037ea;const {memberID:_0x3dddac,selection:_0x5c1174}=_0x87c3c5[_0x3f3f45(0x38e)],{sheetName:_0x186d70,range:_0x1d0ca4}=_0x100a4f[_0x3f3f45(0x1cb)](_0x5c1174),_0x286a83={'name':(_0x3037ea=(_0x29d61d=this['_memberService']['getMember'](this[_0x3f3f45(0x298)],_0x3dddac))==null?void 0x0:_0x29d61d[_0x3f3f45(0x2b2)])!=null?_0x3037ea:_0x3f3f45(0x405),'range':this[_0x3f3f45(0x3f3)](_0x186d70,_0x1d0ca4),'sheetID':_0x186d70,'color':this['_colorAssignService'][_0x3f3f45(0x39f)](_0x3dddac),'selection':_0x5c1174},_0x1592bc=this[_0x3f3f45(0x32f)];_0x1592bc[_0x3f3f45(0x370)](_0x3dddac,_0x286a83),this[_0x3f3f45(0x26e)][_0x3f3f45(0x2d3)](_0x1592bc);}[_0x295e11(0x3bb)](_0x42e49c){const _0x3a547d=_0x295e11,{memberID:_0x23401b}=_0x42e49c[_0x3a547d(0x38e)],_0x2b9a20=this[_0x3a547d(0x32f)];_0x2b9a20[_0x3a547d(0x240)](_0x23401b),this[_0x3a547d(0x26e)][_0x3a547d(0x2d3)](_0x2b9a20);}['_getMergeRange'](_0x3faf14,_0x355ecf){const _0x32e5b4=_0x295e11;var _0x3ac723,_0x5c18f7;const _0x370291=(_0x5c18f7=(_0x3ac723=this[_0x32e5b4(0x3ba)][_0x32e5b4(0x445)](this[_0x32e5b4(0x298)]))==null?void 0x0:_0x3ac723[_0x32e5b4(0x3e2)](_0x3faf14))==null?void 0x0:_0x5c18f7[_0x32e5b4(0x484)]();return(_0x370291==null?void 0x0:_0x370291[_0x32e5b4(0x43c)](_0x1db291=>_0x40624a['Rectangle'][_0x32e5b4(0x468)](_0x1db291,_0x355ecf)))||_0x355ecf;}[_0x295e11(0x3c0)](){const _0x3dd950=_0x295e11,_0x2fc688=new _0x40624a[(_0x3dd950(0x3d3))](),_0x3e7019=_0x5e4f08(),_0x14352a=()=>{const _0x4a07d2=_0x3dd950;_0x2fc688[_0x4a07d2(0x3d1)]();const _0x38dcf1=(_0x27614d,_0x5b7305,_0xeb9f68,_0x4bea2e)=>{const _0x541b19=_0x4a07d2;let _0x3c566f=[];switch(_0x27614d['id']){case _0x411621[_0x541b19(0x36e)][_0x541b19(0x3eb)]:{_0x3c566f=_0x411621['handleDeleteRangeMoveLeft'](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)][_0x541b19(0x366)]:{_0x3c566f=_0x411621['handleDeleteRangeMoveUp'](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)]['InsertColCommandId']:{_0x3c566f=_0x411621['handleInsertCol'](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)][_0x541b19(0x3d5)]:{_0x3c566f=_0x411621[_0x541b19(0x448)](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)][_0x541b19(0x410)]:{_0x3c566f=_0x411621[_0x541b19(0x203)](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)][_0x541b19(0x1e3)]:{_0x3c566f=_0x411621['handleInsertRow'](_0x27614d,_0x4bea2e);break;}case _0x411621['EffectRefRangId'][_0x541b19(0x49c)]:{_0x3c566f=_0x411621['handleMoveRange'](_0x27614d,_0x4bea2e);break;}case _0x411621['EffectRefRangId'][_0x541b19(0x291)]:{_0x3c566f=_0x411621[_0x541b19(0x394)](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)][_0x541b19(0x2ac)]:{_0x3c566f=_0x411621['handleIRemoveRow'](_0x27614d,_0x4bea2e);break;}}const _0x1dc816=_0x411621[_0x541b19(0x349)](_0x3c566f,_0x4bea2e),_0x553b3b=this[_0x541b19(0x32f)][_0x541b19(0x1de)](_0x5b7305);if(_0x553b3b&&_0x1dc816){const _0x441a82={..._0x553b3b,'range':_0x1dc816};this[_0x541b19(0x32f)][_0x541b19(0x370)](_0x5b7305,_0x441a82),_0x3e7019(()=>{const _0xa2c807=_0x541b19,_0x2af9fc=this['_refRangeService'][_0xa2c807(0x28c)](_0x1dc816,_0x255a80=>(_0x2af9fc[_0xa2c807(0x3d1)](),_0x38dcf1(_0x255a80,_0x5b7305,_0xeb9f68,_0x1dc816)));_0x2fc688[_0xa2c807(0x372)](_0x2af9fc);});}return{'redos':[],'undos':[]};};this[_0x4a07d2(0x32f)]['forEach']((_0x4709cc,_0x29775a)=>{const _0x13693f=_0x4a07d2,{range:_0x35ece7,sheetID:_0x488596}=_0x4709cc,_0x4b64f4=this['_refRangeService']['registerRefRange'](_0x35ece7,_0x4d7a1e=>(_0x4b64f4[_0x13693f(0x3d1)](),_0x38dcf1(_0x4d7a1e,_0x29775a,_0x488596,_0x35ece7)));_0x2fc688[_0x13693f(0x372)](_0x4b64f4);});};this[_0x3dd950(0x2bc)](_0x40624a[_0x3dd950(0x381)](this[_0x3dd950(0x26e)]['subscribe'](()=>{_0x14352a();})));}['_toggleOnline'](){const _0x5b511a=_0x295e11;var _0x54caf1,_0x32f729;if(this[_0x5b511a(0x43f)]=!0x0,((_0x54caf1=this[_0x5b511a(0x3ba)]['getFocusedUnit']())==null?void 0x0:_0x54caf1['getUnitId']())!==this[_0x5b511a(0x298)])return;const _0x2e7bb4=(_0x32f729=this[_0x5b511a(0x351)]['get'](_0x411621[_0x5b511a(0x2df)])[_0x5b511a(0x293)]())==null?void 0x0:_0x32f729[0x0],_0x3bfa3f=this['_univerInstanceService'][_0x5b511a(0x1bf)](_0x40624a[_0x5b511a(0x260)][_0x5b511a(0x29c)])[_0x5b511a(0x3de)]();_0x2e7bb4&&_0x3bfa3f&&this['_updateLocalCursor'](_0x3bfa3f[_0x5b511a(0x287)](),_0x2e7bb4);}[_0x295e11(0x2ec)](){const _0x497efa=_0x295e11;this[_0x497efa(0x43f)]=!0x1;}};_0x523ec5=_0x41cedf([_0x1b052f(0x2,_0x40624a['Inject'](_0x40624a[_0x295e11(0x474)])),_0x1b052f(0x3,_0x40624a[_0x295e11(0x33d)](_0x2d4f99)),_0x1b052f(0x4,_0x40624a[_0x295e11(0x33d)](_0x3958ea['MemberService'])),_0x1b052f(0x5,_0x40624a[_0x295e11(0x2e4)]),_0x1b052f(0x6,_0x40624a['ICommandService']),_0x1b052f(0x7,_0x40624a[_0x295e11(0x33d)](_0x411621['RefRangeService']))],_0x523ec5);var _0x8ceac4=Object['getOwnPropertyDescriptor'],_0x38c744=(_0x3ce998,_0x472e3d,_0x40cea5,_0x515c8b)=>{const _0x358e43=_0x295e11;for(var _0x43f0a4=_0x515c8b>0x1?void 0x0:_0x515c8b?_0x8ceac4(_0x472e3d,_0x40cea5):_0x472e3d,_0x3b0205=_0x3ce998[_0x358e43(0x1c4)]-0x1,_0x3eed05;_0x3b0205>=0x0;_0x3b0205--)(_0x3eed05=_0x3ce998[_0x3b0205])&&(_0x43f0a4=_0x3eed05(_0x43f0a4)||_0x43f0a4);return _0x43f0a4;},_0x335a40=(_0xb7f342,_0xad2926)=>(_0x5f6054,_0x5c85bd)=>_0xad2926(_0x5f6054,_0x5c85bd,_0xb7f342);let _0x2e9070=class extends _0x40624a[_0x295e11(0x40a)]{constructor(_0x1fe412,_0x2f10d2,_0x6027a5){const _0x27065e=_0x295e11;super(),_0x9020b(this,_0x27065e(0x2e1),new Map()),_0x9020b(this,'_entityInit$',new _0x5b38f4[(_0x27065e(0x3e9))]()),(this[_0x27065e(0x3ba)]=_0x1fe412,this['_injector']=_0x2f10d2,this[_0x27065e(0x40d)]=_0x6027a5,this['_init']());}['dispose'](){const _0xac6d81=_0x295e11;super[_0xac6d81(0x3d1)](),this[_0xac6d81(0x2b5)][_0xac6d81(0x23c)](),this['_entities'][_0xac6d81(0x24d)](_0x5a20f7=>_0x5a20f7[_0xac6d81(0x3d1)]());}[_0x295e11(0x359)](_0x149a78){const _0x5d499f=_0x295e11;return this[_0x5d499f(0x2e1)][_0x5d499f(0x248)](_0x149a78)?this['_entities'][_0x5d499f(0x1de)](_0x149a78)[_0x5d499f(0x3cc)]:this[_0x5d499f(0x2b5)]['pipe'](_0x5b38f4['filter'](_0x436759=>_0x436759[_0x5d499f(0x298)]===_0x149a78),_0x5b38f4[_0x5d499f(0x426)](_0x2db1ba=>_0x2db1ba[_0x5d499f(0x3cc)]));}[_0x295e11(0x4a0)](){const _0x45d9db=_0x295e11;this['_univerInstanceService'][_0x45d9db(0x324)](_0x40624a[_0x45d9db(0x260)][_0x45d9db(0x29c)])['pipe'](_0x5b38f4[_0x45d9db(0x491)](this[_0x45d9db(0x2ff)]))[_0x45d9db(0x4af)](async _0xfc322c=>{const _0x53a854=_0x45d9db,_0x3d0a6e=_0xfc322c['getUnitId'](),_0x44e0cb=await this[_0x53a854(0x452)](_0x3d0a6e);this[_0x53a854(0x2b5)]['next'](_0x44e0cb),this[_0x53a854(0x2e1)][_0x53a854(0x370)](_0x3d0a6e,_0x44e0cb);}),this[_0x45d9db(0x3ba)][_0x45d9db(0x324)](_0x40624a['UniverInstanceType'][_0x45d9db(0x36a)])[_0x45d9db(0x32d)](_0x5b38f4[_0x45d9db(0x491)](this[_0x45d9db(0x2ff)]))[_0x45d9db(0x32d)](_0x5b38f4['filter'](_0x17f7b2=>!_0x17f7b2['getUnitId']()[_0x45d9db(0x3b8)]('__')))[_0x45d9db(0x4af)](async _0x56497d=>{const _0x12becb=_0x45d9db,_0x5e5339=_0x56497d[_0x12becb(0x310)](),_0x237dc5=await this[_0x12becb(0x3ed)](_0x5e5339);this['_entityInit$']['next'](_0x237dc5),this[_0x12becb(0x2e1)][_0x12becb(0x370)](_0x5e5339,_0x237dc5);}),_0x5b38f4['merge'](this['_univerInstanceService'][_0x45d9db(0x48a)](_0x40624a[_0x45d9db(0x260)]['UNIVER_DOC']),this[_0x45d9db(0x3ba)][_0x45d9db(0x48a)](_0x40624a[_0x45d9db(0x260)][_0x45d9db(0x29c)]))[_0x45d9db(0x32d)](_0x5b38f4[_0x45d9db(0x491)](this['dispose$']))['subscribe'](_0x5f42bb=>{const _0x3de874=_0x45d9db,_0x1565e2=_0x5f42bb[_0x3de874(0x310)](),_0x3b3ee7=this[_0x3de874(0x2e1)]['get'](_0x1565e2);_0x3b3ee7&&(_0x3b3ee7[_0x3de874(0x3d1)](),this[_0x3de874(0x2e1)]['delete'](_0x1565e2));});}async[_0x295e11(0x452)](_0x304ffd){const _0x41cbe8=_0x295e11,_0x31eff5=await this['_collabSessionService']['requireSession'](_0x304ffd),_0x11c5dc=this[_0x41cbe8(0x351)]['createInstance'](_0x523ec5,_0x304ffd,_0x31eff5);return _0x11c5dc[_0x41cbe8(0x3ec)](),_0x11c5dc;}async[_0x295e11(0x3ed)](_0x33df58){const _0x327ee5=_0x295e11,_0x280772=await this[_0x327ee5(0x40d)]['requireSession'](_0x33df58),_0x25430d=this[_0x327ee5(0x351)][_0x327ee5(0x24a)](_0x3890dd,_0x33df58,_0x280772);return _0x25430d[_0x327ee5(0x3ec)](),_0x25430d;}};_0x2e9070=_0x38c744([_0x335a40(0x0,_0x40624a['IUniverInstanceService']),_0x335a40(0x1,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x474)])),_0x335a40(0x2,_0x40624a[_0x295e11(0x33d)](_0x3958ea[_0x295e11(0x25b)]))],_0x2e9070);const _0x35613d=0x14,_0x4d8d40=0xc8,_0x5d5c87=0x4,_0x928588=0x5;function _0x152066(_0x2e4cb0,_0x14e90d){const _0x2fccec=_0x295e11;let {radius:_0x269c10,width:_0x1b13f7,height:_0x1d1e5d}=_0x14e90d;_0x269c10=_0x269c10!=null?_0x269c10:0x0,_0x1b13f7=_0x1b13f7!=null?_0x1b13f7:0x1e,_0x1d1e5d=_0x1d1e5d!=null?_0x1d1e5d:0x1e;let _0x36d24f=0x0,_0x4f65a7=0x0,_0x1a9e46=0x0;_0x36d24f=_0x4f65a7=_0x1a9e46=Math[_0x2fccec(0x358)](_0x269c10,_0x1b13f7/0x2,_0x1d1e5d/0x2),_0x2e4cb0[_0x2fccec(0x2f6)](),_0x2e4cb0[_0x2fccec(0x227)](_0x36d24f,0x0),_0x2e4cb0[_0x2fccec(0x3ae)](_0x1b13f7-_0x4f65a7,0x0),_0x2e4cb0[_0x2fccec(0x437)](_0x1b13f7-_0x4f65a7,_0x4f65a7,_0x4f65a7,Math['PI']*0x3/0x2,0x0,!0x1),_0x2e4cb0[_0x2fccec(0x3ae)](_0x1b13f7,_0x1d1e5d-_0x1a9e46),_0x2e4cb0[_0x2fccec(0x437)](_0x1b13f7-_0x1a9e46,_0x1d1e5d-_0x1a9e46,_0x1a9e46,0x0,Math['PI']/0x2,!0x1),_0x2e4cb0['lineTo'](0x0,_0x1d1e5d),_0x2e4cb0[_0x2fccec(0x3ae)](0x0,_0x36d24f),_0x2e4cb0['arc'](_0x36d24f,_0x36d24f,_0x36d24f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2e4cb0[_0x2fccec(0x4a4)](),_0x14e90d[_0x2fccec(0x1c1)]&&(_0x2e4cb0[_0x2fccec(0x2d8)](),_0x2e4cb0[_0x2fccec(0x2c5)]=_0x14e90d['fill'],_0x14e90d[_0x2fccec(0x377)]===_0x2fccec(0x2c2)?_0x2e4cb0['fill']('evenodd'):_0x2e4cb0['fill'](),_0x2e4cb0[_0x2fccec(0x46a)]());}class _0x368cae extends _0x2680b3[_0x295e11(0x374)]{constructor(_0x27b948,_0x4ca0a7){const _0x3114c7=_0x295e11;super(_0x27b948,_0x4ca0a7),_0x9020b(this,'color'),_0x9020b(this,'text'),(this[_0x3114c7(0x4ae)]=_0x4ca0a7==null?void 0x0:_0x4ca0a7['color'],this[_0x3114c7(0x1d7)]=_0x4ca0a7==null?void 0x0:_0x4ca0a7['text']);}static[_0x295e11(0x47d)](_0x445bf8,_0x5820cc){const _0x5aeba8=_0x295e11,{text:_0xd0a2bb,color:_0xa74210}=_0x5820cc;_0x445bf8['save'](),_0x445bf8[_0x5aeba8(0x451)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x538f99=_0x445bf8[_0x5aeba8(0x31b)](_0xd0a2bb)['width'],_0x315024=Math[_0x5aeba8(0x358)](_0x538f99+0x2*_0x5d5c87,_0x4d8d40);_0x152066(_0x445bf8,{'height':_0x35613d,'radius':0x4,'width':_0x315024,'fill':_0xa74210}),_0x445bf8[_0x5aeba8(0x2c5)]=_0x5aeba8(0x2e3);const _0x2bb98d=_0x5d5c87,_0x3af4ce=_0x35613d-_0x928588,_0x463771=_0x4d8d40-0x2*_0x5d5c87;if(_0x538f99>_0x463771){let _0x227587='',_0x136a12=0x0;for(const _0x3497a6 of _0xd0a2bb){const _0x580044=_0x445bf8[_0x5aeba8(0x31b)](_0x3497a6)['width'];if(_0x136a12+_0x580044<=_0x463771-_0x445bf8[_0x5aeba8(0x31b)](_0x5aeba8(0x270))[_0x5aeba8(0x1da)])_0x227587+=_0x3497a6,_0x136a12+=_0x580044;else{_0x227587+=_0x5aeba8(0x270);break;}}_0x445bf8['fillText'](_0x227587,_0x2bb98d,_0x3af4ce);}else _0x445bf8[_0x5aeba8(0x40b)](_0xd0a2bb,_0x2bb98d,_0x3af4ce);_0x445bf8['restore']();}[_0x295e11(0x4b5)](_0x2c41da){_0x368cae['drawWith'](_0x2c41da,this);}}const _0x468e62=_0x295e11(0x304),_0x4c3fbd='collab-text-range-',_0x2981df=_0x295e11(0x2b7),_0x62891c=0x6,_0x5e2caf=1.5,_0x322d6c=0x4,_0x3c6dc7=1.5,_0x32fbe1=_0x295e11(0x40e);class _0x49aed0{constructor(_0x3e776c,_0x430368,_0x167092,_0xf17f62){const _0x3ff88a=_0x295e11;_0x9020b(this,_0x3ff88a(0x2ed),[]),_0x9020b(this,_0x3ff88a(0x480),null),_0x9020b(this,_0x3ff88a(0x3c8),null),_0x9020b(this,'_anchorDot',null),_0x9020b(this,'_hideTimer',null),_0x9020b(this,'_eventUnsubscribe',null),(this[_0x3ff88a(0x317)]=_0x3e776c,this[_0x3ff88a(0x36f)]=_0x430368,this[_0x3ff88a(0x41d)]=_0x167092,this[_0x3ff88a(0x31c)]=_0xf17f62,this[_0x3ff88a(0x369)]());}set[_0x295e11(0x3f8)](_0x4b3ea7){const _0x50fa72=_0x295e11;_0x4b3ea7?(this[_0x50fa72(0x42f)]&&this[_0x50fa72(0x42f)][_0x50fa72(0x3d6)](),this[_0x50fa72(0x3c8)]&&this[_0x50fa72(0x3c8)][_0x50fa72(0x344)]()):(this[_0x50fa72(0x42f)]&&this[_0x50fa72(0x42f)]['show'](),this[_0x50fa72(0x3c8)]&&this[_0x50fa72(0x3c8)][_0x50fa72(0x3d6)]());}['dispose'](){const _0x47c638=_0x295e11;for(const _0x453e76 of this[_0x47c638(0x2ed)])_0x453e76[_0x47c638(0x3d1)]();this['_textBubble']&&this['_textBubble'][_0x47c638(0x3d1)](),this[_0x47c638(0x42f)]&&this['_anchorDot'][_0x47c638(0x3d1)](),this[_0x47c638(0x480)]&&this['_anchor'][_0x47c638(0x3d1)](),this['_eventUnsubscribe']&&this[_0x47c638(0x498)]();}[_0x295e11(0x369)](){const _0x5cd4d=_0x295e11;var _0x21cf32;const {_docSkeleton:_0x2ca938,_document:_0x4e101f}=this,{color:_0x163d4b,name:_0x4f2a64,ranges:_0x2bed12}=this['_cursor'],_0x15de3b=_0x4e101f['getOffsetConfig'](),{docsLeft:_0x514a42,docsTop:_0x513a56}=_0x15de3b,_0x135c20=new _0x118be2['NodePositionConvertToCursor'](_0x15de3b,_0x2ca938);for(const {startOffset:_0xa4fd9f,endOffset:_0x1686cf,rangeType:_0xfcb2f6,segmentId:_0x1a4ea1,segmentPage:_0x3a58d4,collapsed:_0x109dd8,isActive:_0x26afd8}of _0x2bed12){const _0x470543=_0x2ca938[_0x5cd4d(0x22c)](_0xa4fd9f,!0x0,_0x1a4ea1,_0x3a58d4);let _0xf8a32d=_0x2ca938['findNodePositionByCharIndex'](_0x1686cf,!0x0,_0x1a4ea1,_0x3a58d4);if(_0xf8a32d==null&&(_0xf8a32d=_0x2ca938[_0x5cd4d(0x22c)](_0x1686cf-0x1,!0x1,_0x1a4ea1,_0x3a58d4)),_0x26afd8){const {contentBoxPointGroup:_0x6336de}=_0x135c20['getRangePointData'](_0xf8a32d,_0xf8a32d);if(_0x6336de['length']===0x0)continue;this[_0x5cd4d(0x25e)](_0x163d4b,_0x6336de,_0x514a42,_0x513a56,_0x4f2a64),this[_0x5cd4d(0x498)]=this[_0x5cd4d(0x2a8)]();}if(_0x470543&&_0xf8a32d){if(_0xfcb2f6===_0x40624a[_0x5cd4d(0x48e)][_0x5cd4d(0x38a)]){const _0x33c0cc=new _0x118be2[(_0x5cd4d(0x252))](_0x15de3b,_0x2ca938),{pointGroup:_0x28855b}=(_0x21cf32=_0x33c0cc['getRangePointData'](_0x470543,_0xf8a32d))!=null?_0x21cf32:{};if(_0x28855b==null||_0x28855b[_0x5cd4d(0x1c4)]===0x0)continue;this['_drawRectRange'](_0x163d4b,_0x28855b,_0x514a42,_0x513a56);}else{if(!_0x109dd8){const {borderBoxPointGroup:_0x24e0f6}=_0x135c20['getRangePointData'](_0x470543,_0xf8a32d);if(_0x24e0f6[_0x5cd4d(0x1c4)]===0x0)continue;this[_0x5cd4d(0x38d)](_0x163d4b,_0x24e0f6,_0x514a42,_0x513a56);}}}}}[_0x295e11(0x25e)](_0x1a7a43,_0x25207f,_0x1963bf,_0x50f52c,_0x11b189){const _0x55992b=_0x295e11,_0x36e174=this[_0x55992b(0x2e7)](_0x25207f),{left:_0x9f5970,top:_0x33308c,height:_0x2e5b09}=_0x36e174,_0x476ad1=this[_0x55992b(0x26f)](),_0x5b273c=_0x3c6dc7/_0x476ad1,_0x83d532=new _0x2680b3[(_0x55992b(0x1c6))](_0x468e62+_0x40624a[_0x55992b(0x2d5)](_0x62891c),{'left':_0x9f5970+_0x1963bf-_0x5b273c,'top':_0x33308c+_0x50f52c,'height':_0x2e5b09,'width':_0x5e2caf,'fill':_0x1a7a43||_0x2680b3[_0x55992b(0x2cf)](_0x40624a[_0x55992b(0x2f3)][_0x55992b(0x3c1)],0x0),'strokeWidth':_0x5b273c,'stroke':_0x32fbe1,'evented':!0x0});this['_anchor']=_0x83d532,this[_0x55992b(0x36f)][_0x55992b(0x1ee)](_0x83d532,_0x118be2['TEXT_RANGE_LAYER_INDEX']);const _0x4a2a75=new _0x2680b3[(_0x55992b(0x1c6))](_0x468e62+_0x40624a[_0x55992b(0x2d5)](_0x62891c),{'left':_0x9f5970+_0x1963bf-_0x5b273c,'top':_0x33308c+_0x50f52c-_0x322d6c/0x2,'height':_0x322d6c,'width':_0x322d6c,'fill':_0x1a7a43||_0x2680b3[_0x55992b(0x2cf)](_0x40624a[_0x55992b(0x2f3)][_0x55992b(0x3c1)],0x0),'strokeWidth':0x0,'stroke':_0x1a7a43||_0x2680b3[_0x55992b(0x2cf)](_0x40624a[_0x55992b(0x2f3)][_0x55992b(0x3c1)],0x0),'evented':!0x1});this[_0x55992b(0x42f)]=_0x4a2a75,this['_scene'][_0x55992b(0x1ee)](_0x4a2a75,_0x118be2[_0x55992b(0x35a)]);const _0x452e1b=new _0x368cae(_0x468e62+_0x40624a[_0x55992b(0x2d5)](_0x62891c),{'left':_0x9f5970+_0x1963bf-_0x5b273c,'top':_0x33308c+_0x50f52c-_0x35613d,'text':_0x11b189,'color':_0x1a7a43});this[_0x55992b(0x3c8)]=_0x452e1b,this[_0x55992b(0x36f)][_0x55992b(0x1ee)](_0x452e1b,_0x118be2[_0x55992b(0x35a)]),this[_0x55992b(0x3f8)]=!0x1;}[_0x295e11(0x2a8)](){const _0x45e073=_0x295e11,_0x45d74c=this[_0x45e073(0x480)]['onPointerEnter$'][_0x45e073(0x241)](()=>{const _0x428c75=_0x45e073;this[_0x428c75(0x3f8)]=!0x0;}),_0x4a1017=this['_anchor'][_0x45e073(0x29d)][_0x45e073(0x241)](()=>{const _0x13a8ac=_0x45e073;this[_0x13a8ac(0x353)]&&clearTimeout(this[_0x13a8ac(0x353)]),this[_0x13a8ac(0x353)]=setTimeout(()=>{const _0x22d42e=_0x13a8ac;this[_0x22d42e(0x3f8)]=!0x1;},0x7d0);});return()=>{const _0x6ba1db=_0x45e073;_0x45d74c[_0x6ba1db(0x497)](),_0x4a1017['unsubscribe']();};}['_drawTextRange'](_0x51e650,_0x2677dc,_0x4295c3,_0x240818){const _0x2168d1=_0x295e11,_0x3e206b=new _0x40624a[(_0x2168d1(0x3fa))](_0x51e650)[_0x2168d1(0x22d)](0.2)['toRgbString'](),_0x3e5796=new _0x2680b3['RegularPolygon'](_0x4c3fbd+_0x40624a['generateRandomId'](_0x62891c),{'pointsGroup':_0x2677dc,'fill':_0x3e206b||_0x2680b3['getColor'](_0x40624a[_0x2168d1(0x2f3)][_0x2168d1(0x3c1)],0.2),'left':_0x4295c3,'top':_0x240818,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2168d1(0x2ed)][_0x2168d1(0x2f0)](_0x3e5796),this['_scene'][_0x2168d1(0x1ee)](_0x3e5796,_0x118be2[_0x2168d1(0x35a)]);}[_0x295e11(0x42d)](_0x37adb3,_0x1484a6,_0x1375a1,_0x47744a){const _0xc0a53=_0x295e11,_0x1704ee=new _0x40624a[(_0xc0a53(0x3fa))](_0x37adb3)[_0xc0a53(0x22d)](0.2)[_0xc0a53(0x3d0)](),_0x57683d=new _0x2680b3[(_0xc0a53(0x4a1))](_0x2981df+_0x40624a['generateRandomId'](_0x62891c),{'pointsGroup':_0x1484a6,'fill':_0x1704ee||_0x2680b3[_0xc0a53(0x2cf)](_0x40624a['COLORS'][_0xc0a53(0x3c1)],0.2),'left':_0x1375a1,'top':_0x47744a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc0a53(0x2ed)][_0xc0a53(0x2f0)](_0x57683d),this[_0xc0a53(0x36f)]['addObject'](_0x57683d,_0x118be2[_0xc0a53(0x35a)]);}[_0x295e11(0x2e7)](_0x36430a){const _0x169476=_0x36430a[0x0],_0x3d5c78=_0x169476[0x0],_0x4afe71=_0x169476[0x2],{x:_0x3007fc,y:_0x47a6ab}=_0x3d5c78,{x:_0x66f2e9,y:_0x28a6a5}=_0x4afe71;return{'left':_0x3007fc,'top':_0x47a6ab,'width':_0x66f2e9-_0x3007fc,'height':_0x28a6a5-_0x47a6ab};}[_0x295e11(0x26f)](){const _0x574867=_0x295e11,{scaleX:_0x2b11c8,scaleY:_0x16a6d8}=this[_0x574867(0x36f)][_0x574867(0x457)]();return Math['max'](_0x2b11c8,_0x16a6d8);}}var _0x5d8036=Object[_0x295e11(0x3a0)],_0x48f02f=(_0x422e3a,_0x362264,_0x13f3a5,_0x2e4ea6)=>{for(var _0x33c8e4=_0x2e4ea6>0x1?void 0x0:_0x2e4ea6?_0x5d8036(_0x362264,_0x13f3a5):_0x362264,_0x1a7f33=_0x422e3a['length']-0x1,_0x2971e7;_0x1a7f33>=0x0;_0x1a7f33--)(_0x2971e7=_0x422e3a[_0x1a7f33])&&(_0x33c8e4=_0x2971e7(_0x33c8e4)||_0x33c8e4);return _0x33c8e4;},_0x509c49=(_0x3cb66e,_0x9d9ea8)=>(_0x28d023,_0x355064)=>_0x9d9ea8(_0x28d023,_0x355064,_0x3cb66e);let _0x2faf05=class extends _0x40624a['RxDisposable']{constructor(_0x53e963,_0x1a36ed,_0x57a9c0,_0x6b714b,_0x42fc37){const _0x3ded4d=_0x295e11;super(),_0x9020b(this,_0x3ded4d(0x2b8),[]),_0x9020b(this,'_cursors',[]),(this['_context']=_0x53e963,this['_docSkeletonManagerService']=_0x1a36ed,this[_0x3ded4d(0x3ce)]=_0x57a9c0,this[_0x3ded4d(0x3ee)]=_0x6b714b,this[_0x3ded4d(0x24c)]=_0x42fc37,this[_0x3ded4d(0x4a0)]());}[_0x295e11(0x4a0)](){const _0x978927=_0x295e11,_0x19672e=this[_0x978927(0x2d2)]['unitId'],_0x193287=this[_0x978927(0x3e4)];this[_0x978927(0x2bc)](_0x5b38f4[_0x978927(0x4b0)]([this[_0x978927(0x3ce)][_0x978927(0x359)](_0x19672e),this['_themeService'][_0x978927(0x303)]])[_0x978927(0x32d)](_0x23a207[_0x978927(0x361)](([_0x36f1eb,_0x40f003])=>({'skeleton':_0x193287[_0x978927(0x25a)](),'cursors':[..._0x36f1eb[_0x978927(0x3aa)]()][_0x978927(0x1d5)](_0x4164e5=>({..._0x4164e5,'color':this[_0x978927(0x24c)][_0x978927(0x2c1)](_0x4164e5[_0x978927(0x4ae)])}))})))[_0x978927(0x4af)](_0x4d355d=>{const _0x533a3f=_0x978927;if(this['_removeCollabCursors'](),_0x4d355d){const {skeleton:_0x4a9044,cursors:_0x2ac6ff}=_0x4d355d;this[_0x533a3f(0x285)](_0x4a9044,_0x2ac6ff);}})),this['_initResize'](),this[_0x978927(0x266)]();}[_0x295e11(0x285)](_0x5c235d,_0x1d1800){const _0x105a3b=_0x295e11,{scene:_0x248cf8,mainComponent:_0x51f349}=this[_0x105a3b(0x2d2)],_0x47dffe=_0x1d1800['map'](_0x443027=>new _0x49aed0(_0x443027,_0x248cf8,_0x5c235d,_0x51f349));this[_0x105a3b(0x2b8)]=_0x47dffe,this[_0x105a3b(0x1f0)]=_0x1d1800;}[_0x295e11(0x3df)](){const _0x5a1911=_0x295e11;this[_0x5a1911(0x2cd)]();const {scene:_0x2c9fc9,mainComponent:_0x21bc0d}=this[_0x5a1911(0x2d2)],_0x3eb528=this[_0x5a1911(0x3e4)][_0x5a1911(0x25a)](),_0x237ef4=this[_0x5a1911(0x1f0)][_0x5a1911(0x361)](_0x477e92=>new _0x49aed0(_0x477e92,_0x2c9fc9,_0x3eb528,_0x21bc0d));this['_cursorShapes']=_0x237ef4;}[_0x295e11(0x2cd)](){const _0x548f61=_0x295e11;this[_0x548f61(0x2b8)][_0x548f61(0x24d)](_0x569084=>_0x569084['dispose']()),this[_0x548f61(0x2b8)]=[];}[_0x295e11(0x266)](){const _0x503524=_0x295e11,_0x4a1537=[_0x118be2[_0x503524(0x409)]['id']];this[_0x503524(0x2bc)](this['_commandService'][_0x503524(0x342)](_0x328b7a=>{const _0x22c2ba=_0x503524;_0x4a1537[_0x22c2ba(0x48d)](_0x328b7a['id'])&&_0x328b7a[_0x22c2ba(0x1d6)][_0x22c2ba(0x495)]===this['_context'][_0x22c2ba(0x495)]&&this[_0x22c2ba(0x3df)]();}));}[_0x295e11(0x246)](){const _0x375ed4=_0x295e11;this[_0x375ed4(0x2bc)](_0x40624a[_0x375ed4(0x217)](this[_0x375ed4(0x2d2)][_0x375ed4(0x224)]['onTransformChange$'])[_0x375ed4(0x32d)](_0x23a207['filter'](_0x32b4cb=>_0x32b4cb['type']===_0x2680b3[_0x375ed4(0x2e5)][_0x375ed4(0x382)]),_0x23a207[_0x375ed4(0x403)](0x10))[_0x375ed4(0x4af)](()=>{this['_refreshCollabCursors']();}));}};_0x2faf05=_0x48f02f([_0x509c49(0x1,_0x40624a[_0x295e11(0x33d)](_0x3f3b23[_0x295e11(0x416)])),_0x509c49(0x2,_0x40624a['Inject'](_0x2e9070)),_0x509c49(0x3,_0x40624a[_0x295e11(0x31e)]),_0x509c49(0x4,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x436)]))],_0x2faf05);const _0x554bac=0x1,_0x1624fb=1.5;class _0x446f9f extends _0x2680b3['Shape']{constructor(_0x191857,_0x80cea1){const _0x144fc3=_0x295e11;super(_0x191857,_0x80cea1),_0x9020b(this,_0x144fc3(0x33b)),_0x9020b(this,_0x144fc3(0x2d7),!0x1),_0x9020b(this,_0x144fc3(0x352)),_0x9020b(this,'_name',''),_0x9020b(this,_0x144fc3(0x460),'top'),_0x9020b(this,'_backgroundColor'),(_0x80cea1&&this[_0x144fc3(0x1c8)](_0x80cea1),this[_0x144fc3(0x3ab)][_0x144fc3(0x241)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x144fc3(0x241)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x295e11(0x1c8)](_0x22cefa){const _0x265723=_0x295e11;var _0x1051f7,_0x43fa79,_0x51ee62,_0x32f725,_0x5ddcf4,_0xd3418a;this[_0x265723(0x33b)]=(_0x1051f7=_0x22cefa[_0x265723(0x4ae)])!=null?_0x1051f7:this['_color'],this[_0x265723(0x2d7)]=(_0x43fa79=_0x22cefa[_0x265723(0x1fa)])!=null?_0x43fa79:this[_0x265723(0x2d7)],this[_0x265723(0x352)]=(_0x51ee62=_0x22cefa[_0x265723(0x2a3)])!=null?_0x51ee62:this[_0x265723(0x352)],this[_0x265723(0x407)]=(_0x32f725=_0x22cefa[_0x265723(0x2b2)])!=null?_0x32f725:this[_0x265723(0x407)],this[_0x265723(0x460)]=(_0x5ddcf4=_0x22cefa['labelPosition'])!=null?_0x5ddcf4:this[_0x265723(0x460)],this[_0x265723(0x23b)]=(_0xd3418a=_0x22cefa[_0x265723(0x30d)])!=null?_0xd3418a:this['_backgroundColor'],this[_0x265723(0x2cb)]({'width':_0x22cefa['width'],'height':_0x22cefa[_0x265723(0x35d)]});}[_0x295e11(0x1fc)](_0x4b5ca4){const _0x22b833=_0x295e11,{row:_0x26ee95,column:_0x2f75dd}=_0x4b5ca4;if(_0x26ee95>=this[_0x22b833(0x352)][_0x22b833(0x218)]&&_0x26ee95<=this['_range'][_0x22b833(0x421)]&&_0x2f75dd>=this[_0x22b833(0x352)]['startColumn']&&_0x2f75dd<=this[_0x22b833(0x352)][_0x22b833(0x3af)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x22b833(0x1c8)]({'hovered':!0x1});}[_0x295e11(0x2bd)](_0x31d5da){return!0x1;}[_0x295e11(0x4b5)](_0x39c592){const _0x51b4e5=_0x295e11;_0x2680b3[_0x51b4e5(0x1c6)]['drawWith'](_0x39c592,{'width':this[_0x51b4e5(0x1da)],'height':this[_0x51b4e5(0x35d)],'strokeWidth':_0x1624fb,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x51b4e5(0x23b)]}),this[_0x51b4e5(0x2d7)]&&(_0x39c592[_0x51b4e5(0x2d8)](),_0x39c592[_0x51b4e5(0x46e)](0x1,0x0,0x0,0x1,this[_0x51b4e5(0x1da)],this[_0x51b4e5(0x460)]==='bottom'?0x0:-_0x35613d),_0x368cae[_0x51b4e5(0x47d)](_0x39c592,{'text':this['_name'],'color':this[_0x51b4e5(0x33b)]}),_0x39c592[_0x51b4e5(0x46a)]());}}var _0x5d98a5=Object[_0x295e11(0x3a0)],_0x399d1c=(_0x1b7c7b,_0x7b9092,_0x4f1259,_0x3a6867)=>{for(var _0x2c80ca=_0x3a6867>0x1?void 0x0:_0x3a6867?_0x5d98a5(_0x7b9092,_0x4f1259):_0x7b9092,_0x4b6784=_0x1b7c7b['length']-0x1,_0x48b49d;_0x4b6784>=0x0;_0x4b6784--)(_0x48b49d=_0x1b7c7b[_0x4b6784])&&(_0x2c80ca=_0x48b49d(_0x2c80ca)||_0x2c80ca);return _0x2c80ca;},_0x4b97fc=(_0x20a562,_0xab254a)=>(_0x111884,_0x1a5f7c)=>_0xab254a(_0x111884,_0x1a5f7c,_0x20a562);const _0x52502=0x1389;let _0xb986df=class extends _0x40624a[_0x295e11(0x40a)]{constructor(_0x1ee1aa,_0x500f55,_0x1bfc3b,_0x298392){const _0x7aa836=_0x295e11;super(),_0x9020b(this,_0x7aa836(0x1f0),new Set()),_0x9020b(this,_0x7aa836(0x2e0),null),(this[_0x7aa836(0x2d2)]=_0x1ee1aa,this[_0x7aa836(0x3b7)]=_0x500f55,this[_0x7aa836(0x3ce)]=_0x1bfc3b,this[_0x7aa836(0x24c)]=_0x298392,this[_0x7aa836(0x4a0)]());}[_0x295e11(0x4a0)](){const _0x500a49=_0x295e11;this['_sheetSkeletonManagerService'][_0x500a49(0x3b3)][_0x500a49(0x32d)](_0x23a207[_0x500a49(0x491)](this[_0x500a49(0x2ff)]),_0x23a207[_0x500a49(0x426)](_0x260293=>{const _0x15ca47=_0x500a49;if(_0x260293){const _0x1cf6ef=_0x260293[_0x15ca47(0x482)];return _0x5b38f4['combineLatest'](this['_collabCursorController'][_0x15ca47(0x359)](this['_context'][_0x15ca47(0x495)]),this['_themeService'][_0x15ca47(0x303)])[_0x15ca47(0x32d)](_0x23a207['map'](([_0x30fe7b,_0x5dc4c8])=>{const _0x3507ac=_0x15ca47,_0xa7f4e2=new Map();return _0x30fe7b[_0x3507ac(0x24d)]((_0x535890,_0x1bbee2)=>{const _0x5ab6a9=_0x3507ac;if(_0x535890['sheetID']===_0x1cf6ef){const _0x14f30d={..._0x535890};_0x14f30d[_0x5ab6a9(0x4ae)]=this[_0x5ab6a9(0x24c)][_0x5ab6a9(0x2c1)](_0x535890['color']),_0xa7f4e2[_0x5ab6a9(0x370)](_0x1bbee2,_0x14f30d);}}),{'skeleton':_0x260293,'cursors':_0xa7f4e2};}));}return _0x5b38f4['of']({'skeleton':null,'cursors':new Map()});}))[_0x500a49(0x4af)](({skeleton:_0x4921d2,cursors:_0x5d4702})=>{const _0x2fc025=_0x500a49;this[_0x2fc025(0x2cd)](),_0x4921d2&&this[_0x2fc025(0x285)](_0x4921d2,_0x5d4702);}),this[_0x500a49(0x3b7)][_0x500a49(0x3b3)]['subscribe'](_0x3989b9=>{const _0x3d3863=_0x500a49;if(_0x3989b9==null)return;const {skeleton:_0x416265}=_0x3989b9,{scene:_0x3a8ade}=this[_0x3d3863(0x2d2)];_0x3a8ade[_0x3d3863(0x1df)][_0x3d3863(0x241)](_0x40624a[_0x3d3863(0x219)](_0xd4e93f=>{const _0x51cdd8=_0x3d3863;var _0x3b3651,_0x4525e5;const {offsetX:_0x4df87c,offsetY:_0x22bfb1}=_0xd4e93f,{x:_0x3c34dc,y:_0x5aeee3}=_0x3a8ade[_0x51cdd8(0x37b)](_0x2680b3[_0x51cdd8(0x3a9)][_0x51cdd8(0x2b9)]([_0x4df87c,_0x22bfb1])),{scaleX:_0x4543fd,scaleY:_0x81404a}=_0x3a8ade[_0x51cdd8(0x457)](),_0x5466ba=_0x3a8ade[_0x51cdd8(0x1e1)](_0x2680b3[_0x51cdd8(0x343)][_0x51cdd8(0x2b1)]),_0x2b909b=_0x3a8ade[_0x51cdd8(0x38c)](_0x2680b3[_0x51cdd8(0x3a9)][_0x51cdd8(0x2b9)]([_0x3c34dc,_0x5aeee3]),_0x5466ba),_0x569c48=_0x416265[_0x51cdd8(0x399)](_0x4df87c,_0x22bfb1,_0x4543fd,_0x81404a,_0x2b909b);((_0x3b3651=this['_lastPointer'])==null?void 0x0:_0x3b3651['column'])===_0x569c48[_0x51cdd8(0x2f4)]&&((_0x4525e5=this['_lastPointer'])==null?void 0x0:_0x4525e5[_0x51cdd8(0x2dd)])===_0x569c48[_0x51cdd8(0x2dd)]||this[_0x51cdd8(0x1f0)][_0x51cdd8(0x24d)](_0x238391=>{_0x238391['onMouseMove'](_0x569c48);});},0x64));});}[_0x295e11(0x285)](_0x35609f,_0x36dd65){const _0x359ee4=_0x295e11;var _0x515972;const _0x42e965=(_0x515972=this[_0x359ee4(0x3b7)][_0x359ee4(0x1c2)]())==null?void 0x0:_0x515972[_0x359ee4(0x27d)];if(!_0x42e965)return;const _0x3fa5b4=this[_0x359ee4(0x2a0)]();if(!_0x3fa5b4)return;this[_0x359ee4(0x1f0)][_0x359ee4(0x24d)](_0x17f7d1=>{const _0x6fdaff=_0x359ee4;_0x17f7d1[_0x6fdaff(0x216)]();});const {scene:_0x50d9da}=_0x3fa5b4,_0x354a8b=_0x1c8364(Array[_0x359ee4(0x4a6)](_0x36dd65[_0x359ee4(0x3aa)]()))[_0x359ee4(0x361)](_0x20008a=>{const _0x5ba545=_0x359ee4,{color:_0x55f6ed,range:_0x5f21e7,name:_0x3de70f,selection:_0x16a4e9,sheetID:_0x2a1fec}=_0x20008a,{startColumn:_0x46c150,startRow:_0x335f62,endColumn:_0x5dce2b,endRow:_0x5a0e2b}=_0x5f21e7,_0x1b432e=_0x383790[_0x5ba545(0x290)](_0x335f62,_0x46c150,_0x50d9da,_0x42e965),_0x2447d5=_0x383790[_0x5ba545(0x290)](_0x5a0e2b,_0x5dce2b,_0x50d9da,_0x42e965),{columnHeaderHeightAndMarginTop:_0x20aa36}=_0x42e965,{startX:_0x211bb7,startY:_0x6f1270}=_0x1b432e,{endX:_0x4d9382,endY:_0x5201b8}=_0x2447d5,_0x10d8bb=_0x4d9382-_0x211bb7,_0x4e5c52=_0x5201b8-_0x6f1270,_0x463e23={'labelPosition':_0x6f1270-_0x20aa36>=_0x35613d?'top':_0x5ba545(0x21c),'sheetID':_0x2a1fec,'range':_0x5f21e7,'color':_0x55f6ed,'name':_0x3de70f,'selection':_0x16a4e9,'left':_0x211bb7,'top':_0x6f1270,'width':_0x10d8bb,'height':_0x4e5c52,'evented':!0x1,'zIndex':_0x52502};return new _0x446f9f(_0x3de70f,_0x463e23);});_0x50d9da[_0x359ee4(0x462)](_0x354a8b,_0x554bac),this[_0x359ee4(0x1f0)]=new Set(_0x354a8b);}[_0x295e11(0x2cd)](){const _0x178af6=_0x295e11;var _0x40f1dd;(_0x40f1dd=this[_0x178af6(0x1f0)])==null||_0x40f1dd['forEach'](_0x24fe21=>_0x24fe21['dispose']());}[_0x295e11(0x2a0)](){const _0x3b1ff4=_0x295e11;return _0x383790[_0x3b1ff4(0x22e)](this['_context']['unit'],this[_0x3b1ff4(0x2d2)]);}};_0xb986df=_0x399d1c([_0x4b97fc(0x1,_0x40624a[_0x295e11(0x33d)](_0x383790['SheetSkeletonManagerService'])),_0x4b97fc(0x2,_0x40624a[_0x295e11(0x33d)](_0x2e9070)),_0x4b97fc(0x3,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x436)]))],_0xb986df);function _0x1c8364(_0x1d81dc){const _0x8c30c4=_0x295e11,_0x2ec3b8=new Map();return _0x1d81dc[_0x8c30c4(0x24d)](_0x34ba1f=>{const _0x3b4441=_0x8c30c4;if(_0x2ec3b8['has'](_0x34ba1f[_0x3b4441(0x49f)])){const _0x411f40=_0x2ec3b8['get'](_0x34ba1f[_0x3b4441(0x49f)]);_0x411f40['name']+=',\x20'+_0x34ba1f[_0x3b4441(0x2b2)];}else _0x2ec3b8[_0x3b4441(0x370)](_0x34ba1f[_0x3b4441(0x49f)],_0x34ba1f);}),Array[_0x8c30c4(0x4a6)](_0x2ec3b8[_0x8c30c4(0x3aa)]());}var _0x326b59=Object[_0x295e11(0x3a0)],_0x31e8cf=(_0x2bc339,_0x2cd2a2,_0x50089b,_0x82946f)=>{const _0x2d3b7e=_0x295e11;for(var _0x1f8ef3=_0x82946f>0x1?void 0x0:_0x82946f?_0x326b59(_0x2cd2a2,_0x50089b):_0x2cd2a2,_0x4d16db=_0x2bc339[_0x2d3b7e(0x1c4)]-0x1,_0x45d6ea;_0x4d16db>=0x0;_0x4d16db--)(_0x45d6ea=_0x2bc339[_0x4d16db])&&(_0x1f8ef3=_0x45d6ea(_0x1f8ef3)||_0x1f8ef3);return _0x1f8ef3;},_0x2c4925=(_0x4fddfb,_0xccfc63)=>(_0x6f0825,_0x352217)=>_0xccfc63(_0x6f0825,_0x352217,_0x4fddfb);let _0x3ef4e4=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x2faa9a,_0x1cab0b,_0x51fd2d,_0x28daa8,_0x27c5f6,_0x5eb3e6){const _0x49a0ec=_0x295e11;super(),this['_beforeCloseService']=_0x2faa9a,this[_0x49a0ec(0x247)]=_0x1cab0b,this[_0x49a0ec(0x477)]=_0x51fd2d,this[_0x49a0ec(0x233)]=_0x28daa8,this[_0x49a0ec(0x427)]=_0x27c5f6,this[_0x49a0ec(0x2a5)]=_0x5eb3e6,this[_0x49a0ec(0x2ef)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x1f1018=_0x295e11;this[_0x1f1018(0x2bc)](this[_0x1f1018(0x387)][_0x1f1018(0x21a)](()=>{const _0x505ea7=_0x1f1018;if(this['_localCacheService'][_0x505ea7(0x313)][_0x505ea7(0x47e)])return this[_0x505ea7(0x2a5)]['t'](_0x505ea7(0x486));}));}['_initEvent'](){const _0x55ef9c=_0x295e11;this['disposeWithMe'](this[_0x55ef9c(0x477)][_0x55ef9c(0x1d3)][_0x55ef9c(0x4af)](_0x4c11de=>{const _0x46ea29=_0x55ef9c;_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)]['OTHER_CLIENT_EDITING']&&this[_0x46ea29(0x233)][_0x46ea29(0x344)]({'type':_0x4e15c3[_0x46ea29(0x256)]['Warning'],'content':this[_0x46ea29(0x2a5)]['t'](_0x46ea29(0x1ca))}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x37a)]&&this[_0x46ea29(0x233)][_0x46ea29(0x344)]({'type':_0x4e15c3[_0x46ea29(0x256)]['Warning'],'content':this[_0x46ea29(0x2a5)]['t'](_0x46ea29(0x423))}),_0x4c11de['id']===_0x3958ea['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x46ea29(0x427)][_0x46ea29(0x344)]({'title':this[_0x46ea29(0x2a5)]['t'](_0x46ea29(0x41e)),'content':this['_localeService']['t'](_0x46ea29(0x400)),'type':'error','duration':0x0}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x49a)]&&this[_0x46ea29(0x233)][_0x46ea29(0x344)]({'type':_0x4e15c3[_0x46ea29(0x256)][_0x46ea29(0x476)],'content':this[_0x46ea29(0x2a5)]['t']('collaboration.closeRoom')+'('+_0x4c11de[_0x46ea29(0x38e)]+')'}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x335)]&&this[_0x46ea29(0x233)][_0x46ea29(0x344)]({'type':_0x4e15c3['MessageType']['Warning'],'content':this[_0x46ea29(0x2a5)]['t'](_0x4c11de[_0x46ea29(0x38e)]||'')}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x432)]&&this[_0x46ea29(0x233)][_0x46ea29(0x344)]({'type':_0x4e15c3[_0x46ea29(0x256)]['Warning'],'content':this[_0x46ea29(0x2a5)]['t']('session.will-retry')}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x478)]&&this['_messageService'][_0x46ea29(0x344)]({'type':_0x4e15c3['MessageType'][_0x46ea29(0x476)],'content':this['_localeService']['t']('session.connection-failed')}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x417)]&&this['_messageService']['show']({'type':_0x4e15c3[_0x46ea29(0x256)][_0x46ea29(0x476)],'content':this[_0x46ea29(0x2a5)]['t'](_0x46ea29(0x245))});}));}};_0x3ef4e4=_0x31e8cf([_0x2c4925(0x0,_0x8e6f8f[_0x295e11(0x3a2)]),_0x2c4925(0x1,_0x3958ea[_0x295e11(0x22f)]),_0x2c4925(0x2,_0x40624a[_0x295e11(0x33d)](_0x3958ea['CollaborationUIEventService'])),_0x2c4925(0x3,_0x8e6f8f[_0x295e11(0x3dd)]),_0x2c4925(0x4,_0x8e6f8f[_0x295e11(0x33e)]),_0x2c4925(0x5,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x336)]))],_0x3ef4e4);var _0x2791ef=Object['getOwnPropertyDescriptor'],_0x9fed27=(_0x407397,_0x5eda0d,_0x3f868e,_0x27465a)=>{for(var _0x5abdd1=_0x27465a>0x1?void 0x0:_0x27465a?_0x2791ef(_0x5eda0d,_0x3f868e):_0x5eda0d,_0x44d037=_0x407397['length']-0x1,_0x387584;_0x44d037>=0x0;_0x44d037--)(_0x387584=_0x407397[_0x44d037])&&(_0x5abdd1=_0x387584(_0x5abdd1)||_0x5abdd1);return _0x5abdd1;},_0x282872=(_0x220ff5,_0x8186e2)=>(_0x42d608,_0x425b71)=>_0x8186e2(_0x42d608,_0x425b71,_0x220ff5);let _0x308889=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x4de178,_0xb79518,_0x33a17b,_0x44e31e){const _0x474d16=_0x295e11;super(),_0x9020b(this,_0x474d16(0x393)),(this[_0x474d16(0x351)]=_0x4de178,this[_0x474d16(0x395)]=_0xb79518,this[_0x474d16(0x458)]=_0x33a17b,this['_collaborationSessionService']=_0x44e31e,this[_0x474d16(0x4a0)]());}[_0x295e11(0x4a0)](){const _0x8453ab=_0x295e11;this[_0x8453ab(0x4b4)](),this['_initUnhandledRejectionListener'](),this['_monkeyPatchLogService'](),this[_0x8453ab(0x1f3)]();}[_0x295e11(0x1f3)](){const _0x29e4f1=_0x295e11;this[_0x29e4f1(0x2bc)](this[_0x29e4f1(0x464)][_0x29e4f1(0x45b)]['subscribe'](_0x2cf014=>{const _0x7ba852=_0x29e4f1;this['_memberID']=_0x2cf014==null?void 0x0:_0x2cf014[_0x7ba852(0x2e2)];}));}[_0x295e11(0x4b4)](){const _0x40aafe=_0x295e11,_0xd8b0d9=_0x12204f=>{const _0x3d1f4d=_0xd951;var _0x2ee5f9;this[_0x3d1f4d(0x276)](_0x3d1f4d(0x3b0),_0x3d1f4d(0x3e8)+_0x12204f[_0x3d1f4d(0x323)]+_0x3d1f4d(0x3e3)+_0x12204f['filename']+':'+_0x12204f['lineno']+':'+_0x12204f['colno']+'\x0a'+(((_0x2ee5f9=_0x12204f[_0x3d1f4d(0x3b0)])==null?void 0x0:_0x2ee5f9['stack'])||''));};window[_0x40aafe(0x259)](_0x40aafe(0x3b0),_0xd8b0d9),this[_0x40aafe(0x2bc)](()=>{const _0x13c24b=_0x40aafe;window[_0x13c24b(0x268)](_0x13c24b(0x3b0),_0xd8b0d9);});}['_initUnhandledRejectionListener'](){const _0x198791=_0x295e11,_0x1ce688=_0x2461ac=>{const _0x599c23=_0xd951;this['_uploadLog'](_0x599c23(0x3b0),_0x599c23(0x453)+_0x2461ac[_0x599c23(0x402)]);};window[_0x198791(0x259)]('unhandledrejection',_0x1ce688),this['disposeWithMe'](()=>{const _0x3e249f=_0x198791;window[_0x3e249f(0x268)](_0x3e249f(0x47f),_0x1ce688);});}[_0x295e11(0x2da)](){const _0x1a19ac=_0x295e11,_0x125679=this[_0x1a19ac(0x458)][_0x1a19ac(0x3b0)][_0x1a19ac(0x2bf)](this[_0x1a19ac(0x458)]);this[_0x1a19ac(0x458)][_0x1a19ac(0x3b0)]=(..._0x452fc5)=>{const _0x285d1e=_0x1a19ac,_0x37c87f=_0x452fc5[_0x285d1e(0x361)](_0x5a4984=>_0x5a4984 instanceof Error?_0x5a4984['message']+'\x0a'+_0x5a4984[_0x285d1e(0x210)]:String(_0x5a4984))[_0x285d1e(0x236)]('\x20');this[_0x285d1e(0x276)](_0x285d1e(0x3b0),_0x285d1e(0x253)+_0x37c87f),_0x125679(..._0x452fc5);},this[_0x1a19ac(0x2bc)](()=>{const _0x2fd058=_0x1a19ac;this['_logService'][_0x2fd058(0x3b0)]=_0x125679;});}[_0x295e11(0x276)](_0x247c54,_0x199cda){const _0x545c73=_0x295e11;try{const _0x57b6db={'userId':this[_0x545c73(0x393)],'logLabel':_0x247c54,'content':_0x199cda};this[_0x545c73(0x395)][_0x545c73(0x44a)](_0x545c73(0x3a8),{'body':_0x57b6db})[_0x545c73(0x459)](()=>{});}catch{}}};_0x308889=_0x9fed27([_0x282872(0x0,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x474)])),_0x282872(0x1,_0x40624a[_0x295e11(0x33d)](_0x42d795[_0x295e11(0x2b0)])),_0x282872(0x2,_0x40624a[_0x295e11(0x463)]),_0x282872(0x3,_0x40624a[_0x295e11(0x33d)](_0x3958ea[_0x295e11(0x25b)]))],_0x308889);const _0x146d19=_0x295e11(0x471),_0x1498da={};var _0x25e539=Object[_0x295e11(0x3a0)],_0x475cf6=(_0x5e3968,_0x1ace57,_0x2e7346,_0x2a1a9d)=>{const _0x3b36b5=_0x295e11;for(var _0x455dd1=_0x2a1a9d>0x1?void 0x0:_0x2a1a9d?_0x25e539(_0x1ace57,_0x2e7346):_0x1ace57,_0x59fb3e=_0x5e3968[_0x3b36b5(0x1c4)]-0x1,_0x53e22f;_0x59fb3e>=0x0;_0x59fb3e--)(_0x53e22f=_0x5e3968[_0x59fb3e])&&(_0x455dd1=_0x53e22f(_0x455dd1)||_0x455dd1);return _0x455dd1;},_0xb424f6=(_0x1d2751,_0x4007bf)=>(_0x226338,_0x2714b2)=>_0x4007bf(_0x226338,_0x2714b2,_0x1d2751);let _0x516df5=class{constructor(_0x498256,_0x66e69f){const _0x559a62=_0x295e11;this[_0x559a62(0x1c3)]=_0x498256,this['_renderManagerService']=_0x66e69f;}[_0x295e11(0x1f9)](_0x1adbe4){const _0x8f6da7=_0x295e11;this['_transformUndoRedoStack'](_0x1adbe4),this[_0x8f6da7(0x446)](_0x1adbe4);}[_0x295e11(0x419)](_0x38542a){const _0x56747f=_0x295e11,{unitID:_0xbadb73}=_0x38542a,_0x52604b=this[_0x56747f(0x1ed)][_0x56747f(0x3fe)](_0xbadb73)['with'](_0x118be2[_0x56747f(0x27f)]),{redoCache:_0x3d9c76}=_0x52604b['getUndoRedoMutationParamsCache']();if(_0x3d9c76[_0x56747f(0x1c4)]===0x0)return _0x38542a;let _0x1a316c=_0x40624a[_0x56747f(0x466)][_0x56747f(0x3da)](_0x38542a[_0x56747f(0x2c8)][0x0]);for(let _0x389109=0x0;_0x389109<_0x3d9c76[_0x56747f(0x1c4)];_0x389109++){const _0x21b49d={'id':'doc.mutation.rich-text-editing','params':{..._0x3d9c76[_0x389109]}},_0x20b20e=this[_0x56747f(0x1c3)][_0x56747f(0x27a)](_0x1a316c,_0x21b49d,!0x1);if(_0x2c324c[_0x56747f(0x350)](_0x20b20e))throw _0x20b20e[_0x56747f(0x3b0)];_0x1a316c=_0x20b20e[_0x56747f(0x494)];}return{..._0x40624a[_0x56747f(0x466)][_0x56747f(0x3da)](_0x38542a),'mutations':[_0x1a316c]};}[_0x295e11(0x3f7)](_0x47955d){const _0x4a0590=_0x295e11,{unitID:_0x737230}=_0x47955d,_0x15eac6=this[_0x4a0590(0x1ed)]['getRenderById'](_0x737230)[_0x4a0590(0x444)](_0x118be2[_0x4a0590(0x27f)]),{undoCache:_0x3727a9,redoCache:_0x4ad55b}=_0x15eac6[_0x4a0590(0x32c)]();if(_0x3727a9[_0x4a0590(0x1c4)]===0x0||_0x4ad55b[_0x4a0590(0x1c4)]===0x0)return;const _0x1e5b66=[],_0x1942cd=[];let _0x241064=_0x40624a[_0x4a0590(0x466)][_0x4a0590(0x3da)](_0x47955d[_0x4a0590(0x2c8)][0x0]),_0x52fb1b=_0x40624a[_0x4a0590(0x466)]['deepClone'](_0x47955d[_0x4a0590(0x2c8)][0x0]);for(let _0x43a8ef=_0x3727a9[_0x4a0590(0x1c4)]-0x1;_0x43a8ef>=0x0;_0x43a8ef--){const _0x57471b={'id':_0x4a0590(0x489),'params':{..._0x3727a9[_0x43a8ef]}},_0x2be435={'id':_0x4a0590(0x489),'params':{..._0x4ad55b[_0x43a8ef]}},_0x15c0c9=this['_transformService']['transformMutation'](_0x241064,_0x57471b,!0x1),_0x5ab943=this[_0x4a0590(0x1c3)]['transformMutation'](_0x52fb1b,_0x2be435,!0x1);if(_0x2c324c['isTransformMutationFailure'](_0x15c0c9))throw _0x15c0c9[_0x4a0590(0x3b0)];if(_0x2c324c[_0x4a0590(0x350)](_0x5ab943))throw _0x5ab943[_0x4a0590(0x3b0)];_0x1e5b66[_0x4a0590(0x1d0)](_0x15c0c9[_0x4a0590(0x3d2)]['params']),_0x1942cd[_0x4a0590(0x1d0)](_0x5ab943[_0x4a0590(0x3d2)][_0x4a0590(0x1d6)]),_0x241064=_0x15c0c9[_0x4a0590(0x494)],_0x52fb1b=_0x5ab943[_0x4a0590(0x494)];}_0x15eac6[_0x4a0590(0x3d7)]({'undoCache':_0x1e5b66,'redoCache':_0x1942cd});}[_0x295e11(0x446)](_0x4c1826){const _0x1a89b6=_0x295e11,{unitID:_0x2533aa}=_0x4c1826,_0x175ba1=this[_0x1a89b6(0x1ed)][_0x1a89b6(0x3fe)](_0x2533aa)[_0x1a89b6(0x444)](_0x118be2[_0x1a89b6(0x27f)]),_0x309938=_0x175ba1[_0x1a89b6(0x205)]();if(_0x309938==null)return;const _0x2d81b5=[{'id':_0x1a89b6(0x489),'params':{'unitId':_0x4c1826[_0x1a89b6(0x298)],'actions':null,'textRanges':[_0x309938]}}],_0x135543=this[_0x1a89b6(0x1c3)][_0x1a89b6(0x3fb)](_0x4c1826,_0x2d81b5);if(!_0x2c324c['isTransformMutationsWithChangesetSuccess'](_0x135543))throw _0x135543['error'];const _0x2d096d=_0x135543[_0x1a89b6(0x3d2)][0x0][_0x1a89b6(0x1d6)][_0x1a89b6(0x1f4)];Array[_0x1a89b6(0x44f)](_0x2d096d)&&_0x2d096d[_0x1a89b6(0x1c4)]&&_0x175ba1[_0x1a89b6(0x348)](_0x2d096d[0x0]);}};_0x516df5=_0x475cf6([_0xb424f6(0x0,_0x2c324c[_0x295e11(0x487)]),_0xb424f6(0x1,_0x2680b3['IRenderManagerService'])],_0x516df5);var _0x228c9f=Object[_0x295e11(0x3a0)],_0x1714d3=(_0x8fcc38,_0x13f243,_0x43a4ca,_0x1dc333)=>{const _0x5f4ca8=_0x295e11;for(var _0x19dfad=_0x1dc333>0x1?void 0x0:_0x1dc333?_0x228c9f(_0x13f243,_0x43a4ca):_0x13f243,_0x247b40=_0x8fcc38[_0x5f4ca8(0x1c4)]-0x1,_0x217173;_0x247b40>=0x0;_0x247b40--)(_0x217173=_0x8fcc38[_0x247b40])&&(_0x19dfad=_0x217173(_0x19dfad)||_0x19dfad);return _0x19dfad;},_0x558441=(_0xfd4f4,_0x15dae2)=>(_0x3a885b,_0x21c62f)=>_0x15dae2(_0x3a885b,_0x21c62f,_0xfd4f4);let _0x2c640a=class{constructor(_0x3366a7,_0x4ca0da,_0x5717eb){const _0x107f65=_0x295e11;this['_injector']=_0x3366a7,this[_0x107f65(0x1c3)]=_0x4ca0da,this[_0x107f65(0x2fc)]=_0x5717eb;}[_0x295e11(0x422)](_0x479a34){this['_transformHistoryAndStateStack'](_0x479a34);}[_0x295e11(0x419)](_0x58abe5){const _0x1381e9=_0x295e11,{unitID:_0x4ab10b}=_0x58abe5,{collaboration:_0x5ee347}=this[_0x1381e9(0x2fc)]['getStateCache'](_0x4ab10b);if(_0x5ee347[_0x1381e9(0x1c4)]===0x0)return _0x58abe5;let _0x738f18=_0x40624a[_0x1381e9(0x466)][_0x1381e9(0x3da)](_0x58abe5['mutations'][0x0]);for(let _0x473fb2=0x0;_0x473fb2<_0x5ee347[_0x1381e9(0x1c4)];_0x473fb2++){const _0xbe55d9={'id':_0x1381e9(0x489),'params':{'unitId':_0x5ee347[_0x473fb2]['unitId'],..._0x5ee347[_0x473fb2][_0x1381e9(0x1ef)]}},_0x1440b1=this[_0x1381e9(0x1c3)][_0x1381e9(0x27a)](_0x738f18,_0xbe55d9,!0x1);if(_0x2c324c[_0x1381e9(0x350)](_0x1440b1))throw _0x1440b1[_0x1381e9(0x3b0)];_0x738f18=_0x1440b1[_0x1381e9(0x494)];}return{..._0x40624a[_0x1381e9(0x466)]['deepClone'](_0x58abe5),'mutations':[_0x738f18]};}[_0x295e11(0x30b)](_0x3c2ae0){const _0x4011c1=_0x295e11,{unitID:_0x18d294}=_0x3c2ae0,{history:_0x1de47f,collaboration:_0x508721}=this[_0x4011c1(0x2fc)][_0x4011c1(0x2c3)](_0x18d294);if(_0x1de47f['length']===0x0&&_0x508721[_0x4011c1(0x1c4)]===0x0)return;const _0x388a17=[],_0x46a1e1=[];let _0x31ccae=_0x40624a['Tools'][_0x4011c1(0x3da)](_0x3c2ae0[_0x4011c1(0x2c8)][0x0]),_0x1d162d=_0x40624a['Tools'][_0x4011c1(0x3da)](_0x3c2ae0[_0x4011c1(0x2c8)][0x0]);for(let _0x5b86d4=_0x1de47f['length']-0x1;_0x5b86d4>=0x0;_0x5b86d4--){const _0x23e857={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1de47f[_0x5b86d4][_0x4011c1(0x495)],..._0x1de47f[_0x5b86d4][_0x4011c1(0x414)]}},_0x1fb002={'id':_0x4011c1(0x489),'params':{'unitId':_0x1de47f[_0x5b86d4]['unitId'],..._0x1de47f[_0x5b86d4][_0x4011c1(0x1ef)]}},_0x1a3ef3=this[_0x4011c1(0x1c3)][_0x4011c1(0x27a)](_0x31ccae,_0x23e857,!0x1),_0x3cf942=this[_0x4011c1(0x1c3)][_0x4011c1(0x27a)](_0x1d162d,_0x1fb002,!0x1);if(_0x2c324c[_0x4011c1(0x350)](_0x1a3ef3))throw _0x1a3ef3[_0x4011c1(0x3b0)];if(_0x2c324c['isTransformMutationFailure'](_0x3cf942))throw _0x3cf942[_0x4011c1(0x3b0)];_0x388a17[_0x4011c1(0x1d0)]({..._0x1de47f[_0x5b86d4],'undoState':_0x1a3ef3[_0x4011c1(0x3d2)][_0x4011c1(0x1d6)],'redoState':_0x3cf942[_0x4011c1(0x3d2)][_0x4011c1(0x1d6)]}),_0x31ccae=_0x1a3ef3[_0x4011c1(0x494)],_0x1d162d=_0x3cf942[_0x4011c1(0x494)];}_0x31ccae=_0x40624a[_0x4011c1(0x466)][_0x4011c1(0x3da)](_0x3c2ae0[_0x4011c1(0x2c8)][0x0]),_0x1d162d=_0x40624a['Tools'][_0x4011c1(0x3da)](_0x3c2ae0[_0x4011c1(0x2c8)][0x0]);for(let _0xdd9db5=_0x508721['length']-0x1;_0xdd9db5>=0x0;_0xdd9db5--){const _0x152d96={'id':_0x4011c1(0x489),'params':{'unitId':_0x508721[_0xdd9db5][_0x4011c1(0x495)],..._0x508721[_0xdd9db5]['undoState']}},_0x26e121={'id':_0x4011c1(0x489),'params':{'unitId':_0x508721[_0xdd9db5][_0x4011c1(0x495)],..._0x508721[_0xdd9db5][_0x4011c1(0x1ef)]}},_0x27e4ee=this[_0x4011c1(0x1c3)]['transformMutation'](_0x31ccae,_0x152d96,!0x1),_0x51dc8f=this[_0x4011c1(0x1c3)][_0x4011c1(0x27a)](_0x1d162d,_0x26e121,!0x1);if(_0x2c324c[_0x4011c1(0x350)](_0x27e4ee))throw _0x27e4ee[_0x4011c1(0x3b0)];if(_0x2c324c[_0x4011c1(0x350)](_0x51dc8f))throw _0x51dc8f['error'];_0x46a1e1[_0x4011c1(0x1d0)]({..._0x508721[_0xdd9db5],'undoState':_0x27e4ee[_0x4011c1(0x3d2)]['params'],'redoState':_0x51dc8f[_0x4011c1(0x3d2)][_0x4011c1(0x1d6)]}),_0x31ccae=_0x27e4ee[_0x4011c1(0x494)],_0x1d162d=_0x51dc8f['m1Prime'];}this[_0x4011c1(0x2fc)][_0x4011c1(0x225)](_0x18d294,{'history':_0x388a17,'collaboration':_0x46a1e1});}};_0x2c640a=_0x1714d3([_0x558441(0x0,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x474)])),_0x558441(0x1,_0x2c324c[_0x295e11(0x487)]),_0x558441(0x2,_0x40624a[_0x295e11(0x33d)](_0x118be2[_0x295e11(0x292)]))],_0x2c640a);var _0xe51764=Object['getOwnPropertyDescriptor'],_0x2bc37e=(_0x2ddb06,_0x206184,_0x2fc267,_0x4fa6c8)=>{const _0x596df3=_0x295e11;for(var _0x2d54cb=_0x4fa6c8>0x1?void 0x0:_0x4fa6c8?_0xe51764(_0x206184,_0x2fc267):_0x206184,_0x1b0cb3=_0x2ddb06[_0x596df3(0x1c4)]-0x1,_0x43f500;_0x1b0cb3>=0x0;_0x1b0cb3--)(_0x43f500=_0x2ddb06[_0x1b0cb3])&&(_0x2d54cb=_0x43f500(_0x2d54cb)||_0x2d54cb);return _0x2d54cb;},_0x1448a9=(_0xc7e7e0,_0x1bcdac)=>(_0x36dd66,_0x500562)=>_0x1bcdac(_0x36dd66,_0x500562,_0xc7e7e0);let _0x1165fa=class{constructor(_0x2dbfae,_0x141d78){const _0x340588=_0x295e11;this['_injector']=_0x2dbfae,this[_0x340588(0x1c3)]=_0x141d78;}[_0x295e11(0x3cb)](_0xad5b72){const _0x38493d=_0x295e11;var _0x17d107;const _0x4ecc4d=this[_0x38493d(0x351)][_0x38493d(0x1de)](_0x3f3b23[_0x38493d(0x34f)]),_0x21811f=(_0x17d107=_0x4ecc4d[_0x38493d(0x3c9)]())!=null?_0x17d107:[];if(_0x21811f[_0x38493d(0x1c4)]===0x0)return;const _0xf31187=_0xad5b72[_0x38493d(0x298)],_0x1a1b71=[{'id':_0x38493d(0x489),'params':{'unitId':_0xf31187,'actions':null,'textRanges':_0x21811f}}],_0x225db4=this[_0x38493d(0x1c3)][_0x38493d(0x3fb)](_0xad5b72,_0x1a1b71);if(!_0x2c324c[_0x38493d(0x38b)](_0x225db4))throw _0x225db4[_0x38493d(0x3b0)];const _0x53b2e9=_0x225db4[_0x38493d(0x3d2)][0x0][_0x38493d(0x1d6)][_0x38493d(0x1f4)];Array[_0x38493d(0x44f)](_0x53b2e9)&&_0x53b2e9[_0x38493d(0x1c4)]&&_0x4ecc4d[_0x38493d(0x2dc)](_0x53b2e9,{'unitId':_0xf31187,'subUnitId':_0xf31187},!0x1);}};_0x1165fa=_0x2bc37e([_0x1448a9(0x0,_0x40624a['Inject'](_0x40624a[_0x295e11(0x474)])),_0x1448a9(0x1,_0x2c324c[_0x295e11(0x487)])],_0x1165fa);var _0x368a97=Object[_0x295e11(0x3a0)],_0x488d23=(_0x389eab,_0x3b6076,_0x19ce94,_0x5a2e4f)=>{const _0xe45ea=_0x295e11;for(var _0x55d49a=_0x5a2e4f>0x1?void 0x0:_0x5a2e4f?_0x368a97(_0x3b6076,_0x19ce94):_0x3b6076,_0x1852ae=_0x389eab[_0xe45ea(0x1c4)]-0x1,_0x5ec3de;_0x1852ae>=0x0;_0x1852ae--)(_0x5ec3de=_0x389eab[_0x1852ae])&&(_0x55d49a=_0x5ec3de(_0x55d49a)||_0x55d49a);return _0x55d49a;},_0x178c3d=(_0x506b87,_0xd415ac)=>(_0x1f6c46,_0x5b9abc)=>_0xd415ac(_0x1f6c46,_0x5b9abc,_0x506b87);let _0x22b2b8=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x76a33e,_0x49edf4,_0xaeffd1,_0x15ef02,_0x42766f,_0x4dcb6e,_0x45ab22,_0xafb9eb){const _0x210030=_0x295e11;super(),_0x9020b(this,_0x210030(0x3bf),new _0x5b38f4[(_0x210030(0x21d))](_0x3958ea[_0x210030(0x3a7)][_0x210030(0x20f)])),(this[_0x210030(0x2fc)]=_0x76a33e,this['_collaborationController']=_0x49edf4,this['_docTransformIMECacheService']=_0xaeffd1,this['_docTransformStateCacheService']=_0x15ef02,this[_0x210030(0x37c)]=_0x42766f,this[_0x210030(0x3c7)]=_0x4dcb6e,this[_0x210030(0x233)]=_0x45ab22,this[_0x210030(0x2a5)]=_0xafb9eb,this[_0x210030(0x48f)]());}[_0x295e11(0x48f)](){const _0x89f344=_0x295e11;this['disposeWithMe'](this[_0x89f344(0x2c6)][_0x89f344(0x35f)]['subscribe'](_0xa3270f=>{const _0x1521ae=_0x89f344,_0x2e4bdf=this[_0x1521ae(0x2fc)][_0x1521ae(0x3ad)]['subscribe'](_0x3d23f8=>{const _0x2e7699=_0x1521ae;if(_0x3d23f8==null)return;const {unitId:_0x879a5c,redoState:_0x1c67dd,commandId:_0x5d1873}=_0x3d23f8;if(_0x879a5c!==_0xa3270f[_0x2e7699(0x298)])return;const _0x56e44f={'id':_0x5d1873,'type':_0x40624a[_0x2e7699(0x2e9)]['MUTATION'],'params':{'unitId':_0x879a5c,'actions':_0x1c67dd[_0x2e7699(0x43d)],'textRanges':null}};_0xa3270f['onLocalMutation'](_0x56e44f);});if(_0xa3270f[_0x1521ae(0x2bc)](_0x2e4bdf),_0xa3270f instanceof _0x3958ea[_0x1521ae(0x239)]){const _0x1b6ba9={'onTransformIME':_0x4d1e27=>this[_0x1521ae(0x34b)]['transformIMECache'](_0x4d1e27),'onTransformState':_0x3029b5=>this['_docTransformStateCacheService'][_0x1521ae(0x422)](_0x3029b5),'onTransformSelections':_0x2950ee=>this[_0x1521ae(0x37c)][_0x1521ae(0x3cb)](_0x2950ee),'onSyncEditingCollabCursor':_0xf108b8=>this['_docSyncEditingCollabCursorService'][_0x1521ae(0x3fc)](_0xf108b8),'onTransformRemoteChangesetByIMECache':_0x25c36d=>this[_0x1521ae(0x34b)][_0x1521ae(0x419)](_0x25c36d),'onTransformRemoteChangesetByStateCache':_0x335dcb=>this[_0x1521ae(0x2e8)][_0x1521ae(0x419)](_0x335dcb)};_0xa3270f[_0x1521ae(0x22a)](_0x1b6ba9);}}));}};_0x22b2b8=_0x488d23([_0x178c3d(0x0,_0x40624a[_0x295e11(0x33d)](_0x118be2[_0x295e11(0x292)])),_0x178c3d(0x1,_0x40624a[_0x295e11(0x33d)](_0x3958ea[_0x295e11(0x269)])),_0x178c3d(0x2,_0x40624a[_0x295e11(0x33d)](_0x516df5)),_0x178c3d(0x3,_0x40624a[_0x295e11(0x33d)](_0x2c640a)),_0x178c3d(0x4,_0x40624a['Inject'](_0x1165fa)),_0x178c3d(0x5,_0x40624a['Inject'](_0x2a125f)),_0x178c3d(0x6,_0x8e6f8f[_0x295e11(0x3dd)]),_0x178c3d(0x7,_0x40624a[_0x295e11(0x33d)](_0x40624a['LocaleService']))],_0x22b2b8);var _0x319d71=(_0x4df9c9=>(_0x4df9c9[_0x4df9c9[_0x295e11(0x1ec)]=0x0]=_0x295e11(0x1ec),_0x4df9c9[_0x4df9c9['OK']=0x1]='OK',_0x4df9c9[_0x4df9c9[_0x295e11(0x4a9)]=0x2]=_0x295e11(0x4a9),_0x4df9c9[_0x4df9c9[_0x295e11(0x33c)]=0x3]=_0x295e11(0x33c),_0x4df9c9[_0x4df9c9[_0x295e11(0x29a)]=0x4]='NOT_FOUND',_0x4df9c9[_0x4df9c9[_0x295e11(0x3ea)]=0x5]='UNAUTHENTICATED',_0x4df9c9[_0x4df9c9[_0x295e11(0x392)]=0x6]=_0x295e11(0x392),_0x4df9c9[_0x4df9c9[_0x295e11(0x214)]=0x7]=_0x295e11(0x214),_0x4df9c9[_0x4df9c9['TOO_MANY_REQUESTS']=0x8]=_0x295e11(0x3b1),_0x4df9c9[_0x4df9c9[_0x295e11(0x2ad)]=0x9]=_0x295e11(0x2ad),_0x4df9c9[_0x4df9c9['LOGIN_FAILED']=0xa]=_0x295e11(0x327),_0x4df9c9[_0x4df9c9[_0x295e11(0x48c)]=0xb]=_0x295e11(0x48c),_0x4df9c9[_0x4df9c9[_0x295e11(0x488)]=0xc]=_0x295e11(0x488),_0x4df9c9[_0x4df9c9[_0x295e11(0x380)]=0xd]=_0x295e11(0x380),_0x4df9c9[_0x4df9c9[_0x295e11(0x346)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4df9c9[_0x4df9c9['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x4df9c9[_0x4df9c9[_0x295e11(0x44b)]=0x10]=_0x295e11(0x44b),_0x4df9c9[_0x4df9c9['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x295e11(0x39d),_0x4df9c9[_0x4df9c9[_0x295e11(0x2c7)]=0x65]=_0x295e11(0x2c7),_0x4df9c9[_0x4df9c9['USER_NOT_FOUND']=0xc9]=_0x295e11(0x333),_0x4df9c9[_0x4df9c9['USER_IS_ANONYMOUS']=0xca]=_0x295e11(0x29b),_0x4df9c9[_0x4df9c9[_0x295e11(0x2a7)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4df9c9[_0x4df9c9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x295e11(0x211),_0x4df9c9[_0x4df9c9[_0x295e11(0x428)]=0x1772]=_0x295e11(0x428),_0x4df9c9[_0x4df9c9[_0x295e11(0x24b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4df9c9[_0x4df9c9['APPLY_REJECT']=0x1b59]=_0x295e11(0x244),_0x4df9c9[_0x4df9c9[_0x295e11(0x282)]=0x1b5a]=_0x295e11(0x282),_0x4df9c9[_0x4df9c9['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x295e11(0x3e0),_0x4df9c9[_0x4df9c9[_0x295e11(0x3a5)]=0x1b5c]=_0x295e11(0x3a5),_0x4df9c9[_0x4df9c9['APPLY_DUPLICATED']=0x1b5d]=_0x295e11(0x1d1),_0x4df9c9[_0x4df9c9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x295e11(0x289),_0x4df9c9[_0x4df9c9['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x295e11(0x413),_0x4df9c9[_0x4df9c9[_0x295e11(0x420)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4df9c9[_0x4df9c9[_0x295e11(0x27c)]=0x232b]=_0x295e11(0x27c),_0x4df9c9[_0x4df9c9[_0x295e11(0x338)]=0x232c]=_0x295e11(0x338),_0x4df9c9[_0x4df9c9['LICENSE_DISTRO_REJECTED']=0x232d]=_0x295e11(0x47b),_0x4df9c9[_0x4df9c9[_0x295e11(0x41f)]=0x2711]=_0x295e11(0x41f),_0x4df9c9[_0x4df9c9[_0x295e11(0x306)]=0x2712]=_0x295e11(0x306),_0x4df9c9[_0x4df9c9[_0x295e11(0x389)]=0x2713]=_0x295e11(0x389),_0x4df9c9[_0x4df9c9[_0x295e11(0x308)]=0x2714]=_0x295e11(0x308),_0x4df9c9[_0x4df9c9[_0x295e11(0x3f4)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4df9c9[_0x4df9c9[_0x295e11(0x1f7)]=0x271b]=_0x295e11(0x1f7),_0x4df9c9[_0x4df9c9[_0x295e11(0x243)]=0x271c]=_0x295e11(0x243),_0x4df9c9[_0x4df9c9[_0x295e11(0x1dc)]=0x271d]=_0x295e11(0x1dc),_0x4df9c9[_0x4df9c9[_0x295e11(0x3cf)]=0x271e]=_0x295e11(0x3cf),_0x4df9c9[_0x4df9c9[_0x295e11(0x2f8)]=0x271f]=_0x295e11(0x2f8),_0x4df9c9[_0x4df9c9[_0x295e11(0x325)]=0x2720]=_0x295e11(0x325),_0x4df9c9[_0x4df9c9[_0x295e11(0x418)]=0x2af9]=_0x295e11(0x418),_0x4df9c9[_0x4df9c9[_0x295e11(0x479)]=0x2ee1]=_0x295e11(0x479),_0x4df9c9[_0x4df9c9[_0x295e11(0x2ea)]=0x2ee2]='INVALID_INVITE_CODE',_0x4df9c9[_0x4df9c9['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x4df9c9[_0x4df9c9[_0x295e11(0x228)]=0x2ee4]=_0x295e11(0x228),_0x4df9c9[_0x4df9c9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4df9c9[_0x4df9c9['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x295e11(0x45c),_0x4df9c9[_0x4df9c9[_0x295e11(0x264)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x4df9c9[_0x4df9c9[_0x295e11(0x32b)]=0x32cb]=_0x295e11(0x32b),_0x4df9c9[_0x4df9c9[_0x295e11(0x4b3)]=0x36b1]=_0x295e11(0x4b3),_0x4df9c9[_0x4df9c9[_0x295e11(0x307)]=0x36b2]=_0x295e11(0x307),_0x4df9c9[_0x4df9c9[_0x295e11(0x3f2)]=0x36b3]=_0x295e11(0x3f2),_0x4df9c9[_0x4df9c9[_0x295e11(0x2f7)]=0x36b4]=_0x295e11(0x2f7),_0x4df9c9[_0x4df9c9[_0x295e11(0x26c)]=0x36b5]=_0x295e11(0x26c),_0x4df9c9[_0x4df9c9['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x295e11(0x447),_0x4df9c9[_0x4df9c9[_0x295e11(0x3b6)]=0x36b7]=_0x295e11(0x3b6),_0x4df9c9[_0x4df9c9['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x295e11(0x31f),_0x4df9c9[_0x4df9c9[_0x295e11(0x33f)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x4df9c9[_0x4df9c9['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x295e11(0x4b2),_0x4df9c9[_0x4df9c9[_0x295e11(0x258)]=0x3717]=_0x295e11(0x258),_0x4df9c9[_0x4df9c9[_0x295e11(0x467)]=0x37dd]=_0x295e11(0x467),_0x4df9c9[_0x4df9c9[_0x295e11(0x238)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x4df9c9[_0x4df9c9[_0x295e11(0x294)]=0x3a9a]=_0x295e11(0x294),_0x4df9c9[_0x4df9c9[_0x295e11(0x493)]=0x3a9b]=_0x295e11(0x493),_0x4df9c9[_0x4df9c9[_0x295e11(0x442)]=0x3a9c]=_0x295e11(0x442),_0x4df9c9[_0x4df9c9[_0x295e11(0x44d)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x4df9c9[_0x4df9c9[_0x295e11(0x23e)]=0x3a9e]=_0x295e11(0x23e),_0x4df9c9[_0x4df9c9[_0x295e11(0x330)]=0x3a9f]=_0x295e11(0x330),_0x4df9c9[_0x4df9c9[_0x295e11(0x2e6)]=0x3e81]=_0x295e11(0x2e6),_0x4df9c9[_0x4df9c9[_0x295e11(0x255)]=-0x1]=_0x295e11(0x255),_0x4df9c9))(_0x319d71||{});function _0x143dd4(_0x1b9485){const _0x3d0277=_0x295e11;var _0x2be7e6,_0x1d6e22;const _0x4a10a4=(_0x2be7e6=_0x1b9485[_0x3d0277(0x43a)])==null?void 0x0:_0x2be7e6[_0x3d0277(0x354)],_0xe72418=((_0x1d6e22=_0x1b9485['stageInfo'])==null?void 0x0:_0x1d6e22[_0x3d0277(0x2fe)])||0x0;return _0x4a10a4===_0x100a4f[_0x3d0277(0x262)]['START_CALCULATION']&&_0xe72418>0x0;}function _0x361644(_0x44083a){const _0x34793c=_0x295e11;return _0x44083a[_0x34793c(0x254)]===_0x100a4f[_0x34793c(0x21e)]['SUCCESS'];}var _0x161bf3=Object[_0x295e11(0x3a0)],_0x5d9f83=(_0x269f0d,_0x57c0a6,_0x1c7f2f,_0x57a56a)=>{for(var _0x553e4f=_0x57a56a>0x1?void 0x0:_0x57a56a?_0x161bf3(_0x57c0a6,_0x1c7f2f):_0x57c0a6,_0x23464b=_0x269f0d['length']-0x1,_0x1a0113;_0x23464b>=0x0;_0x23464b--)(_0x1a0113=_0x269f0d[_0x23464b])&&(_0x553e4f=_0x1a0113(_0x553e4f)||_0x553e4f);return _0x553e4f;},_0x16e967=(_0x10ba53,_0x59b4cf)=>(_0x5d5295,_0x2ea79d)=>_0x59b4cf(_0x5d5295,_0x2ea79d,_0x10ba53);const _0x55cf85=_0x295e11(0x302),_0x918f2b=_0x295e11(0x30e),_0x272d31=_0x295e11(0x42b);let _0x2f3884=class extends _0x40624a['Disposable']{constructor(_0x225761,_0x5d0559,_0x2b9c81,_0x204d62,_0x2f9443,_0x468d02,_0xf5bd9){const _0x4a297c=_0x295e11;super(),_0x9020b(this,_0x4a297c(0x3bd),null),_0x9020b(this,_0x4a297c(0x492),0x0),_0x9020b(this,'_currentUsage',0x0),_0x9020b(this,_0x4a297c(0x1c9),[]),_0x9020b(this,_0x4a297c(0x49d),0x0),(this[_0x4a297c(0x233)]=_0x225761,this[_0x4a297c(0x3ee)]=_0x5d0559,this[_0x4a297c(0x2d4)]=_0x2b9c81,this[_0x4a297c(0x395)]=_0x204d62,this[_0x4a297c(0x3ba)]=_0x2f9443,this[_0x4a297c(0x458)]=_0x468d02,this['_localeService']=_0xf5bd9,this[_0x4a297c(0x297)]());}[_0x295e11(0x297)](){const _0x27bf7a=_0x295e11;this[_0x27bf7a(0x2bc)](this[_0x27bf7a(0x3ee)]['beforeCommandExecuted']((_0x13d7ac,_0x2246ba)=>{const _0x29ed22=_0x27bf7a;var _0x1c851b;if(_0x13d7ac['id']!==_0x100a4f[_0x29ed22(0x441)]['id'])return;const _0x2315a0=_0x13d7ac[_0x29ed22(0x1d6)];if(!this[_0x29ed22(0x32a)]((_0x1c851b=_0x2315a0[_0x29ed22(0x46f)])!=null?_0x1c851b:[]))return;if(!this[_0x29ed22(0x23a)]())throw this['_checkAndWaitForCalculationPermission'](_0x13d7ac,_0x2246ba),this['_showGuardMessage'](),new _0x40624a['CanceledError']();})),this[_0x27bf7a(0x2bc)](this[_0x27bf7a(0x3ee)]['onCommandExecuted']((_0x2dec4d,_0x13ba47)=>{const _0x3f4b7a=_0x27bf7a;if(_0x2dec4d['id']!==_0x100a4f[_0x3f4b7a(0x29f)]['id'])return;const _0x3a9303=_0x2dec4d[_0x3f4b7a(0x1d6)];if(_0x143dd4(_0x3a9303)){const _0x4e049b=_0x40624a['generateRandomId']();this[_0x3f4b7a(0x1c9)][_0x3f4b7a(0x2f0)](_0x4e049b),this[_0x3f4b7a(0x450)](_0x4e049b);}else{if(_0x361644(_0x3a9303)&&this['_taskIds'][_0x3f4b7a(0x1c4)]>0x0){const _0xbd4839=this[_0x3f4b7a(0x1c9)][_0x3f4b7a(0x45a)]();this[_0x3f4b7a(0x4a7)](_0xbd4839);}}}));}[_0x295e11(0x3d1)](){const _0xd03487=_0x295e11;super[_0xd03487(0x3d1)](),this[_0xd03487(0x43e)](),this['_taskIds']=[],this[_0xd03487(0x3f5)]=0x0,this[_0xd03487(0x492)]=0x0,this[_0xd03487(0x49d)]=0x0;}async[_0x295e11(0x46b)](_0x302348,_0x23fe20){const _0x58fbaf=_0x295e11;for(let _0x26e843=0x0;_0x26e843<0x1e;_0x26e843++)try{if(await this[_0x58fbaf(0x1ff)](),this[_0x58fbaf(0x23a)]()){this[_0x58fbaf(0x34a)](_0x302348,_0x23fe20),this['_messageService'][_0x58fbaf(0x344)]({'content':this[_0x58fbaf(0x2a5)]['t'](_0x58fbaf(0x3e5)),'type':_0x4e15c3[_0x58fbaf(0x256)][_0x58fbaf(0x470)]});return;}await new Promise(_0x469cc3=>{const _0x22ddd1=_0x58fbaf;this[_0x22ddd1(0x3bd)]=window[_0x22ddd1(0x30f)](_0x469cc3,0x3e8);});}catch(_0x1812e6){this['_logService'][_0x58fbaf(0x3b0)](_0x1812e6);}this[_0x58fbaf(0x233)][_0x58fbaf(0x344)]({'content':this['_localeService']['t'](_0x58fbaf(0x485)),'type':_0x4e15c3[_0x58fbaf(0x256)][_0x58fbaf(0x476)]});}[_0x295e11(0x34a)](_0x23753a,_0x3d2a46){const _0x49fce1=_0x295e11;try{this['_commandService'][_0x49fce1(0x48b)](_0x23753a['id'],_0x23753a['params'],_0x3d2a46);}catch(_0x3c77d8){this[_0x49fce1(0x458)][_0x49fce1(0x3b0)](_0x3c77d8);}}[_0x295e11(0x1dd)](_0x5f1832,_0x34df17){const _0x12502a=_0x295e11;_0x34df17<this['_lastResponseTimestamp']||(this[_0x12502a(0x49d)]=_0x34df17,this[_0x12502a(0x492)]=Number[_0x12502a(0x299)](_0x5f1832[_0x12502a(0x318)]),this[_0x12502a(0x3f5)]=Number[_0x12502a(0x299)](_0x5f1832[_0x12502a(0x296)]));}async[_0x295e11(0x450)](_0x5bdc4e){const _0x2af952=_0x295e11;var _0x2eef35,_0x15c990;const _0x3a6982=Date[_0x2af952(0x40f)]();try{const _0x584b09=((_0x2eef35=this[_0x2af952(0x2d4)][_0x2af952(0x231)](_0x3958ea[_0x2af952(0x222)]))==null?void 0x0:_0x2eef35[_0x2af952(0x1e0)])||_0x918f2b,_0x590f0d=(await this[_0x2af952(0x395)][_0x2af952(0x44a)](_0x584b09,{'body':JSON[_0x2af952(0x2be)]({'taskId':_0x5bdc4e})}))[_0x2af952(0x4a2)];if(((_0x15c990=_0x590f0d['error'])==null?void 0x0:_0x15c990[_0x2af952(0x286)])!==_0x319d71['OK'])return;this[_0x2af952(0x1dd)](_0x590f0d[_0x2af952(0x284)],_0x3a6982);}catch(_0x1b9cd1){this['_logService']['error'](_0x1b9cd1);}}async[_0x295e11(0x1ff)](_0x363f61){const _0x283ad5=_0x295e11;var _0x358e7c,_0x53746a;const _0x43a2fe=Date['now']();try{const _0x41b3a0=((_0x358e7c=this[_0x283ad5(0x2d4)]['getConfig'](_0x3958ea[_0x283ad5(0x222)]))==null?void 0x0:_0x358e7c['getformulaLimitStatusUrl'])||_0x55cf85,_0x3cc283=_0x363f61?_0x41b3a0+'?taskId='+encodeURIComponent(_0x363f61):_0x41b3a0,_0x4c03fb=(await this[_0x283ad5(0x395)][_0x283ad5(0x1de)](_0x3cc283))[_0x283ad5(0x4a2)];if(((_0x53746a=_0x4c03fb[_0x283ad5(0x3b0)])==null?void 0x0:_0x53746a[_0x283ad5(0x286)])!==_0x319d71['OK'])return;this['_setFormulaLimitStatus'](_0x4c03fb[_0x283ad5(0x284)],_0x43a2fe);}catch(_0x527548){this[_0x283ad5(0x458)][_0x283ad5(0x3b0)](_0x527548);}}async[_0x295e11(0x4a7)](_0x366abc){const _0x3e112b=_0x295e11;var _0x15dfdf,_0x2a02e5;const _0x721099=Date[_0x3e112b(0x40f)]();try{const _0x391bf7=((_0x15dfdf=this['_configService']['getConfig'](_0x3958ea[_0x3e112b(0x222)]))==null?void 0x0:_0x15dfdf[_0x3e112b(0x1c0)])||_0x272d31,_0x58b32a=(await this[_0x3e112b(0x395)][_0x3e112b(0x44a)](_0x391bf7,{'body':JSON['stringify']({'taskId':_0x366abc})}))[_0x3e112b(0x4a2)];if(((_0x2a02e5=_0x58b32a[_0x3e112b(0x3b0)])==null?void 0x0:_0x2a02e5[_0x3e112b(0x286)])!==_0x319d71['OK'])return;this[_0x3e112b(0x1dd)](_0x58b32a[_0x3e112b(0x284)],_0x721099);}catch(_0x1e0304){this[_0x3e112b(0x458)][_0x3e112b(0x3b0)](_0x1e0304);}}['_checkCalculationAvailable'](){const _0x1aef1f=_0x295e11;return this[_0x1aef1f(0x492)]===0x0?!0x0:this[_0x1aef1f(0x492)]-this[_0x1aef1f(0x3f5)]>0x0;}[_0x295e11(0x43e)](){const _0x4475b9=_0x295e11;this[_0x4475b9(0x3bd)]&&(clearTimeout(this[_0x4475b9(0x3bd)]),this[_0x4475b9(0x3bd)]=null);}[_0x295e11(0x2f9)](){const _0x57899b=_0x295e11;this[_0x57899b(0x233)][_0x57899b(0x344)]({'content':this[_0x57899b(0x2a5)]['t']('formula.calculation.waiting'),'type':_0x4e15c3[_0x57899b(0x256)][_0x57899b(0x39b)]});}[_0x295e11(0x32a)](_0x1de230){const _0x5bb94c=_0x295e11;for(const _0x2d63b8 of _0x1de230){const {unitId:_0x3cde27,sheetId:_0x1f7711,range:_0x4f34b9}=_0x2d63b8,_0x4e678d=this['_univerInstanceService']['getUnit'](_0x3cde27);if(!_0x4e678d)continue;const _0x2be0c4=_0x4e678d[_0x5bb94c(0x3e2)](_0x1f7711);if(!_0x2be0c4)continue;const _0x3ca1e0=_0x2be0c4[_0x5bb94c(0x3e1)]();for(let _0x755b32=_0x4f34b9[_0x5bb94c(0x218)];_0x755b32<=_0x4f34b9[_0x5bb94c(0x421)];_0x755b32++)for(let _0x17d3f7=_0x4f34b9[_0x5bb94c(0x25f)];_0x17d3f7<=_0x4f34b9[_0x5bb94c(0x3af)];_0x17d3f7++){const _0x36e27d=_0x3ca1e0['getValue'](_0x755b32,_0x17d3f7);if(_0x36e27d&&(_0x40624a[_0x5bb94c(0x3a1)](_0x36e27d['f'])||_0x40624a['isFormulaId'](_0x36e27d['si'])))return!0x0;}}return!0x1;}};_0x2f3884=_0x5d9f83([_0x16e967(0x0,_0x40624a[_0x295e11(0x33d)](_0x8e6f8f[_0x295e11(0x3dd)])),_0x16e967(0x1,_0x40624a['ICommandService']),_0x16e967(0x2,_0x40624a[_0x295e11(0x26b)]),_0x16e967(0x3,_0x40624a[_0x295e11(0x33d)](_0x42d795[_0x295e11(0x2b0)])),_0x16e967(0x4,_0x40624a[_0x295e11(0x2e4)]),_0x16e967(0x5,_0x40624a['ILogService']),_0x16e967(0x6,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x336)]))],_0x2f3884);var _0xd76ff7=Object[_0x295e11(0x3a0)],_0xc80f08=(_0x5c7170,_0x19d41a,_0x24c4a4,_0x1b31f6)=>{const _0x2fb312=_0x295e11;for(var _0x3b9490=_0x1b31f6>0x1?void 0x0:_0x1b31f6?_0xd76ff7(_0x19d41a,_0x24c4a4):_0x19d41a,_0x1c13dd=_0x5c7170[_0x2fb312(0x1c4)]-0x1,_0xf04be;_0x1c13dd>=0x0;_0x1c13dd--)(_0xf04be=_0x5c7170[_0x1c13dd])&&(_0x3b9490=_0xf04be(_0x3b9490)||_0x3b9490);return _0x3b9490;},_0x5b38eb=(_0x29c3f9,_0x53c8d0)=>(_0xe464cc,_0x2c92aa)=>_0x53c8d0(_0xe464cc,_0x2c92aa,_0x29c3f9);let _0x3698c4=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x4e7466,_0x33f518,_0x2b911c){const _0xdc9bf9=_0x295e11;super(),_0x9020b(this,_0xdc9bf9(0x32e),new Map()),_0x9020b(this,_0xdc9bf9(0x1fe),new Map()),_0x9020b(this,'_disabled',!0x1),(this[_0xdc9bf9(0x2d4)]=_0x4e7466,this[_0xdc9bf9(0x490)]=_0x33f518,this[_0xdc9bf9(0x321)]=_0x2b911c);}[_0x295e11(0x200)](){const _0x14cbd3=_0x295e11;this[_0x14cbd3(0x220)]=!0x0;}[_0x295e11(0x3a6)](){const _0x1a6373=_0x295e11;this[_0x1a6373(0x220)]=!0x1;}get[_0x295e11(0x313)](){return this['_saveTaskMap'];}[_0x295e11(0x3d1)](){const _0x4b1ad8=_0x295e11;this[_0x4b1ad8(0x46c)]()['then'](()=>super[_0x4b1ad8(0x3d1)]());}async[_0x295e11(0x4aa)](_0x23171b){const _0x332140=_0x295e11;return this[_0x332140(0x220)]?null:this[_0x332140(0x490)][_0x332140(0x1e5)](_0x3958ea[_0x332140(0x2db)](_0x23171b));}async[_0x295e11(0x1be)](_0x5a590a,_0xf74f56){const _0x1cf23a=_0x295e11;return!!this[_0x1cf23a(0x490)][_0x1cf23a(0x406)](_0x5a590a,_0xf74f56);}[_0x295e11(0x251)](_0x41b57a,_0x587a5,_0x1b55a6,_0x3c1683){const _0x5ce9a2=_0x295e11,_0x5ef294=this['_revisionService'][_0x5ce9a2(0x443)](_0x41b57a);this[_0x5ce9a2(0x32e)][_0x5ce9a2(0x370)](_0x41b57a,{'unitID':_0x41b57a,'type':_0x587a5,'awaitingChangeset':_0x1b55a6,'mutations':_0x3c1683,'rev':_0x5ef294}),this[_0x5ce9a2(0x1fe)]['has'](_0x41b57a)||this[_0x5ce9a2(0x257)](_0x41b57a);}['_scheduleSaving'](_0x5e498c){const _0x4517e5=_0x295e11,_0x40d34b=this[_0x4517e5(0x261)]();_0x40d34b===0x0?this['_saveCache'](_0x5e498c):this[_0x4517e5(0x1fe)][_0x4517e5(0x370)](_0x5e498c,setTimeout(()=>this[_0x4517e5(0x20e)](_0x5e498c),_0x40d34b));}[_0x295e11(0x261)](){const _0x3408cc=_0x295e11;var _0x2dc032;return(_0x2dc032=this[_0x3408cc(0x2d4)][_0x3408cc(0x231)](_0x3958ea[_0x3408cc(0x36b)]))!=null?_0x2dc032:_0x3958ea[_0x3408cc(0x341)];}['_saveCache'](_0x318b16){const _0x146c43=_0x295e11,_0x13c50e=this[_0x146c43(0x1fe)][_0x146c43(0x1de)](_0x318b16);return _0x13c50e!==void 0x0&&window[_0x146c43(0x425)](_0x13c50e),this[_0x146c43(0x490)]['setItem'](_0x3958ea['getLocalCacheKey'](_0x318b16),this[_0x146c43(0x32e)][_0x146c43(0x1de)](_0x318b16))[_0x146c43(0x2a1)](()=>this[_0x146c43(0x1fe)][_0x146c43(0x240)](_0x318b16));}async[_0x295e11(0x46c)](){const _0x3a06f5=_0x295e11,_0xa9a7a7=[];this['_saveTaskMap']['forEach']((_0x17ac57,_0x427d1d)=>{const _0xab9e18=_0xd951;window[_0xab9e18(0x425)](_0x17ac57),_0xa9a7a7['push'](this[_0xab9e18(0x20e)](_0x427d1d)[_0xab9e18(0x2a1)](()=>{const _0x3c9f93=_0xab9e18;this[_0x3c9f93(0x1fe)]['delete'](_0x427d1d);}));}),await Promise[_0x3a06f5(0x375)](_0xa9a7a7);}};_0x3698c4=_0xc80f08([_0x5b38eb(0x0,_0x40624a[_0x295e11(0x26b)]),_0x5b38eb(0x1,_0x40624a['ILocalStorageService']),_0x5b38eb(0x2,_0x40624a[_0x295e11(0x33d)](_0x2c324c[_0x295e11(0x1fb)]))],_0x3698c4);class _0x5e9496 extends _0x40624a[_0x295e11(0x40a)]{constructor(){const _0x5c8673=_0x295e11;super(),_0x9020b(this,_0x5c8673(0x368)),this[_0x5c8673(0x368)]=_0x5b38f4[_0x5c8673(0x4a5)](window,_0x5c8673(0x433))[_0x5c8673(0x32d)](_0x5b38f4[_0x5c8673(0x491)](this[_0x5c8673(0x2ff)]),_0x5b38f4[_0x5c8673(0x2ae)](0x1),_0x5b38f4[_0x5c8673(0x3ff)](void 0x0));}['setParam'](_0x102d3a,_0x5a52be,_0xe60998=!0x1){const _0x417047=_0x295e11,_0x260554=new URL(window[_0x417047(0x3b2)]['href']);_0x260554[_0x417047(0x2fd)][_0x417047(0x370)](_0x102d3a,_0x5a52be),_0xe60998?window[_0x417047(0x1db)]['replaceState']('','',_0x260554[_0x417047(0x339)]()):window[_0x417047(0x1db)][_0x417047(0x2d9)]('','',_0x260554[_0x417047(0x339)]());}[_0x295e11(0x1f2)](_0x194a37,_0x1417a0=!0x1){const _0xda47cc=_0x295e11,_0x4ed731=new URL(window['location'][_0xda47cc(0x1fd)]);_0x4ed731[_0xda47cc(0x2fd)][_0xda47cc(0x240)](_0x194a37),_0x1417a0?window[_0xda47cc(0x1db)][_0xda47cc(0x213)]('','',_0x4ed731[_0xda47cc(0x339)]()):window[_0xda47cc(0x1db)][_0xda47cc(0x2d9)]('','',_0x4ed731['toString']());}['getParam'](_0x2f9c7a){const _0x24aca3=_0x295e11;var _0x530226;return(_0x530226=new URL(window['location'][_0x24aca3(0x1fd)])[_0x24aca3(0x2fd)]['get'](_0x2f9c7a))!=null?_0x530226:void 0x0;}}var _0x530910=Object['defineProperty'],_0x40f96b=Object[_0x295e11(0x3a0)],_0x15fe47=(_0x497739,_0x48709e,_0x25a192)=>_0x48709e in _0x497739?_0x530910(_0x497739,_0x48709e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25a192}):_0x497739[_0x48709e]=_0x25a192,_0x283235=(_0x43d628,_0x4e9c62,_0x4a1ebc,_0x20abd7)=>{const _0x1d2d08=_0x295e11;for(var _0x51ed70=_0x20abd7>0x1?void 0x0:_0x20abd7?_0x40f96b(_0x4e9c62,_0x4a1ebc):_0x4e9c62,_0x34e86d=_0x43d628[_0x1d2d08(0x1c4)]-0x1,_0x224bab;_0x34e86d>=0x0;_0x34e86d--)(_0x224bab=_0x43d628[_0x34e86d])&&(_0x51ed70=_0x224bab(_0x51ed70)||_0x51ed70);return _0x51ed70;},_0x51bd95=(_0x3935e6,_0x5cd520)=>(_0x12642d,_0x496546)=>_0x5cd520(_0x12642d,_0x496546,_0x3935e6),_0xeb6823=(_0x3a2726,_0x4a477f,_0x17dd68)=>_0x15fe47(_0x3a2726,_0x4a477f+'',_0x17dd68);const _0x25e50f=_0x295e11(0x378);_0x40352c[_0x295e11(0x272)]=class extends _0x40624a[_0x295e11(0x39e)]{constructor(_0x322eef=_0x1498da,_0x297ed5,_0x2657ee,_0x30d688){const _0x1d217a=_0x295e11;super(),this['_config']=_0x322eef,this[_0x1d217a(0x1ed)]=_0x297ed5,this[_0x1d217a(0x351)]=_0x2657ee,this[_0x1d217a(0x2d4)]=_0x30d688;const {..._0x4c8277}=_0x40624a[_0x1d217a(0x263)]({},_0x1498da,this[_0x1d217a(0x388)]);this[_0x1d217a(0x2d4)][_0x1d217a(0x20c)](_0x146d19,_0x4c8277);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x295e11(0x1cc)](){const _0x45c951=_0x295e11;this[_0x45c951(0x31d)]();}['_registerDependencies'](){const _0x5c7cca=_0x295e11;var _0x1e58aa;const _0x149308=[[_0x2d4f99],[_0x2f3884],[_0x1165fa],[_0x516df5],[_0x2c640a],[_0x2a125f],[_0x6adebe,{'useClass':_0x5e9496}],[_0x42d795[_0x5c7cca(0x397)],{'useClass':_0x42d795['WebSocketService']}],[_0x3958ea[_0x5c7cca(0x22f)],{'useClass':_0x3698c4}],[_0x40352c[_0x5c7cca(0x295)]],[_0x22b2b8],[_0x3ef4e4],[_0x2e9070],[_0x47f626],[_0x40352c['CollaborationDataLoaderController']]];this[_0x5c7cca(0x388)][_0x5c7cca(0x481)]&&_0x149308[_0x5c7cca(0x2f0)]([_0x308889]),_0x40624a['registerDependencies'](this[_0x5c7cca(0x351)],_0x40624a['mergeOverrideWithDependencies'](_0x149308,(_0x1e58aa=this[_0x5c7cca(0x388)])==null?void 0x0:_0x1e58aa[_0x5c7cca(0x229)]));}['_registerRenderDependencies'](){const _0x5835c9=_0x295e11;this['disposeWithMe'](this[_0x5835c9(0x1ed)]['registerRenderModule'](_0x40624a[_0x5835c9(0x260)][_0x5835c9(0x36a)],[_0x2faf05])),this[_0x5835c9(0x2bc)](this[_0x5835c9(0x1ed)][_0x5835c9(0x35e)](_0x40624a[_0x5835c9(0x260)]['UNIVER_SHEET'],[_0xb986df]));}[_0x295e11(0x385)](){const _0xf40917=_0x295e11;_0x40624a['touchDependencies'](this[_0xf40917(0x351)],[[_0x2e9070],[_0x40352c['DesktopCollaborationStatusDisplayController']],[_0x22b2b8],[_0x3ef4e4],[_0x40352c[_0xf40917(0x301)]],[_0x2f3884]]),this[_0xf40917(0x388)][_0xf40917(0x481)]&&_0x40624a[_0xf40917(0x212)](this[_0xf40917(0x351)],[[_0x308889]]);}},_0xeb6823(_0x40352c[_0x295e11(0x272)],'pluginName',_0x25e50f),_0x40352c['UniverCollaborationClientUIPlugin']=_0x283235([_0x40624a[_0x295e11(0x3c5)](_0x3958ea[_0x295e11(0x4a3)]),_0x51bd95(0x1,_0x2680b3[_0x295e11(0x280)]),_0x51bd95(0x2,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x474)])),_0x51bd95(0x3,_0x40624a['IConfigService'])],_0x40352c['UniverCollaborationClientUIPlugin']);var _0x1765a2=Object[_0x295e11(0x3a0)],_0x4dc7fa=(_0x68f912,_0x4d5339,_0x42cc1b,_0x630dc7)=>{const _0x54acd5=_0x295e11;for(var _0x372736=_0x630dc7>0x1?void 0x0:_0x630dc7?_0x1765a2(_0x4d5339,_0x42cc1b):_0x4d5339,_0x35b2c3=_0x68f912[_0x54acd5(0x1c4)]-0x1,_0x2886eb;_0x35b2c3>=0x0;_0x35b2c3--)(_0x2886eb=_0x68f912[_0x35b2c3])&&(_0x372736=_0x2886eb(_0x372736)||_0x372736);return _0x372736;},_0x45c070=(_0x1a1fbe,_0x3c7144)=>(_0x240266,_0xf162bb)=>_0x3c7144(_0x240266,_0xf162bb,_0x1a1fbe);_0x40352c[_0x295e11(0x28b)]=class extends _0x3958ea[_0x295e11(0x2eb)]{constructor(_0x163fe0,_0x3aac88,_0x264432,_0xef7ada,_0x59efbb){super(_0x163fe0,_0x3aac88,_0x264432,_0xef7ada,_0x59efbb);}async[_0x295e11(0x401)](_0x1decec){const _0x3aa03b=_0x295e11,_0x569583=await this[_0x3aa03b(0x379)](),_0x19c363=this['_createSocketURL'](_0x1decec,_0x569583);return this[_0x3aa03b(0x2a4)](_0x19c363);}[_0x295e11(0x2a9)](_0x1a79ce,_0x5acd25){const _0x396d29=_0x295e11,_0x40b677=typeof window>'u'?new URL(_0x1a79ce):new URL(_0x1a79ce,window[_0x396d29(0x3b2)][_0x396d29(0x3c4)]);_0x40b677[_0x396d29(0x2fd)][_0x396d29(0x370)](_0x396d29(0x431),_0x5acd25);const _0x4b5e69=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x396d29(0x47a)]);return _0x4b5e69['get']('runId')&&_0x40b677[_0x396d29(0x2fd)][_0x396d29(0x370)]('runId',_0x4b5e69[_0x396d29(0x1de)]('runId')),_0x40b677[_0x396d29(0x339)]();}async[_0x295e11(0x379)](){const _0x2c0bb4=_0x295e11;var _0x29799d,_0x34773e,_0x4fd70b;const _0x22bb55=this['_configService'][_0x2c0bb4(0x231)](_0x3958ea[_0x2c0bb4(0x222)]),_0x2a50cf=(_0x29799d=_0x22bb55==null?void 0x0:_0x22bb55['wsSessionTicketUrl'])!=null?_0x29799d:_0x3958ea['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x4fd70b=(_0x34773e=(await this['_httpService'][_0x2c0bb4(0x1de)](_0x2a50cf,{'headers':{'Content-Type':_0x2c0bb4(0x456)}}))[_0x2c0bb4(0x4a2)])==null?void 0x0:_0x34773e[_0x2c0bb4(0x386)])!=null?_0x4fd70b:'';}},_0x40352c['BrowserCollaborationSocketService']=_0x4dc7fa([_0x45c070(0x0,_0x40624a['Inject'](_0x40624a[_0x295e11(0x474)])),_0x45c070(0x1,_0x40624a[_0x295e11(0x33d)](_0x42d795[_0x295e11(0x2b0)])),_0x45c070(0x2,_0x40624a[_0x295e11(0x26b)]),_0x45c070(0x3,_0x40624a['ILogService']),_0x45c070(0x4,_0x2c324c[_0x295e11(0x411)])],_0x40352c[_0x295e11(0x28b)]);var _0x145339=Object[_0x295e11(0x3a0)],_0x3380e6=(_0x10608d,_0x32eefe,_0x528d30,_0x38a671)=>{const _0x2855f2=_0x295e11;for(var _0x1dd3aa=_0x38a671>0x1?void 0x0:_0x38a671?_0x145339(_0x32eefe,_0x528d30):_0x32eefe,_0x5ec9c9=_0x10608d[_0x2855f2(0x1c4)]-0x1,_0x537c0f;_0x5ec9c9>=0x0;_0x5ec9c9--)(_0x537c0f=_0x10608d[_0x5ec9c9])&&(_0x1dd3aa=_0x537c0f(_0x1dd3aa)||_0x1dd3aa);return _0x1dd3aa;},_0x2105cc=(_0x3b52ec,_0xa2f103)=>(_0x52c6e8,_0x3ad6ba)=>_0xa2f103(_0x52c6e8,_0x3ad6ba,_0x3b52ec);_0x40352c[_0x295e11(0x3f0)]=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x2b038e,_0x2b01df,_0x145c2e){const _0xd440d6=_0x295e11;super(),this[_0xd440d6(0x3d9)]=_0x2b038e,this[_0xd440d6(0x395)]=_0x2b01df,this[_0xd440d6(0x2d4)]=_0x145c2e;}async[_0x295e11(0x2fa)](_0x44efb2,_0x9379ac,_0x515c21,..._0x27df63){const _0x3b9f42=_0x295e11;var _0x369917,_0x53d13d,_0x3ca8b7,_0x376a1a;const _0x5c31c4=this[_0x3b9f42(0x3d9)][_0x3b9f42(0x3cd)]();if(!_0x5c31c4)throw new Error(_0x3b9f42(0x356));const _0x15c154=((_0x369917=this[_0x3b9f42(0x2d4)][_0x3b9f42(0x231)](_0x3958ea[_0x3b9f42(0x367)]))!=null?_0x369917:_0x3958ea[_0x3b9f42(0x20d)])+'/'+_0x44efb2+_0x3b9f42(0x42e)+_0x9379ac,_0x358859=new URL(window[_0x3b9f42(0x3b2)]['href']),_0x41cfc3={'scriptId':_0x44efb2,'runId':(_0x53d13d=_0x358859['searchParams'][_0x3b9f42(0x1de)](_0x3b9f42(0x1cd)))!=null?_0x53d13d:'','function':_0x9379ac,'unitId':_0x5c31c4['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x27df63),'invokeId':(_0x3ca8b7=_0x515c21[_0x3b9f42(0x223)])!=null?_0x3ca8b7:'','executionId':(_0x376a1a=_0x515c21[_0x3b9f42(0x320)])!=null?_0x376a1a:''};try{const _0x166dcb=await this[_0x3b9f42(0x395)]['post'](_0x15c154,{'body':_0x41cfc3});return _0x166dcb[_0x3b9f42(0x4a2)][_0x3b9f42(0x3b0)]&&_0x166dcb[_0x3b9f42(0x4a2)][_0x3b9f42(0x3b0)][_0x3b9f42(0x286)]!==_0x319d71['OK']?_0x3b9f42(0x2f5):_0x166dcb[_0x3b9f42(0x4a2)]['result'];}catch{return _0x3b9f42(0x2f5);}}},_0x40352c[_0x295e11(0x3f0)]=_0x3380e6([_0x2105cc(0x0,_0x40624a[_0x295e11(0x2e4)]),_0x2105cc(0x1,_0x40624a[_0x295e11(0x33d)](_0x42d795['HTTPService'])),_0x2105cc(0x2,_0x40624a[_0x295e11(0x26b)])],_0x40352c[_0x295e11(0x3f0)]);const _0x193540=0x7530,_0x4b5352='ACTIVE_UNIT_EVENT_CHANNEL';class _0x581939 extends _0x40624a['Disposable']{constructor(){const _0x2f2490=_0x295e11;super(),_0x9020b(this,_0x2f2490(0x404),_0x40624a[_0x2f2490(0x2d5)]()),_0x9020b(this,'_selfUnitIDs',new Set()),_0x9020b(this,_0x2f2490(0x2b6),new Map()),_0x9020b(this,_0x2f2490(0x277),null),_0x9020b(this,_0x2f2490(0x1d2),new Map()),_0x9020b(this,_0x2f2490(0x383),new Map()),this[_0x2f2490(0x4a0)]();}[_0x295e11(0x3d1)](){const _0x3c3c1e=_0x295e11;super[_0x3c3c1e(0x3d1)](),this[_0x3c3c1e(0x1d2)][_0x3c3c1e(0x24d)]((_0x4726ee,_0x389075)=>this[_0x3c3c1e(0x365)](_0x389075)),this[_0x3c3c1e(0x277)]&&window['clearInterval'](this[_0x3c3c1e(0x277)]);}[_0x295e11(0x3f1)](_0x53f8cf){const _0xd1888f=_0x295e11;return this[_0xd1888f(0x2d0)](_0x53f8cf)[_0xd1888f(0x32d)](_0x5b38f4[_0xd1888f(0x39a)]());}[_0x295e11(0x2bb)](_0x46adff){const _0x547cf5=_0x295e11;this[_0x547cf5(0x362)][_0x547cf5(0x47e)]===0x0&&this[_0x547cf5(0x27b)](),this[_0x547cf5(0x362)][_0x547cf5(0x372)](_0x46adff),this[_0x547cf5(0x25c)]({'type':0x0,'memberID':this[_0x547cf5(0x404)],'unitIDs':[_0x46adff],'isForwarded':!0x1});}['disposeUnit'](_0x33cc0d){const _0x1ecd45=_0x295e11;this[_0x1ecd45(0x362)][_0x1ecd45(0x240)](_0x33cc0d),this['_selfUnitIDs'][_0x1ecd45(0x47e)]===0x0&&this[_0x1ecd45(0x277)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x295e11(0x4a0)](){const _0x5d77a4=_0x295e11;this[_0x5d77a4(0x2bc)](_0x40624a[_0x5d77a4(0x381)](_0x5b38f4[_0x5d77a4(0x4a5)](window,'storage')[_0x5d77a4(0x4af)](_0x16ce6a=>{const _0x247378=_0x5d77a4;if(_0x16ce6a[_0x247378(0x209)]!==_0x4b5352||!_0x16ce6a['newValue'])return;const _0x2e8109=JSON[_0x247378(0x249)](_0x16ce6a['newValue']);this[_0x247378(0x305)](_0x2e8109);}))),window['addEventListener'](_0x5d77a4(0x45e),()=>this[_0x5d77a4(0x25c)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x5d77a4(0x4a6)](this[_0x5d77a4(0x362)])}));}[_0x295e11(0x305)](_0xd4b0f0){const _0x119784=_0x295e11;switch(_0xd4b0f0['type']){case 0x0:this[_0x119784(0x3fd)](_0xd4b0f0);break;case 0x1:this[_0x119784(0x440)](_0xd4b0f0);break;case 0x2:this[_0x119784(0x408)](_0xd4b0f0);break;}}[_0x295e11(0x3fd)](_0xc9e2fa){const _0x4c0708=_0x295e11,{unitIDs:_0x18139d,memberID:_0x563195,isForwarded:_0x38b6a9}=_0xc9e2fa;_0x18139d[_0x4c0708(0x24d)](_0x37fea6=>{const _0xe3a1f4=_0x4c0708;if(!_0x38b6a9&&this['_unitOnClients']['has'](_0x37fea6)&&this[_0xe3a1f4(0x2d0)](_0x37fea6)[_0xe3a1f4(0x2d3)](_0x3958ea[_0xe3a1f4(0x3db)][_0xe3a1f4(0x309)]),!this[_0xe3a1f4(0x2b6)]['has'](_0x37fea6)||!this[_0xe3a1f4(0x2b6)]['get'](_0x37fea6)[_0xe3a1f4(0x248)](_0x563195)){const _0x1051cc=this[_0xe3a1f4(0x2b6)][_0xe3a1f4(0x1de)](_0x37fea6)||new Set();_0x1051cc[_0xe3a1f4(0x372)](_0x563195),this[_0xe3a1f4(0x2b6)][_0xe3a1f4(0x370)](_0x37fea6,_0x1051cc),this[_0xe3a1f4(0x47c)](_0x563195);}}),_0x38b6a9||this['_send']({'type':0x0,'memberID':this[_0x4c0708(0x404)],'unitIDs':[...this[_0x4c0708(0x362)]],'isForwarded':!0x0});}[_0x295e11(0x47c)](_0x2be0eb){const _0x163496=_0x295e11;this[_0x163496(0x365)](_0x2be0eb);const _0x527f4d=window[_0x163496(0x30f)](()=>{const _0xa25ac2=_0x163496;this['_unitOnClients'][_0xa25ac2(0x24d)](_0xe18203=>{const _0x3d12f1=_0xa25ac2;_0xe18203[_0x3d12f1(0x240)](_0x2be0eb);});},_0x193540*0x2);this['_clearOtherTimers'][_0x163496(0x370)](_0x2be0eb,_0x527f4d);}['_removeClearOtherTimer'](_0x1f1ce3){const _0x47b597=_0x295e11;if(this['_clearOtherTimers'][_0x47b597(0x248)](_0x1f1ce3)){const _0x423165=this['_clearOtherTimers'][_0x47b597(0x1de)](_0x1f1ce3);_0x423165&&window[_0x47b597(0x425)](_0x423165),this[_0x47b597(0x1d2)][_0x47b597(0x370)](_0x1f1ce3,null);}}['_handleLeaveEvent'](_0x2e4fe6){const _0x93116a=_0x295e11,{memberID:_0x50e1c3,unitIDs:_0x1d15b6}=_0x2e4fe6;_0x1d15b6['forEach'](_0x7328e0=>{const _0x5261a9=_0xd951;var _0x4b3b46;const _0x49411c=this[_0x5261a9(0x2b6)]['get'](_0x7328e0);_0x49411c&&(_0x49411c[_0x5261a9(0x240)](_0x50e1c3),(_0x4b3b46=this[_0x5261a9(0x2d0)](_0x7328e0))==null||_0x4b3b46[_0x5261a9(0x2d3)](_0x49411c[_0x5261a9(0x47e)]===0x0?_0x3958ea['UnitStatus'][_0x5261a9(0x2af)]:_0x3958ea[_0x5261a9(0x3db)][_0x5261a9(0x309)]));}),this[_0x93116a(0x365)](_0x50e1c3);}[_0x295e11(0x408)](_0x4aa911){const _0x319cfc=_0x295e11;this[_0x319cfc(0x47c)](_0x4aa911['memberID']);}['_send'](_0x4cbac8){const _0x28ad1e=_0x295e11;localStorage['setItem'](_0x4b5352,JSON[_0x28ad1e(0x2be)](_0x4cbac8));}['_scheduleHeartbeat'](){const _0x5e76e9=_0x295e11;this[_0x5e76e9(0x277)]=window[_0x5e76e9(0x3f6)](()=>{const _0x3eed7b=_0x5e76e9;this[_0x3eed7b(0x25c)]({'type':0x2,'memberID':this['_id']});},_0x193540);}[_0x295e11(0x2d0)](_0x1f0268){const _0x46b357=_0x295e11;return this[_0x46b357(0x383)]['has'](_0x1f0268)||this[_0x46b357(0x383)][_0x46b357(0x370)](_0x1f0268,new _0x5b38f4['BehaviorSubject'](_0x3958ea['UnitStatus'][_0x46b357(0x2af)])),this[_0x46b357(0x383)][_0x46b357(0x1de)](_0x1f0268);}}_0x40352c[_0x295e11(0x438)]=_0x6adebe,_0x40352c['SheetCollabCursorShape']=_0x446f9f,_0x40352c[_0x295e11(0x2f1)]=_0x581939,_0x40352c[_0x295e11(0x345)]=_0x5e9496,Object[_0x295e11(0x314)](_0x40352c,Symbol[_0x295e11(0x3f9)],{'value':_0x295e11(0x38f)});}));
8
+ function _0x1e97(_0x3f05b8,_0x598ef3){_0x3f05b8=_0x3f05b8-0xce;const _0x17969e=_0x1796();let _0x1e97df=_0x17969e[_0x3f05b8];return _0x1e97df;}function _0x1796(){const _0x4000cb=['getLocalCacheKey','CollaborationDataLoaderController','override','dispose$','xlink:href','_docTransformStateCacheService','engine','imageSourceType','USER_NOT_INVITED_CODE','_unitOnClients','getFocusedUnit','object','369766nIPzgf','@univerjs/design','CollaborationStatus','source','permission.title','_initDependencies','ticket','getUndoRedoMutationParamsCache','COMPLETION_FINISHED','url(#$1','invokeId','DataLoaderService','/universer-api/license/formula/limit/status','endRow','getCollabCursors$','search','dispose','SetTextSelectionsOperation','createElement','height','storage','resize','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','off-line-icon_clip0_910_343','roomMembers$','Tools','handleInsertRow','Unknown\x20user','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getUnitId','idSuffix','ONLINE','svg','assignAColorForMemberID','setAlpha','_toggleOnline','useCallback','size','FromArray','_httpService','measureText','REDEMPTION_CODE_HAS_BEEN_CREATED','_disabled','@univerjs/drawing','_roomMembers$','@univerjs/network','socket$','path','_initStatusListener','values','COLORS','_commandService','isArray','eventID','clipPath','shareReplay','fromEventSubject','[LogService\x20Error]:\x20','MOBILE_VERIFY_CODE_MISMATCH','editingUnit','DisposableCollection','_colorIndex','PERMISSION_DENIED','LOGIN_TOKEN_PROCESSING_FAILED','univerjs-icon\x20univerjs-icon-','@univerjs/sheets','SOCKET_FAILED_RETRY','focused$','_logService','_getMergeRange','_docTransformSelectionsService','ranges','_releaseCalculationLimit','_onCursorDelete','_handleHover','m2Prime','init','isFormulaId','FormulaExecuteStageType','_drawAnchor','_scheduleSaving','#FFF','DocStateChangeManagerService','stageInfo','_onCursorUpdate','VIEW_MAIN','undoState','post','USERS_LEAVE','deepClone','_taskIds','Optional','SUCCESS','MessageType','exhaustSavingTask','handleInsertRangeMoveRight','takeUntil','error','TEXT','NOT_FOUND','8011638ZkysBU','PY_RUNTIME_SCRIPT_ERROR','tag','_collabSessionService','_initUnhandledRejectionListener','AWAITING_WITH_PENDING','IRenderManagerService','removeEventListener','RemoveColCommandId','_clearOtherTimers','use','delete','_heartbeatTimer','endColumn','_cursorInfo$','_textBubble','REDEMPTION_INVALID_CODE','getCoordByCell','PENDING','_createSocketURL','_initCommandInterceptor','sessionStatus$','Loading','EffectRefRangId','INotificationService','getUnit','_clearPolling','REDEMPTION_USER_NOT_ELIGIBLE','_docSkeletonManagerService','children','YUUMI_ASYNCIO_CANCELLED','UniverDocsUi','ENTITLE_USE_COUPON_NOT_1ST_TRADE','@univerjs/engine-formula','_injector','APPLY_NON_SEQUENTIAL_REVISION','attrs','...','CONNECTOR_DATA_TOO_LARGE','isFormulaString','ENTITLE_CAN_NOT_BUY_LOWER_OTP','UniverRpc','WebURLService','mapTo','APPLY_REVISION_CONFILICT','session.connection-failed','row','M0\x200H16V16H0z','getTypeOfUnitAdded$','_dataLoaderService','SetSelectionsOperation','ILocalStorageService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','transformMutation','has','currentColor','SOCKET_FAILED','roomMembers','distinctUntilChanged','isTransformMutationFailure','InsertRowCommandId','_docClipboardService','DocSkeletonManagerService','_getSheetObject','onCommandExecuted','set','_render','_cursor','setTimeout','@univerjs-pro/collaboration','YUUMI_AI_RUN_FAILED','_labelPosition','_showGuardMessage','colno','text','ACTIVE_UNIT_EVENT_CHANNEL','_transformUndoRedoStack','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_removeClearOtherTimer','OFFLINE','setUndoRedoMutationParamsCache','string','sessionTicket','getColorFromTheme','UniverSheets','collabStatus.fetchMiss','_initResize','_univerInstanceService','RECT','transformMutationsWithChangeset','_renderManagerService','push','cursorInfo$','makeDirty','UniverEngineRender','formula.calculation.unable','_themeService','exports','textRanges','totalFormulasToCalculate','collabStatus.conflict','Rectangle','Error','InsertRangeMoveDownCommandId','REDEMPTION_CODE_INACTIVE','with','isEditing','_instanceService','_cursorShapes','pipe','_onRefRangeChange','_maxFormulaLimit','none','UNDEFINED','DependentOn','WebSocketService','location','CLOSE_ROOM','status$','_memberID','MUTATION','color','parseInt','onPointerLeave$','fill','_getAnchorBounding','CURRENT_STATUS_CANNOT_OPERATE','USER_NOT_FOUND','actions','popstate','_initStatusComponent','body','BuiltInUIPart','collabCursorState$','IImageIoService','[CollaborationDataLoaderController]','unitID','ILogService','filter','UniverCollaborationClientUIPlugin','throttleTime','CollaborationSocketService','operators','ThemeService','_setupSubUnitSync','getRelativeToViewportCoord','_selfUnitIDs','PAYMENT_CHANNEL_NOT_SUPPORT','column','collab-text-anchor-','getSheetId','CollaborationEvent','_handleEvent','whenReady','length','getOffsetConfig','INVITE_CODE_HAS_BEEN_UES','disposeWithMe','replaceState','getSheetObject','_scheduleHeartbeat','clearTimeout','LICENSE_MAX_UNITS_EXCEEDED','forwardRef','event$','SheetCollabCursorShape','_draw','REDEMPTION_CODE_FULLY_REDEEMED','INTERNAL_ERROR','limitInfo','_getSaveTimeout','/universer-api/license/formula/limit/done','getCurrentRevOfUnit','_eventUnsubscribe','_registerDependencies','collaboration-client-ui.config','SetDocZoomRatioOperation','UniverNetwork','collaboration.offline-data-not-saved','disableLocalCache','_pollingInterval','IURLService','Inject','range','arc','handleInsertRangeMoveDown','_id','history','_collabCursorState$','RevisionService','setInterval','UNAUTHENTICATED','getCurrentUnitForType','functionsExecutedState','now','merge','SheetSkeletonManagerService','@univerjs/core','stack','_registerRenderDependencies','entityInit$','CollaborationUIEventService','collaboration.closeRoom','ENTITLE_REPORT_LIMIT_EXCEED','SNAPSHOT_HAS_BEEN_REMOVED','_urlService','flatMap','on-line-icon_clip0_910_349','CollaborationController','MoveRangeCommandId','_hasFormulaInDirtyRanges','getformulaLimitStatusUrl','registerRefRange','_cachedData','_entities','saveImage','UNIVER_SHEET','getColor','session.collaboration-timeout','getVpScrollXYInfoByPosToVp','UniverInstanceType','_getFormulaLimitStatus','_collabCursorController','IConfigService','hovered','ILocalCacheService','_uploadLog','OffLineIcon','APPLY_DUPLICATED','RegularPolygon','loadUnit','BrowserCollaborationSocketService','univer-flex\x20univer-items-center','runOnServer','YUUMI_RATE_OVER_LIMIT','INVITE_CODE_REQUIRED','UniverIcon','subUnitId','top','OTHER_CLIENTS_EDITING','params','_refreshCollabCursors','save','loadOfflineData','removeParam','LOCAL_CACHE_INTERVAL','maxFormulaLimit','@univerjs/docs-ui','_localStorageService','colorChannel1','ISocketService','href','YUUMI_CONNECTOR_URL_NOT_FOUND','UniverEngineFormula','CONFLICT','CollaborationUIEventId','addObject','getSkeleton','symbol','Rect','@univerjs/ui','_beforeCloseService','_updateSubUnitFromURLParams','_lastResponseTimestamp','/universer-api/license/formula/limit/start','DeleteRangeMoveLeftCommandId','SHEET_VIEWPORT_KEY','then','_initEvent','_hideTimer','registerComponent','Injector','ENTITLE_INSUFFICIENT_QUOTA','_hovered','add','Warning','ENTITLE_COUPON_EXPIRED','onStarting','UNIVER_DOC','mutations','NodePositionConvertToRectRange','_collaborationSessionService','send','executionId','_updateLocalCursor','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_online','find','REDEMPTION_CODE_NOT_STARTED','Module','24269rWNrGi','unsubscribe','FETCH_MISS','/run/','url(#off-line-icon_clip0_910_343)','addHandlerCallback','EMAIL_HAS_BEEN_BOUND','NO_OTHER_CLIENTS_EDITING','handleMoveRange','getConfig','searchParams','onLocalMutation','CanceledError','startFormulaLimitUrl','_localeService','_setFormulaLimitStatus','getMergeData','next','TEXT_RANGE_LAYER_INDEX','DOC_RANGE_TYPE','debounceTime','_assignedColors','_initWindowErrorListener','SetFormulaCalculationStartMutation','SNAPSHOT_INVALID_SNAPSHOT','CHANGESET_REVISION_CONFILICT','_send','substring','map','cursorInfo','jsxs','_transformService','uni.network.url-service','mask','origin','type','name','RxDisposable','registerDependencies','_unitStatus','680076bXjpyt','INVITE_CODE_ALREADY_BOUND','getUniverSheetInstance','SessionStatus','unhandledrejection','data','collabStatus.synced','_color','RemoveRowCommandId','RefRangeService','getSheetBySheetId','Vector2','_memberService','shift','bottom','rgba(255,\x20255,\x20255,\x200.01)','YUUMI_NO_CUBOID_FOR_QUESTION','RemoteUniscriptService','off-line-icon','getRenderById','_sheetSkeletonManagerService','collabStatus.notCollab','USER_IS_ANONYMOUS','useRef','ENSURE_SNAPSHOT_EXECUTION','_refRangeService','url(#on-line-icon_clip0_910_349)','getRangePointData','syncEditingCollabCursor','TOO_MANY_REQUESTS','ColorKit','hide','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getCollabEntity$','translate(.97)','_range','selection','2054799Mszpfw','/universer-api/frontend/logs','closePath','transformStateCache','fillText','debug','drawWith','restore','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','message','UniverDocs','Success','NOT_COLLAB','_context','_initCommandExecutedListener','onPointerMove$','DocCollaborationEntity','_scheduleClearOtherTimer','backgroundColor','complete','some','IUniverInstanceService','handleIRemoveRow','findNodePositionByCharIndex','pushState','_saveCache','HTTPService','DesktopCollaborationStatusDisplayController','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','clearInterval','assign','rxjs','green.600','toStringTag','_revisionService','m1Prime','_uiPartsService','debounce','getDocRanges','UniverProCollaborationClientUi','UniverProCollaboration','_toggleOffline','displayName','UniverUi','RichTextEditingMutation','_setupBeforeClosingHandler','function','redoState','110YfRWZa','replaceDocRanges','MOBILE_HAS_BEEN_BOUND','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ITransformService','MemberService','_handleLeaveEvent','red.300','transformByState','UniverProCollaborationClient','registerBeforeClose','application/json','startsWith','_checkAndWaitForCalculationPermission','jsx','UniverDrawing','LICENSE_IMPORT_SIZE_EXCEEDED','Disposable','sheetID','ENTITLE_DUP_SUBSCRIPTION','CommandType','_updateCollabCursors','transformSelections','toString','_initUserListener','subunit','_saveTaskMap','connectInjector','saveOfflineData','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','subscribeEvent','wsSessionTicketUrl','AUTHORIZE_CODE_ILLEGAL','YUUMI_ALL_TABLES_IS_INVALID','getTypeOfUnitDisposed$','react','lineno','CollaborationSessionService','createInstance','FormulaExecutedStateType','onTransformChange$','setStateCache','getCellPositionByOffset','currentSkeleton$','defineProperty','@univerjs/docs','OTHER_CLIENT_EDITING','2120JwhQcW','getUnhiddenWorksheets','ENTITLE_COUPON_USED_UP','getActiveSheet','Workbook','sheetId','41632vaiHTh','_currentUsage','ERROR_AGAIN','[Window\x20Error]:\x20','0\x200\x2016\x2016','_initEntityListener','getAncestorScale','_docTransformIMECacheService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_cursors','getParam','@univerjs/rpc','InsertColCommandId','DocIMEInputManagerService','_docStateChangeManagerService','_removeCollabCursors','beforeCommandExecuted','show','replace','_configService','SetWorksheetActivateCommand','setParam','UnitStatus','_messageService','_docSkeleton','registerRenderModule','YUUMI_URL_COL_OUT_OF_RANGE','_backgroundColor','_transformPreviousActiveRange','_drawRectRange','blue.400','unit','saveTaskMap','unshift','stringify','_getSessionTicket','DocSelectionManagerService','selections','handleDeleteRangeMoveLeft','INVALID_INVITE_CODE','toRgbString','_name','onPointerEnter$','_checkCalculationAvailable','transformIMECache','_transformHistoryAndStateStack','subscribe','ISnapshotServerService','handleInsertCol','SYNCED','entries','_anchorDot','ENTITLE_INVALID_COUPON_CODE','setShapeProps','fromEvent','disposeUnit','APPLY_PERMISSION_DENIED','_status$','UNRECOGNIZED','getOwnPropertyDescriptor','beginPath','onMouseMove','dirtyRanges','_session','fillStyle','_init','ICommandService','_scene','Plugin','labelPosition','IDocClipboardService','addObjects','from','permission.content','requireSession','collabStatus.offline','_getScale','runId','div','UPDATE_CURSOR','EMAIL_VERIFY_CODE_MISMATCH','IRemoteInstanceService','getValue','_syncEditingCollabCursorService','unitId','width','getViewport','updateOfflineData','clsx','key','_docSyncEditingCollabCursorService','pluginName','join','_anchor','@univerjs/sheets-ui','getItem','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','evenodd','asObservable','_lastPointer','rxjs/operators','parse','code','formula.calculation.started','0\x200\x2017\x2016','useDependency','startColumn','_startCalculationLimit','_colorAssignService','getCurrentSelections','lineTo','doc.mutation.rich-text-editing','LICENSE_DISTRO_REJECTED','createIdentifier','addEventListener','black','IBeforeCloseService','SetFormulaCalculationNotificationMutation','_imageIoService','round','_handleJoinEvent','runRefRangeMutations','isTransformMutationsWithChangesetSuccess','_startDocCollabCursor','get','UniverSheetsUi','Shape','addClipboardHook','enableFrontendLog','Failed','_collaborationUIEventService','_startSheetCollabCursor','LocaleService','newValue','ALREADY_EXISTS','DATA_SOURCE_TOO_LARGE','currentTheme$','stage','_hover','useObservable','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_updateURLWithCurrentState','startRow','_localCacheService','_config','forEach','_document','currentUsage','_shapes','setItem','generateRandomId','trim','transformRemoteChangeset','purple.300','combineLatest','_handleHeartbeatEvent','white','split','YUUMI_SUBSCRIPTION_NOT_FOUND','serializeRangeWithSheet','_entityInit$','yellow.400','SheetsSelectionsService','defs','getCurrent','_ensureSubject','BehaviorSubject','amd','[RemoteUniscriptService]:\x20no\x20focused\x20unit','collab-text-range-','memberID','_notificationService','1em','catch','skeleton','bind','LOCAL_CACHE_INTERVAL_KEY','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','result','executeCommand','_drawTextRange','IMessageService','http://www.w3.org/2000/svg','handleDeleteRangeMoveUp','font','getMemberID','_monkeyPatchLogService','switchMap','UniverDesign','APPLY_REJECT','1133592fbckmr','ENTITLE_NEED_BILLING_ADDRESS','_applyCommand'];_0x1796=function(){return _0x4000cb;};return _0x1796();}(function(_0x5082e3,_0x53d6b4){const _0x285812=_0x1e97,_0x32367b=_0x5082e3();while(!![]){try{const _0x5ba9bf=-parseInt(_0x285812(0x35e))/0x1+-parseInt(_0x285812(0x36d))/0x2+-parseInt(_0x285812(0x215))/0x3+-parseInt(_0x285812(0x29f))/0x4*(parseInt(_0x285812(0x26a))/0x5)+parseInt(_0x285812(0x3d1))/0x6+parseInt(_0x285812(0x1ed))/0x7*(parseInt(_0x285812(0x299))/0x8)+parseInt(_0x285812(0x23a))/0x9;if(_0x5ba9bf===_0x53d6b4)break;else _0x32367b['push'](_0x32367b['shift']());}catch(_0x15e089){_0x32367b['push'](_0x32367b['shift']());}}}(_0x1796,0xace64),function(_0x4ac64d,_0x3fa0f4){const _0x1ebeb7=_0x1e97;typeof exports==_0x1ebeb7(0x36c)&&typeof module<'u'?_0x3fa0f4(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==_0x1ebeb7(0x268)&&define[_0x1ebeb7(0x347)]?define([_0x1ebeb7(0x12c),'react/jsx-runtime','@univerjs-pro/collaboration-client',_0x1ebeb7(0x190),_0x1ebeb7(0x1cf),_0x1ebeb7(0x259),_0x1ebeb7(0x36e),_0x1ebeb7(0x28d),_0x1ebeb7(0x2ab),_0x1ebeb7(0x3ae),'@univerjs/engine-render',_0x1ebeb7(0x39a),_0x1ebeb7(0x1c2),_0x1ebeb7(0x398),_0x1ebeb7(0x110),_0x1ebeb7(0x297),_0x1ebeb7(0xec),_0x1ebeb7(0x304),_0x1ebeb7(0x2fe)],_0x3fa0f4):(_0x4ac64d=typeof globalThis<'u'?globalThis:_0x4ac64d||self,_0x3fa0f4(_0x4ac64d[_0x1ebeb7(0x261)]={},_0x4ac64d['React'],_0x4ac64d[_0x1ebeb7(0x273)],_0x4ac64d['UniverCore'],_0x4ac64d[_0x1ebeb7(0x265)],_0x4ac64d[_0x1ebeb7(0x259)],_0x4ac64d[_0x1ebeb7(0x35c)],_0x4ac64d['React'],_0x4ac64d[_0x1ebeb7(0xf4)],_0x4ac64d[_0x1ebeb7(0x11f)],_0x4ac64d[_0x1ebeb7(0x129)],_0x4ac64d[_0x1ebeb7(0x17c)],_0x4ac64d[_0x1ebeb7(0xea)],_0x4ac64d[_0x1ebeb7(0x279)],_0x4ac64d[_0x1ebeb7(0x262)],_0x4ac64d[_0x1ebeb7(0x244)],_0x4ac64d[_0x1ebeb7(0x1c8)],_0x4ac64d['rxjs'][_0x1ebeb7(0x159)],_0x4ac64d[_0x1ebeb7(0x31d)]));}(this,function(_0x42b8f3,_0x36c173,_0x115633,_0x5721e1,_0xa1d841,_0x3c46fe,_0x31d403,_0x2f3b23,_0x2abba2,_0x52d373,_0x585793,_0x45e398,_0x45f825,_0x36f61a,_0x195720,_0x9d8fba,_0x26196d,_0x3951af,_0x131e0d){'use strict';const _0x3db800=_0x1e97;var _0x1b06f4=Object['defineProperty'],_0x53c8bc=(_0x2dd5c6,_0x2c698d,_0x1ccce8)=>_0x2c698d in _0x2dd5c6?_0x1b06f4(_0x2dd5c6,_0x2c698d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ccce8}):_0x2dd5c6[_0x2c698d]=_0x1ccce8,_0x11fc09=(_0x1c238c,_0x1047d5,_0x3846b8)=>_0x53c8bc(_0x1c238c,typeof _0x1047d5!=_0x3db800(0x1cd)?_0x1047d5+'':_0x1047d5,_0x3846b8);function _0x53852e({ref:_0x5a622c,..._0x254239}){const _0x4864c5=_0x3db800,{icon:_0x4d3409,id:_0x4baf37,className:_0x4b08df,extend:_0x431025,..._0x4dea7a}=_0x254239,_0x2bd6ea=(_0x4864c5(0x3ad)+_0x4baf37+'\x20'+(_0x4b08df||''))[_0x4864c5(0x337)](),_0x177064=_0x2f3b23[_0x4864c5(0x22c)]('_'+_0x178212());return _0x5a6ff2(_0x4d3409,''+_0x4baf37,{'defIds':_0x4d3409['defIds'],'idSuffix':_0x177064['current']},{'ref':_0x5a622c,'className':_0x2bd6ea,..._0x4dea7a},_0x431025);}function _0x5a6ff2(_0x21ac2b,_0xde4061,_0xf9ad22,_0x3c1ef3,_0x352370){const _0x1e4ee5=_0x3db800;return _0x2f3b23[_0x1e4ee5(0x37f)](_0x21ac2b[_0x1e4ee5(0x3d3)],{'key':_0xde4061,..._0x55e06a(_0x21ac2b,_0xf9ad22,_0x352370),..._0x3c1ef3},(_0x3862dd(_0x21ac2b,_0xf9ad22)[_0x1e4ee5(0xe8)]||[])[_0x1e4ee5(0x209)]((_0x894fa1,_0x474f9d)=>_0x5a6ff2(_0x894fa1,_0xde4061+'-'+_0x21ac2b['tag']+'-'+_0x474f9d,_0xf9ad22,void 0x0,_0x352370)));}function _0x55e06a(_0x35594d,_0x4efa96,_0x22fc24){const _0x1af7fa=_0x3db800,_0x376c0b={..._0x35594d[_0x1af7fa(0xef)]};_0x22fc24!=null&&_0x22fc24['colorChannel1']&&_0x376c0b[_0x1af7fa(0x147)]===_0x1af7fa(0x1c4)&&(_0x376c0b[_0x1af7fa(0x147)]=_0x22fc24[_0x1af7fa(0x1c4)]),_0x35594d[_0x1af7fa(0x3d3)]==='mask'&&_0x376c0b['id']&&(_0x376c0b['id']=_0x376c0b['id']+_0x4efa96[_0x1af7fa(0x38b)]),Object[_0x1af7fa(0x2d2)](_0x376c0b)['forEach'](([_0x28cebb,_0x4fd706])=>{const _0x2a7cba=_0x1af7fa;_0x28cebb===_0x2a7cba(0x20e)&&typeof _0x4fd706==_0x2a7cba(0x11c)&&(_0x376c0b[_0x28cebb]=_0x4fd706[_0x2a7cba(0x2b2)](/url\(#(.*)\)/,_0x2a7cba(0x376)+_0x4efa96['idSuffix']+')'));});const {defIds:_0x77e525}=_0x4efa96;return!_0x77e525||_0x77e525['length']===0x0||(_0x35594d[_0x1af7fa(0x3d3)]===_0x1af7fa(0xd5)&&_0x376c0b[_0x1af7fa(0x365)]&&(_0x376c0b[_0x1af7fa(0x365)]=_0x376c0b[_0x1af7fa(0x365)]+_0x4efa96[_0x1af7fa(0x38b)]),Object[_0x1af7fa(0x2d2)](_0x376c0b)[_0x1af7fa(0x331)](([_0x4fd073,_0x2127de])=>{const _0x30546b=_0x1af7fa;typeof _0x2127de=='string'&&(_0x376c0b[_0x4fd073]=_0x2127de[_0x30546b(0x2b2)](/url\(#(.*)\)/,'url(#$1'+_0x4efa96['idSuffix']+')'));})),_0x376c0b;}function _0x3862dd(_0x10a768,_0x5cbc68){const _0x1ee966=_0x3db800;var _0x787224;const {defIds:_0x4fbecb}=_0x5cbc68;return!_0x4fbecb||_0x4fbecb[_0x1ee966(0x165)]===0x0?_0x10a768:_0x10a768['tag']===_0x1ee966(0x343)&&((_0x787224=_0x10a768['children'])!=null&&_0x787224['length'])?{..._0x10a768,'children':_0x10a768[_0x1ee966(0xe8)]['map'](_0xa2952e=>typeof _0xa2952e[_0x1ee966(0xef)]['id']==_0x1ee966(0x11c)&&_0x4fbecb&&_0x4fbecb['includes'](_0xa2952e[_0x1ee966(0xef)]['id'])?{..._0xa2952e,'attrs':{..._0xa2952e[_0x1ee966(0xef)],'id':_0xa2952e[_0x1ee966(0xef)]['id']+_0x5cbc68[_0x1ee966(0x38b)]}}:_0xa2952e)}:_0x10a768;}function _0x178212(){const _0x19ae3e=_0x3db800;return Math['random']()[_0x19ae3e(0x281)](0x24)[_0x19ae3e(0x208)](0x2,0x8);}_0x53852e[_0x3db800(0x264)]=_0x3db800(0x1b7);const _0x11986a={'tag':_0x3db800(0x38d),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x3db800(0x2a3),'width':'1em','height':_0x3db800(0x34c)},'children':[{'tag':'g','attrs':{'clipPath':_0x3db800(0x1f1)},'children':[{'tag':_0x3db800(0x39c),'attrs':{'stroke':_0x3db800(0x102),'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':_0x3db800(0x317),'strokeLinejoin':_0x3db800(0x317),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3db800(0x384)},'children':[{'tag':_0x3db800(0x39c),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3db800(0x384)]},_0x1855f4=_0x2f3b23[_0x3db800(0x16e)](function(_0x4ad28d,_0x1854cb){const _0x4e5cc6=_0x3db800;return _0x2f3b23['createElement'](_0x53852e,Object['assign']({},_0x4ad28d,{'id':_0x4e5cc6(0x227),'ref':_0x1854cb,'icon':_0x11986a}));});_0x1855f4[_0x3db800(0x264)]=_0x3db800(0x1ae);const _0x689c8a={'tag':_0x3db800(0x38d),'attrs':{'xmlns':_0x3db800(0x356),'fill':_0x3db800(0x13b),'viewBox':_0x3db800(0x308),'width':_0x3db800(0x34c),'height':_0x3db800(0x34c)},'children':[{'tag':'g','attrs':{'clipPath':_0x3db800(0x22f)},'children':[{'tag':_0x3db800(0x39c),'attrs':{'stroke':_0x3db800(0x102),'d':_0x3db800(0x242),'strokeLinecap':_0x3db800(0x317),'strokeLinejoin':_0x3db800(0x317),'strokeWidth':1.2}}]},{'tag':_0x3db800(0x343),'attrs':{},'children':[{'tag':_0x3db800(0x3a3),'attrs':{'id':_0x3db800(0x19a)},'children':[{'tag':_0x3db800(0x39c),'attrs':{'fill':_0x3db800(0x33c),'d':_0x3db800(0xfa),'transform':_0x3db800(0x237)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x544b9b=_0x2f3b23['forwardRef'](function(_0x514393,_0x562375){const _0x21003b=_0x3db800;return _0x2f3b23[_0x21003b(0x37f)](_0x53852e,Object[_0x21003b(0x258)]({},_0x514393,{'id':'on-line-icon','ref':_0x562375,'icon':_0x689c8a}));});_0x544b9b[_0x3db800(0x264)]='OnLineIcon';function _0x4a053d(_0x15b61d){const _0xde42a5=_0x3db800;switch(_0x15b61d){case _0x115633[_0xde42a5(0x36f)][_0xde42a5(0x11a)]:return _0xde42a5(0x2eb);case _0x115633[_0xde42a5(0x36f)][_0xde42a5(0x1c9)]:return _0xde42a5(0x12f);case _0x115633[_0xde42a5(0x36f)][_0xde42a5(0x1ef)]:return _0xde42a5(0x120);case _0x115633[_0xde42a5(0x36f)][_0xde42a5(0x246)]:return _0xde42a5(0x22a);case _0x115633[_0xde42a5(0x36f)]['AWAITING']:case _0x115633[_0xde42a5(0x36f)][_0xde42a5(0xd0)]:return'collabStatus.syncing';case _0x115633['CollaborationStatus'][_0xde42a5(0x2d1)]:case _0x115633['CollaborationStatus'][_0xde42a5(0xdd)]:return _0xde42a5(0x21b);}}function _0x3aa57c(_0x24bc59){const _0x40bfa2=_0x3db800,{status$:_0x237a0a}=_0x24bc59,_0x42f0d8=_0xa1d841[_0x40bfa2(0x32b)](_0x237a0a,_0x115633[_0x40bfa2(0x36f)][_0x40bfa2(0x246)]),_0x390864=_0xa1d841['useDependency'](_0x5721e1[_0x40bfa2(0x324)]),_0x37bce8=_0xa1d841[_0x40bfa2(0x309)](_0x115633['CollaborationSessionService']),_0xa345d4=_0x42f0d8!==_0x115633[_0x40bfa2(0x36f)][_0x40bfa2(0x11a)],_0x3eaa8c=_0x390864['t'](_0x4a053d(_0x42f0d8)),_0x502f4e=_0xa345d4?_0x36c173['jsx'](_0x544b9b,{}):_0x36c173['jsx'](_0x1855f4,{}),_0xd37df7=_0x2f3b23[_0x40bfa2(0x391)](()=>{_0xa345d4||_0x37bce8['reconnect']();},[_0xa345d4,_0x37bce8]);function _0x48bb28(){const _0x528c3f=_0x40bfa2;return _0x36c173[_0x528c3f(0x20b)](_0x528c3f(0x2ee),{'className':_0x528c3f(0x1b3),'onClick':_0xd37df7,'children':[_0x36c173['jsx'](_0x528c3f(0x2ee),{'className':_0x31d403[_0x528c3f(0x2f8)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0xa345d4,'univer-text-red-500':!_0xa345d4}),'children':_0x502f4e}),_0x36c173['jsx'](_0x528c3f(0x2ee),{'className':_0x528c3f(0x383),'children':_0x3eaa8c})]});}return _0xa345d4?_0x48bb28():_0x36c173[_0x40bfa2(0x278)](_0x31d403['Tooltip'],{'title':_0x390864['t']('collab-client.tooltip.reconnect'),'children':_0x48bb28()});}var _0x196195=Object['getOwnPropertyDescriptor'],_0x23b43a=(_0x420d27,_0x386441,_0x4d794f,_0x358b3d)=>{for(var _0x17a068=_0x358b3d>0x1?void 0x0:_0x358b3d?_0x196195(_0x386441,_0x4d794f):_0x386441,_0xa3e734=_0x420d27['length']-0x1,_0x10b6e5;_0xa3e734>=0x0;_0xa3e734--)(_0x10b6e5=_0x420d27[_0xa3e734])&&(_0x17a068=_0x10b6e5(_0x17a068)||_0x17a068);return _0x17a068;},_0x388c8e=(_0x2e7108,_0x536862)=>(_0x5a4799,_0x20faf9)=>_0x536862(_0x5a4799,_0x20faf9,_0x2e7108);_0x42b8f3[_0x3db800(0x255)]=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x5b560a,_0x5985f2,_0x464340,_0x490cd7){const _0xeaa123=_0x3db800;super(),_0x11fc09(this,_0xeaa123(0x2d9),new _0x3c46fe[(_0xeaa123(0x346))](_0x115633[_0xeaa123(0x36f)][_0xeaa123(0x246)])),(this[_0xeaa123(0x122)]=_0x5b560a,this[_0xeaa123(0xed)]=_0x5985f2,this['_collaborationController']=_0x464340,this[_0xeaa123(0x25e)]=_0x490cd7,this[_0xeaa123(0x14d)](),this[_0xeaa123(0x39d)]());}[_0x3db800(0x39d)](){const _0x275499=_0x3db800;this[_0x275499(0x168)](this[_0x275499(0x122)][_0x275499(0x3b0)][_0x275499(0x138)](_0x3c46fe[_0x275499(0x35b)](()=>{const _0x40327c=_0x275499,_0x12fe20=this[_0x40327c(0x122)]['getFocusedUnit']();return _0x12fe20?this['_collaborationController'][_0x40327c(0x236)](_0x12fe20[_0x40327c(0x38a)]()):_0x3c46fe['of'](null);}),_0x3c46fe[_0x275499(0x35b)](_0x4a3133=>_0x4a3133?_0x4a3133[_0x275499(0x141)]:_0x3c46fe['of'](_0x115633[_0x275499(0x36f)][_0x275499(0x246)])))['subscribe'](_0x4bcd45=>{const _0x462406=_0x275499;this[_0x462406(0x2d9)][_0x462406(0x1fe)](_0x4bcd45);}));}[_0x3db800(0x14d)](){const _0x2cec2b=_0x3db800;this[_0x2cec2b(0x168)](this[_0x2cec2b(0x25e)][_0x2cec2b(0x1d9)](_0xa1d841[_0x2cec2b(0x14f)]['HEADER_MENU'],()=>_0xa1d841[_0x2cec2b(0x285)](_0x1f300e({'status$':this[_0x2cec2b(0x2d9)][_0x2cec2b(0x302)]()}),this[_0x2cec2b(0xed)])));}},_0x42b8f3[_0x3db800(0x255)]=_0x23b43a([_0x388c8e(0x0,_0x5721e1['IUniverInstanceService']),_0x388c8e(0x1,_0x5721e1[_0x3db800(0x181)](_0x5721e1['Injector'])),_0x388c8e(0x2,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x19b)])),_0x388c8e(0x3,_0xa1d841['IUIPartsService'])],_0x42b8f3[_0x3db800(0x255)]);function _0x1f300e(_0x29395a){const {status$:_0x1a84c0}=_0x29395a;return function(){const _0x3b40c7=_0x1e97;return _0x36c173[_0x3b40c7(0x278)](_0x3aa57c,{'status$':_0x1a84c0});};}const _0x4a64fb=_0x5721e1[_0x3db800(0x311)](_0x3db800(0x20d));var _0x216a13=Object[_0x3db800(0x2db)],_0x23d8c4=(_0x436ea3,_0x4e28f2,_0x3a6432,_0x2c680c)=>{for(var _0x3ae693=_0x2c680c>0x1?void 0x0:_0x2c680c?_0x216a13(_0x4e28f2,_0x3a6432):_0x4e28f2,_0x3067e4=_0x436ea3['length']-0x1,_0x1ce6d9;_0x3067e4>=0x0;_0x3067e4--)(_0x1ce6d9=_0x436ea3[_0x3067e4])&&(_0x3ae693=_0x1ce6d9(_0x3ae693)||_0x3ae693);return _0x3ae693;},_0x21170e=(_0x623d9,_0x17bbed)=>(_0x5b8b80,_0x353416)=>_0x17bbed(_0x5b8b80,_0x353416,_0x623d9);_0x42b8f3['CollaborationDataLoaderController']=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x1577da,_0x2e8de7,_0x239609,_0x424cea,_0x516f02){const _0x5bc516=_0x3db800;super(),this['_urlService']=_0x1577da,this[_0x5bc516(0x3b1)]=_0x2e8de7,this[_0x5bc516(0x3a0)]=_0x239609,this['_dataLoaderService']=_0x424cea,_0x516f02?_0x516f02==null||_0x516f02[_0x5bc516(0x164)]()[_0x5bc516(0x1d6)](()=>this['_init']()):(this[_0x5bc516(0x3b1)][_0x5bc516(0x23f)](_0x5bc516(0x152),_0x5bc516(0x287)),this[_0x5bc516(0x2e1)]());}async['_init'](){const _0x229856=_0x3db800,_0x184361=this[_0x229856(0x198)][_0x229856(0x2aa)](_0x229856(0x2bf)),_0x326ebd=this['_urlService']['getParam'](_0x229856(0x210)),_0x25f61e=this[_0x229856(0x198)][_0x229856(0x2aa)](_0x229856(0x283));if(!_0x184361||!_0x326ebd){this[_0x229856(0x3b1)][_0x229856(0x23f)](_0x229856(0x152),_0x229856(0x32c));return;}const _0x192b0a=await this[_0x229856(0xfc)][_0x229856(0x1b1)](_0x184361,Number(_0x326ebd),_0x25f61e);_0x192b0a&&_0x192b0a instanceof _0x5721e1[_0x229856(0x29d)]&&this[_0x229856(0x15b)](_0x192b0a);}async[_0x3db800(0x15b)](_0x5c1dc4){const _0x1493c1=_0x3db800;await this['_updateSubUnitFromURLParams'](_0x5c1dc4),_0x5c1dc4['activeSheet$']['pipe'](_0x3c46fe[_0x1493c1(0x3cd)](this[_0x1493c1(0x364)]))['subscribe'](_0x1d7b59=>{const _0x2e0bd9=_0x1493c1;_0x1d7b59&&this[_0x2e0bd9(0x32d)](_0x1d7b59);}),this[_0x1493c1(0x198)]['urlChange$'][_0x1493c1(0x138)](_0x3c46fe[_0x1493c1(0x3cd)](this[_0x1493c1(0x364)]))[_0x1493c1(0x2ce)](()=>this[_0x1493c1(0x1d1)](_0x5c1dc4));}[_0x3db800(0x32d)](_0x229408,_0x374f92=!0x1){const _0x3ab46e=_0x3db800,_0x30208d=this[_0x3ab46e(0x198)][_0x3ab46e(0x2aa)](_0x3ab46e(0x283));_0x229408[_0x3ab46e(0x161)]()!==_0x30208d&&this[_0x3ab46e(0x198)][_0x3ab46e(0x2b5)](_0x3ab46e(0x283),_0x229408[_0x3ab46e(0x161)](),_0x374f92);}async[_0x3db800(0x1d1)](_0x3cd83f){const _0x13aa18=_0x3db800;var _0x14ad3a;const _0x20d5f7=this[_0x13aa18(0x198)]['getParam'](_0x13aa18(0x283));if(!_0x20d5f7||!_0x3cd83f[_0x13aa18(0x21f)](_0x20d5f7)){const _0xea92b5=_0x3cd83f[_0x13aa18(0x29a)]()[0x0],_0x5c057c=_0x3cd83f[_0x13aa18(0x21f)](_0xea92b5);if(!_0x5c057c)return;this[_0x13aa18(0x32d)](_0x5c057c,!0x0),await this[_0x13aa18(0x3a0)][_0x13aa18(0x353)](_0x52d373[_0x13aa18(0x2b4)]['id'],{'unitId':_0x3cd83f[_0x13aa18(0x38a)](),'subUnitId':_0xea92b5});return;}((_0x14ad3a=_0x3cd83f[_0x13aa18(0x29c)]())==null?void 0x0:_0x14ad3a['getSheetId']())!==_0x20d5f7&&await this[_0x13aa18(0x3a0)][_0x13aa18(0x353)](_0x52d373[_0x13aa18(0x2b4)]['id'],{'unitId':_0x3cd83f[_0x13aa18(0x38a)](),'subUnitId':_0x20d5f7});}},_0x42b8f3[_0x3db800(0x362)]=_0x23d8c4([_0x21170e(0x0,_0x4a64fb),_0x21170e(0x1,_0x5721e1[_0x3db800(0x154)]),_0x21170e(0x2,_0x5721e1[_0x3db800(0x2e2)]),_0x21170e(0x3,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x378)])),_0x21170e(0x4,_0x5721e1[_0x3db800(0x3c8)](_0x2abba2[_0x3db800(0x2f1)]))],_0x42b8f3[_0x3db800(0x362)]);var _0x2c3c88=Object[_0x3db800(0x2db)],_0xc78629=(_0xc796a8,_0x48da8a,_0x4345a4,_0x5ad260)=>{const _0x26483a=_0x3db800;for(var _0x1ad83d=_0x5ad260>0x1?void 0x0:_0x5ad260?_0x2c3c88(_0x48da8a,_0x4345a4):_0x48da8a,_0x2a63e2=_0xc796a8[_0x26483a(0x165)]-0x1,_0x26bf2b;_0x2a63e2>=0x0;_0x2a63e2--)(_0x26bf2b=_0xc796a8[_0x2a63e2])&&(_0x1ad83d=_0x26bf2b(_0x1ad83d)||_0x1ad83d);return _0x1ad83d;},_0x5ee442=(_0x5abc60,_0x28152d)=>(_0x28e680,_0x1568e2)=>_0x28152d(_0x28e680,_0x1568e2,_0x5abc60);let _0x3ae7cf=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x3b8bb9,_0x474b3a){const _0x17cf58=_0x3db800;super(),this['_docClipboardService']=_0x3b8bb9,this[_0x17cf58(0x316)]=_0x474b3a,this[_0x17cf58(0x2e1)]();}[_0x3db800(0x2e1)](){const _0x504bf4=_0x3db800,_0x401b0b=this;this[_0x504bf4(0x168)](this[_0x504bf4(0x108)][_0x504bf4(0x31f)]({'onBeforePasteImage':async _0x3c497e=>{const _0x3249dd=_0x504bf4,_0x529058=await _0x401b0b[_0x3249dd(0x316)][_0x3249dd(0x1a2)](_0x3c497e);return _0x529058?{'source':_0x529058[_0x3249dd(0x370)],'imageSourceType':_0x529058[_0x3249dd(0x368)]}:null;}}));}};_0x3ae7cf=_0xc78629([_0x5ee442(0x0,_0x45f825[_0x3db800(0x2e6)]),_0x5ee442(0x1,_0x36f61a[_0x3db800(0x151)])],_0x3ae7cf);const _0x50ff74=[_0x3db800(0x339),'jiqing.500',_0x3db800(0x25a),_0x3db800(0x271),_0x3db800(0x2be),_0x3db800(0x341)];class _0x2ab1f4 extends _0x5721e1['Disposable']{constructor(){const _0x231fbb=_0x3db800;super(...arguments),_0x11fc09(this,'_assignedColors',new Map()),_0x11fc09(this,_0x231fbb(0x3aa),0x0);}['assignAColorForMemberID'](_0x431b1a){const _0x168df5=_0x3db800;if(this[_0x168df5(0x202)][_0x168df5(0x101)](_0x431b1a))return this[_0x168df5(0x202)][_0x168df5(0x31c)](_0x431b1a);const _0x1aeba8=_0x50ff74[this[_0x168df5(0x3aa)]];return this[_0x168df5(0x3aa)]=(this[_0x168df5(0x3aa)]+0x1)%_0x50ff74[_0x168df5(0x165)],this[_0x168df5(0x202)][_0x168df5(0x10c)](_0x431b1a,_0x1aeba8),_0x1aeba8;}}function _0x20d37b(_0x300053){const _0x40095b=_0x3db800;let _0x367e2b='';for(const _0xd89894 of _0x300053){const {startOffset:_0x1ba17e,endOffset:_0x271dbf,isActive:_0x378116,rangeType:_0x391da7,segmentId:_0x595f5e,segmentPage:_0x3062bc}=_0xd89894;_0x367e2b[_0x40095b(0x165)]&&(_0x367e2b+=','),_0x367e2b+=_0x1ba17e+':'+_0x271dbf+':'+(_0x378116?'1':'0')+':'+_0x391da7+':'+_0x595f5e+':'+_0x3062bc;}return _0x367e2b;}function _0x347a9b(_0x15bd58){const _0xb6acd7=_0x3db800,_0x2bf27a=_0x15bd58[_0xb6acd7(0x33d)](','),_0x2bf429=[];for(const _0x6504cc of _0x2bf27a){const [_0x12e156,_0xb3f59,_0x11bd95,_0x24632c,_0x2b706a,_0x256dcd]=_0x6504cc[_0xb6acd7(0x33d)](':');_0x2bf429[_0xb6acd7(0x126)]({'startOffset':Number(_0x12e156),'endOffset':Number(_0xb3f59),'collapsed':_0x12e156===_0xb3f59,'isActive':_0x11bd95==='1','rangeType':_0x24632c===_0x5721e1[_0xb6acd7(0x200)][_0xb6acd7(0x3cf)]?_0x5721e1[_0xb6acd7(0x200)]['TEXT']:_0x5721e1[_0xb6acd7(0x200)][_0xb6acd7(0x123)],'segmentId':typeof _0x2b706a==_0xb6acd7(0x11c)?String(_0x2b706a):'','segmentPage':Number(_0x256dcd!=null?_0x256dcd:-0x1)});}return _0x2bf429[_0xb6acd7(0x24e)](_0x32e51c=>_0x32e51c['isActive'])||(_0x2bf429[0x0]['isActive']=!0x0),_0x2bf429;}class _0x41a578 extends _0x5721e1['RxDisposable']{constructor(){const _0x49227b=_0x3db800;super(...arguments),_0x11fc09(this,_0x49227b(0x187),new _0x3c46fe[(_0x49227b(0x346))](null)),_0x11fc09(this,_0x49227b(0x150),this[_0x49227b(0x187)]['asObservable']());}[_0x3db800(0x231)](_0x5e83e3){const _0x39fd30=_0x3db800,{unitID:_0xb66b53,memberID:_0x489582,textRanges:_0x4aa8d0}=_0x5e83e3,_0x47aeaf=_0x20d37b(_0x4aa8d0);if(_0x47aeaf==='')return;const _0x59bdc0={'unitID':_0xb66b53,'memberID':_0x489582,'selection':_0x47aeaf};this[_0x39fd30(0x187)][_0x39fd30(0x1fe)](_0x59bdc0);}}var _0x20d8c6=Object[_0x3db800(0x2db)],_0x4dd272=(_0x279e49,_0x5e9209,_0x3b89e6,_0x5900a5)=>{const _0x2653b0=_0x3db800;for(var _0x36d70e=_0x5900a5>0x1?void 0x0:_0x5900a5?_0x20d8c6(_0x5e9209,_0x3b89e6):_0x5e9209,_0x1de32e=_0x279e49[_0x2653b0(0x165)]-0x1,_0x53b543;_0x1de32e>=0x0;_0x1de32e--)(_0x53b543=_0x279e49[_0x1de32e])&&(_0x36d70e=_0x53b543(_0x36d70e)||_0x36d70e);return _0x36d70e;},_0x1da84f=(_0x1a8ded,_0x25f24f)=>(_0x29a0e8,_0x37c431)=>_0x25f24f(_0x29a0e8,_0x37c431,_0x1a8ded);const _0x2712e3=0x12c,_0x4d5815=0x64;let _0x17b314=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x1dbc43,_0x520d0e,_0x19c591,_0x3dca9b,_0x40f48d,_0x440676,_0x3e4663,_0x1bf068,_0x53bbde){const _0x2a9e7f=_0x3db800;super(),_0x11fc09(this,'_online',!0x1),_0x11fc09(this,_0x2a9e7f(0x2e1),!0x1),_0x11fc09(this,_0x2a9e7f(0xd9),new _0x3c46fe['BehaviorSubject'](new Map())),_0x11fc09(this,_0x2a9e7f(0x127),this[_0x2a9e7f(0xd9)][_0x2a9e7f(0x302)]()),_0x11fc09(this,_0x2a9e7f(0x399),new _0x3c46fe[(_0x2a9e7f(0x346))]([])),_0x11fc09(this,_0x2a9e7f(0x385),this[_0x2a9e7f(0x399)][_0x2a9e7f(0x138)](_0x3c46fe['debounceTime'](_0x2712e3))),_0x11fc09(this,'_updateLocalCursor',_0x5721e1[_0x2a9e7f(0x25f)](_0x59a847=>{const _0x4f424c=_0x2a9e7f,_0x5a4566={'eventID':_0x195720[_0x4f424c(0x162)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4f424c(0x153)],'memberID':this[_0x4f424c(0x2df)][_0x4f424c(0x359)](),'selection':_0x20d37b(_0x59a847)}};this[_0x4f424c(0x2df)][_0x4f424c(0x1e5)](_0x5a4566,this[_0x4f424c(0x153)]);},_0x4d5815)),(this['unitID']=_0x1dbc43,this[_0x2a9e7f(0x2df)]=_0x520d0e,this['_injector']=_0x19c591,this[_0x2a9e7f(0x30c)]=_0x3dca9b,this['_memberService']=_0x40f48d,this[_0x2a9e7f(0x2f3)]=_0x440676,this[_0x2a9e7f(0x20c)]=_0x3e4663,this[_0x2a9e7f(0x122)]=_0x1bf068,this[_0x2a9e7f(0x3a0)]=_0x53bbde);}get['cursorInfo'](){const _0x5803ea=_0x3db800;return this[_0x5803ea(0xd9)]['getValue']();}get['roomMembers'](){const _0x370e00=_0x3db800;return this[_0x370e00(0x399)]['getValue']();}[_0x3db800(0x37d)](){const _0x25613b=_0x3db800;super[_0x25613b(0x37d)](),this[_0x25613b(0xd9)][_0x25613b(0x1fe)](new Map()),this['_cursorInfo$'][_0x25613b(0x24d)](),this[_0x25613b(0x399)][_0x25613b(0x1fe)]([]),this[_0x25613b(0x399)]['complete']();}['init'](){const _0x59c0c9=_0x3db800;this[_0x59c0c9(0x2e1)]||(this['_init']=!0x0,this[_0x59c0c9(0x2df)]['sessionStatus$'][_0x59c0c9(0x138)](_0x3c46fe[_0x59c0c9(0x3cd)](this['dispose$']))[_0x59c0c9(0x2ce)](_0x149b37=>{const _0x38a2cf=_0x59c0c9;_0x149b37===_0x115633[_0x38a2cf(0x218)][_0x38a2cf(0x38c)]?this[_0x38a2cf(0x390)]():this[_0x38a2cf(0x263)]();}),this[_0x59c0c9(0x2df)][_0x59c0c9(0x16f)][_0x59c0c9(0x138)](_0x3c46fe[_0x59c0c9(0x3cd)](this[_0x59c0c9(0x364)]))['subscribe'](_0x5a7766=>{const _0x5a32ad=_0x59c0c9,_0x5d6f46=_0x5a7766[_0x5a32ad(0x3a2)];_0x5d6f46===_0x195720[_0x5a32ad(0x162)][_0x5a32ad(0x2ef)]&&this[_0x5a32ad(0x3c1)](_0x5a7766),_0x5d6f46===_0x195720[_0x5a32ad(0x162)]['USERS_LEAVE']&&this[_0x5a32ad(0x3b6)](_0x5a7766);}),this['disposeWithMe'](this['_commandService'][_0x59c0c9(0x10b)](_0xd377e7=>{const _0x289969=_0x59c0c9,_0x574eff=_0xd377e7[_0x289969(0x1bb)];_0x574eff!=null&&this[_0x289969(0x1e9)]&&_0xd377e7['id']===_0x9d8fba[_0x289969(0x37e)]['id']&&_0x574eff[_0x289969(0x2f4)]===this[_0x289969(0x153)]&&_0x574eff[_0x289969(0x135)]===!0x1&&_0x574eff['ranges']['length']>0x0&&this[_0x289969(0x1e7)](_0x574eff[_0x289969(0x3b4)]);})),this[_0x59c0c9(0x2f3)][_0x59c0c9(0x150)][_0x59c0c9(0x138)](_0x3c46fe['takeUntil'](this[_0x59c0c9(0x364)]))['subscribe'](_0x3fa278=>{const _0x4d9805=_0x59c0c9;if((_0x3fa278==null?void 0x0:_0x3fa278[_0x4d9805(0x153)])!==this[_0x4d9805(0x153)])return;const _0x2899d5={'eventID':_0x195720[_0x4d9805(0x162)][_0x4d9805(0x2ef)],'data':_0x3fa278};this[_0x4d9805(0x3c1)](_0x2899d5);}),this[_0x59c0c9(0x168)](this['_commandService'][_0x59c0c9(0x10b)](_0x2a5c5b=>{const _0x275ad4=_0x59c0c9;if(_0x2a5c5b['params']==null)return;const _0x35d9c1=_0x2a5c5b[_0x275ad4(0x1bb)];if(_0x2a5c5b['id']!==_0x9d8fba[_0x275ad4(0x266)]['id']||_0x35d9c1[_0x275ad4(0x2f4)]!==this[_0x275ad4(0x153)])return;const _0x14ef4e={'id':_0x275ad4(0x30f),'params':_0x35d9c1},_0x4c13d1=this[_0x275ad4(0x20a)];for(const [_0x82c31f,_0xcd60a3]of _0x4c13d1){const _0x25ab41={'id':_0x275ad4(0x30f),'params':{'unitId':this[_0x275ad4(0x153)],'actions':null,'textRanges':_0xcd60a3[_0x275ad4(0x3b4)]}},_0x2a45a4=this[_0x275ad4(0x20c)]['transformMutation'](_0x14ef4e,_0x25ab41,!0x1);if(_0x195720['isTransformMutationFailure'](_0x2a45a4))throw _0x2a45a4['error'];_0x4c13d1['set'](_0x82c31f,{..._0xcd60a3,'ranges':_0x2a45a4[_0x275ad4(0x3b8)]['params'][_0x275ad4(0x12d)]});}queueMicrotask(()=>{const _0x312981=_0x275ad4;this[_0x312981(0xd9)][_0x312981(0x1fe)](_0x4c13d1);});})));}[_0x3db800(0x3c1)](_0x292520){const _0x1b300e=_0x3db800;var _0x1f92fa,_0x31eed0;const {memberID:_0x2b7e8f,selection:_0x42d366}=_0x292520[_0x1b300e(0x21a)],_0x943610=_0x347a9b(_0x42d366),_0x4bcfdb=(_0x31eed0=(_0x1f92fa=this[_0x1b300e(0x221)]['getMember'](this[_0x1b300e(0x153)],_0x2b7e8f))==null?void 0x0:_0x1f92fa[_0x1b300e(0x211)])!=null?_0x31eed0:_0x1b300e(0x388),_0x5db8d6={'color':this['_colorAssignService'][_0x1b300e(0x38e)](_0x2b7e8f),'name':_0x4bcfdb,'ranges':_0x943610},_0x3e4485=this[_0x1b300e(0x20a)];_0x3e4485[_0x1b300e(0x10c)](_0x2b7e8f,_0x5db8d6),this[_0x1b300e(0xd9)][_0x1b300e(0x1fe)](_0x3e4485);}[_0x3db800(0x3b6)](_0x1f7056){const _0x38347e=_0x3db800,{memberID:_0x4472cd}=_0x1f7056['data'],_0x4356f0=this['cursorInfo'];_0x4356f0[_0x38347e(0xd6)](_0x4472cd),this[_0x38347e(0xd9)][_0x38347e(0x1fe)](_0x4356f0);}[_0x3db800(0x390)](){const _0x64bec9=_0x3db800;var _0x10ece4;if(this[_0x64bec9(0x1e9)]=!0x0,((_0x10ece4=this['_univerInstanceService'][_0x64bec9(0x36b)]())==null?void 0x0:_0x10ece4['getUnitId']())!==this['unitID'])return;const _0x12000a=this[_0x64bec9(0xed)][_0x64bec9(0x31c)](_0x9d8fba['DocSelectionManagerService'])[_0x64bec9(0x260)]();Array[_0x64bec9(0x3a1)](_0x12000a)&&_0x12000a[_0x64bec9(0x165)]>0x0&&this[_0x64bec9(0x1e7)](_0x12000a);}['_toggleOffline'](){const _0x1bfce3=_0x3db800;this[_0x1bfce3(0x1e9)]=!0x1;}};_0x17b314=_0x4dd272([_0x1da84f(0x2,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x1da84f(0x3,_0x5721e1[_0x3db800(0x181)](_0x2ab1f4)),_0x1da84f(0x4,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x26f)])),_0x1da84f(0x5,_0x5721e1[_0x3db800(0x181)](_0x41a578)),_0x1da84f(0x6,_0x195720[_0x3db800(0x26e)]),_0x1da84f(0x7,_0x5721e1[_0x3db800(0x24f)]),_0x1da84f(0x8,_0x5721e1[_0x3db800(0x2e2)])],_0x17b314);var _0x1d6df8=Object[_0x3db800(0x2db)],_0x2c074e=(_0x58f69d,_0x4d0cc5,_0x453f0d,_0x2aa576)=>{const _0x35d1ff=_0x3db800;for(var _0xba4039=_0x2aa576>0x1?void 0x0:_0x2aa576?_0x1d6df8(_0x4d0cc5,_0x453f0d):_0x4d0cc5,_0x3b8060=_0x58f69d[_0x35d1ff(0x165)]-0x1,_0x5b3b84;_0x3b8060>=0x0;_0x3b8060--)(_0x5b3b84=_0x58f69d[_0x3b8060])&&(_0xba4039=_0x5b3b84(_0xba4039)||_0xba4039);return _0xba4039;},_0x5593a9=(_0x357e3a,_0x36081a)=>(_0x5ebfe9,_0x29297e)=>_0x36081a(_0x5ebfe9,_0x29297e,_0x357e3a);const _0x25eac8=0x12c,_0x11dea0=0x64,_0x1581da=()=>{let _0x483138=[],_0x29fe04=!0x1;return _0x328234=>{const _0x2070af=_0x1e97;_0x483138[_0x2070af(0x126)](_0x328234),_0x29fe04||(_0x29fe04=!0x0,setTimeout(()=>{const _0x58043d=_0x2070af;_0x483138[_0x58043d(0x331)](_0x106c6b=>_0x106c6b()),_0x483138=[],_0x29fe04=!0x1;}));};};let _0x1975a9=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x1704c9,_0x16d174,_0x4334e7,_0x18fced,_0x1e7bef,_0x4f97c1,_0x39b515,_0xa5c83a){const _0x313839=_0x3db800;super(),_0x11fc09(this,_0x313839(0x1e9),!0x1),_0x11fc09(this,_0x313839(0x2e1),!0x1),_0x11fc09(this,_0x313839(0xd9),new _0x3c46fe['BehaviorSubject'](new Map())),_0x11fc09(this,_0x313839(0x127),this[_0x313839(0xd9)][_0x313839(0x302)]()),_0x11fc09(this,'_roomMembers$',new _0x3c46fe[(_0x313839(0x346))]([])),_0x11fc09(this,_0x313839(0x385),this['_roomMembers$'][_0x313839(0x138)](_0x3c46fe[_0x313839(0x201)](_0x25eac8))),_0x11fc09(this,_0x313839(0x1e7),_0x5721e1[_0x313839(0x25f)]((_0x42b357,_0x148293)=>{const _0x2e52a7=_0x313839,_0x4c3583={'eventID':_0x195720['CollaborationEvent'][_0x2e52a7(0x2ef)],'data':{'unitID':this[_0x2e52a7(0x153)],'memberID':this[_0x2e52a7(0x2df)][_0x2e52a7(0x359)](),'selection':_0x26196d[_0x2e52a7(0x33f)](_0x42b357,_0x148293[_0x2e52a7(0x182)])}};this[_0x2e52a7(0x2df)][_0x2e52a7(0x1e5)](_0x4c3583,this[_0x2e52a7(0x153)]);},_0x11dea0)),(this['unitID']=_0x1704c9,this[_0x313839(0x2df)]=_0x16d174,this[_0x313839(0xed)]=_0x4334e7,this[_0x313839(0x30c)]=_0x18fced,this[_0x313839(0x221)]=_0x1e7bef,this['_univerInstanceService']=_0x4f97c1,this[_0x313839(0x3a0)]=_0x39b515,this[_0x313839(0x22e)]=_0xa5c83a);}get['cursorInfo'](){const _0x565bbc=_0x3db800;return this[_0x565bbc(0xd9)]['getValue']();}get[_0x3db800(0x104)](){const _0x1cf5da=_0x3db800;return this['_roomMembers$'][_0x1cf5da(0x2f2)]();}[_0x3db800(0x37d)](){const _0x2d86e5=_0x3db800;super[_0x2d86e5(0x37d)](),this[_0x2d86e5(0xd9)][_0x2d86e5(0x1fe)](new Map()),this['_cursorInfo$'][_0x2d86e5(0x24d)](),this['_roomMembers$'][_0x2d86e5(0x1fe)]([]),this[_0x2d86e5(0x399)][_0x2d86e5(0x24d)]();}[_0x3db800(0x3b9)](){const _0x2a3755=_0x3db800;this['_init']||(this[_0x2a3755(0x2e1)]=!0x0,this[_0x2a3755(0x2df)][_0x2a3755(0xe0)][_0x2a3755(0x138)](_0x3c46fe[_0x2a3755(0x3cd)](this[_0x2a3755(0x364)]))['subscribe'](_0x43cbe8=>{const _0x2c33e1=_0x2a3755;_0x43cbe8===_0x115633[_0x2c33e1(0x218)][_0x2c33e1(0x38c)]?this[_0x2c33e1(0x390)]():this['_toggleOffline']();}),this[_0x2a3755(0x2df)]['event$'][_0x2a3755(0x138)](_0x3c46fe[_0x2a3755(0x3cd)](this[_0x2a3755(0x364)]))[_0x2a3755(0x2ce)](_0xd8d314=>{const _0x478eca=_0x2a3755,_0xb8408=_0xd8d314[_0x478eca(0x3a2)];_0xb8408===_0x195720[_0x478eca(0x162)][_0x478eca(0x2ef)]&&this[_0x478eca(0x3c1)](_0xd8d314),_0xb8408===_0x195720[_0x478eca(0x162)][_0x478eca(0x3c5)]&&this[_0x478eca(0x3b6)](_0xd8d314);}),this[_0x2a3755(0x139)](),this[_0x2a3755(0x168)](this[_0x2a3755(0x3a0)][_0x2a3755(0x10b)](_0x41a371=>{const _0x5d2cc8=_0x2a3755;if(this['_online']&&_0x41a371['id']===_0x52d373[_0x5d2cc8(0xfd)]['id']&&_0x41a371['params']['unitId']===this['unitID']){const _0x4742af=_0x41a371[_0x5d2cc8(0x1bb)];this[_0x5d2cc8(0x1e7)](_0x4742af[_0x5d2cc8(0x1b8)],_0x4742af[_0x5d2cc8(0x2c5)][0x0]);}})));}[_0x3db800(0x3c1)](_0x36ed03){const _0x48515d=_0x3db800;var _0x2480ef,_0x2c1fa9;const {memberID:_0x3d8f7b,selection:_0x42f84a}=_0x36ed03['data'],{sheetName:_0x5c399f,range:_0x21c26f}=_0x26196d['deserializeRangeWithSheet'](_0x42f84a),_0x31cd5a={'name':(_0x2c1fa9=(_0x2480ef=this[_0x48515d(0x221)]['getMember'](this['unitID'],_0x3d8f7b))==null?void 0x0:_0x2480ef[_0x48515d(0x211)])!=null?_0x2c1fa9:_0x48515d(0x388),'range':this[_0x48515d(0x3b2)](_0x5c399f,_0x21c26f),'sheetID':_0x5c399f,'color':this[_0x48515d(0x30c)][_0x48515d(0x38e)](_0x3d8f7b),'selection':_0x42f84a},_0x2bc08b=this[_0x48515d(0x20a)];_0x2bc08b['set'](_0x3d8f7b,_0x31cd5a),this[_0x48515d(0xd9)]['next'](_0x2bc08b);}['_onCursorDelete'](_0x5ea511){const _0x576158=_0x3db800,{memberID:_0x2ad3e6}=_0x5ea511[_0x576158(0x21a)],_0x2435fa=this[_0x576158(0x20a)];_0x2435fa[_0x576158(0xd6)](_0x2ad3e6),this[_0x576158(0xd9)]['next'](_0x2435fa);}['_getMergeRange'](_0x2cdeb4,_0x547add){const _0x3cb62c=_0x3db800;var _0x50c01a,_0x144c5f;const _0x3de154=(_0x144c5f=(_0x50c01a=this[_0x3cb62c(0x122)][_0x3cb62c(0x217)](this[_0x3cb62c(0x153)]))==null?void 0x0:_0x50c01a[_0x3cb62c(0x21f)](_0x2cdeb4))==null?void 0x0:_0x144c5f[_0x3cb62c(0x1fd)]();return(_0x3de154==null?void 0x0:_0x3de154[_0x3cb62c(0x1ea)](_0x5d2a83=>_0x5721e1[_0x3cb62c(0x130)]['contains'](_0x5d2a83,_0x547add)))||_0x547add;}['_onRefRangeChange'](){const _0xb632b4=_0x3db800,_0x5adf1d=new _0x5721e1[(_0xb632b4(0x3a9))](),_0xeb78db=_0x1581da(),_0x3566d4=()=>{const _0x5ecb96=_0xb632b4;_0x5adf1d['dispose']();const _0x47e6e5=(_0x3f20a3,_0x5c4742,_0x46847f,_0xa348cb)=>{const _0x3cb0ac=_0x1e97;let _0x454b18=[];switch(_0x3f20a3['id']){case _0x52d373[_0x3cb0ac(0xe2)][_0x3cb0ac(0x1d4)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x2c6)](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)]['DeleteRangeMoveUpCommandId']:{_0x454b18=_0x52d373[_0x3cb0ac(0x357)](_0x3f20a3,_0xa348cb);break;}case _0x52d373['EffectRefRangId'][_0x3cb0ac(0x2ac)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x2d0)](_0x3f20a3,_0xa348cb);break;}case _0x52d373['EffectRefRangId'][_0x3cb0ac(0x132)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x184)](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)]['InsertRangeMoveRightCommandId']:{_0x454b18=_0x52d373[_0x3cb0ac(0x3cc)](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)][_0x3cb0ac(0x107)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x387)](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)][_0x3cb0ac(0x19c)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x1f5)](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)][_0x3cb0ac(0xd3)]:{_0x454b18=_0x52d373['handleIRemoveCol'](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)][_0x3cb0ac(0x21d)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x250)](_0x3f20a3,_0xa348cb);break;}}const _0x1a9628=_0x52d373[_0x3cb0ac(0x319)](_0x454b18,_0xa348cb),_0x3d6e4c=this[_0x3cb0ac(0x20a)][_0x3cb0ac(0x31c)](_0x5c4742);if(_0x3d6e4c&&_0x1a9628){const _0x4d2425={..._0x3d6e4c,'range':_0x1a9628};this[_0x3cb0ac(0x20a)][_0x3cb0ac(0x10c)](_0x5c4742,_0x4d2425),_0xeb78db(()=>{const _0x1c3e34=_0x3cb0ac,_0x327e97=this[_0x1c3e34(0x22e)]['registerRefRange'](_0x1a9628,_0x4f174b=>(_0x327e97[_0x1c3e34(0x37d)](),_0x47e6e5(_0x4f174b,_0x5c4742,_0x46847f,_0x1a9628)));_0x5adf1d[_0x1c3e34(0x1dd)](_0x327e97);});}return{'redos':[],'undos':[]};};this[_0x5ecb96(0x20a)]['forEach']((_0x2865a4,_0x2ce038)=>{const _0x327f29=_0x5ecb96,{range:_0x7eb60b,sheetID:_0x363ec8}=_0x2865a4,_0x3b78d0=this[_0x327f29(0x22e)][_0x327f29(0x19f)](_0x7eb60b,_0x15f1ca=>(_0x3b78d0[_0x327f29(0x37d)](),_0x47e6e5(_0x15f1ca,_0x2ce038,_0x363ec8,_0x7eb60b)));_0x5adf1d[_0x327f29(0x1dd)](_0x3b78d0);});};this[_0xb632b4(0x168)](_0x5721e1['toDisposable'](this['_cursorInfo$'][_0xb632b4(0x2ce)](()=>{_0x3566d4();})));}['_toggleOnline'](){const _0x312b54=_0x3db800;var _0x4bc1e7,_0x1a04ea;if(this[_0x312b54(0x1e9)]=!0x0,((_0x4bc1e7=this[_0x312b54(0x122)]['getFocusedUnit']())==null?void 0x0:_0x4bc1e7['getUnitId']())!==this['unitID'])return;const _0x210c05=(_0x1a04ea=this['_injector'][_0x312b54(0x31c)](_0x52d373[_0x312b54(0x342)])[_0x312b54(0x30d)]())==null?void 0x0:_0x1a04ea[0x0],_0x2cc825=this[_0x312b54(0x122)][_0x312b54(0x18b)](_0x5721e1[_0x312b54(0x1a7)][_0x312b54(0x1a3)])[_0x312b54(0x29c)]();_0x210c05&&_0x2cc825&&this[_0x312b54(0x1e7)](_0x2cc825[_0x312b54(0x161)](),_0x210c05);}[_0x3db800(0x263)](){const _0x1bbb0d=_0x3db800;this[_0x1bbb0d(0x1e9)]=!0x1;}};_0x1975a9=_0x2c074e([_0x5593a9(0x2,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x5593a9(0x3,_0x5721e1[_0x3db800(0x181)](_0x2ab1f4)),_0x5593a9(0x4,_0x5721e1['Inject'](_0x115633[_0x3db800(0x26f)])),_0x5593a9(0x5,_0x5721e1[_0x3db800(0x24f)]),_0x5593a9(0x6,_0x5721e1[_0x3db800(0x2e2)]),_0x5593a9(0x7,_0x5721e1[_0x3db800(0x181)](_0x52d373[_0x3db800(0x21e)]))],_0x1975a9);var _0x184d02=Object[_0x3db800(0x2db)],_0x344c9c=(_0x4d6c88,_0x3a76ca,_0x1e17d9,_0x565b7f)=>{for(var _0x22af3e=_0x565b7f>0x1?void 0x0:_0x565b7f?_0x184d02(_0x3a76ca,_0x1e17d9):_0x3a76ca,_0x16c446=_0x4d6c88['length']-0x1,_0x51cda2;_0x16c446>=0x0;_0x16c446--)(_0x51cda2=_0x4d6c88[_0x16c446])&&(_0x22af3e=_0x51cda2(_0x22af3e)||_0x22af3e);return _0x22af3e;},_0x2efdf3=(_0x1a54bb,_0x562bb7)=>(_0x4d7788,_0x14adf1)=>_0x562bb7(_0x4d7788,_0x14adf1,_0x1a54bb);let _0x192c77=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x1cb8c9,_0x1acfa0,_0x2ab708){const _0x272f38=_0x3db800;super(),_0x11fc09(this,_0x272f38(0x1a1),new Map()),_0x11fc09(this,'_entityInit$',new _0x3c46fe['Subject']()),(this[_0x272f38(0x122)]=_0x1cb8c9,this[_0x272f38(0xed)]=_0x1acfa0,this[_0x272f38(0xce)]=_0x2ab708,this[_0x272f38(0x2e1)]());}[_0x3db800(0x37d)](){const _0x5c16a0=_0x3db800;super[_0x5c16a0(0x37d)](),this[_0x5c16a0(0x340)][_0x5c16a0(0x24d)](),this[_0x5c16a0(0x1a1)][_0x5c16a0(0x331)](_0x274cdd=>_0x274cdd['dispose']());}[_0x3db800(0x37b)](_0x2f74f1){const _0x4520f4=_0x3db800;return this['_entities'][_0x4520f4(0x101)](_0x2f74f1)?this['_entities'][_0x4520f4(0x31c)](_0x2f74f1)[_0x4520f4(0x127)]:this[_0x4520f4(0x340)][_0x4520f4(0x138)](_0x3c46fe[_0x4520f4(0x155)](_0x2204d1=>_0x2204d1[_0x4520f4(0x153)]===_0x2f74f1),_0x3c46fe[_0x4520f4(0x35b)](_0x12ba5e=>_0x12ba5e[_0x4520f4(0x127)]));}['_init'](){const _0x5da905=_0x3db800;this[_0x5da905(0x122)][_0x5da905(0xfb)](_0x5721e1[_0x5da905(0x1a7)][_0x5da905(0x1a3)])[_0x5da905(0x138)](_0x3c46fe[_0x5da905(0x3cd)](this[_0x5da905(0x364)]))[_0x5da905(0x2ce)](async _0xd4405e=>{const _0x1ce0d3=_0x5da905,_0x19fbe0=_0xd4405e[_0x1ce0d3(0x38a)](),_0x1a4535=await this[_0x1ce0d3(0x323)](_0x19fbe0);this['_entityInit$'][_0x1ce0d3(0x1fe)](_0x1a4535),this['_entities'][_0x1ce0d3(0x10c)](_0x19fbe0,_0x1a4535);}),this[_0x5da905(0x122)][_0x5da905(0xfb)](_0x5721e1[_0x5da905(0x1a7)]['UNIVER_DOC'])[_0x5da905(0x138)](_0x3c46fe['takeUntil'](this['dispose$']))['pipe'](_0x3c46fe[_0x5da905(0x155)](_0x5b6590=>!_0x5b6590[_0x5da905(0x38a)]()[_0x5da905(0x276)]('__')))[_0x5da905(0x2ce)](async _0x274cee=>{const _0x2fd37a=_0x5da905,_0x58cbc2=_0x274cee[_0x2fd37a(0x38a)](),_0x33f3ac=await this[_0x2fd37a(0x31b)](_0x58cbc2);this[_0x2fd37a(0x340)][_0x2fd37a(0x1fe)](_0x33f3ac),this['_entities'][_0x2fd37a(0x10c)](_0x58cbc2,_0x33f3ac);}),_0x3c46fe[_0x5da905(0x18e)](this[_0x5da905(0x122)]['getTypeOfUnitDisposed$'](_0x5721e1[_0x5da905(0x1a7)]['UNIVER_DOC']),this[_0x5da905(0x122)][_0x5da905(0x28c)](_0x5721e1[_0x5da905(0x1a7)]['UNIVER_SHEET']))['pipe'](_0x3c46fe['takeUntil'](this[_0x5da905(0x364)]))[_0x5da905(0x2ce)](_0x4e948f=>{const _0x4ad75f=_0x5da905,_0x54c0f0=_0x4e948f[_0x4ad75f(0x38a)](),_0x4f875d=this[_0x4ad75f(0x1a1)]['get'](_0x54c0f0);_0x4f875d&&(_0x4f875d['dispose'](),this[_0x4ad75f(0x1a1)]['delete'](_0x54c0f0));});}async[_0x3db800(0x323)](_0x225641){const _0x4e466d=_0x3db800,_0x5a8548=await this[_0x4e466d(0xce)][_0x4e466d(0x2ea)](_0x225641),_0x5821c4=this[_0x4e466d(0xed)]['createInstance'](_0x1975a9,_0x225641,_0x5a8548);return _0x5821c4[_0x4e466d(0x3b9)](),_0x5821c4;}async[_0x3db800(0x31b)](_0x348379){const _0x34e7cf=_0x3db800,_0x1325d2=await this[_0x34e7cf(0xce)][_0x34e7cf(0x2ea)](_0x348379),_0x2382f4=this[_0x34e7cf(0xed)][_0x34e7cf(0x290)](_0x17b314,_0x348379,_0x1325d2);return _0x2382f4[_0x34e7cf(0x3b9)](),_0x2382f4;}};_0x192c77=_0x344c9c([_0x2efdf3(0x0,_0x5721e1[_0x3db800(0x24f)]),_0x2efdf3(0x1,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x2efdf3(0x2,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x28f)]))],_0x192c77);const _0x13bbfe=0x14,_0x23b09f=0xc8,_0x1c8404=0x4,_0x2238da=0x5;function _0x23c7c3(_0x21d869,_0x3ef75c){const _0x46849a=_0x3db800;let {radius:_0x2a2c70,width:_0x3e190f,height:_0x25aa87}=_0x3ef75c;_0x2a2c70=_0x2a2c70!=null?_0x2a2c70:0x0,_0x3e190f=_0x3e190f!=null?_0x3e190f:0x1e,_0x25aa87=_0x25aa87!=null?_0x25aa87:0x1e;let _0x104fe8=0x0,_0x28d464=0x0,_0x3978e2=0x0;_0x104fe8=_0x28d464=_0x3978e2=Math['min'](_0x2a2c70,_0x3e190f/0x2,_0x25aa87/0x2),_0x21d869[_0x46849a(0x2dc)](),_0x21d869['moveTo'](_0x104fe8,0x0),_0x21d869['lineTo'](_0x3e190f-_0x28d464,0x0),_0x21d869['arc'](_0x3e190f-_0x28d464,_0x28d464,_0x28d464,Math['PI']*0x3/0x2,0x0,!0x1),_0x21d869[_0x46849a(0x30e)](_0x3e190f,_0x25aa87-_0x3978e2),_0x21d869[_0x46849a(0x183)](_0x3e190f-_0x3978e2,_0x25aa87-_0x3978e2,_0x3978e2,0x0,Math['PI']/0x2,!0x1),_0x21d869[_0x46849a(0x30e)](0x0,_0x25aa87),_0x21d869[_0x46849a(0x30e)](0x0,_0x104fe8),_0x21d869[_0x46849a(0x183)](_0x104fe8,_0x104fe8,_0x104fe8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x21d869[_0x46849a(0x23c)](),_0x3ef75c[_0x46849a(0x147)]&&(_0x21d869[_0x46849a(0x1bd)](),_0x21d869[_0x46849a(0x2e0)]=_0x3ef75c[_0x46849a(0x147)],_0x3ef75c['fillRule']===_0x46849a(0x301)?_0x21d869['fill'](_0x46849a(0x301)):_0x21d869['fill'](),_0x21d869[_0x46849a(0x241)]());}class _0x2ecb3f extends _0x585793[_0x3db800(0x31e)]{constructor(_0x2755a9,_0x5818fa){const _0x2598b7=_0x3db800;super(_0x2755a9,_0x5818fa),_0x11fc09(this,'color'),_0x11fc09(this,_0x2598b7(0x115)),(this['color']=_0x5818fa==null?void 0x0:_0x5818fa[_0x2598b7(0x144)],this[_0x2598b7(0x115)]=_0x5818fa==null?void 0x0:_0x5818fa['text']);}static[_0x3db800(0x240)](_0x4bf4f1,_0x16a2c2){const _0x409f64=_0x3db800,{text:_0x31b684,color:_0x1dc66b}=_0x16a2c2;_0x4bf4f1['save'](),_0x4bf4f1[_0x409f64(0x358)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x90ce90=_0x4bf4f1[_0x409f64(0x395)](_0x31b684)[_0x409f64(0x2f5)],_0x454d41=Math['min'](_0x90ce90+0x2*_0x1c8404,_0x23b09f);_0x23c7c3(_0x4bf4f1,{'height':_0x13bbfe,'radius':0x4,'width':_0x454d41,'fill':_0x1dc66b}),_0x4bf4f1[_0x409f64(0x2e0)]=_0x409f64(0x3be);const _0x163cf2=_0x1c8404,_0xb4aa32=_0x13bbfe-_0x2238da,_0x4c0ed1=_0x23b09f-0x2*_0x1c8404;if(_0x90ce90>_0x4c0ed1){let _0x148f10='',_0x563813=0x0;for(const _0x1dd8ec of _0x31b684){const _0x37ea9a=_0x4bf4f1['measureText'](_0x1dd8ec)[_0x409f64(0x2f5)];if(_0x563813+_0x37ea9a<=_0x4c0ed1-_0x4bf4f1[_0x409f64(0x395)](_0x409f64(0xf0))[_0x409f64(0x2f5)])_0x148f10+=_0x1dd8ec,_0x563813+=_0x37ea9a;else{_0x148f10+=_0x409f64(0xf0);break;}}_0x4bf4f1[_0x409f64(0x23e)](_0x148f10,_0x163cf2,_0xb4aa32);}else _0x4bf4f1[_0x409f64(0x23e)](_0x31b684,_0x163cf2,_0xb4aa32);_0x4bf4f1[_0x409f64(0x241)]();}[_0x3db800(0x171)](_0xd1c756){const _0x196a01=_0x3db800;_0x2ecb3f[_0x196a01(0x240)](_0xd1c756,this);}}const _0x56390a=_0x3db800(0x160),_0x2e46c4=_0x3db800(0x349),_0x2d0d28='collab-rect-range-',_0x5e81ff=0x6,_0x208e40=1.5,_0x3d2216=0x4,_0x3ab1fc=1.5,_0x4964d8=_0x3db800(0x224);class _0x4e8ee4{constructor(_0x4c4dca,_0x5b6e92,_0x20997a,_0x50f51c){const _0x4a970f=_0x3db800;_0x11fc09(this,_0x4a970f(0x334),[]),_0x11fc09(this,_0x4a970f(0x2fd),null),_0x11fc09(this,_0x4a970f(0xda),null),_0x11fc09(this,'_anchorDot',null),_0x11fc09(this,_0x4a970f(0x1d8),null),_0x11fc09(this,_0x4a970f(0x178),null),(this[_0x4a970f(0x10e)]=_0x4c4dca,this[_0x4a970f(0x2e3)]=_0x5b6e92,this[_0x4a970f(0x2b8)]=_0x20997a,this[_0x4a970f(0x332)]=_0x50f51c,this['_render']());}set[_0x3db800(0x32a)](_0x5d3fa3){const _0x5024e0=_0x3db800;_0x5d3fa3?(this[_0x5024e0(0x2d3)]&&this['_anchorDot'][_0x5024e0(0x234)](),this['_textBubble']&&this[_0x5024e0(0xda)]['show']()):(this[_0x5024e0(0x2d3)]&&this[_0x5024e0(0x2d3)][_0x5024e0(0x2b1)](),this[_0x5024e0(0xda)]&&this[_0x5024e0(0xda)]['hide']());}['dispose'](){const _0x3465ab=_0x3db800;for(const _0x447c78 of this[_0x3465ab(0x334)])_0x447c78['dispose']();this[_0x3465ab(0xda)]&&this[_0x3465ab(0xda)]['dispose'](),this['_anchorDot']&&this[_0x3465ab(0x2d3)][_0x3465ab(0x37d)](),this[_0x3465ab(0x2fd)]&&this[_0x3465ab(0x2fd)][_0x3465ab(0x37d)](),this[_0x3465ab(0x178)]&&this[_0x3465ab(0x178)]();}[_0x3db800(0x10d)](){const _0x34d012=_0x3db800;var _0x5b6cbb;const {_docSkeleton:_0xe60411,_document:_0x18710e}=this,{color:_0x2f44b1,name:_0x4561f4,ranges:_0x255ad1}=this[_0x34d012(0x10e)],_0x37472e=_0x18710e[_0x34d012(0x166)](),{docsLeft:_0x15611a,docsTop:_0x12f0fa}=_0x37472e,_0x5508c4=new _0x45f825['NodePositionConvertToCursor'](_0x37472e,_0xe60411);for(const {startOffset:_0x5a9c6e,endOffset:_0x481f76,rangeType:_0x4da681,segmentId:_0x1b4349,segmentPage:_0x5f2905,collapsed:_0x3b9bd9,isActive:_0x565fd4}of _0x255ad1){const _0x3be57d=_0xe60411[_0x34d012(0x251)](_0x5a9c6e,!0x0,_0x1b4349,_0x5f2905);let _0x1673c7=_0xe60411[_0x34d012(0x251)](_0x481f76,!0x0,_0x1b4349,_0x5f2905);if(_0x1673c7==null&&(_0x1673c7=_0xe60411['findNodePositionByCharIndex'](_0x481f76-0x1,!0x1,_0x1b4349,_0x5f2905)),_0x565fd4){const {contentBoxPointGroup:_0x58eca2}=_0x5508c4[_0x34d012(0x230)](_0x1673c7,_0x1673c7);if(_0x58eca2['length']===0x0)continue;this[_0x34d012(0x3bc)](_0x2f44b1,_0x58eca2,_0x15611a,_0x12f0fa,_0x4561f4),this[_0x34d012(0x178)]=this[_0x34d012(0x3b7)]();}if(_0x3be57d&&_0x1673c7){if(_0x4da681===_0x5721e1['DOC_RANGE_TYPE'][_0x34d012(0x123)]){const _0x3aec58=new _0x45f825[(_0x34d012(0x1e3))](_0x37472e,_0xe60411),{pointGroup:_0xc48a1a}=(_0x5b6cbb=_0x3aec58[_0x34d012(0x230)](_0x3be57d,_0x1673c7))!=null?_0x5b6cbb:{};if(_0xc48a1a==null||_0xc48a1a['length']===0x0)continue;this[_0x34d012(0x2bd)](_0x2f44b1,_0xc48a1a,_0x15611a,_0x12f0fa);}else{if(!_0x3b9bd9){const {borderBoxPointGroup:_0x5d2306}=_0x5508c4[_0x34d012(0x230)](_0x3be57d,_0x1673c7);if(_0x5d2306[_0x34d012(0x165)]===0x0)continue;this[_0x34d012(0x354)](_0x2f44b1,_0x5d2306,_0x15611a,_0x12f0fa);}}}}}[_0x3db800(0x3bc)](_0x46c0e0,_0x45cf13,_0x2aed44,_0x5bcfef,_0x175192){const _0x1200b0=_0x3db800,_0xfea043=this['_getAnchorBounding'](_0x45cf13),{left:_0x11cda9,top:_0x38d9b0,height:_0x1fc44a}=_0xfea043,_0x25f85a=this[_0x1200b0(0x2ec)](),_0x1bbe84=_0x3ab1fc/_0x25f85a,_0x36d459=new _0x585793[(_0x1200b0(0x1ce))](_0x56390a+_0x5721e1[_0x1200b0(0x336)](_0x5e81ff),{'left':_0x11cda9+_0x2aed44-_0x1bbe84,'top':_0x38d9b0+_0x5bcfef,'height':_0x1fc44a,'width':_0x208e40,'fill':_0x46c0e0||_0x585793[_0x1200b0(0x1a4)](_0x5721e1[_0x1200b0(0x39f)][_0x1200b0(0x313)],0x0),'strokeWidth':_0x1bbe84,'stroke':_0x4964d8,'evented':!0x0});this[_0x1200b0(0x2fd)]=_0x36d459,this[_0x1200b0(0x2e3)][_0x1200b0(0x1cb)](_0x36d459,_0x45f825[_0x1200b0(0x1ff)]);const _0x635cb2=new _0x585793[(_0x1200b0(0x1ce))](_0x56390a+_0x5721e1[_0x1200b0(0x336)](_0x5e81ff),{'left':_0x11cda9+_0x2aed44-_0x1bbe84,'top':_0x38d9b0+_0x5bcfef-_0x3d2216/0x2,'height':_0x3d2216,'width':_0x3d2216,'fill':_0x46c0e0||_0x585793[_0x1200b0(0x1a4)](_0x5721e1[_0x1200b0(0x39f)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x46c0e0||_0x585793['getColor'](_0x5721e1[_0x1200b0(0x39f)]['black'],0x0),'evented':!0x1});this[_0x1200b0(0x2d3)]=_0x635cb2,this['_scene'][_0x1200b0(0x1cb)](_0x635cb2,_0x45f825[_0x1200b0(0x1ff)]);const _0x3b5636=new _0x2ecb3f(_0x56390a+_0x5721e1['generateRandomId'](_0x5e81ff),{'left':_0x11cda9+_0x2aed44-_0x1bbe84,'top':_0x38d9b0+_0x5bcfef-_0x13bbfe,'text':_0x175192,'color':_0x46c0e0});this[_0x1200b0(0xda)]=_0x3b5636,this['_scene'][_0x1200b0(0x1cb)](_0x3b5636,_0x45f825[_0x1200b0(0x1ff)]),this['_hover']=!0x1;}['_handleHover'](){const _0xbeee69=_0x3db800,_0x166c05=this[_0xbeee69(0x2fd)][_0xbeee69(0x2ca)][_0xbeee69(0x288)](()=>{const _0x1506db=_0xbeee69;this[_0x1506db(0x32a)]=!0x0;}),_0x4d039f=this[_0xbeee69(0x2fd)][_0xbeee69(0x146)][_0xbeee69(0x288)](()=>{const _0x174f89=_0xbeee69;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x174f89(0x1d8)]=setTimeout(()=>{const _0x5e7c7c=_0x174f89;this[_0x5e7c7c(0x32a)]=!0x1;},0x7d0);});return()=>{const _0x3492b3=_0xbeee69;_0x166c05[_0x3492b3(0x1ee)](),_0x4d039f[_0x3492b3(0x1ee)]();};}[_0x3db800(0x354)](_0x3d2a6c,_0x36e702,_0xec3806,_0x4e6873){const _0x1fcce3=_0x3db800,_0x7bd8b3=new _0x5721e1[(_0x1fcce3(0x233))](_0x3d2a6c)[_0x1fcce3(0x38f)](0.2)[_0x1fcce3(0x2c8)](),_0x57cc10=new _0x585793[(_0x1fcce3(0x1b0))](_0x2e46c4+_0x5721e1[_0x1fcce3(0x336)](_0x5e81ff),{'pointsGroup':_0x36e702,'fill':_0x7bd8b3||_0x585793[_0x1fcce3(0x1a4)](_0x5721e1['COLORS']['black'],0.2),'left':_0xec3806,'top':_0x4e6873,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1fcce3(0x334)][_0x1fcce3(0x126)](_0x57cc10),this[_0x1fcce3(0x2e3)][_0x1fcce3(0x1cb)](_0x57cc10,_0x45f825[_0x1fcce3(0x1ff)]);}[_0x3db800(0x2bd)](_0x4e66ae,_0x1ef41e,_0x327e99,_0x1154b8){const _0x22a547=_0x3db800,_0x27bdba=new _0x5721e1[(_0x22a547(0x233))](_0x4e66ae)[_0x22a547(0x38f)](0.2)[_0x22a547(0x2c8)](),_0x4ad661=new _0x585793[(_0x22a547(0x1b0))](_0x2d0d28+_0x5721e1[_0x22a547(0x336)](_0x5e81ff),{'pointsGroup':_0x1ef41e,'fill':_0x27bdba||_0x585793[_0x22a547(0x1a4)](_0x5721e1[_0x22a547(0x39f)][_0x22a547(0x313)],0.2),'left':_0x327e99,'top':_0x1154b8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x22a547(0x334)]['push'](_0x4ad661),this[_0x22a547(0x2e3)][_0x22a547(0x1cb)](_0x4ad661,_0x45f825[_0x22a547(0x1ff)]);}[_0x3db800(0x148)](_0x51a384){const _0x103db7=_0x51a384[0x0],_0xbd9f5d=_0x103db7[0x0],_0x134770=_0x103db7[0x2],{x:_0x44a4a1,y:_0x44eaa8}=_0xbd9f5d,{x:_0x1572bf,y:_0x16a5e1}=_0x134770;return{'left':_0x44a4a1,'top':_0x44eaa8,'width':_0x1572bf-_0x44a4a1,'height':_0x16a5e1-_0x44eaa8};}[_0x3db800(0x2ec)](){const _0x597141=_0x3db800,{scaleX:_0x4300b5,scaleY:_0x4d5f97}=this['_scene'][_0x597141(0x2a5)]();return Math['max'](_0x4300b5,_0x4d5f97);}}var _0x50487b=Object[_0x3db800(0x2db)],_0x318f0b=(_0x49c5ad,_0x4c29b9,_0x4933be,_0x3c0b46)=>{const _0x5797d1=_0x3db800;for(var _0x27c55c=_0x3c0b46>0x1?void 0x0:_0x3c0b46?_0x50487b(_0x4c29b9,_0x4933be):_0x4c29b9,_0x3b3a9a=_0x49c5ad[_0x5797d1(0x165)]-0x1,_0x1c3733;_0x3b3a9a>=0x0;_0x3b3a9a--)(_0x1c3733=_0x49c5ad[_0x3b3a9a])&&(_0x27c55c=_0x1c3733(_0x27c55c)||_0x27c55c);return _0x27c55c;},_0x29441e=(_0x634ee5,_0x4b7aa7)=>(_0x4efbc9,_0x273293)=>_0x4b7aa7(_0x4efbc9,_0x273293,_0x634ee5);let _0x1be4c4=class extends _0x5721e1['RxDisposable']{constructor(_0x1ee370,_0x4fc7b3,_0x54bf45,_0x45e642,_0x56904d){const _0x20e06f=_0x3db800;super(),_0x11fc09(this,_0x20e06f(0x137),[]),_0x11fc09(this,_0x20e06f(0x2a9),[]),(this[_0x20e06f(0x247)]=_0x1ee370,this[_0x20e06f(0xe7)]=_0x4fc7b3,this[_0x20e06f(0x1a9)]=_0x54bf45,this[_0x20e06f(0x3a0)]=_0x45e642,this[_0x20e06f(0x12b)]=_0x56904d,this[_0x20e06f(0x2e1)]());}[_0x3db800(0x2e1)](){const _0x54cb7d=_0x3db800,_0x55d3b8=this[_0x54cb7d(0x247)][_0x54cb7d(0x2f4)],_0x55d4af=this[_0x54cb7d(0xe7)];this[_0x54cb7d(0x168)](_0x3c46fe['combineLatest']([this[_0x54cb7d(0x1a9)][_0x54cb7d(0x37b)](_0x55d3b8),this[_0x54cb7d(0x12b)][_0x54cb7d(0x328)]])[_0x54cb7d(0x138)](_0x3951af[_0x54cb7d(0x209)](([_0x5bc271,_0x3376e6])=>({'skeleton':_0x55d4af[_0x54cb7d(0x1cc)](),'cursors':[..._0x5bc271[_0x54cb7d(0x39e)]()][_0x54cb7d(0x199)](_0x33ad4d=>({..._0x33ad4d,'color':this[_0x54cb7d(0x12b)][_0x54cb7d(0x11e)](_0x33ad4d[_0x54cb7d(0x144)])}))})))[_0x54cb7d(0x2ce)](_0x45a66b=>{const _0x311237=_0x54cb7d;if(this[_0x311237(0x2af)](),_0x45a66b){const {skeleton:_0x33a19c,cursors:_0x10114f}=_0x45a66b;this[_0x311237(0x27f)](_0x33a19c,_0x10114f);}})),this[_0x54cb7d(0x121)](),this[_0x54cb7d(0x248)]();}[_0x3db800(0x27f)](_0x35a2b5,_0x1926ab){const _0x1a3402=_0x3db800,{scene:_0x407c03,mainComponent:_0x531260}=this[_0x1a3402(0x247)],_0x2e32a9=_0x1926ab[_0x1a3402(0x209)](_0x59c8da=>new _0x4e8ee4(_0x59c8da,_0x407c03,_0x35a2b5,_0x531260));this[_0x1a3402(0x137)]=_0x2e32a9,this[_0x1a3402(0x2a9)]=_0x1926ab;}[_0x3db800(0x1bc)](){const _0x528b78=_0x3db800;this[_0x528b78(0x2af)]();const {scene:_0x25dd6c,mainComponent:_0x28261f}=this[_0x528b78(0x247)],_0x48b8fb=this[_0x528b78(0xe7)][_0x528b78(0x1cc)](),_0x16e96a=this['_cursors'][_0x528b78(0x209)](_0x29c9bc=>new _0x4e8ee4(_0x29c9bc,_0x25dd6c,_0x48b8fb,_0x28261f));this[_0x528b78(0x137)]=_0x16e96a;}[_0x3db800(0x2af)](){const _0x51c834=_0x3db800;this[_0x51c834(0x137)][_0x51c834(0x331)](_0x16369d=>_0x16369d[_0x51c834(0x37d)]()),this[_0x51c834(0x137)]=[];}[_0x3db800(0x248)](){const _0x1e4a03=_0x3db800,_0x2b0d42=[_0x45f825[_0x1e4a03(0x17b)]['id']];this[_0x1e4a03(0x168)](this[_0x1e4a03(0x3a0)][_0x1e4a03(0x10b)](_0x3cd02f=>{const _0x37f90f=_0x1e4a03;_0x2b0d42['includes'](_0x3cd02f['id'])&&_0x3cd02f['params'][_0x37f90f(0x2f4)]===this[_0x37f90f(0x247)][_0x37f90f(0x2f4)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x5d631b=_0x3db800;this['disposeWithMe'](_0x5721e1[_0x5d631b(0x3a5)](this['_context'][_0x5d631b(0x367)][_0x5d631b(0x292)])[_0x5d631b(0x138)](_0x3951af[_0x5d631b(0x155)](_0x19a786=>_0x19a786[_0x5d631b(0x210)]===_0x585793[_0x5d631b(0x389)][_0x5d631b(0x382)]),_0x3951af[_0x5d631b(0x157)](0x10))[_0x5d631b(0x2ce)](()=>{const _0xd8dcbf=_0x5d631b;this[_0xd8dcbf(0x1bc)]();}));}};_0x1be4c4=_0x318f0b([_0x29441e(0x1,_0x5721e1[_0x3db800(0x181)](_0x9d8fba[_0x3db800(0x109)])),_0x29441e(0x2,_0x5721e1['Inject'](_0x192c77)),_0x29441e(0x3,_0x5721e1[_0x3db800(0x2e2)]),_0x29441e(0x4,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x15a)]))],_0x1be4c4);const _0x145431=0x1,_0x543250=1.5;class _0x3d98fb extends _0x585793[_0x3db800(0x31e)]{constructor(_0x572efa,_0x330ed5){const _0x2844f7=_0x3db800;super(_0x572efa,_0x330ed5),_0x11fc09(this,_0x2844f7(0x21c)),_0x11fc09(this,_0x2844f7(0x1dc),!0x1),_0x11fc09(this,_0x2844f7(0x238)),_0x11fc09(this,'_name',''),_0x11fc09(this,_0x2844f7(0x112),_0x2844f7(0x1b9)),_0x11fc09(this,_0x2844f7(0x2bb)),(_0x330ed5&&this['setShapeProps'](_0x330ed5),this[_0x2844f7(0x2ca)]['subscribeEvent'](()=>this[_0x2844f7(0x2d5)]({'hovered':!0x0})),this[_0x2844f7(0x146)][_0x2844f7(0x288)](()=>this[_0x2844f7(0x2d5)]({'hovered':!0x1})));}[_0x3db800(0x2d5)](_0x57cc4e){const _0x4093fd=_0x3db800;var _0x48cf40,_0x45a4df,_0x205dd0,_0x1ddd3d,_0x262d46,_0x271c4a;this[_0x4093fd(0x21c)]=(_0x48cf40=_0x57cc4e['color'])!=null?_0x48cf40:this['_color'],this['_hovered']=(_0x45a4df=_0x57cc4e[_0x4093fd(0x1ab)])!=null?_0x45a4df:this['_hovered'],this[_0x4093fd(0x238)]=(_0x205dd0=_0x57cc4e[_0x4093fd(0x182)])!=null?_0x205dd0:this[_0x4093fd(0x238)],this[_0x4093fd(0x2c9)]=(_0x1ddd3d=_0x57cc4e[_0x4093fd(0x211)])!=null?_0x1ddd3d:this[_0x4093fd(0x2c9)],this[_0x4093fd(0x112)]=(_0x262d46=_0x57cc4e[_0x4093fd(0x2e5)])!=null?_0x262d46:this[_0x4093fd(0x112)],this[_0x4093fd(0x2bb)]=(_0x271c4a=_0x57cc4e[_0x4093fd(0x24c)])!=null?_0x271c4a:this[_0x4093fd(0x2bb)],this[_0x4093fd(0x272)]({'width':_0x57cc4e[_0x4093fd(0x2f5)],'height':_0x57cc4e[_0x4093fd(0x380)]});}['onMouseMove'](_0x28b86a){const _0x385ff5=_0x3db800,{row:_0x32019e,column:_0x31b2af}=_0x28b86a;if(_0x32019e>=this[_0x385ff5(0x238)][_0x385ff5(0x32e)]&&_0x32019e<=this['_range']['endRow']&&_0x31b2af>=this[_0x385ff5(0x238)][_0x385ff5(0x30a)]&&_0x31b2af<=this['_range']['endColumn']){this[_0x385ff5(0x2d5)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x4efe4e){return!0x1;}[_0x3db800(0x171)](_0x1345f2){const _0x358da0=_0x3db800;_0x585793[_0x358da0(0x1ce)][_0x358da0(0x240)](_0x1345f2,{'width':this[_0x358da0(0x2f5)],'height':this['height'],'strokeWidth':_0x543250,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x358da0(0x2bb)]}),this['_hovered']&&(_0x1345f2['save'](),_0x1345f2['transform'](0x1,0x0,0x0,0x1,this[_0x358da0(0x2f5)],this[_0x358da0(0x112)]==='bottom'?0x0:-_0x13bbfe),_0x2ecb3f[_0x358da0(0x240)](_0x1345f2,{'text':this[_0x358da0(0x2c9)],'color':this[_0x358da0(0x21c)]}),_0x1345f2[_0x358da0(0x241)]());}}var _0x5693f2=Object['getOwnPropertyDescriptor'],_0x260d7b=(_0x4592a9,_0x3df972,_0x388ecd,_0x406caf)=>{const _0x471933=_0x3db800;for(var _0x2b7840=_0x406caf>0x1?void 0x0:_0x406caf?_0x5693f2(_0x3df972,_0x388ecd):_0x3df972,_0x53c7d2=_0x4592a9[_0x471933(0x165)]-0x1,_0x45b011;_0x53c7d2>=0x0;_0x53c7d2--)(_0x45b011=_0x4592a9[_0x53c7d2])&&(_0x2b7840=_0x45b011(_0x2b7840)||_0x2b7840);return _0x2b7840;},_0x48fe8b=(_0x33a411,_0x4f9888)=>(_0x4e74cf,_0x83782b)=>_0x4f9888(_0x4e74cf,_0x83782b,_0x33a411);const _0x8b30c2=0x1389;let _0x3eec6b=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x5d7eb6,_0x50e818,_0x2d738b,_0x2fb1bb){const _0x345803=_0x3db800;super(),_0x11fc09(this,'_cursors',new Set()),_0x11fc09(this,_0x345803(0x303),null),(this['_context']=_0x5d7eb6,this[_0x345803(0x229)]=_0x50e818,this[_0x345803(0x1a9)]=_0x2d738b,this[_0x345803(0x12b)]=_0x2fb1bb,this[_0x345803(0x2e1)]());}[_0x3db800(0x2e1)](){const _0x19f2d1=_0x3db800;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x19f2d1(0x138)](_0x3951af['takeUntil'](this['dispose$']),_0x3951af[_0x19f2d1(0x35b)](_0x350ea2=>{const _0x5136ac=_0x19f2d1;if(_0x350ea2){const _0x530ada=_0x350ea2[_0x5136ac(0x29e)];return _0x3c46fe[_0x5136ac(0x33a)](this['_collabCursorController'][_0x5136ac(0x37b)](this[_0x5136ac(0x247)][_0x5136ac(0x2f4)]),this[_0x5136ac(0x12b)][_0x5136ac(0x328)])['pipe'](_0x3951af['map'](([_0x59e06c,_0x44d223])=>{const _0x325d74=_0x5136ac,_0x45b4ae=new Map();return _0x59e06c[_0x325d74(0x331)]((_0x6e7b35,_0x52d75d)=>{const _0x59a09e=_0x325d74;if(_0x6e7b35[_0x59a09e(0x27c)]===_0x530ada){const _0x5d0cce={..._0x6e7b35};_0x5d0cce[_0x59a09e(0x144)]=this['_themeService'][_0x59a09e(0x11e)](_0x6e7b35[_0x59a09e(0x144)]),_0x45b4ae[_0x59a09e(0x10c)](_0x52d75d,_0x5d0cce);}}),{'skeleton':_0x350ea2,'cursors':_0x45b4ae};}));}return _0x3c46fe['of']({'skeleton':null,'cursors':new Map()});}))[_0x19f2d1(0x2ce)](({skeleton:_0x3fd764,cursors:_0x50883b})=>{const _0x4265a0=_0x19f2d1;this['_removeCollabCursors'](),_0x3fd764&&this[_0x4265a0(0x27f)](_0x3fd764,_0x50883b);}),this[_0x19f2d1(0x229)][_0x19f2d1(0x295)][_0x19f2d1(0x2ce)](_0x1db9ce=>{const _0x1103e3=_0x19f2d1;if(_0x1db9ce==null)return;const {skeleton:_0x14a2dc}=_0x1db9ce,{scene:_0x4de2d8}=this[_0x1103e3(0x247)];_0x4de2d8[_0x1103e3(0x249)][_0x1103e3(0x288)](_0x5721e1[_0x1103e3(0x25f)](_0x302b8d=>{const _0x5c5f7f=_0x1103e3;var _0x2ff501,_0x2a69ec;const {offsetX:_0x1cd6ca,offsetY:_0x397048}=_0x302b8d,{x:_0x27bfd7,y:_0xe43a29}=_0x4de2d8[_0x5c5f7f(0x15c)](_0x585793[_0x5c5f7f(0x220)][_0x5c5f7f(0x393)]([_0x1cd6ca,_0x397048])),{scaleX:_0x1ed462,scaleY:_0x5afb83}=_0x4de2d8['getAncestorScale'](),_0xe1e24d=_0x4de2d8[_0x5c5f7f(0x2f6)](_0x585793[_0x5c5f7f(0x1d5)][_0x5c5f7f(0x3c2)]),_0x25f4c6=_0x4de2d8[_0x5c5f7f(0x1a6)](_0x585793[_0x5c5f7f(0x220)][_0x5c5f7f(0x393)]([_0x27bfd7,_0xe43a29]),_0xe1e24d),_0x12328c=_0x14a2dc[_0x5c5f7f(0x294)](_0x1cd6ca,_0x397048,_0x1ed462,_0x5afb83,_0x25f4c6);((_0x2ff501=this['_lastPointer'])==null?void 0x0:_0x2ff501[_0x5c5f7f(0x15f)])===_0x12328c[_0x5c5f7f(0x15f)]&&((_0x2a69ec=this[_0x5c5f7f(0x303)])==null?void 0x0:_0x2a69ec['row'])===_0x12328c[_0x5c5f7f(0xf9)]||this['_cursors'][_0x5c5f7f(0x331)](_0x3eaf4b=>{const _0x588b94=_0x5c5f7f;_0x3eaf4b[_0x588b94(0x2dd)](_0x12328c);});},0x64));});}['_updateCollabCursors'](_0x375e99,_0x23d07a){const _0x62fdef=_0x3db800;var _0x511a08;const _0x4f1686=(_0x511a08=this['_sheetSkeletonManagerService'][_0x62fdef(0x344)]())==null?void 0x0:_0x511a08[_0x62fdef(0x34e)];if(!_0x4f1686)return;const _0x1c2e84=this[_0x62fdef(0x10a)]();if(!_0x1c2e84)return;this[_0x62fdef(0x2a9)][_0x62fdef(0x331)](_0x3dfb21=>{const _0x1074a4=_0x62fdef;_0x3dfb21[_0x1074a4(0x128)]();});const {scene:_0x439973}=_0x1c2e84,_0x4809d0=_0x1d1dfe(Array[_0x62fdef(0x2e8)](_0x23d07a[_0x62fdef(0x39e)]()))['map'](_0x49b377=>{const _0xcdf3d0=_0x62fdef,{color:_0x35a2fb,range:_0x424f11,name:_0x3d0001,selection:_0x28d3bb,sheetID:_0x3e9052}=_0x49b377,{startColumn:_0x1a0b7c,startRow:_0x5eda4a,endColumn:_0x34a4f2,endRow:_0xe983f2}=_0x424f11,_0x374d5f=_0x131e0d[_0xcdf3d0(0xdc)](_0x5eda4a,_0x1a0b7c,_0x439973,_0x4f1686),_0x45717a=_0x131e0d['getCoordByCell'](_0xe983f2,_0x34a4f2,_0x439973,_0x4f1686),{columnHeaderHeightAndMarginTop:_0x5b36de}=_0x4f1686,{startX:_0x318b6f,startY:_0x411df9}=_0x374d5f,{endX:_0x598fb4,endY:_0x10e42a}=_0x45717a,_0x56b36c=_0x598fb4-_0x318b6f,_0x429e40=_0x10e42a-_0x411df9,_0x3f0fbb={'labelPosition':_0x411df9-_0x5b36de>=_0x13bbfe?'top':_0xcdf3d0(0x223),'sheetID':_0x3e9052,'range':_0x424f11,'color':_0x35a2fb,'name':_0x3d0001,'selection':_0x28d3bb,'left':_0x318b6f,'top':_0x411df9,'width':_0x56b36c,'height':_0x429e40,'evented':!0x1,'zIndex':_0x8b30c2};return new _0x3d98fb(_0x3d0001,_0x3f0fbb);});_0x439973[_0x62fdef(0x2e7)](_0x4809d0,_0x145431),this[_0x62fdef(0x2a9)]=new Set(_0x4809d0);}[_0x3db800(0x2af)](){const _0x21ad7c=_0x3db800;var _0x24afdb;(_0x24afdb=this[_0x21ad7c(0x2a9)])==null||_0x24afdb[_0x21ad7c(0x331)](_0x2a1672=>_0x2a1672['dispose']());}['_getSheetObject'](){const _0x4f457d=_0x3db800;return _0x131e0d[_0x4f457d(0x16a)](this[_0x4f457d(0x247)]['unit'],this[_0x4f457d(0x247)]);}};_0x3eec6b=_0x260d7b([_0x48fe8b(0x1,_0x5721e1[_0x3db800(0x181)](_0x131e0d[_0x3db800(0x18f)])),_0x48fe8b(0x2,_0x5721e1[_0x3db800(0x181)](_0x192c77)),_0x48fe8b(0x3,_0x5721e1[_0x3db800(0x181)](_0x5721e1['ThemeService']))],_0x3eec6b);function _0x1d1dfe(_0xf5099e){const _0x3b2277=_0x3db800,_0x5a7d8e=new Map();return _0xf5099e[_0x3b2277(0x331)](_0x1b823c=>{const _0x1d8b92=_0x3b2277;if(_0x5a7d8e[_0x1d8b92(0x101)](_0x1b823c[_0x1d8b92(0x239)])){const _0x50ff82=_0x5a7d8e[_0x1d8b92(0x31c)](_0x1b823c[_0x1d8b92(0x239)]);_0x50ff82[_0x1d8b92(0x211)]+=',\x20'+_0x1b823c[_0x1d8b92(0x211)];}else _0x5a7d8e[_0x1d8b92(0x10c)](_0x1b823c[_0x1d8b92(0x239)],_0x1b823c);}),Array[_0x3b2277(0x2e8)](_0x5a7d8e[_0x3b2277(0x39e)]());}var _0x3e2b75=Object[_0x3db800(0x2db)],_0x391214=(_0xfaabad,_0x7fa4c4,_0x46e4b8,_0x3df677)=>{for(var _0x5852ed=_0x3df677>0x1?void 0x0:_0x3df677?_0x3e2b75(_0x7fa4c4,_0x46e4b8):_0x7fa4c4,_0x7bf749=_0xfaabad['length']-0x1,_0x5dbb44;_0x7bf749>=0x0;_0x7bf749--)(_0x5dbb44=_0xfaabad[_0x7bf749])&&(_0x5852ed=_0x5dbb44(_0x5852ed)||_0x5852ed);return _0x5852ed;},_0x51286c=(_0xe55239,_0xf578ca)=>(_0x162986,_0x231bac)=>_0xf578ca(_0x162986,_0x231bac,_0xe55239);let _0xa84181=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x4b31c9,_0x593446,_0x4edfdf,_0x56b9c4,_0x449c4f,_0xaf6ada){const _0x554840=_0x3db800;super(),this['_beforeCloseService']=_0x4b31c9,this[_0x554840(0x32f)]=_0x593446,this[_0x554840(0x322)]=_0x4edfdf,this[_0x554840(0x2b7)]=_0x56b9c4,this[_0x554840(0x34b)]=_0x449c4f,this['_localeService']=_0xaf6ada,this[_0x554840(0x267)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0xa1bc25=_0x3db800;this[_0xa1bc25(0x168)](this[_0xa1bc25(0x1d0)][_0xa1bc25(0x274)](()=>{const _0x1f6192=_0xa1bc25;if(this[_0x1f6192(0x32f)][_0x1f6192(0x2c0)][_0x1f6192(0x392)])return this[_0x1f6192(0x1fb)]['t'](_0x1f6192(0x17d));}));}[_0x3db800(0x1d7)](){const _0x1d7af3=_0x3db800;this[_0x1d7af3(0x168)](this['_collaborationUIEventService']['event$']['subscribe'](_0xd89c0d=>{const _0x49dc5b=_0x1d7af3;_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)][_0x49dc5b(0x298)]&&this[_0x49dc5b(0x2b7)][_0x49dc5b(0x2b1)]({'type':_0x31d403[_0x49dc5b(0x3ca)][_0x49dc5b(0x1de)],'content':this[_0x49dc5b(0x1fb)]['t']('collaboration.single-unit.warning')}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)][_0x49dc5b(0x140)]&&this['_messageService'][_0x49dc5b(0x2b1)]({'type':_0x31d403[_0x49dc5b(0x3ca)]['Warning'],'content':this[_0x49dc5b(0x1fb)]['t'](_0x49dc5b(0x195))}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)][_0x49dc5b(0x3ab)]&&this[_0x49dc5b(0x34b)][_0x49dc5b(0x2b1)]({'title':this[_0x49dc5b(0x1fb)]['t'](_0x49dc5b(0x371)),'content':this[_0x49dc5b(0x1fb)]['t'](_0x49dc5b(0x2e9)),'type':_0x49dc5b(0x3ce),'duration':0x0}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)][_0x49dc5b(0x1c9)]&&this[_0x49dc5b(0x2b7)]['show']({'type':_0x31d403['MessageType']['Error'],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0xd89c0d['data']+')'}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)]['JOIN_ROOM_FAILED']&&this[_0x49dc5b(0x2b7)][_0x49dc5b(0x2b1)]({'type':_0x31d403['MessageType']['Warning'],'content':this[_0x49dc5b(0x1fb)]['t'](_0xd89c0d[_0x49dc5b(0x21a)]||'')}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)][_0x49dc5b(0x3af)]&&this[_0x49dc5b(0x2b7)][_0x49dc5b(0x2b1)]({'type':_0x31d403[_0x49dc5b(0x3ca)]['Warning'],'content':this[_0x49dc5b(0x1fb)]['t']('session.will-retry')}),_0xd89c0d['id']===_0x115633['CollaborationUIEventId'][_0x49dc5b(0x103)]&&this['_messageService'][_0x49dc5b(0x2b1)]({'type':_0x31d403[_0x49dc5b(0x3ca)]['Error'],'content':this[_0x49dc5b(0x1fb)]['t'](_0x49dc5b(0xf8))}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x49dc5b(0x2b7)][_0x49dc5b(0x2b1)]({'type':_0x31d403[_0x49dc5b(0x3ca)]['Error'],'content':this[_0x49dc5b(0x1fb)]['t'](_0x49dc5b(0x1a5))});}));}};_0xa84181=_0x391214([_0x51286c(0x0,_0xa1d841[_0x3db800(0x314)]),_0x51286c(0x1,_0x115633[_0x3db800(0x1ac)]),_0x51286c(0x2,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x194)])),_0x51286c(0x3,_0xa1d841[_0x3db800(0x355)]),_0x51286c(0x4,_0xa1d841[_0x3db800(0xe3)]),_0x51286c(0x5,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x324)]))],_0xa84181);var _0x5296c7=Object[_0x3db800(0x2db)],_0x2dd4ea=(_0x21cad2,_0x38cf9a,_0x2695d2,_0x39f827)=>{const _0x414d9f=_0x3db800;for(var _0x91a5f4=_0x39f827>0x1?void 0x0:_0x39f827?_0x5296c7(_0x38cf9a,_0x2695d2):_0x38cf9a,_0x420ec9=_0x21cad2[_0x414d9f(0x165)]-0x1,_0x3832ce;_0x420ec9>=0x0;_0x420ec9--)(_0x3832ce=_0x21cad2[_0x420ec9])&&(_0x91a5f4=_0x3832ce(_0x91a5f4)||_0x91a5f4);return _0x91a5f4;},_0x44dad0=(_0x13416a,_0x524a1f)=>(_0x511494,_0x58d2bc)=>_0x524a1f(_0x511494,_0x58d2bc,_0x13416a);let _0x2c4f22=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x3856b9,_0x99831b,_0x4843ec,_0x3dc545){const _0x243f75=_0x3db800;super(),_0x11fc09(this,_0x243f75(0x142)),(this['_injector']=_0x3856b9,this[_0x243f75(0x394)]=_0x99831b,this['_logService']=_0x4843ec,this['_collaborationSessionService']=_0x3dc545,this[_0x243f75(0x2e1)]());}[_0x3db800(0x2e1)](){const _0x195704=_0x3db800;this['_initWindowErrorListener'](),this['_initUnhandledRejectionListener'](),this['_monkeyPatchLogService'](),this[_0x195704(0x282)]();}[_0x3db800(0x282)](){const _0x50bb24=_0x3db800;this[_0x50bb24(0x168)](this[_0x50bb24(0x1e4)][_0x50bb24(0x39b)][_0x50bb24(0x2ce)](_0x2837eb=>{const _0x5d2f6e=_0x50bb24;this[_0x5d2f6e(0x142)]=_0x2837eb==null?void 0x0:_0x2837eb[_0x5d2f6e(0x34a)];}));}[_0x3db800(0x203)](){const _0x555523=_0x3db800,_0x5e2838=_0x3d4c16=>{const _0x297e5b=_0x1e97;var _0x28fdc9;this[_0x297e5b(0x1ad)]('error',_0x297e5b(0x2a2)+_0x3d4c16['message']+'\x20at\x20'+_0x3d4c16['filename']+':'+_0x3d4c16[_0x297e5b(0x28e)]+':'+_0x3d4c16[_0x297e5b(0x114)]+'\x0a'+(((_0x28fdc9=_0x3d4c16[_0x297e5b(0x3ce)])==null?void 0x0:_0x28fdc9[_0x297e5b(0x191)])||''));};window[_0x555523(0x312)](_0x555523(0x3ce),_0x5e2838),this['disposeWithMe'](()=>{const _0x26f2ed=_0x555523;window[_0x26f2ed(0xd2)]('error',_0x5e2838);});}[_0x3db800(0xcf)](){const _0x44b4cc=_0x3db800,_0x2d5b32=_0x572cba=>{const _0x7d09ec=_0x1e97;this[_0x7d09ec(0x1ad)](_0x7d09ec(0x3ce),'[Unhandled\x20Rejection]:\x20'+_0x572cba['reason']);};window[_0x44b4cc(0x312)](_0x44b4cc(0x219),_0x2d5b32),this[_0x44b4cc(0x168)](()=>{const _0x33ee80=_0x44b4cc;window[_0x33ee80(0xd2)](_0x33ee80(0x219),_0x2d5b32);});}[_0x3db800(0x35a)](){const _0x500c4f=_0x3db800,_0x276fa3=this[_0x500c4f(0x3b1)][_0x500c4f(0x3ce)][_0x500c4f(0x34f)](this[_0x500c4f(0x3b1)]);this[_0x500c4f(0x3b1)][_0x500c4f(0x3ce)]=(..._0x1a22af)=>{const _0x2ef675=_0x500c4f,_0x314364=_0x1a22af[_0x2ef675(0x209)](_0x2db0b0=>_0x2db0b0 instanceof Error?_0x2db0b0[_0x2ef675(0x243)]+'\x0a'+_0x2db0b0[_0x2ef675(0x191)]:String(_0x2db0b0))[_0x2ef675(0x2fc)]('\x20');this[_0x2ef675(0x1ad)](_0x2ef675(0x3ce),_0x2ef675(0x3a6)+_0x314364),_0x276fa3(..._0x1a22af);},this[_0x500c4f(0x168)](()=>{const _0x15c8c0=_0x500c4f;this['_logService'][_0x15c8c0(0x3ce)]=_0x276fa3;});}['_uploadLog'](_0x163a38,_0x73b23f){const _0x10b33b=_0x3db800;try{const _0x2f65e4={'userId':this['_memberID'],'logLabel':_0x163a38,'content':_0x73b23f};this[_0x10b33b(0x394)][_0x10b33b(0x3c4)](_0x10b33b(0x23b),{'body':_0x2f65e4})[_0x10b33b(0x34d)](()=>{});}catch{}}};_0x2c4f22=_0x2dd4ea([_0x44dad0(0x0,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x44dad0(0x1,_0x5721e1[_0x3db800(0x181)](_0x45e398[_0x3db800(0x254)])),_0x44dad0(0x2,_0x5721e1[_0x3db800(0x154)]),_0x44dad0(0x3,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x28f)]))],_0x2c4f22);const _0x214486=_0x3db800(0x17a),_0x3b0f99={};var _0xbe2fdc=Object['getOwnPropertyDescriptor'],_0x4c288a=(_0x1538c8,_0x464c42,_0x52001c,_0x1d317b)=>{const _0x37fe3b=_0x3db800;for(var _0x2f2629=_0x1d317b>0x1?void 0x0:_0x1d317b?_0xbe2fdc(_0x464c42,_0x52001c):_0x464c42,_0x29370a=_0x1538c8[_0x37fe3b(0x165)]-0x1,_0x3bb265;_0x29370a>=0x0;_0x29370a--)(_0x3bb265=_0x1538c8[_0x29370a])&&(_0x2f2629=_0x3bb265(_0x2f2629)||_0x2f2629);return _0x2f2629;},_0x5458da=(_0x72f013,_0x56ea74)=>(_0x3a96a7,_0x23a592)=>_0x56ea74(_0x3a96a7,_0x23a592,_0x72f013);let _0x28b209=class{constructor(_0x3b4159,_0x1cbf23){const _0xa26181=_0x3db800;this[_0xa26181(0x20c)]=_0x3b4159,this['_renderManagerService']=_0x1cbf23;}[_0x3db800(0x2cc)](_0x2cb103){const _0x4c9b79=_0x3db800;this[_0x4c9b79(0x117)](_0x2cb103),this[_0x4c9b79(0x2bc)](_0x2cb103);}[_0x3db800(0x338)](_0x1b5bf6){const _0x508b4e=_0x3db800,{unitID:_0x4ae41f}=_0x1b5bf6,_0x12c5d2=this[_0x508b4e(0x125)][_0x508b4e(0x228)](_0x4ae41f)[_0x508b4e(0x134)](_0x45f825[_0x508b4e(0x2ad)]),{redoCache:_0x2445eb}=_0x12c5d2[_0x508b4e(0x374)]();if(_0x2445eb[_0x508b4e(0x165)]===0x0)return _0x1b5bf6;let _0x592973=_0x5721e1[_0x508b4e(0x386)][_0x508b4e(0x3c6)](_0x1b5bf6[_0x508b4e(0x1e2)][0x0]);for(let _0x1a8573=0x0;_0x1a8573<_0x2445eb[_0x508b4e(0x165)];_0x1a8573++){const _0x206f39={'id':_0x508b4e(0x30f),'params':{..._0x2445eb[_0x1a8573]}},_0x2c8435=this[_0x508b4e(0x20c)][_0x508b4e(0x100)](_0x592973,_0x206f39,!0x1);if(_0x195720['isTransformMutationFailure'](_0x2c8435))throw _0x2c8435[_0x508b4e(0x3ce)];_0x592973=_0x2c8435[_0x508b4e(0x25d)];}return{..._0x5721e1['Tools'][_0x508b4e(0x3c6)](_0x1b5bf6),'mutations':[_0x592973]};}[_0x3db800(0x117)](_0xe0dbab){const _0x1d2dcb=_0x3db800,{unitID:_0x64e31e}=_0xe0dbab,_0x2fe021=this['_renderManagerService']['getRenderById'](_0x64e31e)[_0x1d2dcb(0x134)](_0x45f825[_0x1d2dcb(0x2ad)]),{undoCache:_0x39017d,redoCache:_0x4da363}=_0x2fe021['getUndoRedoMutationParamsCache']();if(_0x39017d[_0x1d2dcb(0x165)]===0x0||_0x4da363[_0x1d2dcb(0x165)]===0x0)return;const _0x1cba50=[],_0x26dcea=[];let _0x3b368a=_0x5721e1[_0x1d2dcb(0x386)][_0x1d2dcb(0x3c6)](_0xe0dbab[_0x1d2dcb(0x1e2)][0x0]),_0x2c68ae=_0x5721e1['Tools'][_0x1d2dcb(0x3c6)](_0xe0dbab[_0x1d2dcb(0x1e2)][0x0]);for(let _0xa6745a=_0x39017d['length']-0x1;_0xa6745a>=0x0;_0xa6745a--){const _0x297531={'id':_0x1d2dcb(0x30f),'params':{..._0x39017d[_0xa6745a]}},_0x2b8782={'id':_0x1d2dcb(0x30f),'params':{..._0x4da363[_0xa6745a]}},_0x539110=this[_0x1d2dcb(0x20c)][_0x1d2dcb(0x100)](_0x3b368a,_0x297531,!0x1),_0x376eb3=this[_0x1d2dcb(0x20c)][_0x1d2dcb(0x100)](_0x2c68ae,_0x2b8782,!0x1);if(_0x195720['isTransformMutationFailure'](_0x539110))throw _0x539110['error'];if(_0x195720['isTransformMutationFailure'](_0x376eb3))throw _0x376eb3[_0x1d2dcb(0x3ce)];_0x1cba50[_0x1d2dcb(0x2c1)](_0x539110[_0x1d2dcb(0x3b8)][_0x1d2dcb(0x1bb)]),_0x26dcea[_0x1d2dcb(0x2c1)](_0x376eb3[_0x1d2dcb(0x3b8)]['params']),_0x3b368a=_0x539110[_0x1d2dcb(0x25d)],_0x2c68ae=_0x376eb3[_0x1d2dcb(0x25d)];}_0x2fe021[_0x1d2dcb(0x11b)]({'undoCache':_0x1cba50,'redoCache':_0x26dcea});}[_0x3db800(0x2bc)](_0xf36918){const _0x2ccdd2=_0x3db800,{unitID:_0x39d191}=_0xf36918,_0x1f4f59=this[_0x2ccdd2(0x125)][_0x2ccdd2(0x228)](_0x39d191)[_0x2ccdd2(0x134)](_0x45f825[_0x2ccdd2(0x2ad)]),_0x263ec9=_0x1f4f59['getActiveRange']();if(_0x263ec9==null)return;const _0x52bc01=[{'id':_0x2ccdd2(0x30f),'params':{'unitId':_0xf36918[_0x2ccdd2(0x153)],'actions':null,'textRanges':[_0x263ec9]}}],_0x189f9f=this[_0x2ccdd2(0x20c)][_0x2ccdd2(0x124)](_0xf36918,_0x52bc01);if(!_0x195720['isTransformMutationsWithChangesetSuccess'](_0x189f9f))throw _0x189f9f[_0x2ccdd2(0x3ce)];const _0x1c2b99=_0x189f9f[_0x2ccdd2(0x3b8)][0x0][_0x2ccdd2(0x1bb)][_0x2ccdd2(0x12d)];Array[_0x2ccdd2(0x3a1)](_0x1c2b99)&&_0x1c2b99['length']&&_0x1f4f59['setActiveRange'](_0x1c2b99[0x0]);}};_0x28b209=_0x4c288a([_0x5458da(0x0,_0x195720[_0x3db800(0x26e)]),_0x5458da(0x1,_0x585793['IRenderManagerService'])],_0x28b209);var _0x2cada1=Object[_0x3db800(0x2db)],_0x1a8553=(_0x5f3450,_0x32566a,_0x7a4d72,_0x106f91)=>{const _0x5085a8=_0x3db800;for(var _0x4bee19=_0x106f91>0x1?void 0x0:_0x106f91?_0x2cada1(_0x32566a,_0x7a4d72):_0x32566a,_0x34d60=_0x5f3450[_0x5085a8(0x165)]-0x1,_0x4bdc0f;_0x34d60>=0x0;_0x34d60--)(_0x4bdc0f=_0x5f3450[_0x34d60])&&(_0x4bee19=_0x4bdc0f(_0x4bee19)||_0x4bee19);return _0x4bee19;},_0x101d0b=(_0x1ab420,_0x317bd7)=>(_0x5e9e04,_0xe7c443)=>_0x317bd7(_0x5e9e04,_0xe7c443,_0x1ab420);let _0x13e633=class{constructor(_0x4ae166,_0x30638f,_0x371282){const _0x4613aa=_0x3db800;this[_0x4613aa(0xed)]=_0x4ae166,this[_0x4613aa(0x20c)]=_0x30638f,this[_0x4613aa(0x2ae)]=_0x371282;}['transformStateCache'](_0x4a3b69){const _0x1dc81a=_0x3db800;this[_0x1dc81a(0x2cd)](_0x4a3b69);}[_0x3db800(0x338)](_0xd535e9){const _0x582f53=_0x3db800,{unitID:_0x3f5f9d}=_0xd535e9,{collaboration:_0xa6e3b8}=this['_docStateChangeManagerService']['getStateCache'](_0x3f5f9d);if(_0xa6e3b8[_0x582f53(0x165)]===0x0)return _0xd535e9;let _0xb2161c=_0x5721e1[_0x582f53(0x386)][_0x582f53(0x3c6)](_0xd535e9[_0x582f53(0x1e2)][0x0]);for(let _0x10ac1f=0x0;_0x10ac1f<_0xa6e3b8[_0x582f53(0x165)];_0x10ac1f++){const _0x1420aa={'id':_0x582f53(0x30f),'params':{'unitId':_0xa6e3b8[_0x10ac1f][_0x582f53(0x2f4)],..._0xa6e3b8[_0x10ac1f][_0x582f53(0x269)]}},_0x718cd3=this[_0x582f53(0x20c)]['transformMutation'](_0xb2161c,_0x1420aa,!0x1);if(_0x195720[_0x582f53(0x106)](_0x718cd3))throw _0x718cd3['error'];_0xb2161c=_0x718cd3[_0x582f53(0x25d)];}return{..._0x5721e1[_0x582f53(0x386)][_0x582f53(0x3c6)](_0xd535e9),'mutations':[_0xb2161c]};}['_transformHistoryAndStateStack'](_0x2a3054){const _0x5cab57=_0x3db800,{unitID:_0x4c67ea}=_0x2a3054,{history:_0x351aa5,collaboration:_0x4d1466}=this[_0x5cab57(0x2ae)]['getStateCache'](_0x4c67ea);if(_0x351aa5[_0x5cab57(0x165)]===0x0&&_0x4d1466['length']===0x0)return;const _0x185f5d=[],_0x17ec51=[];let _0x4bce24=_0x5721e1[_0x5cab57(0x386)][_0x5cab57(0x3c6)](_0x2a3054[_0x5cab57(0x1e2)][0x0]),_0x66ae64=_0x5721e1['Tools'][_0x5cab57(0x3c6)](_0x2a3054[_0x5cab57(0x1e2)][0x0]);for(let _0x370574=_0x351aa5[_0x5cab57(0x165)]-0x1;_0x370574>=0x0;_0x370574--){const _0x502acd={'id':_0x5cab57(0x30f),'params':{'unitId':_0x351aa5[_0x370574]['unitId'],..._0x351aa5[_0x370574]['undoState']}},_0x2d0bb5={'id':_0x5cab57(0x30f),'params':{'unitId':_0x351aa5[_0x370574][_0x5cab57(0x2f4)],..._0x351aa5[_0x370574][_0x5cab57(0x269)]}},_0x11b234=this[_0x5cab57(0x20c)][_0x5cab57(0x100)](_0x4bce24,_0x502acd,!0x1),_0x40b33c=this[_0x5cab57(0x20c)][_0x5cab57(0x100)](_0x66ae64,_0x2d0bb5,!0x1);if(_0x195720[_0x5cab57(0x106)](_0x11b234))throw _0x11b234['error'];if(_0x195720[_0x5cab57(0x106)](_0x40b33c))throw _0x40b33c[_0x5cab57(0x3ce)];_0x185f5d['unshift']({..._0x351aa5[_0x370574],'undoState':_0x11b234[_0x5cab57(0x3b8)][_0x5cab57(0x1bb)],'redoState':_0x40b33c[_0x5cab57(0x3b8)][_0x5cab57(0x1bb)]}),_0x4bce24=_0x11b234['m1Prime'],_0x66ae64=_0x40b33c['m1Prime'];}_0x4bce24=_0x5721e1[_0x5cab57(0x386)][_0x5cab57(0x3c6)](_0x2a3054[_0x5cab57(0x1e2)][0x0]),_0x66ae64=_0x5721e1[_0x5cab57(0x386)][_0x5cab57(0x3c6)](_0x2a3054[_0x5cab57(0x1e2)][0x0]);for(let _0x4c6218=_0x4d1466[_0x5cab57(0x165)]-0x1;_0x4c6218>=0x0;_0x4c6218--){const _0x4636f3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d1466[_0x4c6218][_0x5cab57(0x2f4)],..._0x4d1466[_0x4c6218][_0x5cab57(0x3c3)]}},_0x374a15={'id':_0x5cab57(0x30f),'params':{'unitId':_0x4d1466[_0x4c6218][_0x5cab57(0x2f4)],..._0x4d1466[_0x4c6218]['redoState']}},_0x54678e=this[_0x5cab57(0x20c)]['transformMutation'](_0x4bce24,_0x4636f3,!0x1),_0x63e0bd=this['_transformService'][_0x5cab57(0x100)](_0x66ae64,_0x374a15,!0x1);if(_0x195720[_0x5cab57(0x106)](_0x54678e))throw _0x54678e[_0x5cab57(0x3ce)];if(_0x195720[_0x5cab57(0x106)](_0x63e0bd))throw _0x63e0bd[_0x5cab57(0x3ce)];_0x17ec51['unshift']({..._0x4d1466[_0x4c6218],'undoState':_0x54678e['m2Prime'][_0x5cab57(0x1bb)],'redoState':_0x63e0bd[_0x5cab57(0x3b8)][_0x5cab57(0x1bb)]}),_0x4bce24=_0x54678e[_0x5cab57(0x25d)],_0x66ae64=_0x63e0bd[_0x5cab57(0x25d)];}this[_0x5cab57(0x2ae)][_0x5cab57(0x293)](_0x4c67ea,{'history':_0x185f5d,'collaboration':_0x17ec51});}};_0x13e633=_0x1a8553([_0x101d0b(0x0,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x101d0b(0x1,_0x195720[_0x3db800(0x26e)]),_0x101d0b(0x2,_0x5721e1[_0x3db800(0x181)](_0x45f825[_0x3db800(0x3bf)]))],_0x13e633);var _0x1275bc=Object[_0x3db800(0x2db)],_0x5219ca=(_0x3f206d,_0x5c2e7b,_0x519949,_0x27fece)=>{const _0x1f17b8=_0x3db800;for(var _0x523b03=_0x27fece>0x1?void 0x0:_0x27fece?_0x1275bc(_0x5c2e7b,_0x519949):_0x5c2e7b,_0x3552fb=_0x3f206d[_0x1f17b8(0x165)]-0x1,_0x419d8e;_0x3552fb>=0x0;_0x3552fb--)(_0x419d8e=_0x3f206d[_0x3552fb])&&(_0x523b03=_0x419d8e(_0x523b03)||_0x523b03);return _0x523b03;},_0x17b0e5=(_0x1d6a7f,_0x28c58c)=>(_0x374364,_0xd45bbe)=>_0x28c58c(_0x374364,_0xd45bbe,_0x1d6a7f);let _0x129f97=class{constructor(_0xcf8206,_0x1595b3){const _0x4bef07=_0x3db800;this[_0x4bef07(0xed)]=_0xcf8206,this['_transformService']=_0x1595b3;}[_0x3db800(0x280)](_0x301ed9){const _0x27313e=_0x3db800;var _0x10ea41;const _0x54f0bc=this[_0x27313e(0xed)]['get'](_0x9d8fba[_0x27313e(0x2c4)]),_0x4d0532=(_0x10ea41=_0x54f0bc[_0x27313e(0x260)]())!=null?_0x10ea41:[];if(_0x4d0532[_0x27313e(0x165)]===0x0)return;const _0x43327a=_0x301ed9[_0x27313e(0x153)],_0x43143b=[{'id':_0x27313e(0x30f),'params':{'unitId':_0x43327a,'actions':null,'textRanges':_0x4d0532}}],_0x173a74=this[_0x27313e(0x20c)][_0x27313e(0x124)](_0x301ed9,_0x43143b);if(!_0x195720[_0x27313e(0x31a)](_0x173a74))throw _0x173a74[_0x27313e(0x3ce)];const _0xd46133=_0x173a74[_0x27313e(0x3b8)][0x0][_0x27313e(0x1bb)][_0x27313e(0x12d)];Array[_0x27313e(0x3a1)](_0xd46133)&&_0xd46133[_0x27313e(0x165)]&&_0x54f0bc[_0x27313e(0x26b)](_0xd46133,{'unitId':_0x43327a,'subUnitId':_0x43327a},!0x1);}};_0x129f97=_0x5219ca([_0x17b0e5(0x0,_0x5721e1[_0x3db800(0x181)](_0x5721e1['Injector'])),_0x17b0e5(0x1,_0x195720[_0x3db800(0x26e)])],_0x129f97);var _0xbcf06e=Object[_0x3db800(0x2db)],_0x1741b5=(_0x274d15,_0x896981,_0x3bdce3,_0x26ffa3)=>{for(var _0x3a14ef=_0x26ffa3>0x1?void 0x0:_0x26ffa3?_0xbcf06e(_0x896981,_0x3bdce3):_0x896981,_0x27d6a=_0x274d15['length']-0x1,_0x48c472;_0x27d6a>=0x0;_0x27d6a--)(_0x48c472=_0x274d15[_0x27d6a])&&(_0x3a14ef=_0x48c472(_0x3a14ef)||_0x3a14ef);return _0x3a14ef;},_0x2068e7=(_0xe33c87,_0x5755b6)=>(_0x33a03a,_0x40a0a4)=>_0x5755b6(_0x33a03a,_0x40a0a4,_0xe33c87);let _0xc6cb38=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x2c34be,_0x84ea2a,_0x1cab77,_0x4e3566,_0x28252c,_0x5da297,_0x4a4553,_0x31178c){const _0x218c40=_0x3db800;super(),_0x11fc09(this,'_status$',new _0x3c46fe[(_0x218c40(0x346))](_0x115633[_0x218c40(0x36f)][_0x218c40(0x246)])),(this[_0x218c40(0x2ae)]=_0x2c34be,this['_collaborationController']=_0x84ea2a,this[_0x218c40(0x2a6)]=_0x1cab77,this[_0x218c40(0x366)]=_0x4e3566,this[_0x218c40(0x3b3)]=_0x28252c,this['_docSyncEditingCollabCursorService']=_0x5da297,this[_0x218c40(0x2b7)]=_0x4a4553,this[_0x218c40(0x1fb)]=_0x31178c,this[_0x218c40(0x2a4)]());}[_0x3db800(0x2a4)](){const _0x4b8cbd=_0x3db800;this[_0x4b8cbd(0x168)](this['_collaborationController'][_0x4b8cbd(0x193)][_0x4b8cbd(0x2ce)](_0x1b60d2=>{const _0x1027d8=_0x4b8cbd,_0x123027=this[_0x1027d8(0x2ae)]['docStateChange$'][_0x1027d8(0x2ce)](_0x356699=>{const _0x21f510=_0x1027d8;if(_0x356699==null)return;const {unitId:_0x1a7aa5,redoState:_0x48c2c1,commandId:_0x43e2b4}=_0x356699;if(_0x1a7aa5!==_0x1b60d2['unitID'])return;const _0x198cec={'id':_0x43e2b4,'type':_0x5721e1[_0x21f510(0x27e)][_0x21f510(0x143)],'params':{'unitId':_0x1a7aa5,'actions':_0x48c2c1[_0x21f510(0x14b)],'textRanges':null}};_0x1b60d2[_0x21f510(0x1f8)](_0x198cec);});if(_0x1b60d2['disposeWithMe'](_0x123027),_0x1b60d2 instanceof _0x115633[_0x1027d8(0x24a)]){const _0x377d36={'onTransformIME':_0x4afe35=>this[_0x1027d8(0x2a6)][_0x1027d8(0x2cc)](_0x4afe35),'onTransformState':_0x483671=>this[_0x1027d8(0x366)][_0x1027d8(0x23d)](_0x483671),'onTransformSelections':_0x2bccc4=>this[_0x1027d8(0x3b3)][_0x1027d8(0x280)](_0x2bccc4),'onSyncEditingCollabCursor':_0x2dfcfa=>this[_0x1027d8(0x2fa)][_0x1027d8(0x231)](_0x2dfcfa),'onTransformRemoteChangesetByIMECache':_0x467f0a=>this['_docTransformIMECacheService'][_0x1027d8(0x338)](_0x467f0a),'onTransformRemoteChangesetByStateCache':_0x419913=>this['_docTransformStateCacheService'][_0x1027d8(0x338)](_0x419913)};_0x1b60d2[_0x1027d8(0x1f2)](_0x377d36);}}));}};_0xc6cb38=_0x1741b5([_0x2068e7(0x0,_0x5721e1['Inject'](_0x45f825[_0x3db800(0x3bf)])),_0x2068e7(0x1,_0x5721e1[_0x3db800(0x181)](_0x115633['CollaborationController'])),_0x2068e7(0x2,_0x5721e1[_0x3db800(0x181)](_0x28b209)),_0x2068e7(0x3,_0x5721e1[_0x3db800(0x181)](_0x13e633)),_0x2068e7(0x4,_0x5721e1['Inject'](_0x129f97)),_0x2068e7(0x5,_0x5721e1[_0x3db800(0x181)](_0x41a578)),_0x2068e7(0x6,_0xa1d841[_0x3db800(0x355)]),_0x2068e7(0x7,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x324)]))],_0xc6cb38);var _0xb66710=(_0x422ec8=>(_0x422ec8[_0x422ec8[_0x3db800(0x13c)]=0x0]=_0x3db800(0x13c),_0x422ec8[_0x422ec8['OK']=0x1]='OK',_0x422ec8[_0x422ec8[_0x3db800(0x173)]=0x2]=_0x3db800(0x173),_0x422ec8[_0x422ec8['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x422ec8[_0x422ec8[_0x3db800(0x3d0)]=0x4]=_0x3db800(0x3d0),_0x422ec8[_0x422ec8[_0x3db800(0x18a)]=0x5]='UNAUTHENTICATED',_0x422ec8[_0x422ec8[_0x3db800(0x326)]=0x6]=_0x3db800(0x326),_0x422ec8[_0x422ec8['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x422ec8[_0x422ec8[_0x3db800(0x232)]=0x8]='TOO_MANY_REQUESTS',_0x422ec8[_0x422ec8['COMPLETION_FINISHED']=0x9]=_0x3db800(0x375),_0x422ec8[_0x422ec8['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x422ec8[_0x422ec8[_0x3db800(0x3a7)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x422ec8[_0x422ec8[_0x3db800(0x1e8)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x422ec8[_0x422ec8[_0x3db800(0x2f0)]=0xd]=_0x3db800(0x2f0),_0x422ec8[_0x422ec8[_0x3db800(0x235)]=0xe]=_0x3db800(0x235),_0x422ec8[_0x422ec8[_0x3db800(0x28a)]=0xf]=_0x3db800(0x28a),_0x422ec8[_0x422ec8[_0x3db800(0x3ac)]=0x10]=_0x3db800(0x3ac),_0x422ec8[_0x422ec8[_0x3db800(0x149)]=0x64]=_0x3db800(0x149),_0x422ec8[_0x422ec8[_0x3db800(0x2a1)]=0x65]=_0x3db800(0x2a1),_0x422ec8[_0x422ec8[_0x3db800(0x14a)]=0xc9]=_0x3db800(0x14a),_0x422ec8[_0x422ec8[_0x3db800(0x22b)]=0xca]=_0x3db800(0x22b),_0x422ec8[_0x422ec8[_0x3db800(0x206)]=0x1389]=_0x3db800(0x206),_0x422ec8[_0x422ec8['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3db800(0x205),_0x422ec8[_0x422ec8[_0x3db800(0x197)]=0x1772]=_0x3db800(0x197),_0x422ec8[_0x422ec8['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x3db800(0x22d),_0x422ec8[_0x422ec8[_0x3db800(0x35d)]=0x1b59]='APPLY_REJECT',_0x422ec8[_0x422ec8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3db800(0xee),_0x422ec8[_0x422ec8[_0x3db800(0xf7)]=0x1b5b]=_0x3db800(0xf7),_0x422ec8[_0x422ec8[_0x3db800(0x2d8)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x422ec8[_0x422ec8[_0x3db800(0x1af)]=0x1b5d]='APPLY_DUPLICATED',_0x422ec8[_0x422ec8['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3db800(0xf1),_0x422ec8[_0x422ec8[_0x3db800(0x16d)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x422ec8[_0x422ec8[_0x3db800(0x256)]=0x232a]=_0x3db800(0x256),_0x422ec8[_0x422ec8[_0x3db800(0x27a)]=0x232b]=_0x3db800(0x27a),_0x422ec8[_0x422ec8['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x422ec8[_0x422ec8['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3db800(0x310),_0x422ec8[_0x422ec8['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x422ec8[_0x422ec8[_0x3db800(0x2ba)]=0x2712]=_0x3db800(0x2ba),_0x422ec8[_0x422ec8[_0x3db800(0x1b5)]=0x2713]=_0x3db800(0x1b5),_0x422ec8[_0x422ec8[_0x3db800(0x33e)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x422ec8[_0x422ec8[_0x3db800(0x225)]=0x271a]=_0x3db800(0x225),_0x422ec8[_0x422ec8[_0x3db800(0xe9)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x422ec8[_0x422ec8[_0x3db800(0xff)]=0x271c]=_0x3db800(0xff),_0x422ec8[_0x422ec8[_0x3db800(0x28b)]=0x271d]=_0x3db800(0x28b),_0x422ec8[_0x422ec8['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x3db800(0x26d),_0x422ec8[_0x422ec8[_0x3db800(0x111)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x422ec8[_0x422ec8['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x3db800(0x1c7),_0x422ec8[_0x422ec8[_0x3db800(0x3d2)]=0x2af9]=_0x3db800(0x3d2),_0x422ec8[_0x422ec8[_0x3db800(0x167)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x422ec8[_0x422ec8['INVALID_INVITE_CODE']=0x2ee2]=_0x3db800(0x2c7),_0x422ec8[_0x422ec8['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3db800(0x1b6),_0x422ec8[_0x422ec8[_0x3db800(0x369)]=0x2ee4]=_0x3db800(0x369),_0x422ec8[_0x422ec8[_0x3db800(0x216)]=0x2ee5]=_0x3db800(0x216),_0x422ec8[_0x422ec8['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x422ec8[_0x422ec8[_0x3db800(0x26c)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x422ec8[_0x422ec8['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x3db800(0x1f3),_0x422ec8[_0x422ec8['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x3db800(0xf3),_0x422ec8[_0x422ec8[_0x3db800(0x300)]=0x36b2]=_0x3db800(0x300),_0x422ec8[_0x422ec8[_0x3db800(0x27d)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x422ec8[_0x422ec8[_0x3db800(0x15e)]=0x36b4]=_0x3db800(0x15e),_0x422ec8[_0x422ec8[_0x3db800(0x2d4)]=0x36b5]=_0x3db800(0x2d4),_0x422ec8[_0x422ec8[_0x3db800(0x1df)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x422ec8[_0x422ec8[_0x3db800(0x29b)]=0x36b7]=_0x3db800(0x29b),_0x422ec8[_0x422ec8['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x3db800(0xeb),_0x422ec8[_0x422ec8['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x422ec8[_0x422ec8[_0x3db800(0x196)]=0x3716]=_0x3db800(0x196),_0x422ec8[_0x422ec8['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x3db800(0x1db),_0x422ec8[_0x422ec8[_0x3db800(0x35f)]=0x37dd]=_0x3db800(0x35f),_0x422ec8[_0x422ec8[_0x3db800(0xdb)]=0x3a99]=_0x3db800(0xdb),_0x422ec8[_0x422ec8[_0x3db800(0x133)]=0x3a9a]=_0x3db800(0x133),_0x422ec8[_0x422ec8[_0x3db800(0x172)]=0x3a9b]=_0x3db800(0x172),_0x422ec8[_0x422ec8[_0x3db800(0x1eb)]=0x3a9c]=_0x3db800(0x1eb),_0x422ec8[_0x422ec8[_0x3db800(0xe6)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x422ec8[_0x422ec8[_0x3db800(0x2a8)]=0x3a9e]=_0x3db800(0x2a8),_0x422ec8[_0x422ec8[_0x3db800(0x396)]=0x3a9f]=_0x3db800(0x396),_0x422ec8[_0x422ec8[_0x3db800(0x327)]=0x3e81]=_0x3db800(0x327),_0x422ec8[_0x422ec8[_0x3db800(0x2da)]=-0x1]=_0x3db800(0x2da),_0x422ec8))(_0xb66710||{});function _0x34b9a7(_0x47efd1){const _0x580e78=_0x3db800;var _0x42d23e,_0x4ecbb0;const _0x27e846=(_0x42d23e=_0x47efd1[_0x580e78(0x3c0)])==null?void 0x0:_0x42d23e[_0x580e78(0x329)],_0x805d6f=((_0x4ecbb0=_0x47efd1[_0x580e78(0x3c0)])==null?void 0x0:_0x4ecbb0[_0x580e78(0x12e)])||0x0;return _0x27e846===_0x26196d[_0x580e78(0x3bb)]['START_CALCULATION']&&_0x805d6f>0x0;}function _0x6800d9(_0x22c524){const _0x55e0d9=_0x3db800;return _0x22c524[_0x55e0d9(0x18c)]===_0x26196d[_0x55e0d9(0x291)][_0x55e0d9(0x3c9)];}var _0x208271=Object['getOwnPropertyDescriptor'],_0x408852=(_0x1d1394,_0x575a87,_0x14ddb4,_0x56e504)=>{for(var _0x2c302f=_0x56e504>0x1?void 0x0:_0x56e504?_0x208271(_0x575a87,_0x14ddb4):_0x575a87,_0x12a2bc=_0x1d1394['length']-0x1,_0x4b29b3;_0x12a2bc>=0x0;_0x12a2bc--)(_0x4b29b3=_0x1d1394[_0x12a2bc])&&(_0x2c302f=_0x4b29b3(_0x2c302f)||_0x2c302f);return _0x2c302f;},_0x387b6a=(_0x21acf3,_0xcc1699)=>(_0x2569b3,_0x48955c)=>_0xcc1699(_0x2569b3,_0x48955c,_0x21acf3);const _0x3a939f=_0x3db800(0x379),_0x95a99a=_0x3db800(0x1d3),_0x268bfd=_0x3db800(0x176);let _0x474fa3=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x4d2d5e,_0x402dd2,_0x30e7c8,_0x4b9b3d,_0xe222a1,_0x2cbf29,_0x38e331){const _0x4d2fb4=_0x3db800;super(),_0x11fc09(this,_0x4d2fb4(0x17f),null),_0x11fc09(this,_0x4d2fb4(0x13a),0x0),_0x11fc09(this,'_currentUsage',0x0),_0x11fc09(this,_0x4d2fb4(0x3c7),[]),_0x11fc09(this,_0x4d2fb4(0x1d2),0x0),(this[_0x4d2fb4(0x2b7)]=_0x4d2d5e,this[_0x4d2fb4(0x3a0)]=_0x402dd2,this['_configService']=_0x30e7c8,this[_0x4d2fb4(0x394)]=_0x4b9b3d,this[_0x4d2fb4(0x122)]=_0xe222a1,this['_logService']=_0x2cbf29,this['_localeService']=_0x38e331,this[_0x4d2fb4(0xdf)]());}[_0x3db800(0xdf)](){const _0x49be53=_0x3db800;this[_0x49be53(0x168)](this[_0x49be53(0x3a0)][_0x49be53(0x2b0)]((_0x49a95d,_0x2254f4)=>{const _0x26e752=_0x49be53;var _0x829b9f;if(_0x49a95d['id']!==_0x26196d[_0x26e752(0x204)]['id'])return;const _0x334320=_0x49a95d[_0x26e752(0x1bb)];if(!this[_0x26e752(0x19d)]((_0x829b9f=_0x334320[_0x26e752(0x2de)])!=null?_0x829b9f:[]))return;if(!this[_0x26e752(0x2cb)]())throw this[_0x26e752(0x277)](_0x49a95d,_0x2254f4),this[_0x26e752(0x113)](),new _0x5721e1[(_0x26e752(0x1f9))]();})),this[_0x49be53(0x168)](this['_commandService'][_0x49be53(0x10b)]((_0xfe79d5,_0x2ed63d)=>{const _0x1b6aa4=_0x49be53;if(_0xfe79d5['id']!==_0x26196d[_0x1b6aa4(0x315)]['id'])return;const _0x37dab6=_0xfe79d5[_0x1b6aa4(0x1bb)];if(_0x34b9a7(_0x37dab6)){const _0x52154c=_0x5721e1[_0x1b6aa4(0x336)]();this[_0x1b6aa4(0x3c7)]['push'](_0x52154c),this[_0x1b6aa4(0x30b)](_0x52154c);}else{if(_0x6800d9(_0x37dab6)&&this[_0x1b6aa4(0x3c7)]['length']>0x0){const _0x49a46b=this[_0x1b6aa4(0x3c7)][_0x1b6aa4(0x222)]();this[_0x1b6aa4(0x3b5)](_0x49a46b);}}}));}['dispose'](){const _0x5d0ff4=_0x3db800;super['dispose'](),this[_0x5d0ff4(0xe5)](),this['_taskIds']=[],this['_currentUsage']=0x0,this[_0x5d0ff4(0x13a)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x3db800(0x277)](_0x54e661,_0x31251f){const _0x421474=_0x3db800;for(let _0x4dfff0=0x0;_0x4dfff0<0x1e;_0x4dfff0++)try{if(await this['_getFormulaLimitStatus'](),this[_0x421474(0x2cb)]()){this['_applyCommand'](_0x54e661,_0x31251f),this[_0x421474(0x2b7)][_0x421474(0x2b1)]({'content':this[_0x421474(0x1fb)]['t'](_0x421474(0x307)),'type':_0x31d403[_0x421474(0x3ca)][_0x421474(0x245)]});return;}await new Promise(_0x20e8d5=>{const _0x8cfb31=_0x421474;this[_0x8cfb31(0x17f)]=window[_0x8cfb31(0x10f)](_0x20e8d5,0x3e8);});}catch(_0x424d3f){this[_0x421474(0x3b1)][_0x421474(0x3ce)](_0x424d3f);}this[_0x421474(0x2b7)][_0x421474(0x2b1)]({'content':this['_localeService']['t'](_0x421474(0x12a)),'type':_0x31d403[_0x421474(0x3ca)][_0x421474(0x131)]});}[_0x3db800(0x360)](_0x310c92,_0x7bb10a){const _0x288f2b=_0x3db800;try{this[_0x288f2b(0x3a0)]['executeCommand'](_0x310c92['id'],_0x310c92[_0x288f2b(0x1bb)],_0x7bb10a);}catch(_0x54e018){this[_0x288f2b(0x3b1)][_0x288f2b(0x3ce)](_0x54e018);}}[_0x3db800(0x1fc)](_0x1e7132,_0x1399af){const _0x1c6ef4=_0x3db800;_0x1399af<this[_0x1c6ef4(0x1d2)]||(this['_lastResponseTimestamp']=_0x1399af,this['_maxFormulaLimit']=Number[_0x1c6ef4(0x145)](_0x1e7132[_0x1c6ef4(0x1c1)]),this[_0x1c6ef4(0x2a0)]=Number[_0x1c6ef4(0x145)](_0x1e7132[_0x1c6ef4(0x333)]));}async[_0x3db800(0x30b)](_0x56f928){const _0x1cd39b=_0x3db800;var _0x4452e1,_0x52c50a;const _0x161d2b=Date[_0x1cd39b(0x18d)]();try{const _0x31436d=((_0x4452e1=this[_0x1cd39b(0x2b3)][_0x1cd39b(0x1f6)](_0x115633[_0x1cd39b(0x351)]))==null?void 0x0:_0x4452e1[_0x1cd39b(0x1fa)])||_0x95a99a,_0x143e4d=(await this['_httpService']['post'](_0x31436d,{'body':JSON[_0x1cd39b(0x2c2)]({'taskId':_0x56f928})}))['body'];if(((_0x52c50a=_0x143e4d[_0x1cd39b(0x3ce)])==null?void 0x0:_0x52c50a[_0x1cd39b(0x306)])!==_0xb66710['OK'])return;this[_0x1cd39b(0x1fc)](_0x143e4d[_0x1cd39b(0x174)],_0x161d2b);}catch(_0x449258){this[_0x1cd39b(0x3b1)][_0x1cd39b(0x3ce)](_0x449258);}}async[_0x3db800(0x1a8)](_0x347348){const _0x967097=_0x3db800;var _0x1483a0,_0x57205d;const _0x1c619f=Date[_0x967097(0x18d)]();try{const _0x3db7a8=((_0x1483a0=this[_0x967097(0x2b3)]['getConfig'](_0x115633[_0x967097(0x351)]))==null?void 0x0:_0x1483a0[_0x967097(0x19e)])||_0x3a939f,_0x3e2a2a=_0x347348?_0x3db7a8+'?taskId='+encodeURIComponent(_0x347348):_0x3db7a8,_0xde02a5=(await this[_0x967097(0x394)][_0x967097(0x31c)](_0x3e2a2a))[_0x967097(0x14e)];if(((_0x57205d=_0xde02a5[_0x967097(0x3ce)])==null?void 0x0:_0x57205d[_0x967097(0x306)])!==_0xb66710['OK'])return;this[_0x967097(0x1fc)](_0xde02a5['limitInfo'],_0x1c619f);}catch(_0x20cd7d){this[_0x967097(0x3b1)][_0x967097(0x3ce)](_0x20cd7d);}}async[_0x3db800(0x3b5)](_0xfb1547){const _0x3498bc=_0x3db800;var _0x56e93e,_0x3dff1c;const _0x529102=Date[_0x3498bc(0x18d)]();try{const _0x5c700c=((_0x56e93e=this[_0x3498bc(0x2b3)][_0x3498bc(0x1f6)](_0x115633[_0x3498bc(0x351)]))==null?void 0x0:_0x56e93e['releaseFormulaLimitUrl'])||_0x268bfd,_0x29b517=(await this[_0x3498bc(0x394)]['post'](_0x5c700c,{'body':JSON[_0x3498bc(0x2c2)]({'taskId':_0xfb1547})}))[_0x3498bc(0x14e)];if(((_0x3dff1c=_0x29b517[_0x3498bc(0x3ce)])==null?void 0x0:_0x3dff1c['code'])!==_0xb66710['OK'])return;this[_0x3498bc(0x1fc)](_0x29b517['limitInfo'],_0x529102);}catch(_0x34368a){this[_0x3498bc(0x3b1)]['error'](_0x34368a);}}[_0x3db800(0x2cb)](){const _0x583711=_0x3db800;return this[_0x583711(0x13a)]===0x0?!0x0:this['_maxFormulaLimit']-this['_currentUsage']>0x0;}['_clearPolling'](){const _0xe5d54f=_0x3db800;this[_0xe5d54f(0x17f)]&&(clearTimeout(this['_pollingInterval']),this[_0xe5d54f(0x17f)]=null);}[_0x3db800(0x113)](){const _0x1e4dea=_0x3db800;this[_0x1e4dea(0x2b7)]['show']({'content':this[_0x1e4dea(0x1fb)]['t']('formula.calculation.waiting'),'type':_0x31d403[_0x1e4dea(0x3ca)][_0x1e4dea(0xe1)]});}[_0x3db800(0x19d)](_0x14cfeb){const _0x5c19b8=_0x3db800;for(const _0x359290 of _0x14cfeb){const {unitId:_0x105acf,sheetId:_0x5d098b,range:_0x506216}=_0x359290,_0x3072b1=this[_0x5c19b8(0x122)][_0x5c19b8(0xe4)](_0x105acf);if(!_0x3072b1)continue;const _0x72aa3c=_0x3072b1['getSheetBySheetId'](_0x5d098b);if(!_0x72aa3c)continue;const _0x5e3426=_0x72aa3c['getCellMatrix']();for(let _0x48cb31=_0x506216[_0x5c19b8(0x32e)];_0x48cb31<=_0x506216[_0x5c19b8(0x37a)];_0x48cb31++)for(let _0x318aa3=_0x506216[_0x5c19b8(0x30a)];_0x318aa3<=_0x506216[_0x5c19b8(0xd8)];_0x318aa3++){const _0x190b07=_0x5e3426[_0x5c19b8(0x2f2)](_0x48cb31,_0x318aa3);if(_0x190b07&&(_0x5721e1[_0x5c19b8(0xf2)](_0x190b07['f'])||_0x5721e1[_0x5c19b8(0x3ba)](_0x190b07['si'])))return!0x0;}}return!0x1;}};_0x474fa3=_0x408852([_0x387b6a(0x0,_0x5721e1[_0x3db800(0x181)](_0xa1d841[_0x3db800(0x355)])),_0x387b6a(0x1,_0x5721e1[_0x3db800(0x2e2)]),_0x387b6a(0x2,_0x5721e1['IConfigService']),_0x387b6a(0x3,_0x5721e1[_0x3db800(0x181)](_0x45e398[_0x3db800(0x254)])),_0x387b6a(0x4,_0x5721e1[_0x3db800(0x24f)]),_0x387b6a(0x5,_0x5721e1[_0x3db800(0x154)]),_0x387b6a(0x6,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x324)]))],_0x474fa3);var _0x57f33c=Object[_0x3db800(0x2db)],_0x26c888=(_0x635945,_0x97aa1a,_0x17bf7a,_0x4fd7e1)=>{const _0x3f8654=_0x3db800;for(var _0x488590=_0x4fd7e1>0x1?void 0x0:_0x4fd7e1?_0x57f33c(_0x97aa1a,_0x17bf7a):_0x97aa1a,_0xba986a=_0x635945[_0x3f8654(0x165)]-0x1,_0x3bfc67;_0xba986a>=0x0;_0xba986a--)(_0x3bfc67=_0x635945[_0xba986a])&&(_0x488590=_0x3bfc67(_0x488590)||_0x488590);return _0x488590;},_0x3bad10=(_0x2f0dcf,_0x1d0373)=>(_0x443e7c,_0x23e7e4)=>_0x1d0373(_0x443e7c,_0x23e7e4,_0x2f0dcf);let _0x87e2af=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x211a7f,_0x1f113e,_0x2b3218){const _0x9e7c9e=_0x3db800;super(),_0x11fc09(this,'_cachedData',new Map()),_0x11fc09(this,_0x9e7c9e(0x284),new Map()),_0x11fc09(this,'_disabled',!0x1),(this['_configService']=_0x211a7f,this[_0x9e7c9e(0x1c3)]=_0x1f113e,this['_revisionService']=_0x2b3218);}[_0x3db800(0x17e)](){const _0x2446c6=_0x3db800;this[_0x2446c6(0x397)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x3db800(0x2c0)](){return this['_saveTaskMap'];}['dispose'](){const _0x3e8ee9=_0x3db800;this[_0x3e8ee9(0x3cb)]()[_0x3e8ee9(0x1d6)](()=>super[_0x3e8ee9(0x37d)]());}async[_0x3db800(0x1be)](_0x114387){const _0x30f9ed=_0x3db800;return this['_disabled']?null:this['_localStorageService'][_0x30f9ed(0x2ff)](_0x115633['getLocalCacheKey'](_0x114387));}async[_0x3db800(0x286)](_0x6b7b04,_0x4062fa){const _0x225fa4=_0x3db800;return!!this[_0x225fa4(0x1c3)][_0x225fa4(0x335)](_0x6b7b04,_0x4062fa);}[_0x3db800(0x2f7)](_0x3fcc15,_0x14022d,_0x11389f,_0x565761){const _0x518366=_0x3db800,_0x14efd5=this[_0x518366(0x25c)][_0x518366(0x177)](_0x3fcc15);this[_0x518366(0x1a0)][_0x518366(0x10c)](_0x3fcc15,{'unitID':_0x3fcc15,'type':_0x14022d,'awaitingChangeset':_0x11389f,'mutations':_0x565761,'rev':_0x14efd5}),this[_0x518366(0x284)][_0x518366(0x101)](_0x3fcc15)||this[_0x518366(0x3bd)](_0x3fcc15);}[_0x3db800(0x3bd)](_0xa701a){const _0x47d102=_0x3db800,_0x169dc9=this['_getSaveTimeout']();_0x169dc9===0x0?this[_0x47d102(0x253)](_0xa701a):this[_0x47d102(0x284)][_0x47d102(0x10c)](_0xa701a,setTimeout(()=>this['_saveCache'](_0xa701a),_0x169dc9));}[_0x3db800(0x175)](){const _0x5e5efe=_0x3db800;var _0x2fba4e;return(_0x2fba4e=this['_configService'][_0x5e5efe(0x1f6)](_0x115633[_0x5e5efe(0x350)]))!=null?_0x2fba4e:_0x115633[_0x5e5efe(0x1c0)];}[_0x3db800(0x253)](_0x3080a3){const _0x39496b=_0x3db800,_0x670ebe=this[_0x39496b(0x284)][_0x39496b(0x31c)](_0x3080a3);return _0x670ebe!==void 0x0&&window[_0x39496b(0x16c)](_0x670ebe),this[_0x39496b(0x1c3)]['setItem'](_0x115633[_0x39496b(0x361)](_0x3080a3),this[_0x39496b(0x1a0)]['get'](_0x3080a3))['then'](()=>this[_0x39496b(0x284)][_0x39496b(0xd6)](_0x3080a3));}async[_0x3db800(0x3cb)](){const _0x5bb2f7=_0x3db800,_0xd8ee99=[];this[_0x5bb2f7(0x284)]['forEach']((_0x5051a7,_0x29ca62)=>{const _0xa2ec32=_0x5bb2f7;window[_0xa2ec32(0x16c)](_0x5051a7),_0xd8ee99[_0xa2ec32(0x126)](this[_0xa2ec32(0x253)](_0x29ca62)[_0xa2ec32(0x1d6)](()=>{const _0x21870f=_0xa2ec32;this[_0x21870f(0x284)][_0x21870f(0xd6)](_0x29ca62);}));}),await Promise['all'](_0xd8ee99);}};_0x87e2af=_0x26c888([_0x3bad10(0x0,_0x5721e1[_0x3db800(0x1aa)]),_0x3bad10(0x1,_0x5721e1[_0x3db800(0xfe)]),_0x3bad10(0x2,_0x5721e1['Inject'](_0x195720[_0x3db800(0x188)]))],_0x87e2af);class _0x752a44 extends _0x5721e1['RxDisposable']{constructor(){const _0x26b41e=_0x3db800;super(),_0x11fc09(this,'urlChange$'),this['urlChange$']=_0x3c46fe[_0x26b41e(0x2d6)](window,_0x26b41e(0x14c))[_0x26b41e(0x138)](_0x3c46fe[_0x26b41e(0x3cd)](this['dispose$']),_0x3c46fe[_0x26b41e(0x3a4)](0x1),_0x3c46fe[_0x26b41e(0xf6)](void 0x0));}[_0x3db800(0x2b5)](_0x322df6,_0x41b940,_0x3552d3=!0x1){const _0x29c812=_0x3db800,_0x202c9e=new URL(window[_0x29c812(0x13f)][_0x29c812(0x1c6)]);_0x202c9e[_0x29c812(0x1f7)][_0x29c812(0x10c)](_0x322df6,_0x41b940),_0x3552d3?window[_0x29c812(0x186)][_0x29c812(0x169)]('','',_0x202c9e['toString']()):window[_0x29c812(0x186)][_0x29c812(0x252)]('','',_0x202c9e[_0x29c812(0x281)]());}[_0x3db800(0x1bf)](_0x4df193,_0x587108=!0x1){const _0xbfab82=_0x3db800,_0x4d7e2d=new URL(window[_0xbfab82(0x13f)][_0xbfab82(0x1c6)]);_0x4d7e2d['searchParams'][_0xbfab82(0xd6)](_0x4df193),_0x587108?window[_0xbfab82(0x186)][_0xbfab82(0x169)]('','',_0x4d7e2d['toString']()):window[_0xbfab82(0x186)][_0xbfab82(0x252)]('','',_0x4d7e2d['toString']());}[_0x3db800(0x2aa)](_0x148fda){const _0x117df1=_0x3db800;var _0x4eb045;return(_0x4eb045=new URL(window[_0x117df1(0x13f)][_0x117df1(0x1c6)])[_0x117df1(0x1f7)][_0x117df1(0x31c)](_0x148fda))!=null?_0x4eb045:void 0x0;}}var _0x21fc30=Object[_0x3db800(0x296)],_0x29440e=Object[_0x3db800(0x2db)],_0x4cebd7=(_0x4277fe,_0xc7399d,_0x4d7161)=>_0xc7399d in _0x4277fe?_0x21fc30(_0x4277fe,_0xc7399d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d7161}):_0x4277fe[_0xc7399d]=_0x4d7161,_0x3d7ba0=(_0x24fced,_0x57a530,_0x23f789,_0x2caaf0)=>{const _0x2ea1de=_0x3db800;for(var _0x5e2759=_0x2caaf0>0x1?void 0x0:_0x2caaf0?_0x29440e(_0x57a530,_0x23f789):_0x57a530,_0x4cf22a=_0x24fced[_0x2ea1de(0x165)]-0x1,_0x5ec81b;_0x4cf22a>=0x0;_0x4cf22a--)(_0x5ec81b=_0x24fced[_0x4cf22a])&&(_0x5e2759=_0x5ec81b(_0x5e2759)||_0x5e2759);return _0x5e2759;},_0x46567e=(_0x5c9d5e,_0x2bc009)=>(_0x3408d9,_0x49e675)=>_0x2bc009(_0x3408d9,_0x49e675,_0x5c9d5e),_0x5353ff=(_0x5d2567,_0x304cda,_0xe1863c)=>_0x4cebd7(_0x5d2567,_0x304cda+'',_0xe1863c);const _0x168152=_0x3db800(0x2a7);_0x42b8f3[_0x3db800(0x156)]=class extends _0x5721e1[_0x3db800(0x2e4)]{constructor(_0x39a2be=_0x3b0f99,_0x2ed978,_0xdff2bf,_0x31dd19){const _0x1424db=_0x3db800;super(),this[_0x1424db(0x330)]=_0x39a2be,this[_0x1424db(0x125)]=_0x2ed978,this[_0x1424db(0xed)]=_0xdff2bf,this['_configService']=_0x31dd19;const {..._0x4074de}=_0x5721e1[_0x1424db(0x18e)]({},_0x3b0f99,this[_0x1424db(0x330)]);this[_0x1424db(0x2b3)]['setConfig'](_0x214486,_0x4074de);}[_0x3db800(0x1e0)](){const _0x3f0d13=_0x3db800;this[_0x3f0d13(0x179)](),this[_0x3f0d13(0x372)]();}['onRendered'](){const _0x1f8bd3=_0x3db800;this[_0x1f8bd3(0x192)]();}[_0x3db800(0x179)](){const _0xadb298=_0x3db800;var _0x2545c6;const _0x5484eb=[[_0x2ab1f4],[_0x474fa3],[_0x129f97],[_0x28b209],[_0x13e633],[_0x41a578],[_0x4a64fb,{'useClass':_0x752a44}],[_0x45e398[_0xadb298(0x1c5)],{'useClass':_0x45e398[_0xadb298(0x13e)]}],[_0x115633[_0xadb298(0x1ac)],{'useClass':_0x87e2af}],[_0x42b8f3[_0xadb298(0x255)]],[_0xc6cb38],[_0xa84181],[_0x192c77],[_0x3ae7cf],[_0x42b8f3[_0xadb298(0x362)]]];this[_0xadb298(0x330)][_0xadb298(0x320)]&&_0x5484eb[_0xadb298(0x126)]([_0x2c4f22]),_0x5721e1[_0xadb298(0x213)](this[_0xadb298(0xed)],_0x5721e1['mergeOverrideWithDependencies'](_0x5484eb,(_0x2545c6=this[_0xadb298(0x330)])==null?void 0x0:_0x2545c6[_0xadb298(0x363)]));}[_0x3db800(0x192)](){const _0x5535a8=_0x3db800;this['disposeWithMe'](this[_0x5535a8(0x125)]['registerRenderModule'](_0x5721e1['UniverInstanceType'][_0x5535a8(0x1e1)],[_0x1be4c4])),this[_0x5535a8(0x168)](this['_renderManagerService'][_0x5535a8(0x2b9)](_0x5721e1[_0x5535a8(0x1a7)][_0x5535a8(0x1a3)],[_0x3eec6b]));}[_0x3db800(0x372)](){const _0x2f5bc5=_0x3db800;_0x5721e1['touchDependencies'](this['_injector'],[[_0x192c77],[_0x42b8f3[_0x2f5bc5(0x255)]],[_0xc6cb38],[_0xa84181],[_0x42b8f3[_0x2f5bc5(0x362)]],[_0x474fa3]]),this[_0x2f5bc5(0x330)]['enableFrontendLog']&&_0x5721e1['touchDependencies'](this['_injector'],[[_0x2c4f22]]);}},_0x5353ff(_0x42b8f3[_0x3db800(0x156)],_0x3db800(0x2fb),_0x168152),_0x42b8f3['UniverCollaborationClientUIPlugin']=_0x3d7ba0([_0x5721e1[_0x3db800(0x13d)](_0x115633['UniverCollaborationClientPlugin']),_0x46567e(0x1,_0x585793[_0x3db800(0xd1)]),_0x46567e(0x2,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x46567e(0x3,_0x5721e1[_0x3db800(0x1aa)])],_0x42b8f3[_0x3db800(0x156)]);var _0x4d4599=Object[_0x3db800(0x2db)],_0x4800b8=(_0x5043ce,_0x11bc3d,_0x24223a,_0x107ac1)=>{const _0x4bd6dc=_0x3db800;for(var _0x265a70=_0x107ac1>0x1?void 0x0:_0x107ac1?_0x4d4599(_0x11bc3d,_0x24223a):_0x11bc3d,_0x1e47fa=_0x5043ce[_0x4bd6dc(0x165)]-0x1,_0x33aafa;_0x1e47fa>=0x0;_0x1e47fa--)(_0x33aafa=_0x5043ce[_0x1e47fa])&&(_0x265a70=_0x33aafa(_0x265a70)||_0x265a70);return _0x265a70;},_0x1bda34=(_0xa7db08,_0x4001b9)=>(_0x3bdc88,_0x5186d4)=>_0x4001b9(_0x3bdc88,_0x5186d4,_0xa7db08);_0x42b8f3[_0x3db800(0x1b2)]=class extends _0x115633[_0x3db800(0x158)]{constructor(_0x46afd1,_0x30d545,_0x1eed2a,_0x420e32,_0x1c1d97){super(_0x46afd1,_0x30d545,_0x1eed2a,_0x420e32,_0x1c1d97);}async['createSocket'](_0x550457){const _0x56f029=_0x3db800,_0x4c3599=await this[_0x56f029(0x2c3)](),_0xa216a=this[_0x56f029(0xde)](_0x550457,_0x4c3599);return this['_doCreateSocket'](_0xa216a);}[_0x3db800(0xde)](_0x4fa260,_0x285c5a){const _0x981df0=_0x3db800,_0x2abf30=typeof window>'u'?new URL(_0x4fa260):new URL(_0x4fa260,window[_0x981df0(0x13f)][_0x981df0(0x20f)]);_0x2abf30[_0x981df0(0x1f7)][_0x981df0(0x10c)](_0x981df0(0x11d),_0x285c5a);const _0x1a7791=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x981df0(0x13f)][_0x981df0(0x37c)]);return _0x1a7791['get'](_0x981df0(0x2ed))&&_0x2abf30['searchParams'][_0x981df0(0x10c)](_0x981df0(0x2ed),_0x1a7791[_0x981df0(0x31c)]('runId')),_0x2abf30[_0x981df0(0x281)]();}async[_0x3db800(0x2c3)](){const _0xccf088=_0x3db800;var _0x4ff492,_0x50c6d8,_0x41e349;const _0x20f849=this[_0xccf088(0x2b3)][_0xccf088(0x1f6)](_0x115633[_0xccf088(0x351)]),_0x4f22ea=(_0x4ff492=_0x20f849==null?void 0x0:_0x20f849[_0xccf088(0x289)])!=null?_0x4ff492:_0x115633['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x41e349=(_0x50c6d8=(await this[_0xccf088(0x394)][_0xccf088(0x31c)](_0x4f22ea,{'headers':{'Content-Type':_0xccf088(0x275)}}))[_0xccf088(0x14e)])==null?void 0x0:_0x50c6d8[_0xccf088(0x373)])!=null?_0x41e349:'';}},_0x42b8f3[_0x3db800(0x1b2)]=_0x4800b8([_0x1bda34(0x0,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x1bda34(0x1,_0x5721e1[_0x3db800(0x181)](_0x45e398[_0x3db800(0x254)])),_0x1bda34(0x2,_0x5721e1[_0x3db800(0x1aa)]),_0x1bda34(0x3,_0x5721e1['ILogService']),_0x1bda34(0x4,_0x195720[_0x3db800(0x2cf)])],_0x42b8f3['BrowserCollaborationSocketService']);var _0x1bc577=Object[_0x3db800(0x2db)],_0x27f349=(_0x3e8c03,_0x4f1788,_0x3e2be8,_0x5126c5)=>{const _0x241944=_0x3db800;for(var _0x52cdb8=_0x5126c5>0x1?void 0x0:_0x5126c5?_0x1bc577(_0x4f1788,_0x3e2be8):_0x4f1788,_0x19685c=_0x3e8c03[_0x241944(0x165)]-0x1,_0x29200b;_0x19685c>=0x0;_0x19685c--)(_0x29200b=_0x3e8c03[_0x19685c])&&(_0x52cdb8=_0x29200b(_0x52cdb8)||_0x52cdb8);return _0x52cdb8;},_0x2d77c4=(_0x3434d4,_0x1ac160)=>(_0x329f5f,_0x16b571)=>_0x1ac160(_0x329f5f,_0x16b571,_0x3434d4);_0x42b8f3[_0x3db800(0x226)]=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x5ea8be,_0x3fbf1a,_0x49c70e){const _0x75ec3d=_0x3db800;super(),this[_0x75ec3d(0x136)]=_0x5ea8be,this[_0x75ec3d(0x394)]=_0x3fbf1a,this[_0x75ec3d(0x2b3)]=_0x49c70e;}async[_0x3db800(0x1b4)](_0x5aed12,_0x149f0f,_0x5531c2,..._0x3faf1b){const _0x49f31f=_0x3db800;var _0x381560,_0x4e6c43,_0x1eaaf3,_0x35d0ff;const _0x4d2e75=this['_instanceService'][_0x49f31f(0x36b)]();if(!_0x4d2e75)throw new Error(_0x49f31f(0x348));const _0x4993d2=((_0x381560=this[_0x49f31f(0x2b3)]['getConfig'](_0x115633[_0x49f31f(0x118)]))!=null?_0x381560:_0x115633['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5aed12+_0x49f31f(0x1f0)+_0x149f0f,_0x298a63=new URL(window['location'][_0x49f31f(0x1c6)]),_0x15c116={'scriptId':_0x5aed12,'runId':(_0x4e6c43=_0x298a63[_0x49f31f(0x1f7)]['get'](_0x49f31f(0x2ed)))!=null?_0x4e6c43:'','function':_0x149f0f,'unitId':_0x4d2e75['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x3faf1b),'invokeId':(_0x1eaaf3=_0x5531c2[_0x49f31f(0x377)])!=null?_0x1eaaf3:'','executionId':(_0x35d0ff=_0x5531c2[_0x49f31f(0x1e6)])!=null?_0x35d0ff:''};try{const _0x5c459f=await this['_httpService'][_0x49f31f(0x3c4)](_0x4993d2,{'body':_0x15c116});return _0x5c459f['body'][_0x49f31f(0x3ce)]&&_0x5c459f['body'][_0x49f31f(0x3ce)][_0x49f31f(0x306)]!==_0xb66710['OK']?_0x49f31f(0x321):_0x5c459f[_0x49f31f(0x14e)][_0x49f31f(0x352)];}catch{return _0x49f31f(0x321);}}},_0x42b8f3[_0x3db800(0x226)]=_0x27f349([_0x2d77c4(0x0,_0x5721e1[_0x3db800(0x24f)]),_0x2d77c4(0x1,_0x5721e1[_0x3db800(0x181)](_0x45e398[_0x3db800(0x254)])),_0x2d77c4(0x2,_0x5721e1['IConfigService'])],_0x42b8f3[_0x3db800(0x226)]);const _0x4ff4cd=0x7530,_0x3e9c9c=_0x3db800(0x116);class _0x5994ca extends _0x5721e1[_0x3db800(0x27b)]{constructor(){const _0x1f5e52=_0x3db800;super(),_0x11fc09(this,'_id',_0x5721e1[_0x1f5e52(0x336)]()),_0x11fc09(this,_0x1f5e52(0x15d),new Set()),_0x11fc09(this,_0x1f5e52(0x36a),new Map()),_0x11fc09(this,_0x1f5e52(0xd7),null),_0x11fc09(this,'_clearOtherTimers',new Map()),_0x11fc09(this,_0x1f5e52(0x214),new Map()),this[_0x1f5e52(0x2e1)]();}[_0x3db800(0x37d)](){const _0x203955=_0x3db800;super[_0x203955(0x37d)](),this[_0x203955(0xd4)]['forEach']((_0x3ea94b,_0x42d77c)=>this['_removeClearOtherTimer'](_0x42d77c)),this[_0x203955(0xd7)]&&window[_0x203955(0x257)](this[_0x203955(0xd7)]);}['getUnitStatus$'](_0x2cbd1a){const _0x108ea0=_0x3db800;return this['_ensureSubject'](_0x2cbd1a)[_0x108ea0(0x138)](_0x3c46fe[_0x108ea0(0x105)]());}[_0x3db800(0x3a8)](_0x3f3574){const _0x238c0c=_0x3db800;this[_0x238c0c(0x15d)][_0x238c0c(0x392)]===0x0&&this[_0x238c0c(0x16b)](),this[_0x238c0c(0x15d)][_0x238c0c(0x1dd)](_0x3f3574),this[_0x238c0c(0x207)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x3f3574],'isForwarded':!0x1});}[_0x3db800(0x2d7)](_0x5ce691){const _0x3d47a8=_0x3db800;this[_0x3d47a8(0x15d)]['delete'](_0x5ce691),this[_0x3d47a8(0x15d)][_0x3d47a8(0x392)]===0x0&&this[_0x3d47a8(0xd7)]&&window[_0x3d47a8(0x257)](this[_0x3d47a8(0xd7)]);}[_0x3db800(0x2e1)](){const _0x56e54b=_0x3db800;this[_0x56e54b(0x168)](_0x5721e1['toDisposable'](_0x3c46fe[_0x56e54b(0x2d6)](window,_0x56e54b(0x381))[_0x56e54b(0x2ce)](_0x18e33f=>{const _0x2a134f=_0x56e54b;if(_0x18e33f[_0x2a134f(0x2f9)]!==_0x3e9c9c||!_0x18e33f[_0x2a134f(0x325)])return;const _0x3e08cc=JSON[_0x2a134f(0x305)](_0x18e33f[_0x2a134f(0x325)]);this[_0x2a134f(0x163)](_0x3e08cc);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x56e54b(0x185)],'unitIDs':Array[_0x56e54b(0x2e8)](this[_0x56e54b(0x15d)])}));}['_handleEvent'](_0x50cfa7){const _0x55469c=_0x3db800;switch(_0x50cfa7['type']){case 0x0:this[_0x55469c(0x318)](_0x50cfa7);break;case 0x1:this[_0x55469c(0x270)](_0x50cfa7);break;case 0x2:this[_0x55469c(0x33b)](_0x50cfa7);break;}}['_handleJoinEvent'](_0x11006c){const _0x3df2c1=_0x3db800,{unitIDs:_0x4c2d20,memberID:_0x470f15,isForwarded:_0x5b4891}=_0x11006c;_0x4c2d20[_0x3df2c1(0x331)](_0x4afb5d=>{const _0x5e2624=_0x3df2c1;if(!_0x5b4891&&this[_0x5e2624(0x36a)][_0x5e2624(0x101)](_0x4afb5d)&&this[_0x5e2624(0x345)](_0x4afb5d)['next'](_0x115633[_0x5e2624(0x2b6)][_0x5e2624(0x1ba)]),!this[_0x5e2624(0x36a)][_0x5e2624(0x101)](_0x4afb5d)||!this['_unitOnClients'][_0x5e2624(0x31c)](_0x4afb5d)[_0x5e2624(0x101)](_0x470f15)){const _0x1b71a8=this[_0x5e2624(0x36a)][_0x5e2624(0x31c)](_0x4afb5d)||new Set();_0x1b71a8[_0x5e2624(0x1dd)](_0x470f15),this[_0x5e2624(0x36a)]['set'](_0x4afb5d,_0x1b71a8),this[_0x5e2624(0x24b)](_0x470f15);}}),_0x5b4891||this['_send']({'type':0x0,'memberID':this[_0x3df2c1(0x185)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x3db800(0x24b)](_0x68dae5){const _0x40d8ca=_0x3db800;this[_0x40d8ca(0x119)](_0x68dae5);const _0x3112c3=window[_0x40d8ca(0x10f)](()=>{const _0x1f180a=_0x40d8ca;this[_0x1f180a(0x36a)][_0x1f180a(0x331)](_0x1eb257=>{_0x1eb257['delete'](_0x68dae5);});},_0x4ff4cd*0x2);this[_0x40d8ca(0xd4)]['set'](_0x68dae5,_0x3112c3);}[_0x3db800(0x119)](_0x4f8459){const _0x4bf9e1=_0x3db800;if(this['_clearOtherTimers']['has'](_0x4f8459)){const _0x37595d=this['_clearOtherTimers'][_0x4bf9e1(0x31c)](_0x4f8459);_0x37595d&&window['clearTimeout'](_0x37595d),this[_0x4bf9e1(0xd4)][_0x4bf9e1(0x10c)](_0x4f8459,null);}}[_0x3db800(0x270)](_0x4a4d05){const _0xb09a31=_0x3db800,{memberID:_0x2dd141,unitIDs:_0x4aad77}=_0x4a4d05;_0x4aad77[_0xb09a31(0x331)](_0x290f57=>{const _0x6073ca=_0xb09a31;var _0x44be9a;const _0x53dfe9=this[_0x6073ca(0x36a)][_0x6073ca(0x31c)](_0x290f57);_0x53dfe9&&(_0x53dfe9[_0x6073ca(0xd6)](_0x2dd141),(_0x44be9a=this[_0x6073ca(0x345)](_0x290f57))==null||_0x44be9a[_0x6073ca(0x1fe)](_0x53dfe9[_0x6073ca(0x392)]===0x0?_0x115633[_0x6073ca(0x2b6)][_0x6073ca(0x1f4)]:_0x115633['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0xb09a31(0x119)](_0x2dd141);}[_0x3db800(0x33b)](_0x5c84c6){const _0x59ca80=_0x3db800;this[_0x59ca80(0x24b)](_0x5c84c6[_0x59ca80(0x34a)]);}[_0x3db800(0x207)](_0x1904b2){const _0x1a5b73=_0x3db800;localStorage[_0x1a5b73(0x335)](_0x3e9c9c,JSON[_0x1a5b73(0x2c2)](_0x1904b2));}[_0x3db800(0x16b)](){const _0xff547f=_0x3db800;this['_heartbeatTimer']=window[_0xff547f(0x189)](()=>{const _0x85ed16=_0xff547f;this[_0x85ed16(0x207)]({'type':0x2,'memberID':this['_id']});},_0x4ff4cd);}[_0x3db800(0x345)](_0x58a17a){const _0x4b469f=_0x3db800;return this[_0x4b469f(0x214)][_0x4b469f(0x101)](_0x58a17a)||this[_0x4b469f(0x214)][_0x4b469f(0x10c)](_0x58a17a,new _0x3c46fe[(_0x4b469f(0x346))](_0x115633[_0x4b469f(0x2b6)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x4b469f(0x214)][_0x4b469f(0x31c)](_0x58a17a);}}_0x42b8f3[_0x3db800(0x180)]=_0x4a64fb,_0x42b8f3[_0x3db800(0x170)]=_0x3d98fb,_0x42b8f3['WebBrowserSingleActiveUnitService']=_0x5994ca,_0x42b8f3[_0x3db800(0xf5)]=_0x752a44,Object[_0x3db800(0x296)](_0x42b8f3,Symbol[_0x3db800(0x25b)],{'value':_0x3db800(0x1ec)});}));
9
9
 
10
10
  // @univerjs-pro/collaboration-client-ui/facade
11
- (function(_0x46e853,_0x586dbd){var _0x287d64=_0x409b,_0x4c2a61=_0x46e853();while(!![]){try{var _0x5c048e=-parseInt(_0x287d64(0x18d))/0x1*(-parseInt(_0x287d64(0x181))/0x2)+-parseInt(_0x287d64(0x185))/0x3*(-parseInt(_0x287d64(0x186))/0x4)+parseInt(_0x287d64(0x184))/0x5+parseInt(_0x287d64(0x17e))/0x6+parseInt(_0x287d64(0x18c))/0x7+-parseInt(_0x287d64(0x188))/0x8+parseInt(_0x287d64(0x18b))/0x9*(-parseInt(_0x287d64(0x183))/0xa);if(_0x5c048e===_0x586dbd)break;else _0x4c2a61['push'](_0x4c2a61['shift']());}catch(_0x5b2e04){_0x4c2a61['push'](_0x4c2a61['shift']());}}}(_0x1c07,0x681ef),function(_0x23c4ad,_0x2a5194){var _0x48477f=_0x409b;typeof exports==_0x48477f(0x180)&&typeof module<'u'?_0x2a5194(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x48477f(0x189)&&define['amd']?define([_0x48477f(0x187),'@univerjs/core/facade'],_0x2a5194):(_0x23c4ad=typeof globalThis<'u'?globalThis:_0x23c4ad||self,_0x2a5194(_0x23c4ad['UniverProCollaborationClientUi'],_0x23c4ad['UniverCoreFacade']));}(this,function(_0x136945,_0x227c50){'use strict';var _0x35e28a=_0x409b;class _0x1dca11 extends _0x227c50[_0x35e28a(0x18e)]{[_0x35e28a(0x17c)](_0x35b2bf,_0x399698,..._0x36e4b7){var _0x1325f6=_0x35e28a;return this[_0x1325f6(0x17f)][_0x1325f6(0x17d)](_0x136945[_0x1325f6(0x18a)])[_0x1325f6(0x17c)](_0x35b2bf,_0x399698,{},..._0x36e4b7);}}_0x227c50[_0x35e28a(0x18e)][_0x35e28a(0x182)](_0x1dca11);}));function _0x409b(_0x361078,_0x329721){_0x361078=_0x361078-0x17c;var _0x1c0712=_0x1c07();var _0x409b8a=_0x1c0712[_0x361078];return _0x409b8a;}function _0x1c07(){var _0x129b70=['object','2RGCvch','extend','10MwYCpY','1127075zqXmSf','1260807MFbkbf','8bOVdPU','@univerjs-pro/collaboration-client-ui','290840XmkPzt','function','RemoteUniscriptService','16491483txLJDS','2533615WDPqPu','363844FifLgh','FUniver','runOnServer','get','3020874uVRwRL','_injector'];_0x1c07=function(){return _0x129b70;};return _0x1c07();}
11
+ (function(_0x562fe2,_0x127518){var _0x2065a1=_0xd169,_0x4d78c8=_0x562fe2();while(!![]){try{var _0xa0a7a1=-parseInt(_0x2065a1(0x180))/0x1*(-parseInt(_0x2065a1(0x183))/0x2)+parseInt(_0x2065a1(0x179))/0x3+-parseInt(_0x2065a1(0x187))/0x4+parseInt(_0x2065a1(0x184))/0x5+-parseInt(_0x2065a1(0x181))/0x6+-parseInt(_0x2065a1(0x185))/0x7*(parseInt(_0x2065a1(0x188))/0x8)+-parseInt(_0x2065a1(0x17e))/0x9*(-parseInt(_0x2065a1(0x189))/0xa);if(_0xa0a7a1===_0x127518)break;else _0x4d78c8['push'](_0x4d78c8['shift']());}catch(_0x2ca7b5){_0x4d78c8['push'](_0x4d78c8['shift']());}}}(_0x452a,0x87cd5),function(_0x3a3cf8,_0x57b397){var _0x4c0da3=_0xd169;typeof exports==_0x4c0da3(0x178)&&typeof module<'u'?_0x57b397(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x4c0da3(0x17c)&&define['amd']?define(['@univerjs-pro/collaboration-client-ui',_0x4c0da3(0x17d)],_0x57b397):(_0x3a3cf8=typeof globalThis<'u'?globalThis:_0x3a3cf8||self,_0x57b397(_0x3a3cf8[_0x4c0da3(0x177)],_0x3a3cf8[_0x4c0da3(0x17a)]));}(this,function(_0x44e229,_0xbf8cfe){'use strict';var _0x2b2bd0=_0xd169;class _0x1afb46 extends _0xbf8cfe['FUniver']{[_0x2b2bd0(0x17f)](_0x1d50bd,_0x325061,..._0x2aeae7){var _0x274951=_0x2b2bd0;return this[_0x274951(0x182)]['get'](_0x44e229[_0x274951(0x186)])[_0x274951(0x17f)](_0x1d50bd,_0x325061,{},..._0x2aeae7);}}_0xbf8cfe['FUniver'][_0x2b2bd0(0x17b)](_0x1afb46);}));function _0xd169(_0x5afbe8,_0xdff892){_0x5afbe8=_0x5afbe8-0x177;var _0x452a29=_0x452a();var _0xd16939=_0x452a29[_0x5afbe8];return _0xd16939;}function _0x452a(){var _0x34fbca=['18MpsMDd','runOnServer','1lTMFwm','2148732zrSLmG','_injector','859468LqJIxR','5533550UjBuOk','3698093AwaLlL','RemoteUniscriptService','2375096YCIJld','16sfZwTC','2431570Nztjni','UniverProCollaborationClientUi','object','1625943eUqJRT','UniverCoreFacade','extend','function','@univerjs/core/facade'];_0x452a=function(){return _0x34fbca;};return _0x452a();}
12
12
 
13
13
  // @univerjs-pro/thread-comment-datasource/index
14
- function _0x2373(_0x50b736,_0x3a5b2e){_0x50b736=_0x50b736-0x1d3;const _0x302449=_0x3024();let _0x2373d9=_0x302449[_0x50b736];return _0x2373d9;}function _0x3024(){const _0x2a2e04=['reply','@univerjs/thread-comment-ui','object','defineProperty','userId','pipe','size','_userService','ThreadCommentModel','forEach','subscribe','CollaborationSessionService','length','replyId','threadId','saveCommentToSnapshot','syncUpdateMutationToColla','CustomRangeType','replies','@univerjs/core','/list','/delete','map','setConfig','customRanges','root','find','deleteComment','comment','payload','Disposable','_threadCommentModel','stringify','COMMENT','filter','_threadCommentDataSourceService','requireSession','getOwnPropertyDescriptor','/edit','_sessionService','_threadCommentDataSource','UNIVER_UNKNOWN','_commentService','500255KvQMvS','Reply','addUser','@univerjs-pro/license','getUnit','content','607912FwCcgK','UniverLicensePlugin','dayjs','45zdANKb','@univerjs-pro/collaboration-client','user','225WCglUl','error','getCurrentUser','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','_init','rangeType','Edit','44880DqhNAh','UniverCollaborationClientPlugin','UniverThreadCommentDataSourcePlugin','_initUserSync','resolved','OpenOrReOpen','/universer-api/user/list','YYYY/MM/DD\x20HH:mm','UniverProLicense','_injector','UserManagerService','ref','@univerjs/thread-comment','UniverThreadComment','updateComment','UniverInstanceType','resolveComment','_config','disposeWithMe','Delete','users','Plugin','body','22844FhgZna','462424aTqPEV','6nofFwO','values','type','onStarting','DependentOn','IThreadCommentDataSourceService','commentUpdate$','310640twzsTq','Module','3167230uKMWyr','function','parse','UniverThreadCommentUIPlugin','rxjs','add','getUser','dataSource','addComment','Add','post','symbol','parentId','HTTPService','solved','unitId','code','get','exports','amd','pluginName','/universer-api/comment/unit/','_configService','getMemberID','UNRECOGNIZED','CommentService','_httpService','UniverProThreadCommentDatasource','slice','Inject','IConfigService','listComments','format','createTimestamp','Solve','_initDataSource','Injector','UniverCore','toStringTag','comments'];_0x3024=function(){return _0x2a2e04;};return _0x3024();}(function(_0x3d863e,_0x18d98d){const _0x47bec1=_0x2373,_0x366be7=_0x3d863e();while(!![]){try{const _0x18236a=parseInt(_0x47bec1(0x220))/0x1+-parseInt(_0x47bec1(0x238))/0x2+-parseInt(_0x47bec1(0x219))/0x3*(parseInt(_0x47bec1(0x237))/0x4)+parseInt(_0x47bec1(0x240))/0x5*(parseInt(_0x47bec1(0x239))/0x6)+parseInt(_0x47bec1(0x20d))/0x7+-parseInt(_0x47bec1(0x213))/0x8*(-parseInt(_0x47bec1(0x216))/0x9)+parseInt(_0x47bec1(0x242))/0xa;if(_0x18236a===_0x18d98d)break;else _0x366be7['push'](_0x366be7['shift']());}catch(_0x2d818a){_0x366be7['push'](_0x366be7['shift']());}}}(_0x3024,0x34a34),function(_0x25293b,_0xa6ed5d){const _0x4166e5=_0x2373;typeof exports==_0x4166e5(0x1e4)&&typeof module<'u'?_0xa6ed5d(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/thread-comment-ui'),require('@univerjs/thread-comment'),require('rxjs'),require('@univerjs/network')):typeof define==_0x4166e5(0x243)&&define[_0x4166e5(0x255)]?define([_0x4166e5(0x254),_0x4166e5(0x217),_0x4166e5(0x210),_0x4166e5(0x1f5),_0x4166e5(0x1e3),_0x4166e5(0x22c),_0x4166e5(0x246),'@univerjs/network'],_0xa6ed5d):(_0x25293b=typeof globalThis<'u'?globalThis:_0x25293b||self,_0xa6ed5d(_0x25293b[_0x4166e5(0x1d5)]={},_0x25293b['UniverProCollaborationClient'],_0x25293b[_0x4166e5(0x228)],_0x25293b[_0x4166e5(0x1df)],_0x25293b['UniverThreadCommentUi'],_0x25293b[_0x4166e5(0x22d)],_0x25293b['rxjs'],_0x25293b['UniverNetwork']));}(this,function(_0x396d53,_0x23ce89,_0x3f5f49,_0x7e2ec,_0x53347e,_0x48618d,_0x257664,_0x384937){'use strict';const _0x1f5f39=_0x2373;const _0x4c3067=_0x1f5f39(0x21c);var _0xe7f05c=(_0x4723b2=>(_0x4723b2[_0x4723b2['OpenOrReOpen']=0x0]=_0x1f5f39(0x225),_0x4723b2[_0x4723b2['Solved']=0x1]='Solved',_0x4723b2[_0x4723b2[_0x1f5f39(0x25a)]=-0x1]=_0x1f5f39(0x25a),_0x4723b2))(_0xe7f05c||{}),_0x493f24=(_0x341691=>(_0x341691[_0x341691['Unknown']=0x0]='Unknown',_0x341691[_0x341691[_0x1f5f39(0x24b)]=0x1]=_0x1f5f39(0x24b),_0x341691[_0x341691[_0x1f5f39(0x20e)]=0x2]='Reply',_0x341691[_0x341691['Edit']=0x3]=_0x1f5f39(0x21f),_0x341691[_0x341691[_0x1f5f39(0x233)]=0x4]=_0x1f5f39(0x233),_0x341691[_0x341691[_0x1f5f39(0x1dc)]=0x5]=_0x1f5f39(0x1dc),_0x341691[_0x341691[_0x1f5f39(0x25a)]=-0x1]=_0x1f5f39(0x25a),_0x341691))(_0x493f24||{});const _0x25b1db=_0x8ba333=>_0x7e2ec[_0x1f5f39(0x215)](new Date(+_0x8ba333))[_0x1f5f39(0x1da)](_0x1f5f39(0x227)),_0x426506=async(_0x1c82e9,_0x4eafc2)=>{const _0x8c660a=_0x1f5f39,_0x32205a=_0x1c82e9[_0x8c660a(0x253)](_0x7e2ec[_0x8c660a(0x22a)]),_0x394cbf=_0x1c82e9[_0x8c660a(0x253)](_0x384937[_0x8c660a(0x24f)]);_0x4eafc2[_0x8c660a(0x1eb)](_0x3c01e0=>{const _0x42ba2e=_0x8c660a;_0x32205a[_0x42ba2e(0x248)](_0x3c01e0)&&_0x4eafc2['delete'](_0x3c01e0);}),_0x4eafc2[_0x8c660a(0x1e8)]&&(await _0x394cbf[_0x8c660a(0x253)](_0x8c660a(0x226),{'params':{'userIDs':[..._0x4eafc2]}}))[_0x8c660a(0x236)][_0x8c660a(0x234)][_0x8c660a(0x1eb)](_0x4f1dde=>{_0x4f1dde&&_0x32205a['addUser'](_0x4f1dde);});};var _0x524a9a=Object['getOwnPropertyDescriptor'],_0x35bcb0=(_0x5c9ddc,_0x5d7288,_0x26a353,_0x25dab6)=>{const _0x24d4d2=_0x1f5f39;for(var _0x26b55c=_0x25dab6>0x1?void 0x0:_0x25dab6?_0x524a9a(_0x5d7288,_0x26a353):_0x5d7288,_0x1d08db=_0x5c9ddc[_0x24d4d2(0x1ee)]-0x1,_0x47a467;_0x1d08db>=0x0;_0x1d08db--)(_0x47a467=_0x5c9ddc[_0x1d08db])&&(_0x26b55c=_0x47a467(_0x26b55c)||_0x26b55c);return _0x26b55c;},_0x2fe67e=(_0x49e349,_0x265de8)=>(_0x180535,_0x55e965)=>_0x265de8(_0x180535,_0x55e965,_0x49e349);let _0x12a999=class extends _0x7e2ec[_0x1f5f39(0x200)]{constructor(_0xd622f7,_0x30149f,_0x3ae35d,_0xfa996a){const _0x58abcf=_0x1f5f39;super(),this['_commentService']=_0xd622f7,this[_0x58abcf(0x201)]=_0x30149f,this[_0x58abcf(0x1e9)]=_0x3ae35d,this[_0x58abcf(0x229)]=_0xfa996a,this[_0x58abcf(0x21d)](),this[_0x58abcf(0x223)]();}['_initUserSync'](){const _0x1eb3d7=_0x1f5f39;this[_0x1eb3d7(0x232)](this[_0x1eb3d7(0x201)][_0x1eb3d7(0x23f)][_0x1eb3d7(0x1e7)](_0x257664['bufferTime'](0x10))[_0x1eb3d7(0x1ec)](_0x439756=>{const _0xaedd3a=_0x1eb3d7,_0xc138c2=new Set();_0x439756[_0xaedd3a(0x1eb)](_0x786694=>{const _0x15f769=_0xaedd3a;switch(_0x786694[_0x15f769(0x23b)]){case _0x15f769(0x247):{const _0x1c3b53=_0x786694[_0x15f769(0x1ff)]['personId'];_0xc138c2[_0x15f769(0x247)](_0x1c3b53);break;}}}),_0x426506(this['_injector'],_0xc138c2);}));}[_0x1f5f39(0x21d)](){const _0x4ecb34=_0x1f5f39;this[_0x4ecb34(0x232)](this[_0x4ecb34(0x20c)][_0x4ecb34(0x23f)]['subscribe'](async _0x294d09=>{const _0x1c82da=_0x4ecb34;var _0x1c7aa6,_0x17d4fb,_0x48c196,_0x58ba0d;const _0x4076e6=(_0x1c7aa6=this[_0x1c82da(0x201)][_0x1c82da(0x211)](_0x294d09['unitId'])[_0x1c82da(0x1fc)](_0x3a2023=>_0x3a2023[_0x1c82da(0x1f0)]===_0x294d09['threadId']))==null?void 0x0:_0x1c7aa6[_0x1c82da(0x1fb)];if(!_0x4076e6)return;const {unitId:_0x205a2a,subUnitId:_0x37a88c}=_0x4076e6;switch(_0x294d09['user']&&this[_0x1c82da(0x1e9)]['addUser'](_0x294d09[_0x1c82da(0x218)]),_0x294d09[_0x1c82da(0x23b)]){case _0x493f24['Add']:break;case _0x493f24['Reply']:{this[_0x1c82da(0x201)]['addComment'](_0x205a2a,_0x37a88c,{'unitId':_0x205a2a,'subUnitId':_0x37a88c,'ref':'','id':_0x294d09['replyId'],'dT':_0x25b1db(+_0x294d09[_0x1c82da(0x1db)]),'threadId':_0x294d09[_0x1c82da(0x1f0)],'personId':(_0x48c196=(_0x17d4fb=_0x294d09[_0x1c82da(0x218)])==null?void 0x0:_0x17d4fb['userID'])!=null?_0x48c196:_0x294d09[_0x1c82da(0x1e6)],'text':JSON[_0x1c82da(0x244)](_0x294d09[_0x1c82da(0x212)]),'parentId':_0x4076e6['id']});break;}case _0x493f24[_0x1c82da(0x233)]:{const _0x3f98f7=this['_threadCommentModel']['getComment'](_0x205a2a,_0x37a88c,_0x294d09[_0x1c82da(0x1ef)]);_0x3f98f7&&_0x3f98f7[_0x1c82da(0x24e)]&&this[_0x1c82da(0x201)][_0x1c82da(0x1fd)](_0x205a2a,_0x37a88c,_0x294d09[_0x1c82da(0x1ef)]);break;}case _0x493f24['Edit']:{this[_0x1c82da(0x201)][_0x1c82da(0x22e)](_0x205a2a,_0x37a88c,{'commentId':_0x294d09[_0x1c82da(0x1ef)],'text':JSON[_0x1c82da(0x244)](_0x294d09[_0x1c82da(0x212)])});break;}case _0x493f24[_0x1c82da(0x1dc)]:{const _0xe3d5c8=(_0x58ba0d=this['_threadCommentModel'][_0x1c82da(0x211)](_0x294d09[_0x1c82da(0x251)])['find'](_0x4470ba=>_0x4470ba[_0x1c82da(0x1f0)]===_0x294d09[_0x1c82da(0x1f0)]))==null?void 0x0:_0x58ba0d[_0x1c82da(0x1fb)];_0xe3d5c8&&this[_0x1c82da(0x201)]['resolveComment'](_0x205a2a,_0x37a88c,_0xe3d5c8['id'],_0x294d09[_0x1c82da(0x250)]===_0xe7f05c['Solved']);break;}}}));}};_0x12a999=_0x35bcb0([_0x2fe67e(0x0,_0x7e2ec[_0x1f5f39(0x1d7)](_0x23ce89[_0x1f5f39(0x1d3)])),_0x2fe67e(0x1,_0x7e2ec[_0x1f5f39(0x1d7)](_0x48618d[_0x1f5f39(0x1ea)])),_0x2fe67e(0x2,_0x7e2ec[_0x1f5f39(0x1d7)](_0x7e2ec[_0x1f5f39(0x22a)])),_0x2fe67e(0x3,_0x7e2ec['Inject'](_0x7e2ec['Injector']))],_0x12a999);const _0x34db90='thread-comment-data-source.config',_0x4cd41b={};var _0x300291=Object['getOwnPropertyDescriptor'],_0x22698f=(_0x57e3db,_0x3cabac,_0x581d0e,_0x22565f)=>{for(var _0x1cad57=_0x22565f>0x1?void 0x0:_0x22565f?_0x300291(_0x3cabac,_0x581d0e):_0x3cabac,_0x111ec0=_0x57e3db['length']-0x1,_0x3f7332;_0x111ec0>=0x0;_0x111ec0--)(_0x3f7332=_0x57e3db[_0x111ec0])&&(_0x1cad57=_0x3f7332(_0x1cad57)||_0x1cad57);return _0x1cad57;},_0x4e97e5=(_0x31aed8,_0x5da593)=>(_0xd0b8be,_0x3e4aed)=>_0x5da593(_0xd0b8be,_0x3e4aed,_0x31aed8);function _0x173e65(_0xd007b7,_0x4a842f){const _0x492838=_0x1f5f39,_0x216542=_0xd007b7[_0x492838(0x1f4)][0x0];return{..._0x4a842f,'id':_0x216542[_0x492838(0x1ef)],'resolved':_0xd007b7[_0x492838(0x250)]===0x1,'dT':_0x25b1db(_0x216542['createTimestamp']),'personId':_0x216542[_0x492838(0x1e6)],'threadId':_0x216542['threadId']};}function _0xa22d72(_0x742c20,_0x429dde,_0xcdd301){const _0x57c137=_0x1f5f39;var _0x5175ef,_0x4f448b;if(((_0x4f448b=(_0x5175ef=_0x742c20==null?void 0x0:_0x742c20['replies'])==null?void 0x0:_0x5175ef[_0x57c137(0x1ee)])!=null?_0x4f448b:0x0)>0x0){const _0x51636e=(_0x147688,_0x179863)=>({'id':_0x147688[_0x57c137(0x1ef)],'threadId':_0x147688[_0x57c137(0x1f0)],'dT':_0x25b1db(_0x147688[_0x57c137(0x1db)]),'personId':_0x147688[_0x57c137(0x1e6)],'resolved':_0x742c20[_0x57c137(0x250)]===_0xe7f05c['Solved'],'unitId':_0x429dde,'subUnitId':_0xcdd301,'text':JSON[_0x57c137(0x244)](_0x147688['content']),'parentId':_0x179863}),_0x116a44=_0x51636e(_0x742c20['replies'][0x0]);return{..._0x116a44,'children':_0x742c20['replies'][_0x57c137(0x1d6)](0x1)[_0x57c137(0x1f8)](_0x407b92=>_0x51636e(_0x407b92,_0x116a44['id']))};}return null;}let _0x4c9f94=class{constructor(_0xd3d0a7,_0x33e10c,_0x11e7e4){const _0x121bbe=_0x1f5f39;this[_0x121bbe(0x1d4)]=_0xd3d0a7,this[_0x121bbe(0x1e9)]=_0x33e10c,this[_0x121bbe(0x209)]=_0x11e7e4;}async[_0x1f5f39(0x24a)](_0x270c1f){const _0x133ee5=_0x1f5f39;var _0x214d46,_0x548c1d;const {parentId:_0xb890cf,unitId:_0x1cf97f,text:_0x5c6e4d,threadId:_0x5b0764}=_0x270c1f,_0x472e26=(_0x548c1d=(_0x214d46=_0x5c6e4d[_0x133ee5(0x1fa)])==null?void 0x0:_0x214d46[_0x133ee5(0x204)](_0x27606a=>_0x27606a['rangeType']===_0x7e2ec[_0x133ee5(0x1f3)][_0x133ee5(0x203)])['map'](_0x31851a=>_0x31851a['rangeId']))!=null?_0x548c1d:[],_0x411d70=JSON['stringify'](_0x5c6e4d),_0xee5e0e=(await this[_0x133ee5(0x209)]['requireSession'](_0x1cf97f))['getMemberID']();if(_0xb890cf){const _0x2e9d7f={'memberId':_0xee5e0e,'unitId':_0x1cf97f,'content':_0x411d70,'mention':_0x472e26,'threadId':_0x5b0764},_0xf940dd=(await this[_0x133ee5(0x1d4)][_0x133ee5(0x24c)](_0x133ee5(0x257)+_0x1cf97f+'/reply',{'body':_0x2e9d7f}))['body'][_0x133ee5(0x1e2)];return{..._0x270c1f,'id':_0xf940dd['replyId'],'dT':_0x7e2ec['dayjs'](+_0xf940dd[_0x133ee5(0x1db)])[_0x133ee5(0x1da)](_0x133ee5(0x227)),'personId':_0xf940dd[_0x133ee5(0x1e6)]};}else{const _0x4ed07e={'memberId':_0xee5e0e,'unitId':_0x1cf97f,'content':_0x411d70,'mention':_0x472e26},_0x5baae5=await this['_httpService']['post'](_0x133ee5(0x257)+_0x1cf97f+'/add',{'body':_0x4ed07e});return _0x173e65(_0x5baae5[_0x133ee5(0x236)][_0x133ee5(0x1fe)],_0x270c1f);}}async[_0x1f5f39(0x22e)](_0x27444e){const _0x5c9e3e=_0x1f5f39;var _0x4613d3,_0x26c698;const {text:_0x1da8d1,unitId:_0x205c8a}=_0x27444e,_0x4e5fe2=(_0x26c698=(_0x4613d3=_0x1da8d1[_0x5c9e3e(0x1fa)])==null?void 0x0:_0x4613d3['filter'](_0xb24801=>_0xb24801[_0x5c9e3e(0x21e)]===_0x7e2ec[_0x5c9e3e(0x1f3)]['COMMENT'])[_0x5c9e3e(0x1f8)](_0x42fe20=>_0x42fe20['rangeId']))!=null?_0x26c698:[],_0x544710=JSON[_0x5c9e3e(0x202)](_0x1da8d1),_0x464792=_0x27444e[_0x5c9e3e(0x1f0)],_0x5234d8=_0x27444e['id'],_0x1697a1={'memberId':(await this[_0x5c9e3e(0x209)]['requireSession'](_0x205c8a))[_0x5c9e3e(0x259)](),'unitId':_0x205c8a,'threadId':_0x464792,'mention':_0x4e5fe2,'content':_0x544710,'replyId':_0x5234d8},_0x6388aa=await this[_0x5c9e3e(0x1d4)]['post']('/universer-api/comment/unit/'+_0x205c8a+_0x5c9e3e(0x208),{'body':_0x1697a1});return!_0x6388aa[_0x5c9e3e(0x236)][_0x5c9e3e(0x21a)]||_0x6388aa[_0x5c9e3e(0x236)][_0x5c9e3e(0x21a)]['code']===0x1;}async[_0x1f5f39(0x230)](_0x31681d){const _0xeca917=_0x1f5f39,{unitId:_0x2242a1}=_0x31681d,_0x12ff9c=_0x31681d['threadId'],_0x9568c7={'memberId':this[_0xeca917(0x1e9)][_0xeca917(0x21b)]()['userID'],'unitId':_0x2242a1,'threadId':_0x12ff9c,'solved':_0x31681d[_0xeca917(0x224)]?_0xe7f05c['Solved']:_0xe7f05c[_0xeca917(0x225)]},_0x5ab012=await this[_0xeca917(0x1d4)]['post'](_0xeca917(0x257)+_0x2242a1+'/solved',{'body':_0x9568c7});return!_0x5ab012[_0xeca917(0x236)][_0xeca917(0x21a)]||_0x5ab012['body'][_0xeca917(0x21a)]['code']===0x1;}async[_0x1f5f39(0x1fd)](_0x53ee14,_0x5c0602,_0x23f24a,_0xdc2ed9){const _0x5c17a9=_0x1f5f39,_0x589828={'memberId':(await this[_0x5c17a9(0x209)][_0x5c17a9(0x206)](_0x53ee14))[_0x5c17a9(0x259)](),'threadId':_0x23f24a,'replyId':_0xdc2ed9,'unitId':_0x53ee14},_0x637260=await this[_0x5c17a9(0x1d4)][_0x5c17a9(0x24c)](_0x5c17a9(0x257)+_0x53ee14+_0x5c17a9(0x1f7),{'body':_0x589828});return!_0x637260[_0x5c17a9(0x236)][_0x5c17a9(0x21a)]||_0x637260[_0x5c17a9(0x236)][_0x5c17a9(0x21a)][_0x5c17a9(0x252)]===0x1;}async[_0x1f5f39(0x1d9)](_0x41a4b0,_0x5105f1,_0x368706){const _0xdc562f=_0x1f5f39,_0x295223={'unitId':_0x41a4b0,'threadId':_0x368706},_0x526809=await this['_httpService']['post'](_0xdc562f(0x257)+_0x41a4b0+_0xdc562f(0x1f6),{'body':_0x295223}),_0x78d5d0=_0x368706['map'](_0x14a273=>_0xa22d72(_0x526809['body'][_0xdc562f(0x1e1)][_0x14a273],_0x41a4b0,_0x5105f1))['filter'](Boolean);return Object[_0xdc562f(0x23a)](_0x526809['body'][_0xdc562f(0x234)])['forEach'](_0x2b42c3=>{const _0x420b84=_0xdc562f;this['_userService'][_0x420b84(0x20f)](_0x2b42c3);}),_0x78d5d0;}[_0x1f5f39(0x1f1)](_0x5ef7e5){const _0x2781f8=_0x1f5f39;return{'id':_0x5ef7e5['id'],'threadId':_0x5ef7e5[_0x2781f8(0x1f0)],'ref':_0x5ef7e5[_0x2781f8(0x22b)]};}};_0x4c9f94=_0x22698f([_0x4e97e5(0x0,_0x7e2ec[_0x1f5f39(0x1d7)](_0x384937[_0x1f5f39(0x24f)])),_0x4e97e5(0x1,_0x7e2ec['Inject'](_0x7e2ec['UserManagerService'])),_0x4e97e5(0x2,_0x7e2ec['Inject'](_0x23ce89[_0x1f5f39(0x1ed)]))],_0x4c9f94);var _0x39960b=Object[_0x1f5f39(0x207)],_0x109f0b=(_0x5245fe,_0x4cc220,_0x2fdf01,_0x55cf3d)=>{const _0x189d28=_0x1f5f39;for(var _0x529988=_0x55cf3d>0x1?void 0x0:_0x55cf3d?_0x39960b(_0x4cc220,_0x2fdf01):_0x4cc220,_0x84d596=_0x5245fe[_0x189d28(0x1ee)]-0x1,_0x3adc0e;_0x84d596>=0x0;_0x84d596--)(_0x3adc0e=_0x5245fe[_0x84d596])&&(_0x529988=_0x3adc0e(_0x529988)||_0x529988);return _0x529988;},_0x475288=(_0x20b3c9,_0x5bd3b3)=>(_0x11185d,_0x442f68)=>_0x5bd3b3(_0x11185d,_0x442f68,_0x20b3c9);let _0x4fd3ae=class extends _0x7e2ec[_0x1f5f39(0x200)]{constructor(_0xf1dd0a,_0x9a35a0){const _0x22aeb0=_0x1f5f39;super(),this[_0x22aeb0(0x205)]=_0xf1dd0a,this[_0x22aeb0(0x20a)]=_0x9a35a0,this[_0x22aeb0(0x1dd)]();}[_0x1f5f39(0x1dd)](){const _0x26048c=_0x1f5f39;this['_threadCommentDataSourceService'][_0x26048c(0x249)]=this[_0x26048c(0x20a)],this[_0x26048c(0x205)][_0x26048c(0x1f2)]=!0x1;}};_0x4fd3ae=_0x109f0b([_0x475288(0x0,_0x48618d[_0x1f5f39(0x23e)]),_0x475288(0x1,_0x7e2ec[_0x1f5f39(0x1d7)](_0x4c9f94))],_0x4fd3ae);var _0x111e1b=Object[_0x1f5f39(0x1e5)],_0x287f64=Object[_0x1f5f39(0x207)],_0x578645=(_0x4b7911,_0x6a8745,_0x219148)=>_0x6a8745 in _0x4b7911?_0x111e1b(_0x4b7911,_0x6a8745,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x219148}):_0x4b7911[_0x6a8745]=_0x219148,_0x67fc91=(_0x3ff769,_0x5dd8f0,_0x2aa9e3,_0x1595a8)=>{const _0x4c19ae=_0x1f5f39;for(var _0x20de4c=_0x1595a8>0x1?void 0x0:_0x1595a8?_0x287f64(_0x5dd8f0,_0x2aa9e3):_0x5dd8f0,_0xc1dd6a=_0x3ff769[_0x4c19ae(0x1ee)]-0x1,_0xa2f3d8;_0xc1dd6a>=0x0;_0xc1dd6a--)(_0xa2f3d8=_0x3ff769[_0xc1dd6a])&&(_0x20de4c=_0xa2f3d8(_0x20de4c)||_0x20de4c);return _0x20de4c;},_0x27ba05=(_0x38b2a6,_0x2a8639)=>(_0x395e4a,_0x1421eb)=>_0x2a8639(_0x395e4a,_0x1421eb,_0x38b2a6),_0x2e560b=(_0x28c655,_0x36c759,_0x231ee5)=>_0x578645(_0x28c655,typeof _0x36c759!=_0x1f5f39(0x24d)?_0x36c759+'':_0x36c759,_0x231ee5);_0x396d53[_0x1f5f39(0x222)]=class extends _0x7e2ec[_0x1f5f39(0x235)]{constructor(_0x1a46b9=_0x4cd41b,_0x131de4,_0x4d5873){const _0x56fa9f=_0x1f5f39;super(),this[_0x56fa9f(0x231)]=_0x1a46b9,this[_0x56fa9f(0x229)]=_0x131de4,this[_0x56fa9f(0x258)]=_0x4d5873;const {..._0x108cea}=_0x7e2ec['merge']({},_0x4cd41b,this[_0x56fa9f(0x231)]);this[_0x56fa9f(0x258)][_0x56fa9f(0x1f9)](_0x34db90,_0x108cea);}[_0x1f5f39(0x23c)](){const _0x79cf50=_0x1f5f39;[[_0x4c9f94],[_0x4fd3ae],[_0x12a999]][_0x79cf50(0x1eb)](_0x1fef4b=>{const _0x17cb87=_0x79cf50;this['_injector'][_0x17cb87(0x247)](_0x1fef4b);});}['onReady'](){const _0x481588=_0x1f5f39;this['_injector'][_0x481588(0x253)](_0x4fd3ae),this['_injector'][_0x481588(0x253)](_0x12a999);}},_0x2e560b(_0x396d53[_0x1f5f39(0x222)],_0x1f5f39(0x256),_0x4c3067),_0x2e560b(_0x396d53['UniverThreadCommentDataSourcePlugin'],'type',_0x7e2ec[_0x1f5f39(0x22f)][_0x1f5f39(0x20b)]),_0x396d53[_0x1f5f39(0x222)]=_0x67fc91([_0x7e2ec[_0x1f5f39(0x23d)](_0x53347e[_0x1f5f39(0x245)],_0x23ce89[_0x1f5f39(0x221)],_0x3f5f49[_0x1f5f39(0x214)]),_0x27ba05(0x1,_0x7e2ec[_0x1f5f39(0x1d7)](_0x7e2ec[_0x1f5f39(0x1de)])),_0x27ba05(0x2,_0x7e2ec[_0x1f5f39(0x1d8)])],_0x396d53['UniverThreadCommentDataSourcePlugin']),Object['defineProperty'](_0x396d53,Symbol[_0x1f5f39(0x1e0)],{'value':_0x1f5f39(0x241)});}));
14
+ function _0x425f(_0x143c94,_0x34679b){_0x143c94=_0x143c94-0xa8;const _0x2ff018=_0x2ff0();let _0x425fd6=_0x2ff018[_0x143c94];return _0x425fd6;}(function(_0x4909ec,_0x43e010){const _0x4d9896=_0x425f,_0x4e713f=_0x4909ec();while(!![]){try{const _0x3d49a4=parseInt(_0x4d9896(0x115))/0x1*(parseInt(_0x4d9896(0xed))/0x2)+-parseInt(_0x4d9896(0xe6))/0x3+parseInt(_0x4d9896(0xcf))/0x4+parseInt(_0x4d9896(0x111))/0x5*(parseInt(_0x4d9896(0x10c))/0x6)+parseInt(_0x4d9896(0x11d))/0x7*(parseInt(_0x4d9896(0xb0))/0x8)+parseInt(_0x4d9896(0xf3))/0x9*(-parseInt(_0x4d9896(0xb3))/0xa)+-parseInt(_0x4d9896(0x10a))/0xb*(parseInt(_0x4d9896(0xbd))/0xc);if(_0x3d49a4===_0x43e010)break;else _0x4e713f['push'](_0x4e713f['shift']());}catch(_0x25f694){_0x4e713f['push'](_0x4e713f['shift']());}}}(_0x2ff0,0xba423),function(_0x58dd86,_0x583295){const _0xac90fc=_0x425f;typeof exports==_0xac90fc(0xd3)&&typeof module<'u'?_0x583295(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/thread-comment-ui'),require('@univerjs/thread-comment'),require('rxjs'),require('@univerjs/network')):typeof define==_0xac90fc(0xb2)&&define[_0xac90fc(0xdb)]?define(['exports',_0xac90fc(0xd5),_0xac90fc(0x12a),_0xac90fc(0xcb),'@univerjs/thread-comment-ui',_0xac90fc(0xa9),'rxjs',_0xac90fc(0xca)],_0x583295):(_0x58dd86=typeof globalThis<'u'?globalThis:_0x58dd86||self,_0x583295(_0x58dd86[_0xac90fc(0xc9)]={},_0x58dd86['UniverProCollaborationClient'],_0x58dd86[_0xac90fc(0xab)],_0x58dd86[_0xac90fc(0x10b)],_0x58dd86['UniverThreadCommentUi'],_0x58dd86[_0xac90fc(0xf4)],_0x58dd86[_0xac90fc(0xc3)],_0x58dd86[_0xac90fc(0xd4)]));}(this,function(_0x27d8d1,_0x31a3d9,_0x3c44df,_0x47cd9e,_0x4c82fd,_0x44534f,_0x263ea1,_0x399bbd){'use strict';const _0x4e3fb3=_0x425f;const _0x19e2bb='UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN';var _0x5f1f35=(_0x3760ec=>(_0x3760ec[_0x3760ec[_0x4e3fb3(0x109)]=0x0]=_0x4e3fb3(0x109),_0x3760ec[_0x3760ec[_0x4e3fb3(0x10d)]=0x1]=_0x4e3fb3(0x10d),_0x3760ec[_0x3760ec[_0x4e3fb3(0xd6)]=-0x1]=_0x4e3fb3(0xd6),_0x3760ec))(_0x5f1f35||{}),_0x5472e5=(_0x176c68=>(_0x176c68[_0x176c68[_0x4e3fb3(0xc4)]=0x0]=_0x4e3fb3(0xc4),_0x176c68[_0x176c68['Add']=0x1]=_0x4e3fb3(0x12e),_0x176c68[_0x176c68[_0x4e3fb3(0xc8)]=0x2]=_0x4e3fb3(0xc8),_0x176c68[_0x176c68[_0x4e3fb3(0x107)]=0x3]=_0x4e3fb3(0x107),_0x176c68[_0x176c68[_0x4e3fb3(0x106)]=0x4]='Delete',_0x176c68[_0x176c68[_0x4e3fb3(0x113)]=0x5]='Solve',_0x176c68[_0x176c68[_0x4e3fb3(0xd6)]=-0x1]=_0x4e3fb3(0xd6),_0x176c68))(_0x5472e5||{});const _0x192db0=_0x7e2b09=>_0x47cd9e['dayjs'](new Date(+_0x7e2b09))[_0x4e3fb3(0xac)](_0x4e3fb3(0x129)),_0x588165=async(_0x7c3654,_0x307b5b)=>{const _0x1996a1=_0x4e3fb3,_0x4b7ec7=_0x7c3654[_0x1996a1(0x12d)](_0x47cd9e[_0x1996a1(0xd9)]),_0x46de10=_0x7c3654[_0x1996a1(0x12d)](_0x399bbd[_0x1996a1(0xce)]);_0x307b5b[_0x1996a1(0x108)](_0x5e4de3=>{const _0x254c07=_0x1996a1;_0x4b7ec7[_0x254c07(0xf1)](_0x5e4de3)&&_0x307b5b[_0x254c07(0x10e)](_0x5e4de3);}),_0x307b5b['size']&&(await _0x46de10[_0x1996a1(0x12d)](_0x1996a1(0x105),{'params':{'userIDs':[..._0x307b5b]}}))[_0x1996a1(0x114)]['users'][_0x1996a1(0x108)](_0x385bc2=>{_0x385bc2&&_0x4b7ec7['addUser'](_0x385bc2);});};var _0x2838fa=Object[_0x4e3fb3(0x103)],_0x110754=(_0xfdc2b9,_0xff6371,_0x328ebc,_0x305e38)=>{for(var _0x5ac48f=_0x305e38>0x1?void 0x0:_0x305e38?_0x2838fa(_0xff6371,_0x328ebc):_0xff6371,_0x39c665=_0xfdc2b9['length']-0x1,_0x2f0d4f;_0x39c665>=0x0;_0x39c665--)(_0x2f0d4f=_0xfdc2b9[_0x39c665])&&(_0x5ac48f=_0x2f0d4f(_0x5ac48f)||_0x5ac48f);return _0x5ac48f;},_0x5ebf2c=(_0x5bd804,_0x1bed90)=>(_0x5e2bf1,_0xa0f230)=>_0x1bed90(_0x5e2bf1,_0xa0f230,_0x5bd804);let _0x5dbcc8=class extends _0x47cd9e[_0x4e3fb3(0x117)]{constructor(_0x131956,_0x59215c,_0x58e52d,_0x7e8a7f){const _0x37a704=_0x4e3fb3;super(),this[_0x37a704(0xf7)]=_0x131956,this[_0x37a704(0xaf)]=_0x59215c,this[_0x37a704(0xd0)]=_0x58e52d,this[_0x37a704(0x11f)]=_0x7e8a7f,this[_0x37a704(0xf5)](),this[_0x37a704(0xe5)]();}[_0x4e3fb3(0xe5)](){const _0x458a53=_0x4e3fb3;this[_0x458a53(0xdf)](this['_threadCommentModel'][_0x458a53(0xfc)]['pipe'](_0x263ea1[_0x458a53(0xf8)](0x10))[_0x458a53(0x126)](_0x1b0ea5=>{const _0x319732=_0x458a53,_0x20fb67=new Set();_0x1b0ea5['forEach'](_0x52b9a6=>{const _0x2a493f=_0x425f;switch(_0x52b9a6[_0x2a493f(0xcc)]){case _0x2a493f(0x11e):{const _0x11e3c4=_0x52b9a6[_0x2a493f(0xeb)]['personId'];_0x20fb67[_0x2a493f(0x11e)](_0x11e3c4);break;}}}),_0x588165(this[_0x319732(0x11f)],_0x20fb67);}));}[_0x4e3fb3(0xf5)](){const _0x464834=_0x4e3fb3;this['disposeWithMe'](this['_commentService']['commentUpdate$'][_0x464834(0x126)](async _0x301413=>{const _0xa13fa7=_0x464834;var _0x5466ca,_0x2ee4cb,_0x137c6a,_0x154aa2;const _0x472cbe=(_0x5466ca=this[_0xa13fa7(0xaf)][_0xa13fa7(0xc7)](_0x301413['unitId'])['find'](_0x2230be=>_0x2230be[_0xa13fa7(0xfe)]===_0x301413[_0xa13fa7(0xfe)]))==null?void 0x0:_0x5466ca[_0xa13fa7(0xad)];if(!_0x472cbe)return;const {unitId:_0x7ed7b1,subUnitId:_0x3bfde2}=_0x472cbe;switch(_0x301413[_0xa13fa7(0xdd)]&&this['_userService'][_0xa13fa7(0xc6)](_0x301413[_0xa13fa7(0xdd)]),_0x301413[_0xa13fa7(0xcc)]){case _0x5472e5[_0xa13fa7(0x12e)]:break;case _0x5472e5[_0xa13fa7(0xc8)]:{this[_0xa13fa7(0xaf)]['addComment'](_0x7ed7b1,_0x3bfde2,{'unitId':_0x7ed7b1,'subUnitId':_0x3bfde2,'ref':'','id':_0x301413[_0xa13fa7(0xd7)],'dT':_0x192db0(+_0x301413[_0xa13fa7(0xe7)]),'threadId':_0x301413['threadId'],'personId':(_0x137c6a=(_0x2ee4cb=_0x301413['user'])==null?void 0x0:_0x2ee4cb[_0xa13fa7(0xe0)])!=null?_0x137c6a:_0x301413[_0xa13fa7(0xcd)],'text':JSON['parse'](_0x301413[_0xa13fa7(0x128)]),'parentId':_0x472cbe['id']});break;}case _0x5472e5[_0xa13fa7(0x106)]:{const _0x570fea=this[_0xa13fa7(0xaf)]['getComment'](_0x7ed7b1,_0x3bfde2,_0x301413['replyId']);_0x570fea&&_0x570fea['parentId']&&this['_threadCommentModel'][_0xa13fa7(0xba)](_0x7ed7b1,_0x3bfde2,_0x301413[_0xa13fa7(0xd7)]);break;}case _0x5472e5[_0xa13fa7(0x107)]:{this['_threadCommentModel'][_0xa13fa7(0xb9)](_0x7ed7b1,_0x3bfde2,{'commentId':_0x301413[_0xa13fa7(0xd7)],'text':JSON[_0xa13fa7(0x124)](_0x301413[_0xa13fa7(0x128)])});break;}case _0x5472e5[_0xa13fa7(0x113)]:{const _0x2a8c26=(_0x154aa2=this[_0xa13fa7(0xaf)]['getUnit'](_0x301413[_0xa13fa7(0xc2)])[_0xa13fa7(0x11b)](_0x474369=>_0x474369[_0xa13fa7(0xfe)]===_0x301413[_0xa13fa7(0xfe)]))==null?void 0x0:_0x154aa2[_0xa13fa7(0xad)];_0x2a8c26&&this['_threadCommentModel'][_0xa13fa7(0x119)](_0x7ed7b1,_0x3bfde2,_0x2a8c26['id'],_0x301413['solved']===_0x5f1f35[_0xa13fa7(0x10d)]);break;}}}));}};_0x5dbcc8=_0x110754([_0x5ebf2c(0x0,_0x47cd9e['Inject'](_0x31a3d9[_0x4e3fb3(0xd8)])),_0x5ebf2c(0x1,_0x47cd9e[_0x4e3fb3(0x12f)](_0x44534f[_0x4e3fb3(0x11a)])),_0x5ebf2c(0x2,_0x47cd9e[_0x4e3fb3(0x12f)](_0x47cd9e[_0x4e3fb3(0xd9)])),_0x5ebf2c(0x3,_0x47cd9e[_0x4e3fb3(0x12f)](_0x47cd9e[_0x4e3fb3(0xb5)]))],_0x5dbcc8);const _0x11a51f=_0x4e3fb3(0xf2),_0x14681b={};var _0x14125d=Object[_0x4e3fb3(0x103)],_0x80ae84=(_0x55b7da,_0xa89e57,_0x1ab396,_0x12c346)=>{const _0x587a4b=_0x4e3fb3;for(var _0x3c902a=_0x12c346>0x1?void 0x0:_0x12c346?_0x14125d(_0xa89e57,_0x1ab396):_0xa89e57,_0x476935=_0x55b7da[_0x587a4b(0xd1)]-0x1,_0x54107c;_0x476935>=0x0;_0x476935--)(_0x54107c=_0x55b7da[_0x476935])&&(_0x3c902a=_0x54107c(_0x3c902a)||_0x3c902a);return _0x3c902a;},_0x1b35d4=(_0x4df329,_0x599a98)=>(_0x1f0129,_0x3a9835)=>_0x599a98(_0x1f0129,_0x3a9835,_0x4df329);function _0x32cfc8(_0x4ce2fa,_0x27a83d){const _0x24d8e6=_0x4e3fb3,_0x79008f=_0x4ce2fa['replies'][0x0];return{..._0x27a83d,'id':_0x79008f[_0x24d8e6(0xd7)],'resolved':_0x4ce2fa[_0x24d8e6(0xda)]===0x1,'dT':_0x192db0(_0x79008f[_0x24d8e6(0xe7)]),'personId':_0x79008f[_0x24d8e6(0xcd)],'threadId':_0x79008f['threadId']};}function _0x339409(_0x1087e8,_0x43ed9e,_0xa21e51){const _0x17c26d=_0x4e3fb3;var _0x369bee,_0xfdb21c;if(((_0xfdb21c=(_0x369bee=_0x1087e8==null?void 0x0:_0x1087e8[_0x17c26d(0x102)])==null?void 0x0:_0x369bee[_0x17c26d(0xd1)])!=null?_0xfdb21c:0x0)>0x0){const _0x871d28=(_0xbfe1ff,_0x16a519)=>({'id':_0xbfe1ff['replyId'],'threadId':_0xbfe1ff['threadId'],'dT':_0x192db0(_0xbfe1ff[_0x17c26d(0xe7)]),'personId':_0xbfe1ff['userId'],'resolved':_0x1087e8[_0x17c26d(0xda)]===_0x5f1f35[_0x17c26d(0x10d)],'unitId':_0x43ed9e,'subUnitId':_0xa21e51,'text':JSON['parse'](_0xbfe1ff['content']),'parentId':_0x16a519}),_0x4e5e27=_0x871d28(_0x1087e8[_0x17c26d(0x102)][0x0]);return{..._0x4e5e27,'children':_0x1087e8[_0x17c26d(0x102)][_0x17c26d(0x133)](0x1)[_0x17c26d(0xea)](_0x846b26=>_0x871d28(_0x846b26,_0x4e5e27['id']))};}return null;}let _0x51ecb8=class{constructor(_0x1a3576,_0x18549,_0x495230){const _0x3e08b2=_0x4e3fb3;this[_0x3e08b2(0xb8)]=_0x1a3576,this[_0x3e08b2(0xd0)]=_0x18549,this[_0x3e08b2(0xfb)]=_0x495230;}async[_0x4e3fb3(0xdc)](_0x18b685){const _0x407fc8=_0x4e3fb3;var _0x60d630,_0xb93cb5;const {parentId:_0x542535,unitId:_0x456bf9,text:_0x167ffb,threadId:_0x3a4bf7}=_0x18b685,_0x118419=(_0xb93cb5=(_0x60d630=_0x167ffb[_0x407fc8(0x121)])==null?void 0x0:_0x60d630[_0x407fc8(0xae)](_0x1195b3=>_0x1195b3[_0x407fc8(0xf6)]===_0x47cd9e['CustomRangeType']['COMMENT'])['map'](_0x19d91f=>_0x19d91f['rangeId']))!=null?_0xb93cb5:[],_0xec673f=JSON[_0x407fc8(0x120)](_0x167ffb),_0x52b3eb=(await this[_0x407fc8(0xfb)]['requireSession'](_0x456bf9))[_0x407fc8(0xe9)]();if(_0x542535){const _0x5ebe2f={'memberId':_0x52b3eb,'unitId':_0x456bf9,'content':_0xec673f,'mention':_0x118419,'threadId':_0x3a4bf7},_0x17b9ff=(await this['_httpService']['post'](_0x407fc8(0xbc)+_0x456bf9+_0x407fc8(0xef),{'body':_0x5ebe2f}))[_0x407fc8(0x114)][_0x407fc8(0xb7)];return{..._0x18b685,'id':_0x17b9ff[_0x407fc8(0xd7)],'dT':_0x47cd9e[_0x407fc8(0xa8)](+_0x17b9ff[_0x407fc8(0xe7)])[_0x407fc8(0xac)]('YYYY/MM/DD\x20HH:mm'),'personId':_0x17b9ff[_0x407fc8(0xcd)]};}else{const _0x548ad5={'memberId':_0x52b3eb,'unitId':_0x456bf9,'content':_0xec673f,'mention':_0x118419},_0x4fe6a1=await this[_0x407fc8(0xb8)][_0x407fc8(0xc5)](_0x407fc8(0xbc)+_0x456bf9+'/add',{'body':_0x548ad5});return _0x32cfc8(_0x4fe6a1['body'][_0x407fc8(0xc1)],_0x18b685);}}async[_0x4e3fb3(0xb9)](_0x2f91ee){const _0x8d467a=_0x4e3fb3;var _0x598b6b,_0x181507;const {text:_0x3ae11a,unitId:_0x114ee9}=_0x2f91ee,_0xb78e36=(_0x181507=(_0x598b6b=_0x3ae11a[_0x8d467a(0x121)])==null?void 0x0:_0x598b6b[_0x8d467a(0xae)](_0x553f68=>_0x553f68[_0x8d467a(0xf6)]===_0x47cd9e[_0x8d467a(0xe4)]['COMMENT'])['map'](_0x504b28=>_0x504b28[_0x8d467a(0x100)]))!=null?_0x181507:[],_0x3ca393=JSON[_0x8d467a(0x120)](_0x3ae11a),_0x3825db=_0x2f91ee[_0x8d467a(0xfe)],_0x19f538=_0x2f91ee['id'],_0x186b33={'memberId':(await this[_0x8d467a(0xfb)][_0x8d467a(0xff)](_0x114ee9))[_0x8d467a(0xe9)](),'unitId':_0x114ee9,'threadId':_0x3825db,'mention':_0xb78e36,'content':_0x3ca393,'replyId':_0x19f538},_0x6b03f5=await this[_0x8d467a(0xb8)][_0x8d467a(0xc5)](_0x8d467a(0xbc)+_0x114ee9+_0x8d467a(0xbe),{'body':_0x186b33});return!_0x6b03f5[_0x8d467a(0x114)][_0x8d467a(0x12c)]||_0x6b03f5['body'][_0x8d467a(0x12c)][_0x8d467a(0xb4)]===0x1;}async[_0x4e3fb3(0x119)](_0x2b4ed2){const _0x3d59ba=_0x4e3fb3,{unitId:_0x3eb34b}=_0x2b4ed2,_0x309e0e=_0x2b4ed2[_0x3d59ba(0xfe)],_0x2177c0={'memberId':this['_userService'][_0x3d59ba(0x10f)]()[_0x3d59ba(0xe0)],'unitId':_0x3eb34b,'threadId':_0x309e0e,'solved':_0x2b4ed2[_0x3d59ba(0x12b)]?_0x5f1f35[_0x3d59ba(0x10d)]:_0x5f1f35[_0x3d59ba(0x109)]},_0x2f5a1c=await this[_0x3d59ba(0xb8)]['post'](_0x3d59ba(0xbc)+_0x3eb34b+_0x3d59ba(0x112),{'body':_0x2177c0});return!_0x2f5a1c['body'][_0x3d59ba(0x12c)]||_0x2f5a1c[_0x3d59ba(0x114)][_0x3d59ba(0x12c)][_0x3d59ba(0xb4)]===0x1;}async[_0x4e3fb3(0xba)](_0x3c5d95,_0x1d6bfe,_0xd521b3,_0x3577ae){const _0x26ed58=_0x4e3fb3,_0x25e09b={'memberId':(await this['_sessionService'][_0x26ed58(0xff)](_0x3c5d95))[_0x26ed58(0xe9)](),'threadId':_0xd521b3,'replyId':_0x3577ae,'unitId':_0x3c5d95},_0x43de61=await this[_0x26ed58(0xb8)][_0x26ed58(0xc5)](_0x26ed58(0xbc)+_0x3c5d95+'/delete',{'body':_0x25e09b});return!_0x43de61['body'][_0x26ed58(0x12c)]||_0x43de61[_0x26ed58(0x114)][_0x26ed58(0x12c)][_0x26ed58(0xb4)]===0x1;}async[_0x4e3fb3(0x127)](_0x1f9271,_0x1d0b71,_0x5ecea5){const _0x387582=_0x4e3fb3,_0x1bf95e={'unitId':_0x1f9271,'threadId':_0x5ecea5},_0x4482b4=await this[_0x387582(0xb8)][_0x387582(0xc5)](_0x387582(0xbc)+_0x1f9271+_0x387582(0xe1),{'body':_0x1bf95e}),_0xc369d5=_0x5ecea5[_0x387582(0xea)](_0x1ad42f=>_0x339409(_0x4482b4[_0x387582(0x114)][_0x387582(0xf9)][_0x1ad42f],_0x1f9271,_0x1d0b71))[_0x387582(0xae)](Boolean);return Object[_0x387582(0x116)](_0x4482b4[_0x387582(0x114)][_0x387582(0xf0)])[_0x387582(0x108)](_0x30c265=>{const _0x57de50=_0x387582;this[_0x57de50(0xd0)][_0x57de50(0xc6)](_0x30c265);}),_0xc369d5;}[_0x4e3fb3(0xe3)](_0x228c02){const _0x221a97=_0x4e3fb3;return{'id':_0x228c02['id'],'threadId':_0x228c02[_0x221a97(0xfe)],'ref':_0x228c02[_0x221a97(0x118)]};}};_0x51ecb8=_0x80ae84([_0x1b35d4(0x0,_0x47cd9e[_0x4e3fb3(0x12f)](_0x399bbd[_0x4e3fb3(0xce)])),_0x1b35d4(0x1,_0x47cd9e['Inject'](_0x47cd9e[_0x4e3fb3(0xd9)])),_0x1b35d4(0x2,_0x47cd9e[_0x4e3fb3(0x12f)](_0x31a3d9[_0x4e3fb3(0xbb)]))],_0x51ecb8);var _0x3de3d0=Object['getOwnPropertyDescriptor'],_0x55c015=(_0x5ed6fd,_0xffb3eb,_0x399577,_0x25b62e)=>{const _0x55df23=_0x4e3fb3;for(var _0xffc9b4=_0x25b62e>0x1?void 0x0:_0x25b62e?_0x3de3d0(_0xffb3eb,_0x399577):_0xffb3eb,_0x2ce5db=_0x5ed6fd[_0x55df23(0xd1)]-0x1,_0x10bc7d;_0x2ce5db>=0x0;_0x2ce5db--)(_0x10bc7d=_0x5ed6fd[_0x2ce5db])&&(_0xffc9b4=_0x10bc7d(_0xffc9b4)||_0xffc9b4);return _0xffc9b4;},_0x1ab65f=(_0x3ee0c3,_0x299098)=>(_0x2f019e,_0x373a0a)=>_0x299098(_0x2f019e,_0x373a0a,_0x3ee0c3);let _0x21af2b=class extends _0x47cd9e[_0x4e3fb3(0x117)]{constructor(_0xb07193,_0x352fc5){const _0x2024c1=_0x4e3fb3;super(),this['_threadCommentDataSourceService']=_0xb07193,this[_0x2024c1(0xde)]=_0x352fc5,this['_initDataSource']();}[_0x4e3fb3(0xfa)](){const _0x21028a=_0x4e3fb3;this[_0x21028a(0x101)][_0x21028a(0xbf)]=this[_0x21028a(0xde)],this[_0x21028a(0x101)][_0x21028a(0x11c)]=!0x1;}};_0x21af2b=_0x55c015([_0x1ab65f(0x0,_0x44534f[_0x4e3fb3(0xb1)]),_0x1ab65f(0x1,_0x47cd9e[_0x4e3fb3(0x12f)](_0x51ecb8))],_0x21af2b);var _0x264ca9=Object[_0x4e3fb3(0xfd)],_0x590e90=Object['getOwnPropertyDescriptor'],_0x5d80ed=(_0x5316bc,_0x3db511,_0x41036)=>_0x3db511 in _0x5316bc?_0x264ca9(_0x5316bc,_0x3db511,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41036}):_0x5316bc[_0x3db511]=_0x41036,_0x128a2a=(_0x52610e,_0x82f22f,_0x31c61f,_0x2dafe3)=>{const _0x4de7c0=_0x4e3fb3;for(var _0x55e612=_0x2dafe3>0x1?void 0x0:_0x2dafe3?_0x590e90(_0x82f22f,_0x31c61f):_0x82f22f,_0x4d9af4=_0x52610e[_0x4de7c0(0xd1)]-0x1,_0x3d1f19;_0x4d9af4>=0x0;_0x4d9af4--)(_0x3d1f19=_0x52610e[_0x4d9af4])&&(_0x55e612=_0x3d1f19(_0x55e612)||_0x55e612);return _0x55e612;},_0x332cbb=(_0x1b5826,_0x583eb2)=>(_0x76e12,_0x33a74e)=>_0x583eb2(_0x76e12,_0x33a74e,_0x1b5826),_0x30784c=(_0x24f619,_0x5f41c1,_0xcf0ab5)=>_0x5d80ed(_0x24f619,typeof _0x5f41c1!=_0x4e3fb3(0x132)?_0x5f41c1+'':_0x5f41c1,_0xcf0ab5);_0x27d8d1[_0x4e3fb3(0xb6)]=class extends _0x47cd9e['Plugin']{constructor(_0x208262=_0x14681b,_0x3f426b,_0x5aa047){const _0x492943=_0x4e3fb3;super(),this[_0x492943(0xee)]=_0x208262,this[_0x492943(0x11f)]=_0x3f426b,this[_0x492943(0x110)]=_0x5aa047;const {..._0x17f9e7}=_0x47cd9e[_0x492943(0x123)]({},_0x14681b,this[_0x492943(0xee)]);this[_0x492943(0x110)][_0x492943(0xec)](_0x11a51f,_0x17f9e7);}[_0x4e3fb3(0xe8)](){const _0x5eeb6a=_0x4e3fb3;[[_0x51ecb8],[_0x21af2b],[_0x5dbcc8]][_0x5eeb6a(0x108)](_0x3f6ff4=>{const _0x161580=_0x5eeb6a;this['_injector'][_0x161580(0x11e)](_0x3f6ff4);});}[_0x4e3fb3(0x122)](){const _0x557fdd=_0x4e3fb3;this[_0x557fdd(0x11f)][_0x557fdd(0x12d)](_0x21af2b),this['_injector'][_0x557fdd(0x12d)](_0x5dbcc8);}},_0x30784c(_0x27d8d1[_0x4e3fb3(0xb6)],'pluginName',_0x19e2bb),_0x30784c(_0x27d8d1[_0x4e3fb3(0xb6)],_0x4e3fb3(0xcc),_0x47cd9e[_0x4e3fb3(0xe2)]['UNIVER_UNKNOWN']),_0x27d8d1[_0x4e3fb3(0xb6)]=_0x128a2a([_0x47cd9e[_0x4e3fb3(0xaa)](_0x4c82fd[_0x4e3fb3(0xc0)],_0x31a3d9[_0x4e3fb3(0x104)],_0x3c44df[_0x4e3fb3(0x130)]),_0x332cbb(0x1,_0x47cd9e[_0x4e3fb3(0x12f)](_0x47cd9e['Injector'])),_0x332cbb(0x2,_0x47cd9e[_0x4e3fb3(0xd2)])],_0x27d8d1[_0x4e3fb3(0xb6)]),Object[_0x4e3fb3(0xfd)](_0x27d8d1,Symbol[_0x4e3fb3(0x131)],{'value':_0x4e3fb3(0x125)});}));function _0x2ff0(){const _0x54ef9a=['createTimestamp','onStarting','getMemberID','map','payload','setConfig','1609602XIGmDI','_config','/reply','users','getUser','thread-comment-data-source.config','423RVFSML','UniverThreadComment','_init','rangeType','_commentService','bufferTime','comments','_initDataSource','_sessionService','commentUpdate$','defineProperty','threadId','requireSession','rangeId','_threadCommentDataSourceService','replies','getOwnPropertyDescriptor','UniverCollaborationClientPlugin','/universer-api/user/list','Delete','Edit','forEach','OpenOrReOpen','580558ztTWto','UniverCore','24DHOziT','Solved','delete','getCurrentUser','_configService','788005rpXYFB','/solved','Solve','body','1nHDqKs','values','Disposable','ref','resolveComment','ThreadCommentModel','find','syncUpdateMutationToColla','5387718DIqIpF','add','_injector','stringify','customRanges','onReady','merge','parse','Module','subscribe','listComments','content','YYYY/MM/DD\x20HH:mm','@univerjs-pro/license','resolved','error','get','Add','Inject','UniverLicensePlugin','toStringTag','symbol','slice','dayjs','@univerjs/thread-comment','DependentOn','UniverProLicense','format','root','filter','_threadCommentModel','8GPgiuc','IThreadCommentDataSourceService','function','294890uSwues','code','Injector','UniverThreadCommentDataSourcePlugin','reply','_httpService','updateComment','deleteComment','CollaborationSessionService','/universer-api/comment/unit/','12zCNMlj','/edit','dataSource','UniverThreadCommentUIPlugin','comment','unitId','rxjs','Unknown','post','addUser','getUnit','Reply','UniverProThreadCommentDatasource','@univerjs/network','@univerjs/core','type','userId','HTTPService','4159144lWIAfn','_userService','length','IConfigService','object','UniverNetwork','@univerjs-pro/collaboration-client','UNRECOGNIZED','replyId','CommentService','UserManagerService','solved','amd','addComment','user','_threadCommentDataSource','disposeWithMe','userID','/list','UniverInstanceType','saveCommentToSnapshot','CustomRangeType','_initUserSync','3128967YTScgS'];_0x2ff0=function(){return _0x54ef9a;};return _0x2ff0();}
15
15
 
16
16
  // @univerjs-pro/edit-history-viewer/index
17
- function _0x1234(_0x5dfced,_0x389ad5){_0x5dfced=_0x5dfced-0xe3;const _0xddf457=_0xddf4();let _0x123474=_0xddf457[_0x5dfced];return _0x123474;}(function(_0x51a992,_0x3c6235){const _0x2b0c0d=_0x1234,_0x4bc7a3=_0x51a992();while(!![]){try{const _0x1bca38=-parseInt(_0x2b0c0d(0x17f))/0x1*(-parseInt(_0x2b0c0d(0x188))/0x2)+-parseInt(_0x2b0c0d(0x29c))/0x3*(-parseInt(_0x2b0c0d(0x13c))/0x4)+parseInt(_0x2b0c0d(0x30e))/0x5*(parseInt(_0x2b0c0d(0x1e1))/0x6)+parseInt(_0x2b0c0d(0x2f5))/0x7*(-parseInt(_0x2b0c0d(0xfd))/0x8)+-parseInt(_0x2b0c0d(0x1d3))/0x9+parseInt(_0x2b0c0d(0x328))/0xa+parseInt(_0x2b0c0d(0x2fc))/0xb*(-parseInt(_0x2b0c0d(0x31e))/0xc);if(_0x1bca38===_0x3c6235)break;else _0x4bc7a3['push'](_0x4bc7a3['shift']());}catch(_0x1599e7){_0x4bc7a3['push'](_0x4bc7a3['shift']());}}}(_0xddf4,0x9c616),function(_0x313e7c,_0x52d54b){const _0x3da7a7=_0x1234;typeof exports==_0x3da7a7(0x219)&&typeof module<'u'?_0x52d54b(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('@univerjs/design'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-filter'),require('react/jsx-runtime'),require('react'),require('@univerjs-pro/collaboration-client-ui')):typeof define=='function'&&define['amd']?define([_0x3da7a7(0x19f),_0x3da7a7(0x2ff),_0x3da7a7(0x2d0),_0x3da7a7(0x280),'@univerjs/drawing',_0x3da7a7(0x1dd),_0x3da7a7(0x330),'@univerjs/sheets-ui',_0x3da7a7(0x1da),_0x3da7a7(0x117),_0x3da7a7(0xec),_0x3da7a7(0x1ef),_0x3da7a7(0x323),_0x3da7a7(0x2c0),_0x3da7a7(0x20c),_0x3da7a7(0x1eb),'@univerjs/sheets-filter',_0x3da7a7(0x165),_0x3da7a7(0x216),'@univerjs-pro/collaboration-client-ui'],_0x52d54b):(_0x313e7c=typeof globalThis<'u'?globalThis:_0x313e7c||self,_0x52d54b(_0x313e7c[_0x3da7a7(0x227)]={},_0x313e7c[_0x3da7a7(0x270)],_0x313e7c[_0x3da7a7(0x2b3)],_0x313e7c[_0x3da7a7(0x2b2)],_0x313e7c[_0x3da7a7(0x115)],_0x313e7c['UniverEngineRender'],_0x313e7c[_0x3da7a7(0x259)],_0x313e7c[_0x3da7a7(0x1f6)],_0x313e7c[_0x3da7a7(0x317)],_0x313e7c['UniverDesign'],_0x313e7c[_0x3da7a7(0x148)],_0x313e7c['rxjs'],_0x313e7c[_0x3da7a7(0x228)],_0x313e7c[_0x3da7a7(0x142)],_0x313e7c[_0x3da7a7(0x210)],_0x313e7c[_0x3da7a7(0x2f9)],_0x313e7c[_0x3da7a7(0x1e8)],_0x313e7c[_0x3da7a7(0x2c2)],_0x313e7c[_0x3da7a7(0x2c2)],_0x313e7c[_0x3da7a7(0x1b1)]));}(this,function(_0x10d983,_0x31bbcc,_0x28124e,_0x362e90,_0x3d4b38,_0x3ad675,_0x3ce9c5,_0x7da741,_0x20c686,_0xdd5d02,_0x20148a,_0x41005e,_0x16bdb7,_0x363a77,_0x3435f9,_0xf24397,_0x67c81,_0x39e60c,_0x502a43,_0x33458a){'use strict';const _0xd971d0=_0x1234;var _0x2bd0ef=Object[_0xd971d0(0x1dc)],_0x4c971e=(_0x4de466,_0x14616d,_0x2bdc71)=>_0x14616d in _0x4de466?_0x2bd0ef(_0x4de466,_0x14616d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2bdc71}):_0x4de466[_0x14616d]=_0x2bdc71,_0x1980b0=(_0x3e22a6,_0x550361,_0x46023a)=>_0x4c971e(_0x3e22a6,typeof _0x550361!=_0xd971d0(0x1f5)?_0x550361+'':_0x550361,_0x46023a);const _0x4b6a56='edit-history-viewer.config',_0x2d6f67={};var _0x11d376=Object[_0xd971d0(0x31b)],_0x10fc11=(_0xdf8df2,_0x409c6e,_0x466e6b,_0x250d2a)=>{const _0x5ee491=_0xd971d0;for(var _0x4ff804=_0x250d2a>0x1?void 0x0:_0x250d2a?_0x11d376(_0x409c6e,_0x466e6b):_0x409c6e,_0x3620f5=_0xdf8df2[_0x5ee491(0x311)]-0x1,_0x346559;_0x3620f5>=0x0;_0x3620f5--)(_0x346559=_0xdf8df2[_0x3620f5])&&(_0x4ff804=_0x346559(_0x4ff804)||_0x4ff804);return _0x4ff804;},_0x4cb6c3=(_0x50c56c,_0x2af9a0)=>(_0x56cf10,_0x95e0d6)=>_0x2af9a0(_0x56cf10,_0x95e0d6,_0x50c56c);let _0x48b2ea=class extends _0x362e90[_0xd971d0(0x2fb)]{constructor(_0x494029){const _0x2e0f74=_0xd971d0;super(),this[_0x2e0f74(0x205)]=_0x494029,this[_0x2e0f74(0x261)]();}[_0xd971d0(0x261)](){const _0x51a0f5=_0xd971d0;this[_0x51a0f5(0x32f)](this['_cellEditorManagerService'][_0x51a0f5(0x17d)]['subscribe'](_0x17b262=>{const _0x399410=_0x51a0f5;_0x17b262!=null&&_0x17b262['show']&&this[_0x399410(0x205)][_0x399410(0x1c4)]({'show':!0x1});}));}};_0x48b2ea=_0x10fc11([_0x4cb6c3(0x0,_0x7da741['ICellEditorManagerService'])],_0x48b2ea);var _0x3cdc91=(_0xf3b4e2=>(_0xf3b4e2[_0xf3b4e2['UNDEFINED']=0x0]=_0xd971d0(0x30d),_0xf3b4e2[_0xf3b4e2['OK']=0x1]='OK',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x31a)]=0x2]=_0xd971d0(0x31a),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x154)]=0x3]='PERMISSION_DENIED',_0xf3b4e2[_0xf3b4e2['NOT_FOUND']=0x4]=_0xd971d0(0x252),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x298)]=0x5]=_0xd971d0(0x298),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x21f)]=0x6]=_0xd971d0(0x21f),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x1d7)]=0x7]=_0xd971d0(0x1d7),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x1e2)]=0x8]=_0xd971d0(0x1e2),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x238)]=0x9]=_0xd971d0(0x238),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x123)]=0xa]=_0xd971d0(0x123),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x1fd)]=0xb]=_0xd971d0(0x1fd),_0xf3b4e2[_0xf3b4e2['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xf3b4e2[_0xf3b4e2['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x100)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x110)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x131)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0xf3b4e2[_0xf3b4e2['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0xd971d0(0x332),_0xf3b4e2[_0xf3b4e2['ERROR_AGAIN']=0x65]=_0xd971d0(0x2ad),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2cc)]=0xc9]=_0xd971d0(0x2cc),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x1b0)]=0xca]=_0xd971d0(0x1b0),_0xf3b4e2[_0xf3b4e2['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xd971d0(0xe3),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x1a7)]=0x1771]=_0xd971d0(0x1a7),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x124)]=0x1772]=_0xd971d0(0x124),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x192)]=0x1773]=_0xd971d0(0x192),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x13d)]=0x1b59]=_0xd971d0(0x13d),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x1a5)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x32c)]=0x1b5b]=_0xd971d0(0x32c),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x24a)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x264)]=0x1b5d]=_0xd971d0(0x264),_0xf3b4e2[_0xf3b4e2['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x285)]=0x2329]=_0xd971d0(0x285),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0xe7)]=0x232a]=_0xd971d0(0xe7),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2c5)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2dc)]=0x232c]=_0xd971d0(0x2dc),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x209)]=0x232d]=_0xd971d0(0x209),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2f4)]=0x2711]=_0xd971d0(0x2f4),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x24b)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xf3b4e2[_0xf3b4e2['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xf3b4e2[_0xf3b4e2['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xd971d0(0x127),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x303)]=0x271a]=_0xd971d0(0x303),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2a8)]=0x271b]=_0xd971d0(0x2a8),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x1ba)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2f3)]=0x271d]=_0xd971d0(0x2f3),_0xf3b4e2[_0xf3b4e2['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x1e7)]=0x271f]=_0xd971d0(0x1e7),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x316)]=0x2720]=_0xd971d0(0x316),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0xfb)]=0x2af9]=_0xd971d0(0xfb),_0xf3b4e2[_0xf3b4e2['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0xd971d0(0xf0),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2c4)]=0x2ee2]=_0xd971d0(0x2c4),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x22b)]=0x2ee3]='INVITE_CODE_REQUIRED',_0xf3b4e2[_0xf3b4e2['USER_NOT_INVITED_CODE']=0x2ee4]=_0xd971d0(0x1ce),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2c8)]=0x2ee5]=_0xd971d0(0x2c8),_0xf3b4e2[_0xf3b4e2['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xd971d0(0x14a),_0xf3b4e2[_0xf3b4e2['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x334)]=0x32cb]=_0xd971d0(0x334),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x19b)]=0x36b1]=_0xd971d0(0x19b),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x1bf)]=0x36b2]=_0xd971d0(0x1bf),_0xf3b4e2[_0xf3b4e2['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0xd971d0(0x108),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x18b)]=0x36b4]=_0xd971d0(0x18b),_0xf3b4e2[_0xf3b4e2['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0xd971d0(0x13e),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2df)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x106)]=0x36b7]=_0xd971d0(0x106),_0xf3b4e2[_0xf3b4e2['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0xd971d0(0x2d2),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x29d)]=0x3715]=_0xd971d0(0x29d),_0xf3b4e2[_0xf3b4e2['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0xd971d0(0x1e3),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x13f)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x263)]=0x37dd]=_0xd971d0(0x263),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x107)]=0x3a99]=_0xd971d0(0x107),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x279)]=0x3a9a]=_0xd971d0(0x279),_0xf3b4e2[_0xf3b4e2['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0xd971d0(0x31c),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2e6)]=0x3a9c]=_0xd971d0(0x2e6),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x1c2)]=0x3a9d]=_0xd971d0(0x1c2),_0xf3b4e2[_0xf3b4e2['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0xd971d0(0x240),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x102)]=0x3a9f]=_0xd971d0(0x102),_0xf3b4e2[_0xf3b4e2[_0xd971d0(0x2b7)]=0x3e81]=_0xd971d0(0x2b7),_0xf3b4e2[_0xf3b4e2['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xf3b4e2))(_0x3cdc91||{}),_0xb8b1fa=(_0x108bce=>(_0x108bce[_0x108bce[_0xd971d0(0x109)]=0x0]=_0xd971d0(0x109),_0x108bce[_0x108bce[_0xd971d0(0x15f)]=0x1]=_0xd971d0(0x15f),_0x108bce[_0x108bce['UNIVER_SHEET']=0x2]=_0xd971d0(0xfc),_0x108bce[_0x108bce[_0xd971d0(0x1c0)]=0x3]=_0xd971d0(0x1c0),_0x108bce[_0x108bce[_0xd971d0(0x1d1)]=0x4]='UNIVER_PROJECT',_0x108bce[_0x108bce[_0xd971d0(0x17a)]=-0x1]=_0xd971d0(0x17a),_0x108bce))(_0xb8b1fa||{}),_0x5a947f=(_0x42b593=>(_0x42b593[_0x42b593[_0xd971d0(0x226)]=0x0]='View',_0x42b593[_0x42b593[_0xd971d0(0x11c)]=0x1]='Edit',_0x42b593[_0x42b593[_0xd971d0(0x27c)]=0x2]='ManageCollaborator',_0x42b593[_0x42b593[_0xd971d0(0x288)]=0x3]='Print',_0x42b593[_0x42b593['Duplicate']=0x4]=_0xd971d0(0x307),_0x42b593[_0x42b593['Comment']=0x5]=_0xd971d0(0x126),_0x42b593[_0x42b593[_0xd971d0(0x2b1)]=0x6]='Copy',_0x42b593[_0x42b593[_0xd971d0(0x19c)]=0x7]=_0xd971d0(0x19c),_0x42b593[_0x42b593[_0xd971d0(0xea)]=0x8]=_0xd971d0(0xea),_0x42b593[_0x42b593[_0xd971d0(0x2e4)]=0x9]=_0xd971d0(0x2e4),_0x42b593[_0x42b593[_0xd971d0(0x27a)]=0xa]='DeleteWorksheet',_0x42b593[_0x42b593[_0xd971d0(0x1cf)]=0xb]=_0xd971d0(0x1cf),_0x42b593[_0x42b593['RenameWorksheet']=0xc]=_0xd971d0(0x121),_0x42b593[_0x42b593['CreateWorksheet']=0xd]=_0xd971d0(0x16e),_0x42b593[_0x42b593[_0xd971d0(0x289)]=0xe]=_0xd971d0(0x289),_0x42b593[_0x42b593[_0xd971d0(0x290)]=0xf]=_0xd971d0(0x290),_0x42b593[_0x42b593[_0xd971d0(0x2ca)]=0x10]=_0xd971d0(0x2ca),_0x42b593[_0x42b593['Sort']=0x11]=_0xd971d0(0x30f),_0x42b593[_0x42b593[_0xd971d0(0x12f)]=0x12]=_0xd971d0(0x12f),_0x42b593[_0x42b593['PivotTable']=0x13]=_0xd971d0(0x2b5),_0x42b593[_0x42b593[_0xd971d0(0x2bc)]=0x14]=_0xd971d0(0x2bc),_0x42b593[_0x42b593[_0xd971d0(0x1c5)]=0x15]=_0xd971d0(0x1c5),_0x42b593[_0x42b593[_0xd971d0(0x160)]=0x16]=_0xd971d0(0x160),_0x42b593[_0x42b593['ViemRwHgtClWdt']=0x17]=_0xd971d0(0x189),_0x42b593[_0x42b593['ViewFilter']=0x18]=_0xd971d0(0x22c),_0x42b593[_0x42b593[_0xd971d0(0x207)]=0x19]=_0xd971d0(0x207),_0x42b593[_0x42b593['DeleteSheet']=0x1a]=_0xd971d0(0x1cd),_0x42b593[_0x42b593[_0xd971d0(0x278)]=0x1b]=_0xd971d0(0x278),_0x42b593[_0x42b593['CopySheet']=0x1c]=_0xd971d0(0x319),_0x42b593[_0x42b593['RenameSheet']=0x1d]=_0xd971d0(0x19d),_0x42b593[_0x42b593[_0xd971d0(0xf7)]=0x1e]=_0xd971d0(0xf7),_0x42b593[_0x42b593[_0xd971d0(0xf9)]=0x1f]=_0xd971d0(0xf9),_0x42b593[_0x42b593['SelectUnProtectedCells']=0x20]='SelectUnProtectedCells',_0x42b593[_0x42b593[_0xd971d0(0x338)]=0x21]=_0xd971d0(0x338),_0x42b593[_0x42b593['SetCellValue']=0x22]='SetCellValue',_0x42b593[_0x42b593[_0xd971d0(0x269)]=0x23]=_0xd971d0(0x269),_0x42b593[_0x42b593[_0xd971d0(0x277)]=0x24]='SetColumnStyle',_0x42b593[_0x42b593[_0xd971d0(0x33a)]=0x25]=_0xd971d0(0x33a),_0x42b593[_0x42b593[_0xd971d0(0xfa)]=0x26]='InsertColumn',_0x42b593[_0x42b593['DeleteRow']=0x27]=_0xd971d0(0x129),_0x42b593[_0x42b593[_0xd971d0(0x104)]=0x28]=_0xd971d0(0x104),_0x42b593[_0x42b593[_0xd971d0(0x318)]=0x29]='EditExtraObject',_0x42b593[_0x42b593[_0xd971d0(0x2dd)]=0x2a]=_0xd971d0(0x2dd),_0x42b593[_0x42b593[_0xd971d0(0x242)]=0x2b]=_0xd971d0(0x242),_0x42b593[_0x42b593[_0xd971d0(0x314)]=0x2c]=_0xd971d0(0x314),_0x42b593[_0x42b593[_0xd971d0(0x1a8)]=0x2d]=_0xd971d0(0x1a8),_0x42b593[_0x42b593[_0xd971d0(0x17a)]=-0x1]='UNRECOGNIZED',_0x42b593))(_0x5a947f||{});function _0x4b6771(_0x3a555c){const _0x398967=_0xd971d0;return!!(_0x3a555c&&_0x3a555c[_0x398967(0x256)]&&_0x3a555c[_0x398967(0x256)]!==_0x3cdc91['OK']&&_0x3a555c['code']!=='OK');}const _0x5dbd4d=(_0x3f454d,_0x6c1e90)=>{const _0x4a66d5=_0xd971d0;if(!_0x3f454d)return{'date':'','time':''};const _0x5bd0e0=new Date(_0x3f454d),_0x37348f=_0x5bd0e0[_0x4a66d5(0x326)]()['split']('T')[0x0];switch(_0x6c1e90){case _0x362e90[_0x4a66d5(0x305)][_0x4a66d5(0xee)]:return{'date':_0x3e1cfe(_0x37348f,_0x6c1e90),'time':_0x5bd0e0[_0x4a66d5(0x1f3)]()+':'+String(_0x5bd0e0[_0x4a66d5(0x1f0)]())[_0x4a66d5(0x275)](0x2,'0')+':'+String(_0x5bd0e0[_0x4a66d5(0x2bd)]())['padStart'](0x2,'0')};default:return{'date':_0x3e1cfe(_0x37348f,_0x6c1e90),'time':_0x5bd0e0[_0x4a66d5(0x1f3)]()+':'+_0x5bd0e0[_0x4a66d5(0x1f0)]()+':'+_0x5bd0e0[_0x4a66d5(0x2bd)]()};}},_0x43830a=(_0x1d0f97,_0x5db068)=>{const _0x30e5d3=_0xd971d0,_0x1129af=_0x1d0f97[_0x30e5d3(0x28c)]||_0x5db068['t'](_0x30e5d3(0x1bc));if(_0x1d0f97[_0x30e5d3(0x1de)][_0x30e5d3(0x25d)](_0x443e63=>_0x443e63===_0x31bbcc[_0x30e5d3(0x163)]['id'])&&_0x1d0f97[_0x30e5d3(0x23d)]){const _0x5e09ae=_0x5dbd4d(_0x1d0f97[_0x30e5d3(0x23d)],_0x5db068[_0x30e5d3(0x293)]()),_0x10a479=_0x5e09ae[_0x30e5d3(0x2eb)]+'\x20'+_0x5e09ae['time'];return _0x1129af+'\x20'+_0x5db068['t'](_0x30e5d3(0x266))+'\x20'+_0x10a479+'\x20'+_0x5db068['t'](_0x30e5d3(0x141));}const _0xa66ef9=_0x82ddf9(_0x1d0f97),_0x3948dd=_0xa66ef9[_0x30e5d3(0x311)]===0x1?_0x5db068['t'](_0xa66ef9[0x0]):''+_0x5db068['t'](_0xa66ef9[0x0])+_0x5db068['t'](_0x30e5d3(0x2b4));return _0x1129af+'\x20'+_0x3948dd;};function _0x82ddf9(_0x1cdbda){const _0x1e37ed=_0xd971d0;if(_0x1cdbda[_0x1e37ed(0x1de)]['length']===0x0)return[''];const _0x4897f0=_0x1e37ed(0xe9),_0x34eb3a=_0x4897f0+_0x1e37ed(0x27d),_0x139c63=[{'id':_0x31bbcc['CreateUnitMutation']['id'],'action':_0x4897f0+'createSheet'},{'id':_0x31bbcc[_0x1e37ed(0x163)]['id'],'action':_0x4897f0+_0x1e37ed(0x2b9)},{'id':_0x20148a[_0x1e37ed(0x2e8)]['id'],'action':_0x4897f0+_0x1e37ed(0x1f2)},{'id':_0x20148a[_0x1e37ed(0x21c)]['id'],'action':_0x4897f0+'removeSheet'},{'id':_0x20148a[_0x1e37ed(0x14c)]['id'],'action':_0x4897f0+_0x1e37ed(0x2ee)},{'id':_0x67c81[_0x1e37ed(0x1f1)]['id'],'action':_0x4897f0+_0x1e37ed(0x1d8)},{'id':_0x3435f9['AddDataValidationMutation']['id'],'action':_0x4897f0+_0x1e37ed(0xe5)},{'id':_0x3435f9[_0x1e37ed(0x25a)]['id'],'action':_0x4897f0+_0x1e37ed(0xe5)},{'id':_0xf24397[_0x1e37ed(0xf8)]['id'],'action':_0x4897f0+_0x1e37ed(0x2a6)},{'id':_0xf24397[_0x1e37ed(0x29b)]['id'],'action':_0x4897f0+'setCF'},{'id':_0x20148a['AddWorksheetProtectionMutation']['id'],'action':_0x4897f0+_0x1e37ed(0x2b0)},{'id':_0x20148a['AddRangeProtectionMutation']['id'],'action':_0x4897f0+_0x1e37ed(0x2b0)},{'id':_0x363a77[_0x1e37ed(0x24e)]['id'],'action':_0x4897f0+_0x1e37ed(0x26c)},{'id':_0x16bdb7[_0x1e37ed(0x271)]['id'],'action':_0x4897f0+_0x1e37ed(0x112)},{'id':_0x20148a[_0x1e37ed(0x245)]['id'],'action':_0x4897f0+'deleteProtection'},{'id':_0x20148a[_0x1e37ed(0x162)]['id'],'action':_0x4897f0+_0x1e37ed(0x132)}][_0x1e37ed(0x320)](_0xe3ae62=>_0x1cdbda[_0x1e37ed(0x1de)][_0x1e37ed(0x282)](_0xe3ae62['id']));return _0x139c63!=null&&_0x139c63[_0x1e37ed(0x311)]?_0x139c63[_0x1e37ed(0x1a6)](_0x2a719c=>_0x2a719c[_0x1e37ed(0x260)]):[_0x34eb3a];}function _0x3e1cfe(_0x31cb79,_0x9190fb){const _0x2bb376=_0xd971d0,[_0x3c7443,_0x46592f,_0x592dc1]=new Date()['toISOString']()[_0x2bb376(0x191)]('T')[0x0][_0x2bb376(0x191)]('-'),[_0x3c3d7d,_0x3a936a,_0x18f03f]=_0x31cb79[_0x2bb376(0x191)]('-'),_0xe348be=_0x3c7443===_0x3c3d7d&&_0x46592f===_0x3a936a&&_0x592dc1===_0x18f03f;let _0x1e0bc8='',_0x550576='',_0x3928db='';switch(_0x9190fb){case _0x362e90[_0x2bb376(0x305)]['ZH_CN']:return _0xe348be?'今天':(_0x1e0bc8=_0x3c7443===_0x3c3d7d?'':_0x3c3d7d+'年',_0x550576=_0x3a936a+'月',_0x3928db=_0x18f03f+'日',''+_0x1e0bc8+_0x550576+_0x3928db);default:return _0xe348be?_0x2bb376(0x12d):(_0x1e0bc8=_0x3c7443===_0x3c3d7d?'':_0x3c3d7d+'-',_0x550576=_0x3a936a+'-',_0x3928db=''+_0x18f03f,''+_0x1e0bc8+_0x550576+_0x3928db);}}function _0x3435cf(_0x18270d){const _0x192dac=_0xd971d0;return _0x18270d?_0x18270d[_0x192dac(0x30a)]((_0x15b294,_0x5c9027)=>{const _0x407c56=_0x192dac,_0x526b68=new Date(_0x5c9027[_0x407c56(0x309)])[_0x407c56(0x326)]()[_0x407c56(0x191)]('T')[0x0];return _0x15b294[_0x407c56(0x311)]>0x0&&_0x15b294[_0x15b294[_0x407c56(0x311)]-0x1][_0x407c56(0x144)]===_0x526b68?_0x15b294[_0x15b294[_0x407c56(0x311)]-0x1][_0x407c56(0x1f8)][_0x407c56(0x15a)](_0x5c9027):_0x15b294[_0x407c56(0x15a)]({'dateString':_0x526b68,'versions':[_0x5c9027]}),_0x15b294;},[]):[];}var _0x3ac490=Object[_0xd971d0(0x31b)],_0x4f98a2=(_0x1de436,_0x1fcb6a,_0x112e71,_0x58cb65)=>{for(var _0x394fc5=_0x58cb65>0x1?void 0x0:_0x58cb65?_0x3ac490(_0x1fcb6a,_0x112e71):_0x1fcb6a,_0x190f1a=_0x1de436['length']-0x1,_0x3db64;_0x190f1a>=0x0;_0x190f1a--)(_0x3db64=_0x1de436[_0x190f1a])&&(_0x394fc5=_0x3db64(_0x394fc5)||_0x394fc5);return _0x394fc5;},_0x4ea9a3=(_0x474436,_0x23fc49)=>(_0x4ef790,_0x34d98d)=>_0x23fc49(_0x4ef790,_0x34d98d,_0x474436),_0x1cd6f3=(_0x47919f=>(_0x47919f[_0x47919f['Unspecified']=0x0]=_0xd971d0(0x13b),_0x47919f[_0x47919f[_0xd971d0(0x32b)]=0x1]=_0xd971d0(0x32b),_0x47919f[_0x47919f[_0xd971d0(0xfe)]=0x2]=_0xd971d0(0xfe),_0x47919f))(_0x1cd6f3||{});const _0x1afcfc=_0xd971d0(0x2a0);let _0x531cb8=class extends _0x362e90[_0xd971d0(0x2fb)]{constructor(_0x4d2f44,_0xdea50d,_0x3fa050,_0x37e15c,_0x1b707e,_0x3edb4a,_0x3fd2ca){const _0x4ff5ac=_0xd971d0;super(),_0x1980b0(this,_0x4ff5ac(0x268),new Map()),(this[_0x4ff5ac(0x267)]=_0x4d2f44,this[_0x4ff5ac(0x20e)]=_0xdea50d,this[_0x4ff5ac(0x130)]=_0x3fa050,this[_0x4ff5ac(0x147)]=_0x37e15c,this[_0x4ff5ac(0x12c)]=_0x1b707e,this['_compressMutationService']=_0x3edb4a,this[_0x4ff5ac(0x139)]=_0x3fd2ca);}[_0xd971d0(0x26f)](){const _0x1f4e97=_0xd971d0;this['_workbookDataCache'][_0x1f4e97(0x2d8)](),super['dispose']();}async['fetchCreatorList'](_0x5e8a38){const _0x361c82=_0xd971d0;try{const _0x242a70=(await this[_0x361c82(0x12c)]['get'](this['_getAPIPrefix']()+'/'+_0x5e8a38+_0x361c82(0x231)))['body'];if(_0x242a70&&_0x242a70[_0x361c82(0x10b)]&&_0x242a70['error']['code']===_0x3cdc91['OK'])return _0x242a70[_0x361c82(0x1d5)];}catch(_0x46e5e4){console[_0x361c82(0x10b)](_0x46e5e4);}return[];}async[_0xd971d0(0x183)](_0x27dcdd,_0x893538){const _0x125e37=_0xd971d0,{userIds:_0x4c685d,lastLabel:_0x296c1f,origin:_0x3fdc85}=_0x893538!=null?_0x893538:{},_0x347a4a=new URLSearchParams();_0x347a4a['set']('length','20'),_0x296c1f&&_0x347a4a['set']('lastLabel',_0x296c1f),_0x4c685d==null||_0x4c685d[_0x125e37(0x33f)](_0x16befe=>{const _0x56da37=_0x125e37;_0x347a4a[_0x56da37(0x1ed)](_0x56da37(0x29e),_0x16befe);}),_0x3fdc85&&_0x347a4a['set'](_0x125e37(0x331),_0x3fdc85[_0x125e37(0x1be)]());const _0x156f81=this[_0x125e37(0x223)]()+'/'+_0x27dcdd+_0x125e37(0x16a)+_0x347a4a[_0x125e37(0x1be)]();try{const _0x330ee6=(await this['_httpService'][_0x125e37(0x16d)](_0x156f81))[_0x125e37(0x12b)];if(_0x330ee6&&_0x330ee6[_0x125e37(0x10b)]&&_0x330ee6[_0x125e37(0x10b)]['code']===_0x3cdc91['OK']){const {hasMore:_0x20fd4f,lastLabel:_0x36e2a1}=_0x330ee6,_0x469ff3=_0x533ef0(_0x330ee6),_0x4e0c3c=_0x330ee6[_0x125e37(0x2d1)]['users'];return{'hasMore':_0x20fd4f,'lastLabel':_0x36e2a1,'versions':_0x469ff3,'members':_0x4e0c3c};}}catch(_0x522310){console[_0x125e37(0x10b)](_0x522310);}return null;}[_0xd971d0(0x223)](){const _0x21ea16=_0xd971d0;var _0x528a3a;const _0x3a8702=this[_0x21ea16(0x147)][_0x21ea16(0x23f)](_0x4b6a56);return(_0x528a3a=_0x3a8702==null?void 0x0:_0x3a8702[_0x21ea16(0x15d)])!=null?_0x528a3a:_0x1afcfc;}async[_0xd971d0(0x152)](_0x119002,_0x368924,_0x25cfc4){const _0x478f95=_0xd971d0;var _0x210328,_0x3d9f55;_0x25cfc4===void 0x0&&(_0x25cfc4={}),this[_0x478f95(0x268)][_0x478f95(0x18c)](_0x119002)||this['_workbookDataCache'][_0x478f95(0x1b9)](_0x119002,new Map());const {snapshot:_0x5591a3,changesets:_0xb6299a,error:_0x4471b8}=await this[_0x478f95(0x267)][_0x478f95(0x220)](_0x25cfc4,{'unitID':_0x119002,'type':_0xb8b1fa[_0x478f95(0xfc)],'revision':_0x368924});if(_0x4b6771(_0x4471b8)||!_0x5591a3||!_0x5591a3[_0x478f95(0x212)])throw new Error(_0x478f95(0x195));const _0x556bba=(_0x210328=_0xb6299a==null?void 0x0:_0xb6299a[_0x478f95(0x311)])!=null?_0x210328:0x0;if(_0x368924!==0x0&&_0x5591a3[_0x478f95(0x155)]+_0x556bba!==_0x368924)throw new Error(_0x478f95(0x1cb));const {workbook:_0x150117}=_0x5591a3,_0x1781a3=_0x150117['blockMeta']?Object[_0x478f95(0x306)](_0x150117['blockMeta'])[_0x478f95(0x1a6)](([_0x55d3a9,_0x40876b])=>{const _0x4e1187=_0x478f95;var _0x4b0342,_0x1e9074;return(_0x1e9074=(_0x4b0342=_0x40876b[_0x4e1187(0x300)])==null?void 0x0:_0x4b0342['map'](_0x47d550=>_0x47d550))!=null?_0x1e9074:[];})[_0x478f95(0x321)]():[],_0x29b688=(await Promise[_0x478f95(0x14f)](_0x1781a3[_0x478f95(0x1a6)](_0x25a3a2=>this[_0x478f95(0x267)]['getDeserializedSheetBlock'](_0x25cfc4,{'unitID':_0x119002,'type':_0xb8b1fa['UNIVER_SHEET'],'blockID':_0x25a3a2})['then'](_0x40ce4a=>_0x40ce4a[_0x478f95(0x1c3)]))))[_0x478f95(0x320)](_0x294cd3=>!!_0x294cd3),_0x3dc002=await _0x31bbcc['transformSnapshotToWorkbookData'](_0x5591a3,_0x29b688,_0x25cfc4);return(_0x3d9f55=this[_0x478f95(0x268)]['get'](_0x119002))==null||_0x3d9f55[_0x478f95(0x1b9)](_0x368924,{'workbook':_0x3dc002}),new Promise(_0x39448b=>{const _0x2f575e=_0x478f95,_0x34b8e0=this['_univerInstanceService']['getCurrentUnitForType'](_0x362e90[_0x2f575e(0x164)][_0x2f575e(0xfc)]);_0x34b8e0?(this[_0x2f575e(0x20e)]['disposeUnit'](_0x34b8e0[_0x2f575e(0x200)]()),setTimeout(()=>{const _0x1e22cc=_0x2f575e;this['_createUnit'](_0x3dc002,_0xb6299a),this[_0x1e22cc(0x139)][_0x1e22cc(0x324)](),_0x39448b(!0x0);},0x0)):(this['_createUnit'](_0x3dc002,_0xb6299a),_0x39448b(!0x0));});}['_createUnit'](_0x528d3a,_0x12af96){const _0x3fcee4=_0xd971d0,_0x275e99=this[_0x3fcee4(0x20e)][_0x3fcee4(0x14e)](_0x362e90[_0x3fcee4(0x164)][_0x3fcee4(0xfc)],_0x528d3a);this['_univerInstanceService']['focusUnit'](_0x275e99[_0x3fcee4(0x200)]());const _0x528e21=this[_0x3fcee4(0x2d4)][_0x3fcee4(0x1df)][_0x3fcee4(0x2f8)](this[_0x3fcee4(0x2d4)][_0x3fcee4(0x1df)][_0x3fcee4(0x23a)]()['COMPRESS_MUTATION_APPLY']);return _0x12af96==null||_0x12af96['forEach'](_0x16cde1=>{const _0x285a8d=_0x3fcee4,_0x2ea9e6=_0x16cde1[_0x285a8d(0x1c9)]['map'](_0x1c11ca=>({'id':_0x1c11ca['id'],'params':JSON['parse'](_0x1c11ca[_0x285a8d(0x22a)])}));({..._0x16cde1,'mutations':_0x528e21(_0x2ea9e6,null)||_0x2ea9e6}['mutations'][_0x285a8d(0x33f)](_0x1935ab=>{const _0x2c4c38=_0x285a8d;this[_0x2c4c38(0x130)][_0x2c4c38(0x184)](_0x1935ab['id'])&&this[_0x2c4c38(0x130)][_0x2c4c38(0x21b)](_0x1935ab['id'],_0x1935ab['params']);}));}),_0x275e99;}};_0x531cb8=_0x4f98a2([_0x4ea9a3(0x0,_0x31bbcc[_0xd971d0(0x1ae)]),_0x4ea9a3(0x1,_0x362e90['IUniverInstanceService']),_0x4ea9a3(0x2,_0x362e90[_0xd971d0(0x272)]),_0x4ea9a3(0x3,_0x362e90[_0xd971d0(0x198)]),_0x4ea9a3(0x4,_0x362e90[_0xd971d0(0x32a)](_0x3ce9c5[_0xd971d0(0x29f)])),_0x4ea9a3(0x5,_0x362e90['Inject'](_0x31bbcc['CompressMutationService'])),_0x4ea9a3(0x6,_0x362e90[_0xd971d0(0x32a)](_0x20148a[_0xd971d0(0x1d9)]))],_0x531cb8);function _0x533ef0(_0x3a18d5){const _0x2519e3=_0xd971d0;var _0x580f7b,_0x3ee792;const _0x9d07fd=[],{entities:_0x497d25,historyIds:_0x34af13}=_0x3a18d5,{datas:_0x4cf94f,users:_0x3e21dd}=_0x497d25;for(const _0x2b101b of _0x34af13){const _0x2a2240=_0x4cf94f[_0x2b101b];if(_0x2a2240){const _0x19ff90=!!((_0x580f7b=_0x3e21dd[_0x2a2240[_0x2519e3(0x1e5)]])!=null&&_0x580f7b[_0x2519e3(0x239)]);_0x9d07fd[_0x2519e3(0x15a)]({'unitId':_0x2a2240[_0x2519e3(0x2fa)],'user':_0x19ff90?'':((_0x3ee792=_0x3e21dd==null?void 0x0:_0x3e21dd[_0x2a2240[_0x2519e3(0x1e5)]])==null?void 0x0:_0x3ee792[_0x2519e3(0x203)])||'','isAnonymous':_0x19ff90,'id':_0x2b101b,'time':_0x2a2240[_0x2519e3(0x250)]?Number(_0x2a2240[_0x2519e3(0x250)]):void 0x0,'commands':_0x2a2240[_0x2519e3(0x1ee)],'startRev':Number(_0x2a2240['startRevision']),'endRev':Number(_0x2a2240['endRevision']),'recoverTime':_0x2a2240[_0x2519e3(0x23d)]?Number(_0x2a2240['recoverTime']):void 0x0,'additionalFields':_0x2a2240[_0x2519e3(0x295)]});}}return _0x9d07fd;}var _0x10a1e8=Object[_0xd971d0(0x31b)],_0x4ba8ee=(_0x14a83a,_0x47b304,_0x2f80cc,_0xa78fef)=>{const _0x9d7d13=_0xd971d0;for(var _0x1460fe=_0xa78fef>0x1?void 0x0:_0xa78fef?_0x10a1e8(_0x47b304,_0x2f80cc):_0x47b304,_0x29fa91=_0x14a83a[_0x9d7d13(0x311)]-0x1,_0x31844d;_0x29fa91>=0x0;_0x29fa91--)(_0x31844d=_0x14a83a[_0x29fa91])&&(_0x1460fe=_0x31844d(_0x1460fe)||_0x1460fe);return _0x1460fe;},_0x53f3c6=(_0x2324dc,_0x31228c)=>(_0x48c7ea,_0x1470d9)=>_0x31228c(_0x48c7ea,_0x1470d9,_0x2324dc),_0x27d434=(_0x24f6da=>(_0x24f6da[_0xd971d0(0x1bb)]=_0xd971d0(0x21d),_0x24f6da[_0xd971d0(0xf4)]='exited',_0x24f6da[_0xd971d0(0x20f)]=_0xd971d0(0x10b),_0x24f6da))(_0x27d434||{}),_0x5108cc=(_0x372f73=>(_0x372f73[_0xd971d0(0x218)]=_0xd971d0(0x177),_0x372f73[_0xd971d0(0x322)]=_0xd971d0(0x24f),_0x372f73[_0xd971d0(0x20b)]=_0xd971d0(0x128),_0x372f73))(_0x5108cc||{});const _0x1e5d5f=_0xd971d0(0x2da);_0x10d983[_0xd971d0(0x281)]=class extends _0x362e90['Disposable']{constructor(_0x196d42,_0x4736f0,_0x1095de,_0x480de0){const _0x413fb5=_0xd971d0;super(),_0x1980b0(this,_0x413fb5(0x2e2),new _0x41005e[(_0x413fb5(0x180))]([])),_0x1980b0(this,_0x413fb5(0x297),this[_0x413fb5(0x2e2)][_0x413fb5(0x292)]()),_0x1980b0(this,'_currentVersion$',new _0x41005e[(_0x413fb5(0x180))]('')),_0x1980b0(this,_0x413fb5(0x12e),this[_0x413fb5(0x136)][_0x413fb5(0x292)]()),_0x1980b0(this,_0x413fb5(0x299),new _0x41005e[(_0x413fb5(0x180))](_0x413fb5(0x21d))),_0x1980b0(this,'status$',this[_0x413fb5(0x299)]['asObservable']()),_0x1980b0(this,_0x413fb5(0xff),new _0x41005e[(_0x413fb5(0x180))](0x0)),_0x1980b0(this,_0x413fb5(0x2ec),this[_0x413fb5(0xff)][_0x413fb5(0x292)]()),_0x1980b0(this,_0x413fb5(0x253),new _0x41005e[(_0x413fb5(0x180))]('')),_0x1980b0(this,'unitId$',this['_unitId$']['asObservable']()),_0x1980b0(this,'_fetching$',new _0x41005e['BehaviorSubject'](!0x1)),_0x1980b0(this,_0x413fb5(0x185),this[_0x413fb5(0x18e)][_0x413fb5(0x292)]()),_0x1980b0(this,'_creators$',new _0x41005e[(_0x413fb5(0x180))]([])),_0x1980b0(this,'creators$',this[_0x413fb5(0x1b8)][_0x413fb5(0x292)]()),_0x1980b0(this,_0x413fb5(0x28d),new _0x41005e['BehaviorSubject'](_0x413fb5(0x177))),_0x1980b0(this,'loadingState$',this[_0x413fb5(0x28d)][_0x413fb5(0x292)]()),_0x1980b0(this,_0x413fb5(0x16c),null),_0x1980b0(this,_0x413fb5(0x2cd),!0x0),_0x1980b0(this,_0x413fb5(0x2cf),new Map()),_0x1980b0(this,_0x413fb5(0x1d2)),_0x1980b0(this,_0x413fb5(0x232)),_0x1980b0(this,_0x413fb5(0x140)),_0x1980b0(this,_0x413fb5(0xeb),!0x1),_0x1980b0(this,'_loadParams',null),(this['_messageService']=_0x196d42,this['_confirmService']=_0x4736f0,this[_0x413fb5(0x194)]=_0x1095de,this[_0x413fb5(0x2a1)]=_0x480de0);}['_setFetching'](_0x585d96){const _0x16b4dd=_0xd971d0;this[_0x16b4dd(0x18e)][_0x16b4dd(0x204)](_0x585d96);}get[_0xd971d0(0x2b8)](){const _0x3b986d=_0xd971d0;return this[_0x3b986d(0x18e)][_0x3b986d(0x2af)];}async[_0xd971d0(0xf6)](_0x58294f,_0x473b3d,_0x322a86){const _0x47b859=_0xd971d0;this[_0x47b859(0x1d2)]=_0x473b3d,this['_canRevert']=_0x322a86,await this[_0x47b859(0x234)](_0x58294f);}async['loadInitialVersions'](_0x5cf328,_0x179c08){const _0x30e1a0=_0xd971d0;this[_0x30e1a0(0x253)][_0x30e1a0(0x204)](_0x5cf328),this[_0x30e1a0(0x235)]=_0x179c08!=null?_0x179c08:null,this[_0x30e1a0(0x134)](!0x0);const _0xca0ab=await this[_0x30e1a0(0x2a1)][_0x30e1a0(0x183)](_0x5cf328,_0x179c08);if(this['_setFetching'](!0x1),_0xca0ab){const {versions:_0x41ca39,lastLabel:_0x2d88b0,hasMore:_0x3387c7,members:_0x4504b3}=_0xca0ab;_0x41ca39['length']===0x0&&_0x41ca39[_0x30e1a0(0x15a)]({'unitId':_0x5cf328,'id':_0x1e5d5f,'startRev':0x1,'endRev':0x0,'time':Date[_0x30e1a0(0x26b)](),'user':this['_localeService']['t'](_0x30e1a0(0x170)),'commands':[],'isAnonymous':!0x1}),this[_0x30e1a0(0x248)](_0x41ca39,_0x3387c7,_0x2d88b0,!0x1,_0x4504b3),this['_currentVersion$'][_0x30e1a0(0x204)](_0x41ca39[0x0]['id']);}else this[_0x30e1a0(0x299)][_0x30e1a0(0x204)](_0x30e1a0(0x10b));}async[_0xd971d0(0x116)](){const _0x59d8d2=_0xd971d0;if(!this[_0x59d8d2(0x16c)]||!this[_0x59d8d2(0x2cd)]||this[_0x59d8d2(0x2b8)])return!0x1;this[_0x59d8d2(0x134)](!0x0);const _0x487db2=await this[_0x59d8d2(0x2a1)][_0x59d8d2(0x183)](this['unitId'],{'lastLabel':this[_0x59d8d2(0x16c)],...this['_loadParams']});if(this[_0x59d8d2(0x134)](!0x1),_0x487db2){const {versions:_0x2af00e,lastLabel:_0x120b37,hasMore:_0x135fd4,members:_0x186bc4}=_0x487db2;this[_0x59d8d2(0x248)](_0x2af00e,_0x135fd4,_0x120b37,!0x0,_0x186bc4);}else this[_0x59d8d2(0x315)][_0x59d8d2(0x2e0)]({'content':this['_localeService']['t'](_0x59d8d2(0x28a)),'type':_0xdd5d02['MessageType'][_0x59d8d2(0x20f)],'duration':0xbb8});return!0x0;}async[_0xd971d0(0x2ab)](){const _0x5c4b7a=_0xd971d0,{unitId:_0x3973bb}=this;if(!_0x3973bb)return;const _0x167ff8=await this['_historyFetchService'][_0x5c4b7a(0x158)](_0x3973bb);_0x167ff8&&this[_0x5c4b7a(0x1b8)][_0x5c4b7a(0x204)](_0x167ff8);}async['triggerLoadSheet'](_0x15f571){const _0x3ac446=_0xd971d0;var _0x4fda0f;const _0x1aa3f8=(_0x4fda0f=this[_0x3ac446(0x2e2)][_0x3ac446(0x2af)])==null?void 0x0:_0x4fda0f[_0x3ac446(0x30b)](_0x3546c2=>_0x3546c2['id']===_0x15f571),{endRev:_0xa56af6}=_0x1aa3f8||{};_0xa56af6||_0xa56af6===0x0?(this['_loadingState$']['next'](_0x3ac446(0x24f)),await this[_0x3ac446(0x2a1)][_0x3ac446(0x152)](this[_0x3ac446(0x2fa)],_0xa56af6),this['_loadingState$'][_0x3ac446(0x204)](_0x3ac446(0x128))):this[_0x3ac446(0x299)][_0x3ac446(0x204)](_0x3ac446(0x10b));}async[_0xd971d0(0x2e5)](_0x2254fd){const _0xcf2149=_0xd971d0,_0x257e55=_0x2254fd?this[_0xcf2149(0x15b)](_0x2254fd):this[_0xcf2149(0x21a)]();if(!_0x257e55)return;const _0x3129b3=_0x257e55['endRev'],_0x5e12a4=_0x5dbd4d(_0x257e55[_0xcf2149(0x309)],this[_0xcf2149(0x194)][_0xcf2149(0x293)]());await this['_confirmService'][_0xcf2149(0x1e6)]({'id':_0xcf2149(0x159),'title':{'title':this['_localeService']['t'](_0xcf2149(0x1c8))},'children':{'title':this[_0xcf2149(0x194)]['t']('editHistory.panel.revertConfirmText')+_0xcf2149(0x125)+_0x5e12a4[_0xcf2149(0x2eb)]+'\x20'+_0x5e12a4['time']+')'},'cancelText':this[_0xcf2149(0x194)]['t'](_0xcf2149(0x1d4)),'confirmText':this['_localeService']['t'](_0xcf2149(0x2ac))})&&this['_revertRevision$'][_0xcf2149(0x204)](_0x3129b3);}[_0xd971d0(0x248)](_0x288ee0,_0x1159a3,_0x29518a,_0x4c235e,_0x1e177d){const _0x4aa4f7=_0xd971d0;this[_0x4aa4f7(0x225)](_0x4c235e?this[_0x4aa4f7(0x2e2)]['value'][_0x4aa4f7(0x1ab)](_0x288ee0):_0x288ee0),this['_hasMore']=_0x1159a3,this[_0x4aa4f7(0x16c)]=_0x29518a,_0x1e177d&&Object[_0x4aa4f7(0x1b4)](_0x1e177d)[_0x4aa4f7(0x33f)](_0x114297=>this['_members'][_0x4aa4f7(0x1b9)](_0x114297,_0x1e177d[_0x114297]));}[_0xd971d0(0x21a)](){const _0x3cb098=_0xd971d0;return this[_0x3cb098(0x15b)](this[_0x3cb098(0x136)][_0x3cb098(0x2af)]);}[_0xd971d0(0x225)](_0x13f206){const _0x32899b=_0xd971d0;this[_0x32899b(0x2e2)]['next'](_0x13f206);}['getVersion'](_0x593695){const _0x209c49=_0xd971d0;var _0x41b252;return(_0x41b252=this[_0x209c49(0x2e2)][_0x209c49(0x2af)])==null?void 0x0:_0x41b252[_0x209c49(0x30b)](_0x1c53ed=>_0x1c53ed['id']===_0x593695);}[_0xd971d0(0x27e)](_0xad5c34){const _0xc1d1b0=_0xd971d0;return this[_0xc1d1b0(0x2cf)][_0xc1d1b0(0x16d)](_0xad5c34);}[_0xd971d0(0x20d)](){const _0x2b94cb=_0xd971d0;this[_0x2b94cb(0x140)]=document[_0x2b94cb(0x10d)](_0x2b94cb(0x1ca)),this['_maskElement'][_0x2b94cb(0x25f)]=_0x2b94cb(0x308),this[_0x2b94cb(0x140)][_0x2b94cb(0x312)][_0x2b94cb(0x329)]='absolute',this[_0x2b94cb(0x140)][_0x2b94cb(0x312)]['top']='0',this[_0x2b94cb(0x140)][_0x2b94cb(0x312)][_0x2b94cb(0x119)]='0',this[_0x2b94cb(0x140)][_0x2b94cb(0x312)][_0x2b94cb(0x2a4)]=_0x2b94cb(0x1f4),this[_0x2b94cb(0x140)]['style'][_0x2b94cb(0x16b)]=_0x2b94cb(0x1f4),this[_0x2b94cb(0x140)]['style'][_0x2b94cb(0x229)]=_0x2b94cb(0x224),this[_0x2b94cb(0x140)][_0x2b94cb(0x312)][_0x2b94cb(0x287)]=_0x2b94cb(0x1f7),this[_0x2b94cb(0x140)][_0x2b94cb(0x312)][_0x2b94cb(0x2c9)]=_0x2b94cb(0xf3),this[_0x2b94cb(0x140)]['style'][_0x2b94cb(0x175)]=_0x2b94cb(0x286),this[_0x2b94cb(0x140)]['style'][_0x2b94cb(0x173)]='1000',this[_0x2b94cb(0x140)]['style'][_0x2b94cb(0x2c9)]=_0x2b94cb(0x19a),this['_maskContainer'][_0x2b94cb(0x1ed)](this[_0x2b94cb(0x140)]);}[_0xd971d0(0x25c)](){const _0x180c24=_0xd971d0;var _0x354181;const _0x4e266b=(_0x354181=document[_0x180c24(0x1ad)](this['_historyContainerId']))==null?void 0x0:_0x354181[_0x180c24(0x10f)]('.univer-app-container-content');_0x4e266b&&(this[_0x180c24(0x232)]=_0x4e266b,this[_0x180c24(0x20d)]());}[_0xd971d0(0x181)](){const _0x40ebdc=_0xd971d0;this['_maskContainer']||this[_0x40ebdc(0x25c)](),this[_0x40ebdc(0x140)]&&(this['_maskElement'][_0x40ebdc(0x312)][_0x40ebdc(0x2c9)]=_0x40ebdc(0xf3));}[_0xd971d0(0xed)](){const _0x30b895=_0xd971d0;this[_0x30b895(0x140)]&&(this[_0x30b895(0x140)]['style']['display']=_0x30b895(0x19a));}set[_0xd971d0(0x1d6)](_0xad11ca){const _0x9151ce=_0xd971d0;this[_0x9151ce(0x299)][_0x9151ce(0x204)](_0xad11ca);}set['currentVersion'](_0x592120){const _0x21f2a5=_0xd971d0;_0x592120!==this[_0x21f2a5(0x136)][_0x21f2a5(0x2af)]&&this[_0x21f2a5(0x136)][_0x21f2a5(0x204)](_0x592120);}get['currentVersion'](){const _0x5e31ae=_0xd971d0;return this[_0x5e31ae(0x136)][_0x5e31ae(0x2af)];}set[_0xd971d0(0x2fa)](_0x983ad2){const _0x4043ba=_0xd971d0;this[_0x4043ba(0x253)][_0x4043ba(0x204)](_0x983ad2);}get['unitId'](){const _0x3867c2=_0xd971d0;return this[_0x3867c2(0x253)][_0x3867c2(0x2af)];}get[_0xd971d0(0x310)](){const _0x35ec20=_0xd971d0;return this[_0x35ec20(0xeb)];}get[_0xd971d0(0x2db)](){const _0x2b8493=_0xd971d0;return this[_0x2b8493(0x28d)][_0x2b8493(0x2af)];}},_0x10d983[_0xd971d0(0x281)]=_0x4ba8ee([_0x53f3c6(0x0,_0x20c686[_0xd971d0(0x114)]),_0x53f3c6(0x1,_0x20c686[_0xd971d0(0xf5)]),_0x53f3c6(0x2,_0x362e90[_0xd971d0(0x32a)](_0x362e90['LocaleService'])),_0x53f3c6(0x3,_0x362e90[_0xd971d0(0x32a)](_0x531cb8))],_0x10d983['HistoryManagerService']);function _0x4ca1df({ref:_0x511f14,..._0xe3d923}){const _0x1d0976=_0xd971d0,{icon:_0x1cee99,id:_0x3c6be3,className:_0x5c40d5,extend:_0x5995de,..._0x4b41a5}=_0xe3d923,_0x266ab7=(_0x1d0976(0x301)+_0x3c6be3+'\x20'+(_0x5c40d5||''))[_0x1d0976(0x2ae)](),_0x408eba=_0x502a43[_0x1d0976(0x133)]('_'+_0x2f54df());return _0x29fef3(_0x1cee99,''+_0x3c6be3,{'defIds':_0x1cee99['defIds'],'idSuffix':_0x408eba[_0x1d0976(0x156)]},{'ref':_0x511f14,'className':_0x266ab7,..._0x4b41a5},_0x5995de);}function _0x29fef3(_0x32be3f,_0xad5bde,_0x8b56da,_0x44cc01,_0x529851){const _0x115e5b=_0xd971d0;return _0x502a43[_0x115e5b(0x10d)](_0x32be3f[_0x115e5b(0x11f)],{'key':_0xad5bde,..._0x2ddf77(_0x32be3f,_0x8b56da,_0x529851),..._0x44cc01},(_0x347f7a(_0x32be3f,_0x8b56da)[_0x115e5b(0x1a0)]||[])['map']((_0x33def0,_0x27cf71)=>_0x29fef3(_0x33def0,_0xad5bde+'-'+_0x32be3f[_0x115e5b(0x11f)]+'-'+_0x27cf71,_0x8b56da,void 0x0,_0x529851)));}function _0x2ddf77(_0xb4bb9f,_0x32c0aa,_0x31d04b){const _0x3aa1d7=_0xd971d0,_0x6ff38d={..._0xb4bb9f['attrs']};_0x31d04b!=null&&_0x31d04b[_0x3aa1d7(0x25b)]&&_0x6ff38d[_0x3aa1d7(0x2d7)]==='colorChannel1'&&(_0x6ff38d[_0x3aa1d7(0x2d7)]=_0x31d04b[_0x3aa1d7(0x25b)]),_0xb4bb9f['tag']===_0x3aa1d7(0x2e7)&&_0x6ff38d['id']&&(_0x6ff38d['id']=_0x6ff38d['id']+_0x32c0aa[_0x3aa1d7(0x21e)]),Object[_0x3aa1d7(0x306)](_0x6ff38d)[_0x3aa1d7(0x33f)](([_0x289f0d,_0x597fda])=>{const _0x2474b1=_0x3aa1d7;_0x289f0d===_0x2474b1(0x2e7)&&typeof _0x597fda=='string'&&(_0x6ff38d[_0x289f0d]=_0x597fda[_0x2474b1(0x179)](/url\(#(.*)\)/,_0x2474b1(0x32e)+_0x32c0aa[_0x2474b1(0x21e)]+')'));});const {defIds:_0x29f0de}=_0x32c0aa;return!_0x29f0de||_0x29f0de[_0x3aa1d7(0x311)]===0x0||(_0xb4bb9f[_0x3aa1d7(0x11f)]===_0x3aa1d7(0x28f)&&_0x6ff38d[_0x3aa1d7(0x2ea)]&&(_0x6ff38d[_0x3aa1d7(0x2ea)]=_0x6ff38d[_0x3aa1d7(0x2ea)]+_0x32c0aa[_0x3aa1d7(0x21e)]),Object['entries'](_0x6ff38d)[_0x3aa1d7(0x33f)](([_0x43be49,_0x2e33bd])=>{const _0x537baf=_0x3aa1d7;typeof _0x2e33bd==_0x537baf(0x208)&&(_0x6ff38d[_0x43be49]=_0x2e33bd[_0x537baf(0x179)](/url\(#(.*)\)/,_0x537baf(0x32e)+_0x32c0aa[_0x537baf(0x21e)]+')'));})),_0x6ff38d;}function _0x347f7a(_0x36beaa,_0x36c31e){const _0x1e1c5=_0xd971d0;var _0x4fca92;const {defIds:_0x3a1b68}=_0x36c31e;return!_0x3a1b68||_0x3a1b68[_0x1e1c5(0x311)]===0x0?_0x36beaa:_0x36beaa[_0x1e1c5(0x11f)]===_0x1e1c5(0x19e)&&((_0x4fca92=_0x36beaa[_0x1e1c5(0x1a0)])!=null&&_0x4fca92[_0x1e1c5(0x311)])?{..._0x36beaa,'children':_0x36beaa[_0x1e1c5(0x1a0)][_0x1e1c5(0x1a6)](_0x354e73=>typeof _0x354e73[_0x1e1c5(0x182)]['id']==_0x1e1c5(0x208)&&_0x3a1b68&&_0x3a1b68[_0x1e1c5(0x282)](_0x354e73[_0x1e1c5(0x182)]['id'])?{..._0x354e73,'attrs':{..._0x354e73[_0x1e1c5(0x182)],'id':_0x354e73[_0x1e1c5(0x182)]['id']+_0x36c31e[_0x1e1c5(0x21e)]}}:_0x354e73)}:_0x36beaa;}function _0x2f54df(){const _0x235343=_0xd971d0;return Math['random']()['toString'](0x24)[_0x235343(0x15e)](0x2,0x8);}_0x4ca1df['displayName']=_0xd971d0(0x2a9);const _0x4bbde0={'tag':_0xd971d0(0x23b),'attrs':{'xmlns':_0xd971d0(0x103),'fill':_0xd971d0(0x19a),'viewBox':_0xd971d0(0x1aa),'width':_0xd971d0(0x167),'height':_0xd971d0(0x167)},'children':[{'tag':'path','attrs':{'fill':_0xd971d0(0x186),'d':_0xd971d0(0x1e9)}}]},_0x42fe38=_0x502a43[_0xd971d0(0x1b3)](function(_0x3e6f08,_0x2b0fe3){const _0x2a4fda=_0xd971d0;return _0x502a43['createElement'](_0x4ca1df,Object[_0x2a4fda(0x233)]({},_0x3e6f08,{'id':_0x2a4fda(0x1e4),'ref':_0x2b0fe3,'icon':_0x4bbde0}));});_0x42fe38[_0xd971d0(0x2d3)]=_0xd971d0(0x336);const _0x5596e9={'tag':'svg','attrs':{'xmlns':_0xd971d0(0x103),'fill':_0xd971d0(0x19a),'viewBox':'0\x200\x2016\x2017','width':'1em','height':_0xd971d0(0x167)},'children':[{'tag':'g','attrs':{'fill':_0xd971d0(0x186),'clipPath':_0xd971d0(0x2c6)},'children':[{'tag':_0xd971d0(0x26e),'attrs':{'d':_0xd971d0(0x190)}},{'tag':_0xd971d0(0x26e),'attrs':{'d':_0xd971d0(0x294),'fillRule':_0xd971d0(0x2d5),'clipRule':_0xd971d0(0x2d5)}}]},{'tag':_0xd971d0(0x19e),'attrs':{},'children':[{'tag':_0xd971d0(0x284),'attrs':{'id':_0xd971d0(0x25e)},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':'white','rx':0x4}}]}]}],'defIds':[_0xd971d0(0x25e)]},_0x32c3e1=_0x502a43['forwardRef'](function(_0x3500ab,_0x4c26d1){const _0x50a45b=_0xd971d0;return _0x502a43[_0x50a45b(0x10d)](_0x4ca1df,Object[_0x50a45b(0x233)]({},_0x3500ab,{'id':_0x50a45b(0x247),'ref':_0x4c26d1,'icon':_0x5596e9}));});_0x32c3e1['displayName']=_0xd971d0(0x122);const _0xbfaab6={'tag':'svg','attrs':{'xmlns':_0xd971d0(0x103),'fill':_0xd971d0(0x19a),'viewBox':_0xd971d0(0x1aa),'width':_0xd971d0(0x167),'height':_0xd971d0(0x167)},'children':[{'tag':_0xd971d0(0x26e),'attrs':{'fill':_0xd971d0(0x178),'d':_0xd971d0(0x335),'fillOpacity':0.2,'fillRule':_0xd971d0(0x2d5),'clipRule':_0xd971d0(0x2d5)}},{'tag':_0xd971d0(0x26e),'attrs':{'fill':_0xd971d0(0x178),'d':_0xd971d0(0x31d),'fillRule':_0xd971d0(0x2d5),'clipRule':_0xd971d0(0x2d5)}}]},_0x39613e=_0x502a43['forwardRef'](function(_0x37f5f3,_0x219380){const _0x18a394=_0xd971d0;return _0x502a43['createElement'](_0x4ca1df,Object[_0x18a394(0x233)]({},_0x37f5f3,{'id':_0x18a394(0xe8),'ref':_0x219380,'icon':_0xbfaab6}));});_0x39613e[_0xd971d0(0x2d3)]=_0xd971d0(0x2a5);function _0x18953a(){const _0x16af74=_0xd971d0;var _0x4e9a17;const _0x1ac90c=_0x20c686[_0x16af74(0x291)](_0x10d983[_0x16af74(0x281)]),_0x2bc997=_0x20c686[_0x16af74(0x291)](_0x362e90[_0x16af74(0x283)]),_0x103330=_0x502a43[_0x16af74(0x201)](()=>{const _0x2c38c7=_0x16af74;_0x1ac90c['status']=_0x27d434[_0x2c38c7(0xf4)];},[_0x1ac90c]),_0x59cb85=_0x502a43['useCallback'](()=>{const _0x4baf8d=_0x16af74;_0x1ac90c[_0x4baf8d(0x2e5)]();},[_0x1ac90c]),_0x585564=_0x20c686[_0x16af74(0x10e)](_0x1ac90c['currentVersion$']),_0x5586b4=_0x20c686[_0x16af74(0x10e)](_0x1ac90c[_0x16af74(0x297)]),_0x77beb8=_0x585564===((_0x4e9a17=_0x5586b4==null?void 0x0:_0x5586b4[0x0])==null?void 0x0:_0x4e9a17['id']),_0x4d4588=_0x585564!==''&&!_0x77beb8&&_0x1ac90c[_0x16af74(0x310)];return _0x39e60c[_0x16af74(0x258)](_0x16af74(0x1ca),{'className':_0xdd5d02[_0x16af74(0x16f)]('univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center',_0xdd5d02[_0x16af74(0x28b)]),'children':[_0x39e60c[_0x16af74(0x138)]('a',{'className':_0x16af74(0x26d),'role':'button','onClick':_0x103330,'children':_0x39e60c[_0x16af74(0x138)](_0x42fe38,{'className':'univer-text-2xl\x20dark:!univer-text-white'})}),_0x39e60c['jsx'](_0x16af74(0x1ca),{'className':_0x16af74(0x33e),'children':_0x4d4588&&_0x39e60c[_0x16af74(0x138)](_0xdd5d02['Button'],{'variant':_0x16af74(0x230),'onClick':_0x59cb85,'children':_0x2bc997['t']('editHistory.header.revert')})})]});}var _0x65c163=Object[_0xd971d0(0x31b)],_0x4bd867=(_0x428a03,_0x6cee88,_0x580af4,_0x1fe37a)=>{const _0x29255e=_0xd971d0;for(var _0x4cc7de=_0x1fe37a>0x1?void 0x0:_0x1fe37a?_0x65c163(_0x6cee88,_0x580af4):_0x6cee88,_0x87bc81=_0x428a03[_0x29255e(0x311)]-0x1,_0x49fcb8;_0x87bc81>=0x0;_0x87bc81--)(_0x49fcb8=_0x428a03[_0x87bc81])&&(_0x4cc7de=_0x49fcb8(_0x4cc7de)||_0x4cc7de);return _0x4cc7de;},_0x3a5209=(_0x21731e,_0x4fc46f)=>(_0x4308f1,_0x7918f9)=>_0x4fc46f(_0x4308f1,_0x7918f9,_0x21731e);let _0x322ffd=class extends _0x362e90[_0xd971d0(0x2fb)]{constructor(_0x26b491,_0x17190,_0x65d49e,_0x3b1201,_0x5c55d8,_0x2d0a21){const _0x5b2c14=_0xd971d0;super(),this['_permissionService']=_0x26b491,this['_uiPartsService']=_0x17190,this['_messageService']=_0x65d49e,this['_localeService']=_0x3b1201,this[_0x5b2c14(0x1b5)]=_0x5c55d8,this[_0x5b2c14(0x146)]=_0x2d0a21,this[_0x5b2c14(0x261)]();}[_0xd971d0(0x261)](){const _0x580906=_0xd971d0;this[_0x580906(0x32f)](this['_historyManagerService'][_0x580906(0x12e)]['subscribe'](_0x4856a0=>{const _0x23d2a3=_0x580906;_0x4856a0&&this[_0x23d2a3(0x1b5)][_0x23d2a3(0x1b6)](_0x4856a0);})),this[_0x580906(0x32f)](this[_0x580906(0x120)][_0x580906(0x11b)][_0x580906(0x2d9)](_0x30f8e2=>{const _0x29bcbc=_0x580906,_0x4089fc=this[_0x29bcbc(0x1b5)][_0x29bcbc(0x2fa)];_0x4089fc&&(_0x30f8e2[_0x29bcbc(0x254)]===_0x5a947f[_0x29bcbc(0x11c)]&&_0x30f8e2['value']===!0x0&&this[_0x29bcbc(0x120)]['updatePermissionPoint'](new _0x20148a[(_0x29bcbc(0x2ce))](_0x4089fc)['id'],!0x1),_0x30f8e2[_0x29bcbc(0x254)]===_0x5a947f[_0x29bcbc(0x19d)]&&_0x30f8e2[_0x29bcbc(0x2af)]===!0x0&&this[_0x29bcbc(0x120)]['updatePermissionPoint'](new _0x20148a[(_0x29bcbc(0x2e9))](_0x4089fc)['id'],!0x1),_0x30f8e2[_0x29bcbc(0x254)]===_0x5a947f[_0x29bcbc(0x207)]&&_0x30f8e2[_0x29bcbc(0x2af)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x20148a[(_0x29bcbc(0x151))](_0x4089fc)['id'],!0x1),_0x30f8e2[_0x29bcbc(0x254)]===_0x5a947f[_0x29bcbc(0x278)]&&_0x30f8e2['value']===!0x0&&this['_permissionService'][_0x29bcbc(0x31f)](new _0x20148a[(_0x29bcbc(0x1af))](_0x4089fc)['id'],!0x1),_0x30f8e2[_0x29bcbc(0x254)]===_0x5a947f[_0x29bcbc(0x126)]&&_0x30f8e2[_0x29bcbc(0x2af)]===!0x0&&this[_0x29bcbc(0x120)]['updatePermissionPoint'](new _0x20148a[(_0x29bcbc(0x2ce))](_0x4089fc)['id'],!0x1),_0x30f8e2['subType']===_0x5a947f['FloatImg']&&_0x30f8e2[_0x29bcbc(0x2af)]===!0x0&&this[_0x29bcbc(0x120)]['updatePermissionPoint'](new _0x20148a['WorkbookEditablePermission'](_0x4089fc)['id'],!0x1));})),this[_0x580906(0x32f)](this[_0x580906(0x22e)]['registerComponent'](_0x20c686['BuiltInUIPart']['HEADER'],()=>_0x20c686[_0x580906(0x1e0)](_0x18953a,this[_0x580906(0x146)])));let _0x413a33;this[_0x580906(0x32f)](this[_0x580906(0x1b5)][_0x580906(0x24c)][_0x580906(0x2d9)](_0x10d87b=>{const _0x215587=_0x580906;_0x413a33==null||_0x413a33[_0x215587(0x26f)](),_0x10d87b===_0x5108cc[_0x215587(0x322)]&&(this[_0x215587(0x1b5)][_0x215587(0x181)](),_0x413a33=this['_messageService'][_0x215587(0x2e0)]({'type':_0xdd5d02['MessageType'][_0x215587(0x174)],'content':this[_0x215587(0x194)]['t'](_0x215587(0x166))})),_0x10d87b===_0x5108cc[_0x215587(0x20b)]&&this[_0x215587(0x1b5)][_0x215587(0xed)]();}));}};_0x322ffd=_0x4bd867([_0x3a5209(0x0,_0x362e90['IPermissionService']),_0x3a5209(0x1,_0x20c686['IUIPartsService']),_0x3a5209(0x2,_0x20c686[_0xd971d0(0x114)]),_0x3a5209(0x3,_0x362e90[_0xd971d0(0x32a)](_0x362e90[_0xd971d0(0x283)])),_0x3a5209(0x4,_0x362e90['Inject'](_0x10d983['HistoryManagerService'])),_0x3a5209(0x5,_0x362e90['Inject'](_0x362e90[_0xd971d0(0x2a3)]))],_0x322ffd);var _0x465e1c=Object['getOwnPropertyDescriptor'],_0x1ec8be=(_0x163ec9,_0x34957c,_0x1e95a6,_0x1ffa06)=>{const _0x2b450f=_0xd971d0;for(var _0x54f879=_0x1ffa06>0x1?void 0x0:_0x1ffa06?_0x465e1c(_0x34957c,_0x1e95a6):_0x34957c,_0x5f3c09=_0x163ec9[_0x2b450f(0x311)]-0x1,_0x2e681f;_0x5f3c09>=0x0;_0x5f3c09--)(_0x2e681f=_0x163ec9[_0x5f3c09])&&(_0x54f879=_0x2e681f(_0x54f879)||_0x54f879);return _0x54f879;},_0x144604=(_0x15a022,_0x43957b)=>(_0x135707,_0x506c4e)=>_0x43957b(_0x135707,_0x506c4e,_0x15a022);let _0x2c97eb=class extends _0x362e90[_0xd971d0(0x2fb)]{constructor(_0x44dcee,_0x526968,_0x387bb7){const _0xa07fea=_0xd971d0;super(),_0x1980b0(this,_0xa07fea(0x105),new Map()),_0x1980b0(this,_0xa07fea(0x325),new _0x41005e[(_0xa07fea(0x180))]({'ranges':new Map(),'active':null})),_0x1980b0(this,'currentVersionDiff$',this[_0xa07fea(0x325)]['asObservable']()),(this[_0xa07fea(0x1b5)]=_0x44dcee,this['_transformService']=_0x526968,this['_snapshotServerService']=_0x387bb7,this[_0xa07fea(0x261)]());}[_0xd971d0(0x261)](){const _0x1757a0=_0xd971d0;this['_diffRangesMap']=new Map(),this['disposeWithMe'](this[_0x1757a0(0x1b5)][_0x1757a0(0x214)][_0x1757a0(0x2d9)](_0x5c1086=>{const _0x4f9954=_0x1757a0;_0x5c1086&&!this['_diffRangesMap']['has'](_0x5c1086)&&this[_0x4f9954(0x105)][_0x4f9954(0x1b9)](_0x5c1086,new Map());})),this[_0x1757a0(0x32f)](this[_0x1757a0(0x1b5)][_0x1757a0(0x12e)][_0x1757a0(0x2d9)](async _0x4834b7=>{const _0x4467a4=_0x1757a0;var _0x284f92;_0x4834b7&&(await this[_0x4467a4(0x33b)](_0x4834b7),this[_0x4467a4(0x325)][_0x4467a4(0x204)](((_0x284f92=this['_diffRangesMap']['get'](this[_0x4467a4(0x1b5)][_0x4467a4(0x2fa)]))==null?void 0x0:_0x284f92[_0x4467a4(0x16d)](_0x4834b7))||{'ranges':new Map(),'active':null}));}));}async[_0xd971d0(0x33b)](_0x4bb79f){const _0xf3b6c5=_0xd971d0;var _0x32f048,_0x4528de;const _0xc61179=this[_0xf3b6c5(0x1b5)][_0xf3b6c5(0x15b)](_0x4bb79f),_0x4f7aff=this['_historyManagerService']['unitId'];if(!_0xc61179||!_0x4f7aff)return;const _0x34b95b=this['_diffRangesMap']['get'](_0x4f7aff);if(_0x34b95b||this[_0xf3b6c5(0x105)][_0xf3b6c5(0x1b9)](_0x4f7aff,new Map()),(_0x32f048=this['_diffRangesMap'][_0xf3b6c5(0x16d)](_0x4f7aff))!=null&&_0x32f048[_0xf3b6c5(0x18c)](_0xc61179['id']))return;const {startRev:_0x6acaf9,endRev:_0x586881}=_0xc61179;if(_0x6acaf9===0x1){_0x34b95b[_0xf3b6c5(0x1b9)](_0xc61179['id'],{'ranges':new Map(),'active':null});return;}const _0x3740de=_0x6acaf9-0x1,_0xecf7c4=_0x586881,_0xcbe565=await this['_snapshotServerService'][_0xf3b6c5(0x2f7)]({},{'unitID':_0x4f7aff,'from':_0x3740de,'to':_0xecf7c4,'type':_0xb8b1fa['UNIVER_SHEET']});if(((_0x4528de=_0xcbe565[_0xf3b6c5(0x10b)])==null?void 0x0:_0x4528de[_0xf3b6c5(0x256)])===_0x3cdc91['OK']){const _0x3ae33b=_0xcbe565[_0xf3b6c5(0x12a)][_0xf3b6c5(0x1a6)](_0x57f34b=>((_0x57f34b[_0xf3b6c5(0x1c9)]===null||_0x57f34b['mutations']===void 0x0)&&(_0x57f34b['mutations']=[]),_0x31bbcc['parseProtocolChangeset'](_0x57f34b)))[_0xf3b6c5(0x1a6)](_0x275642=>_0x275642['mutations'][_0xf3b6c5(0x1a6)](_0x50e9a4=>({..._0x50e9a4,'params':{..._0x50e9a4['params'],'memberId':_0x275642[_0xf3b6c5(0x145)]}})))['flat'](),_0x4f51d1=await this[_0xf3b6c5(0x2bb)](_0x3ae33b),_0x210f8a=this['_getActiveSubUnitId'](_0x3ae33b),_0x57978c=this['_extractRanges'](_0x4f51d1);_0x34b95b[_0xf3b6c5(0x1b9)](_0xc61179['id'],{'ranges':_0x57978c,'active':_0x210f8a});}}async[_0xd971d0(0x2bb)](_0x5290d8){const _0x5419e9=_0xd971d0;let _0x329249=[];for(let _0x5737fe=0x0;_0x5737fe<_0x5290d8[_0x5419e9(0x311)];_0x5737fe++){const _0x358752=_0x5290d8[_0x5737fe];if(_0x329249[_0x5419e9(0x15a)](_0x358752),_0x5737fe!==_0x5290d8['length']-0x1){const _0x5887b1=_0x5290d8[_0x5737fe+0x1],_0x2e1f67=this[_0x5419e9(0x2f6)]['transformMutations'](_0x329249,[_0x5887b1]);_0x31bbcc[_0x5419e9(0x1a4)](_0x2e1f67)?_0x329249=_0x2e1f67[_0x5419e9(0x243)]:_0x329249=[];}_0x5737fe%0xa===0x0&&_0x5737fe>0x0&&await this['_yieldToMain']();}return _0x329249;}[_0xd971d0(0x17c)](){return new Promise(_0x33b763=>{typeof requestIdleCallback=='function'?requestIdleCallback(()=>_0x33b763(),{'timeout':0x64}):setTimeout(_0x33b763,0x0);});}[_0xd971d0(0x217)](_0xbf0fc9){const _0x337854=_0xd971d0;let _0x5cffff=[];return _0xbf0fc9[_0x337854(0x33f)](_0x4bf16e=>{const _0x43c111=_0x337854;if(_0x4bf16e['id']===_0x20148a['InsertSheetMutation']['id']){const _0x20d599=_0x4bf16e[_0x43c111(0x213)];_0x5cffff[_0x43c111(0x15a)](_0x20d599[_0x43c111(0x13a)]['id']);}else{if(_0x4bf16e['id']===_0x20148a[_0x43c111(0x21c)]['id']){const _0x1e4b93=_0x4bf16e[_0x43c111(0x213)];_0x5cffff[_0x43c111(0x311)]>0x0&&(_0x5cffff=_0x5cffff['filter'](_0x289dbb=>_0x289dbb!==_0x1e4b93[_0x43c111(0x1fe)]));}else{if(_0x4bf16e['id']===_0x20148a[_0x43c111(0xe6)]['id']){const _0x335a35=_0x4bf16e['params'];_0x335a35[_0x43c111(0x2cb)]?_0x5cffff=_0x5cffff[_0x43c111(0x320)](_0x496993=>_0x496993!==_0x335a35['subUnitId']):_0x5cffff[_0x43c111(0x15a)](_0x335a35[_0x43c111(0x1fe)]);}else{const _0x206e19=_0x4bf16e[_0x43c111(0x213)];_0x206e19[_0x43c111(0x1fe)]&&_0x5cffff['push'](_0x206e19[_0x43c111(0x1fe)]);}}}}),_0x5cffff[_0x337854(0x311)]>0x0?_0x5cffff[_0x5cffff[_0x337854(0x311)]-0x1]:null;}[_0xd971d0(0x2f2)](_0x3a18cf){const _0xf70127=_0xd971d0,_0x41cae7=new Map();return _0x3a18cf[_0xf70127(0x33f)](_0x48cfb3=>{const _0x114452=_0xf70127;var _0x520787,_0x1b1f59;const _0x13597e=(_0x520787=_0x48cfb3['params'])==null?void 0x0:_0x520787[_0x114452(0x273)];if(_0x13597e){_0x41cae7[_0x114452(0x18c)](_0x13597e)||_0x41cae7[_0x114452(0x1b9)](_0x13597e,[]);const _0x5650c1=this[_0x114452(0xf1)](_0x48cfb3);(_0x1b1f59=_0x41cae7[_0x114452(0x16d)](_0x13597e))==null||_0x1b1f59[_0x114452(0x15a)](..._0x5650c1);}}),_0x41cae7[_0xf70127(0x33f)]((_0x51be88,_0x3bd31e)=>{const _0x522514=_0xf70127;_0x41cae7[_0x522514(0x1b9)](_0x3bd31e,this[_0x522514(0x26a)](_0x51be88));}),_0x41cae7;}['_getRangesByMutation'](_0x32f144){const _0x9371bb=_0xd971d0;switch(_0x32f144['id']){case _0x20148a[_0x9371bb(0x1a3)]['id']:{const _0x22481d=_0x32f144['params'];return _0x22481d[_0x9371bb(0x168)][_0x9371bb(0x1a6)](_0x58fdf8=>_0x58fdf8[_0x9371bb(0x157)][_0x9371bb(0x1a6)](_0x32f7c8=>({'range':_0x32f7c8,'unitId':_0x22481d[_0x9371bb(0x2fa)],'subUnitId':_0x22481d[_0x9371bb(0x1fe)]})))[_0x9371bb(0x321)]();}case _0x20148a[_0x9371bb(0x29a)]['id']:{const _0x2c6431=_0x32f144[_0x9371bb(0x213)];return _0x2c6431['ranges'][_0x9371bb(0x1a6)](_0x188ca0=>({'range':_0x188ca0,'unitId':_0x2c6431[_0x9371bb(0x2fa)],'subUnitId':_0x2c6431[_0x9371bb(0x1fe)]}));}case _0x20148a['InsertRowMutation']['id']:{const _0xf0a60=_0x32f144[_0x9371bb(0x213)];return[{'range':_0xf0a60['range'],'unitId':_0xf0a60[_0x9371bb(0x2fa)],'subUnitId':_0xf0a60[_0x9371bb(0x1fe)]}];}case _0x20148a[_0x9371bb(0x32d)]['id']:{const _0x275317=_0x32f144[_0x9371bb(0x213)];return[{'range':_0x275317['range'],'unitId':_0x275317[_0x9371bb(0x2fa)],'subUnitId':_0x275317[_0x9371bb(0x1fe)]}];}case _0x20148a[_0x9371bb(0x2c1)]['id']:{const _0x994c6e=_0x32f144['params'],{from:_0xda637f,to:_0x3d6d31,unitId:_0x525fd1}=_0x994c6e;return[{'range':_0x45b329(_0xda637f[_0x9371bb(0x2af)]),'unitId':_0x525fd1,'subUnitId':_0xda637f[_0x9371bb(0x1fe)]},{'range':_0x45b329(_0x3d6d31[_0x9371bb(0x2af)]),'unitId':_0x525fd1,'subUnitId':_0x3d6d31[_0x9371bb(0x1fe)]}];}case _0x20148a[_0x9371bb(0x1d0)]['id']:{const _0x4351fb=_0x32f144[_0x9371bb(0x213)],{unitId:_0x609e70,subUnitId:_0x2ba3c7,sourceRange:_0x1210f8,targetRange:_0x4a6e8d}=_0x4351fb,_0x33f1b9=_0x1210f8[_0x9371bb(0x1c1)]-_0x1210f8[_0x9371bb(0x14b)]+0x1;return[{'range':_0x4a6e8d[_0x9371bb(0x14b)]<=_0x1210f8['startRow']?_0x4a6e8d:{..._0x4a6e8d,'startRow':_0x4a6e8d['startRow']-_0x33f1b9,'endRow':_0x4a6e8d['endRow']-_0x33f1b9},'unitId':_0x609e70,'subUnitId':_0x2ba3c7}];}case _0x20148a['MoveColsMutation']['id']:{const _0x2741a6=_0x32f144[_0x9371bb(0x213)],{unitId:_0x5a69ad,subUnitId:_0xe57548,sourceRange:_0x30cc69,targetRange:_0x195ae1}=_0x2741a6,_0x55d1d5=_0x30cc69['endColumn']-_0x30cc69[_0x9371bb(0x202)]+0x1;return[{'range':_0x195ae1[_0x9371bb(0x202)]<=_0x30cc69[_0x9371bb(0x202)]?_0x195ae1:{..._0x195ae1,'startColumn':_0x195ae1[_0x9371bb(0x202)]-_0x55d1d5,'endColumn':_0x195ae1[_0x9371bb(0xe4)]-_0x55d1d5},'unitId':_0x5a69ad,'subUnitId':_0xe57548}];}case _0x20148a['SetNumfmtMutation']['id']:{const _0x2b2660=_0x32f144[_0x9371bb(0x213)],{values:_0x317bed,unitId:_0x2014cf,subUnitId:_0x57548e}=_0x2b2660;return Object[_0x9371bb(0x18a)](_0x317bed)[_0x9371bb(0x1a6)](_0x100944=>_0x100944[_0x9371bb(0x157)][_0x9371bb(0x1a6)](_0x143ced=>({'range':_0x143ced,'unitId':_0x2014cf,'subUnitId':_0x57548e})))['flat']();}case _0x20148a[_0x9371bb(0x118)]['id']:{const _0x364aa6=_0x32f144[_0x9371bb(0x213)],{ranges:_0x7d3ffa,unitId:_0x34fb27,subUnitId:_0x90c1b8}=_0x364aa6;return _0x7d3ffa[_0x9371bb(0x1a6)](_0x1a2b9e=>({'range':_0x1a2b9e,'unitId':_0x34fb27,'subUnitId':_0x90c1b8}));}case _0x20148a[_0x9371bb(0x1fb)]['id']:{const _0x550423=_0x32f144[_0x9371bb(0x213)],{unitId:_0x3b1f6b,subUnitId:_0x359c52,range:_0x2ddf64}=_0x550423;return[{'range':_0x2ddf64,'unitId':_0x3b1f6b,'subUnitId':_0x359c52}];}case _0x20148a[_0x9371bb(0x23e)]['id']:{const _0x4ea0f0=_0x32f144['params'];return _0x4ea0f0['rule'][_0x9371bb(0x157)][_0x9371bb(0x1a6)](_0x34484d=>({'range':_0x34484d,'unitId':_0x4ea0f0[_0x9371bb(0x2fa)],'subUnitId':_0x4ea0f0['subUnitId']}));}case _0x20148a[_0x9371bb(0x2ed)]['id']:{const _0x3ad171=_0x32f144[_0x9371bb(0x213)];return _0x3ad171[_0x9371bb(0x1c6)]?_0x570030(_0x3ad171[_0x9371bb(0x1c6)])[_0x9371bb(0x1a6)](_0x3a11b1=>({'range':_0x3a11b1,'unitId':_0x3ad171[_0x9371bb(0x2fa)],'subUnitId':_0x3ad171[_0x9371bb(0x1fe)]})):[];}case _0x67c81['SetSheetsFilterRangeMutation']['id']:{const _0x5f48d5=_0x32f144[_0x9371bb(0x213)];return[{'range':_0x5f48d5[_0x9371bb(0x211)],'unitId':_0x5f48d5[_0x9371bb(0x2fa)],'subUnitId':_0x5f48d5[_0x9371bb(0x1fe)]}];}case _0x3435f9[_0x9371bb(0x28e)]['id']:{const _0x1a37eb=_0x32f144['params'];return(Array[_0x9371bb(0x1ff)](_0x1a37eb['rule'])?_0x1a37eb[_0x9371bb(0x1ac)]:[_0x1a37eb[_0x9371bb(0x1ac)]])['map'](_0x378d21=>_0x378d21[_0x9371bb(0x157)][_0x9371bb(0x1a6)](_0x34ddee=>({'range':_0x34ddee,'unitId':_0x1a37eb['unitId'],'subUnitId':_0x1a37eb[_0x9371bb(0x1fe)]})))['flat']();}case _0xf24397[_0x9371bb(0xf8)]['id']:{const _0x1114c3=_0x32f144[_0x9371bb(0x213)];return _0x1114c3[_0x9371bb(0x1ac)][_0x9371bb(0x157)]['map'](_0x304dcb=>({'range':_0x304dcb,'unitId':_0x1114c3[_0x9371bb(0x2fa)],'subUnitId':_0x1114c3['subUnitId']}));}default:return[];}}['_combineRanges'](_0x1d28e2){const _0x288ef1=_0xd971d0;if(_0x1d28e2[_0x288ef1(0x311)]<=0x1)return _0x1d28e2;const _0x4ba5af=new Map();return _0x1d28e2['forEach'](_0x1cbde7=>{const _0x236b13=_0x288ef1;var _0x2d9439;const {unitId:_0x52186f,subUnitId:_0x128176}=_0x1cbde7,_0x1e95aa=_0x52186f+'-'+_0x128176;_0x4ba5af[_0x236b13(0x18c)](_0x1e95aa)?(_0x2d9439=_0x4ba5af['get'](_0x1e95aa))==null||_0x2d9439[_0x236b13(0x15a)](_0x1cbde7):_0x4ba5af[_0x236b13(0x1b9)](_0x1e95aa,[_0x1cbde7]);}),Array[_0x288ef1(0x1bd)](_0x4ba5af[_0x288ef1(0x18a)]())[_0x288ef1(0x1a6)](_0x46823b=>new _0x20148a[(_0x288ef1(0x333))]()['add'](..._0x46823b[_0x288ef1(0x1a6)](_0x208bf6=>_0x208bf6[_0x288ef1(0x211)]))[_0x288ef1(0x169)]()[_0x288ef1(0x1a6)](_0x572006=>({'range':_0x572006,'unitId':_0x46823b[0x0][_0x288ef1(0x2fa)],'subUnitId':_0x46823b[0x0][_0x288ef1(0x1fe)]})))[_0x288ef1(0x321)]();}};_0x2c97eb=_0x1ec8be([_0x144604(0x0,_0x362e90[_0xd971d0(0x32a)](_0x10d983['HistoryManagerService'])),_0x144604(0x1,_0x31bbcc[_0xd971d0(0x15c)]),_0x144604(0x2,_0x31bbcc[_0xd971d0(0x1ae)])],_0x2c97eb);function _0x45b329(_0x389fac){const _0x31f57f=_0xd971d0;return new _0x362e90['ObjectMatrix'](_0x389fac)[_0x31f57f(0x302)]();}function _0x570030(_0x5de6b4){const _0x31e929=_0xd971d0,_0x3290e4=new _0x362e90[(_0x31e929(0x2be))](_0x5de6b4),_0x50da03=new _0x362e90[(_0x31e929(0x2be))]();return _0x3290e4['forValue']((_0x410a42,_0x65e46b)=>{const _0x398328=_0x31e929;_0x50da03[_0x398328(0x2ef)](_0x410a42,_0x65e46b,0x1);}),_0x20148a[_0x31e929(0x24d)](_0x50da03);}var _0x480cf6=Object['getOwnPropertyDescriptor'],_0x378217=(_0x32a144,_0xd83a25,_0x259a66,_0xd76995)=>{for(var _0x5be115=_0xd76995>0x1?void 0x0:_0xd76995?_0x480cf6(_0xd83a25,_0x259a66):_0xd83a25,_0x3e8f6d=_0x32a144['length']-0x1,_0x3fff60;_0x3e8f6d>=0x0;_0x3e8f6d--)(_0x3fff60=_0x32a144[_0x3e8f6d])&&(_0x5be115=_0x3fff60(_0x5be115)||_0x5be115);return _0x5be115;},_0xc0a5b7=(_0x462bcf,_0x2d6d31)=>(_0x16761a,_0x125d56)=>_0x2d6d31(_0x16761a,_0x125d56,_0x462bcf);let _0x1bb87c=class extends _0x362e90[_0xd971d0(0x2fb)]{constructor(_0x5b2905,_0x43d5b4,_0x17cf54,_0x495c12,_0x51d18e,_0x44a844,_0x1fd0e3){const _0x341c6a=_0xd971d0;super(),_0x1980b0(this,_0x341c6a(0x11a),new Set()),_0x1980b0(this,_0x341c6a(0x18d),null),(this[_0x341c6a(0x10a)]=_0x5b2905,this[_0x341c6a(0x1b5)]=_0x43d5b4,this[_0x341c6a(0x1ec)]=_0x17cf54,this['_univerInstanceService']=_0x495c12,this[_0x341c6a(0x296)]=_0x51d18e,this[_0x341c6a(0x265)]=_0x44a844,this[_0x341c6a(0x130)]=_0x1fd0e3,this['_init']());}['_init'](){this['_initRender'](),this['_initActiveSwitch']();}['_initRender'](){const _0x1b7524=_0xd971d0;this[_0x1b7524(0x32f)](_0x41005e[_0x1b7524(0x337)]([this[_0x1b7524(0x1b5)][_0x1b7524(0x24c)],this['_sheetSkeletonManagerService'][_0x1b7524(0x20a)]])[_0x1b7524(0x244)](_0x41005e[_0x1b7524(0x149)](([_0xaa9cbb,_0x20f9f8])=>{const _0x1b8971=_0x1b7524;if(_0xaa9cbb===_0x5108cc[_0x1b8971(0x20b)]&&_0x20f9f8){const _0x2682c8=_0x20f9f8[_0x1b8971(0x1f9)];return this[_0x1b8971(0x1ec)][_0x1b8971(0x1ea)][_0x1b8971(0x244)](_0x41005e[_0x1b8971(0x1a6)](_0x48d4d3=>{const _0x23c015=_0x1b8971,_0x1a53e9=new Map();return _0x48d4d3[_0x23c015(0x157)][_0x23c015(0x33f)]((_0x5ba406,_0x3dd855)=>{const _0x201581=_0x23c015,_0x2fcbfc=_0x5ba406[_0x201581(0x320)](_0x4c28d7=>_0x4c28d7[_0x201581(0x1fe)]===_0x2682c8);_0x1a53e9['set'](_0x3dd855,_0x2fcbfc);}),{'skeleton':_0x20f9f8,'diffs':_0x1a53e9};}));}return _0x41005e['of']({'skeleton':null,'diffs':new Map()});}))['subscribe'](({skeleton:_0x2610c8,diffs:_0x3035ff})=>{const _0x1f4255=_0x1b7524;this['_removeDiffMarks'](),_0x2610c8&&this[_0x1f4255(0x150)](_0x2610c8,_0x3035ff);})),this[_0x1b7524(0x32f)](this[_0x1b7524(0x265)][_0x1b7524(0x20a)][_0x1b7524(0x2d9)](_0x4893b5=>{const _0x51f950=_0x1b7524;if(_0x4893b5==null)return;const {skeleton:_0x2e0c74}=_0x4893b5,{scene:_0x32de16}=this[_0x51f950(0x10a)];_0x32de16[_0x51f950(0x176)][_0x51f950(0x33c)](_0x362e90[_0x51f950(0x14d)](_0x4dca9f=>{const _0x2e69e0=_0x51f950;var _0x12b3f6,_0x1a4404;const {offsetX:_0x55fec6,offsetY:_0x436843}=_0x4dca9f,{x:_0x247b3b,y:_0xdd3f3d}=_0x32de16[_0x2e69e0(0x193)](_0x3ad675[_0x2e69e0(0x1a1)]['FromArray']([_0x55fec6,_0x436843])),{scaleX:_0x5627ab,scaleY:_0x45a4eb}=_0x32de16[_0x2e69e0(0x236)](),_0x1e2317=_0x32de16[_0x2e69e0(0x1c7)](_0x3ad675[_0x2e69e0(0x11e)][_0x2e69e0(0x10c)]),_0x2b3330=_0x32de16[_0x2e69e0(0x161)](_0x3ad675['Vector2'][_0x2e69e0(0x1fa)]([_0x247b3b,_0xdd3f3d]),_0x1e2317),_0x1ab5b0=_0x2e0c74[_0x2e69e0(0x1a9)](_0x55fec6,_0x436843,_0x5627ab,_0x45a4eb,_0x2b3330);((_0x12b3f6=this[_0x2e69e0(0x18d)])==null?void 0x0:_0x12b3f6['column'])===_0x1ab5b0[_0x2e69e0(0x172)]&&((_0x1a4404=this['_lastPointer'])==null?void 0x0:_0x1a4404[_0x2e69e0(0x2e1)])===_0x1ab5b0[_0x2e69e0(0x2e1)]||this['_diffs'][_0x2e69e0(0x33f)](_0x49b727=>{const _0x3e6175=_0x2e69e0;_0x49b727[_0x3e6175(0x327)](_0x1ab5b0);});},0x64));}));}['_initActiveSwitch'](){const _0x1e4e77=_0xd971d0;this['disposeWithMe'](this[_0x1e4e77(0x1b5)]['loadingState$'][_0x1e4e77(0x2d9)](_0xd60a06=>{const _0x44fa9e=_0x1e4e77,_0x3fc729=new _0x362e90['DisposableCollection']();return _0xd60a06===_0x5108cc[_0x44fa9e(0x20b)]&&(_0x3fc729['dispose'](),_0x3fc729['add'](this[_0x44fa9e(0x1ec)]['currentVersionDiff$']['subscribe'](_0x163f39=>{const _0x299581=_0x44fa9e;_0x163f39[_0x299581(0x222)]&&this[_0x299581(0x130)][_0x299581(0x246)](_0x20148a[_0x299581(0x2f0)]['id'],{'unitId':this[_0x299581(0x10a)][_0x299581(0x2fa)],'subUnitId':_0x163f39[_0x299581(0x222)]});}))),()=>_0x3fc729['dispose']();}));}['_updateDiffMarks'](_0x57e642,_0x1098f5){const _0x4d7ebd=_0xd971d0;var _0x29ee8;const _0x3769d3=(_0x29ee8=this['_sheetSkeletonManagerService'][_0x4d7ebd(0x1fc)]())==null?void 0x0:_0x29ee8[_0x4d7ebd(0x257)];if(!_0x3769d3)return;this[_0x4d7ebd(0x11a)]['forEach'](_0x46d876=>{_0x46d876['makeDirty']();});const {scene:_0xaccbdd}=this[_0x4d7ebd(0x10a)],_0x7cac48=Array[_0x4d7ebd(0x1bd)](_0x1098f5[_0x4d7ebd(0x1b4)]())[_0x4d7ebd(0x1a6)](_0x50d549=>_0x1098f5['get'](_0x50d549)[_0x4d7ebd(0x1a6)](_0x488bc4=>{const _0x147f36=_0x4d7ebd;var _0xe35715;const {range:_0x4d347a,subUnitId:_0x1857a2,unitId:_0x182945}=_0x488bc4,{startColumn:_0x108bb2,startRow:_0x5d1a09,endColumn:_0x247136,endRow:_0x158b2f}=_0x4d347a,_0x10bfc8=_0x7da741[_0x147f36(0x17b)](_0x5d1a09,_0x108bb2,_0xaccbdd,_0x3769d3),_0xbd98ed=_0x7da741[_0x147f36(0x17b)](_0x158b2f,_0x247136,_0xaccbdd,_0x3769d3),{columnHeaderHeightAndMarginTop:_0x23150d}=_0x3769d3,{startX:_0x2bc523,startY:_0x261711}=_0x10bfc8,{endX:_0x4b8f8b,endY:_0x13b4fc}=_0xbd98ed,_0x277692=_0x4b8f8b-_0x2bc523,_0x3560c6=_0x13b4fc-_0x261711,_0x597a92={'labelPosition':_0x261711-_0x23150d>=0x14?_0x147f36(0x1db):'bottom','sheetID':_0x1857a2,'range':_0x4d347a,'color':_0x147f36(0x339),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x147f36(0x339),'name':((_0xe35715=this[_0x147f36(0x1b5)]['getMember'](_0x50d549))==null?void 0x0:_0xe35715[_0x147f36(0x203)])||'','selection':_0x182945+'-'+_0x1857a2+'-'+_0x4d347a['startColumn']+'-'+_0x4d347a[_0x147f36(0x14b)]+'-'+_0x4d347a['endColumn']+'-'+_0x4d347a[_0x147f36(0x1c1)],'left':_0x2bc523,'top':_0x261711,'width':_0x277692,'height':_0x3560c6,'evented':!0x1,'zIndex':0x1};return new _0x33458a[(_0x147f36(0x1a2))]('',_0x597a92);}))['flat']();_0xaccbdd[_0x4d7ebd(0x22d)](_0x7cac48,0x1),this[_0x4d7ebd(0x11a)]=new Set(_0x7cac48);}[_0xd971d0(0x2de)](){const _0x4f36d1=_0xd971d0;var _0x2dae38;(_0x2dae38=this[_0x4f36d1(0x11a)])==null||_0x2dae38[_0x4f36d1(0x33f)](_0x4fde5c=>_0x4fde5c[_0x4f36d1(0x26f)]());}['_getSheetObject'](){const _0x35d0e1=_0xd971d0;return _0x7da741[_0x35d0e1(0x199)](this[_0x35d0e1(0x20e)],this[_0x35d0e1(0x296)]);}};_0x1bb87c=_0x378217([_0xc0a5b7(0x1,_0x362e90[_0xd971d0(0x32a)](_0x10d983[_0xd971d0(0x281)])),_0xc0a5b7(0x2,_0x362e90[_0xd971d0(0x32a)](_0x2c97eb)),_0xc0a5b7(0x3,_0x362e90[_0xd971d0(0x33d)]),_0xc0a5b7(0x4,_0x3ad675[_0xd971d0(0x206)]),_0xc0a5b7(0x5,_0x362e90['Inject'](_0x7da741[_0xd971d0(0x2b6)])),_0xc0a5b7(0x6,_0x362e90[_0xd971d0(0x272)])],_0x1bb87c);function _0xbd4abc(){const _0x14e412=_0xd971d0,_0x30a32f=_0x20c686['useDependency'](_0x10d983[_0x14e412(0x281)]),_0x3cf835=_0x20c686[_0x14e412(0x10e)](_0x30a32f[_0x14e412(0x297)]),[_0x3b28dd,_0x1afd66]=_0x502a43[_0x14e412(0x101)](!0x1),_0x3fc4d3=_0x3435cf(_0x3cf835);return _0x3cf835?_0x39e60c['jsx']('div',{'className':'univer-overflow-hidden','children':_0x39e60c[_0x14e412(0x258)](_0x14e412(0x1ca),{'className':_0x14e412(0x18f),'children':[_0x3fc4d3[_0x14e412(0x1a6)]((_0x521543,_0x5373f7)=>_0x39e60c[_0x14e412(0x258)](_0x502a43[_0x14e412(0x2a7)],{'children':[_0x39e60c['jsx'](_0x36c778,{'date':_0x521543[_0x14e412(0x144)]}),_0x521543[_0x14e412(0x1f8)]['map']((_0x1c53de,_0x1a88db)=>_0x39e60c[_0x14e412(0x138)](_0x1a8656,{'index':[_0x5373f7,_0x1a88db],'item':_0x1c53de},_0x5373f7+'-'+_0x1a88db))]},_0x521543[_0x14e412(0x144)])),_0x3b28dd&&_0x39e60c['jsx'](_0x27122f,{})]})}):_0x39e60c[_0x14e412(0x138)](_0x2accae,{});}function _0x27122f(){const _0x49df56=_0xd971d0;return _0x39e60c[_0x49df56(0x138)](_0x49df56(0x1ca),{'className':_0x49df56(0xf2),'children':_0x39e60c[_0x49df56(0x138)](_0x39613e,{'className':_0x49df56(0x2fd)})});}function _0x2accae(){const _0x16b65f=_0xd971d0;return _0x39e60c['jsx'](_0x16b65f(0x1ca),{'className':_0x16b65f(0x276),'children':_0x39e60c[_0x16b65f(0x138)](_0x16b65f(0x1cc),{'className':_0x16b65f(0x2ba),'children':_0x39e60c[_0x16b65f(0x138)](_0x39613e,{'className':'univer-m-auto\x20univer-animate-spin'})})});}function _0x36c778(_0x1d8713){const _0x146866=_0xd971d0,_0x7a53ec=_0x20c686[_0x146866(0x291)](_0x362e90[_0x146866(0x283)]),{date:_0x6667d8}=_0x1d8713;return _0x39e60c['jsx'](_0x146866(0x1ca),{'className':_0x146866(0x111),'children':_0x3e1cfe(_0x6667d8,_0x7a53ec[_0x146866(0x293)]())});}function _0x1a8656(_0x553529){const _0x41527e=_0xd971d0,{item:_0x49e883,index:_0x12980b}=_0x553529,{time:_0x5866f4,user:_0x3ebcd2}=_0x49e883,[_0x530772,_0x2e2f1f]=_0x12980b,_0x5e73e7=_0x20c686[_0x41527e(0x291)](_0x10d983[_0x41527e(0x281)]),_0x3551ac=_0x20c686[_0x41527e(0x10e)](_0x5e73e7[_0x41527e(0x12e)],'',!0x0)===_0x49e883['id'],_0x30380b=_0x530772===0x0&&_0x2e2f1f===0x0,_0x310d7c=!_0x30380b&&_0x5e73e7[_0x41527e(0x310)],_0x352c7c=_0x20c686[_0x41527e(0x291)](_0x362e90[_0x41527e(0x283)]),_0x7269fa=_0x352c7c[_0x41527e(0x293)](),_0x33479f=_0x5dbd4d(_0x5866f4,_0x7269fa),_0x25fc2a=_0x352c7c['t']('editHistory.panel.currentVersion'),_0x36b14e=_0x502a43[_0x41527e(0x201)](_0x2d54e1=>{const _0x202ee9=_0x41527e;_0x5e73e7[_0x202ee9(0x2db)]!==_0x5108cc[_0x202ee9(0x322)]&&(_0x5e73e7[_0x202ee9(0x262)]=_0x2d54e1);},[_0x5e73e7]),_0x4d954f=_0x502a43[_0x41527e(0x201)](_0x532afd=>{const _0x4bf44c=_0x41527e;_0x5e73e7[_0x4bf44c(0x2e5)](_0x532afd);},[_0x5e73e7]);return _0x39e60c[_0x41527e(0x258)](_0x41527e(0x1ca),{'className':_0xdd5d02[_0x41527e(0x16f)](_0x41527e(0x2e3),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x3551ac}),'onClick':()=>_0x36b14e(_0x49e883['id']),'children':[_0x39e60c[_0x41527e(0x258)]('div',{'className':_0x41527e(0x2fe),'children':[_0x39e60c[_0x41527e(0x258)](_0x41527e(0x1ca),{'className':_0x41527e(0x22f),'children':[_0x39e60c['jsx'](_0x41527e(0x1cc),{'children':_0x33479f['time']}),_0x30380b&&_0x39e60c[_0x41527e(0x138)](_0x41527e(0x1cc),{'className':_0x41527e(0x2a2),'children':_0x25fc2a})]}),_0x39e60c[_0x41527e(0x138)](_0x41527e(0x1ca),{'children':_0x310d7c&&_0x39e60c[_0x41527e(0x138)](_0xdd5d02[_0x41527e(0x113)],{'title':_0x352c7c['t'](_0x41527e(0x255)),'children':_0x39e60c[_0x41527e(0x138)](_0x41527e(0x1ca),{'onClick':_0x4252c3=>{const _0x27d7b4=_0x41527e;_0x4252c3[_0x27d7b4(0x215)](),_0x4d954f(_0x49e883['id']);},'className':_0x41527e(0x196),'children':_0x39e60c[_0x41527e(0x138)](_0x32c3e1,{})})})})]}),_0x39e60c['jsx'](_0x41527e(0x1ca),{'className':'univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','children':_0x43830a(_0x49e883,_0x352c7c)})]});}var _0x35d3b4=Object['getOwnPropertyDescriptor'],_0x486340=(_0xc05e26,_0x2ca445,_0x47625c,_0x3fa885)=>{for(var _0x2b4fb6=_0x3fa885>0x1?void 0x0:_0x3fa885?_0x35d3b4(_0x2ca445,_0x47625c):_0x2ca445,_0x6a0393=_0xc05e26['length']-0x1,_0x30fe64;_0x6a0393>=0x0;_0x6a0393--)(_0x30fe64=_0xc05e26[_0x6a0393])&&(_0x2b4fb6=_0x30fe64(_0x2b4fb6)||_0x2b4fb6);return _0x2b4fb6;},_0x372c05=(_0xe83f20,_0x27c11c)=>(_0x228f05,_0x782c8e)=>_0x27c11c(_0x228f05,_0x782c8e,_0xe83f20);const _0x549dab=_0xd971d0(0xef);let _0x383517=class extends _0x362e90[_0xd971d0(0x2fb)]{constructor(_0xf69c6b,_0x501c43,_0x3db198,_0x23766b,_0x4a009d){const _0x696562=_0xd971d0;super(),_0x1980b0(this,_0x696562(0x23c),null),(this[_0x696562(0x143)]=_0xf69c6b,this['_componentManager']=_0x501c43,this[_0x696562(0x194)]=_0x3db198,this[_0x696562(0x1b5)]=_0x23766b,this['_configService']=_0x4a009d,this[_0x696562(0x261)]());}[_0xd971d0(0x261)](){const _0x4a52db=_0xd971d0;this['_initPanel'](),this[_0x4a52db(0x135)]();}[_0xd971d0(0x135)](){const _0x350ea9=_0xd971d0;var _0x125a30;if(this['_sidebarDisposable'])return;const _0x22444f=((_0x125a30=this[_0x350ea9(0x147)][_0x350ea9(0x23f)](_0x4b6a56))==null?void 0x0:_0x125a30['historyPanelComponentKey'])||_0x549dab,_0x4c156f={'header':{'title':this[_0x350ea9(0x194)]['t'](_0x350ea9(0x274))},'children':{'label':_0x22444f},'onClose':()=>{const _0x46f2e0=_0x350ea9;this[_0x46f2e0(0x23c)]=null,this['_historyManagerService']['status']=_0x27d434[_0x46f2e0(0xf4)];}};this[_0x350ea9(0x23c)]=this[_0x350ea9(0x143)][_0x350ea9(0x153)]({..._0x4c156f});}[_0xd971d0(0x27b)](){const _0x21c264=_0xd971d0;this[_0x21c264(0x32f)](this[_0x21c264(0x187)]['register'](_0x549dab,_0xbd4abc)),this['disposeWithMe'](this[_0x21c264(0x143)]['scrollEvent$'][_0x21c264(0x244)](_0x41005e['debounceTime'](0x64))['subscribe'](_0x11b276=>{const _0x2c7408=_0x21c264,{target:_0x529848}=_0x11b276||{};if(_0x529848){const {scrollTop:_0x25fe2f,scrollHeight:_0x358e31,clientHeight:_0x1ed20c}=_0x529848;_0x25fe2f+_0x1ed20c>=_0x358e31-0x5&&this[_0x2c7408(0x1b5)][_0x2c7408(0x116)]();}}));}};_0x383517=_0x486340([_0x372c05(0x0,_0x20c686[_0xd971d0(0x2d6)]),_0x372c05(0x1,_0x362e90[_0xd971d0(0x32a)](_0x20c686[_0xd971d0(0x197)])),_0x372c05(0x2,_0x362e90[_0xd971d0(0x32a)](_0x362e90['LocaleService'])),_0x372c05(0x3,_0x362e90[_0xd971d0(0x32a)](_0x10d983[_0xd971d0(0x281)])),_0x372c05(0x4,_0x362e90[_0xd971d0(0x198)])],_0x383517);class _0x1f14bd extends _0x362e90[_0xd971d0(0x2fb)]{constructor(){const _0x4c94ab=_0xd971d0;super(),_0x1980b0(this,_0x4c94ab(0x237),new _0x41005e[(_0x4c94ab(0x171))]());}[_0xd971d0(0x153)](){return _0x362e90['toDisposable'](()=>{});}[_0xd971d0(0x2aa)](){}[_0xd971d0(0x17e)](_0x7ba736){}[_0xd971d0(0x30c)](){const _0x1f75ad=_0xd971d0;return this['_dialogOptions$'][_0x1f75ad(0x292)]();}}var _0x245dc6=Object[_0xd971d0(0x1dc)],_0x3928a=Object['getOwnPropertyDescriptor'],_0x2e2fe7=(_0x4b0dbd,_0x4bfce4,_0x1fbf59)=>_0x4bfce4 in _0x4b0dbd?_0x245dc6(_0x4b0dbd,_0x4bfce4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1fbf59}):_0x4b0dbd[_0x4bfce4]=_0x1fbf59,_0x3aaccc=(_0x2d50c5,_0x2f5066,_0x3a9849,_0x2a4a25)=>{const _0x2b4574=_0xd971d0;for(var _0xd892da=_0x2a4a25>0x1?void 0x0:_0x2a4a25?_0x3928a(_0x2f5066,_0x3a9849):_0x2f5066,_0xd0342=_0x2d50c5[_0x2b4574(0x311)]-0x1,_0x2b28ad;_0xd0342>=0x0;_0xd0342--)(_0x2b28ad=_0x2d50c5[_0xd0342])&&(_0xd892da=_0x2b28ad(_0xd892da)||_0xd892da);return _0xd892da;},_0x59784e=(_0x3d3e84,_0x328dbd)=>(_0x1195c1,_0x20e65a)=>_0x328dbd(_0x1195c1,_0x20e65a,_0x3d3e84),_0x33236e=(_0x200069,_0x605330,_0x1ea55f)=>_0x2e2fe7(_0x200069,_0x605330+'',_0x1ea55f);const _0x38ca3a=_0xd971d0(0x1b7);_0x10d983[_0xd971d0(0x340)]=class extends _0x362e90[_0xd971d0(0x313)]{constructor(_0x1333d1=_0x2d6f67,_0x4d123d,_0x1ef8af,_0x51513e){const _0x419f9b=_0xd971d0;super(),this['_config']=_0x1333d1,this[_0x419f9b(0x146)]=_0x4d123d,this[_0x419f9b(0x296)]=_0x1ef8af,this[_0x419f9b(0x147)]=_0x51513e;const {..._0x3db79d}=_0x362e90[_0x419f9b(0x169)]({},_0x2d6f67,this['_config']);this[_0x419f9b(0x147)][_0x419f9b(0x241)](_0x4b6a56,_0x3db79d);}[_0xd971d0(0x2c3)](){const _0x51f322=_0xd971d0;[[_0x10d983[_0x51f322(0x281)]],[_0x322ffd],[_0x2c97eb],[_0x531cb8],[_0x383517],[_0x48b2ea],[_0x31bbcc[_0x51f322(0x1ae)],{'useClass':_0x28124e[_0x51f322(0x221)]}],[_0x20c686['IDialogService'],{'useClass':_0x1f14bd}],[_0x3d4b38['IImageIoService'],{'useClass':_0x28124e['CollaborationImageIoService']}]][_0x51f322(0x33f)](_0x11e407=>this['_injector']['add'](_0x11e407)),this[_0x51f322(0x146)]['get'](_0x322ffd);}['onRendered'](){const _0x19c273=_0xd971d0;[[_0x1bb87c]]['forEach'](_0x5ead5e=>{const _0x72c1d4=_0x1234;this['disposeWithMe'](this[_0x72c1d4(0x296)][_0x72c1d4(0x11d)](_0x362e90['UniverInstanceType'][_0x72c1d4(0xfc)],_0x5ead5e));}),this['_injector'][_0x19c273(0x16d)](_0x48b2ea),this[_0x19c273(0x146)][_0x19c273(0x16d)](_0x383517);}[_0xd971d0(0x137)](){const _0x33819f=_0xd971d0;this[_0x33819f(0x146)]['get'](_0x2c97eb);}},_0x33236e(_0x10d983[_0xd971d0(0x340)],_0xd971d0(0x249),_0x38ca3a),_0x10d983[_0xd971d0(0x340)]=_0x3aaccc([_0x362e90[_0xd971d0(0x1b2)](_0x7da741[_0xd971d0(0x304)],_0x3ce9c5[_0xd971d0(0x251)]),_0x59784e(0x1,_0x362e90[_0xd971d0(0x32a)](_0x362e90[_0xd971d0(0x2a3)])),_0x59784e(0x2,_0x3ad675[_0xd971d0(0x206)]),_0x59784e(0x3,_0x362e90[_0xd971d0(0x198)])],_0x10d983[_0xd971d0(0x340)]),_0x10d983[_0xd971d0(0x2f1)]=_0x27d434,_0x10d983[_0xd971d0(0x27f)]=_0x1cd6f3,Object[_0xd971d0(0x1dc)](_0x10d983,Symbol[_0xd971d0(0x2c7)],{'value':_0xd971d0(0x2bf)});}));function _0xddf4(){const _0x2a04fd=['evenodd','ISidebarService','fill','clear','subscribe','VIRTUAL_VERSION_NOW','loadingState','LICENSE_EXPORT_SIZE_EXCEEDED','Delete','_removeDiffMarks','ENTITLE_COUPON_EXPIRED','show','row','_versions$','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','MoveWorksheet','triggerRevert','REDEMPTION_CODE_NOT_STARTED','mask','InsertSheetMutation','WorkbookRenameSheetPermission','xlink:href','date','revertRevision$','SetRangeValuesMutation','setFrozen','setValue','SetWorksheetActiveOperation','HistoryModeStatus','_extractRanges','YUUMI_ALL_TABLES_IS_INVALID','YUUMI_UNABLE_LOAD_URL','1008lQTxFS','_transformService','fetchMissingChangesets','fetchThroughInterceptors','UniverSheetsConditionalFormatting','unitId','Disposable','429BPstho','univer-animate-spin','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','@univerjs-pro/collaboration','blocks','univerjs-icon\x20univerjs-icon-','getDataRange','YUUMI_NO_CUBOID_FOR_QUESTION','UniverSheetsUIPlugin','LocaleType','entries','Duplicate','history-mask','time','reduce','find','getDialogs$','UNDEFINED','4385oVCxiS','Sort','canRevert','length','style','Plugin','ViewHistory','_messageService','YUUMI_CONNECTOR_URL_NOT_FOUND','UniverUi','EditExtraObject','CopySheet','INTERNAL_ERROR','getOwnPropertyDescriptor','REDEMPTION_CODE_FULLY_REDEEMED','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','421908kmdEAl','updatePermissionPoint','filter','flat','Loading','@univerjs-pro/sheets-chart','refreshRangeProtectPermission','_currentVersionDiff$','toISOString','onMouseMove','11841150keKXyE','position','Inject','User','APPLY_REVISION_CONFILICT','InsertColMutation','url(#$1','disposeWithMe','@univerjs/network','origin','CURRENT_STATUS_CANNOT_OPERATE','RangeMergeUtil','EMAIL_HAS_BEEN_BOUND','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','BackIcon','combineLatest','SetCellStyle','rgba(58,\x2096,\x20247,\x200.20)','InsertRow','ensureVersion','subscribeEvent','IUniverInstanceService','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','forEach','UniverEditHistoryViewerPlugin','CHANGESET_REVISION_CONFILICT','endColumn','setDV','SetWorksheetHideMutation','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','loading-multi-icon','editHistory.action.','Export','_canRevert','@univerjs/sheets','hideMask','ZH_CN','history-panel','INVITE_CODE_HAS_BEEN_UES','_getRangesByMutation','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','flex','Exited','IConfirmService','triggerLoadVersions','CreateSheet','SetConditionalRuleMutation','SelectProtectedCells','InsertColumn','PY_RUNTIME_SCRIPT_ERROR','UNIVER_SHEET','21808HClPMQ','Character','_revertRevision$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','useState','REDEMPTION_CODE_HAS_BEEN_CREATED','http://www.w3.org/2000/svg','DeleteColumn','_diffRangesMap','ENTITLE_COUPON_USED_UP','REDEMPTION_INVALID_CODE','ENTITLE_DUP_SUBSCRIPTION','UNIVER_UNKNOWN','_context','error','VIEW_MAIN','createElement','useObservable','querySelector','AUTHORIZE_CODE_ILLEGAL','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','insertChart','Tooltip','IMessageService','UniverDrawing','loadMoreVersions','@univerjs/design','RemoveNumfmtMutation','left','_diffs','permissionPointUpdate$','Edit','registerRenderModule','SHEET_VIEWPORT_KEY','tag','_permissionService','RenameWorksheet','RestoreIcon','LOGIN_FAILED','SNAPSHOT_HAS_BEEN_REMOVED',':\x20(','Comment','YUUMI_SUBSCRIPTION_NOT_FOUND','loaded','DeleteRow','changesets','body','_httpService','Today','currentVersion$','Filter','_commandService','LOGIN_TOKEN_PROCESSING_FAILED','deleteProtection','useRef','_setFetching','_openPanel','_currentVersion$','onSteady','jsx','_sheetPermissionInitController','sheet','Unspecified','16672EGKswG','APPLY_REJECT','ENTITLE_INVALID_COUPON_CODE','ENTITLE_INSUFFICIENT_QUOTA','_maskElement','editHistory.action.revertSheetSuffix','UniverProSheetsSparkline','_sidebarService','dateString','userID','_injector','_configService','UniverSheets','switchMap','WECHAT_HAS_BEEN_BOUND','startRow','SetFrozenMutation','debounce','createUnit','all','_updateDiffMarks','WorkbookMoveSheetPermission','loadSheet','open','PERMISSION_DENIED','rev','current','ranges','fetchCreatorList','confirm-revert-revision','push','getVersion','ITransformService','historyListServerUrl','substring','UNIVER_DOC','RwHgtClWdt','getVpScrollXYInfoByPosToVp','DeleteWorksheetProtectionMutation','RevertRevisionMutation','UniverInstanceType','react/jsx-runtime','editHistory.info.loading','1em','rules','merge','/list?','height','_lastLabel','get','CreateWorksheet','clsx','editHistory.panel.currentUser','Subject','column','zIndex','Info','justifyContent','onPointerMove$','init','#0B9EFB','replace','UNRECOGNIZED','getCoordByCell','_yieldToMain','state$','closeAll','2212hzMriG','BehaviorSubject','showMask','attrs','getVersions','hasCommand','fetching$','currentColor','_componentManager','216lUaVNO','ViemRwHgtClWdt','values','PAYMENT_CHANNEL_NOT_SUPPORT','has','_lastPointer','_fetching$','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','split','ENSURE_SNAPSHOT_EXECUTION','getRelativeToViewportCoord','_localeService','[HistoryFetchService]:\x20request\x20snapshot\x20error!','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','ComponentManager','IConfigService','getSheetObject','none','ENTITLE_CAN_NOT_BUY_LOWER_OTP','Share','RenameSheet','defs','exports','children','Vector2','SheetCollabCursorShape','AddRangeProtectionMutation','isTransformMutationsSuccess','APPLY_NON_SEQUENTIAL_REVISION','map','SNAPSHOT_INVALID_SNAPSHOT','CreatePermissionObject','getCellPositionByOffset','0\x200\x2016\x2016','concat','rule','getElementById','ISnapshotServerService','WorkbookHideSheetPermission','USER_IS_ANONYMOUS','UniverProCollaborationClientUi','DependentOn','forwardRef','keys','_historyManagerService','triggerLoadSheet','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','_creators$','set','YUUMI_TABLE_NOT_FOUND_IN_UNIT','Entered','editHistory.panel.unknownUser','from','toString','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UNIVER_SLIDE','endRow','REDEMPTION_USER_NOT_ELIGIBLE','block','setState','History','cellValue','getViewport','editHistory.panel.revertConfirm','mutations','div','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','span','DeleteSheet','USER_NOT_INVITED_CODE','HideWorksheet','MoveRowsMutation','UNIVER_PROJECT','_historyContainerId','4084605AuXDcs','editHistory.panel.cancel','creators','status','INVALID_ARGUMENT','setFilter','SheetPermissionInitController','@univerjs/ui','top','defineProperty','@univerjs/engine-render','commands','interceptor','connectInjector','2718WEYMJf','TOO_MANY_REQUESTS','ENTITLE_REPORT_LIMIT_EXCEED','back-icon','userId','confirm','YUUMI_AI_RUN_FAILED','UniverSheetsFilter','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','currentVersionDiff$','@univerjs/sheets-conditional-formatting','_versionDiffService','append','command','rxjs','getMinutes','SetSheetsFilterRangeMutation','insertSheet','getHours','100%','symbol','UniverSheetsUi','white','versions','sheetId','FromArray','ReorderRangeMutation','getCurrent','MOBILE_VERIFY_CODE_MISMATCH','subUnitId','isArray','getUnitId','useCallback','startColumn','name','next','_cellEditorManagerService','IRenderManagerService','MoveSheet','string','LICENSE_DISTRO_REJECTED','currentSkeleton$','Loaded','@univerjs/data-validation','_createMask','_univerInstanceService','Error','UniverDataValidation','range','workbook','params','unitId$','stopPropagation','react','_getActiveSubUnitId','Init','object','getCurrentVersion','syncExecuteCommand','RemoveSheetMutation','entered','idSuffix','ALREADY_EXISTS','getUnitOnRev','SnapshotServerOverHTTPService','active','_getAPIPrefix','rgba(225,\x20225,\x20225,\x200.5)','_setVersions','View','UniverProEditHistoryViewer','UniverProSheetsChart','backgroundColor','data','INVITE_CODE_REQUIRED','ViewFilter','addObjects','_uiPartsService','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','primary','/creators','_maskContainer','assign','loadInitialVersions','_loadParams','getAncestorScale','_dialogOptions$','COMPLETION_FINISHED','anonymous','getInterceptPoints','svg','_sidebarDisposable','recoverTime','SetRangeProtectionMutation','getConfig','REDEMPTION_USER_REDEEM_TIMES_EXCEED','setConfig','RecoverHistory','m1Prime','pipe','DeleteRangeProtectionMutation','executeCommand','restore-icon','_updateVersions','pluginName','APPLY_PERMISSION_DENIED','YUUMI_URL_COL_OUT_OF_RANGE','loadingState$','findAllRectangle','AddSheetSparklineMutation','loading','createTime','UniverNetworkPlugin','NOT_FOUND','_unitId$','subType','editHistory.panel.revertDesc','code','skeleton','jsxs','UniverNetwork','UpdateDataValidationMutation','colorChannel1','_initMaskContainer','some','restore-icon_clip0_1247_2','className','action','_init','currentVersion','ENTITLE_NEED_BILLING_ADDRESS','APPLY_DUPLICATED','_sheetSkeletonManagerService','editHistory.action.revertSheetPrefix','_snapshotServerService','_workbookDataCache','SetRowStyle','_combineRanges','now','addSparkline','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','path','dispose','UniverProCollaboration','InsertSheetsChartMutation','ICommandService','memberId','editHistory.panel.title','padStart','univer-flex\x20univer-items-center\x20univer-justify-center','SetColumnStyle','HideSheet','REDEMPTION_CODE_INACTIVE','DeleteWorksheet','_initPanel','ManageCollaborator','editSheet','getMember','HistoryOrigin','@univerjs/core','HistoryManagerService','includes','LocaleService','clipPath','LICENSE_MAX_UNITS_EXCEEDED','center','color','Print','SetWorksheetStyle','editHistory.panel.listFetchError','borderBottomClassName','user','_loadingState$','AddDataValidationMutation','use','EditWorksheetCell','useDependency','asObservable','getCurrentLocale','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','additionalFields','_renderManagerService','versions$','UNAUTHENTICATED','_status$','AddWorksheetMergeMutation','AddConditionalRuleMutation','747WRfyiv','ENTITLE_CHAT_LIMIT_EXCEED','userIds','HTTPService','/universer-api/history','_historyFetchService','univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','Injector','width','LoadingMultiIcon','setCF','Fragment','YUUMI_ASYNCIO_CANCELLED','UniverIcon','close','loadHistoryCreatorList','editHistory.panel.confirm','ERROR_AGAIN','trim','value','addProtection','Copy','UniverCore','UniverProCollaborationClient','editHistory.action.etc','PivotTable','SheetSkeletonManagerService','DATA_SOURCE_TOO_LARGE','fetching','revertSheet','univer-text-gray-500','_transformMutationByOrder','FloatImg','getSeconds','ObjectMatrix','Module','@univerjs-pro/sheets-sparkline','MoveRangeMutation','React','onStarting','INVALID_INVITE_CODE','LICENSE_IMPORT_SIZE_EXCEEDED','url(#restore-icon_clip0_1247_2)','toStringTag','INVITE_CODE_ALREADY_BOUND','display','InsertHyperlink','hidden','USER_NOT_FOUND','_hasMore','WorkbookEditablePermission','_members','@univerjs-pro/collaboration-client','entities','ENTITLE_USE_COUPON_NOT_1ST_TRADE','displayName','_compressMutationService'];_0xddf4=function(){return _0x2a04fd;};return _0xddf4();}
17
+ (function(_0x28b31d,_0x4aff6f){const _0x4a53d8=_0x45e1,_0x31b52a=_0x28b31d();while(!![]){try{const _0x21cdde=-parseInt(_0x4a53d8(0x203))/0x1+parseInt(_0x4a53d8(0x274))/0x2*(parseInt(_0x4a53d8(0x233))/0x3)+-parseInt(_0x4a53d8(0x19c))/0x4*(-parseInt(_0x4a53d8(0x282))/0x5)+parseInt(_0x4a53d8(0x3e5))/0x6*(parseInt(_0x4a53d8(0x3bc))/0x7)+parseInt(_0x4a53d8(0x310))/0x8*(-parseInt(_0x4a53d8(0x356))/0x9)+parseInt(_0x4a53d8(0x333))/0xa*(parseInt(_0x4a53d8(0x3cd))/0xb)+-parseInt(_0x4a53d8(0x1b3))/0xc*(parseInt(_0x4a53d8(0x368))/0xd);if(_0x21cdde===_0x4aff6f)break;else _0x31b52a['push'](_0x31b52a['shift']());}catch(_0x25b9a6){_0x31b52a['push'](_0x31b52a['shift']());}}}(_0x5313,0x6413e),function(_0x153e53,_0x28acf6){const _0x255852=_0x45e1;typeof exports==_0x255852(0x353)&&typeof module<'u'?_0x28acf6(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('@univerjs/design'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-filter'),require('react/jsx-runtime'),require('react'),require('@univerjs-pro/collaboration-client-ui')):typeof define==_0x255852(0x2a0)&&define[_0x255852(0x2c7)]?define([_0x255852(0x2d8),_0x255852(0x346),_0x255852(0x29d),'@univerjs/core',_0x255852(0x1d0),_0x255852(0x256),_0x255852(0x26a),'@univerjs/sheets-ui','@univerjs/ui',_0x255852(0x2db),'@univerjs/sheets','rxjs',_0x255852(0x326),_0x255852(0x2fd),_0x255852(0x319),'@univerjs/sheets-conditional-formatting','@univerjs/sheets-filter',_0x255852(0x2c1),_0x255852(0x328),'@univerjs-pro/collaboration-client-ui'],_0x28acf6):(_0x153e53=typeof globalThis<'u'?globalThis:_0x153e53||self,_0x28acf6(_0x153e53['UniverProEditHistoryViewer']={},_0x153e53['UniverProCollaboration'],_0x153e53['UniverProCollaborationClient'],_0x153e53[_0x255852(0x1a0)],_0x153e53[_0x255852(0x380)],_0x153e53['UniverEngineRender'],_0x153e53['UniverNetwork'],_0x153e53['UniverSheetsUi'],_0x153e53[_0x255852(0x196)],_0x153e53[_0x255852(0x3c9)],_0x153e53[_0x255852(0x1b2)],_0x153e53[_0x255852(0x382)],_0x153e53[_0x255852(0x258)],_0x153e53[_0x255852(0x2d9)],_0x153e53['UniverDataValidation'],_0x153e53[_0x255852(0x3d6)],_0x153e53['UniverSheetsFilter'],_0x153e53[_0x255852(0x1b9)],_0x153e53[_0x255852(0x1b9)],_0x153e53[_0x255852(0x2ea)]));}(this,function(_0x54ee94,_0x1eca98,_0x168e18,_0x285b5b,_0x4ac541,_0x473668,_0x571f57,_0x4c4883,_0x70b9b,_0x19c3db,_0x4e049b,_0x81574a,_0xafd482,_0x5071a,_0x416632,_0x5f3a62,_0x5e8f6c,_0x5bdedf,_0x16dffe,_0x5ce22a){'use strict';const _0x4ea31f=_0x45e1;var _0x4ad687=Object[_0x4ea31f(0x290)],_0x360f87=(_0x578bdf,_0x5df63d,_0x2ee6d2)=>_0x5df63d in _0x578bdf?_0x4ad687(_0x578bdf,_0x5df63d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ee6d2}):_0x578bdf[_0x5df63d]=_0x2ee6d2,_0x2ddecb=(_0x1b7e80,_0x37a90e,_0x34ab38)=>_0x360f87(_0x1b7e80,typeof _0x37a90e!=_0x4ea31f(0x1e8)?_0x37a90e+'':_0x37a90e,_0x34ab38);const _0x379c2d=_0x4ea31f(0x3dc),_0xca6169={};var _0x1c5846=Object[_0x4ea31f(0x3ea)],_0x4487bc=(_0x358236,_0x12abee,_0x24b26d,_0x5848e0)=>{const _0x12ed07=_0x4ea31f;for(var _0x10d3a7=_0x5848e0>0x1?void 0x0:_0x5848e0?_0x1c5846(_0x12abee,_0x24b26d):_0x12abee,_0x485cd7=_0x358236[_0x12ed07(0x1ea)]-0x1,_0x12d688;_0x485cd7>=0x0;_0x485cd7--)(_0x12d688=_0x358236[_0x485cd7])&&(_0x10d3a7=_0x12d688(_0x10d3a7)||_0x10d3a7);return _0x10d3a7;},_0xbd32cc=(_0x5e9e2c,_0xfa69b)=>(_0x3e3242,_0x5a6a12)=>_0xfa69b(_0x3e3242,_0x5a6a12,_0x5e9e2c);let _0x1e4641=class extends _0x285b5b[_0x4ea31f(0x377)]{constructor(_0x459f01){const _0x13bdd0=_0x4ea31f;super(),this['_cellEditorManagerService']=_0x459f01,this[_0x13bdd0(0x2fa)]();}[_0x4ea31f(0x2fa)](){const _0x187d3b=_0x4ea31f;this[_0x187d3b(0x23a)](this[_0x187d3b(0x199)][_0x187d3b(0x1e2)][_0x187d3b(0x2e1)](_0xf301e1=>{const _0xd7d292=_0x187d3b;_0xf301e1!=null&&_0xf301e1[_0xd7d292(0x381)]&&this[_0xd7d292(0x199)][_0xd7d292(0x22d)]({'show':!0x1});}));}};_0x1e4641=_0x4487bc([_0xbd32cc(0x0,_0x4c4883[_0x4ea31f(0x278)])],_0x1e4641);var _0x4ac4b0=(_0x130af7=>(_0x130af7[_0x130af7[_0x4ea31f(0x213)]=0x0]='UNDEFINED',_0x130af7[_0x130af7['OK']=0x1]='OK',_0x130af7[_0x130af7[_0x4ea31f(0x218)]=0x2]=_0x4ea31f(0x218),_0x130af7[_0x130af7[_0x4ea31f(0x34b)]=0x3]=_0x4ea31f(0x34b),_0x130af7[_0x130af7[_0x4ea31f(0x216)]=0x4]=_0x4ea31f(0x216),_0x130af7[_0x130af7[_0x4ea31f(0x204)]=0x5]=_0x4ea31f(0x204),_0x130af7[_0x130af7[_0x4ea31f(0x1df)]=0x6]='ALREADY_EXISTS',_0x130af7[_0x130af7[_0x4ea31f(0x1dc)]=0x7]=_0x4ea31f(0x1dc),_0x130af7[_0x130af7[_0x4ea31f(0x3c6)]=0x8]=_0x4ea31f(0x3c6),_0x130af7[_0x130af7[_0x4ea31f(0x1d6)]=0x9]=_0x4ea31f(0x1d6),_0x130af7[_0x130af7[_0x4ea31f(0x30c)]=0xa]=_0x4ea31f(0x30c),_0x130af7[_0x130af7[_0x4ea31f(0x287)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x130af7[_0x130af7['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x4ea31f(0x3e4),_0x130af7[_0x130af7['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x4ea31f(0x320),_0x130af7[_0x130af7[_0x4ea31f(0x25a)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x130af7[_0x130af7[_0x4ea31f(0x2ec)]=0xf]=_0x4ea31f(0x2ec),_0x130af7[_0x130af7[_0x4ea31f(0x247)]=0x10]=_0x4ea31f(0x247),_0x130af7[_0x130af7[_0x4ea31f(0x2aa)]=0x64]=_0x4ea31f(0x2aa),_0x130af7[_0x130af7[_0x4ea31f(0x2fe)]=0x65]=_0x4ea31f(0x2fe),_0x130af7[_0x130af7['USER_NOT_FOUND']=0xc9]=_0x4ea31f(0x226),_0x130af7[_0x130af7['USER_IS_ANONYMOUS']=0xca]=_0x4ea31f(0x3ae),_0x130af7[_0x130af7[_0x4ea31f(0x20a)]=0x1389]=_0x4ea31f(0x20a),_0x130af7[_0x130af7[_0x4ea31f(0x367)]=0x1771]=_0x4ea31f(0x367),_0x130af7[_0x130af7[_0x4ea31f(0x3cb)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x130af7[_0x130af7['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4ea31f(0x2de),_0x130af7[_0x130af7[_0x4ea31f(0x24b)]=0x1b59]='APPLY_REJECT',_0x130af7[_0x130af7[_0x4ea31f(0x1c6)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x130af7[_0x130af7[_0x4ea31f(0x249)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x130af7[_0x130af7[_0x4ea31f(0x334)]=0x1b5c]=_0x4ea31f(0x334),_0x130af7[_0x130af7[_0x4ea31f(0x3a4)]=0x1b5d]=_0x4ea31f(0x3a4),_0x130af7[_0x130af7[_0x4ea31f(0x359)]=0x1f41]=_0x4ea31f(0x359),_0x130af7[_0x130af7[_0x4ea31f(0x24f)]=0x2329]=_0x4ea31f(0x24f),_0x130af7[_0x130af7[_0x4ea31f(0x29f)]=0x232a]=_0x4ea31f(0x29f),_0x130af7[_0x130af7[_0x4ea31f(0x238)]=0x232b]=_0x4ea31f(0x238),_0x130af7[_0x130af7[_0x4ea31f(0x1aa)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x130af7[_0x130af7[_0x4ea31f(0x375)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x130af7[_0x130af7['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4ea31f(0x31a),_0x130af7[_0x130af7[_0x4ea31f(0x289)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x130af7[_0x130af7[_0x4ea31f(0x243)]=0x2713]=_0x4ea31f(0x243),_0x130af7[_0x130af7[_0x4ea31f(0x348)]=0x2714]=_0x4ea31f(0x348),_0x130af7[_0x130af7['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x4ea31f(0x307),_0x130af7[_0x130af7[_0x4ea31f(0x37d)]=0x271b]=_0x4ea31f(0x37d),_0x130af7[_0x130af7[_0x4ea31f(0x31d)]=0x271c]=_0x4ea31f(0x31d),_0x130af7[_0x130af7[_0x4ea31f(0x3df)]=0x271d]=_0x4ea31f(0x3df),_0x130af7[_0x130af7[_0x4ea31f(0x291)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x130af7[_0x130af7[_0x4ea31f(0x1f5)]=0x271f]=_0x4ea31f(0x1f5),_0x130af7[_0x130af7[_0x4ea31f(0x36a)]=0x2720]=_0x4ea31f(0x36a),_0x130af7[_0x130af7['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4ea31f(0x29c),_0x130af7[_0x130af7['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4ea31f(0x3c5),_0x130af7[_0x130af7[_0x4ea31f(0x19e)]=0x2ee2]=_0x4ea31f(0x19e),_0x130af7[_0x130af7[_0x4ea31f(0x3a7)]=0x2ee3]=_0x4ea31f(0x3a7),_0x130af7[_0x130af7[_0x4ea31f(0x2e5)]=0x2ee4]=_0x4ea31f(0x2e5),_0x130af7[_0x130af7['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4ea31f(0x272),_0x130af7[_0x130af7[_0x4ea31f(0x30f)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x130af7[_0x130af7[_0x4ea31f(0x345)]=0x32ca]=_0x4ea31f(0x345),_0x130af7[_0x130af7[_0x4ea31f(0x315)]=0x32cb]=_0x4ea31f(0x315),_0x130af7[_0x130af7[_0x4ea31f(0x262)]=0x36b1]=_0x4ea31f(0x262),_0x130af7[_0x130af7[_0x4ea31f(0x253)]=0x36b2]=_0x4ea31f(0x253),_0x130af7[_0x130af7[_0x4ea31f(0x2cb)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x130af7[_0x130af7['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x4ea31f(0x3ca),_0x130af7[_0x130af7[_0x4ea31f(0x24d)]=0x36b5]=_0x4ea31f(0x24d),_0x130af7[_0x130af7[_0x4ea31f(0x1d4)]=0x36b6]=_0x4ea31f(0x1d4),_0x130af7[_0x130af7[_0x4ea31f(0x38b)]=0x36b7]=_0x4ea31f(0x38b),_0x130af7[_0x130af7['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x4ea31f(0x2ae),_0x130af7[_0x130af7['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x4ea31f(0x275),_0x130af7[_0x130af7[_0x4ea31f(0x3a6)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x130af7[_0x130af7[_0x4ea31f(0x3dd)]=0x3717]=_0x4ea31f(0x3dd),_0x130af7[_0x130af7[_0x4ea31f(0x3db)]=0x37dd]=_0x4ea31f(0x3db),_0x130af7[_0x130af7['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x130af7[_0x130af7[_0x4ea31f(0x1a7)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x130af7[_0x130af7[_0x4ea31f(0x19f)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x130af7[_0x130af7[_0x4ea31f(0x34a)]=0x3a9c]=_0x4ea31f(0x34a),_0x130af7[_0x130af7[_0x4ea31f(0x347)]=0x3a9d]=_0x4ea31f(0x347),_0x130af7[_0x130af7[_0x4ea31f(0x39c)]=0x3a9e]=_0x4ea31f(0x39c),_0x130af7[_0x130af7[_0x4ea31f(0x2cf)]=0x3a9f]=_0x4ea31f(0x2cf),_0x130af7[_0x130af7[_0x4ea31f(0x3c7)]=0x3e81]=_0x4ea31f(0x3c7),_0x130af7[_0x130af7[_0x4ea31f(0x241)]=-0x1]=_0x4ea31f(0x241),_0x130af7))(_0x4ac4b0||{}),_0x565f27=(_0x28f794=>(_0x28f794[_0x28f794[_0x4ea31f(0x34e)]=0x0]=_0x4ea31f(0x34e),_0x28f794[_0x28f794[_0x4ea31f(0x2ee)]=0x1]=_0x4ea31f(0x2ee),_0x28f794[_0x28f794[_0x4ea31f(0x3d7)]=0x2]=_0x4ea31f(0x3d7),_0x28f794[_0x28f794['UNIVER_SLIDE']=0x3]=_0x4ea31f(0x1d1),_0x28f794[_0x28f794[_0x4ea31f(0x3aa)]=0x4]=_0x4ea31f(0x3aa),_0x28f794[_0x28f794[_0x4ea31f(0x241)]=-0x1]=_0x4ea31f(0x241),_0x28f794))(_0x565f27||{}),_0x2d7e90=(_0x48c35c=>(_0x48c35c[_0x48c35c[_0x4ea31f(0x231)]=0x0]='View',_0x48c35c[_0x48c35c[_0x4ea31f(0x3a3)]=0x1]=_0x4ea31f(0x3a3),_0x48c35c[_0x48c35c['ManageCollaborator']=0x2]='ManageCollaborator',_0x48c35c[_0x48c35c[_0x4ea31f(0x1a1)]=0x3]=_0x4ea31f(0x1a1),_0x48c35c[_0x48c35c[_0x4ea31f(0x3a9)]=0x4]=_0x4ea31f(0x3a9),_0x48c35c[_0x48c35c[_0x4ea31f(0x22f)]=0x5]=_0x4ea31f(0x22f),_0x48c35c[_0x48c35c[_0x4ea31f(0x30e)]=0x6]=_0x4ea31f(0x30e),_0x48c35c[_0x48c35c[_0x4ea31f(0x286)]=0x7]=_0x4ea31f(0x286),_0x48c35c[_0x48c35c[_0x4ea31f(0x2a8)]=0x8]=_0x4ea31f(0x2a8),_0x48c35c[_0x48c35c[_0x4ea31f(0x239)]=0x9]='MoveWorksheet',_0x48c35c[_0x48c35c['DeleteWorksheet']=0xa]='DeleteWorksheet',_0x48c35c[_0x48c35c[_0x4ea31f(0x2d1)]=0xb]=_0x4ea31f(0x2d1),_0x48c35c[_0x48c35c['RenameWorksheet']=0xc]=_0x4ea31f(0x267),_0x48c35c[_0x48c35c[_0x4ea31f(0x3b9)]=0xd]=_0x4ea31f(0x3b9),_0x48c35c[_0x48c35c['SetWorksheetStyle']=0xe]=_0x4ea31f(0x1ba),_0x48c35c[_0x48c35c[_0x4ea31f(0x296)]=0xf]=_0x4ea31f(0x296),_0x48c35c[_0x48c35c[_0x4ea31f(0x21e)]=0x10]=_0x4ea31f(0x21e),_0x48c35c[_0x48c35c[_0x4ea31f(0x2a5)]=0x11]='Sort',_0x48c35c[_0x48c35c['Filter']=0x12]=_0x4ea31f(0x335),_0x48c35c[_0x48c35c[_0x4ea31f(0x2dd)]=0x13]=_0x4ea31f(0x2dd),_0x48c35c[_0x48c35c['FloatImg']=0x14]=_0x4ea31f(0x1c3),_0x48c35c[_0x48c35c[_0x4ea31f(0x1af)]=0x15]='History',_0x48c35c[_0x48c35c[_0x4ea31f(0x1c0)]=0x16]=_0x4ea31f(0x1c0),_0x48c35c[_0x48c35c[_0x4ea31f(0x251)]=0x17]='ViemRwHgtClWdt',_0x48c35c[_0x48c35c[_0x4ea31f(0x2fb)]=0x18]=_0x4ea31f(0x2fb),_0x48c35c[_0x48c35c['MoveSheet']=0x19]=_0x4ea31f(0x394),_0x48c35c[_0x48c35c[_0x4ea31f(0x35a)]=0x1a]=_0x4ea31f(0x35a),_0x48c35c[_0x48c35c['HideSheet']=0x1b]=_0x4ea31f(0x32a),_0x48c35c[_0x48c35c['CopySheet']=0x1c]=_0x4ea31f(0x276),_0x48c35c[_0x48c35c[_0x4ea31f(0x265)]=0x1d]='RenameSheet',_0x48c35c[_0x48c35c[_0x4ea31f(0x34c)]=0x1e]='CreateSheet',_0x48c35c[_0x48c35c[_0x4ea31f(0x2c9)]=0x1f]='SelectProtectedCells',_0x48c35c[_0x48c35c[_0x4ea31f(0x1b8)]=0x20]='SelectUnProtectedCells',_0x48c35c[_0x48c35c['SetCellStyle']=0x21]=_0x4ea31f(0x2c4),_0x48c35c[_0x48c35c[_0x4ea31f(0x3b3)]=0x22]='SetCellValue',_0x48c35c[_0x48c35c[_0x4ea31f(0x24a)]=0x23]='SetRowStyle',_0x48c35c[_0x48c35c['SetColumnStyle']=0x24]=_0x4ea31f(0x257),_0x48c35c[_0x48c35c['InsertRow']=0x25]='InsertRow',_0x48c35c[_0x48c35c[_0x4ea31f(0x1c4)]=0x26]=_0x4ea31f(0x1c4),_0x48c35c[_0x48c35c[_0x4ea31f(0x264)]=0x27]=_0x4ea31f(0x264),_0x48c35c[_0x48c35c[_0x4ea31f(0x1da)]=0x28]='DeleteColumn',_0x48c35c[_0x48c35c[_0x4ea31f(0x1cf)]=0x29]=_0x4ea31f(0x1cf),_0x48c35c[_0x48c35c[_0x4ea31f(0x229)]=0x2a]=_0x4ea31f(0x229),_0x48c35c[_0x48c35c[_0x4ea31f(0x1ac)]=0x2b]=_0x4ea31f(0x1ac),_0x48c35c[_0x48c35c['ViewHistory']=0x2c]=_0x4ea31f(0x27e),_0x48c35c[_0x48c35c[_0x4ea31f(0x1cd)]=0x2d]=_0x4ea31f(0x1cd),_0x48c35c[_0x48c35c['UNRECOGNIZED']=-0x1]=_0x4ea31f(0x241),_0x48c35c))(_0x2d7e90||{});function _0xcae3dd(_0x3007ca){const _0x128c4e=_0x4ea31f;return!!(_0x3007ca&&_0x3007ca[_0x128c4e(0x27a)]&&_0x3007ca[_0x128c4e(0x27a)]!==_0x4ac4b0['OK']&&_0x3007ca[_0x128c4e(0x27a)]!=='OK');}const _0x480aa2=(_0x595e2d,_0x50b727)=>{const _0x45f708=_0x4ea31f;if(!_0x595e2d)return{'date':'','time':''};const _0x1df5c4=new Date(_0x595e2d),_0x294d75=_0x1df5c4[_0x45f708(0x194)]()[_0x45f708(0x261)]('T')[0x0];switch(_0x50b727){case _0x285b5b[_0x45f708(0x21c)][_0x45f708(0x224)]:return{'date':_0x1e10d4(_0x294d75,_0x50b727),'time':_0x1df5c4['getHours']()+':'+String(_0x1df5c4['getMinutes']())[_0x45f708(0x2bb)](0x2,'0')+':'+String(_0x1df5c4['getSeconds']())[_0x45f708(0x2bb)](0x2,'0')};default:return{'date':_0x1e10d4(_0x294d75,_0x50b727),'time':_0x1df5c4[_0x45f708(0x24e)]()+':'+_0x1df5c4[_0x45f708(0x1ca)]()+':'+_0x1df5c4[_0x45f708(0x2b6)]()};}},_0x21132c=(_0x15f7e8,_0x44620a)=>{const _0x39d4a3=_0x4ea31f,_0x563728=_0x15f7e8[_0x39d4a3(0x27c)]||_0x44620a['t'](_0x39d4a3(0x3e6));if(_0x15f7e8[_0x39d4a3(0x3d2)][_0x39d4a3(0x3d4)](_0x51d47d=>_0x51d47d===_0x1eca98[_0x39d4a3(0x1b0)]['id'])&&_0x15f7e8[_0x39d4a3(0x332)]){const _0x3e63db=_0x480aa2(_0x15f7e8[_0x39d4a3(0x332)],_0x44620a[_0x39d4a3(0x285)]()),_0x2c1ebc=_0x3e63db['date']+'\x20'+_0x3e63db[_0x39d4a3(0x37b)];return _0x563728+'\x20'+_0x44620a['t'](_0x39d4a3(0x23f))+'\x20'+_0x2c1ebc+'\x20'+_0x44620a['t']('editHistory.action.revertSheetSuffix');}const _0x50e286=_0x461862(_0x15f7e8),_0x365337=_0x50e286[_0x39d4a3(0x1ea)]===0x1?_0x44620a['t'](_0x50e286[0x0]):''+_0x44620a['t'](_0x50e286[0x0])+_0x44620a['t'](_0x39d4a3(0x23d));return _0x563728+'\x20'+_0x365337;};function _0x461862(_0x507d1d){const _0x524f30=_0x4ea31f;if(_0x507d1d[_0x524f30(0x3d2)][_0x524f30(0x1ea)]===0x0)return[''];const _0x49532a=_0x524f30(0x1de),_0x3aeec3=_0x49532a+_0x524f30(0x312),_0x44d2d0=[{'id':_0x1eca98[_0x524f30(0x2d5)]['id'],'action':_0x49532a+_0x524f30(0x33f)},{'id':_0x1eca98[_0x524f30(0x1b0)]['id'],'action':_0x49532a+_0x524f30(0x2ca)},{'id':_0x4e049b[_0x524f30(0x3c3)]['id'],'action':_0x49532a+'insertSheet'},{'id':_0x4e049b[_0x524f30(0x1d9)]['id'],'action':_0x49532a+_0x524f30(0x2b3)},{'id':_0x4e049b['SetFrozenMutation']['id'],'action':_0x49532a+'setFrozen'},{'id':_0x5e8f6c['SetSheetsFilterRangeMutation']['id'],'action':_0x49532a+_0x524f30(0x3a5)},{'id':_0x416632[_0x524f30(0x227)]['id'],'action':_0x49532a+_0x524f30(0x3b0)},{'id':_0x416632['UpdateDataValidationMutation']['id'],'action':_0x49532a+_0x524f30(0x3b0)},{'id':_0x5f3a62['SetConditionalRuleMutation']['id'],'action':_0x49532a+_0x524f30(0x39a)},{'id':_0x5f3a62[_0x524f30(0x3eb)]['id'],'action':_0x49532a+'setCF'},{'id':_0x4e049b[_0x524f30(0x393)]['id'],'action':_0x49532a+_0x524f30(0x1d2)},{'id':_0x4e049b[_0x524f30(0x206)]['id'],'action':_0x49532a+_0x524f30(0x1d2)},{'id':_0x5071a[_0x524f30(0x3c1)]['id'],'action':_0x49532a+'addSparkline'},{'id':_0xafd482['InsertSheetsChartMutation']['id'],'action':_0x49532a+_0x524f30(0x2f6)},{'id':_0x4e049b[_0x524f30(0x1db)]['id'],'action':_0x49532a+'deleteProtection'},{'id':_0x4e049b[_0x524f30(0x2f4)]['id'],'action':_0x49532a+_0x524f30(0x2f7)}][_0x524f30(0x1f1)](_0x2554bf=>_0x507d1d[_0x524f30(0x3d2)][_0x524f30(0x343)](_0x2554bf['id']));return _0x44d2d0!=null&&_0x44d2d0[_0x524f30(0x1ea)]?_0x44d2d0['map'](_0x35eba7=>_0x35eba7[_0x524f30(0x1ef)]):[_0x3aeec3];}function _0x1e10d4(_0x5bc06e,_0xeeed5d){const _0xe555ea=_0x4ea31f,[_0x374aa5,_0x1a715a,_0x52da12]=new Date()[_0xe555ea(0x194)]()[_0xe555ea(0x261)]('T')[0x0][_0xe555ea(0x261)]('-'),[_0x499013,_0x5e45f3,_0x2a0e50]=_0x5bc06e[_0xe555ea(0x261)]('-'),_0x39bb62=_0x374aa5===_0x499013&&_0x1a715a===_0x5e45f3&&_0x52da12===_0x2a0e50;let _0x498408='',_0x4bebda='',_0x16fc2d='';switch(_0xeeed5d){case _0x285b5b[_0xe555ea(0x21c)][_0xe555ea(0x224)]:return _0x39bb62?'今天':(_0x498408=_0x374aa5===_0x499013?'':_0x499013+'年',_0x4bebda=_0x5e45f3+'月',_0x16fc2d=_0x2a0e50+'日',''+_0x498408+_0x4bebda+_0x16fc2d);default:return _0x39bb62?_0xe555ea(0x23c):(_0x498408=_0x374aa5===_0x499013?'':_0x499013+'-',_0x4bebda=_0x5e45f3+'-',_0x16fc2d=''+_0x2a0e50,''+_0x498408+_0x4bebda+_0x16fc2d);}}function _0x2bd610(_0x56ca2f){const _0x555b4d=_0x4ea31f;return _0x56ca2f?_0x56ca2f[_0x555b4d(0x281)]((_0x54821f,_0x50f577)=>{const _0x2d57e4=_0x555b4d,_0x103fd9=new Date(_0x50f577[_0x2d57e4(0x37b)])['toISOString']()[_0x2d57e4(0x261)]('T')[0x0];return _0x54821f[_0x2d57e4(0x1ea)]>0x0&&_0x54821f[_0x54821f[_0x2d57e4(0x1ea)]-0x1][_0x2d57e4(0x321)]===_0x103fd9?_0x54821f[_0x54821f[_0x2d57e4(0x1ea)]-0x1][_0x2d57e4(0x1c7)]['push'](_0x50f577):_0x54821f[_0x2d57e4(0x37a)]({'dateString':_0x103fd9,'versions':[_0x50f577]}),_0x54821f;},[]):[];}var _0x32f73b=Object[_0x4ea31f(0x3ea)],_0x1800c9=(_0x5086fa,_0x25bdfd,_0x5a18bb,_0x552efa)=>{const _0x5da3fb=_0x4ea31f;for(var _0x3060ae=_0x552efa>0x1?void 0x0:_0x552efa?_0x32f73b(_0x25bdfd,_0x5a18bb):_0x25bdfd,_0x49ff51=_0x5086fa[_0x5da3fb(0x1ea)]-0x1,_0x164363;_0x49ff51>=0x0;_0x49ff51--)(_0x164363=_0x5086fa[_0x49ff51])&&(_0x3060ae=_0x164363(_0x3060ae)||_0x3060ae);return _0x3060ae;},_0x22bfaa=(_0x556b0f,_0x5a28f3)=>(_0x4adca2,_0x4f1ef2)=>_0x5a28f3(_0x4adca2,_0x4f1ef2,_0x556b0f),_0x2034cc=(_0x1ad5d6=>(_0x1ad5d6[_0x1ad5d6[_0x4ea31f(0x1bd)]=0x0]=_0x4ea31f(0x1bd),_0x1ad5d6[_0x1ad5d6[_0x4ea31f(0x330)]=0x1]=_0x4ea31f(0x330),_0x1ad5d6[_0x1ad5d6['Character']=0x2]=_0x4ea31f(0x2a3),_0x1ad5d6))(_0x2034cc||{});const _0x23f88f=_0x4ea31f(0x302);let _0x55b78a=class extends _0x285b5b[_0x4ea31f(0x377)]{constructor(_0x21ef97,_0x2a8405,_0x5b3a94,_0xe5dd42,_0xeecd61,_0x157592,_0x586694){const _0x418ac6=_0x4ea31f;super(),_0x2ddecb(this,_0x418ac6(0x369),new Map()),(this['_snapshotServerService']=_0x21ef97,this[_0x418ac6(0x3ac)]=_0x2a8405,this[_0x418ac6(0x246)]=_0x5b3a94,this['_configService']=_0xe5dd42,this[_0x418ac6(0x1fe)]=_0xeecd61,this[_0x418ac6(0x2d4)]=_0x157592,this[_0x418ac6(0x309)]=_0x586694);}[_0x4ea31f(0x3b1)](){const _0x42c8dd=_0x4ea31f;this['_workbookDataCache']['clear'](),super[_0x42c8dd(0x3b1)]();}async[_0x4ea31f(0x38e)](_0x5c73cc){const _0x3c8c31=_0x4ea31f;try{const _0x1d80f5=(await this[_0x3c8c31(0x1fe)][_0x3c8c31(0x3da)](this[_0x3c8c31(0x3ed)]()+'/'+_0x5c73cc+_0x3c8c31(0x237)))['body'];if(_0x1d80f5&&_0x1d80f5[_0x3c8c31(0x2bc)]&&_0x1d80f5[_0x3c8c31(0x2bc)][_0x3c8c31(0x27a)]===_0x4ac4b0['OK'])return _0x1d80f5[_0x3c8c31(0x379)];}catch(_0x56ebd7){console['error'](_0x56ebd7);}return[];}async[_0x4ea31f(0x322)](_0x31fe40,_0x5e4e31){const _0x13baf9=_0x4ea31f,{userIds:_0x3b31cd,lastLabel:_0x2de300,origin:_0x10f423}=_0x5e4e31!=null?_0x5e4e31:{},_0x209297=new URLSearchParams();_0x209297[_0x13baf9(0x33a)](_0x13baf9(0x1ea),'20'),_0x2de300&&_0x209297[_0x13baf9(0x33a)](_0x13baf9(0x270),_0x2de300),_0x3b31cd==null||_0x3b31cd[_0x13baf9(0x1e7)](_0x3c5a6e=>{_0x209297['append']('userIds',_0x3c5a6e);}),_0x10f423&&_0x209297[_0x13baf9(0x33a)](_0x13baf9(0x36d),_0x10f423[_0x13baf9(0x3d8)]());const _0xa5ef75=this[_0x13baf9(0x3ed)]()+'/'+_0x31fe40+_0x13baf9(0x1eb)+_0x209297[_0x13baf9(0x3d8)]();try{const _0x1bb7d2=(await this[_0x13baf9(0x1fe)]['get'](_0xa5ef75))[_0x13baf9(0x36e)];if(_0x1bb7d2&&_0x1bb7d2['error']&&_0x1bb7d2[_0x13baf9(0x2bc)][_0x13baf9(0x27a)]===_0x4ac4b0['OK']){const {hasMore:_0x11c500,lastLabel:_0x2fd2f5}=_0x1bb7d2,_0x3a31f6=_0x1204f6(_0x1bb7d2),_0x400afd=_0x1bb7d2[_0x13baf9(0x29a)][_0x13baf9(0x323)];return{'hasMore':_0x11c500,'lastLabel':_0x2fd2f5,'versions':_0x3a31f6,'members':_0x400afd};}}catch(_0x58c2f6){console['error'](_0x58c2f6);}return null;}[_0x4ea31f(0x3ed)](){const _0x426ca3=_0x4ea31f;var _0x88bf64;const _0x26e8c6=this[_0x426ca3(0x306)][_0x426ca3(0x1c8)](_0x379c2d);return(_0x88bf64=_0x26e8c6==null?void 0x0:_0x26e8c6[_0x426ca3(0x299)])!=null?_0x88bf64:_0x23f88f;}async['loadSheet'](_0x563c5e,_0x230059,_0x280687){const _0xdc7b41=_0x4ea31f;var _0x4be907,_0x5d9a68;_0x280687===void 0x0&&(_0x280687={}),this[_0xdc7b41(0x369)]['has'](_0x563c5e)||this['_workbookDataCache'][_0xdc7b41(0x33a)](_0x563c5e,new Map());const {snapshot:_0x4e7af1,changesets:_0x39ddcd,error:_0x53dd61}=await this[_0xdc7b41(0x3d5)]['getUnitOnRev'](_0x280687,{'unitID':_0x563c5e,'type':_0x565f27[_0xdc7b41(0x3d7)],'revision':_0x230059});if(_0xcae3dd(_0x53dd61)||!_0x4e7af1||!_0x4e7af1[_0xdc7b41(0x3b6)])throw new Error(_0xdc7b41(0x331));const _0x3ef657=(_0x4be907=_0x39ddcd==null?void 0x0:_0x39ddcd['length'])!=null?_0x4be907:0x0;if(_0x230059!==0x0&&_0x4e7af1[_0xdc7b41(0x3cf)]+_0x3ef657!==_0x230059)throw new Error(_0xdc7b41(0x3be));const {workbook:_0x5ce47f}=_0x4e7af1,_0x22ff5e=_0x5ce47f[_0xdc7b41(0x3d1)]?Object[_0xdc7b41(0x32c)](_0x5ce47f['blockMeta'])['map'](([_0x40ca41,_0x4d7335])=>{const _0x56bd2b=_0xdc7b41;var _0x310254,_0x82f3f;return(_0x82f3f=(_0x310254=_0x4d7335[_0x56bd2b(0x27b)])==null?void 0x0:_0x310254['map'](_0x92435f=>_0x92435f))!=null?_0x82f3f:[];})[_0xdc7b41(0x341)]():[],_0x1ba170=(await Promise[_0xdc7b41(0x1f6)](_0x22ff5e[_0xdc7b41(0x21b)](_0x14e9ba=>this[_0xdc7b41(0x3d5)][_0xdc7b41(0x327)](_0x280687,{'unitID':_0x563c5e,'type':_0x565f27['UNIVER_SHEET'],'blockID':_0x14e9ba})[_0xdc7b41(0x3ec)](_0x13d523=>_0x13d523['block']))))[_0xdc7b41(0x1f1)](_0x59c9b2=>!!_0x59c9b2),_0x5d3192=await _0x1eca98[_0xdc7b41(0x1f2)](_0x4e7af1,_0x1ba170,_0x280687);return(_0x5d9a68=this[_0xdc7b41(0x369)][_0xdc7b41(0x3da)](_0x563c5e))==null||_0x5d9a68['set'](_0x230059,{'workbook':_0x5d3192}),new Promise(_0x3d65c7=>{const _0x235bc4=_0xdc7b41,_0x231d40=this[_0x235bc4(0x3ac)][_0x235bc4(0x1c2)](_0x285b5b[_0x235bc4(0x192)][_0x235bc4(0x3d7)]);_0x231d40?(this[_0x235bc4(0x3ac)][_0x235bc4(0x35b)](_0x231d40['getUnitId']()),setTimeout(()=>{const _0xd08bb8=_0x235bc4;this[_0xd08bb8(0x230)](_0x5d3192,_0x39ddcd),this[_0xd08bb8(0x309)][_0xd08bb8(0x354)](),_0x3d65c7(!0x0);},0x0)):(this['_createUnit'](_0x5d3192,_0x39ddcd),_0x3d65c7(!0x0));});}['_createUnit'](_0x38b5ac,_0x403b33){const _0x1cee24=_0x4ea31f,_0xfcefc0=this[_0x1cee24(0x3ac)][_0x1cee24(0x283)](_0x285b5b[_0x1cee24(0x192)]['UNIVER_SHEET'],_0x38b5ac);this[_0x1cee24(0x3ac)][_0x1cee24(0x26f)](_0xfcefc0[_0x1cee24(0x2f3)]());const _0xb29e77=this[_0x1cee24(0x2d4)][_0x1cee24(0x1e9)]['fetchThroughInterceptors'](this[_0x1cee24(0x2d4)]['interceptor']['getInterceptPoints']()[_0x1cee24(0x365)]);return _0x403b33==null||_0x403b33[_0x1cee24(0x1e7)](_0x1f5dbe=>{const _0x228063=_0x1cee24,_0x2217ac=_0x1f5dbe[_0x228063(0x26e)][_0x228063(0x21b)](_0x4a24c0=>({'id':_0x4a24c0['id'],'params':JSON[_0x228063(0x337)](_0x4a24c0[_0x228063(0x2e3)])}));({..._0x1f5dbe,'mutations':_0xb29e77(_0x2217ac,null)||_0x2217ac}[_0x228063(0x26e)][_0x228063(0x1e7)](_0xe38815=>{const _0x4c16ae=_0x228063;this[_0x4c16ae(0x246)][_0x4c16ae(0x2e6)](_0xe38815['id'])&&this[_0x4c16ae(0x246)][_0x4c16ae(0x3e3)](_0xe38815['id'],_0xe38815['params']);}));}),_0xfcefc0;}};_0x55b78a=_0x1800c9([_0x22bfaa(0x0,_0x1eca98[_0x4ea31f(0x2b0)]),_0x22bfaa(0x1,_0x285b5b[_0x4ea31f(0x198)]),_0x22bfaa(0x2,_0x285b5b[_0x4ea31f(0x3b7)]),_0x22bfaa(0x3,_0x285b5b[_0x4ea31f(0x350)]),_0x22bfaa(0x4,_0x285b5b['Inject'](_0x571f57['HTTPService'])),_0x22bfaa(0x5,_0x285b5b[_0x4ea31f(0x28e)](_0x1eca98[_0x4ea31f(0x252)])),_0x22bfaa(0x6,_0x285b5b[_0x4ea31f(0x28e)](_0x4e049b[_0x4ea31f(0x2da)]))],_0x55b78a);function _0x1204f6(_0xdaf5a3){const _0x1f7063=_0x4ea31f;var _0x3ed4e2,_0x27eeef;const _0x40712a=[],{entities:_0x56ffda,historyIds:_0x4caf87}=_0xdaf5a3,{datas:_0x4b53d4,users:_0x4dc9d4}=_0x56ffda;for(const _0x248469 of _0x4caf87){const _0x4648d8=_0x4b53d4[_0x248469];if(_0x4648d8){const _0x53e0f3=!!((_0x3ed4e2=_0x4dc9d4[_0x4648d8[_0x1f7063(0x1b6)]])!=null&&_0x3ed4e2[_0x1f7063(0x36c)]);_0x40712a[_0x1f7063(0x37a)]({'unitId':_0x4648d8['unitId'],'user':_0x53e0f3?'':((_0x27eeef=_0x4dc9d4==null?void 0x0:_0x4dc9d4[_0x4648d8[_0x1f7063(0x1b6)]])==null?void 0x0:_0x27eeef[_0x1f7063(0x1f7)])||'','isAnonymous':_0x53e0f3,'id':_0x248469,'time':_0x4648d8[_0x1f7063(0x214)]?Number(_0x4648d8[_0x1f7063(0x214)]):void 0x0,'commands':_0x4648d8[_0x1f7063(0x3e8)],'startRev':Number(_0x4648d8[_0x1f7063(0x284)]),'endRev':Number(_0x4648d8[_0x1f7063(0x303)]),'recoverTime':_0x4648d8[_0x1f7063(0x332)]?Number(_0x4648d8[_0x1f7063(0x332)]):void 0x0,'additionalFields':_0x4648d8[_0x1f7063(0x1b5)]});}}return _0x40712a;}var _0x51f02e=Object[_0x4ea31f(0x3ea)],_0x378c39=(_0x2b3c31,_0x26a09d,_0x13fa56,_0x34e20c)=>{for(var _0x9fd6f0=_0x34e20c>0x1?void 0x0:_0x34e20c?_0x51f02e(_0x26a09d,_0x13fa56):_0x26a09d,_0x519b78=_0x2b3c31['length']-0x1,_0x2e59d8;_0x519b78>=0x0;_0x519b78--)(_0x2e59d8=_0x2b3c31[_0x519b78])&&(_0x9fd6f0=_0x2e59d8(_0x9fd6f0)||_0x9fd6f0);return _0x9fd6f0;},_0x153f5d=(_0x1c52c2,_0x41bbf8)=>(_0x4debf7,_0x3c7a06)=>_0x41bbf8(_0x4debf7,_0x3c7a06,_0x1c52c2),_0x1ef2bc=(_0x5bd0ab=>(_0x5bd0ab[_0x4ea31f(0x294)]='entered',_0x5bd0ab[_0x4ea31f(0x200)]=_0x4ea31f(0x22a),_0x5bd0ab[_0x4ea31f(0x2d3)]=_0x4ea31f(0x2bc),_0x5bd0ab))(_0x1ef2bc||{}),_0x103c53=(_0x39a178=>(_0x39a178[_0x4ea31f(0x1ff)]=_0x4ea31f(0x385),_0x39a178[_0x4ea31f(0x304)]='loading',_0x39a178['Loaded']=_0x4ea31f(0x232),_0x39a178))(_0x103c53||{});const _0x1430fd=_0x4ea31f(0x3b4);_0x54ee94[_0x4ea31f(0x27d)]=class extends _0x285b5b[_0x4ea31f(0x377)]{constructor(_0xefad28,_0x140daf,_0x105e03,_0x16622d){const _0x4d94bb=_0x4ea31f;super(),_0x2ddecb(this,_0x4d94bb(0x202),new _0x81574a['BehaviorSubject']([])),_0x2ddecb(this,'versions$',this[_0x4d94bb(0x202)][_0x4d94bb(0x1ad)]()),_0x2ddecb(this,_0x4d94bb(0x2d0),new _0x81574a[(_0x4d94bb(0x20f))]('')),_0x2ddecb(this,_0x4d94bb(0x28b),this[_0x4d94bb(0x2d0)][_0x4d94bb(0x1ad)]()),_0x2ddecb(this,'_status$',new _0x81574a[(_0x4d94bb(0x20f))]('entered')),_0x2ddecb(this,_0x4d94bb(0x1ec),this['_status$'][_0x4d94bb(0x1ad)]()),_0x2ddecb(this,_0x4d94bb(0x38d),new _0x81574a[(_0x4d94bb(0x20f))](0x0)),_0x2ddecb(this,_0x4d94bb(0x3d9),this['_revertRevision$'][_0x4d94bb(0x1ad)]()),_0x2ddecb(this,_0x4d94bb(0x1a6),new _0x81574a[(_0x4d94bb(0x20f))]('')),_0x2ddecb(this,_0x4d94bb(0x3c2),this[_0x4d94bb(0x1a6)][_0x4d94bb(0x1ad)]()),_0x2ddecb(this,'_fetching$',new _0x81574a['BehaviorSubject'](!0x1)),_0x2ddecb(this,_0x4d94bb(0x2e7),this[_0x4d94bb(0x3e0)][_0x4d94bb(0x1ad)]()),_0x2ddecb(this,_0x4d94bb(0x37f),new _0x81574a[(_0x4d94bb(0x20f))]([])),_0x2ddecb(this,'creators$',this[_0x4d94bb(0x37f)]['asObservable']()),_0x2ddecb(this,_0x4d94bb(0x362),new _0x81574a['BehaviorSubject'](_0x4d94bb(0x385))),_0x2ddecb(this,_0x4d94bb(0x295),this[_0x4d94bb(0x362)][_0x4d94bb(0x1ad)]()),_0x2ddecb(this,_0x4d94bb(0x242),null),_0x2ddecb(this,_0x4d94bb(0x2e2),!0x0),_0x2ddecb(this,'_members',new Map()),_0x2ddecb(this,'_historyContainerId'),_0x2ddecb(this,_0x4d94bb(0x2b5)),_0x2ddecb(this,_0x4d94bb(0x38c)),_0x2ddecb(this,_0x4d94bb(0x1ae),!0x1),_0x2ddecb(this,'_loadParams',null),(this['_messageService']=_0xefad28,this[_0x4d94bb(0x3bf)]=_0x140daf,this[_0x4d94bb(0x2ac)]=_0x105e03,this[_0x4d94bb(0x314)]=_0x16622d);}[_0x4ea31f(0x1a3)](_0x99245d){const _0x1be607=_0x4ea31f;this[_0x1be607(0x3e0)][_0x1be607(0x263)](_0x99245d);}get['fetching'](){const _0x587272=_0x4ea31f;return this[_0x587272(0x3e0)]['value'];}async[_0x4ea31f(0x329)](_0x57058b,_0x413ac4,_0x43ec1){const _0x57b46b=_0x4ea31f;this[_0x57b46b(0x2ce)]=_0x413ac4,this[_0x57b46b(0x1ae)]=_0x43ec1,await this[_0x57b46b(0x29b)](_0x57058b);}async[_0x4ea31f(0x29b)](_0x24f5ce,_0x44b89c){const _0x498cc2=_0x4ea31f;this[_0x498cc2(0x1a6)]['next'](_0x24f5ce),this[_0x498cc2(0x191)]=_0x44b89c!=null?_0x44b89c:null,this[_0x498cc2(0x1a3)](!0x0);const _0x492f50=await this[_0x498cc2(0x314)]['getVersions'](_0x24f5ce,_0x44b89c);if(this['_setFetching'](!0x1),_0x492f50){const {versions:_0x98f928,lastLabel:_0x4360d4,hasMore:_0x2875f1,members:_0x673445}=_0x492f50;_0x98f928[_0x498cc2(0x1ea)]===0x0&&_0x98f928[_0x498cc2(0x37a)]({'unitId':_0x24f5ce,'id':_0x1430fd,'startRev':0x1,'endRev':0x0,'time':Date[_0x498cc2(0x19d)](),'user':this['_localeService']['t']('editHistory.panel.currentUser'),'commands':[],'isAnonymous':!0x1}),this[_0x498cc2(0x3ce)](_0x98f928,_0x2875f1,_0x4360d4,!0x1,_0x673445),this[_0x498cc2(0x2d0)]['next'](_0x98f928[0x0]['id']);}else this[_0x498cc2(0x2b1)][_0x498cc2(0x263)]('error');}async[_0x4ea31f(0x3af)](){const _0x153c2f=_0x4ea31f;if(!this[_0x153c2f(0x242)]||!this[_0x153c2f(0x2e2)]||this[_0x153c2f(0x208)])return!0x1;this[_0x153c2f(0x1a3)](!0x0);const _0x599ce8=await this[_0x153c2f(0x314)][_0x153c2f(0x322)](this['unitId'],{'lastLabel':this[_0x153c2f(0x242)],...this[_0x153c2f(0x191)]});if(this[_0x153c2f(0x1a3)](!0x1),_0x599ce8){const {versions:_0x17f575,lastLabel:_0x228890,hasMore:_0x930c30,members:_0x1ae854}=_0x599ce8;this[_0x153c2f(0x3ce)](_0x17f575,_0x930c30,_0x228890,!0x0,_0x1ae854);}else this[_0x153c2f(0x219)]['show']({'content':this[_0x153c2f(0x2ac)]['t']('editHistory.panel.listFetchError'),'type':_0x19c3db[_0x153c2f(0x222)][_0x153c2f(0x2d3)],'duration':0xbb8});return!0x0;}async['loadHistoryCreatorList'](){const _0x29fa2c=_0x4ea31f,{unitId:_0x1d9132}=this;if(!_0x1d9132)return;const _0x3efd04=await this['_historyFetchService'][_0x29fa2c(0x38e)](_0x1d9132);_0x3efd04&&this[_0x29fa2c(0x37f)][_0x29fa2c(0x263)](_0x3efd04);}async[_0x4ea31f(0x220)](_0xc5a3b5){const _0x1a3d9f=_0x4ea31f;var _0x2714a3;const _0x234acb=(_0x2714a3=this[_0x1a3d9f(0x202)][_0x1a3d9f(0x221)])==null?void 0x0:_0x2714a3[_0x1a3d9f(0x1fb)](_0xec2ab3=>_0xec2ab3['id']===_0xc5a3b5),{endRev:_0x5f35c1}=_0x234acb||{};_0x5f35c1||_0x5f35c1===0x0?(this[_0x1a3d9f(0x362)][_0x1a3d9f(0x263)]('loading'),await this[_0x1a3d9f(0x314)]['loadSheet'](this[_0x1a3d9f(0x30d)],_0x5f35c1),this[_0x1a3d9f(0x362)][_0x1a3d9f(0x263)](_0x1a3d9f(0x232))):this[_0x1a3d9f(0x2b1)][_0x1a3d9f(0x263)](_0x1a3d9f(0x2bc));}async['triggerRevert'](_0x1677fd){const _0x316783=_0x4ea31f,_0x4f681e=_0x1677fd?this['getVersion'](_0x1677fd):this['getCurrentVersion']();if(!_0x4f681e)return;const _0x200d18=_0x4f681e[_0x316783(0x28f)],_0x5175a8=_0x480aa2(_0x4f681e['time'],this[_0x316783(0x2ac)][_0x316783(0x285)]());await this['_confirmService']['confirm']({'id':_0x316783(0x3a1),'title':{'title':this[_0x316783(0x2ac)]['t'](_0x316783(0x395))},'children':{'title':this[_0x316783(0x2ac)]['t'](_0x316783(0x235))+':\x20('+_0x5175a8[_0x316783(0x1b1)]+'\x20'+_0x5175a8[_0x316783(0x37b)]+')'},'cancelText':this[_0x316783(0x2ac)]['t'](_0x316783(0x2be)),'confirmText':this['_localeService']['t'](_0x316783(0x3c0))})&&this[_0x316783(0x38d)][_0x316783(0x263)](_0x200d18);}[_0x4ea31f(0x3ce)](_0x5d2969,_0x5bbf44,_0x4b380e,_0x4b0d88,_0x599d01){const _0x37d256=_0x4ea31f;this['_setVersions'](_0x4b0d88?this[_0x37d256(0x202)]['value'][_0x37d256(0x1d8)](_0x5d2969):_0x5d2969),this[_0x37d256(0x2e2)]=_0x5bbf44,this['_lastLabel']=_0x4b380e,_0x599d01&&Object['keys'](_0x599d01)[_0x37d256(0x1e7)](_0xd36900=>this[_0x37d256(0x21a)][_0x37d256(0x33a)](_0xd36900,_0x599d01[_0xd36900]));}[_0x4ea31f(0x245)](){const _0x3453be=_0x4ea31f;return this[_0x3453be(0x2ad)](this[_0x3453be(0x2d0)][_0x3453be(0x221)]);}['_setVersions'](_0x131829){const _0x57b5d4=_0x4ea31f;this[_0x57b5d4(0x202)][_0x57b5d4(0x263)](_0x131829);}[_0x4ea31f(0x2ad)](_0x488209){const _0x458294=_0x4ea31f;var _0x1fcc1c;return(_0x1fcc1c=this[_0x458294(0x202)][_0x458294(0x221)])==null?void 0x0:_0x1fcc1c['find'](_0x12784c=>_0x12784c['id']===_0x488209);}[_0x4ea31f(0x31f)](_0xb374be){const _0x119135=_0x4ea31f;return this[_0x119135(0x21a)][_0x119135(0x3da)](_0xb374be);}[_0x4ea31f(0x22b)](){const _0x3f9428=_0x4ea31f;this[_0x3f9428(0x38c)]=document[_0x3f9428(0x25c)](_0x3f9428(0x301)),this[_0x3f9428(0x38c)][_0x3f9428(0x211)]=_0x3f9428(0x3ab),this[_0x3f9428(0x38c)][_0x3f9428(0x2f0)][_0x3f9428(0x2c8)]='absolute',this[_0x3f9428(0x38c)]['style'][_0x3f9428(0x259)]='0',this['_maskElement'][_0x3f9428(0x2f0)]['left']='0',this[_0x3f9428(0x38c)][_0x3f9428(0x2f0)][_0x3f9428(0x3bb)]=_0x3f9428(0x225),this['_maskElement'][_0x3f9428(0x2f0)]['height']=_0x3f9428(0x225),this[_0x3f9428(0x38c)][_0x3f9428(0x2f0)][_0x3f9428(0x2f8)]=_0x3f9428(0x3b8),this[_0x3f9428(0x38c)][_0x3f9428(0x2f0)][_0x3f9428(0x228)]='white',this[_0x3f9428(0x38c)][_0x3f9428(0x2f0)][_0x3f9428(0x1a9)]='flex',this['_maskElement'][_0x3f9428(0x2f0)][_0x3f9428(0x2e0)]=_0x3f9428(0x1bb),this[_0x3f9428(0x38c)]['style']['zIndex']=_0x3f9428(0x25f),this['_maskElement'][_0x3f9428(0x2f0)][_0x3f9428(0x1a9)]=_0x3f9428(0x1e4),this[_0x3f9428(0x2b5)][_0x3f9428(0x280)](this[_0x3f9428(0x38c)]);}[_0x4ea31f(0x240)](){const _0x26a286=_0x4ea31f;var _0x2b76fc;const _0xa7b71c=(_0x2b76fc=document['getElementById'](this[_0x26a286(0x2ce)]))==null?void 0x0:_0x2b76fc[_0x26a286(0x357)](_0x26a286(0x2a2));_0xa7b71c&&(this['_maskContainer']=_0xa7b71c,this[_0x26a286(0x22b)]());}['showMask'](){const _0x185135=_0x4ea31f;this[_0x185135(0x2b5)]||this[_0x185135(0x240)](),this[_0x185135(0x38c)]&&(this[_0x185135(0x38c)][_0x185135(0x2f0)]['display']=_0x185135(0x2df));}[_0x4ea31f(0x316)](){const _0x3626e9=_0x4ea31f;this[_0x3626e9(0x38c)]&&(this[_0x3626e9(0x38c)][_0x3626e9(0x2f0)][_0x3626e9(0x1a9)]=_0x3626e9(0x1e4));}set['status'](_0x30c678){const _0x5a84a2=_0x4ea31f;this[_0x5a84a2(0x2b1)][_0x5a84a2(0x263)](_0x30c678);}set[_0x4ea31f(0x3d0)](_0x20dcea){const _0x4851b1=_0x4ea31f;_0x20dcea!==this[_0x4851b1(0x2d0)][_0x4851b1(0x221)]&&this[_0x4851b1(0x2d0)][_0x4851b1(0x263)](_0x20dcea);}get['currentVersion'](){const _0x1d8b0e=_0x4ea31f;return this[_0x1d8b0e(0x2d0)]['value'];}set[_0x4ea31f(0x30d)](_0x44145f){const _0x42faf2=_0x4ea31f;this[_0x42faf2(0x1a6)][_0x42faf2(0x263)](_0x44145f);}get[_0x4ea31f(0x30d)](){const _0x100967=_0x4ea31f;return this[_0x100967(0x1a6)][_0x100967(0x221)];}get[_0x4ea31f(0x234)](){const _0x2c76e9=_0x4ea31f;return this[_0x2c76e9(0x1ae)];}get['loadingState'](){const _0x4f0b1d=_0x4ea31f;return this[_0x4f0b1d(0x362)][_0x4f0b1d(0x221)];}},_0x54ee94[_0x4ea31f(0x27d)]=_0x378c39([_0x153f5d(0x0,_0x70b9b[_0x4ea31f(0x2b7)]),_0x153f5d(0x1,_0x285b5b['IConfirmService']),_0x153f5d(0x2,_0x285b5b[_0x4ea31f(0x28e)](_0x285b5b[_0x4ea31f(0x338)])),_0x153f5d(0x3,_0x285b5b['Inject'](_0x55b78a))],_0x54ee94[_0x4ea31f(0x27d)]);function _0x2eab5d({ref:_0x99da75,..._0x4e2f1b}){const _0x59a2b1=_0x4ea31f,{icon:_0x4b4696,id:_0x74283a,className:_0x4c32e1,extend:_0x324ebe,..._0xb074f5}=_0x4e2f1b,_0x56b45f=(_0x59a2b1(0x22e)+_0x74283a+'\x20'+(_0x4c32e1||''))[_0x59a2b1(0x195)](),_0x102342=_0x16dffe[_0x59a2b1(0x2ab)]('_'+_0xd9d615());return _0x5b6643(_0x4b4696,''+_0x74283a,{'defIds':_0x4b4696[_0x59a2b1(0x3d3)],'idSuffix':_0x102342[_0x59a2b1(0x193)]},{'ref':_0x99da75,'className':_0x56b45f,..._0xb074f5},_0x324ebe);}function _0x5b6643(_0x5c3494,_0x49b85d,_0x413ec3,_0x2a2582,_0x4f2e8e){const _0x5d0bc0=_0x4ea31f;return _0x16dffe[_0x5d0bc0(0x25c)](_0x5c3494[_0x5d0bc0(0x35d)],{'key':_0x49b85d,..._0x19c811(_0x5c3494,_0x413ec3,_0x4f2e8e),..._0x2a2582},(_0x4faa48(_0x5c3494,_0x413ec3)['children']||[])[_0x5d0bc0(0x21b)]((_0x33562e,_0x3d64ab)=>_0x5b6643(_0x33562e,_0x49b85d+'-'+_0x5c3494[_0x5d0bc0(0x35d)]+'-'+_0x3d64ab,_0x413ec3,void 0x0,_0x4f2e8e)));}function _0x19c811(_0x502d9f,_0x261769,_0x22cefe){const _0x5d2663=_0x4ea31f,_0x467332={..._0x502d9f[_0x5d2663(0x2f5)]};_0x22cefe!=null&&_0x22cefe[_0x5d2663(0x398)]&&_0x467332[_0x5d2663(0x255)]==='colorChannel1'&&(_0x467332[_0x5d2663(0x255)]=_0x22cefe[_0x5d2663(0x398)]),_0x502d9f[_0x5d2663(0x35d)]===_0x5d2663(0x28a)&&_0x467332['id']&&(_0x467332['id']=_0x467332['id']+_0x261769['idSuffix']),Object['entries'](_0x467332)['forEach'](([_0x2a9e97,_0x5747f1])=>{const _0x365c25=_0x5d2663;_0x2a9e97===_0x365c25(0x28a)&&typeof _0x5747f1==_0x365c25(0x3bd)&&(_0x467332[_0x2a9e97]=_0x5747f1[_0x365c25(0x3a8)](/url\(#(.*)\)/,_0x365c25(0x371)+_0x261769[_0x365c25(0x392)]+')'));});const {defIds:_0x1f50c2}=_0x261769;return!_0x1f50c2||_0x1f50c2[_0x5d2663(0x1ea)]===0x0||(_0x502d9f[_0x5d2663(0x35d)]===_0x5d2663(0x288)&&_0x467332[_0x5d2663(0x391)]&&(_0x467332[_0x5d2663(0x391)]=_0x467332[_0x5d2663(0x391)]+_0x261769['idSuffix']),Object[_0x5d2663(0x32c)](_0x467332)['forEach'](([_0xcfd280,_0x77df6d])=>{const _0x42a53b=_0x5d2663;typeof _0x77df6d==_0x42a53b(0x3bd)&&(_0x467332[_0xcfd280]=_0x77df6d[_0x42a53b(0x3a8)](/url\(#(.*)\)/,_0x42a53b(0x371)+_0x261769['idSuffix']+')'));})),_0x467332;}function _0x4faa48(_0x4cb5b6,_0x573e62){const _0x15af1c=_0x4ea31f;var _0x46c028;const {defIds:_0x416e8f}=_0x573e62;return!_0x416e8f||_0x416e8f[_0x15af1c(0x1ea)]===0x0?_0x4cb5b6:_0x4cb5b6[_0x15af1c(0x35d)]==='defs'&&((_0x46c028=_0x4cb5b6[_0x15af1c(0x344)])!=null&&_0x46c028[_0x15af1c(0x1ea)])?{..._0x4cb5b6,'children':_0x4cb5b6[_0x15af1c(0x344)][_0x15af1c(0x21b)](_0xadeea9=>typeof _0xadeea9[_0x15af1c(0x2f5)]['id']=='string'&&_0x416e8f&&_0x416e8f['includes'](_0xadeea9[_0x15af1c(0x2f5)]['id'])?{..._0xadeea9,'attrs':{..._0xadeea9[_0x15af1c(0x2f5)],'id':_0xadeea9[_0x15af1c(0x2f5)]['id']+_0x573e62[_0x15af1c(0x392)]}}:_0xadeea9)}:_0x4cb5b6;}function _0xd9d615(){const _0x3c1da3=_0x4ea31f;return Math[_0x3c1da3(0x2a7)]()[_0x3c1da3(0x3d8)](0x24)[_0x3c1da3(0x35f)](0x2,0x8);}_0x2eab5d[_0x4ea31f(0x207)]=_0x4ea31f(0x1ce);const _0x4e9dac={'tag':_0x4ea31f(0x1d7),'attrs':{'xmlns':_0x4ea31f(0x2b9),'fill':_0x4ea31f(0x1e4),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x4ea31f(0x293)},'children':[{'tag':_0x4ea31f(0x1a2),'attrs':{'fill':_0x4ea31f(0x20d),'d':_0x4ea31f(0x2e9)}}]},_0x41bc33=_0x16dffe[_0x4ea31f(0x2cc)](function(_0x47ddf0,_0x24d0c3){const _0x4c91b0=_0x4ea31f;return _0x16dffe['createElement'](_0x2eab5d,Object[_0x4c91b0(0x2d6)]({},_0x47ddf0,{'id':'back-icon','ref':_0x24d0c3,'icon':_0x4e9dac}));});_0x41bc33[_0x4ea31f(0x207)]=_0x4ea31f(0x292);const _0x50e319={'tag':_0x4ea31f(0x1d7),'attrs':{'xmlns':_0x4ea31f(0x2b9),'fill':_0x4ea31f(0x1e4),'viewBox':_0x4ea31f(0x2c0),'width':_0x4ea31f(0x293),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x4ea31f(0x20d),'clipPath':_0x4ea31f(0x25e)},'children':[{'tag':_0x4ea31f(0x1a2),'attrs':{'d':_0x4ea31f(0x300)}},{'tag':_0x4ea31f(0x1a2),'attrs':{'d':_0x4ea31f(0x236),'fillRule':_0x4ea31f(0x32d),'clipRule':_0x4ea31f(0x32d)}}]},{'tag':_0x4ea31f(0x342),'attrs':{},'children':[{'tag':_0x4ea31f(0x26c),'attrs':{'id':'restore-icon_clip0_1247_2'},'children':[{'tag':_0x4ea31f(0x1f8),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x4ea31f(0x1e1),'rx':0x4}}]}]}],'defIds':[_0x4ea31f(0x2cd)]},_0x57852b=_0x16dffe[_0x4ea31f(0x2cc)](function(_0x34fe12,_0x5c0e5f){const _0xa24eb6=_0x4ea31f;return _0x16dffe[_0xa24eb6(0x25c)](_0x2eab5d,Object[_0xa24eb6(0x2d6)]({},_0x34fe12,{'id':_0xa24eb6(0x244),'ref':_0x5c0e5f,'icon':_0x50e319}));});_0x57852b[_0x4ea31f(0x207)]=_0x4ea31f(0x1f9);const _0x23327e={'tag':_0x4ea31f(0x1d7),'attrs':{'xmlns':_0x4ea31f(0x2b9),'fill':_0x4ea31f(0x1e4),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x4ea31f(0x293)},'children':[{'tag':_0x4ea31f(0x1a2),'attrs':{'fill':_0x4ea31f(0x1ee),'d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':_0x4ea31f(0x32d),'clipRule':_0x4ea31f(0x32d)}},{'tag':_0x4ea31f(0x1a2),'attrs':{'fill':_0x4ea31f(0x1ee),'d':_0x4ea31f(0x387),'fillRule':_0x4ea31f(0x32d),'clipRule':_0x4ea31f(0x32d)}}]},_0x23556d=_0x16dffe['forwardRef'](function(_0x56f363,_0x110d0b){const _0x45f02f=_0x4ea31f;return _0x16dffe['createElement'](_0x2eab5d,Object[_0x45f02f(0x2d6)]({},_0x56f363,{'id':_0x45f02f(0x1c5),'ref':_0x110d0b,'icon':_0x23327e}));});_0x23556d[_0x4ea31f(0x207)]='LoadingMultiIcon';function _0x24e718(){const _0x3e62a9=_0x4ea31f;var _0x5e706e;const _0x45115f=_0x70b9b[_0x3e62a9(0x363)](_0x54ee94[_0x3e62a9(0x27d)]),_0x3bbfb0=_0x70b9b[_0x3e62a9(0x363)](_0x285b5b[_0x3e62a9(0x338)]),_0xb18622=_0x16dffe[_0x3e62a9(0x336)](()=>{const _0x89f601=_0x3e62a9;_0x45115f[_0x89f601(0x27f)]=_0x1ef2bc[_0x89f601(0x200)];},[_0x45115f]),_0x4dcad9=_0x16dffe[_0x3e62a9(0x336)](()=>{_0x45115f['triggerRevert']();},[_0x45115f]),_0x322253=_0x70b9b[_0x3e62a9(0x38a)](_0x45115f[_0x3e62a9(0x28b)]),_0x19c89c=_0x70b9b['useObservable'](_0x45115f[_0x3e62a9(0x1f4)]),_0x20da8c=_0x322253===((_0x5e706e=_0x19c89c==null?void 0x0:_0x19c89c[0x0])==null?void 0x0:_0x5e706e['id']),_0x555cf4=_0x322253!==''&&!_0x20da8c&&_0x45115f[_0x3e62a9(0x234)];return _0x5bdedf[_0x3e62a9(0x24c)](_0x3e62a9(0x301),{'className':_0x19c3db[_0x3e62a9(0x2a9)](_0x3e62a9(0x3ba),_0x19c3db[_0x3e62a9(0x1d5)]),'children':[_0x5bdedf[_0x3e62a9(0x25b)]('a',{'className':_0x3e62a9(0x2f1),'role':_0x3e62a9(0x378),'onClick':_0xb18622,'children':_0x5bdedf[_0x3e62a9(0x25b)](_0x41bc33,{'className':_0x3e62a9(0x373)})}),_0x5bdedf['jsx'](_0x3e62a9(0x301),{'className':_0x3e62a9(0x2bd),'children':_0x555cf4&&_0x5bdedf[_0x3e62a9(0x25b)](_0x19c3db[_0x3e62a9(0x31b)],{'variant':_0x3e62a9(0x2c3),'onClick':_0x4dcad9,'children':_0x3bbfb0['t'](_0x3e62a9(0x30b))})})]});}var _0x216d8c=Object[_0x4ea31f(0x3ea)],_0x4f578e=(_0x38b59c,_0x4ea02a,_0x214db2,_0x3440bc)=>{const _0x4897e9=_0x4ea31f;for(var _0x2cc718=_0x3440bc>0x1?void 0x0:_0x3440bc?_0x216d8c(_0x4ea02a,_0x214db2):_0x4ea02a,_0x2292e4=_0x38b59c[_0x4897e9(0x1ea)]-0x1,_0x57115d;_0x2292e4>=0x0;_0x2292e4--)(_0x57115d=_0x38b59c[_0x2292e4])&&(_0x2cc718=_0x57115d(_0x2cc718)||_0x2cc718);return _0x2cc718;},_0x58d091=(_0x4e406c,_0x28ea0a)=>(_0x17d5f3,_0x31a626)=>_0x28ea0a(_0x17d5f3,_0x31a626,_0x4e406c);let _0x2b138e=class extends _0x285b5b['Disposable']{constructor(_0x262fce,_0xab55f,_0x10d6f0,_0x55614b,_0x43c1e2,_0x4fb29a){const _0x20bf36=_0x4ea31f;super(),this[_0x20bf36(0x1f3)]=_0x262fce,this['_uiPartsService']=_0xab55f,this[_0x20bf36(0x219)]=_0x10d6f0,this['_localeService']=_0x55614b,this['_historyManagerService']=_0x43c1e2,this[_0x20bf36(0x351)]=_0x4fb29a,this[_0x20bf36(0x2fa)]();}[_0x4ea31f(0x2fa)](){const _0x35cca9=_0x4ea31f;this[_0x35cca9(0x23a)](this[_0x35cca9(0x2d7)][_0x35cca9(0x28b)]['subscribe'](_0x2a7489=>{const _0x1a2e92=_0x35cca9;_0x2a7489&&this[_0x1a2e92(0x2d7)][_0x1a2e92(0x220)](_0x2a7489);})),this[_0x35cca9(0x23a)](this[_0x35cca9(0x1f3)][_0x35cca9(0x1be)][_0x35cca9(0x2e1)](_0x487642=>{const _0x314458=_0x35cca9,_0x4318d3=this['_historyManagerService']['unitId'];_0x4318d3&&(_0x487642[_0x314458(0x297)]===_0x2d7e90[_0x314458(0x3a3)]&&_0x487642[_0x314458(0x221)]===!0x0&&this[_0x314458(0x1f3)][_0x314458(0x32f)](new _0x4e049b[(_0x314458(0x2af))](_0x4318d3)['id'],!0x1),_0x487642[_0x314458(0x297)]===_0x2d7e90[_0x314458(0x265)]&&_0x487642[_0x314458(0x221)]===!0x0&&this[_0x314458(0x1f3)][_0x314458(0x32f)](new _0x4e049b['WorkbookRenameSheetPermission'](_0x4318d3)['id'],!0x1),_0x487642[_0x314458(0x297)]===_0x2d7e90[_0x314458(0x394)]&&_0x487642['value']===!0x0&&this[_0x314458(0x1f3)]['updatePermissionPoint'](new _0x4e049b[(_0x314458(0x36f))](_0x4318d3)['id'],!0x1),_0x487642[_0x314458(0x297)]===_0x2d7e90[_0x314458(0x32a)]&&_0x487642[_0x314458(0x221)]===!0x0&&this[_0x314458(0x1f3)][_0x314458(0x32f)](new _0x4e049b['WorkbookHideSheetPermission'](_0x4318d3)['id'],!0x1),_0x487642[_0x314458(0x297)]===_0x2d7e90[_0x314458(0x22f)]&&_0x487642[_0x314458(0x221)]===!0x0&&this[_0x314458(0x1f3)][_0x314458(0x32f)](new _0x4e049b[(_0x314458(0x2af))](_0x4318d3)['id'],!0x1),_0x487642['subType']===_0x2d7e90[_0x314458(0x1c3)]&&_0x487642['value']===!0x0&&this[_0x314458(0x1f3)][_0x314458(0x32f)](new _0x4e049b[(_0x314458(0x2af))](_0x4318d3)['id'],!0x1));})),this['disposeWithMe'](this[_0x35cca9(0x1ed)][_0x35cca9(0x372)](_0x70b9b[_0x35cca9(0x3cc)]['HEADER'],()=>_0x70b9b['connectInjector'](_0x24e718,this[_0x35cca9(0x351)])));let _0x5f38ed;this[_0x35cca9(0x23a)](this[_0x35cca9(0x2d7)][_0x35cca9(0x295)][_0x35cca9(0x2e1)](_0x180169=>{const _0x5c48ad=_0x35cca9;_0x5f38ed==null||_0x5f38ed[_0x5c48ad(0x3b1)](),_0x180169===_0x103c53[_0x5c48ad(0x304)]&&(this[_0x5c48ad(0x2d7)][_0x5c48ad(0x355)](),_0x5f38ed=this[_0x5c48ad(0x219)][_0x5c48ad(0x381)]({'type':_0x19c3db[_0x5c48ad(0x222)][_0x5c48ad(0x1b4)],'content':this[_0x5c48ad(0x2ac)]['t']('editHistory.info.loading')})),_0x180169===_0x103c53[_0x5c48ad(0x3de)]&&this['_historyManagerService']['hideMask']();}));}};_0x2b138e=_0x4f578e([_0x58d091(0x0,_0x285b5b['IPermissionService']),_0x58d091(0x1,_0x70b9b[_0x4ea31f(0x1a5)]),_0x58d091(0x2,_0x70b9b[_0x4ea31f(0x2b7)]),_0x58d091(0x3,_0x285b5b['Inject'](_0x285b5b['LocaleService'])),_0x58d091(0x4,_0x285b5b[_0x4ea31f(0x28e)](_0x54ee94['HistoryManagerService'])),_0x58d091(0x5,_0x285b5b[_0x4ea31f(0x28e)](_0x285b5b[_0x4ea31f(0x3c4)]))],_0x2b138e);var _0xd211be=Object[_0x4ea31f(0x3ea)],_0x4d2ee3=(_0x27e349,_0x54bdfe,_0x5ee697,_0x15c50b)=>{const _0x31d0a6=_0x4ea31f;for(var _0x3c1a64=_0x15c50b>0x1?void 0x0:_0x15c50b?_0xd211be(_0x54bdfe,_0x5ee697):_0x54bdfe,_0x1be765=_0x27e349[_0x31d0a6(0x1ea)]-0x1,_0x48e279;_0x1be765>=0x0;_0x1be765--)(_0x48e279=_0x27e349[_0x1be765])&&(_0x3c1a64=_0x48e279(_0x3c1a64)||_0x3c1a64);return _0x3c1a64;},_0x1924a7=(_0x28452e,_0x302e6f)=>(_0x40a5fb,_0x68e1cb)=>_0x302e6f(_0x40a5fb,_0x68e1cb,_0x28452e);let _0x225f90=class extends _0x285b5b['Disposable']{constructor(_0x2394e3,_0x3b1fc5,_0x1d7502){const _0x3ac5a8=_0x4ea31f;super(),_0x2ddecb(this,'_diffRangesMap',new Map()),_0x2ddecb(this,_0x3ac5a8(0x20b),new _0x81574a[(_0x3ac5a8(0x20f))]({'ranges':new Map(),'active':null})),_0x2ddecb(this,_0x3ac5a8(0x2a1),this[_0x3ac5a8(0x20b)][_0x3ac5a8(0x1ad)]()),(this[_0x3ac5a8(0x2d7)]=_0x2394e3,this[_0x3ac5a8(0x2ff)]=_0x3b1fc5,this['_snapshotServerService']=_0x1d7502,this[_0x3ac5a8(0x2fa)]());}[_0x4ea31f(0x2fa)](){const _0x3c99d4=_0x4ea31f;this[_0x3c99d4(0x2fc)]=new Map(),this[_0x3c99d4(0x23a)](this[_0x3c99d4(0x2d7)][_0x3c99d4(0x3c2)][_0x3c99d4(0x2e1)](_0x42ed66=>{const _0x3fa962=_0x3c99d4;_0x42ed66&&!this[_0x3fa962(0x2fc)][_0x3fa962(0x1fd)](_0x42ed66)&&this[_0x3fa962(0x2fc)][_0x3fa962(0x33a)](_0x42ed66,new Map());})),this[_0x3c99d4(0x23a)](this[_0x3c99d4(0x2d7)][_0x3c99d4(0x28b)][_0x3c99d4(0x2e1)](async _0x4f425d=>{const _0x11acc7=_0x3c99d4;var _0x8059eb;_0x4f425d&&(await this['ensureVersion'](_0x4f425d),this[_0x11acc7(0x20b)][_0x11acc7(0x263)](((_0x8059eb=this[_0x11acc7(0x2fc)][_0x11acc7(0x3da)](this[_0x11acc7(0x2d7)][_0x11acc7(0x30d)]))==null?void 0x0:_0x8059eb['get'](_0x4f425d))||{'ranges':new Map(),'active':null}));}));}async[_0x4ea31f(0x325)](_0xdbc5af){const _0x2e84e5=_0x4ea31f;var _0x2ed7b9,_0x4e6073;const _0x121392=this[_0x2e84e5(0x2d7)][_0x2e84e5(0x2ad)](_0xdbc5af),_0x49e17b=this['_historyManagerService'][_0x2e84e5(0x30d)];if(!_0x121392||!_0x49e17b)return;const _0xcf44b6=this['_diffRangesMap']['get'](_0x49e17b);if(_0xcf44b6||this[_0x2e84e5(0x2fc)]['set'](_0x49e17b,new Map()),(_0x2ed7b9=this[_0x2e84e5(0x2fc)][_0x2e84e5(0x3da)](_0x49e17b))!=null&&_0x2ed7b9[_0x2e84e5(0x1fd)](_0x121392['id']))return;const {startRev:_0xd89d6,endRev:_0x4b6fc1}=_0x121392;if(_0xd89d6===0x1){_0xcf44b6['set'](_0x121392['id'],{'ranges':new Map(),'active':null});return;}const _0x49f93e=_0xd89d6-0x1,_0x553347=_0x4b6fc1,_0x5d3c7c=await this[_0x2e84e5(0x3d5)][_0x2e84e5(0x31e)]({},{'unitID':_0x49e17b,'from':_0x49f93e,'to':_0x553347,'type':_0x565f27[_0x2e84e5(0x3d7)]});if(((_0x4e6073=_0x5d3c7c[_0x2e84e5(0x2bc)])==null?void 0x0:_0x4e6073[_0x2e84e5(0x27a)])===_0x4ac4b0['OK']){const _0xf5c5ed=_0x5d3c7c[_0x2e84e5(0x28d)][_0x2e84e5(0x21b)](_0x6f9df9=>((_0x6f9df9[_0x2e84e5(0x26e)]===null||_0x6f9df9[_0x2e84e5(0x26e)]===void 0x0)&&(_0x6f9df9[_0x2e84e5(0x26e)]=[]),_0x1eca98[_0x2e84e5(0x268)](_0x6f9df9)))[_0x2e84e5(0x21b)](_0x5c9852=>_0x5c9852['mutations'][_0x2e84e5(0x21b)](_0x8801d5=>({..._0x8801d5,'params':{..._0x8801d5[_0x2e84e5(0x29e)],'memberId':_0x5c9852[_0x2e84e5(0x3a0)]}})))[_0x2e84e5(0x341)](),_0x36a1d3=await this[_0x2e84e5(0x1d3)](_0xf5c5ed),_0x3c7a27=this[_0x2e84e5(0x360)](_0xf5c5ed),_0x3b7f7d=this[_0x2e84e5(0x3b5)](_0x36a1d3);_0xcf44b6[_0x2e84e5(0x33a)](_0x121392['id'],{'ranges':_0x3b7f7d,'active':_0x3c7a27});}}async[_0x4ea31f(0x1d3)](_0x56a9df){const _0x195f37=_0x4ea31f;let _0x51ec35=[];for(let _0x29708c=0x0;_0x29708c<_0x56a9df['length'];_0x29708c++){const _0x5dfebe=_0x56a9df[_0x29708c];if(_0x51ec35[_0x195f37(0x37a)](_0x5dfebe),_0x29708c!==_0x56a9df[_0x195f37(0x1ea)]-0x1){const _0x4ae1ed=_0x56a9df[_0x29708c+0x1],_0x3f7134=this[_0x195f37(0x2ff)]['transformMutations'](_0x51ec35,[_0x4ae1ed]);_0x1eca98['isTransformMutationsSuccess'](_0x3f7134)?_0x51ec35=_0x3f7134[_0x195f37(0x370)]:_0x51ec35=[];}_0x29708c%0xa===0x0&&_0x29708c>0x0&&await this[_0x195f37(0x361)]();}return _0x51ec35;}[_0x4ea31f(0x361)](){return new Promise(_0x4f9cce=>{typeof requestIdleCallback=='function'?requestIdleCallback(()=>_0x4f9cce(),{'timeout':0x64}):setTimeout(_0x4f9cce,0x0);});}[_0x4ea31f(0x360)](_0x1544d0){const _0x4d94ff=_0x4ea31f;let _0xba518=[];return _0x1544d0['forEach'](_0xaca6da=>{const _0x1c5081=_0x45e1;if(_0xaca6da['id']===_0x4e049b[_0x1c5081(0x3c3)]['id']){const _0x4b589f=_0xaca6da[_0x1c5081(0x29e)];_0xba518[_0x1c5081(0x37a)](_0x4b589f[_0x1c5081(0x1a4)]['id']);}else{if(_0xaca6da['id']===_0x4e049b['RemoveSheetMutation']['id']){const _0x21e1de=_0xaca6da['params'];_0xba518['length']>0x0&&(_0xba518=_0xba518['filter'](_0x51cb23=>_0x51cb23!==_0x21e1de[_0x1c5081(0x3a2)]));}else{if(_0xaca6da['id']===_0x4e049b[_0x1c5081(0x248)]['id']){const _0x3be500=_0xaca6da['params'];_0x3be500[_0x1c5081(0x1e3)]?_0xba518=_0xba518[_0x1c5081(0x1f1)](_0x25e64a=>_0x25e64a!==_0x3be500[_0x1c5081(0x3a2)]):_0xba518[_0x1c5081(0x37a)](_0x3be500['subUnitId']);}else{const _0x17ded8=_0xaca6da[_0x1c5081(0x29e)];_0x17ded8[_0x1c5081(0x3a2)]&&_0xba518[_0x1c5081(0x37a)](_0x17ded8[_0x1c5081(0x3a2)]);}}}}),_0xba518[_0x4d94ff(0x1ea)]>0x0?_0xba518[_0xba518['length']-0x1]:null;}[_0x4ea31f(0x3b5)](_0x4a7abf){const _0x54cdbb=_0x4ea31f,_0x42278d=new Map();return _0x4a7abf[_0x54cdbb(0x1e7)](_0x4b85a9=>{const _0x5d61a8=_0x54cdbb;var _0x1a6b17,_0x39b41d;const _0x15cea8=(_0x1a6b17=_0x4b85a9[_0x5d61a8(0x29e)])==null?void 0x0:_0x1a6b17[_0x5d61a8(0x399)];if(_0x15cea8){_0x42278d[_0x5d61a8(0x1fd)](_0x15cea8)||_0x42278d[_0x5d61a8(0x33a)](_0x15cea8,[]);const _0x5125bc=this[_0x5d61a8(0x388)](_0x4b85a9);(_0x39b41d=_0x42278d[_0x5d61a8(0x3da)](_0x15cea8))==null||_0x39b41d[_0x5d61a8(0x37a)](..._0x5125bc);}}),_0x42278d[_0x54cdbb(0x1e7)]((_0x49c886,_0x46f099)=>{const _0x34145b=_0x54cdbb;_0x42278d['set'](_0x46f099,this[_0x34145b(0x3e2)](_0x49c886));}),_0x42278d;}[_0x4ea31f(0x388)](_0x55e8b5){const _0x67a98a=_0x4ea31f;switch(_0x55e8b5['id']){case _0x4e049b[_0x67a98a(0x206)]['id']:{const _0x643c7c=_0x55e8b5['params'];return _0x643c7c[_0x67a98a(0x1a8)][_0x67a98a(0x21b)](_0x2b9ceb=>_0x2b9ceb[_0x67a98a(0x34f)][_0x67a98a(0x21b)](_0xa9cc56=>({'range':_0xa9cc56,'unitId':_0x643c7c[_0x67a98a(0x30d)],'subUnitId':_0x643c7c[_0x67a98a(0x3a2)]})))[_0x67a98a(0x341)]();}case _0x4e049b[_0x67a98a(0x2e4)]['id']:{const _0x946b2e=_0x55e8b5[_0x67a98a(0x29e)];return _0x946b2e[_0x67a98a(0x34f)][_0x67a98a(0x21b)](_0x1991f2=>({'range':_0x1991f2,'unitId':_0x946b2e[_0x67a98a(0x30d)],'subUnitId':_0x946b2e[_0x67a98a(0x3a2)]}));}case _0x4e049b['InsertRowMutation']['id']:{const _0x2e4a71=_0x55e8b5[_0x67a98a(0x29e)];return[{'range':_0x2e4a71[_0x67a98a(0x31c)],'unitId':_0x2e4a71[_0x67a98a(0x30d)],'subUnitId':_0x2e4a71[_0x67a98a(0x3a2)]}];}case _0x4e049b[_0x67a98a(0x32e)]['id']:{const _0x57d5b7=_0x55e8b5[_0x67a98a(0x29e)];return[{'range':_0x57d5b7[_0x67a98a(0x31c)],'unitId':_0x57d5b7[_0x67a98a(0x30d)],'subUnitId':_0x57d5b7[_0x67a98a(0x3a2)]}];}case _0x4e049b['MoveRangeMutation']['id']:{const _0x30f7cf=_0x55e8b5[_0x67a98a(0x29e)],{from:_0x11e3c9,to:_0xf84a7f,unitId:_0xa9433b}=_0x30f7cf;return[{'range':_0x249fd9(_0x11e3c9[_0x67a98a(0x221)]),'unitId':_0xa9433b,'subUnitId':_0x11e3c9[_0x67a98a(0x3a2)]},{'range':_0x249fd9(_0xf84a7f['value']),'unitId':_0xa9433b,'subUnitId':_0xf84a7f['subUnitId']}];}case _0x4e049b[_0x67a98a(0x197)]['id']:{const _0x5c652c=_0x55e8b5['params'],{unitId:_0x33d3ff,subUnitId:_0x2273c9,sourceRange:_0x381ef2,targetRange:_0x1d31f0}=_0x5c652c,_0x7253f0=_0x381ef2[_0x67a98a(0x254)]-_0x381ef2[_0x67a98a(0x2f9)]+0x1;return[{'range':_0x1d31f0['startRow']<=_0x381ef2[_0x67a98a(0x2f9)]?_0x1d31f0:{..._0x1d31f0,'startRow':_0x1d31f0[_0x67a98a(0x2f9)]-_0x7253f0,'endRow':_0x1d31f0[_0x67a98a(0x254)]-_0x7253f0},'unitId':_0x33d3ff,'subUnitId':_0x2273c9}];}case _0x4e049b['MoveColsMutation']['id']:{const _0x135a94=_0x55e8b5['params'],{unitId:_0x3f1f15,subUnitId:_0x18c68f,sourceRange:_0x508a39,targetRange:_0x352fd8}=_0x135a94,_0x5542b9=_0x508a39[_0x67a98a(0x250)]-_0x508a39[_0x67a98a(0x20e)]+0x1;return[{'range':_0x352fd8[_0x67a98a(0x20e)]<=_0x508a39[_0x67a98a(0x20e)]?_0x352fd8:{..._0x352fd8,'startColumn':_0x352fd8['startColumn']-_0x5542b9,'endColumn':_0x352fd8['endColumn']-_0x5542b9},'unitId':_0x3f1f15,'subUnitId':_0x18c68f}];}case _0x4e049b[_0x67a98a(0x396)]['id']:{const _0x314036=_0x55e8b5[_0x67a98a(0x29e)],{values:_0x369a25,unitId:_0x4367b3,subUnitId:_0x1c08f6}=_0x314036;return Object[_0x67a98a(0x317)](_0x369a25)[_0x67a98a(0x21b)](_0x4af16b=>_0x4af16b['ranges'][_0x67a98a(0x21b)](_0x58ada8=>({'range':_0x58ada8,'unitId':_0x4367b3,'subUnitId':_0x1c08f6})))['flat']();}case _0x4e049b[_0x67a98a(0x383)]['id']:{const _0x2f2e7f=_0x55e8b5['params'],{ranges:_0x1d1ef2,unitId:_0x57a78d,subUnitId:_0x287bdf}=_0x2f2e7f;return _0x1d1ef2[_0x67a98a(0x21b)](_0x59e828=>({'range':_0x59e828,'unitId':_0x57a78d,'subUnitId':_0x287bdf}));}case _0x4e049b[_0x67a98a(0x374)]['id']:{const _0x4f01cc=_0x55e8b5[_0x67a98a(0x29e)],{unitId:_0x52d95a,subUnitId:_0x2da4c1,range:_0x4ad0dd}=_0x4f01cc;return[{'range':_0x4ad0dd,'unitId':_0x52d95a,'subUnitId':_0x2da4c1}];}case _0x4e049b['SetRangeProtectionMutation']['id']:{const _0x1d265c=_0x55e8b5[_0x67a98a(0x29e)];return _0x1d265c[_0x67a98a(0x311)]['ranges'][_0x67a98a(0x21b)](_0x565e16=>({'range':_0x565e16,'unitId':_0x1d265c[_0x67a98a(0x30d)],'subUnitId':_0x1d265c[_0x67a98a(0x3a2)]}));}case _0x4e049b[_0x67a98a(0x364)]['id']:{const _0x3d6427=_0x55e8b5[_0x67a98a(0x29e)];return _0x3d6427['cellValue']?_0xc6ee7d(_0x3d6427['cellValue'])[_0x67a98a(0x21b)](_0x4b32e4=>({'range':_0x4b32e4,'unitId':_0x3d6427[_0x67a98a(0x30d)],'subUnitId':_0x3d6427[_0x67a98a(0x3a2)]})):[];}case _0x5e8f6c[_0x67a98a(0x28c)]['id']:{const _0x43ac48=_0x55e8b5['params'];return[{'range':_0x43ac48[_0x67a98a(0x31c)],'unitId':_0x43ac48[_0x67a98a(0x30d)],'subUnitId':_0x43ac48['subUnitId']}];}case _0x416632[_0x67a98a(0x227)]['id']:{const _0x2d8561=_0x55e8b5['params'];return(Array[_0x67a98a(0x33d)](_0x2d8561[_0x67a98a(0x311)])?_0x2d8561[_0x67a98a(0x311)]:[_0x2d8561[_0x67a98a(0x311)]])['map'](_0x4b6194=>_0x4b6194['ranges'][_0x67a98a(0x21b)](_0x52206c=>({'range':_0x52206c,'unitId':_0x2d8561[_0x67a98a(0x30d)],'subUnitId':_0x2d8561['subUnitId']})))[_0x67a98a(0x341)]();}case _0x5f3a62[_0x67a98a(0x39d)]['id']:{const _0x158c0f=_0x55e8b5[_0x67a98a(0x29e)];return _0x158c0f['rule'][_0x67a98a(0x34f)][_0x67a98a(0x21b)](_0x2b891c=>({'range':_0x2b891c,'unitId':_0x158c0f[_0x67a98a(0x30d)],'subUnitId':_0x158c0f[_0x67a98a(0x3a2)]}));}default:return[];}}[_0x4ea31f(0x3e2)](_0x43d302){const _0x350624=_0x4ea31f;if(_0x43d302[_0x350624(0x1ea)]<=0x1)return _0x43d302;const _0x5a67a0=new Map();return _0x43d302[_0x350624(0x1e7)](_0x289504=>{const _0x394b43=_0x350624;var _0x581819;const {unitId:_0x22cfdc,subUnitId:_0x33d5ce}=_0x289504,_0x39d058=_0x22cfdc+'-'+_0x33d5ce;_0x5a67a0[_0x394b43(0x1fd)](_0x39d058)?(_0x581819=_0x5a67a0[_0x394b43(0x3da)](_0x39d058))==null||_0x581819['push'](_0x289504):_0x5a67a0['set'](_0x39d058,[_0x289504]);}),Array['from'](_0x5a67a0[_0x350624(0x317)]())[_0x350624(0x21b)](_0x563c2e=>new _0x4e049b[(_0x350624(0x313))]()[_0x350624(0x1c9)](..._0x563c2e['map'](_0x465a1d=>_0x465a1d[_0x350624(0x31c)]))[_0x350624(0x2c2)]()['map'](_0x4ffee3=>({'range':_0x4ffee3,'unitId':_0x563c2e[0x0][_0x350624(0x30d)],'subUnitId':_0x563c2e[0x0][_0x350624(0x3a2)]})))[_0x350624(0x341)]();}};_0x225f90=_0x4d2ee3([_0x1924a7(0x0,_0x285b5b[_0x4ea31f(0x28e)](_0x54ee94[_0x4ea31f(0x27d)])),_0x1924a7(0x1,_0x1eca98[_0x4ea31f(0x1bc)]),_0x1924a7(0x2,_0x1eca98['ISnapshotServerService'])],_0x225f90);function _0x249fd9(_0x5f4f8a){const _0x264aa2=_0x4ea31f;return new _0x285b5b[(_0x264aa2(0x2bf))](_0x5f4f8a)[_0x264aa2(0x308)]();}function _0xc6ee7d(_0x3f585a){const _0x4d898e=_0x4ea31f,_0x120d8c=new _0x285b5b[(_0x4d898e(0x2bf))](_0x3f585a),_0x11b090=new _0x285b5b[(_0x4d898e(0x2bf))]();return _0x120d8c[_0x4d898e(0x205)]((_0x22123e,_0x5aed65)=>{const _0x5ae919=_0x4d898e;_0x11b090[_0x5ae919(0x340)](_0x22123e,_0x5aed65,0x1);}),_0x4e049b[_0x4d898e(0x37e)](_0x11b090);}var _0x5b37a9=Object[_0x4ea31f(0x3ea)],_0x6b31aa=(_0x2405d7,_0x2584f1,_0x267e06,_0xb2277c)=>{const _0x3fc01a=_0x4ea31f;for(var _0x7d0141=_0xb2277c>0x1?void 0x0:_0xb2277c?_0x5b37a9(_0x2584f1,_0x267e06):_0x2584f1,_0x82f4a2=_0x2405d7[_0x3fc01a(0x1ea)]-0x1,_0x586aef;_0x82f4a2>=0x0;_0x82f4a2--)(_0x586aef=_0x2405d7[_0x82f4a2])&&(_0x7d0141=_0x586aef(_0x7d0141)||_0x7d0141);return _0x7d0141;},_0x38b81f=(_0x3a5734,_0x107667)=>(_0x1922a0,_0x507143)=>_0x107667(_0x1922a0,_0x507143,_0x3a5734);let _0x577bc9=class extends _0x285b5b[_0x4ea31f(0x377)]{constructor(_0x314dd9,_0x20f319,_0x58407c,_0x21c238,_0x765bc0,_0x5baf6d,_0x43ec2f){const _0x2bfb61=_0x4ea31f;super(),_0x2ddecb(this,_0x2bfb61(0x349),new Set()),_0x2ddecb(this,'_lastPointer',null),(this[_0x2bfb61(0x358)]=_0x314dd9,this[_0x2bfb61(0x2d7)]=_0x20f319,this[_0x2bfb61(0x33c)]=_0x58407c,this[_0x2bfb61(0x3ac)]=_0x21c238,this['_renderManagerService']=_0x765bc0,this[_0x2bfb61(0x21f)]=_0x5baf6d,this[_0x2bfb61(0x246)]=_0x43ec2f,this['_init']());}[_0x4ea31f(0x2fa)](){const _0x51ce49=_0x4ea31f;this[_0x51ce49(0x3b2)](),this[_0x51ce49(0x318)]();}[_0x4ea31f(0x3b2)](){const _0x417f97=_0x4ea31f;this[_0x417f97(0x23a)](_0x81574a[_0x417f97(0x2ef)]([this['_historyManagerService'][_0x417f97(0x295)],this[_0x417f97(0x21f)][_0x417f97(0x23e)]])[_0x417f97(0x1dd)](_0x81574a['switchMap'](([_0x3df35d,_0x4cc476])=>{const _0x9c9fb2=_0x417f97;if(_0x3df35d===_0x103c53[_0x9c9fb2(0x3de)]&&_0x4cc476){const _0x1d2078=_0x4cc476[_0x9c9fb2(0x376)];return this[_0x9c9fb2(0x33c)]['currentVersionDiff$'][_0x9c9fb2(0x1dd)](_0x81574a[_0x9c9fb2(0x21b)](_0x3fe2bd=>{const _0x2bc0d0=_0x9c9fb2,_0x1d3175=new Map();return _0x3fe2bd[_0x2bc0d0(0x34f)][_0x2bc0d0(0x1e7)]((_0x9a1f91,_0x163e4d)=>{const _0x1b84ae=_0x2bc0d0,_0x178e13=_0x9a1f91[_0x1b84ae(0x1f1)](_0x2e31e2=>_0x2e31e2['subUnitId']===_0x1d2078);_0x1d3175[_0x1b84ae(0x33a)](_0x163e4d,_0x178e13);}),{'skeleton':_0x4cc476,'diffs':_0x1d3175};}));}return _0x81574a['of']({'skeleton':null,'diffs':new Map()});}))[_0x417f97(0x2e1)](({skeleton:_0x367a40,diffs:_0x22d43d})=>{const _0x2fca84=_0x417f97;this[_0x2fca84(0x2a4)](),_0x367a40&&this['_updateDiffMarks'](_0x367a40,_0x22d43d);})),this[_0x417f97(0x23a)](this[_0x417f97(0x21f)][_0x417f97(0x23e)][_0x417f97(0x2e1)](_0x8e13ba=>{const _0x4ef0dd=_0x417f97;if(_0x8e13ba==null)return;const {skeleton:_0x5e3cf3}=_0x8e13ba,{scene:_0x1a1b38}=this['_context'];_0x1a1b38['onPointerMove$'][_0x4ef0dd(0x305)](_0x285b5b['debounce'](_0x198367=>{const _0x14dd70=_0x4ef0dd;var _0x1cb5aa,_0x3ae8c7;const {offsetX:_0x276458,offsetY:_0x5ba50b}=_0x198367,{x:_0x503df3,y:_0x2ce47e}=_0x1a1b38[_0x14dd70(0x298)](_0x473668[_0x14dd70(0x279)][_0x14dd70(0x2e8)]([_0x276458,_0x5ba50b])),{scaleX:_0x4aa68a,scaleY:_0x1281c0}=_0x1a1b38[_0x14dd70(0x2a6)](),_0x5c87f6=_0x1a1b38[_0x14dd70(0x324)](_0x473668['SHEET_VIEWPORT_KEY'][_0x14dd70(0x2c6)]),_0x43ae6b=_0x1a1b38['getVpScrollXYInfoByPosToVp'](_0x473668['Vector2'][_0x14dd70(0x2e8)]([_0x503df3,_0x2ce47e]),_0x5c87f6),_0x8021f3=_0x5e3cf3['getCellPositionByOffset'](_0x276458,_0x5ba50b,_0x4aa68a,_0x1281c0,_0x43ae6b);((_0x1cb5aa=this['_lastPointer'])==null?void 0x0:_0x1cb5aa['column'])===_0x8021f3['column']&&((_0x3ae8c7=this['_lastPointer'])==null?void 0x0:_0x3ae8c7[_0x14dd70(0x2b2)])===_0x8021f3['row']||this[_0x14dd70(0x349)][_0x14dd70(0x1e7)](_0x5ae9cc=>{const _0x4dd597=_0x14dd70;_0x5ae9cc[_0x4dd597(0x2d2)](_0x8021f3);});},0x64));}));}[_0x4ea31f(0x318)](){const _0x5ed99c=_0x4ea31f;this['disposeWithMe'](this[_0x5ed99c(0x2d7)][_0x5ed99c(0x295)][_0x5ed99c(0x2e1)](_0x529211=>{const _0x5d964f=_0x5ed99c,_0x39f141=new _0x285b5b[(_0x5d964f(0x38f))]();return _0x529211===_0x103c53[_0x5d964f(0x3de)]&&(_0x39f141[_0x5d964f(0x3b1)](),_0x39f141[_0x5d964f(0x1c9)](this[_0x5d964f(0x33c)]['currentVersionDiff$'][_0x5d964f(0x2e1)](_0x3d773=>{const _0x1cdc0a=_0x5d964f;_0x3d773[_0x1cdc0a(0x201)]&&this[_0x1cdc0a(0x246)][_0x1cdc0a(0x223)](_0x4e049b[_0x1cdc0a(0x271)]['id'],{'unitId':this[_0x1cdc0a(0x358)][_0x1cdc0a(0x30d)],'subUnitId':_0x3d773['active']});}))),()=>_0x39f141['dispose']();}));}[_0x4ea31f(0x37c)](_0x65c54d,_0x41a90b){const _0x37a83f=_0x4ea31f;var _0x3b5630;const _0x5062e8=(_0x3b5630=this['_sheetSkeletonManagerService'][_0x37a83f(0x269)]())==null?void 0x0:_0x3b5630['skeleton'];if(!_0x5062e8)return;this[_0x37a83f(0x349)][_0x37a83f(0x1e7)](_0x5b87f7=>{const _0x2ec0e9=_0x37a83f;_0x5b87f7[_0x2ec0e9(0x19b)]();});const {scene:_0x20da6c}=this[_0x37a83f(0x358)],_0x127315=Array[_0x37a83f(0x33e)](_0x41a90b['keys']())[_0x37a83f(0x21b)](_0x5ce3c0=>_0x41a90b[_0x37a83f(0x3da)](_0x5ce3c0)[_0x37a83f(0x21b)](_0x1c271a=>{const _0x4df961=_0x37a83f;var _0x535a63;const {range:_0x40a6fd,subUnitId:_0x2a89d3,unitId:_0x5aab22}=_0x1c271a,{startColumn:_0x3ff079,startRow:_0x201284,endColumn:_0x34d680,endRow:_0x4e1bff}=_0x40a6fd,_0x33a6b5=_0x4c4883[_0x4df961(0x397)](_0x201284,_0x3ff079,_0x20da6c,_0x5062e8),_0x5809c9=_0x4c4883['getCoordByCell'](_0x4e1bff,_0x34d680,_0x20da6c,_0x5062e8),{columnHeaderHeightAndMarginTop:_0x559f39}=_0x5062e8,{startX:_0x256cf1,startY:_0x3b34f1}=_0x33a6b5,{endX:_0xca3fde,endY:_0x31ef2d}=_0x5809c9,_0x470d9f=_0xca3fde-_0x256cf1,_0x570855=_0x31ef2d-_0x3b34f1,_0x1cfd63={'labelPosition':_0x3b34f1-_0x559f39>=0x14?_0x4df961(0x259):_0x4df961(0x2eb),'sheetID':_0x2a89d3,'range':_0x40a6fd,'color':_0x4df961(0x26d),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x4df961(0x26d),'name':((_0x535a63=this[_0x4df961(0x2d7)][_0x4df961(0x31f)](_0x5ce3c0))==null?void 0x0:_0x535a63[_0x4df961(0x1f7)])||'','selection':_0x5aab22+'-'+_0x2a89d3+'-'+_0x40a6fd[_0x4df961(0x20e)]+'-'+_0x40a6fd[_0x4df961(0x2f9)]+'-'+_0x40a6fd[_0x4df961(0x250)]+'-'+_0x40a6fd['endRow'],'left':_0x256cf1,'top':_0x3b34f1,'width':_0x470d9f,'height':_0x570855,'evented':!0x1,'zIndex':0x1};return new _0x5ce22a[(_0x4df961(0x25d))]('',_0x1cfd63);}))[_0x37a83f(0x341)]();_0x20da6c['addObjects'](_0x127315,0x1),this[_0x37a83f(0x349)]=new Set(_0x127315);}[_0x4ea31f(0x2a4)](){const _0xbc1af2=_0x4ea31f;var _0x46d24a;(_0x46d24a=this[_0xbc1af2(0x349)])==null||_0x46d24a[_0xbc1af2(0x1e7)](_0x49e590=>_0x49e590[_0xbc1af2(0x3b1)]());}[_0x4ea31f(0x23b)](){const _0x4ffa0e=_0x4ea31f;return _0x4c4883[_0x4ffa0e(0x1c1)](this[_0x4ffa0e(0x3ac)],this[_0x4ffa0e(0x190)]);}};_0x577bc9=_0x6b31aa([_0x38b81f(0x1,_0x285b5b[_0x4ea31f(0x28e)](_0x54ee94[_0x4ea31f(0x27d)])),_0x38b81f(0x2,_0x285b5b[_0x4ea31f(0x28e)](_0x225f90)),_0x38b81f(0x3,_0x285b5b[_0x4ea31f(0x198)]),_0x38b81f(0x4,_0x473668['IRenderManagerService']),_0x38b81f(0x5,_0x285b5b[_0x4ea31f(0x28e)](_0x4c4883['SheetSkeletonManagerService'])),_0x38b81f(0x6,_0x285b5b[_0x4ea31f(0x3b7)])],_0x577bc9);function _0x3b2cec(){const _0xc1b17d=_0x4ea31f,_0xf1449=_0x70b9b[_0xc1b17d(0x363)](_0x54ee94[_0xc1b17d(0x27d)]),_0x4243ec=_0x70b9b[_0xc1b17d(0x38a)](_0xf1449[_0xc1b17d(0x1f4)]),[_0x3737ed,_0x54c9ac]=_0x16dffe[_0xc1b17d(0x277)](!0x1),_0x460a99=_0x2bd610(_0x4243ec);return _0x4243ec?_0x5bdedf['jsx'](_0xc1b17d(0x301),{'className':_0xc1b17d(0x209),'children':_0x5bdedf[_0xc1b17d(0x24c)](_0xc1b17d(0x301),{'className':_0xc1b17d(0x39e),'children':[_0x460a99[_0xc1b17d(0x21b)]((_0x1c008d,_0x1f6d11)=>_0x5bdedf[_0xc1b17d(0x24c)](_0x16dffe[_0xc1b17d(0x366)],{'children':[_0x5bdedf[_0xc1b17d(0x25b)](_0x312815,{'date':_0x1c008d[_0xc1b17d(0x321)]}),_0x1c008d[_0xc1b17d(0x1c7)]['map']((_0x383d9e,_0x5bc83)=>_0x5bdedf[_0xc1b17d(0x25b)](_0x3c9018,{'index':[_0x1f6d11,_0x5bc83],'item':_0x383d9e},_0x1f6d11+'-'+_0x5bc83))]},_0x1c008d[_0xc1b17d(0x321)])),_0x3737ed&&_0x5bdedf[_0xc1b17d(0x25b)](_0x4f8eb7,{})]})}):_0x5bdedf['jsx'](_0x8a0035,{});}function _0x4f8eb7(){const _0x372404=_0x4ea31f;return _0x5bdedf['jsx']('div',{'className':_0x372404(0x2c5),'children':_0x5bdedf[_0x372404(0x25b)](_0x23556d,{'className':'univer-animate-spin'})});}function _0x8a0035(){const _0x254154=_0x4ea31f;return _0x5bdedf[_0x254154(0x25b)]('div',{'className':_0x254154(0x20c),'children':_0x5bdedf[_0x254154(0x25b)]('span',{'className':_0x254154(0x3c8),'children':_0x5bdedf[_0x254154(0x25b)](_0x23556d,{'className':_0x254154(0x390)})})});}function _0x312815(_0x58892f){const _0xc13ec9=_0x4ea31f,_0x28279a=_0x70b9b[_0xc13ec9(0x363)](_0x285b5b[_0xc13ec9(0x338)]),{date:_0x72f30b}=_0x58892f;return _0x5bdedf[_0xc13ec9(0x25b)](_0xc13ec9(0x301),{'className':_0xc13ec9(0x384),'children':_0x1e10d4(_0x72f30b,_0x28279a[_0xc13ec9(0x285)]())});}function _0x3c9018(_0x597f2b){const _0x547b4e=_0x4ea31f,{item:_0x20848f,index:_0x1b32f3}=_0x597f2b,{time:_0x2c3179,user:_0x536eed}=_0x20848f,[_0x2083f2,_0x55c459]=_0x1b32f3,_0x338994=_0x70b9b['useDependency'](_0x54ee94[_0x547b4e(0x27d)]),_0x3915c6=_0x70b9b[_0x547b4e(0x38a)](_0x338994[_0x547b4e(0x28b)],'',!0x0)===_0x20848f['id'],_0x34743a=_0x2083f2===0x0&&_0x55c459===0x0,_0x3135ad=!_0x34743a&&_0x338994[_0x547b4e(0x234)],_0x50bda6=_0x70b9b[_0x547b4e(0x363)](_0x285b5b[_0x547b4e(0x338)]),_0x5079d9=_0x50bda6[_0x547b4e(0x285)](),_0x1d7a78=_0x480aa2(_0x2c3179,_0x5079d9),_0x1a17ca=_0x50bda6['t'](_0x547b4e(0x2b8)),_0x1ac9b8=_0x16dffe[_0x547b4e(0x336)](_0x3377d3=>{const _0x12cb2a=_0x547b4e;_0x338994[_0x12cb2a(0x1cc)]!==_0x103c53['Loading']&&(_0x338994[_0x12cb2a(0x3d0)]=_0x3377d3);},[_0x338994]),_0x50cf23=_0x16dffe[_0x547b4e(0x336)](_0x3e3797=>{_0x338994['triggerRevert'](_0x3e3797);},[_0x338994]);return _0x5bdedf[_0x547b4e(0x24c)]('div',{'className':_0x19c3db[_0x547b4e(0x2a9)](_0x547b4e(0x217),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x3915c6}),'onClick':()=>_0x1ac9b8(_0x20848f['id']),'children':[_0x5bdedf['jsxs'](_0x547b4e(0x301),{'className':_0x547b4e(0x2dc),'children':[_0x5bdedf['jsxs'](_0x547b4e(0x301),{'className':_0x547b4e(0x21d),'children':[_0x5bdedf[_0x547b4e(0x25b)](_0x547b4e(0x1fc),{'children':_0x1d7a78[_0x547b4e(0x37b)]}),_0x34743a&&_0x5bdedf['jsx'](_0x547b4e(0x1fc),{'className':_0x547b4e(0x1e5),'children':_0x1a17ca})]}),_0x5bdedf[_0x547b4e(0x25b)](_0x547b4e(0x301),{'children':_0x3135ad&&_0x5bdedf[_0x547b4e(0x25b)](_0x19c3db['Tooltip'],{'title':_0x50bda6['t'](_0x547b4e(0x1ab)),'children':_0x5bdedf['jsx']('div',{'onClick':_0x2656aa=>{const _0x35f556=_0x547b4e;_0x2656aa[_0x35f556(0x39f)](),_0x50cf23(_0x20848f['id']);},'className':_0x547b4e(0x210),'children':_0x5bdedf[_0x547b4e(0x25b)](_0x57852b,{})})})})]}),_0x5bdedf[_0x547b4e(0x25b)](_0x547b4e(0x301),{'className':_0x547b4e(0x26b),'children':_0x21132c(_0x20848f,_0x50bda6)})]});}var _0x3313e8=Object[_0x4ea31f(0x3ea)],_0x43d19c=(_0x3c6a73,_0x6cc336,_0x3167e6,_0x58b11d)=>{for(var _0x4dd72e=_0x58b11d>0x1?void 0x0:_0x58b11d?_0x3313e8(_0x6cc336,_0x3167e6):_0x6cc336,_0x1bf4f2=_0x3c6a73['length']-0x1,_0x544519;_0x1bf4f2>=0x0;_0x1bf4f2--)(_0x544519=_0x3c6a73[_0x1bf4f2])&&(_0x4dd72e=_0x544519(_0x4dd72e)||_0x4dd72e);return _0x4dd72e;},_0x5c977c=(_0xf3f633,_0x5ddf86)=>(_0x380a80,_0x3409f4)=>_0x5ddf86(_0x380a80,_0x3409f4,_0xf3f633);const _0x1c08c1=_0x4ea31f(0x35e);let _0x25f2d9=class extends _0x285b5b['Disposable']{constructor(_0x3feef4,_0x5e123b,_0x2d1830,_0x1c29c4,_0x34eb0e){const _0x2755e2=_0x4ea31f;super(),_0x2ddecb(this,_0x2755e2(0x273),null),(this[_0x2755e2(0x35c)]=_0x3feef4,this[_0x2755e2(0x34d)]=_0x5e123b,this['_localeService']=_0x2d1830,this[_0x2755e2(0x2d7)]=_0x1c29c4,this[_0x2755e2(0x306)]=_0x34eb0e,this['_init']());}[_0x4ea31f(0x2fa)](){const _0x51cfc7=_0x4ea31f;this[_0x51cfc7(0x39b)](),this[_0x51cfc7(0x22c)]();}[_0x4ea31f(0x22c)](){const _0x1b407a=_0x4ea31f;var _0x115983;if(this[_0x1b407a(0x273)])return;const _0x62d6ae=((_0x115983=this['_configService']['getConfig'](_0x379c2d))==null?void 0x0:_0x115983[_0x1b407a(0x215)])||_0x1c08c1,_0x5d36ab={'header':{'title':this['_localeService']['t'](_0x1b407a(0x36b))},'children':{'label':_0x62d6ae},'onClose':()=>{const _0x55c75d=_0x1b407a;this[_0x55c75d(0x273)]=null,this['_historyManagerService'][_0x55c75d(0x27f)]=_0x1ef2bc[_0x55c75d(0x200)];}};this['_sidebarDisposable']=this[_0x1b407a(0x35c)][_0x1b407a(0x19a)]({..._0x5d36ab});}['_initPanel'](){const _0x240fa0=_0x4ea31f;this['disposeWithMe'](this[_0x240fa0(0x34d)][_0x240fa0(0x1bf)](_0x1c08c1,_0x3b2cec)),this[_0x240fa0(0x23a)](this['_sidebarService'][_0x240fa0(0x352)][_0x240fa0(0x1dd)](_0x81574a[_0x240fa0(0x1e6)](0x64))[_0x240fa0(0x2e1)](_0x43faba=>{const {target:_0xab3bc7}=_0x43faba||{};if(_0xab3bc7){const {scrollTop:_0x16927b,scrollHeight:_0x2381ec,clientHeight:_0x3f2f54}=_0xab3bc7;_0x16927b+_0x3f2f54>=_0x2381ec-0x5&&this['_historyManagerService']['loadMoreVersions']();}}));}};_0x25f2d9=_0x43d19c([_0x5c977c(0x0,_0x70b9b['ISidebarService']),_0x5c977c(0x1,_0x285b5b[_0x4ea31f(0x28e)](_0x70b9b['ComponentManager'])),_0x5c977c(0x2,_0x285b5b[_0x4ea31f(0x28e)](_0x285b5b['LocaleService'])),_0x5c977c(0x3,_0x285b5b[_0x4ea31f(0x28e)](_0x54ee94[_0x4ea31f(0x27d)])),_0x5c977c(0x4,_0x285b5b[_0x4ea31f(0x350)])],_0x25f2d9);class _0x4e99e0 extends _0x285b5b[_0x4ea31f(0x377)]{constructor(){const _0xb666fc=_0x4ea31f;super(),_0x2ddecb(this,_0xb666fc(0x3e9),new _0x81574a[(_0xb666fc(0x2f2))]());}[_0x4ea31f(0x19a)](){const _0x3e79c7=_0x4ea31f;return _0x285b5b[_0x3e79c7(0x2ba)](()=>{});}[_0x4ea31f(0x30a)](){}['closeAll'](_0xf8541a){}[_0x4ea31f(0x32b)](){const _0x3e8122=_0x4ea31f;return this['_dialogOptions$'][_0x3e8122(0x1ad)]();}}var _0x3d11d5=Object['defineProperty'],_0x5ba833=Object[_0x4ea31f(0x3ea)],_0x564adb=(_0x1ac48f,_0x40716e,_0x1bf323)=>_0x40716e in _0x1ac48f?_0x3d11d5(_0x1ac48f,_0x40716e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1bf323}):_0x1ac48f[_0x40716e]=_0x1bf323,_0x19ef58=(_0x15979d,_0x2daa42,_0x57526d,_0x21b72a)=>{const _0x353881=_0x4ea31f;for(var _0xeb7215=_0x21b72a>0x1?void 0x0:_0x21b72a?_0x5ba833(_0x2daa42,_0x57526d):_0x2daa42,_0x285145=_0x15979d[_0x353881(0x1ea)]-0x1,_0x4ebef2;_0x285145>=0x0;_0x285145--)(_0x4ebef2=_0x15979d[_0x285145])&&(_0xeb7215=_0x4ebef2(_0xeb7215)||_0xeb7215);return _0xeb7215;},_0x863f0a=(_0x5b3c82,_0x17e5bb)=>(_0x5dd909,_0x4bd748)=>_0x17e5bb(_0x5dd909,_0x4bd748,_0x5b3c82),_0x177998=(_0x87e157,_0x3ff1e1,_0x181fef)=>_0x564adb(_0x87e157,_0x3ff1e1+'',_0x181fef);const _0x393e22=_0x4ea31f(0x2b4);_0x54ee94[_0x4ea31f(0x212)]=class extends _0x285b5b[_0x4ea31f(0x2ed)]{constructor(_0x7aa93b=_0xca6169,_0x5a69fb,_0x2ae631,_0x3e7ccd){const _0x30648f=_0x4ea31f;super(),this[_0x30648f(0x386)]=_0x7aa93b,this[_0x30648f(0x351)]=_0x5a69fb,this[_0x30648f(0x190)]=_0x2ae631,this[_0x30648f(0x306)]=_0x3e7ccd;const {..._0x55fb7e}=_0x285b5b[_0x30648f(0x2c2)]({},_0xca6169,this[_0x30648f(0x386)]);this['_configService'][_0x30648f(0x260)](_0x379c2d,_0x55fb7e);}[_0x4ea31f(0x1fa)](){const _0x24c22b=_0x4ea31f;[[_0x54ee94[_0x24c22b(0x27d)]],[_0x2b138e],[_0x225f90],[_0x55b78a],[_0x25f2d9],[_0x1e4641],[_0x1eca98[_0x24c22b(0x2b0)],{'useClass':_0x168e18[_0x24c22b(0x1f0)]}],[_0x70b9b[_0x24c22b(0x1b7)],{'useClass':_0x4e99e0}],[_0x4ac541[_0x24c22b(0x266)],{'useClass':_0x168e18['CollaborationImageIoService']}]][_0x24c22b(0x1e7)](_0x46e58a=>this[_0x24c22b(0x351)]['add'](_0x46e58a)),this['_injector'][_0x24c22b(0x3da)](_0x2b138e);}[_0x4ea31f(0x33b)](){const _0x4d249f=_0x4ea31f;[[_0x577bc9]][_0x4d249f(0x1e7)](_0x2faa59=>{const _0x57d847=_0x4d249f;this[_0x57d847(0x23a)](this['_renderManagerService'][_0x57d847(0x339)](_0x285b5b[_0x57d847(0x192)][_0x57d847(0x3d7)],_0x2faa59));}),this[_0x4d249f(0x351)][_0x4d249f(0x3da)](_0x1e4641),this['_injector']['get'](_0x25f2d9);}['onSteady'](){const _0x21d710=_0x4ea31f;this['_injector'][_0x21d710(0x3da)](_0x225f90);}},_0x177998(_0x54ee94[_0x4ea31f(0x212)],'pluginName',_0x393e22),_0x54ee94[_0x4ea31f(0x212)]=_0x19ef58([_0x285b5b[_0x4ea31f(0x3e7)](_0x4c4883['UniverSheetsUIPlugin'],_0x571f57[_0x4ea31f(0x389)]),_0x863f0a(0x1,_0x285b5b[_0x4ea31f(0x28e)](_0x285b5b[_0x4ea31f(0x3c4)])),_0x863f0a(0x2,_0x473668[_0x4ea31f(0x3e1)]),_0x863f0a(0x3,_0x285b5b[_0x4ea31f(0x350)])],_0x54ee94['UniverEditHistoryViewerPlugin']),_0x54ee94[_0x4ea31f(0x1e0)]=_0x1ef2bc,_0x54ee94['HistoryOrigin']=_0x2034cc,Object[_0x4ea31f(0x290)](_0x54ee94,Symbol[_0x4ea31f(0x3ad)],{'value':_0x4ea31f(0x1cb)});}));function _0x45e1(_0x48a991,_0xf0b247){_0x48a991=_0x48a991-0x190;const _0x5313e5=_0x5313();let _0x45e1a2=_0x5313e5[_0x48a991];return _0x45e1a2;}function _0x5313(){const _0x232c15=['currentSkeleton$','editHistory.action.revertSheetPrefix','_initMaskContainer','UNRECOGNIZED','_lastLabel','YUUMI_RATE_OVER_LIMIT','restore-icon','getCurrentVersion','_commandService','LOGIN_TOKEN_PROCESSING_FAILED','SetWorksheetHideMutation','APPLY_REVISION_CONFILICT','SetRowStyle','APPLY_REJECT','jsxs','ENTITLE_INVALID_COUPON_CODE','getHours','LICENSE_MAX_UNITS_EXCEEDED','endColumn','ViemRwHgtClWdt','CompressMutationService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','endRow','fill','@univerjs/engine-render','SetColumnStyle','UniverProSheetsChart','top','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','jsx','createElement','SheetCollabCursorShape','url(#restore-icon_clip0_1247_2)','1000','setConfig','split','ENTITLE_CAN_NOT_BUY_LOWER_OTP','next','DeleteRow','RenameSheet','IImageIoService','RenameWorksheet','parseProtocolChangeset','getCurrent','@univerjs/network','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','clipPath','rgba(58,\x2096,\x20247,\x200.20)','mutations','focusUnit','lastLabel','SetWorksheetActiveOperation','INVITE_CODE_ALREADY_BOUND','_sidebarDisposable','2inWvUg','ENTITLE_CHAT_LIMIT_EXCEED','CopySheet','useState','ICellEditorManagerService','Vector2','code','blocks','user','HistoryManagerService','ViewHistory','status','append','reduce','36955LFiGEr','createUnit','startRevision','getCurrentLocale','Share','MOBILE_VERIFY_CODE_MISMATCH','use','YUUMI_URL_COL_OUT_OF_RANGE','mask','currentVersion$','SetSheetsFilterRangeMutation','changesets','Inject','endRev','defineProperty','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','BackIcon','1em','Entered','loadingState$','EditWorksheetCell','subType','getRelativeToViewportCoord','historyListServerUrl','entities','loadInitialVersions','PY_RUNTIME_SCRIPT_ERROR','@univerjs-pro/collaboration-client','params','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','function','currentVersionDiff$','.univer-app-container-content','Character','_removeDiffMarks','Sort','getAncestorScale','random','Export','clsx','CURRENT_STATUS_CANNOT_OPERATE','useRef','_localeService','getVersion','ENTITLE_USE_COUPON_NOT_1ST_TRADE','WorkbookEditablePermission','ISnapshotServerService','_status$','row','removeSheet','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','_maskContainer','getSeconds','IMessageService','editHistory.panel.currentVersion','http://www.w3.org/2000/svg','toDisposable','padStart','error','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','editHistory.panel.cancel','ObjectMatrix','0\x200\x2016\x2017','react/jsx-runtime','merge','primary','SetCellStyle','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','VIEW_MAIN','amd','position','SelectProtectedCells','revertSheet','ENTITLE_DUP_SUBSCRIPTION','forwardRef','restore-icon_clip0_1247_2','_historyContainerId','REDEMPTION_CODE_HAS_BEEN_CREATED','_currentVersion$','HideWorksheet','onMouseMove','Error','_compressMutationService','CreateUnitMutation','assign','_historyManagerService','exports','UniverProSheetsSparkline','SheetPermissionInitController','@univerjs/design','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','PivotTable','ENSURE_SNAPSHOT_EXECUTION','flex','justifyContent','subscribe','_hasMore','data','AddWorksheetMergeMutation','USER_NOT_INVITED_CODE','hasCommand','fetching$','FromArray','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','UniverProCollaborationClientUi','bottom','AUTHORIZE_CODE_ILLEGAL','Plugin','UNIVER_DOC','combineLatest','style','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','Subject','getUnitId','DeleteWorksheetProtectionMutation','attrs','insertChart','deleteProtection','backgroundColor','startRow','_init','ViewFilter','_diffRangesMap','@univerjs-pro/sheets-sparkline','ERROR_AGAIN','_transformService','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','div','/universer-api/history','endRevision','Loading','subscribeEvent','_configService','YUUMI_NO_CUBOID_FOR_QUESTION','getDataRange','_sheetPermissionInitController','close','editHistory.header.revert','LOGIN_FAILED','unitId','Copy','WECHAT_HAS_BEEN_BOUND','641808JQJBuv','rule','editSheet','RangeMergeUtil','_historyFetchService','EMAIL_HAS_BEEN_BOUND','hideMask','values','_initActiveSwitch','@univerjs/data-validation','YUUMI_UNABLE_LOAD_URL','Button','range','YUUMI_TABLE_NOT_FOUND_IN_UNIT','fetchMissingChangesets','getMember','EMAIL_VERIFY_CODE_MISMATCH','dateString','getVersions','users','getViewport','ensureVersion','@univerjs-pro/sheets-chart','getDeserializedSheetBlock','react','triggerLoadVersions','HideSheet','getDialogs$','entries','evenodd','InsertColMutation','updatePermissionPoint','User','[HistoryFetchService]:\x20request\x20snapshot\x20error!','recoverTime','10liXUoE','APPLY_PERMISSION_DENIED','Filter','useCallback','parse','LocaleService','registerRenderModule','set','onRendered','_versionDiffService','isArray','from','createSheet','setValue','flat','defs','includes','children','MOBILE_HAS_BEEN_BOUND','@univerjs-pro/collaboration','REDEMPTION_USER_NOT_ELIGIBLE','YUUMI_SUBSCRIPTION_NOT_FOUND','_diffs','REDEMPTION_CODE_NOT_STARTED','PERMISSION_DENIED','CreateSheet','_componentManager','UNIVER_UNKNOWN','ranges','IConfigService','_injector','scrollEvent$','object','refreshRangeProtectPermission','showMask','45UsSgRO','querySelector','_context','CONNECTOR_DATA_TOO_LARGE','DeleteSheet','disposeUnit','_sidebarService','tag','history-panel','substring','_getActiveSubUnitId','_yieldToMain','_loadingState$','useDependency','SetRangeValuesMutation','COMPRESS_MUTATION_APPLY','Fragment','SNAPSHOT_INVALID_SNAPSHOT','543023wqBhcq','_workbookDataCache','YUUMI_CONNECTOR_URL_NOT_FOUND','editHistory.panel.title','anonymous','origin','body','WorkbookMoveSheetPermission','m1Prime','url(#$1','registerComponent','univer-text-2xl\x20dark:!univer-text-white','ReorderRangeMutation','LICENSE_DISTRO_REJECTED','sheetId','Disposable','button','creators','push','time','_updateDiffMarks','YUUMI_ASYNCIO_CANCELLED','findAllRectangle','_creators$','UniverDrawing','show','rxjs','RemoveNumfmtMutation','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','init','_config','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','_getRangesByMutation','UniverNetworkPlugin','useObservable','ENTITLE_COUPON_USED_UP','_maskElement','_revertRevision$','fetchCreatorList','DisposableCollection','univer-m-auto\x20univer-animate-spin','xlink:href','idSuffix','AddWorksheetProtectionMutation','MoveSheet','editHistory.panel.revertConfirm','SetNumfmtMutation','getCoordByCell','colorChannel1','memberId','setCF','_initPanel','REDEMPTION_USER_REDEEM_TIMES_EXCEED','SetConditionalRuleMutation','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','stopPropagation','userID','confirm-revert-revision','subUnitId','Edit','APPLY_DUPLICATED','setFilter','ENTITLE_REPORT_LIMIT_EXCEED','INVITE_CODE_REQUIRED','replace','Duplicate','UNIVER_PROJECT','history-mask','_univerInstanceService','toStringTag','USER_IS_ANONYMOUS','loadMoreVersions','setDV','dispose','_initRender','SetCellValue','VIRTUAL_VERSION_NOW','_extractRanges','workbook','ICommandService','rgba(225,\x20225,\x20225,\x200.5)','CreateWorksheet','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','width','2819614utaXmX','string','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','_confirmService','editHistory.panel.confirm','AddSheetSparklineMutation','unitId$','InsertSheetMutation','Injector','INVITE_CODE_HAS_BEEN_UES','TOO_MANY_REQUESTS','DATA_SOURCE_TOO_LARGE','univer-text-gray-500','UniverDesign','PAYMENT_CHANNEL_NOT_SUPPORT','SNAPSHOT_HAS_BEEN_REMOVED','BuiltInUIPart','7624133OlpAmG','_updateVersions','rev','currentVersion','blockMeta','commands','defIds','some','_snapshotServerService','UniverSheetsConditionalFormatting','UNIVER_SHEET','toString','revertRevision$','get','ENTITLE_NEED_BILLING_ADDRESS','edit-history-viewer.config','ENTITLE_INSUFFICIENT_QUOTA','Loaded','YUUMI_ALL_TABLES_IS_INVALID','_fetching$','IRenderManagerService','_combineRanges','syncExecuteCommand','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','12EfbjAn','editHistory.panel.unknownUser','DependentOn','command','_dialogOptions$','getOwnPropertyDescriptor','AddConditionalRuleMutation','then','_getAPIPrefix','_renderManagerService','_loadParams','UniverInstanceType','current','toISOString','trim','UniverUi','MoveRowsMutation','IUniverInstanceService','_cellEditorManagerService','open','makeDirty','292FZcPXd','now','INVALID_INVITE_CODE','REDEMPTION_CODE_FULLY_REDEEMED','UniverCore','Print','path','_setFetching','sheet','IUIPartsService','_unitId$','REDEMPTION_CODE_INACTIVE','rules','display','LICENSE_EXPORT_SIZE_EXCEEDED','editHistory.panel.revertDesc','RecoverHistory','asObservable','_canRevert','History','RevertRevisionMutation','date','UniverSheets','276tHFCKc','Info','additionalFields','userId','IDialogService','SelectUnProtectedCells','React','SetWorksheetStyle','center','ITransformService','Unspecified','permissionPointUpdate$','register','RwHgtClWdt','getSheetObject','getCurrentUnitForType','FloatImg','InsertColumn','loading-multi-icon','APPLY_NON_SEQUENTIAL_REVISION','versions','getConfig','add','getMinutes','Module','loadingState','CreatePermissionObject','UniverIcon','EditExtraObject','@univerjs/drawing','UNIVER_SLIDE','addProtection','_transformMutationByOrder','ENTITLE_COUPON_EXPIRED','borderBottomClassName','COMPLETION_FINISHED','svg','concat','RemoveSheetMutation','DeleteColumn','DeleteRangeProtectionMutation','INVALID_ARGUMENT','pipe','editHistory.action.','ALREADY_EXISTS','HistoryModeStatus','white','state$','hidden','none','univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','debounceTime','forEach','symbol','interceptor','length','/list?','status$','_uiPartsService','#0B9EFB','action','SnapshotServerOverHTTPService','filter','transformSnapshotToWorkbookData','_permissionService','versions$','YUUMI_AI_RUN_FAILED','all','name','rect','RestoreIcon','onStarting','find','span','has','_httpService','Init','Exited','active','_versions$','747955yZuTdm','UNAUTHENTICATED','forValue','AddRangeProtectionMutation','displayName','fetching','univer-overflow-hidden','CHANGESET_REVISION_CONFILICT','_currentVersionDiff$','univer-flex\x20univer-items-center\x20univer-justify-center','currentColor','startColumn','BehaviorSubject','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','className','UniverEditHistoryViewerPlugin','UNDEFINED','createTime','historyPanelComponentKey','NOT_FOUND','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','INTERNAL_ERROR','_messageService','_members','map','LocaleType','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','InsertHyperlink','_sheetSkeletonManagerService','triggerLoadSheet','value','MessageType','executeCommand','ZH_CN','100%','USER_NOT_FOUND','AddDataValidationMutation','color','Delete','exited','_createMask','_openPanel','setState','univerjs-icon\x20univerjs-icon-','Comment','_createUnit','View','loaded','1444458cDOeef','canRevert','editHistory.panel.revertConfirmText','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','/creators','LICENSE_IMPORT_SIZE_EXCEEDED','MoveWorksheet','disposeWithMe','_getSheetObject','Today','editHistory.action.etc'];_0x5313=function(){return _0x232c15;};return _0x5313();}
18
18
 
19
19
  // @univerjs-pro/edit-history-loader/index
20
- function _0x124d(_0x485ece,_0x4b8c8b){_0x485ece=_0x485ece-0x1f1;const _0x37d862=_0x37d8();let _0x124d62=_0x37d862[_0x485ece];return _0x124d62;}(function(_0x59e3e5,_0x109fac){const _0x78b1eb=_0x124d,_0x3e3b91=_0x59e3e5();while(!![]){try{const _0x5ec740=parseInt(_0x78b1eb(0x2a5))/0x1+parseInt(_0x78b1eb(0x2a0))/0x2*(-parseInt(_0x78b1eb(0x227))/0x3)+-parseInt(_0x78b1eb(0x306))/0x4+parseInt(_0x78b1eb(0x2a9))/0x5*(-parseInt(_0x78b1eb(0x284))/0x6)+parseInt(_0x78b1eb(0x2c0))/0x7+-parseInt(_0x78b1eb(0x1f8))/0x8*(-parseInt(_0x78b1eb(0x268))/0x9)+-parseInt(_0x78b1eb(0x2cb))/0xa;if(_0x5ec740===_0x109fac)break;else _0x3e3b91['push'](_0x3e3b91['shift']());}catch(_0x4662e1){_0x3e3b91['push'](_0x3e3b91['shift']());}}}(_0x37d8,0xc174a),function(_0x75700f,_0x1b37d7){const _0xf87289=_0x124d;typeof exports==_0xf87289(0x26a)&&typeof module<'u'?_0x1b37d7(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define==_0xf87289(0x210)&&define[_0xf87289(0x25a)]?define([_0xf87289(0x273),_0xf87289(0x238),_0xf87289(0x2cd),_0xf87289(0x220),_0xf87289(0x240),_0xf87289(0x2d7),'@univerjs/ui',_0xf87289(0x300),_0xf87289(0x302),_0xf87289(0x241),_0xf87289(0x2d2),'@univerjs-pro/sheets-chart',_0xf87289(0x231),_0xf87289(0x221),_0xf87289(0x213),'@univerjs-pro/sheets-sparkline-ui',_0xf87289(0x244),_0xf87289(0x2e1),'@univerjs/docs-ui','@univerjs/drawing',_0xf87289(0x23b),_0xf87289(0x281),'@univerjs/engine-render','@univerjs/network',_0xf87289(0x2de),_0xf87289(0x2ee),_0xf87289(0x212),'@univerjs/sheets-data-validation',_0xf87289(0x285),_0xf87289(0x272),'@univerjs/sheets-drawing-ui',_0xf87289(0x255),'@univerjs/sheets-filter-ui','@univerjs/sheets-formula',_0xf87289(0x26f),_0xf87289(0x2ad),_0xf87289(0x270),_0xf87289(0x319),'@univerjs/sheets-ui'],_0x1b37d7):(_0x75700f=typeof globalThis<'u'?globalThis:_0x75700f||self,_0x1b37d7(_0x75700f[_0xf87289(0x219)]={},_0x75700f[_0xf87289(0x295)],_0x75700f[_0xf87289(0x303)],_0x75700f[_0xf87289(0x279)],_0x75700f[_0xf87289(0x2c4)],_0x75700f[_0xf87289(0x25e)],_0x75700f[_0xf87289(0x24a)],_0x75700f[_0xf87289(0x300)],_0x75700f[_0xf87289(0x1f4)],_0x75700f[_0xf87289(0x2c9)],_0x75700f['UniverProLicense'],_0x75700f['UniverProSheetsChart'],_0x75700f[_0xf87289(0x237)],_0x75700f['UniverProSheetsPivot'],_0x75700f[_0xf87289(0x233)],_0x75700f[_0xf87289(0x20c)],_0x75700f['UniverDataValidation'],_0x75700f[_0xf87289(0x22e)],_0x75700f[_0xf87289(0x314)],_0x75700f['UniverDrawing'],_0x75700f[_0xf87289(0x27d)],_0x75700f[_0xf87289(0x2c6)],_0x75700f['UniverEngineRender'],_0x75700f[_0xf87289(0x27a)],_0x75700f[_0xf87289(0x29a)],_0x75700f['UniverSheetsConditionalFormatting'],_0x75700f['UniverSheetsConditionalFormattingUi'],_0x75700f[_0xf87289(0x2ae)],_0x75700f['UniverSheetsDataValidationUi'],_0x75700f[_0xf87289(0x2ec)],_0x75700f[_0xf87289(0x1ff)],_0x75700f[_0xf87289(0x253)],_0x75700f[_0xf87289(0x216)],_0x75700f[_0xf87289(0x260)],_0x75700f[_0xf87289(0x225)],_0x75700f['UniverSheetsHyperLink'],_0x75700f[_0xf87289(0x2b6)],_0x75700f[_0xf87289(0x251)],_0x75700f[_0xf87289(0x252)]));}(this,function(_0x5cac82,_0x34a90d,_0x2eb656,_0x45f3a2,_0x4474d1,_0x45a5ed,_0x34cb47,_0x48578a,_0x2fde5c,_0x439866,_0x520d16,_0x7b79a6,_0x147fa9,_0x2869ae,_0x4b06d1,_0x11d5a3,_0xe21d26,_0x3c81c2,_0x440a5e,_0x522ec0,_0x1ef6a0,_0x3b845d,_0x1441e7,_0x323686,_0x55a82b,_0x16fe94,_0xcff4fb,_0x639a1e,_0x8ee3b6,_0x1a27f2,_0xd84625,_0x443dfa,_0x37a903,_0x1ec90c,_0x2ac54a,_0x580d09,_0xaa7fa9,_0x564a49,_0x1f95dc){'use strict';const _0x1dfb1a=_0x124d;var _0x5c4b83=Object[_0x1dfb1a(0x1f1)],_0x2e3b70=(_0x230d3d,_0x39922c,_0x277e70)=>_0x39922c in _0x230d3d?_0x5c4b83(_0x230d3d,_0x39922c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x277e70}):_0x230d3d[_0x39922c]=_0x277e70,_0x536d7b=(_0x115882,_0x308d7e,_0x3c381f)=>_0x2e3b70(_0x115882,typeof _0x308d7e!='symbol'?_0x308d7e+'':_0x308d7e,_0x3c381f),_0x52766f;const _0x78e37d='edit-history-loader.config',_0x4cb294={};function _0x310ce0({ref:_0x602684,..._0x1eb342}){const _0x27669e=_0x1dfb1a,{icon:_0x2c7fc1,id:_0xe41b32,className:_0xb3bd82,extend:_0x5a6cec,..._0x1dac45}=_0x1eb342,_0xe59726=(_0x27669e(0x310)+_0xe41b32+'\x20'+(_0xb3bd82||''))[_0x27669e(0x276)](),_0x587901=_0x45a5ed[_0x27669e(0x254)]('_'+_0x4688c6());return _0x516403(_0x2c7fc1,''+_0xe41b32,{'defIds':_0x2c7fc1[_0x27669e(0x2d0)],'idSuffix':_0x587901['current']},{'ref':_0x602684,'className':_0xe59726,..._0x1dac45},_0x5a6cec);}function _0x516403(_0xba67f9,_0x124beb,_0x5439c4,_0x1bf902,_0x3411c0){const _0x16b3b7=_0x1dfb1a;return _0x45a5ed['createElement'](_0xba67f9[_0x16b3b7(0x288)],{'key':_0x124beb,..._0x48d122(_0xba67f9,_0x5439c4,_0x3411c0),..._0x1bf902},(_0x5d3a1e(_0xba67f9,_0x5439c4)[_0x16b3b7(0x2d4)]||[])[_0x16b3b7(0x2e0)]((_0x19f04d,_0x593e6c)=>_0x516403(_0x19f04d,_0x124beb+'-'+_0xba67f9[_0x16b3b7(0x288)]+'-'+_0x593e6c,_0x5439c4,void 0x0,_0x3411c0)));}function _0x48d122(_0x2585fb,_0x48f1f2,_0x188c4d){const _0x1bdc15=_0x1dfb1a,_0x226b4b={..._0x2585fb[_0x1bdc15(0x247)]};_0x188c4d!=null&&_0x188c4d['colorChannel1']&&_0x226b4b['fill']===_0x1bdc15(0x2c5)&&(_0x226b4b[_0x1bdc15(0x305)]=_0x188c4d['colorChannel1']),_0x2585fb[_0x1bdc15(0x288)]===_0x1bdc15(0x294)&&_0x226b4b['id']&&(_0x226b4b['id']=_0x226b4b['id']+_0x48f1f2['idSuffix']),Object[_0x1bdc15(0x201)](_0x226b4b)['forEach'](([_0x34569d,_0x22c2df])=>{const _0x5ee44c=_0x1bdc15;_0x34569d===_0x5ee44c(0x294)&&typeof _0x22c2df=='string'&&(_0x226b4b[_0x34569d]=_0x22c2df[_0x5ee44c(0x2e7)](/url\(#(.*)\)/,_0x5ee44c(0x215)+_0x48f1f2['idSuffix']+')'));});const {defIds:_0x4225c8}=_0x48f1f2;return!_0x4225c8||_0x4225c8[_0x1bdc15(0x230)]===0x0||(_0x2585fb[_0x1bdc15(0x288)]==='use'&&_0x226b4b[_0x1bdc15(0x235)]&&(_0x226b4b['xlink:href']=_0x226b4b[_0x1bdc15(0x235)]+_0x48f1f2['idSuffix']),Object['entries'](_0x226b4b)['forEach'](([_0x3ca2fe,_0x56db3f])=>{const _0x3a19c0=_0x1bdc15;typeof _0x56db3f=='string'&&(_0x226b4b[_0x3ca2fe]=_0x56db3f[_0x3a19c0(0x2e7)](/url\(#(.*)\)/,_0x3a19c0(0x215)+_0x48f1f2[_0x3a19c0(0x2a2)]+')'));})),_0x226b4b;}function _0x5d3a1e(_0x26b6b6,_0x3ea1be){const _0x2f97e8=_0x1dfb1a;var _0x1b9ceb;const {defIds:_0x53a452}=_0x3ea1be;return!_0x53a452||_0x53a452[_0x2f97e8(0x230)]===0x0?_0x26b6b6:_0x26b6b6[_0x2f97e8(0x288)]===_0x2f97e8(0x202)&&((_0x1b9ceb=_0x26b6b6[_0x2f97e8(0x2d4)])!=null&&_0x1b9ceb[_0x2f97e8(0x230)])?{..._0x26b6b6,'children':_0x26b6b6[_0x2f97e8(0x2d4)][_0x2f97e8(0x2e0)](_0x2772ea=>typeof _0x2772ea[_0x2f97e8(0x247)]['id']==_0x2f97e8(0x2ed)&&_0x53a452&&_0x53a452[_0x2f97e8(0x277)](_0x2772ea[_0x2f97e8(0x247)]['id'])?{..._0x2772ea,'attrs':{..._0x2772ea[_0x2f97e8(0x247)],'id':_0x2772ea[_0x2f97e8(0x247)]['id']+_0x3ea1be[_0x2f97e8(0x2a2)]}}:_0x2772ea)}:_0x26b6b6;}function _0x4688c6(){const _0x22ea82=_0x1dfb1a;return Math['random']()[_0x22ea82(0x26e)](0x24)[_0x22ea82(0x2f5)](0x2,0x8);}_0x310ce0[_0x1dfb1a(0x236)]=_0x1dfb1a(0x22c);const _0x475e85={'tag':_0x1dfb1a(0x2d8),'attrs':{'xmlns':_0x1dfb1a(0x2f4),'fill':_0x1dfb1a(0x1f3),'viewBox':'0\x200\x2016\x2016','width':_0x1dfb1a(0x1fa),'height':_0x1dfb1a(0x1fa)},'children':[{'tag':'g','attrs':{'fill':_0x1dfb1a(0x20a),'clipPath':_0x1dfb1a(0x258)},'children':[{'tag':_0x1dfb1a(0x2a3),'attrs':{'d':_0x1dfb1a(0x1f7)}},{'tag':_0x1dfb1a(0x2a3),'attrs':{'d':'M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z'}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1dfb1a(0x2be),'attrs':{'id':_0x1dfb1a(0x2cc)},'children':[{'tag':_0x1dfb1a(0x2a3),'attrs':{'fill':_0x1dfb1a(0x23e),'d':_0x1dfb1a(0x292)}}]}]}],'defIds':[_0x1dfb1a(0x2cc)]},_0x547813=_0x45a5ed[_0x1dfb1a(0x287)](function(_0x7ddaa3,_0x515dec){const _0x5048f8=_0x1dfb1a;return _0x45a5ed[_0x5048f8(0x2ea)](_0x310ce0,Object[_0x5048f8(0x2e9)]({},_0x7ddaa3,{'id':_0x5048f8(0x1f9),'ref':_0x515dec,'icon':_0x475e85}));});_0x547813['displayName']=_0x1dfb1a(0x30b);var _0x4ffeb2=Object[_0x1dfb1a(0x2c8)],_0x18861c=(_0xb01f10,_0xce2965,_0x11bbc2,_0x154293)=>{const _0x4cb9e6=_0x1dfb1a;for(var _0x15b18a=_0x154293>0x1?void 0x0:_0x154293?_0x4ffeb2(_0xce2965,_0x11bbc2):_0xce2965,_0x30b506=_0xb01f10[_0x4cb9e6(0x230)]-0x1,_0x10459e;_0x30b506>=0x0;_0x30b506--)(_0x10459e=_0xb01f10[_0x30b506])&&(_0x15b18a=_0x10459e(_0x15b18a)||_0x15b18a);return _0x15b18a;},_0x1da4a=(_0x149a4f,_0xae76fc)=>(_0x348bba,_0x20f943)=>_0xae76fc(_0x348bba,_0x20f943,_0x149a4f);const _0x11ae25=_0x1dfb1a(0x2fb),_0xdb1c36=_0x1dfb1a(0x24c),_0x3c4b02=_0x1dfb1a(0x2fa);_0x5cac82[_0x1dfb1a(0x1fc)]=class extends _0x34a90d[_0x1dfb1a(0x256)]{constructor(_0x5d3f69,_0x2e99a6,_0x5609ba,_0x527900,_0x54b561,_0x1c3cb8,_0x212315,_0x33485c,_0x3b639a,_0x352b54){const _0x49d3f9=_0x1dfb1a;super(),_0x536d7b(this,'_historyUniver$',new _0x48578a['BehaviorSubject'](null)),_0x536d7b(this,'historyUniver$',this[_0x49d3f9(0x24b)][_0x49d3f9(0x2df)]()),_0x536d7b(this,'_disposableCollection',new _0x34a90d[(_0x49d3f9(0x2dc))]()),_0x536d7b(this,'_pluginMap',new Map()),(this[_0x49d3f9(0x22d)]=_0x5d3f69,this[_0x49d3f9(0x29c)]=_0x2e99a6,this[_0x49d3f9(0x315)]=_0x5609ba,this[_0x49d3f9(0x243)]=_0x527900,this[_0x49d3f9(0x2c3)]=_0x54b561,this[_0x49d3f9(0x229)]=_0x1c3cb8,this['_selectionProtectionRuleModel']=_0x212315,this[_0x49d3f9(0x26c)]=_0x33485c,this[_0x49d3f9(0x2b9)]=_0x3b639a,this[_0x49d3f9(0x278)]=_0x352b54,this[_0x49d3f9(0x29b)]());}get[_0x1dfb1a(0x228)](){const _0x4e5883=_0x1dfb1a;return this[_0x4e5883(0x24b)][_0x4e5883(0x2b2)];}[_0x1dfb1a(0x29b)](){const _0x3c0ce8=_0x1dfb1a;this[_0x3c0ce8(0x2fe)](),this[_0x3c0ce8(0x2a1)]();}[_0x1dfb1a(0x2fe)](){const _0x475bcd=_0x1dfb1a;var _0x280b45;const _0x3c4062=(_0x280b45=this[_0x475bcd(0x315)][_0x475bcd(0x249)](_0xdb1c36))!=null?_0x280b45:_0x11ae25,_0x5a6293=document['getElementById'](_0x3c4062);if(!_0x5a6293)return;const _0x4eecd1=document[_0x475bcd(0x2ea)](_0x475bcd(0x264));_0x4eecd1['id']=_0x3c4b02,_0x4eecd1[_0x475bcd(0x2b3)][_0x475bcd(0x2da)]=_0x475bcd(0x27e),_0x4eecd1[_0x475bcd(0x239)]['position']=_0x475bcd(0x226),_0x4eecd1['style']['top']='0',_0x4eecd1[_0x475bcd(0x239)][_0x475bcd(0x2d5)]='0',_0x4eecd1[_0x475bcd(0x239)]['width']=_0x475bcd(0x259),_0x4eecd1[_0x475bcd(0x239)][_0x475bcd(0x299)]=_0x475bcd(0x259),_0x4eecd1['style']['zIndex']=_0x475bcd(0x2c1),_0x4eecd1[_0x475bcd(0x239)][_0x475bcd(0x23d)]='none',_0x5a6293['appendChild'](_0x4eecd1);}[_0x1dfb1a(0x2a1)](){const _0x173d85=_0x1dfb1a;var _0x1be5e4,_0x54a840,_0x1327dd,_0x40a224;[[_0x1441e7['UniverRenderEnginePlugin']],[_0x34cb47[_0x173d85(0x23c)],{'container':_0x3c4b02,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x34cb47['IDialogService'],null]]}],[_0x323686[_0x173d85(0x293)]],[_0x522ec0[_0x173d85(0x2f9)],{'override':[[_0x522ec0[_0x173d85(0x298)],null]]}],[_0x3c81c2[_0x173d85(0x223)],{'hasScroll':!0x1}],[_0x440a5e[_0x173d85(0x2a7)]],[_0x564a49[_0x173d85(0x2bf)]],[_0x2fde5c['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[_0x1f95dc['UniverSheetsUIPlugin']],[_0x1ec90c[_0x173d85(0x1f6)]],[_0x2ac54a['UniverSheetsFormulaUIPlugin']],[_0x2eb656[_0x173d85(0x2c7)]],[_0x443dfa['UniverSheetsFilterPlugin']],[_0x37a903[_0x173d85(0x23f)]],[_0x16fe94['UniverSheetsConditionalFormattingPlugin']],[_0xcff4fb[_0x173d85(0x30e)]],[_0x580d09[_0x173d85(0x280)]],[_0xaa7fa9[_0x173d85(0x2f1)]],[_0xe21d26['UniverDataValidationPlugin']],[_0x639a1e[_0x173d85(0x21e)]],[_0x8ee3b6[_0x173d85(0x2b0)]],[_0x3b845d[_0x173d85(0x1fe)],{'notExecuteFormula':!0x0}],[_0x55a82b['UniverRPCMainThreadPlugin'],{'workerURL':(_0x54a840=(_0x1be5e4=this['_configService']['getConfig'](_0x55a82b[_0x173d85(0x311)]))==null?void 0x0:_0x1be5e4['workerURL'])!=null?_0x54a840:_0x173d85(0x2e8)}],[_0x1ef6a0[_0x173d85(0x22f)]],[_0x1a27f2[_0x173d85(0x2f2)]],[_0xd84625['UniverSheetsDrawingUIPlugin']],[_0x4b06d1[_0x173d85(0x27c)]],[_0x11d5a3[_0x173d85(0x2f7)]],[_0x7b79a6[_0x173d85(0x234)]],[_0x147fa9['UniverSheetsChartUIPlugin']],[_0x2869ae[_0x173d85(0x2e6)],{'notExecuteFormula':!0x0}],[_0x439866[_0x173d85(0x282)],{'historyListServerUrl':(_0x1327dd=this['_configService'][_0x173d85(0x249)](_0x78e37d))==null?void 0x0:_0x1327dd[_0x173d85(0x30d)],'historyPanelComponentKey':(_0x40a224=this[_0x173d85(0x315)][_0x173d85(0x249)](_0x78e37d))==null?void 0x0:_0x40a224[_0x173d85(0x24e)]}]][_0x173d85(0x2ca)](([_0x561b30,_0x564dfe])=>this[_0x173d85(0x313)](_0x561b30,_0x564dfe));}[_0x1dfb1a(0x2a4)](){const _0x5106c9=_0x1dfb1a;super['dispose'](),this[_0x5106c9(0x22a)](),this[_0x5106c9(0x283)]['clear']();}[_0x1dfb1a(0x313)](_0xf031bd,_0x31b0f1,_0x1a97d4){const _0x1e7a8b=_0x1dfb1a;if(this[_0x1e7a8b(0x283)][_0x1e7a8b(0x257)](_0xf031bd[_0x1e7a8b(0x2fc)])&&!_0x1a97d4)throw new Error(_0x1e7a8b(0x2dd)+_0xf031bd['pluginName']+_0x1e7a8b(0x206));this[_0x1e7a8b(0x283)][_0x1e7a8b(0x1fb)](_0xf031bd['pluginName'],[_0xf031bd,_0x31b0f1]);}[_0x1dfb1a(0x2bc)](){const _0x34b665=_0x1dfb1a;return Array[_0x34b665(0x211)](this[_0x34b665(0x283)][_0x34b665(0x27b)]());}[_0x1dfb1a(0x2aa)](_0x4ffb4c){const _0xeb1684=_0x1dfb1a,_0x4ede76=document['getElementById'](_0x3c4b02);_0x4ede76&&(_0x4ede76[_0xeb1684(0x239)]['display']=_0xeb1684(0x224),this[_0xeb1684(0x30c)](_0x4ffb4c,_0x3c4b02));}[_0x1dfb1a(0x22a)](){const _0x2ff87d=_0x1dfb1a;var _0x3487a3;this[_0x2ff87d(0x2db)][_0x2ff87d(0x2a4)](),(_0x3487a3=this[_0x2ff87d(0x228)])==null||_0x3487a3[_0x2ff87d(0x2a4)](),this[_0x2ff87d(0x24b)][_0x2ff87d(0x2ac)](null);const _0x19ace6=document[_0x2ff87d(0x203)](_0x3c4b02);_0x19ace6&&(_0x19ace6[_0x2ff87d(0x239)][_0x2ff87d(0x23d)]=_0x2ff87d(0x1f3));}['_initUniver'](_0x298580,_0x417a2d){const _0x2e194d=_0x1dfb1a;if(this[_0x2e194d(0x228)])return;const _0x4e5989=new _0x34a90d[(_0x2e194d(0x21a))]({'locales':{[this[_0x2e194d(0x22d)][_0x2e194d(0x318)]()]:this[_0x2e194d(0x22d)][_0x2e194d(0x2e5)]()},'override':[[_0x34a90d['IAuthzIoService'],{'useClass':_0x45f3a2[_0x2e194d(0x267)]}]]}),_0x51dafb=_0x4e5989[_0x2e194d(0x304)]();this[_0x2e194d(0x29e)](this[_0x2e194d(0x278)][_0x2e194d(0x1fd)][_0x2e194d(0x2b1)](_0x4a9ff3=>{const _0x32310a=_0x2e194d;_0x51dafb[_0x32310a(0x245)](_0x34a90d[_0x32310a(0x317)])[_0x32310a(0x2d6)](_0x4a9ff3);})),this[_0x2e194d(0x29e)](this[_0x2e194d(0x278)][_0x2e194d(0x28f)]['subscribe'](_0x501f7c=>{const _0x14d8ca=_0x2e194d;_0x51dafb[_0x14d8ca(0x245)](_0x34a90d[_0x14d8ca(0x317)])['setTheme'](_0x501f7c);})),_0x51dafb[_0x2e194d(0x245)](_0x34a90d['LocaleService'])[_0x2e194d(0x301)](this[_0x2e194d(0x22d)]['getCurrentLocale']()),_0x51dafb[_0x2e194d(0x245)](_0x34a90d[_0x2e194d(0x2e3)])[_0x2e194d(0x316)](_0x45f3a2['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY'],this[_0x2e194d(0x315)][_0x2e194d(0x249)](_0x45f3a2[_0x2e194d(0x262)]));const _0x207633=this[_0x2e194d(0x315)][_0x2e194d(0x249)](_0x520d16[_0x2e194d(0x250)]);_0x207633&&_0x4e5989[_0x2e194d(0x313)](_0x520d16['UniverLicensePlugin'],{'license':_0x207633['ls']}),this[_0x2e194d(0x283)][_0x2e194d(0x2ca)](([_0x32e3c9,_0x301c29])=>{const _0x51add6=_0x2e194d;_0x4e5989[_0x51add6(0x313)](_0x32e3c9,_0x301c29);}),_0x51dafb[_0x2e194d(0x2af)](_0x566e6b=>{const _0x21849c=_0x2e194d;this[_0x21849c(0x275)](_0x566e6b,_0x298580);}),this[_0x2e194d(0x24b)][_0x2e194d(0x2ac)](_0x4e5989);const _0x2adadb=_0x51dafb[_0x2e194d(0x245)](_0x439866[_0x2e194d(0x2cf)]),_0x5e67b1=this[_0x2e194d(0x20e)](_0x298580);_0x2adadb[_0x2e194d(0x28a)](_0x298580,_0x417a2d,_0x5e67b1);}[_0x1dfb1a(0x275)](_0x5a7470,_0x46dfc5){const _0x542274=_0x1dfb1a,_0x12cbba=_0x5a7470['get'](_0x439866['HistoryManagerService']);this[_0x542274(0x2db)][_0x542274(0x200)](_0x12cbba[_0x542274(0x286)][_0x542274(0x2b1)](_0x368ba1=>{const _0x375d46=_0x542274;switch(_0x368ba1){case _0x439866[_0x375d46(0x2b5)]['Entered']:this[_0x375d46(0x26c)][_0x375d46(0x218)](),this[_0x375d46(0x2b9)][_0x375d46(0x2b4)]();break;case _0x439866[_0x375d46(0x2b5)][_0x375d46(0x25b)]:this[_0x375d46(0x243)][_0x375d46(0x246)](_0x5828d9['id']),this[_0x375d46(0x22a)]();break;case _0x439866['HistoryModeStatus'][_0x375d46(0x308)]:this[_0x375d46(0x22a)](),this[_0x375d46(0x2c3)][_0x375d46(0x2bb)]({'content':this[_0x375d46(0x22d)]['t']('editHistory.panel.listFetchError'),'type':_0x4474d1[_0x375d46(0x25c)][_0x375d46(0x308)],'duration':0xbb8});break;}})),this[_0x542274(0x2db)][_0x542274(0x200)](_0x12cbba[_0x542274(0x27f)]['subscribe'](async _0x4320a7=>{const _0x3389db=_0x542274;_0x4320a7&&this[_0x3389db(0x243)][_0x3389db(0x246)](_0x2eb656[_0x3389db(0x2d9)]['id'],{'unitId':_0x46dfc5,'revision':_0x4320a7});}));}['_checkCanRevert'](_0x2d40cc){const _0x5f5870=_0x1dfb1a,_0x40e58a=this['_univerInstanceService']['getUnit'](_0x2d40cc)[_0x5f5870(0x2d3)]()[_0x5f5870(0x2e0)](_0x440d6d=>_0x440d6d[_0x5f5870(0x248)]()),_0x397602=new _0x2fde5c[(_0x5f5870(0x1f5))](_0x2d40cc)['id'],_0x232483=_0x40e58a[_0x5f5870(0x2e0)](_0xb099=>new _0x2fde5c[(_0x5f5870(0x232))](_0x2d40cc,_0xb099)['id']),_0x57069f=_0x40e58a[_0x5f5870(0x2e0)](_0x3aab9e=>this[_0x5f5870(0x2fd)][_0x5f5870(0x2ba)](_0x2d40cc,_0x3aab9e)[_0x5f5870(0x2e0)](_0x5adba0=>new _0x2fde5c[(_0x5f5870(0x26b))](_0x2d40cc,_0x3aab9e,_0x5adba0[_0x5f5870(0x24f)])['id']))[_0x5f5870(0x28c)](),_0x48dacb=new _0x2fde5c['WorkbookRecoverHistoryPermission'](_0x2d40cc)['id'];return this[_0x5f5870(0x229)]['composePermission']([_0x397602,..._0x232483,..._0x57069f,_0x48dacb])[_0x5f5870(0x2a6)](_0x3d208a=>!!_0x3d208a[_0x5f5870(0x2b2)]);}},_0x5cac82[_0x1dfb1a(0x1fc)]=_0x18861c([_0x1da4a(0x0,_0x34a90d[_0x1dfb1a(0x204)](_0x34a90d['LocaleService'])),_0x1da4a(0x1,_0x34a90d[_0x1dfb1a(0x2e2)]),_0x1da4a(0x2,_0x34a90d['IConfigService']),_0x1da4a(0x3,_0x34a90d[_0x1dfb1a(0x217)]),_0x1da4a(0x4,_0x34cb47[_0x1dfb1a(0x25f)]),_0x1da4a(0x5,_0x34a90d['IPermissionService']),_0x1da4a(0x6,_0x34a90d[_0x1dfb1a(0x204)](_0x2fde5c['RangeProtectionRuleModel'])),_0x1da4a(0x7,_0x34a90d[_0x1dfb1a(0x204)](_0x34cb47[_0x1dfb1a(0x289)])),_0x1da4a(0x8,_0x34a90d['Inject'](_0x34cb47[_0x1dfb1a(0x309)])),_0x1da4a(0x9,_0x34a90d[_0x1dfb1a(0x204)](_0x34a90d[_0x1dfb1a(0x317)]))],_0x5cac82['HistoryLoaderService']);const _0x4eab88={'id':_0x1dfb1a(0x24d),'type':_0x34a90d[_0x1dfb1a(0x28d)][_0x1dfb1a(0x30a)],'handler':_0x497f57=>{const _0x259e29=_0x1dfb1a,_0x376576=_0x497f57['get'](_0x5cac82[_0x259e29(0x1fc)]),_0x3e86ee=_0x497f57[_0x259e29(0x245)](_0x34a90d[_0x259e29(0x2e2)]),{unitId:_0xd75e52}=_0x2fde5c['getSheetCommandTarget'](_0x3e86ee)||{};return _0xd75e52?(_0x376576[_0x259e29(0x2aa)](_0xd75e52),!0x0):!0x1;}},_0x5828d9={'id':_0x1dfb1a(0x30f),'type':_0x34a90d['CommandType']['OPERATION'],'handler':()=>!0x0};function _0x276837(_0x127afc){const _0x5e485f=_0x1dfb1a;return{'id':_0x4eab88['id'],'type':_0x34cb47[_0x5e485f(0x261)][_0x5e485f(0x2ff)],'icon':_0x5e485f(0x30b),'tooltip':_0x5e485f(0x21f),'hidden$':_0x34cb47[_0x5e485f(0x29d)](_0x127afc,_0x34a90d[_0x5e485f(0x1f2)][_0x5e485f(0x2e4)]),'disabled$':_0x1f95dc[_0x5e485f(0x20b)](_0x127afc,{'workbookTypes':[_0x2fde5c[_0x5e485f(0x1f5)],_0x2fde5c[_0x5e485f(0x26d)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x117db3={[_0x34cb47[_0x1dfb1a(0x222)][_0x1dfb1a(0x263)]]:{[_0x4eab88['id']]:{'order':0.2,'menuItemFactory':_0x276837}}};var _0x380126=Object[_0x1dfb1a(0x2c8)],_0x90906b=(_0x158919,_0x46e3ef,_0x2f35fc,_0xdbcbe3)=>{const _0x4f69fe=_0x1dfb1a;for(var _0x276450=_0xdbcbe3>0x1?void 0x0:_0xdbcbe3?_0x380126(_0x46e3ef,_0x2f35fc):_0x46e3ef,_0x468c60=_0x158919[_0x4f69fe(0x230)]-0x1,_0x49fd4f;_0x468c60>=0x0;_0x468c60--)(_0x49fd4f=_0x158919[_0x468c60])&&(_0x276450=_0x49fd4f(_0x276450)||_0x276450);return _0x276450;},_0x3f160b=(_0x427586,_0x1f6e75)=>(_0x2ad1f8,_0x2d54b5)=>_0x1f6e75(_0x2ad1f8,_0x2d54b5,_0x427586);let _0x4ab4e8=class extends _0x34a90d[_0x1dfb1a(0x291)]{constructor(_0x4d42a3,_0x2d4b53,_0x2d1d74,_0x569f35,_0x445122,_0x2a59b0,_0x344f4b,_0x3a3846){const _0x34823c=_0x1dfb1a;super(),_0x536d7b(this,_0x34823c(0x274),null),(this[_0x34823c(0x243)]=_0x4d42a3,this[_0x34823c(0x209)]=_0x2d4b53,this['_componentManager']=_0x2d1d74,this[_0x34823c(0x205)]=_0x569f35,this[_0x34823c(0x22d)]=_0x445122,this['_messageService']=_0x2a59b0,this[_0x34823c(0x2f0)]=_0x344f4b,this[_0x34823c(0x207)]=_0x3a3846,this[_0x34823c(0x29b)]());}['_init'](){const _0x13126c=_0x1dfb1a;[_0x4eab88,_0x5828d9][_0x13126c(0x2ca)](_0x5834c1=>this[_0x13126c(0x29e)](_0x34a90d[_0x13126c(0x20d)](this['_commandService'][_0x13126c(0x208)](_0x5834c1)))),this[_0x13126c(0x29e)](this['_componentManager'][_0x13126c(0x271)]('HistoryIcon',_0x547813)),this[_0x13126c(0x209)]['mergeMenu'](_0x117db3),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0xa15784=>{const _0x35a282=_0x13126c;if(_0xa15784['id']===_0x2eb656[_0x35a282(0x2d9)]['id']){this[_0x35a282(0x2c3)][_0x35a282(0x2bb)]({'content':this[_0x35a282(0x22d)]['t'](_0x35a282(0x297)),'type':_0x4474d1['MessageType'][_0x35a282(0x21d)],'duration':0x1388});const {unitId:_0x48f3ce}=_0xa15784['params'],_0x381884=this[_0x35a282(0x2f0)][_0x35a282(0x25d)](_0x48f3ce),_0x50d507=_0x48578a[_0x35a282(0x214)]([_0x381884[_0x35a282(0x2ab)]['event$'],_0x381884[_0x35a282(0x2f8)]])[_0x35a282(0x2b1)](async([_0x554dd4,_0x4115c9])=>{const _0x32fe84=_0x35a282;var _0x2cf1b0;_0x554dd4[_0x32fe84(0x29f)]===_0x2eb656[_0x32fe84(0x307)]['CHANGESET_ACK']&&(_0x4115c9==null?void 0x0:_0x4115c9[_0x32fe84(0x2f6)])===_0x45f3a2['CollaborationStatus'][_0x32fe84(0x312)]&&_0x554dd4[_0x32fe84(0x20f)]['mutations'][_0x32fe84(0x23a)](_0x2cb6e6=>_0x2cb6e6['id']===_0x2eb656[_0x32fe84(0x2d9)]['id'])&&(this['_historyManagerService'][_0x32fe84(0x22a)](),_0x50d507['unsubscribe'](),this['_revertErrorTimer']&&clearTimeout(this[_0x32fe84(0x274)]),await((_0x2cf1b0=this[_0x32fe84(0x207)])==null?void 0x0:_0x2cf1b0[_0x32fe84(0x2c2)]()),setTimeout(()=>window['location'][_0x32fe84(0x21b)]()));});this[_0x35a282(0x274)]=setTimeout(()=>{const _0x443e20=_0x35a282;_0x50d507[_0x443e20(0x2d1)](),this['_messageService'][_0x443e20(0x2bb)]({'content':this['_localeService']['t'](_0x443e20(0x21c)),'type':_0x4474d1[_0x443e20(0x25c)][_0x443e20(0x308)],'duration':0xbb8});},0x1388);}}));}};_0x4ab4e8=_0x90906b([_0x3f160b(0x0,_0x34a90d['ICommandService']),_0x3f160b(0x1,_0x34cb47['IMenuManagerService']),_0x3f160b(0x2,_0x34a90d['Inject'](_0x34cb47['ComponentManager'])),_0x3f160b(0x3,_0x34a90d[_0x1dfb1a(0x204)](_0x5cac82['HistoryLoaderService'])),_0x3f160b(0x4,_0x34a90d[_0x1dfb1a(0x204)](_0x34a90d[_0x1dfb1a(0x290)])),_0x3f160b(0x5,_0x34cb47[_0x1dfb1a(0x25f)]),_0x3f160b(0x6,_0x34a90d[_0x1dfb1a(0x204)](_0x45f3a2[_0x1dfb1a(0x2bd)])),_0x3f160b(0x7,_0x45f3a2[_0x1dfb1a(0x2eb)])],_0x4ab4e8);var _0x504575=Object[_0x1dfb1a(0x2c8)],_0xe9f61c=(_0x162713,_0x9db5a6,_0x218b2e,_0x42414b)=>{const _0x3a1642=_0x1dfb1a;for(var _0x27a82f=_0x42414b>0x1?void 0x0:_0x42414b?_0x504575(_0x9db5a6,_0x218b2e):_0x9db5a6,_0x4280cf=_0x162713[_0x3a1642(0x230)]-0x1,_0x4d920e;_0x4280cf>=0x0;_0x4280cf--)(_0x4d920e=_0x162713[_0x4280cf])&&(_0x27a82f=_0x4d920e(_0x27a82f)||_0x27a82f);return _0x27a82f;},_0x49983f=(_0x54d8e8,_0x280875)=>(_0x15b7ef,_0x59762e)=>_0x280875(_0x15b7ef,_0x59762e,_0x54d8e8);const _0x546900=_0x1dfb1a(0x265);_0x5cac82['UniverEditHistoryLoaderPlugin']=(_0x52766f=class extends _0x34a90d[_0x1dfb1a(0x296)]{constructor(_0xe666c=_0x4cb294,_0x57735e,_0x4b15dd){const _0x228108=_0x1dfb1a;super(),this['_config']=_0xe666c,this['_injector']=_0x57735e,this[_0x228108(0x315)]=_0x4b15dd;const {menu:_0x2125f7,..._0x366d33}=_0x34a90d[_0x228108(0x2a8)]({},_0x4cb294,this['_config']);_0x2125f7&&this[_0x228108(0x315)][_0x228108(0x316)](_0x228108(0x266),_0x2125f7,{'merge':!0x0}),this[_0x228108(0x315)][_0x228108(0x316)](_0x78e37d,_0x366d33),this[_0x228108(0x2b7)][_0x228108(0x269)]&&this['_configService'][_0x228108(0x316)](_0xdb1c36,this[_0x228108(0x2b7)]['univerContainerId']);}['onStarting'](){const _0x4d18ba=_0x1dfb1a;[[_0x5cac82[_0x4d18ba(0x1fc)]],[_0x4ab4e8]][_0x4d18ba(0x2ca)](_0x7131b9=>this[_0x4d18ba(0x22b)][_0x4d18ba(0x200)](_0x7131b9));}[_0x1dfb1a(0x2f3)](){const _0x3d8b46=_0x1dfb1a;this[_0x3d8b46(0x22b)]['get'](_0x4ab4e8);}},_0x536d7b(_0x52766f,'type',_0x34a90d[_0x1dfb1a(0x1f2)][_0x1dfb1a(0x2ef)]),_0x536d7b(_0x52766f,_0x1dfb1a(0x2fc),_0x546900),_0x52766f),_0x5cac82[_0x1dfb1a(0x28e)]=_0xe9f61c([_0x49983f(0x1,_0x34a90d[_0x1dfb1a(0x204)](_0x34a90d[_0x1dfb1a(0x2ce)])),_0x49983f(0x2,_0x34a90d[_0x1dfb1a(0x2e3)])],_0x5cac82[_0x1dfb1a(0x28e)]),_0x5cac82['UNIVER_CONTAINER_ID_KEY']=_0xdb1c36,_0x5cac82[_0x1dfb1a(0x2b8)]=_0x3c4b02,Object[_0x1dfb1a(0x1f1)](_0x5cac82,Symbol[_0x1dfb1a(0x242)],{'value':_0x1dfb1a(0x28b)});}));function _0x37d8(){const _0x5949e5=['_sidebarService','getSubunitRuleList','show','getAllPlugins','CollaborationController','clipPath','UniverSheetsNumfmtPlugin','6823593idOMlT','1000','exhaustSavingTask','_messageService','UniverDesign','colorChannel1','UniverEngineFormula','UniverCollaborationPlugin','getOwnPropertyDescriptor','UniverProEditHistoryViewer','forEach','21714060LhWnrB','history-icon_clip0_907_281','@univerjs-pro/collaboration','Injector','HistoryManagerService','defIds','unsubscribe','@univerjs-pro/license','getSheets','children','left','setDarkMode','react','svg','RevertRevisionMutation','uComp','_disposableCollection','DisposableCollection','[HistoryLoaderService]:\x20Plugin\x20','@univerjs/rpc','asObservable','map','@univerjs/docs','IUniverInstanceService','IConfigService','UNIVER_SHEET','getLocales','UniverSheetsPivotTablePlugin','replace','./worker.js','assign','createElement','ILocalCacheService','UniverSheetsDrawing','string','@univerjs/sheets-conditional-formatting','UNIVER_UNKNOWN','_collaborationController','UniverSheetsHyperLinkUIPlugin','UniverSheetsDrawingPlugin','onSteady','http://www.w3.org/2000/svg','substring','status','UniverSheetSparklineUIPlugin','state$','UniverDrawingPlugin','univer-history-container','univer-container','pluginName','_selectionProtectionRuleModel','_initContainer','BUTTON','rxjs','setLocale','@univerjs/sheets','UniverProCollaboration','__getInjector','fill','949036xKUrat','CollaborationEvent','Error','ISidebarService','OPERATION','HistoryIcon','_initUniver','historyListServerUrl','UniverSheetsConditionalFormattingUIPlugin','univer.operation.exit-edit-history','univerjs-icon\x20univerjs-icon-','PLUGIN_CONFIG_KEY_MAIN_THREAD','SYNCED','registerPlugin','UniverDocsUi','_configService','setConfig','ThemeService','getCurrentLocale','@univerjs/sheets-numfmt','defineProperty','UniverInstanceType','none','UniverSheets','WorkbookEditablePermission','UniverSheetsFormulaPlugin','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','408jRkOyt','history-icon','1em','set','HistoryLoaderService','darkMode$','UniverFormulaEnginePlugin','UniverSheetsDrawingUi','add','entries','defs','getElementById','Inject','_historyManagerService','\x20has\x20been\x20registered.','_localCacheService','registerCommand','_menuManagerService','currentColor','getCurrentRangeDisable$','UniverProSheetsSparklineUi','toDisposable','_checkCanRevert','data','function','from','@univerjs/sheets-conditional-formatting-ui','@univerjs-pro/sheets-sparkline','combineLatest','url(#$1','UniverSheetsFilterUi','ICommandService','closeAll','UniverProEditHistoryLoader','Univer','reload','editHistory.panel.revertFailed','Loading','UniverSheetsDataValidationPlugin','editHistory.panel.title','@univerjs-pro/collaboration-client','@univerjs-pro/sheets-pivot','RibbonStartGroup','UniverDocsPlugin','block','UniverSheetsFormulaUi','absolute','3fgyHTP','historyUniver','_permissionService','unMountHistoryContent','_injector','UniverIcon','_localeService','UniverDocs','UniverDrawingUIPlugin','length','@univerjs-pro/sheets-chart-ui','WorksheetEditPermission','UniverProSheetsSparkline','UniverSheetsChartPlugin','xlink:href','displayName','UniverProSheetsChartUi','@univerjs/core','style','some','@univerjs/drawing-ui','UniverUIPlugin','display','white','UniverSheetsFilterUIPlugin','@univerjs/design','@univerjs-pro/edit-history-viewer','toStringTag','_commandService','@univerjs/data-validation','get','executeCommand','attrs','getSheetId','getConfig','UniverUi','_historyUniver$','UNIVER_CONTAINER_ID','univer.operation.toggle-edit-history','historyPanelComponentKey','permissionId','LS_CONFIG_KEY','UniverSheetsNumfmt','UniverSheetsUi','UniverSheetsFilter','useRef','@univerjs/sheets-filter','Disposable','has','url(#history-icon_clip0_907_281)','100%','amd','Exited','MessageType','getCollabEntity','React','IMessageService','UniverSheetsFormula','MenuItemType','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','OTHERS','div','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','menu','AuthzIoHttpService','277353qyKMgt','univerContainerId','object','RangeProtectionPermissionEditPoint','_dialogService','WorkbookViewHistoryPermission','toString','@univerjs/sheets-formula-ui','@univerjs/sheets-hyper-link-ui','register','@univerjs/sheets-drawing','exports','_revertErrorTimer','_initListener','trim','includes','_themeService','UniverProCollaborationClient','UniverNetwork','values','UniverSheetSparklinePlugin','UniverDrawingUi','history-container','revertRevision$','UniverSheetsHyperLinkPlugin','@univerjs/engine-formula','UniverEditHistoryViewerPlugin','_pluginMap','78iFqdXN','@univerjs/sheets-data-validation-ui','status$','forwardRef','tag','IDialogService','triggerLoadVersions','Module','flat','CommandType','UniverEditHistoryLoaderPlugin','currentTheme$','LocaleService','RxDisposable','M0\x200H16V16H0z','UniverNetworkPlugin','mask','UniverCore','Plugin','editHistory.panel.reverting','IImageIoService','height','UniverRpc','_init','_univerInstanceService','getMenuHiddenObservable','disposeWithMe','eventID','630976QuOSmn','_initPlugins','idSuffix','path','dispose','1244940CkmGNN','every','UniverDocsUIPlugin','merge','105715WWlvSY','mountHistoryContent','session','next','@univerjs/sheets-hyper-link','UniverSheetsDataValidation','invoke','UniverSheetsDataValidationUIPlugin','subscribe','value','dataset','close','HistoryModeStatus','UniverSheetsHyperLinkUi','_config','UNIVER_HISTORY_CONTAINER_ID'];_0x37d8=function(){return _0x5949e5;};return _0x37d8();}
20
+ (function(_0x590e04,_0x4bd97d){const _0x16afd8=_0x5582,_0x54b212=_0x590e04();while(!![]){try{const _0xacb61=parseInt(_0x16afd8(0x25a))/0x1+-parseInt(_0x16afd8(0x24a))/0x2+parseInt(_0x16afd8(0x21b))/0x3*(-parseInt(_0x16afd8(0x1db))/0x4)+-parseInt(_0x16afd8(0x1f0))/0x5+-parseInt(_0x16afd8(0x1a2))/0x6*(-parseInt(_0x16afd8(0x15a))/0x7)+-parseInt(_0x16afd8(0x157))/0x8*(parseInt(_0x16afd8(0x1e6))/0x9)+-parseInt(_0x16afd8(0x223))/0xa;if(_0xacb61===_0x4bd97d)break;else _0x54b212['push'](_0x54b212['shift']());}catch(_0x2a68eb){_0x54b212['push'](_0x54b212['shift']());}}}(_0xb232,0x490fe),function(_0x2872b7,_0x2459b2){const _0x5e341f=_0x5582;typeof exports==_0x5e341f(0x252)&&typeof module<'u'?_0x2459b2(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x5e341f(0x1f3)]?define([_0x5e341f(0x24e),'@univerjs/core',_0x5e341f(0x1b5),_0x5e341f(0x1c3),_0x5e341f(0x1aa),_0x5e341f(0x168),_0x5e341f(0x269),'rxjs','@univerjs/sheets',_0x5e341f(0x229),_0x5e341f(0x15b),_0x5e341f(0x215),_0x5e341f(0x1c8),_0x5e341f(0x1f5),_0x5e341f(0x1bb),_0x5e341f(0x244),_0x5e341f(0x198),_0x5e341f(0x15e),_0x5e341f(0x239),'@univerjs/drawing','@univerjs/drawing-ui',_0x5e341f(0x15f),_0x5e341f(0x266),'@univerjs/network','@univerjs/rpc',_0x5e341f(0x20b),'@univerjs/sheets-conditional-formatting-ui',_0x5e341f(0x260),_0x5e341f(0x1c6),_0x5e341f(0x210),_0x5e341f(0x172),_0x5e341f(0x25f),_0x5e341f(0x26a),_0x5e341f(0x18b),'@univerjs/sheets-formula-ui',_0x5e341f(0x1e4),_0x5e341f(0x256),_0x5e341f(0x254),_0x5e341f(0x22c)],_0x2459b2):(_0x2872b7=typeof globalThis<'u'?globalThis:_0x2872b7||self,_0x2459b2(_0x2872b7[_0x5e341f(0x245)]={},_0x2872b7[_0x5e341f(0x1f6)],_0x2872b7[_0x5e341f(0x1c4)],_0x2872b7['UniverProCollaborationClient'],_0x2872b7[_0x5e341f(0x16b)],_0x2872b7[_0x5e341f(0x1c9)],_0x2872b7[_0x5e341f(0x1ea)],_0x2872b7[_0x5e341f(0x21e)],_0x2872b7[_0x5e341f(0x1d6)],_0x2872b7['UniverProEditHistoryViewer'],_0x2872b7['UniverProLicense'],_0x2872b7[_0x5e341f(0x19a)],_0x2872b7['UniverProSheetsChartUi'],_0x2872b7[_0x5e341f(0x24b)],_0x2872b7[_0x5e341f(0x182)],_0x2872b7[_0x5e341f(0x1ec)],_0x2872b7[_0x5e341f(0x203)],_0x2872b7[_0x5e341f(0x189)],_0x2872b7['UniverDocsUi'],_0x2872b7['UniverDrawing'],_0x2872b7[_0x5e341f(0x211)],_0x2872b7[_0x5e341f(0x226)],_0x2872b7[_0x5e341f(0x1a6)],_0x2872b7[_0x5e341f(0x23d)],_0x2872b7[_0x5e341f(0x1d3)],_0x2872b7[_0x5e341f(0x250)],_0x2872b7['UniverSheetsConditionalFormattingUi'],_0x2872b7[_0x5e341f(0x1be)],_0x2872b7[_0x5e341f(0x238)],_0x2872b7[_0x5e341f(0x23a)],_0x2872b7['UniverSheetsDrawingUi'],_0x2872b7[_0x5e341f(0x1b4)],_0x2872b7[_0x5e341f(0x262)],_0x2872b7[_0x5e341f(0x1fa)],_0x2872b7[_0x5e341f(0x16e)],_0x2872b7[_0x5e341f(0x26b)],_0x2872b7[_0x5e341f(0x1f9)],_0x2872b7['UniverSheetsNumfmt'],_0x2872b7[_0x5e341f(0x1bd)]));}(this,function(_0x53c012,_0x475d02,_0x32f898,_0x1cf877,_0x3cfca2,_0x1091b7,_0x2bb852,_0x8f2277,_0x930cbc,_0x2c0af4,_0x3863a0,_0x3db464,_0x12f3bc,_0x1e8f8e,_0x9b0488,_0x58c6d7,_0x438ae9,_0x407ef8,_0x2ce8c1,_0x3a8e3c,_0x3612a5,_0x4fcd92,_0x4f6180,_0x8c1dc6,_0x2e9265,_0x50fabb,_0x582bde,_0x603be3,_0x1e72ec,_0x1bad43,_0x1a1d2e,_0x50a161,_0x19a88d,_0x4782dc,_0x2e287d,_0x1152b4,_0xfdbcd1,_0x39edde,_0x4bc9f6){'use strict';const _0x3052da=_0x5582;var _0x54ab5d=Object[_0x3052da(0x277)],_0x4f6fe8=(_0x28bcc8,_0x2ee490,_0x4c70c4)=>_0x2ee490 in _0x28bcc8?_0x54ab5d(_0x28bcc8,_0x2ee490,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c70c4}):_0x28bcc8[_0x2ee490]=_0x4c70c4,_0x42b0b1=(_0x5afec0,_0x8c376e,_0x4db3d1)=>_0x4f6fe8(_0x5afec0,typeof _0x8c376e!='symbol'?_0x8c376e+'':_0x8c376e,_0x4db3d1),_0x21bcdb;const _0x1dfc46=_0x3052da(0x1d5),_0xab6f60={};function _0x44022e({ref:_0x1ff530,..._0x300777}){const _0x3754d0=_0x3052da,{icon:_0x1c6da3,id:_0x19fe12,className:_0x45b4f5,extend:_0x4b4e50,..._0x19664c}=_0x300777,_0x231522=('univerjs-icon\x20univerjs-icon-'+_0x19fe12+'\x20'+(_0x45b4f5||''))[_0x3754d0(0x18f)](),_0x39e77a=_0x1091b7['useRef']('_'+_0x37240c());return _0x5864e7(_0x1c6da3,''+_0x19fe12,{'defIds':_0x1c6da3['defIds'],'idSuffix':_0x39e77a['current']},{'ref':_0x1ff530,'className':_0x231522,..._0x19664c},_0x4b4e50);}function _0x5864e7(_0x405b91,_0xe81867,_0xec2e9a,_0x3d32a4,_0x5197e1){const _0x4156f4=_0x3052da;return _0x1091b7[_0x4156f4(0x21f)](_0x405b91[_0x4156f4(0x1a8)],{'key':_0xe81867,..._0x2e32a9(_0x405b91,_0xec2e9a,_0x5197e1),..._0x3d32a4},(_0x414d12(_0x405b91,_0xec2e9a)['children']||[])['map']((_0x50a0e6,_0x3a0eb3)=>_0x5864e7(_0x50a0e6,_0xe81867+'-'+_0x405b91['tag']+'-'+_0x3a0eb3,_0xec2e9a,void 0x0,_0x5197e1)));}function _0x2e32a9(_0x37f273,_0x4444a2,_0x2de8ee){const _0x4291a0=_0x3052da,_0x5ce307={..._0x37f273[_0x4291a0(0x1e0)]};_0x2de8ee!=null&&_0x2de8ee['colorChannel1']&&_0x5ce307['fill']===_0x4291a0(0x274)&&(_0x5ce307[_0x4291a0(0x150)]=_0x2de8ee[_0x4291a0(0x274)]),_0x37f273[_0x4291a0(0x1a8)]===_0x4291a0(0x19f)&&_0x5ce307['id']&&(_0x5ce307['id']=_0x5ce307['id']+_0x4444a2[_0x4291a0(0x27d)]),Object[_0x4291a0(0x251)](_0x5ce307)['forEach'](([_0x2cdf44,_0x57da05])=>{const _0x8cbd0e=_0x4291a0;_0x2cdf44===_0x8cbd0e(0x19f)&&typeof _0x57da05==_0x8cbd0e(0x1d4)&&(_0x5ce307[_0x2cdf44]=_0x57da05['replace'](/url\(#(.*)\)/,_0x8cbd0e(0x271)+_0x4444a2[_0x8cbd0e(0x27d)]+')'));});const {defIds:_0x2d30c6}=_0x4444a2;return!_0x2d30c6||_0x2d30c6[_0x4291a0(0x216)]===0x0||(_0x37f273[_0x4291a0(0x1a8)]===_0x4291a0(0x16a)&&_0x5ce307[_0x4291a0(0x26e)]&&(_0x5ce307[_0x4291a0(0x26e)]=_0x5ce307[_0x4291a0(0x26e)]+_0x4444a2['idSuffix']),Object['entries'](_0x5ce307)[_0x4291a0(0x26c)](([_0x1f837c,_0x3e4c56])=>{const _0x314dbb=_0x4291a0;typeof _0x3e4c56==_0x314dbb(0x1d4)&&(_0x5ce307[_0x1f837c]=_0x3e4c56[_0x314dbb(0x197)](/url\(#(.*)\)/,_0x314dbb(0x271)+_0x4444a2[_0x314dbb(0x27d)]+')'));})),_0x5ce307;}function _0x414d12(_0xc99826,_0x2ffc66){const _0x14e32c=_0x3052da;var _0x215fb1;const {defIds:_0x240632}=_0x2ffc66;return!_0x240632||_0x240632[_0x14e32c(0x216)]===0x0?_0xc99826:_0xc99826[_0x14e32c(0x1a8)]===_0x14e32c(0x21d)&&((_0x215fb1=_0xc99826[_0x14e32c(0x14d)])!=null&&_0x215fb1[_0x14e32c(0x216)])?{..._0xc99826,'children':_0xc99826[_0x14e32c(0x14d)][_0x14e32c(0x1a4)](_0x465f1f=>typeof _0x465f1f[_0x14e32c(0x1e0)]['id']==_0x14e32c(0x1d4)&&_0x240632&&_0x240632['includes'](_0x465f1f[_0x14e32c(0x1e0)]['id'])?{..._0x465f1f,'attrs':{..._0x465f1f['attrs'],'id':_0x465f1f[_0x14e32c(0x1e0)]['id']+_0x2ffc66[_0x14e32c(0x27d)]}}:_0x465f1f)}:_0xc99826;}function _0x37240c(){const _0x3f405e=_0x3052da;return Math[_0x3f405e(0x212)]()[_0x3f405e(0x264)](0x24)['substring'](0x2,0x8);}_0x44022e[_0x3052da(0x1ee)]=_0x3052da(0x201);const _0x484a74={'tag':_0x3052da(0x23b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3052da(0x233),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x3052da(0x152)},'children':[{'tag':'g','attrs':{'fill':_0x3052da(0x227),'clipPath':_0x3052da(0x176)},'children':[{'tag':_0x3052da(0x174),'attrs':{'d':_0x3052da(0x20f)}},{'tag':_0x3052da(0x174),'attrs':{'d':_0x3052da(0x22d)}}]},{'tag':_0x3052da(0x21d),'attrs':{},'children':[{'tag':_0x3052da(0x225),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x3052da(0x174),'attrs':{'fill':_0x3052da(0x19c),'d':_0x3052da(0x1d7)}}]}]}],'defIds':[_0x3052da(0x1ac)]},_0x3a613c=_0x1091b7[_0x3052da(0x1da)](function(_0x17e69c,_0x3ba738){const _0x355903=_0x3052da;return _0x1091b7[_0x355903(0x21f)](_0x44022e,Object[_0x355903(0x257)]({},_0x17e69c,{'id':_0x355903(0x17f),'ref':_0x3ba738,'icon':_0x484a74}));});_0x3a613c[_0x3052da(0x1ee)]=_0x3052da(0x178);var _0xf01b73=Object[_0x3052da(0x1d0)],_0x333dda=(_0x52a465,_0x573f7c,_0x1a49ef,_0x14d481)=>{const _0xf2d1da=_0x3052da;for(var _0x2ecbd7=_0x14d481>0x1?void 0x0:_0x14d481?_0xf01b73(_0x573f7c,_0x1a49ef):_0x573f7c,_0x4ba4dd=_0x52a465[_0xf2d1da(0x216)]-0x1,_0x3d2acb;_0x4ba4dd>=0x0;_0x4ba4dd--)(_0x3d2acb=_0x52a465[_0x4ba4dd])&&(_0x2ecbd7=_0x3d2acb(_0x2ecbd7)||_0x2ecbd7);return _0x2ecbd7;},_0x467318=(_0x18b794,_0x531984)=>(_0x3616c,_0x5218e8)=>_0x531984(_0x3616c,_0x5218e8,_0x18b794);const _0x4a63b5=_0x3052da(0x17c),_0x21e49b=_0x3052da(0x205),_0x247451=_0x3052da(0x154);_0x53c012[_0x3052da(0x1a7)]=class extends _0x475d02[_0x3052da(0x25b)]{constructor(_0x3be032,_0x224c7d,_0x263411,_0x1edd5a,_0x418a05,_0x12da49,_0x241dcb,_0x3b209f,_0x44c1ad,_0x311f3d){const _0x5c99ac=_0x3052da;super(),_0x42b0b1(this,_0x5c99ac(0x1fe),new _0x8f2277[(_0x5c99ac(0x193))](null)),_0x42b0b1(this,_0x5c99ac(0x17b),this[_0x5c99ac(0x1fe)][_0x5c99ac(0x1ed)]()),_0x42b0b1(this,_0x5c99ac(0x26f),new _0x475d02['DisposableCollection']()),_0x42b0b1(this,_0x5c99ac(0x255),new Map()),(this['_localeService']=_0x3be032,this[_0x5c99ac(0x1d2)]=_0x224c7d,this[_0x5c99ac(0x224)]=_0x263411,this[_0x5c99ac(0x187)]=_0x1edd5a,this['_messageService']=_0x418a05,this['_permissionService']=_0x12da49,this[_0x5c99ac(0x25e)]=_0x241dcb,this['_dialogService']=_0x3b209f,this['_sidebarService']=_0x44c1ad,this[_0x5c99ac(0x202)]=_0x311f3d,this[_0x5c99ac(0x17d)]());}get[_0x3052da(0x177)](){const _0x1302f2=_0x3052da;return this[_0x1302f2(0x1fe)][_0x1302f2(0x171)];}[_0x3052da(0x17d)](){const _0x55a936=_0x3052da;this['_initContainer'](),this[_0x55a936(0x208)]();}[_0x3052da(0x1eb)](){const _0x16924f=_0x3052da;var _0x4e095f;const _0x58f607=(_0x4e095f=this[_0x16924f(0x224)][_0x16924f(0x279)](_0x21e49b))!=null?_0x4e095f:_0x4a63b5,_0xb3ccc2=document['getElementById'](_0x58f607);if(!_0xb3ccc2)return;const _0x83d90d=document[_0x16924f(0x21f)](_0x16924f(0x1c2));_0x83d90d['id']=_0x247451,_0x83d90d['dataset'][_0x16924f(0x267)]=_0x16924f(0x278),_0x83d90d[_0x16924f(0x206)]['position']=_0x16924f(0x1f1),_0x83d90d['style'][_0x16924f(0x1ad)]='0',_0x83d90d['style']['left']='0',_0x83d90d[_0x16924f(0x206)]['width']=_0x16924f(0x1af),_0x83d90d[_0x16924f(0x206)][_0x16924f(0x18d)]='100%',_0x83d90d[_0x16924f(0x206)][_0x16924f(0x236)]=_0x16924f(0x1cf),_0x83d90d[_0x16924f(0x206)][_0x16924f(0x16f)]=_0x16924f(0x233),_0xb3ccc2['appendChild'](_0x83d90d);}['_initPlugins'](){const _0x5c708e=_0x3052da;var _0x1b8c03,_0x26674c,_0x3cbe5f,_0x2f5059;[[_0x4f6180[_0x5c708e(0x209)]],[_0x2bb852[_0x5c708e(0x180)],{'container':_0x247451,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x2bb852['IDialogService'],null]]}],[_0x8c1dc6[_0x5c708e(0x222)]],[_0x3a8e3c[_0x5c708e(0x1c7)],{'override':[[_0x3a8e3c[_0x5c708e(0x204)],null]]}],[_0x407ef8['UniverDocsPlugin'],{'hasScroll':!0x1}],[_0x2ce8c1[_0x5c708e(0x18c)]],[_0x39edde[_0x5c708e(0x217)]],[_0x930cbc[_0x5c708e(0x232)],{'notExecuteFormula':!0x0}],[_0x4bc9f6['UniverSheetsUIPlugin']],[_0x4782dc[_0x5c708e(0x272)]],[_0x2e287d[_0x5c708e(0x24d)]],[_0x32f898['UniverCollaborationPlugin']],[_0x50a161[_0x5c708e(0x26d)]],[_0x19a88d[_0x5c708e(0x265)]],[_0x50fabb[_0x5c708e(0x21a)]],[_0x582bde[_0x5c708e(0x20d)]],[_0x1152b4[_0x5c708e(0x27b)]],[_0xfdbcd1[_0x5c708e(0x230)]],[_0x438ae9['UniverDataValidationPlugin']],[_0x603be3[_0x5c708e(0x1e9)]],[_0x1e72ec[_0x5c708e(0x240)]],[_0x4fcd92['UniverFormulaEnginePlugin'],{'notExecuteFormula':!0x0}],[_0x2e9265[_0x5c708e(0x192)],{'workerURL':(_0x26674c=(_0x1b8c03=this[_0x5c708e(0x224)][_0x5c708e(0x279)](_0x2e9265[_0x5c708e(0x1b9)]))==null?void 0x0:_0x1b8c03[_0x5c708e(0x241)])!=null?_0x26674c:_0x5c708e(0x231)}],[_0x3612a5[_0x5c708e(0x179)]],[_0x1bad43[_0x5c708e(0x1e1)]],[_0x1a1d2e['UniverSheetsDrawingUIPlugin']],[_0x9b0488['UniverSheetSparklinePlugin']],[_0x58c6d7[_0x5c708e(0x1ce)]],[_0x3db464['UniverSheetsChartPlugin']],[_0x12f3bc[_0x5c708e(0x24c)]],[_0x1e8f8e[_0x5c708e(0x1b1)],{'notExecuteFormula':!0x0}],[_0x2c0af4['UniverEditHistoryViewerPlugin'],{'historyListServerUrl':(_0x3cbe5f=this[_0x5c708e(0x224)][_0x5c708e(0x279)](_0x1dfc46))==null?void 0x0:_0x3cbe5f[_0x5c708e(0x175)],'historyPanelComponentKey':(_0x2f5059=this[_0x5c708e(0x224)][_0x5c708e(0x279)](_0x1dfc46))==null?void 0x0:_0x2f5059[_0x5c708e(0x219)]}]]['forEach'](([_0x3e47ec,_0x387a5a])=>this[_0x5c708e(0x1ba)](_0x3e47ec,_0x387a5a));}['dispose'](){const _0x284efd=_0x3052da;super['dispose'](),this['unMountHistoryContent'](),this[_0x284efd(0x255)][_0x284efd(0x186)]();}[_0x3052da(0x1ba)](_0x3fdd80,_0x3a0d62,_0x14f918){const _0x19c2de=_0x3052da;if(this[_0x19c2de(0x255)][_0x19c2de(0x213)](_0x3fdd80[_0x19c2de(0x1f8)])&&!_0x14f918)throw new Error(_0x19c2de(0x1dc)+_0x3fdd80[_0x19c2de(0x1f8)]+_0x19c2de(0x1d9));this['_pluginMap'][_0x19c2de(0x1ab)](_0x3fdd80[_0x19c2de(0x1f8)],[_0x3fdd80,_0x3a0d62]);}[_0x3052da(0x1ca)](){const _0x4a491f=_0x3052da;return Array[_0x4a491f(0x22e)](this[_0x4a491f(0x255)]['values']());}[_0x3052da(0x258)](_0x371096){const _0x1b088a=_0x3052da,_0x2699c7=document[_0x1b088a(0x25c)](_0x247451);_0x2699c7&&(_0x2699c7[_0x1b088a(0x206)]['display']='block',this[_0x1b088a(0x16d)](_0x371096,_0x247451));}[_0x3052da(0x237)](){const _0x2b8fac=_0x3052da;var _0x597cab;this[_0x2b8fac(0x26f)][_0x2b8fac(0x248)](),(_0x597cab=this[_0x2b8fac(0x177)])==null||_0x597cab[_0x2b8fac(0x248)](),this['_historyUniver$'][_0x2b8fac(0x163)](null);const _0xdf94db=document[_0x2b8fac(0x25c)](_0x247451);_0xdf94db&&(_0xdf94db[_0x2b8fac(0x206)][_0x2b8fac(0x16f)]='none');}[_0x3052da(0x16d)](_0x289265,_0x3e0cdc){const _0x56f8c6=_0x3052da;if(this['historyUniver'])return;const _0x32becb=new _0x475d02[(_0x56f8c6(0x19b))]({'locales':{[this[_0x56f8c6(0x200)]['getCurrentLocale']()]:this['_localeService'][_0x56f8c6(0x207)]()},'override':[[_0x475d02[_0x56f8c6(0x1fc)],{'useClass':_0x1cf877[_0x56f8c6(0x1fb)]}]]}),_0x13c50f=_0x32becb[_0x56f8c6(0x19e)]();this[_0x56f8c6(0x14f)](this[_0x56f8c6(0x202)][_0x56f8c6(0x1b7)]['subscribe'](_0x14ff84=>{const _0x17315a=_0x56f8c6;_0x13c50f[_0x17315a(0x19d)](_0x475d02[_0x17315a(0x1df)])['setDarkMode'](_0x14ff84);})),this[_0x56f8c6(0x14f)](this[_0x56f8c6(0x202)][_0x56f8c6(0x17e)]['subscribe'](_0x3ac30c=>{const _0x365513=_0x56f8c6;_0x13c50f['get'](_0x475d02[_0x365513(0x1df)])[_0x365513(0x16c)](_0x3ac30c);})),_0x13c50f[_0x56f8c6(0x19d)](_0x475d02[_0x56f8c6(0x1d1)])['setLocale'](this[_0x56f8c6(0x200)][_0x56f8c6(0x214)]()),_0x13c50f[_0x56f8c6(0x19d)](_0x475d02[_0x56f8c6(0x183)])[_0x56f8c6(0x1ae)](_0x1cf877[_0x56f8c6(0x23f)],this[_0x56f8c6(0x224)][_0x56f8c6(0x279)](_0x1cf877[_0x56f8c6(0x23f)]));const _0x26c552=this['_configService']['getConfig'](_0x3863a0['LS_CONFIG_KEY']);_0x26c552&&_0x32becb[_0x56f8c6(0x1ba)](_0x3863a0[_0x56f8c6(0x246)],{'license':_0x26c552['ls']}),this[_0x56f8c6(0x255)]['forEach'](([_0x5f43,_0x735cbc])=>{const _0x1535eb=_0x56f8c6;_0x32becb[_0x1535eb(0x1ba)](_0x5f43,_0x735cbc);}),_0x13c50f[_0x56f8c6(0x15c)](_0x5afb87=>{const _0x31fbf8=_0x56f8c6;this[_0x31fbf8(0x235)](_0x5afb87,_0x289265);}),this[_0x56f8c6(0x1fe)]['next'](_0x32becb);const _0x52c651=_0x13c50f[_0x56f8c6(0x19d)](_0x2c0af4['HistoryManagerService']),_0x16126e=this[_0x56f8c6(0x276)](_0x289265);_0x52c651[_0x56f8c6(0x184)](_0x289265,_0x3e0cdc,_0x16126e);}[_0x3052da(0x235)](_0x45a6d2,_0x47af37){const _0x291ce3=_0x3052da,_0x5e5979=_0x45a6d2[_0x291ce3(0x19d)](_0x2c0af4[_0x291ce3(0x1fd)]);this['_disposableCollection']['add'](_0x5e5979[_0x291ce3(0x275)][_0x291ce3(0x1cc)](_0x4bb976=>{const _0x1f2e32=_0x291ce3;switch(_0x4bb976){case _0x2c0af4['HistoryModeStatus'][_0x1f2e32(0x151)]:this[_0x1f2e32(0x162)][_0x1f2e32(0x1f2)](),this['_sidebarService']['close']();break;case _0x2c0af4[_0x1f2e32(0x1de)][_0x1f2e32(0x1b3)]:this[_0x1f2e32(0x187)]['executeCommand'](_0x3f33cc['id']),this[_0x1f2e32(0x237)]();break;case _0x2c0af4['HistoryModeStatus'][_0x1f2e32(0x247)]:this[_0x1f2e32(0x237)](),this[_0x1f2e32(0x1e8)][_0x1f2e32(0x18a)]({'content':this['_localeService']['t'](_0x1f2e32(0x20a)),'type':_0x3cfca2[_0x1f2e32(0x173)][_0x1f2e32(0x247)],'duration':0xbb8});break;}})),this[_0x291ce3(0x26f)][_0x291ce3(0x27a)](_0x5e5979[_0x291ce3(0x191)][_0x291ce3(0x1cc)](async _0x45bdd4=>{const _0x47657e=_0x291ce3;_0x45bdd4&&this[_0x47657e(0x187)][_0x47657e(0x228)](_0x32f898[_0x47657e(0x161)]['id'],{'unitId':_0x47af37,'revision':_0x45bdd4});}));}[_0x3052da(0x276)](_0x43df06){const _0x103e18=_0x3052da,_0x1708f7=this['_univerInstanceService'][_0x103e18(0x270)](_0x43df06)['getSheets']()[_0x103e18(0x1a4)](_0x26cf06=>_0x26cf06[_0x103e18(0x1e3)]()),_0x5d2ada=new _0x930cbc[(_0x103e18(0x1e2))](_0x43df06)['id'],_0x535c52=_0x1708f7[_0x103e18(0x1a4)](_0x1ad728=>new _0x930cbc[(_0x103e18(0x1a5))](_0x43df06,_0x1ad728)['id']),_0x573612=_0x1708f7[_0x103e18(0x1a4)](_0x5abb25=>this[_0x103e18(0x25e)][_0x103e18(0x155)](_0x43df06,_0x5abb25)[_0x103e18(0x1a4)](_0x47a3d4=>new _0x930cbc[(_0x103e18(0x22a))](_0x43df06,_0x5abb25,_0x47a3d4[_0x103e18(0x1f7)])['id']))[_0x103e18(0x1ef)](),_0x15f0df=new _0x930cbc[(_0x103e18(0x1dd))](_0x43df06)['id'];return this[_0x103e18(0x22b)][_0x103e18(0x20c)]([_0x5d2ada,..._0x535c52,..._0x573612,_0x15f0df])[_0x103e18(0x170)](_0x4b86d8=>!!_0x4b86d8[_0x103e18(0x171)]);}},_0x53c012['HistoryLoaderService']=_0x333dda([_0x467318(0x0,_0x475d02[_0x3052da(0x167)](_0x475d02[_0x3052da(0x1d1)])),_0x467318(0x1,_0x475d02['IUniverInstanceService']),_0x467318(0x2,_0x475d02[_0x3052da(0x183)]),_0x467318(0x3,_0x475d02[_0x3052da(0x27c)]),_0x467318(0x4,_0x2bb852[_0x3052da(0x1bc)]),_0x467318(0x5,_0x475d02[_0x3052da(0x242)]),_0x467318(0x6,_0x475d02[_0x3052da(0x167)](_0x930cbc['RangeProtectionRuleModel'])),_0x467318(0x7,_0x475d02[_0x3052da(0x167)](_0x2bb852[_0x3052da(0x194)])),_0x467318(0x8,_0x475d02[_0x3052da(0x167)](_0x2bb852[_0x3052da(0x1d8)])),_0x467318(0x9,_0x475d02['Inject'](_0x475d02[_0x3052da(0x1df)]))],_0x53c012[_0x3052da(0x1a7)]);const _0x4caa53={'id':'univer.operation.toggle-edit-history','type':_0x475d02['CommandType'][_0x3052da(0x1e5)],'handler':_0x3f2650=>{const _0x1a8f78=_0x3052da,_0x3c6f76=_0x3f2650[_0x1a8f78(0x19d)](_0x53c012[_0x1a8f78(0x1a7)]),_0x5baab=_0x3f2650[_0x1a8f78(0x19d)](_0x475d02[_0x1a8f78(0x1a9)]),{unitId:_0x54520a}=_0x930cbc[_0x1a8f78(0x190)](_0x5baab)||{};return _0x54520a?(_0x3c6f76[_0x1a8f78(0x258)](_0x54520a),!0x0):!0x1;}},_0x3f33cc={'id':'univer.operation.exit-edit-history','type':_0x475d02['CommandType'][_0x3052da(0x1e5)],'handler':()=>!0x0};function _0x28e719(_0x1d599c){const _0x19753d=_0x3052da;return{'id':_0x4caa53['id'],'type':_0x2bb852[_0x19753d(0x234)][_0x19753d(0x169)],'icon':_0x19753d(0x178),'tooltip':_0x19753d(0x1b8),'hidden$':_0x2bb852[_0x19753d(0x153)](_0x1d599c,_0x475d02[_0x19753d(0x22f)][_0x19753d(0x196)]),'disabled$':_0x4bc9f6[_0x19753d(0x166)](_0x1d599c,{'workbookTypes':[_0x930cbc[_0x19753d(0x1e2)],_0x930cbc[_0x19753d(0x1f4)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x4faab7={[_0x2bb852[_0x3052da(0x188)][_0x3052da(0x1e7)]]:{[_0x4caa53['id']]:{'order':0.2,'menuItemFactory':_0x28e719}}};var _0x3f6f0a=Object[_0x3052da(0x1d0)],_0x11a380=(_0x51cdc3,_0x2cca5c,_0x273fa8,_0x541ddb)=>{const _0x2358a7=_0x3052da;for(var _0x4830a5=_0x541ddb>0x1?void 0x0:_0x541ddb?_0x3f6f0a(_0x2cca5c,_0x273fa8):_0x2cca5c,_0x1e7080=_0x51cdc3[_0x2358a7(0x216)]-0x1,_0x5423db;_0x1e7080>=0x0;_0x1e7080--)(_0x5423db=_0x51cdc3[_0x1e7080])&&(_0x4830a5=_0x5423db(_0x4830a5)||_0x4830a5);return _0x4830a5;},_0x4e7ac7=(_0x5dfc8a,_0x108da4)=>(_0x2a65ec,_0x40dca4)=>_0x108da4(_0x2a65ec,_0x40dca4,_0x5dfc8a);let _0x10964c=class extends _0x475d02['RxDisposable']{constructor(_0x5d5418,_0xc0c28e,_0x243f75,_0xe80d65,_0x5e1bcb,_0x154fb2,_0x33b3f3,_0xa682d9){const _0x3af279=_0x3052da;super(),_0x42b0b1(this,_0x3af279(0x1b6),null),(this[_0x3af279(0x187)]=_0x5d5418,this[_0x3af279(0x156)]=_0xc0c28e,this[_0x3af279(0x23e)]=_0x243f75,this[_0x3af279(0x220)]=_0xe80d65,this[_0x3af279(0x200)]=_0x5e1bcb,this[_0x3af279(0x1e8)]=_0x154fb2,this[_0x3af279(0x24f)]=_0x33b3f3,this[_0x3af279(0x18e)]=_0xa682d9,this[_0x3af279(0x17d)]());}['_init'](){const _0x125659=_0x3052da;[_0x4caa53,_0x3f33cc]['forEach'](_0x4ef1c5=>this['disposeWithMe'](_0x475d02[_0x125659(0x1a0)](this[_0x125659(0x187)][_0x125659(0x253)](_0x4ef1c5)))),this[_0x125659(0x14f)](this[_0x125659(0x23e)][_0x125659(0x1ff)]('HistoryIcon',_0x3a613c)),this[_0x125659(0x156)]['mergeMenu'](_0x4faab7),this[_0x125659(0x14f)](this[_0x125659(0x187)]['onCommandExecuted'](_0x5182ec=>{const _0x14075e=_0x125659;if(_0x5182ec['id']===_0x32f898[_0x14075e(0x161)]['id']){this['_messageService'][_0x14075e(0x18a)]({'content':this[_0x14075e(0x200)]['t'](_0x14075e(0x159)),'type':_0x3cfca2[_0x14075e(0x173)]['Loading'],'duration':0x1388});const {unitId:_0x2591f4}=_0x5182ec[_0x14075e(0x1a3)],_0x4532f8=this[_0x14075e(0x24f)][_0x14075e(0x261)](_0x2591f4),_0x3267=_0x8f2277[_0x14075e(0x1b0)]([_0x4532f8[_0x14075e(0x1a1)][_0x14075e(0x259)],_0x4532f8[_0x14075e(0x158)]])[_0x14075e(0x1cc)](async([_0x85c900,_0x1c1a4d])=>{const _0x257e15=_0x14075e;var _0x538e85;_0x85c900[_0x257e15(0x199)]===_0x32f898[_0x257e15(0x273)][_0x257e15(0x17a)]&&(_0x1c1a4d==null?void 0x0:_0x1c1a4d[_0x257e15(0x20e)])===_0x1cf877[_0x257e15(0x1c5)][_0x257e15(0x1c0)]&&_0x85c900['data']['mutations'][_0x257e15(0x181)](_0x1c8a48=>_0x1c8a48['id']===_0x32f898[_0x257e15(0x161)]['id'])&&(this[_0x257e15(0x220)][_0x257e15(0x237)](),_0x3267[_0x257e15(0x221)](),this[_0x257e15(0x1b6)]&&clearTimeout(this[_0x257e15(0x1b6)]),await((_0x538e85=this[_0x257e15(0x18e)])==null?void 0x0:_0x538e85[_0x257e15(0x1cd)]()),setTimeout(()=>window[_0x257e15(0x23c)][_0x257e15(0x249)]()));});this[_0x14075e(0x1b6)]=setTimeout(()=>{const _0x345c7d=_0x14075e;_0x3267[_0x345c7d(0x221)](),this[_0x345c7d(0x1e8)]['show']({'content':this[_0x345c7d(0x200)]['t'](_0x345c7d(0x263)),'type':_0x3cfca2[_0x345c7d(0x173)]['Error'],'duration':0xbb8});},0x1388);}}));}};_0x10964c=_0x11a380([_0x4e7ac7(0x0,_0x475d02[_0x3052da(0x27c)]),_0x4e7ac7(0x1,_0x2bb852[_0x3052da(0x185)]),_0x4e7ac7(0x2,_0x475d02[_0x3052da(0x167)](_0x2bb852[_0x3052da(0x15d)])),_0x4e7ac7(0x3,_0x475d02[_0x3052da(0x167)](_0x53c012[_0x3052da(0x1a7)])),_0x4e7ac7(0x4,_0x475d02[_0x3052da(0x167)](_0x475d02[_0x3052da(0x1d1)])),_0x4e7ac7(0x5,_0x2bb852['IMessageService']),_0x4e7ac7(0x6,_0x475d02[_0x3052da(0x167)](_0x1cf877[_0x3052da(0x164)])),_0x4e7ac7(0x7,_0x1cf877[_0x3052da(0x1cb)])],_0x10964c);var _0x13b036=Object[_0x3052da(0x1d0)],_0x531bac=(_0x2611a3,_0x1de82a,_0x1bade1,_0x10d9ee)=>{const _0x100b10=_0x3052da;for(var _0x19fa59=_0x10d9ee>0x1?void 0x0:_0x10d9ee?_0x13b036(_0x1de82a,_0x1bade1):_0x1de82a,_0x88098f=_0x2611a3[_0x100b10(0x216)]-0x1,_0x5c327c;_0x88098f>=0x0;_0x88098f--)(_0x5c327c=_0x2611a3[_0x88098f])&&(_0x19fa59=_0x5c327c(_0x19fa59)||_0x19fa59);return _0x19fa59;},_0x54c2e3=(_0x2d53fa,_0x49245e)=>(_0x25eaf6,_0x23a47b)=>_0x49245e(_0x25eaf6,_0x23a47b,_0x2d53fa);const _0x44ff31='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';_0x53c012['UniverEditHistoryLoaderPlugin']=(_0x21bcdb=class extends _0x475d02[_0x3052da(0x160)]{constructor(_0x4e7462=_0xab6f60,_0x28c382,_0x5d9f3d){const _0x5dc84e=_0x3052da;super(),this['_config']=_0x4e7462,this['_injector']=_0x28c382,this[_0x5dc84e(0x224)]=_0x5d9f3d;const {menu:_0x4f8436,..._0x2d7f08}=_0x475d02[_0x5dc84e(0x1b2)]({},_0xab6f60,this[_0x5dc84e(0x21c)]);_0x4f8436&&this[_0x5dc84e(0x224)][_0x5dc84e(0x1ae)](_0x5dc84e(0x243),_0x4f8436,{'merge':!0x0}),this[_0x5dc84e(0x224)][_0x5dc84e(0x1ae)](_0x1dfc46,_0x2d7f08),this[_0x5dc84e(0x21c)]['univerContainerId']&&this[_0x5dc84e(0x224)][_0x5dc84e(0x1ae)](_0x21e49b,this[_0x5dc84e(0x21c)][_0x5dc84e(0x218)]);}[_0x3052da(0x1bf)](){const _0x540947=_0x3052da;[[_0x53c012[_0x540947(0x1a7)]],[_0x10964c]][_0x540947(0x26c)](_0x4856e2=>this[_0x540947(0x25d)][_0x540947(0x27a)](_0x4856e2));}['onSteady'](){const _0x499eb5=_0x3052da;this[_0x499eb5(0x25d)][_0x499eb5(0x19d)](_0x10964c);}},_0x42b0b1(_0x21bcdb,'type',_0x475d02[_0x3052da(0x22f)][_0x3052da(0x14e)]),_0x42b0b1(_0x21bcdb,_0x3052da(0x1f8),_0x44ff31),_0x21bcdb),_0x53c012['UniverEditHistoryLoaderPlugin']=_0x531bac([_0x54c2e3(0x1,_0x475d02['Inject'](_0x475d02['Injector'])),_0x54c2e3(0x2,_0x475d02[_0x3052da(0x183)])],_0x53c012['UniverEditHistoryLoaderPlugin']),_0x53c012[_0x3052da(0x195)]=_0x21e49b,_0x53c012[_0x3052da(0x268)]=_0x247451,Object[_0x3052da(0x277)](_0x53c012,Symbol[_0x3052da(0x165)],{'value':_0x3052da(0x1c1)});}));function _0x5582(_0x1b1d56,_0x1e7e64){_0x1b1d56=_0x1b1d56-0x14d;const _0xb232b4=_0xb232();let _0x5582f9=_0xb232b4[_0x1b1d56];return _0x5582f9;}function _0xb232(){const _0xcfb5c4=['[HistoryLoaderService]:\x20Plugin\x20','WorkbookRecoverHistoryPermission','HistoryModeStatus','ThemeService','attrs','UniverSheetsDrawingPlugin','WorkbookEditablePermission','getSheetId','@univerjs/sheets-hyper-link','OPERATION','262665leOMZM','OTHERS','_messageService','UniverSheetsDataValidationPlugin','UniverUi','_initContainer','UniverProSheetsSparklineUi','asObservable','displayName','flat','49055utgRJO','absolute','closeAll','amd','WorkbookViewHistoryPermission','@univerjs-pro/sheets-pivot','UniverCore','permissionId','pluginName','UniverSheetsHyperLinkUi','UniverSheetsFormula','AuthzIoHttpService','IAuthzIoService','HistoryManagerService','_historyUniver$','register','_localeService','UniverIcon','_themeService','UniverDataValidation','IImageIoService','UNIVER_CONTAINER_ID','style','getLocales','_initPlugins','UniverRenderEnginePlugin','editHistory.panel.listFetchError','@univerjs/sheets-conditional-formatting','composePermission','UniverSheetsConditionalFormattingUIPlugin','status','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','@univerjs/sheets-drawing','UniverDrawingUi','random','has','getCurrentLocale','@univerjs-pro/sheets-chart','length','UniverSheetsNumfmtPlugin','univerContainerId','historyPanelComponentKey','UniverSheetsConditionalFormattingPlugin','23424cquItv','_config','defs','rxjs','createElement','_historyManagerService','unsubscribe','UniverNetworkPlugin','3484360jFJGBL','_configService','clipPath','UniverEngineFormula','currentColor','executeCommand','@univerjs-pro/edit-history-viewer','RangeProtectionPermissionEditPoint','_permissionService','@univerjs/sheets-ui','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','from','UniverInstanceType','UniverSheetsHyperLinkUIPlugin','./worker.js','UniverSheetsPlugin','none','MenuItemType','_initListener','zIndex','unMountHistoryContent','UniverSheetsDataValidationUi','@univerjs/docs-ui','UniverSheetsDrawing','svg','location','UniverNetwork','_componentManager','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverSheetsDataValidationUIPlugin','workerURL','IPermissionService','menu','@univerjs-pro/sheets-sparkline-ui','UniverProEditHistoryLoader','UniverLicensePlugin','Error','dispose','reload','92370wCzXdm','UniverProSheetsPivot','UniverSheetsChartUIPlugin','UniverSheetsFormulaUIPlugin','exports','_collaborationController','UniverSheetsConditionalFormatting','entries','object','registerCommand','@univerjs/sheets-numfmt','_pluginMap','@univerjs/sheets-hyper-link-ui','assign','mountHistoryContent','event$','422263CLbQiA','Disposable','getElementById','_injector','_selectionProtectionRuleModel','@univerjs/sheets-filter','@univerjs/sheets-data-validation','getCollabEntity','UniverSheetsFilterUi','editHistory.panel.revertFailed','toString','UniverSheetsFilterUIPlugin','@univerjs/engine-render','uComp','UNIVER_HISTORY_CONTAINER_ID','@univerjs/ui','@univerjs/sheets-filter-ui','UniverSheetsHyperLink','forEach','UniverSheetsFilterPlugin','xlink:href','_disposableCollection','getUnit','url(#$1','UniverSheetsFormulaPlugin','CollaborationEvent','colorChannel1','status$','_checkCanRevert','defineProperty','history-container','getConfig','add','UniverSheetsHyperLinkPlugin','ICommandService','idSuffix','children','UNIVER_UNKNOWN','disposeWithMe','fill','Entered','1em','getMenuHiddenObservable','univer-history-container','getSubunitRuleList','_menuManagerService','56HKDUmx','state$','editHistory.panel.reverting','21XXhHyY','@univerjs-pro/license','invoke','ComponentManager','@univerjs/docs','@univerjs/engine-formula','Plugin','RevertRevisionMutation','_dialogService','next','CollaborationController','toStringTag','getCurrentRangeDisable$','Inject','react','BUTTON','use','UniverDesign','setTheme','_initUniver','UniverSheetsFormulaUi','display','every','value','@univerjs/sheets-drawing-ui','MessageType','path','historyListServerUrl','url(#history-icon_clip0_907_281)','historyUniver','HistoryIcon','UniverDrawingUIPlugin','CHANGESET_ACK','historyUniver$','univer-container','_init','currentTheme$','history-icon','UniverUIPlugin','some','UniverProSheetsSparkline','IConfigService','triggerLoadVersions','IMenuManagerService','clear','_commandService','RibbonStartGroup','UniverDocs','show','@univerjs/sheets-formula','UniverDocsUIPlugin','height','_localCacheService','trim','getSheetCommandTarget','revertRevision$','UniverRPCMainThreadPlugin','BehaviorSubject','IDialogService','UNIVER_CONTAINER_ID_KEY','UNIVER_SHEET','replace','@univerjs/data-validation','eventID','UniverProSheetsChart','Univer','white','get','__getInjector','mask','toDisposable','session','1049532RHEnvP','params','map','WorksheetEditPermission','UniverEngineRender','HistoryLoaderService','tag','IUniverInstanceService','@univerjs/design','set','history-icon_clip0_907_281','top','setConfig','100%','combineLatest','UniverSheetsPivotTablePlugin','merge','Exited','UniverSheetsFilter','@univerjs-pro/collaboration','_revertErrorTimer','darkMode$','editHistory.panel.title','PLUGIN_CONFIG_KEY_MAIN_THREAD','registerPlugin','@univerjs-pro/sheets-sparkline','IMessageService','UniverSheetsUi','UniverSheetsDataValidation','onStarting','SYNCED','Module','div','@univerjs-pro/collaboration-client','UniverProCollaboration','CollaborationStatus','@univerjs/sheets-data-validation-ui','UniverDrawingPlugin','@univerjs-pro/sheets-chart-ui','React','getAllPlugins','ILocalCacheService','subscribe','exhaustSavingTask','UniverSheetSparklineUIPlugin','1000','getOwnPropertyDescriptor','LocaleService','_univerInstanceService','UniverRpc','string','edit-history-loader.config','UniverSheets','M0\x200H16V16H0z','ISidebarService','\x20has\x20been\x20registered.','forwardRef','20NEIOYS'];_0xb232=function(){return _0xcfb5c4;};return _0xb232();}
21
21
 
22
22
  // index
23
23
  (function(e,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/edit-history-loader"),require("@univerjs-pro/collaboration-client/lib/facade"),require("@univerjs-pro/collaboration-client-ui/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/edit-history-loader","@univerjs-pro/collaboration-client/lib/facade","@univerjs-pro/collaboration-client-ui/lib/facade"],o):(e=typeof globalThis<"u"?globalThis:e||self,o(e.UniverPresetSheetsCollaboration={},e.UniverProCollaboration,e.UniverProCollaborationClient,e.UniverProCollaborationClientUi,e.UniverProEditHistoryLoader))})(this,(function(e,o,l,t,a){"use strict";function s(n){const i=new URL(n,window.location.origin);switch(i.protocol){case"https:":i.protocol="wss:";break;case"http:":i.protocol="ws:";break}return i.toString()}function u(n={}){const{universerEndpoint:i,univerContainerId:c="app",enableOfflineEditing:p=!0,enableSingleActiveInstanceLock:v=!0}=n,r=i!=null?i:`${window.location.protocol}//${window.location.host}`;return{plugins:[o.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:p,enableSingleActiveInstanceLock:v,enableAuthServer:!0,authzUrl:`${r}/universer-api/authz`,snapshotServerUrl:`${r}/universer-api/snapshot`,collabSubmitChangesetUrl:`${r}/universer-api/comb`,collabWebSocketUrl:s(`${r}/universer-api/comb/connect`),loginUrlKey:`${r}/universer-api/oidc/authpage`,uploadFileServerUrl:`${r}/universer-api/stream/file/upload`,signUrlServerUrl:`${r}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${r}/`,wsSessionTicketUrl:`${r}/universer-api/user/session-ticket`,sendChangesetTimeout:200}],[t.UniverCollaborationClientUIPlugin,{}],[a.UniverEditHistoryLoaderPlugin,{univerContainerId:c,historyListServerUrl:`${r}/universer-api/history`}]]}}e.UniverSheetsCollaborationPreset=u,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));