@univerjs-pro/collaboration-client 0.15.0-insiders.20260107-3d1cfdf → 0.15.0-insiders.20260108-7b9120d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0xb830ac=_0x17ca;(function(_0x132285,_0x58f274){var _0x11571e=_0x17ca,_0xf12c68=_0x132285();while(!![]){try{var _0x21d777=-parseInt(_0x11571e(0x171))/0x1+-parseInt(_0x11571e(0x1b1))/0x2*(parseInt(_0x11571e(0x185))/0x3)+parseInt(_0x11571e(0x262))/0x4+-parseInt(_0x11571e(0x3bb))/0x5*(-parseInt(_0x11571e(0x1f8))/0x6)+-parseInt(_0x11571e(0x1fb))/0x7+parseInt(_0x11571e(0x20b))/0x8*(parseInt(_0x11571e(0x224))/0x9)+parseInt(_0x11571e(0x265))/0xa*(-parseInt(_0x11571e(0x369))/0xb);if(_0x21d777===_0x58f274)break;else _0xf12c68['push'](_0xf12c68['shift']());}catch(_0x5e70dd){_0xf12c68['push'](_0xf12c68['shift']());}}}(_0x1d47,0xac7ce));var Di=Object[_0xb830ac(0x180)],yi=(_0x24f01a,_0x2f6a64,_0x2637e3)=>_0x2f6a64 in _0x24f01a?Di(_0x24f01a,_0x2f6a64,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2637e3}):_0x24f01a[_0x2f6a64]=_0x2637e3,D=(_0x163610,_0x4900b2,_0x293b94)=>yi(_0x163610,typeof _0x4900b2!=_0xb830ac(0x306)?_0x4900b2+'':_0x4900b2,_0x293b94);import{CollaborationEvent as _0x4fe2f4,ITransformService as _0x3e67f5,isTransformMutationsWithChangesetSuccess as _0x4c5d6f,mapDocumentTypeToUniverType as _0x46a280,RevisionService as _0x19252a,isTransformChangesetsSuccess as _0x577c16,EmptyMutationInfo as _0x20defb,CompressMutationService as _0xe69ba6,parseProtocolChangeset as _0x4d2371,uuidv4 as _0x2e6657,ISnapshotServerService as _0x256d14,parseChangesetToProtocol as _0x7a02c2,SnapshotService as _0x16b550,textEncoder as _0x239223,b64DecodeUnicode as _0x9b7a41,isTransformMutationsWithChangesetFailure as _0x2a7718,UniverCollaborationPlugin as _0x3bfe3e}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x469993,Inject as _0x2aff60,UserManagerService as _0x2f2574,Disposable as _0x484da3,UniverInstanceType as _0x2d50ad,ILogService as _0x469422,IConfigService as _0x495b35,Optional as _0x2c2398,RxDisposable as _0x19a501,createIdentifier as _0x4d8857,Injector as _0x57442c,Tools as _0x1885ff,Rectangle as _0xcdb3a4,ICommandService as _0x26c597,JSONX as _0x5e6a4d,IUndoRedoService as _0xf3cf67,IPermissionService as _0x228023,LocaleService as _0x22c541,sequenceExecute as _0x253229,toDisposable as _0x17653c,CommandType as _0x48d90a,DisposableCollection as _0x4a5193,Workbook as _0x19906d,resolveWithBasePath as _0x188f0c,generateRandomId as _0x49efa2,MentionType as _0x450374,isInternalEditorID as _0x483a44,LocalUndoRedoService as _0x283e51,IContextService as _0x3befc9,DependentOn as _0x22d998,Plugin as _0x14de56,merge as _0x5e72bb,mergeOverrideWithDependencies as _0x5d2cbc,IAuthzIoService as _0x9db73a,IMentionIOService as _0x4eff9c,registerDependencies as _0x4eb64e,Quantity as _0x315b9b,touchDependencies as _0xd8901c}from'@univerjs/core';import{RichTextEditingMutation as _0xd7a1e}from'@univerjs/docs';import{SheetsSelectionsService as _0x338a76,SetSelectionsOperation as _0x124efa,InsertSheetMutation as _0x498872,WorkbookEditablePermission as _0x27abd8,SheetPermissionInitController as _0xf9df9f}from'@univerjs/sheets';import{Subject as _0x486fe1,merge as _0x12897c,of as _0x1e2000,BehaviorSubject as _0x392068,takeUntil as _0x31e3f0,ReplaySubject as _0x5cc4a1,take as _0x3bd633,map as _0x4de580,shareReplay as _0x286661,firstValueFrom as _0x356fd4,concatMap as _0x1973e3}from'rxjs';import{ITelemetryService as _0x1ce63c}from'@univerjs/telemetry';import{map as _0x23d4e7,take as _0x417dfc,filter as _0x15cae6,delay as _0x325e28,takeUntil as _0x22f454}from'rxjs/operators';import{HTTPService as _0x562ff5,ISocketService as _0x141d63,MergeInterceptorFactory as _0x5d7cff,HTTPRequest as _0x536ac0,UniverNetworkPlugin as _0x267d46,ThresholdInterceptorFactory as _0x80a204}from'@univerjs/network';import{ImageSourceType as _0x488ba6,ImageUploadStatusType as _0x34a7b8,IImageIoService as _0x2e435f}from'@univerjs/drawing';import{getGlobalObject as _0x437485}from'@univerjs-pro/license';const Es='/universer-api/snapshot',ps=_0xb830ac(0x242),ms=0x7d0,Is=_0xb830ac(0x113),Or=_0xb830ac(0x156),Ss='HEARTBEAT_INTERVAL',gs=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Ts=0x4e20,Os=_0xb830ac(0x2e6),Rs=0x3,Rr=_0xb830ac(0xf7),Nr=0x3e8,Ns='/universer-api/comb',Cs=_0xb830ac(0x243),Cr='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',br=_0xb830ac(0x158);var vi=(_0x9c4c2e=>(_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3c8)]=0x0]=_0xb830ac(0x3c8),_0x9c4c2e[_0x9c4c2e['OK']=0x1]='OK',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x201)]=0x2]=_0xb830ac(0x201),_0x9c4c2e[_0x9c4c2e['PERMISSION_DENIED']=0x3]=_0xb830ac(0x378),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3e4)]=0x4]=_0xb830ac(0x3e4),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3e0)]=0x5]=_0xb830ac(0x3e0),_0x9c4c2e[_0x9c4c2e['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x252)]=0x7]=_0xb830ac(0x252),_0x9c4c2e[_0x9c4c2e['TOO_MANY_REQUESTS']=0x8]=_0xb830ac(0x2ff),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3cd)]=0x9]=_0xb830ac(0x3cd),_0x9c4c2e[_0x9c4c2e['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x2aa)]=0xb]=_0xb830ac(0x2aa),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x387)]=0xc]=_0xb830ac(0x387),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x291)]=0xd]=_0xb830ac(0x291),_0x9c4c2e[_0x9c4c2e['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xb830ac(0x20a),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x1d6)]=0xf]=_0xb830ac(0x1d6),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0xee)]=0x10]=_0xb830ac(0xee),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x135)]=0x64]=_0xb830ac(0x135),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3c3)]=0x65]=_0xb830ac(0x3c3),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x24e)]=0xc9]=_0xb830ac(0x24e),_0x9c4c2e[_0x9c4c2e['USER_IS_ANONYMOUS']=0xca]=_0xb830ac(0x1ce),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x24a)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x38c)]=0x1771]=_0xb830ac(0x38c),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x1a8)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x9c4c2e[_0x9c4c2e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xb830ac(0x1b3),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x15a)]=0x1b59]='APPLY_REJECT',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x339)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x9c4c2e[_0x9c4c2e['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xb830ac(0x394),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3d4)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3eb)]=0x1b5d]=_0xb830ac(0x3eb),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3c1)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x132)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x22d)]=0x232a]=_0xb830ac(0x22d),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3af)]=0x232b]=_0xb830ac(0x3af),_0x9c4c2e[_0x9c4c2e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0xb830ac(0x365),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x342)]=0x232d]=_0xb830ac(0x342),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x24f)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x36c)]=0x2712]=_0xb830ac(0x36c),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x21a)]=0x2713]=_0xb830ac(0x21a),_0x9c4c2e[_0x9c4c2e['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xb830ac(0x2a0),_0x9c4c2e[_0x9c4c2e['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x305)]=0x271b]=_0xb830ac(0x305),_0x9c4c2e[_0x9c4c2e['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x9c4c2e[_0x9c4c2e['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0xb830ac(0x255),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x33e)]=0x271e]=_0xb830ac(0x33e),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x38e)]=0x271f]=_0xb830ac(0x38e),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x207)]=0x2720]=_0xb830ac(0x207),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x216)]=0x2af9]=_0xb830ac(0x216),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3ea)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x9c4c2e[_0x9c4c2e['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x11e)]=0x2ee3]=_0xb830ac(0x11e),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x190)]=0x2ee4]=_0xb830ac(0x190),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x1f9)]=0x2ee5]=_0xb830ac(0x1f9),_0x9c4c2e[_0x9c4c2e['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xb830ac(0x3a1),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x331)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x1cf)]=0x32cb]=_0xb830ac(0x1cf),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x36e)]=0x36b1]=_0xb830ac(0x36e),_0x9c4c2e[_0x9c4c2e['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0xb830ac(0x1a9),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x219)]=0x36b3]=_0xb830ac(0x219),_0x9c4c2e[_0x9c4c2e['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x39e)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x267)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x37b)]=0x36b7]=_0xb830ac(0x37b),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x1aa)]=0x36b8]=_0xb830ac(0x1aa),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x1b4)]=0x3715]=_0xb830ac(0x1b4),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x36f)]=0x3716]=_0xb830ac(0x36f),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x31d)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x14d)]=0x37dd]=_0xb830ac(0x14d),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3a2)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x2f4)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x32a)]=0x3a9b]=_0xb830ac(0x32a),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x34e)]=0x3a9c]=_0xb830ac(0x34e),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x3ab)]=0x3a9d]=_0xb830ac(0x3ab),_0x9c4c2e[_0x9c4c2e['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0xb830ac(0x1e7),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x350)]=0x3a9f]=_0xb830ac(0x350),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0xf4)]=0x3e81]=_0xb830ac(0xf4),_0x9c4c2e[_0x9c4c2e[_0xb830ac(0x111)]=-0x1]=_0xb830ac(0x111),_0x9c4c2e))(vi||{}),Q=(_0x727382=>(_0x727382[_0x727382[_0xb830ac(0x287)]=0x0]='UNIVER_UNKNOWN',_0x727382[_0x727382[_0xb830ac(0x264)]=0x1]=_0xb830ac(0x264),_0x727382[_0x727382[_0xb830ac(0x15b)]=0x2]=_0xb830ac(0x15b),_0x727382[_0x727382[_0xb830ac(0x336)]=0x3]=_0xb830ac(0x336),_0x727382[_0x727382[_0xb830ac(0x388)]=0x4]=_0xb830ac(0x388),_0x727382[_0x727382[_0xb830ac(0x111)]=-0x1]=_0xb830ac(0x111),_0x727382))(Q||{}),j=(_0x32db00=>(_0x32db00[_0x32db00['UNKNOWN_CMD']=0x0]=_0xb830ac(0x268),_0x32db00[_0x32db00[_0xb830ac(0x39c)]=0x1]='HELLO',_0x32db00[_0x32db00['JOIN']=0x2]=_0xb830ac(0x258),_0x32db00[_0x32db00['LEAVE']=0x3]=_0xb830ac(0x303),_0x32db00[_0x32db00['INGEST']=0x4]='INGEST',_0x32db00[_0x32db00['HEARTBEAT']=0x5]=_0xb830ac(0x16c),_0x32db00[_0x32db00[_0xb830ac(0x177)]=0x6]=_0xb830ac(0x177),_0x32db00[_0x32db00[_0xb830ac(0x111)]=-0x1]=_0xb830ac(0x111),_0x32db00))(j||{}),Ee=(_0x9ce498=>(_0x9ce498[_0x9ce498['UNKNOWN_CODE']=0x0]=_0xb830ac(0x240),_0x9ce498[_0x9ce498['OK']=0x1]='OK',_0x9ce498[_0x9ce498['FAIL']=0x2]=_0xb830ac(0x26f),_0x9ce498[_0x9ce498[_0xb830ac(0xfa)]=0x3e9]=_0xb830ac(0xfa),_0x9ce498[_0x9ce498[_0xb830ac(0x3e6)]=0x3ea]=_0xb830ac(0x3e6),_0x9ce498[_0x9ce498[_0xb830ac(0x3b8)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x9ce498[_0x9ce498[_0xb830ac(0x1c9)]=0x3ec]=_0xb830ac(0x1c9),_0x9ce498[_0x9ce498['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x9ce498))(Ee||{}),Ei=(_0x2c93b4=>(_0x2c93b4[_0x2c93b4['Undefined']=0x0]=_0xb830ac(0x223),_0x2c93b4[_0x2c93b4['HttpImport']=0x1]=_0xb830ac(0x2c1),_0x2c93b4[_0x2c93b4[_0xb830ac(0x259)]=0x2]='HttpExport',_0x2c93b4[_0x2c93b4[_0xb830ac(0x2df)]=0x3]=_0xb830ac(0x2df),_0x2c93b4[_0x2c93b4[_0xb830ac(0x19e)]=0x4]=_0xb830ac(0x19e),_0x2c93b4[_0x2c93b4[_0xb830ac(0x2cc)]=0x5]=_0xb830ac(0x2cc),_0x2c93b4[_0x2c93b4[_0xb830ac(0x117)]=0x6]='ClipsheetFragments',_0x2c93b4[_0x2c93b4[_0xb830ac(0x111)]=-0x1]='UNRECOGNIZED',_0x2c93b4))(Ei||{});const bs='collaboration_new_changeset';function Ds(_0x3d8996){var _0x295fb1=_0xb830ac;return JSON['stringify'](_0x3d8996)[_0x295fb1(0x13f)];}var re=(_0x396bb4=>(_0x396bb4[_0xb830ac(0x102)]=_0xb830ac(0x102),_0x396bb4[_0xb830ac(0x378)]=_0xb830ac(0x378),_0x396bb4[_0xb830ac(0x1df)]=_0xb830ac(0x1df),_0x396bb4['CLOSE_ROOM']='CLOSE_ROOM',_0x396bb4[_0xb830ac(0x130)]='JOIN_ROOM_FAILED',_0x396bb4[_0xb830ac(0x25f)]='SOCKET_FAILED_RETRY',_0x396bb4[_0xb830ac(0x28e)]=_0xb830ac(0x28e),_0x396bb4[_0xb830ac(0x29d)]=_0xb830ac(0x29d),_0x396bb4))(re||{});class ve{constructor(){var _0xcc3b27=_0xb830ac;D(this,_0xcc3b27(0x198),new _0x486fe1()),D(this,'event$',this['_event$'][_0xcc3b27(0x290)]());}[_0xb830ac(0x2f9)](_0x33a928){var _0x5108df=_0xb830ac;this['_event$'][_0x5108df(0x309)](_0x33a928);}}class pi{constructor(){var _0x413e47=_0xb830ac;D(this,_0x413e47(0x3ba),new _0x486fe1()),D(this,_0x413e47(0x22b),this[_0x413e47(0x3ba)][_0x413e47(0x290)]());}['onCommentUpdate'](_0xec0bb7){var _0x46891f=_0xb830ac;this[_0x46891f(0x3ba)]['next'](_0xec0bb7);}}var ys=Object[_0xb830ac(0x2f2)],Us=(_0x508682,_0x2cf47f,_0x23d9a0,_0xa5fbf8)=>{var _0x833b78=_0xb830ac;for(var _0x2906b0=_0xa5fbf8>0x1?void 0x0:_0xa5fbf8?ys(_0x2cf47f,_0x23d9a0):_0x2cf47f,_0x11df10=_0x508682[_0x833b78(0x13f)]-0x1,_0x261f65;_0x11df10>=0x0;_0x11df10--)(_0x261f65=_0x508682[_0x11df10])&&(_0x2906b0=_0x261f65(_0x2906b0)||_0x2906b0);return _0x2906b0;},Ft=(_0x35ecf3,_0x52f67d)=>(_0x4d8650,_0x803dcb)=>_0x52f67d(_0x4d8650,_0x803dcb,_0x35ecf3);let Pe=class extends _0x484da3{constructor(_0x2414ea,_0x3afc23){var _0x451590=_0xb830ac;super(),D(this,_0x451590(0x21e),new Map()),D(this,'_roomCreated$',new _0x486fe1()),(this[_0x451590(0x227)]=_0x2414ea,this[_0x451590(0x409)]=_0x3afc23,this['disposeWithMe'](_0x12897c(this['_univerInstanceService'][_0x451590(0x3e7)](_0x2d50ad[_0x451590(0x15b)])[_0x451590(0x12e)](_0x23d4e7(_0x505964=>_0x505964['getUnitId']())),this['_univerInstanceService'][_0x451590(0x3e7)](_0x2d50ad[_0x451590(0x264)])['pipe'](_0x23d4e7(_0x2506fe=>_0x2506fe['getUnitId']())),this[_0x451590(0x227)]['getTypeOfUnitDisposed$'](_0x2d50ad[_0x451590(0x336)])['pipe'](_0x23d4e7(_0x5bffc4=>_0x5bffc4[_0x451590(0x3b7)]())))['subscribe'](_0x5da97e=>this[_0x451590(0x28a)](_0x5da97e))));}[_0xb830ac(0x2f6)](_0x15a2d0){var _0x48c30f=_0xb830ac;return this[_0x48c30f(0x21e)][_0x48c30f(0x362)](_0x15a2d0)?_0x1e2000(this[_0x48c30f(0x21e)][_0x48c30f(0x12c)](_0x15a2d0)):this[_0x48c30f(0x321)][_0x48c30f(0x12e)](_0x23d4e7(_0x3195b8=>{var _0x23d04c=_0x48c30f;if(_0x3195b8===_0x15a2d0)return this[_0x23d04c(0x21e)][_0x23d04c(0x12c)](_0x3195b8);}));}[_0xb830ac(0x1f6)](_0x95f345){var _0x467b10=_0xb830ac;this[_0x467b10(0x409)]['setCurrentUser'](_0x95f345);}['getCurrentUser'](){var _0x476db1=_0xb830ac;return this[_0x476db1(0x409)][_0x476db1(0x284)]();}[_0xb830ac(0x182)](_0x41403f,_0x1798c8){var _0x2f1ddb=_0xb830ac;let _0x49e948=this[_0x2f1ddb(0x21e)][_0x2f1ddb(0x12c)](_0x41403f);_0x49e948||(_0x49e948=new As(),this[_0x2f1ddb(0x21e)]['set'](_0x41403f,_0x49e948),this[_0x2f1ddb(0x321)]['next'](_0x41403f)),_0x49e948[_0x2f1ddb(0x182)](_0x1798c8);}['removeMember'](_0x1d6dba,_0x10e907){var _0x152974=_0xb830ac;const _0x15f0b4=this[_0x152974(0x21e)]['get'](_0x1d6dba);_0x15f0b4&&_0x15f0b4['removeMember'](_0x10e907);}[_0xb830ac(0x3c5)](_0x5e1c06){var _0x2b6214=_0xb830ac;return this['_roomMembers'][_0x2b6214(0x12c)](_0x5e1c06);}[_0xb830ac(0x172)](_0x28b878,_0x4f4c93){var _0x4b4e38=_0xb830ac;const _0x141f10=this[_0x4b4e38(0x21e)][_0x4b4e38(0x12c)](_0x28b878);if(_0x141f10)return _0x141f10[_0x4b4e38(0x172)](_0x4f4c93);}[_0xb830ac(0x28a)](_0x5e5d1e){var _0x761587=_0xb830ac;const _0x3bd6a8=this[_0x761587(0x21e)][_0x761587(0x12c)](_0x5e5d1e);_0x3bd6a8&&(_0x3bd6a8['dispose'](),this[_0x761587(0x21e)][_0x761587(0x100)](_0x5e5d1e));}['dispose'](){var _0x5c6546=_0xb830ac;this['_roomMembers'][_0x5c6546(0x2a3)](_0x2986b7=>_0x2986b7[_0x5c6546(0x1b6)]()),this[_0x5c6546(0x21e)][_0x5c6546(0x17b)](),this[_0x5c6546(0x321)][_0x5c6546(0x2cf)]();}};Pe=Us([Ft(0x0,_0x469993),Ft(0x1,_0x2aff60(_0x2f2574))],Pe);class As extends _0x484da3{constructor(){var _0x4bc353=_0xb830ac;super(...arguments),D(this,_0x4bc353(0x2d2),new Map()),D(this,'_members$',new _0x392068(this[_0x4bc353(0x2d2)])),D(this,'members$',this[_0x4bc353(0x1f1)][_0x4bc353(0x290)]());}['dispose'](){var _0x5dec21=_0xb830ac;this[_0x5dec21(0x2d2)]['clear']();}[_0xb830ac(0x182)](_0x5daace){var _0x2eaae6=_0xb830ac;this[_0x2eaae6(0x2d2)][_0x2eaae6(0x1af)](_0x5daace[_0x2eaae6(0x164)],_0x5daace),this[_0x2eaae6(0xf0)]();}['removeMember'](_0x1cd876){var _0x20c9a9=_0xb830ac;this[_0x20c9a9(0x2d2)][_0x20c9a9(0x100)](_0x1cd876);}[_0xb830ac(0x172)](_0x561fd6){var _0x117100=_0xb830ac;return this[_0x117100(0x2d2)][_0x117100(0x12c)](_0x561fd6);}['getAllMembers'](){return Array['from'](this['_members']['values']());}['_emitMembers'](){var _0x369e14=_0xb830ac;this[_0x369e14(0x1f1)][_0x369e14(0x309)](this[_0x369e14(0x2d2)]);}}var Ps=Object[_0xb830ac(0x2f2)],Ls=(_0x13a7f6,_0x358b51,_0x1fe12a,_0xf085f)=>{for(var _0x15b18c=_0xf085f>0x1?void 0x0:_0xf085f?Ps(_0x358b51,_0x1fe12a):_0x358b51,_0xd5cba8=_0x13a7f6['length']-0x1,_0x2fb9b8;_0xd5cba8>=0x0;_0xd5cba8--)(_0x2fb9b8=_0x13a7f6[_0xd5cba8])&&(_0x15b18c=_0x2fb9b8(_0x15b18c)||_0x15b18c);return _0x15b18c;},Oe=(_0x1b8ed2,_0x3ac194)=>(_0x18546b,_0x5475e0)=>_0x3ac194(_0x18546b,_0x5475e0,_0x1b8ed2),me=(_0xa8b217=>(_0xa8b217[_0xa8b217[_0xb830ac(0x308)]=0x0]=_0xb830ac(0x308),_0xa8b217[_0xa8b217[_0xb830ac(0x3e5)]=0x1]=_0xb830ac(0x3e5),_0xa8b217[_0xa8b217['OFFLINE']=0x2]=_0xb830ac(0x1a4),_0xa8b217[_0xa8b217[_0xb830ac(0x320)]=0x3]=_0xb830ac(0x320),_0xa8b217))(me||{});const jt={[Ee[_0xb830ac(0x26f)]]:_0xb830ac(0x1b5),[Ee[_0xb830ac(0xfa)]]:'session.room-full',[Ee[_0xb830ac(0x3e6)]]:_0xb830ac(0x238),[Ee[_0xb830ac(0x3b8)]]:_0xb830ac(0x36b),[Ee[_0xb830ac(0x1c9)]]:'session.room-cnt-exceeds'};let mt=class extends _0x19a501{constructor(_0x41f33e,_0x184b77,_0x185db4,_0x59b31a,_0x11c715,_0x123576,_0x305900,_0x11ca35){var _0xc9ce45=_0xb830ac;super(),D(this,'_sessionStatus$',new _0x392068(0x0)),D(this,'sessionStatus$',this[_0xc9ce45(0x248)][_0xc9ce45(0x290)]()),D(this,_0xc9ce45(0x198),new _0x486fe1()),D(this,'event$',this[_0xc9ce45(0x198)][_0xc9ce45(0x290)]()),D(this,_0xc9ce45(0x26a)),D(this,'_socketMessageSubscription'),D(this,_0xc9ce45(0x14c)),D(this,'_shouldReportTelemetry',!0x1),D(this,'_telemetryInfo',null),(this['_unitID']=_0x41f33e,this[_0xc9ce45(0x3ef)]=_0x185db4,this[_0xc9ce45(0x25e)]=_0x59b31a,this['_memberService']=_0x11c715,this[_0xc9ce45(0x23a)]=_0x123576,this[_0xc9ce45(0x139)]=_0x305900,this['_telemetryService']=_0x11ca35,this[_0xc9ce45(0x200)]=!!this['_telemetryService'],_0x184b77['pipe'](_0x31e3f0(this['dispose$']))[_0xc9ce45(0x3db)](_0x46b280=>{var _0x3c26de=_0xc9ce45,_0x2406e9;typeof _0x46b280>'u'||(this[_0x3c26de(0x26a)]=_0x46b280,_0x46b280?(this[_0x3c26de(0x279)](_0x46b280),this[_0x3c26de(0x355)]=_0x46b280[_0x3c26de(0x399)][_0x3c26de(0x3db)](_0x3716e0=>{var _0x446a6f=_0x3c26de;_0x3716e0[_0x446a6f(0x31c)]===this[_0x446a6f(0x34c)]&&this[_0x446a6f(0x351)](_0x3716e0);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x3c26de(0x248)]['next'](0x2),(_0x2406e9=this[_0x3c26de(0x355)])==null||_0x2406e9['unsubscribe'](),this[_0x3c26de(0x355)]=null));}));}get[_0xb830ac(0x382)](){var _0x51aff6=_0xb830ac;return this[_0x51aff6(0x248)][_0x51aff6(0x2d7)]();}[_0xb830ac(0x1fa)](){var _0x224034=_0xb830ac,_0xea7287,_0x2e14db;return(_0x2e14db=(_0xea7287=this[_0x224034(0x26a)])==null?void 0x0:_0xea7287[_0x224034(0x164)])!=null?_0x2e14db:null;}[_0xb830ac(0x1b6)](){var _0x2b528c=_0xb830ac;super[_0x2b528c(0x1b6)](),this[_0x2b528c(0x1e3)][_0x2b528c(0x309)](),this[_0x2b528c(0x1e3)][_0x2b528c(0x2cf)]();}[_0xb830ac(0x2b5)](){var _0x34d926=_0xb830ac,_0x33c56a,_0x4fb50e;this[_0x34d926(0x38f)](),(_0x33c56a=this['_socket'])==null||_0x33c56a[_0x34d926(0x21f)]({'cmd':j[_0x34d926(0x303)],'data':{'roomID':this[_0x34d926(0x34c)]}}),(_0x4fb50e=this[_0x34d926(0x26a)])==null||_0x4fb50e['close'](),this['_event$'][_0x34d926(0x2cf)](),this[_0x34d926(0x248)][_0x34d926(0x2cf)](),this[_0x34d926(0x1b6)]();}[_0xb830ac(0x351)](_0x5e7512){var _0x4fb830=_0xb830ac;_0x5e7512[_0x4fb830(0x29f)]===j[_0x4fb830(0x258)]?this[_0x4fb830(0x404)](_0x5e7512):_0x5e7512['cmd']===j['RECV']&&this[_0x4fb830(0x3bf)](_0x5e7512);}[_0xb830ac(0x279)](_0xd10be0){var _0xb131eb=_0xb830ac;this[_0xb131eb(0x248)]['next'](0x1),_0xd10be0['send']({'cmd':j[_0xb131eb(0x258)],'routeKey':this[_0xb131eb(0x34c)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0xbff819){var _0x1c153e=_0xb830ac,_0x391ba7;if(_0xbff819[_0x1c153e(0x3fe)]in jt){this['_collaborationUIEventService']['emitEvent']({'id':re[_0x1c153e(0x130)],'data':jt[_0xbff819[_0x1c153e(0x3fe)]]}),this[_0x1c153e(0x248)][_0x1c153e(0x309)](0x2);return;}this[_0x1c153e(0x248)]['next'](0x3);const _0x4e664a=(_0x391ba7=_0xbff819['data']['roomInfos'][this[_0x1c153e(0x34c)]])==null?void 0x0:_0x391ba7['members'];_0x4e664a&&_0x4e664a[_0x1c153e(0x2a3)](_0x2574d3=>this[_0x1c153e(0x32b)][_0x1c153e(0x182)](this[_0x1c153e(0x34c)],_0x2574d3));}[_0xb830ac(0x3bf)](_0x5e4e55){var _0x462a75=_0xb830ac;try{const _0x28e42a=_0x5e4e55[_0x462a75(0x20e)];switch(_0x28e42a[_0x462a75(0x147)]){case _0x4fe2f4[_0x462a75(0x28c)]:this[_0x462a75(0x18c)](_0x28e42a),this[_0x462a75(0x198)][_0x462a75(0x309)](_0x28e42a);break;case _0x4fe2f4['USERS_LEAVE']:this['_onUserLeave'](_0x28e42a),this[_0x462a75(0x198)]['next'](_0x28e42a);break;case _0x4fe2f4['CHANGESET_ACK']:case _0x4fe2f4[_0x462a75(0x141)]:this[_0x462a75(0x2b0)](),this['_clearCollaborationTimeoutTimer'](),this[_0x462a75(0x198)][_0x462a75(0x309)](_0x28e42a);break;case _0x4fe2f4['MSG_FOR_ERROR']:this[_0x462a75(0x3ef)][_0x462a75(0x375)](_0x462a75(0x196)+JSON[_0x462a75(0x2b2)](_0x28e42a)),this[_0x462a75(0x198)][_0x462a75(0x309)](_0x28e42a);break;case _0x4fe2f4[_0x462a75(0x3b3)]:this[_0x462a75(0x23a)][_0x462a75(0x18e)](_0x28e42a[_0x462a75(0x20e)]),this[_0x462a75(0x198)]['next'](_0x28e42a);break;default:this[_0x462a75(0x198)][_0x462a75(0x309)](_0x28e42a);}}catch(_0x2e0fdb){this['_logService']['error'](_0x2e0fdb,_0x5e4e55);}}[_0xb830ac(0x18c)](_0x39969d){var _0x468355=_0xb830ac;this[_0x468355(0x32b)]['updateMember'](this[_0x468355(0x34c)],_0x39969d[_0x468355(0x20e)]);}[_0xb830ac(0x1ee)](_0x3635c8){var _0x2fe4d4=_0xb830ac;this[_0x2fe4d4(0x32b)][_0x2fe4d4(0x366)](this[_0x2fe4d4(0x34c)],_0x3635c8[_0x2fe4d4(0x20e)][_0x2fe4d4(0x164)]);}async['send'](_0x194ac8,_0x1d4892){var _0x508e4c=_0xb830ac;if(this[_0x508e4c(0x382)]!==0x3||!this['_socket'])throw new Error(_0x508e4c(0x1eb));try{_0x194ac8[_0x508e4c(0x147)]===_0x4fe2f4['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x194ac8)),this['_socket'][_0x508e4c(0x21f)]({'cmd':j[_0x508e4c(0x286)],'routeKey':_0x1d4892,'routeType':'','data':_0x194ac8});}catch(_0x36d284){this[_0x508e4c(0x3ef)][_0x508e4c(0x375)](_0x36d284);}}['_scheduleCollaborationTimeoutTimer'](){var _0x2f3a0b=_0xb830ac,_0x305eab;this[_0x2f3a0b(0x14c)]=setTimeout(()=>{var _0x3cbe30=_0x2f3a0b;this['_collaborationTimeoutTimer']=null,this[_0x3cbe30(0x139)][_0x3cbe30(0x2f9)]({'id':re[_0x3cbe30(0x29d)]});},(_0x305eab=this['_configService'][_0x2f3a0b(0x144)](di))!=null?_0x305eab:fi);}['_clearCollaborationTimeoutTimer'](){var _0xf96979=_0xb830ac;this[_0xf96979(0x14c)]&&(clearTimeout(this[_0xf96979(0x14c)]),this[_0xf96979(0x14c)]=null);}[_0xb830ac(0x142)](_0xd5194b){var _0x504610=_0xb830ac;if(!this['_shouldReportTelemetry'])return;const {data:_0x3e30f2}=_0xd5194b,{unitID:_0x965539,changeset:_0xc1082a}=_0x3e30f2,{mutations:_0x4a0c0b,type:_0x3b14d3}=_0xc1082a;this['_telemetryInfo']={'unitId':_0x965539,'type':_0x3b14d3,'startTime':performance[_0x504610(0x134)](),'stopTime':0x0,'duration':0x0,'size':Ds(_0x4a0c0b)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x1ec035=_0xb830ac;if(this[_0x1ec035(0x200)]){if(!this['_telemetryInfo']){this['_logService'][_0x1ec035(0x375)](_0x1ec035(0x257),_0x1ec035(0x131));return;}this['_telemetryInfo']['stopTime']=performance[_0x1ec035(0x134)](),this[_0x1ec035(0x23c)][_0x1ec035(0x1de)]=this[_0x1ec035(0x23c)][_0x1ec035(0x2ad)]-this[_0x1ec035(0x23c)][_0x1ec035(0x288)],this[_0x1ec035(0x371)][_0x1ec035(0x300)](bs,this['_telemetryInfo']),this[_0x1ec035(0x23c)]=null;}}[_0xb830ac(0x38f)](){var _0x413d80=_0xb830ac;this[_0x413d80(0x23c)]=null;}};mt=Ls([Oe(0x2,_0x469422),Oe(0x3,_0x495b35),Oe(0x4,_0x2aff60(Pe)),Oe(0x5,_0x2aff60(pi)),Oe(0x6,_0x2aff60(ve)),Oe(0x7,_0x2c2398(_0x1ce63c))],mt);const X=_0x4d8857(_0xb830ac(0x2fe));function Dr(_0x535e0a){var _0x2f8350=_0xb830ac;return _0x2f8350(0x360)+_0x535e0a;}var Ms=Object['getOwnPropertyDescriptor'],ws=(_0x487474,_0x882666,_0x279422,_0x261cdc)=>{var _0x2c4002=_0xb830ac;for(var _0x3e5f12=_0x261cdc>0x1?void 0x0:_0x261cdc?Ms(_0x882666,_0x279422):_0x882666,_0x18587b=_0x487474[_0x2c4002(0x13f)]-0x1,_0x31a4e0;_0x18587b>=0x0;_0x18587b--)(_0x31a4e0=_0x487474[_0x18587b])&&(_0x3e5f12=_0x31a4e0(_0x3e5f12)||_0x3e5f12);return _0x3e5f12;},ut=(_0x11db4e,_0x1f1e68)=>(_0x35fb7d,_0x18ba86)=>_0x1f1e68(_0x35fb7d,_0x18ba86,_0x11db4e);function xs(_0x606564){var _0x273904=_0xb830ac;const {unitID:_0x34307b,mutations:_0xb83ef0}=_0x606564;return{'unitId':_0x34307b,'subUnitId':_0xb83ef0[_0x273904(0x13f)]>0x0?_0xb83ef0[0x0][_0x273904(0x2af)][_0x273904(0x1da)]:null};}let it=class{constructor(_0x24f885,_0x51e67a,_0x5726da){var _0x486bcc=_0xb830ac;this[_0x486bcc(0x3ca)]=_0x24f885,this[_0x486bcc(0x29a)]=_0x51e67a,this[_0x486bcc(0x184)]=_0x5726da;}['transformSelections'](_0x44abd8){var _0x21d0ca=_0xb830ac,_0x20c24a,_0xd94901,_0x3f87fe,_0x4ed239;const _0x37bbb6=this[_0x21d0ca(0x3ca)][_0x21d0ca(0x12c)](_0x338a76),{unitId:_0x3574a8,subUnitId:_0x5bcad4}=xs(_0x44abd8),_0x3e6d7e=_0x37bbb6==null?void 0x0:_0x37bbb6[_0x21d0ca(0x235)](_0x3574a8)[_0x21d0ca(0x2ce)](),_0x1f032f=(_0xd94901=(_0x20c24a=this[_0x21d0ca(0x184)][_0x21d0ca(0x136)](_0x3574a8))==null?void 0x0:_0x20c24a[_0x21d0ca(0x2be)]())==null?void 0x0:_0xd94901[_0x21d0ca(0x3d9)]();if(_0x3e6d7e[_0x21d0ca(0x13f)]===0x0||!_0x3574a8||!_0x5bcad4)return;const _0x2971e9=[{'id':_0x124efa['id'],'params':{'unitId':_0x3574a8,'subUnitId':_0x1f032f,'selections':_0x1885ff[_0x21d0ca(0x23b)](_0x3e6d7e)}}],_0x19798d=this[_0x21d0ca(0x29a)][_0x21d0ca(0x1f7)](_0x44abd8,_0x2971e9);if(!_0x4c5d6f(_0x19798d))throw _0x19798d[_0x21d0ca(0x375)];const _0x34e58e=(_0x4ed239=(_0x3f87fe=_0x19798d[_0x21d0ca(0x328)][0x0])==null?void 0x0:_0x3f87fe[_0x21d0ca(0x2af)])==null?void 0x0:_0x4ed239[_0x21d0ca(0x16d)];if(Array[_0x21d0ca(0x15c)](_0x34e58e)&&_0x34e58e[_0x21d0ca(0x13f)]){if(_0x34e58e['length']===_0x2971e9[0x0][_0x21d0ca(0x2af)][_0x21d0ca(0x16d)][_0x21d0ca(0x13f)]&&_0x34e58e['every']((_0x4ec09,_0x1699b9)=>_0xcdb3a4[_0x21d0ca(0x3d7)](_0x4ec09['range'],_0x2971e9[0x0]['params'][_0x21d0ca(0x16d)][_0x1699b9][_0x21d0ca(0x140)])))return;this[_0x21d0ca(0x3ca)]['get'](_0x26c597)[_0x21d0ca(0x2a8)](_0x124efa['id'],{'unitId':_0x3574a8,'subUnitId':_0x1f032f,'selections':_0x34e58e});}}};it=ws([ut(0x0,_0x2aff60(_0x57442c)),ut(0x1,_0x3e67f5),ut(0x2,_0x469993)],it);const _t=_0x4d8857(_0xb830ac(0x3c9));var mi=(_0x182b62=>(_0x182b62[_0x182b62[_0xb830ac(0x383)]=0x0]=_0xb830ac(0x383),_0x182b62[_0x182b62['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x182b62))(mi||{});const K=_0xb830ac(0x101),ks={};function $s(_0x4742b7){var _0x3c6066=_0xb830ac,_0x54be11;return!!((_0x54be11=_0x4742b7[_0x3c6066(0x2af)])!=null&&_0x54be11[_0x3c6066(0x157)]);}const Hs=new Set([_0x498872['id']]);function Vt(_0x379946,_0x155751,_0x71feb5,_0x7843d0,_0x4a37c6){var _0x2dc4ae=_0xb830ac,_0x3b691e,_0x3efe2d,_0x6f2c15,_0x3bf7ff;const _0x2f78f1=[];for(const _0x15fe1c of _0x379946){if(Hs[_0x2dc4ae(0x362)](_0x15fe1c['id'])){if(_0x2f78f1['length']>0x0)break;_0x2f78f1[_0x2dc4ae(0x1e6)](_0x15fe1c);break;}if($s(_0x15fe1c)){if(_0x2f78f1[_0x2dc4ae(0x13f)]>0x0)break;_0x2f78f1['push'](_0x15fe1c);break;}_0x2f78f1['push'](_0x15fe1c);}const _0x3aaf65=(_0x3efe2d=(_0x3b691e=_0x4a37c6['getCurrentUser']())==null?void 0x0:_0x3b691e[_0x2dc4ae(0x165)])!=null?_0x3efe2d:_0x2dc4ae(0x1b9),_0x2879b7=(_0x3bf7ff=(_0x6f2c15=_0x4a37c6[_0x2dc4ae(0x284)]())==null?void 0x0:_0x6f2c15[_0x2dc4ae(0x164)])!=null?_0x3bf7ff:_0x2dc4ae(0x1b9);return{'changeset':{'unitID':_0x155751,'type':_0x46a280(_0x71feb5['getUnitType'](_0x155751)),'baseRev':_0x7843d0[_0x2dc4ae(0x126)](_0x155751),'revision':0x0,'userID':_0x3aaf65,'memberID':_0x2879b7,'mutations':_0x2f78f1},'pendingMutations':_0x379946[_0x2dc4ae(0x11c)](_0x2f78f1[_0x2dc4ae(0x13f)])};}function Bs(_0x23b72f,_0x73c7eb,_0x2c0fd4,_0x406f50,_0x1a0052){var _0x1798e7=_0xb830ac,_0x2ec3c5,_0xda308f,_0x3b3c59,_0x5c4580;const _0x34c6b=[_0x23b72f[_0x1798e7(0x349)]((_0x291680,_0x4019c3)=>{var _0x246881=_0x1798e7,_0x5ab849;const {id:_0xbfd18e}=_0x291680,{id:_0x11848b,type:_0x233e24}=_0x4019c3,_0x1bdbda=(_0x5ab849=_0x291680['params'])!=null?_0x5ab849:{'actions':null},_0x4244ce=_0x4019c3['params'];if(_0xbfd18e&&_0xbfd18e!==_0x11848b)throw new Error(_0x246881(0x297)+_0xbfd18e+_0x246881(0x389)+_0x11848b+'.');return{..._0x291680,'id':_0x11848b,'type':_0x233e24,'params':{'unitId':_0x4244ce[_0x246881(0x23d)],'textRanges':_0x4244ce[_0x246881(0x3c2)],'actions':_0x5e6a4d[_0x246881(0x2c8)](_0x1bdbda['actions'],_0x4244ce[_0x246881(0x150)])}};},{})],_0x6a3172=(_0xda308f=(_0x2ec3c5=_0x1a0052[_0x1798e7(0x284)]())==null?void 0x0:_0x2ec3c5[_0x1798e7(0x165)])!=null?_0xda308f:_0x1798e7(0x1b9),_0x483171=(_0x5c4580=(_0x3b3c59=_0x1a0052[_0x1798e7(0x284)]())==null?void 0x0:_0x3b3c59[_0x1798e7(0x164)])!=null?_0x5c4580:_0x1798e7(0x1b9);return{'changeset':{'unitID':_0x73c7eb,'type':_0x46a280(_0x2c0fd4['getUnitType'](_0x73c7eb)),'baseRev':_0x406f50[_0x1798e7(0x126)](_0x73c7eb),'revision':0x0,'userID':_0x6a3172,'memberID':_0x483171,'mutations':_0x34c6b},'pendingMutations':[]};}function Ii(_0xe2e575,_0x3e767c){var _0x5de811=_0xb830ac;const _0x50db93=new _0x5cc4a1(0x1);return setTimeout(()=>_0x50db93[_0x5de811(0x309)](_0x3e767c),_0xe2e575),_0x50db93[_0x5de811(0x290)]()[_0x5de811(0x12e)](_0x3bd633(0x1));}var Fs=Object[_0xb830ac(0x2f2)],Se=(_0x3408f9,_0x181a8d,_0xbc7c2,_0x24f489)=>{var _0x2c7cc5=_0xb830ac;for(var _0x3163e7=_0x24f489>0x1?void 0x0:_0x24f489?Fs(_0x181a8d,_0xbc7c2):_0x181a8d,_0x36a20=_0x3408f9[_0x2c7cc5(0x13f)]-0x1,_0x436323;_0x36a20>=0x0;_0x36a20--)(_0x436323=_0x3408f9[_0x36a20])&&(_0x3163e7=_0x436323(_0x3163e7)||_0x3163e7);return _0x3163e7;},L=(_0x3a7697,_0x17ec87)=>(_0x2fafdb,_0x16b8cf)=>_0x17ec87(_0x2fafdb,_0x16b8cf,_0x3a7697),Si=(_0x13be85=>(_0x13be85[_0xb830ac(0x3df)]=_0xb830ac(0x3de),_0x13be85['SYNCED']=_0xb830ac(0x39a),_0x13be85[_0xb830ac(0x169)]=_0xb830ac(0x3d5),_0x13be85[_0xb830ac(0x13c)]=_0xb830ac(0x30b),_0x13be85[_0xb830ac(0x103)]='awaiting_with_pending',_0x13be85['FETCH_MISS']=_0xb830ac(0x39b),_0x13be85[_0xb830ac(0x1df)]=_0xb830ac(0x301),_0x13be85[_0xb830ac(0x1a4)]=_0xb830ac(0x24c),_0x13be85))(Si||{});const gi=0x4e20,Ti=0x2bf20;class ge{constructor(_0x15e2f1,_0x3126a3,_0x2d7a15,_0x46b6e4,_0x6d106,_0x5db659,_0x327079,_0x504f17,_0x32a0ec){var _0x49df4f=_0xb830ac;D(this,'_awaitingChangeset',null),D(this,_0x49df4f(0x250),[]),(this['unitID']=_0x15e2f1,this['type']=_0x3126a3,this[_0x49df4f(0x33a)]=_0x6d106,this[_0x49df4f(0x1a3)]=_0x5db659,this['_undoRedoService']=_0x327079,this[_0x49df4f(0x1c6)]=_0x504f17,this[_0x49df4f(0x3a9)]=_0x32a0ec,this[_0x49df4f(0x363)]=_0x2d7a15,this[_0x49df4f(0x250)]=_0x46b6e4);}[_0xb830ac(0x26b)](_0xd8d10d){var _0x18374d=_0xb830ac;const _0x4dcf40=this[_0x18374d(0x1c6)][_0x18374d(0x126)](this['unitID']);return _0xd8d10d['revision']>_0x4dcf40+0x1?(this[_0x18374d(0x33a)][_0x18374d(0xfe)]({'from':_0x4dcf40,'to':_0xd8d10d[_0x18374d(0x234)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0xa58f2e){var _0x21865a=_0xb830ac;this[_0x21865a(0x2e9)][_0x21865a(0x3f2)](this[_0x21865a(0x3f5)],_0xa58f2e);}[_0xb830ac(0x195)](_0x515d04){var _0xd37057=_0xb830ac,_0x5590a0,_0x27f462;(_0x27f462=(_0x5590a0=this[_0xd37057(0x33a)])[_0xd37057(0x3f1)])==null||_0x27f462[_0xd37057(0xef)](_0x5590a0,_0x515d04);}['_transformIMECache'](_0x32cd36){var _0x1a7ff0=_0xb830ac,_0x18b3d9,_0x2fa953;return(_0x2fa953=(_0x18b3d9=this[_0x1a7ff0(0x33a)])[_0x1a7ff0(0x352)])==null?void 0x0:_0x2fa953[_0x1a7ff0(0xef)](_0x18b3d9,_0x32cd36);}['_transformStateCache'](_0x50e0dd){var _0x4343a1=_0xb830ac,_0x590750,_0x5d176e;return(_0x5d176e=(_0x590750=this[_0x4343a1(0x33a)])[_0x4343a1(0x25c)])==null?void 0x0:_0x5d176e[_0x4343a1(0xef)](_0x590750,_0x50e0dd);}[_0xb830ac(0x2c0)](_0x3bba54){var _0x53f074=_0xb830ac,_0x5ce456,_0x19c56b,_0x46aa06;return(_0x46aa06=(_0x19c56b=(_0x5ce456=this[_0x53f074(0x33a)])[_0x53f074(0x27c)])==null?void 0x0:_0x19c56b['call'](_0x5ce456,_0x3bba54))!=null?_0x46aa06:_0x3bba54;}[_0xb830ac(0x109)](_0x2ae525){var _0xd835b9=_0xb830ac,_0x4afe04,_0x3b2f72,_0x121096;return(_0x121096=(_0x3b2f72=(_0x4afe04=this[_0xd835b9(0x33a)])[_0xd835b9(0x335)])==null?void 0x0:_0x3b2f72[_0xd835b9(0xef)](_0x4afe04,_0x2ae525))!=null?_0x121096:_0x2ae525;}[_0xb830ac(0x318)](_0xbb77f4){var _0x55fca3=_0xb830ac,_0xb79341,_0x4276ca;if(this['type']===Q[_0x55fca3(0x264)]){const {unitID:_0x322c9c,mutations:_0x28e9f1,memberID:_0x7f04bf}=_0xbb77f4,_0xf8299a=_0x28e9f1[_0x55fca3(0x13f)]>0x0?_0x28e9f1[0x0][_0x55fca3(0x2af)]['textRanges']:[];Array[_0x55fca3(0x15c)](_0xf8299a)&&_0xf8299a[_0x55fca3(0x13f)]>0x0&&((_0x4276ca=(_0xb79341=this[_0x55fca3(0x33a)])[_0x55fca3(0x317)])==null||_0x4276ca['call'](_0xb79341,{'unitID':_0x322c9c,'memberID':_0x7f04bf,'textRanges':_0xf8299a}));}}[_0xb830ac(0x3b6)](){var _0x2bf4e1=_0xb830ac,_0x596196;(_0x596196=this[_0x2bf4e1(0x3a9)])==null||_0x596196['updateOfflineData'](this[_0x2bf4e1(0x3f5)],this[_0x2bf4e1(0x348)],this['_awaitingChangeset'],this[_0x2bf4e1(0x250)]);}[_0xb830ac(0x2e7)](){var _0x439510=_0xb830ac;return this[_0x439510(0x1c6)]['getCurrentRevOfUnit'](this[_0x439510(0x3f5)]);}['_incrementRevisionNumber'](){var _0x145c6a=_0xb830ac;this[_0x145c6a(0x1c6)][_0x145c6a(0x2b7)](this[_0x145c6a(0x3f5)]);}[_0xb830ac(0xf2)](_0x562fac){var _0x301866=_0xb830ac,_0x8bc7b;let _0x51dc45=this[_0x301866(0x2c0)](_0x562fac);_0x51dc45=this[_0x301866(0x109)](_0x51dc45);const _0xdc5fbf=_0x253229(_0x51dc45['mutations'],this[_0x301866(0x1a3)],{'fromCollab':!0x0});if(!_0xdc5fbf['result'])throw _0xdc5fbf[_0x301866(0x375)]instanceof Error?_0xdc5fbf['error']:new Error((_0x8bc7b=_0xdc5fbf[_0x301866(0x375)])!=null?_0x8bc7b:_0x301866(0x212));this[_0x301866(0x30a)](_0x51dc45),this['_transformStateCache'](_0x51dc45),this[_0x301866(0x3be)](_0x562fac),this[_0x301866(0x195)](_0x51dc45),this['_syncEditingCollabCursor'](_0x51dc45),this['_incrementRevisionNumber']();}}let be=class extends ge{constructor(_0x4f979c,_0x4312ee,_0x2c5837,_0x501317,_0x43e104,_0x36f96f,_0x22c230,_0x1c79ce,_0xc76eab,_0x72e45d){var _0x149cc8=_0xb830ac;super(_0x4f979c,_0x4312ee,null,[],_0x2c5837,_0x22c230,_0x36f96f,_0x501317,_0x72e45d),D(this,_0x149cc8(0x1ac),_0x149cc8(0x39a)),(this['_injector']=_0x43e104,this[_0x149cc8(0x3ef)]=_0x1c79ce,this[_0x149cc8(0x29a)]=_0xc76eab,this['localCacheService']=_0x72e45d);}[_0xb830ac(0x1b8)](_0x4cbc6e){var _0x52d635=_0xb830ac;const _0x4b1e40=this[_0x52d635(0x3ca)][_0x52d635(0x2ea)](ae,this[_0x52d635(0x3f5)],this[_0x52d635(0x348)],[_0x4cbc6e],this['_handler']);return _0x4b1e40[_0x52d635(0x15f)](),_0x4b1e40[_0x52d635(0x3b6)](),_0x4b1e40;}[_0xb830ac(0x11a)](_0x34174){var _0x1c9260=_0xb830ac;if(this['_checkMissing'](_0x34174))return this[_0x1c9260(0x3ca)]['createInstance'](ee,this['unitID'],this[_0x1c9260(0x348)],null,[],null,[_0x34174],this[_0x1c9260(0x33a)]);try{const _0x3a2976=this['_transformService']['transformMutationsWithChangeset'](_0x34174,[_0x20defb]);if(_0x4c5d6f(_0x3a2976)){const {c1Prime:_0x1a6885}=_0x3a2976;return this[_0x1c9260(0xf2)](_0x1a6885),this;}throw _0x3a2976[_0x1c9260(0x375)];}catch(_0x12f4fd){return this['_logService']['error'](_0x12f4fd),this[_0x1c9260(0x302)](!0x1);}}[_0xb830ac(0x302)](_0x18a9c9){var _0x18eb2d=_0xb830ac;return this[_0x18eb2d(0x3ca)][_0x18eb2d(0x2ea)](ue,this[_0x18eb2d(0x3f5)],this['type'],null,[],this['_handler'],_0x18a9c9);}[_0xb830ac(0x3fa)](){var _0x5af104=_0xb830ac;throw new Error(_0x5af104(0x2ca));}[_0xb830ac(0x1e8)](){var _0xe14a3=_0xb830ac;throw new Error(_0xe14a3(0x237));}[_0xb830ac(0x26e)](){return this;}[_0xb830ac(0x16a)](){var _0x2b3135=_0xb830ac;return this[_0x2b3135(0x3ca)][_0x2b3135(0x2ea)](de,this[_0x2b3135(0x3f5)],this[_0x2b3135(0x348)],null,[],this['_handler']);}[_0xb830ac(0x398)](){return this;}[_0xb830ac(0x327)](){var _0x215ce9=_0xb830ac;throw new Error(_0x215ce9(0x329));}[_0xb830ac(0xff)](){var _0x518292=_0xb830ac;const _0x3506a2=this[_0x518292(0x1c6)][_0x518292(0x126)](this[_0x518292(0x3f5)]);return this[_0x518292(0x33a)]['onMissingChangesets']({'from':_0x3506a2,'to':0x0}),this[_0x518292(0x3ca)][_0x518292(0x2ea)](ee,this[_0x518292(0x3f5)],this[_0x518292(0x348)],null,[],null,[],this[_0x518292(0x33a)]);}};be=Se([L(0x3,_0x2aff60(_0x19252a)),L(0x4,_0x2aff60(_0x57442c)),L(0x5,_0xf3cf67),L(0x6,_0x26c597),L(0x7,_0x469422),L(0x8,_0x3e67f5),L(0x9,_0x2c2398(X))],be);function _0x1d47(){var _0x5bf530=['[CollaborationEntity]','_xformMode','onMutationExecutedForCollab','byteOffset','failed\x20to\x20apply\x20missed\x20changesets!','_queuedRemoteChangesets','revision','getWorkbookSelections','{fileID}','[SyncedState]:\x20received\x20rejection.','session.room-not-exists','encrypt','_commentService','deepClone','_telemetryInfo','unitId','Hasher','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','UNKNOWN_CODE','name','SNAPSHOT_URL_KEY','/universer-api/oidc/authpage','leaveEvent','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[CollaborationSessionService]','awaitingChangeset','_sessionStatus$','LIVESHARE_REQUEST_HOST','CHANGESET_REVISION_CONFILICT','decrypt','offline','getUnitStatus$','USER_NOT_FOUND','YUUMI_UNABLE_LOAD_URL','_pendingMutations','Failed\x20to\x20update\x20permission\x20point','INVALID_ARGUMENT','FETCH_MISSING','saveSheetBlock','YUUMI_ALL_TABLES_IS_INVALID','/object','[CollaborationSession]','JOIN','HttpExport','originalMeta','_getCtorByUniverType','onTransformState','_singleActiveUnitService','_configService','SOCKET_FAILED_RETRY','NoPadding','PERMISSION_REJ','3819388pmXyAO','_createSocket','UNIVER_DOC','10AiyAWC','_HTTPService','ENTITLE_COUPON_EXPIRED','UNKNOWN_CMD','algo','_socket','_checkMissing','mode','getSheetBlock','onRemoteRetry','FAIL','loadDoc','_unitInfo$','UUID','retryConnectingInterval','state$','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_clearHeartbeatTimer','_startCollaboration','downloadEndpointUrl','_joinRoom','_doCryptBlock','compute','onTransformRemoteChangesetByIMECache','byteLength','commentUpdateEvent','joinRsp','function','[FetchMissState]','_initCloseConn','_append','getCurrentUser','apply','INGEST','UNIVER_UNKNOWN','startTime','onSendChangeset','_removeRoom','_maxTotalRetryTimeout','USERS_ENTER','&source=','SOCKET_FAILED','_undoStacks','asObservable','EMAIL_VERIFY_CODE_MISMATCH','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getRandomValues','change$','createDecryptor','hasOwnProperty','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_updateStatus','join','_transformService','initWorkbookPermissionChange','_waitCount','SUBMIT_CHANGESET_TIMEOUT','_createHandler','cmd','YUUMI_SUBSCRIPTION_NOT_FOUND','listCollaborators','signUrlServerUrl','forEach','permissionRejEvent','substr','_sendHeartbeat','fromCharCode','executeCommand','_socket$','MOBILE_VERIFY_CODE_MISMATCH','/-/object/-/batch_allowed','exports','stopTime','_compressMutationService','params','_stopTelemetryCollaborationNewChangeset','newCsEvent','stringify','charAt','Encryptor','close','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','incrementRevOfUnit','\x20to\x20','objectID','reconnect','parse','LIVESHARE_NEW_HOST','collabSubmitChangesetUrl','getActiveSheet','entries','_transformRemoteChangesetByIMECache','HttpImport','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','CBC','_createInitialState','iterations','$super','key','compose','_initRequestHeader','[SyncedState]:\x20received\x20acknowledgement.','concat','UserProfileImg','liveShareNewHost','getCurrentSelections','complete','_getSignURL','CHANGESET_ACK','_members','body','_createHelper','_collaborationPaused','_hash','getValue','Pkcs7','_oKey','extend','deleteCollaborator','Latin1','[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.','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','UnitEmbedded','uploadFileServerUrl','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','sid','formatter','splice','_resendWithTimeout','RETRY_CONNECTING_MAX_COUNT','_getCurrentRevision','min','_undoRedoService','createInstance','_getSendChangesetTimeout','salt','_clearTimeoutTimer','MUTATION','CHANGESET_REJ','getCollabEntity$','_networkConditionService','getOwnPropertyDescriptor','loadUnitOfRevision','REDEMPTION_CODE_INACTIVE','_transformStack','waitForRoom$','/block/','setConfig','emitEvent','updateSnapshot','_mode','/universer-api/snapshot/','_replayCachedMutations','collaboration-client.local-cache-service','TOO_MANY_REQUESTS','capture','conflict','_onConflict','LEAVE','_retryConnectingTimer','YUUMI_ASYNCIO_CANCELLED','symbol','/unit/','IDLE','next','_transformIMECache','awaiting','socket\x20close','_socketReady','append','fetchThroughInterceptors','_candidateSocket','_nDataBytes','Univer','StreamCipher','cfg','_incrementRevisionNumber','[DataLoaderService]','onSyncEditingCollabCursor','_syncEditingCollabCursor','_onRemoteChangeset','Base','find','routeKey','ENTITLE_INSUFFICIENT_QUOTA','/universer-api/authz','replace','ONLINE','_roomCreated$','_replaceFileID','baseRev','requireSession','readAsDataURL','localCacheService','resend','m2Prime','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','REDEMPTION_CODE_FULLY_REDEEMED','_memberService','socket$','enc','WordArray','_tryEnsureSocket','_initUnitPermissionChange','MOBILE_HAS_BEEN_BOUND','hostname','post','PSEUDO_FETCH_MISSING_RESULT','onTransformRemoteChangesetByStateCache','UNIVER_SLIDE','execute','workbook','APPLY_NON_SEQUENTIAL_REVISION','_handler','_transitionLocked','transformStack\x20failed!','_exhaustRemoteChangesetQueue','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','/universer-api/stream/file/upload','origin','_initMergeInterceptor','LICENSE_DISTRO_REJECTED','_onMessage','_handlerCallback','NEW_CHANGESETS','_collabSessionService','_iv','type','reduce','addImageSourceCache','_localeService','_unitID','state','REDEMPTION_CODE_NOT_STARTED','_remoteChangesetQueue','REDEMPTION_CODE_HAS_BEEN_CREATED','_onCombEvent','onTransformIME','list','_scheduleCompleteTimestamp','_socketMessageSubscription','_permissionService','_showConflictNotification','_onConnectionFailed','put','\x0aAfter:\x20','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_changesetReqId','_createHmacHelper','_listenToNetworkCondition','includes','unit-cache-','saveChangeset','has','_awaitingChangeset','registerHTTPInterceptor','LICENSE_EXPORT_SIZE_EXCEEDED','removeMember','onload','setWaitCount','3166471CBouFQ','image/jpg','session.room-permission-denied','YUUMI_URL_COL_OUT_OF_RANGE','authzUrl','ENTITLE_CAN_NOT_BUY_LOWER_OTP','ENTITLE_REPORT_LIMIT_EXCEED','?url=','_telemetryService','socketService','_collaborationSessionService','_onRemoteACK','error','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','PasswordBasedCipher','PERMISSION_DENIED','DEFAULT_FILE_NAME','_resendTimer','ENTITLE_COUPON_USED_UP','reqId','repeat','fetching\x20missing\x20changesets\x20from\x20','Hex','/-/object/list','add','sessionStatus','NO_OTHER_CLIENTS_EDITING','_prevBlock','getFocusedUnit','_getAPIPrefix','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNIVER_PROJECT','\x20-\x20','ivSize','readyForCollab','SNAPSHOT_INVALID_SNAPSHOT','OPTIONAL','YUUMI_AI_RUN_FAILED','_throwTelemetryCollaborationNewChangeset','location','_disableEditing','_getUploadFileURL','/collaborator','APPLY_REVISION_CONFILICT','method','_sheetTransformSelectionsService','collaMsg','toggleOnline','message$','synced','fetch_missing','HELLO','pauseCollaboration','ENTITLE_INVALID_COUPON_CODE','random','encode','WECHAT_HAS_BEEN_BOUND','REDEMPTION_INVALID_CODE','_timeoutTimer','BufferedBlockAlgorithm','getTypeOfUnitAdded$','LIVESHARE_TERMINATE','getCollabEntity','sigBytes','_localCacheService','UPDATE_CURSOR','REDEMPTION_USER_NOT_ELIGIBLE','rev','disposeWithMe','_decreaseWaiting','LICENSE_IMPORT_SIZE_EXCEEDED','error$','mutations','action','COMMENT_UPDATE','_applyRemoteChangeset','_onRemoteRetry','_updateLocalCache','getUnitId','JOIN_ROOM_PERMISSION_DENIED','map','_commentUpdate$','2425JyjILQ','_nRounds','UPDATE_PERMISSION_OBJ','_transformUndoredo','_onRecvEvent','startsWith','CONNECTOR_DATA_TOO_LARGE','textRanges','ERROR_AGAIN','_changesetSessionId','getRoom','file','charCodeAt','UNDEFINED','univer-pro.collaboration-client.single-active-unit-service','_injector','createSocket','resolve','COMPLETION_FINISHED','catch','event$','sendChangesetTimeout','_iKey','_sendingTimer','image/bmp','APPLY_PERMISSION_DENIED','pending','_unlockTransition','equals','loadOfflineData','getSheetId','enableOfflineEditing','subscribe','BlockCipherMode','x-univer-host','not_collab','NOT_COLLAB','UNAUTHENTICATED','_onRemoteRejected','_substituteUndoStack','refreshPermission','NOT_FOUND','JOINING','JOIN_ROOM_NOT_EXISTS','getTypeOfUnitDisposed$','LIVESHARE_OPERATION','Error\x20on\x20receiving\x20event','INVITE_CODE_HAS_BEEN_UES','APPLY_DUPLICATED','_doFinalize','_updateState','collaborators','_logService','ERROR_IMAGE','onTransformSelections','transformUndoRedo','default','resourceIDs','unitID','csRejEvent','responseType','/object/','UNISCRIPT_RUN','onRemoteAck','entityInit$','requestParams','encryptBlock','code','_onLocalMutation','objectActions','open$','_clearScheduledTask','ciphertext','_onJoinRoomEvent','_cipher','title','_submitChangeset','status$','_userManagerService','_snapshotService','_sendHeartbeatTimer','reset','MSG_FOR_ERROR','LOGIN_TOKEN_PROCESSING_FAILED','call','_emitMembers','create','_executeRemoteChangeset','LIVESHARE_FETCH_OPERATIONS','DATA_SOURCE_TOO_LARGE','href','loadUnit','LOCAL_CACHE_INTERVAL','_getLoginPath','[OfflineState]:\x20received\x20acknowledgement.','JOIN_ROOM_FULL','_hasher','unsubscribe','MD5','onMissingChangesets','fetchMiss','delete','collaboration-client.config','OTHER_CLIENT_EDITING','AWAITING_WITH_PENDING','FileId','_config','sessionStatus$','setShowComponents','_socketService','_transformRemoteChangesetByStateCache','POST','__creator','session','csAckEvent','disableLocalCache','objectType','_map','UNRECOGNIZED','_clearRetryConnectingTimer','ws://127.0.0.1:8000/universer-api/comb/connect','_process','mixIn','size','ClipsheetFragments','_rescheduleHeartbeat','HmacSHA1','onRemoteChangeset','_getUndoStack','slice','_minBufferSize','INVITE_CODE_REQUIRED','COMPRESS_MUTATION_APPLY','EvpKDF','BASE64','SHA1','withCredentials','onlyLocal','loadSheet','getCurrentRevOfUnit','_ENC_XFORM_MODE','Decryptor','readInt32LE','AES','objects','get','finalize','pipe','[PendingState]:\x20unhandled\x20univer\x20type:\x20','JOIN_ROOM_FAILED','telemetry\x20info\x20is\x20not\x20initialized','LICENSE_MAX_UNITS_EXCEEDED','updateCollaborator','now','CURRENT_STATUS_CANNOT_OPERATE','getUnit','_eventService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_collaborationUIEventService','filter','_type','AWAITING','[PendingState]:\x20received\x20acknowledgement.','/fetchmissing?from=','length','range','CHANGESET_SHOULD_RETRY','_startTelemetryCollaborationNewChangeset','reject','getConfig','ceil','buffer','eventID','getInterceptPoints','_retryCount','pad','randomBytes','_collaborationTimeoutTimer','ENTITLE_NEED_BILLING_ADDRESS','_snapshotServerService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','actions','_getRedoStack','_clearRedo','_createInitialStateImpl','lib','_doProcessBlock','/universer-api/user/session-ticket','__splitChunk__','/universer-api/uniscript','string','APPLY_REJECT','UNIVER_SHEET','isArray','subject','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_schedule','HMAC','updatePermissionObjEvent','/new_changes','_tryReconnect','memberID','userID','_waitForHeartbeatResponse','BlockCipher','_key','PENDING','toggleOffline','updateCursorEvent','HEARTBEAT','selections','words','_onFetchMissResult','msCrypto','1360952RXUHmW','getMember','socket\x20open.','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','transformChangesets','hasher','RECV','_data','format','updatePermissionPoint','clear','_parse','_toggleOffline','univer-pro.collaboration-client-socket-service','[CollaborationUndoRedoService]','defineProperty','clone','updateMember','_keyPriorReset','_instanceService','1233993gpPCMD','init','_keySchedule','update','keySize','_doReset','/allowed','_onUserJoin','_change$','onCommentUpdate','_toggleOnline','USER_NOT_INVITED_CODE','processBlock','SHOULD_CLOSE_CONN','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','max','_transformSelections','save\x20fail\x20reason\x20is\x20','editingUnit','_event$','fetchMissingChangesets','uniscriptRunEvent','then','_state$','encodeURIComponent','UnitSnapshot','_initDependencies','kdf','?size=','_entities','_commandService','OFFLINE','avatar','OpenSSL','getLatestCsReqIdBySid','SNAPSHOT_HAS_BEEN_REMOVED','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','ENTITLE_USE_COUPON_NOT_1ST_TRADE','saveSnapshot','status','_lockTransition','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','set','_entityInit$','2mfhHfb','closeSession','ENSURE_SNAPSHOT_EXECUTION','ENTITLE_CHAT_LIMIT_EXCEED','session.join-failed','dispose','_sessions','appendMutation','unknown','_onOffline','decryptBlock','_getDownloadEndpointURL','crypto','onStarting','_clearUndo','csShouldRetryEvent','_init','putCollaborators','_fetchMissChangesets','USERS_LEAVE','updateOfflineData','_revisionService','SUBMIT_CHANGESET','_doCreateSocket','GLOBAL_ROOMS_CNT_EXCEEDS','_acknowledgedAwaitingChangeset','getUnitOnRev','loginUrlKey','override','USER_IS_ANONYMOUS','EMAIL_HAS_BEEN_BOUND','clamp','/universer-api/file/{fileID}/sign-url','ERROR_IMAGE_TYPE','CipherParams','_registerDependencies','onLocalMutation','AUTHORIZE_CODE_ILLEGAL','_sender','&to=','/resources','subUnitId','_reverseMap','close$','localeService','duration','CONFLICT','fromCollab','toString','interceptor','dispose$','sheets','batchAllowed','push','REDEMPTION_USER_REDEEM_TIMES_EXCEED','onRemoteRej','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','joinEvent','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_status$','submit\x20changeset\x20error!','_onUserLeave','_imageSourceCache','__esModule','_members$','Cipher','_state','isPermissionRej','Base64','setCurrentUser','transformMutationsWithChangeset','14160SYiMNf','INVITE_CODE_ALREADY_BOUND','getMemberID','3981180qXgbhm','&assign=','Utf8','univer-pro.collaboration-client.network-condition.service','connection\x20error','_shouldReportTelemetry','INTERNAL_ERROR','PERSON','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','\x0aCurrent:\x20','_onConnectionOpen','image/jpeg','YUUMI_CONNECTOR_URL_NOT_FOUND','enableAuthServer','listRoles','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','9887576pOXnSF','COMPRESS_MUTATION_SEND','_getAPIPrefixPath','data','blockSize','_invKeySchedule','getImage','[CollaborationState]:\x20apply\x20error!','/rev/','_clearLocalCache','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','PY_RUNTIME_SCRIPT_ERROR','liveShareOperation','every','ENTITLE_DUP_SUBSCRIPTION','YUUMI_RATE_OVER_LIMIT','CLOSE_ROOM','_resendTimeout','url','_roomMembers','send','_httpService','debug','awaiting_with_pending','Undefined','9LzdFXx','getTime','floor','_univerInstanceService','prototype','unpad','c1Prime','commentUpdate$','unitInfo$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED'];_0x1d47=function(){return _0x5bf530;};return _0x1d47();}let ae=class extends ge{constructor(_0x534120,_0x19d05d,_0x2e49c2,_0x2a8acb,_0x42f2a3,_0x14de44,_0x47a9ae,_0x35401b,_0xf2e6eb,_0x2b9208,_0x1719cb,_0x51024f,_0x26de5f,_0x4a8c46){var _0x2d6835=_0xb830ac;super(_0x534120,_0x19d05d,null,_0x2e49c2,_0x2a8acb,_0xf2e6eb,_0x26de5f,_0x14de44,_0x4a8c46),D(this,_0x2d6835(0x1ac),_0x2d6835(0x3d5)),D(this,_0x2d6835(0x354),null),D(this,'_sendingTimer',null),(this[_0x2d6835(0x3ca)]=_0x42f2a3,this[_0x2d6835(0x32b)]=_0x47a9ae,this[_0x2d6835(0x3ef)]=_0x35401b,this[_0x2d6835(0x25e)]=_0x2b9208,this['_transformService']=_0x1719cb,this['_univerInstanceService']=_0x51024f);}[_0xb830ac(0x1b8)](_0x3bfe59){var _0x2741a8=_0xb830ac;return this[_0x2741a8(0x250)][_0x2741a8(0x1e6)](_0x3bfe59),this[_0x2741a8(0x3b6)](),this;}['onRemoteChangeset'](_0x52310c){var _0x5ba304=_0xb830ac;if(this[_0x5ba304(0x26b)](_0x52310c))return this[_0x5ba304(0x402)](),this['_injector'][_0x5ba304(0x2ea)](ee,this[_0x5ba304(0x3f5)],this[_0x5ba304(0x348)],null,this[_0x5ba304(0x250)],null,[_0x52310c],this[_0x5ba304(0x33a)]);try{const _0x309b46=this['_transformService']['transformMutationsWithChangeset'](_0x52310c,this[_0x5ba304(0x250)]);if(_0x4c5d6f(_0x309b46)){const {c1Prime:_0x1f9ee1,m2Prime:_0x2ee0b8}=_0x309b46;this[_0x5ba304(0xf2)](_0x1f9ee1);const _0x54b415=this['_injector'][_0x5ba304(0x2ea)](ae,this[_0x5ba304(0x3f5)],this[_0x5ba304(0x348)],_0x2ee0b8,this[_0x5ba304(0x33a)]);this[_0x5ba304(0x402)]();const _0x511fcb=new Date()[_0x5ba304(0x225)](),_0x300a1a=this[_0x5ba304(0x354)]?Math[_0x5ba304(0x194)](this[_0x5ba304(0x354)]-_0x511fcb,0x0):this[_0x5ba304(0x2eb)]();return _0x54b415[_0x5ba304(0x15f)](_0x300a1a),_0x54b415;}throw _0x309b46[_0x5ba304(0x375)];}catch(_0x5df325){return this[_0x5ba304(0x3ef)][_0x5ba304(0x375)](_0x5df325),this[_0x5ba304(0x302)](!0x1);}}[_0xb830ac(0x3fa)](){var _0x5071f5=_0xb830ac;throw new Error(_0x5071f5(0x13d));}[_0xb830ac(0x1e8)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0xb830ac(0x16a)](){var _0x118671=_0xb830ac;return this['_clearScheduledTask'](),this[_0x118671(0x3ca)][_0x118671(0x2ea)](de,this['unitID'],this[_0x118671(0x348)],null,this[_0x118671(0x250)],this[_0x118671(0x33a)]);}['toggleOnline'](){return this;}['_schedule'](_0x425acf){var _0x2cf609=_0xb830ac;const _0x3bb366=_0x425acf!=null?_0x425acf:this[_0x2cf609(0x2eb)]();this[_0x2cf609(0x354)]=new Date()[_0x2cf609(0x225)]()+_0x3bb366,this['_sendingTimer']=setTimeout(()=>{var _0x5608de=_0x2cf609;this[_0x5608de(0x402)]();let _0x203474=null;switch(this[_0x5608de(0x348)]){case Q['UNIVER_SHEET']:{_0x203474=Vt(this[_0x5608de(0x250)],this[_0x5608de(0x3f5)],this[_0x5608de(0x227)],this[_0x5608de(0x1c6)],this[_0x5608de(0x32b)]);break;}case Q[_0x5608de(0x264)]:{this[_0x5608de(0x250)][_0x5608de(0x218)](_0x2437fd=>_0x2437fd['id']===_0xd7a1e['id'])?_0x203474=Bs(this[_0x5608de(0x250)],this[_0x5608de(0x3f5)],this[_0x5608de(0x227)],this[_0x5608de(0x1c6)],this[_0x5608de(0x32b)]):_0x203474=Vt(this[_0x5608de(0x250)],this[_0x5608de(0x3f5)],this[_0x5608de(0x227)],this[_0x5608de(0x1c6)],this[_0x5608de(0x32b)]);break;}default:throw new Error(_0x5608de(0x12f)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x439acf,pendingMutations:_0x40812d}=_0x203474;this[_0x5608de(0x33a)][_0x5608de(0x289)](_0x439acf);const _0x47db47=_0x40812d[_0x5608de(0x13f)]?this[_0x5608de(0x3ca)]['createInstance'](oe,this[_0x5608de(0x3f5)],this[_0x5608de(0x348)],_0x439acf,_0x40812d,this[_0x5608de(0x33a)],void 0x0):this['_injector'][_0x5608de(0x2ea)](le,this[_0x5608de(0x3f5)],this[_0x5608de(0x348)],_0x439acf,this[_0x5608de(0x33a)]);_0x47db47[_0x5608de(0x3b6)](),this[_0x5608de(0x33a)]['onStateChange'](this,_0x47db47);},_0x3bb366);}[_0xb830ac(0x2eb)](){var _0x2f779a=_0xb830ac,_0xec2399;const _0x20e049=this['_configService'][_0x2f779a(0x144)](K);return(_0xec2399=_0x20e049==null?void 0x0:_0x20e049[_0x2f779a(0x3d0)])!=null?_0xec2399:ms;}['resend'](){var _0x326256=_0xb830ac;throw new Error(_0x326256(0x275));}['_clearScheduledTask'](){var _0x560822=_0xb830ac;this[_0x560822(0x3d2)]!=null&&(clearTimeout(this[_0x560822(0x3d2)]),this[_0x560822(0x3d2)]=null);}[_0xb830ac(0x302)](_0xe9e898){var _0x29a14d=_0xb830ac;return this['_clearScheduledTask'](),this[_0x29a14d(0x3ca)]['createInstance'](ue,this['unitID'],this['type'],null,this[_0x29a14d(0x250)],this[_0x29a14d(0x33a)],_0xe9e898);}};ae=Se([L(0x4,_0x2aff60(_0x57442c)),L(0x5,_0x2aff60(_0x19252a)),L(0x6,_0x2aff60(Pe)),L(0x7,_0x469422),L(0x8,_0x26c597),L(0x9,_0x495b35),L(0xa,_0x3e67f5),L(0xb,_0x469993),L(0xc,_0xf3cf67),L(0xd,_0x2c2398(X))],ae);let le=class extends ge{constructor(_0xc8c762,_0x3cf761,_0xcffad8,_0x5897ec,_0x65522b,_0x27f6cd,_0x5b1370,_0x4a6595,_0x2167ee,_0x427e4e,_0x36d15d){var _0x2a79fa=_0xb830ac;super(_0xc8c762,_0x3cf761,_0xcffad8,[],_0x5897ec,_0x5b1370,_0x427e4e,_0x27f6cd,_0x36d15d),D(this,_0x2a79fa(0x1ac),'awaiting'),D(this,_0x2a79fa(0x21c),0x0),D(this,_0x2a79fa(0x28b),0x0),D(this,'_resendTimer'),D(this,_0x2a79fa(0x1d7)),(this[_0x2a79fa(0x3ca)]=_0x65522b,this[_0x2a79fa(0x3ef)]=_0x4a6595,this[_0x2a79fa(0x29a)]=_0x2167ee);}[_0xb830ac(0x1b8)](_0x5bdb64){var _0x37420a=_0xb830ac;this[_0x37420a(0x402)]();const _0x5b9d02=this[_0x37420a(0x3ca)]['createInstance'](oe,this[_0x37420a(0x3f5)],this[_0x37420a(0x348)],this[_0x37420a(0x363)],[_0x5bdb64],this[_0x37420a(0x33a)],this[_0x37420a(0x37a)]);return _0x5b9d02['_updateLocalCache'](),_0x5b9d02;}[_0xb830ac(0x11a)](_0x46a681){var _0x25baa7=_0xb830ac;if(this['_checkMissing'](_0x46a681))return this[_0x25baa7(0x402)](),this[_0x25baa7(0x3ca)][_0x25baa7(0x2ea)](ee,this[_0x25baa7(0x3f5)],this[_0x25baa7(0x348)],this[_0x25baa7(0x363)],[],null,[_0x46a681],this[_0x25baa7(0x33a)]);try{const _0x480d0e=this['_transformService'][_0x25baa7(0x175)]([_0x46a681],[this[_0x25baa7(0x363)]],!0x1);if(_0x577c16(_0x480d0e)){const {c1Prime:_0x4c4750,c2Prime:_0x26ed34}=_0x480d0e;this[_0x25baa7(0xf2)](_0x4c4750[0x0]),_0x26ed34[0x0][_0x25baa7(0x323)]=this[_0x25baa7(0x2e7)](),this['_clearScheduledTask']();const _0x5ec5cc=this[_0x25baa7(0x3ca)][_0x25baa7(0x2ea)](le,this[_0x25baa7(0x3f5)],this['type'],_0x26ed34[0x0],this[_0x25baa7(0x33a)]);return _0x5ec5cc[_0x25baa7(0x3b6)](),_0x5ec5cc;}return this[_0x25baa7(0x302)](!0x1);}catch(_0xc63902){return this[_0x25baa7(0x3ef)][_0x25baa7(0x375)](_0xc63902),this[_0x25baa7(0x302)](!0x1);}}[_0xb830ac(0x3fa)](_0x474449){var _0x5fb1a2=_0xb830ac;this[_0x5fb1a2(0x402)]();const _0x114178=this[_0x5fb1a2(0x1c6)][_0x5fb1a2(0x126)](this[_0x5fb1a2(0x3f5)]);if(_0x474449[_0x5fb1a2(0x234)]<_0x114178-0x1)return this;if(this[_0x5fb1a2(0x26b)](_0x474449))return this[_0x5fb1a2(0x3ca)]['createInstance'](ee,this[_0x5fb1a2(0x3f5)],this[_0x5fb1a2(0x348)],null,[],this['_awaitingChangeset'],[],this[_0x5fb1a2(0x33a)]);this[_0x5fb1a2(0x315)]();const _0x4147c4=this[_0x5fb1a2(0x3ca)]['createInstance'](be,this[_0x5fb1a2(0x3f5)],this[_0x5fb1a2(0x348)],this['_handler']);return _0x4147c4[_0x5fb1a2(0x3b6)](),_0x4147c4;}[_0xb830ac(0x1e8)](_0x4867fd){var _0x29b220=_0xb830ac;return this[_0x29b220(0x302)](!!(_0x4867fd!=null&&_0x4867fd[_0x29b220(0x1f4)]));}[_0xb830ac(0x26e)](_0x44f37e){var _0x5dd4a4=_0xb830ac;return this['_maxTotalRetryTimeout']>Ti?this[_0x5dd4a4(0x16a)]():(this[_0x5dd4a4(0x37a)]=Ii(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x44f37e[_0x5dd4a4(0x37c)]}),this[_0x5dd4a4(0x1d7)]=this[_0x5dd4a4(0x37a)][_0x5dd4a4(0x3db)](({reqId:_0x1aa0d6,timeout:_0x744fab})=>{var _0xa034b9=_0x5dd4a4;this[_0xa034b9(0x2e5)](_0x1aa0d6,_0x744fab);}),this);}['toggleOffline'](){var _0xe51fa0=_0xb830ac;return this[_0xe51fa0(0x402)](),this[_0xe51fa0(0x3ca)][_0xe51fa0(0x2ea)](de,this['unitID'],this['type'],this[_0xe51fa0(0x363)],[],this[_0xe51fa0(0x33a)]);}[_0xb830ac(0x398)](){return this;}[_0xb830ac(0x327)](){var _0xf4ff80=_0xb830ac;this[_0xf4ff80(0x33a)][_0xf4ff80(0x289)](this[_0xf4ff80(0x363)]);}[_0xb830ac(0x302)](_0x33449e){var _0x3aba68=_0xb830ac;return this[_0x3aba68(0x402)](),this[_0x3aba68(0x3ca)][_0x3aba68(0x2ea)](ue,this[_0x3aba68(0x3f5)],this['type'],this[_0x3aba68(0x363)],[],this['_handler'],_0x33449e);}['_resendWithTimeout'](_0x5435cd,_0xae7989){var _0x564101=_0xb830ac,_0x21a169;_0x5435cd===((_0x21a169=this[_0x564101(0x363)])==null?void 0x0:_0x21a169[_0x564101(0x37c)])&&(this[_0x564101(0x327)](),this[_0x564101(0x21c)]=_0xae7989===0x0?0x3e8:Math[_0x564101(0x2e8)](_0xae7989*0x2,gi),this[_0x564101(0x28b)]+=this[_0x564101(0x21c)]);}[_0xb830ac(0x402)](){var _0x4ab053=_0xb830ac,_0x4542f3;(_0x4542f3=this[_0x4ab053(0x1d7)])==null||_0x4542f3['unsubscribe'](),this['_resendTimeout']=0x0,this[_0x4ab053(0x28b)]=0x0;}};le=Se([L(0x4,_0x2aff60(_0x57442c)),L(0x5,_0x2aff60(_0x19252a)),L(0x6,_0x26c597),L(0x7,_0x469422),L(0x8,_0x3e67f5),L(0x9,_0xf3cf67),L(0xa,_0x2c2398(X))],le);let oe=class extends ge{constructor(_0x5e1003,_0x29e22f,_0xaf04f5,_0x2bc66c,_0x44a796,_0x2b0514,_0x555065,_0x203a3b,_0x4b399f,_0x244ba1,_0xaeeabf,_0x3add87,_0x5033e7){var _0x4d6921=_0xb830ac;super(_0x5e1003,_0x29e22f,_0xaf04f5,_0x2bc66c,_0x44a796,_0x4b399f,_0x3add87,_0x203a3b,_0x5033e7),D(this,_0x4d6921(0x1ac),_0x4d6921(0x222)),D(this,_0x4d6921(0x21c),0x0),D(this,_0x4d6921(0x28b),0x0),D(this,_0x4d6921(0x37a)),D(this,_0x4d6921(0x1d7)),(this['_injector']=_0x555065,this['_logService']=_0x244ba1,this[_0x4d6921(0x29a)]=_0xaeeabf,this[_0x4d6921(0x326)]=_0x5033e7,_0x2b0514&&(this[_0x4d6921(0x37a)]=_0x2b0514,this[_0x4d6921(0x1d7)]=this[_0x4d6921(0x37a)][_0x4d6921(0x3db)](({reqId:_0xb972aa,timeout:_0x1c5831})=>{var _0x25fa50=_0x4d6921;this[_0x25fa50(0x2e5)](_0xb972aa,_0x1c5831);})));}['appendMutation'](_0x2c931c){var _0x51b5dc=_0xb830ac;return this['_pendingMutations'][_0x51b5dc(0x1e6)](_0x2c931c),this;}['onRemoteChangeset'](_0x52d379){var _0x3e362c=_0xb830ac;if(this[_0x3e362c(0x26b)](_0x52d379))return this[_0x3e362c(0x402)](),this[_0x3e362c(0x3ca)][_0x3e362c(0x2ea)](ee,this[_0x3e362c(0x3f5)],this[_0x3e362c(0x348)],this[_0x3e362c(0x363)],this[_0x3e362c(0x250)],null,[_0x52d379],this['_handler']);try{const _0xef0c6a=this['_transformService']['transformChangesets']([_0x52d379],[this[_0x3e362c(0x363)]],!0x1);if(_0x577c16(_0xef0c6a)){const {c1Prime:_0x459427,c2Prime:_0x15d3e0}=_0xef0c6a,_0x219fc0=this[_0x3e362c(0x29a)]['transformMutationsWithChangeset'](_0x459427[0x0],this[_0x3e362c(0x250)]);if(_0x4c5d6f(_0x219fc0)){const {c1Prime:_0x183184,m2Prime:_0x3359e4}=_0x219fc0;return this[_0x3e362c(0xf2)](_0x183184),_0x15d3e0[0x0]['baseRev']=this[_0x3e362c(0x2e7)](),this[_0x3e362c(0x402)](),this[_0x3e362c(0x3ca)]['createInstance'](oe,this[_0x3e362c(0x3f5)],this[_0x3e362c(0x348)],_0x15d3e0[0x0],_0x3359e4,this[_0x3e362c(0x33a)],void 0x0);}throw _0x219fc0[_0x3e362c(0x375)];}throw _0xef0c6a[_0x3e362c(0x375)];}catch(_0x5b3d2c){return this['_logService'][_0x3e362c(0x375)](_0x5b3d2c),this['_onConflict'](!0x1);}}[_0xb830ac(0x3fa)](_0x350995){var _0x196667=_0xb830ac;if(this[_0x196667(0x402)](),this[_0x196667(0x26b)](_0x350995))return this['_injector']['createInstance'](ee,this[_0x196667(0x3f5)],this[_0x196667(0x348)],null,this[_0x196667(0x250)],this[_0x196667(0x363)],[],this[_0x196667(0x33a)]);this[_0x196667(0x315)]();const _0x2a8577=this[_0x196667(0x3ca)]['createInstance'](ae,this['unitID'],this['type'],this[_0x196667(0x250)],this[_0x196667(0x33a)]);return _0x2a8577[_0x196667(0x15f)](),_0x2a8577[_0x196667(0x3b6)](),_0x2a8577;}['onRemoteRej'](_0x2bd0f2){var _0x18c60c=_0xb830ac;return this[_0x18c60c(0x302)](!!(_0x2bd0f2!=null&&_0x2bd0f2[_0x18c60c(0x1f4)]));}['onRemoteRetry'](_0x5da747){var _0x40eaf1=_0xb830ac;return this[_0x40eaf1(0x28b)]>Ti?this['toggleOffline']():(this[_0x40eaf1(0x37a)]=Ii(this[_0x40eaf1(0x21c)],{'timeout':this[_0x40eaf1(0x21c)],'reqId':_0x5da747[_0x40eaf1(0x37c)]}),this[_0x40eaf1(0x1d7)]=this[_0x40eaf1(0x37a)]['subscribe'](({reqId:_0x45b2e9,timeout:_0x4e0a19})=>{var _0x1e6bb5=_0x40eaf1;this[_0x1e6bb5(0x2e5)](_0x45b2e9,_0x4e0a19);}),this);}['toggleOffline'](){var _0x57c015=_0xb830ac;return this['_clearScheduledTask'](),this[_0x57c015(0x3ca)]['createInstance'](de,this[_0x57c015(0x3f5)],this[_0x57c015(0x348)],this['_awaitingChangeset'],this[_0x57c015(0x250)],this[_0x57c015(0x33a)]);}['toggleOnline'](){return this;}[_0xb830ac(0x327)](){var _0x33ffb4=_0xb830ac;this[_0x33ffb4(0x33a)][_0x33ffb4(0x289)](this['_awaitingChangeset']);}[_0xb830ac(0x302)](_0x1de110){var _0xdd5b31=_0xb830ac;return this[_0xdd5b31(0x402)](),this[_0xdd5b31(0x3ca)]['createInstance'](ue,this[_0xdd5b31(0x3f5)],this[_0xdd5b31(0x348)],null,this[_0xdd5b31(0x250)],this[_0xdd5b31(0x33a)],_0x1de110);}[_0xb830ac(0x2e5)](_0x16a6bd,_0x9352c8){var _0x484e2e=_0xb830ac,_0x2624b4;_0x16a6bd===((_0x2624b4=this['_awaitingChangeset'])==null?void 0x0:_0x2624b4[_0x484e2e(0x37c)])&&(this[_0x484e2e(0x327)](),this['_resendTimeout']=_0x9352c8===0x0?0x3e8:Math['min'](_0x9352c8*0x2,gi),this[_0x484e2e(0x28b)]+=this[_0x484e2e(0x21c)]);}['_clearScheduledTask'](){var _0x52838f=_0xb830ac,_0x4614aa;(_0x4614aa=this[_0x52838f(0x1d7)])==null||_0x4614aa[_0x52838f(0xfc)](),this[_0x52838f(0x21c)]=0x0,this[_0x52838f(0x28b)]=0x0;}};oe=Se([L(0x6,_0x2aff60(_0x57442c)),L(0x7,_0x2aff60(_0x19252a)),L(0x8,_0x26c597),L(0x9,_0x469422),L(0xa,_0x3e67f5),L(0xb,_0xf3cf67),L(0xc,_0x2c2398(X))],oe);let ue=class extends ge{constructor(_0x4b8d1e,_0x414473,_0x1e8ba1,_0x4f03e1,_0x514202,_0x2c4016=!0x1,_0x4a20f9,_0x2c31dd,_0x4e97ea,_0x4f7a33,_0x3fe61d,_0x9aea7c,_0x5ed8eb){var _0x348dda=_0xb830ac;super(_0x4b8d1e,_0x414473,_0x1e8ba1,_0x4f03e1,_0x514202,_0x2c31dd,_0x4e97ea,_0x4f7a33,_0x5ed8eb),D(this,'status',_0x348dda(0x301)),(this['_isPermissionRej']=_0x2c4016,this[_0x348dda(0x356)]=_0x4a20f9,this[_0x348dda(0x34b)]=_0x3fe61d,this['_collaborationUIEventService']=_0x9aea7c,this['localCacheService']=_0x5ed8eb,this[_0x348dda(0x357)](),this[_0x348dda(0x214)](),this[_0x348dda(0x391)]());}['appendMutation'](){return this;}[_0xb830ac(0x11a)](){return this;}[_0xb830ac(0x3fa)](){return this;}['onRemoteRej'](){return this;}[_0xb830ac(0x26e)](){return this;}[_0xb830ac(0x16a)](){return this;}['toggleOnline'](){return this;}[_0xb830ac(0x327)](){var _0x2a2ad5=_0xb830ac;throw new Error(_0x2a2ad5(0x376));}[_0xb830ac(0x214)](){var _0x498bf5=_0xb830ac,_0x35b411;(_0x35b411=this[_0x498bf5(0x3a9)])==null||_0x35b411[_0x498bf5(0x1c5)](this[_0x498bf5(0x3f5)],this['type'],null,[]);}[_0xb830ac(0x357)](){var _0x2523fd=_0xb830ac;this['_isPermissionRej']?this[_0x2523fd(0x139)][_0x2523fd(0x2f9)]({'id':re[_0x2523fd(0x378)]}):this[_0x2523fd(0x139)][_0x2523fd(0x2f9)]({'id':re[_0x2523fd(0x1df)]});}[_0xb830ac(0x391)](){var _0x11b2ce=_0xb830ac;this['_permissionService']['updatePermissionPoint'](new _0x27abd8(this[_0x11b2ce(0x3f5)])['id'],!0x1);}};ue=Se([L(0x6,_0x2aff60(_0x228023)),L(0x7,_0x26c597),L(0x8,_0xf3cf67),L(0x9,_0x2aff60(_0x19252a)),L(0xa,_0x2aff60(_0x22c541)),L(0xb,_0x2aff60(ve)),L(0xc,_0x2c2398(X))],ue);let de=class extends ge{constructor(_0x261e6,_0x51dcca,_0x13846e,_0x5da3aa,_0x1b15ba,_0x23aeac,_0xf6c4e8,_0x3c0545,_0x7f1672,_0xc185ad){var _0x420d3d=_0xb830ac;super(_0x261e6,_0x51dcca,_0x13846e,_0x5da3aa,_0x1b15ba,_0x3c0545,_0x7f1672,_0xf6c4e8,_0xc185ad),D(this,_0x420d3d(0x1ac),_0x420d3d(0x24c)),this[_0x420d3d(0x3ca)]=_0x23aeac;}['appendMutation'](_0x524d72){var _0x38184c=_0xb830ac;return this['_pendingMutations']['push'](_0x524d72),this[_0x38184c(0x3b6)](),this;}[_0xb830ac(0x11a)](_0x5a1198){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0xb830ac(0x3fa)](){var _0x3cba6d=_0xb830ac;throw new Error(_0x3cba6d(0xf9));}[_0xb830ac(0x1e8)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0xb830ac(0x26e)](){return this;}[_0xb830ac(0x16a)](){return this;}[_0xb830ac(0x398)](){var _0x2f9ff6=_0xb830ac;const {_injector:_0x4fd7b4,_pendingMutations:_0x2642cd,_awaitingChangeset:_0x5edcae,unitID:_0x37e19c,_handler:_0x2a2893,type:_0x480098}=this,_0x2ac4a1=Oi(_0x4fd7b4,_0x37e19c,_0x480098,_0x5edcae,_0x2642cd,_0x2a2893);return _0x2ac4a1 instanceof ae?_0x2ac4a1[_0x2f9ff6(0x15f)]():(_0x2ac4a1 instanceof oe||_0x2ac4a1 instanceof le)&&_0x2ac4a1[_0x2f9ff6(0x327)](),_0x2ac4a1;}[_0xb830ac(0x327)](){var _0x1a2392=_0xb830ac;throw new Error(_0x1a2392(0x203));}};de=Se([L(0x5,_0x2aff60(_0x57442c)),L(0x6,_0x2aff60(_0x19252a)),L(0x7,_0x26c597),L(0x8,_0xf3cf67),L(0x9,_0x2c2398(X))],de);let ee=class extends ge{constructor(_0x89b798,_0x1671e6,_0x5dd07f,_0x4fe887,_0x20c66a,_0x279458,_0x54b3b6,_0x5bf2d2,_0x4733dc,_0x4ab7bc,_0x5656e7,_0x4ac119,_0x5a305f,_0x2224bc){var _0xc6f60e=_0xb830ac;super(_0x89b798,_0x1671e6,_0x5dd07f,_0x4fe887,_0x54b3b6,_0x5656e7,_0x4ac119,_0x4733dc,_0x2224bc),D(this,_0xc6f60e(0x1ac),_0xc6f60e(0x39b)),(this[_0xc6f60e(0x1ca)]=_0x20c66a,this[_0xc6f60e(0x233)]=_0x279458,this[_0xc6f60e(0x3ca)]=_0x5bf2d2,this[_0xc6f60e(0x3ef)]=_0x4ab7bc,this[_0xc6f60e(0x29a)]=_0x5a305f,this[_0xc6f60e(0x326)]=_0x2224bc);}['onMissedChangesetFetched'](_0x33e240){var _0x327e73=_0xb830ac;try{const _0x52912c=[..._0x33e240,...this[_0x327e73(0x233)]],_0x5c0773=[this[_0x327e73(0x363)]||this[_0x327e73(0x1ca)]][_0x327e73(0x13a)](_0x1a403c=>!!_0x1a403c);let _0x2000df,_0x5f306c;if(_0x5c0773[_0x327e73(0x13f)]){const _0x2643a4=this[_0x327e73(0x29a)][_0x327e73(0x175)](_0x52912c,_0x5c0773,!0x1);if(!_0x577c16(_0x2643a4))throw _0x2643a4[_0x327e73(0x375)];_0x2000df=_0x2643a4[_0x327e73(0x22a)],_0x5f306c=_0x2643a4['c2Prime'];}else _0x2000df=_0x52912c,_0x5f306c=[];let _0x485c5c=this[_0x327e73(0x250)];_0x2000df[_0x327e73(0x2a3)](_0x17248d=>{var _0x299c3b=_0x327e73;let _0x4e1e8f;if(_0x485c5c[_0x299c3b(0x13f)]){const _0x2dfbda=this[_0x299c3b(0x29a)][_0x299c3b(0x1f7)](_0x17248d,_0x485c5c);if(!_0x4c5d6f(_0x2dfbda))throw _0x2dfbda[_0x299c3b(0x375)];_0x4e1e8f=_0x2dfbda[_0x299c3b(0x22a)],_0x485c5c=_0x2dfbda[_0x299c3b(0x328)];}else _0x4e1e8f=_0x17248d;this[_0x299c3b(0xf2)](_0x4e1e8f);}),this[_0x327e73(0x1ca)]&&this['_incrementRevisionNumber'](),this[_0x327e73(0x363)]&&_0x5f306c[_0x327e73(0x13f)]&&(_0x5f306c[0x0][_0x327e73(0x323)]=this[_0x327e73(0x2e7)]());let _0x51c726;if(this[_0x327e73(0x363)]&&_0x485c5c['length']!==0x0)_0x51c726=this['_injector']['createInstance'](oe,this[_0x327e73(0x3f5)],this[_0x327e73(0x348)],_0x5f306c[0x0],_0x485c5c,this['_handler'],void 0x0);else{if(this[_0x327e73(0x363)]&&_0x485c5c[_0x327e73(0x13f)]===0x0)_0x5f306c[0x0]['baseRev']=this[_0x327e73(0x2e7)](),_0x51c726=this['_injector'][_0x327e73(0x2ea)](le,this[_0x327e73(0x3f5)],this[_0x327e73(0x348)],_0x5f306c[0x0],this[_0x327e73(0x33a)]);else{if(_0x485c5c['length']!==0x0){const _0x3eb59f=this[_0x327e73(0x3ca)][_0x327e73(0x2ea)](ae,this[_0x327e73(0x3f5)],this['type'],_0x485c5c,this['_handler']);_0x3eb59f[_0x327e73(0x15f)](),_0x51c726=_0x3eb59f;}else _0x51c726=this[_0x327e73(0x3ca)][_0x327e73(0x2ea)](be,this[_0x327e73(0x3f5)],this[_0x327e73(0x348)],this[_0x327e73(0x33a)]);}}return _0x51c726[_0x327e73(0x3b6)](),_0x51c726;}catch(_0x4436b8){return this['_logService'][_0x327e73(0x375)](_0x327e73(0x281),_0x327e73(0x232),_0x4436b8),this[_0x327e73(0x3ca)][_0x327e73(0x2ea)](ue,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x327e73(0x250)],this[_0x327e73(0x33a)],!0x1);}}[_0xb830ac(0x327)](){var _0x2c11b4=_0xb830ac;throw new Error(_0x2c11b4(0x2c2));}['appendMutation'](_0x313b6c){var _0x584bea=_0xb830ac;return this[_0x584bea(0x250)]['push'](_0x313b6c),this;}[_0xb830ac(0x11a)](_0x4c2e91){var _0x472840=_0xb830ac;return this['_queuedRemoteChangesets'][_0x472840(0x1e6)](_0x4c2e91),this;}[_0xb830ac(0x3fa)](_0x58aa64){var _0x15de0f=_0xb830ac;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x15de0f(0x363)],this[_0x15de0f(0x363)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x12a993){var _0x8aa03b=_0xb830ac;return this[_0x8aa03b(0x302)](!!(_0x12a993!=null&&_0x12a993[_0x8aa03b(0x1f4)]));}[_0xb830ac(0x26e)](){return this;}[_0xb830ac(0x16a)](){var _0xbca898=_0xb830ac;return this[_0xbca898(0x3ca)][_0xbca898(0x2ea)](de,this[_0xbca898(0x3f5)],this['type'],this['_awaitingChangeset'],this[_0xbca898(0x250)],this[_0xbca898(0x33a)]);}[_0xb830ac(0x398)](){return this;}['_onConflict'](_0x5ece11){var _0x5a4c34=_0xb830ac;return this[_0x5a4c34(0x3ca)][_0x5a4c34(0x2ea)](ue,this[_0x5a4c34(0x3f5)],this[_0x5a4c34(0x348)],this[_0x5a4c34(0x363)],this[_0x5a4c34(0x250)],this[_0x5a4c34(0x33a)],_0x5ece11);}};ee=Se([L(0x7,_0x2aff60(_0x57442c)),L(0x8,_0x2aff60(_0x19252a)),L(0x9,_0x469422),L(0xa,_0x26c597),L(0xb,_0xf3cf67),L(0xc,_0x3e67f5),L(0xd,_0x2c2398(X))],ee);function Oi(_0x2b1593,_0x5361e3,_0x1778d2,_0x3e51f7,_0x186d13,_0x29fbbd){var _0x3b245e=_0xb830ac;return _0x3e51f7&&_0x186d13[_0x3b245e(0x13f)]?_0x2b1593[_0x3b245e(0x2ea)](oe,_0x5361e3,_0x1778d2,_0x3e51f7,_0x186d13,_0x29fbbd,void 0x0):_0x3e51f7?_0x2b1593[_0x3b245e(0x2ea)](le,_0x5361e3,_0x1778d2,_0x3e51f7,_0x29fbbd):_0x186d13[_0x3b245e(0x13f)]?_0x2b1593[_0x3b245e(0x2ea)](ae,_0x5361e3,_0x1778d2,_0x186d13,_0x29fbbd):_0x2b1593[_0x3b245e(0x2ea)](be,_0x5361e3,_0x1778d2,_0x29fbbd);}var js=Object[_0xb830ac(0x2f2)],At=(_0x48abd4,_0x406ff9,_0x58f3ed,_0xf071cd)=>{var _0x44d7c2=_0xb830ac;for(var _0x498a17=_0xf071cd>0x1?void 0x0:_0xf071cd?js(_0x406ff9,_0x58f3ed):_0x406ff9,_0x1dfbf1=_0x48abd4[_0x44d7c2(0x13f)]-0x1,_0x4204fb;_0x1dfbf1>=0x0;_0x1dfbf1--)(_0x4204fb=_0x48abd4[_0x1dfbf1])&&(_0x498a17=_0x4204fb(_0x498a17)||_0x498a17);return _0x498a17;},$=(_0x3db794,_0x1e27c0)=>(_0x4ba0c0,_0x21bfd0)=>_0x1e27c0(_0x4ba0c0,_0x21bfd0,_0x3db794);let st=class extends _0x19a501{constructor(_0x3deebc,_0x288df8,_0x40eef6,_0x4116c0,_0xd178fa,_0x444fd3,_0x433918,_0xf5cf1b,_0x45f766,_0x3bafa7,_0xad86c2,_0x184599,_0x570e61,_0x93216f){var _0x5f1915=_0xb830ac;super(),D(this,_0x5f1915(0x19c),new _0x392068(null)),D(this,_0x5f1915(0x274),this[_0x5f1915(0x19c)][_0x5f1915(0x290)]()),D(this,_0x5f1915(0x1f3)),D(this,_0x5f1915(0x2d5),!0x1),D(this,_0x5f1915(0x3c4),''),D(this,_0x5f1915(0x35c),0x0),D(this,_0x5f1915(0x408),this[_0x5f1915(0x274)][_0x5f1915(0x12e)](_0x4de580(_0x37c6b4=>_0x37c6b4?_0x37c6b4['status']:Si[_0x5f1915(0x1a4)]),_0x286661(0x1))),D(this,_0x5f1915(0x33b),!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0x5f1915(0x3f5)]=_0x3deebc,this[_0x5f1915(0x10c)]=_0x288df8,this[_0x5f1915(0x13b)]=_0x40eef6,this[_0x5f1915(0x3ca)]=_0x4116c0,this['_compressMutationService']=_0xd178fa,this[_0x5f1915(0x34b)]=_0x444fd3,this[_0x5f1915(0x1c6)]=_0x433918,this[_0x5f1915(0x137)]=_0xf5cf1b,this[_0x5f1915(0x227)]=_0x45f766,this['_logService']=_0x3bafa7,this[_0x5f1915(0x1a3)]=_0xad86c2,this[_0x5f1915(0x356)]=_0x184599,this[_0x5f1915(0x25d)]=_0x570e61,this[_0x5f1915(0x3a9)]=_0x93216f);}get[_0xb830ac(0x34d)](){var _0x436c45=_0xb830ac;return this[_0x436c45(0x1f3)];}async[_0xb830ac(0x186)](){var _0x529d7c=_0xb830ac;if(this[_0x529d7c(0x34d)])throw new Error(_0x529d7c(0x35b));await this[_0x529d7c(0x1c1)]();}[_0xb830ac(0x39d)](){var _0x6d3c8=_0xb830ac;return this[_0x6d3c8(0x2d5)]=!0x0,_0x17653c(()=>{var _0x5ee07b=_0x6d3c8;this[_0x5ee07b(0x2d5)]=!0x1,this[_0x5ee07b(0x33d)]();});}[_0xb830ac(0x1d5)](_0xc3eaae){var _0x2709ad=_0xb830ac;this[_0x2709ad(0x3ff)](_0xc3eaae);}['_updateState'](_0x51756a){var _0x1ceaf0=_0xb830ac;this[_0x1ceaf0(0x1f3)]=_0x51756a,this[_0x1ceaf0(0x19c)][_0x1ceaf0(0x309)](_0x51756a);}async['_init'](){var _0x287549=_0xb830ac,_0x153cd6;this[_0x287549(0x3ed)](await this[_0x287549(0x2c4)]()),this[_0x287549(0x25d)]&&((_0x153cd6=this['_singleActiveUnitService'])==null||_0x153cd6[_0x287549(0x197)](this[_0x287549(0x3f5)]),this[_0x287549(0x3ad)](this[_0x287549(0x25d)][_0x287549(0x24d)](this[_0x287549(0x3f5)])[_0x287549(0x3db)](_0x39a2da=>{var _0x1b100a=_0x287549;this['_logService'][_0x1b100a(0x221)](_0x1b100a(0x22e),'editing\x20status\x20changed\x20to',_0x39a2da),_0x39a2da===mi['OTHER_CLIENTS_EDITING']?(this[_0x1b100a(0x137)][_0x1b100a(0x2f9)]({'id':re[_0x1b100a(0x102)]}),this[_0x1b100a(0x356)][_0x1b100a(0x17a)](new _0x27abd8(this['unitID'])['id'],!0x1),this['_permissionService'][_0x1b100a(0x107)](!0x1)):(this[_0x1b100a(0x356)][_0x1b100a(0x17a)](new _0x27abd8(this[_0x1b100a(0x3f5)])['id'],!0x0),this[_0x1b100a(0x356)]['setShowComponents'](!0x0));})));let _0x1da421=!0x1;return this[_0x287549(0x3ad)](this[_0x287549(0x10c)][_0x287549(0x106)][_0x287549(0x3db)](_0x202b82=>{var _0x4edbc0=_0x287549;_0x202b82===me['ONLINE']?this[_0x4edbc0(0x18f)](_0x1da421):_0x202b82===me[_0x4edbc0(0x1a4)]&&(_0x1da421=!0x0,this[_0x4edbc0(0x17d)]());})),this['disposeWithMe'](this[_0x287549(0x10c)]['event$'][_0x287549(0x3db)](_0x111bda=>{var _0xa2a57b=_0x287549;try{switch(_0x111bda[_0xa2a57b(0x147)]){case _0x4fe2f4[_0xa2a57b(0x345)]:{this[_0xa2a57b(0x319)](_0x4d2371(_0x111bda[_0xa2a57b(0x20e)]));break;}case _0x4fe2f4[_0xa2a57b(0x2d1)]:{this[_0xa2a57b(0x374)](_0x111bda[_0xa2a57b(0x20e)]);break;}case _0x4fe2f4[_0xa2a57b(0x2ef)]:{this[_0xa2a57b(0x3e1)]();break;}case _0x4fe2f4[_0xa2a57b(0x141)]:{this[_0xa2a57b(0x3b5)](_0x111bda[_0xa2a57b(0x20e)]);break;}case _0x4fe2f4[_0xa2a57b(0x334)]:{this[_0xa2a57b(0x16f)](_0x111bda[_0xa2a57b(0x20e)]['changesets'][_0xa2a57b(0x3b9)](_0x2732b5=>_0x4d2371(_0x2732b5)));break;}case _0x4fe2f4[_0xa2a57b(0x261)]:{this[_0xa2a57b(0x3e1)]({'isPermissionRej':!0x0});break;}case _0x4fe2f4[_0xa2a57b(0x3f9)]:break;}}catch(_0x3e6c10){throw console[_0xa2a57b(0x375)](_0xa2a57b(0x3e9),_0x3e6c10),_0x3e6c10;}})),this[_0x287549(0x1f3)];}[_0xb830ac(0x3d6)](){var _0x31a6a1=_0xb830ac;this[_0x31a6a1(0x33b)]=!0x1;}[_0xb830ac(0x1ad)](){var _0x28575b=_0xb830ac;if(this[_0x28575b(0x33b)])throw new Error(_0x28575b(0x2dd));this['_transitionLocked']=!0x0;}[_0xb830ac(0x3ff)](_0xb9070e){var _0x757c4f=_0xb830ac;this['_lockTransition'](),this[_0x757c4f(0x3ed)](this[_0x757c4f(0x1f3)][_0x757c4f(0x1b8)](_0xb9070e)),this[_0x757c4f(0x3d6)]();}['_onRemoteChangeset'](_0x3b7bde){var _0x3aeac2=_0xb830ac;if(!(_0x3b7bde[_0x3aeac2(0x234)]<=this['_revisionService'][_0x3aeac2(0x126)](this[_0x3aeac2(0x3f5)]))){if(this[_0x3aeac2(0x2d5)]){this[_0x3aeac2(0x34f)][_0x3aeac2(0x1e6)](_0x3b7bde);return;}this[_0x3aeac2(0x3b4)](_0x3b7bde);}}['_exhaustRemoteChangesetQueue'](){var _0x5b6d47=_0xb830ac;this[_0x5b6d47(0x34f)][_0x5b6d47(0x2a3)](_0x8e96e4=>this['_applyRemoteChangeset'](_0x8e96e4)),this[_0x5b6d47(0x34f)]=[];}[_0xb830ac(0x3b4)](_0xf523a){var _0x260238=_0xb830ac;const _0x3c4f16=this[_0x260238(0x2ae)][_0x260238(0x1e2)][_0x260238(0x30f)](this[_0x260238(0x2ae)][_0x260238(0x1e2)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0xf523a[_0x260238(0x3b1)],null)||_0xf523a[_0x260238(0x3b1)],_0x376c35={..._0xf523a,'mutations':_0x3c4f16};this[_0x260238(0x1ad)](),this[_0x260238(0x3ed)](this[_0x260238(0x1f3)][_0x260238(0x11a)](_0x376c35)),this['_unlockTransition']();}[_0xb830ac(0x374)](_0x4a9136){var _0x4ae8b8=_0xb830ac;this[_0x4ae8b8(0x1ad)](),this['_updateState'](this[_0x4ae8b8(0x1f3)][_0x4ae8b8(0x3fa)](_0x4a9136)),this[_0x4ae8b8(0x3d6)]();}[_0xb830ac(0x3e1)](_0x4f20c0){var _0x54c4e6=_0xb830ac;this[_0x54c4e6(0x1ad)](),this[_0x54c4e6(0x3ed)](this[_0x54c4e6(0x1f3)][_0x54c4e6(0x1e8)](_0x4f20c0)),this['_unlockTransition']();}[_0xb830ac(0x3b5)](_0x298bc6){var _0x372e7f=_0xb830ac;this['_lockTransition'](),this[_0x372e7f(0x3ed)](this[_0x372e7f(0x1f3)]['onRemoteRetry'](_0x298bc6)),this[_0x372e7f(0x3d6)]();}[_0xb830ac(0x16f)](_0x2efdd5){var _0x5717bc=_0xb830ac;if(!(this[_0x5717bc(0x1f3)]instanceof ee))throw new TypeError(_0x5717bc(0x174));const _0x11230c=_0x2efdd5[_0x5717bc(0x3b9)](_0x4e7268=>{var _0x41c73b=_0x5717bc;const _0x418d96=this[_0x41c73b(0x2ae)][_0x41c73b(0x1e2)][_0x41c73b(0x30f)](this[_0x41c73b(0x2ae)][_0x41c73b(0x1e2)][_0x41c73b(0x148)]()[_0x41c73b(0x11f)])(_0x4e7268[_0x41c73b(0x3b1)],null)||_0x4e7268[_0x41c73b(0x3b1)];return{..._0x4e7268,'mutations':_0x418d96};});this[_0x5717bc(0x1ad)](),this['_updateState'](this[_0x5717bc(0x1f3)]['onMissedChangesetFetched'](_0x11230c)),this[_0x5717bc(0x3d6)]();}[_0xb830ac(0x17d)](){var _0x316a71=_0xb830ac;this[_0x316a71(0x1ad)](),this[_0x316a71(0x3ed)](this[_0x316a71(0x1f3)]['toggleOffline']()),this['_unlockTransition']();}[_0xb830ac(0x18f)](_0x444d18=!0x1){var _0x1138bb=_0xb830ac;this['_lockTransition'](),this[_0x1138bb(0x3ed)](this[_0x1138bb(0x1f3)][_0x1138bb(0x398)]()),this[_0x1138bb(0x3d6)]();const _0x4756ef=this[_0x1138bb(0x1f3)];_0x444d18&&_0x4756ef instanceof be&&(this['_lockTransition'](),this['_updateState'](_0x4756ef[_0x1138bb(0xff)]()),this[_0x1138bb(0x3d6)]());}async['_createInitialState'](){return new Promise(_0x96f5e2=>{var _0x42aa34=_0x17ca;this[_0x42aa34(0x10c)][_0x42aa34(0x106)]['pipe'](_0x3bd633(0x1))[_0x42aa34(0x3db)](async _0x30442a=>{var _0x59657d=_0x42aa34;_0x96f5e2(await this[_0x59657d(0x153)](_0x30442a===me[_0x59657d(0x320)]));});});}[_0xb830ac(0x29e)](){const _0x3ac55b=this['unitID'];return{'onStateChange':(_0x489a5c,_0x42c603)=>{var _0x2d3c9b=_0x17ca;if(_0x489a5c!==this[_0x2d3c9b(0x1f3)])throw new Error(_0x2d3c9b(0x23f)+_0x489a5c[_0x2d3c9b(0x1ac)]+_0x2d3c9b(0x35a)+_0x42c603['status']+_0x2d3c9b(0x204)+this[_0x2d3c9b(0x1f3)][_0x2d3c9b(0x1ac)]);this['_updateState'](_0x42c603);},'onSendChangeset':_0x2bfa4a=>{var _0x3535e3=_0x17ca;_0x2bfa4a[_0x3535e3(0x2e2)]||(_0x2bfa4a[_0x3535e3(0x2e2)]=this[_0x3535e3(0x3c4)],_0x2bfa4a[_0x3535e3(0x37c)]=++this[_0x3535e3(0x35c)]);const _0x3fe6ae={'eventID':_0x4fe2f4[_0x3535e3(0x1c7)],'data':{'unitID':_0x2bfa4a[_0x3535e3(0x3f5)],'unitType':this[_0x3535e3(0x13b)],'changeset':_0x2bfa4a,'memberID':this['session']['getMemberID']()}};this[_0x3535e3(0x10c)][_0x3535e3(0x21f)](_0x3fe6ae,this[_0x3535e3(0x3f5)]);},'onMissingChangesets':({from:_0x10a62a,to:_0x2b13dc})=>{var _0x339040=_0x17ca;this['_logService'][_0x339040(0x221)](_0x339040(0x22e),_0x339040(0x37e)+_0x10a62a+_0x339040(0x2b8)+_0x2b13dc);const _0x7c4f68={'eventID':_0x4fe2f4[_0x339040(0x253)],'data':{'unitID':_0x3ac55b,'unitType':this['_type'],'from':_0x10a62a,'to':_0x2b13dc}};this[_0x339040(0x10c)][_0x339040(0x21f)](_0x7c4f68,this['unitID']);}};}async['_createInitialStateImpl'](_0x4ff1a2){var _0x41ee97=_0xb830ac,_0x34a95a,_0x5dece9,_0x1ad16e;const _0x529cbf=await((_0x34a95a=this[_0x41ee97(0x3a9)])==null?void 0x0:_0x34a95a[_0x41ee97(0x3d8)](this['unitID'])),_0x1adb1c=(_0x5dece9=_0x529cbf==null?void 0x0:_0x529cbf[_0x41ee97(0x3b1)])!=null?_0x5dece9:[],_0x5ed766=(_0x1ad16e=_0x529cbf==null?void 0x0:_0x529cbf['awaitingChangeset'])!=null?_0x1ad16e:null,_0x4e7c3d=!!(_0x5ed766!=null&&_0x5ed766[_0x41ee97(0x2e2)])&&!!(_0x5ed766!=null&&_0x5ed766[_0x41ee97(0x37c)]);this['_changesetSessionId']=_0x4e7c3d?_0x5ed766[_0x41ee97(0x2e2)]:_0x2e6657(),this['_changesetReqId']=_0x4e7c3d?_0x5ed766[_0x41ee97(0x37c)]:0x0;const _0x2850bc=this[_0x41ee97(0x3f5)];try{this['_replayCachedMutations'](_0x5ed766,_0x1adb1c);}catch(_0x1b2bc4){this[_0x41ee97(0x3ef)][_0x41ee97(0x375)](_0x1b2bc4);}const _0x57c702=this[_0x41ee97(0x29e)]();if(_0x4ff1a2){const _0xca2104=Oi(this[_0x41ee97(0x3ca)],_0x2850bc,this[_0x41ee97(0x13b)],_0x5ed766,_0x1adb1c,_0x57c702);return _0xca2104 instanceof ae?_0xca2104[_0x41ee97(0x15f)]():(_0xca2104 instanceof oe||_0xca2104 instanceof le)&&_0xca2104[_0x41ee97(0x327)](),_0xca2104;}return this[_0x41ee97(0x3ca)][_0x41ee97(0x2ea)](de,_0x2850bc,this['_type'],_0x5ed766,_0x1adb1c,_0x57c702);}[_0xb830ac(0x2fd)](_0x5f34f7,_0x2ea028){var _0x5b6f88=_0xb830ac,_0x1eb90e,_0x4a47cc;const _0x34d425=this[_0x5b6f88(0x2ae)][_0x5b6f88(0x1e2)][_0x5b6f88(0x30f)](this[_0x5b6f88(0x2ae)][_0x5b6f88(0x1e2)][_0x5b6f88(0x148)]()[_0x5b6f88(0x11f)]);(_0x1eb90e=_0x34d425((_0x5f34f7==null?void 0x0:_0x5f34f7[_0x5b6f88(0x3b1)])||[],null))==null||_0x1eb90e[_0x5b6f88(0x2a3)](_0x4a90aa=>this[_0x5b6f88(0x1a3)]['executeCommand'](_0x4a90aa['id'],_0x4a90aa[_0x5b6f88(0x2af)])),(_0x4a47cc=_0x34d425(_0x2ea028||[],null))==null||_0x4a47cc[_0x5b6f88(0x2a3)](_0x5dca2a=>this[_0x5b6f88(0x1a3)][_0x5b6f88(0x2a8)](_0x5dca2a['id'],_0x5dca2a[_0x5b6f88(0x2af)]));}};st=At([$(0x3,_0x2aff60(_0x57442c)),$(0x4,_0x2aff60(_0xe69ba6)),$(0x5,_0x2aff60(_0x22c541)),$(0x6,_0x2aff60(_0x19252a)),$(0x7,_0x2aff60(ve)),$(0x8,_0x469993),$(0x9,_0x469422),$(0xa,_0x26c597),$(0xb,_0x228023),$(0xc,_0x2c2398(_t)),$(0xd,_0x2c2398(X))],st);let It=class extends st{constructor(_0x45f6bf,_0xb96dcc,_0x334ebc,_0x2aa538,_0x2c736a,_0x591920,_0x4e69cb,_0x14ec79,_0x264eb2,_0x134187,_0x473bcd,_0x2b56d2,_0x340df1,_0x10d4e7){var _0x27819c=_0xb830ac;super(_0x45f6bf,_0x334ebc,_0xb96dcc,_0x2aa538,_0x2c736a,_0x591920,_0x4e69cb,_0x14ec79,_0x264eb2,_0x134187,_0x473bcd,_0x2b56d2,_0x340df1,_0x10d4e7),D(this,_0x27819c(0x344),null),(this[_0x27819c(0x3f5)]=_0x45f6bf,this[_0x27819c(0x348)]=_0xb96dcc);}['addHandlerCallback'](_0xd39f0d){var _0x477a3b=_0xb830ac;this[_0x477a3b(0x344)]=_0xd39f0d;}[_0xb830ac(0x1b6)](){var _0x9f88bd=_0xb830ac;this[_0x9f88bd(0x344)]=null,super['dispose']();}[_0xb830ac(0x29e)](){var _0x48876b=_0xb830ac;const _0x381353=super[_0x48876b(0x29e)]();return _0x381353[_0x48876b(0x352)]=_0x3fdc0b=>{var _0x8480c=_0x48876b,_0x137676,_0x4d84db;return(_0x4d84db=(_0x137676=this['_handlerCallback'])==null?void 0x0:_0x137676[_0x8480c(0x352)])==null?void 0x0:_0x4d84db[_0x8480c(0xef)](_0x137676,_0x3fdc0b);},_0x381353[_0x48876b(0x25c)]=_0x41512e=>{var _0x46c597=_0x48876b,_0x2f248d,_0x5b63aa;return(_0x5b63aa=(_0x2f248d=this[_0x46c597(0x344)])==null?void 0x0:_0x2f248d[_0x46c597(0x25c)])==null?void 0x0:_0x5b63aa[_0x46c597(0xef)](_0x2f248d,_0x41512e);},_0x381353[_0x48876b(0x3f1)]=_0x2ab9d9=>{var _0x34740a=_0x48876b,_0x42099a,_0xb5cec6;return(_0xb5cec6=(_0x42099a=this[_0x34740a(0x344)])==null?void 0x0:_0x42099a['onTransformSelections'])==null?void 0x0:_0xb5cec6[_0x34740a(0xef)](_0x42099a,_0x2ab9d9);},_0x381353[_0x48876b(0x317)]=_0x4d1ad7=>{var _0x2303a4=_0x48876b,_0x46c74e,_0x31773c;return(_0x31773c=(_0x46c74e=this['_handlerCallback'])==null?void 0x0:_0x46c74e['onSyncEditingCollabCursor'])==null?void 0x0:_0x31773c[_0x2303a4(0xef)](_0x46c74e,_0x4d1ad7);},_0x381353[_0x48876b(0x27c)]=_0x196360=>{var _0x27435e=_0x48876b,_0x5acfb3,_0x305935,_0x1377be;if(!((_0x5acfb3=this[_0x27435e(0x344)])!=null&&_0x5acfb3[_0x27435e(0x27c)]))throw new Error(_0x27435e(0x2de));return(_0x1377be=(_0x305935=this[_0x27435e(0x344)])==null?void 0x0:_0x305935[_0x27435e(0x27c)])==null?void 0x0:_0x1377be[_0x27435e(0xef)](_0x305935,_0x196360);},_0x381353['onTransformRemoteChangesetByStateCache']=_0x5f5be5=>{var _0x375593=_0x48876b,_0x32b4bc,_0x3952b3,_0x49282e;if(!((_0x32b4bc=this[_0x375593(0x344)])!=null&&_0x32b4bc[_0x375593(0x335)]))throw new Error(_0x375593(0x193));return(_0x49282e=(_0x3952b3=this[_0x375593(0x344)])==null?void 0x0:_0x3952b3[_0x375593(0x335)])==null?void 0x0:_0x49282e[_0x375593(0xef)](_0x3952b3,_0x5f5be5);},_0x381353;}async[_0xb830ac(0x1c1)](){var _0x1c237a=_0xb830ac;const _0x44df24=await super[_0x1c237a(0x1c1)]();return this['disposeWithMe'](this[_0x1c237a(0x1a3)][_0x1c237a(0x230)]((_0x4d4579,_0x525124)=>{var _0x9942=_0x1c237a;if(_0x4d4579[_0x9942(0x348)]!==_0x48d90a[_0x9942(0x2ee)]||_0x525124!=null&&_0x525124['fromCollab']||_0x525124!=null&&_0x525124[_0x9942(0x124)]||_0x4d4579['id']===_0xd7a1e['id'])return;const _0x36511d=_0x4d4579['params'];if((_0x36511d==null?void 0x0:_0x36511d['unitId'])!==this[_0x9942(0x3f5)])return;const _0x2c3460=_0x4d4579,_0x389202=this[_0x9942(0x2ae)][_0x9942(0x1e2)][_0x9942(0x30f)](this[_0x9942(0x2ae)]['interceptor'][_0x9942(0x148)]()[_0x9942(0x20c)])([_0x2c3460],this[_0x9942(0x227)])||[_0x2c3460];this[_0x9942(0x3ff)](_0x389202[0x0]);})),_0x44df24;}};It=At([$(0x3,_0x2aff60(_0x57442c)),$(0x4,_0x2aff60(_0xe69ba6)),$(0x5,_0x2aff60(_0x22c541)),$(0x6,_0x2aff60(_0x19252a)),$(0x7,_0x2aff60(ve)),$(0x8,_0x469993),$(0x9,_0x469422),$(0xa,_0x26c597),$(0xb,_0x228023),$(0xc,_0x2c2398(_t)),$(0xd,_0x2c2398(X))],It);let St=class extends st{constructor(_0x4480af,_0x53ca7a,_0x96b1af,_0x4ba9dc,_0x3ebc00,_0xd69ec6,_0x489555,_0x1265cb,_0x547c95,_0x5aa145,_0x2e1db8,_0x28ee2c,_0xf395a0,_0x57f9c7,_0x41d46e){var _0x1549a9=_0xb830ac;super(_0x4480af,_0x96b1af,_0x53ca7a,_0x4ba9dc,_0x3ebc00,_0xd69ec6,_0x489555,_0x547c95,_0x5aa145,_0x2e1db8,_0x28ee2c,_0xf395a0,_0x57f9c7,_0x41d46e),this[_0x1549a9(0x3f5)]=_0x4480af,this[_0x1549a9(0x348)]=_0x53ca7a,this[_0x1549a9(0x396)]=_0x1265cb;}[_0xb830ac(0x29e)](){var _0x541837=_0xb830ac;const _0x59d3ea=super[_0x541837(0x29e)]();return _0x59d3ea[_0x541837(0x3f1)]=_0x173bc2=>this[_0x541837(0x396)]['transformSelections'](_0x173bc2),_0x59d3ea;}async[_0xb830ac(0x1c1)](){var _0x128a6e=_0xb830ac;const _0x1d1e49=await super[_0x128a6e(0x1c1)]();return this[_0x128a6e(0x3ad)](this[_0x128a6e(0x1a3)][_0x128a6e(0x230)]((_0x4c1335,_0x1cb070)=>{var _0x257148=_0x128a6e;if(_0x4c1335[_0x257148(0x348)]!==_0x48d90a[_0x257148(0x2ee)]||_0x1cb070!=null&&_0x1cb070[_0x257148(0x1e0)]||_0x1cb070!=null&&_0x1cb070[_0x257148(0x124)])return;const _0xdeea93=_0x4c1335[_0x257148(0x2af)];if((_0xdeea93==null?void 0x0:_0xdeea93[_0x257148(0x23d)])!==this[_0x257148(0x3f5)])return;const _0x141ec3=_0x4c1335,_0x52f6aa=this['_compressMutationService']['interceptor'][_0x257148(0x30f)](this[_0x257148(0x2ae)]['interceptor'][_0x257148(0x148)]()[_0x257148(0x20c)])([_0x141ec3],this['_univerInstanceService'])||[_0x141ec3];this[_0x257148(0x3ff)](_0x52f6aa[0x0]);})),_0x1d1e49;}};St=At([$(0x3,_0x2aff60(_0x57442c)),$(0x4,_0x2aff60(_0xe69ba6)),$(0x5,_0x2aff60(_0x22c541)),$(0x6,_0x2aff60(_0x19252a)),$(0x7,_0x2aff60(it)),$(0x8,_0x2aff60(ve)),$(0x9,_0x469993),$(0xa,_0x469422),$(0xb,_0x26c597),$(0xc,_0x228023),$(0xd,_0x2c2398(_t)),$(0xe,_0x2c2398(X))],St);const Vs=_0x4d8857(_0xb830ac(0x1fe));function Gs(_0xf04e8d){var _0x124ef9=_0xb830ac,_0x204a9e,_0x484c4d,_0xb2a60e,_0x31a70e,_0x1187a8;const _0x3645f2=_0xf04e8d[_0x124ef9(0x20e)],_0x252ed5=JSON[_0x124ef9(0x2bb)](_0x3645f2);switch(_0x252ed5[_0x124ef9(0x29f)]){case j[_0x124ef9(0x16c)]:case j[_0x124ef9(0x39c)]:{const _0x5835bd=_0x252ed5['infoRsp'];return{..._0x252ed5,'data':_0x5835bd,'cmd':_0x252ed5[_0x124ef9(0x29f)]};}case j[_0x124ef9(0x258)]:{const _0x1ed789=_0x252ed5[_0x124ef9(0x27f)];return{..._0x252ed5,'data':_0x1ed789,'cmd':_0x252ed5[_0x124ef9(0x29f)]};}case j[_0x124ef9(0x177)]:{const _0x25c4ec=_0x252ed5[_0x124ef9(0x397)];switch(_0x25c4ec[_0x124ef9(0x147)]){case _0x4fe2f4['PERMISSION_REJ']:return{..._0x252ed5,'data':{..._0x25c4ec,'data':(_0x204a9e=_0x25c4ec[_0x124ef9(0x2a4)])==null?void 0x0:_0x204a9e['cs']},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4[_0x124ef9(0x2d1)]:return{..._0x252ed5,'data':{..._0x25c4ec,'data':(_0x484c4d=_0x25c4ec[_0x124ef9(0x10d)])==null?void 0x0:_0x484c4d['cs']},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4['NEW_CHANGESETS']:return{..._0x252ed5,'data':{..._0x25c4ec,'data':(_0xb2a60e=_0x25c4ec[_0x124ef9(0x2b1)])==null?void 0x0:_0xb2a60e['cs']},'cmd':_0x252ed5['cmd']};case _0x4fe2f4[_0x124ef9(0x2ef)]:return{..._0x252ed5,'data':{..._0x25c4ec,'data':(_0x31a70e=_0x25c4ec[_0x124ef9(0x3f6)])==null?void 0x0:_0x31a70e['cs']},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4[_0x124ef9(0x141)]:return{..._0x252ed5,'data':{..._0x25c4ec,'data':(_0x1187a8=_0x25c4ec[_0x124ef9(0x1c0)])==null?void 0x0:_0x1187a8['cs']},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4[_0x124ef9(0x3aa)]:return{..._0x252ed5,'data':{..._0x25c4ec,'data':_0x25c4ec[_0x124ef9(0x16b)]},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4['USERS_ENTER']:return{..._0x252ed5,'data':{..._0x25c4ec,'data':_0x25c4ec[_0x124ef9(0x1ea)]},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4[_0x124ef9(0x1c4)]:return{..._0x252ed5,'data':{..._0x25c4ec,'data':_0x25c4ec[_0x124ef9(0x244)]},'cmd':_0x252ed5['cmd']};case _0x4fe2f4[_0x124ef9(0x2bc)]:return{..._0x252ed5,'data':{..._0x25c4ec,'data':_0x25c4ec[_0x124ef9(0x2cd)]},'cmd':_0x252ed5['cmd']};case _0x4fe2f4[_0x124ef9(0xf3)]:case _0x4fe2f4[_0x124ef9(0x3e8)]:return{..._0x252ed5,'data':{..._0x25c4ec,'data':_0x25c4ec[_0x124ef9(0x217)]},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4[_0x124ef9(0x3a6)]:return{..._0x252ed5,'data':{..._0x25c4ec,'data':_0x25c4ec[_0x124ef9(0x2cd)]},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4[_0x124ef9(0xed)]:return{..._0x252ed5,'data':_0x25c4ec,'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4['COMMENT_UPDATE']:return{..._0x252ed5,'data':{..._0x25c4ec,'data':_0x25c4ec[_0x124ef9(0x27e)]},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4[_0x124ef9(0x3bd)]:return{..._0x252ed5,'data':{..._0x25c4ec,'data':_0x25c4ec[_0x124ef9(0x161)]},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4['SHOULD_CLOSE_CONN']:return{..._0x252ed5,'data':{..._0x25c4ec,'data':_0x25c4ec['shouldCloseConn']},'cmd':_0x252ed5[_0x124ef9(0x29f)]};case _0x4fe2f4[_0x124ef9(0x3f9)]:return{..._0x252ed5,'data':{..._0x25c4ec,'data':_0x25c4ec[_0x124ef9(0x19a)]},'cmd':_0x252ed5['cmd']};default:return _0x252ed5;}}default:return _0x252ed5;}}function Ws(_0x534163){var _0x234b02=_0xb830ac;switch(_0x534163['cmd']){case j[_0x234b02(0x16c)]:case j[_0x234b02(0x39c)]:return JSON[_0x234b02(0x2b2)]({'cmd':_0x534163[_0x234b02(0x29f)],'routeKey':_0x534163[_0x234b02(0x31c)]});case j[_0x234b02(0x286)]:{let _0x13f7e8;switch(_0x534163[_0x234b02(0x20e)][_0x234b02(0x147)]){case _0x4fe2f4[_0x234b02(0x3aa)]:{_0x13f7e8={'eventID':_0x4fe2f4[_0x234b02(0x3aa)],'updateCursorEvent':_0x534163['data'][_0x234b02(0x20e)]};break;}case _0x4fe2f4[_0x234b02(0x1c4)]:{_0x13f7e8={'eventID':_0x4fe2f4[_0x234b02(0x1c4)],'leaveEvent':_0x534163[_0x234b02(0x20e)][_0x234b02(0x20e)]};break;}case _0x4fe2f4['USERS_ENTER']:{_0x13f7e8={'eventID':_0x4fe2f4[_0x234b02(0x28c)],'joinEvent':_0x534163['data'][_0x234b02(0x20e)]};break;}case _0x4fe2f4[_0x234b02(0x2bc)]:{_0x13f7e8={'eventID':_0x4fe2f4['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x534163[_0x234b02(0x20e)][_0x234b02(0x20e)]};break;}case _0x4fe2f4[_0x234b02(0x3e8)]:{_0x13f7e8={'eventID':_0x4fe2f4[_0x234b02(0x3e8)],'liveShareOperation':_0x534163[_0x234b02(0x20e)][_0x234b02(0x20e)]};break;}case _0x4fe2f4[_0x234b02(0x3a6)]:{_0x13f7e8={'eventID':_0x4fe2f4[_0x234b02(0x3a6)],'liveShareTerminate':_0x534163['data']['data']};break;}case _0x4fe2f4[_0x234b02(0x249)]:{_0x13f7e8={'eventID':_0x4fe2f4[_0x234b02(0x249)],'liveShareRequestHost':_0x534163[_0x234b02(0x20e)]['data']};break;}case _0x4fe2f4[_0x234b02(0xf3)]:{_0x13f7e8={'eventID':_0x4fe2f4[_0x234b02(0xf3)]};break;}default:_0x13f7e8={'eventID':_0x534163[_0x234b02(0x20e)][_0x234b02(0x147)]};}return JSON['stringify']({'cmd':_0x534163['cmd'],'routeKey':_0x534163[_0x234b02(0x31c)],'collaMsg':_0x13f7e8});}case j[_0x234b02(0x258)]:return JSON[_0x234b02(0x2b2)]({'cmd':_0x534163[_0x234b02(0x29f)],'routeKey':_0x534163[_0x234b02(0x31c)],'joinReq':_0x534163[_0x234b02(0x20e)]});case j[_0x234b02(0x303)]:return JSON[_0x234b02(0x2b2)]({'cmd':_0x534163['cmd'],'routeKey':_0x534163[_0x234b02(0x31c)],'leaveReq':_0x534163['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ys=Object[_0xb830ac(0x2f2)],Ks=(_0x2b96e1,_0x10fc1d,_0x4d49ee,_0x42f2f0)=>{var _0x296198=_0xb830ac;for(var _0xb58cb1=_0x42f2f0>0x1?void 0x0:_0x42f2f0?Ys(_0x10fc1d,_0x4d49ee):_0x10fc1d,_0x5673c1=_0x2b96e1[_0x296198(0x13f)]-0x1,_0x55b4e6;_0x5673c1>=0x0;_0x5673c1--)(_0x55b4e6=_0x2b96e1[_0x5673c1])&&(_0xb58cb1=_0x55b4e6(_0xb58cb1)||_0xb58cb1);return _0xb58cb1;},ye=(_0x1fd217,_0x35b5df)=>(_0x29df71,_0x23b469)=>_0x35b5df(_0x29df71,_0x23b469,_0x1fd217);const Ri=_0x4d8857(_0xb830ac(0x17e));function qs(_0x380b3e,_0x4863b0,_0x3828b2){var _0x1801e6=_0xb830ac;return _0x380b3e+'/'+_0x4863b0+_0x1801e6(0x307)+_0x3828b2+_0x1801e6(0x162);}let Gt=class extends _0x484da3{constructor(_0x3f9955,_0xa219f7,_0x3d6490,_0x5b7b07,_0xc75f1d){var _0x390184=_0xb830ac;super(),this[_0x390184(0x3ca)]=_0x3f9955,this[_0x390184(0x220)]=_0xa219f7,this[_0x390184(0x25e)]=_0x3d6490,this[_0x390184(0x3ef)]=_0x5b7b07,this[_0x390184(0x14e)]=_0xc75f1d;}[_0xb830ac(0x1c8)](_0x2743e7){var _0x2a5fb1=_0xb830ac;const _0x527e03=this['_injector'][_0x2a5fb1(0x12c)](_0x141d63);if(!_0x527e03)throw new Error(_0x2a5fb1(0x14f));const _0x8fb859=_0x527e03[_0x2a5fb1(0x3cb)](_0x2743e7);if(!_0x8fb859)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x36a36b=new _0x4a5193(),_0x36a17d=new _0x486fe1();_0x36a36b[_0x2a5fb1(0x381)](_0x8fb859[_0x2a5fb1(0x1dc)][_0x2a5fb1(0x3db)](_0x218e98=>_0x36a17d[_0x2a5fb1(0x309)](_0x218e98))),_0x36a36b[_0x2a5fb1(0x381)](_0x17653c(()=>_0x36a17d[_0x2a5fb1(0x2cf)]()));const _0x5ebb9c=new _0x486fe1();_0x36a36b['add'](_0x8fb859['error$'][_0x2a5fb1(0x3db)](_0x4b1508=>_0x5ebb9c[_0x2a5fb1(0x309)](_0x4b1508))),_0x36a36b[_0x2a5fb1(0x381)](_0x17653c(()=>_0x5ebb9c['complete']()));const _0x3181db=new _0x486fe1();_0x36a36b[_0x2a5fb1(0x381)](_0x8fb859[_0x2a5fb1(0x399)]['subscribe'](_0x359e29=>{var _0x3c0983=_0x2a5fb1;const _0x25f572=Gs(_0x359e29);_0x3181db[_0x3c0983(0x309)](_0x25f572);})),_0x36a36b[_0x2a5fb1(0x381)](_0x17653c(()=>_0x3181db['complete']()));let _0x25719d;const _0x5c3294=()=>{var _0x1af1b8=_0x2a5fb1;_0x5ebb9c[_0x1af1b8(0x309)](new Event(_0x1af1b8(0x1ff))),_0x36a17d['next'](new Event(_0x1af1b8(0x1ff))),_0x25719d['close']();};return _0x25719d={'memberID':'','close$':_0x36a17d['asObservable'](),'error$':_0x5ebb9c[_0x2a5fb1(0x290)](),'open$':_0x8fb859['open$'],'message$':_0x3181db[_0x2a5fb1(0x290)](),'send':_0x3980aa=>{var _0x3c1d56=_0x2a5fb1;if(_0x3980aa[_0x3c1d56(0x29f)]===j[_0x3c1d56(0x286)]){if(_0x3980aa['data'][_0x3c1d56(0x147)]===_0x4fe2f4[_0x3c1d56(0x1c7)]){this[_0x3c1d56(0x407)](_0x25719d,_0x3980aa['data'])[_0x3c1d56(0x3ce)](_0x2cb2df=>{var _0x1291af=_0x3c1d56;this[_0x1291af(0x3ef)]['error'](_0x2cb2df),_0x5c3294();});return;}if(_0x3980aa[_0x3c1d56(0x20e)][_0x3c1d56(0x147)]===_0x4fe2f4['FETCH_MISSING']){const _0x1e81af=_0x3980aa['data'];this[_0x3c1d56(0x1c3)](_0x1e81af)[_0x3c1d56(0x19b)](_0x20a369=>{var _0x27fbf4=_0x3c1d56;_0x3181db['next']({'cmd':j['RECV'],'code':Ee['OK'],'routeKey':_0x1e81af[_0x27fbf4(0x20e)][_0x27fbf4(0x3f5)],'routeType':'','data':{'eventID':_0x4fe2f4[_0x27fbf4(0x334)],'data':{'changesets':_0x20a369}}});})[_0x3c1d56(0x3ce)](_0x1f7cd6=>{var _0x480f97=_0x3c1d56;this[_0x480f97(0x3ef)][_0x480f97(0x375)](_0x1f7cd6),_0x5c3294();});return;}}_0x8fb859[_0x3c1d56(0x21f)](Ws(_0x3980aa));},'close':()=>{var _0x33c0fe=_0x2a5fb1;_0x8fb859['close'](),_0x36a36b[_0x33c0fe(0x1b6)]();}},_0x25719d;}async[_0xb830ac(0x407)](_0x3bf55e,_0xf03781){var _0x22895a=_0xb830ac,_0x5871be;const {unitType:_0x1216e7,unitID:_0x35900d,changeset:_0xa1509}=_0xf03781[_0x22895a(0x20e)],_0x10710d={'unitID':_0x35900d,'memberID':_0x3bf55e[_0x22895a(0x164)],'type':_0x1216e7,'changeset':_0x7a02c2(_0xa1509)},_0x18f9fc=this[_0x22895a(0x25e)][_0x22895a(0x144)](K),_0x219f9e=qs((_0x5871be=_0x18f9fc==null?void 0x0:_0x18f9fc[_0x22895a(0x2bd)])!=null?_0x5871be:Ns,_0x1216e7,_0x35900d);try{await this[_0x22895a(0x220)][_0x22895a(0x333)](_0x219f9e,{'body':_0x10710d});}catch(_0x1e0b53){throw this[_0x22895a(0x3ef)][_0x22895a(0x375)](_0x22895a(0x257),_0x22895a(0x1ed)),_0x1e0b53;}}async[_0xb830ac(0x1c3)](_0x383f03){var _0x1b86df=_0xb830ac;const {unitID:_0x4d531e,from:_0x387215,to:_0x2e2905,unitType:_0x4256b3}=_0x383f03[_0x1b86df(0x20e)];return(await this[_0x1b86df(0x14e)][_0x1b86df(0x199)]({'metadata':void 0x0},{'unitID':_0x4d531e,'type':_0x4256b3,'from':_0x387215,'to':_0x2e2905}))['changesets'][_0x1b86df(0x3b9)](_0x224c62=>((_0x224c62['mutations']===null||_0x224c62[_0x1b86df(0x3b1)]===void 0x0)&&(_0x224c62[_0x1b86df(0x3b1)]=[]),_0x224c62));}};Gt=Ks([ye(0x0,_0x2aff60(_0x57442c)),ye(0x1,_0x2aff60(_0x562ff5)),ye(0x2,_0x495b35),ye(0x3,_0x469422),ye(0x4,_0x256d14)],Gt);var zs=Object[_0xb830ac(0x2f2)],Xs=(_0xb94653,_0x393145,_0x29af0f,_0x1648d8)=>{var _0x5ef81d=_0xb830ac;for(var _0x4bdd02=_0x1648d8>0x1?void 0x0:_0x1648d8?zs(_0x393145,_0x29af0f):_0x393145,_0x55fce0=_0xb94653[_0x5ef81d(0x13f)]-0x1,_0x3d7d9d;_0x55fce0>=0x0;_0x55fce0--)(_0x3d7d9d=_0xb94653[_0x55fce0])&&(_0x4bdd02=_0x3d7d9d(_0x4bdd02)||_0x4bdd02);return _0x4bdd02;},Re=(_0x24a830,_0x56a606)=>(_0x3c03a1,_0xcfee9b)=>_0x56a606(_0x3c03a1,_0xcfee9b,_0x24a830);let Le=class extends _0x484da3{constructor(_0x367d66,_0x3321e4,_0x5c375e,_0x44a551,_0xef04e,_0x4a2ea4){var _0x5bb007=_0xb830ac;super(),D(this,'_socket$',new _0x392068(void 0x0)),D(this,_0x5bb007(0x32c),this[_0x5bb007(0x2a9)][_0x5bb007(0x290)]()),D(this,_0x5bb007(0x310),null),D(this,_0x5bb007(0x1b7),new Map()),D(this,_0x5bb007(0x1ec),new _0x392068(me[_0x5bb007(0x308)])),D(this,_0x5bb007(0x408),this[_0x5bb007(0x1ec)][_0x5bb007(0x290)]()),D(this,'_socketReady',!0x1),D(this,_0x5bb007(0x304)),D(this,_0x5bb007(0x149),0x0),D(this,'_sendHeartbeatTimer'),D(this,'_timeoutTimer'),(this['_injector']=_0x367d66,this[_0x5bb007(0x3ef)]=_0x3321e4,this[_0x5bb007(0x25e)]=_0x5c375e,this[_0x5bb007(0x108)]=_0x44a551,this['_collaborationUIEventService']=_0xef04e,this[_0x5bb007(0x2f1)]=_0x4a2ea4,this['_listenToNetworkCondition']());}get[_0xb830ac(0x26a)](){var _0x3b485d=_0xb830ac;return this['_socket$'][_0x3b485d(0x2d7)]();}[_0xb830ac(0x35e)](){var _0x2ccb01=_0xb830ac;this[_0x2ccb01(0x2f1)]&&this[_0x2ccb01(0x3ad)](this['_networkConditionService']['online$'][_0x2ccb01(0x3db)](_0x1f5e9c=>{var _0x15fa44=_0x2ccb01;_0x1f5e9c&&!this['_socket']&&this[_0x15fa44(0x2ba)](),_0x1f5e9c||this['_onOffline']();}));}['dispose'](){var _0x167003=_0xb830ac;super[_0x167003(0x1b6)](),this[_0x167003(0x112)](),this[_0x167003(0x2ed)](),this[_0x167003(0x276)](),this[_0x167003(0x1b7)][_0x167003(0x2a3)](_0x324bff=>_0x324bff[_0x167003(0x1b6)]()),this[_0x167003(0x1b7)][_0x167003(0x17b)](),this['_status$'][_0x167003(0x2cf)]();}async['requireSession'](_0x195e54){var _0x595849=_0xb830ac;if(this[_0x595849(0x1b7)][_0x595849(0x362)](_0x195e54))return this[_0x595849(0x1b7)][_0x595849(0x12c)](_0x195e54);this[_0x595849(0x32f)]();const _0x563bd4=this[_0x595849(0x3ca)][_0x595849(0x2ea)](mt,_0x195e54,this[_0x595849(0x2a9)][_0x595849(0x290)]());return this[_0x595849(0x1b7)][_0x595849(0x1af)](_0x195e54,_0x563bd4),_0x563bd4;}[_0xb830ac(0x1b2)](_0x142a16){var _0x2f4228=_0xb830ac,_0x5e3883;const _0x488234=this[_0x2f4228(0x1b7)][_0x2f4228(0x12c)](_0x142a16);_0x488234&&(this[_0x2f4228(0x1b7)][_0x2f4228(0x100)](_0x142a16),_0x488234['close']()),this['_sessions'][_0x2f4228(0x116)]||(_0x5e3883=this['_socket'])==null||_0x5e3883[_0x2f4228(0x2b5)]();}[_0xb830ac(0x2ba)](){var _0x2ab638=_0xb830ac;this[_0x2ab638(0x149)]=0x0,this[_0x2ab638(0x112)](),this[_0x2ab638(0x163)]();}[_0xb830ac(0x112)](){var _0x38523b=_0xb830ac;this[_0x38523b(0x304)]!=null&&(clearTimeout(this[_0x38523b(0x304)]),this[_0x38523b(0x304)]=null);}async[_0xb830ac(0x263)](){var _0x14eb61=_0xb830ac,_0x5aa976;const _0x329fbf=this['_configService'][_0x14eb61(0x144)](K),_0x5e4cfb=(_0x5aa976=_0x329fbf==null?void 0x0:_0x329fbf['collabWebSocketUrl'])!=null?_0x5aa976:Is,_0x5e88a5=await this[_0x14eb61(0x108)][_0x14eb61(0x3cb)](_0x5e4cfb);return this['_candidateSocket']=_0x5e88a5,_0x5e88a5;}async[_0xb830ac(0x32f)](){var _0x4a9dfc=_0xb830ac,_0x111ad1,_0x3de5a4;try{const _0x3782f1=(_0x3de5a4=(_0x111ad1=this[_0x4a9dfc(0x26a)])!=null?_0x111ad1:this['_candidateSocket'])!=null?_0x3de5a4:await this[_0x4a9dfc(0x263)]();if(_0x3782f1){const _0x266092=_0x3782f1[_0x4a9dfc(0x21f)];_0x3782f1[_0x4a9dfc(0x21f)]=_0x117c53=>(this[_0x4a9dfc(0x118)](),_0x266092[_0x4a9dfc(0x285)](_0x3782f1,[_0x117c53])),_0x3782f1[_0x4a9dfc(0x399)]['subscribe'](_0x5b00dd=>this[_0x4a9dfc(0x343)](_0x3782f1,_0x5b00dd)),_0x3782f1[_0x4a9dfc(0x3b0)][_0x4a9dfc(0x12e)](_0x417dfc(0x1))['subscribe'](_0x40050e=>this[_0x4a9dfc(0x3ef)][_0x4a9dfc(0x375)]('[CollaborationSessionService]:\x20socket\x20error',_0x40050e)),_0x3782f1[_0x4a9dfc(0x401)][_0x4a9dfc(0x12e)](_0x417dfc(0x1))[_0x4a9dfc(0x3db)](()=>{var _0x1b8e5a=_0x4a9dfc;this[_0x1b8e5a(0x205)](_0x3782f1);}),_0x3782f1[_0x4a9dfc(0x1dc)][_0x4a9dfc(0x12e)](_0x417dfc(0x1))['subscribe'](_0x3b604e=>{var _0x5a93cc=_0x4a9dfc;this[_0x5a93cc(0x3ef)]['debug'](_0x5a93cc(0x246),_0x5a93cc(0x30c),_0x3b604e),this[_0x5a93cc(0x358)]();});}}catch(_0x3b06d3){this[_0x4a9dfc(0x3ef)]['error'](_0x3b06d3),this[_0x4a9dfc(0x358)]();}}[_0xb830ac(0x205)](_0x5f044e){var _0x10cffb=_0xb830ac;this[_0x10cffb(0x3ef)]['debug']('[CollaborationSessionService]',_0x10cffb(0x173)),_0x5f044e[_0x10cffb(0x21f)]({'cmd':j[_0x10cffb(0x39c)]}),this['_rescheduleHeartbeat']();}[_0xb830ac(0x1ba)](){var _0x5ae525=_0xb830ac;this[_0x5ae525(0x30d)]=!0x1,this[_0x5ae525(0x310)]=null,this[_0x5ae525(0x1ec)][_0x5ae525(0x309)](me[_0x5ae525(0x1a4)]),this['_socket$']['next'](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0xb830ac(0x358)](){var _0x13dc67=_0xb830ac,_0x3bc0dd;this[_0x13dc67(0x1ba)](),this[_0x13dc67(0x149)]<((_0x3bc0dd=this[_0x13dc67(0x25e)][_0x13dc67(0x144)](Os))!=null?_0x3bc0dd:Rs)?(this['_collaborationUIEventService'][_0x13dc67(0x2f9)]({'id':re[_0x13dc67(0x25f)]}),this[_0x13dc67(0x163)]()):this['_collaborationUIEventService'][_0x13dc67(0x2f9)]({'id':re[_0x13dc67(0x28e)]});}[_0xb830ac(0x163)](){var _0xef458e=_0xb830ac,_0x3b3b7e;const _0x152009=this[_0xef458e(0x149)],_0x93cdf3=this[_0xef458e(0x25e)][_0xef458e(0x144)](K),_0x2b6d93=_0x152009===0x0?0x0:((_0x3b3b7e=_0x93cdf3==null?void 0x0:_0x93cdf3[_0xef458e(0x273)])!=null?_0x3b3b7e:Ts)*0x2**_0x152009;this[_0xef458e(0x304)]=setTimeout(()=>{var _0x2c3269=_0xef458e;clearTimeout(this[_0x2c3269(0x304)]),this['_retryConnectingTimer']=null,this[_0x2c3269(0x32f)]();},_0x2b6d93),this[_0xef458e(0x149)]+=0x1;}[_0xb830ac(0x343)](_0x244f8a,_0x2a2625){var _0x5e58d6=_0xb830ac;const {cmd:_0x6ab4b}=_0x2a2625;_0x6ab4b===j[_0x5e58d6(0x39c)]&&!this[_0x5e58d6(0x30d)]&&(_0x244f8a[_0x5e58d6(0x164)]=_0x2a2625['data'][_0x5e58d6(0x164)],this[_0x5e58d6(0x2a9)][_0x5e58d6(0x309)](_0x244f8a),this['_status$'][_0x5e58d6(0x309)](me[_0x5e58d6(0x320)]),this[_0x5e58d6(0x30d)]=!0x0,this[_0x5e58d6(0x310)]=null),_0x6ab4b===j[_0x5e58d6(0x16c)]&&this['_clearTimeoutTimer'](),this[_0x5e58d6(0x118)]();}[_0xb830ac(0x118)](){var _0x597285=_0xb830ac,_0x32a2ff;this[_0x597285(0x276)](),this[_0x597285(0x40b)]=setTimeout(()=>this[_0x597285(0x2a6)](),(_0x32a2ff=this[_0x597285(0x25e)][_0x597285(0x144)](Ss))!=null?_0x32a2ff:gs);}[_0xb830ac(0x2a6)](){var _0x2423c5=_0xb830ac;this[_0x2423c5(0x26a)][_0x2423c5(0x21f)]({'cmd':j['HEARTBEAT']}),this[_0x2423c5(0x166)]();}['_waitForHeartbeatResponse'](){var _0x93f091=_0xb830ac,_0x26901f;this[_0x93f091(0x3a3)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x26901f=this[_0x93f091(0x25e)][_0x93f091(0x144)](di))!=null?_0x26901f:fi);}[_0xb830ac(0x276)](){var _0x5c7b6f=_0xb830ac;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x5c7b6f(0x40b)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x4a1ad0=_0xb830ac;this[_0x4a1ad0(0x3a3)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x4a1ad0(0x3a3)]=null);}};Le=Xs([Re(0x0,_0x2aff60(_0x57442c)),Re(0x1,_0x469422),Re(0x2,_0x495b35),Re(0x3,Ri),Re(0x4,_0x2aff60(ve)),Re(0x5,_0x2c2398(Vs))],Le);var Js=Object[_0xb830ac(0x2f2)],Zs=(_0x40cc7d,_0x141d5a,_0x4ef732,_0x53757f)=>{var _0x1a5a9b=_0xb830ac;for(var _0x57c393=_0x53757f>0x1?void 0x0:_0x53757f?Js(_0x141d5a,_0x4ef732):_0x141d5a,_0xc7a314=_0x40cc7d[_0x1a5a9b(0x13f)]-0x1,_0x18febc;_0xc7a314>=0x0;_0xc7a314--)(_0x18febc=_0x40cc7d[_0xc7a314])&&(_0x57c393=_0x18febc(_0x57c393)||_0x57c393);return _0x57c393;},Be=(_0x59b460,_0x1e677d)=>(_0x9ca7cb,_0x447989)=>_0x1e677d(_0x9ca7cb,_0x447989,_0x59b460);let nt=class extends _0x19a501{constructor(_0x41483a,_0x232c05,_0x3b37bc,_0x3f98d5){var _0x1cad9a=_0xb830ac,_0x56269a;super(),D(this,'_entities',new Map()),D(this,_0x1cad9a(0x1b0),new _0x486fe1()),D(this,_0x1cad9a(0x3fb),this[_0x1cad9a(0x1b0)][_0x1cad9a(0x290)]()),(this[_0x1cad9a(0x3ca)]=_0x41483a,this[_0x1cad9a(0x346)]=_0x232c05,this[_0x1cad9a(0x25e)]=_0x3b37bc,this[_0x1cad9a(0x227)]=_0x3f98d5,((_0x56269a=this[_0x1cad9a(0x25e)]['getConfig'](K))==null?void 0x0:_0x56269a['enableCollaboration'])!==!0x1&&this['_init']());}[_0xb830ac(0x1b6)](){var _0x39a256=_0xb830ac;super[_0x39a256(0x1b6)](),this['_entities'][_0x39a256(0x2a3)](_0x20e532=>_0x20e532[_0x39a256(0x1b6)]()),this[_0x39a256(0x1a2)]['clear']();}[_0xb830ac(0x3a7)](_0x58088e){var _0x161734=_0xb830ac,_0x4284b0;return(_0x4284b0=this[_0x161734(0x1a2)][_0x161734(0x12c)](_0x58088e))!=null?_0x4284b0:null;}[_0xb830ac(0x2f0)](_0x2fac0a){var _0xa34ee4=_0xb830ac;const _0x5eaf8d=this[_0xa34ee4(0x3a7)](_0x2fac0a);return _0x5eaf8d?_0x1e2000(_0x5eaf8d):this['_entityInit$']['pipe'](_0x15cae6(_0x2f14aa=>_0x2f14aa['unitID']===_0x2fac0a));}[_0xb830ac(0x38b)](_0x133fa3){var _0x222399=_0xb830ac;return _0x356fd4(this[_0x222399(0x2f0)](_0x133fa3)[_0x222399(0x12e)](_0x23d4e7(()=>{})));}[_0xb830ac(0x1c1)](){var _0x4de248=_0xb830ac;this[_0x4de248(0x227)][_0x4de248(0x3a5)](_0x2d50ad[_0x4de248(0x15b)])[_0x4de248(0x12e)](_0x31e3f0(this[_0x4de248(0x1e3)]),_0x325e28(0x10))['subscribe'](async _0x353362=>{var _0x3b917e=_0x4de248;const _0x5d26e9=_0x353362[_0x3b917e(0x3b7)](),_0x2b75df=await this[_0x3b917e(0x277)](_0x5d26e9,Q['UNIVER_SHEET']);this['_entities'][_0x3b917e(0x1af)](_0x5d26e9,_0x2b75df);}),this[_0x4de248(0x227)][_0x4de248(0x3a5)](_0x2d50ad[_0x4de248(0x264)])['pipe'](_0x31e3f0(this[_0x4de248(0x1e3)]),_0x325e28(0x10))[_0x4de248(0x12e)](_0x15cae6(_0x4cc741=>!_0x4cc741[_0x4de248(0x3b7)]()[_0x4de248(0x3c0)]('__')))[_0x4de248(0x3db)](async _0x3b1e0e=>{var _0x1c7248=_0x4de248;const _0x5df921=_0x3b1e0e[_0x1c7248(0x3b7)](),_0xe42047=await this[_0x1c7248(0x277)](_0x5df921,Q[_0x1c7248(0x264)]);this[_0x1c7248(0x1a2)]['set'](_0x5df921,_0xe42047);}),_0x12897c(this[_0x4de248(0x227)][_0x4de248(0x3e7)](_0x2d50ad[_0x4de248(0x15b)]),this[_0x4de248(0x227)][_0x4de248(0x3e7)](_0x2d50ad[_0x4de248(0x264)]))['pipe'](_0x31e3f0(this[_0x4de248(0x1e3)]))[_0x4de248(0x3db)](_0x1f1e1e=>{var _0x104a8b=_0x4de248;const _0x427984=_0x1f1e1e[_0x104a8b(0x3b7)](),_0x498eca=this[_0x104a8b(0x1a2)][_0x104a8b(0x12c)](_0x427984);_0x498eca&&(_0x498eca[_0x104a8b(0x1b6)](),this[_0x104a8b(0x1a2)]['delete'](_0x427984));});}async[_0xb830ac(0x277)](_0x138f5a,_0x4874a4){var _0xbc92cb=_0xb830ac;const _0x1ddd10=await this[_0xbc92cb(0x346)][_0xbc92cb(0x324)](_0x138f5a),_0x4becb0=this[_0xbc92cb(0x3ca)][_0xbc92cb(0x2ea)](this['_getCtorByUniverType'](_0x4874a4),_0x138f5a,_0x4874a4,_0x1ddd10);return await _0x4becb0[_0xbc92cb(0x186)](),this[_0xbc92cb(0x1b0)][_0xbc92cb(0x309)](_0x4becb0),_0x4becb0;}[_0xb830ac(0x25b)](_0x340bc8){var _0x1c35ff=_0xb830ac;switch(_0x340bc8){case Q['UNIVER_DOC']:return It;case Q[_0x1c35ff(0x15b)]:return St;default:throw new Error(_0x1c35ff(0x15e)+_0x340bc8);}}};nt=Zs([Be(0x0,_0x2aff60(_0x57442c)),Be(0x1,_0x2aff60(Le)),Be(0x2,_0x495b35),Be(0x3,_0x469993)],nt);var Qs=Object['getOwnPropertyDescriptor'],en=(_0x2c6a9c,_0x170f83,_0x485e3e,_0x54e604)=>{for(var _0x5cb8bf=_0x54e604>0x1?void 0x0:_0x54e604?Qs(_0x170f83,_0x485e3e):_0x170f83,_0x5a9c16=_0x2c6a9c['length']-0x1,_0x1371f8;_0x5a9c16>=0x0;_0x5a9c16--)(_0x1371f8=_0x2c6a9c[_0x5a9c16])&&(_0x5cb8bf=_0x1371f8(_0x5cb8bf)||_0x5cb8bf);return _0x5cb8bf;},Wt=(_0x34240b,_0x48d71b)=>(_0x2dfbd0,_0x34aee1)=>_0x48d71b(_0x2dfbd0,_0x34aee1,_0x34240b);const tn=_0xb830ac(0x379),sn=_0xb830ac(0x312);let gt=class extends _0x484da3{constructor(_0x3ad2ca,_0x3a2f73){var _0x352e57=_0xb830ac;super(),this['_univerInstanceService']=_0x3ad2ca,this[_0x352e57(0x25e)]=_0x3a2f73,this['_init']();}[_0xb830ac(0x1c1)](){var _0x36babe=_0xb830ac;this[_0x36babe(0x3ad)](this[_0x36babe(0x227)]['focused$'][_0x36babe(0x3db)](()=>{var _0x22363a=_0x36babe,_0x1b22ee;const _0xf89b5=this['_univerInstanceService']['getFocusedUnit']();let _0x299e48=(_0x1b22ee=this[_0x22363a(0x25e)][_0x22363a(0x144)](tn))!=null?_0x1b22ee:sn;_0xf89b5 instanceof _0x19906d&&(_0x299e48=_0xf89b5['name']),document[_0x22363a(0x406)]=_0x299e48;}));}};gt=en([Wt(0x0,_0x469993),Wt(0x1,_0x495b35)],gt);var nn=Object['getOwnPropertyDescriptor'],rn=(_0x40c145,_0x2cdd55,_0x36f7f0,_0x5c0f95)=>{var _0x5eeaa9=_0xb830ac;for(var _0x474bb9=_0x5c0f95>0x1?void 0x0:_0x5c0f95?nn(_0x2cdd55,_0x36f7f0):_0x2cdd55,_0x279c61=_0x40c145[_0x5eeaa9(0x13f)]-0x1,_0x5e409f;_0x279c61>=0x0;_0x279c61--)(_0x5e409f=_0x40c145[_0x279c61])&&(_0x474bb9=_0x5e409f(_0x474bb9)||_0x474bb9);return _0x474bb9;},dt=(_0x461a16,_0x27bfe5)=>(_0x3be4a2,_0x44f7ae)=>_0x27bfe5(_0x3be4a2,_0x44f7ae,_0x461a16);let rt=class{constructor(_0x59acfa,_0x37921d,_0x5d599d){var _0x5ed51a=_0xb830ac;this['_configService']=_0x59acfa,this[_0x5ed51a(0x220)]=_0x37921d,this[_0x5ed51a(0x1dd)]=_0x5d599d,this[_0x5ed51a(0x186)]();}[_0xb830ac(0x186)](){var _0x289680=_0xb830ac;this[_0x289680(0x220)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4eee1c,_0x4553b6)=>_0x4553b6(_0x4eee1c)[_0x289680(0x12e)](_0x1973e3(async _0x46b60d=>{var _0xb1b59=_0x289680;const _0x5e25fe=_0x46b60d;if(_0x5e25fe[_0xb1b59(0x1ac)]===0x191){if(typeof window>'u')throw new Error(_0xb1b59(0x1ae));if(window['confirm'](this[_0xb1b59(0x1dd)]['t']('auth.needGotoLoginAlert'))){const _0x731cce=window[_0xb1b59(0x19d)](window[_0xb1b59(0x390)][_0xb1b59(0xf5)]);window[_0xb1b59(0x390)][_0xb1b59(0xf5)]=this[_0xb1b59(0xf8)]()+_0xb1b59(0x370)+_0x731cce;}}return _0x5e25fe;}))});}[_0xb830ac(0xf8)](){var _0x205593=_0xb830ac,_0x5491c2;const _0xd2f91b=this['_configService'][_0x205593(0x144)](K);return(_0x5491c2=_0xd2f91b==null?void 0x0:_0xd2f91b[_0x205593(0x1cc)])!=null?_0x5491c2:Cs;}};rt=rn([dt(0x0,_0x495b35),dt(0x1,_0x2aff60(_0x562ff5)),dt(0x2,_0x2aff60(_0x22c541))],rt);var an=Object[_0xb830ac(0x2f2)],on=(_0x5b804f,_0x157a0c,_0x2024b0,_0x114a6b)=>{var _0x4e451e=_0xb830ac;for(var _0x23af55=_0x114a6b>0x1?void 0x0:_0x114a6b?an(_0x157a0c,_0x2024b0):_0x157a0c,_0x5d8c78=_0x5b804f[_0x4e451e(0x13f)]-0x1,_0x33357e;_0x5d8c78>=0x0;_0x5d8c78--)(_0x33357e=_0x5b804f[_0x5d8c78])&&(_0x23af55=_0x33357e(_0x23af55)||_0x23af55);return _0x23af55;},Yt=(_0x7fd00a,_0x539cc5)=>(_0x2719d4,_0x361b30)=>_0x539cc5(_0x2719d4,_0x361b30,_0x7fd00a);const cn=_0xb830ac(0x31e);let Tt=class extends _0x484da3{constructor(_0x22b8bc,_0x398a8f){var _0x3bc6c1=_0xb830ac;super(),this[_0x3bc6c1(0x266)]=_0x22b8bc,this['_configService']=_0x398a8f,this[_0x3bc6c1(0x341)]();}[_0xb830ac(0x341)](){var _0x26934=_0xb830ac;const _0x3e7dff=this;this['disposeWithMe'](this[_0x26934(0x266)][_0x26934(0x364)]({'priority':0x3e7,'interceptor':_0x5d7cff({'isMatch'(_0x2d7e60){var _0x28cee6=_0x26934,_0x1e3655;if(_0x2d7e60[_0x28cee6(0x395)]===_0x28cee6(0x10a)&&((_0x1e3655=_0x2d7e60[_0x28cee6(0x3fc)])!=null&&_0x1e3655['body'])){const {objectID:_0x291402,objectType:_0x3a6881}=_0x2d7e60[_0x28cee6(0x3fc)][_0x28cee6(0x2d3)]||{};if(!_0x291402||_0x3a6881===void 0x0)return!0x1;const _0x4252e3=_0x3e7dff[_0x28cee6(0x20d)]()+'/'+_0x3a6881+_0x28cee6(0x3f8)+_0x291402+_0x28cee6(0x18b);if(_0x2d7e60[_0x28cee6(0x21d)]===_0x4252e3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x146c59){var _0x235980=_0x26934,_0x3971af;return(_0x3971af=_0x146c59['requestParams'])==null?void 0x0:_0x3971af[_0x235980(0x2d3)];},'mergeParamsToRequest'(_0x22017a,_0x2c964f){var _0x171cb3=_0x26934;const _0x287447=_0x3e7dff['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x5b0253=_0x22017a[_0x171cb3(0x349)]((_0x1ea11c,_0xb9dac8)=>{var _0x453c2b=_0x171cb3;const {unitID:_0x5d34ae,objectID:_0x61ac00,objectType:_0x45e192,actions:_0xfd266c}=_0xb9dac8;return _0x1ea11c[_0x5d34ae]||(_0x1ea11c[_0x5d34ae]={}),_0x1ea11c[_0x5d34ae][_0x61ac00]||(_0x1ea11c[_0x5d34ae][_0x61ac00]={'objectID':_0x61ac00,'objectType':_0x45e192,'actions':[]}),_0x1ea11c[_0x5d34ae][_0x61ac00][_0x453c2b(0x150)]['push'](..._0xfd266c),_0x1ea11c;},{}),_0x19c6b2=[];for(const _0x2a4073 in _0x5b0253)for(const _0x4d71d3 in _0x5b0253[_0x2a4073]){const {actions:_0x107b4b,objectType:_0x2e9ab8}=_0x5b0253[_0x2a4073][_0x4d71d3],_0x59b8d2=[...new Set(_0x107b4b)];_0x19c6b2[_0x171cb3(0x1e6)]({'unitID':_0x2a4073,'objectID':_0x4d71d3,'objectType':_0x2e9ab8,'actions':_0x59b8d2});}return new _0x536ac0(_0x171cb3(0x10a),_0x287447,{'headers':_0x2c964f['headers'],'withCredentials':_0x2c964f[_0x171cb3(0x123)],'responseType':_0x2c964f[_0x171cb3(0x3f7)],'body':{'requests':_0x19c6b2}});}},{'distributeResult'(_0xb63216,_0x1f0c63){var _0xb58c13=_0x26934;const {objectActions:_0x11e80e}=_0xb63216;return _0x1f0c63[_0xb58c13(0x3b9)](_0x4060b4=>{var _0x5ca452=_0xb58c13;const {unitID:_0xcfe0e4,objectID:_0x1cce70,actions:_0x27a998}=_0x4060b4,_0x2f767b=_0x11e80e[_0x5ca452(0x31b)](_0x202cde=>_0x202cde[_0x5ca452(0x3f5)]===_0xcfe0e4&&_0x202cde['objectID']===_0x1cce70),_0x19fbe2=_0x27a998['map'](_0x264da1=>_0x2f767b==null?void 0x0:_0x2f767b['actions'][_0x5ca452(0x31b)](_0x2c8cbd=>_0x2c8cbd[_0x5ca452(0x3b2)]===_0x264da1))['filter'](_0x3afdf7=>!!_0x3afdf7);return{'config':_0x4060b4,'result':{'actions':_0x19fbe2,'error':_0xb63216[_0x5ca452(0x375)]}};});}})}));}[_0xb830ac(0x20d)](){var _0x49796a=_0xb830ac,_0x383892;const _0x591bd7=this[_0x49796a(0x25e)][_0x49796a(0x144)](K);return(_0x383892=_0x591bd7==null?void 0x0:_0x591bd7[_0x49796a(0x36d)])!=null?_0x383892:cn;}async[_0xb830ac(0xf1)](_0x535f94){var _0x3c5cc9=_0xb830ac;const _0xeb2edd=this[_0x3c5cc9(0x20d)]()+'/'+_0x535f94[_0x3c5cc9(0x10f)]+_0x3c5cc9(0x256);return(await this['_HTTPService'][_0x3c5cc9(0x333)](_0xeb2edd,{'body':_0x535f94}))[_0x3c5cc9(0x2d3)][_0x3c5cc9(0x2b9)]||'';}async[_0xb830ac(0x353)](_0x52a255){var _0x266dff=_0xb830ac;const _0x4203eb=this[_0x266dff(0x20d)]()+_0x266dff(0x380);return(await this['_HTTPService'][_0x266dff(0x333)](_0x4203eb,{'body':_0x52a255}))[_0x266dff(0x2d3)][_0x266dff(0x12b)];}async[_0xb830ac(0x188)](_0x2f3e5a){var _0x5c4841=_0xb830ac,_0x54bada,_0x5e0664;const _0x1dca8d=this[_0x5c4841(0x20d)]()+'/'+_0x2f3e5a[_0x5c4841(0x10f)]+_0x5c4841(0x3f8)+_0x2f3e5a[_0x5c4841(0x2b9)],_0x176d88=await this[_0x5c4841(0x266)][_0x5c4841(0x359)](_0x1dca8d,{'body':_0x2f3e5a});if(((_0x5e0664=(_0x54bada=_0x176d88==null?void 0x0:_0x176d88[_0x5c4841(0x2d3)])==null?void 0x0:_0x54bada[_0x5c4841(0x375)])==null?void 0x0:_0x5e0664[_0x5c4841(0x3fe)])!==0x1)throw new Error(_0x5c4841(0x251));}async['allowed'](_0x51f00e){var _0x5219a1=_0xb830ac;const _0x28271c=this[_0x5219a1(0x20d)]()+'/'+_0x51f00e[_0x5219a1(0x10f)]+_0x5219a1(0x3f8)+_0x51f00e[_0x5219a1(0x2b9)]+_0x5219a1(0x18b);return(await this['_HTTPService'][_0x5219a1(0x333)](_0x28271c,{'body':_0x51f00e}))[_0x5219a1(0x2d3)][_0x5219a1(0x150)];}async[_0xb830ac(0x1e5)](_0x2c61f5){var _0x40b01b=_0xb830ac;const _0x40a781=this[_0x40b01b(0x20d)]()+_0x40b01b(0x2ab);return(await this[_0x40b01b(0x266)]['post'](_0x40a781,{'body':{'requests':_0x2c61f5}}))[_0x40b01b(0x2d3)][_0x40b01b(0x400)];}async[_0xb830ac(0x209)](_0x5bcdf9){var _0x4eb201=_0xb830ac;const _0x1037ee=this[_0x4eb201(0x20d)]()+'/'+_0x5bcdf9['objectType']+'/role',_0xd93828=await this[_0x4eb201(0x266)][_0x4eb201(0x333)](_0x1037ee,{'body':_0x5bcdf9});return{'roles':_0xd93828[_0x4eb201(0x2d3)]['roles'],'actions':_0xd93828[_0x4eb201(0x2d3)][_0x4eb201(0x150)]};}async[_0xb830ac(0x2db)](_0x473f35){var _0x57d3dd=_0xb830ac;const _0x590adc=this[_0x57d3dd(0x20d)]()+'/collaborator';await this[_0x57d3dd(0x266)][_0x57d3dd(0x100)](_0x590adc,{'params':{'collaboratorID':_0x473f35['collaboratorID'],'objectID':_0x473f35[_0x57d3dd(0x2b9)],'unitID':_0x473f35[_0x57d3dd(0x3f5)]}});}async[_0xb830ac(0x133)](_0x3bed72){var _0xe7fa83=_0xb830ac;const _0x1aff49=this[_0xe7fa83(0x20d)]()+'/collaborator';await this[_0xe7fa83(0x266)]['patch'](_0x1aff49,{'body':_0x3bed72});}async['createCollaborator'](_0xa346c5){var _0x3cf3ef=_0xb830ac;const _0xaf99c4=this[_0x3cf3ef(0x20d)]()+_0x3cf3ef(0x393);await this[_0x3cf3ef(0x266)][_0x3cf3ef(0x333)](_0xaf99c4,{'body':_0xa346c5});}async[_0xb830ac(0x2a1)](_0x35c2b1){var _0x413db1=_0xb830ac;const _0x1908e8=this['_getAPIPrefixPath']()+_0x413db1(0x393);return(await this[_0x413db1(0x266)][_0x413db1(0x12c)](_0x1908e8,{'params':{'objectID':_0x35c2b1[_0x413db1(0x2b9)],'unitID':_0x35c2b1[_0x413db1(0x3f5)]}}))[_0x413db1(0x2d3)][_0x413db1(0x3ee)];}async[_0xb830ac(0x1c2)](_0x443cdb){var _0x2e607c=_0xb830ac;const _0x10871c=this['_getAPIPrefixPath']()+_0x2e607c(0x393);await this['_HTTPService']['put'](_0x10871c,{'body':_0x443cdb});}};Tt=on([Yt(0x0,_0x2aff60(_0x562ff5)),Yt(0x1,_0x2aff60(_0x495b35))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x4718bb){var _0x8e4506=_0xb830ac;return _0x4718bb&&_0x4718bb[_0x8e4506(0x1f0)]&&Object[_0x8e4506(0x228)]['hasOwnProperty'][_0x8e4506(0xef)](_0x4718bb,_0x8e4506(0x3f3))?_0x4718bb[_0x8e4506(0x3f3)]:_0x4718bb;}var Ve={'exports':{}};function _n(_0x35b31b){var _0xb80853=_0xb830ac;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x35b31b+_0xb80853(0x1e9));}var Ge={'exports':{}},hn=Ge[_0xb830ac(0x2ac)],Kt;function ie(){var _0x179196=_0xb830ac;return Kt||(Kt=0x1,function(_0x4cbdde,_0x3b4b3f){(function(_0xe67e90,_0x233cec){var _0x1f7b48=_0x17ca;_0x4cbdde[_0x1f7b48(0x2ac)]=_0x233cec();}(hn,function(){var _0x33b896=_0x33b896||function(_0x38e18b,_0x57dafc){var _0x34f53b=_0x17ca,_0x2206d5;if(typeof window<'u'&&window['crypto']&&(_0x2206d5=window['crypto']),typeof self<'u'&&self[_0x34f53b(0x1bd)]&&(_0x2206d5=self[_0x34f53b(0x1bd)]),typeof globalThis<'u'&&globalThis[_0x34f53b(0x1bd)]&&(_0x2206d5=globalThis[_0x34f53b(0x1bd)]),!_0x2206d5&&typeof window<'u'&&window['msCrypto']&&(_0x2206d5=window[_0x34f53b(0x170)]),!_0x2206d5&&typeof ft<'u'&&ft['crypto']&&(_0x2206d5=ft[_0x34f53b(0x1bd)]),!_0x2206d5&&typeof _n==_0x34f53b(0x280))try{_0x2206d5=require('crypto');}catch{}var _0x3f3b24=function(){var _0x3846a2=_0x34f53b;if(_0x2206d5){if(typeof _0x2206d5[_0x3846a2(0x293)]=='function')try{return _0x2206d5['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2206d5[_0x3846a2(0x14b)]=='function')try{return _0x2206d5[_0x3846a2(0x14b)](0x4)[_0x3846a2(0x129)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x4b6ed1=Object[_0x34f53b(0xf1)]||(function(){function _0x55d433(){}return function(_0x5063e8){var _0x179d1f=_0x17ca,_0x310fc6;return _0x55d433[_0x179d1f(0x228)]=_0x5063e8,_0x310fc6=new _0x55d433(),_0x55d433[_0x179d1f(0x228)]=null,_0x310fc6;};}()),_0x272eb7={},_0x3e0b30=_0x272eb7['lib']={},_0x1b4efc=_0x3e0b30[_0x34f53b(0x31a)]=(function(){return{'extend':function(_0x35363a){var _0x44855b=_0x17ca,_0x5d1e2b=_0x4b6ed1(this);return _0x35363a&&_0x5d1e2b[_0x44855b(0x115)](_0x35363a),(!_0x5d1e2b[_0x44855b(0x296)]('init')||this[_0x44855b(0x186)]===_0x5d1e2b[_0x44855b(0x186)])&&(_0x5d1e2b[_0x44855b(0x186)]=function(){var _0x32e154=_0x44855b;_0x5d1e2b[_0x32e154(0x2c6)]['init']['apply'](this,arguments);}),_0x5d1e2b[_0x44855b(0x186)][_0x44855b(0x228)]=_0x5d1e2b,_0x5d1e2b[_0x44855b(0x2c6)]=this,_0x5d1e2b;},'create':function(){var _0x2f1820=_0x17ca,_0x1af800=this[_0x2f1820(0x2da)]();return _0x1af800['init'][_0x2f1820(0x285)](_0x1af800,arguments),_0x1af800;},'init':function(){},'mixIn':function(_0x13f097){var _0x501c48=_0x17ca;for(var _0x5e06c9 in _0x13f097)_0x13f097['hasOwnProperty'](_0x5e06c9)&&(this[_0x5e06c9]=_0x13f097[_0x5e06c9]);_0x13f097[_0x501c48(0x296)](_0x501c48(0x1e1))&&(this[_0x501c48(0x1e1)]=_0x13f097[_0x501c48(0x1e1)]);},'clone':function(){var _0x2e5b3e=_0x17ca;return this[_0x2e5b3e(0x186)]['prototype'][_0x2e5b3e(0x2da)](this);}};}()),_0x163ad9=_0x3e0b30['WordArray']=_0x1b4efc['extend']({'init':function(_0x5a099a,_0xdbf9bb){var _0x3aa552=_0x34f53b;_0x5a099a=this[_0x3aa552(0x16e)]=_0x5a099a||[],_0xdbf9bb!=_0x57dafc?this['sigBytes']=_0xdbf9bb:this[_0x3aa552(0x3a8)]=_0x5a099a[_0x3aa552(0x13f)]*0x4;},'toString':function(_0xceee1d){var _0x552992=_0x34f53b;return(_0xceee1d||_0x1c3631)[_0x552992(0x2b2)](this);},'concat':function(_0x3d5c40){var _0x5e5744=_0x34f53b,_0x5bede1=this[_0x5e5744(0x16e)],_0x16da18=_0x3d5c40[_0x5e5744(0x16e)],_0x26d9a6=this[_0x5e5744(0x3a8)],_0x57ebb=_0x3d5c40[_0x5e5744(0x3a8)];if(this[_0x5e5744(0x1d0)](),_0x26d9a6%0x4)for(var _0x445eca=0x0;_0x445eca<_0x57ebb;_0x445eca++){var _0xe284b2=_0x16da18[_0x445eca>>>0x2]>>>0x18-_0x445eca%0x4*0x8&0xff;_0x5bede1[_0x26d9a6+_0x445eca>>>0x2]|=_0xe284b2<<0x18-(_0x26d9a6+_0x445eca)%0x4*0x8;}else{for(var _0x4043df=0x0;_0x4043df<_0x57ebb;_0x4043df+=0x4)_0x5bede1[_0x26d9a6+_0x4043df>>>0x2]=_0x16da18[_0x4043df>>>0x2];}return this[_0x5e5744(0x3a8)]+=_0x57ebb,this;},'clamp':function(){var _0x366779=_0x34f53b,_0x45415e=this['words'],_0x2b0736=this[_0x366779(0x3a8)];_0x45415e[_0x2b0736>>>0x2]&=0xffffffff<<0x20-_0x2b0736%0x4*0x8,_0x45415e[_0x366779(0x13f)]=_0x38e18b[_0x366779(0x145)](_0x2b0736/0x4);},'clone':function(){var _0x2ac702=_0x34f53b,_0x4ac7f0=_0x1b4efc[_0x2ac702(0x181)][_0x2ac702(0xef)](this);return _0x4ac7f0[_0x2ac702(0x16e)]=this[_0x2ac702(0x16e)]['slice'](0x0),_0x4ac7f0;},'random':function(_0x4e8d53){var _0x355e08=_0x34f53b;for(var _0x6ea640=[],_0x5f1b1a=0x0;_0x5f1b1a<_0x4e8d53;_0x5f1b1a+=0x4)_0x6ea640[_0x355e08(0x1e6)](_0x3f3b24());return new _0x163ad9['init'](_0x6ea640,_0x4e8d53);}}),_0x1af339=_0x272eb7[_0x34f53b(0x32d)]={},_0x1c3631=_0x1af339[_0x34f53b(0x37f)]={'stringify':function(_0x1d7069){var _0x4fb1b7=_0x34f53b;for(var _0x31fb95=_0x1d7069[_0x4fb1b7(0x16e)],_0x5bea2d=_0x1d7069[_0x4fb1b7(0x3a8)],_0x48836d=[],_0x509eb1=0x0;_0x509eb1<_0x5bea2d;_0x509eb1++){var _0x48856e=_0x31fb95[_0x509eb1>>>0x2]>>>0x18-_0x509eb1%0x4*0x8&0xff;_0x48836d[_0x4fb1b7(0x1e6)]((_0x48856e>>>0x4)[_0x4fb1b7(0x1e1)](0x10)),_0x48836d[_0x4fb1b7(0x1e6)]((_0x48856e&0xf)[_0x4fb1b7(0x1e1)](0x10));}return _0x48836d[_0x4fb1b7(0x299)]('');},'parse':function(_0x298977){var _0x1f478b=_0x34f53b;for(var _0xde4920=_0x298977[_0x1f478b(0x13f)],_0x34adca=[],_0x53cb28=0x0;_0x53cb28<_0xde4920;_0x53cb28+=0x2)_0x34adca[_0x53cb28>>>0x3]|=parseInt(_0x298977[_0x1f478b(0x2a5)](_0x53cb28,0x2),0x10)<<0x18-_0x53cb28%0x8*0x4;return new _0x163ad9[(_0x1f478b(0x186))](_0x34adca,_0xde4920/0x2);}},_0x5f14fa=_0x1af339[_0x34f53b(0x2dc)]={'stringify':function(_0x5a1993){var _0xe6bfbc=_0x34f53b;for(var _0x41bc93=_0x5a1993[_0xe6bfbc(0x16e)],_0x50a84d=_0x5a1993[_0xe6bfbc(0x3a8)],_0x2f36dd=[],_0x548bb0=0x0;_0x548bb0<_0x50a84d;_0x548bb0++){var _0x41fd34=_0x41bc93[_0x548bb0>>>0x2]>>>0x18-_0x548bb0%0x4*0x8&0xff;_0x2f36dd[_0xe6bfbc(0x1e6)](String[_0xe6bfbc(0x2a7)](_0x41fd34));}return _0x2f36dd[_0xe6bfbc(0x299)]('');},'parse':function(_0x3be8d8){var _0x2b3286=_0x34f53b;for(var _0xfbec3d=_0x3be8d8['length'],_0x1914f8=[],_0x4269d6=0x0;_0x4269d6<_0xfbec3d;_0x4269d6++)_0x1914f8[_0x4269d6>>>0x2]|=(_0x3be8d8[_0x2b3286(0x3c7)](_0x4269d6)&0xff)<<0x18-_0x4269d6%0x4*0x8;return new _0x163ad9['init'](_0x1914f8,_0xfbec3d);}},_0x56abab=_0x1af339['Utf8']={'stringify':function(_0x496201){var _0x44de61=_0x34f53b;try{return decodeURIComponent(escape(_0x5f14fa[_0x44de61(0x2b2)](_0x496201)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0xef23c4){var _0x222066=_0x34f53b;return _0x5f14fa[_0x222066(0x2bb)](unescape(encodeURIComponent(_0xef23c4)));}},_0x461332=_0x3e0b30[_0x34f53b(0x3a4)]=_0x1b4efc[_0x34f53b(0x2da)]({'reset':function(){var _0x37151b=_0x34f53b;this[_0x37151b(0x178)]=new _0x163ad9[(_0x37151b(0x186))](),this['_nDataBytes']=0x0;},'_append':function(_0x2d77cb){var _0x56fe5d=_0x34f53b;typeof _0x2d77cb=='string'&&(_0x2d77cb=_0x56abab[_0x56fe5d(0x2bb)](_0x2d77cb)),this[_0x56fe5d(0x178)][_0x56fe5d(0x2cb)](_0x2d77cb),this[_0x56fe5d(0x311)]+=_0x2d77cb[_0x56fe5d(0x3a8)];},'_process':function(_0x14aaef){var _0xe89d2d=_0x34f53b,_0x55e870,_0x2b6f20=this[_0xe89d2d(0x178)],_0x100fd5=_0x2b6f20['words'],_0x42a7b8=_0x2b6f20[_0xe89d2d(0x3a8)],_0x2174e0=this[_0xe89d2d(0x20f)],_0x335ca0=_0x2174e0*0x4,_0x4d42f3=_0x42a7b8/_0x335ca0;_0x14aaef?_0x4d42f3=_0x38e18b[_0xe89d2d(0x145)](_0x4d42f3):_0x4d42f3=_0x38e18b[_0xe89d2d(0x194)]((_0x4d42f3|0x0)-this[_0xe89d2d(0x11d)],0x0);var _0x3b13ac=_0x4d42f3*_0x2174e0,_0x58249a=_0x38e18b[_0xe89d2d(0x2e8)](_0x3b13ac*0x4,_0x42a7b8);if(_0x3b13ac){for(var _0x4b0c9a=0x0;_0x4b0c9a<_0x3b13ac;_0x4b0c9a+=_0x2174e0)this[_0xe89d2d(0x155)](_0x100fd5,_0x4b0c9a);_0x55e870=_0x100fd5['splice'](0x0,_0x3b13ac),_0x2b6f20[_0xe89d2d(0x3a8)]-=_0x58249a;}return new _0x163ad9[(_0xe89d2d(0x186))](_0x55e870,_0x58249a);},'clone':function(){var _0x2a28db=_0x34f53b,_0x20ae4a=_0x1b4efc[_0x2a28db(0x181)]['call'](this);return _0x20ae4a['_data']=this[_0x2a28db(0x178)][_0x2a28db(0x181)](),_0x20ae4a;},'_minBufferSize':0x0});_0x3e0b30[_0x34f53b(0x23e)]=_0x461332[_0x34f53b(0x2da)]({'cfg':_0x1b4efc['extend'](),'init':function(_0x1309e3){var _0x22caa6=_0x34f53b;this['cfg']=this[_0x22caa6(0x314)]['extend'](_0x1309e3),this['reset']();},'reset':function(){var _0x692a22=_0x34f53b;_0x461332['reset'][_0x692a22(0xef)](this),this[_0x692a22(0x18a)]();},'update':function(_0x45eed9){var _0x954d93=_0x34f53b;return this['_append'](_0x45eed9),this[_0x954d93(0x114)](),this;},'finalize':function(_0x57d868){_0x57d868&&this['_append'](_0x57d868);var _0x2d5d4a=this['_doFinalize']();return _0x2d5d4a;},'blockSize':0x10,'_createHelper':function(_0x193186){return function(_0x2dd5f6,_0x115f3e){var _0x39635d=_0x17ca;return new _0x193186[(_0x39635d(0x186))](_0x115f3e)[_0x39635d(0x12d)](_0x2dd5f6);};},'_createHmacHelper':function(_0x27fce3){return function(_0x961fd1,_0x14a3f6){var _0x34270e=_0x17ca;return new _0x26bac6[(_0x34270e(0x160))]['init'](_0x27fce3,_0x14a3f6)['finalize'](_0x961fd1);};}});var _0x26bac6=_0x272eb7[_0x34f53b(0x269)]={};return _0x272eb7;}(Math);return _0x33b896;}));}(Ge)),Ge[_0x179196(0x2ac)];}var We={'exports':{}},ln=We[_0xb830ac(0x2ac)],qt;function Ni(){var _0x38d097=_0xb830ac;return qt||(qt=0x1,function(_0x47d718,_0x302ed0){(function(_0x45bff8,_0x4536d1){_0x47d718['exports']=_0x4536d1(ie());}(ln,function(_0x499a07){var _0x435eb6=_0x17ca;return(function(){var _0x4f643c=_0x17ca,_0x181765=_0x499a07,_0xa8dae2=_0x181765[_0x4f643c(0x154)],_0x2f9108=_0xa8dae2['WordArray'],_0x93cc03=_0x181765[_0x4f643c(0x32d)];_0x93cc03[_0x4f643c(0x1f5)]={'stringify':function(_0x326cc0){var _0x2d61ba=_0x4f643c,_0x450125=_0x326cc0[_0x2d61ba(0x16e)],_0x28bad9=_0x326cc0[_0x2d61ba(0x3a8)],_0xae635e=this['_map'];_0x326cc0[_0x2d61ba(0x1d0)]();for(var _0x150f5e=[],_0x3fb402=0x0;_0x3fb402<_0x28bad9;_0x3fb402+=0x3)for(var _0xc123c6=_0x450125[_0x3fb402>>>0x2]>>>0x18-_0x3fb402%0x4*0x8&0xff,_0x45a7ea=_0x450125[_0x3fb402+0x1>>>0x2]>>>0x18-(_0x3fb402+0x1)%0x4*0x8&0xff,_0x328725=_0x450125[_0x3fb402+0x2>>>0x2]>>>0x18-(_0x3fb402+0x2)%0x4*0x8&0xff,_0x580aa8=_0xc123c6<<0x10|_0x45a7ea<<0x8|_0x328725,_0x36cfee=0x0;_0x36cfee<0x4&&_0x3fb402+_0x36cfee*0.75<_0x28bad9;_0x36cfee++)_0x150f5e[_0x2d61ba(0x1e6)](_0xae635e[_0x2d61ba(0x2b3)](_0x580aa8>>>0x6*(0x3-_0x36cfee)&0x3f));var _0x476fe5=_0xae635e[_0x2d61ba(0x2b3)](0x40);if(_0x476fe5){for(;_0x150f5e[_0x2d61ba(0x13f)]%0x4;)_0x150f5e[_0x2d61ba(0x1e6)](_0x476fe5);}return _0x150f5e[_0x2d61ba(0x299)]('');},'parse':function(_0xdfe10){var _0x2afbc6=_0x4f643c,_0x510b4a=_0xdfe10[_0x2afbc6(0x13f)],_0x1459f6=this[_0x2afbc6(0x110)],_0x107756=this[_0x2afbc6(0x1db)];if(!_0x107756){_0x107756=this[_0x2afbc6(0x1db)]=[];for(var _0x54379d=0x0;_0x54379d<_0x1459f6['length'];_0x54379d++)_0x107756[_0x1459f6[_0x2afbc6(0x3c7)](_0x54379d)]=_0x54379d;}var _0x4c297c=_0x1459f6[_0x2afbc6(0x2b3)](0x40);if(_0x4c297c){var _0x31731a=_0xdfe10['indexOf'](_0x4c297c);_0x31731a!==-0x1&&(_0x510b4a=_0x31731a);}return _0x389e15(_0xdfe10,_0x510b4a,_0x107756);},'_map':_0x4f643c(0x138)};function _0x389e15(_0x4f7fbf,_0x2f3708,_0xf34594){var _0x455ace=_0x4f643c;for(var _0x764f80=[],_0x111b94=0x0,_0xa9fd5f=0x0;_0xa9fd5f<_0x2f3708;_0xa9fd5f++)if(_0xa9fd5f%0x4){var _0x1dd4f9=_0xf34594[_0x4f7fbf['charCodeAt'](_0xa9fd5f-0x1)]<<_0xa9fd5f%0x4*0x2,_0x3e3053=_0xf34594[_0x4f7fbf[_0x455ace(0x3c7)](_0xa9fd5f)]>>>0x6-_0xa9fd5f%0x4*0x2,_0xdca948=_0x1dd4f9|_0x3e3053;_0x764f80[_0x111b94>>>0x2]|=_0xdca948<<0x18-_0x111b94%0x4*0x8,_0x111b94++;}return _0x2f9108[_0x455ace(0xf1)](_0x764f80,_0x111b94);}}()),_0x499a07[_0x435eb6(0x32d)]['Base64'];}));}(We)),We[_0x38d097(0x2ac)];}var Ye={'exports':{}},un=Ye[_0xb830ac(0x2ac)],zt;function dn(){var _0x176670=_0xb830ac;return zt||(zt=0x1,function(_0x51f133,_0x87ad02){(function(_0x229cfd,_0x444f82){var _0x1dfefe=_0x17ca;_0x51f133[_0x1dfefe(0x2ac)]=_0x444f82(ie());}(un,function(_0x2169a1){return function(_0x54a62e){var _0xd41ec1=_0x17ca,_0x48970d=_0x2169a1,_0x23e7a2=_0x48970d['lib'],_0x376a29=_0x23e7a2['WordArray'],_0x164205=_0x23e7a2[_0xd41ec1(0x23e)],_0x482354=_0x48970d[_0xd41ec1(0x269)],_0x5d9a3f=[];(function(){for(var _0x4add19=0x0;_0x4add19<0x40;_0x4add19++)_0x5d9a3f[_0x4add19]=_0x54a62e['abs'](_0x54a62e['sin'](_0x4add19+0x1))*0x100000000|0x0;}());var _0x3b75cf=_0x482354[_0xd41ec1(0xfd)]=_0x164205['extend']({'_doReset':function(){var _0x448666=_0xd41ec1;this[_0x448666(0x2d6)]=new _0x376a29[(_0x448666(0x186))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1b6656,_0x153c63){var _0x401e13=_0xd41ec1;for(var _0x1614be=0x0;_0x1614be<0x10;_0x1614be++){var _0x23df8f=_0x153c63+_0x1614be,_0x3810ce=_0x1b6656[_0x23df8f];_0x1b6656[_0x23df8f]=(_0x3810ce<<0x8|_0x3810ce>>>0x18)&0xff00ff|(_0x3810ce<<0x18|_0x3810ce>>>0x8)&0xff00ff00;}var _0x413c1=this[_0x401e13(0x2d6)]['words'],_0x345e2d=_0x1b6656[_0x153c63+0x0],_0xa5eddb=_0x1b6656[_0x153c63+0x1],_0xfc494d=_0x1b6656[_0x153c63+0x2],_0x48485b=_0x1b6656[_0x153c63+0x3],_0x1c095f=_0x1b6656[_0x153c63+0x4],_0x33e87c=_0x1b6656[_0x153c63+0x5],_0x561bf7=_0x1b6656[_0x153c63+0x6],_0x5a35ca=_0x1b6656[_0x153c63+0x7],_0x33bd8f=_0x1b6656[_0x153c63+0x8],_0xa223e8=_0x1b6656[_0x153c63+0x9],_0x476835=_0x1b6656[_0x153c63+0xa],_0x22dec0=_0x1b6656[_0x153c63+0xb],_0x18b5e4=_0x1b6656[_0x153c63+0xc],_0x11c034=_0x1b6656[_0x153c63+0xd],_0x44dc45=_0x1b6656[_0x153c63+0xe],_0x237f71=_0x1b6656[_0x153c63+0xf],_0x2d9293=_0x413c1[0x0],_0x5bff52=_0x413c1[0x1],_0x16f01f=_0x413c1[0x2],_0x53ce8d=_0x413c1[0x3];_0x2d9293=_0x54e6d3(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x345e2d,0x7,_0x5d9a3f[0x0]),_0x53ce8d=_0x54e6d3(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0xa5eddb,0xc,_0x5d9a3f[0x1]),_0x16f01f=_0x54e6d3(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0xfc494d,0x11,_0x5d9a3f[0x2]),_0x5bff52=_0x54e6d3(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x48485b,0x16,_0x5d9a3f[0x3]),_0x2d9293=_0x54e6d3(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x1c095f,0x7,_0x5d9a3f[0x4]),_0x53ce8d=_0x54e6d3(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x33e87c,0xc,_0x5d9a3f[0x5]),_0x16f01f=_0x54e6d3(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x561bf7,0x11,_0x5d9a3f[0x6]),_0x5bff52=_0x54e6d3(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x5a35ca,0x16,_0x5d9a3f[0x7]),_0x2d9293=_0x54e6d3(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x33bd8f,0x7,_0x5d9a3f[0x8]),_0x53ce8d=_0x54e6d3(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0xa223e8,0xc,_0x5d9a3f[0x9]),_0x16f01f=_0x54e6d3(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x476835,0x11,_0x5d9a3f[0xa]),_0x5bff52=_0x54e6d3(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x22dec0,0x16,_0x5d9a3f[0xb]),_0x2d9293=_0x54e6d3(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x18b5e4,0x7,_0x5d9a3f[0xc]),_0x53ce8d=_0x54e6d3(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x11c034,0xc,_0x5d9a3f[0xd]),_0x16f01f=_0x54e6d3(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x44dc45,0x11,_0x5d9a3f[0xe]),_0x5bff52=_0x54e6d3(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x237f71,0x16,_0x5d9a3f[0xf]),_0x2d9293=_0x3e5dd3(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0xa5eddb,0x5,_0x5d9a3f[0x10]),_0x53ce8d=_0x3e5dd3(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x561bf7,0x9,_0x5d9a3f[0x11]),_0x16f01f=_0x3e5dd3(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x22dec0,0xe,_0x5d9a3f[0x12]),_0x5bff52=_0x3e5dd3(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x345e2d,0x14,_0x5d9a3f[0x13]),_0x2d9293=_0x3e5dd3(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x33e87c,0x5,_0x5d9a3f[0x14]),_0x53ce8d=_0x3e5dd3(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x476835,0x9,_0x5d9a3f[0x15]),_0x16f01f=_0x3e5dd3(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x237f71,0xe,_0x5d9a3f[0x16]),_0x5bff52=_0x3e5dd3(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x1c095f,0x14,_0x5d9a3f[0x17]),_0x2d9293=_0x3e5dd3(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0xa223e8,0x5,_0x5d9a3f[0x18]),_0x53ce8d=_0x3e5dd3(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x44dc45,0x9,_0x5d9a3f[0x19]),_0x16f01f=_0x3e5dd3(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x48485b,0xe,_0x5d9a3f[0x1a]),_0x5bff52=_0x3e5dd3(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x33bd8f,0x14,_0x5d9a3f[0x1b]),_0x2d9293=_0x3e5dd3(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x11c034,0x5,_0x5d9a3f[0x1c]),_0x53ce8d=_0x3e5dd3(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0xfc494d,0x9,_0x5d9a3f[0x1d]),_0x16f01f=_0x3e5dd3(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x5a35ca,0xe,_0x5d9a3f[0x1e]),_0x5bff52=_0x3e5dd3(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x18b5e4,0x14,_0x5d9a3f[0x1f]),_0x2d9293=_0x5e6d2b(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x33e87c,0x4,_0x5d9a3f[0x20]),_0x53ce8d=_0x5e6d2b(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x33bd8f,0xb,_0x5d9a3f[0x21]),_0x16f01f=_0x5e6d2b(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x22dec0,0x10,_0x5d9a3f[0x22]),_0x5bff52=_0x5e6d2b(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x44dc45,0x17,_0x5d9a3f[0x23]),_0x2d9293=_0x5e6d2b(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0xa5eddb,0x4,_0x5d9a3f[0x24]),_0x53ce8d=_0x5e6d2b(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x1c095f,0xb,_0x5d9a3f[0x25]),_0x16f01f=_0x5e6d2b(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x5a35ca,0x10,_0x5d9a3f[0x26]),_0x5bff52=_0x5e6d2b(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x476835,0x17,_0x5d9a3f[0x27]),_0x2d9293=_0x5e6d2b(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x11c034,0x4,_0x5d9a3f[0x28]),_0x53ce8d=_0x5e6d2b(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x345e2d,0xb,_0x5d9a3f[0x29]),_0x16f01f=_0x5e6d2b(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x48485b,0x10,_0x5d9a3f[0x2a]),_0x5bff52=_0x5e6d2b(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x561bf7,0x17,_0x5d9a3f[0x2b]),_0x2d9293=_0x5e6d2b(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0xa223e8,0x4,_0x5d9a3f[0x2c]),_0x53ce8d=_0x5e6d2b(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x18b5e4,0xb,_0x5d9a3f[0x2d]),_0x16f01f=_0x5e6d2b(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x237f71,0x10,_0x5d9a3f[0x2e]),_0x5bff52=_0x5e6d2b(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0xfc494d,0x17,_0x5d9a3f[0x2f]),_0x2d9293=_0x16d373(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x345e2d,0x6,_0x5d9a3f[0x30]),_0x53ce8d=_0x16d373(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x5a35ca,0xa,_0x5d9a3f[0x31]),_0x16f01f=_0x16d373(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x44dc45,0xf,_0x5d9a3f[0x32]),_0x5bff52=_0x16d373(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x33e87c,0x15,_0x5d9a3f[0x33]),_0x2d9293=_0x16d373(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x18b5e4,0x6,_0x5d9a3f[0x34]),_0x53ce8d=_0x16d373(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x48485b,0xa,_0x5d9a3f[0x35]),_0x16f01f=_0x16d373(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x476835,0xf,_0x5d9a3f[0x36]),_0x5bff52=_0x16d373(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0xa5eddb,0x15,_0x5d9a3f[0x37]),_0x2d9293=_0x16d373(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x33bd8f,0x6,_0x5d9a3f[0x38]),_0x53ce8d=_0x16d373(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x237f71,0xa,_0x5d9a3f[0x39]),_0x16f01f=_0x16d373(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0x561bf7,0xf,_0x5d9a3f[0x3a]),_0x5bff52=_0x16d373(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0x11c034,0x15,_0x5d9a3f[0x3b]),_0x2d9293=_0x16d373(_0x2d9293,_0x5bff52,_0x16f01f,_0x53ce8d,_0x1c095f,0x6,_0x5d9a3f[0x3c]),_0x53ce8d=_0x16d373(_0x53ce8d,_0x2d9293,_0x5bff52,_0x16f01f,_0x22dec0,0xa,_0x5d9a3f[0x3d]),_0x16f01f=_0x16d373(_0x16f01f,_0x53ce8d,_0x2d9293,_0x5bff52,_0xfc494d,0xf,_0x5d9a3f[0x3e]),_0x5bff52=_0x16d373(_0x5bff52,_0x16f01f,_0x53ce8d,_0x2d9293,_0xa223e8,0x15,_0x5d9a3f[0x3f]),_0x413c1[0x0]=_0x413c1[0x0]+_0x2d9293|0x0,_0x413c1[0x1]=_0x413c1[0x1]+_0x5bff52|0x0,_0x413c1[0x2]=_0x413c1[0x2]+_0x16f01f|0x0,_0x413c1[0x3]=_0x413c1[0x3]+_0x53ce8d|0x0;},'_doFinalize':function(){var _0x58f94d=_0xd41ec1,_0x1bc6a5=this['_data'],_0x2abc32=_0x1bc6a5[_0x58f94d(0x16e)],_0x346555=this['_nDataBytes']*0x8,_0x3c393e=_0x1bc6a5['sigBytes']*0x8;_0x2abc32[_0x3c393e>>>0x5]|=0x80<<0x18-_0x3c393e%0x20;var _0x58f8ce=_0x54a62e[_0x58f94d(0x226)](_0x346555/0x100000000),_0x7ce4db=_0x346555;_0x2abc32[(_0x3c393e+0x40>>>0x9<<0x4)+0xf]=(_0x58f8ce<<0x8|_0x58f8ce>>>0x18)&0xff00ff|(_0x58f8ce<<0x18|_0x58f8ce>>>0x8)&0xff00ff00,_0x2abc32[(_0x3c393e+0x40>>>0x9<<0x4)+0xe]=(_0x7ce4db<<0x8|_0x7ce4db>>>0x18)&0xff00ff|(_0x7ce4db<<0x18|_0x7ce4db>>>0x8)&0xff00ff00,_0x1bc6a5['sigBytes']=(_0x2abc32[_0x58f94d(0x13f)]+0x1)*0x4,this[_0x58f94d(0x114)]();for(var _0x2937e6=this[_0x58f94d(0x2d6)],_0x48c8ad=_0x2937e6[_0x58f94d(0x16e)],_0x6886a2=0x0;_0x6886a2<0x4;_0x6886a2++){var _0x3463a4=_0x48c8ad[_0x6886a2];_0x48c8ad[_0x6886a2]=(_0x3463a4<<0x8|_0x3463a4>>>0x18)&0xff00ff|(_0x3463a4<<0x18|_0x3463a4>>>0x8)&0xff00ff00;}return _0x2937e6;},'clone':function(){var _0x248d53=_0xd41ec1,_0x5b0d29=_0x164205[_0x248d53(0x181)][_0x248d53(0xef)](this);return _0x5b0d29[_0x248d53(0x2d6)]=this[_0x248d53(0x2d6)]['clone'](),_0x5b0d29;}});function _0x54e6d3(_0x2db23f,_0xa25fa2,_0x397672,_0x513d02,_0xaf3fa1,_0x4e53ff,_0x511a77){var _0x164aba=_0x2db23f+(_0xa25fa2&_0x397672|~_0xa25fa2&_0x513d02)+_0xaf3fa1+_0x511a77;return(_0x164aba<<_0x4e53ff|_0x164aba>>>0x20-_0x4e53ff)+_0xa25fa2;}function _0x3e5dd3(_0xd8dec4,_0x2f1730,_0x1afdd9,_0x3a93b9,_0x34a815,_0x434156,_0x23153e){var _0x5b6803=_0xd8dec4+(_0x2f1730&_0x3a93b9|_0x1afdd9&~_0x3a93b9)+_0x34a815+_0x23153e;return(_0x5b6803<<_0x434156|_0x5b6803>>>0x20-_0x434156)+_0x2f1730;}function _0x5e6d2b(_0x2076ea,_0x14d4d3,_0x527ca9,_0x78e8b,_0xbf6916,_0xb1b328,_0x4223d8){var _0x8f6d8c=_0x2076ea+(_0x14d4d3^_0x527ca9^_0x78e8b)+_0xbf6916+_0x4223d8;return(_0x8f6d8c<<_0xb1b328|_0x8f6d8c>>>0x20-_0xb1b328)+_0x14d4d3;}function _0x16d373(_0x2f9066,_0x217d53,_0x13a21a,_0x5264ad,_0x384cb4,_0x2b8d12,_0x29f879){var _0x302e10=_0x2f9066+(_0x13a21a^(_0x217d53|~_0x5264ad))+_0x384cb4+_0x29f879;return(_0x302e10<<_0x2b8d12|_0x302e10>>>0x20-_0x2b8d12)+_0x217d53;}_0x48970d[_0xd41ec1(0xfd)]=_0x164205[_0xd41ec1(0x2d4)](_0x3b75cf),_0x48970d['HmacMD5']=_0x164205[_0xd41ec1(0x35d)](_0x3b75cf);}(Math),_0x2169a1['MD5'];}));}(Ye)),Ye[_0x176670(0x2ac)];}var Ke={'exports':{}},qe={'exports':{}},fn=qe[_0xb830ac(0x2ac)],Xt;function vn(){var _0xaa29e8=_0xb830ac;return Xt||(Xt=0x1,function(_0x184a8d,_0x2ab5b3){(function(_0x4f47d8,_0xe0f71c){var _0x5703e5=_0x17ca;_0x184a8d[_0x5703e5(0x2ac)]=_0xe0f71c(ie());}(fn,function(_0x4073a0){var _0xa34701=_0x17ca;return(function(){var _0x5913ce=_0x17ca,_0x2deb36=_0x4073a0,_0x408238=_0x2deb36['lib'],_0x117c63=_0x408238[_0x5913ce(0x32e)],_0xa5503=_0x408238[_0x5913ce(0x23e)],_0x4c3a1c=_0x2deb36['algo'],_0x499a0d=[],_0x38a002=_0x4c3a1c[_0x5913ce(0x122)]=_0xa5503[_0x5913ce(0x2da)]({'_doReset':function(){var _0x136b0e=_0x5913ce;this[_0x136b0e(0x2d6)]=new _0x117c63[(_0x136b0e(0x186))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x58a3f3,_0x1618b1){for(var _0x56fe26=this['_hash']['words'],_0x24fff0=_0x56fe26[0x0],_0x4d8185=_0x56fe26[0x1],_0x55490f=_0x56fe26[0x2],_0x151826=_0x56fe26[0x3],_0x478750=_0x56fe26[0x4],_0x2289e4=0x0;_0x2289e4<0x50;_0x2289e4++){if(_0x2289e4<0x10)_0x499a0d[_0x2289e4]=_0x58a3f3[_0x1618b1+_0x2289e4]|0x0;else{var _0x2e84da=_0x499a0d[_0x2289e4-0x3]^_0x499a0d[_0x2289e4-0x8]^_0x499a0d[_0x2289e4-0xe]^_0x499a0d[_0x2289e4-0x10];_0x499a0d[_0x2289e4]=_0x2e84da<<0x1|_0x2e84da>>>0x1f;}var _0x332220=(_0x24fff0<<0x5|_0x24fff0>>>0x1b)+_0x478750+_0x499a0d[_0x2289e4];_0x2289e4<0x14?_0x332220+=(_0x4d8185&_0x55490f|~_0x4d8185&_0x151826)+0x5a827999:_0x2289e4<0x28?_0x332220+=(_0x4d8185^_0x55490f^_0x151826)+0x6ed9eba1:_0x2289e4<0x3c?_0x332220+=(_0x4d8185&_0x55490f|_0x4d8185&_0x151826|_0x55490f&_0x151826)-0x70e44324:_0x332220+=(_0x4d8185^_0x55490f^_0x151826)-0x359d3e2a,_0x478750=_0x151826,_0x151826=_0x55490f,_0x55490f=_0x4d8185<<0x1e|_0x4d8185>>>0x2,_0x4d8185=_0x24fff0,_0x24fff0=_0x332220;}_0x56fe26[0x0]=_0x56fe26[0x0]+_0x24fff0|0x0,_0x56fe26[0x1]=_0x56fe26[0x1]+_0x4d8185|0x0,_0x56fe26[0x2]=_0x56fe26[0x2]+_0x55490f|0x0,_0x56fe26[0x3]=_0x56fe26[0x3]+_0x151826|0x0,_0x56fe26[0x4]=_0x56fe26[0x4]+_0x478750|0x0;},'_doFinalize':function(){var _0x3e1676=_0x5913ce,_0x8f0db7=this[_0x3e1676(0x178)],_0x112d34=_0x8f0db7[_0x3e1676(0x16e)],_0x48b878=this[_0x3e1676(0x311)]*0x8,_0x3cf502=_0x8f0db7[_0x3e1676(0x3a8)]*0x8;return _0x112d34[_0x3cf502>>>0x5]|=0x80<<0x18-_0x3cf502%0x20,_0x112d34[(_0x3cf502+0x40>>>0x9<<0x4)+0xe]=Math[_0x3e1676(0x226)](_0x48b878/0x100000000),_0x112d34[(_0x3cf502+0x40>>>0x9<<0x4)+0xf]=_0x48b878,_0x8f0db7[_0x3e1676(0x3a8)]=_0x112d34[_0x3e1676(0x13f)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x14c0fb=_0x5913ce,_0x3f6d99=_0xa5503[_0x14c0fb(0x181)][_0x14c0fb(0xef)](this);return _0x3f6d99['_hash']=this[_0x14c0fb(0x2d6)][_0x14c0fb(0x181)](),_0x3f6d99;}});_0x2deb36[_0x5913ce(0x122)]=_0xa5503[_0x5913ce(0x2d4)](_0x38a002),_0x2deb36[_0x5913ce(0x119)]=_0xa5503[_0x5913ce(0x35d)](_0x38a002);}()),_0x4073a0[_0xa34701(0x122)];}));}(qe)),qe[_0xaa29e8(0x2ac)];}var ze={'exports':{}},En=ze[_0xb830ac(0x2ac)],Jt;function pn(){var _0x2c320a=_0xb830ac;return Jt||(Jt=0x1,function(_0x3efcc1,_0x342c6c){(function(_0x1fba6b,_0x1dbefb){var _0x59b662=_0x17ca;_0x3efcc1[_0x59b662(0x2ac)]=_0x1dbefb(ie());}(En,function(_0x32d524){(function(){var _0x354c3d=_0x17ca,_0x1fe46d=_0x32d524,_0x38aa4b=_0x1fe46d[_0x354c3d(0x154)],_0x377d20=_0x38aa4b[_0x354c3d(0x31a)],_0x31995b=_0x1fe46d[_0x354c3d(0x32d)],_0x84a10f=_0x31995b['Utf8'],_0x5bba55=_0x1fe46d['algo'];_0x5bba55[_0x354c3d(0x160)]=_0x377d20[_0x354c3d(0x2da)]({'init':function(_0x56566d,_0x4da0da){var _0x4c1f25=_0x354c3d;_0x56566d=this['_hasher']=new _0x56566d['init'](),typeof _0x4da0da==_0x4c1f25(0x159)&&(_0x4da0da=_0x84a10f[_0x4c1f25(0x2bb)](_0x4da0da));var _0x733fd7=_0x56566d[_0x4c1f25(0x20f)],_0x59ad1a=_0x733fd7*0x4;_0x4da0da[_0x4c1f25(0x3a8)]>_0x59ad1a&&(_0x4da0da=_0x56566d[_0x4c1f25(0x12d)](_0x4da0da)),_0x4da0da[_0x4c1f25(0x1d0)]();for(var _0x3aebd9=this[_0x4c1f25(0x2d9)]=_0x4da0da[_0x4c1f25(0x181)](),_0x4a2340=this['_iKey']=_0x4da0da[_0x4c1f25(0x181)](),_0x12142e=_0x3aebd9[_0x4c1f25(0x16e)],_0x44504a=_0x4a2340[_0x4c1f25(0x16e)],_0xc2d20f=0x0;_0xc2d20f<_0x733fd7;_0xc2d20f++)_0x12142e[_0xc2d20f]^=0x5c5c5c5c,_0x44504a[_0xc2d20f]^=0x36363636;_0x3aebd9[_0x4c1f25(0x3a8)]=_0x4a2340[_0x4c1f25(0x3a8)]=_0x59ad1a,this['reset']();},'reset':function(){var _0x46226d=_0x354c3d,_0x214c35=this['_hasher'];_0x214c35['reset'](),_0x214c35[_0x46226d(0x188)](this[_0x46226d(0x3d1)]);},'update':function(_0x296eb8){var _0x1625d7=_0x354c3d;return this['_hasher'][_0x1625d7(0x188)](_0x296eb8),this;},'finalize':function(_0xfdde36){var _0x264df4=_0x354c3d,_0x12453b=this[_0x264df4(0xfb)],_0xd8524e=_0x12453b[_0x264df4(0x12d)](_0xfdde36);_0x12453b[_0x264df4(0x40c)]();var _0x5d26a3=_0x12453b[_0x264df4(0x12d)](this[_0x264df4(0x2d9)][_0x264df4(0x181)]()['concat'](_0xd8524e));return _0x5d26a3;}});}());}));}(ze)),ze[_0x2c320a(0x2ac)];}var mn=Ke[_0xb830ac(0x2ac)],Zt;function Ci(){var _0x40320f=_0xb830ac;return Zt||(Zt=0x1,function(_0x3e56e3,_0x349d0b){(function(_0x43a6ca,_0x1871df,_0x1718aa){_0x3e56e3['exports']=_0x1871df(ie(),vn(),pn());}(mn,function(_0x295b60){var _0xd14c43=_0x17ca;return(function(){var _0x4c670d=_0x17ca,_0x3fd825=_0x295b60,_0x657790=_0x3fd825[_0x4c670d(0x154)],_0x45e9d4=_0x657790[_0x4c670d(0x31a)],_0x397b91=_0x657790['WordArray'],_0x450137=_0x3fd825[_0x4c670d(0x269)],_0x57c3f7=_0x450137[_0x4c670d(0xfd)],_0x3d338b=_0x450137['EvpKDF']=_0x45e9d4['extend']({'cfg':_0x45e9d4[_0x4c670d(0x2da)]({'keySize':0x80/0x20,'hasher':_0x57c3f7,'iterations':0x1}),'init':function(_0xce46dd){var _0x35bb8c=_0x4c670d;this[_0x35bb8c(0x314)]=this['cfg'][_0x35bb8c(0x2da)](_0xce46dd);},'compute':function(_0x3ac4dc,_0x1ca98e){var _0x3ea902=_0x4c670d;for(var _0x485304,_0x143c6c=this[_0x3ea902(0x314)],_0x66259=_0x143c6c[_0x3ea902(0x176)][_0x3ea902(0xf1)](),_0x48bbb5=_0x397b91[_0x3ea902(0xf1)](),_0x197d73=_0x48bbb5[_0x3ea902(0x16e)],_0x3f7e4d=_0x143c6c[_0x3ea902(0x189)],_0x5daa61=_0x143c6c[_0x3ea902(0x2c5)];_0x197d73['length']<_0x3f7e4d;){_0x485304&&_0x66259[_0x3ea902(0x188)](_0x485304),_0x485304=_0x66259[_0x3ea902(0x188)](_0x3ac4dc)[_0x3ea902(0x12d)](_0x1ca98e),_0x66259['reset']();for(var _0x535ad1=0x1;_0x535ad1<_0x5daa61;_0x535ad1++)_0x485304=_0x66259['finalize'](_0x485304),_0x66259['reset']();_0x48bbb5[_0x3ea902(0x2cb)](_0x485304);}return _0x48bbb5['sigBytes']=_0x3f7e4d*0x4,_0x48bbb5;}});_0x3fd825[_0x4c670d(0x120)]=function(_0xac5422,_0x2d906d,_0x542d65){var _0x2f5aef=_0x4c670d;return _0x3d338b[_0x2f5aef(0xf1)](_0x542d65)[_0x2f5aef(0x27b)](_0xac5422,_0x2d906d);};}()),_0x295b60[_0xd14c43(0x120)];}));}(Ke)),Ke[_0x40320f(0x2ac)];}var Xe={'exports':{}},In=Xe[_0xb830ac(0x2ac)],Qt;function bi(){var _0x39d314=_0xb830ac;return Qt||(Qt=0x1,function(_0xd3f15a,_0x36738c){(function(_0x3ff9f5,_0xee054c,_0x23ad17){_0xd3f15a['exports']=_0xee054c(ie(),Ci());}(In,function(_0x5274e7){var _0x323289=_0x17ca;_0x5274e7[_0x323289(0x154)][_0x323289(0x1f2)]||function(_0x58802b){var _0x298416=_0x323289,_0x275fe8=_0x5274e7,_0x59875c=_0x275fe8['lib'],_0x2f46b6=_0x59875c[_0x298416(0x31a)],_0x37656f=_0x59875c[_0x298416(0x32e)],_0x15d7d4=_0x59875c[_0x298416(0x3a4)],_0x33e0a4=_0x275fe8['enc'];_0x33e0a4['Utf8'];var _0x68a35b=_0x33e0a4[_0x298416(0x1f5)],_0x142c7f=_0x275fe8['algo'],_0x3ea749=_0x142c7f[_0x298416(0x120)],_0x5c66c4=_0x59875c[_0x298416(0x1f2)]=_0x15d7d4[_0x298416(0x2da)]({'cfg':_0x2f46b6[_0x298416(0x2da)](),'createEncryptor':function(_0x4b5286,_0x990bfd){var _0x397020=_0x298416;return this[_0x397020(0xf1)](this[_0x397020(0x127)],_0x4b5286,_0x990bfd);},'createDecryptor':function(_0x54ff7f,_0x5647ae){return this['create'](this['_DEC_XFORM_MODE'],_0x54ff7f,_0x5647ae);},'init':function(_0x381512,_0x18ced2,_0x445e0d){var _0x24f9a1=_0x298416;this['cfg']=this[_0x24f9a1(0x314)]['extend'](_0x445e0d),this[_0x24f9a1(0x22f)]=_0x381512,this[_0x24f9a1(0x168)]=_0x18ced2,this[_0x24f9a1(0x40c)]();},'reset':function(){var _0x11e930=_0x298416;_0x15d7d4['reset'][_0x11e930(0xef)](this),this['_doReset']();},'process':function(_0x3e33ff){var _0x4155a3=_0x298416;return this[_0x4155a3(0x283)](_0x3e33ff),this['_process']();},'finalize':function(_0x33c83f){var _0x351ff5=_0x298416;_0x33c83f&&this[_0x351ff5(0x283)](_0x33c83f);var _0x453fd7=this[_0x351ff5(0x3ec)]();return _0x453fd7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x389990(_0x37f369){var _0x2cea44=_0x17ca;return typeof _0x37f369==_0x2cea44(0x159)?_0x1ef0d7:_0x314f93;}return function(_0xafe6d4){return{'encrypt':function(_0x5b2ba4,_0xb00c5a,_0x10d000){return _0x389990(_0xb00c5a)['encrypt'](_0xafe6d4,_0x5b2ba4,_0xb00c5a,_0x10d000);},'decrypt':function(_0xf666af,_0x56a583,_0x46586e){var _0x105410=_0x17ca;return _0x389990(_0x56a583)[_0x105410(0x24b)](_0xafe6d4,_0xf666af,_0x56a583,_0x46586e);}};};}())});_0x59875c[_0x298416(0x313)]=_0x5c66c4[_0x298416(0x2da)]({'_doFinalize':function(){var _0x3efc75=_0x298416,_0x1e8d26=this[_0x3efc75(0x114)](!0x0);return _0x1e8d26;},'blockSize':0x1});var _0x41c73e=_0x275fe8[_0x298416(0x26c)]={},_0x2dc264=_0x59875c[_0x298416(0x3dc)]=_0x2f46b6[_0x298416(0x2da)]({'createEncryptor':function(_0x2f6729,_0x1d089b){var _0x4f8113=_0x298416;return this[_0x4f8113(0x2b4)][_0x4f8113(0xf1)](_0x2f6729,_0x1d089b);},'createDecryptor':function(_0x132ac5,_0x2a038e){var _0x2e3b61=_0x298416;return this[_0x2e3b61(0x128)][_0x2e3b61(0xf1)](_0x132ac5,_0x2a038e);},'init':function(_0x27c465,_0x2372c4){this['_cipher']=_0x27c465,this['_iv']=_0x2372c4;}}),_0x2c2887=_0x41c73e[_0x298416(0x2c3)]=(function(){var _0x222a79=_0x298416,_0x4192cf=_0x2dc264[_0x222a79(0x2da)]();_0x4192cf['Encryptor']=_0x4192cf[_0x222a79(0x2da)]({'processBlock':function(_0x1dc8a1,_0x5252f1){var _0x2223f8=_0x222a79,_0x3791ad=this[_0x2223f8(0x405)],_0x25bd48=_0x3791ad[_0x2223f8(0x20f)];_0x110a77[_0x2223f8(0xef)](this,_0x1dc8a1,_0x5252f1,_0x25bd48),_0x3791ad[_0x2223f8(0x3fd)](_0x1dc8a1,_0x5252f1),this[_0x2223f8(0x384)]=_0x1dc8a1[_0x2223f8(0x11c)](_0x5252f1,_0x5252f1+_0x25bd48);}}),_0x4192cf[_0x222a79(0x128)]=_0x4192cf[_0x222a79(0x2da)]({'processBlock':function(_0x1ab037,_0x3c9966){var _0x584811=_0x222a79,_0x454f96=this[_0x584811(0x405)],_0x493fed=_0x454f96['blockSize'],_0x312c8a=_0x1ab037[_0x584811(0x11c)](_0x3c9966,_0x3c9966+_0x493fed);_0x454f96[_0x584811(0x1bb)](_0x1ab037,_0x3c9966),_0x110a77[_0x584811(0xef)](this,_0x1ab037,_0x3c9966,_0x493fed),this[_0x584811(0x384)]=_0x312c8a;}});function _0x110a77(_0x25b882,_0x13c158,_0x2860c4){var _0x531d79=_0x222a79,_0x24c253,_0x4cf73f=this[_0x531d79(0x347)];_0x4cf73f?(_0x24c253=_0x4cf73f,this[_0x531d79(0x347)]=_0x58802b):_0x24c253=this['_prevBlock'];for(var _0x116b94=0x0;_0x116b94<_0x2860c4;_0x116b94++)_0x25b882[_0x13c158+_0x116b94]^=_0x24c253[_0x116b94];}return _0x4192cf;}()),_0x779034=_0x275fe8[_0x298416(0x14a)]={},_0x6fc8ad=_0x779034[_0x298416(0x2d8)]={'pad':function(_0x2fd2be,_0x8f7921){var _0x56e4d2=_0x298416;for(var _0x2599bd=_0x8f7921*0x4,_0x59340c=_0x2599bd-_0x2fd2be['sigBytes']%_0x2599bd,_0xd9474c=_0x59340c<<0x18|_0x59340c<<0x10|_0x59340c<<0x8|_0x59340c,_0x4a3a63=[],_0x3eda5d=0x0;_0x3eda5d<_0x59340c;_0x3eda5d+=0x4)_0x4a3a63['push'](_0xd9474c);var _0x10b327=_0x37656f[_0x56e4d2(0xf1)](_0x4a3a63,_0x59340c);_0x2fd2be[_0x56e4d2(0x2cb)](_0x10b327);},'unpad':function(_0x2891bb){var _0x344f94=_0x298416,_0x5c3929=_0x2891bb[_0x344f94(0x16e)][_0x2891bb[_0x344f94(0x3a8)]-0x1>>>0x2]&0xff;_0x2891bb[_0x344f94(0x3a8)]-=_0x5c3929;}};_0x59875c['BlockCipher']=_0x5c66c4[_0x298416(0x2da)]({'cfg':_0x5c66c4[_0x298416(0x314)][_0x298416(0x2da)]({'mode':_0x2c2887,'padding':_0x6fc8ad}),'reset':function(){var _0x4a4e99=_0x298416,_0x302ec7;_0x5c66c4[_0x4a4e99(0x40c)][_0x4a4e99(0xef)](this);var _0x5a665b=this[_0x4a4e99(0x314)],_0x1aa0be=_0x5a665b['iv'],_0x471cc6=_0x5a665b[_0x4a4e99(0x26c)];this['_xformMode']==this[_0x4a4e99(0x127)]?_0x302ec7=_0x471cc6['createEncryptor']:(_0x302ec7=_0x471cc6['createDecryptor'],this[_0x4a4e99(0x11d)]=0x1),this[_0x4a4e99(0x2fb)]&&this[_0x4a4e99(0x2fb)][_0x4a4e99(0x10b)]==_0x302ec7?this[_0x4a4e99(0x2fb)][_0x4a4e99(0x186)](this,_0x1aa0be&&_0x1aa0be[_0x4a4e99(0x16e)]):(this[_0x4a4e99(0x2fb)]=_0x302ec7[_0x4a4e99(0xef)](_0x471cc6,this,_0x1aa0be&&_0x1aa0be[_0x4a4e99(0x16e)]),this[_0x4a4e99(0x2fb)][_0x4a4e99(0x10b)]=_0x302ec7);},'_doProcessBlock':function(_0x14aada,_0xba5b9f){var _0x58fac6=_0x298416;this['_mode'][_0x58fac6(0x191)](_0x14aada,_0xba5b9f);},'_doFinalize':function(){var _0x52b7c0=_0x298416,_0x11cd08,_0x2c4e7c=this[_0x52b7c0(0x314)]['padding'];return this[_0x52b7c0(0x22f)]==this['_ENC_XFORM_MODE']?(_0x2c4e7c['pad'](this[_0x52b7c0(0x178)],this['blockSize']),_0x11cd08=this[_0x52b7c0(0x114)](!0x0)):(_0x11cd08=this[_0x52b7c0(0x114)](!0x0),_0x2c4e7c[_0x52b7c0(0x229)](_0x11cd08)),_0x11cd08;},'blockSize':0x80/0x20});var _0x173ff0=_0x59875c[_0x298416(0x1d3)]=_0x2f46b6[_0x298416(0x2da)]({'init':function(_0x5a47f6){var _0x21fc8a=_0x298416;this[_0x21fc8a(0x115)](_0x5a47f6);},'toString':function(_0x32d330){var _0x27584c=_0x298416;return(_0x32d330||this[_0x27584c(0x2e3)])['stringify'](this);}}),_0x28daba=_0x275fe8[_0x298416(0x179)]={},_0x286563=_0x28daba[_0x298416(0x1a6)]={'stringify':function(_0x4df8df){var _0x30f8d2=_0x298416,_0x5a70c2,_0x5d76ee=_0x4df8df[_0x30f8d2(0x403)],_0x4221e7=_0x4df8df[_0x30f8d2(0x2ec)];return _0x4221e7?_0x5a70c2=_0x37656f[_0x30f8d2(0xf1)]([0x53616c74,0x65645f5f])[_0x30f8d2(0x2cb)](_0x4221e7)[_0x30f8d2(0x2cb)](_0x5d76ee):_0x5a70c2=_0x5d76ee,_0x5a70c2[_0x30f8d2(0x1e1)](_0x68a35b);},'parse':function(_0x21baae){var _0x3507c8=_0x298416,_0x27bed1,_0x363d4a=_0x68a35b[_0x3507c8(0x2bb)](_0x21baae),_0xfc115a=_0x363d4a['words'];return _0xfc115a[0x0]==0x53616c74&&_0xfc115a[0x1]==0x65645f5f&&(_0x27bed1=_0x37656f[_0x3507c8(0xf1)](_0xfc115a['slice'](0x2,0x4)),_0xfc115a[_0x3507c8(0x2e4)](0x0,0x4),_0x363d4a[_0x3507c8(0x3a8)]-=0x10),_0x173ff0[_0x3507c8(0xf1)]({'ciphertext':_0x363d4a,'salt':_0x27bed1});}},_0x314f93=_0x59875c['SerializableCipher']=_0x2f46b6[_0x298416(0x2da)]({'cfg':_0x2f46b6[_0x298416(0x2da)]({'format':_0x286563}),'encrypt':function(_0x18ef10,_0x1f596a,_0x3dd274,_0x5211e1){var _0x3c5311=_0x298416;_0x5211e1=this[_0x3c5311(0x314)][_0x3c5311(0x2da)](_0x5211e1);var _0x11ea75=_0x18ef10['createEncryptor'](_0x3dd274,_0x5211e1),_0x3b4793=_0x11ea75[_0x3c5311(0x12d)](_0x1f596a),_0x26418a=_0x11ea75[_0x3c5311(0x314)];return _0x173ff0[_0x3c5311(0xf1)]({'ciphertext':_0x3b4793,'key':_0x3dd274,'iv':_0x26418a['iv'],'algorithm':_0x18ef10,'mode':_0x26418a[_0x3c5311(0x26c)],'padding':_0x26418a['padding'],'blockSize':_0x18ef10[_0x3c5311(0x20f)],'formatter':_0x5211e1[_0x3c5311(0x179)]});},'decrypt':function(_0xf19f5f,_0x406182,_0x228562,_0x330a79){var _0x37044f=_0x298416;_0x330a79=this[_0x37044f(0x314)][_0x37044f(0x2da)](_0x330a79),_0x406182=this[_0x37044f(0x17c)](_0x406182,_0x330a79[_0x37044f(0x179)]);var _0xd6d345=_0xf19f5f[_0x37044f(0x295)](_0x228562,_0x330a79)[_0x37044f(0x12d)](_0x406182[_0x37044f(0x403)]);return _0xd6d345;},'_parse':function(_0x1389d2,_0x2e3be9){var _0x233b48=_0x298416;return typeof _0x1389d2==_0x233b48(0x159)?_0x2e3be9[_0x233b48(0x2bb)](_0x1389d2,this):_0x1389d2;}}),_0x348749=_0x275fe8[_0x298416(0x1a0)]={},_0x346120=_0x348749[_0x298416(0x1a6)]={'execute':function(_0x310bde,_0x1e602e,_0xd3f13c,_0x9bb177,_0x313f67){var _0x309b8c=_0x298416;if(_0x9bb177||(_0x9bb177=_0x37656f[_0x309b8c(0x39f)](0x40/0x8)),_0x313f67)var _0x51bdd6=_0x3ea749['create']({'keySize':_0x1e602e+_0xd3f13c,'hasher':_0x313f67})[_0x309b8c(0x27b)](_0x310bde,_0x9bb177);else var _0x51bdd6=_0x3ea749[_0x309b8c(0xf1)]({'keySize':_0x1e602e+_0xd3f13c})[_0x309b8c(0x27b)](_0x310bde,_0x9bb177);var _0x3c058c=_0x37656f[_0x309b8c(0xf1)](_0x51bdd6[_0x309b8c(0x16e)]['slice'](_0x1e602e),_0xd3f13c*0x4);return _0x51bdd6['sigBytes']=_0x1e602e*0x4,_0x173ff0[_0x309b8c(0xf1)]({'key':_0x51bdd6,'iv':_0x3c058c,'salt':_0x9bb177});}},_0x1ef0d7=_0x59875c[_0x298416(0x377)]=_0x314f93[_0x298416(0x2da)]({'cfg':_0x314f93[_0x298416(0x314)][_0x298416(0x2da)]({'kdf':_0x346120}),'encrypt':function(_0x30366f,_0x761a53,_0x4d3059,_0x3f5f15){var _0x2e77ae=_0x298416;_0x3f5f15=this['cfg'][_0x2e77ae(0x2da)](_0x3f5f15);var _0x2ee68b=_0x3f5f15['kdf'][_0x2e77ae(0x337)](_0x4d3059,_0x30366f[_0x2e77ae(0x189)],_0x30366f[_0x2e77ae(0x38a)],_0x3f5f15[_0x2e77ae(0x2ec)],_0x3f5f15[_0x2e77ae(0x176)]);_0x3f5f15['iv']=_0x2ee68b['iv'];var _0x2c4059=_0x314f93['encrypt'][_0x2e77ae(0xef)](this,_0x30366f,_0x761a53,_0x2ee68b[_0x2e77ae(0x2c7)],_0x3f5f15);return _0x2c4059[_0x2e77ae(0x115)](_0x2ee68b),_0x2c4059;},'decrypt':function(_0x51a1f6,_0x49144a,_0x29a881,_0x1ce332){var _0x2ca9c4=_0x298416;_0x1ce332=this[_0x2ca9c4(0x314)][_0x2ca9c4(0x2da)](_0x1ce332),_0x49144a=this['_parse'](_0x49144a,_0x1ce332[_0x2ca9c4(0x179)]);var _0xa15a3=_0x1ce332[_0x2ca9c4(0x1a0)][_0x2ca9c4(0x337)](_0x29a881,_0x51a1f6['keySize'],_0x51a1f6[_0x2ca9c4(0x38a)],_0x49144a[_0x2ca9c4(0x2ec)],_0x1ce332['hasher']);_0x1ce332['iv']=_0xa15a3['iv'];var _0x4a0311=_0x314f93[_0x2ca9c4(0x24b)][_0x2ca9c4(0xef)](this,_0x51a1f6,_0x49144a,_0xa15a3['key'],_0x1ce332);return _0x4a0311;}});}();}));}(Xe)),Xe[_0x39d314(0x2ac)];}var Sn=Ve[_0xb830ac(0x2ac)],ei;function gn(){return ei||(ei=0x1,function(_0x57cc25,_0x76a563){(function(_0x3757de,_0x3dba2d,_0x3dc282){var _0x568322=_0x17ca;_0x57cc25[_0x568322(0x2ac)]=_0x3dba2d(ie(),Ni(),dn(),Ci(),bi());}(Sn,function(_0x8776d1){return(function(){var _0x54b994=_0x17ca,_0x1b17e8=_0x8776d1,_0x4225cc=_0x1b17e8[_0x54b994(0x154)],_0x52a904=_0x4225cc[_0x54b994(0x167)],_0x2a1695=_0x1b17e8[_0x54b994(0x269)],_0x2fb64b=[],_0xe5c77f=[],_0x1bc6ba=[],_0x101c49=[],_0x49cb7e=[],_0x3add5c=[],_0x453adf=[],_0x2ae0fd=[],_0x147845=[],_0x10b857=[];(function(){for(var _0x2dc7dd=[],_0xa8204e=0x0;_0xa8204e<0x100;_0xa8204e++)_0xa8204e<0x80?_0x2dc7dd[_0xa8204e]=_0xa8204e<<0x1:_0x2dc7dd[_0xa8204e]=_0xa8204e<<0x1^0x11b;for(var _0x547976=0x0,_0x4290a8=0x0,_0xa8204e=0x0;_0xa8204e<0x100;_0xa8204e++){var _0x5d8b0f=_0x4290a8^_0x4290a8<<0x1^_0x4290a8<<0x2^_0x4290a8<<0x3^_0x4290a8<<0x4;_0x5d8b0f=_0x5d8b0f>>>0x8^_0x5d8b0f&0xff^0x63,_0x2fb64b[_0x547976]=_0x5d8b0f,_0xe5c77f[_0x5d8b0f]=_0x547976;var _0x5392f2=_0x2dc7dd[_0x547976],_0x2b97a0=_0x2dc7dd[_0x5392f2],_0x1e863d=_0x2dc7dd[_0x2b97a0],_0x7b5d86=_0x2dc7dd[_0x5d8b0f]*0x101^_0x5d8b0f*0x1010100;_0x1bc6ba[_0x547976]=_0x7b5d86<<0x18|_0x7b5d86>>>0x8,_0x101c49[_0x547976]=_0x7b5d86<<0x10|_0x7b5d86>>>0x10,_0x49cb7e[_0x547976]=_0x7b5d86<<0x8|_0x7b5d86>>>0x18,_0x3add5c[_0x547976]=_0x7b5d86;var _0x7b5d86=_0x1e863d*0x1010101^_0x2b97a0*0x10001^_0x5392f2*0x101^_0x547976*0x1010100;_0x453adf[_0x5d8b0f]=_0x7b5d86<<0x18|_0x7b5d86>>>0x8,_0x2ae0fd[_0x5d8b0f]=_0x7b5d86<<0x10|_0x7b5d86>>>0x10,_0x147845[_0x5d8b0f]=_0x7b5d86<<0x8|_0x7b5d86>>>0x18,_0x10b857[_0x5d8b0f]=_0x7b5d86,_0x547976?(_0x547976=_0x5392f2^_0x2dc7dd[_0x2dc7dd[_0x2dc7dd[_0x1e863d^_0x5392f2]]],_0x4290a8^=_0x2dc7dd[_0x2dc7dd[_0x4290a8]]):_0x547976=_0x4290a8=0x1;}}());var _0x45668f=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x30ca79=_0x2a1695[_0x54b994(0x12a)]=_0x52a904[_0x54b994(0x2da)]({'_doReset':function(){var _0x16a57a=_0x54b994,_0x37ae78;if(!(this[_0x16a57a(0x3bc)]&&this[_0x16a57a(0x183)]===this[_0x16a57a(0x168)])){for(var _0xb6cc54=this[_0x16a57a(0x183)]=this[_0x16a57a(0x168)],_0x19ede7=_0xb6cc54[_0x16a57a(0x16e)],_0xeb10f1=_0xb6cc54[_0x16a57a(0x3a8)]/0x4,_0x349ea6=this[_0x16a57a(0x3bc)]=_0xeb10f1+0x6,_0x553edc=(_0x349ea6+0x1)*0x4,_0x476797=this[_0x16a57a(0x187)]=[],_0x2dfe61=0x0;_0x2dfe61<_0x553edc;_0x2dfe61++)_0x2dfe61<_0xeb10f1?_0x476797[_0x2dfe61]=_0x19ede7[_0x2dfe61]:(_0x37ae78=_0x476797[_0x2dfe61-0x1],_0x2dfe61%_0xeb10f1?_0xeb10f1>0x6&&_0x2dfe61%_0xeb10f1==0x4&&(_0x37ae78=_0x2fb64b[_0x37ae78>>>0x18]<<0x18|_0x2fb64b[_0x37ae78>>>0x10&0xff]<<0x10|_0x2fb64b[_0x37ae78>>>0x8&0xff]<<0x8|_0x2fb64b[_0x37ae78&0xff]):(_0x37ae78=_0x37ae78<<0x8|_0x37ae78>>>0x18,_0x37ae78=_0x2fb64b[_0x37ae78>>>0x18]<<0x18|_0x2fb64b[_0x37ae78>>>0x10&0xff]<<0x10|_0x2fb64b[_0x37ae78>>>0x8&0xff]<<0x8|_0x2fb64b[_0x37ae78&0xff],_0x37ae78^=_0x45668f[_0x2dfe61/_0xeb10f1|0x0]<<0x18),_0x476797[_0x2dfe61]=_0x476797[_0x2dfe61-_0xeb10f1]^_0x37ae78);for(var _0x3fc1c0=this[_0x16a57a(0x210)]=[],_0x23620a=0x0;_0x23620a<_0x553edc;_0x23620a++){var _0x2dfe61=_0x553edc-_0x23620a;if(_0x23620a%0x4)var _0x37ae78=_0x476797[_0x2dfe61];else var _0x37ae78=_0x476797[_0x2dfe61-0x4];_0x23620a<0x4||_0x2dfe61<=0x4?_0x3fc1c0[_0x23620a]=_0x37ae78:_0x3fc1c0[_0x23620a]=_0x453adf[_0x2fb64b[_0x37ae78>>>0x18]]^_0x2ae0fd[_0x2fb64b[_0x37ae78>>>0x10&0xff]]^_0x147845[_0x2fb64b[_0x37ae78>>>0x8&0xff]]^_0x10b857[_0x2fb64b[_0x37ae78&0xff]];}}},'encryptBlock':function(_0x361007,_0x6e9794){var _0x4083db=_0x54b994;this[_0x4083db(0x27a)](_0x361007,_0x6e9794,this[_0x4083db(0x187)],_0x1bc6ba,_0x101c49,_0x49cb7e,_0x3add5c,_0x2fb64b);},'decryptBlock':function(_0x227f88,_0x34c506){var _0x4b6df5=_0x54b994,_0x4c05e2=_0x227f88[_0x34c506+0x1];_0x227f88[_0x34c506+0x1]=_0x227f88[_0x34c506+0x3],_0x227f88[_0x34c506+0x3]=_0x4c05e2,this[_0x4b6df5(0x27a)](_0x227f88,_0x34c506,this[_0x4b6df5(0x210)],_0x453adf,_0x2ae0fd,_0x147845,_0x10b857,_0xe5c77f);var _0x4c05e2=_0x227f88[_0x34c506+0x1];_0x227f88[_0x34c506+0x1]=_0x227f88[_0x34c506+0x3],_0x227f88[_0x34c506+0x3]=_0x4c05e2;},'_doCryptBlock':function(_0xe3c158,_0x58413b,_0x26708b,_0x1467e8,_0x367c1f,_0x215f98,_0x5ce290,_0x163113){for(var _0x59a332=this['_nRounds'],_0x5870ee=_0xe3c158[_0x58413b]^_0x26708b[0x0],_0x2fc519=_0xe3c158[_0x58413b+0x1]^_0x26708b[0x1],_0x44d207=_0xe3c158[_0x58413b+0x2]^_0x26708b[0x2],_0x5a8124=_0xe3c158[_0x58413b+0x3]^_0x26708b[0x3],_0x271e16=0x4,_0x2ddb8e=0x1;_0x2ddb8e<_0x59a332;_0x2ddb8e++){var _0x321bf2=_0x1467e8[_0x5870ee>>>0x18]^_0x367c1f[_0x2fc519>>>0x10&0xff]^_0x215f98[_0x44d207>>>0x8&0xff]^_0x5ce290[_0x5a8124&0xff]^_0x26708b[_0x271e16++],_0x115e45=_0x1467e8[_0x2fc519>>>0x18]^_0x367c1f[_0x44d207>>>0x10&0xff]^_0x215f98[_0x5a8124>>>0x8&0xff]^_0x5ce290[_0x5870ee&0xff]^_0x26708b[_0x271e16++],_0x134220=_0x1467e8[_0x44d207>>>0x18]^_0x367c1f[_0x5a8124>>>0x10&0xff]^_0x215f98[_0x5870ee>>>0x8&0xff]^_0x5ce290[_0x2fc519&0xff]^_0x26708b[_0x271e16++],_0x5563cc=_0x1467e8[_0x5a8124>>>0x18]^_0x367c1f[_0x5870ee>>>0x10&0xff]^_0x215f98[_0x2fc519>>>0x8&0xff]^_0x5ce290[_0x44d207&0xff]^_0x26708b[_0x271e16++];_0x5870ee=_0x321bf2,_0x2fc519=_0x115e45,_0x44d207=_0x134220,_0x5a8124=_0x5563cc;}var _0x321bf2=(_0x163113[_0x5870ee>>>0x18]<<0x18|_0x163113[_0x2fc519>>>0x10&0xff]<<0x10|_0x163113[_0x44d207>>>0x8&0xff]<<0x8|_0x163113[_0x5a8124&0xff])^_0x26708b[_0x271e16++],_0x115e45=(_0x163113[_0x2fc519>>>0x18]<<0x18|_0x163113[_0x44d207>>>0x10&0xff]<<0x10|_0x163113[_0x5a8124>>>0x8&0xff]<<0x8|_0x163113[_0x5870ee&0xff])^_0x26708b[_0x271e16++],_0x134220=(_0x163113[_0x44d207>>>0x18]<<0x18|_0x163113[_0x5a8124>>>0x10&0xff]<<0x10|_0x163113[_0x5870ee>>>0x8&0xff]<<0x8|_0x163113[_0x2fc519&0xff])^_0x26708b[_0x271e16++],_0x5563cc=(_0x163113[_0x5a8124>>>0x18]<<0x18|_0x163113[_0x5870ee>>>0x10&0xff]<<0x10|_0x163113[_0x2fc519>>>0x8&0xff]<<0x8|_0x163113[_0x44d207&0xff])^_0x26708b[_0x271e16++];_0xe3c158[_0x58413b]=_0x321bf2,_0xe3c158[_0x58413b+0x1]=_0x115e45,_0xe3c158[_0x58413b+0x2]=_0x134220,_0xe3c158[_0x58413b+0x3]=_0x5563cc;},'keySize':0x100/0x20});_0x1b17e8[_0x54b994(0x12a)]=_0x52a904[_0x54b994(0x2d4)](_0x30ca79);}()),_0x8776d1['AES'];}));}(Ve)),Ve['exports'];}var Tn=gn();const On=$e(Tn);var Rn=Ni();const ti=$e(Rn);var Je={'exports':{}},Nn=Je[_0xb830ac(0x2ac)],ii;function Cn(){return ii||(ii=0x1,function(_0xc8e03c,_0x1492a7){(function(_0x4fd8ba,_0x115d29){_0xc8e03c['exports']=_0x115d29(ie());}(Nn,function(_0x4c9965){var _0x49f0b5=_0x17ca;return _0x4c9965[_0x49f0b5(0x32d)][_0x49f0b5(0x1fd)];}));}(Je)),Je['exports'];}var bn=Cn();function _0x17ca(_0x431543,_0x24f76f){_0x431543=_0x431543-0xed;var _0x1d47ed=_0x1d47();var _0x17cafe=_0x1d47ed[_0x431543];return _0x17cafe;}const Dn=$e(bn);var Ze={'exports':{}},yn=Ze['exports'],si;function Un(){var _0x2c3e01=_0xb830ac;return si||(si=0x1,function(_0x4372ea,_0x2bba53){(function(_0x60f8d2,_0x4a5759){var _0x16129f=_0x17ca;_0x4372ea[_0x16129f(0x2ac)]=_0x4a5759(ie());}(yn,function(_0x57b619){var _0x5625ca=_0x17ca;return(function(){var _0x476c25=_0x17ca;if(typeof ArrayBuffer=='function'){var _0x2535ba=_0x57b619,_0x3cf357=_0x2535ba[_0x476c25(0x154)],_0x215d07=_0x3cf357[_0x476c25(0x32e)],_0x236b63=_0x215d07[_0x476c25(0x186)],_0x16a04c=_0x215d07['init']=function(_0x272cd5){var _0x3c6d5=_0x476c25;if(_0x272cd5 instanceof ArrayBuffer&&(_0x272cd5=new Uint8Array(_0x272cd5)),(_0x272cd5 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x272cd5 instanceof Uint8ClampedArray||_0x272cd5 instanceof Int16Array||_0x272cd5 instanceof Uint16Array||_0x272cd5 instanceof Int32Array||_0x272cd5 instanceof Uint32Array||_0x272cd5 instanceof Float32Array||_0x272cd5 instanceof Float64Array)&&(_0x272cd5=new Uint8Array(_0x272cd5[_0x3c6d5(0x146)],_0x272cd5[_0x3c6d5(0x231)],_0x272cd5[_0x3c6d5(0x27d)])),_0x272cd5 instanceof Uint8Array){for(var _0x54bccb=_0x272cd5[_0x3c6d5(0x27d)],_0x356e10=[],_0x3761b7=0x0;_0x3761b7<_0x54bccb;_0x3761b7++)_0x356e10[_0x3761b7>>>0x2]|=_0x272cd5[_0x3761b7]<<0x18-_0x3761b7%0x4*0x8;_0x236b63[_0x3c6d5(0xef)](this,_0x356e10,_0x54bccb);}else _0x236b63[_0x3c6d5(0x285)](this,arguments);};_0x16a04c[_0x476c25(0x228)]=_0x215d07;}}()),_0x57b619[_0x5625ca(0x154)][_0x5625ca(0x32e)];}));}(Ze)),Ze[_0x2c3e01(0x2ac)];}var An=Un();const Pn=$e(An);var Qe={'exports':{}},Ln=Qe['exports'],ni;function Mn(){var _0x255d07=_0xb830ac;return ni||(ni=0x1,function(_0x1af3f9,_0xa1872b){(function(_0xa60772,_0x4d06a2,_0x45a552){var _0x2ef127=_0x17ca;_0x1af3f9[_0x2ef127(0x2ac)]=_0x4d06a2(ie(),bi());}(Ln,function(_0x41f113){var _0x23d24d=_0x17ca;return _0x41f113[_0x23d24d(0x14a)][_0x23d24d(0x260)]={'pad':function(){},'unpad':function(){}},_0x41f113[_0x23d24d(0x14a)]['NoPadding'];}));}(Qe)),Qe[_0x255d07(0x2ac)];}var wn=Mn();const xn=$e(wn);function kn(_0x4f3bb1,_0x1e6cfb){var _0x35cf68=_0xb830ac;const _0x4954c0=_0x1e6cfb-_0x4f3bb1[_0x35cf68(0x13f)]%_0x1e6cfb,_0x3e758f=String[_0x35cf68(0x2a7)](_0x4954c0)[_0x35cf68(0x37d)](_0x4954c0);return _0x4f3bb1+_0x3e758f;}function $n(_0x48b465,_0x425099){var _0x362e83=_0xb830ac;const _0xc08ccd=Pn[_0x362e83(0x39f)](0x10),_0x385a24=kn(_0x48b465,0x10),_0x1d76be=On[_0x362e83(0x239)](Dn[_0x362e83(0x2bb)](_0x385a24),ti[_0x362e83(0x2bb)](_0x425099),{'iv':_0xc08ccd,'padding':xn});return _0xc08ccd[_0x362e83(0x2cb)](_0x1d76be[_0x362e83(0x403)])[_0x362e83(0x1e1)](ti);}function Hn(){var _0x20e4ae=_0xb830ac;const _0x51bfd3=_0x437485()['__Key__'];if(_0x51bfd3){const _0x1aa200={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x20e4ae(0x332)]};return $n(JSON[_0x20e4ae(0x2b2)](_0x1aa200),_0x51bfd3);}}var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x4b83f4,_0x4c8c0d,_0x14551d,_0x1e3935)=>{var _0x4dac1b=_0xb830ac;for(var _0x2bed1a=_0x1e3935>0x1?void 0x0:_0x1e3935?Bn(_0x4c8c0d,_0x14551d):_0x4c8c0d,_0x4c88b6=_0x4b83f4[_0x4dac1b(0x13f)]-0x1,_0x57a331;_0x4c88b6>=0x0;_0x4c88b6--)(_0x57a331=_0x4b83f4[_0x4c88b6])&&(_0x2bed1a=_0x57a331(_0x2bed1a)||_0x2bed1a);return _0x2bed1a;},jn=(_0x13829b,_0x45e71f)=>(_0x5be608,_0x22feba)=>_0x45e71f(_0x5be608,_0x22feba,_0x13829b);let at=class{constructor(_0x3a0219){var _0x38980e=_0xb830ac;this[_0x38980e(0x220)]=_0x3a0219,this[_0x38980e(0x2c9)]();}[_0xb830ac(0x2c9)](){var _0x14f18e=_0xb830ac;this[_0x14f18e(0x220)][_0x14f18e(0x364)]({'interceptor':(_0x51ca7f,_0x31e4d8)=>{var _0x5bfaa5=_0x14f18e;const _0x45fd7b=_0x51ca7f['headers'],_0x428c76=Hn();return _0x428c76&&_0x45fd7b['set'](_0x5bfaa5(0x3dd),_0x428c76),_0x31e4d8(_0x51ca7f);}});}};at=Fn([jn(0x0,_0x2aff60(_0x562ff5))],at);var Vn=Object['getOwnPropertyDescriptor'],Gn=(_0x5417c6,_0x131301,_0x44894f,_0x5cc1b1)=>{for(var _0x5a541a=_0x5cc1b1>0x1?void 0x0:_0x5cc1b1?Vn(_0x131301,_0x44894f):_0x131301,_0x23a024=_0x5417c6['length']-0x1,_0x3e277d;_0x23a024>=0x0;_0x23a024--)(_0x3e277d=_0x5417c6[_0x23a024])&&(_0x5a541a=_0x3e277d(_0x5a541a)||_0x5a541a);return _0x5a541a;},vt=(_0x36ed97,_0x6ea63e)=>(_0x5ade95,_0x38614b)=>_0x6ea63e(_0x5ade95,_0x38614b,_0x36ed97);let Ot=class extends _0x19a501{constructor(_0x12ae99,_0x15b819,_0x286232){var _0x1bfd33=_0xb830ac;super(),D(this,_0x1bfd33(0x271),new _0x392068(null)),D(this,_0x1bfd33(0x22c),this[_0x1bfd33(0x271)][_0x1bfd33(0x290)]()),(this['_logService']=_0x12ae99,this[_0x1bfd33(0x40a)]=_0x15b819,this[_0x1bfd33(0x3a9)]=_0x286232);}async['loadUnitOfRevision'](_0x1a0f45,_0x191882,_0xf6e495){var _0x3a973a=_0xb830ac;this[_0x3a973a(0x271)]['next']({'unitId':_0x1a0f45,'type':_0x191882});let _0x53fd1c=null;switch(_0x191882){case Q[_0x3a973a(0x15b)]:{_0x53fd1c=await this[_0x3a973a(0x40a)][_0x3a973a(0x125)](_0x1a0f45,_0xf6e495);break;}case Q['UNIVER_DOC']:{_0x53fd1c=await this[_0x3a973a(0x40a)][_0x3a973a(0x270)](_0x1a0f45,_0xf6e495);break;}default:{this[_0x3a973a(0x3ef)]['error'](_0x3a973a(0x316),_0x3a973a(0x245));break;}}return _0x53fd1c;}async[_0xb830ac(0xf6)](_0x1fdd2f,_0x2622a9,_0x159c8c){var _0x1323e4=_0xb830ac,_0x18b5a6;this[_0x1323e4(0x271)][_0x1323e4(0x309)]({'unitId':_0x1fdd2f,'type':_0x2622a9,'subUnitId':_0x159c8c});let _0x5b1e0e=0x0;const _0x320f9a=await((_0x18b5a6=this['_localCacheService'])==null?void 0x0:_0x18b5a6[_0x1323e4(0x3d8)](_0x1fdd2f));return _0x320f9a&&(_0x320f9a[_0x1323e4(0x247)]||_0x320f9a['mutations'][_0x1323e4(0x13f)]!==0x0)&&(_0x5b1e0e=_0x320f9a[_0x1323e4(0x3ac)]),_0x5b1e0e===0x0&&this[_0x1323e4(0x3ef)][_0x1323e4(0x221)](_0x1323e4(0x316),_0x1323e4(0x215)),this[_0x1323e4(0x2f3)](_0x1fdd2f,_0x2622a9,_0x5b1e0e);}};Ot=Gn([vt(0x0,_0x469422),vt(0x1,_0x2aff60(_0x16b550)),vt(0x2,_0x2c2398(X))],Ot);var Wn=Object[_0xb830ac(0x2f2)],Yn=(_0x5b552c,_0x576c2b,_0x3e1ea8,_0x12bb11)=>{for(var _0x4bf952=_0x12bb11>0x1?void 0x0:_0x12bb11?Wn(_0x576c2b,_0x3e1ea8):_0x576c2b,_0x45b6ef=_0x5b552c['length']-0x1,_0x2af1f1;_0x45b6ef>=0x0;_0x45b6ef--)(_0x2af1f1=_0x5b552c[_0x45b6ef])&&(_0x4bf952=_0x2af1f1(_0x4bf952)||_0x4bf952);return _0x4bf952;},Et=(_0x205aa4,_0x38dc3f)=>(_0x38e810,_0x4cb39d)=>_0x38dc3f(_0x38e810,_0x4cb39d,_0x205aa4);const Kn=['image/png',_0xb830ac(0x206),_0xb830ac(0x36a),'image/gif',_0xb830ac(0x3d3)],qn=0x5*0x400*0x400,zn=_0xb830ac(0x33f),Xn=_0xb830ac(0x1d1);let Rt=class{constructor(_0x436267,_0x10864a,_0x54663e){var _0x2b42f5=_0xb830ac;D(this,_0x2b42f5(0x29c),0x0),D(this,'_change$',new _0x486fe1()),D(this,_0x2b42f5(0x294),this[_0x2b42f5(0x18d)]),D(this,_0x2b42f5(0x1ef),new Map()),(this[_0x2b42f5(0x220)]=_0x436267,this[_0x2b42f5(0x25e)]=_0x10864a,this['_univerInstanceService']=_0x54663e);}[_0xb830ac(0x368)](_0x170eb4){this['_waitCount']=_0x170eb4,this['_change$']['next'](_0x170eb4);}['getImageSourceCache'](_0x4d13b1,_0x2895f0){var _0x5e5543=_0xb830ac;if(_0x2895f0===_0x488ba6['BASE64']){const _0x3344e2=new Image();return _0x3344e2['src']=_0x4d13b1,_0x3344e2;}return this[_0x5e5543(0x1ef)][_0x5e5543(0x12c)](_0x4d13b1);}[_0xb830ac(0x34a)](_0x58913f,_0x34fa4c,_0x304ab8){var _0x341c84=_0xb830ac;_0x34fa4c===_0x488ba6[_0x341c84(0x121)]||_0x304ab8==null||this['_imageSourceCache'][_0x341c84(0x1af)](_0x58913f,_0x304ab8);}async[_0xb830ac(0x211)](_0x4a493c){var _0x1a68c3=_0xb830ac;try{const _0x6cece1=this[_0x1a68c3(0x322)](this[_0x1a68c3(0x2d0)](),''+_0x4a493c),_0x639cb7=(await this[_0x1a68c3(0x220)][_0x1a68c3(0x12c)](_0x6cece1))[_0x1a68c3(0x2d3)];if(_0x639cb7[_0x1a68c3(0x375)]&&_0x639cb7[_0x1a68c3(0x375)]['code']===vi['OK']){const _0x30ec99=_0x188f0c(_0x639cb7[_0x1a68c3(0x21d)],this['_getDownloadEndpointURL']());return Promise[_0x1a68c3(0x3cc)](_0x30ec99);}return Promise[_0x1a68c3(0x143)](_0x639cb7[_0x1a68c3(0x375)]);}catch(_0x4a6d6d){return Promise['reject'](_0x4a6d6d);}}async['saveImage'](_0x2d0ee5){var _0x165172=_0xb830ac;let _0x2b1b74='';if(!Kn[_0x165172(0x35f)](_0x2d0ee5[_0x165172(0x348)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x34a7b8[_0x165172(0x1d2)]));if(_0x2d0ee5[_0x165172(0x116)]>qn)return this['_decreaseWaiting'](),Promise[_0x165172(0x143)](new Error(_0x34a7b8['ERROR_EXCEED_SIZE']));try{const _0xd95dfc=new FormData();_0xd95dfc[_0x165172(0x30e)](_0x165172(0x3c6),_0x2d0ee5);const _0x1d9d85=this[_0x165172(0x227)][_0x165172(0x385)](),_0x39c1d3=_0x1d9d85==null?void 0x0:_0x1d9d85[_0x165172(0x3b7)]();if(!_0x39c1d3)throw new Error('unitId\x20is\x20not\x20found');const _0x4348ed=this[_0x165172(0x392)]()+_0x165172(0x1a1)+_0x2d0ee5[_0x165172(0x116)][_0x165172(0x1e1)]()+_0x165172(0x28d)+Ei[_0x165172(0x2df)]+_0x165172(0x1fc)+encodeURIComponent(_0x39c1d3),_0x2ade44={'body':_0xd95dfc},_0x11ee2a=(await this[_0x165172(0x220)][_0x165172(0x333)](_0x4348ed,_0x2ade44))['body'];if(typeof _0x11ee2a[_0x165172(0x104)]!='string')return this['_decreaseWaiting'](),Promise[_0x165172(0x143)](new Error(_0x34a7b8[_0x165172(0x3f0)]));_0x2b1b74=_0x11ee2a[_0x165172(0x104)];}catch{return this['_decreaseWaiting'](),Promise[_0x165172(0x143)](new Error(_0x34a7b8['ERROR_IMAGE']));}return new Promise((_0x2aa472,_0x47c95d)=>{var _0x5e2f1b=_0x165172;const _0x22622c=new FileReader();_0x22622c[_0x5e2f1b(0x325)](_0x2d0ee5),_0x22622c[_0x5e2f1b(0x367)]=_0x197bc8=>{var _0x371100=_0x5e2f1b,_0x556b31;const _0x343bdd=(_0x556b31=_0x197bc8['target'])==null?void 0x0:_0x556b31['result'];if(_0x343bdd==null){this[_0x371100(0x3ae)](),_0x47c95d(new Error(_0x34a7b8['ERROR_IMAGE']));return;}const _0x5df3cc=_0x49efa2(0x6);_0x2aa472({'imageId':_0x5df3cc,'imageSourceType':_0x488ba6[_0x371100(0x272)],'source':_0x2b1b74,'base64Cache':_0x343bdd,'status':_0x34a7b8['SUCCUSS']}),this[_0x371100(0x3ae)]();};});}['_getUploadFileURL'](){var _0x105dc7=_0xb830ac,_0x36125b;const _0xd8adbf=this[_0x105dc7(0x25e)]['getConfig'](K);return(_0x36125b=_0xd8adbf==null?void 0x0:_0xd8adbf[_0x105dc7(0x2e0)])!=null?_0x36125b:zn;}[_0xb830ac(0x2d0)](){var _0x1cd439=_0xb830ac,_0x3cb9e4;const _0x4165a6=this[_0x1cd439(0x25e)][_0x1cd439(0x144)](K);return(_0x3cb9e4=_0x4165a6==null?void 0x0:_0x4165a6[_0x1cd439(0x2a2)])!=null?_0x3cb9e4:Xn;}[_0xb830ac(0x1bc)](){var _0x1ff839=_0xb830ac,_0x3fc613;const _0x503370=this['_configService'][_0x1ff839(0x144)](K);return(_0x3fc613=_0x503370==null?void 0x0:_0x503370[_0x1ff839(0x278)])!=null?_0x3fc613:location[_0x1ff839(0x340)];}[_0xb830ac(0x322)](_0xc78d5b,_0x26c0f4){var _0x179cd8=_0xb830ac;return _0xc78d5b[_0x179cd8(0x31f)](_0x179cd8(0x236),_0x26c0f4);}[_0xb830ac(0x3ae)](){var _0x426e12=_0xb830ac;this[_0x426e12(0x29c)]-=0x1,this[_0x426e12(0x18d)][_0x426e12(0x309)](this['_waitCount']);}};Rt=Yn([Et(0x0,_0x2aff60(_0x562ff5)),Et(0x1,_0x495b35),Et(0x2,_0x2aff60(_0x469993))],Rt);var Jn=Object[_0xb830ac(0x2f2)],Zn=(_0x3cb7b4,_0x31ec46,_0x210ad8,_0x54d973)=>{var _0x1240bd=_0xb830ac;for(var _0x48c06b=_0x54d973>0x1?void 0x0:_0x54d973?Jn(_0x31ec46,_0x210ad8):_0x31ec46,_0xf9b2a8=_0x3cb7b4[_0x1240bd(0x13f)]-0x1,_0x13aa6f;_0xf9b2a8>=0x0;_0xf9b2a8--)(_0x13aa6f=_0x3cb7b4[_0xf9b2a8])&&(_0x48c06b=_0x13aa6f(_0x48c06b)||_0x48c06b);return _0x48c06b;},ri=(_0x5b1cc4,_0x1e2739)=>(_0x58011c,_0xbd4598)=>_0x1e2739(_0x58011c,_0xbd4598,_0x5b1cc4);const Qn='/universer-api/authz';let Nt=class{constructor(_0x136686,_0x52932d){var _0x496b88=_0xb830ac;this['_configService']=_0x136686,this[_0x496b88(0x266)]=_0x52932d;}[_0xb830ac(0x20d)](){var _0x334fcd=_0xb830ac,_0x52acf2;const _0x228531=this[_0x334fcd(0x25e)][_0x334fcd(0x144)](K);return(_0x52acf2=_0x228531==null?void 0x0:_0x228531[_0x334fcd(0x36d)])!=null?_0x52acf2:Qn;}async[_0xb830ac(0x353)](_0x1192bb){var _0x243d48=_0xb830ac;const _0x443c60=this[_0x243d48(0x20d)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0x243d48(0x266)][_0x243d48(0x12c)](_0x443c60,{'params':{'objectID':_0x1192bb[_0x243d48(0x23d)],'unitID':_0x1192bb[_0x243d48(0x23d)]}}))['body'][_0x243d48(0x3ee)][_0x243d48(0x3b9)](_0x54c553=>({'objectId':_0x54c553['id'],'name':_0x54c553[_0x243d48(0x15d)][_0x243d48(0x241)],'metadata':{'icon':_0x54c553['subject'][_0x243d48(0x1a5)]},'label':_0x54c553[_0x243d48(0x15d)][_0x243d48(0x241)],'objectType':_0x450374[_0x243d48(0x202)]})),'metadata':{},'type':_0x450374[_0x243d48(0x202)]}]};}};Nt=Zn([ri(0x0,_0x2aff60(_0x495b35)),ri(0x1,_0x2aff60(_0x562ff5))],Nt);var er=Object[_0xb830ac(0x2f2)],tr=(_0x3b63cd,_0x1d3440,_0x3924d6,_0x540b73)=>{var _0x524a09=_0xb830ac;for(var _0x19f085=_0x540b73>0x1?void 0x0:_0x540b73?er(_0x1d3440,_0x3924d6):_0x1d3440,_0x1e2efa=_0x3b63cd[_0x524a09(0x13f)]-0x1,_0x162f1c;_0x1e2efa>=0x0;_0x1e2efa--)(_0x162f1c=_0x3b63cd[_0x1e2efa])&&(_0x19f085=_0x162f1c(_0x19f085)||_0x19f085);return _0x19f085;},Ue=(_0x4ec2e7,_0x2d2006)=>(_0x782f9e,_0x13ea47)=>_0x2d2006(_0x782f9e,_0x13ea47,_0x4ec2e7);let ot=class extends _0x19a501{constructor(_0x350e4c,_0x2d1c59,_0x2cd511,_0x3d6723,_0x85b684){var _0xd5be46=_0xb830ac;super(),this[_0xd5be46(0x3ca)]=_0x350e4c,this[_0xd5be46(0x227)]=_0x2d1c59,this['_permissionService']=_0x2cd511,this[_0xd5be46(0x373)]=_0x3d6723,this[_0xd5be46(0x139)]=_0x85b684,this[_0xd5be46(0x330)](),this[_0xd5be46(0x282)]();}[_0xb830ac(0x282)](){var _0x46d3d8=_0xb830ac;const _0x18ee31=async _0x58255d=>{var _0x12245b=_0x17ca;(await this[_0x12245b(0x373)]['requireSession'](_0x58255d))[_0x12245b(0x3cf)][_0x12245b(0x12e)](_0x15cae6(_0x1fb72a=>_0x1fb72a['eventID']===_0x4fe2f4[_0x12245b(0x192)]),_0x22f454(this[_0x12245b(0x1e3)]))[_0x12245b(0x3db)](_0x1dfcd1=>{var _0xaa3652=_0x12245b;const _0x47a66f=_0x1dfcd1,{reason:_0x2d787b}=_0x47a66f[_0xaa3652(0x20e)];this[_0xaa3652(0x139)][_0xaa3652(0x2f9)]({'id':re[_0xaa3652(0x21b)],'data':_0x2d787b}),this[_0xaa3652(0x356)][_0xaa3652(0x17a)](new _0x27abd8(_0x58255d)['id'],!0x1),this[_0xaa3652(0x373)][_0xaa3652(0x1b2)](_0x58255d);});};_0x12897c(this[_0x46d3d8(0x227)][_0x46d3d8(0x3a5)](_0x2d50ad[_0x46d3d8(0x15b)]),this[_0x46d3d8(0x227)][_0x46d3d8(0x3a5)](_0x2d50ad['UNIVER_DOC']))[_0x46d3d8(0x12e)](_0x23d4e7(_0x21b0cd=>_0x21b0cd[_0x46d3d8(0x3b7)]()),_0x15cae6(_0x48f6f4=>!_0x483a44(_0x48f6f4)),_0x22f454(this['dispose$']))[_0x46d3d8(0x3db)](_0x575024=>{_0x18ee31(_0x575024);});}[_0xb830ac(0x330)](){var _0x946a30=_0xb830ac;const _0x28d631=async _0x5149c3=>{var _0x5496c7=_0x17ca;const _0x9ac1b6=await this['_collaborationSessionService']['requireSession'](_0x5149c3),_0xb50faa=this[_0x5496c7(0x3ca)]['get'](_0xf9df9f);_0x9ac1b6[_0x5496c7(0x3cf)]['pipe'](_0x15cae6(_0x579176=>_0x579176['eventID']===_0x4fe2f4[_0x5496c7(0x3bd)]),_0x22f454(this[_0x5496c7(0x1e3)]))['subscribe'](_0x54bf4f=>{var _0xb128fc=_0x5496c7;const _0x3f6ef4=_0x54bf4f,{objectId:_0x47839d}=_0x3f6ef4['data'];_0x47839d===_0x5149c3?_0xb50faa[_0xb128fc(0x29b)](_0x5149c3):_0xb50faa[_0xb128fc(0x3e3)](_0x5149c3,_0x47839d);});};_0x12897c(this[_0x946a30(0x227)][_0x946a30(0x3a5)](_0x2d50ad[_0x946a30(0x15b)]))['pipe'](_0x23d4e7(_0x221ab4=>_0x221ab4['getUnitId']()),_0x15cae6(_0x1d348e=>!_0x483a44(_0x1d348e)),_0x22f454(this[_0x946a30(0x1e3)]))[_0x946a30(0x3db)](_0x1846a6=>{_0x28d631(_0x1846a6);});}};ot=tr([Ue(0x0,_0x2aff60(_0x57442c)),Ue(0x1,_0x469993),Ue(0x2,_0x228023),Ue(0x3,_0x2aff60(Le)),Ue(0x4,_0x2aff60(ve))],ot);var ir=Object[_0xb830ac(0x2f2)],sr=(_0x2983d9,_0x1a01e1,_0x324798,_0x25d6f2)=>{var _0x8c476a=_0xb830ac;for(var _0x5e8927=_0x25d6f2>0x1?void 0x0:_0x25d6f2?ir(_0x1a01e1,_0x324798):_0x1a01e1,_0xfeeca2=_0x2983d9[_0x8c476a(0x13f)]-0x1,_0x50fd92;_0xfeeca2>=0x0;_0xfeeca2--)(_0x50fd92=_0x2983d9[_0xfeeca2])&&(_0x5e8927=_0x50fd92(_0x5e8927)||_0x5e8927);return _0x5e8927;},ai=(_0x200daf,_0x3ae226)=>(_0x4dfe7a,_0xf60b4f)=>_0x3ae226(_0x4dfe7a,_0xf60b4f,_0x200daf);let Ct=class{constructor(_0x2650d3,_0x3a6768){var _0xa9a224=_0xb830ac;this[_0xa9a224(0x25e)]=_0x2650d3,this['_httpService']=_0x3a6768;}async[_0xb830ac(0x1cb)](_0x5dca37,_0x4aae5b){var _0x1cf339=_0xb830ac,_0x5ec6d7;const {unitID:_0x5a49ac,type:_0x391377,revision:_0x2c0a1b=0x0}=_0x4aae5b,_0x3bc073=this['getSnapshotAPIPath']()+'/'+_0x391377+_0x1cf339(0x307)+_0x5a49ac+_0x1cf339(0x213)+_0x2c0a1b,_0x4c3924=(await this[_0x1cf339(0x220)][_0x1cf339(0x12c)](_0x3bc073))['body'],_0x106461=(_0x5ec6d7=_0x4c3924['snapshot'])==null?void 0x0:_0x5ec6d7[_0x1cf339(0x338)];if(_0x106461){const _0x444538=_0x106461==null?void 0x0:_0x106461[_0x1cf339(0x25a)],_0x47ad43=_0x239223[_0x1cf339(0x3a0)](_0x9b7a41(_0x444538));_0x106461[_0x1cf339(0x25a)]=_0x47ad43,Object[_0x1cf339(0x2bf)](_0x106461[_0x1cf339(0x1e4)])['forEach'](([,_0x598bbe])=>{var _0x35c039=_0x1cf339;const _0x4a602e=_0x598bbe[_0x35c039(0x25a)],_0x416a0f=_0x239223[_0x35c039(0x3a0)](_0x9b7a41(_0x4a602e));_0x598bbe[_0x35c039(0x25a)]=_0x416a0f;});}return _0x4c3924;}async[_0xb830ac(0x26d)](_0x5284d3,_0x2d15ca){var _0x1f15b2=_0xb830ac;const {unitID:_0xaa068d,type:_0x5d64f3,blockID:_0x1bfcb5}=_0x2d15ca,_0x5cfd01=this[_0x1f15b2(0x386)]()+'/'+_0x5d64f3+_0x1f15b2(0x307)+_0xaa068d+_0x1f15b2(0x2f7)+_0x1bfcb5;return(await this[_0x1f15b2(0x220)][_0x1f15b2(0x12c)](_0x5cfd01))[_0x1f15b2(0x2d3)];}async['getDeserializedSheetBlock'](_0x1854f9,_0x57a988){var _0x18798b=_0xb830ac;const {unitID:_0x2eaabf,type:_0x560684,blockID:_0x44decd}=_0x57a988,_0x53d3ac=this[_0x18798b(0x386)]()+_0x18798b(0x2f7)+_0x560684+'/unit/'+_0x2eaabf+'/block/'+_0x44decd;return(await this[_0x18798b(0x220)][_0x18798b(0x12c)](_0x53d3ac))[_0x18798b(0x2d3)];}async[_0xb830ac(0x199)](_0x10c1f1,_0x39614c){var _0x49f0a9=_0xb830ac;const {unitID:_0x267387,type:_0x5f51c7,from:_0x32607b,to:_0x4be46b}=_0x39614c,_0x1cfc97=this['_getAPIPrefix']()+'/'+_0x5f51c7+_0x49f0a9(0x307)+_0x267387+_0x49f0a9(0x13e)+_0x32607b+_0x49f0a9(0x1d8)+_0x4be46b;return(await this[_0x49f0a9(0x220)][_0x49f0a9(0x12c)](_0x1cfc97))['body'];}['getSnapshotAPIPath'](){var _0x37ef2=_0xb830ac,_0x54c205;return(_0x54c205=this[_0x37ef2(0x25e)][_0x37ef2(0x144)](ps))!=null?_0x54c205:this[_0x37ef2(0x386)]();}[_0xb830ac(0x386)](){var _0x5b5884=_0xb830ac,_0x525420;const _0x4562bd=this[_0x5b5884(0x25e)]['getConfig'](K);return(_0x525420=_0x4562bd==null?void 0x0:_0x4562bd['snapshotServerUrl'])!=null?_0x525420:Es;}async['getResourcesRequest'](_0x582c89,_0x466215){var _0x237b9d=_0xb830ac;const _0x4c7e4b=_0x237b9d(0x2fc)+_0x466215[_0x237b9d(0x348)]+_0x237b9d(0x307)+_0x466215[_0x237b9d(0x3f5)]+_0x237b9d(0x1d9);return(await this[_0x237b9d(0x220)][_0x237b9d(0x12c)](_0x4c7e4b,{'params':{'resourceId':JSON[_0x237b9d(0x2b2)](_0x466215[_0x237b9d(0x3f4)])}}))[_0x237b9d(0x2d3)];}[_0xb830ac(0x1ab)](){var _0x5f253d=_0xb830ac;throw new Error(_0x5f253d(0x292));}[_0xb830ac(0x2fa)](){var _0x41f055=_0xb830ac;throw new Error(_0x41f055(0x292));}[_0xb830ac(0x254)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xb830ac(0x361)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0x288b82=_0xb830ac;throw new Error(_0x288b82(0x292));}[_0xb830ac(0x1a7)](){var _0x5e35c2=_0xb830ac;throw new Error(_0x5e35c2(0x292));}};Ct=sr([ai(0x0,_0x495b35),ai(0x1,_0x2aff60(_0x562ff5))],Ct);var nr=Object[_0xb830ac(0x2f2)],rr=(_0x376c25,_0x8bcc9f,_0x38400a,_0x5ef4e2)=>{var _0xe3492c=_0xb830ac;for(var _0x5b4e93=_0x5ef4e2>0x1?void 0x0:_0x5ef4e2?nr(_0x8bcc9f,_0x38400a):_0x8bcc9f,_0x15b662=_0x376c25[_0xe3492c(0x13f)]-0x1,_0x12697c;_0x15b662>=0x0;_0x15b662--)(_0x12697c=_0x376c25[_0x15b662])&&(_0x5b4e93=_0x12697c(_0x5b4e93)||_0x5b4e93);return _0x5b4e93;},Ae=(_0x544d91,_0x335091)=>(_0x9648aa,_0x220031)=>_0x335091(_0x9648aa,_0x220031,_0x544d91);let bt=class extends _0x283e51{constructor(_0x3d004b,_0x108777,_0x5564a6,_0x62cd46,_0x7aedf2){super(_0x3d004b,_0x108777,_0x5564a6),this['_transformService']=_0x62cd46,this['_logService']=_0x7aedf2;}[_0xb830ac(0x3f2)](_0x4819c2,_0x3524e5){var _0x32503e=_0xb830ac;const _0x33bf86=this['_getUndoStack'](_0x4819c2);if(_0x33bf86)try{const _0x26cb56=this[_0x32503e(0x2f5)](_0x33bf86,_0x3524e5);this['_substituteUndoStack'](_0x4819c2,_0x26cb56);}catch(_0x587f4d){this['_logService'][_0x32503e(0x375)](_0x32503e(0x17f),_0x587f4d),this[_0x32503e(0x1bf)](_0x4819c2);}const _0x1cdb90=this[_0x32503e(0x151)](_0x4819c2);if(_0x1cdb90)try{const _0x24c8a7=this['_transformStack'](_0x1cdb90,_0x3524e5);this['_substituteRedoStack'](_0x4819c2,_0x24c8a7);}catch(_0x2c21cf){this[_0x32503e(0x3ef)][_0x32503e(0x375)](_0x2c21cf),this[_0x32503e(0x152)](_0x4819c2);}}['_clearUndo'](_0x522259){var _0x354cbf=_0xb830ac;const _0x2c278c=this[_0x354cbf(0x11b)](_0x522259);_0x2c278c&&(_0x2c278c[_0x354cbf(0x13f)]=0x0,this['_updateStatus']());}[_0xb830ac(0x152)](_0x37891b){var _0x3f2c71=_0xb830ac;const _0x532f84=this[_0x3f2c71(0x151)](_0x37891b);_0x532f84&&(_0x532f84[_0x3f2c71(0x13f)]=0x0,this[_0x3f2c71(0x298)]());}[_0xb830ac(0x3e2)](_0x3ebfd9,_0x5bfb2f){var _0x4c5ff6=_0xb830ac;this[_0x4c5ff6(0x28f)][_0x4c5ff6(0x1af)](_0x3ebfd9,_0x5bfb2f),this[_0x4c5ff6(0x298)]();}['_substituteRedoStack'](_0x3630fa,_0x5dbb4f){var _0x41242b=_0xb830ac;this['_redoStacks'][_0x41242b(0x1af)](_0x3630fa,_0x5dbb4f),this['_updateStatus']();}[_0xb830ac(0x2f5)](_0x4e4c23,_0x737b66){var _0x569063=_0xb830ac;const _0x4e4a2c=[];let _0x4316f6=_0x737b66,_0x3e73be=_0x737b66;for(let _0x170883=_0x4e4c23[_0x569063(0x13f)]-0x1;_0x170883>=0x0;_0x170883--){const {unitID:_0x467037,undoMutations:_0x4cd2ed,redoMutations:_0x450638}=_0x4e4c23[_0x170883],_0x1c4f64=this[_0x569063(0x29a)][_0x569063(0x1f7)](_0x4316f6,_0x4cd2ed),_0xe79540=this[_0x569063(0x29a)][_0x569063(0x1f7)](_0x3e73be,_0x450638);if(_0x2a7718(_0x1c4f64)||_0x2a7718(_0xe79540)){this[_0x569063(0x3ef)][_0x569063(0x375)](_0x569063(0x17f),_0x569063(0x33c),_0x1c4f64,_0xe79540);break;}_0x4316f6=_0x1c4f64['c1Prime'],_0x3e73be=_0xe79540[_0x569063(0x22a)],_0x4e4a2c[_0x569063(0x1e6)]({'unitID':_0x467037,'undoMutations':_0x1c4f64[_0x569063(0x328)],'redoMutations':_0xe79540['m2Prime']});}return _0x4e4a2c['reverse']();}};bt=rr([Ae(0x0,_0x469993),Ae(0x1,_0x26c597),Ae(0x2,_0x3befc9),Ae(0x3,_0x3e67f5),Ae(0x4,_0x469422)],bt);var ar=Object[_0xb830ac(0x180)],or=Object['getOwnPropertyDescriptor'],cr=(_0x31ea53,_0x1f3846,_0x1883d4)=>_0x1f3846 in _0x31ea53?ar(_0x31ea53,_0x1f3846,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1883d4}):_0x31ea53[_0x1f3846]=_0x1883d4,_r=(_0x5e1989,_0x5601ce,_0x5a9f26,_0x26b0f5)=>{var _0x5f45ad=_0xb830ac;for(var _0x29b53b=_0x26b0f5>0x1?void 0x0:_0x26b0f5?or(_0x5601ce,_0x5a9f26):_0x5601ce,_0x156c54=_0x5e1989[_0x5f45ad(0x13f)]-0x1,_0x133129;_0x156c54>=0x0;_0x156c54--)(_0x133129=_0x5e1989[_0x156c54])&&(_0x29b53b=_0x133129(_0x29b53b)||_0x29b53b);return _0x29b53b;},pt=(_0x3ef7b3,_0x591369)=>(_0x2a739a,_0x3ed6cc)=>_0x591369(_0x2a739a,_0x3ed6cc,_0x3ef7b3),hr=(_0x13bdee,_0x76da66,_0x1b5263)=>cr(_0x13bdee,_0x76da66+'',_0x1b5263);const lr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Dt=class extends _0x14de56{constructor(_0x2a72a1,_0x3c0079,_0x342ebd,_0x16d101){var _0x3e6833=_0xb830ac;super(),D(this,_0x3e6833(0x105)),(this[_0x3e6833(0x3ef)]=_0x3c0079,this[_0x3e6833(0x3ca)]=_0x342ebd,this[_0x3e6833(0x25e)]=_0x16d101);const {..._0x27bdc8}=_0x5e72bb({},ks,_0x2a72a1);if(!_0x27bdc8['socketService'])throw new Error(_0x3e6833(0x2e1));this[_0x3e6833(0x105)]=_0x27bdc8,this['_configService'][_0x3e6833(0x2f8)](K,_0x27bdc8);}[_0xb830ac(0x1be)](){var _0x5a6f20=_0xb830ac;this[_0x5a6f20(0x1d4)](),this[_0x5a6f20(0x19f)]();}[_0xb830ac(0x1d4)](){var _0x4272b0=_0xb830ac,_0x3748e2,_0x9cc506;this[_0x4272b0(0x3ca)][_0x4272b0(0x362)](_0xf3cf67)&&this['_logService'][_0x4272b0(0x375)]('[UniverCollaborationClientPlugin]',_0x4272b0(0x2b6));const _0x295ec3=_0x5d2cbc([[_0xf3cf67,{'useClass':bt}],[Le],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this[_0x4272b0(0x105)][_0x4272b0(0x372)]}],[_0x256d14,{'useClass':Ct}],[_0x9db73a,{'useClass':Tt}],[_0x2e435f,{'useClass':Rt}],[_0x4eff9c,{'useClass':Nt}],[nt],[gt]],(_0x3748e2=this[_0x4272b0(0x105)])==null?void 0x0:_0x3748e2[_0x4272b0(0x1cd)]);if(!((_0x9cc506=this[_0x4272b0(0x105)])!=null&&_0x9cc506['enableSingleActiveInstanceLock'])){const _0x40b8bf=_0x295ec3['findIndex'](([_0x1998e1])=>_0x1998e1===_t);_0x40b8bf!==-0x1&&_0x295ec3['splice'](_0x40b8bf,0x1);}_0x4eb64e(this[_0x4272b0(0x3ca)],_0x295ec3);}[_0xb830ac(0x19f)](){var _0x1b2055=_0xb830ac,_0x1eeb96,_0x524b44,_0x14e8ef;this[_0x1b2055(0x3ca)]['get'](_0x562ff5)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x80a204({'maxParallel':0x6})}),(_0x1eeb96=this['_config'])!=null&&_0x1eeb96[_0x1b2055(0x3da)]||(_0x524b44=this['_injector'][_0x1b2055(0x12c)](X,_0x315b9b[_0x1b2055(0x38d)]))==null||_0x524b44[_0x1b2055(0x10e)](),(_0x14e8ef=this[_0x1b2055(0x105)])!=null&&_0x14e8ef[_0x1b2055(0x208)]&&_0xd8901c(this['_injector'],[[rt]]),_0xd8901c(this[_0x1b2055(0x3ca)],[[at],[nt],[ot]]);}};hr(Dt,'pluginName',lr),Dt=_r([_0x22d998(_0x3bfe3e,_0x267d46),pt(0x1,_0x469422),pt(0x2,_0x2aff60(_0x57442c)),pt(0x3,_0x495b35)],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,Le 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 _0x3f511f=_0x3312;(function(_0x1bf32c,_0x1dfc15){var _0x9cf6a6=_0x3312,_0x109024=_0x1bf32c();while(!![]){try{var _0x14f1cb=parseInt(_0x9cf6a6(0x262))/0x1*(parseInt(_0x9cf6a6(0x237))/0x2)+-parseInt(_0x9cf6a6(0x3ef))/0x3*(parseInt(_0x9cf6a6(0x327))/0x4)+-parseInt(_0x9cf6a6(0x227))/0x5*(-parseInt(_0x9cf6a6(0x3a5))/0x6)+parseInt(_0x9cf6a6(0x31d))/0x7+parseInt(_0x9cf6a6(0x348))/0x8+-parseInt(_0x9cf6a6(0x1f1))/0x9*(parseInt(_0x9cf6a6(0x30e))/0xa)+-parseInt(_0x9cf6a6(0x185))/0xb*(parseInt(_0x9cf6a6(0x189))/0xc);if(_0x14f1cb===_0x1dfc15)break;else _0x109024['push'](_0x109024['shift']());}catch(_0x77483d){_0x109024['push'](_0x109024['shift']());}}}(_0x5c3a,0xb287f));var Di=Object[_0x3f511f(0x1f2)],yi=(_0x1ace73,_0x13b188,_0x578e2f)=>_0x13b188 in _0x1ace73?Di(_0x1ace73,_0x13b188,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x578e2f}):_0x1ace73[_0x13b188]=_0x578e2f,D=(_0x2c1f11,_0x4ccf30,_0x452813)=>yi(_0x2c1f11,typeof _0x4ccf30!=_0x3f511f(0x236)?_0x4ccf30+'':_0x4ccf30,_0x452813);import{CollaborationEvent as _0x2680c9,ITransformService as _0x167c42,isTransformMutationsWithChangesetSuccess as _0x254404,mapDocumentTypeToUniverType as _0x37bed9,RevisionService as _0x1cfcdb,isTransformChangesetsSuccess as _0xf5d175,EmptyMutationInfo as _0x42efff,CompressMutationService as _0xe4f19a,parseProtocolChangeset as _0x431e34,uuidv4 as _0x1765df,ISnapshotServerService as _0x11f2d,parseChangesetToProtocol as _0x38c46d,SnapshotService as _0x4b0070,textEncoder as _0x5a55af,b64DecodeUnicode as _0x48716e,isTransformMutationsWithChangesetFailure as _0x1a5e8b,UniverCollaborationPlugin as _0x211fe8}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x5075a6,Inject as _0x862a0d,UserManagerService as _0x27edd9,Disposable as _0x577742,UniverInstanceType as _0x3e374e,ILogService as _0x17b4dd,IConfigService as _0x603196,Optional as _0x70dca2,RxDisposable as _0x41c421,createIdentifier as _0x2afbaf,Injector as _0xe7d96f,Tools as _0x47c527,Rectangle as _0x273d70,ICommandService as _0x5cc981,JSONX as _0x56ce73,IUndoRedoService as _0x3d9d8f,IPermissionService as _0x5b035a,LocaleService as _0x37e3a1,sequenceExecute as _0x564c85,toDisposable as _0x5c5c93,CommandType as _0xd00e31,DisposableCollection as _0x27be84,Workbook as _0x546167,resolveWithBasePath as _0x22e62a,generateRandomId as _0x5c54b2,MentionType as _0x2b4b1b,isInternalEditorID as _0x52995b,LocalUndoRedoService as _0x48ac72,IContextService as _0x4f9217,DependentOn as _0x37369c,Plugin as _0x5097f0,merge as _0x5b290c,mergeOverrideWithDependencies as _0x59901f,IAuthzIoService as _0x4bbdba,IMentionIOService as _0x13d4a1,registerDependencies as _0x1123f6,Quantity as _0xe44e06,touchDependencies as _0x4dc1c9}from'@univerjs/core';import{RichTextEditingMutation as _0x12d547}from'@univerjs/docs';import{SheetsSelectionsService as _0x17f305,SetSelectionsOperation as _0x176788,InsertSheetMutation as _0x29b55e,WorkbookEditablePermission as _0x229869,SheetPermissionInitController as _0x3f3928}from'@univerjs/sheets';import{Subject as _0x35a8e1,merge as _0x4f44f8,of as _0x1753f1,BehaviorSubject as _0x39fb43,takeUntil as _0xdce284,ReplaySubject as _0x4491d9,take as _0x37fcbe,map as _0x20d992,shareReplay as _0x56a8f2,firstValueFrom as _0x361e90,concatMap as _0x3bcad0}from'rxjs';import{ITelemetryService as _0x358dd5}from'@univerjs/telemetry';import{map as _0x509a8f,take as _0x5e354b,filter as _0x3c189a,delay as _0x438a1d,takeUntil as _0x1710a7}from'rxjs/operators';import{HTTPService as _0x2c0d52,ISocketService as _0x2fefc9,MergeInterceptorFactory as _0x377e2c,HTTPRequest as _0x35b530,UniverNetworkPlugin as _0x2d52a8,ThresholdInterceptorFactory as _0x479f55}from'@univerjs/network';import{ImageSourceType as _0x268ec5,ImageUploadStatusType as _0x30078f,IImageIoService as _0x2356d9}from'@univerjs/drawing';import{getGlobalObject as _0x370ae0}from'@univerjs-pro/license';const Es='/universer-api/snapshot',ps=_0x3f511f(0x1af),ms=0x7d0,Is=_0x3f511f(0x336),Or='/universer-api/user/session-ticket',Ss=_0x3f511f(0x34f),gs=0x7530,di=_0x3f511f(0x186),fi=0x4e20,Ts=0x4e20,Os=_0x3f511f(0x3dc),Rs=0x3,Rr='LOCAL_CACHE_INTERVAL',Nr=0x3e8,Ns=_0x3f511f(0x420),Cs=_0x3f511f(0x18a),Cr=_0x3f511f(0x286),br=_0x3f511f(0x263);var vi=(_0x2cbbbc=>(_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x1f6)]=0x0]=_0x3f511f(0x1f6),_0x2cbbbc[_0x2cbbbc['OK']=0x1]='OK',_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x19c)]=0x2]=_0x3f511f(0x19c),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x2ea)]=0x3]='PERMISSION_DENIED',_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x1f9)]=0x4]='NOT_FOUND',_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x300)]=0x5]=_0x3f511f(0x300),_0x2cbbbc[_0x2cbbbc['ALREADY_EXISTS']=0x6]=_0x3f511f(0x362),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x3b4)]=0x7]=_0x3f511f(0x3b4),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x1c9)]=0x8]='TOO_MANY_REQUESTS',_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x14d)]=0x9]='COMPLETION_FINISHED',_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x292)]=0xa]=_0x3f511f(0x292),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x431)]=0xb]=_0x3f511f(0x431),_0x2cbbbc[_0x2cbbbc['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x3f511f(0x38b),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x2d7)]=0xd]=_0x3f511f(0x2d7),_0x2cbbbc[_0x2cbbbc['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x3f511f(0x2aa),_0x2cbbbc[_0x2cbbbc['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x3f511f(0x1d0),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x282)]=0x10]=_0x3f511f(0x282),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x3ca)]=0x64]=_0x3f511f(0x3ca),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x3da)]=0x65]=_0x3f511f(0x3da),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x210)]=0xc9]=_0x3f511f(0x210),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x3de)]=0xca]=_0x3f511f(0x3de),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x35a)]=0x1389]=_0x3f511f(0x35a),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x27b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x1ba)]=0x1772]=_0x3f511f(0x1ba),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x133)]=0x1773]=_0x3f511f(0x133),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x380)]=0x1b59]='APPLY_REJECT',_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x119)]=0x1b5a]=_0x3f511f(0x119),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x367)]=0x1b5b]=_0x3f511f(0x367),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x2c3)]=0x1b5c]=_0x3f511f(0x2c3),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x2d4)]=0x1b5d]=_0x3f511f(0x2d4),_0x2cbbbc[_0x2cbbbc['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3f511f(0x152),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x35e)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x1fe)]=0x232a]=_0x3f511f(0x1fe),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x430)]=0x232b]=_0x3f511f(0x430),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x29d)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x416)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x162)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x3f8)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2cbbbc[_0x2cbbbc['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3f511f(0x434),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x294)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x2ef)]=0x271a]=_0x3f511f(0x2ef),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x184)]=0x271b]=_0x3f511f(0x184),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x216)]=0x271c]=_0x3f511f(0x216),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x25d)]=0x271d]=_0x3f511f(0x25d),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x172)]=0x271e]=_0x3f511f(0x172),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x39d)]=0x271f]=_0x3f511f(0x39d),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x137)]=0x2720]=_0x3f511f(0x137),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x12c)]=0x2af9]=_0x3f511f(0x12c),_0x2cbbbc[_0x2cbbbc['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3f511f(0x34a),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x15d)]=0x2ee2]=_0x3f511f(0x15d),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x257)]=0x2ee3]=_0x3f511f(0x257),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x3be)]=0x2ee4]=_0x3f511f(0x3be),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x2fe)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2cbbbc[_0x2cbbbc['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3f511f(0x435),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x333)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x309)]=0x32cb]=_0x3f511f(0x309),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x219)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x2cbbbc[_0x2cbbbc['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x3f511f(0x2f7),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x3ec)]=0x36b3]=_0x3f511f(0x3ec),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x232)]=0x36b4]=_0x3f511f(0x232),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x166)]=0x36b5]=_0x3f511f(0x166),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x341)]=0x36b6]=_0x3f511f(0x341),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x328)]=0x36b7]=_0x3f511f(0x328),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x191)]=0x36b8]=_0x3f511f(0x191),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x192)]=0x3715]=_0x3f511f(0x192),_0x2cbbbc[_0x2cbbbc['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x3f511f(0x3d1),_0x2cbbbc[_0x2cbbbc['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x3f511f(0x2e7),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x14f)]=0x37dd]=_0x3f511f(0x14f),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x38f)]=0x3a99]=_0x3f511f(0x38f),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x212)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x301)]=0x3a9b]=_0x3f511f(0x301),_0x2cbbbc[_0x2cbbbc['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x17a)]=0x3a9d]=_0x3f511f(0x17a),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x39e)]=0x3a9e]=_0x3f511f(0x39e),_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x1fd)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x2cbbbc[_0x2cbbbc[_0x3f511f(0x302)]=0x3e81]=_0x3f511f(0x302),_0x2cbbbc[_0x2cbbbc['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2cbbbc))(vi||{}),Q=(_0x2bab2e=>(_0x2bab2e[_0x2bab2e[_0x3f511f(0x408)]=0x0]=_0x3f511f(0x408),_0x2bab2e[_0x2bab2e['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x2bab2e[_0x2bab2e['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x2bab2e[_0x2bab2e[_0x3f511f(0x1aa)]=0x3]='UNIVER_SLIDE',_0x2bab2e[_0x2bab2e[_0x3f511f(0x174)]=0x4]=_0x3f511f(0x174),_0x2bab2e[_0x2bab2e[_0x3f511f(0x206)]=-0x1]=_0x3f511f(0x206),_0x2bab2e))(Q||{}),j=(_0x355b5c=>(_0x355b5c[_0x355b5c[_0x3f511f(0x346)]=0x0]=_0x3f511f(0x346),_0x355b5c[_0x355b5c['HELLO']=0x1]='HELLO',_0x355b5c[_0x355b5c[_0x3f511f(0x364)]=0x2]=_0x3f511f(0x364),_0x355b5c[_0x355b5c[_0x3f511f(0x2cc)]=0x3]=_0x3f511f(0x2cc),_0x355b5c[_0x355b5c['INGEST']=0x4]=_0x3f511f(0x393),_0x355b5c[_0x355b5c[_0x3f511f(0x13d)]=0x5]='HEARTBEAT',_0x355b5c[_0x355b5c[_0x3f511f(0x223)]=0x6]='RECV',_0x355b5c[_0x355b5c[_0x3f511f(0x206)]=-0x1]='UNRECOGNIZED',_0x355b5c))(j||{}),Ee=(_0x2e67cb=>(_0x2e67cb[_0x2e67cb[_0x3f511f(0x382)]=0x0]='UNKNOWN_CODE',_0x2e67cb[_0x2e67cb['OK']=0x1]='OK',_0x2e67cb[_0x2e67cb[_0x3f511f(0x33a)]=0x2]=_0x3f511f(0x33a),_0x2e67cb[_0x2e67cb[_0x3f511f(0x295)]=0x3e9]=_0x3f511f(0x295),_0x2e67cb[_0x2e67cb[_0x3f511f(0x1ad)]=0x3ea]=_0x3f511f(0x1ad),_0x2e67cb[_0x2e67cb[_0x3f511f(0x3c3)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x2e67cb[_0x2e67cb[_0x3f511f(0x3cd)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x2e67cb[_0x2e67cb[_0x3f511f(0x206)]=-0x1]='UNRECOGNIZED',_0x2e67cb))(Ee||{}),Ei=(_0x5b0098=>(_0x5b0098[_0x5b0098[_0x3f511f(0x26c)]=0x0]='Undefined',_0x5b0098[_0x5b0098[_0x3f511f(0x3d8)]=0x1]=_0x3f511f(0x3d8),_0x5b0098[_0x5b0098[_0x3f511f(0x16e)]=0x2]=_0x3f511f(0x16e),_0x5b0098[_0x5b0098[_0x3f511f(0x204)]=0x3]=_0x3f511f(0x204),_0x5b0098[_0x5b0098[_0x3f511f(0x165)]=0x4]=_0x3f511f(0x165),_0x5b0098[_0x5b0098[_0x3f511f(0x3c6)]=0x5]=_0x3f511f(0x3c6),_0x5b0098[_0x5b0098[_0x3f511f(0x1a3)]=0x6]=_0x3f511f(0x1a3),_0x5b0098[_0x5b0098[_0x3f511f(0x206)]=-0x1]=_0x3f511f(0x206),_0x5b0098))(Ei||{});const bs=_0x3f511f(0x3f3);function Ds(_0x44451c){var _0x1968f4=_0x3f511f;return JSON[_0x1968f4(0x252)](_0x44451c)[_0x1968f4(0x319)];}var re=(_0xc0d59e=>(_0xc0d59e[_0x3f511f(0x40f)]=_0x3f511f(0x40f),_0xc0d59e[_0x3f511f(0x2ea)]=_0x3f511f(0x2ea),_0xc0d59e[_0x3f511f(0x424)]=_0x3f511f(0x424),_0xc0d59e[_0x3f511f(0x425)]=_0x3f511f(0x425),_0xc0d59e[_0x3f511f(0x1ee)]='JOIN_ROOM_FAILED',_0xc0d59e[_0x3f511f(0x296)]='SOCKET_FAILED_RETRY',_0xc0d59e[_0x3f511f(0x11f)]='SOCKET_FAILED',_0xc0d59e['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0xc0d59e))(re||{});class ve{constructor(){var _0x4b401a=_0x3f511f;D(this,_0x4b401a(0x1b8),new _0x35a8e1()),D(this,'event$',this[_0x4b401a(0x1b8)][_0x4b401a(0x26e)]());}[_0x3f511f(0x1f4)](_0x5881ea){var _0x39c567=_0x3f511f;this[_0x39c567(0x1b8)][_0x39c567(0x279)](_0x5881ea);}}class pi{constructor(){var _0x332ae5=_0x3f511f;D(this,_0x332ae5(0x258),new _0x35a8e1()),D(this,_0x332ae5(0x377),this[_0x332ae5(0x258)]['asObservable']());}[_0x3f511f(0x2d6)](_0x3c5bc8){var _0x1d6fda=_0x3f511f;this[_0x1d6fda(0x258)]['next'](_0x3c5bc8);}}var ys=Object[_0x3f511f(0x32b)],Us=(_0x21ea87,_0x1afe1f,_0x5406ee,_0x4232a5)=>{var _0x4c81ea=_0x3f511f;for(var _0x55a4b0=_0x4232a5>0x1?void 0x0:_0x4232a5?ys(_0x1afe1f,_0x5406ee):_0x1afe1f,_0x3f8ca3=_0x21ea87[_0x4c81ea(0x319)]-0x1,_0x5c6ed7;_0x3f8ca3>=0x0;_0x3f8ca3--)(_0x5c6ed7=_0x21ea87[_0x3f8ca3])&&(_0x55a4b0=_0x5c6ed7(_0x55a4b0)||_0x55a4b0);return _0x55a4b0;},Ft=(_0x39dd29,_0x30ea24)=>(_0x3298a4,_0x58e3b8)=>_0x30ea24(_0x3298a4,_0x58e3b8,_0x39dd29);let Pe=class extends _0x577742{constructor(_0x15a40c,_0x4d5266){var _0x4f2042=_0x3f511f;super(),D(this,_0x4f2042(0x3b3),new Map()),D(this,_0x4f2042(0x3c9),new _0x35a8e1()),(this[_0x4f2042(0x320)]=_0x15a40c,this[_0x4f2042(0x36e)]=_0x4d5266,this[_0x4f2042(0x125)](_0x4f44f8(this['_univerInstanceService'][_0x4f2042(0x35c)](_0x3e374e[_0x4f2042(0x247)])[_0x4f2042(0x2c2)](_0x509a8f(_0x9cc642=>_0x9cc642[_0x4f2042(0x3f2)]())),this['_univerInstanceService'][_0x4f2042(0x35c)](_0x3e374e[_0x4f2042(0x2a0)])['pipe'](_0x509a8f(_0x45f4e2=>_0x45f4e2[_0x4f2042(0x3f2)]())),this[_0x4f2042(0x320)][_0x4f2042(0x35c)](_0x3e374e[_0x4f2042(0x1aa)])[_0x4f2042(0x2c2)](_0x509a8f(_0x505b66=>_0x505b66[_0x4f2042(0x3f2)]())))[_0x4f2042(0x1ac)](_0xd9ca27=>this[_0x4f2042(0x16b)](_0xd9ca27))));}[_0x3f511f(0x233)](_0x357b36){var _0x2cb594=_0x3f511f;return this[_0x2cb594(0x3b3)][_0x2cb594(0x1c3)](_0x357b36)?_0x1753f1(this[_0x2cb594(0x3b3)][_0x2cb594(0x31a)](_0x357b36)):this[_0x2cb594(0x3c9)][_0x2cb594(0x2c2)](_0x509a8f(_0x292de1=>{var _0x21b8f3=_0x2cb594;if(_0x292de1===_0x357b36)return this[_0x21b8f3(0x3b3)][_0x21b8f3(0x31a)](_0x292de1);}));}[_0x3f511f(0x2b3)](_0x11ea35){var _0x1005c6=_0x3f511f;this[_0x1005c6(0x36e)]['setCurrentUser'](_0x11ea35);}[_0x3f511f(0x315)](){var _0x20fab9=_0x3f511f;return this['_userManagerService'][_0x20fab9(0x315)]();}[_0x3f511f(0x1e4)](_0x2a4c7f,_0x5df352){var _0x14542f=_0x3f511f;let _0x7e9d56=this['_roomMembers'][_0x14542f(0x31a)](_0x2a4c7f);_0x7e9d56||(_0x7e9d56=new As(),this[_0x14542f(0x3b3)][_0x14542f(0x235)](_0x2a4c7f,_0x7e9d56),this['_roomCreated$'][_0x14542f(0x279)](_0x2a4c7f)),_0x7e9d56[_0x14542f(0x1e4)](_0x5df352);}[_0x3f511f(0x32c)](_0xfa40e2,_0x2e8e6a){var _0xfbd014=_0x3f511f;const _0x59a58f=this[_0xfbd014(0x3b3)][_0xfbd014(0x31a)](_0xfa40e2);_0x59a58f&&_0x59a58f[_0xfbd014(0x32c)](_0x2e8e6a);}[_0x3f511f(0x1a7)](_0x12fbe4){var _0x1bf51e=_0x3f511f;return this['_roomMembers'][_0x1bf51e(0x31a)](_0x12fbe4);}['getMember'](_0x128caf,_0x1ad978){var _0x1ca2fa=_0x3f511f;const _0x2857ee=this[_0x1ca2fa(0x3b3)][_0x1ca2fa(0x31a)](_0x128caf);if(_0x2857ee)return _0x2857ee[_0x1ca2fa(0x19e)](_0x1ad978);}[_0x3f511f(0x16b)](_0x8c60d7){var _0x71ca58=_0x3f511f;const _0x4131be=this[_0x71ca58(0x3b3)][_0x71ca58(0x31a)](_0x8c60d7);_0x4131be&&(_0x4131be[_0x71ca58(0x1b5)](),this[_0x71ca58(0x3b3)][_0x71ca58(0x120)](_0x8c60d7));}[_0x3f511f(0x1b5)](){var _0x576a34=_0x3f511f;this['_roomMembers'][_0x576a34(0x26a)](_0x4c92da=>_0x4c92da[_0x576a34(0x1b5)]()),this[_0x576a34(0x3b3)]['clear'](),this[_0x576a34(0x3c9)][_0x576a34(0x1ce)]();}};Pe=Us([Ft(0x0,_0x5075a6),Ft(0x1,_0x862a0d(_0x27edd9))],Pe);class As extends _0x577742{constructor(){var _0x22809f=_0x3f511f;super(...arguments),D(this,_0x22809f(0x1a2),new Map()),D(this,_0x22809f(0x205),new _0x39fb43(this[_0x22809f(0x1a2)])),D(this,_0x22809f(0x245),this[_0x22809f(0x205)][_0x22809f(0x26e)]());}['dispose'](){var _0x387a1f=_0x3f511f;this[_0x387a1f(0x1a2)][_0x387a1f(0x1ed)]();}[_0x3f511f(0x1e4)](_0x213a94){var _0xccd768=_0x3f511f;this['_members'][_0xccd768(0x235)](_0x213a94[_0xccd768(0x208)],_0x213a94),this['_emitMembers']();}[_0x3f511f(0x32c)](_0x2f3200){var _0x303e39=_0x3f511f;this[_0x303e39(0x1a2)]['delete'](_0x2f3200);}[_0x3f511f(0x19e)](_0x16c54d){var _0x31c45a=_0x3f511f;return this[_0x31c45a(0x1a2)][_0x31c45a(0x31a)](_0x16c54d);}[_0x3f511f(0x3a0)](){var _0x5bc21b=_0x3f511f;return Array['from'](this[_0x5bc21b(0x1a2)][_0x5bc21b(0x22a)]());}['_emitMembers'](){var _0x470754=_0x3f511f;this[_0x470754(0x205)][_0x470754(0x279)](this[_0x470754(0x1a2)]);}}var Ps=Object[_0x3f511f(0x32b)],Ls=(_0x20f1ee,_0x10cb57,_0x107e8e,_0x1185af)=>{for(var _0x21b2b3=_0x1185af>0x1?void 0x0:_0x1185af?Ps(_0x10cb57,_0x107e8e):_0x10cb57,_0x212fa8=_0x20f1ee['length']-0x1,_0x41cc43;_0x212fa8>=0x0;_0x212fa8--)(_0x41cc43=_0x20f1ee[_0x212fa8])&&(_0x21b2b3=_0x41cc43(_0x21b2b3)||_0x21b2b3);return _0x21b2b3;},Oe=(_0x37605a,_0x2683cb)=>(_0x355812,_0x26be6f)=>_0x2683cb(_0x355812,_0x26be6f,_0x37605a),me=(_0xe006c1=>(_0xe006c1[_0xe006c1[_0x3f511f(0x3ac)]=0x0]=_0x3f511f(0x3ac),_0xe006c1[_0xe006c1[_0x3f511f(0x3b0)]=0x1]='JOINING',_0xe006c1[_0xe006c1[_0x3f511f(0x321)]=0x2]=_0x3f511f(0x321),_0xe006c1[_0xe006c1[_0x3f511f(0x334)]=0x3]=_0x3f511f(0x334),_0xe006c1))(me||{});const jt={[Ee['FAIL']]:_0x3f511f(0x207),[Ee[_0x3f511f(0x295)]]:_0x3f511f(0x209),[Ee[_0x3f511f(0x1ad)]]:_0x3f511f(0x13f),[Ee[_0x3f511f(0x3c3)]]:'session.room-permission-denied',[Ee[_0x3f511f(0x3cd)]]:_0x3f511f(0x32e)};let mt=class extends _0x41c421{constructor(_0x43b8cf,_0x55962e,_0x142811,_0x4ab73f,_0xda1b3b,_0x162f28,_0x1102c8,_0xef02af){var _0x526827=_0x3f511f;super(),D(this,_0x526827(0x42c),new _0x39fb43(0x0)),D(this,_0x526827(0x381),this['_sessionStatus$'][_0x526827(0x26e)]()),D(this,_0x526827(0x1b8),new _0x35a8e1()),D(this,_0x526827(0x369),this[_0x526827(0x1b8)][_0x526827(0x26e)]()),D(this,_0x526827(0x2b0)),D(this,_0x526827(0x2e1)),D(this,_0x526827(0x2ab)),D(this,'_shouldReportTelemetry',!0x1),D(this,_0x526827(0x299),null),(this['_unitID']=_0x43b8cf,this[_0x526827(0x3ae)]=_0x142811,this[_0x526827(0x25a)]=_0x4ab73f,this['_memberService']=_0xda1b3b,this['_commentService']=_0x162f28,this[_0x526827(0x3bd)]=_0x1102c8,this[_0x526827(0x2b1)]=_0xef02af,this[_0x526827(0x118)]=!!this[_0x526827(0x2b1)],_0x55962e[_0x526827(0x2c2)](_0xdce284(this[_0x526827(0x16c)]))[_0x526827(0x1ac)](_0x34a76d=>{var _0x4da24e=_0x526827,_0x28822e;typeof _0x34a76d>'u'||(this[_0x4da24e(0x2b0)]=_0x34a76d,_0x34a76d?(this[_0x4da24e(0x145)](_0x34a76d),this[_0x4da24e(0x2e1)]=_0x34a76d[_0x4da24e(0x366)][_0x4da24e(0x1ac)](_0xaddd54=>{var _0x16d0be=_0x4da24e;_0xaddd54[_0x16d0be(0x1b1)]===this[_0x16d0be(0x2f5)]&&this[_0x16d0be(0x168)](_0xaddd54);})):(this[_0x4da24e(0x24b)](),this[_0x4da24e(0x42c)][_0x4da24e(0x279)](0x2),(_0x28822e=this[_0x4da24e(0x2e1)])==null||_0x28822e[_0x4da24e(0x2a3)](),this[_0x4da24e(0x2e1)]=null));}));}get[_0x3f511f(0x21e)](){var _0x1ae7cf=_0x3f511f;return this[_0x1ae7cf(0x42c)]['getValue']();}[_0x3f511f(0x142)](){var _0xc7de5f=_0x3f511f,_0x50ad05,_0x154716;return(_0x154716=(_0x50ad05=this['_socket'])==null?void 0x0:_0x50ad05[_0xc7de5f(0x208)])!=null?_0x154716:null;}[_0x3f511f(0x1b5)](){var _0x1a3223=_0x3f511f;super[_0x1a3223(0x1b5)](),this[_0x1a3223(0x16c)][_0x1a3223(0x279)](),this[_0x1a3223(0x16c)]['complete']();}[_0x3f511f(0x42f)](){var _0x3b0459=_0x3f511f,_0x210622,_0x580918;this[_0x3b0459(0x24b)](),(_0x210622=this[_0x3b0459(0x2b0)])==null||_0x210622[_0x3b0459(0x27d)]({'cmd':j[_0x3b0459(0x2cc)],'data':{'roomID':this[_0x3b0459(0x2f5)]}}),(_0x580918=this['_socket'])==null||_0x580918[_0x3b0459(0x42f)](),this['_event$'][_0x3b0459(0x1ce)](),this[_0x3b0459(0x42c)][_0x3b0459(0x1ce)](),this[_0x3b0459(0x1b5)]();}['_onCombEvent'](_0x43f180){var _0x27bbd7=_0x3f511f;_0x43f180[_0x27bbd7(0x354)]===j[_0x27bbd7(0x364)]?this[_0x27bbd7(0x1ef)](_0x43f180):_0x43f180[_0x27bbd7(0x354)]===j[_0x27bbd7(0x223)]&&this['_onRecvEvent'](_0x43f180);}[_0x3f511f(0x145)](_0x7e2d){var _0x56c0a3=_0x3f511f;this[_0x56c0a3(0x42c)]['next'](0x1),_0x7e2d[_0x56c0a3(0x27d)]({'cmd':j['JOIN'],'routeKey':this[_0x56c0a3(0x2f5)],'routeType':'','data':{'rooms':[{'roomID':this[_0x56c0a3(0x2f5)]}]}});}[_0x3f511f(0x1ef)](_0xd3776e){var _0x4861e0=_0x3f511f,_0x33de8e;if(_0xd3776e[_0x4861e0(0x386)]in jt){this[_0x4861e0(0x3bd)][_0x4861e0(0x1f4)]({'id':re[_0x4861e0(0x1ee)],'data':jt[_0xd3776e[_0x4861e0(0x386)]]}),this['_sessionStatus$'][_0x4861e0(0x279)](0x2);return;}this[_0x4861e0(0x42c)][_0x4861e0(0x279)](0x3);const _0x27bb92=(_0x33de8e=_0xd3776e['data'][_0x4861e0(0x2bb)][this[_0x4861e0(0x2f5)]])==null?void 0x0:_0x33de8e[_0x4861e0(0x30b)];_0x27bb92&&_0x27bb92[_0x4861e0(0x26a)](_0x4ec471=>this[_0x4861e0(0x306)][_0x4861e0(0x1e4)](this[_0x4861e0(0x2f5)],_0x4ec471));}[_0x3f511f(0x135)](_0x2efe65){var _0x45c178=_0x3f511f;try{const _0x54972e=_0x2efe65[_0x45c178(0x2c7)];switch(_0x54972e[_0x45c178(0x2b4)]){case _0x2680c9[_0x45c178(0x1cd)]:this['_onUserJoin'](_0x54972e),this['_event$'][_0x45c178(0x279)](_0x54972e);break;case _0x2680c9['USERS_LEAVE']:this['_onUserLeave'](_0x54972e),this['_event$'][_0x45c178(0x279)](_0x54972e);break;case _0x2680c9[_0x45c178(0x284)]:case _0x2680c9[_0x45c178(0x2fa)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x45c178(0x1b8)][_0x45c178(0x279)](_0x54972e);break;case _0x2680c9[_0x45c178(0x1cc)]:this['_logService'][_0x45c178(0x27e)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x45c178(0x252)](_0x54972e)),this[_0x45c178(0x1b8)][_0x45c178(0x279)](_0x54972e);break;case _0x2680c9['COMMENT_UPDATE']:this[_0x45c178(0x23e)][_0x45c178(0x2d6)](_0x54972e[_0x45c178(0x2c7)]),this['_event$'][_0x45c178(0x279)](_0x54972e);break;default:this[_0x45c178(0x1b8)][_0x45c178(0x279)](_0x54972e);}}catch(_0x1833fb){this[_0x45c178(0x3ae)]['error'](_0x1833fb,_0x2efe65);}}[_0x3f511f(0x1b2)](_0x23a31d){var _0x424947=_0x3f511f;this[_0x424947(0x306)]['updateMember'](this[_0x424947(0x2f5)],_0x23a31d[_0x424947(0x2c7)]);}[_0x3f511f(0x37e)](_0x478c75){var _0x5ec3b8=_0x3f511f;this['_memberService'][_0x5ec3b8(0x32c)](this[_0x5ec3b8(0x2f5)],_0x478c75['data']['memberID']);}async[_0x3f511f(0x27d)](_0x4b44fd,_0x176aff){var _0x5c5a8c=_0x3f511f;if(this[_0x5c5a8c(0x21e)]!==0x3||!this[_0x5c5a8c(0x2b0)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x4b44fd[_0x5c5a8c(0x2b4)]===_0x2680c9[_0x5c5a8c(0x3e7)]&&(this[_0x5c5a8c(0x2b2)](),this['_startTelemetryCollaborationNewChangeset'](_0x4b44fd)),this[_0x5c5a8c(0x2b0)][_0x5c5a8c(0x27d)]({'cmd':j[_0x5c5a8c(0x393)],'routeKey':_0x176aff,'routeType':'','data':_0x4b44fd});}catch(_0x57fee0){this[_0x5c5a8c(0x3ae)][_0x5c5a8c(0x27e)](_0x57fee0);}}[_0x3f511f(0x2b2)](){var _0x203d47=_0x3f511f,_0xf5a1a7;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x26e57f=_0x3312;this['_collaborationTimeoutTimer']=null,this[_0x26e57f(0x3bd)][_0x26e57f(0x1f4)]({'id':re[_0x26e57f(0x40a)]});},(_0xf5a1a7=this[_0x203d47(0x25a)][_0x203d47(0x117)](di))!=null?_0xf5a1a7:fi);}[_0x3f511f(0x3d5)](){var _0x23cf64=_0x3f511f;this[_0x23cf64(0x2ab)]&&(clearTimeout(this[_0x23cf64(0x2ab)]),this[_0x23cf64(0x2ab)]=null);}[_0x3f511f(0x360)](_0x1a1c46){var _0x404d95=_0x3f511f;if(!this[_0x404d95(0x118)])return;const {data:_0x4a9ac0}=_0x1a1c46,{unitID:_0x1db09e,changeset:_0x345a5b}=_0x4a9ac0,{mutations:_0x16fe36,type:_0x30413e}=_0x345a5b;this['_telemetryInfo']={'unitId':_0x1db09e,'type':_0x30413e,'startTime':performance[_0x404d95(0x1de)](),'stopTime':0x0,'duration':0x0,'size':Ds(_0x16fe36)};}[_0x3f511f(0x25c)](){var _0x43b9c3=_0x3f511f;if(this[_0x43b9c3(0x118)]){if(!this[_0x43b9c3(0x299)]){this[_0x43b9c3(0x3ae)][_0x43b9c3(0x27e)](_0x43b9c3(0x195),_0x43b9c3(0x139));return;}this['_telemetryInfo']['stopTime']=performance[_0x43b9c3(0x1de)](),this[_0x43b9c3(0x299)][_0x43b9c3(0x285)]=this[_0x43b9c3(0x299)][_0x43b9c3(0x15b)]-this[_0x43b9c3(0x299)]['startTime'],this[_0x43b9c3(0x2b1)][_0x43b9c3(0x41e)](bs,this[_0x43b9c3(0x299)]),this[_0x43b9c3(0x299)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};mt=Ls([Oe(0x2,_0x17b4dd),Oe(0x3,_0x603196),Oe(0x4,_0x862a0d(Pe)),Oe(0x5,_0x862a0d(pi)),Oe(0x6,_0x862a0d(ve)),Oe(0x7,_0x70dca2(_0x358dd5))],mt);const X=_0x2afbaf(_0x3f511f(0x214));function Dr(_0x2a3162){return'unit-cache-'+_0x2a3162;}var Ms=Object['getOwnPropertyDescriptor'],ws=(_0x488918,_0x459a56,_0x196954,_0x4d0b26)=>{var _0x13429b=_0x3f511f;for(var _0x37f28c=_0x4d0b26>0x1?void 0x0:_0x4d0b26?Ms(_0x459a56,_0x196954):_0x459a56,_0x1941fb=_0x488918[_0x13429b(0x319)]-0x1,_0x1a5028;_0x1941fb>=0x0;_0x1941fb--)(_0x1a5028=_0x488918[_0x1941fb])&&(_0x37f28c=_0x1a5028(_0x37f28c)||_0x37f28c);return _0x37f28c;},ut=(_0x5e67cb,_0xe242ee)=>(_0x2ee15c,_0x178032)=>_0xe242ee(_0x2ee15c,_0x178032,_0x5e67cb);function xs(_0x329394){var _0x1f3fa0=_0x3f511f;const {unitID:_0xbaa32,mutations:_0x5e6d5a}=_0x329394;return{'unitId':_0xbaa32,'subUnitId':_0x5e6d5a[_0x1f3fa0(0x319)]>0x0?_0x5e6d5a[0x0]['params'][_0x1f3fa0(0x21a)]:null};}let it=class{constructor(_0x365359,_0x4ba1c3,_0x30b1c7){var _0x44d6d7=_0x3f511f;this['_injector']=_0x365359,this[_0x44d6d7(0x2be)]=_0x4ba1c3,this[_0x44d6d7(0x3d6)]=_0x30b1c7;}[_0x3f511f(0x280)](_0x2bdfe7){var _0x42ef9a=_0x3f511f,_0x3863ac,_0x2fead1,_0x42a909,_0x386584;const _0x3c83ca=this[_0x42ef9a(0x3df)][_0x42ef9a(0x31a)](_0x17f305),{unitId:_0x35159e,subUnitId:_0x49c247}=xs(_0x2bdfe7),_0x5c5cdc=_0x3c83ca==null?void 0x0:_0x3c83ca['getWorkbookSelections'](_0x35159e)[_0x42ef9a(0x200)](),_0x5c8678=(_0x2fead1=(_0x3863ac=this[_0x42ef9a(0x3d6)][_0x42ef9a(0x307)](_0x35159e))==null?void 0x0:_0x3863ac[_0x42ef9a(0x356)]())==null?void 0x0:_0x2fead1[_0x42ef9a(0x18e)]();if(_0x5c5cdc[_0x42ef9a(0x319)]===0x0||!_0x35159e||!_0x49c247)return;const _0x37bcf4=[{'id':_0x176788['id'],'params':{'unitId':_0x35159e,'subUnitId':_0x5c8678,'selections':_0x47c527[_0x42ef9a(0x368)](_0x5c5cdc)}}],_0x94f971=this['_transformService'][_0x42ef9a(0x2de)](_0x2bdfe7,_0x37bcf4);if(!_0x254404(_0x94f971))throw _0x94f971[_0x42ef9a(0x27e)];const _0x173455=(_0x386584=(_0x42a909=_0x94f971['m2Prime'][0x0])==null?void 0x0:_0x42a909[_0x42ef9a(0x2c0)])==null?void 0x0:_0x386584[_0x42ef9a(0x3f9)];if(Array[_0x42ef9a(0x1ab)](_0x173455)&&_0x173455[_0x42ef9a(0x319)]){if(_0x173455[_0x42ef9a(0x319)]===_0x37bcf4[0x0][_0x42ef9a(0x2c0)][_0x42ef9a(0x3f9)][_0x42ef9a(0x319)]&&_0x173455['every']((_0x26113e,_0x35db71)=>_0x273d70[_0x42ef9a(0x375)](_0x26113e[_0x42ef9a(0x42e)],_0x37bcf4[0x0]['params'][_0x42ef9a(0x3f9)][_0x35db71][_0x42ef9a(0x42e)])))return;this[_0x42ef9a(0x3df)][_0x42ef9a(0x31a)](_0x5cc981)[_0x42ef9a(0x154)](_0x176788['id'],{'unitId':_0x35159e,'subUnitId':_0x5c8678,'selections':_0x173455});}}};function _0x3312(_0x3fc96c,_0x4f008c){_0x3fc96c=_0x3fc96c-0x113;var _0x5c3aac=_0x5c3a();var _0x331289=_0x5c3aac[_0x3fc96c];return _0x331289;}it=ws([ut(0x0,_0x862a0d(_0xe7d96f)),ut(0x1,_0x167c42),ut(0x2,_0x5075a6)],it);const _t=_0x2afbaf(_0x3f511f(0x422));var mi=(_0x1ff65f=>(_0x1ff65f[_0x1ff65f['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x3f511f(0x222),_0x1ff65f[_0x1ff65f['OTHER_CLIENTS_EDITING']=0x1]=_0x3f511f(0x1a6),_0x1ff65f))(mi||{});const K='collaboration-client.config',ks={};function $s(_0x1ed6ad){var _0x42f4ce=_0x3f511f,_0x47748e;return!!((_0x47748e=_0x1ed6ad[_0x42f4ce(0x2c0)])!=null&&_0x47748e[_0x42f4ce(0x323)]);}const Hs=new Set([_0x29b55e['id']]);function Vt(_0x36920c,_0x1b8314,_0x39d184,_0x58b403,_0x4ecf8a){var _0x3d0a12=_0x3f511f,_0x343aa9,_0x30f13c,_0x37ea5d,_0x55f8e3;const _0x37275e=[];for(const _0x3e5168 of _0x36920c){if(Hs[_0x3d0a12(0x1c3)](_0x3e5168['id'])){if(_0x37275e[_0x3d0a12(0x319)]>0x0)break;_0x37275e['push'](_0x3e5168);break;}if($s(_0x3e5168)){if(_0x37275e[_0x3d0a12(0x319)]>0x0)break;_0x37275e['push'](_0x3e5168);break;}_0x37275e['push'](_0x3e5168);}const _0x3526f3=(_0x30f13c=(_0x343aa9=_0x4ecf8a[_0x3d0a12(0x315)]())==null?void 0x0:_0x343aa9['userID'])!=null?_0x30f13c:_0x3d0a12(0x238),_0x16c49a=(_0x55f8e3=(_0x37ea5d=_0x4ecf8a[_0x3d0a12(0x315)]())==null?void 0x0:_0x37ea5d['memberID'])!=null?_0x55f8e3:_0x3d0a12(0x238);return{'changeset':{'unitID':_0x1b8314,'type':_0x37bed9(_0x39d184[_0x3d0a12(0x317)](_0x1b8314)),'baseRev':_0x58b403[_0x3d0a12(0x3fc)](_0x1b8314),'revision':0x0,'userID':_0x3526f3,'memberID':_0x16c49a,'mutations':_0x37275e},'pendingMutations':_0x36920c[_0x3d0a12(0x373)](_0x37275e[_0x3d0a12(0x319)])};}function Bs(_0x4dc52b,_0x309e59,_0x317246,_0xafa2f,_0x139d90){var _0xf1ad4e=_0x3f511f,_0x1a9570,_0x200733,_0x25ef58,_0x40bcc5;const _0x324691=[_0x4dc52b[_0xf1ad4e(0x331)]((_0x1f6506,_0x1235dd)=>{var _0x531cd9=_0xf1ad4e,_0x2476c1;const {id:_0x433667}=_0x1f6506,{id:_0x52f0f4,type:_0xc1bc4b}=_0x1235dd,_0x18cd81=(_0x2476c1=_0x1f6506[_0x531cd9(0x2c0)])!=null?_0x2476c1:{'actions':null},_0x550f86=_0x1235dd['params'];if(_0x433667&&_0x433667!==_0x52f0f4)throw new Error(_0x531cd9(0x2d9)+_0x433667+'\x20-\x20'+_0x52f0f4+'.');return{..._0x1f6506,'id':_0x52f0f4,'type':_0xc1bc4b,'params':{'unitId':_0x550f86[_0x531cd9(0x18d)],'textRanges':_0x550f86['textRanges'],'actions':_0x56ce73[_0x531cd9(0x371)](_0x18cd81[_0x531cd9(0x159)],_0x550f86[_0x531cd9(0x159)])}};},{})],_0x3b845c=(_0x200733=(_0x1a9570=_0x139d90[_0xf1ad4e(0x315)]())==null?void 0x0:_0x1a9570['userID'])!=null?_0x200733:'unknown',_0x319ee1=(_0x40bcc5=(_0x25ef58=_0x139d90['getCurrentUser']())==null?void 0x0:_0x25ef58[_0xf1ad4e(0x208)])!=null?_0x40bcc5:_0xf1ad4e(0x238);return{'changeset':{'unitID':_0x309e59,'type':_0x37bed9(_0x317246['getUnitType'](_0x309e59)),'baseRev':_0xafa2f[_0xf1ad4e(0x3fc)](_0x309e59),'revision':0x0,'userID':_0x3b845c,'memberID':_0x319ee1,'mutations':_0x324691},'pendingMutations':[]};}function Ii(_0x56197b,_0x5b02ef){var _0xce1e15=_0x3f511f;const _0x10714b=new _0x4491d9(0x1);return setTimeout(()=>_0x10714b[_0xce1e15(0x279)](_0x5b02ef),_0x56197b),_0x10714b['asObservable']()[_0xce1e15(0x2c2)](_0x37fcbe(0x1));}var Fs=Object[_0x3f511f(0x32b)],Se=(_0x29a5da,_0x3ea518,_0x1a29f2,_0x52dee6)=>{var _0x4dea70=_0x3f511f;for(var _0xb4df66=_0x52dee6>0x1?void 0x0:_0x52dee6?Fs(_0x3ea518,_0x1a29f2):_0x3ea518,_0x59da12=_0x29a5da[_0x4dea70(0x319)]-0x1,_0x2f7279;_0x59da12>=0x0;_0x59da12--)(_0x2f7279=_0x29a5da[_0x59da12])&&(_0xb4df66=_0x2f7279(_0xb4df66)||_0xb4df66);return _0xb4df66;},L=(_0x594e2a,_0x486bfd)=>(_0x7cbe57,_0x377a9c)=>_0x486bfd(_0x7cbe57,_0x377a9c,_0x594e2a),Si=(_0x5b97b3=>(_0x5b97b3[_0x3f511f(0x27f)]='not_collab',_0x5b97b3['SYNCED']=_0x3f511f(0x3c1),_0x5b97b3[_0x3f511f(0x3b5)]='pending',_0x5b97b3['AWAITING']=_0x3f511f(0x1c2),_0x5b97b3['AWAITING_WITH_PENDING']=_0x3f511f(0x2e2),_0x5b97b3[_0x3f511f(0x2cf)]=_0x3f511f(0x399),_0x5b97b3[_0x3f511f(0x424)]=_0x3f511f(0x318),_0x5b97b3['OFFLINE']=_0x3f511f(0x1d3),_0x5b97b3))(Si||{});const gi=0x4e20,Ti=0x2bf20;class ge{constructor(_0x5a161c,_0x4a6fe6,_0x4ae4d0,_0x1c2275,_0x170859,_0x1920c4,_0x12df9d,_0x205157,_0x5bdf0b){var _0x4be224=_0x3f511f;D(this,'_awaitingChangeset',null),D(this,'_pendingMutations',[]),(this[_0x4be224(0x339)]=_0x5a161c,this[_0x4be224(0x3f6)]=_0x4a6fe6,this[_0x4be224(0x116)]=_0x170859,this[_0x4be224(0x2a2)]=_0x1920c4,this['_undoRedoService']=_0x12df9d,this[_0x4be224(0x2da)]=_0x205157,this[_0x4be224(0x2e5)]=_0x5bdf0b,this[_0x4be224(0x311)]=_0x4ae4d0,this[_0x4be224(0x253)]=_0x1c2275);}[_0x3f511f(0x403)](_0x122992){var _0x1b73fe=_0x3f511f;const _0x5c250b=this['_revisionService']['getCurrentRevOfUnit'](this[_0x1b73fe(0x339)]);return _0x122992[_0x1b73fe(0x3ed)]>_0x5c250b+0x1?(this[_0x1b73fe(0x116)][_0x1b73fe(0x3a1)]({'from':_0x5c250b,'to':_0x122992[_0x1b73fe(0x3ed)]-0x1}),!0x0):!0x1;}[_0x3f511f(0x2fc)](_0x4d696a){var _0x32eba2=_0x3f511f;this[_0x32eba2(0x1e8)]['transformUndoRedo'](this['unitID'],_0x4d696a);}[_0x3f511f(0x3fe)](_0x5406f0){var _0x415276=_0x3f511f,_0x53d114,_0x162233;(_0x162233=(_0x53d114=this[_0x415276(0x116)])[_0x415276(0x146)])==null||_0x162233['call'](_0x53d114,_0x5406f0);}['_transformIMECache'](_0x341492){var _0x977863=_0x3f511f,_0x56e2b9,_0x20017e;return(_0x20017e=(_0x56e2b9=this['_handler'])['onTransformIME'])==null?void 0x0:_0x20017e[_0x977863(0x1e1)](_0x56e2b9,_0x341492);}[_0x3f511f(0x1da)](_0x3e2dd8){var _0xdd69ae=_0x3f511f,_0x5e6c93,_0x2c5a9a;return(_0x2c5a9a=(_0x5e6c93=this[_0xdd69ae(0x116)])[_0xdd69ae(0x283)])==null?void 0x0:_0x2c5a9a['call'](_0x5e6c93,_0x3e2dd8);}[_0x3f511f(0x342)](_0x5c9f7a){var _0x30cf13=_0x3f511f,_0xc33fd0,_0x28f032,_0x11c628;return(_0x11c628=(_0x28f032=(_0xc33fd0=this[_0x30cf13(0x116)])[_0x30cf13(0x3a4)])==null?void 0x0:_0x28f032[_0x30cf13(0x1e1)](_0xc33fd0,_0x5c9f7a))!=null?_0x11c628:_0x5c9f7a;}[_0x3f511f(0x21c)](_0x5ed6b4){var _0x1401ab=_0x3f511f,_0x293a6b,_0x1988f,_0x423088;return(_0x423088=(_0x1988f=(_0x293a6b=this[_0x1401ab(0x116)])[_0x1401ab(0x40c)])==null?void 0x0:_0x1988f['call'](_0x293a6b,_0x5ed6b4))!=null?_0x423088:_0x5ed6b4;}['_syncEditingCollabCursor'](_0x438000){var _0x4ad309=_0x3f511f,_0x56a0f4,_0x56267d;if(this[_0x4ad309(0x3f6)]===Q[_0x4ad309(0x2a0)]){const {unitID:_0x527cb0,mutations:_0x2dba1e,memberID:_0x390861}=_0x438000,_0x1174d1=_0x2dba1e[_0x4ad309(0x319)]>0x0?_0x2dba1e[0x0][_0x4ad309(0x2c0)][_0x4ad309(0x128)]:[];Array[_0x4ad309(0x1ab)](_0x1174d1)&&_0x1174d1[_0x4ad309(0x319)]>0x0&&((_0x56267d=(_0x56a0f4=this[_0x4ad309(0x116)])[_0x4ad309(0x15a)])==null||_0x56267d[_0x4ad309(0x1e1)](_0x56a0f4,{'unitID':_0x527cb0,'memberID':_0x390861,'textRanges':_0x1174d1}));}}[_0x3f511f(0x33d)](){var _0x38b1fa=_0x3f511f,_0x26c5bd;(_0x26c5bd=this[_0x38b1fa(0x2e5)])==null||_0x26c5bd[_0x38b1fa(0x31b)](this['unitID'],this[_0x38b1fa(0x3f6)],this[_0x38b1fa(0x311)],this[_0x38b1fa(0x253)]);}['_getCurrentRevision'](){var _0x40f84a=_0x3f511f;return this[_0x40f84a(0x2da)]['getCurrentRevOfUnit'](this[_0x40f84a(0x339)]);}[_0x3f511f(0x324)](){var _0x3dfd30=_0x3f511f;this['_revisionService'][_0x3dfd30(0x268)](this[_0x3dfd30(0x339)]);}[_0x3f511f(0x3e5)](_0x235d76){var _0x2c300f=_0x3f511f,_0x504842;let _0x37bcbd=this[_0x2c300f(0x342)](_0x235d76);_0x37bcbd=this[_0x2c300f(0x21c)](_0x37bcbd);const _0x836b36=_0x564c85(_0x37bcbd[_0x2c300f(0x2ba)],this['_commandService'],{'fromCollab':!0x0});if(!_0x836b36[_0x2c300f(0x22f)])throw _0x836b36[_0x2c300f(0x27e)]instanceof Error?_0x836b36['error']:new Error((_0x504842=_0x836b36[_0x2c300f(0x27e)])!=null?_0x504842:_0x2c300f(0x3eb));this[_0x2c300f(0x3f7)](_0x37bcbd),this[_0x2c300f(0x1da)](_0x37bcbd),this[_0x2c300f(0x2fc)](_0x235d76),this['_transformSelections'](_0x37bcbd),this[_0x2c300f(0x384)](_0x37bcbd),this[_0x2c300f(0x324)]();}}let be=class extends ge{constructor(_0xabbd39,_0x1d8d64,_0x1cd99a,_0x5bf378,_0x425b25,_0x4b1ef1,_0x2c7899,_0x33721e,_0x2603df,_0x43a78f){var _0x1868ca=_0x3f511f;super(_0xabbd39,_0x1d8d64,null,[],_0x1cd99a,_0x2c7899,_0x4b1ef1,_0x5bf378,_0x43a78f),D(this,_0x1868ca(0x17c),'synced'),(this['_injector']=_0x425b25,this[_0x1868ca(0x3ae)]=_0x33721e,this['_transformService']=_0x2603df,this['localCacheService']=_0x43a78f);}['appendMutation'](_0x1d3f6c){var _0x1cd836=_0x3f511f;const _0x3ac0fd=this['_injector']['createInstance'](ae,this[_0x1cd836(0x339)],this[_0x1cd836(0x3f6)],[_0x1d3f6c],this[_0x1cd836(0x116)]);return _0x3ac0fd['_schedule'](),_0x3ac0fd[_0x1cd836(0x33d)](),_0x3ac0fd;}[_0x3f511f(0x3a2)](_0x5bba2a){var _0x169d80=_0x3f511f;if(this[_0x169d80(0x403)](_0x5bba2a))return this['_injector'][_0x169d80(0x24f)](ee,this[_0x169d80(0x339)],this[_0x169d80(0x3f6)],null,[],null,[_0x5bba2a],this[_0x169d80(0x116)]);try{const _0x25f224=this[_0x169d80(0x2be)]['transformMutationsWithChangeset'](_0x5bba2a,[_0x42efff]);if(_0x254404(_0x25f224)){const {c1Prime:_0x5acd7e}=_0x25f224;return this[_0x169d80(0x3e5)](_0x5acd7e),this;}throw _0x25f224[_0x169d80(0x27e)];}catch(_0x3b97e9){return this[_0x169d80(0x3ae)][_0x169d80(0x27e)](_0x3b97e9),this[_0x169d80(0x34d)](!0x1);}}[_0x3f511f(0x34d)](_0x2c917d){var _0x2aab0c=_0x3f511f;return this[_0x2aab0c(0x3df)]['createInstance'](ue,this['unitID'],this[_0x2aab0c(0x3f6)],null,[],this[_0x2aab0c(0x116)],_0x2c917d);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x3f511f(0x357)](){var _0x1587bf=_0x3f511f;throw new Error(_0x1587bf(0x20d));}[_0x3f511f(0x2c5)](){return this;}[_0x3f511f(0x3c8)](){var _0x3ab54d=_0x3f511f;return this[_0x3ab54d(0x3df)][_0x3ab54d(0x24f)](de,this[_0x3ab54d(0x339)],this[_0x3ab54d(0x3f6)],null,[],this[_0x3ab54d(0x116)]);}[_0x3f511f(0x37b)](){return this;}[_0x3f511f(0x23c)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3f511f(0x14e)](){var _0x1ebe60=_0x3f511f;const _0x51e964=this[_0x1ebe60(0x2da)][_0x1ebe60(0x3fc)](this[_0x1ebe60(0x339)]);return this[_0x1ebe60(0x116)][_0x1ebe60(0x3a1)]({'from':_0x51e964,'to':0x0}),this[_0x1ebe60(0x3df)][_0x1ebe60(0x24f)](ee,this[_0x1ebe60(0x339)],this['type'],null,[],null,[],this[_0x1ebe60(0x116)]);}};be=Se([L(0x3,_0x862a0d(_0x1cfcdb)),L(0x4,_0x862a0d(_0xe7d96f)),L(0x5,_0x3d9d8f),L(0x6,_0x5cc981),L(0x7,_0x17b4dd),L(0x8,_0x167c42),L(0x9,_0x70dca2(X))],be);let ae=class extends ge{constructor(_0x53b27a,_0x1a377f,_0xbce676,_0x7d80a,_0x9e474f,_0x2d0d89,_0x28633f,_0x2afd28,_0x5df7b0,_0x52de83,_0x3f0e56,_0x32de62,_0x5572a0,_0x565c55){var _0x2b79bc=_0x3f511f;super(_0x53b27a,_0x1a377f,null,_0xbce676,_0x7d80a,_0x5df7b0,_0x5572a0,_0x2d0d89,_0x565c55),D(this,_0x2b79bc(0x17c),'pending'),D(this,'_scheduleCompleteTimestamp',null),D(this,_0x2b79bc(0x2fb),null),(this[_0x2b79bc(0x3df)]=_0x9e474f,this['_memberService']=_0x28633f,this[_0x2b79bc(0x3ae)]=_0x2afd28,this[_0x2b79bc(0x25a)]=_0x52de83,this[_0x2b79bc(0x2be)]=_0x3f0e56,this[_0x2b79bc(0x320)]=_0x32de62);}['appendMutation'](_0x12bb1d){var _0x9a30bf=_0x3f511f;return this[_0x9a30bf(0x253)][_0x9a30bf(0x41d)](_0x12bb1d),this[_0x9a30bf(0x33d)](),this;}['onRemoteChangeset'](_0x436dfc){var _0x166f17=_0x3f511f;if(this['_checkMissing'](_0x436dfc))return this['_clearScheduledTask'](),this[_0x166f17(0x3df)][_0x166f17(0x24f)](ee,this[_0x166f17(0x339)],this[_0x166f17(0x3f6)],null,this['_pendingMutations'],null,[_0x436dfc],this[_0x166f17(0x116)]);try{const _0x1fa14e=this[_0x166f17(0x2be)]['transformMutationsWithChangeset'](_0x436dfc,this['_pendingMutations']);if(_0x254404(_0x1fa14e)){const {c1Prime:_0x1f4c51,m2Prime:_0x1ea79b}=_0x1fa14e;this['_executeRemoteChangeset'](_0x1f4c51);const _0x546273=this[_0x166f17(0x3df)][_0x166f17(0x24f)](ae,this[_0x166f17(0x339)],this['type'],_0x1ea79b,this['_handler']);this[_0x166f17(0x199)]();const _0x29ad32=new Date()[_0x166f17(0x11d)](),_0x110870=this[_0x166f17(0x290)]?Math[_0x166f17(0x2a5)](this[_0x166f17(0x290)]-_0x29ad32,0x0):this[_0x166f17(0x140)]();return _0x546273[_0x166f17(0x19f)](_0x110870),_0x546273;}throw _0x1fa14e['error'];}catch(_0x37e3af){return this[_0x166f17(0x3ae)][_0x166f17(0x27e)](_0x37e3af),this[_0x166f17(0x34d)](!0x1);}}[_0x3f511f(0x3bf)](){var _0x33b479=_0x3f511f;throw new Error(_0x33b479(0x16a));}[_0x3f511f(0x357)](){var _0x6ce503=_0x3f511f;throw new Error(_0x6ce503(0x2d3));}[_0x3f511f(0x2c5)](){return this;}[_0x3f511f(0x3c8)](){var _0x5e9e11=_0x3f511f;return this[_0x5e9e11(0x199)](),this[_0x5e9e11(0x3df)][_0x5e9e11(0x24f)](de,this[_0x5e9e11(0x339)],this[_0x5e9e11(0x3f6)],null,this[_0x5e9e11(0x253)],this[_0x5e9e11(0x116)]);}['toggleOnline'](){return this;}[_0x3f511f(0x19f)](_0x40252b){var _0x4a7753=_0x3f511f;const _0x4093e6=_0x40252b!=null?_0x40252b:this[_0x4a7753(0x140)]();this['_scheduleCompleteTimestamp']=new Date()[_0x4a7753(0x11d)]()+_0x4093e6,this[_0x4a7753(0x2fb)]=setTimeout(()=>{var _0x29ae29=_0x4a7753;this[_0x29ae29(0x199)]();let _0x4b2b69=null;switch(this[_0x29ae29(0x3f6)]){case Q['UNIVER_SHEET']:{_0x4b2b69=Vt(this[_0x29ae29(0x253)],this[_0x29ae29(0x339)],this['_univerInstanceService'],this[_0x29ae29(0x2da)],this[_0x29ae29(0x306)]);break;}case Q[_0x29ae29(0x2a0)]:{this['_pendingMutations'][_0x29ae29(0x34c)](_0x928077=>_0x928077['id']===_0x12d547['id'])?_0x4b2b69=Bs(this[_0x29ae29(0x253)],this['unitID'],this[_0x29ae29(0x320)],this[_0x29ae29(0x2da)],this[_0x29ae29(0x306)]):_0x4b2b69=Vt(this[_0x29ae29(0x253)],this[_0x29ae29(0x339)],this[_0x29ae29(0x320)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x29ae29(0x1ff)+this[_0x29ae29(0x3f6)]+'\x20in\x20_schedule.');}const {changeset:_0x1a1462,pendingMutations:_0x4bc619}=_0x4b2b69;this[_0x29ae29(0x116)]['onSendChangeset'](_0x1a1462);const _0x5e4372=_0x4bc619[_0x29ae29(0x319)]?this[_0x29ae29(0x3df)][_0x29ae29(0x24f)](oe,this['unitID'],this['type'],_0x1a1462,_0x4bc619,this['_handler'],void 0x0):this[_0x29ae29(0x3df)][_0x29ae29(0x24f)](le,this[_0x29ae29(0x339)],this[_0x29ae29(0x3f6)],_0x1a1462,this[_0x29ae29(0x116)]);_0x5e4372['_updateLocalCache'](),this[_0x29ae29(0x116)][_0x29ae29(0x274)](this,_0x5e4372);},_0x4093e6);}[_0x3f511f(0x140)](){var _0xb2e0c9=_0x3f511f,_0x1d4078;const _0x2dcf71=this[_0xb2e0c9(0x25a)][_0xb2e0c9(0x117)](K);return(_0x1d4078=_0x2dcf71==null?void 0x0:_0x2dcf71[_0xb2e0c9(0x3cc)])!=null?_0x1d4078:ms;}[_0x3f511f(0x23c)](){var _0x236100=_0x3f511f;throw new Error(_0x236100(0x330));}['_clearScheduledTask'](){var _0xd5b2c6=_0x3f511f;this[_0xd5b2c6(0x2fb)]!=null&&(clearTimeout(this[_0xd5b2c6(0x2fb)]),this[_0xd5b2c6(0x2fb)]=null);}[_0x3f511f(0x34d)](_0x1aa790){var _0x414b9e=_0x3f511f;return this[_0x414b9e(0x199)](),this[_0x414b9e(0x3df)][_0x414b9e(0x24f)](ue,this['unitID'],this[_0x414b9e(0x3f6)],null,this[_0x414b9e(0x253)],this[_0x414b9e(0x116)],_0x1aa790);}};ae=Se([L(0x4,_0x862a0d(_0xe7d96f)),L(0x5,_0x862a0d(_0x1cfcdb)),L(0x6,_0x862a0d(Pe)),L(0x7,_0x17b4dd),L(0x8,_0x5cc981),L(0x9,_0x603196),L(0xa,_0x167c42),L(0xb,_0x5075a6),L(0xc,_0x3d9d8f),L(0xd,_0x70dca2(X))],ae);let le=class extends ge{constructor(_0x463d55,_0x56434e,_0x1afeb6,_0xcf858a,_0x2b6612,_0x5c4f66,_0x147f8e,_0x3d7f84,_0x122732,_0x1cc842,_0x21141e){var _0x38b502=_0x3f511f;super(_0x463d55,_0x56434e,_0x1afeb6,[],_0xcf858a,_0x147f8e,_0x1cc842,_0x5c4f66,_0x21141e),D(this,_0x38b502(0x17c),_0x38b502(0x1c2)),D(this,_0x38b502(0x427),0x0),D(this,_0x38b502(0x228),0x0),D(this,'_resendTimer'),D(this,_0x38b502(0x198)),(this[_0x38b502(0x3df)]=_0x2b6612,this[_0x38b502(0x3ae)]=_0x3d7f84,this[_0x38b502(0x2be)]=_0x122732);}[_0x3f511f(0x322)](_0x396914){var _0x5c4ff2=_0x3f511f;this[_0x5c4ff2(0x199)]();const _0x5bed21=this['_injector'][_0x5c4ff2(0x24f)](oe,this[_0x5c4ff2(0x339)],this[_0x5c4ff2(0x3f6)],this[_0x5c4ff2(0x311)],[_0x396914],this[_0x5c4ff2(0x116)],this[_0x5c4ff2(0x246)]);return _0x5bed21[_0x5c4ff2(0x33d)](),_0x5bed21;}[_0x3f511f(0x3a2)](_0x3e3036){var _0x5e3d97=_0x3f511f;if(this['_checkMissing'](_0x3e3036))return this['_clearScheduledTask'](),this[_0x5e3d97(0x3df)][_0x5e3d97(0x24f)](ee,this[_0x5e3d97(0x339)],this['type'],this[_0x5e3d97(0x311)],[],null,[_0x3e3036],this[_0x5e3d97(0x116)]);try{const _0x72a5fe=this['_transformService']['transformChangesets']([_0x3e3036],[this[_0x5e3d97(0x311)]],!0x1);if(_0xf5d175(_0x72a5fe)){const {c1Prime:_0xf0a5a5,c2Prime:_0x12fd57}=_0x72a5fe;this[_0x5e3d97(0x3e5)](_0xf0a5a5[0x0]),_0x12fd57[0x0][_0x5e3d97(0x16d)]=this[_0x5e3d97(0x3f0)](),this[_0x5e3d97(0x199)]();const _0x430694=this['_injector'][_0x5e3d97(0x24f)](le,this[_0x5e3d97(0x339)],this[_0x5e3d97(0x3f6)],_0x12fd57[0x0],this[_0x5e3d97(0x116)]);return _0x430694[_0x5e3d97(0x33d)](),_0x430694;}return this[_0x5e3d97(0x34d)](!0x1);}catch(_0x406718){return this[_0x5e3d97(0x3ae)][_0x5e3d97(0x27e)](_0x406718),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x18ae7e){var _0x35966d=_0x3f511f;this[_0x35966d(0x199)]();const _0x53e488=this[_0x35966d(0x2da)][_0x35966d(0x3fc)](this[_0x35966d(0x339)]);if(_0x18ae7e[_0x35966d(0x3ed)]<_0x53e488-0x1)return this;if(this[_0x35966d(0x403)](_0x18ae7e))return this[_0x35966d(0x3df)][_0x35966d(0x24f)](ee,this[_0x35966d(0x339)],this['type'],null,[],this[_0x35966d(0x311)],[],this[_0x35966d(0x116)]);this[_0x35966d(0x324)]();const _0x1e1573=this['_injector']['createInstance'](be,this['unitID'],this[_0x35966d(0x3f6)],this[_0x35966d(0x116)]);return _0x1e1573[_0x35966d(0x33d)](),_0x1e1573;}[_0x3f511f(0x357)](_0x7a9f45){var _0x7e8d42=_0x3f511f;return this[_0x7e8d42(0x34d)](!!(_0x7a9f45!=null&&_0x7a9f45['isPermissionRej']));}[_0x3f511f(0x2c5)](_0x2f2332){var _0x3f6ffa=_0x3f511f;return this[_0x3f6ffa(0x228)]>Ti?this['toggleOffline']():(this['_resendTimer']=Ii(this[_0x3f6ffa(0x427)],{'timeout':this[_0x3f6ffa(0x427)],'reqId':_0x2f2332[_0x3f6ffa(0x3b1)]}),this[_0x3f6ffa(0x198)]=this[_0x3f6ffa(0x246)]['subscribe'](({reqId:_0xd4f1f3,timeout:_0x1cf575})=>{var _0x514533=_0x3f6ffa;this[_0x514533(0x12f)](_0xd4f1f3,_0x1cf575);}),this);}[_0x3f511f(0x3c8)](){var _0x36637b=_0x3f511f;return this[_0x36637b(0x199)](),this['_injector'][_0x36637b(0x24f)](de,this[_0x36637b(0x339)],this[_0x36637b(0x3f6)],this['_awaitingChangeset'],[],this[_0x36637b(0x116)]);}[_0x3f511f(0x37b)](){return this;}[_0x3f511f(0x23c)](){var _0xba667d=_0x3f511f;this[_0xba667d(0x116)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x3f511f(0x34d)](_0x576242){var _0x32e7f5=_0x3f511f;return this[_0x32e7f5(0x199)](),this[_0x32e7f5(0x3df)]['createInstance'](ue,this[_0x32e7f5(0x339)],this[_0x32e7f5(0x3f6)],this[_0x32e7f5(0x311)],[],this[_0x32e7f5(0x116)],_0x576242);}[_0x3f511f(0x12f)](_0x5b518d,_0x3c8bd5){var _0x4134a6=_0x3f511f,_0x513444;_0x5b518d===((_0x513444=this[_0x4134a6(0x311)])==null?void 0x0:_0x513444['reqId'])&&(this['resend'](),this[_0x4134a6(0x427)]=_0x3c8bd5===0x0?0x3e8:Math['min'](_0x3c8bd5*0x2,gi),this[_0x4134a6(0x228)]+=this['_resendTimeout']);}[_0x3f511f(0x199)](){var _0x291faf=_0x3f511f,_0x52a27c;(_0x52a27c=this[_0x291faf(0x198)])==null||_0x52a27c[_0x291faf(0x2a3)](),this[_0x291faf(0x427)]=0x0,this[_0x291faf(0x228)]=0x0;}};le=Se([L(0x4,_0x862a0d(_0xe7d96f)),L(0x5,_0x862a0d(_0x1cfcdb)),L(0x6,_0x5cc981),L(0x7,_0x17b4dd),L(0x8,_0x167c42),L(0x9,_0x3d9d8f),L(0xa,_0x70dca2(X))],le);let oe=class extends ge{constructor(_0x275114,_0x2d7085,_0x177f47,_0x3a9683,_0x28bc40,_0x146bbd,_0xefe89b,_0x3ea6e1,_0x374155,_0x4ad58c,_0x57f807,_0x3e54ef,_0x1e8852){var _0x1f85ca=_0x3f511f;super(_0x275114,_0x2d7085,_0x177f47,_0x3a9683,_0x28bc40,_0x374155,_0x3e54ef,_0x3ea6e1,_0x1e8852),D(this,_0x1f85ca(0x17c),_0x1f85ca(0x2e2)),D(this,'_resendTimeout',0x0),D(this,_0x1f85ca(0x228),0x0),D(this,_0x1f85ca(0x246)),D(this,_0x1f85ca(0x198)),(this['_injector']=_0xefe89b,this[_0x1f85ca(0x3ae)]=_0x4ad58c,this['_transformService']=_0x57f807,this[_0x1f85ca(0x423)]=_0x1e8852,_0x146bbd&&(this[_0x1f85ca(0x246)]=_0x146bbd,this['_sender']=this[_0x1f85ca(0x246)]['subscribe'](({reqId:_0x16bae7,timeout:_0x2b6832})=>{var _0x256297=_0x1f85ca;this[_0x256297(0x12f)](_0x16bae7,_0x2b6832);})));}[_0x3f511f(0x322)](_0x4039d3){var _0x409142=_0x3f511f;return this[_0x409142(0x253)]['push'](_0x4039d3),this;}[_0x3f511f(0x3a2)](_0x21779a){var _0x254259=_0x3f511f;if(this['_checkMissing'](_0x21779a))return this[_0x254259(0x199)](),this[_0x254259(0x3df)][_0x254259(0x24f)](ee,this['unitID'],this[_0x254259(0x3f6)],this[_0x254259(0x311)],this['_pendingMutations'],null,[_0x21779a],this[_0x254259(0x116)]);try{const _0x54ee6e=this[_0x254259(0x2be)][_0x254259(0x352)]([_0x21779a],[this[_0x254259(0x311)]],!0x1);if(_0xf5d175(_0x54ee6e)){const {c1Prime:_0x114e52,c2Prime:_0x183f2c}=_0x54ee6e,_0x47bdf1=this['_transformService'][_0x254259(0x2de)](_0x114e52[0x0],this['_pendingMutations']);if(_0x254404(_0x47bdf1)){const {c1Prime:_0x5d6bd2,m2Prime:_0x3a6940}=_0x47bdf1;return this[_0x254259(0x3e5)](_0x5d6bd2),_0x183f2c[0x0][_0x254259(0x16d)]=this[_0x254259(0x3f0)](),this[_0x254259(0x199)](),this['_injector'][_0x254259(0x24f)](oe,this['unitID'],this['type'],_0x183f2c[0x0],_0x3a6940,this['_handler'],void 0x0);}throw _0x47bdf1['error'];}throw _0x54ee6e[_0x254259(0x27e)];}catch(_0x21fa23){return this[_0x254259(0x3ae)][_0x254259(0x27e)](_0x21fa23),this[_0x254259(0x34d)](!0x1);}}[_0x3f511f(0x3bf)](_0x107be8){var _0x2dc86c=_0x3f511f;if(this[_0x2dc86c(0x199)](),this[_0x2dc86c(0x403)](_0x107be8))return this[_0x2dc86c(0x3df)]['createInstance'](ee,this[_0x2dc86c(0x339)],this[_0x2dc86c(0x3f6)],null,this['_pendingMutations'],this[_0x2dc86c(0x311)],[],this[_0x2dc86c(0x116)]);this[_0x2dc86c(0x324)]();const _0x540ded=this['_injector'][_0x2dc86c(0x24f)](ae,this['unitID'],this[_0x2dc86c(0x3f6)],this['_pendingMutations'],this[_0x2dc86c(0x116)]);return _0x540ded[_0x2dc86c(0x19f)](),_0x540ded['_updateLocalCache'](),_0x540ded;}['onRemoteRej'](_0x4fb33a){var _0xb0a33f=_0x3f511f;return this[_0xb0a33f(0x34d)](!!(_0x4fb33a!=null&&_0x4fb33a[_0xb0a33f(0x2a7)]));}[_0x3f511f(0x2c5)](_0x46c8a8){var _0x3684f8=_0x3f511f;return this[_0x3684f8(0x228)]>Ti?this['toggleOffline']():(this[_0x3684f8(0x246)]=Ii(this[_0x3684f8(0x427)],{'timeout':this['_resendTimeout'],'reqId':_0x46c8a8['reqId']}),this[_0x3684f8(0x198)]=this[_0x3684f8(0x246)][_0x3684f8(0x1ac)](({reqId:_0x16968a,timeout:_0x34ea38})=>{var _0x226dff=_0x3684f8;this[_0x226dff(0x12f)](_0x16968a,_0x34ea38);}),this);}[_0x3f511f(0x3c8)](){var _0x5d151a=_0x3f511f;return this['_clearScheduledTask'](),this['_injector'][_0x5d151a(0x24f)](de,this[_0x5d151a(0x339)],this['type'],this[_0x5d151a(0x311)],this[_0x5d151a(0x253)],this['_handler']);}[_0x3f511f(0x37b)](){return this;}[_0x3f511f(0x23c)](){var _0x156d7d=_0x3f511f;this[_0x156d7d(0x116)][_0x156d7d(0x436)](this['_awaitingChangeset']);}[_0x3f511f(0x34d)](_0x3a2601){var _0x41f05c=_0x3f511f;return this[_0x41f05c(0x199)](),this[_0x41f05c(0x3df)][_0x41f05c(0x24f)](ue,this[_0x41f05c(0x339)],this[_0x41f05c(0x3f6)],null,this['_pendingMutations'],this[_0x41f05c(0x116)],_0x3a2601);}[_0x3f511f(0x12f)](_0x4da5e0,_0x55dab4){var _0x2efca8=_0x3f511f,_0x4e9a52;_0x4da5e0===((_0x4e9a52=this['_awaitingChangeset'])==null?void 0x0:_0x4e9a52['reqId'])&&(this[_0x2efca8(0x23c)](),this[_0x2efca8(0x427)]=_0x55dab4===0x0?0x3e8:Math[_0x2efca8(0x14b)](_0x55dab4*0x2,gi),this[_0x2efca8(0x228)]+=this[_0x2efca8(0x427)]);}[_0x3f511f(0x199)](){var _0x175c0c=_0x3f511f,_0x47f759;(_0x47f759=this[_0x175c0c(0x198)])==null||_0x47f759[_0x175c0c(0x2a3)](),this[_0x175c0c(0x427)]=0x0,this[_0x175c0c(0x228)]=0x0;}};oe=Se([L(0x6,_0x862a0d(_0xe7d96f)),L(0x7,_0x862a0d(_0x1cfcdb)),L(0x8,_0x5cc981),L(0x9,_0x17b4dd),L(0xa,_0x167c42),L(0xb,_0x3d9d8f),L(0xc,_0x70dca2(X))],oe);let ue=class extends ge{constructor(_0x262233,_0x2f4281,_0xd3662d,_0x2b572e,_0xfe1326,_0x292bca=!0x1,_0x584d43,_0xfbcea4,_0x31dcc7,_0x1b6b41,_0x21b2bf,_0x8336f2,_0x7aae6c){var _0x2db576=_0x3f511f;super(_0x262233,_0x2f4281,_0xd3662d,_0x2b572e,_0xfe1326,_0xfbcea4,_0x31dcc7,_0x1b6b41,_0x7aae6c),D(this,'status',_0x2db576(0x318)),(this[_0x2db576(0x433)]=_0x292bca,this[_0x2db576(0x370)]=_0x584d43,this[_0x2db576(0x129)]=_0x21b2bf,this['_collaborationUIEventService']=_0x8336f2,this[_0x2db576(0x423)]=_0x7aae6c,this[_0x2db576(0x254)](),this[_0x2db576(0x1d6)](),this[_0x2db576(0x20f)]());}[_0x3f511f(0x322)](){return this;}['onRemoteChangeset'](){return this;}[_0x3f511f(0x3bf)](){return this;}[_0x3f511f(0x357)](){return this;}[_0x3f511f(0x2c5)](){return this;}[_0x3f511f(0x3c8)](){return this;}[_0x3f511f(0x37b)](){return this;}[_0x3f511f(0x23c)](){var _0x27efb7=_0x3f511f;throw new Error(_0x27efb7(0x123));}[_0x3f511f(0x1d6)](){var _0x11c67d=_0x3f511f,_0x5f3785;(_0x5f3785=this[_0x11c67d(0x2e5)])==null||_0x5f3785[_0x11c67d(0x31b)](this['unitID'],this['type'],null,[]);}[_0x3f511f(0x254)](){var _0x3a5143=_0x3f511f;this[_0x3a5143(0x433)]?this[_0x3a5143(0x3bd)][_0x3a5143(0x1f4)]({'id':re[_0x3a5143(0x2ea)]}):this[_0x3a5143(0x3bd)][_0x3a5143(0x1f4)]({'id':re[_0x3a5143(0x424)]});}[_0x3f511f(0x20f)](){var _0x4aa0ed=_0x3f511f;this[_0x4aa0ed(0x370)]['updatePermissionPoint'](new _0x229869(this['unitID'])['id'],!0x1);}};ue=Se([L(0x6,_0x862a0d(_0x5b035a)),L(0x7,_0x5cc981),L(0x8,_0x3d9d8f),L(0x9,_0x862a0d(_0x1cfcdb)),L(0xa,_0x862a0d(_0x37e3a1)),L(0xb,_0x862a0d(ve)),L(0xc,_0x70dca2(X))],ue);let de=class extends ge{constructor(_0x20e870,_0x34f92e,_0x217658,_0x21e20c,_0x19b30d,_0x36d25f,_0x2eee06,_0xa59f27,_0x49699e,_0x7cbe75){var _0x303dd5=_0x3f511f;super(_0x20e870,_0x34f92e,_0x217658,_0x21e20c,_0x19b30d,_0xa59f27,_0x49699e,_0x2eee06,_0x7cbe75),D(this,_0x303dd5(0x17c),'offline'),this[_0x303dd5(0x3df)]=_0x36d25f;}[_0x3f511f(0x322)](_0x34a8b5){var _0x11776a=_0x3f511f;return this[_0x11776a(0x253)][_0x11776a(0x41d)](_0x34a8b5),this['_updateLocalCache'](),this;}[_0x3f511f(0x3a2)](_0x1b60a0){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x3f511f(0x357)](){var _0x2748ac=_0x3f511f;throw new Error(_0x2748ac(0x3e3));}[_0x3f511f(0x2c5)](){return this;}[_0x3f511f(0x3c8)](){return this;}[_0x3f511f(0x37b)](){var _0x27fa84=_0x3f511f;const {_injector:_0x2ca8a4,_pendingMutations:_0x155657,_awaitingChangeset:_0x58fc87,unitID:_0x4d5748,_handler:_0x26cf48,type:_0xd92573}=this,_0x255ad3=Oi(_0x2ca8a4,_0x4d5748,_0xd92573,_0x58fc87,_0x155657,_0x26cf48);return _0x255ad3 instanceof ae?_0x255ad3['_schedule']():(_0x255ad3 instanceof oe||_0x255ad3 instanceof le)&&_0x255ad3[_0x27fa84(0x23c)](),_0x255ad3;}[_0x3f511f(0x23c)](){var _0xf010b=_0x3f511f;throw new Error(_0xf010b(0x272));}};de=Se([L(0x5,_0x862a0d(_0xe7d96f)),L(0x6,_0x862a0d(_0x1cfcdb)),L(0x7,_0x5cc981),L(0x8,_0x3d9d8f),L(0x9,_0x70dca2(X))],de);let ee=class extends ge{constructor(_0x256aa2,_0x12e24f,_0x2475cf,_0x4c7b27,_0x5edd7c,_0x4782b3,_0x5c585c,_0x1b1250,_0x23c601,_0xb9dc06,_0x187775,_0x362d3a,_0x1f2d49,_0x361a6f){var _0x5b6f78=_0x3f511f;super(_0x256aa2,_0x12e24f,_0x2475cf,_0x4c7b27,_0x5c585c,_0x187775,_0x362d3a,_0x23c601,_0x361a6f),D(this,'status',_0x5b6f78(0x399)),(this[_0x5b6f78(0x2e0)]=_0x5edd7c,this[_0x5b6f78(0x12b)]=_0x4782b3,this[_0x5b6f78(0x3df)]=_0x1b1250,this['_logService']=_0xb9dc06,this[_0x5b6f78(0x2be)]=_0x1f2d49,this[_0x5b6f78(0x423)]=_0x361a6f);}[_0x3f511f(0x164)](_0x5affee){var _0x38264c=_0x3f511f;try{const _0x2f0913=[..._0x5affee,...this[_0x38264c(0x12b)]],_0x3bd438=[this['_awaitingChangeset']||this[_0x38264c(0x2e0)]][_0x38264c(0x3ad)](_0x293354=>!!_0x293354);let _0x518522,_0x578a48;if(_0x3bd438['length']){const _0x357ea7=this[_0x38264c(0x2be)]['transformChangesets'](_0x2f0913,_0x3bd438,!0x1);if(!_0xf5d175(_0x357ea7))throw _0x357ea7[_0x38264c(0x27e)];_0x518522=_0x357ea7[_0x38264c(0x155)],_0x578a48=_0x357ea7[_0x38264c(0x149)];}else _0x518522=_0x2f0913,_0x578a48=[];let _0x3c07d6=this[_0x38264c(0x253)];_0x518522[_0x38264c(0x26a)](_0x5f3c55=>{var _0x30841e=_0x38264c;let _0x4e8a45;if(_0x3c07d6[_0x30841e(0x319)]){const _0x5d1073=this[_0x30841e(0x2be)]['transformMutationsWithChangeset'](_0x5f3c55,_0x3c07d6);if(!_0x254404(_0x5d1073))throw _0x5d1073[_0x30841e(0x27e)];_0x4e8a45=_0x5d1073['c1Prime'],_0x3c07d6=_0x5d1073[_0x30841e(0x411)];}else _0x4e8a45=_0x5f3c55;this[_0x30841e(0x3e5)](_0x4e8a45);}),this[_0x38264c(0x2e0)]&&this[_0x38264c(0x324)](),this[_0x38264c(0x311)]&&_0x578a48[_0x38264c(0x319)]&&(_0x578a48[0x0]['baseRev']=this['_getCurrentRevision']());let _0x165f67;if(this['_awaitingChangeset']&&_0x3c07d6[_0x38264c(0x319)]!==0x0)_0x165f67=this[_0x38264c(0x3df)][_0x38264c(0x24f)](oe,this[_0x38264c(0x339)],this[_0x38264c(0x3f6)],_0x578a48[0x0],_0x3c07d6,this[_0x38264c(0x116)],void 0x0);else{if(this[_0x38264c(0x311)]&&_0x3c07d6['length']===0x0)_0x578a48[0x0][_0x38264c(0x16d)]=this[_0x38264c(0x3f0)](),_0x165f67=this[_0x38264c(0x3df)][_0x38264c(0x24f)](le,this['unitID'],this['type'],_0x578a48[0x0],this[_0x38264c(0x116)]);else{if(_0x3c07d6[_0x38264c(0x319)]!==0x0){const _0x5512a0=this['_injector'][_0x38264c(0x24f)](ae,this[_0x38264c(0x339)],this[_0x38264c(0x3f6)],_0x3c07d6,this[_0x38264c(0x116)]);_0x5512a0[_0x38264c(0x19f)](),_0x165f67=_0x5512a0;}else _0x165f67=this[_0x38264c(0x3df)][_0x38264c(0x24f)](be,this['unitID'],this[_0x38264c(0x3f6)],this[_0x38264c(0x116)]);}}return _0x165f67[_0x38264c(0x33d)](),_0x165f67;}catch(_0x327cd6){return this[_0x38264c(0x3ae)][_0x38264c(0x27e)](_0x38264c(0x278),_0x38264c(0x401),_0x327cd6),this['_injector'][_0x38264c(0x24f)](ue,this[_0x38264c(0x339)],this[_0x38264c(0x3f6)],this['_awaitingChangeset'],this[_0x38264c(0x253)],this[_0x38264c(0x116)],!0x1);}}[_0x3f511f(0x23c)](){var _0x4f9197=_0x3f511f;throw new Error(_0x4f9197(0x1b0));}['appendMutation'](_0x2ae31d){var _0x5b359a=_0x3f511f;return this[_0x5b359a(0x253)][_0x5b359a(0x41d)](_0x2ae31d),this;}['onRemoteChangeset'](_0x1a9302){var _0x273591=_0x3f511f;return this[_0x273591(0x12b)]['push'](_0x1a9302),this;}[_0x3f511f(0x3bf)](_0x3dd8e6){var _0x3f434f=_0x3f511f;if(this[_0x3f434f(0x311)])return this[_0x3f434f(0x2e0)]=this['_awaitingChangeset'],this[_0x3f434f(0x311)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x3f511f(0x357)](_0x498308){var _0xc9d5f6=_0x3f511f;return this[_0xc9d5f6(0x34d)](!!(_0x498308!=null&&_0x498308[_0xc9d5f6(0x2a7)]));}[_0x3f511f(0x2c5)](){return this;}[_0x3f511f(0x3c8)](){var _0x49e9c4=_0x3f511f;return this[_0x49e9c4(0x3df)][_0x49e9c4(0x24f)](de,this['unitID'],this[_0x49e9c4(0x3f6)],this[_0x49e9c4(0x311)],this['_pendingMutations'],this[_0x49e9c4(0x116)]);}[_0x3f511f(0x37b)](){return this;}[_0x3f511f(0x34d)](_0x3aa5bf){var _0x22166f=_0x3f511f;return this[_0x22166f(0x3df)][_0x22166f(0x24f)](ue,this[_0x22166f(0x339)],this['type'],this[_0x22166f(0x311)],this[_0x22166f(0x253)],this[_0x22166f(0x116)],_0x3aa5bf);}};ee=Se([L(0x7,_0x862a0d(_0xe7d96f)),L(0x8,_0x862a0d(_0x1cfcdb)),L(0x9,_0x17b4dd),L(0xa,_0x5cc981),L(0xb,_0x3d9d8f),L(0xc,_0x167c42),L(0xd,_0x70dca2(X))],ee);function Oi(_0x419c61,_0x3ff16d,_0x4abd19,_0x4269a5,_0x538c3a,_0x1a1da7){var _0x1c6f0b=_0x3f511f;return _0x4269a5&&_0x538c3a[_0x1c6f0b(0x319)]?_0x419c61[_0x1c6f0b(0x24f)](oe,_0x3ff16d,_0x4abd19,_0x4269a5,_0x538c3a,_0x1a1da7,void 0x0):_0x4269a5?_0x419c61[_0x1c6f0b(0x24f)](le,_0x3ff16d,_0x4abd19,_0x4269a5,_0x1a1da7):_0x538c3a[_0x1c6f0b(0x319)]?_0x419c61['createInstance'](ae,_0x3ff16d,_0x4abd19,_0x538c3a,_0x1a1da7):_0x419c61[_0x1c6f0b(0x24f)](be,_0x3ff16d,_0x4abd19,_0x1a1da7);}var js=Object['getOwnPropertyDescriptor'],At=(_0x56ce27,_0x51d8d2,_0xfafc03,_0x196090)=>{for(var _0x4a1d41=_0x196090>0x1?void 0x0:_0x196090?js(_0x51d8d2,_0xfafc03):_0x51d8d2,_0x139f8f=_0x56ce27['length']-0x1,_0x4d98f3;_0x139f8f>=0x0;_0x139f8f--)(_0x4d98f3=_0x56ce27[_0x139f8f])&&(_0x4a1d41=_0x4d98f3(_0x4a1d41)||_0x4a1d41);return _0x4a1d41;},$=(_0x37cec9,_0x181752)=>(_0x1b9866,_0x398537)=>_0x181752(_0x1b9866,_0x398537,_0x37cec9);let st=class extends _0x41c421{constructor(_0x31387a,_0x2c60da,_0x4ecbf9,_0x3ec237,_0x25529a,_0x407474,_0x6b761a,_0x3fbe23,_0x31de1b,_0x47e806,_0x59b7e3,_0x2400e5,_0x171cb5,_0x1d02f6){var _0x5a5960=_0x3f511f;super(),D(this,'_state$',new _0x39fb43(null)),D(this,'state$',this[_0x5a5960(0x395)][_0x5a5960(0x26e)]()),D(this,_0x5a5960(0x3ff)),D(this,_0x5a5960(0x2a9),!0x1),D(this,_0x5a5960(0x167),''),D(this,_0x5a5960(0x170),0x0),D(this,_0x5a5960(0x3d2),this[_0x5a5960(0x38a)]['pipe'](_0x20d992(_0x5e1fe7=>_0x5e1fe7?_0x5e1fe7[_0x5a5960(0x17c)]:Si[_0x5a5960(0x321)]),_0x56a8f2(0x1))),D(this,_0x5a5960(0x3a7),!0x1),D(this,_0x5a5960(0x3e8),[]),(this[_0x5a5960(0x339)]=_0x31387a,this[_0x5a5960(0x1be)]=_0x2c60da,this[_0x5a5960(0x11a)]=_0x4ecbf9,this['_injector']=_0x3ec237,this[_0x5a5960(0x39b)]=_0x25529a,this[_0x5a5960(0x129)]=_0x407474,this[_0x5a5960(0x2da)]=_0x6b761a,this[_0x5a5960(0x28d)]=_0x3fbe23,this[_0x5a5960(0x320)]=_0x31de1b,this['_logService']=_0x47e806,this[_0x5a5960(0x2a2)]=_0x59b7e3,this[_0x5a5960(0x370)]=_0x2400e5,this['_singleActiveUnitService']=_0x171cb5,this[_0x5a5960(0x2e5)]=_0x1d02f6);}get[_0x3f511f(0x23f)](){var _0x43e2aa=_0x3f511f;return this[_0x43e2aa(0x3ff)];}async[_0x3f511f(0x213)](){var _0x20547c=_0x3f511f;if(this[_0x20547c(0x23f)])throw new Error(_0x20547c(0x151));await this[_0x20547c(0x429)]();}[_0x3f511f(0x171)](){return this['_collaborationPaused']=!0x0,_0x5c5c93(()=>{var _0x227579=_0x3312;this[_0x227579(0x2a9)]=!0x1,this[_0x227579(0x113)]();});}[_0x3f511f(0x183)](_0x556a8d){var _0x115e95=_0x3f511f;this[_0x115e95(0x2bc)](_0x556a8d);}[_0x3f511f(0x2b6)](_0x6ad07a){this['_state']=_0x6ad07a,this['_state$']['next'](_0x6ad07a);}async['_init'](){var _0x4b2e22=_0x3f511f,_0x58ede9;this[_0x4b2e22(0x2b6)](await this[_0x4b2e22(0x291)]()),this[_0x4b2e22(0x157)]&&((_0x58ede9=this[_0x4b2e22(0x157)])==null||_0x58ede9['editingUnit'](this[_0x4b2e22(0x339)]),this[_0x4b2e22(0x125)](this[_0x4b2e22(0x157)][_0x4b2e22(0x40b)](this[_0x4b2e22(0x339)])['subscribe'](_0x7f9588=>{var _0x15c6c=_0x4b2e22;this['_logService'][_0x15c6c(0x2ec)](_0x15c6c(0x3d3),'editing\x20status\x20changed\x20to',_0x7f9588),_0x7f9588===mi['OTHER_CLIENTS_EDITING']?(this[_0x15c6c(0x28d)]['emitEvent']({'id':re[_0x15c6c(0x40f)]}),this[_0x15c6c(0x370)][_0x15c6c(0x297)](new _0x229869(this['unitID'])['id'],!0x1),this[_0x15c6c(0x370)][_0x15c6c(0x2f9)](!0x1)):(this[_0x15c6c(0x370)][_0x15c6c(0x297)](new _0x229869(this[_0x15c6c(0x339)])['id'],!0x0),this[_0x15c6c(0x370)][_0x15c6c(0x2f9)](!0x0));})));let _0x215627=!0x1;return this[_0x4b2e22(0x125)](this[_0x4b2e22(0x1be)]['sessionStatus$']['subscribe'](_0x533962=>{var _0x46e8b0=_0x4b2e22;_0x533962===me['ONLINE']?this[_0x46e8b0(0x1d8)](_0x215627):_0x533962===me[_0x46e8b0(0x321)]&&(_0x215627=!0x0,this[_0x46e8b0(0x270)]());})),this[_0x4b2e22(0x125)](this[_0x4b2e22(0x1be)][_0x4b2e22(0x369)][_0x4b2e22(0x1ac)](_0x559e06=>{var _0x573c28=_0x4b2e22;try{switch(_0x559e06[_0x573c28(0x2b4)]){case _0x2680c9[_0x573c28(0x138)]:{this[_0x573c28(0x2ce)](_0x431e34(_0x559e06['data']));break;}case _0x2680c9[_0x573c28(0x284)]:{this['_onRemoteACK'](_0x559e06[_0x573c28(0x2c7)]);break;}case _0x2680c9[_0x573c28(0x24c)]:{this[_0x573c28(0x42a)]();break;}case _0x2680c9[_0x573c28(0x2fa)]:{this[_0x573c28(0x15e)](_0x559e06[_0x573c28(0x2c7)]);break;}case _0x2680c9[_0x573c28(0x3b9)]:{this[_0x573c28(0x406)](_0x559e06[_0x573c28(0x2c7)][_0x573c28(0x1c0)][_0x573c28(0x3a6)](_0x4a4074=>_0x431e34(_0x4a4074)));break;}case _0x2680c9[_0x573c28(0x20e)]:{this[_0x573c28(0x42a)]({'isPermissionRej':!0x0});break;}case _0x2680c9['UNISCRIPT_RUN']:break;}}catch(_0x3e39ec){throw console[_0x573c28(0x27e)]('Error\x20on\x20receiving\x20event',_0x3e39ec),_0x3e39ec;}})),this[_0x4b2e22(0x3ff)];}[_0x3f511f(0x3fa)](){this['_transitionLocked']=!0x1;}[_0x3f511f(0x17e)](){var _0x136ee5=_0x3f511f;if(this[_0x136ee5(0x3a7)])throw new Error(_0x136ee5(0x3aa));this[_0x136ee5(0x3a7)]=!0x0;}[_0x3f511f(0x2bc)](_0x8157a){var _0x24d4f3=_0x3f511f;this[_0x24d4f3(0x17e)](),this['_updateState'](this[_0x24d4f3(0x3ff)][_0x24d4f3(0x322)](_0x8157a)),this[_0x24d4f3(0x3fa)]();}[_0x3f511f(0x2ce)](_0x13fc13){var _0x147ea4=_0x3f511f;if(!(_0x13fc13[_0x147ea4(0x3ed)]<=this['_revisionService'][_0x147ea4(0x3fc)](this[_0x147ea4(0x339)]))){if(this[_0x147ea4(0x2a9)]){this['_remoteChangesetQueue'][_0x147ea4(0x41d)](_0x13fc13);return;}this['_applyRemoteChangeset'](_0x13fc13);}}[_0x3f511f(0x113)](){var _0x273cdb=_0x3f511f;this[_0x273cdb(0x3e8)]['forEach'](_0x23d80e=>this[_0x273cdb(0x32a)](_0x23d80e)),this[_0x273cdb(0x3e8)]=[];}['_applyRemoteChangeset'](_0x225691){var _0x22d2f3=_0x3f511f;const _0x2742a3=this[_0x22d2f3(0x39b)][_0x22d2f3(0x11c)][_0x22d2f3(0x338)](this['_compressMutationService'][_0x22d2f3(0x11c)]['getInterceptPoints']()[_0x22d2f3(0x30f)])(_0x225691['mutations'],null)||_0x225691[_0x22d2f3(0x2ba)],_0x1032b7={..._0x225691,'mutations':_0x2742a3};this['_lockTransition'](),this[_0x22d2f3(0x2b6)](this[_0x22d2f3(0x3ff)][_0x22d2f3(0x3a2)](_0x1032b7)),this[_0x22d2f3(0x3fa)]();}[_0x3f511f(0x388)](_0x1bf515){var _0x4d6245=_0x3f511f;this[_0x4d6245(0x17e)](),this['_updateState'](this[_0x4d6245(0x3ff)]['onRemoteAck'](_0x1bf515)),this[_0x4d6245(0x3fa)]();}[_0x3f511f(0x42a)](_0x1dbf94){var _0x4d0e19=_0x3f511f;this[_0x4d0e19(0x17e)](),this['_updateState'](this[_0x4d0e19(0x3ff)][_0x4d0e19(0x357)](_0x1dbf94)),this[_0x4d0e19(0x3fa)]();}[_0x3f511f(0x15e)](_0x4b54a4){var _0x1f250d=_0x3f511f;this['_lockTransition'](),this['_updateState'](this[_0x1f250d(0x3ff)][_0x1f250d(0x2c5)](_0x4b54a4)),this[_0x1f250d(0x3fa)]();}[_0x3f511f(0x406)](_0x17f580){var _0x1734f8=_0x3f511f;if(!(this[_0x1734f8(0x3ff)]instanceof ee))throw new TypeError(_0x1734f8(0x12e));const _0x34ecbf=_0x17f580['map'](_0x5a9e52=>{var _0x1b931f=_0x1734f8;const _0x40e986=this['_compressMutationService'][_0x1b931f(0x11c)][_0x1b931f(0x338)](this['_compressMutationService'][_0x1b931f(0x11c)][_0x1b931f(0x215)]()[_0x1b931f(0x30f)])(_0x5a9e52[_0x1b931f(0x2ba)],null)||_0x5a9e52[_0x1b931f(0x2ba)];return{..._0x5a9e52,'mutations':_0x40e986};});this[_0x1734f8(0x17e)](),this['_updateState'](this[_0x1734f8(0x3ff)][_0x1734f8(0x164)](_0x34ecbf)),this[_0x1734f8(0x3fa)]();}[_0x3f511f(0x270)](){var _0x30aedb=_0x3f511f;this[_0x30aedb(0x17e)](),this[_0x30aedb(0x2b6)](this[_0x30aedb(0x3ff)][_0x30aedb(0x3c8)]()),this['_unlockTransition']();}[_0x3f511f(0x1d8)](_0x723ce=!0x1){var _0x3a1802=_0x3f511f;this[_0x3a1802(0x17e)](),this[_0x3a1802(0x2b6)](this['_state'][_0x3a1802(0x37b)]()),this[_0x3a1802(0x3fa)]();const _0xf37dcb=this[_0x3a1802(0x3ff)];_0x723ce&&_0xf37dcb instanceof be&&(this[_0x3a1802(0x17e)](),this[_0x3a1802(0x2b6)](_0xf37dcb['fetchMiss']()),this[_0x3a1802(0x3fa)]());}async['_createInitialState'](){return new Promise(_0x40d4ae=>{var _0x355d39=_0x3312;this[_0x355d39(0x1be)][_0x355d39(0x381)][_0x355d39(0x2c2)](_0x37fcbe(0x1))[_0x355d39(0x1ac)](async _0x4093cc=>{var _0x3ecdc7=_0x355d39;_0x40d4ae(await this[_0x3ecdc7(0x1f0)](_0x4093cc===me[_0x3ecdc7(0x334)]));});});}[_0x3f511f(0x390)](){var _0x37a802=_0x3f511f;const _0xdedc9c=this[_0x37a802(0x339)];return{'onStateChange':(_0x20ac66,_0xc0f372)=>{var _0x2947d0=_0x37a802;if(_0x20ac66!==this[_0x2947d0(0x3ff)])throw new Error(_0x2947d0(0x31e)+_0x20ac66[_0x2947d0(0x17c)]+_0x2947d0(0x391)+_0xc0f372[_0x2947d0(0x17c)]+_0x2947d0(0x2d0)+this[_0x2947d0(0x3ff)][_0x2947d0(0x17c)]);this['_updateState'](_0xc0f372);},'onSendChangeset':_0x461ba7=>{var _0x11d63a=_0x37a802;_0x461ba7[_0x11d63a(0x143)]||(_0x461ba7['sid']=this['_changesetSessionId'],_0x461ba7['reqId']=++this[_0x11d63a(0x170)]);const _0x558bb7={'eventID':_0x2680c9[_0x11d63a(0x3e7)],'data':{'unitID':_0x461ba7[_0x11d63a(0x339)],'unitType':this['_type'],'changeset':_0x461ba7,'memberID':this[_0x11d63a(0x1be)][_0x11d63a(0x142)]()}};this[_0x11d63a(0x1be)]['send'](_0x558bb7,this[_0x11d63a(0x339)]);},'onMissingChangesets':({from:_0x5919a0,to:_0x5c8e4e})=>{var _0x32d84c=_0x37a802;this[_0x32d84c(0x3ae)][_0x32d84c(0x2ec)](_0x32d84c(0x3d3),_0x32d84c(0x1fa)+_0x5919a0+_0x32d84c(0x2d5)+_0x5c8e4e);const _0x6c24a1={'eventID':_0x2680c9['FETCH_MISSING'],'data':{'unitID':_0xdedc9c,'unitType':this[_0x32d84c(0x11a)],'from':_0x5919a0,'to':_0x5c8e4e}};this[_0x32d84c(0x1be)][_0x32d84c(0x27d)](_0x6c24a1,this[_0x32d84c(0x339)]);}};}async[_0x3f511f(0x1f0)](_0x542e8f){var _0x109fae=_0x3f511f,_0x2eb320,_0x2a0a4d,_0x56180b;const _0x3d7ce1=await((_0x2eb320=this['_localCacheService'])==null?void 0x0:_0x2eb320[_0x109fae(0x181)](this[_0x109fae(0x339)])),_0x39a00a=(_0x2a0a4d=_0x3d7ce1==null?void 0x0:_0x3d7ce1['mutations'])!=null?_0x2a0a4d:[],_0x4b3b4f=(_0x56180b=_0x3d7ce1==null?void 0x0:_0x3d7ce1[_0x109fae(0x1bf)])!=null?_0x56180b:null,_0xb8f102=!!(_0x4b3b4f!=null&&_0x4b3b4f[_0x109fae(0x143)])&&!!(_0x4b3b4f!=null&&_0x4b3b4f[_0x109fae(0x3b1)]);this[_0x109fae(0x167)]=_0xb8f102?_0x4b3b4f['sid']:_0x1765df(),this['_changesetReqId']=_0xb8f102?_0x4b3b4f['reqId']:0x0;const _0x432272=this[_0x109fae(0x339)];try{this[_0x109fae(0x376)](_0x4b3b4f,_0x39a00a);}catch(_0x4384be){this[_0x109fae(0x3ae)]['error'](_0x4384be);}const _0x58c757=this['_createHandler']();if(_0x542e8f){const _0x3ec14e=Oi(this[_0x109fae(0x3df)],_0x432272,this[_0x109fae(0x11a)],_0x4b3b4f,_0x39a00a,_0x58c757);return _0x3ec14e instanceof ae?_0x3ec14e[_0x109fae(0x19f)]():(_0x3ec14e instanceof oe||_0x3ec14e instanceof le)&&_0x3ec14e[_0x109fae(0x23c)](),_0x3ec14e;}return this[_0x109fae(0x3df)][_0x109fae(0x24f)](de,_0x432272,this['_type'],_0x4b3b4f,_0x39a00a,_0x58c757);}['_replayCachedMutations'](_0x3a37bd,_0x348309){var _0xe28dfa=_0x3f511f,_0x2ca69b,_0x56215c;const _0x1df4db=this[_0xe28dfa(0x39b)]['interceptor']['fetchThroughInterceptors'](this[_0xe28dfa(0x39b)][_0xe28dfa(0x11c)][_0xe28dfa(0x215)]()['COMPRESS_MUTATION_APPLY']);(_0x2ca69b=_0x1df4db((_0x3a37bd==null?void 0x0:_0x3a37bd[_0xe28dfa(0x2ba)])||[],null))==null||_0x2ca69b[_0xe28dfa(0x26a)](_0x10a2b4=>this[_0xe28dfa(0x2a2)]['executeCommand'](_0x10a2b4['id'],_0x10a2b4[_0xe28dfa(0x2c0)])),(_0x56215c=_0x1df4db(_0x348309||[],null))==null||_0x56215c[_0xe28dfa(0x26a)](_0x4ad413=>this[_0xe28dfa(0x2a2)][_0xe28dfa(0x154)](_0x4ad413['id'],_0x4ad413[_0xe28dfa(0x2c0)]));}};st=At([$(0x3,_0x862a0d(_0xe7d96f)),$(0x4,_0x862a0d(_0xe4f19a)),$(0x5,_0x862a0d(_0x37e3a1)),$(0x6,_0x862a0d(_0x1cfcdb)),$(0x7,_0x862a0d(ve)),$(0x8,_0x5075a6),$(0x9,_0x17b4dd),$(0xa,_0x5cc981),$(0xb,_0x5b035a),$(0xc,_0x70dca2(_t)),$(0xd,_0x70dca2(X))],st);let It=class extends st{constructor(_0x1be91c,_0x2208d8,_0x56515a,_0x879a5b,_0x127a01,_0x20eaad,_0x3e29b7,_0x3d1c52,_0x11d3bb,_0x2daff8,_0x5c51d8,_0x46d590,_0x1e06d1,_0x28073a){var _0x52d4dd=_0x3f511f;super(_0x1be91c,_0x56515a,_0x2208d8,_0x879a5b,_0x127a01,_0x20eaad,_0x3e29b7,_0x3d1c52,_0x11d3bb,_0x2daff8,_0x5c51d8,_0x46d590,_0x1e06d1,_0x28073a),D(this,_0x52d4dd(0x3bb),null),(this[_0x52d4dd(0x339)]=_0x1be91c,this[_0x52d4dd(0x3f6)]=_0x2208d8);}[_0x3f511f(0x413)](_0x2a87ec){var _0x4dd388=_0x3f511f;this[_0x4dd388(0x3bb)]=_0x2a87ec;}['dispose'](){var _0x3a9a36=_0x3f511f;this[_0x3a9a36(0x3bb)]=null,super[_0x3a9a36(0x1b5)]();}['_createHandler'](){var _0x3dcfe0=_0x3f511f;const _0x5d3cff=super[_0x3dcfe0(0x390)]();return _0x5d3cff[_0x3dcfe0(0x156)]=_0x480596=>{var _0xc38de7=_0x3dcfe0,_0x23aa0c,_0x3f2dcc;return(_0x3f2dcc=(_0x23aa0c=this[_0xc38de7(0x3bb)])==null?void 0x0:_0x23aa0c[_0xc38de7(0x156)])==null?void 0x0:_0x3f2dcc[_0xc38de7(0x1e1)](_0x23aa0c,_0x480596);},_0x5d3cff[_0x3dcfe0(0x283)]=_0x45d5ee=>{var _0x21ca41=_0x3dcfe0,_0x18f04b,_0x14caa0;return(_0x14caa0=(_0x18f04b=this['_handlerCallback'])==null?void 0x0:_0x18f04b[_0x21ca41(0x283)])==null?void 0x0:_0x14caa0[_0x21ca41(0x1e1)](_0x18f04b,_0x45d5ee);},_0x5d3cff[_0x3dcfe0(0x146)]=_0x10fda2=>{var _0x3e27b4=_0x3dcfe0,_0x24ac40,_0x3aadf2;return(_0x3aadf2=(_0x24ac40=this['_handlerCallback'])==null?void 0x0:_0x24ac40[_0x3e27b4(0x146)])==null?void 0x0:_0x3aadf2['call'](_0x24ac40,_0x10fda2);},_0x5d3cff[_0x3dcfe0(0x15a)]=_0x42916a=>{var _0x5893b4=_0x3dcfe0,_0x59c040,_0x18e150;return(_0x18e150=(_0x59c040=this[_0x5893b4(0x3bb)])==null?void 0x0:_0x59c040[_0x5893b4(0x15a)])==null?void 0x0:_0x18e150[_0x5893b4(0x1e1)](_0x59c040,_0x42916a);},_0x5d3cff[_0x3dcfe0(0x3a4)]=_0x37562c=>{var _0xe26dc2=_0x3dcfe0,_0x25cc90,_0x1e1cd3,_0x50f62b;if(!((_0x25cc90=this['_handlerCallback'])!=null&&_0x25cc90[_0xe26dc2(0x3a4)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x50f62b=(_0x1e1cd3=this[_0xe26dc2(0x3bb)])==null?void 0x0:_0x1e1cd3[_0xe26dc2(0x3a4)])==null?void 0x0:_0x50f62b[_0xe26dc2(0x1e1)](_0x1e1cd3,_0x37562c);},_0x5d3cff[_0x3dcfe0(0x40c)]=_0xfd9f27=>{var _0x36519a=_0x3dcfe0,_0x229582,_0x2a7e5d,_0x5153ca;if(!((_0x229582=this[_0x36519a(0x3bb)])!=null&&_0x229582[_0x36519a(0x40c)]))throw new Error(_0x36519a(0x12a));return(_0x5153ca=(_0x2a7e5d=this[_0x36519a(0x3bb)])==null?void 0x0:_0x2a7e5d[_0x36519a(0x40c)])==null?void 0x0:_0x5153ca[_0x36519a(0x1e1)](_0x2a7e5d,_0xfd9f27);},_0x5d3cff;}async[_0x3f511f(0x429)](){var _0x204e5e=_0x3f511f;const _0x1a5011=await super[_0x204e5e(0x429)]();return this['disposeWithMe'](this[_0x204e5e(0x2a2)][_0x204e5e(0x3f5)]((_0xc46bfc,_0x51531a)=>{var _0x31db4c=_0x204e5e;if(_0xc46bfc[_0x31db4c(0x3f6)]!==_0xd00e31['MUTATION']||_0x51531a!=null&&_0x51531a['fromCollab']||_0x51531a!=null&&_0x51531a[_0x31db4c(0x28e)]||_0xc46bfc['id']===_0x12d547['id'])return;const _0x3663bf=_0xc46bfc[_0x31db4c(0x2c0)];if((_0x3663bf==null?void 0x0:_0x3663bf[_0x31db4c(0x18d)])!==this[_0x31db4c(0x339)])return;const _0x539fb4=_0xc46bfc,_0x4e2181=this[_0x31db4c(0x39b)][_0x31db4c(0x11c)][_0x31db4c(0x338)](this[_0x31db4c(0x39b)][_0x31db4c(0x11c)]['getInterceptPoints']()[_0x31db4c(0x2db)])([_0x539fb4],this[_0x31db4c(0x320)])||[_0x539fb4];this[_0x31db4c(0x2bc)](_0x4e2181[0x0]);})),_0x1a5011;}};It=At([$(0x3,_0x862a0d(_0xe7d96f)),$(0x4,_0x862a0d(_0xe4f19a)),$(0x5,_0x862a0d(_0x37e3a1)),$(0x6,_0x862a0d(_0x1cfcdb)),$(0x7,_0x862a0d(ve)),$(0x8,_0x5075a6),$(0x9,_0x17b4dd),$(0xa,_0x5cc981),$(0xb,_0x5b035a),$(0xc,_0x70dca2(_t)),$(0xd,_0x70dca2(X))],It);let St=class extends st{constructor(_0x2f5ccd,_0x4200ba,_0x4c2d5f,_0x1156be,_0x222b6f,_0x37a784,_0x3a492a,_0x5a8ea4,_0x4a4f9c,_0x8caf4c,_0x57161b,_0x5ace49,_0x5e7db4,_0x4dd061,_0x260891){var _0x42a696=_0x3f511f;super(_0x2f5ccd,_0x4c2d5f,_0x4200ba,_0x1156be,_0x222b6f,_0x37a784,_0x3a492a,_0x4a4f9c,_0x8caf4c,_0x57161b,_0x5ace49,_0x5e7db4,_0x4dd061,_0x260891),this[_0x42a696(0x339)]=_0x2f5ccd,this['type']=_0x4200ba,this[_0x42a696(0x37f)]=_0x5a8ea4;}[_0x3f511f(0x390)](){var _0x5e6135=_0x3f511f;const _0xa48fe5=super[_0x5e6135(0x390)]();return _0xa48fe5[_0x5e6135(0x146)]=_0xdeba45=>this[_0x5e6135(0x37f)]['transformSelections'](_0xdeba45),_0xa48fe5;}async[_0x3f511f(0x429)](){var _0x267abd=_0x3f511f;const _0x44d916=await super[_0x267abd(0x429)]();return this[_0x267abd(0x125)](this['_commandService']['onMutationExecutedForCollab']((_0x32d0a1,_0x36f83c)=>{var _0x1e1322=_0x267abd;if(_0x32d0a1[_0x1e1322(0x3f6)]!==_0xd00e31[_0x1e1322(0x2af)]||_0x36f83c!=null&&_0x36f83c[_0x1e1322(0x1b4)]||_0x36f83c!=null&&_0x36f83c[_0x1e1322(0x28e)])return;const _0x4be3d9=_0x32d0a1['params'];if((_0x4be3d9==null?void 0x0:_0x4be3d9[_0x1e1322(0x18d)])!==this[_0x1e1322(0x339)])return;const _0x272aa8=_0x32d0a1,_0x149d68=this['_compressMutationService'][_0x1e1322(0x11c)][_0x1e1322(0x338)](this[_0x1e1322(0x39b)][_0x1e1322(0x11c)][_0x1e1322(0x215)]()[_0x1e1322(0x2db)])([_0x272aa8],this[_0x1e1322(0x320)])||[_0x272aa8];this[_0x1e1322(0x2bc)](_0x149d68[0x0]);})),_0x44d916;}};St=At([$(0x3,_0x862a0d(_0xe7d96f)),$(0x4,_0x862a0d(_0xe4f19a)),$(0x5,_0x862a0d(_0x37e3a1)),$(0x6,_0x862a0d(_0x1cfcdb)),$(0x7,_0x862a0d(it)),$(0x8,_0x862a0d(ve)),$(0x9,_0x5075a6),$(0xa,_0x17b4dd),$(0xb,_0x5cc981),$(0xc,_0x5b035a),$(0xd,_0x70dca2(_t)),$(0xe,_0x70dca2(X))],St);const Vs=_0x2afbaf('univer-pro.collaboration-client.network-condition.service');function Gs(_0x4131a3){var _0x28f5c1=_0x3f511f,_0x51972a,_0x467159,_0x203ce2,_0x14da72,_0x50ee88;const _0x198565=_0x4131a3['data'],_0x570809=JSON[_0x28f5c1(0x3ea)](_0x198565);switch(_0x570809['cmd']){case j['HEARTBEAT']:case j[_0x28f5c1(0x13e)]:{const _0x5e809a=_0x570809[_0x28f5c1(0x188)];return{..._0x570809,'data':_0x5e809a,'cmd':_0x570809[_0x28f5c1(0x354)]};}case j['JOIN']:{const _0x535bba=_0x570809[_0x28f5c1(0x1bc)];return{..._0x570809,'data':_0x535bba,'cmd':_0x570809['cmd']};}case j['RECV']:{const _0x3e0f60=_0x570809[_0x28f5c1(0x405)];switch(_0x3e0f60['eventID']){case _0x2680c9[_0x28f5c1(0x20e)]:return{..._0x570809,'data':{..._0x3e0f60,'data':(_0x51972a=_0x3e0f60[_0x28f5c1(0x1a8)])==null?void 0x0:_0x51972a['cs']},'cmd':_0x570809[_0x28f5c1(0x354)]};case _0x2680c9['CHANGESET_ACK']:return{..._0x570809,'data':{..._0x3e0f60,'data':(_0x467159=_0x3e0f60['csAckEvent'])==null?void 0x0:_0x467159['cs']},'cmd':_0x570809[_0x28f5c1(0x354)]};case _0x2680c9[_0x28f5c1(0x138)]:return{..._0x570809,'data':{..._0x3e0f60,'data':(_0x203ce2=_0x3e0f60[_0x28f5c1(0x287)])==null?void 0x0:_0x203ce2['cs']},'cmd':_0x570809[_0x28f5c1(0x354)]};case _0x2680c9[_0x28f5c1(0x24c)]:return{..._0x570809,'data':{..._0x3e0f60,'data':(_0x14da72=_0x3e0f60[_0x28f5c1(0x2c6)])==null?void 0x0:_0x14da72['cs']},'cmd':_0x570809['cmd']};case _0x2680c9[_0x28f5c1(0x2fa)]:return{..._0x570809,'data':{..._0x3e0f60,'data':(_0x50ee88=_0x3e0f60[_0x28f5c1(0x41b)])==null?void 0x0:_0x50ee88['cs']},'cmd':_0x570809[_0x28f5c1(0x354)]};case _0x2680c9['UPDATE_CURSOR']:return{..._0x570809,'data':{..._0x3e0f60,'data':_0x3e0f60[_0x28f5c1(0x2f3)]},'cmd':_0x570809[_0x28f5c1(0x354)]};case _0x2680c9[_0x28f5c1(0x1cd)]:return{..._0x570809,'data':{..._0x3e0f60,'data':_0x3e0f60['joinEvent']},'cmd':_0x570809[_0x28f5c1(0x354)]};case _0x2680c9[_0x28f5c1(0x22c)]:return{..._0x570809,'data':{..._0x3e0f60,'data':_0x3e0f60[_0x28f5c1(0x267)]},'cmd':_0x570809[_0x28f5c1(0x354)]};case _0x2680c9['LIVESHARE_NEW_HOST']:return{..._0x570809,'data':{..._0x3e0f60,'data':_0x3e0f60[_0x28f5c1(0x264)]},'cmd':_0x570809['cmd']};case _0x2680c9['LIVESHARE_FETCH_OPERATIONS']:case _0x2680c9[_0x28f5c1(0x11e)]:return{..._0x570809,'data':{..._0x3e0f60,'data':_0x3e0f60[_0x28f5c1(0x316)]},'cmd':_0x570809[_0x28f5c1(0x354)]};case _0x2680c9[_0x28f5c1(0x3e9)]:return{..._0x570809,'data':{..._0x3e0f60,'data':_0x3e0f60[_0x28f5c1(0x264)]},'cmd':_0x570809['cmd']};case _0x2680c9['MSG_FOR_ERROR']:return{..._0x570809,'data':_0x3e0f60,'cmd':_0x570809[_0x28f5c1(0x354)]};case _0x2680c9[_0x28f5c1(0x379)]:return{..._0x570809,'data':{..._0x3e0f60,'data':_0x3e0f60[_0x28f5c1(0x1d5)]},'cmd':_0x570809['cmd']};case _0x2680c9['UPDATE_PERMISSION_OBJ']:return{..._0x570809,'data':{..._0x3e0f60,'data':_0x3e0f60[_0x28f5c1(0x1a9)]},'cmd':_0x570809[_0x28f5c1(0x354)]};case _0x2680c9[_0x28f5c1(0x158)]:return{..._0x570809,'data':{..._0x3e0f60,'data':_0x3e0f60[_0x28f5c1(0x3db)]},'cmd':_0x570809[_0x28f5c1(0x354)]};case _0x2680c9[_0x28f5c1(0x121)]:return{..._0x570809,'data':{..._0x3e0f60,'data':_0x3e0f60[_0x28f5c1(0x29e)]},'cmd':_0x570809['cmd']};default:return _0x570809;}}default:return _0x570809;}}function Ws(_0x4b93c6){var _0x31438f=_0x3f511f;switch(_0x4b93c6[_0x31438f(0x354)]){case j[_0x31438f(0x13d)]:case j[_0x31438f(0x13e)]:return JSON[_0x31438f(0x252)]({'cmd':_0x4b93c6[_0x31438f(0x354)],'routeKey':_0x4b93c6[_0x31438f(0x1b1)]});case j[_0x31438f(0x393)]:{let _0xba59f1;switch(_0x4b93c6[_0x31438f(0x2c7)][_0x31438f(0x2b4)]){case _0x2680c9[_0x31438f(0x41f)]:{_0xba59f1={'eventID':_0x2680c9[_0x31438f(0x41f)],'updateCursorEvent':_0x4b93c6['data']['data']};break;}case _0x2680c9[_0x31438f(0x22c)]:{_0xba59f1={'eventID':_0x2680c9[_0x31438f(0x22c)],'leaveEvent':_0x4b93c6['data'][_0x31438f(0x2c7)]};break;}case _0x2680c9['USERS_ENTER']:{_0xba59f1={'eventID':_0x2680c9[_0x31438f(0x1cd)],'joinEvent':_0x4b93c6[_0x31438f(0x2c7)][_0x31438f(0x2c7)]};break;}case _0x2680c9[_0x31438f(0x1d4)]:{_0xba59f1={'eventID':_0x2680c9[_0x31438f(0x1d4)],'liveShareNewHost':_0x4b93c6[_0x31438f(0x2c7)][_0x31438f(0x2c7)]};break;}case _0x2680c9[_0x31438f(0x11e)]:{_0xba59f1={'eventID':_0x2680c9[_0x31438f(0x11e)],'liveShareOperation':_0x4b93c6[_0x31438f(0x2c7)]['data']};break;}case _0x2680c9[_0x31438f(0x3e9)]:{_0xba59f1={'eventID':_0x2680c9[_0x31438f(0x3e9)],'liveShareTerminate':_0x4b93c6['data']['data']};break;}case _0x2680c9[_0x31438f(0x372)]:{_0xba59f1={'eventID':_0x2680c9[_0x31438f(0x372)],'liveShareRequestHost':_0x4b93c6['data'][_0x31438f(0x2c7)]};break;}case _0x2680c9[_0x31438f(0x34b)]:{_0xba59f1={'eventID':_0x2680c9[_0x31438f(0x34b)]};break;}default:_0xba59f1={'eventID':_0x4b93c6['data'][_0x31438f(0x2b4)]};}return JSON[_0x31438f(0x252)]({'cmd':_0x4b93c6[_0x31438f(0x354)],'routeKey':_0x4b93c6[_0x31438f(0x1b1)],'collaMsg':_0xba59f1});}case j[_0x31438f(0x364)]:return JSON[_0x31438f(0x252)]({'cmd':_0x4b93c6['cmd'],'routeKey':_0x4b93c6[_0x31438f(0x1b1)],'joinReq':_0x4b93c6[_0x31438f(0x2c7)]});case j[_0x31438f(0x2cc)]:return JSON[_0x31438f(0x252)]({'cmd':_0x4b93c6[_0x31438f(0x354)],'routeKey':_0x4b93c6[_0x31438f(0x1b1)],'leaveReq':_0x4b93c6[_0x31438f(0x2c7)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ys=Object['getOwnPropertyDescriptor'],Ks=(_0x587aa4,_0x185194,_0x48e791,_0x381692)=>{var _0x223aa3=_0x3f511f;for(var _0x581615=_0x381692>0x1?void 0x0:_0x381692?Ys(_0x185194,_0x48e791):_0x185194,_0x3edc5f=_0x587aa4[_0x223aa3(0x319)]-0x1,_0x559f2f;_0x3edc5f>=0x0;_0x3edc5f--)(_0x559f2f=_0x587aa4[_0x3edc5f])&&(_0x581615=_0x559f2f(_0x581615)||_0x581615);return _0x581615;},ye=(_0x47efed,_0x43329b)=>(_0x57f29a,_0x5c4719)=>_0x43329b(_0x57f29a,_0x5c4719,_0x47efed);const Ri=_0x2afbaf(_0x3f511f(0x218));function qs(_0xbf4b9d,_0x1cbf9e,_0x30fcf8){var _0x13fbc7=_0x3f511f;return _0xbf4b9d+'/'+_0x1cbf9e+'/unit/'+_0x30fcf8+_0x13fbc7(0x134);}let Gt=class extends _0x577742{constructor(_0x3a6834,_0x5eb56e,_0x54308a,_0x12ac7a,_0x26d7e8){var _0x5a4732=_0x3f511f;super(),this[_0x5a4732(0x3df)]=_0x3a6834,this[_0x5a4732(0x3e6)]=_0x5eb56e,this[_0x5a4732(0x25a)]=_0x54308a,this[_0x5a4732(0x3ae)]=_0x12ac7a,this[_0x5a4732(0x313)]=_0x26d7e8;}[_0x3f511f(0x3d7)](_0x3a4d9e){var _0x567972=_0x3f511f;const _0x53bb14=this[_0x567972(0x3df)][_0x567972(0x31a)](_0x2fefc9);if(!_0x53bb14)throw new Error(_0x567972(0x37c));const _0x1aff7d=_0x53bb14[_0x567972(0x2d1)](_0x3a4d9e);if(!_0x1aff7d)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x530be3=new _0x27be84(),_0x31e736=new _0x35a8e1();_0x530be3[_0x567972(0x217)](_0x1aff7d['close$']['subscribe'](_0x5b0b5d=>_0x31e736['next'](_0x5b0b5d))),_0x530be3['add'](_0x5c5c93(()=>_0x31e736[_0x567972(0x1ce)]()));const _0x30de96=new _0x35a8e1();_0x530be3[_0x567972(0x217)](_0x1aff7d[_0x567972(0x241)]['subscribe'](_0x126106=>_0x30de96[_0x567972(0x279)](_0x126106))),_0x530be3[_0x567972(0x217)](_0x5c5c93(()=>_0x30de96[_0x567972(0x1ce)]()));const _0x6ff68b=new _0x35a8e1();_0x530be3[_0x567972(0x217)](_0x1aff7d[_0x567972(0x366)][_0x567972(0x1ac)](_0x515287=>{const _0x2614ee=Gs(_0x515287);_0x6ff68b['next'](_0x2614ee);})),_0x530be3['add'](_0x5c5c93(()=>_0x6ff68b[_0x567972(0x1ce)]()));let _0x147200;const _0x3d7c6f=()=>{var _0x715634=_0x567972;_0x30de96[_0x715634(0x279)](new Event('connection\x20error')),_0x31e736['next'](new Event(_0x715634(0x1bb))),_0x147200[_0x715634(0x42f)]();};return _0x147200={'memberID':'','close$':_0x31e736['asObservable'](),'error$':_0x30de96['asObservable'](),'open$':_0x1aff7d[_0x567972(0x2ad)],'message$':_0x6ff68b['asObservable'](),'send':_0x4b059a=>{var _0x308d72=_0x567972;if(_0x4b059a[_0x308d72(0x354)]===j['INGEST']){if(_0x4b059a['data'][_0x308d72(0x2b4)]===_0x2680c9[_0x308d72(0x3e7)]){this['_submitChangeset'](_0x147200,_0x4b059a[_0x308d72(0x2c7)])['catch'](_0x1bdacc=>{var _0xc3423b=_0x308d72;this['_logService'][_0xc3423b(0x27e)](_0x1bdacc),_0x3d7c6f();});return;}if(_0x4b059a[_0x308d72(0x2c7)]['eventID']===_0x2680c9[_0x308d72(0x130)]){const _0x500d6b=_0x4b059a[_0x308d72(0x2c7)];this[_0x308d72(0x409)](_0x500d6b)['then'](_0x467661=>{var _0x506ebc=_0x308d72;_0x6ff68b[_0x506ebc(0x279)]({'cmd':j[_0x506ebc(0x223)],'code':Ee['OK'],'routeKey':_0x500d6b[_0x506ebc(0x2c7)][_0x506ebc(0x339)],'routeType':'','data':{'eventID':_0x2680c9[_0x506ebc(0x3b9)],'data':{'changesets':_0x467661}}});})[_0x308d72(0x43b)](_0x4debfc=>{var _0x11e6df=_0x308d72;this[_0x11e6df(0x3ae)][_0x11e6df(0x27e)](_0x4debfc),_0x3d7c6f();});return;}}_0x1aff7d[_0x308d72(0x27d)](Ws(_0x4b059a));},'close':()=>{var _0x4867a2=_0x567972;_0x1aff7d[_0x4867a2(0x42f)](),_0x530be3[_0x4867a2(0x1b5)]();}},_0x147200;}async['_submitChangeset'](_0x9589a8,_0x4ab3ad){var _0x1a591f=_0x3f511f,_0x46c6dc;const {unitType:_0x423b7d,unitID:_0x52bb93,changeset:_0x5068af}=_0x4ab3ad[_0x1a591f(0x2c7)],_0x350246={'unitID':_0x52bb93,'memberID':_0x9589a8[_0x1a591f(0x208)],'type':_0x423b7d,'changeset':_0x38c46d(_0x5068af)},_0x6c58e1=this['_configService'][_0x1a591f(0x117)](K),_0x34b2be=qs((_0x46c6dc=_0x6c58e1==null?void 0x0:_0x6c58e1[_0x1a591f(0x355)])!=null?_0x46c6dc:Ns,_0x423b7d,_0x52bb93);try{await this[_0x1a591f(0x3e6)]['post'](_0x34b2be,{'body':_0x350246});}catch(_0x2f7153){throw this['_logService']['error'](_0x1a591f(0x195),_0x1a591f(0x1e2)),_0x2f7153;}}async[_0x3f511f(0x409)](_0x144999){var _0xe5341d=_0x3f511f;const {unitID:_0x398978,from:_0x24faab,to:_0x164262,unitType:_0x4c82a8}=_0x144999['data'];return(await this[_0xe5341d(0x313)][_0xe5341d(0x22e)]({'metadata':void 0x0},{'unitID':_0x398978,'type':_0x4c82a8,'from':_0x24faab,'to':_0x164262}))[_0xe5341d(0x1c0)]['map'](_0xbf4ec3=>((_0xbf4ec3[_0xe5341d(0x2ba)]===null||_0xbf4ec3[_0xe5341d(0x2ba)]===void 0x0)&&(_0xbf4ec3[_0xe5341d(0x2ba)]=[]),_0xbf4ec3));}};Gt=Ks([ye(0x0,_0x862a0d(_0xe7d96f)),ye(0x1,_0x862a0d(_0x2c0d52)),ye(0x2,_0x603196),ye(0x3,_0x17b4dd),ye(0x4,_0x11f2d)],Gt);var zs=Object[_0x3f511f(0x32b)],Xs=(_0x19eb5e,_0x2e6d14,_0x46c256,_0x23b767)=>{for(var _0x52577b=_0x23b767>0x1?void 0x0:_0x23b767?zs(_0x2e6d14,_0x46c256):_0x2e6d14,_0x22f72a=_0x19eb5e['length']-0x1,_0xb22e6c;_0x22f72a>=0x0;_0x22f72a--)(_0xb22e6c=_0x19eb5e[_0x22f72a])&&(_0x52577b=_0xb22e6c(_0x52577b)||_0x52577b);return _0x52577b;},Re=(_0x1039a1,_0x45e925)=>(_0x15ade0,_0x3843b7)=>_0x45e925(_0x15ade0,_0x3843b7,_0x1039a1);let Le=class extends _0x577742{constructor(_0x2edc02,_0x21644e,_0x12b807,_0x39f715,_0xe3461a,_0x28ff6e){var _0x50b67b=_0x3f511f;super(),D(this,'_socket$',new _0x39fb43(void 0x0)),D(this,_0x50b67b(0x1e7),this[_0x50b67b(0x29f)][_0x50b67b(0x26e)]()),D(this,_0x50b67b(0x3a9),null),D(this,_0x50b67b(0x418),new Map()),D(this,'_status$',new _0x39fb43(me['IDLE'])),D(this,_0x50b67b(0x3d2),this['_status$']['asObservable']()),D(this,_0x50b67b(0x24d),!0x1),D(this,'_retryConnectingTimer'),D(this,_0x50b67b(0x229),0x0),D(this,_0x50b67b(0x383)),D(this,_0x50b67b(0x277)),(this[_0x50b67b(0x3df)]=_0x2edc02,this[_0x50b67b(0x3ae)]=_0x21644e,this['_configService']=_0x12b807,this[_0x50b67b(0x3f1)]=_0x39f715,this['_collaborationUIEventService']=_0xe3461a,this[_0x50b67b(0x304)]=_0x28ff6e,this[_0x50b67b(0x3cb)]());}get['_socket'](){return this['_socket$']['getValue']();}[_0x3f511f(0x3cb)](){var _0x113408=_0x3f511f;this['_networkConditionService']&&this[_0x113408(0x125)](this['_networkConditionService']['online$']['subscribe'](_0x175ddc=>{var _0x3a9084=_0x113408;_0x175ddc&&!this[_0x3a9084(0x2b0)]&&this[_0x3a9084(0x1b6)](),_0x175ddc||this[_0x3a9084(0x2e6)]();}));}['dispose'](){var _0x4e2620=_0x3f511f;super[_0x4e2620(0x1b5)](),this[_0x4e2620(0x2dd)](),this[_0x4e2620(0x25f)](),this[_0x4e2620(0x288)](),this[_0x4e2620(0x418)][_0x4e2620(0x26a)](_0x444707=>_0x444707[_0x4e2620(0x1b5)]()),this[_0x4e2620(0x418)]['clear'](),this[_0x4e2620(0x2d8)]['complete']();}async[_0x3f511f(0x33f)](_0x1c2a77){var _0x267766=_0x3f511f;if(this[_0x267766(0x418)][_0x267766(0x1c3)](_0x1c2a77))return this['_sessions'][_0x267766(0x31a)](_0x1c2a77);this[_0x267766(0x3cf)]();const _0x4affa1=this[_0x267766(0x3df)][_0x267766(0x24f)](mt,_0x1c2a77,this[_0x267766(0x29f)]['asObservable']());return this['_sessions'][_0x267766(0x235)](_0x1c2a77,_0x4affa1),_0x4affa1;}[_0x3f511f(0x190)](_0x183cfd){var _0x462320=_0x3f511f,_0x4b2808;const _0x35027c=this[_0x462320(0x418)][_0x462320(0x31a)](_0x183cfd);_0x35027c&&(this['_sessions'][_0x462320(0x120)](_0x183cfd),_0x35027c['close']()),this['_sessions'][_0x462320(0x3ab)]||(_0x4b2808=this['_socket'])==null||_0x4b2808[_0x462320(0x42f)]();}['reconnect'](){var _0x1a2883=_0x3f511f;this[_0x1a2883(0x229)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0x3f511f(0x2dd)](){var _0x3878b1=_0x3f511f;this[_0x3878b1(0x365)]!=null&&(clearTimeout(this[_0x3878b1(0x365)]),this['_retryConnectingTimer']=null);}async[_0x3f511f(0x26b)](){var _0x2a9e89=_0x3f511f,_0x14f9f9;const _0x3fb32c=this[_0x2a9e89(0x25a)][_0x2a9e89(0x117)](K),_0x2a96cc=(_0x14f9f9=_0x3fb32c==null?void 0x0:_0x3fb32c[_0x2a9e89(0x374)])!=null?_0x14f9f9:Is,_0x525a7f=await this[_0x2a9e89(0x3f1)][_0x2a9e89(0x2d1)](_0x2a96cc);return this[_0x2a9e89(0x3a9)]=_0x525a7f,_0x525a7f;}async[_0x3f511f(0x3cf)](){var _0x88ae6f=_0x3f511f,_0x13949c,_0xadf33;try{const _0x8c8f77=(_0xadf33=(_0x13949c=this[_0x88ae6f(0x2b0)])!=null?_0x13949c:this[_0x88ae6f(0x3a9)])!=null?_0xadf33:await this['_createSocket']();if(_0x8c8f77){const _0x5ba153=_0x8c8f77['send'];_0x8c8f77[_0x88ae6f(0x27d)]=_0x3aac0b=>(this[_0x88ae6f(0x3c0)](),_0x5ba153[_0x88ae6f(0x13c)](_0x8c8f77,[_0x3aac0b])),_0x8c8f77['message$'][_0x88ae6f(0x1ac)](_0x5efbec=>this[_0x88ae6f(0x2ff)](_0x8c8f77,_0x5efbec)),_0x8c8f77[_0x88ae6f(0x241)][_0x88ae6f(0x2c2)](_0x5e354b(0x1))[_0x88ae6f(0x1ac)](_0xd991a4=>this[_0x88ae6f(0x3ae)][_0x88ae6f(0x27e)](_0x88ae6f(0x32d),_0xd991a4)),_0x8c8f77[_0x88ae6f(0x2ad)][_0x88ae6f(0x2c2)](_0x5e354b(0x1))[_0x88ae6f(0x1ac)](()=>{this['_onConnectionOpen'](_0x8c8f77);}),_0x8c8f77[_0x88ae6f(0x244)]['pipe'](_0x5e354b(0x1))[_0x88ae6f(0x1ac)](_0x410ab0=>{var _0x4e608e=_0x88ae6f;this[_0x4e608e(0x3ae)]['debug'](_0x4e608e(0x275),_0x4e608e(0x2bd),_0x410ab0),this[_0x4e608e(0x1c5)]();});}}catch(_0x4a6e5f){this[_0x88ae6f(0x3ae)][_0x88ae6f(0x27e)](_0x4a6e5f),this[_0x88ae6f(0x1c5)]();}}[_0x3f511f(0x1f8)](_0x56f13e){var _0x100da3=_0x3f511f;this[_0x100da3(0x3ae)][_0x100da3(0x2ec)](_0x100da3(0x275),'socket\x20open.'),_0x56f13e[_0x100da3(0x27d)]({'cmd':j[_0x100da3(0x13e)]}),this[_0x100da3(0x3c0)]();}['_onOffline'](){var _0x2b9ad4=_0x3f511f;this[_0x2b9ad4(0x24d)]=!0x1,this[_0x2b9ad4(0x3a9)]=null,this['_status$'][_0x2b9ad4(0x279)](me['OFFLINE']),this[_0x2b9ad4(0x29f)]['next'](null),this[_0x2b9ad4(0x25f)](),this[_0x2b9ad4(0x288)]();}['_onConnectionFailed'](){var _0x8f5cfc=_0x3f511f,_0x1d01a7;this[_0x8f5cfc(0x2e6)](),this[_0x8f5cfc(0x229)]<((_0x1d01a7=this[_0x8f5cfc(0x25a)][_0x8f5cfc(0x117)](Os))!=null?_0x1d01a7:Rs)?(this[_0x8f5cfc(0x3bd)]['emitEvent']({'id':re[_0x8f5cfc(0x296)]}),this[_0x8f5cfc(0x11b)]()):this['_collaborationUIEventService']['emitEvent']({'id':re['SOCKET_FAILED']});}[_0x3f511f(0x11b)](){var _0x11f009=_0x3f511f,_0xdff905;const _0x4bc652=this['_retryCount'],_0x4a2757=this['_configService'][_0x11f009(0x117)](K),_0x4f9dc9=_0x4bc652===0x0?0x0:((_0xdff905=_0x4a2757==null?void 0x0:_0x4a2757[_0x11f009(0x21d)])!=null?_0xdff905:Ts)*0x2**_0x4bc652;this[_0x11f009(0x365)]=setTimeout(()=>{var _0xc00bb6=_0x11f009;clearTimeout(this['_retryConnectingTimer']),this[_0xc00bb6(0x365)]=null,this['_tryEnsureSocket']();},_0x4f9dc9),this[_0x11f009(0x229)]+=0x1;}[_0x3f511f(0x2ff)](_0x5116cc,_0x18f4cc){var _0x2ed9d6=_0x3f511f;const {cmd:_0x2a7a28}=_0x18f4cc;_0x2a7a28===j[_0x2ed9d6(0x13e)]&&!this[_0x2ed9d6(0x24d)]&&(_0x5116cc[_0x2ed9d6(0x208)]=_0x18f4cc['data']['memberID'],this[_0x2ed9d6(0x29f)]['next'](_0x5116cc),this['_status$'][_0x2ed9d6(0x279)](me[_0x2ed9d6(0x334)]),this[_0x2ed9d6(0x24d)]=!0x0,this['_candidateSocket']=null),_0x2a7a28===j[_0x2ed9d6(0x13d)]&&this[_0x2ed9d6(0x25f)](),this[_0x2ed9d6(0x3c0)]();}[_0x3f511f(0x3c0)](){var _0x148f3a=_0x3f511f,_0x357c19;this[_0x148f3a(0x288)](),this[_0x148f3a(0x383)]=setTimeout(()=>this[_0x148f3a(0x141)](),(_0x357c19=this[_0x148f3a(0x25a)][_0x148f3a(0x117)](Ss))!=null?_0x357c19:gs);}['_sendHeartbeat'](){var _0x29cc8d=_0x3f511f;this[_0x29cc8d(0x2b0)][_0x29cc8d(0x27d)]({'cmd':j[_0x29cc8d(0x13d)]}),this[_0x29cc8d(0x412)]();}['_waitForHeartbeatResponse'](){var _0x1cb3f8=_0x3f511f,_0x48d93e;this[_0x1cb3f8(0x277)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x48d93e=this[_0x1cb3f8(0x25a)]['getConfig'](di))!=null?_0x48d93e:fi);}[_0x3f511f(0x288)](){var _0x5933a0=_0x3f511f;this[_0x5933a0(0x383)]!=null&&(clearTimeout(this[_0x5933a0(0x383)]),this['_sendHeartbeatTimer']=null);}[_0x3f511f(0x25f)](){var _0xba315a=_0x3f511f;this['_timeoutTimer']!=null&&(clearTimeout(this[_0xba315a(0x277)]),this[_0xba315a(0x277)]=null);}};Le=Xs([Re(0x0,_0x862a0d(_0xe7d96f)),Re(0x1,_0x17b4dd),Re(0x2,_0x603196),Re(0x3,Ri),Re(0x4,_0x862a0d(ve)),Re(0x5,_0x70dca2(Vs))],Le);var Js=Object[_0x3f511f(0x32b)],Zs=(_0x3c2ed6,_0x3ffc22,_0x23c05a,_0x114495)=>{var _0x33d6ba=_0x3f511f;for(var _0xea9dac=_0x114495>0x1?void 0x0:_0x114495?Js(_0x3ffc22,_0x23c05a):_0x3ffc22,_0x3352ad=_0x3c2ed6[_0x33d6ba(0x319)]-0x1,_0x12b8d8;_0x3352ad>=0x0;_0x3352ad--)(_0x12b8d8=_0x3c2ed6[_0x3352ad])&&(_0xea9dac=_0x12b8d8(_0xea9dac)||_0xea9dac);return _0xea9dac;},Be=(_0x3eb917,_0x53a9bf)=>(_0x45d601,_0x1662c2)=>_0x53a9bf(_0x45d601,_0x1662c2,_0x3eb917);let nt=class extends _0x41c421{constructor(_0x30bad5,_0x1505b3,_0x4a5dc9,_0x1d1e90){var _0xcd8f42=_0x3f511f,_0x474699;super(),D(this,'_entities',new Map()),D(this,'_entityInit$',new _0x35a8e1()),D(this,'entityInit$',this['_entityInit$'][_0xcd8f42(0x26e)]()),(this['_injector']=_0x30bad5,this[_0xcd8f42(0x389)]=_0x1505b3,this['_configService']=_0x4a5dc9,this[_0xcd8f42(0x320)]=_0x1d1e90,((_0x474699=this[_0xcd8f42(0x25a)][_0xcd8f42(0x117)](K))==null?void 0x0:_0x474699['enableCollaboration'])!==!0x1&&this['_init']());}[_0x3f511f(0x1b5)](){var _0x3f219f=_0x3f511f;super['dispose'](),this[_0x3f219f(0x17f)][_0x3f219f(0x26a)](_0x5cb4ba=>_0x5cb4ba[_0x3f219f(0x1b5)]()),this[_0x3f219f(0x17f)][_0x3f219f(0x1ed)]();}[_0x3f511f(0x251)](_0x4fccf8){var _0x5d3866=_0x3f511f,_0x61e96b;return(_0x61e96b=this['_entities'][_0x5d3866(0x31a)](_0x4fccf8))!=null?_0x61e96b:null;}[_0x3f511f(0x148)](_0xda346e){var _0x332b62=_0x3f511f;const _0x4d81f7=this[_0x332b62(0x251)](_0xda346e);return _0x4d81f7?_0x1753f1(_0x4d81f7):this[_0x332b62(0x20b)][_0x332b62(0x2c2)](_0x3c189a(_0x3c6b14=>_0x3c6b14[_0x332b62(0x339)]===_0xda346e));}[_0x3f511f(0x187)](_0x1a63a8){var _0x40e69f=_0x3f511f;return _0x361e90(this[_0x40e69f(0x148)](_0x1a63a8)[_0x40e69f(0x2c2)](_0x509a8f(()=>{})));}[_0x3f511f(0x429)](){var _0x599707=_0x3f511f;this[_0x599707(0x320)]['getTypeOfUnitAdded$'](_0x3e374e[_0x599707(0x247)])['pipe'](_0xdce284(this['dispose$']),_0x438a1d(0x10))[_0x599707(0x1ac)](async _0x2c1c8b=>{var _0x5b89a3=_0x599707;const _0x34265f=_0x2c1c8b['getUnitId'](),_0x4bbb61=await this[_0x5b89a3(0x20a)](_0x34265f,Q[_0x5b89a3(0x247)]);this[_0x5b89a3(0x17f)][_0x5b89a3(0x235)](_0x34265f,_0x4bbb61);}),this['_univerInstanceService'][_0x599707(0x1f3)](_0x3e374e['UNIVER_DOC'])['pipe'](_0xdce284(this[_0x599707(0x16c)]),_0x438a1d(0x10))[_0x599707(0x2c2)](_0x3c189a(_0x4bb9a0=>!_0x4bb9a0[_0x599707(0x3f2)]()[_0x599707(0x39c)]('__')))['subscribe'](async _0x2b0eea=>{var _0x364d45=_0x599707;const _0x1bdf97=_0x2b0eea[_0x364d45(0x3f2)](),_0x19682f=await this['_startCollaboration'](_0x1bdf97,Q[_0x364d45(0x2a0)]);this[_0x364d45(0x17f)][_0x364d45(0x235)](_0x1bdf97,_0x19682f);}),_0x4f44f8(this[_0x599707(0x320)]['getTypeOfUnitDisposed$'](_0x3e374e['UNIVER_SHEET']),this[_0x599707(0x320)]['getTypeOfUnitDisposed$'](_0x3e374e[_0x599707(0x2a0)]))[_0x599707(0x2c2)](_0xdce284(this[_0x599707(0x16c)]))['subscribe'](_0x579c0c=>{var _0xa1043=_0x599707;const _0x434355=_0x579c0c[_0xa1043(0x3f2)](),_0x591216=this['_entities']['get'](_0x434355);_0x591216&&(_0x591216[_0xa1043(0x1b5)](),this[_0xa1043(0x17f)]['delete'](_0x434355));});}async[_0x3f511f(0x20a)](_0x3abd8a,_0x16db87){var _0x5e2c21=_0x3f511f;const _0x4f7361=await this[_0x5e2c21(0x389)][_0x5e2c21(0x33f)](_0x3abd8a),_0x39b148=this['_injector'][_0x5e2c21(0x24f)](this[_0x5e2c21(0x131)](_0x16db87),_0x3abd8a,_0x16db87,_0x4f7361);return await _0x39b148[_0x5e2c21(0x213)](),this[_0x5e2c21(0x20b)]['next'](_0x39b148),_0x39b148;}[_0x3f511f(0x131)](_0xf5ebe7){var _0x430aeb=_0x3f511f;switch(_0xf5ebe7){case Q[_0x430aeb(0x2a0)]:return It;case Q['UNIVER_SHEET']:return St;default:throw new Error(_0x430aeb(0x2df)+_0xf5ebe7);}}};nt=Zs([Be(0x0,_0x862a0d(_0xe7d96f)),Be(0x1,_0x862a0d(Le)),Be(0x2,_0x603196),Be(0x3,_0x5075a6)],nt);var Qs=Object[_0x3f511f(0x32b)],en=(_0x227459,_0x493b5d,_0x47a20e,_0x5c1f32)=>{var _0x1defd5=_0x3f511f;for(var _0x2c085b=_0x5c1f32>0x1?void 0x0:_0x5c1f32?Qs(_0x493b5d,_0x47a20e):_0x493b5d,_0x1eb4f9=_0x227459[_0x1defd5(0x319)]-0x1,_0x30f125;_0x1eb4f9>=0x0;_0x1eb4f9--)(_0x30f125=_0x227459[_0x1eb4f9])&&(_0x2c085b=_0x30f125(_0x2c085b)||_0x2c085b);return _0x2c085b;},Wt=(_0xeb193b,_0x5ba507)=>(_0xea1313,_0x253647)=>_0x5ba507(_0xea1313,_0x253647,_0xeb193b);const tn='DEFAULT_FILE_NAME',sn=_0x3f511f(0x39f);let gt=class extends _0x577742{constructor(_0x311b6b,_0x35ef4b){var _0x43c76e=_0x3f511f;super(),this[_0x43c76e(0x320)]=_0x311b6b,this[_0x43c76e(0x25a)]=_0x35ef4b,this[_0x43c76e(0x429)]();}['_init'](){var _0x201879=_0x3f511f;this[_0x201879(0x125)](this['_univerInstanceService'][_0x201879(0x33b)]['subscribe'](()=>{var _0x1d51e1=_0x201879,_0x2bd0de;const _0x507f7a=this['_univerInstanceService'][_0x1d51e1(0x231)]();let _0x2bcb9d=(_0x2bd0de=this[_0x1d51e1(0x25a)]['getConfig'](tn))!=null?_0x2bd0de:sn;_0x507f7a instanceof _0x546167&&(_0x2bcb9d=_0x507f7a[_0x1d51e1(0x153)]),document[_0x1d51e1(0x24a)]=_0x2bcb9d;}));}};gt=en([Wt(0x0,_0x5075a6),Wt(0x1,_0x603196)],gt);var nn=Object[_0x3f511f(0x32b)],rn=(_0x1b5a21,_0x372b39,_0x555bfd,_0x361416)=>{var _0x283db0=_0x3f511f;for(var _0x316887=_0x361416>0x1?void 0x0:_0x361416?nn(_0x372b39,_0x555bfd):_0x372b39,_0x939674=_0x1b5a21[_0x283db0(0x319)]-0x1,_0x85494f;_0x939674>=0x0;_0x939674--)(_0x85494f=_0x1b5a21[_0x939674])&&(_0x316887=_0x85494f(_0x316887)||_0x316887);return _0x316887;},dt=(_0x3e98c3,_0x22e635)=>(_0x189a5d,_0x216e87)=>_0x22e635(_0x189a5d,_0x216e87,_0x3e98c3);let rt=class{constructor(_0x59152e,_0x284f77,_0x3d2333){var _0x3ec545=_0x3f511f;this[_0x3ec545(0x25a)]=_0x59152e,this['_httpService']=_0x284f77,this['localeService']=_0x3d2333,this[_0x3ec545(0x213)]();}[_0x3f511f(0x213)](){var _0x1eb573=_0x3f511f;this['_httpService'][_0x1eb573(0x28f)]({'priority':0x1,'interceptor':(_0xcaf1d,_0x5c7e71)=>_0x5c7e71(_0xcaf1d)['pipe'](_0x3bcad0(async _0x22e268=>{var _0x2ca5fd=_0x1eb573;const _0x2a19a1=_0x22e268;if(_0x2a19a1['status']===0x191){if(typeof window>'u')throw new Error(_0x2ca5fd(0x419));if(window[_0x2ca5fd(0x35d)](this[_0x2ca5fd(0x2a6)]['t'](_0x2ca5fd(0x3e2)))){const _0x476a1c=window[_0x2ca5fd(0x397)](window[_0x2ca5fd(0x3d4)][_0x2ca5fd(0x400)]);window[_0x2ca5fd(0x3d4)][_0x2ca5fd(0x400)]=this[_0x2ca5fd(0x351)]()+_0x2ca5fd(0x22d)+_0x476a1c;}}return _0x2a19a1;}))});}[_0x3f511f(0x351)](){var _0x46ea51=_0x3f511f,_0x304632;const _0xce836=this[_0x46ea51(0x25a)]['getConfig'](K);return(_0x304632=_0xce836==null?void 0x0:_0xce836[_0x46ea51(0x2f6)])!=null?_0x304632:Cs;}};rt=rn([dt(0x0,_0x603196),dt(0x1,_0x862a0d(_0x2c0d52)),dt(0x2,_0x862a0d(_0x37e3a1))],rt);var an=Object[_0x3f511f(0x32b)],on=(_0x5e30a7,_0x4ee22f,_0x3302d9,_0x2a75ff)=>{for(var _0x35d598=_0x2a75ff>0x1?void 0x0:_0x2a75ff?an(_0x4ee22f,_0x3302d9):_0x4ee22f,_0x1a3012=_0x5e30a7['length']-0x1,_0x4ac350;_0x1a3012>=0x0;_0x1a3012--)(_0x4ac350=_0x5e30a7[_0x1a3012])&&(_0x35d598=_0x4ac350(_0x35d598)||_0x35d598);return _0x35d598;},Yt=(_0x5dc898,_0x47be0c)=>(_0x3b0c64,_0x564da3)=>_0x47be0c(_0x3b0c64,_0x564da3,_0x5dc898);const cn=_0x3f511f(0x350);let Tt=class extends _0x577742{constructor(_0x5eae84,_0x4a920d){var _0x25478c=_0x3f511f;super(),this[_0x25478c(0x303)]=_0x5eae84,this['_configService']=_0x4a920d,this[_0x25478c(0x225)]();}[_0x3f511f(0x225)](){var _0x50e535=_0x3f511f;const _0x3e2fb2=this;this[_0x50e535(0x125)](this['_HTTPService'][_0x50e535(0x28f)]({'priority':0x3e7,'interceptor':_0x377e2c({'isMatch'(_0x1fe26f){var _0x4839c6=_0x50e535,_0x183aaa;if(_0x1fe26f[_0x4839c6(0x132)]===_0x4839c6(0x407)&&((_0x183aaa=_0x1fe26f[_0x4839c6(0x163)])!=null&&_0x183aaa[_0x4839c6(0x314)])){const {objectID:_0x13249d,objectType:_0x9fc75a}=_0x1fe26f['requestParams']['body']||{};if(!_0x13249d||_0x9fc75a===void 0x0)return!0x1;const _0x3bab0f=_0x3e2fb2[_0x4839c6(0x439)]()+'/'+_0x9fc75a+_0x4839c6(0x40e)+_0x13249d+_0x4839c6(0x269);if(_0x1fe26f[_0x4839c6(0x3ee)]===_0x3bab0f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x13867b){var _0x580e11=_0x50e535,_0x3eeb35;return(_0x3eeb35=_0x13867b[_0x580e11(0x163)])==null?void 0x0:_0x3eeb35['body'];},'mergeParamsToRequest'(_0x43be00,_0x2890ac){var _0x3726dc=_0x50e535;const _0x388792=_0x3e2fb2['_getAPIPrefixPath']()+_0x3726dc(0x193),_0x5bec72=_0x43be00[_0x3726dc(0x331)]((_0x5893f8,_0x56a03c)=>{var _0x297fe3=_0x3726dc;const {unitID:_0x5c98b1,objectID:_0x37e5bf,objectType:_0x194008,actions:_0x7dc8d6}=_0x56a03c;return _0x5893f8[_0x5c98b1]||(_0x5893f8[_0x5c98b1]={}),_0x5893f8[_0x5c98b1][_0x37e5bf]||(_0x5893f8[_0x5c98b1][_0x37e5bf]={'objectID':_0x37e5bf,'objectType':_0x194008,'actions':[]}),_0x5893f8[_0x5c98b1][_0x37e5bf][_0x297fe3(0x159)][_0x297fe3(0x41d)](..._0x7dc8d6),_0x5893f8;},{}),_0x478b27=[];for(const _0xce0bd7 in _0x5bec72)for(const _0x13b910 in _0x5bec72[_0xce0bd7]){const {actions:_0x39fed1,objectType:_0x597ebf}=_0x5bec72[_0xce0bd7][_0x13b910],_0x176d7c=[...new Set(_0x39fed1)];_0x478b27['push']({'unitID':_0xce0bd7,'objectID':_0x13b910,'objectType':_0x597ebf,'actions':_0x176d7c});}return new _0x35b530(_0x3726dc(0x407),_0x388792,{'headers':_0x2890ac['headers'],'withCredentials':_0x2890ac['withCredentials'],'responseType':_0x2890ac[_0x3726dc(0x3e1)],'body':{'requests':_0x478b27}});}},{'distributeResult'(_0x51f17b,_0x258ff4){var _0x423d84=_0x50e535;const {objectActions:_0x627bfc}=_0x51f17b;return _0x258ff4[_0x423d84(0x3a6)](_0x9afaa8=>{var _0x38fbb0=_0x423d84;const {unitID:_0xec219c,objectID:_0x1d978a,actions:_0x12836c}=_0x9afaa8,_0x4ee841=_0x627bfc['find'](_0x187626=>_0x187626[_0x38fbb0(0x339)]===_0xec219c&&_0x187626['objectID']===_0x1d978a),_0x391cb2=_0x12836c[_0x38fbb0(0x3a6)](_0x471147=>_0x4ee841==null?void 0x0:_0x4ee841[_0x38fbb0(0x159)]['find'](_0x13b40a=>_0x13b40a['action']===_0x471147))[_0x38fbb0(0x3ad)](_0x59cfee=>!!_0x59cfee);return{'config':_0x9afaa8,'result':{'actions':_0x391cb2,'error':_0x51f17b[_0x38fbb0(0x27e)]}};});}})}));}[_0x3f511f(0x439)](){var _0x53e4b3=_0x3f511f,_0x264ae3;const _0x5b407d=this['_configService'][_0x53e4b3(0x117)](K);return(_0x264ae3=_0x5b407d==null?void 0x0:_0x5b407d[_0x53e4b3(0x175)])!=null?_0x264ae3:cn;}async[_0x3f511f(0x41c)](_0x453a2d){var _0x42ee78=_0x3f511f;const _0x52cf07=this[_0x42ee78(0x439)]()+'/'+_0x453a2d[_0x42ee78(0x23b)]+'/object';return(await this[_0x42ee78(0x303)][_0x42ee78(0x2bf)](_0x52cf07,{'body':_0x453a2d}))[_0x42ee78(0x314)][_0x42ee78(0x358)]||'';}async[_0x3f511f(0x220)](_0x33b720){var _0x3b39e2=_0x3f511f;const _0x359b40=this[_0x3b39e2(0x439)]()+'/-/object/list';return(await this['_HTTPService']['post'](_0x359b40,{'body':_0x33b720}))[_0x3b39e2(0x314)]['objects'];}async[_0x3f511f(0x203)](_0x110221){var _0x387d64=_0x3f511f,_0x1cbfbe,_0x19893b;const _0x67db4f=this[_0x387d64(0x439)]()+'/'+_0x110221[_0x387d64(0x23b)]+_0x387d64(0x40e)+_0x110221[_0x387d64(0x358)],_0x47a905=await this[_0x387d64(0x303)][_0x387d64(0x2eb)](_0x67db4f,{'body':_0x110221});if(((_0x19893b=(_0x1cbfbe=_0x47a905==null?void 0x0:_0x47a905[_0x387d64(0x314)])==null?void 0x0:_0x1cbfbe[_0x387d64(0x27e)])==null?void 0x0:_0x19893b['code'])!==0x1)throw new Error(_0x387d64(0x243));}async['allowed'](_0x10809f){var _0x52ee5a=_0x3f511f;const _0x19ea9d=this['_getAPIPrefixPath']()+'/'+_0x10809f[_0x52ee5a(0x23b)]+'/object/'+_0x10809f[_0x52ee5a(0x358)]+_0x52ee5a(0x269);return(await this[_0x52ee5a(0x303)][_0x52ee5a(0x2bf)](_0x19ea9d,{'body':_0x10809f}))[_0x52ee5a(0x314)][_0x52ee5a(0x159)];}async[_0x3f511f(0x29c)](_0x30e1d2){var _0x211a64=_0x3f511f;const _0x46ffca=this[_0x211a64(0x439)]()+_0x211a64(0x193);return(await this[_0x211a64(0x303)][_0x211a64(0x2bf)](_0x46ffca,{'body':{'requests':_0x30e1d2}}))[_0x211a64(0x314)]['objectActions'];}async[_0x3f511f(0x144)](_0x208f1e){var _0xfef52a=_0x3f511f;const _0x2ca837=this[_0xfef52a(0x439)]()+'/'+_0x208f1e[_0xfef52a(0x23b)]+_0xfef52a(0x2f0),_0xfa5204=await this['_HTTPService']['post'](_0x2ca837,{'body':_0x208f1e});return{'roles':_0xfa5204['body'][_0xfef52a(0x1e5)],'actions':_0xfa5204[_0xfef52a(0x314)][_0xfef52a(0x159)]};}async[_0x3f511f(0x20c)](_0x9c19e0){var _0x567dab=_0x3f511f;const _0x1eb54e=this['_getAPIPrefixPath']()+_0x567dab(0x1bd);await this['_HTTPService'][_0x567dab(0x120)](_0x1eb54e,{'params':{'collaboratorID':_0x9c19e0[_0x567dab(0x201)],'objectID':_0x9c19e0[_0x567dab(0x358)],'unitID':_0x9c19e0[_0x567dab(0x339)]}});}async[_0x3f511f(0x226)](_0x1abb3a){var _0x157fab=_0x3f511f;const _0x3c73a7=this['_getAPIPrefixPath']()+_0x157fab(0x1bd);await this[_0x157fab(0x303)]['patch'](_0x3c73a7,{'body':_0x1abb3a});}async['createCollaborator'](_0x390f41){var _0x3e6e1b=_0x3f511f;const _0x230916=this[_0x3e6e1b(0x439)]()+_0x3e6e1b(0x1bd);await this[_0x3e6e1b(0x303)][_0x3e6e1b(0x2bf)](_0x230916,{'body':_0x390f41});}async['listCollaborators'](_0x336685){var _0x2107bc=_0x3f511f;const _0x3e9aa4=this[_0x2107bc(0x439)]()+_0x2107bc(0x1bd);return(await this[_0x2107bc(0x303)][_0x2107bc(0x31a)](_0x3e9aa4,{'params':{'objectID':_0x336685[_0x2107bc(0x358)],'unitID':_0x336685[_0x2107bc(0x339)]}}))[_0x2107bc(0x314)][_0x2107bc(0x40d)];}async[_0x3f511f(0x2a8)](_0x10f450){var _0x58f0b0=_0x3f511f;const _0x1eee48=this['_getAPIPrefixPath']()+_0x58f0b0(0x1bd);await this[_0x58f0b0(0x303)][_0x58f0b0(0x2eb)](_0x1eee48,{'body':_0x10f450});}};Tt=on([Yt(0x0,_0x862a0d(_0x2c0d52)),Yt(0x1,_0x862a0d(_0x603196))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x58529e){var _0xda3dc6=_0x3f511f;return _0x58529e&&_0x58529e[_0xda3dc6(0x3af)]&&Object['prototype'][_0xda3dc6(0x1e3)][_0xda3dc6(0x1e1)](_0x58529e,'default')?_0x58529e[_0xda3dc6(0x332)]:_0x58529e;}var Ve={'exports':{}};function _n(_0x183890){var _0x295a40=_0x3f511f;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x183890+_0x295a40(0x3e4));}var Ge={'exports':{}},hn=Ge[_0x3f511f(0x3b8)],Kt;function ie(){var _0x376d3b=_0x3f511f;return Kt||(Kt=0x1,function(_0x254de3,_0x5851e8){(function(_0x398934,_0x3e49c5){var _0x5a0fef=_0x3312;_0x254de3[_0x5a0fef(0x3b8)]=_0x3e49c5();}(hn,function(){var _0x24120c=_0x24120c||function(_0x431021,_0x547ba1){var _0xdc34dc=_0x3312,_0xe4d6b1;if(typeof window<'u'&&window[_0xdc34dc(0x3a8)]&&(_0xe4d6b1=window['crypto']),typeof self<'u'&&self[_0xdc34dc(0x3a8)]&&(_0xe4d6b1=self[_0xdc34dc(0x3a8)]),typeof globalThis<'u'&&globalThis[_0xdc34dc(0x3a8)]&&(_0xe4d6b1=globalThis[_0xdc34dc(0x3a8)]),!_0xe4d6b1&&typeof window<'u'&&window[_0xdc34dc(0x1d7)]&&(_0xe4d6b1=window['msCrypto']),!_0xe4d6b1&&typeof ft<'u'&&ft[_0xdc34dc(0x3a8)]&&(_0xe4d6b1=ft[_0xdc34dc(0x3a8)]),!_0xe4d6b1&&typeof _n==_0xdc34dc(0x248))try{_0xe4d6b1=require('crypto');}catch{}var _0x2e3181=function(){var _0x46a12f=_0xdc34dc;if(_0xe4d6b1){if(typeof _0xe4d6b1[_0x46a12f(0x428)]==_0x46a12f(0x248))try{return _0xe4d6b1[_0x46a12f(0x428)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xe4d6b1[_0x46a12f(0x36d)]=='function')try{return _0xe4d6b1[_0x46a12f(0x36d)](0x4)[_0x46a12f(0x337)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x206893=Object[_0xdc34dc(0x41c)]||(function(){function _0x385b80(){}return function(_0x4a9688){var _0x3b5acc=_0x3312,_0x4cff60;return _0x385b80[_0x3b5acc(0x38e)]=_0x4a9688,_0x4cff60=new _0x385b80(),_0x385b80[_0x3b5acc(0x38e)]=null,_0x4cff60;};}()),_0x4d528d={},_0x470526=_0x4d528d[_0xdc34dc(0x2f4)]={},_0x4bcaa0=_0x470526[_0xdc34dc(0x308)]=(function(){return{'extend':function(_0x5133fd){var _0x8ff6af=_0x3312,_0x1e75b7=_0x206893(this);return _0x5133fd&&_0x1e75b7[_0x8ff6af(0x14c)](_0x5133fd),(!_0x1e75b7[_0x8ff6af(0x1e3)]('init')||this[_0x8ff6af(0x213)]===_0x1e75b7['init'])&&(_0x1e75b7[_0x8ff6af(0x213)]=function(){var _0x5a2fa2=_0x8ff6af;_0x1e75b7['$super']['init'][_0x5a2fa2(0x13c)](this,arguments);}),_0x1e75b7[_0x8ff6af(0x213)][_0x8ff6af(0x38e)]=_0x1e75b7,_0x1e75b7[_0x8ff6af(0x2a4)]=this,_0x1e75b7;},'create':function(){var _0x3bd4cc=_0x3312,_0x2277b9=this[_0x3bd4cc(0x3ce)]();return _0x2277b9['init'][_0x3bd4cc(0x13c)](_0x2277b9,arguments),_0x2277b9;},'init':function(){},'mixIn':function(_0x5e3355){var _0x2bba00=_0x3312;for(var _0x221759 in _0x5e3355)_0x5e3355[_0x2bba00(0x1e3)](_0x221759)&&(this[_0x221759]=_0x5e3355[_0x221759]);_0x5e3355[_0x2bba00(0x1e3)](_0x2bba00(0x2cd))&&(this[_0x2bba00(0x2cd)]=_0x5e3355[_0x2bba00(0x2cd)]);},'clone':function(){var _0x4143ad=_0x3312;return this[_0x4143ad(0x213)][_0x4143ad(0x38e)][_0x4143ad(0x3ce)](this);}};}()),_0x43d99e=_0x470526['WordArray']=_0x4bcaa0['extend']({'init':function(_0x4a39ee,_0x29386a){var _0x21a198=_0xdc34dc;_0x4a39ee=this['words']=_0x4a39ee||[],_0x29386a!=_0x547ba1?this[_0x21a198(0x38d)]=_0x29386a:this['sigBytes']=_0x4a39ee['length']*0x4;},'toString':function(_0x33d946){var _0x53b86c=_0xdc34dc;return(_0x33d946||_0x5aa8a1)[_0x53b86c(0x252)](this);},'concat':function(_0x11ab62){var _0x9c0d11=_0xdc34dc,_0x4b41bb=this[_0x9c0d11(0x340)],_0x20ee2a=_0x11ab62['words'],_0x2b06e7=this[_0x9c0d11(0x38d)],_0x32c054=_0x11ab62['sigBytes'];if(this['clamp'](),_0x2b06e7%0x4)for(var _0x4bc5fe=0x0;_0x4bc5fe<_0x32c054;_0x4bc5fe++){var _0x255e05=_0x20ee2a[_0x4bc5fe>>>0x2]>>>0x18-_0x4bc5fe%0x4*0x8&0xff;_0x4b41bb[_0x2b06e7+_0x4bc5fe>>>0x2]|=_0x255e05<<0x18-(_0x2b06e7+_0x4bc5fe)%0x4*0x8;}else{for(var _0xe0a5c=0x0;_0xe0a5c<_0x32c054;_0xe0a5c+=0x4)_0x4b41bb[_0x2b06e7+_0xe0a5c>>>0x2]=_0x20ee2a[_0xe0a5c>>>0x2];}return this['sigBytes']+=_0x32c054,this;},'clamp':function(){var _0x2d3813=_0xdc34dc,_0x1ef13d=this['words'],_0xa74005=this[_0x2d3813(0x38d)];_0x1ef13d[_0xa74005>>>0x2]&=0xffffffff<<0x20-_0xa74005%0x4*0x8,_0x1ef13d[_0x2d3813(0x319)]=_0x431021['ceil'](_0xa74005/0x4);},'clone':function(){var _0x206e5b=_0xdc34dc,_0x27c516=_0x4bcaa0[_0x206e5b(0x27a)]['call'](this);return _0x27c516['words']=this[_0x206e5b(0x340)][_0x206e5b(0x373)](0x0),_0x27c516;},'random':function(_0x572906){var _0x692d3d=_0xdc34dc;for(var _0x1a7b85=[],_0xcacb5f=0x0;_0xcacb5f<_0x572906;_0xcacb5f+=0x4)_0x1a7b85[_0x692d3d(0x41d)](_0x2e3181());return new _0x43d99e[(_0x692d3d(0x213))](_0x1a7b85,_0x572906);}}),_0x22a378=_0x4d528d[_0xdc34dc(0x3fd)]={},_0x5aa8a1=_0x22a378[_0xdc34dc(0x273)]={'stringify':function(_0x9bb952){var _0x28b22a=_0xdc34dc;for(var _0x59c930=_0x9bb952['words'],_0x5b8971=_0x9bb952[_0x28b22a(0x38d)],_0x1014a4=[],_0x4cf318=0x0;_0x4cf318<_0x5b8971;_0x4cf318++){var _0x44520b=_0x59c930[_0x4cf318>>>0x2]>>>0x18-_0x4cf318%0x4*0x8&0xff;_0x1014a4['push']((_0x44520b>>>0x4)[_0x28b22a(0x2cd)](0x10)),_0x1014a4[_0x28b22a(0x41d)]((_0x44520b&0xf)[_0x28b22a(0x2cd)](0x10));}return _0x1014a4[_0x28b22a(0x3dd)]('');},'parse':function(_0x416061){var _0x23e709=_0xdc34dc;for(var _0x550acd=_0x416061['length'],_0x43aa94=[],_0x19233a=0x0;_0x19233a<_0x550acd;_0x19233a+=0x2)_0x43aa94[_0x19233a>>>0x3]|=parseInt(_0x416061['substr'](_0x19233a,0x2),0x10)<<0x18-_0x19233a%0x8*0x4;return new _0x43d99e[(_0x23e709(0x213))](_0x43aa94,_0x550acd/0x2);}},_0x913f35=_0x22a378[_0xdc34dc(0x12d)]={'stringify':function(_0x2ad910){var _0x31a510=_0xdc34dc;for(var _0x55dadd=_0x2ad910[_0x31a510(0x340)],_0x23df33=_0x2ad910[_0x31a510(0x38d)],_0x15fb9b=[],_0x1479c0=0x0;_0x1479c0<_0x23df33;_0x1479c0++){var _0x2d0aff=_0x55dadd[_0x1479c0>>>0x2]>>>0x18-_0x1479c0%0x4*0x8&0xff;_0x15fb9b[_0x31a510(0x41d)](String[_0x31a510(0x127)](_0x2d0aff));}return _0x15fb9b[_0x31a510(0x3dd)]('');},'parse':function(_0x2c33de){var _0x5b0a5a=_0xdc34dc;for(var _0x308289=_0x2c33de['length'],_0x1fa1a4=[],_0x42e138=0x0;_0x42e138<_0x308289;_0x42e138++)_0x1fa1a4[_0x42e138>>>0x2]|=(_0x2c33de[_0x5b0a5a(0x1fb)](_0x42e138)&0xff)<<0x18-_0x42e138%0x4*0x8;return new _0x43d99e['init'](_0x1fa1a4,_0x308289);}},_0x20062c=_0x22a378[_0xdc34dc(0x1a5)]={'stringify':function(_0x4e26e5){var _0x65375=_0xdc34dc;try{return decodeURIComponent(escape(_0x913f35[_0x65375(0x252)](_0x4e26e5)));}catch{throw new Error(_0x65375(0x33e));}},'parse':function(_0x545ee5){var _0x47084a=_0xdc34dc;return _0x913f35[_0x47084a(0x3ea)](unescape(encodeURIComponent(_0x545ee5)));}},_0x4229f6=_0x470526['BufferedBlockAlgorithm']=_0x4bcaa0[_0xdc34dc(0x3ce)]({'reset':function(){var _0x48c753=_0xdc34dc;this[_0x48c753(0x1df)]=new _0x43d99e[(_0x48c753(0x213))](),this['_nDataBytes']=0x0;},'_append':function(_0x593140){var _0x5d16c1=_0xdc34dc;typeof _0x593140==_0x5d16c1(0x161)&&(_0x593140=_0x20062c['parse'](_0x593140)),this[_0x5d16c1(0x1df)][_0x5d16c1(0x329)](_0x593140),this[_0x5d16c1(0x2fd)]+=_0x593140[_0x5d16c1(0x38d)];},'_process':function(_0xfc0426){var _0x348f51=_0xdc34dc,_0x18877b,_0x25682f=this[_0x348f51(0x1df)],_0x22908f=_0x25682f['words'],_0x40aefb=_0x25682f['sigBytes'],_0x344d7d=this[_0x348f51(0x1dc)],_0x14c64d=_0x344d7d*0x4,_0x42a7e7=_0x40aefb/_0x14c64d;_0xfc0426?_0x42a7e7=_0x431021[_0x348f51(0x176)](_0x42a7e7):_0x42a7e7=_0x431021[_0x348f51(0x2a5)]((_0x42a7e7|0x0)-this['_minBufferSize'],0x0);var _0x2b2607=_0x42a7e7*_0x344d7d,_0x3bce11=_0x431021['min'](_0x2b2607*0x4,_0x40aefb);if(_0x2b2607){for(var _0x66b86=0x0;_0x66b86<_0x2b2607;_0x66b86+=_0x344d7d)this['_doProcessBlock'](_0x22908f,_0x66b86);_0x18877b=_0x22908f['splice'](0x0,_0x2b2607),_0x25682f[_0x348f51(0x38d)]-=_0x3bce11;}return new _0x43d99e[(_0x348f51(0x213))](_0x18877b,_0x3bce11);},'clone':function(){var _0x477186=_0xdc34dc,_0x579ac0=_0x4bcaa0[_0x477186(0x27a)][_0x477186(0x1e1)](this);return _0x579ac0['_data']=this[_0x477186(0x1df)][_0x477186(0x27a)](),_0x579ac0;},'_minBufferSize':0x0});_0x470526['Hasher']=_0x4229f6[_0xdc34dc(0x3ce)]({'cfg':_0x4bcaa0[_0xdc34dc(0x3ce)](),'init':function(_0x1dc6ea){var _0x40b147=_0xdc34dc;this[_0x40b147(0x177)]=this['cfg'][_0x40b147(0x3ce)](_0x1dc6ea),this[_0x40b147(0x2e3)]();},'reset':function(){var _0x573571=_0xdc34dc;_0x4229f6[_0x573571(0x2e3)]['call'](this),this['_doReset']();},'update':function(_0x2ef05a){return this['_append'](_0x2ef05a),this['_process'](),this;},'finalize':function(_0x5e5192){var _0x43e812=_0xdc34dc;_0x5e5192&&this[_0x43e812(0x1c1)](_0x5e5192);var _0x20e1ba=this[_0x43e812(0x38c)]();return _0x20e1ba;},'blockSize':0x10,'_createHelper':function(_0x130973){return function(_0x4fdffe,_0x19de00){var _0x351c58=_0x3312;return new _0x130973[(_0x351c58(0x213))](_0x19de00)[_0x351c58(0x1d2)](_0x4fdffe);};},'_createHmacHelper':function(_0x6b19e7){return function(_0x183716,_0x44b997){var _0x3909d1=_0x3312;return new _0x43b41f[(_0x3909d1(0x3c2))][(_0x3909d1(0x213))](_0x6b19e7,_0x44b997)[_0x3909d1(0x1d2)](_0x183716);};}});var _0x43b41f=_0x4d528d[_0xdc34dc(0x25e)]={};return _0x4d528d;}(Math);return _0x24120c;}));}(Ge)),Ge[_0x376d3b(0x3b8)];}var We={'exports':{}},ln=We[_0x3f511f(0x3b8)],qt;function Ni(){return qt||(qt=0x1,function(_0x33590e,_0x2c98ce){(function(_0x13840f,_0x1facf7){_0x33590e['exports']=_0x1facf7(ie());}(ln,function(_0x40d39b){var _0x37bbb4=_0x3312;return(function(){var _0x515066=_0x3312,_0x3b4b46=_0x40d39b,_0x44e728=_0x3b4b46[_0x515066(0x2f4)],_0x3ad0e0=_0x44e728['WordArray'],_0x2047e0=_0x3b4b46[_0x515066(0x3fd)];_0x2047e0[_0x515066(0x378)]={'stringify':function(_0x2c8d24){var _0x22687e=_0x515066,_0x472e54=_0x2c8d24[_0x22687e(0x340)],_0x2a964b=_0x2c8d24[_0x22687e(0x38d)],_0x5c71cf=this['_map'];_0x2c8d24[_0x22687e(0x392)]();for(var _0x5360b4=[],_0x380f39=0x0;_0x380f39<_0x2a964b;_0x380f39+=0x3)for(var _0x39037f=_0x472e54[_0x380f39>>>0x2]>>>0x18-_0x380f39%0x4*0x8&0xff,_0xb57e0a=_0x472e54[_0x380f39+0x1>>>0x2]>>>0x18-(_0x380f39+0x1)%0x4*0x8&0xff,_0x50ceff=_0x472e54[_0x380f39+0x2>>>0x2]>>>0x18-(_0x380f39+0x2)%0x4*0x8&0xff,_0x16e5d9=_0x39037f<<0x10|_0xb57e0a<<0x8|_0x50ceff,_0x10c13f=0x0;_0x10c13f<0x4&&_0x380f39+_0x10c13f*0.75<_0x2a964b;_0x10c13f++)_0x5360b4[_0x22687e(0x41d)](_0x5c71cf[_0x22687e(0x326)](_0x16e5d9>>>0x6*(0x3-_0x10c13f)&0x3f));var _0x685eb6=_0x5c71cf['charAt'](0x40);if(_0x685eb6){for(;_0x5360b4[_0x22687e(0x319)]%0x4;)_0x5360b4['push'](_0x685eb6);}return _0x5360b4[_0x22687e(0x3dd)]('');},'parse':function(_0x401e24){var _0x261d49=_0x515066,_0x30fbdf=_0x401e24['length'],_0x3e0b52=this[_0x261d49(0x256)],_0xe24581=this[_0x261d49(0x361)];if(!_0xe24581){_0xe24581=this[_0x261d49(0x361)]=[];for(var _0x287c40=0x0;_0x287c40<_0x3e0b52[_0x261d49(0x319)];_0x287c40++)_0xe24581[_0x3e0b52[_0x261d49(0x1fb)](_0x287c40)]=_0x287c40;}var _0x50732e=_0x3e0b52[_0x261d49(0x326)](0x40);if(_0x50732e){var _0x327385=_0x401e24[_0x261d49(0x35f)](_0x50732e);_0x327385!==-0x1&&(_0x30fbdf=_0x327385);}return _0xda3cc3(_0x401e24,_0x30fbdf,_0xe24581);},'_map':_0x515066(0x1d1)};function _0xda3cc3(_0x3cd0b8,_0x458d75,_0x2a120f){var _0x3f6606=_0x515066;for(var _0x12021d=[],_0x5cc96d=0x0,_0x284460=0x0;_0x284460<_0x458d75;_0x284460++)if(_0x284460%0x4){var _0x2c3e23=_0x2a120f[_0x3cd0b8[_0x3f6606(0x1fb)](_0x284460-0x1)]<<_0x284460%0x4*0x2,_0x3497fd=_0x2a120f[_0x3cd0b8[_0x3f6606(0x1fb)](_0x284460)]>>>0x6-_0x284460%0x4*0x2,_0x48a468=_0x2c3e23|_0x3497fd;_0x12021d[_0x5cc96d>>>0x2]|=_0x48a468<<0x18-_0x5cc96d%0x4*0x8,_0x5cc96d++;}return _0x3ad0e0[_0x3f6606(0x41c)](_0x12021d,_0x5cc96d);}}()),_0x40d39b[_0x37bbb4(0x3fd)]['Base64'];}));}(We)),We['exports'];}var Ye={'exports':{}},un=Ye[_0x3f511f(0x3b8)],zt;function dn(){var _0x2c7155=_0x3f511f;return zt||(zt=0x1,function(_0xa05630,_0x13640f){(function(_0x35e582,_0x37c769){var _0x308686=_0x3312;_0xa05630[_0x308686(0x3b8)]=_0x37c769(ie());}(un,function(_0x17c66a){var _0x51ea21=_0x3312;return function(_0x3efe59){var _0x3f3795=_0x3312,_0x348707=_0x17c66a,_0x10a125=_0x348707['lib'],_0xc5f75a=_0x10a125[_0x3f3795(0x18f)],_0x59dcd2=_0x10a125['Hasher'],_0x4d7dea=_0x348707['algo'],_0x1b9f90=[];(function(){var _0x410d34=_0x3f3795;for(var _0x2b59bc=0x0;_0x2b59bc<0x40;_0x2b59bc++)_0x1b9f90[_0x2b59bc]=_0x3efe59[_0x410d34(0x197)](_0x3efe59[_0x410d34(0x160)](_0x2b59bc+0x1))*0x100000000|0x0;}());var _0x1edd66=_0x4d7dea[_0x3f3795(0x344)]=_0x59dcd2[_0x3f3795(0x3ce)]({'_doReset':function(){var _0x23258e=_0x3f3795;this[_0x23258e(0x2c9)]=new _0xc5f75a[(_0x23258e(0x213))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2ae3a3,_0x2d044e){var _0x16c691=_0x3f3795;for(var _0x5e3c7d=0x0;_0x5e3c7d<0x10;_0x5e3c7d++){var _0x3cd32b=_0x2d044e+_0x5e3c7d,_0x34eb96=_0x2ae3a3[_0x3cd32b];_0x2ae3a3[_0x3cd32b]=(_0x34eb96<<0x8|_0x34eb96>>>0x18)&0xff00ff|(_0x34eb96<<0x18|_0x34eb96>>>0x8)&0xff00ff00;}var _0x4a0e2c=this[_0x16c691(0x2c9)][_0x16c691(0x340)],_0x3cf8c5=_0x2ae3a3[_0x2d044e+0x0],_0x437e0f=_0x2ae3a3[_0x2d044e+0x1],_0x3901f6=_0x2ae3a3[_0x2d044e+0x2],_0x45aa23=_0x2ae3a3[_0x2d044e+0x3],_0x1d9348=_0x2ae3a3[_0x2d044e+0x4],_0x273687=_0x2ae3a3[_0x2d044e+0x5],_0x4fa865=_0x2ae3a3[_0x2d044e+0x6],_0x2ba6d2=_0x2ae3a3[_0x2d044e+0x7],_0x311426=_0x2ae3a3[_0x2d044e+0x8],_0xe29de0=_0x2ae3a3[_0x2d044e+0x9],_0x46adcf=_0x2ae3a3[_0x2d044e+0xa],_0x10710a=_0x2ae3a3[_0x2d044e+0xb],_0x53d306=_0x2ae3a3[_0x2d044e+0xc],_0x1be462=_0x2ae3a3[_0x2d044e+0xd],_0x1dd2fd=_0x2ae3a3[_0x2d044e+0xe],_0x28a63b=_0x2ae3a3[_0x2d044e+0xf],_0x4aadf1=_0x4a0e2c[0x0],_0x330d06=_0x4a0e2c[0x1],_0x19e3b5=_0x4a0e2c[0x2],_0x4c69cf=_0x4a0e2c[0x3];_0x4aadf1=_0x194ad2(_0x4aadf1,_0x330d06,_0x19e3b5,_0x4c69cf,_0x3cf8c5,0x7,_0x1b9f90[0x0]),_0x4c69cf=_0x194ad2(_0x4c69cf,_0x4aadf1,_0x330d06,_0x19e3b5,_0x437e0f,0xc,_0x1b9f90[0x1]),_0x19e3b5=_0x194ad2(_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x330d06,_0x3901f6,0x11,_0x1b9f90[0x2]),_0x330d06=_0x194ad2(_0x330d06,_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x45aa23,0x16,_0x1b9f90[0x3]),_0x4aadf1=_0x194ad2(_0x4aadf1,_0x330d06,_0x19e3b5,_0x4c69cf,_0x1d9348,0x7,_0x1b9f90[0x4]),_0x4c69cf=_0x194ad2(_0x4c69cf,_0x4aadf1,_0x330d06,_0x19e3b5,_0x273687,0xc,_0x1b9f90[0x5]),_0x19e3b5=_0x194ad2(_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x330d06,_0x4fa865,0x11,_0x1b9f90[0x6]),_0x330d06=_0x194ad2(_0x330d06,_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x2ba6d2,0x16,_0x1b9f90[0x7]),_0x4aadf1=_0x194ad2(_0x4aadf1,_0x330d06,_0x19e3b5,_0x4c69cf,_0x311426,0x7,_0x1b9f90[0x8]),_0x4c69cf=_0x194ad2(_0x4c69cf,_0x4aadf1,_0x330d06,_0x19e3b5,_0xe29de0,0xc,_0x1b9f90[0x9]),_0x19e3b5=_0x194ad2(_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x330d06,_0x46adcf,0x11,_0x1b9f90[0xa]),_0x330d06=_0x194ad2(_0x330d06,_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x10710a,0x16,_0x1b9f90[0xb]),_0x4aadf1=_0x194ad2(_0x4aadf1,_0x330d06,_0x19e3b5,_0x4c69cf,_0x53d306,0x7,_0x1b9f90[0xc]),_0x4c69cf=_0x194ad2(_0x4c69cf,_0x4aadf1,_0x330d06,_0x19e3b5,_0x1be462,0xc,_0x1b9f90[0xd]),_0x19e3b5=_0x194ad2(_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x330d06,_0x1dd2fd,0x11,_0x1b9f90[0xe]),_0x330d06=_0x194ad2(_0x330d06,_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x28a63b,0x16,_0x1b9f90[0xf]),_0x4aadf1=_0x33fb12(_0x4aadf1,_0x330d06,_0x19e3b5,_0x4c69cf,_0x437e0f,0x5,_0x1b9f90[0x10]),_0x4c69cf=_0x33fb12(_0x4c69cf,_0x4aadf1,_0x330d06,_0x19e3b5,_0x4fa865,0x9,_0x1b9f90[0x11]),_0x19e3b5=_0x33fb12(_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x330d06,_0x10710a,0xe,_0x1b9f90[0x12]),_0x330d06=_0x33fb12(_0x330d06,_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x3cf8c5,0x14,_0x1b9f90[0x13]),_0x4aadf1=_0x33fb12(_0x4aadf1,_0x330d06,_0x19e3b5,_0x4c69cf,_0x273687,0x5,_0x1b9f90[0x14]),_0x4c69cf=_0x33fb12(_0x4c69cf,_0x4aadf1,_0x330d06,_0x19e3b5,_0x46adcf,0x9,_0x1b9f90[0x15]),_0x19e3b5=_0x33fb12(_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x330d06,_0x28a63b,0xe,_0x1b9f90[0x16]),_0x330d06=_0x33fb12(_0x330d06,_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x1d9348,0x14,_0x1b9f90[0x17]),_0x4aadf1=_0x33fb12(_0x4aadf1,_0x330d06,_0x19e3b5,_0x4c69cf,_0xe29de0,0x5,_0x1b9f90[0x18]),_0x4c69cf=_0x33fb12(_0x4c69cf,_0x4aadf1,_0x330d06,_0x19e3b5,_0x1dd2fd,0x9,_0x1b9f90[0x19]),_0x19e3b5=_0x33fb12(_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x330d06,_0x45aa23,0xe,_0x1b9f90[0x1a]),_0x330d06=_0x33fb12(_0x330d06,_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x311426,0x14,_0x1b9f90[0x1b]),_0x4aadf1=_0x33fb12(_0x4aadf1,_0x330d06,_0x19e3b5,_0x4c69cf,_0x1be462,0x5,_0x1b9f90[0x1c]),_0x4c69cf=_0x33fb12(_0x4c69cf,_0x4aadf1,_0x330d06,_0x19e3b5,_0x3901f6,0x9,_0x1b9f90[0x1d]),_0x19e3b5=_0x33fb12(_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x330d06,_0x2ba6d2,0xe,_0x1b9f90[0x1e]),_0x330d06=_0x33fb12(_0x330d06,_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x53d306,0x14,_0x1b9f90[0x1f]),_0x4aadf1=_0x3673d5(_0x4aadf1,_0x330d06,_0x19e3b5,_0x4c69cf,_0x273687,0x4,_0x1b9f90[0x20]),_0x4c69cf=_0x3673d5(_0x4c69cf,_0x4aadf1,_0x330d06,_0x19e3b5,_0x311426,0xb,_0x1b9f90[0x21]),_0x19e3b5=_0x3673d5(_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x330d06,_0x10710a,0x10,_0x1b9f90[0x22]),_0x330d06=_0x3673d5(_0x330d06,_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x1dd2fd,0x17,_0x1b9f90[0x23]),_0x4aadf1=_0x3673d5(_0x4aadf1,_0x330d06,_0x19e3b5,_0x4c69cf,_0x437e0f,0x4,_0x1b9f90[0x24]),_0x4c69cf=_0x3673d5(_0x4c69cf,_0x4aadf1,_0x330d06,_0x19e3b5,_0x1d9348,0xb,_0x1b9f90[0x25]),_0x19e3b5=_0x3673d5(_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x330d06,_0x2ba6d2,0x10,_0x1b9f90[0x26]),_0x330d06=_0x3673d5(_0x330d06,_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x46adcf,0x17,_0x1b9f90[0x27]),_0x4aadf1=_0x3673d5(_0x4aadf1,_0x330d06,_0x19e3b5,_0x4c69cf,_0x1be462,0x4,_0x1b9f90[0x28]),_0x4c69cf=_0x3673d5(_0x4c69cf,_0x4aadf1,_0x330d06,_0x19e3b5,_0x3cf8c5,0xb,_0x1b9f90[0x29]),_0x19e3b5=_0x3673d5(_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x330d06,_0x45aa23,0x10,_0x1b9f90[0x2a]),_0x330d06=_0x3673d5(_0x330d06,_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x4fa865,0x17,_0x1b9f90[0x2b]),_0x4aadf1=_0x3673d5(_0x4aadf1,_0x330d06,_0x19e3b5,_0x4c69cf,_0xe29de0,0x4,_0x1b9f90[0x2c]),_0x4c69cf=_0x3673d5(_0x4c69cf,_0x4aadf1,_0x330d06,_0x19e3b5,_0x53d306,0xb,_0x1b9f90[0x2d]),_0x19e3b5=_0x3673d5(_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x330d06,_0x28a63b,0x10,_0x1b9f90[0x2e]),_0x330d06=_0x3673d5(_0x330d06,_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x3901f6,0x17,_0x1b9f90[0x2f]),_0x4aadf1=_0x2ad2ee(_0x4aadf1,_0x330d06,_0x19e3b5,_0x4c69cf,_0x3cf8c5,0x6,_0x1b9f90[0x30]),_0x4c69cf=_0x2ad2ee(_0x4c69cf,_0x4aadf1,_0x330d06,_0x19e3b5,_0x2ba6d2,0xa,_0x1b9f90[0x31]),_0x19e3b5=_0x2ad2ee(_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x330d06,_0x1dd2fd,0xf,_0x1b9f90[0x32]),_0x330d06=_0x2ad2ee(_0x330d06,_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x273687,0x15,_0x1b9f90[0x33]),_0x4aadf1=_0x2ad2ee(_0x4aadf1,_0x330d06,_0x19e3b5,_0x4c69cf,_0x53d306,0x6,_0x1b9f90[0x34]),_0x4c69cf=_0x2ad2ee(_0x4c69cf,_0x4aadf1,_0x330d06,_0x19e3b5,_0x45aa23,0xa,_0x1b9f90[0x35]),_0x19e3b5=_0x2ad2ee(_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x330d06,_0x46adcf,0xf,_0x1b9f90[0x36]),_0x330d06=_0x2ad2ee(_0x330d06,_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x437e0f,0x15,_0x1b9f90[0x37]),_0x4aadf1=_0x2ad2ee(_0x4aadf1,_0x330d06,_0x19e3b5,_0x4c69cf,_0x311426,0x6,_0x1b9f90[0x38]),_0x4c69cf=_0x2ad2ee(_0x4c69cf,_0x4aadf1,_0x330d06,_0x19e3b5,_0x28a63b,0xa,_0x1b9f90[0x39]),_0x19e3b5=_0x2ad2ee(_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x330d06,_0x4fa865,0xf,_0x1b9f90[0x3a]),_0x330d06=_0x2ad2ee(_0x330d06,_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x1be462,0x15,_0x1b9f90[0x3b]),_0x4aadf1=_0x2ad2ee(_0x4aadf1,_0x330d06,_0x19e3b5,_0x4c69cf,_0x1d9348,0x6,_0x1b9f90[0x3c]),_0x4c69cf=_0x2ad2ee(_0x4c69cf,_0x4aadf1,_0x330d06,_0x19e3b5,_0x10710a,0xa,_0x1b9f90[0x3d]),_0x19e3b5=_0x2ad2ee(_0x19e3b5,_0x4c69cf,_0x4aadf1,_0x330d06,_0x3901f6,0xf,_0x1b9f90[0x3e]),_0x330d06=_0x2ad2ee(_0x330d06,_0x19e3b5,_0x4c69cf,_0x4aadf1,_0xe29de0,0x15,_0x1b9f90[0x3f]),_0x4a0e2c[0x0]=_0x4a0e2c[0x0]+_0x4aadf1|0x0,_0x4a0e2c[0x1]=_0x4a0e2c[0x1]+_0x330d06|0x0,_0x4a0e2c[0x2]=_0x4a0e2c[0x2]+_0x19e3b5|0x0,_0x4a0e2c[0x3]=_0x4a0e2c[0x3]+_0x4c69cf|0x0;},'_doFinalize':function(){var _0x160c57=_0x3f3795,_0x5b4055=this[_0x160c57(0x1df)],_0x46322c=_0x5b4055[_0x160c57(0x340)],_0x56501d=this[_0x160c57(0x2fd)]*0x8,_0x4269ff=_0x5b4055[_0x160c57(0x38d)]*0x8;_0x46322c[_0x4269ff>>>0x5]|=0x80<<0x18-_0x4269ff%0x20;var _0x522231=_0x3efe59[_0x160c57(0x179)](_0x56501d/0x100000000),_0x25cc51=_0x56501d;_0x46322c[(_0x4269ff+0x40>>>0x9<<0x4)+0xf]=(_0x522231<<0x8|_0x522231>>>0x18)&0xff00ff|(_0x522231<<0x18|_0x522231>>>0x8)&0xff00ff00,_0x46322c[(_0x4269ff+0x40>>>0x9<<0x4)+0xe]=(_0x25cc51<<0x8|_0x25cc51>>>0x18)&0xff00ff|(_0x25cc51<<0x18|_0x25cc51>>>0x8)&0xff00ff00,_0x5b4055[_0x160c57(0x38d)]=(_0x46322c[_0x160c57(0x319)]+0x1)*0x4,this['_process']();for(var _0x4fb0cc=this[_0x160c57(0x2c9)],_0x131755=_0x4fb0cc[_0x160c57(0x340)],_0x24b69a=0x0;_0x24b69a<0x4;_0x24b69a++){var _0x48044c=_0x131755[_0x24b69a];_0x131755[_0x24b69a]=(_0x48044c<<0x8|_0x48044c>>>0x18)&0xff00ff|(_0x48044c<<0x18|_0x48044c>>>0x8)&0xff00ff00;}return _0x4fb0cc;},'clone':function(){var _0x2876f3=_0x3f3795,_0x5ef424=_0x59dcd2[_0x2876f3(0x27a)][_0x2876f3(0x1e1)](this);return _0x5ef424[_0x2876f3(0x2c9)]=this['_hash'][_0x2876f3(0x27a)](),_0x5ef424;}});function _0x194ad2(_0x3a73f0,_0x6d1279,_0x1de4ab,_0x10e828,_0xf41f77,_0x6e60f,_0x599ed6){var _0x40f2b0=_0x3a73f0+(_0x6d1279&_0x1de4ab|~_0x6d1279&_0x10e828)+_0xf41f77+_0x599ed6;return(_0x40f2b0<<_0x6e60f|_0x40f2b0>>>0x20-_0x6e60f)+_0x6d1279;}function _0x33fb12(_0xd66c96,_0x54023f,_0x3d2dba,_0x36c7e4,_0x1f0567,_0x35ca45,_0x573bc7){var _0x41bb5d=_0xd66c96+(_0x54023f&_0x36c7e4|_0x3d2dba&~_0x36c7e4)+_0x1f0567+_0x573bc7;return(_0x41bb5d<<_0x35ca45|_0x41bb5d>>>0x20-_0x35ca45)+_0x54023f;}function _0x3673d5(_0x3d9128,_0x46a57c,_0x4c27ca,_0x3f42d4,_0x3ffec4,_0x24fb8b,_0x535fea){var _0x5c1590=_0x3d9128+(_0x46a57c^_0x4c27ca^_0x3f42d4)+_0x3ffec4+_0x535fea;return(_0x5c1590<<_0x24fb8b|_0x5c1590>>>0x20-_0x24fb8b)+_0x46a57c;}function _0x2ad2ee(_0x3f08ea,_0x23f665,_0x3888ca,_0x4cd1b0,_0x183b95,_0x455742,_0xcc729b){var _0x4ae923=_0x3f08ea+(_0x3888ca^(_0x23f665|~_0x4cd1b0))+_0x183b95+_0xcc729b;return(_0x4ae923<<_0x455742|_0x4ae923>>>0x20-_0x455742)+_0x23f665;}_0x348707['MD5']=_0x59dcd2['_createHelper'](_0x1edd66),_0x348707[_0x3f3795(0x1a0)]=_0x59dcd2[_0x3f3795(0x3b7)](_0x1edd66);}(Math),_0x17c66a[_0x51ea21(0x344)];}));}(Ye)),Ye[_0x2c7155(0x3b8)];}var Ke={'exports':{}},qe={'exports':{}},fn=qe['exports'],Xt;function vn(){var _0x246f21=_0x3f511f;return Xt||(Xt=0x1,function(_0x22bb55,_0x411aa2){(function(_0x463e8c,_0x33a6b0){var _0x27769c=_0x3312;_0x22bb55[_0x27769c(0x3b8)]=_0x33a6b0(ie());}(fn,function(_0x2e7545){var _0x46cb07=_0x3312;return(function(){var _0xc1c3ba=_0x3312,_0x55ceaf=_0x2e7545,_0x1c5737=_0x55ceaf[_0xc1c3ba(0x2f4)],_0x14f465=_0x1c5737[_0xc1c3ba(0x18f)],_0x4f22d6=_0x1c5737[_0xc1c3ba(0x27c)],_0x121b66=_0x55ceaf[_0xc1c3ba(0x25e)],_0x51dc28=[],_0x11914b=_0x121b66[_0xc1c3ba(0x21b)]=_0x4f22d6[_0xc1c3ba(0x3ce)]({'_doReset':function(){var _0x409640=_0xc1c3ba;this[_0x409640(0x2c9)]=new _0x14f465['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xa1590a,_0xa63cd7){var _0x22c335=_0xc1c3ba;for(var _0x56196a=this[_0x22c335(0x2c9)][_0x22c335(0x340)],_0x58f28a=_0x56196a[0x0],_0x569a6a=_0x56196a[0x1],_0x357557=_0x56196a[0x2],_0xa6e8ea=_0x56196a[0x3],_0x39bbfe=_0x56196a[0x4],_0x756059=0x0;_0x756059<0x50;_0x756059++){if(_0x756059<0x10)_0x51dc28[_0x756059]=_0xa1590a[_0xa63cd7+_0x756059]|0x0;else{var _0x3d2f65=_0x51dc28[_0x756059-0x3]^_0x51dc28[_0x756059-0x8]^_0x51dc28[_0x756059-0xe]^_0x51dc28[_0x756059-0x10];_0x51dc28[_0x756059]=_0x3d2f65<<0x1|_0x3d2f65>>>0x1f;}var _0x55b58a=(_0x58f28a<<0x5|_0x58f28a>>>0x1b)+_0x39bbfe+_0x51dc28[_0x756059];_0x756059<0x14?_0x55b58a+=(_0x569a6a&_0x357557|~_0x569a6a&_0xa6e8ea)+0x5a827999:_0x756059<0x28?_0x55b58a+=(_0x569a6a^_0x357557^_0xa6e8ea)+0x6ed9eba1:_0x756059<0x3c?_0x55b58a+=(_0x569a6a&_0x357557|_0x569a6a&_0xa6e8ea|_0x357557&_0xa6e8ea)-0x70e44324:_0x55b58a+=(_0x569a6a^_0x357557^_0xa6e8ea)-0x359d3e2a,_0x39bbfe=_0xa6e8ea,_0xa6e8ea=_0x357557,_0x357557=_0x569a6a<<0x1e|_0x569a6a>>>0x2,_0x569a6a=_0x58f28a,_0x58f28a=_0x55b58a;}_0x56196a[0x0]=_0x56196a[0x0]+_0x58f28a|0x0,_0x56196a[0x1]=_0x56196a[0x1]+_0x569a6a|0x0,_0x56196a[0x2]=_0x56196a[0x2]+_0x357557|0x0,_0x56196a[0x3]=_0x56196a[0x3]+_0xa6e8ea|0x0,_0x56196a[0x4]=_0x56196a[0x4]+_0x39bbfe|0x0;},'_doFinalize':function(){var _0x5e4188=_0xc1c3ba,_0x5be905=this[_0x5e4188(0x1df)],_0x9e1bc8=_0x5be905[_0x5e4188(0x340)],_0x160b6e=this[_0x5e4188(0x2fd)]*0x8,_0x5b1e47=_0x5be905[_0x5e4188(0x38d)]*0x8;return _0x9e1bc8[_0x5b1e47>>>0x5]|=0x80<<0x18-_0x5b1e47%0x20,_0x9e1bc8[(_0x5b1e47+0x40>>>0x9<<0x4)+0xe]=Math[_0x5e4188(0x179)](_0x160b6e/0x100000000),_0x9e1bc8[(_0x5b1e47+0x40>>>0x9<<0x4)+0xf]=_0x160b6e,_0x5be905[_0x5e4188(0x38d)]=_0x9e1bc8['length']*0x4,this['_process'](),this[_0x5e4188(0x2c9)];},'clone':function(){var _0x13d8e4=_0xc1c3ba,_0x2d0b85=_0x4f22d6[_0x13d8e4(0x27a)][_0x13d8e4(0x1e1)](this);return _0x2d0b85[_0x13d8e4(0x2c9)]=this[_0x13d8e4(0x2c9)]['clone'](),_0x2d0b85;}});_0x55ceaf['SHA1']=_0x4f22d6[_0xc1c3ba(0x115)](_0x11914b),_0x55ceaf[_0xc1c3ba(0x221)]=_0x4f22d6['_createHmacHelper'](_0x11914b);}()),_0x2e7545[_0x46cb07(0x21b)];}));}(qe)),qe[_0x246f21(0x3b8)];}var ze={'exports':{}},En=ze[_0x3f511f(0x3b8)],Jt;function pn(){var _0x652160=_0x3f511f;return Jt||(Jt=0x1,function(_0x191df7,_0x284378){(function(_0x3842f4,_0x2fb45a){_0x191df7['exports']=_0x2fb45a(ie());}(En,function(_0x55bb2d){(function(){var _0x39077c=_0x3312,_0x438e26=_0x55bb2d,_0x389d29=_0x438e26[_0x39077c(0x2f4)],_0x966f88=_0x389d29[_0x39077c(0x308)],_0xeb57a7=_0x438e26[_0x39077c(0x3fd)],_0x3d9d56=_0xeb57a7[_0x39077c(0x1a5)],_0x310b44=_0x438e26[_0x39077c(0x25e)];_0x310b44[_0x39077c(0x3c2)]=_0x966f88[_0x39077c(0x3ce)]({'init':function(_0x57b2ff,_0x1e7838){var _0x27dcc3=_0x39077c;_0x57b2ff=this[_0x27dcc3(0x2c4)]=new _0x57b2ff[(_0x27dcc3(0x213))](),typeof _0x1e7838=='string'&&(_0x1e7838=_0x3d9d56[_0x27dcc3(0x3ea)](_0x1e7838));var _0x265d19=_0x57b2ff[_0x27dcc3(0x1dc)],_0xd1707f=_0x265d19*0x4;_0x1e7838['sigBytes']>_0xd1707f&&(_0x1e7838=_0x57b2ff['finalize'](_0x1e7838)),_0x1e7838[_0x27dcc3(0x392)]();for(var _0x556af5=this[_0x27dcc3(0x126)]=_0x1e7838[_0x27dcc3(0x27a)](),_0x39cb30=this[_0x27dcc3(0x2c8)]=_0x1e7838[_0x27dcc3(0x27a)](),_0x1c00b5=_0x556af5['words'],_0x20b238=_0x39cb30[_0x27dcc3(0x340)],_0x55d949=0x0;_0x55d949<_0x265d19;_0x55d949++)_0x1c00b5[_0x55d949]^=0x5c5c5c5c,_0x20b238[_0x55d949]^=0x36363636;_0x556af5[_0x27dcc3(0x38d)]=_0x39cb30[_0x27dcc3(0x38d)]=_0xd1707f,this['reset']();},'reset':function(){var _0x211ff5=_0x39077c,_0x36b4bb=this[_0x211ff5(0x2c4)];_0x36b4bb[_0x211ff5(0x2e3)](),_0x36b4bb['update'](this[_0x211ff5(0x2c8)]);},'update':function(_0x144205){var _0x2b3d48=_0x39077c;return this[_0x2b3d48(0x2c4)][_0x2b3d48(0x203)](_0x144205),this;},'finalize':function(_0x266fd9){var _0x4303eb=_0x39077c,_0x4c6478=this[_0x4303eb(0x2c4)],_0x2637a5=_0x4c6478[_0x4303eb(0x1d2)](_0x266fd9);_0x4c6478['reset']();var _0x590d0f=_0x4c6478[_0x4303eb(0x1d2)](this[_0x4303eb(0x126)]['clone']()[_0x4303eb(0x329)](_0x2637a5));return _0x590d0f;}});}());}));}(ze)),ze[_0x652160(0x3b8)];}var mn=Ke[_0x3f511f(0x3b8)],Zt;function Ci(){return Zt||(Zt=0x1,function(_0x27ca44,_0x2c7b5){(function(_0x56b87c,_0x29946e,_0x4f2e64){_0x27ca44['exports']=_0x29946e(ie(),vn(),pn());}(mn,function(_0x11feb2){var _0x58aed2=_0x3312;return(function(){var _0x1aae8f=_0x3312,_0x52b79b=_0x11feb2,_0x222fa6=_0x52b79b[_0x1aae8f(0x2f4)],_0x328450=_0x222fa6[_0x1aae8f(0x308)],_0x30ac10=_0x222fa6[_0x1aae8f(0x18f)],_0x3654a9=_0x52b79b[_0x1aae8f(0x25e)],_0xc58708=_0x3654a9['MD5'],_0xf30231=_0x3654a9[_0x1aae8f(0x2dc)]=_0x328450[_0x1aae8f(0x3ce)]({'cfg':_0x328450[_0x1aae8f(0x3ce)]({'keySize':0x80/0x20,'hasher':_0xc58708,'iterations':0x1}),'init':function(_0x173071){var _0x27aaaf=_0x1aae8f;this[_0x27aaaf(0x177)]=this[_0x27aaaf(0x177)][_0x27aaaf(0x3ce)](_0x173071);},'compute':function(_0x41451c,_0x47ad3e){var _0x25b991=_0x1aae8f;for(var _0x33c641,_0x44ba72=this[_0x25b991(0x177)],_0x183fb0=_0x44ba72[_0x25b991(0x15c)][_0x25b991(0x41c)](),_0x598b92=_0x30ac10[_0x25b991(0x41c)](),_0x39adf6=_0x598b92[_0x25b991(0x340)],_0x2e8c26=_0x44ba72[_0x25b991(0x21f)],_0x3558ae=_0x44ba72[_0x25b991(0x16f)];_0x39adf6[_0x25b991(0x319)]<_0x2e8c26;){_0x33c641&&_0x183fb0['update'](_0x33c641),_0x33c641=_0x183fb0[_0x25b991(0x203)](_0x41451c)[_0x25b991(0x1d2)](_0x47ad3e),_0x183fb0[_0x25b991(0x2e3)]();for(var _0x59aa53=0x1;_0x59aa53<_0x3558ae;_0x59aa53++)_0x33c641=_0x183fb0['finalize'](_0x33c641),_0x183fb0[_0x25b991(0x2e3)]();_0x598b92[_0x25b991(0x329)](_0x33c641);}return _0x598b92[_0x25b991(0x38d)]=_0x2e8c26*0x4,_0x598b92;}});_0x52b79b[_0x1aae8f(0x2dc)]=function(_0x302729,_0x15b01c,_0x2ba287){var _0x2e714a=_0x1aae8f;return _0xf30231[_0x2e714a(0x41c)](_0x2ba287)[_0x2e714a(0x363)](_0x302729,_0x15b01c);};}()),_0x11feb2[_0x58aed2(0x2dc)];}));}(Ke)),Ke['exports'];}var Xe={'exports':{}},In=Xe[_0x3f511f(0x3b8)],Qt;function bi(){var _0x3ed040=_0x3f511f;return Qt||(Qt=0x1,function(_0x2fb8a8,_0xb9e2e1){(function(_0x20cf0d,_0x247787,_0x1469c2){var _0x5b17f6=_0x3312;_0x2fb8a8[_0x5b17f6(0x3b8)]=_0x247787(ie(),Ci());}(In,function(_0x2a582f){var _0x14ee45=_0x3312;_0x2a582f[_0x14ee45(0x2f4)][_0x14ee45(0x23d)]||function(_0x385c6e){var _0x5dfb4f=_0x14ee45,_0x4ba33c=_0x2a582f,_0x1a28c7=_0x4ba33c[_0x5dfb4f(0x2f4)],_0x5bad45=_0x1a28c7[_0x5dfb4f(0x308)],_0x5b7527=_0x1a28c7[_0x5dfb4f(0x18f)],_0x1d2294=_0x1a28c7[_0x5dfb4f(0x2f2)],_0x518f3e=_0x4ba33c[_0x5dfb4f(0x3fd)];_0x518f3e['Utf8'];var _0x1b9ded=_0x518f3e[_0x5dfb4f(0x378)],_0x87243e=_0x4ba33c[_0x5dfb4f(0x25e)],_0x308d9f=_0x87243e[_0x5dfb4f(0x2dc)],_0x51779e=_0x1a28c7[_0x5dfb4f(0x23d)]=_0x1d2294[_0x5dfb4f(0x3ce)]({'cfg':_0x5bad45[_0x5dfb4f(0x3ce)](),'createEncryptor':function(_0x44b64c,_0xd38c53){var _0x1b9cdb=_0x5dfb4f;return this[_0x1b9cdb(0x41c)](this[_0x1b9cdb(0x194)],_0x44b64c,_0xd38c53);},'createDecryptor':function(_0x14d7d8,_0x255da0){var _0x431781=_0x5dfb4f;return this['create'](this[_0x431781(0x417)],_0x14d7d8,_0x255da0);},'init':function(_0x171198,_0x5104cb,_0x536f2e){var _0x3ac2a4=_0x5dfb4f;this[_0x3ac2a4(0x177)]=this[_0x3ac2a4(0x177)][_0x3ac2a4(0x3ce)](_0x536f2e),this[_0x3ac2a4(0x2ca)]=_0x171198,this['_key']=_0x5104cb,this['reset']();},'reset':function(){var _0x129586=_0x5dfb4f;_0x1d2294[_0x129586(0x2e3)]['call'](this),this[_0x129586(0x426)]();},'process':function(_0x54081c){var _0x1dec2a=_0x5dfb4f;return this[_0x1dec2a(0x1c1)](_0x54081c),this[_0x1dec2a(0x3c5)]();},'finalize':function(_0x1fa64c){var _0x3ce637=_0x5dfb4f;_0x1fa64c&&this[_0x3ce637(0x1c1)](_0x1fa64c);var _0x11a71d=this[_0x3ce637(0x38c)]();return _0x11a71d;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x14d6e8(_0x5b4bca){var _0x1901fc=_0x3312;return typeof _0x5b4bca==_0x1901fc(0x161)?_0x37ed29:_0x289532;}return function(_0xaca00a){return{'encrypt':function(_0xf9e8ef,_0x6bf022,_0x242106){var _0xadd9d=_0x3312;return _0x14d6e8(_0x6bf022)[_0xadd9d(0x1cf)](_0xaca00a,_0xf9e8ef,_0x6bf022,_0x242106);},'decrypt':function(_0x2aea51,_0x2a850d,_0x49abcc){var _0x37dcdd=_0x3312;return _0x14d6e8(_0x2a850d)[_0x37dcdd(0x265)](_0xaca00a,_0x2aea51,_0x2a850d,_0x49abcc);}};};}())});_0x1a28c7[_0x5dfb4f(0x39a)]=_0x51779e[_0x5dfb4f(0x3ce)]({'_doFinalize':function(){var _0x50cbd5=_0x5dfb4f,_0x1dba9b=this[_0x50cbd5(0x3c5)](!0x0);return _0x1dba9b;},'blockSize':0x1});var _0x41f317=_0x4ba33c[_0x5dfb4f(0x36f)]={},_0x4a4696=_0x1a28c7[_0x5dfb4f(0x17b)]=_0x5bad45[_0x5dfb4f(0x3ce)]({'createEncryptor':function(_0x165c20,_0x4f3323){var _0x1466be=_0x5dfb4f;return this[_0x1466be(0x2f1)][_0x1466be(0x41c)](_0x165c20,_0x4f3323);},'createDecryptor':function(_0xfd2c20,_0x33d389){var _0x242312=_0x5dfb4f;return this[_0x242312(0x2c1)][_0x242312(0x41c)](_0xfd2c20,_0x33d389);},'init':function(_0x1c6a10,_0x3be933){var _0x283c59=_0x5dfb4f;this['_cipher']=_0x1c6a10,this[_0x283c59(0x26d)]=_0x3be933;}}),_0x464f19=_0x41f317[_0x5dfb4f(0x41a)]=(function(){var _0x1d39ae=_0x5dfb4f,_0x5ac0fa=_0x4a4696[_0x1d39ae(0x3ce)]();_0x5ac0fa[_0x1d39ae(0x2f1)]=_0x5ac0fa[_0x1d39ae(0x3ce)]({'processBlock':function(_0x2ebf32,_0x4d1b4e){var _0x3efb03=_0x1d39ae,_0x59f526=this['_cipher'],_0x4a6936=_0x59f526[_0x3efb03(0x1dc)];_0x8813ea['call'](this,_0x2ebf32,_0x4d1b4e,_0x4a6936),_0x59f526[_0x3efb03(0x281)](_0x2ebf32,_0x4d1b4e),this[_0x3efb03(0x1fc)]=_0x2ebf32['slice'](_0x4d1b4e,_0x4d1b4e+_0x4a6936);}}),_0x5ac0fa[_0x1d39ae(0x2c1)]=_0x5ac0fa[_0x1d39ae(0x3ce)]({'processBlock':function(_0xafd26,_0x564d83){var _0x3571f1=_0x1d39ae,_0x17fa28=this[_0x3571f1(0x2d2)],_0x1c3ff8=_0x17fa28[_0x3571f1(0x1dc)],_0x38c78f=_0xafd26['slice'](_0x564d83,_0x564d83+_0x1c3ff8);_0x17fa28['decryptBlock'](_0xafd26,_0x564d83),_0x8813ea[_0x3571f1(0x1e1)](this,_0xafd26,_0x564d83,_0x1c3ff8),this[_0x3571f1(0x1fc)]=_0x38c78f;}});function _0x8813ea(_0x33824a,_0x26ea81,_0x2bea92){var _0x3520ef=_0x1d39ae,_0x80e092,_0x51c4c2=this[_0x3520ef(0x26d)];_0x51c4c2?(_0x80e092=_0x51c4c2,this[_0x3520ef(0x26d)]=_0x385c6e):_0x80e092=this[_0x3520ef(0x1fc)];for(var _0x11519b=0x0;_0x11519b<_0x2bea92;_0x11519b++)_0x33824a[_0x26ea81+_0x11519b]^=_0x80e092[_0x11519b];}return _0x5ac0fa;}()),_0x235a44=_0x4ba33c[_0x5dfb4f(0x1c8)]={},_0x4d0ba4=_0x235a44['Pkcs7']={'pad':function(_0x42ef26,_0x49201c){var _0x8e3dd6=_0x5dfb4f;for(var _0x1c3c4c=_0x49201c*0x4,_0x5d0e90=_0x1c3c4c-_0x42ef26[_0x8e3dd6(0x38d)]%_0x1c3c4c,_0x3cb7b7=_0x5d0e90<<0x18|_0x5d0e90<<0x10|_0x5d0e90<<0x8|_0x5d0e90,_0x4c1888=[],_0x4c4654=0x0;_0x4c4654<_0x5d0e90;_0x4c4654+=0x4)_0x4c1888[_0x8e3dd6(0x41d)](_0x3cb7b7);var _0x2e7af2=_0x5b7527[_0x8e3dd6(0x41c)](_0x4c1888,_0x5d0e90);_0x42ef26[_0x8e3dd6(0x329)](_0x2e7af2);},'unpad':function(_0x21e008){var _0x2a231e=_0x5dfb4f,_0x101fa1=_0x21e008[_0x2a231e(0x340)][_0x21e008['sigBytes']-0x1>>>0x2]&0xff;_0x21e008[_0x2a231e(0x38d)]-=_0x101fa1;}};_0x1a28c7[_0x5dfb4f(0x3d9)]=_0x51779e[_0x5dfb4f(0x3ce)]({'cfg':_0x51779e[_0x5dfb4f(0x177)][_0x5dfb4f(0x3ce)]({'mode':_0x464f19,'padding':_0x4d0ba4}),'reset':function(){var _0x5e6b27=_0x5dfb4f,_0x31e0bd;_0x51779e[_0x5e6b27(0x2e3)][_0x5e6b27(0x1e1)](this);var _0x27acc3=this['cfg'],_0x1b742e=_0x27acc3['iv'],_0x2255e9=_0x27acc3[_0x5e6b27(0x36f)];this[_0x5e6b27(0x2ca)]==this[_0x5e6b27(0x194)]?_0x31e0bd=_0x2255e9[_0x5e6b27(0x402)]:(_0x31e0bd=_0x2255e9[_0x5e6b27(0x349)],this[_0x5e6b27(0x289)]=0x1),this['_mode']&&this[_0x5e6b27(0x2cb)]['__creator']==_0x31e0bd?this[_0x5e6b27(0x2cb)][_0x5e6b27(0x213)](this,_0x1b742e&&_0x1b742e[_0x5e6b27(0x340)]):(this[_0x5e6b27(0x2cb)]=_0x31e0bd[_0x5e6b27(0x1e1)](_0x2255e9,this,_0x1b742e&&_0x1b742e['words']),this['_mode'][_0x5e6b27(0x3b2)]=_0x31e0bd);},'_doProcessBlock':function(_0x19c0b6,_0x1c8447){var _0x2a39fd=_0x5dfb4f;this[_0x2a39fd(0x2cb)]['processBlock'](_0x19c0b6,_0x1c8447);},'_doFinalize':function(){var _0x4e8286=_0x5dfb4f,_0x2808ac,_0x196cb2=this[_0x4e8286(0x177)]['padding'];return this[_0x4e8286(0x2ca)]==this['_ENC_XFORM_MODE']?(_0x196cb2[_0x4e8286(0x1c8)](this[_0x4e8286(0x1df)],this['blockSize']),_0x2808ac=this[_0x4e8286(0x3c5)](!0x0)):(_0x2808ac=this['_process'](!0x0),_0x196cb2[_0x4e8286(0x202)](_0x2808ac)),_0x2808ac;},'blockSize':0x80/0x20});var _0x2ea522=_0x1a28c7[_0x5dfb4f(0x335)]=_0x5bad45[_0x5dfb4f(0x3ce)]({'init':function(_0x2cf313){var _0x49c4b1=_0x5dfb4f;this[_0x49c4b1(0x14c)](_0x2cf313);},'toString':function(_0x312ae5){var _0x2c2052=_0x5dfb4f;return(_0x312ae5||this[_0x2c2052(0x1ae)])[_0x2c2052(0x252)](this);}}),_0x58438a=_0x4ba33c[_0x5dfb4f(0x1e0)]={},_0x1da7f1=_0x58438a[_0x5dfb4f(0x1f7)]={'stringify':function(_0x567d73){var _0xe21a59=_0x5dfb4f,_0xb66432,_0x22e5fe=_0x567d73[_0xe21a59(0x310)],_0x343887=_0x567d73['salt'];return _0x343887?_0xb66432=_0x5b7527[_0xe21a59(0x41c)]([0x53616c74,0x65645f5f])[_0xe21a59(0x329)](_0x343887)[_0xe21a59(0x329)](_0x22e5fe):_0xb66432=_0x22e5fe,_0xb66432['toString'](_0x1b9ded);},'parse':function(_0xabfed8){var _0x5cb01f=_0x5dfb4f,_0x38d619,_0x39ebe7=_0x1b9ded[_0x5cb01f(0x3ea)](_0xabfed8),_0x2015b4=_0x39ebe7['words'];return _0x2015b4[0x0]==0x53616c74&&_0x2015b4[0x1]==0x65645f5f&&(_0x38d619=_0x5b7527[_0x5cb01f(0x41c)](_0x2015b4['slice'](0x2,0x4)),_0x2015b4[_0x5cb01f(0x136)](0x0,0x4),_0x39ebe7[_0x5cb01f(0x38d)]-=0x10),_0x2ea522[_0x5cb01f(0x41c)]({'ciphertext':_0x39ebe7,'salt':_0x38d619});}},_0x289532=_0x1a28c7['SerializableCipher']=_0x5bad45[_0x5dfb4f(0x3ce)]({'cfg':_0x5bad45[_0x5dfb4f(0x3ce)]({'format':_0x1da7f1}),'encrypt':function(_0xc5d07e,_0x1fe57c,_0x124407,_0x20d988){var _0x1569b3=_0x5dfb4f;_0x20d988=this[_0x1569b3(0x177)][_0x1569b3(0x3ce)](_0x20d988);var _0xb45d29=_0xc5d07e[_0x1569b3(0x402)](_0x124407,_0x20d988),_0x7ea3ad=_0xb45d29[_0x1569b3(0x1d2)](_0x1fe57c),_0x1b1439=_0xb45d29[_0x1569b3(0x177)];return _0x2ea522[_0x1569b3(0x41c)]({'ciphertext':_0x7ea3ad,'key':_0x124407,'iv':_0x1b1439['iv'],'algorithm':_0xc5d07e,'mode':_0x1b1439[_0x1569b3(0x36f)],'padding':_0x1b1439['padding'],'blockSize':_0xc5d07e[_0x1569b3(0x1dc)],'formatter':_0x20d988[_0x1569b3(0x1e0)]});},'decrypt':function(_0x319009,_0xe491ca,_0x1dac7a,_0x1d8050){var _0x1f84e9=_0x5dfb4f;_0x1d8050=this[_0x1f84e9(0x177)][_0x1f84e9(0x3ce)](_0x1d8050),_0xe491ca=this[_0x1f84e9(0x25b)](_0xe491ca,_0x1d8050[_0x1f84e9(0x1e0)]);var _0x10c11e=_0x319009[_0x1f84e9(0x349)](_0x1dac7a,_0x1d8050)[_0x1f84e9(0x1d2)](_0xe491ca[_0x1f84e9(0x310)]);return _0x10c11e;},'_parse':function(_0x5cc271,_0x362f7c){var _0x538297=_0x5dfb4f;return typeof _0x5cc271=='string'?_0x362f7c[_0x538297(0x3ea)](_0x5cc271,this):_0x5cc271;}}),_0x28465f=_0x4ba33c[_0x5dfb4f(0x30a)]={},_0x271acf=_0x28465f[_0x5dfb4f(0x1f7)]={'execute':function(_0x1928e0,_0x44ca1f,_0x8b6632,_0x2d9890,_0x2ee664){var _0xb53d05=_0x5dfb4f;if(_0x2d9890||(_0x2d9890=_0x5b7527[_0xb53d05(0x24e)](0x40/0x8)),_0x2ee664)var _0x490f91=_0x308d9f['create']({'keySize':_0x44ca1f+_0x8b6632,'hasher':_0x2ee664})[_0xb53d05(0x363)](_0x1928e0,_0x2d9890);else var _0x490f91=_0x308d9f[_0xb53d05(0x41c)]({'keySize':_0x44ca1f+_0x8b6632})[_0xb53d05(0x363)](_0x1928e0,_0x2d9890);var _0x4ad60f=_0x5b7527[_0xb53d05(0x41c)](_0x490f91[_0xb53d05(0x340)][_0xb53d05(0x373)](_0x44ca1f),_0x8b6632*0x4);return _0x490f91[_0xb53d05(0x38d)]=_0x44ca1f*0x4,_0x2ea522[_0xb53d05(0x41c)]({'key':_0x490f91,'iv':_0x4ad60f,'salt':_0x2d9890});}},_0x37ed29=_0x1a28c7[_0x5dfb4f(0x3ba)]=_0x289532[_0x5dfb4f(0x3ce)]({'cfg':_0x289532[_0x5dfb4f(0x177)]['extend']({'kdf':_0x271acf}),'encrypt':function(_0x2aece9,_0x3e995e,_0x47ac38,_0x107d59){var _0xc058fc=_0x5dfb4f;_0x107d59=this[_0xc058fc(0x177)]['extend'](_0x107d59);var _0x30dd78=_0x107d59[_0xc058fc(0x30a)][_0xc058fc(0x19a)](_0x47ac38,_0x2aece9[_0xc058fc(0x21f)],_0x2aece9[_0xc058fc(0x1eb)],_0x107d59[_0xc058fc(0x325)],_0x107d59[_0xc058fc(0x15c)]);_0x107d59['iv']=_0x30dd78['iv'];var _0x5003a9=_0x289532[_0xc058fc(0x1cf)]['call'](this,_0x2aece9,_0x3e995e,_0x30dd78['key'],_0x107d59);return _0x5003a9[_0xc058fc(0x14c)](_0x30dd78),_0x5003a9;},'decrypt':function(_0x316ba5,_0x13c44b,_0x4f6c0d,_0xdda981){var _0x4bffb5=_0x5dfb4f;_0xdda981=this['cfg'][_0x4bffb5(0x3ce)](_0xdda981),_0x13c44b=this[_0x4bffb5(0x25b)](_0x13c44b,_0xdda981['format']);var _0x1fbee6=_0xdda981[_0x4bffb5(0x30a)][_0x4bffb5(0x19a)](_0x4f6c0d,_0x316ba5[_0x4bffb5(0x21f)],_0x316ba5['ivSize'],_0x13c44b[_0x4bffb5(0x325)],_0xdda981[_0x4bffb5(0x15c)]);_0xdda981['iv']=_0x1fbee6['iv'];var _0x44c65f=_0x289532[_0x4bffb5(0x265)][_0x4bffb5(0x1e1)](this,_0x316ba5,_0x13c44b,_0x1fbee6[_0x4bffb5(0x312)],_0xdda981);return _0x44c65f;}});}();}));}(Xe)),Xe[_0x3ed040(0x3b8)];}var Sn=Ve[_0x3f511f(0x3b8)],ei;function gn(){var _0x102019=_0x3f511f;return ei||(ei=0x1,function(_0x4400a5,_0x127509){(function(_0x38434d,_0x1dabb8,_0x17f528){var _0x3c46a1=_0x3312;_0x4400a5[_0x3c46a1(0x3b8)]=_0x1dabb8(ie(),Ni(),dn(),Ci(),bi());}(Sn,function(_0x4ef667){var _0x48f0e5=_0x3312;return(function(){var _0x4bba0f=_0x3312,_0x5a7cf7=_0x4ef667,_0x216e5d=_0x5a7cf7[_0x4bba0f(0x2f4)],_0x24050f=_0x216e5d[_0x4bba0f(0x3d9)],_0x2a6ae3=_0x5a7cf7[_0x4bba0f(0x25e)],_0x4c7524=[],_0x2cf5f9=[],_0xdc641c=[],_0x4de930=[],_0x1b130c=[],_0x90dea7=[],_0x13d888=[],_0x443f98=[],_0x5458dd=[],_0x46a2b2=[];(function(){for(var _0x5d38e4=[],_0x4305bc=0x0;_0x4305bc<0x100;_0x4305bc++)_0x4305bc<0x80?_0x5d38e4[_0x4305bc]=_0x4305bc<<0x1:_0x5d38e4[_0x4305bc]=_0x4305bc<<0x1^0x11b;for(var _0x59856c=0x0,_0x4615b9=0x0,_0x4305bc=0x0;_0x4305bc<0x100;_0x4305bc++){var _0xaf29c5=_0x4615b9^_0x4615b9<<0x1^_0x4615b9<<0x2^_0x4615b9<<0x3^_0x4615b9<<0x4;_0xaf29c5=_0xaf29c5>>>0x8^_0xaf29c5&0xff^0x63,_0x4c7524[_0x59856c]=_0xaf29c5,_0x2cf5f9[_0xaf29c5]=_0x59856c;var _0x853be=_0x5d38e4[_0x59856c],_0x5b6700=_0x5d38e4[_0x853be],_0x54491c=_0x5d38e4[_0x5b6700],_0x5204a0=_0x5d38e4[_0xaf29c5]*0x101^_0xaf29c5*0x1010100;_0xdc641c[_0x59856c]=_0x5204a0<<0x18|_0x5204a0>>>0x8,_0x4de930[_0x59856c]=_0x5204a0<<0x10|_0x5204a0>>>0x10,_0x1b130c[_0x59856c]=_0x5204a0<<0x8|_0x5204a0>>>0x18,_0x90dea7[_0x59856c]=_0x5204a0;var _0x5204a0=_0x54491c*0x1010101^_0x5b6700*0x10001^_0x853be*0x101^_0x59856c*0x1010100;_0x13d888[_0xaf29c5]=_0x5204a0<<0x18|_0x5204a0>>>0x8,_0x443f98[_0xaf29c5]=_0x5204a0<<0x10|_0x5204a0>>>0x10,_0x5458dd[_0xaf29c5]=_0x5204a0<<0x8|_0x5204a0>>>0x18,_0x46a2b2[_0xaf29c5]=_0x5204a0,_0x59856c?(_0x59856c=_0x853be^_0x5d38e4[_0x5d38e4[_0x5d38e4[_0x54491c^_0x853be]]],_0x4615b9^=_0x5d38e4[_0x5d38e4[_0x4615b9]]):_0x59856c=_0x4615b9=0x1;}}());var _0x4e5260=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x44f20=_0x2a6ae3[_0x4bba0f(0x2b8)]=_0x24050f['extend']({'_doReset':function(){var _0x5ee2a7=_0x4bba0f,_0x51f0bb;if(!(this['_nRounds']&&this[_0x5ee2a7(0x34e)]===this[_0x5ee2a7(0x261)])){for(var _0xcdcc53=this['_keyPriorReset']=this[_0x5ee2a7(0x261)],_0x2b3289=_0xcdcc53[_0x5ee2a7(0x340)],_0x3d4147=_0xcdcc53[_0x5ee2a7(0x38d)]/0x4,_0x2abae6=this['_nRounds']=_0x3d4147+0x6,_0x4cb3a1=(_0x2abae6+0x1)*0x4,_0xdb4b8f=this[_0x5ee2a7(0x2f8)]=[],_0x57fe2b=0x0;_0x57fe2b<_0x4cb3a1;_0x57fe2b++)_0x57fe2b<_0x3d4147?_0xdb4b8f[_0x57fe2b]=_0x2b3289[_0x57fe2b]:(_0x51f0bb=_0xdb4b8f[_0x57fe2b-0x1],_0x57fe2b%_0x3d4147?_0x3d4147>0x6&&_0x57fe2b%_0x3d4147==0x4&&(_0x51f0bb=_0x4c7524[_0x51f0bb>>>0x18]<<0x18|_0x4c7524[_0x51f0bb>>>0x10&0xff]<<0x10|_0x4c7524[_0x51f0bb>>>0x8&0xff]<<0x8|_0x4c7524[_0x51f0bb&0xff]):(_0x51f0bb=_0x51f0bb<<0x8|_0x51f0bb>>>0x18,_0x51f0bb=_0x4c7524[_0x51f0bb>>>0x18]<<0x18|_0x4c7524[_0x51f0bb>>>0x10&0xff]<<0x10|_0x4c7524[_0x51f0bb>>>0x8&0xff]<<0x8|_0x4c7524[_0x51f0bb&0xff],_0x51f0bb^=_0x4e5260[_0x57fe2b/_0x3d4147|0x0]<<0x18),_0xdb4b8f[_0x57fe2b]=_0xdb4b8f[_0x57fe2b-_0x3d4147]^_0x51f0bb);for(var _0x5efdb2=this[_0x5ee2a7(0x242)]=[],_0x3503a5=0x0;_0x3503a5<_0x4cb3a1;_0x3503a5++){var _0x57fe2b=_0x4cb3a1-_0x3503a5;if(_0x3503a5%0x4)var _0x51f0bb=_0xdb4b8f[_0x57fe2b];else var _0x51f0bb=_0xdb4b8f[_0x57fe2b-0x4];_0x3503a5<0x4||_0x57fe2b<=0x4?_0x5efdb2[_0x3503a5]=_0x51f0bb:_0x5efdb2[_0x3503a5]=_0x13d888[_0x4c7524[_0x51f0bb>>>0x18]]^_0x443f98[_0x4c7524[_0x51f0bb>>>0x10&0xff]]^_0x5458dd[_0x4c7524[_0x51f0bb>>>0x8&0xff]]^_0x46a2b2[_0x4c7524[_0x51f0bb&0xff]];}}},'encryptBlock':function(_0x30cab1,_0x1b6b9d){var _0x170172=_0x4bba0f;this[_0x170172(0x3e0)](_0x30cab1,_0x1b6b9d,this[_0x170172(0x2f8)],_0xdc641c,_0x4de930,_0x1b130c,_0x90dea7,_0x4c7524);},'decryptBlock':function(_0x1689a5,_0x31a96f){var _0x29ea46=_0x4bba0f,_0x4af8a2=_0x1689a5[_0x31a96f+0x1];_0x1689a5[_0x31a96f+0x1]=_0x1689a5[_0x31a96f+0x3],_0x1689a5[_0x31a96f+0x3]=_0x4af8a2,this[_0x29ea46(0x3e0)](_0x1689a5,_0x31a96f,this[_0x29ea46(0x242)],_0x13d888,_0x443f98,_0x5458dd,_0x46a2b2,_0x2cf5f9);var _0x4af8a2=_0x1689a5[_0x31a96f+0x1];_0x1689a5[_0x31a96f+0x1]=_0x1689a5[_0x31a96f+0x3],_0x1689a5[_0x31a96f+0x3]=_0x4af8a2;},'_doCryptBlock':function(_0x2836d9,_0x530c3c,_0x4c3474,_0x10ffdc,_0x353382,_0x48711a,_0xa0345f,_0x50ca8f){var _0x358fb3=_0x4bba0f;for(var _0x4fc9e0=this[_0x358fb3(0x421)],_0x7b2fce=_0x2836d9[_0x530c3c]^_0x4c3474[0x0],_0x22ff78=_0x2836d9[_0x530c3c+0x1]^_0x4c3474[0x1],_0x5dc361=_0x2836d9[_0x530c3c+0x2]^_0x4c3474[0x2],_0x6358e=_0x2836d9[_0x530c3c+0x3]^_0x4c3474[0x3],_0x2a6a1b=0x4,_0x3a87a5=0x1;_0x3a87a5<_0x4fc9e0;_0x3a87a5++){var _0x233d64=_0x10ffdc[_0x7b2fce>>>0x18]^_0x353382[_0x22ff78>>>0x10&0xff]^_0x48711a[_0x5dc361>>>0x8&0xff]^_0xa0345f[_0x6358e&0xff]^_0x4c3474[_0x2a6a1b++],_0x3177e6=_0x10ffdc[_0x22ff78>>>0x18]^_0x353382[_0x5dc361>>>0x10&0xff]^_0x48711a[_0x6358e>>>0x8&0xff]^_0xa0345f[_0x7b2fce&0xff]^_0x4c3474[_0x2a6a1b++],_0x613ef2=_0x10ffdc[_0x5dc361>>>0x18]^_0x353382[_0x6358e>>>0x10&0xff]^_0x48711a[_0x7b2fce>>>0x8&0xff]^_0xa0345f[_0x22ff78&0xff]^_0x4c3474[_0x2a6a1b++],_0x5cf800=_0x10ffdc[_0x6358e>>>0x18]^_0x353382[_0x7b2fce>>>0x10&0xff]^_0x48711a[_0x22ff78>>>0x8&0xff]^_0xa0345f[_0x5dc361&0xff]^_0x4c3474[_0x2a6a1b++];_0x7b2fce=_0x233d64,_0x22ff78=_0x3177e6,_0x5dc361=_0x613ef2,_0x6358e=_0x5cf800;}var _0x233d64=(_0x50ca8f[_0x7b2fce>>>0x18]<<0x18|_0x50ca8f[_0x22ff78>>>0x10&0xff]<<0x10|_0x50ca8f[_0x5dc361>>>0x8&0xff]<<0x8|_0x50ca8f[_0x6358e&0xff])^_0x4c3474[_0x2a6a1b++],_0x3177e6=(_0x50ca8f[_0x22ff78>>>0x18]<<0x18|_0x50ca8f[_0x5dc361>>>0x10&0xff]<<0x10|_0x50ca8f[_0x6358e>>>0x8&0xff]<<0x8|_0x50ca8f[_0x7b2fce&0xff])^_0x4c3474[_0x2a6a1b++],_0x613ef2=(_0x50ca8f[_0x5dc361>>>0x18]<<0x18|_0x50ca8f[_0x6358e>>>0x10&0xff]<<0x10|_0x50ca8f[_0x7b2fce>>>0x8&0xff]<<0x8|_0x50ca8f[_0x22ff78&0xff])^_0x4c3474[_0x2a6a1b++],_0x5cf800=(_0x50ca8f[_0x6358e>>>0x18]<<0x18|_0x50ca8f[_0x7b2fce>>>0x10&0xff]<<0x10|_0x50ca8f[_0x22ff78>>>0x8&0xff]<<0x8|_0x50ca8f[_0x5dc361&0xff])^_0x4c3474[_0x2a6a1b++];_0x2836d9[_0x530c3c]=_0x233d64,_0x2836d9[_0x530c3c+0x1]=_0x3177e6,_0x2836d9[_0x530c3c+0x2]=_0x613ef2,_0x2836d9[_0x530c3c+0x3]=_0x5cf800;},'keySize':0x100/0x20});_0x5a7cf7[_0x4bba0f(0x2b8)]=_0x24050f[_0x4bba0f(0x115)](_0x44f20);}()),_0x4ef667[_0x48f0e5(0x2b8)];}));}(Ve)),Ve[_0x102019(0x3b8)];}var Tn=gn();const On=$e(Tn);var Rn=Ni();const ti=$e(Rn);var Je={'exports':{}},Nn=Je[_0x3f511f(0x3b8)],ii;function Cn(){var _0x5d39d7=_0x3f511f;return ii||(ii=0x1,function(_0x135daf,_0x79ae37){(function(_0x1e6d26,_0x484dc3){var _0x1ddb35=_0x3312;_0x135daf[_0x1ddb35(0x3b8)]=_0x484dc3(ie());}(Nn,function(_0x28a718){var _0x202b5c=_0x3312;return _0x28a718[_0x202b5c(0x3fd)][_0x202b5c(0x1a5)];}));}(Je)),Je[_0x5d39d7(0x3b8)];}var bn=Cn();const Dn=$e(bn);var Ze={'exports':{}},yn=Ze[_0x3f511f(0x3b8)],si;function Un(){var _0x1faba1=_0x3f511f;return si||(si=0x1,function(_0x14ce3b,_0x29c2a8){(function(_0x3a9c6f,_0x44205e){var _0x4f4e22=_0x3312;_0x14ce3b[_0x4f4e22(0x3b8)]=_0x44205e(ie());}(yn,function(_0x183c61){var _0x1e686e=_0x3312;return(function(){var _0x52b8b1=_0x3312;if(typeof ArrayBuffer==_0x52b8b1(0x248)){var _0x1c03af=_0x183c61,_0x2e0ac2=_0x1c03af[_0x52b8b1(0x2f4)],_0x1846ec=_0x2e0ac2[_0x52b8b1(0x18f)],_0x577ff7=_0x1846ec[_0x52b8b1(0x213)],_0x4fb10e=_0x1846ec[_0x52b8b1(0x213)]=function(_0xf218e8){var _0x2e67e7=_0x52b8b1;if(_0xf218e8 instanceof ArrayBuffer&&(_0xf218e8=new Uint8Array(_0xf218e8)),(_0xf218e8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xf218e8 instanceof Uint8ClampedArray||_0xf218e8 instanceof Int16Array||_0xf218e8 instanceof Uint16Array||_0xf218e8 instanceof Int32Array||_0xf218e8 instanceof Uint32Array||_0xf218e8 instanceof Float32Array||_0xf218e8 instanceof Float64Array)&&(_0xf218e8=new Uint8Array(_0xf218e8[_0x2e67e7(0x147)],_0xf218e8[_0x2e67e7(0x437)],_0xf218e8['byteLength'])),_0xf218e8 instanceof Uint8Array){for(var _0x54a87b=_0xf218e8[_0x2e67e7(0x298)],_0x3c3517=[],_0x3e580e=0x0;_0x3e580e<_0x54a87b;_0x3e580e++)_0x3c3517[_0x3e580e>>>0x2]|=_0xf218e8[_0x3e580e]<<0x18-_0x3e580e%0x4*0x8;_0x577ff7[_0x2e67e7(0x1e1)](this,_0x3c3517,_0x54a87b);}else _0x577ff7[_0x2e67e7(0x13c)](this,arguments);};_0x4fb10e['prototype']=_0x1846ec;}}()),_0x183c61[_0x1e686e(0x2f4)][_0x1e686e(0x18f)];}));}(Ze)),Ze[_0x1faba1(0x3b8)];}var An=Un();const Pn=$e(An);function _0x5c3a(){var _0x11a9e4=['BufferedBlockAlgorithm','updateCursorEvent','lib','_unitID','loginUrlKey','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_keySchedule','setShowComponents','CHANGESET_SHOULD_RETRY','_sendingTimer','_transformUndoredo','_nDataBytes','INVITE_CODE_ALREADY_BOUND','_onMessage','UNAUTHENTICATED','REDEMPTION_CODE_FULLY_REDEEMED','DATA_SOURCE_TOO_LARGE','_HTTPService','_networkConditionService','ERROR_EXCEED_SIZE','_memberService','getUnit','Base','EMAIL_HAS_BEEN_BOUND','kdf','members','copyFileMeta','/fetchmissing?from=','20eoqkFx','COMPRESS_MUTATION_APPLY','ciphertext','_awaitingChangeset','key','_snapshotServerService','body','getCurrentUser','liveShareOperation','getUnitType','conflict','length','get','updateOfflineData','_replaceFileID','8981602tWiblE','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','getImage','_univerInstanceService','OFFLINE','appendMutation','__splitChunk__','_incrementRevisionNumber','salt','charAt','2047108Vmvzsb','ENTITLE_COUPON_USED_UP','concat','_applyRemoteChangeset','getOwnPropertyDescriptor','removeMember','[CollaborationSessionService]:\x20socket\x20error','session.room-cnt-exceeds','getLatestCsReqIdBySid','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','reduce','default','MOBILE_HAS_BEEN_BOUND','ONLINE','CipherParams','ws://127.0.0.1:8000/universer-api/comb/connect','readInt32LE','fetchThroughInterceptors','unitID','FAIL','focused$','loadUnit','_updateLocalCache','Malformed\x20UTF-8\x20data','requireSession','words','ENTITLE_COUPON_EXPIRED','_transformRemoteChangesetByIMECache','uploadFileServerUrl','MD5','People','UNKNOWN_CMD','getImageSourceCache','7424632AsnYoy','createDecryptor','INVITE_CODE_HAS_BEEN_UES','LIVESHARE_FETCH_OPERATIONS','every','_onConflict','_keyPriorReset','HEARTBEAT_INTERVAL','/universer-api/authz','_getLoginPath','transformChangesets','image/gif','cmd','collabSubmitChangesetUrl','getActiveSheet','onRemoteRej','objectID','replace','CHANGESET_REVISION_CONFILICT','_clearUndo','getTypeOfUnitDisposed$','confirm','LICENSE_MAX_UNITS_EXCEEDED','indexOf','_startTelemetryCollaborationNewChangeset','_reverseMap','ALREADY_EXISTS','compute','JOIN','_retryConnectingTimer','message$','APPLY_REVISION_CONFILICT','deepClone','event$','_getDownloadEndpointURL','unitId\x20is\x20not\x20found','saveChangeset','randomBytes','_userManagerService','mode','_permissionService','compose','LIVESHARE_REQUEST_HOST','slice','collabWebSocketUrl','equals','_replayCachedMutations','commentUpdate$','Base64','COMMENT_UPDATE','pluginName','toggleOnline','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_initUnitPermissionChange','_onUserLeave','_sheetTransformSelectionsService','APPLY_REJECT','sessionStatus$','UNKNOWN_CODE','_sendHeartbeatTimer','_syncEditingCollabCursor','file','code','&assign=','_onRemoteACK','_collabSessionService','state$','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_doFinalize','sigBytes','prototype','REDEMPTION_INVALID_CODE','_createHandler','\x0aAfter:\x20','clamp','INGEST','_getSignURL','_state$','_change$','encodeURIComponent','_substituteUndoStack','fetch_missing','StreamCipher','_compressMutationService','startsWith','YUUMI_AI_RUN_FAILED','REDEMPTION_USER_REDEEM_TIMES_EXCEED','Univer','getAllMembers','onMissingChangesets','onRemoteChangeset','encode','onTransformRemoteChangesetByIMECache','144KQmeCu','map','_transitionLocked','crypto','_candidateSocket','[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.','size','IDLE','filter','_logService','__esModule','JOINING','reqId','__creator','_roomMembers','INVALID_ARGUMENT','PENDING','_imageSourceCache','_createHmacHelper','exports','PSEUDO_FETCH_MISSING_RESULT','PasswordBasedCipher','_handlerCallback','[DataLoaderService]','_collaborationUIEventService','USER_NOT_INVITED_CODE','onRemoteAck','_rescheduleHeartbeat','synced','HMAC','JOIN_ROOM_PERMISSION_DENIED','_waitCount','_process','UserProfileImg','UNIVER_COLLABORATION_CLIENT_PLUGIN','toggleOffline','_roomCreated$','CURRENT_STATUS_CANNOT_OPERATE','_listenToNetworkCondition','sendChangesetTimeout','GLOBAL_ROOMS_CNT_EXCEEDS','extend','_tryEnsureSocket','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','ENTITLE_REPORT_LIMIT_EXCEED','status$','[CollaborationEntity]','location','_clearCollaborationTimeoutTimer','_instanceService','_doCreateSocket','HttpImport','BlockCipher','ERROR_AGAIN','shouldCloseConn','RETRY_CONNECTING_MAX_COUNT','join','USER_IS_ANONYMOUS','_injector','_doCryptBlock','responseType','auth.needGotoLoginAlert','[OfflineState]:\x20received\x20rejection.','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_executeRemoteChangeset','_httpService','SUBMIT_CHANGESET','_remoteChangesetQueue','LIVESHARE_TERMINATE','parse','[CollaborationState]:\x20apply\x20error!','ENTITLE_DUP_SUBSCRIPTION','revision','url','3BllGHD','_getCurrentRevision','_socketService','getUnitId','collaboration_new_changeset','image/png','onMutationExecutedForCollab','type','_transformIMECache','YUUMI_URL_COL_OUT_OF_RANGE','selections','_unlockTransition','_collaborationSessionService','getCurrentRevOfUnit','enc','_transformSelections','_state','href','failed\x20to\x20apply\x20missed\x20changesets!','createEncryptor','_checkMissing','change$','collaMsg','_onFetchMissResult','POST','UNIVER_UNKNOWN','_fetchMissChangesets','SUBMIT_CHANGESET_TIMEOUT','getUnitStatus$','onTransformRemoteChangesetByStateCache','collaborators','/object/','OTHER_CLIENT_EDITING','UPDATE_PERMISSION_OBJ','m2Prime','_waitForHeartbeatResponse','addHandlerCallback','[CollaborationUndoRedoService]','snapshot','LICENSE_DISTRO_REJECTED','_DEC_XFORM_MODE','_sessions','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','CBC','csShouldRetryEvent','create','push','capture','UPDATE_CURSOR','/universer-api/comb','_nRounds','univer-pro.collaboration-client.single-active-unit-service','localCacheService','CONFLICT','CLOSE_ROOM','_doReset','_resendTimeout','getRandomValues','_init','_onRemoteRejected','enableSingleActiveInstanceLock','_sessionStatus$','loadSheet','range','close','LICENSE_IMPORT_SIZE_EXCEEDED','MOBILE_VERIFY_CODE_MISMATCH','loadUnitOfRevision','_isPermissionRej','YUUMI_RATE_OVER_LIMIT','WECHAT_HAS_BEEN_BOUND','onSendChangeset','byteOffset','/block/','_getAPIPrefixPath','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','catch','_exhaustRemoteChangesetQueue','includes','_createHelper','_handler','getConfig','_shouldReportTelemetry','APPLY_NON_SEQUENTIAL_REVISION','_type','_tryReconnect','interceptor','getTime','LIVESHARE_OPERATION','SOCKET_FAILED','delete','UNISCRIPT_RUN','subject','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/file/{fileID}/sign-url','disposeWithMe','_oKey','fromCharCode','textRanges','_localeService','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_queuedRemoteChangesets','PY_RUNTIME_SCRIPT_ERROR','Latin1','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_resendWithTimeout','FETCH_MISSING','_getCtorByUniverType','method','ENSURE_SNAPSHOT_EXECUTION','/new_changes','_onRecvEvent','splice','YUUMI_CONNECTOR_URL_NOT_FOUND','NEW_CHANGESETS','telemetry\x20info\x20is\x20not\x20initialized','_initRequestHeader','getUnitOnRev','apply','HEARTBEAT','HELLO','session.room-not-exists','_getSendChangesetTimeout','_sendHeartbeat','getMemberID','sid','listRoles','_joinRoom','onTransformSelections','buffer','getCollabEntity$','c2Prime','workbook','min','mixIn','COMPLETION_FINISHED','fetchMiss','ENTITLE_NEED_BILLING_ADDRESS','_initCloseConn','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','CONNECTOR_DATA_TOO_LARGE','name','executeCommand','c1Prime','onTransformIME','_singleActiveUnitService','SHOULD_CLOSE_CONN','actions','onSyncEditingCollabCursor','stopTime','hasher','INVALID_INVITE_CODE','_onRemoteRetry','image/jpeg','sin','string','YUUMI_UNABLE_LOAD_URL','requestParams','onMissedChangesetFetched','UnitSnapshot','ENTITLE_INVALID_COUPON_CODE','_changesetSessionId','_onCombEvent','_decreaseWaiting','[PendingState]:\x20received\x20acknowledgement.','_removeRoom','dispose$','baseRev','HttpExport','iterations','_changesetReqId','pauseCollaboration','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','setWaitCount','UNIVER_PROJECT','authzUrl','ceil','cfg','disableLocalCache','floor','REDEMPTION_USER_NOT_ELIGIBLE','BlockCipherMode','status','findIndex','_lockTransition','_entities','_getAPIPrefix','loadOfflineData','PERSON','onLocalMutation','YUUMI_ASYNCIO_CANCELLED','22tClZIc','HEARTBEAT_TIMEOUT','readyForCollab','infoRsp','14062548rYhsBU','/universer-api/oidc/authpage','_updateStatus','BASE64','unitId','getSheetId','WordArray','closeSession','ENTITLE_USE_COUPON_NOT_1ST_TRADE','ENTITLE_CHAT_LIMIT_EXCEED','/-/object/-/batch_allowed','_ENC_XFORM_MODE','[CollaborationSession]','_undoStacks','abs','_sender','_clearScheduledTask','execute','x-univer-host','INTERNAL_ERROR','_transformStack','getMember','_schedule','HmacMD5','_clearRedo','_members','ClipsheetFragments','snapshotServerUrl','Utf8','OTHER_CLIENTS_EDITING','getRoom','permissionRejEvent','updatePermissionObjEvent','UNIVER_SLIDE','isArray','subscribe','JOIN_ROOM_NOT_EXISTS','formatter','SNAPSHOT_URL_KEY','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','routeKey','_onUserJoin','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','fromCollab','dispose','reconnect','_unitInfo$','_event$','&to=','SNAPSHOT_HAS_BEEN_REMOVED','connection\x20error','joinRsp','/collaborator','session','awaitingChangeset','changesets','_append','awaiting','has','refreshPermission','_onConnectionFailed','socketService','saveSnapshot','pad','TOO_MANY_REQUESTS','_config','getSnapshotAPIPath','MSG_FOR_ERROR','USERS_ENTER','complete','encrypt','AUTHORIZE_CODE_ILLEGAL','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','finalize','offline','LIVESHARE_NEW_HOST','commentUpdateEvent','_clearLocalCache','msCrypto','_toggleOnline','downloadEndpointUrl','_transformStateCache','reject','blockSize','sheets','now','_data','format','call','submit\x20changeset\x20error!','hasOwnProperty','updateMember','roles','saveImage','socket$','_undoRedoService','src','rev','ivSize','/rev/','clear','JOIN_ROOM_FAILED','_onJoinRoomEvent','_createInitialStateImpl','3405186jXggrz','defineProperty','getTypeOfUnitAdded$','emitEvent','_getRedoStack','UNDEFINED','OpenSSL','_onConnectionOpen','NOT_FOUND','fetching\x20missing\x20changesets\x20from\x20','charCodeAt','_prevBlock','REDEMPTION_CODE_HAS_BEEN_CREATED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getCurrentSelections','collaboratorID','unpad','update','UnitEmbedded','_members$','UNRECOGNIZED','session.join-failed','memberID','session.room-full','_startCollaboration','_entityInit$','deleteCollaborator','[SyncedState]:\x20received\x20rejection.','PERMISSION_REJ','_disableEditing','USER_NOT_FOUND','onStarting','REDEMPTION_CODE_INACTIVE','init','collaboration-client.local-cache-service','getInterceptPoints','YUUMI_TABLE_NOT_FOUND_IN_UNIT','add','univer-pro.collaboration-client-socket-service','ENTITLE_CAN_NOT_BUY_LOWER_OTP','subUnitId','SHA1','_transformRemoteChangesetByStateCache','retryConnectingInterval','sessionStatus','keySize','list','HmacSHA1','NO_OTHER_CLIENTS_EDITING','RECV','/unit/','_initMergeInterceptor','updateCollaborator','253015ZNlpiD','_maxTotalRetryTimeout','_retryCount','values','entries','USERS_LEAVE','?url=','fetchMissingChangesets','result','ERROR_IMAGE_TYPE','getFocusedUnit','PAYMENT_CHANNEL_NOT_SUPPORT','waitForRoom$','_getUndoStack','set','symbol','2gzrVLM','unknown','signUrlServerUrl','_snapshotService','objectType','resend','Cipher','_commentService','state','UUID','error$','_invKeySchedule','Failed\x20to\x20update\x20permission\x20point','close$','members$','_resendTimer','UNIVER_SHEET','function','{fileID}','title','_throwTelemetryCollaborationNewChangeset','CHANGESET_REJ','_socketReady','random','createInstance','_registerDependencies','getCollabEntity','stringify','_pendingMutations','_showConflictNotification','/universer-api/snapshot/','_map','INVITE_CODE_REQUIRED','_commentUpdate$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_configService','_parse','_stopTelemetryCollaborationNewChangeset','YUUMI_ALL_TABLES_IS_INVALID','algo','_clearTimeoutTimer','unitInfo$','_key','917869KqHElJ','/universer-api/uniscript','liveShareNewHost','decrypt','addImageSourceCache','leaveEvent','incrementRevOfUnit','/allowed','forEach','_createSocket','Undefined','_iv','asObservable','SUCCUSS','_toggleOffline','/resources','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','Hex','onStateChange','[CollaborationSessionService]','hostname','_timeoutTimer','[FetchMissState]','next','clone','SNAPSHOT_INVALID_SNAPSHOT','Hasher','send','error','NOT_COLLAB','transformSelections','encryptBlock','LOGIN_TOKEN_PROCESSING_FAILED','onTransformState','CHANGESET_ACK','duration','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','newCsEvent','_clearHeartbeatTimer','_minBufferSize','_getUploadFileURL','_initDependencies','originalMeta','_eventService','onlyLocal','registerHTTPInterceptor','_scheduleCompleteTimestamp','_createInitialState','LOGIN_FAILED','/universer-api/stream/file/upload','YUUMI_SUBSCRIPTION_NOT_FOUND','JOIN_ROOM_FULL','SOCKET_FAILED_RETRY','updatePermissionPoint','byteLength','_telemetryInfo','resourceIDs','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','batchAllowed','LICENSE_EXPORT_SIZE_EXCEEDED','uniscriptRunEvent','_socket$','UNIVER_DOC','_redoStacks','_commandService','unsubscribe','$super','max','localeService','isPermissionRej','putCollaborators','_collaborationPaused','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_collaborationTimeoutTimer','NoPadding','open$','_substituteRedoStack','MUTATION','_socket','_telemetryService','_scheduleCollaborationTimeoutTimer','setCurrentUser','eventID','&source=','_updateState','FileId','AES','readAsDataURL','mutations','roomInfos','_onLocalMutation','socket\x20close','_transformService','post','params','Decryptor','pipe','APPLY_PERMISSION_DENIED','_hasher','onRemoteRetry','csRejEvent','data','_iKey','_hash','_xformMode','_mode','LEAVE','toString','_onRemoteChangeset','FETCH_MISS','\x0aCurrent:\x20','createSocket','_cipher','[PendingState]:\x20received\x20rejection.','APPLY_DUPLICATED','\x20to\x20','onCommentUpdate','EMAIL_VERIFY_CODE_MISMATCH','_status$','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_revisionService','COMPRESS_MUTATION_SEND','EvpKDF','_clearRetryConnectingTimer','transformMutationsWithChangeset','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_acknowledgedAwaitingChangeset','_socketMessageSubscription','awaiting_with_pending','reset','origin','_localCacheService','_onOffline','ENTITLE_INSUFFICIENT_QUOTA','ERROR_IMAGE','enableOfflineEditing','PERMISSION_DENIED','put','debug','__Key__','transformStack\x20failed!','YUUMI_NO_CUBOID_FOR_QUESTION','/role','Encryptor'];_0x5c3a=function(){return _0x11a9e4;};return _0x5c3a();}var Qe={'exports':{}},Ln=Qe[_0x3f511f(0x3b8)],ni;function Mn(){var _0x42a646=_0x3f511f;return ni||(ni=0x1,function(_0x2b4bba,_0x5ba85e){(function(_0x4f93c5,_0x2e721c,_0x5a1ce1){var _0xe121=_0x3312;_0x2b4bba[_0xe121(0x3b8)]=_0x2e721c(ie(),bi());}(Ln,function(_0x228644){var _0x5bc715=_0x3312;return _0x228644[_0x5bc715(0x1c8)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x228644['pad'][_0x5bc715(0x2ac)];}));}(Qe)),Qe[_0x42a646(0x3b8)];}var wn=Mn();const xn=$e(wn);function kn(_0xe7829f,_0x1163f0){var _0x4882a6=_0x3f511f;const _0xeb54c=_0x1163f0-_0xe7829f[_0x4882a6(0x319)]%_0x1163f0,_0x144349=String['fromCharCode'](_0xeb54c)['repeat'](_0xeb54c);return _0xe7829f+_0x144349;}function $n(_0x451785,_0x229ec9){var _0x527b7a=_0x3f511f;const _0x3375d9=Pn[_0x527b7a(0x24e)](0x10),_0x8a946=kn(_0x451785,0x10),_0x4febc0=On[_0x527b7a(0x1cf)](Dn[_0x527b7a(0x3ea)](_0x8a946),ti[_0x527b7a(0x3ea)](_0x229ec9),{'iv':_0x3375d9,'padding':xn});return _0x3375d9[_0x527b7a(0x329)](_0x4febc0[_0x527b7a(0x310)])[_0x527b7a(0x2cd)](ti);}function Hn(){var _0x401715=_0x3f511f;const _0x358822=_0x370ae0()[_0x401715(0x2ed)];if(_0x358822){const _0x2c8286={'time':Math['floor'](Date[_0x401715(0x1de)]()/0x3e8),'domain':location[_0x401715(0x276)]};return $n(JSON[_0x401715(0x252)](_0x2c8286),_0x358822);}}var Bn=Object[_0x3f511f(0x32b)],Fn=(_0x3239e4,_0x1447df,_0x5a12a8,_0x352794)=>{for(var _0x28a4de=_0x352794>0x1?void 0x0:_0x352794?Bn(_0x1447df,_0x5a12a8):_0x1447df,_0xe70d9c=_0x3239e4['length']-0x1,_0x2b1d62;_0xe70d9c>=0x0;_0xe70d9c--)(_0x2b1d62=_0x3239e4[_0xe70d9c])&&(_0x28a4de=_0x2b1d62(_0x28a4de)||_0x28a4de);return _0x28a4de;},jn=(_0x3f703c,_0x10352e)=>(_0x4c4036,_0xc6cb2d)=>_0x10352e(_0x4c4036,_0xc6cb2d,_0x3f703c);let at=class{constructor(_0x20e057){var _0x1fb35c=_0x3f511f;this[_0x1fb35c(0x3e6)]=_0x20e057,this[_0x1fb35c(0x13a)]();}[_0x3f511f(0x13a)](){var _0x3fd850=_0x3f511f;this['_httpService'][_0x3fd850(0x28f)]({'interceptor':(_0x4fd215,_0x548a27)=>{var _0x47141a=_0x3fd850;const _0x4b31ae=_0x4fd215['headers'],_0x2aab59=Hn();return _0x2aab59&&_0x4b31ae['set'](_0x47141a(0x19b),_0x2aab59),_0x548a27(_0x4fd215);}});}};at=Fn([jn(0x0,_0x862a0d(_0x2c0d52))],at);var Vn=Object[_0x3f511f(0x32b)],Gn=(_0xb8beaf,_0x2dd631,_0x16aa82,_0x300d4f)=>{for(var _0x10122a=_0x300d4f>0x1?void 0x0:_0x300d4f?Vn(_0x2dd631,_0x16aa82):_0x2dd631,_0x377988=_0xb8beaf['length']-0x1,_0x16c787;_0x377988>=0x0;_0x377988--)(_0x16c787=_0xb8beaf[_0x377988])&&(_0x10122a=_0x16c787(_0x10122a)||_0x10122a);return _0x10122a;},vt=(_0x17e9be,_0x7e58cf)=>(_0x4906af,_0x463f30)=>_0x7e58cf(_0x4906af,_0x463f30,_0x17e9be);let Ot=class extends _0x41c421{constructor(_0x117ce3,_0x5183cc,_0x3a6949){var _0x31160f=_0x3f511f;super(),D(this,'_unitInfo$',new _0x39fb43(null)),D(this,_0x31160f(0x260),this[_0x31160f(0x1b7)][_0x31160f(0x26e)]()),(this[_0x31160f(0x3ae)]=_0x117ce3,this[_0x31160f(0x23a)]=_0x5183cc,this[_0x31160f(0x2e5)]=_0x3a6949);}async[_0x3f511f(0x432)](_0x4a8447,_0x33cebb,_0x113375){var _0x5429b5=_0x3f511f;this[_0x5429b5(0x1b7)]['next']({'unitId':_0x4a8447,'type':_0x33cebb});let _0x8c35f3=null;switch(_0x33cebb){case Q[_0x5429b5(0x247)]:{_0x8c35f3=await this[_0x5429b5(0x23a)][_0x5429b5(0x42d)](_0x4a8447,_0x113375);break;}case Q[_0x5429b5(0x2a0)]:{_0x8c35f3=await this[_0x5429b5(0x23a)]['loadDoc'](_0x4a8447,_0x113375);break;}default:{this[_0x5429b5(0x3ae)][_0x5429b5(0x27e)](_0x5429b5(0x3bc),_0x5429b5(0x29b));break;}}return _0x8c35f3;}async[_0x3f511f(0x33c)](_0x6d6721,_0x23be66,_0x536567){var _0x462c7e=_0x3f511f,_0xeca964;this[_0x462c7e(0x1b7)][_0x462c7e(0x279)]({'unitId':_0x6d6721,'type':_0x23be66,'subUnitId':_0x536567});let _0x50535d=0x0;const _0x5b8c74=await((_0xeca964=this[_0x462c7e(0x2e5)])==null?void 0x0:_0xeca964[_0x462c7e(0x181)](_0x6d6721));return _0x5b8c74&&(_0x5b8c74[_0x462c7e(0x1bf)]||_0x5b8c74[_0x462c7e(0x2ba)][_0x462c7e(0x319)]!==0x0)&&(_0x50535d=_0x5b8c74[_0x462c7e(0x1ea)]),_0x50535d===0x0&&this[_0x462c7e(0x3ae)][_0x462c7e(0x2ec)](_0x462c7e(0x3bc),_0x462c7e(0x259)),this[_0x462c7e(0x432)](_0x6d6721,_0x23be66,_0x50535d);}};Ot=Gn([vt(0x0,_0x17b4dd),vt(0x1,_0x862a0d(_0x4b0070)),vt(0x2,_0x70dca2(X))],Ot);var Wn=Object[_0x3f511f(0x32b)],Yn=(_0x294fdb,_0x49ab00,_0x245063,_0x2032ed)=>{for(var _0x21cd10=_0x2032ed>0x1?void 0x0:_0x2032ed?Wn(_0x49ab00,_0x245063):_0x49ab00,_0x5d98f9=_0x294fdb['length']-0x1,_0x14d740;_0x5d98f9>=0x0;_0x5d98f9--)(_0x14d740=_0x294fdb[_0x5d98f9])&&(_0x21cd10=_0x14d740(_0x21cd10)||_0x21cd10);return _0x21cd10;},Et=(_0x7e5925,_0x53a86f)=>(_0x3ac56d,_0x31c6ba)=>_0x53a86f(_0x3ac56d,_0x31c6ba,_0x7e5925);const Kn=[_0x3f511f(0x3f4),_0x3f511f(0x15f),'image/jpg',_0x3f511f(0x353),'image/bmp'],qn=0x5*0x400*0x400,zn=_0x3f511f(0x293),Xn=_0x3f511f(0x124);let Rt=class{constructor(_0x31303d,_0x19cd58,_0x2f1ba9){var _0x12f07c=_0x3f511f;D(this,_0x12f07c(0x3c4),0x0),D(this,_0x12f07c(0x396),new _0x35a8e1()),D(this,_0x12f07c(0x404),this['_change$']),D(this,_0x12f07c(0x3b6),new Map()),(this['_httpService']=_0x31303d,this[_0x12f07c(0x25a)]=_0x19cd58,this[_0x12f07c(0x320)]=_0x2f1ba9);}[_0x3f511f(0x173)](_0x5c5d7d){var _0x1f2732=_0x3f511f;this[_0x1f2732(0x3c4)]=_0x5c5d7d,this['_change$'][_0x1f2732(0x279)](_0x5c5d7d);}[_0x3f511f(0x347)](_0x369402,_0x47f4e0){var _0x236e9b=_0x3f511f;if(_0x47f4e0===_0x268ec5[_0x236e9b(0x18c)]){const _0x4f0fa8=new Image();return _0x4f0fa8[_0x236e9b(0x1e9)]=_0x369402,_0x4f0fa8;}return this[_0x236e9b(0x3b6)][_0x236e9b(0x31a)](_0x369402);}[_0x3f511f(0x266)](_0x397cc9,_0x2b56b7,_0x51d8f0){var _0x174faf=_0x3f511f;_0x2b56b7===_0x268ec5[_0x174faf(0x18c)]||_0x51d8f0==null||this[_0x174faf(0x3b6)][_0x174faf(0x235)](_0x397cc9,_0x51d8f0);}async[_0x3f511f(0x31f)](_0x5aee15){var _0x1f3883=_0x3f511f;try{const _0x5dcc7e=this[_0x1f3883(0x31c)](this[_0x1f3883(0x394)](),''+_0x5aee15),_0x1fcb94=(await this['_httpService'][_0x1f3883(0x31a)](_0x5dcc7e))[_0x1f3883(0x314)];if(_0x1fcb94['error']&&_0x1fcb94[_0x1f3883(0x27e)]['code']===vi['OK']){const _0x412682=_0x22e62a(_0x1fcb94[_0x1f3883(0x3ee)],this[_0x1f3883(0x36a)]());return Promise['resolve'](_0x412682);}return Promise[_0x1f3883(0x1db)](_0x1fcb94[_0x1f3883(0x27e)]);}catch(_0x3f46be){return Promise[_0x1f3883(0x1db)](_0x3f46be);}}async[_0x3f511f(0x1e6)](_0x3d23eb){var _0x5cdf53=_0x3f511f;let _0x18a734='';if(!Kn[_0x5cdf53(0x114)](_0x3d23eb[_0x5cdf53(0x3f6)]))return this[_0x5cdf53(0x169)](),Promise['reject'](new Error(_0x30078f[_0x5cdf53(0x230)]));if(_0x3d23eb[_0x5cdf53(0x3ab)]>qn)return this[_0x5cdf53(0x169)](),Promise[_0x5cdf53(0x1db)](new Error(_0x30078f[_0x5cdf53(0x305)]));try{const _0x231242=new FormData();_0x231242['append'](_0x5cdf53(0x385),_0x3d23eb);const _0x94b230=this[_0x5cdf53(0x320)][_0x5cdf53(0x231)](),_0x277bb5=_0x94b230==null?void 0x0:_0x94b230['getUnitId']();if(!_0x277bb5)throw new Error(_0x5cdf53(0x36b));const _0x4c55dd=this['_getUploadFileURL']()+'?size='+_0x3d23eb[_0x5cdf53(0x3ab)]['toString']()+_0x5cdf53(0x2b5)+Ei['UnitEmbedded']+_0x5cdf53(0x387)+encodeURIComponent(_0x277bb5),_0x5b2a55={'body':_0x231242},_0x309cbc=(await this['_httpService'][_0x5cdf53(0x2bf)](_0x4c55dd,_0x5b2a55))[_0x5cdf53(0x314)];if(typeof _0x309cbc[_0x5cdf53(0x2b7)]!=_0x5cdf53(0x161))return this[_0x5cdf53(0x169)](),Promise[_0x5cdf53(0x1db)](new Error(_0x30078f['ERROR_IMAGE']));_0x18a734=_0x309cbc[_0x5cdf53(0x2b7)];}catch{return this[_0x5cdf53(0x169)](),Promise['reject'](new Error(_0x30078f['ERROR_IMAGE']));}return new Promise((_0x1d2495,_0x183e8b)=>{var _0x469070=_0x5cdf53;const _0x4978b0=new FileReader();_0x4978b0[_0x469070(0x2b9)](_0x3d23eb),_0x4978b0['onload']=_0x1615ed=>{var _0x348f69=_0x469070,_0xd459b6;const _0x55faaa=(_0xd459b6=_0x1615ed['target'])==null?void 0x0:_0xd459b6[_0x348f69(0x22f)];if(_0x55faaa==null){this['_decreaseWaiting'](),_0x183e8b(new Error(_0x30078f[_0x348f69(0x2e8)]));return;}const _0x17379f=_0x5c54b2(0x6);_0x1d2495({'imageId':_0x17379f,'imageSourceType':_0x268ec5[_0x348f69(0x240)],'source':_0x18a734,'base64Cache':_0x55faaa,'status':_0x30078f[_0x348f69(0x26f)]}),this[_0x348f69(0x169)]();};});}[_0x3f511f(0x28a)](){var _0x3d30b6=_0x3f511f,_0x15b241;const _0x532126=this[_0x3d30b6(0x25a)]['getConfig'](K);return(_0x15b241=_0x532126==null?void 0x0:_0x532126[_0x3d30b6(0x343)])!=null?_0x15b241:zn;}['_getSignURL'](){var _0x89475f=_0x3f511f,_0x32563b;const _0x3287cf=this['_configService']['getConfig'](K);return(_0x32563b=_0x3287cf==null?void 0x0:_0x3287cf[_0x89475f(0x239)])!=null?_0x32563b:Xn;}[_0x3f511f(0x36a)](){var _0x10070c=_0x3f511f,_0x1c1bf1;const _0x275fed=this[_0x10070c(0x25a)]['getConfig'](K);return(_0x1c1bf1=_0x275fed==null?void 0x0:_0x275fed[_0x10070c(0x1d9)])!=null?_0x1c1bf1:location[_0x10070c(0x2e4)];}[_0x3f511f(0x31c)](_0xc84af6,_0x484086){var _0x294c20=_0x3f511f;return _0xc84af6[_0x294c20(0x359)](_0x294c20(0x249),_0x484086);}[_0x3f511f(0x169)](){var _0x280160=_0x3f511f;this[_0x280160(0x3c4)]-=0x1,this['_change$'][_0x280160(0x279)](this[_0x280160(0x3c4)]);}};Rt=Yn([Et(0x0,_0x862a0d(_0x2c0d52)),Et(0x1,_0x603196),Et(0x2,_0x862a0d(_0x5075a6))],Rt);var Jn=Object['getOwnPropertyDescriptor'],Zn=(_0x4feb24,_0x5cce92,_0x2bc79a,_0x35b6dc)=>{var _0x476155=_0x3f511f;for(var _0x346dd8=_0x35b6dc>0x1?void 0x0:_0x35b6dc?Jn(_0x5cce92,_0x2bc79a):_0x5cce92,_0x24b9c4=_0x4feb24[_0x476155(0x319)]-0x1,_0xe522cc;_0x24b9c4>=0x0;_0x24b9c4--)(_0xe522cc=_0x4feb24[_0x24b9c4])&&(_0x346dd8=_0xe522cc(_0x346dd8)||_0x346dd8);return _0x346dd8;},ri=(_0x4667c3,_0x47248a)=>(_0x52f6eb,_0x2a02f1)=>_0x47248a(_0x52f6eb,_0x2a02f1,_0x4667c3);const Qn=_0x3f511f(0x350);let Nt=class{constructor(_0x26bb76,_0x5e3083){var _0x10a14c=_0x3f511f;this[_0x10a14c(0x25a)]=_0x26bb76,this[_0x10a14c(0x303)]=_0x5e3083;}[_0x3f511f(0x439)](){var _0x242f10=_0x3f511f,_0x5cc7a2;const _0x1a3a79=this['_configService'][_0x242f10(0x117)](K);return(_0x5cc7a2=_0x1a3a79==null?void 0x0:_0x1a3a79[_0x242f10(0x175)])!=null?_0x5cc7a2:Qn;}async['list'](_0x140d41){var _0x1dd914=_0x3f511f;const _0x153f07=this[_0x1dd914(0x439)]()+_0x1dd914(0x1bd);return{'list':[{'title':_0x1dd914(0x345),'mentions':(await this[_0x1dd914(0x303)]['get'](_0x153f07,{'params':{'objectID':_0x140d41[_0x1dd914(0x18d)],'unitID':_0x140d41[_0x1dd914(0x18d)]}}))[_0x1dd914(0x314)][_0x1dd914(0x40d)][_0x1dd914(0x3a6)](_0x3fccdc=>({'objectId':_0x3fccdc['id'],'name':_0x3fccdc[_0x1dd914(0x122)][_0x1dd914(0x153)],'metadata':{'icon':_0x3fccdc[_0x1dd914(0x122)]['avatar']},'label':_0x3fccdc['subject'][_0x1dd914(0x153)],'objectType':_0x2b4b1b[_0x1dd914(0x182)]})),'metadata':{},'type':_0x2b4b1b['PERSON']}]};}};Nt=Zn([ri(0x0,_0x862a0d(_0x603196)),ri(0x1,_0x862a0d(_0x2c0d52))],Nt);var er=Object['getOwnPropertyDescriptor'],tr=(_0x433391,_0x56ade9,_0x512015,_0x583d06)=>{for(var _0x1a674d=_0x583d06>0x1?void 0x0:_0x583d06?er(_0x56ade9,_0x512015):_0x56ade9,_0x314905=_0x433391['length']-0x1,_0x42bb14;_0x314905>=0x0;_0x314905--)(_0x42bb14=_0x433391[_0x314905])&&(_0x1a674d=_0x42bb14(_0x1a674d)||_0x1a674d);return _0x1a674d;},Ue=(_0x3b8cb3,_0x170466)=>(_0x1f5d80,_0x55d506)=>_0x170466(_0x1f5d80,_0x55d506,_0x3b8cb3);let ot=class extends _0x41c421{constructor(_0x2b2121,_0x1b8af0,_0x36a1de,_0x205446,_0x387a96){var _0x252b1e=_0x3f511f;super(),this[_0x252b1e(0x3df)]=_0x2b2121,this[_0x252b1e(0x320)]=_0x1b8af0,this[_0x252b1e(0x370)]=_0x36a1de,this['_collaborationSessionService']=_0x205446,this[_0x252b1e(0x3bd)]=_0x387a96,this[_0x252b1e(0x37d)](),this['_initCloseConn']();}[_0x3f511f(0x150)](){var _0x250540=_0x3f511f;const _0x5054e5=async _0x4d318f=>{var _0x31c7eb=_0x3312;(await this[_0x31c7eb(0x3fb)][_0x31c7eb(0x33f)](_0x4d318f))[_0x31c7eb(0x369)][_0x31c7eb(0x2c2)](_0x3c189a(_0x30dc05=>_0x30dc05['eventID']===_0x2680c9[_0x31c7eb(0x158)]),_0x1710a7(this[_0x31c7eb(0x16c)]))[_0x31c7eb(0x1ac)](_0xbe8867=>{var _0xe06d00=_0x31c7eb;const _0x558d4e=_0xbe8867,{reason:_0x5d712f}=_0x558d4e[_0xe06d00(0x2c7)];this[_0xe06d00(0x3bd)][_0xe06d00(0x1f4)]({'id':re[_0xe06d00(0x425)],'data':_0x5d712f}),this[_0xe06d00(0x370)][_0xe06d00(0x297)](new _0x229869(_0x4d318f)['id'],!0x1),this[_0xe06d00(0x3fb)][_0xe06d00(0x190)](_0x4d318f);});};_0x4f44f8(this[_0x250540(0x320)][_0x250540(0x1f3)](_0x3e374e[_0x250540(0x247)]),this[_0x250540(0x320)][_0x250540(0x1f3)](_0x3e374e[_0x250540(0x2a0)]))[_0x250540(0x2c2)](_0x509a8f(_0x2d4ecf=>_0x2d4ecf[_0x250540(0x3f2)]()),_0x3c189a(_0x19dcd5=>!_0x52995b(_0x19dcd5)),_0x1710a7(this[_0x250540(0x16c)]))['subscribe'](_0x59c582=>{_0x5054e5(_0x59c582);});}[_0x3f511f(0x37d)](){var _0x472df5=_0x3f511f;const _0x261c1e=async _0x160b1c=>{var _0x52676e=_0x3312;const _0x27609d=await this[_0x52676e(0x3fb)]['requireSession'](_0x160b1c),_0x1e1057=this[_0x52676e(0x3df)][_0x52676e(0x31a)](_0x3f3928);_0x27609d[_0x52676e(0x369)][_0x52676e(0x2c2)](_0x3c189a(_0x34d699=>_0x34d699['eventID']===_0x2680c9[_0x52676e(0x410)]),_0x1710a7(this[_0x52676e(0x16c)]))[_0x52676e(0x1ac)](_0x136e3d=>{var _0x427cc1=_0x52676e;const _0x1cb28a=_0x136e3d,{objectId:_0xd728be}=_0x1cb28a[_0x427cc1(0x2c7)];_0xd728be===_0x160b1c?_0x1e1057['initWorkbookPermissionChange'](_0x160b1c):_0x1e1057[_0x427cc1(0x1c4)](_0x160b1c,_0xd728be);});};_0x4f44f8(this[_0x472df5(0x320)][_0x472df5(0x1f3)](_0x3e374e[_0x472df5(0x247)]))[_0x472df5(0x2c2)](_0x509a8f(_0x352199=>_0x352199[_0x472df5(0x3f2)]()),_0x3c189a(_0x1a2f1a=>!_0x52995b(_0x1a2f1a)),_0x1710a7(this['dispose$']))[_0x472df5(0x1ac)](_0x4296c5=>{_0x261c1e(_0x4296c5);});}};ot=tr([Ue(0x0,_0x862a0d(_0xe7d96f)),Ue(0x1,_0x5075a6),Ue(0x2,_0x5b035a),Ue(0x3,_0x862a0d(Le)),Ue(0x4,_0x862a0d(ve))],ot);var ir=Object[_0x3f511f(0x32b)],sr=(_0x2b32c3,_0x3d3dab,_0xf0f92c,_0x33a729)=>{for(var _0x2b07e8=_0x33a729>0x1?void 0x0:_0x33a729?ir(_0x3d3dab,_0xf0f92c):_0x3d3dab,_0x547cf0=_0x2b32c3['length']-0x1,_0x38e5e2;_0x547cf0>=0x0;_0x547cf0--)(_0x38e5e2=_0x2b32c3[_0x547cf0])&&(_0x2b07e8=_0x38e5e2(_0x2b07e8)||_0x2b07e8);return _0x2b07e8;},ai=(_0x4f1635,_0x5ed875)=>(_0x1abaac,_0x769aa8)=>_0x5ed875(_0x1abaac,_0x769aa8,_0x4f1635);let Ct=class{constructor(_0x10e5db,_0x42e2b8){var _0xffdace=_0x3f511f;this[_0xffdace(0x25a)]=_0x10e5db,this[_0xffdace(0x3e6)]=_0x42e2b8;}async[_0x3f511f(0x13b)](_0x2083b5,_0x19e985){var _0x4e1ffb=_0x3f511f,_0x48e2af;const {unitID:_0x1d05b6,type:_0x361752,revision:_0x5920e5=0x0}=_0x19e985,_0x82c94a=this[_0x4e1ffb(0x1cb)]()+'/'+_0x361752+'/unit/'+_0x1d05b6+_0x4e1ffb(0x1ec)+_0x5920e5,_0x496dde=(await this[_0x4e1ffb(0x3e6)][_0x4e1ffb(0x31a)](_0x82c94a))[_0x4e1ffb(0x314)],_0x39c91c=(_0x48e2af=_0x496dde[_0x4e1ffb(0x415)])==null?void 0x0:_0x48e2af[_0x4e1ffb(0x14a)];if(_0x39c91c){const _0x37aa73=_0x39c91c==null?void 0x0:_0x39c91c[_0x4e1ffb(0x28c)],_0xbcf5f7=_0x5a55af[_0x4e1ffb(0x3a3)](_0x48716e(_0x37aa73));_0x39c91c[_0x4e1ffb(0x28c)]=_0xbcf5f7,Object[_0x4e1ffb(0x22b)](_0x39c91c[_0x4e1ffb(0x1dd)])[_0x4e1ffb(0x26a)](([,_0x409943])=>{var _0x3dad1f=_0x4e1ffb;const _0x475821=_0x409943[_0x3dad1f(0x28c)],_0x1a7b9c=_0x5a55af[_0x3dad1f(0x3a3)](_0x48716e(_0x475821));_0x409943['originalMeta']=_0x1a7b9c;});}return _0x496dde;}async['getSheetBlock'](_0x5d8344,_0xac701a){var _0x54d72d=_0x3f511f;const {unitID:_0xf53957,type:_0x50f079,blockID:_0x44198f}=_0xac701a,_0x46b4ea=this['_getAPIPrefix']()+'/'+_0x50f079+'/unit/'+_0xf53957+'/block/'+_0x44198f;return(await this[_0x54d72d(0x3e6)][_0x54d72d(0x31a)](_0x46b4ea))[_0x54d72d(0x314)];}async['getDeserializedSheetBlock'](_0x4b0a58,_0x225771){var _0x407ab8=_0x3f511f;const {unitID:_0x380f0f,type:_0x3d2cd7,blockID:_0x5eb62a}=_0x225771,_0xd3125b=this['_getAPIPrefix']()+_0x407ab8(0x438)+_0x3d2cd7+_0x407ab8(0x224)+_0x380f0f+_0x407ab8(0x438)+_0x5eb62a;return(await this['_httpService'][_0x407ab8(0x31a)](_0xd3125b))[_0x407ab8(0x314)];}async[_0x3f511f(0x22e)](_0x1662df,_0x1023cd){var _0x3ef031=_0x3f511f;const {unitID:_0x3d045a,type:_0xca3765,from:_0x4f0d0e,to:_0x1a4b10}=_0x1023cd,_0x1c9f43=this[_0x3ef031(0x180)]()+'/'+_0xca3765+_0x3ef031(0x224)+_0x3d045a+_0x3ef031(0x30d)+_0x4f0d0e+_0x3ef031(0x1b9)+_0x1a4b10;return(await this['_httpService'][_0x3ef031(0x31a)](_0x1c9f43))[_0x3ef031(0x314)];}['getSnapshotAPIPath'](){var _0x351da2=_0x3f511f,_0xa61c2c;return(_0xa61c2c=this['_configService']['getConfig'](ps))!=null?_0xa61c2c:this[_0x351da2(0x180)]();}['_getAPIPrefix'](){var _0x416828=_0x3f511f,_0x2c32f3;const _0xa01bf0=this[_0x416828(0x25a)][_0x416828(0x117)](K);return(_0x2c32f3=_0xa01bf0==null?void 0x0:_0xa01bf0[_0x416828(0x1a4)])!=null?_0x2c32f3:Es;}async['getResourcesRequest'](_0x4c4286,_0x560cbf){var _0x4cd8e9=_0x3f511f;const _0x5c3b69=_0x4cd8e9(0x255)+_0x560cbf[_0x4cd8e9(0x3f6)]+_0x4cd8e9(0x224)+_0x560cbf[_0x4cd8e9(0x339)]+_0x4cd8e9(0x271);return(await this[_0x4cd8e9(0x3e6)]['get'](_0x5c3b69,{'params':{'resourceId':JSON[_0x4cd8e9(0x252)](_0x560cbf[_0x4cd8e9(0x29a)])}}))[_0x4cd8e9(0x314)];}[_0x3f511f(0x1c7)](){var _0x283565=_0x3f511f;throw new Error(_0x283565(0x3d0));}['updateSnapshot'](){var _0x70c3f8=_0x3f511f;throw new Error(_0x70c3f8(0x3d0));}['saveSheetBlock'](){var _0x8d698c=_0x3f511f;throw new Error(_0x8d698c(0x3d0));}[_0x3f511f(0x36c)](){var _0x18278a=_0x3f511f;throw new Error(_0x18278a(0x3d0));}[_0x3f511f(0x30c)](){var _0x36141f=_0x3f511f;throw new Error(_0x36141f(0x3d0));}[_0x3f511f(0x32f)](){var _0x41a0f0=_0x3f511f;throw new Error(_0x41a0f0(0x3d0));}};Ct=sr([ai(0x0,_0x603196),ai(0x1,_0x862a0d(_0x2c0d52))],Ct);var nr=Object['getOwnPropertyDescriptor'],rr=(_0x7bfbee,_0x554e4d,_0x1f6abe,_0x3e9f23)=>{var _0x28bf04=_0x3f511f;for(var _0x3620fb=_0x3e9f23>0x1?void 0x0:_0x3e9f23?nr(_0x554e4d,_0x1f6abe):_0x554e4d,_0x126272=_0x7bfbee[_0x28bf04(0x319)]-0x1,_0xa1b0e3;_0x126272>=0x0;_0x126272--)(_0xa1b0e3=_0x7bfbee[_0x126272])&&(_0x3620fb=_0xa1b0e3(_0x3620fb)||_0x3620fb);return _0x3620fb;},Ae=(_0x47ca45,_0x4374ce)=>(_0x2d3bf6,_0x82547f)=>_0x4374ce(_0x2d3bf6,_0x82547f,_0x47ca45);let bt=class extends _0x48ac72{constructor(_0x14853e,_0x2ae732,_0x45c709,_0x1e5b69,_0x588bc0){var _0x116250=_0x3f511f;super(_0x14853e,_0x2ae732,_0x45c709),this[_0x116250(0x2be)]=_0x1e5b69,this[_0x116250(0x3ae)]=_0x588bc0;}['transformUndoRedo'](_0x119df8,_0x25680e){var _0xc23b3=_0x3f511f;const _0x5588a4=this[_0xc23b3(0x234)](_0x119df8);if(_0x5588a4)try{const _0x1aa5dc=this['_transformStack'](_0x5588a4,_0x25680e);this[_0xc23b3(0x398)](_0x119df8,_0x1aa5dc);}catch(_0x44c4c7){this[_0xc23b3(0x3ae)][_0xc23b3(0x27e)](_0xc23b3(0x414),_0x44c4c7),this[_0xc23b3(0x35b)](_0x119df8);}const _0x4d22f5=this['_getRedoStack'](_0x119df8);if(_0x4d22f5)try{const _0x3b62ac=this['_transformStack'](_0x4d22f5,_0x25680e);this['_substituteRedoStack'](_0x119df8,_0x3b62ac);}catch(_0x4cafad){this[_0xc23b3(0x3ae)][_0xc23b3(0x27e)](_0x4cafad),this[_0xc23b3(0x1a1)](_0x119df8);}}[_0x3f511f(0x35b)](_0x41848c){var _0x461534=_0x3f511f;const _0x4dbc01=this[_0x461534(0x234)](_0x41848c);_0x4dbc01&&(_0x4dbc01[_0x461534(0x319)]=0x0,this['_updateStatus']());}[_0x3f511f(0x1a1)](_0x4347cf){var _0xa8ff40=_0x3f511f;const _0x4a0ba3=this[_0xa8ff40(0x1f5)](_0x4347cf);_0x4a0ba3&&(_0x4a0ba3[_0xa8ff40(0x319)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x2cd7dd,_0x22dc62){var _0x136ec4=_0x3f511f;this[_0x136ec4(0x196)][_0x136ec4(0x235)](_0x2cd7dd,_0x22dc62),this[_0x136ec4(0x18b)]();}[_0x3f511f(0x2ae)](_0x2c1d33,_0x39447e){var _0x3555f7=_0x3f511f;this[_0x3555f7(0x2a1)][_0x3555f7(0x235)](_0x2c1d33,_0x39447e),this[_0x3555f7(0x18b)]();}[_0x3f511f(0x19d)](_0x167271,_0x53f0ae){var _0x5d7f0f=_0x3f511f;const _0x46ce73=[];let _0x1a8bd7=_0x53f0ae,_0x468c22=_0x53f0ae;for(let _0x513ce8=_0x167271['length']-0x1;_0x513ce8>=0x0;_0x513ce8--){const {unitID:_0x429752,undoMutations:_0x27c624,redoMutations:_0x316d56}=_0x167271[_0x513ce8],_0x52d2f8=this['_transformService'][_0x5d7f0f(0x2de)](_0x1a8bd7,_0x27c624),_0x257aa0=this['_transformService']['transformMutationsWithChangeset'](_0x468c22,_0x316d56);if(_0x1a5e8b(_0x52d2f8)||_0x1a5e8b(_0x257aa0)){this[_0x5d7f0f(0x3ae)]['error'](_0x5d7f0f(0x414),_0x5d7f0f(0x2ee),_0x52d2f8,_0x257aa0);break;}_0x1a8bd7=_0x52d2f8[_0x5d7f0f(0x155)],_0x468c22=_0x257aa0[_0x5d7f0f(0x155)],_0x46ce73[_0x5d7f0f(0x41d)]({'unitID':_0x429752,'undoMutations':_0x52d2f8[_0x5d7f0f(0x411)],'redoMutations':_0x257aa0[_0x5d7f0f(0x411)]});}return _0x46ce73['reverse']();}};bt=rr([Ae(0x0,_0x5075a6),Ae(0x1,_0x5cc981),Ae(0x2,_0x4f9217),Ae(0x3,_0x167c42),Ae(0x4,_0x17b4dd)],bt);var ar=Object['defineProperty'],or=Object[_0x3f511f(0x32b)],cr=(_0x2b18f5,_0x558365,_0x37832e)=>_0x558365 in _0x2b18f5?ar(_0x2b18f5,_0x558365,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37832e}):_0x2b18f5[_0x558365]=_0x37832e,_r=(_0x3ad34e,_0x53f79e,_0xdf2f91,_0x5ee205)=>{var _0x413a8a=_0x3f511f;for(var _0x12dca8=_0x5ee205>0x1?void 0x0:_0x5ee205?or(_0x53f79e,_0xdf2f91):_0x53f79e,_0x41fe87=_0x3ad34e[_0x413a8a(0x319)]-0x1,_0x23834e;_0x41fe87>=0x0;_0x41fe87--)(_0x23834e=_0x3ad34e[_0x41fe87])&&(_0x12dca8=_0x23834e(_0x12dca8)||_0x12dca8);return _0x12dca8;},pt=(_0x3c3df7,_0x79d23)=>(_0x35eeb6,_0x716d3d)=>_0x79d23(_0x35eeb6,_0x716d3d,_0x3c3df7),hr=(_0x4f3b5d,_0x22dae7,_0x269c51)=>cr(_0x4f3b5d,_0x22dae7+'',_0x269c51);const lr=_0x3f511f(0x3c7);let Dt=class extends _0x5097f0{constructor(_0x3463d5,_0x230547,_0x49580b,_0x2e5b19){var _0x581574=_0x3f511f;super(),D(this,_0x581574(0x1ca)),(this[_0x581574(0x3ae)]=_0x230547,this[_0x581574(0x3df)]=_0x49580b,this[_0x581574(0x25a)]=_0x2e5b19);const {..._0x18819a}=_0x5b290c({},ks,_0x3463d5);if(!_0x18819a[_0x581574(0x1c6)])throw new Error(_0x581574(0x1b3));this[_0x581574(0x1ca)]=_0x18819a,this[_0x581574(0x25a)]['setConfig'](K,_0x18819a);}[_0x3f511f(0x211)](){var _0x2e619f=_0x3f511f;this[_0x2e619f(0x250)](),this[_0x2e619f(0x28b)]();}[_0x3f511f(0x250)](){var _0x5487c5=_0x3f511f,_0x2f757e,_0x25f151;this[_0x5487c5(0x3df)][_0x5487c5(0x1c3)](_0x3d9d8f)&&this['_logService']['error']('[UniverCollaborationClientPlugin]',_0x5487c5(0x43a));const _0x164ced=_0x59901f([[_0x3d9d8f,{'useClass':bt}],[Le],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this['_config'][_0x5487c5(0x1c6)]}],[_0x11f2d,{'useClass':Ct}],[_0x4bbdba,{'useClass':Tt}],[_0x2356d9,{'useClass':Rt}],[_0x13d4a1,{'useClass':Nt}],[nt],[gt]],(_0x2f757e=this[_0x5487c5(0x1ca)])==null?void 0x0:_0x2f757e['override']);if(!((_0x25f151=this[_0x5487c5(0x1ca)])!=null&&_0x25f151[_0x5487c5(0x42b)])){const _0x3b7716=_0x164ced[_0x5487c5(0x17d)](([_0x22deae])=>_0x22deae===_t);_0x3b7716!==-0x1&&_0x164ced[_0x5487c5(0x136)](_0x3b7716,0x1);}_0x1123f6(this[_0x5487c5(0x3df)],_0x164ced);}[_0x3f511f(0x28b)](){var _0x24c55c=_0x3f511f,_0x573103,_0x35ffa9,_0x535e50;this[_0x24c55c(0x3df)]['get'](_0x2c0d52)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x479f55({'maxParallel':0x6})}),(_0x573103=this[_0x24c55c(0x1ca)])!=null&&_0x573103[_0x24c55c(0x2e9)]||(_0x35ffa9=this[_0x24c55c(0x3df)][_0x24c55c(0x31a)](X,_0xe44e06['OPTIONAL']))==null||_0x35ffa9[_0x24c55c(0x178)](),(_0x535e50=this[_0x24c55c(0x1ca)])!=null&&_0x535e50['enableAuthServer']&&_0x4dc1c9(this['_injector'],[[rt]]),_0x4dc1c9(this[_0x24c55c(0x3df)],[[at],[nt],[ot]]);}};hr(Dt,_0x3f511f(0x37a),lr),Dt=_r([_0x37369c(_0x211fe8,_0x2d52a8),pt(0x1,_0x17b4dd),pt(0x2,_0x862a0d(_0xe7d96f)),pt(0x3,_0x603196)],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,Le 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};
|