@univerjs-pro/collaboration-client 0.15.0 → 0.15.1-insiders.20260117-8ce4a01
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/facade/f-collaboration.d.ts +12 -4
- package/lib/types/facade/f-event.d.ts +50 -0
- package/lib/types/facade/f-univer.d.ts +2 -1
- package/lib/types/facade/index.d.ts +2 -0
- 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 +11 -11
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x59b5b4=_0x2245;(function(_0x444958,_0x3f0d22){var _0x586f5f=_0x2245,_0x6ae195=_0x444958();while(!![]){try{var _0x56cd19=parseInt(_0x586f5f(0x1b7))/0x1*(parseInt(_0x586f5f(0x2ab))/0x2)+-parseInt(_0x586f5f(0x3fc))/0x3*(-parseInt(_0x586f5f(0x380))/0x4)+parseInt(_0x586f5f(0x2a5))/0x5*(-parseInt(_0x586f5f(0x2a3))/0x6)+-parseInt(_0x586f5f(0x34e))/0x7*(parseInt(_0x586f5f(0x1f4))/0x8)+parseInt(_0x586f5f(0x24e))/0x9*(parseInt(_0x586f5f(0x1a9))/0xa)+-parseInt(_0x586f5f(0x34b))/0xb+-parseInt(_0x586f5f(0x356))/0xc;if(_0x56cd19===_0x3f0d22)break;else _0x6ae195['push'](_0x6ae195['shift']());}catch(_0x4514ef){_0x6ae195['push'](_0x6ae195['shift']());}}}(_0x1a33,0xbc3b0));var Di=Object[_0x59b5b4(0x139)],yi=(_0x108f93,_0x18cd12,_0x526141)=>_0x18cd12 in _0x108f93?Di(_0x108f93,_0x18cd12,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x526141}):_0x108f93[_0x18cd12]=_0x526141,D=(_0x48bd72,_0x5be3d8,_0x578ed2)=>yi(_0x48bd72,typeof _0x5be3d8!=_0x59b5b4(0x1d4)?_0x5be3d8+'':_0x5be3d8,_0x578ed2);import{CollaborationEvent as _0x8199d6,ITransformService as _0x39ca4e,isTransformMutationsWithChangesetSuccess as _0x108311,mapDocumentTypeToUniverType as _0x135600,RevisionService as _0x2aa1c4,isTransformChangesetsSuccess as _0x810ab5,EmptyMutationInfo as _0x48bad8,CompressMutationService as _0x80ee6,parseProtocolChangeset as _0x482035,uuidv4 as _0x64d0d4,ISnapshotServerService as _0x153314,parseChangesetToProtocol as _0x127fce,SnapshotService as _0x21c76d,textEncoder as _0x224381,b64DecodeUnicode as _0x204879,isTransformMutationsWithChangesetFailure as _0x2667a2,UniverCollaborationPlugin as _0x1d5c63}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x33b121,Inject as _0x1a58da,UserManagerService as _0x25107c,Disposable as _0xc67a27,UniverInstanceType as _0x5160b0,ILogService as _0x41f1d3,IConfigService as _0x4cf79c,Optional as _0x24a4ee,RxDisposable as _0x5385ac,createIdentifier as _0x4580bc,Injector as _0x304bd2,Tools as _0x2582c5,Rectangle as _0x48a3cf,ICommandService as _0x48e048,JSONX as _0x28463c,IUndoRedoService as _0x4c7a7f,IPermissionService as _0x6680b3,LocaleService as _0x37628b,sequenceExecute as _0x4cf03a,toDisposable as _0x3b1318,CommandType as _0x92706f,DisposableCollection as _0x4dd381,Workbook as _0x3bc15c,generateRandomId as _0x2e2876,MentionType as _0x25ba16,isInternalEditorID as _0x1b558c,LocalUndoRedoService as _0x176556,IContextService as _0x1abaab,DependentOn as _0x12fa2d,Plugin as _0x4fc85d,merge as _0x51372b,mergeOverrideWithDependencies as _0x55d6ff,IAuthzIoService as _0x48291a,IMentionIOService as _0x42f742,registerDependencies as _0x3ad911,Quantity as _0x537754,touchDependencies as _0x5dd37a}from'@univerjs/core';import{RichTextEditingMutation as _0x27e980}from'@univerjs/docs';import{SheetsSelectionsService as _0xf9d02,SetSelectionsOperation as _0x294701,InsertSheetMutation as _0x4a567d,WorkbookEditablePermission as _0x1c73ad,SheetPermissionInitController as _0x4fd551}from'@univerjs/sheets';import{Subject as _0x392b17,merge as _0x58a98c,of as _0x27446f,BehaviorSubject as _0xfba9c5,takeUntil as _0x4620b1,ReplaySubject as _0x4e32ce,take as _0x505bf8,map as _0x36eed8,shareReplay as _0x9c6fcc,firstValueFrom as _0x21f454,concatMap as _0x2c5b73}from'rxjs';import{ITelemetryService as _0x37d1b0}from'@univerjs/telemetry';import{map as _0x3f2333,take as _0x305e89,filter as _0x2264c4,delay as _0xc7b00c,takeUntil as _0x37c0c2}from'rxjs/operators';import{HTTPService as _0x28317b,ISocketService as _0x28aa13,MergeInterceptorFactory as _0x3a07d1,HTTPRequest as _0x469672,UniverNetworkPlugin as _0x211efc,ThresholdInterceptorFactory as _0x17daf5}from'@univerjs/network';import{ImageSourceType as _0x11f743,ImageUploadStatusType as _0x35d6c9,IImageIoService as _0xacadaa}from'@univerjs/drawing';import{getGlobalObject as _0x1070d8}from'@univerjs-pro/license';const vs=_0x59b5b4(0x28c),Es='SNAPSHOT_URL_KEY',ps=0x7d0,ms=_0x59b5b4(0xed),Tr=_0x59b5b4(0x122),Is=_0x59b5b4(0x349),Ss=0x7530,di=_0x59b5b4(0x109),fi=0x4e20,gs=0x4e20,Ts=_0x59b5b4(0x26e),Os=0x3,Or=_0x59b5b4(0x1a8),Rr=0x3e8,Rs='/universer-api/comb',Ns=_0x59b5b4(0x150),Nr=_0x59b5b4(0x10f),Cr=_0x59b5b4(0x3d6);var vi=(_0x2c133d=>(_0x2c133d[_0x2c133d[_0x59b5b4(0x3b4)]=0x0]=_0x59b5b4(0x3b4),_0x2c133d[_0x2c133d['OK']=0x1]='OK',_0x2c133d[_0x2c133d['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x2c133d[_0x2c133d['PERMISSION_DENIED']=0x3]=_0x59b5b4(0x191),_0x2c133d[_0x2c133d[_0x59b5b4(0x2d2)]=0x4]=_0x59b5b4(0x2d2),_0x2c133d[_0x2c133d['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x2c133d[_0x2c133d[_0x59b5b4(0x2d5)]=0x6]=_0x59b5b4(0x2d5),_0x2c133d[_0x2c133d[_0x59b5b4(0x3c3)]=0x7]=_0x59b5b4(0x3c3),_0x2c133d[_0x2c133d[_0x59b5b4(0x247)]=0x8]=_0x59b5b4(0x247),_0x2c133d[_0x2c133d[_0x59b5b4(0x225)]=0x9]=_0x59b5b4(0x225),_0x2c133d[_0x2c133d[_0x59b5b4(0x146)]=0xa]=_0x59b5b4(0x146),_0x2c133d[_0x2c133d['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x59b5b4(0x16b),_0x2c133d[_0x2c133d['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x59b5b4(0x17c),_0x2c133d[_0x2c133d[_0x59b5b4(0x348)]=0xd]=_0x59b5b4(0x348),_0x2c133d[_0x2c133d[_0x59b5b4(0x11c)]=0xe]=_0x59b5b4(0x11c),_0x2c133d[_0x2c133d[_0x59b5b4(0x24a)]=0xf]=_0x59b5b4(0x24a),_0x2c133d[_0x2c133d['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x59b5b4(0x2ce),_0x2c133d[_0x2c133d[_0x59b5b4(0x164)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x2c133d[_0x2c133d[_0x59b5b4(0x34f)]=0x65]=_0x59b5b4(0x34f),_0x2c133d[_0x2c133d['USER_NOT_FOUND']=0xc9]=_0x59b5b4(0x27a),_0x2c133d[_0x2c133d[_0x59b5b4(0x3ac)]=0xca]=_0x59b5b4(0x3ac),_0x2c133d[_0x2c133d[_0x59b5b4(0x381)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2c133d[_0x2c133d[_0x59b5b4(0x405)]=0x1771]=_0x59b5b4(0x405),_0x2c133d[_0x2c133d[_0x59b5b4(0x132)]=0x1772]=_0x59b5b4(0x132),_0x2c133d[_0x2c133d[_0x59b5b4(0x293)]=0x1773]=_0x59b5b4(0x293),_0x2c133d[_0x2c133d[_0x59b5b4(0x3cf)]=0x1b59]=_0x59b5b4(0x3cf),_0x2c133d[_0x2c133d[_0x59b5b4(0x319)]=0x1b5a]=_0x59b5b4(0x319),_0x2c133d[_0x2c133d[_0x59b5b4(0x295)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2c133d[_0x2c133d[_0x59b5b4(0x17d)]=0x1b5c]=_0x59b5b4(0x17d),_0x2c133d[_0x2c133d[_0x59b5b4(0xe0)]=0x1b5d]=_0x59b5b4(0xe0),_0x2c133d[_0x2c133d[_0x59b5b4(0x339)]=0x1f41]=_0x59b5b4(0x339),_0x2c133d[_0x2c133d[_0x59b5b4(0x3cb)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2c133d[_0x2c133d[_0x59b5b4(0x399)]=0x232a]=_0x59b5b4(0x399),_0x2c133d[_0x2c133d[_0x59b5b4(0x3f1)]=0x232b]=_0x59b5b4(0x3f1),_0x2c133d[_0x2c133d[_0x59b5b4(0x3e8)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2c133d[_0x2c133d['LICENSE_DISTRO_REJECTED']=0x232d]=_0x59b5b4(0x3cc),_0x2c133d[_0x2c133d[_0x59b5b4(0x209)]=0x2711]=_0x59b5b4(0x209),_0x2c133d[_0x2c133d['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x59b5b4(0x279),_0x2c133d[_0x2c133d[_0x59b5b4(0x318)]=0x2713]=_0x59b5b4(0x318),_0x2c133d[_0x2c133d[_0x59b5b4(0x2cc)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2c133d[_0x2c133d[_0x59b5b4(0x23f)]=0x271a]=_0x59b5b4(0x23f),_0x2c133d[_0x2c133d[_0x59b5b4(0xeb)]=0x271b]=_0x59b5b4(0xeb),_0x2c133d[_0x2c133d[_0x59b5b4(0x37b)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x2c133d[_0x2c133d[_0x59b5b4(0x2c7)]=0x271d]=_0x59b5b4(0x2c7),_0x2c133d[_0x2c133d[_0x59b5b4(0x10b)]=0x271e]=_0x59b5b4(0x10b),_0x2c133d[_0x2c133d[_0x59b5b4(0x112)]=0x271f]=_0x59b5b4(0x112),_0x2c133d[_0x2c133d[_0x59b5b4(0x140)]=0x2720]=_0x59b5b4(0x140),_0x2c133d[_0x2c133d[_0x59b5b4(0xf5)]=0x2af9]=_0x59b5b4(0xf5),_0x2c133d[_0x2c133d[_0x59b5b4(0x129)]=0x2ee1]=_0x59b5b4(0x129),_0x2c133d[_0x2c133d['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x2c133d[_0x2c133d[_0x59b5b4(0x27d)]=0x2ee3]=_0x59b5b4(0x27d),_0x2c133d[_0x2c133d[_0x59b5b4(0x351)]=0x2ee4]=_0x59b5b4(0x351),_0x2c133d[_0x2c133d[_0x59b5b4(0x320)]=0x2ee5]=_0x59b5b4(0x320),_0x2c133d[_0x2c133d[_0x59b5b4(0x3ec)]=0x32c9]=_0x59b5b4(0x3ec),_0x2c133d[_0x2c133d[_0x59b5b4(0x143)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2c133d[_0x2c133d['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x59b5b4(0x3a3),_0x2c133d[_0x2c133d[_0x59b5b4(0x400)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x2c133d[_0x2c133d[_0x59b5b4(0x1b6)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x2c133d[_0x2c133d['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x59b5b4(0x354),_0x2c133d[_0x2c133d[_0x59b5b4(0x30b)]=0x36b4]=_0x59b5b4(0x30b),_0x2c133d[_0x2c133d[_0x59b5b4(0x174)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x2c133d[_0x2c133d[_0x59b5b4(0x237)]=0x36b6]=_0x59b5b4(0x237),_0x2c133d[_0x2c133d[_0x59b5b4(0x27c)]=0x36b7]=_0x59b5b4(0x27c),_0x2c133d[_0x2c133d[_0x59b5b4(0x36a)]=0x36b8]=_0x59b5b4(0x36a),_0x2c133d[_0x2c133d[_0x59b5b4(0xe8)]=0x3715]=_0x59b5b4(0xe8),_0x2c133d[_0x2c133d[_0x59b5b4(0x1e0)]=0x3716]=_0x59b5b4(0x1e0),_0x2c133d[_0x2c133d['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x59b5b4(0x13f),_0x2c133d[_0x2c133d[_0x59b5b4(0x21b)]=0x37dd]=_0x59b5b4(0x21b),_0x2c133d[_0x2c133d['REDEMPTION_INVALID_CODE']=0x3a99]=_0x59b5b4(0x3fa),_0x2c133d[_0x2c133d[_0x59b5b4(0x149)]=0x3a9a]=_0x59b5b4(0x149),_0x2c133d[_0x2c133d[_0x59b5b4(0x1a7)]=0x3a9b]=_0x59b5b4(0x1a7),_0x2c133d[_0x2c133d[_0x59b5b4(0x17b)]=0x3a9c]=_0x59b5b4(0x17b),_0x2c133d[_0x2c133d[_0x59b5b4(0x360)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x2c133d[_0x2c133d[_0x59b5b4(0x14c)]=0x3a9e]=_0x59b5b4(0x14c),_0x2c133d[_0x2c133d['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x2c133d[_0x2c133d[_0x59b5b4(0x3e2)]=0x3e81]=_0x59b5b4(0x3e2),_0x2c133d[_0x2c133d[_0x59b5b4(0x221)]=-0x1]='UNRECOGNIZED',_0x2c133d))(vi||{}),Q=(_0x189a78=>(_0x189a78[_0x189a78['UNIVER_UNKNOWN']=0x0]=_0x59b5b4(0x38f),_0x189a78[_0x189a78[_0x59b5b4(0x33f)]=0x1]=_0x59b5b4(0x33f),_0x189a78[_0x189a78[_0x59b5b4(0x21e)]=0x2]=_0x59b5b4(0x21e),_0x189a78[_0x189a78[_0x59b5b4(0x11d)]=0x3]=_0x59b5b4(0x11d),_0x189a78[_0x189a78[_0x59b5b4(0x24f)]=0x4]=_0x59b5b4(0x24f),_0x189a78[_0x189a78[_0x59b5b4(0x221)]=-0x1]=_0x59b5b4(0x221),_0x189a78))(Q||{}),j=(_0x5b75ee=>(_0x5b75ee[_0x5b75ee[_0x59b5b4(0x29c)]=0x0]='UNKNOWN_CMD',_0x5b75ee[_0x5b75ee[_0x59b5b4(0x361)]=0x1]='HELLO',_0x5b75ee[_0x5b75ee['JOIN']=0x2]=_0x59b5b4(0x245),_0x5b75ee[_0x5b75ee[_0x59b5b4(0x34a)]=0x3]=_0x59b5b4(0x34a),_0x5b75ee[_0x5b75ee[_0x59b5b4(0xf2)]=0x4]=_0x59b5b4(0xf2),_0x5b75ee[_0x5b75ee[_0x59b5b4(0x211)]=0x5]=_0x59b5b4(0x211),_0x5b75ee[_0x5b75ee[_0x59b5b4(0x2f0)]=0x6]='RECV',_0x5b75ee[_0x5b75ee[_0x59b5b4(0x221)]=-0x1]=_0x59b5b4(0x221),_0x5b75ee))(j||{}),Ee=(_0x2d7737=>(_0x2d7737[_0x2d7737[_0x59b5b4(0x104)]=0x0]=_0x59b5b4(0x104),_0x2d7737[_0x2d7737['OK']=0x1]='OK',_0x2d7737[_0x2d7737[_0x59b5b4(0x1c2)]=0x2]='FAIL',_0x2d7737[_0x2d7737[_0x59b5b4(0x407)]=0x3e9]=_0x59b5b4(0x407),_0x2d7737[_0x2d7737[_0x59b5b4(0x20c)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x2d7737[_0x2d7737[_0x59b5b4(0x29f)]=0x3eb]=_0x59b5b4(0x29f),_0x2d7737[_0x2d7737[_0x59b5b4(0x265)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x2d7737[_0x2d7737['UNRECOGNIZED']=-0x1]=_0x59b5b4(0x221),_0x2d7737))(Ee||{}),Ei=(_0x3f33b5=>(_0x3f33b5[_0x3f33b5[_0x59b5b4(0x3c2)]=0x0]=_0x59b5b4(0x3c2),_0x3f33b5[_0x3f33b5['HttpImport']=0x1]='HttpImport',_0x3f33b5[_0x3f33b5[_0x59b5b4(0x10c)]=0x2]=_0x59b5b4(0x10c),_0x3f33b5[_0x3f33b5[_0x59b5b4(0x378)]=0x3]=_0x59b5b4(0x378),_0x3f33b5[_0x3f33b5[_0x59b5b4(0x1b2)]=0x4]=_0x59b5b4(0x1b2),_0x3f33b5[_0x3f33b5[_0x59b5b4(0x2fa)]=0x5]=_0x59b5b4(0x2fa),_0x3f33b5[_0x3f33b5['ClipsheetFragments']=0x6]=_0x59b5b4(0x26f),_0x3f33b5[_0x3f33b5[_0x59b5b4(0x221)]=-0x1]=_0x59b5b4(0x221),_0x3f33b5))(Ei||{});const Cs=_0x59b5b4(0x3b9);function bs(_0x242ca9){var _0x4e8d3a=_0x59b5b4;return JSON['stringify'](_0x242ca9)[_0x4e8d3a(0x1c0)];}var re=(_0x33c445=>(_0x33c445[_0x59b5b4(0xf4)]=_0x59b5b4(0xf4),_0x33c445[_0x59b5b4(0x191)]='PERMISSION_DENIED',_0x33c445[_0x59b5b4(0x2b5)]=_0x59b5b4(0x2b5),_0x33c445[_0x59b5b4(0x2c0)]=_0x59b5b4(0x2c0),_0x33c445[_0x59b5b4(0x2da)]=_0x59b5b4(0x2da),_0x33c445[_0x59b5b4(0xe4)]='SOCKET_FAILED_RETRY',_0x33c445[_0x59b5b4(0x340)]=_0x59b5b4(0x340),_0x33c445[_0x59b5b4(0x281)]=_0x59b5b4(0x281),_0x33c445))(re||{});class ve{constructor(){var _0x189669=_0x59b5b4;D(this,_0x189669(0x382),new _0x392b17()),D(this,_0x189669(0xf7),this[_0x189669(0x382)]['asObservable']());}['emitEvent'](_0x15ce50){var _0x4bf748=_0x59b5b4;this['_event$'][_0x4bf748(0x283)](_0x15ce50);}}class pi{constructor(){var _0x4c687d=_0x59b5b4;D(this,'_commentUpdate$',new _0x392b17()),D(this,_0x4c687d(0x20f),this[_0x4c687d(0x1b1)][_0x4c687d(0x15a)]());}['onCommentUpdate'](_0x5ee08e){var _0x1b0594=_0x59b5b4;this[_0x1b0594(0x1b1)][_0x1b0594(0x283)](_0x5ee08e);}}var Ds=Object[_0x59b5b4(0x298)],ys=(_0xd69151,_0x3c5dd5,_0x3ffd2f,_0x28bb39)=>{var _0x5a3560=_0x59b5b4;for(var _0x48c918=_0x28bb39>0x1?void 0x0:_0x28bb39?Ds(_0x3c5dd5,_0x3ffd2f):_0x3c5dd5,_0x3bad8d=_0xd69151[_0x5a3560(0x1c0)]-0x1,_0x3733c3;_0x3bad8d>=0x0;_0x3bad8d--)(_0x3733c3=_0xd69151[_0x3bad8d])&&(_0x48c918=_0x3733c3(_0x48c918)||_0x48c918);return _0x48c918;},Ft=(_0x28cec8,_0x13b0fb)=>(_0x53d9a9,_0xc88da5)=>_0x13b0fb(_0x53d9a9,_0xc88da5,_0x28cec8);let Pe=class extends _0xc67a27{constructor(_0x56daf2,_0x88aa6e){var _0x5cf00c=_0x59b5b4;super(),D(this,_0x5cf00c(0x242),new Map()),D(this,_0x5cf00c(0x3ef),new _0x392b17()),(this[_0x5cf00c(0xfa)]=_0x56daf2,this['_userManagerService']=_0x88aa6e,this[_0x5cf00c(0x2d9)](_0x58a98c(this[_0x5cf00c(0xfa)][_0x5cf00c(0x3de)](_0x5160b0[_0x5cf00c(0x21e)])[_0x5cf00c(0x3fe)](_0x3f2333(_0x2e0518=>_0x2e0518[_0x5cf00c(0x115)]())),this[_0x5cf00c(0xfa)][_0x5cf00c(0x3de)](_0x5160b0['UNIVER_DOC'])['pipe'](_0x3f2333(_0x20e0f5=>_0x20e0f5[_0x5cf00c(0x115)]())),this[_0x5cf00c(0xfa)][_0x5cf00c(0x3de)](_0x5160b0[_0x5cf00c(0x11d)])[_0x5cf00c(0x3fe)](_0x3f2333(_0x50c5bf=>_0x50c5bf[_0x5cf00c(0x115)]())))[_0x5cf00c(0x326)](_0x405326=>this[_0x5cf00c(0x33b)](_0x405326))));}[_0x59b5b4(0x3d3)](_0x37b11f){var _0x15c54e=_0x59b5b4;return this[_0x15c54e(0x242)][_0x15c54e(0x227)](_0x37b11f)?_0x27446f(this[_0x15c54e(0x242)][_0x15c54e(0x21f)](_0x37b11f)):this[_0x15c54e(0x3ef)][_0x15c54e(0x3fe)](_0x3f2333(_0x48b29f=>{var _0x2ec047=_0x15c54e;if(_0x48b29f===_0x37b11f)return this[_0x2ec047(0x242)][_0x2ec047(0x21f)](_0x48b29f);}));}[_0x59b5b4(0x18a)](_0x8495d4){var _0x46273f=_0x59b5b4;this[_0x46273f(0x3a1)][_0x46273f(0x18a)](_0x8495d4);}[_0x59b5b4(0x137)](){var _0x25c6d4=_0x59b5b4;return this[_0x25c6d4(0x3a1)][_0x25c6d4(0x137)]();}[_0x59b5b4(0x2f3)](_0x4c8629,_0x40c5c4){var _0x4bc6f0=_0x59b5b4;let _0x54103d=this[_0x4bc6f0(0x242)][_0x4bc6f0(0x21f)](_0x4c8629);_0x54103d||(_0x54103d=new Us(),this[_0x4bc6f0(0x242)]['set'](_0x4c8629,_0x54103d),this[_0x4bc6f0(0x3ef)][_0x4bc6f0(0x283)](_0x4c8629)),_0x54103d['updateMember'](_0x40c5c4);}[_0x59b5b4(0x20e)](_0x54f0b3,_0x540135){var _0x520892=_0x59b5b4;const _0x531fa3=this[_0x520892(0x242)][_0x520892(0x21f)](_0x54f0b3);_0x531fa3&&_0x531fa3[_0x520892(0x20e)](_0x540135);}['getRoom'](_0x19277d){var _0x31e0bf=_0x59b5b4;return this['_roomMembers'][_0x31e0bf(0x21f)](_0x19277d);}[_0x59b5b4(0x3c7)](_0x3cb471,_0x433bd1){var _0x46b38=_0x59b5b4;const _0x5e1b79=this[_0x46b38(0x242)]['get'](_0x3cb471);if(_0x5e1b79)return _0x5e1b79['getMember'](_0x433bd1);}[_0x59b5b4(0x33b)](_0x4095cb){var _0x1784d1=_0x59b5b4;const _0x3e343a=this[_0x1784d1(0x242)][_0x1784d1(0x21f)](_0x4095cb);_0x3e343a&&(_0x3e343a['dispose'](),this[_0x1784d1(0x242)][_0x1784d1(0x192)](_0x4095cb));}[_0x59b5b4(0x2b2)](){var _0x23fa55=_0x59b5b4;this['_roomMembers'][_0x23fa55(0x22f)](_0x1d0d48=>_0x1d0d48[_0x23fa55(0x2b2)]()),this[_0x23fa55(0x242)][_0x23fa55(0x2fc)](),this['_roomCreated$'][_0x23fa55(0x3eb)]();}};Pe=ys([Ft(0x0,_0x33b121),Ft(0x1,_0x1a58da(_0x25107c))],Pe);class Us extends _0xc67a27{constructor(){var _0x3e6a26=_0x59b5b4;super(...arguments),D(this,'_members',new Map()),D(this,_0x3e6a26(0x3e9),new _0xfba9c5(this[_0x3e6a26(0x108)])),D(this,'members$',this[_0x3e6a26(0x3e9)][_0x3e6a26(0x15a)]());}[_0x59b5b4(0x2b2)](){var _0x507cf4=_0x59b5b4;this['_members'][_0x507cf4(0x2fc)]();}['updateMember'](_0x2e1a48){var _0x42f25e=_0x59b5b4;this[_0x42f25e(0x108)]['set'](_0x2e1a48[_0x42f25e(0x1c4)],_0x2e1a48),this[_0x42f25e(0x300)]();}[_0x59b5b4(0x20e)](_0x1b7847){var _0x1d0c0b=_0x59b5b4;this[_0x1d0c0b(0x108)][_0x1d0c0b(0x192)](_0x1b7847);}[_0x59b5b4(0x3c7)](_0x5a3d79){var _0x268633=_0x59b5b4;return this[_0x268633(0x108)][_0x268633(0x21f)](_0x5a3d79);}[_0x59b5b4(0x233)](){var _0x3f89cf=_0x59b5b4;return Array[_0x3f89cf(0x267)](this[_0x3f89cf(0x108)][_0x3f89cf(0x2eb)]());}[_0x59b5b4(0x300)](){var _0x4df0cf=_0x59b5b4;this[_0x4df0cf(0x3e9)]['next'](this[_0x4df0cf(0x108)]);}}var As=Object[_0x59b5b4(0x298)],Ps=(_0x5353ac,_0x559b0d,_0x1c29bb,_0x1cd57c)=>{var _0x3f30e7=_0x59b5b4;for(var _0x3125ab=_0x1cd57c>0x1?void 0x0:_0x1cd57c?As(_0x559b0d,_0x1c29bb):_0x559b0d,_0xa3f2e2=_0x5353ac[_0x3f30e7(0x1c0)]-0x1,_0x27ebf9;_0xa3f2e2>=0x0;_0xa3f2e2--)(_0x27ebf9=_0x5353ac[_0xa3f2e2])&&(_0x3125ab=_0x27ebf9(_0x3125ab)||_0x3125ab);return _0x3125ab;},Oe=(_0x1a5174,_0x235c29)=>(_0x3f5030,_0x37ce85)=>_0x235c29(_0x3f5030,_0x37ce85,_0x1a5174),me=(_0x369cc4=>(_0x369cc4[_0x369cc4[_0x59b5b4(0x2ef)]=0x0]='IDLE',_0x369cc4[_0x369cc4[_0x59b5b4(0x25e)]=0x1]=_0x59b5b4(0x25e),_0x369cc4[_0x369cc4[_0x59b5b4(0x1d3)]=0x2]=_0x59b5b4(0x1d3),_0x369cc4[_0x369cc4['ONLINE']=0x3]=_0x59b5b4(0x110),_0x369cc4))(me||{});const jt={[Ee[_0x59b5b4(0x1c2)]]:_0x59b5b4(0x142),[Ee['JOIN_ROOM_FULL']]:_0x59b5b4(0x1da),[Ee[_0x59b5b4(0x20c)]]:_0x59b5b4(0x305),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x59b5b4(0x32e),[Ee[_0x59b5b4(0x265)]]:_0x59b5b4(0x1a0)};let mt=class extends _0x5385ac{constructor(_0x2cc75d,_0x4661dd,_0x47e196,_0x133c01,_0x2d9d26,_0x1a62c1,_0x543f60,_0x115574){var _0x3308d0=_0x59b5b4;super(),D(this,'_sessionStatus$',new _0xfba9c5(0x0)),D(this,'sessionStatus$',this[_0x3308d0(0x231)]['asObservable']()),D(this,'_event$',new _0x392b17()),D(this,_0x3308d0(0xf7),this[_0x3308d0(0x382)][_0x3308d0(0x15a)]()),D(this,_0x3308d0(0x15c)),D(this,_0x3308d0(0x1b8)),D(this,_0x3308d0(0x29a)),D(this,_0x3308d0(0x3e7),!0x1),D(this,_0x3308d0(0x185),null),(this[_0x3308d0(0x287)]=_0x2cc75d,this[_0x3308d0(0x12a)]=_0x47e196,this[_0x3308d0(0x3b5)]=_0x133c01,this['_memberService']=_0x2d9d26,this['_commentService']=_0x1a62c1,this[_0x3308d0(0x3d7)]=_0x543f60,this[_0x3308d0(0x241)]=_0x115574,this[_0x3308d0(0x3e7)]=!!this[_0x3308d0(0x241)],_0x4661dd[_0x3308d0(0x3fe)](_0x4620b1(this[_0x3308d0(0x312)]))[_0x3308d0(0x326)](_0xfa994d=>{var _0x14956b=_0x3308d0,_0x15346f;typeof _0xfa994d>'u'||(this[_0x14956b(0x15c)]=_0xfa994d,_0xfa994d?(this[_0x14956b(0x3c0)](_0xfa994d),this[_0x14956b(0x1b8)]=_0xfa994d[_0x14956b(0x19d)]['subscribe'](_0x3a6006=>{var _0x58e311=_0x14956b;_0x3a6006['routeKey']===this[_0x58e311(0x287)]&&this[_0x58e311(0x234)](_0x3a6006);})):(this[_0x14956b(0x2db)](),this[_0x14956b(0x231)][_0x14956b(0x283)](0x2),(_0x15346f=this[_0x14956b(0x1b8)])==null||_0x15346f['unsubscribe'](),this[_0x14956b(0x1b8)]=null));}));}get[_0x59b5b4(0x337)](){var _0x2fdc8d=_0x59b5b4;return this[_0x2fdc8d(0x231)]['getValue']();}[_0x59b5b4(0x276)](){var _0x202b57,_0x2996c3;return(_0x2996c3=(_0x202b57=this['_socket'])==null?void 0x0:_0x202b57['memberID'])!=null?_0x2996c3:null;}[_0x59b5b4(0x2b2)](){var _0x1ca33c=_0x59b5b4;super[_0x1ca33c(0x2b2)](),this['dispose$']['next'](),this['dispose$'][_0x1ca33c(0x3eb)]();}[_0x59b5b4(0x145)](){var _0x9b2d60=_0x59b5b4,_0x51c120,_0x359b2;this[_0x9b2d60(0x2db)](),(_0x51c120=this[_0x9b2d60(0x15c)])==null||_0x51c120[_0x9b2d60(0x1d9)]({'cmd':j[_0x9b2d60(0x34a)],'data':{'roomID':this[_0x9b2d60(0x287)]}}),(_0x359b2=this[_0x9b2d60(0x15c)])==null||_0x359b2[_0x9b2d60(0x145)](),this[_0x9b2d60(0x382)][_0x9b2d60(0x3eb)](),this[_0x9b2d60(0x231)]['complete'](),this[_0x9b2d60(0x2b2)]();}[_0x59b5b4(0x234)](_0x354ce6){var _0x5dc5fd=_0x59b5b4;_0x354ce6[_0x5dc5fd(0x3f5)]===j[_0x5dc5fd(0x245)]?this[_0x5dc5fd(0x29b)](_0x354ce6):_0x354ce6['cmd']===j[_0x5dc5fd(0x2f0)]&&this[_0x5dc5fd(0x32f)](_0x354ce6);}[_0x59b5b4(0x3c0)](_0x43171a){var _0x4e1c47=_0x59b5b4;this['_sessionStatus$'][_0x4e1c47(0x283)](0x1),_0x43171a[_0x4e1c47(0x1d9)]({'cmd':j[_0x4e1c47(0x245)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x4e1c47(0x287)]}]}});}[_0x59b5b4(0x29b)](_0x5cc307){var _0x310481=_0x59b5b4,_0x181310;if(_0x5cc307[_0x310481(0x2dd)]in jt){this['_collaborationUIEventService'][_0x310481(0xf1)]({'id':re[_0x310481(0x2da)],'data':jt[_0x5cc307[_0x310481(0x2dd)]]}),this[_0x310481(0x231)][_0x310481(0x283)](0x2);return;}this[_0x310481(0x231)][_0x310481(0x283)](0x3);const _0x1a513c=(_0x181310=_0x5cc307[_0x310481(0x14b)][_0x310481(0x323)][this[_0x310481(0x287)]])==null?void 0x0:_0x181310[_0x310481(0x37d)];_0x1a513c&&_0x1a513c['forEach'](_0x4957fb=>this[_0x310481(0x240)][_0x310481(0x2f3)](this[_0x310481(0x287)],_0x4957fb));}[_0x59b5b4(0x32f)](_0x5621b5){var _0x22762c=_0x59b5b4;try{const _0xd77850=_0x5621b5['data'];switch(_0xd77850[_0x22762c(0x1a4)]){case _0x8199d6[_0x22762c(0x2e0)]:this[_0x22762c(0x113)](_0xd77850),this['_event$'][_0x22762c(0x283)](_0xd77850);break;case _0x8199d6[_0x22762c(0x2d7)]:this[_0x22762c(0x175)](_0xd77850),this[_0x22762c(0x382)][_0x22762c(0x283)](_0xd77850);break;case _0x8199d6[_0x22762c(0x3ee)]:case _0x8199d6[_0x22762c(0x3d8)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x22762c(0x2ae)](),this[_0x22762c(0x382)][_0x22762c(0x283)](_0xd77850);break;case _0x8199d6['MSG_FOR_ERROR']:this[_0x22762c(0x12a)][_0x22762c(0x31e)](_0x22762c(0x3dd)+JSON['stringify'](_0xd77850)),this[_0x22762c(0x382)][_0x22762c(0x283)](_0xd77850);break;case _0x8199d6[_0x22762c(0x16d)]:this[_0x22762c(0x1b3)][_0x22762c(0x35f)](_0xd77850['data']),this[_0x22762c(0x382)][_0x22762c(0x283)](_0xd77850);break;default:this['_event$'][_0x22762c(0x283)](_0xd77850);}}catch(_0x435e7e){this['_logService'][_0x22762c(0x31e)](_0x435e7e,_0x5621b5);}}[_0x59b5b4(0x113)](_0x2da29f){var _0x526899=_0x59b5b4;this[_0x526899(0x240)][_0x526899(0x2f3)](this['_unitID'],_0x2da29f[_0x526899(0x14b)]);}[_0x59b5b4(0x175)](_0x23a9ba){var _0x155185=_0x59b5b4;this[_0x155185(0x240)][_0x155185(0x20e)](this[_0x155185(0x287)],_0x23a9ba[_0x155185(0x14b)]['memberID']);}async[_0x59b5b4(0x1d9)](_0x20a02e,_0x415c9f){var _0x47cf85=_0x59b5b4;if(this[_0x47cf85(0x337)]!==0x3||!this[_0x47cf85(0x15c)])throw new Error(_0x47cf85(0x3f6));try{_0x20a02e[_0x47cf85(0x1a4)]===_0x8199d6[_0x47cf85(0x376)]&&(this[_0x47cf85(0x36b)](),this[_0x47cf85(0x393)](_0x20a02e)),this[_0x47cf85(0x15c)][_0x47cf85(0x1d9)]({'cmd':j[_0x47cf85(0xf2)],'routeKey':_0x415c9f,'routeType':'','data':_0x20a02e});}catch(_0x3dfa64){this[_0x47cf85(0x12a)][_0x47cf85(0x31e)](_0x3dfa64);}}[_0x59b5b4(0x36b)](){var _0x13d17c=_0x59b5b4,_0x3b0a16;this[_0x13d17c(0x29a)]=setTimeout(()=>{var _0x167fc3=_0x13d17c;this[_0x167fc3(0x29a)]=null,this[_0x167fc3(0x3d7)][_0x167fc3(0xf1)]({'id':re[_0x167fc3(0x281)]});},(_0x3b0a16=this[_0x13d17c(0x3b5)]['getConfig'](di))!=null?_0x3b0a16:fi);}[_0x59b5b4(0x2ae)](){var _0x38ffe3=_0x59b5b4;this[_0x38ffe3(0x29a)]&&(clearTimeout(this[_0x38ffe3(0x29a)]),this['_collaborationTimeoutTimer']=null);}[_0x59b5b4(0x393)](_0xe41c4){var _0x3af10a=_0x59b5b4;if(!this[_0x3af10a(0x3e7)])return;const {data:_0x2b2bc4}=_0xe41c4,{unitID:_0x150cbe,changeset:_0x47e2e6}=_0x2b2bc4,{mutations:_0x4adbda,type:_0x44d081}=_0x47e2e6;this[_0x3af10a(0x185)]={'unitId':_0x150cbe,'type':_0x44d081,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':bs(_0x4adbda)};}[_0x59b5b4(0xef)](){var _0x200e5b=_0x59b5b4;if(this[_0x200e5b(0x3e7)]){if(!this[_0x200e5b(0x185)]){this[_0x200e5b(0x12a)][_0x200e5b(0x31e)](_0x200e5b(0xfe),_0x200e5b(0xf8));return;}this[_0x200e5b(0x185)]['stopTime']=performance[_0x200e5b(0x2f5)](),this[_0x200e5b(0x185)][_0x200e5b(0x193)]=this['_telemetryInfo'][_0x200e5b(0x370)]-this[_0x200e5b(0x185)][_0x200e5b(0x367)],this[_0x200e5b(0x241)][_0x200e5b(0x3c1)](Cs,this[_0x200e5b(0x185)]),this['_telemetryInfo']=null;}}[_0x59b5b4(0x2db)](){var _0x296313=_0x59b5b4;this[_0x296313(0x185)]=null;}};mt=Ps([Oe(0x2,_0x41f1d3),Oe(0x3,_0x4cf79c),Oe(0x4,_0x1a58da(Pe)),Oe(0x5,_0x1a58da(pi)),Oe(0x6,_0x1a58da(ve)),Oe(0x7,_0x24a4ee(_0x37d1b0))],mt);const X=_0x4580bc(_0x59b5b4(0x1d1));function br(_0x1a19e1){var _0xc6423=_0x59b5b4;return _0xc6423(0x244)+_0x1a19e1;}var Ls=Object[_0x59b5b4(0x298)],Ms=(_0x2a802e,_0x3581a0,_0x12c34c,_0x317047)=>{for(var _0x7f1e77=_0x317047>0x1?void 0x0:_0x317047?Ls(_0x3581a0,_0x12c34c):_0x3581a0,_0x304450=_0x2a802e['length']-0x1,_0x21fa19;_0x304450>=0x0;_0x304450--)(_0x21fa19=_0x2a802e[_0x304450])&&(_0x7f1e77=_0x21fa19(_0x7f1e77)||_0x7f1e77);return _0x7f1e77;},ut=(_0xdda24f,_0x11e754)=>(_0x338359,_0x15bd7b)=>_0x11e754(_0x338359,_0x15bd7b,_0xdda24f);function ws(_0x31ed9b){var _0x17addb=_0x59b5b4;const {unitID:_0x333855,mutations:_0x47b7c0}=_0x31ed9b;return{'unitId':_0x333855,'subUnitId':_0x47b7c0[_0x17addb(0x1c0)]>0x0?_0x47b7c0[0x0][_0x17addb(0x346)][_0x17addb(0x1f8)]:null};}let it=class{constructor(_0x365bca,_0x59efcf,_0x5cfdcc){var _0x592a10=_0x59b5b4;this[_0x592a10(0x160)]=_0x365bca,this[_0x592a10(0x39f)]=_0x59efcf,this[_0x592a10(0x2e2)]=_0x5cfdcc;}[_0x59b5b4(0x2b7)](_0x1f1483){var _0x382e2a=_0x59b5b4,_0xcd7444,_0x426835,_0x5bba72,_0x917be0;const _0x89ed55=this[_0x382e2a(0x160)]['get'](_0xf9d02),{unitId:_0x1d37f5,subUnitId:_0x36bcd0}=ws(_0x1f1483),_0x4c9815=_0x89ed55==null?void 0x0:_0x89ed55[_0x382e2a(0x218)](_0x1d37f5)[_0x382e2a(0x1c8)](),_0x1878df=(_0x426835=(_0xcd7444=this[_0x382e2a(0x2e2)][_0x382e2a(0x328)](_0x1d37f5))==null?void 0x0:_0xcd7444['getActiveSheet']())==null?void 0x0:_0x426835[_0x382e2a(0x397)]();if(_0x4c9815[_0x382e2a(0x1c0)]===0x0||!_0x1d37f5||!_0x36bcd0)return;const _0x207fed=[{'id':_0x294701['id'],'params':{'unitId':_0x1d37f5,'subUnitId':_0x1878df,'selections':_0x2582c5[_0x382e2a(0x121)](_0x4c9815)}}],_0x2df2f0=this[_0x382e2a(0x39f)][_0x382e2a(0x38e)](_0x1f1483,_0x207fed);if(!_0x108311(_0x2df2f0))throw _0x2df2f0[_0x382e2a(0x31e)];const _0xdae656=(_0x917be0=(_0x5bba72=_0x2df2f0[_0x382e2a(0x274)][0x0])==null?void 0x0:_0x5bba72[_0x382e2a(0x346)])==null?void 0x0:_0x917be0[_0x382e2a(0x29e)];if(Array[_0x382e2a(0x226)](_0xdae656)&&_0xdae656['length']){if(_0xdae656['length']===_0x207fed[0x0][_0x382e2a(0x346)]['selections'][_0x382e2a(0x1c0)]&&_0xdae656[_0x382e2a(0x181)]((_0x138db3,_0x408319)=>_0x48a3cf['equals'](_0x138db3[_0x382e2a(0x31a)],_0x207fed[0x0][_0x382e2a(0x346)][_0x382e2a(0x29e)][_0x408319]['range'])))return;this['_injector'][_0x382e2a(0x21f)](_0x48e048)[_0x382e2a(0x3a5)](_0x294701['id'],{'unitId':_0x1d37f5,'subUnitId':_0x1878df,'selections':_0xdae656});}}};it=Ms([ut(0x0,_0x1a58da(_0x304bd2)),ut(0x1,_0x39ca4e),ut(0x2,_0x33b121)],it);const _t=_0x4580bc(_0x59b5b4(0x172));var mi=(_0x97b893=>(_0x97b893[_0x97b893[_0x59b5b4(0x111)]=0x0]=_0x59b5b4(0x111),_0x97b893[_0x97b893[_0x59b5b4(0x374)]=0x1]='OTHER_CLIENTS_EDITING',_0x97b893))(mi||{});const K=_0x59b5b4(0x24d),xs={};function ks(_0x52c6dd){var _0x336a50=_0x59b5b4,_0xf608f5;return!!((_0xf608f5=_0x52c6dd[_0x336a50(0x346)])!=null&&_0xf608f5[_0x336a50(0x26b)]);}const $s=new Set([_0x4a567d['id']]);function Vt(_0x348e22,_0x4631ed,_0x564bd6,_0x4bda45,_0x7bc15){var _0x10f196=_0x59b5b4,_0x113364,_0x52641a,_0x5d69a7,_0x276640;const _0x3bdc4e=[];for(const _0x9ee691 of _0x348e22){if($s[_0x10f196(0x227)](_0x9ee691['id'])){if(_0x3bdc4e[_0x10f196(0x1c0)]>0x0)break;_0x3bdc4e[_0x10f196(0x2c8)](_0x9ee691);break;}if(ks(_0x9ee691)){if(_0x3bdc4e[_0x10f196(0x1c0)]>0x0)break;_0x3bdc4e[_0x10f196(0x2c8)](_0x9ee691);break;}_0x3bdc4e[_0x10f196(0x2c8)](_0x9ee691);}const _0x18a193=(_0x52641a=(_0x113364=_0x7bc15[_0x10f196(0x137)]())==null?void 0x0:_0x113364[_0x10f196(0x182)])!=null?_0x52641a:_0x10f196(0x243),_0x87ba9f=(_0x276640=(_0x5d69a7=_0x7bc15[_0x10f196(0x137)]())==null?void 0x0:_0x5d69a7[_0x10f196(0x1c4)])!=null?_0x276640:'unknown';return{'changeset':{'unitID':_0x4631ed,'type':_0x135600(_0x564bd6['getUnitType'](_0x4631ed)),'baseRev':_0x4bda45[_0x10f196(0x26c)](_0x4631ed),'revision':0x0,'userID':_0x18a193,'memberID':_0x87ba9f,'mutations':_0x3bdc4e},'pendingMutations':_0x348e22['slice'](_0x3bdc4e[_0x10f196(0x1c0)])};}function Hs(_0x528a66,_0x322fb1,_0x15bec0,_0x2ba439,_0x95026){var _0x26a4b7=_0x59b5b4,_0x2b8ca3,_0xb0c5da,_0x3215bc,_0x8b9e33;const _0x207a40=[_0x528a66[_0x26a4b7(0x194)]((_0x227de4,_0x1be26b)=>{var _0x35335d=_0x26a4b7,_0x3f66ca;const {id:_0xc6d1d5}=_0x227de4,{id:_0x21733d,type:_0x56839c}=_0x1be26b,_0x438cb2=(_0x3f66ca=_0x227de4[_0x35335d(0x346)])!=null?_0x3f66ca:{'actions':null},_0x5ffd63=_0x1be26b[_0x35335d(0x346)];if(_0xc6d1d5&&_0xc6d1d5!==_0x21733d)throw new Error(_0x35335d(0x332)+_0xc6d1d5+_0x35335d(0x3a0)+_0x21733d+'.');return{..._0x227de4,'id':_0x21733d,'type':_0x56839c,'params':{'unitId':_0x5ffd63['unitId'],'textRanges':_0x5ffd63[_0x35335d(0x246)],'actions':_0x28463c['compose'](_0x438cb2[_0x35335d(0x278)],_0x5ffd63['actions'])}};},{})],_0x4a10de=(_0xb0c5da=(_0x2b8ca3=_0x95026[_0x26a4b7(0x137)]())==null?void 0x0:_0x2b8ca3[_0x26a4b7(0x182)])!=null?_0xb0c5da:_0x26a4b7(0x243),_0x2a07ed=(_0x8b9e33=(_0x3215bc=_0x95026[_0x26a4b7(0x137)]())==null?void 0x0:_0x3215bc[_0x26a4b7(0x1c4)])!=null?_0x8b9e33:_0x26a4b7(0x243);return{'changeset':{'unitID':_0x322fb1,'type':_0x135600(_0x15bec0[_0x26a4b7(0x31f)](_0x322fb1)),'baseRev':_0x2ba439[_0x26a4b7(0x26c)](_0x322fb1),'revision':0x0,'userID':_0x4a10de,'memberID':_0x2a07ed,'mutations':_0x207a40},'pendingMutations':[]};}function Ii(_0x2ea6de,_0x15cb34){var _0x3f942f=_0x59b5b4;const _0x4a6569=new _0x4e32ce(0x1);return setTimeout(()=>_0x4a6569[_0x3f942f(0x283)](_0x15cb34),_0x2ea6de),_0x4a6569[_0x3f942f(0x15a)]()[_0x3f942f(0x3fe)](_0x505bf8(0x1));}var Bs=Object[_0x59b5b4(0x298)],Se=(_0x2b0757,_0x50f963,_0x2fadda,_0x470e35)=>{var _0x3f1c42=_0x59b5b4;for(var _0x411966=_0x470e35>0x1?void 0x0:_0x470e35?Bs(_0x50f963,_0x2fadda):_0x50f963,_0x17b8a7=_0x2b0757[_0x3f1c42(0x1c0)]-0x1,_0x2086d7;_0x17b8a7>=0x0;_0x17b8a7--)(_0x2086d7=_0x2b0757[_0x17b8a7])&&(_0x411966=_0x2086d7(_0x411966)||_0x411966);return _0x411966;},L=(_0x31c188,_0x272e37)=>(_0x4ed7ad,_0x48e6d4)=>_0x272e37(_0x4ed7ad,_0x48e6d4,_0x31c188),Si=(_0x42f36f=>(_0x42f36f[_0x59b5b4(0x330)]=_0x59b5b4(0x224),_0x42f36f[_0x59b5b4(0x16e)]=_0x59b5b4(0x28d),_0x42f36f[_0x59b5b4(0x36d)]=_0x59b5b4(0x303),_0x42f36f['AWAITING']=_0x59b5b4(0x362),_0x42f36f['AWAITING_WITH_PENDING']=_0x59b5b4(0x22d),_0x42f36f[_0x59b5b4(0x1d2)]=_0x59b5b4(0x365),_0x42f36f['CONFLICT']=_0x59b5b4(0x1b0),_0x42f36f[_0x59b5b4(0x1d3)]=_0x59b5b4(0x3e3),_0x42f36f))(Si||{});const gi=0x4e20,Ti=0x2bf20;class ge{constructor(_0xd11822,_0x336c62,_0x5544fe,_0x59725a,_0x1c237b,_0x1d1170,_0x345945,_0x35d63b,_0x185556){var _0x52e679=_0x59b5b4;D(this,_0x52e679(0x13d),null),D(this,'_pendingMutations',[]),(this[_0x52e679(0x266)]=_0xd11822,this[_0x52e679(0x331)]=_0x336c62,this['_handler']=_0x1c237b,this['_commandService']=_0x1d1170,this['_undoRedoService']=_0x345945,this[_0x52e679(0x364)]=_0x35d63b,this[_0x52e679(0x22e)]=_0x185556,this[_0x52e679(0x13d)]=_0x5544fe,this[_0x52e679(0x275)]=_0x59725a);}[_0x59b5b4(0x200)](_0x32bb6f){var _0x38537c=_0x59b5b4;const _0x59e691=this[_0x38537c(0x364)][_0x38537c(0x26c)](this[_0x38537c(0x266)]);return _0x32bb6f[_0x38537c(0x190)]>_0x59e691+0x1?(this[_0x38537c(0x383)][_0x38537c(0x123)]({'from':_0x59e691,'to':_0x32bb6f[_0x38537c(0x190)]-0x1}),!0x0):!0x1;}[_0x59b5b4(0x306)](_0x599d58){var _0x482d79=_0x59b5b4;this[_0x482d79(0x304)][_0x482d79(0x210)](this[_0x482d79(0x266)],_0x599d58);}[_0x59b5b4(0x219)](_0x1aaa6c){var _0x5cfa06=_0x59b5b4,_0xdda65f,_0x12bcf1;(_0x12bcf1=(_0xdda65f=this['_handler'])['onTransformSelections'])==null||_0x12bcf1[_0x5cfa06(0x1e1)](_0xdda65f,_0x1aaa6c);}[_0x59b5b4(0x3ff)](_0x32282e){var _0x5a4dd6=_0x59b5b4,_0x152401,_0x7abb88;return(_0x7abb88=(_0x152401=this[_0x5a4dd6(0x383)])[_0x5a4dd6(0x207)])==null?void 0x0:_0x7abb88[_0x5a4dd6(0x1e1)](_0x152401,_0x32282e);}[_0x59b5b4(0x254)](_0x5705b6){var _0x40dcbc=_0x59b5b4,_0x4ebdf0,_0x4c5c8f;return(_0x4c5c8f=(_0x4ebdf0=this[_0x40dcbc(0x383)])[_0x40dcbc(0x1ab)])==null?void 0x0:_0x4c5c8f[_0x40dcbc(0x1e1)](_0x4ebdf0,_0x5705b6);}[_0x59b5b4(0x188)](_0x1ef0bf){var _0xfbc56c=_0x59b5b4,_0xd64dfb,_0x1ee6a6,_0x6ba94f;return(_0x6ba94f=(_0x1ee6a6=(_0xd64dfb=this[_0xfbc56c(0x383)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x1ee6a6[_0xfbc56c(0x1e1)](_0xd64dfb,_0x1ef0bf))!=null?_0x6ba94f:_0x1ef0bf;}[_0x59b5b4(0x1d7)](_0x4f7102){var _0x1ba1dc=_0x59b5b4,_0x57b06f,_0x30efcf,_0x46808f;return(_0x46808f=(_0x30efcf=(_0x57b06f=this[_0x1ba1dc(0x383)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x30efcf[_0x1ba1dc(0x1e1)](_0x57b06f,_0x4f7102))!=null?_0x46808f:_0x4f7102;}[_0x59b5b4(0x355)](_0x3a4be5){var _0x507cdd=_0x59b5b4,_0x1607d6,_0x4e21f3;if(this['type']===Q[_0x507cdd(0x33f)]){const {unitID:_0x54ef3a,mutations:_0x14039b,memberID:_0x55f3ec}=_0x3a4be5,_0x175890=_0x14039b[_0x507cdd(0x1c0)]>0x0?_0x14039b[0x0]['params']['textRanges']:[];Array['isArray'](_0x175890)&&_0x175890[_0x507cdd(0x1c0)]>0x0&&((_0x4e21f3=(_0x1607d6=this[_0x507cdd(0x383)])[_0x507cdd(0x1bb)])==null||_0x4e21f3['call'](_0x1607d6,{'unitID':_0x54ef3a,'memberID':_0x55f3ec,'textRanges':_0x175890}));}}[_0x59b5b4(0x1f7)](){var _0x42246a=_0x59b5b4,_0x17f69e;(_0x17f69e=this[_0x42246a(0x22e)])==null||_0x17f69e[_0x42246a(0x350)](this[_0x42246a(0x266)],this[_0x42246a(0x331)],this[_0x42246a(0x13d)],this['_pendingMutations']);}[_0x59b5b4(0x35a)](){var _0x43da80=_0x59b5b4;return this[_0x43da80(0x364)][_0x43da80(0x26c)](this[_0x43da80(0x266)]);}[_0x59b5b4(0x307)](){var _0x2803e3=_0x59b5b4;this[_0x2803e3(0x364)]['incrementRevOfUnit'](this[_0x2803e3(0x266)]);}[_0x59b5b4(0x183)](_0x26bdf8){var _0x46d36a=_0x59b5b4,_0x3b1a20;let _0x791ea4=this['_transformRemoteChangesetByIMECache'](_0x26bdf8);_0x791ea4=this['_transformRemoteChangesetByStateCache'](_0x791ea4);const _0x2726dd=_0x4cf03a(_0x791ea4[_0x46d36a(0x30e)],this[_0x46d36a(0x36f)],{'fromCollab':!0x0});if(!_0x2726dd[_0x46d36a(0x1ef)])throw _0x2726dd['error']instanceof Error?_0x2726dd[_0x46d36a(0x31e)]:new Error((_0x3b1a20=_0x2726dd[_0x46d36a(0x31e)])!=null?_0x3b1a20:_0x46d36a(0x2ad));this[_0x46d36a(0x3ff)](_0x791ea4),this[_0x46d36a(0x254)](_0x791ea4),this[_0x46d36a(0x306)](_0x26bdf8),this[_0x46d36a(0x219)](_0x791ea4),this[_0x46d36a(0x355)](_0x791ea4),this[_0x46d36a(0x307)]();}}let be=class extends ge{constructor(_0x511b55,_0x4c4b35,_0x214c66,_0x52c559,_0xb52aa0,_0x31bd45,_0x1f3d6f,_0x813f0d,_0x4b92b9,_0x2a9ed4){var _0x5d85a3=_0x59b5b4;super(_0x511b55,_0x4c4b35,null,[],_0x214c66,_0x1f3d6f,_0x31bd45,_0x52c559,_0x2a9ed4),D(this,_0x5d85a3(0x389),_0x5d85a3(0x28d)),(this['_injector']=_0xb52aa0,this[_0x5d85a3(0x12a)]=_0x813f0d,this[_0x5d85a3(0x39f)]=_0x4b92b9,this['localCacheService']=_0x2a9ed4);}[_0x59b5b4(0x3ba)](_0x284e44){var _0x6a823c=_0x59b5b4;const _0x2da257=this['_injector']['createInstance'](ae,this['unitID'],this['type'],[_0x284e44],this[_0x6a823c(0x383)]);return _0x2da257['_schedule'](),_0x2da257[_0x6a823c(0x1f7)](),_0x2da257;}[_0x59b5b4(0x135)](_0x59d5d2){var _0x54c193=_0x59b5b4;if(this['_checkMissing'](_0x59d5d2))return this[_0x54c193(0x160)][_0x54c193(0x28a)](ee,this['unitID'],this[_0x54c193(0x331)],null,[],null,[_0x59d5d2],this[_0x54c193(0x383)]);try{const _0x588fc8=this['_transformService'][_0x54c193(0x38e)](_0x59d5d2,[_0x48bad8]);if(_0x108311(_0x588fc8)){const {c1Prime:_0x399bbb}=_0x588fc8;return this[_0x54c193(0x183)](_0x399bbb),this;}throw _0x588fc8[_0x54c193(0x31e)];}catch(_0x51c709){return this[_0x54c193(0x12a)]['error'](_0x51c709),this[_0x54c193(0x23b)](!0x1);}}[_0x59b5b4(0x23b)](_0x53b36a){var _0x560e16=_0x59b5b4;return this['_injector']['createInstance'](ue,this[_0x560e16(0x266)],this['type'],null,[],this[_0x560e16(0x383)],_0x53b36a);}[_0x59b5b4(0x178)](){var _0x264ae4=_0x59b5b4;throw new Error(_0x264ae4(0x2e7));}[_0x59b5b4(0x13a)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x59b5b4(0x366)](){return this;}[_0x59b5b4(0x322)](){var _0x44682f=_0x59b5b4;return this[_0x44682f(0x160)]['createInstance'](de,this[_0x44682f(0x266)],this[_0x44682f(0x331)],null,[],this[_0x44682f(0x383)]);}['toggleOnline'](){return this;}[_0x59b5b4(0x30d)](){var _0x5a2e73=_0x59b5b4;throw new Error(_0x5a2e73(0xe5));}['fetchMiss'](){var _0x4768c5=_0x59b5b4;const _0x317ba2=this[_0x4768c5(0x364)][_0x4768c5(0x26c)](this[_0x4768c5(0x266)]);return this[_0x4768c5(0x383)][_0x4768c5(0x123)]({'from':_0x317ba2,'to':0x0}),this[_0x4768c5(0x160)][_0x4768c5(0x28a)](ee,this[_0x4768c5(0x266)],this['type'],null,[],null,[],this[_0x4768c5(0x383)]);}};be=Se([L(0x3,_0x1a58da(_0x2aa1c4)),L(0x4,_0x1a58da(_0x304bd2)),L(0x5,_0x4c7a7f),L(0x6,_0x48e048),L(0x7,_0x41f1d3),L(0x8,_0x39ca4e),L(0x9,_0x24a4ee(X))],be);let ae=class extends ge{constructor(_0x4374ed,_0x5f224b,_0x36c1ef,_0x33e8aa,_0x589e7c,_0x5c0103,_0x1b76da,_0x209e11,_0x4e02b5,_0x2c5a32,_0x472594,_0x303b5d,_0x467f4b,_0x422120){var _0x370166=_0x59b5b4;super(_0x4374ed,_0x5f224b,null,_0x36c1ef,_0x33e8aa,_0x4e02b5,_0x467f4b,_0x5c0103,_0x422120),D(this,_0x370166(0x389),'pending'),D(this,'_scheduleCompleteTimestamp',null),D(this,'_sendingTimer',null),(this[_0x370166(0x160)]=_0x589e7c,this[_0x370166(0x240)]=_0x1b76da,this['_logService']=_0x209e11,this[_0x370166(0x3b5)]=_0x2c5a32,this[_0x370166(0x39f)]=_0x472594,this[_0x370166(0xfa)]=_0x303b5d);}[_0x59b5b4(0x3ba)](_0x1eab50){var _0x29da98=_0x59b5b4;return this['_pendingMutations'][_0x29da98(0x2c8)](_0x1eab50),this[_0x29da98(0x1f7)](),this;}[_0x59b5b4(0x135)](_0x734dc9){var _0x3c339b=_0x59b5b4;if(this[_0x3c339b(0x200)](_0x734dc9))return this[_0x3c339b(0x2ca)](),this['_injector'][_0x3c339b(0x28a)](ee,this[_0x3c339b(0x266)],this['type'],null,this['_pendingMutations'],null,[_0x734dc9],this[_0x3c339b(0x383)]);try{const _0xa88f62=this[_0x3c339b(0x39f)]['transformMutationsWithChangeset'](_0x734dc9,this[_0x3c339b(0x275)]);if(_0x108311(_0xa88f62)){const {c1Prime:_0x1ba723,m2Prime:_0x453e0c}=_0xa88f62;this[_0x3c339b(0x183)](_0x1ba723);const _0x83a699=this[_0x3c339b(0x160)][_0x3c339b(0x28a)](ae,this[_0x3c339b(0x266)],this[_0x3c339b(0x331)],_0x453e0c,this[_0x3c339b(0x383)]);this['_clearScheduledTask']();const _0x263d55=new Date()['getTime'](),_0x234daa=this[_0x3c339b(0x1ae)]?Math['max'](this[_0x3c339b(0x1ae)]-_0x263d55,0x0):this[_0x3c339b(0x1f9)]();return _0x83a699['_schedule'](_0x234daa),_0x83a699;}throw _0xa88f62[_0x3c339b(0x31e)];}catch(_0x15aa08){return this[_0x3c339b(0x12a)][_0x3c339b(0x31e)](_0x15aa08),this[_0x3c339b(0x23b)](!0x1);}}[_0x59b5b4(0x178)](){var _0x11b365=_0x59b5b4;throw new Error(_0x11b365(0x1e8));}['onRemoteRej'](){var _0x465e98=_0x59b5b4;throw new Error(_0x465e98(0x2ac));}[_0x59b5b4(0x366)](){return this;}['toggleOffline'](){var _0xfbae80=_0x59b5b4;return this[_0xfbae80(0x2ca)](),this['_injector']['createInstance'](de,this[_0xfbae80(0x266)],this['type'],null,this[_0xfbae80(0x275)],this['_handler']);}[_0x59b5b4(0x33a)](){return this;}[_0x59b5b4(0x3b7)](_0x3c9276){var _0x1927e8=_0x59b5b4;const _0x5c8931=_0x3c9276!=null?_0x3c9276:this['_getSendChangesetTimeout']();this[_0x1927e8(0x1ae)]=new Date()[_0x1927e8(0x106)]()+_0x5c8931,this[_0x1927e8(0x201)]=setTimeout(()=>{var _0x5ed27d=_0x1927e8;this[_0x5ed27d(0x2ca)]();let _0x2f0766=null;switch(this[_0x5ed27d(0x331)]){case Q['UNIVER_SHEET']:{_0x2f0766=Vt(this[_0x5ed27d(0x275)],this[_0x5ed27d(0x266)],this[_0x5ed27d(0xfa)],this[_0x5ed27d(0x364)],this[_0x5ed27d(0x240)]);break;}case Q[_0x5ed27d(0x33f)]:{this[_0x5ed27d(0x275)]['every'](_0x3fc505=>_0x3fc505['id']===_0x27e980['id'])?_0x2f0766=Hs(this[_0x5ed27d(0x275)],this[_0x5ed27d(0x266)],this[_0x5ed27d(0xfa)],this[_0x5ed27d(0x364)],this[_0x5ed27d(0x240)]):_0x2f0766=Vt(this[_0x5ed27d(0x275)],this[_0x5ed27d(0x266)],this['_univerInstanceService'],this[_0x5ed27d(0x364)],this[_0x5ed27d(0x240)]);break;}default:throw new Error(_0x5ed27d(0xf3)+this[_0x5ed27d(0x331)]+'\x20in\x20_schedule.');}const {changeset:_0x10de0d,pendingMutations:_0x215c8a}=_0x2f0766;this[_0x5ed27d(0x383)][_0x5ed27d(0x250)](_0x10de0d);const _0x54a12f=_0x215c8a[_0x5ed27d(0x1c0)]?this[_0x5ed27d(0x160)][_0x5ed27d(0x28a)](oe,this['unitID'],this['type'],_0x10de0d,_0x215c8a,this[_0x5ed27d(0x383)],void 0x0):this[_0x5ed27d(0x160)][_0x5ed27d(0x28a)](le,this[_0x5ed27d(0x266)],this[_0x5ed27d(0x331)],_0x10de0d,this[_0x5ed27d(0x383)]);_0x54a12f[_0x5ed27d(0x1f7)](),this['_handler'][_0x5ed27d(0x216)](this,_0x54a12f);},_0x5c8931);}[_0x59b5b4(0x1f9)](){var _0x53a5a9=_0x59b5b4,_0x1b6f9a;const _0xf77b51=this[_0x53a5a9(0x3b5)]['getConfig'](K);return(_0x1b6f9a=_0xf77b51==null?void 0x0:_0xf77b51[_0x53a5a9(0x3b8)])!=null?_0x1b6f9a:ps;}[_0x59b5b4(0x30d)](){var _0x27f8ec=_0x59b5b4;throw new Error(_0x27f8ec(0x2d4));}[_0x59b5b4(0x2ca)](){var _0x36a23b=_0x59b5b4;this[_0x36a23b(0x201)]!=null&&(clearTimeout(this[_0x36a23b(0x201)]),this[_0x36a23b(0x201)]=null);}[_0x59b5b4(0x23b)](_0x1ea3eb){var _0x258017=_0x59b5b4;return this[_0x258017(0x2ca)](),this[_0x258017(0x160)][_0x258017(0x28a)](ue,this[_0x258017(0x266)],this['type'],null,this[_0x258017(0x275)],this[_0x258017(0x383)],_0x1ea3eb);}};ae=Se([L(0x4,_0x1a58da(_0x304bd2)),L(0x5,_0x1a58da(_0x2aa1c4)),L(0x6,_0x1a58da(Pe)),L(0x7,_0x41f1d3),L(0x8,_0x48e048),L(0x9,_0x4cf79c),L(0xa,_0x39ca4e),L(0xb,_0x33b121),L(0xc,_0x4c7a7f),L(0xd,_0x24a4ee(X))],ae);let le=class extends ge{constructor(_0x41b20d,_0x54860f,_0x4b27d4,_0x3af661,_0x274449,_0x4deb0f,_0x47c288,_0xf067fa,_0x364cea,_0xc9be71,_0x4d9c8d){var _0x529495=_0x59b5b4;super(_0x41b20d,_0x54860f,_0x4b27d4,[],_0x3af661,_0x47c288,_0xc9be71,_0x4deb0f,_0x4d9c8d),D(this,_0x529495(0x389),'awaiting'),D(this,_0x529495(0x317),0x0),D(this,'_maxTotalRetryTimeout',0x0),D(this,'_resendTimer'),D(this,'_sender'),(this[_0x529495(0x160)]=_0x274449,this['_logService']=_0xf067fa,this[_0x529495(0x39f)]=_0x364cea);}['appendMutation'](_0x29e009){var _0x4449f1=_0x59b5b4;this['_clearScheduledTask']();const _0x25ccbe=this[_0x4449f1(0x160)][_0x4449f1(0x28a)](oe,this[_0x4449f1(0x266)],this[_0x4449f1(0x331)],this[_0x4449f1(0x13d)],[_0x29e009],this[_0x4449f1(0x383)],this['_resendTimer']);return _0x25ccbe['_updateLocalCache'](),_0x25ccbe;}['onRemoteChangeset'](_0x7cc482){var _0x44bc42=_0x59b5b4;if(this[_0x44bc42(0x200)](_0x7cc482))return this[_0x44bc42(0x2ca)](),this[_0x44bc42(0x160)][_0x44bc42(0x28a)](ee,this[_0x44bc42(0x266)],this[_0x44bc42(0x331)],this['_awaitingChangeset'],[],null,[_0x7cc482],this[_0x44bc42(0x383)]);try{const _0x552c67=this[_0x44bc42(0x39f)][_0x44bc42(0x2b9)]([_0x7cc482],[this['_awaitingChangeset']],!0x1);if(_0x810ab5(_0x552c67)){const {c1Prime:_0x5be639,c2Prime:_0x5850f6}=_0x552c67;this[_0x44bc42(0x183)](_0x5be639[0x0]),_0x5850f6[0x0][_0x44bc42(0x2dc)]=this[_0x44bc42(0x35a)](),this[_0x44bc42(0x2ca)]();const _0x171000=this[_0x44bc42(0x160)]['createInstance'](le,this[_0x44bc42(0x266)],this['type'],_0x5850f6[0x0],this['_handler']);return _0x171000[_0x44bc42(0x1f7)](),_0x171000;}return this[_0x44bc42(0x23b)](!0x1);}catch(_0x5b9b01){return this[_0x44bc42(0x12a)][_0x44bc42(0x31e)](_0x5b9b01),this[_0x44bc42(0x23b)](!0x1);}}[_0x59b5b4(0x178)](_0x29b8dc){var _0x1f32f3=_0x59b5b4;this['_clearScheduledTask']();const _0x357b35=this[_0x1f32f3(0x364)][_0x1f32f3(0x26c)](this[_0x1f32f3(0x266)]);if(_0x29b8dc[_0x1f32f3(0x190)]<_0x357b35-0x1)return this;if(this[_0x1f32f3(0x200)](_0x29b8dc))return this[_0x1f32f3(0x160)][_0x1f32f3(0x28a)](ee,this['unitID'],this['type'],null,[],this[_0x1f32f3(0x13d)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x33a135=this[_0x1f32f3(0x160)]['createInstance'](be,this[_0x1f32f3(0x266)],this['type'],this[_0x1f32f3(0x383)]);return _0x33a135[_0x1f32f3(0x1f7)](),_0x33a135;}[_0x59b5b4(0x13a)](_0x1eb561){var _0x566ca6=_0x59b5b4;return this[_0x566ca6(0x23b)](!!(_0x1eb561!=null&&_0x1eb561[_0x566ca6(0x325)]));}['onRemoteRetry'](_0x530ebc){var _0x4bb5c3=_0x59b5b4;return this[_0x4bb5c3(0x1dd)]>Ti?this[_0x4bb5c3(0x322)]():(this['_resendTimer']=Ii(this[_0x4bb5c3(0x317)],{'timeout':this[_0x4bb5c3(0x317)],'reqId':_0x530ebc['reqId']}),this[_0x4bb5c3(0x1fa)]=this['_resendTimer'][_0x4bb5c3(0x326)](({reqId:_0x19a9f0,timeout:_0x522be3})=>{var _0x68aff=_0x4bb5c3;this[_0x68aff(0x215)](_0x19a9f0,_0x522be3);}),this);}[_0x59b5b4(0x322)](){var _0x326c97=_0x59b5b4;return this[_0x326c97(0x2ca)](),this[_0x326c97(0x160)][_0x326c97(0x28a)](de,this[_0x326c97(0x266)],this[_0x326c97(0x331)],this['_awaitingChangeset'],[],this['_handler']);}[_0x59b5b4(0x33a)](){return this;}[_0x59b5b4(0x30d)](){var _0x4da345=_0x59b5b4;this[_0x4da345(0x383)]['onSendChangeset'](this[_0x4da345(0x13d)]);}[_0x59b5b4(0x23b)](_0x5ec34b){var _0x5608e3=_0x59b5b4;return this[_0x5608e3(0x2ca)](),this[_0x5608e3(0x160)][_0x5608e3(0x28a)](ue,this[_0x5608e3(0x266)],this[_0x5608e3(0x331)],this['_awaitingChangeset'],[],this[_0x5608e3(0x383)],_0x5ec34b);}[_0x59b5b4(0x215)](_0x3c4090,_0x4c8bd0){var _0x1c7c77=_0x59b5b4,_0x4a8214;_0x3c4090===((_0x4a8214=this[_0x1c7c77(0x13d)])==null?void 0x0:_0x4a8214[_0x1c7c77(0x12f)])&&(this[_0x1c7c77(0x30d)](),this[_0x1c7c77(0x317)]=_0x4c8bd0===0x0?0x3e8:Math['min'](_0x4c8bd0*0x2,gi),this[_0x1c7c77(0x1dd)]+=this[_0x1c7c77(0x317)]);}['_clearScheduledTask'](){var _0x1f30a8=_0x59b5b4,_0x43d38b;(_0x43d38b=this[_0x1f30a8(0x1fa)])==null||_0x43d38b['unsubscribe'](),this[_0x1f30a8(0x317)]=0x0,this['_maxTotalRetryTimeout']=0x0;}};le=Se([L(0x4,_0x1a58da(_0x304bd2)),L(0x5,_0x1a58da(_0x2aa1c4)),L(0x6,_0x48e048),L(0x7,_0x41f1d3),L(0x8,_0x39ca4e),L(0x9,_0x4c7a7f),L(0xa,_0x24a4ee(X))],le);let oe=class extends ge{constructor(_0xc07ef4,_0x2fc964,_0x173c1a,_0x6695a5,_0x43c12f,_0x9727f7,_0x4b4c12,_0x3895ef,_0x3b0791,_0x3e8d41,_0x28cca8,_0x336933,_0x20bf16){var _0x24f7f5=_0x59b5b4;super(_0xc07ef4,_0x2fc964,_0x173c1a,_0x6695a5,_0x43c12f,_0x3b0791,_0x336933,_0x3895ef,_0x20bf16),D(this,_0x24f7f5(0x389),_0x24f7f5(0x22d)),D(this,'_resendTimeout',0x0),D(this,_0x24f7f5(0x1dd),0x0),D(this,_0x24f7f5(0x10e)),D(this,_0x24f7f5(0x1fa)),(this[_0x24f7f5(0x160)]=_0x4b4c12,this[_0x24f7f5(0x12a)]=_0x3e8d41,this[_0x24f7f5(0x39f)]=_0x28cca8,this[_0x24f7f5(0x2e9)]=_0x20bf16,_0x9727f7&&(this[_0x24f7f5(0x10e)]=_0x9727f7,this[_0x24f7f5(0x1fa)]=this[_0x24f7f5(0x10e)][_0x24f7f5(0x326)](({reqId:_0x3d7e98,timeout:_0x3d85c0})=>{var _0x5c5ea2=_0x24f7f5;this[_0x5c5ea2(0x215)](_0x3d7e98,_0x3d85c0);})));}[_0x59b5b4(0x3ba)](_0x25df99){var _0x11eef6=_0x59b5b4;return this[_0x11eef6(0x275)][_0x11eef6(0x2c8)](_0x25df99),this;}[_0x59b5b4(0x135)](_0x482edd){var _0x1f03d6=_0x59b5b4;if(this[_0x1f03d6(0x200)](_0x482edd))return this[_0x1f03d6(0x2ca)](),this[_0x1f03d6(0x160)]['createInstance'](ee,this[_0x1f03d6(0x266)],this[_0x1f03d6(0x331)],this[_0x1f03d6(0x13d)],this[_0x1f03d6(0x275)],null,[_0x482edd],this[_0x1f03d6(0x383)]);try{const _0x518837=this['_transformService'][_0x1f03d6(0x2b9)]([_0x482edd],[this[_0x1f03d6(0x13d)]],!0x1);if(_0x810ab5(_0x518837)){const {c1Prime:_0xd35059,c2Prime:_0x40b4c9}=_0x518837,_0x24de9a=this[_0x1f03d6(0x39f)][_0x1f03d6(0x38e)](_0xd35059[0x0],this[_0x1f03d6(0x275)]);if(_0x108311(_0x24de9a)){const {c1Prime:_0x17713d,m2Prime:_0x1e0e7e}=_0x24de9a;return this['_executeRemoteChangeset'](_0x17713d),_0x40b4c9[0x0]['baseRev']=this[_0x1f03d6(0x35a)](),this[_0x1f03d6(0x2ca)](),this[_0x1f03d6(0x160)][_0x1f03d6(0x28a)](oe,this['unitID'],this[_0x1f03d6(0x331)],_0x40b4c9[0x0],_0x1e0e7e,this['_handler'],void 0x0);}throw _0x24de9a[_0x1f03d6(0x31e)];}throw _0x518837[_0x1f03d6(0x31e)];}catch(_0xcec0d){return this['_logService'][_0x1f03d6(0x31e)](_0xcec0d),this[_0x1f03d6(0x23b)](!0x1);}}[_0x59b5b4(0x178)](_0x1ad056){var _0x5d39da=_0x59b5b4;if(this[_0x5d39da(0x2ca)](),this[_0x5d39da(0x200)](_0x1ad056))return this['_injector'][_0x5d39da(0x28a)](ee,this[_0x5d39da(0x266)],this[_0x5d39da(0x331)],null,this[_0x5d39da(0x275)],this[_0x5d39da(0x13d)],[],this[_0x5d39da(0x383)]);this[_0x5d39da(0x307)]();const _0x4c42c5=this[_0x5d39da(0x160)]['createInstance'](ae,this['unitID'],this[_0x5d39da(0x331)],this[_0x5d39da(0x275)],this[_0x5d39da(0x383)]);return _0x4c42c5[_0x5d39da(0x3b7)](),_0x4c42c5[_0x5d39da(0x1f7)](),_0x4c42c5;}[_0x59b5b4(0x13a)](_0x1eed72){var _0x3ae007=_0x59b5b4;return this['_onConflict'](!!(_0x1eed72!=null&&_0x1eed72[_0x3ae007(0x325)]));}[_0x59b5b4(0x366)](_0x515afe){var _0x4a21c8=_0x59b5b4;return this[_0x4a21c8(0x1dd)]>Ti?this[_0x4a21c8(0x322)]():(this[_0x4a21c8(0x10e)]=Ii(this[_0x4a21c8(0x317)],{'timeout':this[_0x4a21c8(0x317)],'reqId':_0x515afe[_0x4a21c8(0x12f)]}),this[_0x4a21c8(0x1fa)]=this[_0x4a21c8(0x10e)][_0x4a21c8(0x326)](({reqId:_0x1c93a0,timeout:_0xcc757e})=>{var _0xcfb21f=_0x4a21c8;this[_0xcfb21f(0x215)](_0x1c93a0,_0xcc757e);}),this);}[_0x59b5b4(0x322)](){var _0x1e1e6b=_0x59b5b4;return this[_0x1e1e6b(0x2ca)](),this['_injector'][_0x1e1e6b(0x28a)](de,this[_0x1e1e6b(0x266)],this[_0x1e1e6b(0x331)],this['_awaitingChangeset'],this[_0x1e1e6b(0x275)],this[_0x1e1e6b(0x383)]);}['toggleOnline'](){return this;}[_0x59b5b4(0x30d)](){var _0x24ae3f=_0x59b5b4;this['_handler'][_0x24ae3f(0x250)](this[_0x24ae3f(0x13d)]);}[_0x59b5b4(0x23b)](_0xb90526){var _0x2c3e24=_0x59b5b4;return this[_0x2c3e24(0x2ca)](),this[_0x2c3e24(0x160)][_0x2c3e24(0x28a)](ue,this[_0x2c3e24(0x266)],this['type'],null,this[_0x2c3e24(0x275)],this['_handler'],_0xb90526);}['_resendWithTimeout'](_0x478e84,_0x41c75a){var _0x41783d=_0x59b5b4,_0x35ce06;_0x478e84===((_0x35ce06=this[_0x41783d(0x13d)])==null?void 0x0:_0x35ce06[_0x41783d(0x12f)])&&(this[_0x41783d(0x30d)](),this[_0x41783d(0x317)]=_0x41c75a===0x0?0x3e8:Math[_0x41783d(0x158)](_0x41c75a*0x2,gi),this['_maxTotalRetryTimeout']+=this['_resendTimeout']);}['_clearScheduledTask'](){var _0x5bba78=_0x59b5b4,_0x1714c2;(_0x1714c2=this[_0x5bba78(0x1fa)])==null||_0x1714c2[_0x5bba78(0x34d)](),this['_resendTimeout']=0x0,this['_maxTotalRetryTimeout']=0x0;}};oe=Se([L(0x6,_0x1a58da(_0x304bd2)),L(0x7,_0x1a58da(_0x2aa1c4)),L(0x8,_0x48e048),L(0x9,_0x41f1d3),L(0xa,_0x39ca4e),L(0xb,_0x4c7a7f),L(0xc,_0x24a4ee(X))],oe);let ue=class extends ge{constructor(_0x442b36,_0x106530,_0x395747,_0xb648bd,_0x42db0b,_0x466163=!0x1,_0x13a006,_0x554772,_0x37d4f7,_0x1d5be5,_0x1bc478,_0x3df5eb,_0x39b9fb){var _0x195555=_0x59b5b4;super(_0x442b36,_0x106530,_0x395747,_0xb648bd,_0x42db0b,_0x554772,_0x37d4f7,_0x1d5be5,_0x39b9fb),D(this,_0x195555(0x389),'conflict'),(this[_0x195555(0x20b)]=_0x466163,this[_0x195555(0x33c)]=_0x13a006,this[_0x195555(0x3fb)]=_0x1bc478,this[_0x195555(0x3d7)]=_0x3df5eb,this['localCacheService']=_0x39b9fb,this[_0x195555(0x2aa)](),this[_0x195555(0x302)](),this[_0x195555(0x28e)]());}[_0x59b5b4(0x3ba)](){return this;}[_0x59b5b4(0x135)](){return this;}[_0x59b5b4(0x178)](){return this;}['onRemoteRej'](){return this;}[_0x59b5b4(0x366)](){return this;}[_0x59b5b4(0x322)](){return this;}[_0x59b5b4(0x33a)](){return this;}['resend'](){var _0x217c9b=_0x59b5b4;throw new Error(_0x217c9b(0x107));}[_0x59b5b4(0x302)](){var _0x42bcb9=_0x59b5b4,_0x30d04e;(_0x30d04e=this[_0x42bcb9(0x22e)])==null||_0x30d04e[_0x42bcb9(0x350)](this[_0x42bcb9(0x266)],this[_0x42bcb9(0x331)],null,[]);}[_0x59b5b4(0x2aa)](){var _0xce65f7=_0x59b5b4;this[_0xce65f7(0x20b)]?this[_0xce65f7(0x3d7)][_0xce65f7(0xf1)]({'id':re[_0xce65f7(0x191)]}):this[_0xce65f7(0x3d7)]['emitEvent']({'id':re[_0xce65f7(0x2b5)]});}[_0x59b5b4(0x28e)](){var _0x111f85=_0x59b5b4;this[_0x111f85(0x33c)][_0x111f85(0x1af)](new _0x1c73ad(this['unitID'])['id'],!0x1);}};ue=Se([L(0x6,_0x1a58da(_0x6680b3)),L(0x7,_0x48e048),L(0x8,_0x4c7a7f),L(0x9,_0x1a58da(_0x2aa1c4)),L(0xa,_0x1a58da(_0x37628b)),L(0xb,_0x1a58da(ve)),L(0xc,_0x24a4ee(X))],ue);let de=class extends ge{constructor(_0x4eab60,_0x399ed5,_0x391a49,_0x13abf2,_0x26c8f2,_0x98cd19,_0x214bf7,_0x4883ee,_0x192a06,_0xc08387){var _0x1bee62=_0x59b5b4;super(_0x4eab60,_0x399ed5,_0x391a49,_0x13abf2,_0x26c8f2,_0x4883ee,_0x192a06,_0x214bf7,_0xc08387),D(this,_0x1bee62(0x389),'offline'),this[_0x1bee62(0x160)]=_0x98cd19;}[_0x59b5b4(0x3ba)](_0xd83cbf){var _0x426455=_0x59b5b4;return this['_pendingMutations']['push'](_0xd83cbf),this[_0x426455(0x1f7)](),this;}[_0x59b5b4(0x135)](_0x4e599b){var _0x1a489c=_0x59b5b4;throw new Error(_0x1a489c(0x16c));}[_0x59b5b4(0x178)](){var _0x4d7142=_0x59b5b4;throw new Error(_0x4d7142(0x390));}[_0x59b5b4(0x13a)](){var _0x3bde65=_0x59b5b4;throw new Error(_0x3bde65(0x3ce));}[_0x59b5b4(0x366)](){return this;}[_0x59b5b4(0x322)](){return this;}['toggleOnline'](){const {_injector:_0x1c0788,_pendingMutations:_0x12d612,_awaitingChangeset:_0x3b8454,unitID:_0x57e7c4,_handler:_0x45baf4,type:_0x8a4e74}=this,_0x2320ff=Oi(_0x1c0788,_0x57e7c4,_0x8a4e74,_0x3b8454,_0x12d612,_0x45baf4);return _0x2320ff instanceof ae?_0x2320ff['_schedule']():(_0x2320ff instanceof oe||_0x2320ff instanceof le)&&_0x2320ff['resend'](),_0x2320ff;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([L(0x5,_0x1a58da(_0x304bd2)),L(0x6,_0x1a58da(_0x2aa1c4)),L(0x7,_0x48e048),L(0x8,_0x4c7a7f),L(0x9,_0x24a4ee(X))],de);function _0x2245(_0x3a4740,_0x1b208c){_0x3a4740=_0x3a4740-0xdd;var _0x1a33a0=_0x1a33();var _0x22456c=_0x1a33a0[_0x3a4740];return _0x22456c;}let ee=class extends ge{constructor(_0x287b8f,_0x11e882,_0xbbfd,_0x49f5e3,_0x39e750,_0x5daa24,_0x4d83e3,_0x2d155e,_0x55142d,_0x244314,_0x2deee3,_0x1900f3,_0x5f5447,_0x2815f5){var _0x1d6911=_0x59b5b4;super(_0x287b8f,_0x11e882,_0xbbfd,_0x49f5e3,_0x4d83e3,_0x2deee3,_0x1900f3,_0x55142d,_0x2815f5),D(this,_0x1d6911(0x389),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x39e750,this['_queuedRemoteChangesets']=_0x5daa24,this[_0x1d6911(0x160)]=_0x2d155e,this[_0x1d6911(0x12a)]=_0x244314,this[_0x1d6911(0x39f)]=_0x5f5447,this[_0x1d6911(0x2e9)]=_0x2815f5);}[_0x59b5b4(0x388)](_0x4ef01c){var _0x48abd9=_0x59b5b4;try{const _0x18c8a0=[..._0x4ef01c,...this[_0x48abd9(0x151)]],_0x2ff0a7=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']]['filter'](_0x1ead82=>!!_0x1ead82);let _0x104b12,_0x59c60e;if(_0x2ff0a7['length']){const _0x5ebc5d=this[_0x48abd9(0x39f)][_0x48abd9(0x2b9)](_0x18c8a0,_0x2ff0a7,!0x1);if(!_0x810ab5(_0x5ebc5d))throw _0x5ebc5d[_0x48abd9(0x31e)];_0x104b12=_0x5ebc5d[_0x48abd9(0x1eb)],_0x59c60e=_0x5ebc5d[_0x48abd9(0x2d1)];}else _0x104b12=_0x18c8a0,_0x59c60e=[];let _0x596aa1=this[_0x48abd9(0x275)];_0x104b12[_0x48abd9(0x22f)](_0xc12b19=>{var _0x36ec76=_0x48abd9;let _0x27e16f;if(_0x596aa1[_0x36ec76(0x1c0)]){const _0x11f26d=this[_0x36ec76(0x39f)][_0x36ec76(0x38e)](_0xc12b19,_0x596aa1);if(!_0x108311(_0x11f26d))throw _0x11f26d[_0x36ec76(0x31e)];_0x27e16f=_0x11f26d[_0x36ec76(0x1eb)],_0x596aa1=_0x11f26d['m2Prime'];}else _0x27e16f=_0xc12b19;this[_0x36ec76(0x183)](_0x27e16f);}),this[_0x48abd9(0x165)]&&this[_0x48abd9(0x307)](),this[_0x48abd9(0x13d)]&&_0x59c60e[_0x48abd9(0x1c0)]&&(_0x59c60e[0x0][_0x48abd9(0x2dc)]=this[_0x48abd9(0x35a)]());let _0x1952fc;if(this['_awaitingChangeset']&&_0x596aa1[_0x48abd9(0x1c0)]!==0x0)_0x1952fc=this['_injector'][_0x48abd9(0x28a)](oe,this[_0x48abd9(0x266)],this[_0x48abd9(0x331)],_0x59c60e[0x0],_0x596aa1,this[_0x48abd9(0x383)],void 0x0);else{if(this[_0x48abd9(0x13d)]&&_0x596aa1[_0x48abd9(0x1c0)]===0x0)_0x59c60e[0x0][_0x48abd9(0x2dc)]=this[_0x48abd9(0x35a)](),_0x1952fc=this['_injector'][_0x48abd9(0x28a)](le,this[_0x48abd9(0x266)],this[_0x48abd9(0x331)],_0x59c60e[0x0],this[_0x48abd9(0x383)]);else{if(_0x596aa1[_0x48abd9(0x1c0)]!==0x0){const _0x410c95=this[_0x48abd9(0x160)]['createInstance'](ae,this[_0x48abd9(0x266)],this['type'],_0x596aa1,this['_handler']);_0x410c95[_0x48abd9(0x3b7)](),_0x1952fc=_0x410c95;}else _0x1952fc=this['_injector'][_0x48abd9(0x28a)](be,this[_0x48abd9(0x266)],this['type'],this[_0x48abd9(0x383)]);}}return _0x1952fc[_0x48abd9(0x1f7)](),_0x1952fc;}catch(_0x1465bf){return this[_0x48abd9(0x12a)][_0x48abd9(0x31e)](_0x48abd9(0xee),'failed\x20to\x20apply\x20missed\x20changesets!',_0x1465bf),this['_injector'][_0x48abd9(0x28a)](ue,this[_0x48abd9(0x266)],this[_0x48abd9(0x331)],this[_0x48abd9(0x13d)],this[_0x48abd9(0x275)],this[_0x48abd9(0x383)],!0x1);}}[_0x59b5b4(0x30d)](){var _0x2c9bd9=_0x59b5b4;throw new Error(_0x2c9bd9(0x3fd));}['appendMutation'](_0xaa9bf9){var _0x45e616=_0x59b5b4;return this['_pendingMutations'][_0x45e616(0x2c8)](_0xaa9bf9),this;}[_0x59b5b4(0x135)](_0x3317a8){var _0x117dd9=_0x59b5b4;return this[_0x117dd9(0x151)][_0x117dd9(0x2c8)](_0x3317a8),this;}[_0x59b5b4(0x178)](_0x237d8a){var _0x16837e=_0x59b5b4;if(this[_0x16837e(0x13d)])return this[_0x16837e(0x165)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x16837e(0x2b4));}['onRemoteRej'](_0x20ea59){var _0x4859ca=_0x59b5b4;return this[_0x4859ca(0x23b)](!!(_0x20ea59!=null&&_0x20ea59[_0x4859ca(0x325)]));}[_0x59b5b4(0x366)](){return this;}['toggleOffline'](){var _0xbe256=_0x59b5b4;return this[_0xbe256(0x160)][_0xbe256(0x28a)](de,this['unitID'],this[_0xbe256(0x331)],this[_0xbe256(0x13d)],this['_pendingMutations'],this[_0xbe256(0x383)]);}[_0x59b5b4(0x33a)](){return this;}['_onConflict'](_0x5d3361){var _0x5f4f1b=_0x59b5b4;return this[_0x5f4f1b(0x160)][_0x5f4f1b(0x28a)](ue,this[_0x5f4f1b(0x266)],this[_0x5f4f1b(0x331)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x5f4f1b(0x383)],_0x5d3361);}};ee=Se([L(0x7,_0x1a58da(_0x304bd2)),L(0x8,_0x1a58da(_0x2aa1c4)),L(0x9,_0x41f1d3),L(0xa,_0x48e048),L(0xb,_0x4c7a7f),L(0xc,_0x39ca4e),L(0xd,_0x24a4ee(X))],ee);function Oi(_0x1caee0,_0x2b855f,_0x257683,_0x2e3522,_0x393b27,_0x1b822c){var _0x2868a0=_0x59b5b4;return _0x2e3522&&_0x393b27[_0x2868a0(0x1c0)]?_0x1caee0[_0x2868a0(0x28a)](oe,_0x2b855f,_0x257683,_0x2e3522,_0x393b27,_0x1b822c,void 0x0):_0x2e3522?_0x1caee0[_0x2868a0(0x28a)](le,_0x2b855f,_0x257683,_0x2e3522,_0x1b822c):_0x393b27[_0x2868a0(0x1c0)]?_0x1caee0[_0x2868a0(0x28a)](ae,_0x2b855f,_0x257683,_0x393b27,_0x1b822c):_0x1caee0['createInstance'](be,_0x2b855f,_0x257683,_0x1b822c);}var Fs=Object[_0x59b5b4(0x298)],At=(_0x379a0b,_0x3eb3cd,_0x3d361f,_0x2f5f27)=>{var _0x4f224f=_0x59b5b4;for(var _0x5a6093=_0x2f5f27>0x1?void 0x0:_0x2f5f27?Fs(_0x3eb3cd,_0x3d361f):_0x3eb3cd,_0x5a8989=_0x379a0b[_0x4f224f(0x1c0)]-0x1,_0x1ec251;_0x5a8989>=0x0;_0x5a8989--)(_0x1ec251=_0x379a0b[_0x5a8989])&&(_0x5a6093=_0x1ec251(_0x5a6093)||_0x5a6093);return _0x5a6093;},$=(_0x57411c,_0x2c59f5)=>(_0x2176f0,_0x1a3dfc)=>_0x2c59f5(_0x2176f0,_0x1a3dfc,_0x57411c);let st=class extends _0x5385ac{constructor(_0x2ef815,_0x3474e2,_0x262466,_0x6f0a2b,_0x2a61d1,_0x164524,_0x55b237,_0x2db053,_0x49ef05,_0x11a264,_0xb01c3c,_0x3d6e50,_0x544440,_0x39be8){var _0x45c343=_0x59b5b4;super(),D(this,_0x45c343(0x284),new _0xfba9c5(null)),D(this,_0x45c343(0x3c5),this['_state$'][_0x45c343(0x15a)]()),D(this,'_state'),D(this,_0x45c343(0x292),!0x1),D(this,_0x45c343(0x32b),''),D(this,_0x45c343(0x23e),0x0),D(this,'status$',this['state$']['pipe'](_0x36eed8(_0x39e3a2=>_0x39e3a2?_0x39e3a2[_0x45c343(0x389)]:Si[_0x45c343(0x1d3)]),_0x9c6fcc(0x1))),D(this,_0x45c343(0x3d9),!0x1),D(this,_0x45c343(0x3e5),[]),(this[_0x45c343(0x266)]=_0x2ef815,this[_0x45c343(0x203)]=_0x3474e2,this[_0x45c343(0x341)]=_0x262466,this[_0x45c343(0x160)]=_0x6f0a2b,this[_0x45c343(0x334)]=_0x2a61d1,this[_0x45c343(0x3fb)]=_0x164524,this[_0x45c343(0x364)]=_0x55b237,this['_eventService']=_0x2db053,this[_0x45c343(0xfa)]=_0x49ef05,this['_logService']=_0x11a264,this[_0x45c343(0x36f)]=_0xb01c3c,this[_0x45c343(0x33c)]=_0x3d6e50,this[_0x45c343(0x3b0)]=_0x544440,this[_0x45c343(0x22e)]=_0x39be8);}get[_0x59b5b4(0x2e5)](){var _0x414794=_0x59b5b4;return this[_0x414794(0x402)];}async[_0x59b5b4(0x138)](){var _0x15747a=_0x59b5b4;if(this[_0x15747a(0x2e5)])throw new Error(_0x15747a(0x352));await this['_init']();}[_0x59b5b4(0x314)](){var _0x3e3533=_0x59b5b4;return this[_0x3e3533(0x292)]=!0x0,_0x3b1318(()=>{var _0x1b6dc7=_0x3e3533;this[_0x1b6dc7(0x292)]=!0x1,this[_0x1b6dc7(0x3db)]();});}[_0x59b5b4(0x336)](_0x2bbd74){var _0x2d071f=_0x59b5b4;this[_0x2d071f(0x2e6)](_0x2bbd74);}[_0x59b5b4(0x392)](_0x281f57){var _0x2351c6=_0x59b5b4;this['_state']=_0x281f57,this[_0x2351c6(0x284)][_0x2351c6(0x283)](_0x281f57);}async[_0x59b5b4(0x28b)](){var _0x1017a2=_0x59b5b4,_0x5a2627;this['_updateState'](await this[_0x1017a2(0x32a)]()),this[_0x1017a2(0x3b0)]&&((_0x5a2627=this[_0x1017a2(0x3b0)])==null||_0x5a2627[_0x1017a2(0x38d)](this[_0x1017a2(0x266)]),this[_0x1017a2(0x2d9)](this[_0x1017a2(0x3b0)]['getUnitStatus$'](this[_0x1017a2(0x266)])[_0x1017a2(0x326)](_0x24f1ec=>{var _0x1ff88f=_0x1017a2;this[_0x1ff88f(0x12a)][_0x1ff88f(0x166)](_0x1ff88f(0x30f),'editing\x20status\x20changed\x20to',_0x24f1ec),_0x24f1ec===mi[_0x1ff88f(0x374)]?(this[_0x1ff88f(0x39c)][_0x1ff88f(0xf1)]({'id':re[_0x1ff88f(0xf4)]}),this[_0x1ff88f(0x33c)][_0x1ff88f(0x1af)](new _0x1c73ad(this[_0x1ff88f(0x266)])['id'],!0x1),this['_permissionService'][_0x1ff88f(0x2b1)](!0x1)):(this[_0x1ff88f(0x33c)][_0x1ff88f(0x1af)](new _0x1c73ad(this[_0x1ff88f(0x266)])['id'],!0x0),this[_0x1ff88f(0x33c)][_0x1ff88f(0x2b1)](!0x0));})));let _0x3cac99=!0x1;return this[_0x1017a2(0x2d9)](this[_0x1017a2(0x203)][_0x1017a2(0x131)]['subscribe'](_0x247a20=>{var _0x406a96=_0x1017a2;_0x247a20===me['ONLINE']?this['_toggleOnline'](_0x3cac99):_0x247a20===me[_0x406a96(0x1d3)]&&(_0x3cac99=!0x0,this[_0x406a96(0x3da)]());})),this[_0x1017a2(0x2d9)](this[_0x1017a2(0x203)]['event$'][_0x1017a2(0x326)](_0x1ea8c4=>{var _0x417146=_0x1017a2;try{switch(_0x1ea8c4[_0x417146(0x1a4)]){case _0x8199d6[_0x417146(0x127)]:{this[_0x417146(0xfd)](_0x482035(_0x1ea8c4[_0x417146(0x14b)]));break;}case _0x8199d6[_0x417146(0x3ee)]:{this[_0x417146(0x1ce)](_0x1ea8c4[_0x417146(0x14b)]);break;}case _0x8199d6['CHANGESET_REJ']:{this[_0x417146(0x1f2)]();break;}case _0x8199d6[_0x417146(0x3d8)]:{this['_onRemoteRetry'](_0x1ea8c4['data']);break;}case _0x8199d6[_0x417146(0x2a1)]:{this['_onFetchMissResult'](_0x1ea8c4[_0x417146(0x14b)]['changesets'][_0x417146(0x1a3)](_0x49c0be=>_0x482035(_0x49c0be)));break;}case _0x8199d6[_0x417146(0x198)]:{this[_0x417146(0x1f2)]({'isPermissionRej':!0x0});break;}case _0x8199d6[_0x417146(0x1c9)]:break;}}catch(_0x27b0c8){throw console[_0x417146(0x31e)]('Error\x20on\x20receiving\x20event',_0x27b0c8),_0x27b0c8;}})),this['_state'];}[_0x59b5b4(0x2bb)](){var _0x8bd071=_0x59b5b4;this[_0x8bd071(0x3d9)]=!0x1;}[_0x59b5b4(0x157)](){var _0x1ff61e=_0x59b5b4;if(this['_transitionLocked'])throw new Error(_0x1ff61e(0x290));this[_0x1ff61e(0x3d9)]=!0x0;}[_0x59b5b4(0x2e6)](_0x46096a){var _0x23a263=_0x59b5b4;this['_lockTransition'](),this[_0x23a263(0x392)](this['_state']['appendMutation'](_0x46096a)),this[_0x23a263(0x2bb)]();}[_0x59b5b4(0xfd)](_0x40a0fe){var _0x3102ea=_0x59b5b4;if(!(_0x40a0fe['revision']<=this['_revisionService'][_0x3102ea(0x26c)](this[_0x3102ea(0x266)]))){if(this[_0x3102ea(0x292)]){this['_remoteChangesetQueue']['push'](_0x40a0fe);return;}this[_0x3102ea(0x153)](_0x40a0fe);}}[_0x59b5b4(0x3db)](){var _0x34a141=_0x59b5b4;this[_0x34a141(0x3e5)][_0x34a141(0x22f)](_0x22d4d9=>this['_applyRemoteChangeset'](_0x22d4d9)),this['_remoteChangesetQueue']=[];}[_0x59b5b4(0x153)](_0x202c24){var _0x5b3f95=_0x59b5b4;const _0x4a0611=this[_0x5b3f95(0x334)][_0x5b3f95(0x387)][_0x5b3f95(0x3a9)](this[_0x5b3f95(0x334)][_0x5b3f95(0x387)]['getInterceptPoints']()[_0x5b3f95(0x327)])(_0x202c24[_0x5b3f95(0x30e)],null)||_0x202c24[_0x5b3f95(0x30e)],_0x168596={..._0x202c24,'mutations':_0x4a0611};this[_0x5b3f95(0x157)](),this[_0x5b3f95(0x392)](this['_state']['onRemoteChangeset'](_0x168596)),this['_unlockTransition']();}[_0x59b5b4(0x1ce)](_0x40a314){var _0x296d55=_0x59b5b4;this['_lockTransition'](),this[_0x296d55(0x392)](this[_0x296d55(0x402)]['onRemoteAck'](_0x40a314)),this['_unlockTransition']();}[_0x59b5b4(0x1f2)](_0x5525b2){var _0x12aa59=_0x59b5b4;this[_0x12aa59(0x157)](),this['_updateState'](this[_0x12aa59(0x402)][_0x12aa59(0x13a)](_0x5525b2)),this[_0x12aa59(0x2bb)]();}[_0x59b5b4(0x3e0)](_0x358f50){var _0x3f232b=_0x59b5b4;this[_0x3f232b(0x157)](),this[_0x3f232b(0x392)](this['_state'][_0x3f232b(0x366)](_0x358f50)),this[_0x3f232b(0x2bb)]();}[_0x59b5b4(0x170)](_0x14377e){var _0x58ac58=_0x59b5b4;if(!(this[_0x58ac58(0x402)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x25cbdd=_0x14377e['map'](_0xd0502=>{var _0x10ee4f=_0x58ac58;const _0x41663b=this['_compressMutationService'][_0x10ee4f(0x387)][_0x10ee4f(0x3a9)](this[_0x10ee4f(0x334)][_0x10ee4f(0x387)][_0x10ee4f(0x1e2)]()[_0x10ee4f(0x327)])(_0xd0502[_0x10ee4f(0x30e)],null)||_0xd0502[_0x10ee4f(0x30e)];return{..._0xd0502,'mutations':_0x41663b};});this[_0x58ac58(0x157)](),this[_0x58ac58(0x392)](this['_state'][_0x58ac58(0x388)](_0x25cbdd)),this[_0x58ac58(0x2bb)]();}['_toggleOffline'](){var _0x4899c8=_0x59b5b4;this[_0x4899c8(0x157)](),this[_0x4899c8(0x392)](this['_state']['toggleOffline']()),this[_0x4899c8(0x2bb)]();}[_0x59b5b4(0x154)](_0x532e8a=!0x1){var _0x21b05b=_0x59b5b4;this[_0x21b05b(0x157)](),this['_updateState'](this[_0x21b05b(0x402)][_0x21b05b(0x33a)]()),this[_0x21b05b(0x2bb)]();const _0xf40bda=this[_0x21b05b(0x402)];_0x532e8a&&_0xf40bda instanceof be&&(this[_0x21b05b(0x157)](),this[_0x21b05b(0x392)](_0xf40bda[_0x21b05b(0x2a8)]()),this[_0x21b05b(0x2bb)]());}async[_0x59b5b4(0x32a)](){return new Promise(_0x372923=>{var _0x46a2a1=_0x2245;this[_0x46a2a1(0x203)]['sessionStatus$'][_0x46a2a1(0x3fe)](_0x505bf8(0x1))[_0x46a2a1(0x326)](async _0x651624=>{var _0x4dc8d1=_0x46a2a1;_0x372923(await this['_createInitialStateImpl'](_0x651624===me[_0x4dc8d1(0x110)]));});});}[_0x59b5b4(0x173)](){var _0xab2a22=_0x59b5b4;const _0x1a8a17=this[_0xab2a22(0x266)];return{'onStateChange':(_0x3b07b4,_0xd3b521)=>{var _0x17f64a=_0xab2a22;if(_0x3b07b4!==this[_0x17f64a(0x402)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x3b07b4[_0x17f64a(0x389)]+_0x17f64a(0x148)+_0xd3b521['status']+_0x17f64a(0x406)+this[_0x17f64a(0x402)][_0x17f64a(0x389)]);this[_0x17f64a(0x392)](_0xd3b521);},'onSendChangeset':_0x584674=>{var _0x5de1f2=_0xab2a22;_0x584674[_0x5de1f2(0x32c)]||(_0x584674[_0x5de1f2(0x32c)]=this[_0x5de1f2(0x32b)],_0x584674[_0x5de1f2(0x12f)]=++this['_changesetReqId']);const _0x345b42={'eventID':_0x8199d6[_0x5de1f2(0x376)],'data':{'unitID':_0x584674['unitID'],'unitType':this['_type'],'changeset':_0x584674,'memberID':this['session'][_0x5de1f2(0x276)]()}};this['session']['send'](_0x345b42,this[_0x5de1f2(0x266)]);},'onMissingChangesets':({from:_0xd4421d,to:_0x4806bf})=>{var _0x5942fc=_0xab2a22;this[_0x5942fc(0x12a)][_0x5942fc(0x166)](_0x5942fc(0x30f),_0x5942fc(0x2ee)+_0xd4421d+_0x5942fc(0x130)+_0x4806bf);const _0x37dbc1={'eventID':_0x8199d6['FETCH_MISSING'],'data':{'unitID':_0x1a8a17,'unitType':this[_0x5942fc(0x341)],'from':_0xd4421d,'to':_0x4806bf}};this[_0x5942fc(0x203)]['send'](_0x37dbc1,this['unitID']);}};}async['_createInitialStateImpl'](_0x23d2dd){var _0x3f4101=_0x59b5b4,_0x3e82df,_0x2655ef,_0x3aaf17;const _0x5ea69f=await((_0x3e82df=this[_0x3f4101(0x22e)])==null?void 0x0:_0x3e82df[_0x3f4101(0x37e)](this[_0x3f4101(0x266)])),_0x29fda5=(_0x2655ef=_0x5ea69f==null?void 0x0:_0x5ea69f['mutations'])!=null?_0x2655ef:[],_0x2cff8b=(_0x3aaf17=_0x5ea69f==null?void 0x0:_0x5ea69f[_0x3f4101(0x335)])!=null?_0x3aaf17:null,_0x56d73a=!!(_0x2cff8b!=null&&_0x2cff8b[_0x3f4101(0x32c)])&&!!(_0x2cff8b!=null&&_0x2cff8b[_0x3f4101(0x12f)]);this[_0x3f4101(0x32b)]=_0x56d73a?_0x2cff8b[_0x3f4101(0x32c)]:_0x64d0d4(),this[_0x3f4101(0x23e)]=_0x56d73a?_0x2cff8b['reqId']:0x0;const _0x579f97=this[_0x3f4101(0x266)];try{this[_0x3f4101(0x26a)](_0x2cff8b,_0x29fda5);}catch(_0x30829e){this[_0x3f4101(0x12a)][_0x3f4101(0x31e)](_0x30829e);}const _0x54758e=this[_0x3f4101(0x173)]();if(_0x23d2dd){const _0x4dbf31=Oi(this['_injector'],_0x579f97,this[_0x3f4101(0x341)],_0x2cff8b,_0x29fda5,_0x54758e);return _0x4dbf31 instanceof ae?_0x4dbf31['_schedule']():(_0x4dbf31 instanceof oe||_0x4dbf31 instanceof le)&&_0x4dbf31[_0x3f4101(0x30d)](),_0x4dbf31;}return this[_0x3f4101(0x160)][_0x3f4101(0x28a)](de,_0x579f97,this[_0x3f4101(0x341)],_0x2cff8b,_0x29fda5,_0x54758e);}[_0x59b5b4(0x26a)](_0x39f330,_0x19f103){var _0x1da968=_0x59b5b4,_0x2d4493,_0x51f44d;const _0x3aa909=this[_0x1da968(0x334)][_0x1da968(0x387)][_0x1da968(0x3a9)](this[_0x1da968(0x334)][_0x1da968(0x387)][_0x1da968(0x1e2)]()['COMPRESS_MUTATION_APPLY']);(_0x2d4493=_0x3aa909((_0x39f330==null?void 0x0:_0x39f330[_0x1da968(0x30e)])||[],null))==null||_0x2d4493[_0x1da968(0x22f)](_0x5715e1=>this['_commandService'][_0x1da968(0x3a5)](_0x5715e1['id'],_0x5715e1[_0x1da968(0x346)])),(_0x51f44d=_0x3aa909(_0x19f103||[],null))==null||_0x51f44d[_0x1da968(0x22f)](_0x190de9=>this[_0x1da968(0x36f)][_0x1da968(0x3a5)](_0x190de9['id'],_0x190de9['params']));}};st=At([$(0x3,_0x1a58da(_0x304bd2)),$(0x4,_0x1a58da(_0x80ee6)),$(0x5,_0x1a58da(_0x37628b)),$(0x6,_0x1a58da(_0x2aa1c4)),$(0x7,_0x1a58da(ve)),$(0x8,_0x33b121),$(0x9,_0x41f1d3),$(0xa,_0x48e048),$(0xb,_0x6680b3),$(0xc,_0x24a4ee(_t)),$(0xd,_0x24a4ee(X))],st);let It=class extends st{constructor(_0x5e93ee,_0xa2a9e3,_0x20ca5f,_0x4c8e47,_0x11ae3c,_0x52606b,_0x30a674,_0x3066ab,_0x1a2c13,_0x163250,_0x36da65,_0x5f31d6,_0x102eab,_0x36476f){var _0x27df81=_0x59b5b4;super(_0x5e93ee,_0x20ca5f,_0xa2a9e3,_0x4c8e47,_0x11ae3c,_0x52606b,_0x30a674,_0x3066ab,_0x1a2c13,_0x163250,_0x36da65,_0x5f31d6,_0x102eab,_0x36476f),D(this,_0x27df81(0x156),null),(this[_0x27df81(0x266)]=_0x5e93ee,this[_0x27df81(0x331)]=_0xa2a9e3);}[_0x59b5b4(0x134)](_0x4f1415){var _0x1aa957=_0x59b5b4;this[_0x1aa957(0x156)]=_0x4f1415;}[_0x59b5b4(0x2b2)](){var _0x1cf613=_0x59b5b4;this[_0x1cf613(0x156)]=null,super[_0x1cf613(0x2b2)]();}[_0x59b5b4(0x173)](){var _0x599b43=_0x59b5b4;const _0x2c029c=super[_0x599b43(0x173)]();return _0x2c029c[_0x599b43(0x207)]=_0xb82f1f=>{var _0x46232e=_0x599b43,_0x1b0d7e,_0x4c2037;return(_0x4c2037=(_0x1b0d7e=this['_handlerCallback'])==null?void 0x0:_0x1b0d7e[_0x46232e(0x207)])==null?void 0x0:_0x4c2037[_0x46232e(0x1e1)](_0x1b0d7e,_0xb82f1f);},_0x2c029c[_0x599b43(0x1ab)]=_0x192e47=>{var _0x2fa5dd=_0x599b43,_0x4cc7bd,_0x98bb15;return(_0x98bb15=(_0x4cc7bd=this[_0x2fa5dd(0x156)])==null?void 0x0:_0x4cc7bd[_0x2fa5dd(0x1ab)])==null?void 0x0:_0x98bb15[_0x2fa5dd(0x1e1)](_0x4cc7bd,_0x192e47);},_0x2c029c['onTransformSelections']=_0x1b9d2e=>{var _0x3b761d=_0x599b43,_0x5cf559,_0x2aa998;return(_0x2aa998=(_0x5cf559=this[_0x3b761d(0x156)])==null?void 0x0:_0x5cf559[_0x3b761d(0x1df)])==null?void 0x0:_0x2aa998['call'](_0x5cf559,_0x1b9d2e);},_0x2c029c[_0x599b43(0x1bb)]=_0x3d438e=>{var _0x10c603=_0x599b43,_0x43fab5,_0x45c7c0;return(_0x45c7c0=(_0x43fab5=this[_0x10c603(0x156)])==null?void 0x0:_0x43fab5[_0x10c603(0x1bb)])==null?void 0x0:_0x45c7c0['call'](_0x43fab5,_0x3d438e);},_0x2c029c[_0x599b43(0x31d)]=_0x5afedb=>{var _0x3647dc=_0x599b43,_0x279ba1,_0x2f1fd9,_0x46c44a;if(!((_0x279ba1=this[_0x3647dc(0x156)])!=null&&_0x279ba1['onTransformRemoteChangesetByIMECache']))throw new Error(_0x3647dc(0x163));return(_0x46c44a=(_0x2f1fd9=this[_0x3647dc(0x156)])==null?void 0x0:_0x2f1fd9[_0x3647dc(0x31d)])==null?void 0x0:_0x46c44a[_0x3647dc(0x1e1)](_0x2f1fd9,_0x5afedb);},_0x2c029c[_0x599b43(0x377)]=_0xb73125=>{var _0x152e6e=_0x599b43,_0x590188,_0x496d61,_0x42c0ec;if(!((_0x590188=this[_0x152e6e(0x156)])!=null&&_0x590188[_0x152e6e(0x377)]))throw new Error(_0x152e6e(0x299));return(_0x42c0ec=(_0x496d61=this[_0x152e6e(0x156)])==null?void 0x0:_0x496d61['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x42c0ec[_0x152e6e(0x1e1)](_0x496d61,_0xb73125);},_0x2c029c;}async['_init'](){var _0xc9ec0f=_0x59b5b4;const _0x1e017b=await super[_0xc9ec0f(0x28b)]();return this[_0xc9ec0f(0x2d9)](this['_commandService'][_0xc9ec0f(0x344)]((_0x156bba,_0x7e33c2)=>{var _0x389872=_0xc9ec0f;if(_0x156bba[_0x389872(0x331)]!==_0x92706f[_0x389872(0x1fb)]||_0x7e33c2!=null&&_0x7e33c2[_0x389872(0xf9)]||_0x7e33c2!=null&&_0x7e33c2[_0x389872(0x214)]||_0x156bba['id']===_0x27e980['id'])return;const _0x54f264=_0x156bba[_0x389872(0x346)];if((_0x54f264==null?void 0x0:_0x54f264['unitId'])!==this['unitID'])return;const _0x161705=_0x156bba,_0x262858=this['_compressMutationService'][_0x389872(0x387)][_0x389872(0x3a9)](this[_0x389872(0x334)][_0x389872(0x387)][_0x389872(0x1e2)]()[_0x389872(0x11b)])([_0x161705],this[_0x389872(0xfa)])||[_0x161705];this[_0x389872(0x2e6)](_0x262858[0x0]);})),_0x1e017b;}};It=At([$(0x3,_0x1a58da(_0x304bd2)),$(0x4,_0x1a58da(_0x80ee6)),$(0x5,_0x1a58da(_0x37628b)),$(0x6,_0x1a58da(_0x2aa1c4)),$(0x7,_0x1a58da(ve)),$(0x8,_0x33b121),$(0x9,_0x41f1d3),$(0xa,_0x48e048),$(0xb,_0x6680b3),$(0xc,_0x24a4ee(_t)),$(0xd,_0x24a4ee(X))],It);let St=class extends st{constructor(_0x231b20,_0x185544,_0xc65193,_0x228df7,_0x24d2e6,_0x289bed,_0x2455a8,_0x4f897b,_0x289ad1,_0x3486c8,_0x37b655,_0x7aedaf,_0x58b0df,_0x20c2db,_0x1e881b){var _0x563f40=_0x59b5b4;super(_0x231b20,_0xc65193,_0x185544,_0x228df7,_0x24d2e6,_0x289bed,_0x2455a8,_0x289ad1,_0x3486c8,_0x37b655,_0x7aedaf,_0x58b0df,_0x20c2db,_0x1e881b),this['unitID']=_0x231b20,this[_0x563f40(0x331)]=_0x185544,this[_0x563f40(0x18c)]=_0x4f897b;}[_0x59b5b4(0x173)](){var _0x53c8e1=_0x59b5b4;const _0x50103f=super[_0x53c8e1(0x173)]();return _0x50103f['onTransformSelections']=_0xff69af=>this[_0x53c8e1(0x18c)][_0x53c8e1(0x2b7)](_0xff69af),_0x50103f;}async[_0x59b5b4(0x28b)](){var _0x10a1dc=_0x59b5b4;const _0x42c8ad=await super['_init']();return this[_0x10a1dc(0x2d9)](this[_0x10a1dc(0x36f)][_0x10a1dc(0x344)]((_0x2d62c3,_0x197211)=>{var _0xef8b5=_0x10a1dc;if(_0x2d62c3[_0xef8b5(0x331)]!==_0x92706f['MUTATION']||_0x197211!=null&&_0x197211[_0xef8b5(0xf9)]||_0x197211!=null&&_0x197211[_0xef8b5(0x214)])return;const _0x125ad8=_0x2d62c3[_0xef8b5(0x346)];if((_0x125ad8==null?void 0x0:_0x125ad8['unitId'])!==this['unitID'])return;const _0x4086d9=_0x2d62c3,_0x39997a=this[_0xef8b5(0x334)]['interceptor'][_0xef8b5(0x3a9)](this['_compressMutationService'][_0xef8b5(0x387)][_0xef8b5(0x1e2)]()[_0xef8b5(0x11b)])([_0x4086d9],this['_univerInstanceService'])||[_0x4086d9];this['_onLocalMutation'](_0x39997a[0x0]);})),_0x42c8ad;}};St=At([$(0x3,_0x1a58da(_0x304bd2)),$(0x4,_0x1a58da(_0x80ee6)),$(0x5,_0x1a58da(_0x37628b)),$(0x6,_0x1a58da(_0x2aa1c4)),$(0x7,_0x1a58da(it)),$(0x8,_0x1a58da(ve)),$(0x9,_0x33b121),$(0xa,_0x41f1d3),$(0xb,_0x48e048),$(0xc,_0x6680b3),$(0xd,_0x24a4ee(_t)),$(0xe,_0x24a4ee(X))],St);const js=_0x4580bc('univer-pro.collaboration-client.network-condition.service');function Vs(_0x1c1c4e){var _0x51db56=_0x59b5b4,_0x56b70a,_0x5ecc3a,_0x46b477,_0x25223a,_0x5d5f1f;const _0x36c2a5=_0x1c1c4e[_0x51db56(0x14b)],_0x55484b=JSON[_0x51db56(0x213)](_0x36c2a5);switch(_0x55484b[_0x51db56(0x3f5)]){case j[_0x51db56(0x211)]:case j[_0x51db56(0x361)]:{const _0x2088bf=_0x55484b[_0x51db56(0x229)];return{..._0x55484b,'data':_0x2088bf,'cmd':_0x55484b[_0x51db56(0x3f5)]};}case j[_0x51db56(0x245)]:{const _0x5023d4=_0x55484b[_0x51db56(0x329)];return{..._0x55484b,'data':_0x5023d4,'cmd':_0x55484b[_0x51db56(0x3f5)]};}case j['RECV']:{const _0x1e124b=_0x55484b[_0x51db56(0x259)];switch(_0x1e124b['eventID']){case _0x8199d6['PERMISSION_REJ']:return{..._0x55484b,'data':{..._0x1e124b,'data':(_0x56b70a=_0x1e124b[_0x51db56(0x19a)])==null?void 0x0:_0x56b70a['cs']},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6[_0x51db56(0x3ee)]:return{..._0x55484b,'data':{..._0x1e124b,'data':(_0x5ecc3a=_0x1e124b[_0x51db56(0x136)])==null?void 0x0:_0x5ecc3a['cs']},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6['NEW_CHANGESETS']:return{..._0x55484b,'data':{..._0x1e124b,'data':(_0x46b477=_0x1e124b[_0x51db56(0x205)])==null?void 0x0:_0x46b477['cs']},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6['CHANGESET_REJ']:return{..._0x55484b,'data':{..._0x1e124b,'data':(_0x25223a=_0x1e124b['csRejEvent'])==null?void 0x0:_0x25223a['cs']},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6['CHANGESET_SHOULD_RETRY']:return{..._0x55484b,'data':{..._0x1e124b,'data':(_0x5d5f1f=_0x1e124b[_0x51db56(0x17a)])==null?void 0x0:_0x5d5f1f['cs']},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6[_0x51db56(0x220)]:return{..._0x55484b,'data':{..._0x1e124b,'data':_0x1e124b['updateCursorEvent']},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6[_0x51db56(0x2e0)]:return{..._0x55484b,'data':{..._0x1e124b,'data':_0x1e124b[_0x51db56(0x1e6)]},'cmd':_0x55484b['cmd']};case _0x8199d6['USERS_LEAVE']:return{..._0x55484b,'data':{..._0x1e124b,'data':_0x1e124b['leaveEvent']},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6[_0x51db56(0x310)]:return{..._0x55484b,'data':{..._0x1e124b,'data':_0x1e124b[_0x51db56(0x2c3)]},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6[_0x51db56(0x25b)]:case _0x8199d6[_0x51db56(0x1ba)]:return{..._0x55484b,'data':{..._0x1e124b,'data':_0x1e124b[_0x51db56(0x25f)]},'cmd':_0x55484b['cmd']};case _0x8199d6[_0x51db56(0x289)]:return{..._0x55484b,'data':{..._0x1e124b,'data':_0x1e124b['liveShareNewHost']},'cmd':_0x55484b['cmd']};case _0x8199d6['MSG_FOR_ERROR']:return{..._0x55484b,'data':_0x1e124b,'cmd':_0x55484b['cmd']};case _0x8199d6[_0x51db56(0x16d)]:return{..._0x55484b,'data':{..._0x1e124b,'data':_0x1e124b['commentUpdateEvent']},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6['UPDATE_PERMISSION_OBJ']:return{..._0x55484b,'data':{..._0x1e124b,'data':_0x1e124b[_0x51db56(0x1d5)]},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6[_0x51db56(0x18e)]:return{..._0x55484b,'data':{..._0x1e124b,'data':_0x1e124b[_0x51db56(0x162)]},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6[_0x51db56(0x1c9)]:return{..._0x55484b,'data':{..._0x1e124b,'data':_0x1e124b[_0x51db56(0x176)]},'cmd':_0x55484b[_0x51db56(0x3f5)]};default:return _0x55484b;}}default:return _0x55484b;}}function Gs(_0x46fed4){var _0x50a053=_0x59b5b4;switch(_0x46fed4[_0x50a053(0x3f5)]){case j['HEARTBEAT']:case j[_0x50a053(0x361)]:return JSON['stringify']({'cmd':_0x46fed4[_0x50a053(0x3f5)],'routeKey':_0x46fed4[_0x50a053(0x208)]});case j[_0x50a053(0xf2)]:{let _0x4cb80c;switch(_0x46fed4['data'][_0x50a053(0x1a4)]){case _0x8199d6[_0x50a053(0x220)]:{_0x4cb80c={'eventID':_0x8199d6['UPDATE_CURSOR'],'updateCursorEvent':_0x46fed4['data'][_0x50a053(0x14b)]};break;}case _0x8199d6['USERS_LEAVE']:{_0x4cb80c={'eventID':_0x8199d6[_0x50a053(0x2d7)],'leaveEvent':_0x46fed4['data']['data']};break;}case _0x8199d6[_0x50a053(0x2e0)]:{_0x4cb80c={'eventID':_0x8199d6[_0x50a053(0x2e0)],'joinEvent':_0x46fed4['data']['data']};break;}case _0x8199d6['LIVESHARE_NEW_HOST']:{_0x4cb80c={'eventID':_0x8199d6['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x46fed4[_0x50a053(0x14b)][_0x50a053(0x14b)]};break;}case _0x8199d6[_0x50a053(0x1ba)]:{_0x4cb80c={'eventID':_0x8199d6[_0x50a053(0x1ba)],'liveShareOperation':_0x46fed4[_0x50a053(0x14b)][_0x50a053(0x14b)]};break;}case _0x8199d6[_0x50a053(0x289)]:{_0x4cb80c={'eventID':_0x8199d6['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x46fed4[_0x50a053(0x14b)]['data']};break;}case _0x8199d6[_0x50a053(0x1e9)]:{_0x4cb80c={'eventID':_0x8199d6[_0x50a053(0x1e9)],'liveShareRequestHost':_0x46fed4[_0x50a053(0x14b)][_0x50a053(0x14b)]};break;}case _0x8199d6['LIVESHARE_FETCH_OPERATIONS']:{_0x4cb80c={'eventID':_0x8199d6[_0x50a053(0x25b)]};break;}default:_0x4cb80c={'eventID':_0x46fed4[_0x50a053(0x14b)][_0x50a053(0x1a4)]};}return JSON[_0x50a053(0x273)]({'cmd':_0x46fed4[_0x50a053(0x3f5)],'routeKey':_0x46fed4[_0x50a053(0x208)],'collaMsg':_0x4cb80c});}case j[_0x50a053(0x245)]:return JSON[_0x50a053(0x273)]({'cmd':_0x46fed4[_0x50a053(0x3f5)],'routeKey':_0x46fed4[_0x50a053(0x208)],'joinReq':_0x46fed4[_0x50a053(0x14b)]});case j[_0x50a053(0x34a)]:return JSON[_0x50a053(0x273)]({'cmd':_0x46fed4[_0x50a053(0x3f5)],'routeKey':_0x46fed4[_0x50a053(0x208)],'leaveReq':_0x46fed4['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ws=Object['getOwnPropertyDescriptor'],Ys=(_0x1f3b8a,_0x5a3d80,_0x2947bb,_0x230ba5)=>{var _0xf133f7=_0x59b5b4;for(var _0x4a2c44=_0x230ba5>0x1?void 0x0:_0x230ba5?Ws(_0x5a3d80,_0x2947bb):_0x5a3d80,_0x79356b=_0x1f3b8a[_0xf133f7(0x1c0)]-0x1,_0x3f818a;_0x79356b>=0x0;_0x79356b--)(_0x3f818a=_0x1f3b8a[_0x79356b])&&(_0x4a2c44=_0x3f818a(_0x4a2c44)||_0x4a2c44);return _0x4a2c44;},ye=(_0x50ba66,_0x140b26)=>(_0x5b0ed2,_0x5b66d0)=>_0x140b26(_0x5b0ed2,_0x5b66d0,_0x50ba66);const Ri=_0x4580bc(_0x59b5b4(0x1ee));function Ks(_0x40803e,_0x2f98dd,_0xf829b1){var _0x4b6761=_0x59b5b4;return _0x40803e+'/'+_0x2f98dd+'/unit/'+_0xf829b1+_0x4b6761(0xec);}let Gt=class extends _0xc67a27{constructor(_0x3f35d0,_0x27de80,_0x49f203,_0x3aaa71,_0x2c0078){var _0x1cc2a6=_0x59b5b4;super(),this[_0x1cc2a6(0x160)]=_0x3f35d0,this[_0x1cc2a6(0x152)]=_0x27de80,this[_0x1cc2a6(0x3b5)]=_0x49f203,this[_0x1cc2a6(0x12a)]=_0x3aaa71,this['_snapshotServerService']=_0x2c0078;}[_0x59b5b4(0x269)](_0x31c142){var _0x4a1b5b=_0x59b5b4;const _0x5d2c96=this[_0x4a1b5b(0x160)]['get'](_0x28aa13);if(!_0x5d2c96)throw new Error(_0x4a1b5b(0x345));const _0x31afa4=_0x5d2c96[_0x4a1b5b(0x2e1)](_0x31c142);if(!_0x31afa4)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x3fe849=new _0x4dd381(),_0x48cf0c=new _0x392b17();_0x3fe849[_0x4a1b5b(0x2a9)](_0x31afa4[_0x4a1b5b(0x1ec)][_0x4a1b5b(0x326)](_0x200459=>_0x48cf0c[_0x4a1b5b(0x283)](_0x200459))),_0x3fe849[_0x4a1b5b(0x2a9)](_0x3b1318(()=>_0x48cf0c['complete']()));const _0x1dbf5a=new _0x392b17();_0x3fe849['add'](_0x31afa4[_0x4a1b5b(0x11f)][_0x4a1b5b(0x326)](_0x3dea7c=>_0x1dbf5a[_0x4a1b5b(0x283)](_0x3dea7c))),_0x3fe849['add'](_0x3b1318(()=>_0x1dbf5a[_0x4a1b5b(0x3eb)]()));const _0x10f702=new _0x392b17();_0x3fe849[_0x4a1b5b(0x2a9)](_0x31afa4[_0x4a1b5b(0x19d)]['subscribe'](_0x5ebb05=>{var _0x53b6cb=_0x4a1b5b;const _0x334c1a=Vs(_0x5ebb05);_0x10f702[_0x53b6cb(0x283)](_0x334c1a);})),_0x3fe849[_0x4a1b5b(0x2a9)](_0x3b1318(()=>_0x10f702[_0x4a1b5b(0x3eb)]()));let _0x3cb85a;const _0x413ef8=()=>{var _0x14a191=_0x4a1b5b;_0x1dbf5a[_0x14a191(0x283)](new Event(_0x14a191(0x3c6))),_0x48cf0c['next'](new Event(_0x14a191(0x3c6))),_0x3cb85a['close']();};return _0x3cb85a={'memberID':'','close$':_0x48cf0c[_0x4a1b5b(0x15a)](),'error$':_0x1dbf5a['asObservable'](),'open$':_0x31afa4[_0x4a1b5b(0x14f)],'message$':_0x10f702[_0x4a1b5b(0x15a)](),'send':_0x2009f8=>{var _0x119c97=_0x4a1b5b;if(_0x2009f8['cmd']===j[_0x119c97(0xf2)]){if(_0x2009f8[_0x119c97(0x14b)][_0x119c97(0x1a4)]===_0x8199d6[_0x119c97(0x376)]){this[_0x119c97(0x25d)](_0x3cb85a,_0x2009f8[_0x119c97(0x14b)])['catch'](_0x50e80f=>{var _0x346a6d=_0x119c97;this[_0x346a6d(0x12a)][_0x346a6d(0x31e)](_0x50e80f),_0x413ef8();});return;}if(_0x2009f8['data'][_0x119c97(0x1a4)]===_0x8199d6['FETCH_MISSING']){const _0x50f9b3=_0x2009f8[_0x119c97(0x14b)];this['_fetchMissChangesets'](_0x50f9b3)['then'](_0x35dc00=>{var _0x2acdad=_0x119c97;_0x10f702['next']({'cmd':j['RECV'],'code':Ee['OK'],'routeKey':_0x50f9b3['data']['unitID'],'routeType':'','data':{'eventID':_0x8199d6[_0x2acdad(0x2a1)],'data':{'changesets':_0x35dc00}}});})['catch'](_0x3182b8=>{var _0x1581b2=_0x119c97;this['_logService'][_0x1581b2(0x31e)](_0x3182b8),_0x413ef8();});return;}}_0x31afa4['send'](Gs(_0x2009f8));},'close':()=>{var _0x3db7f5=_0x4a1b5b;_0x31afa4[_0x3db7f5(0x145)](),_0x3fe849[_0x3db7f5(0x2b2)]();}},_0x3cb85a;}async[_0x59b5b4(0x25d)](_0x39fb7c,_0x166c4d){var _0x3dccb3=_0x59b5b4,_0x32bc11;const {unitType:_0x1941b8,unitID:_0x2fb13d,changeset:_0x587c4c}=_0x166c4d['data'],_0x4b4f91={'unitID':_0x2fb13d,'memberID':_0x39fb7c[_0x3dccb3(0x1c4)],'type':_0x1941b8,'changeset':_0x127fce(_0x587c4c)},_0x58b10b=this[_0x3dccb3(0x3b5)][_0x3dccb3(0x1c1)](K),_0x94049a=Ks((_0x32bc11=_0x58b10b==null?void 0x0:_0x58b10b[_0x3dccb3(0x251)])!=null?_0x32bc11:Rs,_0x1941b8,_0x2fb13d);try{await this[_0x3dccb3(0x152)][_0x3dccb3(0x1e4)](_0x94049a,{'body':_0x4b4f91});}catch(_0x497b44){throw this['_logService'][_0x3dccb3(0x31e)]('[CollaborationSession]',_0x3dccb3(0x24c)),_0x497b44;}}async[_0x59b5b4(0x404)](_0x5b0705){var _0x3b0dd4=_0x59b5b4;const {unitID:_0x5ea35e,from:_0x3a8e5c,to:_0x43f9f6,unitType:_0x572f27}=_0x5b0705['data'];return(await this[_0x3b0dd4(0x24b)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x5ea35e,'type':_0x572f27,'from':_0x3a8e5c,'to':_0x43f9f6}))[_0x3b0dd4(0x35c)]['map'](_0x4dfae1=>((_0x4dfae1[_0x3b0dd4(0x30e)]===null||_0x4dfae1[_0x3b0dd4(0x30e)]===void 0x0)&&(_0x4dfae1[_0x3b0dd4(0x30e)]=[]),_0x4dfae1));}};Gt=Ys([ye(0x0,_0x1a58da(_0x304bd2)),ye(0x1,_0x1a58da(_0x28317b)),ye(0x2,_0x4cf79c),ye(0x3,_0x41f1d3),ye(0x4,_0x153314)],Gt);var qs=Object['getOwnPropertyDescriptor'],zs=(_0x4b75a3,_0x512ef9,_0x3774c7,_0x2933c0)=>{var _0x15e470=_0x59b5b4;for(var _0x4244de=_0x2933c0>0x1?void 0x0:_0x2933c0?qs(_0x512ef9,_0x3774c7):_0x512ef9,_0xf7ae01=_0x4b75a3[_0x15e470(0x1c0)]-0x1,_0x3350dc;_0xf7ae01>=0x0;_0xf7ae01--)(_0x3350dc=_0x4b75a3[_0xf7ae01])&&(_0x4244de=_0x3350dc(_0x4244de)||_0x4244de);return _0x4244de;},Re=(_0x2d6fce,_0x4cbbd8)=>(_0x2e4d5b,_0x4c2e6a)=>_0x4cbbd8(_0x2e4d5b,_0x4c2e6a,_0x2d6fce);let Le=class extends _0xc67a27{constructor(_0x52741b,_0x48d5d5,_0x224540,_0x357aa8,_0x4f8335,_0x41c888){var _0x408e8e=_0x59b5b4;super(),D(this,_0x408e8e(0x10d),new _0xfba9c5(void 0x0)),D(this,_0x408e8e(0x249),this[_0x408e8e(0x10d)][_0x408e8e(0x15a)]()),D(this,'_candidateSocket',null),D(this,_0x408e8e(0x120),new Map()),D(this,_0x408e8e(0x1a1),new _0xfba9c5(me['IDLE'])),D(this,_0x408e8e(0x19b),this[_0x408e8e(0x1a1)][_0x408e8e(0x15a)]()),D(this,'_socketReady',!0x1),D(this,_0x408e8e(0x23d)),D(this,'_retryCount',0x0),D(this,_0x408e8e(0x3d5)),D(this,_0x408e8e(0x204)),(this['_injector']=_0x52741b,this[_0x408e8e(0x12a)]=_0x48d5d5,this[_0x408e8e(0x3b5)]=_0x224540,this[_0x408e8e(0x3e1)]=_0x357aa8,this['_collaborationUIEventService']=_0x4f8335,this[_0x408e8e(0x222)]=_0x41c888,this['_listenToNetworkCondition']());}get[_0x59b5b4(0x15c)](){var _0x23b0d6=_0x59b5b4;return this[_0x23b0d6(0x10d)]['getValue']();}[_0x59b5b4(0x3d1)](){var _0x53416f=_0x59b5b4;this[_0x53416f(0x222)]&&this['disposeWithMe'](this[_0x53416f(0x222)][_0x53416f(0x353)][_0x53416f(0x326)](_0x11a73a=>{var _0x2c673d=_0x53416f;_0x11a73a&&!this[_0x2c673d(0x15c)]&&this[_0x2c673d(0x3f9)](),_0x11a73a||this['_onOffline']();}));}[_0x59b5b4(0x2b2)](){var _0x1c71ff=_0x59b5b4;super['dispose'](),this[_0x1c71ff(0x1bd)](),this[_0x1c71ff(0x286)](),this['_clearHeartbeatTimer'](),this['_sessions']['forEach'](_0xe3bcec=>_0xe3bcec[_0x1c71ff(0x2b2)]()),this['_sessions'][_0x1c71ff(0x2fc)](),this[_0x1c71ff(0x1a1)]['complete']();}async[_0x59b5b4(0xff)](_0x30f068){var _0x3ce9d5=_0x59b5b4;if(this[_0x3ce9d5(0x120)]['has'](_0x30f068))return this[_0x3ce9d5(0x120)]['get'](_0x30f068);this[_0x3ce9d5(0x30a)]();const _0x4a0c12=this[_0x3ce9d5(0x160)]['createInstance'](mt,_0x30f068,this[_0x3ce9d5(0x10d)]['asObservable']());return this['_sessions'][_0x3ce9d5(0x321)](_0x30f068,_0x4a0c12),_0x4a0c12;}[_0x59b5b4(0x100)](_0x3d003e){var _0x52cfa1=_0x59b5b4,_0x3733cc;const _0x3d6196=this[_0x52cfa1(0x120)][_0x52cfa1(0x21f)](_0x3d003e);_0x3d6196&&(this['_sessions'][_0x52cfa1(0x192)](_0x3d003e),_0x3d6196[_0x52cfa1(0x145)]()),this[_0x52cfa1(0x120)][_0x52cfa1(0x1ad)]||(_0x3733cc=this[_0x52cfa1(0x15c)])==null||_0x3733cc[_0x52cfa1(0x145)]();}[_0x59b5b4(0x3f9)](){var _0x2b81b3=_0x59b5b4;this[_0x2b81b3(0x1a6)]=0x0,this[_0x2b81b3(0x1bd)](),this['_tryReconnect']();}[_0x59b5b4(0x1bd)](){var _0x58e029=_0x59b5b4;this[_0x58e029(0x23d)]!=null&&(clearTimeout(this[_0x58e029(0x23d)]),this[_0x58e029(0x23d)]=null);}async[_0x59b5b4(0x196)](){var _0x379fb7=_0x59b5b4,_0x29eec4;const _0x2430d3=this['_configService']['getConfig'](K),_0x4b7d43=(_0x29eec4=_0x2430d3==null?void 0x0:_0x2430d3[_0x379fb7(0x21d)])!=null?_0x29eec4:ms,_0x18fb7b=await this[_0x379fb7(0x3e1)][_0x379fb7(0x2e1)](_0x4b7d43);return this[_0x379fb7(0x103)]=_0x18fb7b,_0x18fb7b;}async[_0x59b5b4(0x30a)](){var _0x3e8153=_0x59b5b4,_0x5a3e77,_0x5bc639;try{const _0x5defb3=(_0x5bc639=(_0x5a3e77=this['_socket'])!=null?_0x5a3e77:this[_0x3e8153(0x103)])!=null?_0x5bc639:await this['_createSocket']();if(_0x5defb3){const _0x304f46=_0x5defb3[_0x3e8153(0x1d9)];_0x5defb3[_0x3e8153(0x1d9)]=_0x47031e=>(this[_0x3e8153(0xfc)](),_0x304f46['apply'](_0x5defb3,[_0x47031e])),_0x5defb3['message$']['subscribe'](_0x7a365=>this[_0x3e8153(0x114)](_0x5defb3,_0x7a365)),_0x5defb3['error$'][_0x3e8153(0x3fe)](_0x305e89(0x1))[_0x3e8153(0x326)](_0x1eabc3=>this[_0x3e8153(0x12a)][_0x3e8153(0x31e)](_0x3e8153(0x15b),_0x1eabc3)),_0x5defb3[_0x3e8153(0x14f)][_0x3e8153(0x3fe)](_0x305e89(0x1))[_0x3e8153(0x326)](()=>{var _0x582a99=_0x3e8153;this[_0x582a99(0xf6)](_0x5defb3);}),_0x5defb3[_0x3e8153(0x1ec)][_0x3e8153(0x3fe)](_0x305e89(0x1))['subscribe'](_0x20aa46=>{var _0x472a2f=_0x3e8153;this[_0x472a2f(0x12a)][_0x472a2f(0x166)](_0x472a2f(0x3bc),_0x472a2f(0x141),_0x20aa46),this['_onConnectionFailed']();});}}catch(_0x39d9df){this[_0x3e8153(0x12a)][_0x3e8153(0x31e)](_0x39d9df),this[_0x3e8153(0x18b)]();}}['_onConnectionOpen'](_0x3a82f3){var _0x343fcc=_0x59b5b4;this[_0x343fcc(0x12a)][_0x343fcc(0x166)](_0x343fcc(0x3bc),_0x343fcc(0x105)),_0x3a82f3[_0x343fcc(0x1d9)]({'cmd':j['HELLO']}),this[_0x343fcc(0xfc)]();}[_0x59b5b4(0x2fd)](){var _0x29ca49=_0x59b5b4;this[_0x29ca49(0x375)]=!0x1,this[_0x29ca49(0x103)]=null,this[_0x29ca49(0x1a1)]['next'](me[_0x29ca49(0x1d3)]),this['_socket$']['next'](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x59b5b4(0x18b)](){var _0x253931=_0x59b5b4,_0x541cd4;this[_0x253931(0x2fd)](),this[_0x253931(0x1a6)]<((_0x541cd4=this['_configService'][_0x253931(0x1c1)](Ts))!=null?_0x541cd4:Os)?(this[_0x253931(0x3d7)][_0x253931(0xf1)]({'id':re[_0x253931(0xe4)]}),this[_0x253931(0x202)]()):this[_0x253931(0x3d7)][_0x253931(0xf1)]({'id':re[_0x253931(0x340)]});}[_0x59b5b4(0x202)](){var _0x1d4816=_0x59b5b4,_0x2ef5a8;const _0x4a203c=this[_0x1d4816(0x1a6)],_0x47ec56=this['_configService'][_0x1d4816(0x1c1)](K),_0x582b2e=_0x4a203c===0x0?0x0:((_0x2ef5a8=_0x47ec56==null?void 0x0:_0x47ec56[_0x1d4816(0x1f6)])!=null?_0x2ef5a8:gs)*0x2**_0x4a203c;this[_0x1d4816(0x23d)]=setTimeout(()=>{var _0x1d2195=_0x1d4816;clearTimeout(this['_retryConnectingTimer']),this[_0x1d2195(0x23d)]=null,this[_0x1d2195(0x30a)]();},_0x582b2e),this[_0x1d4816(0x1a6)]+=0x1;}[_0x59b5b4(0x114)](_0x172e72,_0x503364){var _0x3cdb15=_0x59b5b4;const {cmd:_0x4787e6}=_0x503364;_0x4787e6===j['HELLO']&&!this['_socketReady']&&(_0x172e72[_0x3cdb15(0x1c4)]=_0x503364['data'][_0x3cdb15(0x1c4)],this[_0x3cdb15(0x10d)]['next'](_0x172e72),this[_0x3cdb15(0x1a1)][_0x3cdb15(0x283)](me['ONLINE']),this[_0x3cdb15(0x375)]=!0x0,this[_0x3cdb15(0x103)]=null),_0x4787e6===j[_0x3cdb15(0x211)]&&this[_0x3cdb15(0x286)](),this['_rescheduleHeartbeat']();}[_0x59b5b4(0xfc)](){var _0x49a896=_0x59b5b4,_0x323727;this['_clearHeartbeatTimer'](),this[_0x49a896(0x3d5)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x323727=this[_0x49a896(0x3b5)][_0x49a896(0x1c1)](Is))!=null?_0x323727:Ss);}[_0x59b5b4(0x3e4)](){var _0xbf0913=_0x59b5b4;this[_0xbf0913(0x15c)][_0xbf0913(0x1d9)]({'cmd':j[_0xbf0913(0x211)]}),this[_0xbf0913(0x1f0)]();}[_0x59b5b4(0x1f0)](){var _0x18b06f=_0x59b5b4,_0x40d222;this[_0x18b06f(0x204)]=setTimeout(()=>this[_0x18b06f(0x18b)](),(_0x40d222=this[_0x18b06f(0x3b5)][_0x18b06f(0x1c1)](di))!=null?_0x40d222:fi);}['_clearHeartbeatTimer'](){var _0x57204c=_0x59b5b4;this[_0x57204c(0x3d5)]!=null&&(clearTimeout(this[_0x57204c(0x3d5)]),this[_0x57204c(0x3d5)]=null);}[_0x59b5b4(0x286)](){var _0x312614=_0x59b5b4;this[_0x312614(0x204)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x312614(0x204)]=null);}};Le=zs([Re(0x0,_0x1a58da(_0x304bd2)),Re(0x1,_0x41f1d3),Re(0x2,_0x4cf79c),Re(0x3,Ri),Re(0x4,_0x1a58da(ve)),Re(0x5,_0x24a4ee(js))],Le);var Xs=Object[_0x59b5b4(0x298)],Js=(_0x2bf6b7,_0x26212c,_0x4e99ff,_0x314708)=>{var _0x436f47=_0x59b5b4;for(var _0x1e56aa=_0x314708>0x1?void 0x0:_0x314708?Xs(_0x26212c,_0x4e99ff):_0x26212c,_0x514d5c=_0x2bf6b7[_0x436f47(0x1c0)]-0x1,_0x52f248;_0x514d5c>=0x0;_0x514d5c--)(_0x52f248=_0x2bf6b7[_0x514d5c])&&(_0x1e56aa=_0x52f248(_0x1e56aa)||_0x1e56aa);return _0x1e56aa;},Be=(_0x5f3452,_0x3afb23)=>(_0x10be96,_0x109ca4)=>_0x3afb23(_0x10be96,_0x109ca4,_0x5f3452);let nt=class extends _0x5385ac{constructor(_0x207eeb,_0x53cf79,_0x4df73b,_0x1cd7bc){var _0x504598=_0x59b5b4,_0x3ca970;super(),D(this,'_entities',new Map()),D(this,'_entityInit$',new _0x392b17()),D(this,_0x504598(0x124),this[_0x504598(0x235)][_0x504598(0x15a)]()),(this[_0x504598(0x160)]=_0x207eeb,this[_0x504598(0x39d)]=_0x53cf79,this[_0x504598(0x3b5)]=_0x4df73b,this[_0x504598(0xfa)]=_0x1cd7bc,((_0x3ca970=this[_0x504598(0x3b5)][_0x504598(0x1c1)](K))==null?void 0x0:_0x3ca970[_0x504598(0x2a0)])!==!0x1&&this[_0x504598(0x28b)]());}['dispose'](){var _0x45dff6=_0x59b5b4;super[_0x45dff6(0x2b2)](),this[_0x45dff6(0x35d)][_0x45dff6(0x22f)](_0x1c9d44=>_0x1c9d44['dispose']()),this[_0x45dff6(0x35d)][_0x45dff6(0x2fc)]();}[_0x59b5b4(0x32d)](_0x5dd1bf){var _0x15a733=_0x59b5b4,_0x3fc5e4;return(_0x3fc5e4=this[_0x15a733(0x35d)][_0x15a733(0x21f)](_0x5dd1bf))!=null?_0x3fc5e4:null;}[_0x59b5b4(0x159)](_0x314324){var _0xaf42da=_0x59b5b4;const _0x447335=this[_0xaf42da(0x32d)](_0x314324);return _0x447335?_0x27446f(_0x447335):this['_entityInit$'][_0xaf42da(0x3fe)](_0x2264c4(_0x5de21a=>_0x5de21a[_0xaf42da(0x266)]===_0x314324));}[_0x59b5b4(0x1fc)](_0x1d236f){return _0x21f454(this['getCollabEntity$'](_0x1d236f)['pipe'](_0x3f2333(()=>{})));}[_0x59b5b4(0x28b)](){var _0x491074=_0x59b5b4;this[_0x491074(0xfa)][_0x491074(0x184)](_0x5160b0[_0x491074(0x21e)])[_0x491074(0x3fe)](_0x4620b1(this['dispose$']),_0xc7b00c(0x10))[_0x491074(0x326)](async _0x129d4e=>{var _0x3cf258=_0x491074;const _0x2b3ede=_0x129d4e[_0x3cf258(0x115)](),_0xeaa0bd=await this[_0x3cf258(0x2ec)](_0x2b3ede,Q[_0x3cf258(0x21e)]);this[_0x3cf258(0x35d)][_0x3cf258(0x321)](_0x2b3ede,_0xeaa0bd);}),this[_0x491074(0xfa)]['getTypeOfUnitAdded$'](_0x5160b0[_0x491074(0x33f)])[_0x491074(0x3fe)](_0x4620b1(this[_0x491074(0x312)]),_0xc7b00c(0x10))[_0x491074(0x3fe)](_0x2264c4(_0x1d6a4f=>!_0x1d6a4f[_0x491074(0x115)]()[_0x491074(0x3df)]('__')))[_0x491074(0x326)](async _0x27502b=>{var _0x3583f7=_0x491074;const _0x1030d9=_0x27502b[_0x3583f7(0x115)](),_0x45974c=await this[_0x3583f7(0x2ec)](_0x1030d9,Q[_0x3583f7(0x33f)]);this[_0x3583f7(0x35d)][_0x3583f7(0x321)](_0x1030d9,_0x45974c);}),_0x58a98c(this[_0x491074(0xfa)][_0x491074(0x3de)](_0x5160b0[_0x491074(0x21e)]),this[_0x491074(0xfa)][_0x491074(0x3de)](_0x5160b0['UNIVER_DOC']))['pipe'](_0x4620b1(this[_0x491074(0x312)]))['subscribe'](_0x59d513=>{var _0x3cd0a2=_0x491074;const _0x1217f9=_0x59d513[_0x3cd0a2(0x115)](),_0x40f8d6=this[_0x3cd0a2(0x35d)][_0x3cd0a2(0x21f)](_0x1217f9);_0x40f8d6&&(_0x40f8d6['dispose'](),this[_0x3cd0a2(0x35d)]['delete'](_0x1217f9));});}async[_0x59b5b4(0x2ec)](_0x136ddc,_0x280174){var _0x50ffce=_0x59b5b4;const _0x21a2ab=await this[_0x50ffce(0x39d)]['requireSession'](_0x136ddc),_0x1bc626=this[_0x50ffce(0x160)]['createInstance'](this[_0x50ffce(0x297)](_0x280174),_0x136ddc,_0x280174,_0x21a2ab);return await _0x1bc626[_0x50ffce(0x138)](),this[_0x50ffce(0x235)][_0x50ffce(0x283)](_0x1bc626),_0x1bc626;}[_0x59b5b4(0x297)](_0x4a483c){var _0x27a95a=_0x59b5b4;switch(_0x4a483c){case Q[_0x27a95a(0x33f)]:return It;case Q[_0x27a95a(0x21e)]:return St;default:throw new Error(_0x27a95a(0x2cb)+_0x4a483c);}}};nt=Js([Be(0x0,_0x1a58da(_0x304bd2)),Be(0x1,_0x1a58da(Le)),Be(0x2,_0x4cf79c),Be(0x3,_0x33b121)],nt);var Zs=Object['getOwnPropertyDescriptor'],Qs=(_0x1c44ce,_0x1e753a,_0x16d3d0,_0x59768f)=>{var _0x455e78=_0x59b5b4;for(var _0x53d84b=_0x59768f>0x1?void 0x0:_0x59768f?Zs(_0x1e753a,_0x16d3d0):_0x1e753a,_0x3cb49d=_0x1c44ce[_0x455e78(0x1c0)]-0x1,_0x558861;_0x3cb49d>=0x0;_0x3cb49d--)(_0x558861=_0x1c44ce[_0x3cb49d])&&(_0x53d84b=_0x558861(_0x53d84b)||_0x53d84b);return _0x53d84b;},Wt=(_0x5ad898,_0x540b50)=>(_0x20b7fe,_0x5d00f9)=>_0x540b50(_0x20b7fe,_0x5d00f9,_0x5ad898);const en=_0x59b5b4(0x168),tn='Univer';let gt=class extends _0xc67a27{constructor(_0x2363f7,_0x1b7b4e){var _0x5d80dc=_0x59b5b4;super(),this[_0x5d80dc(0xfa)]=_0x2363f7,this[_0x5d80dc(0x3b5)]=_0x1b7b4e,this[_0x5d80dc(0x28b)]();}[_0x59b5b4(0x28b)](){var _0x17fc24=_0x59b5b4;this['disposeWithMe'](this[_0x17fc24(0xfa)][_0x17fc24(0x1d0)][_0x17fc24(0x326)](()=>{var _0x1421be=_0x17fc24,_0x18b2fc;const _0x589735=this[_0x1421be(0xfa)]['getFocusedUnit']();let _0x534a7c=(_0x18b2fc=this[_0x1421be(0x3b5)]['getConfig'](en))!=null?_0x18b2fc:tn;_0x589735 instanceof _0x3bc15c&&(_0x534a7c=_0x589735['name']),document['title']=_0x534a7c;}));}};gt=Qs([Wt(0x0,_0x33b121),Wt(0x1,_0x4cf79c)],gt);var sn=Object[_0x59b5b4(0x298)],nn=(_0x8f9e69,_0x13befe,_0x5e9913,_0x268343)=>{var _0x205f97=_0x59b5b4;for(var _0x1cabbf=_0x268343>0x1?void 0x0:_0x268343?sn(_0x13befe,_0x5e9913):_0x13befe,_0x2fdc17=_0x8f9e69[_0x205f97(0x1c0)]-0x1,_0x3b05af;_0x2fdc17>=0x0;_0x2fdc17--)(_0x3b05af=_0x8f9e69[_0x2fdc17])&&(_0x1cabbf=_0x3b05af(_0x1cabbf)||_0x1cabbf);return _0x1cabbf;},dt=(_0x15b44e,_0x4a295d)=>(_0x191e11,_0x279fdd)=>_0x4a295d(_0x191e11,_0x279fdd,_0x15b44e);let rt=class{constructor(_0x4bc46a,_0x2dd4a5,_0x45413b){var _0x3f8f16=_0x59b5b4;this['_configService']=_0x4bc46a,this['_httpService']=_0x2dd4a5,this[_0x3f8f16(0x270)]=_0x45413b,this[_0x3f8f16(0x138)]();}['init'](){var _0x2bce34=_0x59b5b4;this['_httpService'][_0x2bce34(0x261)]({'priority':0x1,'interceptor':(_0x36e73a,_0x59d7c7)=>_0x59d7c7(_0x36e73a)['pipe'](_0x2c5b73(async _0x2bb1d6=>{var _0x5f3dfd=_0x2bce34;const _0x274a14=_0x2bb1d6;if(_0x274a14['status']===0x191){if(typeof window>'u')throw new Error(_0x5f3dfd(0x2f6));if(window[_0x5f3dfd(0x1bf)](this[_0x5f3dfd(0x270)]['t']('auth.needGotoLoginAlert'))){const _0x31d07c=window[_0x5f3dfd(0x27e)](window[_0x5f3dfd(0x2c6)][_0x5f3dfd(0x119)]);window[_0x5f3dfd(0x2c6)][_0x5f3dfd(0x119)]=this['_getLoginPath']()+_0x5f3dfd(0x2fe)+_0x31d07c;}}return _0x274a14;}))});}[_0x59b5b4(0x3f2)](){var _0x378a21=_0x59b5b4,_0x2a566b;const _0x25af78=this['_configService'][_0x378a21(0x1c1)](K);return(_0x2a566b=_0x25af78==null?void 0x0:_0x25af78[_0x378a21(0x17f)])!=null?_0x2a566b:Ns;}};rt=nn([dt(0x0,_0x4cf79c),dt(0x1,_0x1a58da(_0x28317b)),dt(0x2,_0x1a58da(_0x37628b))],rt);var rn=Object[_0x59b5b4(0x298)],an=(_0x30022f,_0x28b8cb,_0x10fd7e,_0x1c2ba8)=>{var _0x1c2c91=_0x59b5b4;for(var _0x30bd83=_0x1c2ba8>0x1?void 0x0:_0x1c2ba8?rn(_0x28b8cb,_0x10fd7e):_0x28b8cb,_0x406dfe=_0x30022f[_0x1c2c91(0x1c0)]-0x1,_0x2ed785;_0x406dfe>=0x0;_0x406dfe--)(_0x2ed785=_0x30022f[_0x406dfe])&&(_0x30bd83=_0x2ed785(_0x30bd83)||_0x30bd83);return _0x30bd83;},Yt=(_0x4cfc9a,_0x12f583)=>(_0x5efd4a,_0x16f6f0)=>_0x12f583(_0x5efd4a,_0x16f6f0,_0x4cfc9a);const on='/universer-api/authz';let Tt=class extends _0xc67a27{constructor(_0x4eda26,_0x32b51e){var _0x23f6a6=_0x59b5b4;super(),this[_0x23f6a6(0x268)]=_0x4eda26,this[_0x23f6a6(0x3b5)]=_0x32b51e,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x206182=_0x59b5b4;const _0x3f6bc0=this;this[_0x206182(0x2d9)](this[_0x206182(0x268)][_0x206182(0x261)]({'priority':0x3e7,'interceptor':_0x3a07d1({'isMatch'(_0x5b80dd){var _0x2c15d9=_0x206182,_0x5be514;if(_0x5b80dd[_0x2c15d9(0x15f)]===_0x2c15d9(0x2ed)&&((_0x5be514=_0x5b80dd[_0x2c15d9(0x180)])!=null&&_0x5be514[_0x2c15d9(0x1aa)])){const {objectID:_0x47c45a,objectType:_0x4db5f4}=_0x5b80dd[_0x2c15d9(0x180)][_0x2c15d9(0x1aa)]||{};if(!_0x47c45a||_0x4db5f4===void 0x0)return!0x1;const _0xc89388=_0x3f6bc0[_0x2c15d9(0x2f8)]()+'/'+_0x4db5f4+_0x2c15d9(0x1ea)+_0x47c45a+_0x2c15d9(0x2f4);if(_0x5b80dd['url']===_0xc89388)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x56220f){var _0x4f4cc9=_0x206182,_0x520e5d;return(_0x520e5d=_0x56220f[_0x4f4cc9(0x180)])==null?void 0x0:_0x520e5d[_0x4f4cc9(0x1aa)];},'mergeParamsToRequest'(_0xafd1a8,_0x55d8e4){var _0x8778a6=_0x206182;const _0xa5697=_0x3f6bc0['_getAPIPrefixPath']()+_0x8778a6(0x13b),_0x4795ee=_0xafd1a8[_0x8778a6(0x194)]((_0x169f2b,_0x20b995)=>{var _0x116cde=_0x8778a6;const {unitID:_0x3e69c6,objectID:_0xda13d2,objectType:_0x51de3d,actions:_0xc0dd18}=_0x20b995;return _0x169f2b[_0x3e69c6]||(_0x169f2b[_0x3e69c6]={}),_0x169f2b[_0x3e69c6][_0xda13d2]||(_0x169f2b[_0x3e69c6][_0xda13d2]={'objectID':_0xda13d2,'objectType':_0x51de3d,'actions':[]}),_0x169f2b[_0x3e69c6][_0xda13d2][_0x116cde(0x278)]['push'](..._0xc0dd18),_0x169f2b;},{}),_0x4e1659=[];for(const _0x1f3a74 in _0x4795ee)for(const _0x357403 in _0x4795ee[_0x1f3a74]){const {actions:_0x112cd9,objectType:_0x790160}=_0x4795ee[_0x1f3a74][_0x357403],_0x385ea6=[...new Set(_0x112cd9)];_0x4e1659[_0x8778a6(0x2c8)]({'unitID':_0x1f3a74,'objectID':_0x357403,'objectType':_0x790160,'actions':_0x385ea6});}return new _0x469672(_0x8778a6(0x2ed),_0xa5697,{'headers':_0x55d8e4['headers'],'withCredentials':_0x55d8e4[_0x8778a6(0x22b)],'responseType':_0x55d8e4[_0x8778a6(0x1ed)],'body':{'requests':_0x4e1659}});}},{'distributeResult'(_0x49794,_0x33c932){var _0x219e8a=_0x206182;const {objectActions:_0x5c4066}=_0x49794;return _0x33c932[_0x219e8a(0x1a3)](_0x5c583b=>{var _0x4d6a30=_0x219e8a;const {unitID:_0x3da7c4,objectID:_0x33b2eb,actions:_0x2809e4}=_0x5c583b,_0x4323eb=_0x5c4066['find'](_0x209f85=>_0x209f85[_0x4d6a30(0x266)]===_0x3da7c4&&_0x209f85['objectID']===_0x33b2eb),_0x2c6cbe=_0x2809e4[_0x4d6a30(0x1a3)](_0x5a2b3c=>_0x4323eb==null?void 0x0:_0x4323eb[_0x4d6a30(0x278)][_0x4d6a30(0x38c)](_0x35b4b7=>_0x35b4b7[_0x4d6a30(0x1c3)]===_0x5a2b3c))[_0x4d6a30(0x403)](_0x224611=>!!_0x224611);return{'config':_0x5c583b,'result':{'actions':_0x2c6cbe,'error':_0x49794[_0x4d6a30(0x31e)]}};});}})}));}[_0x59b5b4(0x2f8)](){var _0x5d6f1c=_0x59b5b4,_0x47f4c2;const _0x2cd782=this[_0x5d6f1c(0x3b5)][_0x5d6f1c(0x1c1)](K);return(_0x47f4c2=_0x2cd782==null?void 0x0:_0x2cd782['authzUrl'])!=null?_0x47f4c2:on;}async['create'](_0x5d614f){var _0x180f7f=_0x59b5b4;const _0xd5b161=this['_getAPIPrefixPath']()+'/'+_0x5d614f['objectType']+_0x180f7f(0x358);return(await this[_0x180f7f(0x268)][_0x180f7f(0x1e4)](_0xd5b161,{'body':_0x5d614f}))['body'][_0x180f7f(0x384)]||'';}async[_0x59b5b4(0x1f1)](_0x37fe27){var _0x55bdf4=_0x59b5b4;const _0x372105=this[_0x55bdf4(0x2f8)]()+_0x55bdf4(0x3f8);return(await this[_0x55bdf4(0x268)][_0x55bdf4(0x1e4)](_0x372105,{'body':_0x37fe27}))[_0x55bdf4(0x1aa)][_0x55bdf4(0x36e)];}async['update'](_0x4d6799){var _0x3d4494=_0x59b5b4,_0x9489ea,_0x4b8318;const _0x18ece6=this[_0x3d4494(0x2f8)]()+'/'+_0x4d6799[_0x3d4494(0x19c)]+'/object/'+_0x4d6799[_0x3d4494(0x384)],_0x3ec4a7=await this[_0x3d4494(0x268)][_0x3d4494(0x12b)](_0x18ece6,{'body':_0x4d6799});if(((_0x4b8318=(_0x9489ea=_0x3ec4a7==null?void 0x0:_0x3ec4a7[_0x3d4494(0x1aa)])==null?void 0x0:_0x9489ea[_0x3d4494(0x31e)])==null?void 0x0:_0x4b8318[_0x3d4494(0x2dd)])!==0x1)throw new Error(_0x3d4494(0x23a));}async[_0x59b5b4(0x18d)](_0x2e6f65){var _0x528196=_0x59b5b4;const _0x47828d=this[_0x528196(0x2f8)]()+'/'+_0x2e6f65[_0x528196(0x19c)]+_0x528196(0x1ea)+_0x2e6f65[_0x528196(0x384)]+_0x528196(0x2f4);return(await this[_0x528196(0x268)][_0x528196(0x1e4)](_0x47828d,{'body':_0x2e6f65}))['body'][_0x528196(0x278)];}async[_0x59b5b4(0x2bc)](_0x16e2d4){var _0x4268f9=_0x59b5b4;const _0x2f6582=this[_0x4268f9(0x2f8)]()+_0x4268f9(0x13b);return(await this[_0x4268f9(0x268)][_0x4268f9(0x1e4)](_0x2f6582,{'body':{'requests':_0x16e2d4}}))[_0x4268f9(0x1aa)][_0x4268f9(0x263)];}async[_0x59b5b4(0x1e3)](_0x4eda71){var _0x28f928=_0x59b5b4;const _0x26ea72=this[_0x28f928(0x2f8)]()+'/'+_0x4eda71[_0x28f928(0x19c)]+'/role',_0x408c43=await this['_HTTPService'][_0x28f928(0x1e4)](_0x26ea72,{'body':_0x4eda71});return{'roles':_0x408c43[_0x28f928(0x1aa)][_0x28f928(0x27f)],'actions':_0x408c43[_0x28f928(0x1aa)][_0x28f928(0x278)]};}async['deleteCollaborator'](_0x315f65){var _0x35639d=_0x59b5b4;const _0x30ecab=this['_getAPIPrefixPath']()+_0x35639d(0x2a2);await this['_HTTPService'][_0x35639d(0x192)](_0x30ecab,{'params':{'collaboratorID':_0x315f65[_0x35639d(0x282)],'objectID':_0x315f65[_0x35639d(0x384)],'unitID':_0x315f65[_0x35639d(0x266)]}});}async[_0x59b5b4(0x3b3)](_0x488d10){var _0x341421=_0x59b5b4;const _0x31f0f4=this[_0x341421(0x2f8)]()+_0x341421(0x2a2);await this[_0x341421(0x268)][_0x341421(0x308)](_0x31f0f4,{'body':_0x488d10});}async[_0x59b5b4(0x2d3)](_0x4fa667){var _0x33875b=_0x59b5b4;const _0xcc714b=this[_0x33875b(0x2f8)]()+_0x33875b(0x2a2);await this[_0x33875b(0x268)][_0x33875b(0x1e4)](_0xcc714b,{'body':_0x4fa667});}async['listCollaborators'](_0x2d67b1){var _0x180d91=_0x59b5b4;const _0xd4a828=this[_0x180d91(0x2f8)]()+_0x180d91(0x2a2);return(await this[_0x180d91(0x268)][_0x180d91(0x21f)](_0xd4a828,{'params':{'objectID':_0x2d67b1[_0x180d91(0x384)],'unitID':_0x2d67b1[_0x180d91(0x266)]}}))[_0x180d91(0x1aa)][_0x180d91(0x187)];}async['putCollaborators'](_0x2a61cc){var _0x42e04b=_0x59b5b4;const _0x27ccd4=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x42e04b(0x12b)](_0x27ccd4,{'body':_0x2a61cc});}};Tt=an([Yt(0x0,_0x1a58da(_0x28317b)),Yt(0x1,_0x1a58da(_0x4cf79c))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x1b9e39){var _0x321b45=_0x59b5b4;return _0x1b9e39&&_0x1b9e39['__esModule']&&Object[_0x321b45(0x347)][_0x321b45(0x391)][_0x321b45(0x1e1)](_0x1b9e39,_0x321b45(0x1c7))?_0x1b9e39[_0x321b45(0x1c7)]:_0x1b9e39;}var Ve={'exports':{}};function cn(_0x246727){var _0x1bfe1d=_0x59b5b4;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x246727+_0x1bfe1d(0x3c9));}var Ge={'exports':{}},_n=Ge[_0x59b5b4(0xe3)],Kt;function ie(){return Kt||(Kt=0x1,function(_0x5ea224,_0x4a1285){(function(_0x548ffa,_0x50564f){_0x5ea224['exports']=_0x50564f();}(_n,function(){var _0x10244e=_0x10244e||function(_0x2290ed,_0x573a06){var _0x411df4=_0x2245,_0x3c437c;if(typeof window<'u'&&window[_0x411df4(0x1e5)]&&(_0x3c437c=window[_0x411df4(0x1e5)]),typeof self<'u'&&self[_0x411df4(0x1e5)]&&(_0x3c437c=self[_0x411df4(0x1e5)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3c437c=globalThis['crypto']),!_0x3c437c&&typeof window<'u'&&window[_0x411df4(0x11e)]&&(_0x3c437c=window[_0x411df4(0x11e)]),!_0x3c437c&&typeof ft<'u'&&ft[_0x411df4(0x1e5)]&&(_0x3c437c=ft[_0x411df4(0x1e5)]),!_0x3c437c&&typeof cn=='function')try{_0x3c437c=require('crypto');}catch{}var _0x15ea68=function(){var _0x1c2e13=_0x411df4;if(_0x3c437c){if(typeof _0x3c437c['getRandomValues']==_0x1c2e13(0x1e7))try{return _0x3c437c[_0x1c2e13(0x144)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3c437c[_0x1c2e13(0x37a)]=='function')try{return _0x3c437c[_0x1c2e13(0x37a)](0x4)[_0x1c2e13(0x2a4)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x1f7587=Object['create']||(function(){function _0x49fc36(){}return function(_0x363062){var _0x295db9=_0x2245,_0x3b2c0c;return _0x49fc36[_0x295db9(0x347)]=_0x363062,_0x3b2c0c=new _0x49fc36(),_0x49fc36['prototype']=null,_0x3b2c0c;};}()),_0x34dd87={},_0x3b3c2b=_0x34dd87[_0x411df4(0x260)]={},_0x5f2f98=_0x3b3c2b[_0x411df4(0x3f4)]=(function(){return{'extend':function(_0x3a3cd8){var _0x1a370c=_0x2245,_0x421b60=_0x1f7587(this);return _0x3a3cd8&&_0x421b60[_0x1a370c(0x398)](_0x3a3cd8),(!_0x421b60[_0x1a370c(0x391)](_0x1a370c(0x138))||this[_0x1a370c(0x138)]===_0x421b60[_0x1a370c(0x138)])&&(_0x421b60[_0x1a370c(0x138)]=function(){var _0x18faf3=_0x1a370c;_0x421b60['$super']['init'][_0x18faf3(0x1c6)](this,arguments);}),_0x421b60['init'][_0x1a370c(0x347)]=_0x421b60,_0x421b60[_0x1a370c(0x27b)]=this,_0x421b60;},'create':function(){var _0x2ef326=_0x2245,_0x37dbba=this[_0x2ef326(0x12e)]();return _0x37dbba['init'][_0x2ef326(0x1c6)](_0x37dbba,arguments),_0x37dbba;},'init':function(){},'mixIn':function(_0x2e46c8){var _0x30dc32=_0x2245;for(var _0x28841f in _0x2e46c8)_0x2e46c8[_0x30dc32(0x391)](_0x28841f)&&(this[_0x28841f]=_0x2e46c8[_0x28841f]);_0x2e46c8[_0x30dc32(0x391)](_0x30dc32(0x14d))&&(this['toString']=_0x2e46c8[_0x30dc32(0x14d)]);},'clone':function(){var _0x29d494=_0x2245;return this[_0x29d494(0x138)][_0x29d494(0x347)][_0x29d494(0x12e)](this);}};}()),_0x343eaf=_0x3b3c2b[_0x411df4(0x30c)]=_0x5f2f98[_0x411df4(0x12e)]({'init':function(_0xa3ded3,_0x159623){var _0x291fc7=_0x411df4;_0xa3ded3=this[_0x291fc7(0x147)]=_0xa3ded3||[],_0x159623!=_0x573a06?this['sigBytes']=_0x159623:this[_0x291fc7(0x385)]=_0xa3ded3[_0x291fc7(0x1c0)]*0x4;},'toString':function(_0x387e30){var _0x34c2a8=_0x411df4;return(_0x387e30||_0x3e24f3)[_0x34c2a8(0x273)](this);},'concat':function(_0x2c10cc){var _0x2d775f=_0x411df4,_0x3494fd=this[_0x2d775f(0x147)],_0x41922d=_0x2c10cc[_0x2d775f(0x147)],_0x172291=this[_0x2d775f(0x385)],_0x549964=_0x2c10cc[_0x2d775f(0x385)];if(this[_0x2d775f(0x2f9)](),_0x172291%0x4)for(var _0x3ed334=0x0;_0x3ed334<_0x549964;_0x3ed334++){var _0x478fdf=_0x41922d[_0x3ed334>>>0x2]>>>0x18-_0x3ed334%0x4*0x8&0xff;_0x3494fd[_0x172291+_0x3ed334>>>0x2]|=_0x478fdf<<0x18-(_0x172291+_0x3ed334)%0x4*0x8;}else{for(var _0x4de9e0=0x0;_0x4de9e0<_0x549964;_0x4de9e0+=0x4)_0x3494fd[_0x172291+_0x4de9e0>>>0x2]=_0x41922d[_0x4de9e0>>>0x2];}return this['sigBytes']+=_0x549964,this;},'clamp':function(){var _0x47a7ec=_0x411df4,_0xb170e4=this['words'],_0x3df12d=this[_0x47a7ec(0x385)];_0xb170e4[_0x3df12d>>>0x2]&=0xffffffff<<0x20-_0x3df12d%0x4*0x8,_0xb170e4['length']=_0x2290ed['ceil'](_0x3df12d/0x4);},'clone':function(){var _0x4464ad=_0x411df4,_0x4223bc=_0x5f2f98['clone'][_0x4464ad(0x1e1)](this);return _0x4223bc[_0x4464ad(0x147)]=this[_0x4464ad(0x147)]['slice'](0x0),_0x4223bc;},'random':function(_0x3bd50e){var _0x58951f=_0x411df4;for(var _0x293225=[],_0x2ed2bf=0x0;_0x2ed2bf<_0x3bd50e;_0x2ed2bf+=0x4)_0x293225['push'](_0x15ea68());return new _0x343eaf[(_0x58951f(0x138))](_0x293225,_0x3bd50e);}}),_0x5e4b93=_0x34dd87[_0x411df4(0x1dc)]={},_0x3e24f3=_0x5e4b93['Hex']={'stringify':function(_0x1128a8){var _0x73a32b=_0x411df4;for(var _0x282023=_0x1128a8['words'],_0x5c9a75=_0x1128a8['sigBytes'],_0xbfb0ff=[],_0x3f430f=0x0;_0x3f430f<_0x5c9a75;_0x3f430f++){var _0x253e91=_0x282023[_0x3f430f>>>0x2]>>>0x18-_0x3f430f%0x4*0x8&0xff;_0xbfb0ff['push']((_0x253e91>>>0x4)[_0x73a32b(0x14d)](0x10)),_0xbfb0ff[_0x73a32b(0x2c8)]((_0x253e91&0xf)['toString'](0x10));}return _0xbfb0ff[_0x73a32b(0x256)]('');},'parse':function(_0x1d7a64){var _0x5a7309=_0x411df4;for(var _0x1916a1=_0x1d7a64['length'],_0x105653=[],_0x121077=0x0;_0x121077<_0x1916a1;_0x121077+=0x2)_0x105653[_0x121077>>>0x3]|=parseInt(_0x1d7a64[_0x5a7309(0x3d0)](_0x121077,0x2),0x10)<<0x18-_0x121077%0x8*0x4;return new _0x343eaf[(_0x5a7309(0x138))](_0x105653,_0x1916a1/0x2);}},_0x4ca1cd=_0x5e4b93[_0x411df4(0x264)]={'stringify':function(_0x220769){var _0x18ef79=_0x411df4;for(var _0x3c4198=_0x220769['words'],_0x46317f=_0x220769[_0x18ef79(0x385)],_0x59278f=[],_0x3ec632=0x0;_0x3ec632<_0x46317f;_0x3ec632++){var _0x45e64e=_0x3c4198[_0x3ec632>>>0x2]>>>0x18-_0x3ec632%0x4*0x8&0xff;_0x59278f[_0x18ef79(0x2c8)](String[_0x18ef79(0x16f)](_0x45e64e));}return _0x59278f[_0x18ef79(0x256)]('');},'parse':function(_0x2760a4){var _0x2604db=_0x411df4;for(var _0x473594=_0x2760a4[_0x2604db(0x1c0)],_0x80f393=[],_0x341a59=0x0;_0x341a59<_0x473594;_0x341a59++)_0x80f393[_0x341a59>>>0x2]|=(_0x2760a4[_0x2604db(0x2bd)](_0x341a59)&0xff)<<0x18-_0x341a59%0x4*0x8;return new _0x343eaf['init'](_0x80f393,_0x473594);}},_0x4488c3=_0x5e4b93[_0x411df4(0x1cf)]={'stringify':function(_0x21eadf){var _0x322fb5=_0x411df4;try{return decodeURIComponent(escape(_0x4ca1cd[_0x322fb5(0x273)](_0x21eadf)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x39e447){return _0x4ca1cd['parse'](unescape(encodeURIComponent(_0x39e447)));}},_0x4d7e08=_0x3b3c2b['BufferedBlockAlgorithm']=_0x5f2f98['extend']({'reset':function(){var _0x29f45e=_0x411df4;this[_0x29f45e(0x2c1)]=new _0x343eaf[(_0x29f45e(0x138))](),this['_nDataBytes']=0x0;},'_append':function(_0x468a2a){var _0x4aa111=_0x411df4;typeof _0x468a2a==_0x4aa111(0x21c)&&(_0x468a2a=_0x4488c3['parse'](_0x468a2a)),this[_0x4aa111(0x2c1)]['concat'](_0x468a2a),this[_0x4aa111(0x3a8)]+=_0x468a2a[_0x4aa111(0x385)];},'_process':function(_0x1b97a1){var _0xe6d799=_0x411df4,_0x2168ae,_0x57a641=this[_0xe6d799(0x2c1)],_0x5063c2=_0x57a641[_0xe6d799(0x147)],_0xc37a4=_0x57a641[_0xe6d799(0x385)],_0x466c5a=this[_0xe6d799(0x2b0)],_0x33cd85=_0x466c5a*0x4,_0x2eb975=_0xc37a4/_0x33cd85;_0x1b97a1?_0x2eb975=_0x2290ed[_0xe6d799(0x19f)](_0x2eb975):_0x2eb975=_0x2290ed['max']((_0x2eb975|0x0)-this[_0xe6d799(0x2c2)],0x0);var _0x2e05d3=_0x2eb975*_0x466c5a,_0x36f616=_0x2290ed[_0xe6d799(0x158)](_0x2e05d3*0x4,_0xc37a4);if(_0x2e05d3){for(var _0x102ba2=0x0;_0x102ba2<_0x2e05d3;_0x102ba2+=_0x466c5a)this[_0xe6d799(0x2cd)](_0x5063c2,_0x102ba2);_0x2168ae=_0x5063c2['splice'](0x0,_0x2e05d3),_0x57a641[_0xe6d799(0x385)]-=_0x36f616;}return new _0x343eaf['init'](_0x2168ae,_0x36f616);},'clone':function(){var _0x44bdc7=_0x411df4,_0x578d7b=_0x5f2f98[_0x44bdc7(0x28f)][_0x44bdc7(0x1e1)](this);return _0x578d7b[_0x44bdc7(0x2c1)]=this[_0x44bdc7(0x2c1)][_0x44bdc7(0x28f)](),_0x578d7b;},'_minBufferSize':0x0});_0x3b3c2b[_0x411df4(0x3b2)]=_0x4d7e08['extend']({'cfg':_0x5f2f98['extend'](),'init':function(_0x4323ee){var _0x274207=_0x411df4;this[_0x274207(0x236)]=this[_0x274207(0x236)]['extend'](_0x4323ee),this[_0x274207(0x379)]();},'reset':function(){var _0x1e11d5=_0x411df4;_0x4d7e08['reset'][_0x1e11d5(0x1e1)](this),this['_doReset']();},'update':function(_0x3f7b0b){var _0x2f0655=_0x411df4;return this['_append'](_0x3f7b0b),this[_0x2f0655(0x2f7)](),this;},'finalize':function(_0x1a0cac){_0x1a0cac&&this['_append'](_0x1a0cac);var _0x232f48=this['_doFinalize']();return _0x232f48;},'blockSize':0x10,'_createHelper':function(_0x383091){return function(_0x20f29d,_0x429799){return new _0x383091['init'](_0x429799)['finalize'](_0x20f29d);};},'_createHmacHelper':function(_0x4c5ffb){return function(_0x2459ec,_0x15f76c){return new _0x5b447c['HMAC']['init'](_0x4c5ffb,_0x15f76c)['finalize'](_0x2459ec);};}});var _0x5b447c=_0x34dd87[_0x411df4(0x189)]={};return _0x34dd87;}(Math);return _0x10244e;}));}(Ge)),Ge['exports'];}var We={'exports':{}},hn=We['exports'],qt;function Ni(){var _0x54a9cd=_0x59b5b4;return qt||(qt=0x1,function(_0x1a21cf,_0x5f5aa9){(function(_0x3b4cdd,_0x2e22d5){var _0x4bb668=_0x2245;_0x1a21cf[_0x4bb668(0xe3)]=_0x2e22d5(ie());}(hn,function(_0x12c47b){return(function(){var _0x218df9=_0x2245,_0x4f8e44=_0x12c47b,_0x41485a=_0x4f8e44[_0x218df9(0x260)],_0x5adb35=_0x41485a[_0x218df9(0x30c)],_0x41c0e7=_0x4f8e44[_0x218df9(0x1dc)];_0x41c0e7[_0x218df9(0x3a7)]={'stringify':function(_0x13f069){var _0x2663dc=_0x218df9,_0x2376b3=_0x13f069[_0x2663dc(0x147)],_0x24baf1=_0x13f069[_0x2663dc(0x385)],_0x122190=this[_0x2663dc(0x206)];_0x13f069[_0x2663dc(0x2f9)]();for(var _0x273349=[],_0xd1d608=0x0;_0xd1d608<_0x24baf1;_0xd1d608+=0x3)for(var _0x1911a7=_0x2376b3[_0xd1d608>>>0x2]>>>0x18-_0xd1d608%0x4*0x8&0xff,_0x57b6ac=_0x2376b3[_0xd1d608+0x1>>>0x2]>>>0x18-(_0xd1d608+0x1)%0x4*0x8&0xff,_0x196d23=_0x2376b3[_0xd1d608+0x2>>>0x2]>>>0x18-(_0xd1d608+0x2)%0x4*0x8&0xff,_0x3a1411=_0x1911a7<<0x10|_0x57b6ac<<0x8|_0x196d23,_0x4f42e9=0x0;_0x4f42e9<0x4&&_0xd1d608+_0x4f42e9*0.75<_0x24baf1;_0x4f42e9++)_0x273349[_0x2663dc(0x2c8)](_0x122190[_0x2663dc(0x3ca)](_0x3a1411>>>0x6*(0x3-_0x4f42e9)&0x3f));var _0xad7b63=_0x122190['charAt'](0x40);if(_0xad7b63){for(;_0x273349['length']%0x4;)_0x273349['push'](_0xad7b63);}return _0x273349[_0x2663dc(0x256)]('');},'parse':function(_0x4eeb91){var _0x358153=_0x218df9,_0x4670ae=_0x4eeb91[_0x358153(0x1c0)],_0xca00ad=this['_map'],_0x1c4ed4=this['_reverseMap'];if(!_0x1c4ed4){_0x1c4ed4=this[_0x358153(0x1be)]=[];for(var _0x285f48=0x0;_0x285f48<_0xca00ad[_0x358153(0x1c0)];_0x285f48++)_0x1c4ed4[_0xca00ad['charCodeAt'](_0x285f48)]=_0x285f48;}var _0x4f3294=_0xca00ad[_0x358153(0x3ca)](0x40);if(_0x4f3294){var _0x2d4372=_0x4eeb91[_0x358153(0x169)](_0x4f3294);_0x2d4372!==-0x1&&(_0x4670ae=_0x2d4372);}return _0x2fe3a5(_0x4eeb91,_0x4670ae,_0x1c4ed4);},'_map':_0x218df9(0x197)};function _0x2fe3a5(_0x4fed71,_0x5298e7,_0x297593){var _0x2b814f=_0x218df9;for(var _0x1c257e=[],_0x435b1c=0x0,_0x432ae6=0x0;_0x432ae6<_0x5298e7;_0x432ae6++)if(_0x432ae6%0x4){var _0xecd909=_0x297593[_0x4fed71[_0x2b814f(0x2bd)](_0x432ae6-0x1)]<<_0x432ae6%0x4*0x2,_0x5b32dc=_0x297593[_0x4fed71[_0x2b814f(0x2bd)](_0x432ae6)]>>>0x6-_0x432ae6%0x4*0x2,_0x13c585=_0xecd909|_0x5b32dc;_0x1c257e[_0x435b1c>>>0x2]|=_0x13c585<<0x18-_0x435b1c%0x4*0x8,_0x435b1c++;}return _0x5adb35[_0x2b814f(0x167)](_0x1c257e,_0x435b1c);}}()),_0x12c47b['enc']['Base64'];}));}(We)),We[_0x54a9cd(0xe3)];}var Ye={'exports':{}},ln=Ye[_0x59b5b4(0xe3)],zt;function un(){return zt||(zt=0x1,function(_0x408bd8,_0xc1c40f){(function(_0x430b46,_0x355726){_0x408bd8['exports']=_0x355726(ie());}(ln,function(_0x15aff7){var _0x49cbde=_0x2245;return function(_0x59c486){var _0x51efdc=_0x2245,_0x4d9630=_0x15aff7,_0x2be6a3=_0x4d9630[_0x51efdc(0x260)],_0x2af777=_0x2be6a3[_0x51efdc(0x30c)],_0x2dcad5=_0x2be6a3[_0x51efdc(0x3b2)],_0x1fe710=_0x4d9630[_0x51efdc(0x189)],_0x2f5d3f=[];(function(){var _0x5e60d6=_0x51efdc;for(var _0x196060=0x0;_0x196060<0x40;_0x196060++)_0x2f5d3f[_0x196060]=_0x59c486[_0x5e60d6(0xe9)](_0x59c486[_0x5e60d6(0x22a)](_0x196060+0x1))*0x100000000|0x0;}());var _0x4d3f46=_0x1fe710[_0x51efdc(0x13c)]=_0x2dcad5[_0x51efdc(0x12e)]({'_doReset':function(){var _0x11c69f=_0x51efdc;this[_0x11c69f(0x37f)]=new _0x2af777[(_0x11c69f(0x138))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x376225,_0x17f188){var _0x5cec14=_0x51efdc;for(var _0x55f8e2=0x0;_0x55f8e2<0x10;_0x55f8e2++){var _0x333c76=_0x17f188+_0x55f8e2,_0x16b00a=_0x376225[_0x333c76];_0x376225[_0x333c76]=(_0x16b00a<<0x8|_0x16b00a>>>0x18)&0xff00ff|(_0x16b00a<<0x18|_0x16b00a>>>0x8)&0xff00ff00;}var _0x1cb3f9=this[_0x5cec14(0x37f)]['words'],_0x136582=_0x376225[_0x17f188+0x0],_0x296854=_0x376225[_0x17f188+0x1],_0x2f3bff=_0x376225[_0x17f188+0x2],_0x3c7ee3=_0x376225[_0x17f188+0x3],_0x5671d5=_0x376225[_0x17f188+0x4],_0x2ae630=_0x376225[_0x17f188+0x5],_0x233d83=_0x376225[_0x17f188+0x6],_0x12f23d=_0x376225[_0x17f188+0x7],_0x335927=_0x376225[_0x17f188+0x8],_0x381191=_0x376225[_0x17f188+0x9],_0x21c54c=_0x376225[_0x17f188+0xa],_0x35778c=_0x376225[_0x17f188+0xb],_0x1598c1=_0x376225[_0x17f188+0xc],_0x16ecd8=_0x376225[_0x17f188+0xd],_0x2ec1d6=_0x376225[_0x17f188+0xe],_0x16a29d=_0x376225[_0x17f188+0xf],_0x42453e=_0x1cb3f9[0x0],_0x2e4555=_0x1cb3f9[0x1],_0x4b11a0=_0x1cb3f9[0x2],_0x5f262f=_0x1cb3f9[0x3];_0x42453e=_0x3bdef3(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x136582,0x7,_0x2f5d3f[0x0]),_0x5f262f=_0x3bdef3(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x296854,0xc,_0x2f5d3f[0x1]),_0x4b11a0=_0x3bdef3(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x2f3bff,0x11,_0x2f5d3f[0x2]),_0x2e4555=_0x3bdef3(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x3c7ee3,0x16,_0x2f5d3f[0x3]),_0x42453e=_0x3bdef3(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x5671d5,0x7,_0x2f5d3f[0x4]),_0x5f262f=_0x3bdef3(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x2ae630,0xc,_0x2f5d3f[0x5]),_0x4b11a0=_0x3bdef3(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x233d83,0x11,_0x2f5d3f[0x6]),_0x2e4555=_0x3bdef3(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x12f23d,0x16,_0x2f5d3f[0x7]),_0x42453e=_0x3bdef3(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x335927,0x7,_0x2f5d3f[0x8]),_0x5f262f=_0x3bdef3(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x381191,0xc,_0x2f5d3f[0x9]),_0x4b11a0=_0x3bdef3(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x21c54c,0x11,_0x2f5d3f[0xa]),_0x2e4555=_0x3bdef3(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x35778c,0x16,_0x2f5d3f[0xb]),_0x42453e=_0x3bdef3(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x1598c1,0x7,_0x2f5d3f[0xc]),_0x5f262f=_0x3bdef3(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x16ecd8,0xc,_0x2f5d3f[0xd]),_0x4b11a0=_0x3bdef3(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x2ec1d6,0x11,_0x2f5d3f[0xe]),_0x2e4555=_0x3bdef3(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x16a29d,0x16,_0x2f5d3f[0xf]),_0x42453e=_0x49140c(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x296854,0x5,_0x2f5d3f[0x10]),_0x5f262f=_0x49140c(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x233d83,0x9,_0x2f5d3f[0x11]),_0x4b11a0=_0x49140c(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x35778c,0xe,_0x2f5d3f[0x12]),_0x2e4555=_0x49140c(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x136582,0x14,_0x2f5d3f[0x13]),_0x42453e=_0x49140c(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x2ae630,0x5,_0x2f5d3f[0x14]),_0x5f262f=_0x49140c(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x21c54c,0x9,_0x2f5d3f[0x15]),_0x4b11a0=_0x49140c(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x16a29d,0xe,_0x2f5d3f[0x16]),_0x2e4555=_0x49140c(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x5671d5,0x14,_0x2f5d3f[0x17]),_0x42453e=_0x49140c(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x381191,0x5,_0x2f5d3f[0x18]),_0x5f262f=_0x49140c(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x2ec1d6,0x9,_0x2f5d3f[0x19]),_0x4b11a0=_0x49140c(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x3c7ee3,0xe,_0x2f5d3f[0x1a]),_0x2e4555=_0x49140c(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x335927,0x14,_0x2f5d3f[0x1b]),_0x42453e=_0x49140c(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x16ecd8,0x5,_0x2f5d3f[0x1c]),_0x5f262f=_0x49140c(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x2f3bff,0x9,_0x2f5d3f[0x1d]),_0x4b11a0=_0x49140c(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x12f23d,0xe,_0x2f5d3f[0x1e]),_0x2e4555=_0x49140c(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x1598c1,0x14,_0x2f5d3f[0x1f]),_0x42453e=_0xfc40b2(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x2ae630,0x4,_0x2f5d3f[0x20]),_0x5f262f=_0xfc40b2(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x335927,0xb,_0x2f5d3f[0x21]),_0x4b11a0=_0xfc40b2(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x35778c,0x10,_0x2f5d3f[0x22]),_0x2e4555=_0xfc40b2(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x2ec1d6,0x17,_0x2f5d3f[0x23]),_0x42453e=_0xfc40b2(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x296854,0x4,_0x2f5d3f[0x24]),_0x5f262f=_0xfc40b2(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x5671d5,0xb,_0x2f5d3f[0x25]),_0x4b11a0=_0xfc40b2(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x12f23d,0x10,_0x2f5d3f[0x26]),_0x2e4555=_0xfc40b2(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x21c54c,0x17,_0x2f5d3f[0x27]),_0x42453e=_0xfc40b2(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x16ecd8,0x4,_0x2f5d3f[0x28]),_0x5f262f=_0xfc40b2(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x136582,0xb,_0x2f5d3f[0x29]),_0x4b11a0=_0xfc40b2(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x3c7ee3,0x10,_0x2f5d3f[0x2a]),_0x2e4555=_0xfc40b2(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x233d83,0x17,_0x2f5d3f[0x2b]),_0x42453e=_0xfc40b2(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x381191,0x4,_0x2f5d3f[0x2c]),_0x5f262f=_0xfc40b2(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x1598c1,0xb,_0x2f5d3f[0x2d]),_0x4b11a0=_0xfc40b2(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x16a29d,0x10,_0x2f5d3f[0x2e]),_0x2e4555=_0xfc40b2(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x2f3bff,0x17,_0x2f5d3f[0x2f]),_0x42453e=_0x44cb91(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x136582,0x6,_0x2f5d3f[0x30]),_0x5f262f=_0x44cb91(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x12f23d,0xa,_0x2f5d3f[0x31]),_0x4b11a0=_0x44cb91(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x2ec1d6,0xf,_0x2f5d3f[0x32]),_0x2e4555=_0x44cb91(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x2ae630,0x15,_0x2f5d3f[0x33]),_0x42453e=_0x44cb91(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x1598c1,0x6,_0x2f5d3f[0x34]),_0x5f262f=_0x44cb91(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x3c7ee3,0xa,_0x2f5d3f[0x35]),_0x4b11a0=_0x44cb91(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x21c54c,0xf,_0x2f5d3f[0x36]),_0x2e4555=_0x44cb91(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x296854,0x15,_0x2f5d3f[0x37]),_0x42453e=_0x44cb91(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x335927,0x6,_0x2f5d3f[0x38]),_0x5f262f=_0x44cb91(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x16a29d,0xa,_0x2f5d3f[0x39]),_0x4b11a0=_0x44cb91(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x233d83,0xf,_0x2f5d3f[0x3a]),_0x2e4555=_0x44cb91(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x16ecd8,0x15,_0x2f5d3f[0x3b]),_0x42453e=_0x44cb91(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x5671d5,0x6,_0x2f5d3f[0x3c]),_0x5f262f=_0x44cb91(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x35778c,0xa,_0x2f5d3f[0x3d]),_0x4b11a0=_0x44cb91(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x2f3bff,0xf,_0x2f5d3f[0x3e]),_0x2e4555=_0x44cb91(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x381191,0x15,_0x2f5d3f[0x3f]),_0x1cb3f9[0x0]=_0x1cb3f9[0x0]+_0x42453e|0x0,_0x1cb3f9[0x1]=_0x1cb3f9[0x1]+_0x2e4555|0x0,_0x1cb3f9[0x2]=_0x1cb3f9[0x2]+_0x4b11a0|0x0,_0x1cb3f9[0x3]=_0x1cb3f9[0x3]+_0x5f262f|0x0;},'_doFinalize':function(){var _0x4e57e6=_0x51efdc,_0xf954a0=this[_0x4e57e6(0x2c1)],_0x48e055=_0xf954a0[_0x4e57e6(0x147)],_0x1e1354=this[_0x4e57e6(0x3a8)]*0x8,_0x3b969e=_0xf954a0[_0x4e57e6(0x385)]*0x8;_0x48e055[_0x3b969e>>>0x5]|=0x80<<0x18-_0x3b969e%0x20;var _0x15ac8b=_0x59c486[_0x4e57e6(0x39a)](_0x1e1354/0x100000000),_0x103c5a=_0x1e1354;_0x48e055[(_0x3b969e+0x40>>>0x9<<0x4)+0xf]=(_0x15ac8b<<0x8|_0x15ac8b>>>0x18)&0xff00ff|(_0x15ac8b<<0x18|_0x15ac8b>>>0x8)&0xff00ff00,_0x48e055[(_0x3b969e+0x40>>>0x9<<0x4)+0xe]=(_0x103c5a<<0x8|_0x103c5a>>>0x18)&0xff00ff|(_0x103c5a<<0x18|_0x103c5a>>>0x8)&0xff00ff00,_0xf954a0[_0x4e57e6(0x385)]=(_0x48e055[_0x4e57e6(0x1c0)]+0x1)*0x4,this[_0x4e57e6(0x2f7)]();for(var _0x1d841d=this[_0x4e57e6(0x37f)],_0x250d94=_0x1d841d[_0x4e57e6(0x147)],_0x1d77f6=0x0;_0x1d77f6<0x4;_0x1d77f6++){var _0x3d42f8=_0x250d94[_0x1d77f6];_0x250d94[_0x1d77f6]=(_0x3d42f8<<0x8|_0x3d42f8>>>0x18)&0xff00ff|(_0x3d42f8<<0x18|_0x3d42f8>>>0x8)&0xff00ff00;}return _0x1d841d;},'clone':function(){var _0x20c987=_0x51efdc,_0x206b02=_0x2dcad5[_0x20c987(0x28f)][_0x20c987(0x1e1)](this);return _0x206b02['_hash']=this[_0x20c987(0x37f)]['clone'](),_0x206b02;}});function _0x3bdef3(_0x56c5ef,_0x38c8bd,_0x2a088b,_0x5bc3c0,_0xe7655a,_0x2d42b6,_0xbc0752){var _0x36c5fc=_0x56c5ef+(_0x38c8bd&_0x2a088b|~_0x38c8bd&_0x5bc3c0)+_0xe7655a+_0xbc0752;return(_0x36c5fc<<_0x2d42b6|_0x36c5fc>>>0x20-_0x2d42b6)+_0x38c8bd;}function _0x49140c(_0x204ab7,_0x1f7ada,_0x2c3ca6,_0x2e3d98,_0x3a6fe8,_0x286143,_0x5f2a6f){var _0x1e93f7=_0x204ab7+(_0x1f7ada&_0x2e3d98|_0x2c3ca6&~_0x2e3d98)+_0x3a6fe8+_0x5f2a6f;return(_0x1e93f7<<_0x286143|_0x1e93f7>>>0x20-_0x286143)+_0x1f7ada;}function _0xfc40b2(_0x370041,_0x2f88ad,_0x57fd62,_0xd6182a,_0x18fb65,_0x5dc063,_0x528449){var _0xc0e6c2=_0x370041+(_0x2f88ad^_0x57fd62^_0xd6182a)+_0x18fb65+_0x528449;return(_0xc0e6c2<<_0x5dc063|_0xc0e6c2>>>0x20-_0x5dc063)+_0x2f88ad;}function _0x44cb91(_0x2af08c,_0x2bceb4,_0x95f2ff,_0x35ab9d,_0x2c4b9f,_0x2b86e3,_0x45c570){var _0x28b39b=_0x2af08c+(_0x95f2ff^(_0x2bceb4|~_0x35ab9d))+_0x2c4b9f+_0x45c570;return(_0x28b39b<<_0x2b86e3|_0x28b39b>>>0x20-_0x2b86e3)+_0x2bceb4;}_0x4d9630[_0x51efdc(0x13c)]=_0x2dcad5[_0x51efdc(0x373)](_0x4d3f46),_0x4d9630['HmacMD5']=_0x2dcad5[_0x51efdc(0x2cf)](_0x4d3f46);}(Math),_0x15aff7[_0x49cbde(0x13c)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},dn=qe[_0x59b5b4(0xe3)],Xt;function fn(){return Xt||(Xt=0x1,function(_0x237577,_0x1fd9e9){(function(_0x501a3f,_0x2151ea){var _0x17d1ff=_0x2245;_0x237577[_0x17d1ff(0xe3)]=_0x2151ea(ie());}(dn,function(_0x162394){var _0x3587c9=_0x2245;return(function(){var _0x3b50d7=_0x2245,_0xf34924=_0x162394,_0x54d0d1=_0xf34924[_0x3b50d7(0x260)],_0x453efa=_0x54d0d1[_0x3b50d7(0x30c)],_0x4a88e9=_0x54d0d1['Hasher'],_0x271f13=_0xf34924['algo'],_0x4e0073=[],_0x31c722=_0x271f13[_0x3b50d7(0x3dc)]=_0x4a88e9[_0x3b50d7(0x12e)]({'_doReset':function(){this['_hash']=new _0x453efa['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1d4999,_0xa50158){var _0x2b72fd=_0x3b50d7;for(var _0x5c0bc8=this[_0x2b72fd(0x37f)][_0x2b72fd(0x147)],_0x77bb47=_0x5c0bc8[0x0],_0x4110d1=_0x5c0bc8[0x1],_0x548a7e=_0x5c0bc8[0x2],_0x464a34=_0x5c0bc8[0x3],_0x2bc393=_0x5c0bc8[0x4],_0x35e744=0x0;_0x35e744<0x50;_0x35e744++){if(_0x35e744<0x10)_0x4e0073[_0x35e744]=_0x1d4999[_0xa50158+_0x35e744]|0x0;else{var _0x11f0ab=_0x4e0073[_0x35e744-0x3]^_0x4e0073[_0x35e744-0x8]^_0x4e0073[_0x35e744-0xe]^_0x4e0073[_0x35e744-0x10];_0x4e0073[_0x35e744]=_0x11f0ab<<0x1|_0x11f0ab>>>0x1f;}var _0x17737f=(_0x77bb47<<0x5|_0x77bb47>>>0x1b)+_0x2bc393+_0x4e0073[_0x35e744];_0x35e744<0x14?_0x17737f+=(_0x4110d1&_0x548a7e|~_0x4110d1&_0x464a34)+0x5a827999:_0x35e744<0x28?_0x17737f+=(_0x4110d1^_0x548a7e^_0x464a34)+0x6ed9eba1:_0x35e744<0x3c?_0x17737f+=(_0x4110d1&_0x548a7e|_0x4110d1&_0x464a34|_0x548a7e&_0x464a34)-0x70e44324:_0x17737f+=(_0x4110d1^_0x548a7e^_0x464a34)-0x359d3e2a,_0x2bc393=_0x464a34,_0x464a34=_0x548a7e,_0x548a7e=_0x4110d1<<0x1e|_0x4110d1>>>0x2,_0x4110d1=_0x77bb47,_0x77bb47=_0x17737f;}_0x5c0bc8[0x0]=_0x5c0bc8[0x0]+_0x77bb47|0x0,_0x5c0bc8[0x1]=_0x5c0bc8[0x1]+_0x4110d1|0x0,_0x5c0bc8[0x2]=_0x5c0bc8[0x2]+_0x548a7e|0x0,_0x5c0bc8[0x3]=_0x5c0bc8[0x3]+_0x464a34|0x0,_0x5c0bc8[0x4]=_0x5c0bc8[0x4]+_0x2bc393|0x0;},'_doFinalize':function(){var _0x1835bf=_0x3b50d7,_0xe80bee=this['_data'],_0x2b89ee=_0xe80bee[_0x1835bf(0x147)],_0x1e4c2a=this[_0x1835bf(0x3a8)]*0x8,_0x3a0782=_0xe80bee[_0x1835bf(0x385)]*0x8;return _0x2b89ee[_0x3a0782>>>0x5]|=0x80<<0x18-_0x3a0782%0x20,_0x2b89ee[(_0x3a0782+0x40>>>0x9<<0x4)+0xe]=Math[_0x1835bf(0x39a)](_0x1e4c2a/0x100000000),_0x2b89ee[(_0x3a0782+0x40>>>0x9<<0x4)+0xf]=_0x1e4c2a,_0xe80bee[_0x1835bf(0x385)]=_0x2b89ee[_0x1835bf(0x1c0)]*0x4,this[_0x1835bf(0x2f7)](),this['_hash'];},'clone':function(){var _0x331588=_0x3b50d7,_0x56c771=_0x4a88e9[_0x331588(0x28f)][_0x331588(0x1e1)](this);return _0x56c771[_0x331588(0x37f)]=this[_0x331588(0x37f)][_0x331588(0x28f)](),_0x56c771;}});_0xf34924[_0x3b50d7(0x3dc)]=_0x4a88e9[_0x3b50d7(0x373)](_0x31c722),_0xf34924[_0x3b50d7(0x1f3)]=_0x4a88e9[_0x3b50d7(0x2cf)](_0x31c722);}()),_0x162394[_0x3587c9(0x3dc)];}));}(qe)),qe['exports'];}var ze={'exports':{}},vn=ze[_0x59b5b4(0xe3)],Jt;function En(){return Jt||(Jt=0x1,function(_0x2611dd,_0x4a419a){(function(_0x4be14e,_0x2a6ee0){var _0x14cea3=_0x2245;_0x2611dd[_0x14cea3(0xe3)]=_0x2a6ee0(ie());}(vn,function(_0x3d8d30){(function(){var _0x4d0374=_0x2245,_0x167db4=_0x3d8d30,_0x3eab64=_0x167db4['lib'],_0x166185=_0x3eab64[_0x4d0374(0x3f4)],_0x3799c3=_0x167db4[_0x4d0374(0x1dc)],_0x42198f=_0x3799c3[_0x4d0374(0x1cf)],_0x2ef558=_0x167db4[_0x4d0374(0x189)];_0x2ef558[_0x4d0374(0x2a6)]=_0x166185[_0x4d0374(0x12e)]({'init':function(_0x3e2600,_0x5008d9){var _0x452e3b=_0x4d0374;_0x3e2600=this['_hasher']=new _0x3e2600[(_0x452e3b(0x138))](),typeof _0x5008d9==_0x452e3b(0x21c)&&(_0x5008d9=_0x42198f[_0x452e3b(0x213)](_0x5008d9));var _0x3a317a=_0x3e2600[_0x452e3b(0x2b0)],_0x43caac=_0x3a317a*0x4;_0x5008d9[_0x452e3b(0x385)]>_0x43caac&&(_0x5008d9=_0x3e2600[_0x452e3b(0x179)](_0x5008d9)),_0x5008d9[_0x452e3b(0x2f9)]();for(var _0x3dfc21=this[_0x452e3b(0x311)]=_0x5008d9[_0x452e3b(0x28f)](),_0x178cb6=this[_0x452e3b(0x18f)]=_0x5008d9[_0x452e3b(0x28f)](),_0x28b0a5=_0x3dfc21[_0x452e3b(0x147)],_0x1573da=_0x178cb6[_0x452e3b(0x147)],_0x2f48ea=0x0;_0x2f48ea<_0x3a317a;_0x2f48ea++)_0x28b0a5[_0x2f48ea]^=0x5c5c5c5c,_0x1573da[_0x2f48ea]^=0x36363636;_0x3dfc21[_0x452e3b(0x385)]=_0x178cb6[_0x452e3b(0x385)]=_0x43caac,this['reset']();},'reset':function(){var _0x524908=_0x4d0374,_0x5a55d4=this[_0x524908(0x1cb)];_0x5a55d4['reset'](),_0x5a55d4['update'](this['_iKey']);},'update':function(_0x244f9d){var _0x4ea463=_0x4d0374;return this['_hasher'][_0x4ea463(0x31b)](_0x244f9d),this;},'finalize':function(_0x420da0){var _0x51e375=_0x4d0374,_0x4a5a94=this[_0x51e375(0x1cb)],_0x343a63=_0x4a5a94[_0x51e375(0x179)](_0x420da0);_0x4a5a94['reset']();var _0x525558=_0x4a5a94[_0x51e375(0x179)](this[_0x51e375(0x311)]['clone']()[_0x51e375(0x3bb)](_0x343a63));return _0x525558;}});}());}));}(ze)),ze['exports'];}var pn=Ke[_0x59b5b4(0xe3)],Zt;function Ci(){var _0x175b6=_0x59b5b4;return Zt||(Zt=0x1,function(_0x28870a,_0x12eed0){(function(_0x5b793f,_0x491386,_0x4fd7b8){_0x28870a['exports']=_0x491386(ie(),fn(),En());}(pn,function(_0xa97ff4){return(function(){var _0x591f46=_0x2245,_0xdbef83=_0xa97ff4,_0x4890cd=_0xdbef83[_0x591f46(0x260)],_0x595360=_0x4890cd[_0x591f46(0x3f4)],_0x43576b=_0x4890cd[_0x591f46(0x30c)],_0x4daff8=_0xdbef83[_0x591f46(0x189)],_0x59ab13=_0x4daff8[_0x591f46(0x13c)],_0x5e94f4=_0x4daff8[_0x591f46(0xe1)]=_0x595360['extend']({'cfg':_0x595360[_0x591f46(0x12e)]({'keySize':0x80/0x20,'hasher':_0x59ab13,'iterations':0x1}),'init':function(_0x343067){var _0x41bae0=_0x591f46;this[_0x41bae0(0x236)]=this[_0x41bae0(0x236)][_0x41bae0(0x12e)](_0x343067);},'compute':function(_0x5b57a2,_0x4661dc){var _0x4dda30=_0x591f46;for(var _0x5e3334,_0x253384=this[_0x4dda30(0x236)],_0xb70d5a=_0x253384[_0x4dda30(0x343)][_0x4dda30(0x167)](),_0x369c03=_0x43576b['create'](),_0x1ed26c=_0x369c03['words'],_0x2fccbe=_0x253384[_0x4dda30(0x177)],_0x2b9af9=_0x253384[_0x4dda30(0x14e)];_0x1ed26c[_0x4dda30(0x1c0)]<_0x2fccbe;){_0x5e3334&&_0xb70d5a[_0x4dda30(0x31b)](_0x5e3334),_0x5e3334=_0xb70d5a[_0x4dda30(0x31b)](_0x5b57a2)[_0x4dda30(0x179)](_0x4661dc),_0xb70d5a[_0x4dda30(0x379)]();for(var _0x402899=0x1;_0x402899<_0x2b9af9;_0x402899++)_0x5e3334=_0xb70d5a[_0x4dda30(0x179)](_0x5e3334),_0xb70d5a[_0x4dda30(0x379)]();_0x369c03['concat'](_0x5e3334);}return _0x369c03[_0x4dda30(0x385)]=_0x2fccbe*0x4,_0x369c03;}});_0xdbef83[_0x591f46(0xe1)]=function(_0x2dd96b,_0x3cdff5,_0x1f3c48){var _0x996842=_0x591f46;return _0x5e94f4[_0x996842(0x167)](_0x1f3c48)[_0x996842(0x35e)](_0x2dd96b,_0x3cdff5);};}()),_0xa97ff4['EvpKDF'];}));}(Ke)),Ke[_0x175b6(0xe3)];}var Xe={'exports':{}},mn=Xe[_0x59b5b4(0xe3)],Qt;function bi(){var _0x206053=_0x59b5b4;return Qt||(Qt=0x1,function(_0x306157,_0x857452){(function(_0x2c1368,_0x361bf9,_0x242593){_0x306157['exports']=_0x361bf9(ie(),Ci());}(mn,function(_0x553b55){var _0x1596a3=_0x2245;_0x553b55['lib'][_0x1596a3(0x1b4)]||function(_0xa9983c){var _0x391532=_0x1596a3,_0x1d7195=_0x553b55,_0x310812=_0x1d7195['lib'],_0x38e5df=_0x310812[_0x391532(0x3f4)],_0x21c7bc=_0x310812['WordArray'],_0x5de043=_0x310812[_0x391532(0x232)],_0x4c4239=_0x1d7195[_0x391532(0x1dc)];_0x4c4239[_0x391532(0x1cf)];var _0x4a33ed=_0x4c4239[_0x391532(0x3a7)],_0x10919f=_0x1d7195[_0x391532(0x189)],_0x5bd594=_0x10919f['EvpKDF'],_0x9b8cf8=_0x310812['Cipher']=_0x5de043[_0x391532(0x12e)]({'cfg':_0x38e5df['extend'](),'createEncryptor':function(_0x9057dd,_0x1e0770){var _0x559418=_0x391532;return this[_0x559418(0x167)](this[_0x559418(0x301)],_0x9057dd,_0x1e0770);},'createDecryptor':function(_0x3ebadd,_0x152790){var _0x385074=_0x391532;return this[_0x385074(0x167)](this[_0x385074(0x3a6)],_0x3ebadd,_0x152790);},'init':function(_0x1726dc,_0x30073d,_0x4d1f27){var _0x24604c=_0x391532;this[_0x24604c(0x236)]=this[_0x24604c(0x236)][_0x24604c(0x12e)](_0x4d1f27),this[_0x24604c(0x116)]=_0x1726dc,this[_0x24604c(0x1a5)]=_0x30073d,this[_0x24604c(0x379)]();},'reset':function(){var _0x2eb0d4=_0x391532;_0x5de043[_0x2eb0d4(0x379)]['call'](this),this[_0x2eb0d4(0x255)]();},'process':function(_0x54b779){return this['_append'](_0x54b779),this['_process']();},'finalize':function(_0x376c8b){var _0x180f0b=_0x391532;_0x376c8b&&this[_0x180f0b(0x2fb)](_0x376c8b);var _0x5f25f4=this[_0x180f0b(0x13e)]();return _0x5f25f4;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x261e3d(_0x275b27){var _0x2b7e05=_0x2245;return typeof _0x275b27==_0x2b7e05(0x21c)?_0x76624b:_0x1321d1;}return function(_0xee370){return{'encrypt':function(_0x202c4f,_0x20dc7a,_0x1cc488){var _0x332515=_0x2245;return _0x261e3d(_0x20dc7a)[_0x332515(0x2d0)](_0xee370,_0x202c4f,_0x20dc7a,_0x1cc488);},'decrypt':function(_0xb19ff9,_0x1ed298,_0x420db5){var _0x10c2b5=_0x2245;return _0x261e3d(_0x1ed298)[_0x10c2b5(0x15e)](_0xee370,_0xb19ff9,_0x1ed298,_0x420db5);}};};}())});_0x310812[_0x391532(0x257)]=_0x9b8cf8[_0x391532(0x12e)]({'_doFinalize':function(){var _0x1bc0c0=this['_process'](!0x0);return _0x1bc0c0;},'blockSize':0x1});var _0x26a506=_0x1d7195[_0x391532(0x128)]={},_0x523508=_0x310812[_0x391532(0x316)]=_0x38e5df[_0x391532(0x12e)]({'createEncryptor':function(_0x4c91de,_0x12fc68){var _0x4ef057=_0x391532;return this[_0x4ef057(0x2bf)][_0x4ef057(0x167)](_0x4c91de,_0x12fc68);},'createDecryptor':function(_0x5e57ef,_0x52dabf){var _0x5a6d06=_0x391532;return this['Decryptor'][_0x5a6d06(0x167)](_0x5e57ef,_0x52dabf);},'init':function(_0xee76c6,_0x122251){var _0x124f15=_0x391532;this['_cipher']=_0xee76c6,this[_0x124f15(0x38b)]=_0x122251;}}),_0x58cbaf=_0x26a506['CBC']=(function(){var _0x162dff=_0x391532,_0x54dcc4=_0x523508['extend']();_0x54dcc4[_0x162dff(0x2bf)]=_0x54dcc4['extend']({'processBlock':function(_0x598d47,_0xa6b38){var _0x5a6c3a=_0x162dff,_0x5a1208=this[_0x5a6c3a(0xea)],_0x5f579a=_0x5a1208[_0x5a6c3a(0x2b0)];_0x22b587[_0x5a6c3a(0x1e1)](this,_0x598d47,_0xa6b38,_0x5f579a),_0x5a1208[_0x5a6c3a(0x239)](_0x598d47,_0xa6b38),this[_0x5a6c3a(0x363)]=_0x598d47[_0x5a6c3a(0x248)](_0xa6b38,_0xa6b38+_0x5f579a);}}),_0x54dcc4['Decryptor']=_0x54dcc4[_0x162dff(0x12e)]({'processBlock':function(_0x4b2dca,_0x5999d6){var _0x58b598=_0x162dff,_0x23c71c=this[_0x58b598(0xea)],_0xc167d5=_0x23c71c[_0x58b598(0x2b0)],_0x1af723=_0x4b2dca[_0x58b598(0x248)](_0x5999d6,_0x5999d6+_0xc167d5);_0x23c71c[_0x58b598(0x33e)](_0x4b2dca,_0x5999d6),_0x22b587[_0x58b598(0x1e1)](this,_0x4b2dca,_0x5999d6,_0xc167d5),this['_prevBlock']=_0x1af723;}});function _0x22b587(_0x517398,_0xd71fbc,_0x3747b0){var _0x428fd9=_0x162dff,_0x281ba0,_0x3a23da=this['_iv'];_0x3a23da?(_0x281ba0=_0x3a23da,this[_0x428fd9(0x38b)]=_0xa9983c):_0x281ba0=this[_0x428fd9(0x363)];for(var _0x450982=0x0;_0x450982<_0x3747b0;_0x450982++)_0x517398[_0xd71fbc+_0x450982]^=_0x281ba0[_0x450982];}return _0x54dcc4;}()),_0x569ce0=_0x1d7195[_0x391532(0x272)]={},_0x1d89f5=_0x569ce0[_0x391532(0x195)]={'pad':function(_0x492210,_0x16c190){var _0x300f10=_0x391532;for(var _0x51a0bd=_0x16c190*0x4,_0x5d54ec=_0x51a0bd-_0x492210[_0x300f10(0x385)]%_0x51a0bd,_0x2a152a=_0x5d54ec<<0x18|_0x5d54ec<<0x10|_0x5d54ec<<0x8|_0x5d54ec,_0x2bebcd=[],_0x39663a=0x0;_0x39663a<_0x5d54ec;_0x39663a+=0x4)_0x2bebcd[_0x300f10(0x2c8)](_0x2a152a);var _0x27bc81=_0x21c7bc[_0x300f10(0x167)](_0x2bebcd,_0x5d54ec);_0x492210['concat'](_0x27bc81);},'unpad':function(_0x45aa72){var _0x154812=_0x391532,_0x37be1b=_0x45aa72[_0x154812(0x147)][_0x45aa72[_0x154812(0x385)]-0x1>>>0x2]&0xff;_0x45aa72[_0x154812(0x385)]-=_0x37be1b;}};_0x310812['BlockCipher']=_0x9b8cf8[_0x391532(0x12e)]({'cfg':_0x9b8cf8[_0x391532(0x236)][_0x391532(0x12e)]({'mode':_0x58cbaf,'padding':_0x1d89f5}),'reset':function(){var _0x372a06=_0x391532,_0x3c3e4b;_0x9b8cf8['reset'][_0x372a06(0x1e1)](this);var _0x519d91=this[_0x372a06(0x236)],_0xb36a35=_0x519d91['iv'],_0x1fd3b5=_0x519d91[_0x372a06(0x128)];this['_xformMode']==this[_0x372a06(0x301)]?_0x3c3e4b=_0x1fd3b5['createEncryptor']:(_0x3c3e4b=_0x1fd3b5['createDecryptor'],this[_0x372a06(0x2c2)]=0x1),this[_0x372a06(0x186)]&&this[_0x372a06(0x186)][_0x372a06(0x2c5)]==_0x3c3e4b?this[_0x372a06(0x186)][_0x372a06(0x138)](this,_0xb36a35&&_0xb36a35[_0x372a06(0x147)]):(this[_0x372a06(0x186)]=_0x3c3e4b[_0x372a06(0x1e1)](_0x1fd3b5,this,_0xb36a35&&_0xb36a35[_0x372a06(0x147)]),this[_0x372a06(0x186)][_0x372a06(0x2c5)]=_0x3c3e4b);},'_doProcessBlock':function(_0x4b22ac,_0x1360ab){var _0x1493ca=_0x391532;this[_0x1493ca(0x186)]['processBlock'](_0x4b22ac,_0x1360ab);},'_doFinalize':function(){var _0x44d7f1=_0x391532,_0x45cecc,_0x1cd85f=this[_0x44d7f1(0x236)][_0x44d7f1(0x34c)];return this[_0x44d7f1(0x116)]==this[_0x44d7f1(0x301)]?(_0x1cd85f[_0x44d7f1(0x272)](this['_data'],this[_0x44d7f1(0x2b0)]),_0x45cecc=this[_0x44d7f1(0x2f7)](!0x0)):(_0x45cecc=this[_0x44d7f1(0x2f7)](!0x0),_0x1cd85f['unpad'](_0x45cecc)),_0x45cecc;},'blockSize':0x80/0x20});var _0x1f3dfd=_0x310812[_0x391532(0x3be)]=_0x38e5df['extend']({'init':function(_0x37a440){var _0x4a6c1d=_0x391532;this[_0x4a6c1d(0x398)](_0x37a440);},'toString':function(_0x177aa9){var _0x3c91ce=_0x391532;return(_0x177aa9||this[_0x3c91ce(0x1ac)])[_0x3c91ce(0x273)](this);}}),_0x58fe7b=_0x1d7195[_0x391532(0x21a)]={},_0x34085d=_0x58fe7b[_0x391532(0x2f2)]={'stringify':function(_0x1c6955){var _0x379c52=_0x391532,_0x1d09b6,_0x167f18=_0x1c6955[_0x379c52(0x3aa)],_0x528877=_0x1c6955['salt'];return _0x528877?_0x1d09b6=_0x21c7bc[_0x379c52(0x167)]([0x53616c74,0x65645f5f])[_0x379c52(0x3bb)](_0x528877)['concat'](_0x167f18):_0x1d09b6=_0x167f18,_0x1d09b6[_0x379c52(0x14d)](_0x4a33ed);},'parse':function(_0x4bce53){var _0x515299=_0x391532,_0x505c30,_0xf764fa=_0x4a33ed['parse'](_0x4bce53),_0x2cd5d8=_0xf764fa[_0x515299(0x147)];return _0x2cd5d8[0x0]==0x53616c74&&_0x2cd5d8[0x1]==0x65645f5f&&(_0x505c30=_0x21c7bc[_0x515299(0x167)](_0x2cd5d8[_0x515299(0x248)](0x2,0x4)),_0x2cd5d8[_0x515299(0x23c)](0x0,0x4),_0xf764fa[_0x515299(0x385)]-=0x10),_0x1f3dfd[_0x515299(0x167)]({'ciphertext':_0xf764fa,'salt':_0x505c30});}},_0x1321d1=_0x310812[_0x391532(0x125)]=_0x38e5df[_0x391532(0x12e)]({'cfg':_0x38e5df['extend']({'format':_0x34085d}),'encrypt':function(_0x283a34,_0x4d8979,_0x115ad6,_0x2d7776){var _0x48db0a=_0x391532;_0x2d7776=this['cfg']['extend'](_0x2d7776);var _0x816611=_0x283a34[_0x48db0a(0x309)](_0x115ad6,_0x2d7776),_0x30b661=_0x816611[_0x48db0a(0x179)](_0x4d8979),_0x43d038=_0x816611[_0x48db0a(0x236)];return _0x1f3dfd['create']({'ciphertext':_0x30b661,'key':_0x115ad6,'iv':_0x43d038['iv'],'algorithm':_0x283a34,'mode':_0x43d038['mode'],'padding':_0x43d038['padding'],'blockSize':_0x283a34[_0x48db0a(0x2b0)],'formatter':_0x2d7776[_0x48db0a(0x21a)]});},'decrypt':function(_0x3726ec,_0x401954,_0x4af3e7,_0x1e99c6){var _0x5b7bbc=_0x391532;_0x1e99c6=this[_0x5b7bbc(0x236)]['extend'](_0x1e99c6),_0x401954=this['_parse'](_0x401954,_0x1e99c6[_0x5b7bbc(0x21a)]);var _0x2dd2bb=_0x3726ec['createDecryptor'](_0x4af3e7,_0x1e99c6)[_0x5b7bbc(0x179)](_0x401954['ciphertext']);return _0x2dd2bb;},'_parse':function(_0x370a95,_0x18265e){var _0x325374=_0x391532;return typeof _0x370a95=='string'?_0x18265e[_0x325374(0x213)](_0x370a95,this):_0x370a95;}}),_0x214d05=_0x1d7195['kdf']={},_0x28ce66=_0x214d05[_0x391532(0x2f2)]={'execute':function(_0x94de6,_0x4b150e,_0x1337d5,_0x1235ae,_0x3ed1d2){var _0x342961=_0x391532;if(_0x1235ae||(_0x1235ae=_0x21c7bc[_0x342961(0x2b3)](0x40/0x8)),_0x3ed1d2)var _0x924f7a=_0x5bd594[_0x342961(0x167)]({'keySize':_0x4b150e+_0x1337d5,'hasher':_0x3ed1d2})[_0x342961(0x35e)](_0x94de6,_0x1235ae);else var _0x924f7a=_0x5bd594['create']({'keySize':_0x4b150e+_0x1337d5})[_0x342961(0x35e)](_0x94de6,_0x1235ae);var _0x31cad2=_0x21c7bc[_0x342961(0x167)](_0x924f7a['words']['slice'](_0x4b150e),_0x1337d5*0x4);return _0x924f7a[_0x342961(0x385)]=_0x4b150e*0x4,_0x1f3dfd['create']({'key':_0x924f7a,'iv':_0x31cad2,'salt':_0x1235ae});}},_0x76624b=_0x310812[_0x391532(0xe7)]=_0x1321d1['extend']({'cfg':_0x1321d1[_0x391532(0x236)][_0x391532(0x12e)]({'kdf':_0x28ce66}),'encrypt':function(_0x30daab,_0x17b89b,_0x5cc0a9,_0x1f3be9){var _0x5ae404=_0x391532;_0x1f3be9=this['cfg']['extend'](_0x1f3be9);var _0x430768=_0x1f3be9[_0x5ae404(0x37c)]['execute'](_0x5cc0a9,_0x30daab[_0x5ae404(0x177)],_0x30daab[_0x5ae404(0x2ba)],_0x1f3be9[_0x5ae404(0x3a2)],_0x1f3be9[_0x5ae404(0x343)]);_0x1f3be9['iv']=_0x430768['iv'];var _0x3350bb=_0x1321d1[_0x5ae404(0x2d0)][_0x5ae404(0x1e1)](this,_0x30daab,_0x17b89b,_0x430768[_0x5ae404(0x2e3)],_0x1f3be9);return _0x3350bb[_0x5ae404(0x398)](_0x430768),_0x3350bb;},'decrypt':function(_0x2b2ebe,_0x184ecb,_0x4ec4b5,_0x453bc8){var _0x9b48a9=_0x391532;_0x453bc8=this['cfg'][_0x9b48a9(0x12e)](_0x453bc8),_0x184ecb=this[_0x9b48a9(0x19e)](_0x184ecb,_0x453bc8[_0x9b48a9(0x21a)]);var _0x2bfd40=_0x453bc8[_0x9b48a9(0x37c)][_0x9b48a9(0x2ff)](_0x4ec4b5,_0x2b2ebe['keySize'],_0x2b2ebe['ivSize'],_0x184ecb[_0x9b48a9(0x3a2)],_0x453bc8[_0x9b48a9(0x343)]);_0x453bc8['iv']=_0x2bfd40['iv'];var _0x3362da=_0x1321d1[_0x9b48a9(0x15e)][_0x9b48a9(0x1e1)](this,_0x2b2ebe,_0x184ecb,_0x2bfd40[_0x9b48a9(0x2e3)],_0x453bc8);return _0x3362da;}});}();}));}(Xe)),Xe[_0x206053(0xe3)];}var In=Ve[_0x59b5b4(0xe3)],ei;function Sn(){return ei||(ei=0x1,function(_0x4adba1,_0x5406bc){(function(_0x74808a,_0x54b683,_0x3f4222){var _0x376902=_0x2245;_0x4adba1[_0x376902(0xe3)]=_0x54b683(ie(),Ni(),un(),Ci(),bi());}(In,function(_0x213a00){var _0x5e617c=_0x2245;return(function(){var _0x23e298=_0x2245,_0x585f55=_0x213a00,_0x427d64=_0x585f55['lib'],_0x5ae2cf=_0x427d64[_0x23e298(0x25a)],_0xb3bb4b=_0x585f55[_0x23e298(0x189)],_0x2c4c11=[],_0x582344=[],_0x5ebb5a=[],_0x4a5a20=[],_0xa185ba=[],_0x48bf8f=[],_0x5cb6e3=[],_0x25aa97=[],_0x10b50a=[],_0x2d98a9=[];(function(){for(var _0x3d234b=[],_0x52a2f1=0x0;_0x52a2f1<0x100;_0x52a2f1++)_0x52a2f1<0x80?_0x3d234b[_0x52a2f1]=_0x52a2f1<<0x1:_0x3d234b[_0x52a2f1]=_0x52a2f1<<0x1^0x11b;for(var _0xd42b3b=0x0,_0x410deb=0x0,_0x52a2f1=0x0;_0x52a2f1<0x100;_0x52a2f1++){var _0x48749f=_0x410deb^_0x410deb<<0x1^_0x410deb<<0x2^_0x410deb<<0x3^_0x410deb<<0x4;_0x48749f=_0x48749f>>>0x8^_0x48749f&0xff^0x63,_0x2c4c11[_0xd42b3b]=_0x48749f,_0x582344[_0x48749f]=_0xd42b3b;var _0x5633a7=_0x3d234b[_0xd42b3b],_0x259cf0=_0x3d234b[_0x5633a7],_0x59ef74=_0x3d234b[_0x259cf0],_0x368c86=_0x3d234b[_0x48749f]*0x101^_0x48749f*0x1010100;_0x5ebb5a[_0xd42b3b]=_0x368c86<<0x18|_0x368c86>>>0x8,_0x4a5a20[_0xd42b3b]=_0x368c86<<0x10|_0x368c86>>>0x10,_0xa185ba[_0xd42b3b]=_0x368c86<<0x8|_0x368c86>>>0x18,_0x48bf8f[_0xd42b3b]=_0x368c86;var _0x368c86=_0x59ef74*0x1010101^_0x259cf0*0x10001^_0x5633a7*0x101^_0xd42b3b*0x1010100;_0x5cb6e3[_0x48749f]=_0x368c86<<0x18|_0x368c86>>>0x8,_0x25aa97[_0x48749f]=_0x368c86<<0x10|_0x368c86>>>0x10,_0x10b50a[_0x48749f]=_0x368c86<<0x8|_0x368c86>>>0x18,_0x2d98a9[_0x48749f]=_0x368c86,_0xd42b3b?(_0xd42b3b=_0x5633a7^_0x3d234b[_0x3d234b[_0x3d234b[_0x59ef74^_0x5633a7]]],_0x410deb^=_0x3d234b[_0x3d234b[_0x410deb]]):_0xd42b3b=_0x410deb=0x1;}}());var _0x519c23=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1f1498=_0xb3bb4b['AES']=_0x5ae2cf[_0x23e298(0x12e)]({'_doReset':function(){var _0x38e70d=_0x23e298,_0x510944;if(!(this[_0x38e70d(0x38a)]&&this[_0x38e70d(0x262)]===this[_0x38e70d(0x1a5)])){for(var _0x357248=this[_0x38e70d(0x262)]=this['_key'],_0x3959b8=_0x357248['words'],_0x44cc6c=_0x357248[_0x38e70d(0x385)]/0x4,_0xdbd083=this[_0x38e70d(0x38a)]=_0x44cc6c+0x6,_0x4ba1c6=(_0xdbd083+0x1)*0x4,_0x3cc9c4=this[_0x38e70d(0x31c)]=[],_0x4125d2=0x0;_0x4125d2<_0x4ba1c6;_0x4125d2++)_0x4125d2<_0x44cc6c?_0x3cc9c4[_0x4125d2]=_0x3959b8[_0x4125d2]:(_0x510944=_0x3cc9c4[_0x4125d2-0x1],_0x4125d2%_0x44cc6c?_0x44cc6c>0x6&&_0x4125d2%_0x44cc6c==0x4&&(_0x510944=_0x2c4c11[_0x510944>>>0x18]<<0x18|_0x2c4c11[_0x510944>>>0x10&0xff]<<0x10|_0x2c4c11[_0x510944>>>0x8&0xff]<<0x8|_0x2c4c11[_0x510944&0xff]):(_0x510944=_0x510944<<0x8|_0x510944>>>0x18,_0x510944=_0x2c4c11[_0x510944>>>0x18]<<0x18|_0x2c4c11[_0x510944>>>0x10&0xff]<<0x10|_0x2c4c11[_0x510944>>>0x8&0xff]<<0x8|_0x2c4c11[_0x510944&0xff],_0x510944^=_0x519c23[_0x4125d2/_0x44cc6c|0x0]<<0x18),_0x3cc9c4[_0x4125d2]=_0x3cc9c4[_0x4125d2-_0x44cc6c]^_0x510944);for(var _0x1558d8=this['_invKeySchedule']=[],_0x45a717=0x0;_0x45a717<_0x4ba1c6;_0x45a717++){var _0x4125d2=_0x4ba1c6-_0x45a717;if(_0x45a717%0x4)var _0x510944=_0x3cc9c4[_0x4125d2];else var _0x510944=_0x3cc9c4[_0x4125d2-0x4];_0x45a717<0x4||_0x4125d2<=0x4?_0x1558d8[_0x45a717]=_0x510944:_0x1558d8[_0x45a717]=_0x5cb6e3[_0x2c4c11[_0x510944>>>0x18]]^_0x25aa97[_0x2c4c11[_0x510944>>>0x10&0xff]]^_0x10b50a[_0x2c4c11[_0x510944>>>0x8&0xff]]^_0x2d98a9[_0x2c4c11[_0x510944&0xff]];}}},'encryptBlock':function(_0x16f03d,_0x389230){var _0x82e336=_0x23e298;this['_doCryptBlock'](_0x16f03d,_0x389230,this[_0x82e336(0x31c)],_0x5ebb5a,_0x4a5a20,_0xa185ba,_0x48bf8f,_0x2c4c11);},'decryptBlock':function(_0x4ab834,_0x2bc801){var _0x508d75=_0x23e298,_0x30b498=_0x4ab834[_0x2bc801+0x1];_0x4ab834[_0x2bc801+0x1]=_0x4ab834[_0x2bc801+0x3],_0x4ab834[_0x2bc801+0x3]=_0x30b498,this[_0x508d75(0x2be)](_0x4ab834,_0x2bc801,this['_invKeySchedule'],_0x5cb6e3,_0x25aa97,_0x10b50a,_0x2d98a9,_0x582344);var _0x30b498=_0x4ab834[_0x2bc801+0x1];_0x4ab834[_0x2bc801+0x1]=_0x4ab834[_0x2bc801+0x3],_0x4ab834[_0x2bc801+0x3]=_0x30b498;},'_doCryptBlock':function(_0x8cc9cd,_0x4f4e48,_0x1a3f2c,_0x20ef37,_0x19dbd6,_0x128803,_0x21f14e,_0x650219){var _0x487215=_0x23e298;for(var _0x5cbfbd=this[_0x487215(0x38a)],_0x2f1726=_0x8cc9cd[_0x4f4e48]^_0x1a3f2c[0x0],_0xefe8fc=_0x8cc9cd[_0x4f4e48+0x1]^_0x1a3f2c[0x1],_0x33897f=_0x8cc9cd[_0x4f4e48+0x2]^_0x1a3f2c[0x2],_0xcf38db=_0x8cc9cd[_0x4f4e48+0x3]^_0x1a3f2c[0x3],_0x4dca0a=0x4,_0x4e18e6=0x1;_0x4e18e6<_0x5cbfbd;_0x4e18e6++){var _0x193f08=_0x20ef37[_0x2f1726>>>0x18]^_0x19dbd6[_0xefe8fc>>>0x10&0xff]^_0x128803[_0x33897f>>>0x8&0xff]^_0x21f14e[_0xcf38db&0xff]^_0x1a3f2c[_0x4dca0a++],_0x48cca7=_0x20ef37[_0xefe8fc>>>0x18]^_0x19dbd6[_0x33897f>>>0x10&0xff]^_0x128803[_0xcf38db>>>0x8&0xff]^_0x21f14e[_0x2f1726&0xff]^_0x1a3f2c[_0x4dca0a++],_0x234f1d=_0x20ef37[_0x33897f>>>0x18]^_0x19dbd6[_0xcf38db>>>0x10&0xff]^_0x128803[_0x2f1726>>>0x8&0xff]^_0x21f14e[_0xefe8fc&0xff]^_0x1a3f2c[_0x4dca0a++],_0x3fde70=_0x20ef37[_0xcf38db>>>0x18]^_0x19dbd6[_0x2f1726>>>0x10&0xff]^_0x128803[_0xefe8fc>>>0x8&0xff]^_0x21f14e[_0x33897f&0xff]^_0x1a3f2c[_0x4dca0a++];_0x2f1726=_0x193f08,_0xefe8fc=_0x48cca7,_0x33897f=_0x234f1d,_0xcf38db=_0x3fde70;}var _0x193f08=(_0x650219[_0x2f1726>>>0x18]<<0x18|_0x650219[_0xefe8fc>>>0x10&0xff]<<0x10|_0x650219[_0x33897f>>>0x8&0xff]<<0x8|_0x650219[_0xcf38db&0xff])^_0x1a3f2c[_0x4dca0a++],_0x48cca7=(_0x650219[_0xefe8fc>>>0x18]<<0x18|_0x650219[_0x33897f>>>0x10&0xff]<<0x10|_0x650219[_0xcf38db>>>0x8&0xff]<<0x8|_0x650219[_0x2f1726&0xff])^_0x1a3f2c[_0x4dca0a++],_0x234f1d=(_0x650219[_0x33897f>>>0x18]<<0x18|_0x650219[_0xcf38db>>>0x10&0xff]<<0x10|_0x650219[_0x2f1726>>>0x8&0xff]<<0x8|_0x650219[_0xefe8fc&0xff])^_0x1a3f2c[_0x4dca0a++],_0x3fde70=(_0x650219[_0xcf38db>>>0x18]<<0x18|_0x650219[_0x2f1726>>>0x10&0xff]<<0x10|_0x650219[_0xefe8fc>>>0x8&0xff]<<0x8|_0x650219[_0x33897f&0xff])^_0x1a3f2c[_0x4dca0a++];_0x8cc9cd[_0x4f4e48]=_0x193f08,_0x8cc9cd[_0x4f4e48+0x1]=_0x48cca7,_0x8cc9cd[_0x4f4e48+0x2]=_0x234f1d,_0x8cc9cd[_0x4f4e48+0x3]=_0x3fde70;},'keySize':0x100/0x20});_0x585f55[_0x23e298(0x1cc)]=_0x5ae2cf[_0x23e298(0x373)](_0x1f1498);}()),_0x213a00[_0x5e617c(0x1cc)];}));}(Ve)),Ve['exports'];}var gn=Sn();const Tn=$e(gn);var On=Ni();const ti=$e(On);var Je={'exports':{}},Rn=Je['exports'],ii;function Nn(){var _0x34aad7=_0x59b5b4;return ii||(ii=0x1,function(_0x5bda19,_0x1d126d){(function(_0x1fcd9a,_0x2e7ce0){var _0x4a6be3=_0x2245;_0x5bda19[_0x4a6be3(0xe3)]=_0x2e7ce0(ie());}(Rn,function(_0x5b4c1e){var _0x2868d9=_0x2245;return _0x5b4c1e[_0x2868d9(0x1dc)]['Utf8'];}));}(Je)),Je[_0x34aad7(0xe3)];}var Cn=Nn();const bn=$e(Cn);var Ze={'exports':{}},Dn=Ze[_0x59b5b4(0xe3)],si;function yn(){return si||(si=0x1,function(_0x54c510,_0x3ac8a4){(function(_0x11b0e6,_0x28ca19){var _0x49f239=_0x2245;_0x54c510[_0x49f239(0xe3)]=_0x28ca19(ie());}(Dn,function(_0x503764){var _0x59049d=_0x2245;return(function(){var _0x236f12=_0x2245;if(typeof ArrayBuffer==_0x236f12(0x1e7)){var _0x5530e8=_0x503764,_0x3b3eda=_0x5530e8[_0x236f12(0x260)],_0xe80448=_0x3b3eda[_0x236f12(0x30c)],_0x271a24=_0xe80448[_0x236f12(0x138)],_0x22e42b=_0xe80448[_0x236f12(0x138)]=function(_0x2380fe){var _0xf1e50b=_0x236f12;if(_0x2380fe instanceof ArrayBuffer&&(_0x2380fe=new Uint8Array(_0x2380fe)),(_0x2380fe instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2380fe instanceof Uint8ClampedArray||_0x2380fe instanceof Int16Array||_0x2380fe instanceof Uint16Array||_0x2380fe instanceof Int32Array||_0x2380fe instanceof Uint32Array||_0x2380fe instanceof Float32Array||_0x2380fe instanceof Float64Array)&&(_0x2380fe=new Uint8Array(_0x2380fe['buffer'],_0x2380fe['byteOffset'],_0x2380fe[_0xf1e50b(0x252)])),_0x2380fe instanceof Uint8Array){for(var _0x42fa38=_0x2380fe[_0xf1e50b(0x252)],_0xaca5f0=[],_0x41b8bf=0x0;_0x41b8bf<_0x42fa38;_0x41b8bf++)_0xaca5f0[_0x41b8bf>>>0x2]|=_0x2380fe[_0x41b8bf]<<0x18-_0x41b8bf%0x4*0x8;_0x271a24['call'](this,_0xaca5f0,_0x42fa38);}else _0x271a24[_0xf1e50b(0x1c6)](this,arguments);};_0x22e42b['prototype']=_0xe80448;}}()),_0x503764['lib'][_0x59049d(0x30c)];}));}(Ze)),Ze['exports'];}var Un=yn();const An=$e(Un);var Qe={'exports':{}},Pn=Qe[_0x59b5b4(0xe3)],ni;function Ln(){return ni||(ni=0x1,function(_0x5f2908,_0x236f6e){(function(_0x1a72ac,_0x3081bc,_0x2e3d71){var _0x4de5bf=_0x2245;_0x5f2908[_0x4de5bf(0xe3)]=_0x3081bc(ie(),bi());}(Pn,function(_0x1ce675){var _0xe926da=_0x2245;return _0x1ce675[_0xe926da(0x272)][_0xe926da(0x2b8)]={'pad':function(){},'unpad':function(){}},_0x1ce675[_0xe926da(0x272)][_0xe926da(0x2b8)];}));}(Qe)),Qe['exports'];}var Mn=Ln();const wn=$e(Mn);function xn(_0x259a00,_0x33a8b2){var _0x57f488=_0x59b5b4;const _0x9ad70e=_0x33a8b2-_0x259a00[_0x57f488(0x1c0)]%_0x33a8b2,_0x375424=String['fromCharCode'](_0x9ad70e)[_0x57f488(0xdf)](_0x9ad70e);return _0x259a00+_0x375424;}function kn(_0x40cc6f,_0x268201){var _0x1ee3fc=_0x59b5b4;const _0xed6680=An[_0x1ee3fc(0x2b3)](0x10),_0x47e08b=xn(_0x40cc6f,0x10),_0x428cc0=Tn[_0x1ee3fc(0x2d0)](bn[_0x1ee3fc(0x213)](_0x47e08b),ti[_0x1ee3fc(0x213)](_0x268201),{'iv':_0xed6680,'padding':wn});return _0xed6680['concat'](_0x428cc0[_0x1ee3fc(0x3aa)])[_0x1ee3fc(0x14d)](ti);}function $n(){var _0x29d0a4=_0x59b5b4;const _0x57ad13=_0x1070d8()[_0x29d0a4(0x1a2)];if(_0x57ad13){const _0x4a6793={'time':Math[_0x29d0a4(0x39a)](Date[_0x29d0a4(0x2f5)]()/0x3e8),'domain':location['hostname']};return kn(JSON['stringify'](_0x4a6793),_0x57ad13);}}var Hn=Object[_0x59b5b4(0x298)],Bn=(_0xd9c684,_0xef3e89,_0x3d098a,_0x10c61d)=>{var _0x2964e0=_0x59b5b4;for(var _0x318988=_0x10c61d>0x1?void 0x0:_0x10c61d?Hn(_0xef3e89,_0x3d098a):_0xef3e89,_0x16622c=_0xd9c684[_0x2964e0(0x1c0)]-0x1,_0x191a8b;_0x16622c>=0x0;_0x16622c--)(_0x191a8b=_0xd9c684[_0x16622c])&&(_0x318988=_0x191a8b(_0x318988)||_0x318988);return _0x318988;},Fn=(_0x534444,_0x3da154)=>(_0x444d63,_0x5ac40d)=>_0x3da154(_0x444d63,_0x5ac40d,_0x534444);let at=class{constructor(_0x3a62fd){var _0x5bff9f=_0x59b5b4;this[_0x5bff9f(0x152)]=_0x3a62fd,this[_0x5bff9f(0xde)]();}['_initRequestHeader'](){var _0x59c02a=_0x59b5b4;this[_0x59c02a(0x152)][_0x59c02a(0x261)]({'interceptor':(_0x27a411,_0x1bf0c2)=>{var _0x2563b1=_0x59c02a;const _0x4dc825=_0x27a411[_0x2563b1(0x25c)],_0x1eeff4=$n();return _0x1eeff4&&_0x4dc825[_0x2563b1(0x321)](_0x2563b1(0x1d6),_0x1eeff4),_0x1bf0c2(_0x27a411);}});}};at=Bn([Fn(0x0,_0x1a58da(_0x28317b))],at);var jn=Object['getOwnPropertyDescriptor'],Vn=(_0x3c0185,_0x3381a6,_0x22c57e,_0x104585)=>{for(var _0x59391e=_0x104585>0x1?void 0x0:_0x104585?jn(_0x3381a6,_0x22c57e):_0x3381a6,_0x3da739=_0x3c0185['length']-0x1,_0x573857;_0x3da739>=0x0;_0x3da739--)(_0x573857=_0x3c0185[_0x3da739])&&(_0x59391e=_0x573857(_0x59391e)||_0x59391e);return _0x59391e;},vt=(_0xd600a0,_0x485a00)=>(_0x158953,_0x4addab)=>_0x485a00(_0x158953,_0x4addab,_0xd600a0);let Ot=class extends _0x5385ac{constructor(_0x5f5831,_0x42e242,_0x56ef43){var _0x5275bc=_0x59b5b4;super(),D(this,_0x5275bc(0x3ea),new _0xfba9c5(null)),D(this,_0x5275bc(0x3f0),this[_0x5275bc(0x3ea)]['asObservable']()),(this[_0x5275bc(0x12a)]=_0x5f5831,this[_0x5275bc(0x3ab)]=_0x42e242,this['_localCacheService']=_0x56ef43);}async[_0x59b5b4(0x2f1)](_0x2198ad,_0x122e86,_0x9f54fc){var _0x66b7cd=_0x59b5b4;this[_0x66b7cd(0x3ea)][_0x66b7cd(0x283)]({'unitId':_0x2198ad,'type':_0x122e86});let _0x4f7e62=null;switch(_0x122e86){case Q[_0x66b7cd(0x21e)]:{_0x4f7e62=await this[_0x66b7cd(0x3ab)][_0x66b7cd(0x102)](_0x2198ad,_0x9f54fc);break;}case Q['UNIVER_DOC']:{_0x4f7e62=await this[_0x66b7cd(0x3ab)][_0x66b7cd(0x2d6)](_0x2198ad,_0x9f54fc);break;}default:{this[_0x66b7cd(0x12a)][_0x66b7cd(0x31e)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x4f7e62;}async['loadUnit'](_0x186ebd,_0x2957be,_0x44e56c){var _0x6e899d=_0x59b5b4,_0x1b5e36;this[_0x6e899d(0x3ea)][_0x6e899d(0x283)]({'unitId':_0x186ebd,'type':_0x2957be,'subUnitId':_0x44e56c});let _0x2d0098=0x0;const _0x12f89a=await((_0x1b5e36=this[_0x6e899d(0x22e)])==null?void 0x0:_0x1b5e36[_0x6e899d(0x37e)](_0x186ebd));return _0x12f89a&&(_0x12f89a[_0x6e899d(0x335)]||_0x12f89a[_0x6e899d(0x30e)][_0x6e899d(0x1c0)]!==0x0)&&(_0x2d0098=_0x12f89a[_0x6e899d(0x118)]),_0x2d0098===0x0&&this[_0x6e899d(0x12a)]['debug'](_0x6e899d(0x368),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x6e899d(0x2f1)](_0x186ebd,_0x2957be,_0x2d0098);}};Ot=Vn([vt(0x0,_0x41f1d3),vt(0x1,_0x1a58da(_0x21c76d)),vt(0x2,_0x24a4ee(X))],Ot);var Gn=Object[_0x59b5b4(0x298)],Wn=(_0x1d50a7,_0xad96f7,_0x257550,_0x8aaf7d)=>{for(var _0x1a4788=_0x8aaf7d>0x1?void 0x0:_0x8aaf7d?Gn(_0xad96f7,_0x257550):_0xad96f7,_0x5e34dd=_0x1d50a7['length']-0x1,_0x2ead2;_0x5e34dd>=0x0;_0x5e34dd--)(_0x2ead2=_0x1d50a7[_0x5e34dd])&&(_0x1a4788=_0x2ead2(_0x1a4788)||_0x1a4788);return _0x1a4788;},Et=(_0x4998b8,_0x5bb410)=>(_0x4b903e,_0x44c618)=>_0x5bb410(_0x4b903e,_0x44c618,_0x4998b8);const Yn=[_0x59b5b4(0x20a),'image/jpeg',_0x59b5b4(0x217),'image/gif',_0x59b5b4(0x3f7)],Kn=0x5*0x400*0x400,qn=_0x59b5b4(0x1ca),zn=_0x59b5b4(0x2b6);let Rt=class{constructor(_0x28ae96,_0x3db934,_0x4fb98e){var _0x562269=_0x59b5b4;D(this,'_waitCount',0x0),D(this,_0x562269(0xf0),new _0x392b17()),D(this,_0x562269(0x171),this['_change$']),D(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x28ae96,this['_configService']=_0x3db934,this[_0x562269(0xfa)]=_0x4fb98e);}[_0x59b5b4(0x1b9)](_0x3d5d5a){var _0x11ad2c=_0x59b5b4;this[_0x11ad2c(0x313)]=_0x3d5d5a,this[_0x11ad2c(0xf0)][_0x11ad2c(0x283)](_0x3d5d5a);}['getImageSourceCache'](_0x4ba91f,_0x28b7a9){var _0x226a2d=_0x59b5b4;if(_0x28b7a9===_0x11f743[_0x226a2d(0x39b)]){const _0x1db764=new Image();return _0x1db764[_0x226a2d(0x35b)]=_0x4ba91f,_0x1db764;}return this[_0x226a2d(0x1ff)][_0x226a2d(0x21f)](_0x4ba91f);}[_0x59b5b4(0x12d)](_0x127b7d,_0x205265,_0x424150){var _0x2bf341=_0x59b5b4;_0x205265===_0x11f743[_0x2bf341(0x39b)]||_0x424150==null||this[_0x2bf341(0x1ff)][_0x2bf341(0x321)](_0x127b7d,_0x424150);}async[_0x59b5b4(0x22c)](_0x5964fa){var _0x9f7b3a=_0x59b5b4;try{const _0x5e8b72=this[_0x9f7b3a(0x36c)](this[_0x9f7b3a(0x117)](),''+_0x5964fa),_0x3c2b46=(await this['_httpService'][_0x9f7b3a(0x21f)](_0x5e8b72))[_0x9f7b3a(0x1aa)];if(_0x3c2b46[_0x9f7b3a(0x31e)]&&_0x3c2b46[_0x9f7b3a(0x31e)][_0x9f7b3a(0x2dd)]===vi['OK']){const _0x399708=new URL(_0x3c2b46[_0x9f7b3a(0x1db)],this['_getDownloadEndpointURL']())[_0x9f7b3a(0x14d)]();return Promise[_0x9f7b3a(0x288)](_0x399708);}return Promise[_0x9f7b3a(0x285)](_0x3c2b46[_0x9f7b3a(0x31e)]);}catch(_0x7e661c){return Promise[_0x9f7b3a(0x285)](_0x7e661c);}}async[_0x59b5b4(0x3ad)](_0x27e1a5){var _0xe17225=_0x59b5b4;let _0x38608a='';if(!Yn['includes'](_0x27e1a5['type']))return this[_0xe17225(0x1bc)](),Promise[_0xe17225(0x285)](new Error(_0x35d6c9['ERROR_IMAGE_TYPE']));if(_0x27e1a5['size']>Kn)return this[_0xe17225(0x1bc)](),Promise[_0xe17225(0x285)](new Error(_0x35d6c9[_0xe17225(0x1fe)]));try{const _0x44d9a7=new FormData();_0x44d9a7[_0xe17225(0x1fd)](_0xe17225(0x2c4),_0x27e1a5);const _0x387f53=this[_0xe17225(0xfa)][_0xe17225(0x33d)](),_0x458e7c=_0x387f53==null?void 0x0:_0x387f53[_0xe17225(0x115)]();if(!_0x458e7c)throw new Error(_0xe17225(0x1cd));const _0xc3a4e=this[_0xe17225(0x3bf)]()+_0xe17225(0x3e6)+_0x27e1a5[_0xe17225(0x1ad)][_0xe17225(0x14d)]()+'&source='+Ei[_0xe17225(0x378)]+_0xe17225(0x395)+encodeURIComponent(_0x458e7c),_0x241304={'body':_0x44d9a7},_0x53ae88=(await this[_0xe17225(0x152)][_0xe17225(0x1e4)](_0xc3a4e,_0x241304))[_0xe17225(0x1aa)];if(typeof _0x53ae88[_0xe17225(0x271)]!=_0xe17225(0x21c))return this[_0xe17225(0x1bc)](),Promise['reject'](new Error(_0x35d6c9[_0xe17225(0x359)]));_0x38608a=_0x53ae88[_0xe17225(0x271)];}catch{return this[_0xe17225(0x1bc)](),Promise[_0xe17225(0x285)](new Error(_0x35d6c9['ERROR_IMAGE']));}return new Promise((_0x5d826d,_0x1d3f31)=>{var _0x2f2013=_0xe17225;const _0x41876f=new FileReader();_0x41876f[_0x2f2013(0x3ed)](_0x27e1a5),_0x41876f[_0x2f2013(0x1f5)]=_0x2bf0bd=>{var _0x36e19b=_0x2f2013,_0xc84227;const _0x39176a=(_0xc84227=_0x2bf0bd[_0x36e19b(0x1b5)])==null?void 0x0:_0xc84227['result'];if(_0x39176a==null){this[_0x36e19b(0x1bc)](),_0x1d3f31(new Error(_0x35d6c9[_0x36e19b(0x359)]));return;}const _0x26be0c=_0x2e2876(0x6);_0x5d826d({'imageId':_0x26be0c,'imageSourceType':_0x11f743['UUID'],'source':_0x38608a,'base64Cache':_0x39176a,'status':_0x35d6c9[_0x36e19b(0x258)]}),this[_0x36e19b(0x1bc)]();};});}['_getUploadFileURL'](){var _0x401110=_0x59b5b4,_0x525b52;const _0x305ba4=this[_0x401110(0x3b5)]['getConfig'](K);return(_0x525b52=_0x305ba4==null?void 0x0:_0x305ba4[_0x401110(0x17e)])!=null?_0x525b52:qn;}[_0x59b5b4(0x117)](){var _0x31a207=_0x59b5b4,_0x3ef4ee;const _0x41ed3b=this[_0x31a207(0x3b5)][_0x31a207(0x1c1)](K);return(_0x3ef4ee=_0x41ed3b==null?void 0x0:_0x41ed3b[_0x31a207(0x338)])!=null?_0x3ef4ee:zn;}['_getDownloadEndpointURL'](){var _0x1156ca=_0x59b5b4,_0x3d471c;const _0x16ffbc=this[_0x1156ca(0x3b5)][_0x1156ca(0x1c1)](K);return(_0x3d471c=_0x16ffbc==null?void 0x0:_0x16ffbc['downloadEndpointUrl'])!=null?_0x3d471c:location['origin'];}['_replaceFileID'](_0x3161ae,_0x4160c3){var _0x1decae=_0x59b5b4;return _0x3161ae[_0x1decae(0x371)]('{fileID}',_0x4160c3);}['_decreaseWaiting'](){var _0x41aeb7=_0x59b5b4;this[_0x41aeb7(0x313)]-=0x1,this['_change$'][_0x41aeb7(0x283)](this['_waitCount']);}};Rt=Wn([Et(0x0,_0x1a58da(_0x28317b)),Et(0x1,_0x4cf79c),Et(0x2,_0x1a58da(_0x33b121))],Rt);var Xn=Object['getOwnPropertyDescriptor'],Jn=(_0x3b666d,_0xedd915,_0x1bde42,_0x27e926)=>{var _0x465dd3=_0x59b5b4;for(var _0x5dfc13=_0x27e926>0x1?void 0x0:_0x27e926?Xn(_0xedd915,_0x1bde42):_0xedd915,_0xbe3327=_0x3b666d[_0x465dd3(0x1c0)]-0x1,_0x27f27b;_0xbe3327>=0x0;_0xbe3327--)(_0x27f27b=_0x3b666d[_0xbe3327])&&(_0x5dfc13=_0x27f27b(_0x5dfc13)||_0x5dfc13);return _0x5dfc13;},ri=(_0x1bdce8,_0x20fbe5)=>(_0x46cc0f,_0x22789f)=>_0x20fbe5(_0x46cc0f,_0x22789f,_0x1bdce8);const Zn=_0x59b5b4(0x20d);let Nt=class{constructor(_0x4c24d9,_0x1723b6){this['_configService']=_0x4c24d9,this['_HTTPService']=_0x1723b6;}[_0x59b5b4(0x2f8)](){var _0x3ffcb5=_0x59b5b4,_0xfc8a71;const _0x1f162c=this[_0x3ffcb5(0x3b5)][_0x3ffcb5(0x1c1)](K);return(_0xfc8a71=_0x1f162c==null?void 0x0:_0x1f162c[_0x3ffcb5(0x2ea)])!=null?_0xfc8a71:Zn;}async[_0x59b5b4(0x1f1)](_0x4b6aac){var _0x25e6c5=_0x59b5b4;const _0x34b50e=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x25e6c5(0x230),'mentions':(await this[_0x25e6c5(0x268)][_0x25e6c5(0x21f)](_0x34b50e,{'params':{'objectID':_0x4b6aac[_0x25e6c5(0x3f3)],'unitID':_0x4b6aac[_0x25e6c5(0x3f3)]}}))[_0x25e6c5(0x1aa)][_0x25e6c5(0x187)][_0x25e6c5(0x1a3)](_0x3137f8=>({'objectId':_0x3137f8['id'],'name':_0x3137f8[_0x25e6c5(0x324)][_0x25e6c5(0x333)],'metadata':{'icon':_0x3137f8['subject'][_0x25e6c5(0x12c)]},'label':_0x3137f8[_0x25e6c5(0x324)][_0x25e6c5(0x333)],'objectType':_0x25ba16[_0x25e6c5(0x39e)]})),'metadata':{},'type':_0x25ba16[_0x25e6c5(0x39e)]}]};}};function _0x1a33(){var _0x32d409=['UnitEmbedded','reset','randomBytes','YUUMI_TABLE_NOT_FOUND_IN_UNIT','kdf','members','loadOfflineData','_hash','5806004lhLtWf','CHANGESET_REVISION_CONFILICT','_event$','_handler','objectID','sigBytes','getLatestCsReqIdBySid','interceptor','onMissedChangesetFetched','status','_nRounds','_iv','find','editingUnit','transformMutationsWithChangeset','UNIVER_UNKNOWN','[OfflineState]:\x20received\x20acknowledgement.','hasOwnProperty','_updateState','_startTelemetryCollaborationNewChangeset','enableAuthServer','&assign=','_substituteRedoStack','getSheetId','mixIn','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','floor','BASE64','_eventService','_collabSessionService','PERSON','_transformService','\x20-\x20','_userManagerService','salt','EMAIL_HAS_BEEN_BOUND','_undoStacks','executeCommand','_DEC_XFORM_MODE','Base64','_nDataBytes','fetchThroughInterceptors','ciphertext','_snapshotService','USER_IS_ANONYMOUS','saveImage','entries','[UniverCollaborationClientPlugin]','_singleActiveUnitService','/resources','Hasher','updateCollaborator','UNDEFINED','_configService','refreshPermission','_schedule','sendChangesetTimeout','collaboration_new_changeset','appendMutation','concat','[CollaborationSessionService]','_getAPIPrefix','CipherParams','_getUploadFileURL','_joinRoom','capture','Undefined','INVALID_ARGUMENT','saveSnapshot','state$','connection\x20error','getMember','enableSingleActiveInstanceLock','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','charAt','LICENSE_MAX_UNITS_EXCEEDED','LICENSE_DISTRO_REJECTED','snapshot','[OfflineState]:\x20received\x20rejection.','APPLY_REJECT','substr','_listenToNetworkCondition','disableLocalCache','waitForRoom$','copyFileMeta','_sendHeartbeatTimer','/universer-api/uniscript','_collaborationUIEventService','CHANGESET_SHOULD_RETRY','_transitionLocked','_toggleOffline','_exhaustRemoteChangesetQueue','SHA1','save\x20fail\x20reason\x20is\x20','getTypeOfUnitDisposed$','startsWith','_onRemoteRetry','_socketService','DATA_SOURCE_TOO_LARGE','offline','_sendHeartbeat','_remoteChangesetQueue','?size=','_shouldReportTelemetry','LICENSE_EXPORT_SIZE_EXCEEDED','_members$','_unitInfo$','complete','WECHAT_HAS_BEEN_BOUND','readAsDataURL','CHANGESET_ACK','_roomCreated$','unitInfo$','LICENSE_IMPORT_SIZE_EXCEEDED','_getLoginPath','unitId','Base','cmd','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','image/bmp','/-/object/list','reconnect','REDEMPTION_INVALID_CODE','_localeService','3NxEgdz','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','pipe','_transformIMECache','ENTITLE_CAN_NOT_BUY_LOWER_OTP','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_state','filter','_fetchMissChangesets','SNAPSHOT_INVALID_SNAPSHOT','\x0aCurrent:\x20','JOIN_ROOM_FULL','snapshotServerUrl','_initRequestHeader','repeat','APPLY_DUPLICATED','EvpKDF','onStarting','exports','SOCKET_FAILED_RETRY','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getResourcesRequest','PasswordBasedCipher','ENTITLE_CHAT_LIMIT_EXCEED','abs','_cipher','YUUMI_ASYNCIO_CANCELLED','/new_changes','ws://127.0.0.1:8000/universer-api/comb/connect','[FetchMissState]','_stopTelemetryCollaborationNewChangeset','_change$','emitEvent','INGEST','[PendingState]:\x20unhandled\x20univer\x20type:\x20','OTHER_CLIENT_EDITING','PY_RUNTIME_SCRIPT_ERROR','_onConnectionOpen','event$','telemetry\x20info\x20is\x20not\x20initialized','fromCollab','_univerInstanceService','reverse','_rescheduleHeartbeat','_onRemoteChangeset','[CollaborationSession]','requireSession','closeSession','socketService','loadSheet','_candidateSocket','UNKNOWN_CODE','socket\x20open.','getTime','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_members','HEARTBEAT_TIMEOUT','UNIVER_COLLABORATION_CLIENT_PLUGIN','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','HttpExport','_socket$','_resendTimer','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','ONLINE','NO_OTHER_CLIENTS_EDITING','YUUMI_AI_RUN_FAILED','_onUserJoin','_onMessage','getUnitId','_xformMode','_getSignURL','rev','href','_initDependencies','COMPRESS_MUTATION_SEND','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNIVER_SLIDE','msCrypto','error$','_sessions','deepClone','/universer-api/user/session-ticket','onMissingChangesets','entityInit$','SerializableCipher','[CollaborationUndoRedoService]','NEW_CHANGESETS','mode','INVITE_CODE_HAS_BEEN_UES','_logService','put','avatar','addImageSourceCache','extend','reqId','\x20to\x20','sessionStatus$','SNAPSHOT_HAS_BEEN_REMOVED','_initCloseConn','addHandlerCallback','onRemoteChangeset','csAckEvent','getCurrentUser','init','defineProperty','onRemoteRej','/-/object/-/batch_allowed','MD5','_awaitingChangeset','_doFinalize','ENTITLE_INSUFFICIENT_QUOTA','YUUMI_CONNECTOR_URL_NOT_FOUND','socket\x20close','session.join-failed','MOBILE_HAS_BEEN_BOUND','getRandomValues','close','LOGIN_FAILED','words','\x0aAfter:\x20','REDEMPTION_CODE_INACTIVE','_registerDependencies','data','REDEMPTION_USER_REDEEM_TIMES_EXCEED','toString','iterations','open$','/universer-api/oidc/authpage','_queuedRemoteChangesets','_httpService','_applyRemoteChangeset','_toggleOnline','_clearRedo','_handlerCallback','_lockTransition','min','getCollabEntity$','asObservable','[CollaborationSessionService]:\x20socket\x20error','_socket','originalMeta','decrypt','method','_injector','encode','shouldCloseConn','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','CURRENT_STATUS_CANNOT_OPERATE','_acknowledgedAwaitingChangeset','debug','create','DEFAULT_FILE_NAME','indexOf','_getUndoStack','MOBILE_VERIFY_CODE_MISMATCH','[OfflineState]:\x20received\x20changeset.','COMMENT_UPDATE','SYNCED','fromCharCode','_onFetchMissResult','change$','univer-pro.collaboration-client.single-active-unit-service','_createHandler','ENTITLE_INVALID_COUPON_CODE','_onUserLeave','uniscriptRunEvent','keySize','onRemoteAck','finalize','csShouldRetryEvent','REDEMPTION_CODE_NOT_STARTED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','APPLY_PERMISSION_DENIED','uploadFileServerUrl','loginUrlKey','requestParams','every','userID','_executeRemoteChangeset','getTypeOfUnitAdded$','_telemetryInfo','_mode','collaborators','_transformRemoteChangesetByIMECache','algo','setCurrentUser','_onConnectionFailed','_sheetTransformSelectionsService','allowed','SHOULD_CLOSE_CONN','_iKey','revision','PERMISSION_DENIED','delete','duration','reduce','Pkcs7','_createSocket','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','PERMISSION_REJ','transformStack\x20failed!','permissionRejEvent','status$','objectType','message$','_parse','ceil','session.room-cnt-exceeds','_status$','__Key__','map','eventID','_key','_retryCount','REDEMPTION_CODE_FULLY_REDEEMED','LOCAL_CACHE_INTERVAL','11440190BijoYH','body','onTransformState','formatter','size','_scheduleCompleteTimestamp','updatePermissionPoint','conflict','_commentUpdate$','UnitSnapshot','_commentService','Cipher','target','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','743ODQNis','_socketMessageSubscription','setWaitCount','LIVESHARE_OPERATION','onSyncEditingCollabCursor','_decreaseWaiting','_clearRetryConnectingTimer','_reverseMap','confirm','length','getConfig','FAIL','action','memberID','/fetchmissing?from=','apply','default','getCurrentSelections','UNISCRIPT_RUN','/universer-api/stream/file/upload','_hasher','AES','unitId\x20is\x20not\x20found','_onRemoteACK','Utf8','focused$','collaboration-client.local-cache-service','FETCH_MISS','OFFLINE','symbol','updatePermissionObjEvent','x-univer-host','_transformRemoteChangesetByStateCache','/unit/','send','session.room-full','url','enc','_maxTotalRetryTimeout','_transformStack','onTransformSelections','ENTITLE_REPORT_LIMIT_EXCEED','call','getInterceptPoints','listRoles','post','crypto','joinEvent','function','[PendingState]:\x20received\x20acknowledgement.','LIVESHARE_REQUEST_HOST','/object/','c1Prime','close$','responseType','univer-pro.collaboration-client-socket-service','result','_waitForHeartbeatResponse','list','_onRemoteRejected','HmacSHA1','60776wnAWog','onload','retryConnectingInterval','_updateLocalCache','subUnitId','_getSendChangesetTimeout','_sender','MUTATION','readyForCollab','append','ERROR_EXCEED_SIZE','_imageSourceCache','_checkMissing','_sendingTimer','_tryReconnect','session','_timeoutTimer','newCsEvent','_map','onTransformIME','routeKey','YUUMI_UNABLE_LOAD_URL','image/png','_isPermissionRej','JOIN_ROOM_NOT_EXISTS','/universer-api/authz','removeMember','commentUpdate$','transformUndoRedo','HEARTBEAT','enableOfflineEditing','parse','onlyLocal','_resendWithTimeout','onStateChange','image/jpg','getWorkbookSelections','_transformSelections','format','ENTITLE_NEED_BILLING_ADDRESS','string','collabWebSocketUrl','UNIVER_SHEET','get','UPDATE_CURSOR','UNRECOGNIZED','_networkConditionService','_getRedoStack','not_collab','COMPLETION_FINISHED','isArray','has','_config','infoRsp','sin','withCredentials','getImage','awaiting_with_pending','_localCacheService','forEach','People','_sessionStatus$','BufferedBlockAlgorithm','getAllMembers','_onCombEvent','_entityInit$','cfg','ENTITLE_COUPON_EXPIRED','override','encryptBlock','Failed\x20to\x20update\x20permission\x20point','_onConflict','splice','_retryConnectingTimer','_changesetReqId','YUUMI_NO_CUBOID_FOR_QUESTION','_memberService','_telemetryService','_roomMembers','unknown','unit-cache-','JOIN','textRanges','TOO_MANY_REQUESTS','slice','socket$','AUTHORIZE_CODE_ILLEGAL','_snapshotServerService','submit\x20changeset\x20error!','collaboration-client.config','9zvjClR','UNIVER_PROJECT','onSendChangeset','collabSubmitChangesetUrl','byteLength','_substituteUndoStack','_transformStateCache','_doReset','join','StreamCipher','SUCCUSS','collaMsg','BlockCipher','LIVESHARE_FETCH_OPERATIONS','headers','_submitChangeset','JOINING','liveShareOperation','lib','registerHTTPInterceptor','_keyPriorReset','objectActions','Latin1','GLOBAL_ROOMS_CNT_EXCEEDS','unitID','from','_HTTPService','_doCreateSocket','_replayCachedMutations','__splitChunk__','getCurrentRevOfUnit','pluginName','RETRY_CONNECTING_MAX_COUNT','ClipsheetFragments','localeService','FileId','pad','stringify','m2Prime','_pendingMutations','getMemberID','&to=','actions','YUUMI_URL_COL_OUT_OF_RANGE','USER_NOT_FOUND','$super','ENTITLE_COUPON_USED_UP','INVITE_CODE_REQUIRED','encodeURIComponent','roles','sheets','SUBMIT_CHANGESET_TIMEOUT','collaboratorID','next','_state$','reject','_clearTimeoutTimer','_unitID','resolve','LIVESHARE_TERMINATE','createInstance','_init','/universer-api/snapshot','synced','_disableEditing','clone','[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.','_updateStatus','_collaborationPaused','ENSURE_SNAPSHOT_EXECUTION','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','APPLY_REVISION_CONFILICT','getSnapshotAPIPath','_getCtorByUniverType','getOwnPropertyDescriptor','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_collaborationTimeoutTimer','_onJoinRoomEvent','UNKNOWN_CMD','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','selections','JOIN_ROOM_PERMISSION_DENIED','enableCollaboration','PSEUDO_FETCH_MISSING_RESULT','/collaborator','2066040nvaoGD','readInt32LE','5ihCOGX','HMAC','UPDATE_PERMISSION_OBJ','fetchMiss','add','_showConflictNotification','3844GEuUnd','[PendingState]:\x20received\x20rejection.','[CollaborationState]:\x20apply\x20error!','_clearCollaborationTimeoutTimer','/block/','blockSize','setShowComponents','dispose','random','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','CONFLICT','/universer-api/file/{fileID}/sign-url','transformSelections','NoPadding','transformChangesets','ivSize','_unlockTransition','batchAllowed','charCodeAt','_doCryptBlock','Encryptor','CLOSE_ROOM','_data','_minBufferSize','liveShareNewHost','file','__creator','location','YUUMI_ALL_TABLES_IS_INVALID','push','_clearUndo','_clearScheduledTask','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','YUUMI_SUBSCRIPTION_NOT_FOUND','_doProcessBlock','LOGIN_TOKEN_PROCESSING_FAILED','_createHmacHelper','encrypt','c2Prime','NOT_FOUND','createCollaborator','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','ALREADY_EXISTS','loadDoc','USERS_LEAVE','setConfig','disposeWithMe','JOIN_ROOM_FAILED','_throwTelemetryCollaborationNewChangeset','baseRev','code','getUnitOnRev','resourceIDs','USERS_ENTER','createSocket','_instanceService','key','_collaborationSessionService','state','_onLocalMutation','[SyncedState]:\x20received\x20acknowledgement.','/rev/','localCacheService','authzUrl','values','_startCollaboration','POST','fetching\x20missing\x20changesets\x20from\x20','IDLE','RECV','loadUnitOfRevision','OpenSSL','updateMember','/allowed','now','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_process','_getAPIPrefixPath','clamp','UserProfileImg','_append','clear','_onOffline','?url=','execute','_emitMembers','_ENC_XFORM_MODE','_clearLocalCache','pending','_undoRedoService','session.room-not-exists','_transformUndoredo','_incrementRevisionNumber','patch','createEncryptor','_tryEnsureSocket','PAYMENT_CHANNEL_NOT_SUPPORT','WordArray','resend','mutations','[CollaborationEntity]','LIVESHARE_NEW_HOST','_oKey','dispose$','_waitCount','pauseCollaboration','_redoStacks','BlockCipherMode','_resendTimeout','YUUMI_RATE_OVER_LIMIT','APPLY_NON_SEQUENTIAL_REVISION','range','update','_keySchedule','onTransformRemoteChangesetByIMECache','error','getUnitType','INVITE_CODE_ALREADY_BOUND','set','toggleOffline','roomInfos','subject','isPermissionRej','subscribe','COMPRESS_MUTATION_APPLY','getUnit','joinRsp','_createInitialState','_changesetSessionId','sid','getCollabEntity','session.room-permission-denied','_onRecvEvent','NOT_COLLAB','type','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','name','_compressMutationService','awaitingChangeset','onLocalMutation','sessionStatus','signUrlServerUrl','CONNECTOR_DATA_TOO_LARGE','toggleOnline','_removeRoom','_permissionService','getFocusedUnit','decryptBlock','UNIVER_DOC','SOCKET_FAILED','_type','OPTIONAL','hasher','onMutationExecutedForCollab','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','params','prototype','EMAIL_VERIFY_CODE_MISMATCH','HEARTBEAT_INTERVAL','LEAVE','704517zSXuLh','padding','unsubscribe','21zyGAue','ERROR_AGAIN','updateOfflineData','USER_NOT_INVITED_CODE','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','online$','ENTITLE_DUP_SUBSCRIPTION','_syncEditingCollabCursor','33856752RsyMsA','getSheetBlock','/object','ERROR_IMAGE','_getCurrentRevision','src','changesets','_entities','compute','onCommentUpdate','REDEMPTION_USER_NOT_ELIGIBLE','HELLO','awaiting','_prevBlock','_revisionService','fetch_missing','onRemoteRetry','startTime','[DataLoaderService]','saveChangeset','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_scheduleCollaborationTimeoutTimer','_replaceFileID','PENDING','objects','_commandService','stopTime','replace','getDeserializedSheetBlock','_createHelper','OTHER_CLIENTS_EDITING','_socketReady','SUBMIT_CHANGESET','onTransformRemoteChangesetByStateCache'];_0x1a33=function(){return _0x32d409;};return _0x1a33();}Nt=Jn([ri(0x0,_0x1a58da(_0x4cf79c)),ri(0x1,_0x1a58da(_0x28317b))],Nt);var Qn=Object['getOwnPropertyDescriptor'],er=(_0x380ad3,_0xf75003,_0x353d2d,_0x5a56c9)=>{var _0xf516ae=_0x59b5b4;for(var _0xa61941=_0x5a56c9>0x1?void 0x0:_0x5a56c9?Qn(_0xf75003,_0x353d2d):_0xf75003,_0x256b49=_0x380ad3[_0xf516ae(0x1c0)]-0x1,_0x15d723;_0x256b49>=0x0;_0x256b49--)(_0x15d723=_0x380ad3[_0x256b49])&&(_0xa61941=_0x15d723(_0xa61941)||_0xa61941);return _0xa61941;},Ue=(_0x382d89,_0x120c1d)=>(_0x100ae7,_0x2baa8e)=>_0x120c1d(_0x100ae7,_0x2baa8e,_0x382d89);let ot=class extends _0x5385ac{constructor(_0xf771ec,_0x41b5ec,_0x572e8e,_0x1a0183,_0x4dcb5b){var _0x2d80a8=_0x59b5b4;super(),this[_0x2d80a8(0x160)]=_0xf771ec,this['_univerInstanceService']=_0x41b5ec,this['_permissionService']=_0x572e8e,this[_0x2d80a8(0x2e4)]=_0x1a0183,this['_collaborationUIEventService']=_0x4dcb5b,this['_initUnitPermissionChange'](),this[_0x2d80a8(0x133)]();}[_0x59b5b4(0x133)](){var _0x3d91af=_0x59b5b4;const _0x5e1545=async _0xd220ab=>{var _0x3995d5=_0x2245;(await this[_0x3995d5(0x2e4)][_0x3995d5(0xff)](_0xd220ab))[_0x3995d5(0xf7)][_0x3995d5(0x3fe)](_0x2264c4(_0x4f92f3=>_0x4f92f3['eventID']===_0x8199d6['SHOULD_CLOSE_CONN']),_0x37c0c2(this[_0x3995d5(0x312)]))[_0x3995d5(0x326)](_0x521a4a=>{var _0x587b6e=_0x3995d5;const _0x78d12=_0x521a4a,{reason:_0x535b3f}=_0x78d12[_0x587b6e(0x14b)];this['_collaborationUIEventService']['emitEvent']({'id':re[_0x587b6e(0x2c0)],'data':_0x535b3f}),this[_0x587b6e(0x33c)][_0x587b6e(0x1af)](new _0x1c73ad(_0xd220ab)['id'],!0x1),this[_0x587b6e(0x2e4)][_0x587b6e(0x100)](_0xd220ab);});};_0x58a98c(this[_0x3d91af(0xfa)][_0x3d91af(0x184)](_0x5160b0['UNIVER_SHEET']),this['_univerInstanceService'][_0x3d91af(0x184)](_0x5160b0[_0x3d91af(0x33f)]))['pipe'](_0x3f2333(_0x17107b=>_0x17107b['getUnitId']()),_0x2264c4(_0x464bfa=>!_0x1b558c(_0x464bfa)),_0x37c0c2(this[_0x3d91af(0x312)]))[_0x3d91af(0x326)](_0x2a341d=>{_0x5e1545(_0x2a341d);});}['_initUnitPermissionChange'](){var _0x28ea57=_0x59b5b4;const _0x40df58=async _0x2ec130=>{var _0x5e4e1b=_0x2245;const _0x2d147e=await this[_0x5e4e1b(0x2e4)][_0x5e4e1b(0xff)](_0x2ec130),_0x549f36=this[_0x5e4e1b(0x160)][_0x5e4e1b(0x21f)](_0x4fd551);_0x2d147e[_0x5e4e1b(0xf7)][_0x5e4e1b(0x3fe)](_0x2264c4(_0x1c3776=>_0x1c3776[_0x5e4e1b(0x1a4)]===_0x8199d6[_0x5e4e1b(0x2a7)]),_0x37c0c2(this[_0x5e4e1b(0x312)]))['subscribe'](_0x50a644=>{var _0x282de4=_0x5e4e1b;const _0x3121d9=_0x50a644,{objectId:_0x5cde41}=_0x3121d9[_0x282de4(0x14b)];_0x5cde41===_0x2ec130?_0x549f36['initWorkbookPermissionChange'](_0x2ec130):_0x549f36[_0x282de4(0x3b6)](_0x2ec130,_0x5cde41);});};_0x58a98c(this[_0x28ea57(0xfa)][_0x28ea57(0x184)](_0x5160b0[_0x28ea57(0x21e)]))['pipe'](_0x3f2333(_0x290c55=>_0x290c55[_0x28ea57(0x115)]()),_0x2264c4(_0x2cb612=>!_0x1b558c(_0x2cb612)),_0x37c0c2(this[_0x28ea57(0x312)]))[_0x28ea57(0x326)](_0x6eb80b=>{_0x40df58(_0x6eb80b);});}};ot=er([Ue(0x0,_0x1a58da(_0x304bd2)),Ue(0x1,_0x33b121),Ue(0x2,_0x6680b3),Ue(0x3,_0x1a58da(Le)),Ue(0x4,_0x1a58da(ve))],ot);var tr=Object[_0x59b5b4(0x298)],ir=(_0x26158c,_0x236438,_0x62f124,_0x452276)=>{var _0xe1a994=_0x59b5b4;for(var _0x435663=_0x452276>0x1?void 0x0:_0x452276?tr(_0x236438,_0x62f124):_0x236438,_0x4457ba=_0x26158c[_0xe1a994(0x1c0)]-0x1,_0x4b32c4;_0x4457ba>=0x0;_0x4457ba--)(_0x4b32c4=_0x26158c[_0x4457ba])&&(_0x435663=_0x4b32c4(_0x435663)||_0x435663);return _0x435663;},ai=(_0x2791f1,_0x46ac0c)=>(_0x2af280,_0x284a2e)=>_0x46ac0c(_0x2af280,_0x284a2e,_0x2791f1);let Ct=class{constructor(_0x54ce3e,_0x18f82b){this['_configService']=_0x54ce3e,this['_httpService']=_0x18f82b;}async[_0x59b5b4(0x2de)](_0xdc4947,_0x776704){var _0x8a91d3=_0x59b5b4,_0x4bc260;const {unitID:_0x5c7182,type:_0x257b2a,revision:_0x1adfa8=0x0}=_0x776704,_0x3df234=this[_0x8a91d3(0x296)]()+'/'+_0x257b2a+_0x8a91d3(0x1d8)+_0x5c7182+_0x8a91d3(0x2e8)+_0x1adfa8,_0x3d6272=(await this[_0x8a91d3(0x152)]['get'](_0x3df234))[_0x8a91d3(0x1aa)],_0x17a75a=(_0x4bc260=_0x3d6272[_0x8a91d3(0x3cd)])==null?void 0x0:_0x4bc260['workbook'];if(_0x17a75a){const _0x1c73c7=_0x17a75a==null?void 0x0:_0x17a75a[_0x8a91d3(0x15d)],_0x22f377=_0x224381[_0x8a91d3(0x161)](_0x204879(_0x1c73c7));_0x17a75a[_0x8a91d3(0x15d)]=_0x22f377,Object[_0x8a91d3(0x3ae)](_0x17a75a[_0x8a91d3(0x280)])['forEach'](([,_0x258e37])=>{var _0x3f8fbd=_0x8a91d3;const _0x2672fe=_0x258e37[_0x3f8fbd(0x15d)],_0x964e0b=_0x224381[_0x3f8fbd(0x161)](_0x204879(_0x2672fe));_0x258e37[_0x3f8fbd(0x15d)]=_0x964e0b;});}return _0x3d6272;}async[_0x59b5b4(0x357)](_0x498933,_0x4a7e64){var _0x15855f=_0x59b5b4;const {unitID:_0x418992,type:_0x51f120,blockID:_0x288ee4}=_0x4a7e64,_0x133a58=this['_getAPIPrefix']()+'/'+_0x51f120+_0x15855f(0x1d8)+_0x418992+_0x15855f(0x2af)+_0x288ee4;return(await this[_0x15855f(0x152)][_0x15855f(0x21f)](_0x133a58))['body'];}async[_0x59b5b4(0x372)](_0x559ff6,_0x220475){var _0x15d473=_0x59b5b4;const {unitID:_0x1a8bfb,type:_0x5ec0b9,blockID:_0x109f04}=_0x220475,_0x553b7e=this[_0x15d473(0x3bd)]()+'/block/'+_0x5ec0b9+_0x15d473(0x1d8)+_0x1a8bfb+'/block/'+_0x109f04;return(await this['_httpService'][_0x15d473(0x21f)](_0x553b7e))[_0x15d473(0x1aa)];}async['fetchMissingChangesets'](_0x17ab74,_0x1d736c){var _0x207514=_0x59b5b4;const {unitID:_0x107686,type:_0x49c269,from:_0x391d41,to:_0x1a1366}=_0x1d736c,_0xb9b096=this[_0x207514(0x3bd)]()+'/'+_0x49c269+_0x207514(0x1d8)+_0x107686+_0x207514(0x1c5)+_0x391d41+_0x207514(0x277)+_0x1a1366;return(await this[_0x207514(0x152)][_0x207514(0x21f)](_0xb9b096))[_0x207514(0x1aa)];}[_0x59b5b4(0x296)](){var _0x414ee7=_0x59b5b4,_0x2430d4;return(_0x2430d4=this[_0x414ee7(0x3b5)]['getConfig'](Es))!=null?_0x2430d4:this[_0x414ee7(0x3bd)]();}[_0x59b5b4(0x3bd)](){var _0x1d9d14=_0x59b5b4,_0x50dd0e;const _0x2d1be8=this[_0x1d9d14(0x3b5)][_0x1d9d14(0x1c1)](K);return(_0x50dd0e=_0x2d1be8==null?void 0x0:_0x2d1be8[_0x1d9d14(0xdd)])!=null?_0x50dd0e:vs;}async[_0x59b5b4(0xe6)](_0x59b190,_0x2cf679){var _0x414c67=_0x59b5b4;const _0x55cc28='/universer-api/snapshot/'+_0x2cf679['type']+'/unit/'+_0x2cf679[_0x414c67(0x266)]+_0x414c67(0x3b1);return(await this[_0x414c67(0x152)][_0x414c67(0x21f)](_0x55cc28,{'params':{'resourceId':JSON[_0x414c67(0x273)](_0x2cf679[_0x414c67(0x2df)])}}))[_0x414c67(0x1aa)];}[_0x59b5b4(0x3c4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['updateSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x1dfa59=_0x59b5b4;throw new Error(_0x1dfa59(0x401));}[_0x59b5b4(0x369)](){var _0x5da3e1=_0x59b5b4;throw new Error(_0x5da3e1(0x401));}[_0x59b5b4(0x3d4)](){var _0x112c6e=_0x59b5b4;throw new Error(_0x112c6e(0x401));}[_0x59b5b4(0x386)](){var _0x160f10=_0x59b5b4;throw new Error(_0x160f10(0x401));}};Ct=ir([ai(0x0,_0x4cf79c),ai(0x1,_0x1a58da(_0x28317b))],Ct);var sr=Object[_0x59b5b4(0x298)],nr=(_0x455747,_0x3a4f9d,_0x4a1cc3,_0x131a1b)=>{var _0x56cb17=_0x59b5b4;for(var _0x445693=_0x131a1b>0x1?void 0x0:_0x131a1b?sr(_0x3a4f9d,_0x4a1cc3):_0x3a4f9d,_0x3cc35f=_0x455747[_0x56cb17(0x1c0)]-0x1,_0x146d61;_0x3cc35f>=0x0;_0x3cc35f--)(_0x146d61=_0x455747[_0x3cc35f])&&(_0x445693=_0x146d61(_0x445693)||_0x445693);return _0x445693;},Ae=(_0x415eca,_0x543e1e)=>(_0x26bf62,_0x486de3)=>_0x543e1e(_0x26bf62,_0x486de3,_0x415eca);let bt=class extends _0x176556{constructor(_0x4d46fb,_0x43bbf9,_0x45ade6,_0x3892d6,_0x323453){var _0x15792c=_0x59b5b4;super(_0x4d46fb,_0x43bbf9,_0x45ade6),this[_0x15792c(0x39f)]=_0x3892d6,this['_logService']=_0x323453;}[_0x59b5b4(0x210)](_0x219c99,_0x3e1272){var _0x5ced01=_0x59b5b4;const _0x26a4d9=this[_0x5ced01(0x16a)](_0x219c99);if(_0x26a4d9)try{const _0x50ddc4=this[_0x5ced01(0x1de)](_0x26a4d9,_0x3e1272);this['_substituteUndoStack'](_0x219c99,_0x50ddc4);}catch(_0x354a0d){this[_0x5ced01(0x12a)][_0x5ced01(0x31e)]('[CollaborationUndoRedoService]',_0x354a0d),this[_0x5ced01(0x2c9)](_0x219c99);}const _0x476779=this[_0x5ced01(0x223)](_0x219c99);if(_0x476779)try{const _0x20ed6f=this[_0x5ced01(0x1de)](_0x476779,_0x3e1272);this[_0x5ced01(0x396)](_0x219c99,_0x20ed6f);}catch(_0x518520){this[_0x5ced01(0x12a)][_0x5ced01(0x31e)](_0x518520),this[_0x5ced01(0x155)](_0x219c99);}}[_0x59b5b4(0x2c9)](_0x1dfa3a){var _0xc886f6=_0x59b5b4;const _0x5cba75=this[_0xc886f6(0x16a)](_0x1dfa3a);_0x5cba75&&(_0x5cba75[_0xc886f6(0x1c0)]=0x0,this[_0xc886f6(0x291)]());}[_0x59b5b4(0x155)](_0x20e3ca){var _0x33cdfc=_0x59b5b4;const _0x500f08=this[_0x33cdfc(0x223)](_0x20e3ca);_0x500f08&&(_0x500f08['length']=0x0,this['_updateStatus']());}[_0x59b5b4(0x253)](_0x144f29,_0x1e235e){var _0x321fb5=_0x59b5b4;this[_0x321fb5(0x3a4)]['set'](_0x144f29,_0x1e235e),this[_0x321fb5(0x291)]();}['_substituteRedoStack'](_0x1c26fa,_0x2d69b1){var _0x5e87c3=_0x59b5b4;this[_0x5e87c3(0x315)][_0x5e87c3(0x321)](_0x1c26fa,_0x2d69b1),this[_0x5e87c3(0x291)]();}[_0x59b5b4(0x1de)](_0x17aa01,_0x6e6c72){var _0x4ee3fe=_0x59b5b4;const _0x578b3f=[];let _0x4c0fc5=_0x6e6c72,_0x35dc8e=_0x6e6c72;for(let _0x3f7d5d=_0x17aa01[_0x4ee3fe(0x1c0)]-0x1;_0x3f7d5d>=0x0;_0x3f7d5d--){const {unitID:_0x514aa6,undoMutations:_0x2de621,redoMutations:_0x387033}=_0x17aa01[_0x3f7d5d],_0x253116=this[_0x4ee3fe(0x39f)][_0x4ee3fe(0x38e)](_0x4c0fc5,_0x2de621),_0x29ed6f=this[_0x4ee3fe(0x39f)][_0x4ee3fe(0x38e)](_0x35dc8e,_0x387033);if(_0x2667a2(_0x253116)||_0x2667a2(_0x29ed6f)){this[_0x4ee3fe(0x12a)][_0x4ee3fe(0x31e)](_0x4ee3fe(0x126),_0x4ee3fe(0x199),_0x253116,_0x29ed6f);break;}_0x4c0fc5=_0x253116[_0x4ee3fe(0x1eb)],_0x35dc8e=_0x29ed6f[_0x4ee3fe(0x1eb)],_0x578b3f['push']({'unitID':_0x514aa6,'undoMutations':_0x253116[_0x4ee3fe(0x274)],'redoMutations':_0x29ed6f[_0x4ee3fe(0x274)]});}return _0x578b3f[_0x4ee3fe(0xfb)]();}};bt=nr([Ae(0x0,_0x33b121),Ae(0x1,_0x48e048),Ae(0x2,_0x1abaab),Ae(0x3,_0x39ca4e),Ae(0x4,_0x41f1d3)],bt);var rr=Object[_0x59b5b4(0x139)],ar=Object[_0x59b5b4(0x298)],or=(_0x515583,_0x1d91c5,_0xceb620)=>_0x1d91c5 in _0x515583?rr(_0x515583,_0x1d91c5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xceb620}):_0x515583[_0x1d91c5]=_0xceb620,cr=(_0x455b37,_0x4dd411,_0x55dcd5,_0x2cb30e)=>{for(var _0x15dcf9=_0x2cb30e>0x1?void 0x0:_0x2cb30e?ar(_0x4dd411,_0x55dcd5):_0x4dd411,_0x227f8f=_0x455b37['length']-0x1,_0x430e2e;_0x227f8f>=0x0;_0x227f8f--)(_0x430e2e=_0x455b37[_0x227f8f])&&(_0x15dcf9=_0x430e2e(_0x15dcf9)||_0x15dcf9);return _0x15dcf9;},pt=(_0x599e69,_0x64b032)=>(_0x949e67,_0x4f545a)=>_0x64b032(_0x949e67,_0x4f545a,_0x599e69),_r=(_0x3d2796,_0x3c3cec,_0xc85220)=>or(_0x3d2796,_0x3c3cec+'',_0xc85220);const hr=_0x59b5b4(0x10a);let Dt=class extends _0x4fc85d{constructor(_0x2bafa1,_0x58e2bd,_0x5e0e02,_0x3ab42d){var _0x1d3d8d=_0x59b5b4;super(),D(this,_0x1d3d8d(0x228)),(this[_0x1d3d8d(0x12a)]=_0x58e2bd,this[_0x1d3d8d(0x160)]=_0x5e0e02,this[_0x1d3d8d(0x3b5)]=_0x3ab42d);const {..._0x47032e}=_0x51372b({},xs,_0x2bafa1);if(!_0x47032e[_0x1d3d8d(0x101)])throw new Error(_0x1d3d8d(0x294));this[_0x1d3d8d(0x228)]=_0x47032e,this[_0x1d3d8d(0x3b5)][_0x1d3d8d(0x2d8)](K,_0x47032e);}[_0x59b5b4(0xe2)](){var _0x20ed2f=_0x59b5b4;this['_registerDependencies'](),this[_0x20ed2f(0x11a)]();}[_0x59b5b4(0x14a)](){var _0xfd4e7c=_0x59b5b4,_0xc120b4,_0x5da310;this['_injector'][_0xfd4e7c(0x227)](_0x4c7a7f)&&this[_0xfd4e7c(0x12a)][_0xfd4e7c(0x31e)](_0xfd4e7c(0x3af),_0xfd4e7c(0x29d));const _0x430b91=_0x55d6ff([[_0x4c7a7f,{'useClass':bt}],[Le],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this[_0xfd4e7c(0x228)][_0xfd4e7c(0x101)]}],[_0x153314,{'useClass':Ct}],[_0x48291a,{'useClass':Tt}],[_0xacadaa,{'useClass':Rt}],[_0x42f742,{'useClass':Nt}],[nt],[gt]],(_0xc120b4=this[_0xfd4e7c(0x228)])==null?void 0x0:_0xc120b4[_0xfd4e7c(0x238)]);if(!((_0x5da310=this[_0xfd4e7c(0x228)])!=null&&_0x5da310[_0xfd4e7c(0x3c8)])){const _0x5d22fc=_0x430b91['findIndex'](([_0x579bff])=>_0x579bff===_t);_0x5d22fc!==-0x1&&_0x430b91[_0xfd4e7c(0x23c)](_0x5d22fc,0x1);}_0x3ad911(this[_0xfd4e7c(0x160)],_0x430b91);}[_0x59b5b4(0x11a)](){var _0x4fb542=_0x59b5b4,_0xbb114b,_0x2bd2be,_0x1965dd;this[_0x4fb542(0x160)][_0x4fb542(0x21f)](_0x28317b)[_0x4fb542(0x261)]({'priority':0x14,'interceptor':_0x17daf5({'maxParallel':0x6})}),(_0xbb114b=this[_0x4fb542(0x228)])!=null&&_0xbb114b[_0x4fb542(0x212)]||(_0x2bd2be=this[_0x4fb542(0x160)]['get'](X,_0x537754[_0x4fb542(0x342)]))==null||_0x2bd2be[_0x4fb542(0x3d2)](),(_0x1965dd=this[_0x4fb542(0x228)])!=null&&_0x1965dd[_0x4fb542(0x394)]&&_0x5dd37a(this['_injector'],[[rt]]),_0x5dd37a(this[_0x4fb542(0x160)],[[at],[nt],[ot]]);}};_r(Dt,_0x59b5b4(0x26d),hr),Dt=cr([_0x12fa2d(_0x1d5c63,_0x211efc),pt(0x1,_0x41f1d3),pt(0x2,_0x1a58da(_0x304bd2)),pt(0x3,_0x4cf79c)],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,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Cr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Tr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Is as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,js as INetworkConditionService,_t as ISingleActiveUnitService,Rr as LOCAL_CACHE_INTERVAL,Or as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,Nr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Ts 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,Vs as deserializeToCombResponse,br as getLocalCacheKey,Gs as serializeCombRequest};
|
|
1
|
+
var _0x2441f9=_0x3471;(function(_0x39dbd0,_0x5f2448){var _0x1620dc=_0x3471,_0x2ffdca=_0x39dbd0();while(!![]){try{var _0x280088=-parseInt(_0x1620dc(0x193))/0x1*(-parseInt(_0x1620dc(0xdc))/0x2)+-parseInt(_0x1620dc(0x2d7))/0x3*(-parseInt(_0x1620dc(0x287))/0x4)+parseInt(_0x1620dc(0x130))/0x5+parseInt(_0x1620dc(0x17e))/0x6*(parseInt(_0x1620dc(0x162))/0x7)+-parseInt(_0x1620dc(0x208))/0x8*(-parseInt(_0x1620dc(0x209))/0x9)+parseInt(_0x1620dc(0x2bf))/0xa+-parseInt(_0x1620dc(0x121))/0xb;if(_0x280088===_0x5f2448)break;else _0x2ffdca['push'](_0x2ffdca['shift']());}catch(_0x1d5f9c){_0x2ffdca['push'](_0x2ffdca['shift']());}}}(_0x4168,0x7e852));var Di=Object[_0x2441f9(0x39d)],yi=(_0x119916,_0x65af47,_0x4f3d4b)=>_0x65af47 in _0x119916?Di(_0x119916,_0x65af47,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f3d4b}):_0x119916[_0x65af47]=_0x4f3d4b,D=(_0x5313aa,_0x2c6b25,_0x4d6813)=>yi(_0x5313aa,typeof _0x2c6b25!=_0x2441f9(0x32d)?_0x2c6b25+'':_0x2c6b25,_0x4d6813);import{CollaborationEvent as _0x12397d,ITransformService as _0x32916a,isTransformMutationsWithChangesetSuccess as _0x2633c8,mapDocumentTypeToUniverType as _0x3ac6c3,RevisionService as _0x468892,isTransformChangesetsSuccess as _0x13a7a8,EmptyMutationInfo as _0x3dc826,CompressMutationService as _0x4b2aeb,parseProtocolChangeset as _0x37c359,uuidv4 as _0xe8315c,ISnapshotServerService as _0x2dc9c3,parseChangesetToProtocol as _0x40c88e,SnapshotService as _0x246c29,textEncoder as _0x46f027,b64DecodeUnicode as _0x3c0f58,isTransformMutationsWithChangesetFailure as _0x6d8ad2,UniverCollaborationPlugin as _0x21fdb5}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x1dfd8a,Inject as _0x52cfb7,UserManagerService as _0x5f213b,Disposable as _0x1c8a31,UniverInstanceType as _0x2ddda7,ILogService as _0x5a9074,IConfigService as _0x328306,Optional as _0x273dbc,RxDisposable as _0x12f467,createIdentifier as _0x1444ff,Injector as _0x395e58,Tools as _0x46346e,Rectangle as _0x5f2389,ICommandService as _0x56439f,JSONX as _0x3a6f99,IUndoRedoService as _0x2e0c07,IPermissionService as _0x9ee13b,LocaleService as _0x4150d5,sequenceExecute as _0x5c4f7a,toDisposable as _0x1e1ebb,CommandType as _0x3a3511,DisposableCollection as _0x57f208,Workbook as _0x1ed90b,resolveWithBasePath as _0x21c242,generateRandomId as _0x4b4c01,MentionType as _0x54465f,isInternalEditorID as _0x2bc118,LocalUndoRedoService as _0x8e8f90,IContextService as _0x3645ae,DependentOn as _0x5643a,Plugin as _0x101eb7,merge as _0x46c0e3,mergeOverrideWithDependencies as _0x2df2e6,IAuthzIoService as _0x29b7be,IMentionIOService as _0x346bf2,registerDependencies as _0x30ffe6,Quantity as _0x3af328,touchDependencies as _0x2d25d0}from'@univerjs/core';import{RichTextEditingMutation as _0x203027}from'@univerjs/docs';import{SheetsSelectionsService as _0x3549df,SetSelectionsOperation as _0x1d901d,InsertSheetMutation as _0x4fefa1,WorkbookEditablePermission as _0x3c8993,SheetPermissionInitController as _0x1b0814}from'@univerjs/sheets';import{Subject as _0x12b55a,merge as _0x5a45a0,of as _0x256d3d,BehaviorSubject as _0x52b67b,takeUntil as _0x1066d7,ReplaySubject as _0xece793,take as _0xcec3bf,map as _0x1facbe,shareReplay as _0x576323,firstValueFrom as _0x553f5e,concatMap as _0x454066}from'rxjs';import{ITelemetryService as _0x620821}from'@univerjs/telemetry';import{map as _0xe994cc,take as _0x28efbf,filter as _0x12d299,delay as _0x1024bb,takeUntil as _0x5d9e65}from'rxjs/operators';import{HTTPService as _0xacb381,ISocketService as _0x4fc133,MergeInterceptorFactory as _0x2e57ce,HTTPRequest as _0x53915c,UniverNetworkPlugin as _0xa5f97f,ThresholdInterceptorFactory as _0x2994c2}from'@univerjs/network';import{ImageSourceType as _0x550656,ImageUploadStatusType as _0x22d6fe,IImageIoService as _0x18f5bc}from'@univerjs/drawing';import{getGlobalObject as _0x2d4eef}from'@univerjs-pro/license';const Es=_0x2441f9(0xad),ps='SNAPSHOT_URL_KEY',ms=0x7d0,Is=_0x2441f9(0xd4),Or=_0x2441f9(0x148),Ss=_0x2441f9(0x2ce),gs=0x7530,di=_0x2441f9(0x24f),fi=0x4e20,Ts=0x4e20,Os=_0x2441f9(0xe5),Rs=0x3,Rr=_0x2441f9(0x183),Nr=0x3e8,Ns=_0x2441f9(0x2bb),Cs=_0x2441f9(0x377),Cr=_0x2441f9(0x335),br='/universer-api/uniscript';var vi=(_0x34b003=>(_0x34b003[_0x34b003[_0x2441f9(0x1fa)]=0x0]=_0x2441f9(0x1fa),_0x34b003[_0x34b003['OK']=0x1]='OK',_0x34b003[_0x34b003[_0x2441f9(0x1b3)]=0x2]='INTERNAL_ERROR',_0x34b003[_0x34b003['PERMISSION_DENIED']=0x3]=_0x2441f9(0x112),_0x34b003[_0x34b003[_0x2441f9(0x262)]=0x4]='NOT_FOUND',_0x34b003[_0x34b003[_0x2441f9(0x13c)]=0x5]=_0x2441f9(0x13c),_0x34b003[_0x34b003[_0x2441f9(0x3c1)]=0x6]=_0x2441f9(0x3c1),_0x34b003[_0x34b003[_0x2441f9(0x342)]=0x7]=_0x2441f9(0x342),_0x34b003[_0x34b003[_0x2441f9(0xa8)]=0x8]='TOO_MANY_REQUESTS',_0x34b003[_0x34b003[_0x2441f9(0x242)]=0x9]=_0x2441f9(0x242),_0x34b003[_0x34b003[_0x2441f9(0x122)]=0xa]='LOGIN_FAILED',_0x34b003[_0x34b003[_0x2441f9(0x12e)]=0xb]=_0x2441f9(0x12e),_0x34b003[_0x34b003[_0x2441f9(0x23c)]=0xc]=_0x2441f9(0x23c),_0x34b003[_0x34b003[_0x2441f9(0x194)]=0xd]=_0x2441f9(0x194),_0x34b003[_0x34b003['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x2441f9(0x21b),_0x34b003[_0x34b003['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x2441f9(0x3b9),_0x34b003[_0x34b003[_0x2441f9(0x19a)]=0x10]=_0x2441f9(0x19a),_0x34b003[_0x34b003['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x34b003[_0x34b003[_0x2441f9(0x21f)]=0x65]=_0x2441f9(0x21f),_0x34b003[_0x34b003['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x34b003[_0x34b003['USER_IS_ANONYMOUS']=0xca]=_0x2441f9(0x107),_0x34b003[_0x34b003['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x34b003[_0x34b003[_0x2441f9(0x1ef)]=0x1771]=_0x2441f9(0x1ef),_0x34b003[_0x34b003['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x34b003[_0x34b003[_0x2441f9(0x357)]=0x1773]=_0x2441f9(0x357),_0x34b003[_0x34b003['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x34b003[_0x34b003[_0x2441f9(0x33c)]=0x1b5a]=_0x2441f9(0x33c),_0x34b003[_0x34b003[_0x2441f9(0xfa)]=0x1b5b]=_0x2441f9(0xfa),_0x34b003[_0x34b003['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2441f9(0xf7),_0x34b003[_0x34b003[_0x2441f9(0x2a4)]=0x1b5d]=_0x2441f9(0x2a4),_0x34b003[_0x34b003['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x2441f9(0x11b),_0x34b003[_0x34b003[_0x2441f9(0x1d3)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x34b003[_0x34b003[_0x2441f9(0x96)]=0x232a]=_0x2441f9(0x96),_0x34b003[_0x34b003[_0x2441f9(0x333)]=0x232b]=_0x2441f9(0x333),_0x34b003[_0x34b003['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x34b003[_0x34b003[_0x2441f9(0x10d)]=0x232d]=_0x2441f9(0x10d),_0x34b003[_0x34b003[_0x2441f9(0xea)]=0x2711]=_0x2441f9(0xea),_0x34b003[_0x34b003[_0x2441f9(0x2a9)]=0x2712]=_0x2441f9(0x2a9),_0x34b003[_0x34b003[_0x2441f9(0xf3)]=0x2713]=_0x2441f9(0xf3),_0x34b003[_0x34b003['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2441f9(0x3b6),_0x34b003[_0x34b003[_0x2441f9(0x154)]=0x271a]=_0x2441f9(0x154),_0x34b003[_0x34b003[_0x2441f9(0x1b8)]=0x271b]=_0x2441f9(0x1b8),_0x34b003[_0x34b003[_0x2441f9(0x11a)]=0x271c]=_0x2441f9(0x11a),_0x34b003[_0x34b003[_0x2441f9(0x25f)]=0x271d]=_0x2441f9(0x25f),_0x34b003[_0x34b003[_0x2441f9(0x22d)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x34b003[_0x34b003[_0x2441f9(0x249)]=0x271f]=_0x2441f9(0x249),_0x34b003[_0x34b003['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x2441f9(0x25c),_0x34b003[_0x34b003[_0x2441f9(0x364)]=0x2af9]=_0x2441f9(0x364),_0x34b003[_0x34b003[_0x2441f9(0x24e)]=0x2ee1]=_0x2441f9(0x24e),_0x34b003[_0x34b003[_0x2441f9(0x2f9)]=0x2ee2]=_0x2441f9(0x2f9),_0x34b003[_0x34b003[_0x2441f9(0x20f)]=0x2ee3]=_0x2441f9(0x20f),_0x34b003[_0x34b003['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x34b003[_0x34b003[_0x2441f9(0xcc)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x34b003[_0x34b003[_0x2441f9(0x2a1)]=0x32c9]=_0x2441f9(0x2a1),_0x34b003[_0x34b003[_0x2441f9(0x30d)]=0x32ca]=_0x2441f9(0x30d),_0x34b003[_0x34b003[_0x2441f9(0x11d)]=0x32cb]=_0x2441f9(0x11d),_0x34b003[_0x34b003[_0x2441f9(0x1f4)]=0x36b1]=_0x2441f9(0x1f4),_0x34b003[_0x34b003[_0x2441f9(0x3c2)]=0x36b2]=_0x2441f9(0x3c2),_0x34b003[_0x34b003[_0x2441f9(0xc2)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x34b003[_0x34b003[_0x2441f9(0x3b5)]=0x36b4]=_0x2441f9(0x3b5),_0x34b003[_0x34b003['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x2441f9(0x25b),_0x34b003[_0x34b003['ENTITLE_COUPON_EXPIRED']=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x34b003[_0x34b003[_0x2441f9(0x13b)]=0x36b7]=_0x2441f9(0x13b),_0x34b003[_0x34b003[_0x2441f9(0x35a)]=0x36b8]=_0x2441f9(0x35a),_0x34b003[_0x34b003[_0x2441f9(0x15c)]=0x3715]=_0x2441f9(0x15c),_0x34b003[_0x34b003['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x34b003[_0x34b003[_0x2441f9(0x12c)]=0x3717]=_0x2441f9(0x12c),_0x34b003[_0x34b003[_0x2441f9(0x15d)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x34b003[_0x34b003[_0x2441f9(0x223)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x34b003[_0x34b003['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x2441f9(0x23b),_0x34b003[_0x34b003[_0x2441f9(0x2c9)]=0x3a9b]=_0x2441f9(0x2c9),_0x34b003[_0x34b003['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x2441f9(0x200),_0x34b003[_0x34b003[_0x2441f9(0x383)]=0x3a9d]=_0x2441f9(0x383),_0x34b003[_0x34b003['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x2441f9(0x2dd),_0x34b003[_0x34b003[_0x2441f9(0x2e2)]=0x3a9f]=_0x2441f9(0x2e2),_0x34b003[_0x34b003['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x2441f9(0x273),_0x34b003[_0x34b003[_0x2441f9(0x34e)]=-0x1]=_0x2441f9(0x34e),_0x34b003))(vi||{}),Q=(_0x11ca1e=>(_0x11ca1e[_0x11ca1e['UNIVER_UNKNOWN']=0x0]=_0x2441f9(0x1ba),_0x11ca1e[_0x11ca1e['UNIVER_DOC']=0x1]=_0x2441f9(0x1e5),_0x11ca1e[_0x11ca1e[_0x2441f9(0x110)]=0x2]='UNIVER_SHEET',_0x11ca1e[_0x11ca1e['UNIVER_SLIDE']=0x3]=_0x2441f9(0x1a8),_0x11ca1e[_0x11ca1e['UNIVER_PROJECT']=0x4]=_0x2441f9(0x360),_0x11ca1e[_0x11ca1e[_0x2441f9(0x34e)]=-0x1]='UNRECOGNIZED',_0x11ca1e))(Q||{}),j=(_0x513f17=>(_0x513f17[_0x513f17['UNKNOWN_CMD']=0x0]=_0x2441f9(0x393),_0x513f17[_0x513f17['HELLO']=0x1]='HELLO',_0x513f17[_0x513f17[_0x2441f9(0x1a5)]=0x2]=_0x2441f9(0x1a5),_0x513f17[_0x513f17[_0x2441f9(0x3a9)]=0x3]='LEAVE',_0x513f17[_0x513f17[_0x2441f9(0x221)]=0x4]=_0x2441f9(0x221),_0x513f17[_0x513f17[_0x2441f9(0xf1)]=0x5]=_0x2441f9(0xf1),_0x513f17[_0x513f17[_0x2441f9(0x185)]=0x6]='RECV',_0x513f17[_0x513f17[_0x2441f9(0x34e)]=-0x1]=_0x2441f9(0x34e),_0x513f17))(j||{}),Ee=(_0x44e65d=>(_0x44e65d[_0x44e65d[_0x2441f9(0xf6)]=0x0]='UNKNOWN_CODE',_0x44e65d[_0x44e65d['OK']=0x1]='OK',_0x44e65d[_0x44e65d[_0x2441f9(0x371)]=0x2]=_0x2441f9(0x371),_0x44e65d[_0x44e65d[_0x2441f9(0x1cb)]=0x3e9]=_0x2441f9(0x1cb),_0x44e65d[_0x44e65d[_0x2441f9(0x1de)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x44e65d[_0x44e65d['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x2441f9(0x359),_0x44e65d[_0x44e65d[_0x2441f9(0x387)]=0x3ec]=_0x2441f9(0x387),_0x44e65d[_0x44e65d[_0x2441f9(0x34e)]=-0x1]=_0x2441f9(0x34e),_0x44e65d))(Ee||{}),Ei=(_0x3b3a0b=>(_0x3b3a0b[_0x3b3a0b['Undefined']=0x0]=_0x2441f9(0x36d),_0x3b3a0b[_0x3b3a0b[_0x2441f9(0x31a)]=0x1]=_0x2441f9(0x31a),_0x3b3a0b[_0x3b3a0b[_0x2441f9(0x116)]=0x2]=_0x2441f9(0x116),_0x3b3a0b[_0x3b3a0b[_0x2441f9(0x1d2)]=0x3]=_0x2441f9(0x1d2),_0x3b3a0b[_0x3b3a0b['UnitSnapshot']=0x4]=_0x2441f9(0x19d),_0x3b3a0b[_0x3b3a0b[_0x2441f9(0x226)]=0x5]=_0x2441f9(0x226),_0x3b3a0b[_0x3b3a0b['ClipsheetFragments']=0x6]=_0x2441f9(0x213),_0x3b3a0b[_0x3b3a0b[_0x2441f9(0x34e)]=-0x1]=_0x2441f9(0x34e),_0x3b3a0b))(Ei||{});const bs='collaboration_new_changeset';function Ds(_0x55e331){var _0x534246=_0x2441f9;return JSON[_0x534246(0x35b)](_0x55e331)[_0x534246(0x158)];}var re=(_0x1457f3=>(_0x1457f3[_0x2441f9(0x381)]=_0x2441f9(0x381),_0x1457f3[_0x2441f9(0x112)]=_0x2441f9(0x112),_0x1457f3['CONFLICT']=_0x2441f9(0x2e9),_0x1457f3[_0x2441f9(0x1e1)]='CLOSE_ROOM',_0x1457f3[_0x2441f9(0x129)]=_0x2441f9(0x129),_0x1457f3[_0x2441f9(0x32f)]='SOCKET_FAILED_RETRY',_0x1457f3[_0x2441f9(0x300)]=_0x2441f9(0x300),_0x1457f3[_0x2441f9(0xa0)]=_0x2441f9(0xa0),_0x1457f3))(re||{});class ve{constructor(){var _0x2a4ba1=_0x2441f9;D(this,_0x2a4ba1(0x1d4),new _0x12b55a()),D(this,_0x2a4ba1(0x18f),this[_0x2a4ba1(0x1d4)]['asObservable']());}['emitEvent'](_0x4e0dcd){var _0x387c21=_0x2441f9;this[_0x387c21(0x1d4)][_0x387c21(0x270)](_0x4e0dcd);}}class pi{constructor(){var _0x17aa97=_0x2441f9;D(this,'_commentUpdate$',new _0x12b55a()),D(this,_0x17aa97(0x1ea),this[_0x17aa97(0x160)][_0x17aa97(0xee)]());}['onCommentUpdate'](_0x57668a){var _0x31c0a3=_0x2441f9;this[_0x31c0a3(0x160)][_0x31c0a3(0x270)](_0x57668a);}}var ys=Object[_0x2441f9(0x2bc)],Us=(_0x134d9b,_0xc34205,_0x5c65e0,_0x5de7cd)=>{var _0xe9a260=_0x2441f9;for(var _0x126af5=_0x5de7cd>0x1?void 0x0:_0x5de7cd?ys(_0xc34205,_0x5c65e0):_0xc34205,_0x7a7837=_0x134d9b[_0xe9a260(0x158)]-0x1,_0x303d97;_0x7a7837>=0x0;_0x7a7837--)(_0x303d97=_0x134d9b[_0x7a7837])&&(_0x126af5=_0x303d97(_0x126af5)||_0x126af5);return _0x126af5;},Ft=(_0x588661,_0x116f26)=>(_0x54cb2e,_0x130129)=>_0x116f26(_0x54cb2e,_0x130129,_0x588661);let Pe=class extends _0x1c8a31{constructor(_0x5481ba,_0x18d3e7){var _0xfd09fb=_0x2441f9;super(),D(this,_0xfd09fb(0x192),new Map()),D(this,_0xfd09fb(0x146),new _0x12b55a()),(this['_univerInstanceService']=_0x5481ba,this[_0xfd09fb(0x1cd)]=_0x18d3e7,this[_0xfd09fb(0x1d9)](_0x5a45a0(this[_0xfd09fb(0x189)][_0xfd09fb(0xe2)](_0x2ddda7[_0xfd09fb(0x110)])['pipe'](_0xe994cc(_0x182916=>_0x182916['getUnitId']())),this[_0xfd09fb(0x189)]['getTypeOfUnitDisposed$'](_0x2ddda7[_0xfd09fb(0x1e5)])[_0xfd09fb(0x3b2)](_0xe994cc(_0x26ae71=>_0x26ae71[_0xfd09fb(0x310)]())),this[_0xfd09fb(0x189)][_0xfd09fb(0xe2)](_0x2ddda7[_0xfd09fb(0x1a8)])[_0xfd09fb(0x3b2)](_0xe994cc(_0xbb8106=>_0xbb8106['getUnitId']())))[_0xfd09fb(0x34f)](_0x566c31=>this[_0xfd09fb(0x1da)](_0x566c31))));}[_0x2441f9(0x184)](_0x16fbaa){var _0x4deb76=_0x2441f9;return this[_0x4deb76(0x192)][_0x4deb76(0x135)](_0x16fbaa)?_0x256d3d(this[_0x4deb76(0x192)][_0x4deb76(0x222)](_0x16fbaa)):this[_0x4deb76(0x146)][_0x4deb76(0x3b2)](_0xe994cc(_0x4fa7d7=>{if(_0x4fa7d7===_0x16fbaa)return this['_roomMembers']['get'](_0x4fa7d7);}));}[_0x2441f9(0x2b4)](_0x11547e){var _0x300740=_0x2441f9;this[_0x300740(0x1cd)][_0x300740(0x2b4)](_0x11547e);}[_0x2441f9(0x2c1)](){var _0x490efa=_0x2441f9;return this[_0x490efa(0x1cd)]['getCurrentUser']();}[_0x2441f9(0xf4)](_0x35cee0,_0x2d764b){var _0x1424fe=_0x2441f9;let _0x5b8560=this[_0x1424fe(0x192)][_0x1424fe(0x222)](_0x35cee0);_0x5b8560||(_0x5b8560=new As(),this[_0x1424fe(0x192)][_0x1424fe(0xfe)](_0x35cee0,_0x5b8560),this[_0x1424fe(0x146)]['next'](_0x35cee0)),_0x5b8560[_0x1424fe(0xf4)](_0x2d764b);}['removeMember'](_0x206409,_0x7ac761){var _0x32970f=_0x2441f9;const _0xc30b79=this[_0x32970f(0x192)][_0x32970f(0x222)](_0x206409);_0xc30b79&&_0xc30b79[_0x32970f(0x187)](_0x7ac761);}[_0x2441f9(0x29f)](_0x400026){var _0x38a6e3=_0x2441f9;return this[_0x38a6e3(0x192)][_0x38a6e3(0x222)](_0x400026);}[_0x2441f9(0x1a7)](_0xf79cff,_0xb619ef){var _0x1878f4=_0x2441f9;const _0x5ef33a=this[_0x1878f4(0x192)][_0x1878f4(0x222)](_0xf79cff);if(_0x5ef33a)return _0x5ef33a[_0x1878f4(0x1a7)](_0xb619ef);}[_0x2441f9(0x1da)](_0x53723e){var _0x32a718=_0x2441f9;const _0x2c2412=this[_0x32a718(0x192)][_0x32a718(0x222)](_0x53723e);_0x2c2412&&(_0x2c2412['dispose'](),this[_0x32a718(0x192)][_0x32a718(0x307)](_0x53723e));}[_0x2441f9(0x108)](){var _0x1d969d=_0x2441f9;this[_0x1d969d(0x192)]['forEach'](_0x371a48=>_0x371a48[_0x1d969d(0x108)]()),this[_0x1d969d(0x192)][_0x1d969d(0x228)](),this[_0x1d969d(0x146)]['complete']();}};Pe=Us([Ft(0x0,_0x1dfd8a),Ft(0x1,_0x52cfb7(_0x5f213b))],Pe);class As extends _0x1c8a31{constructor(){var _0xb0a596=_0x2441f9;super(...arguments),D(this,_0xb0a596(0x115),new Map()),D(this,_0xb0a596(0x9d),new _0x52b67b(this[_0xb0a596(0x115)])),D(this,_0xb0a596(0x225),this[_0xb0a596(0x9d)][_0xb0a596(0xee)]());}['dispose'](){var _0x194632=_0x2441f9;this['_members'][_0x194632(0x228)]();}[_0x2441f9(0xf4)](_0x15f94f){var _0x3aa3ad=_0x2441f9;this[_0x3aa3ad(0x115)][_0x3aa3ad(0xfe)](_0x15f94f[_0x3aa3ad(0xdf)],_0x15f94f),this[_0x3aa3ad(0x2e6)]();}[_0x2441f9(0x187)](_0x4baf60){var _0x50ed4e=_0x2441f9;this[_0x50ed4e(0x115)][_0x50ed4e(0x307)](_0x4baf60);}[_0x2441f9(0x1a7)](_0x57dcb5){var _0x49e9c7=_0x2441f9;return this[_0x49e9c7(0x115)][_0x49e9c7(0x222)](_0x57dcb5);}[_0x2441f9(0x2fd)](){var _0x8a7257=_0x2441f9;return Array[_0x8a7257(0x3a7)](this['_members'][_0x8a7257(0x278)]());}[_0x2441f9(0x2e6)](){var _0x10da76=_0x2441f9;this[_0x10da76(0x9d)][_0x10da76(0x270)](this[_0x10da76(0x115)]);}}var Ps=Object[_0x2441f9(0x2bc)],ws=(_0x2abf47,_0x43f2a9,_0x4c6212,_0x215074)=>{var _0x5b6e88=_0x2441f9;for(var _0xb6e496=_0x215074>0x1?void 0x0:_0x215074?Ps(_0x43f2a9,_0x4c6212):_0x43f2a9,_0x805e53=_0x2abf47[_0x5b6e88(0x158)]-0x1,_0x58781b;_0x805e53>=0x0;_0x805e53--)(_0x58781b=_0x2abf47[_0x805e53])&&(_0xb6e496=_0x58781b(_0xb6e496)||_0xb6e496);return _0xb6e496;},Oe=(_0x7701e7,_0x582c56)=>(_0x471fcd,_0x3c36c9)=>_0x582c56(_0x471fcd,_0x3c36c9,_0x7701e7),me=(_0x3bb72a=>(_0x3bb72a[_0x3bb72a[_0x2441f9(0x1eb)]=0x0]=_0x2441f9(0x1eb),_0x3bb72a[_0x3bb72a[_0x2441f9(0x1a4)]=0x1]='JOINING',_0x3bb72a[_0x3bb72a[_0x2441f9(0xbe)]=0x2]=_0x2441f9(0xbe),_0x3bb72a[_0x3bb72a[_0x2441f9(0x20d)]=0x3]=_0x2441f9(0x20d),_0x3bb72a))(me||{});const jt={[Ee[_0x2441f9(0x371)]]:_0x2441f9(0x315),[Ee[_0x2441f9(0x1cb)]]:'session.room-full',[Ee[_0x2441f9(0x1de)]]:_0x2441f9(0x19c),[Ee[_0x2441f9(0x359)]]:_0x2441f9(0x36c),[Ee[_0x2441f9(0x387)]]:_0x2441f9(0x327)};let mt=class extends _0x12f467{constructor(_0x36b716,_0x5bd29f,_0x33a592,_0x493349,_0x325538,_0x11f0d3,_0x1a3b2b,_0x5b78f0){var _0x3427cf=_0x2441f9;super(),D(this,_0x3427cf(0x234),new _0x52b67b(0x0)),D(this,_0x3427cf(0x2d1),this[_0x3427cf(0x234)][_0x3427cf(0xee)]()),D(this,'_event$',new _0x12b55a()),D(this,_0x3427cf(0x18f),this['_event$'][_0x3427cf(0xee)]()),D(this,'_socket'),D(this,'_socketMessageSubscription'),D(this,_0x3427cf(0x23f)),D(this,_0x3427cf(0x32c),!0x1),D(this,_0x3427cf(0x238),null),(this['_unitID']=_0x36b716,this[_0x3427cf(0x1f3)]=_0x33a592,this[_0x3427cf(0x137)]=_0x493349,this[_0x3427cf(0x188)]=_0x325538,this[_0x3427cf(0x276)]=_0x11f0d3,this['_collaborationUIEventService']=_0x1a3b2b,this[_0x3427cf(0x31e)]=_0x5b78f0,this[_0x3427cf(0x32c)]=!!this[_0x3427cf(0x31e)],_0x5bd29f[_0x3427cf(0x3b2)](_0x1066d7(this['dispose$']))[_0x3427cf(0x34f)](_0x52231a=>{var _0x405de3=_0x3427cf,_0x31baa6;typeof _0x52231a>'u'||(this['_socket']=_0x52231a,_0x52231a?(this['_joinRoom'](_0x52231a),this[_0x405de3(0x2b8)]=_0x52231a[_0x405de3(0x18b)][_0x405de3(0x34f)](_0x5dc080=>{var _0x249c6c=_0x405de3;_0x5dc080[_0x249c6c(0x37a)]===this[_0x249c6c(0x1b6)]&&this[_0x249c6c(0xb3)](_0x5dc080);})):(this[_0x405de3(0x104)](),this[_0x405de3(0x234)][_0x405de3(0x270)](0x2),(_0x31baa6=this[_0x405de3(0x2b8)])==null||_0x31baa6[_0x405de3(0x290)](),this['_socketMessageSubscription']=null));}));}get[_0x2441f9(0x197)](){var _0x23971e=_0x2441f9;return this[_0x23971e(0x234)]['getValue']();}[_0x2441f9(0x156)](){var _0x5dc76d=_0x2441f9,_0x2ae507,_0x4b87ec;return(_0x4b87ec=(_0x2ae507=this[_0x5dc76d(0x1df)])==null?void 0x0:_0x2ae507[_0x5dc76d(0xdf)])!=null?_0x4b87ec:null;}[_0x2441f9(0x108)](){var _0x63a681=_0x2441f9;super['dispose'](),this[_0x63a681(0x25a)][_0x63a681(0x270)](),this[_0x63a681(0x25a)][_0x63a681(0x2d3)]();}[_0x2441f9(0x19e)](){var _0x13db3d=_0x2441f9,_0x5487aa,_0x27af86;this['_throwTelemetryCollaborationNewChangeset'](),(_0x5487aa=this[_0x13db3d(0x1df)])==null||_0x5487aa[_0x13db3d(0x114)]({'cmd':j[_0x13db3d(0x3a9)],'data':{'roomID':this[_0x13db3d(0x1b6)]}}),(_0x27af86=this[_0x13db3d(0x1df)])==null||_0x27af86[_0x13db3d(0x19e)](),this['_event$'][_0x13db3d(0x2d3)](),this['_sessionStatus$']['complete'](),this[_0x13db3d(0x108)]();}['_onCombEvent'](_0x1c1c8e){var _0x5584df=_0x2441f9;_0x1c1c8e['cmd']===j[_0x5584df(0x1a5)]?this[_0x5584df(0x24a)](_0x1c1c8e):_0x1c1c8e['cmd']===j['RECV']&&this['_onRecvEvent'](_0x1c1c8e);}[_0x2441f9(0x253)](_0x1639e3){var _0x2fb5e0=_0x2441f9;this['_sessionStatus$'][_0x2fb5e0(0x270)](0x1),_0x1639e3['send']({'cmd':j[_0x2fb5e0(0x1a5)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x2fb5e0(0x1b6)]}]}});}[_0x2441f9(0x24a)](_0x518b25){var _0x2243cc=_0x2441f9,_0x3ca026;if(_0x518b25['code']in jt){this[_0x2243cc(0x3cd)][_0x2243cc(0x31f)]({'id':re['JOIN_ROOM_FAILED'],'data':jt[_0x518b25[_0x2243cc(0x22a)]]}),this[_0x2243cc(0x234)][_0x2243cc(0x270)](0x2);return;}this['_sessionStatus$'][_0x2243cc(0x270)](0x3);const _0x17c3d0=(_0x3ca026=_0x518b25[_0x2243cc(0xf0)][_0x2243cc(0x206)][this['_unitID']])==null?void 0x0:_0x3ca026[_0x2243cc(0x2cb)];_0x17c3d0&&_0x17c3d0[_0x2243cc(0x22e)](_0x4a03a2=>this[_0x2243cc(0x188)][_0x2243cc(0xf4)](this[_0x2243cc(0x1b6)],_0x4a03a2));}[_0x2441f9(0x301)](_0x4feca1){var _0xd8757f=_0x2441f9;try{const _0x2b55da=_0x4feca1[_0xd8757f(0xf0)];switch(_0x2b55da[_0xd8757f(0x297)]){case _0x12397d[_0xd8757f(0x2f7)]:this['_onUserJoin'](_0x2b55da),this[_0xd8757f(0x1d4)][_0xd8757f(0x270)](_0x2b55da);break;case _0x12397d['USERS_LEAVE']:this[_0xd8757f(0x1b1)](_0x2b55da),this[_0xd8757f(0x1d4)][_0xd8757f(0x270)](_0x2b55da);break;case _0x12397d[_0xd8757f(0x2d4)]:case _0x12397d[_0xd8757f(0x10b)]:this[_0xd8757f(0x38c)](),this[_0xd8757f(0xef)](),this['_event$']['next'](_0x2b55da);break;case _0x12397d[_0xd8757f(0x20c)]:this[_0xd8757f(0x1f3)]['error'](_0xd8757f(0xd7)+JSON[_0xd8757f(0x35b)](_0x2b55da)),this[_0xd8757f(0x1d4)][_0xd8757f(0x270)](_0x2b55da);break;case _0x12397d[_0xd8757f(0x1c2)]:this[_0xd8757f(0x276)][_0xd8757f(0x1ac)](_0x2b55da[_0xd8757f(0xf0)]),this['_event$'][_0xd8757f(0x270)](_0x2b55da);break;default:this[_0xd8757f(0x1d4)]['next'](_0x2b55da);}}catch(_0x16e1b3){this['_logService'][_0xd8757f(0x3a5)](_0x16e1b3,_0x4feca1);}}[_0x2441f9(0x186)](_0x13e265){var _0x2c5433=_0x2441f9;this[_0x2c5433(0x188)][_0x2c5433(0xf4)](this['_unitID'],_0x13e265[_0x2c5433(0xf0)]);}[_0x2441f9(0x1b1)](_0x1399d3){var _0x1ed895=_0x2441f9;this[_0x1ed895(0x188)][_0x1ed895(0x187)](this[_0x1ed895(0x1b6)],_0x1399d3[_0x1ed895(0xf0)]['memberID']);}async[_0x2441f9(0x114)](_0x4583a4,_0x13e53c){var _0x24f950=_0x2441f9;if(this[_0x24f950(0x197)]!==0x3||!this[_0x24f950(0x1df)])throw new Error(_0x24f950(0x281));try{_0x4583a4[_0x24f950(0x297)]===_0x12397d[_0x24f950(0x258)]&&(this[_0x24f950(0x172)](),this[_0x24f950(0x3ce)](_0x4583a4)),this[_0x24f950(0x1df)][_0x24f950(0x114)]({'cmd':j[_0x24f950(0x221)],'routeKey':_0x13e53c,'routeType':'','data':_0x4583a4});}catch(_0x179ecd){this[_0x24f950(0x1f3)]['error'](_0x179ecd);}}[_0x2441f9(0x172)](){var _0x504127=_0x2441f9,_0x21cf59;this[_0x504127(0x23f)]=setTimeout(()=>{var _0x24abb6=_0x504127;this[_0x24abb6(0x23f)]=null,this[_0x24abb6(0x3cd)][_0x24abb6(0x31f)]({'id':re[_0x24abb6(0xa0)]});},(_0x21cf59=this[_0x504127(0x137)][_0x504127(0xb4)](di))!=null?_0x21cf59:fi);}[_0x2441f9(0xef)](){var _0x54ab06=_0x2441f9;this[_0x54ab06(0x23f)]&&(clearTimeout(this[_0x54ab06(0x23f)]),this['_collaborationTimeoutTimer']=null);}[_0x2441f9(0x3ce)](_0x142023){var _0x1895dd=_0x2441f9;if(!this[_0x1895dd(0x32c)])return;const {data:_0x15ee1f}=_0x142023,{unitID:_0x42320a,changeset:_0x1a44ae}=_0x15ee1f,{mutations:_0x9c0a3b,type:_0x33d3b2}=_0x1a44ae;this[_0x1895dd(0x238)]={'unitId':_0x42320a,'type':_0x33d3b2,'startTime':performance[_0x1895dd(0x3c0)](),'stopTime':0x0,'duration':0x0,'size':Ds(_0x9c0a3b)};}[_0x2441f9(0x38c)](){var _0x38b245=_0x2441f9;if(this[_0x38b245(0x32c)]){if(!this[_0x38b245(0x238)]){this['_logService'][_0x38b245(0x3a5)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x38b245(0x238)]['stopTime']=performance[_0x38b245(0x3c0)](),this[_0x38b245(0x238)][_0x38b245(0x224)]=this[_0x38b245(0x238)][_0x38b245(0x254)]-this[_0x38b245(0x238)][_0x38b245(0x2f6)],this[_0x38b245(0x31e)]['capture'](bs,this['_telemetryInfo']),this[_0x38b245(0x238)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x45f21b=_0x2441f9;this[_0x45f21b(0x238)]=null;}};mt=ws([Oe(0x2,_0x5a9074),Oe(0x3,_0x328306),Oe(0x4,_0x52cfb7(Pe)),Oe(0x5,_0x52cfb7(pi)),Oe(0x6,_0x52cfb7(ve)),Oe(0x7,_0x273dbc(_0x620821))],mt);const X=_0x1444ff(_0x2441f9(0x256));function Dr(_0x11f846){var _0x286b1a=_0x2441f9;return _0x286b1a(0x3b8)+_0x11f846;}var Ls=Object[_0x2441f9(0x2bc)],Ms=(_0x384c93,_0x3326c1,_0x4470f4,_0x20c6c8)=>{var _0x3ec8ec=_0x2441f9;for(var _0x3bf566=_0x20c6c8>0x1?void 0x0:_0x20c6c8?Ls(_0x3326c1,_0x4470f4):_0x3326c1,_0x5608d5=_0x384c93[_0x3ec8ec(0x158)]-0x1,_0x127c7c;_0x5608d5>=0x0;_0x5608d5--)(_0x127c7c=_0x384c93[_0x5608d5])&&(_0x3bf566=_0x127c7c(_0x3bf566)||_0x3bf566);return _0x3bf566;},ut=(_0x5db47a,_0x3c05df)=>(_0x318870,_0x435c66)=>_0x3c05df(_0x318870,_0x435c66,_0x5db47a);function xs(_0x896834){var _0x768811=_0x2441f9;const {unitID:_0x305b4a,mutations:_0x53f344}=_0x896834;return{'unitId':_0x305b4a,'subUnitId':_0x53f344[_0x768811(0x158)]>0x0?_0x53f344[0x0][_0x768811(0x311)][_0x768811(0x30f)]:null};}let it=class{constructor(_0x1b80de,_0x4e8a73,_0x27c954){var _0x38f541=_0x2441f9;this['_injector']=_0x1b80de,this[_0x38f541(0x2fc)]=_0x4e8a73,this['_instanceService']=_0x27c954;}['transformSelections'](_0x22febf){var _0x5286c5=_0x2441f9,_0x4f813a,_0x188578,_0x54eade,_0x10332a;const _0x479912=this[_0x5286c5(0x120)][_0x5286c5(0x222)](_0x3549df),{unitId:_0x1dd1a2,subUnitId:_0x2c25ae}=xs(_0x22febf),_0x34fdea=_0x479912==null?void 0x0:_0x479912[_0x5286c5(0x271)](_0x1dd1a2)['getCurrentSelections'](),_0x4a5ddc=(_0x188578=(_0x4f813a=this[_0x5286c5(0x1f7)][_0x5286c5(0x150)](_0x1dd1a2))==null?void 0x0:_0x4f813a['getActiveSheet']())==null?void 0x0:_0x188578[_0x5286c5(0x27e)]();if(_0x34fdea[_0x5286c5(0x158)]===0x0||!_0x1dd1a2||!_0x2c25ae)return;const _0x27604c=[{'id':_0x1d901d['id'],'params':{'unitId':_0x1dd1a2,'subUnitId':_0x4a5ddc,'selections':_0x46346e[_0x5286c5(0x1dd)](_0x34fdea)}}],_0x19da65=this[_0x5286c5(0x2fc)][_0x5286c5(0x163)](_0x22febf,_0x27604c);if(!_0x2633c8(_0x19da65))throw _0x19da65[_0x5286c5(0x3a5)];const _0x4b546b=(_0x10332a=(_0x54eade=_0x19da65[_0x5286c5(0x159)][0x0])==null?void 0x0:_0x54eade['params'])==null?void 0x0:_0x10332a[_0x5286c5(0x9c)];if(Array[_0x5286c5(0x394)](_0x4b546b)&&_0x4b546b[_0x5286c5(0x158)]){if(_0x4b546b[_0x5286c5(0x158)]===_0x27604c[0x0][_0x5286c5(0x311)][_0x5286c5(0x9c)][_0x5286c5(0x158)]&&_0x4b546b[_0x5286c5(0x215)]((_0x2fc8e3,_0x3720f2)=>_0x5f2389[_0x5286c5(0x247)](_0x2fc8e3[_0x5286c5(0xae)],_0x27604c[0x0][_0x5286c5(0x311)][_0x5286c5(0x9c)][_0x3720f2][_0x5286c5(0xae)])))return;this['_injector']['get'](_0x56439f)[_0x5286c5(0xab)](_0x1d901d['id'],{'unitId':_0x1dd1a2,'subUnitId':_0x4a5ddc,'selections':_0x4b546b});}}};it=Ms([ut(0x0,_0x52cfb7(_0x395e58)),ut(0x1,_0x32916a),ut(0x2,_0x1dfd8a)],it);const _t=_0x1444ff(_0x2441f9(0x1ee));var mi=(_0x42e89a=>(_0x42e89a[_0x42e89a[_0x2441f9(0x288)]=0x0]=_0x2441f9(0x288),_0x42e89a[_0x42e89a[_0x2441f9(0xc8)]=0x1]=_0x2441f9(0xc8),_0x42e89a))(mi||{});const K=_0x2441f9(0x103),ks={};function $s(_0x17a0f1){var _0x30591e=_0x2441f9,_0x1520e2;return!!((_0x1520e2=_0x17a0f1[_0x30591e(0x311)])!=null&&_0x1520e2['__splitChunk__']);}const Hs=new Set([_0x4fefa1['id']]);function Vt(_0x4284b0,_0x2bf180,_0x9a3115,_0x31e8dd,_0x25fedd){var _0x2a7cfa=_0x2441f9,_0x5894eb,_0x1015e1,_0x3fe264,_0x98ba0f;const _0x1dbf55=[];for(const _0x20fccc of _0x4284b0){if(Hs[_0x2a7cfa(0x135)](_0x20fccc['id'])){if(_0x1dbf55['length']>0x0)break;_0x1dbf55['push'](_0x20fccc);break;}if($s(_0x20fccc)){if(_0x1dbf55[_0x2a7cfa(0x158)]>0x0)break;_0x1dbf55['push'](_0x20fccc);break;}_0x1dbf55['push'](_0x20fccc);}const _0x35f456=(_0x1015e1=(_0x5894eb=_0x25fedd[_0x2a7cfa(0x2c1)]())==null?void 0x0:_0x5894eb[_0x2a7cfa(0x210)])!=null?_0x1015e1:_0x2a7cfa(0x36f),_0xf90caf=(_0x98ba0f=(_0x3fe264=_0x25fedd['getCurrentUser']())==null?void 0x0:_0x3fe264[_0x2a7cfa(0xdf)])!=null?_0x98ba0f:_0x2a7cfa(0x36f);return{'changeset':{'unitID':_0x2bf180,'type':_0x3ac6c3(_0x9a3115[_0x2a7cfa(0x1d5)](_0x2bf180)),'baseRev':_0x31e8dd[_0x2a7cfa(0x320)](_0x2bf180),'revision':0x0,'userID':_0x35f456,'memberID':_0xf90caf,'mutations':_0x1dbf55},'pendingMutations':_0x4284b0[_0x2a7cfa(0x1c0)](_0x1dbf55['length'])};}function Bs(_0x2e1922,_0x5b06f0,_0x4bcfd2,_0x213c60,_0x26770d){var _0x1b99cd=_0x2441f9,_0x302494,_0x14979f,_0x4e8a28,_0x458f69;const _0x5c2e5c=[_0x2e1922[_0x1b99cd(0x251)]((_0x163d2a,_0x494858)=>{var _0x39d6d3=_0x1b99cd,_0x52e104;const {id:_0x8da7f7}=_0x163d2a,{id:_0x5f4bd2,type:_0x259340}=_0x494858,_0x14d155=(_0x52e104=_0x163d2a['params'])!=null?_0x52e104:{'actions':null},_0x300b36=_0x494858[_0x39d6d3(0x311)];if(_0x8da7f7&&_0x8da7f7!==_0x5f4bd2)throw new Error(_0x39d6d3(0x279)+_0x8da7f7+_0x39d6d3(0x2f1)+_0x5f4bd2+'.');return{..._0x163d2a,'id':_0x5f4bd2,'type':_0x259340,'params':{'unitId':_0x300b36[_0x39d6d3(0x27d)],'textRanges':_0x300b36[_0x39d6d3(0xba)],'actions':_0x3a6f99[_0x39d6d3(0x263)](_0x14d155[_0x39d6d3(0x2a8)],_0x300b36[_0x39d6d3(0x2a8)])}};},{})],_0x8ebbf9=(_0x14979f=(_0x302494=_0x26770d[_0x1b99cd(0x2c1)]())==null?void 0x0:_0x302494[_0x1b99cd(0x210)])!=null?_0x14979f:_0x1b99cd(0x36f),_0x1eeac6=(_0x458f69=(_0x4e8a28=_0x26770d[_0x1b99cd(0x2c1)]())==null?void 0x0:_0x4e8a28[_0x1b99cd(0xdf)])!=null?_0x458f69:'unknown';return{'changeset':{'unitID':_0x5b06f0,'type':_0x3ac6c3(_0x4bcfd2[_0x1b99cd(0x1d5)](_0x5b06f0)),'baseRev':_0x213c60[_0x1b99cd(0x320)](_0x5b06f0),'revision':0x0,'userID':_0x8ebbf9,'memberID':_0x1eeac6,'mutations':_0x5c2e5c},'pendingMutations':[]};}function Ii(_0x379a71,_0x11518e){var _0x51d395=_0x2441f9;const _0x3b2f74=new _0xece793(0x1);return setTimeout(()=>_0x3b2f74['next'](_0x11518e),_0x379a71),_0x3b2f74[_0x51d395(0xee)]()[_0x51d395(0x3b2)](_0xcec3bf(0x1));}var Fs=Object[_0x2441f9(0x2bc)],Se=(_0x5bbe7b,_0x49f445,_0x31f728,_0x9a01f6)=>{var _0x164fdf=_0x2441f9;for(var _0x438f94=_0x9a01f6>0x1?void 0x0:_0x9a01f6?Fs(_0x49f445,_0x31f728):_0x49f445,_0x5d6da8=_0x5bbe7b[_0x164fdf(0x158)]-0x1,_0x2def99;_0x5d6da8>=0x0;_0x5d6da8--)(_0x2def99=_0x5bbe7b[_0x5d6da8])&&(_0x438f94=_0x2def99(_0x438f94)||_0x438f94);return _0x438f94;},w=(_0x2b445d,_0x15e67c)=>(_0x4d4826,_0x1220c3)=>_0x15e67c(_0x4d4826,_0x1220c3,_0x2b445d),Si=(_0x1df4bc=>(_0x1df4bc[_0x2441f9(0x236)]=_0x2441f9(0x2ff),_0x1df4bc[_0x2441f9(0x218)]=_0x2441f9(0x105),_0x1df4bc[_0x2441f9(0x18d)]=_0x2441f9(0x337),_0x1df4bc[_0x2441f9(0x282)]=_0x2441f9(0x106),_0x1df4bc['AWAITING_WITH_PENDING']=_0x2441f9(0xcb),_0x1df4bc['FETCH_MISS']=_0x2441f9(0x3ae),_0x1df4bc[_0x2441f9(0x2e9)]=_0x2441f9(0x171),_0x1df4bc[_0x2441f9(0xbe)]='offline',_0x1df4bc))(Si||{});const gi=0x4e20,Ti=0x2bf20;class ge{constructor(_0x38015f,_0x2817a4,_0x5cccbb,_0x3a20eb,_0x3bd30c,_0xcfffd9,_0x5c2252,_0x3cc153,_0x2e411a){var _0x4a6dd2=_0x2441f9;D(this,'_awaitingChangeset',null),D(this,_0x4a6dd2(0x33d),[]),(this[_0x4a6dd2(0x39c)]=_0x38015f,this[_0x4a6dd2(0x34a)]=_0x2817a4,this[_0x4a6dd2(0x302)]=_0x3bd30c,this[_0x4a6dd2(0xfd)]=_0xcfffd9,this[_0x4a6dd2(0x32a)]=_0x5c2252,this[_0x4a6dd2(0x1cc)]=_0x3cc153,this[_0x4a6dd2(0x97)]=_0x2e411a,this[_0x4a6dd2(0x293)]=_0x5cccbb,this[_0x4a6dd2(0x33d)]=_0x3a20eb);}['_checkMissing'](_0x2faa93){var _0x4bcd71=_0x2441f9;const _0x4b0a88=this['_revisionService']['getCurrentRevOfUnit'](this[_0x4bcd71(0x39c)]);return _0x2faa93[_0x4bcd71(0x191)]>_0x4b0a88+0x1?(this['_handler'][_0x4bcd71(0x199)]({'from':_0x4b0a88,'to':_0x2faa93[_0x4bcd71(0x191)]-0x1}),!0x0):!0x1;}[_0x2441f9(0x275)](_0x591d28){var _0x3b63da=_0x2441f9;this[_0x3b63da(0x32a)]['transformUndoRedo'](this['unitID'],_0x591d28);}[_0x2441f9(0x204)](_0x9552df){var _0x28b641=_0x2441f9,_0x4f505c,_0x5beb3a;(_0x5beb3a=(_0x4f505c=this[_0x28b641(0x302)])[_0x28b641(0x136)])==null||_0x5beb3a[_0x28b641(0x2db)](_0x4f505c,_0x9552df);}['_transformIMECache'](_0x4b1d96){var _0x1d00a1=_0x2441f9,_0x18532d,_0x2ce504;return(_0x2ce504=(_0x18532d=this[_0x1d00a1(0x302)])['onTransformIME'])==null?void 0x0:_0x2ce504[_0x1d00a1(0x2db)](_0x18532d,_0x4b1d96);}['_transformStateCache'](_0x9d0aaa){var _0x17db28=_0x2441f9,_0xa84096,_0x5c8a6f;return(_0x5c8a6f=(_0xa84096=this[_0x17db28(0x302)])['onTransformState'])==null?void 0x0:_0x5c8a6f['call'](_0xa84096,_0x9d0aaa);}[_0x2441f9(0x1d1)](_0x493fc7){var _0x3eaf12=_0x2441f9,_0x21f222,_0x1b89cb,_0x28a48e;return(_0x28a48e=(_0x1b89cb=(_0x21f222=this[_0x3eaf12(0x302)])[_0x3eaf12(0x27f)])==null?void 0x0:_0x1b89cb[_0x3eaf12(0x2db)](_0x21f222,_0x493fc7))!=null?_0x28a48e:_0x493fc7;}[_0x2441f9(0xbc)](_0x205b97){var _0x41f3d9=_0x2441f9,_0x424460,_0x3a32a0,_0x2d3f33;return(_0x2d3f33=(_0x3a32a0=(_0x424460=this[_0x41f3d9(0x302)])[_0x41f3d9(0x299)])==null?void 0x0:_0x3a32a0[_0x41f3d9(0x2db)](_0x424460,_0x205b97))!=null?_0x2d3f33:_0x205b97;}[_0x2441f9(0x386)](_0x442c3b){var _0x4d8eb6=_0x2441f9,_0x20605d,_0x2a5506;if(this[_0x4d8eb6(0x34a)]===Q['UNIVER_DOC']){const {unitID:_0x6fce4f,mutations:_0x3fcf0b,memberID:_0x32c045}=_0x442c3b,_0x2e68ff=_0x3fcf0b[_0x4d8eb6(0x158)]>0x0?_0x3fcf0b[0x0][_0x4d8eb6(0x311)][_0x4d8eb6(0xba)]:[];Array[_0x4d8eb6(0x394)](_0x2e68ff)&&_0x2e68ff[_0x4d8eb6(0x158)]>0x0&&((_0x2a5506=(_0x20605d=this[_0x4d8eb6(0x302)])[_0x4d8eb6(0x151)])==null||_0x2a5506[_0x4d8eb6(0x2db)](_0x20605d,{'unitID':_0x6fce4f,'memberID':_0x32c045,'textRanges':_0x2e68ff}));}}[_0x2441f9(0xd3)](){var _0xb83a50=_0x2441f9,_0x54e165;(_0x54e165=this[_0xb83a50(0x97)])==null||_0x54e165[_0xb83a50(0x2b1)](this[_0xb83a50(0x39c)],this[_0xb83a50(0x34a)],this[_0xb83a50(0x293)],this['_pendingMutations']);}[_0x2441f9(0x95)](){var _0x46274e=_0x2441f9;return this[_0x46274e(0x1cc)]['getCurrentRevOfUnit'](this[_0x46274e(0x39c)]);}['_incrementRevisionNumber'](){var _0x3d5d4e=_0x2441f9;this[_0x3d5d4e(0x1cc)][_0x3d5d4e(0x180)](this[_0x3d5d4e(0x39c)]);}[_0x2441f9(0xb9)](_0x346713){var _0x3da9a6=_0x2441f9,_0x43a3f9;let _0x35e250=this['_transformRemoteChangesetByIMECache'](_0x346713);_0x35e250=this['_transformRemoteChangesetByStateCache'](_0x35e250);const _0x49e03c=_0x5c4f7a(_0x35e250['mutations'],this[_0x3da9a6(0xfd)],{'fromCollab':!0x0});if(!_0x49e03c[_0x3da9a6(0x181)])throw _0x49e03c[_0x3da9a6(0x3a5)]instanceof Error?_0x49e03c['error']:new Error((_0x43a3f9=_0x49e03c['error'])!=null?_0x43a3f9:_0x3da9a6(0x2f4));this[_0x3da9a6(0x11c)](_0x35e250),this[_0x3da9a6(0x17a)](_0x35e250),this[_0x3da9a6(0x275)](_0x346713),this[_0x3da9a6(0x204)](_0x35e250),this['_syncEditingCollabCursor'](_0x35e250),this[_0x3da9a6(0x21d)]();}}let be=class extends ge{constructor(_0x51e1e4,_0xa9b38c,_0x34b7f1,_0x5a1d78,_0x516a0c,_0x9ce278,_0x20e5e1,_0x456413,_0x480883,_0x3f8504){var _0x1f690a=_0x2441f9;super(_0x51e1e4,_0xa9b38c,null,[],_0x34b7f1,_0x20e5e1,_0x9ce278,_0x5a1d78,_0x3f8504),D(this,_0x1f690a(0xe7),'synced'),(this[_0x1f690a(0x120)]=_0x516a0c,this[_0x1f690a(0x1f3)]=_0x456413,this['_transformService']=_0x480883,this['localCacheService']=_0x3f8504);}[_0x2441f9(0x9a)](_0x74849b){var _0x145bc1=_0x2441f9;const _0x2e42ca=this['_injector']['createInstance'](ae,this[_0x145bc1(0x39c)],this[_0x145bc1(0x34a)],[_0x74849b],this[_0x145bc1(0x302)]);return _0x2e42ca[_0x145bc1(0x2a7)](),_0x2e42ca['_updateLocalCache'](),_0x2e42ca;}[_0x2441f9(0xe8)](_0x345d60){var _0x4ad51c=_0x2441f9;if(this[_0x4ad51c(0xc5)](_0x345d60))return this[_0x4ad51c(0x120)][_0x4ad51c(0x29e)](ee,this[_0x4ad51c(0x39c)],this[_0x4ad51c(0x34a)],null,[],null,[_0x345d60],this[_0x4ad51c(0x302)]);try{const _0x526f91=this[_0x4ad51c(0x2fc)]['transformMutationsWithChangeset'](_0x345d60,[_0x3dc826]);if(_0x2633c8(_0x526f91)){const {c1Prime:_0xd65a11}=_0x526f91;return this['_executeRemoteChangeset'](_0xd65a11),this;}throw _0x526f91['error'];}catch(_0x4a4086){return this[_0x4ad51c(0x1f3)][_0x4ad51c(0x3a5)](_0x4a4086),this[_0x4ad51c(0x39b)](!0x1);}}[_0x2441f9(0x39b)](_0x5db22a){var _0x2e4d4a=_0x2441f9;return this[_0x2e4d4a(0x120)][_0x2e4d4a(0x29e)](ue,this[_0x2e4d4a(0x39c)],this[_0x2e4d4a(0x34a)],null,[],this[_0x2e4d4a(0x302)],_0x5db22a);}[_0x2441f9(0x14f)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x2441f9(0x2a2)](){var _0xf2a02e=_0x2441f9;throw new Error(_0xf2a02e(0x355));}[_0x2441f9(0x2fa)](){return this;}[_0x2441f9(0x347)](){var _0x80ae9a=_0x2441f9;return this[_0x80ae9a(0x120)]['createInstance'](de,this[_0x80ae9a(0x39c)],this[_0x80ae9a(0x34a)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0x2441f9(0x284)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x6951c4=_0x2441f9;const _0x2d271a=this[_0x6951c4(0x1cc)]['getCurrentRevOfUnit'](this[_0x6951c4(0x39c)]);return this[_0x6951c4(0x302)][_0x6951c4(0x199)]({'from':_0x2d271a,'to':0x0}),this[_0x6951c4(0x120)][_0x6951c4(0x29e)](ee,this[_0x6951c4(0x39c)],this[_0x6951c4(0x34a)],null,[],null,[],this[_0x6951c4(0x302)]);}};be=Se([w(0x3,_0x52cfb7(_0x468892)),w(0x4,_0x52cfb7(_0x395e58)),w(0x5,_0x2e0c07),w(0x6,_0x56439f),w(0x7,_0x5a9074),w(0x8,_0x32916a),w(0x9,_0x273dbc(X))],be);let ae=class extends ge{constructor(_0x5cdf7f,_0x5beb03,_0x18c045,_0x7ac745,_0x2ecd9d,_0x552767,_0xaa3bcb,_0x1713b5,_0x37131f,_0x3393fd,_0x25207a,_0x344ec6,_0x473a8c,_0x25ebda){var _0x113fa4=_0x2441f9;super(_0x5cdf7f,_0x5beb03,null,_0x18c045,_0x7ac745,_0x37131f,_0x473a8c,_0x552767,_0x25ebda),D(this,'status',_0x113fa4(0x337)),D(this,_0x113fa4(0x2e7),null),D(this,'_sendingTimer',null),(this[_0x113fa4(0x120)]=_0x2ecd9d,this[_0x113fa4(0x188)]=_0xaa3bcb,this[_0x113fa4(0x1f3)]=_0x1713b5,this[_0x113fa4(0x137)]=_0x3393fd,this[_0x113fa4(0x2fc)]=_0x25207a,this['_univerInstanceService']=_0x344ec6);}['appendMutation'](_0x2a9493){var _0x23aa0a=_0x2441f9;return this['_pendingMutations'][_0x23aa0a(0x2d9)](_0x2a9493),this[_0x23aa0a(0xd3)](),this;}[_0x2441f9(0xe8)](_0x104385){var _0x15a427=_0x2441f9;if(this['_checkMissing'](_0x104385))return this[_0x15a427(0x166)](),this[_0x15a427(0x120)][_0x15a427(0x29e)](ee,this[_0x15a427(0x39c)],this[_0x15a427(0x34a)],null,this[_0x15a427(0x33d)],null,[_0x104385],this[_0x15a427(0x302)]);try{const _0x211f68=this[_0x15a427(0x2fc)]['transformMutationsWithChangeset'](_0x104385,this[_0x15a427(0x33d)]);if(_0x2633c8(_0x211f68)){const {c1Prime:_0x632781,m2Prime:_0x22f0a5}=_0x211f68;this[_0x15a427(0xb9)](_0x632781);const _0x3e87e9=this[_0x15a427(0x120)][_0x15a427(0x29e)](ae,this[_0x15a427(0x39c)],this['type'],_0x22f0a5,this[_0x15a427(0x302)]);this[_0x15a427(0x166)]();const _0x3c1c39=new Date()['getTime'](),_0x35d501=this[_0x15a427(0x2e7)]?Math['max'](this[_0x15a427(0x2e7)]-_0x3c1c39,0x0):this[_0x15a427(0xc0)]();return _0x3e87e9[_0x15a427(0x2a7)](_0x35d501),_0x3e87e9;}throw _0x211f68[_0x15a427(0x3a5)];}catch(_0xdc254d){return this[_0x15a427(0x1f3)][_0x15a427(0x3a5)](_0xdc254d),this[_0x15a427(0x39b)](!0x1);}}[_0x2441f9(0x14f)](){var _0x48e606=_0x2441f9;throw new Error(_0x48e606(0x2ae));}[_0x2441f9(0x2a2)](){var _0x5ba419=_0x2441f9;throw new Error(_0x5ba419(0x37e));}[_0x2441f9(0x2fa)](){return this;}[_0x2441f9(0x347)](){var _0x5d81c0=_0x2441f9;return this['_clearScheduledTask'](),this[_0x5d81c0(0x120)][_0x5d81c0(0x29e)](de,this['unitID'],this[_0x5d81c0(0x34a)],null,this[_0x5d81c0(0x33d)],this[_0x5d81c0(0x302)]);}[_0x2441f9(0x2b5)](){return this;}['_schedule'](_0x5e2b23){var _0x512220=_0x2441f9;const _0x347f09=_0x5e2b23!=null?_0x5e2b23:this[_0x512220(0xc0)]();this['_scheduleCompleteTimestamp']=new Date()[_0x512220(0x16f)]()+_0x347f09,this['_sendingTimer']=setTimeout(()=>{var _0x562214=_0x512220;this[_0x562214(0x166)]();let _0x2ed1dd=null;switch(this[_0x562214(0x34a)]){case Q['UNIVER_SHEET']:{_0x2ed1dd=Vt(this['_pendingMutations'],this[_0x562214(0x39c)],this[_0x562214(0x189)],this[_0x562214(0x1cc)],this['_memberService']);break;}case Q[_0x562214(0x1e5)]:{this[_0x562214(0x33d)][_0x562214(0x215)](_0xafd148=>_0xafd148['id']===_0x203027['id'])?_0x2ed1dd=Bs(this[_0x562214(0x33d)],this[_0x562214(0x39c)],this[_0x562214(0x189)],this['_revisionService'],this[_0x562214(0x188)]):_0x2ed1dd=Vt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x562214(0x1cc)],this[_0x562214(0x188)]);break;}default:throw new Error(_0x562214(0x1f5)+this[_0x562214(0x34a)]+'\x20in\x20_schedule.');}const {changeset:_0x364bbb,pendingMutations:_0x3e94a9}=_0x2ed1dd;this['_handler'][_0x562214(0xb7)](_0x364bbb);const _0x31f707=_0x3e94a9[_0x562214(0x158)]?this[_0x562214(0x120)][_0x562214(0x29e)](oe,this[_0x562214(0x39c)],this[_0x562214(0x34a)],_0x364bbb,_0x3e94a9,this['_handler'],void 0x0):this[_0x562214(0x120)][_0x562214(0x29e)](le,this[_0x562214(0x39c)],this[_0x562214(0x34a)],_0x364bbb,this['_handler']);_0x31f707[_0x562214(0xd3)](),this['_handler']['onStateChange'](this,_0x31f707);},_0x347f09);}[_0x2441f9(0xc0)](){var _0x45f96a=_0x2441f9,_0x3e9fe1;const _0x1a4146=this['_configService'][_0x45f96a(0xb4)](K);return(_0x3e9fe1=_0x1a4146==null?void 0x0:_0x1a4146['sendChangesetTimeout'])!=null?_0x3e9fe1:ms;}[_0x2441f9(0x284)](){var _0x49f8aa=_0x2441f9;throw new Error(_0x49f8aa(0x36e));}[_0x2441f9(0x166)](){var _0x41488c=_0x2441f9;this[_0x41488c(0x14d)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x41488c(0x14d)]=null);}[_0x2441f9(0x39b)](_0x36ffa0){var _0x478015=_0x2441f9;return this['_clearScheduledTask'](),this[_0x478015(0x120)][_0x478015(0x29e)](ue,this[_0x478015(0x39c)],this[_0x478015(0x34a)],null,this[_0x478015(0x33d)],this['_handler'],_0x36ffa0);}};ae=Se([w(0x4,_0x52cfb7(_0x395e58)),w(0x5,_0x52cfb7(_0x468892)),w(0x6,_0x52cfb7(Pe)),w(0x7,_0x5a9074),w(0x8,_0x56439f),w(0x9,_0x328306),w(0xa,_0x32916a),w(0xb,_0x1dfd8a),w(0xc,_0x2e0c07),w(0xd,_0x273dbc(X))],ae);let le=class extends ge{constructor(_0x466f54,_0x30bb93,_0x475a1e,_0xcf6b78,_0x7d9747,_0x22616c,_0x1fd6a7,_0x1f2dbb,_0x401866,_0x444f04,_0x4a7f9c){var _0x36c1c3=_0x2441f9;super(_0x466f54,_0x30bb93,_0x475a1e,[],_0xcf6b78,_0x1fd6a7,_0x444f04,_0x22616c,_0x4a7f9c),D(this,_0x36c1c3(0xe7),_0x36c1c3(0x106)),D(this,_0x36c1c3(0x35f),0x0),D(this,_0x36c1c3(0x362),0x0),D(this,'_resendTimer'),D(this,_0x36c1c3(0x30c)),(this['_injector']=_0x7d9747,this[_0x36c1c3(0x1f3)]=_0x1f2dbb,this[_0x36c1c3(0x2fc)]=_0x401866);}[_0x2441f9(0x9a)](_0x4e8825){var _0x59370f=_0x2441f9;this['_clearScheduledTask']();const _0x57f841=this[_0x59370f(0x120)][_0x59370f(0x29e)](oe,this[_0x59370f(0x39c)],this[_0x59370f(0x34a)],this[_0x59370f(0x293)],[_0x4e8825],this['_handler'],this[_0x59370f(0x306)]);return _0x57f841['_updateLocalCache'](),_0x57f841;}[_0x2441f9(0xe8)](_0x543549){var _0x315f68=_0x2441f9;if(this['_checkMissing'](_0x543549))return this[_0x315f68(0x166)](),this['_injector'][_0x315f68(0x29e)](ee,this[_0x315f68(0x39c)],this[_0x315f68(0x34a)],this[_0x315f68(0x293)],[],null,[_0x543549],this[_0x315f68(0x302)]);try{const _0x34a975=this[_0x315f68(0x2fc)][_0x315f68(0x3be)]([_0x543549],[this[_0x315f68(0x293)]],!0x1);if(_0x13a7a8(_0x34a975)){const {c1Prime:_0x5d3f8e,c2Prime:_0x623b5f}=_0x34a975;this[_0x315f68(0xb9)](_0x5d3f8e[0x0]),_0x623b5f[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x315f68(0x166)]();const _0x1592ce=this['_injector'][_0x315f68(0x29e)](le,this[_0x315f68(0x39c)],this[_0x315f68(0x34a)],_0x623b5f[0x0],this[_0x315f68(0x302)]);return _0x1592ce[_0x315f68(0xd3)](),_0x1592ce;}return this['_onConflict'](!0x1);}catch(_0x2055b9){return this['_logService'][_0x315f68(0x3a5)](_0x2055b9),this['_onConflict'](!0x1);}}[_0x2441f9(0x14f)](_0xc28d77){var _0x4733c2=_0x2441f9;this[_0x4733c2(0x166)]();const _0x39d21d=this[_0x4733c2(0x1cc)]['getCurrentRevOfUnit'](this[_0x4733c2(0x39c)]);if(_0xc28d77['revision']<_0x39d21d-0x1)return this;if(this[_0x4733c2(0xc5)](_0xc28d77))return this['_injector'][_0x4733c2(0x29e)](ee,this[_0x4733c2(0x39c)],this['type'],null,[],this[_0x4733c2(0x293)],[],this[_0x4733c2(0x302)]);this[_0x4733c2(0x21d)]();const _0x276829=this['_injector'][_0x4733c2(0x29e)](be,this['unitID'],this[_0x4733c2(0x34a)],this[_0x4733c2(0x302)]);return _0x276829[_0x4733c2(0xd3)](),_0x276829;}[_0x2441f9(0x2a2)](_0x27f817){var _0x397353=_0x2441f9;return this[_0x397353(0x39b)](!!(_0x27f817!=null&&_0x27f817[_0x397353(0x324)]));}[_0x2441f9(0x2fa)](_0x2e4408){var _0x173645=_0x2441f9;return this[_0x173645(0x362)]>Ti?this['toggleOffline']():(this[_0x173645(0x306)]=Ii(this[_0x173645(0x35f)],{'timeout':this[_0x173645(0x35f)],'reqId':_0x2e4408[_0x173645(0xed)]}),this['_sender']=this[_0x173645(0x306)][_0x173645(0x34f)](({reqId:_0x4404c3,timeout:_0x20e516})=>{var _0x2f5e95=_0x173645;this[_0x2f5e95(0x243)](_0x4404c3,_0x20e516);}),this);}['toggleOffline'](){var _0x445548=_0x2441f9;return this['_clearScheduledTask'](),this[_0x445548(0x120)]['createInstance'](de,this[_0x445548(0x39c)],this[_0x445548(0x34a)],this[_0x445548(0x293)],[],this[_0x445548(0x302)]);}[_0x2441f9(0x2b5)](){return this;}[_0x2441f9(0x284)](){var _0x1d7027=_0x2441f9;this[_0x1d7027(0x302)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x2441f9(0x39b)](_0x1d07be){var _0x119eab=_0x2441f9;return this[_0x119eab(0x166)](),this[_0x119eab(0x120)]['createInstance'](ue,this['unitID'],this[_0x119eab(0x34a)],this[_0x119eab(0x293)],[],this[_0x119eab(0x302)],_0x1d07be);}[_0x2441f9(0x243)](_0x519fc1,_0xa772ee){var _0x37fe3e=_0x2441f9,_0x44ae72;_0x519fc1===((_0x44ae72=this[_0x37fe3e(0x293)])==null?void 0x0:_0x44ae72['reqId'])&&(this[_0x37fe3e(0x284)](),this[_0x37fe3e(0x35f)]=_0xa772ee===0x0?0x3e8:Math[_0x37fe3e(0x164)](_0xa772ee*0x2,gi),this[_0x37fe3e(0x362)]+=this['_resendTimeout']);}[_0x2441f9(0x166)](){var _0x3ff05c=_0x2441f9,_0x34d63f;(_0x34d63f=this['_sender'])==null||_0x34d63f[_0x3ff05c(0x290)](),this['_resendTimeout']=0x0,this[_0x3ff05c(0x362)]=0x0;}};le=Se([w(0x4,_0x52cfb7(_0x395e58)),w(0x5,_0x52cfb7(_0x468892)),w(0x6,_0x56439f),w(0x7,_0x5a9074),w(0x8,_0x32916a),w(0x9,_0x2e0c07),w(0xa,_0x273dbc(X))],le);let oe=class extends ge{constructor(_0x263516,_0x20b845,_0x132dc8,_0x3c16d0,_0x174535,_0x405ccf,_0x1fdd60,_0x5921f7,_0x5ad588,_0x5304c2,_0xfb5fc4,_0xb93827,_0x69456c){var _0x435d38=_0x2441f9;super(_0x263516,_0x20b845,_0x132dc8,_0x3c16d0,_0x174535,_0x5ad588,_0xb93827,_0x5921f7,_0x69456c),D(this,'status','awaiting_with_pending'),D(this,'_resendTimeout',0x0),D(this,'_maxTotalRetryTimeout',0x0),D(this,_0x435d38(0x306)),D(this,'_sender'),(this[_0x435d38(0x120)]=_0x1fdd60,this[_0x435d38(0x1f3)]=_0x5304c2,this[_0x435d38(0x2fc)]=_0xfb5fc4,this[_0x435d38(0x12b)]=_0x69456c,_0x405ccf&&(this[_0x435d38(0x306)]=_0x405ccf,this[_0x435d38(0x30c)]=this['_resendTimer'][_0x435d38(0x34f)](({reqId:_0x1381e7,timeout:_0x76b124})=>{this['_resendWithTimeout'](_0x1381e7,_0x76b124);})));}['appendMutation'](_0x58c2ef){var _0x3b2fa=_0x2441f9;return this[_0x3b2fa(0x33d)]['push'](_0x58c2ef),this;}[_0x2441f9(0xe8)](_0x38b14d){var _0xfd7d62=_0x2441f9;if(this[_0xfd7d62(0xc5)](_0x38b14d))return this[_0xfd7d62(0x166)](),this[_0xfd7d62(0x120)]['createInstance'](ee,this[_0xfd7d62(0x39c)],this['type'],this[_0xfd7d62(0x293)],this[_0xfd7d62(0x33d)],null,[_0x38b14d],this[_0xfd7d62(0x302)]);try{const _0x3d8569=this[_0xfd7d62(0x2fc)]['transformChangesets']([_0x38b14d],[this[_0xfd7d62(0x293)]],!0x1);if(_0x13a7a8(_0x3d8569)){const {c1Prime:_0x570a5d,c2Prime:_0x57d972}=_0x3d8569,_0x460bb8=this[_0xfd7d62(0x2fc)][_0xfd7d62(0x163)](_0x570a5d[0x0],this[_0xfd7d62(0x33d)]);if(_0x2633c8(_0x460bb8)){const {c1Prime:_0x1acb1e,m2Prime:_0x1a340c}=_0x460bb8;return this[_0xfd7d62(0xb9)](_0x1acb1e),_0x57d972[0x0][_0xfd7d62(0x3b4)]=this[_0xfd7d62(0x95)](),this[_0xfd7d62(0x166)](),this[_0xfd7d62(0x120)][_0xfd7d62(0x29e)](oe,this[_0xfd7d62(0x39c)],this[_0xfd7d62(0x34a)],_0x57d972[0x0],_0x1a340c,this[_0xfd7d62(0x302)],void 0x0);}throw _0x460bb8[_0xfd7d62(0x3a5)];}throw _0x3d8569['error'];}catch(_0x30e57c){return this[_0xfd7d62(0x1f3)][_0xfd7d62(0x3a5)](_0x30e57c),this[_0xfd7d62(0x39b)](!0x1);}}[_0x2441f9(0x14f)](_0x11b9b8){var _0x47c541=_0x2441f9;if(this[_0x47c541(0x166)](),this[_0x47c541(0xc5)](_0x11b9b8))return this['_injector'][_0x47c541(0x29e)](ee,this[_0x47c541(0x39c)],this[_0x47c541(0x34a)],null,this[_0x47c541(0x33d)],this['_awaitingChangeset'],[],this[_0x47c541(0x302)]);this['_incrementRevisionNumber']();const _0xa54ce9=this[_0x47c541(0x120)]['createInstance'](ae,this[_0x47c541(0x39c)],this[_0x47c541(0x34a)],this[_0x47c541(0x33d)],this[_0x47c541(0x302)]);return _0xa54ce9[_0x47c541(0x2a7)](),_0xa54ce9[_0x47c541(0xd3)](),_0xa54ce9;}[_0x2441f9(0x2a2)](_0x415547){var _0x415321=_0x2441f9;return this[_0x415321(0x39b)](!!(_0x415547!=null&&_0x415547[_0x415321(0x324)]));}[_0x2441f9(0x2fa)](_0xac52e1){var _0x5db781=_0x2441f9;return this[_0x5db781(0x362)]>Ti?this[_0x5db781(0x347)]():(this['_resendTimer']=Ii(this['_resendTimeout'],{'timeout':this[_0x5db781(0x35f)],'reqId':_0xac52e1[_0x5db781(0xed)]}),this['_sender']=this[_0x5db781(0x306)][_0x5db781(0x34f)](({reqId:_0x499e20,timeout:_0x4f379d})=>{var _0x5e36f2=_0x5db781;this[_0x5e36f2(0x243)](_0x499e20,_0x4f379d);}),this);}['toggleOffline'](){var _0x4c234c=_0x2441f9;return this['_clearScheduledTask'](),this[_0x4c234c(0x120)][_0x4c234c(0x29e)](de,this['unitID'],this[_0x4c234c(0x34a)],this[_0x4c234c(0x293)],this[_0x4c234c(0x33d)],this[_0x4c234c(0x302)]);}[_0x2441f9(0x2b5)](){return this;}[_0x2441f9(0x284)](){var _0x41f0da=_0x2441f9;this['_handler']['onSendChangeset'](this[_0x41f0da(0x293)]);}[_0x2441f9(0x39b)](_0x311d15){var _0x336dfe=_0x2441f9;return this['_clearScheduledTask'](),this[_0x336dfe(0x120)][_0x336dfe(0x29e)](ue,this[_0x336dfe(0x39c)],this['type'],null,this['_pendingMutations'],this[_0x336dfe(0x302)],_0x311d15);}[_0x2441f9(0x243)](_0x3e9290,_0x3a4a3c){var _0x3fc514=_0x2441f9,_0xfa9fa6;_0x3e9290===((_0xfa9fa6=this[_0x3fc514(0x293)])==null?void 0x0:_0xfa9fa6[_0x3fc514(0xed)])&&(this['resend'](),this[_0x3fc514(0x35f)]=_0x3a4a3c===0x0?0x3e8:Math[_0x3fc514(0x164)](_0x3a4a3c*0x2,gi),this[_0x3fc514(0x362)]+=this[_0x3fc514(0x35f)]);}[_0x2441f9(0x166)](){var _0x129b01=_0x2441f9,_0x272fda;(_0x272fda=this[_0x129b01(0x30c)])==null||_0x272fda['unsubscribe'](),this[_0x129b01(0x35f)]=0x0,this[_0x129b01(0x362)]=0x0;}};oe=Se([w(0x6,_0x52cfb7(_0x395e58)),w(0x7,_0x52cfb7(_0x468892)),w(0x8,_0x56439f),w(0x9,_0x5a9074),w(0xa,_0x32916a),w(0xb,_0x2e0c07),w(0xc,_0x273dbc(X))],oe);let ue=class extends ge{constructor(_0x30cd5e,_0x1fe3d9,_0x40cf46,_0x52d317,_0x54f220,_0x2d884c=!0x1,_0x4d2506,_0x41d74b,_0x1c5575,_0x4db67d,_0x47e9e1,_0x42c190,_0x49802d){var _0x5845f=_0x2441f9;super(_0x30cd5e,_0x1fe3d9,_0x40cf46,_0x52d317,_0x54f220,_0x41d74b,_0x1c5575,_0x4db67d,_0x49802d),D(this,_0x5845f(0xe7),_0x5845f(0x171)),(this[_0x5845f(0x21c)]=_0x2d884c,this['_permissionService']=_0x4d2506,this[_0x5845f(0x9e)]=_0x47e9e1,this[_0x5845f(0x3cd)]=_0x42c190,this[_0x5845f(0x12b)]=_0x49802d,this[_0x5845f(0x376)](),this[_0x5845f(0xa3)](),this[_0x5845f(0x16b)]());}['appendMutation'](){return this;}[_0x2441f9(0xe8)](){return this;}[_0x2441f9(0x14f)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x2441f9(0x2b5)](){return this;}[_0x2441f9(0x284)](){var _0x4798ee=_0x2441f9;throw new Error(_0x4798ee(0x217));}[_0x2441f9(0xa3)](){var _0x172d32=_0x2441f9,_0x1420af;(_0x1420af=this[_0x172d32(0x97)])==null||_0x1420af[_0x172d32(0x2b1)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){var _0x4f7b51=_0x2441f9;this[_0x4f7b51(0x21c)]?this[_0x4f7b51(0x3cd)]['emitEvent']({'id':re[_0x4f7b51(0x112)]}):this[_0x4f7b51(0x3cd)][_0x4f7b51(0x31f)]({'id':re[_0x4f7b51(0x2e9)]});}[_0x2441f9(0x16b)](){var _0x3fbf9c=_0x2441f9;this['_permissionService']['updatePermissionPoint'](new _0x3c8993(this[_0x3fbf9c(0x39c)])['id'],!0x1);}};ue=Se([w(0x6,_0x52cfb7(_0x9ee13b)),w(0x7,_0x56439f),w(0x8,_0x2e0c07),w(0x9,_0x52cfb7(_0x468892)),w(0xa,_0x52cfb7(_0x4150d5)),w(0xb,_0x52cfb7(ve)),w(0xc,_0x273dbc(X))],ue);let de=class extends ge{constructor(_0x3dc4d0,_0x295d56,_0x48728e,_0x5095ce,_0x41a6ea,_0x5e7625,_0x37f5c9,_0xa30f4,_0x4c1e84,_0x3e2f00){var _0x1d623d=_0x2441f9;super(_0x3dc4d0,_0x295d56,_0x48728e,_0x5095ce,_0x41a6ea,_0xa30f4,_0x4c1e84,_0x37f5c9,_0x3e2f00),D(this,_0x1d623d(0xe7),_0x1d623d(0x2cf)),this[_0x1d623d(0x120)]=_0x5e7625;}[_0x2441f9(0x9a)](_0x5bdf1f){return this['_pendingMutations']['push'](_0x5bdf1f),this['_updateLocalCache'](),this;}[_0x2441f9(0xe8)](_0x311110){var _0x1408c9=_0x2441f9;throw new Error(_0x1408c9(0x1e4));}[_0x2441f9(0x14f)](){var _0x4afdfc=_0x2441f9;throw new Error(_0x4afdfc(0x24d));}[_0x2441f9(0x2a2)](){var _0x1ed335=_0x2441f9;throw new Error(_0x1ed335(0x17c));}[_0x2441f9(0x2fa)](){return this;}['toggleOffline'](){return this;}[_0x2441f9(0x2b5)](){var _0x35bf16=_0x2441f9;const {_injector:_0x28b0c1,_pendingMutations:_0x2a338c,_awaitingChangeset:_0x54acbc,unitID:_0x24009f,_handler:_0x2a8375,type:_0x15f6ef}=this,_0x8a7dad=Oi(_0x28b0c1,_0x24009f,_0x15f6ef,_0x54acbc,_0x2a338c,_0x2a8375);return _0x8a7dad instanceof ae?_0x8a7dad[_0x35bf16(0x2a7)]():(_0x8a7dad instanceof oe||_0x8a7dad instanceof le)&&_0x8a7dad[_0x35bf16(0x284)](),_0x8a7dad;}[_0x2441f9(0x284)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([w(0x5,_0x52cfb7(_0x395e58)),w(0x6,_0x52cfb7(_0x468892)),w(0x7,_0x56439f),w(0x8,_0x2e0c07),w(0x9,_0x273dbc(X))],de);let ee=class extends ge{constructor(_0x5918e8,_0x4ae3d,_0x5d482a,_0x4cca56,_0x896523,_0x5ad85a,_0x485122,_0x477e8a,_0x466b42,_0x2d87c8,_0x5416e9,_0x1f0332,_0x3c9c37,_0x7c505c){var _0x617281=_0x2441f9;super(_0x5918e8,_0x4ae3d,_0x5d482a,_0x4cca56,_0x485122,_0x5416e9,_0x1f0332,_0x466b42,_0x7c505c),D(this,_0x617281(0xe7),_0x617281(0x3ae)),(this['_acknowledgedAwaitingChangeset']=_0x896523,this['_queuedRemoteChangesets']=_0x5ad85a,this[_0x617281(0x120)]=_0x477e8a,this[_0x617281(0x1f3)]=_0x2d87c8,this[_0x617281(0x2fc)]=_0x3c9c37,this['localCacheService']=_0x7c505c);}[_0x2441f9(0x268)](_0x3bdd13){var _0x1f3f3f=_0x2441f9;try{const _0x189668=[..._0x3bdd13,...this['_queuedRemoteChangesets']],_0x661de2=[this[_0x1f3f3f(0x293)]||this[_0x1f3f3f(0x398)]][_0x1f3f3f(0x28b)](_0x4e54c2=>!!_0x4e54c2);let _0x5cbe67,_0x5298d4;if(_0x661de2[_0x1f3f3f(0x158)]){const _0xad3bb3=this[_0x1f3f3f(0x2fc)][_0x1f3f3f(0x3be)](_0x189668,_0x661de2,!0x1);if(!_0x13a7a8(_0xad3bb3))throw _0xad3bb3[_0x1f3f3f(0x3a5)];_0x5cbe67=_0xad3bb3[_0x1f3f3f(0x1a2)],_0x5298d4=_0xad3bb3[_0x1f3f3f(0x346)];}else _0x5cbe67=_0x189668,_0x5298d4=[];let _0x2c7b8d=this[_0x1f3f3f(0x33d)];_0x5cbe67[_0x1f3f3f(0x22e)](_0x1b8ddf=>{var _0x40f977=_0x1f3f3f;let _0x38ad6c;if(_0x2c7b8d[_0x40f977(0x158)]){const _0x5004f0=this['_transformService'][_0x40f977(0x163)](_0x1b8ddf,_0x2c7b8d);if(!_0x2633c8(_0x5004f0))throw _0x5004f0['error'];_0x38ad6c=_0x5004f0[_0x40f977(0x1a2)],_0x2c7b8d=_0x5004f0[_0x40f977(0x159)];}else _0x38ad6c=_0x1b8ddf;this['_executeRemoteChangeset'](_0x38ad6c);}),this[_0x1f3f3f(0x398)]&&this[_0x1f3f3f(0x21d)](),this[_0x1f3f3f(0x293)]&&_0x5298d4[_0x1f3f3f(0x158)]&&(_0x5298d4[0x0][_0x1f3f3f(0x3b4)]=this[_0x1f3f3f(0x95)]());let _0x4f3e1b;if(this[_0x1f3f3f(0x293)]&&_0x2c7b8d[_0x1f3f3f(0x158)]!==0x0)_0x4f3e1b=this[_0x1f3f3f(0x120)][_0x1f3f3f(0x29e)](oe,this['unitID'],this[_0x1f3f3f(0x34a)],_0x5298d4[0x0],_0x2c7b8d,this[_0x1f3f3f(0x302)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2c7b8d[_0x1f3f3f(0x158)]===0x0)_0x5298d4[0x0][_0x1f3f3f(0x3b4)]=this[_0x1f3f3f(0x95)](),_0x4f3e1b=this['_injector'][_0x1f3f3f(0x29e)](le,this[_0x1f3f3f(0x39c)],this[_0x1f3f3f(0x34a)],_0x5298d4[0x0],this[_0x1f3f3f(0x302)]);else{if(_0x2c7b8d['length']!==0x0){const _0x31495e=this[_0x1f3f3f(0x120)][_0x1f3f3f(0x29e)](ae,this[_0x1f3f3f(0x39c)],this[_0x1f3f3f(0x34a)],_0x2c7b8d,this['_handler']);_0x31495e[_0x1f3f3f(0x2a7)](),_0x4f3e1b=_0x31495e;}else _0x4f3e1b=this['_injector']['createInstance'](be,this[_0x1f3f3f(0x39c)],this[_0x1f3f3f(0x34a)],this['_handler']);}}return _0x4f3e1b['_updateLocalCache'](),_0x4f3e1b;}catch(_0x2c6536){return this['_logService']['error'](_0x1f3f3f(0x1fd),'failed\x20to\x20apply\x20missed\x20changesets!',_0x2c6536),this[_0x1f3f3f(0x120)][_0x1f3f3f(0x29e)](ue,this[_0x1f3f3f(0x39c)],this[_0x1f3f3f(0x34a)],this['_awaitingChangeset'],this[_0x1f3f3f(0x33d)],this[_0x1f3f3f(0x302)],!0x1);}}['resend'](){var _0x387dd1=_0x2441f9;throw new Error(_0x387dd1(0xb0));}[_0x2441f9(0x9a)](_0x426022){var _0x37177d=_0x2441f9;return this['_pendingMutations'][_0x37177d(0x2d9)](_0x426022),this;}[_0x2441f9(0xe8)](_0x1290a9){var _0x5bef2f=_0x2441f9;return this[_0x5bef2f(0x13f)][_0x5bef2f(0x2d9)](_0x1290a9),this;}[_0x2441f9(0x14f)](_0xce86fb){var _0x29bcdb=_0x2441f9;if(this[_0x29bcdb(0x293)])return this[_0x29bcdb(0x398)]=this['_awaitingChangeset'],this[_0x29bcdb(0x293)]=null,this;throw new Error(_0x29bcdb(0x16d));}['onRemoteRej'](_0x21792c){var _0x3de4c0=_0x2441f9;return this[_0x3de4c0(0x39b)](!!(_0x21792c!=null&&_0x21792c[_0x3de4c0(0x324)]));}[_0x2441f9(0x2fa)](){return this;}[_0x2441f9(0x347)](){var _0x1f7fd1=_0x2441f9;return this['_injector'][_0x1f7fd1(0x29e)](de,this[_0x1f7fd1(0x39c)],this[_0x1f7fd1(0x34a)],this[_0x1f7fd1(0x293)],this['_pendingMutations'],this[_0x1f7fd1(0x302)]);}[_0x2441f9(0x2b5)](){return this;}['_onConflict'](_0x14b699){var _0x3dc244=_0x2441f9;return this[_0x3dc244(0x120)][_0x3dc244(0x29e)](ue,this[_0x3dc244(0x39c)],this['type'],this[_0x3dc244(0x293)],this[_0x3dc244(0x33d)],this[_0x3dc244(0x302)],_0x14b699);}};ee=Se([w(0x7,_0x52cfb7(_0x395e58)),w(0x8,_0x52cfb7(_0x468892)),w(0x9,_0x5a9074),w(0xa,_0x56439f),w(0xb,_0x2e0c07),w(0xc,_0x32916a),w(0xd,_0x273dbc(X))],ee);function Oi(_0x3f5d35,_0xf7339c,_0x52f26e,_0x453fa3,_0x19d3e1,_0x5643af){var _0x691c2=_0x2441f9;return _0x453fa3&&_0x19d3e1['length']?_0x3f5d35['createInstance'](oe,_0xf7339c,_0x52f26e,_0x453fa3,_0x19d3e1,_0x5643af,void 0x0):_0x453fa3?_0x3f5d35[_0x691c2(0x29e)](le,_0xf7339c,_0x52f26e,_0x453fa3,_0x5643af):_0x19d3e1[_0x691c2(0x158)]?_0x3f5d35[_0x691c2(0x29e)](ae,_0xf7339c,_0x52f26e,_0x19d3e1,_0x5643af):_0x3f5d35['createInstance'](be,_0xf7339c,_0x52f26e,_0x5643af);}var js=Object[_0x2441f9(0x2bc)],At=(_0x18d6f4,_0x5cf731,_0x3298f1,_0x322708)=>{var _0xc5c424=_0x2441f9;for(var _0x4df0ca=_0x322708>0x1?void 0x0:_0x322708?js(_0x5cf731,_0x3298f1):_0x5cf731,_0x53280b=_0x18d6f4[_0xc5c424(0x158)]-0x1,_0x89ceb8;_0x53280b>=0x0;_0x53280b--)(_0x89ceb8=_0x18d6f4[_0x53280b])&&(_0x4df0ca=_0x89ceb8(_0x4df0ca)||_0x4df0ca);return _0x4df0ca;},$=(_0x598476,_0x51718d)=>(_0x139bed,_0x24ae22)=>_0x51718d(_0x139bed,_0x24ae22,_0x598476);let st=class extends _0x12f467{constructor(_0x4beb34,_0x4cca12,_0xb7eb60,_0x522d1a,_0x2e938f,_0x5d8170,_0x34c93a,_0xd39107,_0x1f06d4,_0x421154,_0x303d14,_0x57e25c,_0x32cf39,_0x388e4d){var _0x49ead4=_0x2441f9;super(),D(this,_0x49ead4(0x18e),new _0x52b67b(null)),D(this,'state$',this['_state$']['asObservable']()),D(this,_0x49ead4(0xbf)),D(this,_0x49ead4(0x1f8),!0x1),D(this,_0x49ead4(0x2df),''),D(this,_0x49ead4(0x269),0x0),D(this,_0x49ead4(0xd5),this[_0x49ead4(0x373)]['pipe'](_0x1facbe(_0x2e2d49=>_0x2e2d49?_0x2e2d49['status']:Si[_0x49ead4(0xbe)]),_0x576323(0x1))),D(this,_0x49ead4(0x396),!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0x49ead4(0x39c)]=_0x4beb34,this['session']=_0x4cca12,this[_0x49ead4(0x101)]=_0xb7eb60,this[_0x49ead4(0x120)]=_0x522d1a,this['_compressMutationService']=_0x2e938f,this[_0x49ead4(0x9e)]=_0x5d8170,this[_0x49ead4(0x1cc)]=_0x34c93a,this[_0x49ead4(0x2ca)]=_0xd39107,this['_univerInstanceService']=_0x1f06d4,this['_logService']=_0x421154,this['_commandService']=_0x303d14,this['_permissionService']=_0x57e25c,this[_0x49ead4(0x100)]=_0x32cf39,this[_0x49ead4(0x97)]=_0x388e4d);}get[_0x2441f9(0x368)](){var _0x2bb733=_0x2441f9;return this[_0x2bb733(0xbf)];}async[_0x2441f9(0x260)](){var _0x4c7380=_0x2441f9;if(this[_0x4c7380(0x368)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x4c7380(0x375)]();}[_0x2441f9(0xc3)](){return this['_collaborationPaused']=!0x0,_0x1e1ebb(()=>{var _0x4fc67a=_0x3471;this['_collaborationPaused']=!0x1,this[_0x4fc67a(0x147)]();});}[_0x2441f9(0xb6)](_0x1d6369){var _0x3f9c8a=_0x2441f9;this[_0x3f9c8a(0x16e)](_0x1d6369);}[_0x2441f9(0x392)](_0x472dd7){var _0x28fc3f=_0x2441f9;this[_0x28fc3f(0xbf)]=_0x472dd7,this[_0x28fc3f(0x18e)][_0x28fc3f(0x270)](_0x472dd7);}async['_init'](){var _0x4ad04b=_0x2441f9,_0x5c0a0d;this['_updateState'](await this[_0x4ad04b(0x1bc)]()),this[_0x4ad04b(0x100)]&&((_0x5c0a0d=this[_0x4ad04b(0x100)])==null||_0x5c0a0d[_0x4ad04b(0x227)](this['unitID']),this[_0x4ad04b(0x1d9)](this[_0x4ad04b(0x100)][_0x4ad04b(0x229)](this[_0x4ad04b(0x39c)])['subscribe'](_0x3d672c=>{var _0x37cc8e=_0x4ad04b;this[_0x37cc8e(0x1f3)]['debug'](_0x37cc8e(0x2d2),'editing\x20status\x20changed\x20to',_0x3d672c),_0x3d672c===mi[_0x37cc8e(0xc8)]?(this[_0x37cc8e(0x2ca)][_0x37cc8e(0x31f)]({'id':re[_0x37cc8e(0x381)]}),this[_0x37cc8e(0x384)][_0x37cc8e(0x1d8)](new _0x3c8993(this['unitID'])['id'],!0x1),this[_0x37cc8e(0x384)][_0x37cc8e(0x178)](!0x1)):(this[_0x37cc8e(0x384)][_0x37cc8e(0x1d8)](new _0x3c8993(this[_0x37cc8e(0x39c)])['id'],!0x0),this['_permissionService'][_0x37cc8e(0x178)](!0x0));})));let _0x205bdf=!0x1;return this[_0x4ad04b(0x1d9)](this[_0x4ad04b(0x2ab)][_0x4ad04b(0x2d1)]['subscribe'](_0x3434a6=>{var _0x28059d=_0x4ad04b;_0x3434a6===me['ONLINE']?this['_toggleOnline'](_0x205bdf):_0x3434a6===me[_0x28059d(0xbe)]&&(_0x205bdf=!0x0,this[_0x28059d(0x277)]());})),this['disposeWithMe'](this['session'][_0x4ad04b(0x18f)][_0x4ad04b(0x34f)](_0x5668e3=>{var _0x4addd8=_0x4ad04b;try{switch(_0x5668e3[_0x4addd8(0x297)]){case _0x12397d[_0x4addd8(0x2b2)]:{this[_0x4addd8(0x231)](_0x37c359(_0x5668e3[_0x4addd8(0xf0)]));break;}case _0x12397d[_0x4addd8(0x2d4)]:{this[_0x4addd8(0x2aa)](_0x5668e3[_0x4addd8(0xf0)]);break;}case _0x12397d[_0x4addd8(0x334)]:{this[_0x4addd8(0x28f)]();break;}case _0x12397d['CHANGESET_SHOULD_RETRY']:{this[_0x4addd8(0x38e)](_0x5668e3[_0x4addd8(0xf0)]);break;}case _0x12397d['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x5668e3[_0x4addd8(0xf0)][_0x4addd8(0x1b7)][_0x4addd8(0x26a)](_0x43561f=>_0x37c359(_0x43561f)));break;}case _0x12397d[_0x4addd8(0x361)]:{this[_0x4addd8(0x28f)]({'isPermissionRej':!0x0});break;}case _0x12397d[_0x4addd8(0x2ed)]:break;}}catch(_0x573ebf){throw console['error'](_0x4addd8(0x22c),_0x573ebf),_0x573ebf;}})),this['_state'];}[_0x2441f9(0x33f)](){var _0x37a0a4=_0x2441f9;this[_0x37a0a4(0x396)]=!0x1;}[_0x2441f9(0x216)](){var _0xfb865c=_0x2441f9;if(this[_0xfb865c(0x396)])throw new Error(_0xfb865c(0x169));this['_transitionLocked']=!0x0;}[_0x2441f9(0x16e)](_0x29a73b){var _0x3e00b0=_0x2441f9;this['_lockTransition'](),this[_0x3e00b0(0x392)](this[_0x3e00b0(0xbf)][_0x3e00b0(0x9a)](_0x29a73b)),this['_unlockTransition']();}[_0x2441f9(0x231)](_0x25c1c3){var _0x5c4110=_0x2441f9;if(!(_0x25c1c3[_0x5c4110(0x191)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x5c4110(0x39c)]))){if(this[_0x5c4110(0x1f8)]){this['_remoteChangesetQueue'][_0x5c4110(0x2d9)](_0x25c1c3);return;}this[_0x5c4110(0x294)](_0x25c1c3);}}[_0x2441f9(0x147)](){var _0x1d9c8a=_0x2441f9;this[_0x1d9c8a(0x354)]['forEach'](_0x2ee027=>this[_0x1d9c8a(0x294)](_0x2ee027)),this[_0x1d9c8a(0x354)]=[];}[_0x2441f9(0x294)](_0x2a4192){var _0xec2f3d=_0x2441f9;const _0x553c00=this[_0xec2f3d(0x391)][_0xec2f3d(0x2af)][_0xec2f3d(0x139)](this[_0xec2f3d(0x391)][_0xec2f3d(0x2af)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x2a4192['mutations'],null)||_0x2a4192[_0xec2f3d(0x29b)],_0x5b3521={..._0x2a4192,'mutations':_0x553c00};this['_lockTransition'](),this[_0xec2f3d(0x392)](this[_0xec2f3d(0xbf)]['onRemoteChangeset'](_0x5b3521)),this[_0xec2f3d(0x33f)]();}[_0x2441f9(0x2aa)](_0x1ec10e){var _0x38b6c9=_0x2441f9;this[_0x38b6c9(0x216)](),this[_0x38b6c9(0x392)](this['_state'][_0x38b6c9(0x14f)](_0x1ec10e)),this[_0x38b6c9(0x33f)]();}[_0x2441f9(0x28f)](_0x3687f6){var _0x28872d=_0x2441f9;this[_0x28872d(0x216)](),this[_0x28872d(0x392)](this[_0x28872d(0xbf)][_0x28872d(0x2a2)](_0x3687f6)),this[_0x28872d(0x33f)]();}[_0x2441f9(0x38e)](_0x43cd02){var _0x416b6c=_0x2441f9;this[_0x416b6c(0x216)](),this['_updateState'](this['_state'][_0x416b6c(0x2fa)](_0x43cd02)),this[_0x416b6c(0x33f)]();}[_0x2441f9(0x12d)](_0x3ac05){var _0x278f38=_0x2441f9;if(!(this[_0x278f38(0xbf)]instanceof ee))throw new TypeError(_0x278f38(0x2f2));const _0x2d2807=_0x3ac05[_0x278f38(0x26a)](_0x2f587a=>{var _0x1595d8=_0x278f38;const _0x2583ec=this[_0x1595d8(0x391)][_0x1595d8(0x2af)][_0x1595d8(0x139)](this[_0x1595d8(0x391)][_0x1595d8(0x2af)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x2f587a[_0x1595d8(0x29b)],null)||_0x2f587a[_0x1595d8(0x29b)];return{..._0x2f587a,'mutations':_0x2583ec};});this['_lockTransition'](),this['_updateState'](this['_state'][_0x278f38(0x268)](_0x2d2807)),this[_0x278f38(0x33f)]();}[_0x2441f9(0x277)](){var _0x42d4dc=_0x2441f9;this[_0x42d4dc(0x216)](),this[_0x42d4dc(0x392)](this['_state'][_0x42d4dc(0x347)]()),this[_0x42d4dc(0x33f)]();}[_0x2441f9(0x17b)](_0x47ec10=!0x1){var _0x1f81cb=_0x2441f9;this['_lockTransition'](),this[_0x1f81cb(0x392)](this[_0x1f81cb(0xbf)][_0x1f81cb(0x2b5)]()),this[_0x1f81cb(0x33f)]();const _0x39ce63=this[_0x1f81cb(0xbf)];_0x47ec10&&_0x39ce63 instanceof be&&(this['_lockTransition'](),this[_0x1f81cb(0x392)](_0x39ce63[_0x1f81cb(0x111)]()),this[_0x1f81cb(0x33f)]());}async['_createInitialState'](){return new Promise(_0x317944=>{var _0x1bb05d=_0x3471;this[_0x1bb05d(0x2ab)][_0x1bb05d(0x2d1)][_0x1bb05d(0x3b2)](_0xcec3bf(0x1))[_0x1bb05d(0x34f)](async _0x2619e3=>{_0x317944(await this['_createInitialStateImpl'](_0x2619e3===me['ONLINE']));});});}[_0x2441f9(0x1c8)](){var _0x195e48=_0x2441f9;const _0x4152b4=this[_0x195e48(0x39c)];return{'onStateChange':(_0xe6f916,_0x2d0716)=>{var _0x5c48c0=_0x195e48;if(_0xe6f916!==this[_0x5c48c0(0xbf)])throw new Error(_0x5c48c0(0x379)+_0xe6f916[_0x5c48c0(0xe7)]+_0x5c48c0(0x1e2)+_0x2d0716[_0x5c48c0(0xe7)]+'\x0aCurrent:\x20'+this['_state'][_0x5c48c0(0xe7)]);this[_0x5c48c0(0x392)](_0x2d0716);},'onSendChangeset':_0x1f5d46=>{var _0x339da6=_0x195e48;_0x1f5d46[_0x339da6(0x34c)]||(_0x1f5d46[_0x339da6(0x34c)]=this[_0x339da6(0x2df)],_0x1f5d46[_0x339da6(0xed)]=++this[_0x339da6(0x269)]);const _0x466924={'eventID':_0x12397d[_0x339da6(0x258)],'data':{'unitID':_0x1f5d46[_0x339da6(0x39c)],'unitType':this[_0x339da6(0x101)],'changeset':_0x1f5d46,'memberID':this[_0x339da6(0x2ab)][_0x339da6(0x156)]()}};this[_0x339da6(0x2ab)][_0x339da6(0x114)](_0x466924,this[_0x339da6(0x39c)]);},'onMissingChangesets':({from:_0xfde13b,to:_0x3fe729})=>{var _0x174c53=_0x195e48;this[_0x174c53(0x1f3)][_0x174c53(0x39f)](_0x174c53(0x2d2),_0x174c53(0x2a6)+_0xfde13b+'\x20to\x20'+_0x3fe729);const _0x5034d0={'eventID':_0x12397d[_0x174c53(0x374)],'data':{'unitID':_0x4152b4,'unitType':this[_0x174c53(0x101)],'from':_0xfde13b,'to':_0x3fe729}};this[_0x174c53(0x2ab)]['send'](_0x5034d0,this[_0x174c53(0x39c)]);}};}async[_0x2441f9(0x38d)](_0x4dc5d8){var _0x4aefce=_0x2441f9,_0xb9a983,_0x19aa3f,_0x87c867;const _0x467f8f=await((_0xb9a983=this[_0x4aefce(0x97)])==null?void 0x0:_0xb9a983[_0x4aefce(0x15a)](this[_0x4aefce(0x39c)])),_0x28534b=(_0x19aa3f=_0x467f8f==null?void 0x0:_0x467f8f[_0x4aefce(0x29b)])!=null?_0x19aa3f:[],_0x5c7be5=(_0x87c867=_0x467f8f==null?void 0x0:_0x467f8f['awaitingChangeset'])!=null?_0x87c867:null,_0x136bc5=!!(_0x5c7be5!=null&&_0x5c7be5[_0x4aefce(0x34c)])&&!!(_0x5c7be5!=null&&_0x5c7be5[_0x4aefce(0xed)]);this[_0x4aefce(0x2df)]=_0x136bc5?_0x5c7be5[_0x4aefce(0x34c)]:_0xe8315c(),this['_changesetReqId']=_0x136bc5?_0x5c7be5[_0x4aefce(0xed)]:0x0;const _0x1066c2=this[_0x4aefce(0x39c)];try{this[_0x4aefce(0xdb)](_0x5c7be5,_0x28534b);}catch(_0x5cb27a){this[_0x4aefce(0x1f3)][_0x4aefce(0x3a5)](_0x5cb27a);}const _0x316ad6=this[_0x4aefce(0x1c8)]();if(_0x4dc5d8){const _0x3ffd2b=Oi(this[_0x4aefce(0x120)],_0x1066c2,this['_type'],_0x5c7be5,_0x28534b,_0x316ad6);return _0x3ffd2b instanceof ae?_0x3ffd2b[_0x4aefce(0x2a7)]():(_0x3ffd2b instanceof oe||_0x3ffd2b instanceof le)&&_0x3ffd2b['resend'](),_0x3ffd2b;}return this[_0x4aefce(0x120)][_0x4aefce(0x29e)](de,_0x1066c2,this[_0x4aefce(0x101)],_0x5c7be5,_0x28534b,_0x316ad6);}['_replayCachedMutations'](_0x4be4fe,_0x2c3b6e){var _0x3e1353=_0x2441f9,_0x54d9fa,_0x171a02;const _0x56fe4d=this[_0x3e1353(0x391)]['interceptor'][_0x3e1353(0x139)](this[_0x3e1353(0x391)][_0x3e1353(0x2af)][_0x3e1353(0x1e9)]()['COMPRESS_MUTATION_APPLY']);(_0x54d9fa=_0x56fe4d((_0x4be4fe==null?void 0x0:_0x4be4fe[_0x3e1353(0x29b)])||[],null))==null||_0x54d9fa['forEach'](_0xcd1e3a=>this[_0x3e1353(0xfd)]['executeCommand'](_0xcd1e3a['id'],_0xcd1e3a[_0x3e1353(0x311)])),(_0x171a02=_0x56fe4d(_0x2c3b6e||[],null))==null||_0x171a02['forEach'](_0x3f1490=>this[_0x3e1353(0xfd)][_0x3e1353(0xab)](_0x3f1490['id'],_0x3f1490[_0x3e1353(0x311)]));}};st=At([$(0x3,_0x52cfb7(_0x395e58)),$(0x4,_0x52cfb7(_0x4b2aeb)),$(0x5,_0x52cfb7(_0x4150d5)),$(0x6,_0x52cfb7(_0x468892)),$(0x7,_0x52cfb7(ve)),$(0x8,_0x1dfd8a),$(0x9,_0x5a9074),$(0xa,_0x56439f),$(0xb,_0x9ee13b),$(0xc,_0x273dbc(_t)),$(0xd,_0x273dbc(X))],st);let It=class extends st{constructor(_0x1b5736,_0x150021,_0x2bbe7b,_0x1d057d,_0xcff06d,_0x20149a,_0x489674,_0x478288,_0x1d4c11,_0x4ee0af,_0x2ce673,_0x137628,_0x564003,_0x2f70c3){var _0x5a2d4e=_0x2441f9;super(_0x1b5736,_0x2bbe7b,_0x150021,_0x1d057d,_0xcff06d,_0x20149a,_0x489674,_0x478288,_0x1d4c11,_0x4ee0af,_0x2ce673,_0x137628,_0x564003,_0x2f70c3),D(this,'_handlerCallback',null),(this[_0x5a2d4e(0x39c)]=_0x1b5736,this[_0x5a2d4e(0x34a)]=_0x150021);}[_0x2441f9(0x149)](_0x511245){var _0x526a7c=_0x2441f9;this[_0x526a7c(0x2c4)]=_0x511245;}[_0x2441f9(0x108)](){var _0x506e07=_0x2441f9;this[_0x506e07(0x2c4)]=null,super[_0x506e07(0x108)]();}[_0x2441f9(0x1c8)](){var _0x4107b2=_0x2441f9;const _0x10ad71=super[_0x4107b2(0x1c8)]();return _0x10ad71[_0x4107b2(0x34b)]=_0x328073=>{var _0x1dc172=_0x4107b2,_0x245d9c,_0x3381e6;return(_0x3381e6=(_0x245d9c=this[_0x1dc172(0x2c4)])==null?void 0x0:_0x245d9c[_0x1dc172(0x34b)])==null?void 0x0:_0x3381e6[_0x1dc172(0x2db)](_0x245d9c,_0x328073);},_0x10ad71[_0x4107b2(0x2c8)]=_0xdbb766=>{var _0x3cb587=_0x4107b2,_0x19de2f,_0x4e93f2;return(_0x4e93f2=(_0x19de2f=this[_0x3cb587(0x2c4)])==null?void 0x0:_0x19de2f[_0x3cb587(0x2c8)])==null?void 0x0:_0x4e93f2[_0x3cb587(0x2db)](_0x19de2f,_0xdbb766);},_0x10ad71[_0x4107b2(0x136)]=_0x4c4ce1=>{var _0x2d1fb7=_0x4107b2,_0x1e28b4,_0x4a826e;return(_0x4a826e=(_0x1e28b4=this[_0x2d1fb7(0x2c4)])==null?void 0x0:_0x1e28b4[_0x2d1fb7(0x136)])==null?void 0x0:_0x4a826e['call'](_0x1e28b4,_0x4c4ce1);},_0x10ad71['onSyncEditingCollabCursor']=_0x2e436e=>{var _0x32ad74=_0x4107b2,_0x3e0d66,_0x3d603f;return(_0x3d603f=(_0x3e0d66=this['_handlerCallback'])==null?void 0x0:_0x3e0d66[_0x32ad74(0x151)])==null?void 0x0:_0x3d603f[_0x32ad74(0x2db)](_0x3e0d66,_0x2e436e);},_0x10ad71[_0x4107b2(0x27f)]=_0x13724d=>{var _0x572c0e=_0x4107b2,_0xf77079,_0xa4d5a0,_0x4750fd;if(!((_0xf77079=this[_0x572c0e(0x2c4)])!=null&&_0xf77079['onTransformRemoteChangesetByIMECache']))throw new Error(_0x572c0e(0x265));return(_0x4750fd=(_0xa4d5a0=this['_handlerCallback'])==null?void 0x0:_0xa4d5a0[_0x572c0e(0x27f)])==null?void 0x0:_0x4750fd[_0x572c0e(0x2db)](_0xa4d5a0,_0x13724d);},_0x10ad71[_0x4107b2(0x299)]=_0x33f81a=>{var _0x16b7d2=_0x4107b2,_0xd62687,_0x2f5950,_0x476724;if(!((_0xd62687=this[_0x16b7d2(0x2c4)])!=null&&_0xd62687[_0x16b7d2(0x299)]))throw new Error(_0x16b7d2(0xfb));return(_0x476724=(_0x2f5950=this[_0x16b7d2(0x2c4)])==null?void 0x0:_0x2f5950['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x476724[_0x16b7d2(0x2db)](_0x2f5950,_0x33f81a);},_0x10ad71;}async[_0x2441f9(0x375)](){var _0x51c330=_0x2441f9;const _0x2c9b2f=await super[_0x51c330(0x375)]();return this[_0x51c330(0x1d9)](this['_commandService']['onMutationExecutedForCollab']((_0x3f5f76,_0x4f53c7)=>{var _0x27d799=_0x51c330;if(_0x3f5f76[_0x27d799(0x34a)]!==_0x3a3511[_0x27d799(0x3b3)]||_0x4f53c7!=null&&_0x4f53c7['fromCollab']||_0x4f53c7!=null&&_0x4f53c7[_0x27d799(0x9b)]||_0x3f5f76['id']===_0x203027['id'])return;const _0x1d0cb2=_0x3f5f76[_0x27d799(0x311)];if((_0x1d0cb2==null?void 0x0:_0x1d0cb2[_0x27d799(0x27d)])!==this[_0x27d799(0x39c)])return;const _0x50d38c=_0x3f5f76,_0x47b8ed=this[_0x27d799(0x391)][_0x27d799(0x2af)][_0x27d799(0x139)](this[_0x27d799(0x391)][_0x27d799(0x2af)][_0x27d799(0x1e9)]()[_0x27d799(0x2a0)])([_0x50d38c],this[_0x27d799(0x189)])||[_0x50d38c];this['_onLocalMutation'](_0x47b8ed[0x0]);})),_0x2c9b2f;}};It=At([$(0x3,_0x52cfb7(_0x395e58)),$(0x4,_0x52cfb7(_0x4b2aeb)),$(0x5,_0x52cfb7(_0x4150d5)),$(0x6,_0x52cfb7(_0x468892)),$(0x7,_0x52cfb7(ve)),$(0x8,_0x1dfd8a),$(0x9,_0x5a9074),$(0xa,_0x56439f),$(0xb,_0x9ee13b),$(0xc,_0x273dbc(_t)),$(0xd,_0x273dbc(X))],It);let St=class extends st{constructor(_0x41137c,_0x3394a9,_0x80112a,_0x313188,_0x3adee8,_0x5e992b,_0x433abd,_0x33c7cf,_0x185060,_0x223bdb,_0x559c58,_0x4735a3,_0x3c01b8,_0xb6222d,_0x1b27ee){var _0x27b938=_0x2441f9;super(_0x41137c,_0x80112a,_0x3394a9,_0x313188,_0x3adee8,_0x5e992b,_0x433abd,_0x185060,_0x223bdb,_0x559c58,_0x4735a3,_0x3c01b8,_0xb6222d,_0x1b27ee),this[_0x27b938(0x39c)]=_0x41137c,this[_0x27b938(0x34a)]=_0x3394a9,this['_sheetTransformSelectionsService']=_0x33c7cf;}[_0x2441f9(0x1c8)](){var _0x38417d=_0x2441f9;const _0x4207ab=super[_0x38417d(0x1c8)]();return _0x4207ab[_0x38417d(0x136)]=_0x33edb6=>this[_0x38417d(0x3bb)][_0x38417d(0xdd)](_0x33edb6),_0x4207ab;}async[_0x2441f9(0x375)](){var _0x262c9f=_0x2441f9;const _0x20328e=await super[_0x262c9f(0x375)]();return this[_0x262c9f(0x1d9)](this[_0x262c9f(0xfd)][_0x262c9f(0x1f9)]((_0x9d9940,_0x5ae1d5)=>{var _0x43c54c=_0x262c9f;if(_0x9d9940['type']!==_0x3a3511[_0x43c54c(0x3b3)]||_0x5ae1d5!=null&&_0x5ae1d5[_0x43c54c(0x264)]||_0x5ae1d5!=null&&_0x5ae1d5[_0x43c54c(0x9b)])return;const _0x32d455=_0x9d9940[_0x43c54c(0x311)];if((_0x32d455==null?void 0x0:_0x32d455[_0x43c54c(0x27d)])!==this[_0x43c54c(0x39c)])return;const _0x165e42=_0x9d9940,_0x47ad6f=this[_0x43c54c(0x391)][_0x43c54c(0x2af)][_0x43c54c(0x139)](this[_0x43c54c(0x391)][_0x43c54c(0x2af)][_0x43c54c(0x1e9)]()['COMPRESS_MUTATION_SEND'])([_0x165e42],this[_0x43c54c(0x189)])||[_0x165e42];this[_0x43c54c(0x16e)](_0x47ad6f[0x0]);})),_0x20328e;}};St=At([$(0x3,_0x52cfb7(_0x395e58)),$(0x4,_0x52cfb7(_0x4b2aeb)),$(0x5,_0x52cfb7(_0x4150d5)),$(0x6,_0x52cfb7(_0x468892)),$(0x7,_0x52cfb7(it)),$(0x8,_0x52cfb7(ve)),$(0x9,_0x1dfd8a),$(0xa,_0x5a9074),$(0xb,_0x56439f),$(0xc,_0x9ee13b),$(0xd,_0x273dbc(_t)),$(0xe,_0x273dbc(X))],St);const Vs=_0x1444ff(_0x2441f9(0x390));function Gs(_0x1efcf6){var _0x278348=_0x2441f9,_0x37c533,_0x174b35,_0x13901d,_0x559cf0,_0x5ab480;const _0x2ec2f5=_0x1efcf6[_0x278348(0xf0)],_0x154e86=JSON['parse'](_0x2ec2f5);switch(_0x154e86[_0x278348(0x1b2)]){case j[_0x278348(0xf1)]:case j[_0x278348(0x1d0)]:{const _0x32e837=_0x154e86[_0x278348(0x13a)];return{..._0x154e86,'data':_0x32e837,'cmd':_0x154e86['cmd']};}case j[_0x278348(0x1a5)]:{const _0x4e4989=_0x154e86[_0x278348(0x1be)];return{..._0x154e86,'data':_0x4e4989,'cmd':_0x154e86[_0x278348(0x1b2)]};}case j[_0x278348(0x185)]:{const _0x31f847=_0x154e86[_0x278348(0x165)];switch(_0x31f847[_0x278348(0x297)]){case _0x12397d[_0x278348(0x361)]:return{..._0x154e86,'data':{..._0x31f847,'data':(_0x37c533=_0x31f847[_0x278348(0x1c6)])==null?void 0x0:_0x37c533['cs']},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d['CHANGESET_ACK']:return{..._0x154e86,'data':{..._0x31f847,'data':(_0x174b35=_0x31f847[_0x278348(0x23e)])==null?void 0x0:_0x174b35['cs']},'cmd':_0x154e86['cmd']};case _0x12397d[_0x278348(0x2b2)]:return{..._0x154e86,'data':{..._0x31f847,'data':(_0x13901d=_0x31f847[_0x278348(0x370)])==null?void 0x0:_0x13901d['cs']},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d[_0x278348(0x334)]:return{..._0x154e86,'data':{..._0x31f847,'data':(_0x559cf0=_0x31f847[_0x278348(0x33a)])==null?void 0x0:_0x559cf0['cs']},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d['CHANGESET_SHOULD_RETRY']:return{..._0x154e86,'data':{..._0x31f847,'data':(_0x5ab480=_0x31f847['csShouldRetryEvent'])==null?void 0x0:_0x5ab480['cs']},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d[_0x278348(0x369)]:return{..._0x154e86,'data':{..._0x31f847,'data':_0x31f847[_0x278348(0xd9)]},'cmd':_0x154e86['cmd']};case _0x12397d[_0x278348(0x2f7)]:return{..._0x154e86,'data':{..._0x31f847,'data':_0x31f847[_0x278348(0x372)]},'cmd':_0x154e86['cmd']};case _0x12397d[_0x278348(0x30a)]:return{..._0x154e86,'data':{..._0x31f847,'data':_0x31f847[_0x278348(0x1b4)]},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d[_0x278348(0x2de)]:return{..._0x154e86,'data':{..._0x31f847,'data':_0x31f847['liveShareNewHost']},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d[_0x278348(0x214)]:case _0x12397d['LIVESHARE_OPERATION']:return{..._0x154e86,'data':{..._0x31f847,'data':_0x31f847[_0x278348(0x144)]},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d['LIVESHARE_TERMINATE']:return{..._0x154e86,'data':{..._0x31f847,'data':_0x31f847[_0x278348(0x1f0)]},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d[_0x278348(0x20c)]:return{..._0x154e86,'data':_0x31f847,'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d[_0x278348(0x1c2)]:return{..._0x154e86,'data':{..._0x31f847,'data':_0x31f847[_0x278348(0xa4)]},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d[_0x278348(0x39e)]:return{..._0x154e86,'data':{..._0x31f847,'data':_0x31f847[_0x278348(0x32b)]},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d[_0x278348(0x1ed)]:return{..._0x154e86,'data':{..._0x31f847,'data':_0x31f847[_0x278348(0x289)]},'cmd':_0x154e86[_0x278348(0x1b2)]};case _0x12397d['UNISCRIPT_RUN']:return{..._0x154e86,'data':{..._0x31f847,'data':_0x31f847[_0x278348(0x19f)]},'cmd':_0x154e86[_0x278348(0x1b2)]};default:return _0x154e86;}}default:return _0x154e86;}}function Ws(_0x28e4fc){var _0x423ae2=_0x2441f9;switch(_0x28e4fc[_0x423ae2(0x1b2)]){case j['HEARTBEAT']:case j['HELLO']:return JSON[_0x423ae2(0x35b)]({'cmd':_0x28e4fc['cmd'],'routeKey':_0x28e4fc[_0x423ae2(0x37a)]});case j[_0x423ae2(0x221)]:{let _0x291239;switch(_0x28e4fc[_0x423ae2(0xf0)][_0x423ae2(0x297)]){case _0x12397d[_0x423ae2(0x369)]:{_0x291239={'eventID':_0x12397d[_0x423ae2(0x369)],'updateCursorEvent':_0x28e4fc[_0x423ae2(0xf0)][_0x423ae2(0xf0)]};break;}case _0x12397d['USERS_LEAVE']:{_0x291239={'eventID':_0x12397d[_0x423ae2(0x30a)],'leaveEvent':_0x28e4fc[_0x423ae2(0xf0)][_0x423ae2(0xf0)]};break;}case _0x12397d['USERS_ENTER']:{_0x291239={'eventID':_0x12397d[_0x423ae2(0x2f7)],'joinEvent':_0x28e4fc[_0x423ae2(0xf0)]['data']};break;}case _0x12397d[_0x423ae2(0x2de)]:{_0x291239={'eventID':_0x12397d[_0x423ae2(0x2de)],'liveShareNewHost':_0x28e4fc[_0x423ae2(0xf0)][_0x423ae2(0xf0)]};break;}case _0x12397d['LIVESHARE_OPERATION']:{_0x291239={'eventID':_0x12397d[_0x423ae2(0xcd)],'liveShareOperation':_0x28e4fc[_0x423ae2(0xf0)]['data']};break;}case _0x12397d[_0x423ae2(0x2ad)]:{_0x291239={'eventID':_0x12397d[_0x423ae2(0x2ad)],'liveShareTerminate':_0x28e4fc[_0x423ae2(0xf0)]['data']};break;}case _0x12397d[_0x423ae2(0x2ef)]:{_0x291239={'eventID':_0x12397d[_0x423ae2(0x2ef)],'liveShareRequestHost':_0x28e4fc['data'][_0x423ae2(0xf0)]};break;}case _0x12397d[_0x423ae2(0x214)]:{_0x291239={'eventID':_0x12397d[_0x423ae2(0x214)]};break;}default:_0x291239={'eventID':_0x28e4fc[_0x423ae2(0xf0)][_0x423ae2(0x297)]};}return JSON[_0x423ae2(0x35b)]({'cmd':_0x28e4fc[_0x423ae2(0x1b2)],'routeKey':_0x28e4fc[_0x423ae2(0x37a)],'collaMsg':_0x291239});}case j[_0x423ae2(0x1a5)]:return JSON[_0x423ae2(0x35b)]({'cmd':_0x28e4fc[_0x423ae2(0x1b2)],'routeKey':_0x28e4fc['routeKey'],'joinReq':_0x28e4fc['data']});case j[_0x423ae2(0x3a9)]:return JSON[_0x423ae2(0x35b)]({'cmd':_0x28e4fc[_0x423ae2(0x1b2)],'routeKey':_0x28e4fc[_0x423ae2(0x37a)],'leaveReq':_0x28e4fc['data']});default:throw new Error(_0x423ae2(0x351));}}var Ys=Object[_0x2441f9(0x2bc)],Ks=(_0x1a4906,_0x3c0906,_0x3b66ec,_0x13d1b6)=>{for(var _0x5e07bf=_0x13d1b6>0x1?void 0x0:_0x13d1b6?Ys(_0x3c0906,_0x3b66ec):_0x3c0906,_0x1ae1f1=_0x1a4906['length']-0x1,_0x155d61;_0x1ae1f1>=0x0;_0x1ae1f1--)(_0x155d61=_0x1a4906[_0x1ae1f1])&&(_0x5e07bf=_0x155d61(_0x5e07bf)||_0x5e07bf);return _0x5e07bf;},ye=(_0x3198ad,_0x24797e)=>(_0xb9889c,_0x51bb75)=>_0x24797e(_0xb9889c,_0x51bb75,_0x3198ad);const Ri=_0x1444ff(_0x2441f9(0x12f));function qs(_0x26ee33,_0x345b9c,_0x2aabbf){var _0x205caa=_0x2441f9;return _0x26ee33+'/'+_0x345b9c+_0x205caa(0x2cd)+_0x2aabbf+'/new_changes';}let Gt=class extends _0x1c8a31{constructor(_0x335eda,_0x3f5477,_0x17ce5b,_0x5ad27b,_0x33a9e6){var _0xe5bb66=_0x2441f9;super(),this[_0xe5bb66(0x120)]=_0x335eda,this[_0xe5bb66(0x2d5)]=_0x3f5477,this[_0xe5bb66(0x137)]=_0x17ce5b,this['_logService']=_0x5ad27b,this['_snapshotServerService']=_0x33a9e6;}[_0x2441f9(0xaf)](_0x152c15){var _0x1f6b46=_0x2441f9;const _0x571fd7=this[_0x1f6b46(0x120)]['get'](_0x4fc133);if(!_0x571fd7)throw new Error(_0x1f6b46(0x118));const _0x3bdf35=_0x571fd7[_0x1f6b46(0x1a3)](_0x152c15);if(!_0x3bdf35)throw new Error(_0x1f6b46(0x2ec));const _0x52e816=new _0x57f208(),_0x59a13c=new _0x12b55a();_0x52e816['add'](_0x3bdf35[_0x1f6b46(0x152)][_0x1f6b46(0x34f)](_0x52a2bd=>_0x59a13c[_0x1f6b46(0x270)](_0x52a2bd))),_0x52e816[_0x1f6b46(0x219)](_0x1e1ebb(()=>_0x59a13c['complete']()));const _0x3e7382=new _0x12b55a();_0x52e816[_0x1f6b46(0x219)](_0x3bdf35[_0x1f6b46(0x31b)][_0x1f6b46(0x34f)](_0x449b2f=>_0x3e7382[_0x1f6b46(0x270)](_0x449b2f))),_0x52e816[_0x1f6b46(0x219)](_0x1e1ebb(()=>_0x3e7382[_0x1f6b46(0x2d3)]()));const _0xe005c3=new _0x12b55a();_0x52e816[_0x1f6b46(0x219)](_0x3bdf35[_0x1f6b46(0x18b)][_0x1f6b46(0x34f)](_0x3be1c8=>{var _0x5d2ef2=_0x1f6b46;const _0x39f4f3=Gs(_0x3be1c8);_0xe005c3[_0x5d2ef2(0x270)](_0x39f4f3);})),_0x52e816['add'](_0x1e1ebb(()=>_0xe005c3[_0x1f6b46(0x2d3)]()));let _0x8106d3;const _0x46ed45=()=>{var _0x4d6749=_0x1f6b46;_0x3e7382[_0x4d6749(0x270)](new Event(_0x4d6749(0x3ab))),_0x59a13c[_0x4d6749(0x270)](new Event(_0x4d6749(0x3ab))),_0x8106d3['close']();};return _0x8106d3={'memberID':'','close$':_0x59a13c[_0x1f6b46(0xee)](),'error$':_0x3e7382[_0x1f6b46(0xee)](),'open$':_0x3bdf35[_0x1f6b46(0x344)],'message$':_0xe005c3[_0x1f6b46(0xee)](),'send':_0x190598=>{var _0x3e10bc=_0x1f6b46;if(_0x190598[_0x3e10bc(0x1b2)]===j[_0x3e10bc(0x221)]){if(_0x190598['data'][_0x3e10bc(0x297)]===_0x12397d['SUBMIT_CHANGESET']){this[_0x3e10bc(0xac)](_0x8106d3,_0x190598['data'])[_0x3e10bc(0x286)](_0x4b72a6=>{var _0x3ea6bf=_0x3e10bc;this[_0x3ea6bf(0x1f3)]['error'](_0x4b72a6),_0x46ed45();});return;}if(_0x190598[_0x3e10bc(0xf0)][_0x3e10bc(0x297)]===_0x12397d[_0x3e10bc(0x374)]){const _0xb5c7b0=_0x190598[_0x3e10bc(0xf0)];this['_fetchMissChangesets'](_0xb5c7b0)[_0x3e10bc(0x2cc)](_0x2ede29=>{var _0x3fc723=_0x3e10bc;_0xe005c3[_0x3fc723(0x270)]({'cmd':j['RECV'],'code':Ee['OK'],'routeKey':_0xb5c7b0['data'][_0x3fc723(0x39c)],'routeType':'','data':{'eventID':_0x12397d[_0x3fc723(0x22f)],'data':{'changesets':_0x2ede29}}});})[_0x3e10bc(0x286)](_0x2f7727=>{var _0x322793=_0x3e10bc;this[_0x322793(0x1f3)][_0x322793(0x3a5)](_0x2f7727),_0x46ed45();});return;}}_0x3bdf35[_0x3e10bc(0x114)](Ws(_0x190598));},'close':()=>{var _0x188565=_0x1f6b46;_0x3bdf35[_0x188565(0x19e)](),_0x52e816[_0x188565(0x108)]();}},_0x8106d3;}async[_0x2441f9(0xac)](_0x51b8e0,_0xe7b1db){var _0x42e1a4=_0x2441f9,_0xf7493e;const {unitType:_0x47b551,unitID:_0x3b78a1,changeset:_0x3477d8}=_0xe7b1db[_0x42e1a4(0xf0)],_0x2ef419={'unitID':_0x3b78a1,'memberID':_0x51b8e0[_0x42e1a4(0xdf)],'type':_0x47b551,'changeset':_0x40c88e(_0x3477d8)},_0xbc707d=this[_0x42e1a4(0x137)][_0x42e1a4(0xb4)](K),_0x501727=qs((_0xf7493e=_0xbc707d==null?void 0x0:_0xbc707d[_0x42e1a4(0xa5)])!=null?_0xf7493e:Ns,_0x47b551,_0x3b78a1);try{await this[_0x42e1a4(0x2d5)][_0x42e1a4(0x28a)](_0x501727,{'body':_0x2ef419});}catch(_0x48920d){throw this['_logService'][_0x42e1a4(0x3a5)](_0x42e1a4(0x2f8),_0x42e1a4(0x332)),_0x48920d;}}async['_fetchMissChangesets'](_0x498094){var _0x227be3=_0x2441f9;const {unitID:_0x5a0e03,from:_0x66069b,to:_0x5a964d,unitType:_0x48735c}=_0x498094[_0x227be3(0xf0)];return(await this[_0x227be3(0x2b3)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x5a0e03,'type':_0x48735c,'from':_0x66069b,'to':_0x5a964d}))[_0x227be3(0x1b7)][_0x227be3(0x26a)](_0x4f3ed7=>((_0x4f3ed7['mutations']===null||_0x4f3ed7[_0x227be3(0x29b)]===void 0x0)&&(_0x4f3ed7[_0x227be3(0x29b)]=[]),_0x4f3ed7));}};Gt=Ks([ye(0x0,_0x52cfb7(_0x395e58)),ye(0x1,_0x52cfb7(_0xacb381)),ye(0x2,_0x328306),ye(0x3,_0x5a9074),ye(0x4,_0x2dc9c3)],Gt);var zs=Object[_0x2441f9(0x2bc)],Xs=(_0x59d3fb,_0x3c32a6,_0x30759c,_0x4a4660)=>{var _0x1d0a1a=_0x2441f9;for(var _0x32a536=_0x4a4660>0x1?void 0x0:_0x4a4660?zs(_0x3c32a6,_0x30759c):_0x3c32a6,_0x551ee=_0x59d3fb[_0x1d0a1a(0x158)]-0x1,_0x4f5522;_0x551ee>=0x0;_0x551ee--)(_0x4f5522=_0x59d3fb[_0x551ee])&&(_0x32a536=_0x4f5522(_0x32a536)||_0x32a536);return _0x32a536;},Re=(_0x3d04,_0xe408a8)=>(_0x33d58d,_0x32ff08)=>_0xe408a8(_0x33d58d,_0x32ff08,_0x3d04);let we=class extends _0x1c8a31{constructor(_0x8f2839,_0x5fe8a9,_0x3cc576,_0x890c05,_0x5e1e66,_0x4291ea){var _0x29c47c=_0x2441f9;super(),D(this,_0x29c47c(0x27c),new _0x52b67b(void 0x0)),D(this,_0x29c47c(0x15e),this[_0x29c47c(0x27c)][_0x29c47c(0xee)]()),D(this,'_candidateSocket',null),D(this,_0x29c47c(0x296),new Map()),D(this,_0x29c47c(0x1c9),new _0x52b67b(me['IDLE'])),D(this,_0x29c47c(0xd5),this[_0x29c47c(0x1c9)][_0x29c47c(0xee)]()),D(this,_0x29c47c(0x1bf),!0x1),D(this,_0x29c47c(0x26d)),D(this,_0x29c47c(0x303),0x0),D(this,'_sendHeartbeatTimer'),D(this,_0x29c47c(0x2da)),(this[_0x29c47c(0x120)]=_0x8f2839,this['_logService']=_0x5fe8a9,this[_0x29c47c(0x137)]=_0x3cc576,this['_socketService']=_0x890c05,this[_0x29c47c(0x3cd)]=_0x5e1e66,this[_0x29c47c(0x1c4)]=_0x4291ea,this[_0x29c47c(0x3ac)]());}get[_0x2441f9(0x1df)](){return this['_socket$']['getValue']();}[_0x2441f9(0x3ac)](){var _0x368a65=_0x2441f9;this[_0x368a65(0x1c4)]&&this['disposeWithMe'](this[_0x368a65(0x1c4)]['online$']['subscribe'](_0x54be39=>{var _0x40a37b=_0x368a65;_0x54be39&&!this['_socket']&&this[_0x40a37b(0xa1)](),_0x54be39||this[_0x40a37b(0x2eb)]();}));}[_0x2441f9(0x108)](){var _0x145d7a=_0x2441f9;super[_0x145d7a(0x108)](),this[_0x145d7a(0x2ba)](),this[_0x145d7a(0x3cc)](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x145d7a(0x22e)](_0x43d185=>_0x43d185[_0x145d7a(0x108)]()),this[_0x145d7a(0x296)][_0x145d7a(0x228)](),this['_status$'][_0x145d7a(0x2d3)]();}async[_0x2441f9(0xd0)](_0x34ae58){var _0x20cf7a=_0x2441f9;if(this['_sessions']['has'](_0x34ae58))return this['_sessions'][_0x20cf7a(0x222)](_0x34ae58);this['_tryEnsureSocket']();const _0xb09287=this['_injector'][_0x20cf7a(0x29e)](mt,_0x34ae58,this[_0x20cf7a(0x27c)][_0x20cf7a(0xee)]());return this['_sessions'][_0x20cf7a(0xfe)](_0x34ae58,_0xb09287),_0xb09287;}['closeSession'](_0x1ca72b){var _0x8a2ab0=_0x2441f9,_0x2ad2d2;const _0x56a91c=this[_0x8a2ab0(0x296)]['get'](_0x1ca72b);_0x56a91c&&(this[_0x8a2ab0(0x296)][_0x8a2ab0(0x307)](_0x1ca72b),_0x56a91c['close']()),this[_0x8a2ab0(0x296)]['size']||(_0x2ad2d2=this[_0x8a2ab0(0x1df)])==null||_0x2ad2d2[_0x8a2ab0(0x19e)]();}[_0x2441f9(0xa1)](){var _0x269b55=_0x2441f9;this[_0x269b55(0x303)]=0x0,this[_0x269b55(0x2ba)](),this[_0x269b55(0x298)]();}['_clearRetryConnectingTimer'](){var _0x3caab7=_0x2441f9;this[_0x3caab7(0x26d)]!=null&&(clearTimeout(this[_0x3caab7(0x26d)]),this[_0x3caab7(0x26d)]=null);}async[_0x2441f9(0x233)](){var _0x389dcb=_0x2441f9,_0x12ae1;const _0xc73d5f=this[_0x389dcb(0x137)][_0x389dcb(0xb4)](K),_0x1ede0f=(_0x12ae1=_0xc73d5f==null?void 0x0:_0xc73d5f[_0x389dcb(0x2fb)])!=null?_0x12ae1:Is,_0x51bf35=await this[_0x389dcb(0x109)][_0x389dcb(0x1a3)](_0x1ede0f);return this[_0x389dcb(0x389)]=_0x51bf35,_0x51bf35;}async[_0x2441f9(0x138)](){var _0x590048=_0x2441f9,_0x2ff1f7,_0x4fd27c;try{const _0x3397e9=(_0x4fd27c=(_0x2ff1f7=this[_0x590048(0x1df)])!=null?_0x2ff1f7:this[_0x590048(0x389)])!=null?_0x4fd27c:await this[_0x590048(0x233)]();if(_0x3397e9){const _0x298144=_0x3397e9[_0x590048(0x114)];_0x3397e9[_0x590048(0x114)]=_0x55826d=>(this[_0x590048(0x350)](),_0x298144[_0x590048(0x155)](_0x3397e9,[_0x55826d])),_0x3397e9[_0x590048(0x18b)]['subscribe'](_0x1257f0=>this[_0x590048(0x176)](_0x3397e9,_0x1257f0)),_0x3397e9[_0x590048(0x31b)][_0x590048(0x3b2)](_0x28efbf(0x1))[_0x590048(0x34f)](_0x4170c8=>this[_0x590048(0x1f3)][_0x590048(0x3a5)](_0x590048(0x1ae),_0x4170c8)),_0x3397e9['open$'][_0x590048(0x3b2)](_0x28efbf(0x1))[_0x590048(0x34f)](()=>{var _0x3b5591=_0x590048;this[_0x3b5591(0x2c5)](_0x3397e9);}),_0x3397e9[_0x590048(0x152)]['pipe'](_0x28efbf(0x1))[_0x590048(0x34f)](_0xfd667d=>{var _0x21d783=_0x590048;this['_logService'][_0x21d783(0x39f)](_0x21d783(0x26e),'socket\x20close',_0xfd667d),this[_0x21d783(0xd1)]();});}}catch(_0x1c94cd){this['_logService']['error'](_0x1c94cd),this[_0x590048(0xd1)]();}}[_0x2441f9(0x2c5)](_0x25329e){var _0x2536eb=_0x2441f9;this[_0x2536eb(0x1f3)][_0x2536eb(0x39f)](_0x2536eb(0x26e),_0x2536eb(0x1a9)),_0x25329e[_0x2536eb(0x114)]({'cmd':j[_0x2536eb(0x1d0)]}),this[_0x2536eb(0x350)]();}[_0x2441f9(0x2eb)](){var _0x98b235=_0x2441f9;this[_0x98b235(0x1bf)]=!0x1,this['_candidateSocket']=null,this[_0x98b235(0x1c9)]['next'](me['OFFLINE']),this[_0x98b235(0x27c)]['next'](null),this[_0x98b235(0x3cc)](),this[_0x98b235(0x203)]();}['_onConnectionFailed'](){var _0x2c76f3=_0x2441f9,_0x152961;this[_0x2c76f3(0x2eb)](),this[_0x2c76f3(0x303)]<((_0x152961=this[_0x2c76f3(0x137)]['getConfig'](Os))!=null?_0x152961:Rs)?(this[_0x2c76f3(0x3cd)]['emitEvent']({'id':re[_0x2c76f3(0x32f)]}),this[_0x2c76f3(0x298)]()):this['_collaborationUIEventService'][_0x2c76f3(0x31f)]({'id':re[_0x2c76f3(0x300)]});}[_0x2441f9(0x298)](){var _0x1324fc=_0x2441f9,_0x5668b1;const _0x496972=this[_0x1324fc(0x303)],_0x39cbf3=this[_0x1324fc(0x137)][_0x1324fc(0xb4)](K),_0x15e1f5=_0x496972===0x0?0x0:((_0x5668b1=_0x39cbf3==null?void 0x0:_0x39cbf3[_0x1324fc(0xf8)])!=null?_0x5668b1:Ts)*0x2**_0x496972;this[_0x1324fc(0x26d)]=setTimeout(()=>{var _0x41b0cc=_0x1324fc;clearTimeout(this[_0x41b0cc(0x26d)]),this[_0x41b0cc(0x26d)]=null,this[_0x41b0cc(0x138)]();},_0x15e1f5),this[_0x1324fc(0x303)]+=0x1;}['_onMessage'](_0x4967e8,_0x2eb557){var _0x1007fe=_0x2441f9;const {cmd:_0x13a383}=_0x2eb557;_0x13a383===j[_0x1007fe(0x1d0)]&&!this[_0x1007fe(0x1bf)]&&(_0x4967e8[_0x1007fe(0xdf)]=_0x2eb557['data'][_0x1007fe(0xdf)],this[_0x1007fe(0x27c)][_0x1007fe(0x270)](_0x4967e8),this[_0x1007fe(0x1c9)]['next'](me[_0x1007fe(0x20d)]),this[_0x1007fe(0x1bf)]=!0x0,this[_0x1007fe(0x389)]=null),_0x13a383===j[_0x1007fe(0xf1)]&&this[_0x1007fe(0x3cc)](),this[_0x1007fe(0x350)]();}['_rescheduleHeartbeat'](){var _0x39233a=_0x2441f9,_0x29047d;this[_0x39233a(0x203)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x39233a(0x35e)](),(_0x29047d=this[_0x39233a(0x137)][_0x39233a(0xb4)](Ss))!=null?_0x29047d:gs);}[_0x2441f9(0x35e)](){var _0x2bded3=_0x2441f9;this[_0x2bded3(0x1df)]['send']({'cmd':j[_0x2bded3(0xf1)]}),this['_waitForHeartbeatResponse']();}[_0x2441f9(0x1af)](){var _0x23a4be=_0x2441f9,_0xf9ec4a;this[_0x23a4be(0x2da)]=setTimeout(()=>this[_0x23a4be(0xd1)](),(_0xf9ec4a=this[_0x23a4be(0x137)][_0x23a4be(0xb4)](di))!=null?_0xf9ec4a:fi);}[_0x2441f9(0x203)](){var _0x64141=_0x2441f9;this[_0x64141(0x363)]!=null&&(clearTimeout(this[_0x64141(0x363)]),this[_0x64141(0x363)]=null);}[_0x2441f9(0x3cc)](){this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};we=Xs([Re(0x0,_0x52cfb7(_0x395e58)),Re(0x1,_0x5a9074),Re(0x2,_0x328306),Re(0x3,Ri),Re(0x4,_0x52cfb7(ve)),Re(0x5,_0x273dbc(Vs))],we);var Js=Object[_0x2441f9(0x2bc)],Zs=(_0x24904e,_0x1e90fa,_0x4e8b6d,_0x44b06b)=>{var _0x49d072=_0x2441f9;for(var _0x36a4b7=_0x44b06b>0x1?void 0x0:_0x44b06b?Js(_0x1e90fa,_0x4e8b6d):_0x1e90fa,_0x135bda=_0x24904e[_0x49d072(0x158)]-0x1,_0x26f82a;_0x135bda>=0x0;_0x135bda--)(_0x26f82a=_0x24904e[_0x135bda])&&(_0x36a4b7=_0x26f82a(_0x36a4b7)||_0x36a4b7);return _0x36a4b7;},Be=(_0x4c6505,_0x479500)=>(_0x13e563,_0x3d7e06)=>_0x479500(_0x13e563,_0x3d7e06,_0x4c6505);let nt=class extends _0x12f467{constructor(_0x1343f4,_0x234e8d,_0x4846be,_0x569421){var _0x54065b=_0x2441f9,_0xd25fa1;super(),D(this,_0x54065b(0x13d),new Map()),D(this,_0x54065b(0x3a2),new _0x12b55a()),D(this,_0x54065b(0x125),this[_0x54065b(0x3a2)][_0x54065b(0xee)]()),(this[_0x54065b(0x120)]=_0x1343f4,this[_0x54065b(0x336)]=_0x234e8d,this[_0x54065b(0x137)]=_0x4846be,this[_0x54065b(0x189)]=_0x569421,((_0xd25fa1=this[_0x54065b(0x137)]['getConfig'](K))==null?void 0x0:_0xd25fa1[_0x54065b(0x1f2)])!==!0x1&&this[_0x54065b(0x375)]());}[_0x2441f9(0x108)](){var _0x2d83de=_0x2441f9;super[_0x2d83de(0x108)](),this['_entities'][_0x2d83de(0x22e)](_0x50927f=>_0x50927f[_0x2d83de(0x108)]()),this[_0x2d83de(0x13d)][_0x2d83de(0x228)]();}[_0x2441f9(0x23d)](_0x1a4f31){var _0x2ba778=_0x2441f9,_0x2fe44f;return(_0x2fe44f=this[_0x2ba778(0x13d)]['get'](_0x1a4f31))!=null?_0x2fe44f:null;}[_0x2441f9(0xb1)](_0x5071cd){var _0x530986=_0x2441f9;const _0x19d6f4=this[_0x530986(0x23d)](_0x5071cd);return _0x19d6f4?_0x256d3d(_0x19d6f4):this[_0x530986(0x3a2)][_0x530986(0x3b2)](_0x12d299(_0x24150a=>_0x24150a[_0x530986(0x39c)]===_0x5071cd));}[_0x2441f9(0x36a)](_0x1d0fb7){var _0x2a8ab1=_0x2441f9;return _0x553f5e(this[_0x2a8ab1(0xb1)](_0x1d0fb7)[_0x2a8ab1(0x3b2)](_0xe994cc(()=>{})));}[_0x2441f9(0x375)](){var _0x1f5c43=_0x2441f9;this[_0x1f5c43(0x189)][_0x1f5c43(0xbd)](_0x2ddda7[_0x1f5c43(0x110)])[_0x1f5c43(0x3b2)](_0x1066d7(this[_0x1f5c43(0x25a)]),_0x1024bb(0x10))[_0x1f5c43(0x34f)](async _0x5972e9=>{var _0xa1d307=_0x1f5c43;const _0x393b0b=_0x5972e9[_0xa1d307(0x310)](),_0xd09abe=await this['_startCollaboration'](_0x393b0b,Q[_0xa1d307(0x110)]);this[_0xa1d307(0x13d)]['set'](_0x393b0b,_0xd09abe);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2ddda7[_0x1f5c43(0x1e5)])['pipe'](_0x1066d7(this[_0x1f5c43(0x25a)]),_0x1024bb(0x10))[_0x1f5c43(0x3b2)](_0x12d299(_0xcb1fcf=>!_0xcb1fcf[_0x1f5c43(0x310)]()[_0x1f5c43(0xe3)]('__')))[_0x1f5c43(0x34f)](async _0x382998=>{var _0xd09b2a=_0x1f5c43;const _0x520440=_0x382998[_0xd09b2a(0x310)](),_0x261dc1=await this[_0xd09b2a(0x3ad)](_0x520440,Q[_0xd09b2a(0x1e5)]);this[_0xd09b2a(0x13d)][_0xd09b2a(0xfe)](_0x520440,_0x261dc1);}),_0x5a45a0(this[_0x1f5c43(0x189)][_0x1f5c43(0xe2)](_0x2ddda7[_0x1f5c43(0x110)]),this[_0x1f5c43(0x189)][_0x1f5c43(0xe2)](_0x2ddda7[_0x1f5c43(0x1e5)]))['pipe'](_0x1066d7(this[_0x1f5c43(0x25a)]))[_0x1f5c43(0x34f)](_0x5d3e43=>{var _0x30a10a=_0x1f5c43;const _0x7aa523=_0x5d3e43[_0x30a10a(0x310)](),_0x38700f=this[_0x30a10a(0x13d)][_0x30a10a(0x222)](_0x7aa523);_0x38700f&&(_0x38700f['dispose'](),this[_0x30a10a(0x13d)][_0x30a10a(0x307)](_0x7aa523));});}async[_0x2441f9(0x3ad)](_0x48eb64,_0x1c1023){var _0x4b0534=_0x2441f9;const _0x1c7c8f=await this[_0x4b0534(0x336)]['requireSession'](_0x48eb64),_0xbbdbf6=this[_0x4b0534(0x120)][_0x4b0534(0x29e)](this['_getCtorByUniverType'](_0x1c1023),_0x48eb64,_0x1c1023,_0x1c7c8f);return await _0xbbdbf6[_0x4b0534(0x260)](),this[_0x4b0534(0x3a2)]['next'](_0xbbdbf6),_0xbbdbf6;}['_getCtorByUniverType'](_0x3f73f3){var _0x5436f5=_0x2441f9;switch(_0x3f73f3){case Q['UNIVER_DOC']:return It;case Q[_0x5436f5(0x110)]:return St;default:throw new Error(_0x5436f5(0x18c)+_0x3f73f3);}}};nt=Zs([Be(0x0,_0x52cfb7(_0x395e58)),Be(0x1,_0x52cfb7(we)),Be(0x2,_0x328306),Be(0x3,_0x1dfd8a)],nt);var Qs=Object[_0x2441f9(0x2bc)],en=(_0x5b855f,_0x3f6155,_0x3ca823,_0xdcd14f)=>{for(var _0x4cdaf1=_0xdcd14f>0x1?void 0x0:_0xdcd14f?Qs(_0x3f6155,_0x3ca823):_0x3f6155,_0x40f98e=_0x5b855f['length']-0x1,_0xf46d1f;_0x40f98e>=0x0;_0x40f98e--)(_0xf46d1f=_0x5b855f[_0x40f98e])&&(_0x4cdaf1=_0xf46d1f(_0x4cdaf1)||_0x4cdaf1);return _0x4cdaf1;},Wt=(_0x5ac156,_0x2508d8)=>(_0x35cb51,_0x28a101)=>_0x2508d8(_0x35cb51,_0x28a101,_0x5ac156);const tn=_0x2441f9(0x20e),sn=_0x2441f9(0x331);let gt=class extends _0x1c8a31{constructor(_0x3add51,_0x3dceaa){var _0x4bbe03=_0x2441f9;super(),this[_0x4bbe03(0x189)]=_0x3add51,this['_configService']=_0x3dceaa,this[_0x4bbe03(0x375)]();}[_0x2441f9(0x375)](){var _0x2529e3=_0x2441f9;this[_0x2529e3(0x1d9)](this[_0x2529e3(0x189)][_0x2529e3(0x1ec)][_0x2529e3(0x34f)](()=>{var _0xded99e=_0x2529e3,_0x5e92b6;const _0x16f6f1=this[_0xded99e(0x189)][_0xded99e(0x397)]();let _0x22264b=(_0x5e92b6=this[_0xded99e(0x137)][_0xded99e(0xb4)](tn))!=null?_0x5e92b6:sn;_0x16f6f1 instanceof _0x1ed90b&&(_0x22264b=_0x16f6f1[_0xded99e(0x3a4)]),document[_0xded99e(0x15f)]=_0x22264b;}));}};gt=en([Wt(0x0,_0x1dfd8a),Wt(0x1,_0x328306)],gt);var nn=Object['getOwnPropertyDescriptor'],rn=(_0xf28228,_0xf82581,_0x4f265a,_0x4d8b93)=>{var _0x18f0b5=_0x2441f9;for(var _0x38fdf7=_0x4d8b93>0x1?void 0x0:_0x4d8b93?nn(_0xf82581,_0x4f265a):_0xf82581,_0x4722f3=_0xf28228[_0x18f0b5(0x158)]-0x1,_0x288f32;_0x4722f3>=0x0;_0x4722f3--)(_0x288f32=_0xf28228[_0x4722f3])&&(_0x38fdf7=_0x288f32(_0x38fdf7)||_0x38fdf7);return _0x38fdf7;},dt=(_0x1a2494,_0x47e56a)=>(_0x3ca4d3,_0x5db34d)=>_0x47e56a(_0x3ca4d3,_0x5db34d,_0x1a2494);let rt=class{constructor(_0x218f60,_0x4c90d8,_0x20179f){var _0x4e6eb9=_0x2441f9;this[_0x4e6eb9(0x137)]=_0x218f60,this['_httpService']=_0x4c90d8,this[_0x4e6eb9(0x1a0)]=_0x20179f,this[_0x4e6eb9(0x260)]();}[_0x2441f9(0x260)](){var _0x301acc=_0x2441f9;this[_0x301acc(0x2d5)][_0x301acc(0x1e0)]({'priority':0x1,'interceptor':(_0x83a069,_0x3dfeb4)=>_0x3dfeb4(_0x83a069)[_0x301acc(0x3b2)](_0x454066(async _0x56fd86=>{var _0x378e32=_0x301acc;const _0x1bb9c9=_0x56fd86;if(_0x1bb9c9[_0x378e32(0xe7)]===0x191){if(typeof window>'u')throw new Error(_0x378e32(0x348));if(window[_0x378e32(0x34d)](this[_0x378e32(0x1a0)]['t'](_0x378e32(0x356)))){const _0x323fc7=window[_0x378e32(0x175)](window[_0x378e32(0x3b0)]['href']);window[_0x378e32(0x3b0)][_0x378e32(0x117)]=this[_0x378e32(0x24c)]()+_0x378e32(0xaa)+_0x323fc7;}}return _0x1bb9c9;}))});}[_0x2441f9(0x24c)](){var _0xd5c0f0=_0x2441f9,_0x111041;const _0x507644=this[_0xd5c0f0(0x137)][_0xd5c0f0(0xb4)](K);return(_0x111041=_0x507644==null?void 0x0:_0x507644['loginUrlKey'])!=null?_0x111041:Cs;}};rt=rn([dt(0x0,_0x328306),dt(0x1,_0x52cfb7(_0xacb381)),dt(0x2,_0x52cfb7(_0x4150d5))],rt);var an=Object[_0x2441f9(0x2bc)],on=(_0x5b1014,_0x37686e,_0x4a570a,_0x15be29)=>{var _0x1e1c89=_0x2441f9;for(var _0x4e9920=_0x15be29>0x1?void 0x0:_0x15be29?an(_0x37686e,_0x4a570a):_0x37686e,_0x43a381=_0x5b1014[_0x1e1c89(0x158)]-0x1,_0x3e9700;_0x43a381>=0x0;_0x43a381--)(_0x3e9700=_0x5b1014[_0x43a381])&&(_0x4e9920=_0x3e9700(_0x4e9920)||_0x4e9920);return _0x4e9920;},Yt=(_0x2079d0,_0x12c678)=>(_0x5ede56,_0x19f4fd)=>_0x12c678(_0x5ede56,_0x19f4fd,_0x2079d0);const cn=_0x2441f9(0x37f);let Tt=class extends _0x1c8a31{constructor(_0x3bc658,_0x554a52){var _0xe6ab71=_0x2441f9;super(),this[_0xe6ab71(0x1d7)]=_0x3bc658,this[_0xe6ab71(0x137)]=_0x554a52,this[_0xe6ab71(0x126)]();}['_initMergeInterceptor'](){var _0x50b969=_0x2441f9;const _0x4e7e61=this;this[_0x50b969(0x1d9)](this[_0x50b969(0x1d7)][_0x50b969(0x1e0)]({'priority':0x3e7,'interceptor':_0x2e57ce({'isMatch'(_0xed4e7c){var _0x13539e=_0x50b969,_0x532346;if(_0xed4e7c[_0x13539e(0x99)]===_0x13539e(0x1b0)&&((_0x532346=_0xed4e7c['requestParams'])!=null&&_0x532346[_0x13539e(0x38b)])){const {objectID:_0x34daa1,objectType:_0x4f9808}=_0xed4e7c['requestParams'][_0x13539e(0x38b)]||{};if(!_0x34daa1||_0x4f9808===void 0x0)return!0x1;const _0x4f666e=_0x4e7e61['_getAPIPrefixPath']()+'/'+_0x4f9808+_0x13539e(0x345)+_0x34daa1+'/allowed';if(_0xed4e7c[_0x13539e(0x319)]===_0x4f666e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4f7ac0){var _0x2a1ee5=_0x50b969,_0x3c5965;return(_0x3c5965=_0x4f7ac0[_0x2a1ee5(0x212)])==null?void 0x0:_0x3c5965[_0x2a1ee5(0x38b)];},'mergeParamsToRequest'(_0x32099c,_0x220a76){var _0x4f2dde=_0x50b969;const _0x5f36b1=_0x4e7e61['_getAPIPrefixPath']()+_0x4f2dde(0x3ba),_0x30b2ca=_0x32099c[_0x4f2dde(0x251)]((_0x32b385,_0x1acdf2)=>{var _0x4732a4=_0x4f2dde;const {unitID:_0x416568,objectID:_0x41d9d6,objectType:_0x201397,actions:_0x4fde50}=_0x1acdf2;return _0x32b385[_0x416568]||(_0x32b385[_0x416568]={}),_0x32b385[_0x416568][_0x41d9d6]||(_0x32b385[_0x416568][_0x41d9d6]={'objectID':_0x41d9d6,'objectType':_0x201397,'actions':[]}),_0x32b385[_0x416568][_0x41d9d6]['actions'][_0x4732a4(0x2d9)](..._0x4fde50),_0x32b385;},{}),_0x3888b2=[];for(const _0x252cc2 in _0x30b2ca)for(const _0x4d13ff in _0x30b2ca[_0x252cc2]){const {actions:_0x27cc86,objectType:_0x58ea33}=_0x30b2ca[_0x252cc2][_0x4d13ff],_0x395363=[...new Set(_0x27cc86)];_0x3888b2[_0x4f2dde(0x2d9)]({'unitID':_0x252cc2,'objectID':_0x4d13ff,'objectType':_0x58ea33,'actions':_0x395363});}return new _0x53915c(_0x4f2dde(0x1b0),_0x5f36b1,{'headers':_0x220a76[_0x4f2dde(0xa7)],'withCredentials':_0x220a76[_0x4f2dde(0xf2)],'responseType':_0x220a76[_0x4f2dde(0x2e8)],'body':{'requests':_0x3888b2}});}},{'distributeResult'(_0x3325a5,_0x5683ec){var _0x52b2d1=_0x50b969;const {objectActions:_0x6822fc}=_0x3325a5;return _0x5683ec[_0x52b2d1(0x26a)](_0x4e7b79=>{var _0x3dfbfd=_0x52b2d1;const {unitID:_0xc3cb36,objectID:_0x4bb6d9,actions:_0x1f5c37}=_0x4e7b79,_0x500df4=_0x6822fc[_0x3dfbfd(0x2dc)](_0x2887a9=>_0x2887a9['unitID']===_0xc3cb36&&_0x2887a9[_0x3dfbfd(0x10c)]===_0x4bb6d9),_0x3d5dc0=_0x1f5c37[_0x3dfbfd(0x26a)](_0x5c846d=>_0x500df4==null?void 0x0:_0x500df4[_0x3dfbfd(0x2a8)]['find'](_0x2c614c=>_0x2c614c[_0x3dfbfd(0x330)]===_0x5c846d))[_0x3dfbfd(0x28b)](_0x2e4f29=>!!_0x2e4f29);return{'config':_0x4e7b79,'result':{'actions':_0x3d5dc0,'error':_0x3325a5[_0x3dfbfd(0x3a5)]}};});}})}));}['_getAPIPrefixPath'](){var _0x4c836e=_0x2441f9,_0x102dac;const _0x48b0f3=this['_configService'][_0x4c836e(0xb4)](K);return(_0x102dac=_0x48b0f3==null?void 0x0:_0x48b0f3[_0x4c836e(0x2c3)])!=null?_0x102dac:cn;}async[_0x2441f9(0x32e)](_0x26f418){var _0x9dc578=_0x2441f9;const _0x3f9a52=this['_getAPIPrefixPath']()+'/'+_0x26f418[_0x9dc578(0x29c)]+_0x9dc578(0x1e3);return(await this[_0x9dc578(0x1d7)][_0x9dc578(0x28a)](_0x3f9a52,{'body':_0x26f418}))['body'][_0x9dc578(0x10c)]||'';}async[_0x2441f9(0x142)](_0xe99322){var _0x214291=_0x2441f9;const _0x420fa1=this[_0x214291(0x28d)]()+_0x214291(0x1ab);return(await this[_0x214291(0x1d7)][_0x214291(0x28a)](_0x420fa1,{'body':_0xe99322}))[_0x214291(0x38b)][_0x214291(0x3c9)];}async[_0x2441f9(0x312)](_0xcb81b4){var _0x293b4b=_0x2441f9,_0x14e9d3,_0x259c48;const _0x441f55=this['_getAPIPrefixPath']()+'/'+_0xcb81b4['objectType']+'/object/'+_0xcb81b4['objectID'],_0x2412be=await this[_0x293b4b(0x1d7)][_0x293b4b(0x358)](_0x441f55,{'body':_0xcb81b4});if(((_0x259c48=(_0x14e9d3=_0x2412be==null?void 0x0:_0x2412be[_0x293b4b(0x38b)])==null?void 0x0:_0x14e9d3[_0x293b4b(0x3a5)])==null?void 0x0:_0x259c48[_0x293b4b(0x22a)])!==0x1)throw new Error(_0x293b4b(0x21e));}async[_0x2441f9(0x14e)](_0x5d1c34){var _0x3d4618=_0x2441f9;const _0x3cd9cb=this[_0x3d4618(0x28d)]()+'/'+_0x5d1c34['objectType']+_0x3d4618(0x345)+_0x5d1c34[_0x3d4618(0x10c)]+_0x3d4618(0x1fb);return(await this[_0x3d4618(0x1d7)][_0x3d4618(0x28a)](_0x3cd9cb,{'body':_0x5d1c34}))[_0x3d4618(0x38b)][_0x3d4618(0x2a8)];}async['batchAllowed'](_0x41e170){var _0xa81606=_0x2441f9;const _0x2656d3=this[_0xa81606(0x28d)]()+_0xa81606(0x3ba);return(await this[_0xa81606(0x1d7)][_0xa81606(0x28a)](_0x2656d3,{'body':{'requests':_0x41e170}}))[_0xa81606(0x38b)][_0xa81606(0xcf)];}async[_0x2441f9(0x314)](_0x4e03cc){var _0x26bf82=_0x2441f9;const _0x34171c=this[_0x26bf82(0x28d)]()+'/'+_0x4e03cc[_0x26bf82(0x29c)]+_0x26bf82(0x280),_0x5d0cf3=await this[_0x26bf82(0x1d7)][_0x26bf82(0x28a)](_0x34171c,{'body':_0x4e03cc});return{'roles':_0x5d0cf3['body'][_0x26bf82(0x119)],'actions':_0x5d0cf3['body'][_0x26bf82(0x2a8)]};}async[_0x2441f9(0xd8)](_0x2b451e){var _0x2516d8=_0x2441f9;const _0x45cc29=this[_0x2516d8(0x28d)]()+_0x2516d8(0x94);await this['_HTTPService'][_0x2516d8(0x307)](_0x45cc29,{'params':{'collaboratorID':_0x2b451e[_0x2516d8(0xc4)],'objectID':_0x2b451e[_0x2516d8(0x10c)],'unitID':_0x2b451e[_0x2516d8(0x39c)]}});}async[_0x2441f9(0x395)](_0x408c61){var _0x2ee508=_0x2441f9;const _0x18e8d3=this[_0x2ee508(0x28d)]()+'/collaborator';await this[_0x2ee508(0x1d7)][_0x2ee508(0x30b)](_0x18e8d3,{'body':_0x408c61});}async[_0x2441f9(0x2d6)](_0x5c06fe){var _0x53e3a5=_0x2441f9;const _0x3fa707=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x53e3a5(0x1d7)]['post'](_0x3fa707,{'body':_0x5c06fe});}async['listCollaborators'](_0x2cedf7){var _0x4c6197=_0x2441f9;const _0x4e44af=this[_0x4c6197(0x28d)]()+_0x4c6197(0x94);return(await this[_0x4c6197(0x1d7)][_0x4c6197(0x222)](_0x4e44af,{'params':{'objectID':_0x2cedf7[_0x4c6197(0x10c)],'unitID':_0x2cedf7['unitID']}}))[_0x4c6197(0x38b)][_0x4c6197(0x230)];}async[_0x2441f9(0x2ea)](_0x46b32c){var _0x48c5af=_0x2441f9;const _0x5aca56=this[_0x48c5af(0x28d)]()+'/collaborator';await this['_HTTPService']['put'](_0x5aca56,{'body':_0x46b32c});}};Tt=on([Yt(0x0,_0x52cfb7(_0xacb381)),Yt(0x1,_0x52cfb7(_0x328306))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0xc23dbe){var _0x32d541=_0x2441f9;return _0xc23dbe&&_0xc23dbe['__esModule']&&Object[_0x32d541(0x14b)][_0x32d541(0xa2)][_0x32d541(0x2db)](_0xc23dbe,_0x32d541(0x211))?_0xc23dbe[_0x32d541(0x211)]:_0xc23dbe;}var Ve={'exports':{}};function _n(_0x33a9da){var _0xccaec6=_0x2441f9;throw new Error(_0xccaec6(0x133)+_0x33a9da+_0xccaec6(0x2d0));}var Ge={'exports':{}},hn=Ge['exports'],Kt;function ie(){var _0x367b6d=_0x2441f9;return Kt||(Kt=0x1,function(_0x165cbc,_0x91bc7c){(function(_0x3121f0,_0x25f336){_0x165cbc['exports']=_0x25f336();}(hn,function(){var _0x52d544=_0x52d544||function(_0x538a62,_0x4e2a4d){var _0x3c6518=_0x3471,_0x2a0f0f;if(typeof window<'u'&&window[_0x3c6518(0x2c7)]&&(_0x2a0f0f=window[_0x3c6518(0x2c7)]),typeof self<'u'&&self[_0x3c6518(0x2c7)]&&(_0x2a0f0f=self[_0x3c6518(0x2c7)]),typeof globalThis<'u'&&globalThis[_0x3c6518(0x2c7)]&&(_0x2a0f0f=globalThis[_0x3c6518(0x2c7)]),!_0x2a0f0f&&typeof window<'u'&&window[_0x3c6518(0x170)]&&(_0x2a0f0f=window[_0x3c6518(0x170)]),!_0x2a0f0f&&typeof ft<'u'&&ft['crypto']&&(_0x2a0f0f=ft[_0x3c6518(0x2c7)]),!_0x2a0f0f&&typeof _n==_0x3c6518(0x22b))try{_0x2a0f0f=require('crypto');}catch{}var _0x3f0a4b=function(){var _0x1bb09f=_0x3c6518;if(_0x2a0f0f){if(typeof _0x2a0f0f[_0x1bb09f(0x2ee)]==_0x1bb09f(0x22b))try{return _0x2a0f0f[_0x1bb09f(0x2ee)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2a0f0f[_0x1bb09f(0x131)]=='function')try{return _0x2a0f0f[_0x1bb09f(0x131)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x1bb09f(0x349));},_0x3a221f=Object[_0x3c6518(0x32e)]||(function(){function _0x23ed93(){}return function(_0x5afbef){var _0x43ea73=_0x3471,_0x42e4c;return _0x23ed93['prototype']=_0x5afbef,_0x42e4c=new _0x23ed93(),_0x23ed93[_0x43ea73(0x14b)]=null,_0x42e4c;};}()),_0x46591c={},_0x3ac972=_0x46591c[_0x3c6518(0x28e)]={},_0x3e3cf7=_0x3ac972[_0x3c6518(0x240)]=(function(){return{'extend':function(_0x599a4d){var _0x6f32d7=_0x3471,_0x4ef492=_0x3a221f(this);return _0x599a4d&&_0x4ef492['mixIn'](_0x599a4d),(!_0x4ef492[_0x6f32d7(0xa2)](_0x6f32d7(0x260))||this[_0x6f32d7(0x260)]===_0x4ef492[_0x6f32d7(0x260)])&&(_0x4ef492[_0x6f32d7(0x260)]=function(){var _0x422084=_0x6f32d7;_0x4ef492[_0x422084(0xa9)][_0x422084(0x260)][_0x422084(0x155)](this,arguments);}),_0x4ef492[_0x6f32d7(0x260)][_0x6f32d7(0x14b)]=_0x4ef492,_0x4ef492['$super']=this,_0x4ef492;},'create':function(){var _0x53d36d=_0x3471,_0x20663c=this['extend']();return _0x20663c[_0x53d36d(0x260)][_0x53d36d(0x155)](_0x20663c,arguments),_0x20663c;},'init':function(){},'mixIn':function(_0x13b6de){var _0x47520a=_0x3471;for(var _0x248fb5 in _0x13b6de)_0x13b6de[_0x47520a(0xa2)](_0x248fb5)&&(this[_0x248fb5]=_0x13b6de[_0x248fb5]);_0x13b6de['hasOwnProperty']('toString')&&(this[_0x47520a(0x25e)]=_0x13b6de[_0x47520a(0x25e)]);},'clone':function(){var _0x4f6b71=_0x3471;return this[_0x4f6b71(0x260)]['prototype'][_0x4f6b71(0x16c)](this);}};}()),_0x335bda=_0x3ac972[_0x3c6518(0x1ff)]=_0x3e3cf7['extend']({'init':function(_0x34e625,_0x447511){var _0x44062a=_0x3c6518;_0x34e625=this[_0x44062a(0x14a)]=_0x34e625||[],_0x447511!=_0x4e2a4d?this[_0x44062a(0x1fc)]=_0x447511:this[_0x44062a(0x1fc)]=_0x34e625[_0x44062a(0x158)]*0x4;},'toString':function(_0x24955b){var _0x58d0e5=_0x3c6518;return(_0x24955b||_0x20ffa8)[_0x58d0e5(0x35b)](this);},'concat':function(_0x345fdc){var _0x2a9505=_0x3c6518,_0x3d08ce=this[_0x2a9505(0x14a)],_0x452242=_0x345fdc[_0x2a9505(0x14a)],_0x3c5f87=this[_0x2a9505(0x1fc)],_0x5bd340=_0x345fdc[_0x2a9505(0x1fc)];if(this[_0x2a9505(0x2b7)](),_0x3c5f87%0x4)for(var _0xe11757=0x0;_0xe11757<_0x5bd340;_0xe11757++){var _0x1bd5c8=_0x452242[_0xe11757>>>0x2]>>>0x18-_0xe11757%0x4*0x8&0xff;_0x3d08ce[_0x3c5f87+_0xe11757>>>0x2]|=_0x1bd5c8<<0x18-(_0x3c5f87+_0xe11757)%0x4*0x8;}else{for(var _0x183c21=0x0;_0x183c21<_0x5bd340;_0x183c21+=0x4)_0x3d08ce[_0x3c5f87+_0x183c21>>>0x2]=_0x452242[_0x183c21>>>0x2];}return this[_0x2a9505(0x1fc)]+=_0x5bd340,this;},'clamp':function(){var _0x55c80c=_0x3c6518,_0x54ca31=this[_0x55c80c(0x14a)],_0x47508f=this[_0x55c80c(0x1fc)];_0x54ca31[_0x47508f>>>0x2]&=0xffffffff<<0x20-_0x47508f%0x4*0x8,_0x54ca31['length']=_0x538a62[_0x55c80c(0x1bb)](_0x47508f/0x4);},'clone':function(){var _0x599ea7=_0x3c6518,_0x1bc9c6=_0x3e3cf7[_0x599ea7(0x339)][_0x599ea7(0x2db)](this);return _0x1bc9c6[_0x599ea7(0x14a)]=this[_0x599ea7(0x14a)][_0x599ea7(0x1c0)](0x0),_0x1bc9c6;},'random':function(_0xce43e5){var _0x4b9afa=_0x3c6518;for(var _0x4e2711=[],_0x1786b2=0x0;_0x1786b2<_0xce43e5;_0x1786b2+=0x4)_0x4e2711[_0x4b9afa(0x2d9)](_0x3f0a4b());return new _0x335bda[(_0x4b9afa(0x260))](_0x4e2711,_0xce43e5);}}),_0x52c73a=_0x46591c[_0x3c6518(0x2d8)]={},_0x20ffa8=_0x52c73a[_0x3c6518(0x343)]={'stringify':function(_0x392960){var _0x349654=_0x3c6518;for(var _0x5d635a=_0x392960[_0x349654(0x14a)],_0x2c0017=_0x392960['sigBytes'],_0x42eae9=[],_0x1c654b=0x0;_0x1c654b<_0x2c0017;_0x1c654b++){var _0x1a5b60=_0x5d635a[_0x1c654b>>>0x2]>>>0x18-_0x1c654b%0x4*0x8&0xff;_0x42eae9[_0x349654(0x2d9)]((_0x1a5b60>>>0x4)['toString'](0x10)),_0x42eae9[_0x349654(0x2d9)]((_0x1a5b60&0xf)['toString'](0x10));}return _0x42eae9[_0x349654(0x353)]('');},'parse':function(_0x98a7d9){var _0x517338=_0x3c6518;for(var _0x21ef4f=_0x98a7d9[_0x517338(0x158)],_0x4e13e9=[],_0x53d199=0x0;_0x53d199<_0x21ef4f;_0x53d199+=0x2)_0x4e13e9[_0x53d199>>>0x3]|=parseInt(_0x98a7d9[_0x517338(0x124)](_0x53d199,0x2),0x10)<<0x18-_0x53d199%0x8*0x4;return new _0x335bda[(_0x517338(0x260))](_0x4e13e9,_0x21ef4f/0x2);}},_0x363bd8=_0x52c73a[_0x3c6518(0xd2)]={'stringify':function(_0x3b64ac){var _0x33895c=_0x3c6518;for(var _0x5a4785=_0x3b64ac['words'],_0x35e663=_0x3b64ac[_0x33895c(0x1fc)],_0x24d1e7=[],_0x181f2c=0x0;_0x181f2c<_0x35e663;_0x181f2c++){var _0x8c44aa=_0x5a4785[_0x181f2c>>>0x2]>>>0x18-_0x181f2c%0x4*0x8&0xff;_0x24d1e7[_0x33895c(0x2d9)](String[_0x33895c(0x12a)](_0x8c44aa));}return _0x24d1e7['join']('');},'parse':function(_0x259d38){var _0x2b2548=_0x3c6518;for(var _0xf4c705=_0x259d38[_0x2b2548(0x158)],_0x4bcba1=[],_0x414898=0x0;_0x414898<_0xf4c705;_0x414898++)_0x4bcba1[_0x414898>>>0x2]|=(_0x259d38['charCodeAt'](_0x414898)&0xff)<<0x18-_0x414898%0x4*0x8;return new _0x335bda[(_0x2b2548(0x260))](_0x4bcba1,_0xf4c705);}},_0x3e72c4=_0x52c73a[_0x3c6518(0x316)]={'stringify':function(_0x5f00da){var _0x46507e=_0x3c6518;try{return decodeURIComponent(escape(_0x363bd8['stringify'](_0x5f00da)));}catch{throw new Error(_0x46507e(0x168));}},'parse':function(_0x5c1523){var _0x4c59ee=_0x3c6518;return _0x363bd8[_0x4c59ee(0x2f3)](unescape(encodeURIComponent(_0x5c1523)));}},_0x4793cc=_0x3ac972['BufferedBlockAlgorithm']=_0x3e3cf7[_0x3c6518(0x16c)]({'reset':function(){var _0x1e7e91=_0x3c6518;this['_data']=new _0x335bda[(_0x1e7e91(0x260))](),this[_0x1e7e91(0x14c)]=0x0;},'_append':function(_0x24245f){var _0x17bfa5=_0x3c6518;typeof _0x24245f=='string'&&(_0x24245f=_0x3e72c4[_0x17bfa5(0x2f3)](_0x24245f)),this['_data'][_0x17bfa5(0x1ca)](_0x24245f),this[_0x17bfa5(0x14c)]+=_0x24245f['sigBytes'];},'_process':function(_0x112537){var _0x58d77e=_0x3c6518,_0x334b80,_0x5c2eeb=this[_0x58d77e(0x127)],_0x4980ef=_0x5c2eeb[_0x58d77e(0x14a)],_0xd847d6=_0x5c2eeb[_0x58d77e(0x1fc)],_0x19f674=this[_0x58d77e(0x326)],_0x45d0eb=_0x19f674*0x4,_0x1907e0=_0xd847d6/_0x45d0eb;_0x112537?_0x1907e0=_0x538a62[_0x58d77e(0x1bb)](_0x1907e0):_0x1907e0=_0x538a62[_0x58d77e(0x1e6)]((_0x1907e0|0x0)-this[_0x58d77e(0xd6)],0x0);var _0xa8aeb6=_0x1907e0*_0x19f674,_0x31c21c=_0x538a62[_0x58d77e(0x164)](_0xa8aeb6*0x4,_0xd847d6);if(_0xa8aeb6){for(var _0x1f6ec8=0x0;_0x1f6ec8<_0xa8aeb6;_0x1f6ec8+=_0x19f674)this[_0x58d77e(0x3b7)](_0x4980ef,_0x1f6ec8);_0x334b80=_0x4980ef[_0x58d77e(0x3a6)](0x0,_0xa8aeb6),_0x5c2eeb[_0x58d77e(0x1fc)]-=_0x31c21c;}return new _0x335bda[(_0x58d77e(0x260))](_0x334b80,_0x31c21c);},'clone':function(){var _0x3d40a1=_0x3c6518,_0x12b7cd=_0x3e3cf7[_0x3d40a1(0x339)]['call'](this);return _0x12b7cd[_0x3d40a1(0x127)]=this[_0x3d40a1(0x127)][_0x3d40a1(0x339)](),_0x12b7cd;},'_minBufferSize':0x0});_0x3ac972['Hasher']=_0x4793cc[_0x3c6518(0x16c)]({'cfg':_0x3e3cf7[_0x3c6518(0x16c)](),'init':function(_0x1cbef9){var _0xe942a6=_0x3c6518;this[_0xe942a6(0xc1)]=this['cfg'][_0xe942a6(0x16c)](_0x1cbef9),this[_0xe942a6(0x325)]();},'reset':function(){var _0x14e9e7=_0x3c6518;_0x4793cc[_0x14e9e7(0x325)][_0x14e9e7(0x2db)](this),this[_0x14e9e7(0x2e3)]();},'update':function(_0x56f7a3){var _0x563fa1=_0x3c6518;return this[_0x563fa1(0x13e)](_0x56f7a3),this[_0x563fa1(0x37c)](),this;},'finalize':function(_0x49ee9b){var _0x5e85fb=_0x3c6518;_0x49ee9b&&this[_0x5e85fb(0x13e)](_0x49ee9b);var _0x4aab60=this[_0x5e85fb(0x3c8)]();return _0x4aab60;},'blockSize':0x10,'_createHelper':function(_0x15214b){return function(_0x26e2af,_0x5ee99a){var _0x508008=_0x3471;return new _0x15214b[(_0x508008(0x260))](_0x5ee99a)[_0x508008(0x37b)](_0x26e2af);};},'_createHmacHelper':function(_0x36f1d3){return function(_0x6f323f,_0x21e9eb){var _0x5a40af=_0x3471;return new _0x1c35b3[(_0x5a40af(0x3af))][(_0x5a40af(0x260))](_0x36f1d3,_0x21e9eb)['finalize'](_0x6f323f);};}});var _0x1c35b3=_0x46591c[_0x3c6518(0x305)]={};return _0x46591c;}(Math);return _0x52d544;}));}(Ge)),Ge[_0x367b6d(0x382)];}var We={'exports':{}},ln=We[_0x2441f9(0x382)],qt;function Ni(){var _0x2ffd2c=_0x2441f9;return qt||(qt=0x1,function(_0x281957,_0x50e914){(function(_0x77f40a,_0x552ce7){_0x281957['exports']=_0x552ce7(ie());}(ln,function(_0x1b9cb0){var _0x246907=_0x3471;return(function(){var _0x4d0dc5=_0x3471,_0x1b896d=_0x1b9cb0,_0x1e6755=_0x1b896d[_0x4d0dc5(0x28e)],_0x5d07a1=_0x1e6755[_0x4d0dc5(0x1ff)],_0x349cdb=_0x1b896d['enc'];_0x349cdb[_0x4d0dc5(0x19b)]={'stringify':function(_0x5a83bb){var _0x52a4ae=_0x4d0dc5,_0x115612=_0x5a83bb[_0x52a4ae(0x14a)],_0x2362c4=_0x5a83bb['sigBytes'],_0x1b7a60=this[_0x52a4ae(0x255)];_0x5a83bb[_0x52a4ae(0x2b7)]();for(var _0x5906de=[],_0x4a21f4=0x0;_0x4a21f4<_0x2362c4;_0x4a21f4+=0x3)for(var _0x2a927a=_0x115612[_0x4a21f4>>>0x2]>>>0x18-_0x4a21f4%0x4*0x8&0xff,_0x33bf5e=_0x115612[_0x4a21f4+0x1>>>0x2]>>>0x18-(_0x4a21f4+0x1)%0x4*0x8&0xff,_0x19c985=_0x115612[_0x4a21f4+0x2>>>0x2]>>>0x18-(_0x4a21f4+0x2)%0x4*0x8&0xff,_0x1c7d8f=_0x2a927a<<0x10|_0x33bf5e<<0x8|_0x19c985,_0x34e9a8=0x0;_0x34e9a8<0x4&&_0x4a21f4+_0x34e9a8*0.75<_0x2362c4;_0x34e9a8++)_0x5906de[_0x52a4ae(0x2d9)](_0x1b7a60[_0x52a4ae(0x3bd)](_0x1c7d8f>>>0x6*(0x3-_0x34e9a8)&0x3f));var _0x27a278=_0x1b7a60[_0x52a4ae(0x3bd)](0x40);if(_0x27a278){for(;_0x5906de[_0x52a4ae(0x158)]%0x4;)_0x5906de[_0x52a4ae(0x2d9)](_0x27a278);}return _0x5906de[_0x52a4ae(0x353)]('');},'parse':function(_0x5e2189){var _0x1d07e5=_0x4d0dc5,_0x495dd4=_0x5e2189[_0x1d07e5(0x158)],_0x42a8d7=this[_0x1d07e5(0x255)],_0x55c953=this[_0x1d07e5(0x341)];if(!_0x55c953){_0x55c953=this[_0x1d07e5(0x341)]=[];for(var _0x5bf8d4=0x0;_0x5bf8d4<_0x42a8d7[_0x1d07e5(0x158)];_0x5bf8d4++)_0x55c953[_0x42a8d7[_0x1d07e5(0x237)](_0x5bf8d4)]=_0x5bf8d4;}var _0x3d90f6=_0x42a8d7[_0x1d07e5(0x3bd)](0x40);if(_0x3d90f6){var _0x1ba8ca=_0x5e2189[_0x1d07e5(0x2c6)](_0x3d90f6);_0x1ba8ca!==-0x1&&(_0x495dd4=_0x1ba8ca);}return _0x9e4337(_0x5e2189,_0x495dd4,_0x55c953);},'_map':_0x4d0dc5(0x3bf)};function _0x9e4337(_0x6f21b4,_0x2150de,_0x96eef2){var _0x2796d7=_0x4d0dc5;for(var _0x542bbc=[],_0xcbd07a=0x0,_0x33afec=0x0;_0x33afec<_0x2150de;_0x33afec++)if(_0x33afec%0x4){var _0xe7094=_0x96eef2[_0x6f21b4[_0x2796d7(0x237)](_0x33afec-0x1)]<<_0x33afec%0x4*0x2,_0x26dda5=_0x96eef2[_0x6f21b4['charCodeAt'](_0x33afec)]>>>0x6-_0x33afec%0x4*0x2,_0x45e4e9=_0xe7094|_0x26dda5;_0x542bbc[_0xcbd07a>>>0x2]|=_0x45e4e9<<0x18-_0xcbd07a%0x4*0x8,_0xcbd07a++;}return _0x5d07a1['create'](_0x542bbc,_0xcbd07a);}}()),_0x1b9cb0[_0x246907(0x2d8)]['Base64'];}));}(We)),We[_0x2ffd2c(0x382)];}var Ye={'exports':{}},un=Ye[_0x2441f9(0x382)],zt;function dn(){var _0x465466=_0x2441f9;return zt||(zt=0x1,function(_0x2b6e3c,_0x3c5b9e){(function(_0x35baf9,_0x41da39){var _0x1be58d=_0x3471;_0x2b6e3c[_0x1be58d(0x382)]=_0x41da39(ie());}(un,function(_0x59d59b){var _0x52dad5=_0x3471;return function(_0x6d7400){var _0x272da0=_0x3471,_0x1ed418=_0x59d59b,_0x4da261=_0x1ed418[_0x272da0(0x28e)],_0x39250e=_0x4da261[_0x272da0(0x1ff)],_0x568b22=_0x4da261[_0x272da0(0x98)],_0x231db3=_0x1ed418['algo'],_0x486cfc=[];(function(){var _0x216eec=_0x272da0;for(var _0x5cf04d=0x0;_0x5cf04d<0x40;_0x5cf04d++)_0x486cfc[_0x5cf04d]=_0x6d7400[_0x216eec(0x27b)](_0x6d7400['sin'](_0x5cf04d+0x1))*0x100000000|0x0;}());var _0x4d6dcb=_0x231db3[_0x272da0(0x304)]=_0x568b22[_0x272da0(0x16c)]({'_doReset':function(){var _0x30d447=_0x272da0;this[_0x30d447(0x2ac)]=new _0x39250e[(_0x30d447(0x260))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x404f37,_0x577e3b){var _0x3465fa=_0x272da0;for(var _0x10023c=0x0;_0x10023c<0x10;_0x10023c++){var _0x5704da=_0x577e3b+_0x10023c,_0x4b3d0d=_0x404f37[_0x5704da];_0x404f37[_0x5704da]=(_0x4b3d0d<<0x8|_0x4b3d0d>>>0x18)&0xff00ff|(_0x4b3d0d<<0x18|_0x4b3d0d>>>0x8)&0xff00ff00;}var _0x5481ab=this[_0x3465fa(0x2ac)][_0x3465fa(0x14a)],_0xaefaa7=_0x404f37[_0x577e3b+0x0],_0x2f94e9=_0x404f37[_0x577e3b+0x1],_0x46d027=_0x404f37[_0x577e3b+0x2],_0xfb1118=_0x404f37[_0x577e3b+0x3],_0x5d33b8=_0x404f37[_0x577e3b+0x4],_0x3d399f=_0x404f37[_0x577e3b+0x5],_0x5e944d=_0x404f37[_0x577e3b+0x6],_0x2c2c59=_0x404f37[_0x577e3b+0x7],_0x2763de=_0x404f37[_0x577e3b+0x8],_0x18d0b5=_0x404f37[_0x577e3b+0x9],_0x4b42d8=_0x404f37[_0x577e3b+0xa],_0x53dab3=_0x404f37[_0x577e3b+0xb],_0x3c32cc=_0x404f37[_0x577e3b+0xc],_0x15ced8=_0x404f37[_0x577e3b+0xd],_0x2d31b2=_0x404f37[_0x577e3b+0xe],_0xcf6d2c=_0x404f37[_0x577e3b+0xf],_0x2b381b=_0x5481ab[0x0],_0x551cd2=_0x5481ab[0x1],_0x5a04eb=_0x5481ab[0x2],_0x538afc=_0x5481ab[0x3];_0x2b381b=_0x2b2f82(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0xaefaa7,0x7,_0x486cfc[0x0]),_0x538afc=_0x2b2f82(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x2f94e9,0xc,_0x486cfc[0x1]),_0x5a04eb=_0x2b2f82(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x46d027,0x11,_0x486cfc[0x2]),_0x551cd2=_0x2b2f82(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0xfb1118,0x16,_0x486cfc[0x3]),_0x2b381b=_0x2b2f82(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x5d33b8,0x7,_0x486cfc[0x4]),_0x538afc=_0x2b2f82(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x3d399f,0xc,_0x486cfc[0x5]),_0x5a04eb=_0x2b2f82(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x5e944d,0x11,_0x486cfc[0x6]),_0x551cd2=_0x2b2f82(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x2c2c59,0x16,_0x486cfc[0x7]),_0x2b381b=_0x2b2f82(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x2763de,0x7,_0x486cfc[0x8]),_0x538afc=_0x2b2f82(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x18d0b5,0xc,_0x486cfc[0x9]),_0x5a04eb=_0x2b2f82(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x4b42d8,0x11,_0x486cfc[0xa]),_0x551cd2=_0x2b2f82(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x53dab3,0x16,_0x486cfc[0xb]),_0x2b381b=_0x2b2f82(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x3c32cc,0x7,_0x486cfc[0xc]),_0x538afc=_0x2b2f82(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x15ced8,0xc,_0x486cfc[0xd]),_0x5a04eb=_0x2b2f82(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x2d31b2,0x11,_0x486cfc[0xe]),_0x551cd2=_0x2b2f82(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0xcf6d2c,0x16,_0x486cfc[0xf]),_0x2b381b=_0x59ca9d(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x2f94e9,0x5,_0x486cfc[0x10]),_0x538afc=_0x59ca9d(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x5e944d,0x9,_0x486cfc[0x11]),_0x5a04eb=_0x59ca9d(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x53dab3,0xe,_0x486cfc[0x12]),_0x551cd2=_0x59ca9d(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0xaefaa7,0x14,_0x486cfc[0x13]),_0x2b381b=_0x59ca9d(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x3d399f,0x5,_0x486cfc[0x14]),_0x538afc=_0x59ca9d(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x4b42d8,0x9,_0x486cfc[0x15]),_0x5a04eb=_0x59ca9d(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0xcf6d2c,0xe,_0x486cfc[0x16]),_0x551cd2=_0x59ca9d(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x5d33b8,0x14,_0x486cfc[0x17]),_0x2b381b=_0x59ca9d(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x18d0b5,0x5,_0x486cfc[0x18]),_0x538afc=_0x59ca9d(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x2d31b2,0x9,_0x486cfc[0x19]),_0x5a04eb=_0x59ca9d(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0xfb1118,0xe,_0x486cfc[0x1a]),_0x551cd2=_0x59ca9d(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x2763de,0x14,_0x486cfc[0x1b]),_0x2b381b=_0x59ca9d(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x15ced8,0x5,_0x486cfc[0x1c]),_0x538afc=_0x59ca9d(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x46d027,0x9,_0x486cfc[0x1d]),_0x5a04eb=_0x59ca9d(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x2c2c59,0xe,_0x486cfc[0x1e]),_0x551cd2=_0x59ca9d(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x3c32cc,0x14,_0x486cfc[0x1f]),_0x2b381b=_0x3b03ef(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x3d399f,0x4,_0x486cfc[0x20]),_0x538afc=_0x3b03ef(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x2763de,0xb,_0x486cfc[0x21]),_0x5a04eb=_0x3b03ef(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x53dab3,0x10,_0x486cfc[0x22]),_0x551cd2=_0x3b03ef(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x2d31b2,0x17,_0x486cfc[0x23]),_0x2b381b=_0x3b03ef(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x2f94e9,0x4,_0x486cfc[0x24]),_0x538afc=_0x3b03ef(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x5d33b8,0xb,_0x486cfc[0x25]),_0x5a04eb=_0x3b03ef(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x2c2c59,0x10,_0x486cfc[0x26]),_0x551cd2=_0x3b03ef(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x4b42d8,0x17,_0x486cfc[0x27]),_0x2b381b=_0x3b03ef(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x15ced8,0x4,_0x486cfc[0x28]),_0x538afc=_0x3b03ef(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0xaefaa7,0xb,_0x486cfc[0x29]),_0x5a04eb=_0x3b03ef(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0xfb1118,0x10,_0x486cfc[0x2a]),_0x551cd2=_0x3b03ef(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x5e944d,0x17,_0x486cfc[0x2b]),_0x2b381b=_0x3b03ef(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x18d0b5,0x4,_0x486cfc[0x2c]),_0x538afc=_0x3b03ef(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x3c32cc,0xb,_0x486cfc[0x2d]),_0x5a04eb=_0x3b03ef(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0xcf6d2c,0x10,_0x486cfc[0x2e]),_0x551cd2=_0x3b03ef(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x46d027,0x17,_0x486cfc[0x2f]),_0x2b381b=_0x1e19c9(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0xaefaa7,0x6,_0x486cfc[0x30]),_0x538afc=_0x1e19c9(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x2c2c59,0xa,_0x486cfc[0x31]),_0x5a04eb=_0x1e19c9(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x2d31b2,0xf,_0x486cfc[0x32]),_0x551cd2=_0x1e19c9(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x3d399f,0x15,_0x486cfc[0x33]),_0x2b381b=_0x1e19c9(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x3c32cc,0x6,_0x486cfc[0x34]),_0x538afc=_0x1e19c9(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0xfb1118,0xa,_0x486cfc[0x35]),_0x5a04eb=_0x1e19c9(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x4b42d8,0xf,_0x486cfc[0x36]),_0x551cd2=_0x1e19c9(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x2f94e9,0x15,_0x486cfc[0x37]),_0x2b381b=_0x1e19c9(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x2763de,0x6,_0x486cfc[0x38]),_0x538afc=_0x1e19c9(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0xcf6d2c,0xa,_0x486cfc[0x39]),_0x5a04eb=_0x1e19c9(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x5e944d,0xf,_0x486cfc[0x3a]),_0x551cd2=_0x1e19c9(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x15ced8,0x15,_0x486cfc[0x3b]),_0x2b381b=_0x1e19c9(_0x2b381b,_0x551cd2,_0x5a04eb,_0x538afc,_0x5d33b8,0x6,_0x486cfc[0x3c]),_0x538afc=_0x1e19c9(_0x538afc,_0x2b381b,_0x551cd2,_0x5a04eb,_0x53dab3,0xa,_0x486cfc[0x3d]),_0x5a04eb=_0x1e19c9(_0x5a04eb,_0x538afc,_0x2b381b,_0x551cd2,_0x46d027,0xf,_0x486cfc[0x3e]),_0x551cd2=_0x1e19c9(_0x551cd2,_0x5a04eb,_0x538afc,_0x2b381b,_0x18d0b5,0x15,_0x486cfc[0x3f]),_0x5481ab[0x0]=_0x5481ab[0x0]+_0x2b381b|0x0,_0x5481ab[0x1]=_0x5481ab[0x1]+_0x551cd2|0x0,_0x5481ab[0x2]=_0x5481ab[0x2]+_0x5a04eb|0x0,_0x5481ab[0x3]=_0x5481ab[0x3]+_0x538afc|0x0;},'_doFinalize':function(){var _0x1e70e6=_0x272da0,_0x338753=this['_data'],_0x320a51=_0x338753['words'],_0x120f61=this[_0x1e70e6(0x14c)]*0x8,_0x53c3f4=_0x338753[_0x1e70e6(0x1fc)]*0x8;_0x320a51[_0x53c3f4>>>0x5]|=0x80<<0x18-_0x53c3f4%0x20;var _0x1f3084=_0x6d7400[_0x1e70e6(0x17f)](_0x120f61/0x100000000),_0xc21da6=_0x120f61;_0x320a51[(_0x53c3f4+0x40>>>0x9<<0x4)+0xf]=(_0x1f3084<<0x8|_0x1f3084>>>0x18)&0xff00ff|(_0x1f3084<<0x18|_0x1f3084>>>0x8)&0xff00ff00,_0x320a51[(_0x53c3f4+0x40>>>0x9<<0x4)+0xe]=(_0xc21da6<<0x8|_0xc21da6>>>0x18)&0xff00ff|(_0xc21da6<<0x18|_0xc21da6>>>0x8)&0xff00ff00,_0x338753['sigBytes']=(_0x320a51[_0x1e70e6(0x158)]+0x1)*0x4,this[_0x1e70e6(0x37c)]();for(var _0x3fcec7=this[_0x1e70e6(0x2ac)],_0x1a13a2=_0x3fcec7['words'],_0xc4f15f=0x0;_0xc4f15f<0x4;_0xc4f15f++){var _0x39faa7=_0x1a13a2[_0xc4f15f];_0x1a13a2[_0xc4f15f]=(_0x39faa7<<0x8|_0x39faa7>>>0x18)&0xff00ff|(_0x39faa7<<0x18|_0x39faa7>>>0x8)&0xff00ff00;}return _0x3fcec7;},'clone':function(){var _0x258496=_0x272da0,_0x47c876=_0x568b22[_0x258496(0x339)][_0x258496(0x2db)](this);return _0x47c876['_hash']=this[_0x258496(0x2ac)][_0x258496(0x339)](),_0x47c876;}});function _0x2b2f82(_0x4bc289,_0x575105,_0x4fcabf,_0x2f2145,_0x23d997,_0x375c09,_0x14f118){var _0x2d63d1=_0x4bc289+(_0x575105&_0x4fcabf|~_0x575105&_0x2f2145)+_0x23d997+_0x14f118;return(_0x2d63d1<<_0x375c09|_0x2d63d1>>>0x20-_0x375c09)+_0x575105;}function _0x59ca9d(_0xf70b89,_0xe02ee5,_0x57212a,_0x3fe6a7,_0x2ccab5,_0x3978cd,_0x171888){var _0x449ee3=_0xf70b89+(_0xe02ee5&_0x3fe6a7|_0x57212a&~_0x3fe6a7)+_0x2ccab5+_0x171888;return(_0x449ee3<<_0x3978cd|_0x449ee3>>>0x20-_0x3978cd)+_0xe02ee5;}function _0x3b03ef(_0x3d3788,_0x5d0bf1,_0x49591c,_0x8af14,_0x32a330,_0x34cd33,_0x5f1db9){var _0x51eac5=_0x3d3788+(_0x5d0bf1^_0x49591c^_0x8af14)+_0x32a330+_0x5f1db9;return(_0x51eac5<<_0x34cd33|_0x51eac5>>>0x20-_0x34cd33)+_0x5d0bf1;}function _0x1e19c9(_0x358a5a,_0x2c83be,_0x717f2c,_0x13da27,_0x5af360,_0x32c032,_0x5877c8){var _0x110157=_0x358a5a+(_0x717f2c^(_0x2c83be|~_0x13da27))+_0x5af360+_0x5877c8;return(_0x110157<<_0x32c032|_0x110157>>>0x20-_0x32c032)+_0x2c83be;}_0x1ed418[_0x272da0(0x304)]=_0x568b22[_0x272da0(0x195)](_0x4d6dcb),_0x1ed418['HmacMD5']=_0x568b22[_0x272da0(0x207)](_0x4d6dcb);}(Math),_0x59d59b[_0x52dad5(0x304)];}));}(Ye)),Ye[_0x465466(0x382)];}var Ke={'exports':{}},qe={'exports':{}},fn=qe[_0x2441f9(0x382)],Xt;function vn(){return Xt||(Xt=0x1,function(_0x4b6ad3,_0x28802e){(function(_0x15e63e,_0x16c3a9){_0x4b6ad3['exports']=_0x16c3a9(ie());}(fn,function(_0x393603){return(function(){var _0x9c2d1f=_0x3471,_0x175953=_0x393603,_0x6597bc=_0x175953[_0x9c2d1f(0x28e)],_0x27a331=_0x6597bc[_0x9c2d1f(0x1ff)],_0x2c1394=_0x6597bc['Hasher'],_0x1d5b71=_0x175953['algo'],_0x197a1f=[],_0x2d73c2=_0x1d5b71['SHA1']=_0x2c1394[_0x9c2d1f(0x16c)]({'_doReset':function(){var _0x2efab5=_0x9c2d1f;this[_0x2efab5(0x2ac)]=new _0x27a331[(_0x2efab5(0x260))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x514ee9,_0x893f52){var _0x508d58=_0x9c2d1f;for(var _0x2f7446=this['_hash'][_0x508d58(0x14a)],_0x1ad1a1=_0x2f7446[0x0],_0x3d9f7d=_0x2f7446[0x1],_0x4fda2c=_0x2f7446[0x2],_0x2dc36d=_0x2f7446[0x3],_0x2bf206=_0x2f7446[0x4],_0x5da876=0x0;_0x5da876<0x50;_0x5da876++){if(_0x5da876<0x10)_0x197a1f[_0x5da876]=_0x514ee9[_0x893f52+_0x5da876]|0x0;else{var _0x26e178=_0x197a1f[_0x5da876-0x3]^_0x197a1f[_0x5da876-0x8]^_0x197a1f[_0x5da876-0xe]^_0x197a1f[_0x5da876-0x10];_0x197a1f[_0x5da876]=_0x26e178<<0x1|_0x26e178>>>0x1f;}var _0x3ea9f1=(_0x1ad1a1<<0x5|_0x1ad1a1>>>0x1b)+_0x2bf206+_0x197a1f[_0x5da876];_0x5da876<0x14?_0x3ea9f1+=(_0x3d9f7d&_0x4fda2c|~_0x3d9f7d&_0x2dc36d)+0x5a827999:_0x5da876<0x28?_0x3ea9f1+=(_0x3d9f7d^_0x4fda2c^_0x2dc36d)+0x6ed9eba1:_0x5da876<0x3c?_0x3ea9f1+=(_0x3d9f7d&_0x4fda2c|_0x3d9f7d&_0x2dc36d|_0x4fda2c&_0x2dc36d)-0x70e44324:_0x3ea9f1+=(_0x3d9f7d^_0x4fda2c^_0x2dc36d)-0x359d3e2a,_0x2bf206=_0x2dc36d,_0x2dc36d=_0x4fda2c,_0x4fda2c=_0x3d9f7d<<0x1e|_0x3d9f7d>>>0x2,_0x3d9f7d=_0x1ad1a1,_0x1ad1a1=_0x3ea9f1;}_0x2f7446[0x0]=_0x2f7446[0x0]+_0x1ad1a1|0x0,_0x2f7446[0x1]=_0x2f7446[0x1]+_0x3d9f7d|0x0,_0x2f7446[0x2]=_0x2f7446[0x2]+_0x4fda2c|0x0,_0x2f7446[0x3]=_0x2f7446[0x3]+_0x2dc36d|0x0,_0x2f7446[0x4]=_0x2f7446[0x4]+_0x2bf206|0x0;},'_doFinalize':function(){var _0xd2cebb=_0x9c2d1f,_0xd21581=this[_0xd2cebb(0x127)],_0x5bb2fa=_0xd21581['words'],_0x28b549=this[_0xd2cebb(0x14c)]*0x8,_0x578068=_0xd21581[_0xd2cebb(0x1fc)]*0x8;return _0x5bb2fa[_0x578068>>>0x5]|=0x80<<0x18-_0x578068%0x20,_0x5bb2fa[(_0x578068+0x40>>>0x9<<0x4)+0xe]=Math[_0xd2cebb(0x17f)](_0x28b549/0x100000000),_0x5bb2fa[(_0x578068+0x40>>>0x9<<0x4)+0xf]=_0x28b549,_0xd21581[_0xd2cebb(0x1fc)]=_0x5bb2fa[_0xd2cebb(0x158)]*0x4,this['_process'](),this[_0xd2cebb(0x2ac)];},'clone':function(){var _0x4c26ce=_0x9c2d1f,_0x59aedb=_0x2c1394['clone'][_0x4c26ce(0x2db)](this);return _0x59aedb[_0x4c26ce(0x2ac)]=this[_0x4c26ce(0x2ac)]['clone'](),_0x59aedb;}});_0x175953[_0x9c2d1f(0x33b)]=_0x2c1394[_0x9c2d1f(0x195)](_0x2d73c2),_0x175953[_0x9c2d1f(0x173)]=_0x2c1394[_0x9c2d1f(0x207)](_0x2d73c2);}()),_0x393603['SHA1'];}));}(qe)),qe['exports'];}var ze={'exports':{}},En=ze['exports'],Jt;function pn(){var _0x5bfe2c=_0x2441f9;return Jt||(Jt=0x1,function(_0x585a5e,_0x5c6f28){(function(_0x3c0c8b,_0x196379){var _0x57c140=_0x3471;_0x585a5e[_0x57c140(0x382)]=_0x196379(ie());}(En,function(_0x268606){(function(){var _0x54482a=_0x3471,_0x36642a=_0x268606,_0x5a318b=_0x36642a[_0x54482a(0x28e)],_0x367e1e=_0x5a318b[_0x54482a(0x240)],_0xdfc4f6=_0x36642a[_0x54482a(0x2d8)],_0x20df5e=_0xdfc4f6[_0x54482a(0x316)],_0x5d5c82=_0x36642a[_0x54482a(0x305)];_0x5d5c82['HMAC']=_0x367e1e[_0x54482a(0x16c)]({'init':function(_0xe90300,_0x43c652){var _0x8644fa=_0x54482a;_0xe90300=this['_hasher']=new _0xe90300['init'](),typeof _0x43c652==_0x8644fa(0xb5)&&(_0x43c652=_0x20df5e[_0x8644fa(0x2f3)](_0x43c652));var _0x2cc3a6=_0xe90300[_0x8644fa(0x326)],_0x2dbb0c=_0x2cc3a6*0x4;_0x43c652[_0x8644fa(0x1fc)]>_0x2dbb0c&&(_0x43c652=_0xe90300['finalize'](_0x43c652)),_0x43c652[_0x8644fa(0x2b7)]();for(var _0x22ffe7=this[_0x8644fa(0x2e5)]=_0x43c652['clone'](),_0x5e6497=this['_iKey']=_0x43c652['clone'](),_0xb631ff=_0x22ffe7[_0x8644fa(0x14a)],_0x3cdb6c=_0x5e6497['words'],_0x1aa31a=0x0;_0x1aa31a<_0x2cc3a6;_0x1aa31a++)_0xb631ff[_0x1aa31a]^=0x5c5c5c5c,_0x3cdb6c[_0x1aa31a]^=0x36363636;_0x22ffe7[_0x8644fa(0x1fc)]=_0x5e6497['sigBytes']=_0x2dbb0c,this[_0x8644fa(0x325)]();},'reset':function(){var _0x566d59=_0x54482a,_0xe39ac7=this[_0x566d59(0xe1)];_0xe39ac7[_0x566d59(0x325)](),_0xe39ac7[_0x566d59(0x312)](this[_0x566d59(0x3c5)]);},'update':function(_0x5551d1){var _0x55918a=_0x54482a;return this[_0x55918a(0xe1)][_0x55918a(0x312)](_0x5551d1),this;},'finalize':function(_0x14a3f3){var _0x140555=_0x54482a,_0x5ab892=this[_0x140555(0xe1)],_0x26481d=_0x5ab892[_0x140555(0x37b)](_0x14a3f3);_0x5ab892[_0x140555(0x325)]();var _0x1cfd37=_0x5ab892[_0x140555(0x37b)](this['_oKey'][_0x140555(0x339)]()[_0x140555(0x1ca)](_0x26481d));return _0x1cfd37;}});}());}));}(ze)),ze[_0x5bfe2c(0x382)];}var mn=Ke[_0x2441f9(0x382)],Zt;function Ci(){return Zt||(Zt=0x1,function(_0x5b84fd,_0xba5f34){(function(_0xb0311e,_0x435d47,_0x23ee63){var _0x1029df=_0x3471;_0x5b84fd[_0x1029df(0x382)]=_0x435d47(ie(),vn(),pn());}(mn,function(_0xa278b){var _0x4f20e1=_0x3471;return(function(){var _0x15f97e=_0x3471,_0x147ae8=_0xa278b,_0x10e6a0=_0x147ae8[_0x15f97e(0x28e)],_0x9c7558=_0x10e6a0[_0x15f97e(0x240)],_0x2a5579=_0x10e6a0[_0x15f97e(0x1ff)],_0xdabddc=_0x147ae8[_0x15f97e(0x305)],_0x22d22b=_0xdabddc[_0x15f97e(0x304)],_0x6e43a=_0xdabddc['EvpKDF']=_0x9c7558[_0x15f97e(0x16c)]({'cfg':_0x9c7558[_0x15f97e(0x16c)]({'keySize':0x80/0x20,'hasher':_0x22d22b,'iterations':0x1}),'init':function(_0x51c29c){var _0x3d1da0=_0x15f97e;this[_0x3d1da0(0xc1)]=this['cfg']['extend'](_0x51c29c);},'compute':function(_0x1191df,_0x5655d5){var _0x5cee20=_0x15f97e;for(var _0x186b43,_0x1793ea=this[_0x5cee20(0xc1)],_0x45bf07=_0x1793ea['hasher'][_0x5cee20(0x32e)](),_0x40236e=_0x2a5579[_0x5cee20(0x32e)](),_0x3ecc68=_0x40236e[_0x5cee20(0x14a)],_0x39b3ca=_0x1793ea[_0x5cee20(0x244)],_0x50fa2e=_0x1793ea['iterations'];_0x3ecc68[_0x5cee20(0x158)]<_0x39b3ca;){_0x186b43&&_0x45bf07[_0x5cee20(0x312)](_0x186b43),_0x186b43=_0x45bf07[_0x5cee20(0x312)](_0x1191df)[_0x5cee20(0x37b)](_0x5655d5),_0x45bf07[_0x5cee20(0x325)]();for(var _0x45c9d2=0x1;_0x45c9d2<_0x50fa2e;_0x45c9d2++)_0x186b43=_0x45bf07[_0x5cee20(0x37b)](_0x186b43),_0x45bf07[_0x5cee20(0x325)]();_0x40236e[_0x5cee20(0x1ca)](_0x186b43);}return _0x40236e[_0x5cee20(0x1fc)]=_0x39b3ca*0x4,_0x40236e;}});_0x147ae8[_0x15f97e(0x1c1)]=function(_0x3f318b,_0x28aba1,_0x53d0af){var _0x28926d=_0x15f97e;return _0x6e43a[_0x28926d(0x32e)](_0x53d0af)['compute'](_0x3f318b,_0x28aba1);};}()),_0xa278b[_0x4f20e1(0x1c1)];}));}(Ke)),Ke['exports'];}function _0x4168(){var _0x4c3ecd=['_changesetReqId','map','ERROR_IMAGE_TYPE','initWorkbookPermissionChange','_retryConnectingTimer','[CollaborationSessionService]','ERROR_IMAGE','next','getWorkbookSelections','random','DATA_SOURCE_TOO_LARGE','getResourcesRequest','_transformUndoredo','_commentService','_toggleOffline','values','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_updateStatus','abs','_socket$','unitId','getSheetId','onTransformRemoteChangesetByIMECache','/role','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','AWAITING','_getSignURL','resend','_config','catch','4TYVyFG','NO_OTHER_CLIENTS_EDITING','shouldCloseConn','post','filter','subject','_getAPIPrefixPath','lib','_onRemoteRejected','unsubscribe','SerializableCipher','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_awaitingChangeset','_applyRemoteChangeset','_keySchedule','_sessions','eventID','_tryReconnect','onTransformRemoteChangesetByStateCache','_undoStacks','mutations','objectType','People','createInstance','getRoom','COMPRESS_MUTATION_SEND','WECHAT_HAS_BEEN_BOUND','onRemoteRej','transformUndoRedo','APPLY_DUPLICATED','downloadEndpointUrl','fetching\x20missing\x20changesets\x20from\x20','_schedule','actions','YUUMI_URL_COL_OUT_OF_RANGE','_onRemoteACK','session','_hash','LIVESHARE_TERMINATE','[PendingState]:\x20received\x20acknowledgement.','interceptor','disableLocalCache','updateOfflineData','NEW_CHANGESETS','_snapshotServerService','setCurrentUser','toggleOnline','loadSheet','clamp','_socketMessageSubscription','key','_clearRetryConnectingTimer','/universer-api/comb','getOwnPropertyDescriptor','_clearRedo','mixIn','9297490tJQuVP','_parse','getCurrentUser','_substituteRedoStack','authzUrl','_handlerCallback','_onConnectionOpen','indexOf','crypto','onTransformState','REDEMPTION_CODE_FULLY_REDEEMED','_eventService','members','then','/unit/','HEARTBEAT_INTERVAL','offline','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','sessionStatus$','[CollaborationEntity]','complete','CHANGESET_ACK','_httpService','createCollaborator','1623399TNklIi','enc','push','_timeoutTimer','call','find','REDEMPTION_USER_REDEEM_TIMES_EXCEED','LIVESHARE_NEW_HOST','_changesetSessionId','saveChangeset','__creator','REDEMPTION_CODE_HAS_BEEN_CREATED','_doReset','_initCloseConn','_oKey','_emitMembers','_scheduleCompleteTimestamp','responseType','CONFLICT','putCollaborators','_onOffline','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','UNISCRIPT_RUN','getRandomValues','LIVESHARE_REQUEST_HOST','[UniverCollaborationClientPlugin]','\x20-\x20','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','parse','[CollaborationState]:\x20apply\x20error!','loadDoc','startTime','USERS_ENTER','[CollaborationSession]','INVALID_INVITE_CODE','onRemoteRetry','collabWebSocketUrl','_transformService','getAllMembers','_getUndoStack','not_collab','SOCKET_FAILED','_onRecvEvent','_handler','_retryCount','MD5','algo','_resendTimer','delete','_ENC_XFORM_MODE','_cipher','USERS_LEAVE','patch','_sender','MOBILE_HAS_BEEN_BOUND','_snapshotService','subUnitId','getUnitId','params','update','BASE64','listRoles','session.join-failed','Utf8','unpad','Cipher','url','HttpImport','error$','PERSON','/block/','_telemetryService','emitEvent','getCurrentRevOfUnit','_replaceFileID','size','mode','isPermissionRej','reset','blockSize','session.room-cnt-exceeds','closeSession','rev','_undoRedoService','updatePermissionObjEvent','_shouldReportTelemetry','symbol','create','SOCKET_FAILED_RETRY','action','Univer','submit\x20changeset\x20error!','LICENSE_IMPORT_SIZE_EXCEEDED','CHANGESET_REJ','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_collabSessionService','pending','_initDependencies','clone','csRejEvent','SHA1','APPLY_NON_SEQUENTIAL_REVISION','_pendingMutations','[DataLoaderService]','_unlockTransition','_getDownloadEndpointURL','_reverseMap','INVALID_ARGUMENT','Hex','open$','/object/','c2Prime','toggleOffline','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','type','onTransformIME','sid','confirm','UNRECOGNIZED','subscribe','_rescheduleHeartbeat','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','setConfig','join','_remoteChangesetQueue','[SyncedState]:\x20received\x20rejection.','auth.needGotoLoginAlert','ENSURE_SNAPSHOT_EXECUTION','put','JOIN_ROOM_PERMISSION_DENIED','ENTITLE_USE_COUPON_NOT_1ST_TRADE','stringify','[CollaborationUndoRedoService]','hostname','_sendHeartbeat','_resendTimeout','UNIVER_PROJECT','PERMISSION_REJ','_maxTotalRetryTimeout','_sendHeartbeatTimer','PY_RUNTIME_SCRIPT_ERROR','src','image/png','addImageSourceCache','state','UPDATE_CURSOR','readyForCollab','_doCryptBlock','session.room-permission-denied','Undefined','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','unknown','newCsEvent','FAIL','joinEvent','state$','FETCH_MISSING','_init','_showConflictNotification','/universer-api/oidc/authpage','append','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','routeKey','finalize','_process','_substituteUndoStack','[PendingState]:\x20received\x20rejection.','/universer-api/authz','avatar','OTHER_CLIENT_EDITING','exports','REDEMPTION_USER_NOT_ELIGIBLE','_permissionService','_collaborationSessionService','_syncEditingCollabCursor','GLOBAL_ROOMS_CNT_EXCEEDS','CipherParams','_candidateSocket','byteLength','body','_stopTelemetryCollaborationNewChangeset','_createInitialStateImpl','_onRemoteRetry','getDeserializedSheetBlock','univer-pro.collaboration-client.network-condition.service','_compressMutationService','_updateState','UNKNOWN_CMD','isArray','updateCollaborator','_transitionLocked','getFocusedUnit','_acknowledgedAwaitingChangeset','_registerDependencies','compute','_onConflict','unitID','defineProperty','UPDATE_PERMISSION_OBJ','debug','hasher','replace','_entityInit$','?size=','name','error','splice','from','transformStack\x20failed!','LEAVE','createEncryptor','connection\x20error','_listenToNetworkCondition','_startCollaboration','fetch_missing','HMAC','location','includes','pipe','MUTATION','baseRev','PAYMENT_CHANNEL_NOT_SUPPORT','YUUMI_SUBSCRIPTION_NOT_FOUND','_doProcessBlock','unit-cache-','AUTHORIZE_CODE_ILLEGAL','/-/object/-/batch_allowed','_sheetTransformSelectionsService','encode','charAt','transformChangesets','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','now','ALREADY_EXISTS','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','createDecryptor','resolve','_iKey','BlockCipherMode','enableOfflineEditing','_doFinalize','objects','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','Encryptor','_clearTimeoutTimer','_collaborationUIEventService','_startTelemetryCollaborationNewChangeset','/collaborator','_getCurrentRevision','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_localCacheService','Hasher','method','appendMutation','onlyLocal','selections','_members$','_localeService','reverse','SUBMIT_CHANGESET_TIMEOUT','reconnect','hasOwnProperty','_clearLocalCache','commentUpdateEvent','collabSubmitChangesetUrl','salt','headers','TOO_MANY_REQUESTS','$super','?url=','executeCommand','_submitChangeset','/universer-api/snapshot','range','_doCreateSocket','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getCollabEntity$','_xformMode','_onCombEvent','getConfig','string','onLocalMutation','onSendChangeset','_mode','_executeRemoteChangeset','textRanges','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_transformRemoteChangesetByStateCache','getTypeOfUnitAdded$','OFFLINE','_state','_getSendChangesetTimeout','cfg','ENTITLE_DUP_SUBSCRIPTION','pauseCollaboration','collaboratorID','_checkMissing','SUCCUSS','__Key__','OTHER_CLIENTS_EDITING','getSheetBlock','loadUnit','awaiting_with_pending','INVITE_CODE_ALREADY_BOUND','LIVESHARE_OPERATION','decrypt','objectActions','requireSession','_onConnectionFailed','Latin1','_updateLocalCache','ws://127.0.0.1:8000/universer-api/comb/connect','status$','_minBufferSize','save\x20fail\x20reason\x20is\x20','deleteCollaborator','updateCursorEvent','/rev/','_replayCachedMutations','370USXdKo','transformSelections','_imageSourceCache','memberID','workbook','_hasher','getTypeOfUnitDisposed$','startsWith','override','RETRY_CONNECTING_MAX_COUNT','snapshot','status','onRemoteChangeset','socketService','YUUMI_UNABLE_LOAD_URL','_unitInfo$','_waitCount','reqId','asObservable','_clearCollaborationTimeoutTimer','data','HEARTBEAT','withCredentials','YUUMI_RATE_OVER_LIMIT','updateMember','CBC','UNKNOWN_CODE','APPLY_PERMISSION_DENIED','retryConnectingInterval','encrypt','APPLY_REVISION_CONFILICT','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','x-univer-host','_commandService','set','_redoStacks','_singleActiveUnitService','_type','ciphertext','collaboration-client.config','_throwTelemetryCollaborationNewChangeset','synced','awaiting','USER_IS_ANONYMOUS','dispose','_socketService','/universer-api/stream/file/upload','CHANGESET_SHOULD_RETRY','objectID','LICENSE_DISTRO_REJECTED','loadUnitOfRevision','_change$','UNIVER_SHEET','fetchMiss','PERMISSION_DENIED','_transformStack','send','_members','HttpExport','href','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','roles','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CONNECTOR_DATA_TOO_LARGE','_transformIMECache','EMAIL_HAS_BEEN_BOUND','_nRounds','sheets','_injector','37914855reentR','LOGIN_FAILED','fetchMissingChangesets','substr','entityInit$','_initMergeInterceptor','_data','getSnapshotAPIPath','JOIN_ROOM_FAILED','fromCharCode','localCacheService','ENTITLE_INSUFFICIENT_QUOTA','_onFetchMissResult','MOBILE_VERIFY_CODE_MISMATCH','univer-pro.collaboration-client-socket-service','3081865nijwrL','randomBytes','image/bmp','Could\x20not\x20dynamically\x20require\x20\x22','getLatestCsReqIdBySid','has','onTransformSelections','_configService','_tryEnsureSocket','fetchThroughInterceptors','infoRsp','ENTITLE_COUPON_USED_UP','UNAUTHENTICATED','_entities','_append','_queuedRemoteChangesets','setWaitCount','padding','list','image/gif','liveShareOperation','uploadFileServerUrl','_roomCreated$','_exhaustRemoteChangesetQueue','/universer-api/user/session-ticket','addHandlerCallback','words','prototype','_nDataBytes','_sendingTimer','allowed','onRemoteAck','getUnit','onSyncEditingCollabCursor','close$','_initRequestHeader','YUUMI_NO_CUBOID_FOR_QUESTION','apply','getMemberID','NoPadding','length','m2Prime','loadOfflineData','_invKeySchedule','ENTITLE_CHAT_LIMIT_EXCEED','ENTITLE_NEED_BILLING_ADDRESS','socket$','title','_commentUpdate$','enableAuthServer','1814603HyxbCf','transformMutationsWithChangeset','min','collaMsg','_clearScheduledTask','change$','Malformed\x20UTF-8\x20data','[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.','UNIVER_COLLABORATION_CLIENT_PLUGIN','_disableEditing','extend','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_onLocalMutation','getTime','msCrypto','conflict','_scheduleCollaborationTimeoutTimer','HmacSHA1','originalMeta','encodeURIComponent','_onMessage','UUID','setShowComponents','_keyPriorReset','_transformStateCache','_toggleOnline','[OfflineState]:\x20received\x20rejection.','_initUnitPermissionChange','6HEzTOF','floor','incrementRevOfUnit','result','/universer-api/snapshot/','LOCAL_CACHE_INTERVAL','waitForRoom$','RECV','_onUserJoin','removeMember','_memberService','_univerInstanceService','repeat','message$','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','PENDING','_state$','event$','getImage','revision','_roomMembers','3844zWWGyj','EMAIL_VERIFY_CODE_MISMATCH','_createHelper','unitId\x20is\x20not\x20found','sessionStatus','updateSnapshot','onMissingChangesets','LOGIN_TOKEN_PROCESSING_FAILED','Base64','session.room-not-exists','UnitSnapshot','close','uniscriptRunEvent','localeService','byteOffset','c1Prime','createSocket','JOINING','JOIN','/fetchmissing?from=','getMember','UNIVER_SLIDE','socket\x20open.','_getRedoStack','/-/object/list','onCommentUpdate','execute','[CollaborationSessionService]:\x20socket\x20error','_waitForHeartbeatResponse','POST','_onUserLeave','cmd','INTERNAL_ERROR','leaveEvent','&source=','_unitID','changesets','YUUMI_ASYNCIO_CANCELLED','BlockCipher','UNIVER_UNKNOWN','ceil','_createInitialState','processBlock','joinRsp','_socketReady','slice','EvpKDF','COMMENT_UPDATE','FileId','_networkConditionService','OPTIONAL','permissionRejEvent','_getAPIPrefix','_createHandler','_status$','concat','JOIN_ROOM_FULL','_revisionService','_userManagerService','_clearUndo','_iv','HELLO','_transformRemoteChangesetByIMECache','UnitEmbedded','LICENSE_MAX_UNITS_EXCEEDED','_event$','getUnitType','reject','_HTTPService','updatePermissionPoint','disposeWithMe','_removeRoom','kdf','image/jpeg','deepClone','JOIN_ROOM_NOT_EXISTS','_socket','registerHTTPInterceptor','CLOSE_ROOM','\x0aAfter:\x20','/object','[OfflineState]:\x20received\x20changeset.','UNIVER_DOC','max','_prevBlock','refreshPermission','getInterceptPoints','commentUpdate$','IDLE','focused$','SHOULD_CLOSE_CONN','univer-pro.collaboration-client.single-active-unit-service','SNAPSHOT_INVALID_SNAPSHOT','liveShareNewHost','resourceIDs','enableCollaboration','_logService','ENTITLE_CAN_NOT_BUY_LOWER_OTP','[PendingState]:\x20unhandled\x20univer\x20type:\x20','ERROR_EXCEED_SIZE','_instanceService','_collaborationPaused','onMutationExecutedForCollab','UNDEFINED','/allowed','sigBytes','[FetchMissState]','ivSize','WordArray','REDEMPTION_CODE_NOT_STARTED','_getUploadFileURL','file','_clearHeartbeatTimer','_transformSelections','encryptBlock','roomInfos','_createHmacHelper','72KdgyKb','907407DqMuYH','findIndex','origin','MSG_FOR_ERROR','ONLINE','DEFAULT_FILE_NAME','INVITE_CODE_REQUIRED','userID','default','requestParams','ClipsheetFragments','LIVESHARE_FETCH_OPERATIONS','every','_lockTransition','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','SYNCED','add','pad','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_isPermissionRej','_incrementRevisionNumber','Failed\x20to\x20update\x20permission\x20point','ERROR_AGAIN','saveSnapshot','INGEST','get','REDEMPTION_INVALID_CODE','duration','members$','UserProfileImg','editingUnit','clear','getUnitStatus$','code','function','Error\x20on\x20receiving\x20event','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','forEach','PSEUDO_FETCH_MISSING_RESULT','collaborators','_onRemoteChangeset','Decryptor','_createSocket','_sessionStatus$','awaitingChangeset','NOT_COLLAB','charCodeAt','_telemetryInfo','onStarting','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','REDEMPTION_CODE_INACTIVE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getCollabEntity','csAckEvent','_collaborationTimeoutTimer','Base','unitInfo$','COMPLETION_FINISHED','_resendWithTimeout','keySize','Pkcs7','&to=','equals','onload','YUUMI_AI_RUN_FAILED','_onJoinRoomEvent','pluginName','_getLoginPath','[OfflineState]:\x20received\x20acknowledgement.','INVITE_CODE_HAS_BEEN_UES','HEARTBEAT_TIMEOUT','_key','reduce','signUrlServerUrl','_joinRoom','stopTime','_map','collaboration-client.local-cache-service','OpenSSL','SUBMIT_CHANGESET','format','dispose$','ENTITLE_INVALID_COUPON_CODE','YUUMI_CONNECTOR_URL_NOT_FOUND','_decreaseWaiting','toString','YUUMI_ALL_TABLES_IS_INVALID','init','formatter','NOT_FOUND','compose','fromCollab','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','BufferedBlockAlgorithm','AES','onMissedChangesetFetched'];_0x4168=function(){return _0x4c3ecd;};return _0x4168();}var Xe={'exports':{}},In=Xe[_0x2441f9(0x382)],Qt;function bi(){var _0x4d0324=_0x2441f9;return Qt||(Qt=0x1,function(_0x451c06,_0x54f5ca){(function(_0x1a2cd5,_0x50b0c8,_0x9fa34c){_0x451c06['exports']=_0x50b0c8(ie(),Ci());}(In,function(_0x2051df){_0x2051df['lib']['Cipher']||function(_0x2c19d0){var _0x635e30=_0x3471,_0x2d70f3=_0x2051df,_0x42cd88=_0x2d70f3['lib'],_0x24a1b4=_0x42cd88['Base'],_0x3e8951=_0x42cd88['WordArray'],_0x5eb836=_0x42cd88[_0x635e30(0x266)],_0x22e106=_0x2d70f3[_0x635e30(0x2d8)];_0x22e106[_0x635e30(0x316)];var _0x2d14f6=_0x22e106[_0x635e30(0x19b)],_0x3c6375=_0x2d70f3[_0x635e30(0x305)],_0x4116fe=_0x3c6375[_0x635e30(0x1c1)],_0x20b45c=_0x42cd88[_0x635e30(0x318)]=_0x5eb836[_0x635e30(0x16c)]({'cfg':_0x24a1b4[_0x635e30(0x16c)](),'createEncryptor':function(_0x276616,_0x48c582){var _0x1ac565=_0x635e30;return this[_0x1ac565(0x32e)](this[_0x1ac565(0x308)],_0x276616,_0x48c582);},'createDecryptor':function(_0x3820fd,_0x3beb80){var _0x48806d=_0x635e30;return this[_0x48806d(0x32e)](this['_DEC_XFORM_MODE'],_0x3820fd,_0x3beb80);},'init':function(_0x1a1866,_0x2c11eb,_0x2c4d79){var _0x4bc218=_0x635e30;this[_0x4bc218(0xc1)]=this[_0x4bc218(0xc1)][_0x4bc218(0x16c)](_0x2c4d79),this['_xformMode']=_0x1a1866,this['_key']=_0x2c11eb,this[_0x4bc218(0x325)]();},'reset':function(){var _0x384d92=_0x635e30;_0x5eb836[_0x384d92(0x325)]['call'](this),this[_0x384d92(0x2e3)]();},'process':function(_0x5bc70c){var _0x563861=_0x635e30;return this[_0x563861(0x13e)](_0x5bc70c),this[_0x563861(0x37c)]();},'finalize':function(_0x129d7b){var _0x5c45a0=_0x635e30;_0x129d7b&&this['_append'](_0x129d7b);var _0x35b394=this[_0x5c45a0(0x3c8)]();return _0x35b394;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x38bcc4(_0x17c1cb){return typeof _0x17c1cb=='string'?_0x222ab1:_0x13f869;}return function(_0x515226){return{'encrypt':function(_0x52b013,_0x26bdce,_0x4cb808){var _0x39acb1=_0x3471;return _0x38bcc4(_0x26bdce)[_0x39acb1(0xf9)](_0x515226,_0x52b013,_0x26bdce,_0x4cb808);},'decrypt':function(_0x28ec8d,_0x395340,_0x10af36){return _0x38bcc4(_0x395340)['decrypt'](_0x515226,_0x28ec8d,_0x395340,_0x10af36);}};};}())});_0x42cd88['StreamCipher']=_0x20b45c['extend']({'_doFinalize':function(){var _0x4337aa=_0x635e30,_0x279394=this[_0x4337aa(0x37c)](!0x0);return _0x279394;},'blockSize':0x1});var _0x178646=_0x2d70f3[_0x635e30(0x323)]={},_0x79f8e6=_0x42cd88[_0x635e30(0x3c6)]=_0x24a1b4['extend']({'createEncryptor':function(_0x4a4645,_0x4fa1dd){var _0x3a4622=_0x635e30;return this[_0x3a4622(0x3cb)][_0x3a4622(0x32e)](_0x4a4645,_0x4fa1dd);},'createDecryptor':function(_0x2c78aa,_0x3f0f4d){var _0x106956=_0x635e30;return this[_0x106956(0x232)][_0x106956(0x32e)](_0x2c78aa,_0x3f0f4d);},'init':function(_0x5c2156,_0x5076b0){var _0xf8dbd6=_0x635e30;this[_0xf8dbd6(0x309)]=_0x5c2156,this[_0xf8dbd6(0x1cf)]=_0x5076b0;}}),_0x1d44e1=_0x178646[_0x635e30(0xf5)]=(function(){var _0x5aff31=_0x635e30,_0x43b1d1=_0x79f8e6[_0x5aff31(0x16c)]();_0x43b1d1['Encryptor']=_0x43b1d1[_0x5aff31(0x16c)]({'processBlock':function(_0x312a80,_0x1fe8b6){var _0x266b31=_0x5aff31,_0x1ef0cc=this['_cipher'],_0x1b4863=_0x1ef0cc[_0x266b31(0x326)];_0x584859['call'](this,_0x312a80,_0x1fe8b6,_0x1b4863),_0x1ef0cc[_0x266b31(0x205)](_0x312a80,_0x1fe8b6),this['_prevBlock']=_0x312a80[_0x266b31(0x1c0)](_0x1fe8b6,_0x1fe8b6+_0x1b4863);}}),_0x43b1d1[_0x5aff31(0x232)]=_0x43b1d1[_0x5aff31(0x16c)]({'processBlock':function(_0x584180,_0x47dd07){var _0x51b6eb=_0x5aff31,_0x529541=this[_0x51b6eb(0x309)],_0x4029b5=_0x529541['blockSize'],_0x1bc8c0=_0x584180[_0x51b6eb(0x1c0)](_0x47dd07,_0x47dd07+_0x4029b5);_0x529541['decryptBlock'](_0x584180,_0x47dd07),_0x584859[_0x51b6eb(0x2db)](this,_0x584180,_0x47dd07,_0x4029b5),this[_0x51b6eb(0x1e7)]=_0x1bc8c0;}});function _0x584859(_0x46d2f6,_0x5e63b7,_0x38cef9){var _0x128e4f=_0x5aff31,_0x518582,_0x5c5f2b=this[_0x128e4f(0x1cf)];_0x5c5f2b?(_0x518582=_0x5c5f2b,this[_0x128e4f(0x1cf)]=_0x2c19d0):_0x518582=this[_0x128e4f(0x1e7)];for(var _0x58b4a3=0x0;_0x58b4a3<_0x38cef9;_0x58b4a3++)_0x46d2f6[_0x5e63b7+_0x58b4a3]^=_0x518582[_0x58b4a3];}return _0x43b1d1;}()),_0x66bd9d=_0x2d70f3[_0x635e30(0x21a)]={},_0x407883=_0x66bd9d[_0x635e30(0x245)]={'pad':function(_0x187993,_0x570f84){var _0x6f5171=_0x635e30;for(var _0x19b298=_0x570f84*0x4,_0xc3494a=_0x19b298-_0x187993[_0x6f5171(0x1fc)]%_0x19b298,_0x11109e=_0xc3494a<<0x18|_0xc3494a<<0x10|_0xc3494a<<0x8|_0xc3494a,_0x5b4a53=[],_0x523854=0x0;_0x523854<_0xc3494a;_0x523854+=0x4)_0x5b4a53[_0x6f5171(0x2d9)](_0x11109e);var _0x13ecd5=_0x3e8951[_0x6f5171(0x32e)](_0x5b4a53,_0xc3494a);_0x187993[_0x6f5171(0x1ca)](_0x13ecd5);},'unpad':function(_0x14a8b4){var _0x5b8bc1=_0x635e30,_0x155f56=_0x14a8b4[_0x5b8bc1(0x14a)][_0x14a8b4[_0x5b8bc1(0x1fc)]-0x1>>>0x2]&0xff;_0x14a8b4[_0x5b8bc1(0x1fc)]-=_0x155f56;}};_0x42cd88[_0x635e30(0x1b9)]=_0x20b45c[_0x635e30(0x16c)]({'cfg':_0x20b45c[_0x635e30(0xc1)]['extend']({'mode':_0x1d44e1,'padding':_0x407883}),'reset':function(){var _0x9af90d=_0x635e30,_0x54db99;_0x20b45c['reset'][_0x9af90d(0x2db)](this);var _0x411369=this['cfg'],_0x4739d3=_0x411369['iv'],_0x115576=_0x411369['mode'];this[_0x9af90d(0xb2)]==this['_ENC_XFORM_MODE']?_0x54db99=_0x115576['createEncryptor']:(_0x54db99=_0x115576[_0x9af90d(0x3c3)],this['_minBufferSize']=0x1),this[_0x9af90d(0xb8)]&&this[_0x9af90d(0xb8)][_0x9af90d(0x2e1)]==_0x54db99?this[_0x9af90d(0xb8)]['init'](this,_0x4739d3&&_0x4739d3['words']):(this[_0x9af90d(0xb8)]=_0x54db99[_0x9af90d(0x2db)](_0x115576,this,_0x4739d3&&_0x4739d3[_0x9af90d(0x14a)]),this[_0x9af90d(0xb8)][_0x9af90d(0x2e1)]=_0x54db99);},'_doProcessBlock':function(_0x5dc7ff,_0x3f2601){var _0x5767d6=_0x635e30;this[_0x5767d6(0xb8)][_0x5767d6(0x1bd)](_0x5dc7ff,_0x3f2601);},'_doFinalize':function(){var _0x44034e=_0x635e30,_0x30cffa,_0x2f1364=this[_0x44034e(0xc1)][_0x44034e(0x141)];return this[_0x44034e(0xb2)]==this[_0x44034e(0x308)]?(_0x2f1364['pad'](this['_data'],this[_0x44034e(0x326)]),_0x30cffa=this[_0x44034e(0x37c)](!0x0)):(_0x30cffa=this['_process'](!0x0),_0x2f1364[_0x44034e(0x317)](_0x30cffa)),_0x30cffa;},'blockSize':0x80/0x20});var _0x332d21=_0x42cd88[_0x635e30(0x388)]=_0x24a1b4[_0x635e30(0x16c)]({'init':function(_0x1dd566){this['mixIn'](_0x1dd566);},'toString':function(_0x5d18c9){var _0xeaf7c4=_0x635e30;return(_0x5d18c9||this[_0xeaf7c4(0x261)])[_0xeaf7c4(0x35b)](this);}}),_0x4c84a7=_0x2d70f3[_0x635e30(0x259)]={},_0x17605a=_0x4c84a7[_0x635e30(0x257)]={'stringify':function(_0x4d95cd){var _0x547f8e=_0x635e30,_0x46271f,_0x3362bd=_0x4d95cd[_0x547f8e(0x102)],_0x22aff5=_0x4d95cd[_0x547f8e(0xa6)];return _0x22aff5?_0x46271f=_0x3e8951['create']([0x53616c74,0x65645f5f])[_0x547f8e(0x1ca)](_0x22aff5)['concat'](_0x3362bd):_0x46271f=_0x3362bd,_0x46271f[_0x547f8e(0x25e)](_0x2d14f6);},'parse':function(_0x1ba258){var _0x79b919=_0x635e30,_0x3c21e9,_0x47a1ea=_0x2d14f6[_0x79b919(0x2f3)](_0x1ba258),_0x3de83f=_0x47a1ea[_0x79b919(0x14a)];return _0x3de83f[0x0]==0x53616c74&&_0x3de83f[0x1]==0x65645f5f&&(_0x3c21e9=_0x3e8951[_0x79b919(0x32e)](_0x3de83f[_0x79b919(0x1c0)](0x2,0x4)),_0x3de83f[_0x79b919(0x3a6)](0x0,0x4),_0x47a1ea[_0x79b919(0x1fc)]-=0x10),_0x332d21['create']({'ciphertext':_0x47a1ea,'salt':_0x3c21e9});}},_0x13f869=_0x42cd88[_0x635e30(0x291)]=_0x24a1b4['extend']({'cfg':_0x24a1b4[_0x635e30(0x16c)]({'format':_0x17605a}),'encrypt':function(_0x12f41a,_0x2e9ed3,_0x4f2e6d,_0x39b61f){var _0x169796=_0x635e30;_0x39b61f=this['cfg'][_0x169796(0x16c)](_0x39b61f);var _0x448dbc=_0x12f41a[_0x169796(0x3aa)](_0x4f2e6d,_0x39b61f),_0x3c4aeb=_0x448dbc[_0x169796(0x37b)](_0x2e9ed3),_0x58b57f=_0x448dbc[_0x169796(0xc1)];return _0x332d21[_0x169796(0x32e)]({'ciphertext':_0x3c4aeb,'key':_0x4f2e6d,'iv':_0x58b57f['iv'],'algorithm':_0x12f41a,'mode':_0x58b57f['mode'],'padding':_0x58b57f[_0x169796(0x141)],'blockSize':_0x12f41a['blockSize'],'formatter':_0x39b61f[_0x169796(0x259)]});},'decrypt':function(_0x3595d5,_0x1f5232,_0x2fb870,_0xb51af0){var _0x483266=_0x635e30;_0xb51af0=this['cfg']['extend'](_0xb51af0),_0x1f5232=this[_0x483266(0x2c0)](_0x1f5232,_0xb51af0[_0x483266(0x259)]);var _0x3c8ea8=_0x3595d5[_0x483266(0x3c3)](_0x2fb870,_0xb51af0)[_0x483266(0x37b)](_0x1f5232['ciphertext']);return _0x3c8ea8;},'_parse':function(_0x5cbc05,_0x41f413){var _0x3a8235=_0x635e30;return typeof _0x5cbc05==_0x3a8235(0xb5)?_0x41f413[_0x3a8235(0x2f3)](_0x5cbc05,this):_0x5cbc05;}}),_0x1b873a=_0x2d70f3[_0x635e30(0x1db)]={},_0x1ad3f1=_0x1b873a[_0x635e30(0x257)]={'execute':function(_0xe9782f,_0x905dd5,_0xdeabcb,_0x50c00c,_0x406cdd){var _0xbcf35a=_0x635e30;if(_0x50c00c||(_0x50c00c=_0x3e8951['random'](0x40/0x8)),_0x406cdd)var _0x471af7=_0x4116fe[_0xbcf35a(0x32e)]({'keySize':_0x905dd5+_0xdeabcb,'hasher':_0x406cdd})[_0xbcf35a(0x39a)](_0xe9782f,_0x50c00c);else var _0x471af7=_0x4116fe[_0xbcf35a(0x32e)]({'keySize':_0x905dd5+_0xdeabcb})['compute'](_0xe9782f,_0x50c00c);var _0x4fa4fa=_0x3e8951[_0xbcf35a(0x32e)](_0x471af7[_0xbcf35a(0x14a)]['slice'](_0x905dd5),_0xdeabcb*0x4);return _0x471af7['sigBytes']=_0x905dd5*0x4,_0x332d21[_0xbcf35a(0x32e)]({'key':_0x471af7,'iv':_0x4fa4fa,'salt':_0x50c00c});}},_0x222ab1=_0x42cd88['PasswordBasedCipher']=_0x13f869[_0x635e30(0x16c)]({'cfg':_0x13f869[_0x635e30(0xc1)][_0x635e30(0x16c)]({'kdf':_0x1ad3f1}),'encrypt':function(_0x4a0ff8,_0x55f0f5,_0x387a64,_0x21d56f){var _0x24b22f=_0x635e30;_0x21d56f=this[_0x24b22f(0xc1)][_0x24b22f(0x16c)](_0x21d56f);var _0x5c7884=_0x21d56f[_0x24b22f(0x1db)][_0x24b22f(0x1ad)](_0x387a64,_0x4a0ff8[_0x24b22f(0x244)],_0x4a0ff8[_0x24b22f(0x1fe)],_0x21d56f[_0x24b22f(0xa6)],_0x21d56f[_0x24b22f(0x3a0)]);_0x21d56f['iv']=_0x5c7884['iv'];var _0x3819cf=_0x13f869[_0x24b22f(0xf9)][_0x24b22f(0x2db)](this,_0x4a0ff8,_0x55f0f5,_0x5c7884[_0x24b22f(0x2b9)],_0x21d56f);return _0x3819cf[_0x24b22f(0x2be)](_0x5c7884),_0x3819cf;},'decrypt':function(_0x36a58b,_0x3d66de,_0x39012a,_0x4260db){var _0x1ad10d=_0x635e30;_0x4260db=this[_0x1ad10d(0xc1)][_0x1ad10d(0x16c)](_0x4260db),_0x3d66de=this[_0x1ad10d(0x2c0)](_0x3d66de,_0x4260db[_0x1ad10d(0x259)]);var _0x2820d5=_0x4260db[_0x1ad10d(0x1db)][_0x1ad10d(0x1ad)](_0x39012a,_0x36a58b[_0x1ad10d(0x244)],_0x36a58b['ivSize'],_0x3d66de[_0x1ad10d(0xa6)],_0x4260db['hasher']);_0x4260db['iv']=_0x2820d5['iv'];var _0xc19e4a=_0x13f869[_0x1ad10d(0xce)][_0x1ad10d(0x2db)](this,_0x36a58b,_0x3d66de,_0x2820d5['key'],_0x4260db);return _0xc19e4a;}});}();}));}(Xe)),Xe[_0x4d0324(0x382)];}var Sn=Ve[_0x2441f9(0x382)],ei;function _0x3471(_0x16da53,_0x37a0fa){_0x16da53=_0x16da53-0x94;var _0x416888=_0x4168();var _0x3471bd=_0x416888[_0x16da53];return _0x3471bd;}function gn(){var _0x31cb52=_0x2441f9;return ei||(ei=0x1,function(_0x5d2ff6,_0x4ceb56){(function(_0x34b8a8,_0xef7fa4,_0x45310a){var _0x4529a9=_0x3471;_0x5d2ff6[_0x4529a9(0x382)]=_0xef7fa4(ie(),Ni(),dn(),Ci(),bi());}(Sn,function(_0x102bea){var _0x1576b9=_0x3471;return(function(){var _0x5603ff=_0x3471,_0x330ce6=_0x102bea,_0x5a7c0b=_0x330ce6['lib'],_0x464513=_0x5a7c0b['BlockCipher'],_0x4078a1=_0x330ce6[_0x5603ff(0x305)],_0x1d8e33=[],_0x43c3c7=[],_0x453afe=[],_0x4c638c=[],_0x4e74a3=[],_0x56744a=[],_0x3d4ca5=[],_0x35cddd=[],_0x470379=[],_0x2315c5=[];(function(){for(var _0x4bdb63=[],_0x28c0f6=0x0;_0x28c0f6<0x100;_0x28c0f6++)_0x28c0f6<0x80?_0x4bdb63[_0x28c0f6]=_0x28c0f6<<0x1:_0x4bdb63[_0x28c0f6]=_0x28c0f6<<0x1^0x11b;for(var _0x3b6bc4=0x0,_0x3ae92a=0x0,_0x28c0f6=0x0;_0x28c0f6<0x100;_0x28c0f6++){var _0x1a0212=_0x3ae92a^_0x3ae92a<<0x1^_0x3ae92a<<0x2^_0x3ae92a<<0x3^_0x3ae92a<<0x4;_0x1a0212=_0x1a0212>>>0x8^_0x1a0212&0xff^0x63,_0x1d8e33[_0x3b6bc4]=_0x1a0212,_0x43c3c7[_0x1a0212]=_0x3b6bc4;var _0x4a75fd=_0x4bdb63[_0x3b6bc4],_0x1e8cca=_0x4bdb63[_0x4a75fd],_0x4e276f=_0x4bdb63[_0x1e8cca],_0x1bb3c2=_0x4bdb63[_0x1a0212]*0x101^_0x1a0212*0x1010100;_0x453afe[_0x3b6bc4]=_0x1bb3c2<<0x18|_0x1bb3c2>>>0x8,_0x4c638c[_0x3b6bc4]=_0x1bb3c2<<0x10|_0x1bb3c2>>>0x10,_0x4e74a3[_0x3b6bc4]=_0x1bb3c2<<0x8|_0x1bb3c2>>>0x18,_0x56744a[_0x3b6bc4]=_0x1bb3c2;var _0x1bb3c2=_0x4e276f*0x1010101^_0x1e8cca*0x10001^_0x4a75fd*0x101^_0x3b6bc4*0x1010100;_0x3d4ca5[_0x1a0212]=_0x1bb3c2<<0x18|_0x1bb3c2>>>0x8,_0x35cddd[_0x1a0212]=_0x1bb3c2<<0x10|_0x1bb3c2>>>0x10,_0x470379[_0x1a0212]=_0x1bb3c2<<0x8|_0x1bb3c2>>>0x18,_0x2315c5[_0x1a0212]=_0x1bb3c2,_0x3b6bc4?(_0x3b6bc4=_0x4a75fd^_0x4bdb63[_0x4bdb63[_0x4bdb63[_0x4e276f^_0x4a75fd]]],_0x3ae92a^=_0x4bdb63[_0x4bdb63[_0x3ae92a]]):_0x3b6bc4=_0x3ae92a=0x1;}}());var _0x1b87da=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x39422b=_0x4078a1[_0x5603ff(0x267)]=_0x464513[_0x5603ff(0x16c)]({'_doReset':function(){var _0x193ec7=_0x5603ff,_0x24c082;if(!(this[_0x193ec7(0x11e)]&&this[_0x193ec7(0x179)]===this[_0x193ec7(0x250)])){for(var _0x2d8fd3=this[_0x193ec7(0x179)]=this[_0x193ec7(0x250)],_0x42e103=_0x2d8fd3[_0x193ec7(0x14a)],_0x485d98=_0x2d8fd3[_0x193ec7(0x1fc)]/0x4,_0x1f2e9b=this['_nRounds']=_0x485d98+0x6,_0x1b8edb=(_0x1f2e9b+0x1)*0x4,_0x5e00ef=this[_0x193ec7(0x295)]=[],_0x245336=0x0;_0x245336<_0x1b8edb;_0x245336++)_0x245336<_0x485d98?_0x5e00ef[_0x245336]=_0x42e103[_0x245336]:(_0x24c082=_0x5e00ef[_0x245336-0x1],_0x245336%_0x485d98?_0x485d98>0x6&&_0x245336%_0x485d98==0x4&&(_0x24c082=_0x1d8e33[_0x24c082>>>0x18]<<0x18|_0x1d8e33[_0x24c082>>>0x10&0xff]<<0x10|_0x1d8e33[_0x24c082>>>0x8&0xff]<<0x8|_0x1d8e33[_0x24c082&0xff]):(_0x24c082=_0x24c082<<0x8|_0x24c082>>>0x18,_0x24c082=_0x1d8e33[_0x24c082>>>0x18]<<0x18|_0x1d8e33[_0x24c082>>>0x10&0xff]<<0x10|_0x1d8e33[_0x24c082>>>0x8&0xff]<<0x8|_0x1d8e33[_0x24c082&0xff],_0x24c082^=_0x1b87da[_0x245336/_0x485d98|0x0]<<0x18),_0x5e00ef[_0x245336]=_0x5e00ef[_0x245336-_0x485d98]^_0x24c082);for(var _0x158520=this[_0x193ec7(0x15b)]=[],_0x3ba49f=0x0;_0x3ba49f<_0x1b8edb;_0x3ba49f++){var _0x245336=_0x1b8edb-_0x3ba49f;if(_0x3ba49f%0x4)var _0x24c082=_0x5e00ef[_0x245336];else var _0x24c082=_0x5e00ef[_0x245336-0x4];_0x3ba49f<0x4||_0x245336<=0x4?_0x158520[_0x3ba49f]=_0x24c082:_0x158520[_0x3ba49f]=_0x3d4ca5[_0x1d8e33[_0x24c082>>>0x18]]^_0x35cddd[_0x1d8e33[_0x24c082>>>0x10&0xff]]^_0x470379[_0x1d8e33[_0x24c082>>>0x8&0xff]]^_0x2315c5[_0x1d8e33[_0x24c082&0xff]];}}},'encryptBlock':function(_0x268825,_0x21de31){var _0x2f295a=_0x5603ff;this[_0x2f295a(0x36b)](_0x268825,_0x21de31,this[_0x2f295a(0x295)],_0x453afe,_0x4c638c,_0x4e74a3,_0x56744a,_0x1d8e33);},'decryptBlock':function(_0x5bf8e4,_0x4f08dc){var _0x5f1242=_0x5603ff,_0x361620=_0x5bf8e4[_0x4f08dc+0x1];_0x5bf8e4[_0x4f08dc+0x1]=_0x5bf8e4[_0x4f08dc+0x3],_0x5bf8e4[_0x4f08dc+0x3]=_0x361620,this[_0x5f1242(0x36b)](_0x5bf8e4,_0x4f08dc,this['_invKeySchedule'],_0x3d4ca5,_0x35cddd,_0x470379,_0x2315c5,_0x43c3c7);var _0x361620=_0x5bf8e4[_0x4f08dc+0x1];_0x5bf8e4[_0x4f08dc+0x1]=_0x5bf8e4[_0x4f08dc+0x3],_0x5bf8e4[_0x4f08dc+0x3]=_0x361620;},'_doCryptBlock':function(_0xbc0cac,_0x53c3f9,_0x25674d,_0x11e1da,_0x5bc873,_0x3e5a59,_0x4d7521,_0x4e7d17){var _0x2ef5c2=_0x5603ff;for(var _0x369e57=this[_0x2ef5c2(0x11e)],_0x4cdda8=_0xbc0cac[_0x53c3f9]^_0x25674d[0x0],_0x361999=_0xbc0cac[_0x53c3f9+0x1]^_0x25674d[0x1],_0x37e03c=_0xbc0cac[_0x53c3f9+0x2]^_0x25674d[0x2],_0x71c496=_0xbc0cac[_0x53c3f9+0x3]^_0x25674d[0x3],_0x32d7c6=0x4,_0x5d13f9=0x1;_0x5d13f9<_0x369e57;_0x5d13f9++){var _0x580301=_0x11e1da[_0x4cdda8>>>0x18]^_0x5bc873[_0x361999>>>0x10&0xff]^_0x3e5a59[_0x37e03c>>>0x8&0xff]^_0x4d7521[_0x71c496&0xff]^_0x25674d[_0x32d7c6++],_0x4f2aa9=_0x11e1da[_0x361999>>>0x18]^_0x5bc873[_0x37e03c>>>0x10&0xff]^_0x3e5a59[_0x71c496>>>0x8&0xff]^_0x4d7521[_0x4cdda8&0xff]^_0x25674d[_0x32d7c6++],_0x1b65f4=_0x11e1da[_0x37e03c>>>0x18]^_0x5bc873[_0x71c496>>>0x10&0xff]^_0x3e5a59[_0x4cdda8>>>0x8&0xff]^_0x4d7521[_0x361999&0xff]^_0x25674d[_0x32d7c6++],_0x442f88=_0x11e1da[_0x71c496>>>0x18]^_0x5bc873[_0x4cdda8>>>0x10&0xff]^_0x3e5a59[_0x361999>>>0x8&0xff]^_0x4d7521[_0x37e03c&0xff]^_0x25674d[_0x32d7c6++];_0x4cdda8=_0x580301,_0x361999=_0x4f2aa9,_0x37e03c=_0x1b65f4,_0x71c496=_0x442f88;}var _0x580301=(_0x4e7d17[_0x4cdda8>>>0x18]<<0x18|_0x4e7d17[_0x361999>>>0x10&0xff]<<0x10|_0x4e7d17[_0x37e03c>>>0x8&0xff]<<0x8|_0x4e7d17[_0x71c496&0xff])^_0x25674d[_0x32d7c6++],_0x4f2aa9=(_0x4e7d17[_0x361999>>>0x18]<<0x18|_0x4e7d17[_0x37e03c>>>0x10&0xff]<<0x10|_0x4e7d17[_0x71c496>>>0x8&0xff]<<0x8|_0x4e7d17[_0x4cdda8&0xff])^_0x25674d[_0x32d7c6++],_0x1b65f4=(_0x4e7d17[_0x37e03c>>>0x18]<<0x18|_0x4e7d17[_0x71c496>>>0x10&0xff]<<0x10|_0x4e7d17[_0x4cdda8>>>0x8&0xff]<<0x8|_0x4e7d17[_0x361999&0xff])^_0x25674d[_0x32d7c6++],_0x442f88=(_0x4e7d17[_0x71c496>>>0x18]<<0x18|_0x4e7d17[_0x4cdda8>>>0x10&0xff]<<0x10|_0x4e7d17[_0x361999>>>0x8&0xff]<<0x8|_0x4e7d17[_0x37e03c&0xff])^_0x25674d[_0x32d7c6++];_0xbc0cac[_0x53c3f9]=_0x580301,_0xbc0cac[_0x53c3f9+0x1]=_0x4f2aa9,_0xbc0cac[_0x53c3f9+0x2]=_0x1b65f4,_0xbc0cac[_0x53c3f9+0x3]=_0x442f88;},'keySize':0x100/0x20});_0x330ce6[_0x5603ff(0x267)]=_0x464513[_0x5603ff(0x195)](_0x39422b);}()),_0x102bea[_0x1576b9(0x267)];}));}(Ve)),Ve[_0x31cb52(0x382)];}var Tn=gn();const On=$e(Tn);var Rn=Ni();const ti=$e(Rn);var Je={'exports':{}},Nn=Je[_0x2441f9(0x382)],ii;function Cn(){return ii||(ii=0x1,function(_0x29c5b4,_0xe8944b){(function(_0x1c7bb9,_0xa9a949){var _0xf2a487=_0x3471;_0x29c5b4[_0xf2a487(0x382)]=_0xa9a949(ie());}(Nn,function(_0x4722c6){var _0xb201ec=_0x3471;return _0x4722c6[_0xb201ec(0x2d8)][_0xb201ec(0x316)];}));}(Je)),Je['exports'];}var bn=Cn();const Dn=$e(bn);var Ze={'exports':{}},yn=Ze[_0x2441f9(0x382)],si;function Un(){return si||(si=0x1,function(_0x9c9d65,_0x1d2ed3){(function(_0x1ada79,_0x4d5eb6){var _0x5e642a=_0x3471;_0x9c9d65[_0x5e642a(0x382)]=_0x4d5eb6(ie());}(yn,function(_0x5a9ed3){var _0x106ff0=_0x3471;return(function(){var _0x551324=_0x3471;if(typeof ArrayBuffer==_0x551324(0x22b)){var _0x1fa231=_0x5a9ed3,_0x6d0cb2=_0x1fa231[_0x551324(0x28e)],_0x2d69e7=_0x6d0cb2[_0x551324(0x1ff)],_0x19fe2a=_0x2d69e7[_0x551324(0x260)],_0x244c2a=_0x2d69e7[_0x551324(0x260)]=function(_0x1cf577){var _0x17bc50=_0x551324;if(_0x1cf577 instanceof ArrayBuffer&&(_0x1cf577=new Uint8Array(_0x1cf577)),(_0x1cf577 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1cf577 instanceof Uint8ClampedArray||_0x1cf577 instanceof Int16Array||_0x1cf577 instanceof Uint16Array||_0x1cf577 instanceof Int32Array||_0x1cf577 instanceof Uint32Array||_0x1cf577 instanceof Float32Array||_0x1cf577 instanceof Float64Array)&&(_0x1cf577=new Uint8Array(_0x1cf577['buffer'],_0x1cf577[_0x17bc50(0x1a1)],_0x1cf577[_0x17bc50(0x38a)])),_0x1cf577 instanceof Uint8Array){for(var _0x483a26=_0x1cf577['byteLength'],_0x37e6b6=[],_0x179c4b=0x0;_0x179c4b<_0x483a26;_0x179c4b++)_0x37e6b6[_0x179c4b>>>0x2]|=_0x1cf577[_0x179c4b]<<0x18-_0x179c4b%0x4*0x8;_0x19fe2a['call'](this,_0x37e6b6,_0x483a26);}else _0x19fe2a[_0x17bc50(0x155)](this,arguments);};_0x244c2a[_0x551324(0x14b)]=_0x2d69e7;}}()),_0x5a9ed3['lib'][_0x106ff0(0x1ff)];}));}(Ze)),Ze['exports'];}var An=Un();const Pn=$e(An);var Qe={'exports':{}},wn=Qe[_0x2441f9(0x382)],ni;function Ln(){var _0xefc9f6=_0x2441f9;return ni||(ni=0x1,function(_0x3b5341,_0x3e3d52){(function(_0x3c946f,_0x55c4a9,_0x44aed3){var _0x5bb9da=_0x3471;_0x3b5341[_0x5bb9da(0x382)]=_0x55c4a9(ie(),bi());}(wn,function(_0x3ebda8){var _0x5c1973=_0x3471;return _0x3ebda8[_0x5c1973(0x21a)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3ebda8['pad'][_0x5c1973(0x157)];}));}(Qe)),Qe[_0xefc9f6(0x382)];}var Mn=Ln();const xn=$e(Mn);function kn(_0x59de17,_0x240229){var _0x59e53a=_0x2441f9;const _0x69b4c8=_0x240229-_0x59de17[_0x59e53a(0x158)]%_0x240229,_0x2468bf=String[_0x59e53a(0x12a)](_0x69b4c8)[_0x59e53a(0x18a)](_0x69b4c8);return _0x59de17+_0x2468bf;}function $n(_0x56b152,_0x23709b){var _0x2d5e9c=_0x2441f9;const _0x219014=Pn[_0x2d5e9c(0x272)](0x10),_0x662564=kn(_0x56b152,0x10),_0x36fcc8=On[_0x2d5e9c(0xf9)](Dn['parse'](_0x662564),ti['parse'](_0x23709b),{'iv':_0x219014,'padding':xn});return _0x219014[_0x2d5e9c(0x1ca)](_0x36fcc8['ciphertext'])['toString'](ti);}function Hn(){var _0x3b89dc=_0x2441f9;const _0x435164=_0x2d4eef()[_0x3b89dc(0xc7)];if(typeof window<'u'&&typeof window[_0x3b89dc(0x3b0)]<'u'&&_0x435164){const _0x45dfdd={'time':Math[_0x3b89dc(0x17f)](Date['now']()/0x3e8),'domain':location[_0x3b89dc(0x35d)]};return $n(JSON[_0x3b89dc(0x35b)](_0x45dfdd),_0x435164);}}var Bn=Object[_0x2441f9(0x2bc)],Fn=(_0x585b88,_0x1d771d,_0x121691,_0x5e89a3)=>{var _0x4daa66=_0x2441f9;for(var _0x52498f=_0x5e89a3>0x1?void 0x0:_0x5e89a3?Bn(_0x1d771d,_0x121691):_0x1d771d,_0x4c4cbb=_0x585b88[_0x4daa66(0x158)]-0x1,_0x493c98;_0x4c4cbb>=0x0;_0x4c4cbb--)(_0x493c98=_0x585b88[_0x4c4cbb])&&(_0x52498f=_0x493c98(_0x52498f)||_0x52498f);return _0x52498f;},jn=(_0x220db3,_0x33ec11)=>(_0x47d58b,_0x24119a)=>_0x33ec11(_0x47d58b,_0x24119a,_0x220db3);let at=class{constructor(_0x419acb){var _0x31a9cc=_0x2441f9;this[_0x31a9cc(0x2d5)]=_0x419acb,this[_0x31a9cc(0x153)]();}[_0x2441f9(0x153)](){var _0x818c9b=_0x2441f9;this[_0x818c9b(0x2d5)][_0x818c9b(0x1e0)]({'interceptor':(_0x11694d,_0x49595c)=>{var _0x67322f=_0x818c9b;const _0x366d4c=_0x11694d[_0x67322f(0xa7)],_0x428a9=Hn();return _0x428a9&&_0x366d4c[_0x67322f(0xfe)](_0x67322f(0xfc),_0x428a9),_0x49595c(_0x11694d);}});}};at=Fn([jn(0x0,_0x52cfb7(_0xacb381))],at);var Vn=Object[_0x2441f9(0x2bc)],Gn=(_0x3c7ff8,_0x457aad,_0x4781ec,_0x930245)=>{var _0x14f097=_0x2441f9;for(var _0x311f7e=_0x930245>0x1?void 0x0:_0x930245?Vn(_0x457aad,_0x4781ec):_0x457aad,_0x46613c=_0x3c7ff8[_0x14f097(0x158)]-0x1,_0x4c8462;_0x46613c>=0x0;_0x46613c--)(_0x4c8462=_0x3c7ff8[_0x46613c])&&(_0x311f7e=_0x4c8462(_0x311f7e)||_0x311f7e);return _0x311f7e;},vt=(_0x1b1a81,_0x1144d4)=>(_0x495898,_0x1b9eb8)=>_0x1144d4(_0x495898,_0x1b9eb8,_0x1b1a81);let Ot=class extends _0x12f467{constructor(_0x378689,_0x4f0467,_0x2b76ad){var _0x4c5346=_0x2441f9;super(),D(this,_0x4c5346(0xeb),new _0x52b67b(null)),D(this,_0x4c5346(0x241),this[_0x4c5346(0xeb)][_0x4c5346(0xee)]()),(this[_0x4c5346(0x1f3)]=_0x378689,this[_0x4c5346(0x30e)]=_0x4f0467,this[_0x4c5346(0x97)]=_0x2b76ad);}async['loadUnitOfRevision'](_0x5748bf,_0x5bfc06,_0x43a415){var _0x316e8b=_0x2441f9;this[_0x316e8b(0xeb)][_0x316e8b(0x270)]({'unitId':_0x5748bf,'type':_0x5bfc06});let _0x48190e=null;switch(_0x5bfc06){case Q[_0x316e8b(0x110)]:{_0x48190e=await this[_0x316e8b(0x30e)][_0x316e8b(0x2b6)](_0x5748bf,_0x43a415);break;}case Q[_0x316e8b(0x1e5)]:{_0x48190e=await this[_0x316e8b(0x30e)][_0x316e8b(0x2f5)](_0x5748bf,_0x43a415);break;}default:{this['_logService']['error'](_0x316e8b(0x33e),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x48190e;}async[_0x2441f9(0xca)](_0x7b8078,_0x123859,_0xfc4d55){var _0x9c2059=_0x2441f9,_0x47f8fb;this['_unitInfo$']['next']({'unitId':_0x7b8078,'type':_0x123859,'subUnitId':_0xfc4d55});let _0x1a6884=0x0;const _0x55edee=await((_0x47f8fb=this[_0x9c2059(0x97)])==null?void 0x0:_0x47f8fb[_0x9c2059(0x15a)](_0x7b8078));return _0x55edee&&(_0x55edee[_0x9c2059(0x235)]||_0x55edee[_0x9c2059(0x29b)][_0x9c2059(0x158)]!==0x0)&&(_0x1a6884=_0x55edee[_0x9c2059(0x329)]),_0x1a6884===0x0&&this[_0x9c2059(0x1f3)][_0x9c2059(0x39f)](_0x9c2059(0x33e),_0x9c2059(0x3ca)),this[_0x9c2059(0x10e)](_0x7b8078,_0x123859,_0x1a6884);}};Ot=Gn([vt(0x0,_0x5a9074),vt(0x1,_0x52cfb7(_0x246c29)),vt(0x2,_0x273dbc(X))],Ot);var Wn=Object[_0x2441f9(0x2bc)],Yn=(_0x31b0df,_0x23a847,_0x23d4f6,_0x18308a)=>{for(var _0x2f6d77=_0x18308a>0x1?void 0x0:_0x18308a?Wn(_0x23a847,_0x23d4f6):_0x23a847,_0x1d4fe5=_0x31b0df['length']-0x1,_0x47afff;_0x1d4fe5>=0x0;_0x1d4fe5--)(_0x47afff=_0x31b0df[_0x1d4fe5])&&(_0x2f6d77=_0x47afff(_0x2f6d77)||_0x2f6d77);return _0x2f6d77;},Et=(_0x1c346d,_0x2def7a)=>(_0x141bcf,_0x57e992)=>_0x2def7a(_0x141bcf,_0x57e992,_0x1c346d);const Kn=[_0x2441f9(0x366),_0x2441f9(0x1dc),'image/jpg',_0x2441f9(0x143),_0x2441f9(0x132)],qn=0x5*0x400*0x400,zn=_0x2441f9(0x10a),Xn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0xb73021,_0x3f6d6d,_0x16bfa8){var _0x4d94a5=_0x2441f9;D(this,_0x4d94a5(0xec),0x0),D(this,_0x4d94a5(0x10f),new _0x12b55a()),D(this,_0x4d94a5(0x167),this[_0x4d94a5(0x10f)]),D(this,_0x4d94a5(0xde),new Map()),(this[_0x4d94a5(0x2d5)]=_0xb73021,this['_configService']=_0x3f6d6d,this[_0x4d94a5(0x189)]=_0x16bfa8);}[_0x2441f9(0x140)](_0x1438ef){var _0x33da59=_0x2441f9;this[_0x33da59(0xec)]=_0x1438ef,this[_0x33da59(0x10f)][_0x33da59(0x270)](_0x1438ef);}['getImageSourceCache'](_0x71e3b3,_0x2a26cd){var _0x42ff58=_0x2441f9;if(_0x2a26cd===_0x550656[_0x42ff58(0x313)]){const _0x5ad49f=new Image();return _0x5ad49f[_0x42ff58(0x365)]=_0x71e3b3,_0x5ad49f;}return this['_imageSourceCache']['get'](_0x71e3b3);}[_0x2441f9(0x367)](_0x20df2d,_0x387580,_0x22f8ab){var _0x2caa31=_0x2441f9;_0x387580===_0x550656[_0x2caa31(0x313)]||_0x22f8ab==null||this[_0x2caa31(0xde)]['set'](_0x20df2d,_0x22f8ab);}async[_0x2441f9(0x190)](_0x3e34c6){var _0x212c79=_0x2441f9;try{const _0x3c10dd=this[_0x212c79(0x321)](this['_getSignURL'](),''+_0x3e34c6),_0x43d993=(await this[_0x212c79(0x2d5)]['get'](_0x3c10dd))['body'];if(_0x43d993[_0x212c79(0x3a5)]&&_0x43d993[_0x212c79(0x3a5)][_0x212c79(0x22a)]===vi['OK']){const _0x33faee=_0x21c242(_0x43d993[_0x212c79(0x319)],this['_getDownloadEndpointURL']());return Promise[_0x212c79(0x3c4)](_0x33faee);}return Promise[_0x212c79(0x1d6)](_0x43d993[_0x212c79(0x3a5)]);}catch(_0x4bc41c){return Promise[_0x212c79(0x1d6)](_0x4bc41c);}}async['saveImage'](_0x1b6610){var _0x405a41=_0x2441f9;let _0x2fa452='';if(!Kn[_0x405a41(0x3b1)](_0x1b6610[_0x405a41(0x34a)]))return this[_0x405a41(0x25d)](),Promise['reject'](new Error(_0x22d6fe[_0x405a41(0x26b)]));if(_0x1b6610[_0x405a41(0x322)]>qn)return this[_0x405a41(0x25d)](),Promise[_0x405a41(0x1d6)](new Error(_0x22d6fe[_0x405a41(0x1f6)]));try{const _0x1e4efd=new FormData();_0x1e4efd[_0x405a41(0x378)](_0x405a41(0x202),_0x1b6610);const _0x507ea9=this[_0x405a41(0x189)][_0x405a41(0x397)](),_0x15e4ff=_0x507ea9==null?void 0x0:_0x507ea9[_0x405a41(0x310)]();if(!_0x15e4ff)throw new Error(_0x405a41(0x196));const _0x297963=this[_0x405a41(0x201)]()+_0x405a41(0x3a3)+_0x1b6610['size'][_0x405a41(0x25e)]()+_0x405a41(0x1b5)+Ei['UnitEmbedded']+'&assign='+encodeURIComponent(_0x15e4ff),_0x45ed03={'body':_0x1e4efd},_0x4647e7=(await this[_0x405a41(0x2d5)]['post'](_0x297963,_0x45ed03))['body'];if(typeof _0x4647e7['FileId']!='string')return this[_0x405a41(0x25d)](),Promise[_0x405a41(0x1d6)](new Error(_0x22d6fe[_0x405a41(0x26f)]));_0x2fa452=_0x4647e7[_0x405a41(0x1c3)];}catch{return this[_0x405a41(0x25d)](),Promise[_0x405a41(0x1d6)](new Error(_0x22d6fe[_0x405a41(0x26f)]));}return new Promise((_0x1e42a2,_0x3deee8)=>{var _0x513235=_0x405a41;const _0x2de248=new FileReader();_0x2de248['readAsDataURL'](_0x1b6610),_0x2de248[_0x513235(0x248)]=_0x31063e=>{var _0xa08447=_0x513235,_0x151fbb;const _0x2a3e1f=(_0x151fbb=_0x31063e['target'])==null?void 0x0:_0x151fbb[_0xa08447(0x181)];if(_0x2a3e1f==null){this[_0xa08447(0x25d)](),_0x3deee8(new Error(_0x22d6fe[_0xa08447(0x26f)]));return;}const _0x14d5cf=_0x4b4c01(0x6);_0x1e42a2({'imageId':_0x14d5cf,'imageSourceType':_0x550656[_0xa08447(0x177)],'source':_0x2fa452,'base64Cache':_0x2a3e1f,'status':_0x22d6fe[_0xa08447(0xc6)]}),this[_0xa08447(0x25d)]();};});}[_0x2441f9(0x201)](){var _0x1873ac=_0x2441f9,_0x1153a3;const _0x292e8c=this[_0x1873ac(0x137)][_0x1873ac(0xb4)](K);return(_0x1153a3=_0x292e8c==null?void 0x0:_0x292e8c[_0x1873ac(0x145)])!=null?_0x1153a3:zn;}[_0x2441f9(0x283)](){var _0x3c8075=_0x2441f9,_0x136ed6;const _0x5be0fd=this['_configService'][_0x3c8075(0xb4)](K);return(_0x136ed6=_0x5be0fd==null?void 0x0:_0x5be0fd[_0x3c8075(0x252)])!=null?_0x136ed6:Xn;}[_0x2441f9(0x340)](){var _0x43ed16=_0x2441f9,_0x52c0f0;const _0x4d72e1=this[_0x43ed16(0x137)][_0x43ed16(0xb4)](K);return(_0x52c0f0=_0x4d72e1==null?void 0x0:_0x4d72e1[_0x43ed16(0x2a5)])!=null?_0x52c0f0:location[_0x43ed16(0x20b)];}[_0x2441f9(0x321)](_0x4d3b79,_0x45c95f){var _0x440688=_0x2441f9;return _0x4d3b79[_0x440688(0x3a1)]('{fileID}',_0x45c95f);}[_0x2441f9(0x25d)](){var _0x26c44b=_0x2441f9;this[_0x26c44b(0xec)]-=0x1,this[_0x26c44b(0x10f)][_0x26c44b(0x270)](this[_0x26c44b(0xec)]);}};Rt=Yn([Et(0x0,_0x52cfb7(_0xacb381)),Et(0x1,_0x328306),Et(0x2,_0x52cfb7(_0x1dfd8a))],Rt);var Jn=Object[_0x2441f9(0x2bc)],Zn=(_0x421a42,_0x44e04e,_0x423222,_0x52c56c)=>{var _0x4f1f72=_0x2441f9;for(var _0x22ccb5=_0x52c56c>0x1?void 0x0:_0x52c56c?Jn(_0x44e04e,_0x423222):_0x44e04e,_0x1b5ff3=_0x421a42[_0x4f1f72(0x158)]-0x1,_0x5e5342;_0x1b5ff3>=0x0;_0x1b5ff3--)(_0x5e5342=_0x421a42[_0x1b5ff3])&&(_0x22ccb5=_0x5e5342(_0x22ccb5)||_0x22ccb5);return _0x22ccb5;},ri=(_0x396149,_0x362fe1)=>(_0x245404,_0x27d618)=>_0x362fe1(_0x245404,_0x27d618,_0x396149);const Qn=_0x2441f9(0x37f);let Nt=class{constructor(_0x51588e,_0x4ef72b){var _0x5ac503=_0x2441f9;this[_0x5ac503(0x137)]=_0x51588e,this[_0x5ac503(0x1d7)]=_0x4ef72b;}[_0x2441f9(0x28d)](){var _0x46c90c=_0x2441f9,_0x452cee;const _0x59f80e=this[_0x46c90c(0x137)][_0x46c90c(0xb4)](K);return(_0x452cee=_0x59f80e==null?void 0x0:_0x59f80e['authzUrl'])!=null?_0x452cee:Qn;}async[_0x2441f9(0x142)](_0x2c276c){var _0x257259=_0x2441f9;const _0x5a8afb=this['_getAPIPrefixPath']()+_0x257259(0x94);return{'list':[{'title':_0x257259(0x29d),'mentions':(await this[_0x257259(0x1d7)][_0x257259(0x222)](_0x5a8afb,{'params':{'objectID':_0x2c276c[_0x257259(0x27d)],'unitID':_0x2c276c[_0x257259(0x27d)]}}))[_0x257259(0x38b)][_0x257259(0x230)][_0x257259(0x26a)](_0x38aa4c=>({'objectId':_0x38aa4c['id'],'name':_0x38aa4c[_0x257259(0x28c)][_0x257259(0x3a4)],'metadata':{'icon':_0x38aa4c['subject'][_0x257259(0x380)]},'label':_0x38aa4c[_0x257259(0x28c)]['name'],'objectType':_0x54465f[_0x257259(0x31c)]})),'metadata':{},'type':_0x54465f['PERSON']}]};}};Nt=Zn([ri(0x0,_0x52cfb7(_0x328306)),ri(0x1,_0x52cfb7(_0xacb381))],Nt);var er=Object[_0x2441f9(0x2bc)],tr=(_0x2a4446,_0x431f75,_0x139fd9,_0x1c7586)=>{for(var _0x1ad4ea=_0x1c7586>0x1?void 0x0:_0x1c7586?er(_0x431f75,_0x139fd9):_0x431f75,_0x4d06fb=_0x2a4446['length']-0x1,_0x4560a2;_0x4d06fb>=0x0;_0x4d06fb--)(_0x4560a2=_0x2a4446[_0x4d06fb])&&(_0x1ad4ea=_0x4560a2(_0x1ad4ea)||_0x1ad4ea);return _0x1ad4ea;},Ue=(_0x53b045,_0xeeae41)=>(_0x240f0c,_0x4dfb3f)=>_0xeeae41(_0x240f0c,_0x4dfb3f,_0x53b045);let ot=class extends _0x12f467{constructor(_0x424249,_0xaee2a3,_0x25d9fe,_0x582fad,_0x396e69){var _0x14ae44=_0x2441f9;super(),this[_0x14ae44(0x120)]=_0x424249,this['_univerInstanceService']=_0xaee2a3,this[_0x14ae44(0x384)]=_0x25d9fe,this[_0x14ae44(0x385)]=_0x582fad,this[_0x14ae44(0x3cd)]=_0x396e69,this['_initUnitPermissionChange'](),this[_0x14ae44(0x2e4)]();}[_0x2441f9(0x2e4)](){var _0x45f1d1=_0x2441f9;const _0x2c8db1=async _0x36685f=>{var _0x18bca2=_0x3471;(await this[_0x18bca2(0x385)][_0x18bca2(0xd0)](_0x36685f))[_0x18bca2(0x18f)]['pipe'](_0x12d299(_0x1523e1=>_0x1523e1[_0x18bca2(0x297)]===_0x12397d['SHOULD_CLOSE_CONN']),_0x5d9e65(this['dispose$']))[_0x18bca2(0x34f)](_0x445109=>{var _0x12896a=_0x18bca2;const _0x17141a=_0x445109,{reason:_0x309f1e}=_0x17141a[_0x12896a(0xf0)];this[_0x12896a(0x3cd)][_0x12896a(0x31f)]({'id':re[_0x12896a(0x1e1)],'data':_0x309f1e}),this['_permissionService'][_0x12896a(0x1d8)](new _0x3c8993(_0x36685f)['id'],!0x1),this['_collaborationSessionService'][_0x12896a(0x328)](_0x36685f);});};_0x5a45a0(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2ddda7[_0x45f1d1(0x110)]),this[_0x45f1d1(0x189)][_0x45f1d1(0xbd)](_0x2ddda7[_0x45f1d1(0x1e5)]))[_0x45f1d1(0x3b2)](_0xe994cc(_0x5ce9f2=>_0x5ce9f2[_0x45f1d1(0x310)]()),_0x12d299(_0x2508bf=>!_0x2bc118(_0x2508bf)),_0x5d9e65(this[_0x45f1d1(0x25a)]))['subscribe'](_0xa5cbb4=>{_0x2c8db1(_0xa5cbb4);});}[_0x2441f9(0x17d)](){var _0x1cc994=_0x2441f9;const _0x55676f=async _0x23b60c=>{var _0x5705ba=_0x3471;const _0x8461c9=await this[_0x5705ba(0x385)][_0x5705ba(0xd0)](_0x23b60c),_0x3e3270=this[_0x5705ba(0x120)]['get'](_0x1b0814);_0x8461c9[_0x5705ba(0x18f)][_0x5705ba(0x3b2)](_0x12d299(_0x5a2337=>_0x5a2337[_0x5705ba(0x297)]===_0x12397d[_0x5705ba(0x39e)]),_0x5d9e65(this[_0x5705ba(0x25a)]))[_0x5705ba(0x34f)](_0x592c00=>{var _0xc0ac88=_0x5705ba;const _0x18e03d=_0x592c00,{objectId:_0x3e44b0}=_0x18e03d[_0xc0ac88(0xf0)];_0x3e44b0===_0x23b60c?_0x3e3270[_0xc0ac88(0x26c)](_0x23b60c):_0x3e3270[_0xc0ac88(0x1e8)](_0x23b60c,_0x3e44b0);});};_0x5a45a0(this[_0x1cc994(0x189)][_0x1cc994(0xbd)](_0x2ddda7[_0x1cc994(0x110)]))['pipe'](_0xe994cc(_0x419e89=>_0x419e89[_0x1cc994(0x310)]()),_0x12d299(_0x29cb32=>!_0x2bc118(_0x29cb32)),_0x5d9e65(this['dispose$']))[_0x1cc994(0x34f)](_0x2ca9fa=>{_0x55676f(_0x2ca9fa);});}};ot=tr([Ue(0x0,_0x52cfb7(_0x395e58)),Ue(0x1,_0x1dfd8a),Ue(0x2,_0x9ee13b),Ue(0x3,_0x52cfb7(we)),Ue(0x4,_0x52cfb7(ve))],ot);var ir=Object[_0x2441f9(0x2bc)],sr=(_0x3a06ad,_0x373d1b,_0x2ec312,_0x26816b)=>{for(var _0x59a99b=_0x26816b>0x1?void 0x0:_0x26816b?ir(_0x373d1b,_0x2ec312):_0x373d1b,_0x10aecd=_0x3a06ad['length']-0x1,_0xdb928d;_0x10aecd>=0x0;_0x10aecd--)(_0xdb928d=_0x3a06ad[_0x10aecd])&&(_0x59a99b=_0xdb928d(_0x59a99b)||_0x59a99b);return _0x59a99b;},ai=(_0x51461c,_0x1e711a)=>(_0x70eff2,_0x29e4ab)=>_0x1e711a(_0x70eff2,_0x29e4ab,_0x51461c);let Ct=class{constructor(_0x3fe2d1,_0x2b6b9f){var _0xfd28b0=_0x2441f9;this[_0xfd28b0(0x137)]=_0x3fe2d1,this[_0xfd28b0(0x2d5)]=_0x2b6b9f;}async['getUnitOnRev'](_0x2a7196,_0x95b247){var _0x24793c=_0x2441f9,_0x3779ae;const {unitID:_0x4f27e0,type:_0x62b715,revision:_0x3b1171=0x0}=_0x95b247,_0xf78eb6=this[_0x24793c(0x128)]()+'/'+_0x62b715+_0x24793c(0x2cd)+_0x4f27e0+_0x24793c(0xda)+_0x3b1171,_0x2a0efa=(await this[_0x24793c(0x2d5)][_0x24793c(0x222)](_0xf78eb6))[_0x24793c(0x38b)],_0xa55084=(_0x3779ae=_0x2a0efa[_0x24793c(0xe6)])==null?void 0x0:_0x3779ae[_0x24793c(0xe0)];if(_0xa55084){const _0x29ae9d=_0xa55084==null?void 0x0:_0xa55084[_0x24793c(0x174)],_0x348640=_0x46f027[_0x24793c(0x3bc)](_0x3c0f58(_0x29ae9d));_0xa55084['originalMeta']=_0x348640,Object['entries'](_0xa55084[_0x24793c(0x11f)])[_0x24793c(0x22e)](([,_0x33f2ee])=>{var _0x19d37f=_0x24793c;const _0x2b3af3=_0x33f2ee[_0x19d37f(0x174)],_0x56c950=_0x46f027['encode'](_0x3c0f58(_0x2b3af3));_0x33f2ee[_0x19d37f(0x174)]=_0x56c950;});}return _0x2a0efa;}async[_0x2441f9(0xc9)](_0x262a0f,_0x5c9113){var _0x4aaddc=_0x2441f9;const {unitID:_0xf6589b,type:_0x49e7ad,blockID:_0x3edb7d}=_0x5c9113,_0x7a6866=this[_0x4aaddc(0x1c7)]()+'/'+_0x49e7ad+_0x4aaddc(0x2cd)+_0xf6589b+_0x4aaddc(0x31d)+_0x3edb7d;return(await this[_0x4aaddc(0x2d5)][_0x4aaddc(0x222)](_0x7a6866))[_0x4aaddc(0x38b)];}async[_0x2441f9(0x38f)](_0x230657,_0xd5f52f){var _0x97bf77=_0x2441f9;const {unitID:_0x3546f8,type:_0x353f08,blockID:_0x3a0bd9}=_0xd5f52f,_0x42ffce=this[_0x97bf77(0x1c7)]()+_0x97bf77(0x31d)+_0x353f08+_0x97bf77(0x2cd)+_0x3546f8+_0x97bf77(0x31d)+_0x3a0bd9;return(await this[_0x97bf77(0x2d5)][_0x97bf77(0x222)](_0x42ffce))['body'];}async[_0x2441f9(0x123)](_0x1a2b87,_0x1ba807){var _0x8524cf=_0x2441f9;const {unitID:_0x2ad785,type:_0x34d656,from:_0x2631a7,to:_0x21e934}=_0x1ba807,_0x1096cd=this[_0x8524cf(0x1c7)]()+'/'+_0x34d656+_0x8524cf(0x2cd)+_0x2ad785+_0x8524cf(0x1a6)+_0x2631a7+_0x8524cf(0x246)+_0x21e934;return(await this[_0x8524cf(0x2d5)][_0x8524cf(0x222)](_0x1096cd))[_0x8524cf(0x38b)];}[_0x2441f9(0x128)](){var _0x1f8536=_0x2441f9,_0x366823;return(_0x366823=this[_0x1f8536(0x137)]['getConfig'](ps))!=null?_0x366823:this[_0x1f8536(0x1c7)]();}['_getAPIPrefix'](){var _0xba02f4=_0x2441f9,_0x1b56ed;const _0xe83e4e=this['_configService'][_0xba02f4(0xb4)](K);return(_0x1b56ed=_0xe83e4e==null?void 0x0:_0xe83e4e['snapshotServerUrl'])!=null?_0x1b56ed:Es;}async[_0x2441f9(0x274)](_0x350239,_0x35f865){var _0x2024f4=_0x2441f9;const _0x556b0b=_0x2024f4(0x182)+_0x35f865[_0x2024f4(0x34a)]+_0x2024f4(0x2cd)+_0x35f865[_0x2024f4(0x39c)]+'/resources';return(await this[_0x2024f4(0x2d5)][_0x2024f4(0x222)](_0x556b0b,{'params':{'resourceId':JSON[_0x2024f4(0x35b)](_0x35f865[_0x2024f4(0x1f1)])}}))[_0x2024f4(0x38b)];}[_0x2441f9(0x220)](){var _0x453126=_0x2441f9;throw new Error(_0x453126(0x292));}[_0x2441f9(0x198)](){var _0x1a564b=_0x2441f9;throw new Error(_0x1a564b(0x292));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2441f9(0x2e0)](){var _0x495da5=_0x2441f9;throw new Error(_0x495da5(0x292));}['copyFileMeta'](){var _0x519a4f=_0x2441f9;throw new Error(_0x519a4f(0x292));}[_0x2441f9(0x134)](){var _0x3202a4=_0x2441f9;throw new Error(_0x3202a4(0x292));}};Ct=sr([ai(0x0,_0x328306),ai(0x1,_0x52cfb7(_0xacb381))],Ct);var nr=Object[_0x2441f9(0x2bc)],rr=(_0x493554,_0x25323a,_0x5564c0,_0x1149ef)=>{for(var _0x5dbb22=_0x1149ef>0x1?void 0x0:_0x1149ef?nr(_0x25323a,_0x5564c0):_0x25323a,_0x4f48cd=_0x493554['length']-0x1,_0x3d1078;_0x4f48cd>=0x0;_0x4f48cd--)(_0x3d1078=_0x493554[_0x4f48cd])&&(_0x5dbb22=_0x3d1078(_0x5dbb22)||_0x5dbb22);return _0x5dbb22;},Ae=(_0x3ac148,_0x2263ff)=>(_0x31cafa,_0x78940a)=>_0x2263ff(_0x31cafa,_0x78940a,_0x3ac148);let bt=class extends _0x8e8f90{constructor(_0x17a429,_0x4de0c9,_0x17e319,_0x1af6b1,_0x5df3ab){var _0x497ab4=_0x2441f9;super(_0x17a429,_0x4de0c9,_0x17e319),this[_0x497ab4(0x2fc)]=_0x1af6b1,this[_0x497ab4(0x1f3)]=_0x5df3ab;}[_0x2441f9(0x2a3)](_0x37107a,_0x221338){var _0x36f23c=_0x2441f9;const _0x2f6ad6=this[_0x36f23c(0x2fe)](_0x37107a);if(_0x2f6ad6)try{const _0x20ac5b=this[_0x36f23c(0x113)](_0x2f6ad6,_0x221338);this[_0x36f23c(0x37d)](_0x37107a,_0x20ac5b);}catch(_0xfbe425){this[_0x36f23c(0x1f3)]['error'](_0x36f23c(0x35c),_0xfbe425),this['_clearUndo'](_0x37107a);}const _0x501bce=this[_0x36f23c(0x1aa)](_0x37107a);if(_0x501bce)try{const _0x11adf6=this[_0x36f23c(0x113)](_0x501bce,_0x221338);this[_0x36f23c(0x2c2)](_0x37107a,_0x11adf6);}catch(_0x19b566){this[_0x36f23c(0x1f3)][_0x36f23c(0x3a5)](_0x19b566),this[_0x36f23c(0x2bd)](_0x37107a);}}[_0x2441f9(0x1ce)](_0x3af159){var _0x13de60=_0x2441f9;const _0x28a2a3=this[_0x13de60(0x2fe)](_0x3af159);_0x28a2a3&&(_0x28a2a3['length']=0x0,this[_0x13de60(0x27a)]());}[_0x2441f9(0x2bd)](_0x22e487){const _0x8f77ae=this['_getRedoStack'](_0x22e487);_0x8f77ae&&(_0x8f77ae['length']=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x4dc49a,_0x1a04d3){var _0x52940c=_0x2441f9;this[_0x52940c(0x29a)][_0x52940c(0xfe)](_0x4dc49a,_0x1a04d3),this[_0x52940c(0x27a)]();}[_0x2441f9(0x2c2)](_0x3230c3,_0xb8836e){var _0x180c8e=_0x2441f9;this[_0x180c8e(0xff)][_0x180c8e(0xfe)](_0x3230c3,_0xb8836e),this['_updateStatus']();}[_0x2441f9(0x113)](_0x3eb132,_0x453178){var _0x38cc13=_0x2441f9;const _0x33b034=[];let _0x275131=_0x453178,_0x917551=_0x453178;for(let _0x50cda4=_0x3eb132[_0x38cc13(0x158)]-0x1;_0x50cda4>=0x0;_0x50cda4--){const {unitID:_0x5d0ca6,undoMutations:_0x3d03cb,redoMutations:_0x16efe4}=_0x3eb132[_0x50cda4],_0x263e22=this[_0x38cc13(0x2fc)][_0x38cc13(0x163)](_0x275131,_0x3d03cb),_0xfa2a4d=this[_0x38cc13(0x2fc)][_0x38cc13(0x163)](_0x917551,_0x16efe4);if(_0x6d8ad2(_0x263e22)||_0x6d8ad2(_0xfa2a4d)){this[_0x38cc13(0x1f3)][_0x38cc13(0x3a5)](_0x38cc13(0x35c),_0x38cc13(0x3a8),_0x263e22,_0xfa2a4d);break;}_0x275131=_0x263e22['c1Prime'],_0x917551=_0xfa2a4d[_0x38cc13(0x1a2)],_0x33b034[_0x38cc13(0x2d9)]({'unitID':_0x5d0ca6,'undoMutations':_0x263e22['m2Prime'],'redoMutations':_0xfa2a4d[_0x38cc13(0x159)]});}return _0x33b034[_0x38cc13(0x9f)]();}};bt=rr([Ae(0x0,_0x1dfd8a),Ae(0x1,_0x56439f),Ae(0x2,_0x3645ae),Ae(0x3,_0x32916a),Ae(0x4,_0x5a9074)],bt);var ar=Object[_0x2441f9(0x39d)],or=Object['getOwnPropertyDescriptor'],cr=(_0x23532e,_0x276060,_0x26a62d)=>_0x276060 in _0x23532e?ar(_0x23532e,_0x276060,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x26a62d}):_0x23532e[_0x276060]=_0x26a62d,_r=(_0x527fdd,_0x2461a2,_0x2eb098,_0x244601)=>{var _0x21dfca=_0x2441f9;for(var _0x29905f=_0x244601>0x1?void 0x0:_0x244601?or(_0x2461a2,_0x2eb098):_0x2461a2,_0x491b86=_0x527fdd[_0x21dfca(0x158)]-0x1,_0x3a7542;_0x491b86>=0x0;_0x491b86--)(_0x3a7542=_0x527fdd[_0x491b86])&&(_0x29905f=_0x3a7542(_0x29905f)||_0x29905f);return _0x29905f;},pt=(_0x195c56,_0x4001d5)=>(_0x66cd8c,_0x2c7e99)=>_0x4001d5(_0x66cd8c,_0x2c7e99,_0x195c56),hr=(_0x5270a1,_0x10b9fb,_0x5c7f29)=>cr(_0x5270a1,_0x10b9fb+'',_0x5c7f29);const lr=_0x2441f9(0x16a);let Dt=class extends _0x101eb7{constructor(_0x42be00,_0x5ca25e,_0x28b435,_0x35b021){var _0x2c2f74=_0x2441f9;super(),D(this,_0x2c2f74(0x285)),(this['_logService']=_0x5ca25e,this[_0x2c2f74(0x120)]=_0x28b435,this[_0x2c2f74(0x137)]=_0x35b021);const {..._0x5ac594}=_0x46c0e3({},ks,_0x42be00);if(!_0x5ac594[_0x2c2f74(0xe9)])throw new Error(_0x2c2f74(0xbb));this[_0x2c2f74(0x285)]=_0x5ac594,this[_0x2c2f74(0x137)][_0x2c2f74(0x352)](K,_0x5ac594);}[_0x2441f9(0x239)](){var _0x277d3c=_0x2441f9;this[_0x277d3c(0x399)](),this[_0x277d3c(0x338)]();}[_0x2441f9(0x399)](){var _0x506814=_0x2441f9,_0x40646c,_0x41848e;this[_0x506814(0x120)][_0x506814(0x135)](_0x2e0c07)&&this[_0x506814(0x1f3)][_0x506814(0x3a5)](_0x506814(0x2f0),_0x506814(0x23a));const _0x1a788d=_0x2df2e6([[_0x2e0c07,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this['_config'][_0x506814(0xe9)]}],[_0x2dc9c3,{'useClass':Ct}],[_0x29b7be,{'useClass':Tt}],[_0x18f5bc,{'useClass':Rt}],[_0x346bf2,{'useClass':Nt}],[nt],[gt]],(_0x40646c=this[_0x506814(0x285)])==null?void 0x0:_0x40646c[_0x506814(0xe4)]);if(!((_0x41848e=this['_config'])!=null&&_0x41848e['enableSingleActiveInstanceLock'])){const _0x327c1e=_0x1a788d[_0x506814(0x20a)](([_0x17d2a])=>_0x17d2a===_t);_0x327c1e!==-0x1&&_0x1a788d['splice'](_0x327c1e,0x1);}_0x30ffe6(this[_0x506814(0x120)],_0x1a788d);}['_initDependencies'](){var _0x34a96c=_0x2441f9,_0x5ab5bc,_0x434aab,_0x2c5d0c;this[_0x34a96c(0x120)]['get'](_0xacb381)[_0x34a96c(0x1e0)]({'priority':0x14,'interceptor':_0x2994c2({'maxParallel':0x6})}),(_0x5ab5bc=this[_0x34a96c(0x285)])!=null&&_0x5ab5bc[_0x34a96c(0x3c7)]||(_0x434aab=this[_0x34a96c(0x120)][_0x34a96c(0x222)](X,_0x3af328[_0x34a96c(0x1c5)]))==null||_0x434aab[_0x34a96c(0x2b0)](),(_0x2c5d0c=this[_0x34a96c(0x285)])!=null&&_0x2c5d0c[_0x34a96c(0x161)]&&_0x2d25d0(this[_0x34a96c(0x120)],[[rt]]),_0x2d25d0(this['_injector'],[[at],[nt],[ot]]);}};hr(Dt,_0x2441f9(0x24b),lr),Dt=_r([_0x5643a(_0x21fdb5,_0xa5f97f),pt(0x1,_0x5a9074),pt(0x2,_0x52cfb7(_0x395e58)),pt(0x3,_0x328306)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,pi as CommentService,ue as ConflictState,Is as DEFAULT_COLLAB_WEB_SOCKET_URL,br as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Or as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Ss as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Vs as INetworkConditionService,_t as ISingleActiveUnitService,Nr as LOCAL_CACHE_INTERVAL,Rr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,Cr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Os as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ct as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Gs as deserializeToCombResponse,Dr as getLocalCacheKey,Ws as serializeCombRequest};
|