@univerjs-pro/collaboration-client 0.12.1 → 0.12.2-nightly.202511241159
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/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x368389=_0x4f24;(function(_0x4ea2ca,_0x5abd03){var _0x47abaf=_0x4f24,_0x203c87=_0x4ea2ca();while(!![]){try{var _0x20a1fd=parseInt(_0x47abaf(0x2e6))/0x1*(parseInt(_0x47abaf(0x381))/0x2)+-parseInt(_0x47abaf(0x21f))/0x3*(-parseInt(_0x47abaf(0x9e))/0x4)+parseInt(_0x47abaf(0x38c))/0x5*(parseInt(_0x47abaf(0x190))/0x6)+parseInt(_0x47abaf(0x10d))/0x7+parseInt(_0x47abaf(0x32b))/0x8+-parseInt(_0x47abaf(0x23d))/0x9+-parseInt(_0x47abaf(0xc7))/0xa*(parseInt(_0x47abaf(0x1a1))/0xb);if(_0x20a1fd===_0x5abd03)break;else _0x203c87['push'](_0x203c87['shift']());}catch(_0x3d716a){_0x203c87['push'](_0x203c87['shift']());}}}(_0x111c,0x1a728));var bi=Object[_0x368389(0x33b)],Di=(_0x12ab9d,_0x270306,_0x3e18df)=>_0x270306 in _0x12ab9d?bi(_0x12ab9d,_0x270306,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e18df}):_0x12ab9d[_0x270306]=_0x3e18df,D=(_0x3acd42,_0x4b8f62,_0x17bb76)=>Di(_0x3acd42,typeof _0x4b8f62!=_0x368389(0x217)?_0x4b8f62+'':_0x4b8f62,_0x17bb76);import{CollaborationEvent as _0x19843e,ITransformService as _0x1a3cad,isTransformMutationsWithChangesetSuccess as _0x3810cf,mapDocumentTypeToUniverType as _0x12e6b9,RevisionService as _0x5d15d6,isTransformChangesetsSuccess as _0x507863,EmptyMutationInfo as _0x3e2d35,CompressMutationService as _0x367c0f,parseProtocolChangeset as _0x352403,uuidv4 as _0x41b51c,ISnapshotServerService as _0x2a795b,parseChangesetToProtocol as _0x739362,SnapshotService as _0x1ade95,textEncoder as _0x24eebc,b64DecodeUnicode as _0x5d1ad2,isTransformMutationsWithChangesetFailure as _0x552004,UniverCollaborationPlugin as _0x68aeb2}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x558d3e,Inject as _0x3ce8f0,UserManagerService as _0x1315c0,Disposable as _0x1b9234,UniverInstanceType as _0x16572b,ILogService as _0x21f6c3,IConfigService as _0x3c30e0,Optional as _0x5c10ac,RxDisposable as _0x4eb61d,createIdentifier as _0xb11ef5,Injector as _0x277f78,Tools as _0x15f9b5,Rectangle as _0x33de4c,ICommandService as _0xcdf754,JSONX as _0x577726,IUndoRedoService as _0x32ded1,IPermissionService as _0x301d19,LocaleService as _0x3ebb61,sequenceExecute as _0x13344a,toDisposable as _0x58dc5a,CommandType as _0x5181b7,DisposableCollection as _0x488b39,Workbook as _0x40ade1,generateRandomId as _0x87143,MentionType as _0x1511b4,isInternalEditorID as _0x42bc4b,LocalUndoRedoService as _0x1d0657,IContextService as _0x5a3e4b,DependentOn as _0x24b67e,Plugin as _0x2f1d50,merge as _0x1a1e7e,mergeOverrideWithDependencies as _0x1cd7a9,IAuthzIoService as _0x5dc2a1,IMentionIOService as _0x5bb5bb,registerDependencies as _0x3d202f,Quantity as _0x167b6f,touchDependencies as _0x4de415}from'@univerjs/core';import{RichTextEditingMutation as _0x62620b}from'@univerjs/docs';import{SheetsSelectionsService as _0x555de9,SetSelectionsOperation as _0x4d8a1e,InsertSheetMutation as _0x20bdb2,WorkbookEditablePermission as _0x25ba97,SheetPermissionInitController as _0x50c58a}from'@univerjs/sheets';import{Subject as _0x7c3fbd,merge as _0x1ca221,of as _0x1da45a,BehaviorSubject as _0x1593ab,takeUntil as _0x204187,ReplaySubject as _0x531cf8,take as _0x4ebc57,map as _0x418f83,shareReplay as _0xc52802,firstValueFrom as _0x449e39,concatMap as _0xc62b48}from'rxjs';import{ITelemetryService as _0x44b81a}from'@univerjs/telemetry';import{map as _0x1b47e7,take as _0x1d30d3,filter as _0x21e8b1,delay as _0x59b9d5,takeUntil as _0x3edeee}from'rxjs/operators';import{HTTPService as _0x5dc9e9,ISocketService as _0x4c7d58,MergeInterceptorFactory as _0x42bfc0,HTTPRequest as _0x29f0e3,UniverNetworkPlugin as _0x1350ad,ThresholdInterceptorFactory as _0x12399c}from'@univerjs/network';import{ImageSourceType as _0x122f39,ImageUploadStatusType as _0x4f409a,IImageIoService as _0xb996fd}from'@univerjs/drawing';import{getGlobalObject as _0x293dc2}from'@univerjs-pro/license';const fs=_0x368389(0x2d9),vs=_0x368389(0x11e),ps=0x7d0,Es=_0x368389(0x297),Sr='/universer-api/user/session-ticket',ms=_0x368389(0x32e),Is=0x7530,di=_0x368389(0x193),fi=0x4e20,Ss=0x4e20,gs='RETRY_CONNECTING_MAX_COUNT',Ts=0x3,gr=_0x368389(0x184),Tr=0x3e8,Os='/universer-api/comb',Rs=_0x368389(0x2dd),Or=_0x368389(0x1e5),Rr='/universer-api/uniscript';var vi=(_0x4ec84e=>(_0x4ec84e[_0x4ec84e[_0x368389(0x363)]=0x0]=_0x368389(0x363),_0x4ec84e[_0x4ec84e['OK']=0x1]='OK',_0x4ec84e[_0x4ec84e[_0x368389(0x333)]=0x2]='INTERNAL_ERROR',_0x4ec84e[_0x4ec84e[_0x368389(0x213)]=0x3]='PERMISSION_DENIED',_0x4ec84e[_0x4ec84e[_0x368389(0x1b2)]=0x4]=_0x368389(0x1b2),_0x4ec84e[_0x4ec84e['UNAUTHENTICATED']=0x5]=_0x368389(0x28b),_0x4ec84e[_0x4ec84e[_0x368389(0x1c4)]=0x6]=_0x368389(0x1c4),_0x4ec84e[_0x4ec84e['INVALID_ARGUMENT']=0x7]=_0x368389(0x1ef),_0x4ec84e[_0x4ec84e['TOO_MANY_REQUESTS']=0x8]=_0x368389(0x330),_0x4ec84e[_0x4ec84e[_0x368389(0x39b)]=0x9]='COMPLETION_FINISHED',_0x4ec84e[_0x4ec84e['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x4ec84e[_0x4ec84e[_0x368389(0x1e3)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x4ec84e[_0x4ec84e[_0x368389(0x119)]=0xc]=_0x368389(0x119),_0x4ec84e[_0x4ec84e[_0x368389(0x372)]=0xd]=_0x368389(0x372),_0x4ec84e[_0x4ec84e[_0x368389(0x1a2)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4ec84e[_0x4ec84e[_0x368389(0x391)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x4ec84e[_0x4ec84e[_0x368389(0x1ec)]=0x10]=_0x368389(0x1ec),_0x4ec84e[_0x4ec84e[_0x368389(0x33d)]=0x64]=_0x368389(0x33d),_0x4ec84e[_0x4ec84e[_0x368389(0x2a7)]=0x65]=_0x368389(0x2a7),_0x4ec84e[_0x4ec84e[_0x368389(0x2a9)]=0xc9]=_0x368389(0x2a9),_0x4ec84e[_0x4ec84e[_0x368389(0xff)]=0xca]='USER_IS_ANONYMOUS',_0x4ec84e[_0x4ec84e[_0x368389(0x17b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4ec84e[_0x4ec84e[_0x368389(0x25b)]=0x1771]=_0x368389(0x25b),_0x4ec84e[_0x4ec84e[_0x368389(0x1c0)]=0x1772]=_0x368389(0x1c0),_0x4ec84e[_0x4ec84e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x368389(0x240),_0x4ec84e[_0x4ec84e['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x4ec84e[_0x4ec84e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4ec84e[_0x4ec84e[_0x368389(0x1b6)]=0x1b5b]=_0x368389(0x1b6),_0x4ec84e[_0x4ec84e['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x368389(0xb3),_0x4ec84e[_0x4ec84e['APPLY_DUPLICATED']=0x1b5d]=_0x368389(0x346),_0x4ec84e[_0x4ec84e[_0x368389(0x231)]=0x1f41]=_0x368389(0x231),_0x4ec84e[_0x4ec84e[_0x368389(0x241)]=0x2329]=_0x368389(0x241),_0x4ec84e[_0x4ec84e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x368389(0x111),_0x4ec84e[_0x4ec84e[_0x368389(0x99)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4ec84e[_0x4ec84e[_0x368389(0xfd)]=0x232c]=_0x368389(0xfd),_0x4ec84e[_0x4ec84e['LICENSE_DISTRO_REJECTED']=0x232d]=_0x368389(0x15c),_0x4ec84e[_0x4ec84e['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x368389(0x290),_0x4ec84e[_0x4ec84e[_0x368389(0x21b)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4ec84e[_0x4ec84e[_0x368389(0x222)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4ec84e[_0x4ec84e[_0x368389(0x206)]=0x2714]=_0x368389(0x206),_0x4ec84e[_0x4ec84e[_0x368389(0x376)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4ec84e[_0x4ec84e[_0x368389(0x34f)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4ec84e[_0x4ec84e['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x368389(0x123),_0x4ec84e[_0x4ec84e['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x368389(0x2ea),_0x4ec84e[_0x4ec84e[_0x368389(0x1ee)]=0x271e]=_0x368389(0x1ee),_0x4ec84e[_0x4ec84e[_0x368389(0x220)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x4ec84e[_0x4ec84e['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x368389(0x36f),_0x4ec84e[_0x4ec84e['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x368389(0x253),_0x4ec84e[_0x4ec84e['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x368389(0x25a),_0x4ec84e[_0x4ec84e['INVALID_INVITE_CODE']=0x2ee2]=_0x368389(0x30d),_0x4ec84e[_0x4ec84e['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x4ec84e[_0x4ec84e['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x4ec84e[_0x4ec84e['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4ec84e[_0x4ec84e[_0x368389(0x324)]=0x32c9]=_0x368389(0x324),_0x4ec84e[_0x4ec84e[_0x368389(0x1d1)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x4ec84e[_0x4ec84e[_0x368389(0x318)]=0x32cb]=_0x368389(0x318),_0x4ec84e[_0x4ec84e[_0x368389(0x2a0)]=0x36b1]=_0x368389(0x2a0),_0x4ec84e[_0x4ec84e['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x368389(0x2b5),_0x4ec84e[_0x4ec84e[_0x368389(0x378)]=0x36b3]=_0x368389(0x378),_0x4ec84e[_0x4ec84e['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x368389(0xce),_0x4ec84e[_0x4ec84e['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x368389(0x97),_0x4ec84e[_0x4ec84e[_0x368389(0x2e2)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x4ec84e[_0x4ec84e[_0x368389(0x1aa)]=0x3717]=_0x368389(0x1aa),_0x4ec84e[_0x4ec84e['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x368389(0x17c),_0x4ec84e[_0x4ec84e[_0x368389(0x17d)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x4ec84e[_0x4ec84e[_0x368389(0x165)]=0x3a9a]=_0x368389(0x165),_0x4ec84e[_0x4ec84e[_0x368389(0x331)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x4ec84e[_0x4ec84e[_0x368389(0x18a)]=0x3a9c]=_0x368389(0x18a),_0x4ec84e[_0x4ec84e[_0x368389(0x21a)]=0x3a9d]=_0x368389(0x21a),_0x4ec84e[_0x4ec84e[_0x368389(0x2e7)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x4ec84e[_0x4ec84e[_0x368389(0x145)]=0x3a9f]=_0x368389(0x145),_0x4ec84e[_0x4ec84e['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x368389(0xcd),_0x4ec84e[_0x4ec84e['UNRECOGNIZED']=-0x1]=_0x368389(0x365),_0x4ec84e))(vi||{}),Q=(_0x8df6d0=>(_0x8df6d0[_0x8df6d0['UNIVER_UNKNOWN']=0x0]=_0x368389(0x31a),_0x8df6d0[_0x8df6d0[_0x368389(0x36a)]=0x1]=_0x368389(0x36a),_0x8df6d0[_0x8df6d0['UNIVER_SHEET']=0x2]=_0x368389(0x305),_0x8df6d0[_0x8df6d0[_0x368389(0x23e)]=0x3]='UNIVER_SLIDE',_0x8df6d0[_0x8df6d0[_0x368389(0x22a)]=0x4]=_0x368389(0x22a),_0x8df6d0[_0x8df6d0[_0x368389(0x365)]=-0x1]=_0x368389(0x365),_0x8df6d0))(Q||{}),j=(_0x31f4c2=>(_0x31f4c2[_0x31f4c2[_0x368389(0x2b6)]=0x0]=_0x368389(0x2b6),_0x31f4c2[_0x31f4c2[_0x368389(0x1cb)]=0x1]=_0x368389(0x1cb),_0x31f4c2[_0x31f4c2[_0x368389(0x171)]=0x2]=_0x368389(0x171),_0x31f4c2[_0x31f4c2[_0x368389(0x105)]=0x3]=_0x368389(0x105),_0x31f4c2[_0x31f4c2[_0x368389(0x15f)]=0x4]=_0x368389(0x15f),_0x31f4c2[_0x31f4c2[_0x368389(0x2ba)]=0x5]=_0x368389(0x2ba),_0x31f4c2[_0x31f4c2[_0x368389(0x1f8)]=0x6]='RECV',_0x31f4c2[_0x31f4c2[_0x368389(0x365)]=-0x1]=_0x368389(0x365),_0x31f4c2))(j||{}),pe=(_0xbc8553=>(_0xbc8553[_0xbc8553[_0x368389(0x133)]=0x0]='UNKNOWN_CODE',_0xbc8553[_0xbc8553['OK']=0x1]='OK',_0xbc8553[_0xbc8553[_0x368389(0x195)]=0x2]=_0x368389(0x195),_0xbc8553[_0xbc8553[_0x368389(0x1ba)]=0x3e9]=_0x368389(0x1ba),_0xbc8553[_0xbc8553[_0x368389(0xfb)]=0x3ea]=_0x368389(0xfb),_0xbc8553[_0xbc8553[_0x368389(0x22b)]=0x3eb]=_0x368389(0x22b),_0xbc8553[_0xbc8553['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x368389(0x31f),_0xbc8553[_0xbc8553[_0x368389(0x365)]=-0x1]=_0x368389(0x365),_0xbc8553))(pe||{}),pi=(_0x3a2651=>(_0x3a2651[_0x3a2651[_0x368389(0x25c)]=0x0]=_0x368389(0x25c),_0x3a2651[_0x3a2651[_0x368389(0xda)]=0x1]=_0x368389(0xda),_0x3a2651[_0x3a2651[_0x368389(0x112)]=0x2]=_0x368389(0x112),_0x3a2651[_0x3a2651['UnitEmbedded']=0x3]=_0x368389(0x15d),_0x3a2651[_0x3a2651[_0x368389(0x29c)]=0x4]=_0x368389(0x29c),_0x3a2651[_0x3a2651['UserProfileImg']=0x5]=_0x368389(0x272),_0x3a2651[_0x3a2651['ClipsheetFragments']=0x6]=_0x368389(0x202),_0x3a2651[_0x3a2651['UNRECOGNIZED']=-0x1]=_0x368389(0x365),_0x3a2651))(pi||{});const Cs=_0x368389(0x379);function Ns(_0x257256){var _0x2183e7=_0x368389;return JSON[_0x2183e7(0x2bd)](_0x257256)[_0x2183e7(0x3b7)];}var re=(_0x20e787=>(_0x20e787[_0x368389(0x1a0)]='OTHER_CLIENT_EDITING',_0x20e787[_0x368389(0x213)]='PERMISSION_DENIED',_0x20e787[_0x368389(0x2ab)]=_0x368389(0x2ab),_0x20e787[_0x368389(0x225)]=_0x368389(0x225),_0x20e787['JOIN_ROOM_FAILED']=_0x368389(0x149),_0x20e787[_0x368389(0x22e)]=_0x368389(0x22e),_0x20e787[_0x368389(0x23f)]=_0x368389(0x23f),_0x20e787[_0x368389(0x3a8)]=_0x368389(0x3a8),_0x20e787))(re||{});class ve{constructor(){var _0x1fbdc9=_0x368389;D(this,'_event$',new _0x7c3fbd()),D(this,'event$',this['_event$'][_0x1fbdc9(0x166)]());}[_0x368389(0x3b6)](_0x4f8ee7){this['_event$']['next'](_0x4f8ee7);}}class Ei{constructor(){var _0xb7528a=_0x368389;D(this,_0xb7528a(0x243),new _0x7c3fbd()),D(this,_0xb7528a(0x259),this[_0xb7528a(0x243)][_0xb7528a(0x166)]());}[_0x368389(0x1ca)](_0x2ed2b7){var _0x1fcb10=_0x368389;this[_0x1fcb10(0x243)][_0x1fcb10(0x29b)](_0x2ed2b7);}}var bs=Object[_0x368389(0x284)],Ds=(_0x440010,_0xec7958,_0x4b43ed,_0x465c8d)=>{var _0x261de5=_0x368389;for(var _0x510f6e=_0x465c8d>0x1?void 0x0:_0x465c8d?bs(_0xec7958,_0x4b43ed):_0xec7958,_0x4e2bf8=_0x440010[_0x261de5(0x3b7)]-0x1,_0x41e3c3;_0x4e2bf8>=0x0;_0x4e2bf8--)(_0x41e3c3=_0x440010[_0x4e2bf8])&&(_0x510f6e=_0x41e3c3(_0x510f6e)||_0x510f6e);return _0x510f6e;},Ft=(_0x4231c2,_0x3910bc)=>(_0x52899b,_0x5c319a)=>_0x3910bc(_0x52899b,_0x5c319a,_0x4231c2);let Pe=class extends _0x1b9234{constructor(_0x1b60a0,_0x381fa9){var _0x407cd3=_0x368389;super(),D(this,_0x407cd3(0x1a6),new Map()),D(this,_0x407cd3(0x158),new _0x7c3fbd()),(this[_0x407cd3(0x14b)]=_0x1b60a0,this[_0x407cd3(0x2dc)]=_0x381fa9,this['disposeWithMe'](_0x1ca221(this['_univerInstanceService'][_0x407cd3(0xb5)](_0x16572b['UNIVER_SHEET'])['pipe'](_0x1b47e7(_0x3d9078=>_0x3d9078[_0x407cd3(0x22c)]())),this['_univerInstanceService'][_0x407cd3(0xb5)](_0x16572b[_0x407cd3(0x36a)])[_0x407cd3(0x279)](_0x1b47e7(_0x1913cb=>_0x1913cb[_0x407cd3(0x22c)]())),this[_0x407cd3(0x14b)]['getTypeOfUnitDisposed$'](_0x16572b[_0x407cd3(0x23e)])[_0x407cd3(0x279)](_0x1b47e7(_0x1a86e0=>_0x1a86e0[_0x407cd3(0x22c)]())))[_0x407cd3(0x116)](_0xd9499=>this[_0x407cd3(0x2f3)](_0xd9499))));}[_0x368389(0x156)](_0x5de9ad){var _0xe778f4=_0x368389;return this[_0xe778f4(0x1a6)][_0xe778f4(0x274)](_0x5de9ad)?_0x1da45a(this[_0xe778f4(0x1a6)][_0xe778f4(0x187)](_0x5de9ad)):this[_0xe778f4(0x158)]['pipe'](_0x1b47e7(_0x144b36=>{var _0x2e8cf7=_0xe778f4;if(_0x144b36===_0x5de9ad)return this[_0x2e8cf7(0x1a6)][_0x2e8cf7(0x187)](_0x144b36);}));}['setCurrentUser'](_0x44e31a){var _0x39439f=_0x368389;this['_userManagerService'][_0x39439f(0x2da)](_0x44e31a);}[_0x368389(0x230)](){var _0x325b8a=_0x368389;return this[_0x325b8a(0x2dc)][_0x325b8a(0x230)]();}[_0x368389(0x348)](_0xed1ea9,_0x521b8e){var _0x5d5925=_0x368389;let _0x49682a=this[_0x5d5925(0x1a6)][_0x5d5925(0x187)](_0xed1ea9);_0x49682a||(_0x49682a=new ys(),this[_0x5d5925(0x1a6)][_0x5d5925(0x3ac)](_0xed1ea9,_0x49682a),this[_0x5d5925(0x158)][_0x5d5925(0x29b)](_0xed1ea9)),_0x49682a[_0x5d5925(0x348)](_0x521b8e);}[_0x368389(0x3a0)](_0x235ddf,_0x5814d6){var _0x56c6a2=_0x368389;const _0x164197=this[_0x56c6a2(0x1a6)][_0x56c6a2(0x187)](_0x235ddf);_0x164197&&_0x164197[_0x56c6a2(0x3a0)](_0x5814d6);}[_0x368389(0x286)](_0x24d3fa){var _0x35cdbd=_0x368389;return this[_0x35cdbd(0x1a6)][_0x35cdbd(0x187)](_0x24d3fa);}['getMember'](_0x5395bc,_0x2b2cab){var _0xe28708=_0x368389;const _0x4d9349=this['_roomMembers'][_0xe28708(0x187)](_0x5395bc);if(_0x4d9349)return _0x4d9349[_0xe28708(0x16f)](_0x2b2cab);}[_0x368389(0x2f3)](_0x35fca6){var _0x1e0363=_0x368389;const _0x448e7f=this[_0x1e0363(0x1a6)][_0x1e0363(0x187)](_0x35fca6);_0x448e7f&&(_0x448e7f[_0x1e0363(0xc9)](),this[_0x1e0363(0x1a6)][_0x1e0363(0x298)](_0x35fca6));}[_0x368389(0xc9)](){var _0xba3b6a=_0x368389;this[_0xba3b6a(0x1a6)][_0xba3b6a(0x20e)](_0x1a536b=>_0x1a536b[_0xba3b6a(0xc9)]()),this[_0xba3b6a(0x1a6)][_0xba3b6a(0x183)](),this['_roomCreated$'][_0xba3b6a(0x355)]();}};Pe=Ds([Ft(0x0,_0x558d3e),Ft(0x1,_0x3ce8f0(_0x1315c0))],Pe);class ys extends _0x1b9234{constructor(){var _0x21a1b3=_0x368389;super(...arguments),D(this,_0x21a1b3(0x2d6),new Map()),D(this,_0x21a1b3(0xb2),new _0x1593ab(this[_0x21a1b3(0x2d6)])),D(this,'members$',this[_0x21a1b3(0xb2)][_0x21a1b3(0x166)]());}[_0x368389(0xc9)](){var _0x4a533c=_0x368389;this['_members'][_0x4a533c(0x183)]();}['updateMember'](_0xc73e14){var _0x21d34b=_0x368389;this['_members']['set'](_0xc73e14[_0x21d34b(0x2f0)],_0xc73e14),this['_emitMembers']();}[_0x368389(0x3a0)](_0x39df72){var _0x1cf620=_0x368389;this[_0x1cf620(0x2d6)][_0x1cf620(0x298)](_0x39df72);}[_0x368389(0x16f)](_0x1a14a3){var _0x177997=_0x368389;return this[_0x177997(0x2d6)][_0x177997(0x187)](_0x1a14a3);}[_0x368389(0xf9)](){var _0x35c797=_0x368389;return Array[_0x35c797(0x26c)](this[_0x35c797(0x2d6)][_0x35c797(0x38e)]());}['_emitMembers'](){var _0x131fde=_0x368389;this[_0x131fde(0xb2)]['next'](this['_members']);}}var Us=Object[_0x368389(0x284)],As=(_0x64764f,_0x1e433b,_0x773d5b,_0x314f06)=>{var _0x2698a7=_0x368389;for(var _0x8069e3=_0x314f06>0x1?void 0x0:_0x314f06?Us(_0x1e433b,_0x773d5b):_0x1e433b,_0x58b18d=_0x64764f[_0x2698a7(0x3b7)]-0x1,_0x17d31f;_0x58b18d>=0x0;_0x58b18d--)(_0x17d31f=_0x64764f[_0x58b18d])&&(_0x8069e3=_0x17d31f(_0x8069e3)||_0x8069e3);return _0x8069e3;},Oe=(_0xbac8c1,_0x766a14)=>(_0x1bcfef,_0x7ce26c)=>_0x766a14(_0x1bcfef,_0x7ce26c,_0xbac8c1),me=(_0x254823=>(_0x254823[_0x254823[_0x368389(0x2aa)]=0x0]=_0x368389(0x2aa),_0x254823[_0x254823['JOINING']=0x1]=_0x368389(0xb0),_0x254823[_0x254823[_0x368389(0x10a)]=0x2]=_0x368389(0x10a),_0x254823[_0x254823[_0x368389(0x17a)]=0x3]=_0x368389(0x17a),_0x254823))(me||{});const jt={[pe['FAIL']]:_0x368389(0x1b7),[pe[_0x368389(0x1ba)]]:_0x368389(0xf5),[pe[_0x368389(0xfb)]]:_0x368389(0x352),[pe[_0x368389(0x22b)]]:_0x368389(0x292),[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x368389(0x35a)};let mt=class extends _0x4eb61d{constructor(_0x57f5cc,_0x570bf2,_0x5eee06,_0x578edc,_0x1d2276,_0x95e21f,_0x19dff8,_0x5094b0){var _0x3b36c7=_0x368389;super(),D(this,_0x3b36c7(0x236),new _0x1593ab(0x0)),D(this,_0x3b36c7(0x350),this[_0x3b36c7(0x236)]['asObservable']()),D(this,'_event$',new _0x7c3fbd()),D(this,'event$',this['_event$'][_0x3b36c7(0x166)]()),D(this,'_socket'),D(this,_0x3b36c7(0x221)),D(this,_0x3b36c7(0xe9)),D(this,'_shouldReportTelemetry',!0x1),D(this,_0x3b36c7(0x20b),null),(this[_0x3b36c7(0x1e9)]=_0x57f5cc,this[_0x3b36c7(0x12b)]=_0x5eee06,this[_0x3b36c7(0xb8)]=_0x578edc,this[_0x3b36c7(0x366)]=_0x1d2276,this['_commentService']=_0x95e21f,this[_0x3b36c7(0x367)]=_0x19dff8,this[_0x3b36c7(0x1cd)]=_0x5094b0,this[_0x3b36c7(0x362)]=!!this[_0x3b36c7(0x1cd)],_0x570bf2[_0x3b36c7(0x279)](_0x204187(this['dispose$']))[_0x3b36c7(0x116)](_0x4208b7=>{var _0x20eec7=_0x3b36c7,_0x14e824;typeof _0x4208b7>'u'||(this['_socket']=_0x4208b7,_0x4208b7?(this[_0x20eec7(0x94)](_0x4208b7),this[_0x20eec7(0x221)]=_0x4208b7[_0x20eec7(0x357)]['subscribe'](_0x576665=>{var _0x1f1fd8=_0x20eec7;_0x576665['routeKey']===this[_0x1f1fd8(0x1e9)]&&this[_0x1f1fd8(0x31b)](_0x576665);})):(this[_0x20eec7(0x316)](),this['_sessionStatus$']['next'](0x2),(_0x14e824=this['_socketMessageSubscription'])==null||_0x14e824[_0x20eec7(0x2a2)](),this[_0x20eec7(0x221)]=null));}));}get[_0x368389(0x2de)](){var _0x2858c0=_0x368389;return this[_0x2858c0(0x236)][_0x2858c0(0x275)]();}[_0x368389(0x370)](){var _0x254933=_0x368389,_0x190733,_0x7707f2;return(_0x7707f2=(_0x190733=this[_0x254933(0x31e)])==null?void 0x0:_0x190733[_0x254933(0x2f0)])!=null?_0x7707f2:null;}[_0x368389(0xc9)](){var _0x4a65e8=_0x368389;super['dispose'](),this[_0x4a65e8(0x29d)][_0x4a65e8(0x29b)](),this[_0x4a65e8(0x29d)]['complete']();}['close'](){var _0x4fe96a=_0x368389,_0x234071,_0xa0d953;this[_0x4fe96a(0x316)](),(_0x234071=this[_0x4fe96a(0x31e)])==null||_0x234071[_0x4fe96a(0x1bb)]({'cmd':j[_0x4fe96a(0x105)],'data':{'roomID':this['_unitID']}}),(_0xa0d953=this[_0x4fe96a(0x31e)])==null||_0xa0d953[_0x4fe96a(0x24b)](),this[_0x4fe96a(0x179)][_0x4fe96a(0x355)](),this[_0x4fe96a(0x236)][_0x4fe96a(0x355)](),this[_0x4fe96a(0xc9)]();}[_0x368389(0x31b)](_0x5a8c6e){var _0x1aca0b=_0x368389;_0x5a8c6e[_0x1aca0b(0x14d)]===j[_0x1aca0b(0x171)]?this['_onJoinRoomEvent'](_0x5a8c6e):_0x5a8c6e[_0x1aca0b(0x14d)]===j[_0x1aca0b(0x1f8)]&&this[_0x1aca0b(0x1a9)](_0x5a8c6e);}[_0x368389(0x94)](_0xcd29fe){var _0x52ba44=_0x368389;this[_0x52ba44(0x236)][_0x52ba44(0x29b)](0x1),_0xcd29fe['send']({'cmd':j[_0x52ba44(0x171)],'routeKey':this[_0x52ba44(0x1e9)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x368389(0x1f6)](_0x3e0caf){var _0x3dc9dc=_0x368389,_0x32c6f6;if(_0x3e0caf[_0x3dc9dc(0xa3)]in jt){this[_0x3dc9dc(0x367)][_0x3dc9dc(0x3b6)]({'id':re[_0x3dc9dc(0x149)],'data':jt[_0x3e0caf[_0x3dc9dc(0xa3)]]}),this[_0x3dc9dc(0x236)]['next'](0x2);return;}this[_0x3dc9dc(0x236)]['next'](0x3);const _0x4c1814=(_0x32c6f6=_0x3e0caf[_0x3dc9dc(0x389)][_0x3dc9dc(0x135)][this['_unitID']])==null?void 0x0:_0x32c6f6['members'];_0x4c1814&&_0x4c1814[_0x3dc9dc(0x20e)](_0x1d2544=>this['_memberService'][_0x3dc9dc(0x348)](this[_0x3dc9dc(0x1e9)],_0x1d2544));}['_onRecvEvent'](_0x487635){var _0x1b0285=_0x368389;try{const _0x467987=_0x487635['data'];switch(_0x467987['eventID']){case _0x19843e[_0x1b0285(0x16e)]:this[_0x1b0285(0x304)](_0x467987),this[_0x1b0285(0x179)][_0x1b0285(0x29b)](_0x467987);break;case _0x19843e['USERS_LEAVE']:this[_0x1b0285(0x2ec)](_0x467987),this[_0x1b0285(0x179)][_0x1b0285(0x29b)](_0x467987);break;case _0x19843e[_0x1b0285(0x1fe)]:case _0x19843e[_0x1b0285(0x2bb)]:this[_0x1b0285(0x35b)](),this[_0x1b0285(0x29e)](),this['_event$'][_0x1b0285(0x29b)](_0x467987);break;case _0x19843e[_0x1b0285(0x1b3)]:this[_0x1b0285(0x12b)][_0x1b0285(0x201)](_0x1b0285(0x344)+JSON[_0x1b0285(0x2bd)](_0x467987)),this[_0x1b0285(0x179)][_0x1b0285(0x29b)](_0x467987);break;case _0x19843e[_0x1b0285(0x16a)]:this[_0x1b0285(0x209)]['onCommentUpdate'](_0x467987[_0x1b0285(0x389)]),this['_event$'][_0x1b0285(0x29b)](_0x467987);break;default:this[_0x1b0285(0x179)][_0x1b0285(0x29b)](_0x467987);}}catch(_0xbe71ca){this['_logService'][_0x1b0285(0x201)](_0xbe71ca,_0x487635);}}[_0x368389(0x304)](_0x246550){var _0x4c2d35=_0x368389;this['_memberService']['updateMember'](this[_0x4c2d35(0x1e9)],_0x246550['data']);}[_0x368389(0x2ec)](_0x4bce85){var _0x19e309=_0x368389;this[_0x19e309(0x366)][_0x19e309(0x3a0)](this[_0x19e309(0x1e9)],_0x4bce85['data'][_0x19e309(0x2f0)]);}async[_0x368389(0x1bb)](_0x389b2e,_0x5954e8){var _0x340dc8=_0x368389;if(this[_0x340dc8(0x2de)]!==0x3||!this[_0x340dc8(0x31e)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x389b2e[_0x340dc8(0x159)]===_0x19843e[_0x340dc8(0x1a8)]&&(this[_0x340dc8(0x266)](),this['_startTelemetryCollaborationNewChangeset'](_0x389b2e)),this[_0x340dc8(0x31e)][_0x340dc8(0x1bb)]({'cmd':j['INGEST'],'routeKey':_0x5954e8,'routeType':'','data':_0x389b2e});}catch(_0x1f247c){this['_logService']['error'](_0x1f247c);}}[_0x368389(0x266)](){var _0x26c3d1=_0x368389,_0x489235;this[_0x26c3d1(0xe9)]=setTimeout(()=>{var _0x2b73e0=_0x26c3d1;this['_collaborationTimeoutTimer']=null,this[_0x2b73e0(0x367)][_0x2b73e0(0x3b6)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x489235=this[_0x26c3d1(0xb8)][_0x26c3d1(0x19b)](di))!=null?_0x489235:fi);}['_clearCollaborationTimeoutTimer'](){var _0x72d15e=_0x368389;this[_0x72d15e(0xe9)]&&(clearTimeout(this[_0x72d15e(0xe9)]),this['_collaborationTimeoutTimer']=null);}[_0x368389(0xc6)](_0x3ba888){var _0x4228ca=_0x368389;if(!this['_shouldReportTelemetry'])return;const {data:_0x34c833}=_0x3ba888,{unitID:_0x9a4447,changeset:_0x81bade}=_0x34c833,{mutations:_0x1f75f2,type:_0x71e5e6}=_0x81bade;this[_0x4228ca(0x20b)]={'unitId':_0x9a4447,'type':_0x71e5e6,'startTime':performance[_0x4228ca(0xd6)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x1f75f2)};}[_0x368389(0x35b)](){var _0x2575c0=_0x368389;if(this['_shouldReportTelemetry']){if(!this[_0x2575c0(0x20b)]){this[_0x2575c0(0x12b)]['error']('[CollaborationSession]',_0x2575c0(0x2d3));return;}this[_0x2575c0(0x20b)][_0x2575c0(0xc5)]=performance[_0x2575c0(0xd6)](),this[_0x2575c0(0x20b)][_0x2575c0(0x131)]=this[_0x2575c0(0x20b)][_0x2575c0(0xc5)]-this[_0x2575c0(0x20b)]['startTime'],this['_telemetryService'][_0x2575c0(0xe7)](Cs,this[_0x2575c0(0x20b)]),this[_0x2575c0(0x20b)]=null;}}[_0x368389(0x316)](){var _0x5aef6d=_0x368389;this[_0x5aef6d(0x20b)]=null;}};mt=As([Oe(0x2,_0x21f6c3),Oe(0x3,_0x3c30e0),Oe(0x4,_0x3ce8f0(Pe)),Oe(0x5,_0x3ce8f0(Ei)),Oe(0x6,_0x3ce8f0(ve)),Oe(0x7,_0x5c10ac(_0x44b81a))],mt);const J=_0xb11ef5(_0x368389(0x364));function Cr(_0x24c476){var _0x3e5d11=_0x368389;return _0x3e5d11(0xc2)+_0x24c476;}var Ps=Object[_0x368389(0x284)],ws=(_0x4a5bde,_0x24ba66,_0x2fb71c,_0x33000d)=>{for(var _0x5bfd2f=_0x33000d>0x1?void 0x0:_0x33000d?Ps(_0x24ba66,_0x2fb71c):_0x24ba66,_0x2dbe10=_0x4a5bde['length']-0x1,_0x37470a;_0x2dbe10>=0x0;_0x2dbe10--)(_0x37470a=_0x4a5bde[_0x2dbe10])&&(_0x5bfd2f=_0x37470a(_0x5bfd2f)||_0x5bfd2f);return _0x5bfd2f;},ut=(_0x3d6c22,_0x41d7b0)=>(_0x488a6f,_0x3f125b)=>_0x41d7b0(_0x488a6f,_0x3f125b,_0x3d6c22);function Ms(_0x285e62){var _0x3ead8c=_0x368389;const {unitID:_0x4778e6,mutations:_0x998b0c}=_0x285e62;return{'unitId':_0x4778e6,'subUnitId':_0x998b0c[_0x3ead8c(0x3b7)]>0x0?_0x998b0c[0x0][_0x3ead8c(0x180)]['subUnitId']:null};}let it=class{constructor(_0x58d597,_0x26dbe7,_0x3fbbdf){var _0x5d6197=_0x368389;this[_0x5d6197(0x39e)]=_0x58d597,this[_0x5d6197(0x12c)]=_0x26dbe7,this[_0x5d6197(0x20a)]=_0x3fbbdf;}[_0x368389(0x13b)](_0x3506bb){var _0x2a7812=_0x368389,_0x1c8c3b,_0x8cef81,_0x1819d6,_0x90f45f;const _0x458de9=this[_0x2a7812(0x39e)][_0x2a7812(0x187)](_0x555de9),{unitId:_0x2ddc86,subUnitId:_0x109720}=Ms(_0x3506bb),_0x2a34df=_0x458de9==null?void 0x0:_0x458de9[_0x2a7812(0x19f)](_0x2ddc86)[_0x2a7812(0x109)](),_0x34d9f6=(_0x8cef81=(_0x1c8c3b=this['_instanceService'][_0x2a7812(0x26e)](_0x2ddc86))==null?void 0x0:_0x1c8c3b[_0x2a7812(0x349)]())==null?void 0x0:_0x8cef81[_0x2a7812(0x14e)]();if(_0x2a34df['length']===0x0||!_0x2ddc86||!_0x109720)return;const _0x4ee5cb=[{'id':_0x4d8a1e['id'],'params':{'unitId':_0x2ddc86,'subUnitId':_0x34d9f6,'selections':_0x15f9b5[_0x2a7812(0xf1)](_0x2a34df)}}],_0x3eed5e=this[_0x2a7812(0x12c)][_0x2a7812(0x36e)](_0x3506bb,_0x4ee5cb);if(!_0x3810cf(_0x3eed5e))throw _0x3eed5e[_0x2a7812(0x201)];const _0x4e776c=(_0x90f45f=(_0x1819d6=_0x3eed5e[_0x2a7812(0x155)][0x0])==null?void 0x0:_0x1819d6[_0x2a7812(0x180)])==null?void 0x0:_0x90f45f['selections'];if(Array['isArray'](_0x4e776c)&&_0x4e776c[_0x2a7812(0x3b7)]){if(_0x4e776c['length']===_0x4ee5cb[0x0]['params'][_0x2a7812(0x338)]['length']&&_0x4e776c[_0x2a7812(0x2f6)]((_0x54eb4a,_0x51ae5c)=>_0x33de4c[_0x2a7812(0x1bd)](_0x54eb4a['range'],_0x4ee5cb[0x0][_0x2a7812(0x180)]['selections'][_0x51ae5c]['range'])))return;this['_injector'][_0x2a7812(0x187)](_0xcdf754)[_0x2a7812(0x1d8)](_0x4d8a1e['id'],{'unitId':_0x2ddc86,'subUnitId':_0x34d9f6,'selections':_0x4e776c});}}};it=ws([ut(0x0,_0x3ce8f0(_0x277f78)),ut(0x1,_0x1a3cad),ut(0x2,_0x558d3e)],it);const _t=_0xb11ef5(_0x368389(0x264));var mi=(_0x101f92=>(_0x101f92[_0x101f92[_0x368389(0x2fa)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x101f92[_0x101f92[_0x368389(0x2be)]=0x1]=_0x368389(0x2be),_0x101f92))(mi||{});const K=_0x368389(0xb9),Ls={},xs=new Set([_0x20bdb2['id']]);function Vt(_0x1592f3,_0x7d78a8,_0x5b5210,_0x343664,_0x12bd13){var _0x401818=_0x368389,_0x20eb4f,_0x40a8a0,_0x5dd363,_0x4a7392;const _0x52b76b=[];for(const _0x444cec of _0x1592f3)if(xs[_0x401818(0x274)](_0x444cec['id'])){if(_0x52b76b[_0x401818(0x3b7)]>0x0)break;_0x52b76b[_0x401818(0x291)](_0x444cec);break;}else _0x52b76b[_0x401818(0x291)](_0x444cec);const _0x842fad=(_0x40a8a0=(_0x20eb4f=_0x12bd13[_0x401818(0x230)]())==null?void 0x0:_0x20eb4f['userID'])!=null?_0x40a8a0:_0x401818(0x2f9),_0x41fabc=(_0x4a7392=(_0x5dd363=_0x12bd13[_0x401818(0x230)]())==null?void 0x0:_0x5dd363[_0x401818(0x2f0)])!=null?_0x4a7392:'unknown';return{'changeset':{'unitID':_0x7d78a8,'type':_0x12e6b9(_0x5b5210[_0x401818(0x1b9)](_0x7d78a8)),'baseRev':_0x343664[_0x401818(0x32a)](_0x7d78a8),'revision':0x0,'userID':_0x842fad,'memberID':_0x41fabc,'mutations':_0x52b76b},'pendingMutations':_0x1592f3['slice'](_0x52b76b[_0x401818(0x3b7)])};}function ks(_0x27bb6f,_0x1ad892,_0x2d689c,_0x48f675,_0x35fee3){var _0x310b80=_0x368389,_0x5824b8,_0x311466,_0x5dc37e,_0x19a419;const _0x4cabbd=[_0x27bb6f[_0x310b80(0x194)]((_0x5bb9c3,_0x12a6c7)=>{var _0x2346b8=_0x310b80,_0x4a5298;const {id:_0x5b04a2}=_0x5bb9c3,{id:_0x2a1397,type:_0x3d90b8}=_0x12a6c7,_0x252cb1=(_0x4a5298=_0x5bb9c3[_0x2346b8(0x180)])!=null?_0x4a5298:{'actions':null},_0x74dc37=_0x12a6c7[_0x2346b8(0x180)];if(_0x5b04a2&&_0x5b04a2!==_0x2a1397)throw new Error(_0x2346b8(0x25d)+_0x5b04a2+'\x20-\x20'+_0x2a1397+'.');return{..._0x5bb9c3,'id':_0x2a1397,'type':_0x3d90b8,'params':{'unitId':_0x74dc37[_0x2346b8(0x32d)],'textRanges':_0x74dc37[_0x2346b8(0x29f)],'actions':_0x577726[_0x2346b8(0x3bc)](_0x252cb1[_0x2346b8(0x385)],_0x74dc37[_0x2346b8(0x385)])}};},{})],_0x19c5a7=(_0x311466=(_0x5824b8=_0x35fee3[_0x310b80(0x230)]())==null?void 0x0:_0x5824b8[_0x310b80(0x101)])!=null?_0x311466:_0x310b80(0x2f9),_0x58c182=(_0x19a419=(_0x5dc37e=_0x35fee3[_0x310b80(0x230)]())==null?void 0x0:_0x5dc37e[_0x310b80(0x2f0)])!=null?_0x19a419:_0x310b80(0x2f9);return{'changeset':{'unitID':_0x1ad892,'type':_0x12e6b9(_0x2d689c['getUnitType'](_0x1ad892)),'baseRev':_0x48f675[_0x310b80(0x32a)](_0x1ad892),'revision':0x0,'userID':_0x19c5a7,'memberID':_0x58c182,'mutations':_0x4cabbd},'pendingMutations':[]};}function Ii(_0x4d3010,_0x3395ea){var _0x166e34=_0x368389;const _0x5a7de1=new _0x531cf8(0x1);return setTimeout(()=>_0x5a7de1[_0x166e34(0x29b)](_0x3395ea),_0x4d3010),_0x5a7de1[_0x166e34(0x166)]()[_0x166e34(0x279)](_0x4ebc57(0x1));}var $s=Object[_0x368389(0x284)],Se=(_0x2ad258,_0x275a39,_0x1c202a,_0x4588f9)=>{var _0x39a7f8=_0x368389;for(var _0x372d25=_0x4588f9>0x1?void 0x0:_0x4588f9?$s(_0x275a39,_0x1c202a):_0x275a39,_0x26929b=_0x2ad258[_0x39a7f8(0x3b7)]-0x1,_0x2b306f;_0x26929b>=0x0;_0x26929b--)(_0x2b306f=_0x2ad258[_0x26929b])&&(_0x372d25=_0x2b306f(_0x372d25)||_0x372d25);return _0x372d25;},w=(_0x1afa98,_0x428468)=>(_0x41f542,_0x2daf3a)=>_0x428468(_0x41f542,_0x2daf3a,_0x1afa98),Si=(_0x200653=>(_0x200653['NOT_COLLAB']=_0x368389(0x1bf),_0x200653[_0x368389(0x13f)]=_0x368389(0xdf),_0x200653[_0x368389(0x261)]=_0x368389(0x314),_0x200653[_0x368389(0x341)]=_0x368389(0x13d),_0x200653[_0x368389(0x103)]=_0x368389(0x3ae),_0x200653[_0x368389(0xe3)]=_0x368389(0x1de),_0x200653['CONFLICT']='conflict',_0x200653['OFFLINE']=_0x368389(0x146),_0x200653))(Si||{});const gi=0xea60;class ge{constructor(_0x5102e8,_0x5b838c,_0x13e572,_0x414819,_0x4ec2d1,_0x1e4c8e,_0x19b341,_0x57281b,_0x49221c){var _0x232025=_0x368389;D(this,_0x232025(0x1d4),null),D(this,_0x232025(0x380),[]),(this[_0x232025(0x1b5)]=_0x5102e8,this[_0x232025(0xf0)]=_0x5b838c,this[_0x232025(0x17e)]=_0x4ec2d1,this['_commandService']=_0x1e4c8e,this[_0x232025(0x2eb)]=_0x19b341,this[_0x232025(0x125)]=_0x57281b,this[_0x232025(0x307)]=_0x49221c,this[_0x232025(0x1d4)]=_0x13e572,this[_0x232025(0x380)]=_0x414819);}[_0x368389(0x306)](_0x62b144){var _0x155146=_0x368389;const _0x4dde04=this[_0x155146(0x125)]['getCurrentRevOfUnit'](this['unitID']);return _0x62b144[_0x155146(0x1fb)]>_0x4dde04+0x1?(this[_0x155146(0x17e)][_0x155146(0x1f7)]({'from':_0x4dde04,'to':_0x62b144[_0x155146(0x1fb)]-0x1}),!0x0):!0x1;}[_0x368389(0x11b)](_0x21237c){var _0xeeef4d=_0x368389;this['_undoRedoService'][_0xeeef4d(0x178)](this[_0xeeef4d(0x1b5)],_0x21237c);}[_0x368389(0x268)](_0x5908d2){var _0x1dd988=_0x368389,_0x345b45,_0x463828;(_0x463828=(_0x345b45=this['_handler'])[_0x1dd988(0x319)])==null||_0x463828[_0x1dd988(0xf4)](_0x345b45,_0x5908d2);}[_0x368389(0x263)](_0x3b13b6){var _0x194172=_0x368389,_0x4d313c,_0x3bc47c;return(_0x3bc47c=(_0x4d313c=this['_handler'])[_0x194172(0x265)])==null?void 0x0:_0x3bc47c[_0x194172(0xf4)](_0x4d313c,_0x3b13b6);}[_0x368389(0x122)](_0x39a241){var _0x2caf24=_0x368389,_0x16ba70,_0x53c063;return(_0x53c063=(_0x16ba70=this[_0x2caf24(0x17e)])['onTransformState'])==null?void 0x0:_0x53c063[_0x2caf24(0xf4)](_0x16ba70,_0x39a241);}[_0x368389(0x107)](_0x339ea2){var _0x123b3d=_0x368389,_0x445b2b,_0x4e6786,_0x5aff45;return(_0x5aff45=(_0x4e6786=(_0x445b2b=this[_0x123b3d(0x17e)])[_0x123b3d(0x276)])==null?void 0x0:_0x4e6786[_0x123b3d(0xf4)](_0x445b2b,_0x339ea2))!=null?_0x5aff45:_0x339ea2;}[_0x368389(0x92)](_0xe5dc90){var _0x2f8a02=_0x368389,_0x109638,_0x4a45ea,_0x83afbb;return(_0x83afbb=(_0x4a45ea=(_0x109638=this[_0x2f8a02(0x17e)])[_0x2f8a02(0x192)])==null?void 0x0:_0x4a45ea['call'](_0x109638,_0xe5dc90))!=null?_0x83afbb:_0xe5dc90;}[_0x368389(0xa6)](_0xba9067){var _0x23d1fd=_0x368389,_0x478bad,_0x4a0e61;if(this[_0x23d1fd(0xf0)]===Q[_0x23d1fd(0x36a)]){const {unitID:_0x522dc6,mutations:_0x399beb,memberID:_0xafa0ef}=_0xba9067,_0x2b3701=_0x399beb[_0x23d1fd(0x3b7)]>0x0?_0x399beb[0x0][_0x23d1fd(0x180)][_0x23d1fd(0x29f)]:[];Array[_0x23d1fd(0x281)](_0x2b3701)&&_0x2b3701['length']>0x0&&((_0x4a0e61=(_0x478bad=this[_0x23d1fd(0x17e)])[_0x23d1fd(0xb1)])==null||_0x4a0e61[_0x23d1fd(0xf4)](_0x478bad,{'unitID':_0x522dc6,'memberID':_0xafa0ef,'textRanges':_0x2b3701}));}}[_0x368389(0x361)](){var _0x57b772=_0x368389,_0x3c2e5b;(_0x3c2e5b=this[_0x57b772(0x307)])==null||_0x3c2e5b[_0x57b772(0x9c)](this[_0x57b772(0x1b5)],this[_0x57b772(0xf0)],this[_0x57b772(0x1d4)],this[_0x57b772(0x380)]);}[_0x368389(0x2f5)](){var _0x51e427=_0x368389;return this[_0x51e427(0x125)][_0x51e427(0x32a)](this[_0x51e427(0x1b5)]);}[_0x368389(0x136)](){var _0x1a26e3=_0x368389;this[_0x1a26e3(0x125)]['incrementRevOfUnit'](this[_0x1a26e3(0x1b5)]);}[_0x368389(0x3ba)](_0x5bca21){var _0x2a0181=_0x368389,_0x4c32f1;let _0x46d889=this[_0x2a0181(0x107)](_0x5bca21);_0x46d889=this[_0x2a0181(0x92)](_0x46d889);const _0x11c325=_0x13344a(_0x46d889[_0x2a0181(0x162)],this[_0x2a0181(0x2d5)],{'fromCollab':!0x0});if(!_0x11c325[_0x2a0181(0x3bb)])throw _0x11c325[_0x2a0181(0x201)]instanceof Error?_0x11c325[_0x2a0181(0x201)]:new Error((_0x4c32f1=_0x11c325[_0x2a0181(0x201)])!=null?_0x4c32f1:_0x2a0181(0x207));this[_0x2a0181(0x263)](_0x46d889),this[_0x2a0181(0x122)](_0x46d889),this[_0x2a0181(0x11b)](_0x5bca21),this['_transformSelections'](_0x46d889),this['_syncEditingCollabCursor'](_0x46d889),this[_0x2a0181(0x136)]();}}let be=class extends ge{constructor(_0x28fa7f,_0x581095,_0x58b595,_0xa21c17,_0x144426,_0x514d8a,_0x14fe14,_0x43addb,_0x4a875b,_0x4e4351){var _0x32d2ed=_0x368389;super(_0x28fa7f,_0x581095,null,[],_0x58b595,_0x14fe14,_0x514d8a,_0xa21c17,_0x4e4351),D(this,'status','synced'),(this[_0x32d2ed(0x39e)]=_0x144426,this[_0x32d2ed(0x12b)]=_0x43addb,this[_0x32d2ed(0x12c)]=_0x4a875b,this[_0x32d2ed(0x269)]=_0x4e4351);}[_0x368389(0xbb)](_0x9bbc14){var _0x2011c8=_0x368389;const _0x46689d=this[_0x2011c8(0x39e)][_0x2011c8(0x37c)](ae,this[_0x2011c8(0x1b5)],this['type'],[_0x9bbc14],this[_0x2011c8(0x17e)]);return _0x46689d['_schedule'](),_0x46689d['_updateLocalCache'](),_0x46689d;}[_0x368389(0x2cd)](_0x3a9a94){var _0x55438e=_0x368389;if(this['_checkMissing'](_0x3a9a94))return this[_0x55438e(0x39e)][_0x55438e(0x37c)](ee,this[_0x55438e(0x1b5)],this[_0x55438e(0xf0)],null,[],null,[_0x3a9a94],this[_0x55438e(0x17e)]);try{const _0x2477f6=this[_0x55438e(0x12c)][_0x55438e(0x36e)](_0x3a9a94,[_0x3e2d35]);if(_0x3810cf(_0x2477f6)){const {c1Prime:_0x2feaca}=_0x2477f6;return this[_0x55438e(0x3ba)](_0x2feaca),this;}throw _0x2477f6['error'];}catch(_0x28e105){return this[_0x55438e(0x12b)][_0x55438e(0x201)](_0x28e105),this[_0x55438e(0x1da)](!0x1);}}[_0x368389(0x1da)](_0x405230){var _0x4d7ce7=_0x368389;return this[_0x4d7ce7(0x39e)]['createInstance'](ue,this['unitID'],this[_0x4d7ce7(0xf0)],null,[],this[_0x4d7ce7(0x17e)],_0x405230);}[_0x368389(0x19e)](){var _0x374dcd=_0x368389;throw new Error(_0x374dcd(0x157));}['onRemoteRej'](){var _0x398e8d=_0x368389;throw new Error(_0x398e8d(0x323));}[_0x368389(0x1df)](){return this;}[_0x368389(0x3a9)](){var _0x49abfa=_0x368389;return this[_0x49abfa(0x39e)][_0x49abfa(0x37c)](de,this['unitID'],this[_0x49abfa(0xf0)],null,[],this[_0x49abfa(0x17e)]);}['toggleOnline'](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x368389(0x211)](){var _0x3a5ff4=_0x368389;const _0x2a525d=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return this[_0x3a5ff4(0x17e)][_0x3a5ff4(0x1f7)]({'from':_0x2a525d,'to':0x0}),this[_0x3a5ff4(0x39e)]['createInstance'](ee,this[_0x3a5ff4(0x1b5)],this[_0x3a5ff4(0xf0)],null,[],null,[],this[_0x3a5ff4(0x17e)]);}};be=Se([w(0x3,_0x3ce8f0(_0x5d15d6)),w(0x4,_0x3ce8f0(_0x277f78)),w(0x5,_0x32ded1),w(0x6,_0xcdf754),w(0x7,_0x21f6c3),w(0x8,_0x1a3cad),w(0x9,_0x5c10ac(J))],be);let ae=class extends ge{constructor(_0x3fbeaf,_0x15f9dc,_0x591edb,_0x4887ee,_0x3715fa,_0x2df3a6,_0x26fde9,_0x850dc3,_0x8b4c1b,_0x42a905,_0x55c04e,_0x50f8a0,_0x472009,_0x26d868){var _0x138aaf=_0x368389;super(_0x3fbeaf,_0x15f9dc,null,_0x591edb,_0x4887ee,_0x8b4c1b,_0x472009,_0x2df3a6,_0x26d868),D(this,_0x138aaf(0x9d),_0x138aaf(0x314)),D(this,'_scheduleCompleteTimestamp',null),D(this,'_sendingTimer',null),(this['_injector']=_0x3715fa,this[_0x138aaf(0x366)]=_0x26fde9,this[_0x138aaf(0x12b)]=_0x850dc3,this[_0x138aaf(0xb8)]=_0x42a905,this[_0x138aaf(0x12c)]=_0x55c04e,this['_univerInstanceService']=_0x50f8a0);}['appendMutation'](_0x23a736){var _0x3287ee=_0x368389;return this[_0x3287ee(0x380)][_0x3287ee(0x291)](_0x23a736),this['_updateLocalCache'](),this;}[_0x368389(0x2cd)](_0x4ec078){var _0x1c87a8=_0x368389;if(this[_0x1c87a8(0x306)](_0x4ec078))return this['_clearScheduledTask'](),this['_injector'][_0x1c87a8(0x37c)](ee,this[_0x1c87a8(0x1b5)],this[_0x1c87a8(0xf0)],null,this['_pendingMutations'],null,[_0x4ec078],this[_0x1c87a8(0x17e)]);try{const _0x199474=this['_transformService'][_0x1c87a8(0x36e)](_0x4ec078,this[_0x1c87a8(0x380)]);if(_0x3810cf(_0x199474)){const {c1Prime:_0x1814db,m2Prime:_0x1894e8}=_0x199474;this[_0x1c87a8(0x3ba)](_0x1814db);const _0x38485b=this[_0x1c87a8(0x39e)][_0x1c87a8(0x37c)](ae,this['unitID'],this[_0x1c87a8(0xf0)],_0x1894e8,this[_0x1c87a8(0x17e)]);this[_0x1c87a8(0x267)]();const _0x27e7dc=new Date()[_0x1c87a8(0x102)](),_0x1748f3=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x1c87a8(0x1f5)]-_0x27e7dc,0x0):this[_0x1c87a8(0x2c4)]();return _0x38485b['_schedule'](_0x1748f3),_0x38485b;}throw _0x199474[_0x1c87a8(0x201)];}catch(_0x4becd0){return this['_logService'][_0x1c87a8(0x201)](_0x4becd0),this['_onConflict'](!0x1);}}[_0x368389(0x19e)](){var _0x4a24fd=_0x368389;throw new Error(_0x4a24fd(0x382));}[_0x368389(0x28a)](){var _0x2c64df=_0x368389;throw new Error(_0x2c64df(0x31d));}[_0x368389(0x1df)](){return this;}[_0x368389(0x3a9)](){var _0x362576=_0x368389;return this['_clearScheduledTask'](),this[_0x362576(0x39e)][_0x362576(0x37c)](de,this[_0x362576(0x1b5)],this[_0x362576(0xf0)],null,this['_pendingMutations'],this[_0x362576(0x17e)]);}[_0x368389(0x329)](){return this;}['_schedule'](_0x1abf52){var _0x47a126=_0x368389;const _0x4d23ad=_0x1abf52!=null?_0x1abf52:this[_0x47a126(0x2c4)]();this[_0x47a126(0x1f5)]=new Date()['getTime']()+_0x4d23ad,this[_0x47a126(0x1ae)]=setTimeout(()=>{var _0x162a1f=_0x47a126;this[_0x162a1f(0x267)]();let _0x1800da=null;switch(this['type']){case Q[_0x162a1f(0x305)]:{_0x1800da=Vt(this[_0x162a1f(0x380)],this[_0x162a1f(0x1b5)],this[_0x162a1f(0x14b)],this['_revisionService'],this['_memberService']);break;}case Q[_0x162a1f(0x36a)]:{this[_0x162a1f(0x380)][_0x162a1f(0x2f6)](_0x283637=>_0x283637['id']===_0x62620b['id'])?_0x1800da=ks(this[_0x162a1f(0x380)],this[_0x162a1f(0x1b5)],this[_0x162a1f(0x14b)],this[_0x162a1f(0x125)],this['_memberService']):_0x1800da=Vt(this[_0x162a1f(0x380)],this[_0x162a1f(0x1b5)],this['_univerInstanceService'],this[_0x162a1f(0x125)],this[_0x162a1f(0x366)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x162a1f(0xf0)]+_0x162a1f(0x354));}const {changeset:_0x568539,pendingMutations:_0x270c0b}=_0x1800da;this[_0x162a1f(0x17e)][_0x162a1f(0x235)](_0x568539);const _0x4cbe35=_0x270c0b['length']?this[_0x162a1f(0x39e)]['createInstance'](oe,this[_0x162a1f(0x1b5)],this['type'],_0x568539,_0x270c0b,this[_0x162a1f(0x17e)],void 0x0):this['_injector'][_0x162a1f(0x37c)](le,this[_0x162a1f(0x1b5)],this['type'],_0x568539,this[_0x162a1f(0x17e)]);_0x4cbe35[_0x162a1f(0x361)](),this[_0x162a1f(0x17e)][_0x162a1f(0x317)](this,_0x4cbe35);},_0x4d23ad);}['_getSendChangesetTimeout'](){var _0x2044c5=_0x368389,_0x50aae0;const _0x15011e=this[_0x2044c5(0xb8)][_0x2044c5(0x19b)](K);return(_0x50aae0=_0x15011e==null?void 0x0:_0x15011e[_0x2044c5(0x288)])!=null?_0x50aae0:ps;}[_0x368389(0x33f)](){var _0x16b254=_0x368389;throw new Error(_0x16b254(0x17f));}[_0x368389(0x267)](){var _0x5ba628=_0x368389;this[_0x5ba628(0x1ae)]!=null&&(clearTimeout(this[_0x5ba628(0x1ae)]),this[_0x5ba628(0x1ae)]=null);}[_0x368389(0x1da)](_0x4be4a8){var _0x528fe4=_0x368389;return this[_0x528fe4(0x267)](),this[_0x528fe4(0x39e)]['createInstance'](ue,this['unitID'],this[_0x528fe4(0xf0)],null,this[_0x528fe4(0x380)],this[_0x528fe4(0x17e)],_0x4be4a8);}};ae=Se([w(0x4,_0x3ce8f0(_0x277f78)),w(0x5,_0x3ce8f0(_0x5d15d6)),w(0x6,_0x3ce8f0(Pe)),w(0x7,_0x21f6c3),w(0x8,_0xcdf754),w(0x9,_0x3c30e0),w(0xa,_0x1a3cad),w(0xb,_0x558d3e),w(0xc,_0x32ded1),w(0xd,_0x5c10ac(J))],ae);let le=class extends ge{constructor(_0x21e6f6,_0x15ddbd,_0x387550,_0x4a826c,_0x1af81c,_0x55b0db,_0x288bf,_0x1f4516,_0x347a55,_0x59312a,_0x379ac2){var _0x1aee10=_0x368389;super(_0x21e6f6,_0x15ddbd,_0x387550,[],_0x4a826c,_0x288bf,_0x59312a,_0x55b0db,_0x379ac2),D(this,'status',_0x1aee10(0x13d)),D(this,'_resendTimeout',0x0),D(this,'_resendTimer'),D(this,_0x1aee10(0x337)),(this[_0x1aee10(0x39e)]=_0x1af81c,this[_0x1aee10(0x12b)]=_0x1f4516,this['_transformService']=_0x347a55);}[_0x368389(0xbb)](_0x921581){var _0x1b726a=_0x368389;this[_0x1b726a(0x267)]();const _0x324188=this[_0x1b726a(0x39e)][_0x1b726a(0x37c)](oe,this[_0x1b726a(0x1b5)],this['type'],this[_0x1b726a(0x1d4)],[_0x921581],this[_0x1b726a(0x17e)],this[_0x1b726a(0x168)]);return _0x324188['_updateLocalCache'](),_0x324188;}[_0x368389(0x2cd)](_0x5219ef){var _0x57d439=_0x368389;if(this[_0x57d439(0x306)](_0x5219ef))return this[_0x57d439(0x267)](),this[_0x57d439(0x39e)][_0x57d439(0x37c)](ee,this[_0x57d439(0x1b5)],this[_0x57d439(0xf0)],this['_awaitingChangeset'],[],null,[_0x5219ef],this[_0x57d439(0x17e)]);try{const _0x3aedc4=this['_transformService'][_0x57d439(0xa1)]([_0x5219ef],[this['_awaitingChangeset']],!0x1);if(_0x507863(_0x3aedc4)){const {c1Prime:_0x596d7c,c2Prime:_0x36daf0}=_0x3aedc4;this[_0x57d439(0x3ba)](_0x596d7c[0x0]),_0x36daf0[0x0][_0x57d439(0x1ed)]=this[_0x57d439(0x2f5)](),this['_clearScheduledTask']();const _0xc930ad=this[_0x57d439(0x39e)][_0x57d439(0x37c)](le,this[_0x57d439(0x1b5)],this[_0x57d439(0xf0)],_0x36daf0[0x0],this[_0x57d439(0x17e)]);return _0xc930ad[_0x57d439(0x361)](),_0xc930ad;}return this[_0x57d439(0x1da)](!0x1);}catch(_0xba0fe2){return this[_0x57d439(0x12b)][_0x57d439(0x201)](_0xba0fe2),this[_0x57d439(0x1da)](!0x1);}}[_0x368389(0x19e)](_0x4fe1fb){var _0x5a94b4=_0x368389;this[_0x5a94b4(0x267)]();const _0xf7c698=this[_0x5a94b4(0x125)][_0x5a94b4(0x32a)](this[_0x5a94b4(0x1b5)]);if(_0x4fe1fb[_0x5a94b4(0x1fb)]<_0xf7c698-0x1)return this;if(this['_checkMissing'](_0x4fe1fb))return this[_0x5a94b4(0x39e)][_0x5a94b4(0x37c)](ee,this['unitID'],this[_0x5a94b4(0xf0)],null,[],this[_0x5a94b4(0x1d4)],[],this[_0x5a94b4(0x17e)]);this[_0x5a94b4(0x136)]();const _0x1f52fd=this[_0x5a94b4(0x39e)]['createInstance'](be,this[_0x5a94b4(0x1b5)],this[_0x5a94b4(0xf0)],this[_0x5a94b4(0x17e)]);return _0x1f52fd['_updateLocalCache'](),_0x1f52fd;}[_0x368389(0x28a)](_0x332556){var _0x3b421c=_0x368389;return this[_0x3b421c(0x1da)](!!(_0x332556!=null&&_0x332556[_0x3b421c(0x255)]));}[_0x368389(0x1df)](_0x4ea8f0){var _0x12a9b3=_0x368389;return this['_resendTimeout']>gi?this[_0x12a9b3(0x3a9)]():(this[_0x12a9b3(0x168)]=Ii(this[_0x12a9b3(0x2db)],{'timeout':this[_0x12a9b3(0x2db)],'reqId':_0x4ea8f0[_0x12a9b3(0xfe)]}),this[_0x12a9b3(0x337)]=this[_0x12a9b3(0x168)]['subscribe'](({reqId:_0x156dc3,timeout:_0x115272})=>{var _0x251f6a=_0x12a9b3;this[_0x251f6a(0x3b4)](_0x156dc3,_0x115272);}),this);}[_0x368389(0x3a9)](){var _0x241bdf=_0x368389;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this[_0x241bdf(0x1b5)],this[_0x241bdf(0xf0)],this[_0x241bdf(0x1d4)],[],this[_0x241bdf(0x17e)]);}[_0x368389(0x329)](){return this;}[_0x368389(0x33f)](){var _0x2a8a6f=_0x368389;this['_handler'][_0x2a8a6f(0x235)](this[_0x2a8a6f(0x1d4)]);}[_0x368389(0x1da)](_0x5278ee){var _0x440f8c=_0x368389;return this[_0x440f8c(0x267)](),this[_0x440f8c(0x39e)][_0x440f8c(0x37c)](ue,this[_0x440f8c(0x1b5)],this[_0x440f8c(0xf0)],this[_0x440f8c(0x1d4)],[],this[_0x440f8c(0x17e)],_0x5278ee);}['_resendWithTimeout'](_0xf26146,_0x61b16b){var _0x315946=_0x368389,_0x159f42;_0xf26146===((_0x159f42=this[_0x315946(0x1d4)])==null?void 0x0:_0x159f42[_0x315946(0xfe)])&&(this['resend'](),this['_resendTimeout']=_0x61b16b===0x0?0x3e8:_0x61b16b*0x2);}[_0x368389(0x267)](){var _0x198d78=_0x368389,_0x375d81;(_0x375d81=this[_0x198d78(0x337)])==null||_0x375d81[_0x198d78(0x2a2)](),this[_0x198d78(0x2db)]=0x0;}};le=Se([w(0x4,_0x3ce8f0(_0x277f78)),w(0x5,_0x3ce8f0(_0x5d15d6)),w(0x6,_0xcdf754),w(0x7,_0x21f6c3),w(0x8,_0x1a3cad),w(0x9,_0x32ded1),w(0xa,_0x5c10ac(J))],le);let oe=class extends ge{constructor(_0x210d82,_0x59bf50,_0xf24a23,_0x319899,_0x1224ea,_0xf97991,_0x28d55f,_0x3da2aa,_0x43637a,_0x5c1dda,_0x16dbbb,_0x17dd8d,_0x1130ab){var _0x2fa35d=_0x368389;super(_0x210d82,_0x59bf50,_0xf24a23,_0x319899,_0x1224ea,_0x43637a,_0x17dd8d,_0x3da2aa,_0x1130ab),D(this,_0x2fa35d(0x9d),'awaiting_with_pending'),D(this,_0x2fa35d(0x2db),0x0),D(this,_0x2fa35d(0x168)),D(this,'_sender'),(this[_0x2fa35d(0x39e)]=_0x28d55f,this[_0x2fa35d(0x12b)]=_0x5c1dda,this['_transformService']=_0x16dbbb,this['localCacheService']=_0x1130ab,_0xf97991&&(this[_0x2fa35d(0x168)]=_0xf97991,this[_0x2fa35d(0x337)]=this[_0x2fa35d(0x168)]['subscribe'](({reqId:_0x427dc6,timeout:_0x37cd30})=>{var _0x4838c5=_0x2fa35d;this[_0x4838c5(0x3b4)](_0x427dc6,_0x37cd30);})));}[_0x368389(0xbb)](_0xc7720e){var _0xf23754=_0x368389;return this[_0xf23754(0x380)][_0xf23754(0x291)](_0xc7720e),this;}[_0x368389(0x2cd)](_0x9903c8){var _0x2ded44=_0x368389;if(this['_checkMissing'](_0x9903c8))return this[_0x2ded44(0x267)](),this['_injector'][_0x2ded44(0x37c)](ee,this[_0x2ded44(0x1b5)],this['type'],this[_0x2ded44(0x1d4)],this[_0x2ded44(0x380)],null,[_0x9903c8],this[_0x2ded44(0x17e)]);try{const _0x20e1e7=this[_0x2ded44(0x12c)][_0x2ded44(0xa1)]([_0x9903c8],[this[_0x2ded44(0x1d4)]],!0x1);if(_0x507863(_0x20e1e7)){const {c1Prime:_0x593657,c2Prime:_0x470b1d}=_0x20e1e7,_0x4493bb=this[_0x2ded44(0x12c)]['transformMutationsWithChangeset'](_0x593657[0x0],this['_pendingMutations']);if(_0x3810cf(_0x4493bb)){const {c1Prime:_0x197640,m2Prime:_0x3087e5}=_0x4493bb;return this['_executeRemoteChangeset'](_0x197640),_0x470b1d[0x0][_0x2ded44(0x1ed)]=this[_0x2ded44(0x2f5)](),this['_clearScheduledTask'](),this[_0x2ded44(0x39e)][_0x2ded44(0x37c)](oe,this[_0x2ded44(0x1b5)],this[_0x2ded44(0xf0)],_0x470b1d[0x0],_0x3087e5,this['_handler'],void 0x0);}throw _0x4493bb[_0x2ded44(0x201)];}throw _0x20e1e7['error'];}catch(_0x2fba29){return this[_0x2ded44(0x12b)]['error'](_0x2fba29),this[_0x2ded44(0x1da)](!0x1);}}[_0x368389(0x19e)](_0xf0051f){var _0x449670=_0x368389;if(this['_clearScheduledTask'](),this[_0x449670(0x306)](_0xf0051f))return this[_0x449670(0x39e)][_0x449670(0x37c)](ee,this[_0x449670(0x1b5)],this[_0x449670(0xf0)],null,this[_0x449670(0x380)],this['_awaitingChangeset'],[],this[_0x449670(0x17e)]);this[_0x449670(0x136)]();const _0x352f6e=this[_0x449670(0x39e)]['createInstance'](ae,this['unitID'],this[_0x449670(0xf0)],this[_0x449670(0x380)],this[_0x449670(0x17e)]);return _0x352f6e['_schedule'](),_0x352f6e[_0x449670(0x361)](),_0x352f6e;}['onRemoteRej'](_0x5e468c){var _0x231770=_0x368389;return this[_0x231770(0x1da)](!!(_0x5e468c!=null&&_0x5e468c['isPermissionRej']));}['onRemoteRetry'](_0x238541){var _0x3d4d53=_0x368389;return this[_0x3d4d53(0x2db)]>gi?this[_0x3d4d53(0x3a9)]():(this[_0x3d4d53(0x168)]=Ii(this[_0x3d4d53(0x2db)],{'timeout':this[_0x3d4d53(0x2db)],'reqId':_0x238541['reqId']}),this['_sender']=this[_0x3d4d53(0x168)][_0x3d4d53(0x116)](({reqId:_0x2b7d0c,timeout:_0x5d14bc})=>{this['_resendWithTimeout'](_0x2b7d0c,_0x5d14bc);}),this);}[_0x368389(0x3a9)](){var _0x3f59f6=_0x368389;return this[_0x3f59f6(0x267)](),this[_0x3f59f6(0x39e)][_0x3f59f6(0x37c)](de,this[_0x3f59f6(0x1b5)],this[_0x3f59f6(0xf0)],this[_0x3f59f6(0x1d4)],this[_0x3f59f6(0x380)],this[_0x3f59f6(0x17e)]);}['toggleOnline'](){return this;}[_0x368389(0x33f)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}[_0x368389(0x1da)](_0x13c874){var _0x19f34f=_0x368389;return this[_0x19f34f(0x267)](),this['_injector'][_0x19f34f(0x37c)](ue,this[_0x19f34f(0x1b5)],this[_0x19f34f(0xf0)],null,this[_0x19f34f(0x380)],this['_handler'],_0x13c874);}['_resendWithTimeout'](_0x564ab0,_0x95ada1){var _0xa63a90=_0x368389,_0x1f3b8f;_0x564ab0===((_0x1f3b8f=this[_0xa63a90(0x1d4)])==null?void 0x0:_0x1f3b8f['reqId'])&&(this[_0xa63a90(0x33f)](),this['_resendTimeout']=_0x95ada1===0x0?0x3e8:_0x95ada1*0x2);}['_clearScheduledTask'](){var _0x10e81e=_0x368389,_0x83f503;(_0x83f503=this[_0x10e81e(0x337)])==null||_0x83f503[_0x10e81e(0x2a2)](),this['_resendTimeout']=0x0;}};oe=Se([w(0x6,_0x3ce8f0(_0x277f78)),w(0x7,_0x3ce8f0(_0x5d15d6)),w(0x8,_0xcdf754),w(0x9,_0x21f6c3),w(0xa,_0x1a3cad),w(0xb,_0x32ded1),w(0xc,_0x5c10ac(J))],oe);let ue=class extends ge{constructor(_0x3533c2,_0x3b3d1f,_0x443579,_0x20f61c,_0x30939c,_0x4e0fad=!0x1,_0x46b409,_0x28bee1,_0x74033e,_0x5a541a,_0x2d3ee4,_0xf3011f,_0x4a25e4){var _0x448775=_0x368389;super(_0x3533c2,_0x3b3d1f,_0x443579,_0x20f61c,_0x30939c,_0x28bee1,_0x74033e,_0x5a541a,_0x4a25e4),D(this,_0x448775(0x9d),_0x448775(0x2d2)),(this['_isPermissionRej']=_0x4e0fad,this[_0x448775(0x3ab)]=_0x46b409,this[_0x448775(0x2ac)]=_0x2d3ee4,this[_0x448775(0x367)]=_0xf3011f,this['localCacheService']=_0x4a25e4,this[_0x448775(0x19d)](),this[_0x448775(0x210)](),this[_0x448775(0x3b1)]());}[_0x368389(0xbb)](){return this;}[_0x368389(0x2cd)](){return this;}[_0x368389(0x19e)](){return this;}['onRemoteRej'](){return this;}[_0x368389(0x1df)](){return this;}[_0x368389(0x3a9)](){return this;}[_0x368389(0x329)](){return this;}[_0x368389(0x33f)](){var _0x5ccd03=_0x368389;throw new Error(_0x5ccd03(0x1e1));}['_clearLocalCache'](){var _0x5b8fd7=_0x368389,_0x2971da;(_0x2971da=this[_0x5b8fd7(0x307)])==null||_0x2971da[_0x5b8fd7(0x9c)](this[_0x5b8fd7(0x1b5)],this[_0x5b8fd7(0xf0)],null,[]);}['_showConflictNotification'](){var _0x5e48e8=_0x368389;this[_0x5e48e8(0xdd)]?this[_0x5e48e8(0x367)][_0x5e48e8(0x3b6)]({'id':re[_0x5e48e8(0x213)]}):this[_0x5e48e8(0x367)][_0x5e48e8(0x3b6)]({'id':re[_0x5e48e8(0x2ab)]});}[_0x368389(0x3b1)](){var _0x1c7819=_0x368389;this[_0x1c7819(0x3ab)][_0x1c7819(0xe0)](new _0x25ba97(this['unitID'])['id'],!0x1);}};ue=Se([w(0x6,_0x3ce8f0(_0x301d19)),w(0x7,_0xcdf754),w(0x8,_0x32ded1),w(0x9,_0x3ce8f0(_0x5d15d6)),w(0xa,_0x3ce8f0(_0x3ebb61)),w(0xb,_0x3ce8f0(ve)),w(0xc,_0x5c10ac(J))],ue);let de=class extends ge{constructor(_0x5a0059,_0x1e0fa6,_0x2a95a4,_0x11a9a0,_0x406728,_0x52c52b,_0x3aeeea,_0x46305e,_0x461f8a,_0x30943a){var _0x8d663d=_0x368389;super(_0x5a0059,_0x1e0fa6,_0x2a95a4,_0x11a9a0,_0x406728,_0x46305e,_0x461f8a,_0x3aeeea,_0x30943a),D(this,'status',_0x8d663d(0x146)),this[_0x8d663d(0x39e)]=_0x52c52b;}[_0x368389(0xbb)](_0x13114e){var _0x1b4420=_0x368389;return this[_0x1b4420(0x380)][_0x1b4420(0x291)](_0x13114e),this[_0x1b4420(0x361)](),this;}[_0x368389(0x2cd)](_0x14612a){var _0x1f641a=_0x368389;throw new Error(_0x1f641a(0x2f8));}[_0x368389(0x19e)](){var _0x50c39d=_0x368389;throw new Error(_0x50c39d(0x273));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x368389(0x3a9)](){return this;}[_0x368389(0x329)](){var _0x716f16=_0x368389;const {_injector:_0x1a3e1a,_pendingMutations:_0x169fa7,_awaitingChangeset:_0x3986cc,unitID:_0x27fa04,_handler:_0x3f8686,type:_0x557234}=this,_0x1d1c4f=Ti(_0x1a3e1a,_0x27fa04,_0x557234,_0x3986cc,_0x169fa7,_0x3f8686);return _0x1d1c4f instanceof ae?_0x1d1c4f[_0x716f16(0x262)]():(_0x1d1c4f instanceof oe||_0x1d1c4f instanceof le)&&_0x1d1c4f['resend'](),_0x1d1c4f;}[_0x368389(0x33f)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([w(0x5,_0x3ce8f0(_0x277f78)),w(0x6,_0x3ce8f0(_0x5d15d6)),w(0x7,_0xcdf754),w(0x8,_0x32ded1),w(0x9,_0x5c10ac(J))],de);let ee=class extends ge{constructor(_0x8697e3,_0x25b708,_0x279025,_0x270219,_0x4d8217,_0x4196f7,_0x520288,_0xfc0833,_0x43774f,_0x5a6df8,_0x399171,_0x175f8a,_0x5a1068,_0x4b3653){var _0x501e72=_0x368389;super(_0x8697e3,_0x25b708,_0x279025,_0x270219,_0x520288,_0x399171,_0x175f8a,_0x43774f,_0x4b3653),D(this,_0x501e72(0x9d),_0x501e72(0x1de)),(this[_0x501e72(0x377)]=_0x4d8217,this['_queuedRemoteChangesets']=_0x4196f7,this[_0x501e72(0x39e)]=_0xfc0833,this['_logService']=_0x5a6df8,this[_0x501e72(0x12c)]=_0x5a1068,this[_0x501e72(0x269)]=_0x4b3653);}[_0x368389(0x121)](_0x4ddd3a){var _0x5581ea=_0x368389;try{const _0x296b8a=[..._0x4ddd3a,...this[_0x5581ea(0x343)]],_0x29e534=[this[_0x5581ea(0x1d4)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x494184=>!!_0x494184);let _0x269274,_0x3ec654;if(_0x29e534[_0x5581ea(0x3b7)]){const _0x127235=this[_0x5581ea(0x12c)][_0x5581ea(0xa1)](_0x296b8a,_0x29e534,!0x1);if(!_0x507863(_0x127235))throw _0x127235[_0x5581ea(0x201)];_0x269274=_0x127235[_0x5581ea(0x25e)],_0x3ec654=_0x127235[_0x5581ea(0xeb)];}else _0x269274=_0x296b8a,_0x3ec654=[];let _0x4ed1b8=this[_0x5581ea(0x380)];_0x269274['forEach'](_0x305983=>{var _0x254e8f=_0x5581ea;let _0x2c1a17;if(_0x4ed1b8[_0x254e8f(0x3b7)]){const _0x1d231a=this[_0x254e8f(0x12c)][_0x254e8f(0x36e)](_0x305983,_0x4ed1b8);if(!_0x3810cf(_0x1d231a))throw _0x1d231a[_0x254e8f(0x201)];_0x2c1a17=_0x1d231a[_0x254e8f(0x25e)],_0x4ed1b8=_0x1d231a[_0x254e8f(0x155)];}else _0x2c1a17=_0x305983;this['_executeRemoteChangeset'](_0x2c1a17);}),this[_0x5581ea(0x377)]&&this['_incrementRevisionNumber'](),this[_0x5581ea(0x1d4)]&&_0x3ec654[_0x5581ea(0x3b7)]&&(_0x3ec654[0x0]['baseRev']=this['_getCurrentRevision']());let _0x388aec;if(this[_0x5581ea(0x1d4)]&&_0x4ed1b8[_0x5581ea(0x3b7)]!==0x0)_0x388aec=this['_injector']['createInstance'](oe,this[_0x5581ea(0x1b5)],this[_0x5581ea(0xf0)],_0x3ec654[0x0],_0x4ed1b8,this['_handler'],void 0x0);else{if(this[_0x5581ea(0x1d4)]&&_0x4ed1b8[_0x5581ea(0x3b7)]===0x0)_0x3ec654[0x0][_0x5581ea(0x1ed)]=this['_getCurrentRevision'](),_0x388aec=this[_0x5581ea(0x39e)][_0x5581ea(0x37c)](le,this[_0x5581ea(0x1b5)],this['type'],_0x3ec654[0x0],this[_0x5581ea(0x17e)]);else{if(_0x4ed1b8[_0x5581ea(0x3b7)]!==0x0){const _0x4ff63f=this[_0x5581ea(0x39e)][_0x5581ea(0x37c)](ae,this[_0x5581ea(0x1b5)],this[_0x5581ea(0xf0)],_0x4ed1b8,this[_0x5581ea(0x17e)]);_0x4ff63f[_0x5581ea(0x262)](),_0x388aec=_0x4ff63f;}else _0x388aec=this[_0x5581ea(0x39e)]['createInstance'](be,this[_0x5581ea(0x1b5)],this[_0x5581ea(0xf0)],this['_handler']);}}return _0x388aec[_0x5581ea(0x361)](),_0x388aec;}catch(_0x2a3998){return this['_logService']['error'](_0x5581ea(0x300),_0x5581ea(0x22d),_0x2a3998),this[_0x5581ea(0x39e)]['createInstance'](ue,this['unitID'],this['type'],this[_0x5581ea(0x1d4)],this[_0x5581ea(0x380)],this[_0x5581ea(0x17e)],!0x1);}}[_0x368389(0x33f)](){var _0xc70b91=_0x368389;throw new Error(_0xc70b91(0x313));}[_0x368389(0xbb)](_0x5e8eb5){var _0x2320ef=_0x368389;return this['_pendingMutations'][_0x2320ef(0x291)](_0x5e8eb5),this;}[_0x368389(0x2cd)](_0x145e38){var _0x3109fe=_0x368389;return this[_0x3109fe(0x343)][_0x3109fe(0x291)](_0x145e38),this;}[_0x368389(0x19e)](_0xa64bfc){var _0x5f4af5=_0x368389;if(this[_0x5f4af5(0x1d4)])return this[_0x5f4af5(0x377)]=this[_0x5f4af5(0x1d4)],this[_0x5f4af5(0x1d4)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x368389(0x28a)](_0x197cf3){var _0x2daada=_0x368389;return this[_0x2daada(0x1da)](!!(_0x197cf3!=null&&_0x197cf3[_0x2daada(0x255)]));}[_0x368389(0x1df)](){return this;}[_0x368389(0x3a9)](){var _0x4ba781=_0x368389;return this['_injector'][_0x4ba781(0x37c)](de,this[_0x4ba781(0x1b5)],this[_0x4ba781(0xf0)],this[_0x4ba781(0x1d4)],this[_0x4ba781(0x380)],this[_0x4ba781(0x17e)]);}[_0x368389(0x329)](){return this;}[_0x368389(0x1da)](_0x530327){var _0x30899f=_0x368389;return this[_0x30899f(0x39e)][_0x30899f(0x37c)](ue,this[_0x30899f(0x1b5)],this[_0x30899f(0xf0)],this[_0x30899f(0x1d4)],this[_0x30899f(0x380)],this[_0x30899f(0x17e)],_0x530327);}};ee=Se([w(0x7,_0x3ce8f0(_0x277f78)),w(0x8,_0x3ce8f0(_0x5d15d6)),w(0x9,_0x21f6c3),w(0xa,_0xcdf754),w(0xb,_0x32ded1),w(0xc,_0x1a3cad),w(0xd,_0x5c10ac(J))],ee);function Ti(_0xf8cc5f,_0x57d935,_0x57d33d,_0x2bca88,_0x5f0ddf,_0x4f25ab){var _0x371932=_0x368389;return _0x2bca88&&_0x5f0ddf['length']?_0xf8cc5f[_0x371932(0x37c)](oe,_0x57d935,_0x57d33d,_0x2bca88,_0x5f0ddf,_0x4f25ab,void 0x0):_0x2bca88?_0xf8cc5f[_0x371932(0x37c)](le,_0x57d935,_0x57d33d,_0x2bca88,_0x4f25ab):_0x5f0ddf[_0x371932(0x3b7)]?_0xf8cc5f[_0x371932(0x37c)](ae,_0x57d935,_0x57d33d,_0x5f0ddf,_0x4f25ab):_0xf8cc5f[_0x371932(0x37c)](be,_0x57d935,_0x57d33d,_0x4f25ab);}var Hs=Object[_0x368389(0x284)],At=(_0x463819,_0x3cf963,_0xbe08a5,_0x1bcaf6)=>{for(var _0x271bde=_0x1bcaf6>0x1?void 0x0:_0x1bcaf6?Hs(_0x3cf963,_0xbe08a5):_0x3cf963,_0x5bb7e4=_0x463819['length']-0x1,_0x50f8c4;_0x5bb7e4>=0x0;_0x5bb7e4--)(_0x50f8c4=_0x463819[_0x5bb7e4])&&(_0x271bde=_0x50f8c4(_0x271bde)||_0x271bde);return _0x271bde;},$=(_0x355195,_0x1955f8)=>(_0x3b89e9,_0x31e5e3)=>_0x1955f8(_0x3b89e9,_0x31e5e3,_0x355195);let st=class extends _0x4eb61d{constructor(_0x2c2b71,_0x5cac6b,_0x4d08f6,_0x188095,_0x368c0d,_0x48a7be,_0x2c459d,_0x1fddde,_0x2229c2,_0x42a676,_0x4822d7,_0x4eec7f,_0x203eb6,_0x886a77){var _0x4bf680=_0x368389;super(),D(this,_0x4bf680(0x204),new _0x1593ab(null)),D(this,_0x4bf680(0x375),this['_state$'][_0x4bf680(0x166)]()),D(this,_0x4bf680(0x395)),D(this,'_collaborationPaused',!0x1),D(this,_0x4bf680(0x1f4),''),D(this,'_changesetReqId',0x0),D(this,_0x4bf680(0x320),this[_0x4bf680(0x375)][_0x4bf680(0x279)](_0x418f83(_0x303794=>_0x303794?_0x303794[_0x4bf680(0x9d)]:Si['OFFLINE']),_0xc52802(0x1))),D(this,_0x4bf680(0x167),!0x1),D(this,_0x4bf680(0xb7),[]),(this[_0x4bf680(0x1b5)]=_0x2c2b71,this['session']=_0x5cac6b,this['_type']=_0x4d08f6,this['_injector']=_0x188095,this[_0x4bf680(0x1b4)]=_0x368c0d,this['_localeService']=_0x48a7be,this[_0x4bf680(0x125)]=_0x2c459d,this[_0x4bf680(0x2c2)]=_0x1fddde,this[_0x4bf680(0x14b)]=_0x2229c2,this[_0x4bf680(0x12b)]=_0x42a676,this[_0x4bf680(0x2d5)]=_0x4822d7,this[_0x4bf680(0x3ab)]=_0x4eec7f,this['_singleActiveUnitService']=_0x203eb6,this['_localCacheService']=_0x886a77);}get[_0x368389(0x2ff)](){var _0x569c76=_0x368389;return this[_0x569c76(0x395)];}async[_0x368389(0x3b3)](){var _0x5d674b=_0x368389;if(this[_0x5d674b(0x2ff)])throw new Error(_0x5d674b(0x34d));await this[_0x5d674b(0x321)]();}[_0x368389(0xbd)](){var _0x5cef8d=_0x368389;return this[_0x5cef8d(0xf3)]=!0x0,_0x58dc5a(()=>{var _0x1a73cb=_0x5cef8d;this[_0x1a73cb(0xf3)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x368389(0x199)](_0x170503){var _0x3ae528=_0x368389;this[_0x3ae528(0x227)](_0x170503);}[_0x368389(0x295)](_0x159928){var _0x326963=_0x368389;this[_0x326963(0x395)]=_0x159928,this[_0x326963(0x204)][_0x326963(0x29b)](_0x159928);}async['_init'](){var _0x14832e=_0x368389,_0x1e5502;this[_0x14832e(0x295)](await this[_0x14832e(0x34b)]()),this[_0x14832e(0x148)]&&((_0x1e5502=this[_0x14832e(0x148)])==null||_0x1e5502[_0x14832e(0x10c)](this[_0x14832e(0x1b5)]),this[_0x14832e(0x2af)](this[_0x14832e(0x148)][_0x14832e(0x340)](this['unitID'])[_0x14832e(0x116)](_0x551ba0=>{var _0x1b3f44=_0x14832e;this[_0x1b3f44(0x12b)]['debug'](_0x1b3f44(0xc4),_0x1b3f44(0x394),_0x551ba0),_0x551ba0===mi[_0x1b3f44(0x2be)]?(this[_0x1b3f44(0x2c2)][_0x1b3f44(0x3b6)]({'id':re[_0x1b3f44(0x1a0)]}),this[_0x1b3f44(0x3ab)]['updatePermissionPoint'](new _0x25ba97(this['unitID'])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x1b3f44(0x3ab)][_0x1b3f44(0xe0)](new _0x25ba97(this['unitID'])['id'],!0x0),this[_0x1b3f44(0x3ab)][_0x1b3f44(0x2e1)](!0x0));})));let _0x5a0279=!0x1;return this['disposeWithMe'](this[_0x14832e(0x114)][_0x14832e(0x350)]['subscribe'](_0x307aa4=>{var _0x3b7969=_0x14832e;_0x307aa4===me[_0x3b7969(0x17a)]?this[_0x3b7969(0x19a)](_0x5a0279):_0x307aa4===me['OFFLINE']&&(_0x5a0279=!0x0,this[_0x3b7969(0x1d6)]());})),this[_0x14832e(0x2af)](this['session'][_0x14832e(0x30e)][_0x14832e(0x116)](_0x59bb84=>{var _0x67beab=_0x14832e;try{switch(_0x59bb84[_0x67beab(0x159)]){case _0x19843e[_0x67beab(0x398)]:{this[_0x67beab(0x2cb)](_0x352403(_0x59bb84['data']));break;}case _0x19843e[_0x67beab(0x1fe)]:{this[_0x67beab(0x312)](_0x59bb84[_0x67beab(0x389)]);break;}case _0x19843e[_0x67beab(0x327)]:{this['_onRemoteRejected']();break;}case _0x19843e[_0x67beab(0x2bb)]:{this[_0x67beab(0x334)](_0x59bb84[_0x67beab(0x389)]);break;}case _0x19843e[_0x67beab(0x205)]:{this[_0x67beab(0x1bc)](_0x59bb84['data']['changesets'][_0x67beab(0x28c)](_0x5d360e=>_0x352403(_0x5d360e)));break;}case _0x19843e[_0x67beab(0x238)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x19843e[_0x67beab(0x214)]:break;}}catch(_0x52928b){throw console[_0x67beab(0x201)](_0x67beab(0x176),_0x52928b),_0x52928b;}})),this['_state'];}[_0x368389(0x90)](){var _0x2a171c=_0x368389;this[_0x2a171c(0x167)]=!0x1;}['_lockTransition'](){var _0x355642=_0x368389;if(this[_0x355642(0x167)])throw new Error(_0x355642(0x196));this['_transitionLocked']=!0x0;}[_0x368389(0x227)](_0x51796b){var _0x24aff6=_0x368389;this[_0x24aff6(0x113)](),this[_0x24aff6(0x295)](this[_0x24aff6(0x395)][_0x24aff6(0xbb)](_0x51796b)),this['_unlockTransition']();}[_0x368389(0x2cb)](_0x419d03){var _0x1d3666=_0x368389;if(!(_0x419d03['revision']<=this[_0x1d3666(0x125)][_0x1d3666(0x32a)](this['unitID']))){if(this[_0x1d3666(0xf3)]){this['_remoteChangesetQueue'][_0x1d3666(0x291)](_0x419d03);return;}this[_0x1d3666(0x1c6)](_0x419d03);}}[_0x368389(0xe2)](){var _0x161671=_0x368389;this[_0x161671(0xb7)][_0x161671(0x20e)](_0x46f247=>this[_0x161671(0x1c6)](_0x46f247)),this[_0x161671(0xb7)]=[];}[_0x368389(0x1c6)](_0x2a6529){var _0x76e5e7=_0x368389;const _0x329b9d=this['_compressMutationService'][_0x76e5e7(0x38b)]['fetchThroughInterceptors'](this[_0x76e5e7(0x1b4)][_0x76e5e7(0x38b)][_0x76e5e7(0x1d0)]()[_0x76e5e7(0x2ca)])(_0x2a6529[_0x76e5e7(0x162)],null)||_0x2a6529[_0x76e5e7(0x162)],_0x24b39b={..._0x2a6529,'mutations':_0x329b9d};this[_0x76e5e7(0x113)](),this[_0x76e5e7(0x295)](this[_0x76e5e7(0x395)][_0x76e5e7(0x2cd)](_0x24b39b)),this[_0x76e5e7(0x90)]();}[_0x368389(0x312)](_0x1b4a13){var _0x227e4c=_0x368389;this[_0x227e4c(0x113)](),this[_0x227e4c(0x295)](this[_0x227e4c(0x395)][_0x227e4c(0x19e)](_0x1b4a13)),this[_0x227e4c(0x90)]();}[_0x368389(0xa5)](_0x59c8bd){var _0x230609=_0x368389;this[_0x230609(0x113)](),this[_0x230609(0x295)](this[_0x230609(0x395)][_0x230609(0x28a)](_0x59c8bd)),this[_0x230609(0x90)]();}[_0x368389(0x334)](_0x1207d2){var _0x4879d3=_0x368389;this[_0x4879d3(0x113)](),this[_0x4879d3(0x295)](this[_0x4879d3(0x395)][_0x4879d3(0x1df)](_0x1207d2)),this[_0x4879d3(0x90)]();}['_onFetchMissResult'](_0x51d518){var _0x150d0b=_0x368389;if(!(this[_0x150d0b(0x395)]instanceof ee))throw new TypeError(_0x150d0b(0x1ad));const _0x590dfe=_0x51d518[_0x150d0b(0x28c)](_0x172853=>{var _0x44bc59=_0x150d0b;const _0x2d310c=this[_0x44bc59(0x1b4)][_0x44bc59(0x38b)][_0x44bc59(0x2bc)](this['_compressMutationService']['interceptor'][_0x44bc59(0x1d0)]()[_0x44bc59(0x2ca)])(_0x172853[_0x44bc59(0x162)],null)||_0x172853[_0x44bc59(0x162)];return{..._0x172853,'mutations':_0x2d310c};});this['_lockTransition'](),this[_0x150d0b(0x295)](this[_0x150d0b(0x395)]['onMissedChangesetFetched'](_0x590dfe)),this[_0x150d0b(0x90)]();}[_0x368389(0x1d6)](){var _0x534d2d=_0x368389;this[_0x534d2d(0x113)](),this['_updateState'](this[_0x534d2d(0x395)][_0x534d2d(0x3a9)]()),this[_0x534d2d(0x90)]();}['_toggleOnline'](_0x458bf8=!0x1){var _0xeb7d57=_0x368389;this['_lockTransition'](),this[_0xeb7d57(0x295)](this['_state'][_0xeb7d57(0x329)]()),this['_unlockTransition']();const _0x554489=this[_0xeb7d57(0x395)];_0x458bf8&&_0x554489 instanceof be&&(this[_0xeb7d57(0x113)](),this[_0xeb7d57(0x295)](_0x554489[_0xeb7d57(0x211)]()),this[_0xeb7d57(0x90)]());}async['_createInitialState'](){return new Promise(_0x2d60ca=>{var _0x12ea41=_0x4f24;this['session'][_0x12ea41(0x350)]['pipe'](_0x4ebc57(0x1))[_0x12ea41(0x116)](async _0x57d889=>{var _0x54d83=_0x12ea41;_0x2d60ca(await this[_0x54d83(0x3a3)](_0x57d889===me[_0x54d83(0x17a)]));});});}['_createHandler'](){const _0x2827ef=this['unitID'];return{'onStateChange':(_0x3c15c9,_0xae0050)=>{var _0x5bcdda=_0x4f24;if(_0x3c15c9!==this[_0x5bcdda(0x395)])throw new Error(_0x5bcdda(0x20c)+_0x3c15c9[_0x5bcdda(0x9d)]+'\x0aAfter:\x20'+_0xae0050[_0x5bcdda(0x9d)]+_0x5bcdda(0x182)+this['_state'][_0x5bcdda(0x9d)]);this[_0x5bcdda(0x295)](_0xae0050);},'onSendChangeset':_0x59bdcc=>{var _0x317eb3=_0x4f24;_0x59bdcc[_0x317eb3(0x2cf)]||(_0x59bdcc['sid']=this[_0x317eb3(0x1f4)],_0x59bdcc[_0x317eb3(0xfe)]=++this[_0x317eb3(0x30a)]);const _0x24d22c={'eventID':_0x19843e[_0x317eb3(0x1a8)],'data':{'unitID':_0x59bdcc[_0x317eb3(0x1b5)],'unitType':this[_0x317eb3(0xa7)],'changeset':_0x59bdcc,'memberID':this[_0x317eb3(0x114)]['getMemberID']()}};this[_0x317eb3(0x114)][_0x317eb3(0x1bb)](_0x24d22c,this['unitID']);},'onMissingChangesets':({from:_0x304bc9,to:_0x3db2cb})=>{var _0x4bb82e=_0x4f24;this[_0x4bb82e(0x12b)][_0x4bb82e(0x2c3)](_0x4bb82e(0xc4),'fetching\x20missing\x20changesets\x20from\x20'+_0x304bc9+_0x4bb82e(0xca)+_0x3db2cb);const _0x2ec242={'eventID':_0x19843e[_0x4bb82e(0x14c)],'data':{'unitID':_0x2827ef,'unitType':this[_0x4bb82e(0xa7)],'from':_0x304bc9,'to':_0x3db2cb}};this[_0x4bb82e(0x114)]['send'](_0x2ec242,this[_0x4bb82e(0x1b5)]);}};}async[_0x368389(0x3a3)](_0x2a28fa){var _0x4e5136=_0x368389,_0x264319,_0x38d357,_0x21ac7f;const _0x5b74bc=await((_0x264319=this[_0x4e5136(0x307)])==null?void 0x0:_0x264319[_0x4e5136(0x1f9)](this[_0x4e5136(0x1b5)])),_0x41209d=(_0x38d357=_0x5b74bc==null?void 0x0:_0x5b74bc['mutations'])!=null?_0x38d357:[],_0x20fa2e=(_0x21ac7f=_0x5b74bc==null?void 0x0:_0x5b74bc['awaitingChangeset'])!=null?_0x21ac7f:null,_0x3eb193=!!(_0x20fa2e!=null&&_0x20fa2e[_0x4e5136(0x2cf)])&&!!(_0x20fa2e!=null&&_0x20fa2e[_0x4e5136(0xfe)]);this['_changesetSessionId']=_0x3eb193?_0x20fa2e['sid']:_0x41b51c(),this[_0x4e5136(0x30a)]=_0x3eb193?_0x20fa2e[_0x4e5136(0xfe)]:0x0;const _0x517576=this[_0x4e5136(0x1b5)];try{this[_0x4e5136(0x1a3)](_0x20fa2e,_0x41209d);}catch(_0x11f96d){this[_0x4e5136(0x12b)][_0x4e5136(0x201)](_0x11f96d);}const _0x6d48e9=this[_0x4e5136(0x1e7)]();if(_0x2a28fa){const _0x59037=Ti(this[_0x4e5136(0x39e)],_0x517576,this[_0x4e5136(0xa7)],_0x20fa2e,_0x41209d,_0x6d48e9);return _0x59037 instanceof ae?_0x59037[_0x4e5136(0x262)]():(_0x59037 instanceof oe||_0x59037 instanceof le)&&_0x59037['resend'](),_0x59037;}return this['_injector'][_0x4e5136(0x37c)](de,_0x517576,this[_0x4e5136(0xa7)],_0x20fa2e,_0x41209d,_0x6d48e9);}[_0x368389(0x1a3)](_0x2a82b4,_0x45c407){var _0x2b8999=_0x368389,_0x4af4a4,_0x3d65db;const _0x2342d7=this[_0x2b8999(0x1b4)][_0x2b8999(0x38b)][_0x2b8999(0x2bc)](this[_0x2b8999(0x1b4)][_0x2b8999(0x38b)][_0x2b8999(0x1d0)]()['COMPRESS_MUTATION_APPLY']);(_0x4af4a4=_0x2342d7((_0x2a82b4==null?void 0x0:_0x2a82b4[_0x2b8999(0x162)])||[],null))==null||_0x4af4a4['forEach'](_0x346eac=>this['_commandService']['executeCommand'](_0x346eac['id'],_0x346eac[_0x2b8999(0x180)])),(_0x3d65db=_0x2342d7(_0x45c407||[],null))==null||_0x3d65db[_0x2b8999(0x20e)](_0x40faf6=>this[_0x2b8999(0x2d5)]['executeCommand'](_0x40faf6['id'],_0x40faf6[_0x2b8999(0x180)]));}};st=At([$(0x3,_0x3ce8f0(_0x277f78)),$(0x4,_0x3ce8f0(_0x367c0f)),$(0x5,_0x3ce8f0(_0x3ebb61)),$(0x6,_0x3ce8f0(_0x5d15d6)),$(0x7,_0x3ce8f0(ve)),$(0x8,_0x558d3e),$(0x9,_0x21f6c3),$(0xa,_0xcdf754),$(0xb,_0x301d19),$(0xc,_0x5c10ac(_t)),$(0xd,_0x5c10ac(J))],st);let It=class extends st{constructor(_0x4fee32,_0x479fa1,_0x1ee2e8,_0x1dd924,_0x5c22c6,_0x1d07e1,_0x446424,_0x2c9046,_0x3e919e,_0x2eb275,_0x4df57c,_0x464497,_0x3ca1c0,_0x45ef1e){var _0x11c9d4=_0x368389;super(_0x4fee32,_0x1ee2e8,_0x479fa1,_0x1dd924,_0x5c22c6,_0x1d07e1,_0x446424,_0x2c9046,_0x3e919e,_0x2eb275,_0x4df57c,_0x464497,_0x3ca1c0,_0x45ef1e),D(this,_0x11c9d4(0x310),null),(this['unitID']=_0x4fee32,this[_0x11c9d4(0xf0)]=_0x479fa1);}[_0x368389(0x2fe)](_0x2ace75){var _0x19a63e=_0x368389;this[_0x19a63e(0x310)]=_0x2ace75;}[_0x368389(0xc9)](){var _0x159d9a=_0x368389;this[_0x159d9a(0x310)]=null,super[_0x159d9a(0xc9)]();}[_0x368389(0x1e7)](){var _0x37f6b3=_0x368389;const _0x2e035e=super[_0x37f6b3(0x1e7)]();return _0x2e035e[_0x37f6b3(0x265)]=_0x13d924=>{var _0x1b02be=_0x37f6b3,_0x57083c,_0x2b55aa;return(_0x2b55aa=(_0x57083c=this[_0x1b02be(0x310)])==null?void 0x0:_0x57083c[_0x1b02be(0x265)])==null?void 0x0:_0x2b55aa['call'](_0x57083c,_0x13d924);},_0x2e035e[_0x37f6b3(0x309)]=_0x382a29=>{var _0x12ae85=_0x37f6b3,_0x1eee9b,_0x32609b;return(_0x32609b=(_0x1eee9b=this['_handlerCallback'])==null?void 0x0:_0x1eee9b['onTransformState'])==null?void 0x0:_0x32609b[_0x12ae85(0xf4)](_0x1eee9b,_0x382a29);},_0x2e035e['onTransformSelections']=_0x4e8a7b=>{var _0x4fdb93=_0x37f6b3,_0x28fbbd,_0x14d69a;return(_0x14d69a=(_0x28fbbd=this[_0x4fdb93(0x310)])==null?void 0x0:_0x28fbbd[_0x4fdb93(0x319)])==null?void 0x0:_0x14d69a[_0x4fdb93(0xf4)](_0x28fbbd,_0x4e8a7b);},_0x2e035e[_0x37f6b3(0xb1)]=_0x176ff9=>{var _0x4123a3=_0x37f6b3,_0x808d7,_0xf30f44;return(_0xf30f44=(_0x808d7=this[_0x4123a3(0x310)])==null?void 0x0:_0x808d7[_0x4123a3(0xb1)])==null?void 0x0:_0xf30f44[_0x4123a3(0xf4)](_0x808d7,_0x176ff9);},_0x2e035e[_0x37f6b3(0x276)]=_0x140070=>{var _0x5ab39a=_0x37f6b3,_0x57c327,_0x404d9d,_0x261090;if(!((_0x57c327=this[_0x5ab39a(0x310)])!=null&&_0x57c327[_0x5ab39a(0x276)]))throw new Error(_0x5ab39a(0x160));return(_0x261090=(_0x404d9d=this[_0x5ab39a(0x310)])==null?void 0x0:_0x404d9d['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x261090['call'](_0x404d9d,_0x140070);},_0x2e035e[_0x37f6b3(0x192)]=_0x5ea95c=>{var _0xac648c=_0x37f6b3,_0x37eba1,_0x31753a,_0x203c00;if(!((_0x37eba1=this['_handlerCallback'])!=null&&_0x37eba1[_0xac648c(0x192)]))throw new Error(_0xac648c(0x170));return(_0x203c00=(_0x31753a=this[_0xac648c(0x310)])==null?void 0x0:_0x31753a[_0xac648c(0x192)])==null?void 0x0:_0x203c00[_0xac648c(0xf4)](_0x31753a,_0x5ea95c);},_0x2e035e;}async[_0x368389(0x321)](){var _0x5d3b6a=_0x368389;const _0x3da388=await super[_0x5d3b6a(0x321)]();return this[_0x5d3b6a(0x2af)](this[_0x5d3b6a(0x2d5)]['onCommandExecuted']((_0xefb3ba,_0x44d966)=>{var _0x41f166=_0x5d3b6a;if(_0xefb3ba[_0x41f166(0xf0)]!==_0x5181b7['MUTATION']||_0x44d966!=null&&_0x44d966[_0x41f166(0x3b8)]||_0x44d966!=null&&_0x44d966[_0x41f166(0x153)]||_0xefb3ba['id']===_0x62620b['id'])return;const _0x2cdd04=_0xefb3ba[_0x41f166(0x180)];if((_0x2cdd04==null?void 0x0:_0x2cdd04[_0x41f166(0x32d)])!==this[_0x41f166(0x1b5)])return;const _0x56cc51=_0xefb3ba,_0x150e20=this[_0x41f166(0x1b4)]['interceptor'][_0x41f166(0x2bc)](this[_0x41f166(0x1b4)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x56cc51],this['_univerInstanceService'])||[_0x56cc51];this[_0x41f166(0x227)](_0x150e20[0x0]);})),_0x3da388;}};It=At([$(0x3,_0x3ce8f0(_0x277f78)),$(0x4,_0x3ce8f0(_0x367c0f)),$(0x5,_0x3ce8f0(_0x3ebb61)),$(0x6,_0x3ce8f0(_0x5d15d6)),$(0x7,_0x3ce8f0(ve)),$(0x8,_0x558d3e),$(0x9,_0x21f6c3),$(0xa,_0xcdf754),$(0xb,_0x301d19),$(0xc,_0x5c10ac(_t)),$(0xd,_0x5c10ac(J))],It);let St=class extends st{constructor(_0xa3041c,_0x71b81a,_0x45c4c2,_0xf888b,_0x520553,_0x3fcc00,_0xf24cf5,_0x224985,_0x5e818a,_0x437ac2,_0x210583,_0x30b477,_0x4c8298,_0x368b77,_0x450688){var _0x545623=_0x368389;super(_0xa3041c,_0x45c4c2,_0x71b81a,_0xf888b,_0x520553,_0x3fcc00,_0xf24cf5,_0x5e818a,_0x437ac2,_0x210583,_0x30b477,_0x4c8298,_0x368b77,_0x450688),this[_0x545623(0x1b5)]=_0xa3041c,this['type']=_0x71b81a,this['_sheetTransformSelectionsService']=_0x224985;}['_createHandler'](){var _0x2b966d=_0x368389;const _0x1ac937=super['_createHandler']();return _0x1ac937[_0x2b966d(0x319)]=_0x22d8f5=>this[_0x2b966d(0x347)][_0x2b966d(0x13b)](_0x22d8f5),_0x1ac937;}async[_0x368389(0x321)](){var _0x8ded9b=_0x368389;const _0x24e674=await super[_0x8ded9b(0x321)]();return this[_0x8ded9b(0x2af)](this[_0x8ded9b(0x2d5)]['onCommandExecuted']((_0x2db7a5,_0x35b630)=>{var _0xd6034=_0x8ded9b;if(_0x2db7a5[_0xd6034(0xf0)]!==_0x5181b7[_0xd6034(0x152)]||_0x35b630!=null&&_0x35b630[_0xd6034(0x3b8)]||_0x35b630!=null&&_0x35b630[_0xd6034(0x153)])return;const _0x33bb3c=_0x2db7a5['params'];if((_0x33bb3c==null?void 0x0:_0x33bb3c['unitId'])!==this[_0xd6034(0x1b5)])return;const _0x481822=_0x2db7a5,_0x25aab9=this[_0xd6034(0x1b4)][_0xd6034(0x38b)][_0xd6034(0x2bc)](this[_0xd6034(0x1b4)][_0xd6034(0x38b)][_0xd6034(0x1d0)]()[_0xd6034(0xa0)])([_0x481822],this[_0xd6034(0x14b)])||[_0x481822];this['_onLocalMutation'](_0x25aab9[0x0]);})),_0x24e674;}};St=At([$(0x3,_0x3ce8f0(_0x277f78)),$(0x4,_0x3ce8f0(_0x367c0f)),$(0x5,_0x3ce8f0(_0x3ebb61)),$(0x6,_0x3ce8f0(_0x5d15d6)),$(0x7,_0x3ce8f0(it)),$(0x8,_0x3ce8f0(ve)),$(0x9,_0x558d3e),$(0xa,_0x21f6c3),$(0xb,_0xcdf754),$(0xc,_0x301d19),$(0xd,_0x5c10ac(_t)),$(0xe,_0x5c10ac(J))],St);const Bs=_0xb11ef5('univer-pro.collaboration-client.network-condition.service');function Fs(_0x951a35){var _0x4e1ed1=_0x368389,_0x1d9690,_0x37ec55,_0x44a344,_0x355e8c,_0x183d96;const _0x192d76=_0x951a35['data'],_0x25e5f3=JSON[_0x4e1ed1(0x154)](_0x192d76);switch(_0x25e5f3['cmd']){case j[_0x4e1ed1(0x2ba)]:case j['HELLO']:{const _0x206c23=_0x25e5f3[_0x4e1ed1(0xbc)];return{..._0x25e5f3,'data':_0x206c23,'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};}case j[_0x4e1ed1(0x171)]:{const _0x37cea2=_0x25e5f3[_0x4e1ed1(0x2b3)];return{..._0x25e5f3,'data':_0x37cea2,'cmd':_0x25e5f3['cmd']};}case j[_0x4e1ed1(0x1f8)]:{const _0x33363b=_0x25e5f3[_0x4e1ed1(0x1e0)];switch(_0x33363b[_0x4e1ed1(0x159)]){case _0x19843e[_0x4e1ed1(0x238)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':(_0x1d9690=_0x33363b[_0x4e1ed1(0xb4)])==null?void 0x0:_0x1d9690['cs']},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e[_0x4e1ed1(0x1fe)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':(_0x37ec55=_0x33363b[_0x4e1ed1(0x24f)])==null?void 0x0:_0x37ec55['cs']},'cmd':_0x25e5f3['cmd']};case _0x19843e[_0x4e1ed1(0x398)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':(_0x44a344=_0x33363b[_0x4e1ed1(0x3b9)])==null?void 0x0:_0x44a344['cs']},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e[_0x4e1ed1(0x327)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':(_0x355e8c=_0x33363b['csRejEvent'])==null?void 0x0:_0x355e8c['cs']},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e['CHANGESET_SHOULD_RETRY']:return{..._0x25e5f3,'data':{..._0x33363b,'data':(_0x183d96=_0x33363b[_0x4e1ed1(0xcc)])==null?void 0x0:_0x183d96['cs']},'cmd':_0x25e5f3['cmd']};case _0x19843e['UPDATE_CURSOR']:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0x115)]},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e[_0x4e1ed1(0x16e)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0x218)]},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e[_0x4e1ed1(0x3a7)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0x143)]},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e[_0x4e1ed1(0xd4)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b['liveShareNewHost']},'cmd':_0x25e5f3['cmd']};case _0x19843e[_0x4e1ed1(0x360)]:case _0x19843e[_0x4e1ed1(0x203)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0xea)]},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e['LIVESHARE_TERMINATE']:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0x197)]},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e[_0x4e1ed1(0x1b3)]:return{..._0x25e5f3,'data':_0x33363b,'cmd':_0x25e5f3['cmd']};case _0x19843e[_0x4e1ed1(0x16a)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0x2b9)]},'cmd':_0x25e5f3['cmd']};case _0x19843e['UPDATE_PERMISSION_OBJ']:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0x2ae)]},'cmd':_0x25e5f3['cmd']};case _0x19843e[_0x4e1ed1(0xfc)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0xcf)]},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e['UNISCRIPT_RUN']:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0x1c1)]},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};default:return _0x25e5f3;}}default:return _0x25e5f3;}}function js(_0x1d0296){var _0x138833=_0x368389;switch(_0x1d0296[_0x138833(0x14d)]){case j[_0x138833(0x2ba)]:case j[_0x138833(0x1cb)]:return JSON[_0x138833(0x2bd)]({'cmd':_0x1d0296['cmd'],'routeKey':_0x1d0296[_0x138833(0x30c)]});case j[_0x138833(0x15f)]:{let _0x530178;switch(_0x1d0296[_0x138833(0x389)][_0x138833(0x159)]){case _0x19843e[_0x138833(0x15e)]:{_0x530178={'eventID':_0x19843e[_0x138833(0x15e)],'updateCursorEvent':_0x1d0296[_0x138833(0x389)][_0x138833(0x389)]};break;}case _0x19843e[_0x138833(0x3a7)]:{_0x530178={'eventID':_0x19843e['USERS_LEAVE'],'leaveEvent':_0x1d0296[_0x138833(0x389)][_0x138833(0x389)]};break;}case _0x19843e[_0x138833(0x16e)]:{_0x530178={'eventID':_0x19843e['USERS_ENTER'],'joinEvent':_0x1d0296[_0x138833(0x389)][_0x138833(0x389)]};break;}case _0x19843e[_0x138833(0xd4)]:{_0x530178={'eventID':_0x19843e[_0x138833(0xd4)],'liveShareNewHost':_0x1d0296[_0x138833(0x389)][_0x138833(0x389)]};break;}case _0x19843e[_0x138833(0x203)]:{_0x530178={'eventID':_0x19843e[_0x138833(0x203)],'liveShareOperation':_0x1d0296[_0x138833(0x389)][_0x138833(0x389)]};break;}case _0x19843e[_0x138833(0x2ef)]:{_0x530178={'eventID':_0x19843e[_0x138833(0x2ef)],'liveShareTerminate':_0x1d0296['data']['data']};break;}case _0x19843e[_0x138833(0xa8)]:{_0x530178={'eventID':_0x19843e['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1d0296['data']['data']};break;}case _0x19843e[_0x138833(0x360)]:{_0x530178={'eventID':_0x19843e['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x530178={'eventID':_0x1d0296[_0x138833(0x389)][_0x138833(0x159)]};}return JSON[_0x138833(0x2bd)]({'cmd':_0x1d0296[_0x138833(0x14d)],'routeKey':_0x1d0296[_0x138833(0x30c)],'collaMsg':_0x530178});}case j[_0x138833(0x171)]:return JSON[_0x138833(0x2bd)]({'cmd':_0x1d0296['cmd'],'routeKey':_0x1d0296[_0x138833(0x30c)],'joinReq':_0x1d0296[_0x138833(0x389)]});case j[_0x138833(0x105)]:return JSON[_0x138833(0x2bd)]({'cmd':_0x1d0296['cmd'],'routeKey':_0x1d0296[_0x138833(0x30c)],'leaveReq':_0x1d0296[_0x138833(0x389)]});default:throw new Error(_0x138833(0x13e));}}var Vs=Object[_0x368389(0x284)],Gs=(_0x3e9db0,_0x11ac43,_0x11943a,_0x5604d3)=>{var _0x36858f=_0x368389;for(var _0xdf5115=_0x5604d3>0x1?void 0x0:_0x5604d3?Vs(_0x11ac43,_0x11943a):_0x11ac43,_0x344d59=_0x3e9db0[_0x36858f(0x3b7)]-0x1,_0x274d47;_0x344d59>=0x0;_0x344d59--)(_0x274d47=_0x3e9db0[_0x344d59])&&(_0xdf5115=_0x274d47(_0xdf5115)||_0xdf5115);return _0xdf5115;},ye=(_0xecec9e,_0x5de04f)=>(_0x4f20cc,_0x1ea51a)=>_0x5de04f(_0x4f20cc,_0x1ea51a,_0xecec9e);const Oi=_0xb11ef5('univer-pro.collaboration-client-socket-service');function Ws(_0x11f377,_0x3cc763,_0x4b2308){var _0x5a1dd5=_0x368389;return _0x11f377+'/'+_0x3cc763+_0x5a1dd5(0x10e)+_0x4b2308+_0x5a1dd5(0x3af);}let Gt=class extends _0x1b9234{constructor(_0x2982e1,_0x56769e,_0x5cfd75,_0x2dcaae,_0x4e220d){var _0x20edb8=_0x368389;super(),this[_0x20edb8(0x39e)]=_0x2982e1,this[_0x20edb8(0x342)]=_0x56769e,this[_0x20edb8(0xb8)]=_0x5cfd75,this[_0x20edb8(0x12b)]=_0x2dcaae,this['_snapshotServerService']=_0x4e220d;}[_0x368389(0xc3)](_0x4266a7){var _0x3284f1=_0x368389;const _0x59f042=this[_0x3284f1(0x39e)]['get'](_0x4c7d58);if(!_0x59f042)throw new Error(_0x3284f1(0x26d));const _0x1ab88e=_0x59f042[_0x3284f1(0xa9)](_0x4266a7);if(!_0x1ab88e)throw new Error(_0x3284f1(0x250));const _0x554ce3=new _0x488b39(),_0x3b1710=new _0x7c3fbd();_0x554ce3['add'](_0x1ab88e[_0x3284f1(0x39f)][_0x3284f1(0x116)](_0x2995e0=>_0x3b1710['next'](_0x2995e0))),_0x554ce3['add'](_0x58dc5a(()=>_0x3b1710[_0x3284f1(0x355)]()));const _0x53ff8b=new _0x7c3fbd();_0x554ce3[_0x3284f1(0x36c)](_0x1ab88e['error$'][_0x3284f1(0x116)](_0x32afb5=>_0x53ff8b[_0x3284f1(0x29b)](_0x32afb5))),_0x554ce3[_0x3284f1(0x36c)](_0x58dc5a(()=>_0x53ff8b[_0x3284f1(0x355)]()));const _0x49e940=new _0x7c3fbd();_0x554ce3[_0x3284f1(0x36c)](_0x1ab88e[_0x3284f1(0x357)][_0x3284f1(0x116)](_0x2386bb=>{const _0x407e8a=Fs(_0x2386bb);_0x49e940['next'](_0x407e8a);})),_0x554ce3[_0x3284f1(0x36c)](_0x58dc5a(()=>_0x49e940[_0x3284f1(0x355)]()));let _0x5ae432;const _0x3c0340=()=>{var _0x58f00f=_0x3284f1;_0x53ff8b[_0x58f00f(0x29b)](new Event(_0x58f00f(0x2fc))),_0x3b1710[_0x58f00f(0x29b)](new Event(_0x58f00f(0x2fc))),_0x5ae432[_0x58f00f(0x24b)]();};return _0x5ae432={'memberID':'','close$':_0x3b1710[_0x3284f1(0x166)](),'error$':_0x53ff8b[_0x3284f1(0x166)](),'open$':_0x1ab88e[_0x3284f1(0xc8)],'message$':_0x49e940[_0x3284f1(0x166)](),'send':_0x408adf=>{var _0x46ebbe=_0x3284f1;if(_0x408adf['cmd']===j[_0x46ebbe(0x15f)]){if(_0x408adf[_0x46ebbe(0x389)]['eventID']===_0x19843e[_0x46ebbe(0x1a8)]){this['_submitChangeset'](_0x5ae432,_0x408adf['data'])[_0x46ebbe(0x126)](_0x1db740=>{var _0x347bd6=_0x46ebbe;this[_0x347bd6(0x12b)]['error'](_0x1db740),_0x3c0340();});return;}if(_0x408adf['data'][_0x46ebbe(0x159)]===_0x19843e[_0x46ebbe(0x14c)]){const _0xf53386=_0x408adf[_0x46ebbe(0x389)];this[_0x46ebbe(0x128)](_0xf53386)[_0x46ebbe(0x117)](_0x528c6a=>{var _0x4a551b=_0x46ebbe;_0x49e940[_0x4a551b(0x29b)]({'cmd':j['RECV'],'code':pe['OK'],'routeKey':_0xf53386[_0x4a551b(0x389)][_0x4a551b(0x1b5)],'routeType':'','data':{'eventID':_0x19843e[_0x4a551b(0x205)],'data':{'changesets':_0x528c6a}}});})[_0x46ebbe(0x126)](_0x2432a=>{this['_logService']['error'](_0x2432a),_0x3c0340();});return;}}_0x1ab88e[_0x46ebbe(0x1bb)](js(_0x408adf));},'close':()=>{var _0x488392=_0x3284f1;_0x1ab88e[_0x488392(0x24b)](),_0x554ce3['dispose']();}},_0x5ae432;}async[_0x368389(0x28f)](_0x3057fa,_0x5b5fb3){var _0x3bb12b=_0x368389,_0x2763a1;const {unitType:_0x1f7f68,unitID:_0x5b8038,changeset:_0x336b63}=_0x5b5fb3['data'],_0x2a41be={'unitID':_0x5b8038,'memberID':_0x3057fa[_0x3bb12b(0x2f0)],'type':_0x1f7f68,'changeset':_0x739362(_0x336b63)},_0x396b2f=this['_configService'][_0x3bb12b(0x19b)](K),_0x5be512=Ws((_0x2763a1=_0x396b2f==null?void 0x0:_0x396b2f[_0x3bb12b(0xf6)])!=null?_0x2763a1:Os,_0x1f7f68,_0x5b8038);try{await this[_0x3bb12b(0x342)]['post'](_0x5be512,{'body':_0x2a41be});}catch(_0x3d3c79){throw this[_0x3bb12b(0x12b)][_0x3bb12b(0x201)](_0x3bb12b(0x24d),_0x3bb12b(0x1af)),_0x3d3c79;}}async[_0x368389(0x128)](_0x2b6856){var _0x48532a=_0x368389;const {unitID:_0x5db0f9,from:_0x491bcb,to:_0x539fd3,unitType:_0xc4bfa3}=_0x2b6856[_0x48532a(0x389)];return(await this['_snapshotServerService'][_0x48532a(0x134)]({'metadata':void 0x0},{'unitID':_0x5db0f9,'type':_0xc4bfa3,'from':_0x491bcb,'to':_0x539fd3}))[_0x48532a(0x390)]['map'](_0x3769a8=>((_0x3769a8['mutations']===null||_0x3769a8['mutations']===void 0x0)&&(_0x3769a8[_0x48532a(0x162)]=[]),_0x3769a8));}};Gt=Gs([ye(0x0,_0x3ce8f0(_0x277f78)),ye(0x1,_0x3ce8f0(_0x5dc9e9)),ye(0x2,_0x3c30e0),ye(0x3,_0x21f6c3),ye(0x4,_0x2a795b)],Gt);var Ys=Object[_0x368389(0x284)],Ks=(_0x3e2d47,_0x502ec3,_0x1727d4,_0x1d8dae)=>{var _0x3940e7=_0x368389;for(var _0x49c189=_0x1d8dae>0x1?void 0x0:_0x1d8dae?Ys(_0x502ec3,_0x1727d4):_0x502ec3,_0x181dc6=_0x3e2d47[_0x3940e7(0x3b7)]-0x1,_0x3e096c;_0x181dc6>=0x0;_0x181dc6--)(_0x3e096c=_0x3e2d47[_0x181dc6])&&(_0x49c189=_0x3e096c(_0x49c189)||_0x49c189);return _0x49c189;},Re=(_0x13d418,_0x4b6cbe)=>(_0x3419d7,_0x1622c6)=>_0x4b6cbe(_0x3419d7,_0x1622c6,_0x13d418);let we=class extends _0x1b9234{constructor(_0x392462,_0xde7bf5,_0x2c82bb,_0x15ad15,_0x4fa3ef,_0xaac480){var _0x523445=_0x368389;super(),D(this,'_socket$',new _0x1593ab(void 0x0)),D(this,_0x523445(0x37a),this['_socket$'][_0x523445(0x166)]()),D(this,'_candidateSocket',null),D(this,_0x523445(0x1b8),new Map()),D(this,_0x523445(0x32c),new _0x1593ab(me[_0x523445(0x2aa)])),D(this,_0x523445(0x320),this['_status$']['asObservable']()),D(this,'_socketReady',!0x1),D(this,_0x523445(0x1be)),D(this,_0x523445(0x26a),0x0),D(this,_0x523445(0x396)),D(this,_0x523445(0x3aa)),(this[_0x523445(0x39e)]=_0x392462,this[_0x523445(0x12b)]=_0xde7bf5,this[_0x523445(0xb8)]=_0x2c82bb,this[_0x523445(0x15b)]=_0x15ad15,this['_collaborationUIEventService']=_0x4fa3ef,this[_0x523445(0x16b)]=_0xaac480,this[_0x523445(0x233)]());}get[_0x368389(0x31e)](){var _0x39da6c=_0x368389;return this[_0x39da6c(0x332)]['getValue']();}[_0x368389(0x233)](){var _0x3aad98=_0x368389;this[_0x3aad98(0x16b)]&&this[_0x3aad98(0x2af)](this[_0x3aad98(0x16b)][_0x3aad98(0x18d)]['subscribe'](_0x553e85=>{var _0x24e9e4=_0x3aad98;_0x553e85&&!this[_0x24e9e4(0x31e)]&&this['reconnect'](),_0x553e85||this[_0x24e9e4(0x2e0)]();}));}[_0x368389(0xc9)](){var _0x47d102=_0x368389;super[_0x47d102(0xc9)](),this['_clearRetryConnectingTimer'](),this[_0x47d102(0x2a6)](),this['_clearHeartbeatTimer'](),this[_0x47d102(0x1b8)][_0x47d102(0x20e)](_0x196a45=>_0x196a45['dispose']()),this[_0x47d102(0x1b8)][_0x47d102(0x183)](),this[_0x47d102(0x32c)][_0x47d102(0x355)]();}async[_0x368389(0x32f)](_0x4e5a65){var _0x4ef512=_0x368389;if(this[_0x4ef512(0x1b8)][_0x4ef512(0x274)](_0x4e5a65))return this[_0x4ef512(0x1b8)]['get'](_0x4e5a65);this[_0x4ef512(0xdc)]();const _0x47ef95=this[_0x4ef512(0x39e)][_0x4ef512(0x37c)](mt,_0x4e5a65,this['_socket$'][_0x4ef512(0x166)]());return this[_0x4ef512(0x1b8)][_0x4ef512(0x3ac)](_0x4e5a65,_0x47ef95),_0x47ef95;}[_0x368389(0x245)](_0x4d5bc6){var _0x7a33fb=_0x368389,_0x1eba8c;const _0x5f2c5b=this[_0x7a33fb(0x1b8)][_0x7a33fb(0x187)](_0x4d5bc6);_0x5f2c5b&&(this[_0x7a33fb(0x1b8)][_0x7a33fb(0x298)](_0x4d5bc6),_0x5f2c5b[_0x7a33fb(0x24b)]()),this[_0x7a33fb(0x1b8)][_0x7a33fb(0x336)]||(_0x1eba8c=this[_0x7a33fb(0x31e)])==null||_0x1eba8c[_0x7a33fb(0x24b)]();}[_0x368389(0x371)](){var _0x407748=_0x368389;this[_0x407748(0x26a)]=0x0,this[_0x407748(0xef)](),this[_0x407748(0x2e5)]();}['_clearRetryConnectingTimer'](){this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async[_0x368389(0x3ad)](){var _0xd6989=_0x368389,_0x68ef11;const _0x2e0010=this['_configService'][_0xd6989(0x19b)](K),_0x577b99=(_0x68ef11=_0x2e0010==null?void 0x0:_0x2e0010['collabWebSocketUrl'])!=null?_0x68ef11:Es,_0x472f68=await this[_0xd6989(0x15b)][_0xd6989(0xa9)](_0x577b99);return this[_0xd6989(0x3b2)]=_0x472f68,_0x472f68;}async[_0x368389(0xdc)](){var _0x1cacec=_0x368389,_0x5d9c5d,_0x55ccd3;try{const _0x56268d=(_0x55ccd3=(_0x5d9c5d=this[_0x1cacec(0x31e)])!=null?_0x5d9c5d:this[_0x1cacec(0x3b2)])!=null?_0x55ccd3:await this['_createSocket']();if(_0x56268d){const _0x17ad83=_0x56268d[_0x1cacec(0x1bb)];_0x56268d[_0x1cacec(0x1bb)]=_0x3bd77f=>(this[_0x1cacec(0x2e4)](),_0x17ad83['apply'](_0x56268d,[_0x3bd77f])),_0x56268d[_0x1cacec(0x357)][_0x1cacec(0x116)](_0x413317=>this[_0x1cacec(0x9a)](_0x56268d,_0x413317)),_0x56268d[_0x1cacec(0x33e)][_0x1cacec(0x279)](_0x1d30d3(0x1))[_0x1cacec(0x116)](_0x1cca7b=>this['_logService'][_0x1cacec(0x201)](_0x1cacec(0xe4),_0x1cca7b)),_0x56268d[_0x1cacec(0xc8)]['pipe'](_0x1d30d3(0x1))['subscribe'](()=>{var _0x1b3a0b=_0x1cacec;this[_0x1b3a0b(0x1ff)](_0x56268d);}),_0x56268d['close$'][_0x1cacec(0x279)](_0x1d30d3(0x1))[_0x1cacec(0x116)](_0x1f024a=>{var _0x4d624e=_0x1cacec;this[_0x4d624e(0x12b)][_0x4d624e(0x2c3)]('[CollaborationSessionService]',_0x4d624e(0x147),_0x1f024a),this[_0x4d624e(0x1c8)]();});}}catch(_0x2e0139){this[_0x1cacec(0x12b)][_0x1cacec(0x201)](_0x2e0139),this['_onConnectionFailed']();}}[_0x368389(0x1ff)](_0x5e7454){var _0x1ed62b=_0x368389;this[_0x1ed62b(0x12b)][_0x1ed62b(0x2c3)](_0x1ed62b(0x18e),_0x1ed62b(0xb6)),_0x5e7454['send']({'cmd':j[_0x1ed62b(0x1cb)]}),this[_0x1ed62b(0x2e4)]();}[_0x368389(0x2e0)](){var _0x76246=_0x368389;this[_0x76246(0x299)]=!0x1,this[_0x76246(0x3b2)]=null,this[_0x76246(0x32c)][_0x76246(0x29b)](me[_0x76246(0x10a)]),this[_0x76246(0x332)][_0x76246(0x29b)](null),this[_0x76246(0x2a6)](),this[_0x76246(0x1cf)]();}['_onConnectionFailed'](){var _0x52bd7f=_0x368389,_0x1b6e73;this['_onOffline'](),this[_0x52bd7f(0x26a)]<((_0x1b6e73=this['_configService'][_0x52bd7f(0x19b)](gs))!=null?_0x1b6e73:Ts)?(this[_0x52bd7f(0x367)][_0x52bd7f(0x3b6)]({'id':re[_0x52bd7f(0x22e)]}),this['_tryReconnect']()):this[_0x52bd7f(0x367)][_0x52bd7f(0x3b6)]({'id':re[_0x52bd7f(0x23f)]});}['_tryReconnect'](){var _0x42294b=_0x368389,_0x4fbc40;const _0x1c1534=this[_0x42294b(0x26a)],_0x59d568=this['_configService'][_0x42294b(0x19b)](K),_0x1002f8=_0x1c1534===0x0?0x0:((_0x4fbc40=_0x59d568==null?void 0x0:_0x59d568[_0x42294b(0x254)])!=null?_0x4fbc40:Ss)*0x2**_0x1c1534;this['_retryConnectingTimer']=setTimeout(()=>{var _0x2432bc=_0x42294b;clearTimeout(this['_retryConnectingTimer']),this[_0x2432bc(0x1be)]=null,this[_0x2432bc(0xdc)]();},_0x1002f8),this[_0x42294b(0x26a)]+=0x1;}[_0x368389(0x9a)](_0x5a7d94,_0x490d2d){var _0x1c6646=_0x368389;const {cmd:_0x3f847f}=_0x490d2d;_0x3f847f===j[_0x1c6646(0x1cb)]&&!this[_0x1c6646(0x299)]&&(_0x5a7d94[_0x1c6646(0x2f0)]=_0x490d2d['data']['memberID'],this['_socket$'][_0x1c6646(0x29b)](_0x5a7d94),this[_0x1c6646(0x32c)][_0x1c6646(0x29b)](me[_0x1c6646(0x17a)]),this['_socketReady']=!0x0,this[_0x1c6646(0x3b2)]=null),_0x3f847f===j[_0x1c6646(0x2ba)]&&this[_0x1c6646(0x2a6)](),this[_0x1c6646(0x2e4)]();}[_0x368389(0x2e4)](){var _0x46e694=_0x368389,_0x2854ef;this[_0x46e694(0x1cf)](),this[_0x46e694(0x396)]=setTimeout(()=>this[_0x46e694(0x1ea)](),(_0x2854ef=this[_0x46e694(0xb8)][_0x46e694(0x19b)](ms))!=null?_0x2854ef:Is);}[_0x368389(0x1ea)](){var _0x478bca=_0x368389;this['_socket'][_0x478bca(0x1bb)]({'cmd':j[_0x478bca(0x2ba)]}),this[_0x478bca(0x98)]();}[_0x368389(0x98)](){var _0x5710e4=_0x368389,_0x331018;this[_0x5710e4(0x3aa)]=setTimeout(()=>this[_0x5710e4(0x1c8)](),(_0x331018=this[_0x5710e4(0xb8)][_0x5710e4(0x19b)](di))!=null?_0x331018:fi);}[_0x368389(0x1cf)](){var _0xebd692=_0x368389;this[_0xebd692(0x396)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0xebd692(0x396)]=null);}[_0x368389(0x2a6)](){var _0x950408=_0x368389;this[_0x950408(0x3aa)]!=null&&(clearTimeout(this[_0x950408(0x3aa)]),this[_0x950408(0x3aa)]=null);}};we=Ks([Re(0x0,_0x3ce8f0(_0x277f78)),Re(0x1,_0x21f6c3),Re(0x2,_0x3c30e0),Re(0x3,Oi),Re(0x4,_0x3ce8f0(ve)),Re(0x5,_0x5c10ac(Bs))],we);var qs=Object['getOwnPropertyDescriptor'],zs=(_0x1d9823,_0x22c6e4,_0x599b22,_0x347e33)=>{var _0x3a6e03=_0x368389;for(var _0x39924d=_0x347e33>0x1?void 0x0:_0x347e33?qs(_0x22c6e4,_0x599b22):_0x22c6e4,_0x360afd=_0x1d9823[_0x3a6e03(0x3b7)]-0x1,_0x540ed7;_0x360afd>=0x0;_0x360afd--)(_0x540ed7=_0x1d9823[_0x360afd])&&(_0x39924d=_0x540ed7(_0x39924d)||_0x39924d);return _0x39924d;},Be=(_0x29c207,_0x14457c)=>(_0x57c321,_0x50cb34)=>_0x14457c(_0x57c321,_0x50cb34,_0x29c207);let nt=class extends _0x4eb61d{constructor(_0x54bc02,_0x5d7283,_0x1da033,_0x449554){var _0x5208dd=_0x368389,_0x25d89e;super(),D(this,_0x5208dd(0x1d9),new Map()),D(this,_0x5208dd(0x1eb),new _0x7c3fbd()),D(this,_0x5208dd(0x16d),this['_entityInit$']['asObservable']()),(this[_0x5208dd(0x39e)]=_0x54bc02,this[_0x5208dd(0x399)]=_0x5d7283,this[_0x5208dd(0xb8)]=_0x1da033,this[_0x5208dd(0x14b)]=_0x449554,((_0x25d89e=this[_0x5208dd(0xb8)][_0x5208dd(0x19b)](K))==null?void 0x0:_0x25d89e[_0x5208dd(0x2ed)])!==!0x1&&this[_0x5208dd(0x321)]());}['dispose'](){var _0x30b373=_0x368389;super['dispose'](),this[_0x30b373(0x1d9)][_0x30b373(0x20e)](_0x365ed2=>_0x365ed2[_0x30b373(0xc9)]()),this[_0x30b373(0x1d9)][_0x30b373(0x183)]();}[_0x368389(0x2a1)](_0x184820){var _0x57c59d=_0x368389,_0x196c31;return(_0x196c31=this['_entities'][_0x57c59d(0x187)](_0x184820))!=null?_0x196c31:null;}['getCollabEntity$'](_0xd2a16a){var _0x143a38=_0x368389;const _0x44f4e0=this[_0x143a38(0x2a1)](_0xd2a16a);return _0x44f4e0?_0x1da45a(_0x44f4e0):this[_0x143a38(0x1eb)]['pipe'](_0x21e8b1(_0x21b877=>_0x21b877[_0x143a38(0x1b5)]===_0xd2a16a));}[_0x368389(0x1d2)](_0x5d79be){var _0x6d8e3d=_0x368389;return _0x449e39(this[_0x6d8e3d(0x257)](_0x5d79be)['pipe'](_0x1b47e7(()=>{})));}[_0x368389(0x321)](){var _0x79689=_0x368389;this[_0x79689(0x14b)][_0x79689(0x2ad)](_0x16572b[_0x79689(0x305)])[_0x79689(0x279)](_0x204187(this[_0x79689(0x29d)]),_0x59b9d5(0x10))[_0x79689(0x116)](async _0xc6aa1e=>{var _0x430bd1=_0x79689;const _0x4c7cac=_0xc6aa1e[_0x430bd1(0x22c)](),_0x3b1be0=await this[_0x430bd1(0x1e8)](_0x4c7cac,Q[_0x430bd1(0x305)]);this['_entities'][_0x430bd1(0x3ac)](_0x4c7cac,_0x3b1be0);}),this[_0x79689(0x14b)][_0x79689(0x2ad)](_0x16572b['UNIVER_DOC'])[_0x79689(0x279)](_0x204187(this[_0x79689(0x29d)]),_0x59b9d5(0x10))[_0x79689(0x279)](_0x21e8b1(_0x2a81ab=>!_0x2a81ab[_0x79689(0x22c)]()[_0x79689(0x35d)]('__')))[_0x79689(0x116)](async _0x15bdba=>{var _0x394a81=_0x79689;const _0x355d2b=_0x15bdba['getUnitId'](),_0x5dd93d=await this[_0x394a81(0x1e8)](_0x355d2b,Q[_0x394a81(0x36a)]);this[_0x394a81(0x1d9)][_0x394a81(0x3ac)](_0x355d2b,_0x5dd93d);}),_0x1ca221(this[_0x79689(0x14b)][_0x79689(0xb5)](_0x16572b[_0x79689(0x305)]),this[_0x79689(0x14b)][_0x79689(0xb5)](_0x16572b['UNIVER_DOC']))[_0x79689(0x279)](_0x204187(this['dispose$']))[_0x79689(0x116)](_0x4e7c57=>{var _0x55d805=_0x79689;const _0x562eb6=_0x4e7c57['getUnitId'](),_0x2ac0d5=this[_0x55d805(0x1d9)][_0x55d805(0x187)](_0x562eb6);_0x2ac0d5&&(_0x2ac0d5[_0x55d805(0xc9)](),this[_0x55d805(0x1d9)]['delete'](_0x562eb6));});}async['_startCollaboration'](_0x3dbf3b,_0x28668f){var _0xe74cf3=_0x368389;const _0x3dfbda=await this[_0xe74cf3(0x399)]['requireSession'](_0x3dbf3b),_0x365e97=this[_0xe74cf3(0x39e)][_0xe74cf3(0x37c)](this[_0xe74cf3(0x10f)](_0x28668f),_0x3dbf3b,_0x28668f,_0x3dfbda);return await _0x365e97[_0xe74cf3(0x3b3)](),this['_entityInit$'][_0xe74cf3(0x29b)](_0x365e97),_0x365e97;}[_0x368389(0x10f)](_0x3bba68){var _0xd9e0d3=_0x368389;switch(_0x3bba68){case Q[_0xd9e0d3(0x36a)]:return It;case Q[_0xd9e0d3(0x305)]:return St;default:throw new Error(_0xd9e0d3(0x200)+_0x3bba68);}}};nt=zs([Be(0x0,_0x3ce8f0(_0x277f78)),Be(0x1,_0x3ce8f0(we)),Be(0x2,_0x3c30e0),Be(0x3,_0x558d3e)],nt);var Js=Object[_0x368389(0x284)],Xs=(_0x14a0c2,_0x1d8da2,_0x11a9cf,_0x1353fe)=>{var _0x2d3c4d=_0x368389;for(var _0x3495bd=_0x1353fe>0x1?void 0x0:_0x1353fe?Js(_0x1d8da2,_0x11a9cf):_0x1d8da2,_0x51843b=_0x14a0c2[_0x2d3c4d(0x3b7)]-0x1,_0x21c09c;_0x51843b>=0x0;_0x51843b--)(_0x21c09c=_0x14a0c2[_0x51843b])&&(_0x3495bd=_0x21c09c(_0x3495bd)||_0x3495bd);return _0x3495bd;},Wt=(_0x25399f,_0x53d467)=>(_0x37c4b2,_0x271619)=>_0x53d467(_0x37c4b2,_0x271619,_0x25399f);const Zs=_0x368389(0x2c1),Qs='Univer';let gt=class extends _0x1b9234{constructor(_0x5ad05e,_0x53796d){var _0x273662=_0x368389;super(),this[_0x273662(0x14b)]=_0x5ad05e,this[_0x273662(0xb8)]=_0x53796d,this[_0x273662(0x321)]();}['_init'](){var _0x54c51f=_0x368389;this[_0x54c51f(0x2af)](this['_univerInstanceService'][_0x54c51f(0x20f)][_0x54c51f(0x116)](()=>{var _0x3e92fb=_0x54c51f,_0x3ce1a7;const _0x463333=this[_0x3e92fb(0x14b)][_0x3e92fb(0x37f)]();let _0x3a2228=(_0x3ce1a7=this[_0x3e92fb(0xb8)][_0x3e92fb(0x19b)](Zs))!=null?_0x3ce1a7:Qs;_0x463333 instanceof _0x40ade1&&(_0x3a2228=_0x463333[_0x3e92fb(0xd9)]),document[_0x3e92fb(0x27c)]=_0x3a2228;}));}};gt=Xs([Wt(0x0,_0x558d3e),Wt(0x1,_0x3c30e0)],gt);var en=Object[_0x368389(0x284)],tn=(_0x1b77eb,_0x36a42b,_0x2e841a,_0x39be4d)=>{var _0x2062da=_0x368389;for(var _0x588447=_0x39be4d>0x1?void 0x0:_0x39be4d?en(_0x36a42b,_0x2e841a):_0x36a42b,_0x163495=_0x1b77eb[_0x2062da(0x3b7)]-0x1,_0x56542c;_0x163495>=0x0;_0x163495--)(_0x56542c=_0x1b77eb[_0x163495])&&(_0x588447=_0x56542c(_0x588447)||_0x588447);return _0x588447;},dt=(_0x55846c,_0x73d5d)=>(_0x33d167,_0x285b39)=>_0x73d5d(_0x33d167,_0x285b39,_0x55846c);let rt=class{constructor(_0x51dcf4,_0x9e8ab1,_0x5289b2){var _0x3bb3e8=_0x368389;this['_configService']=_0x51dcf4,this[_0x3bb3e8(0x342)]=_0x9e8ab1,this[_0x3bb3e8(0xd3)]=_0x5289b2,this['init']();}[_0x368389(0x3b3)](){var _0x10b0dd=_0x368389;this[_0x10b0dd(0x342)][_0x10b0dd(0x287)]({'priority':0x1,'interceptor':(_0x54ba21,_0x37e51a)=>_0x37e51a(_0x54ba21)[_0x10b0dd(0x279)](_0xc62b48(async _0x22b4dc=>{var _0x155c84=_0x10b0dd;const _0x1112a2=_0x22b4dc;if(_0x1112a2[_0x155c84(0x9d)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x155c84(0xd3)]['t'](_0x155c84(0x1dc)))){const _0x12b001=window[_0x155c84(0x224)](window['location'][_0x155c84(0x24a)]);window[_0x155c84(0x33a)][_0x155c84(0x24a)]=this[_0x155c84(0x14f)]()+_0x155c84(0x383)+_0x12b001;}}return _0x1112a2;}))});}[_0x368389(0x14f)](){var _0x2c8ebf=_0x368389,_0x4a0ee0;const _0x2e637b=this['_configService']['getConfig'](K);return(_0x4a0ee0=_0x2e637b==null?void 0x0:_0x2e637b[_0x2c8ebf(0x393)])!=null?_0x4a0ee0:Rs;}};rt=tn([dt(0x0,_0x3c30e0),dt(0x1,_0x3ce8f0(_0x5dc9e9)),dt(0x2,_0x3ce8f0(_0x3ebb61))],rt);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x51446d,_0x5b59a0,_0x5531da,_0x4a2bbf)=>{var _0x4a9c49=_0x368389;for(var _0x34e565=_0x4a2bbf>0x1?void 0x0:_0x4a2bbf?sn(_0x5b59a0,_0x5531da):_0x5b59a0,_0xd2f0f=_0x51446d[_0x4a9c49(0x3b7)]-0x1,_0x4d2bfd;_0xd2f0f>=0x0;_0xd2f0f--)(_0x4d2bfd=_0x51446d[_0xd2f0f])&&(_0x34e565=_0x4d2bfd(_0x34e565)||_0x34e565);return _0x34e565;},Yt=(_0x486597,_0x8f44dd)=>(_0x193a25,_0x387bc1)=>_0x8f44dd(_0x193a25,_0x387bc1,_0x486597);const rn=_0x368389(0x142);let Tt=class extends _0x1b9234{constructor(_0x22b2f5,_0x5b8611){var _0x40336d=_0x368389;super(),this[_0x40336d(0x27b)]=_0x22b2f5,this[_0x40336d(0xb8)]=_0x5b8611,this[_0x40336d(0x2c0)]();}[_0x368389(0x2c0)](){var _0x243b53=_0x368389;const _0x7ff0d0=this;this[_0x243b53(0x2af)](this[_0x243b53(0x27b)][_0x243b53(0x287)]({'priority':0x3e7,'interceptor':_0x42bfc0({'isMatch'(_0x49a29d){var _0x18e57a=_0x243b53,_0xacd155;if(_0x49a29d['method']===_0x18e57a(0x198)&&((_0xacd155=_0x49a29d[_0x18e57a(0x2b0)])!=null&&_0xacd155[_0x18e57a(0x369)])){const {objectID:_0x25b13f,objectType:_0x549edc}=_0x49a29d[_0x18e57a(0x2b0)][_0x18e57a(0x369)]||{};if(!_0x25b13f||_0x549edc===void 0x0)return!0x1;const _0x24e579=_0x7ff0d0[_0x18e57a(0x172)]()+'/'+_0x549edc+_0x18e57a(0x3a2)+_0x25b13f+_0x18e57a(0x2d7);if(_0x49a29d[_0x18e57a(0x1c9)]===_0x24e579)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x559fa9){var _0x83472b=_0x243b53,_0x462f55;return(_0x462f55=_0x559fa9[_0x83472b(0x2b0)])==null?void 0x0:_0x462f55[_0x83472b(0x369)];},'mergeParamsToRequest'(_0xa70db4,_0x2cc2c2){var _0x8df8bc=_0x243b53;const _0x2370ba=_0x7ff0d0[_0x8df8bc(0x172)]()+_0x8df8bc(0x234),_0xdd3333=_0xa70db4[_0x8df8bc(0x194)]((_0x3c3ed8,_0x4b6f11)=>{var _0x52213c=_0x8df8bc;const {unitID:_0x11f58a,objectID:_0x90c94f,objectType:_0x594b65,actions:_0x426dcc}=_0x4b6f11;return _0x3c3ed8[_0x11f58a]||(_0x3c3ed8[_0x11f58a]={}),_0x3c3ed8[_0x11f58a][_0x90c94f]||(_0x3c3ed8[_0x11f58a][_0x90c94f]={'objectID':_0x90c94f,'objectType':_0x594b65,'actions':[]}),_0x3c3ed8[_0x11f58a][_0x90c94f][_0x52213c(0x385)]['push'](..._0x426dcc),_0x3c3ed8;},{}),_0x32f1cd=[];for(const _0x53edc6 in _0xdd3333)for(const _0x2bd65f in _0xdd3333[_0x53edc6]){const {actions:_0x428f41,objectType:_0x4975e3}=_0xdd3333[_0x53edc6][_0x2bd65f],_0x1a56cd=[...new Set(_0x428f41)];_0x32f1cd[_0x8df8bc(0x291)]({'unitID':_0x53edc6,'objectID':_0x2bd65f,'objectType':_0x4975e3,'actions':_0x1a56cd});}return new _0x29f0e3(_0x8df8bc(0x198),_0x2370ba,{'headers':_0x2cc2c2[_0x8df8bc(0x177)],'withCredentials':_0x2cc2c2[_0x8df8bc(0x151)],'responseType':_0x2cc2c2[_0x8df8bc(0x14a)],'body':{'requests':_0x32f1cd}});}},{'distributeResult'(_0x4e5a8d,_0x3d84f6){var _0x198855=_0x243b53;const {objectActions:_0x3e12cf}=_0x4e5a8d;return _0x3d84f6[_0x198855(0x28c)](_0x5252da=>{var _0xef5ac1=_0x198855;const {unitID:_0x121a85,objectID:_0x349326,actions:_0xbd3c4f}=_0x5252da,_0x3bda18=_0x3e12cf[_0xef5ac1(0x36d)](_0x244967=>_0x244967[_0xef5ac1(0x1b5)]===_0x121a85&&_0x244967[_0xef5ac1(0x237)]===_0x349326),_0x3921d6=_0xbd3c4f[_0xef5ac1(0x28c)](_0x28a019=>_0x3bda18==null?void 0x0:_0x3bda18[_0xef5ac1(0x385)][_0xef5ac1(0x36d)](_0x40fa4d=>_0x40fa4d[_0xef5ac1(0xf2)]===_0x28a019))[_0xef5ac1(0x39d)](_0x97cc1b=>!!_0x97cc1b);return{'config':_0x5252da,'result':{'actions':_0x3921d6,'error':_0x4e5a8d[_0xef5ac1(0x201)]}};});}})}));}[_0x368389(0x172)](){var _0x3f762e=_0x368389,_0x5c4c6c;const _0x18ea1a=this[_0x3f762e(0xb8)]['getConfig'](K);return(_0x5c4c6c=_0x18ea1a==null?void 0x0:_0x18ea1a['authzUrl'])!=null?_0x5c4c6c:rn;}async[_0x368389(0x25f)](_0x5f4a6d){var _0x3677a5=_0x368389;const _0x3e9010=this[_0x3677a5(0x172)]()+'/'+_0x5f4a6d[_0x3677a5(0x345)]+_0x3677a5(0x2a4);return(await this[_0x3677a5(0x27b)][_0x3677a5(0x13c)](_0x3e9010,{'body':_0x5f4a6d}))[_0x3677a5(0x369)][_0x3677a5(0x237)]||'';}async['list'](_0x170e68){var _0x25f546=_0x368389;const _0x2fb622=this[_0x25f546(0x172)]()+_0x25f546(0x163);return(await this[_0x25f546(0x27b)]['post'](_0x2fb622,{'body':_0x170e68}))[_0x25f546(0x369)][_0x25f546(0x138)];}async[_0x368389(0x188)](_0x2ae1c5){var _0x446635=_0x368389,_0x64d96b,_0x2b58d5;const _0x6fd751=this['_getAPIPrefixPath']()+'/'+_0x2ae1c5[_0x446635(0x345)]+_0x446635(0x3a2)+_0x2ae1c5[_0x446635(0x237)],_0x3d601a=await this[_0x446635(0x27b)]['put'](_0x6fd751,{'body':_0x2ae1c5});if(((_0x2b58d5=(_0x64d96b=_0x3d601a==null?void 0x0:_0x3d601a[_0x446635(0x369)])==null?void 0x0:_0x64d96b[_0x446635(0x201)])==null?void 0x0:_0x2b58d5[_0x446635(0xa3)])!==0x1)throw new Error(_0x446635(0x2c7));}async[_0x368389(0x2df)](_0x3ff865){var _0x3c7878=_0x368389;const _0x5bf288=this['_getAPIPrefixPath']()+'/'+_0x3ff865[_0x3c7878(0x345)]+_0x3c7878(0x3a2)+_0x3ff865['objectID']+'/allowed';return(await this[_0x3c7878(0x27b)][_0x3c7878(0x13c)](_0x5bf288,{'body':_0x3ff865}))['body'][_0x3c7878(0x385)];}async[_0x368389(0x22f)](_0x500388){var _0x5d7ac1=_0x368389;const _0x4e6613=this[_0x5d7ac1(0x172)]()+_0x5d7ac1(0x234);return(await this['_HTTPService']['post'](_0x4e6613,{'body':{'requests':_0x500388}}))[_0x5d7ac1(0x369)][_0x5d7ac1(0x18f)];}async['listRoles'](_0xfa6429){var _0x1e8b8b=_0x368389;const _0x35b30a=this[_0x1e8b8b(0x172)]()+'/'+_0xfa6429['objectType']+_0x1e8b8b(0x2a3),_0x3d3a36=await this[_0x1e8b8b(0x27b)][_0x1e8b8b(0x13c)](_0x35b30a,{'body':_0xfa6429});return{'roles':_0x3d3a36[_0x1e8b8b(0x369)][_0x1e8b8b(0x1c7)],'actions':_0x3d3a36[_0x1e8b8b(0x369)][_0x1e8b8b(0x385)]};}async[_0x368389(0x1fc)](_0x5775a1){var _0x4714d2=_0x368389;const _0x5486be=this[_0x4714d2(0x172)]()+'/collaborator';await this[_0x4714d2(0x27b)][_0x4714d2(0x298)](_0x5486be,{'params':{'collaboratorID':_0x5775a1[_0x4714d2(0xad)],'objectID':_0x5775a1[_0x4714d2(0x237)],'unitID':_0x5775a1[_0x4714d2(0x1b5)]}});}async[_0x368389(0x181)](_0x4a092c){var _0xc7d16b=_0x368389;const _0x1346e1=this[_0xc7d16b(0x172)]()+_0xc7d16b(0x2fd);await this['_HTTPService'][_0xc7d16b(0x2d0)](_0x1346e1,{'body':_0x4a092c});}async[_0x368389(0x191)](_0x114c09){var _0x4f60ac=_0x368389;const _0xceaf46=this[_0x4f60ac(0x172)]()+_0x4f60ac(0x2fd);await this[_0x4f60ac(0x27b)][_0x4f60ac(0x13c)](_0xceaf46,{'body':_0x114c09});}async[_0x368389(0x174)](_0x48bd7a){var _0x18006d=_0x368389;const _0x4f318b=this[_0x18006d(0x172)]()+'/collaborator';return(await this[_0x18006d(0x27b)]['get'](_0x4f318b,{'params':{'objectID':_0x48bd7a[_0x18006d(0x237)],'unitID':_0x48bd7a[_0x18006d(0x1b5)]}}))[_0x18006d(0x369)]['collaborators'];}async['putCollaborators'](_0x6d843){var _0x42014a=_0x368389;const _0x3235fd=this[_0x42014a(0x172)]()+_0x42014a(0x2fd);await this['_HTTPService']['put'](_0x3235fd,{'body':_0x6d843});}};Tt=nn([Yt(0x0,_0x3ce8f0(_0x5dc9e9)),Yt(0x1,_0x3ce8f0(_0x3c30e0))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x5b67c3){var _0xf2454b=_0x368389;return _0x5b67c3&&_0x5b67c3[_0xf2454b(0x1dd)]&&Object[_0xf2454b(0x359)][_0xf2454b(0x91)][_0xf2454b(0xf4)](_0x5b67c3,_0xf2454b(0x127))?_0x5b67c3[_0xf2454b(0x127)]:_0x5b67c3;}var Ve={'exports':{}};function an(_0x10010c){var _0x40d6f6=_0x368389;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x10010c+_0x40d6f6(0x27a));}var Ge={'exports':{}},on=Ge[_0x368389(0x12a)],Kt;function ie(){return Kt||(Kt=0x1,function(_0x378340,_0x5a2cf0){(function(_0x29d1e4,_0x3534eb){_0x378340['exports']=_0x3534eb();}(on,function(){var _0x2b74ae=_0x2b74ae||function(_0x53236a,_0x75b4e4){var _0x5cbce0=_0x4f24,_0x27088c;if(typeof window<'u'&&window[_0x5cbce0(0x108)]&&(_0x27088c=window[_0x5cbce0(0x108)]),typeof self<'u'&&self[_0x5cbce0(0x108)]&&(_0x27088c=self[_0x5cbce0(0x108)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x27088c=globalThis['crypto']),!_0x27088c&&typeof window<'u'&&window['msCrypto']&&(_0x27088c=window[_0x5cbce0(0x30b)]),!_0x27088c&&typeof ft<'u'&&ft['crypto']&&(_0x27088c=ft[_0x5cbce0(0x108)]),!_0x27088c&&typeof an==_0x5cbce0(0x2ee))try{_0x27088c=require('crypto');}catch{}var _0x485b1e=function(){var _0x8d120b=_0x5cbce0;if(_0x27088c){if(typeof _0x27088c[_0x8d120b(0x16c)]=='function')try{return _0x27088c['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x27088c[_0x8d120b(0x9f)]=='function')try{return _0x27088c[_0x8d120b(0x9f)](0x4)[_0x8d120b(0x39a)]();}catch{}}throw new Error(_0x8d120b(0x3a1));},_0x5c5be8=Object['create']||(function(){function _0x50db7b(){}return function(_0x3aa02d){var _0x52ed56=_0x4f24,_0x442e00;return _0x50db7b[_0x52ed56(0x359)]=_0x3aa02d,_0x442e00=new _0x50db7b(),_0x50db7b[_0x52ed56(0x359)]=null,_0x442e00;};}()),_0x20c996={},_0x357a66=_0x20c996[_0x5cbce0(0x38a)]={},_0x22fdb3=_0x357a66[_0x5cbce0(0x110)]=(function(){return{'extend':function(_0x1f7fdc){var _0xacbba8=_0x4f24,_0x5e7ab4=_0x5c5be8(this);return _0x1f7fdc&&_0x5e7ab4[_0xacbba8(0x1f1)](_0x1f7fdc),(!_0x5e7ab4[_0xacbba8(0x91)](_0xacbba8(0x3b3))||this['init']===_0x5e7ab4[_0xacbba8(0x3b3)])&&(_0x5e7ab4['init']=function(){var _0x2bf6a4=_0xacbba8;_0x5e7ab4[_0x2bf6a4(0x37e)][_0x2bf6a4(0x3b3)][_0x2bf6a4(0x278)](this,arguments);}),_0x5e7ab4['init']['prototype']=_0x5e7ab4,_0x5e7ab4[_0xacbba8(0x37e)]=this,_0x5e7ab4;},'create':function(){var _0x3b47f0=_0x4f24,_0x862d1e=this[_0x3b47f0(0x11c)]();return _0x862d1e[_0x3b47f0(0x3b3)][_0x3b47f0(0x278)](_0x862d1e,arguments),_0x862d1e;},'init':function(){},'mixIn':function(_0x354bbc){var _0x4e710b=_0x4f24;for(var _0x7f1460 in _0x354bbc)_0x354bbc[_0x4e710b(0x91)](_0x7f1460)&&(this[_0x7f1460]=_0x354bbc[_0x7f1460]);_0x354bbc[_0x4e710b(0x91)](_0x4e710b(0xd8))&&(this[_0x4e710b(0xd8)]=_0x354bbc[_0x4e710b(0xd8)]);},'clone':function(){var _0x14abf8=_0x4f24;return this[_0x14abf8(0x3b3)][_0x14abf8(0x359)][_0x14abf8(0x11c)](this);}};}()),_0x21c056=_0x357a66[_0x5cbce0(0xed)]=_0x22fdb3[_0x5cbce0(0x11c)]({'init':function(_0x4872ca,_0x3a6826){var _0x30fe04=_0x5cbce0;_0x4872ca=this[_0x30fe04(0x10b)]=_0x4872ca||[],_0x3a6826!=_0x75b4e4?this['sigBytes']=_0x3a6826:this[_0x30fe04(0x27e)]=_0x4872ca[_0x30fe04(0x3b7)]*0x4;},'toString':function(_0x144d75){return(_0x144d75||_0x45d603)['stringify'](this);},'concat':function(_0x34b4bc){var _0x535029=_0x5cbce0,_0x13ed8a=this[_0x535029(0x10b)],_0x3ed605=_0x34b4bc[_0x535029(0x10b)],_0x2f88f7=this[_0x535029(0x27e)],_0x51653c=_0x34b4bc['sigBytes'];if(this[_0x535029(0x208)](),_0x2f88f7%0x4)for(var _0x3227ff=0x0;_0x3227ff<_0x51653c;_0x3227ff++){var _0x1d0654=_0x3ed605[_0x3227ff>>>0x2]>>>0x18-_0x3227ff%0x4*0x8&0xff;_0x13ed8a[_0x2f88f7+_0x3227ff>>>0x2]|=_0x1d0654<<0x18-(_0x2f88f7+_0x3227ff)%0x4*0x8;}else{for(var _0x1b75d3=0x0;_0x1b75d3<_0x51653c;_0x1b75d3+=0x4)_0x13ed8a[_0x2f88f7+_0x1b75d3>>>0x2]=_0x3ed605[_0x1b75d3>>>0x2];}return this[_0x535029(0x27e)]+=_0x51653c,this;},'clamp':function(){var _0x156258=_0x5cbce0,_0x33d7f9=this[_0x156258(0x10b)],_0x4a02eb=this[_0x156258(0x27e)];_0x33d7f9[_0x4a02eb>>>0x2]&=0xffffffff<<0x20-_0x4a02eb%0x4*0x8,_0x33d7f9[_0x156258(0x3b7)]=_0x53236a[_0x156258(0x219)](_0x4a02eb/0x4);},'clone':function(){var _0x5a68ba=_0x5cbce0,_0x112c46=_0x22fdb3[_0x5a68ba(0x311)][_0x5a68ba(0xf4)](this);return _0x112c46[_0x5a68ba(0x10b)]=this['words'][_0x5a68ba(0x2c8)](0x0),_0x112c46;},'random':function(_0x417669){var _0x13ffa0=_0x5cbce0;for(var _0x3dafd0=[],_0x25ef27=0x0;_0x25ef27<_0x417669;_0x25ef27+=0x4)_0x3dafd0[_0x13ffa0(0x291)](_0x485b1e());return new _0x21c056[(_0x13ffa0(0x3b3))](_0x3dafd0,_0x417669);}}),_0x2da139=_0x20c996[_0x5cbce0(0x2cc)]={},_0x45d603=_0x2da139[_0x5cbce0(0x104)]={'stringify':function(_0x33c41e){var _0x2423ca=_0x5cbce0;for(var _0x36debb=_0x33c41e[_0x2423ca(0x10b)],_0x374148=_0x33c41e[_0x2423ca(0x27e)],_0x22eb4e=[],_0x54ae12=0x0;_0x54ae12<_0x374148;_0x54ae12++){var _0x2401ed=_0x36debb[_0x54ae12>>>0x2]>>>0x18-_0x54ae12%0x4*0x8&0xff;_0x22eb4e['push']((_0x2401ed>>>0x4)[_0x2423ca(0xd8)](0x10)),_0x22eb4e[_0x2423ca(0x291)]((_0x2401ed&0xf)[_0x2423ca(0xd8)](0x10));}return _0x22eb4e[_0x2423ca(0x397)]('');},'parse':function(_0x115e42){var _0x3a6a3f=_0x5cbce0;for(var _0x1875fb=_0x115e42[_0x3a6a3f(0x3b7)],_0x1b11fd=[],_0x33a97b=0x0;_0x33a97b<_0x1875fb;_0x33a97b+=0x2)_0x1b11fd[_0x33a97b>>>0x3]|=parseInt(_0x115e42['substr'](_0x33a97b,0x2),0x10)<<0x18-_0x33a97b%0x8*0x4;return new _0x21c056['init'](_0x1b11fd,_0x1875fb/0x2);}},_0x4864b4=_0x2da139[_0x5cbce0(0xe1)]={'stringify':function(_0x1a67a9){var _0x5904a3=_0x5cbce0;for(var _0xd5e28c=_0x1a67a9['words'],_0x5d2292=_0x1a67a9['sigBytes'],_0x58be91=[],_0x5c61a2=0x0;_0x5c61a2<_0x5d2292;_0x5c61a2++){var _0x4f0f84=_0xd5e28c[_0x5c61a2>>>0x2]>>>0x18-_0x5c61a2%0x4*0x8&0xff;_0x58be91[_0x5904a3(0x291)](String['fromCharCode'](_0x4f0f84));}return _0x58be91['join']('');},'parse':function(_0x2ca48c){var _0x4092a6=_0x5cbce0;for(var _0x18c0e8=_0x2ca48c[_0x4092a6(0x3b7)],_0x220523=[],_0xf31410=0x0;_0xf31410<_0x18c0e8;_0xf31410++)_0x220523[_0xf31410>>>0x2]|=(_0x2ca48c[_0x4092a6(0x232)](_0xf31410)&0xff)<<0x18-_0xf31410%0x4*0x8;return new _0x21c056['init'](_0x220523,_0x18c0e8);}},_0x1710ca=_0x2da139[_0x5cbce0(0x392)]={'stringify':function(_0x12f4cf){try{return decodeURIComponent(escape(_0x4864b4['stringify'](_0x12f4cf)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x40a5cd){var _0x90ca22=_0x5cbce0;return _0x4864b4[_0x90ca22(0x154)](unescape(encodeURIComponent(_0x40a5cd)));}},_0x13bc63=_0x357a66['BufferedBlockAlgorithm']=_0x22fdb3[_0x5cbce0(0x11c)]({'reset':function(){var _0x56caf0=_0x5cbce0;this['_data']=new _0x21c056[(_0x56caf0(0x3b3))](),this[_0x56caf0(0x95)]=0x0;},'_append':function(_0x2df525){var _0x25c372=_0x5cbce0;typeof _0x2df525==_0x25c372(0x106)&&(_0x2df525=_0x1710ca[_0x25c372(0x154)](_0x2df525)),this['_data'][_0x25c372(0x185)](_0x2df525),this['_nDataBytes']+=_0x2df525['sigBytes'];},'_process':function(_0x3c3112){var _0x1c1bb9=_0x5cbce0,_0x4e0561,_0x4743e4=this[_0x1c1bb9(0x28d)],_0x1a3fe7=_0x4743e4['words'],_0x34d1a0=_0x4743e4[_0x1c1bb9(0x27e)],_0x19e77d=this[_0x1c1bb9(0x118)],_0x254327=_0x19e77d*0x4,_0x323fe5=_0x34d1a0/_0x254327;_0x3c3112?_0x323fe5=_0x53236a[_0x1c1bb9(0x219)](_0x323fe5):_0x323fe5=_0x53236a[_0x1c1bb9(0x13a)]((_0x323fe5|0x0)-this['_minBufferSize'],0x0);var _0x51ff25=_0x323fe5*_0x19e77d,_0x3d2d8c=_0x53236a[_0x1c1bb9(0x129)](_0x51ff25*0x4,_0x34d1a0);if(_0x51ff25){for(var _0x762d17=0x0;_0x762d17<_0x51ff25;_0x762d17+=_0x19e77d)this['_doProcessBlock'](_0x1a3fe7,_0x762d17);_0x4e0561=_0x1a3fe7[_0x1c1bb9(0x2f4)](0x0,_0x51ff25),_0x4743e4[_0x1c1bb9(0x27e)]-=_0x3d2d8c;}return new _0x21c056[(_0x1c1bb9(0x3b3))](_0x4e0561,_0x3d2d8c);},'clone':function(){var _0xa09c53=_0x5cbce0,_0x103db2=_0x22fdb3['clone'][_0xa09c53(0xf4)](this);return _0x103db2[_0xa09c53(0x28d)]=this[_0xa09c53(0x28d)][_0xa09c53(0x311)](),_0x103db2;},'_minBufferSize':0x0});_0x357a66[_0x5cbce0(0xbf)]=_0x13bc63[_0x5cbce0(0x11c)]({'cfg':_0x22fdb3[_0x5cbce0(0x11c)](),'init':function(_0x45f26a){var _0x5a0a3b=_0x5cbce0;this[_0x5a0a3b(0xa4)]=this[_0x5a0a3b(0xa4)][_0x5a0a3b(0x11c)](_0x45f26a),this['reset']();},'reset':function(){var _0x3dc4bb=_0x5cbce0;_0x13bc63[_0x3dc4bb(0x2c5)][_0x3dc4bb(0xf4)](this),this[_0x3dc4bb(0x339)]();},'update':function(_0x31354c){var _0x1a027b=_0x5cbce0;return this['_append'](_0x31354c),this[_0x1a027b(0x36b)](),this;},'finalize':function(_0x51daf4){var _0x30f0e2=_0x5cbce0;_0x51daf4&&this['_append'](_0x51daf4);var _0x1914e9=this[_0x30f0e2(0x2f7)]();return _0x1914e9;},'blockSize':0x10,'_createHelper':function(_0x51eae7){return function(_0x44d3c8,_0x3e0410){var _0x50139b=_0x4f24;return new _0x51eae7['init'](_0x3e0410)[_0x50139b(0x260)](_0x44d3c8);};},'_createHmacHelper':function(_0x508d56){return function(_0x568062,_0x4a3245){var _0x6cb7b7=_0x4f24;return new _0x2f83a2['HMAC'][(_0x6cb7b7(0x3b3))](_0x508d56,_0x4a3245)[_0x6cb7b7(0x260)](_0x568062);};}});var _0x2f83a2=_0x20c996[_0x5cbce0(0x351)]={};return _0x20c996;}(Math);return _0x2b74ae;}));}(Ge)),Ge['exports'];}var We={'exports':{}},cn=We[_0x368389(0x12a)],qt;function Ri(){return qt||(qt=0x1,function(_0x236ff1,_0x4d5cac){(function(_0x1d6599,_0x35fd63){var _0x5cf296=_0x4f24;_0x236ff1[_0x5cf296(0x12a)]=_0x35fd63(ie());}(cn,function(_0x4252aa){var _0x46eb2e=_0x4f24;return(function(){var _0x147915=_0x4f24,_0x1b87c6=_0x4252aa,_0x38bd7c=_0x1b87c6[_0x147915(0x38a)],_0x9d86be=_0x38bd7c[_0x147915(0xed)],_0x557958=_0x1b87c6[_0x147915(0x2cc)];_0x557958[_0x147915(0x161)]={'stringify':function(_0xbe1ec6){var _0x44421f=_0x147915,_0x92ff24=_0xbe1ec6[_0x44421f(0x10b)],_0x58c24e=_0xbe1ec6[_0x44421f(0x27e)],_0x514f0e=this[_0x44421f(0x244)];_0xbe1ec6[_0x44421f(0x208)]();for(var _0x8017f=[],_0x532180=0x0;_0x532180<_0x58c24e;_0x532180+=0x3)for(var _0x506e72=_0x92ff24[_0x532180>>>0x2]>>>0x18-_0x532180%0x4*0x8&0xff,_0x29dff6=_0x92ff24[_0x532180+0x1>>>0x2]>>>0x18-(_0x532180+0x1)%0x4*0x8&0xff,_0x439db1=_0x92ff24[_0x532180+0x2>>>0x2]>>>0x18-(_0x532180+0x2)%0x4*0x8&0xff,_0xc66e1c=_0x506e72<<0x10|_0x29dff6<<0x8|_0x439db1,_0x3d2a5e=0x0;_0x3d2a5e<0x4&&_0x532180+_0x3d2a5e*0.75<_0x58c24e;_0x3d2a5e++)_0x8017f[_0x44421f(0x291)](_0x514f0e['charAt'](_0xc66e1c>>>0x6*(0x3-_0x3d2a5e)&0x3f));var _0x5416bb=_0x514f0e[_0x44421f(0xd1)](0x40);if(_0x5416bb){for(;_0x8017f[_0x44421f(0x3b7)]%0x4;)_0x8017f['push'](_0x5416bb);}return _0x8017f[_0x44421f(0x397)]('');},'parse':function(_0x7207d4){var _0x4346ae=_0x147915,_0x39df37=_0x7207d4['length'],_0x2724db=this[_0x4346ae(0x244)],_0x25d43b=this[_0x4346ae(0x293)];if(!_0x25d43b){_0x25d43b=this['_reverseMap']=[];for(var _0x2b8c12=0x0;_0x2b8c12<_0x2724db[_0x4346ae(0x3b7)];_0x2b8c12++)_0x25d43b[_0x2724db[_0x4346ae(0x232)](_0x2b8c12)]=_0x2b8c12;}var _0x393604=_0x2724db['charAt'](0x40);if(_0x393604){var _0x30267e=_0x7207d4['indexOf'](_0x393604);_0x30267e!==-0x1&&(_0x39df37=_0x30267e);}return _0x1b2555(_0x7207d4,_0x39df37,_0x25d43b);},'_map':_0x147915(0x186)};function _0x1b2555(_0xa186f3,_0x14bad8,_0x55eb4f){var _0x224ff8=_0x147915;for(var _0x43e50a=[],_0x4d2aa3=0x0,_0x40adad=0x0;_0x40adad<_0x14bad8;_0x40adad++)if(_0x40adad%0x4){var _0x83ec9=_0x55eb4f[_0xa186f3[_0x224ff8(0x232)](_0x40adad-0x1)]<<_0x40adad%0x4*0x2,_0x38c4a8=_0x55eb4f[_0xa186f3[_0x224ff8(0x232)](_0x40adad)]>>>0x6-_0x40adad%0x4*0x2,_0x594d87=_0x83ec9|_0x38c4a8;_0x43e50a[_0x4d2aa3>>>0x2]|=_0x594d87<<0x18-_0x4d2aa3%0x4*0x8,_0x4d2aa3++;}return _0x9d86be[_0x224ff8(0x25f)](_0x43e50a,_0x4d2aa3);}}()),_0x4252aa[_0x46eb2e(0x2cc)][_0x46eb2e(0x161)];}));}(We)),We['exports'];}var Ye={'exports':{}},_n=Ye[_0x368389(0x12a)],zt;function hn(){var _0xddca11=_0x368389;return zt||(zt=0x1,function(_0x1ba40b,_0x2785b7){(function(_0x3f8706,_0x4519e2){var _0x19a5c8=_0x4f24;_0x1ba40b[_0x19a5c8(0x12a)]=_0x4519e2(ie());}(_n,function(_0x49ad3c){var _0x32af37=_0x4f24;return function(_0x4d4bbb){var _0x209c48=_0x4f24,_0x3764ef=_0x49ad3c,_0x4307fb=_0x3764ef[_0x209c48(0x38a)],_0x243356=_0x4307fb[_0x209c48(0xed)],_0x1d33a0=_0x4307fb[_0x209c48(0xbf)],_0xadb36=_0x3764ef[_0x209c48(0x351)],_0x29472c=[];(function(){var _0x2f2820=_0x209c48;for(var _0x1beba6=0x0;_0x1beba6<0x40;_0x1beba6++)_0x29472c[_0x1beba6]=_0x4d4bbb[_0x2f2820(0x2b4)](_0x4d4bbb[_0x2f2820(0x285)](_0x1beba6+0x1))*0x100000000|0x0;}());var _0x4cbc37=_0xadb36['MD5']=_0x1d33a0['extend']({'_doReset':function(){var _0x179d73=_0x209c48;this[_0x179d73(0x356)]=new _0x243356[(_0x179d73(0x3b3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5106d3,_0x3d3e05){var _0x5e296e=_0x209c48;for(var _0x578cd2=0x0;_0x578cd2<0x10;_0x578cd2++){var _0x4bea27=_0x3d3e05+_0x578cd2,_0x48fe5c=_0x5106d3[_0x4bea27];_0x5106d3[_0x4bea27]=(_0x48fe5c<<0x8|_0x48fe5c>>>0x18)&0xff00ff|(_0x48fe5c<<0x18|_0x48fe5c>>>0x8)&0xff00ff00;}var _0x3382c8=this[_0x5e296e(0x356)]['words'],_0xd19611=_0x5106d3[_0x3d3e05+0x0],_0x44a209=_0x5106d3[_0x3d3e05+0x1],_0x1c241b=_0x5106d3[_0x3d3e05+0x2],_0x4173a3=_0x5106d3[_0x3d3e05+0x3],_0x48b26a=_0x5106d3[_0x3d3e05+0x4],_0x15b05f=_0x5106d3[_0x3d3e05+0x5],_0x384e6d=_0x5106d3[_0x3d3e05+0x6],_0x567235=_0x5106d3[_0x3d3e05+0x7],_0x26ae98=_0x5106d3[_0x3d3e05+0x8],_0x117b1d=_0x5106d3[_0x3d3e05+0x9],_0x7db03c=_0x5106d3[_0x3d3e05+0xa],_0x34eaaf=_0x5106d3[_0x3d3e05+0xb],_0x5ccab4=_0x5106d3[_0x3d3e05+0xc],_0x14e358=_0x5106d3[_0x3d3e05+0xd],_0x3e336a=_0x5106d3[_0x3d3e05+0xe],_0x4d06a2=_0x5106d3[_0x3d3e05+0xf],_0x5dd336=_0x3382c8[0x0],_0x59c292=_0x3382c8[0x1],_0x23d60d=_0x3382c8[0x2],_0x4f5def=_0x3382c8[0x3];_0x5dd336=_0x3f4763(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0xd19611,0x7,_0x29472c[0x0]),_0x4f5def=_0x3f4763(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x44a209,0xc,_0x29472c[0x1]),_0x23d60d=_0x3f4763(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x1c241b,0x11,_0x29472c[0x2]),_0x59c292=_0x3f4763(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x4173a3,0x16,_0x29472c[0x3]),_0x5dd336=_0x3f4763(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x48b26a,0x7,_0x29472c[0x4]),_0x4f5def=_0x3f4763(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x15b05f,0xc,_0x29472c[0x5]),_0x23d60d=_0x3f4763(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x384e6d,0x11,_0x29472c[0x6]),_0x59c292=_0x3f4763(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x567235,0x16,_0x29472c[0x7]),_0x5dd336=_0x3f4763(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x26ae98,0x7,_0x29472c[0x8]),_0x4f5def=_0x3f4763(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x117b1d,0xc,_0x29472c[0x9]),_0x23d60d=_0x3f4763(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x7db03c,0x11,_0x29472c[0xa]),_0x59c292=_0x3f4763(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x34eaaf,0x16,_0x29472c[0xb]),_0x5dd336=_0x3f4763(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x5ccab4,0x7,_0x29472c[0xc]),_0x4f5def=_0x3f4763(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x14e358,0xc,_0x29472c[0xd]),_0x23d60d=_0x3f4763(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x3e336a,0x11,_0x29472c[0xe]),_0x59c292=_0x3f4763(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x4d06a2,0x16,_0x29472c[0xf]),_0x5dd336=_0x1fe351(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x44a209,0x5,_0x29472c[0x10]),_0x4f5def=_0x1fe351(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x384e6d,0x9,_0x29472c[0x11]),_0x23d60d=_0x1fe351(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x34eaaf,0xe,_0x29472c[0x12]),_0x59c292=_0x1fe351(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0xd19611,0x14,_0x29472c[0x13]),_0x5dd336=_0x1fe351(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x15b05f,0x5,_0x29472c[0x14]),_0x4f5def=_0x1fe351(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x7db03c,0x9,_0x29472c[0x15]),_0x23d60d=_0x1fe351(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x4d06a2,0xe,_0x29472c[0x16]),_0x59c292=_0x1fe351(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x48b26a,0x14,_0x29472c[0x17]),_0x5dd336=_0x1fe351(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x117b1d,0x5,_0x29472c[0x18]),_0x4f5def=_0x1fe351(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x3e336a,0x9,_0x29472c[0x19]),_0x23d60d=_0x1fe351(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x4173a3,0xe,_0x29472c[0x1a]),_0x59c292=_0x1fe351(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x26ae98,0x14,_0x29472c[0x1b]),_0x5dd336=_0x1fe351(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x14e358,0x5,_0x29472c[0x1c]),_0x4f5def=_0x1fe351(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x1c241b,0x9,_0x29472c[0x1d]),_0x23d60d=_0x1fe351(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x567235,0xe,_0x29472c[0x1e]),_0x59c292=_0x1fe351(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x5ccab4,0x14,_0x29472c[0x1f]),_0x5dd336=_0x5c66a4(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x15b05f,0x4,_0x29472c[0x20]),_0x4f5def=_0x5c66a4(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x26ae98,0xb,_0x29472c[0x21]),_0x23d60d=_0x5c66a4(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x34eaaf,0x10,_0x29472c[0x22]),_0x59c292=_0x5c66a4(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x3e336a,0x17,_0x29472c[0x23]),_0x5dd336=_0x5c66a4(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x44a209,0x4,_0x29472c[0x24]),_0x4f5def=_0x5c66a4(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x48b26a,0xb,_0x29472c[0x25]),_0x23d60d=_0x5c66a4(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x567235,0x10,_0x29472c[0x26]),_0x59c292=_0x5c66a4(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x7db03c,0x17,_0x29472c[0x27]),_0x5dd336=_0x5c66a4(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x14e358,0x4,_0x29472c[0x28]),_0x4f5def=_0x5c66a4(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0xd19611,0xb,_0x29472c[0x29]),_0x23d60d=_0x5c66a4(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x4173a3,0x10,_0x29472c[0x2a]),_0x59c292=_0x5c66a4(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x384e6d,0x17,_0x29472c[0x2b]),_0x5dd336=_0x5c66a4(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x117b1d,0x4,_0x29472c[0x2c]),_0x4f5def=_0x5c66a4(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x5ccab4,0xb,_0x29472c[0x2d]),_0x23d60d=_0x5c66a4(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x4d06a2,0x10,_0x29472c[0x2e]),_0x59c292=_0x5c66a4(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x1c241b,0x17,_0x29472c[0x2f]),_0x5dd336=_0x4da160(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0xd19611,0x6,_0x29472c[0x30]),_0x4f5def=_0x4da160(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x567235,0xa,_0x29472c[0x31]),_0x23d60d=_0x4da160(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x3e336a,0xf,_0x29472c[0x32]),_0x59c292=_0x4da160(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x15b05f,0x15,_0x29472c[0x33]),_0x5dd336=_0x4da160(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x5ccab4,0x6,_0x29472c[0x34]),_0x4f5def=_0x4da160(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x4173a3,0xa,_0x29472c[0x35]),_0x23d60d=_0x4da160(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x7db03c,0xf,_0x29472c[0x36]),_0x59c292=_0x4da160(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x44a209,0x15,_0x29472c[0x37]),_0x5dd336=_0x4da160(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x26ae98,0x6,_0x29472c[0x38]),_0x4f5def=_0x4da160(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x4d06a2,0xa,_0x29472c[0x39]),_0x23d60d=_0x4da160(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x384e6d,0xf,_0x29472c[0x3a]),_0x59c292=_0x4da160(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x14e358,0x15,_0x29472c[0x3b]),_0x5dd336=_0x4da160(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x48b26a,0x6,_0x29472c[0x3c]),_0x4f5def=_0x4da160(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x34eaaf,0xa,_0x29472c[0x3d]),_0x23d60d=_0x4da160(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x1c241b,0xf,_0x29472c[0x3e]),_0x59c292=_0x4da160(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x117b1d,0x15,_0x29472c[0x3f]),_0x3382c8[0x0]=_0x3382c8[0x0]+_0x5dd336|0x0,_0x3382c8[0x1]=_0x3382c8[0x1]+_0x59c292|0x0,_0x3382c8[0x2]=_0x3382c8[0x2]+_0x23d60d|0x0,_0x3382c8[0x3]=_0x3382c8[0x3]+_0x4f5def|0x0;},'_doFinalize':function(){var _0x4c874f=_0x209c48,_0x3e812c=this[_0x4c874f(0x28d)],_0x355a01=_0x3e812c[_0x4c874f(0x10b)],_0xc98ae=this['_nDataBytes']*0x8,_0x42fe1b=_0x3e812c['sigBytes']*0x8;_0x355a01[_0x42fe1b>>>0x5]|=0x80<<0x18-_0x42fe1b%0x20;var _0xdb9d39=_0x4d4bbb[_0x4c874f(0x2e8)](_0xc98ae/0x100000000),_0x520d9c=_0xc98ae;_0x355a01[(_0x42fe1b+0x40>>>0x9<<0x4)+0xf]=(_0xdb9d39<<0x8|_0xdb9d39>>>0x18)&0xff00ff|(_0xdb9d39<<0x18|_0xdb9d39>>>0x8)&0xff00ff00,_0x355a01[(_0x42fe1b+0x40>>>0x9<<0x4)+0xe]=(_0x520d9c<<0x8|_0x520d9c>>>0x18)&0xff00ff|(_0x520d9c<<0x18|_0x520d9c>>>0x8)&0xff00ff00,_0x3e812c[_0x4c874f(0x27e)]=(_0x355a01[_0x4c874f(0x3b7)]+0x1)*0x4,this[_0x4c874f(0x36b)]();for(var _0x2bf352=this[_0x4c874f(0x356)],_0x4e3303=_0x2bf352['words'],_0x4e3292=0x0;_0x4e3292<0x4;_0x4e3292++){var _0x4950e7=_0x4e3303[_0x4e3292];_0x4e3303[_0x4e3292]=(_0x4950e7<<0x8|_0x4950e7>>>0x18)&0xff00ff|(_0x4950e7<<0x18|_0x4950e7>>>0x8)&0xff00ff00;}return _0x2bf352;},'clone':function(){var _0x36cfef=_0x209c48,_0x4e0af0=_0x1d33a0['clone'][_0x36cfef(0xf4)](this);return _0x4e0af0[_0x36cfef(0x356)]=this[_0x36cfef(0x356)][_0x36cfef(0x311)](),_0x4e0af0;}});function _0x3f4763(_0x355647,_0x2c7be0,_0x4b37a1,_0x52415e,_0xea2bcb,_0x5604fa,_0x559eaf){var _0x17ef30=_0x355647+(_0x2c7be0&_0x4b37a1|~_0x2c7be0&_0x52415e)+_0xea2bcb+_0x559eaf;return(_0x17ef30<<_0x5604fa|_0x17ef30>>>0x20-_0x5604fa)+_0x2c7be0;}function _0x1fe351(_0x4d56f2,_0x3962b2,_0x10d037,_0x275c91,_0x1fe892,_0x34e683,_0x4c1016){var _0x315a9e=_0x4d56f2+(_0x3962b2&_0x275c91|_0x10d037&~_0x275c91)+_0x1fe892+_0x4c1016;return(_0x315a9e<<_0x34e683|_0x315a9e>>>0x20-_0x34e683)+_0x3962b2;}function _0x5c66a4(_0x2e14ec,_0x39de39,_0x45f7d1,_0x2b6a30,_0x5cb7d7,_0x80167b,_0x317145){var _0x104de5=_0x2e14ec+(_0x39de39^_0x45f7d1^_0x2b6a30)+_0x5cb7d7+_0x317145;return(_0x104de5<<_0x80167b|_0x104de5>>>0x20-_0x80167b)+_0x39de39;}function _0x4da160(_0x58de13,_0x34f849,_0x5a9fec,_0x367b26,_0x2049b7,_0x27091e,_0x1fe1f8){var _0x4e44c5=_0x58de13+(_0x5a9fec^(_0x34f849|~_0x367b26))+_0x2049b7+_0x1fe1f8;return(_0x4e44c5<<_0x27091e|_0x4e44c5>>>0x20-_0x27091e)+_0x34f849;}_0x3764ef['MD5']=_0x1d33a0[_0x209c48(0xc1)](_0x4cbc37),_0x3764ef[_0x209c48(0xec)]=_0x1d33a0[_0x209c48(0x2b8)](_0x4cbc37);}(Math),_0x49ad3c[_0x32af37(0x2c6)];}));}(Ye)),Ye[_0xddca11(0x12a)];}var Ke={'exports':{}},qe={'exports':{}},ln=qe['exports'],Jt;function un(){var _0x4ed897=_0x368389;return Jt||(Jt=0x1,function(_0x4ed1c3,_0x18722e){(function(_0x5674a8,_0x14ee8d){var _0xda9eb0=_0x4f24;_0x4ed1c3[_0xda9eb0(0x12a)]=_0x14ee8d(ie());}(ln,function(_0x81db28){var _0x181331=_0x4f24;return(function(){var _0x530740=_0x4f24,_0x1154a6=_0x81db28,_0x3229ef=_0x1154a6[_0x530740(0x38a)],_0xfc63d9=_0x3229ef[_0x530740(0xed)],_0x3acb08=_0x3229ef[_0x530740(0xbf)],_0x1876f1=_0x1154a6[_0x530740(0x351)],_0x62895b=[],_0x10b24e=_0x1876f1['SHA1']=_0x3acb08[_0x530740(0x11c)]({'_doReset':function(){var _0x32284b=_0x530740;this[_0x32284b(0x356)]=new _0xfc63d9['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3c45c8,_0x267621){var _0x14aaad=_0x530740;for(var _0x27999d=this[_0x14aaad(0x356)][_0x14aaad(0x10b)],_0x5e0fde=_0x27999d[0x0],_0x6285b4=_0x27999d[0x1],_0x1b1b4b=_0x27999d[0x2],_0x5b1a96=_0x27999d[0x3],_0x49cf40=_0x27999d[0x4],_0x43990d=0x0;_0x43990d<0x50;_0x43990d++){if(_0x43990d<0x10)_0x62895b[_0x43990d]=_0x3c45c8[_0x267621+_0x43990d]|0x0;else{var _0x19a580=_0x62895b[_0x43990d-0x3]^_0x62895b[_0x43990d-0x8]^_0x62895b[_0x43990d-0xe]^_0x62895b[_0x43990d-0x10];_0x62895b[_0x43990d]=_0x19a580<<0x1|_0x19a580>>>0x1f;}var _0x524b9d=(_0x5e0fde<<0x5|_0x5e0fde>>>0x1b)+_0x49cf40+_0x62895b[_0x43990d];_0x43990d<0x14?_0x524b9d+=(_0x6285b4&_0x1b1b4b|~_0x6285b4&_0x5b1a96)+0x5a827999:_0x43990d<0x28?_0x524b9d+=(_0x6285b4^_0x1b1b4b^_0x5b1a96)+0x6ed9eba1:_0x43990d<0x3c?_0x524b9d+=(_0x6285b4&_0x1b1b4b|_0x6285b4&_0x5b1a96|_0x1b1b4b&_0x5b1a96)-0x70e44324:_0x524b9d+=(_0x6285b4^_0x1b1b4b^_0x5b1a96)-0x359d3e2a,_0x49cf40=_0x5b1a96,_0x5b1a96=_0x1b1b4b,_0x1b1b4b=_0x6285b4<<0x1e|_0x6285b4>>>0x2,_0x6285b4=_0x5e0fde,_0x5e0fde=_0x524b9d;}_0x27999d[0x0]=_0x27999d[0x0]+_0x5e0fde|0x0,_0x27999d[0x1]=_0x27999d[0x1]+_0x6285b4|0x0,_0x27999d[0x2]=_0x27999d[0x2]+_0x1b1b4b|0x0,_0x27999d[0x3]=_0x27999d[0x3]+_0x5b1a96|0x0,_0x27999d[0x4]=_0x27999d[0x4]+_0x49cf40|0x0;},'_doFinalize':function(){var _0x491ee0=_0x530740,_0x494075=this[_0x491ee0(0x28d)],_0x36634d=_0x494075[_0x491ee0(0x10b)],_0x96e560=this[_0x491ee0(0x95)]*0x8,_0x1e3f5e=_0x494075[_0x491ee0(0x27e)]*0x8;return _0x36634d[_0x1e3f5e>>>0x5]|=0x80<<0x18-_0x1e3f5e%0x20,_0x36634d[(_0x1e3f5e+0x40>>>0x9<<0x4)+0xe]=Math[_0x491ee0(0x2e8)](_0x96e560/0x100000000),_0x36634d[(_0x1e3f5e+0x40>>>0x9<<0x4)+0xf]=_0x96e560,_0x494075[_0x491ee0(0x27e)]=_0x36634d[_0x491ee0(0x3b7)]*0x4,this[_0x491ee0(0x36b)](),this[_0x491ee0(0x356)];},'clone':function(){var _0xc64fc6=_0x530740,_0x1aacf1=_0x3acb08[_0xc64fc6(0x311)][_0xc64fc6(0xf4)](this);return _0x1aacf1[_0xc64fc6(0x356)]=this[_0xc64fc6(0x356)][_0xc64fc6(0x311)](),_0x1aacf1;}});_0x1154a6[_0x530740(0x212)]=_0x3acb08[_0x530740(0xc1)](_0x10b24e),_0x1154a6['HmacSHA1']=_0x3acb08[_0x530740(0x2b8)](_0x10b24e);}()),_0x81db28[_0x181331(0x212)];}));}(qe)),qe[_0x4ed897(0x12a)];}function _0x111c(){var _0x5d1734=['_hash','message$','resourceIDs','prototype','session.room-cnt-exceeds','_stopTelemetryCollaborationNewChangeset','getSheetBlock','startsWith','[CollaborationUndoRedoService]','__creator','LIVESHARE_FETCH_OPERATIONS','_updateLocalCache','_shouldReportTelemetry','UNDEFINED','collaboration-client.local-cache-service','UNRECOGNIZED','_memberService','_collaborationUIEventService','mode','body','UNIVER_DOC','_process','add','find','transformMutationsWithChangeset','YUUMI_CONNECTOR_URL_NOT_FOUND','getMemberID','reconnect','EMAIL_VERIFY_CODE_MISMATCH','loadUnit','HMAC','state$','YUUMI_NO_CUBOID_FOR_QUESTION','_acknowledgedAwaitingChangeset','ENTITLE_DUP_SUBSCRIPTION','collaboration_new_changeset','socket$','__Key__','createInstance','unpad','$super','getFocusedUnit','_pendingMutations','772XlkmlY','[PendingState]:\x20received\x20acknowledgement.','?url=','padding','actions','fromCharCode','StreamCipher','{fileID}','data','lib','interceptor','5JDxYXh','originalMeta','values','createDecryptor','changesets','AUTHORIZE_CODE_ILLEGAL','Utf8','loginUrlKey','editing\x20status\x20changed\x20to','_state','_sendHeartbeatTimer','join','NEW_CHANGESETS','_collabSessionService','readInt32LE','COMPLETION_FINISHED','Pkcs7','filter','_injector','close$','removeMember','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','/object/','_createInitialStateImpl','_getUndoStack','image/bmp','/universer-api/file/{fileID}/sign-url','USERS_LEAVE','SUBMIT_CHANGESET_TIMEOUT','toggleOffline','_timeoutTimer','_permissionService','set','_createSocket','awaiting_with_pending','/new_changes','loadDoc','_disableEditing','_candidateSocket','init','_resendWithTimeout','sheets','emitEvent','length','fromCollab','newCsEvent','_executeRemoteChangeset','result','compose','_unlockTransition','hasOwnProperty','_transformRemoteChangesetByStateCache','_hasher','_joinRoom','_nDataBytes','_nRounds','ENTITLE_CHAT_LIMIT_EXCEED','_waitForHeartbeatResponse','LICENSE_IMPORT_SIZE_EXCEEDED','_onMessage','_invKeySchedule','updateOfflineData','status','57036mxvYDP','randomBytes','COMPRESS_MUTATION_SEND','transformChangesets','Decryptor','code','cfg','_onRemoteRejected','_syncEditingCollabCursor','_type','LIVESHARE_REQUEST_HOST','createSocket','origin','uploadFileServerUrl','SerializableCipher','collaboratorID','_updateStatus','_redoStacks','JOINING','onSyncEditingCollabCursor','_members$','APPLY_PERMISSION_DENIED','permissionRejEvent','getTypeOfUnitDisposed$','socket\x20open.','_remoteChangesetQueue','_configService','collaboration-client.config','authzUrl','appendMutation','infoRsp','pauseCollaboration','image/png','Hasher','byteLength','_createHelper','unit-cache-','_doCreateSocket','[CollaborationEntity]','stopTime','_startTelemetryCollaborationNewChangeset','60RXZvGn','open$','dispose','\x20to\x20','CBC','csShouldRetryEvent','DATA_SOURCE_TOO_LARGE','PAYMENT_CHANNEL_NOT_SUPPORT','shouldCloseConn','UNIVER_COLLABORATION_CLIENT_PLUGIN','charAt','salt','localeService','LIVESHARE_NEW_HOST','_imageSourceCache','now','/universer-api/stream/file/upload','toString','name','HttpImport','downloadEndpointUrl','_tryEnsureSocket','_isPermissionRej','reverse','synced','updatePermissionPoint','Latin1','_exhaustRemoteChangesetQueue','FETCH_MISS','[CollaborationSessionService]:\x20socket\x20error','random','OpenSSL','capture','_mode','_collaborationTimeoutTimer','liveShareOperation','c2Prime','HmacMD5','WordArray','BlockCipherMode','_clearRetryConnectingTimer','type','deepClone','action','_collaborationPaused','call','session.room-full','collabSubmitChangesetUrl','refreshPermission','disableLocalCache','getAllMembers','_doCryptBlock','JOIN_ROOM_NOT_EXISTS','SHOULD_CLOSE_CONN','LICENSE_EXPORT_SIZE_EXCEEDED','reqId','USER_IS_ANONYMOUS','_initUnitPermissionChange','userID','getTime','AWAITING_WITH_PENDING','Hex','LEAVE','string','_transformRemoteChangesetByIMECache','crypto','getCurrentSelections','OFFLINE','words','editingUnit','1197924CFeeLQ','/unit/','_getCtorByUniverType','Base','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','HttpExport','_lockTransition','session','updateCursorEvent','subscribe','then','blockSize','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_collaborationSessionService','_transformUndoredo','extend','/universer-api/snapshot/','SNAPSHOT_URL_KEY','UUID','initWorkbookPermissionChange','onMissedChangesetFetched','_transformStateCache','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_decreaseWaiting','_revisionService','catch','default','_fetchMissChangesets','min','exports','_logService','_transformService','_config','_DEC_XFORM_MODE','resolve','BufferedBlockAlgorithm','duration','NoPadding','UNKNOWN_CODE','fetchMissingChangesets','roomInfos','_incrementRevisionNumber','encryptBlock','objects','getDeserializedSheetBlock','max','transformSelections','post','awaiting','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','SYNCED','encrypt','/rev/','/universer-api/authz','leaveEvent','UPDATE_PERMISSION_OBJ','REDEMPTION_CODE_HAS_BEEN_CREATED','offline','socket\x20close','_singleActiveUnitService','JOIN_ROOM_FAILED','responseType','_univerInstanceService','FETCH_MISSING','cmd','getSheetId','_getLoginPath','hostname','withCredentials','MUTATION','onlyLocal','parse','m2Prime','waitForRoom$','[SyncedState]:\x20received\x20acknowledgement.','_roomCreated$','eventID','onload','_socketService','LICENSE_DISTRO_REJECTED','UnitEmbedded','UPDATE_CURSOR','INGEST','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','Base64','mutations','/-/object/list','getResourcesRequest','REDEMPTION_CODE_INACTIVE','asObservable','_transitionLocked','_resendTimer','decrypt','COMMENT_UPDATE','_networkConditionService','getRandomValues','entityInit$','USERS_ENTER','getMember','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','JOIN','_getAPIPrefixPath','reject','listCollaborators','encode','Error\x20on\x20receiving\x20event','headers','transformUndoRedo','_event$','ONLINE','CHANGESET_REVISION_CONFILICT','ENTITLE_NEED_BILLING_ADDRESS','REDEMPTION_INVALID_CODE','_handler','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','params','updateCollaborator','\x0aCurrent:\x20','clear','LOCAL_CACHE_INTERVAL','concat','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','get','update','getImageSourceCache','REDEMPTION_CODE_NOT_STARTED','_replaceFileID','pad','online$','[CollaborationSessionService]','objectActions','185466wYRCDW','createCollaborator','onTransformRemoteChangesetByStateCache','HEARTBEAT_TIMEOUT','reduce','FAIL','[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.','liveShareNewHost','POST','onLocalMutation','_toggleOnline','getConfig','_oKey','_showConflictNotification','onRemoteAck','getWorkbookSelections','OTHER_CLIENT_EDITING','989582XhdrdK','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_replayCachedMutations','rev','override','_roomMembers','iterations','SUBMIT_CHANGESET','_onRecvEvent','ENTITLE_INSUFFICIENT_QUOTA','_keyPriorReset','Cipher','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_sendingTimer','submit\x20changeset\x20error!','collaborators','saveSnapshot','NOT_FOUND','MSG_FOR_ERROR','_compressMutationService','unitID','APPLY_REVISION_CONFILICT','session.join-failed','_sessions','getUnitType','JOIN_ROOM_FULL','send','_onFetchMissResult','equals','_retryConnectingTimer','not_collab','SNAPSHOT_HAS_BEEN_REMOVED','uniscriptRunEvent','readAsDataURL','x-univer-host','ALREADY_EXISTS','getUnitOnRev','_applyRemoteChangeset','roles','_onConnectionFailed','url','onCommentUpdate','HELLO','enableAuthServer','_telemetryService','[UniverCollaborationClientPlugin]','_clearHeartbeatTimer','getInterceptPoints','MOBILE_HAS_BEEN_BOUND','readyForCollab','PERSON','_awaitingChangeset','ciphertext','_toggleOffline','loadUnitOfRevision','executeCommand','_entities','_onConflict','_parse','auth.needGotoLoginAlert','__esModule','fetch_missing','onRemoteRetry','collaMsg','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_snapshotService','MOBILE_VERIFY_CODE_MISMATCH','_initCloseConn','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_minBufferSize','_createHandler','_startCollaboration','_unitID','_sendHeartbeat','_entityInit$','LOGIN_TOKEN_PROCESSING_FAILED','baseRev','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','INVALID_ARGUMENT','src','mixIn','_keySchedule','_prevBlock','_changesetSessionId','_scheduleCompleteTimestamp','_onJoinRoomEvent','onMissingChangesets','RECV','loadOfflineData','PasswordBasedCipher','revision','deleteCollaborator','onStarting','CHANGESET_ACK','_onConnectionOpen','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','error','ClipsheetFragments','LIVESHARE_OPERATION','_state$','PSEUDO_FETCH_MISSING_RESULT','YUUMI_SUBSCRIPTION_NOT_FOUND','[CollaborationState]:\x20apply\x20error!','clamp','_commentService','_instanceService','_telemetryInfo','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_getDownloadEndpointURL','forEach','focused$','_clearLocalCache','fetchMiss','SHA1','PERMISSION_DENIED','UNISCRIPT_RUN','repeat','copyFileMeta','symbol','joinEvent','ceil','REDEMPTION_USER_NOT_ELIGIBLE','YUUMI_URL_COL_OUT_OF_RANGE','BASE64','saveChangeset','?size=','33NjytbV','YUUMI_AI_RUN_FAILED','_socketMessageSubscription','YUUMI_RATE_OVER_LIMIT','transformStack\x20failed!','encodeURIComponent','CLOSE_ROOM','file','_onLocalMutation','signUrlServerUrl','image/jpeg','UNIVER_PROJECT','JOIN_ROOM_PERMISSION_DENIED','getUnitId','failed\x20to\x20apply\x20missed\x20changesets!','SOCKET_FAILED_RETRY','batchAllowed','getCurrentUser','CONNECTOR_DATA_TOO_LARGE','charCodeAt','_listenToNetworkCondition','/-/object/-/batch_allowed','onSendChangeset','_sessionStatus$','objectID','PERMISSION_REJ','BlockCipher','_change$','_getUploadFileURL','subject','674955qzOjbT','UNIVER_SLIDE','SOCKET_FAILED','ENSURE_SNAPSHOT_EXECUTION','LICENSE_MAX_UNITS_EXCEEDED','[DataLoaderService]','_commentUpdate$','_map','closeSession','kdf','updateSnapshot','_clearRedo','compute','href','close','target','[CollaborationSession]','_xformMode','csAckEvent','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','People','_initDependencies','PY_RUNTIME_SCRIPT_ERROR','retryConnectingInterval','isPermissionRej','ERROR_IMAGE_TYPE','getCollabEntity$','buffer','commentUpdate$','INVITE_CODE_HAS_BEEN_UES','SNAPSHOT_INVALID_SNAPSHOT','Undefined','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','c1Prime','create','finalize','PENDING','_schedule','_transformIMECache','univer-pro.collaboration-client.single-active-unit-service','onTransformIME','_scheduleCollaborationTimeoutTimer','_clearScheduledTask','_transformSelections','localCacheService','_retryCount','change$','from','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','getUnit','_substituteRedoStack','workbook','image/gif','UserProfileImg','[OfflineState]:\x20received\x20acknowledgement.','has','getValue','onTransformRemoteChangesetByIMECache','enableSingleActiveInstanceLock','apply','pipe','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_HTTPService','title','_clearUndo','sigBytes','_cipher','_ENC_XFORM_MODE','isArray','_initRequestHeader','processBlock','getOwnPropertyDescriptor','sin','getRoom','registerHTTPInterceptor','sendChangesetTimeout','/block/','onRemoteRej','UNAUTHENTICATED','map','_data','EvpKDF','_submitChangeset','YUUMI_UNABLE_LOAD_URL','push','session.room-permission-denied','_reverseMap','snapshot','_updateState','avatar','ws://127.0.0.1:8000/universer-api/comb/connect','delete','_socketReady','enableOfflineEditing','next','UnitSnapshot','dispose$','_clearCollaborationTimeoutTimer','textRanges','ENTITLE_CAN_NOT_BUY_LOWER_OTP','getCollabEntity','unsubscribe','/role','/object','ERROR_IMAGE','_clearTimeoutTimer','ERROR_AGAIN','_iv','USER_NOT_FOUND','IDLE','CONFLICT','_localeService','getTypeOfUnitAdded$','updatePermissionObjEvent','disposeWithMe','requestParams','Encryptor','FileId','joinRsp','abs','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UNKNOWN_CMD','execute','_createHmacHelper','commentUpdateEvent','HEARTBEAT','CHANGESET_SHOULD_RETRY','fetchThroughInterceptors','stringify','OTHER_CLIENTS_EDITING','_iKey','_initMergeInterceptor','DEFAULT_FILE_NAME','_eventService','debug','_getSendChangesetTimeout','reset','MD5','Failed\x20to\x20update\x20permission\x20point','slice','_substituteUndoStack','COMPRESS_MUTATION_APPLY','_onRemoteChangeset','enc','onRemoteChangeset','keySize','sid','patch','loadSheet','conflict','telemetry\x20info\x20is\x20not\x20initialized','&assign=','_commandService','_members','/allowed','_waitCount','/universer-api/snapshot','setCurrentUser','_resendTimeout','_userManagerService','/universer-api/oidc/authpage','sessionStatus','allowed','_onOffline','setShowComponents','ENTITLE_REPORT_LIMIT_EXCEED','getLatestCsReqIdBySid','_rescheduleHeartbeat','_tryReconnect','417qNFALA','REDEMPTION_USER_REDEEM_TIMES_EXCEED','floor','list','YUUMI_ALL_TABLES_IS_INVALID','_undoRedoService','_onUserLeave','enableCollaboration','function','LIVESHARE_TERMINATE','memberID','key','_getAPIPrefix','_removeRoom','splice','_getCurrentRevision','every','_doFinalize','[OfflineState]:\x20received\x20changeset.','unknown','NO_OTHER_CLIENTS_EDITING','_getSignURL','connection\x20error','/collaborator','addHandlerCallback','state','[FetchMissState]','_unitInfo$','hasher','createEncryptor','_onUserJoin','UNIVER_SHEET','_checkMissing','_localCacheService','_key','onTransformState','_changesetReqId','msCrypto','routeKey','INVALID_INVITE_CODE','event$','format','_handlerCallback','clone','_onRemoteACK','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','pending','formatter','_throwTelemetryCollaborationNewChangeset','onStateChange','EMAIL_HAS_BEEN_BOUND','onTransformSelections','UNIVER_UNKNOWN','_onCombEvent','AES','[PendingState]:\x20received\x20rejection.','_socket','GLOBAL_ROOMS_CNT_EXCEEDS','status$','_init','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[SyncedState]:\x20received\x20rejection.','WECHAT_HAS_BEEN_BOUND','unitId\x20is\x20not\x20found','setWaitCount','CHANGESET_REJ','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','toggleOnline','getCurrentRevOfUnit','1625928cgHBws','_status$','unitId','HEARTBEAT_INTERVAL','requireSession','TOO_MANY_REQUESTS','REDEMPTION_CODE_FULLY_REDEEMED','_socket$','INTERNAL_ERROR','_onRemoteRetry','ERROR_EXCEED_SIZE','size','_sender','selections','_doReset','location','defineProperty','_transformStack','CURRENT_STATUS_CANNOT_OPERATE','error$','resend','getUnitStatus$','AWAITING','_httpService','_queuedRemoteChangesets','save\x20fail\x20reason\x20is\x20','objectType','APPLY_DUPLICATED','_sheetTransformSelectionsService','updateMember','getActiveSheet','_append','_createInitialState','_getRedoStack','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_registerDependencies','YUUMI_ASYNCIO_CANCELLED','sessionStatus$','algo','session.room-not-exists','addImageSourceCache','\x20in\x20_schedule.','complete'];_0x111c=function(){return _0x5d1734;};return _0x111c();}var ze={'exports':{}},dn=ze[_0x368389(0x12a)],Xt;function fn(){var _0x1b8fac=_0x368389;return Xt||(Xt=0x1,function(_0x5b7ed9,_0xeeaba3){(function(_0x463346,_0x488f43){var _0x40c036=_0x4f24;_0x5b7ed9[_0x40c036(0x12a)]=_0x488f43(ie());}(dn,function(_0x33b702){(function(){var _0x2b3e63=_0x4f24,_0x57e1ae=_0x33b702,_0x37113a=_0x57e1ae[_0x2b3e63(0x38a)],_0x5ef2e7=_0x37113a[_0x2b3e63(0x110)],_0x291749=_0x57e1ae[_0x2b3e63(0x2cc)],_0x27c6a8=_0x291749[_0x2b3e63(0x392)],_0x476ca3=_0x57e1ae['algo'];_0x476ca3[_0x2b3e63(0x374)]=_0x5ef2e7[_0x2b3e63(0x11c)]({'init':function(_0x1f18cb,_0x5593fa){var _0x328827=_0x2b3e63;_0x1f18cb=this[_0x328827(0x93)]=new _0x1f18cb[(_0x328827(0x3b3))](),typeof _0x5593fa==_0x328827(0x106)&&(_0x5593fa=_0x27c6a8['parse'](_0x5593fa));var _0xc0371b=_0x1f18cb[_0x328827(0x118)],_0x51fc05=_0xc0371b*0x4;_0x5593fa['sigBytes']>_0x51fc05&&(_0x5593fa=_0x1f18cb[_0x328827(0x260)](_0x5593fa)),_0x5593fa[_0x328827(0x208)]();for(var _0x32895a=this['_oKey']=_0x5593fa[_0x328827(0x311)](),_0x41a55f=this[_0x328827(0x2bf)]=_0x5593fa[_0x328827(0x311)](),_0x266178=_0x32895a[_0x328827(0x10b)],_0x1c5d02=_0x41a55f['words'],_0x25db88=0x0;_0x25db88<_0xc0371b;_0x25db88++)_0x266178[_0x25db88]^=0x5c5c5c5c,_0x1c5d02[_0x25db88]^=0x36363636;_0x32895a[_0x328827(0x27e)]=_0x41a55f[_0x328827(0x27e)]=_0x51fc05,this['reset']();},'reset':function(){var _0x3e172f=_0x2b3e63,_0x543aad=this[_0x3e172f(0x93)];_0x543aad[_0x3e172f(0x2c5)](),_0x543aad[_0x3e172f(0x188)](this[_0x3e172f(0x2bf)]);},'update':function(_0x38a055){var _0x126d6d=_0x2b3e63;return this[_0x126d6d(0x93)][_0x126d6d(0x188)](_0x38a055),this;},'finalize':function(_0x2f7555){var _0x2e27fa=_0x2b3e63,_0x27b530=this['_hasher'],_0x50c392=_0x27b530[_0x2e27fa(0x260)](_0x2f7555);_0x27b530['reset']();var _0x44238f=_0x27b530[_0x2e27fa(0x260)](this[_0x2e27fa(0x19c)][_0x2e27fa(0x311)]()[_0x2e27fa(0x185)](_0x50c392));return _0x44238f;}});}());}));}(ze)),ze[_0x1b8fac(0x12a)];}var vn=Ke[_0x368389(0x12a)],Zt;function Ci(){var _0xb8c4fe=_0x368389;return Zt||(Zt=0x1,function(_0x105e60,_0x42e826){(function(_0x2e99b0,_0x2541a8,_0x2a8249){_0x105e60['exports']=_0x2541a8(ie(),un(),fn());}(vn,function(_0x358c5a){var _0x23d81b=_0x4f24;return(function(){var _0x211d7d=_0x4f24,_0x19b5f7=_0x358c5a,_0xfcc7a6=_0x19b5f7[_0x211d7d(0x38a)],_0x1ccc11=_0xfcc7a6['Base'],_0x3ffc2d=_0xfcc7a6[_0x211d7d(0xed)],_0xf5ffc9=_0x19b5f7[_0x211d7d(0x351)],_0xa19251=_0xf5ffc9[_0x211d7d(0x2c6)],_0x47f7cc=_0xf5ffc9[_0x211d7d(0x28e)]=_0x1ccc11[_0x211d7d(0x11c)]({'cfg':_0x1ccc11[_0x211d7d(0x11c)]({'keySize':0x80/0x20,'hasher':_0xa19251,'iterations':0x1}),'init':function(_0x2c94ad){var _0x89d258=_0x211d7d;this[_0x89d258(0xa4)]=this[_0x89d258(0xa4)][_0x89d258(0x11c)](_0x2c94ad);},'compute':function(_0x1ae05c,_0x100ac8){var _0xbe9fc4=_0x211d7d;for(var _0x469d04,_0x277472=this[_0xbe9fc4(0xa4)],_0x4a3594=_0x277472[_0xbe9fc4(0x302)][_0xbe9fc4(0x25f)](),_0x596a96=_0x3ffc2d[_0xbe9fc4(0x25f)](),_0x2a3b94=_0x596a96[_0xbe9fc4(0x10b)],_0x4c1ea1=_0x277472[_0xbe9fc4(0x2ce)],_0x2b4691=_0x277472[_0xbe9fc4(0x1a7)];_0x2a3b94[_0xbe9fc4(0x3b7)]<_0x4c1ea1;){_0x469d04&&_0x4a3594['update'](_0x469d04),_0x469d04=_0x4a3594[_0xbe9fc4(0x188)](_0x1ae05c)['finalize'](_0x100ac8),_0x4a3594[_0xbe9fc4(0x2c5)]();for(var _0xab6376=0x1;_0xab6376<_0x2b4691;_0xab6376++)_0x469d04=_0x4a3594[_0xbe9fc4(0x260)](_0x469d04),_0x4a3594[_0xbe9fc4(0x2c5)]();_0x596a96[_0xbe9fc4(0x185)](_0x469d04);}return _0x596a96[_0xbe9fc4(0x27e)]=_0x4c1ea1*0x4,_0x596a96;}});_0x19b5f7[_0x211d7d(0x28e)]=function(_0x4ec4dc,_0x43f222,_0x4bc469){var _0x415a30=_0x211d7d;return _0x47f7cc['create'](_0x4bc469)[_0x415a30(0x249)](_0x4ec4dc,_0x43f222);};}()),_0x358c5a[_0x23d81b(0x28e)];}));}(Ke)),Ke[_0xb8c4fe(0x12a)];}var Je={'exports':{}},pn=Je[_0x368389(0x12a)],Qt;function Ni(){var _0x58c52e=_0x368389;return Qt||(Qt=0x1,function(_0x396b58,_0x15bba9){(function(_0x549deb,_0x3c90e2,_0x2c8a29){var _0x50bfe7=_0x4f24;_0x396b58[_0x50bfe7(0x12a)]=_0x3c90e2(ie(),Ci());}(pn,function(_0x2ed288){var _0x4bcfde=_0x4f24;_0x2ed288[_0x4bcfde(0x38a)]['Cipher']||function(_0x53faf4){var _0x253331=_0x4bcfde,_0x49cdb3=_0x2ed288,_0x3f9c57=_0x49cdb3[_0x253331(0x38a)],_0x1d0bc3=_0x3f9c57[_0x253331(0x110)],_0x411067=_0x3f9c57[_0x253331(0xed)],_0x3695cb=_0x3f9c57[_0x253331(0x130)],_0x410921=_0x49cdb3['enc'];_0x410921['Utf8'];var _0x1c8068=_0x410921['Base64'],_0x317443=_0x49cdb3['algo'],_0x1db0b6=_0x317443[_0x253331(0x28e)],_0x1a302e=_0x3f9c57[_0x253331(0x1ac)]=_0x3695cb[_0x253331(0x11c)]({'cfg':_0x1d0bc3[_0x253331(0x11c)](),'createEncryptor':function(_0x567af8,_0x24ce84){var _0x518844=_0x253331;return this['create'](this[_0x518844(0x280)],_0x567af8,_0x24ce84);},'createDecryptor':function(_0x514c9b,_0x34090e){var _0x98e44b=_0x253331;return this[_0x98e44b(0x25f)](this[_0x98e44b(0x12e)],_0x514c9b,_0x34090e);},'init':function(_0x110d32,_0x1e87bc,_0x2c7193){var _0xe5f29b=_0x253331;this[_0xe5f29b(0xa4)]=this['cfg'][_0xe5f29b(0x11c)](_0x2c7193),this[_0xe5f29b(0x24e)]=_0x110d32,this[_0xe5f29b(0x308)]=_0x1e87bc,this[_0xe5f29b(0x2c5)]();},'reset':function(){var _0x1e5c94=_0x253331;_0x3695cb['reset'][_0x1e5c94(0xf4)](this),this[_0x1e5c94(0x339)]();},'process':function(_0x34ff36){var _0x1f5a04=_0x253331;return this[_0x1f5a04(0x34a)](_0x34ff36),this[_0x1f5a04(0x36b)]();},'finalize':function(_0x427a3c){var _0x407aa6=_0x253331;_0x427a3c&&this[_0x407aa6(0x34a)](_0x427a3c);var _0x3a79f9=this[_0x407aa6(0x2f7)]();return _0x3a79f9;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x6202fa(_0xb1caca){var _0x4502e9=_0x4f24;return typeof _0xb1caca==_0x4502e9(0x106)?_0x1c681d:_0x4885f0;}return function(_0x18957c){return{'encrypt':function(_0x58866e,_0x34317d,_0x47129e){var _0x91e80b=_0x4f24;return _0x6202fa(_0x34317d)[_0x91e80b(0x140)](_0x18957c,_0x58866e,_0x34317d,_0x47129e);},'decrypt':function(_0x49ab14,_0x5ca530,_0x42be97){var _0x1f7be3=_0x4f24;return _0x6202fa(_0x5ca530)[_0x1f7be3(0x169)](_0x18957c,_0x49ab14,_0x5ca530,_0x42be97);}};};}())});_0x3f9c57[_0x253331(0x387)]=_0x1a302e['extend']({'_doFinalize':function(){var _0x47320e=_0x253331,_0x22d922=this[_0x47320e(0x36b)](!0x0);return _0x22d922;},'blockSize':0x1});var _0x74e1f3=_0x49cdb3['mode']={},_0xdbdda4=_0x3f9c57[_0x253331(0xee)]=_0x1d0bc3[_0x253331(0x11c)]({'createEncryptor':function(_0x45e602,_0x480621){var _0x434e2b=_0x253331;return this[_0x434e2b(0x2b1)][_0x434e2b(0x25f)](_0x45e602,_0x480621);},'createDecryptor':function(_0x4b656e,_0x4ef334){var _0x588111=_0x253331;return this['Decryptor'][_0x588111(0x25f)](_0x4b656e,_0x4ef334);},'init':function(_0xbb8006,_0xdb9be2){var _0x205d0c=_0x253331;this[_0x205d0c(0x27f)]=_0xbb8006,this[_0x205d0c(0x2a8)]=_0xdb9be2;}}),_0x126cda=_0x74e1f3[_0x253331(0xcb)]=(function(){var _0x47afa4=_0x253331,_0x3769e0=_0xdbdda4['extend']();_0x3769e0[_0x47afa4(0x2b1)]=_0x3769e0[_0x47afa4(0x11c)]({'processBlock':function(_0x1f6bfc,_0x7a203f){var _0x43482c=_0x47afa4,_0x1c404d=this[_0x43482c(0x27f)],_0x4e75d6=_0x1c404d[_0x43482c(0x118)];_0x410a43[_0x43482c(0xf4)](this,_0x1f6bfc,_0x7a203f,_0x4e75d6),_0x1c404d[_0x43482c(0x137)](_0x1f6bfc,_0x7a203f),this[_0x43482c(0x1f3)]=_0x1f6bfc[_0x43482c(0x2c8)](_0x7a203f,_0x7a203f+_0x4e75d6);}}),_0x3769e0[_0x47afa4(0xa2)]=_0x3769e0[_0x47afa4(0x11c)]({'processBlock':function(_0x4bca6f,_0x3283bb){var _0x55e405=_0x47afa4,_0x3fe90a=this['_cipher'],_0xa9ce8d=_0x3fe90a[_0x55e405(0x118)],_0x3b7d4b=_0x4bca6f[_0x55e405(0x2c8)](_0x3283bb,_0x3283bb+_0xa9ce8d);_0x3fe90a['decryptBlock'](_0x4bca6f,_0x3283bb),_0x410a43[_0x55e405(0xf4)](this,_0x4bca6f,_0x3283bb,_0xa9ce8d),this[_0x55e405(0x1f3)]=_0x3b7d4b;}});function _0x410a43(_0x1b73ac,_0x45756f,_0x516240){var _0x1c52c8=_0x47afa4,_0x23450a,_0x5be5e9=this[_0x1c52c8(0x2a8)];_0x5be5e9?(_0x23450a=_0x5be5e9,this[_0x1c52c8(0x2a8)]=_0x53faf4):_0x23450a=this[_0x1c52c8(0x1f3)];for(var _0x510ef1=0x0;_0x510ef1<_0x516240;_0x510ef1++)_0x1b73ac[_0x45756f+_0x510ef1]^=_0x23450a[_0x510ef1];}return _0x3769e0;}()),_0x24c6da=_0x49cdb3[_0x253331(0x18c)]={},_0x5a4f23=_0x24c6da[_0x253331(0x39c)]={'pad':function(_0x1cc3e7,_0x357e5b){var _0x3343e6=_0x253331;for(var _0x5b76ea=_0x357e5b*0x4,_0x2b4f6a=_0x5b76ea-_0x1cc3e7[_0x3343e6(0x27e)]%_0x5b76ea,_0x55d293=_0x2b4f6a<<0x18|_0x2b4f6a<<0x10|_0x2b4f6a<<0x8|_0x2b4f6a,_0xfe3534=[],_0x309816=0x0;_0x309816<_0x2b4f6a;_0x309816+=0x4)_0xfe3534[_0x3343e6(0x291)](_0x55d293);var _0x5b4406=_0x411067['create'](_0xfe3534,_0x2b4f6a);_0x1cc3e7[_0x3343e6(0x185)](_0x5b4406);},'unpad':function(_0x19293d){var _0x8f51a1=_0x253331,_0x2e8614=_0x19293d[_0x8f51a1(0x10b)][_0x19293d[_0x8f51a1(0x27e)]-0x1>>>0x2]&0xff;_0x19293d['sigBytes']-=_0x2e8614;}};_0x3f9c57[_0x253331(0x239)]=_0x1a302e[_0x253331(0x11c)]({'cfg':_0x1a302e['cfg'][_0x253331(0x11c)]({'mode':_0x126cda,'padding':_0x5a4f23}),'reset':function(){var _0x53341e=_0x253331,_0x11bc70;_0x1a302e[_0x53341e(0x2c5)][_0x53341e(0xf4)](this);var _0x29ffb2=this['cfg'],_0x418dcb=_0x29ffb2['iv'],_0x2ffc86=_0x29ffb2[_0x53341e(0x368)];this[_0x53341e(0x24e)]==this[_0x53341e(0x280)]?_0x11bc70=_0x2ffc86['createEncryptor']:(_0x11bc70=_0x2ffc86[_0x53341e(0x38f)],this[_0x53341e(0x1e6)]=0x1),this['_mode']&&this['_mode']['__creator']==_0x11bc70?this[_0x53341e(0xe8)][_0x53341e(0x3b3)](this,_0x418dcb&&_0x418dcb[_0x53341e(0x10b)]):(this['_mode']=_0x11bc70[_0x53341e(0xf4)](_0x2ffc86,this,_0x418dcb&&_0x418dcb[_0x53341e(0x10b)]),this['_mode'][_0x53341e(0x35f)]=_0x11bc70);},'_doProcessBlock':function(_0x59216a,_0x5c53cb){var _0x31e29c=_0x253331;this[_0x31e29c(0xe8)][_0x31e29c(0x283)](_0x59216a,_0x5c53cb);},'_doFinalize':function(){var _0x300f29=_0x253331,_0x355fac,_0x57def6=this[_0x300f29(0xa4)]['padding'];return this[_0x300f29(0x24e)]==this['_ENC_XFORM_MODE']?(_0x57def6[_0x300f29(0x18c)](this[_0x300f29(0x28d)],this[_0x300f29(0x118)]),_0x355fac=this[_0x300f29(0x36b)](!0x0)):(_0x355fac=this[_0x300f29(0x36b)](!0x0),_0x57def6[_0x300f29(0x37d)](_0x355fac)),_0x355fac;},'blockSize':0x80/0x20});var _0x4f3f2a=_0x3f9c57['CipherParams']=_0x1d0bc3[_0x253331(0x11c)]({'init':function(_0x1b2c3a){var _0x41942f=_0x253331;this[_0x41942f(0x1f1)](_0x1b2c3a);},'toString':function(_0x3a1bf8){var _0x398cfc=_0x253331;return(_0x3a1bf8||this[_0x398cfc(0x315)])[_0x398cfc(0x2bd)](this);}}),_0x1fc5c3=_0x49cdb3[_0x253331(0x30f)]={},_0x3e2c21=_0x1fc5c3[_0x253331(0xe6)]={'stringify':function(_0x325cc1){var _0xd27418=_0x253331,_0x474883,_0x1cd4ec=_0x325cc1[_0xd27418(0x1d5)],_0x3980b2=_0x325cc1[_0xd27418(0xd2)];return _0x3980b2?_0x474883=_0x411067[_0xd27418(0x25f)]([0x53616c74,0x65645f5f])[_0xd27418(0x185)](_0x3980b2)[_0xd27418(0x185)](_0x1cd4ec):_0x474883=_0x1cd4ec,_0x474883['toString'](_0x1c8068);},'parse':function(_0x4bf288){var _0x3a1a91=_0x253331,_0x4feea0,_0x141ace=_0x1c8068[_0x3a1a91(0x154)](_0x4bf288),_0xc78965=_0x141ace['words'];return _0xc78965[0x0]==0x53616c74&&_0xc78965[0x1]==0x65645f5f&&(_0x4feea0=_0x411067[_0x3a1a91(0x25f)](_0xc78965[_0x3a1a91(0x2c8)](0x2,0x4)),_0xc78965[_0x3a1a91(0x2f4)](0x0,0x4),_0x141ace[_0x3a1a91(0x27e)]-=0x10),_0x4f3f2a['create']({'ciphertext':_0x141ace,'salt':_0x4feea0});}},_0x4885f0=_0x3f9c57[_0x253331(0xac)]=_0x1d0bc3['extend']({'cfg':_0x1d0bc3[_0x253331(0x11c)]({'format':_0x3e2c21}),'encrypt':function(_0x229384,_0x57a13e,_0x51e3a1,_0x3a55ea){var _0x4b82b4=_0x253331;_0x3a55ea=this[_0x4b82b4(0xa4)]['extend'](_0x3a55ea);var _0x37f637=_0x229384[_0x4b82b4(0x303)](_0x51e3a1,_0x3a55ea),_0x2e5e44=_0x37f637['finalize'](_0x57a13e),_0x39982f=_0x37f637['cfg'];return _0x4f3f2a[_0x4b82b4(0x25f)]({'ciphertext':_0x2e5e44,'key':_0x51e3a1,'iv':_0x39982f['iv'],'algorithm':_0x229384,'mode':_0x39982f[_0x4b82b4(0x368)],'padding':_0x39982f[_0x4b82b4(0x384)],'blockSize':_0x229384[_0x4b82b4(0x118)],'formatter':_0x3a55ea[_0x4b82b4(0x30f)]});},'decrypt':function(_0x15e2f3,_0x49c233,_0x5b2b09,_0x3c1fa5){var _0x3d14b1=_0x253331;_0x3c1fa5=this['cfg'][_0x3d14b1(0x11c)](_0x3c1fa5),_0x49c233=this[_0x3d14b1(0x1db)](_0x49c233,_0x3c1fa5['format']);var _0x44942d=_0x15e2f3[_0x3d14b1(0x38f)](_0x5b2b09,_0x3c1fa5)[_0x3d14b1(0x260)](_0x49c233['ciphertext']);return _0x44942d;},'_parse':function(_0x46ea0a,_0x2d025b){var _0x1416cb=_0x253331;return typeof _0x46ea0a==_0x1416cb(0x106)?_0x2d025b['parse'](_0x46ea0a,this):_0x46ea0a;}}),_0xa29009=_0x49cdb3[_0x253331(0x246)]={},_0x20d39a=_0xa29009[_0x253331(0xe6)]={'execute':function(_0x72b71d,_0x18c271,_0x5e551c,_0x5e123c,_0x417c94){var _0x2ef7d5=_0x253331;if(_0x5e123c||(_0x5e123c=_0x411067[_0x2ef7d5(0xe5)](0x40/0x8)),_0x417c94)var _0x2c678e=_0x1db0b6[_0x2ef7d5(0x25f)]({'keySize':_0x18c271+_0x5e551c,'hasher':_0x417c94})[_0x2ef7d5(0x249)](_0x72b71d,_0x5e123c);else var _0x2c678e=_0x1db0b6[_0x2ef7d5(0x25f)]({'keySize':_0x18c271+_0x5e551c})['compute'](_0x72b71d,_0x5e123c);var _0x3fa279=_0x411067['create'](_0x2c678e['words'][_0x2ef7d5(0x2c8)](_0x18c271),_0x5e551c*0x4);return _0x2c678e[_0x2ef7d5(0x27e)]=_0x18c271*0x4,_0x4f3f2a[_0x2ef7d5(0x25f)]({'key':_0x2c678e,'iv':_0x3fa279,'salt':_0x5e123c});}},_0x1c681d=_0x3f9c57[_0x253331(0x1fa)]=_0x4885f0['extend']({'cfg':_0x4885f0[_0x253331(0xa4)][_0x253331(0x11c)]({'kdf':_0x20d39a}),'encrypt':function(_0x45dbd1,_0x1b5807,_0x1c5bb8,_0x1f9d9c){var _0x14f028=_0x253331;_0x1f9d9c=this[_0x14f028(0xa4)][_0x14f028(0x11c)](_0x1f9d9c);var _0x32763c=_0x1f9d9c[_0x14f028(0x246)][_0x14f028(0x2b7)](_0x1c5bb8,_0x45dbd1[_0x14f028(0x2ce)],_0x45dbd1['ivSize'],_0x1f9d9c[_0x14f028(0xd2)],_0x1f9d9c['hasher']);_0x1f9d9c['iv']=_0x32763c['iv'];var _0x1df40b=_0x4885f0[_0x14f028(0x140)][_0x14f028(0xf4)](this,_0x45dbd1,_0x1b5807,_0x32763c['key'],_0x1f9d9c);return _0x1df40b[_0x14f028(0x1f1)](_0x32763c),_0x1df40b;},'decrypt':function(_0x421dd2,_0x12b910,_0x10d64b,_0x235e2d){var _0x30321c=_0x253331;_0x235e2d=this[_0x30321c(0xa4)]['extend'](_0x235e2d),_0x12b910=this[_0x30321c(0x1db)](_0x12b910,_0x235e2d[_0x30321c(0x30f)]);var _0x43cd43=_0x235e2d[_0x30321c(0x246)][_0x30321c(0x2b7)](_0x10d64b,_0x421dd2['keySize'],_0x421dd2['ivSize'],_0x12b910[_0x30321c(0xd2)],_0x235e2d[_0x30321c(0x302)]);_0x235e2d['iv']=_0x43cd43['iv'];var _0x4a5699=_0x4885f0[_0x30321c(0x169)]['call'](this,_0x421dd2,_0x12b910,_0x43cd43[_0x30321c(0x2f1)],_0x235e2d);return _0x4a5699;}});}();}));}(Je)),Je[_0x58c52e(0x12a)];}var En=Ve[_0x368389(0x12a)],ei;function mn(){var _0x3b8306=_0x368389;return ei||(ei=0x1,function(_0x490977,_0x4879e4){(function(_0x3afaf5,_0x49ee11,_0x1f1dbb){var _0x393915=_0x4f24;_0x490977[_0x393915(0x12a)]=_0x49ee11(ie(),Ri(),hn(),Ci(),Ni());}(En,function(_0x105aba){var _0x1ab208=_0x4f24;return(function(){var _0x221178=_0x4f24,_0x2901db=_0x105aba,_0x51e963=_0x2901db[_0x221178(0x38a)],_0x52d161=_0x51e963[_0x221178(0x239)],_0x4fca9a=_0x2901db[_0x221178(0x351)],_0x48eef7=[],_0x74f80e=[],_0xc295d9=[],_0x5708db=[],_0x188777=[],_0x5b47eb=[],_0x1765f6=[],_0x1b7f01=[],_0x4a217a=[],_0x178499=[];(function(){for(var _0xd0d701=[],_0x93e7b2=0x0;_0x93e7b2<0x100;_0x93e7b2++)_0x93e7b2<0x80?_0xd0d701[_0x93e7b2]=_0x93e7b2<<0x1:_0xd0d701[_0x93e7b2]=_0x93e7b2<<0x1^0x11b;for(var _0xd555d1=0x0,_0x30beb7=0x0,_0x93e7b2=0x0;_0x93e7b2<0x100;_0x93e7b2++){var _0x543a54=_0x30beb7^_0x30beb7<<0x1^_0x30beb7<<0x2^_0x30beb7<<0x3^_0x30beb7<<0x4;_0x543a54=_0x543a54>>>0x8^_0x543a54&0xff^0x63,_0x48eef7[_0xd555d1]=_0x543a54,_0x74f80e[_0x543a54]=_0xd555d1;var _0x5d2e59=_0xd0d701[_0xd555d1],_0x4ace80=_0xd0d701[_0x5d2e59],_0x4d6287=_0xd0d701[_0x4ace80],_0x5a221b=_0xd0d701[_0x543a54]*0x101^_0x543a54*0x1010100;_0xc295d9[_0xd555d1]=_0x5a221b<<0x18|_0x5a221b>>>0x8,_0x5708db[_0xd555d1]=_0x5a221b<<0x10|_0x5a221b>>>0x10,_0x188777[_0xd555d1]=_0x5a221b<<0x8|_0x5a221b>>>0x18,_0x5b47eb[_0xd555d1]=_0x5a221b;var _0x5a221b=_0x4d6287*0x1010101^_0x4ace80*0x10001^_0x5d2e59*0x101^_0xd555d1*0x1010100;_0x1765f6[_0x543a54]=_0x5a221b<<0x18|_0x5a221b>>>0x8,_0x1b7f01[_0x543a54]=_0x5a221b<<0x10|_0x5a221b>>>0x10,_0x4a217a[_0x543a54]=_0x5a221b<<0x8|_0x5a221b>>>0x18,_0x178499[_0x543a54]=_0x5a221b,_0xd555d1?(_0xd555d1=_0x5d2e59^_0xd0d701[_0xd0d701[_0xd0d701[_0x4d6287^_0x5d2e59]]],_0x30beb7^=_0xd0d701[_0xd0d701[_0x30beb7]]):_0xd555d1=_0x30beb7=0x1;}}());var _0x1b9461=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x38e2b3=_0x4fca9a['AES']=_0x52d161['extend']({'_doReset':function(){var _0x4ab523=_0x221178,_0x3a6b9e;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x4ab523(0x308)])){for(var _0x3dcaf2=this[_0x4ab523(0x1ab)]=this[_0x4ab523(0x308)],_0x1f98d7=_0x3dcaf2[_0x4ab523(0x10b)],_0x21eb79=_0x3dcaf2[_0x4ab523(0x27e)]/0x4,_0x5d4dc0=this['_nRounds']=_0x21eb79+0x6,_0x3637c4=(_0x5d4dc0+0x1)*0x4,_0x363eb4=this[_0x4ab523(0x1f2)]=[],_0x33fee3=0x0;_0x33fee3<_0x3637c4;_0x33fee3++)_0x33fee3<_0x21eb79?_0x363eb4[_0x33fee3]=_0x1f98d7[_0x33fee3]:(_0x3a6b9e=_0x363eb4[_0x33fee3-0x1],_0x33fee3%_0x21eb79?_0x21eb79>0x6&&_0x33fee3%_0x21eb79==0x4&&(_0x3a6b9e=_0x48eef7[_0x3a6b9e>>>0x18]<<0x18|_0x48eef7[_0x3a6b9e>>>0x10&0xff]<<0x10|_0x48eef7[_0x3a6b9e>>>0x8&0xff]<<0x8|_0x48eef7[_0x3a6b9e&0xff]):(_0x3a6b9e=_0x3a6b9e<<0x8|_0x3a6b9e>>>0x18,_0x3a6b9e=_0x48eef7[_0x3a6b9e>>>0x18]<<0x18|_0x48eef7[_0x3a6b9e>>>0x10&0xff]<<0x10|_0x48eef7[_0x3a6b9e>>>0x8&0xff]<<0x8|_0x48eef7[_0x3a6b9e&0xff],_0x3a6b9e^=_0x1b9461[_0x33fee3/_0x21eb79|0x0]<<0x18),_0x363eb4[_0x33fee3]=_0x363eb4[_0x33fee3-_0x21eb79]^_0x3a6b9e);for(var _0x2da960=this[_0x4ab523(0x9b)]=[],_0x3b9ec2=0x0;_0x3b9ec2<_0x3637c4;_0x3b9ec2++){var _0x33fee3=_0x3637c4-_0x3b9ec2;if(_0x3b9ec2%0x4)var _0x3a6b9e=_0x363eb4[_0x33fee3];else var _0x3a6b9e=_0x363eb4[_0x33fee3-0x4];_0x3b9ec2<0x4||_0x33fee3<=0x4?_0x2da960[_0x3b9ec2]=_0x3a6b9e:_0x2da960[_0x3b9ec2]=_0x1765f6[_0x48eef7[_0x3a6b9e>>>0x18]]^_0x1b7f01[_0x48eef7[_0x3a6b9e>>>0x10&0xff]]^_0x4a217a[_0x48eef7[_0x3a6b9e>>>0x8&0xff]]^_0x178499[_0x48eef7[_0x3a6b9e&0xff]];}}},'encryptBlock':function(_0x4d62ca,_0x56315f){this['_doCryptBlock'](_0x4d62ca,_0x56315f,this['_keySchedule'],_0xc295d9,_0x5708db,_0x188777,_0x5b47eb,_0x48eef7);},'decryptBlock':function(_0x54b395,_0x4ffb3d){var _0x1654bf=_0x221178,_0x50ddb0=_0x54b395[_0x4ffb3d+0x1];_0x54b395[_0x4ffb3d+0x1]=_0x54b395[_0x4ffb3d+0x3],_0x54b395[_0x4ffb3d+0x3]=_0x50ddb0,this[_0x1654bf(0xfa)](_0x54b395,_0x4ffb3d,this['_invKeySchedule'],_0x1765f6,_0x1b7f01,_0x4a217a,_0x178499,_0x74f80e);var _0x50ddb0=_0x54b395[_0x4ffb3d+0x1];_0x54b395[_0x4ffb3d+0x1]=_0x54b395[_0x4ffb3d+0x3],_0x54b395[_0x4ffb3d+0x3]=_0x50ddb0;},'_doCryptBlock':function(_0x23706f,_0x1fb8bb,_0x432987,_0x3d80f2,_0x19f550,_0x5d2663,_0x4ee799,_0x1a7b1d){var _0xec1f4e=_0x221178;for(var _0x2070ec=this[_0xec1f4e(0x96)],_0x1959b0=_0x23706f[_0x1fb8bb]^_0x432987[0x0],_0xb64829=_0x23706f[_0x1fb8bb+0x1]^_0x432987[0x1],_0x5517a7=_0x23706f[_0x1fb8bb+0x2]^_0x432987[0x2],_0x139503=_0x23706f[_0x1fb8bb+0x3]^_0x432987[0x3],_0x40a54c=0x4,_0x3420e2=0x1;_0x3420e2<_0x2070ec;_0x3420e2++){var _0xdb5c5=_0x3d80f2[_0x1959b0>>>0x18]^_0x19f550[_0xb64829>>>0x10&0xff]^_0x5d2663[_0x5517a7>>>0x8&0xff]^_0x4ee799[_0x139503&0xff]^_0x432987[_0x40a54c++],_0x16e0ea=_0x3d80f2[_0xb64829>>>0x18]^_0x19f550[_0x5517a7>>>0x10&0xff]^_0x5d2663[_0x139503>>>0x8&0xff]^_0x4ee799[_0x1959b0&0xff]^_0x432987[_0x40a54c++],_0x31d8a7=_0x3d80f2[_0x5517a7>>>0x18]^_0x19f550[_0x139503>>>0x10&0xff]^_0x5d2663[_0x1959b0>>>0x8&0xff]^_0x4ee799[_0xb64829&0xff]^_0x432987[_0x40a54c++],_0x1041c9=_0x3d80f2[_0x139503>>>0x18]^_0x19f550[_0x1959b0>>>0x10&0xff]^_0x5d2663[_0xb64829>>>0x8&0xff]^_0x4ee799[_0x5517a7&0xff]^_0x432987[_0x40a54c++];_0x1959b0=_0xdb5c5,_0xb64829=_0x16e0ea,_0x5517a7=_0x31d8a7,_0x139503=_0x1041c9;}var _0xdb5c5=(_0x1a7b1d[_0x1959b0>>>0x18]<<0x18|_0x1a7b1d[_0xb64829>>>0x10&0xff]<<0x10|_0x1a7b1d[_0x5517a7>>>0x8&0xff]<<0x8|_0x1a7b1d[_0x139503&0xff])^_0x432987[_0x40a54c++],_0x16e0ea=(_0x1a7b1d[_0xb64829>>>0x18]<<0x18|_0x1a7b1d[_0x5517a7>>>0x10&0xff]<<0x10|_0x1a7b1d[_0x139503>>>0x8&0xff]<<0x8|_0x1a7b1d[_0x1959b0&0xff])^_0x432987[_0x40a54c++],_0x31d8a7=(_0x1a7b1d[_0x5517a7>>>0x18]<<0x18|_0x1a7b1d[_0x139503>>>0x10&0xff]<<0x10|_0x1a7b1d[_0x1959b0>>>0x8&0xff]<<0x8|_0x1a7b1d[_0xb64829&0xff])^_0x432987[_0x40a54c++],_0x1041c9=(_0x1a7b1d[_0x139503>>>0x18]<<0x18|_0x1a7b1d[_0x1959b0>>>0x10&0xff]<<0x10|_0x1a7b1d[_0xb64829>>>0x8&0xff]<<0x8|_0x1a7b1d[_0x5517a7&0xff])^_0x432987[_0x40a54c++];_0x23706f[_0x1fb8bb]=_0xdb5c5,_0x23706f[_0x1fb8bb+0x1]=_0x16e0ea,_0x23706f[_0x1fb8bb+0x2]=_0x31d8a7,_0x23706f[_0x1fb8bb+0x3]=_0x1041c9;},'keySize':0x100/0x20});_0x2901db[_0x221178(0x31c)]=_0x52d161[_0x221178(0xc1)](_0x38e2b3);}()),_0x105aba[_0x1ab208(0x31c)];}));}(Ve)),Ve[_0x3b8306(0x12a)];}var In=mn();const Sn=$e(In);var gn=Ri();const ti=$e(gn);var Xe={'exports':{}},Tn=Xe['exports'],ii;function On(){var _0x38b670=_0x368389;return ii||(ii=0x1,function(_0x3d45cb,_0x536281){(function(_0x4a61da,_0x44b08e){var _0x443481=_0x4f24;_0x3d45cb[_0x443481(0x12a)]=_0x44b08e(ie());}(Tn,function(_0x94aad8){var _0x1bfbfb=_0x4f24;return _0x94aad8[_0x1bfbfb(0x2cc)][_0x1bfbfb(0x392)];}));}(Xe)),Xe[_0x38b670(0x12a)];}var Rn=On();const Cn=$e(Rn);var Ze={'exports':{}},Nn=Ze[_0x368389(0x12a)],si;function bn(){var _0x5e857b=_0x368389;return si||(si=0x1,function(_0x271d80,_0x4755b4){(function(_0x486347,_0x279176){_0x271d80['exports']=_0x279176(ie());}(Nn,function(_0x2dbb81){var _0x1e38c6=_0x4f24;return(function(){var _0x4a5a66=_0x4f24;if(typeof ArrayBuffer==_0x4a5a66(0x2ee)){var _0x3b3956=_0x2dbb81,_0x2b5ebe=_0x3b3956[_0x4a5a66(0x38a)],_0xe81d5b=_0x2b5ebe['WordArray'],_0x58fab3=_0xe81d5b[_0x4a5a66(0x3b3)],_0x4dfdf5=_0xe81d5b[_0x4a5a66(0x3b3)]=function(_0x4c4e3f){var _0x3b06e7=_0x4a5a66;if(_0x4c4e3f instanceof ArrayBuffer&&(_0x4c4e3f=new Uint8Array(_0x4c4e3f)),(_0x4c4e3f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4c4e3f instanceof Uint8ClampedArray||_0x4c4e3f instanceof Int16Array||_0x4c4e3f instanceof Uint16Array||_0x4c4e3f instanceof Int32Array||_0x4c4e3f instanceof Uint32Array||_0x4c4e3f instanceof Float32Array||_0x4c4e3f instanceof Float64Array)&&(_0x4c4e3f=new Uint8Array(_0x4c4e3f[_0x3b06e7(0x258)],_0x4c4e3f['byteOffset'],_0x4c4e3f[_0x3b06e7(0xc0)])),_0x4c4e3f instanceof Uint8Array){for(var _0x88709d=_0x4c4e3f[_0x3b06e7(0xc0)],_0x5bb5dc=[],_0x2616a0=0x0;_0x2616a0<_0x88709d;_0x2616a0++)_0x5bb5dc[_0x2616a0>>>0x2]|=_0x4c4e3f[_0x2616a0]<<0x18-_0x2616a0%0x4*0x8;_0x58fab3[_0x3b06e7(0xf4)](this,_0x5bb5dc,_0x88709d);}else _0x58fab3['apply'](this,arguments);};_0x4dfdf5['prototype']=_0xe81d5b;}}()),_0x2dbb81['lib'][_0x1e38c6(0xed)];}));}(Ze)),Ze[_0x5e857b(0x12a)];}var Dn=bn();const yn=$e(Dn);var Qe={'exports':{}},Un=Qe[_0x368389(0x12a)],ni;function An(){return ni||(ni=0x1,function(_0x50ac8a,_0x65e375){(function(_0x27e3b3,_0x237b84,_0x5302f0){_0x50ac8a['exports']=_0x237b84(ie(),Ni());}(Un,function(_0x4073e8){var _0x2bffce=_0x4f24;return _0x4073e8['pad'][_0x2bffce(0x132)]={'pad':function(){},'unpad':function(){}},_0x4073e8['pad']['NoPadding'];}));}(Qe)),Qe['exports'];}var Pn=An();const wn=$e(Pn);function Mn(_0x3d77f8,_0x1d38c4){var _0x5e93c3=_0x368389;const _0x4cc232=_0x1d38c4-_0x3d77f8['length']%_0x1d38c4,_0x56141e=String[_0x5e93c3(0x386)](_0x4cc232)[_0x5e93c3(0x215)](_0x4cc232);return _0x3d77f8+_0x56141e;}function Ln(_0x2d0a9b,_0x540d61){var _0x252376=_0x368389;const _0x5cbaf9=yn[_0x252376(0xe5)](0x10),_0x25f5fd=Mn(_0x2d0a9b,0x10),_0x3cb5ac=Sn[_0x252376(0x140)](Cn['parse'](_0x25f5fd),ti[_0x252376(0x154)](_0x540d61),{'iv':_0x5cbaf9,'padding':wn});return _0x5cbaf9[_0x252376(0x185)](_0x3cb5ac[_0x252376(0x1d5)])[_0x252376(0xd8)](ti);}function xn(){var _0x3e254b=_0x368389;const _0x41e903=_0x293dc2()[_0x3e254b(0x37b)];if(_0x41e903){const _0x3d0ccb={'time':Math[_0x3e254b(0x2e8)](Date[_0x3e254b(0xd6)]()/0x3e8),'domain':location[_0x3e254b(0x150)]};return Ln(JSON['stringify'](_0x3d0ccb),_0x41e903);}}var kn=Object[_0x368389(0x284)],$n=(_0x15d18e,_0xeeac64,_0x26f003,_0x146b98)=>{var _0x179a53=_0x368389;for(var _0x53931a=_0x146b98>0x1?void 0x0:_0x146b98?kn(_0xeeac64,_0x26f003):_0xeeac64,_0xcf19a3=_0x15d18e[_0x179a53(0x3b7)]-0x1,_0x497a6e;_0xcf19a3>=0x0;_0xcf19a3--)(_0x497a6e=_0x15d18e[_0xcf19a3])&&(_0x53931a=_0x497a6e(_0x53931a)||_0x53931a);return _0x53931a;},Hn=(_0x4e59a9,_0x596b97)=>(_0x1c1d6d,_0xea8eb4)=>_0x596b97(_0x1c1d6d,_0xea8eb4,_0x4e59a9);let at=class{constructor(_0x3312a9){var _0x24a767=_0x368389;this[_0x24a767(0x342)]=_0x3312a9,this['_initRequestHeader']();}[_0x368389(0x282)](){var _0x9515fc=_0x368389;this['_httpService'][_0x9515fc(0x287)]({'interceptor':(_0x3cc914,_0xdd973b)=>{var _0x55ed6d=_0x9515fc;const _0x2fe866=_0x3cc914[_0x55ed6d(0x177)],_0x558425=xn();return _0x558425&&_0x2fe866['set'](_0x55ed6d(0x1c3),_0x558425),_0xdd973b(_0x3cc914);}});}};at=$n([Hn(0x0,_0x3ce8f0(_0x5dc9e9))],at);var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x2df506,_0x4b39ce,_0x1e5302,_0x170f0a)=>{for(var _0x6bc80c=_0x170f0a>0x1?void 0x0:_0x170f0a?Bn(_0x4b39ce,_0x1e5302):_0x4b39ce,_0x250fd5=_0x2df506['length']-0x1,_0x34f95e;_0x250fd5>=0x0;_0x250fd5--)(_0x34f95e=_0x2df506[_0x250fd5])&&(_0x6bc80c=_0x34f95e(_0x6bc80c)||_0x6bc80c);return _0x6bc80c;},vt=(_0x11b23a,_0x3e052a)=>(_0x279c20,_0x1b28ce)=>_0x3e052a(_0x279c20,_0x1b28ce,_0x11b23a);let Ot=class extends _0x4eb61d{constructor(_0x376d9e,_0xb3d411,_0x210fd2){var _0x69c082=_0x368389;super(),D(this,_0x69c082(0x301),new _0x1593ab(null)),D(this,'unitInfo$',this[_0x69c082(0x301)]['asObservable']()),(this[_0x69c082(0x12b)]=_0x376d9e,this[_0x69c082(0x1e2)]=_0xb3d411,this[_0x69c082(0x307)]=_0x210fd2);}async[_0x368389(0x1d7)](_0x58ac25,_0xfab7c7,_0x2bc9b8){var _0x2a7a98=_0x368389;this[_0x2a7a98(0x301)][_0x2a7a98(0x29b)]({'unitId':_0x58ac25,'type':_0xfab7c7});let _0x3cc66d=null;switch(_0xfab7c7){case Q[_0x2a7a98(0x305)]:{_0x3cc66d=await this[_0x2a7a98(0x1e2)][_0x2a7a98(0x2d1)](_0x58ac25,_0x2bc9b8);break;}case Q[_0x2a7a98(0x36a)]:{_0x3cc66d=await this[_0x2a7a98(0x1e2)][_0x2a7a98(0x3b0)](_0x58ac25,_0x2bc9b8);break;}default:{this[_0x2a7a98(0x12b)][_0x2a7a98(0x201)](_0x2a7a98(0x242),_0x2a7a98(0x328));break;}}return _0x3cc66d;}async[_0x368389(0x373)](_0x121645,_0x29e985,_0x1c66a7){var _0x1ebea3=_0x368389,_0x424ec7;this[_0x1ebea3(0x301)][_0x1ebea3(0x29b)]({'unitId':_0x121645,'type':_0x29e985,'subUnitId':_0x1c66a7});let _0x3c9f71=0x0;const _0x53700f=await((_0x424ec7=this['_localCacheService'])==null?void 0x0:_0x424ec7['loadOfflineData'](_0x121645));return _0x53700f&&(_0x53700f['awaitingChangeset']||_0x53700f[_0x1ebea3(0x162)][_0x1ebea3(0x3b7)]!==0x0)&&(_0x3c9f71=_0x53700f[_0x1ebea3(0x1a4)]),_0x3c9f71===0x0&&this['_logService']['debug'](_0x1ebea3(0x242),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['loadUnitOfRevision'](_0x121645,_0x29e985,_0x3c9f71);}};Ot=Fn([vt(0x0,_0x21f6c3),vt(0x1,_0x3ce8f0(_0x1ade95)),vt(0x2,_0x5c10ac(J))],Ot);var jn=Object[_0x368389(0x284)],Vn=(_0x25d8d7,_0x21e63d,_0x40af6e,_0x5618d6)=>{for(var _0x27c059=_0x5618d6>0x1?void 0x0:_0x5618d6?jn(_0x21e63d,_0x40af6e):_0x21e63d,_0x4ab7a4=_0x25d8d7['length']-0x1,_0x281001;_0x4ab7a4>=0x0;_0x4ab7a4--)(_0x281001=_0x25d8d7[_0x4ab7a4])&&(_0x27c059=_0x281001(_0x27c059)||_0x27c059);return _0x27c059;},pt=(_0x31dfdb,_0x52a72f)=>(_0x5e3eaa,_0x38dc3d)=>_0x52a72f(_0x5e3eaa,_0x38dc3d,_0x31dfdb);const Gn=[_0x368389(0xbe),_0x368389(0x229),'image/jpg',_0x368389(0x271),_0x368389(0x3a5)],Wn=0x5*0x400*0x400,Yn=_0x368389(0xd7),Kn=_0x368389(0x3a6);let Rt=class{constructor(_0x128a72,_0x35de38,_0x438490){var _0x51d94d=_0x368389;D(this,_0x51d94d(0x2d8),0x0),D(this,_0x51d94d(0x23a),new _0x7c3fbd()),D(this,_0x51d94d(0x26b),this[_0x51d94d(0x23a)]),D(this,_0x51d94d(0xd5),new Map()),(this['_httpService']=_0x128a72,this['_configService']=_0x35de38,this[_0x51d94d(0x14b)]=_0x438490);}[_0x368389(0x326)](_0x46df77){var _0x5f5078=_0x368389;this[_0x5f5078(0x2d8)]=_0x46df77,this[_0x5f5078(0x23a)]['next'](_0x46df77);}[_0x368389(0x189)](_0xe05393,_0x218da4){var _0x53a3f2=_0x368389;if(_0x218da4===_0x122f39[_0x53a3f2(0x21c)]){const _0x27b443=new Image();return _0x27b443[_0x53a3f2(0x1f0)]=_0xe05393,_0x27b443;}return this[_0x53a3f2(0xd5)][_0x53a3f2(0x187)](_0xe05393);}[_0x368389(0x353)](_0x1b9d57,_0x2ef8c6,_0x2e7f93){var _0x56b72c=_0x368389;_0x2ef8c6===_0x122f39['BASE64']||_0x2e7f93==null||this[_0x56b72c(0xd5)][_0x56b72c(0x3ac)](_0x1b9d57,_0x2e7f93);}async['getImage'](_0x43d402){var _0x4de798=_0x368389;try{const _0x274c39=this[_0x4de798(0x18b)](this[_0x4de798(0x2fb)](),''+_0x43d402),_0x209b51=(await this[_0x4de798(0x342)][_0x4de798(0x187)](_0x274c39))['body'];if(_0x209b51[_0x4de798(0x201)]&&_0x209b51[_0x4de798(0x201)][_0x4de798(0xa3)]===vi['OK']){const _0x250e91=new URL(_0x209b51['url'],this[_0x4de798(0x20d)]())[_0x4de798(0xd8)]();return Promise[_0x4de798(0x12f)](_0x250e91);}return Promise[_0x4de798(0x173)](_0x209b51[_0x4de798(0x201)]);}catch(_0x5ce49f){return Promise['reject'](_0x5ce49f);}}async['saveImage'](_0x52af00){var _0x5e78d1=_0x368389;let _0x596dc3='';if(!Gn['includes'](_0x52af00['type']))return this[_0x5e78d1(0x124)](),Promise[_0x5e78d1(0x173)](new Error(_0x4f409a[_0x5e78d1(0x256)]));if(_0x52af00[_0x5e78d1(0x336)]>Wn)return this[_0x5e78d1(0x124)](),Promise['reject'](new Error(_0x4f409a[_0x5e78d1(0x335)]));try{const _0x3b5c5e=new FormData();_0x3b5c5e['append'](_0x5e78d1(0x226),_0x52af00);const _0x4e016f=this[_0x5e78d1(0x14b)]['getFocusedUnit'](),_0x5ee1a9=_0x4e016f==null?void 0x0:_0x4e016f['getUnitId']();if(!_0x5ee1a9)throw new Error(_0x5e78d1(0x325));const _0x2b330b=this[_0x5e78d1(0x23b)]()+_0x5e78d1(0x21e)+_0x52af00[_0x5e78d1(0x336)]['toString']()+'&source='+pi[_0x5e78d1(0x15d)]+_0x5e78d1(0x2d4)+encodeURIComponent(_0x5ee1a9),_0x4f289e={'body':_0x3b5c5e},_0x527d7a=(await this[_0x5e78d1(0x342)][_0x5e78d1(0x13c)](_0x2b330b,_0x4f289e))[_0x5e78d1(0x369)];if(typeof _0x527d7a[_0x5e78d1(0x2b2)]!='string')return this[_0x5e78d1(0x124)](),Promise[_0x5e78d1(0x173)](new Error(_0x4f409a[_0x5e78d1(0x2a5)]));_0x596dc3=_0x527d7a[_0x5e78d1(0x2b2)];}catch{return this[_0x5e78d1(0x124)](),Promise[_0x5e78d1(0x173)](new Error(_0x4f409a[_0x5e78d1(0x2a5)]));}return new Promise((_0x5219bd,_0x244839)=>{var _0x30882b=_0x5e78d1;const _0x345634=new FileReader();_0x345634[_0x30882b(0x1c2)](_0x52af00),_0x345634[_0x30882b(0x15a)]=_0x371cec=>{var _0x3a4d2d=_0x30882b,_0x295262;const _0x46ada7=(_0x295262=_0x371cec[_0x3a4d2d(0x24c)])==null?void 0x0:_0x295262['result'];if(_0x46ada7==null){this[_0x3a4d2d(0x124)](),_0x244839(new Error(_0x4f409a[_0x3a4d2d(0x2a5)]));return;}const _0x59578d=_0x87143(0x6);_0x5219bd({'imageId':_0x59578d,'imageSourceType':_0x122f39[_0x3a4d2d(0x11f)],'source':_0x596dc3,'base64Cache':_0x46ada7,'status':_0x4f409a['SUCCUSS']}),this[_0x3a4d2d(0x124)]();};});}['_getUploadFileURL'](){var _0x3fd017=_0x368389,_0x9ae715;const _0x1c0953=this['_configService'][_0x3fd017(0x19b)](K);return(_0x9ae715=_0x1c0953==null?void 0x0:_0x1c0953[_0x3fd017(0xab)])!=null?_0x9ae715:Yn;}[_0x368389(0x2fb)](){var _0x368100=_0x368389,_0x59dcd1;const _0x5902a0=this[_0x368100(0xb8)][_0x368100(0x19b)](K);return(_0x59dcd1=_0x5902a0==null?void 0x0:_0x5902a0[_0x368100(0x228)])!=null?_0x59dcd1:Kn;}[_0x368389(0x20d)](){var _0x3bedf3=_0x368389,_0x25fa90;const _0x28027b=this['_configService'][_0x3bedf3(0x19b)](K);return(_0x25fa90=_0x28027b==null?void 0x0:_0x28027b[_0x3bedf3(0xdb)])!=null?_0x25fa90:location[_0x3bedf3(0xaa)];}[_0x368389(0x18b)](_0x3f5c74,_0x239706){var _0x2b069c=_0x368389;return _0x3f5c74['replace'](_0x2b069c(0x388),_0x239706);}['_decreaseWaiting'](){var _0x1f155=_0x368389;this['_waitCount']-=0x1,this['_change$'][_0x1f155(0x29b)](this[_0x1f155(0x2d8)]);}};Rt=Vn([pt(0x0,_0x3ce8f0(_0x5dc9e9)),pt(0x1,_0x3c30e0),pt(0x2,_0x3ce8f0(_0x558d3e))],Rt);var qn=Object[_0x368389(0x284)],zn=(_0x4510e6,_0x5a3f8e,_0x372a0f,_0x4aebf1)=>{var _0x35f975=_0x368389;for(var _0x443bac=_0x4aebf1>0x1?void 0x0:_0x4aebf1?qn(_0x5a3f8e,_0x372a0f):_0x5a3f8e,_0x2fe50f=_0x4510e6[_0x35f975(0x3b7)]-0x1,_0x15587d;_0x2fe50f>=0x0;_0x2fe50f--)(_0x15587d=_0x4510e6[_0x2fe50f])&&(_0x443bac=_0x15587d(_0x443bac)||_0x443bac);return _0x443bac;},ri=(_0x4a5333,_0x18368e)=>(_0x357d30,_0x4a614f)=>_0x18368e(_0x357d30,_0x4a614f,_0x4a5333);const Jn='/universer-api/authz';let Ct=class{constructor(_0x2a2c3b,_0x225329){var _0x1e7cc8=_0x368389;this[_0x1e7cc8(0xb8)]=_0x2a2c3b,this['_HTTPService']=_0x225329;}['_getAPIPrefixPath'](){var _0x5f12aa=_0x368389,_0x1d2e17;const _0x3a6c5e=this[_0x5f12aa(0xb8)][_0x5f12aa(0x19b)](K);return(_0x1d2e17=_0x3a6c5e==null?void 0x0:_0x3a6c5e[_0x5f12aa(0xba)])!=null?_0x1d2e17:Jn;}async[_0x368389(0x2e9)](_0x17d788){var _0x55bb4a=_0x368389;const _0x3514c3=this[_0x55bb4a(0x172)]()+_0x55bb4a(0x2fd);return{'list':[{'title':_0x55bb4a(0x251),'mentions':(await this[_0x55bb4a(0x27b)][_0x55bb4a(0x187)](_0x3514c3,{'params':{'objectID':_0x17d788[_0x55bb4a(0x32d)],'unitID':_0x17d788[_0x55bb4a(0x32d)]}}))[_0x55bb4a(0x369)][_0x55bb4a(0x1b0)][_0x55bb4a(0x28c)](_0x41562a=>({'objectId':_0x41562a['id'],'name':_0x41562a[_0x55bb4a(0x23c)][_0x55bb4a(0xd9)],'metadata':{'icon':_0x41562a[_0x55bb4a(0x23c)][_0x55bb4a(0x296)]},'label':_0x41562a[_0x55bb4a(0x23c)]['name'],'objectType':_0x1511b4['PERSON']})),'metadata':{},'type':_0x1511b4[_0x55bb4a(0x1d3)]}]};}};Ct=zn([ri(0x0,_0x3ce8f0(_0x3c30e0)),ri(0x1,_0x3ce8f0(_0x5dc9e9))],Ct);var Xn=Object['getOwnPropertyDescriptor'],Zn=(_0x2d8fd7,_0x234464,_0x341b7c,_0x40abb4)=>{var _0xb296eb=_0x368389;for(var _0x26e311=_0x40abb4>0x1?void 0x0:_0x40abb4?Xn(_0x234464,_0x341b7c):_0x234464,_0x24a3da=_0x2d8fd7[_0xb296eb(0x3b7)]-0x1,_0x51617a;_0x24a3da>=0x0;_0x24a3da--)(_0x51617a=_0x2d8fd7[_0x24a3da])&&(_0x26e311=_0x51617a(_0x26e311)||_0x26e311);return _0x26e311;},Ue=(_0x149022,_0x5617c4)=>(_0x2658f8,_0x353639)=>_0x5617c4(_0x2658f8,_0x353639,_0x149022);let ot=class extends _0x4eb61d{constructor(_0xa77a78,_0x35517b,_0x94c4eb,_0x3a245d,_0x472855){var _0x36ec90=_0x368389;super(),this[_0x36ec90(0x39e)]=_0xa77a78,this[_0x36ec90(0x14b)]=_0x35517b,this[_0x36ec90(0x3ab)]=_0x94c4eb,this[_0x36ec90(0x11a)]=_0x3a245d,this[_0x36ec90(0x367)]=_0x472855,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x368389(0x1e4)](){var _0x8cb1aa=_0x368389;const _0x518248=async _0x3adcf9=>{var _0x4d18c4=_0x4f24;(await this[_0x4d18c4(0x11a)][_0x4d18c4(0x32f)](_0x3adcf9))['event$']['pipe'](_0x21e8b1(_0x1c18fe=>_0x1c18fe[_0x4d18c4(0x159)]===_0x19843e[_0x4d18c4(0xfc)]),_0x3edeee(this[_0x4d18c4(0x29d)]))[_0x4d18c4(0x116)](_0x124708=>{var _0x963068=_0x4d18c4;const _0x41ce43=_0x124708,{reason:_0x3e90b2}=_0x41ce43[_0x963068(0x389)];this[_0x963068(0x367)][_0x963068(0x3b6)]({'id':re[_0x963068(0x225)],'data':_0x3e90b2}),this[_0x963068(0x3ab)]['updatePermissionPoint'](new _0x25ba97(_0x3adcf9)['id'],!0x1),this[_0x963068(0x11a)][_0x963068(0x245)](_0x3adcf9);});};_0x1ca221(this[_0x8cb1aa(0x14b)][_0x8cb1aa(0x2ad)](_0x16572b['UNIVER_SHEET']),this[_0x8cb1aa(0x14b)][_0x8cb1aa(0x2ad)](_0x16572b[_0x8cb1aa(0x36a)]))[_0x8cb1aa(0x279)](_0x1b47e7(_0xe16b5b=>_0xe16b5b['getUnitId']()),_0x21e8b1(_0x512b4a=>!_0x42bc4b(_0x512b4a)),_0x3edeee(this[_0x8cb1aa(0x29d)]))[_0x8cb1aa(0x116)](_0x2a7e4d=>{_0x518248(_0x2a7e4d);});}[_0x368389(0x100)](){var _0x4ebd0c=_0x368389;const _0x191e0a=async _0x1c75c1=>{var _0x12feaa=_0x4f24;const _0x40c1cd=await this[_0x12feaa(0x11a)][_0x12feaa(0x32f)](_0x1c75c1),_0x398c1e=this[_0x12feaa(0x39e)][_0x12feaa(0x187)](_0x50c58a);_0x40c1cd[_0x12feaa(0x30e)][_0x12feaa(0x279)](_0x21e8b1(_0xcf2014=>_0xcf2014['eventID']===_0x19843e[_0x12feaa(0x144)]),_0x3edeee(this[_0x12feaa(0x29d)]))['subscribe'](_0x238b03=>{var _0x595560=_0x12feaa;const _0x30f678=_0x238b03,{objectId:_0x115a3f}=_0x30f678[_0x595560(0x389)];_0x115a3f===_0x1c75c1?_0x398c1e[_0x595560(0x120)](_0x1c75c1):_0x398c1e[_0x595560(0xf7)](_0x1c75c1,_0x115a3f);});};_0x1ca221(this[_0x4ebd0c(0x14b)][_0x4ebd0c(0x2ad)](_0x16572b[_0x4ebd0c(0x305)]))[_0x4ebd0c(0x279)](_0x1b47e7(_0x38539b=>_0x38539b['getUnitId']()),_0x21e8b1(_0x1bceb6=>!_0x42bc4b(_0x1bceb6)),_0x3edeee(this[_0x4ebd0c(0x29d)]))['subscribe'](_0x3ec3db=>{_0x191e0a(_0x3ec3db);});}};ot=Zn([Ue(0x0,_0x3ce8f0(_0x277f78)),Ue(0x1,_0x558d3e),Ue(0x2,_0x301d19),Ue(0x3,_0x3ce8f0(we)),Ue(0x4,_0x3ce8f0(ve))],ot);var Qn=Object[_0x368389(0x284)],er=(_0x4b62be,_0x7ef446,_0x1d7bd6,_0x5eceac)=>{var _0x321b88=_0x368389;for(var _0x2bd759=_0x5eceac>0x1?void 0x0:_0x5eceac?Qn(_0x7ef446,_0x1d7bd6):_0x7ef446,_0x3e478b=_0x4b62be[_0x321b88(0x3b7)]-0x1,_0x3c67ba;_0x3e478b>=0x0;_0x3e478b--)(_0x3c67ba=_0x4b62be[_0x3e478b])&&(_0x2bd759=_0x3c67ba(_0x2bd759)||_0x2bd759);return _0x2bd759;},ai=(_0xccf958,_0xe077ca)=>(_0x1f502b,_0x523470)=>_0xe077ca(_0x1f502b,_0x523470,_0xccf958);let Nt=class{constructor(_0x13100c,_0x177816){var _0x4491b3=_0x368389;this[_0x4491b3(0xb8)]=_0x13100c,this['_httpService']=_0x177816;}async[_0x368389(0x1c5)](_0x4a981,_0x241199){var _0x448af1=_0x368389,_0x19e2df;const {unitID:_0x50c7a2,type:_0x22015e,revision:_0x1df57c=0x0}=_0x241199,_0x452edc=this['getSnapshotAPIPath']()+'/'+_0x22015e+_0x448af1(0x10e)+_0x50c7a2+_0x448af1(0x141)+_0x1df57c,_0x3af367=(await this[_0x448af1(0x342)][_0x448af1(0x187)](_0x452edc))[_0x448af1(0x369)],_0x13c7fe=(_0x19e2df=_0x3af367[_0x448af1(0x294)])==null?void 0x0:_0x19e2df[_0x448af1(0x270)];if(_0x13c7fe){const _0x2e5688=_0x13c7fe==null?void 0x0:_0x13c7fe[_0x448af1(0x38d)],_0x5a5740=_0x24eebc[_0x448af1(0x175)](_0x5d1ad2(_0x2e5688));_0x13c7fe[_0x448af1(0x38d)]=_0x5a5740,Object['entries'](_0x13c7fe[_0x448af1(0x3b5)])[_0x448af1(0x20e)](([,_0x4bea4d])=>{var _0x5193a0=_0x448af1;const _0x4faa49=_0x4bea4d['originalMeta'],_0x33b320=_0x24eebc[_0x5193a0(0x175)](_0x5d1ad2(_0x4faa49));_0x4bea4d['originalMeta']=_0x33b320;});}return _0x3af367;}async[_0x368389(0x35c)](_0x4236e0,_0x30f821){var _0x14e47c=_0x368389;const {unitID:_0x48c4c8,type:_0x2a71ad,blockID:_0x344b83}=_0x30f821,_0x3c19dc=this[_0x14e47c(0x2f2)]()+'/'+_0x2a71ad+_0x14e47c(0x10e)+_0x48c4c8+_0x14e47c(0x289)+_0x344b83;return(await this[_0x14e47c(0x342)][_0x14e47c(0x187)](_0x3c19dc))['body'];}async[_0x368389(0x139)](_0x517aca,_0x2bd362){var _0xdd6fad=_0x368389;const {unitID:_0x21f927,type:_0x4be7de,blockID:_0x22aeca}=_0x2bd362,_0x11a45f=this['_getAPIPrefix']()+_0xdd6fad(0x289)+_0x4be7de+'/unit/'+_0x21f927+_0xdd6fad(0x289)+_0x22aeca;return(await this[_0xdd6fad(0x342)][_0xdd6fad(0x187)](_0x11a45f))[_0xdd6fad(0x369)];}async[_0x368389(0x134)](_0x18c504,_0x3c1e65){var _0x50b126=_0x368389;const {unitID:_0x5c2851,type:_0x3e08b5,from:_0x3bd6ed,to:_0x150773}=_0x3c1e65,_0x566f10=this['_getAPIPrefix']()+'/'+_0x3e08b5+_0x50b126(0x10e)+_0x5c2851+'/fetchmissing?from='+_0x3bd6ed+'&to='+_0x150773;return(await this[_0x50b126(0x342)]['get'](_0x566f10))['body'];}['getSnapshotAPIPath'](){var _0x391ccd=_0x368389,_0x42527a;return(_0x42527a=this[_0x391ccd(0xb8)][_0x391ccd(0x19b)](vs))!=null?_0x42527a:this[_0x391ccd(0x2f2)]();}[_0x368389(0x2f2)](){var _0x4621b6=_0x368389,_0x453452;const _0xbf3f31=this[_0x4621b6(0xb8)][_0x4621b6(0x19b)](K);return(_0x453452=_0xbf3f31==null?void 0x0:_0xbf3f31['snapshotServerUrl'])!=null?_0x453452:fs;}async[_0x368389(0x164)](_0x43f481,_0x1ec3fa){var _0xc53d9a=_0x368389;const _0x35f017=_0xc53d9a(0x11d)+_0x1ec3fa['type']+_0xc53d9a(0x10e)+_0x1ec3fa['unitID']+'/resources';return(await this[_0xc53d9a(0x342)][_0xc53d9a(0x187)](_0x35f017,{'params':{'resourceId':JSON[_0xc53d9a(0x2bd)](_0x1ec3fa[_0xc53d9a(0x358)])}}))[_0xc53d9a(0x369)];}[_0x368389(0x1b1)](){var _0xf47f7a=_0x368389;throw new Error(_0xf47f7a(0x322));}[_0x368389(0x247)](){var _0x43d8df=_0x368389;throw new Error(_0x43d8df(0x322));}['saveSheetBlock'](){var _0x4323bd=_0x368389;throw new Error(_0x4323bd(0x322));}[_0x368389(0x21d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x368389(0x216)](){var _0x445f02=_0x368389;throw new Error(_0x445f02(0x322));}[_0x368389(0x2e3)](){var _0x235903=_0x368389;throw new Error(_0x235903(0x322));}};Nt=er([ai(0x0,_0x3c30e0),ai(0x1,_0x3ce8f0(_0x5dc9e9))],Nt);var tr=Object['getOwnPropertyDescriptor'],ir=(_0x3fb141,_0x228321,_0x1cd0cf,_0x34b053)=>{var _0x3ca804=_0x368389;for(var _0x5ca06e=_0x34b053>0x1?void 0x0:_0x34b053?tr(_0x228321,_0x1cd0cf):_0x228321,_0x18bbee=_0x3fb141[_0x3ca804(0x3b7)]-0x1,_0x222c53;_0x18bbee>=0x0;_0x18bbee--)(_0x222c53=_0x3fb141[_0x18bbee])&&(_0x5ca06e=_0x222c53(_0x5ca06e)||_0x5ca06e);return _0x5ca06e;},Ae=(_0x19575b,_0x5354fb)=>(_0x5d2e75,_0x266bf0)=>_0x5354fb(_0x5d2e75,_0x266bf0,_0x19575b);let bt=class extends _0x1d0657{constructor(_0x9d6c5b,_0x15f54b,_0x1cc3b1,_0xbbd65d,_0xaa3909){var _0x311067=_0x368389;super(_0x9d6c5b,_0x15f54b,_0x1cc3b1),this['_transformService']=_0xbbd65d,this[_0x311067(0x12b)]=_0xaa3909;}['transformUndoRedo'](_0x5f07da,_0x492ac7){var _0xa28568=_0x368389;const _0x587079=this[_0xa28568(0x3a4)](_0x5f07da);if(_0x587079)try{const _0x5d2e1b=this['_transformStack'](_0x587079,_0x492ac7);this[_0xa28568(0x2c9)](_0x5f07da,_0x5d2e1b);}catch(_0x33cb04){this[_0xa28568(0x12b)][_0xa28568(0x201)]('[CollaborationUndoRedoService]',_0x33cb04),this[_0xa28568(0x27d)](_0x5f07da);}const _0x4820d7=this[_0xa28568(0x34c)](_0x5f07da);if(_0x4820d7)try{const _0x4406bb=this['_transformStack'](_0x4820d7,_0x492ac7);this[_0xa28568(0x26f)](_0x5f07da,_0x4406bb);}catch(_0x196739){this[_0xa28568(0x12b)]['error'](_0x196739),this[_0xa28568(0x248)](_0x5f07da);}}['_clearUndo'](_0x4df140){var _0x3116a0=_0x368389;const _0x28cc23=this[_0x3116a0(0x3a4)](_0x4df140);_0x28cc23&&(_0x28cc23['length']=0x0,this[_0x3116a0(0xae)]());}['_clearRedo'](_0x5e4c88){var _0x2fc9ec=_0x368389;const _0x5b7bc5=this[_0x2fc9ec(0x34c)](_0x5e4c88);_0x5b7bc5&&(_0x5b7bc5[_0x2fc9ec(0x3b7)]=0x0,this[_0x2fc9ec(0xae)]());}['_substituteUndoStack'](_0x9d8643,_0x361ca1){var _0x5461f7=_0x368389;this['_undoStacks'][_0x5461f7(0x3ac)](_0x9d8643,_0x361ca1),this[_0x5461f7(0xae)]();}[_0x368389(0x26f)](_0x35f067,_0x2c03f6){var _0x47ce15=_0x368389;this[_0x47ce15(0xaf)][_0x47ce15(0x3ac)](_0x35f067,_0x2c03f6),this[_0x47ce15(0xae)]();}[_0x368389(0x33c)](_0x33750d,_0x3ae5bd){var _0x2b4b5d=_0x368389;const _0x5af04d=[];let _0x32ac34=_0x3ae5bd,_0x3b1723=_0x3ae5bd;for(let _0x5dd0ee=_0x33750d[_0x2b4b5d(0x3b7)]-0x1;_0x5dd0ee>=0x0;_0x5dd0ee--){const {unitID:_0x9cd1a7,undoMutations:_0x1f4b90,redoMutations:_0x32a815}=_0x33750d[_0x5dd0ee],_0x5cb278=this['_transformService'][_0x2b4b5d(0x36e)](_0x32ac34,_0x1f4b90),_0x2c059b=this['_transformService'][_0x2b4b5d(0x36e)](_0x3b1723,_0x32a815);if(_0x552004(_0x5cb278)||_0x552004(_0x2c059b)){this[_0x2b4b5d(0x12b)]['error'](_0x2b4b5d(0x35e),_0x2b4b5d(0x223),_0x5cb278,_0x2c059b);break;}_0x32ac34=_0x5cb278[_0x2b4b5d(0x25e)],_0x3b1723=_0x2c059b[_0x2b4b5d(0x25e)],_0x5af04d[_0x2b4b5d(0x291)]({'unitID':_0x9cd1a7,'undoMutations':_0x5cb278['m2Prime'],'redoMutations':_0x2c059b[_0x2b4b5d(0x155)]});}return _0x5af04d[_0x2b4b5d(0xde)]();}};bt=ir([Ae(0x0,_0x558d3e),Ae(0x1,_0xcdf754),Ae(0x2,_0x5a3e4b),Ae(0x3,_0x1a3cad),Ae(0x4,_0x21f6c3)],bt);var sr=Object[_0x368389(0x33b)],nr=Object[_0x368389(0x284)],rr=(_0x101ab6,_0x17c27a,_0x2347c8)=>_0x17c27a in _0x101ab6?sr(_0x101ab6,_0x17c27a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2347c8}):_0x101ab6[_0x17c27a]=_0x2347c8,ar=(_0x16f80e,_0x3d4e3c,_0x183092,_0x493f54)=>{var _0x353f20=_0x368389;for(var _0x157339=_0x493f54>0x1?void 0x0:_0x493f54?nr(_0x3d4e3c,_0x183092):_0x3d4e3c,_0x5dcb7f=_0x16f80e[_0x353f20(0x3b7)]-0x1,_0x24690a;_0x5dcb7f>=0x0;_0x5dcb7f--)(_0x24690a=_0x16f80e[_0x5dcb7f])&&(_0x157339=_0x24690a(_0x157339)||_0x157339);return _0x157339;},Et=(_0x2190fe,_0x44cc89)=>(_0x216337,_0x2e1760)=>_0x44cc89(_0x216337,_0x2e1760,_0x2190fe),or=(_0x573514,_0xa56eb8,_0xd9b809)=>rr(_0x573514,_0xa56eb8+'',_0xd9b809);const cr=_0x368389(0xd0);let Dt=class extends _0x2f1d50{constructor(_0x11f643,_0xab5bf4,_0x3b3d3f,_0x3abc0f){var _0xeca5b4=_0x368389;super(),D(this,_0xeca5b4(0x12d)),(this[_0xeca5b4(0x12b)]=_0xab5bf4,this[_0xeca5b4(0x39e)]=_0x3b3d3f,this[_0xeca5b4(0xb8)]=_0x3abc0f);const {..._0x25eb9d}=_0x1a1e7e({},Ls,_0x11f643);if(!_0x25eb9d['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0xeca5b4(0x12d)]=_0x25eb9d,this['_configService']['setConfig'](K,_0x25eb9d);}[_0x368389(0x1fd)](){var _0x27e284=_0x368389;this[_0x27e284(0x34e)](),this[_0x27e284(0x252)]();}['_registerDependencies'](){var _0x980d73=_0x368389,_0x3cc8ce,_0x244899;this[_0x980d73(0x39e)][_0x980d73(0x274)](_0x32ded1)&&this['_logService']['error'](_0x980d73(0x1ce),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x16d07d=_0x1cd7a9([[_0x32ded1,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x980d73(0x12d)]['socketService']}],[_0x2a795b,{'useClass':Nt}],[_0x5dc2a1,{'useClass':Tt}],[_0xb996fd,{'useClass':Rt}],[_0x5bb5bb,{'useClass':Ct}],[nt],[gt]],(_0x3cc8ce=this[_0x980d73(0x12d)])==null?void 0x0:_0x3cc8ce[_0x980d73(0x1a5)]);if(!((_0x244899=this[_0x980d73(0x12d)])!=null&&_0x244899[_0x980d73(0x277)])){const _0x8c3685=_0x16d07d['findIndex'](([_0x4dc7f9])=>_0x4dc7f9===_t);_0x8c3685!==-0x1&&_0x16d07d[_0x980d73(0x2f4)](_0x8c3685,0x1);}_0x3d202f(this[_0x980d73(0x39e)],_0x16d07d);}['_initDependencies'](){var _0x22fceb=_0x368389,_0x2ae86c,_0x1859f1,_0x759fd5;this[_0x22fceb(0x39e)][_0x22fceb(0x187)](_0x5dc9e9)[_0x22fceb(0x287)]({'priority':0x14,'interceptor':_0x12399c({'maxParallel':0x6})}),(_0x2ae86c=this[_0x22fceb(0x12d)])!=null&&_0x2ae86c[_0x22fceb(0x29a)]||(_0x1859f1=this['_injector']['get'](J,_0x167b6f['OPTIONAL']))==null||_0x1859f1[_0x22fceb(0xf8)](),(_0x759fd5=this[_0x22fceb(0x12d)])!=null&&_0x759fd5[_0x22fceb(0x1cc)]&&_0x4de415(this[_0x22fceb(0x39e)],[[rt]]),_0x4de415(this[_0x22fceb(0x39e)],[[at],[nt],[ot]]);}};or(Dt,'pluginName',cr),Dt=ar([_0x24b67e(_0x68aeb2,_0x1350ad),Et(0x1,_0x21f6c3),Et(0x2,_0x3ce8f0(_0x277f78)),Et(0x3,_0x3c30e0)],Dt);function _0x4f24(_0x157a16,_0x39d9c4){var _0x111ce3=_0x111c();return _0x4f24=function(_0x4f2488,_0x27bbb9){_0x4f2488=_0x4f2488-0x90;var _0x15c2c1=_0x111ce3[_0x4f2488];return _0x15c2c1;},_0x4f24(_0x157a16,_0x39d9c4);}export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Rr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Sr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,Bs as INetworkConditionService,_t as ISingleActiveUnitService,Tr as LOCAL_CACHE_INTERVAL,gr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Or as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Cr as getLocalCacheKey,js as serializeCombRequest};
|
|
1
|
+
var _0x4328bf=_0x3c32;(function(_0x3756f5,_0x74a1f0){var _0x1aa00a=_0x3c32,_0x4bc9c3=_0x3756f5();while(!![]){try{var _0xdfb71a=parseInt(_0x1aa00a(0x1d1))/0x1+parseInt(_0x1aa00a(0x2a8))/0x2+-parseInt(_0x1aa00a(0x2f3))/0x3+parseInt(_0x1aa00a(0x207))/0x4*(parseInt(_0x1aa00a(0x219))/0x5)+parseInt(_0x1aa00a(0x196))/0x6*(-parseInt(_0x1aa00a(0x1d8))/0x7)+parseInt(_0x1aa00a(0x155))/0x8+parseInt(_0x1aa00a(0x100))/0x9*(parseInt(_0x1aa00a(0x386))/0xa);if(_0xdfb71a===_0x74a1f0)break;else _0x4bc9c3['push'](_0x4bc9c3['shift']());}catch(_0x530b0b){_0x4bc9c3['push'](_0x4bc9c3['shift']());}}}(_0x50b6,0x45078));var bi=Object[_0x4328bf(0x1c9)],Di=(_0x20a196,_0x30e84e,_0x9e79c0)=>_0x30e84e in _0x20a196?bi(_0x20a196,_0x30e84e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9e79c0}):_0x20a196[_0x30e84e]=_0x9e79c0,D=(_0x35ff89,_0x2d9aa4,_0x466b91)=>Di(_0x35ff89,typeof _0x2d9aa4!=_0x4328bf(0x138)?_0x2d9aa4+'':_0x2d9aa4,_0x466b91);import{CollaborationEvent as _0x5d996f,ITransformService as _0x1b3d1f,isTransformMutationsWithChangesetSuccess as _0x1ae9ad,mapDocumentTypeToUniverType as _0x58251b,RevisionService as _0x2e1984,isTransformChangesetsSuccess as _0x19ed71,EmptyMutationInfo as _0x3c4c5b,CompressMutationService as _0x383362,parseProtocolChangeset as _0x7a556,uuidv4 as _0x5009a5,ISnapshotServerService as _0x3da798,parseChangesetToProtocol as _0x2f0f25,SnapshotService as _0x33eb54,textEncoder as _0x6338c9,b64DecodeUnicode as _0x3943bc,isTransformMutationsWithChangesetFailure as _0xbaebf9,UniverCollaborationPlugin as _0x40a049}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x49e0a6,Inject as _0x1dda19,UserManagerService as _0x5bc58c,Disposable as _0x52aa1d,UniverInstanceType as _0xa25e24,ILogService as _0x1d1a3b,IConfigService as _0x53068b,Optional as _0x334ec4,RxDisposable as _0x276e6a,createIdentifier as _0xb1f68a,Injector as _0xee3a85,Tools as _0x2d55f4,Rectangle as _0x291960,ICommandService as _0x446ca0,JSONX as _0x4d3744,IUndoRedoService as _0x16cbab,IPermissionService as _0xf19167,LocaleService as _0xcdf5b0,sequenceExecute as _0x4b9f5a,toDisposable as _0x473a26,CommandType as _0x8c8749,DisposableCollection as _0x507ed9,Workbook as _0x5bf3d7,generateRandomId as _0x5dc9b0,MentionType as _0x5d05e3,isInternalEditorID as _0x3aaba5,LocalUndoRedoService as _0x14f28e,IContextService as _0x1d4060,DependentOn as _0x352624,Plugin as _0x1ba728,merge as _0x42ac59,mergeOverrideWithDependencies as _0x19aada,IAuthzIoService as _0x2318bd,IMentionIOService as _0x2b884a,registerDependencies as _0x358d1a,Quantity as _0x166dcf,touchDependencies as _0x55b8d5}from'@univerjs/core';import{RichTextEditingMutation as _0x5c1719}from'@univerjs/docs';import{SheetsSelectionsService as _0x5ef77b,SetSelectionsOperation as _0x123170,InsertSheetMutation as _0x56ad2b,WorkbookEditablePermission as _0x104c5b,SheetPermissionInitController as _0x12d481}from'@univerjs/sheets';import{Subject as _0x37fbef,merge as _0x4ad722,of as _0x55b75d,BehaviorSubject as _0x39c092,takeUntil as _0x11c380,ReplaySubject as _0x116082,take as _0x214f29,map as _0x3579d8,shareReplay as _0x3af9c2,firstValueFrom as _0x6669ea,concatMap as _0x1d0b42}from'rxjs';import{ITelemetryService as _0x1268ad}from'@univerjs/telemetry';import{map as _0x48e852,take as _0x26bac6,filter as _0x1e7c80,delay as _0x59b0c7,takeUntil as _0xff1faa}from'rxjs/operators';import{HTTPService as _0xd0787f,ISocketService as _0x23fc33,MergeInterceptorFactory as _0x353dcb,HTTPRequest as _0x49bbd9,UniverNetworkPlugin as _0x363f37,ThresholdInterceptorFactory as _0x39985f}from'@univerjs/network';import{ImageSourceType as _0x1a396d,ImageUploadStatusType as _0x49cb6d,IImageIoService as _0x4c0343}from'@univerjs/drawing';import{getGlobalObject as _0x65d93f}from'@univerjs-pro/license';const fs=_0x4328bf(0xdb),vs=_0x4328bf(0x22b),ps=0x7d0,Es=_0x4328bf(0xc5),Sr=_0x4328bf(0x324),ms='HEARTBEAT_INTERVAL',Is=0x7530,di=_0x4328bf(0x391),fi=0x4e20,Ss=0x4e20,gs=_0x4328bf(0x139),Ts=0x3,gr=_0x4328bf(0xf9),Tr=0x3e8,Os=_0x4328bf(0x2a3),Rs='/universer-api/oidc/authpage',Or=_0x4328bf(0x148),Rr=_0x4328bf(0x345);var vi=(_0x5f080a=>(_0x5f080a[_0x5f080a[_0x4328bf(0x2dd)]=0x0]=_0x4328bf(0x2dd),_0x5f080a[_0x5f080a['OK']=0x1]='OK',_0x5f080a[_0x5f080a['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x5f080a[_0x5f080a[_0x4328bf(0xc0)]=0x3]=_0x4328bf(0xc0),_0x5f080a[_0x5f080a['NOT_FOUND']=0x4]=_0x4328bf(0x1e7),_0x5f080a[_0x5f080a[_0x4328bf(0x3b2)]=0x5]='UNAUTHENTICATED',_0x5f080a[_0x5f080a[_0x4328bf(0x1ac)]=0x6]=_0x4328bf(0x1ac),_0x5f080a[_0x5f080a[_0x4328bf(0x1ae)]=0x7]=_0x4328bf(0x1ae),_0x5f080a[_0x5f080a[_0x4328bf(0x3ca)]=0x8]=_0x4328bf(0x3ca),_0x5f080a[_0x5f080a[_0x4328bf(0x362)]=0x9]=_0x4328bf(0x362),_0x5f080a[_0x5f080a[_0x4328bf(0x25a)]=0xa]=_0x4328bf(0x25a),_0x5f080a[_0x5f080a['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x4328bf(0xf0),_0x5f080a[_0x5f080a['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x4328bf(0x32a),_0x5f080a[_0x5f080a['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5f080a[_0x5f080a[_0x4328bf(0x21d)]=0xe]=_0x4328bf(0x21d),_0x5f080a[_0x5f080a[_0x4328bf(0x29c)]=0xf]=_0x4328bf(0x29c),_0x5f080a[_0x5f080a[_0x4328bf(0xed)]=0x10]=_0x4328bf(0xed),_0x5f080a[_0x5f080a[_0x4328bf(0x203)]=0x64]=_0x4328bf(0x203),_0x5f080a[_0x5f080a[_0x4328bf(0x123)]=0x65]=_0x4328bf(0x123),_0x5f080a[_0x5f080a[_0x4328bf(0x1d3)]=0xc9]=_0x4328bf(0x1d3),_0x5f080a[_0x5f080a['USER_IS_ANONYMOUS']=0xca]=_0x4328bf(0x134),_0x5f080a[_0x5f080a[_0x4328bf(0x1ca)]=0x1389]=_0x4328bf(0x1ca),_0x5f080a[_0x5f080a[_0x4328bf(0xf2)]=0x1771]=_0x4328bf(0xf2),_0x5f080a[_0x5f080a[_0x4328bf(0x3a0)]=0x1772]=_0x4328bf(0x3a0),_0x5f080a[_0x5f080a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4328bf(0x1a9),_0x5f080a[_0x5f080a['APPLY_REJECT']=0x1b59]=_0x4328bf(0x1f2),_0x5f080a[_0x5f080a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4328bf(0x329),_0x5f080a[_0x5f080a[_0x4328bf(0x15b)]=0x1b5b]=_0x4328bf(0x15b),_0x5f080a[_0x5f080a[_0x4328bf(0x264)]=0x1b5c]=_0x4328bf(0x264),_0x5f080a[_0x5f080a[_0x4328bf(0x2e8)]=0x1b5d]=_0x4328bf(0x2e8),_0x5f080a[_0x5f080a[_0x4328bf(0x281)]=0x1f41]=_0x4328bf(0x281),_0x5f080a[_0x5f080a[_0x4328bf(0x1cf)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5f080a[_0x5f080a[_0x4328bf(0x37a)]=0x232a]=_0x4328bf(0x37a),_0x5f080a[_0x5f080a[_0x4328bf(0x1c6)]=0x232b]=_0x4328bf(0x1c6),_0x5f080a[_0x5f080a[_0x4328bf(0x1af)]=0x232c]=_0x4328bf(0x1af),_0x5f080a[_0x5f080a[_0x4328bf(0x117)]=0x232d]=_0x4328bf(0x117),_0x5f080a[_0x5f080a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4328bf(0x130),_0x5f080a[_0x5f080a[_0x4328bf(0x101)]=0x2712]=_0x4328bf(0x101),_0x5f080a[_0x5f080a[_0x4328bf(0x225)]=0x2713]=_0x4328bf(0x225),_0x5f080a[_0x5f080a[_0x4328bf(0x2d4)]=0x2714]=_0x4328bf(0x2d4),_0x5f080a[_0x5f080a['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x4328bf(0xe1),_0x5f080a[_0x5f080a[_0x4328bf(0x1aa)]=0x271b]=_0x4328bf(0x1aa),_0x5f080a[_0x5f080a[_0x4328bf(0x30e)]=0x271c]=_0x4328bf(0x30e),_0x5f080a[_0x5f080a[_0x4328bf(0x2d1)]=0x271d]=_0x4328bf(0x2d1),_0x5f080a[_0x5f080a['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5f080a[_0x5f080a[_0x4328bf(0x39e)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5f080a[_0x5f080a[_0x4328bf(0x1fd)]=0x2720]=_0x4328bf(0x1fd),_0x5f080a[_0x5f080a[_0x4328bf(0x129)]=0x2af9]=_0x4328bf(0x129),_0x5f080a[_0x5f080a[_0x4328bf(0x1fb)]=0x2ee1]=_0x4328bf(0x1fb),_0x5f080a[_0x5f080a[_0x4328bf(0x22d)]=0x2ee2]=_0x4328bf(0x22d),_0x5f080a[_0x5f080a['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x5f080a[_0x5f080a[_0x4328bf(0xfc)]=0x2ee4]=_0x4328bf(0xfc),_0x5f080a[_0x5f080a[_0x4328bf(0x2d0)]=0x2ee5]=_0x4328bf(0x2d0),_0x5f080a[_0x5f080a[_0x4328bf(0x311)]=0x32c9]=_0x4328bf(0x311),_0x5f080a[_0x5f080a[_0x4328bf(0x124)]=0x32ca]=_0x4328bf(0x124),_0x5f080a[_0x5f080a[_0x4328bf(0x29f)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5f080a[_0x5f080a['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x4328bf(0x2a1),_0x5f080a[_0x5f080a[_0x4328bf(0x157)]=0x36b2]=_0x4328bf(0x157),_0x5f080a[_0x5f080a[_0x4328bf(0x350)]=0x36b3]=_0x4328bf(0x350),_0x5f080a[_0x5f080a['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x4328bf(0x122),_0x5f080a[_0x5f080a[_0x4328bf(0x184)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x5f080a[_0x5f080a[_0x4328bf(0x1d7)]=0x3716]=_0x4328bf(0x1d7),_0x5f080a[_0x5f080a[_0x4328bf(0x3a3)]=0x3717]=_0x4328bf(0x3a3),_0x5f080a[_0x5f080a[_0x4328bf(0x393)]=0x37dd]=_0x4328bf(0x393),_0x5f080a[_0x5f080a[_0x4328bf(0x3bc)]=0x3a99]=_0x4328bf(0x3bc),_0x5f080a[_0x5f080a[_0x4328bf(0x1f0)]=0x3a9a]=_0x4328bf(0x1f0),_0x5f080a[_0x5f080a[_0x4328bf(0x33e)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x5f080a[_0x5f080a[_0x4328bf(0x254)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x5f080a[_0x5f080a[_0x4328bf(0x2a9)]=0x3a9d]=_0x4328bf(0x2a9),_0x5f080a[_0x5f080a[_0x4328bf(0x1a7)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x5f080a[_0x5f080a[_0x4328bf(0x27c)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x5f080a[_0x5f080a[_0x4328bf(0xea)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x5f080a[_0x5f080a[_0x4328bf(0x1a4)]=-0x1]=_0x4328bf(0x1a4),_0x5f080a))(vi||{}),Q=(_0x182c3f=>(_0x182c3f[_0x182c3f[_0x4328bf(0x274)]=0x0]=_0x4328bf(0x274),_0x182c3f[_0x182c3f[_0x4328bf(0x268)]=0x1]='UNIVER_DOC',_0x182c3f[_0x182c3f[_0x4328bf(0xc6)]=0x2]=_0x4328bf(0xc6),_0x182c3f[_0x182c3f['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x182c3f[_0x182c3f['UNIVER_PROJECT']=0x4]=_0x4328bf(0x359),_0x182c3f[_0x182c3f[_0x4328bf(0x1a4)]=-0x1]=_0x4328bf(0x1a4),_0x182c3f))(Q||{}),j=(_0x2b0e9f=>(_0x2b0e9f[_0x2b0e9f[_0x4328bf(0x24d)]=0x0]=_0x4328bf(0x24d),_0x2b0e9f[_0x2b0e9f[_0x4328bf(0x2b4)]=0x1]=_0x4328bf(0x2b4),_0x2b0e9f[_0x2b0e9f['JOIN']=0x2]='JOIN',_0x2b0e9f[_0x2b0e9f[_0x4328bf(0x28a)]=0x3]=_0x4328bf(0x28a),_0x2b0e9f[_0x2b0e9f[_0x4328bf(0x1b0)]=0x4]='INGEST',_0x2b0e9f[_0x2b0e9f[_0x4328bf(0x2cf)]=0x5]=_0x4328bf(0x2cf),_0x2b0e9f[_0x2b0e9f[_0x4328bf(0x19a)]=0x6]=_0x4328bf(0x19a),_0x2b0e9f[_0x2b0e9f['UNRECOGNIZED']=-0x1]=_0x4328bf(0x1a4),_0x2b0e9f))(j||{}),pe=(_0x47d86b=>(_0x47d86b[_0x47d86b['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x47d86b[_0x47d86b['OK']=0x1]='OK',_0x47d86b[_0x47d86b[_0x4328bf(0x22e)]=0x2]=_0x4328bf(0x22e),_0x47d86b[_0x47d86b[_0x4328bf(0x266)]=0x3e9]='JOIN_ROOM_FULL',_0x47d86b[_0x47d86b['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x4328bf(0x320),_0x47d86b[_0x47d86b[_0x4328bf(0x25d)]=0x3eb]=_0x4328bf(0x25d),_0x47d86b[_0x47d86b['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x4328bf(0x3ab),_0x47d86b[_0x47d86b[_0x4328bf(0x1a4)]=-0x1]='UNRECOGNIZED',_0x47d86b))(pe||{}),pi=(_0x4f3f74=>(_0x4f3f74[_0x4f3f74[_0x4328bf(0xf3)]=0x0]=_0x4328bf(0xf3),_0x4f3f74[_0x4f3f74[_0x4328bf(0x273)]=0x1]='HttpImport',_0x4f3f74[_0x4f3f74[_0x4328bf(0x1a8)]=0x2]=_0x4328bf(0x1a8),_0x4f3f74[_0x4f3f74[_0x4328bf(0x1df)]=0x3]=_0x4328bf(0x1df),_0x4f3f74[_0x4f3f74[_0x4328bf(0x1f5)]=0x4]=_0x4328bf(0x1f5),_0x4f3f74[_0x4f3f74[_0x4328bf(0x24c)]=0x5]='UserProfileImg',_0x4f3f74[_0x4f3f74[_0x4328bf(0x2d6)]=0x6]=_0x4328bf(0x2d6),_0x4f3f74[_0x4f3f74[_0x4328bf(0x1a4)]=-0x1]='UNRECOGNIZED',_0x4f3f74))(pi||{});const Cs='collaboration_new_changeset';function Ns(_0x2d8653){var _0x2b1bf1=_0x4328bf;return JSON[_0x2b1bf1(0xe2)](_0x2d8653)['length'];}var re=(_0x84c3ff=>(_0x84c3ff['OTHER_CLIENT_EDITING']=_0x4328bf(0x3b6),_0x84c3ff['PERMISSION_DENIED']=_0x4328bf(0xc0),_0x84c3ff['CONFLICT']=_0x4328bf(0x38d),_0x84c3ff[_0x4328bf(0x2d2)]='CLOSE_ROOM',_0x84c3ff[_0x4328bf(0x3ae)]=_0x4328bf(0x3ae),_0x84c3ff[_0x4328bf(0x263)]=_0x4328bf(0x263),_0x84c3ff[_0x4328bf(0x2f2)]='SOCKET_FAILED',_0x84c3ff['SUBMIT_CHANGESET_TIMEOUT']=_0x4328bf(0x221),_0x84c3ff))(re||{});class ve{constructor(){var _0x406f2c=_0x4328bf;D(this,_0x406f2c(0x2be),new _0x37fbef()),D(this,'event$',this[_0x406f2c(0x2be)][_0x406f2c(0x133)]());}[_0x4328bf(0x3bb)](_0x5a6bd9){var _0x4466eb=_0x4328bf;this[_0x4466eb(0x2be)][_0x4466eb(0x36e)](_0x5a6bd9);}}class Ei{constructor(){var _0x579ca3=_0x4328bf;D(this,'_commentUpdate$',new _0x37fbef()),D(this,_0x579ca3(0x218),this[_0x579ca3(0x2b6)][_0x579ca3(0x133)]());}[_0x4328bf(0xc2)](_0x136abd){var _0x16e2eb=_0x4328bf;this[_0x16e2eb(0x2b6)]['next'](_0x136abd);}}var bs=Object['getOwnPropertyDescriptor'],Ds=(_0x3a22ab,_0x240d13,_0x4e8f2c,_0x5ecdb9)=>{var _0x5f0d26=_0x4328bf;for(var _0x1845e6=_0x5ecdb9>0x1?void 0x0:_0x5ecdb9?bs(_0x240d13,_0x4e8f2c):_0x240d13,_0x2b873f=_0x3a22ab[_0x5f0d26(0x384)]-0x1,_0x16ace5;_0x2b873f>=0x0;_0x2b873f--)(_0x16ace5=_0x3a22ab[_0x2b873f])&&(_0x1845e6=_0x16ace5(_0x1845e6)||_0x1845e6);return _0x1845e6;},Ft=(_0xecb0c8,_0x357ec3)=>(_0x42e937,_0x52b25e)=>_0x357ec3(_0x42e937,_0x52b25e,_0xecb0c8);let Pe=class extends _0x52aa1d{constructor(_0x18d941,_0x559c6a){var _0x5daa32=_0x4328bf;super(),D(this,_0x5daa32(0x1c3),new Map()),D(this,_0x5daa32(0x378),new _0x37fbef()),(this['_univerInstanceService']=_0x18d941,this[_0x5daa32(0x206)]=_0x559c6a,this['disposeWithMe'](_0x4ad722(this[_0x5daa32(0x2f5)]['getTypeOfUnitDisposed$'](_0xa25e24[_0x5daa32(0xc6)])[_0x5daa32(0x26f)](_0x48e852(_0x20693d=>_0x20693d[_0x5daa32(0x306)]())),this[_0x5daa32(0x2f5)][_0x5daa32(0x2b7)](_0xa25e24['UNIVER_DOC'])[_0x5daa32(0x26f)](_0x48e852(_0x3c8dfa=>_0x3c8dfa[_0x5daa32(0x306)]())),this['_univerInstanceService'][_0x5daa32(0x2b7)](_0xa25e24[_0x5daa32(0x3c1)])[_0x5daa32(0x26f)](_0x48e852(_0x25d43a=>_0x25d43a['getUnitId']())))[_0x5daa32(0x252)](_0x344854=>this[_0x5daa32(0x371)](_0x344854))));}[_0x4328bf(0x22c)](_0x58afd0){var _0x4c0ae2=_0x4328bf;return this[_0x4c0ae2(0x1c3)][_0x4c0ae2(0x2e7)](_0x58afd0)?_0x55b75d(this[_0x4c0ae2(0x1c3)][_0x4c0ae2(0x136)](_0x58afd0)):this[_0x4c0ae2(0x378)][_0x4c0ae2(0x26f)](_0x48e852(_0x3475d6=>{var _0x36e2a3=_0x4c0ae2;if(_0x3475d6===_0x58afd0)return this[_0x36e2a3(0x1c3)][_0x36e2a3(0x136)](_0x3475d6);}));}[_0x4328bf(0x1cc)](_0x2c31ce){var _0x160d04=_0x4328bf;this[_0x160d04(0x206)][_0x160d04(0x1cc)](_0x2c31ce);}[_0x4328bf(0x1cb)](){var _0x2f2ed6=_0x4328bf;return this['_userManagerService'][_0x2f2ed6(0x1cb)]();}['updateMember'](_0x1dcb70,_0x45f21b){var _0x5b9e32=_0x4328bf;let _0x517427=this['_roomMembers']['get'](_0x1dcb70);_0x517427||(_0x517427=new ys(),this[_0x5b9e32(0x1c3)]['set'](_0x1dcb70,_0x517427),this['_roomCreated$'][_0x5b9e32(0x36e)](_0x1dcb70)),_0x517427['updateMember'](_0x45f21b);}[_0x4328bf(0x38a)](_0x140c9c,_0x5bdb57){var _0x14921a=_0x4328bf;const _0x1bc3c2=this[_0x14921a(0x1c3)]['get'](_0x140c9c);_0x1bc3c2&&_0x1bc3c2[_0x14921a(0x38a)](_0x5bdb57);}['getRoom'](_0x1813b7){var _0x2190d6=_0x4328bf;return this[_0x2190d6(0x1c3)][_0x2190d6(0x136)](_0x1813b7);}[_0x4328bf(0x190)](_0x4f5a9a,_0x4243b2){var _0x46f8ce=_0x4328bf;const _0xd78f39=this[_0x46f8ce(0x1c3)][_0x46f8ce(0x136)](_0x4f5a9a);if(_0xd78f39)return _0xd78f39[_0x46f8ce(0x190)](_0x4243b2);}[_0x4328bf(0x371)](_0x5dfe2d){var _0x32118a=_0x4328bf;const _0x4a1c63=this['_roomMembers']['get'](_0x5dfe2d);_0x4a1c63&&(_0x4a1c63[_0x32118a(0x113)](),this['_roomMembers'][_0x32118a(0x3b8)](_0x5dfe2d));}[_0x4328bf(0x113)](){var _0x470b7f=_0x4328bf;this[_0x470b7f(0x1c3)][_0x470b7f(0x1ef)](_0x2fa995=>_0x2fa995[_0x470b7f(0x113)]()),this[_0x470b7f(0x1c3)][_0x470b7f(0x10c)](),this['_roomCreated$']['complete']();}};Pe=Ds([Ft(0x0,_0x49e0a6),Ft(0x1,_0x1dda19(_0x5bc58c))],Pe);class ys extends _0x52aa1d{constructor(){var _0x454f49=_0x4328bf;super(...arguments),D(this,_0x454f49(0x262),new Map()),D(this,_0x454f49(0x3cf),new _0x39c092(this[_0x454f49(0x262)])),D(this,_0x454f49(0x34b),this[_0x454f49(0x3cf)][_0x454f49(0x133)]());}[_0x4328bf(0x113)](){var _0x49810a=_0x4328bf;this[_0x49810a(0x262)][_0x49810a(0x10c)]();}[_0x4328bf(0x237)](_0x3fcf2a){var _0x44c3b5=_0x4328bf;this[_0x44c3b5(0x262)][_0x44c3b5(0x27f)](_0x3fcf2a['memberID'],_0x3fcf2a),this[_0x44c3b5(0x20e)]();}['removeMember'](_0x325dfd){var _0x1acbc0=_0x4328bf;this[_0x1acbc0(0x262)][_0x1acbc0(0x3b8)](_0x325dfd);}[_0x4328bf(0x190)](_0x2e832e){return this['_members']['get'](_0x2e832e);}[_0x4328bf(0x2fc)](){var _0x2d79a4=_0x4328bf;return Array[_0x2d79a4(0x279)](this['_members'][_0x2d79a4(0xef)]());}[_0x4328bf(0x20e)](){var _0x10c34e=_0x4328bf;this[_0x10c34e(0x3cf)]['next'](this[_0x10c34e(0x262)]);}}var Us=Object[_0x4328bf(0x10e)],As=(_0x3f0efc,_0x3b9226,_0x26cb89,_0x3b4101)=>{var _0x48add8=_0x4328bf;for(var _0x349c4a=_0x3b4101>0x1?void 0x0:_0x3b4101?Us(_0x3b9226,_0x26cb89):_0x3b9226,_0x78e9bd=_0x3f0efc[_0x48add8(0x384)]-0x1,_0x233277;_0x78e9bd>=0x0;_0x78e9bd--)(_0x233277=_0x3f0efc[_0x78e9bd])&&(_0x349c4a=_0x233277(_0x349c4a)||_0x349c4a);return _0x349c4a;},Oe=(_0x260d3c,_0x48d8b3)=>(_0xac8dc4,_0x86192)=>_0x48d8b3(_0xac8dc4,_0x86192,_0x260d3c),me=(_0x4002a6=>(_0x4002a6[_0x4002a6[_0x4328bf(0x112)]=0x0]=_0x4328bf(0x112),_0x4002a6[_0x4002a6[_0x4328bf(0x355)]=0x1]=_0x4328bf(0x355),_0x4002a6[_0x4002a6[_0x4328bf(0x17d)]=0x2]='OFFLINE',_0x4002a6[_0x4002a6[_0x4328bf(0x2ef)]=0x3]=_0x4328bf(0x2ef),_0x4002a6))(me||{});const jt={[pe[_0x4328bf(0x22e)]]:'session.join-failed',[pe[_0x4328bf(0x266)]]:'session.room-full',[pe['JOIN_ROOM_NOT_EXISTS']]:_0x4328bf(0x28c),[pe[_0x4328bf(0x25d)]]:_0x4328bf(0x270),[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let mt=class extends _0x276e6a{constructor(_0x1d12e1,_0x169e3d,_0x2f0d74,_0x53a7b9,_0xb0cc87,_0x24c7fc,_0x329ef2,_0x9ce3a2){var _0x3eb0bf=_0x4328bf;super(),D(this,_0x3eb0bf(0x1fc),new _0x39c092(0x0)),D(this,_0x3eb0bf(0x18a),this[_0x3eb0bf(0x1fc)][_0x3eb0bf(0x133)]()),D(this,_0x3eb0bf(0x2be),new _0x37fbef()),D(this,'event$',this[_0x3eb0bf(0x2be)][_0x3eb0bf(0x133)]()),D(this,_0x3eb0bf(0xd7)),D(this,'_socketMessageSubscription'),D(this,_0x3eb0bf(0x3a7)),D(this,_0x3eb0bf(0x326),!0x1),D(this,_0x3eb0bf(0x1d2),null),(this[_0x3eb0bf(0x3ac)]=_0x1d12e1,this[_0x3eb0bf(0x259)]=_0x2f0d74,this['_configService']=_0x53a7b9,this[_0x3eb0bf(0x1e6)]=_0xb0cc87,this[_0x3eb0bf(0x228)]=_0x24c7fc,this[_0x3eb0bf(0xdf)]=_0x329ef2,this[_0x3eb0bf(0x34a)]=_0x9ce3a2,this[_0x3eb0bf(0x326)]=!!this[_0x3eb0bf(0x34a)],_0x169e3d[_0x3eb0bf(0x26f)](_0x11c380(this[_0x3eb0bf(0x248)]))['subscribe'](_0x46f3fd=>{var _0x538636=_0x3eb0bf,_0x4bef82;typeof _0x46f3fd>'u'||(this[_0x538636(0xd7)]=_0x46f3fd,_0x46f3fd?(this[_0x538636(0x3be)](_0x46f3fd),this[_0x538636(0x17c)]=_0x46f3fd[_0x538636(0x31b)]['subscribe'](_0x3c8949=>{var _0x1d036e=_0x538636;_0x3c8949[_0x1d036e(0x194)]===this[_0x1d036e(0x3ac)]&&this[_0x1d036e(0x1c4)](_0x3c8949);})):(this[_0x538636(0x25f)](),this['_sessionStatus$'][_0x538636(0x36e)](0x2),(_0x4bef82=this[_0x538636(0x17c)])==null||_0x4bef82[_0x538636(0xd2)](),this['_socketMessageSubscription']=null));}));}get[_0x4328bf(0x2a6)](){var _0x35a081=_0x4328bf;return this[_0x35a081(0x1fc)][_0x35a081(0xcc)]();}[_0x4328bf(0x120)](){var _0xdcb6d1=_0x4328bf,_0xd38294,_0x2c5b7f;return(_0x2c5b7f=(_0xd38294=this[_0xdcb6d1(0xd7)])==null?void 0x0:_0xd38294[_0xdcb6d1(0x2fa)])!=null?_0x2c5b7f:null;}['dispose'](){var _0xfc71ca=_0x4328bf;super[_0xfc71ca(0x113)](),this['dispose$']['next'](),this[_0xfc71ca(0x248)][_0xfc71ca(0x26a)]();}[_0x4328bf(0x372)](){var _0x3eabf2=_0x4328bf,_0x4c6df4,_0x468ce8;this[_0x3eabf2(0x25f)](),(_0x4c6df4=this[_0x3eabf2(0xd7)])==null||_0x4c6df4[_0x3eabf2(0x36a)]({'cmd':j[_0x3eabf2(0x28a)],'data':{'roomID':this[_0x3eabf2(0x3ac)]}}),(_0x468ce8=this[_0x3eabf2(0xd7)])==null||_0x468ce8['close'](),this[_0x3eabf2(0x2be)][_0x3eabf2(0x26a)](),this[_0x3eabf2(0x1fc)][_0x3eabf2(0x26a)](),this[_0x3eabf2(0x113)]();}['_onCombEvent'](_0x1c46fa){var _0x11dc06=_0x4328bf;_0x1c46fa['cmd']===j[_0x11dc06(0x379)]?this[_0x11dc06(0xe0)](_0x1c46fa):_0x1c46fa[_0x11dc06(0x106)]===j[_0x11dc06(0x19a)]&&this[_0x11dc06(0x383)](_0x1c46fa);}[_0x4328bf(0x3be)](_0x1c3c69){var _0x66c928=_0x4328bf;this['_sessionStatus$'][_0x66c928(0x36e)](0x1),_0x1c3c69['send']({'cmd':j[_0x66c928(0x379)],'routeKey':this[_0x66c928(0x3ac)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x4328bf(0xe0)](_0x54fe30){var _0x1fe012=_0x4328bf,_0x3f3a88;if(_0x54fe30[_0x1fe012(0x12e)]in jt){this[_0x1fe012(0xdf)][_0x1fe012(0x3bb)]({'id':re['JOIN_ROOM_FAILED'],'data':jt[_0x54fe30['code']]}),this[_0x1fe012(0x1fc)]['next'](0x2);return;}this[_0x1fe012(0x1fc)]['next'](0x3);const _0x57498f=(_0x3f3a88=_0x54fe30['data']['roomInfos'][this[_0x1fe012(0x3ac)]])==null?void 0x0:_0x3f3a88[_0x1fe012(0x1ce)];_0x57498f&&_0x57498f[_0x1fe012(0x1ef)](_0x4c49c1=>this['_memberService'][_0x1fe012(0x237)](this[_0x1fe012(0x3ac)],_0x4c49c1));}['_onRecvEvent'](_0x4f3777){var _0x22c511=_0x4328bf;try{const _0x2ece7c=_0x4f3777[_0x22c511(0x334)];switch(_0x2ece7c['eventID']){case _0x5d996f[_0x22c511(0x33d)]:this['_onUserJoin'](_0x2ece7c),this['_event$'][_0x22c511(0x36e)](_0x2ece7c);break;case _0x5d996f[_0x22c511(0x34e)]:this[_0x22c511(0x251)](_0x2ece7c),this[_0x22c511(0x2be)][_0x22c511(0x36e)](_0x2ece7c);break;case _0x5d996f[_0x22c511(0x107)]:case _0x5d996f[_0x22c511(0x162)]:this[_0x22c511(0x2a4)](),this[_0x22c511(0x293)](),this[_0x22c511(0x2be)]['next'](_0x2ece7c);break;case _0x5d996f['MSG_FOR_ERROR']:this[_0x22c511(0x259)][_0x22c511(0x1a1)](_0x22c511(0x1a6)+JSON[_0x22c511(0xe2)](_0x2ece7c)),this[_0x22c511(0x2be)]['next'](_0x2ece7c);break;case _0x5d996f[_0x22c511(0x37c)]:this[_0x22c511(0x228)][_0x22c511(0xc2)](_0x2ece7c[_0x22c511(0x334)]),this[_0x22c511(0x2be)][_0x22c511(0x36e)](_0x2ece7c);break;default:this[_0x22c511(0x2be)][_0x22c511(0x36e)](_0x2ece7c);}}catch(_0x1d665e){this[_0x22c511(0x259)][_0x22c511(0x1a1)](_0x1d665e,_0x4f3777);}}[_0x4328bf(0x3cc)](_0x40b258){var _0x36c939=_0x4328bf;this['_memberService'][_0x36c939(0x237)](this[_0x36c939(0x3ac)],_0x40b258[_0x36c939(0x334)]);}[_0x4328bf(0x251)](_0x25adcc){var _0x4374d1=_0x4328bf;this[_0x4374d1(0x1e6)][_0x4374d1(0x38a)](this['_unitID'],_0x25adcc[_0x4374d1(0x334)][_0x4374d1(0x2fa)]);}async[_0x4328bf(0x36a)](_0x1ba770,_0xddbff1){var _0x5a6695=_0x4328bf;if(this[_0x5a6695(0x2a6)]!==0x3||!this[_0x5a6695(0xd7)])throw new Error(_0x5a6695(0x126));try{_0x1ba770[_0x5a6695(0x1dd)]===_0x5d996f['SUBMIT_CHANGESET']&&(this[_0x5a6695(0x1a0)](),this[_0x5a6695(0x32e)](_0x1ba770)),this[_0x5a6695(0xd7)][_0x5a6695(0x36a)]({'cmd':j[_0x5a6695(0x1b0)],'routeKey':_0xddbff1,'routeType':'','data':_0x1ba770});}catch(_0x5cad0c){this[_0x5a6695(0x259)][_0x5a6695(0x1a1)](_0x5cad0c);}}[_0x4328bf(0x1a0)](){var _0x3e32a8=_0x4328bf,_0x2c7a42;this[_0x3e32a8(0x3a7)]=setTimeout(()=>{var _0x5a9ade=_0x3e32a8;this[_0x5a9ade(0x3a7)]=null,this[_0x5a9ade(0xdf)]['emitEvent']({'id':re[_0x5a9ade(0x221)]});},(_0x2c7a42=this[_0x3e32a8(0x18e)][_0x3e32a8(0x2b0)](di))!=null?_0x2c7a42:fi);}[_0x4328bf(0x293)](){var _0x55d72b=_0x4328bf;this[_0x55d72b(0x3a7)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x4328bf(0x32e)](_0x5bfabc){var _0x34444c=_0x4328bf;if(!this[_0x34444c(0x326)])return;const {data:_0x5e43f7}=_0x5bfabc,{unitID:_0x344761,changeset:_0x5d6e78}=_0x5e43f7,{mutations:_0x2e4407,type:_0xea3703}=_0x5d6e78;this[_0x34444c(0x1d2)]={'unitId':_0x344761,'type':_0xea3703,'startTime':performance[_0x34444c(0x364)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x2e4407)};}[_0x4328bf(0x2a4)](){var _0x2f2b05=_0x4328bf;if(this[_0x2f2b05(0x326)]){if(!this[_0x2f2b05(0x1d2)]){this[_0x2f2b05(0x259)][_0x2f2b05(0x1a1)](_0x2f2b05(0x305),_0x2f2b05(0x16a));return;}this[_0x2f2b05(0x1d2)][_0x2f2b05(0x387)]=performance[_0x2f2b05(0x364)](),this[_0x2f2b05(0x1d2)][_0x2f2b05(0x2e6)]=this[_0x2f2b05(0x1d2)][_0x2f2b05(0x387)]-this[_0x2f2b05(0x1d2)][_0x2f2b05(0x2e0)],this[_0x2f2b05(0x34a)][_0x2f2b05(0x369)](Cs,this['_telemetryInfo']),this[_0x2f2b05(0x1d2)]=null;}}[_0x4328bf(0x25f)](){this['_telemetryInfo']=null;}};mt=As([Oe(0x2,_0x1d1a3b),Oe(0x3,_0x53068b),Oe(0x4,_0x1dda19(Pe)),Oe(0x5,_0x1dda19(Ei)),Oe(0x6,_0x1dda19(ve)),Oe(0x7,_0x334ec4(_0x1268ad))],mt);const J=_0xb1f68a(_0x4328bf(0x351));function Cr(_0x1040f1){var _0x35d778=_0x4328bf;return _0x35d778(0x1e4)+_0x1040f1;}var Ps=Object[_0x4328bf(0x10e)],ws=(_0x29cb55,_0x240468,_0x1ee17d,_0x2b29df)=>{var _0x5b4627=_0x4328bf;for(var _0x16db5a=_0x2b29df>0x1?void 0x0:_0x2b29df?Ps(_0x240468,_0x1ee17d):_0x240468,_0x28039f=_0x29cb55[_0x5b4627(0x384)]-0x1,_0x3a2e64;_0x28039f>=0x0;_0x28039f--)(_0x3a2e64=_0x29cb55[_0x28039f])&&(_0x16db5a=_0x3a2e64(_0x16db5a)||_0x16db5a);return _0x16db5a;},ut=(_0x4ba72e,_0x5f36f3)=>(_0x303519,_0x579406)=>_0x5f36f3(_0x303519,_0x579406,_0x4ba72e);function Ms(_0x2e471e){var _0x7be22b=_0x4328bf;const {unitID:_0x4923f3,mutations:_0xfab57c}=_0x2e471e;return{'unitId':_0x4923f3,'subUnitId':_0xfab57c[_0x7be22b(0x384)]>0x0?_0xfab57c[0x0]['params']['subUnitId']:null};}function _0x50b6(){var _0x475fd1=['_collaborationSessionService','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_event$','_unitInfo$','conflict','splice','[PendingState]:\x20received\x20rejection.','$super','state','debug','parse','find','_updateState','getTypeOfUnitAdded$','processBlock','repeat','_replaceFileID','_initCloseConn','fromCharCode','HEARTBEAT','INVITE_CODE_ALREADY_BOUND','YUUMI_ALL_TABLES_IS_INVALID','CLOSE_ROOM','change$','YUUMI_SUBSCRIPTION_NOT_FOUND','_prevBlock','ClipsheetFragments','PasswordBasedCipher','_listenToNetworkCondition','reduce','override','method','socket\x20open.','UNDEFINED','error$','findIndex','startTime','readyForCollab','[OfflineState]:\x20received\x20changeset.','LIVESHARE_NEW_HOST','charAt','event$','duration','has','APPLY_DUPLICATED','reqId','__creator','_substituteUndoStack','key','_waitForHeartbeatResponse','map','ONLINE','_getLoginPath','csAckEvent','SOCKET_FAILED','1515582FMaFzd','_DEC_XFORM_MODE','_univerInstanceService','_singleActiveUnitService','updateSnapshot','_revisionService','Univer','memberID','range','getAllMembers','enableSingleActiveInstanceLock','image/gif','loadUnit','createInstance','Failed\x20to\x20update\x20permission\x20point','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_handler','Utf8','[CollaborationSession]','getUnitId','univer-pro.collaboration-client.network-condition.service','sheets','onTransformIME','reject','_transformStateCache','transformMutationsWithChangeset','_redoStacks','YUUMI_TABLE_NOT_FOUND_IN_UNIT','People','Pkcs7','WECHAT_HAS_BEEN_BOUND','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','EvpKDF','saveSheetBlock','pluginName','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','updateCollaborator','equals','workbook','_onFetchMissResult','message$','DEFAULT_FILE_NAME','_awaitingChangeset','submit\x20changeset\x20error!','OPTIONAL','JOIN_ROOM_NOT_EXISTS','c1Prime','onload','_clearRedo','/universer-api/user/session-ticket','registerHTTPInterceptor','_shouldReportTelemetry','_entityInit$','buffer','APPLY_NON_SEQUENTIAL_REVISION','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','put','updateCursorEvent','_getRedoStack','_startTelemetryCollaborationNewChangeset','_compressMutationService','_iv','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','isPermissionRej','algo','data','LIVESHARE_FETCH_OPERATIONS','add','patch','every','_replayCachedMutations','entries','/new_changes','reset','USERS_ENTER','REDEMPTION_CODE_FULLY_REDEEMED','_initMergeInterceptor','clone','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','SHOULD_CLOSE_CONN','padding','crypto','/universer-api/uniscript','getUnitType','ERROR_IMAGE_TYPE','push','_sender','_telemetryService','members$','call','[CollaborationEntity]','USERS_LEAVE','_data','ENTITLE_DUP_SUBSCRIPTION','collaboration-client.local-cache-service','_onConnectionOpen','_submitChangeset','_status$','JOINING','socketService','_clearRetryConnectingTimer','_HTTPService','UNIVER_PROJECT','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','randomBytes','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','[DataLoaderService]','name','failed\x20to\x20apply\x20missed\x20changesets!','body','enableAuthServer','COMPLETION_FINISHED','_xformMode','now','ciphertext','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','permissionRejEvent','loadUnitOfRevision','capture','send','getUnit','withCredentials','_init','next','Could\x20not\x20dynamically\x20require\x20\x22','_getDownloadEndpointURL','_removeRoom','close','_transitionLocked','deleteCollaborator','BufferedBlockAlgorithm','sin','__esModule','_roomCreated$','JOIN','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','unknown','COMMENT_UPDATE','_tryEnsureSocket','_config','AES','status','\x0aCurrent:\x20','getInterceptPoints','_onRecvEvent','length','&source=','10FTMqyk','stopTime','_socket$','_getSignURL','removeMember','OTHER_CLIENTS_EDITING','shouldCloseConn','CONFLICT','filter','/unit/','floor','HEARTBEAT_TIMEOUT','_sendingTimer','ENTITLE_NEED_BILLING_ADDRESS','_remoteChangesetQueue','_updateLocalCache','_toggleOnline','slice','_sendHeartbeat','liveShareOperation','params','extend','_fetchMissChangesets','onSyncEditingCollabCursor','YUUMI_AI_RUN_FAILED','&assign=','SNAPSHOT_HAS_BEEN_REMOVED','localCacheService','file','ENTITLE_INSUFFICIENT_QUOTA','NO_OTHER_CLIENTS_EDITING','PERMISSION_REJ','univer-pro.collaboration-client-socket-service','_collaborationTimeoutTimer','objectType','requireSession','loadOfflineData','GLOBAL_ROOMS_CNT_EXCEEDS','_unitID','_incrementRevisionNumber','JOIN_ROOM_FAILED','PERSON','_scheduleCompleteTimestamp','headers','UNAUTHENTICATED','image/png','hasher','_acknowledgedAwaitingChangeset','OTHER_CLIENT_EDITING','createCollaborator','delete','LIVESHARE_REQUEST_HOST','m2Prime','emitEvent','REDEMPTION_INVALID_CODE','_collaborationPaused','_joinRoom','resolve','_getAPIPrefixPath','UNIVER_SLIDE','_mode','getCollabEntity','onRemoteChangeset','_doReset','updateOfflineData','x-univer-host','objectActions','max','TOO_MANY_REQUESTS','open$','_onUserJoin','_hash','state$','_members$','getSheetId','_resendWithTimeout','_initUnitPermissionChange','mixIn','toggleOnline','_retryConnectingTimer','BASE64','[PendingState]:\x20received\x20acknowledgement.','getDeserializedSheetBlock','_imageSourceCache','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','resend','toString','_onRemoteChangeset','PERMISSION_DENIED','_map','onCommentUpdate','exports','_waitCount','ws://127.0.0.1:8000/universer-api/comb/connect','UNIVER_SHEET','_clearHeartbeatTimer','_showConflictNotification','_state','_nDataBytes','_tryReconnect','getValue','_onConflict','_changesetReqId','iterations','_getUploadFileURL','onSendChangeset','unsubscribe','getFocusedUnit','clamp','HMAC','liveShareNewHost','_socket','getCurrentRevOfUnit','AWAITING_WITH_PENDING','[FetchMissState]','/universer-api/snapshot','auth.needGotoLoginAlert','Error\x20on\x20receiving\x20event','_collabSessionService','_collaborationUIEventService','_onJoinRoomEvent','YUUMI_NO_CUBOID_FOR_QUESTION','stringify','enableOfflineEditing','_socketReady','fetchMissingChangesets','_localeService','_process','catch','getRandomValues','DATA_SOURCE_TOO_LARGE','UNISCRIPT_RUN','[OfflineState]:\x20received\x20rejection.','LOGIN_TOKEN_PROCESSING_FAILED','[CollaborationSessionService]','values','MOBILE_VERIFY_CODE_MISMATCH','_createHelper','SNAPSHOT_INVALID_SNAPSHOT','Undefined','onLocalMutation','closeSession','synced','unitID','transformChangesets','LOCAL_CACHE_INTERVAL','_initRequestHeader','loadDoc','USER_NOT_INVITED_CODE','signUrlServerUrl','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','fetching\x20missing\x20changesets\x20from\x20','929619GfcMTJ','YUUMI_URL_COL_OUT_OF_RANGE','/universer-api/file/{fileID}/sign-url','_onMessage','[CollaborationUndoRedoService]','_permissionService','cmd','CHANGESET_ACK','authzUrl','_schedule','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','clear','_resendTimeout','getOwnPropertyDescriptor','getLatestCsReqIdBySid','substr','_getCurrentRevision','IDLE','dispose','title','updatePermissionPoint','execute','LICENSE_DISTRO_REJECTED','getImageSourceCache','/universer-api/authz','/fetchmissing?from=','_doCreateSocket','roles','_getAPIPrefix','cfg','selections','getMemberID','{fileID}','PAYMENT_CHANNEL_NOT_SUPPORT','ERROR_AGAIN','MOBILE_HAS_BEEN_BOUND','keySize','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','collaMsg','BlockCipher','PY_RUNTIME_SCRIPT_ERROR','responseType','Malformed\x20UTF-8\x20data','_injector','ceil','code','type','YUUMI_UNABLE_LOAD_URL','apply','userID','asObservable','USER_IS_ANONYMOUS','pauseCollaboration','get','LIVESHARE_OPERATION','symbol','RETRY_CONNECTING_MAX_COUNT','NEW_CHANGESETS','getResourcesRequest','LIVESHARE_TERMINATE','setWaitCount','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','image/bmp','refreshPermission','COMPRESS_MUTATION_APPLY','getActiveSheet','c2Prime','_clearTimeoutTimer','onMissedChangesetFetched','blockSize','confirm','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_onConnectionFailed','_decreaseWaiting','salt','fromCollab','collaboration-client.config','CHANGESET_REJ','OpenSSL','prototype','_transformRemoteChangesetByStateCache','onMissingChangesets','_change$','target','629304Jhfjzn','encrypt','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_ENC_XFORM_MODE','_lockTransition','?size=','APPLY_REVISION_CONFILICT','lib','saveSnapshot','Base64','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_createInitialStateImpl','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_SHOULD_RETRY','createEncryptor','_onOffline','pending','encodeURIComponent','_rescheduleHeartbeat','sendChangesetTimeout','includes','telemetry\x20info\x20is\x20not\x20initialized','enableCollaboration','_doFinalize','_hasher','_resendTimer','awaitingChangeset','CipherParams','UUID','MUTATION','_createInitialState','/resources','_state$','kdf','\x0aAfter:\x20','_commandService','AWAITING','listCollaborators','_updateStatus','_socketMessageSubscription','OFFLINE','encode','awaiting','fetchThroughInterceptors','unitId\x20is\x20not\x20found','_snapshotServerService','_candidateSocket','ENTITLE_CHAT_LIMIT_EXCEED','_transformUndoredo','WordArray','joinEvent','concat','_undoRedoService','sessionStatus$','SHA1','formatter','_createHandler','_configService','_timeoutTimer','getMember','_transformSelections','__Key__','_executeRemoteChangeset','routeKey','_minBufferSize','1668mvLidr','MD5','executeCommand','transformUndoRedo','RECV','href','createSocket','_toggleOffline','leaveEvent','_substituteRedoStack','_scheduleCollaborationTimeoutTimer','error','onTransformState','_retryCount','UNRECOGNIZED','fetch_missing','save\x20fail\x20reason\x20is\x20','REDEMPTION_USER_REDEEM_TIMES_EXCEED','HttpExport','ENSURE_SNAPSHOT_EXECUTION','YUUMI_ASYNCIO_CANCELLED','_clearScheduledTask','ALREADY_EXISTS','hasOwnProperty','INVALID_ARGUMENT','LICENSE_EXPORT_SIZE_EXCEEDED','INGEST','join','_keyPriorReset','baseRev','\x20to\x20','onTransformRemoteChangesetByStateCache','/-/object/-/batch_allowed','compose','_onRemoteRejected','initWorkbookPermissionChange','subject','onCommandExecuted','_exhaustRemoteChangesetQueue','_invKeySchedule','&to=','_sendHeartbeatTimer','url','image/jpeg','_nRounds','_roomMembers','_onCombEvent','create','LICENSE_IMPORT_SIZE_EXCEEDED','session','focused$','defineProperty','CHANGESET_REVISION_CONFILICT','getCurrentUser','setCurrentUser','listRoles','members','LICENSE_MAX_UNITS_EXCEEDED','_parse','301446VfKVXa','_telemetryInfo','USER_NOT_FOUND','_entities','UPDATE_PERMISSION_OBJ','_getUndoStack','ENTITLE_REPORT_LIMIT_EXCEED','7042qYKPaV','_sheetTransformSelectionsService','Encryptor','MSG_FOR_ERROR','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','eventID','size','UnitEmbedded','enc','_doCryptBlock','onTransformRemoteChangesetByIMECache','/rev/','unit-cache-','onTransformSelections','_memberService','NOT_FOUND','format','objectID','_onRemoteACK','_transformService','_getSendChangesetTimeout','_localCacheService','univer-pro.collaboration-client.single-active-unit-service','forEach','REDEMPTION_CODE_INACTIVE','_sessions','APPLY_REJECT','getSheetBlock','close$','UnitSnapshot','SYNCED','decryptBlock','sigBytes','saveChangeset','[SyncedState]:\x20received\x20acknowledgement.','INVITE_CODE_HAS_BEEN_UES','_sessionStatus$','YUUMI_CONNECTOR_URL_NOT_FOUND','_registerDependencies','Hex','uploadFileServerUrl','_httpService','socket\x20close','CURRENT_STATUS_CANNOT_OPERATE','_cipher','ERROR_IMAGE','_userManagerService','351716LrOZzJ','_snapshotService','getSnapshotAPIPath','fetchMiss','_createHmacHelper','location','append','_emitMembers','commentUpdateEvent','getUnitOnRev','[CollaborationSessionService]:\x20socket\x20error','msCrypto','getCollabEntity$','HmacSHA1','isArray','getWorkbookSelections','_queuedRemoteChangesets','commentUpdate$','15sgDiex','random','interceptor','then','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','putCollaborators','_transformStack','connection\x20error','SUBMIT_CHANGESET_TIMEOUT','incrementRevOfUnit','unitId','UPDATE_CURSOR','YUUMI_RATE_OVER_LIMIT','unitInfo$','editing\x20status\x20changed\x20to','_commentService','\x20in\x20_schedule.','update','SNAPSHOT_URL_KEY','waitForRoom$','INVALID_INVITE_CODE','FAIL','createDecryptor','_onLocalMutation','mode','/allowed','_onRemoteRetry','compute','editingUnit','toggleOffline','updateMember','collaborators','_applyRemoteChangeset','localeService','_transformIMECache','encryptBlock','_key','_startCollaboration','finalize','csShouldRetryEvent','HmacMD5','string','onStateChange','list','init','BlockCipherMode','_checkMissing','dispose$','_disableEditing','entityInit$','status$','UserProfileImg','UNKNOWN_CMD','_instanceService','copyFileMeta','PSEUDO_FETCH_MISSING_RESULT','_onUserLeave','subscribe','sid','REDEMPTION_CODE_NOT_STARTED','actions','\x20-\x20','_changesetSessionId','_iKey','_logService','LOGIN_FAILED','_unlockTransition','snapshotServerUrl','JOIN_ROOM_PERMISSION_DENIED','SerializableCipher','_throwTelemetryCollaborationNewChangeset','getUnitStatus$','_createSocket','_members','SOCKET_FAILED_RETRY','APPLY_PERMISSION_DENIED','result','JOIN_ROOM_FULL','_handlerCallback','UNIVER_DOC','Decryptor','complete','onRemoteRetry','default','updatePermissionObjEvent','words','pipe','session.room-permission-denied','_oKey','NoPadding','HttpImport','UNIVER_UNKNOWN','unpad','_getCtorByUniverType','function','transformSelections','from','_initDependencies','_doProcessBlock','REDEMPTION_CODE_HAS_BEEN_CREATED','onRemoteAck','disposeWithMe','set','newCsEvent','CONNECTOR_DATA_TOO_LARGE','uniscriptRunEvent','post','downloadEndpointUrl','textRanges','_append','charCodeAt','mutations','_keySchedule','LEAVE','action','session.room-not-exists','_pendingMutations','_isPermissionRej','COMPRESS_MUTATION_SEND','getCurrentSelections','reconnect','hostname','_clearCollaborationTimeoutTimer','ivSize','FETCH_MISSING','readAsDataURL','onlyLocal','online$','/-/object/list','POST','readInt32LE','AUTHORIZE_CODE_ILLEGAL','/collaborator','originalMeta','EMAIL_HAS_BEEN_BOUND','min','ENTITLE_CAN_NOT_BUY_LOWER_OTP','appendMutation','/universer-api/comb','_stopTelemetryCollaborationNewChangeset','/object/','sessionStatus','requestParams','640838KygGJT','REDEMPTION_USER_NOT_ELIGIBLE','UNIVER_COLLABORATION_CLIENT_PLUGIN','_type','[OfflineState]:\x20received\x20acknowledgement.','revision','/object','Base','getConfig','onRemoteRej','/block/','_reverseMap','HELLO','_eventService','_commentUpdate$','getTypeOfUnitDisposed$','pad','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_clearUndo','Hasher'];_0x50b6=function(){return _0x475fd1;};return _0x50b6();}let it=class{constructor(_0x551420,_0x508f58,_0x1bb719){var _0x2b1331=_0x4328bf;this['_injector']=_0x551420,this[_0x2b1331(0x1eb)]=_0x508f58,this[_0x2b1331(0x24e)]=_0x1bb719;}[_0x4328bf(0x278)](_0x572d56){var _0x1a4227=_0x4328bf,_0x2b17e1,_0x133610,_0x18acfd,_0x514758;const _0x5b6a70=this[_0x1a4227(0x12c)]['get'](_0x5ef77b),{unitId:_0x1660c3,subUnitId:_0x36a4b5}=Ms(_0x572d56),_0x5cff99=_0x5b6a70==null?void 0x0:_0x5b6a70[_0x1a4227(0x216)](_0x1660c3)[_0x1a4227(0x290)](),_0x1c0f93=(_0x133610=(_0x2b17e1=this['_instanceService'][_0x1a4227(0x36b)](_0x1660c3))==null?void 0x0:_0x2b17e1[_0x1a4227(0x142)]())==null?void 0x0:_0x133610[_0x1a4227(0x3d0)]();if(_0x5cff99[_0x1a4227(0x384)]===0x0||!_0x1660c3||!_0x36a4b5)return;const _0x3c0274=[{'id':_0x123170['id'],'params':{'unitId':_0x1660c3,'subUnitId':_0x1c0f93,'selections':_0x2d55f4['deepClone'](_0x5cff99)}}],_0x508d74=this[_0x1a4227(0x1eb)][_0x1a4227(0x30c)](_0x572d56,_0x3c0274);if(!_0x1ae9ad(_0x508d74))throw _0x508d74['error'];const _0x427427=(_0x514758=(_0x18acfd=_0x508d74[_0x1a4227(0x3ba)][0x0])==null?void 0x0:_0x18acfd[_0x1a4227(0x39a)])==null?void 0x0:_0x514758[_0x1a4227(0x11f)];if(Array[_0x1a4227(0x215)](_0x427427)&&_0x427427[_0x1a4227(0x384)]){if(_0x427427[_0x1a4227(0x384)]===_0x3c0274[0x0][_0x1a4227(0x39a)][_0x1a4227(0x11f)]['length']&&_0x427427['every']((_0x4c7fcc,_0x103b7a)=>_0x291960[_0x1a4227(0x318)](_0x4c7fcc['range'],_0x3c0274[0x0]['params'][_0x1a4227(0x11f)][_0x103b7a][_0x1a4227(0x2fb)])))return;this[_0x1a4227(0x12c)][_0x1a4227(0x136)](_0x446ca0)[_0x1a4227(0x198)](_0x123170['id'],{'unitId':_0x1660c3,'subUnitId':_0x1c0f93,'selections':_0x427427});}}};it=ws([ut(0x0,_0x1dda19(_0xee3a85)),ut(0x1,_0x1b3d1f),ut(0x2,_0x49e0a6)],it);const _t=_0xb1f68a(_0x4328bf(0x1ee));var mi=(_0x10edb5=>(_0x10edb5[_0x10edb5['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4328bf(0x3a4),_0x10edb5[_0x10edb5[_0x4328bf(0x38b)]=0x1]=_0x4328bf(0x38b),_0x10edb5))(mi||{});const K=_0x4328bf(0x14d),Ls={},xs=new Set([_0x56ad2b['id']]);function Vt(_0x268173,_0x23386b,_0x105d27,_0x21e8f9,_0x190fbd){var _0x3d52f5=_0x4328bf,_0x59fccf,_0x471bbe,_0x4cfd00,_0x32b2d5;const _0x637dbb=[];for(const _0x5a6467 of _0x268173)if(xs['has'](_0x5a6467['id'])){if(_0x637dbb[_0x3d52f5(0x384)]>0x0)break;_0x637dbb[_0x3d52f5(0x348)](_0x5a6467);break;}else _0x637dbb['push'](_0x5a6467);const _0x43bd67=(_0x471bbe=(_0x59fccf=_0x190fbd[_0x3d52f5(0x1cb)]())==null?void 0x0:_0x59fccf[_0x3d52f5(0x132)])!=null?_0x471bbe:_0x3d52f5(0x37b),_0x1968e3=(_0x32b2d5=(_0x4cfd00=_0x190fbd['getCurrentUser']())==null?void 0x0:_0x4cfd00[_0x3d52f5(0x2fa)])!=null?_0x32b2d5:_0x3d52f5(0x37b);return{'changeset':{'unitID':_0x23386b,'type':_0x58251b(_0x105d27[_0x3d52f5(0x346)](_0x23386b)),'baseRev':_0x21e8f9[_0x3d52f5(0xd8)](_0x23386b),'revision':0x0,'userID':_0x43bd67,'memberID':_0x1968e3,'mutations':_0x637dbb},'pendingMutations':_0x268173[_0x3d52f5(0x397)](_0x637dbb[_0x3d52f5(0x384)])};}function ks(_0x2f623e,_0xa80a42,_0x542ffe,_0x5a4f82,_0x4b10bd){var _0x287668=_0x4328bf,_0xb1f072,_0x300efe,_0x230e6c,_0x50f718;const _0x22bdca=[_0x2f623e[_0x287668(0x2d9)]((_0x10a240,_0x1027ad)=>{var _0x181787=_0x287668,_0x2ac9c2;const {id:_0x2d592a}=_0x10a240,{id:_0x3d0f62,type:_0x518f6a}=_0x1027ad,_0x502a46=(_0x2ac9c2=_0x10a240[_0x181787(0x39a)])!=null?_0x2ac9c2:{'actions':null},_0x59a4bb=_0x1027ad[_0x181787(0x39a)];if(_0x2d592a&&_0x2d592a!==_0x3d0f62)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x2d592a+_0x181787(0x256)+_0x3d0f62+'.');return{..._0x10a240,'id':_0x3d0f62,'type':_0x518f6a,'params':{'unitId':_0x59a4bb['unitId'],'textRanges':_0x59a4bb[_0x181787(0x285)],'actions':_0x4d3744[_0x181787(0x1b7)](_0x502a46['actions'],_0x59a4bb[_0x181787(0x255)])}};},{})],_0x24ff52=(_0x300efe=(_0xb1f072=_0x4b10bd[_0x287668(0x1cb)]())==null?void 0x0:_0xb1f072[_0x287668(0x132)])!=null?_0x300efe:_0x287668(0x37b),_0x40fa2e=(_0x50f718=(_0x230e6c=_0x4b10bd['getCurrentUser']())==null?void 0x0:_0x230e6c[_0x287668(0x2fa)])!=null?_0x50f718:_0x287668(0x37b);return{'changeset':{'unitID':_0xa80a42,'type':_0x58251b(_0x542ffe['getUnitType'](_0xa80a42)),'baseRev':_0x5a4f82[_0x287668(0xd8)](_0xa80a42),'revision':0x0,'userID':_0x24ff52,'memberID':_0x40fa2e,'mutations':_0x22bdca},'pendingMutations':[]};}function Ii(_0x129866,_0x230ea1){var _0x24b01d=_0x4328bf;const _0x268b1f=new _0x116082(0x1);return setTimeout(()=>_0x268b1f[_0x24b01d(0x36e)](_0x230ea1),_0x129866),_0x268b1f['asObservable']()[_0x24b01d(0x26f)](_0x214f29(0x1));}var $s=Object[_0x4328bf(0x10e)],Se=(_0x26d3a2,_0x4cb2b0,_0x1b496b,_0x1a0231)=>{var _0x2ede2d=_0x4328bf;for(var _0x44b39f=_0x1a0231>0x1?void 0x0:_0x1a0231?$s(_0x4cb2b0,_0x1b496b):_0x4cb2b0,_0x2f8690=_0x26d3a2[_0x2ede2d(0x384)]-0x1,_0x64c7cb;_0x2f8690>=0x0;_0x2f8690--)(_0x64c7cb=_0x26d3a2[_0x2f8690])&&(_0x44b39f=_0x64c7cb(_0x44b39f)||_0x44b39f);return _0x44b39f;},w=(_0x1ec749,_0x490c97)=>(_0x146cbd,_0x34ebb2)=>_0x490c97(_0x146cbd,_0x34ebb2,_0x1ec749),Si=(_0x412e99=>(_0x412e99['NOT_COLLAB']='not_collab',_0x412e99[_0x4328bf(0x1f6)]=_0x4328bf(0xf6),_0x412e99['PENDING']=_0x4328bf(0x165),_0x412e99[_0x4328bf(0x179)]=_0x4328bf(0x17f),_0x412e99[_0x4328bf(0xd9)]='awaiting_with_pending',_0x412e99['FETCH_MISS']=_0x4328bf(0x1a5),_0x412e99[_0x4328bf(0x38d)]=_0x4328bf(0x2c0),_0x412e99[_0x4328bf(0x17d)]='offline',_0x412e99))(Si||{});const gi=0xea60;class ge{constructor(_0x3c2853,_0x262ab1,_0x46aee8,_0xc1619,_0x230323,_0x5527b7,_0x1b7f66,_0x5bf15f,_0x2fab4b){var _0x6b6a70=_0x4328bf;D(this,_0x6b6a70(0x31d),null),D(this,'_pendingMutations',[]),(this[_0x6b6a70(0xf7)]=_0x3c2853,this[_0x6b6a70(0x12f)]=_0x262ab1,this[_0x6b6a70(0x303)]=_0x230323,this[_0x6b6a70(0x178)]=_0x5527b7,this['_undoRedoService']=_0x1b7f66,this[_0x6b6a70(0x2f8)]=_0x5bf15f,this[_0x6b6a70(0x1ed)]=_0x2fab4b,this[_0x6b6a70(0x31d)]=_0x46aee8,this[_0x6b6a70(0x28d)]=_0xc1619);}['_checkMissing'](_0x591c8){var _0x13d7f1=_0x4328bf;const _0x25b1c5=this['_revisionService'][_0x13d7f1(0xd8)](this[_0x13d7f1(0xf7)]);return _0x591c8[_0x13d7f1(0x2ad)]>_0x25b1c5+0x1?(this[_0x13d7f1(0x303)]['onMissingChangesets']({'from':_0x25b1c5,'to':_0x591c8[_0x13d7f1(0x2ad)]-0x1}),!0x0):!0x1;}[_0x4328bf(0x185)](_0x271d2b){var _0x5bf0af=_0x4328bf;this[_0x5bf0af(0x189)][_0x5bf0af(0x199)](this[_0x5bf0af(0xf7)],_0x271d2b);}[_0x4328bf(0x191)](_0x50022b){var _0x4a88e8=_0x4328bf,_0x434aed,_0x7f206c;(_0x7f206c=(_0x434aed=this['_handler'])[_0x4a88e8(0x1e5)])==null||_0x7f206c['call'](_0x434aed,_0x50022b);}[_0x4328bf(0x23b)](_0x12eca0){var _0x4aeffe=_0x4328bf,_0x42b122,_0x1186ea;return(_0x1186ea=(_0x42b122=this[_0x4aeffe(0x303)])[_0x4aeffe(0x309)])==null?void 0x0:_0x1186ea['call'](_0x42b122,_0x12eca0);}[_0x4328bf(0x30b)](_0x1db91e){var _0x33df58=_0x4328bf,_0x28347e,_0x46f421;return(_0x46f421=(_0x28347e=this[_0x33df58(0x303)])[_0x33df58(0x1a2)])==null?void 0x0:_0x46f421['call'](_0x28347e,_0x1db91e);}['_transformRemoteChangesetByIMECache'](_0x3e7785){var _0x4a38dc=_0x4328bf,_0x480d26,_0x38dc9a,_0x188007;return(_0x188007=(_0x38dc9a=(_0x480d26=this['_handler'])[_0x4a38dc(0x1e2)])==null?void 0x0:_0x38dc9a[_0x4a38dc(0x34c)](_0x480d26,_0x3e7785))!=null?_0x188007:_0x3e7785;}[_0x4328bf(0x151)](_0x850cac){var _0x2613f4=_0x4328bf,_0x5b8cc6,_0x1e97c9,_0xef907f;return(_0xef907f=(_0x1e97c9=(_0x5b8cc6=this['_handler'])[_0x2613f4(0x1b5)])==null?void 0x0:_0x1e97c9['call'](_0x5b8cc6,_0x850cac))!=null?_0xef907f:_0x850cac;}['_syncEditingCollabCursor'](_0x16ff9c){var _0x3a185b=_0x4328bf,_0x5e870b,_0x49a8db;if(this['type']===Q[_0x3a185b(0x268)]){const {unitID:_0x24c93c,mutations:_0x546fa7,memberID:_0x25eee3}=_0x16ff9c,_0x362998=_0x546fa7[_0x3a185b(0x384)]>0x0?_0x546fa7[0x0][_0x3a185b(0x39a)][_0x3a185b(0x285)]:[];Array[_0x3a185b(0x215)](_0x362998)&&_0x362998['length']>0x0&&((_0x49a8db=(_0x5e870b=this[_0x3a185b(0x303)])['onSyncEditingCollabCursor'])==null||_0x49a8db['call'](_0x5e870b,{'unitID':_0x24c93c,'memberID':_0x25eee3,'textRanges':_0x362998}));}}[_0x4328bf(0x395)](){var _0x3a52ac=_0x4328bf,_0x1b4a51;(_0x1b4a51=this[_0x3a52ac(0x1ed)])==null||_0x1b4a51[_0x3a52ac(0x3c6)](this[_0x3a52ac(0xf7)],this[_0x3a52ac(0x12f)],this['_awaitingChangeset'],this[_0x3a52ac(0x28d)]);}[_0x4328bf(0x111)](){var _0x4b4bdb=_0x4328bf;return this[_0x4b4bdb(0x2f8)][_0x4b4bdb(0xd8)](this[_0x4b4bdb(0xf7)]);}[_0x4328bf(0x3ad)](){var _0x11dcf3=_0x4328bf;this[_0x11dcf3(0x2f8)][_0x11dcf3(0x222)](this[_0x11dcf3(0xf7)]);}[_0x4328bf(0x193)](_0x337b29){var _0xb97891=_0x4328bf,_0x2203c6;let _0x38d7ac=this['_transformRemoteChangesetByIMECache'](_0x337b29);_0x38d7ac=this[_0xb97891(0x151)](_0x38d7ac);const _0x35ee7d=_0x4b9f5a(_0x38d7ac['mutations'],this[_0xb97891(0x178)],{'fromCollab':!0x0});if(!_0x35ee7d[_0xb97891(0x265)])throw _0x35ee7d[_0xb97891(0x1a1)]instanceof Error?_0x35ee7d[_0xb97891(0x1a1)]:new Error((_0x2203c6=_0x35ee7d[_0xb97891(0x1a1)])!=null?_0x2203c6:'[CollaborationState]:\x20apply\x20error!');this[_0xb97891(0x23b)](_0x38d7ac),this['_transformStateCache'](_0x38d7ac),this[_0xb97891(0x185)](_0x337b29),this[_0xb97891(0x191)](_0x38d7ac),this['_syncEditingCollabCursor'](_0x38d7ac),this[_0xb97891(0x3ad)]();}}let be=class extends ge{constructor(_0x58c54d,_0x229ef9,_0x3fa4ca,_0x272548,_0x4f3d82,_0x11b128,_0x5e4e1b,_0x596ebe,_0x37cd07,_0x2d6a68){var _0xb7dba=_0x4328bf;super(_0x58c54d,_0x229ef9,null,[],_0x3fa4ca,_0x5e4e1b,_0x11b128,_0x272548,_0x2d6a68),D(this,_0xb7dba(0x380),_0xb7dba(0xf6)),(this[_0xb7dba(0x12c)]=_0x4f3d82,this[_0xb7dba(0x259)]=_0x596ebe,this[_0xb7dba(0x1eb)]=_0x37cd07,this[_0xb7dba(0x3a1)]=_0x2d6a68);}[_0x4328bf(0x2a2)](_0x2e585e){var _0x595f64=_0x4328bf;const _0x3c8dda=this[_0x595f64(0x12c)][_0x595f64(0x300)](ae,this[_0x595f64(0xf7)],this[_0x595f64(0x12f)],[_0x2e585e],this[_0x595f64(0x303)]);return _0x3c8dda[_0x595f64(0x109)](),_0x3c8dda[_0x595f64(0x395)](),_0x3c8dda;}[_0x4328bf(0x3c4)](_0x365eb4){var _0x13ecab=_0x4328bf;if(this[_0x13ecab(0x247)](_0x365eb4))return this[_0x13ecab(0x12c)][_0x13ecab(0x300)](ee,this[_0x13ecab(0xf7)],this[_0x13ecab(0x12f)],null,[],null,[_0x365eb4],this['_handler']);try{const _0x17c0f2=this[_0x13ecab(0x1eb)][_0x13ecab(0x30c)](_0x365eb4,[_0x3c4c5b]);if(_0x1ae9ad(_0x17c0f2)){const {c1Prime:_0x5c755f}=_0x17c0f2;return this[_0x13ecab(0x193)](_0x5c755f),this;}throw _0x17c0f2['error'];}catch(_0x17b7a0){return this[_0x13ecab(0x259)][_0x13ecab(0x1a1)](_0x17b7a0),this[_0x13ecab(0xcd)](!0x1);}}[_0x4328bf(0xcd)](_0xd58f39){var _0x29bc86=_0x4328bf;return this[_0x29bc86(0x12c)][_0x29bc86(0x300)](ue,this['unitID'],this[_0x29bc86(0x12f)],null,[],this[_0x29bc86(0x303)],_0xd58f39);}[_0x4328bf(0x27d)](){var _0x1b0e82=_0x4328bf;throw new Error(_0x1b0e82(0x1fa));}[_0x4328bf(0x2b1)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x3609f8=_0x4328bf;return this['_injector'][_0x3609f8(0x300)](de,this[_0x3609f8(0xf7)],this[_0x3609f8(0x12f)],null,[],this[_0x3609f8(0x303)]);}['toggleOnline'](){return this;}[_0x4328bf(0xbd)](){var _0x2d5d2f=_0x4328bf;throw new Error(_0x2d5d2f(0x2b9));}[_0x4328bf(0x20a)](){var _0x2f2d8e=_0x4328bf;const _0x2e09f0=this['_revisionService'][_0x2f2d8e(0xd8)](this[_0x2f2d8e(0xf7)]);return this[_0x2f2d8e(0x303)][_0x2f2d8e(0x152)]({'from':_0x2e09f0,'to':0x0}),this[_0x2f2d8e(0x12c)][_0x2f2d8e(0x300)](ee,this[_0x2f2d8e(0xf7)],this[_0x2f2d8e(0x12f)],null,[],null,[],this[_0x2f2d8e(0x303)]);}};be=Se([w(0x3,_0x1dda19(_0x2e1984)),w(0x4,_0x1dda19(_0xee3a85)),w(0x5,_0x16cbab),w(0x6,_0x446ca0),w(0x7,_0x1d1a3b),w(0x8,_0x1b3d1f),w(0x9,_0x334ec4(J))],be);let ae=class extends ge{constructor(_0x1345b0,_0x286a6e,_0x344517,_0x34938c,_0x4ffd70,_0x1ad085,_0x11c08e,_0x516343,_0x7610c4,_0x1348fb,_0x29f020,_0x4365cb,_0x3af71b,_0x1948e1){var _0x3d8993=_0x4328bf;super(_0x1345b0,_0x286a6e,null,_0x344517,_0x34938c,_0x7610c4,_0x3af71b,_0x1ad085,_0x1948e1),D(this,_0x3d8993(0x380),'pending'),D(this,'_scheduleCompleteTimestamp',null),D(this,_0x3d8993(0x392),null),(this[_0x3d8993(0x12c)]=_0x4ffd70,this['_memberService']=_0x11c08e,this[_0x3d8993(0x259)]=_0x516343,this['_configService']=_0x1348fb,this[_0x3d8993(0x1eb)]=_0x29f020,this[_0x3d8993(0x2f5)]=_0x4365cb);}[_0x4328bf(0x2a2)](_0x570842){var _0x5ddd4f=_0x4328bf;return this[_0x5ddd4f(0x28d)]['push'](_0x570842),this[_0x5ddd4f(0x395)](),this;}[_0x4328bf(0x3c4)](_0x269c47){var _0x2ea5f8=_0x4328bf;if(this[_0x2ea5f8(0x247)](_0x269c47))return this[_0x2ea5f8(0x1ab)](),this[_0x2ea5f8(0x12c)][_0x2ea5f8(0x300)](ee,this[_0x2ea5f8(0xf7)],this[_0x2ea5f8(0x12f)],null,this['_pendingMutations'],null,[_0x269c47],this[_0x2ea5f8(0x303)]);try{const _0x89eec=this['_transformService'][_0x2ea5f8(0x30c)](_0x269c47,this[_0x2ea5f8(0x28d)]);if(_0x1ae9ad(_0x89eec)){const {c1Prime:_0x3bde25,m2Prime:_0x191531}=_0x89eec;this[_0x2ea5f8(0x193)](_0x3bde25);const _0x1afe06=this[_0x2ea5f8(0x12c)][_0x2ea5f8(0x300)](ae,this[_0x2ea5f8(0xf7)],this[_0x2ea5f8(0x12f)],_0x191531,this[_0x2ea5f8(0x303)]);this[_0x2ea5f8(0x1ab)]();const _0x35c918=new Date()['getTime'](),_0x5eeb14=this[_0x2ea5f8(0x3b0)]?Math[_0x2ea5f8(0x3c9)](this[_0x2ea5f8(0x3b0)]-_0x35c918,0x0):this['_getSendChangesetTimeout']();return _0x1afe06['_schedule'](_0x5eeb14),_0x1afe06;}throw _0x89eec[_0x2ea5f8(0x1a1)];}catch(_0xb8e353){return this['_logService']['error'](_0xb8e353),this[_0x2ea5f8(0xcd)](!0x1);}}['onRemoteAck'](){var _0x33bc2c=_0x4328bf;throw new Error(_0x33bc2c(0xb9));}[_0x4328bf(0x2b1)](){var _0x5f29b0=_0x4328bf;throw new Error(_0x5f29b0(0x2c2));}[_0x4328bf(0x26b)](){return this;}['toggleOffline'](){var _0x3c0da3=_0x4328bf;return this[_0x3c0da3(0x1ab)](),this[_0x3c0da3(0x12c)]['createInstance'](de,this[_0x3c0da3(0xf7)],this[_0x3c0da3(0x12f)],null,this[_0x3c0da3(0x28d)],this[_0x3c0da3(0x303)]);}[_0x4328bf(0x3d4)](){return this;}[_0x4328bf(0x109)](_0x26dad8){var _0x169c59=_0x4328bf;const _0x5a13e3=_0x26dad8!=null?_0x26dad8:this[_0x169c59(0x1ec)]();this[_0x169c59(0x3b0)]=new Date()['getTime']()+_0x5a13e3,this[_0x169c59(0x392)]=setTimeout(()=>{var _0x15f68b=_0x169c59;this['_clearScheduledTask']();let _0x27274f=null;switch(this['type']){case Q[_0x15f68b(0xc6)]:{_0x27274f=Vt(this['_pendingMutations'],this[_0x15f68b(0xf7)],this['_univerInstanceService'],this[_0x15f68b(0x2f8)],this['_memberService']);break;}case Q[_0x15f68b(0x268)]:{this[_0x15f68b(0x28d)][_0x15f68b(0x338)](_0x4024a2=>_0x4024a2['id']===_0x5c1719['id'])?_0x27274f=ks(this['_pendingMutations'],this['unitID'],this[_0x15f68b(0x2f5)],this[_0x15f68b(0x2f8)],this[_0x15f68b(0x1e6)]):_0x27274f=Vt(this[_0x15f68b(0x28d)],this[_0x15f68b(0xf7)],this[_0x15f68b(0x2f5)],this[_0x15f68b(0x2f8)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x15f68b(0x12f)]+_0x15f68b(0x229));}const {changeset:_0x3961f4,pendingMutations:_0x2217b2}=_0x27274f;this[_0x15f68b(0x303)]['onSendChangeset'](_0x3961f4);const _0x2f1ebd=_0x2217b2['length']?this[_0x15f68b(0x12c)]['createInstance'](oe,this[_0x15f68b(0xf7)],this[_0x15f68b(0x12f)],_0x3961f4,_0x2217b2,this[_0x15f68b(0x303)],void 0x0):this[_0x15f68b(0x12c)][_0x15f68b(0x300)](le,this[_0x15f68b(0xf7)],this['type'],_0x3961f4,this[_0x15f68b(0x303)]);_0x2f1ebd[_0x15f68b(0x395)](),this['_handler'][_0x15f68b(0x243)](this,_0x2f1ebd);},_0x5a13e3);}[_0x4328bf(0x1ec)](){var _0x31b2a8=_0x4328bf,_0x1c0c90;const _0x2786fc=this[_0x31b2a8(0x18e)][_0x31b2a8(0x2b0)](K);return(_0x1c0c90=_0x2786fc==null?void 0x0:_0x2786fc[_0x31b2a8(0x168)])!=null?_0x1c0c90:ps;}[_0x4328bf(0xbd)](){var _0x341a16=_0x4328bf;throw new Error(_0x341a16(0x161));}[_0x4328bf(0x1ab)](){var _0x29a331=_0x4328bf;this[_0x29a331(0x392)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x29a331(0x392)]=null);}['_onConflict'](_0x1077df){var _0x564c4d=_0x4328bf;return this[_0x564c4d(0x1ab)](),this[_0x564c4d(0x12c)][_0x564c4d(0x300)](ue,this[_0x564c4d(0xf7)],this[_0x564c4d(0x12f)],null,this[_0x564c4d(0x28d)],this[_0x564c4d(0x303)],_0x1077df);}};ae=Se([w(0x4,_0x1dda19(_0xee3a85)),w(0x5,_0x1dda19(_0x2e1984)),w(0x6,_0x1dda19(Pe)),w(0x7,_0x1d1a3b),w(0x8,_0x446ca0),w(0x9,_0x53068b),w(0xa,_0x1b3d1f),w(0xb,_0x49e0a6),w(0xc,_0x16cbab),w(0xd,_0x334ec4(J))],ae);let le=class extends ge{constructor(_0x16655f,_0x572e58,_0x13dc40,_0xf73311,_0x4dcc5e,_0x21bd97,_0x352ed8,_0xd2fc56,_0x1aa402,_0x15984f,_0x16de93){var _0x4707e2=_0x4328bf;super(_0x16655f,_0x572e58,_0x13dc40,[],_0xf73311,_0x352ed8,_0x15984f,_0x21bd97,_0x16de93),D(this,_0x4707e2(0x380),_0x4707e2(0x17f)),D(this,_0x4707e2(0x10d),0x0),D(this,_0x4707e2(0x16e)),D(this,_0x4707e2(0x349)),(this[_0x4707e2(0x12c)]=_0x4dcc5e,this[_0x4707e2(0x259)]=_0xd2fc56,this['_transformService']=_0x1aa402);}[_0x4328bf(0x2a2)](_0x4e1038){var _0x441c38=_0x4328bf;this['_clearScheduledTask']();const _0x2310b7=this[_0x441c38(0x12c)][_0x441c38(0x300)](oe,this[_0x441c38(0xf7)],this[_0x441c38(0x12f)],this[_0x441c38(0x31d)],[_0x4e1038],this[_0x441c38(0x303)],this[_0x441c38(0x16e)]);return _0x2310b7[_0x441c38(0x395)](),_0x2310b7;}[_0x4328bf(0x3c4)](_0x3c8a65){var _0x4166ae=_0x4328bf;if(this[_0x4166ae(0x247)](_0x3c8a65))return this[_0x4166ae(0x1ab)](),this[_0x4166ae(0x12c)][_0x4166ae(0x300)](ee,this[_0x4166ae(0xf7)],this[_0x4166ae(0x12f)],this[_0x4166ae(0x31d)],[],null,[_0x3c8a65],this['_handler']);try{const _0x5cea21=this['_transformService'][_0x4166ae(0xf8)]([_0x3c8a65],[this[_0x4166ae(0x31d)]],!0x1);if(_0x19ed71(_0x5cea21)){const {c1Prime:_0x24e98f,c2Prime:_0x2b2ed8}=_0x5cea21;this[_0x4166ae(0x193)](_0x24e98f[0x0]),_0x2b2ed8[0x0][_0x4166ae(0x1b3)]=this[_0x4166ae(0x111)](),this[_0x4166ae(0x1ab)]();const _0x56f583=this[_0x4166ae(0x12c)][_0x4166ae(0x300)](le,this[_0x4166ae(0xf7)],this[_0x4166ae(0x12f)],_0x2b2ed8[0x0],this[_0x4166ae(0x303)]);return _0x56f583[_0x4166ae(0x395)](),_0x56f583;}return this[_0x4166ae(0xcd)](!0x1);}catch(_0x4d19d9){return this['_logService']['error'](_0x4d19d9),this[_0x4166ae(0xcd)](!0x1);}}[_0x4328bf(0x27d)](_0x523d90){var _0xd0d669=_0x4328bf;this[_0xd0d669(0x1ab)]();const _0x42a19=this[_0xd0d669(0x2f8)][_0xd0d669(0xd8)](this['unitID']);if(_0x523d90[_0xd0d669(0x2ad)]<_0x42a19-0x1)return this;if(this[_0xd0d669(0x247)](_0x523d90))return this[_0xd0d669(0x12c)][_0xd0d669(0x300)](ee,this['unitID'],this[_0xd0d669(0x12f)],null,[],this[_0xd0d669(0x31d)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x14ab2c=this[_0xd0d669(0x12c)][_0xd0d669(0x300)](be,this['unitID'],this['type'],this[_0xd0d669(0x303)]);return _0x14ab2c[_0xd0d669(0x395)](),_0x14ab2c;}[_0x4328bf(0x2b1)](_0x5db743){var _0x458294=_0x4328bf;return this[_0x458294(0xcd)](!!(_0x5db743!=null&&_0x5db743['isPermissionRej']));}['onRemoteRetry'](_0xd64e19){var _0x3c1cdb=_0x4328bf;return this['_resendTimeout']>gi?this['toggleOffline']():(this['_resendTimer']=Ii(this[_0x3c1cdb(0x10d)],{'timeout':this['_resendTimeout'],'reqId':_0xd64e19['reqId']}),this['_sender']=this[_0x3c1cdb(0x16e)]['subscribe'](({reqId:_0x1986f0,timeout:_0x131235})=>{var _0xf34f5c=_0x3c1cdb;this[_0xf34f5c(0x3d1)](_0x1986f0,_0x131235);}),this);}[_0x4328bf(0x236)](){var _0x4a2c74=_0x4328bf;return this[_0x4a2c74(0x1ab)](),this['_injector'][_0x4a2c74(0x300)](de,this[_0x4a2c74(0xf7)],this['type'],this['_awaitingChangeset'],[],this['_handler']);}[_0x4328bf(0x3d4)](){return this;}['resend'](){var _0xd61567=_0x4328bf;this['_handler']['onSendChangeset'](this[_0xd61567(0x31d)]);}[_0x4328bf(0xcd)](_0x9d46b7){var _0x3e42f1=_0x4328bf;return this['_clearScheduledTask'](),this['_injector'][_0x3e42f1(0x300)](ue,this['unitID'],this[_0x3e42f1(0x12f)],this[_0x3e42f1(0x31d)],[],this[_0x3e42f1(0x303)],_0x9d46b7);}['_resendWithTimeout'](_0x256a5b,_0x1680ce){var _0x5269c6=_0x4328bf,_0x3569f7;_0x256a5b===((_0x3569f7=this[_0x5269c6(0x31d)])==null?void 0x0:_0x3569f7['reqId'])&&(this['resend'](),this[_0x5269c6(0x10d)]=_0x1680ce===0x0?0x3e8:_0x1680ce*0x2);}[_0x4328bf(0x1ab)](){var _0x3719ce=_0x4328bf,_0x11e81a;(_0x11e81a=this['_sender'])==null||_0x11e81a[_0x3719ce(0xd2)](),this[_0x3719ce(0x10d)]=0x0;}};le=Se([w(0x4,_0x1dda19(_0xee3a85)),w(0x5,_0x1dda19(_0x2e1984)),w(0x6,_0x446ca0),w(0x7,_0x1d1a3b),w(0x8,_0x1b3d1f),w(0x9,_0x16cbab),w(0xa,_0x334ec4(J))],le);let oe=class extends ge{constructor(_0x40be45,_0x2fe956,_0x5652ec,_0x4eb0b4,_0x46bbbf,_0x356d66,_0x2faeed,_0x55d48b,_0x19c503,_0xe966c2,_0x5b7f94,_0x164819,_0x452c16){var _0x187040=_0x4328bf;super(_0x40be45,_0x2fe956,_0x5652ec,_0x4eb0b4,_0x46bbbf,_0x19c503,_0x164819,_0x55d48b,_0x452c16),D(this,'status','awaiting_with_pending'),D(this,_0x187040(0x10d),0x0),D(this,_0x187040(0x16e)),D(this,_0x187040(0x349)),(this[_0x187040(0x12c)]=_0x2faeed,this[_0x187040(0x259)]=_0xe966c2,this[_0x187040(0x1eb)]=_0x5b7f94,this[_0x187040(0x3a1)]=_0x452c16,_0x356d66&&(this['_resendTimer']=_0x356d66,this[_0x187040(0x349)]=this[_0x187040(0x16e)]['subscribe'](({reqId:_0x542765,timeout:_0x2d6d6f})=>{var _0x1b74e7=_0x187040;this[_0x1b74e7(0x3d1)](_0x542765,_0x2d6d6f);})));}[_0x4328bf(0x2a2)](_0xdf030f){var _0xb7e7b7=_0x4328bf;return this[_0xb7e7b7(0x28d)][_0xb7e7b7(0x348)](_0xdf030f),this;}['onRemoteChangeset'](_0x57c2c4){var _0x20beb7=_0x4328bf;if(this['_checkMissing'](_0x57c2c4))return this['_clearScheduledTask'](),this[_0x20beb7(0x12c)][_0x20beb7(0x300)](ee,this[_0x20beb7(0xf7)],this['type'],this['_awaitingChangeset'],this[_0x20beb7(0x28d)],null,[_0x57c2c4],this['_handler']);try{const _0x1af9e7=this[_0x20beb7(0x1eb)][_0x20beb7(0xf8)]([_0x57c2c4],[this['_awaitingChangeset']],!0x1);if(_0x19ed71(_0x1af9e7)){const {c1Prime:_0x31c641,c2Prime:_0x4debc3}=_0x1af9e7,_0x554b19=this[_0x20beb7(0x1eb)]['transformMutationsWithChangeset'](_0x31c641[0x0],this[_0x20beb7(0x28d)]);if(_0x1ae9ad(_0x554b19)){const {c1Prime:_0x2a2edf,m2Prime:_0x597d85}=_0x554b19;return this[_0x20beb7(0x193)](_0x2a2edf),_0x4debc3[0x0][_0x20beb7(0x1b3)]=this['_getCurrentRevision'](),this[_0x20beb7(0x1ab)](),this['_injector'][_0x20beb7(0x300)](oe,this[_0x20beb7(0xf7)],this[_0x20beb7(0x12f)],_0x4debc3[0x0],_0x597d85,this['_handler'],void 0x0);}throw _0x554b19['error'];}throw _0x1af9e7[_0x20beb7(0x1a1)];}catch(_0x282932){return this[_0x20beb7(0x259)]['error'](_0x282932),this[_0x20beb7(0xcd)](!0x1);}}['onRemoteAck'](_0x455bfd){var _0x2cce81=_0x4328bf;if(this[_0x2cce81(0x1ab)](),this[_0x2cce81(0x247)](_0x455bfd))return this[_0x2cce81(0x12c)][_0x2cce81(0x300)](ee,this[_0x2cce81(0xf7)],this[_0x2cce81(0x12f)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x2cce81(0x303)]);this[_0x2cce81(0x3ad)]();const _0x2cc952=this[_0x2cce81(0x12c)]['createInstance'](ae,this[_0x2cce81(0xf7)],this[_0x2cce81(0x12f)],this[_0x2cce81(0x28d)],this[_0x2cce81(0x303)]);return _0x2cc952['_schedule'](),_0x2cc952[_0x2cce81(0x395)](),_0x2cc952;}[_0x4328bf(0x2b1)](_0x4c1daf){var _0x427701=_0x4328bf;return this[_0x427701(0xcd)](!!(_0x4c1daf!=null&&_0x4c1daf[_0x427701(0x332)]));}[_0x4328bf(0x26b)](_0x556ab9){var _0x51fca1=_0x4328bf;return this[_0x51fca1(0x10d)]>gi?this['toggleOffline']():(this[_0x51fca1(0x16e)]=Ii(this[_0x51fca1(0x10d)],{'timeout':this[_0x51fca1(0x10d)],'reqId':_0x556ab9[_0x51fca1(0x2e9)]}),this['_sender']=this[_0x51fca1(0x16e)][_0x51fca1(0x252)](({reqId:_0x52bd63,timeout:_0x19c769})=>{this['_resendWithTimeout'](_0x52bd63,_0x19c769);}),this);}[_0x4328bf(0x236)](){var _0x3007be=_0x4328bf;return this[_0x3007be(0x1ab)](),this[_0x3007be(0x12c)]['createInstance'](de,this['unitID'],this[_0x3007be(0x12f)],this[_0x3007be(0x31d)],this[_0x3007be(0x28d)],this['_handler']);}[_0x4328bf(0x3d4)](){return this;}['resend'](){var _0x35156c=_0x4328bf;this['_handler'][_0x35156c(0xd1)](this[_0x35156c(0x31d)]);}[_0x4328bf(0xcd)](_0x555d18){var _0x32e5d1=_0x4328bf;return this['_clearScheduledTask'](),this[_0x32e5d1(0x12c)][_0x32e5d1(0x300)](ue,this['unitID'],this[_0x32e5d1(0x12f)],null,this[_0x32e5d1(0x28d)],this[_0x32e5d1(0x303)],_0x555d18);}['_resendWithTimeout'](_0x3bff55,_0x4a958a){var _0x3eef8f=_0x4328bf,_0x4fc40a;_0x3bff55===((_0x4fc40a=this[_0x3eef8f(0x31d)])==null?void 0x0:_0x4fc40a[_0x3eef8f(0x2e9)])&&(this['resend'](),this[_0x3eef8f(0x10d)]=_0x4a958a===0x0?0x3e8:_0x4a958a*0x2);}[_0x4328bf(0x1ab)](){var _0x28dcc7=_0x4328bf,_0x51f5ba;(_0x51f5ba=this[_0x28dcc7(0x349)])==null||_0x51f5ba['unsubscribe'](),this['_resendTimeout']=0x0;}};oe=Se([w(0x6,_0x1dda19(_0xee3a85)),w(0x7,_0x1dda19(_0x2e1984)),w(0x8,_0x446ca0),w(0x9,_0x1d1a3b),w(0xa,_0x1b3d1f),w(0xb,_0x16cbab),w(0xc,_0x334ec4(J))],oe);let ue=class extends ge{constructor(_0x1bb642,_0x11bcc6,_0x5c4907,_0x2288ba,_0x288bd6,_0x45bc61=!0x1,_0x26b3a6,_0x1a6293,_0x3e73be,_0x13b472,_0x3ca9d8,_0x4b7233,_0x1a3330){var _0x46d53c=_0x4328bf;super(_0x1bb642,_0x11bcc6,_0x5c4907,_0x2288ba,_0x288bd6,_0x1a6293,_0x3e73be,_0x13b472,_0x1a3330),D(this,'status',_0x46d53c(0x2c0)),(this[_0x46d53c(0x28e)]=_0x45bc61,this['_permissionService']=_0x26b3a6,this[_0x46d53c(0xe6)]=_0x3ca9d8,this[_0x46d53c(0xdf)]=_0x4b7233,this['localCacheService']=_0x1a3330,this['_showConflictNotification'](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x4328bf(0x2a2)](){return this;}[_0x4328bf(0x3c4)](){return this;}['onRemoteAck'](){return this;}[_0x4328bf(0x2b1)](){return this;}[_0x4328bf(0x26b)](){return this;}[_0x4328bf(0x236)](){return this;}[_0x4328bf(0x3d4)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x263461=_0x4328bf,_0x1e7eeb;(_0x1e7eeb=this[_0x263461(0x1ed)])==null||_0x1e7eeb[_0x263461(0x3c6)](this[_0x263461(0xf7)],this[_0x263461(0x12f)],null,[]);}[_0x4328bf(0xc8)](){var _0x155ea6=_0x4328bf;this[_0x155ea6(0x28e)]?this['_collaborationUIEventService'][_0x155ea6(0x3bb)]({'id':re[_0x155ea6(0xc0)]}):this[_0x155ea6(0xdf)]['emitEvent']({'id':re[_0x155ea6(0x38d)]});}[_0x4328bf(0x249)](){var _0x3badc4=_0x4328bf;this['_permissionService'][_0x3badc4(0x115)](new _0x104c5b(this['unitID'])['id'],!0x1);}};ue=Se([w(0x6,_0x1dda19(_0xf19167)),w(0x7,_0x446ca0),w(0x8,_0x16cbab),w(0x9,_0x1dda19(_0x2e1984)),w(0xa,_0x1dda19(_0xcdf5b0)),w(0xb,_0x1dda19(ve)),w(0xc,_0x334ec4(J))],ue);let de=class extends ge{constructor(_0x3a7572,_0x10ce89,_0x2e4c97,_0xfc5993,_0x4e4c54,_0x39d1f7,_0x4b96cd,_0x3f8211,_0x23d143,_0x2ae1b2){var _0xfd4675=_0x4328bf;super(_0x3a7572,_0x10ce89,_0x2e4c97,_0xfc5993,_0x4e4c54,_0x3f8211,_0x23d143,_0x4b96cd,_0x2ae1b2),D(this,'status','offline'),this[_0xfd4675(0x12c)]=_0x39d1f7;}[_0x4328bf(0x2a2)](_0x2fc6fe){var _0x2e4fd7=_0x4328bf;return this[_0x2e4fd7(0x28d)][_0x2e4fd7(0x348)](_0x2fc6fe),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x355b9b){var _0x9e7034=_0x4328bf;throw new Error(_0x9e7034(0x2e2));}[_0x4328bf(0x27d)](){var _0x46c819=_0x4328bf;throw new Error(_0x46c819(0x2ac));}[_0x4328bf(0x2b1)](){var _0xab3282=_0x4328bf;throw new Error(_0xab3282(0xec));}['onRemoteRetry'](){return this;}[_0x4328bf(0x236)](){return this;}[_0x4328bf(0x3d4)](){var _0x2b9405=_0x4328bf;const {_injector:_0x21a574,_pendingMutations:_0x29a670,_awaitingChangeset:_0x395fef,unitID:_0x47d1a8,_handler:_0x5756cf,type:_0x217954}=this,_0x48276f=Ti(_0x21a574,_0x47d1a8,_0x217954,_0x395fef,_0x29a670,_0x5756cf);return _0x48276f instanceof ae?_0x48276f[_0x2b9405(0x109)]():(_0x48276f instanceof oe||_0x48276f instanceof le)&&_0x48276f[_0x2b9405(0xbd)](),_0x48276f;}[_0x4328bf(0xbd)](){var _0x5e3e19=_0x4328bf;throw new Error(_0x5e3e19(0x341));}};de=Se([w(0x5,_0x1dda19(_0xee3a85)),w(0x6,_0x1dda19(_0x2e1984)),w(0x7,_0x446ca0),w(0x8,_0x16cbab),w(0x9,_0x334ec4(J))],de);let ee=class extends ge{constructor(_0x413976,_0x12a326,_0x2bfc3a,_0x32408b,_0x43c06c,_0x1c0a50,_0x4b716e,_0x18a04f,_0x12c5aa,_0x143bf6,_0x3ff06b,_0x91d6a3,_0x360991,_0x1c09e8){var _0x514b0f=_0x4328bf;super(_0x413976,_0x12a326,_0x2bfc3a,_0x32408b,_0x4b716e,_0x3ff06b,_0x91d6a3,_0x12c5aa,_0x1c09e8),D(this,'status',_0x514b0f(0x1a5)),(this[_0x514b0f(0x3b5)]=_0x43c06c,this[_0x514b0f(0x217)]=_0x1c0a50,this['_injector']=_0x18a04f,this[_0x514b0f(0x259)]=_0x143bf6,this[_0x514b0f(0x1eb)]=_0x360991,this[_0x514b0f(0x3a1)]=_0x1c09e8);}[_0x4328bf(0x145)](_0x560064){var _0x2ac4f2=_0x4328bf;try{const _0x5ae69f=[..._0x560064,...this['_queuedRemoteChangesets']],_0x2095fe=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x2ac4f2(0x38e)](_0x21718a=>!!_0x21718a);let _0x2d2ffd,_0x396f52;if(_0x2095fe[_0x2ac4f2(0x384)]){const _0x1fef6e=this[_0x2ac4f2(0x1eb)][_0x2ac4f2(0xf8)](_0x5ae69f,_0x2095fe,!0x1);if(!_0x19ed71(_0x1fef6e))throw _0x1fef6e[_0x2ac4f2(0x1a1)];_0x2d2ffd=_0x1fef6e[_0x2ac4f2(0x321)],_0x396f52=_0x1fef6e[_0x2ac4f2(0x143)];}else _0x2d2ffd=_0x5ae69f,_0x396f52=[];let _0xf8c558=this['_pendingMutations'];_0x2d2ffd[_0x2ac4f2(0x1ef)](_0x51691f=>{var _0xc0b4ab=_0x2ac4f2;let _0x4dc9a7;if(_0xf8c558[_0xc0b4ab(0x384)]){const _0x5de960=this['_transformService'][_0xc0b4ab(0x30c)](_0x51691f,_0xf8c558);if(!_0x1ae9ad(_0x5de960))throw _0x5de960[_0xc0b4ab(0x1a1)];_0x4dc9a7=_0x5de960[_0xc0b4ab(0x321)],_0xf8c558=_0x5de960['m2Prime'];}else _0x4dc9a7=_0x51691f;this[_0xc0b4ab(0x193)](_0x4dc9a7);}),this[_0x2ac4f2(0x3b5)]&&this[_0x2ac4f2(0x3ad)](),this['_awaitingChangeset']&&_0x396f52[_0x2ac4f2(0x384)]&&(_0x396f52[0x0][_0x2ac4f2(0x1b3)]=this['_getCurrentRevision']());let _0x2d69d8;if(this['_awaitingChangeset']&&_0xf8c558[_0x2ac4f2(0x384)]!==0x0)_0x2d69d8=this['_injector'][_0x2ac4f2(0x300)](oe,this[_0x2ac4f2(0xf7)],this[_0x2ac4f2(0x12f)],_0x396f52[0x0],_0xf8c558,this['_handler'],void 0x0);else{if(this[_0x2ac4f2(0x31d)]&&_0xf8c558[_0x2ac4f2(0x384)]===0x0)_0x396f52[0x0][_0x2ac4f2(0x1b3)]=this[_0x2ac4f2(0x111)](),_0x2d69d8=this[_0x2ac4f2(0x12c)]['createInstance'](le,this['unitID'],this[_0x2ac4f2(0x12f)],_0x396f52[0x0],this[_0x2ac4f2(0x303)]);else{if(_0xf8c558[_0x2ac4f2(0x384)]!==0x0){const _0x2504da=this[_0x2ac4f2(0x12c)][_0x2ac4f2(0x300)](ae,this[_0x2ac4f2(0xf7)],this[_0x2ac4f2(0x12f)],_0xf8c558,this[_0x2ac4f2(0x303)]);_0x2504da[_0x2ac4f2(0x109)](),_0x2d69d8=_0x2504da;}else _0x2d69d8=this[_0x2ac4f2(0x12c)]['createInstance'](be,this[_0x2ac4f2(0xf7)],this[_0x2ac4f2(0x12f)],this[_0x2ac4f2(0x303)]);}}return _0x2d69d8[_0x2ac4f2(0x395)](),_0x2d69d8;}catch(_0x2c6c0c){return this[_0x2ac4f2(0x259)][_0x2ac4f2(0x1a1)](_0x2ac4f2(0xda),_0x2ac4f2(0x35f),_0x2c6c0c),this[_0x2ac4f2(0x12c)][_0x2ac4f2(0x300)](ue,this['unitID'],this[_0x2ac4f2(0x12f)],this['_awaitingChangeset'],this[_0x2ac4f2(0x28d)],this[_0x2ac4f2(0x303)],!0x1);}}[_0x4328bf(0xbd)](){var _0x3d0923=_0x4328bf;throw new Error(_0x3d0923(0x316));}[_0x4328bf(0x2a2)](_0x39d41f){var _0x2e58d8=_0x4328bf;return this['_pendingMutations'][_0x2e58d8(0x348)](_0x39d41f),this;}[_0x4328bf(0x3c4)](_0x1b108b){return this['_queuedRemoteChangesets']['push'](_0x1b108b),this;}[_0x4328bf(0x27d)](_0x2ae7cc){var _0x11e3c3=_0x4328bf;if(this[_0x11e3c3(0x31d)])return this[_0x11e3c3(0x3b5)]=this['_awaitingChangeset'],this[_0x11e3c3(0x31d)]=null,this;throw new Error(_0x11e3c3(0x13e));}[_0x4328bf(0x2b1)](_0x363227){var _0x39a6dd=_0x4328bf;return this[_0x39a6dd(0xcd)](!!(_0x363227!=null&&_0x363227[_0x39a6dd(0x332)]));}['onRemoteRetry'](){return this;}[_0x4328bf(0x236)](){var _0x15a18a=_0x4328bf;return this['_injector'][_0x15a18a(0x300)](de,this[_0x15a18a(0xf7)],this[_0x15a18a(0x12f)],this[_0x15a18a(0x31d)],this[_0x15a18a(0x28d)],this[_0x15a18a(0x303)]);}[_0x4328bf(0x3d4)](){return this;}[_0x4328bf(0xcd)](_0x56927c){var _0x1e42b2=_0x4328bf;return this[_0x1e42b2(0x12c)][_0x1e42b2(0x300)](ue,this[_0x1e42b2(0xf7)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1e42b2(0x303)],_0x56927c);}};ee=Se([w(0x7,_0x1dda19(_0xee3a85)),w(0x8,_0x1dda19(_0x2e1984)),w(0x9,_0x1d1a3b),w(0xa,_0x446ca0),w(0xb,_0x16cbab),w(0xc,_0x1b3d1f),w(0xd,_0x334ec4(J))],ee);function Ti(_0x5ae98c,_0x170d36,_0x540228,_0x492338,_0x1786b7,_0x1a027e){var _0x66b786=_0x4328bf;return _0x492338&&_0x1786b7[_0x66b786(0x384)]?_0x5ae98c['createInstance'](oe,_0x170d36,_0x540228,_0x492338,_0x1786b7,_0x1a027e,void 0x0):_0x492338?_0x5ae98c[_0x66b786(0x300)](le,_0x170d36,_0x540228,_0x492338,_0x1a027e):_0x1786b7[_0x66b786(0x384)]?_0x5ae98c[_0x66b786(0x300)](ae,_0x170d36,_0x540228,_0x1786b7,_0x1a027e):_0x5ae98c[_0x66b786(0x300)](be,_0x170d36,_0x540228,_0x1a027e);}var Hs=Object['getOwnPropertyDescriptor'],At=(_0x121fb9,_0x51f8ca,_0x33de3d,_0x9b3321)=>{for(var _0x452ab5=_0x9b3321>0x1?void 0x0:_0x9b3321?Hs(_0x51f8ca,_0x33de3d):_0x51f8ca,_0x144a01=_0x121fb9['length']-0x1,_0x18a470;_0x144a01>=0x0;_0x144a01--)(_0x18a470=_0x121fb9[_0x144a01])&&(_0x452ab5=_0x18a470(_0x452ab5)||_0x452ab5);return _0x452ab5;},$=(_0x250a1e,_0x5eeac6)=>(_0x42df6e,_0x460f0a)=>_0x5eeac6(_0x42df6e,_0x460f0a,_0x250a1e);let st=class extends _0x276e6a{constructor(_0x31c2e3,_0x3f633d,_0x36e063,_0x120965,_0x170b46,_0xfbf518,_0x454023,_0x55a4ce,_0x16327a,_0x546563,_0x5d5775,_0x36783e,_0x2cfe11,_0x1a3f4a){var _0x497fd5=_0x4328bf;super(),D(this,_0x497fd5(0x175),new _0x39c092(null)),D(this,_0x497fd5(0x3ce),this['_state$']['asObservable']()),D(this,'_state'),D(this,_0x497fd5(0x3bd),!0x1),D(this,_0x497fd5(0x257),''),D(this,_0x497fd5(0xce),0x0),D(this,_0x497fd5(0x24b),this['state$'][_0x497fd5(0x26f)](_0x3579d8(_0x480365=>_0x480365?_0x480365[_0x497fd5(0x380)]:Si[_0x497fd5(0x17d)]),_0x3af9c2(0x1))),D(this,_0x497fd5(0x373),!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0x497fd5(0xf7)]=_0x31c2e3,this[_0x497fd5(0x1c7)]=_0x3f633d,this['_type']=_0x36e063,this[_0x497fd5(0x12c)]=_0x120965,this[_0x497fd5(0x32f)]=_0x170b46,this['_localeService']=_0xfbf518,this[_0x497fd5(0x2f8)]=_0x454023,this['_eventService']=_0x55a4ce,this['_univerInstanceService']=_0x16327a,this['_logService']=_0x546563,this[_0x497fd5(0x178)]=_0x5d5775,this[_0x497fd5(0x105)]=_0x36783e,this[_0x497fd5(0x2f6)]=_0x2cfe11,this[_0x497fd5(0x1ed)]=_0x1a3f4a);}get[_0x4328bf(0x2c4)](){var _0x54c4d5=_0x4328bf;return this[_0x54c4d5(0xc9)];}async[_0x4328bf(0x245)](){var _0x3c9431=_0x4328bf;if(this[_0x3c9431(0x2c4)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x3c9431(0x36d)]();}[_0x4328bf(0x135)](){var _0x4a0210=_0x4328bf;return this[_0x4a0210(0x3bd)]=!0x0,_0x473a26(()=>{var _0x4372d5=_0x4a0210;this[_0x4372d5(0x3bd)]=!0x1,this[_0x4372d5(0x1bc)]();});}[_0x4328bf(0xf4)](_0x1cabf4){var _0x4bede2=_0x4328bf;this[_0x4bede2(0x230)](_0x1cabf4);}['_updateState'](_0x472bb3){var _0x540d84=_0x4328bf;this[_0x540d84(0xc9)]=_0x472bb3,this[_0x540d84(0x175)]['next'](_0x472bb3);}async[_0x4328bf(0x36d)](){var _0x16fa19=_0x4328bf,_0x169fd2;this[_0x16fa19(0x2c8)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x169fd2=this[_0x16fa19(0x2f6)])==null||_0x169fd2[_0x16fa19(0x235)](this[_0x16fa19(0xf7)]),this[_0x16fa19(0x27e)](this[_0x16fa19(0x2f6)][_0x16fa19(0x260)](this[_0x16fa19(0xf7)])[_0x16fa19(0x252)](_0x2777b8=>{var _0x2e6954=_0x16fa19;this[_0x2e6954(0x259)][_0x2e6954(0x2c5)](_0x2e6954(0x34d),_0x2e6954(0x227),_0x2777b8),_0x2777b8===mi['OTHER_CLIENTS_EDITING']?(this[_0x2e6954(0x2b5)][_0x2e6954(0x3bb)]({'id':re['OTHER_CLIENT_EDITING']}),this[_0x2e6954(0x105)]['updatePermissionPoint'](new _0x104c5b(this[_0x2e6954(0xf7)])['id'],!0x1),this[_0x2e6954(0x105)]['setShowComponents'](!0x1)):(this[_0x2e6954(0x105)][_0x2e6954(0x115)](new _0x104c5b(this[_0x2e6954(0xf7)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x4f92a1=!0x1;return this['disposeWithMe'](this['session']['sessionStatus$']['subscribe'](_0x58778a=>{var _0x185e3b=_0x16fa19;_0x58778a===me[_0x185e3b(0x2ef)]?this['_toggleOnline'](_0x4f92a1):_0x58778a===me[_0x185e3b(0x17d)]&&(_0x4f92a1=!0x0,this[_0x185e3b(0x19d)]());})),this[_0x16fa19(0x27e)](this[_0x16fa19(0x1c7)][_0x16fa19(0x2e5)][_0x16fa19(0x252)](_0x175246=>{var _0x35f15e=_0x16fa19;try{switch(_0x175246[_0x35f15e(0x1dd)]){case _0x5d996f[_0x35f15e(0x13a)]:{this[_0x35f15e(0xbf)](_0x7a556(_0x175246[_0x35f15e(0x334)]));break;}case _0x5d996f[_0x35f15e(0x107)]:{this[_0x35f15e(0x1ea)](_0x175246[_0x35f15e(0x334)]);break;}case _0x5d996f[_0x35f15e(0x14e)]:{this[_0x35f15e(0x1b8)]();break;}case _0x5d996f[_0x35f15e(0x162)]:{this[_0x35f15e(0x233)](_0x175246[_0x35f15e(0x334)]);break;}case _0x5d996f[_0x35f15e(0x250)]:{this[_0x35f15e(0x31a)](_0x175246['data']['changesets']['map'](_0x59cffc=>_0x7a556(_0x59cffc)));break;}case _0x5d996f[_0x35f15e(0x3a5)]:{this[_0x35f15e(0x1b8)]({'isPermissionRej':!0x0});break;}case _0x5d996f[_0x35f15e(0xeb)]:break;}}catch(_0x13b000){throw console[_0x35f15e(0x1a1)](_0x35f15e(0xdd),_0x13b000),_0x13b000;}})),this['_state'];}[_0x4328bf(0x25b)](){var _0x1ad41a=_0x4328bf;this[_0x1ad41a(0x373)]=!0x1;}[_0x4328bf(0x159)](){var _0x4658c4=_0x4328bf;if(this[_0x4658c4(0x373)])throw new Error(_0x4658c4(0x1dc));this[_0x4658c4(0x373)]=!0x0;}[_0x4328bf(0x230)](_0x3caf55){var _0x29d880=_0x4328bf;this[_0x29d880(0x159)](),this[_0x29d880(0x2c8)](this[_0x29d880(0xc9)]['appendMutation'](_0x3caf55)),this[_0x29d880(0x25b)]();}['_onRemoteChangeset'](_0x1075d2){var _0x372bc9=_0x4328bf;if(!(_0x1075d2[_0x372bc9(0x2ad)]<=this[_0x372bc9(0x2f8)]['getCurrentRevOfUnit'](this[_0x372bc9(0xf7)]))){if(this['_collaborationPaused']){this[_0x372bc9(0x394)][_0x372bc9(0x348)](_0x1075d2);return;}this[_0x372bc9(0x239)](_0x1075d2);}}[_0x4328bf(0x1bc)](){var _0x1734d6=_0x4328bf;this[_0x1734d6(0x394)][_0x1734d6(0x1ef)](_0x28de36=>this[_0x1734d6(0x239)](_0x28de36)),this[_0x1734d6(0x394)]=[];}[_0x4328bf(0x239)](_0x12ebe3){var _0x3048f3=_0x4328bf;const _0x3d57db=this[_0x3048f3(0x32f)][_0x3048f3(0x21b)]['fetchThroughInterceptors'](this[_0x3048f3(0x32f)][_0x3048f3(0x21b)]['getInterceptPoints']()[_0x3048f3(0x141)])(_0x12ebe3[_0x3048f3(0x288)],null)||_0x12ebe3[_0x3048f3(0x288)],_0x22fa7f={..._0x12ebe3,'mutations':_0x3d57db};this[_0x3048f3(0x159)](),this['_updateState'](this[_0x3048f3(0xc9)][_0x3048f3(0x3c4)](_0x22fa7f)),this[_0x3048f3(0x25b)]();}[_0x4328bf(0x1ea)](_0x9a0577){var _0x80d695=_0x4328bf;this['_lockTransition'](),this[_0x80d695(0x2c8)](this[_0x80d695(0xc9)][_0x80d695(0x27d)](_0x9a0577)),this['_unlockTransition']();}[_0x4328bf(0x1b8)](_0x2d6299){var _0x3b3df2=_0x4328bf;this[_0x3b3df2(0x159)](),this[_0x3b3df2(0x2c8)](this[_0x3b3df2(0xc9)][_0x3b3df2(0x2b1)](_0x2d6299)),this['_unlockTransition']();}[_0x4328bf(0x233)](_0x4aa84b){var _0x35b151=_0x4328bf;this[_0x35b151(0x159)](),this[_0x35b151(0x2c8)](this[_0x35b151(0xc9)]['onRemoteRetry'](_0x4aa84b)),this['_unlockTransition']();}['_onFetchMissResult'](_0x211414){var _0x3c4d79=_0x4328bf;if(!(this[_0x3c4d79(0xc9)]instanceof ee))throw new TypeError(_0x3c4d79(0xfe));const _0x2d1fe0=_0x211414['map'](_0x2461f2=>{var _0x3650b1=_0x3c4d79;const _0x21e35d=this[_0x3650b1(0x32f)][_0x3650b1(0x21b)][_0x3650b1(0x180)](this[_0x3650b1(0x32f)]['interceptor'][_0x3650b1(0x382)]()[_0x3650b1(0x141)])(_0x2461f2['mutations'],null)||_0x2461f2[_0x3650b1(0x288)];return{..._0x2461f2,'mutations':_0x21e35d};});this['_lockTransition'](),this[_0x3c4d79(0x2c8)](this[_0x3c4d79(0xc9)]['onMissedChangesetFetched'](_0x2d1fe0)),this[_0x3c4d79(0x25b)]();}[_0x4328bf(0x19d)](){var _0x42435f=_0x4328bf;this[_0x42435f(0x159)](),this[_0x42435f(0x2c8)](this['_state'][_0x42435f(0x236)]()),this[_0x42435f(0x25b)]();}[_0x4328bf(0x396)](_0xcaa71f=!0x1){var _0x23d318=_0x4328bf;this[_0x23d318(0x159)](),this['_updateState'](this['_state']['toggleOnline']()),this['_unlockTransition']();const _0x35b066=this[_0x23d318(0xc9)];_0xcaa71f&&_0x35b066 instanceof be&&(this['_lockTransition'](),this['_updateState'](_0x35b066[_0x23d318(0x20a)]()),this[_0x23d318(0x25b)]());}async[_0x4328bf(0x173)](){return new Promise(_0x1570a2=>{var _0x430e7d=_0x3c32;this['session'][_0x430e7d(0x18a)]['pipe'](_0x214f29(0x1))[_0x430e7d(0x252)](async _0x58c1a6=>{_0x1570a2(await this['_createInitialStateImpl'](_0x58c1a6===me['ONLINE']));});});}[_0x4328bf(0x18d)](){var _0xfec38=_0x4328bf;const _0x4adbec=this[_0xfec38(0xf7)];return{'onStateChange':(_0x182bb5,_0x318b79)=>{var _0xadfcf3=_0xfec38;if(_0x182bb5!==this[_0xadfcf3(0xc9)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x182bb5[_0xadfcf3(0x380)]+_0xadfcf3(0x177)+_0x318b79[_0xadfcf3(0x380)]+_0xadfcf3(0x381)+this[_0xadfcf3(0xc9)][_0xadfcf3(0x380)]);this[_0xadfcf3(0x2c8)](_0x318b79);},'onSendChangeset':_0x161fb2=>{var _0x433232=_0xfec38;_0x161fb2[_0x433232(0x253)]||(_0x161fb2[_0x433232(0x253)]=this[_0x433232(0x257)],_0x161fb2[_0x433232(0x2e9)]=++this[_0x433232(0xce)]);const _0x47469d={'eventID':_0x5d996f['SUBMIT_CHANGESET'],'data':{'unitID':_0x161fb2[_0x433232(0xf7)],'unitType':this[_0x433232(0x2ab)],'changeset':_0x161fb2,'memberID':this['session'][_0x433232(0x120)]()}};this['session']['send'](_0x47469d,this[_0x433232(0xf7)]);},'onMissingChangesets':({from:_0x12f10d,to:_0x181a79})=>{var _0x27aa4e=_0xfec38;this[_0x27aa4e(0x259)][_0x27aa4e(0x2c5)](_0x27aa4e(0x34d),_0x27aa4e(0xff)+_0x12f10d+_0x27aa4e(0x1b4)+_0x181a79);const _0x2afd62={'eventID':_0x5d996f[_0x27aa4e(0x295)],'data':{'unitID':_0x4adbec,'unitType':this['_type'],'from':_0x12f10d,'to':_0x181a79}};this[_0x27aa4e(0x1c7)][_0x27aa4e(0x36a)](_0x2afd62,this[_0x27aa4e(0xf7)]);}};}async[_0x4328bf(0x160)](_0x34f077){var _0xa473e1=_0x4328bf,_0x5a24bc,_0x3c7bbc,_0x531548;const _0x3e72d3=await((_0x5a24bc=this['_localCacheService'])==null?void 0x0:_0x5a24bc[_0xa473e1(0x3aa)](this[_0xa473e1(0xf7)])),_0x228377=(_0x3c7bbc=_0x3e72d3==null?void 0x0:_0x3e72d3[_0xa473e1(0x288)])!=null?_0x3c7bbc:[],_0x12cdf8=(_0x531548=_0x3e72d3==null?void 0x0:_0x3e72d3[_0xa473e1(0x16f)])!=null?_0x531548:null,_0x27d2ab=!!(_0x12cdf8!=null&&_0x12cdf8['sid'])&&!!(_0x12cdf8!=null&&_0x12cdf8[_0xa473e1(0x2e9)]);this['_changesetSessionId']=_0x27d2ab?_0x12cdf8[_0xa473e1(0x253)]:_0x5009a5(),this['_changesetReqId']=_0x27d2ab?_0x12cdf8[_0xa473e1(0x2e9)]:0x0;const _0x35ff8a=this[_0xa473e1(0xf7)];try{this['_replayCachedMutations'](_0x12cdf8,_0x228377);}catch(_0x4b186a){this[_0xa473e1(0x259)][_0xa473e1(0x1a1)](_0x4b186a);}const _0x5db44a=this[_0xa473e1(0x18d)]();if(_0x34f077){const _0x39bdc0=Ti(this['_injector'],_0x35ff8a,this[_0xa473e1(0x2ab)],_0x12cdf8,_0x228377,_0x5db44a);return _0x39bdc0 instanceof ae?_0x39bdc0[_0xa473e1(0x109)]():(_0x39bdc0 instanceof oe||_0x39bdc0 instanceof le)&&_0x39bdc0[_0xa473e1(0xbd)](),_0x39bdc0;}return this['_injector']['createInstance'](de,_0x35ff8a,this[_0xa473e1(0x2ab)],_0x12cdf8,_0x228377,_0x5db44a);}[_0x4328bf(0x339)](_0x448184,_0x5cc427){var _0x5e0db9=_0x4328bf,_0x5b05b4,_0x2ef598;const _0x2c9390=this[_0x5e0db9(0x32f)]['interceptor'][_0x5e0db9(0x180)](this[_0x5e0db9(0x32f)][_0x5e0db9(0x21b)][_0x5e0db9(0x382)]()[_0x5e0db9(0x141)]);(_0x5b05b4=_0x2c9390((_0x448184==null?void 0x0:_0x448184['mutations'])||[],null))==null||_0x5b05b4[_0x5e0db9(0x1ef)](_0x441a30=>this[_0x5e0db9(0x178)]['executeCommand'](_0x441a30['id'],_0x441a30[_0x5e0db9(0x39a)])),(_0x2ef598=_0x2c9390(_0x5cc427||[],null))==null||_0x2ef598[_0x5e0db9(0x1ef)](_0x52227b=>this['_commandService'][_0x5e0db9(0x198)](_0x52227b['id'],_0x52227b[_0x5e0db9(0x39a)]));}};st=At([$(0x3,_0x1dda19(_0xee3a85)),$(0x4,_0x1dda19(_0x383362)),$(0x5,_0x1dda19(_0xcdf5b0)),$(0x6,_0x1dda19(_0x2e1984)),$(0x7,_0x1dda19(ve)),$(0x8,_0x49e0a6),$(0x9,_0x1d1a3b),$(0xa,_0x446ca0),$(0xb,_0xf19167),$(0xc,_0x334ec4(_t)),$(0xd,_0x334ec4(J))],st);let It=class extends st{constructor(_0x49004f,_0x1d6de4,_0x3924f8,_0x58538b,_0x5ebb33,_0x24215a,_0x357f6c,_0x394e62,_0x7f3cb0,_0x26787f,_0x39f12c,_0x4f789f,_0xfc1261,_0x54782a){var _0x566297=_0x4328bf;super(_0x49004f,_0x3924f8,_0x1d6de4,_0x58538b,_0x5ebb33,_0x24215a,_0x357f6c,_0x394e62,_0x7f3cb0,_0x26787f,_0x39f12c,_0x4f789f,_0xfc1261,_0x54782a),D(this,_0x566297(0x267),null),(this[_0x566297(0xf7)]=_0x49004f,this['type']=_0x1d6de4);}['addHandlerCallback'](_0x5276c0){var _0x129665=_0x4328bf;this[_0x129665(0x267)]=_0x5276c0;}['dispose'](){var _0x3075f9=_0x4328bf;this[_0x3075f9(0x267)]=null,super[_0x3075f9(0x113)]();}['_createHandler'](){var _0x3239e1=_0x4328bf;const _0x2a08c9=super[_0x3239e1(0x18d)]();return _0x2a08c9[_0x3239e1(0x309)]=_0x4c4913=>{var _0x4e3831=_0x3239e1,_0x487904,_0x59a1dd;return(_0x59a1dd=(_0x487904=this[_0x4e3831(0x267)])==null?void 0x0:_0x487904[_0x4e3831(0x309)])==null?void 0x0:_0x59a1dd[_0x4e3831(0x34c)](_0x487904,_0x4c4913);},_0x2a08c9[_0x3239e1(0x1a2)]=_0x24c450=>{var _0x39f80a=_0x3239e1,_0x12ee6f,_0x620b92;return(_0x620b92=(_0x12ee6f=this[_0x39f80a(0x267)])==null?void 0x0:_0x12ee6f[_0x39f80a(0x1a2)])==null?void 0x0:_0x620b92[_0x39f80a(0x34c)](_0x12ee6f,_0x24c450);},_0x2a08c9[_0x3239e1(0x1e5)]=_0x865cbf=>{var _0x589cb4=_0x3239e1,_0x3ba082,_0x204fdf;return(_0x204fdf=(_0x3ba082=this[_0x589cb4(0x267)])==null?void 0x0:_0x3ba082[_0x589cb4(0x1e5)])==null?void 0x0:_0x204fdf[_0x589cb4(0x34c)](_0x3ba082,_0x865cbf);},_0x2a08c9[_0x3239e1(0x39d)]=_0x12e027=>{var _0x5053c3=_0x3239e1,_0x189e86,_0x10847e;return(_0x10847e=(_0x189e86=this[_0x5053c3(0x267)])==null?void 0x0:_0x189e86[_0x5053c3(0x39d)])==null?void 0x0:_0x10847e[_0x5053c3(0x34c)](_0x189e86,_0x12e027);},_0x2a08c9[_0x3239e1(0x1e2)]=_0x22fd26=>{var _0x3cd5b1=_0x3239e1,_0x14b774,_0x3aceac,_0x1bec76;if(!((_0x14b774=this['_handlerCallback'])!=null&&_0x14b774[_0x3cd5b1(0x1e2)]))throw new Error(_0x3cd5b1(0x2bd));return(_0x1bec76=(_0x3aceac=this['_handlerCallback'])==null?void 0x0:_0x3aceac[_0x3cd5b1(0x1e2)])==null?void 0x0:_0x1bec76['call'](_0x3aceac,_0x22fd26);},_0x2a08c9[_0x3239e1(0x1b5)]=_0x1ce86c=>{var _0x2a7d06=_0x3239e1,_0x320b3e,_0x340df5,_0x5052cc;if(!((_0x320b3e=this[_0x2a7d06(0x267)])!=null&&_0x320b3e[_0x2a7d06(0x1b5)]))throw new Error(_0x2a7d06(0x35a));return(_0x5052cc=(_0x340df5=this[_0x2a7d06(0x267)])==null?void 0x0:_0x340df5[_0x2a7d06(0x1b5)])==null?void 0x0:_0x5052cc[_0x2a7d06(0x34c)](_0x340df5,_0x1ce86c);},_0x2a08c9;}async[_0x4328bf(0x36d)](){var _0x1f791d=_0x4328bf;const _0xa14b26=await super['_init']();return this[_0x1f791d(0x27e)](this[_0x1f791d(0x178)][_0x1f791d(0x1bb)]((_0x45ab56,_0x14455d)=>{var _0x21c707=_0x1f791d;if(_0x45ab56['type']!==_0x8c8749[_0x21c707(0x172)]||_0x14455d!=null&&_0x14455d['fromCollab']||_0x14455d!=null&&_0x14455d['onlyLocal']||_0x45ab56['id']===_0x5c1719['id'])return;const _0x5baa2d=_0x45ab56[_0x21c707(0x39a)];if((_0x5baa2d==null?void 0x0:_0x5baa2d[_0x21c707(0x223)])!==this['unitID'])return;const _0x279fa2=_0x45ab56,_0x41201b=this[_0x21c707(0x32f)]['interceptor'][_0x21c707(0x180)](this[_0x21c707(0x32f)][_0x21c707(0x21b)][_0x21c707(0x382)]()[_0x21c707(0x28f)])([_0x279fa2],this[_0x21c707(0x2f5)])||[_0x279fa2];this['_onLocalMutation'](_0x41201b[0x0]);})),_0xa14b26;}};It=At([$(0x3,_0x1dda19(_0xee3a85)),$(0x4,_0x1dda19(_0x383362)),$(0x5,_0x1dda19(_0xcdf5b0)),$(0x6,_0x1dda19(_0x2e1984)),$(0x7,_0x1dda19(ve)),$(0x8,_0x49e0a6),$(0x9,_0x1d1a3b),$(0xa,_0x446ca0),$(0xb,_0xf19167),$(0xc,_0x334ec4(_t)),$(0xd,_0x334ec4(J))],It);let St=class extends st{constructor(_0x202b87,_0xa3826f,_0x48d70c,_0x2a1ba9,_0xa8abe2,_0x37d9f5,_0x10d04d,_0x2f2d9a,_0x3a0041,_0x557eba,_0x217bbb,_0x4e1606,_0x15df38,_0x316f9d,_0xd562ad){var _0xd0580a=_0x4328bf;super(_0x202b87,_0x48d70c,_0xa3826f,_0x2a1ba9,_0xa8abe2,_0x37d9f5,_0x10d04d,_0x3a0041,_0x557eba,_0x217bbb,_0x4e1606,_0x15df38,_0x316f9d,_0xd562ad),this['unitID']=_0x202b87,this[_0xd0580a(0x12f)]=_0xa3826f,this[_0xd0580a(0x1d9)]=_0x2f2d9a;}[_0x4328bf(0x18d)](){var _0x3f5676=_0x4328bf;const _0xafef96=super[_0x3f5676(0x18d)]();return _0xafef96[_0x3f5676(0x1e5)]=_0x2598a7=>this[_0x3f5676(0x1d9)]['transformSelections'](_0x2598a7),_0xafef96;}async[_0x4328bf(0x36d)](){var _0x19ab9c=_0x4328bf;const _0x459222=await super['_init']();return this[_0x19ab9c(0x27e)](this[_0x19ab9c(0x178)][_0x19ab9c(0x1bb)]((_0xaa91fc,_0x11960d)=>{var _0x4693b4=_0x19ab9c;if(_0xaa91fc['type']!==_0x8c8749[_0x4693b4(0x172)]||_0x11960d!=null&&_0x11960d[_0x4693b4(0x14c)]||_0x11960d!=null&&_0x11960d[_0x4693b4(0x297)])return;const _0x4933e2=_0xaa91fc[_0x4693b4(0x39a)];if((_0x4933e2==null?void 0x0:_0x4933e2['unitId'])!==this[_0x4693b4(0xf7)])return;const _0x31de81=_0xaa91fc,_0x2ff427=this[_0x4693b4(0x32f)][_0x4693b4(0x21b)][_0x4693b4(0x180)](this['_compressMutationService']['interceptor'][_0x4693b4(0x382)]()[_0x4693b4(0x28f)])([_0x31de81],this[_0x4693b4(0x2f5)])||[_0x31de81];this[_0x4693b4(0x230)](_0x2ff427[0x0]);})),_0x459222;}};St=At([$(0x3,_0x1dda19(_0xee3a85)),$(0x4,_0x1dda19(_0x383362)),$(0x5,_0x1dda19(_0xcdf5b0)),$(0x6,_0x1dda19(_0x2e1984)),$(0x7,_0x1dda19(it)),$(0x8,_0x1dda19(ve)),$(0x9,_0x49e0a6),$(0xa,_0x1d1a3b),$(0xb,_0x446ca0),$(0xc,_0xf19167),$(0xd,_0x334ec4(_t)),$(0xe,_0x334ec4(J))],St);const Bs=_0xb1f68a(_0x4328bf(0x307));function Fs(_0x2e1812){var _0x2c1465=_0x4328bf,_0x30c293,_0x275b71,_0xd2878a,_0x22ea80,_0x5d708d;const _0xf03348=_0x2e1812[_0x2c1465(0x334)],_0x36b1c6=JSON[_0x2c1465(0x2c6)](_0xf03348);switch(_0x36b1c6[_0x2c1465(0x106)]){case j['HEARTBEAT']:case j[_0x2c1465(0x2b4)]:{const _0x3211cd=_0x36b1c6['infoRsp'];return{..._0x36b1c6,'data':_0x3211cd,'cmd':_0x36b1c6[_0x2c1465(0x106)]};}case j[_0x2c1465(0x379)]:{const _0x6dd0c7=_0x36b1c6['joinRsp'];return{..._0x36b1c6,'data':_0x6dd0c7,'cmd':_0x36b1c6[_0x2c1465(0x106)]};}case j[_0x2c1465(0x19a)]:{const _0x6d622=_0x36b1c6[_0x2c1465(0x127)];switch(_0x6d622[_0x2c1465(0x1dd)]){case _0x5d996f[_0x2c1465(0x3a5)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':(_0x30c293=_0x6d622[_0x2c1465(0x367)])==null?void 0x0:_0x30c293['cs']},'cmd':_0x36b1c6['cmd']};case _0x5d996f[_0x2c1465(0x107)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':(_0x275b71=_0x6d622[_0x2c1465(0x2f1)])==null?void 0x0:_0x275b71['cs']},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f['NEW_CHANGESETS']:return{..._0x36b1c6,'data':{..._0x6d622,'data':(_0xd2878a=_0x6d622[_0x2c1465(0x280)])==null?void 0x0:_0xd2878a['cs']},'cmd':_0x36b1c6['cmd']};case _0x5d996f[_0x2c1465(0x14e)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':(_0x22ea80=_0x6d622['csRejEvent'])==null?void 0x0:_0x22ea80['cs']},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f[_0x2c1465(0x162)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':(_0x5d708d=_0x6d622[_0x2c1465(0x240)])==null?void 0x0:_0x5d708d['cs']},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f[_0x2c1465(0x224)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':_0x6d622[_0x2c1465(0x32c)]},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f['USERS_ENTER']:return{..._0x36b1c6,'data':{..._0x6d622,'data':_0x6d622[_0x2c1465(0x187)]},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f[_0x2c1465(0x34e)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':_0x6d622[_0x2c1465(0x19e)]},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f[_0x2c1465(0x2e3)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':_0x6d622[_0x2c1465(0xd6)]},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f[_0x2c1465(0x335)]:case _0x5d996f[_0x2c1465(0x137)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':_0x6d622[_0x2c1465(0x399)]},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f[_0x2c1465(0x13c)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':_0x6d622[_0x2c1465(0xd6)]},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f[_0x2c1465(0x1db)]:return{..._0x36b1c6,'data':_0x6d622,'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f[_0x2c1465(0x37c)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':_0x6d622[_0x2c1465(0x20f)]},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f['UPDATE_PERMISSION_OBJ']:return{..._0x36b1c6,'data':{..._0x6d622,'data':_0x6d622[_0x2c1465(0x26d)]},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f[_0x2c1465(0x342)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':_0x6d622[_0x2c1465(0x38c)]},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f[_0x2c1465(0xeb)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':_0x6d622[_0x2c1465(0x282)]},'cmd':_0x36b1c6[_0x2c1465(0x106)]};default:return _0x36b1c6;}}default:return _0x36b1c6;}}function js(_0x2ad4a1){var _0x1cd154=_0x4328bf;switch(_0x2ad4a1[_0x1cd154(0x106)]){case j[_0x1cd154(0x2cf)]:case j[_0x1cd154(0x2b4)]:return JSON[_0x1cd154(0xe2)]({'cmd':_0x2ad4a1[_0x1cd154(0x106)],'routeKey':_0x2ad4a1[_0x1cd154(0x194)]});case j[_0x1cd154(0x1b0)]:{let _0x124927;switch(_0x2ad4a1[_0x1cd154(0x334)][_0x1cd154(0x1dd)]){case _0x5d996f[_0x1cd154(0x224)]:{_0x124927={'eventID':_0x5d996f[_0x1cd154(0x224)],'updateCursorEvent':_0x2ad4a1[_0x1cd154(0x334)][_0x1cd154(0x334)]};break;}case _0x5d996f[_0x1cd154(0x34e)]:{_0x124927={'eventID':_0x5d996f[_0x1cd154(0x34e)],'leaveEvent':_0x2ad4a1[_0x1cd154(0x334)][_0x1cd154(0x334)]};break;}case _0x5d996f[_0x1cd154(0x33d)]:{_0x124927={'eventID':_0x5d996f['USERS_ENTER'],'joinEvent':_0x2ad4a1['data']['data']};break;}case _0x5d996f[_0x1cd154(0x2e3)]:{_0x124927={'eventID':_0x5d996f[_0x1cd154(0x2e3)],'liveShareNewHost':_0x2ad4a1[_0x1cd154(0x334)]['data']};break;}case _0x5d996f['LIVESHARE_OPERATION']:{_0x124927={'eventID':_0x5d996f['LIVESHARE_OPERATION'],'liveShareOperation':_0x2ad4a1[_0x1cd154(0x334)]['data']};break;}case _0x5d996f[_0x1cd154(0x13c)]:{_0x124927={'eventID':_0x5d996f['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x2ad4a1[_0x1cd154(0x334)][_0x1cd154(0x334)]};break;}case _0x5d996f[_0x1cd154(0x3b9)]:{_0x124927={'eventID':_0x5d996f[_0x1cd154(0x3b9)],'liveShareRequestHost':_0x2ad4a1[_0x1cd154(0x334)][_0x1cd154(0x334)]};break;}case _0x5d996f[_0x1cd154(0x335)]:{_0x124927={'eventID':_0x5d996f['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x124927={'eventID':_0x2ad4a1[_0x1cd154(0x334)][_0x1cd154(0x1dd)]};}return JSON['stringify']({'cmd':_0x2ad4a1[_0x1cd154(0x106)],'routeKey':_0x2ad4a1[_0x1cd154(0x194)],'collaMsg':_0x124927});}case j[_0x1cd154(0x379)]:return JSON[_0x1cd154(0xe2)]({'cmd':_0x2ad4a1[_0x1cd154(0x106)],'routeKey':_0x2ad4a1['routeKey'],'joinReq':_0x2ad4a1[_0x1cd154(0x334)]});case j[_0x1cd154(0x28a)]:return JSON[_0x1cd154(0xe2)]({'cmd':_0x2ad4a1[_0x1cd154(0x106)],'routeKey':_0x2ad4a1[_0x1cd154(0x194)],'leaveReq':_0x2ad4a1[_0x1cd154(0x334)]});default:throw new Error(_0x1cd154(0xbc));}}var Vs=Object[_0x4328bf(0x10e)],Gs=(_0x58790a,_0x17ce82,_0x205c80,_0x256e17)=>{var _0x291004=_0x4328bf;for(var _0x19afb5=_0x256e17>0x1?void 0x0:_0x256e17?Vs(_0x17ce82,_0x205c80):_0x17ce82,_0x385b31=_0x58790a[_0x291004(0x384)]-0x1,_0x2cdd96;_0x385b31>=0x0;_0x385b31--)(_0x2cdd96=_0x58790a[_0x385b31])&&(_0x19afb5=_0x2cdd96(_0x19afb5)||_0x19afb5);return _0x19afb5;},ye=(_0x535200,_0x39bc64)=>(_0x308308,_0x5c2204)=>_0x39bc64(_0x308308,_0x5c2204,_0x535200);const Oi=_0xb1f68a(_0x4328bf(0x3a6));function Ws(_0x18bd17,_0x5cfea9,_0x4ba91f){var _0xeee8=_0x4328bf;return _0x18bd17+'/'+_0x5cfea9+'/unit/'+_0x4ba91f+_0xeee8(0x33b);}let Gt=class extends _0x52aa1d{constructor(_0x331604,_0x1a4733,_0x355600,_0x55f6f1,_0x3bc5c9){var _0x54c096=_0x4328bf;super(),this['_injector']=_0x331604,this['_httpService']=_0x1a4733,this[_0x54c096(0x18e)]=_0x355600,this[_0x54c096(0x259)]=_0x55f6f1,this[_0x54c096(0x182)]=_0x3bc5c9;}[_0x4328bf(0x11b)](_0x3b025c){var _0x4ee490=_0x4328bf;const _0x57f15f=this[_0x4ee490(0x12c)][_0x4ee490(0x136)](_0x23fc33);if(!_0x57f15f)throw new Error(_0x4ee490(0x35c));const _0x24350a=_0x57f15f[_0x4ee490(0x19c)](_0x3b025c);if(!_0x24350a)throw new Error(_0x4ee490(0x15f));const _0x3b8aa3=new _0x507ed9(),_0x1714ed=new _0x37fbef();_0x3b8aa3['add'](_0x24350a[_0x4ee490(0x1f4)]['subscribe'](_0x370ea3=>_0x1714ed[_0x4ee490(0x36e)](_0x370ea3))),_0x3b8aa3['add'](_0x473a26(()=>_0x1714ed[_0x4ee490(0x26a)]()));const _0x534440=new _0x37fbef();_0x3b8aa3[_0x4ee490(0x336)](_0x24350a[_0x4ee490(0x2de)][_0x4ee490(0x252)](_0x4b4b53=>_0x534440[_0x4ee490(0x36e)](_0x4b4b53))),_0x3b8aa3[_0x4ee490(0x336)](_0x473a26(()=>_0x534440[_0x4ee490(0x26a)]()));const _0x3d273a=new _0x37fbef();_0x3b8aa3['add'](_0x24350a['message$']['subscribe'](_0x5e7adc=>{var _0x34947e=_0x4ee490;const _0x301240=Fs(_0x5e7adc);_0x3d273a[_0x34947e(0x36e)](_0x301240);})),_0x3b8aa3[_0x4ee490(0x336)](_0x473a26(()=>_0x3d273a[_0x4ee490(0x26a)]()));let _0xa46d66;const _0x6e115c=()=>{var _0x4acd1a=_0x4ee490;_0x534440['next'](new Event('connection\x20error')),_0x1714ed[_0x4acd1a(0x36e)](new Event(_0x4acd1a(0x220))),_0xa46d66[_0x4acd1a(0x372)]();};return _0xa46d66={'memberID':'','close$':_0x1714ed[_0x4ee490(0x133)](),'error$':_0x534440[_0x4ee490(0x133)](),'open$':_0x24350a[_0x4ee490(0x3cb)],'message$':_0x3d273a[_0x4ee490(0x133)](),'send':_0x50de43=>{var _0x1755e6=_0x4ee490;if(_0x50de43[_0x1755e6(0x106)]===j[_0x1755e6(0x1b0)]){if(_0x50de43[_0x1755e6(0x334)][_0x1755e6(0x1dd)]===_0x5d996f['SUBMIT_CHANGESET']){this[_0x1755e6(0x353)](_0xa46d66,_0x50de43[_0x1755e6(0x334)])[_0x1755e6(0xe8)](_0x2277df=>{var _0x1e099a=_0x1755e6;this['_logService'][_0x1e099a(0x1a1)](_0x2277df),_0x6e115c();});return;}if(_0x50de43[_0x1755e6(0x334)][_0x1755e6(0x1dd)]===_0x5d996f[_0x1755e6(0x295)]){const _0xd51e52=_0x50de43[_0x1755e6(0x334)];this[_0x1755e6(0x39c)](_0xd51e52)[_0x1755e6(0x21c)](_0x158e45=>{var _0x1fe462=_0x1755e6;_0x3d273a[_0x1fe462(0x36e)]({'cmd':j[_0x1fe462(0x19a)],'code':pe['OK'],'routeKey':_0xd51e52[_0x1fe462(0x334)][_0x1fe462(0xf7)],'routeType':'','data':{'eventID':_0x5d996f['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x158e45}}});})['catch'](_0x1b12b1=>{var _0x12269e=_0x1755e6;this[_0x12269e(0x259)][_0x12269e(0x1a1)](_0x1b12b1),_0x6e115c();});return;}}_0x24350a[_0x1755e6(0x36a)](js(_0x50de43));},'close':()=>{var _0x2a3ae4=_0x4ee490;_0x24350a[_0x2a3ae4(0x372)](),_0x3b8aa3['dispose']();}},_0xa46d66;}async[_0x4328bf(0x353)](_0x5d2d58,_0x20c2c9){var _0x5796c5=_0x4328bf,_0x377803;const {unitType:_0x4cfc43,unitID:_0x54b825,changeset:_0x1a33a4}=_0x20c2c9[_0x5796c5(0x334)],_0x18394e={'unitID':_0x54b825,'memberID':_0x5d2d58[_0x5796c5(0x2fa)],'type':_0x4cfc43,'changeset':_0x2f0f25(_0x1a33a4)},_0x12b7a1=this[_0x5796c5(0x18e)]['getConfig'](K),_0x1fd173=Ws((_0x377803=_0x12b7a1==null?void 0x0:_0x12b7a1['collabSubmitChangesetUrl'])!=null?_0x377803:Os,_0x4cfc43,_0x54b825);try{await this[_0x5796c5(0x201)][_0x5796c5(0x283)](_0x1fd173,{'body':_0x18394e});}catch(_0xeb0af0){throw this['_logService'][_0x5796c5(0x1a1)]('[CollaborationSession]',_0x5796c5(0x31e)),_0xeb0af0;}}async[_0x4328bf(0x39c)](_0x32fa84){var _0x1d8755=_0x4328bf;const {unitID:_0x3bcce0,from:_0x159c25,to:_0x44f553,unitType:_0x4fbeb2}=_0x32fa84['data'];return(await this[_0x1d8755(0x182)][_0x1d8755(0xe5)]({'metadata':void 0x0},{'unitID':_0x3bcce0,'type':_0x4fbeb2,'from':_0x159c25,'to':_0x44f553}))['changesets'][_0x1d8755(0x2ee)](_0x2afdad=>((_0x2afdad[_0x1d8755(0x288)]===null||_0x2afdad['mutations']===void 0x0)&&(_0x2afdad[_0x1d8755(0x288)]=[]),_0x2afdad));}};Gt=Gs([ye(0x0,_0x1dda19(_0xee3a85)),ye(0x1,_0x1dda19(_0xd0787f)),ye(0x2,_0x53068b),ye(0x3,_0x1d1a3b),ye(0x4,_0x3da798)],Gt);var Ys=Object[_0x4328bf(0x10e)],Ks=(_0x435b89,_0x216b80,_0x2d3670,_0x219048)=>{var _0xb2c7f2=_0x4328bf;for(var _0x46612b=_0x219048>0x1?void 0x0:_0x219048?Ys(_0x216b80,_0x2d3670):_0x216b80,_0x54f58c=_0x435b89[_0xb2c7f2(0x384)]-0x1,_0x4b9197;_0x54f58c>=0x0;_0x54f58c--)(_0x4b9197=_0x435b89[_0x54f58c])&&(_0x46612b=_0x4b9197(_0x46612b)||_0x46612b);return _0x46612b;},Re=(_0x411f5d,_0x374dd6)=>(_0x52f4fb,_0x2ffda7)=>_0x374dd6(_0x52f4fb,_0x2ffda7,_0x411f5d);let we=class extends _0x52aa1d{constructor(_0x1083f5,_0x159ab0,_0x1efe85,_0x1b4b12,_0x183a51,_0x5eb4b0){var _0x5bebcd=_0x4328bf;super(),D(this,'_socket$',new _0x39c092(void 0x0)),D(this,'socket$',this[_0x5bebcd(0x388)][_0x5bebcd(0x133)]()),D(this,_0x5bebcd(0x183),null),D(this,_0x5bebcd(0x1f1),new Map()),D(this,_0x5bebcd(0x354),new _0x39c092(me[_0x5bebcd(0x112)])),D(this,'status$',this[_0x5bebcd(0x354)][_0x5bebcd(0x133)]()),D(this,_0x5bebcd(0xe4),!0x1),D(this,'_retryConnectingTimer'),D(this,_0x5bebcd(0x1a3),0x0),D(this,'_sendHeartbeatTimer'),D(this,_0x5bebcd(0x18f)),(this[_0x5bebcd(0x12c)]=_0x1083f5,this[_0x5bebcd(0x259)]=_0x159ab0,this[_0x5bebcd(0x18e)]=_0x1efe85,this['_socketService']=_0x1b4b12,this['_collaborationUIEventService']=_0x183a51,this['_networkConditionService']=_0x5eb4b0,this[_0x5bebcd(0x2d8)]());}get[_0x4328bf(0xd7)](){var _0x4b38b=_0x4328bf;return this[_0x4b38b(0x388)][_0x4b38b(0xcc)]();}[_0x4328bf(0x2d8)](){var _0x19eb3e=_0x4328bf;this['_networkConditionService']&&this[_0x19eb3e(0x27e)](this['_networkConditionService'][_0x19eb3e(0x298)]['subscribe'](_0x4230f3=>{var _0x6b7a2=_0x19eb3e;_0x4230f3&&!this['_socket']&&this['reconnect'](),_0x4230f3||this[_0x6b7a2(0x164)]();}));}[_0x4328bf(0x113)](){var _0x41a267=_0x4328bf;super['dispose'](),this[_0x41a267(0x357)](),this[_0x41a267(0x144)](),this[_0x41a267(0xc7)](),this[_0x41a267(0x1f1)][_0x41a267(0x1ef)](_0x54a6b6=>_0x54a6b6[_0x41a267(0x113)]()),this[_0x41a267(0x1f1)][_0x41a267(0x10c)](),this['_status$'][_0x41a267(0x26a)]();}async[_0x4328bf(0x3a9)](_0x591347){var _0x1c1813=_0x4328bf;if(this[_0x1c1813(0x1f1)]['has'](_0x591347))return this[_0x1c1813(0x1f1)][_0x1c1813(0x136)](_0x591347);this[_0x1c1813(0x37d)]();const _0x3a26ca=this[_0x1c1813(0x12c)][_0x1c1813(0x300)](mt,_0x591347,this[_0x1c1813(0x388)][_0x1c1813(0x133)]());return this[_0x1c1813(0x1f1)][_0x1c1813(0x27f)](_0x591347,_0x3a26ca),_0x3a26ca;}[_0x4328bf(0xf5)](_0x1f8398){var _0x4f5508=_0x4328bf,_0x1be0fd;const _0x2733d4=this[_0x4f5508(0x1f1)]['get'](_0x1f8398);_0x2733d4&&(this[_0x4f5508(0x1f1)]['delete'](_0x1f8398),_0x2733d4['close']()),this[_0x4f5508(0x1f1)][_0x4f5508(0x1de)]||(_0x1be0fd=this[_0x4f5508(0xd7)])==null||_0x1be0fd[_0x4f5508(0x372)]();}[_0x4328bf(0x291)](){var _0x2f182e=_0x4328bf;this[_0x2f182e(0x1a3)]=0x0,this[_0x2f182e(0x357)](),this['_tryReconnect']();}[_0x4328bf(0x357)](){var _0x5445cb=_0x4328bf;this[_0x5445cb(0x3d5)]!=null&&(clearTimeout(this[_0x5445cb(0x3d5)]),this[_0x5445cb(0x3d5)]=null);}async[_0x4328bf(0x261)](){var _0x14a069=_0x4328bf,_0x5815ab;const _0x3a9f1c=this[_0x14a069(0x18e)][_0x14a069(0x2b0)](K),_0x19ef00=(_0x5815ab=_0x3a9f1c==null?void 0x0:_0x3a9f1c['collabWebSocketUrl'])!=null?_0x5815ab:Es,_0x1809dc=await this['_socketService'][_0x14a069(0x19c)](_0x19ef00);return this[_0x14a069(0x183)]=_0x1809dc,_0x1809dc;}async[_0x4328bf(0x37d)](){var _0x33a886=_0x4328bf,_0x3d9296,_0x4fe621;try{const _0x306e2e=(_0x4fe621=(_0x3d9296=this['_socket'])!=null?_0x3d9296:this[_0x33a886(0x183)])!=null?_0x4fe621:await this[_0x33a886(0x261)]();if(_0x306e2e){const _0xd7004=_0x306e2e[_0x33a886(0x36a)];_0x306e2e[_0x33a886(0x36a)]=_0x2b3154=>(this[_0x33a886(0x167)](),_0xd7004[_0x33a886(0x131)](_0x306e2e,[_0x2b3154])),_0x306e2e[_0x33a886(0x31b)][_0x33a886(0x252)](_0x145e6e=>this[_0x33a886(0x103)](_0x306e2e,_0x145e6e)),_0x306e2e[_0x33a886(0x2de)][_0x33a886(0x26f)](_0x26bac6(0x1))[_0x33a886(0x252)](_0x46d123=>this[_0x33a886(0x259)]['error'](_0x33a886(0x211),_0x46d123)),_0x306e2e[_0x33a886(0x3cb)][_0x33a886(0x26f)](_0x26bac6(0x1))[_0x33a886(0x252)](()=>{var _0x5ba687=_0x33a886;this[_0x5ba687(0x352)](_0x306e2e);}),_0x306e2e[_0x33a886(0x1f4)][_0x33a886(0x26f)](_0x26bac6(0x1))[_0x33a886(0x252)](_0xf08b2d=>{var _0xecadec=_0x33a886;this[_0xecadec(0x259)][_0xecadec(0x2c5)](_0xecadec(0xee),_0xecadec(0x202),_0xf08b2d),this[_0xecadec(0x149)]();});}}catch(_0x78aa8b){this['_logService']['error'](_0x78aa8b),this[_0x33a886(0x149)]();}}[_0x4328bf(0x352)](_0x5c8513){var _0x8a7d96=_0x4328bf;this['_logService']['debug'](_0x8a7d96(0xee),_0x8a7d96(0x2dc)),_0x5c8513['send']({'cmd':j[_0x8a7d96(0x2b4)]}),this[_0x8a7d96(0x167)]();}[_0x4328bf(0x164)](){var _0x4881f1=_0x4328bf;this[_0x4881f1(0xe4)]=!0x1,this['_candidateSocket']=null,this['_status$'][_0x4881f1(0x36e)](me[_0x4881f1(0x17d)]),this[_0x4881f1(0x388)][_0x4881f1(0x36e)](null),this[_0x4881f1(0x144)](),this[_0x4881f1(0xc7)]();}[_0x4328bf(0x149)](){var _0x51263a=_0x4328bf,_0x5721d4;this[_0x51263a(0x164)](),this['_retryCount']<((_0x5721d4=this['_configService']['getConfig'](gs))!=null?_0x5721d4:Ts)?(this[_0x51263a(0xdf)][_0x51263a(0x3bb)]({'id':re[_0x51263a(0x263)]}),this[_0x51263a(0xcb)]()):this[_0x51263a(0xdf)][_0x51263a(0x3bb)]({'id':re[_0x51263a(0x2f2)]});}[_0x4328bf(0xcb)](){var _0x443d71=_0x4328bf,_0x540a59;const _0x147ffc=this[_0x443d71(0x1a3)],_0x2f87ea=this[_0x443d71(0x18e)][_0x443d71(0x2b0)](K),_0x563e29=_0x147ffc===0x0?0x0:((_0x540a59=_0x2f87ea==null?void 0x0:_0x2f87ea['retryConnectingInterval'])!=null?_0x540a59:Ss)*0x2**_0x147ffc;this[_0x443d71(0x3d5)]=setTimeout(()=>{var _0x559438=_0x443d71;clearTimeout(this[_0x559438(0x3d5)]),this['_retryConnectingTimer']=null,this[_0x559438(0x37d)]();},_0x563e29),this[_0x443d71(0x1a3)]+=0x1;}[_0x4328bf(0x103)](_0x2185d8,_0xf4089a){var _0x4b9d14=_0x4328bf;const {cmd:_0x1a4f5a}=_0xf4089a;_0x1a4f5a===j['HELLO']&&!this[_0x4b9d14(0xe4)]&&(_0x2185d8[_0x4b9d14(0x2fa)]=_0xf4089a[_0x4b9d14(0x334)]['memberID'],this[_0x4b9d14(0x388)]['next'](_0x2185d8),this[_0x4b9d14(0x354)][_0x4b9d14(0x36e)](me['ONLINE']),this[_0x4b9d14(0xe4)]=!0x0,this[_0x4b9d14(0x183)]=null),_0x1a4f5a===j[_0x4b9d14(0x2cf)]&&this[_0x4b9d14(0x144)](),this[_0x4b9d14(0x167)]();}['_rescheduleHeartbeat'](){var _0x436702=_0x4328bf,_0x4e2ec4;this[_0x436702(0xc7)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x4e2ec4=this[_0x436702(0x18e)][_0x436702(0x2b0)](ms))!=null?_0x4e2ec4:Is);}[_0x4328bf(0x398)](){var _0xea8be0=_0x4328bf;this[_0xea8be0(0xd7)]['send']({'cmd':j[_0xea8be0(0x2cf)]}),this[_0xea8be0(0x2ed)]();}[_0x4328bf(0x2ed)](){var _0x1a7d87=_0x4328bf,_0x47fadc;this[_0x1a7d87(0x18f)]=setTimeout(()=>this[_0x1a7d87(0x149)](),(_0x47fadc=this['_configService'][_0x1a7d87(0x2b0)](di))!=null?_0x47fadc:fi);}[_0x4328bf(0xc7)](){var _0x5ddd56=_0x4328bf;this[_0x5ddd56(0x1bf)]!=null&&(clearTimeout(this[_0x5ddd56(0x1bf)]),this[_0x5ddd56(0x1bf)]=null);}[_0x4328bf(0x144)](){var _0x55613e=_0x4328bf;this[_0x55613e(0x18f)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x55613e(0x18f)]=null);}};we=Ks([Re(0x0,_0x1dda19(_0xee3a85)),Re(0x1,_0x1d1a3b),Re(0x2,_0x53068b),Re(0x3,Oi),Re(0x4,_0x1dda19(ve)),Re(0x5,_0x334ec4(Bs))],we);var qs=Object[_0x4328bf(0x10e)],zs=(_0x1d0ca3,_0x57fe76,_0xd773b3,_0x1cc56e)=>{var _0x44f188=_0x4328bf;for(var _0x152117=_0x1cc56e>0x1?void 0x0:_0x1cc56e?qs(_0x57fe76,_0xd773b3):_0x57fe76,_0x32f521=_0x1d0ca3[_0x44f188(0x384)]-0x1,_0x27566d;_0x32f521>=0x0;_0x32f521--)(_0x27566d=_0x1d0ca3[_0x32f521])&&(_0x152117=_0x27566d(_0x152117)||_0x152117);return _0x152117;},Be=(_0x3ce365,_0x561069)=>(_0x47ff84,_0x28c253)=>_0x561069(_0x47ff84,_0x28c253,_0x3ce365);let nt=class extends _0x276e6a{constructor(_0x4d4a10,_0x1b282b,_0x5bb07e,_0x16ecbe){var _0x2f4006=_0x4328bf,_0x5d71fe;super(),D(this,_0x2f4006(0x1d4),new Map()),D(this,_0x2f4006(0x327),new _0x37fbef()),D(this,_0x2f4006(0x24a),this['_entityInit$'][_0x2f4006(0x133)]()),(this[_0x2f4006(0x12c)]=_0x4d4a10,this[_0x2f4006(0xde)]=_0x1b282b,this[_0x2f4006(0x18e)]=_0x5bb07e,this['_univerInstanceService']=_0x16ecbe,((_0x5d71fe=this[_0x2f4006(0x18e)][_0x2f4006(0x2b0)](K))==null?void 0x0:_0x5d71fe[_0x2f4006(0x16b)])!==!0x1&&this[_0x2f4006(0x36d)]());}['dispose'](){var _0x29ba7a=_0x4328bf;super[_0x29ba7a(0x113)](),this[_0x29ba7a(0x1d4)]['forEach'](_0x5e573c=>_0x5e573c[_0x29ba7a(0x113)]()),this[_0x29ba7a(0x1d4)]['clear']();}['getCollabEntity'](_0x3519d6){var _0x2fb3d0=_0x4328bf,_0x284d8a;return(_0x284d8a=this[_0x2fb3d0(0x1d4)]['get'](_0x3519d6))!=null?_0x284d8a:null;}['getCollabEntity$'](_0x127a6b){var _0x596b00=_0x4328bf;const _0x3abec3=this[_0x596b00(0x3c3)](_0x127a6b);return _0x3abec3?_0x55b75d(_0x3abec3):this['_entityInit$']['pipe'](_0x1e7c80(_0x1ca4e8=>_0x1ca4e8['unitID']===_0x127a6b));}[_0x4328bf(0x2e1)](_0x94bc6a){var _0x55da19=_0x4328bf;return _0x6669ea(this[_0x55da19(0x213)](_0x94bc6a)['pipe'](_0x48e852(()=>{})));}['_init'](){var _0x288a45=_0x4328bf;this[_0x288a45(0x2f5)]['getTypeOfUnitAdded$'](_0xa25e24['UNIVER_SHEET'])[_0x288a45(0x26f)](_0x11c380(this[_0x288a45(0x248)]),_0x59b0c7(0x10))[_0x288a45(0x252)](async _0x414851=>{var _0x515554=_0x288a45;const _0x265ec8=_0x414851[_0x515554(0x306)](),_0x5882ed=await this[_0x515554(0x23e)](_0x265ec8,Q[_0x515554(0xc6)]);this['_entities'][_0x515554(0x27f)](_0x265ec8,_0x5882ed);}),this['_univerInstanceService'][_0x288a45(0x2c9)](_0xa25e24[_0x288a45(0x268)])[_0x288a45(0x26f)](_0x11c380(this['dispose$']),_0x59b0c7(0x10))['pipe'](_0x1e7c80(_0x129791=>!_0x129791[_0x288a45(0x306)]()['startsWith']('__')))[_0x288a45(0x252)](async _0x155ad7=>{var _0x38ab42=_0x288a45;const _0x432696=_0x155ad7[_0x38ab42(0x306)](),_0x10cf85=await this[_0x38ab42(0x23e)](_0x432696,Q[_0x38ab42(0x268)]);this[_0x38ab42(0x1d4)][_0x38ab42(0x27f)](_0x432696,_0x10cf85);}),_0x4ad722(this[_0x288a45(0x2f5)][_0x288a45(0x2b7)](_0xa25e24[_0x288a45(0xc6)]),this[_0x288a45(0x2f5)][_0x288a45(0x2b7)](_0xa25e24[_0x288a45(0x268)]))[_0x288a45(0x26f)](_0x11c380(this[_0x288a45(0x248)]))[_0x288a45(0x252)](_0x2f959a=>{var _0x11e622=_0x288a45;const _0x3eb758=_0x2f959a[_0x11e622(0x306)](),_0x2cfe84=this['_entities'][_0x11e622(0x136)](_0x3eb758);_0x2cfe84&&(_0x2cfe84[_0x11e622(0x113)](),this[_0x11e622(0x1d4)][_0x11e622(0x3b8)](_0x3eb758));});}async[_0x4328bf(0x23e)](_0x246b3f,_0x2938c9){var _0x4c774c=_0x4328bf;const _0x53c024=await this[_0x4c774c(0xde)][_0x4c774c(0x3a9)](_0x246b3f),_0x58075e=this[_0x4c774c(0x12c)][_0x4c774c(0x300)](this[_0x4c774c(0x276)](_0x2938c9),_0x246b3f,_0x2938c9,_0x53c024);return await _0x58075e['init'](),this[_0x4c774c(0x327)][_0x4c774c(0x36e)](_0x58075e),_0x58075e;}[_0x4328bf(0x276)](_0x30fed1){var _0x494cda=_0x4328bf;switch(_0x30fed1){case Q['UNIVER_DOC']:return It;case Q[_0x494cda(0xc6)]:return St;default:throw new Error(_0x494cda(0x312)+_0x30fed1);}}};nt=zs([Be(0x0,_0x1dda19(_0xee3a85)),Be(0x1,_0x1dda19(we)),Be(0x2,_0x53068b),Be(0x3,_0x49e0a6)],nt);var Js=Object[_0x4328bf(0x10e)],Xs=(_0x2e65b6,_0x58dc2a,_0x32281d,_0x1f2ecf)=>{var _0x201c8e=_0x4328bf;for(var _0xd1e542=_0x1f2ecf>0x1?void 0x0:_0x1f2ecf?Js(_0x58dc2a,_0x32281d):_0x58dc2a,_0x221bca=_0x2e65b6[_0x201c8e(0x384)]-0x1,_0x34adc8;_0x221bca>=0x0;_0x221bca--)(_0x34adc8=_0x2e65b6[_0x221bca])&&(_0xd1e542=_0x34adc8(_0xd1e542)||_0xd1e542);return _0xd1e542;},Wt=(_0x528ffb,_0xcbaf05)=>(_0x5d2b37,_0x12f089)=>_0xcbaf05(_0x5d2b37,_0x12f089,_0x528ffb);const Zs=_0x4328bf(0x31c),Qs=_0x4328bf(0x2f9);let gt=class extends _0x52aa1d{constructor(_0x21c8a8,_0x2d3848){var _0x21fe77=_0x4328bf;super(),this['_univerInstanceService']=_0x21c8a8,this[_0x21fe77(0x18e)]=_0x2d3848,this[_0x21fe77(0x36d)]();}[_0x4328bf(0x36d)](){var _0x2a693c=_0x4328bf;this[_0x2a693c(0x27e)](this[_0x2a693c(0x2f5)][_0x2a693c(0x1c8)][_0x2a693c(0x252)](()=>{var _0x2a03f8=_0x2a693c,_0x3a76e8;const _0xf210a2=this[_0x2a03f8(0x2f5)][_0x2a03f8(0xd3)]();let _0x5da9a8=(_0x3a76e8=this[_0x2a03f8(0x18e)][_0x2a03f8(0x2b0)](Zs))!=null?_0x3a76e8:Qs;_0xf210a2 instanceof _0x5bf3d7&&(_0x5da9a8=_0xf210a2[_0x2a03f8(0x35e)]),document[_0x2a03f8(0x114)]=_0x5da9a8;}));}};gt=Xs([Wt(0x0,_0x49e0a6),Wt(0x1,_0x53068b)],gt);var en=Object[_0x4328bf(0x10e)],tn=(_0x5a4de4,_0x1df737,_0x44bb6f,_0x1a9e28)=>{var _0x705719=_0x4328bf;for(var _0x245945=_0x1a9e28>0x1?void 0x0:_0x1a9e28?en(_0x1df737,_0x44bb6f):_0x1df737,_0x4d35ce=_0x5a4de4[_0x705719(0x384)]-0x1,_0x1149a7;_0x4d35ce>=0x0;_0x4d35ce--)(_0x1149a7=_0x5a4de4[_0x4d35ce])&&(_0x245945=_0x1149a7(_0x245945)||_0x245945);return _0x245945;},dt=(_0x1d2e9d,_0x400bbc)=>(_0x9dd679,_0x4eac22)=>_0x400bbc(_0x9dd679,_0x4eac22,_0x1d2e9d);let rt=class{constructor(_0x285746,_0x4b5b23,_0x356eb1){var _0x1ac1f5=_0x4328bf;this[_0x1ac1f5(0x18e)]=_0x285746,this[_0x1ac1f5(0x201)]=_0x4b5b23,this[_0x1ac1f5(0x23a)]=_0x356eb1,this[_0x1ac1f5(0x245)]();}[_0x4328bf(0x245)](){var _0x17cfd7=_0x4328bf;this[_0x17cfd7(0x201)][_0x17cfd7(0x325)]({'priority':0x1,'interceptor':(_0x455e59,_0x4115dc)=>_0x4115dc(_0x455e59)['pipe'](_0x1d0b42(async _0x3f5be6=>{var _0x4dbfe0=_0x17cfd7;const _0x137380=_0x3f5be6;if(_0x137380[_0x4dbfe0(0x380)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x4dbfe0(0x147)](this[_0x4dbfe0(0x23a)]['t'](_0x4dbfe0(0xdc)))){const _0x205ed7=window[_0x4dbfe0(0x166)](window[_0x4dbfe0(0x20c)][_0x4dbfe0(0x19b)]);window[_0x4dbfe0(0x20c)][_0x4dbfe0(0x19b)]=this[_0x4dbfe0(0x2f0)]()+'?url='+_0x205ed7;}}return _0x137380;}))});}[_0x4328bf(0x2f0)](){var _0x524c4a=_0x4328bf,_0x7876f3;const _0x3c6295=this[_0x524c4a(0x18e)][_0x524c4a(0x2b0)](K);return(_0x7876f3=_0x3c6295==null?void 0x0:_0x3c6295['loginUrlKey'])!=null?_0x7876f3:Rs;}};rt=tn([dt(0x0,_0x53068b),dt(0x1,_0x1dda19(_0xd0787f)),dt(0x2,_0x1dda19(_0xcdf5b0))],rt);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x29c4d5,_0x30bbb2,_0x21086c,_0x551668)=>{var _0x28c009=_0x4328bf;for(var _0x477dbd=_0x551668>0x1?void 0x0:_0x551668?sn(_0x30bbb2,_0x21086c):_0x30bbb2,_0x1950cc=_0x29c4d5[_0x28c009(0x384)]-0x1,_0x424485;_0x1950cc>=0x0;_0x1950cc--)(_0x424485=_0x29c4d5[_0x1950cc])&&(_0x477dbd=_0x424485(_0x477dbd)||_0x477dbd);return _0x477dbd;},Yt=(_0x1436b6,_0x35682d)=>(_0x49126f,_0xe684c2)=>_0x35682d(_0x49126f,_0xe684c2,_0x1436b6);const rn=_0x4328bf(0x119);let Tt=class extends _0x52aa1d{constructor(_0x3bad46,_0x1f2e66){var _0x2cf547=_0x4328bf;super(),this[_0x2cf547(0x358)]=_0x3bad46,this[_0x2cf547(0x18e)]=_0x1f2e66,this[_0x2cf547(0x33f)]();}['_initMergeInterceptor'](){var _0x15276f=_0x4328bf;const _0x63b29b=this;this['disposeWithMe'](this['_HTTPService'][_0x15276f(0x325)]({'priority':0x3e7,'interceptor':_0x353dcb({'isMatch'(_0x56fe77){var _0x44fc4b=_0x15276f,_0x51aa2a;if(_0x56fe77[_0x44fc4b(0x2db)]===_0x44fc4b(0x29a)&&((_0x51aa2a=_0x56fe77[_0x44fc4b(0x2a7)])!=null&&_0x51aa2a[_0x44fc4b(0x360)])){const {objectID:_0x2f4345,objectType:_0x460ccc}=_0x56fe77[_0x44fc4b(0x2a7)][_0x44fc4b(0x360)]||{};if(!_0x2f4345||_0x460ccc===void 0x0)return!0x1;const _0x47106b=_0x63b29b[_0x44fc4b(0x3c0)]()+'/'+_0x460ccc+_0x44fc4b(0x2a5)+_0x2f4345+_0x44fc4b(0x232);if(_0x56fe77[_0x44fc4b(0x1c0)]===_0x47106b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5c8a9e){var _0x21f4e2=_0x15276f,_0x2c092b;return(_0x2c092b=_0x5c8a9e[_0x21f4e2(0x2a7)])==null?void 0x0:_0x2c092b['body'];},'mergeParamsToRequest'(_0x4c848f,_0x464c58){var _0x28816d=_0x15276f;const _0x43566b=_0x63b29b['_getAPIPrefixPath']()+_0x28816d(0x1b6),_0x4ca1a2=_0x4c848f['reduce']((_0x5e88b9,_0x12af27)=>{var _0x1edb7d=_0x28816d;const {unitID:_0x3739fd,objectID:_0x44ca18,objectType:_0x1d113d,actions:_0x5d55f6}=_0x12af27;return _0x5e88b9[_0x3739fd]||(_0x5e88b9[_0x3739fd]={}),_0x5e88b9[_0x3739fd][_0x44ca18]||(_0x5e88b9[_0x3739fd][_0x44ca18]={'objectID':_0x44ca18,'objectType':_0x1d113d,'actions':[]}),_0x5e88b9[_0x3739fd][_0x44ca18]['actions'][_0x1edb7d(0x348)](..._0x5d55f6),_0x5e88b9;},{}),_0x31c588=[];for(const _0x1c6144 in _0x4ca1a2)for(const _0x3ae56e in _0x4ca1a2[_0x1c6144]){const {actions:_0x690e43,objectType:_0x944161}=_0x4ca1a2[_0x1c6144][_0x3ae56e],_0x579460=[...new Set(_0x690e43)];_0x31c588[_0x28816d(0x348)]({'unitID':_0x1c6144,'objectID':_0x3ae56e,'objectType':_0x944161,'actions':_0x579460});}return new _0x49bbd9(_0x28816d(0x29a),_0x43566b,{'headers':_0x464c58[_0x28816d(0x3b1)],'withCredentials':_0x464c58[_0x28816d(0x36c)],'responseType':_0x464c58[_0x28816d(0x12a)],'body':{'requests':_0x31c588}});}},{'distributeResult'(_0x36747c,_0x1ce348){var _0x2c6155=_0x15276f;const {objectActions:_0x45ef0a}=_0x36747c;return _0x1ce348[_0x2c6155(0x2ee)](_0x54306e=>{var _0x8ca6a1=_0x2c6155;const {unitID:_0x5ee9f4,objectID:_0xd717b5,actions:_0x225fff}=_0x54306e,_0x4c1d22=_0x45ef0a[_0x8ca6a1(0x2c7)](_0x55325d=>_0x55325d[_0x8ca6a1(0xf7)]===_0x5ee9f4&&_0x55325d[_0x8ca6a1(0x1e9)]===_0xd717b5),_0x61562c=_0x225fff[_0x8ca6a1(0x2ee)](_0x1af9f5=>_0x4c1d22==null?void 0x0:_0x4c1d22[_0x8ca6a1(0x255)][_0x8ca6a1(0x2c7)](_0x4ca5a9=>_0x4ca5a9[_0x8ca6a1(0x28b)]===_0x1af9f5))[_0x8ca6a1(0x38e)](_0x279b9e=>!!_0x279b9e);return{'config':_0x54306e,'result':{'actions':_0x61562c,'error':_0x36747c[_0x8ca6a1(0x1a1)]}};});}})}));}[_0x4328bf(0x3c0)](){var _0xfa7c13=_0x4328bf,_0x29459d;const _0x3b2aaa=this[_0xfa7c13(0x18e)][_0xfa7c13(0x2b0)](K);return(_0x29459d=_0x3b2aaa==null?void 0x0:_0x3b2aaa[_0xfa7c13(0x108)])!=null?_0x29459d:rn;}async[_0x4328bf(0x1c5)](_0x4471da){var _0x2272ec=_0x4328bf;const _0x5b122e=this[_0x2272ec(0x3c0)]()+'/'+_0x4471da[_0x2272ec(0x3a8)]+_0x2272ec(0x2ae);return(await this['_HTTPService'][_0x2272ec(0x283)](_0x5b122e,{'body':_0x4471da}))[_0x2272ec(0x360)][_0x2272ec(0x1e9)]||'';}async[_0x4328bf(0x244)](_0x551cc0){var _0x182e2e=_0x4328bf;const _0x1cc32c=this[_0x182e2e(0x3c0)]()+_0x182e2e(0x299);return(await this[_0x182e2e(0x358)][_0x182e2e(0x283)](_0x1cc32c,{'body':_0x551cc0}))[_0x182e2e(0x360)]['objects'];}async['update'](_0x59b0a0){var _0xbeac13=_0x4328bf,_0x523d8e,_0x37bc35;const _0x35e0ca=this[_0xbeac13(0x3c0)]()+'/'+_0x59b0a0[_0xbeac13(0x3a8)]+_0xbeac13(0x2a5)+_0x59b0a0[_0xbeac13(0x1e9)],_0x4c3d51=await this[_0xbeac13(0x358)][_0xbeac13(0x32b)](_0x35e0ca,{'body':_0x59b0a0});if(((_0x37bc35=(_0x523d8e=_0x4c3d51==null?void 0x0:_0x4c3d51['body'])==null?void 0x0:_0x523d8e['error'])==null?void 0x0:_0x37bc35[_0xbeac13(0x12e)])!==0x1)throw new Error(_0xbeac13(0x301));}async['allowed'](_0x20f35a){var _0x42c389=_0x4328bf;const _0x4374bf=this[_0x42c389(0x3c0)]()+'/'+_0x20f35a[_0x42c389(0x3a8)]+_0x42c389(0x2a5)+_0x20f35a[_0x42c389(0x1e9)]+_0x42c389(0x232);return(await this[_0x42c389(0x358)][_0x42c389(0x283)](_0x4374bf,{'body':_0x20f35a}))[_0x42c389(0x360)][_0x42c389(0x255)];}async['batchAllowed'](_0xfea283){var _0x33255d=_0x4328bf;const _0x538398=this[_0x33255d(0x3c0)]()+_0x33255d(0x1b6);return(await this[_0x33255d(0x358)][_0x33255d(0x283)](_0x538398,{'body':{'requests':_0xfea283}}))[_0x33255d(0x360)][_0x33255d(0x3c8)];}async[_0x4328bf(0x1cd)](_0x268370){var _0x62e484=_0x4328bf;const _0x49007a=this['_getAPIPrefixPath']()+'/'+_0x268370['objectType']+'/role',_0x23515f=await this[_0x62e484(0x358)][_0x62e484(0x283)](_0x49007a,{'body':_0x268370});return{'roles':_0x23515f[_0x62e484(0x360)][_0x62e484(0x11c)],'actions':_0x23515f[_0x62e484(0x360)][_0x62e484(0x255)]};}async[_0x4328bf(0x374)](_0xa54a32){var _0x388730=_0x4328bf;const _0x3bef8d=this['_getAPIPrefixPath']()+_0x388730(0x29d);await this[_0x388730(0x358)][_0x388730(0x3b8)](_0x3bef8d,{'params':{'collaboratorID':_0xa54a32['collaboratorID'],'objectID':_0xa54a32[_0x388730(0x1e9)],'unitID':_0xa54a32[_0x388730(0xf7)]}});}async[_0x4328bf(0x317)](_0x127d92){var _0x2b791e=_0x4328bf;const _0x5a51e5=this[_0x2b791e(0x3c0)]()+_0x2b791e(0x29d);await this[_0x2b791e(0x358)][_0x2b791e(0x337)](_0x5a51e5,{'body':_0x127d92});}async[_0x4328bf(0x3b7)](_0x589150){var _0x27f08b=_0x4328bf;const _0x313346=this[_0x27f08b(0x3c0)]()+_0x27f08b(0x29d);await this[_0x27f08b(0x358)][_0x27f08b(0x283)](_0x313346,{'body':_0x589150});}async[_0x4328bf(0x17a)](_0x2cd5cf){var _0x1e57c5=_0x4328bf;const _0x275802=this[_0x1e57c5(0x3c0)]()+_0x1e57c5(0x29d);return(await this['_HTTPService'][_0x1e57c5(0x136)](_0x275802,{'params':{'objectID':_0x2cd5cf[_0x1e57c5(0x1e9)],'unitID':_0x2cd5cf[_0x1e57c5(0xf7)]}}))[_0x1e57c5(0x360)][_0x1e57c5(0x238)];}async[_0x4328bf(0x21e)](_0x749274){var _0x4cd493=_0x4328bf;const _0x3ca521=this['_getAPIPrefixPath']()+_0x4cd493(0x29d);await this[_0x4cd493(0x358)]['put'](_0x3ca521,{'body':_0x749274});}};Tt=nn([Yt(0x0,_0x1dda19(_0xd0787f)),Yt(0x1,_0x1dda19(_0x53068b))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x18c2f8){var _0x28ad14=_0x4328bf;return _0x18c2f8&&_0x18c2f8[_0x28ad14(0x377)]&&Object[_0x28ad14(0x150)][_0x28ad14(0x1ad)]['call'](_0x18c2f8,_0x28ad14(0x26c))?_0x18c2f8[_0x28ad14(0x26c)]:_0x18c2f8;}var Ve={'exports':{}};function an(_0x1c56bd){var _0x3e12d0=_0x4328bf;throw new Error(_0x3e12d0(0x36f)+_0x1c56bd+_0x3e12d0(0x10a));}var Ge={'exports':{}},on=Ge[_0x4328bf(0xc3)],Kt;function ie(){var _0x1fa962=_0x4328bf;return Kt||(Kt=0x1,function(_0x3f1c4a,_0x24b32e){(function(_0x344c8b,_0x12b2d2){var _0x1ec171=_0x3c32;_0x3f1c4a[_0x1ec171(0xc3)]=_0x12b2d2();}(on,function(){var _0x597334=_0x597334||function(_0x2c5235,_0x476e4a){var _0xd223ab=_0x3c32,_0x1d4425;if(typeof window<'u'&&window[_0xd223ab(0x344)]&&(_0x1d4425=window[_0xd223ab(0x344)]),typeof self<'u'&&self[_0xd223ab(0x344)]&&(_0x1d4425=self[_0xd223ab(0x344)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1d4425=globalThis['crypto']),!_0x1d4425&&typeof window<'u'&&window['msCrypto']&&(_0x1d4425=window[_0xd223ab(0x212)]),!_0x1d4425&&typeof ft<'u'&&ft['crypto']&&(_0x1d4425=ft[_0xd223ab(0x344)]),!_0x1d4425&&typeof an==_0xd223ab(0x277))try{_0x1d4425=require('crypto');}catch{}var _0x588eea=function(){var _0x117274=_0xd223ab;if(_0x1d4425){if(typeof _0x1d4425[_0x117274(0xe9)]==_0x117274(0x277))try{return _0x1d4425['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1d4425[_0x117274(0x35b)]=='function')try{return _0x1d4425['randomBytes'](0x4)[_0x117274(0x29b)]();}catch{}}throw new Error(_0x117274(0x10b));},_0x3b7fee=Object[_0xd223ab(0x1c5)]||(function(){function _0x1775d4(){}return function(_0x50e4a9){var _0x1de310=_0x3c32,_0x4437b4;return _0x1775d4[_0x1de310(0x150)]=_0x50e4a9,_0x4437b4=new _0x1775d4(),_0x1775d4[_0x1de310(0x150)]=null,_0x4437b4;};}()),_0x32536e={},_0x4bf1b2=_0x32536e[_0xd223ab(0x15c)]={},_0x414549=_0x4bf1b2[_0xd223ab(0x2af)]=(function(){return{'extend':function(_0x5557fc){var _0x324188=_0x3c32,_0x156cb1=_0x3b7fee(this);return _0x5557fc&&_0x156cb1[_0x324188(0x3d3)](_0x5557fc),(!_0x156cb1[_0x324188(0x1ad)](_0x324188(0x245))||this[_0x324188(0x245)]===_0x156cb1[_0x324188(0x245)])&&(_0x156cb1['init']=function(){var _0x4180bd=_0x324188;_0x156cb1[_0x4180bd(0x2c3)][_0x4180bd(0x245)]['apply'](this,arguments);}),_0x156cb1[_0x324188(0x245)][_0x324188(0x150)]=_0x156cb1,_0x156cb1['$super']=this,_0x156cb1;},'create':function(){var _0xcb32dd=_0x3c32,_0x3ef277=this[_0xcb32dd(0x39b)]();return _0x3ef277[_0xcb32dd(0x245)][_0xcb32dd(0x131)](_0x3ef277,arguments),_0x3ef277;},'init':function(){},'mixIn':function(_0x9017c1){var _0x1e08fb=_0x3c32;for(var _0x53e857 in _0x9017c1)_0x9017c1[_0x1e08fb(0x1ad)](_0x53e857)&&(this[_0x53e857]=_0x9017c1[_0x53e857]);_0x9017c1[_0x1e08fb(0x1ad)](_0x1e08fb(0xbe))&&(this[_0x1e08fb(0xbe)]=_0x9017c1[_0x1e08fb(0xbe)]);},'clone':function(){var _0x5db4e1=_0x3c32;return this['init'][_0x5db4e1(0x150)][_0x5db4e1(0x39b)](this);}};}()),_0x153510=_0x4bf1b2[_0xd223ab(0x186)]=_0x414549[_0xd223ab(0x39b)]({'init':function(_0x4d24e3,_0x538569){var _0x1c872f=_0xd223ab;_0x4d24e3=this[_0x1c872f(0x26e)]=_0x4d24e3||[],_0x538569!=_0x476e4a?this[_0x1c872f(0x1f8)]=_0x538569:this[_0x1c872f(0x1f8)]=_0x4d24e3[_0x1c872f(0x384)]*0x4;},'toString':function(_0x4219ee){var _0x27f7fb=_0xd223ab;return(_0x4219ee||_0xb5720f)[_0x27f7fb(0xe2)](this);},'concat':function(_0x10f19d){var _0x5a00fc=_0xd223ab,_0x20b328=this[_0x5a00fc(0x26e)],_0xd9ec92=_0x10f19d['words'],_0xdb8604=this[_0x5a00fc(0x1f8)],_0x206d08=_0x10f19d[_0x5a00fc(0x1f8)];if(this[_0x5a00fc(0xd4)](),_0xdb8604%0x4)for(var _0x1635ab=0x0;_0x1635ab<_0x206d08;_0x1635ab++){var _0x326ec1=_0xd9ec92[_0x1635ab>>>0x2]>>>0x18-_0x1635ab%0x4*0x8&0xff;_0x20b328[_0xdb8604+_0x1635ab>>>0x2]|=_0x326ec1<<0x18-(_0xdb8604+_0x1635ab)%0x4*0x8;}else{for(var _0x5dac28=0x0;_0x5dac28<_0x206d08;_0x5dac28+=0x4)_0x20b328[_0xdb8604+_0x5dac28>>>0x2]=_0xd9ec92[_0x5dac28>>>0x2];}return this[_0x5a00fc(0x1f8)]+=_0x206d08,this;},'clamp':function(){var _0x3a4477=_0xd223ab,_0x500893=this[_0x3a4477(0x26e)],_0x350e87=this[_0x3a4477(0x1f8)];_0x500893[_0x350e87>>>0x2]&=0xffffffff<<0x20-_0x350e87%0x4*0x8,_0x500893[_0x3a4477(0x384)]=_0x2c5235[_0x3a4477(0x12d)](_0x350e87/0x4);},'clone':function(){var _0x381384=_0xd223ab,_0x260a88=_0x414549[_0x381384(0x340)][_0x381384(0x34c)](this);return _0x260a88[_0x381384(0x26e)]=this[_0x381384(0x26e)][_0x381384(0x397)](0x0),_0x260a88;},'random':function(_0x46788d){var _0x3595bb=_0xd223ab;for(var _0x34de76=[],_0x13d9ce=0x0;_0x13d9ce<_0x46788d;_0x13d9ce+=0x4)_0x34de76[_0x3595bb(0x348)](_0x588eea());return new _0x153510[(_0x3595bb(0x245))](_0x34de76,_0x46788d);}}),_0x5c4e4a=_0x32536e[_0xd223ab(0x1e0)]={},_0xb5720f=_0x5c4e4a[_0xd223ab(0x1ff)]={'stringify':function(_0x5f2dcd){var _0x4b6ac3=_0xd223ab;for(var _0x54c580=_0x5f2dcd[_0x4b6ac3(0x26e)],_0x17e4be=_0x5f2dcd[_0x4b6ac3(0x1f8)],_0x5add27=[],_0x152014=0x0;_0x152014<_0x17e4be;_0x152014++){var _0x58f97e=_0x54c580[_0x152014>>>0x2]>>>0x18-_0x152014%0x4*0x8&0xff;_0x5add27[_0x4b6ac3(0x348)]((_0x58f97e>>>0x4)[_0x4b6ac3(0xbe)](0x10)),_0x5add27[_0x4b6ac3(0x348)]((_0x58f97e&0xf)[_0x4b6ac3(0xbe)](0x10));}return _0x5add27[_0x4b6ac3(0x1b1)]('');},'parse':function(_0x1707eb){var _0x393d07=_0xd223ab;for(var _0x192d6a=_0x1707eb[_0x393d07(0x384)],_0xa404eb=[],_0x526a25=0x0;_0x526a25<_0x192d6a;_0x526a25+=0x2)_0xa404eb[_0x526a25>>>0x3]|=parseInt(_0x1707eb[_0x393d07(0x110)](_0x526a25,0x2),0x10)<<0x18-_0x526a25%0x8*0x4;return new _0x153510[(_0x393d07(0x245))](_0xa404eb,_0x192d6a/0x2);}},_0x2ed683=_0x5c4e4a['Latin1']={'stringify':function(_0xcedfcc){var _0x150d9d=_0xd223ab;for(var _0x3312af=_0xcedfcc[_0x150d9d(0x26e)],_0x5d07ba=_0xcedfcc['sigBytes'],_0x3647fa=[],_0x47e311=0x0;_0x47e311<_0x5d07ba;_0x47e311++){var _0x22b2a3=_0x3312af[_0x47e311>>>0x2]>>>0x18-_0x47e311%0x4*0x8&0xff;_0x3647fa['push'](String[_0x150d9d(0x2ce)](_0x22b2a3));}return _0x3647fa['join']('');},'parse':function(_0x24855e){var _0x2f6b63=_0xd223ab;for(var _0x330677=_0x24855e[_0x2f6b63(0x384)],_0x34de24=[],_0x874bb0=0x0;_0x874bb0<_0x330677;_0x874bb0++)_0x34de24[_0x874bb0>>>0x2]|=(_0x24855e['charCodeAt'](_0x874bb0)&0xff)<<0x18-_0x874bb0%0x4*0x8;return new _0x153510[(_0x2f6b63(0x245))](_0x34de24,_0x330677);}},_0x45292b=_0x5c4e4a[_0xd223ab(0x304)]={'stringify':function(_0x1141d0){var _0x5c0e10=_0xd223ab;try{return decodeURIComponent(escape(_0x2ed683[_0x5c0e10(0xe2)](_0x1141d0)));}catch{throw new Error(_0x5c0e10(0x12b));}},'parse':function(_0x92d69b){var _0x2429ad=_0xd223ab;return _0x2ed683[_0x2429ad(0x2c6)](unescape(encodeURIComponent(_0x92d69b)));}},_0x262393=_0x4bf1b2[_0xd223ab(0x375)]=_0x414549[_0xd223ab(0x39b)]({'reset':function(){var _0x339037=_0xd223ab;this[_0x339037(0x34f)]=new _0x153510[(_0x339037(0x245))](),this['_nDataBytes']=0x0;},'_append':function(_0x5ccaee){var _0x27f603=_0xd223ab;typeof _0x5ccaee=='string'&&(_0x5ccaee=_0x45292b[_0x27f603(0x2c6)](_0x5ccaee)),this['_data']['concat'](_0x5ccaee),this[_0x27f603(0xca)]+=_0x5ccaee[_0x27f603(0x1f8)];},'_process':function(_0x17f071){var _0x10a12f=_0xd223ab,_0x3251ff,_0x53840e=this[_0x10a12f(0x34f)],_0x4d867e=_0x53840e['words'],_0x2bae8d=_0x53840e[_0x10a12f(0x1f8)],_0x279b72=this['blockSize'],_0x45de8b=_0x279b72*0x4,_0x28e86e=_0x2bae8d/_0x45de8b;_0x17f071?_0x28e86e=_0x2c5235[_0x10a12f(0x12d)](_0x28e86e):_0x28e86e=_0x2c5235['max']((_0x28e86e|0x0)-this[_0x10a12f(0x195)],0x0);var _0x48ac39=_0x28e86e*_0x279b72,_0x4a79ec=_0x2c5235[_0x10a12f(0x2a0)](_0x48ac39*0x4,_0x2bae8d);if(_0x48ac39){for(var _0x1a4db2=0x0;_0x1a4db2<_0x48ac39;_0x1a4db2+=_0x279b72)this[_0x10a12f(0x27b)](_0x4d867e,_0x1a4db2);_0x3251ff=_0x4d867e[_0x10a12f(0x2c1)](0x0,_0x48ac39),_0x53840e[_0x10a12f(0x1f8)]-=_0x4a79ec;}return new _0x153510['init'](_0x3251ff,_0x4a79ec);},'clone':function(){var _0x17ea6c=_0xd223ab,_0x123812=_0x414549[_0x17ea6c(0x340)][_0x17ea6c(0x34c)](this);return _0x123812['_data']=this[_0x17ea6c(0x34f)][_0x17ea6c(0x340)](),_0x123812;},'_minBufferSize':0x0});_0x4bf1b2[_0xd223ab(0x2bb)]=_0x262393[_0xd223ab(0x39b)]({'cfg':_0x414549[_0xd223ab(0x39b)](),'init':function(_0x2fc4e7){var _0x3f332e=_0xd223ab;this['cfg']=this[_0x3f332e(0x11e)]['extend'](_0x2fc4e7),this[_0x3f332e(0x33c)]();},'reset':function(){var _0x5a93e3=_0xd223ab;_0x262393[_0x5a93e3(0x33c)][_0x5a93e3(0x34c)](this),this[_0x5a93e3(0x3c5)]();},'update':function(_0x4a96a0){var _0x48c3ca=_0xd223ab;return this[_0x48c3ca(0x286)](_0x4a96a0),this[_0x48c3ca(0xe7)](),this;},'finalize':function(_0x3e095a){var _0x2f0de7=_0xd223ab;_0x3e095a&&this[_0x2f0de7(0x286)](_0x3e095a);var _0x4d289b=this[_0x2f0de7(0x16c)]();return _0x4d289b;},'blockSize':0x10,'_createHelper':function(_0x34d885){return function(_0x55d86b,_0x16cd8f){var _0x9d3f=_0x3c32;return new _0x34d885[(_0x9d3f(0x245))](_0x16cd8f)[_0x9d3f(0x23f)](_0x55d86b);};},'_createHmacHelper':function(_0x3a7e57){return function(_0x362f48,_0x9d2342){var _0x1d95d3=_0x3c32;return new _0x455a19[(_0x1d95d3(0xd5))][(_0x1d95d3(0x245))](_0x3a7e57,_0x9d2342)['finalize'](_0x362f48);};}});var _0x455a19=_0x32536e[_0xd223ab(0x333)]={};return _0x32536e;}(Math);return _0x597334;}));}(Ge)),Ge[_0x1fa962(0xc3)];}var We={'exports':{}},cn=We[_0x4328bf(0xc3)],qt;function Ri(){var _0x1224e6=_0x4328bf;return qt||(qt=0x1,function(_0x25bd21,_0x98143b){(function(_0x20d89d,_0x1b02ce){_0x25bd21['exports']=_0x1b02ce(ie());}(cn,function(_0x39616b){var _0x2d48c2=_0x3c32;return(function(){var _0x1afb07=_0x3c32,_0x552153=_0x39616b,_0x42f117=_0x552153[_0x1afb07(0x15c)],_0x3df320=_0x42f117[_0x1afb07(0x186)],_0x335a23=_0x552153[_0x1afb07(0x1e0)];_0x335a23[_0x1afb07(0x15e)]={'stringify':function(_0x3e9cc9){var _0x1722b6=_0x1afb07,_0xe27e1d=_0x3e9cc9['words'],_0xb5df5f=_0x3e9cc9[_0x1722b6(0x1f8)],_0x5886b7=this[_0x1722b6(0xc1)];_0x3e9cc9[_0x1722b6(0xd4)]();for(var _0x488cd7=[],_0x177b6b=0x0;_0x177b6b<_0xb5df5f;_0x177b6b+=0x3)for(var _0x123879=_0xe27e1d[_0x177b6b>>>0x2]>>>0x18-_0x177b6b%0x4*0x8&0xff,_0x227a0c=_0xe27e1d[_0x177b6b+0x1>>>0x2]>>>0x18-(_0x177b6b+0x1)%0x4*0x8&0xff,_0x796fd2=_0xe27e1d[_0x177b6b+0x2>>>0x2]>>>0x18-(_0x177b6b+0x2)%0x4*0x8&0xff,_0x195c8c=_0x123879<<0x10|_0x227a0c<<0x8|_0x796fd2,_0x562701=0x0;_0x562701<0x4&&_0x177b6b+_0x562701*0.75<_0xb5df5f;_0x562701++)_0x488cd7[_0x1722b6(0x348)](_0x5886b7[_0x1722b6(0x2e4)](_0x195c8c>>>0x6*(0x3-_0x562701)&0x3f));var _0x4c8efc=_0x5886b7[_0x1722b6(0x2e4)](0x40);if(_0x4c8efc){for(;_0x488cd7['length']%0x4;)_0x488cd7[_0x1722b6(0x348)](_0x4c8efc);}return _0x488cd7[_0x1722b6(0x1b1)]('');},'parse':function(_0x4548e1){var _0x239ba5=_0x1afb07,_0x3cee8c=_0x4548e1[_0x239ba5(0x384)],_0x4033b8=this[_0x239ba5(0xc1)],_0x2a25dc=this[_0x239ba5(0x2b3)];if(!_0x2a25dc){_0x2a25dc=this[_0x239ba5(0x2b3)]=[];for(var _0x38dac1=0x0;_0x38dac1<_0x4033b8['length'];_0x38dac1++)_0x2a25dc[_0x4033b8[_0x239ba5(0x287)](_0x38dac1)]=_0x38dac1;}var _0x384056=_0x4033b8['charAt'](0x40);if(_0x384056){var _0x32ce18=_0x4548e1['indexOf'](_0x384056);_0x32ce18!==-0x1&&(_0x3cee8c=_0x32ce18);}return _0x2400f4(_0x4548e1,_0x3cee8c,_0x2a25dc);},'_map':_0x1afb07(0x366)};function _0x2400f4(_0x245148,_0x403384,_0x3463a7){var _0x5d8f4=_0x1afb07;for(var _0x39239a=[],_0x42a122=0x0,_0x4464c9=0x0;_0x4464c9<_0x403384;_0x4464c9++)if(_0x4464c9%0x4){var _0x49d7d9=_0x3463a7[_0x245148[_0x5d8f4(0x287)](_0x4464c9-0x1)]<<_0x4464c9%0x4*0x2,_0x2137e7=_0x3463a7[_0x245148[_0x5d8f4(0x287)](_0x4464c9)]>>>0x6-_0x4464c9%0x4*0x2,_0x2a9f6a=_0x49d7d9|_0x2137e7;_0x39239a[_0x42a122>>>0x2]|=_0x2a9f6a<<0x18-_0x42a122%0x4*0x8,_0x42a122++;}return _0x3df320['create'](_0x39239a,_0x42a122);}}()),_0x39616b[_0x2d48c2(0x1e0)][_0x2d48c2(0x15e)];}));}(We)),We[_0x1224e6(0xc3)];}var Ye={'exports':{}},_n=Ye['exports'],zt;function hn(){var _0x196e4f=_0x4328bf;return zt||(zt=0x1,function(_0x29b946,_0x4c8fe2){(function(_0x1ae0cd,_0x11e6e3){var _0x3d0fb0=_0x3c32;_0x29b946[_0x3d0fb0(0xc3)]=_0x11e6e3(ie());}(_n,function(_0x229eae){var _0x51cde5=_0x3c32;return function(_0x2e06db){var _0x206e2b=_0x3c32,_0xe2431f=_0x229eae,_0x5a841d=_0xe2431f[_0x206e2b(0x15c)],_0x5ef531=_0x5a841d[_0x206e2b(0x186)],_0x2bf73e=_0x5a841d[_0x206e2b(0x2bb)],_0x3e2b1d=_0xe2431f[_0x206e2b(0x333)],_0x11951e=[];(function(){var _0x4de5db=_0x206e2b;for(var _0x54beeb=0x0;_0x54beeb<0x40;_0x54beeb++)_0x11951e[_0x54beeb]=_0x2e06db['abs'](_0x2e06db[_0x4de5db(0x376)](_0x54beeb+0x1))*0x100000000|0x0;}());var _0x28dbf3=_0x3e2b1d[_0x206e2b(0x197)]=_0x2bf73e[_0x206e2b(0x39b)]({'_doReset':function(){var _0x22f55f=_0x206e2b;this['_hash']=new _0x5ef531[(_0x22f55f(0x245))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4c076a,_0x1cfc41){var _0x2465c2=_0x206e2b;for(var _0xd0bacd=0x0;_0xd0bacd<0x10;_0xd0bacd++){var _0x28292f=_0x1cfc41+_0xd0bacd,_0x40a6f5=_0x4c076a[_0x28292f];_0x4c076a[_0x28292f]=(_0x40a6f5<<0x8|_0x40a6f5>>>0x18)&0xff00ff|(_0x40a6f5<<0x18|_0x40a6f5>>>0x8)&0xff00ff00;}var _0x14ae6d=this[_0x2465c2(0x3cd)][_0x2465c2(0x26e)],_0x3538fc=_0x4c076a[_0x1cfc41+0x0],_0x3ecf50=_0x4c076a[_0x1cfc41+0x1],_0x485411=_0x4c076a[_0x1cfc41+0x2],_0x313d1b=_0x4c076a[_0x1cfc41+0x3],_0x2e3d58=_0x4c076a[_0x1cfc41+0x4],_0x19d707=_0x4c076a[_0x1cfc41+0x5],_0x1c11a4=_0x4c076a[_0x1cfc41+0x6],_0x12ec35=_0x4c076a[_0x1cfc41+0x7],_0x109a73=_0x4c076a[_0x1cfc41+0x8],_0x2c87d3=_0x4c076a[_0x1cfc41+0x9],_0x179550=_0x4c076a[_0x1cfc41+0xa],_0x5904cd=_0x4c076a[_0x1cfc41+0xb],_0x43b8c5=_0x4c076a[_0x1cfc41+0xc],_0x17e707=_0x4c076a[_0x1cfc41+0xd],_0x843445=_0x4c076a[_0x1cfc41+0xe],_0x12b1e9=_0x4c076a[_0x1cfc41+0xf],_0x10057c=_0x14ae6d[0x0],_0x2b223=_0x14ae6d[0x1],_0x56bb7d=_0x14ae6d[0x2],_0x493dda=_0x14ae6d[0x3];_0x10057c=_0x562689(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x3538fc,0x7,_0x11951e[0x0]),_0x493dda=_0x562689(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x3ecf50,0xc,_0x11951e[0x1]),_0x56bb7d=_0x562689(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x485411,0x11,_0x11951e[0x2]),_0x2b223=_0x562689(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x313d1b,0x16,_0x11951e[0x3]),_0x10057c=_0x562689(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x2e3d58,0x7,_0x11951e[0x4]),_0x493dda=_0x562689(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x19d707,0xc,_0x11951e[0x5]),_0x56bb7d=_0x562689(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x1c11a4,0x11,_0x11951e[0x6]),_0x2b223=_0x562689(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x12ec35,0x16,_0x11951e[0x7]),_0x10057c=_0x562689(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x109a73,0x7,_0x11951e[0x8]),_0x493dda=_0x562689(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x2c87d3,0xc,_0x11951e[0x9]),_0x56bb7d=_0x562689(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x179550,0x11,_0x11951e[0xa]),_0x2b223=_0x562689(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x5904cd,0x16,_0x11951e[0xb]),_0x10057c=_0x562689(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x43b8c5,0x7,_0x11951e[0xc]),_0x493dda=_0x562689(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x17e707,0xc,_0x11951e[0xd]),_0x56bb7d=_0x562689(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x843445,0x11,_0x11951e[0xe]),_0x2b223=_0x562689(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x12b1e9,0x16,_0x11951e[0xf]),_0x10057c=_0x12e093(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x3ecf50,0x5,_0x11951e[0x10]),_0x493dda=_0x12e093(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x1c11a4,0x9,_0x11951e[0x11]),_0x56bb7d=_0x12e093(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x5904cd,0xe,_0x11951e[0x12]),_0x2b223=_0x12e093(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x3538fc,0x14,_0x11951e[0x13]),_0x10057c=_0x12e093(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x19d707,0x5,_0x11951e[0x14]),_0x493dda=_0x12e093(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x179550,0x9,_0x11951e[0x15]),_0x56bb7d=_0x12e093(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x12b1e9,0xe,_0x11951e[0x16]),_0x2b223=_0x12e093(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x2e3d58,0x14,_0x11951e[0x17]),_0x10057c=_0x12e093(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x2c87d3,0x5,_0x11951e[0x18]),_0x493dda=_0x12e093(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x843445,0x9,_0x11951e[0x19]),_0x56bb7d=_0x12e093(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x313d1b,0xe,_0x11951e[0x1a]),_0x2b223=_0x12e093(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x109a73,0x14,_0x11951e[0x1b]),_0x10057c=_0x12e093(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x17e707,0x5,_0x11951e[0x1c]),_0x493dda=_0x12e093(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x485411,0x9,_0x11951e[0x1d]),_0x56bb7d=_0x12e093(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x12ec35,0xe,_0x11951e[0x1e]),_0x2b223=_0x12e093(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x43b8c5,0x14,_0x11951e[0x1f]),_0x10057c=_0x48db2b(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x19d707,0x4,_0x11951e[0x20]),_0x493dda=_0x48db2b(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x109a73,0xb,_0x11951e[0x21]),_0x56bb7d=_0x48db2b(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x5904cd,0x10,_0x11951e[0x22]),_0x2b223=_0x48db2b(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x843445,0x17,_0x11951e[0x23]),_0x10057c=_0x48db2b(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x3ecf50,0x4,_0x11951e[0x24]),_0x493dda=_0x48db2b(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x2e3d58,0xb,_0x11951e[0x25]),_0x56bb7d=_0x48db2b(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x12ec35,0x10,_0x11951e[0x26]),_0x2b223=_0x48db2b(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x179550,0x17,_0x11951e[0x27]),_0x10057c=_0x48db2b(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x17e707,0x4,_0x11951e[0x28]),_0x493dda=_0x48db2b(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x3538fc,0xb,_0x11951e[0x29]),_0x56bb7d=_0x48db2b(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x313d1b,0x10,_0x11951e[0x2a]),_0x2b223=_0x48db2b(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x1c11a4,0x17,_0x11951e[0x2b]),_0x10057c=_0x48db2b(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x2c87d3,0x4,_0x11951e[0x2c]),_0x493dda=_0x48db2b(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x43b8c5,0xb,_0x11951e[0x2d]),_0x56bb7d=_0x48db2b(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x12b1e9,0x10,_0x11951e[0x2e]),_0x2b223=_0x48db2b(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x485411,0x17,_0x11951e[0x2f]),_0x10057c=_0x5a00de(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x3538fc,0x6,_0x11951e[0x30]),_0x493dda=_0x5a00de(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x12ec35,0xa,_0x11951e[0x31]),_0x56bb7d=_0x5a00de(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x843445,0xf,_0x11951e[0x32]),_0x2b223=_0x5a00de(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x19d707,0x15,_0x11951e[0x33]),_0x10057c=_0x5a00de(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x43b8c5,0x6,_0x11951e[0x34]),_0x493dda=_0x5a00de(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x313d1b,0xa,_0x11951e[0x35]),_0x56bb7d=_0x5a00de(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x179550,0xf,_0x11951e[0x36]),_0x2b223=_0x5a00de(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x3ecf50,0x15,_0x11951e[0x37]),_0x10057c=_0x5a00de(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x109a73,0x6,_0x11951e[0x38]),_0x493dda=_0x5a00de(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x12b1e9,0xa,_0x11951e[0x39]),_0x56bb7d=_0x5a00de(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x1c11a4,0xf,_0x11951e[0x3a]),_0x2b223=_0x5a00de(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x17e707,0x15,_0x11951e[0x3b]),_0x10057c=_0x5a00de(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x2e3d58,0x6,_0x11951e[0x3c]),_0x493dda=_0x5a00de(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x5904cd,0xa,_0x11951e[0x3d]),_0x56bb7d=_0x5a00de(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x485411,0xf,_0x11951e[0x3e]),_0x2b223=_0x5a00de(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x2c87d3,0x15,_0x11951e[0x3f]),_0x14ae6d[0x0]=_0x14ae6d[0x0]+_0x10057c|0x0,_0x14ae6d[0x1]=_0x14ae6d[0x1]+_0x2b223|0x0,_0x14ae6d[0x2]=_0x14ae6d[0x2]+_0x56bb7d|0x0,_0x14ae6d[0x3]=_0x14ae6d[0x3]+_0x493dda|0x0;},'_doFinalize':function(){var _0x33268d=_0x206e2b,_0x56b7c4=this[_0x33268d(0x34f)],_0x33d110=_0x56b7c4[_0x33268d(0x26e)],_0x3e332c=this[_0x33268d(0xca)]*0x8,_0x45ef80=_0x56b7c4[_0x33268d(0x1f8)]*0x8;_0x33d110[_0x45ef80>>>0x5]|=0x80<<0x18-_0x45ef80%0x20;var _0x485c6d=_0x2e06db[_0x33268d(0x390)](_0x3e332c/0x100000000),_0x5ed800=_0x3e332c;_0x33d110[(_0x45ef80+0x40>>>0x9<<0x4)+0xf]=(_0x485c6d<<0x8|_0x485c6d>>>0x18)&0xff00ff|(_0x485c6d<<0x18|_0x485c6d>>>0x8)&0xff00ff00,_0x33d110[(_0x45ef80+0x40>>>0x9<<0x4)+0xe]=(_0x5ed800<<0x8|_0x5ed800>>>0x18)&0xff00ff|(_0x5ed800<<0x18|_0x5ed800>>>0x8)&0xff00ff00,_0x56b7c4[_0x33268d(0x1f8)]=(_0x33d110[_0x33268d(0x384)]+0x1)*0x4,this[_0x33268d(0xe7)]();for(var _0x442ec8=this['_hash'],_0x448f73=_0x442ec8['words'],_0x1af66e=0x0;_0x1af66e<0x4;_0x1af66e++){var _0x423786=_0x448f73[_0x1af66e];_0x448f73[_0x1af66e]=(_0x423786<<0x8|_0x423786>>>0x18)&0xff00ff|(_0x423786<<0x18|_0x423786>>>0x8)&0xff00ff00;}return _0x442ec8;},'clone':function(){var _0x3a9831=_0x206e2b,_0x3fe76c=_0x2bf73e['clone']['call'](this);return _0x3fe76c[_0x3a9831(0x3cd)]=this[_0x3a9831(0x3cd)][_0x3a9831(0x340)](),_0x3fe76c;}});function _0x562689(_0x485ae5,_0x2993f1,_0x243333,_0x58628f,_0x90126e,_0x4fde31,_0x43fb7b){var _0x176430=_0x485ae5+(_0x2993f1&_0x243333|~_0x2993f1&_0x58628f)+_0x90126e+_0x43fb7b;return(_0x176430<<_0x4fde31|_0x176430>>>0x20-_0x4fde31)+_0x2993f1;}function _0x12e093(_0x20e661,_0x7b3af,_0x58f07c,_0x13dbb3,_0x26f885,_0x6567f8,_0x1d0bb7){var _0xd0c6a5=_0x20e661+(_0x7b3af&_0x13dbb3|_0x58f07c&~_0x13dbb3)+_0x26f885+_0x1d0bb7;return(_0xd0c6a5<<_0x6567f8|_0xd0c6a5>>>0x20-_0x6567f8)+_0x7b3af;}function _0x48db2b(_0x2da0ec,_0x3e939c,_0x351267,_0x3f4229,_0x4040b2,_0xc6d098,_0x3ad884){var _0x280207=_0x2da0ec+(_0x3e939c^_0x351267^_0x3f4229)+_0x4040b2+_0x3ad884;return(_0x280207<<_0xc6d098|_0x280207>>>0x20-_0xc6d098)+_0x3e939c;}function _0x5a00de(_0xc98ba2,_0x18c772,_0x36d24d,_0x664f1,_0x137069,_0x2a63ac,_0x5c67ca){var _0x1cd619=_0xc98ba2+(_0x36d24d^(_0x18c772|~_0x664f1))+_0x137069+_0x5c67ca;return(_0x1cd619<<_0x2a63ac|_0x1cd619>>>0x20-_0x2a63ac)+_0x18c772;}_0xe2431f[_0x206e2b(0x197)]=_0x2bf73e[_0x206e2b(0xf1)](_0x28dbf3),_0xe2431f[_0x206e2b(0x241)]=_0x2bf73e[_0x206e2b(0x20b)](_0x28dbf3);}(Math),_0x229eae[_0x51cde5(0x197)];}));}(Ye)),Ye[_0x196e4f(0xc3)];}function _0x3c32(_0x13e433,_0x258020){var _0x50b6bc=_0x50b6();return _0x3c32=function(_0x3c3230,_0x49f430){_0x3c3230=_0x3c3230-0xb9;var _0x4eff2f=_0x50b6bc[_0x3c3230];return _0x4eff2f;},_0x3c32(_0x13e433,_0x258020);}var Ke={'exports':{}},qe={'exports':{}},ln=qe[_0x4328bf(0xc3)],Jt;function un(){return Jt||(Jt=0x1,function(_0x45696f,_0x3130b2){(function(_0xc203ff,_0x2f73d3){_0x45696f['exports']=_0x2f73d3(ie());}(ln,function(_0x1597c8){var _0x5c5cd8=_0x3c32;return(function(){var _0x53bc53=_0x3c32,_0x5a7eaf=_0x1597c8,_0x1e6a19=_0x5a7eaf[_0x53bc53(0x15c)],_0x40c1bd=_0x1e6a19[_0x53bc53(0x186)],_0x832eab=_0x1e6a19[_0x53bc53(0x2bb)],_0x414912=_0x5a7eaf[_0x53bc53(0x333)],_0x443f38=[],_0x26eeb8=_0x414912[_0x53bc53(0x18b)]=_0x832eab[_0x53bc53(0x39b)]({'_doReset':function(){var _0x2cd5a1=_0x53bc53;this[_0x2cd5a1(0x3cd)]=new _0x40c1bd['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4a78dc,_0x275b0c){var _0x3e0d3e=_0x53bc53;for(var _0x38460c=this[_0x3e0d3e(0x3cd)]['words'],_0x122f26=_0x38460c[0x0],_0x3e9494=_0x38460c[0x1],_0x401db9=_0x38460c[0x2],_0x4d6640=_0x38460c[0x3],_0x27545a=_0x38460c[0x4],_0x2fd2b8=0x0;_0x2fd2b8<0x50;_0x2fd2b8++){if(_0x2fd2b8<0x10)_0x443f38[_0x2fd2b8]=_0x4a78dc[_0x275b0c+_0x2fd2b8]|0x0;else{var _0x184803=_0x443f38[_0x2fd2b8-0x3]^_0x443f38[_0x2fd2b8-0x8]^_0x443f38[_0x2fd2b8-0xe]^_0x443f38[_0x2fd2b8-0x10];_0x443f38[_0x2fd2b8]=_0x184803<<0x1|_0x184803>>>0x1f;}var _0x187879=(_0x122f26<<0x5|_0x122f26>>>0x1b)+_0x27545a+_0x443f38[_0x2fd2b8];_0x2fd2b8<0x14?_0x187879+=(_0x3e9494&_0x401db9|~_0x3e9494&_0x4d6640)+0x5a827999:_0x2fd2b8<0x28?_0x187879+=(_0x3e9494^_0x401db9^_0x4d6640)+0x6ed9eba1:_0x2fd2b8<0x3c?_0x187879+=(_0x3e9494&_0x401db9|_0x3e9494&_0x4d6640|_0x401db9&_0x4d6640)-0x70e44324:_0x187879+=(_0x3e9494^_0x401db9^_0x4d6640)-0x359d3e2a,_0x27545a=_0x4d6640,_0x4d6640=_0x401db9,_0x401db9=_0x3e9494<<0x1e|_0x3e9494>>>0x2,_0x3e9494=_0x122f26,_0x122f26=_0x187879;}_0x38460c[0x0]=_0x38460c[0x0]+_0x122f26|0x0,_0x38460c[0x1]=_0x38460c[0x1]+_0x3e9494|0x0,_0x38460c[0x2]=_0x38460c[0x2]+_0x401db9|0x0,_0x38460c[0x3]=_0x38460c[0x3]+_0x4d6640|0x0,_0x38460c[0x4]=_0x38460c[0x4]+_0x27545a|0x0;},'_doFinalize':function(){var _0xc2232c=_0x53bc53,_0x3a8ff6=this[_0xc2232c(0x34f)],_0x48e6bd=_0x3a8ff6[_0xc2232c(0x26e)],_0x30561c=this[_0xc2232c(0xca)]*0x8,_0x4e573d=_0x3a8ff6[_0xc2232c(0x1f8)]*0x8;return _0x48e6bd[_0x4e573d>>>0x5]|=0x80<<0x18-_0x4e573d%0x20,_0x48e6bd[(_0x4e573d+0x40>>>0x9<<0x4)+0xe]=Math[_0xc2232c(0x390)](_0x30561c/0x100000000),_0x48e6bd[(_0x4e573d+0x40>>>0x9<<0x4)+0xf]=_0x30561c,_0x3a8ff6[_0xc2232c(0x1f8)]=_0x48e6bd['length']*0x4,this[_0xc2232c(0xe7)](),this['_hash'];},'clone':function(){var _0x15a9d6=_0x53bc53,_0x4401bd=_0x832eab[_0x15a9d6(0x340)][_0x15a9d6(0x34c)](this);return _0x4401bd['_hash']=this['_hash'][_0x15a9d6(0x340)](),_0x4401bd;}});_0x5a7eaf[_0x53bc53(0x18b)]=_0x832eab[_0x53bc53(0xf1)](_0x26eeb8),_0x5a7eaf[_0x53bc53(0x214)]=_0x832eab[_0x53bc53(0x20b)](_0x26eeb8);}()),_0x1597c8[_0x5c5cd8(0x18b)];}));}(qe)),qe['exports'];}var ze={'exports':{}},dn=ze[_0x4328bf(0xc3)],Xt;function fn(){var _0x2528ed=_0x4328bf;return Xt||(Xt=0x1,function(_0x113bda,_0x4caf54){(function(_0x46599,_0x42d188){var _0x39e0b1=_0x3c32;_0x113bda[_0x39e0b1(0xc3)]=_0x42d188(ie());}(dn,function(_0x239ac3){(function(){var _0x3a340d=_0x3c32,_0x14f395=_0x239ac3,_0x3a831a=_0x14f395[_0x3a340d(0x15c)],_0x419386=_0x3a831a[_0x3a340d(0x2af)],_0x422694=_0x14f395[_0x3a340d(0x1e0)],_0x144e18=_0x422694[_0x3a340d(0x304)],_0x2fc4df=_0x14f395[_0x3a340d(0x333)];_0x2fc4df['HMAC']=_0x419386[_0x3a340d(0x39b)]({'init':function(_0x5e0b47,_0x5abfcb){var _0x35a1a6=_0x3a340d;_0x5e0b47=this[_0x35a1a6(0x16d)]=new _0x5e0b47[(_0x35a1a6(0x245))](),typeof _0x5abfcb==_0x35a1a6(0x242)&&(_0x5abfcb=_0x144e18[_0x35a1a6(0x2c6)](_0x5abfcb));var _0x53997b=_0x5e0b47['blockSize'],_0x5beeed=_0x53997b*0x4;_0x5abfcb[_0x35a1a6(0x1f8)]>_0x5beeed&&(_0x5abfcb=_0x5e0b47['finalize'](_0x5abfcb)),_0x5abfcb[_0x35a1a6(0xd4)]();for(var _0xd108fa=this[_0x35a1a6(0x271)]=_0x5abfcb[_0x35a1a6(0x340)](),_0x1282aa=this['_iKey']=_0x5abfcb[_0x35a1a6(0x340)](),_0x4ce1bc=_0xd108fa['words'],_0x4accc7=_0x1282aa[_0x35a1a6(0x26e)],_0x46d93c=0x0;_0x46d93c<_0x53997b;_0x46d93c++)_0x4ce1bc[_0x46d93c]^=0x5c5c5c5c,_0x4accc7[_0x46d93c]^=0x36363636;_0xd108fa['sigBytes']=_0x1282aa['sigBytes']=_0x5beeed,this[_0x35a1a6(0x33c)]();},'reset':function(){var _0x581859=_0x3a340d,_0x35f5aa=this[_0x581859(0x16d)];_0x35f5aa['reset'](),_0x35f5aa[_0x581859(0x22a)](this[_0x581859(0x258)]);},'update':function(_0x47260c){var _0x30e9fb=_0x3a340d;return this[_0x30e9fb(0x16d)][_0x30e9fb(0x22a)](_0x47260c),this;},'finalize':function(_0x2f3c9e){var _0x7ad110=_0x3a340d,_0x1dc9e2=this[_0x7ad110(0x16d)],_0x3e7d0f=_0x1dc9e2[_0x7ad110(0x23f)](_0x2f3c9e);_0x1dc9e2[_0x7ad110(0x33c)]();var _0x4a61d7=_0x1dc9e2[_0x7ad110(0x23f)](this[_0x7ad110(0x271)]['clone']()[_0x7ad110(0x188)](_0x3e7d0f));return _0x4a61d7;}});}());}));}(ze)),ze[_0x2528ed(0xc3)];}var vn=Ke[_0x4328bf(0xc3)],Zt;function Ci(){var _0x1d8e06=_0x4328bf;return Zt||(Zt=0x1,function(_0xb6f6e0,_0x1c9b0c){(function(_0x3da98d,_0xe68006,_0x27f0c0){_0xb6f6e0['exports']=_0xe68006(ie(),un(),fn());}(vn,function(_0x47dc37){var _0x1e43ed=_0x3c32;return(function(){var _0x5eac93=_0x3c32,_0x34e414=_0x47dc37,_0x2cc3fd=_0x34e414[_0x5eac93(0x15c)],_0x34ea0a=_0x2cc3fd[_0x5eac93(0x2af)],_0x374551=_0x2cc3fd['WordArray'],_0x109c36=_0x34e414[_0x5eac93(0x333)],_0x2ebb42=_0x109c36['MD5'],_0x4ec04e=_0x109c36[_0x5eac93(0x313)]=_0x34ea0a[_0x5eac93(0x39b)]({'cfg':_0x34ea0a['extend']({'keySize':0x80/0x20,'hasher':_0x2ebb42,'iterations':0x1}),'init':function(_0x46d0d6){var _0x37dc83=_0x5eac93;this[_0x37dc83(0x11e)]=this[_0x37dc83(0x11e)][_0x37dc83(0x39b)](_0x46d0d6);},'compute':function(_0x2ce983,_0x2fbce0){var _0x2c381c=_0x5eac93;for(var _0x23f32d,_0x16f474=this['cfg'],_0x5f1712=_0x16f474['hasher']['create'](),_0xc75fce=_0x374551[_0x2c381c(0x1c5)](),_0x57e9c3=_0xc75fce['words'],_0xaf23f4=_0x16f474[_0x2c381c(0x125)],_0x1f73fa=_0x16f474[_0x2c381c(0xcf)];_0x57e9c3['length']<_0xaf23f4;){_0x23f32d&&_0x5f1712['update'](_0x23f32d),_0x23f32d=_0x5f1712['update'](_0x2ce983)[_0x2c381c(0x23f)](_0x2fbce0),_0x5f1712['reset']();for(var _0x55921a=0x1;_0x55921a<_0x1f73fa;_0x55921a++)_0x23f32d=_0x5f1712['finalize'](_0x23f32d),_0x5f1712[_0x2c381c(0x33c)]();_0xc75fce[_0x2c381c(0x188)](_0x23f32d);}return _0xc75fce[_0x2c381c(0x1f8)]=_0xaf23f4*0x4,_0xc75fce;}});_0x34e414[_0x5eac93(0x313)]=function(_0xc66835,_0x18630c,_0x5c8f77){var _0x2dfed9=_0x5eac93;return _0x4ec04e['create'](_0x5c8f77)[_0x2dfed9(0x234)](_0xc66835,_0x18630c);};}()),_0x47dc37[_0x1e43ed(0x313)];}));}(Ke)),Ke[_0x1d8e06(0xc3)];}var Je={'exports':{}},pn=Je[_0x4328bf(0xc3)],Qt;function Ni(){var _0x3279a8=_0x4328bf;return Qt||(Qt=0x1,function(_0x220b9e,_0x392880){(function(_0x541d76,_0x45be86,_0x264417){var _0x555d4d=_0x3c32;_0x220b9e[_0x555d4d(0xc3)]=_0x45be86(ie(),Ci());}(pn,function(_0x4e998d){_0x4e998d['lib']['Cipher']||function(_0x57591a){var _0x3bf438=_0x3c32,_0x4a2633=_0x4e998d,_0x139b80=_0x4a2633[_0x3bf438(0x15c)],_0x1f1ecc=_0x139b80[_0x3bf438(0x2af)],_0x44c0ea=_0x139b80[_0x3bf438(0x186)],_0x504e1a=_0x139b80[_0x3bf438(0x375)],_0x3a8c72=_0x4a2633['enc'];_0x3a8c72[_0x3bf438(0x304)];var _0x4449bc=_0x3a8c72[_0x3bf438(0x15e)],_0x32a754=_0x4a2633['algo'],_0x47691f=_0x32a754[_0x3bf438(0x313)],_0x162ca2=_0x139b80['Cipher']=_0x504e1a[_0x3bf438(0x39b)]({'cfg':_0x1f1ecc[_0x3bf438(0x39b)](),'createEncryptor':function(_0x446f97,_0x4cbf48){var _0xa9a01f=_0x3bf438;return this['create'](this[_0xa9a01f(0x158)],_0x446f97,_0x4cbf48);},'createDecryptor':function(_0x90bcf8,_0x5f3ffe){var _0x31c8a0=_0x3bf438;return this[_0x31c8a0(0x1c5)](this[_0x31c8a0(0x2f4)],_0x90bcf8,_0x5f3ffe);},'init':function(_0x1854d0,_0x586c07,_0xbb941b){var _0x382518=_0x3bf438;this[_0x382518(0x11e)]=this[_0x382518(0x11e)][_0x382518(0x39b)](_0xbb941b),this[_0x382518(0x363)]=_0x1854d0,this[_0x382518(0x23d)]=_0x586c07,this['reset']();},'reset':function(){var _0xfcbe02=_0x3bf438;_0x504e1a[_0xfcbe02(0x33c)][_0xfcbe02(0x34c)](this),this['_doReset']();},'process':function(_0x633b7c){var _0x5dc2b0=_0x3bf438;return this[_0x5dc2b0(0x286)](_0x633b7c),this[_0x5dc2b0(0xe7)]();},'finalize':function(_0xc6068f){var _0x3e6760=_0x3bf438;_0xc6068f&&this[_0x3e6760(0x286)](_0xc6068f);var _0x13e448=this[_0x3e6760(0x16c)]();return _0x13e448;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x394682(_0x4e4bc2){var _0x1b5966=_0x3c32;return typeof _0x4e4bc2==_0x1b5966(0x242)?_0x3e2266:_0x1d6c0a;}return function(_0x135259){return{'encrypt':function(_0x10d78c,_0x49c4dd,_0x7db7f9){var _0x3f8537=_0x3c32;return _0x394682(_0x49c4dd)[_0x3f8537(0x156)](_0x135259,_0x10d78c,_0x49c4dd,_0x7db7f9);},'decrypt':function(_0x4af4a3,_0x518343,_0x3ae192){return _0x394682(_0x518343)['decrypt'](_0x135259,_0x4af4a3,_0x518343,_0x3ae192);}};};}())});_0x139b80['StreamCipher']=_0x162ca2[_0x3bf438(0x39b)]({'_doFinalize':function(){var _0x1787ad=_0x3bf438,_0x2fd509=this[_0x1787ad(0xe7)](!0x0);return _0x2fd509;},'blockSize':0x1});var _0x5bf2fe=_0x4a2633['mode']={},_0x32cbfa=_0x139b80[_0x3bf438(0x246)]=_0x1f1ecc[_0x3bf438(0x39b)]({'createEncryptor':function(_0x2a006f,_0x5a39d8){var _0x3d9248=_0x3bf438;return this[_0x3d9248(0x1da)][_0x3d9248(0x1c5)](_0x2a006f,_0x5a39d8);},'createDecryptor':function(_0x4b88b0,_0x3979fc){return this['Decryptor']['create'](_0x4b88b0,_0x3979fc);},'init':function(_0x25eeaf,_0x261da1){var _0x15e5ee=_0x3bf438;this[_0x15e5ee(0x204)]=_0x25eeaf,this[_0x15e5ee(0x330)]=_0x261da1;}}),_0x38a982=_0x5bf2fe['CBC']=(function(){var _0x441382=_0x3bf438,_0x2d68bb=_0x32cbfa['extend']();_0x2d68bb[_0x441382(0x1da)]=_0x2d68bb[_0x441382(0x39b)]({'processBlock':function(_0x338adc,_0x4c6336){var _0x144db3=_0x441382,_0xcd41b8=this[_0x144db3(0x204)],_0x132816=_0xcd41b8[_0x144db3(0x146)];_0xa3741d[_0x144db3(0x34c)](this,_0x338adc,_0x4c6336,_0x132816),_0xcd41b8[_0x144db3(0x23c)](_0x338adc,_0x4c6336),this[_0x144db3(0x2d5)]=_0x338adc[_0x144db3(0x397)](_0x4c6336,_0x4c6336+_0x132816);}}),_0x2d68bb[_0x441382(0x269)]=_0x2d68bb['extend']({'processBlock':function(_0x48a601,_0x117c36){var _0x21c415=_0x441382,_0x21eef1=this[_0x21c415(0x204)],_0xf04177=_0x21eef1['blockSize'],_0x2767e2=_0x48a601['slice'](_0x117c36,_0x117c36+_0xf04177);_0x21eef1[_0x21c415(0x1f7)](_0x48a601,_0x117c36),_0xa3741d[_0x21c415(0x34c)](this,_0x48a601,_0x117c36,_0xf04177),this[_0x21c415(0x2d5)]=_0x2767e2;}});function _0xa3741d(_0x53474f,_0xda3895,_0x40c1d3){var _0x20022e=_0x441382,_0x18dfa6,_0x4e811b=this[_0x20022e(0x330)];_0x4e811b?(_0x18dfa6=_0x4e811b,this[_0x20022e(0x330)]=_0x57591a):_0x18dfa6=this[_0x20022e(0x2d5)];for(var _0xdb94b3=0x0;_0xdb94b3<_0x40c1d3;_0xdb94b3++)_0x53474f[_0xda3895+_0xdb94b3]^=_0x18dfa6[_0xdb94b3];}return _0x2d68bb;}()),_0x53e9bc=_0x4a2633[_0x3bf438(0x2b8)]={},_0x4e8c69=_0x53e9bc[_0x3bf438(0x310)]={'pad':function(_0x2d2f84,_0x268086){var _0x599a69=_0x3bf438;for(var _0x2a1928=_0x268086*0x4,_0x111b4b=_0x2a1928-_0x2d2f84[_0x599a69(0x1f8)]%_0x2a1928,_0x1a53a0=_0x111b4b<<0x18|_0x111b4b<<0x10|_0x111b4b<<0x8|_0x111b4b,_0x30ae4e=[],_0x202455=0x0;_0x202455<_0x111b4b;_0x202455+=0x4)_0x30ae4e[_0x599a69(0x348)](_0x1a53a0);var _0x2de4f9=_0x44c0ea[_0x599a69(0x1c5)](_0x30ae4e,_0x111b4b);_0x2d2f84[_0x599a69(0x188)](_0x2de4f9);},'unpad':function(_0x29127f){var _0x5c1b9d=_0x3bf438,_0x7579e8=_0x29127f['words'][_0x29127f[_0x5c1b9d(0x1f8)]-0x1>>>0x2]&0xff;_0x29127f['sigBytes']-=_0x7579e8;}};_0x139b80['BlockCipher']=_0x162ca2[_0x3bf438(0x39b)]({'cfg':_0x162ca2[_0x3bf438(0x11e)][_0x3bf438(0x39b)]({'mode':_0x38a982,'padding':_0x4e8c69}),'reset':function(){var _0x15f2ab=_0x3bf438,_0xf526bb;_0x162ca2[_0x15f2ab(0x33c)][_0x15f2ab(0x34c)](this);var _0x50add1=this[_0x15f2ab(0x11e)],_0x4e03e7=_0x50add1['iv'],_0x33b50d=_0x50add1[_0x15f2ab(0x231)];this[_0x15f2ab(0x363)]==this[_0x15f2ab(0x158)]?_0xf526bb=_0x33b50d[_0x15f2ab(0x163)]:(_0xf526bb=_0x33b50d[_0x15f2ab(0x22f)],this[_0x15f2ab(0x195)]=0x1),this[_0x15f2ab(0x3c2)]&&this[_0x15f2ab(0x3c2)][_0x15f2ab(0x2ea)]==_0xf526bb?this[_0x15f2ab(0x3c2)][_0x15f2ab(0x245)](this,_0x4e03e7&&_0x4e03e7[_0x15f2ab(0x26e)]):(this[_0x15f2ab(0x3c2)]=_0xf526bb[_0x15f2ab(0x34c)](_0x33b50d,this,_0x4e03e7&&_0x4e03e7[_0x15f2ab(0x26e)]),this[_0x15f2ab(0x3c2)][_0x15f2ab(0x2ea)]=_0xf526bb);},'_doProcessBlock':function(_0x3c9c1f,_0x20267d){var _0x10f526=_0x3bf438;this['_mode'][_0x10f526(0x2ca)](_0x3c9c1f,_0x20267d);},'_doFinalize':function(){var _0x4f56bd=_0x3bf438,_0x12d6aa,_0x26e379=this['cfg'][_0x4f56bd(0x343)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x26e379[_0x4f56bd(0x2b8)](this[_0x4f56bd(0x34f)],this[_0x4f56bd(0x146)]),_0x12d6aa=this['_process'](!0x0)):(_0x12d6aa=this[_0x4f56bd(0xe7)](!0x0),_0x26e379[_0x4f56bd(0x275)](_0x12d6aa)),_0x12d6aa;},'blockSize':0x80/0x20});var _0x17858a=_0x139b80[_0x3bf438(0x170)]=_0x1f1ecc[_0x3bf438(0x39b)]({'init':function(_0x462898){var _0x382632=_0x3bf438;this[_0x382632(0x3d3)](_0x462898);},'toString':function(_0x355965){var _0x4ac602=_0x3bf438;return(_0x355965||this[_0x4ac602(0x18c)])[_0x4ac602(0xe2)](this);}}),_0x10d021=_0x4a2633[_0x3bf438(0x1e8)]={},_0x1ea270=_0x10d021[_0x3bf438(0x14f)]={'stringify':function(_0x38e361){var _0x1ae008=_0x3bf438,_0x3b4add,_0x3c846a=_0x38e361[_0x1ae008(0x365)],_0x1c044d=_0x38e361[_0x1ae008(0x14b)];return _0x1c044d?_0x3b4add=_0x44c0ea['create']([0x53616c74,0x65645f5f])[_0x1ae008(0x188)](_0x1c044d)['concat'](_0x3c846a):_0x3b4add=_0x3c846a,_0x3b4add[_0x1ae008(0xbe)](_0x4449bc);},'parse':function(_0x10a8b4){var _0x5dc1dd=_0x3bf438,_0x102bf3,_0xdb67d1=_0x4449bc[_0x5dc1dd(0x2c6)](_0x10a8b4),_0x551c21=_0xdb67d1[_0x5dc1dd(0x26e)];return _0x551c21[0x0]==0x53616c74&&_0x551c21[0x1]==0x65645f5f&&(_0x102bf3=_0x44c0ea[_0x5dc1dd(0x1c5)](_0x551c21[_0x5dc1dd(0x397)](0x2,0x4)),_0x551c21[_0x5dc1dd(0x2c1)](0x0,0x4),_0xdb67d1[_0x5dc1dd(0x1f8)]-=0x10),_0x17858a[_0x5dc1dd(0x1c5)]({'ciphertext':_0xdb67d1,'salt':_0x102bf3});}},_0x1d6c0a=_0x139b80[_0x3bf438(0x25e)]=_0x1f1ecc['extend']({'cfg':_0x1f1ecc[_0x3bf438(0x39b)]({'format':_0x1ea270}),'encrypt':function(_0x4faee3,_0x2bc329,_0x1379eb,_0x22e8fc){var _0x4c1a05=_0x3bf438;_0x22e8fc=this[_0x4c1a05(0x11e)][_0x4c1a05(0x39b)](_0x22e8fc);var _0x1694c8=_0x4faee3[_0x4c1a05(0x163)](_0x1379eb,_0x22e8fc),_0x12ec03=_0x1694c8[_0x4c1a05(0x23f)](_0x2bc329),_0x597aeb=_0x1694c8[_0x4c1a05(0x11e)];return _0x17858a[_0x4c1a05(0x1c5)]({'ciphertext':_0x12ec03,'key':_0x1379eb,'iv':_0x597aeb['iv'],'algorithm':_0x4faee3,'mode':_0x597aeb[_0x4c1a05(0x231)],'padding':_0x597aeb[_0x4c1a05(0x343)],'blockSize':_0x4faee3['blockSize'],'formatter':_0x22e8fc[_0x4c1a05(0x1e8)]});},'decrypt':function(_0x172806,_0x26935d,_0x4f434d,_0x2de488){var _0x15daca=_0x3bf438;_0x2de488=this[_0x15daca(0x11e)][_0x15daca(0x39b)](_0x2de488),_0x26935d=this[_0x15daca(0x1d0)](_0x26935d,_0x2de488[_0x15daca(0x1e8)]);var _0x2a2b6d=_0x172806[_0x15daca(0x22f)](_0x4f434d,_0x2de488)[_0x15daca(0x23f)](_0x26935d['ciphertext']);return _0x2a2b6d;},'_parse':function(_0x8fa2dc,_0x33c590){return typeof _0x8fa2dc=='string'?_0x33c590['parse'](_0x8fa2dc,this):_0x8fa2dc;}}),_0x3a0e32=_0x4a2633[_0x3bf438(0x176)]={},_0x366b7b=_0x3a0e32[_0x3bf438(0x14f)]={'execute':function(_0x5e44e5,_0x22558d,_0x538e7f,_0x298072,_0x413393){var _0x549b0a=_0x3bf438;if(_0x298072||(_0x298072=_0x44c0ea[_0x549b0a(0x21a)](0x40/0x8)),_0x413393)var _0x251201=_0x47691f[_0x549b0a(0x1c5)]({'keySize':_0x22558d+_0x538e7f,'hasher':_0x413393})['compute'](_0x5e44e5,_0x298072);else var _0x251201=_0x47691f['create']({'keySize':_0x22558d+_0x538e7f})[_0x549b0a(0x234)](_0x5e44e5,_0x298072);var _0x43e33f=_0x44c0ea[_0x549b0a(0x1c5)](_0x251201['words'][_0x549b0a(0x397)](_0x22558d),_0x538e7f*0x4);return _0x251201[_0x549b0a(0x1f8)]=_0x22558d*0x4,_0x17858a[_0x549b0a(0x1c5)]({'key':_0x251201,'iv':_0x43e33f,'salt':_0x298072});}},_0x3e2266=_0x139b80[_0x3bf438(0x2d7)]=_0x1d6c0a[_0x3bf438(0x39b)]({'cfg':_0x1d6c0a['cfg'][_0x3bf438(0x39b)]({'kdf':_0x366b7b}),'encrypt':function(_0x5bd34c,_0x1d0efb,_0x253712,_0x3378d7){var _0x65976d=_0x3bf438;_0x3378d7=this[_0x65976d(0x11e)]['extend'](_0x3378d7);var _0x3ebef4=_0x3378d7['kdf'][_0x65976d(0x116)](_0x253712,_0x5bd34c[_0x65976d(0x125)],_0x5bd34c[_0x65976d(0x294)],_0x3378d7[_0x65976d(0x14b)],_0x3378d7[_0x65976d(0x3b4)]);_0x3378d7['iv']=_0x3ebef4['iv'];var _0x144b89=_0x1d6c0a['encrypt'][_0x65976d(0x34c)](this,_0x5bd34c,_0x1d0efb,_0x3ebef4[_0x65976d(0x2ec)],_0x3378d7);return _0x144b89[_0x65976d(0x3d3)](_0x3ebef4),_0x144b89;},'decrypt':function(_0x2c45b9,_0xc3337c,_0x573260,_0x2bbbb3){var _0x37847f=_0x3bf438;_0x2bbbb3=this['cfg'][_0x37847f(0x39b)](_0x2bbbb3),_0xc3337c=this[_0x37847f(0x1d0)](_0xc3337c,_0x2bbbb3[_0x37847f(0x1e8)]);var _0x2d6470=_0x2bbbb3['kdf'][_0x37847f(0x116)](_0x573260,_0x2c45b9['keySize'],_0x2c45b9[_0x37847f(0x294)],_0xc3337c[_0x37847f(0x14b)],_0x2bbbb3['hasher']);_0x2bbbb3['iv']=_0x2d6470['iv'];var _0x2a94f4=_0x1d6c0a['decrypt'][_0x37847f(0x34c)](this,_0x2c45b9,_0xc3337c,_0x2d6470[_0x37847f(0x2ec)],_0x2bbbb3);return _0x2a94f4;}});}();}));}(Je)),Je[_0x3279a8(0xc3)];}var En=Ve['exports'],ei;function mn(){return ei||(ei=0x1,function(_0x41f5d3,_0x500349){(function(_0x17e0f0,_0x5a9cc3,_0x56ed5f){var _0x5bba20=_0x3c32;_0x41f5d3[_0x5bba20(0xc3)]=_0x5a9cc3(ie(),Ri(),hn(),Ci(),Ni());}(En,function(_0x39b896){var _0x3e633a=_0x3c32;return(function(){var _0x1a4c42=_0x3c32,_0x4a0c7b=_0x39b896,_0x57a95c=_0x4a0c7b[_0x1a4c42(0x15c)],_0x10f3bb=_0x57a95c[_0x1a4c42(0x128)],_0x410578=_0x4a0c7b[_0x1a4c42(0x333)],_0x281f1f=[],_0x12d6e9=[],_0x18dad1=[],_0x1b951e=[],_0x28e89b=[],_0x2f34c9=[],_0x306c86=[],_0xb84bca=[],_0x3f1545=[],_0x3a6e10=[];(function(){for(var _0xb317d7=[],_0x4014ee=0x0;_0x4014ee<0x100;_0x4014ee++)_0x4014ee<0x80?_0xb317d7[_0x4014ee]=_0x4014ee<<0x1:_0xb317d7[_0x4014ee]=_0x4014ee<<0x1^0x11b;for(var _0x528645=0x0,_0x21f14a=0x0,_0x4014ee=0x0;_0x4014ee<0x100;_0x4014ee++){var _0x18c2fd=_0x21f14a^_0x21f14a<<0x1^_0x21f14a<<0x2^_0x21f14a<<0x3^_0x21f14a<<0x4;_0x18c2fd=_0x18c2fd>>>0x8^_0x18c2fd&0xff^0x63,_0x281f1f[_0x528645]=_0x18c2fd,_0x12d6e9[_0x18c2fd]=_0x528645;var _0x12ea39=_0xb317d7[_0x528645],_0x33c587=_0xb317d7[_0x12ea39],_0x209c78=_0xb317d7[_0x33c587],_0x38c53c=_0xb317d7[_0x18c2fd]*0x101^_0x18c2fd*0x1010100;_0x18dad1[_0x528645]=_0x38c53c<<0x18|_0x38c53c>>>0x8,_0x1b951e[_0x528645]=_0x38c53c<<0x10|_0x38c53c>>>0x10,_0x28e89b[_0x528645]=_0x38c53c<<0x8|_0x38c53c>>>0x18,_0x2f34c9[_0x528645]=_0x38c53c;var _0x38c53c=_0x209c78*0x1010101^_0x33c587*0x10001^_0x12ea39*0x101^_0x528645*0x1010100;_0x306c86[_0x18c2fd]=_0x38c53c<<0x18|_0x38c53c>>>0x8,_0xb84bca[_0x18c2fd]=_0x38c53c<<0x10|_0x38c53c>>>0x10,_0x3f1545[_0x18c2fd]=_0x38c53c<<0x8|_0x38c53c>>>0x18,_0x3a6e10[_0x18c2fd]=_0x38c53c,_0x528645?(_0x528645=_0x12ea39^_0xb317d7[_0xb317d7[_0xb317d7[_0x209c78^_0x12ea39]]],_0x21f14a^=_0xb317d7[_0xb317d7[_0x21f14a]]):_0x528645=_0x21f14a=0x1;}}());var _0xcdb2ec=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3e5061=_0x410578[_0x1a4c42(0x37f)]=_0x10f3bb[_0x1a4c42(0x39b)]({'_doReset':function(){var _0x350e76=_0x1a4c42,_0x245c94;if(!(this[_0x350e76(0x1c2)]&&this['_keyPriorReset']===this[_0x350e76(0x23d)])){for(var _0x34d912=this[_0x350e76(0x1b2)]=this['_key'],_0x92c053=_0x34d912[_0x350e76(0x26e)],_0x3d3d3f=_0x34d912[_0x350e76(0x1f8)]/0x4,_0x5d5f05=this[_0x350e76(0x1c2)]=_0x3d3d3f+0x6,_0x1020ee=(_0x5d5f05+0x1)*0x4,_0x5d7ac4=this[_0x350e76(0x289)]=[],_0x26494d=0x0;_0x26494d<_0x1020ee;_0x26494d++)_0x26494d<_0x3d3d3f?_0x5d7ac4[_0x26494d]=_0x92c053[_0x26494d]:(_0x245c94=_0x5d7ac4[_0x26494d-0x1],_0x26494d%_0x3d3d3f?_0x3d3d3f>0x6&&_0x26494d%_0x3d3d3f==0x4&&(_0x245c94=_0x281f1f[_0x245c94>>>0x18]<<0x18|_0x281f1f[_0x245c94>>>0x10&0xff]<<0x10|_0x281f1f[_0x245c94>>>0x8&0xff]<<0x8|_0x281f1f[_0x245c94&0xff]):(_0x245c94=_0x245c94<<0x8|_0x245c94>>>0x18,_0x245c94=_0x281f1f[_0x245c94>>>0x18]<<0x18|_0x281f1f[_0x245c94>>>0x10&0xff]<<0x10|_0x281f1f[_0x245c94>>>0x8&0xff]<<0x8|_0x281f1f[_0x245c94&0xff],_0x245c94^=_0xcdb2ec[_0x26494d/_0x3d3d3f|0x0]<<0x18),_0x5d7ac4[_0x26494d]=_0x5d7ac4[_0x26494d-_0x3d3d3f]^_0x245c94);for(var _0x838ee0=this[_0x350e76(0x1bd)]=[],_0x3e2cd3=0x0;_0x3e2cd3<_0x1020ee;_0x3e2cd3++){var _0x26494d=_0x1020ee-_0x3e2cd3;if(_0x3e2cd3%0x4)var _0x245c94=_0x5d7ac4[_0x26494d];else var _0x245c94=_0x5d7ac4[_0x26494d-0x4];_0x3e2cd3<0x4||_0x26494d<=0x4?_0x838ee0[_0x3e2cd3]=_0x245c94:_0x838ee0[_0x3e2cd3]=_0x306c86[_0x281f1f[_0x245c94>>>0x18]]^_0xb84bca[_0x281f1f[_0x245c94>>>0x10&0xff]]^_0x3f1545[_0x281f1f[_0x245c94>>>0x8&0xff]]^_0x3a6e10[_0x281f1f[_0x245c94&0xff]];}}},'encryptBlock':function(_0x5a9242,_0x21ec5b){var _0x3345f9=_0x1a4c42;this['_doCryptBlock'](_0x5a9242,_0x21ec5b,this[_0x3345f9(0x289)],_0x18dad1,_0x1b951e,_0x28e89b,_0x2f34c9,_0x281f1f);},'decryptBlock':function(_0x8a4774,_0x266eb2){var _0x4af01b=_0x1a4c42,_0x53a3c6=_0x8a4774[_0x266eb2+0x1];_0x8a4774[_0x266eb2+0x1]=_0x8a4774[_0x266eb2+0x3],_0x8a4774[_0x266eb2+0x3]=_0x53a3c6,this[_0x4af01b(0x1e1)](_0x8a4774,_0x266eb2,this['_invKeySchedule'],_0x306c86,_0xb84bca,_0x3f1545,_0x3a6e10,_0x12d6e9);var _0x53a3c6=_0x8a4774[_0x266eb2+0x1];_0x8a4774[_0x266eb2+0x1]=_0x8a4774[_0x266eb2+0x3],_0x8a4774[_0x266eb2+0x3]=_0x53a3c6;},'_doCryptBlock':function(_0x80fb44,_0x518230,_0x218cc3,_0xa6a870,_0x58fa42,_0xdd5e5,_0x51b9e3,_0x75f221){var _0x269d15=_0x1a4c42;for(var _0x2cb5b4=this[_0x269d15(0x1c2)],_0x46517b=_0x80fb44[_0x518230]^_0x218cc3[0x0],_0x5f4198=_0x80fb44[_0x518230+0x1]^_0x218cc3[0x1],_0x451dd1=_0x80fb44[_0x518230+0x2]^_0x218cc3[0x2],_0x16c89f=_0x80fb44[_0x518230+0x3]^_0x218cc3[0x3],_0x309b08=0x4,_0x1ff6b5=0x1;_0x1ff6b5<_0x2cb5b4;_0x1ff6b5++){var _0xbe45b2=_0xa6a870[_0x46517b>>>0x18]^_0x58fa42[_0x5f4198>>>0x10&0xff]^_0xdd5e5[_0x451dd1>>>0x8&0xff]^_0x51b9e3[_0x16c89f&0xff]^_0x218cc3[_0x309b08++],_0x2bd914=_0xa6a870[_0x5f4198>>>0x18]^_0x58fa42[_0x451dd1>>>0x10&0xff]^_0xdd5e5[_0x16c89f>>>0x8&0xff]^_0x51b9e3[_0x46517b&0xff]^_0x218cc3[_0x309b08++],_0x45c123=_0xa6a870[_0x451dd1>>>0x18]^_0x58fa42[_0x16c89f>>>0x10&0xff]^_0xdd5e5[_0x46517b>>>0x8&0xff]^_0x51b9e3[_0x5f4198&0xff]^_0x218cc3[_0x309b08++],_0x3bda2c=_0xa6a870[_0x16c89f>>>0x18]^_0x58fa42[_0x46517b>>>0x10&0xff]^_0xdd5e5[_0x5f4198>>>0x8&0xff]^_0x51b9e3[_0x451dd1&0xff]^_0x218cc3[_0x309b08++];_0x46517b=_0xbe45b2,_0x5f4198=_0x2bd914,_0x451dd1=_0x45c123,_0x16c89f=_0x3bda2c;}var _0xbe45b2=(_0x75f221[_0x46517b>>>0x18]<<0x18|_0x75f221[_0x5f4198>>>0x10&0xff]<<0x10|_0x75f221[_0x451dd1>>>0x8&0xff]<<0x8|_0x75f221[_0x16c89f&0xff])^_0x218cc3[_0x309b08++],_0x2bd914=(_0x75f221[_0x5f4198>>>0x18]<<0x18|_0x75f221[_0x451dd1>>>0x10&0xff]<<0x10|_0x75f221[_0x16c89f>>>0x8&0xff]<<0x8|_0x75f221[_0x46517b&0xff])^_0x218cc3[_0x309b08++],_0x45c123=(_0x75f221[_0x451dd1>>>0x18]<<0x18|_0x75f221[_0x16c89f>>>0x10&0xff]<<0x10|_0x75f221[_0x46517b>>>0x8&0xff]<<0x8|_0x75f221[_0x5f4198&0xff])^_0x218cc3[_0x309b08++],_0x3bda2c=(_0x75f221[_0x16c89f>>>0x18]<<0x18|_0x75f221[_0x46517b>>>0x10&0xff]<<0x10|_0x75f221[_0x5f4198>>>0x8&0xff]<<0x8|_0x75f221[_0x451dd1&0xff])^_0x218cc3[_0x309b08++];_0x80fb44[_0x518230]=_0xbe45b2,_0x80fb44[_0x518230+0x1]=_0x2bd914,_0x80fb44[_0x518230+0x2]=_0x45c123,_0x80fb44[_0x518230+0x3]=_0x3bda2c;},'keySize':0x100/0x20});_0x4a0c7b[_0x1a4c42(0x37f)]=_0x10f3bb[_0x1a4c42(0xf1)](_0x3e5061);}()),_0x39b896[_0x3e633a(0x37f)];}));}(Ve)),Ve['exports'];}var In=mn();const Sn=$e(In);var gn=Ri();const ti=$e(gn);var Xe={'exports':{}},Tn=Xe[_0x4328bf(0xc3)],ii;function On(){return ii||(ii=0x1,function(_0x3e12ca,_0x5276e2){(function(_0x597793,_0x40b965){var _0x5a793d=_0x3c32;_0x3e12ca[_0x5a793d(0xc3)]=_0x40b965(ie());}(Tn,function(_0x2f7e3f){var _0x138b8e=_0x3c32;return _0x2f7e3f[_0x138b8e(0x1e0)][_0x138b8e(0x304)];}));}(Xe)),Xe['exports'];}var Rn=On();const Cn=$e(Rn);var Ze={'exports':{}},Nn=Ze[_0x4328bf(0xc3)],si;function bn(){var _0x3be939=_0x4328bf;return si||(si=0x1,function(_0x5d9073,_0x2b9b30){(function(_0x3ee6e5,_0x1eabf3){var _0x5d8ab9=_0x3c32;_0x5d9073[_0x5d8ab9(0xc3)]=_0x1eabf3(ie());}(Nn,function(_0x1b4311){var _0x28ef18=_0x3c32;return(function(){var _0x7c8661=_0x3c32;if(typeof ArrayBuffer==_0x7c8661(0x277)){var _0x1bebd3=_0x1b4311,_0x147e4d=_0x1bebd3[_0x7c8661(0x15c)],_0x1c8236=_0x147e4d[_0x7c8661(0x186)],_0x2672ae=_0x1c8236['init'],_0xe98576=_0x1c8236[_0x7c8661(0x245)]=function(_0x55e8d8){var _0x3a8a73=_0x7c8661;if(_0x55e8d8 instanceof ArrayBuffer&&(_0x55e8d8=new Uint8Array(_0x55e8d8)),(_0x55e8d8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x55e8d8 instanceof Uint8ClampedArray||_0x55e8d8 instanceof Int16Array||_0x55e8d8 instanceof Uint16Array||_0x55e8d8 instanceof Int32Array||_0x55e8d8 instanceof Uint32Array||_0x55e8d8 instanceof Float32Array||_0x55e8d8 instanceof Float64Array)&&(_0x55e8d8=new Uint8Array(_0x55e8d8[_0x3a8a73(0x328)],_0x55e8d8['byteOffset'],_0x55e8d8['byteLength'])),_0x55e8d8 instanceof Uint8Array){for(var _0x5d24b1=_0x55e8d8['byteLength'],_0x141fe5=[],_0x15a66f=0x0;_0x15a66f<_0x5d24b1;_0x15a66f++)_0x141fe5[_0x15a66f>>>0x2]|=_0x55e8d8[_0x15a66f]<<0x18-_0x15a66f%0x4*0x8;_0x2672ae[_0x3a8a73(0x34c)](this,_0x141fe5,_0x5d24b1);}else _0x2672ae['apply'](this,arguments);};_0xe98576[_0x7c8661(0x150)]=_0x1c8236;}}()),_0x1b4311[_0x28ef18(0x15c)][_0x28ef18(0x186)];}));}(Ze)),Ze[_0x3be939(0xc3)];}var Dn=bn();const yn=$e(Dn);var Qe={'exports':{}},Un=Qe[_0x4328bf(0xc3)],ni;function An(){var _0x46c242=_0x4328bf;return ni||(ni=0x1,function(_0x4063ca,_0x3c6641){(function(_0x2beab4,_0xd39aaf,_0x3009fa){_0x4063ca['exports']=_0xd39aaf(ie(),Ni());}(Un,function(_0x41bb50){var _0x2faeb9=_0x3c32;return _0x41bb50[_0x2faeb9(0x2b8)][_0x2faeb9(0x272)]={'pad':function(){},'unpad':function(){}},_0x41bb50[_0x2faeb9(0x2b8)][_0x2faeb9(0x272)];}));}(Qe)),Qe[_0x46c242(0xc3)];}var Pn=An();const wn=$e(Pn);function Mn(_0x1d55d3,_0xf26557){var _0x3e9de9=_0x4328bf;const _0x8bae32=_0xf26557-_0x1d55d3[_0x3e9de9(0x384)]%_0xf26557,_0x2d03ac=String[_0x3e9de9(0x2ce)](_0x8bae32)[_0x3e9de9(0x2cb)](_0x8bae32);return _0x1d55d3+_0x2d03ac;}function Ln(_0x4340f0,_0x24cc37){var _0x4d5b61=_0x4328bf;const _0x4aa30d=yn[_0x4d5b61(0x21a)](0x10),_0x429cb6=Mn(_0x4340f0,0x10),_0x2872d1=Sn[_0x4d5b61(0x156)](Cn[_0x4d5b61(0x2c6)](_0x429cb6),ti['parse'](_0x24cc37),{'iv':_0x4aa30d,'padding':wn});return _0x4aa30d[_0x4d5b61(0x188)](_0x2872d1[_0x4d5b61(0x365)])[_0x4d5b61(0xbe)](ti);}function xn(){var _0x300362=_0x4328bf;const _0x15a0ea=_0x65d93f()[_0x300362(0x192)];if(_0x15a0ea){const _0x3bcb26={'time':Math[_0x300362(0x390)](Date[_0x300362(0x364)]()/0x3e8),'domain':location[_0x300362(0x292)]};return Ln(JSON[_0x300362(0xe2)](_0x3bcb26),_0x15a0ea);}}var kn=Object[_0x4328bf(0x10e)],$n=(_0x441a9c,_0x16af17,_0x2b466e,_0x1072e8)=>{var _0x5187d=_0x4328bf;for(var _0xcc0d2b=_0x1072e8>0x1?void 0x0:_0x1072e8?kn(_0x16af17,_0x2b466e):_0x16af17,_0x581f5d=_0x441a9c[_0x5187d(0x384)]-0x1,_0x2504ec;_0x581f5d>=0x0;_0x581f5d--)(_0x2504ec=_0x441a9c[_0x581f5d])&&(_0xcc0d2b=_0x2504ec(_0xcc0d2b)||_0xcc0d2b);return _0xcc0d2b;},Hn=(_0x46b12a,_0x11f0ad)=>(_0x5b59b9,_0x2c3cea)=>_0x11f0ad(_0x5b59b9,_0x2c3cea,_0x46b12a);let at=class{constructor(_0x1ca4b3){var _0x1962dd=_0x4328bf;this[_0x1962dd(0x201)]=_0x1ca4b3,this['_initRequestHeader']();}[_0x4328bf(0xfa)](){var _0x44c680=_0x4328bf;this['_httpService'][_0x44c680(0x325)]({'interceptor':(_0x4a9f32,_0x158f35)=>{var _0x3956af=_0x44c680;const _0x129ced=_0x4a9f32['headers'],_0x43991d=xn();return _0x43991d&&_0x129ced[_0x3956af(0x27f)](_0x3956af(0x3c7),_0x43991d),_0x158f35(_0x4a9f32);}});}};at=$n([Hn(0x0,_0x1dda19(_0xd0787f))],at);var Bn=Object[_0x4328bf(0x10e)],Fn=(_0x4a8649,_0xa4b77,_0x42c368,_0x21d271)=>{var _0xea6422=_0x4328bf;for(var _0x512cdf=_0x21d271>0x1?void 0x0:_0x21d271?Bn(_0xa4b77,_0x42c368):_0xa4b77,_0x170026=_0x4a8649[_0xea6422(0x384)]-0x1,_0x5682f6;_0x170026>=0x0;_0x170026--)(_0x5682f6=_0x4a8649[_0x170026])&&(_0x512cdf=_0x5682f6(_0x512cdf)||_0x512cdf);return _0x512cdf;},vt=(_0xf29a3e,_0x3d30e8)=>(_0x2bd738,_0x4bcdfe)=>_0x3d30e8(_0x2bd738,_0x4bcdfe,_0xf29a3e);let Ot=class extends _0x276e6a{constructor(_0x283bb2,_0x4f1d91,_0x4a373d){var _0x137b2d=_0x4328bf;super(),D(this,_0x137b2d(0x2bf),new _0x39c092(null)),D(this,_0x137b2d(0x226),this[_0x137b2d(0x2bf)]['asObservable']()),(this[_0x137b2d(0x259)]=_0x283bb2,this[_0x137b2d(0x208)]=_0x4f1d91,this[_0x137b2d(0x1ed)]=_0x4a373d);}async['loadUnitOfRevision'](_0x4d9c8d,_0x2eb1d5,_0x1ab745){var _0x38b1d8=_0x4328bf;this[_0x38b1d8(0x2bf)][_0x38b1d8(0x36e)]({'unitId':_0x4d9c8d,'type':_0x2eb1d5});let _0x489eb2=null;switch(_0x2eb1d5){case Q[_0x38b1d8(0xc6)]:{_0x489eb2=await this[_0x38b1d8(0x208)]['loadSheet'](_0x4d9c8d,_0x1ab745);break;}case Q[_0x38b1d8(0x268)]:{_0x489eb2=await this[_0x38b1d8(0x208)][_0x38b1d8(0xfb)](_0x4d9c8d,_0x1ab745);break;}default:{this[_0x38b1d8(0x259)][_0x38b1d8(0x1a1)]('[DataLoaderService]',_0x38b1d8(0x302));break;}}return _0x489eb2;}async[_0x4328bf(0x2ff)](_0x189939,_0x1346af,_0x5dc44f){var _0x2ebd51=_0x4328bf,_0x53d9d2;this[_0x2ebd51(0x2bf)]['next']({'unitId':_0x189939,'type':_0x1346af,'subUnitId':_0x5dc44f});let _0x2efe49=0x0;const _0x110bd0=await((_0x53d9d2=this['_localCacheService'])==null?void 0x0:_0x53d9d2['loadOfflineData'](_0x189939));return _0x110bd0&&(_0x110bd0['awaitingChangeset']||_0x110bd0[_0x2ebd51(0x288)][_0x2ebd51(0x384)]!==0x0)&&(_0x2efe49=_0x110bd0['rev']),_0x2efe49===0x0&&this[_0x2ebd51(0x259)][_0x2ebd51(0x2c5)](_0x2ebd51(0x35d),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2ebd51(0x368)](_0x189939,_0x1346af,_0x2efe49);}};Ot=Fn([vt(0x0,_0x1d1a3b),vt(0x1,_0x1dda19(_0x33eb54)),vt(0x2,_0x334ec4(J))],Ot);var jn=Object[_0x4328bf(0x10e)],Vn=(_0x5109ea,_0x5bd5bf,_0x45e388,_0x2a52e7)=>{for(var _0x3e758c=_0x2a52e7>0x1?void 0x0:_0x2a52e7?jn(_0x5bd5bf,_0x45e388):_0x5bd5bf,_0x4a0b2e=_0x5109ea['length']-0x1,_0x2d7e02;_0x4a0b2e>=0x0;_0x4a0b2e--)(_0x2d7e02=_0x5109ea[_0x4a0b2e])&&(_0x3e758c=_0x2d7e02(_0x3e758c)||_0x3e758c);return _0x3e758c;},pt=(_0x375c1d,_0x2076a0)=>(_0x283bae,_0x4b237f)=>_0x2076a0(_0x283bae,_0x4b237f,_0x375c1d);const Gn=[_0x4328bf(0x3b3),_0x4328bf(0x1c1),'image/jpg',_0x4328bf(0x2fe),_0x4328bf(0x13f)],Wn=0x5*0x400*0x400,Yn='/universer-api/stream/file/upload',Kn=_0x4328bf(0x102);let Rt=class{constructor(_0x1c5794,_0x2f3a41,_0x4e7a75){var _0x5ed15f=_0x4328bf;D(this,_0x5ed15f(0xc4),0x0),D(this,_0x5ed15f(0x153),new _0x37fbef()),D(this,_0x5ed15f(0x2d3),this[_0x5ed15f(0x153)]),D(this,'_imageSourceCache',new Map()),(this[_0x5ed15f(0x201)]=_0x1c5794,this[_0x5ed15f(0x18e)]=_0x2f3a41,this[_0x5ed15f(0x2f5)]=_0x4e7a75);}[_0x4328bf(0x13d)](_0x36ed25){var _0x99af6c=_0x4328bf;this[_0x99af6c(0xc4)]=_0x36ed25,this[_0x99af6c(0x153)][_0x99af6c(0x36e)](_0x36ed25);}[_0x4328bf(0x118)](_0x16887e,_0x5ef3a4){var _0x584db7=_0x4328bf;if(_0x5ef3a4===_0x1a396d[_0x584db7(0x3d6)]){const _0x1ab0b2=new Image();return _0x1ab0b2['src']=_0x16887e,_0x1ab0b2;}return this[_0x584db7(0xbb)][_0x584db7(0x136)](_0x16887e);}['addImageSourceCache'](_0x3cc7d0,_0x3e7d64,_0x506305){var _0x319dd1=_0x4328bf;_0x3e7d64===_0x1a396d[_0x319dd1(0x3d6)]||_0x506305==null||this[_0x319dd1(0xbb)]['set'](_0x3cc7d0,_0x506305);}async['getImage'](_0x206355){var _0x3df174=_0x4328bf;try{const _0x9798c4=this['_replaceFileID'](this[_0x3df174(0x389)](),''+_0x206355),_0x371df8=(await this['_httpService'][_0x3df174(0x136)](_0x9798c4))[_0x3df174(0x360)];if(_0x371df8[_0x3df174(0x1a1)]&&_0x371df8[_0x3df174(0x1a1)][_0x3df174(0x12e)]===vi['OK']){const _0x15ccf5=new URL(_0x371df8['url'],this[_0x3df174(0x370)]())[_0x3df174(0xbe)]();return Promise[_0x3df174(0x3bf)](_0x15ccf5);}return Promise['reject'](_0x371df8[_0x3df174(0x1a1)]);}catch(_0x278fce){return Promise['reject'](_0x278fce);}}async['saveImage'](_0x4d5b3c){var _0x56c689=_0x4328bf;let _0x5c8aff='';if(!Gn[_0x56c689(0x169)](_0x4d5b3c[_0x56c689(0x12f)]))return this[_0x56c689(0x14a)](),Promise[_0x56c689(0x30a)](new Error(_0x49cb6d[_0x56c689(0x347)]));if(_0x4d5b3c[_0x56c689(0x1de)]>Wn)return this[_0x56c689(0x14a)](),Promise[_0x56c689(0x30a)](new Error(_0x49cb6d['ERROR_EXCEED_SIZE']));try{const _0xb2a475=new FormData();_0xb2a475[_0x56c689(0x20d)](_0x56c689(0x3a2),_0x4d5b3c);const _0x518bfb=this[_0x56c689(0x2f5)][_0x56c689(0xd3)](),_0xcef903=_0x518bfb==null?void 0x0:_0x518bfb[_0x56c689(0x306)]();if(!_0xcef903)throw new Error(_0x56c689(0x181));const _0x4400c9=this[_0x56c689(0xd0)]()+_0x56c689(0x15a)+_0x4d5b3c[_0x56c689(0x1de)][_0x56c689(0xbe)]()+_0x56c689(0x385)+pi[_0x56c689(0x1df)]+_0x56c689(0x39f)+encodeURIComponent(_0xcef903),_0x2357af={'body':_0xb2a475},_0x29677b=(await this['_httpService'][_0x56c689(0x283)](_0x4400c9,_0x2357af))['body'];if(typeof _0x29677b['FileId']!=_0x56c689(0x242))return this[_0x56c689(0x14a)](),Promise['reject'](new Error(_0x49cb6d[_0x56c689(0x205)]));_0x5c8aff=_0x29677b['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x56c689(0x30a)](new Error(_0x49cb6d[_0x56c689(0x205)]));}return new Promise((_0x47e87c,_0x130326)=>{var _0x2db8ea=_0x56c689;const _0x26e305=new FileReader();_0x26e305[_0x2db8ea(0x296)](_0x4d5b3c),_0x26e305[_0x2db8ea(0x322)]=_0x45e383=>{var _0x26f317=_0x2db8ea,_0x2b1dde;const _0x4a558c=(_0x2b1dde=_0x45e383[_0x26f317(0x154)])==null?void 0x0:_0x2b1dde[_0x26f317(0x265)];if(_0x4a558c==null){this[_0x26f317(0x14a)](),_0x130326(new Error(_0x49cb6d['ERROR_IMAGE']));return;}const _0x205c28=_0x5dc9b0(0x6);_0x47e87c({'imageId':_0x205c28,'imageSourceType':_0x1a396d[_0x26f317(0x171)],'source':_0x5c8aff,'base64Cache':_0x4a558c,'status':_0x49cb6d['SUCCUSS']}),this[_0x26f317(0x14a)]();};});}[_0x4328bf(0xd0)](){var _0x1b8313=_0x4328bf,_0x3f5b8c;const _0x5a3517=this[_0x1b8313(0x18e)][_0x1b8313(0x2b0)](K);return(_0x3f5b8c=_0x5a3517==null?void 0x0:_0x5a3517[_0x1b8313(0x200)])!=null?_0x3f5b8c:Yn;}['_getSignURL'](){var _0x3596ad=_0x4328bf,_0x1ca6fb;const _0x8d2747=this[_0x3596ad(0x18e)][_0x3596ad(0x2b0)](K);return(_0x1ca6fb=_0x8d2747==null?void 0x0:_0x8d2747[_0x3596ad(0xfd)])!=null?_0x1ca6fb:Kn;}[_0x4328bf(0x370)](){var _0x18b401=_0x4328bf,_0x5a431a;const _0x41436e=this[_0x18b401(0x18e)][_0x18b401(0x2b0)](K);return(_0x5a431a=_0x41436e==null?void 0x0:_0x41436e[_0x18b401(0x284)])!=null?_0x5a431a:location['origin'];}[_0x4328bf(0x2cc)](_0x2caeda,_0x3318f9){var _0x1cdea9=_0x4328bf;return _0x2caeda['replace'](_0x1cdea9(0x121),_0x3318f9);}['_decreaseWaiting'](){var _0xf16c15=_0x4328bf;this['_waitCount']-=0x1,this[_0xf16c15(0x153)][_0xf16c15(0x36e)](this['_waitCount']);}};Rt=Vn([pt(0x0,_0x1dda19(_0xd0787f)),pt(0x1,_0x53068b),pt(0x2,_0x1dda19(_0x49e0a6))],Rt);var qn=Object[_0x4328bf(0x10e)],zn=(_0x59de72,_0x2c84d4,_0x365148,_0x5a808f)=>{var _0x1940e5=_0x4328bf;for(var _0x1c56e7=_0x5a808f>0x1?void 0x0:_0x5a808f?qn(_0x2c84d4,_0x365148):_0x2c84d4,_0x5675db=_0x59de72[_0x1940e5(0x384)]-0x1,_0x59d473;_0x5675db>=0x0;_0x5675db--)(_0x59d473=_0x59de72[_0x5675db])&&(_0x1c56e7=_0x59d473(_0x1c56e7)||_0x1c56e7);return _0x1c56e7;},ri=(_0x212f04,_0x124a2c)=>(_0xaf6c3d,_0x45738d)=>_0x124a2c(_0xaf6c3d,_0x45738d,_0x212f04);const Jn='/universer-api/authz';let Ct=class{constructor(_0x2337bf,_0xdb2967){var _0x3c0df6=_0x4328bf;this[_0x3c0df6(0x18e)]=_0x2337bf,this['_HTTPService']=_0xdb2967;}['_getAPIPrefixPath'](){var _0x57b0a4=_0x4328bf,_0x1d141c;const _0x17b24c=this['_configService']['getConfig'](K);return(_0x1d141c=_0x17b24c==null?void 0x0:_0x17b24c[_0x57b0a4(0x108)])!=null?_0x1d141c:Jn;}async[_0x4328bf(0x244)](_0x5365a3){var _0xf3a350=_0x4328bf;const _0x2d7f19=this[_0xf3a350(0x3c0)]()+_0xf3a350(0x29d);return{'list':[{'title':_0xf3a350(0x30f),'mentions':(await this[_0xf3a350(0x358)][_0xf3a350(0x136)](_0x2d7f19,{'params':{'objectID':_0x5365a3[_0xf3a350(0x223)],'unitID':_0x5365a3['unitId']}}))[_0xf3a350(0x360)]['collaborators'][_0xf3a350(0x2ee)](_0x137566=>({'objectId':_0x137566['id'],'name':_0x137566[_0xf3a350(0x1ba)][_0xf3a350(0x35e)],'metadata':{'icon':_0x137566[_0xf3a350(0x1ba)]['avatar']},'label':_0x137566[_0xf3a350(0x1ba)][_0xf3a350(0x35e)],'objectType':_0x5d05e3[_0xf3a350(0x3af)]})),'metadata':{},'type':_0x5d05e3[_0xf3a350(0x3af)]}]};}};Ct=zn([ri(0x0,_0x1dda19(_0x53068b)),ri(0x1,_0x1dda19(_0xd0787f))],Ct);var Xn=Object['getOwnPropertyDescriptor'],Zn=(_0x194e5f,_0x33ebdd,_0x3c7ba5,_0x34d318)=>{var _0x3cf0bf=_0x4328bf;for(var _0x98fc1d=_0x34d318>0x1?void 0x0:_0x34d318?Xn(_0x33ebdd,_0x3c7ba5):_0x33ebdd,_0x3573e7=_0x194e5f[_0x3cf0bf(0x384)]-0x1,_0x136c64;_0x3573e7>=0x0;_0x3573e7--)(_0x136c64=_0x194e5f[_0x3573e7])&&(_0x98fc1d=_0x136c64(_0x98fc1d)||_0x98fc1d);return _0x98fc1d;},Ue=(_0x46a322,_0x5e3cff)=>(_0x3fa19e,_0x32f75f)=>_0x5e3cff(_0x3fa19e,_0x32f75f,_0x46a322);let ot=class extends _0x276e6a{constructor(_0x34c9fe,_0x1e5b12,_0x579682,_0x295e8e,_0x238768){var _0x53bde6=_0x4328bf;super(),this[_0x53bde6(0x12c)]=_0x34c9fe,this[_0x53bde6(0x2f5)]=_0x1e5b12,this[_0x53bde6(0x105)]=_0x579682,this['_collaborationSessionService']=_0x295e8e,this[_0x53bde6(0xdf)]=_0x238768,this['_initUnitPermissionChange'](),this[_0x53bde6(0x2cd)]();}['_initCloseConn'](){var _0x138025=_0x4328bf;const _0x7fbfbf=async _0x120900=>{var _0x1ee1e2=_0x3c32;(await this[_0x1ee1e2(0x2bc)][_0x1ee1e2(0x3a9)](_0x120900))[_0x1ee1e2(0x2e5)][_0x1ee1e2(0x26f)](_0x1e7c80(_0x2db83b=>_0x2db83b['eventID']===_0x5d996f[_0x1ee1e2(0x342)]),_0xff1faa(this[_0x1ee1e2(0x248)]))[_0x1ee1e2(0x252)](_0x24f537=>{var _0xf931ac=_0x1ee1e2;const _0x20f0b9=_0x24f537,{reason:_0x2457d4}=_0x20f0b9['data'];this['_collaborationUIEventService'][_0xf931ac(0x3bb)]({'id':re[_0xf931ac(0x2d2)],'data':_0x2457d4}),this[_0xf931ac(0x105)][_0xf931ac(0x115)](new _0x104c5b(_0x120900)['id'],!0x1),this[_0xf931ac(0x2bc)][_0xf931ac(0xf5)](_0x120900);});};_0x4ad722(this[_0x138025(0x2f5)]['getTypeOfUnitAdded$'](_0xa25e24[_0x138025(0xc6)]),this[_0x138025(0x2f5)]['getTypeOfUnitAdded$'](_0xa25e24[_0x138025(0x268)]))['pipe'](_0x48e852(_0x53878a=>_0x53878a['getUnitId']()),_0x1e7c80(_0x462d2b=>!_0x3aaba5(_0x462d2b)),_0xff1faa(this['dispose$']))[_0x138025(0x252)](_0x2c0c4e=>{_0x7fbfbf(_0x2c0c4e);});}[_0x4328bf(0x3d2)](){var _0x1777a0=_0x4328bf;const _0x13a8c8=async _0x3d2c61=>{var _0x588c86=_0x3c32;const _0x20ea63=await this[_0x588c86(0x2bc)][_0x588c86(0x3a9)](_0x3d2c61),_0x1f9494=this[_0x588c86(0x12c)]['get'](_0x12d481);_0x20ea63[_0x588c86(0x2e5)][_0x588c86(0x26f)](_0x1e7c80(_0x5c9d52=>_0x5c9d52[_0x588c86(0x1dd)]===_0x5d996f[_0x588c86(0x1d5)]),_0xff1faa(this['dispose$']))[_0x588c86(0x252)](_0x35dbeb=>{var _0x443798=_0x588c86;const _0x56edd2=_0x35dbeb,{objectId:_0x97df72}=_0x56edd2[_0x443798(0x334)];_0x97df72===_0x3d2c61?_0x1f9494[_0x443798(0x1b9)](_0x3d2c61):_0x1f9494[_0x443798(0x140)](_0x3d2c61,_0x97df72);});};_0x4ad722(this['_univerInstanceService'][_0x1777a0(0x2c9)](_0xa25e24['UNIVER_SHEET']))[_0x1777a0(0x26f)](_0x48e852(_0x521443=>_0x521443['getUnitId']()),_0x1e7c80(_0x5b673a=>!_0x3aaba5(_0x5b673a)),_0xff1faa(this[_0x1777a0(0x248)]))[_0x1777a0(0x252)](_0x165d4f=>{_0x13a8c8(_0x165d4f);});}};ot=Zn([Ue(0x0,_0x1dda19(_0xee3a85)),Ue(0x1,_0x49e0a6),Ue(0x2,_0xf19167),Ue(0x3,_0x1dda19(we)),Ue(0x4,_0x1dda19(ve))],ot);var Qn=Object['getOwnPropertyDescriptor'],er=(_0x1bb0b3,_0x12169d,_0x25ee43,_0x531e09)=>{var _0x54574f=_0x4328bf;for(var _0x586977=_0x531e09>0x1?void 0x0:_0x531e09?Qn(_0x12169d,_0x25ee43):_0x12169d,_0x4ea87e=_0x1bb0b3[_0x54574f(0x384)]-0x1,_0x1f7cfd;_0x4ea87e>=0x0;_0x4ea87e--)(_0x1f7cfd=_0x1bb0b3[_0x4ea87e])&&(_0x586977=_0x1f7cfd(_0x586977)||_0x586977);return _0x586977;},ai=(_0x4e315d,_0x2acbd8)=>(_0x34a20f,_0x33c1c6)=>_0x2acbd8(_0x34a20f,_0x33c1c6,_0x4e315d);let Nt=class{constructor(_0x1e4bad,_0x16f27a){var _0x2373d6=_0x4328bf;this[_0x2373d6(0x18e)]=_0x1e4bad,this[_0x2373d6(0x201)]=_0x16f27a;}async[_0x4328bf(0x210)](_0x2e2a15,_0x2b3b23){var _0x4cdc86=_0x4328bf,_0x339aa0;const {unitID:_0x2382f3,type:_0x2a85e9,revision:_0xe6500f=0x0}=_0x2b3b23,_0x394fe2=this[_0x4cdc86(0x209)]()+'/'+_0x2a85e9+'/unit/'+_0x2382f3+_0x4cdc86(0x1e3)+_0xe6500f,_0xf6c379=(await this[_0x4cdc86(0x201)][_0x4cdc86(0x136)](_0x394fe2))[_0x4cdc86(0x360)],_0x2d31d7=(_0x339aa0=_0xf6c379['snapshot'])==null?void 0x0:_0x339aa0[_0x4cdc86(0x319)];if(_0x2d31d7){const _0x3180a4=_0x2d31d7==null?void 0x0:_0x2d31d7['originalMeta'],_0x12d9be=_0x6338c9['encode'](_0x3943bc(_0x3180a4));_0x2d31d7[_0x4cdc86(0x29e)]=_0x12d9be,Object[_0x4cdc86(0x33a)](_0x2d31d7[_0x4cdc86(0x308)])[_0x4cdc86(0x1ef)](([,_0x1d1fb4])=>{var _0x4a3343=_0x4cdc86;const _0x3386ee=_0x1d1fb4[_0x4a3343(0x29e)],_0xdb14e1=_0x6338c9[_0x4a3343(0x17e)](_0x3943bc(_0x3386ee));_0x1d1fb4[_0x4a3343(0x29e)]=_0xdb14e1;});}return _0xf6c379;}async[_0x4328bf(0x1f3)](_0xd2cbf3,_0x49c97b){var _0x985330=_0x4328bf;const {unitID:_0x2a5c42,type:_0x2f82de,blockID:_0x3ad5db}=_0x49c97b,_0x23cda2=this[_0x985330(0x11d)]()+'/'+_0x2f82de+_0x985330(0x38f)+_0x2a5c42+_0x985330(0x2b2)+_0x3ad5db;return(await this[_0x985330(0x201)]['get'](_0x23cda2))[_0x985330(0x360)];}async[_0x4328bf(0xba)](_0x43156c,_0x35f715){var _0x5bdfbe=_0x4328bf;const {unitID:_0x247fd7,type:_0x583866,blockID:_0x1f1f90}=_0x35f715,_0x48af2c=this[_0x5bdfbe(0x11d)]()+'/block/'+_0x583866+_0x5bdfbe(0x38f)+_0x247fd7+'/block/'+_0x1f1f90;return(await this[_0x5bdfbe(0x201)][_0x5bdfbe(0x136)](_0x48af2c))['body'];}async[_0x4328bf(0xe5)](_0xf021ee,_0x21550e){var _0x2732da=_0x4328bf;const {unitID:_0x47f4a1,type:_0xf5422d,from:_0x42d807,to:_0x55f9d7}=_0x21550e,_0x24d14a=this[_0x2732da(0x11d)]()+'/'+_0xf5422d+'/unit/'+_0x47f4a1+_0x2732da(0x11a)+_0x42d807+_0x2732da(0x1be)+_0x55f9d7;return(await this[_0x2732da(0x201)][_0x2732da(0x136)](_0x24d14a))['body'];}['getSnapshotAPIPath'](){var _0x9f91a2=_0x4328bf,_0x4380b5;return(_0x4380b5=this[_0x9f91a2(0x18e)]['getConfig'](vs))!=null?_0x4380b5:this[_0x9f91a2(0x11d)]();}['_getAPIPrefix'](){var _0xe07a77=_0x4328bf,_0x3c8765;const _0xa2100f=this[_0xe07a77(0x18e)][_0xe07a77(0x2b0)](K);return(_0x3c8765=_0xa2100f==null?void 0x0:_0xa2100f[_0xe07a77(0x25c)])!=null?_0x3c8765:fs;}async[_0x4328bf(0x13b)](_0x424e5b,_0x1af37b){var _0x359432=_0x4328bf;const _0x32deff='/universer-api/snapshot/'+_0x1af37b[_0x359432(0x12f)]+_0x359432(0x38f)+_0x1af37b[_0x359432(0xf7)]+_0x359432(0x174);return(await this[_0x359432(0x201)][_0x359432(0x136)](_0x32deff,{'params':{'resourceId':JSON['stringify'](_0x1af37b['resourceIDs'])}}))['body'];}[_0x4328bf(0x15d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4328bf(0x2f7)](){var _0x4f75f3=_0x4328bf;throw new Error(_0x4f75f3(0x331));}[_0x4328bf(0x314)](){var _0x994ed7=_0x4328bf;throw new Error(_0x994ed7(0x331));}[_0x4328bf(0x1f9)](){var _0x4b9b95=_0x4328bf;throw new Error(_0x4b9b95(0x331));}[_0x4328bf(0x24f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4328bf(0x10f)](){var _0x54e7b1=_0x4328bf;throw new Error(_0x54e7b1(0x331));}};Nt=er([ai(0x0,_0x53068b),ai(0x1,_0x1dda19(_0xd0787f))],Nt);var tr=Object[_0x4328bf(0x10e)],ir=(_0x1f49cf,_0x281eaf,_0x1721a1,_0x3421b7)=>{for(var _0x5aea34=_0x3421b7>0x1?void 0x0:_0x3421b7?tr(_0x281eaf,_0x1721a1):_0x281eaf,_0x144913=_0x1f49cf['length']-0x1,_0x38886c;_0x144913>=0x0;_0x144913--)(_0x38886c=_0x1f49cf[_0x144913])&&(_0x5aea34=_0x38886c(_0x5aea34)||_0x5aea34);return _0x5aea34;},Ae=(_0x335c5e,_0x43a864)=>(_0x28121f,_0x4fc3a3)=>_0x43a864(_0x28121f,_0x4fc3a3,_0x335c5e);let bt=class extends _0x14f28e{constructor(_0x2a2da8,_0x1cad4f,_0x5f3fe8,_0x33ffa6,_0x77c29a){var _0x57ceda=_0x4328bf;super(_0x2a2da8,_0x1cad4f,_0x5f3fe8),this[_0x57ceda(0x1eb)]=_0x33ffa6,this[_0x57ceda(0x259)]=_0x77c29a;}['transformUndoRedo'](_0x117e7c,_0x5da6f3){var _0x20adce=_0x4328bf;const _0x3de71d=this[_0x20adce(0x1d6)](_0x117e7c);if(_0x3de71d)try{const _0x349298=this[_0x20adce(0x21f)](_0x3de71d,_0x5da6f3);this[_0x20adce(0x2eb)](_0x117e7c,_0x349298);}catch(_0x1716b5){this[_0x20adce(0x259)]['error'](_0x20adce(0x104),_0x1716b5),this[_0x20adce(0x2ba)](_0x117e7c);}const _0x2a02e9=this[_0x20adce(0x32d)](_0x117e7c);if(_0x2a02e9)try{const _0x2d8217=this[_0x20adce(0x21f)](_0x2a02e9,_0x5da6f3);this[_0x20adce(0x19f)](_0x117e7c,_0x2d8217);}catch(_0xab4da6){this[_0x20adce(0x259)]['error'](_0xab4da6),this[_0x20adce(0x323)](_0x117e7c);}}[_0x4328bf(0x2ba)](_0x2b8853){var _0x25e0a6=_0x4328bf;const _0x1aabf1=this[_0x25e0a6(0x1d6)](_0x2b8853);_0x1aabf1&&(_0x1aabf1['length']=0x0,this['_updateStatus']());}[_0x4328bf(0x323)](_0x46950b){var _0x306126=_0x4328bf;const _0xd0c2ef=this[_0x306126(0x32d)](_0x46950b);_0xd0c2ef&&(_0xd0c2ef['length']=0x0,this['_updateStatus']());}[_0x4328bf(0x2eb)](_0x2f432a,_0x307708){var _0x5ab263=_0x4328bf;this['_undoStacks'][_0x5ab263(0x27f)](_0x2f432a,_0x307708),this[_0x5ab263(0x17b)]();}[_0x4328bf(0x19f)](_0x5c23ef,_0x6d3424){var _0x92962f=_0x4328bf;this[_0x92962f(0x30d)][_0x92962f(0x27f)](_0x5c23ef,_0x6d3424),this[_0x92962f(0x17b)]();}[_0x4328bf(0x21f)](_0x13a2b4,_0x281bc1){var _0x397073=_0x4328bf;const _0x1b47db=[];let _0x553fc9=_0x281bc1,_0x176447=_0x281bc1;for(let _0x335834=_0x13a2b4[_0x397073(0x384)]-0x1;_0x335834>=0x0;_0x335834--){const {unitID:_0x3df7f8,undoMutations:_0x38a32f,redoMutations:_0x2bcc73}=_0x13a2b4[_0x335834],_0x57a1e2=this[_0x397073(0x1eb)][_0x397073(0x30c)](_0x553fc9,_0x38a32f),_0x5a4d52=this[_0x397073(0x1eb)]['transformMutationsWithChangeset'](_0x176447,_0x2bcc73);if(_0xbaebf9(_0x57a1e2)||_0xbaebf9(_0x5a4d52)){this[_0x397073(0x259)][_0x397073(0x1a1)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x57a1e2,_0x5a4d52);break;}_0x553fc9=_0x57a1e2['c1Prime'],_0x176447=_0x5a4d52['c1Prime'],_0x1b47db['push']({'unitID':_0x3df7f8,'undoMutations':_0x57a1e2[_0x397073(0x3ba)],'redoMutations':_0x5a4d52[_0x397073(0x3ba)]});}return _0x1b47db['reverse']();}};bt=ir([Ae(0x0,_0x49e0a6),Ae(0x1,_0x446ca0),Ae(0x2,_0x1d4060),Ae(0x3,_0x1b3d1f),Ae(0x4,_0x1d1a3b)],bt);var sr=Object['defineProperty'],nr=Object['getOwnPropertyDescriptor'],rr=(_0x2f3402,_0x268e86,_0x586de2)=>_0x268e86 in _0x2f3402?sr(_0x2f3402,_0x268e86,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x586de2}):_0x2f3402[_0x268e86]=_0x586de2,ar=(_0x2a1c14,_0x14474f,_0x50c939,_0xa66602)=>{var _0x451ad2=_0x4328bf;for(var _0x415117=_0xa66602>0x1?void 0x0:_0xa66602?nr(_0x14474f,_0x50c939):_0x14474f,_0x4ba589=_0x2a1c14[_0x451ad2(0x384)]-0x1,_0x2b0096;_0x4ba589>=0x0;_0x4ba589--)(_0x2b0096=_0x2a1c14[_0x4ba589])&&(_0x415117=_0x2b0096(_0x415117)||_0x415117);return _0x415117;},Et=(_0x5d5704,_0x2ad6e8)=>(_0xd16e8d,_0x3076f6)=>_0x2ad6e8(_0xd16e8d,_0x3076f6,_0x5d5704),or=(_0x1bb6a4,_0x5739b7,_0x1b46c8)=>rr(_0x1bb6a4,_0x5739b7+'',_0x1b46c8);const cr=_0x4328bf(0x2aa);let Dt=class extends _0x1ba728{constructor(_0x3614e1,_0x289e6a,_0x2abeb0,_0xccf2f0){var _0x2a70c4=_0x4328bf;super(),D(this,_0x2a70c4(0x37e)),(this['_logService']=_0x289e6a,this['_injector']=_0x2abeb0,this[_0x2a70c4(0x18e)]=_0xccf2f0);const {..._0x2a3f60}=_0x42ac59({},Ls,_0x3614e1);if(!_0x2a3f60[_0x2a70c4(0x356)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x2a70c4(0x37e)]=_0x2a3f60,this[_0x2a70c4(0x18e)]['setConfig'](K,_0x2a3f60);}['onStarting'](){var _0x496def=_0x4328bf;this[_0x496def(0x1fe)](),this[_0x496def(0x27a)]();}[_0x4328bf(0x1fe)](){var _0x11b84f=_0x4328bf,_0x394679,_0x805327;this[_0x11b84f(0x12c)]['has'](_0x16cbab)&&this['_logService'][_0x11b84f(0x1a1)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x53a2dc=_0x19aada([[_0x16cbab,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x11b84f(0x37e)]['socketService']}],[_0x3da798,{'useClass':Nt}],[_0x2318bd,{'useClass':Tt}],[_0x4c0343,{'useClass':Rt}],[_0x2b884a,{'useClass':Ct}],[nt],[gt]],(_0x394679=this[_0x11b84f(0x37e)])==null?void 0x0:_0x394679[_0x11b84f(0x2da)]);if(!((_0x805327=this[_0x11b84f(0x37e)])!=null&&_0x805327[_0x11b84f(0x2fd)])){const _0x3c45f5=_0x53a2dc[_0x11b84f(0x2df)](([_0x2c4a32])=>_0x2c4a32===_t);_0x3c45f5!==-0x1&&_0x53a2dc[_0x11b84f(0x2c1)](_0x3c45f5,0x1);}_0x358d1a(this['_injector'],_0x53a2dc);}[_0x4328bf(0x27a)](){var _0x970adc=_0x4328bf,_0x481e9f,_0x3b5cd9,_0x38b938;this[_0x970adc(0x12c)]['get'](_0xd0787f)[_0x970adc(0x325)]({'priority':0x14,'interceptor':_0x39985f({'maxParallel':0x6})}),(_0x481e9f=this[_0x970adc(0x37e)])!=null&&_0x481e9f[_0x970adc(0xe3)]||(_0x3b5cd9=this[_0x970adc(0x12c)][_0x970adc(0x136)](J,_0x166dcf[_0x970adc(0x31f)]))==null||_0x3b5cd9['disableLocalCache'](),(_0x38b938=this[_0x970adc(0x37e)])!=null&&_0x38b938[_0x970adc(0x361)]&&_0x55b8d5(this[_0x970adc(0x12c)],[[rt]]),_0x55b8d5(this[_0x970adc(0x12c)],[[at],[nt],[ot]]);}};or(Dt,_0x4328bf(0x315),cr),Dt=ar([_0x352624(_0x40a049,_0x363f37),Et(0x1,_0x1d1a3b),Et(0x2,_0x1dda19(_0xee3a85)),Et(0x3,_0x53068b)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Rr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Sr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,Bs as INetworkConditionService,_t as ISingleActiveUnitService,Tr as LOCAL_CACHE_INTERVAL,gr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Or as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Cr as getLocalCacheKey,js as serializeCombRequest};
|