@univerjs-pro/collaboration-client 0.15.2-insiders.20260119-edc718c → 0.15.2-insiders.20260122-b1556b1
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/types/controllers/config.schema.d.ts +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 +9 -9
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0xbde005=_0x3d7d;(function(_0x19d379,_0x2a3f20){var _0x21708e=_0x3d7d,_0x1bb927=_0x19d379();while(!![]){try{var _0x281a31=-parseInt(_0x21708e(0x1b0))/0x1*(parseInt(_0x21708e(0x1bc))/0x2)+-parseInt(_0x21708e(0x32d))/0x3*(-parseInt(_0x21708e(0x3bc))/0x4)+-parseInt(_0x21708e(0x200))/0x5+-parseInt(_0x21708e(0x385))/0x6*(parseInt(_0x21708e(0x3ed))/0x7)+-parseInt(_0x21708e(0x330))/0x8+parseInt(_0x21708e(0x17a))/0x9*(-parseInt(_0x21708e(0x31b))/0xa)+-parseInt(_0x21708e(0x13c))/0xb*(-parseInt(_0x21708e(0x30a))/0xc);if(_0x281a31===_0x2a3f20)break;else _0x1bb927['push'](_0x1bb927['shift']());}catch(_0x48868d){_0x1bb927['push'](_0x1bb927['shift']());}}}(_0x189b,0xa658d));var Di=Object[_0xbde005(0x39b)],yi=(_0x29d892,_0x5856bb,_0x3ba277)=>_0x5856bb in _0x29d892?Di(_0x29d892,_0x5856bb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ba277}):_0x29d892[_0x5856bb]=_0x3ba277,D=(_0x245af4,_0x31f86c,_0x9f6641)=>yi(_0x245af4,typeof _0x31f86c!=_0xbde005(0x35e)?_0x31f86c+'':_0x31f86c,_0x9f6641);import{CollaborationEvent as _0xad0318,ITransformService as _0x54f44a,isTransformMutationsWithChangesetSuccess as _0x30de82,mapDocumentTypeToUniverType as _0x3496fc,RevisionService as _0x38ef90,isTransformChangesetsSuccess as _0x269a06,EmptyMutationInfo as _0x2d9413,CompressMutationService as _0x218caf,parseProtocolChangeset as _0x9d5605,uuidv4 as _0x26f97b,ISnapshotServerService as _0x553f45,parseChangesetToProtocol as _0x362080,SnapshotService as _0x45c55f,textEncoder as _0x5d4858,b64DecodeUnicode as _0x210299,isTransformMutationsWithChangesetFailure as _0x1d8c0f,UniverCollaborationPlugin as _0x19be12}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0xecbae0,Inject as _0x51e0dc,UserManagerService as _0x19ef74,Disposable as _0x20bf78,UniverInstanceType as _0x119145,ILogService as _0x9e9972,IConfigService as _0x50f0f7,Optional as _0x581e15,RxDisposable as _0x1e895e,createIdentifier as _0x1814eb,Injector as _0x20c230,Tools as _0x2de3b9,Rectangle as _0x26c7ad,ICommandService as _0x2d6439,JSONX as _0x5b82f1,IUndoRedoService as _0x15b98e,IPermissionService as _0x5dd3e7,LocaleService as _0x4a91ba,sequenceExecute as _0x163ab7,toDisposable as _0x3fe0b1,CommandType as _0x348d77,DisposableCollection as _0x4cc873,Workbook as _0x35b9e4,resolveWithBasePath as _0x3456d4,generateRandomId as _0x2ddb78,MentionType as _0x499fdb,isInternalEditorID as _0x91f8fa,LocalUndoRedoService as _0x24fd11,IContextService as _0x5e9c48,DependentOn as _0x15725f,Plugin as _0x3a2476,merge as _0x511468,mergeOverrideWithDependencies as _0x4afa70,IAuthzIoService as _0x4b9a68,IMentionIOService as _0xf9d46f,registerDependencies as _0x2a394a,Quantity as _0x51f8b8,touchDependencies as _0x11baec}from'@univerjs/core';import{RichTextEditingMutation as _0x15e2ec}from'@univerjs/docs';import{SheetsSelectionsService as _0xcb52c8,SetSelectionsOperation as _0x22c69e,InsertSheetMutation as _0x206e7b,WorkbookEditablePermission as _0x5d55bb,SheetPermissionInitController as _0x203c1f}from'@univerjs/sheets';import{Subject as _0x5a35f4,merge as _0x521ca9,of as _0x27da9c,BehaviorSubject as _0x28d880,takeUntil as _0x436a76,ReplaySubject as _0x2c0fbe,take as _0x2a23c8,map as _0x16b2bc,shareReplay as _0x46d5eb,firstValueFrom as _0x414fe2,concatMap as _0x5462e2}from'rxjs';import{ITelemetryService as _0x243bad}from'@univerjs/telemetry';import{map as _0x465af3,take as _0x4a374d,filter as _0x576d7f,delay as _0x410d7f,takeUntil as _0x138cad}from'rxjs/operators';import{HTTPService as _0x4583bc,ISocketService as _0x2bbf30,MergeInterceptorFactory as _0x496499,HTTPRequest as _0x52d765,UniverNetworkPlugin as _0x373f1e,ThresholdInterceptorFactory as _0x3f72de}from'@univerjs/network';import{ImageSourceType as _0x32b18a,ImageUploadStatusType as _0x337b7f,IImageIoService as _0x601141}from'@univerjs/drawing';import{getGlobalObject as _0x59a00f}from'@univerjs-pro/license';const Es=_0xbde005(0x411),ps=_0xbde005(0x265),ms=0x7d0,Is='ws://127.0.0.1:8000/universer-api/comb/connect',Or=_0xbde005(0x179),Ss='HEARTBEAT_INTERVAL',gs=0x7530,di=_0xbde005(0x237),fi=0x4e20,Ts=0x4e20,Os=_0xbde005(0x363),Rs=0x3,Rr='LOCAL_CACHE_INTERVAL',Nr=0x3e8,Ns='/universer-api/comb',Cs=_0xbde005(0x1c5),Cr=_0xbde005(0x1ab),br=_0xbde005(0x36f);var vi=(_0x1df1ef=>(_0x1df1ef[_0x1df1ef[_0xbde005(0x125)]=0x0]='UNDEFINED',_0x1df1ef[_0x1df1ef['OK']=0x1]='OK',_0x1df1ef[_0x1df1ef[_0xbde005(0x33b)]=0x2]=_0xbde005(0x33b),_0x1df1ef[_0x1df1ef[_0xbde005(0x210)]=0x3]=_0xbde005(0x210),_0x1df1ef[_0x1df1ef[_0xbde005(0x1f6)]=0x4]=_0xbde005(0x1f6),_0x1df1ef[_0x1df1ef[_0xbde005(0x14b)]=0x5]=_0xbde005(0x14b),_0x1df1ef[_0x1df1ef[_0xbde005(0x40e)]=0x6]=_0xbde005(0x40e),_0x1df1ef[_0x1df1ef[_0xbde005(0x3b2)]=0x7]=_0xbde005(0x3b2),_0x1df1ef[_0x1df1ef[_0xbde005(0x399)]=0x8]='TOO_MANY_REQUESTS',_0x1df1ef[_0x1df1ef[_0xbde005(0x11f)]=0x9]=_0xbde005(0x11f),_0x1df1ef[_0x1df1ef[_0xbde005(0x27c)]=0xa]='LOGIN_FAILED',_0x1df1ef[_0x1df1ef[_0xbde005(0x277)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x1df1ef[_0x1df1ef[_0xbde005(0x3fe)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1df1ef[_0x1df1ef[_0xbde005(0x171)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x1df1ef[_0x1df1ef['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xbde005(0x39c),_0x1df1ef[_0x1df1ef['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0xbde005(0x39e),_0x1df1ef[_0x1df1ef[_0xbde005(0x38a)]=0x10]=_0xbde005(0x38a),_0x1df1ef[_0x1df1ef[_0xbde005(0x3c7)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x1df1ef[_0x1df1ef[_0xbde005(0x170)]=0x65]='ERROR_AGAIN',_0x1df1ef[_0x1df1ef[_0xbde005(0x3c0)]=0xc9]=_0xbde005(0x3c0),_0x1df1ef[_0x1df1ef[_0xbde005(0x309)]=0xca]='USER_IS_ANONYMOUS',_0x1df1ef[_0x1df1ef['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xbde005(0x24d),_0x1df1ef[_0x1df1ef[_0xbde005(0x258)]=0x1771]=_0xbde005(0x258),_0x1df1ef[_0x1df1ef[_0xbde005(0x34b)]=0x1772]=_0xbde005(0x34b),_0x1df1ef[_0x1df1ef[_0xbde005(0x370)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1df1ef[_0x1df1ef[_0xbde005(0x10b)]=0x1b59]=_0xbde005(0x10b),_0x1df1ef[_0x1df1ef[_0xbde005(0x1a2)]=0x1b5a]=_0xbde005(0x1a2),_0x1df1ef[_0x1df1ef[_0xbde005(0x156)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1df1ef[_0x1df1ef[_0xbde005(0x1d1)]=0x1b5c]=_0xbde005(0x1d1),_0x1df1ef[_0x1df1ef[_0xbde005(0x400)]=0x1b5d]=_0xbde005(0x400),_0x1df1ef[_0x1df1ef[_0xbde005(0x3f2)]=0x1f41]=_0xbde005(0x3f2),_0x1df1ef[_0x1df1ef[_0xbde005(0x256)]=0x2329]=_0xbde005(0x256),_0x1df1ef[_0x1df1ef['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xbde005(0x21f),_0x1df1ef[_0x1df1ef['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xbde005(0x2d4),_0x1df1ef[_0x1df1ef[_0xbde005(0x229)]=0x232c]=_0xbde005(0x229),_0x1df1ef[_0x1df1ef['LICENSE_DISTRO_REJECTED']=0x232d]=_0xbde005(0x113),_0x1df1ef[_0x1df1ef['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1df1ef[_0x1df1ef['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1df1ef[_0x1df1ef['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0xbde005(0x183),_0x1df1ef[_0x1df1ef['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xbde005(0x321),_0x1df1ef[_0x1df1ef[_0xbde005(0x1b8)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x1df1ef[_0x1df1ef[_0xbde005(0x32e)]=0x271b]=_0xbde005(0x32e),_0x1df1ef[_0x1df1ef[_0xbde005(0x160)]=0x271c]=_0xbde005(0x160),_0x1df1ef[_0x1df1ef['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1df1ef[_0x1df1ef[_0xbde005(0xf0)]=0x271e]=_0xbde005(0xf0),_0x1df1ef[_0x1df1ef[_0xbde005(0x397)]=0x271f]=_0xbde005(0x397),_0x1df1ef[_0x1df1ef[_0xbde005(0x2bb)]=0x2720]=_0xbde005(0x2bb),_0x1df1ef[_0x1df1ef[_0xbde005(0x2f5)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1df1ef[_0x1df1ef[_0xbde005(0x2fe)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1df1ef[_0x1df1ef['INVALID_INVITE_CODE']=0x2ee2]=_0xbde005(0x130),_0x1df1ef[_0x1df1ef[_0xbde005(0x14a)]=0x2ee3]=_0xbde005(0x14a),_0x1df1ef[_0x1df1ef[_0xbde005(0x219)]=0x2ee4]=_0xbde005(0x219),_0x1df1ef[_0x1df1ef[_0xbde005(0x1f7)]=0x2ee5]=_0xbde005(0x1f7),_0x1df1ef[_0x1df1ef[_0xbde005(0x184)]=0x32c9]=_0xbde005(0x184),_0x1df1ef[_0x1df1ef[_0xbde005(0xfd)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1df1ef[_0x1df1ef[_0xbde005(0x131)]=0x32cb]=_0xbde005(0x131),_0x1df1ef[_0x1df1ef[_0xbde005(0x16d)]=0x36b1]=_0xbde005(0x16d),_0x1df1ef[_0x1df1ef[_0xbde005(0x335)]=0x36b2]=_0xbde005(0x335),_0x1df1ef[_0x1df1ef[_0xbde005(0x127)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x1df1ef[_0x1df1ef[_0xbde005(0x33e)]=0x36b4]=_0xbde005(0x33e),_0x1df1ef[_0x1df1ef[_0xbde005(0x2a4)]=0x36b5]=_0xbde005(0x2a4),_0x1df1ef[_0x1df1ef[_0xbde005(0x31d)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x1df1ef[_0x1df1ef[_0xbde005(0x101)]=0x36b7]=_0xbde005(0x101),_0x1df1ef[_0x1df1ef[_0xbde005(0x3ac)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x1df1ef[_0x1df1ef['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x1df1ef[_0x1df1ef[_0xbde005(0x271)]=0x3716]=_0xbde005(0x271),_0x1df1ef[_0x1df1ef[_0xbde005(0x1aa)]=0x3717]=_0xbde005(0x1aa),_0x1df1ef[_0x1df1ef[_0xbde005(0x115)]=0x37dd]=_0xbde005(0x115),_0x1df1ef[_0x1df1ef[_0xbde005(0x15f)]=0x3a99]=_0xbde005(0x15f),_0x1df1ef[_0x1df1ef[_0xbde005(0x135)]=0x3a9a]=_0xbde005(0x135),_0x1df1ef[_0x1df1ef[_0xbde005(0x1a4)]=0x3a9b]=_0xbde005(0x1a4),_0x1df1ef[_0x1df1ef['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0xbde005(0x1ba),_0x1df1ef[_0x1df1ef['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0xbde005(0x15e),_0x1df1ef[_0x1df1ef[_0xbde005(0xff)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x1df1ef[_0x1df1ef[_0xbde005(0x2e5)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x1df1ef[_0x1df1ef[_0xbde005(0x196)]=0x3e81]=_0xbde005(0x196),_0x1df1ef[_0x1df1ef['UNRECOGNIZED']=-0x1]=_0xbde005(0x3b4),_0x1df1ef))(vi||{}),Q=(_0x3d7910=>(_0x3d7910[_0x3d7910[_0xbde005(0x18c)]=0x0]=_0xbde005(0x18c),_0x3d7910[_0x3d7910[_0xbde005(0x16c)]=0x1]=_0xbde005(0x16c),_0x3d7910[_0x3d7910[_0xbde005(0x388)]=0x2]=_0xbde005(0x388),_0x3d7910[_0x3d7910['UNIVER_SLIDE']=0x3]=_0xbde005(0x1e9),_0x3d7910[_0x3d7910[_0xbde005(0x31f)]=0x4]=_0xbde005(0x31f),_0x3d7910[_0x3d7910[_0xbde005(0x3b4)]=-0x1]=_0xbde005(0x3b4),_0x3d7910))(Q||{}),j=(_0x437dc6=>(_0x437dc6[_0x437dc6['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x437dc6[_0x437dc6[_0xbde005(0x224)]=0x1]='HELLO',_0x437dc6[_0x437dc6['JOIN']=0x2]=_0xbde005(0x3bd),_0x437dc6[_0x437dc6[_0xbde005(0x35a)]=0x3]=_0xbde005(0x35a),_0x437dc6[_0x437dc6[_0xbde005(0x30b)]=0x4]=_0xbde005(0x30b),_0x437dc6[_0x437dc6[_0xbde005(0x146)]=0x5]=_0xbde005(0x146),_0x437dc6[_0x437dc6['RECV']=0x6]=_0xbde005(0x114),_0x437dc6[_0x437dc6['UNRECOGNIZED']=-0x1]=_0xbde005(0x3b4),_0x437dc6))(j||{}),Ee=(_0x5e028c=>(_0x5e028c[_0x5e028c[_0xbde005(0x13d)]=0x0]=_0xbde005(0x13d),_0x5e028c[_0x5e028c['OK']=0x1]='OK',_0x5e028c[_0x5e028c[_0xbde005(0x169)]=0x2]=_0xbde005(0x169),_0x5e028c[_0x5e028c[_0xbde005(0x13e)]=0x3e9]='JOIN_ROOM_FULL',_0x5e028c[_0x5e028c[_0xbde005(0x25d)]=0x3ea]=_0xbde005(0x25d),_0x5e028c[_0x5e028c[_0xbde005(0x2ff)]=0x3eb]=_0xbde005(0x2ff),_0x5e028c[_0x5e028c['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0xbde005(0x34d),_0x5e028c[_0x5e028c[_0xbde005(0x3b4)]=-0x1]=_0xbde005(0x3b4),_0x5e028c))(Ee||{}),Ei=(_0x2acf21=>(_0x2acf21[_0x2acf21['Undefined']=0x0]=_0xbde005(0x192),_0x2acf21[_0x2acf21[_0xbde005(0x373)]=0x1]=_0xbde005(0x373),_0x2acf21[_0x2acf21[_0xbde005(0x33f)]=0x2]=_0xbde005(0x33f),_0x2acf21[_0x2acf21[_0xbde005(0x11e)]=0x3]=_0xbde005(0x11e),_0x2acf21[_0x2acf21[_0xbde005(0x23b)]=0x4]=_0xbde005(0x23b),_0x2acf21[_0x2acf21[_0xbde005(0x2a0)]=0x5]=_0xbde005(0x2a0),_0x2acf21[_0x2acf21[_0xbde005(0x27e)]=0x6]=_0xbde005(0x27e),_0x2acf21[_0x2acf21['UNRECOGNIZED']=-0x1]=_0xbde005(0x3b4),_0x2acf21))(Ei||{});function _0x189b(){var _0x22cf4d=['roomInfos','session','roles','NEW_CHANGESETS','format','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_clearCollaborationTimeoutTimer','finalize','put','SUBMIT_CHANGESET','commentUpdateEvent','readyForCollab','_compressMutationService','_emitMembers','1582506gMQaNL','_getAPIPrefixPath','state','UNIVER_SHEET','append','LOGIN_TOKEN_PROCESSING_FAILED','push','[FetchMissState]','_candidateSocket','[PendingState]:\x20received\x20acknowledgement.','slice','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','href','name','getDeserializedSheetBlock','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','subscribe','enableSingleActiveInstanceLock','YUUMI_AI_RUN_FAILED','_toggleOnline','TOO_MANY_REQUESTS','PERMISSION_REJ','defineProperty','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onRemoteACK','AUTHORIZE_CODE_ILLEGAL','getUnit','readAsDataURL','getTypeOfUnitDisposed$','_schedule','charCodeAt','Error\x20on\x20receiving\x20event','localCacheService','_transformRemoteChangesetByStateCache','_revisionService','dispose$','_handlerCallback','apply','hasOwnProperty','ENTITLE_USE_COUPON_NOT_1ST_TRADE','SUCCUSS','list','People','_collaborationUIEventService','hostname','INVALID_ARGUMENT','HmacSHA1','UNRECOGNIZED','_sessions','next','_snapshotService','_localeService','session.room-not-exists','subject','collaboration-client.config','3676AakQLa','JOIN','createSocket','_event$','USER_NOT_FOUND','_roomCreated$','telemetry\x20info\x20is\x20not\x20initialized','_transformRemoteChangesetByIMECache','setCurrentUser','map','_replaceFileID','CURRENT_STATUS_CANNOT_OPERATE','update','enableCollaboration','_removeRoom','_undoRedoService','_hash','_keyPriorReset','closeSession','set','COMMENT_UPDATE','COMPRESS_MUTATION_APPLY','unitInfo$','keySize','_prevBlock','_DEC_XFORM_MODE','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','setShowComponents','_stopTelemetryCollaborationNewChangeset','ERROR_IMAGE_TYPE','_handler','_telemetryService','_transformStack','csAckEvent','byteLength','AES','NO_OTHER_CLIENTS_EDITING','objectActions','[CollaborationSessionService]','_config','getRoom','min','onTransformState','join','_memberService','resend','decrypt','_hasher','_getCurrentRevision','7GJIrvE','event$','_reverseMap','sid','_telemetryInfo','CONNECTOR_DATA_TOO_LARGE','src','memberID','Failed\x20to\x20update\x20permission\x20point','socketService','close$','_disableEditing','_clearScheduledTask','getFocusedUnit','__splitChunk__','getConfig','/allowed','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SOCKET_FAILED_RETRY','APPLY_DUPLICATED','interceptor','transformUndoRedo','cfg','updateSnapshot','close','encryptBlock','_socketMessageSubscription','url','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','connection\x20error','_collaborationSessionService','stringify','_createHandler','ALREADY_EXISTS','fromCharCode','responseType','/universer-api/snapshot','_doFinalize','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','COMPRESS_MUTATION_SEND','_clearRedo','/collaborator','stopTime','/universer-api/stream/file/upload','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','selections','_snapshotServerService','collaborators','filter','LIVESHARE_OPERATION','salt','MOBILE_HAS_BEEN_BOUND','init','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_listenToNetworkCondition','ENTITLE_COUPON_USED_UP','__esModule','Base','pending','objectType','createEncryptor','updatePermissionPoint','clone','getCollabEntity','getCurrentRevOfUnit','APPLY_REJECT','awaitingChangeset','toString','[OfflineState]:\x20received\x20changeset.','Encryptor','listCollaborators','error$','_showConflictNotification','LICENSE_DISTRO_REJECTED','RECV','ENTITLE_NEED_BILLING_ADDRESS','algo','_resendWithTimeout','objectID','_parse','entityInit$','catch','fetch_missing','_logService','UnitEmbedded','COMPLETION_FINISHED','auth.needGotoLoginAlert','_entityInit$','call','sheets','_getSignURL','UNDEFINED','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','ENTITLE_DUP_SUBSCRIPTION','_createInitialState','\x0aAfter:\x20','_instanceService','getUnitType','FETCH_MISSING','?url=','reverse','_iv','INVALID_INVITE_CODE','EMAIL_HAS_BEEN_BOUND','_commentUpdate$','_substituteRedoStack','body','REDEMPTION_CODE_INACTIVE','?size=','exports','session.join-failed','PSEUDO_FETCH_MISSING_RESULT','textRanges','onTransformIME','41085319ItKguR','UNKNOWN_CODE','JOIN_ROOM_FULL','_toggleOffline','_onCombEvent','_queuedRemoteChangesets','SHA1','leaveEvent','_getAPIPrefix','loadUnitOfRevision','HEARTBEAT','uniscriptRunEvent','has','_data','INVITE_CODE_REQUIRED','UNAUTHENTICATED','CLOSE_ROOM','_members','collaMsg','replace','onCommentUpdate','_xformMode','FileId','online$','onRemoteAck','padding','APPLY_REVISION_CONFILICT','Malformed\x20UTF-8\x20data','_joinRoom','_tryReconnect','substr','HMAC','saveSnapshot','_clearHeartbeatTimer','REDEMPTION_USER_NOT_ELIGIBLE','REDEMPTION_INVALID_CODE','YUUMI_TABLE_NOT_FOUND_IN_UNIT','onLocalMutation','floor','_httpService','get','_process','clamp','_configService','_onRemoteRetry','FAIL','requireSession','_unlockTransition','UNIVER_DOC','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_changesetSessionId','SHOULD_CLOSE_CONN','ERROR_AGAIN','EMAIL_VERIFY_CODE_MISMATCH','_submitChangeset','csRejEvent','isArray','_awaitingChangeset','appendMutation','onMissingChangesets','collaboration-client.local-cache-service','/universer-api/user/session-ticket','11995569JXAVxp','onRemoteChangeset','SerializableCipher','_collabSessionService','getAllMembers','_cipher','location','repeat','reduce','YUUMI_RATE_OVER_LIMIT','WECHAT_HAS_BEEN_BOUND','target','complete','debug','size','_startTelemetryCollaborationNewChangeset','_getUploadFileURL','executeCommand','UNIVER_UNKNOWN','_tryEnsureSocket','getSheetId','_redoStacks','routeKey','_initRequestHeader','Undefined','_updateState','copyFileMeta','_waitForHeartbeatResponse','DATA_SOURCE_TOO_LARGE','Base64','socket\x20open.','_state$','saveSheetBlock','_transformSelections','members','_onUserJoin','encrypt','_onConflict','onSyncEditingCollabCursor','_exhaustRemoteChangesetQueue','APPLY_NON_SEQUENTIAL_REVISION','snapshotServerUrl','REDEMPTION_CODE_FULLY_REDEEMED','[OfflineState]:\x20received\x20acknowledgement.','fetchMiss','&source=','_scheduleCompleteTimestamp','onlyLocal','ENTITLE_INSUFFICIENT_QUOTA','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','create','_state','_transformStateCache','IDLE','2749vZXOdX','byteOffset','collabWebSocketUrl','ivSize','[CollaborationUndoRedoService]','getUnitOnRev','_HTTPService','_members$','YUUMI_NO_CUBOID_FOR_QUESTION','_syncEditingCollabCursor','REDEMPTION_CODE_NOT_STARTED','getCurrentUser','734vTGbPm','[CollaborationState]:\x20apply\x20error!','getLatestCsReqIdBySid','BlockCipherMode','actions','JOIN_ROOM_FAILED','UNIVER_COLLABORATION_CLIENT_PLUGIN','range','function','/universer-api/oidc/authpage','image/png','baseRev','result','snapshot','compute','requestParams','image/jpeg','_roomMembers','loginUrlKey','batchAllowed','enableOfflineEditing','APPLY_PERMISSION_DENIED','removeMember','localeService','startTime','post','_resendTimeout','workbook','clear','_lockTransition','startsWith','StreamCipher','Hasher','saveImage','_onUserLeave','deepClone','createCollaborator','setWaitCount','collaboratorID','_getUndoStack','_onMessage','liveShareNewHost','fetching\x20missing\x20changesets\x20from\x20','message$','addHandlerCallback','UNIVER_SLIDE','LIVESHARE_NEW_HOST','originalMeta','WordArray','_nRounds','POST','signUrlServerUrl','rev','enableAuthServer','OFFLINE','userID','/object/','allowed','NOT_FOUND','INVITE_CODE_ALREADY_BOUND','cmd','BASE64','words','emitEvent','hasher','lib','mutations','OTHER_CLIENTS_EDITING','1597080ZQFEYM','sessionStatus$','_waitCount','delete','BufferedBlockAlgorithm','Decryptor','_updateStatus','/object','reject','_userManagerService','awaiting_with_pending','_socket','UNISCRIPT_RUN','status$','confirm','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','PERMISSION_DENIED','_unitID','_type','UPDATE_CURSOR','buffer','focused$','LIVESHARE_FETCH_OPERATIONS','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','\x20-\x20','USER_NOT_INVITED_CODE','disableLocalCache','_sender','joinRsp','mixIn','_localCacheService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/universer-api/snapshot/','_acknowledgedAwaitingChangeset','CBC','_clearUndo','HELLO','_getLoginPath','_applyRemoteChangeset','onMutationExecutedForCollab','_permissionService','LICENSE_EXPORT_SIZE_EXCEEDED','toggleOffline','Pkcs7','_initDependencies','/universer-api/authz','updateMember','sendChangesetTimeout','onTransformRemoteChangesetByIMECache','forEach','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','params','session.room-cnt-exceeds','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getRandomValues','HEARTBEAT_TIMEOUT','_change$','OpenSSL','dispose','UnitSnapshot','_key','getActiveSheet','conflict','getImageSourceCache','offline','getUnitId','transformChangesets','MD5','file','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','setConfig','every','reqId','unpad','action','_commandService','onTransformSelections','CHANGESET_REVISION_CONFILICT','_entities','resolve','addImageSourceCache','state$','newCsEvent','initWorkbookPermissionChange','_transitionLocked','randomBytes','LICENSE_MAX_UNITS_EXCEEDED','NoPadding','SNAPSHOT_INVALID_SNAPSHOT','headers','_clearRetryConnectingTimer','USERS_LEAVE','random','JOIN_ROOM_NOT_EXISTS','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_shouldReportTelemetry','collabSubmitChangesetUrl','findIndex','LIVESHARE_REQUEST_HOST','joinEvent','_updateLocalCache','SNAPSHOT_URL_KEY','session.room-full','asObservable','now','ceil','ONLINE','disposeWithMe','updatePermissionObjEvent','LIVESHARE_TERMINATE','_networkConditionService','splice','values','ENTITLE_REPORT_LIMIT_EXCEED','_commentService','UUID','univer-pro.collaboration-client.single-active-unit-service','OTHER_CLIENT_EDITING','charAt','MOBILE_VERIFY_CODE_MISMATCH','eventID','pad','reconnect','csShouldRetryEvent','LOGIN_FAILED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','ClipsheetFragments','BlockCipher','transformMutationsWithChangeset','_getDownloadEndpointURL','_onConnectionFailed','_keySchedule','JOINING','Hex','_socket$','_createInitialStateImpl','transformSelections','onMissedChangesetFetched','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','commentUpdate$','unitId','MUTATION','CHANGESET_ACK','Cipher','blockSize','_univerInstanceService','PERSON','deleteCollaborator','extend','max','encode','_onOffline','_clearTimeoutTimer','_iKey','onTransformRemoteChangesetByStateCache','_maxTotalRetryTimeout','_createHmacHelper','send','enc','_onRemoteChangeset','UserProfileImg','/unit/','_invKeySchedule','isPermissionRej','ENTITLE_INVALID_COUPON_CODE','putCollaborators','getResourcesRequest','reset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','concat','_sessionStatus$','NOT_COLLAB','univer-pro.collaboration-client.network-condition.service','msCrypto','default','onRemoteRetry','_collaborationPaused','getMemberID','_remoteChangesetQueue','EvpKDF','save\x20fail\x20reason\x20is\x20','CHANGESET_SHOULD_RETRY','_transformService','unknown','execute','_doCreateSocket','status','YUUMI_CONNECTOR_URL_NOT_FOUND','$super','SYNCED','[CollaborationSessionService]:\x20socket\x20error','getSheetBlock','unitID','onStarting','_substituteUndoStack','_initCloseConn','_incrementRevisionNumber','_checkMissing','_clearLocalCache','encodeURIComponent','_nDataBytes','unitId\x20is\x20not\x20found','_doCryptBlock','pipe','{fileID}','_initMergeInterceptor','CHANGESET_REJ','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_initUnitPermissionChange','/block/','_undoStacks','authzUrl','LICENSE_IMPORT_SIZE_EXCEEDED','registerHTTPInterceptor','duration','indexOf','c2Prime','_socketService','_oKey','_executeRemoteChangeset','changesets','_unitInfo$','/new_changes','type','_decreaseWaiting','failed\x20to\x20apply\x20missed\x20changesets!','_mode','loadSheet','error','REDEMPTION_CODE_HAS_BEEN_CREATED','_getSendChangesetTimeout','not_collab','_init','find','_startCollaboration','getOwnPropertyDescriptor','getValue','_getRedoStack','revision','fetchMissingChangesets','processBlock','ERROR_IMAGE','getInterceptPoints','session.room-permission-denied','_resendTimer','PY_RUNTIME_SCRIPT_ERROR','retryConnectingInterval','image/bmp','getCollabEntity$','_timeoutTimer','loadDoc','_doProcessBlock','[UniverCollaborationClientPlugin]','_getCtorByUniverType','INVITE_CODE_HAS_BEEN_UES','JOIN_ROOM_PERMISSION_DENIED','_singleActiveUnitService','_minBufferSize','infoRsp','m2Prime','_sendingTimer','onRemoteRej','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_status$','synced','USER_IS_ANONYMOUS','12ElHknY','INGEST','_doReset','_changesetReqId','getUnitStatus$','_rescheduleHeartbeat','_sheetTransformSelectionsService','_onRemoteRejected','_map','_sendHeartbeatTimer','/-/object/list','crypto','updateCursorEvent','ciphertext','_retryCount','/rev/','abs','10PzTtFc','SOCKET_FAILED','ENTITLE_COUPON_EXPIRED','_transformUndoredo','UNIVER_PROJECT','[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.','YUUMI_SUBSCRIPTION_NOT_FOUND','[DataLoaderService]','string','compose','add','image/gif','toggleOnline','_onLocalMutation','c1Prime','UPDATE_PERMISSION_OBJ','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Could\x20not\x20dynamically\x20require\x20\x22','2565xKSbcr','YUUMI_ASYNCIO_CANCELLED','includes','7316208PcZVlm','Utf8','/resources','univer-pro.collaboration-client-socket-service','[CollaborationSession]','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','data','/-/object/-/batch_allowed','getTime','createDecryptor','_socketReady','INTERNAL_ERROR','fromCollab','SUBMIT_CHANGESET_TIMEOUT','PAYMENT_CHANNEL_NOT_SUPPORT','HttpExport','createInstance','_eventService','_injector','onStateChange','liveShareOperation','&to=','_retryConnectingTimer','USERS_ENTER','_replayCachedMutations','_onFetchMissResult','CONFLICT','SNAPSHOT_HAS_BEEN_REMOVED','unit-cache-','GLOBAL_ROOMS_CNT_EXCEEDS','[OfflineState]:\x20received\x20rejection.','origin','fetchThroughInterceptors','/role','_ENC_XFORM_MODE','_collaborationTimeoutTimer','open$','avatar','kdf','getMember','HmacMD5','mode','LEAVE','updateCollaborator','_onConnectionOpen','unsubscribe','symbol','updateOfflineData','_append','getCurrentSelections','__creator','RETRY_CONNECTING_MAX_COUNT','_scheduleCollaborationTimeoutTimer','_createHelper','_throwTelemetryCollaborationNewChangeset','[CollaborationEntity]','_pendingMutations','_transformIMECache','Univer','prototype','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','__Key__','getTypeOfUnitAdded$','/universer-api/uniscript','ENSURE_SNAPSHOT_EXECUTION','parse','length','HttpImport','_isPermissionRej','code','sigBytes'];_0x189b=function(){return _0x22cf4d;};return _0x189b();}const bs='collaboration_new_changeset';function Ds(_0x554d89){var _0x1a2ca0=_0xbde005;return JSON[_0x1a2ca0(0x40c)](_0x554d89)[_0x1a2ca0(0x372)];}var re=(_0x159e63=>(_0x159e63[_0xbde005(0x275)]=_0xbde005(0x275),_0x159e63['PERMISSION_DENIED']=_0xbde005(0x210),_0x159e63[_0xbde005(0x34a)]=_0xbde005(0x34a),_0x159e63[_0xbde005(0x14c)]=_0xbde005(0x14c),_0x159e63[_0xbde005(0x1c1)]='JOIN_ROOM_FAILED',_0x159e63[_0xbde005(0x3ff)]='SOCKET_FAILED_RETRY',_0x159e63['SOCKET_FAILED']='SOCKET_FAILED',_0x159e63[_0xbde005(0x33d)]=_0xbde005(0x33d),_0x159e63))(re||{});class ve{constructor(){var _0x5ef6b5=_0xbde005;D(this,_0x5ef6b5(0x3bf),new _0x5a35f4()),D(this,_0x5ef6b5(0x3ee),this[_0x5ef6b5(0x3bf)]['asObservable']());}[_0xbde005(0x1fb)](_0xe0003f){var _0x23fbe1=_0xbde005;this[_0x23fbe1(0x3bf)]['next'](_0xe0003f);}}class pi{constructor(){var _0x2fcb8a=_0xbde005;D(this,_0x2fcb8a(0x132),new _0x5a35f4()),D(this,_0x2fcb8a(0x28b),this[_0x2fcb8a(0x132)][_0x2fcb8a(0x267)]());}[_0xbde005(0x150)](_0x403896){this['_commentUpdate$']['next'](_0x403896);}}var ys=Object[_0xbde005(0x2eb)],Us=(_0xa49d31,_0x5ebc0a,_0x5c7bff,_0x16c513)=>{for(var _0x419de2=_0x16c513>0x1?void 0x0:_0x16c513?ys(_0x5ebc0a,_0x5c7bff):_0x5ebc0a,_0x45da22=_0xa49d31['length']-0x1,_0x5063db;_0x45da22>=0x0;_0x45da22--)(_0x5063db=_0xa49d31[_0x45da22])&&(_0x419de2=_0x5063db(_0x419de2)||_0x419de2);return _0x419de2;},Ft=(_0x11191a,_0x28cff2)=>(_0x48c45b,_0x388323)=>_0x28cff2(_0x48c45b,_0x388323,_0x11191a);let Pe=class extends _0x20bf78{constructor(_0x366d89,_0x40b26f){var _0x5f2654=_0xbde005;super(),D(this,_0x5f2654(0x1cd),new Map()),D(this,_0x5f2654(0x3c1),new _0x5a35f4()),(this[_0x5f2654(0x291)]=_0x366d89,this[_0x5f2654(0x209)]=_0x40b26f,this['disposeWithMe'](_0x521ca9(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x119145[_0x5f2654(0x388)])[_0x5f2654(0x2cb)](_0x465af3(_0x1db1c9=>_0x1db1c9[_0x5f2654(0x241)]())),this[_0x5f2654(0x291)][_0x5f2654(0x3a1)](_0x119145[_0x5f2654(0x16c)])[_0x5f2654(0x2cb)](_0x465af3(_0x5dfb36=>_0x5dfb36[_0x5f2654(0x241)]())),this[_0x5f2654(0x291)][_0x5f2654(0x3a1)](_0x119145[_0x5f2654(0x1e9)])[_0x5f2654(0x2cb)](_0x465af3(_0x388281=>_0x388281['getUnitId']())))[_0x5f2654(0x395)](_0x251459=>this[_0x5f2654(0x3ca)](_0x251459))));}['waitForRoom$'](_0x1e0ce0){var _0x410484=_0xbde005;return this[_0x410484(0x1cd)]['has'](_0x1e0ce0)?_0x27da9c(this['_roomMembers'][_0x410484(0x164)](_0x1e0ce0)):this[_0x410484(0x3c1)][_0x410484(0x2cb)](_0x465af3(_0x52afcf=>{var _0x33c902=_0x410484;if(_0x52afcf===_0x1e0ce0)return this[_0x33c902(0x1cd)][_0x33c902(0x164)](_0x52afcf);}));}[_0xbde005(0x3c4)](_0x1fd99e){var _0x1e866d=_0xbde005;this[_0x1e866d(0x209)][_0x1e866d(0x3c4)](_0x1fd99e);}[_0xbde005(0x1bb)](){var _0x124f9c=_0xbde005;return this['_userManagerService'][_0x124f9c(0x1bb)]();}[_0xbde005(0x22e)](_0x541b07,_0x59ad6a){var _0x5a11bf=_0xbde005;let _0x34707f=this['_roomMembers'][_0x5a11bf(0x164)](_0x541b07);_0x34707f||(_0x34707f=new As(),this[_0x5a11bf(0x1cd)][_0x5a11bf(0x3cf)](_0x541b07,_0x34707f),this[_0x5a11bf(0x3c1)][_0x5a11bf(0x3b6)](_0x541b07)),_0x34707f[_0x5a11bf(0x22e)](_0x59ad6a);}[_0xbde005(0x1d2)](_0x3fbfec,_0x555a8a){var _0x532672=_0xbde005;const _0x552239=this[_0x532672(0x1cd)][_0x532672(0x164)](_0x3fbfec);_0x552239&&_0x552239[_0x532672(0x1d2)](_0x555a8a);}[_0xbde005(0x3e4)](_0x178795){var _0x1b1499=_0xbde005;return this[_0x1b1499(0x1cd)][_0x1b1499(0x164)](_0x178795);}[_0xbde005(0x357)](_0x12ad84,_0x325f5e){var _0x7cff29=_0xbde005;const _0x19cee8=this[_0x7cff29(0x1cd)][_0x7cff29(0x164)](_0x12ad84);if(_0x19cee8)return _0x19cee8[_0x7cff29(0x357)](_0x325f5e);}['_removeRoom'](_0x99843c){var _0x277737=_0xbde005;const _0x23625b=this[_0x277737(0x1cd)][_0x277737(0x164)](_0x99843c);_0x23625b&&(_0x23625b[_0x277737(0x23a)](),this[_0x277737(0x1cd)]['delete'](_0x99843c));}[_0xbde005(0x23a)](){var _0x7b36cd=_0xbde005;this[_0x7b36cd(0x1cd)]['forEach'](_0x5d4646=>_0x5d4646[_0x7b36cd(0x23a)]()),this['_roomMembers'][_0x7b36cd(0x1d8)](),this[_0x7b36cd(0x3c1)]['complete']();}};Pe=Us([Ft(0x0,_0xecbae0),Ft(0x1,_0x51e0dc(_0x19ef74))],Pe);class As extends _0x20bf78{constructor(){var _0x43ec59=_0xbde005;super(...arguments),D(this,_0x43ec59(0x14d),new Map()),D(this,_0x43ec59(0x1b7),new _0x28d880(this[_0x43ec59(0x14d)])),D(this,'members$',this[_0x43ec59(0x1b7)][_0x43ec59(0x267)]());}['dispose'](){var _0x364fab=_0xbde005;this[_0x364fab(0x14d)][_0x364fab(0x1d8)]();}[_0xbde005(0x22e)](_0xfacc88){var _0x10e34d=_0xbde005;this[_0x10e34d(0x14d)][_0x10e34d(0x3cf)](_0xfacc88[_0x10e34d(0x3f4)],_0xfacc88),this[_0x10e34d(0x384)]();}[_0xbde005(0x1d2)](_0x91a616){var _0x3bf4bc=_0xbde005;this[_0x3bf4bc(0x14d)][_0x3bf4bc(0x203)](_0x91a616);}[_0xbde005(0x357)](_0x36f8b1){var _0x2b4b97=_0xbde005;return this[_0x2b4b97(0x14d)][_0x2b4b97(0x164)](_0x36f8b1);}[_0xbde005(0x17e)](){var _0x5a6fe0=_0xbde005;return Array['from'](this[_0x5a6fe0(0x14d)][_0x5a6fe0(0x270)]());}[_0xbde005(0x384)](){var _0x590aed=_0xbde005;this['_members$'][_0x590aed(0x3b6)](this[_0x590aed(0x14d)]);}}function _0x3d7d(_0x4a50d1,_0x24666c){_0x4a50d1=_0x4a50d1-0xf0;var _0x189b09=_0x189b();var _0x3d7dda=_0x189b09[_0x4a50d1];return _0x3d7dda;}var Ps=Object[_0xbde005(0x2eb)],ws=(_0x4a8606,_0x5bdf18,_0x19817c,_0x3c6e70)=>{var _0x179a74=_0xbde005;for(var _0x53dd74=_0x3c6e70>0x1?void 0x0:_0x3c6e70?Ps(_0x5bdf18,_0x19817c):_0x5bdf18,_0x5146bd=_0x4a8606[_0x179a74(0x372)]-0x1,_0x544d94;_0x5146bd>=0x0;_0x5146bd--)(_0x544d94=_0x4a8606[_0x5146bd])&&(_0x53dd74=_0x544d94(_0x53dd74)||_0x53dd74);return _0x53dd74;},Oe=(_0xe8ec53,_0x4ec665)=>(_0x33c6ad,_0x37fe8c)=>_0x4ec665(_0x33c6ad,_0x37fe8c,_0xe8ec53),me=(_0x35acfe=>(_0x35acfe[_0x35acfe[_0xbde005(0x1af)]=0x0]=_0xbde005(0x1af),_0x35acfe[_0x35acfe[_0xbde005(0x284)]=0x1]='JOINING',_0x35acfe[_0x35acfe[_0xbde005(0x1f2)]=0x2]=_0xbde005(0x1f2),_0x35acfe[_0x35acfe[_0xbde005(0x26a)]=0x3]=_0xbde005(0x26a),_0x35acfe))(me||{});const jt={[Ee[_0xbde005(0x169)]]:_0xbde005(0x138),[Ee[_0xbde005(0x13e)]]:_0xbde005(0x266),[Ee[_0xbde005(0x25d)]]:_0xbde005(0x3b9),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0xbde005(0x2f3),[Ee[_0xbde005(0x34d)]]:_0xbde005(0x234)};let mt=class extends _0x1e895e{constructor(_0x58266b,_0x5d1ab2,_0x10e98a,_0x2d0070,_0x3fe877,_0x1b4dc8,_0x1a1e84,_0x3d2db2){var _0x1d0c4a=_0xbde005;super(),D(this,_0x1d0c4a(0x2aa),new _0x28d880(0x0)),D(this,_0x1d0c4a(0x201),this[_0x1d0c4a(0x2aa)][_0x1d0c4a(0x267)]()),D(this,'_event$',new _0x5a35f4()),D(this,_0x1d0c4a(0x3ee),this[_0x1d0c4a(0x3bf)][_0x1d0c4a(0x267)]()),D(this,_0x1d0c4a(0x20b)),D(this,_0x1d0c4a(0x407)),D(this,'_collaborationTimeoutTimer'),D(this,_0x1d0c4a(0x25f),!0x1),D(this,'_telemetryInfo',null),(this[_0x1d0c4a(0x211)]=_0x58266b,this[_0x1d0c4a(0x11d)]=_0x10e98a,this[_0x1d0c4a(0x167)]=_0x2d0070,this['_memberService']=_0x3fe877,this['_commentService']=_0x1b4dc8,this[_0x1d0c4a(0x3b0)]=_0x1a1e84,this[_0x1d0c4a(0x3db)]=_0x3d2db2,this['_shouldReportTelemetry']=!!this[_0x1d0c4a(0x3db)],_0x5d1ab2['pipe'](_0x436a76(this[_0x1d0c4a(0x3a8)]))[_0x1d0c4a(0x395)](_0x5a4e94=>{var _0x421c58=_0x1d0c4a,_0x2f3ecc;typeof _0x5a4e94>'u'||(this[_0x421c58(0x20b)]=_0x5a4e94,_0x5a4e94?(this[_0x421c58(0x158)](_0x5a4e94),this[_0x421c58(0x407)]=_0x5a4e94['message$'][_0x421c58(0x395)](_0x2d82f7=>{var _0x24f3b2=_0x421c58;_0x2d82f7[_0x24f3b2(0x190)]===this[_0x24f3b2(0x211)]&&this[_0x24f3b2(0x140)](_0x2d82f7);})):(this[_0x421c58(0x366)](),this[_0x421c58(0x2aa)][_0x421c58(0x3b6)](0x2),(_0x2f3ecc=this[_0x421c58(0x407)])==null||_0x2f3ecc[_0x421c58(0x35d)](),this[_0x421c58(0x407)]=null));}));}get['sessionStatus'](){var _0x108a67=_0xbde005;return this[_0x108a67(0x2aa)]['getValue']();}['getMemberID'](){var _0x4e700a=_0xbde005,_0x4ed989,_0x49bd4c;return(_0x49bd4c=(_0x4ed989=this[_0x4e700a(0x20b)])==null?void 0x0:_0x4ed989[_0x4e700a(0x3f4)])!=null?_0x49bd4c:null;}[_0xbde005(0x23a)](){var _0x2b3e9b=_0xbde005;super[_0x2b3e9b(0x23a)](),this[_0x2b3e9b(0x3a8)][_0x2b3e9b(0x3b6)](),this['dispose$'][_0x2b3e9b(0x186)]();}[_0xbde005(0x405)](){var _0x5b0905=_0xbde005,_0x2a76cc,_0x2031e0;this[_0x5b0905(0x366)](),(_0x2a76cc=this[_0x5b0905(0x20b)])==null||_0x2a76cc['send']({'cmd':j[_0x5b0905(0x35a)],'data':{'roomID':this['_unitID']}}),(_0x2031e0=this['_socket'])==null||_0x2031e0[_0x5b0905(0x405)](),this[_0x5b0905(0x3bf)][_0x5b0905(0x186)](),this[_0x5b0905(0x2aa)][_0x5b0905(0x186)](),this[_0x5b0905(0x23a)]();}[_0xbde005(0x140)](_0x5b349a){var _0x27fdc0=_0xbde005;_0x5b349a['cmd']===j[_0x27fdc0(0x3bd)]?this['_onJoinRoomEvent'](_0x5b349a):_0x5b349a[_0x27fdc0(0x1f8)]===j['RECV']&&this['_onRecvEvent'](_0x5b349a);}[_0xbde005(0x158)](_0x376bb6){var _0x31ea8a=_0xbde005;this['_sessionStatus$'][_0x31ea8a(0x3b6)](0x1),_0x376bb6[_0x31ea8a(0x29d)]({'cmd':j[_0x31ea8a(0x3bd)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x31ea8a(0x211)]}]}});}['_onJoinRoomEvent'](_0x3afffb){var _0x57f632=_0xbde005,_0x2460b9;if(_0x3afffb[_0x57f632(0x375)]in jt){this[_0x57f632(0x3b0)]['emitEvent']({'id':re[_0x57f632(0x1c1)],'data':jt[_0x3afffb[_0x57f632(0x375)]]}),this[_0x57f632(0x2aa)][_0x57f632(0x3b6)](0x2);return;}this[_0x57f632(0x2aa)]['next'](0x3);const _0x3deaf6=(_0x2460b9=_0x3afffb[_0x57f632(0x336)][_0x57f632(0x377)][this['_unitID']])==null?void 0x0:_0x2460b9[_0x57f632(0x19c)];_0x3deaf6&&_0x3deaf6[_0x57f632(0x231)](_0x40cc7a=>this[_0x57f632(0x3e8)][_0x57f632(0x22e)](this['_unitID'],_0x40cc7a));}['_onRecvEvent'](_0x20acf2){var _0x7c098c=_0xbde005;try{const _0x59cff3=_0x20acf2[_0x7c098c(0x336)];switch(_0x59cff3[_0x7c098c(0x278)]){case _0xad0318[_0x7c098c(0x347)]:this[_0x7c098c(0x19d)](_0x59cff3),this['_event$'][_0x7c098c(0x3b6)](_0x59cff3);break;case _0xad0318[_0x7c098c(0x25b)]:this[_0x7c098c(0x1de)](_0x59cff3),this[_0x7c098c(0x3bf)][_0x7c098c(0x3b6)](_0x59cff3);break;case _0xad0318['CHANGESET_ACK']:case _0xad0318[_0x7c098c(0x2b5)]:this[_0x7c098c(0x3d8)](),this[_0x7c098c(0x37d)](),this['_event$'][_0x7c098c(0x3b6)](_0x59cff3);break;case _0xad0318['MSG_FOR_ERROR']:this[_0x7c098c(0x11d)][_0x7c098c(0x2e4)](_0x7c098c(0x2b4)+JSON[_0x7c098c(0x40c)](_0x59cff3)),this['_event$'][_0x7c098c(0x3b6)](_0x59cff3);break;case _0xad0318[_0x7c098c(0x3d0)]:this[_0x7c098c(0x272)][_0x7c098c(0x150)](_0x59cff3['data']),this['_event$'][_0x7c098c(0x3b6)](_0x59cff3);break;default:this['_event$'][_0x7c098c(0x3b6)](_0x59cff3);}}catch(_0x2bc81e){this[_0x7c098c(0x11d)][_0x7c098c(0x2e4)](_0x2bc81e,_0x20acf2);}}[_0xbde005(0x19d)](_0xcce1a){var _0x25e1e1=_0xbde005;this[_0x25e1e1(0x3e8)][_0x25e1e1(0x22e)](this[_0x25e1e1(0x211)],_0xcce1a[_0x25e1e1(0x336)]);}[_0xbde005(0x1de)](_0x36b4f0){var _0x2cbaf5=_0xbde005;this[_0x2cbaf5(0x3e8)]['removeMember'](this[_0x2cbaf5(0x211)],_0x36b4f0['data'][_0x2cbaf5(0x3f4)]);}async[_0xbde005(0x29d)](_0x2b65ce,_0xf6ea03){var _0x52e995=_0xbde005;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x52e995(0x306));try{_0x2b65ce[_0x52e995(0x278)]===_0xad0318[_0x52e995(0x380)]&&(this[_0x52e995(0x364)](),this[_0x52e995(0x189)](_0x2b65ce)),this[_0x52e995(0x20b)][_0x52e995(0x29d)]({'cmd':j[_0x52e995(0x30b)],'routeKey':_0xf6ea03,'routeType':'','data':_0x2b65ce});}catch(_0x4230d0){this['_logService']['error'](_0x4230d0);}}[_0xbde005(0x364)](){var _0x560ec9=_0xbde005,_0x26dbb3;this[_0x560ec9(0x353)]=setTimeout(()=>{var _0x4a6cc0=_0x560ec9;this[_0x4a6cc0(0x353)]=null,this[_0x4a6cc0(0x3b0)]['emitEvent']({'id':re[_0x4a6cc0(0x33d)]});},(_0x26dbb3=this['_configService'][_0x560ec9(0x3fc)](di))!=null?_0x26dbb3:fi);}[_0xbde005(0x37d)](){var _0x4295a4=_0xbde005;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x4295a4(0x353)]),this[_0x4295a4(0x353)]=null);}[_0xbde005(0x189)](_0x5a655e){var _0x109ba8=_0xbde005;if(!this['_shouldReportTelemetry'])return;const {data:_0x1bf03b}=_0x5a655e,{unitID:_0x3c6fa7,changeset:_0x82bd2e}=_0x1bf03b,{mutations:_0x54a447,type:_0x3b8a7c}=_0x82bd2e;this[_0x109ba8(0x3f1)]={'unitId':_0x3c6fa7,'type':_0x3b8a7c,'startTime':performance[_0x109ba8(0x268)](),'stopTime':0x0,'duration':0x0,'size':Ds(_0x54a447)};}[_0xbde005(0x3d8)](){var _0xd1e973=_0xbde005;if(this[_0xd1e973(0x25f)]){if(!this[_0xd1e973(0x3f1)]){this[_0xd1e973(0x11d)][_0xd1e973(0x2e4)](_0xd1e973(0x334),_0xd1e973(0x3c2));return;}this['_telemetryInfo'][_0xd1e973(0xf4)]=performance[_0xd1e973(0x268)](),this[_0xd1e973(0x3f1)][_0xd1e973(0x2d6)]=this['_telemetryInfo']['stopTime']-this[_0xd1e973(0x3f1)][_0xd1e973(0x1d4)],this[_0xd1e973(0x3db)]['capture'](bs,this[_0xd1e973(0x3f1)]),this[_0xd1e973(0x3f1)]=null;}}[_0xbde005(0x366)](){var _0x333645=_0xbde005;this[_0x333645(0x3f1)]=null;}};mt=ws([Oe(0x2,_0x9e9972),Oe(0x3,_0x50f0f7),Oe(0x4,_0x51e0dc(Pe)),Oe(0x5,_0x51e0dc(pi)),Oe(0x6,_0x51e0dc(ve)),Oe(0x7,_0x581e15(_0x243bad))],mt);const X=_0x1814eb(_0xbde005(0x178));function Dr(_0x34cce2){var _0x3e17e9=_0xbde005;return _0x3e17e9(0x34c)+_0x34cce2;}var Ls=Object['getOwnPropertyDescriptor'],Ms=(_0x55f63a,_0x4be439,_0x5f64b1,_0x2d1c07)=>{var _0x2fe007=_0xbde005;for(var _0x5705e0=_0x2d1c07>0x1?void 0x0:_0x2d1c07?Ls(_0x4be439,_0x5f64b1):_0x4be439,_0x306e5e=_0x55f63a[_0x2fe007(0x372)]-0x1,_0x5a2f60;_0x306e5e>=0x0;_0x306e5e--)(_0x5a2f60=_0x55f63a[_0x306e5e])&&(_0x5705e0=_0x5a2f60(_0x5705e0)||_0x5705e0);return _0x5705e0;},ut=(_0xd30a32,_0x238256)=>(_0x59367f,_0x5616b7)=>_0x238256(_0x59367f,_0x5616b7,_0xd30a32);function xs(_0x5f4939){var _0x4a747f=_0xbde005;const {unitID:_0x5922f3,mutations:_0x3e783a}=_0x5f4939;return{'unitId':_0x5922f3,'subUnitId':_0x3e783a['length']>0x0?_0x3e783a[0x0][_0x4a747f(0x233)]['subUnitId']:null};}let it=class{constructor(_0x420025,_0x5076eb,_0x3a33bd){var _0x266e9c=_0xbde005;this[_0x266e9c(0x342)]=_0x420025,this['_transformService']=_0x5076eb,this[_0x266e9c(0x12a)]=_0x3a33bd;}[_0xbde005(0x288)](_0x785715){var _0x49ac6f=_0xbde005,_0xf6607b,_0x3e0990,_0x3560e3,_0x7f9700;const _0x45c1e6=this['_injector'][_0x49ac6f(0x164)](_0xcb52c8),{unitId:_0x5c7f07,subUnitId:_0xeacbc8}=xs(_0x785715),_0x2fce02=_0x45c1e6==null?void 0x0:_0x45c1e6['getWorkbookSelections'](_0x5c7f07)[_0x49ac6f(0x361)](),_0x16a11b=(_0x3e0990=(_0xf6607b=this[_0x49ac6f(0x12a)][_0x49ac6f(0x39f)](_0x5c7f07))==null?void 0x0:_0xf6607b[_0x49ac6f(0x23d)]())==null?void 0x0:_0x3e0990[_0x49ac6f(0x18e)]();if(_0x2fce02[_0x49ac6f(0x372)]===0x0||!_0x5c7f07||!_0xeacbc8)return;const _0x21d666=[{'id':_0x22c69e['id'],'params':{'unitId':_0x5c7f07,'subUnitId':_0x16a11b,'selections':_0x2de3b9[_0x49ac6f(0x1df)](_0x2fce02)}}],_0x2b4275=this[_0x49ac6f(0x2b6)]['transformMutationsWithChangeset'](_0x785715,_0x21d666);if(!_0x30de82(_0x2b4275))throw _0x2b4275[_0x49ac6f(0x2e4)];const _0x163acb=(_0x7f9700=(_0x3560e3=_0x2b4275['m2Prime'][0x0])==null?void 0x0:_0x3560e3[_0x49ac6f(0x233)])==null?void 0x0:_0x7f9700['selections'];if(Array[_0x49ac6f(0x174)](_0x163acb)&&_0x163acb[_0x49ac6f(0x372)]){if(_0x163acb[_0x49ac6f(0x372)]===_0x21d666[0x0]['params'][_0x49ac6f(0xf7)][_0x49ac6f(0x372)]&&_0x163acb[_0x49ac6f(0x247)]((_0x3d85d3,_0x5ae967)=>_0x26c7ad['equals'](_0x3d85d3[_0x49ac6f(0x1c3)],_0x21d666[0x0][_0x49ac6f(0x233)][_0x49ac6f(0xf7)][_0x5ae967]['range'])))return;this[_0x49ac6f(0x342)][_0x49ac6f(0x164)](_0x2d6439)[_0x49ac6f(0x18b)](_0x22c69e['id'],{'unitId':_0x5c7f07,'subUnitId':_0x16a11b,'selections':_0x163acb});}}};it=Ms([ut(0x0,_0x51e0dc(_0x20c230)),ut(0x1,_0x54f44a),ut(0x2,_0xecbae0)],it);const _t=_0x1814eb(_0xbde005(0x274));var mi=(_0x4b988c=>(_0x4b988c[_0x4b988c['NO_OTHER_CLIENTS_EDITING']=0x0]=_0xbde005(0x3e0),_0x4b988c[_0x4b988c[_0xbde005(0x1ff)]=0x1]=_0xbde005(0x1ff),_0x4b988c))(mi||{});const K=_0xbde005(0x3bb),ks={};function $s(_0x2d7e79){var _0x3000b0=_0xbde005,_0x419f91;return!!((_0x419f91=_0x2d7e79[_0x3000b0(0x233)])!=null&&_0x419f91[_0x3000b0(0x3fb)]);}const Hs=new Set([_0x206e7b['id']]);function Vt(_0x249860,_0x213b56,_0x140329,_0x1da979,_0x5600d3){var _0x318be7=_0xbde005,_0x3cd383,_0x5ca2d9,_0x3d7735,_0x52b377;const _0x20244b=[];for(const _0xa40e9f of _0x249860){if(Hs[_0x318be7(0x148)](_0xa40e9f['id'])){if(_0x20244b[_0x318be7(0x372)]>0x0)break;_0x20244b['push'](_0xa40e9f);break;}if($s(_0xa40e9f)){if(_0x20244b[_0x318be7(0x372)]>0x0)break;_0x20244b[_0x318be7(0x38b)](_0xa40e9f);break;}_0x20244b[_0x318be7(0x38b)](_0xa40e9f);}const _0x23a4b4=(_0x5ca2d9=(_0x3cd383=_0x5600d3[_0x318be7(0x1bb)]())==null?void 0x0:_0x3cd383[_0x318be7(0x1f3)])!=null?_0x5ca2d9:_0x318be7(0x2b7),_0x2968a5=(_0x52b377=(_0x3d7735=_0x5600d3[_0x318be7(0x1bb)]())==null?void 0x0:_0x3d7735['memberID'])!=null?_0x52b377:_0x318be7(0x2b7);return{'changeset':{'unitID':_0x213b56,'type':_0x3496fc(_0x140329[_0x318be7(0x12b)](_0x213b56)),'baseRev':_0x1da979[_0x318be7(0x10a)](_0x213b56),'revision':0x0,'userID':_0x23a4b4,'memberID':_0x2968a5,'mutations':_0x20244b},'pendingMutations':_0x249860[_0x318be7(0x38f)](_0x20244b[_0x318be7(0x372)])};}function Bs(_0x41d0bd,_0x5ddcaa,_0x4a53d8,_0x5237cc,_0x58dad2){var _0x3132c4=_0xbde005,_0x173396,_0x414972,_0x517a27,_0x2522ab;const _0x4fc509=[_0x41d0bd[_0x3132c4(0x182)]((_0x4ad68d,_0xa35ebe)=>{var _0x20ea2a=_0x3132c4,_0x5a5971;const {id:_0x252ced}=_0x4ad68d,{id:_0x5ea599,type:_0x4853f4}=_0xa35ebe,_0x48bc84=(_0x5a5971=_0x4ad68d[_0x20ea2a(0x233)])!=null?_0x5a5971:{'actions':null},_0x36cc8c=_0xa35ebe['params'];if(_0x252ced&&_0x252ced!==_0x5ea599)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x252ced+_0x20ea2a(0x218)+_0x5ea599+'.');return{..._0x4ad68d,'id':_0x5ea599,'type':_0x4853f4,'params':{'unitId':_0x36cc8c[_0x20ea2a(0x28c)],'textRanges':_0x36cc8c[_0x20ea2a(0x13a)],'actions':_0x5b82f1[_0x20ea2a(0x324)](_0x48bc84['actions'],_0x36cc8c[_0x20ea2a(0x1c0)])}};},{})],_0x28c12d=(_0x414972=(_0x173396=_0x58dad2[_0x3132c4(0x1bb)]())==null?void 0x0:_0x173396[_0x3132c4(0x1f3)])!=null?_0x414972:'unknown',_0x221177=(_0x2522ab=(_0x517a27=_0x58dad2['getCurrentUser']())==null?void 0x0:_0x517a27[_0x3132c4(0x3f4)])!=null?_0x2522ab:'unknown';return{'changeset':{'unitID':_0x5ddcaa,'type':_0x3496fc(_0x4a53d8['getUnitType'](_0x5ddcaa)),'baseRev':_0x5237cc[_0x3132c4(0x10a)](_0x5ddcaa),'revision':0x0,'userID':_0x28c12d,'memberID':_0x221177,'mutations':_0x4fc509},'pendingMutations':[]};}function Ii(_0x3bce57,_0x450353){var _0x57fb75=_0xbde005;const _0x2bfbac=new _0x2c0fbe(0x1);return setTimeout(()=>_0x2bfbac[_0x57fb75(0x3b6)](_0x450353),_0x3bce57),_0x2bfbac[_0x57fb75(0x267)]()[_0x57fb75(0x2cb)](_0x2a23c8(0x1));}var Fs=Object['getOwnPropertyDescriptor'],Se=(_0x21c653,_0x1d4711,_0x5c8534,_0xe8036c)=>{var _0x4d1106=_0xbde005;for(var _0x5b7084=_0xe8036c>0x1?void 0x0:_0xe8036c?Fs(_0x1d4711,_0x5c8534):_0x1d4711,_0x122dc6=_0x21c653[_0x4d1106(0x372)]-0x1,_0x43a7f8;_0x122dc6>=0x0;_0x122dc6--)(_0x43a7f8=_0x21c653[_0x122dc6])&&(_0x5b7084=_0x43a7f8(_0x5b7084)||_0x5b7084);return _0x5b7084;},w=(_0xcce46b,_0x38e1e4)=>(_0x2b7136,_0x24b892)=>_0x38e1e4(_0x2b7136,_0x24b892,_0xcce46b),Si=(_0x46b350=>(_0x46b350[_0xbde005(0x2ab)]=_0xbde005(0x2e7),_0x46b350[_0xbde005(0x2bd)]='synced',_0x46b350['PENDING']=_0xbde005(0x104),_0x46b350['AWAITING']='awaiting',_0x46b350['AWAITING_WITH_PENDING']=_0xbde005(0x20a),_0x46b350['FETCH_MISS']=_0xbde005(0x11c),_0x46b350[_0xbde005(0x34a)]=_0xbde005(0x23e),_0x46b350[_0xbde005(0x1f2)]=_0xbde005(0x240),_0x46b350))(Si||{});const gi=0x4e20,Ti=0x2bf20;class ge{constructor(_0x5a7556,_0x2baba9,_0x1ce4a5,_0x58e725,_0x1d2b39,_0x34f13f,_0x5b048c,_0x5f19e0,_0xd6ab23){var _0x301f9b=_0xbde005;D(this,_0x301f9b(0x175),null),D(this,_0x301f9b(0x368),[]),(this[_0x301f9b(0x2c0)]=_0x5a7556,this[_0x301f9b(0x2df)]=_0x2baba9,this[_0x301f9b(0x3da)]=_0x1d2b39,this['_commandService']=_0x34f13f,this[_0x301f9b(0x3cb)]=_0x5b048c,this['_revisionService']=_0x5f19e0,this[_0x301f9b(0x21e)]=_0xd6ab23,this[_0x301f9b(0x175)]=_0x1ce4a5,this[_0x301f9b(0x368)]=_0x58e725);}[_0xbde005(0x2c5)](_0x10d61c){var _0x3d5a14=_0xbde005;const _0x495526=this[_0x3d5a14(0x3a7)]['getCurrentRevOfUnit'](this[_0x3d5a14(0x2c0)]);return _0x10d61c['revision']>_0x495526+0x1?(this[_0x3d5a14(0x3da)][_0x3d5a14(0x177)]({'from':_0x495526,'to':_0x10d61c[_0x3d5a14(0x2ee)]-0x1}),!0x0):!0x1;}[_0xbde005(0x31e)](_0x49ed76){var _0x41e032=_0xbde005;this[_0x41e032(0x3cb)][_0x41e032(0x402)](this[_0x41e032(0x2c0)],_0x49ed76);}['_transformSelections'](_0x141198){var _0x771ad3=_0xbde005,_0x24c69b,_0x113016;(_0x113016=(_0x24c69b=this[_0x771ad3(0x3da)])[_0x771ad3(0x24c)])==null||_0x113016[_0x771ad3(0x122)](_0x24c69b,_0x141198);}[_0xbde005(0x369)](_0x1b1a37){var _0x4fde1b=_0xbde005,_0x23e0f7,_0x1cd598;return(_0x1cd598=(_0x23e0f7=this[_0x4fde1b(0x3da)])['onTransformIME'])==null?void 0x0:_0x1cd598[_0x4fde1b(0x122)](_0x23e0f7,_0x1b1a37);}[_0xbde005(0x1ae)](_0x585001){var _0x57d06e=_0xbde005,_0x5a59d7,_0x4b4312;return(_0x4b4312=(_0x5a59d7=this[_0x57d06e(0x3da)])[_0x57d06e(0x3e6)])==null?void 0x0:_0x4b4312[_0x57d06e(0x122)](_0x5a59d7,_0x585001);}[_0xbde005(0x3c3)](_0x54456f){var _0x577290=_0xbde005,_0x395485,_0x4fb5ee,_0x4b4225;return(_0x4b4225=(_0x4fb5ee=(_0x395485=this[_0x577290(0x3da)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4fb5ee[_0x577290(0x122)](_0x395485,_0x54456f))!=null?_0x4b4225:_0x54456f;}[_0xbde005(0x3a6)](_0x15fa60){var _0x4e594c=_0xbde005,_0x1cde2f,_0xb63cc2,_0x1d4535;return(_0x1d4535=(_0xb63cc2=(_0x1cde2f=this[_0x4e594c(0x3da)])[_0x4e594c(0x29a)])==null?void 0x0:_0xb63cc2[_0x4e594c(0x122)](_0x1cde2f,_0x15fa60))!=null?_0x1d4535:_0x15fa60;}['_syncEditingCollabCursor'](_0x44486c){var _0x4ccb17=_0xbde005,_0xb03a7,_0x8f0818;if(this['type']===Q[_0x4ccb17(0x16c)]){const {unitID:_0x383bad,mutations:_0x364663,memberID:_0x59b7e9}=_0x44486c,_0xe39445=_0x364663['length']>0x0?_0x364663[0x0][_0x4ccb17(0x233)][_0x4ccb17(0x13a)]:[];Array[_0x4ccb17(0x174)](_0xe39445)&&_0xe39445['length']>0x0&&((_0x8f0818=(_0xb03a7=this[_0x4ccb17(0x3da)])[_0x4ccb17(0x1a0)])==null||_0x8f0818[_0x4ccb17(0x122)](_0xb03a7,{'unitID':_0x383bad,'memberID':_0x59b7e9,'textRanges':_0xe39445}));}}[_0xbde005(0x264)](){var _0x5e1c2a=_0xbde005,_0x5bc7f2;(_0x5bc7f2=this[_0x5e1c2a(0x21e)])==null||_0x5bc7f2['updateOfflineData'](this['unitID'],this[_0x5e1c2a(0x2df)],this[_0x5e1c2a(0x175)],this[_0x5e1c2a(0x368)]);}['_getCurrentRevision'](){var _0x7225c2=_0xbde005;return this['_revisionService'][_0x7225c2(0x10a)](this[_0x7225c2(0x2c0)]);}['_incrementRevisionNumber'](){var _0x1d86f9=_0xbde005;this[_0x1d86f9(0x3a7)]['incrementRevOfUnit'](this[_0x1d86f9(0x2c0)]);}[_0xbde005(0x2db)](_0x467049){var _0x3f1919=_0xbde005,_0x59bfbd;let _0x2af2e9=this[_0x3f1919(0x3c3)](_0x467049);_0x2af2e9=this[_0x3f1919(0x3a6)](_0x2af2e9);const _0x48ac5a=_0x163ab7(_0x2af2e9['mutations'],this[_0x3f1919(0x24b)],{'fromCollab':!0x0});if(!_0x48ac5a['result'])throw _0x48ac5a[_0x3f1919(0x2e4)]instanceof Error?_0x48ac5a['error']:new Error((_0x59bfbd=_0x48ac5a['error'])!=null?_0x59bfbd:_0x3f1919(0x1bd));this[_0x3f1919(0x369)](_0x2af2e9),this[_0x3f1919(0x1ae)](_0x2af2e9),this[_0x3f1919(0x31e)](_0x467049),this[_0x3f1919(0x19b)](_0x2af2e9),this[_0x3f1919(0x1b9)](_0x2af2e9),this[_0x3f1919(0x2c4)]();}}let be=class extends ge{constructor(_0x31fdd5,_0x2bcad8,_0x2a5807,_0x3a910a,_0x4b6c21,_0x1571d1,_0x2bcf20,_0x2b175f,_0x3d60a0,_0x38c5fb){var _0x416d41=_0xbde005;super(_0x31fdd5,_0x2bcad8,null,[],_0x2a5807,_0x2bcf20,_0x1571d1,_0x3a910a,_0x38c5fb),D(this,_0x416d41(0x2ba),_0x416d41(0x308)),(this[_0x416d41(0x342)]=_0x4b6c21,this[_0x416d41(0x11d)]=_0x2b175f,this['_transformService']=_0x3d60a0,this[_0x416d41(0x3a5)]=_0x38c5fb);}[_0xbde005(0x176)](_0x57a46c){var _0xbed337=_0xbde005;const _0x36f349=this[_0xbed337(0x342)]['createInstance'](ae,this[_0xbed337(0x2c0)],this[_0xbed337(0x2df)],[_0x57a46c],this[_0xbed337(0x3da)]);return _0x36f349[_0xbed337(0x3a2)](),_0x36f349[_0xbed337(0x264)](),_0x36f349;}[_0xbde005(0x17b)](_0x5a5fb4){var _0x1a9523=_0xbde005;if(this['_checkMissing'](_0x5a5fb4))return this[_0x1a9523(0x342)]['createInstance'](ee,this[_0x1a9523(0x2c0)],this[_0x1a9523(0x2df)],null,[],null,[_0x5a5fb4],this[_0x1a9523(0x3da)]);try{const _0x1edc41=this[_0x1a9523(0x2b6)][_0x1a9523(0x280)](_0x5a5fb4,[_0x2d9413]);if(_0x30de82(_0x1edc41)){const {c1Prime:_0x15e2f7}=_0x1edc41;return this[_0x1a9523(0x2db)](_0x15e2f7),this;}throw _0x1edc41[_0x1a9523(0x2e4)];}catch(_0x3e1f8b){return this[_0x1a9523(0x11d)][_0x1a9523(0x2e4)](_0x3e1f8b),this[_0x1a9523(0x19f)](!0x1);}}[_0xbde005(0x19f)](_0x4ffdfc){var _0x396a53=_0xbde005;return this[_0x396a53(0x342)][_0x396a53(0x340)](ue,this[_0x396a53(0x2c0)],this[_0x396a53(0x2df)],null,[],this[_0x396a53(0x3da)],_0x4ffdfc);}[_0xbde005(0x154)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0xbde005(0x305)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0xbde005(0x22a)](){var _0x538633=_0xbde005;return this[_0x538633(0x342)]['createInstance'](de,this[_0x538633(0x2c0)],this['type'],null,[],this[_0x538633(0x3da)]);}[_0xbde005(0x327)](){return this;}['resend'](){var _0x368753=_0xbde005;throw new Error(_0x368753(0x245));}[_0xbde005(0x1a6)](){var _0x2d9e81=_0xbde005;const _0x5e1bb6=this[_0x2d9e81(0x3a7)][_0x2d9e81(0x10a)](this[_0x2d9e81(0x2c0)]);return this['_handler']['onMissingChangesets']({'from':_0x5e1bb6,'to':0x0}),this[_0x2d9e81(0x342)]['createInstance'](ee,this[_0x2d9e81(0x2c0)],this[_0x2d9e81(0x2df)],null,[],null,[],this[_0x2d9e81(0x3da)]);}};be=Se([w(0x3,_0x51e0dc(_0x38ef90)),w(0x4,_0x51e0dc(_0x20c230)),w(0x5,_0x15b98e),w(0x6,_0x2d6439),w(0x7,_0x9e9972),w(0x8,_0x54f44a),w(0x9,_0x581e15(X))],be);let ae=class extends ge{constructor(_0x5a7f27,_0x23e099,_0x3bee7c,_0x486a44,_0x14342e,_0x352dd2,_0x3de315,_0x4dcfdf,_0x5d2413,_0x1af4cc,_0x28636a,_0x10fc29,_0x1e91a5,_0xc0f29d){var _0x5424ae=_0xbde005;super(_0x5a7f27,_0x23e099,null,_0x3bee7c,_0x486a44,_0x5d2413,_0x1e91a5,_0x352dd2,_0xc0f29d),D(this,_0x5424ae(0x2ba),'pending'),D(this,_0x5424ae(0x1a8),null),D(this,'_sendingTimer',null),(this[_0x5424ae(0x342)]=_0x14342e,this[_0x5424ae(0x3e8)]=_0x3de315,this[_0x5424ae(0x11d)]=_0x4dcfdf,this[_0x5424ae(0x167)]=_0x1af4cc,this[_0x5424ae(0x2b6)]=_0x28636a,this[_0x5424ae(0x291)]=_0x10fc29);}[_0xbde005(0x176)](_0x30e500){var _0x17058e=_0xbde005;return this[_0x17058e(0x368)]['push'](_0x30e500),this[_0x17058e(0x264)](),this;}[_0xbde005(0x17b)](_0x4ddd7c){var _0x534328=_0xbde005;if(this[_0x534328(0x2c5)](_0x4ddd7c))return this['_clearScheduledTask'](),this['_injector'][_0x534328(0x340)](ee,this[_0x534328(0x2c0)],this['type'],null,this[_0x534328(0x368)],null,[_0x4ddd7c],this[_0x534328(0x3da)]);try{const _0x8ac460=this[_0x534328(0x2b6)]['transformMutationsWithChangeset'](_0x4ddd7c,this[_0x534328(0x368)]);if(_0x30de82(_0x8ac460)){const {c1Prime:_0x579bd4,m2Prime:_0x2fabad}=_0x8ac460;this[_0x534328(0x2db)](_0x579bd4);const _0x2bae2e=this[_0x534328(0x342)][_0x534328(0x340)](ae,this['unitID'],this[_0x534328(0x2df)],_0x2fabad,this[_0x534328(0x3da)]);this[_0x534328(0x3f9)]();const _0x2ca4a1=new Date()[_0x534328(0x338)](),_0x193686=this['_scheduleCompleteTimestamp']?Math[_0x534328(0x295)](this[_0x534328(0x1a8)]-_0x2ca4a1,0x0):this['_getSendChangesetTimeout']();return _0x2bae2e[_0x534328(0x3a2)](_0x193686),_0x2bae2e;}throw _0x8ac460[_0x534328(0x2e4)];}catch(_0x2f3175){return this[_0x534328(0x11d)][_0x534328(0x2e4)](_0x2f3175),this[_0x534328(0x19f)](!0x1);}}[_0xbde005(0x154)](){var _0x3289ef=_0xbde005;throw new Error(_0x3289ef(0x38e));}[_0xbde005(0x305)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0xbde005(0x2af)](){return this;}[_0xbde005(0x22a)](){var _0x3b5b27=_0xbde005;return this['_clearScheduledTask'](),this[_0x3b5b27(0x342)][_0x3b5b27(0x340)](de,this[_0x3b5b27(0x2c0)],this['type'],null,this[_0x3b5b27(0x368)],this['_handler']);}[_0xbde005(0x327)](){return this;}['_schedule'](_0x4e1327){var _0x19649d=_0xbde005;const _0x547b57=_0x4e1327!=null?_0x4e1327:this[_0x19649d(0x2e6)]();this['_scheduleCompleteTimestamp']=new Date()[_0x19649d(0x338)]()+_0x547b57,this['_sendingTimer']=setTimeout(()=>{var _0x508389=_0x19649d;this['_clearScheduledTask']();let _0x552897=null;switch(this[_0x508389(0x2df)]){case Q[_0x508389(0x388)]:{_0x552897=Vt(this[_0x508389(0x368)],this['unitID'],this['_univerInstanceService'],this[_0x508389(0x3a7)],this[_0x508389(0x3e8)]);break;}case Q[_0x508389(0x16c)]:{this[_0x508389(0x368)][_0x508389(0x247)](_0x41acf9=>_0x41acf9['id']===_0x15e2ec['id'])?_0x552897=Bs(this[_0x508389(0x368)],this[_0x508389(0x2c0)],this[_0x508389(0x291)],this[_0x508389(0x3a7)],this[_0x508389(0x3e8)]):_0x552897=Vt(this[_0x508389(0x368)],this[_0x508389(0x2c0)],this[_0x508389(0x291)],this[_0x508389(0x3a7)],this[_0x508389(0x3e8)]);break;}default:throw new Error(_0x508389(0x37c)+this[_0x508389(0x2df)]+'\x20in\x20_schedule.');}const {changeset:_0x47c07b,pendingMutations:_0x569198}=_0x552897;this[_0x508389(0x3da)]['onSendChangeset'](_0x47c07b);const _0x5aa521=_0x569198[_0x508389(0x372)]?this[_0x508389(0x342)][_0x508389(0x340)](oe,this[_0x508389(0x2c0)],this[_0x508389(0x2df)],_0x47c07b,_0x569198,this[_0x508389(0x3da)],void 0x0):this['_injector'][_0x508389(0x340)](le,this[_0x508389(0x2c0)],this['type'],_0x47c07b,this[_0x508389(0x3da)]);_0x5aa521[_0x508389(0x264)](),this['_handler'][_0x508389(0x343)](this,_0x5aa521);},_0x547b57);}['_getSendChangesetTimeout'](){var _0x3795cd=_0xbde005,_0x486f89;const _0x15e616=this[_0x3795cd(0x167)][_0x3795cd(0x3fc)](K);return(_0x486f89=_0x15e616==null?void 0x0:_0x15e616[_0x3795cd(0x22f)])!=null?_0x486f89:ms;}[_0xbde005(0x3e9)](){var _0x388832=_0xbde005;throw new Error(_0x388832(0x28a));}[_0xbde005(0x3f9)](){var _0x5c65db=_0xbde005;this[_0x5c65db(0x304)]!=null&&(clearTimeout(this[_0x5c65db(0x304)]),this[_0x5c65db(0x304)]=null);}[_0xbde005(0x19f)](_0x415ded){var _0x52fe61=_0xbde005;return this['_clearScheduledTask'](),this['_injector']['createInstance'](ue,this[_0x52fe61(0x2c0)],this[_0x52fe61(0x2df)],null,this[_0x52fe61(0x368)],this[_0x52fe61(0x3da)],_0x415ded);}};ae=Se([w(0x4,_0x51e0dc(_0x20c230)),w(0x5,_0x51e0dc(_0x38ef90)),w(0x6,_0x51e0dc(Pe)),w(0x7,_0x9e9972),w(0x8,_0x2d6439),w(0x9,_0x50f0f7),w(0xa,_0x54f44a),w(0xb,_0xecbae0),w(0xc,_0x15b98e),w(0xd,_0x581e15(X))],ae);let le=class extends ge{constructor(_0x4df9e9,_0x1c0482,_0x335599,_0x52592f,_0x40af7f,_0x3adf25,_0x779e5f,_0x177795,_0x45e3e7,_0xf0a097,_0x25fc55){var _0x51e293=_0xbde005;super(_0x4df9e9,_0x1c0482,_0x335599,[],_0x52592f,_0x779e5f,_0xf0a097,_0x3adf25,_0x25fc55),D(this,'status','awaiting'),D(this,'_resendTimeout',0x0),D(this,_0x51e293(0x29b),0x0),D(this,'_resendTimer'),D(this,_0x51e293(0x21b)),(this[_0x51e293(0x342)]=_0x40af7f,this[_0x51e293(0x11d)]=_0x177795,this[_0x51e293(0x2b6)]=_0x45e3e7);}[_0xbde005(0x176)](_0x4053db){var _0x273056=_0xbde005;this['_clearScheduledTask']();const _0x349229=this['_injector']['createInstance'](oe,this[_0x273056(0x2c0)],this[_0x273056(0x2df)],this['_awaitingChangeset'],[_0x4053db],this[_0x273056(0x3da)],this[_0x273056(0x2f4)]);return _0x349229[_0x273056(0x264)](),_0x349229;}[_0xbde005(0x17b)](_0x42e512){var _0x222f25=_0xbde005;if(this[_0x222f25(0x2c5)](_0x42e512))return this['_clearScheduledTask'](),this['_injector'][_0x222f25(0x340)](ee,this[_0x222f25(0x2c0)],this[_0x222f25(0x2df)],this[_0x222f25(0x175)],[],null,[_0x42e512],this['_handler']);try{const _0xba9497=this[_0x222f25(0x2b6)][_0x222f25(0x242)]([_0x42e512],[this['_awaitingChangeset']],!0x1);if(_0x269a06(_0xba9497)){const {c1Prime:_0x54a58,c2Prime:_0x3a416b}=_0xba9497;this[_0x222f25(0x2db)](_0x54a58[0x0]),_0x3a416b[0x0]['baseRev']=this[_0x222f25(0x3ec)](),this[_0x222f25(0x3f9)]();const _0x563807=this[_0x222f25(0x342)][_0x222f25(0x340)](le,this[_0x222f25(0x2c0)],this[_0x222f25(0x2df)],_0x3a416b[0x0],this[_0x222f25(0x3da)]);return _0x563807['_updateLocalCache'](),_0x563807;}return this[_0x222f25(0x19f)](!0x1);}catch(_0x40162c){return this['_logService'][_0x222f25(0x2e4)](_0x40162c),this['_onConflict'](!0x1);}}[_0xbde005(0x154)](_0x15a2ed){var _0x217539=_0xbde005;this['_clearScheduledTask']();const _0x96b5ff=this[_0x217539(0x3a7)][_0x217539(0x10a)](this[_0x217539(0x2c0)]);if(_0x15a2ed['revision']<_0x96b5ff-0x1)return this;if(this['_checkMissing'](_0x15a2ed))return this[_0x217539(0x342)][_0x217539(0x340)](ee,this['unitID'],this[_0x217539(0x2df)],null,[],this['_awaitingChangeset'],[],this[_0x217539(0x3da)]);this['_incrementRevisionNumber']();const _0x2ce460=this[_0x217539(0x342)][_0x217539(0x340)](be,this['unitID'],this[_0x217539(0x2df)],this[_0x217539(0x3da)]);return _0x2ce460['_updateLocalCache'](),_0x2ce460;}[_0xbde005(0x305)](_0x29c916){var _0x116562=_0xbde005;return this['_onConflict'](!!(_0x29c916!=null&&_0x29c916[_0x116562(0x2a3)]));}['onRemoteRetry'](_0x122eb2){var _0x4cb550=_0xbde005;return this[_0x4cb550(0x29b)]>Ti?this[_0x4cb550(0x22a)]():(this['_resendTimer']=Ii(this[_0x4cb550(0x1d6)],{'timeout':this[_0x4cb550(0x1d6)],'reqId':_0x122eb2[_0x4cb550(0x248)]}),this[_0x4cb550(0x21b)]=this[_0x4cb550(0x2f4)][_0x4cb550(0x395)](({reqId:_0x36eaa8,timeout:_0x3c9e96})=>{var _0x2ff499=_0x4cb550;this[_0x2ff499(0x117)](_0x36eaa8,_0x3c9e96);}),this);}['toggleOffline'](){var _0x1e791a=_0xbde005;return this[_0x1e791a(0x3f9)](),this[_0x1e791a(0x342)][_0x1e791a(0x340)](de,this[_0x1e791a(0x2c0)],this[_0x1e791a(0x2df)],this[_0x1e791a(0x175)],[],this[_0x1e791a(0x3da)]);}[_0xbde005(0x327)](){return this;}[_0xbde005(0x3e9)](){var _0x11df07=_0xbde005;this['_handler']['onSendChangeset'](this[_0x11df07(0x175)]);}[_0xbde005(0x19f)](_0x292a0e){var _0x415504=_0xbde005;return this[_0x415504(0x3f9)](),this['_injector']['createInstance'](ue,this['unitID'],this[_0x415504(0x2df)],this[_0x415504(0x175)],[],this['_handler'],_0x292a0e);}['_resendWithTimeout'](_0x42ae96,_0x2411c8){var _0x513c54=_0xbde005,_0x146dce;_0x42ae96===((_0x146dce=this[_0x513c54(0x175)])==null?void 0x0:_0x146dce[_0x513c54(0x248)])&&(this['resend'](),this[_0x513c54(0x1d6)]=_0x2411c8===0x0?0x3e8:Math[_0x513c54(0x3e5)](_0x2411c8*0x2,gi),this['_maxTotalRetryTimeout']+=this[_0x513c54(0x1d6)]);}[_0xbde005(0x3f9)](){var _0x3d7071=_0xbde005,_0x5c0c8c;(_0x5c0c8c=this[_0x3d7071(0x21b)])==null||_0x5c0c8c[_0x3d7071(0x35d)](),this[_0x3d7071(0x1d6)]=0x0,this['_maxTotalRetryTimeout']=0x0;}};le=Se([w(0x4,_0x51e0dc(_0x20c230)),w(0x5,_0x51e0dc(_0x38ef90)),w(0x6,_0x2d6439),w(0x7,_0x9e9972),w(0x8,_0x54f44a),w(0x9,_0x15b98e),w(0xa,_0x581e15(X))],le);let oe=class extends ge{constructor(_0x4762e5,_0x28a524,_0x431ede,_0x47e7e4,_0x2f8ee3,_0x54578a,_0x22349b,_0x4748ee,_0x474aff,_0x38a9cf,_0x515e91,_0x176a87,_0x255bef){var _0x26e7d2=_0xbde005;super(_0x4762e5,_0x28a524,_0x431ede,_0x47e7e4,_0x2f8ee3,_0x474aff,_0x176a87,_0x4748ee,_0x255bef),D(this,_0x26e7d2(0x2ba),'awaiting_with_pending'),D(this,_0x26e7d2(0x1d6),0x0),D(this,_0x26e7d2(0x29b),0x0),D(this,'_resendTimer'),D(this,_0x26e7d2(0x21b)),(this[_0x26e7d2(0x342)]=_0x22349b,this[_0x26e7d2(0x11d)]=_0x38a9cf,this['_transformService']=_0x515e91,this[_0x26e7d2(0x3a5)]=_0x255bef,_0x54578a&&(this[_0x26e7d2(0x2f4)]=_0x54578a,this[_0x26e7d2(0x21b)]=this[_0x26e7d2(0x2f4)][_0x26e7d2(0x395)](({reqId:_0x3a1aea,timeout:_0x1cba96})=>{var _0x32eda6=_0x26e7d2;this[_0x32eda6(0x117)](_0x3a1aea,_0x1cba96);})));}[_0xbde005(0x176)](_0x30a817){var _0x50f68b=_0xbde005;return this[_0x50f68b(0x368)][_0x50f68b(0x38b)](_0x30a817),this;}[_0xbde005(0x17b)](_0x23f63d){var _0x4273f6=_0xbde005;if(this[_0x4273f6(0x2c5)](_0x23f63d))return this[_0x4273f6(0x3f9)](),this[_0x4273f6(0x342)][_0x4273f6(0x340)](ee,this['unitID'],this[_0x4273f6(0x2df)],this['_awaitingChangeset'],this[_0x4273f6(0x368)],null,[_0x23f63d],this['_handler']);try{const _0x20e12f=this['_transformService'][_0x4273f6(0x242)]([_0x23f63d],[this[_0x4273f6(0x175)]],!0x1);if(_0x269a06(_0x20e12f)){const {c1Prime:_0x298df4,c2Prime:_0x1f8112}=_0x20e12f,_0x5cbb6b=this[_0x4273f6(0x2b6)][_0x4273f6(0x280)](_0x298df4[0x0],this['_pendingMutations']);if(_0x30de82(_0x5cbb6b)){const {c1Prime:_0x190369,m2Prime:_0x4e2b45}=_0x5cbb6b;return this[_0x4273f6(0x2db)](_0x190369),_0x1f8112[0x0][_0x4273f6(0x1c7)]=this['_getCurrentRevision'](),this[_0x4273f6(0x3f9)](),this[_0x4273f6(0x342)][_0x4273f6(0x340)](oe,this['unitID'],this['type'],_0x1f8112[0x0],_0x4e2b45,this[_0x4273f6(0x3da)],void 0x0);}throw _0x5cbb6b[_0x4273f6(0x2e4)];}throw _0x20e12f[_0x4273f6(0x2e4)];}catch(_0x16cb01){return this[_0x4273f6(0x11d)][_0x4273f6(0x2e4)](_0x16cb01),this[_0x4273f6(0x19f)](!0x1);}}[_0xbde005(0x154)](_0x1aa196){var _0x1e79eb=_0xbde005;if(this[_0x1e79eb(0x3f9)](),this[_0x1e79eb(0x2c5)](_0x1aa196))return this['_injector'][_0x1e79eb(0x340)](ee,this['unitID'],this[_0x1e79eb(0x2df)],null,this[_0x1e79eb(0x368)],this[_0x1e79eb(0x175)],[],this[_0x1e79eb(0x3da)]);this[_0x1e79eb(0x2c4)]();const _0x53b51c=this[_0x1e79eb(0x342)][_0x1e79eb(0x340)](ae,this['unitID'],this[_0x1e79eb(0x2df)],this[_0x1e79eb(0x368)],this[_0x1e79eb(0x3da)]);return _0x53b51c['_schedule'](),_0x53b51c[_0x1e79eb(0x264)](),_0x53b51c;}[_0xbde005(0x305)](_0x4c051b){var _0x3aed7e=_0xbde005;return this[_0x3aed7e(0x19f)](!!(_0x4c051b!=null&&_0x4c051b['isPermissionRej']));}[_0xbde005(0x2af)](_0x1042cb){var _0x26454a=_0xbde005;return this[_0x26454a(0x29b)]>Ti?this[_0x26454a(0x22a)]():(this[_0x26454a(0x2f4)]=Ii(this[_0x26454a(0x1d6)],{'timeout':this[_0x26454a(0x1d6)],'reqId':_0x1042cb[_0x26454a(0x248)]}),this[_0x26454a(0x21b)]=this[_0x26454a(0x2f4)][_0x26454a(0x395)](({reqId:_0x57c088,timeout:_0x35b6c7})=>{this['_resendWithTimeout'](_0x57c088,_0x35b6c7);}),this);}[_0xbde005(0x22a)](){var _0x4f19ba=_0xbde005;return this[_0x4f19ba(0x3f9)](),this[_0x4f19ba(0x342)][_0x4f19ba(0x340)](de,this[_0x4f19ba(0x2c0)],this[_0x4f19ba(0x2df)],this[_0x4f19ba(0x175)],this[_0x4f19ba(0x368)],this[_0x4f19ba(0x3da)]);}['toggleOnline'](){return this;}[_0xbde005(0x3e9)](){var _0x3268fd=_0xbde005;this[_0x3268fd(0x3da)]['onSendChangeset'](this['_awaitingChangeset']);}[_0xbde005(0x19f)](_0x38160a){var _0x5dbbfc=_0xbde005;return this[_0x5dbbfc(0x3f9)](),this[_0x5dbbfc(0x342)][_0x5dbbfc(0x340)](ue,this[_0x5dbbfc(0x2c0)],this['type'],null,this[_0x5dbbfc(0x368)],this[_0x5dbbfc(0x3da)],_0x38160a);}[_0xbde005(0x117)](_0x5a7381,_0x3963e9){var _0x46142b=_0xbde005,_0x45522f;_0x5a7381===((_0x45522f=this[_0x46142b(0x175)])==null?void 0x0:_0x45522f['reqId'])&&(this[_0x46142b(0x3e9)](),this[_0x46142b(0x1d6)]=_0x3963e9===0x0?0x3e8:Math[_0x46142b(0x3e5)](_0x3963e9*0x2,gi),this[_0x46142b(0x29b)]+=this['_resendTimeout']);}['_clearScheduledTask'](){var _0x49ad3f=_0xbde005,_0x2bd7b9;(_0x2bd7b9=this[_0x49ad3f(0x21b)])==null||_0x2bd7b9['unsubscribe'](),this[_0x49ad3f(0x1d6)]=0x0,this[_0x49ad3f(0x29b)]=0x0;}};oe=Se([w(0x6,_0x51e0dc(_0x20c230)),w(0x7,_0x51e0dc(_0x38ef90)),w(0x8,_0x2d6439),w(0x9,_0x9e9972),w(0xa,_0x54f44a),w(0xb,_0x15b98e),w(0xc,_0x581e15(X))],oe);let ue=class extends ge{constructor(_0x21dfb5,_0x238c86,_0x37b394,_0x29512d,_0x2f681c,_0x2eca4f=!0x1,_0x42faa8,_0x3881fa,_0x16a91a,_0x54b2a6,_0xb636f4,_0x28cd7f,_0x402760){var _0x546e13=_0xbde005;super(_0x21dfb5,_0x238c86,_0x37b394,_0x29512d,_0x2f681c,_0x3881fa,_0x16a91a,_0x54b2a6,_0x402760),D(this,_0x546e13(0x2ba),_0x546e13(0x23e)),(this['_isPermissionRej']=_0x2eca4f,this[_0x546e13(0x228)]=_0x42faa8,this[_0x546e13(0x3b8)]=_0xb636f4,this[_0x546e13(0x3b0)]=_0x28cd7f,this['localCacheService']=_0x402760,this[_0x546e13(0x112)](),this['_clearLocalCache'](),this['_disableEditing']());}['appendMutation'](){return this;}[_0xbde005(0x17b)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0xbde005(0x2af)](){return this;}[_0xbde005(0x22a)](){return this;}[_0xbde005(0x327)](){return this;}[_0xbde005(0x3e9)](){var _0x27963a=_0xbde005;throw new Error(_0x27963a(0x390));}[_0xbde005(0x2c6)](){var _0x1ab01e=_0xbde005,_0x5d8b48;(_0x5d8b48=this['_localCacheService'])==null||_0x5d8b48[_0x1ab01e(0x35f)](this['unitID'],this['type'],null,[]);}[_0xbde005(0x112)](){var _0x4ed6ca=_0xbde005;this[_0x4ed6ca(0x374)]?this['_collaborationUIEventService'][_0x4ed6ca(0x1fb)]({'id':re['PERMISSION_DENIED']}):this[_0x4ed6ca(0x3b0)][_0x4ed6ca(0x1fb)]({'id':re[_0x4ed6ca(0x34a)]});}[_0xbde005(0x3f8)](){var _0x36740c=_0xbde005;this[_0x36740c(0x228)]['updatePermissionPoint'](new _0x5d55bb(this[_0x36740c(0x2c0)])['id'],!0x1);}};ue=Se([w(0x6,_0x51e0dc(_0x5dd3e7)),w(0x7,_0x2d6439),w(0x8,_0x15b98e),w(0x9,_0x51e0dc(_0x38ef90)),w(0xa,_0x51e0dc(_0x4a91ba)),w(0xb,_0x51e0dc(ve)),w(0xc,_0x581e15(X))],ue);let de=class extends ge{constructor(_0xa01310,_0x2a304b,_0x4fbf89,_0x1eb4c2,_0x5cfb31,_0x760417,_0x371722,_0x55302a,_0x245dbc,_0x2e88fe){var _0x37cf32=_0xbde005;super(_0xa01310,_0x2a304b,_0x4fbf89,_0x1eb4c2,_0x5cfb31,_0x55302a,_0x245dbc,_0x371722,_0x2e88fe),D(this,'status',_0x37cf32(0x240)),this[_0x37cf32(0x342)]=_0x760417;}['appendMutation'](_0x19ecb9){var _0x23b06d=_0xbde005;return this[_0x23b06d(0x368)][_0x23b06d(0x38b)](_0x19ecb9),this[_0x23b06d(0x264)](),this;}['onRemoteChangeset'](_0x5effae){var _0x50fb47=_0xbde005;throw new Error(_0x50fb47(0x10e));}['onRemoteAck'](){var _0x24a6d5=_0xbde005;throw new Error(_0x24a6d5(0x1a5));}[_0xbde005(0x305)](){var _0x2b0a67=_0xbde005;throw new Error(_0x2b0a67(0x34e));}[_0xbde005(0x2af)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x6498e5=_0xbde005;const {_injector:_0x241f85,_pendingMutations:_0x20e9b4,_awaitingChangeset:_0x5861ec,unitID:_0x4e271d,_handler:_0x42df05,type:_0x6ab4df}=this,_0x40a120=Oi(_0x241f85,_0x4e271d,_0x6ab4df,_0x5861ec,_0x20e9b4,_0x42df05);return _0x40a120 instanceof ae?_0x40a120[_0x6498e5(0x3a2)]():(_0x40a120 instanceof oe||_0x40a120 instanceof le)&&_0x40a120[_0x6498e5(0x3e9)](),_0x40a120;}['resend'](){var _0x221f7f=_0xbde005;throw new Error(_0x221f7f(0x394));}};de=Se([w(0x5,_0x51e0dc(_0x20c230)),w(0x6,_0x51e0dc(_0x38ef90)),w(0x7,_0x2d6439),w(0x8,_0x15b98e),w(0x9,_0x581e15(X))],de);let ee=class extends ge{constructor(_0x546851,_0x2af72c,_0x21c5cc,_0x280886,_0x2f2858,_0x4490e7,_0x2323ea,_0x190e00,_0x19963f,_0x2a8d74,_0x5e8650,_0xe4cb67,_0xd4d7cf,_0x14fea7){var _0x11a3c5=_0xbde005;super(_0x546851,_0x2af72c,_0x21c5cc,_0x280886,_0x2323ea,_0x5e8650,_0xe4cb67,_0x19963f,_0x14fea7),D(this,_0x11a3c5(0x2ba),_0x11a3c5(0x11c)),(this[_0x11a3c5(0x221)]=_0x2f2858,this['_queuedRemoteChangesets']=_0x4490e7,this['_injector']=_0x190e00,this['_logService']=_0x2a8d74,this['_transformService']=_0xd4d7cf,this[_0x11a3c5(0x3a5)]=_0x14fea7);}[_0xbde005(0x289)](_0x3ac518){var _0x2a78da=_0xbde005;try{const _0x553031=[..._0x3ac518,...this[_0x2a78da(0x141)]],_0x47cba0=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x2a78da(0xfa)](_0x2fa7ef=>!!_0x2fa7ef);let _0x556a90,_0x49b731;if(_0x47cba0[_0x2a78da(0x372)]){const _0x5c9040=this[_0x2a78da(0x2b6)]['transformChangesets'](_0x553031,_0x47cba0,!0x1);if(!_0x269a06(_0x5c9040))throw _0x5c9040[_0x2a78da(0x2e4)];_0x556a90=_0x5c9040[_0x2a78da(0x329)],_0x49b731=_0x5c9040[_0x2a78da(0x2d8)];}else _0x556a90=_0x553031,_0x49b731=[];let _0x43949a=this[_0x2a78da(0x368)];_0x556a90['forEach'](_0x194877=>{var _0x35cc10=_0x2a78da;let _0x1d88ab;if(_0x43949a[_0x35cc10(0x372)]){const _0x52d59e=this['_transformService'][_0x35cc10(0x280)](_0x194877,_0x43949a);if(!_0x30de82(_0x52d59e))throw _0x52d59e['error'];_0x1d88ab=_0x52d59e[_0x35cc10(0x329)],_0x43949a=_0x52d59e[_0x35cc10(0x303)];}else _0x1d88ab=_0x194877;this['_executeRemoteChangeset'](_0x1d88ab);}),this[_0x2a78da(0x221)]&&this[_0x2a78da(0x2c4)](),this[_0x2a78da(0x175)]&&_0x49b731[_0x2a78da(0x372)]&&(_0x49b731[0x0]['baseRev']=this['_getCurrentRevision']());let _0x8905cc;if(this[_0x2a78da(0x175)]&&_0x43949a[_0x2a78da(0x372)]!==0x0)_0x8905cc=this[_0x2a78da(0x342)]['createInstance'](oe,this[_0x2a78da(0x2c0)],this[_0x2a78da(0x2df)],_0x49b731[0x0],_0x43949a,this[_0x2a78da(0x3da)],void 0x0);else{if(this[_0x2a78da(0x175)]&&_0x43949a[_0x2a78da(0x372)]===0x0)_0x49b731[0x0]['baseRev']=this['_getCurrentRevision'](),_0x8905cc=this[_0x2a78da(0x342)][_0x2a78da(0x340)](le,this['unitID'],this[_0x2a78da(0x2df)],_0x49b731[0x0],this[_0x2a78da(0x3da)]);else{if(_0x43949a[_0x2a78da(0x372)]!==0x0){const _0x82cdf7=this['_injector']['createInstance'](ae,this[_0x2a78da(0x2c0)],this['type'],_0x43949a,this[_0x2a78da(0x3da)]);_0x82cdf7[_0x2a78da(0x3a2)](),_0x8905cc=_0x82cdf7;}else _0x8905cc=this[_0x2a78da(0x342)]['createInstance'](be,this['unitID'],this[_0x2a78da(0x2df)],this[_0x2a78da(0x3da)]);}}return _0x8905cc['_updateLocalCache'](),_0x8905cc;}catch(_0x553275){return this[_0x2a78da(0x11d)][_0x2a78da(0x2e4)](_0x2a78da(0x38c),_0x2a78da(0x2e1),_0x553275),this[_0x2a78da(0x342)]['createInstance'](ue,this[_0x2a78da(0x2c0)],this['type'],this[_0x2a78da(0x175)],this[_0x2a78da(0x368)],this['_handler'],!0x1);}}[_0xbde005(0x3e9)](){var _0x4464ce=_0xbde005;throw new Error(_0x4464ce(0x235));}[_0xbde005(0x176)](_0x65efa9){var _0x41ab53=_0xbde005;return this[_0x41ab53(0x368)][_0x41ab53(0x38b)](_0x65efa9),this;}[_0xbde005(0x17b)](_0x5e77c6){return this['_queuedRemoteChangesets']['push'](_0x5e77c6),this;}[_0xbde005(0x154)](_0x55f2da){var _0x4e2fb2=_0xbde005;if(this['_awaitingChangeset'])return this[_0x4e2fb2(0x221)]=this['_awaitingChangeset'],this[_0x4e2fb2(0x175)]=null,this;throw new Error(_0x4e2fb2(0x20f));}[_0xbde005(0x305)](_0x255035){var _0x14cda7=_0xbde005;return this[_0x14cda7(0x19f)](!!(_0x255035!=null&&_0x255035[_0x14cda7(0x2a3)]));}[_0xbde005(0x2af)](){return this;}[_0xbde005(0x22a)](){var _0x5eb1ad=_0xbde005;return this['_injector'][_0x5eb1ad(0x340)](de,this[_0x5eb1ad(0x2c0)],this[_0x5eb1ad(0x2df)],this[_0x5eb1ad(0x175)],this[_0x5eb1ad(0x368)],this['_handler']);}[_0xbde005(0x327)](){return this;}[_0xbde005(0x19f)](_0x28939a){var _0x5220fc=_0xbde005;return this[_0x5220fc(0x342)][_0x5220fc(0x340)](ue,this['unitID'],this[_0x5220fc(0x2df)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x5220fc(0x3da)],_0x28939a);}};ee=Se([w(0x7,_0x51e0dc(_0x20c230)),w(0x8,_0x51e0dc(_0x38ef90)),w(0x9,_0x9e9972),w(0xa,_0x2d6439),w(0xb,_0x15b98e),w(0xc,_0x54f44a),w(0xd,_0x581e15(X))],ee);function Oi(_0x3e9811,_0x42c413,_0x31dfbe,_0x2e557a,_0x24c40a,_0x5625a1){var _0x5e3674=_0xbde005;return _0x2e557a&&_0x24c40a[_0x5e3674(0x372)]?_0x3e9811[_0x5e3674(0x340)](oe,_0x42c413,_0x31dfbe,_0x2e557a,_0x24c40a,_0x5625a1,void 0x0):_0x2e557a?_0x3e9811[_0x5e3674(0x340)](le,_0x42c413,_0x31dfbe,_0x2e557a,_0x5625a1):_0x24c40a[_0x5e3674(0x372)]?_0x3e9811[_0x5e3674(0x340)](ae,_0x42c413,_0x31dfbe,_0x24c40a,_0x5625a1):_0x3e9811[_0x5e3674(0x340)](be,_0x42c413,_0x31dfbe,_0x5625a1);}var js=Object[_0xbde005(0x2eb)],At=(_0x21e4de,_0x33de23,_0x16a0bd,_0xac3b24)=>{var _0x5af38d=_0xbde005;for(var _0x22d848=_0xac3b24>0x1?void 0x0:_0xac3b24?js(_0x33de23,_0x16a0bd):_0x33de23,_0x3691a3=_0x21e4de[_0x5af38d(0x372)]-0x1,_0x58ffb0;_0x3691a3>=0x0;_0x3691a3--)(_0x58ffb0=_0x21e4de[_0x3691a3])&&(_0x22d848=_0x58ffb0(_0x22d848)||_0x22d848);return _0x22d848;},$=(_0x47cff7,_0x20eb8c)=>(_0x501f2c,_0x4b1031)=>_0x20eb8c(_0x501f2c,_0x4b1031,_0x47cff7);let st=class extends _0x1e895e{constructor(_0x2fa77d,_0x110da7,_0x539948,_0x55ccd9,_0x41b52e,_0x5133cb,_0x372640,_0x1fd13b,_0x1d5b0d,_0x5e23a7,_0x498b50,_0x8fa452,_0xe097df,_0x52ce10){var _0x4a7c8d=_0xbde005;super(),D(this,_0x4a7c8d(0x199),new _0x28d880(null)),D(this,_0x4a7c8d(0x251),this[_0x4a7c8d(0x199)]['asObservable']()),D(this,'_state'),D(this,_0x4a7c8d(0x2b0),!0x1),D(this,'_changesetSessionId',''),D(this,'_changesetReqId',0x0),D(this,_0x4a7c8d(0x20d),this['state$'][_0x4a7c8d(0x2cb)](_0x16b2bc(_0x2ee953=>_0x2ee953?_0x2ee953[_0x4a7c8d(0x2ba)]:Si['OFFLINE']),_0x46d5eb(0x1))),D(this,_0x4a7c8d(0x254),!0x1),D(this,_0x4a7c8d(0x2b2),[]),(this['unitID']=_0x2fa77d,this['session']=_0x110da7,this['_type']=_0x539948,this[_0x4a7c8d(0x342)]=_0x55ccd9,this[_0x4a7c8d(0x383)]=_0x41b52e,this[_0x4a7c8d(0x3b8)]=_0x5133cb,this['_revisionService']=_0x372640,this[_0x4a7c8d(0x341)]=_0x1fd13b,this[_0x4a7c8d(0x291)]=_0x1d5b0d,this['_logService']=_0x5e23a7,this[_0x4a7c8d(0x24b)]=_0x498b50,this[_0x4a7c8d(0x228)]=_0x8fa452,this['_singleActiveUnitService']=_0xe097df,this[_0x4a7c8d(0x21e)]=_0x52ce10);}get[_0xbde005(0x387)](){return this['_state'];}async[_0xbde005(0xfe)](){var _0x397a64=_0xbde005;if(this[_0x397a64(0x387)])throw new Error(_0x397a64(0x217));await this[_0x397a64(0x2e8)]();}['pauseCollaboration'](){var _0x11273e=_0xbde005;return this[_0x11273e(0x2b0)]=!0x0,_0x3fe0b1(()=>{var _0x53b549=_0x11273e;this[_0x53b549(0x2b0)]=!0x1,this[_0x53b549(0x1a1)]();});}[_0xbde005(0x161)](_0xb42079){var _0x1c52a8=_0xbde005;this[_0x1c52a8(0x328)](_0xb42079);}['_updateState'](_0x240899){var _0x117c00=_0xbde005;this['_state']=_0x240899,this['_state$'][_0x117c00(0x3b6)](_0x240899);}async[_0xbde005(0x2e8)](){var _0x2e709e=_0xbde005,_0xab0fcb;this[_0x2e709e(0x193)](await this[_0x2e709e(0x128)]()),this[_0x2e709e(0x300)]&&((_0xab0fcb=this['_singleActiveUnitService'])==null||_0xab0fcb['editingUnit'](this[_0x2e709e(0x2c0)]),this[_0x2e709e(0x26b)](this[_0x2e709e(0x300)][_0x2e709e(0x30e)](this[_0x2e709e(0x2c0)])['subscribe'](_0x3015d1=>{var _0x46c86e=_0x2e709e;this['_logService'][_0x46c86e(0x187)](_0x46c86e(0x367),'editing\x20status\x20changed\x20to',_0x3015d1),_0x3015d1===mi[_0x46c86e(0x1ff)]?(this[_0x46c86e(0x341)][_0x46c86e(0x1fb)]({'id':re[_0x46c86e(0x275)]}),this[_0x46c86e(0x228)][_0x46c86e(0x107)](new _0x5d55bb(this[_0x46c86e(0x2c0)])['id'],!0x1),this['_permissionService'][_0x46c86e(0x3d7)](!0x1)):(this[_0x46c86e(0x228)]['updatePermissionPoint'](new _0x5d55bb(this[_0x46c86e(0x2c0)])['id'],!0x0),this[_0x46c86e(0x228)][_0x46c86e(0x3d7)](!0x0));})));let _0x415f47=!0x1;return this['disposeWithMe'](this[_0x2e709e(0x378)][_0x2e709e(0x201)]['subscribe'](_0x5d8458=>{var _0x934c22=_0x2e709e;_0x5d8458===me[_0x934c22(0x26a)]?this[_0x934c22(0x398)](_0x415f47):_0x5d8458===me[_0x934c22(0x1f2)]&&(_0x415f47=!0x0,this[_0x934c22(0x13f)]());})),this[_0x2e709e(0x26b)](this[_0x2e709e(0x378)]['event$']['subscribe'](_0x160f76=>{var _0x231741=_0x2e709e;try{switch(_0x160f76[_0x231741(0x278)]){case _0xad0318[_0x231741(0x37a)]:{this[_0x231741(0x29f)](_0x9d5605(_0x160f76['data']));break;}case _0xad0318[_0x231741(0x28e)]:{this[_0x231741(0x39d)](_0x160f76['data']);break;}case _0xad0318[_0x231741(0x2ce)]:{this[_0x231741(0x311)]();break;}case _0xad0318[_0x231741(0x2b5)]:{this['_onRemoteRetry'](_0x160f76['data']);break;}case _0xad0318[_0x231741(0x139)]:{this[_0x231741(0x349)](_0x160f76[_0x231741(0x336)]['changesets'][_0x231741(0x3c5)](_0x124c36=>_0x9d5605(_0x124c36)));break;}case _0xad0318[_0x231741(0x39a)]:{this[_0x231741(0x311)]({'isPermissionRej':!0x0});break;}case _0xad0318[_0x231741(0x20c)]:break;}}catch(_0x4b8fed){throw console['error'](_0x231741(0x3a4),_0x4b8fed),_0x4b8fed;}})),this[_0x2e709e(0x1ad)];}[_0xbde005(0x16b)](){var _0x39cc65=_0xbde005;this[_0x39cc65(0x254)]=!0x1;}[_0xbde005(0x1d9)](){var _0x551f7b=_0xbde005;if(this[_0x551f7b(0x254)])throw new Error(_0x551f7b(0x320));this[_0x551f7b(0x254)]=!0x0;}['_onLocalMutation'](_0x4f4da6){var _0x4ef81f=_0xbde005;this[_0x4ef81f(0x1d9)](),this[_0x4ef81f(0x193)](this[_0x4ef81f(0x1ad)][_0x4ef81f(0x176)](_0x4f4da6)),this[_0x4ef81f(0x16b)]();}[_0xbde005(0x29f)](_0x15cf16){var _0xbf1269=_0xbde005;if(!(_0x15cf16[_0xbf1269(0x2ee)]<=this[_0xbf1269(0x3a7)][_0xbf1269(0x10a)](this[_0xbf1269(0x2c0)]))){if(this['_collaborationPaused']){this[_0xbf1269(0x2b2)][_0xbf1269(0x38b)](_0x15cf16);return;}this[_0xbf1269(0x226)](_0x15cf16);}}['_exhaustRemoteChangesetQueue'](){var _0x10737f=_0xbde005;this[_0x10737f(0x2b2)][_0x10737f(0x231)](_0x9a9895=>this[_0x10737f(0x226)](_0x9a9895)),this[_0x10737f(0x2b2)]=[];}[_0xbde005(0x226)](_0x147e91){var _0x359b90=_0xbde005;const _0x552a4f=this['_compressMutationService']['interceptor'][_0x359b90(0x350)](this[_0x359b90(0x383)][_0x359b90(0x401)][_0x359b90(0x2f2)]()[_0x359b90(0x3d1)])(_0x147e91[_0x359b90(0x1fe)],null)||_0x147e91['mutations'],_0x162f1e={..._0x147e91,'mutations':_0x552a4f};this[_0x359b90(0x1d9)](),this[_0x359b90(0x193)](this[_0x359b90(0x1ad)][_0x359b90(0x17b)](_0x162f1e)),this['_unlockTransition']();}[_0xbde005(0x39d)](_0x2a711b){var _0x3ca7bb=_0xbde005;this[_0x3ca7bb(0x1d9)](),this['_updateState'](this[_0x3ca7bb(0x1ad)][_0x3ca7bb(0x154)](_0x2a711b)),this[_0x3ca7bb(0x16b)]();}[_0xbde005(0x311)](_0x387f9a){var _0x370db3=_0xbde005;this[_0x370db3(0x1d9)](),this[_0x370db3(0x193)](this[_0x370db3(0x1ad)][_0x370db3(0x305)](_0x387f9a)),this['_unlockTransition']();}[_0xbde005(0x168)](_0x47e4ab){var _0x5eb322=_0xbde005;this[_0x5eb322(0x1d9)](),this[_0x5eb322(0x193)](this['_state']['onRemoteRetry'](_0x47e4ab)),this['_unlockTransition']();}[_0xbde005(0x349)](_0x22516a){var _0x3bc445=_0xbde005;if(!(this[_0x3bc445(0x1ad)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x1f06c2=_0x22516a[_0x3bc445(0x3c5)](_0x406398=>{var _0xda6a91=_0x3bc445;const _0x52beab=this[_0xda6a91(0x383)][_0xda6a91(0x401)][_0xda6a91(0x350)](this[_0xda6a91(0x383)][_0xda6a91(0x401)][_0xda6a91(0x2f2)]()['COMPRESS_MUTATION_APPLY'])(_0x406398[_0xda6a91(0x1fe)],null)||_0x406398[_0xda6a91(0x1fe)];return{..._0x406398,'mutations':_0x52beab};});this[_0x3bc445(0x1d9)](),this['_updateState'](this[_0x3bc445(0x1ad)][_0x3bc445(0x289)](_0x1f06c2)),this[_0x3bc445(0x16b)]();}[_0xbde005(0x13f)](){var _0x943f2d=_0xbde005;this[_0x943f2d(0x1d9)](),this[_0x943f2d(0x193)](this['_state'][_0x943f2d(0x22a)]()),this[_0x943f2d(0x16b)]();}[_0xbde005(0x398)](_0x2656fa=!0x1){var _0xc6d14b=_0xbde005;this[_0xc6d14b(0x1d9)](),this[_0xc6d14b(0x193)](this[_0xc6d14b(0x1ad)][_0xc6d14b(0x327)]()),this[_0xc6d14b(0x16b)]();const _0x2d1024=this[_0xc6d14b(0x1ad)];_0x2656fa&&_0x2d1024 instanceof be&&(this[_0xc6d14b(0x1d9)](),this[_0xc6d14b(0x193)](_0x2d1024[_0xc6d14b(0x1a6)]()),this[_0xc6d14b(0x16b)]());}async['_createInitialState'](){return new Promise(_0x2277d3=>{var _0x1d666b=_0x3d7d;this[_0x1d666b(0x378)]['sessionStatus$'][_0x1d666b(0x2cb)](_0x2a23c8(0x1))[_0x1d666b(0x395)](async _0x90ab41=>{var _0x45024f=_0x1d666b;_0x2277d3(await this[_0x45024f(0x287)](_0x90ab41===me['ONLINE']));});});}[_0xbde005(0x40d)](){var _0x323030=_0xbde005;const _0x92cd01=this[_0x323030(0x2c0)];return{'onStateChange':(_0x3714ea,_0x25aace)=>{var _0x1be765=_0x323030;if(_0x3714ea!==this['_state'])throw new Error(_0x1be765(0x25e)+_0x3714ea[_0x1be765(0x2ba)]+_0x1be765(0x129)+_0x25aace['status']+'\x0aCurrent:\x20'+this[_0x1be765(0x1ad)][_0x1be765(0x2ba)]);this['_updateState'](_0x25aace);},'onSendChangeset':_0x548a35=>{var _0x53fbaf=_0x323030;_0x548a35['sid']||(_0x548a35[_0x53fbaf(0x3f0)]=this[_0x53fbaf(0x16e)],_0x548a35['reqId']=++this['_changesetReqId']);const _0x2299ba={'eventID':_0xad0318[_0x53fbaf(0x380)],'data':{'unitID':_0x548a35['unitID'],'unitType':this[_0x53fbaf(0x212)],'changeset':_0x548a35,'memberID':this[_0x53fbaf(0x378)][_0x53fbaf(0x2b1)]()}};this[_0x53fbaf(0x378)][_0x53fbaf(0x29d)](_0x2299ba,this[_0x53fbaf(0x2c0)]);},'onMissingChangesets':({from:_0x1ca44c,to:_0x490783})=>{var _0x260921=_0x323030;this['_logService'][_0x260921(0x187)](_0x260921(0x367),_0x260921(0x1e6)+_0x1ca44c+'\x20to\x20'+_0x490783);const _0x377340={'eventID':_0xad0318[_0x260921(0x12c)],'data':{'unitID':_0x92cd01,'unitType':this[_0x260921(0x212)],'from':_0x1ca44c,'to':_0x490783}};this[_0x260921(0x378)]['send'](_0x377340,this[_0x260921(0x2c0)]);}};}async[_0xbde005(0x287)](_0x31c5df){var _0x9a9646=_0xbde005,_0x53ddc6,_0x2c10da,_0x1fe7fc;const _0x58f03c=await((_0x53ddc6=this['_localCacheService'])==null?void 0x0:_0x53ddc6['loadOfflineData'](this[_0x9a9646(0x2c0)])),_0x336fcd=(_0x2c10da=_0x58f03c==null?void 0x0:_0x58f03c[_0x9a9646(0x1fe)])!=null?_0x2c10da:[],_0x5e0d03=(_0x1fe7fc=_0x58f03c==null?void 0x0:_0x58f03c[_0x9a9646(0x10c)])!=null?_0x1fe7fc:null,_0x3e10e5=!!(_0x5e0d03!=null&&_0x5e0d03[_0x9a9646(0x3f0)])&&!!(_0x5e0d03!=null&&_0x5e0d03['reqId']);this[_0x9a9646(0x16e)]=_0x3e10e5?_0x5e0d03['sid']:_0x26f97b(),this[_0x9a9646(0x30d)]=_0x3e10e5?_0x5e0d03[_0x9a9646(0x248)]:0x0;const _0x5dfff5=this[_0x9a9646(0x2c0)];try{this['_replayCachedMutations'](_0x5e0d03,_0x336fcd);}catch(_0x4dca29){this['_logService']['error'](_0x4dca29);}const _0x540ca2=this[_0x9a9646(0x40d)]();if(_0x31c5df){const _0x3c181d=Oi(this[_0x9a9646(0x342)],_0x5dfff5,this[_0x9a9646(0x212)],_0x5e0d03,_0x336fcd,_0x540ca2);return _0x3c181d instanceof ae?_0x3c181d[_0x9a9646(0x3a2)]():(_0x3c181d instanceof oe||_0x3c181d instanceof le)&&_0x3c181d[_0x9a9646(0x3e9)](),_0x3c181d;}return this[_0x9a9646(0x342)]['createInstance'](de,_0x5dfff5,this['_type'],_0x5e0d03,_0x336fcd,_0x540ca2);}[_0xbde005(0x348)](_0x1057c2,_0x5e2db7){var _0x2e7b0b=_0xbde005,_0x459f82,_0x13e43e;const _0x1b5ba0=this[_0x2e7b0b(0x383)][_0x2e7b0b(0x401)]['fetchThroughInterceptors'](this[_0x2e7b0b(0x383)][_0x2e7b0b(0x401)][_0x2e7b0b(0x2f2)]()[_0x2e7b0b(0x3d1)]);(_0x459f82=_0x1b5ba0((_0x1057c2==null?void 0x0:_0x1057c2[_0x2e7b0b(0x1fe)])||[],null))==null||_0x459f82[_0x2e7b0b(0x231)](_0x28ce7b=>this['_commandService'][_0x2e7b0b(0x18b)](_0x28ce7b['id'],_0x28ce7b[_0x2e7b0b(0x233)])),(_0x13e43e=_0x1b5ba0(_0x5e2db7||[],null))==null||_0x13e43e[_0x2e7b0b(0x231)](_0x1bd927=>this[_0x2e7b0b(0x24b)][_0x2e7b0b(0x18b)](_0x1bd927['id'],_0x1bd927[_0x2e7b0b(0x233)]));}};st=At([$(0x3,_0x51e0dc(_0x20c230)),$(0x4,_0x51e0dc(_0x218caf)),$(0x5,_0x51e0dc(_0x4a91ba)),$(0x6,_0x51e0dc(_0x38ef90)),$(0x7,_0x51e0dc(ve)),$(0x8,_0xecbae0),$(0x9,_0x9e9972),$(0xa,_0x2d6439),$(0xb,_0x5dd3e7),$(0xc,_0x581e15(_t)),$(0xd,_0x581e15(X))],st);let It=class extends st{constructor(_0x1db2f1,_0x5adbf2,_0x5802d4,_0x225217,_0x5ecc81,_0x77e3d4,_0x2f91e8,_0x5ed885,_0x275516,_0x2f0c74,_0x5523f1,_0x436d9d,_0x3bb48a,_0x1bf309){var _0x22b93e=_0xbde005;super(_0x1db2f1,_0x5802d4,_0x5adbf2,_0x225217,_0x5ecc81,_0x77e3d4,_0x2f91e8,_0x5ed885,_0x275516,_0x2f0c74,_0x5523f1,_0x436d9d,_0x3bb48a,_0x1bf309),D(this,_0x22b93e(0x3a9),null),(this[_0x22b93e(0x2c0)]=_0x1db2f1,this[_0x22b93e(0x2df)]=_0x5adbf2);}[_0xbde005(0x1e8)](_0xef0e70){var _0x4822f1=_0xbde005;this[_0x4822f1(0x3a9)]=_0xef0e70;}[_0xbde005(0x23a)](){var _0x4eda62=_0xbde005;this[_0x4eda62(0x3a9)]=null,super[_0x4eda62(0x23a)]();}[_0xbde005(0x40d)](){var _0x5315a7=_0xbde005;const _0x3439cc=super['_createHandler']();return _0x3439cc[_0x5315a7(0x13b)]=_0x4a718c=>{var _0x21e103=_0x5315a7,_0x1ea61e,_0x13841e;return(_0x13841e=(_0x1ea61e=this[_0x21e103(0x3a9)])==null?void 0x0:_0x1ea61e['onTransformIME'])==null?void 0x0:_0x13841e['call'](_0x1ea61e,_0x4a718c);},_0x3439cc[_0x5315a7(0x3e6)]=_0x427257=>{var _0xf3c7ec=_0x5315a7,_0x1ecbe1,_0xd426cb;return(_0xd426cb=(_0x1ecbe1=this[_0xf3c7ec(0x3a9)])==null?void 0x0:_0x1ecbe1[_0xf3c7ec(0x3e6)])==null?void 0x0:_0xd426cb[_0xf3c7ec(0x122)](_0x1ecbe1,_0x427257);},_0x3439cc['onTransformSelections']=_0x2f5726=>{var _0x4711c8=_0x5315a7,_0xbc0859,_0x7c9dec;return(_0x7c9dec=(_0xbc0859=this[_0x4711c8(0x3a9)])==null?void 0x0:_0xbc0859[_0x4711c8(0x24c)])==null?void 0x0:_0x7c9dec[_0x4711c8(0x122)](_0xbc0859,_0x2f5726);},_0x3439cc[_0x5315a7(0x1a0)]=_0xc358c6=>{var _0x3e4630=_0x5315a7,_0x47eca8,_0x12ea90;return(_0x12ea90=(_0x47eca8=this['_handlerCallback'])==null?void 0x0:_0x47eca8[_0x3e4630(0x1a0)])==null?void 0x0:_0x12ea90[_0x3e4630(0x122)](_0x47eca8,_0xc358c6);},_0x3439cc[_0x5315a7(0x230)]=_0x3452a3=>{var _0x45204a=_0x5315a7,_0x185300,_0x2b8d81,_0x496e3c;if(!((_0x185300=this['_handlerCallback'])!=null&&_0x185300[_0x45204a(0x230)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x496e3c=(_0x2b8d81=this[_0x45204a(0x3a9)])==null?void 0x0:_0x2b8d81[_0x45204a(0x230)])==null?void 0x0:_0x496e3c[_0x45204a(0x122)](_0x2b8d81,_0x3452a3);},_0x3439cc[_0x5315a7(0x29a)]=_0x2a199a=>{var _0x28e8ff=_0x5315a7,_0x30134c,_0xffb5ee,_0x172375;if(!((_0x30134c=this[_0x28e8ff(0x3a9)])!=null&&_0x30134c[_0x28e8ff(0x29a)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x172375=(_0xffb5ee=this[_0x28e8ff(0x3a9)])==null?void 0x0:_0xffb5ee[_0x28e8ff(0x29a)])==null?void 0x0:_0x172375[_0x28e8ff(0x122)](_0xffb5ee,_0x2a199a);},_0x3439cc;}async['_init'](){var _0x2a628c=_0xbde005;const _0x4b5731=await super[_0x2a628c(0x2e8)]();return this['disposeWithMe'](this['_commandService'][_0x2a628c(0x227)]((_0x53ccc5,_0x59c9a4)=>{var _0xa418da=_0x2a628c;if(_0x53ccc5[_0xa418da(0x2df)]!==_0x348d77['MUTATION']||_0x59c9a4!=null&&_0x59c9a4['fromCollab']||_0x59c9a4!=null&&_0x59c9a4[_0xa418da(0x1a9)]||_0x53ccc5['id']===_0x15e2ec['id'])return;const _0x3884f5=_0x53ccc5[_0xa418da(0x233)];if((_0x3884f5==null?void 0x0:_0x3884f5[_0xa418da(0x28c)])!==this[_0xa418da(0x2c0)])return;const _0x479e2a=_0x53ccc5,_0x2ee4f4=this[_0xa418da(0x383)][_0xa418da(0x401)][_0xa418da(0x350)](this['_compressMutationService'][_0xa418da(0x401)][_0xa418da(0x2f2)]()[_0xa418da(0xf1)])([_0x479e2a],this['_univerInstanceService'])||[_0x479e2a];this[_0xa418da(0x328)](_0x2ee4f4[0x0]);})),_0x4b5731;}};It=At([$(0x3,_0x51e0dc(_0x20c230)),$(0x4,_0x51e0dc(_0x218caf)),$(0x5,_0x51e0dc(_0x4a91ba)),$(0x6,_0x51e0dc(_0x38ef90)),$(0x7,_0x51e0dc(ve)),$(0x8,_0xecbae0),$(0x9,_0x9e9972),$(0xa,_0x2d6439),$(0xb,_0x5dd3e7),$(0xc,_0x581e15(_t)),$(0xd,_0x581e15(X))],It);let St=class extends st{constructor(_0x2026f7,_0x535480,_0x53ff4e,_0x54e833,_0x4c4d99,_0x5d0fa5,_0x5ea1db,_0x2ec1fe,_0x53c695,_0x15eb1b,_0x57e55d,_0x421979,_0x2d2164,_0x24f99f,_0x2766da){var _0x28f290=_0xbde005;super(_0x2026f7,_0x53ff4e,_0x535480,_0x54e833,_0x4c4d99,_0x5d0fa5,_0x5ea1db,_0x53c695,_0x15eb1b,_0x57e55d,_0x421979,_0x2d2164,_0x24f99f,_0x2766da),this[_0x28f290(0x2c0)]=_0x2026f7,this[_0x28f290(0x2df)]=_0x535480,this[_0x28f290(0x310)]=_0x2ec1fe;}[_0xbde005(0x40d)](){var _0x52d13b=_0xbde005;const _0x2b1b33=super[_0x52d13b(0x40d)]();return _0x2b1b33['onTransformSelections']=_0x45c077=>this[_0x52d13b(0x310)][_0x52d13b(0x288)](_0x45c077),_0x2b1b33;}async[_0xbde005(0x2e8)](){var _0x42c6aa=_0xbde005;const _0x4f5cfa=await super[_0x42c6aa(0x2e8)]();return this[_0x42c6aa(0x26b)](this[_0x42c6aa(0x24b)][_0x42c6aa(0x227)]((_0x534971,_0x4426d9)=>{var _0x377b05=_0x42c6aa;if(_0x534971[_0x377b05(0x2df)]!==_0x348d77[_0x377b05(0x28d)]||_0x4426d9!=null&&_0x4426d9[_0x377b05(0x33c)]||_0x4426d9!=null&&_0x4426d9[_0x377b05(0x1a9)])return;const _0xc0c98b=_0x534971[_0x377b05(0x233)];if((_0xc0c98b==null?void 0x0:_0xc0c98b[_0x377b05(0x28c)])!==this[_0x377b05(0x2c0)])return;const _0x1492f7=_0x534971,_0x2de4f6=this['_compressMutationService'][_0x377b05(0x401)][_0x377b05(0x350)](this[_0x377b05(0x383)][_0x377b05(0x401)][_0x377b05(0x2f2)]()[_0x377b05(0xf1)])([_0x1492f7],this[_0x377b05(0x291)])||[_0x1492f7];this[_0x377b05(0x328)](_0x2de4f6[0x0]);})),_0x4f5cfa;}};St=At([$(0x3,_0x51e0dc(_0x20c230)),$(0x4,_0x51e0dc(_0x218caf)),$(0x5,_0x51e0dc(_0x4a91ba)),$(0x6,_0x51e0dc(_0x38ef90)),$(0x7,_0x51e0dc(it)),$(0x8,_0x51e0dc(ve)),$(0x9,_0xecbae0),$(0xa,_0x9e9972),$(0xb,_0x2d6439),$(0xc,_0x5dd3e7),$(0xd,_0x581e15(_t)),$(0xe,_0x581e15(X))],St);const Vs=_0x1814eb(_0xbde005(0x2ac));function Gs(_0x35ebc1){var _0xc890ed=_0xbde005,_0x43434e,_0x26570d,_0xd9feff,_0x51c5ec,_0x5abb56;const _0x3a30a2=_0x35ebc1['data'],_0x1768bf=JSON[_0xc890ed(0x371)](_0x3a30a2);switch(_0x1768bf[_0xc890ed(0x1f8)]){case j[_0xc890ed(0x146)]:case j[_0xc890ed(0x224)]:{const _0x259077=_0x1768bf[_0xc890ed(0x302)];return{..._0x1768bf,'data':_0x259077,'cmd':_0x1768bf[_0xc890ed(0x1f8)]};}case j[_0xc890ed(0x3bd)]:{const _0x171e1d=_0x1768bf[_0xc890ed(0x21c)];return{..._0x1768bf,'data':_0x171e1d,'cmd':_0x1768bf[_0xc890ed(0x1f8)]};}case j[_0xc890ed(0x114)]:{const _0x2d83dc=_0x1768bf[_0xc890ed(0x14e)];switch(_0x2d83dc['eventID']){case _0xad0318[_0xc890ed(0x39a)]:return{..._0x1768bf,'data':{..._0x2d83dc,'data':(_0x43434e=_0x2d83dc['permissionRejEvent'])==null?void 0x0:_0x43434e['cs']},'cmd':_0x1768bf[_0xc890ed(0x1f8)]};case _0xad0318[_0xc890ed(0x28e)]:return{..._0x1768bf,'data':{..._0x2d83dc,'data':(_0x26570d=_0x2d83dc[_0xc890ed(0x3dd)])==null?void 0x0:_0x26570d['cs']},'cmd':_0x1768bf['cmd']};case _0xad0318[_0xc890ed(0x37a)]:return{..._0x1768bf,'data':{..._0x2d83dc,'data':(_0xd9feff=_0x2d83dc[_0xc890ed(0x252)])==null?void 0x0:_0xd9feff['cs']},'cmd':_0x1768bf[_0xc890ed(0x1f8)]};case _0xad0318[_0xc890ed(0x2ce)]:return{..._0x1768bf,'data':{..._0x2d83dc,'data':(_0x51c5ec=_0x2d83dc[_0xc890ed(0x173)])==null?void 0x0:_0x51c5ec['cs']},'cmd':_0x1768bf['cmd']};case _0xad0318[_0xc890ed(0x2b5)]:return{..._0x1768bf,'data':{..._0x2d83dc,'data':(_0x5abb56=_0x2d83dc[_0xc890ed(0x27b)])==null?void 0x0:_0x5abb56['cs']},'cmd':_0x1768bf[_0xc890ed(0x1f8)]};case _0xad0318['UPDATE_CURSOR']:return{..._0x1768bf,'data':{..._0x2d83dc,'data':_0x2d83dc[_0xc890ed(0x316)]},'cmd':_0x1768bf[_0xc890ed(0x1f8)]};case _0xad0318[_0xc890ed(0x347)]:return{..._0x1768bf,'data':{..._0x2d83dc,'data':_0x2d83dc[_0xc890ed(0x263)]},'cmd':_0x1768bf['cmd']};case _0xad0318['USERS_LEAVE']:return{..._0x1768bf,'data':{..._0x2d83dc,'data':_0x2d83dc[_0xc890ed(0x143)]},'cmd':_0x1768bf['cmd']};case _0xad0318['LIVESHARE_NEW_HOST']:return{..._0x1768bf,'data':{..._0x2d83dc,'data':_0x2d83dc['liveShareNewHost']},'cmd':_0x1768bf['cmd']};case _0xad0318['LIVESHARE_FETCH_OPERATIONS']:case _0xad0318['LIVESHARE_OPERATION']:return{..._0x1768bf,'data':{..._0x2d83dc,'data':_0x2d83dc[_0xc890ed(0x344)]},'cmd':_0x1768bf['cmd']};case _0xad0318['LIVESHARE_TERMINATE']:return{..._0x1768bf,'data':{..._0x2d83dc,'data':_0x2d83dc[_0xc890ed(0x1e5)]},'cmd':_0x1768bf['cmd']};case _0xad0318['MSG_FOR_ERROR']:return{..._0x1768bf,'data':_0x2d83dc,'cmd':_0x1768bf[_0xc890ed(0x1f8)]};case _0xad0318[_0xc890ed(0x3d0)]:return{..._0x1768bf,'data':{..._0x2d83dc,'data':_0x2d83dc[_0xc890ed(0x381)]},'cmd':_0x1768bf[_0xc890ed(0x1f8)]};case _0xad0318['UPDATE_PERMISSION_OBJ']:return{..._0x1768bf,'data':{..._0x2d83dc,'data':_0x2d83dc[_0xc890ed(0x26c)]},'cmd':_0x1768bf[_0xc890ed(0x1f8)]};case _0xad0318[_0xc890ed(0x16f)]:return{..._0x1768bf,'data':{..._0x2d83dc,'data':_0x2d83dc['shouldCloseConn']},'cmd':_0x1768bf['cmd']};case _0xad0318[_0xc890ed(0x20c)]:return{..._0x1768bf,'data':{..._0x2d83dc,'data':_0x2d83dc[_0xc890ed(0x147)]},'cmd':_0x1768bf[_0xc890ed(0x1f8)]};default:return _0x1768bf;}}default:return _0x1768bf;}}function Ws(_0x5dc5b9){var _0xd03f13=_0xbde005;switch(_0x5dc5b9[_0xd03f13(0x1f8)]){case j['HEARTBEAT']:case j[_0xd03f13(0x224)]:return JSON[_0xd03f13(0x40c)]({'cmd':_0x5dc5b9['cmd'],'routeKey':_0x5dc5b9['routeKey']});case j[_0xd03f13(0x30b)]:{let _0x3ee10c;switch(_0x5dc5b9[_0xd03f13(0x336)][_0xd03f13(0x278)]){case _0xad0318[_0xd03f13(0x213)]:{_0x3ee10c={'eventID':_0xad0318[_0xd03f13(0x213)],'updateCursorEvent':_0x5dc5b9['data'][_0xd03f13(0x336)]};break;}case _0xad0318[_0xd03f13(0x25b)]:{_0x3ee10c={'eventID':_0xad0318[_0xd03f13(0x25b)],'leaveEvent':_0x5dc5b9[_0xd03f13(0x336)][_0xd03f13(0x336)]};break;}case _0xad0318[_0xd03f13(0x347)]:{_0x3ee10c={'eventID':_0xad0318[_0xd03f13(0x347)],'joinEvent':_0x5dc5b9[_0xd03f13(0x336)][_0xd03f13(0x336)]};break;}case _0xad0318['LIVESHARE_NEW_HOST']:{_0x3ee10c={'eventID':_0xad0318[_0xd03f13(0x1ea)],'liveShareNewHost':_0x5dc5b9[_0xd03f13(0x336)][_0xd03f13(0x336)]};break;}case _0xad0318[_0xd03f13(0xfb)]:{_0x3ee10c={'eventID':_0xad0318[_0xd03f13(0xfb)],'liveShareOperation':_0x5dc5b9[_0xd03f13(0x336)][_0xd03f13(0x336)]};break;}case _0xad0318[_0xd03f13(0x26d)]:{_0x3ee10c={'eventID':_0xad0318[_0xd03f13(0x26d)],'liveShareTerminate':_0x5dc5b9[_0xd03f13(0x336)][_0xd03f13(0x336)]};break;}case _0xad0318[_0xd03f13(0x262)]:{_0x3ee10c={'eventID':_0xad0318[_0xd03f13(0x262)],'liveShareRequestHost':_0x5dc5b9[_0xd03f13(0x336)][_0xd03f13(0x336)]};break;}case _0xad0318[_0xd03f13(0x216)]:{_0x3ee10c={'eventID':_0xad0318[_0xd03f13(0x216)]};break;}default:_0x3ee10c={'eventID':_0x5dc5b9[_0xd03f13(0x336)]['eventID']};}return JSON[_0xd03f13(0x40c)]({'cmd':_0x5dc5b9[_0xd03f13(0x1f8)],'routeKey':_0x5dc5b9[_0xd03f13(0x190)],'collaMsg':_0x3ee10c});}case j[_0xd03f13(0x3bd)]:return JSON[_0xd03f13(0x40c)]({'cmd':_0x5dc5b9['cmd'],'routeKey':_0x5dc5b9[_0xd03f13(0x190)],'joinReq':_0x5dc5b9[_0xd03f13(0x336)]});case j[_0xd03f13(0x35a)]:return JSON[_0xd03f13(0x40c)]({'cmd':_0x5dc5b9[_0xd03f13(0x1f8)],'routeKey':_0x5dc5b9[_0xd03f13(0x190)],'leaveReq':_0x5dc5b9[_0xd03f13(0x336)]});default:throw new Error(_0xd03f13(0x2a8));}}var Ys=Object['getOwnPropertyDescriptor'],Ks=(_0x1ef660,_0x6dc19c,_0x2f803e,_0x24391b)=>{var _0x3cb3b0=_0xbde005;for(var _0x31d740=_0x24391b>0x1?void 0x0:_0x24391b?Ys(_0x6dc19c,_0x2f803e):_0x6dc19c,_0x3bb01d=_0x1ef660[_0x3cb3b0(0x372)]-0x1,_0x2873a4;_0x3bb01d>=0x0;_0x3bb01d--)(_0x2873a4=_0x1ef660[_0x3bb01d])&&(_0x31d740=_0x2873a4(_0x31d740)||_0x31d740);return _0x31d740;},ye=(_0x5b4170,_0x15f00f)=>(_0x3b9a1d,_0x1a3579)=>_0x15f00f(_0x3b9a1d,_0x1a3579,_0x5b4170);const Ri=_0x1814eb(_0xbde005(0x333));function qs(_0x5456e2,_0x44a8f8,_0x22da49){var _0x57f32b=_0xbde005;return _0x5456e2+'/'+_0x44a8f8+'/unit/'+_0x22da49+_0x57f32b(0x2de);}let Gt=class extends _0x20bf78{constructor(_0x484c1c,_0x49f2de,_0xf3feb3,_0x17ee26,_0x30564c){var _0x166c8a=_0xbde005;super(),this[_0x166c8a(0x342)]=_0x484c1c,this[_0x166c8a(0x163)]=_0x49f2de,this[_0x166c8a(0x167)]=_0xf3feb3,this[_0x166c8a(0x11d)]=_0x17ee26,this[_0x166c8a(0xf8)]=_0x30564c;}[_0xbde005(0x2b9)](_0x26a0d8){var _0x3fc3d9=_0xbde005;const _0x5fddf9=this[_0x3fc3d9(0x342)][_0x3fc3d9(0x164)](_0x2bbf30);if(!_0x5fddf9)throw new Error(_0x3fc3d9(0x2cf));const _0xf83878=_0x5fddf9[_0x3fc3d9(0x3be)](_0x26a0d8);if(!_0xf83878)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x27aa72=new _0x4cc873(),_0x457b9a=new _0x5a35f4();_0x27aa72[_0x3fc3d9(0x325)](_0xf83878[_0x3fc3d9(0x3f7)]['subscribe'](_0x2c9226=>_0x457b9a[_0x3fc3d9(0x3b6)](_0x2c9226))),_0x27aa72['add'](_0x3fe0b1(()=>_0x457b9a[_0x3fc3d9(0x186)]()));const _0xa634f7=new _0x5a35f4();_0x27aa72[_0x3fc3d9(0x325)](_0xf83878[_0x3fc3d9(0x111)][_0x3fc3d9(0x395)](_0x4304b9=>_0xa634f7[_0x3fc3d9(0x3b6)](_0x4304b9))),_0x27aa72['add'](_0x3fe0b1(()=>_0xa634f7['complete']()));const _0x5503ba=new _0x5a35f4();_0x27aa72[_0x3fc3d9(0x325)](_0xf83878[_0x3fc3d9(0x1e7)][_0x3fc3d9(0x395)](_0x3acfff=>{const _0x5e1989=Gs(_0x3acfff);_0x5503ba['next'](_0x5e1989);})),_0x27aa72[_0x3fc3d9(0x325)](_0x3fe0b1(()=>_0x5503ba['complete']()));let _0x300f47;const _0x5d530c=()=>{var _0x10364a=_0x3fc3d9;_0xa634f7['next'](new Event(_0x10364a(0x40a))),_0x457b9a[_0x10364a(0x3b6)](new Event('connection\x20error')),_0x300f47[_0x10364a(0x405)]();};return _0x300f47={'memberID':'','close$':_0x457b9a[_0x3fc3d9(0x267)](),'error$':_0xa634f7['asObservable'](),'open$':_0xf83878[_0x3fc3d9(0x354)],'message$':_0x5503ba['asObservable'](),'send':_0x5b862c=>{var _0x449def=_0x3fc3d9;if(_0x5b862c[_0x449def(0x1f8)]===j[_0x449def(0x30b)]){if(_0x5b862c[_0x449def(0x336)][_0x449def(0x278)]===_0xad0318[_0x449def(0x380)]){this[_0x449def(0x172)](_0x300f47,_0x5b862c['data'])[_0x449def(0x11b)](_0x2d0573=>{var _0x1c3b5f=_0x449def;this[_0x1c3b5f(0x11d)][_0x1c3b5f(0x2e4)](_0x2d0573),_0x5d530c();});return;}if(_0x5b862c[_0x449def(0x336)][_0x449def(0x278)]===_0xad0318[_0x449def(0x12c)]){const _0x2bcd18=_0x5b862c[_0x449def(0x336)];this['_fetchMissChangesets'](_0x2bcd18)['then'](_0x56ac9c=>{var _0x4e8836=_0x449def;_0x5503ba[_0x4e8836(0x3b6)]({'cmd':j[_0x4e8836(0x114)],'code':Ee['OK'],'routeKey':_0x2bcd18['data']['unitID'],'routeType':'','data':{'eventID':_0xad0318[_0x4e8836(0x139)],'data':{'changesets':_0x56ac9c}}});})[_0x449def(0x11b)](_0x1215a0=>{var _0x58a0a1=_0x449def;this[_0x58a0a1(0x11d)][_0x58a0a1(0x2e4)](_0x1215a0),_0x5d530c();});return;}}_0xf83878[_0x449def(0x29d)](Ws(_0x5b862c));},'close':()=>{var _0x2ad0fa=_0x3fc3d9;_0xf83878[_0x2ad0fa(0x405)](),_0x27aa72[_0x2ad0fa(0x23a)]();}},_0x300f47;}async['_submitChangeset'](_0x60d65d,_0x3f8d76){var _0x517fd8=_0xbde005,_0x9b0218;const {unitType:_0x5b23da,unitID:_0x12d323,changeset:_0x156004}=_0x3f8d76[_0x517fd8(0x336)],_0x222e79={'unitID':_0x12d323,'memberID':_0x60d65d[_0x517fd8(0x3f4)],'type':_0x5b23da,'changeset':_0x362080(_0x156004)},_0x36b433=this['_configService'][_0x517fd8(0x3fc)](K),_0x254482=qs((_0x9b0218=_0x36b433==null?void 0x0:_0x36b433[_0x517fd8(0x260)])!=null?_0x9b0218:Ns,_0x5b23da,_0x12d323);try{await this['_httpService'][_0x517fd8(0x1d5)](_0x254482,{'body':_0x222e79});}catch(_0x8456f){throw this[_0x517fd8(0x11d)][_0x517fd8(0x2e4)](_0x517fd8(0x334),'submit\x20changeset\x20error!'),_0x8456f;}}async['_fetchMissChangesets'](_0x46182b){var _0x269d78=_0xbde005;const {unitID:_0x4ce7b2,from:_0x5dd671,to:_0x3e7d13,unitType:_0x4a4310}=_0x46182b[_0x269d78(0x336)];return(await this['_snapshotServerService'][_0x269d78(0x2ef)]({'metadata':void 0x0},{'unitID':_0x4ce7b2,'type':_0x4a4310,'from':_0x5dd671,'to':_0x3e7d13}))[_0x269d78(0x2dc)][_0x269d78(0x3c5)](_0x2bb253=>((_0x2bb253[_0x269d78(0x1fe)]===null||_0x2bb253[_0x269d78(0x1fe)]===void 0x0)&&(_0x2bb253[_0x269d78(0x1fe)]=[]),_0x2bb253));}};Gt=Ks([ye(0x0,_0x51e0dc(_0x20c230)),ye(0x1,_0x51e0dc(_0x4583bc)),ye(0x2,_0x50f0f7),ye(0x3,_0x9e9972),ye(0x4,_0x553f45)],Gt);var zs=Object[_0xbde005(0x2eb)],Xs=(_0x21b988,_0x5d9622,_0xd52991,_0x3c5811)=>{var _0x49eef4=_0xbde005;for(var _0xe86287=_0x3c5811>0x1?void 0x0:_0x3c5811?zs(_0x5d9622,_0xd52991):_0x5d9622,_0x5f53be=_0x21b988[_0x49eef4(0x372)]-0x1,_0x44fd74;_0x5f53be>=0x0;_0x5f53be--)(_0x44fd74=_0x21b988[_0x5f53be])&&(_0xe86287=_0x44fd74(_0xe86287)||_0xe86287);return _0xe86287;},Re=(_0x5753bd,_0x39ab82)=>(_0x1b82f4,_0xbb1587)=>_0x39ab82(_0x1b82f4,_0xbb1587,_0x5753bd);let we=class extends _0x20bf78{constructor(_0x144eec,_0xd04c38,_0x573665,_0x14ff1a,_0x6e0bdd,_0x3f4da3){var _0x2202d1=_0xbde005;super(),D(this,_0x2202d1(0x286),new _0x28d880(void 0x0)),D(this,'socket$',this[_0x2202d1(0x286)][_0x2202d1(0x267)]()),D(this,_0x2202d1(0x38d),null),D(this,_0x2202d1(0x3b5),new Map()),D(this,_0x2202d1(0x307),new _0x28d880(me['IDLE'])),D(this,_0x2202d1(0x20d),this[_0x2202d1(0x307)][_0x2202d1(0x267)]()),D(this,'_socketReady',!0x1),D(this,_0x2202d1(0x346)),D(this,_0x2202d1(0x318),0x0),D(this,_0x2202d1(0x313)),D(this,_0x2202d1(0x2f9)),(this[_0x2202d1(0x342)]=_0x144eec,this[_0x2202d1(0x11d)]=_0xd04c38,this[_0x2202d1(0x167)]=_0x573665,this[_0x2202d1(0x2d9)]=_0x14ff1a,this[_0x2202d1(0x3b0)]=_0x6e0bdd,this[_0x2202d1(0x26e)]=_0x3f4da3,this['_listenToNetworkCondition']());}get['_socket'](){var _0xe3a662=_0xbde005;return this[_0xe3a662(0x286)][_0xe3a662(0x2ec)]();}[_0xbde005(0x100)](){var _0x5e1806=_0xbde005;this[_0x5e1806(0x26e)]&&this[_0x5e1806(0x26b)](this[_0x5e1806(0x26e)][_0x5e1806(0x153)][_0x5e1806(0x395)](_0x1c29ac=>{var _0x15bd47=_0x5e1806;_0x1c29ac&&!this[_0x15bd47(0x20b)]&&this['reconnect'](),_0x1c29ac||this[_0x15bd47(0x297)]();}));}[_0xbde005(0x23a)](){var _0xc2c91b=_0xbde005;super[_0xc2c91b(0x23a)](),this[_0xc2c91b(0x25a)](),this[_0xc2c91b(0x298)](),this[_0xc2c91b(0x15d)](),this[_0xc2c91b(0x3b5)][_0xc2c91b(0x231)](_0x265524=>_0x265524[_0xc2c91b(0x23a)]()),this['_sessions'][_0xc2c91b(0x1d8)](),this[_0xc2c91b(0x307)][_0xc2c91b(0x186)]();}async[_0xbde005(0x16a)](_0x1c5fa9){var _0x34434b=_0xbde005;if(this['_sessions'][_0x34434b(0x148)](_0x1c5fa9))return this[_0x34434b(0x3b5)]['get'](_0x1c5fa9);this['_tryEnsureSocket']();const _0x4fd422=this[_0x34434b(0x342)][_0x34434b(0x340)](mt,_0x1c5fa9,this[_0x34434b(0x286)][_0x34434b(0x267)]());return this[_0x34434b(0x3b5)][_0x34434b(0x3cf)](_0x1c5fa9,_0x4fd422),_0x4fd422;}[_0xbde005(0x3ce)](_0x46695e){var _0x5e128b=_0xbde005,_0x5c2ed8;const _0x3901f0=this[_0x5e128b(0x3b5)][_0x5e128b(0x164)](_0x46695e);_0x3901f0&&(this['_sessions'][_0x5e128b(0x203)](_0x46695e),_0x3901f0[_0x5e128b(0x405)]()),this['_sessions']['size']||(_0x5c2ed8=this[_0x5e128b(0x20b)])==null||_0x5c2ed8[_0x5e128b(0x405)]();}[_0xbde005(0x27a)](){var _0x4dfbcd=_0xbde005;this['_retryCount']=0x0,this[_0x4dfbcd(0x25a)](),this[_0x4dfbcd(0x159)]();}['_clearRetryConnectingTimer'](){var _0x4e8a3f=_0xbde005;this[_0x4e8a3f(0x346)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x4e8a3f(0x346)]=null);}async['_createSocket'](){var _0x14b216=_0xbde005,_0x16241f;const _0x7981fb=this[_0x14b216(0x167)][_0x14b216(0x3fc)](K),_0x20c993=(_0x16241f=_0x7981fb==null?void 0x0:_0x7981fb[_0x14b216(0x1b2)])!=null?_0x16241f:Is,_0x64152=await this[_0x14b216(0x2d9)][_0x14b216(0x3be)](_0x20c993);return this[_0x14b216(0x38d)]=_0x64152,_0x64152;}async['_tryEnsureSocket'](){var _0xee78e=_0xbde005,_0x2c3b38,_0x4944db;try{const _0x25383a=(_0x4944db=(_0x2c3b38=this['_socket'])!=null?_0x2c3b38:this[_0xee78e(0x38d)])!=null?_0x4944db:await this['_createSocket']();if(_0x25383a){const _0x5abfb2=_0x25383a[_0xee78e(0x29d)];_0x25383a[_0xee78e(0x29d)]=_0xb34cfb=>(this[_0xee78e(0x30f)](),_0x5abfb2[_0xee78e(0x3aa)](_0x25383a,[_0xb34cfb])),_0x25383a[_0xee78e(0x1e7)][_0xee78e(0x395)](_0x47c721=>this[_0xee78e(0x1e4)](_0x25383a,_0x47c721)),_0x25383a['error$'][_0xee78e(0x2cb)](_0x4a374d(0x1))['subscribe'](_0x5ac86f=>this[_0xee78e(0x11d)][_0xee78e(0x2e4)](_0xee78e(0x2be),_0x5ac86f)),_0x25383a[_0xee78e(0x354)]['pipe'](_0x4a374d(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x25383a);}),_0x25383a[_0xee78e(0x3f7)][_0xee78e(0x2cb)](_0x4a374d(0x1))[_0xee78e(0x395)](_0xc2b767=>{var _0x11f8a3=_0xee78e;this['_logService'][_0x11f8a3(0x187)]('[CollaborationSessionService]','socket\x20close',_0xc2b767),this[_0x11f8a3(0x282)]();});}}catch(_0x217092){this[_0xee78e(0x11d)][_0xee78e(0x2e4)](_0x217092),this[_0xee78e(0x282)]();}}[_0xbde005(0x35c)](_0x5d847d){var _0x1fb92f=_0xbde005;this[_0x1fb92f(0x11d)]['debug'](_0x1fb92f(0x3e2),_0x1fb92f(0x198)),_0x5d847d['send']({'cmd':j[_0x1fb92f(0x224)]}),this['_rescheduleHeartbeat']();}[_0xbde005(0x297)](){var _0xaf608=_0xbde005;this[_0xaf608(0x33a)]=!0x1,this[_0xaf608(0x38d)]=null,this['_status$'][_0xaf608(0x3b6)](me[_0xaf608(0x1f2)]),this[_0xaf608(0x286)][_0xaf608(0x3b6)](null),this[_0xaf608(0x298)](),this['_clearHeartbeatTimer']();}[_0xbde005(0x282)](){var _0x54319a=_0xbde005,_0x18c322;this['_onOffline'](),this[_0x54319a(0x318)]<((_0x18c322=this[_0x54319a(0x167)]['getConfig'](Os))!=null?_0x18c322:Rs)?(this['_collaborationUIEventService'][_0x54319a(0x1fb)]({'id':re[_0x54319a(0x3ff)]}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0x54319a(0x1fb)]({'id':re[_0x54319a(0x31c)]});}[_0xbde005(0x159)](){var _0x19d539=_0xbde005,_0x2070a7;const _0x47bbc6=this[_0x19d539(0x318)],_0x275ed6=this['_configService'][_0x19d539(0x3fc)](K),_0x3a40cd=_0x47bbc6===0x0?0x0:((_0x2070a7=_0x275ed6==null?void 0x0:_0x275ed6[_0x19d539(0x2f6)])!=null?_0x2070a7:Ts)*0x2**_0x47bbc6;this[_0x19d539(0x346)]=setTimeout(()=>{var _0x6dec=_0x19d539;clearTimeout(this[_0x6dec(0x346)]),this[_0x6dec(0x346)]=null,this[_0x6dec(0x18d)]();},_0x3a40cd),this['_retryCount']+=0x1;}[_0xbde005(0x1e4)](_0x58b429,_0xf54397){var _0x3a5776=_0xbde005;const {cmd:_0x4e5bef}=_0xf54397;_0x4e5bef===j[_0x3a5776(0x224)]&&!this[_0x3a5776(0x33a)]&&(_0x58b429[_0x3a5776(0x3f4)]=_0xf54397[_0x3a5776(0x336)][_0x3a5776(0x3f4)],this[_0x3a5776(0x286)][_0x3a5776(0x3b6)](_0x58b429),this[_0x3a5776(0x307)]['next'](me['ONLINE']),this[_0x3a5776(0x33a)]=!0x0,this[_0x3a5776(0x38d)]=null),_0x4e5bef===j[_0x3a5776(0x146)]&&this[_0x3a5776(0x298)](),this[_0x3a5776(0x30f)]();}[_0xbde005(0x30f)](){var _0x193b59=_0xbde005,_0x27494b;this[_0x193b59(0x15d)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x27494b=this[_0x193b59(0x167)][_0x193b59(0x3fc)](Ss))!=null?_0x27494b:gs);}['_sendHeartbeat'](){var _0x2ddd7f=_0xbde005;this['_socket'][_0x2ddd7f(0x29d)]({'cmd':j['HEARTBEAT']}),this[_0x2ddd7f(0x195)]();}[_0xbde005(0x195)](){var _0x2f2d55=_0xbde005,_0xfef2a;this[_0x2f2d55(0x2f9)]=setTimeout(()=>this[_0x2f2d55(0x282)](),(_0xfef2a=this['_configService']['getConfig'](di))!=null?_0xfef2a:fi);}['_clearHeartbeatTimer'](){var _0x3a3b0e=_0xbde005;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x3a3b0e(0x313)]),this[_0x3a3b0e(0x313)]=null);}['_clearTimeoutTimer'](){var _0x12959d=_0xbde005;this[_0x12959d(0x2f9)]!=null&&(clearTimeout(this[_0x12959d(0x2f9)]),this[_0x12959d(0x2f9)]=null);}};we=Xs([Re(0x0,_0x51e0dc(_0x20c230)),Re(0x1,_0x9e9972),Re(0x2,_0x50f0f7),Re(0x3,Ri),Re(0x4,_0x51e0dc(ve)),Re(0x5,_0x581e15(Vs))],we);var Js=Object[_0xbde005(0x2eb)],Zs=(_0x534674,_0x232823,_0xc75ca9,_0x390dd8)=>{var _0x2c01c8=_0xbde005;for(var _0x189d92=_0x390dd8>0x1?void 0x0:_0x390dd8?Js(_0x232823,_0xc75ca9):_0x232823,_0x5cf4fa=_0x534674[_0x2c01c8(0x372)]-0x1,_0x852b18;_0x5cf4fa>=0x0;_0x5cf4fa--)(_0x852b18=_0x534674[_0x5cf4fa])&&(_0x189d92=_0x852b18(_0x189d92)||_0x189d92);return _0x189d92;},Be=(_0xdc78a1,_0x3591e5)=>(_0x23956b,_0x7965b8)=>_0x3591e5(_0x23956b,_0x7965b8,_0xdc78a1);let nt=class extends _0x1e895e{constructor(_0x303dbb,_0x1869bf,_0x336103,_0x285ebb){var _0x4eb86d=_0xbde005,_0x1b4771;super(),D(this,_0x4eb86d(0x24e),new Map()),D(this,_0x4eb86d(0x121),new _0x5a35f4()),D(this,_0x4eb86d(0x11a),this[_0x4eb86d(0x121)]['asObservable']()),(this[_0x4eb86d(0x342)]=_0x303dbb,this[_0x4eb86d(0x17d)]=_0x1869bf,this['_configService']=_0x336103,this[_0x4eb86d(0x291)]=_0x285ebb,((_0x1b4771=this['_configService'][_0x4eb86d(0x3fc)](K))==null?void 0x0:_0x1b4771[_0x4eb86d(0x3c9)])!==!0x1&&this[_0x4eb86d(0x2e8)]());}['dispose'](){var _0x2711fe=_0xbde005;super[_0x2711fe(0x23a)](),this[_0x2711fe(0x24e)]['forEach'](_0x6c9437=>_0x6c9437[_0x2711fe(0x23a)]()),this[_0x2711fe(0x24e)]['clear']();}[_0xbde005(0x109)](_0x4b0bc1){var _0x1c2a3e;return(_0x1c2a3e=this['_entities']['get'](_0x4b0bc1))!=null?_0x1c2a3e:null;}['getCollabEntity$'](_0x497b1b){var _0x1735f4=_0xbde005;const _0x1e3807=this[_0x1735f4(0x109)](_0x497b1b);return _0x1e3807?_0x27da9c(_0x1e3807):this[_0x1735f4(0x121)][_0x1735f4(0x2cb)](_0x576d7f(_0x26643d=>_0x26643d[_0x1735f4(0x2c0)]===_0x497b1b));}[_0xbde005(0x382)](_0x28a2bc){var _0x148b0c=_0xbde005;return _0x414fe2(this[_0x148b0c(0x2f8)](_0x28a2bc)[_0x148b0c(0x2cb)](_0x465af3(()=>{})));}['_init'](){var _0x32e2f6=_0xbde005;this[_0x32e2f6(0x291)]['getTypeOfUnitAdded$'](_0x119145[_0x32e2f6(0x388)])['pipe'](_0x436a76(this[_0x32e2f6(0x3a8)]),_0x410d7f(0x10))[_0x32e2f6(0x395)](async _0x33d18f=>{var _0x8d4ea5=_0x32e2f6;const _0xdee9cd=_0x33d18f[_0x8d4ea5(0x241)](),_0x5e7f16=await this[_0x8d4ea5(0x2ea)](_0xdee9cd,Q[_0x8d4ea5(0x388)]);this[_0x8d4ea5(0x24e)]['set'](_0xdee9cd,_0x5e7f16);}),this['_univerInstanceService'][_0x32e2f6(0x36e)](_0x119145[_0x32e2f6(0x16c)])['pipe'](_0x436a76(this[_0x32e2f6(0x3a8)]),_0x410d7f(0x10))[_0x32e2f6(0x2cb)](_0x576d7f(_0x33e7e5=>!_0x33e7e5[_0x32e2f6(0x241)]()[_0x32e2f6(0x1da)]('__')))[_0x32e2f6(0x395)](async _0x4983bc=>{var _0x4d5153=_0x32e2f6;const _0x21e2dc=_0x4983bc['getUnitId'](),_0xa843c9=await this[_0x4d5153(0x2ea)](_0x21e2dc,Q[_0x4d5153(0x16c)]);this['_entities'][_0x4d5153(0x3cf)](_0x21e2dc,_0xa843c9);}),_0x521ca9(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x119145[_0x32e2f6(0x388)]),this['_univerInstanceService'][_0x32e2f6(0x3a1)](_0x119145[_0x32e2f6(0x16c)]))['pipe'](_0x436a76(this['dispose$']))['subscribe'](_0x1c23f3=>{var _0x53b2f9=_0x32e2f6;const _0x4ab192=_0x1c23f3['getUnitId'](),_0x1e0f08=this[_0x53b2f9(0x24e)]['get'](_0x4ab192);_0x1e0f08&&(_0x1e0f08[_0x53b2f9(0x23a)](),this['_entities'][_0x53b2f9(0x203)](_0x4ab192));});}async[_0xbde005(0x2ea)](_0x440251,_0x1bf076){var _0xa6f87d=_0xbde005;const _0x28605b=await this[_0xa6f87d(0x17d)][_0xa6f87d(0x16a)](_0x440251),_0x33dcce=this[_0xa6f87d(0x342)][_0xa6f87d(0x340)](this[_0xa6f87d(0x2fd)](_0x1bf076),_0x440251,_0x1bf076,_0x28605b);return await _0x33dcce[_0xa6f87d(0xfe)](),this[_0xa6f87d(0x121)]['next'](_0x33dcce),_0x33dcce;}[_0xbde005(0x2fd)](_0x4dac37){var _0x7ab461=_0xbde005;switch(_0x4dac37){case Q[_0x7ab461(0x16c)]:return It;case Q[_0x7ab461(0x388)]:return St;default:throw new Error(_0x7ab461(0x32b)+_0x4dac37);}}};nt=Zs([Be(0x0,_0x51e0dc(_0x20c230)),Be(0x1,_0x51e0dc(we)),Be(0x2,_0x50f0f7),Be(0x3,_0xecbae0)],nt);var Qs=Object[_0xbde005(0x2eb)],en=(_0x2daa94,_0x864826,_0x9659cb,_0x2eacd4)=>{var _0x8011d0=_0xbde005;for(var _0x2d5426=_0x2eacd4>0x1?void 0x0:_0x2eacd4?Qs(_0x864826,_0x9659cb):_0x864826,_0x863925=_0x2daa94[_0x8011d0(0x372)]-0x1,_0x2f0fe3;_0x863925>=0x0;_0x863925--)(_0x2f0fe3=_0x2daa94[_0x863925])&&(_0x2d5426=_0x2f0fe3(_0x2d5426)||_0x2d5426);return _0x2d5426;},Wt=(_0x3a8c7d,_0x222628)=>(_0x47d867,_0x495453)=>_0x222628(_0x47d867,_0x495453,_0x3a8c7d);const tn='DEFAULT_FILE_NAME',sn=_0xbde005(0x36a);let gt=class extends _0x20bf78{constructor(_0x4a2a11,_0x41e712){var _0x26f1bc=_0xbde005;super(),this[_0x26f1bc(0x291)]=_0x4a2a11,this[_0x26f1bc(0x167)]=_0x41e712,this[_0x26f1bc(0x2e8)]();}[_0xbde005(0x2e8)](){var _0x72af1b=_0xbde005;this['disposeWithMe'](this[_0x72af1b(0x291)][_0x72af1b(0x215)][_0x72af1b(0x395)](()=>{var _0x578c14=_0x72af1b,_0x51bc7d;const _0x74ff7a=this[_0x578c14(0x291)][_0x578c14(0x3fa)]();let _0x33f2f4=(_0x51bc7d=this['_configService'][_0x578c14(0x3fc)](tn))!=null?_0x51bc7d:sn;_0x74ff7a instanceof _0x35b9e4&&(_0x33f2f4=_0x74ff7a[_0x578c14(0x392)]),document['title']=_0x33f2f4;}));}};gt=en([Wt(0x0,_0xecbae0),Wt(0x1,_0x50f0f7)],gt);var nn=Object[_0xbde005(0x2eb)],rn=(_0x4c740f,_0x4ca3f7,_0x54069e,_0x4eaf26)=>{var _0x47fdfb=_0xbde005;for(var _0x4c8024=_0x4eaf26>0x1?void 0x0:_0x4eaf26?nn(_0x4ca3f7,_0x54069e):_0x4ca3f7,_0x34d5c9=_0x4c740f[_0x47fdfb(0x372)]-0x1,_0x19fb34;_0x34d5c9>=0x0;_0x34d5c9--)(_0x19fb34=_0x4c740f[_0x34d5c9])&&(_0x4c8024=_0x19fb34(_0x4c8024)||_0x4c8024);return _0x4c8024;},dt=(_0x204fbe,_0x3a72cf)=>(_0x416bf3,_0x4cdaa4)=>_0x3a72cf(_0x416bf3,_0x4cdaa4,_0x204fbe);let rt=class{constructor(_0x29713d,_0x28877b,_0x1f7af1){var _0x56d0c5=_0xbde005;this[_0x56d0c5(0x167)]=_0x29713d,this[_0x56d0c5(0x163)]=_0x28877b,this[_0x56d0c5(0x1d3)]=_0x1f7af1,this['init']();}[_0xbde005(0xfe)](){var _0xa28a5=_0xbde005;this[_0xa28a5(0x163)][_0xa28a5(0x2d5)]({'priority':0x1,'interceptor':(_0x488cc0,_0x236bc8)=>_0x236bc8(_0x488cc0)['pipe'](_0x5462e2(async _0x5bb8b7=>{var _0x4632c6=_0xa28a5;const _0x443961=_0x5bb8b7;if(_0x443961[_0x4632c6(0x2ba)]===0x191){if(typeof window>'u')throw new Error(_0x4632c6(0x126));if(window[_0x4632c6(0x20e)](this[_0x4632c6(0x1d3)]['t'](_0x4632c6(0x120)))){const _0x56ed74=window[_0x4632c6(0x2c7)](window[_0x4632c6(0x180)]['href']);window[_0x4632c6(0x180)][_0x4632c6(0x391)]=this['_getLoginPath']()+_0x4632c6(0x12d)+_0x56ed74;}}return _0x443961;}))});}[_0xbde005(0x225)](){var _0x3600b3=_0xbde005,_0x45d0f2;const _0x19869c=this[_0x3600b3(0x167)][_0x3600b3(0x3fc)](K);return(_0x45d0f2=_0x19869c==null?void 0x0:_0x19869c[_0x3600b3(0x1ce)])!=null?_0x45d0f2:Cs;}};rt=rn([dt(0x0,_0x50f0f7),dt(0x1,_0x51e0dc(_0x4583bc)),dt(0x2,_0x51e0dc(_0x4a91ba))],rt);var an=Object[_0xbde005(0x2eb)],on=(_0x5ae9c6,_0x3a32dd,_0x1bc315,_0x1e0708)=>{for(var _0x40ad3a=_0x1e0708>0x1?void 0x0:_0x1e0708?an(_0x3a32dd,_0x1bc315):_0x3a32dd,_0x1bcf69=_0x5ae9c6['length']-0x1,_0x15afe8;_0x1bcf69>=0x0;_0x1bcf69--)(_0x15afe8=_0x5ae9c6[_0x1bcf69])&&(_0x40ad3a=_0x15afe8(_0x40ad3a)||_0x40ad3a);return _0x40ad3a;},Yt=(_0x22f9e4,_0x231c98)=>(_0x5aea54,_0x5b6fae)=>_0x231c98(_0x5aea54,_0x5b6fae,_0x22f9e4);const cn=_0xbde005(0x22d);let Tt=class extends _0x20bf78{constructor(_0xee6b54,_0x430238){var _0x5d48b7=_0xbde005;super(),this[_0x5d48b7(0x1b6)]=_0xee6b54,this[_0x5d48b7(0x167)]=_0x430238,this['_initMergeInterceptor']();}[_0xbde005(0x2cd)](){var _0x751b9b=_0xbde005;const _0x5c3ba3=this;this[_0x751b9b(0x26b)](this['_HTTPService'][_0x751b9b(0x2d5)]({'priority':0x3e7,'interceptor':_0x496499({'isMatch'(_0x2af8df){var _0x306c5a=_0x751b9b,_0x14d486;if(_0x2af8df['method']===_0x306c5a(0x1ee)&&((_0x14d486=_0x2af8df['requestParams'])!=null&&_0x14d486[_0x306c5a(0x134)])){const {objectID:_0x3343f6,objectType:_0x19a462}=_0x2af8df[_0x306c5a(0x1cb)][_0x306c5a(0x134)]||{};if(!_0x3343f6||_0x19a462===void 0x0)return!0x1;const _0x1b298b=_0x5c3ba3[_0x306c5a(0x386)]()+'/'+_0x19a462+_0x306c5a(0x1f4)+_0x3343f6+_0x306c5a(0x3fd);if(_0x2af8df[_0x306c5a(0x408)]===_0x1b298b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x585c9e){var _0x15677d=_0x751b9b,_0x17bcdf;return(_0x17bcdf=_0x585c9e['requestParams'])==null?void 0x0:_0x17bcdf[_0x15677d(0x134)];},'mergeParamsToRequest'(_0x55f733,_0x51f9d8){var _0x544b20=_0x751b9b;const _0x110759=_0x5c3ba3[_0x544b20(0x386)]()+_0x544b20(0x337),_0x1c752e=_0x55f733[_0x544b20(0x182)]((_0xa18a2f,_0x5aefd7)=>{var _0x30439a=_0x544b20;const {unitID:_0x9fe940,objectID:_0x261f82,objectType:_0x24d511,actions:_0x26783a}=_0x5aefd7;return _0xa18a2f[_0x9fe940]||(_0xa18a2f[_0x9fe940]={}),_0xa18a2f[_0x9fe940][_0x261f82]||(_0xa18a2f[_0x9fe940][_0x261f82]={'objectID':_0x261f82,'objectType':_0x24d511,'actions':[]}),_0xa18a2f[_0x9fe940][_0x261f82]['actions'][_0x30439a(0x38b)](..._0x26783a),_0xa18a2f;},{}),_0x266ddf=[];for(const _0x11c2b2 in _0x1c752e)for(const _0x4ee84e in _0x1c752e[_0x11c2b2]){const {actions:_0x206fd0,objectType:_0x840aa4}=_0x1c752e[_0x11c2b2][_0x4ee84e],_0xce603a=[...new Set(_0x206fd0)];_0x266ddf['push']({'unitID':_0x11c2b2,'objectID':_0x4ee84e,'objectType':_0x840aa4,'actions':_0xce603a});}return new _0x52d765(_0x544b20(0x1ee),_0x110759,{'headers':_0x51f9d8['headers'],'withCredentials':_0x51f9d8['withCredentials'],'responseType':_0x51f9d8[_0x544b20(0x410)],'body':{'requests':_0x266ddf}});}},{'distributeResult'(_0x36c26b,_0x52495c){var _0x125166=_0x751b9b;const {objectActions:_0x56a299}=_0x36c26b;return _0x52495c[_0x125166(0x3c5)](_0x37e4b8=>{var _0x5359c6=_0x125166;const {unitID:_0x447ef2,objectID:_0x296206,actions:_0xce5a93}=_0x37e4b8,_0x45f295=_0x56a299['find'](_0x1a37da=>_0x1a37da[_0x5359c6(0x2c0)]===_0x447ef2&&_0x1a37da[_0x5359c6(0x118)]===_0x296206),_0x5cfdbf=_0xce5a93['map'](_0x291b2a=>_0x45f295==null?void 0x0:_0x45f295[_0x5359c6(0x1c0)][_0x5359c6(0x2e9)](_0x95a07c=>_0x95a07c[_0x5359c6(0x24a)]===_0x291b2a))['filter'](_0x3e531a=>!!_0x3e531a);return{'config':_0x37e4b8,'result':{'actions':_0x5cfdbf,'error':_0x36c26b['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x23a893=_0xbde005,_0x412659;const _0x26212d=this[_0x23a893(0x167)][_0x23a893(0x3fc)](K);return(_0x412659=_0x26212d==null?void 0x0:_0x26212d[_0x23a893(0x2d3)])!=null?_0x412659:cn;}async[_0xbde005(0x1ac)](_0x4e43be){var _0x24bcf1=_0xbde005;const _0xb419dd=this[_0x24bcf1(0x386)]()+'/'+_0x4e43be[_0x24bcf1(0x105)]+_0x24bcf1(0x207);return(await this['_HTTPService']['post'](_0xb419dd,{'body':_0x4e43be}))[_0x24bcf1(0x134)][_0x24bcf1(0x118)]||'';}async[_0xbde005(0x3ae)](_0x260e94){var _0x573041=_0xbde005;const _0x5cec68=this[_0x573041(0x386)]()+_0x573041(0x314);return(await this[_0x573041(0x1b6)][_0x573041(0x1d5)](_0x5cec68,{'body':_0x260e94}))[_0x573041(0x134)]['objects'];}async[_0xbde005(0x3c8)](_0x561088){var _0x2f9fc8=_0xbde005,_0x3e083c,_0x5e060a;const _0x226fad=this[_0x2f9fc8(0x386)]()+'/'+_0x561088['objectType']+'/object/'+_0x561088['objectID'],_0xddc727=await this[_0x2f9fc8(0x1b6)]['put'](_0x226fad,{'body':_0x561088});if(((_0x5e060a=(_0x3e083c=_0xddc727==null?void 0x0:_0xddc727[_0x2f9fc8(0x134)])==null?void 0x0:_0x3e083c[_0x2f9fc8(0x2e4)])==null?void 0x0:_0x5e060a[_0x2f9fc8(0x375)])!==0x1)throw new Error(_0x2f9fc8(0x3f5));}async[_0xbde005(0x1f5)](_0x34ef5f){var _0x3705f9=_0xbde005;const _0x576d87=this[_0x3705f9(0x386)]()+'/'+_0x34ef5f['objectType']+'/object/'+_0x34ef5f[_0x3705f9(0x118)]+_0x3705f9(0x3fd);return(await this[_0x3705f9(0x1b6)][_0x3705f9(0x1d5)](_0x576d87,{'body':_0x34ef5f}))['body'][_0x3705f9(0x1c0)];}async[_0xbde005(0x1cf)](_0x4be36d){var _0x4fa9f7=_0xbde005;const _0x2e0bd2=this[_0x4fa9f7(0x386)]()+'/-/object/-/batch_allowed';return(await this[_0x4fa9f7(0x1b6)][_0x4fa9f7(0x1d5)](_0x2e0bd2,{'body':{'requests':_0x4be36d}}))[_0x4fa9f7(0x134)][_0x4fa9f7(0x3e1)];}async['listRoles'](_0x51f04b){var _0x46f44e=_0xbde005;const _0x3569a7=this[_0x46f44e(0x386)]()+'/'+_0x51f04b[_0x46f44e(0x105)]+_0x46f44e(0x351),_0x3edcb4=await this[_0x46f44e(0x1b6)][_0x46f44e(0x1d5)](_0x3569a7,{'body':_0x51f04b});return{'roles':_0x3edcb4[_0x46f44e(0x134)][_0x46f44e(0x379)],'actions':_0x3edcb4['body'][_0x46f44e(0x1c0)]};}async[_0xbde005(0x293)](_0x3cc8ea){var _0x528add=_0xbde005;const _0x364f9=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x528add(0x1b6)][_0x528add(0x203)](_0x364f9,{'params':{'collaboratorID':_0x3cc8ea[_0x528add(0x1e2)],'objectID':_0x3cc8ea['objectID'],'unitID':_0x3cc8ea['unitID']}});}async[_0xbde005(0x35b)](_0xa7b8f1){var _0x5d0eb1=_0xbde005;const _0x5c8457=this[_0x5d0eb1(0x386)]()+'/collaborator';await this[_0x5d0eb1(0x1b6)]['patch'](_0x5c8457,{'body':_0xa7b8f1});}async[_0xbde005(0x1e0)](_0x450878){var _0x5b5b5f=_0xbde005;const _0x1ff776=this[_0x5b5b5f(0x386)]()+_0x5b5b5f(0xf3);await this['_HTTPService'][_0x5b5b5f(0x1d5)](_0x1ff776,{'body':_0x450878});}async[_0xbde005(0x110)](_0x5388d8){var _0x295bd3=_0xbde005;const _0xe3c05f=this[_0x295bd3(0x386)]()+_0x295bd3(0xf3);return(await this[_0x295bd3(0x1b6)][_0x295bd3(0x164)](_0xe3c05f,{'params':{'objectID':_0x5388d8[_0x295bd3(0x118)],'unitID':_0x5388d8[_0x295bd3(0x2c0)]}}))[_0x295bd3(0x134)][_0x295bd3(0xf9)];}async[_0xbde005(0x2a5)](_0x45b785){var _0x56db94=_0xbde005;const _0x4253c5=this[_0x56db94(0x386)]()+_0x56db94(0xf3);await this[_0x56db94(0x1b6)][_0x56db94(0x37f)](_0x4253c5,{'body':_0x45b785});}};Tt=on([Yt(0x0,_0x51e0dc(_0x4583bc)),Yt(0x1,_0x51e0dc(_0x50f0f7))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x4508f7){var _0x273376=_0xbde005;return _0x4508f7&&_0x4508f7[_0x273376(0x102)]&&Object[_0x273376(0x36b)][_0x273376(0x3ab)]['call'](_0x4508f7,_0x273376(0x2ae))?_0x4508f7['default']:_0x4508f7;}var Ve={'exports':{}};function _n(_0x5faf86){var _0xb776eb=_0xbde005;throw new Error(_0xb776eb(0x32c)+_0x5faf86+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},hn=Ge[_0xbde005(0x137)],Kt;function ie(){var _0x43eb14=_0xbde005;return Kt||(Kt=0x1,function(_0x40ac03,_0x1eab98){(function(_0x404455,_0x2ebc81){var _0xbe3817=_0x3d7d;_0x40ac03[_0xbe3817(0x137)]=_0x2ebc81();}(hn,function(){var _0x230173=_0x230173||function(_0x1ec28a,_0x1c317b){var _0x4841dc=_0x3d7d,_0x1b4aaf;if(typeof window<'u'&&window['crypto']&&(_0x1b4aaf=window[_0x4841dc(0x315)]),typeof self<'u'&&self['crypto']&&(_0x1b4aaf=self['crypto']),typeof globalThis<'u'&&globalThis[_0x4841dc(0x315)]&&(_0x1b4aaf=globalThis[_0x4841dc(0x315)]),!_0x1b4aaf&&typeof window<'u'&&window[_0x4841dc(0x2ad)]&&(_0x1b4aaf=window[_0x4841dc(0x2ad)]),!_0x1b4aaf&&typeof ft<'u'&&ft[_0x4841dc(0x315)]&&(_0x1b4aaf=ft[_0x4841dc(0x315)]),!_0x1b4aaf&&typeof _n==_0x4841dc(0x1c4))try{_0x1b4aaf=require('crypto');}catch{}var _0x3d0f4d=function(){var _0x210dc7=_0x4841dc;if(_0x1b4aaf){if(typeof _0x1b4aaf[_0x210dc7(0x236)]==_0x210dc7(0x1c4))try{return _0x1b4aaf[_0x210dc7(0x236)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1b4aaf[_0x210dc7(0x255)]==_0x210dc7(0x1c4))try{return _0x1b4aaf[_0x210dc7(0x255)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x4c2d03=Object[_0x4841dc(0x1ac)]||(function(){function _0x325171(){}return function(_0x370310){var _0xff7364=_0x3d7d,_0x5378e8;return _0x325171['prototype']=_0x370310,_0x5378e8=new _0x325171(),_0x325171[_0xff7364(0x36b)]=null,_0x5378e8;};}()),_0xf89e93={},_0x43caa2=_0xf89e93['lib']={},_0x41aa46=_0x43caa2[_0x4841dc(0x103)]=(function(){return{'extend':function(_0x44dde5){var _0x12266a=_0x3d7d,_0x344e8f=_0x4c2d03(this);return _0x44dde5&&_0x344e8f[_0x12266a(0x21d)](_0x44dde5),(!_0x344e8f[_0x12266a(0x3ab)](_0x12266a(0xfe))||this['init']===_0x344e8f['init'])&&(_0x344e8f[_0x12266a(0xfe)]=function(){var _0x2f7138=_0x12266a;_0x344e8f['$super'][_0x2f7138(0xfe)][_0x2f7138(0x3aa)](this,arguments);}),_0x344e8f[_0x12266a(0xfe)][_0x12266a(0x36b)]=_0x344e8f,_0x344e8f[_0x12266a(0x2bc)]=this,_0x344e8f;},'create':function(){var _0x39bf6a=_0x3d7d,_0x3104e9=this[_0x39bf6a(0x294)]();return _0x3104e9[_0x39bf6a(0xfe)][_0x39bf6a(0x3aa)](_0x3104e9,arguments),_0x3104e9;},'init':function(){},'mixIn':function(_0x5608b3){var _0x13ee9a=_0x3d7d;for(var _0x34e6b0 in _0x5608b3)_0x5608b3[_0x13ee9a(0x3ab)](_0x34e6b0)&&(this[_0x34e6b0]=_0x5608b3[_0x34e6b0]);_0x5608b3['hasOwnProperty'](_0x13ee9a(0x10d))&&(this[_0x13ee9a(0x10d)]=_0x5608b3['toString']);},'clone':function(){var _0x456853=_0x3d7d;return this[_0x456853(0xfe)][_0x456853(0x36b)][_0x456853(0x294)](this);}};}()),_0x361359=_0x43caa2[_0x4841dc(0x1ec)]=_0x41aa46['extend']({'init':function(_0x575961,_0x3ae172){var _0x326409=_0x4841dc;_0x575961=this[_0x326409(0x1fa)]=_0x575961||[],_0x3ae172!=_0x1c317b?this[_0x326409(0x376)]=_0x3ae172:this[_0x326409(0x376)]=_0x575961['length']*0x4;},'toString':function(_0xbefa23){var _0x3c9a01=_0x4841dc;return(_0xbefa23||_0x25d0d0)[_0x3c9a01(0x40c)](this);},'concat':function(_0x433d10){var _0x47da5f=_0x4841dc,_0x140adf=this[_0x47da5f(0x1fa)],_0x152de2=_0x433d10['words'],_0xc1721f=this[_0x47da5f(0x376)],_0xb72082=_0x433d10[_0x47da5f(0x376)];if(this[_0x47da5f(0x166)](),_0xc1721f%0x4)for(var _0x41c967=0x0;_0x41c967<_0xb72082;_0x41c967++){var _0x452692=_0x152de2[_0x41c967>>>0x2]>>>0x18-_0x41c967%0x4*0x8&0xff;_0x140adf[_0xc1721f+_0x41c967>>>0x2]|=_0x452692<<0x18-(_0xc1721f+_0x41c967)%0x4*0x8;}else{for(var _0xc6be01=0x0;_0xc6be01<_0xb72082;_0xc6be01+=0x4)_0x140adf[_0xc1721f+_0xc6be01>>>0x2]=_0x152de2[_0xc6be01>>>0x2];}return this[_0x47da5f(0x376)]+=_0xb72082,this;},'clamp':function(){var _0x2dbfb8=_0x4841dc,_0x18b068=this[_0x2dbfb8(0x1fa)],_0x4c2748=this['sigBytes'];_0x18b068[_0x4c2748>>>0x2]&=0xffffffff<<0x20-_0x4c2748%0x4*0x8,_0x18b068[_0x2dbfb8(0x372)]=_0x1ec28a[_0x2dbfb8(0x269)](_0x4c2748/0x4);},'clone':function(){var _0x2dfe93=_0x4841dc,_0x32ffe2=_0x41aa46[_0x2dfe93(0x108)][_0x2dfe93(0x122)](this);return _0x32ffe2[_0x2dfe93(0x1fa)]=this[_0x2dfe93(0x1fa)][_0x2dfe93(0x38f)](0x0),_0x32ffe2;},'random':function(_0x4d4355){var _0x6a4816=_0x4841dc;for(var _0x571a33=[],_0x931b8=0x0;_0x931b8<_0x4d4355;_0x931b8+=0x4)_0x571a33[_0x6a4816(0x38b)](_0x3d0f4d());return new _0x361359[(_0x6a4816(0xfe))](_0x571a33,_0x4d4355);}}),_0x5e9e8c=_0xf89e93[_0x4841dc(0x29e)]={},_0x25d0d0=_0x5e9e8c[_0x4841dc(0x285)]={'stringify':function(_0x2a364b){var _0x325972=_0x4841dc;for(var _0x1d8883=_0x2a364b[_0x325972(0x1fa)],_0x5927fe=_0x2a364b[_0x325972(0x376)],_0xfee8e1=[],_0x19ec00=0x0;_0x19ec00<_0x5927fe;_0x19ec00++){var _0x208a32=_0x1d8883[_0x19ec00>>>0x2]>>>0x18-_0x19ec00%0x4*0x8&0xff;_0xfee8e1[_0x325972(0x38b)]((_0x208a32>>>0x4)['toString'](0x10)),_0xfee8e1[_0x325972(0x38b)]((_0x208a32&0xf)['toString'](0x10));}return _0xfee8e1['join']('');},'parse':function(_0x49bc53){var _0x3fceef=_0x4841dc;for(var _0x1844b9=_0x49bc53[_0x3fceef(0x372)],_0x327d6d=[],_0x581229=0x0;_0x581229<_0x1844b9;_0x581229+=0x2)_0x327d6d[_0x581229>>>0x3]|=parseInt(_0x49bc53[_0x3fceef(0x15a)](_0x581229,0x2),0x10)<<0x18-_0x581229%0x8*0x4;return new _0x361359[(_0x3fceef(0xfe))](_0x327d6d,_0x1844b9/0x2);}},_0x201f98=_0x5e9e8c['Latin1']={'stringify':function(_0x2c2ee8){var _0x2ab28f=_0x4841dc;for(var _0x46ca3d=_0x2c2ee8[_0x2ab28f(0x1fa)],_0x2c623b=_0x2c2ee8[_0x2ab28f(0x376)],_0x2f1707=[],_0x5d9d9e=0x0;_0x5d9d9e<_0x2c623b;_0x5d9d9e++){var _0x30a443=_0x46ca3d[_0x5d9d9e>>>0x2]>>>0x18-_0x5d9d9e%0x4*0x8&0xff;_0x2f1707['push'](String[_0x2ab28f(0x40f)](_0x30a443));}return _0x2f1707[_0x2ab28f(0x3e7)]('');},'parse':function(_0x116af1){var _0x152bf1=_0x4841dc;for(var _0x51e5e1=_0x116af1[_0x152bf1(0x372)],_0x335107=[],_0x5939d8=0x0;_0x5939d8<_0x51e5e1;_0x5939d8++)_0x335107[_0x5939d8>>>0x2]|=(_0x116af1['charCodeAt'](_0x5939d8)&0xff)<<0x18-_0x5939d8%0x4*0x8;return new _0x361359[(_0x152bf1(0xfe))](_0x335107,_0x51e5e1);}},_0x4da93d=_0x5e9e8c['Utf8']={'stringify':function(_0x12cf2b){var _0x140fcd=_0x4841dc;try{return decodeURIComponent(escape(_0x201f98[_0x140fcd(0x40c)](_0x12cf2b)));}catch{throw new Error(_0x140fcd(0x157));}},'parse':function(_0x43f1af){return _0x201f98['parse'](unescape(encodeURIComponent(_0x43f1af)));}},_0x3be6c6=_0x43caa2['BufferedBlockAlgorithm']=_0x41aa46[_0x4841dc(0x294)]({'reset':function(){var _0x1b5146=_0x4841dc;this['_data']=new _0x361359[(_0x1b5146(0xfe))](),this[_0x1b5146(0x2c8)]=0x0;},'_append':function(_0x14f246){var _0x4b8ea7=_0x4841dc;typeof _0x14f246==_0x4b8ea7(0x323)&&(_0x14f246=_0x4da93d['parse'](_0x14f246)),this['_data']['concat'](_0x14f246),this[_0x4b8ea7(0x2c8)]+=_0x14f246[_0x4b8ea7(0x376)];},'_process':function(_0x45d4f7){var _0x22bd77=_0x4841dc,_0x224d72,_0x5b30e8=this[_0x22bd77(0x149)],_0x3c2490=_0x5b30e8['words'],_0x32d2ba=_0x5b30e8[_0x22bd77(0x376)],_0x39a4c9=this[_0x22bd77(0x290)],_0x25eeb4=_0x39a4c9*0x4,_0x2cde69=_0x32d2ba/_0x25eeb4;_0x45d4f7?_0x2cde69=_0x1ec28a[_0x22bd77(0x269)](_0x2cde69):_0x2cde69=_0x1ec28a[_0x22bd77(0x295)]((_0x2cde69|0x0)-this['_minBufferSize'],0x0);var _0x3cd11a=_0x2cde69*_0x39a4c9,_0x4a7788=_0x1ec28a[_0x22bd77(0x3e5)](_0x3cd11a*0x4,_0x32d2ba);if(_0x3cd11a){for(var _0x27cb30=0x0;_0x27cb30<_0x3cd11a;_0x27cb30+=_0x39a4c9)this[_0x22bd77(0x2fb)](_0x3c2490,_0x27cb30);_0x224d72=_0x3c2490['splice'](0x0,_0x3cd11a),_0x5b30e8[_0x22bd77(0x376)]-=_0x4a7788;}return new _0x361359[(_0x22bd77(0xfe))](_0x224d72,_0x4a7788);},'clone':function(){var _0x5db155=_0x4841dc,_0x26668d=_0x41aa46[_0x5db155(0x108)][_0x5db155(0x122)](this);return _0x26668d[_0x5db155(0x149)]=this[_0x5db155(0x149)][_0x5db155(0x108)](),_0x26668d;},'_minBufferSize':0x0});_0x43caa2[_0x4841dc(0x1dc)]=_0x3be6c6[_0x4841dc(0x294)]({'cfg':_0x41aa46[_0x4841dc(0x294)](),'init':function(_0x3f2a8e){var _0x26f156=_0x4841dc;this[_0x26f156(0x403)]=this['cfg'][_0x26f156(0x294)](_0x3f2a8e),this[_0x26f156(0x2a7)]();},'reset':function(){var _0x70c690=_0x4841dc;_0x3be6c6[_0x70c690(0x2a7)]['call'](this),this['_doReset']();},'update':function(_0x29f2d8){var _0x463ccd=_0x4841dc;return this[_0x463ccd(0x360)](_0x29f2d8),this[_0x463ccd(0x165)](),this;},'finalize':function(_0x5a9086){var _0x22a5fc=_0x4841dc;_0x5a9086&&this[_0x22a5fc(0x360)](_0x5a9086);var _0x3974b2=this[_0x22a5fc(0x412)]();return _0x3974b2;},'blockSize':0x10,'_createHelper':function(_0x242e75){return function(_0x53ff26,_0x2f8bd2){var _0x61d7e5=_0x3d7d;return new _0x242e75[(_0x61d7e5(0xfe))](_0x2f8bd2)[_0x61d7e5(0x37e)](_0x53ff26);};},'_createHmacHelper':function(_0x45f236){return function(_0x21b1e9,_0x283d19){var _0x341c91=_0x3d7d;return new _0x1b0796[(_0x341c91(0x15b))][(_0x341c91(0xfe))](_0x45f236,_0x283d19)[_0x341c91(0x37e)](_0x21b1e9);};}});var _0x1b0796=_0xf89e93[_0x4841dc(0x116)]={};return _0xf89e93;}(Math);return _0x230173;}));}(Ge)),Ge[_0x43eb14(0x137)];}var We={'exports':{}},ln=We[_0xbde005(0x137)],qt;function Ni(){var _0x373217=_0xbde005;return qt||(qt=0x1,function(_0x2046c7,_0x45bdde){(function(_0x454491,_0x1fbf4a){var _0x29a516=_0x3d7d;_0x2046c7[_0x29a516(0x137)]=_0x1fbf4a(ie());}(ln,function(_0x2c07b5){var _0x107dbe=_0x3d7d;return(function(){var _0x3be669=_0x3d7d,_0x560554=_0x2c07b5,_0x51a74d=_0x560554[_0x3be669(0x1fd)],_0x3c44f7=_0x51a74d[_0x3be669(0x1ec)],_0x8ea466=_0x560554[_0x3be669(0x29e)];_0x8ea466[_0x3be669(0x197)]={'stringify':function(_0x2538e9){var _0x5d0ee2=_0x3be669,_0x5f5b65=_0x2538e9[_0x5d0ee2(0x1fa)],_0x40420e=_0x2538e9[_0x5d0ee2(0x376)],_0x14ff75=this[_0x5d0ee2(0x312)];_0x2538e9[_0x5d0ee2(0x166)]();for(var _0x27ee51=[],_0xca372a=0x0;_0xca372a<_0x40420e;_0xca372a+=0x3)for(var _0x25cbd4=_0x5f5b65[_0xca372a>>>0x2]>>>0x18-_0xca372a%0x4*0x8&0xff,_0x26bf71=_0x5f5b65[_0xca372a+0x1>>>0x2]>>>0x18-(_0xca372a+0x1)%0x4*0x8&0xff,_0x4525ab=_0x5f5b65[_0xca372a+0x2>>>0x2]>>>0x18-(_0xca372a+0x2)%0x4*0x8&0xff,_0x34c420=_0x25cbd4<<0x10|_0x26bf71<<0x8|_0x4525ab,_0x507131=0x0;_0x507131<0x4&&_0xca372a+_0x507131*0.75<_0x40420e;_0x507131++)_0x27ee51['push'](_0x14ff75[_0x5d0ee2(0x276)](_0x34c420>>>0x6*(0x3-_0x507131)&0x3f));var _0x5c713d=_0x14ff75[_0x5d0ee2(0x276)](0x40);if(_0x5c713d){for(;_0x27ee51[_0x5d0ee2(0x372)]%0x4;)_0x27ee51[_0x5d0ee2(0x38b)](_0x5c713d);}return _0x27ee51[_0x5d0ee2(0x3e7)]('');},'parse':function(_0x111f76){var _0x367894=_0x3be669,_0x136865=_0x111f76['length'],_0x1e1983=this[_0x367894(0x312)],_0x196c62=this[_0x367894(0x3ef)];if(!_0x196c62){_0x196c62=this[_0x367894(0x3ef)]=[];for(var _0x26d30b=0x0;_0x26d30b<_0x1e1983['length'];_0x26d30b++)_0x196c62[_0x1e1983[_0x367894(0x3a3)](_0x26d30b)]=_0x26d30b;}var _0xac170d=_0x1e1983[_0x367894(0x276)](0x40);if(_0xac170d){var _0x613e5b=_0x111f76[_0x367894(0x2d7)](_0xac170d);_0x613e5b!==-0x1&&(_0x136865=_0x613e5b);}return _0x15b319(_0x111f76,_0x136865,_0x196c62);},'_map':_0x3be669(0x36c)};function _0x15b319(_0x5a6bb9,_0x3d71e0,_0x2626ac){var _0x403364=_0x3be669;for(var _0x471cad=[],_0x2d1a31=0x0,_0x16d492=0x0;_0x16d492<_0x3d71e0;_0x16d492++)if(_0x16d492%0x4){var _0x56ebf1=_0x2626ac[_0x5a6bb9['charCodeAt'](_0x16d492-0x1)]<<_0x16d492%0x4*0x2,_0x2c5a1e=_0x2626ac[_0x5a6bb9[_0x403364(0x3a3)](_0x16d492)]>>>0x6-_0x16d492%0x4*0x2,_0x35e4a8=_0x56ebf1|_0x2c5a1e;_0x471cad[_0x2d1a31>>>0x2]|=_0x35e4a8<<0x18-_0x2d1a31%0x4*0x8,_0x2d1a31++;}return _0x3c44f7['create'](_0x471cad,_0x2d1a31);}}()),_0x2c07b5[_0x107dbe(0x29e)]['Base64'];}));}(We)),We[_0x373217(0x137)];}var Ye={'exports':{}},un=Ye[_0xbde005(0x137)],zt;function dn(){var _0x580a16=_0xbde005;return zt||(zt=0x1,function(_0x1ab591,_0x505a4d){(function(_0x1632b8,_0x60108e){var _0x47a19c=_0x3d7d;_0x1ab591[_0x47a19c(0x137)]=_0x60108e(ie());}(un,function(_0x1108d1){var _0x151b1d=_0x3d7d;return function(_0x45ae28){var _0x5f0666=_0x3d7d,_0x5df578=_0x1108d1,_0x2a77d3=_0x5df578[_0x5f0666(0x1fd)],_0x21e195=_0x2a77d3[_0x5f0666(0x1ec)],_0x262d2f=_0x2a77d3[_0x5f0666(0x1dc)],_0x4885be=_0x5df578[_0x5f0666(0x116)],_0x186758=[];(function(){var _0x5ae1b3=_0x5f0666;for(var _0x9adcfe=0x0;_0x9adcfe<0x40;_0x9adcfe++)_0x186758[_0x9adcfe]=_0x45ae28[_0x5ae1b3(0x31a)](_0x45ae28['sin'](_0x9adcfe+0x1))*0x100000000|0x0;}());var _0x642f44=_0x4885be[_0x5f0666(0x243)]=_0x262d2f[_0x5f0666(0x294)]({'_doReset':function(){var _0x1c5290=_0x5f0666;this[_0x1c5290(0x3cc)]=new _0x21e195[(_0x1c5290(0xfe))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x11ba59,_0x18481a){var _0x3db065=_0x5f0666;for(var _0x1d86f3=0x0;_0x1d86f3<0x10;_0x1d86f3++){var _0x214269=_0x18481a+_0x1d86f3,_0x14db3a=_0x11ba59[_0x214269];_0x11ba59[_0x214269]=(_0x14db3a<<0x8|_0x14db3a>>>0x18)&0xff00ff|(_0x14db3a<<0x18|_0x14db3a>>>0x8)&0xff00ff00;}var _0x26571b=this[_0x3db065(0x3cc)][_0x3db065(0x1fa)],_0x20e307=_0x11ba59[_0x18481a+0x0],_0x480850=_0x11ba59[_0x18481a+0x1],_0x59e659=_0x11ba59[_0x18481a+0x2],_0x1decad=_0x11ba59[_0x18481a+0x3],_0xe2c7bd=_0x11ba59[_0x18481a+0x4],_0x1195b0=_0x11ba59[_0x18481a+0x5],_0x1d6665=_0x11ba59[_0x18481a+0x6],_0x4b6e01=_0x11ba59[_0x18481a+0x7],_0x36c479=_0x11ba59[_0x18481a+0x8],_0x19b273=_0x11ba59[_0x18481a+0x9],_0x2898df=_0x11ba59[_0x18481a+0xa],_0x533348=_0x11ba59[_0x18481a+0xb],_0x467fa7=_0x11ba59[_0x18481a+0xc],_0x1fca87=_0x11ba59[_0x18481a+0xd],_0x551b9e=_0x11ba59[_0x18481a+0xe],_0x2e036f=_0x11ba59[_0x18481a+0xf],_0x996d77=_0x26571b[0x0],_0x20b321=_0x26571b[0x1],_0x98663=_0x26571b[0x2],_0x229f91=_0x26571b[0x3];_0x996d77=_0x254c8f(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x20e307,0x7,_0x186758[0x0]),_0x229f91=_0x254c8f(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x480850,0xc,_0x186758[0x1]),_0x98663=_0x254c8f(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x59e659,0x11,_0x186758[0x2]),_0x20b321=_0x254c8f(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x1decad,0x16,_0x186758[0x3]),_0x996d77=_0x254c8f(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0xe2c7bd,0x7,_0x186758[0x4]),_0x229f91=_0x254c8f(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x1195b0,0xc,_0x186758[0x5]),_0x98663=_0x254c8f(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x1d6665,0x11,_0x186758[0x6]),_0x20b321=_0x254c8f(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x4b6e01,0x16,_0x186758[0x7]),_0x996d77=_0x254c8f(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x36c479,0x7,_0x186758[0x8]),_0x229f91=_0x254c8f(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x19b273,0xc,_0x186758[0x9]),_0x98663=_0x254c8f(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x2898df,0x11,_0x186758[0xa]),_0x20b321=_0x254c8f(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x533348,0x16,_0x186758[0xb]),_0x996d77=_0x254c8f(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x467fa7,0x7,_0x186758[0xc]),_0x229f91=_0x254c8f(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x1fca87,0xc,_0x186758[0xd]),_0x98663=_0x254c8f(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x551b9e,0x11,_0x186758[0xe]),_0x20b321=_0x254c8f(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x2e036f,0x16,_0x186758[0xf]),_0x996d77=_0x41dc38(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x480850,0x5,_0x186758[0x10]),_0x229f91=_0x41dc38(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x1d6665,0x9,_0x186758[0x11]),_0x98663=_0x41dc38(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x533348,0xe,_0x186758[0x12]),_0x20b321=_0x41dc38(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x20e307,0x14,_0x186758[0x13]),_0x996d77=_0x41dc38(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x1195b0,0x5,_0x186758[0x14]),_0x229f91=_0x41dc38(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x2898df,0x9,_0x186758[0x15]),_0x98663=_0x41dc38(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x2e036f,0xe,_0x186758[0x16]),_0x20b321=_0x41dc38(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0xe2c7bd,0x14,_0x186758[0x17]),_0x996d77=_0x41dc38(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x19b273,0x5,_0x186758[0x18]),_0x229f91=_0x41dc38(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x551b9e,0x9,_0x186758[0x19]),_0x98663=_0x41dc38(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x1decad,0xe,_0x186758[0x1a]),_0x20b321=_0x41dc38(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x36c479,0x14,_0x186758[0x1b]),_0x996d77=_0x41dc38(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x1fca87,0x5,_0x186758[0x1c]),_0x229f91=_0x41dc38(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x59e659,0x9,_0x186758[0x1d]),_0x98663=_0x41dc38(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x4b6e01,0xe,_0x186758[0x1e]),_0x20b321=_0x41dc38(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x467fa7,0x14,_0x186758[0x1f]),_0x996d77=_0x223b49(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x1195b0,0x4,_0x186758[0x20]),_0x229f91=_0x223b49(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x36c479,0xb,_0x186758[0x21]),_0x98663=_0x223b49(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x533348,0x10,_0x186758[0x22]),_0x20b321=_0x223b49(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x551b9e,0x17,_0x186758[0x23]),_0x996d77=_0x223b49(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x480850,0x4,_0x186758[0x24]),_0x229f91=_0x223b49(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0xe2c7bd,0xb,_0x186758[0x25]),_0x98663=_0x223b49(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x4b6e01,0x10,_0x186758[0x26]),_0x20b321=_0x223b49(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x2898df,0x17,_0x186758[0x27]),_0x996d77=_0x223b49(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x1fca87,0x4,_0x186758[0x28]),_0x229f91=_0x223b49(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x20e307,0xb,_0x186758[0x29]),_0x98663=_0x223b49(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x1decad,0x10,_0x186758[0x2a]),_0x20b321=_0x223b49(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x1d6665,0x17,_0x186758[0x2b]),_0x996d77=_0x223b49(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x19b273,0x4,_0x186758[0x2c]),_0x229f91=_0x223b49(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x467fa7,0xb,_0x186758[0x2d]),_0x98663=_0x223b49(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x2e036f,0x10,_0x186758[0x2e]),_0x20b321=_0x223b49(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x59e659,0x17,_0x186758[0x2f]),_0x996d77=_0x308c96(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x20e307,0x6,_0x186758[0x30]),_0x229f91=_0x308c96(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x4b6e01,0xa,_0x186758[0x31]),_0x98663=_0x308c96(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x551b9e,0xf,_0x186758[0x32]),_0x20b321=_0x308c96(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x1195b0,0x15,_0x186758[0x33]),_0x996d77=_0x308c96(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x467fa7,0x6,_0x186758[0x34]),_0x229f91=_0x308c96(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x1decad,0xa,_0x186758[0x35]),_0x98663=_0x308c96(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x2898df,0xf,_0x186758[0x36]),_0x20b321=_0x308c96(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x480850,0x15,_0x186758[0x37]),_0x996d77=_0x308c96(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0x36c479,0x6,_0x186758[0x38]),_0x229f91=_0x308c96(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x2e036f,0xa,_0x186758[0x39]),_0x98663=_0x308c96(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x1d6665,0xf,_0x186758[0x3a]),_0x20b321=_0x308c96(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x1fca87,0x15,_0x186758[0x3b]),_0x996d77=_0x308c96(_0x996d77,_0x20b321,_0x98663,_0x229f91,_0xe2c7bd,0x6,_0x186758[0x3c]),_0x229f91=_0x308c96(_0x229f91,_0x996d77,_0x20b321,_0x98663,_0x533348,0xa,_0x186758[0x3d]),_0x98663=_0x308c96(_0x98663,_0x229f91,_0x996d77,_0x20b321,_0x59e659,0xf,_0x186758[0x3e]),_0x20b321=_0x308c96(_0x20b321,_0x98663,_0x229f91,_0x996d77,_0x19b273,0x15,_0x186758[0x3f]),_0x26571b[0x0]=_0x26571b[0x0]+_0x996d77|0x0,_0x26571b[0x1]=_0x26571b[0x1]+_0x20b321|0x0,_0x26571b[0x2]=_0x26571b[0x2]+_0x98663|0x0,_0x26571b[0x3]=_0x26571b[0x3]+_0x229f91|0x0;},'_doFinalize':function(){var _0x51fe73=_0x5f0666,_0x59ec3b=this[_0x51fe73(0x149)],_0x31def0=_0x59ec3b[_0x51fe73(0x1fa)],_0x252a44=this[_0x51fe73(0x2c8)]*0x8,_0x5f5010=_0x59ec3b[_0x51fe73(0x376)]*0x8;_0x31def0[_0x5f5010>>>0x5]|=0x80<<0x18-_0x5f5010%0x20;var _0x386736=_0x45ae28[_0x51fe73(0x162)](_0x252a44/0x100000000),_0x4a0ee0=_0x252a44;_0x31def0[(_0x5f5010+0x40>>>0x9<<0x4)+0xf]=(_0x386736<<0x8|_0x386736>>>0x18)&0xff00ff|(_0x386736<<0x18|_0x386736>>>0x8)&0xff00ff00,_0x31def0[(_0x5f5010+0x40>>>0x9<<0x4)+0xe]=(_0x4a0ee0<<0x8|_0x4a0ee0>>>0x18)&0xff00ff|(_0x4a0ee0<<0x18|_0x4a0ee0>>>0x8)&0xff00ff00,_0x59ec3b['sigBytes']=(_0x31def0[_0x51fe73(0x372)]+0x1)*0x4,this[_0x51fe73(0x165)]();for(var _0x5ecdc6=this[_0x51fe73(0x3cc)],_0x5e87a6=_0x5ecdc6[_0x51fe73(0x1fa)],_0x20074d=0x0;_0x20074d<0x4;_0x20074d++){var _0x30412c=_0x5e87a6[_0x20074d];_0x5e87a6[_0x20074d]=(_0x30412c<<0x8|_0x30412c>>>0x18)&0xff00ff|(_0x30412c<<0x18|_0x30412c>>>0x8)&0xff00ff00;}return _0x5ecdc6;},'clone':function(){var _0x277d6d=_0x5f0666,_0x651348=_0x262d2f[_0x277d6d(0x108)]['call'](this);return _0x651348[_0x277d6d(0x3cc)]=this[_0x277d6d(0x3cc)][_0x277d6d(0x108)](),_0x651348;}});function _0x254c8f(_0x468ed1,_0x3e40cd,_0xa92d61,_0x29e99a,_0x40149,_0x2c0427,_0x404362){var _0x250594=_0x468ed1+(_0x3e40cd&_0xa92d61|~_0x3e40cd&_0x29e99a)+_0x40149+_0x404362;return(_0x250594<<_0x2c0427|_0x250594>>>0x20-_0x2c0427)+_0x3e40cd;}function _0x41dc38(_0x1a3fa6,_0x17d6aa,_0x1cdd5c,_0x3123f4,_0x34cfd9,_0x412ff7,_0x1b683d){var _0x26d20a=_0x1a3fa6+(_0x17d6aa&_0x3123f4|_0x1cdd5c&~_0x3123f4)+_0x34cfd9+_0x1b683d;return(_0x26d20a<<_0x412ff7|_0x26d20a>>>0x20-_0x412ff7)+_0x17d6aa;}function _0x223b49(_0xb06eb0,_0x4b3e73,_0x452d7a,_0xe85d89,_0xb1c633,_0x441b06,_0x378cb9){var _0x20e16f=_0xb06eb0+(_0x4b3e73^_0x452d7a^_0xe85d89)+_0xb1c633+_0x378cb9;return(_0x20e16f<<_0x441b06|_0x20e16f>>>0x20-_0x441b06)+_0x4b3e73;}function _0x308c96(_0x15eec4,_0x2638db,_0xdb5b33,_0x320f95,_0x4c6b1c,_0x17884d,_0x39ada2){var _0x888a81=_0x15eec4+(_0xdb5b33^(_0x2638db|~_0x320f95))+_0x4c6b1c+_0x39ada2;return(_0x888a81<<_0x17884d|_0x888a81>>>0x20-_0x17884d)+_0x2638db;}_0x5df578[_0x5f0666(0x243)]=_0x262d2f[_0x5f0666(0x365)](_0x642f44),_0x5df578[_0x5f0666(0x358)]=_0x262d2f['_createHmacHelper'](_0x642f44);}(Math),_0x1108d1[_0x151b1d(0x243)];}));}(Ye)),Ye[_0x580a16(0x137)];}var Ke={'exports':{}},qe={'exports':{}},fn=qe[_0xbde005(0x137)],Xt;function vn(){return Xt||(Xt=0x1,function(_0x1398b7,_0xad9bad){(function(_0x3214e2,_0x2f446f){_0x1398b7['exports']=_0x2f446f(ie());}(fn,function(_0x791a22){var _0x5cb4d9=_0x3d7d;return(function(){var _0x171fd9=_0x3d7d,_0x161690=_0x791a22,_0x4a2221=_0x161690['lib'],_0x459982=_0x4a2221[_0x171fd9(0x1ec)],_0x30c665=_0x4a2221['Hasher'],_0x5794da=_0x161690[_0x171fd9(0x116)],_0x6f400c=[],_0xd71d37=_0x5794da[_0x171fd9(0x142)]=_0x30c665[_0x171fd9(0x294)]({'_doReset':function(){var _0x38827b=_0x171fd9;this['_hash']=new _0x459982[(_0x38827b(0xfe))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x179a5a,_0xad08c9){var _0x59f0b1=_0x171fd9;for(var _0x5146ec=this[_0x59f0b1(0x3cc)][_0x59f0b1(0x1fa)],_0x155115=_0x5146ec[0x0],_0x54dc98=_0x5146ec[0x1],_0x57466f=_0x5146ec[0x2],_0x5b0722=_0x5146ec[0x3],_0x311c8c=_0x5146ec[0x4],_0x26db3c=0x0;_0x26db3c<0x50;_0x26db3c++){if(_0x26db3c<0x10)_0x6f400c[_0x26db3c]=_0x179a5a[_0xad08c9+_0x26db3c]|0x0;else{var _0x1320f4=_0x6f400c[_0x26db3c-0x3]^_0x6f400c[_0x26db3c-0x8]^_0x6f400c[_0x26db3c-0xe]^_0x6f400c[_0x26db3c-0x10];_0x6f400c[_0x26db3c]=_0x1320f4<<0x1|_0x1320f4>>>0x1f;}var _0x1491b2=(_0x155115<<0x5|_0x155115>>>0x1b)+_0x311c8c+_0x6f400c[_0x26db3c];_0x26db3c<0x14?_0x1491b2+=(_0x54dc98&_0x57466f|~_0x54dc98&_0x5b0722)+0x5a827999:_0x26db3c<0x28?_0x1491b2+=(_0x54dc98^_0x57466f^_0x5b0722)+0x6ed9eba1:_0x26db3c<0x3c?_0x1491b2+=(_0x54dc98&_0x57466f|_0x54dc98&_0x5b0722|_0x57466f&_0x5b0722)-0x70e44324:_0x1491b2+=(_0x54dc98^_0x57466f^_0x5b0722)-0x359d3e2a,_0x311c8c=_0x5b0722,_0x5b0722=_0x57466f,_0x57466f=_0x54dc98<<0x1e|_0x54dc98>>>0x2,_0x54dc98=_0x155115,_0x155115=_0x1491b2;}_0x5146ec[0x0]=_0x5146ec[0x0]+_0x155115|0x0,_0x5146ec[0x1]=_0x5146ec[0x1]+_0x54dc98|0x0,_0x5146ec[0x2]=_0x5146ec[0x2]+_0x57466f|0x0,_0x5146ec[0x3]=_0x5146ec[0x3]+_0x5b0722|0x0,_0x5146ec[0x4]=_0x5146ec[0x4]+_0x311c8c|0x0;},'_doFinalize':function(){var _0x569dd5=_0x171fd9,_0x5cb360=this['_data'],_0x34e6ad=_0x5cb360[_0x569dd5(0x1fa)],_0x158173=this[_0x569dd5(0x2c8)]*0x8,_0x2b1fc6=_0x5cb360[_0x569dd5(0x376)]*0x8;return _0x34e6ad[_0x2b1fc6>>>0x5]|=0x80<<0x18-_0x2b1fc6%0x20,_0x34e6ad[(_0x2b1fc6+0x40>>>0x9<<0x4)+0xe]=Math[_0x569dd5(0x162)](_0x158173/0x100000000),_0x34e6ad[(_0x2b1fc6+0x40>>>0x9<<0x4)+0xf]=_0x158173,_0x5cb360[_0x569dd5(0x376)]=_0x34e6ad[_0x569dd5(0x372)]*0x4,this[_0x569dd5(0x165)](),this[_0x569dd5(0x3cc)];},'clone':function(){var _0x2cc580=_0x171fd9,_0x125213=_0x30c665['clone'][_0x2cc580(0x122)](this);return _0x125213['_hash']=this[_0x2cc580(0x3cc)][_0x2cc580(0x108)](),_0x125213;}});_0x161690[_0x171fd9(0x142)]=_0x30c665[_0x171fd9(0x365)](_0xd71d37),_0x161690[_0x171fd9(0x3b3)]=_0x30c665[_0x171fd9(0x29c)](_0xd71d37);}()),_0x791a22[_0x5cb4d9(0x142)];}));}(qe)),qe['exports'];}var ze={'exports':{}},En=ze['exports'],Jt;function pn(){var _0x1cbaaa=_0xbde005;return Jt||(Jt=0x1,function(_0x1875b5,_0x1889c4){(function(_0x33fb72,_0x2c6cb6){var _0x3380e3=_0x3d7d;_0x1875b5[_0x3380e3(0x137)]=_0x2c6cb6(ie());}(En,function(_0x470ce6){(function(){var _0x65ee41=_0x3d7d,_0x47921a=_0x470ce6,_0x4a2590=_0x47921a[_0x65ee41(0x1fd)],_0x477a09=_0x4a2590['Base'],_0x2ede68=_0x47921a['enc'],_0xbeb331=_0x2ede68[_0x65ee41(0x331)],_0x5c9ed0=_0x47921a[_0x65ee41(0x116)];_0x5c9ed0[_0x65ee41(0x15b)]=_0x477a09[_0x65ee41(0x294)]({'init':function(_0x2b35f6,_0x3cd969){var _0x1bfd84=_0x65ee41;_0x2b35f6=this[_0x1bfd84(0x3eb)]=new _0x2b35f6[(_0x1bfd84(0xfe))](),typeof _0x3cd969=='string'&&(_0x3cd969=_0xbeb331['parse'](_0x3cd969));var _0x4dc26f=_0x2b35f6[_0x1bfd84(0x290)],_0x53ba41=_0x4dc26f*0x4;_0x3cd969['sigBytes']>_0x53ba41&&(_0x3cd969=_0x2b35f6['finalize'](_0x3cd969)),_0x3cd969[_0x1bfd84(0x166)]();for(var _0x588be3=this[_0x1bfd84(0x2da)]=_0x3cd969['clone'](),_0x1fee5c=this[_0x1bfd84(0x299)]=_0x3cd969[_0x1bfd84(0x108)](),_0x545b29=_0x588be3[_0x1bfd84(0x1fa)],_0x5d8668=_0x1fee5c[_0x1bfd84(0x1fa)],_0x27ff09=0x0;_0x27ff09<_0x4dc26f;_0x27ff09++)_0x545b29[_0x27ff09]^=0x5c5c5c5c,_0x5d8668[_0x27ff09]^=0x36363636;_0x588be3[_0x1bfd84(0x376)]=_0x1fee5c[_0x1bfd84(0x376)]=_0x53ba41,this[_0x1bfd84(0x2a7)]();},'reset':function(){var _0x3ed896=_0x65ee41,_0xfdbc8a=this[_0x3ed896(0x3eb)];_0xfdbc8a[_0x3ed896(0x2a7)](),_0xfdbc8a[_0x3ed896(0x3c8)](this[_0x3ed896(0x299)]);},'update':function(_0x2c6b43){return this['_hasher']['update'](_0x2c6b43),this;},'finalize':function(_0x1419d6){var _0x2e1e95=_0x65ee41,_0x3a75d8=this['_hasher'],_0x3cedbe=_0x3a75d8[_0x2e1e95(0x37e)](_0x1419d6);_0x3a75d8[_0x2e1e95(0x2a7)]();var _0x2bd7b4=_0x3a75d8[_0x2e1e95(0x37e)](this[_0x2e1e95(0x2da)][_0x2e1e95(0x108)]()[_0x2e1e95(0x2a9)](_0x3cedbe));return _0x2bd7b4;}});}());}));}(ze)),ze[_0x1cbaaa(0x137)];}var mn=Ke[_0xbde005(0x137)],Zt;function Ci(){return Zt||(Zt=0x1,function(_0x26307a,_0x1dec52){(function(_0x3951d6,_0x46250f,_0xc0d102){var _0x57bfde=_0x3d7d;_0x26307a[_0x57bfde(0x137)]=_0x46250f(ie(),vn(),pn());}(mn,function(_0x4b824c){return(function(){var _0x2afb0e=_0x3d7d,_0x19bbc0=_0x4b824c,_0x8ae9fb=_0x19bbc0[_0x2afb0e(0x1fd)],_0x2a4a2d=_0x8ae9fb[_0x2afb0e(0x103)],_0x4b6c22=_0x8ae9fb[_0x2afb0e(0x1ec)],_0x266b36=_0x19bbc0['algo'],_0x2c7079=_0x266b36[_0x2afb0e(0x243)],_0x30bc0b=_0x266b36[_0x2afb0e(0x2b3)]=_0x2a4a2d[_0x2afb0e(0x294)]({'cfg':_0x2a4a2d[_0x2afb0e(0x294)]({'keySize':0x80/0x20,'hasher':_0x2c7079,'iterations':0x1}),'init':function(_0xfcbb9f){var _0x3d8a53=_0x2afb0e;this[_0x3d8a53(0x403)]=this[_0x3d8a53(0x403)][_0x3d8a53(0x294)](_0xfcbb9f);},'compute':function(_0x44e6d9,_0x17b158){var _0x1b2910=_0x2afb0e;for(var _0x43390b,_0x2848e7=this['cfg'],_0x38a604=_0x2848e7[_0x1b2910(0x1fc)][_0x1b2910(0x1ac)](),_0x25353f=_0x4b6c22[_0x1b2910(0x1ac)](),_0x441c91=_0x25353f[_0x1b2910(0x1fa)],_0xc82340=_0x2848e7[_0x1b2910(0x3d3)],_0x106c6d=_0x2848e7['iterations'];_0x441c91[_0x1b2910(0x372)]<_0xc82340;){_0x43390b&&_0x38a604['update'](_0x43390b),_0x43390b=_0x38a604[_0x1b2910(0x3c8)](_0x44e6d9)[_0x1b2910(0x37e)](_0x17b158),_0x38a604['reset']();for(var _0x4db677=0x1;_0x4db677<_0x106c6d;_0x4db677++)_0x43390b=_0x38a604[_0x1b2910(0x37e)](_0x43390b),_0x38a604[_0x1b2910(0x2a7)]();_0x25353f[_0x1b2910(0x2a9)](_0x43390b);}return _0x25353f[_0x1b2910(0x376)]=_0xc82340*0x4,_0x25353f;}});_0x19bbc0[_0x2afb0e(0x2b3)]=function(_0x466979,_0x39dec0,_0x20b664){var _0x467895=_0x2afb0e;return _0x30bc0b['create'](_0x20b664)[_0x467895(0x1ca)](_0x466979,_0x39dec0);};}()),_0x4b824c['EvpKDF'];}));}(Ke)),Ke['exports'];}var Xe={'exports':{}},In=Xe[_0xbde005(0x137)],Qt;function bi(){return Qt||(Qt=0x1,function(_0xbe61a6,_0x201e4e){(function(_0x3c27ce,_0x37915a,_0x12bead){var _0x3803d5=_0x3d7d;_0xbe61a6[_0x3803d5(0x137)]=_0x37915a(ie(),Ci());}(In,function(_0x3c9f50){var _0x3ec4b4=_0x3d7d;_0x3c9f50[_0x3ec4b4(0x1fd)][_0x3ec4b4(0x28f)]||function(_0x19d04c){var _0x12372d=_0x3ec4b4,_0x257eea=_0x3c9f50,_0x319ebd=_0x257eea[_0x12372d(0x1fd)],_0x28cd25=_0x319ebd[_0x12372d(0x103)],_0x35c8c7=_0x319ebd[_0x12372d(0x1ec)],_0x249474=_0x319ebd[_0x12372d(0x204)],_0x510522=_0x257eea[_0x12372d(0x29e)];_0x510522[_0x12372d(0x331)];var _0x536a34=_0x510522[_0x12372d(0x197)],_0xf34cfd=_0x257eea[_0x12372d(0x116)],_0x13a982=_0xf34cfd['EvpKDF'],_0x44371a=_0x319ebd['Cipher']=_0x249474['extend']({'cfg':_0x28cd25['extend'](),'createEncryptor':function(_0x4ce171,_0x26074c){return this['create'](this['_ENC_XFORM_MODE'],_0x4ce171,_0x26074c);},'createDecryptor':function(_0xa1cdd,_0x347398){var _0x16731a=_0x12372d;return this[_0x16731a(0x1ac)](this[_0x16731a(0x3d5)],_0xa1cdd,_0x347398);},'init':function(_0x5e1849,_0x5e4cf1,_0x468a04){var _0x9d5fc2=_0x12372d;this[_0x9d5fc2(0x403)]=this[_0x9d5fc2(0x403)][_0x9d5fc2(0x294)](_0x468a04),this[_0x9d5fc2(0x151)]=_0x5e1849,this[_0x9d5fc2(0x23c)]=_0x5e4cf1,this[_0x9d5fc2(0x2a7)]();},'reset':function(){var _0x36d47c=_0x12372d;_0x249474[_0x36d47c(0x2a7)][_0x36d47c(0x122)](this),this[_0x36d47c(0x30c)]();},'process':function(_0x17dc7b){var _0x371f4a=_0x12372d;return this[_0x371f4a(0x360)](_0x17dc7b),this[_0x371f4a(0x165)]();},'finalize':function(_0x279ad2){var _0x40a4d8=_0x12372d;_0x279ad2&&this['_append'](_0x279ad2);var _0x3eacd8=this[_0x40a4d8(0x412)]();return _0x3eacd8;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4db117(_0x2fea8c){var _0x24085c=_0x3d7d;return typeof _0x2fea8c==_0x24085c(0x323)?_0x1f01f7:_0x3822a5;}return function(_0x4076c9){return{'encrypt':function(_0x502405,_0x554705,_0x308ebd){var _0xf57f29=_0x3d7d;return _0x4db117(_0x554705)[_0xf57f29(0x19e)](_0x4076c9,_0x502405,_0x554705,_0x308ebd);},'decrypt':function(_0xb22ca6,_0x2d7056,_0x12f71e){var _0x5783f5=_0x3d7d;return _0x4db117(_0x2d7056)[_0x5783f5(0x3ea)](_0x4076c9,_0xb22ca6,_0x2d7056,_0x12f71e);}};};}())});_0x319ebd[_0x12372d(0x1db)]=_0x44371a[_0x12372d(0x294)]({'_doFinalize':function(){var _0x7f8327=_0x12372d,_0x217797=this[_0x7f8327(0x165)](!0x0);return _0x217797;},'blockSize':0x1});var _0x4600af=_0x257eea[_0x12372d(0x359)]={},_0x54a9bd=_0x319ebd[_0x12372d(0x1bf)]=_0x28cd25[_0x12372d(0x294)]({'createEncryptor':function(_0x4446e9,_0x309234){var _0xd6eb90=_0x12372d;return this[_0xd6eb90(0x10f)][_0xd6eb90(0x1ac)](_0x4446e9,_0x309234);},'createDecryptor':function(_0x5614dc,_0x35d585){var _0x4be34c=_0x12372d;return this[_0x4be34c(0x205)][_0x4be34c(0x1ac)](_0x5614dc,_0x35d585);},'init':function(_0x210b2b,_0x50c29f){var _0x450ab6=_0x12372d;this[_0x450ab6(0x17f)]=_0x210b2b,this[_0x450ab6(0x12f)]=_0x50c29f;}}),_0x31f025=_0x4600af[_0x12372d(0x222)]=(function(){var _0x4ef9b4=_0x12372d,_0x355ee5=_0x54a9bd[_0x4ef9b4(0x294)]();_0x355ee5[_0x4ef9b4(0x10f)]=_0x355ee5[_0x4ef9b4(0x294)]({'processBlock':function(_0x1aef40,_0x1e8443){var _0x34d463=_0x4ef9b4,_0x9cfb2a=this[_0x34d463(0x17f)],_0x2e184a=_0x9cfb2a[_0x34d463(0x290)];_0x1e23c6[_0x34d463(0x122)](this,_0x1aef40,_0x1e8443,_0x2e184a),_0x9cfb2a[_0x34d463(0x406)](_0x1aef40,_0x1e8443),this['_prevBlock']=_0x1aef40['slice'](_0x1e8443,_0x1e8443+_0x2e184a);}}),_0x355ee5[_0x4ef9b4(0x205)]=_0x355ee5[_0x4ef9b4(0x294)]({'processBlock':function(_0x167e48,_0x2d4e9c){var _0x5f172f=_0x4ef9b4,_0x5d0170=this[_0x5f172f(0x17f)],_0x97cc8c=_0x5d0170[_0x5f172f(0x290)],_0x4b4046=_0x167e48[_0x5f172f(0x38f)](_0x2d4e9c,_0x2d4e9c+_0x97cc8c);_0x5d0170['decryptBlock'](_0x167e48,_0x2d4e9c),_0x1e23c6[_0x5f172f(0x122)](this,_0x167e48,_0x2d4e9c,_0x97cc8c),this['_prevBlock']=_0x4b4046;}});function _0x1e23c6(_0x166ccf,_0x476ef4,_0x361760){var _0xf7c4c9=_0x4ef9b4,_0x338733,_0x573db3=this[_0xf7c4c9(0x12f)];_0x573db3?(_0x338733=_0x573db3,this[_0xf7c4c9(0x12f)]=_0x19d04c):_0x338733=this[_0xf7c4c9(0x3d4)];for(var _0x293299=0x0;_0x293299<_0x361760;_0x293299++)_0x166ccf[_0x476ef4+_0x293299]^=_0x338733[_0x293299];}return _0x355ee5;}()),_0x59690b=_0x257eea['pad']={},_0x10aa5e=_0x59690b[_0x12372d(0x22b)]={'pad':function(_0x147b2a,_0x4a912c){var _0x567684=_0x12372d;for(var _0x2207f1=_0x4a912c*0x4,_0xc099ad=_0x2207f1-_0x147b2a['sigBytes']%_0x2207f1,_0x3db16f=_0xc099ad<<0x18|_0xc099ad<<0x10|_0xc099ad<<0x8|_0xc099ad,_0xe95187=[],_0x2b6bdd=0x0;_0x2b6bdd<_0xc099ad;_0x2b6bdd+=0x4)_0xe95187[_0x567684(0x38b)](_0x3db16f);var _0x2ff13e=_0x35c8c7['create'](_0xe95187,_0xc099ad);_0x147b2a[_0x567684(0x2a9)](_0x2ff13e);},'unpad':function(_0x4719cb){var _0x5a8184=_0x12372d,_0x501d4d=_0x4719cb[_0x5a8184(0x1fa)][_0x4719cb[_0x5a8184(0x376)]-0x1>>>0x2]&0xff;_0x4719cb[_0x5a8184(0x376)]-=_0x501d4d;}};_0x319ebd['BlockCipher']=_0x44371a[_0x12372d(0x294)]({'cfg':_0x44371a['cfg'][_0x12372d(0x294)]({'mode':_0x31f025,'padding':_0x10aa5e}),'reset':function(){var _0x1dc4c=_0x12372d,_0x105298;_0x44371a[_0x1dc4c(0x2a7)][_0x1dc4c(0x122)](this);var _0xf648eb=this[_0x1dc4c(0x403)],_0x131a19=_0xf648eb['iv'],_0x556bda=_0xf648eb[_0x1dc4c(0x359)];this['_xformMode']==this[_0x1dc4c(0x352)]?_0x105298=_0x556bda[_0x1dc4c(0x106)]:(_0x105298=_0x556bda[_0x1dc4c(0x339)],this[_0x1dc4c(0x301)]=0x1),this[_0x1dc4c(0x2e2)]&&this['_mode']['__creator']==_0x105298?this[_0x1dc4c(0x2e2)]['init'](this,_0x131a19&&_0x131a19[_0x1dc4c(0x1fa)]):(this[_0x1dc4c(0x2e2)]=_0x105298[_0x1dc4c(0x122)](_0x556bda,this,_0x131a19&&_0x131a19[_0x1dc4c(0x1fa)]),this[_0x1dc4c(0x2e2)][_0x1dc4c(0x362)]=_0x105298);},'_doProcessBlock':function(_0x38959f,_0xdb985c){var _0x34a208=_0x12372d;this[_0x34a208(0x2e2)][_0x34a208(0x2f0)](_0x38959f,_0xdb985c);},'_doFinalize':function(){var _0x12c0ad=_0x12372d,_0x2b05a2,_0x502b2f=this[_0x12c0ad(0x403)]['padding'];return this[_0x12c0ad(0x151)]==this[_0x12c0ad(0x352)]?(_0x502b2f[_0x12c0ad(0x279)](this[_0x12c0ad(0x149)],this['blockSize']),_0x2b05a2=this[_0x12c0ad(0x165)](!0x0)):(_0x2b05a2=this[_0x12c0ad(0x165)](!0x0),_0x502b2f[_0x12c0ad(0x249)](_0x2b05a2)),_0x2b05a2;},'blockSize':0x80/0x20});var _0x4af343=_0x319ebd['CipherParams']=_0x28cd25[_0x12372d(0x294)]({'init':function(_0x12c707){var _0x442052=_0x12372d;this[_0x442052(0x21d)](_0x12c707);},'toString':function(_0x269bdd){var _0x30423f=_0x12372d;return(_0x269bdd||this['formatter'])[_0x30423f(0x40c)](this);}}),_0x36a545=_0x257eea[_0x12372d(0x37b)]={},_0x241799=_0x36a545[_0x12372d(0x239)]={'stringify':function(_0x13875f){var _0x5ee28f=_0x12372d,_0x2c5916,_0x156c7c=_0x13875f[_0x5ee28f(0x317)],_0x1ec342=_0x13875f['salt'];return _0x1ec342?_0x2c5916=_0x35c8c7[_0x5ee28f(0x1ac)]([0x53616c74,0x65645f5f])[_0x5ee28f(0x2a9)](_0x1ec342)[_0x5ee28f(0x2a9)](_0x156c7c):_0x2c5916=_0x156c7c,_0x2c5916[_0x5ee28f(0x10d)](_0x536a34);},'parse':function(_0xb4389){var _0x341100=_0x12372d,_0x52c120,_0x33cf87=_0x536a34[_0x341100(0x371)](_0xb4389),_0x45089e=_0x33cf87['words'];return _0x45089e[0x0]==0x53616c74&&_0x45089e[0x1]==0x65645f5f&&(_0x52c120=_0x35c8c7[_0x341100(0x1ac)](_0x45089e[_0x341100(0x38f)](0x2,0x4)),_0x45089e[_0x341100(0x26f)](0x0,0x4),_0x33cf87[_0x341100(0x376)]-=0x10),_0x4af343[_0x341100(0x1ac)]({'ciphertext':_0x33cf87,'salt':_0x52c120});}},_0x3822a5=_0x319ebd[_0x12372d(0x17c)]=_0x28cd25[_0x12372d(0x294)]({'cfg':_0x28cd25[_0x12372d(0x294)]({'format':_0x241799}),'encrypt':function(_0x2d083c,_0x148e8f,_0x295e3b,_0x408f58){var _0x4adc5d=_0x12372d;_0x408f58=this['cfg'][_0x4adc5d(0x294)](_0x408f58);var _0x5112d0=_0x2d083c[_0x4adc5d(0x106)](_0x295e3b,_0x408f58),_0x16c196=_0x5112d0[_0x4adc5d(0x37e)](_0x148e8f),_0x579269=_0x5112d0[_0x4adc5d(0x403)];return _0x4af343['create']({'ciphertext':_0x16c196,'key':_0x295e3b,'iv':_0x579269['iv'],'algorithm':_0x2d083c,'mode':_0x579269[_0x4adc5d(0x359)],'padding':_0x579269[_0x4adc5d(0x155)],'blockSize':_0x2d083c[_0x4adc5d(0x290)],'formatter':_0x408f58['format']});},'decrypt':function(_0x5d9b9c,_0x1603d1,_0x4a431d,_0x6fc788){var _0x3974f2=_0x12372d;_0x6fc788=this[_0x3974f2(0x403)][_0x3974f2(0x294)](_0x6fc788),_0x1603d1=this[_0x3974f2(0x119)](_0x1603d1,_0x6fc788['format']);var _0x583e99=_0x5d9b9c[_0x3974f2(0x339)](_0x4a431d,_0x6fc788)['finalize'](_0x1603d1[_0x3974f2(0x317)]);return _0x583e99;},'_parse':function(_0x259339,_0x1a510c){var _0x5b244f=_0x12372d;return typeof _0x259339==_0x5b244f(0x323)?_0x1a510c[_0x5b244f(0x371)](_0x259339,this):_0x259339;}}),_0x6aff8c=_0x257eea[_0x12372d(0x356)]={},_0xac985=_0x6aff8c['OpenSSL']={'execute':function(_0x5307a8,_0x232630,_0x3d0b27,_0x84684d,_0x5449f5){var _0x7035fb=_0x12372d;if(_0x84684d||(_0x84684d=_0x35c8c7[_0x7035fb(0x25c)](0x40/0x8)),_0x5449f5)var _0xc2b45b=_0x13a982[_0x7035fb(0x1ac)]({'keySize':_0x232630+_0x3d0b27,'hasher':_0x5449f5})[_0x7035fb(0x1ca)](_0x5307a8,_0x84684d);else var _0xc2b45b=_0x13a982[_0x7035fb(0x1ac)]({'keySize':_0x232630+_0x3d0b27})[_0x7035fb(0x1ca)](_0x5307a8,_0x84684d);var _0x4a3f41=_0x35c8c7[_0x7035fb(0x1ac)](_0xc2b45b[_0x7035fb(0x1fa)][_0x7035fb(0x38f)](_0x232630),_0x3d0b27*0x4);return _0xc2b45b[_0x7035fb(0x376)]=_0x232630*0x4,_0x4af343[_0x7035fb(0x1ac)]({'key':_0xc2b45b,'iv':_0x4a3f41,'salt':_0x84684d});}},_0x1f01f7=_0x319ebd['PasswordBasedCipher']=_0x3822a5['extend']({'cfg':_0x3822a5[_0x12372d(0x403)]['extend']({'kdf':_0xac985}),'encrypt':function(_0x15accf,_0x4aed61,_0x312b16,_0x4d0d09){var _0x5d124f=_0x12372d;_0x4d0d09=this[_0x5d124f(0x403)][_0x5d124f(0x294)](_0x4d0d09);var _0x2d399d=_0x4d0d09[_0x5d124f(0x356)]['execute'](_0x312b16,_0x15accf[_0x5d124f(0x3d3)],_0x15accf[_0x5d124f(0x1b3)],_0x4d0d09[_0x5d124f(0xfc)],_0x4d0d09[_0x5d124f(0x1fc)]);_0x4d0d09['iv']=_0x2d399d['iv'];var _0x4339f9=_0x3822a5[_0x5d124f(0x19e)][_0x5d124f(0x122)](this,_0x15accf,_0x4aed61,_0x2d399d['key'],_0x4d0d09);return _0x4339f9[_0x5d124f(0x21d)](_0x2d399d),_0x4339f9;},'decrypt':function(_0x400083,_0x242b81,_0x406b9f,_0x82ebec){var _0x56f8a6=_0x12372d;_0x82ebec=this[_0x56f8a6(0x403)][_0x56f8a6(0x294)](_0x82ebec),_0x242b81=this[_0x56f8a6(0x119)](_0x242b81,_0x82ebec[_0x56f8a6(0x37b)]);var _0x189e35=_0x82ebec['kdf'][_0x56f8a6(0x2b8)](_0x406b9f,_0x400083[_0x56f8a6(0x3d3)],_0x400083[_0x56f8a6(0x1b3)],_0x242b81['salt'],_0x82ebec[_0x56f8a6(0x1fc)]);_0x82ebec['iv']=_0x189e35['iv'];var _0x178a2a=_0x3822a5[_0x56f8a6(0x3ea)][_0x56f8a6(0x122)](this,_0x400083,_0x242b81,_0x189e35['key'],_0x82ebec);return _0x178a2a;}});}();}));}(Xe)),Xe['exports'];}var Sn=Ve[_0xbde005(0x137)],ei;function gn(){var _0x743dcb=_0xbde005;return ei||(ei=0x1,function(_0x40befa,_0x5ab669){(function(_0x1660a3,_0x404dc8,_0x238902){var _0x4531e9=_0x3d7d;_0x40befa[_0x4531e9(0x137)]=_0x404dc8(ie(),Ni(),dn(),Ci(),bi());}(Sn,function(_0xd82e02){return(function(){var _0x5fbd38=_0x3d7d,_0x4db0e0=_0xd82e02,_0x355bd4=_0x4db0e0['lib'],_0x404984=_0x355bd4[_0x5fbd38(0x27f)],_0x3a5e83=_0x4db0e0['algo'],_0x87b808=[],_0x37dd1e=[],_0x245957=[],_0x4e4526=[],_0x4c0d08=[],_0x29c8a9=[],_0x176035=[],_0x3081db=[],_0xff106e=[],_0x5a58c4=[];(function(){for(var _0x145756=[],_0x302f15=0x0;_0x302f15<0x100;_0x302f15++)_0x302f15<0x80?_0x145756[_0x302f15]=_0x302f15<<0x1:_0x145756[_0x302f15]=_0x302f15<<0x1^0x11b;for(var _0x11c9d7=0x0,_0x3bb7e2=0x0,_0x302f15=0x0;_0x302f15<0x100;_0x302f15++){var _0x3bc33f=_0x3bb7e2^_0x3bb7e2<<0x1^_0x3bb7e2<<0x2^_0x3bb7e2<<0x3^_0x3bb7e2<<0x4;_0x3bc33f=_0x3bc33f>>>0x8^_0x3bc33f&0xff^0x63,_0x87b808[_0x11c9d7]=_0x3bc33f,_0x37dd1e[_0x3bc33f]=_0x11c9d7;var _0x2dd148=_0x145756[_0x11c9d7],_0x4f9720=_0x145756[_0x2dd148],_0x573d7d=_0x145756[_0x4f9720],_0x1d15e7=_0x145756[_0x3bc33f]*0x101^_0x3bc33f*0x1010100;_0x245957[_0x11c9d7]=_0x1d15e7<<0x18|_0x1d15e7>>>0x8,_0x4e4526[_0x11c9d7]=_0x1d15e7<<0x10|_0x1d15e7>>>0x10,_0x4c0d08[_0x11c9d7]=_0x1d15e7<<0x8|_0x1d15e7>>>0x18,_0x29c8a9[_0x11c9d7]=_0x1d15e7;var _0x1d15e7=_0x573d7d*0x1010101^_0x4f9720*0x10001^_0x2dd148*0x101^_0x11c9d7*0x1010100;_0x176035[_0x3bc33f]=_0x1d15e7<<0x18|_0x1d15e7>>>0x8,_0x3081db[_0x3bc33f]=_0x1d15e7<<0x10|_0x1d15e7>>>0x10,_0xff106e[_0x3bc33f]=_0x1d15e7<<0x8|_0x1d15e7>>>0x18,_0x5a58c4[_0x3bc33f]=_0x1d15e7,_0x11c9d7?(_0x11c9d7=_0x2dd148^_0x145756[_0x145756[_0x145756[_0x573d7d^_0x2dd148]]],_0x3bb7e2^=_0x145756[_0x145756[_0x3bb7e2]]):_0x11c9d7=_0x3bb7e2=0x1;}}());var _0x232759=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x562cb7=_0x3a5e83[_0x5fbd38(0x3df)]=_0x404984[_0x5fbd38(0x294)]({'_doReset':function(){var _0x30ac7a=_0x5fbd38,_0x4a3bb1;if(!(this[_0x30ac7a(0x1ed)]&&this[_0x30ac7a(0x3cd)]===this[_0x30ac7a(0x23c)])){for(var _0x16becd=this['_keyPriorReset']=this[_0x30ac7a(0x23c)],_0x2b9dce=_0x16becd[_0x30ac7a(0x1fa)],_0x4e8feb=_0x16becd[_0x30ac7a(0x376)]/0x4,_0x2383bc=this[_0x30ac7a(0x1ed)]=_0x4e8feb+0x6,_0x5d2cc3=(_0x2383bc+0x1)*0x4,_0x3717e8=this['_keySchedule']=[],_0x1804c2=0x0;_0x1804c2<_0x5d2cc3;_0x1804c2++)_0x1804c2<_0x4e8feb?_0x3717e8[_0x1804c2]=_0x2b9dce[_0x1804c2]:(_0x4a3bb1=_0x3717e8[_0x1804c2-0x1],_0x1804c2%_0x4e8feb?_0x4e8feb>0x6&&_0x1804c2%_0x4e8feb==0x4&&(_0x4a3bb1=_0x87b808[_0x4a3bb1>>>0x18]<<0x18|_0x87b808[_0x4a3bb1>>>0x10&0xff]<<0x10|_0x87b808[_0x4a3bb1>>>0x8&0xff]<<0x8|_0x87b808[_0x4a3bb1&0xff]):(_0x4a3bb1=_0x4a3bb1<<0x8|_0x4a3bb1>>>0x18,_0x4a3bb1=_0x87b808[_0x4a3bb1>>>0x18]<<0x18|_0x87b808[_0x4a3bb1>>>0x10&0xff]<<0x10|_0x87b808[_0x4a3bb1>>>0x8&0xff]<<0x8|_0x87b808[_0x4a3bb1&0xff],_0x4a3bb1^=_0x232759[_0x1804c2/_0x4e8feb|0x0]<<0x18),_0x3717e8[_0x1804c2]=_0x3717e8[_0x1804c2-_0x4e8feb]^_0x4a3bb1);for(var _0x460b25=this['_invKeySchedule']=[],_0xe6ce24=0x0;_0xe6ce24<_0x5d2cc3;_0xe6ce24++){var _0x1804c2=_0x5d2cc3-_0xe6ce24;if(_0xe6ce24%0x4)var _0x4a3bb1=_0x3717e8[_0x1804c2];else var _0x4a3bb1=_0x3717e8[_0x1804c2-0x4];_0xe6ce24<0x4||_0x1804c2<=0x4?_0x460b25[_0xe6ce24]=_0x4a3bb1:_0x460b25[_0xe6ce24]=_0x176035[_0x87b808[_0x4a3bb1>>>0x18]]^_0x3081db[_0x87b808[_0x4a3bb1>>>0x10&0xff]]^_0xff106e[_0x87b808[_0x4a3bb1>>>0x8&0xff]]^_0x5a58c4[_0x87b808[_0x4a3bb1&0xff]];}}},'encryptBlock':function(_0x2f17e6,_0x5270d6){var _0x27c037=_0x5fbd38;this[_0x27c037(0x2ca)](_0x2f17e6,_0x5270d6,this[_0x27c037(0x283)],_0x245957,_0x4e4526,_0x4c0d08,_0x29c8a9,_0x87b808);},'decryptBlock':function(_0x4b7fcd,_0x22b67a){var _0x5a6018=_0x5fbd38,_0x8ab70a=_0x4b7fcd[_0x22b67a+0x1];_0x4b7fcd[_0x22b67a+0x1]=_0x4b7fcd[_0x22b67a+0x3],_0x4b7fcd[_0x22b67a+0x3]=_0x8ab70a,this[_0x5a6018(0x2ca)](_0x4b7fcd,_0x22b67a,this[_0x5a6018(0x2a2)],_0x176035,_0x3081db,_0xff106e,_0x5a58c4,_0x37dd1e);var _0x8ab70a=_0x4b7fcd[_0x22b67a+0x1];_0x4b7fcd[_0x22b67a+0x1]=_0x4b7fcd[_0x22b67a+0x3],_0x4b7fcd[_0x22b67a+0x3]=_0x8ab70a;},'_doCryptBlock':function(_0x3975a,_0x48a72,_0x2c385b,_0x5aa390,_0x464758,_0x31ea7e,_0x82bde6,_0x282ce4){var _0x3c6059=_0x5fbd38;for(var _0x1a458a=this[_0x3c6059(0x1ed)],_0x5d26d2=_0x3975a[_0x48a72]^_0x2c385b[0x0],_0x43e901=_0x3975a[_0x48a72+0x1]^_0x2c385b[0x1],_0x3f26ed=_0x3975a[_0x48a72+0x2]^_0x2c385b[0x2],_0x493baa=_0x3975a[_0x48a72+0x3]^_0x2c385b[0x3],_0x1bfb1c=0x4,_0x20f4c3=0x1;_0x20f4c3<_0x1a458a;_0x20f4c3++){var _0x418212=_0x5aa390[_0x5d26d2>>>0x18]^_0x464758[_0x43e901>>>0x10&0xff]^_0x31ea7e[_0x3f26ed>>>0x8&0xff]^_0x82bde6[_0x493baa&0xff]^_0x2c385b[_0x1bfb1c++],_0x1248fb=_0x5aa390[_0x43e901>>>0x18]^_0x464758[_0x3f26ed>>>0x10&0xff]^_0x31ea7e[_0x493baa>>>0x8&0xff]^_0x82bde6[_0x5d26d2&0xff]^_0x2c385b[_0x1bfb1c++],_0x52e2f3=_0x5aa390[_0x3f26ed>>>0x18]^_0x464758[_0x493baa>>>0x10&0xff]^_0x31ea7e[_0x5d26d2>>>0x8&0xff]^_0x82bde6[_0x43e901&0xff]^_0x2c385b[_0x1bfb1c++],_0x5cf966=_0x5aa390[_0x493baa>>>0x18]^_0x464758[_0x5d26d2>>>0x10&0xff]^_0x31ea7e[_0x43e901>>>0x8&0xff]^_0x82bde6[_0x3f26ed&0xff]^_0x2c385b[_0x1bfb1c++];_0x5d26d2=_0x418212,_0x43e901=_0x1248fb,_0x3f26ed=_0x52e2f3,_0x493baa=_0x5cf966;}var _0x418212=(_0x282ce4[_0x5d26d2>>>0x18]<<0x18|_0x282ce4[_0x43e901>>>0x10&0xff]<<0x10|_0x282ce4[_0x3f26ed>>>0x8&0xff]<<0x8|_0x282ce4[_0x493baa&0xff])^_0x2c385b[_0x1bfb1c++],_0x1248fb=(_0x282ce4[_0x43e901>>>0x18]<<0x18|_0x282ce4[_0x3f26ed>>>0x10&0xff]<<0x10|_0x282ce4[_0x493baa>>>0x8&0xff]<<0x8|_0x282ce4[_0x5d26d2&0xff])^_0x2c385b[_0x1bfb1c++],_0x52e2f3=(_0x282ce4[_0x3f26ed>>>0x18]<<0x18|_0x282ce4[_0x493baa>>>0x10&0xff]<<0x10|_0x282ce4[_0x5d26d2>>>0x8&0xff]<<0x8|_0x282ce4[_0x43e901&0xff])^_0x2c385b[_0x1bfb1c++],_0x5cf966=(_0x282ce4[_0x493baa>>>0x18]<<0x18|_0x282ce4[_0x5d26d2>>>0x10&0xff]<<0x10|_0x282ce4[_0x43e901>>>0x8&0xff]<<0x8|_0x282ce4[_0x3f26ed&0xff])^_0x2c385b[_0x1bfb1c++];_0x3975a[_0x48a72]=_0x418212,_0x3975a[_0x48a72+0x1]=_0x1248fb,_0x3975a[_0x48a72+0x2]=_0x52e2f3,_0x3975a[_0x48a72+0x3]=_0x5cf966;},'keySize':0x100/0x20});_0x4db0e0[_0x5fbd38(0x3df)]=_0x404984[_0x5fbd38(0x365)](_0x562cb7);}()),_0xd82e02['AES'];}));}(Ve)),Ve[_0x743dcb(0x137)];}var Tn=gn();const On=$e(Tn);var Rn=Ni();const ti=$e(Rn);var Je={'exports':{}},Nn=Je[_0xbde005(0x137)],ii;function Cn(){var _0x306637=_0xbde005;return ii||(ii=0x1,function(_0xc94365,_0x9b47a7){(function(_0x36f75c,_0x2d790a){var _0x430855=_0x3d7d;_0xc94365[_0x430855(0x137)]=_0x2d790a(ie());}(Nn,function(_0x2d20ec){var _0x326c2d=_0x3d7d;return _0x2d20ec[_0x326c2d(0x29e)][_0x326c2d(0x331)];}));}(Je)),Je[_0x306637(0x137)];}var bn=Cn();const Dn=$e(bn);var Ze={'exports':{}},yn=Ze['exports'],si;function Un(){return si||(si=0x1,function(_0x937c5d,_0x1b8b45){(function(_0x986d58,_0x34da93){var _0x9a38a8=_0x3d7d;_0x937c5d[_0x9a38a8(0x137)]=_0x34da93(ie());}(yn,function(_0x3312a0){var _0x987c7d=_0x3d7d;return(function(){var _0x4bd5dd=_0x3d7d;if(typeof ArrayBuffer==_0x4bd5dd(0x1c4)){var _0x40cc7d=_0x3312a0,_0x5c2fa0=_0x40cc7d[_0x4bd5dd(0x1fd)],_0x21f52b=_0x5c2fa0[_0x4bd5dd(0x1ec)],_0x299d18=_0x21f52b[_0x4bd5dd(0xfe)],_0x1b4dda=_0x21f52b[_0x4bd5dd(0xfe)]=function(_0xad83fb){var _0x52cc2d=_0x4bd5dd;if(_0xad83fb instanceof ArrayBuffer&&(_0xad83fb=new Uint8Array(_0xad83fb)),(_0xad83fb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xad83fb instanceof Uint8ClampedArray||_0xad83fb instanceof Int16Array||_0xad83fb instanceof Uint16Array||_0xad83fb instanceof Int32Array||_0xad83fb instanceof Uint32Array||_0xad83fb instanceof Float32Array||_0xad83fb instanceof Float64Array)&&(_0xad83fb=new Uint8Array(_0xad83fb[_0x52cc2d(0x214)],_0xad83fb[_0x52cc2d(0x1b1)],_0xad83fb[_0x52cc2d(0x3de)])),_0xad83fb instanceof Uint8Array){for(var _0xf69fa5=_0xad83fb[_0x52cc2d(0x3de)],_0x2afa17=[],_0x4b2829=0x0;_0x4b2829<_0xf69fa5;_0x4b2829++)_0x2afa17[_0x4b2829>>>0x2]|=_0xad83fb[_0x4b2829]<<0x18-_0x4b2829%0x4*0x8;_0x299d18[_0x52cc2d(0x122)](this,_0x2afa17,_0xf69fa5);}else _0x299d18['apply'](this,arguments);};_0x1b4dda[_0x4bd5dd(0x36b)]=_0x21f52b;}}()),_0x3312a0['lib'][_0x987c7d(0x1ec)];}));}(Ze)),Ze['exports'];}var An=Un();const Pn=$e(An);var Qe={'exports':{}},wn=Qe[_0xbde005(0x137)],ni;function Ln(){var _0x59e633=_0xbde005;return ni||(ni=0x1,function(_0x4ae133,_0x319e75){(function(_0x12db47,_0x28edf0,_0x4872b1){var _0x2eb589=_0x3d7d;_0x4ae133[_0x2eb589(0x137)]=_0x28edf0(ie(),bi());}(wn,function(_0x4161fa){var _0xddd42=_0x3d7d;return _0x4161fa[_0xddd42(0x279)][_0xddd42(0x257)]={'pad':function(){},'unpad':function(){}},_0x4161fa[_0xddd42(0x279)][_0xddd42(0x257)];}));}(Qe)),Qe[_0x59e633(0x137)];}var Mn=Ln();const xn=$e(Mn);function kn(_0x3189c6,_0x107482){var _0x23858d=_0xbde005;const _0x2d2aea=_0x107482-_0x3189c6[_0x23858d(0x372)]%_0x107482,_0x2c4e09=String['fromCharCode'](_0x2d2aea)[_0x23858d(0x181)](_0x2d2aea);return _0x3189c6+_0x2c4e09;}function $n(_0x4b6928,_0x5e20f1){var _0x4dc544=_0xbde005;const _0x423014=Pn[_0x4dc544(0x25c)](0x10),_0x289b96=kn(_0x4b6928,0x10),_0x2280b5=On[_0x4dc544(0x19e)](Dn[_0x4dc544(0x371)](_0x289b96),ti[_0x4dc544(0x371)](_0x5e20f1),{'iv':_0x423014,'padding':xn});return _0x423014['concat'](_0x2280b5['ciphertext'])['toString'](ti);}function Hn(){var _0x8b4528=_0xbde005;const _0x3d1246=_0x59a00f()[_0x8b4528(0x36d)];if(typeof window<'u'&&typeof window['location']<'u'&&_0x3d1246){const _0x5030fb={'time':Math[_0x8b4528(0x162)](Date[_0x8b4528(0x268)]()/0x3e8),'domain':location[_0x8b4528(0x3b1)]};return $n(JSON[_0x8b4528(0x40c)](_0x5030fb),_0x3d1246);}}var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x2f5839,_0x3b294a,_0x261e77,_0xe17325)=>{for(var _0x199481=_0xe17325>0x1?void 0x0:_0xe17325?Bn(_0x3b294a,_0x261e77):_0x3b294a,_0x4c9188=_0x2f5839['length']-0x1,_0x5b8c33;_0x4c9188>=0x0;_0x4c9188--)(_0x5b8c33=_0x2f5839[_0x4c9188])&&(_0x199481=_0x5b8c33(_0x199481)||_0x199481);return _0x199481;},jn=(_0x5bee6a,_0x589f9a)=>(_0x100cee,_0x37008c)=>_0x589f9a(_0x100cee,_0x37008c,_0x5bee6a);let at=class{constructor(_0x1e5940){var _0x35a6cc=_0xbde005;this[_0x35a6cc(0x163)]=_0x1e5940,this[_0x35a6cc(0x191)]();}[_0xbde005(0x191)](){var _0x45c9f3=_0xbde005;this[_0x45c9f3(0x163)][_0x45c9f3(0x2d5)]({'interceptor':(_0x1aa776,_0xc76006)=>{var _0x3b82e3=_0x45c9f3;const _0xa644c1=_0x1aa776[_0x3b82e3(0x259)],_0xb1d6c0=Hn();return _0xb1d6c0&&_0xa644c1[_0x3b82e3(0x3cf)]('x-univer-host',_0xb1d6c0),_0xc76006(_0x1aa776);}});}};at=Fn([jn(0x0,_0x51e0dc(_0x4583bc))],at);var Vn=Object['getOwnPropertyDescriptor'],Gn=(_0x163527,_0x52561b,_0x1b595d,_0xacb4c5)=>{for(var _0x51c6b5=_0xacb4c5>0x1?void 0x0:_0xacb4c5?Vn(_0x52561b,_0x1b595d):_0x52561b,_0x14c370=_0x163527['length']-0x1,_0x27a8ac;_0x14c370>=0x0;_0x14c370--)(_0x27a8ac=_0x163527[_0x14c370])&&(_0x51c6b5=_0x27a8ac(_0x51c6b5)||_0x51c6b5);return _0x51c6b5;},vt=(_0x50af0f,_0x4db698)=>(_0x264825,_0xa52814)=>_0x4db698(_0x264825,_0xa52814,_0x50af0f);let Ot=class extends _0x1e895e{constructor(_0xc2b1bc,_0x426648,_0x36aa47){var _0xfb50a8=_0xbde005;super(),D(this,'_unitInfo$',new _0x28d880(null)),D(this,_0xfb50a8(0x3d2),this[_0xfb50a8(0x2dd)]['asObservable']()),(this[_0xfb50a8(0x11d)]=_0xc2b1bc,this[_0xfb50a8(0x3b7)]=_0x426648,this[_0xfb50a8(0x21e)]=_0x36aa47);}async[_0xbde005(0x145)](_0x1d9bd8,_0x3da8d0,_0x40a6cf){var _0x267930=_0xbde005;this[_0x267930(0x2dd)][_0x267930(0x3b6)]({'unitId':_0x1d9bd8,'type':_0x3da8d0});let _0x151d1f=null;switch(_0x3da8d0){case Q['UNIVER_SHEET']:{_0x151d1f=await this[_0x267930(0x3b7)][_0x267930(0x2e3)](_0x1d9bd8,_0x40a6cf);break;}case Q[_0x267930(0x16c)]:{_0x151d1f=await this[_0x267930(0x3b7)][_0x267930(0x2fa)](_0x1d9bd8,_0x40a6cf);break;}default:{this[_0x267930(0x11d)][_0x267930(0x2e4)](_0x267930(0x322),_0x267930(0xf6));break;}}return _0x151d1f;}async['loadUnit'](_0x448265,_0x566be6,_0x4c728b){var _0x548f1b=_0xbde005,_0x3327ef;this[_0x548f1b(0x2dd)][_0x548f1b(0x3b6)]({'unitId':_0x448265,'type':_0x566be6,'subUnitId':_0x4c728b});let _0xda63d9=0x0;const _0x597794=await((_0x3327ef=this[_0x548f1b(0x21e)])==null?void 0x0:_0x3327ef['loadOfflineData'](_0x448265));return _0x597794&&(_0x597794['awaitingChangeset']||_0x597794[_0x548f1b(0x1fe)][_0x548f1b(0x372)]!==0x0)&&(_0xda63d9=_0x597794[_0x548f1b(0x1f0)]),_0xda63d9===0x0&&this[_0x548f1b(0x11d)][_0x548f1b(0x187)](_0x548f1b(0x322),_0x548f1b(0x232)),this['loadUnitOfRevision'](_0x448265,_0x566be6,_0xda63d9);}};Ot=Gn([vt(0x0,_0x9e9972),vt(0x1,_0x51e0dc(_0x45c55f)),vt(0x2,_0x581e15(X))],Ot);var Wn=Object[_0xbde005(0x2eb)],Yn=(_0xc75388,_0x3a3a98,_0x247672,_0x3bfc4e)=>{var _0x3cb615=_0xbde005;for(var _0x38c82b=_0x3bfc4e>0x1?void 0x0:_0x3bfc4e?Wn(_0x3a3a98,_0x247672):_0x3a3a98,_0x310e50=_0xc75388[_0x3cb615(0x372)]-0x1,_0x1691d5;_0x310e50>=0x0;_0x310e50--)(_0x1691d5=_0xc75388[_0x310e50])&&(_0x38c82b=_0x1691d5(_0x38c82b)||_0x38c82b);return _0x38c82b;},Et=(_0x7c396d,_0x4c1efa)=>(_0x385eaa,_0x271eaa)=>_0x4c1efa(_0x385eaa,_0x271eaa,_0x7c396d);const Kn=[_0xbde005(0x1c6),_0xbde005(0x1cc),'image/jpg',_0xbde005(0x326),_0xbde005(0x2f7)],qn=0x5*0x400*0x400,zn=_0xbde005(0xf5),Xn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x35b430,_0x52c5a1,_0xdcf0a1){var _0x196dc0=_0xbde005;D(this,_0x196dc0(0x202),0x0),D(this,'_change$',new _0x5a35f4()),D(this,'change$',this['_change$']),D(this,'_imageSourceCache',new Map()),(this[_0x196dc0(0x163)]=_0x35b430,this[_0x196dc0(0x167)]=_0x52c5a1,this[_0x196dc0(0x291)]=_0xdcf0a1);}[_0xbde005(0x1e1)](_0x351021){var _0x516ac8=_0xbde005;this[_0x516ac8(0x202)]=_0x351021,this[_0x516ac8(0x238)][_0x516ac8(0x3b6)](_0x351021);}[_0xbde005(0x23f)](_0x4c571f,_0x8c4eda){var _0x46f891=_0xbde005;if(_0x8c4eda===_0x32b18a['BASE64']){const _0x2c854f=new Image();return _0x2c854f[_0x46f891(0x3f3)]=_0x4c571f,_0x2c854f;}return this['_imageSourceCache'][_0x46f891(0x164)](_0x4c571f);}[_0xbde005(0x250)](_0x448a48,_0x3d1c2d,_0x220fc3){var _0x17f942=_0xbde005;_0x3d1c2d===_0x32b18a[_0x17f942(0x1f9)]||_0x220fc3==null||this['_imageSourceCache'][_0x17f942(0x3cf)](_0x448a48,_0x220fc3);}async['getImage'](_0x1e5b61){var _0x1125cc=_0xbde005;try{const _0x324309=this[_0x1125cc(0x3c6)](this[_0x1125cc(0x124)](),''+_0x1e5b61),_0x591fd0=(await this['_httpService'][_0x1125cc(0x164)](_0x324309))['body'];if(_0x591fd0[_0x1125cc(0x2e4)]&&_0x591fd0[_0x1125cc(0x2e4)][_0x1125cc(0x375)]===vi['OK']){const _0x4c575a=_0x3456d4(_0x591fd0[_0x1125cc(0x408)],this['_getDownloadEndpointURL']());return Promise[_0x1125cc(0x24f)](_0x4c575a);}return Promise[_0x1125cc(0x208)](_0x591fd0[_0x1125cc(0x2e4)]);}catch(_0x24afa6){return Promise[_0x1125cc(0x208)](_0x24afa6);}}async[_0xbde005(0x1dd)](_0x405ab0){var _0x374ab8=_0xbde005;let _0x52a9ec='';if(!Kn[_0x374ab8(0x32f)](_0x405ab0[_0x374ab8(0x2df)]))return this[_0x374ab8(0x2e0)](),Promise[_0x374ab8(0x208)](new Error(_0x337b7f[_0x374ab8(0x3d9)]));if(_0x405ab0[_0x374ab8(0x188)]>qn)return this[_0x374ab8(0x2e0)](),Promise['reject'](new Error(_0x337b7f['ERROR_EXCEED_SIZE']));try{const _0x5b2b0e=new FormData();_0x5b2b0e[_0x374ab8(0x389)](_0x374ab8(0x244),_0x405ab0);const _0x14d66c=this[_0x374ab8(0x291)]['getFocusedUnit'](),_0x20c951=_0x14d66c==null?void 0x0:_0x14d66c[_0x374ab8(0x241)]();if(!_0x20c951)throw new Error(_0x374ab8(0x2c9));const _0x56197a=this[_0x374ab8(0x18a)]()+_0x374ab8(0x136)+_0x405ab0['size'][_0x374ab8(0x10d)]()+_0x374ab8(0x1a7)+Ei[_0x374ab8(0x11e)]+'&assign='+encodeURIComponent(_0x20c951),_0xccdbbf={'body':_0x5b2b0e},_0x1caf80=(await this[_0x374ab8(0x163)][_0x374ab8(0x1d5)](_0x56197a,_0xccdbbf))[_0x374ab8(0x134)];if(typeof _0x1caf80['FileId']!='string')return this[_0x374ab8(0x2e0)](),Promise['reject'](new Error(_0x337b7f[_0x374ab8(0x2f1)]));_0x52a9ec=_0x1caf80[_0x374ab8(0x152)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x337b7f[_0x374ab8(0x2f1)]));}return new Promise((_0x2192ab,_0x4a1973)=>{var _0x388969=_0x374ab8;const _0x59e1c4=new FileReader();_0x59e1c4[_0x388969(0x3a0)](_0x405ab0),_0x59e1c4['onload']=_0x5421a4=>{var _0x388084=_0x388969,_0x556eda;const _0x476884=(_0x556eda=_0x5421a4[_0x388084(0x185)])==null?void 0x0:_0x556eda[_0x388084(0x1c8)];if(_0x476884==null){this['_decreaseWaiting'](),_0x4a1973(new Error(_0x337b7f[_0x388084(0x2f1)]));return;}const _0x3d8ef1=_0x2ddb78(0x6);_0x2192ab({'imageId':_0x3d8ef1,'imageSourceType':_0x32b18a[_0x388084(0x273)],'source':_0x52a9ec,'base64Cache':_0x476884,'status':_0x337b7f[_0x388084(0x3ad)]}),this['_decreaseWaiting']();};});}[_0xbde005(0x18a)](){var _0x23ace4;const _0x511be0=this['_configService']['getConfig'](K);return(_0x23ace4=_0x511be0==null?void 0x0:_0x511be0['uploadFileServerUrl'])!=null?_0x23ace4:zn;}[_0xbde005(0x124)](){var _0x3ba306=_0xbde005,_0x122d5e;const _0x5dab84=this[_0x3ba306(0x167)][_0x3ba306(0x3fc)](K);return(_0x122d5e=_0x5dab84==null?void 0x0:_0x5dab84[_0x3ba306(0x1ef)])!=null?_0x122d5e:Xn;}[_0xbde005(0x281)](){var _0x5414e0=_0xbde005,_0x260e6a;const _0x5f19ef=this[_0x5414e0(0x167)][_0x5414e0(0x3fc)](K);return(_0x260e6a=_0x5f19ef==null?void 0x0:_0x5f19ef['downloadEndpointUrl'])!=null?_0x260e6a:location[_0x5414e0(0x34f)];}[_0xbde005(0x3c6)](_0x317394,_0x28e329){var _0x56d74f=_0xbde005;return _0x317394[_0x56d74f(0x14f)](_0x56d74f(0x2cc),_0x28e329);}[_0xbde005(0x2e0)](){var _0x5d3462=_0xbde005;this['_waitCount']-=0x1,this['_change$'][_0x5d3462(0x3b6)](this[_0x5d3462(0x202)]);}};Rt=Yn([Et(0x0,_0x51e0dc(_0x4583bc)),Et(0x1,_0x50f0f7),Et(0x2,_0x51e0dc(_0xecbae0))],Rt);var Jn=Object[_0xbde005(0x2eb)],Zn=(_0x4605d1,_0xfe51f0,_0x5b1400,_0x33189d)=>{var _0x23534e=_0xbde005;for(var _0x1b2dcd=_0x33189d>0x1?void 0x0:_0x33189d?Jn(_0xfe51f0,_0x5b1400):_0xfe51f0,_0x211887=_0x4605d1[_0x23534e(0x372)]-0x1,_0x1d5ae6;_0x211887>=0x0;_0x211887--)(_0x1d5ae6=_0x4605d1[_0x211887])&&(_0x1b2dcd=_0x1d5ae6(_0x1b2dcd)||_0x1b2dcd);return _0x1b2dcd;},ri=(_0x5e9f5e,_0x4abfd9)=>(_0xbb179,_0x1613c6)=>_0x4abfd9(_0xbb179,_0x1613c6,_0x5e9f5e);const Qn=_0xbde005(0x22d);let Nt=class{constructor(_0x589d17,_0x4c677b){var _0x1f43b6=_0xbde005;this[_0x1f43b6(0x167)]=_0x589d17,this['_HTTPService']=_0x4c677b;}['_getAPIPrefixPath'](){var _0xd17d5d=_0xbde005,_0x1ced7d;const _0xea90ba=this['_configService'][_0xd17d5d(0x3fc)](K);return(_0x1ced7d=_0xea90ba==null?void 0x0:_0xea90ba[_0xd17d5d(0x2d3)])!=null?_0x1ced7d:Qn;}async['list'](_0x5395a4){var _0x499799=_0xbde005;const _0x150c05=this['_getAPIPrefixPath']()+_0x499799(0xf3);return{'list':[{'title':_0x499799(0x3af),'mentions':(await this['_HTTPService'][_0x499799(0x164)](_0x150c05,{'params':{'objectID':_0x5395a4[_0x499799(0x28c)],'unitID':_0x5395a4[_0x499799(0x28c)]}}))[_0x499799(0x134)][_0x499799(0xf9)][_0x499799(0x3c5)](_0x470d4a=>({'objectId':_0x470d4a['id'],'name':_0x470d4a[_0x499799(0x3ba)][_0x499799(0x392)],'metadata':{'icon':_0x470d4a[_0x499799(0x3ba)][_0x499799(0x355)]},'label':_0x470d4a[_0x499799(0x3ba)][_0x499799(0x392)],'objectType':_0x499fdb[_0x499799(0x292)]})),'metadata':{},'type':_0x499fdb[_0x499799(0x292)]}]};}};Nt=Zn([ri(0x0,_0x51e0dc(_0x50f0f7)),ri(0x1,_0x51e0dc(_0x4583bc))],Nt);var er=Object[_0xbde005(0x2eb)],tr=(_0x3fe109,_0x3c5179,_0x321d04,_0x4d703a)=>{for(var _0x42a247=_0x4d703a>0x1?void 0x0:_0x4d703a?er(_0x3c5179,_0x321d04):_0x3c5179,_0x3a0a40=_0x3fe109['length']-0x1,_0x1c675f;_0x3a0a40>=0x0;_0x3a0a40--)(_0x1c675f=_0x3fe109[_0x3a0a40])&&(_0x42a247=_0x1c675f(_0x42a247)||_0x42a247);return _0x42a247;},Ue=(_0x23ba00,_0x355111)=>(_0x8018e2,_0x2c64d6)=>_0x355111(_0x8018e2,_0x2c64d6,_0x23ba00);let ot=class extends _0x1e895e{constructor(_0x103417,_0x29644a,_0xd09932,_0x1ccecc,_0x42d2d3){var _0x49c7bd=_0xbde005;super(),this[_0x49c7bd(0x342)]=_0x103417,this[_0x49c7bd(0x291)]=_0x29644a,this['_permissionService']=_0xd09932,this[_0x49c7bd(0x40b)]=_0x1ccecc,this[_0x49c7bd(0x3b0)]=_0x42d2d3,this[_0x49c7bd(0x2d0)](),this[_0x49c7bd(0x2c3)]();}['_initCloseConn'](){var _0x39c444=_0xbde005;const _0x2e30fa=async _0x257861=>{var _0x12ff48=_0x3d7d;(await this[_0x12ff48(0x40b)][_0x12ff48(0x16a)](_0x257861))['event$']['pipe'](_0x576d7f(_0x1d01fa=>_0x1d01fa[_0x12ff48(0x278)]===_0xad0318[_0x12ff48(0x16f)]),_0x138cad(this[_0x12ff48(0x3a8)]))[_0x12ff48(0x395)](_0x34a80f=>{var _0x2a24ce=_0x12ff48;const _0x302523=_0x34a80f,{reason:_0x53881d}=_0x302523['data'];this['_collaborationUIEventService'][_0x2a24ce(0x1fb)]({'id':re[_0x2a24ce(0x14c)],'data':_0x53881d}),this[_0x2a24ce(0x228)][_0x2a24ce(0x107)](new _0x5d55bb(_0x257861)['id'],!0x1),this['_collaborationSessionService'][_0x2a24ce(0x3ce)](_0x257861);});};_0x521ca9(this['_univerInstanceService'][_0x39c444(0x36e)](_0x119145['UNIVER_SHEET']),this['_univerInstanceService'][_0x39c444(0x36e)](_0x119145['UNIVER_DOC']))[_0x39c444(0x2cb)](_0x465af3(_0x31108b=>_0x31108b[_0x39c444(0x241)]()),_0x576d7f(_0x45f8dd=>!_0x91f8fa(_0x45f8dd)),_0x138cad(this[_0x39c444(0x3a8)]))[_0x39c444(0x395)](_0x4e14d1=>{_0x2e30fa(_0x4e14d1);});}[_0xbde005(0x2d0)](){var _0x492ce0=_0xbde005;const _0x2bd948=async _0x4cdf79=>{var _0x369f1c=_0x3d7d;const _0x8e8d34=await this[_0x369f1c(0x40b)][_0x369f1c(0x16a)](_0x4cdf79),_0x5821ff=this[_0x369f1c(0x342)]['get'](_0x203c1f);_0x8e8d34[_0x369f1c(0x3ee)]['pipe'](_0x576d7f(_0x3f8c62=>_0x3f8c62[_0x369f1c(0x278)]===_0xad0318[_0x369f1c(0x32a)]),_0x138cad(this[_0x369f1c(0x3a8)]))['subscribe'](_0x456d3a=>{var _0xed3362=_0x369f1c;const _0x445af3=_0x456d3a,{objectId:_0x22f3de}=_0x445af3[_0xed3362(0x336)];_0x22f3de===_0x4cdf79?_0x5821ff[_0xed3362(0x253)](_0x4cdf79):_0x5821ff['refreshPermission'](_0x4cdf79,_0x22f3de);});};_0x521ca9(this[_0x492ce0(0x291)][_0x492ce0(0x36e)](_0x119145[_0x492ce0(0x388)]))[_0x492ce0(0x2cb)](_0x465af3(_0x256d0b=>_0x256d0b[_0x492ce0(0x241)]()),_0x576d7f(_0x5283a0=>!_0x91f8fa(_0x5283a0)),_0x138cad(this[_0x492ce0(0x3a8)]))[_0x492ce0(0x395)](_0x4aa7df=>{_0x2bd948(_0x4aa7df);});}};ot=tr([Ue(0x0,_0x51e0dc(_0x20c230)),Ue(0x1,_0xecbae0),Ue(0x2,_0x5dd3e7),Ue(0x3,_0x51e0dc(we)),Ue(0x4,_0x51e0dc(ve))],ot);var ir=Object['getOwnPropertyDescriptor'],sr=(_0x132fa7,_0x4294bb,_0x32a51f,_0x48ef4e)=>{for(var _0x334d32=_0x48ef4e>0x1?void 0x0:_0x48ef4e?ir(_0x4294bb,_0x32a51f):_0x4294bb,_0x11629a=_0x132fa7['length']-0x1,_0x4de5d6;_0x11629a>=0x0;_0x11629a--)(_0x4de5d6=_0x132fa7[_0x11629a])&&(_0x334d32=_0x4de5d6(_0x334d32)||_0x334d32);return _0x334d32;},ai=(_0x19bad4,_0x64630c)=>(_0x51780f,_0x371743)=>_0x64630c(_0x51780f,_0x371743,_0x19bad4);let Ct=class{constructor(_0x401651,_0x4041ef){var _0x20ccfa=_0xbde005;this['_configService']=_0x401651,this[_0x20ccfa(0x163)]=_0x4041ef;}async[_0xbde005(0x1b5)](_0x1578c6,_0x4066c3){var _0x9db322=_0xbde005,_0x571ec4;const {unitID:_0xea5c44,type:_0x1fcfc3,revision:_0x30a00c=0x0}=_0x4066c3,_0x43440e=this['getSnapshotAPIPath']()+'/'+_0x1fcfc3+'/unit/'+_0xea5c44+_0x9db322(0x319)+_0x30a00c,_0x54bb48=(await this[_0x9db322(0x163)][_0x9db322(0x164)](_0x43440e))[_0x9db322(0x134)],_0x44e4dd=(_0x571ec4=_0x54bb48[_0x9db322(0x1c9)])==null?void 0x0:_0x571ec4[_0x9db322(0x1d7)];if(_0x44e4dd){const _0x26cf7c=_0x44e4dd==null?void 0x0:_0x44e4dd[_0x9db322(0x1eb)],_0x538e79=_0x5d4858['encode'](_0x210299(_0x26cf7c));_0x44e4dd[_0x9db322(0x1eb)]=_0x538e79,Object['entries'](_0x44e4dd[_0x9db322(0x123)])[_0x9db322(0x231)](([,_0xce5d7])=>{var _0x39c7bf=_0x9db322;const _0x269a5d=_0xce5d7[_0x39c7bf(0x1eb)],_0x2272cc=_0x5d4858[_0x39c7bf(0x296)](_0x210299(_0x269a5d));_0xce5d7[_0x39c7bf(0x1eb)]=_0x2272cc;});}return _0x54bb48;}async[_0xbde005(0x2bf)](_0x4d5b82,_0x34e3cc){var _0xd4269d=_0xbde005;const {unitID:_0x46872b,type:_0x1da28e,blockID:_0x44f050}=_0x34e3cc,_0x591109=this[_0xd4269d(0x144)]()+'/'+_0x1da28e+_0xd4269d(0x2a1)+_0x46872b+_0xd4269d(0x2d1)+_0x44f050;return(await this[_0xd4269d(0x163)]['get'](_0x591109))[_0xd4269d(0x134)];}async[_0xbde005(0x393)](_0x3fc36f,_0xc4b684){var _0x4ea464=_0xbde005;const {unitID:_0x31d2c2,type:_0x275fd0,blockID:_0x4e96dc}=_0xc4b684,_0x498560=this[_0x4ea464(0x144)]()+'/block/'+_0x275fd0+'/unit/'+_0x31d2c2+_0x4ea464(0x2d1)+_0x4e96dc;return(await this[_0x4ea464(0x163)][_0x4ea464(0x164)](_0x498560))[_0x4ea464(0x134)];}async[_0xbde005(0x2ef)](_0x5bb7cd,_0x38f25d){var _0x25b347=_0xbde005;const {unitID:_0x1b8de3,type:_0x53aefa,from:_0x485c41,to:_0x49b058}=_0x38f25d,_0x54042c=this[_0x25b347(0x144)]()+'/'+_0x53aefa+'/unit/'+_0x1b8de3+'/fetchmissing?from='+_0x485c41+_0x25b347(0x345)+_0x49b058;return(await this[_0x25b347(0x163)][_0x25b347(0x164)](_0x54042c))[_0x25b347(0x134)];}['getSnapshotAPIPath'](){var _0x2de1bf=_0xbde005,_0x5def2a;return(_0x5def2a=this[_0x2de1bf(0x167)][_0x2de1bf(0x3fc)](ps))!=null?_0x5def2a:this[_0x2de1bf(0x144)]();}[_0xbde005(0x144)](){var _0x98ebef=_0xbde005,_0x5d947b;const _0x4f28ca=this[_0x98ebef(0x167)]['getConfig'](K);return(_0x5d947b=_0x4f28ca==null?void 0x0:_0x4f28ca[_0x98ebef(0x1a3)])!=null?_0x5d947b:Es;}async[_0xbde005(0x2a6)](_0x417a6e,_0x3a3f0f){var _0x3f6bfb=_0xbde005;const _0x1117dd=_0x3f6bfb(0x220)+_0x3a3f0f[_0x3f6bfb(0x2df)]+_0x3f6bfb(0x2a1)+_0x3a3f0f[_0x3f6bfb(0x2c0)]+_0x3f6bfb(0x332);return(await this[_0x3f6bfb(0x163)][_0x3f6bfb(0x164)](_0x1117dd,{'params':{'resourceId':JSON[_0x3f6bfb(0x40c)](_0x3a3f0f['resourceIDs'])}}))[_0x3f6bfb(0x134)];}[_0xbde005(0x15c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xbde005(0x404)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xbde005(0x19a)](){var _0x1d87a6=_0xbde005;throw new Error(_0x1d87a6(0x3d6));}['saveChangeset'](){var _0x593a16=_0xbde005;throw new Error(_0x593a16(0x3d6));}[_0xbde005(0x194)](){var _0x267a91=_0xbde005;throw new Error(_0x267a91(0x3d6));}[_0xbde005(0x1be)](){var _0x409088=_0xbde005;throw new Error(_0x409088(0x3d6));}};Ct=sr([ai(0x0,_0x50f0f7),ai(0x1,_0x51e0dc(_0x4583bc))],Ct);var nr=Object['getOwnPropertyDescriptor'],rr=(_0x4ea2d8,_0x3b5f20,_0x147378,_0x225637)=>{var _0x21c48f=_0xbde005;for(var _0x26b4d9=_0x225637>0x1?void 0x0:_0x225637?nr(_0x3b5f20,_0x147378):_0x3b5f20,_0x4cd9d1=_0x4ea2d8[_0x21c48f(0x372)]-0x1,_0x5c7d57;_0x4cd9d1>=0x0;_0x4cd9d1--)(_0x5c7d57=_0x4ea2d8[_0x4cd9d1])&&(_0x26b4d9=_0x5c7d57(_0x26b4d9)||_0x26b4d9);return _0x26b4d9;},Ae=(_0xb67722,_0x2a394c)=>(_0x5a3b79,_0x563352)=>_0x2a394c(_0x5a3b79,_0x563352,_0xb67722);let bt=class extends _0x24fd11{constructor(_0x3b03aa,_0x402339,_0x4de48e,_0x5e3d94,_0x2d35d8){var _0x4895f2=_0xbde005;super(_0x3b03aa,_0x402339,_0x4de48e),this['_transformService']=_0x5e3d94,this[_0x4895f2(0x11d)]=_0x2d35d8;}['transformUndoRedo'](_0x4aedd8,_0x534136){var _0x3219cb=_0xbde005;const _0x3168f8=this['_getUndoStack'](_0x4aedd8);if(_0x3168f8)try{const _0x395cb8=this[_0x3219cb(0x3dc)](_0x3168f8,_0x534136);this[_0x3219cb(0x2c2)](_0x4aedd8,_0x395cb8);}catch(_0x106058){this[_0x3219cb(0x11d)][_0x3219cb(0x2e4)](_0x3219cb(0x1b4),_0x106058),this[_0x3219cb(0x223)](_0x4aedd8);}const _0xf0d9f6=this[_0x3219cb(0x2ed)](_0x4aedd8);if(_0xf0d9f6)try{const _0x4ae56d=this[_0x3219cb(0x3dc)](_0xf0d9f6,_0x534136);this[_0x3219cb(0x133)](_0x4aedd8,_0x4ae56d);}catch(_0x39e92c){this[_0x3219cb(0x11d)][_0x3219cb(0x2e4)](_0x39e92c),this[_0x3219cb(0xf2)](_0x4aedd8);}}['_clearUndo'](_0x4cdc7e){var _0x4645e6=_0xbde005;const _0x332707=this[_0x4645e6(0x1e3)](_0x4cdc7e);_0x332707&&(_0x332707['length']=0x0,this[_0x4645e6(0x206)]());}[_0xbde005(0xf2)](_0x24b603){var _0x5ee548=_0xbde005;const _0x918e46=this[_0x5ee548(0x2ed)](_0x24b603);_0x918e46&&(_0x918e46[_0x5ee548(0x372)]=0x0,this[_0x5ee548(0x206)]());}[_0xbde005(0x2c2)](_0x23001a,_0x487f82){var _0x293b62=_0xbde005;this[_0x293b62(0x2d2)][_0x293b62(0x3cf)](_0x23001a,_0x487f82),this[_0x293b62(0x206)]();}[_0xbde005(0x133)](_0x892357,_0x4fc799){var _0xb3cadf=_0xbde005;this[_0xb3cadf(0x18f)]['set'](_0x892357,_0x4fc799),this['_updateStatus']();}[_0xbde005(0x3dc)](_0x948dc7,_0x2b4c08){var _0xcba405=_0xbde005;const _0xf5e719=[];let _0x541c67=_0x2b4c08,_0x4b877b=_0x2b4c08;for(let _0x75ddc3=_0x948dc7['length']-0x1;_0x75ddc3>=0x0;_0x75ddc3--){const {unitID:_0x134605,undoMutations:_0x3e8050,redoMutations:_0x5ed34a}=_0x948dc7[_0x75ddc3],_0x53fa31=this['_transformService'][_0xcba405(0x280)](_0x541c67,_0x3e8050),_0x5eaa11=this[_0xcba405(0x2b6)][_0xcba405(0x280)](_0x4b877b,_0x5ed34a);if(_0x1d8c0f(_0x53fa31)||_0x1d8c0f(_0x5eaa11)){this['_logService']['error'](_0xcba405(0x1b4),'transformStack\x20failed!',_0x53fa31,_0x5eaa11);break;}_0x541c67=_0x53fa31['c1Prime'],_0x4b877b=_0x5eaa11['c1Prime'],_0xf5e719[_0xcba405(0x38b)]({'unitID':_0x134605,'undoMutations':_0x53fa31['m2Prime'],'redoMutations':_0x5eaa11[_0xcba405(0x303)]});}return _0xf5e719[_0xcba405(0x12e)]();}};bt=rr([Ae(0x0,_0xecbae0),Ae(0x1,_0x2d6439),Ae(0x2,_0x5e9c48),Ae(0x3,_0x54f44a),Ae(0x4,_0x9e9972)],bt);var ar=Object[_0xbde005(0x39b)],or=Object['getOwnPropertyDescriptor'],cr=(_0x526899,_0xcd9bc3,_0x1dfced)=>_0xcd9bc3 in _0x526899?ar(_0x526899,_0xcd9bc3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1dfced}):_0x526899[_0xcd9bc3]=_0x1dfced,_r=(_0x51559f,_0x2f0b00,_0xd2e9a3,_0x5c7817)=>{var _0x2e395d=_0xbde005;for(var _0x2dd1e3=_0x5c7817>0x1?void 0x0:_0x5c7817?or(_0x2f0b00,_0xd2e9a3):_0x2f0b00,_0x8f2867=_0x51559f[_0x2e395d(0x372)]-0x1,_0xd49d22;_0x8f2867>=0x0;_0x8f2867--)(_0xd49d22=_0x51559f[_0x8f2867])&&(_0x2dd1e3=_0xd49d22(_0x2dd1e3)||_0x2dd1e3);return _0x2dd1e3;},pt=(_0x46246c,_0x23a0dc)=>(_0x3323bb,_0x32d5de)=>_0x23a0dc(_0x3323bb,_0x32d5de,_0x46246c),hr=(_0x2ed692,_0x23c901,_0x21cea9)=>cr(_0x2ed692,_0x23c901+'',_0x21cea9);const lr=_0xbde005(0x1c2);let Dt=class extends _0x3a2476{constructor(_0x3ee7cf,_0x5206d7,_0x81fe19,_0x4f8192){var _0x2118b8=_0xbde005;super(),D(this,_0x2118b8(0x3e3)),(this[_0x2118b8(0x11d)]=_0x5206d7,this[_0x2118b8(0x342)]=_0x81fe19,this['_configService']=_0x4f8192);const {..._0x53dc3a}=_0x511468({},ks,_0x3ee7cf);if(!_0x53dc3a[_0x2118b8(0x3f6)])throw new Error(_0x2118b8(0x409));this[_0x2118b8(0x3e3)]=_0x53dc3a,this['_configService'][_0x2118b8(0x246)](K,_0x53dc3a);}[_0xbde005(0x2c1)](){var _0xd0a929=_0xbde005;this['_registerDependencies'](),this[_0xd0a929(0x22c)]();}['_registerDependencies'](){var _0x646669=_0xbde005,_0x8dac83,_0x3103e5;this[_0x646669(0x342)][_0x646669(0x148)](_0x15b98e)&&this[_0x646669(0x11d)]['error'](_0x646669(0x2fc),_0x646669(0x27d));const _0x5eaec=_0x4afa70([[_0x15b98e,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this['_config'][_0x646669(0x3f6)]}],[_0x553f45,{'useClass':Ct}],[_0x4b9a68,{'useClass':Tt}],[_0x601141,{'useClass':Rt}],[_0xf9d46f,{'useClass':Nt}],[nt],[gt]],(_0x8dac83=this['_config'])==null?void 0x0:_0x8dac83['override']);if(!((_0x3103e5=this[_0x646669(0x3e3)])!=null&&_0x3103e5[_0x646669(0x396)])){const _0x57edc5=_0x5eaec[_0x646669(0x261)](([_0x842e2b])=>_0x842e2b===_t);_0x57edc5!==-0x1&&_0x5eaec[_0x646669(0x26f)](_0x57edc5,0x1);}_0x2a394a(this['_injector'],_0x5eaec);}[_0xbde005(0x22c)](){var _0x20d483=_0xbde005,_0x12b96a,_0x45627a,_0x31c3cc;this['_injector'][_0x20d483(0x164)](_0x4583bc)[_0x20d483(0x2d5)]({'priority':0x14,'interceptor':_0x3f72de({'maxParallel':0x6})}),(_0x12b96a=this[_0x20d483(0x3e3)])!=null&&_0x12b96a[_0x20d483(0x1d0)]||(_0x45627a=this[_0x20d483(0x342)][_0x20d483(0x164)](X,_0x51f8b8['OPTIONAL']))==null||_0x45627a[_0x20d483(0x21a)](),(_0x31c3cc=this[_0x20d483(0x3e3)])!=null&&_0x31c3cc[_0x20d483(0x1f1)]&&_0x11baec(this['_injector'],[[rt]]),_0x11baec(this['_injector'],[[at],[nt],[ot]]);}};hr(Dt,'pluginName',lr),Dt=_r([_0x15725f(_0x19be12,_0x373f1e),pt(0x1,_0x9e9972),pt(0x2,_0x51e0dc(_0x20c230)),pt(0x3,_0x50f0f7)],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,pi as CommentService,ue as ConflictState,Is as DEFAULT_COLLAB_WEB_SOCKET_URL,br as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Or as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Ss as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Vs as INetworkConditionService,_t as ISingleActiveUnitService,Nr as LOCAL_CACHE_INTERVAL,Rr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,Cr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Os as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ct as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Gs as deserializeToCombResponse,Dr as getLocalCacheKey,Ws as serializeCombRequest};
|
|
1
|
+
var _0x57ebea=_0x5a33;(function(_0x1705f1,_0x492c26){var _0x329125=_0x5a33,_0x5734e5=_0x1705f1();while(!![]){try{var _0x26e87b=parseInt(_0x329125(0x325))/0x1*(parseInt(_0x329125(0x1fe))/0x2)+-parseInt(_0x329125(0x194))/0x3*(-parseInt(_0x329125(0x2aa))/0x4)+-parseInt(_0x329125(0x1e7))/0x5+parseInt(_0x329125(0x27c))/0x6+-parseInt(_0x329125(0x441))/0x7+-parseInt(_0x329125(0x391))/0x8*(parseInt(_0x329125(0x459))/0x9)+-parseInt(_0x329125(0x2a8))/0xa;if(_0x26e87b===_0x492c26)break;else _0x5734e5['push'](_0x5734e5['shift']());}catch(_0x1fc7ef){_0x5734e5['push'](_0x5734e5['shift']());}}}(_0x3257,0xae49a));var Di=Object[_0x57ebea(0x1da)],yi=(_0x3b807d,_0x3bf95c,_0x5230af)=>_0x3bf95c in _0x3b807d?Di(_0x3b807d,_0x3bf95c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5230af}):_0x3b807d[_0x3bf95c]=_0x5230af,D=(_0x1b5691,_0x43ede8,_0x1c39d0)=>yi(_0x1b5691,typeof _0x43ede8!='symbol'?_0x43ede8+'':_0x43ede8,_0x1c39d0);import{CollaborationEvent as _0x427891,ITransformService as _0x411c6c,isTransformMutationsWithChangesetSuccess as _0x506829,mapDocumentTypeToUniverType as _0x2ce901,RevisionService as _0x1a89bb,isTransformChangesetsSuccess as _0x24a204,EmptyMutationInfo as _0xe9608b,CompressMutationService as _0x3ec077,parseProtocolChangeset as _0x4301fa,uuidv4 as _0x440c2a,ISnapshotServerService as _0x4d28e8,parseChangesetToProtocol as _0x24b872,SnapshotService as _0x555d9,textEncoder as _0x5c83c7,b64DecodeUnicode as _0x5a4419,isTransformMutationsWithChangesetFailure as _0x24fa3a,UniverCollaborationPlugin as _0x53d603}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0xde0007,Inject as _0xd9eea8,UserManagerService as _0x181324,Disposable as _0x396fad,UniverInstanceType as _0x3d0f32,ILogService as _0x395070,IConfigService as _0x218bfc,Optional as _0x4761ab,RxDisposable as _0xdd442f,createIdentifier as _0x51449a,Injector as _0xa5b871,Tools as _0x18e049,Rectangle as _0xcaff84,ICommandService as _0x146b0f,JSONX as _0x1ae2a2,IUndoRedoService as _0x3d9a42,IPermissionService as _0x54b0d9,LocaleService as _0x28b880,sequenceExecute as _0x4f8491,toDisposable as _0x920f1a,CommandType as _0x7655d0,DisposableCollection as _0x81af46,Workbook as _0x148482,resolveWithBasePath as _0x45cc0e,generateRandomId as _0x36b9dc,MentionType as _0x504adb,isInternalEditorID as _0x30a55c,LocalUndoRedoService as _0x5c6473,IContextService as _0x8c9c87,DependentOn as _0x4bd723,Plugin as _0x24dda5,merge as _0x18d54f,mergeOverrideWithDependencies as _0x32dfe5,IAuthzIoService as _0x2df7f1,IMentionIOService as _0x17c0ae,registerDependencies as _0x2d70a4,Quantity as _0x4e93f3,touchDependencies as _0x3c0e82}from'@univerjs/core';import{RichTextEditingMutation as _0x3de14f}from'@univerjs/docs';import{SheetsSelectionsService as _0x328d66,SetSelectionsOperation as _0x10452a,InsertSheetMutation as _0x5b6dd7,WorkbookEditablePermission as _0x108f1a,SheetPermissionInitController as _0x47e6b5}from'@univerjs/sheets';import{Subject as _0x244912,merge as _0xad8c79,of as _0x1ac9d2,BehaviorSubject as _0x4e139f,takeUntil as _0x1eb31f,ReplaySubject as _0x652f3,take as _0x5cf086,map as _0x464432,shareReplay as _0x54609a,firstValueFrom as _0x274940,concatMap as _0xce9a5e}from'rxjs';import{ITelemetryService as _0x4e0327}from'@univerjs/telemetry';import{map as _0xd5a8e5,take as _0x28466d,filter as _0x39a069,delay as _0x2f97fd,takeUntil as _0x1a3065}from'rxjs/operators';import{HTTPService as _0x3e703e,ISocketService as _0x35aa36,MergeInterceptorFactory as _0x344d51,HTTPRequest as _0x5e21a9,UniverNetworkPlugin as _0x3d3879,ThresholdInterceptorFactory as _0x55867b}from'@univerjs/network';import{ImageSourceType as _0x274230,ImageUploadStatusType as _0x4481fb,IImageIoService as _0x33f95c}from'@univerjs/drawing';import{getGlobalObject as _0xb166fe}from'@univerjs-pro/license';const Es=_0x57ebea(0x25d),ps=_0x57ebea(0x367),ms=0x7d0,Is=_0x57ebea(0x262),Or='/universer-api/user/session-ticket',Ss=_0x57ebea(0x2d7),gs=0x7530,di=_0x57ebea(0x311),fi=0x4e20,Ts=0x4e20,Os=_0x57ebea(0x29b),Rs=0x3,Rr=_0x57ebea(0x41c),Nr=0x3e8,Ns=_0x57ebea(0x3fd),Cs=_0x57ebea(0x21f),Cr='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',br=_0x57ebea(0x373);var vi=(_0x2b8996=>(_0x2b8996[_0x2b8996[_0x57ebea(0x3f8)]=0x0]=_0x57ebea(0x3f8),_0x2b8996[_0x2b8996['OK']=0x1]='OK',_0x2b8996[_0x2b8996[_0x57ebea(0x3b9)]=0x2]=_0x57ebea(0x3b9),_0x2b8996[_0x2b8996[_0x57ebea(0x1b9)]=0x3]='PERMISSION_DENIED',_0x2b8996[_0x2b8996[_0x57ebea(0x281)]=0x4]=_0x57ebea(0x281),_0x2b8996[_0x2b8996[_0x57ebea(0x169)]=0x5]=_0x57ebea(0x169),_0x2b8996[_0x2b8996['ALREADY_EXISTS']=0x6]=_0x57ebea(0x2ec),_0x2b8996[_0x2b8996[_0x57ebea(0x425)]=0x7]=_0x57ebea(0x425),_0x2b8996[_0x2b8996['TOO_MANY_REQUESTS']=0x8]=_0x57ebea(0x334),_0x2b8996[_0x2b8996[_0x57ebea(0x1a8)]=0x9]=_0x57ebea(0x1a8),_0x2b8996[_0x2b8996['LOGIN_FAILED']=0xa]=_0x57ebea(0x1d4),_0x2b8996[_0x2b8996[_0x57ebea(0x14c)]=0xb]=_0x57ebea(0x14c),_0x2b8996[_0x2b8996[_0x57ebea(0x38f)]=0xc]=_0x57ebea(0x38f),_0x2b8996[_0x2b8996['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2b8996[_0x2b8996[_0x57ebea(0x376)]=0xe]=_0x57ebea(0x376),_0x2b8996[_0x2b8996[_0x57ebea(0x289)]=0xf]=_0x57ebea(0x289),_0x2b8996[_0x2b8996[_0x57ebea(0x426)]=0x10]=_0x57ebea(0x426),_0x2b8996[_0x2b8996[_0x57ebea(0x328)]=0x64]=_0x57ebea(0x328),_0x2b8996[_0x2b8996['ERROR_AGAIN']=0x65]=_0x57ebea(0x3b6),_0x2b8996[_0x2b8996[_0x57ebea(0x164)]=0xc9]='USER_NOT_FOUND',_0x2b8996[_0x2b8996['USER_IS_ANONYMOUS']=0xca]=_0x57ebea(0x303),_0x2b8996[_0x2b8996['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x57ebea(0x2e5),_0x2b8996[_0x2b8996[_0x57ebea(0x3c9)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2b8996[_0x2b8996['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2b8996[_0x2b8996[_0x57ebea(0x2b4)]=0x1773]=_0x57ebea(0x2b4),_0x2b8996[_0x2b8996[_0x57ebea(0x1de)]=0x1b59]=_0x57ebea(0x1de),_0x2b8996[_0x2b8996[_0x57ebea(0x237)]=0x1b5a]=_0x57ebea(0x237),_0x2b8996[_0x2b8996[_0x57ebea(0x160)]=0x1b5b]=_0x57ebea(0x160),_0x2b8996[_0x2b8996[_0x57ebea(0x316)]=0x1b5c]=_0x57ebea(0x316),_0x2b8996[_0x2b8996[_0x57ebea(0x158)]=0x1b5d]=_0x57ebea(0x158),_0x2b8996[_0x2b8996[_0x57ebea(0x2e7)]=0x1f41]=_0x57ebea(0x2e7),_0x2b8996[_0x2b8996[_0x57ebea(0x353)]=0x2329]=_0x57ebea(0x353),_0x2b8996[_0x2b8996[_0x57ebea(0x1e5)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2b8996[_0x2b8996[_0x57ebea(0x269)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2b8996[_0x2b8996['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x57ebea(0x41e),_0x2b8996[_0x2b8996[_0x57ebea(0x2c7)]=0x232d]=_0x57ebea(0x2c7),_0x2b8996[_0x2b8996['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x57ebea(0x456),_0x2b8996[_0x2b8996[_0x57ebea(0x223)]=0x2712]=_0x57ebea(0x223),_0x2b8996[_0x2b8996['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2b8996[_0x2b8996[_0x57ebea(0x306)]=0x2714]=_0x57ebea(0x306),_0x2b8996[_0x2b8996[_0x57ebea(0x26e)]=0x271a]=_0x57ebea(0x26e),_0x2b8996[_0x2b8996[_0x57ebea(0x155)]=0x271b]=_0x57ebea(0x155),_0x2b8996[_0x2b8996[_0x57ebea(0x236)]=0x271c]=_0x57ebea(0x236),_0x2b8996[_0x2b8996[_0x57ebea(0x330)]=0x271d]=_0x57ebea(0x330),_0x2b8996[_0x2b8996[_0x57ebea(0x225)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x2b8996[_0x2b8996[_0x57ebea(0x1ae)]=0x271f]=_0x57ebea(0x1ae),_0x2b8996[_0x2b8996[_0x57ebea(0x2a0)]=0x2720]=_0x57ebea(0x2a0),_0x2b8996[_0x2b8996[_0x57ebea(0x1bf)]=0x2af9]=_0x57ebea(0x1bf),_0x2b8996[_0x2b8996[_0x57ebea(0x1c4)]=0x2ee1]=_0x57ebea(0x1c4),_0x2b8996[_0x2b8996['INVALID_INVITE_CODE']=0x2ee2]=_0x57ebea(0x402),_0x2b8996[_0x2b8996[_0x57ebea(0x15b)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2b8996[_0x2b8996[_0x57ebea(0x40c)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2b8996[_0x2b8996[_0x57ebea(0x228)]=0x2ee5]=_0x57ebea(0x228),_0x2b8996[_0x2b8996[_0x57ebea(0x362)]=0x32c9]=_0x57ebea(0x362),_0x2b8996[_0x2b8996['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x57ebea(0x33e),_0x2b8996[_0x2b8996['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x57ebea(0x1aa),_0x2b8996[_0x2b8996['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x57ebea(0x419),_0x2b8996[_0x2b8996[_0x57ebea(0x2d0)]=0x36b2]=_0x57ebea(0x2d0),_0x2b8996[_0x2b8996[_0x57ebea(0x36e)]=0x36b3]=_0x57ebea(0x36e),_0x2b8996[_0x2b8996[_0x57ebea(0x349)]=0x36b4]=_0x57ebea(0x349),_0x2b8996[_0x2b8996[_0x57ebea(0x3ce)]=0x36b5]=_0x57ebea(0x3ce),_0x2b8996[_0x2b8996['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x57ebea(0x3e6),_0x2b8996[_0x2b8996[_0x57ebea(0x3a3)]=0x36b7]=_0x57ebea(0x3a3),_0x2b8996[_0x2b8996['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x57ebea(0x44a),_0x2b8996[_0x2b8996[_0x57ebea(0x2a4)]=0x3715]=_0x57ebea(0x2a4),_0x2b8996[_0x2b8996['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2b8996[_0x2b8996['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x57ebea(0x30a),_0x2b8996[_0x2b8996[_0x57ebea(0x258)]=0x37dd]=_0x57ebea(0x258),_0x2b8996[_0x2b8996[_0x57ebea(0x1fc)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x2b8996[_0x2b8996[_0x57ebea(0x438)]=0x3a9a]=_0x57ebea(0x438),_0x2b8996[_0x2b8996[_0x57ebea(0x16b)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x2b8996[_0x2b8996[_0x57ebea(0x407)]=0x3a9c]=_0x57ebea(0x407),_0x2b8996[_0x2b8996['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x57ebea(0x2b3),_0x2b8996[_0x2b8996['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x57ebea(0x15a),_0x2b8996[_0x2b8996[_0x57ebea(0x3f7)]=0x3a9f]=_0x57ebea(0x3f7),_0x2b8996[_0x2b8996['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x57ebea(0x248),_0x2b8996[_0x2b8996[_0x57ebea(0x34f)]=-0x1]=_0x57ebea(0x34f),_0x2b8996))(vi||{}),Q=(_0x4d73c0=>(_0x4d73c0[_0x4d73c0['UNIVER_UNKNOWN']=0x0]=_0x57ebea(0x2c0),_0x4d73c0[_0x4d73c0[_0x57ebea(0x234)]=0x1]='UNIVER_DOC',_0x4d73c0[_0x4d73c0['UNIVER_SHEET']=0x2]=_0x57ebea(0x382),_0x4d73c0[_0x4d73c0[_0x57ebea(0x1b5)]=0x3]='UNIVER_SLIDE',_0x4d73c0[_0x4d73c0[_0x57ebea(0x25b)]=0x4]=_0x57ebea(0x25b),_0x4d73c0[_0x4d73c0['UNRECOGNIZED']=-0x1]=_0x57ebea(0x34f),_0x4d73c0))(Q||{}),j=(_0x34f736=>(_0x34f736[_0x34f736[_0x57ebea(0x20a)]=0x0]=_0x57ebea(0x20a),_0x34f736[_0x34f736[_0x57ebea(0x321)]=0x1]=_0x57ebea(0x321),_0x34f736[_0x34f736[_0x57ebea(0x212)]=0x2]=_0x57ebea(0x212),_0x34f736[_0x34f736[_0x57ebea(0x432)]=0x3]='LEAVE',_0x34f736[_0x34f736[_0x57ebea(0x3c5)]=0x4]='INGEST',_0x34f736[_0x34f736[_0x57ebea(0x27a)]=0x5]=_0x57ebea(0x27a),_0x34f736[_0x34f736['RECV']=0x6]=_0x57ebea(0x18f),_0x34f736[_0x34f736[_0x57ebea(0x34f)]=-0x1]=_0x57ebea(0x34f),_0x34f736))(j||{}),Ee=(_0x7c94ea=>(_0x7c94ea[_0x7c94ea[_0x57ebea(0x156)]=0x0]='UNKNOWN_CODE',_0x7c94ea[_0x7c94ea['OK']=0x1]='OK',_0x7c94ea[_0x7c94ea[_0x57ebea(0x2da)]=0x2]=_0x57ebea(0x2da),_0x7c94ea[_0x7c94ea[_0x57ebea(0x339)]=0x3e9]=_0x57ebea(0x339),_0x7c94ea[_0x7c94ea[_0x57ebea(0x3e9)]=0x3ea]=_0x57ebea(0x3e9),_0x7c94ea[_0x7c94ea['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x7c94ea[_0x7c94ea['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x57ebea(0x22d),_0x7c94ea[_0x7c94ea[_0x57ebea(0x34f)]=-0x1]=_0x57ebea(0x34f),_0x7c94ea))(Ee||{}),Ei=(_0x7149d=>(_0x7149d[_0x7149d[_0x57ebea(0x2fa)]=0x0]=_0x57ebea(0x2fa),_0x7149d[_0x7149d[_0x57ebea(0x36b)]=0x1]=_0x57ebea(0x36b),_0x7149d[_0x7149d['HttpExport']=0x2]=_0x57ebea(0x17b),_0x7149d[_0x7149d[_0x57ebea(0x315)]=0x3]=_0x57ebea(0x315),_0x7149d[_0x7149d['UnitSnapshot']=0x4]='UnitSnapshot',_0x7149d[_0x7149d[_0x57ebea(0x24a)]=0x5]=_0x57ebea(0x24a),_0x7149d[_0x7149d[_0x57ebea(0x38c)]=0x6]=_0x57ebea(0x38c),_0x7149d[_0x7149d[_0x57ebea(0x34f)]=-0x1]=_0x57ebea(0x34f),_0x7149d))(Ei||{});const bs=_0x57ebea(0x2a9);function Ds(_0x3053ed){var _0x145dc9=_0x57ebea;return JSON[_0x145dc9(0x3fb)](_0x3053ed)['length'];}var re=(_0x4febdc=>(_0x4febdc[_0x57ebea(0x1e1)]=_0x57ebea(0x1e1),_0x4febdc[_0x57ebea(0x1b9)]=_0x57ebea(0x1b9),_0x4febdc['CONFLICT']=_0x57ebea(0x39e),_0x4febdc[_0x57ebea(0x35c)]=_0x57ebea(0x35c),_0x4febdc[_0x57ebea(0x43e)]=_0x57ebea(0x43e),_0x4febdc[_0x57ebea(0x2db)]='SOCKET_FAILED_RETRY',_0x4febdc[_0x57ebea(0x2f1)]=_0x57ebea(0x2f1),_0x4febdc[_0x57ebea(0x153)]='SUBMIT_CHANGESET_TIMEOUT',_0x4febdc))(re||{});class ve{constructor(){var _0x53f781=_0x57ebea;D(this,_0x53f781(0x319),new _0x244912()),D(this,_0x53f781(0x3a4),this[_0x53f781(0x319)]['asObservable']());}[_0x57ebea(0x37b)](_0x23b616){var _0x520787=_0x57ebea;this[_0x520787(0x319)]['next'](_0x23b616);}}class pi{constructor(){var _0x176244=_0x57ebea;D(this,_0x176244(0x3b5),new _0x244912()),D(this,_0x176244(0x2ef),this[_0x176244(0x3b5)][_0x176244(0x2c5)]());}['onCommentUpdate'](_0x18397a){var _0x4f6a96=_0x57ebea;this[_0x4f6a96(0x3b5)][_0x4f6a96(0x372)](_0x18397a);}}var ys=Object[_0x57ebea(0x1a9)],Us=(_0xf5a6c5,_0x1bf9e2,_0x2cae7b,_0x48d5af)=>{for(var _0x1293fa=_0x48d5af>0x1?void 0x0:_0x48d5af?ys(_0x1bf9e2,_0x2cae7b):_0x1bf9e2,_0x171197=_0xf5a6c5['length']-0x1,_0x438270;_0x171197>=0x0;_0x171197--)(_0x438270=_0xf5a6c5[_0x171197])&&(_0x1293fa=_0x438270(_0x1293fa)||_0x1293fa);return _0x1293fa;},Ft=(_0x45bd0d,_0x43e532)=>(_0x2219cf,_0xf9098c)=>_0x43e532(_0x2219cf,_0xf9098c,_0x45bd0d);let Pe=class extends _0x396fad{constructor(_0x58d600,_0x771243){var _0x3d091e=_0x57ebea;super(),D(this,'_roomMembers',new Map()),D(this,_0x3d091e(0x3a6),new _0x244912()),(this['_univerInstanceService']=_0x58d600,this[_0x3d091e(0x3e1)]=_0x771243,this[_0x3d091e(0x24e)](_0xad8c79(this['_univerInstanceService'][_0x3d091e(0x152)](_0x3d0f32[_0x3d091e(0x382)])['pipe'](_0xd5a8e5(_0x562b2e=>_0x562b2e[_0x3d091e(0x1c3)]())),this[_0x3d091e(0x26b)][_0x3d091e(0x152)](_0x3d0f32[_0x3d091e(0x234)])[_0x3d091e(0x165)](_0xd5a8e5(_0x421ae2=>_0x421ae2[_0x3d091e(0x1c3)]())),this[_0x3d091e(0x26b)][_0x3d091e(0x152)](_0x3d0f32[_0x3d091e(0x1b5)])[_0x3d091e(0x165)](_0xd5a8e5(_0x190678=>_0x190678[_0x3d091e(0x1c3)]())))[_0x3d091e(0x3dc)](_0x22e84a=>this[_0x3d091e(0x38b)](_0x22e84a))));}[_0x57ebea(0x17c)](_0x55e7fb){var _0x12ef51=_0x57ebea;return this[_0x12ef51(0x1a0)]['has'](_0x55e7fb)?_0x1ac9d2(this[_0x12ef51(0x1a0)][_0x12ef51(0x19b)](_0x55e7fb)):this[_0x12ef51(0x3a6)][_0x12ef51(0x165)](_0xd5a8e5(_0x9920d1=>{var _0x3ac93e=_0x12ef51;if(_0x9920d1===_0x55e7fb)return this[_0x3ac93e(0x1a0)][_0x3ac93e(0x19b)](_0x9920d1);}));}[_0x57ebea(0x1cd)](_0xcb06ac){var _0x42526d=_0x57ebea;this['_userManagerService'][_0x42526d(0x1cd)](_0xcb06ac);}['getCurrentUser'](){var _0x391405=_0x57ebea;return this[_0x391405(0x3e1)][_0x391405(0x297)]();}[_0x57ebea(0x16e)](_0x4cc734,_0xa19a34){var _0x178e62=_0x57ebea;let _0x2b967f=this[_0x178e62(0x1a0)][_0x178e62(0x19b)](_0x4cc734);_0x2b967f||(_0x2b967f=new As(),this['_roomMembers'][_0x178e62(0x375)](_0x4cc734,_0x2b967f),this[_0x178e62(0x3a6)][_0x178e62(0x372)](_0x4cc734)),_0x2b967f[_0x178e62(0x16e)](_0xa19a34);}['removeMember'](_0xaa831e,_0x1dcb85){var _0x2da5e8=_0x57ebea;const _0x1ceb65=this[_0x2da5e8(0x1a0)][_0x2da5e8(0x19b)](_0xaa831e);_0x1ceb65&&_0x1ceb65['removeMember'](_0x1dcb85);}[_0x57ebea(0x1be)](_0xd1bc14){return this['_roomMembers']['get'](_0xd1bc14);}[_0x57ebea(0x295)](_0x137da3,_0x561568){var _0x254930=_0x57ebea;const _0x1cca4a=this['_roomMembers'][_0x254930(0x19b)](_0x137da3);if(_0x1cca4a)return _0x1cca4a['getMember'](_0x561568);}['_removeRoom'](_0x54acc8){var _0x16d5b6=_0x57ebea;const _0x3dbfcb=this['_roomMembers']['get'](_0x54acc8);_0x3dbfcb&&(_0x3dbfcb['dispose'](),this[_0x16d5b6(0x1a0)][_0x16d5b6(0x22e)](_0x54acc8));}[_0x57ebea(0x181)](){var _0x9689a7=_0x57ebea;this[_0x9689a7(0x1a0)][_0x9689a7(0x352)](_0x9f5f38=>_0x9f5f38[_0x9689a7(0x181)]()),this['_roomMembers'][_0x9689a7(0x2b7)](),this[_0x9689a7(0x3a6)]['complete']();}};Pe=Us([Ft(0x0,_0xde0007),Ft(0x1,_0xd9eea8(_0x181324))],Pe);class As extends _0x396fad{constructor(){var _0x2bcbff=_0x57ebea;super(...arguments),D(this,_0x2bcbff(0x33d),new Map()),D(this,'_members$',new _0x4e139f(this[_0x2bcbff(0x33d)])),D(this,'members$',this[_0x2bcbff(0x356)]['asObservable']());}[_0x57ebea(0x181)](){var _0x37a596=_0x57ebea;this[_0x37a596(0x33d)][_0x37a596(0x2b7)]();}[_0x57ebea(0x16e)](_0x41aad8){var _0x162527=_0x57ebea;this[_0x162527(0x33d)][_0x162527(0x375)](_0x41aad8['memberID'],_0x41aad8),this[_0x162527(0x41d)]();}[_0x57ebea(0x2d2)](_0x1cf52f){this['_members']['delete'](_0x1cf52f);}[_0x57ebea(0x295)](_0x21fb94){var _0x135b14=_0x57ebea;return this[_0x135b14(0x33d)][_0x135b14(0x19b)](_0x21fb94);}[_0x57ebea(0x1f0)](){var _0x443a75=_0x57ebea;return Array['from'](this[_0x443a75(0x33d)][_0x443a75(0x31b)]());}[_0x57ebea(0x41d)](){var _0x29e162=_0x57ebea;this[_0x29e162(0x356)]['next'](this[_0x29e162(0x33d)]);}}var Ps=Object['getOwnPropertyDescriptor'],ws=(_0xed4ad6,_0x5c72c5,_0x9099b,_0x1586ef)=>{var _0x2fcfca=_0x57ebea;for(var _0x558193=_0x1586ef>0x1?void 0x0:_0x1586ef?Ps(_0x5c72c5,_0x9099b):_0x5c72c5,_0x399333=_0xed4ad6[_0x2fcfca(0x291)]-0x1,_0x1b56b2;_0x399333>=0x0;_0x399333--)(_0x1b56b2=_0xed4ad6[_0x399333])&&(_0x558193=_0x1b56b2(_0x558193)||_0x558193);return _0x558193;},Oe=(_0x36f9e1,_0x5a53ce)=>(_0x1bbe32,_0x47ba01)=>_0x5a53ce(_0x1bbe32,_0x47ba01,_0x36f9e1),me=(_0x18aee6=>(_0x18aee6[_0x18aee6[_0x57ebea(0x40a)]=0x0]=_0x57ebea(0x40a),_0x18aee6[_0x18aee6[_0x57ebea(0x31c)]=0x1]='JOINING',_0x18aee6[_0x18aee6[_0x57ebea(0x230)]=0x2]=_0x57ebea(0x230),_0x18aee6[_0x18aee6[_0x57ebea(0x2f7)]=0x3]='ONLINE',_0x18aee6))(me||{});const jt={[Ee['FAIL']]:_0x57ebea(0x3a9),[Ee[_0x57ebea(0x339)]]:_0x57ebea(0x337),[Ee[_0x57ebea(0x3e9)]]:_0x57ebea(0x242),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[Ee[_0x57ebea(0x22d)]]:'session.room-cnt-exceeds'};let mt=class extends _0xdd442f{constructor(_0x52e3ff,_0x1dc226,_0x4b8e80,_0x29a529,_0x1ed06b,_0x1ae81d,_0x5243dd,_0x5ee2aa){var _0x3da7f4=_0x57ebea;super(),D(this,'_sessionStatus$',new _0x4e139f(0x0)),D(this,_0x3da7f4(0x1e4),this[_0x3da7f4(0x2f8)]['asObservable']()),D(this,'_event$',new _0x244912()),D(this,_0x3da7f4(0x3a4),this['_event$']['asObservable']()),D(this,_0x3da7f4(0x235)),D(this,_0x3da7f4(0x430)),D(this,'_collaborationTimeoutTimer'),D(this,'_shouldReportTelemetry',!0x1),D(this,'_telemetryInfo',null),(this['_unitID']=_0x52e3ff,this[_0x3da7f4(0x3cc)]=_0x4b8e80,this['_configService']=_0x29a529,this[_0x3da7f4(0x2e6)]=_0x1ed06b,this['_commentService']=_0x1ae81d,this[_0x3da7f4(0x150)]=_0x5243dd,this[_0x3da7f4(0x226)]=_0x5ee2aa,this[_0x3da7f4(0x22a)]=!!this[_0x3da7f4(0x226)],_0x1dc226['pipe'](_0x1eb31f(this[_0x3da7f4(0x1c5)]))['subscribe'](_0x3dd079=>{var _0x29977a=_0x3da7f4,_0x26a78a;typeof _0x3dd079>'u'||(this[_0x29977a(0x235)]=_0x3dd079,_0x3dd079?(this[_0x29977a(0x19e)](_0x3dd079),this['_socketMessageSubscription']=_0x3dd079['message$'][_0x29977a(0x3dc)](_0x162c67=>{var _0xd331c6=_0x29977a;_0x162c67[_0xd331c6(0x41f)]===this[_0xd331c6(0x178)]&&this[_0xd331c6(0x2e8)](_0x162c67);})):(this[_0x29977a(0x318)](),this[_0x29977a(0x2f8)][_0x29977a(0x372)](0x2),(_0x26a78a=this['_socketMessageSubscription'])==null||_0x26a78a['unsubscribe'](),this[_0x29977a(0x430)]=null));}));}get[_0x57ebea(0x264)](){var _0x54cf26=_0x57ebea;return this[_0x54cf26(0x2f8)][_0x54cf26(0x254)]();}[_0x57ebea(0x387)](){var _0x57e34c=_0x57ebea,_0x485b76,_0x21df98;return(_0x21df98=(_0x485b76=this[_0x57e34c(0x235)])==null?void 0x0:_0x485b76[_0x57e34c(0x329)])!=null?_0x21df98:null;}['dispose'](){var _0x5c2ca9=_0x57ebea;super[_0x5c2ca9(0x181)](),this[_0x5c2ca9(0x1c5)][_0x5c2ca9(0x372)](),this['dispose$'][_0x5c2ca9(0x42a)]();}[_0x57ebea(0x29e)](){var _0x337d65=_0x57ebea,_0x1f746e,_0x12185c;this[_0x337d65(0x318)](),(_0x1f746e=this[_0x337d65(0x235)])==null||_0x1f746e[_0x337d65(0x2f5)]({'cmd':j[_0x337d65(0x432)],'data':{'roomID':this[_0x337d65(0x178)]}}),(_0x12185c=this['_socket'])==null||_0x12185c[_0x337d65(0x29e)](),this['_event$']['complete'](),this[_0x337d65(0x2f8)][_0x337d65(0x42a)](),this[_0x337d65(0x181)]();}[_0x57ebea(0x2e8)](_0x227bfd){var _0x168b42=_0x57ebea;_0x227bfd['cmd']===j['JOIN']?this[_0x168b42(0x243)](_0x227bfd):_0x227bfd['cmd']===j[_0x168b42(0x18f)]&&this[_0x168b42(0x14d)](_0x227bfd);}[_0x57ebea(0x19e)](_0x4cdd2e){var _0x5c22fa=_0x57ebea;this[_0x5c22fa(0x2f8)][_0x5c22fa(0x372)](0x1),_0x4cdd2e[_0x5c22fa(0x2f5)]({'cmd':j['JOIN'],'routeKey':this[_0x5c22fa(0x178)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5c22fa(0x178)]}]}});}['_onJoinRoomEvent'](_0x8276e5){var _0x267763=_0x57ebea,_0x1fe0f0;if(_0x8276e5[_0x267763(0x31a)]in jt){this[_0x267763(0x150)][_0x267763(0x37b)]({'id':re[_0x267763(0x43e)],'data':jt[_0x8276e5['code']]}),this[_0x267763(0x2f8)][_0x267763(0x372)](0x2);return;}this[_0x267763(0x2f8)]['next'](0x3);const _0x523491=(_0x1fe0f0=_0x8276e5[_0x267763(0x455)][_0x267763(0x18d)][this[_0x267763(0x178)]])==null?void 0x0:_0x1fe0f0[_0x267763(0x1eb)];_0x523491&&_0x523491[_0x267763(0x352)](_0x293547=>this['_memberService'][_0x267763(0x16e)](this[_0x267763(0x178)],_0x293547));}[_0x57ebea(0x14d)](_0x13bb9b){var _0x1f49a4=_0x57ebea;try{const _0x3170ff=_0x13bb9b[_0x1f49a4(0x455)];switch(_0x3170ff[_0x1f49a4(0x34b)]){case _0x427891[_0x1f49a4(0x453)]:this[_0x1f49a4(0x34e)](_0x3170ff),this['_event$'][_0x1f49a4(0x372)](_0x3170ff);break;case _0x427891[_0x1f49a4(0x208)]:this[_0x1f49a4(0x378)](_0x3170ff),this[_0x1f49a4(0x319)][_0x1f49a4(0x372)](_0x3170ff);break;case _0x427891[_0x1f49a4(0x16d)]:case _0x427891[_0x1f49a4(0x23e)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x1f49a4(0x3b8)](),this[_0x1f49a4(0x319)][_0x1f49a4(0x372)](_0x3170ff);break;case _0x427891[_0x1f49a4(0x140)]:this['_logService'][_0x1f49a4(0x379)](_0x1f49a4(0x3fa)+JSON[_0x1f49a4(0x3fb)](_0x3170ff)),this[_0x1f49a4(0x319)][_0x1f49a4(0x372)](_0x3170ff);break;case _0x427891['COMMENT_UPDATE']:this['_commentService'][_0x1f49a4(0x1e0)](_0x3170ff[_0x1f49a4(0x455)]),this[_0x1f49a4(0x319)][_0x1f49a4(0x372)](_0x3170ff);break;default:this['_event$'][_0x1f49a4(0x372)](_0x3170ff);}}catch(_0x9031fe){this[_0x1f49a4(0x3cc)]['error'](_0x9031fe,_0x13bb9b);}}['_onUserJoin'](_0x19f7aa){var _0x6ba092=_0x57ebea;this[_0x6ba092(0x2e6)][_0x6ba092(0x16e)](this[_0x6ba092(0x178)],_0x19f7aa['data']);}[_0x57ebea(0x378)](_0x44e104){var _0x35a960=_0x57ebea;this[_0x35a960(0x2e6)]['removeMember'](this[_0x35a960(0x178)],_0x44e104[_0x35a960(0x455)][_0x35a960(0x329)]);}async[_0x57ebea(0x2f5)](_0x5b4239,_0x5b55b7){var _0x37c09c=_0x57ebea;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x37c09c(0x273));try{_0x5b4239['eventID']===_0x427891[_0x37c09c(0x3f9)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x5b4239)),this[_0x37c09c(0x235)][_0x37c09c(0x2f5)]({'cmd':j[_0x37c09c(0x3c5)],'routeKey':_0x5b55b7,'routeType':'','data':_0x5b4239});}catch(_0x34436c){this[_0x37c09c(0x3cc)][_0x37c09c(0x379)](_0x34436c);}}[_0x57ebea(0x420)](){var _0x5ac159=_0x57ebea,_0x201019;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x1c8217=_0x5a33;this[_0x1c8217(0x1e6)]=null,this[_0x1c8217(0x150)][_0x1c8217(0x37b)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x201019=this[_0x5ac159(0x25c)][_0x5ac159(0x1f4)](di))!=null?_0x201019:fi);}[_0x57ebea(0x3b8)](){var _0x2f94f7=_0x57ebea;this[_0x2f94f7(0x1e6)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x57ebea(0x2e4)](_0x2774ce){var _0x5bacf4=_0x57ebea;if(!this['_shouldReportTelemetry'])return;const {data:_0x5dc260}=_0x2774ce,{unitID:_0x269940,changeset:_0x3c24cf}=_0x5dc260,{mutations:_0x18f903,type:_0x1ca65f}=_0x3c24cf;this[_0x5bacf4(0x172)]={'unitId':_0x269940,'type':_0x1ca65f,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ds(_0x18f903)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x2af9d1=_0x57ebea;if(this[_0x2af9d1(0x22a)]){if(!this[_0x2af9d1(0x172)]){this[_0x2af9d1(0x3cc)][_0x2af9d1(0x379)](_0x2af9d1(0x177),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2af9d1(0x172)][_0x2af9d1(0x322)]=performance['now'](),this[_0x2af9d1(0x172)][_0x2af9d1(0x183)]=this['_telemetryInfo'][_0x2af9d1(0x322)]-this['_telemetryInfo'][_0x2af9d1(0x17f)],this[_0x2af9d1(0x226)][_0x2af9d1(0x163)](bs,this['_telemetryInfo']),this[_0x2af9d1(0x172)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x1a68e8=_0x57ebea;this[_0x1a68e8(0x172)]=null;}};mt=ws([Oe(0x2,_0x395070),Oe(0x3,_0x218bfc),Oe(0x4,_0xd9eea8(Pe)),Oe(0x5,_0xd9eea8(pi)),Oe(0x6,_0xd9eea8(ve)),Oe(0x7,_0x4761ab(_0x4e0327))],mt);const X=_0x51449a(_0x57ebea(0x167));function Dr(_0x9f1aff){var _0x2258f8=_0x57ebea;return _0x2258f8(0x18c)+_0x9f1aff;}var Ls=Object[_0x57ebea(0x1a9)],Ms=(_0x2c0fb2,_0x15acd6,_0x33f1da,_0x2e7c6c)=>{var _0x59da4c=_0x57ebea;for(var _0x553eb8=_0x2e7c6c>0x1?void 0x0:_0x2e7c6c?Ls(_0x15acd6,_0x33f1da):_0x15acd6,_0x1ee127=_0x2c0fb2[_0x59da4c(0x291)]-0x1,_0x1faa5d;_0x1ee127>=0x0;_0x1ee127--)(_0x1faa5d=_0x2c0fb2[_0x1ee127])&&(_0x553eb8=_0x1faa5d(_0x553eb8)||_0x553eb8);return _0x553eb8;},ut=(_0xe96710,_0x37fe49)=>(_0x5a4940,_0x4ec0a7)=>_0x37fe49(_0x5a4940,_0x4ec0a7,_0xe96710);function xs(_0xe06b75){var _0x3dd094=_0x57ebea;const {unitID:_0x180675,mutations:_0x310cb5}=_0xe06b75;return{'unitId':_0x180675,'subUnitId':_0x310cb5[_0x3dd094(0x291)]>0x0?_0x310cb5[0x0][_0x3dd094(0x437)]['subUnitId']:null};}let it=class{constructor(_0x20a15b,_0x46ccbf,_0x7d8c7a){var _0xc9c57d=_0x57ebea;this[_0xc9c57d(0x30c)]=_0x20a15b,this[_0xc9c57d(0x13b)]=_0x46ccbf,this[_0xc9c57d(0x305)]=_0x7d8c7a;}['transformSelections'](_0x5e1f16){var _0x1522d3=_0x57ebea,_0x329009,_0x28e0da,_0x34b590,_0x18788f;const _0x5333f3=this[_0x1522d3(0x30c)]['get'](_0x328d66),{unitId:_0x3d421b,subUnitId:_0xf01ad5}=xs(_0x5e1f16),_0x1c2289=_0x5333f3==null?void 0x0:_0x5333f3[_0x1522d3(0x1d6)](_0x3d421b)[_0x1522d3(0x1d8)](),_0x1c46bc=(_0x28e0da=(_0x329009=this[_0x1522d3(0x305)][_0x1522d3(0x1cf)](_0x3d421b))==null?void 0x0:_0x329009[_0x1522d3(0x33a)]())==null?void 0x0:_0x28e0da[_0x1522d3(0x3fe)]();if(_0x1c2289[_0x1522d3(0x291)]===0x0||!_0x3d421b||!_0xf01ad5)return;const _0x5f14a0=[{'id':_0x10452a['id'],'params':{'unitId':_0x3d421b,'subUnitId':_0x1c46bc,'selections':_0x18e049['deepClone'](_0x1c2289)}}],_0x1672f9=this[_0x1522d3(0x13b)]['transformMutationsWithChangeset'](_0x5e1f16,_0x5f14a0);if(!_0x506829(_0x1672f9))throw _0x1672f9[_0x1522d3(0x379)];const _0x529839=(_0x18788f=(_0x34b590=_0x1672f9[_0x1522d3(0x162)][0x0])==null?void 0x0:_0x34b590[_0x1522d3(0x437)])==null?void 0x0:_0x18788f[_0x1522d3(0x2a2)];if(Array[_0x1522d3(0x1c1)](_0x529839)&&_0x529839[_0x1522d3(0x291)]){if(_0x529839[_0x1522d3(0x291)]===_0x5f14a0[0x0][_0x1522d3(0x437)]['selections'][_0x1522d3(0x291)]&&_0x529839[_0x1522d3(0x284)]((_0xccf66f,_0x1b1043)=>_0xcaff84['equals'](_0xccf66f[_0x1522d3(0x3d0)],_0x5f14a0[0x0][_0x1522d3(0x437)][_0x1522d3(0x2a2)][_0x1b1043][_0x1522d3(0x3d0)])))return;this[_0x1522d3(0x30c)][_0x1522d3(0x19b)](_0x146b0f)[_0x1522d3(0x384)](_0x10452a['id'],{'unitId':_0x3d421b,'subUnitId':_0x1c46bc,'selections':_0x529839});}}};it=Ms([ut(0x0,_0xd9eea8(_0xa5b871)),ut(0x1,_0x411c6c),ut(0x2,_0xde0007)],it);const _t=_0x51449a(_0x57ebea(0x21c));var mi=(_0x294dfd=>(_0x294dfd[_0x294dfd['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x57ebea(0x312),_0x294dfd[_0x294dfd[_0x57ebea(0x1f8)]=0x1]=_0x57ebea(0x1f8),_0x294dfd))(mi||{});const K=_0x57ebea(0x3bd),ks={};function $s(_0x1e98fa){var _0x1aafa9=_0x57ebea,_0x5596b2;return!!((_0x5596b2=_0x1e98fa['params'])!=null&&_0x5596b2[_0x1aafa9(0x25e)]);}const Hs=new Set([_0x5b6dd7['id']]);function Vt(_0xc44402,_0x749a44,_0x26ec5e,_0x296cf5,_0x1064e8){var _0x2d64f7=_0x57ebea,_0x51c319,_0x271c19,_0x16a796,_0x3a0443;const _0x2e3293=[];for(const _0x5d28c4 of _0xc44402){if(Hs[_0x2d64f7(0x280)](_0x5d28c4['id'])){if(_0x2e3293[_0x2d64f7(0x291)]>0x0)break;_0x2e3293[_0x2d64f7(0x37e)](_0x5d28c4);break;}if($s(_0x5d28c4)){if(_0x2e3293[_0x2d64f7(0x291)]>0x0)break;_0x2e3293[_0x2d64f7(0x37e)](_0x5d28c4);break;}_0x2e3293['push'](_0x5d28c4);}const _0x5972a5=(_0x271c19=(_0x51c319=_0x1064e8[_0x2d64f7(0x297)]())==null?void 0x0:_0x51c319[_0x2d64f7(0x2a6)])!=null?_0x271c19:'unknown',_0x8bafc3=(_0x3a0443=(_0x16a796=_0x1064e8[_0x2d64f7(0x297)]())==null?void 0x0:_0x16a796[_0x2d64f7(0x329)])!=null?_0x3a0443:_0x2d64f7(0x3b3);return{'changeset':{'unitID':_0x749a44,'type':_0x2ce901(_0x26ec5e[_0x2d64f7(0x2cf)](_0x749a44)),'baseRev':_0x296cf5[_0x2d64f7(0x16a)](_0x749a44),'revision':0x0,'userID':_0x5972a5,'memberID':_0x8bafc3,'mutations':_0x2e3293},'pendingMutations':_0xc44402['slice'](_0x2e3293[_0x2d64f7(0x291)])};}function Bs(_0x3795cd,_0x4d1d54,_0x2a03ce,_0xcf87e7,_0x363176){var _0x1ba01d=_0x57ebea,_0x3c3b1d,_0x4ca21c,_0x5d4377,_0x2ca734;const _0x2426ef=[_0x3795cd[_0x1ba01d(0x365)]((_0x42d038,_0x3920c6)=>{var _0x6b44d=_0x1ba01d,_0x3bb913;const {id:_0x1f9702}=_0x42d038,{id:_0x2af72b,type:_0x393d80}=_0x3920c6,_0x20d31d=(_0x3bb913=_0x42d038[_0x6b44d(0x437)])!=null?_0x3bb913:{'actions':null},_0x331195=_0x3920c6[_0x6b44d(0x437)];if(_0x1f9702&&_0x1f9702!==_0x2af72b)throw new Error(_0x6b44d(0x161)+_0x1f9702+_0x6b44d(0x21e)+_0x2af72b+'.');return{..._0x42d038,'id':_0x2af72b,'type':_0x393d80,'params':{'unitId':_0x331195['unitId'],'textRanges':_0x331195['textRanges'],'actions':_0x1ae2a2[_0x6b44d(0x147)](_0x20d31d[_0x6b44d(0x1d0)],_0x331195[_0x6b44d(0x1d0)])}};},{})],_0x29e991=(_0x4ca21c=(_0x3c3b1d=_0x363176[_0x1ba01d(0x297)]())==null?void 0x0:_0x3c3b1d[_0x1ba01d(0x2a6)])!=null?_0x4ca21c:'unknown',_0x492820=(_0x2ca734=(_0x5d4377=_0x363176[_0x1ba01d(0x297)]())==null?void 0x0:_0x5d4377[_0x1ba01d(0x329)])!=null?_0x2ca734:_0x1ba01d(0x3b3);return{'changeset':{'unitID':_0x4d1d54,'type':_0x2ce901(_0x2a03ce[_0x1ba01d(0x2cf)](_0x4d1d54)),'baseRev':_0xcf87e7[_0x1ba01d(0x16a)](_0x4d1d54),'revision':0x0,'userID':_0x29e991,'memberID':_0x492820,'mutations':_0x2426ef},'pendingMutations':[]};}function Ii(_0x1c065b,_0x646914){var _0x408764=_0x57ebea;const _0x4e60b5=new _0x652f3(0x1);return setTimeout(()=>_0x4e60b5['next'](_0x646914),_0x1c065b),_0x4e60b5[_0x408764(0x2c5)]()[_0x408764(0x165)](_0x5cf086(0x1));}var Fs=Object[_0x57ebea(0x1a9)],Se=(_0x4406a4,_0x3e5c37,_0x5b5655,_0x3be926)=>{var _0x32699d=_0x57ebea;for(var _0x54b77a=_0x3be926>0x1?void 0x0:_0x3be926?Fs(_0x3e5c37,_0x5b5655):_0x3e5c37,_0x256b3=_0x4406a4[_0x32699d(0x291)]-0x1,_0x1b53d4;_0x256b3>=0x0;_0x256b3--)(_0x1b53d4=_0x4406a4[_0x256b3])&&(_0x54b77a=_0x1b53d4(_0x54b77a)||_0x54b77a);return _0x54b77a;},w=(_0x1e2f1b,_0x1a28f2)=>(_0xc34abd,_0x260dba)=>_0x1a28f2(_0xc34abd,_0x260dba,_0x1e2f1b),Si=(_0xfeb109=>(_0xfeb109['NOT_COLLAB']='not_collab',_0xfeb109['SYNCED']=_0x57ebea(0x3c1),_0xfeb109[_0x57ebea(0x170)]='pending',_0xfeb109[_0x57ebea(0x18e)]=_0x57ebea(0x371),_0xfeb109[_0x57ebea(0x3c8)]=_0x57ebea(0x27f),_0xfeb109[_0x57ebea(0x19f)]='fetch_missing',_0xfeb109[_0x57ebea(0x39e)]='conflict',_0xfeb109[_0x57ebea(0x230)]=_0x57ebea(0x244),_0xfeb109))(Si||{});const gi=0x4e20,Ti=0x2bf20;class ge{constructor(_0x552f3c,_0xca3459,_0x1f9f7d,_0x5c9a5c,_0x291b65,_0x30c17d,_0x270bb0,_0x2eb0d5,_0x17de40){var _0x27e4d6=_0x57ebea;D(this,_0x27e4d6(0x277),null),D(this,_0x27e4d6(0x1dd),[]),(this[_0x27e4d6(0x1fb)]=_0x552f3c,this['type']=_0xca3459,this[_0x27e4d6(0x1bc)]=_0x291b65,this['_commandService']=_0x30c17d,this[_0x27e4d6(0x193)]=_0x270bb0,this[_0x27e4d6(0x428)]=_0x2eb0d5,this[_0x27e4d6(0x2d6)]=_0x17de40,this[_0x27e4d6(0x277)]=_0x1f9f7d,this[_0x27e4d6(0x1dd)]=_0x5c9a5c);}[_0x57ebea(0x207)](_0x830482){var _0x9cf156=_0x57ebea;const _0x1edefd=this[_0x9cf156(0x428)][_0x9cf156(0x16a)](this[_0x9cf156(0x1fb)]);return _0x830482['revision']>_0x1edefd+0x1?(this['_handler'][_0x9cf156(0x1e8)]({'from':_0x1edefd,'to':_0x830482[_0x9cf156(0x239)]-0x1}),!0x0):!0x1;}[_0x57ebea(0x24f)](_0x285276){var _0x5a139b=_0x57ebea;this[_0x5a139b(0x193)][_0x5a139b(0x346)](this['unitID'],_0x285276);}[_0x57ebea(0x37a)](_0x264e04){var _0x3fd0fc=_0x57ebea,_0x9b75f,_0x500b14;(_0x500b14=(_0x9b75f=this['_handler'])[_0x3fd0fc(0x3c6)])==null||_0x500b14[_0x3fd0fc(0x2b6)](_0x9b75f,_0x264e04);}[_0x57ebea(0x1ad)](_0x2b5cdc){var _0x41789b=_0x57ebea,_0x378b83,_0x4582bf;return(_0x4582bf=(_0x378b83=this[_0x41789b(0x1bc)])[_0x41789b(0x34c)])==null?void 0x0:_0x4582bf[_0x41789b(0x2b6)](_0x378b83,_0x2b5cdc);}[_0x57ebea(0x340)](_0x2c149a){var _0x3fac23=_0x57ebea,_0x4cc71e,_0x7b0104;return(_0x7b0104=(_0x4cc71e=this[_0x3fac23(0x1bc)])['onTransformState'])==null?void 0x0:_0x7b0104['call'](_0x4cc71e,_0x2c149a);}[_0x57ebea(0x300)](_0x597f13){var _0x545896=_0x57ebea,_0x67692d,_0x361fb2,_0x319dfd;return(_0x319dfd=(_0x361fb2=(_0x67692d=this[_0x545896(0x1bc)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x361fb2['call'](_0x67692d,_0x597f13))!=null?_0x319dfd:_0x597f13;}[_0x57ebea(0x396)](_0x28f1ed){var _0x45ff2b=_0x57ebea,_0x420238,_0x524813,_0x46a7a5;return(_0x46a7a5=(_0x524813=(_0x420238=this[_0x45ff2b(0x1bc)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x524813[_0x45ff2b(0x2b6)](_0x420238,_0x28f1ed))!=null?_0x46a7a5:_0x28f1ed;}['_syncEditingCollabCursor'](_0x2cbd4c){var _0x594519=_0x57ebea,_0x3241d6,_0x4e6a9b;if(this[_0x594519(0x286)]===Q[_0x594519(0x234)]){const {unitID:_0x2c0360,mutations:_0x3d5c8f,memberID:_0x4e5578}=_0x2cbd4c,_0x465c2e=_0x3d5c8f[_0x594519(0x291)]>0x0?_0x3d5c8f[0x0]['params'][_0x594519(0x293)]:[];Array[_0x594519(0x1c1)](_0x465c2e)&&_0x465c2e[_0x594519(0x291)]>0x0&&((_0x4e6a9b=(_0x3241d6=this['_handler'])[_0x594519(0x3d9)])==null||_0x4e6a9b[_0x594519(0x2b6)](_0x3241d6,{'unitID':_0x2c0360,'memberID':_0x4e5578,'textRanges':_0x465c2e}));}}['_updateLocalCache'](){var _0x16b262=_0x57ebea,_0x42c89e;(_0x42c89e=this['_localCacheService'])==null||_0x42c89e[_0x16b262(0x2c9)](this['unitID'],this[_0x16b262(0x286)],this[_0x16b262(0x277)],this[_0x16b262(0x1dd)]);}[_0x57ebea(0x1c2)](){var _0x46a8c1=_0x57ebea;return this[_0x46a8c1(0x428)][_0x46a8c1(0x16a)](this[_0x46a8c1(0x1fb)]);}['_incrementRevisionNumber'](){var _0x4745d9=_0x57ebea;this[_0x4745d9(0x428)]['incrementRevOfUnit'](this['unitID']);}[_0x57ebea(0x278)](_0x4ffb47){var _0x2a8e7c=_0x57ebea,_0x5329d7;let _0x5d0b2e=this[_0x2a8e7c(0x300)](_0x4ffb47);_0x5d0b2e=this[_0x2a8e7c(0x396)](_0x5d0b2e);const _0x48284c=_0x4f8491(_0x5d0b2e['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x48284c[_0x2a8e7c(0x3ac)])throw _0x48284c[_0x2a8e7c(0x379)]instanceof Error?_0x48284c[_0x2a8e7c(0x379)]:new Error((_0x5329d7=_0x48284c['error'])!=null?_0x5329d7:'[CollaborationState]:\x20apply\x20error!');this[_0x2a8e7c(0x1ad)](_0x5d0b2e),this[_0x2a8e7c(0x340)](_0x5d0b2e),this[_0x2a8e7c(0x24f)](_0x4ffb47),this[_0x2a8e7c(0x37a)](_0x5d0b2e),this['_syncEditingCollabCursor'](_0x5d0b2e),this[_0x2a8e7c(0x232)]();}}let be=class extends ge{constructor(_0x580b09,_0x445034,_0x5db96d,_0x3b3ea0,_0x983f52,_0x1bf3ef,_0x58ec67,_0x582abb,_0x6e1523,_0x3131e3){var _0x5c1c3a=_0x57ebea;super(_0x580b09,_0x445034,null,[],_0x5db96d,_0x58ec67,_0x1bf3ef,_0x3b3ea0,_0x3131e3),D(this,'status',_0x5c1c3a(0x3c1)),(this[_0x5c1c3a(0x30c)]=_0x983f52,this[_0x5c1c3a(0x3cc)]=_0x582abb,this['_transformService']=_0x6e1523,this[_0x5c1c3a(0x1ed)]=_0x3131e3);}['appendMutation'](_0x619201){var _0x4e0874=_0x57ebea;const _0x3999f5=this[_0x4e0874(0x30c)][_0x4e0874(0x220)](ae,this[_0x4e0874(0x1fb)],this['type'],[_0x619201],this[_0x4e0874(0x1bc)]);return _0x3999f5[_0x4e0874(0x381)](),_0x3999f5[_0x4e0874(0x3a5)](),_0x3999f5;}['onRemoteChangeset'](_0x29c77b){var _0x55c3ac=_0x57ebea;if(this[_0x55c3ac(0x207)](_0x29c77b))return this[_0x55c3ac(0x30c)]['createInstance'](ee,this[_0x55c3ac(0x1fb)],this['type'],null,[],null,[_0x29c77b],this[_0x55c3ac(0x1bc)]);try{const _0x1bfdd2=this[_0x55c3ac(0x13b)][_0x55c3ac(0x342)](_0x29c77b,[_0xe9608b]);if(_0x506829(_0x1bfdd2)){const {c1Prime:_0x20eeec}=_0x1bfdd2;return this[_0x55c3ac(0x278)](_0x20eeec),this;}throw _0x1bfdd2[_0x55c3ac(0x379)];}catch(_0x220414){return this[_0x55c3ac(0x3cc)][_0x55c3ac(0x379)](_0x220414),this['_onConflict'](!0x1);}}[_0x57ebea(0x279)](_0x576c7e){var _0x27bda2=_0x57ebea;return this[_0x27bda2(0x30c)][_0x27bda2(0x220)](ue,this[_0x27bda2(0x1fb)],this[_0x27bda2(0x286)],null,[],this[_0x27bda2(0x1bc)],_0x576c7e);}[_0x57ebea(0x146)](){var _0x58ae4a=_0x57ebea;throw new Error(_0x58ae4a(0x266));}[_0x57ebea(0x2af)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x901e01=_0x57ebea;return this['_injector'][_0x901e01(0x220)](de,this['unitID'],this[_0x901e01(0x286)],null,[],this[_0x901e01(0x1bc)]);}[_0x57ebea(0x252)](){return this;}[_0x57ebea(0x3b0)](){var _0x148515=_0x57ebea;throw new Error(_0x148515(0x1b2));}['fetchMiss'](){var _0x2c235a=_0x57ebea;const _0x3b15f7=this['_revisionService'][_0x2c235a(0x16a)](this[_0x2c235a(0x1fb)]);return this[_0x2c235a(0x1bc)][_0x2c235a(0x1e8)]({'from':_0x3b15f7,'to':0x0}),this[_0x2c235a(0x30c)][_0x2c235a(0x220)](ee,this[_0x2c235a(0x1fb)],this[_0x2c235a(0x286)],null,[],null,[],this[_0x2c235a(0x1bc)]);}};be=Se([w(0x3,_0xd9eea8(_0x1a89bb)),w(0x4,_0xd9eea8(_0xa5b871)),w(0x5,_0x3d9a42),w(0x6,_0x146b0f),w(0x7,_0x395070),w(0x8,_0x411c6c),w(0x9,_0x4761ab(X))],be);let ae=class extends ge{constructor(_0x1dc27e,_0x28f6c2,_0x2ccd4f,_0x5916ac,_0x51be79,_0x568525,_0x535681,_0x4c1ef3,_0x498996,_0x2b9fb1,_0x2c0bc4,_0x330367,_0x4a1601,_0x40f894){var _0x583edb=_0x57ebea;super(_0x1dc27e,_0x28f6c2,null,_0x2ccd4f,_0x5916ac,_0x498996,_0x4a1601,_0x568525,_0x40f894),D(this,'status',_0x583edb(0x2a1)),D(this,_0x583edb(0x28b),null),D(this,'_sendingTimer',null),(this[_0x583edb(0x30c)]=_0x51be79,this[_0x583edb(0x2e6)]=_0x535681,this[_0x583edb(0x3cc)]=_0x4c1ef3,this[_0x583edb(0x25c)]=_0x2b9fb1,this[_0x583edb(0x13b)]=_0x2c0bc4,this['_univerInstanceService']=_0x330367);}[_0x57ebea(0x2cc)](_0x24c1af){var _0x31c91c=_0x57ebea;return this['_pendingMutations'][_0x31c91c(0x37e)](_0x24c1af),this['_updateLocalCache'](),this;}[_0x57ebea(0x410)](_0x24cbd3){var _0x5aa1e7=_0x57ebea;if(this['_checkMissing'](_0x24cbd3))return this[_0x5aa1e7(0x435)](),this['_injector']['createInstance'](ee,this[_0x5aa1e7(0x1fb)],this[_0x5aa1e7(0x286)],null,this[_0x5aa1e7(0x1dd)],null,[_0x24cbd3],this[_0x5aa1e7(0x1bc)]);try{const _0x176327=this['_transformService'][_0x5aa1e7(0x342)](_0x24cbd3,this['_pendingMutations']);if(_0x506829(_0x176327)){const {c1Prime:_0x5431ee,m2Prime:_0x330c02}=_0x176327;this['_executeRemoteChangeset'](_0x5431ee);const _0x3e52dd=this[_0x5aa1e7(0x30c)]['createInstance'](ae,this[_0x5aa1e7(0x1fb)],this[_0x5aa1e7(0x286)],_0x330c02,this[_0x5aa1e7(0x1bc)]);this[_0x5aa1e7(0x435)]();const _0x2ac3d9=new Date()[_0x5aa1e7(0x21b)](),_0x4ed7f1=this[_0x5aa1e7(0x28b)]?Math[_0x5aa1e7(0x2cb)](this['_scheduleCompleteTimestamp']-_0x2ac3d9,0x0):this[_0x5aa1e7(0x3c0)]();return _0x3e52dd[_0x5aa1e7(0x381)](_0x4ed7f1),_0x3e52dd;}throw _0x176327['error'];}catch(_0x42161a){return this[_0x5aa1e7(0x3cc)][_0x5aa1e7(0x379)](_0x42161a),this[_0x5aa1e7(0x279)](!0x1);}}[_0x57ebea(0x146)](){var _0x22843a=_0x57ebea;throw new Error(_0x22843a(0x41a));}[_0x57ebea(0x2af)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x57ebea(0x423)](){return this;}[_0x57ebea(0x33f)](){var _0x139f32=_0x57ebea;return this[_0x139f32(0x435)](),this[_0x139f32(0x30c)]['createInstance'](de,this['unitID'],this['type'],null,this[_0x139f32(0x1dd)],this[_0x139f32(0x1bc)]);}['toggleOnline'](){return this;}['_schedule'](_0x19cae3){var _0x725c41=_0x57ebea;const _0x257b2e=_0x19cae3!=null?_0x19cae3:this[_0x725c41(0x3c0)]();this[_0x725c41(0x28b)]=new Date()[_0x725c41(0x21b)]()+_0x257b2e,this['_sendingTimer']=setTimeout(()=>{var _0x277703=_0x725c41;this[_0x277703(0x435)]();let _0xa02832=null;switch(this['type']){case Q[_0x277703(0x382)]:{_0xa02832=Vt(this[_0x277703(0x1dd)],this[_0x277703(0x1fb)],this[_0x277703(0x26b)],this[_0x277703(0x428)],this[_0x277703(0x2e6)]);break;}case Q[_0x277703(0x234)]:{this['_pendingMutations'][_0x277703(0x284)](_0x4be861=>_0x4be861['id']===_0x3de14f['id'])?_0xa02832=Bs(this[_0x277703(0x1dd)],this[_0x277703(0x1fb)],this[_0x277703(0x26b)],this[_0x277703(0x428)],this['_memberService']):_0xa02832=Vt(this['_pendingMutations'],this['unitID'],this[_0x277703(0x26b)],this['_revisionService'],this[_0x277703(0x2e6)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x277703(0x286)]+_0x277703(0x185));}const {changeset:_0x494ec6,pendingMutations:_0x4952fb}=_0xa02832;this[_0x277703(0x1bc)][_0x277703(0x187)](_0x494ec6);const _0x45d8a4=_0x4952fb[_0x277703(0x291)]?this[_0x277703(0x30c)][_0x277703(0x220)](oe,this[_0x277703(0x1fb)],this[_0x277703(0x286)],_0x494ec6,_0x4952fb,this[_0x277703(0x1bc)],void 0x0):this[_0x277703(0x30c)]['createInstance'](le,this[_0x277703(0x1fb)],this[_0x277703(0x286)],_0x494ec6,this[_0x277703(0x1bc)]);_0x45d8a4[_0x277703(0x3a5)](),this['_handler'][_0x277703(0x3d4)](this,_0x45d8a4);},_0x257b2e);}[_0x57ebea(0x3c0)](){var _0x33a29e=_0x57ebea,_0x5e80bb;const _0x40de43=this[_0x33a29e(0x25c)][_0x33a29e(0x1f4)](K);return(_0x5e80bb=_0x40de43==null?void 0x0:_0x40de43['sendChangesetTimeout'])!=null?_0x5e80bb:ms;}[_0x57ebea(0x3b0)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x57ebea(0x435)](){var _0x32eef3=_0x57ebea;this[_0x32eef3(0x35d)]!=null&&(clearTimeout(this[_0x32eef3(0x35d)]),this['_sendingTimer']=null);}[_0x57ebea(0x279)](_0x15e037){var _0x30b1ca=_0x57ebea;return this[_0x30b1ca(0x435)](),this[_0x30b1ca(0x30c)][_0x30b1ca(0x220)](ue,this['unitID'],this['type'],null,this[_0x30b1ca(0x1dd)],this['_handler'],_0x15e037);}};ae=Se([w(0x4,_0xd9eea8(_0xa5b871)),w(0x5,_0xd9eea8(_0x1a89bb)),w(0x6,_0xd9eea8(Pe)),w(0x7,_0x395070),w(0x8,_0x146b0f),w(0x9,_0x218bfc),w(0xa,_0x411c6c),w(0xb,_0xde0007),w(0xc,_0x3d9a42),w(0xd,_0x4761ab(X))],ae);function _0x5a33(_0x25f6a8,_0x4a7bc9){_0x25f6a8=_0x25f6a8-0x138;var _0x32571d=_0x3257();var _0x5a337d=_0x32571d[_0x25f6a8];return _0x5a337d;}let le=class extends ge{constructor(_0x3ce5a2,_0xdba675,_0x390c93,_0x17f7ab,_0x32fa1a,_0x155fb1,_0x165e19,_0x4aa4b4,_0x4ab8ea,_0x38dee2,_0x4dd23e){var _0x2cf999=_0x57ebea;super(_0x3ce5a2,_0xdba675,_0x390c93,[],_0x17f7ab,_0x165e19,_0x38dee2,_0x155fb1,_0x4dd23e),D(this,'status',_0x2cf999(0x371)),D(this,_0x2cf999(0x2f0),0x0),D(this,_0x2cf999(0x3aa),0x0),D(this,_0x2cf999(0x405)),D(this,_0x2cf999(0x355)),(this[_0x2cf999(0x30c)]=_0x32fa1a,this['_logService']=_0x4aa4b4,this[_0x2cf999(0x13b)]=_0x4ab8ea);}[_0x57ebea(0x2cc)](_0x2e0999){var _0x4edfce=_0x57ebea;this[_0x4edfce(0x435)]();const _0x4619c2=this[_0x4edfce(0x30c)]['createInstance'](oe,this[_0x4edfce(0x1fb)],this[_0x4edfce(0x286)],this['_awaitingChangeset'],[_0x2e0999],this[_0x4edfce(0x1bc)],this[_0x4edfce(0x405)]);return _0x4619c2['_updateLocalCache'](),_0x4619c2;}[_0x57ebea(0x410)](_0x3becb5){var _0x41f8ef=_0x57ebea;if(this[_0x41f8ef(0x207)](_0x3becb5))return this[_0x41f8ef(0x435)](),this['_injector'][_0x41f8ef(0x220)](ee,this[_0x41f8ef(0x1fb)],this['type'],this[_0x41f8ef(0x277)],[],null,[_0x3becb5],this[_0x41f8ef(0x1bc)]);try{const _0x53441d=this[_0x41f8ef(0x13b)][_0x41f8ef(0x182)]([_0x3becb5],[this[_0x41f8ef(0x277)]],!0x1);if(_0x24a204(_0x53441d)){const {c1Prime:_0x54c5fb,c2Prime:_0x386da5}=_0x53441d;this[_0x41f8ef(0x278)](_0x54c5fb[0x0]),_0x386da5[0x0][_0x41f8ef(0x2ce)]=this[_0x41f8ef(0x1c2)](),this['_clearScheduledTask']();const _0x440f9a=this[_0x41f8ef(0x30c)][_0x41f8ef(0x220)](le,this[_0x41f8ef(0x1fb)],this[_0x41f8ef(0x286)],_0x386da5[0x0],this[_0x41f8ef(0x1bc)]);return _0x440f9a['_updateLocalCache'](),_0x440f9a;}return this[_0x41f8ef(0x279)](!0x1);}catch(_0x9e56f5){return this['_logService']['error'](_0x9e56f5),this[_0x41f8ef(0x279)](!0x1);}}['onRemoteAck'](_0x1ecd50){var _0xc20dff=_0x57ebea;this[_0xc20dff(0x435)]();const _0x4cef9e=this[_0xc20dff(0x428)][_0xc20dff(0x16a)](this[_0xc20dff(0x1fb)]);if(_0x1ecd50[_0xc20dff(0x239)]<_0x4cef9e-0x1)return this;if(this[_0xc20dff(0x207)](_0x1ecd50))return this['_injector'][_0xc20dff(0x220)](ee,this[_0xc20dff(0x1fb)],this['type'],null,[],this[_0xc20dff(0x277)],[],this[_0xc20dff(0x1bc)]);this[_0xc20dff(0x232)]();const _0x46cd89=this[_0xc20dff(0x30c)][_0xc20dff(0x220)](be,this[_0xc20dff(0x1fb)],this[_0xc20dff(0x286)],this[_0xc20dff(0x1bc)]);return _0x46cd89['_updateLocalCache'](),_0x46cd89;}[_0x57ebea(0x2af)](_0x178124){var _0xd3dc4=_0x57ebea;return this[_0xd3dc4(0x279)](!!(_0x178124!=null&&_0x178124['isPermissionRej']));}[_0x57ebea(0x423)](_0x5bcdfa){var _0x5d88fc=_0x57ebea;return this[_0x5d88fc(0x3aa)]>Ti?this['toggleOffline']():(this['_resendTimer']=Ii(this[_0x5d88fc(0x2f0)],{'timeout':this[_0x5d88fc(0x2f0)],'reqId':_0x5bcdfa[_0x5d88fc(0x2bf)]}),this['_sender']=this['_resendTimer'][_0x5d88fc(0x3dc)](({reqId:_0x5bec44,timeout:_0x49701f})=>{var _0x42ab2c=_0x5d88fc;this[_0x42ab2c(0x166)](_0x5bec44,_0x49701f);}),this);}['toggleOffline'](){var _0xb3bce2=_0x57ebea;return this[_0xb3bce2(0x435)](),this[_0xb3bce2(0x30c)]['createInstance'](de,this[_0xb3bce2(0x1fb)],this[_0xb3bce2(0x286)],this[_0xb3bce2(0x277)],[],this[_0xb3bce2(0x1bc)]);}['toggleOnline'](){return this;}[_0x57ebea(0x3b0)](){var _0x1c61f4=_0x57ebea;this['_handler'][_0x1c61f4(0x187)](this['_awaitingChangeset']);}[_0x57ebea(0x279)](_0x1bd46c){var _0x158810=_0x57ebea;return this[_0x158810(0x435)](),this[_0x158810(0x30c)][_0x158810(0x220)](ue,this[_0x158810(0x1fb)],this[_0x158810(0x286)],this[_0x158810(0x277)],[],this[_0x158810(0x1bc)],_0x1bd46c);}[_0x57ebea(0x166)](_0x3bad53,_0xa16807){var _0x570047=_0x57ebea,_0x18858c;_0x3bad53===((_0x18858c=this[_0x570047(0x277)])==null?void 0x0:_0x18858c[_0x570047(0x2bf)])&&(this[_0x570047(0x3b0)](),this[_0x570047(0x2f0)]=_0xa16807===0x0?0x3e8:Math[_0x570047(0x3ef)](_0xa16807*0x2,gi),this[_0x570047(0x3aa)]+=this[_0x570047(0x2f0)]);}[_0x57ebea(0x435)](){var _0x4a9dbc=_0x57ebea,_0x173bc4;(_0x173bc4=this['_sender'])==null||_0x173bc4['unsubscribe'](),this['_resendTimeout']=0x0,this[_0x4a9dbc(0x3aa)]=0x0;}};le=Se([w(0x4,_0xd9eea8(_0xa5b871)),w(0x5,_0xd9eea8(_0x1a89bb)),w(0x6,_0x146b0f),w(0x7,_0x395070),w(0x8,_0x411c6c),w(0x9,_0x3d9a42),w(0xa,_0x4761ab(X))],le);let oe=class extends ge{constructor(_0x59ca47,_0x5a658f,_0x188d7f,_0x72335,_0x434cbb,_0x5b6164,_0x16b071,_0x191422,_0x2888d5,_0x5e9c10,_0x1937a9,_0x10bf6b,_0xbc5fb){var _0x813a6e=_0x57ebea;super(_0x59ca47,_0x5a658f,_0x188d7f,_0x72335,_0x434cbb,_0x2888d5,_0x10bf6b,_0x191422,_0xbc5fb),D(this,_0x813a6e(0x2be),'awaiting_with_pending'),D(this,_0x813a6e(0x2f0),0x0),D(this,_0x813a6e(0x3aa),0x0),D(this,_0x813a6e(0x405)),D(this,_0x813a6e(0x355)),(this[_0x813a6e(0x30c)]=_0x16b071,this[_0x813a6e(0x3cc)]=_0x5e9c10,this['_transformService']=_0x1937a9,this['localCacheService']=_0xbc5fb,_0x5b6164&&(this['_resendTimer']=_0x5b6164,this['_sender']=this[_0x813a6e(0x405)][_0x813a6e(0x3dc)](({reqId:_0x32a47d,timeout:_0x134ec4})=>{var _0x6fa1eb=_0x813a6e;this[_0x6fa1eb(0x166)](_0x32a47d,_0x134ec4);})));}['appendMutation'](_0x1536bd){var _0x354b56=_0x57ebea;return this[_0x354b56(0x1dd)][_0x354b56(0x37e)](_0x1536bd),this;}[_0x57ebea(0x410)](_0xfa621b){var _0x490811=_0x57ebea;if(this[_0x490811(0x207)](_0xfa621b))return this[_0x490811(0x435)](),this[_0x490811(0x30c)][_0x490811(0x220)](ee,this[_0x490811(0x1fb)],this[_0x490811(0x286)],this[_0x490811(0x277)],this[_0x490811(0x1dd)],null,[_0xfa621b],this['_handler']);try{const _0x2e1784=this['_transformService']['transformChangesets']([_0xfa621b],[this[_0x490811(0x277)]],!0x1);if(_0x24a204(_0x2e1784)){const {c1Prime:_0x5254a0,c2Prime:_0xa37daa}=_0x2e1784,_0x3d4ef5=this[_0x490811(0x13b)][_0x490811(0x342)](_0x5254a0[0x0],this[_0x490811(0x1dd)]);if(_0x506829(_0x3d4ef5)){const {c1Prime:_0x1d2529,m2Prime:_0x586bb7}=_0x3d4ef5;return this[_0x490811(0x278)](_0x1d2529),_0xa37daa[0x0][_0x490811(0x2ce)]=this[_0x490811(0x1c2)](),this[_0x490811(0x435)](),this[_0x490811(0x30c)][_0x490811(0x220)](oe,this['unitID'],this['type'],_0xa37daa[0x0],_0x586bb7,this[_0x490811(0x1bc)],void 0x0);}throw _0x3d4ef5[_0x490811(0x379)];}throw _0x2e1784[_0x490811(0x379)];}catch(_0x2394d9){return this[_0x490811(0x3cc)][_0x490811(0x379)](_0x2394d9),this[_0x490811(0x279)](!0x1);}}[_0x57ebea(0x146)](_0x1a6105){var _0x2d4bee=_0x57ebea;if(this[_0x2d4bee(0x435)](),this[_0x2d4bee(0x207)](_0x1a6105))return this[_0x2d4bee(0x30c)][_0x2d4bee(0x220)](ee,this[_0x2d4bee(0x1fb)],this['type'],null,this[_0x2d4bee(0x1dd)],this['_awaitingChangeset'],[],this[_0x2d4bee(0x1bc)]);this[_0x2d4bee(0x232)]();const _0xa173b6=this['_injector']['createInstance'](ae,this[_0x2d4bee(0x1fb)],this[_0x2d4bee(0x286)],this[_0x2d4bee(0x1dd)],this[_0x2d4bee(0x1bc)]);return _0xa173b6['_schedule'](),_0xa173b6[_0x2d4bee(0x3a5)](),_0xa173b6;}['onRemoteRej'](_0x1cc484){var _0x622cbc=_0x57ebea;return this[_0x622cbc(0x279)](!!(_0x1cc484!=null&&_0x1cc484[_0x622cbc(0x35a)]));}[_0x57ebea(0x423)](_0x4e8c1a){var _0x4d902c=_0x57ebea;return this[_0x4d902c(0x3aa)]>Ti?this[_0x4d902c(0x33f)]():(this['_resendTimer']=Ii(this[_0x4d902c(0x2f0)],{'timeout':this[_0x4d902c(0x2f0)],'reqId':_0x4e8c1a[_0x4d902c(0x2bf)]}),this[_0x4d902c(0x355)]=this[_0x4d902c(0x405)][_0x4d902c(0x3dc)](({reqId:_0x4a8f9b,timeout:_0x59c3b4})=>{this['_resendWithTimeout'](_0x4a8f9b,_0x59c3b4);}),this);}[_0x57ebea(0x33f)](){var _0x5e152e=_0x57ebea;return this[_0x5e152e(0x435)](),this['_injector'][_0x5e152e(0x220)](de,this[_0x5e152e(0x1fb)],this[_0x5e152e(0x286)],this[_0x5e152e(0x277)],this[_0x5e152e(0x1dd)],this['_handler']);}[_0x57ebea(0x252)](){return this;}['resend'](){var _0x12e5c=_0x57ebea;this[_0x12e5c(0x1bc)]['onSendChangeset'](this[_0x12e5c(0x277)]);}[_0x57ebea(0x279)](_0x4d7e0e){var _0x3cd8e5=_0x57ebea;return this['_clearScheduledTask'](),this[_0x3cd8e5(0x30c)][_0x3cd8e5(0x220)](ue,this[_0x3cd8e5(0x1fb)],this[_0x3cd8e5(0x286)],null,this['_pendingMutations'],this[_0x3cd8e5(0x1bc)],_0x4d7e0e);}[_0x57ebea(0x166)](_0x278b6b,_0x2b8e55){var _0xc72d6f=_0x57ebea,_0x1ac5a6;_0x278b6b===((_0x1ac5a6=this['_awaitingChangeset'])==null?void 0x0:_0x1ac5a6[_0xc72d6f(0x2bf)])&&(this[_0xc72d6f(0x3b0)](),this['_resendTimeout']=_0x2b8e55===0x0?0x3e8:Math[_0xc72d6f(0x3ef)](_0x2b8e55*0x2,gi),this[_0xc72d6f(0x3aa)]+=this[_0xc72d6f(0x2f0)]);}['_clearScheduledTask'](){var _0x254ddf=_0x57ebea,_0x498ae4;(_0x498ae4=this['_sender'])==null||_0x498ae4[_0x254ddf(0x171)](),this[_0x254ddf(0x2f0)]=0x0,this[_0x254ddf(0x3aa)]=0x0;}};oe=Se([w(0x6,_0xd9eea8(_0xa5b871)),w(0x7,_0xd9eea8(_0x1a89bb)),w(0x8,_0x146b0f),w(0x9,_0x395070),w(0xa,_0x411c6c),w(0xb,_0x3d9a42),w(0xc,_0x4761ab(X))],oe);let ue=class extends ge{constructor(_0x26f307,_0x2e847c,_0x5f38c7,_0x1236de,_0x4b791c,_0x2636ee=!0x1,_0x3b9112,_0x5cf177,_0x56ae40,_0xca9b73,_0x1f55fd,_0x10595c,_0x221058){var _0x1c8d4b=_0x57ebea;super(_0x26f307,_0x2e847c,_0x5f38c7,_0x1236de,_0x4b791c,_0x5cf177,_0x56ae40,_0xca9b73,_0x221058),D(this,'status',_0x1c8d4b(0x20e)),(this[_0x1c8d4b(0x3ab)]=_0x2636ee,this[_0x1c8d4b(0x446)]=_0x3b9112,this[_0x1c8d4b(0x145)]=_0x1f55fd,this[_0x1c8d4b(0x150)]=_0x10595c,this[_0x1c8d4b(0x1ed)]=_0x221058,this[_0x1c8d4b(0x314)](),this[_0x1c8d4b(0x271)](),this[_0x1c8d4b(0x452)]());}[_0x57ebea(0x2cc)](){return this;}[_0x57ebea(0x410)](){return this;}[_0x57ebea(0x146)](){return this;}[_0x57ebea(0x2af)](){return this;}[_0x57ebea(0x423)](){return this;}['toggleOffline'](){return this;}[_0x57ebea(0x252)](){return this;}[_0x57ebea(0x3b0)](){var _0xca6909=_0x57ebea;throw new Error(_0xca6909(0x2c8));}['_clearLocalCache'](){var _0x3ac65a=_0x57ebea,_0x16549b;(_0x16549b=this[_0x3ac65a(0x2d6)])==null||_0x16549b['updateOfflineData'](this['unitID'],this[_0x3ac65a(0x286)],null,[]);}[_0x57ebea(0x314)](){var _0x335344=_0x57ebea;this[_0x335344(0x3ab)]?this[_0x335344(0x150)]['emitEvent']({'id':re['PERMISSION_DENIED']}):this[_0x335344(0x150)][_0x335344(0x37b)]({'id':re[_0x335344(0x39e)]});}[_0x57ebea(0x452)](){var _0xf4e194=_0x57ebea;this[_0xf4e194(0x446)]['updatePermissionPoint'](new _0x108f1a(this['unitID'])['id'],!0x1);}};ue=Se([w(0x6,_0xd9eea8(_0x54b0d9)),w(0x7,_0x146b0f),w(0x8,_0x3d9a42),w(0x9,_0xd9eea8(_0x1a89bb)),w(0xa,_0xd9eea8(_0x28b880)),w(0xb,_0xd9eea8(ve)),w(0xc,_0x4761ab(X))],ue);let de=class extends ge{constructor(_0x26bac7,_0x689256,_0x38979a,_0x161393,_0x4211aa,_0xd74c12,_0x51efec,_0x8e4976,_0x3452bd,_0x2e3379){var _0x2c260a=_0x57ebea;super(_0x26bac7,_0x689256,_0x38979a,_0x161393,_0x4211aa,_0x8e4976,_0x3452bd,_0x51efec,_0x2e3379),D(this,_0x2c260a(0x2be),_0x2c260a(0x244)),this[_0x2c260a(0x30c)]=_0xd74c12;}[_0x57ebea(0x2cc)](_0x4ddc54){var _0x2c505c=_0x57ebea;return this[_0x2c505c(0x1dd)][_0x2c505c(0x37e)](_0x4ddc54),this[_0x2c505c(0x3a5)](),this;}[_0x57ebea(0x410)](_0x2e3098){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x57ebea(0x146)](){var _0x5c1754=_0x57ebea;throw new Error(_0x5c1754(0x3e8));}['onRemoteRej'](){var _0x374e4d=_0x57ebea;throw new Error(_0x374e4d(0x20d));}[_0x57ebea(0x423)](){return this;}[_0x57ebea(0x33f)](){return this;}['toggleOnline'](){var _0x1f5b30=_0x57ebea;const {_injector:_0xc0d9d1,_pendingMutations:_0x44c4b7,_awaitingChangeset:_0x43951b,unitID:_0x5d0236,_handler:_0x4f1d8c,type:_0x243e5a}=this,_0x5dd65d=Oi(_0xc0d9d1,_0x5d0236,_0x243e5a,_0x43951b,_0x44c4b7,_0x4f1d8c);return _0x5dd65d instanceof ae?_0x5dd65d[_0x1f5b30(0x381)]():(_0x5dd65d instanceof oe||_0x5dd65d instanceof le)&&_0x5dd65d[_0x1f5b30(0x3b0)](),_0x5dd65d;}[_0x57ebea(0x3b0)](){var _0x28619a=_0x57ebea;throw new Error(_0x28619a(0x408));}};de=Se([w(0x5,_0xd9eea8(_0xa5b871)),w(0x6,_0xd9eea8(_0x1a89bb)),w(0x7,_0x146b0f),w(0x8,_0x3d9a42),w(0x9,_0x4761ab(X))],de);let ee=class extends ge{constructor(_0x280d4f,_0x3c5788,_0xcb02e3,_0x44b9b6,_0x401b51,_0x35b1e1,_0xafe0b7,_0x2e741d,_0x571a1a,_0x52a9d4,_0x3f6023,_0x411a0b,_0xb0b8da,_0x533c50){var _0x34136a=_0x57ebea;super(_0x280d4f,_0x3c5788,_0xcb02e3,_0x44b9b6,_0xafe0b7,_0x3f6023,_0x411a0b,_0x571a1a,_0x533c50),D(this,_0x34136a(0x2be),_0x34136a(0x421)),(this[_0x34136a(0x276)]=_0x401b51,this[_0x34136a(0x24b)]=_0x35b1e1,this[_0x34136a(0x30c)]=_0x2e741d,this[_0x34136a(0x3cc)]=_0x52a9d4,this[_0x34136a(0x13b)]=_0xb0b8da,this[_0x34136a(0x1ed)]=_0x533c50);}[_0x57ebea(0x26c)](_0xc52aa2){var _0xfc997a=_0x57ebea;try{const _0x2817f5=[..._0xc52aa2,...this['_queuedRemoteChangesets']],_0x2b863e=[this[_0xfc997a(0x277)]||this[_0xfc997a(0x276)]][_0xfc997a(0x148)](_0x47c97e=>!!_0x47c97e);let _0x472e44,_0x4a8284;if(_0x2b863e['length']){const _0x42c010=this[_0xfc997a(0x13b)][_0xfc997a(0x182)](_0x2817f5,_0x2b863e,!0x1);if(!_0x24a204(_0x42c010))throw _0x42c010[_0xfc997a(0x379)];_0x472e44=_0x42c010['c1Prime'],_0x4a8284=_0x42c010['c2Prime'];}else _0x472e44=_0x2817f5,_0x4a8284=[];let _0x4f35a2=this['_pendingMutations'];_0x472e44[_0xfc997a(0x352)](_0x37ea01=>{var _0x1da1a6=_0xfc997a;let _0x5b9bcc;if(_0x4f35a2[_0x1da1a6(0x291)]){const _0x3e2425=this[_0x1da1a6(0x13b)][_0x1da1a6(0x342)](_0x37ea01,_0x4f35a2);if(!_0x506829(_0x3e2425))throw _0x3e2425[_0x1da1a6(0x379)];_0x5b9bcc=_0x3e2425[_0x1da1a6(0x32c)],_0x4f35a2=_0x3e2425[_0x1da1a6(0x162)];}else _0x5b9bcc=_0x37ea01;this[_0x1da1a6(0x278)](_0x5b9bcc);}),this[_0xfc997a(0x276)]&&this[_0xfc997a(0x232)](),this[_0xfc997a(0x277)]&&_0x4a8284['length']&&(_0x4a8284[0x0]['baseRev']=this['_getCurrentRevision']());let _0x471da6;if(this[_0xfc997a(0x277)]&&_0x4f35a2[_0xfc997a(0x291)]!==0x0)_0x471da6=this[_0xfc997a(0x30c)][_0xfc997a(0x220)](oe,this['unitID'],this[_0xfc997a(0x286)],_0x4a8284[0x0],_0x4f35a2,this[_0xfc997a(0x1bc)],void 0x0);else{if(this['_awaitingChangeset']&&_0x4f35a2['length']===0x0)_0x4a8284[0x0][_0xfc997a(0x2ce)]=this[_0xfc997a(0x1c2)](),_0x471da6=this[_0xfc997a(0x30c)][_0xfc997a(0x220)](le,this[_0xfc997a(0x1fb)],this[_0xfc997a(0x286)],_0x4a8284[0x0],this[_0xfc997a(0x1bc)]);else{if(_0x4f35a2[_0xfc997a(0x291)]!==0x0){const _0x37b342=this[_0xfc997a(0x30c)][_0xfc997a(0x220)](ae,this[_0xfc997a(0x1fb)],this['type'],_0x4f35a2,this[_0xfc997a(0x1bc)]);_0x37b342[_0xfc997a(0x381)](),_0x471da6=_0x37b342;}else _0x471da6=this[_0xfc997a(0x30c)]['createInstance'](be,this[_0xfc997a(0x1fb)],this[_0xfc997a(0x286)],this[_0xfc997a(0x1bc)]);}}return _0x471da6['_updateLocalCache'](),_0x471da6;}catch(_0x5a8c61){return this[_0xfc997a(0x3cc)][_0xfc997a(0x379)](_0xfc997a(0x2d1),_0xfc997a(0x39c),_0x5a8c61),this[_0xfc997a(0x30c)][_0xfc997a(0x220)](ue,this['unitID'],this[_0xfc997a(0x286)],this['_awaitingChangeset'],this[_0xfc997a(0x1dd)],this[_0xfc997a(0x1bc)],!0x1);}}[_0x57ebea(0x3b0)](){var _0x4dcded=_0x57ebea;throw new Error(_0x4dcded(0x3bb));}['appendMutation'](_0xec1722){var _0xd71feb=_0x57ebea;return this[_0xd71feb(0x1dd)][_0xd71feb(0x37e)](_0xec1722),this;}['onRemoteChangeset'](_0x22b74c){var _0x394f6e=_0x57ebea;return this[_0x394f6e(0x24b)]['push'](_0x22b74c),this;}[_0x57ebea(0x146)](_0x23ecc8){var _0x448c57=_0x57ebea;if(this[_0x448c57(0x277)])return this['_acknowledgedAwaitingChangeset']=this[_0x448c57(0x277)],this[_0x448c57(0x277)]=null,this;throw new Error(_0x448c57(0x1c6));}[_0x57ebea(0x2af)](_0x1da84a){var _0x2a0d8d=_0x57ebea;return this[_0x2a0d8d(0x279)](!!(_0x1da84a!=null&&_0x1da84a[_0x2a0d8d(0x35a)]));}[_0x57ebea(0x423)](){return this;}[_0x57ebea(0x33f)](){var _0x158dcd=_0x57ebea;return this[_0x158dcd(0x30c)]['createInstance'](de,this[_0x158dcd(0x1fb)],this['type'],this[_0x158dcd(0x277)],this['_pendingMutations'],this['_handler']);}[_0x57ebea(0x252)](){return this;}[_0x57ebea(0x279)](_0xab7822){var _0x3ff555=_0x57ebea;return this[_0x3ff555(0x30c)]['createInstance'](ue,this[_0x3ff555(0x1fb)],this[_0x3ff555(0x286)],this[_0x3ff555(0x277)],this[_0x3ff555(0x1dd)],this['_handler'],_0xab7822);}};ee=Se([w(0x7,_0xd9eea8(_0xa5b871)),w(0x8,_0xd9eea8(_0x1a89bb)),w(0x9,_0x395070),w(0xa,_0x146b0f),w(0xb,_0x3d9a42),w(0xc,_0x411c6c),w(0xd,_0x4761ab(X))],ee);function Oi(_0x24a64f,_0x20305c,_0x10a4f9,_0x53d5ff,_0x9e4e27,_0x5cd524){var _0x199b3f=_0x57ebea;return _0x53d5ff&&_0x9e4e27[_0x199b3f(0x291)]?_0x24a64f['createInstance'](oe,_0x20305c,_0x10a4f9,_0x53d5ff,_0x9e4e27,_0x5cd524,void 0x0):_0x53d5ff?_0x24a64f[_0x199b3f(0x220)](le,_0x20305c,_0x10a4f9,_0x53d5ff,_0x5cd524):_0x9e4e27[_0x199b3f(0x291)]?_0x24a64f[_0x199b3f(0x220)](ae,_0x20305c,_0x10a4f9,_0x9e4e27,_0x5cd524):_0x24a64f[_0x199b3f(0x220)](be,_0x20305c,_0x10a4f9,_0x5cd524);}var js=Object[_0x57ebea(0x1a9)],At=(_0x13d4e8,_0x52d150,_0xd6a51e,_0x420671)=>{var _0x406349=_0x57ebea;for(var _0x461e49=_0x420671>0x1?void 0x0:_0x420671?js(_0x52d150,_0xd6a51e):_0x52d150,_0x28b060=_0x13d4e8[_0x406349(0x291)]-0x1,_0x10b242;_0x28b060>=0x0;_0x28b060--)(_0x10b242=_0x13d4e8[_0x28b060])&&(_0x461e49=_0x10b242(_0x461e49)||_0x461e49);return _0x461e49;},$=(_0x56f282,_0x2bf61f)=>(_0x4e3e97,_0x4ade76)=>_0x2bf61f(_0x4e3e97,_0x4ade76,_0x56f282);let st=class extends _0xdd442f{constructor(_0x4b9c4a,_0x53d1b2,_0x155e44,_0x5d2d74,_0xc5aa0e,_0x402593,_0x4de5fe,_0x581141,_0x215a6b,_0x42bafe,_0x2cc486,_0x1b6b6d,_0x5b733b,_0x4aeae6){var _0x3cfa08=_0x57ebea;super(),D(this,_0x3cfa08(0x436),new _0x4e139f(null)),D(this,_0x3cfa08(0x363),this[_0x3cfa08(0x436)][_0x3cfa08(0x2c5)]()),D(this,'_state'),D(this,_0x3cfa08(0x380),!0x1),D(this,'_changesetSessionId',''),D(this,_0x3cfa08(0x1a4),0x0),D(this,_0x3cfa08(0x14f),this[_0x3cfa08(0x363)][_0x3cfa08(0x165)](_0x464432(_0x128452=>_0x128452?_0x128452[_0x3cfa08(0x2be)]:Si[_0x3cfa08(0x230)]),_0x54609a(0x1))),D(this,'_transitionLocked',!0x1),D(this,_0x3cfa08(0x42b),[]),(this[_0x3cfa08(0x1fb)]=_0x4b9c4a,this['session']=_0x53d1b2,this[_0x3cfa08(0x216)]=_0x155e44,this[_0x3cfa08(0x30c)]=_0x5d2d74,this['_compressMutationService']=_0xc5aa0e,this['_localeService']=_0x402593,this['_revisionService']=_0x4de5fe,this[_0x3cfa08(0x40d)]=_0x581141,this[_0x3cfa08(0x26b)]=_0x215a6b,this[_0x3cfa08(0x3cc)]=_0x42bafe,this[_0x3cfa08(0x28e)]=_0x2cc486,this['_permissionService']=_0x1b6b6d,this[_0x3cfa08(0x2dc)]=_0x5b733b,this[_0x3cfa08(0x2d6)]=_0x4aeae6);}get[_0x57ebea(0x30d)](){var _0xdcfb4b=_0x57ebea;return this[_0xdcfb4b(0x2f6)];}async['init'](){var _0x20b81f=_0x57ebea;if(this['state'])throw new Error(_0x20b81f(0x361));await this['_init']();}[_0x57ebea(0x38d)](){var _0x180361=_0x57ebea;return this[_0x180361(0x380)]=!0x0,_0x920f1a(()=>{var _0x59daa6=_0x180361;this[_0x59daa6(0x380)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x57ebea(0x2eb)](_0x1aa72b){var _0x35f2a2=_0x57ebea;this[_0x35f2a2(0x444)](_0x1aa72b);}['_updateState'](_0x1f28c6){var _0x4653e7=_0x57ebea;this[_0x4653e7(0x2f6)]=_0x1f28c6,this['_state$'][_0x4653e7(0x372)](_0x1f28c6);}async[_0x57ebea(0x18a)](){var _0x2c2a28=_0x57ebea,_0x15d39c;this[_0x2c2a28(0x1b8)](await this[_0x2c2a28(0x36d)]()),this[_0x2c2a28(0x2dc)]&&((_0x15d39c=this['_singleActiveUnitService'])==null||_0x15d39c[_0x2c2a28(0x299)](this[_0x2c2a28(0x1fb)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x2c2a28(0x1ef)](this[_0x2c2a28(0x1fb)])['subscribe'](_0x4ee0cf=>{var _0x275e41=_0x2c2a28;this[_0x275e41(0x3cc)][_0x275e41(0x3b7)](_0x275e41(0x1b0),_0x275e41(0x397),_0x4ee0cf),_0x4ee0cf===mi[_0x275e41(0x1f8)]?(this[_0x275e41(0x40d)][_0x275e41(0x37b)]({'id':re[_0x275e41(0x1e1)]}),this[_0x275e41(0x446)][_0x275e41(0x19c)](new _0x108f1a(this[_0x275e41(0x1fb)])['id'],!0x1),this[_0x275e41(0x446)][_0x275e41(0x38a)](!0x1)):(this[_0x275e41(0x446)]['updatePermissionPoint'](new _0x108f1a(this['unitID'])['id'],!0x0),this['_permissionService'][_0x275e41(0x38a)](!0x0));})));let _0x42c642=!0x1;return this['disposeWithMe'](this['session'][_0x2c2a28(0x1e4)][_0x2c2a28(0x3dc)](_0x4c703a=>{var _0x1ef925=_0x2c2a28;_0x4c703a===me[_0x1ef925(0x2f7)]?this[_0x1ef925(0x1d9)](_0x42c642):_0x4c703a===me[_0x1ef925(0x230)]&&(_0x42c642=!0x0,this[_0x1ef925(0x246)]());})),this['disposeWithMe'](this[_0x2c2a28(0x3ad)]['event$'][_0x2c2a28(0x3dc)](_0xbaad59=>{var _0x503cb4=_0x2c2a28;try{switch(_0xbaad59['eventID']){case _0x427891[_0x503cb4(0x20b)]:{this[_0x503cb4(0x29c)](_0x4301fa(_0xbaad59['data']));break;}case _0x427891['CHANGESET_ACK']:{this[_0x503cb4(0x358)](_0xbaad59['data']);break;}case _0x427891[_0x503cb4(0x2c4)]:{this[_0x503cb4(0x301)]();break;}case _0x427891[_0x503cb4(0x23e)]:{this[_0x503cb4(0x2ab)](_0xbaad59['data']);break;}case _0x427891[_0x503cb4(0x2f9)]:{this['_onFetchMissResult'](_0xbaad59['data']['changesets'][_0x503cb4(0x32d)](_0xc098c9=>_0x4301fa(_0xc098c9)));break;}case _0x427891[_0x503cb4(0x351)]:{this[_0x503cb4(0x301)]({'isPermissionRej':!0x0});break;}case _0x427891['UNISCRIPT_RUN']:break;}}catch(_0x55b214){throw console[_0x503cb4(0x379)](_0x503cb4(0x176),_0x55b214),_0x55b214;}})),this[_0x2c2a28(0x2f6)];}['_unlockTransition'](){var _0x570563=_0x57ebea;this[_0x570563(0x327)]=!0x1;}[_0x57ebea(0x3d2)](){var _0x14232c=_0x57ebea;if(this[_0x14232c(0x327)])throw new Error(_0x14232c(0x44f));this[_0x14232c(0x327)]=!0x0;}[_0x57ebea(0x444)](_0x567cf7){var _0x411d17=_0x57ebea;this['_lockTransition'](),this[_0x411d17(0x1b8)](this[_0x411d17(0x2f6)]['appendMutation'](_0x567cf7)),this[_0x411d17(0x188)]();}[_0x57ebea(0x29c)](_0xaaeaf2){var _0x507c79=_0x57ebea;if(!(_0xaaeaf2[_0x507c79(0x239)]<=this['_revisionService'][_0x507c79(0x16a)](this[_0x507c79(0x1fb)]))){if(this['_collaborationPaused']){this[_0x507c79(0x42b)][_0x507c79(0x37e)](_0xaaeaf2);return;}this[_0x507c79(0x1d2)](_0xaaeaf2);}}['_exhaustRemoteChangesetQueue'](){var _0xcd4f03=_0x57ebea;this[_0xcd4f03(0x42b)][_0xcd4f03(0x352)](_0x42e8ac=>this['_applyRemoteChangeset'](_0x42e8ac)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x4d4eb0){var _0xce8f94=_0x57ebea;const _0x3e0f5c=this[_0xce8f94(0x424)]['interceptor'][_0xce8f94(0x287)](this['_compressMutationService'][_0xce8f94(0x26d)]['getInterceptPoints']()[_0xce8f94(0x1c7)])(_0x4d4eb0[_0xce8f94(0x15d)],null)||_0x4d4eb0['mutations'],_0x1d80ba={..._0x4d4eb0,'mutations':_0x3e0f5c};this[_0xce8f94(0x3d2)](),this[_0xce8f94(0x1b8)](this[_0xce8f94(0x2f6)][_0xce8f94(0x410)](_0x1d80ba)),this[_0xce8f94(0x188)]();}['_onRemoteACK'](_0x30048b){var _0x1b8c0b=_0x57ebea;this['_lockTransition'](),this['_updateState'](this[_0x1b8c0b(0x2f6)]['onRemoteAck'](_0x30048b)),this['_unlockTransition']();}[_0x57ebea(0x301)](_0xd362a9){var _0x51e595=_0x57ebea;this[_0x51e595(0x3d2)](),this[_0x51e595(0x1b8)](this['_state'][_0x51e595(0x2af)](_0xd362a9)),this[_0x51e595(0x188)]();}['_onRemoteRetry'](_0x2cd1ce){var _0xe64cfa=_0x57ebea;this['_lockTransition'](),this[_0xe64cfa(0x1b8)](this[_0xe64cfa(0x2f6)][_0xe64cfa(0x423)](_0x2cd1ce)),this[_0xe64cfa(0x188)]();}[_0x57ebea(0x457)](_0x331c67){var _0x2042cb=_0x57ebea;if(!(this[_0x2042cb(0x2f6)]instanceof ee))throw new TypeError(_0x2042cb(0x199));const _0x5a9474=_0x331c67[_0x2042cb(0x32d)](_0xf7fc2e=>{var _0x548e25=_0x2042cb;const _0x445748=this[_0x548e25(0x424)][_0x548e25(0x26d)][_0x548e25(0x287)](this[_0x548e25(0x424)][_0x548e25(0x26d)][_0x548e25(0x191)]()['COMPRESS_MUTATION_APPLY'])(_0xf7fc2e[_0x548e25(0x15d)],null)||_0xf7fc2e['mutations'];return{..._0xf7fc2e,'mutations':_0x445748};});this[_0x2042cb(0x3d2)](),this[_0x2042cb(0x1b8)](this[_0x2042cb(0x2f6)][_0x2042cb(0x26c)](_0x5a9474)),this['_unlockTransition']();}[_0x57ebea(0x246)](){var _0x11945f=_0x57ebea;this[_0x11945f(0x3d2)](),this[_0x11945f(0x1b8)](this['_state'][_0x11945f(0x33f)]()),this[_0x11945f(0x188)]();}[_0x57ebea(0x1d9)](_0x210a4b=!0x1){var _0x53d47c=_0x57ebea;this[_0x53d47c(0x3d2)](),this[_0x53d47c(0x1b8)](this['_state'][_0x53d47c(0x252)]()),this['_unlockTransition']();const _0x2b1397=this[_0x53d47c(0x2f6)];_0x210a4b&&_0x2b1397 instanceof be&&(this['_lockTransition'](),this[_0x53d47c(0x1b8)](_0x2b1397[_0x53d47c(0x173)]()),this['_unlockTransition']());}async[_0x57ebea(0x36d)](){return new Promise(_0x44e531=>{var _0x355ac9=_0x5a33;this['session'][_0x355ac9(0x1e4)][_0x355ac9(0x165)](_0x5cf086(0x1))[_0x355ac9(0x3dc)](async _0x3eec7c=>{var _0x5bfbe5=_0x355ac9;_0x44e531(await this['_createInitialStateImpl'](_0x3eec7c===me[_0x5bfbe5(0x2f7)]));});});}[_0x57ebea(0x304)](){const _0x3d448c=this['unitID'];return{'onStateChange':(_0x3c42c3,_0x1664ae)=>{var _0x208e7b=_0x5a33;if(_0x3c42c3!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x3c42c3[_0x208e7b(0x2be)]+_0x208e7b(0x282)+_0x1664ae['status']+_0x208e7b(0x39a)+this['_state']['status']);this[_0x208e7b(0x1b8)](_0x1664ae);},'onSendChangeset':_0x1aead4=>{var _0x31dbb0=_0x5a33;_0x1aead4[_0x31dbb0(0x192)]||(_0x1aead4[_0x31dbb0(0x192)]=this[_0x31dbb0(0x2fd)],_0x1aead4[_0x31dbb0(0x2bf)]=++this[_0x31dbb0(0x1a4)]);const _0x8f727c={'eventID':_0x427891[_0x31dbb0(0x3f9)],'data':{'unitID':_0x1aead4[_0x31dbb0(0x1fb)],'unitType':this['_type'],'changeset':_0x1aead4,'memberID':this[_0x31dbb0(0x3ad)][_0x31dbb0(0x387)]()}};this[_0x31dbb0(0x3ad)][_0x31dbb0(0x2f5)](_0x8f727c,this[_0x31dbb0(0x1fb)]);},'onMissingChangesets':({from:_0x2b2875,to:_0x534e91})=>{var _0x43fe79=_0x5a33;this['_logService'][_0x43fe79(0x3b7)](_0x43fe79(0x1b0),_0x43fe79(0x1bb)+_0x2b2875+_0x43fe79(0x33c)+_0x534e91);const _0x1eecd1={'eventID':_0x427891[_0x43fe79(0x1ba)],'data':{'unitID':_0x3d448c,'unitType':this[_0x43fe79(0x216)],'from':_0x2b2875,'to':_0x534e91}};this['session']['send'](_0x1eecd1,this[_0x43fe79(0x1fb)]);}};}async[_0x57ebea(0x151)](_0x2ebd57){var _0x17a3e1=_0x57ebea,_0x314ca6,_0x1f9cb9,_0x19db86;const _0x25dbd0=await((_0x314ca6=this[_0x17a3e1(0x2d6)])==null?void 0x0:_0x314ca6['loadOfflineData'](this[_0x17a3e1(0x1fb)])),_0x1fde58=(_0x1f9cb9=_0x25dbd0==null?void 0x0:_0x25dbd0[_0x17a3e1(0x15d)])!=null?_0x1f9cb9:[],_0x392ba8=(_0x19db86=_0x25dbd0==null?void 0x0:_0x25dbd0[_0x17a3e1(0x324)])!=null?_0x19db86:null,_0x4cc5c6=!!(_0x392ba8!=null&&_0x392ba8[_0x17a3e1(0x192)])&&!!(_0x392ba8!=null&&_0x392ba8[_0x17a3e1(0x2bf)]);this['_changesetSessionId']=_0x4cc5c6?_0x392ba8[_0x17a3e1(0x192)]:_0x440c2a(),this[_0x17a3e1(0x1a4)]=_0x4cc5c6?_0x392ba8[_0x17a3e1(0x2bf)]:0x0;const _0x232dda=this[_0x17a3e1(0x1fb)];try{this['_replayCachedMutations'](_0x392ba8,_0x1fde58);}catch(_0xdaec80){this[_0x17a3e1(0x3cc)][_0x17a3e1(0x379)](_0xdaec80);}const _0x4072a4=this[_0x17a3e1(0x304)]();if(_0x2ebd57){const _0xcbd454=Oi(this[_0x17a3e1(0x30c)],_0x232dda,this[_0x17a3e1(0x216)],_0x392ba8,_0x1fde58,_0x4072a4);return _0xcbd454 instanceof ae?_0xcbd454[_0x17a3e1(0x381)]():(_0xcbd454 instanceof oe||_0xcbd454 instanceof le)&&_0xcbd454[_0x17a3e1(0x3b0)](),_0xcbd454;}return this['_injector'][_0x17a3e1(0x220)](de,_0x232dda,this[_0x17a3e1(0x216)],_0x392ba8,_0x1fde58,_0x4072a4);}[_0x57ebea(0x201)](_0x58ec06,_0x56fb35){var _0x905c18=_0x57ebea,_0x37291f,_0x3586a4;const _0x2e1d1b=this[_0x905c18(0x424)][_0x905c18(0x26d)][_0x905c18(0x287)](this['_compressMutationService'][_0x905c18(0x26d)][_0x905c18(0x191)]()[_0x905c18(0x1c7)]);(_0x37291f=_0x2e1d1b((_0x58ec06==null?void 0x0:_0x58ec06[_0x905c18(0x15d)])||[],null))==null||_0x37291f[_0x905c18(0x352)](_0x135fb7=>this[_0x905c18(0x28e)][_0x905c18(0x384)](_0x135fb7['id'],_0x135fb7[_0x905c18(0x437)])),(_0x3586a4=_0x2e1d1b(_0x56fb35||[],null))==null||_0x3586a4[_0x905c18(0x352)](_0x24cc13=>this[_0x905c18(0x28e)][_0x905c18(0x384)](_0x24cc13['id'],_0x24cc13[_0x905c18(0x437)]));}};st=At([$(0x3,_0xd9eea8(_0xa5b871)),$(0x4,_0xd9eea8(_0x3ec077)),$(0x5,_0xd9eea8(_0x28b880)),$(0x6,_0xd9eea8(_0x1a89bb)),$(0x7,_0xd9eea8(ve)),$(0x8,_0xde0007),$(0x9,_0x395070),$(0xa,_0x146b0f),$(0xb,_0x54b0d9),$(0xc,_0x4761ab(_t)),$(0xd,_0x4761ab(X))],st);let It=class extends st{constructor(_0x36ad86,_0x54f9d7,_0x224f6a,_0x2ec561,_0x167c84,_0x359473,_0x39468d,_0x27079d,_0x357e40,_0x769aa5,_0x2ff255,_0x3aea75,_0x315aab,_0x4fb9c7){var _0x38dfd1=_0x57ebea;super(_0x36ad86,_0x224f6a,_0x54f9d7,_0x2ec561,_0x167c84,_0x359473,_0x39468d,_0x27079d,_0x357e40,_0x769aa5,_0x2ff255,_0x3aea75,_0x315aab,_0x4fb9c7),D(this,_0x38dfd1(0x3c4),null),(this['unitID']=_0x36ad86,this[_0x38dfd1(0x286)]=_0x54f9d7);}[_0x57ebea(0x41b)](_0x54bdd7){this['_handlerCallback']=_0x54bdd7;}[_0x57ebea(0x181)](){this['_handlerCallback']=null,super['dispose']();}[_0x57ebea(0x304)](){var _0x3f55ee=_0x57ebea;const _0x27cbac=super['_createHandler']();return _0x27cbac['onTransformIME']=_0x4f3257=>{var _0x26b560=_0x5a33,_0x180497,_0x37fa32;return(_0x37fa32=(_0x180497=this[_0x26b560(0x3c4)])==null?void 0x0:_0x180497[_0x26b560(0x34c)])==null?void 0x0:_0x37fa32[_0x26b560(0x2b6)](_0x180497,_0x4f3257);},_0x27cbac['onTransformState']=_0x272ee8=>{var _0x47a9f6=_0x5a33,_0x49362b,_0x172dd3;return(_0x172dd3=(_0x49362b=this[_0x47a9f6(0x3c4)])==null?void 0x0:_0x49362b[_0x47a9f6(0x27d)])==null?void 0x0:_0x172dd3[_0x47a9f6(0x2b6)](_0x49362b,_0x272ee8);},_0x27cbac[_0x3f55ee(0x3c6)]=_0x304436=>{var _0x23bdf7=_0x3f55ee,_0x5745d1,_0x3101c0;return(_0x3101c0=(_0x5745d1=this[_0x23bdf7(0x3c4)])==null?void 0x0:_0x5745d1['onTransformSelections'])==null?void 0x0:_0x3101c0[_0x23bdf7(0x2b6)](_0x5745d1,_0x304436);},_0x27cbac[_0x3f55ee(0x3d9)]=_0x1a447b=>{var _0x2a2dda=_0x3f55ee,_0x296385,_0x279b95;return(_0x279b95=(_0x296385=this[_0x2a2dda(0x3c4)])==null?void 0x0:_0x296385[_0x2a2dda(0x3d9)])==null?void 0x0:_0x279b95[_0x2a2dda(0x2b6)](_0x296385,_0x1a447b);},_0x27cbac[_0x3f55ee(0x3db)]=_0xe6b71d=>{var _0xa2d326=_0x3f55ee,_0x4448e1,_0x31539e,_0x3da992;if(!((_0x4448e1=this['_handlerCallback'])!=null&&_0x4448e1[_0xa2d326(0x3db)]))throw new Error(_0xa2d326(0x449));return(_0x3da992=(_0x31539e=this[_0xa2d326(0x3c4)])==null?void 0x0:_0x31539e[_0xa2d326(0x3db)])==null?void 0x0:_0x3da992[_0xa2d326(0x2b6)](_0x31539e,_0xe6b71d);},_0x27cbac[_0x3f55ee(0x2a7)]=_0x1bd640=>{var _0x5c7a90=_0x3f55ee,_0x459f93,_0x303988,_0x8c605f;if(!((_0x459f93=this[_0x5c7a90(0x3c4)])!=null&&_0x459f93[_0x5c7a90(0x2a7)]))throw new Error(_0x5c7a90(0x2ae));return(_0x8c605f=(_0x303988=this['_handlerCallback'])==null?void 0x0:_0x303988['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x8c605f[_0x5c7a90(0x2b6)](_0x303988,_0x1bd640);},_0x27cbac;}async['_init'](){var _0x360ec0=_0x57ebea;const _0x548cc2=await super['_init']();return this[_0x360ec0(0x24e)](this[_0x360ec0(0x28e)][_0x360ec0(0x210)]((_0x2823f3,_0x256dad)=>{var _0x4b84bc=_0x360ec0;if(_0x2823f3[_0x4b84bc(0x286)]!==_0x7655d0[_0x4b84bc(0x450)]||_0x256dad!=null&&_0x256dad['fromCollab']||_0x256dad!=null&&_0x256dad[_0x4b84bc(0x2e3)]||_0x2823f3['id']===_0x3de14f['id'])return;const _0x5e9c88=_0x2823f3[_0x4b84bc(0x437)];if((_0x5e9c88==null?void 0x0:_0x5e9c88[_0x4b84bc(0x1f2)])!==this[_0x4b84bc(0x1fb)])return;const _0x594bb8=_0x2823f3,_0x357dbd=this[_0x4b84bc(0x424)][_0x4b84bc(0x26d)][_0x4b84bc(0x287)](this[_0x4b84bc(0x424)]['interceptor'][_0x4b84bc(0x191)]()[_0x4b84bc(0x265)])([_0x594bb8],this['_univerInstanceService'])||[_0x594bb8];this[_0x4b84bc(0x444)](_0x357dbd[0x0]);})),_0x548cc2;}};It=At([$(0x3,_0xd9eea8(_0xa5b871)),$(0x4,_0xd9eea8(_0x3ec077)),$(0x5,_0xd9eea8(_0x28b880)),$(0x6,_0xd9eea8(_0x1a89bb)),$(0x7,_0xd9eea8(ve)),$(0x8,_0xde0007),$(0x9,_0x395070),$(0xa,_0x146b0f),$(0xb,_0x54b0d9),$(0xc,_0x4761ab(_t)),$(0xd,_0x4761ab(X))],It);let St=class extends st{constructor(_0x20d498,_0x41e337,_0x3cdac1,_0x1aeab0,_0x14dabe,_0x3b8693,_0x2067a2,_0x13dac0,_0x2e8b7f,_0x1ee154,_0x53caf3,_0x2fe3b4,_0x491fed,_0x52f883,_0x12712d){var _0x183966=_0x57ebea;super(_0x20d498,_0x3cdac1,_0x41e337,_0x1aeab0,_0x14dabe,_0x3b8693,_0x2067a2,_0x2e8b7f,_0x1ee154,_0x53caf3,_0x2fe3b4,_0x491fed,_0x52f883,_0x12712d),this['unitID']=_0x20d498,this[_0x183966(0x286)]=_0x41e337,this[_0x183966(0x357)]=_0x13dac0;}[_0x57ebea(0x304)](){var _0x4816c9=_0x57ebea;const _0x166677=super[_0x4816c9(0x304)]();return _0x166677[_0x4816c9(0x3c6)]=_0x3d2fe4=>this[_0x4816c9(0x357)][_0x4816c9(0x13f)](_0x3d2fe4),_0x166677;}async[_0x57ebea(0x18a)](){var _0x5dd386=_0x57ebea;const _0x85e1b9=await super[_0x5dd386(0x18a)]();return this[_0x5dd386(0x24e)](this[_0x5dd386(0x28e)][_0x5dd386(0x210)]((_0x482d29,_0x5471a1)=>{var _0x13d9c0=_0x5dd386;if(_0x482d29['type']!==_0x7655d0[_0x13d9c0(0x450)]||_0x5471a1!=null&&_0x5471a1[_0x13d9c0(0x1e2)]||_0x5471a1!=null&&_0x5471a1[_0x13d9c0(0x2e3)])return;const _0x4db10a=_0x482d29[_0x13d9c0(0x437)];if((_0x4db10a==null?void 0x0:_0x4db10a['unitId'])!==this[_0x13d9c0(0x1fb)])return;const _0x298652=_0x482d29,_0x1f0f88=this[_0x13d9c0(0x424)]['interceptor'][_0x13d9c0(0x287)](this[_0x13d9c0(0x424)]['interceptor'][_0x13d9c0(0x191)]()[_0x13d9c0(0x265)])([_0x298652],this[_0x13d9c0(0x26b)])||[_0x298652];this[_0x13d9c0(0x444)](_0x1f0f88[0x0]);})),_0x85e1b9;}};St=At([$(0x3,_0xd9eea8(_0xa5b871)),$(0x4,_0xd9eea8(_0x3ec077)),$(0x5,_0xd9eea8(_0x28b880)),$(0x6,_0xd9eea8(_0x1a89bb)),$(0x7,_0xd9eea8(it)),$(0x8,_0xd9eea8(ve)),$(0x9,_0xde0007),$(0xa,_0x395070),$(0xb,_0x146b0f),$(0xc,_0x54b0d9),$(0xd,_0x4761ab(_t)),$(0xe,_0x4761ab(X))],St);const Vs=_0x51449a(_0x57ebea(0x3bf));function Gs(_0x3bbe38){var _0x3f9d79=_0x57ebea,_0x5e208b,_0x52f4d5,_0x2b53c4,_0x4766d2,_0x21fd2b;const _0x27ae39=_0x3bbe38['data'],_0x4baacf=JSON[_0x3f9d79(0x251)](_0x27ae39);switch(_0x4baacf[_0x3f9d79(0x3d5)]){case j['HEARTBEAT']:case j[_0x3f9d79(0x321)]:{const _0x5e65cf=_0x4baacf[_0x3f9d79(0x394)];return{..._0x4baacf,'data':_0x5e65cf,'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};}case j[_0x3f9d79(0x212)]:{const _0x2bb550=_0x4baacf['joinRsp'];return{..._0x4baacf,'data':_0x2bb550,'cmd':_0x4baacf['cmd']};}case j[_0x3f9d79(0x18f)]:{const _0x54b73f=_0x4baacf[_0x3f9d79(0x3ed)];switch(_0x54b73f[_0x3f9d79(0x34b)]){case _0x427891[_0x3f9d79(0x351)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':(_0x5e208b=_0x54b73f[_0x3f9d79(0x341)])==null?void 0x0:_0x5e208b['cs']},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x16d)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':(_0x52f4d5=_0x54b73f[_0x3f9d79(0x3e0)])==null?void 0x0:_0x52f4d5['cs']},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x20b)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':(_0x2b53c4=_0x54b73f[_0x3f9d79(0x189)])==null?void 0x0:_0x2b53c4['cs']},'cmd':_0x4baacf['cmd']};case _0x427891[_0x3f9d79(0x2c4)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':(_0x4766d2=_0x54b73f[_0x3f9d79(0x1c0)])==null?void 0x0:_0x4766d2['cs']},'cmd':_0x4baacf['cmd']};case _0x427891[_0x3f9d79(0x23e)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':(_0x21fd2b=_0x54b73f[_0x3f9d79(0x142)])==null?void 0x0:_0x21fd2b['cs']},'cmd':_0x4baacf['cmd']};case _0x427891[_0x3f9d79(0x3cf)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f[_0x3f9d79(0x3f5)]},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891['USERS_ENTER']:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f[_0x3f9d79(0x439)]},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x208)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f[_0x3f9d79(0x2e2)]},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x1e9)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f[_0x3f9d79(0x3f3)]},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x348)]:case _0x427891[_0x3f9d79(0x14e)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f[_0x3f9d79(0x2b1)]},'cmd':_0x4baacf['cmd']};case _0x427891['LIVESHARE_TERMINATE']:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f['liveShareNewHost']},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x140)]:return{..._0x4baacf,'data':_0x54b73f,'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891['COMMENT_UPDATE']:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f[_0x3f9d79(0x1b7)]},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x451)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f['updatePermissionObjEvent']},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x36f)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f[_0x3f9d79(0x3ee)]},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891['UNISCRIPT_RUN']:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f['uniscriptRunEvent']},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};default:return _0x4baacf;}}default:return _0x4baacf;}}function Ws(_0x777308){var _0x4dbefd=_0x57ebea;switch(_0x777308[_0x4dbefd(0x3d5)]){case j['HEARTBEAT']:case j['HELLO']:return JSON[_0x4dbefd(0x3fb)]({'cmd':_0x777308[_0x4dbefd(0x3d5)],'routeKey':_0x777308[_0x4dbefd(0x41f)]});case j[_0x4dbefd(0x3c5)]:{let _0xd150ae;switch(_0x777308[_0x4dbefd(0x455)]['eventID']){case _0x427891[_0x4dbefd(0x3cf)]:{_0xd150ae={'eventID':_0x427891['UPDATE_CURSOR'],'updateCursorEvent':_0x777308[_0x4dbefd(0x455)][_0x4dbefd(0x455)]};break;}case _0x427891[_0x4dbefd(0x208)]:{_0xd150ae={'eventID':_0x427891['USERS_LEAVE'],'leaveEvent':_0x777308[_0x4dbefd(0x455)][_0x4dbefd(0x455)]};break;}case _0x427891[_0x4dbefd(0x453)]:{_0xd150ae={'eventID':_0x427891[_0x4dbefd(0x453)],'joinEvent':_0x777308[_0x4dbefd(0x455)][_0x4dbefd(0x455)]};break;}case _0x427891[_0x4dbefd(0x1e9)]:{_0xd150ae={'eventID':_0x427891['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x777308[_0x4dbefd(0x455)]['data']};break;}case _0x427891[_0x4dbefd(0x14e)]:{_0xd150ae={'eventID':_0x427891[_0x4dbefd(0x14e)],'liveShareOperation':_0x777308['data'][_0x4dbefd(0x455)]};break;}case _0x427891['LIVESHARE_TERMINATE']:{_0xd150ae={'eventID':_0x427891[_0x4dbefd(0x1b6)],'liveShareTerminate':_0x777308[_0x4dbefd(0x455)]['data']};break;}case _0x427891[_0x4dbefd(0x23a)]:{_0xd150ae={'eventID':_0x427891[_0x4dbefd(0x23a)],'liveShareRequestHost':_0x777308['data'][_0x4dbefd(0x455)]};break;}case _0x427891['LIVESHARE_FETCH_OPERATIONS']:{_0xd150ae={'eventID':_0x427891['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0xd150ae={'eventID':_0x777308[_0x4dbefd(0x455)][_0x4dbefd(0x34b)]};}return JSON['stringify']({'cmd':_0x777308['cmd'],'routeKey':_0x777308['routeKey'],'collaMsg':_0xd150ae});}case j[_0x4dbefd(0x212)]:return JSON[_0x4dbefd(0x3fb)]({'cmd':_0x777308['cmd'],'routeKey':_0x777308['routeKey'],'joinReq':_0x777308[_0x4dbefd(0x455)]});case j['LEAVE']:return JSON[_0x4dbefd(0x3fb)]({'cmd':_0x777308[_0x4dbefd(0x3d5)],'routeKey':_0x777308[_0x4dbefd(0x41f)],'leaveReq':_0x777308['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ys=Object[_0x57ebea(0x1a9)],Ks=(_0x49434e,_0x3b31e8,_0x23bab6,_0x23a855)=>{var _0x521855=_0x57ebea;for(var _0x593afa=_0x23a855>0x1?void 0x0:_0x23a855?Ys(_0x3b31e8,_0x23bab6):_0x3b31e8,_0x31cc0a=_0x49434e[_0x521855(0x291)]-0x1,_0x25fad0;_0x31cc0a>=0x0;_0x31cc0a--)(_0x25fad0=_0x49434e[_0x31cc0a])&&(_0x593afa=_0x25fad0(_0x593afa)||_0x593afa);return _0x593afa;},ye=(_0x299186,_0x46a1be)=>(_0x12ae6e,_0x179119)=>_0x46a1be(_0x12ae6e,_0x179119,_0x299186);const Ri=_0x51449a(_0x57ebea(0x22b));function qs(_0x5421a7,_0x4f3dcc,_0x17497d){var _0x1f30e3=_0x57ebea;return _0x5421a7+'/'+_0x4f3dcc+_0x1f30e3(0x143)+_0x17497d+_0x1f30e3(0x2d8);}let Gt=class extends _0x396fad{constructor(_0x3e74f1,_0x2d2bc0,_0x32a855,_0x2ae505,_0x243652){var _0x3e6050=_0x57ebea;super(),this['_injector']=_0x3e74f1,this[_0x3e6050(0x320)]=_0x2d2bc0,this[_0x3e6050(0x25c)]=_0x32a855,this[_0x3e6050(0x3cc)]=_0x2ae505,this[_0x3e6050(0x2b9)]=_0x243652;}[_0x57ebea(0x415)](_0xba368d){var _0x38b74d=_0x57ebea;const _0x25f092=this[_0x38b74d(0x30c)][_0x38b74d(0x19b)](_0x35aa36);if(!_0x25f092)throw new Error(_0x38b74d(0x3a2));const _0x60713e=_0x25f092[_0x38b74d(0x190)](_0xba368d);if(!_0x60713e)throw new Error(_0x38b74d(0x186));const _0x31b39a=new _0x81af46(),_0x67e7ca=new _0x244912();_0x31b39a[_0x38b74d(0x43f)](_0x60713e[_0x38b74d(0x1ec)][_0x38b74d(0x3dc)](_0xc66f65=>_0x67e7ca[_0x38b74d(0x372)](_0xc66f65))),_0x31b39a[_0x38b74d(0x43f)](_0x920f1a(()=>_0x67e7ca['complete']()));const _0xad8fe1=new _0x244912();_0x31b39a['add'](_0x60713e['error$'][_0x38b74d(0x3dc)](_0x2e467e=>_0xad8fe1[_0x38b74d(0x372)](_0x2e467e))),_0x31b39a['add'](_0x920f1a(()=>_0xad8fe1[_0x38b74d(0x42a)]()));const _0x3c1ba0=new _0x244912();_0x31b39a['add'](_0x60713e[_0x38b74d(0x2fb)][_0x38b74d(0x3dc)](_0x3c8812=>{var _0x1a778c=_0x38b74d;const _0x44045d=Gs(_0x3c8812);_0x3c1ba0[_0x1a778c(0x372)](_0x44045d);})),_0x31b39a[_0x38b74d(0x43f)](_0x920f1a(()=>_0x3c1ba0[_0x38b74d(0x42a)]()));let _0x4d9406;const _0x5349c5=()=>{var _0x10c338=_0x38b74d;_0xad8fe1[_0x10c338(0x372)](new Event(_0x10c338(0x2bb))),_0x67e7ca[_0x10c338(0x372)](new Event(_0x10c338(0x2bb))),_0x4d9406['close']();};return _0x4d9406={'memberID':'','close$':_0x67e7ca[_0x38b74d(0x2c5)](),'error$':_0xad8fe1[_0x38b74d(0x2c5)](),'open$':_0x60713e[_0x38b74d(0x205)],'message$':_0x3c1ba0[_0x38b74d(0x2c5)](),'send':_0x5ab4c8=>{var _0x570194=_0x38b74d;if(_0x5ab4c8[_0x570194(0x3d5)]===j['INGEST']){if(_0x5ab4c8['data'][_0x570194(0x34b)]===_0x427891[_0x570194(0x3f9)]){this[_0x570194(0x45c)](_0x4d9406,_0x5ab4c8[_0x570194(0x455)])['catch'](_0x529afc=>{var _0x2d4e36=_0x570194;this[_0x2d4e36(0x3cc)][_0x2d4e36(0x379)](_0x529afc),_0x5349c5();});return;}if(_0x5ab4c8[_0x570194(0x455)]['eventID']===_0x427891[_0x570194(0x1ba)]){const _0x1a5506=_0x5ab4c8[_0x570194(0x455)];this[_0x570194(0x399)](_0x1a5506)['then'](_0x1ac3e3=>{var _0x50a93a=_0x570194;_0x3c1ba0[_0x50a93a(0x372)]({'cmd':j[_0x50a93a(0x18f)],'code':Ee['OK'],'routeKey':_0x1a5506[_0x50a93a(0x455)][_0x50a93a(0x1fb)],'routeType':'','data':{'eventID':_0x427891[_0x50a93a(0x2f9)],'data':{'changesets':_0x1ac3e3}}});})[_0x570194(0x310)](_0x37a430=>{var _0x57f0d8=_0x570194;this[_0x57f0d8(0x3cc)]['error'](_0x37a430),_0x5349c5();});return;}}_0x60713e[_0x570194(0x2f5)](Ws(_0x5ab4c8));},'close':()=>{var _0x14256a=_0x38b74d;_0x60713e['close'](),_0x31b39a[_0x14256a(0x181)]();}},_0x4d9406;}async[_0x57ebea(0x45c)](_0x533871,_0x3d912d){var _0x5705da=_0x57ebea,_0x100695;const {unitType:_0x167ff3,unitID:_0x1e144a,changeset:_0x5bf20c}=_0x3d912d[_0x5705da(0x455)],_0x5d77fb={'unitID':_0x1e144a,'memberID':_0x533871['memberID'],'type':_0x167ff3,'changeset':_0x24b872(_0x5bf20c)},_0x215e02=this[_0x5705da(0x25c)][_0x5705da(0x1f4)](K),_0x17669e=qs((_0x100695=_0x215e02==null?void 0x0:_0x215e02[_0x5705da(0x413)])!=null?_0x100695:Ns,_0x167ff3,_0x1e144a);try{await this['_httpService'][_0x5705da(0x214)](_0x17669e,{'body':_0x5d77fb});}catch(_0x2034fe){throw this['_logService'][_0x5705da(0x379)](_0x5705da(0x177),'submit\x20changeset\x20error!'),_0x2034fe;}}async[_0x57ebea(0x399)](_0xf5a311){var _0x4a358e=_0x57ebea;const {unitID:_0x1d6e3a,from:_0x1c45f2,to:_0x1887dd,unitType:_0x2abbe4}=_0xf5a311[_0x4a358e(0x455)];return(await this[_0x4a358e(0x2b9)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x1d6e3a,'type':_0x2abbe4,'from':_0x1c45f2,'to':_0x1887dd}))[_0x4a358e(0x179)]['map'](_0x4fec95=>((_0x4fec95['mutations']===null||_0x4fec95[_0x4a358e(0x15d)]===void 0x0)&&(_0x4fec95[_0x4a358e(0x15d)]=[]),_0x4fec95));}};Gt=Ks([ye(0x0,_0xd9eea8(_0xa5b871)),ye(0x1,_0xd9eea8(_0x3e703e)),ye(0x2,_0x218bfc),ye(0x3,_0x395070),ye(0x4,_0x4d28e8)],Gt);var zs=Object['getOwnPropertyDescriptor'],Xs=(_0x7c67a,_0x474ded,_0x262821,_0x25f849)=>{for(var _0x484901=_0x25f849>0x1?void 0x0:_0x25f849?zs(_0x474ded,_0x262821):_0x474ded,_0x56c40f=_0x7c67a['length']-0x1,_0xc03009;_0x56c40f>=0x0;_0x56c40f--)(_0xc03009=_0x7c67a[_0x56c40f])&&(_0x484901=_0xc03009(_0x484901)||_0x484901);return _0x484901;},Re=(_0x51ed03,_0x59edc7)=>(_0x402d18,_0x4accd9)=>_0x59edc7(_0x402d18,_0x4accd9,_0x51ed03);let we=class extends _0x396fad{constructor(_0x14198d,_0x2e999a,_0x3a0dae,_0x2ce513,_0x44d441,_0x45dcdf){var _0x2bae38=_0x57ebea;super(),D(this,_0x2bae38(0x2ee),new _0x4e139f(void 0x0)),D(this,_0x2bae38(0x2de),this[_0x2bae38(0x2ee)][_0x2bae38(0x2c5)]()),D(this,_0x2bae38(0x34a),null),D(this,'_sessions',new Map()),D(this,_0x2bae38(0x29f),new _0x4e139f(me[_0x2bae38(0x40a)])),D(this,_0x2bae38(0x14f),this[_0x2bae38(0x29f)][_0x2bae38(0x2c5)]()),D(this,_0x2bae38(0x1dc),!0x1),D(this,_0x2bae38(0x1d5)),D(this,'_retryCount',0x0),D(this,_0x2bae38(0x323)),D(this,_0x2bae38(0x218)),(this[_0x2bae38(0x30c)]=_0x14198d,this['_logService']=_0x2e999a,this[_0x2bae38(0x25c)]=_0x3a0dae,this['_socketService']=_0x2ce513,this['_collaborationUIEventService']=_0x44d441,this[_0x2bae38(0x139)]=_0x45dcdf,this[_0x2bae38(0x377)]());}get[_0x57ebea(0x235)](){var _0x514977=_0x57ebea;return this[_0x514977(0x2ee)][_0x514977(0x254)]();}['_listenToNetworkCondition'](){var _0x17f28d=_0x57ebea;this[_0x17f28d(0x139)]&&this['disposeWithMe'](this[_0x17f28d(0x139)][_0x17f28d(0x3a8)][_0x17f28d(0x3dc)](_0xf1f791=>{var _0x41ca52=_0x17f28d;_0xf1f791&&!this[_0x41ca52(0x235)]&&this['reconnect'](),_0xf1f791||this[_0x41ca52(0x418)]();}));}['dispose'](){var _0x3f7f5e=_0x57ebea;super['dispose'](),this[_0x3f7f5e(0x213)](),this[_0x3f7f5e(0x1ff)](),this[_0x3f7f5e(0x307)](),this['_sessions'][_0x3f7f5e(0x352)](_0xd9d0ae=>_0xd9d0ae[_0x3f7f5e(0x181)]()),this[_0x3f7f5e(0x309)][_0x3f7f5e(0x2b7)](),this[_0x3f7f5e(0x29f)][_0x3f7f5e(0x42a)]();}async[_0x57ebea(0x3b1)](_0x2a7dab){var _0x5cd30b=_0x57ebea;if(this[_0x5cd30b(0x309)][_0x5cd30b(0x280)](_0x2a7dab))return this[_0x5cd30b(0x309)][_0x5cd30b(0x19b)](_0x2a7dab);this[_0x5cd30b(0x211)]();const _0x48afd9=this[_0x5cd30b(0x30c)]['createInstance'](mt,_0x2a7dab,this[_0x5cd30b(0x2ee)][_0x5cd30b(0x2c5)]());return this[_0x5cd30b(0x309)][_0x5cd30b(0x375)](_0x2a7dab,_0x48afd9),_0x48afd9;}[_0x57ebea(0x35b)](_0x3f7290){var _0x396530=_0x57ebea,_0x239969;const _0x2eda2b=this[_0x396530(0x309)][_0x396530(0x19b)](_0x3f7290);_0x2eda2b&&(this[_0x396530(0x309)][_0x396530(0x22e)](_0x3f7290),_0x2eda2b['close']()),this['_sessions']['size']||(_0x239969=this[_0x396530(0x235)])==null||_0x239969['close']();}['reconnect'](){var _0x3de561=_0x57ebea;this[_0x3de561(0x3e3)]=0x0,this[_0x3de561(0x213)](),this['_tryReconnect']();}[_0x57ebea(0x213)](){var _0x5253a4=_0x57ebea;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x5253a4(0x1d5)]),this[_0x5253a4(0x1d5)]=null);}async[_0x57ebea(0x28a)](){var _0x469029=_0x57ebea,_0x2f3113;const _0x15818b=this['_configService'][_0x469029(0x1f4)](K),_0x4b0d83=(_0x2f3113=_0x15818b==null?void 0x0:_0x15818b[_0x469029(0x366)])!=null?_0x2f3113:Is,_0x34a5db=await this['_socketService'][_0x469029(0x190)](_0x4b0d83);return this['_candidateSocket']=_0x34a5db,_0x34a5db;}async[_0x57ebea(0x211)](){var _0x427bd6=_0x57ebea,_0x33f718,_0x8a036b;try{const _0x493f73=(_0x8a036b=(_0x33f718=this[_0x427bd6(0x235)])!=null?_0x33f718:this[_0x427bd6(0x34a)])!=null?_0x8a036b:await this[_0x427bd6(0x28a)]();if(_0x493f73){const _0x1764f8=_0x493f73[_0x427bd6(0x2f5)];_0x493f73[_0x427bd6(0x2f5)]=_0x4a8f58=>(this[_0x427bd6(0x3ff)](),_0x1764f8[_0x427bd6(0x2d4)](_0x493f73,[_0x4a8f58])),_0x493f73[_0x427bd6(0x2fb)][_0x427bd6(0x3dc)](_0x3a046a=>this['_onMessage'](_0x493f73,_0x3a046a)),_0x493f73[_0x427bd6(0x175)][_0x427bd6(0x165)](_0x28466d(0x1))[_0x427bd6(0x3dc)](_0x3755cb=>this[_0x427bd6(0x3cc)]['error'](_0x427bd6(0x274),_0x3755cb)),_0x493f73[_0x427bd6(0x205)][_0x427bd6(0x165)](_0x28466d(0x1))[_0x427bd6(0x3dc)](()=>{var _0x2f194c=_0x427bd6;this[_0x2f194c(0x406)](_0x493f73);}),_0x493f73[_0x427bd6(0x1ec)][_0x427bd6(0x165)](_0x28466d(0x1))[_0x427bd6(0x3dc)](_0x3c9de9=>{var _0x2a017d=_0x427bd6;this[_0x2a017d(0x3cc)][_0x2a017d(0x3b7)](_0x2a017d(0x445),_0x2a017d(0x440),_0x3c9de9),this['_onConnectionFailed']();});}}catch(_0x4a02d4){this['_logService'][_0x427bd6(0x379)](_0x4a02d4),this['_onConnectionFailed']();}}[_0x57ebea(0x406)](_0x1b7696){var _0x34b203=_0x57ebea;this['_logService'][_0x34b203(0x3b7)](_0x34b203(0x445),'socket\x20open.'),_0x1b7696['send']({'cmd':j[_0x34b203(0x321)]}),this['_rescheduleHeartbeat']();}[_0x57ebea(0x418)](){var _0x35b90f=_0x57ebea;this[_0x35b90f(0x1dc)]=!0x1,this[_0x35b90f(0x34a)]=null,this[_0x35b90f(0x29f)][_0x35b90f(0x372)](me[_0x35b90f(0x230)]),this['_socket$'][_0x35b90f(0x372)](null),this[_0x35b90f(0x1ff)](),this[_0x35b90f(0x307)]();}['_onConnectionFailed'](){var _0x219cc6=_0x57ebea,_0x4c1644;this[_0x219cc6(0x418)](),this['_retryCount']<((_0x4c1644=this[_0x219cc6(0x25c)]['getConfig'](Os))!=null?_0x4c1644:Rs)?(this[_0x219cc6(0x150)][_0x219cc6(0x37b)]({'id':re[_0x219cc6(0x2db)]}),this[_0x219cc6(0x257)]()):this[_0x219cc6(0x150)][_0x219cc6(0x37b)]({'id':re[_0x219cc6(0x2f1)]});}[_0x57ebea(0x257)](){var _0x38751b=_0x57ebea,_0x5d52a6;const _0xc4e34b=this['_retryCount'],_0x55c7a9=this[_0x38751b(0x25c)][_0x38751b(0x1f4)](K),_0x1464b5=_0xc4e34b===0x0?0x0:((_0x5d52a6=_0x55c7a9==null?void 0x0:_0x55c7a9[_0x38751b(0x398)])!=null?_0x5d52a6:Ts)*0x2**_0xc4e34b;this[_0x38751b(0x1d5)]=setTimeout(()=>{var _0x18c0b6=_0x38751b;clearTimeout(this[_0x18c0b6(0x1d5)]),this[_0x18c0b6(0x1d5)]=null,this['_tryEnsureSocket']();},_0x1464b5),this[_0x38751b(0x3e3)]+=0x1;}[_0x57ebea(0x247)](_0x302424,_0x58f472){var _0x251aa5=_0x57ebea;const {cmd:_0x27dca8}=_0x58f472;_0x27dca8===j['HELLO']&&!this['_socketReady']&&(_0x302424[_0x251aa5(0x329)]=_0x58f472[_0x251aa5(0x455)]['memberID'],this[_0x251aa5(0x2ee)]['next'](_0x302424),this['_status$'][_0x251aa5(0x372)](me[_0x251aa5(0x2f7)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x27dca8===j['HEARTBEAT']&&this[_0x251aa5(0x1ff)](),this[_0x251aa5(0x3ff)]();}['_rescheduleHeartbeat'](){var _0x1b2972=_0x57ebea,_0x34cb70;this['_clearHeartbeatTimer'](),this[_0x1b2972(0x323)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x34cb70=this['_configService']['getConfig'](Ss))!=null?_0x34cb70:gs);}[_0x57ebea(0x1c8)](){var _0x354aef=_0x57ebea;this[_0x354aef(0x235)][_0x354aef(0x2f5)]({'cmd':j[_0x354aef(0x27a)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x5036fc=_0x57ebea,_0x2e6bc5;this[_0x5036fc(0x218)]=setTimeout(()=>this[_0x5036fc(0x422)](),(_0x2e6bc5=this[_0x5036fc(0x25c)]['getConfig'](di))!=null?_0x2e6bc5:fi);}[_0x57ebea(0x307)](){var _0x3314df=_0x57ebea;this[_0x3314df(0x323)]!=null&&(clearTimeout(this[_0x3314df(0x323)]),this['_sendHeartbeatTimer']=null);}[_0x57ebea(0x1ff)](){var _0x58d353=_0x57ebea;this[_0x58d353(0x218)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};we=Xs([Re(0x0,_0xd9eea8(_0xa5b871)),Re(0x1,_0x395070),Re(0x2,_0x218bfc),Re(0x3,Ri),Re(0x4,_0xd9eea8(ve)),Re(0x5,_0x4761ab(Vs))],we);var Js=Object[_0x57ebea(0x1a9)],Zs=(_0x2044ba,_0x4a0fe4,_0x17f30b,_0x26279c)=>{for(var _0x4c1acc=_0x26279c>0x1?void 0x0:_0x26279c?Js(_0x4a0fe4,_0x17f30b):_0x4a0fe4,_0x4165e6=_0x2044ba['length']-0x1,_0x44d8a7;_0x4165e6>=0x0;_0x4165e6--)(_0x44d8a7=_0x2044ba[_0x4165e6])&&(_0x4c1acc=_0x44d8a7(_0x4c1acc)||_0x4c1acc);return _0x4c1acc;},Be=(_0x35707c,_0x380470)=>(_0x4f2ea2,_0xc3dab)=>_0x380470(_0x4f2ea2,_0xc3dab,_0x35707c);let nt=class extends _0xdd442f{constructor(_0x32af5e,_0x4f5250,_0x3136b3,_0x5d64e4){var _0x1e8873=_0x57ebea,_0x3a79d8;super(),D(this,_0x1e8873(0x442),new Map()),D(this,'_entityInit$',new _0x244912()),D(this,_0x1e8873(0x2ed),this[_0x1e8873(0x209)][_0x1e8873(0x2c5)]()),(this['_injector']=_0x32af5e,this['_collabSessionService']=_0x4f5250,this['_configService']=_0x3136b3,this[_0x1e8873(0x26b)]=_0x5d64e4,((_0x3a79d8=this[_0x1e8873(0x25c)][_0x1e8873(0x1f4)](K))==null?void 0x0:_0x3a79d8[_0x1e8873(0x1d3)])!==!0x1&&this[_0x1e8873(0x18a)]());}['dispose'](){var _0x3f010c=_0x57ebea;super['dispose'](),this[_0x3f010c(0x442)]['forEach'](_0x578d08=>_0x578d08['dispose']()),this[_0x3f010c(0x442)][_0x3f010c(0x2b7)]();}[_0x57ebea(0x25f)](_0x5e37ad){var _0x38b1e9=_0x57ebea,_0x4a0908;return(_0x4a0908=this[_0x38b1e9(0x442)][_0x38b1e9(0x19b)](_0x5e37ad))!=null?_0x4a0908:null;}['getCollabEntity$'](_0x17aa15){var _0x44cc43=_0x57ebea;const _0x12dc68=this[_0x44cc43(0x25f)](_0x17aa15);return _0x12dc68?_0x1ac9d2(_0x12dc68):this['_entityInit$'][_0x44cc43(0x165)](_0x39a069(_0x24804e=>_0x24804e[_0x44cc43(0x1fb)]===_0x17aa15));}['readyForCollab'](_0x48942d){var _0x180cfe=_0x57ebea;return _0x274940(this[_0x180cfe(0x263)](_0x48942d)[_0x180cfe(0x165)](_0xd5a8e5(()=>{})));}[_0x57ebea(0x18a)](){var _0x2cf54e=_0x57ebea;this[_0x2cf54e(0x26b)][_0x2cf54e(0x255)](_0x3d0f32[_0x2cf54e(0x382)])['pipe'](_0x1eb31f(this[_0x2cf54e(0x1c5)]),_0x2f97fd(0x10))[_0x2cf54e(0x3dc)](async _0x4851e7=>{var _0x36c127=_0x2cf54e;const _0xe45b0c=_0x4851e7[_0x36c127(0x1c3)](),_0xe09c49=await this[_0x36c127(0x298)](_0xe45b0c,Q[_0x36c127(0x382)]);this[_0x36c127(0x442)][_0x36c127(0x375)](_0xe45b0c,_0xe09c49);}),this[_0x2cf54e(0x26b)][_0x2cf54e(0x255)](_0x3d0f32[_0x2cf54e(0x234)])[_0x2cf54e(0x165)](_0x1eb31f(this[_0x2cf54e(0x1c5)]),_0x2f97fd(0x10))[_0x2cf54e(0x165)](_0x39a069(_0xfc6e8b=>!_0xfc6e8b['getUnitId']()[_0x2cf54e(0x1f5)]('__')))[_0x2cf54e(0x3dc)](async _0x226780=>{var _0xdb7302=_0x2cf54e;const _0xae2c7f=_0x226780[_0xdb7302(0x1c3)](),_0x275e3b=await this[_0xdb7302(0x298)](_0xae2c7f,Q['UNIVER_DOC']);this[_0xdb7302(0x442)]['set'](_0xae2c7f,_0x275e3b);}),_0xad8c79(this['_univerInstanceService'][_0x2cf54e(0x152)](_0x3d0f32[_0x2cf54e(0x382)]),this[_0x2cf54e(0x26b)][_0x2cf54e(0x152)](_0x3d0f32['UNIVER_DOC']))['pipe'](_0x1eb31f(this[_0x2cf54e(0x1c5)]))[_0x2cf54e(0x3dc)](_0x56a153=>{var _0x3c96d1=_0x2cf54e;const _0x31a062=_0x56a153[_0x3c96d1(0x1c3)](),_0x33629f=this[_0x3c96d1(0x442)][_0x3c96d1(0x19b)](_0x31a062);_0x33629f&&(_0x33629f[_0x3c96d1(0x181)](),this[_0x3c96d1(0x442)]['delete'](_0x31a062));});}async['_startCollaboration'](_0x565195,_0xcdee95){var _0x152ce2=_0x57ebea;const _0x3c4626=await this[_0x152ce2(0x3f4)][_0x152ce2(0x3b1)](_0x565195),_0x412c4f=this[_0x152ce2(0x30c)][_0x152ce2(0x220)](this['_getCtorByUniverType'](_0xcdee95),_0x565195,_0xcdee95,_0x3c4626);return await _0x412c4f[_0x152ce2(0x3a1)](),this[_0x152ce2(0x209)][_0x152ce2(0x372)](_0x412c4f),_0x412c4f;}['_getCtorByUniverType'](_0x1e7429){var _0x459bc1=_0x57ebea;switch(_0x1e7429){case Q[_0x459bc1(0x234)]:return It;case Q[_0x459bc1(0x382)]:return St;default:throw new Error(_0x459bc1(0x344)+_0x1e7429);}}};nt=Zs([Be(0x0,_0xd9eea8(_0xa5b871)),Be(0x1,_0xd9eea8(we)),Be(0x2,_0x218bfc),Be(0x3,_0xde0007)],nt);var Qs=Object[_0x57ebea(0x1a9)],en=(_0x329671,_0x6435cc,_0x423a97,_0x5cbb26)=>{for(var _0x52a1f1=_0x5cbb26>0x1?void 0x0:_0x5cbb26?Qs(_0x6435cc,_0x423a97):_0x6435cc,_0x59e7c6=_0x329671['length']-0x1,_0x16cd7a;_0x59e7c6>=0x0;_0x59e7c6--)(_0x16cd7a=_0x329671[_0x59e7c6])&&(_0x52a1f1=_0x16cd7a(_0x52a1f1)||_0x52a1f1);return _0x52a1f1;},Wt=(_0x4b80ee,_0x2e9f89)=>(_0x76ddc4,_0x19bf59)=>_0x2e9f89(_0x76ddc4,_0x19bf59,_0x4b80ee);const tn='DEFAULT_FILE_NAME',sn='Univer';let gt=class extends _0x396fad{constructor(_0x392506,_0x198db1){var _0x138963=_0x57ebea;super(),this[_0x138963(0x26b)]=_0x392506,this[_0x138963(0x25c)]=_0x198db1,this[_0x138963(0x18a)]();}[_0x57ebea(0x18a)](){var _0x5984dc=_0x57ebea;this['disposeWithMe'](this[_0x5984dc(0x26b)][_0x5984dc(0x39d)]['subscribe'](()=>{var _0x5bac97=_0x5984dc,_0x4ecac2;const _0x343818=this['_univerInstanceService'][_0x5bac97(0x3d7)]();let _0x25fffc=(_0x4ecac2=this[_0x5bac97(0x25c)][_0x5bac97(0x1f4)](tn))!=null?_0x4ecac2:sn;_0x343818 instanceof _0x148482&&(_0x25fffc=_0x343818[_0x5bac97(0x3ea)]),document[_0x5bac97(0x1fa)]=_0x25fffc;}));}};function _0x3257(){var _0x22b044=['ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','clone','csAckEvent','_userManagerService','/allowed','_retryCount','_HTTPService','format','ENTITLE_COUPON_EXPIRED','/resources','[OfflineState]:\x20received\x20acknowledgement.','JOIN_ROOM_NOT_EXISTS','name','/role','_getSignURL','collaMsg','shouldCloseConn','min','NoPadding','/object/','_getUploadFileURL','liveShareNewHost','_collabSessionService','updateCursorEvent','put','REDEMPTION_CODE_HAS_BEEN_CREATED','UNDEFINED','SUBMIT_CHANGESET','save\x20fail\x20reason\x20is\x20','stringify','image/jpg','/universer-api/comb','getSheetId','_rescheduleHeartbeat','/collaborator','repeat','INVALID_INVITE_CODE','encodeURIComponent','EvpKDF','_resendTimer','_onConnectionOpen','REDEMPTION_CODE_NOT_STARTED','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','Latin1','IDLE','Decryptor','USER_NOT_INVITED_CODE','_eventService','slice','toString','onRemoteChangeset','_prevBlock','src','collabSubmitChangesetUrl','ciphertext','_doCreateSocket','BlockCipherMode','POST','_onOffline','ENTITLE_CAN_NOT_BUY_LOWER_OTP','[PendingState]:\x20received\x20acknowledgement.','addHandlerCallback','LOCAL_CACHE_INTERVAL','_emitMembers','LICENSE_EXPORT_SIZE_EXCEEDED','routeKey','_scheduleCollaborationTimeoutTimer','fetch_missing','_onConnectionFailed','onRemoteRetry','_compressMutationService','INVALID_ARGUMENT','LOGIN_TOKEN_PROCESSING_FAILED','refreshPermission','_revisionService','getResourcesRequest','complete','_remoteChangesetQueue','UUID','requestParams','_reverseMap','listRoles','_socketMessageSubscription','_initUnitPermissionChange','LEAVE','_map','/rev/','_clearScheduledTask','_state$','params','REDEMPTION_CODE_INACTIVE','joinEvent','__creator','downloadEndpointUrl','blockSize','Cipher','JOIN_ROOM_FAILED','add','socket\x20close','325416dbqIww','_entities','random','_onLocalMutation','[CollaborationSessionService]','_permissionService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','Hasher','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','ENTITLE_USE_COUPON_NOT_1ST_TRADE','__Key__','function','_updateStatus','Pkcs7','[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.','MUTATION','UPDATE_PERMISSION_OBJ','_disableEditing','USERS_ENTER','_substituteUndoStack','data','YUUMI_UNABLE_LOAD_URL','_onFetchMissResult','replace','5526khxaPm','_process','compute','_submitChangeset','_doProcessBlock','_networkConditionService','BufferedBlockAlgorithm','_transformService','extend','sin','_decreaseWaiting','transformSelections','MSG_FOR_ERROR','_transformStack','csShouldRetryEvent','/unit/','_config','_localeService','onRemoteAck','compose','filter','initWorkbookPermissionChange','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_parse','MOBILE_VERIFY_CODE_MISMATCH','_onRecvEvent','LIVESHARE_OPERATION','status$','_collaborationUIEventService','_createInitialStateImpl','getTypeOfUnitDisposed$','SUBMIT_CHANGESET_TIMEOUT','ERROR_EXCEED_SIZE','YUUMI_ASYNCIO_CANCELLED','UNKNOWN_CODE','[CollaborationUndoRedoService]','APPLY_DUPLICATED','readInt32LE','REDEMPTION_USER_REDEEM_TIMES_EXCEED','INVITE_CODE_REQUIRED','ERROR_IMAGE_TYPE','mutations','getSnapshotAPIPath','hostname','APPLY_REVISION_CONFILICT','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','m2Prime','capture','USER_NOT_FOUND','pipe','_resendWithTimeout','collaboration-client.local-cache-service','clamp','UNAUTHENTICATED','getCurrentRevOfUnit','REDEMPTION_CODE_FULLY_REDEEMED','_iKey','CHANGESET_ACK','updateMember','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','PENDING','unsubscribe','_telemetryInfo','fetchMiss','_doFinalize','error$','Error\x20on\x20receiving\x20event','[CollaborationSession]','_unitID','changesets','auth.needGotoLoginAlert','HttpExport','waitForRoom$','objectID','BlockCipher','startTime','find','dispose','transformChangesets','duration','loadOfflineData','\x20in\x20_schedule.','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','onSendChangeset','_unlockTransition','newCsEvent','_init','/-/object/list','unit-cache-','roomInfos','AWAITING','RECV','createSocket','getInterceptPoints','sid','_undoRedoService','141891buUcFI','localeService','cfg','finalize','getLatestCsReqIdBySid','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','loadUnit','get','updatePermissionPoint','snapshotServerUrl','_joinRoom','FETCH_MISS','_roomMembers','Utf8','AES','ERROR_IMAGE','_changesetReqId','list','getImage','override','COMPLETION_FINISHED','getOwnPropertyDescriptor','EMAIL_HAS_BEEN_BOUND','_append','ivSize','_transformIMECache','YUUMI_AI_RUN_FAILED','encode','[CollaborationEntity]','{fileID}','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','join','originalMeta','UNIVER_SLIDE','LIVESHARE_TERMINATE','commentUpdateEvent','_updateState','PERMISSION_DENIED','FETCH_MISSING','fetching\x20missing\x20changesets\x20from\x20','_handler','__esModule','getRoom','PY_RUNTIME_SCRIPT_ERROR','csRejEvent','isArray','_getCurrentRevision','getUnitId','INVITE_CODE_HAS_BEEN_UES','dispose$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','COMPRESS_MUTATION_APPLY','_sendHeartbeat','OPTIONAL','key','_xformMode','entries','setCurrentUser','HmacSHA1','getUnit','actions','sigBytes','_applyRemoteChangeset','enableCollaboration','LOGIN_FAILED','_retryConnectingTimer','getWorkbookSelections','enableAuthServer','getCurrentSelections','_toggleOnline','defineProperty','_replaceFileID','_socketReady','_pendingMutations','APPLY_REJECT','formatter','onCommentUpdate','OTHER_CLIENT_EDITING','fromCollab','substr','sessionStatus$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_collaborationTimeoutTimer','2761065spXfYN','onMissingChangesets','LIVESHARE_NEW_HOST','People','members','close$','localCacheService','signUrlServerUrl','getUnitStatus$','getAllMembers','reverse','unitId','BASE64','getConfig','startsWith','Base','objectType','OTHER_CLIENTS_EDITING','x-univer-host','title','unitID','REDEMPTION_INVALID_CODE','MD5','1942fuAtqy','_clearTimeoutTimer','charAt','_replayCachedMutations','_registerDependencies','enableSingleActiveInstanceLock','pad','open$','getRandomValues','_checkMissing','USERS_LEAVE','_entityInit$','UNKNOWN_CMD','NEW_CHANGESETS','abs','[OfflineState]:\x20received\x20rejection.','conflict','words','onMutationExecutedForCollab','_tryEnsureSocket','JOIN','_clearRetryConnectingTimer','post','getUnitOnRev','_type','mixIn','_timeoutTimer','mode','/fetchmissing?from=','getTime','univer-pro.collaboration-client.single-active-unit-service','objects','\x20-\x20','/universer-api/oidc/authpage','createInstance','/universer-api/file/{fileID}/sign-url','setConfig','YUUMI_URL_COL_OUT_OF_RANGE','floor','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_telemetryService','byteOffset','INVITE_CODE_ALREADY_BOUND','kdf','_shouldReportTelemetry','univer-pro.collaboration-client-socket-service','_minBufferSize','GLOBAL_ROOMS_CNT_EXCEEDS','delete','splice','OFFLINE','salt','_incrementRevisionNumber','_ENC_XFORM_MODE','UNIVER_DOC','_socket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','APPLY_NON_SEQUENTIAL_REVISION','_waitCount','revision','LIVESHARE_REQUEST_HOST','image/gif','_getAPIPrefix','decryptBlock','CHANGESET_SHOULD_RETRY','?size=','crypto','putCollaborators','session.room-not-exists','_onJoinRoomEvent','offline','resolve','_toggleOffline','_onMessage','DATA_SOURCE_TOO_LARGE','default','UserProfileImg','_queuedRemoteChangesets','WordArray','SerializableCipher','disposeWithMe','_transformUndoredo','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','parse','toggleOnline','_doCryptBlock','getValue','getTypeOfUnitAdded$','_hash','_tryReconnect','ENTITLE_NEED_BILLING_ADDRESS','Failed\x20to\x20update\x20permission\x20point','enc','UNIVER_PROJECT','_configService','/universer-api/snapshot','__splitChunk__','getCollabEntity','CipherParams','fromCharCode','ws://127.0.0.1:8000/universer-api/comb/connect','getCollabEntity$','sessionStatus','COMPRESS_MUTATION_SEND','[SyncedState]:\x20received\x20acknowledgement.','_mode','saveSnapshot','LICENSE_IMPORT_SIZE_EXCEEDED','_substituteRedoStack','_univerInstanceService','onMissedChangesetFetched','interceptor','YUUMI_NO_CUBOID_FOR_QUESTION','_key','string','_clearLocalCache','Hex','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','[CollaborationSessionService]:\x20socket\x20error','snapshot','_acknowledgedAwaitingChangeset','_awaitingChangeset','_executeRemoteChangeset','_onConflict','HEARTBEAT','_DEC_XFORM_MODE','1912584mByfhI','onTransformState','reject','awaiting_with_pending','has','NOT_FOUND','\x0aAfter:\x20','ceil','every','location','type','fetchThroughInterceptors','_nRounds','AUTHORIZE_CODE_ILLEGAL','_createSocket','_scheduleCompleteTimestamp','getImageSourceCache','collaborators','_commandService','_doReset','create','length','enableOfflineEditing','textRanges','updateSnapshot','getMember','uploadFileServerUrl','getCurrentUser','_startCollaboration','editingUnit','responseType','RETRY_CONNECTING_MAX_COUNT','_onRemoteChangeset','keySize','close','_status$','YUUMI_CONNECTOR_URL_NOT_FOUND','pending','selections','deleteCollaborator','ENTITLE_CHAT_LIMIT_EXCEED','_snapshotService','userID','onTransformRemoteChangesetByStateCache','8579380eRSpQD','collaboration_new_changeset','64DojRQz','_onRemoteRetry','?url=','loadDoc','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','onRemoteRej','addImageSourceCache','liveShareOperation','createEncryptor','REDEMPTION_USER_NOT_ELIGIBLE','ENSURE_SNAPSHOT_EXECUTION','_initRequestHeader','call','clear','algo','_snapshotServerService','size','connection\x20error','&to=','encrypt','status','reqId','UNIVER_UNKNOWN','Encryptor','_getAPIPrefixPath','getDeserializedSheetBlock','CHANGESET_REJ','asObservable','indexOf','LICENSE_DISTRO_REJECTED','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','updateOfflineData','workbook','max','appendMutation','_keyPriorReset','baseRev','getUnitType','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','[FetchMissState]','removeMember','_oKey','apply','url','_localCacheService','HEARTBEAT_INTERVAL','/new_changes','includes','FAIL','SOCKET_FAILED_RETRY','_singleActiveUnitService','execute','socket$','_iv','concat','fetchMissingChangesets','leaveEvent','onlyLocal','_startTelemetryCollaborationNewChangeset','CHANGESET_REVISION_CONFILICT','_memberService','CONNECTOR_DATA_TOO_LARGE','_onCombEvent','subject','saveChangeset','onLocalMutation','ALREADY_EXISTS','entityInit$','_socket$','commentUpdate$','_resendTimeout','SOCKET_FAILED','_change$','_collaborationSessionService','_data','send','_state','ONLINE','_sessionStatus$','PSEUDO_FETCH_MISSING_RESULT','Undefined','message$','avatar','_changesetSessionId','saveSheetBlock','_getRedoStack','_transformRemoteChangesetByIMECache','_onRemoteRejected','_unitInfo$','USER_IS_ANONYMOUS','_createHandler','_instanceService','YUUMI_SUBSCRIPTION_NOT_FOUND','_clearHeartbeatTimer','append','_sessions','ENTITLE_INSUFFICIENT_QUOTA','_createHmacHelper','_injector','state','&assign=','padding','catch','HEARTBEAT_TIMEOUT','NO_OTHER_CLIENTS_EDITING','FileId','_showConflictNotification','UnitEmbedded','APPLY_PERMISSION_DENIED','reset','_throwTelemetryCollaborationNewChangeset','_event$','code','values','JOINING','/universer-api/authz','transformStack\x20failed!','[DataLoaderService]','_httpService','HELLO','stopTime','_sendHeartbeatTimer','awaitingChangeset','1239QVUjot','socketService','_transitionLocked','CURRENT_STATUS_CANNOT_OPERATE','memberID','OpenSSL','PERSON','c1Prime','map','[UniverCollaborationClientPlugin]','_nDataBytes','YUUMI_ALL_TABLES_IS_INVALID','HMAC','onStarting','_initDependencies','TOO_MANY_REQUESTS','unitId\x20is\x20not\x20found','prototype','session.room-full','Base64','JOIN_ROOM_FULL','getActiveSheet','sheets','\x20to\x20','_members','MOBILE_HAS_BEEN_BOUND','toggleOffline','_transformStateCache','permissionRejEvent','transformMutationsWithChangeset','loadUnitOfRevision','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Could\x20not\x20dynamically\x20require\x20\x22','transformUndoRedo','_getDownloadEndpointURL','LIVESHARE_FETCH_OPERATIONS','PAYMENT_CHANNEL_NOT_SUPPORT','_candidateSocket','eventID','onTransformIME','allowed','_onUserJoin','UNRECOGNIZED','target','PERMISSION_REJ','forEach','LICENSE_MAX_UNITS_EXCEEDED','collaboratorID','_sender','_members$','_sheetTransformSelectionsService','_onRemoteACK','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','isPermissionRej','closeSession','CLOSE_ROOM','_sendingTimer','onload','/block/','update','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','WECHAT_HAS_BEEN_BOUND','state$','unitInfo$','reduce','collabWebSocketUrl','SNAPSHOT_URL_KEY','_getLoginPath','action','method','HttpImport','randomBytes','_createInitialState','ENTITLE_DUP_SUBSCRIPTION','SHOULD_CLOSE_CONN','registerHTTPInterceptor','awaiting','next','/universer-api/uniscript','setWaitCount','set','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_listenToNetworkCondition','_onUserLeave','error','_transformSelections','emitEvent','processBlock','_imageSourceCache','push','msCrypto','_collaborationPaused','_schedule','UNIVER_SHEET','hasher','executeCommand','/-/object/-/batch_allowed','hasOwnProperty','getMemberID','objectActions','getSheetBlock','setShowComponents','_removeRoom','ClipsheetFragments','pauseCollaboration','copyFileMeta','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','body','1408zApSsh','$super','image/jpeg','infoRsp','SUCCUSS','_transformRemoteChangesetByStateCache','editing\x20status\x20changed\x20to','retryConnectingInterval','_fetchMissChangesets','\x0aCurrent:\x20','origin','failed\x20to\x20apply\x20missed\x20changesets!','focused$','CONFLICT','SHA1','_keySchedule','init','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','ENTITLE_COUPON_USED_UP','event$','_updateLocalCache','_roomCreated$','lib','online$','session.join-failed','_maxTotalRetryTimeout','_isPermissionRej','result','session','_invKeySchedule','headers','resend','requireSession','_getUndoStack','unknown','/universer-api/stream/file/upload','_commentUpdate$','ERROR_AGAIN','debug','_clearCollaborationTimeoutTimer','INTERNAL_ERROR','_cipher','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','byteLength','collaboration-client.config','href','univer-pro.collaboration-client.network-condition.service','_getSendChangesetTimeout','synced','encryptBlock','exports','_handlerCallback','INGEST','onTransformSelections','_hasher','AWAITING_WITH_PENDING','SNAPSHOT_INVALID_SNAPSHOT','disableLocalCache','charCodeAt','_logService','file','ENTITLE_INVALID_COUPON_CODE','UPDATE_CURSOR','range','updateCollaborator','_lockTransition','createDecryptor','onStateChange','cmd','_initMergeInterceptor','getFocusedUnit','StreamCipher','onSyncEditingCollabCursor','confirm','onTransformRemoteChangesetByIMECache','subscribe','_createHelper'];_0x3257=function(){return _0x22b044;};return _0x3257();}gt=en([Wt(0x0,_0xde0007),Wt(0x1,_0x218bfc)],gt);var nn=Object[_0x57ebea(0x1a9)],rn=(_0x105e95,_0x57fc20,_0x51762b,_0x51135b)=>{var _0x453181=_0x57ebea;for(var _0x126527=_0x51135b>0x1?void 0x0:_0x51135b?nn(_0x57fc20,_0x51762b):_0x57fc20,_0x3bceeb=_0x105e95[_0x453181(0x291)]-0x1,_0x105a09;_0x3bceeb>=0x0;_0x3bceeb--)(_0x105a09=_0x105e95[_0x3bceeb])&&(_0x126527=_0x105a09(_0x126527)||_0x126527);return _0x126527;},dt=(_0x59e48d,_0x3d9af0)=>(_0x4949cd,_0x2d47b6)=>_0x3d9af0(_0x4949cd,_0x2d47b6,_0x59e48d);let rt=class{constructor(_0x4771af,_0x8f80a8,_0x23b470){var _0x2d9bde=_0x57ebea;this[_0x2d9bde(0x25c)]=_0x4771af,this['_httpService']=_0x8f80a8,this[_0x2d9bde(0x195)]=_0x23b470,this[_0x2d9bde(0x3a1)]();}['init'](){var _0x1f4b26=_0x57ebea;this[_0x1f4b26(0x320)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x290340,_0x17cf54)=>_0x17cf54(_0x290340)[_0x1f4b26(0x165)](_0xce9a5e(async _0xaa64aa=>{var _0x102f2d=_0x1f4b26;const _0x356185=_0xaa64aa;if(_0x356185['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x102f2d(0x3da)](this[_0x102f2d(0x195)]['t'](_0x102f2d(0x17a)))){const _0x3c7574=window[_0x102f2d(0x403)](window['location'][_0x102f2d(0x3be)]);window[_0x102f2d(0x285)][_0x102f2d(0x3be)]=this[_0x102f2d(0x368)]()+_0x102f2d(0x2ac)+_0x3c7574;}}return _0x356185;}))});}[_0x57ebea(0x368)](){var _0x3c38fa;const _0x11014a=this['_configService']['getConfig'](K);return(_0x3c38fa=_0x11014a==null?void 0x0:_0x11014a['loginUrlKey'])!=null?_0x3c38fa:Cs;}};rt=rn([dt(0x0,_0x218bfc),dt(0x1,_0xd9eea8(_0x3e703e)),dt(0x2,_0xd9eea8(_0x28b880))],rt);var an=Object[_0x57ebea(0x1a9)],on=(_0x18cda4,_0x1bd542,_0x303ea6,_0x31362f)=>{var _0x2fc8be=_0x57ebea;for(var _0x584448=_0x31362f>0x1?void 0x0:_0x31362f?an(_0x1bd542,_0x303ea6):_0x1bd542,_0x32e1ab=_0x18cda4[_0x2fc8be(0x291)]-0x1,_0x1e3935;_0x32e1ab>=0x0;_0x32e1ab--)(_0x1e3935=_0x18cda4[_0x32e1ab])&&(_0x584448=_0x1e3935(_0x584448)||_0x584448);return _0x584448;},Yt=(_0xa65eb0,_0x4017c1)=>(_0x46ecf1,_0x160110)=>_0x4017c1(_0x46ecf1,_0x160110,_0xa65eb0);const cn=_0x57ebea(0x31d);let Tt=class extends _0x396fad{constructor(_0x1813b2,_0x565cc5){var _0x56b82d=_0x57ebea;super(),this[_0x56b82d(0x3e4)]=_0x1813b2,this[_0x56b82d(0x25c)]=_0x565cc5,this[_0x56b82d(0x3d6)]();}['_initMergeInterceptor'](){var _0xc5a240=_0x57ebea;const _0x2088ef=this;this[_0xc5a240(0x24e)](this['_HTTPService'][_0xc5a240(0x370)]({'priority':0x3e7,'interceptor':_0x344d51({'isMatch'(_0x469921){var _0x3eb53f=_0xc5a240,_0x4b40d0;if(_0x469921[_0x3eb53f(0x36a)]===_0x3eb53f(0x417)&&((_0x4b40d0=_0x469921[_0x3eb53f(0x42d)])!=null&&_0x4b40d0[_0x3eb53f(0x390)])){const {objectID:_0x559f9a,objectType:_0x281ba6}=_0x469921['requestParams'][_0x3eb53f(0x390)]||{};if(!_0x559f9a||_0x281ba6===void 0x0)return!0x1;const _0x2a69e1=_0x2088ef[_0x3eb53f(0x2c2)]()+'/'+_0x281ba6+_0x3eb53f(0x3f1)+_0x559f9a+_0x3eb53f(0x3e2);if(_0x469921[_0x3eb53f(0x2d5)]===_0x2a69e1)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x19e28b){var _0x4b1b44=_0xc5a240,_0x58268d;return(_0x58268d=_0x19e28b[_0x4b1b44(0x42d)])==null?void 0x0:_0x58268d['body'];},'mergeParamsToRequest'(_0x28fc94,_0x5bb405){var _0x442c9e=_0xc5a240;const _0xa57f69=_0x2088ef['_getAPIPrefixPath']()+_0x442c9e(0x385),_0x58431b=_0x28fc94[_0x442c9e(0x365)]((_0x7b1502,_0xa01062)=>{var _0x40d89a=_0x442c9e;const {unitID:_0x22508b,objectID:_0x16004d,objectType:_0x14ebbf,actions:_0x3abf55}=_0xa01062;return _0x7b1502[_0x22508b]||(_0x7b1502[_0x22508b]={}),_0x7b1502[_0x22508b][_0x16004d]||(_0x7b1502[_0x22508b][_0x16004d]={'objectID':_0x16004d,'objectType':_0x14ebbf,'actions':[]}),_0x7b1502[_0x22508b][_0x16004d][_0x40d89a(0x1d0)]['push'](..._0x3abf55),_0x7b1502;},{}),_0x82b2c1=[];for(const _0x207cc3 in _0x58431b)for(const _0x106f9f in _0x58431b[_0x207cc3]){const {actions:_0x491dbf,objectType:_0x430dfb}=_0x58431b[_0x207cc3][_0x106f9f],_0x44a281=[...new Set(_0x491dbf)];_0x82b2c1[_0x442c9e(0x37e)]({'unitID':_0x207cc3,'objectID':_0x106f9f,'objectType':_0x430dfb,'actions':_0x44a281});}return new _0x5e21a9('POST',_0xa57f69,{'headers':_0x5bb405[_0x442c9e(0x3af)],'withCredentials':_0x5bb405['withCredentials'],'responseType':_0x5bb405[_0x442c9e(0x29a)],'body':{'requests':_0x82b2c1}});}},{'distributeResult'(_0x5377bc,_0x2e1844){var _0x208d2d=_0xc5a240;const {objectActions:_0x4f5d3a}=_0x5377bc;return _0x2e1844[_0x208d2d(0x32d)](_0xe04840=>{var _0x2479e9=_0x208d2d;const {unitID:_0x3a8e9e,objectID:_0x2699a1,actions:_0xa79afb}=_0xe04840,_0x2667aa=_0x4f5d3a[_0x2479e9(0x180)](_0x1f3c06=>_0x1f3c06[_0x2479e9(0x1fb)]===_0x3a8e9e&&_0x1f3c06[_0x2479e9(0x17d)]===_0x2699a1),_0x2349f8=_0xa79afb[_0x2479e9(0x32d)](_0x467a3c=>_0x2667aa==null?void 0x0:_0x2667aa[_0x2479e9(0x1d0)][_0x2479e9(0x180)](_0x2f1e3f=>_0x2f1e3f[_0x2479e9(0x369)]===_0x467a3c))[_0x2479e9(0x148)](_0x480d63=>!!_0x480d63);return{'config':_0xe04840,'result':{'actions':_0x2349f8,'error':_0x5377bc['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x17fec1=_0x57ebea,_0xfb320;const _0x4cbf31=this[_0x17fec1(0x25c)][_0x17fec1(0x1f4)](K);return(_0xfb320=_0x4cbf31==null?void 0x0:_0x4cbf31['authzUrl'])!=null?_0xfb320:cn;}async['create'](_0x14f123){var _0x5dbf6a=_0x57ebea;const _0x493982=this['_getAPIPrefixPath']()+'/'+_0x14f123[_0x5dbf6a(0x1f7)]+'/object';return(await this['_HTTPService'][_0x5dbf6a(0x214)](_0x493982,{'body':_0x14f123}))[_0x5dbf6a(0x390)][_0x5dbf6a(0x17d)]||'';}async[_0x57ebea(0x1a5)](_0x5908f5){var _0x505740=_0x57ebea;const _0x560488=this[_0x505740(0x2c2)]()+_0x505740(0x18b);return(await this['_HTTPService'][_0x505740(0x214)](_0x560488,{'body':_0x5908f5}))[_0x505740(0x390)][_0x505740(0x21d)];}async[_0x57ebea(0x360)](_0x1e61a3){var _0x4c1a4f=_0x57ebea,_0x50c0ec,_0x589f9e;const _0x5b0ed1=this[_0x4c1a4f(0x2c2)]()+'/'+_0x1e61a3['objectType']+_0x4c1a4f(0x3f1)+_0x1e61a3[_0x4c1a4f(0x17d)],_0x4204d6=await this['_HTTPService'][_0x4c1a4f(0x3f6)](_0x5b0ed1,{'body':_0x1e61a3});if(((_0x589f9e=(_0x50c0ec=_0x4204d6==null?void 0x0:_0x4204d6['body'])==null?void 0x0:_0x50c0ec['error'])==null?void 0x0:_0x589f9e[_0x4c1a4f(0x31a)])!==0x1)throw new Error(_0x4c1a4f(0x259));}async[_0x57ebea(0x34d)](_0x94c4d6){var _0x227d98=_0x57ebea;const _0x231714=this['_getAPIPrefixPath']()+'/'+_0x94c4d6[_0x227d98(0x1f7)]+_0x227d98(0x3f1)+_0x94c4d6[_0x227d98(0x17d)]+_0x227d98(0x3e2);return(await this[_0x227d98(0x3e4)]['post'](_0x231714,{'body':_0x94c4d6}))[_0x227d98(0x390)]['actions'];}async['batchAllowed'](_0x55963f){var _0xb44d9d=_0x57ebea;const _0x115757=this[_0xb44d9d(0x2c2)]()+_0xb44d9d(0x385);return(await this[_0xb44d9d(0x3e4)][_0xb44d9d(0x214)](_0x115757,{'body':{'requests':_0x55963f}}))[_0xb44d9d(0x390)][_0xb44d9d(0x388)];}async[_0x57ebea(0x42f)](_0x3fdc69){var _0x4ceb8b=_0x57ebea;const _0x70aaa=this['_getAPIPrefixPath']()+'/'+_0x3fdc69[_0x4ceb8b(0x1f7)]+_0x4ceb8b(0x3eb),_0x3686f9=await this['_HTTPService'][_0x4ceb8b(0x214)](_0x70aaa,{'body':_0x3fdc69});return{'roles':_0x3686f9[_0x4ceb8b(0x390)]['roles'],'actions':_0x3686f9[_0x4ceb8b(0x390)][_0x4ceb8b(0x1d0)]};}async[_0x57ebea(0x2a3)](_0x1bf8f3){var _0x15bd18=_0x57ebea;const _0x53740a=this[_0x15bd18(0x2c2)]()+_0x15bd18(0x400);await this[_0x15bd18(0x3e4)]['delete'](_0x53740a,{'params':{'collaboratorID':_0x1bf8f3[_0x15bd18(0x354)],'objectID':_0x1bf8f3['objectID'],'unitID':_0x1bf8f3[_0x15bd18(0x1fb)]}});}async[_0x57ebea(0x3d1)](_0x43402e){var _0x475102=_0x57ebea;const _0x31ca7=this[_0x475102(0x2c2)]()+_0x475102(0x400);await this['_HTTPService']['patch'](_0x31ca7,{'body':_0x43402e});}async['createCollaborator'](_0x443aa2){var _0x4efb9d=_0x57ebea;const _0x145c81=this[_0x4efb9d(0x2c2)]()+'/collaborator';await this['_HTTPService'][_0x4efb9d(0x214)](_0x145c81,{'body':_0x443aa2});}async['listCollaborators'](_0x5ac504){var _0x5d9937=_0x57ebea;const _0x23a3c5=this[_0x5d9937(0x2c2)]()+_0x5d9937(0x400);return(await this[_0x5d9937(0x3e4)][_0x5d9937(0x19b)](_0x23a3c5,{'params':{'objectID':_0x5ac504[_0x5d9937(0x17d)],'unitID':_0x5ac504[_0x5d9937(0x1fb)]}}))[_0x5d9937(0x390)][_0x5d9937(0x28d)];}async[_0x57ebea(0x241)](_0x1a4e8d){var _0x266db3=_0x57ebea;const _0xa0ea3=this[_0x266db3(0x2c2)]()+_0x266db3(0x400);await this[_0x266db3(0x3e4)]['put'](_0xa0ea3,{'body':_0x1a4e8d});}};Tt=on([Yt(0x0,_0xd9eea8(_0x3e703e)),Yt(0x1,_0xd9eea8(_0x218bfc))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x4e0648){var _0x3dc4ae=_0x57ebea;return _0x4e0648&&_0x4e0648[_0x3dc4ae(0x1bd)]&&Object[_0x3dc4ae(0x336)][_0x3dc4ae(0x386)][_0x3dc4ae(0x2b6)](_0x4e0648,'default')?_0x4e0648[_0x3dc4ae(0x249)]:_0x4e0648;}var Ve={'exports':{}};function _n(_0x2607d3){var _0xb0235f=_0x57ebea;throw new Error(_0xb0235f(0x345)+_0x2607d3+_0xb0235f(0x447));}var Ge={'exports':{}},hn=Ge[_0x57ebea(0x3c3)],Kt;function ie(){var _0x31315d=_0x57ebea;return Kt||(Kt=0x1,function(_0x5f31cb,_0x5ec697){(function(_0x42d0cf,_0x35a34b){var _0x35b142=_0x5a33;_0x5f31cb[_0x35b142(0x3c3)]=_0x35a34b();}(hn,function(){var _0x4eb446=_0x4eb446||function(_0x32dc9e,_0x173f26){var _0x17f365=_0x5a33,_0x3321fa;if(typeof window<'u'&&window[_0x17f365(0x240)]&&(_0x3321fa=window[_0x17f365(0x240)]),typeof self<'u'&&self[_0x17f365(0x240)]&&(_0x3321fa=self[_0x17f365(0x240)]),typeof globalThis<'u'&&globalThis[_0x17f365(0x240)]&&(_0x3321fa=globalThis[_0x17f365(0x240)]),!_0x3321fa&&typeof window<'u'&&window[_0x17f365(0x37f)]&&(_0x3321fa=window[_0x17f365(0x37f)]),!_0x3321fa&&typeof ft<'u'&&ft[_0x17f365(0x240)]&&(_0x3321fa=ft[_0x17f365(0x240)]),!_0x3321fa&&typeof _n==_0x17f365(0x44c))try{_0x3321fa=require('crypto');}catch{}var _0x17c052=function(){var _0x361b62=_0x17f365;if(_0x3321fa){if(typeof _0x3321fa[_0x361b62(0x206)]==_0x361b62(0x44c))try{return _0x3321fa[_0x361b62(0x206)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3321fa[_0x361b62(0x36c)]==_0x361b62(0x44c))try{return _0x3321fa[_0x361b62(0x36c)](0x4)[_0x361b62(0x159)]();}catch{}}throw new Error(_0x361b62(0x250));},_0x12f68f=Object[_0x17f365(0x290)]||(function(){function _0x5b76d0(){}return function(_0x241c5b){var _0x520820=_0x5a33,_0x3e28d1;return _0x5b76d0[_0x520820(0x336)]=_0x241c5b,_0x3e28d1=new _0x5b76d0(),_0x5b76d0[_0x520820(0x336)]=null,_0x3e28d1;};}()),_0x431970={},_0x51ed9f=_0x431970[_0x17f365(0x3a7)]={},_0x3f022e=_0x51ed9f[_0x17f365(0x1f6)]=(function(){return{'extend':function(_0x5cda96){var _0x2284e8=_0x5a33,_0x2fa31b=_0x12f68f(this);return _0x5cda96&&_0x2fa31b[_0x2284e8(0x217)](_0x5cda96),(!_0x2fa31b[_0x2284e8(0x386)](_0x2284e8(0x3a1))||this[_0x2284e8(0x3a1)]===_0x2fa31b['init'])&&(_0x2fa31b[_0x2284e8(0x3a1)]=function(){var _0xdf9ecc=_0x2284e8;_0x2fa31b[_0xdf9ecc(0x392)][_0xdf9ecc(0x3a1)][_0xdf9ecc(0x2d4)](this,arguments);}),_0x2fa31b[_0x2284e8(0x3a1)][_0x2284e8(0x336)]=_0x2fa31b,_0x2fa31b[_0x2284e8(0x392)]=this,_0x2fa31b;},'create':function(){var _0x2d4c63=_0x5a33,_0xb34654=this['extend']();return _0xb34654[_0x2d4c63(0x3a1)][_0x2d4c63(0x2d4)](_0xb34654,arguments),_0xb34654;},'init':function(){},'mixIn':function(_0x4aa842){var _0x4cba73=_0x5a33;for(var _0x1d3626 in _0x4aa842)_0x4aa842[_0x4cba73(0x386)](_0x1d3626)&&(this[_0x1d3626]=_0x4aa842[_0x1d3626]);_0x4aa842[_0x4cba73(0x386)](_0x4cba73(0x40f))&&(this['toString']=_0x4aa842[_0x4cba73(0x40f)]);},'clone':function(){var _0x24d1c1=_0x5a33;return this[_0x24d1c1(0x3a1)][_0x24d1c1(0x336)][_0x24d1c1(0x13c)](this);}};}()),_0xa0be1a=_0x51ed9f[_0x17f365(0x24c)]=_0x3f022e[_0x17f365(0x13c)]({'init':function(_0x375f3b,_0x2d9adc){var _0x275e2b=_0x17f365;_0x375f3b=this['words']=_0x375f3b||[],_0x2d9adc!=_0x173f26?this['sigBytes']=_0x2d9adc:this[_0x275e2b(0x1d1)]=_0x375f3b[_0x275e2b(0x291)]*0x4;},'toString':function(_0x535786){var _0x59f153=_0x17f365;return(_0x535786||_0x4f2b2b)[_0x59f153(0x3fb)](this);},'concat':function(_0x1d0a69){var _0x5480ac=_0x17f365,_0x17c030=this[_0x5480ac(0x20f)],_0x305c17=_0x1d0a69[_0x5480ac(0x20f)],_0x2e9772=this['sigBytes'],_0x15fcd0=_0x1d0a69[_0x5480ac(0x1d1)];if(this[_0x5480ac(0x168)](),_0x2e9772%0x4)for(var _0x17f4e7=0x0;_0x17f4e7<_0x15fcd0;_0x17f4e7++){var _0x4d616e=_0x305c17[_0x17f4e7>>>0x2]>>>0x18-_0x17f4e7%0x4*0x8&0xff;_0x17c030[_0x2e9772+_0x17f4e7>>>0x2]|=_0x4d616e<<0x18-(_0x2e9772+_0x17f4e7)%0x4*0x8;}else{for(var _0x43479c=0x0;_0x43479c<_0x15fcd0;_0x43479c+=0x4)_0x17c030[_0x2e9772+_0x43479c>>>0x2]=_0x305c17[_0x43479c>>>0x2];}return this[_0x5480ac(0x1d1)]+=_0x15fcd0,this;},'clamp':function(){var _0x2d30a6=_0x17f365,_0x5b18f2=this[_0x2d30a6(0x20f)],_0x2de364=this['sigBytes'];_0x5b18f2[_0x2de364>>>0x2]&=0xffffffff<<0x20-_0x2de364%0x4*0x8,_0x5b18f2[_0x2d30a6(0x291)]=_0x32dc9e[_0x2d30a6(0x283)](_0x2de364/0x4);},'clone':function(){var _0x3f05cb=_0x17f365,_0x43dafe=_0x3f022e[_0x3f05cb(0x3df)]['call'](this);return _0x43dafe['words']=this[_0x3f05cb(0x20f)]['slice'](0x0),_0x43dafe;},'random':function(_0x47bf49){var _0x3c83de=_0x17f365;for(var _0x428ddf=[],_0x549ecf=0x0;_0x549ecf<_0x47bf49;_0x549ecf+=0x4)_0x428ddf[_0x3c83de(0x37e)](_0x17c052());return new _0xa0be1a[(_0x3c83de(0x3a1))](_0x428ddf,_0x47bf49);}}),_0x113642=_0x431970['enc']={},_0x4f2b2b=_0x113642[_0x17f365(0x272)]={'stringify':function(_0x977c7d){var _0x4b2f7d=_0x17f365;for(var _0x281890=_0x977c7d[_0x4b2f7d(0x20f)],_0x4a1503=_0x977c7d[_0x4b2f7d(0x1d1)],_0x1ac297=[],_0x57c23a=0x0;_0x57c23a<_0x4a1503;_0x57c23a++){var _0x16a137=_0x281890[_0x57c23a>>>0x2]>>>0x18-_0x57c23a%0x4*0x8&0xff;_0x1ac297[_0x4b2f7d(0x37e)]((_0x16a137>>>0x4)['toString'](0x10)),_0x1ac297[_0x4b2f7d(0x37e)]((_0x16a137&0xf)[_0x4b2f7d(0x40f)](0x10));}return _0x1ac297[_0x4b2f7d(0x1b3)]('');},'parse':function(_0x59a645){var _0x219278=_0x17f365;for(var _0x4a14ae=_0x59a645[_0x219278(0x291)],_0x1c96c9=[],_0x79809d=0x0;_0x79809d<_0x4a14ae;_0x79809d+=0x2)_0x1c96c9[_0x79809d>>>0x3]|=parseInt(_0x59a645[_0x219278(0x1e3)](_0x79809d,0x2),0x10)<<0x18-_0x79809d%0x8*0x4;return new _0xa0be1a['init'](_0x1c96c9,_0x4a14ae/0x2);}},_0x4958c9=_0x113642[_0x17f365(0x409)]={'stringify':function(_0x2106b9){var _0xbce392=_0x17f365;for(var _0x38645f=_0x2106b9[_0xbce392(0x20f)],_0x449d6c=_0x2106b9[_0xbce392(0x1d1)],_0x5801d1=[],_0x44bbea=0x0;_0x44bbea<_0x449d6c;_0x44bbea++){var _0x3e227f=_0x38645f[_0x44bbea>>>0x2]>>>0x18-_0x44bbea%0x4*0x8&0xff;_0x5801d1[_0xbce392(0x37e)](String[_0xbce392(0x261)](_0x3e227f));}return _0x5801d1[_0xbce392(0x1b3)]('');},'parse':function(_0x406e26){var _0x4fe4ec=_0x17f365;for(var _0x221c9c=_0x406e26[_0x4fe4ec(0x291)],_0x5115e9=[],_0x214f83=0x0;_0x214f83<_0x221c9c;_0x214f83++)_0x5115e9[_0x214f83>>>0x2]|=(_0x406e26[_0x4fe4ec(0x3cb)](_0x214f83)&0xff)<<0x18-_0x214f83%0x4*0x8;return new _0xa0be1a[(_0x4fe4ec(0x3a1))](_0x5115e9,_0x221c9c);}},_0x4d8d1c=_0x113642['Utf8']={'stringify':function(_0x4c6b0f){var _0x1415b3=_0x17f365;try{return decodeURIComponent(escape(_0x4958c9[_0x1415b3(0x3fb)](_0x4c6b0f)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x398241){var _0x538353=_0x17f365;return _0x4958c9[_0x538353(0x251)](unescape(encodeURIComponent(_0x398241)));}},_0x428e39=_0x51ed9f[_0x17f365(0x13a)]=_0x3f022e[_0x17f365(0x13c)]({'reset':function(){var _0x495331=_0x17f365;this[_0x495331(0x2f4)]=new _0xa0be1a[(_0x495331(0x3a1))](),this[_0x495331(0x32f)]=0x0;},'_append':function(_0x357cef){var _0x1af717=_0x17f365;typeof _0x357cef==_0x1af717(0x270)&&(_0x357cef=_0x4d8d1c[_0x1af717(0x251)](_0x357cef)),this[_0x1af717(0x2f4)][_0x1af717(0x2e0)](_0x357cef),this[_0x1af717(0x32f)]+=_0x357cef['sigBytes'];},'_process':function(_0x3e4ebe){var _0x2c561a=_0x17f365,_0x2541c5,_0x25bae1=this[_0x2c561a(0x2f4)],_0x2ca8f7=_0x25bae1[_0x2c561a(0x20f)],_0x403e6d=_0x25bae1[_0x2c561a(0x1d1)],_0x3ba9a1=this[_0x2c561a(0x43c)],_0x39fb69=_0x3ba9a1*0x4,_0x4734e3=_0x403e6d/_0x39fb69;_0x3e4ebe?_0x4734e3=_0x32dc9e[_0x2c561a(0x283)](_0x4734e3):_0x4734e3=_0x32dc9e['max']((_0x4734e3|0x0)-this[_0x2c561a(0x22c)],0x0);var _0x1c521f=_0x4734e3*_0x3ba9a1,_0x309237=_0x32dc9e[_0x2c561a(0x3ef)](_0x1c521f*0x4,_0x403e6d);if(_0x1c521f){for(var _0x1d22ee=0x0;_0x1d22ee<_0x1c521f;_0x1d22ee+=_0x3ba9a1)this[_0x2c561a(0x138)](_0x2ca8f7,_0x1d22ee);_0x2541c5=_0x2ca8f7[_0x2c561a(0x22f)](0x0,_0x1c521f),_0x25bae1[_0x2c561a(0x1d1)]-=_0x309237;}return new _0xa0be1a[(_0x2c561a(0x3a1))](_0x2541c5,_0x309237);},'clone':function(){var _0x3b63c6=_0x17f365,_0x2cbd29=_0x3f022e[_0x3b63c6(0x3df)]['call'](this);return _0x2cbd29[_0x3b63c6(0x2f4)]=this[_0x3b63c6(0x2f4)][_0x3b63c6(0x3df)](),_0x2cbd29;},'_minBufferSize':0x0});_0x51ed9f['Hasher']=_0x428e39[_0x17f365(0x13c)]({'cfg':_0x3f022e[_0x17f365(0x13c)](),'init':function(_0x31a273){var _0x46dcc8=_0x17f365;this[_0x46dcc8(0x196)]=this[_0x46dcc8(0x196)][_0x46dcc8(0x13c)](_0x31a273),this[_0x46dcc8(0x317)]();},'reset':function(){var _0x5b2497=_0x17f365;_0x428e39[_0x5b2497(0x317)][_0x5b2497(0x2b6)](this),this[_0x5b2497(0x28f)]();},'update':function(_0x3c9cac){var _0x3f088a=_0x17f365;return this[_0x3f088a(0x1ab)](_0x3c9cac),this[_0x3f088a(0x45a)](),this;},'finalize':function(_0x17504e){var _0x3448ac=_0x17f365;_0x17504e&&this[_0x3448ac(0x1ab)](_0x17504e);var _0x5020b2=this['_doFinalize']();return _0x5020b2;},'blockSize':0x10,'_createHelper':function(_0x147b90){return function(_0x229365,_0x18490d){var _0x1245ff=_0x5a33;return new _0x147b90[(_0x1245ff(0x3a1))](_0x18490d)['finalize'](_0x229365);};},'_createHmacHelper':function(_0x57a646){return function(_0x525d11,_0x3fefea){var _0xc0db7=_0x5a33;return new _0x3feee7['HMAC'][(_0xc0db7(0x3a1))](_0x57a646,_0x3fefea)[_0xc0db7(0x197)](_0x525d11);};}});var _0x3feee7=_0x431970[_0x17f365(0x2b8)]={};return _0x431970;}(Math);return _0x4eb446;}));}(Ge)),Ge[_0x31315d(0x3c3)];}var We={'exports':{}},ln=We[_0x57ebea(0x3c3)],qt;function Ni(){return qt||(qt=0x1,function(_0x2d766a,_0x451bf1){(function(_0xcfdf12,_0x205a8d){_0x2d766a['exports']=_0x205a8d(ie());}(ln,function(_0x1fdda6){var _0x229b47=_0x5a33;return(function(){var _0x455d42=_0x5a33,_0x504a33=_0x1fdda6,_0x1ad934=_0x504a33[_0x455d42(0x3a7)],_0x5d5044=_0x1ad934['WordArray'],_0x28c952=_0x504a33['enc'];_0x28c952[_0x455d42(0x338)]={'stringify':function(_0x44af85){var _0x53c4fa=_0x455d42,_0x36cfa4=_0x44af85['words'],_0x565446=_0x44af85[_0x53c4fa(0x1d1)],_0xf095f1=this[_0x53c4fa(0x433)];_0x44af85[_0x53c4fa(0x168)]();for(var _0x2d41ea=[],_0x3d1ba5=0x0;_0x3d1ba5<_0x565446;_0x3d1ba5+=0x3)for(var _0x3813a1=_0x36cfa4[_0x3d1ba5>>>0x2]>>>0x18-_0x3d1ba5%0x4*0x8&0xff,_0x2a213b=_0x36cfa4[_0x3d1ba5+0x1>>>0x2]>>>0x18-(_0x3d1ba5+0x1)%0x4*0x8&0xff,_0x2474f2=_0x36cfa4[_0x3d1ba5+0x2>>>0x2]>>>0x18-(_0x3d1ba5+0x2)%0x4*0x8&0xff,_0x991a22=_0x3813a1<<0x10|_0x2a213b<<0x8|_0x2474f2,_0x5d728b=0x0;_0x5d728b<0x4&&_0x3d1ba5+_0x5d728b*0.75<_0x565446;_0x5d728b++)_0x2d41ea[_0x53c4fa(0x37e)](_0xf095f1[_0x53c4fa(0x200)](_0x991a22>>>0x6*(0x3-_0x5d728b)&0x3f));var _0x571f82=_0xf095f1['charAt'](0x40);if(_0x571f82){for(;_0x2d41ea['length']%0x4;)_0x2d41ea[_0x53c4fa(0x37e)](_0x571f82);}return _0x2d41ea[_0x53c4fa(0x1b3)]('');},'parse':function(_0x4d9c8e){var _0x54c4ce=_0x455d42,_0x50f6cd=_0x4d9c8e[_0x54c4ce(0x291)],_0x33ed03=this[_0x54c4ce(0x433)],_0x2a79cd=this['_reverseMap'];if(!_0x2a79cd){_0x2a79cd=this[_0x54c4ce(0x42e)]=[];for(var _0x1471d1=0x0;_0x1471d1<_0x33ed03[_0x54c4ce(0x291)];_0x1471d1++)_0x2a79cd[_0x33ed03['charCodeAt'](_0x1471d1)]=_0x1471d1;}var _0x40f9cf=_0x33ed03[_0x54c4ce(0x200)](0x40);if(_0x40f9cf){var _0x6d55a1=_0x4d9c8e[_0x54c4ce(0x2c6)](_0x40f9cf);_0x6d55a1!==-0x1&&(_0x50f6cd=_0x6d55a1);}return _0x27c432(_0x4d9c8e,_0x50f6cd,_0x2a79cd);},'_map':_0x455d42(0x3de)};function _0x27c432(_0x5bf125,_0x4c21fc,_0x1346e9){var _0x3f2cf2=_0x455d42;for(var _0xcb64e7=[],_0x55aabd=0x0,_0x484fc7=0x0;_0x484fc7<_0x4c21fc;_0x484fc7++)if(_0x484fc7%0x4){var _0x5bb525=_0x1346e9[_0x5bf125['charCodeAt'](_0x484fc7-0x1)]<<_0x484fc7%0x4*0x2,_0x2e2ff9=_0x1346e9[_0x5bf125[_0x3f2cf2(0x3cb)](_0x484fc7)]>>>0x6-_0x484fc7%0x4*0x2,_0x54ac10=_0x5bb525|_0x2e2ff9;_0xcb64e7[_0x55aabd>>>0x2]|=_0x54ac10<<0x18-_0x55aabd%0x4*0x8,_0x55aabd++;}return _0x5d5044[_0x3f2cf2(0x290)](_0xcb64e7,_0x55aabd);}}()),_0x1fdda6[_0x229b47(0x25a)][_0x229b47(0x338)];}));}(We)),We['exports'];}var Ye={'exports':{}},un=Ye[_0x57ebea(0x3c3)],zt;function dn(){return zt||(zt=0x1,function(_0x1ceb61,_0x5b8259){(function(_0x513beb,_0x45262e){var _0x4372f9=_0x5a33;_0x1ceb61[_0x4372f9(0x3c3)]=_0x45262e(ie());}(un,function(_0x704114){var _0x21ddc8=_0x5a33;return function(_0x16e2cf){var _0x1950f8=_0x5a33,_0x5a5430=_0x704114,_0x3a449c=_0x5a5430[_0x1950f8(0x3a7)],_0x4976c3=_0x3a449c[_0x1950f8(0x24c)],_0x16302a=_0x3a449c[_0x1950f8(0x448)],_0x5a9821=_0x5a5430[_0x1950f8(0x2b8)],_0x1762ef=[];(function(){var _0x52955b=_0x1950f8;for(var _0x374d0c=0x0;_0x374d0c<0x40;_0x374d0c++)_0x1762ef[_0x374d0c]=_0x16e2cf[_0x52955b(0x20c)](_0x16e2cf[_0x52955b(0x13d)](_0x374d0c+0x1))*0x100000000|0x0;}());var _0x5d9cfa=_0x5a9821[_0x1950f8(0x1fd)]=_0x16302a[_0x1950f8(0x13c)]({'_doReset':function(){var _0x34e6d7=_0x1950f8;this[_0x34e6d7(0x256)]=new _0x4976c3[(_0x34e6d7(0x3a1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2fac30,_0x3e81c4){var _0x491634=_0x1950f8;for(var _0x21fff6=0x0;_0x21fff6<0x10;_0x21fff6++){var _0x401d7e=_0x3e81c4+_0x21fff6,_0x2d4bc9=_0x2fac30[_0x401d7e];_0x2fac30[_0x401d7e]=(_0x2d4bc9<<0x8|_0x2d4bc9>>>0x18)&0xff00ff|(_0x2d4bc9<<0x18|_0x2d4bc9>>>0x8)&0xff00ff00;}var _0x4cee49=this[_0x491634(0x256)][_0x491634(0x20f)],_0x181feb=_0x2fac30[_0x3e81c4+0x0],_0x6f06b0=_0x2fac30[_0x3e81c4+0x1],_0x55c02f=_0x2fac30[_0x3e81c4+0x2],_0x5720fd=_0x2fac30[_0x3e81c4+0x3],_0x52beb0=_0x2fac30[_0x3e81c4+0x4],_0x257678=_0x2fac30[_0x3e81c4+0x5],_0x18d680=_0x2fac30[_0x3e81c4+0x6],_0x326e5b=_0x2fac30[_0x3e81c4+0x7],_0x532fe8=_0x2fac30[_0x3e81c4+0x8],_0x1d40d0=_0x2fac30[_0x3e81c4+0x9],_0x15bd13=_0x2fac30[_0x3e81c4+0xa],_0x2337cc=_0x2fac30[_0x3e81c4+0xb],_0x4e930b=_0x2fac30[_0x3e81c4+0xc],_0x4311f4=_0x2fac30[_0x3e81c4+0xd],_0x3690e0=_0x2fac30[_0x3e81c4+0xe],_0x29ab48=_0x2fac30[_0x3e81c4+0xf],_0x3e441f=_0x4cee49[0x0],_0x118d8e=_0x4cee49[0x1],_0x555807=_0x4cee49[0x2],_0x562821=_0x4cee49[0x3];_0x3e441f=_0x489de2(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x181feb,0x7,_0x1762ef[0x0]),_0x562821=_0x489de2(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x6f06b0,0xc,_0x1762ef[0x1]),_0x555807=_0x489de2(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x55c02f,0x11,_0x1762ef[0x2]),_0x118d8e=_0x489de2(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x5720fd,0x16,_0x1762ef[0x3]),_0x3e441f=_0x489de2(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x52beb0,0x7,_0x1762ef[0x4]),_0x562821=_0x489de2(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x257678,0xc,_0x1762ef[0x5]),_0x555807=_0x489de2(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x18d680,0x11,_0x1762ef[0x6]),_0x118d8e=_0x489de2(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x326e5b,0x16,_0x1762ef[0x7]),_0x3e441f=_0x489de2(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x532fe8,0x7,_0x1762ef[0x8]),_0x562821=_0x489de2(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x1d40d0,0xc,_0x1762ef[0x9]),_0x555807=_0x489de2(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x15bd13,0x11,_0x1762ef[0xa]),_0x118d8e=_0x489de2(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x2337cc,0x16,_0x1762ef[0xb]),_0x3e441f=_0x489de2(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x4e930b,0x7,_0x1762ef[0xc]),_0x562821=_0x489de2(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x4311f4,0xc,_0x1762ef[0xd]),_0x555807=_0x489de2(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x3690e0,0x11,_0x1762ef[0xe]),_0x118d8e=_0x489de2(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x29ab48,0x16,_0x1762ef[0xf]),_0x3e441f=_0x352b58(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x6f06b0,0x5,_0x1762ef[0x10]),_0x562821=_0x352b58(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x18d680,0x9,_0x1762ef[0x11]),_0x555807=_0x352b58(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x2337cc,0xe,_0x1762ef[0x12]),_0x118d8e=_0x352b58(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x181feb,0x14,_0x1762ef[0x13]),_0x3e441f=_0x352b58(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x257678,0x5,_0x1762ef[0x14]),_0x562821=_0x352b58(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x15bd13,0x9,_0x1762ef[0x15]),_0x555807=_0x352b58(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x29ab48,0xe,_0x1762ef[0x16]),_0x118d8e=_0x352b58(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x52beb0,0x14,_0x1762ef[0x17]),_0x3e441f=_0x352b58(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x1d40d0,0x5,_0x1762ef[0x18]),_0x562821=_0x352b58(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x3690e0,0x9,_0x1762ef[0x19]),_0x555807=_0x352b58(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x5720fd,0xe,_0x1762ef[0x1a]),_0x118d8e=_0x352b58(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x532fe8,0x14,_0x1762ef[0x1b]),_0x3e441f=_0x352b58(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x4311f4,0x5,_0x1762ef[0x1c]),_0x562821=_0x352b58(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x55c02f,0x9,_0x1762ef[0x1d]),_0x555807=_0x352b58(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x326e5b,0xe,_0x1762ef[0x1e]),_0x118d8e=_0x352b58(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x4e930b,0x14,_0x1762ef[0x1f]),_0x3e441f=_0x5aa061(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x257678,0x4,_0x1762ef[0x20]),_0x562821=_0x5aa061(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x532fe8,0xb,_0x1762ef[0x21]),_0x555807=_0x5aa061(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x2337cc,0x10,_0x1762ef[0x22]),_0x118d8e=_0x5aa061(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x3690e0,0x17,_0x1762ef[0x23]),_0x3e441f=_0x5aa061(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x6f06b0,0x4,_0x1762ef[0x24]),_0x562821=_0x5aa061(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x52beb0,0xb,_0x1762ef[0x25]),_0x555807=_0x5aa061(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x326e5b,0x10,_0x1762ef[0x26]),_0x118d8e=_0x5aa061(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x15bd13,0x17,_0x1762ef[0x27]),_0x3e441f=_0x5aa061(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x4311f4,0x4,_0x1762ef[0x28]),_0x562821=_0x5aa061(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x181feb,0xb,_0x1762ef[0x29]),_0x555807=_0x5aa061(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x5720fd,0x10,_0x1762ef[0x2a]),_0x118d8e=_0x5aa061(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x18d680,0x17,_0x1762ef[0x2b]),_0x3e441f=_0x5aa061(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x1d40d0,0x4,_0x1762ef[0x2c]),_0x562821=_0x5aa061(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x4e930b,0xb,_0x1762ef[0x2d]),_0x555807=_0x5aa061(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x29ab48,0x10,_0x1762ef[0x2e]),_0x118d8e=_0x5aa061(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x55c02f,0x17,_0x1762ef[0x2f]),_0x3e441f=_0xf968f0(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x181feb,0x6,_0x1762ef[0x30]),_0x562821=_0xf968f0(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x326e5b,0xa,_0x1762ef[0x31]),_0x555807=_0xf968f0(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x3690e0,0xf,_0x1762ef[0x32]),_0x118d8e=_0xf968f0(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x257678,0x15,_0x1762ef[0x33]),_0x3e441f=_0xf968f0(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x4e930b,0x6,_0x1762ef[0x34]),_0x562821=_0xf968f0(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x5720fd,0xa,_0x1762ef[0x35]),_0x555807=_0xf968f0(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x15bd13,0xf,_0x1762ef[0x36]),_0x118d8e=_0xf968f0(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x6f06b0,0x15,_0x1762ef[0x37]),_0x3e441f=_0xf968f0(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x532fe8,0x6,_0x1762ef[0x38]),_0x562821=_0xf968f0(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x29ab48,0xa,_0x1762ef[0x39]),_0x555807=_0xf968f0(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x18d680,0xf,_0x1762ef[0x3a]),_0x118d8e=_0xf968f0(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x4311f4,0x15,_0x1762ef[0x3b]),_0x3e441f=_0xf968f0(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x52beb0,0x6,_0x1762ef[0x3c]),_0x562821=_0xf968f0(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x2337cc,0xa,_0x1762ef[0x3d]),_0x555807=_0xf968f0(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x55c02f,0xf,_0x1762ef[0x3e]),_0x118d8e=_0xf968f0(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x1d40d0,0x15,_0x1762ef[0x3f]),_0x4cee49[0x0]=_0x4cee49[0x0]+_0x3e441f|0x0,_0x4cee49[0x1]=_0x4cee49[0x1]+_0x118d8e|0x0,_0x4cee49[0x2]=_0x4cee49[0x2]+_0x555807|0x0,_0x4cee49[0x3]=_0x4cee49[0x3]+_0x562821|0x0;},'_doFinalize':function(){var _0x4d9565=_0x1950f8,_0x2a9352=this['_data'],_0x20ad25=_0x2a9352[_0x4d9565(0x20f)],_0x494e09=this[_0x4d9565(0x32f)]*0x8,_0x1dc758=_0x2a9352['sigBytes']*0x8;_0x20ad25[_0x1dc758>>>0x5]|=0x80<<0x18-_0x1dc758%0x20;var _0x5bdf46=_0x16e2cf[_0x4d9565(0x224)](_0x494e09/0x100000000),_0x1ab000=_0x494e09;_0x20ad25[(_0x1dc758+0x40>>>0x9<<0x4)+0xf]=(_0x5bdf46<<0x8|_0x5bdf46>>>0x18)&0xff00ff|(_0x5bdf46<<0x18|_0x5bdf46>>>0x8)&0xff00ff00,_0x20ad25[(_0x1dc758+0x40>>>0x9<<0x4)+0xe]=(_0x1ab000<<0x8|_0x1ab000>>>0x18)&0xff00ff|(_0x1ab000<<0x18|_0x1ab000>>>0x8)&0xff00ff00,_0x2a9352['sigBytes']=(_0x20ad25['length']+0x1)*0x4,this[_0x4d9565(0x45a)]();for(var _0x4110e1=this[_0x4d9565(0x256)],_0x428e47=_0x4110e1[_0x4d9565(0x20f)],_0x4fc1d7=0x0;_0x4fc1d7<0x4;_0x4fc1d7++){var _0x573d01=_0x428e47[_0x4fc1d7];_0x428e47[_0x4fc1d7]=(_0x573d01<<0x8|_0x573d01>>>0x18)&0xff00ff|(_0x573d01<<0x18|_0x573d01>>>0x8)&0xff00ff00;}return _0x4110e1;},'clone':function(){var _0x3d13cb=_0x1950f8,_0x5eed6e=_0x16302a[_0x3d13cb(0x3df)][_0x3d13cb(0x2b6)](this);return _0x5eed6e[_0x3d13cb(0x256)]=this[_0x3d13cb(0x256)][_0x3d13cb(0x3df)](),_0x5eed6e;}});function _0x489de2(_0x49426b,_0xabf306,_0xb26cfe,_0x219c33,_0x480f99,_0x58d5e3,_0x27d4e0){var _0x3d7006=_0x49426b+(_0xabf306&_0xb26cfe|~_0xabf306&_0x219c33)+_0x480f99+_0x27d4e0;return(_0x3d7006<<_0x58d5e3|_0x3d7006>>>0x20-_0x58d5e3)+_0xabf306;}function _0x352b58(_0x418418,_0x5f0d03,_0x5cdb60,_0x50fd06,_0x59fe17,_0x26bc4c,_0x27524f){var _0x4ec055=_0x418418+(_0x5f0d03&_0x50fd06|_0x5cdb60&~_0x50fd06)+_0x59fe17+_0x27524f;return(_0x4ec055<<_0x26bc4c|_0x4ec055>>>0x20-_0x26bc4c)+_0x5f0d03;}function _0x5aa061(_0x1fd96c,_0x5c81c7,_0x77f170,_0x4d261f,_0xe8190a,_0x260296,_0x5b2e16){var _0x3b6a3d=_0x1fd96c+(_0x5c81c7^_0x77f170^_0x4d261f)+_0xe8190a+_0x5b2e16;return(_0x3b6a3d<<_0x260296|_0x3b6a3d>>>0x20-_0x260296)+_0x5c81c7;}function _0xf968f0(_0x213043,_0x2be3d7,_0x32f0c7,_0x30e35b,_0x227ebe,_0x1a0822,_0x46193e){var _0x3da01f=_0x213043+(_0x32f0c7^(_0x2be3d7|~_0x30e35b))+_0x227ebe+_0x46193e;return(_0x3da01f<<_0x1a0822|_0x3da01f>>>0x20-_0x1a0822)+_0x2be3d7;}_0x5a5430[_0x1950f8(0x1fd)]=_0x16302a[_0x1950f8(0x3dd)](_0x5d9cfa),_0x5a5430['HmacMD5']=_0x16302a[_0x1950f8(0x30b)](_0x5d9cfa);}(Math),_0x704114[_0x21ddc8(0x1fd)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},fn=qe['exports'],Xt;function vn(){var _0x4724dd=_0x57ebea;return Xt||(Xt=0x1,function(_0x181142,_0xa8ff8e){(function(_0x3edc43,_0x2fe021){var _0x15bd79=_0x5a33;_0x181142[_0x15bd79(0x3c3)]=_0x2fe021(ie());}(fn,function(_0x2b441e){var _0x455bf6=_0x5a33;return(function(){var _0x57f007=_0x5a33,_0x62afd=_0x2b441e,_0xe15636=_0x62afd[_0x57f007(0x3a7)],_0x5e8c86=_0xe15636[_0x57f007(0x24c)],_0x1ff4b5=_0xe15636[_0x57f007(0x448)],_0x279d4d=_0x62afd[_0x57f007(0x2b8)],_0x170da8=[],_0x3b5369=_0x279d4d[_0x57f007(0x39f)]=_0x1ff4b5['extend']({'_doReset':function(){var _0x1255e1=_0x57f007;this[_0x1255e1(0x256)]=new _0x5e8c86['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x36d9a8,_0x124e2f){var _0x5c9298=_0x57f007;for(var _0x22c88e=this[_0x5c9298(0x256)][_0x5c9298(0x20f)],_0x59d74e=_0x22c88e[0x0],_0x610bbe=_0x22c88e[0x1],_0x4c09a3=_0x22c88e[0x2],_0x17e24b=_0x22c88e[0x3],_0x2c70a8=_0x22c88e[0x4],_0x6c0098=0x0;_0x6c0098<0x50;_0x6c0098++){if(_0x6c0098<0x10)_0x170da8[_0x6c0098]=_0x36d9a8[_0x124e2f+_0x6c0098]|0x0;else{var _0x1ca958=_0x170da8[_0x6c0098-0x3]^_0x170da8[_0x6c0098-0x8]^_0x170da8[_0x6c0098-0xe]^_0x170da8[_0x6c0098-0x10];_0x170da8[_0x6c0098]=_0x1ca958<<0x1|_0x1ca958>>>0x1f;}var _0x376ff4=(_0x59d74e<<0x5|_0x59d74e>>>0x1b)+_0x2c70a8+_0x170da8[_0x6c0098];_0x6c0098<0x14?_0x376ff4+=(_0x610bbe&_0x4c09a3|~_0x610bbe&_0x17e24b)+0x5a827999:_0x6c0098<0x28?_0x376ff4+=(_0x610bbe^_0x4c09a3^_0x17e24b)+0x6ed9eba1:_0x6c0098<0x3c?_0x376ff4+=(_0x610bbe&_0x4c09a3|_0x610bbe&_0x17e24b|_0x4c09a3&_0x17e24b)-0x70e44324:_0x376ff4+=(_0x610bbe^_0x4c09a3^_0x17e24b)-0x359d3e2a,_0x2c70a8=_0x17e24b,_0x17e24b=_0x4c09a3,_0x4c09a3=_0x610bbe<<0x1e|_0x610bbe>>>0x2,_0x610bbe=_0x59d74e,_0x59d74e=_0x376ff4;}_0x22c88e[0x0]=_0x22c88e[0x0]+_0x59d74e|0x0,_0x22c88e[0x1]=_0x22c88e[0x1]+_0x610bbe|0x0,_0x22c88e[0x2]=_0x22c88e[0x2]+_0x4c09a3|0x0,_0x22c88e[0x3]=_0x22c88e[0x3]+_0x17e24b|0x0,_0x22c88e[0x4]=_0x22c88e[0x4]+_0x2c70a8|0x0;},'_doFinalize':function(){var _0x324ce5=_0x57f007,_0x54bb14=this[_0x324ce5(0x2f4)],_0x161870=_0x54bb14[_0x324ce5(0x20f)],_0x4afc31=this[_0x324ce5(0x32f)]*0x8,_0x5810b7=_0x54bb14[_0x324ce5(0x1d1)]*0x8;return _0x161870[_0x5810b7>>>0x5]|=0x80<<0x18-_0x5810b7%0x20,_0x161870[(_0x5810b7+0x40>>>0x9<<0x4)+0xe]=Math[_0x324ce5(0x224)](_0x4afc31/0x100000000),_0x161870[(_0x5810b7+0x40>>>0x9<<0x4)+0xf]=_0x4afc31,_0x54bb14[_0x324ce5(0x1d1)]=_0x161870[_0x324ce5(0x291)]*0x4,this[_0x324ce5(0x45a)](),this['_hash'];},'clone':function(){var _0x16ecea=_0x57f007,_0xae58fd=_0x1ff4b5[_0x16ecea(0x3df)][_0x16ecea(0x2b6)](this);return _0xae58fd[_0x16ecea(0x256)]=this['_hash'][_0x16ecea(0x3df)](),_0xae58fd;}});_0x62afd['SHA1']=_0x1ff4b5[_0x57f007(0x3dd)](_0x3b5369),_0x62afd[_0x57f007(0x1ce)]=_0x1ff4b5['_createHmacHelper'](_0x3b5369);}()),_0x2b441e[_0x455bf6(0x39f)];}));}(qe)),qe[_0x4724dd(0x3c3)];}var ze={'exports':{}},En=ze[_0x57ebea(0x3c3)],Jt;function pn(){return Jt||(Jt=0x1,function(_0x5f397f,_0x251c0b){(function(_0x1920b4,_0x572bf9){var _0x54da21=_0x5a33;_0x5f397f[_0x54da21(0x3c3)]=_0x572bf9(ie());}(En,function(_0x175e8d){(function(){var _0x4aee1e=_0x5a33,_0x9fe075=_0x175e8d,_0x3425af=_0x9fe075[_0x4aee1e(0x3a7)],_0x1f4292=_0x3425af['Base'],_0x4fe72e=_0x9fe075[_0x4aee1e(0x25a)],_0xe25843=_0x4fe72e['Utf8'],_0x48f0f4=_0x9fe075['algo'];_0x48f0f4[_0x4aee1e(0x331)]=_0x1f4292[_0x4aee1e(0x13c)]({'init':function(_0x55319d,_0x5d541c){var _0x7371bc=_0x4aee1e;_0x55319d=this[_0x7371bc(0x3c7)]=new _0x55319d['init'](),typeof _0x5d541c==_0x7371bc(0x270)&&(_0x5d541c=_0xe25843['parse'](_0x5d541c));var _0x43117d=_0x55319d['blockSize'],_0x474c37=_0x43117d*0x4;_0x5d541c['sigBytes']>_0x474c37&&(_0x5d541c=_0x55319d[_0x7371bc(0x197)](_0x5d541c)),_0x5d541c[_0x7371bc(0x168)]();for(var _0x53249b=this[_0x7371bc(0x2d3)]=_0x5d541c['clone'](),_0x2d763a=this[_0x7371bc(0x16c)]=_0x5d541c[_0x7371bc(0x3df)](),_0x26ed8d=_0x53249b['words'],_0x51e5a3=_0x2d763a['words'],_0x5a04ea=0x0;_0x5a04ea<_0x43117d;_0x5a04ea++)_0x26ed8d[_0x5a04ea]^=0x5c5c5c5c,_0x51e5a3[_0x5a04ea]^=0x36363636;_0x53249b[_0x7371bc(0x1d1)]=_0x2d763a['sigBytes']=_0x474c37,this[_0x7371bc(0x317)]();},'reset':function(){var _0x4a0b17=_0x4aee1e,_0x1d5835=this[_0x4a0b17(0x3c7)];_0x1d5835[_0x4a0b17(0x317)](),_0x1d5835[_0x4a0b17(0x360)](this[_0x4a0b17(0x16c)]);},'update':function(_0x20d029){var _0x4c04a0=_0x4aee1e;return this[_0x4c04a0(0x3c7)][_0x4c04a0(0x360)](_0x20d029),this;},'finalize':function(_0x5b4d9b){var _0x56a557=_0x4aee1e,_0x296c36=this[_0x56a557(0x3c7)],_0x3d393e=_0x296c36[_0x56a557(0x197)](_0x5b4d9b);_0x296c36[_0x56a557(0x317)]();var _0x133cba=_0x296c36[_0x56a557(0x197)](this[_0x56a557(0x2d3)]['clone']()['concat'](_0x3d393e));return _0x133cba;}});}());}));}(ze)),ze['exports'];}var mn=Ke[_0x57ebea(0x3c3)],Zt;function Ci(){var _0x57c5a7=_0x57ebea;return Zt||(Zt=0x1,function(_0x45109d,_0x12d330){(function(_0x5c3e6b,_0x452382,_0x1d4515){var _0x4fd5bc=_0x5a33;_0x45109d[_0x4fd5bc(0x3c3)]=_0x452382(ie(),vn(),pn());}(mn,function(_0x135271){var _0x5f1ad9=_0x5a33;return(function(){var _0x309952=_0x5a33,_0x473be1=_0x135271,_0x8825a=_0x473be1['lib'],_0x274087=_0x8825a[_0x309952(0x1f6)],_0x260026=_0x8825a[_0x309952(0x24c)],_0x4b4f68=_0x473be1[_0x309952(0x2b8)],_0x1aac04=_0x4b4f68[_0x309952(0x1fd)],_0x4046fd=_0x4b4f68['EvpKDF']=_0x274087[_0x309952(0x13c)]({'cfg':_0x274087[_0x309952(0x13c)]({'keySize':0x80/0x20,'hasher':_0x1aac04,'iterations':0x1}),'init':function(_0x17b0f4){var _0x2cf79d=_0x309952;this['cfg']=this[_0x2cf79d(0x196)]['extend'](_0x17b0f4);},'compute':function(_0x491d96,_0x4df337){var _0x387c15=_0x309952;for(var _0x355a14,_0x477396=this[_0x387c15(0x196)],_0x1231d7=_0x477396['hasher'][_0x387c15(0x290)](),_0x5ed83c=_0x260026['create'](),_0x3b8c8f=_0x5ed83c[_0x387c15(0x20f)],_0x582695=_0x477396[_0x387c15(0x29d)],_0x9167ea=_0x477396['iterations'];_0x3b8c8f[_0x387c15(0x291)]<_0x582695;){_0x355a14&&_0x1231d7['update'](_0x355a14),_0x355a14=_0x1231d7['update'](_0x491d96)['finalize'](_0x4df337),_0x1231d7['reset']();for(var _0x484a8c=0x1;_0x484a8c<_0x9167ea;_0x484a8c++)_0x355a14=_0x1231d7[_0x387c15(0x197)](_0x355a14),_0x1231d7['reset']();_0x5ed83c[_0x387c15(0x2e0)](_0x355a14);}return _0x5ed83c['sigBytes']=_0x582695*0x4,_0x5ed83c;}});_0x473be1[_0x309952(0x404)]=function(_0x4ed450,_0x2ebe16,_0x5201af){var _0x43bf23=_0x309952;return _0x4046fd[_0x43bf23(0x290)](_0x5201af)[_0x43bf23(0x45b)](_0x4ed450,_0x2ebe16);};}()),_0x135271[_0x5f1ad9(0x404)];}));}(Ke)),Ke[_0x57c5a7(0x3c3)];}var Xe={'exports':{}},In=Xe[_0x57ebea(0x3c3)],Qt;function bi(){var _0x4427b1=_0x57ebea;return Qt||(Qt=0x1,function(_0x7d9bd3,_0x275d89){(function(_0x39d34c,_0x3d0de7,_0x593039){_0x7d9bd3['exports']=_0x3d0de7(ie(),Ci());}(In,function(_0x340180){_0x340180['lib']['Cipher']||function(_0x15d9ae){var _0x3bdf30=_0x5a33,_0x960f19=_0x340180,_0x5d89e5=_0x960f19[_0x3bdf30(0x3a7)],_0x4165cd=_0x5d89e5[_0x3bdf30(0x1f6)],_0x298ea8=_0x5d89e5[_0x3bdf30(0x24c)],_0x56ed02=_0x5d89e5[_0x3bdf30(0x13a)],_0x3c2684=_0x960f19[_0x3bdf30(0x25a)];_0x3c2684[_0x3bdf30(0x1a1)];var _0x1a0b57=_0x3c2684[_0x3bdf30(0x338)],_0x1856fa=_0x960f19[_0x3bdf30(0x2b8)],_0x622884=_0x1856fa[_0x3bdf30(0x404)],_0x1fb095=_0x5d89e5[_0x3bdf30(0x43d)]=_0x56ed02['extend']({'cfg':_0x4165cd[_0x3bdf30(0x13c)](),'createEncryptor':function(_0x344d59,_0x296eea){var _0x53180b=_0x3bdf30;return this['create'](this[_0x53180b(0x233)],_0x344d59,_0x296eea);},'createDecryptor':function(_0x4bb007,_0x5b1e78){var _0x18a8c0=_0x3bdf30;return this['create'](this[_0x18a8c0(0x27b)],_0x4bb007,_0x5b1e78);},'init':function(_0x23221e,_0x1c4e2d,_0x33b3d5){var _0x1cbe65=_0x3bdf30;this[_0x1cbe65(0x196)]=this['cfg'][_0x1cbe65(0x13c)](_0x33b3d5),this[_0x1cbe65(0x1cb)]=_0x23221e,this['_key']=_0x1c4e2d,this[_0x1cbe65(0x317)]();},'reset':function(){var _0x1df84b=_0x3bdf30;_0x56ed02['reset'][_0x1df84b(0x2b6)](this),this['_doReset']();},'process':function(_0x2b6a3b){var _0x5af3e6=_0x3bdf30;return this[_0x5af3e6(0x1ab)](_0x2b6a3b),this[_0x5af3e6(0x45a)]();},'finalize':function(_0x55c2d2){var _0x136eed=_0x3bdf30;_0x55c2d2&&this['_append'](_0x55c2d2);var _0x31301e=this[_0x136eed(0x174)]();return _0x31301e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4378b2(_0x2585ba){var _0x5d795d=_0x5a33;return typeof _0x2585ba==_0x5d795d(0x270)?_0x494281:_0x5e8069;}return function(_0x47b785){return{'encrypt':function(_0x3bcb05,_0x212f2e,_0x2c0783){var _0x11f55b=_0x5a33;return _0x4378b2(_0x212f2e)[_0x11f55b(0x2bd)](_0x47b785,_0x3bcb05,_0x212f2e,_0x2c0783);},'decrypt':function(_0x100b2a,_0xbb806c,_0x135d27){return _0x4378b2(_0xbb806c)['decrypt'](_0x47b785,_0x100b2a,_0xbb806c,_0x135d27);}};};}())});_0x5d89e5[_0x3bdf30(0x3d8)]=_0x1fb095[_0x3bdf30(0x13c)]({'_doFinalize':function(){var _0x5b9237=_0x3bdf30,_0x3f1e22=this[_0x5b9237(0x45a)](!0x0);return _0x3f1e22;},'blockSize':0x1});var _0x480d2e=_0x960f19['mode']={},_0xe3842e=_0x5d89e5[_0x3bdf30(0x416)]=_0x4165cd['extend']({'createEncryptor':function(_0x57a25c,_0x17423e){var _0x391d6c=_0x3bdf30;return this[_0x391d6c(0x2c1)][_0x391d6c(0x290)](_0x57a25c,_0x17423e);},'createDecryptor':function(_0x261110,_0x46d24e){var _0x35ab66=_0x3bdf30;return this[_0x35ab66(0x40b)][_0x35ab66(0x290)](_0x261110,_0x46d24e);},'init':function(_0x3ffa85,_0x432336){var _0x52f1a8=_0x3bdf30;this['_cipher']=_0x3ffa85,this[_0x52f1a8(0x2df)]=_0x432336;}}),_0x169bbc=_0x480d2e['CBC']=(function(){var _0x2dae56=_0x3bdf30,_0x8e3e23=_0xe3842e[_0x2dae56(0x13c)]();_0x8e3e23['Encryptor']=_0x8e3e23[_0x2dae56(0x13c)]({'processBlock':function(_0x4d4a01,_0x19162b){var _0x3637f9=_0x2dae56,_0x42dbfa=this[_0x3637f9(0x3ba)],_0x82bbba=_0x42dbfa['blockSize'];_0x2f1813[_0x3637f9(0x2b6)](this,_0x4d4a01,_0x19162b,_0x82bbba),_0x42dbfa[_0x3637f9(0x3c2)](_0x4d4a01,_0x19162b),this['_prevBlock']=_0x4d4a01['slice'](_0x19162b,_0x19162b+_0x82bbba);}}),_0x8e3e23[_0x2dae56(0x40b)]=_0x8e3e23['extend']({'processBlock':function(_0x10cb9a,_0x2f7d15){var _0x20c5a1=_0x2dae56,_0xf98227=this['_cipher'],_0x5493c7=_0xf98227[_0x20c5a1(0x43c)],_0x659541=_0x10cb9a[_0x20c5a1(0x40e)](_0x2f7d15,_0x2f7d15+_0x5493c7);_0xf98227[_0x20c5a1(0x23d)](_0x10cb9a,_0x2f7d15),_0x2f1813[_0x20c5a1(0x2b6)](this,_0x10cb9a,_0x2f7d15,_0x5493c7),this[_0x20c5a1(0x411)]=_0x659541;}});function _0x2f1813(_0x43c502,_0x584f35,_0x52215e){var _0x50eb5f=_0x2dae56,_0xf8189a,_0x18897c=this[_0x50eb5f(0x2df)];_0x18897c?(_0xf8189a=_0x18897c,this[_0x50eb5f(0x2df)]=_0x15d9ae):_0xf8189a=this[_0x50eb5f(0x411)];for(var _0x5b5351=0x0;_0x5b5351<_0x52215e;_0x5b5351++)_0x43c502[_0x584f35+_0x5b5351]^=_0xf8189a[_0x5b5351];}return _0x8e3e23;}()),_0x55cc47=_0x960f19[_0x3bdf30(0x204)]={},_0x4801b6=_0x55cc47[_0x3bdf30(0x44e)]={'pad':function(_0x2b1db5,_0x4c16df){var _0x253d47=_0x3bdf30;for(var _0x365855=_0x4c16df*0x4,_0x386dd2=_0x365855-_0x2b1db5[_0x253d47(0x1d1)]%_0x365855,_0x4eb97b=_0x386dd2<<0x18|_0x386dd2<<0x10|_0x386dd2<<0x8|_0x386dd2,_0x19231c=[],_0x3b81cf=0x0;_0x3b81cf<_0x386dd2;_0x3b81cf+=0x4)_0x19231c[_0x253d47(0x37e)](_0x4eb97b);var _0x5a7c68=_0x298ea8[_0x253d47(0x290)](_0x19231c,_0x386dd2);_0x2b1db5['concat'](_0x5a7c68);},'unpad':function(_0x1670ed){var _0x16f7ad=_0x3bdf30,_0x28c2fc=_0x1670ed['words'][_0x1670ed[_0x16f7ad(0x1d1)]-0x1>>>0x2]&0xff;_0x1670ed[_0x16f7ad(0x1d1)]-=_0x28c2fc;}};_0x5d89e5[_0x3bdf30(0x17e)]=_0x1fb095[_0x3bdf30(0x13c)]({'cfg':_0x1fb095[_0x3bdf30(0x196)]['extend']({'mode':_0x169bbc,'padding':_0x4801b6}),'reset':function(){var _0x5b20e4=_0x3bdf30,_0x583289;_0x1fb095[_0x5b20e4(0x317)][_0x5b20e4(0x2b6)](this);var _0x3c1e91=this[_0x5b20e4(0x196)],_0x5230f7=_0x3c1e91['iv'],_0x5513ac=_0x3c1e91[_0x5b20e4(0x219)];this['_xformMode']==this[_0x5b20e4(0x233)]?_0x583289=_0x5513ac[_0x5b20e4(0x2b2)]:(_0x583289=_0x5513ac[_0x5b20e4(0x3d3)],this[_0x5b20e4(0x22c)]=0x1),this[_0x5b20e4(0x267)]&&this[_0x5b20e4(0x267)][_0x5b20e4(0x43a)]==_0x583289?this['_mode'][_0x5b20e4(0x3a1)](this,_0x5230f7&&_0x5230f7[_0x5b20e4(0x20f)]):(this[_0x5b20e4(0x267)]=_0x583289[_0x5b20e4(0x2b6)](_0x5513ac,this,_0x5230f7&&_0x5230f7['words']),this['_mode'][_0x5b20e4(0x43a)]=_0x583289);},'_doProcessBlock':function(_0x40f22d,_0x441774){var _0x19481f=_0x3bdf30;this[_0x19481f(0x267)][_0x19481f(0x37c)](_0x40f22d,_0x441774);},'_doFinalize':function(){var _0x3c52b1=_0x3bdf30,_0x506581,_0x140ec6=this[_0x3c52b1(0x196)][_0x3c52b1(0x30f)];return this[_0x3c52b1(0x1cb)]==this[_0x3c52b1(0x233)]?(_0x140ec6['pad'](this[_0x3c52b1(0x2f4)],this[_0x3c52b1(0x43c)]),_0x506581=this[_0x3c52b1(0x45a)](!0x0)):(_0x506581=this[_0x3c52b1(0x45a)](!0x0),_0x140ec6['unpad'](_0x506581)),_0x506581;},'blockSize':0x80/0x20});var _0x23201d=_0x5d89e5[_0x3bdf30(0x260)]=_0x4165cd[_0x3bdf30(0x13c)]({'init':function(_0x4745aa){var _0x377021=_0x3bdf30;this[_0x377021(0x217)](_0x4745aa);},'toString':function(_0x573444){var _0x5ef8de=_0x3bdf30;return(_0x573444||this[_0x5ef8de(0x1df)])['stringify'](this);}}),_0x413ebd=_0x960f19[_0x3bdf30(0x3e5)]={},_0x40aeb4=_0x413ebd['OpenSSL']={'stringify':function(_0xce4965){var _0x2735ba=_0x3bdf30,_0x528ac9,_0x526a84=_0xce4965[_0x2735ba(0x414)],_0x32c16f=_0xce4965[_0x2735ba(0x231)];return _0x32c16f?_0x528ac9=_0x298ea8['create']([0x53616c74,0x65645f5f])[_0x2735ba(0x2e0)](_0x32c16f)[_0x2735ba(0x2e0)](_0x526a84):_0x528ac9=_0x526a84,_0x528ac9[_0x2735ba(0x40f)](_0x1a0b57);},'parse':function(_0x4c6c09){var _0x32f49f=_0x3bdf30,_0x2c75c4,_0x5babff=_0x1a0b57[_0x32f49f(0x251)](_0x4c6c09),_0x58730f=_0x5babff[_0x32f49f(0x20f)];return _0x58730f[0x0]==0x53616c74&&_0x58730f[0x1]==0x65645f5f&&(_0x2c75c4=_0x298ea8[_0x32f49f(0x290)](_0x58730f[_0x32f49f(0x40e)](0x2,0x4)),_0x58730f[_0x32f49f(0x22f)](0x0,0x4),_0x5babff['sigBytes']-=0x10),_0x23201d['create']({'ciphertext':_0x5babff,'salt':_0x2c75c4});}},_0x5e8069=_0x5d89e5[_0x3bdf30(0x24d)]=_0x4165cd[_0x3bdf30(0x13c)]({'cfg':_0x4165cd['extend']({'format':_0x40aeb4}),'encrypt':function(_0x1a5c1d,_0x4cf970,_0xbf498b,_0x2c6ddb){var _0x23dcff=_0x3bdf30;_0x2c6ddb=this['cfg'][_0x23dcff(0x13c)](_0x2c6ddb);var _0x52638d=_0x1a5c1d[_0x23dcff(0x2b2)](_0xbf498b,_0x2c6ddb),_0x466bcc=_0x52638d['finalize'](_0x4cf970),_0x534f0d=_0x52638d[_0x23dcff(0x196)];return _0x23201d[_0x23dcff(0x290)]({'ciphertext':_0x466bcc,'key':_0xbf498b,'iv':_0x534f0d['iv'],'algorithm':_0x1a5c1d,'mode':_0x534f0d['mode'],'padding':_0x534f0d[_0x23dcff(0x30f)],'blockSize':_0x1a5c1d[_0x23dcff(0x43c)],'formatter':_0x2c6ddb[_0x23dcff(0x3e5)]});},'decrypt':function(_0x3c341e,_0x5babd3,_0xc4b01e,_0x48c25c){var _0x3d6f6a=_0x3bdf30;_0x48c25c=this[_0x3d6f6a(0x196)][_0x3d6f6a(0x13c)](_0x48c25c),_0x5babd3=this[_0x3d6f6a(0x14b)](_0x5babd3,_0x48c25c[_0x3d6f6a(0x3e5)]);var _0x351d71=_0x3c341e[_0x3d6f6a(0x3d3)](_0xc4b01e,_0x48c25c)['finalize'](_0x5babd3[_0x3d6f6a(0x414)]);return _0x351d71;},'_parse':function(_0x388611,_0x454be8){var _0x5b7812=_0x3bdf30;return typeof _0x388611==_0x5b7812(0x270)?_0x454be8[_0x5b7812(0x251)](_0x388611,this):_0x388611;}}),_0x60f12=_0x960f19[_0x3bdf30(0x229)]={},_0x458363=_0x60f12[_0x3bdf30(0x32a)]={'execute':function(_0x9871c0,_0x1d0d2c,_0x3c1f40,_0x11f5fc,_0x440248){var _0x157c5f=_0x3bdf30;if(_0x11f5fc||(_0x11f5fc=_0x298ea8[_0x157c5f(0x443)](0x40/0x8)),_0x440248)var _0x1cc331=_0x622884[_0x157c5f(0x290)]({'keySize':_0x1d0d2c+_0x3c1f40,'hasher':_0x440248})[_0x157c5f(0x45b)](_0x9871c0,_0x11f5fc);else var _0x1cc331=_0x622884[_0x157c5f(0x290)]({'keySize':_0x1d0d2c+_0x3c1f40})[_0x157c5f(0x45b)](_0x9871c0,_0x11f5fc);var _0x32ee76=_0x298ea8[_0x157c5f(0x290)](_0x1cc331[_0x157c5f(0x20f)][_0x157c5f(0x40e)](_0x1d0d2c),_0x3c1f40*0x4);return _0x1cc331[_0x157c5f(0x1d1)]=_0x1d0d2c*0x4,_0x23201d[_0x157c5f(0x290)]({'key':_0x1cc331,'iv':_0x32ee76,'salt':_0x11f5fc});}},_0x494281=_0x5d89e5['PasswordBasedCipher']=_0x5e8069['extend']({'cfg':_0x5e8069[_0x3bdf30(0x196)]['extend']({'kdf':_0x458363}),'encrypt':function(_0x66f00c,_0x317fa0,_0x412eb9,_0x24a224){var _0xb96ff2=_0x3bdf30;_0x24a224=this[_0xb96ff2(0x196)][_0xb96ff2(0x13c)](_0x24a224);var _0x1d30c1=_0x24a224[_0xb96ff2(0x229)]['execute'](_0x412eb9,_0x66f00c[_0xb96ff2(0x29d)],_0x66f00c[_0xb96ff2(0x1ac)],_0x24a224[_0xb96ff2(0x231)],_0x24a224[_0xb96ff2(0x383)]);_0x24a224['iv']=_0x1d30c1['iv'];var _0x18db57=_0x5e8069[_0xb96ff2(0x2bd)][_0xb96ff2(0x2b6)](this,_0x66f00c,_0x317fa0,_0x1d30c1[_0xb96ff2(0x1ca)],_0x24a224);return _0x18db57[_0xb96ff2(0x217)](_0x1d30c1),_0x18db57;},'decrypt':function(_0x53273f,_0x5b77b4,_0x3f6e69,_0x3fb76f){var _0x2dd8b2=_0x3bdf30;_0x3fb76f=this[_0x2dd8b2(0x196)][_0x2dd8b2(0x13c)](_0x3fb76f),_0x5b77b4=this[_0x2dd8b2(0x14b)](_0x5b77b4,_0x3fb76f[_0x2dd8b2(0x3e5)]);var _0x38fc52=_0x3fb76f['kdf'][_0x2dd8b2(0x2dd)](_0x3f6e69,_0x53273f['keySize'],_0x53273f[_0x2dd8b2(0x1ac)],_0x5b77b4[_0x2dd8b2(0x231)],_0x3fb76f[_0x2dd8b2(0x383)]);_0x3fb76f['iv']=_0x38fc52['iv'];var _0xaa6be2=_0x5e8069['decrypt'][_0x2dd8b2(0x2b6)](this,_0x53273f,_0x5b77b4,_0x38fc52[_0x2dd8b2(0x1ca)],_0x3fb76f);return _0xaa6be2;}});}();}));}(Xe)),Xe[_0x4427b1(0x3c3)];}var Sn=Ve[_0x57ebea(0x3c3)],ei;function gn(){var _0x2b54de=_0x57ebea;return ei||(ei=0x1,function(_0x41e893,_0x439524){(function(_0x26c1d0,_0x37e9b7,_0x58fa35){var _0x266048=_0x5a33;_0x41e893[_0x266048(0x3c3)]=_0x37e9b7(ie(),Ni(),dn(),Ci(),bi());}(Sn,function(_0x164961){var _0x1ea2ce=_0x5a33;return(function(){var _0x17abd9=_0x5a33,_0x113b06=_0x164961,_0x1b4d6e=_0x113b06[_0x17abd9(0x3a7)],_0x4b7790=_0x1b4d6e[_0x17abd9(0x17e)],_0x514472=_0x113b06['algo'],_0x5267ba=[],_0x1649dc=[],_0x35a202=[],_0x4f240e=[],_0x425fae=[],_0x3a047d=[],_0xa91655=[],_0x216a2e=[],_0x2da9c2=[],_0x120621=[];(function(){for(var _0x337bb7=[],_0x5238d9=0x0;_0x5238d9<0x100;_0x5238d9++)_0x5238d9<0x80?_0x337bb7[_0x5238d9]=_0x5238d9<<0x1:_0x337bb7[_0x5238d9]=_0x5238d9<<0x1^0x11b;for(var _0x5a32a9=0x0,_0x27559e=0x0,_0x5238d9=0x0;_0x5238d9<0x100;_0x5238d9++){var _0x339e8c=_0x27559e^_0x27559e<<0x1^_0x27559e<<0x2^_0x27559e<<0x3^_0x27559e<<0x4;_0x339e8c=_0x339e8c>>>0x8^_0x339e8c&0xff^0x63,_0x5267ba[_0x5a32a9]=_0x339e8c,_0x1649dc[_0x339e8c]=_0x5a32a9;var _0x47f94c=_0x337bb7[_0x5a32a9],_0x562e4e=_0x337bb7[_0x47f94c],_0x8148d2=_0x337bb7[_0x562e4e],_0x12ba00=_0x337bb7[_0x339e8c]*0x101^_0x339e8c*0x1010100;_0x35a202[_0x5a32a9]=_0x12ba00<<0x18|_0x12ba00>>>0x8,_0x4f240e[_0x5a32a9]=_0x12ba00<<0x10|_0x12ba00>>>0x10,_0x425fae[_0x5a32a9]=_0x12ba00<<0x8|_0x12ba00>>>0x18,_0x3a047d[_0x5a32a9]=_0x12ba00;var _0x12ba00=_0x8148d2*0x1010101^_0x562e4e*0x10001^_0x47f94c*0x101^_0x5a32a9*0x1010100;_0xa91655[_0x339e8c]=_0x12ba00<<0x18|_0x12ba00>>>0x8,_0x216a2e[_0x339e8c]=_0x12ba00<<0x10|_0x12ba00>>>0x10,_0x2da9c2[_0x339e8c]=_0x12ba00<<0x8|_0x12ba00>>>0x18,_0x120621[_0x339e8c]=_0x12ba00,_0x5a32a9?(_0x5a32a9=_0x47f94c^_0x337bb7[_0x337bb7[_0x337bb7[_0x8148d2^_0x47f94c]]],_0x27559e^=_0x337bb7[_0x337bb7[_0x27559e]]):_0x5a32a9=_0x27559e=0x1;}}());var _0xc4155e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1ce30f=_0x514472[_0x17abd9(0x1a2)]=_0x4b7790[_0x17abd9(0x13c)]({'_doReset':function(){var _0x4d844e=_0x17abd9,_0x1e6583;if(!(this[_0x4d844e(0x288)]&&this['_keyPriorReset']===this[_0x4d844e(0x26f)])){for(var _0x58dd22=this[_0x4d844e(0x2cd)]=this['_key'],_0x597e13=_0x58dd22[_0x4d844e(0x20f)],_0x54a4ba=_0x58dd22[_0x4d844e(0x1d1)]/0x4,_0x2cb09b=this[_0x4d844e(0x288)]=_0x54a4ba+0x6,_0x3df2b7=(_0x2cb09b+0x1)*0x4,_0x589b9e=this[_0x4d844e(0x3a0)]=[],_0x309f7d=0x0;_0x309f7d<_0x3df2b7;_0x309f7d++)_0x309f7d<_0x54a4ba?_0x589b9e[_0x309f7d]=_0x597e13[_0x309f7d]:(_0x1e6583=_0x589b9e[_0x309f7d-0x1],_0x309f7d%_0x54a4ba?_0x54a4ba>0x6&&_0x309f7d%_0x54a4ba==0x4&&(_0x1e6583=_0x5267ba[_0x1e6583>>>0x18]<<0x18|_0x5267ba[_0x1e6583>>>0x10&0xff]<<0x10|_0x5267ba[_0x1e6583>>>0x8&0xff]<<0x8|_0x5267ba[_0x1e6583&0xff]):(_0x1e6583=_0x1e6583<<0x8|_0x1e6583>>>0x18,_0x1e6583=_0x5267ba[_0x1e6583>>>0x18]<<0x18|_0x5267ba[_0x1e6583>>>0x10&0xff]<<0x10|_0x5267ba[_0x1e6583>>>0x8&0xff]<<0x8|_0x5267ba[_0x1e6583&0xff],_0x1e6583^=_0xc4155e[_0x309f7d/_0x54a4ba|0x0]<<0x18),_0x589b9e[_0x309f7d]=_0x589b9e[_0x309f7d-_0x54a4ba]^_0x1e6583);for(var _0x23a737=this[_0x4d844e(0x3ae)]=[],_0x1d3b1c=0x0;_0x1d3b1c<_0x3df2b7;_0x1d3b1c++){var _0x309f7d=_0x3df2b7-_0x1d3b1c;if(_0x1d3b1c%0x4)var _0x1e6583=_0x589b9e[_0x309f7d];else var _0x1e6583=_0x589b9e[_0x309f7d-0x4];_0x1d3b1c<0x4||_0x309f7d<=0x4?_0x23a737[_0x1d3b1c]=_0x1e6583:_0x23a737[_0x1d3b1c]=_0xa91655[_0x5267ba[_0x1e6583>>>0x18]]^_0x216a2e[_0x5267ba[_0x1e6583>>>0x10&0xff]]^_0x2da9c2[_0x5267ba[_0x1e6583>>>0x8&0xff]]^_0x120621[_0x5267ba[_0x1e6583&0xff]];}}},'encryptBlock':function(_0x193395,_0xa13f89){var _0x42ef5b=_0x17abd9;this[_0x42ef5b(0x253)](_0x193395,_0xa13f89,this[_0x42ef5b(0x3a0)],_0x35a202,_0x4f240e,_0x425fae,_0x3a047d,_0x5267ba);},'decryptBlock':function(_0x4a2d82,_0x48eed4){var _0x3cd469=_0x17abd9,_0x1c608e=_0x4a2d82[_0x48eed4+0x1];_0x4a2d82[_0x48eed4+0x1]=_0x4a2d82[_0x48eed4+0x3],_0x4a2d82[_0x48eed4+0x3]=_0x1c608e,this[_0x3cd469(0x253)](_0x4a2d82,_0x48eed4,this[_0x3cd469(0x3ae)],_0xa91655,_0x216a2e,_0x2da9c2,_0x120621,_0x1649dc);var _0x1c608e=_0x4a2d82[_0x48eed4+0x1];_0x4a2d82[_0x48eed4+0x1]=_0x4a2d82[_0x48eed4+0x3],_0x4a2d82[_0x48eed4+0x3]=_0x1c608e;},'_doCryptBlock':function(_0x3d1451,_0x1258cf,_0x300beb,_0x262a90,_0x3efc0a,_0x4dff23,_0x4e0a66,_0x3e171f){var _0x2e40ca=_0x17abd9;for(var _0x6b1b1f=this[_0x2e40ca(0x288)],_0xf96af2=_0x3d1451[_0x1258cf]^_0x300beb[0x0],_0x2b6b5a=_0x3d1451[_0x1258cf+0x1]^_0x300beb[0x1],_0x184295=_0x3d1451[_0x1258cf+0x2]^_0x300beb[0x2],_0x51b89b=_0x3d1451[_0x1258cf+0x3]^_0x300beb[0x3],_0x309ce5=0x4,_0x3e58d0=0x1;_0x3e58d0<_0x6b1b1f;_0x3e58d0++){var _0x4f8408=_0x262a90[_0xf96af2>>>0x18]^_0x3efc0a[_0x2b6b5a>>>0x10&0xff]^_0x4dff23[_0x184295>>>0x8&0xff]^_0x4e0a66[_0x51b89b&0xff]^_0x300beb[_0x309ce5++],_0xb4105c=_0x262a90[_0x2b6b5a>>>0x18]^_0x3efc0a[_0x184295>>>0x10&0xff]^_0x4dff23[_0x51b89b>>>0x8&0xff]^_0x4e0a66[_0xf96af2&0xff]^_0x300beb[_0x309ce5++],_0x5c209e=_0x262a90[_0x184295>>>0x18]^_0x3efc0a[_0x51b89b>>>0x10&0xff]^_0x4dff23[_0xf96af2>>>0x8&0xff]^_0x4e0a66[_0x2b6b5a&0xff]^_0x300beb[_0x309ce5++],_0x32c6f0=_0x262a90[_0x51b89b>>>0x18]^_0x3efc0a[_0xf96af2>>>0x10&0xff]^_0x4dff23[_0x2b6b5a>>>0x8&0xff]^_0x4e0a66[_0x184295&0xff]^_0x300beb[_0x309ce5++];_0xf96af2=_0x4f8408,_0x2b6b5a=_0xb4105c,_0x184295=_0x5c209e,_0x51b89b=_0x32c6f0;}var _0x4f8408=(_0x3e171f[_0xf96af2>>>0x18]<<0x18|_0x3e171f[_0x2b6b5a>>>0x10&0xff]<<0x10|_0x3e171f[_0x184295>>>0x8&0xff]<<0x8|_0x3e171f[_0x51b89b&0xff])^_0x300beb[_0x309ce5++],_0xb4105c=(_0x3e171f[_0x2b6b5a>>>0x18]<<0x18|_0x3e171f[_0x184295>>>0x10&0xff]<<0x10|_0x3e171f[_0x51b89b>>>0x8&0xff]<<0x8|_0x3e171f[_0xf96af2&0xff])^_0x300beb[_0x309ce5++],_0x5c209e=(_0x3e171f[_0x184295>>>0x18]<<0x18|_0x3e171f[_0x51b89b>>>0x10&0xff]<<0x10|_0x3e171f[_0xf96af2>>>0x8&0xff]<<0x8|_0x3e171f[_0x2b6b5a&0xff])^_0x300beb[_0x309ce5++],_0x32c6f0=(_0x3e171f[_0x51b89b>>>0x18]<<0x18|_0x3e171f[_0xf96af2>>>0x10&0xff]<<0x10|_0x3e171f[_0x2b6b5a>>>0x8&0xff]<<0x8|_0x3e171f[_0x184295&0xff])^_0x300beb[_0x309ce5++];_0x3d1451[_0x1258cf]=_0x4f8408,_0x3d1451[_0x1258cf+0x1]=_0xb4105c,_0x3d1451[_0x1258cf+0x2]=_0x5c209e,_0x3d1451[_0x1258cf+0x3]=_0x32c6f0;},'keySize':0x100/0x20});_0x113b06['AES']=_0x4b7790[_0x17abd9(0x3dd)](_0x1ce30f);}()),_0x164961[_0x1ea2ce(0x1a2)];}));}(Ve)),Ve[_0x2b54de(0x3c3)];}var Tn=gn();const On=$e(Tn);var Rn=Ni();const ti=$e(Rn);var Je={'exports':{}},Nn=Je[_0x57ebea(0x3c3)],ii;function Cn(){var _0x7b38b0=_0x57ebea;return ii||(ii=0x1,function(_0x5a33b9,_0x1d8f29){(function(_0xa58d0e,_0x5cff4a){var _0x12c503=_0x5a33;_0x5a33b9[_0x12c503(0x3c3)]=_0x5cff4a(ie());}(Nn,function(_0x361559){var _0x468fda=_0x5a33;return _0x361559[_0x468fda(0x25a)][_0x468fda(0x1a1)];}));}(Je)),Je[_0x7b38b0(0x3c3)];}var bn=Cn();const Dn=$e(bn);var Ze={'exports':{}},yn=Ze[_0x57ebea(0x3c3)],si;function Un(){var _0x347075=_0x57ebea;return si||(si=0x1,function(_0x4571fa,_0x29d659){(function(_0x53936c,_0x4e0aa1){var _0x4a2b4b=_0x5a33;_0x4571fa[_0x4a2b4b(0x3c3)]=_0x4e0aa1(ie());}(yn,function(_0x1d673a){var _0xebb0f7=_0x5a33;return(function(){var _0x4af0d4=_0x5a33;if(typeof ArrayBuffer==_0x4af0d4(0x44c)){var _0x457c3d=_0x1d673a,_0x4fa62f=_0x457c3d[_0x4af0d4(0x3a7)],_0x5bc6a6=_0x4fa62f[_0x4af0d4(0x24c)],_0x250b1b=_0x5bc6a6[_0x4af0d4(0x3a1)],_0x3c737d=_0x5bc6a6[_0x4af0d4(0x3a1)]=function(_0x394672){var _0x5af5a4=_0x4af0d4;if(_0x394672 instanceof ArrayBuffer&&(_0x394672=new Uint8Array(_0x394672)),(_0x394672 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x394672 instanceof Uint8ClampedArray||_0x394672 instanceof Int16Array||_0x394672 instanceof Uint16Array||_0x394672 instanceof Int32Array||_0x394672 instanceof Uint32Array||_0x394672 instanceof Float32Array||_0x394672 instanceof Float64Array)&&(_0x394672=new Uint8Array(_0x394672['buffer'],_0x394672[_0x5af5a4(0x227)],_0x394672[_0x5af5a4(0x3bc)])),_0x394672 instanceof Uint8Array){for(var _0x3027aa=_0x394672[_0x5af5a4(0x3bc)],_0x7970a8=[],_0x34e473=0x0;_0x34e473<_0x3027aa;_0x34e473++)_0x7970a8[_0x34e473>>>0x2]|=_0x394672[_0x34e473]<<0x18-_0x34e473%0x4*0x8;_0x250b1b[_0x5af5a4(0x2b6)](this,_0x7970a8,_0x3027aa);}else _0x250b1b[_0x5af5a4(0x2d4)](this,arguments);};_0x3c737d['prototype']=_0x5bc6a6;}}()),_0x1d673a[_0xebb0f7(0x3a7)][_0xebb0f7(0x24c)];}));}(Ze)),Ze[_0x347075(0x3c3)];}var An=Un();const Pn=$e(An);var Qe={'exports':{}},wn=Qe[_0x57ebea(0x3c3)],ni;function Ln(){return ni||(ni=0x1,function(_0x44cb48,_0x4f1917){(function(_0x50c324,_0x59fb53,_0x418ada){var _0x1e53c3=_0x5a33;_0x44cb48[_0x1e53c3(0x3c3)]=_0x59fb53(ie(),bi());}(wn,function(_0x5b6421){var _0x2ddb00=_0x5a33;return _0x5b6421['pad'][_0x2ddb00(0x3f0)]={'pad':function(){},'unpad':function(){}},_0x5b6421[_0x2ddb00(0x204)][_0x2ddb00(0x3f0)];}));}(Qe)),Qe['exports'];}var Mn=Ln();const xn=$e(Mn);function kn(_0xe4ba04,_0x2fda38){var _0x60a8fc=_0x57ebea;const _0x2f6aca=_0x2fda38-_0xe4ba04[_0x60a8fc(0x291)]%_0x2fda38,_0x55930f=String['fromCharCode'](_0x2f6aca)[_0x60a8fc(0x401)](_0x2f6aca);return _0xe4ba04+_0x55930f;}function $n(_0x50dd77,_0x1770e6){var _0x722f39=_0x57ebea;const _0x20aa82=Pn[_0x722f39(0x443)](0x10),_0x2d9ed1=kn(_0x50dd77,0x10),_0x17f042=On['encrypt'](Dn[_0x722f39(0x251)](_0x2d9ed1),ti[_0x722f39(0x251)](_0x1770e6),{'iv':_0x20aa82,'padding':xn});return _0x20aa82['concat'](_0x17f042['ciphertext'])[_0x722f39(0x40f)](ti);}function Hn(){var _0xad1f7e=_0x57ebea;const _0x471fe7=_0xb166fe()[_0xad1f7e(0x44b)];if(typeof window<'u'&&typeof window[_0xad1f7e(0x285)]<'u'&&_0x471fe7){const _0x134be6={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0xad1f7e(0x15f)]};return $n(JSON[_0xad1f7e(0x3fb)](_0x134be6),_0x471fe7);}}var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x3fe5fd,_0x4f157c,_0x55e12f,_0x47b0df)=>{var _0x48ef2a=_0x57ebea;for(var _0x56ff49=_0x47b0df>0x1?void 0x0:_0x47b0df?Bn(_0x4f157c,_0x55e12f):_0x4f157c,_0x505548=_0x3fe5fd[_0x48ef2a(0x291)]-0x1,_0x162841;_0x505548>=0x0;_0x505548--)(_0x162841=_0x3fe5fd[_0x505548])&&(_0x56ff49=_0x162841(_0x56ff49)||_0x56ff49);return _0x56ff49;},jn=(_0x1d9217,_0x23f1c5)=>(_0x56762c,_0x16a4cf)=>_0x23f1c5(_0x56762c,_0x16a4cf,_0x1d9217);let at=class{constructor(_0x15cd82){var _0x3f48a7=_0x57ebea;this['_httpService']=_0x15cd82,this[_0x3f48a7(0x2b5)]();}[_0x57ebea(0x2b5)](){var _0x3ec82d=_0x57ebea;this[_0x3ec82d(0x320)][_0x3ec82d(0x370)]({'interceptor':(_0x1590e4,_0x6ac59c)=>{var _0x2e9ff1=_0x3ec82d;const _0x4b110c=_0x1590e4[_0x2e9ff1(0x3af)],_0xb649ba=Hn();return _0xb649ba&&_0x4b110c[_0x2e9ff1(0x375)](_0x2e9ff1(0x1f9),_0xb649ba),_0x6ac59c(_0x1590e4);}});}};at=Fn([jn(0x0,_0xd9eea8(_0x3e703e))],at);var Vn=Object[_0x57ebea(0x1a9)],Gn=(_0x249c3,_0x1d8584,_0x12e93e,_0x154baf)=>{var _0x540793=_0x57ebea;for(var _0x274d49=_0x154baf>0x1?void 0x0:_0x154baf?Vn(_0x1d8584,_0x12e93e):_0x1d8584,_0x276497=_0x249c3[_0x540793(0x291)]-0x1,_0x560a61;_0x276497>=0x0;_0x276497--)(_0x560a61=_0x249c3[_0x276497])&&(_0x274d49=_0x560a61(_0x274d49)||_0x274d49);return _0x274d49;},vt=(_0x236c20,_0x336a81)=>(_0x59e54e,_0x12c088)=>_0x336a81(_0x59e54e,_0x12c088,_0x236c20);let Ot=class extends _0xdd442f{constructor(_0x118837,_0x4b4e46,_0x19766d){var _0x498cae=_0x57ebea;super(),D(this,_0x498cae(0x302),new _0x4e139f(null)),D(this,_0x498cae(0x364),this[_0x498cae(0x302)][_0x498cae(0x2c5)]()),(this['_logService']=_0x118837,this[_0x498cae(0x2a5)]=_0x4b4e46,this[_0x498cae(0x2d6)]=_0x19766d);}async['loadUnitOfRevision'](_0xac05c7,_0x15e362,_0x1e848d){var _0x3d808b=_0x57ebea;this[_0x3d808b(0x302)][_0x3d808b(0x372)]({'unitId':_0xac05c7,'type':_0x15e362});let _0x1fee93=null;switch(_0x15e362){case Q[_0x3d808b(0x382)]:{_0x1fee93=await this[_0x3d808b(0x2a5)]['loadSheet'](_0xac05c7,_0x1e848d);break;}case Q[_0x3d808b(0x234)]:{_0x1fee93=await this[_0x3d808b(0x2a5)][_0x3d808b(0x2ad)](_0xac05c7,_0x1e848d);break;}default:{this[_0x3d808b(0x3cc)][_0x3d808b(0x379)](_0x3d808b(0x31f),_0x3d808b(0x16f));break;}}return _0x1fee93;}async[_0x57ebea(0x19a)](_0x59f3cf,_0xec4b4f,_0x3ec7c8){var _0x241e9a=_0x57ebea,_0x61bb55;this[_0x241e9a(0x302)]['next']({'unitId':_0x59f3cf,'type':_0xec4b4f,'subUnitId':_0x3ec7c8});let _0x12e832=0x0;const _0x175d88=await((_0x61bb55=this['_localCacheService'])==null?void 0x0:_0x61bb55[_0x241e9a(0x184)](_0x59f3cf));return _0x175d88&&(_0x175d88['awaitingChangeset']||_0x175d88[_0x241e9a(0x15d)][_0x241e9a(0x291)]!==0x0)&&(_0x12e832=_0x175d88['rev']),_0x12e832===0x0&&this[_0x241e9a(0x3cc)][_0x241e9a(0x3b7)](_0x241e9a(0x31f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x241e9a(0x343)](_0x59f3cf,_0xec4b4f,_0x12e832);}};Ot=Gn([vt(0x0,_0x395070),vt(0x1,_0xd9eea8(_0x555d9)),vt(0x2,_0x4761ab(X))],Ot);var Wn=Object[_0x57ebea(0x1a9)],Yn=(_0x22ae43,_0x322983,_0x5499b3,_0x47d732)=>{var _0x2deb75=_0x57ebea;for(var _0x7cbb2b=_0x47d732>0x1?void 0x0:_0x47d732?Wn(_0x322983,_0x5499b3):_0x322983,_0x3f5e8e=_0x22ae43[_0x2deb75(0x291)]-0x1,_0x22f5d9;_0x3f5e8e>=0x0;_0x3f5e8e--)(_0x22f5d9=_0x22ae43[_0x3f5e8e])&&(_0x7cbb2b=_0x22f5d9(_0x7cbb2b)||_0x7cbb2b);return _0x7cbb2b;},Et=(_0x235589,_0x48310c)=>(_0x3e5c1b,_0x566c61)=>_0x48310c(_0x3e5c1b,_0x566c61,_0x235589);const Kn=['image/png',_0x57ebea(0x393),_0x57ebea(0x3fc),_0x57ebea(0x23b),'image/bmp'],qn=0x5*0x400*0x400,zn=_0x57ebea(0x3b4),Xn=_0x57ebea(0x221);let Rt=class{constructor(_0x11649,_0x5144b1,_0x1a5de6){var _0x45ff08=_0x57ebea;D(this,_0x45ff08(0x238),0x0),D(this,_0x45ff08(0x2f2),new _0x244912()),D(this,'change$',this['_change$']),D(this,_0x45ff08(0x37d),new Map()),(this[_0x45ff08(0x320)]=_0x11649,this[_0x45ff08(0x25c)]=_0x5144b1,this[_0x45ff08(0x26b)]=_0x1a5de6);}[_0x57ebea(0x374)](_0x407d20){var _0x2524c2=_0x57ebea;this['_waitCount']=_0x407d20,this[_0x2524c2(0x2f2)][_0x2524c2(0x372)](_0x407d20);}[_0x57ebea(0x28c)](_0x474f3c,_0x4a4812){var _0x327410=_0x57ebea;if(_0x4a4812===_0x274230['BASE64']){const _0x4cce68=new Image();return _0x4cce68[_0x327410(0x412)]=_0x474f3c,_0x4cce68;}return this[_0x327410(0x37d)][_0x327410(0x19b)](_0x474f3c);}[_0x57ebea(0x2b0)](_0x93124a,_0x4b07e8,_0xc7c5ba){var _0x46ad0d=_0x57ebea;_0x4b07e8===_0x274230[_0x46ad0d(0x1f3)]||_0xc7c5ba==null||this[_0x46ad0d(0x37d)]['set'](_0x93124a,_0xc7c5ba);}async[_0x57ebea(0x1a6)](_0x44e8bc){var _0x46e80b=_0x57ebea;try{const _0x2db724=this[_0x46e80b(0x1db)](this[_0x46e80b(0x3ec)](),''+_0x44e8bc),_0x403611=(await this['_httpService'][_0x46e80b(0x19b)](_0x2db724))[_0x46e80b(0x390)];if(_0x403611[_0x46e80b(0x379)]&&_0x403611[_0x46e80b(0x379)]['code']===vi['OK']){const _0x26e04e=_0x45cc0e(_0x403611[_0x46e80b(0x2d5)],this[_0x46e80b(0x347)]());return Promise[_0x46e80b(0x245)](_0x26e04e);}return Promise[_0x46e80b(0x27e)](_0x403611[_0x46e80b(0x379)]);}catch(_0x1f2903){return Promise['reject'](_0x1f2903);}}async['saveImage'](_0x1575a5){var _0x5b8610=_0x57ebea;let _0x2dab81='';if(!Kn[_0x5b8610(0x2d9)](_0x1575a5[_0x5b8610(0x286)]))return this['_decreaseWaiting'](),Promise[_0x5b8610(0x27e)](new Error(_0x4481fb[_0x5b8610(0x15c)]));if(_0x1575a5['size']>qn)return this[_0x5b8610(0x13e)](),Promise[_0x5b8610(0x27e)](new Error(_0x4481fb[_0x5b8610(0x154)]));try{const _0x10d7af=new FormData();_0x10d7af[_0x5b8610(0x308)](_0x5b8610(0x3cd),_0x1575a5);const _0x53343e=this[_0x5b8610(0x26b)][_0x5b8610(0x3d7)](),_0x5a3e51=_0x53343e==null?void 0x0:_0x53343e['getUnitId']();if(!_0x5a3e51)throw new Error(_0x5b8610(0x335));const _0x409b92=this[_0x5b8610(0x3f2)]()+_0x5b8610(0x23f)+_0x1575a5[_0x5b8610(0x2ba)][_0x5b8610(0x40f)]()+'&source='+Ei['UnitEmbedded']+_0x5b8610(0x30e)+encodeURIComponent(_0x5a3e51),_0x397dd0={'body':_0x10d7af},_0x336132=(await this[_0x5b8610(0x320)][_0x5b8610(0x214)](_0x409b92,_0x397dd0))[_0x5b8610(0x390)];if(typeof _0x336132[_0x5b8610(0x313)]!=_0x5b8610(0x270))return this['_decreaseWaiting'](),Promise[_0x5b8610(0x27e)](new Error(_0x4481fb[_0x5b8610(0x1a3)]));_0x2dab81=_0x336132[_0x5b8610(0x313)];}catch{return this[_0x5b8610(0x13e)](),Promise[_0x5b8610(0x27e)](new Error(_0x4481fb[_0x5b8610(0x1a3)]));}return new Promise((_0x251c7e,_0x18df75)=>{var _0x1e0c44=_0x5b8610;const _0x32fbdf=new FileReader();_0x32fbdf['readAsDataURL'](_0x1575a5),_0x32fbdf[_0x1e0c44(0x35e)]=_0x47e2c0=>{var _0x258334=_0x1e0c44,_0x153d35;const _0x25b8ff=(_0x153d35=_0x47e2c0[_0x258334(0x350)])==null?void 0x0:_0x153d35[_0x258334(0x3ac)];if(_0x25b8ff==null){this[_0x258334(0x13e)](),_0x18df75(new Error(_0x4481fb[_0x258334(0x1a3)]));return;}const _0x2776b4=_0x36b9dc(0x6);_0x251c7e({'imageId':_0x2776b4,'imageSourceType':_0x274230[_0x258334(0x42c)],'source':_0x2dab81,'base64Cache':_0x25b8ff,'status':_0x4481fb[_0x258334(0x395)]}),this['_decreaseWaiting']();};});}[_0x57ebea(0x3f2)](){var _0x31c398=_0x57ebea,_0x216deb;const _0x207bf0=this[_0x31c398(0x25c)][_0x31c398(0x1f4)](K);return(_0x216deb=_0x207bf0==null?void 0x0:_0x207bf0[_0x31c398(0x296)])!=null?_0x216deb:zn;}[_0x57ebea(0x3ec)](){var _0x5856be=_0x57ebea,_0x247307;const _0x2c5a5f=this[_0x5856be(0x25c)][_0x5856be(0x1f4)](K);return(_0x247307=_0x2c5a5f==null?void 0x0:_0x2c5a5f[_0x5856be(0x1ee)])!=null?_0x247307:Xn;}[_0x57ebea(0x347)](){var _0x437f2b=_0x57ebea,_0x4e1b1a;const _0x1f8202=this[_0x437f2b(0x25c)][_0x437f2b(0x1f4)](K);return(_0x4e1b1a=_0x1f8202==null?void 0x0:_0x1f8202[_0x437f2b(0x43b)])!=null?_0x4e1b1a:location[_0x437f2b(0x39b)];}[_0x57ebea(0x1db)](_0x4fd06a,_0x1ea389){var _0x5d91da=_0x57ebea;return _0x4fd06a[_0x5d91da(0x458)](_0x5d91da(0x1b1),_0x1ea389);}[_0x57ebea(0x13e)](){var _0xeda6af=_0x57ebea;this[_0xeda6af(0x238)]-=0x1,this[_0xeda6af(0x2f2)][_0xeda6af(0x372)](this['_waitCount']);}};Rt=Yn([Et(0x0,_0xd9eea8(_0x3e703e)),Et(0x1,_0x218bfc),Et(0x2,_0xd9eea8(_0xde0007))],Rt);var Jn=Object[_0x57ebea(0x1a9)],Zn=(_0x583cab,_0x5e8644,_0x1f620b,_0x2d07fe)=>{var _0x5ce691=_0x57ebea;for(var _0xcd4a9a=_0x2d07fe>0x1?void 0x0:_0x2d07fe?Jn(_0x5e8644,_0x1f620b):_0x5e8644,_0x43283e=_0x583cab[_0x5ce691(0x291)]-0x1,_0x56a3cc;_0x43283e>=0x0;_0x43283e--)(_0x56a3cc=_0x583cab[_0x43283e])&&(_0xcd4a9a=_0x56a3cc(_0xcd4a9a)||_0xcd4a9a);return _0xcd4a9a;},ri=(_0x119a51,_0x320b48)=>(_0x5447bb,_0xf7a8da)=>_0x320b48(_0x5447bb,_0xf7a8da,_0x119a51);const Qn=_0x57ebea(0x31d);let Nt=class{constructor(_0x56180b,_0x4974b7){var _0x16d233=_0x57ebea;this['_configService']=_0x56180b,this[_0x16d233(0x3e4)]=_0x4974b7;}[_0x57ebea(0x2c2)](){var _0x259204=_0x57ebea,_0x2d8941;const _0x1a0bac=this[_0x259204(0x25c)]['getConfig'](K);return(_0x2d8941=_0x1a0bac==null?void 0x0:_0x1a0bac['authzUrl'])!=null?_0x2d8941:Qn;}async[_0x57ebea(0x1a5)](_0x164505){var _0x354dba=_0x57ebea;const _0x40bb75=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x354dba(0x1ea),'mentions':(await this[_0x354dba(0x3e4)][_0x354dba(0x19b)](_0x40bb75,{'params':{'objectID':_0x164505[_0x354dba(0x1f2)],'unitID':_0x164505[_0x354dba(0x1f2)]}}))['body'][_0x354dba(0x28d)][_0x354dba(0x32d)](_0x993b1e=>({'objectId':_0x993b1e['id'],'name':_0x993b1e[_0x354dba(0x2e9)]['name'],'metadata':{'icon':_0x993b1e[_0x354dba(0x2e9)][_0x354dba(0x2fc)]},'label':_0x993b1e['subject']['name'],'objectType':_0x504adb[_0x354dba(0x32b)]})),'metadata':{},'type':_0x504adb['PERSON']}]};}};Nt=Zn([ri(0x0,_0xd9eea8(_0x218bfc)),ri(0x1,_0xd9eea8(_0x3e703e))],Nt);var er=Object[_0x57ebea(0x1a9)],tr=(_0x41cdda,_0x48370c,_0x1b90b6,_0x365077)=>{for(var _0x2e3b06=_0x365077>0x1?void 0x0:_0x365077?er(_0x48370c,_0x1b90b6):_0x48370c,_0x40d2c4=_0x41cdda['length']-0x1,_0x472f5f;_0x40d2c4>=0x0;_0x40d2c4--)(_0x472f5f=_0x41cdda[_0x40d2c4])&&(_0x2e3b06=_0x472f5f(_0x2e3b06)||_0x2e3b06);return _0x2e3b06;},Ue=(_0x3170a6,_0x465f9b)=>(_0x161dcc,_0xc1cac3)=>_0x465f9b(_0x161dcc,_0xc1cac3,_0x3170a6);let ot=class extends _0xdd442f{constructor(_0x310919,_0x404cbf,_0x422e71,_0x301c5f,_0xed5fce){var _0x258d6c=_0x57ebea;super(),this[_0x258d6c(0x30c)]=_0x310919,this['_univerInstanceService']=_0x404cbf,this[_0x258d6c(0x446)]=_0x422e71,this[_0x258d6c(0x2f3)]=_0x301c5f,this[_0x258d6c(0x150)]=_0xed5fce,this[_0x258d6c(0x431)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x6d397d=_0x57ebea;const _0x4917ee=async _0x3d91a5=>{var _0x2c13c9=_0x5a33;(await this[_0x2c13c9(0x2f3)][_0x2c13c9(0x3b1)](_0x3d91a5))[_0x2c13c9(0x3a4)][_0x2c13c9(0x165)](_0x39a069(_0x4044d5=>_0x4044d5[_0x2c13c9(0x34b)]===_0x427891['SHOULD_CLOSE_CONN']),_0x1a3065(this[_0x2c13c9(0x1c5)]))[_0x2c13c9(0x3dc)](_0x2f0bd4=>{var _0x52386a=_0x2c13c9;const _0x2f35e4=_0x2f0bd4,{reason:_0x589a30}=_0x2f35e4[_0x52386a(0x455)];this['_collaborationUIEventService'][_0x52386a(0x37b)]({'id':re[_0x52386a(0x35c)],'data':_0x589a30}),this[_0x52386a(0x446)]['updatePermissionPoint'](new _0x108f1a(_0x3d91a5)['id'],!0x1),this[_0x52386a(0x2f3)][_0x52386a(0x35b)](_0x3d91a5);});};_0xad8c79(this[_0x6d397d(0x26b)][_0x6d397d(0x255)](_0x3d0f32['UNIVER_SHEET']),this[_0x6d397d(0x26b)][_0x6d397d(0x255)](_0x3d0f32['UNIVER_DOC']))['pipe'](_0xd5a8e5(_0x12a64d=>_0x12a64d[_0x6d397d(0x1c3)]()),_0x39a069(_0x458fbe=>!_0x30a55c(_0x458fbe)),_0x1a3065(this[_0x6d397d(0x1c5)]))['subscribe'](_0x340ba1=>{_0x4917ee(_0x340ba1);});}[_0x57ebea(0x431)](){var _0x5c994a=_0x57ebea;const _0x178394=async _0x36fbf2=>{var _0x1d046d=_0x5a33;const _0x4cc8d4=await this['_collaborationSessionService'][_0x1d046d(0x3b1)](_0x36fbf2),_0x68dbd0=this[_0x1d046d(0x30c)][_0x1d046d(0x19b)](_0x47e6b5);_0x4cc8d4['event$'][_0x1d046d(0x165)](_0x39a069(_0x19990b=>_0x19990b[_0x1d046d(0x34b)]===_0x427891[_0x1d046d(0x451)]),_0x1a3065(this[_0x1d046d(0x1c5)]))[_0x1d046d(0x3dc)](_0x47fe72=>{var _0x1e9061=_0x1d046d;const _0x17dd9a=_0x47fe72,{objectId:_0x3e9b25}=_0x17dd9a[_0x1e9061(0x455)];_0x3e9b25===_0x36fbf2?_0x68dbd0[_0x1e9061(0x149)](_0x36fbf2):_0x68dbd0[_0x1e9061(0x427)](_0x36fbf2,_0x3e9b25);});};_0xad8c79(this[_0x5c994a(0x26b)][_0x5c994a(0x255)](_0x3d0f32[_0x5c994a(0x382)]))[_0x5c994a(0x165)](_0xd5a8e5(_0x968ecc=>_0x968ecc[_0x5c994a(0x1c3)]()),_0x39a069(_0x23b910=>!_0x30a55c(_0x23b910)),_0x1a3065(this[_0x5c994a(0x1c5)]))['subscribe'](_0x220f3c=>{_0x178394(_0x220f3c);});}};ot=tr([Ue(0x0,_0xd9eea8(_0xa5b871)),Ue(0x1,_0xde0007),Ue(0x2,_0x54b0d9),Ue(0x3,_0xd9eea8(we)),Ue(0x4,_0xd9eea8(ve))],ot);var ir=Object[_0x57ebea(0x1a9)],sr=(_0x461563,_0x434ede,_0x122583,_0x3a9fa4)=>{for(var _0x1b4df6=_0x3a9fa4>0x1?void 0x0:_0x3a9fa4?ir(_0x434ede,_0x122583):_0x434ede,_0xb788c3=_0x461563['length']-0x1,_0x39c85e;_0xb788c3>=0x0;_0xb788c3--)(_0x39c85e=_0x461563[_0xb788c3])&&(_0x1b4df6=_0x39c85e(_0x1b4df6)||_0x1b4df6);return _0x1b4df6;},ai=(_0x7ebee0,_0x335c26)=>(_0x372a36,_0x4e9f88)=>_0x335c26(_0x372a36,_0x4e9f88,_0x7ebee0);let Ct=class{constructor(_0x469946,_0x10cdc6){var _0x4ec319=_0x57ebea;this[_0x4ec319(0x25c)]=_0x469946,this[_0x4ec319(0x320)]=_0x10cdc6;}async[_0x57ebea(0x215)](_0x43e049,_0x3f1457){var _0x3708f5=_0x57ebea,_0x35ef31;const {unitID:_0x1049a7,type:_0x1e232c,revision:_0xde824b=0x0}=_0x3f1457,_0x45a627=this['getSnapshotAPIPath']()+'/'+_0x1e232c+_0x3708f5(0x143)+_0x1049a7+_0x3708f5(0x434)+_0xde824b,_0x510eca=(await this[_0x3708f5(0x320)][_0x3708f5(0x19b)](_0x45a627))['body'],_0x323825=(_0x35ef31=_0x510eca[_0x3708f5(0x275)])==null?void 0x0:_0x35ef31[_0x3708f5(0x2ca)];if(_0x323825){const _0xa9c586=_0x323825==null?void 0x0:_0x323825[_0x3708f5(0x1b4)],_0x54b14a=_0x5c83c7[_0x3708f5(0x1af)](_0x5a4419(_0xa9c586));_0x323825[_0x3708f5(0x1b4)]=_0x54b14a,Object[_0x3708f5(0x1cc)](_0x323825[_0x3708f5(0x33b)])[_0x3708f5(0x352)](([,_0x1bc18c])=>{var _0x3a6beb=_0x3708f5;const _0x399507=_0x1bc18c[_0x3a6beb(0x1b4)],_0xf9a768=_0x5c83c7['encode'](_0x5a4419(_0x399507));_0x1bc18c[_0x3a6beb(0x1b4)]=_0xf9a768;});}return _0x510eca;}async[_0x57ebea(0x389)](_0x4a74ba,_0x2d9c68){var _0x1f0fba=_0x57ebea;const {unitID:_0xac406f,type:_0x1a198b,blockID:_0xfb9c96}=_0x2d9c68,_0x391155=this[_0x1f0fba(0x23c)]()+'/'+_0x1a198b+_0x1f0fba(0x143)+_0xac406f+_0x1f0fba(0x35f)+_0xfb9c96;return(await this[_0x1f0fba(0x320)][_0x1f0fba(0x19b)](_0x391155))[_0x1f0fba(0x390)];}async[_0x57ebea(0x2c3)](_0x25a598,_0x5ad786){var _0xb2b1f6=_0x57ebea;const {unitID:_0x3f9a51,type:_0xf65e23,blockID:_0xa5e71e}=_0x5ad786,_0x3624ac=this[_0xb2b1f6(0x23c)]()+'/block/'+_0xf65e23+_0xb2b1f6(0x143)+_0x3f9a51+_0xb2b1f6(0x35f)+_0xa5e71e;return(await this['_httpService'][_0xb2b1f6(0x19b)](_0x3624ac))[_0xb2b1f6(0x390)];}async[_0x57ebea(0x2e1)](_0x28af6b,_0x402d68){var _0x2ed061=_0x57ebea;const {unitID:_0x4f7dda,type:_0x40f3c0,from:_0xdf88b9,to:_0x323fe0}=_0x402d68,_0x25044c=this[_0x2ed061(0x23c)]()+'/'+_0x40f3c0+_0x2ed061(0x143)+_0x4f7dda+_0x2ed061(0x21a)+_0xdf88b9+_0x2ed061(0x2bc)+_0x323fe0;return(await this[_0x2ed061(0x320)][_0x2ed061(0x19b)](_0x25044c))[_0x2ed061(0x390)];}[_0x57ebea(0x15e)](){var _0x3a7342=_0x57ebea,_0x306457;return(_0x306457=this[_0x3a7342(0x25c)]['getConfig'](ps))!=null?_0x306457:this[_0x3a7342(0x23c)]();}[_0x57ebea(0x23c)](){var _0x11f8d9=_0x57ebea,_0x1b368a;const _0x1afd72=this['_configService'][_0x11f8d9(0x1f4)](K);return(_0x1b368a=_0x1afd72==null?void 0x0:_0x1afd72[_0x11f8d9(0x19d)])!=null?_0x1b368a:Es;}async[_0x57ebea(0x429)](_0x2d6c14,_0x5254e2){var _0x37b424=_0x57ebea;const _0x3f8082='/universer-api/snapshot/'+_0x5254e2[_0x37b424(0x286)]+'/unit/'+_0x5254e2[_0x37b424(0x1fb)]+_0x37b424(0x3e7);return(await this[_0x37b424(0x320)][_0x37b424(0x19b)](_0x3f8082,{'params':{'resourceId':JSON[_0x37b424(0x3fb)](_0x5254e2['resourceIDs'])}}))[_0x37b424(0x390)];}[_0x57ebea(0x268)](){var _0x2253df=_0x57ebea;throw new Error(_0x2253df(0x14a));}[_0x57ebea(0x294)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x57ebea(0x2fe)](){var _0x3726ca=_0x57ebea;throw new Error(_0x3726ca(0x14a));}[_0x57ebea(0x2ea)](){var _0x5a3717=_0x57ebea;throw new Error(_0x5a3717(0x14a));}[_0x57ebea(0x38e)](){var _0x18dab4=_0x57ebea;throw new Error(_0x18dab4(0x14a));}[_0x57ebea(0x198)](){var _0x5018d0=_0x57ebea;throw new Error(_0x5018d0(0x14a));}};Ct=sr([ai(0x0,_0x218bfc),ai(0x1,_0xd9eea8(_0x3e703e))],Ct);var nr=Object[_0x57ebea(0x1a9)],rr=(_0x78e358,_0x793a69,_0x185363,_0x21b1b)=>{var _0x42b22c=_0x57ebea;for(var _0x54f16b=_0x21b1b>0x1?void 0x0:_0x21b1b?nr(_0x793a69,_0x185363):_0x793a69,_0x228f21=_0x78e358[_0x42b22c(0x291)]-0x1,_0x51cf2d;_0x228f21>=0x0;_0x228f21--)(_0x51cf2d=_0x78e358[_0x228f21])&&(_0x54f16b=_0x51cf2d(_0x54f16b)||_0x54f16b);return _0x54f16b;},Ae=(_0x34cb86,_0x417ef2)=>(_0x449789,_0x4ba9c3)=>_0x417ef2(_0x449789,_0x4ba9c3,_0x34cb86);let bt=class extends _0x5c6473{constructor(_0x842fa6,_0x59d244,_0x2cf195,_0x323769,_0xdcb044){var _0x507ed4=_0x57ebea;super(_0x842fa6,_0x59d244,_0x2cf195),this[_0x507ed4(0x13b)]=_0x323769,this[_0x507ed4(0x3cc)]=_0xdcb044;}[_0x57ebea(0x346)](_0x125b37,_0x1bdc3e){var _0x5ce389=_0x57ebea;const _0xda2a85=this[_0x5ce389(0x3b2)](_0x125b37);if(_0xda2a85)try{const _0x4d4904=this[_0x5ce389(0x141)](_0xda2a85,_0x1bdc3e);this['_substituteUndoStack'](_0x125b37,_0x4d4904);}catch(_0x2f3d7a){this[_0x5ce389(0x3cc)][_0x5ce389(0x379)]('[CollaborationUndoRedoService]',_0x2f3d7a),this['_clearUndo'](_0x125b37);}const _0x25e448=this['_getRedoStack'](_0x125b37);if(_0x25e448)try{const _0x288730=this[_0x5ce389(0x141)](_0x25e448,_0x1bdc3e);this[_0x5ce389(0x26a)](_0x125b37,_0x288730);}catch(_0x2bb899){this[_0x5ce389(0x3cc)][_0x5ce389(0x379)](_0x2bb899),this['_clearRedo'](_0x125b37);}}['_clearUndo'](_0x44cbc0){var _0x7d169=_0x57ebea;const _0x39b0f7=this['_getUndoStack'](_0x44cbc0);_0x39b0f7&&(_0x39b0f7[_0x7d169(0x291)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x4f3f09){var _0x4bcc88=_0x57ebea;const _0x45bcb3=this[_0x4bcc88(0x2ff)](_0x4f3f09);_0x45bcb3&&(_0x45bcb3['length']=0x0,this['_updateStatus']());}[_0x57ebea(0x454)](_0x534c2e,_0x1c9ab4){var _0x32e267=_0x57ebea;this['_undoStacks']['set'](_0x534c2e,_0x1c9ab4),this[_0x32e267(0x44d)]();}[_0x57ebea(0x26a)](_0x4f7f07,_0xd39fab){var _0x34c3f2=_0x57ebea;this['_redoStacks'][_0x34c3f2(0x375)](_0x4f7f07,_0xd39fab),this['_updateStatus']();}[_0x57ebea(0x141)](_0x4da367,_0x6940){var _0x586985=_0x57ebea;const _0x4a7fd9=[];let _0x3d3805=_0x6940,_0x2888ae=_0x6940;for(let _0x1308db=_0x4da367[_0x586985(0x291)]-0x1;_0x1308db>=0x0;_0x1308db--){const {unitID:_0xa5dc2c,undoMutations:_0x255084,redoMutations:_0xeabcfd}=_0x4da367[_0x1308db],_0x371c93=this[_0x586985(0x13b)][_0x586985(0x342)](_0x3d3805,_0x255084),_0x307d6d=this[_0x586985(0x13b)]['transformMutationsWithChangeset'](_0x2888ae,_0xeabcfd);if(_0x24fa3a(_0x371c93)||_0x24fa3a(_0x307d6d)){this[_0x586985(0x3cc)][_0x586985(0x379)](_0x586985(0x157),_0x586985(0x31e),_0x371c93,_0x307d6d);break;}_0x3d3805=_0x371c93[_0x586985(0x32c)],_0x2888ae=_0x307d6d[_0x586985(0x32c)],_0x4a7fd9[_0x586985(0x37e)]({'unitID':_0xa5dc2c,'undoMutations':_0x371c93[_0x586985(0x162)],'redoMutations':_0x307d6d[_0x586985(0x162)]});}return _0x4a7fd9[_0x586985(0x1f1)]();}};bt=rr([Ae(0x0,_0xde0007),Ae(0x1,_0x146b0f),Ae(0x2,_0x8c9c87),Ae(0x3,_0x411c6c),Ae(0x4,_0x395070)],bt);var ar=Object[_0x57ebea(0x1da)],or=Object[_0x57ebea(0x1a9)],cr=(_0x212ad1,_0x1edf51,_0x264e90)=>_0x1edf51 in _0x212ad1?ar(_0x212ad1,_0x1edf51,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x264e90}):_0x212ad1[_0x1edf51]=_0x264e90,_r=(_0x5419ce,_0x4071c2,_0x54a48b,_0x3b54b1)=>{var _0x1f4700=_0x57ebea;for(var _0x3f3aa9=_0x3b54b1>0x1?void 0x0:_0x3b54b1?or(_0x4071c2,_0x54a48b):_0x4071c2,_0x364ad7=_0x5419ce[_0x1f4700(0x291)]-0x1,_0x58c02e;_0x364ad7>=0x0;_0x364ad7--)(_0x58c02e=_0x5419ce[_0x364ad7])&&(_0x3f3aa9=_0x58c02e(_0x3f3aa9)||_0x3f3aa9);return _0x3f3aa9;},pt=(_0x30d62b,_0x472e5b)=>(_0x4f8fbd,_0x221c45)=>_0x472e5b(_0x4f8fbd,_0x221c45,_0x30d62b),hr=(_0x517526,_0x2e40bd,_0x32f6fe)=>cr(_0x517526,_0x2e40bd+'',_0x32f6fe);const lr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Dt=class extends _0x24dda5{constructor(_0x1db85a,_0x3ad2c1,_0x3e4446,_0x39018a){var _0x1cdf1d=_0x57ebea;super(),D(this,_0x1cdf1d(0x144)),(this[_0x1cdf1d(0x3cc)]=_0x3ad2c1,this[_0x1cdf1d(0x30c)]=_0x3e4446,this[_0x1cdf1d(0x25c)]=_0x39018a);const {..._0x275661}=_0x18d54f({},ks,_0x1db85a);if(!_0x275661[_0x1cdf1d(0x326)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x1cdf1d(0x144)]=_0x275661,this[_0x1cdf1d(0x25c)][_0x1cdf1d(0x222)](K,_0x275661);}[_0x57ebea(0x332)](){var _0x5ed49c=_0x57ebea;this[_0x5ed49c(0x202)](),this[_0x5ed49c(0x333)]();}[_0x57ebea(0x202)](){var _0x631089=_0x57ebea,_0x4d00cf,_0x291468;this[_0x631089(0x30c)][_0x631089(0x280)](_0x3d9a42)&&this[_0x631089(0x3cc)][_0x631089(0x379)](_0x631089(0x32e),_0x631089(0x359));const _0xb5060d=_0x32dfe5([[_0x3d9a42,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this['_config'][_0x631089(0x326)]}],[_0x4d28e8,{'useClass':Ct}],[_0x2df7f1,{'useClass':Tt}],[_0x33f95c,{'useClass':Rt}],[_0x17c0ae,{'useClass':Nt}],[nt],[gt]],(_0x4d00cf=this[_0x631089(0x144)])==null?void 0x0:_0x4d00cf[_0x631089(0x1a7)]);if(!((_0x291468=this[_0x631089(0x144)])!=null&&_0x291468[_0x631089(0x203)])){const _0x1875a1=_0xb5060d['findIndex'](([_0x39fd1d])=>_0x39fd1d===_t);_0x1875a1!==-0x1&&_0xb5060d[_0x631089(0x22f)](_0x1875a1,0x1);}_0x2d70a4(this[_0x631089(0x30c)],_0xb5060d);}[_0x57ebea(0x333)](){var _0x342df3=_0x57ebea,_0x34612f,_0x2a05f7,_0x38ab8e;this[_0x342df3(0x30c)][_0x342df3(0x19b)](_0x3e703e)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x55867b({'maxParallel':0x6})}),(_0x34612f=this['_config'])!=null&&_0x34612f[_0x342df3(0x292)]||(_0x2a05f7=this[_0x342df3(0x30c)][_0x342df3(0x19b)](X,_0x4e93f3[_0x342df3(0x1c9)]))==null||_0x2a05f7[_0x342df3(0x3ca)](),(_0x38ab8e=this[_0x342df3(0x144)])!=null&&_0x38ab8e[_0x342df3(0x1d7)]&&_0x3c0e82(this[_0x342df3(0x30c)],[[rt]]),_0x3c0e82(this[_0x342df3(0x30c)],[[at],[nt],[ot]]);}};hr(Dt,'pluginName',lr),Dt=_r([_0x4bd723(_0x53d603,_0x3d3879),pt(0x1,_0x395070),pt(0x2,_0xd9eea8(_0xa5b871)),pt(0x3,_0x218bfc)],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,pi as CommentService,ue as ConflictState,Is as DEFAULT_COLLAB_WEB_SOCKET_URL,br as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Or as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Ss as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Vs as INetworkConditionService,_t as ISingleActiveUnitService,Nr as LOCAL_CACHE_INTERVAL,Rr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,Cr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Os as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ct as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Gs as deserializeToCombResponse,Dr as getLocalCacheKey,Ws as serializeCombRequest};
|