@univerjs-pro/collaboration-client 0.8.0-nightly.202506051607 → 0.8.0-nightly.202506061607
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/en-US.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/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/en-US.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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.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/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x72bb68=_0x3e8b;(function(_0x10bfbe,_0x1c68ac){var _0xba57b1=_0x3e8b,_0x14831b=_0x10bfbe();while(!![]){try{var _0x4d4b0e=parseInt(_0xba57b1(0x288))/0x1+parseInt(_0xba57b1(0x382))/0x2+parseInt(_0xba57b1(0x256))/0x3+parseInt(_0xba57b1(0x33d))/0x4+parseInt(_0xba57b1(0x2de))/0x5+-parseInt(_0xba57b1(0x1e5))/0x6*(parseInt(_0xba57b1(0x7f))/0x7)+-parseInt(_0xba57b1(0x2a2))/0x8;if(_0x4d4b0e===_0x1c68ac)break;else _0x14831b['push'](_0x14831b['shift']());}catch(_0x84d373){_0x14831b['push'](_0x14831b['shift']());}}}(_0x3795,0x63ed3));var Di=Object['defineProperty'],Ui=(_0x377946,_0x133c06,_0x22bec0)=>_0x133c06 in _0x377946?Di(_0x377946,_0x133c06,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22bec0}):_0x377946[_0x133c06]=_0x22bec0,N=(_0x3f7274,_0x1b4f29,_0x5b6525)=>Ui(_0x3f7274,typeof _0x1b4f29!=_0x72bb68(0x385)?_0x1b4f29+'':_0x1b4f29,_0x5b6525);import{createIdentifier as _0x478483,Inject as _0x41311f,Injector as _0x4cac68,IConfigService as _0x19233d,ILogService as _0x39af9e,Disposable as _0x3b479f,DisposableCollection as _0x15e9f0,toDisposable as _0x6a388a,IUniverInstanceService as _0x4aee63,UserManagerService as _0x4fe951,UniverInstanceType as _0x20b46e,LocaleService as _0x1d4c3f,Optional as _0x3cf774,RxDisposable as _0x184f79,Tools as _0x33b377,Rectangle as _0x2e545e,ICommandService as _0xe29ee9,JSONX as _0x6c7d57,CommandType as _0x558bce,IUndoRedoService as _0x1032f6,IPermissionService as _0x10fa9c,sequenceExecute as _0xa7a5e8,Workbook as _0x4599fd,MentionType as _0x3441e3,isInternalEditorID as _0x1d12f5,LocalUndoRedoService as _0x5b5dbe,IContextService as _0x27aafd,DependentOn as _0x4e7c3d,Plugin as _0x71670f,merge as _0x262291,mergeOverrideWithDependencies as _0x3bbf66,IAuthzIoService as _0x443b62,IMentionIOService as _0x1a925e,registerDependencies as _0x21f56c,Quantity as _0x1a5943,touchDependencies as _0x4a48db}from'@univerjs/core';import{Subject as _0x29e22a,merge as _0x2cf726,of as _0x283c2a,BehaviorSubject as _0x50b1a3,takeUntil as _0x476de2,ReplaySubject as _0x1a811b,take as _0x8eeaf8,map as _0x11bcb9,shareReplay as _0x2e23ba,firstValueFrom as _0x23659e,concatMap as _0x5a191d}from'rxjs';import{map as _0x6504cb,take as _0x342dba,filter as _0x3f4fbb,delay as _0x4b23c7,takeUntil as _0x400782}from'rxjs/operators';import{CollaborationEvent as _0x528d02,ISnapshotServerService as _0x58f01b,parseChangesetToProtocol as _0x8d6978,ITransformService as _0x13d105,isTransformMutationsWithChangesetSuccess as _0x4eb0e0,mapDocumentTypeToUniverType as _0x5f0393,RevisionService as _0x2d82bd,isTransformChangesetsSuccess as _0x3cf099,CompressMutationService as _0x58b918,parseProtocolChangeset as _0x131401,uuidv4 as _0x1da367,SnapshotService as _0x5ac07a,textEncoder as _0x4eae49,b64DecodeUnicode as _0x30f3bb,isTransformMutationsWithChangesetFailure as _0x162bf7,UniverCollaborationPlugin as _0x43fd45}from'@univerjs-pro/collaboration';import{HTTPService as _0x4fe417,ISocketService as _0xcd360b,MergeInterceptorFactory as _0x1c2a31,HTTPRequest as _0x14ac51,UniverNetworkPlugin as _0x21ec6a,ThresholdInterceptorFactory as _0x46408f}from'@univerjs/network';import{ITelemetryService as _0xe3ff86}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x85a4d0}from'@univerjs/docs';import{SheetsSelectionsService as _0x1ec771,SetSelectionsOperation as _0x39686a,InsertSheetMutation as _0x1a947d,EmptyMutation as _0x5e1645,WorkbookEditablePermission as _0x134095,SheetPermissionInitController as _0x4a4ce9}from'@univerjs/sheets';import{ImageSourceType as _0x64dcf1,ImageUploadStatusType as _0x235bfe,IImageIoService as _0x47bf4f}from'@univerjs/drawing';import{getGlobalObject as _0x97c32f}from'@univerjs-pro/license';const fs=_0x72bb68(0x22c),vs=_0x72bb68(0x272),ps=_0x72bb68(0x1e1),yr=_0x72bb68(0x27b),ms=0x7d0,gs=_0x72bb68(0x327),Ss=_0x72bb68(0x2d0),Nr=_0x72bb68(0x135),Es=_0x72bb68(0x166),Is=0x7530,fi='HEARTBEAT_TIMEOUT',vi=0x4e20,Ts=0x4e20,Cs=_0x72bb68(0xeb),Rs=0x3,Dr=_0x72bb68(0xc3),Ur=0x3e8,bs=_0x72bb68(0x81),Os=_0x72bb68(0x2fc),ys=_0x72bb68(0x23f),Ns=_0x72bb68(0x176),Ar=_0x72bb68(0x311),wr=_0x72bb68(0x15e);var pi=(_0x31fca2=>(_0x31fca2[_0x31fca2['UNDEFINED']=0x0]='UNDEFINED',_0x31fca2[_0x31fca2['OK']=0x1]='OK',_0x31fca2[_0x31fca2['INTERNAL_ERROR']=0x2]=_0x72bb68(0x12e),_0x31fca2[_0x31fca2[_0x72bb68(0x2bf)]=0x3]=_0x72bb68(0x2bf),_0x31fca2[_0x31fca2[_0x72bb68(0x36e)]=0x4]=_0x72bb68(0x36e),_0x31fca2[_0x31fca2[_0x72bb68(0x187)]=0x5]='UNAUTHENTICATED',_0x31fca2[_0x31fca2[_0x72bb68(0x36f)]=0x6]=_0x72bb68(0x36f),_0x31fca2[_0x31fca2[_0x72bb68(0x91)]=0x7]=_0x72bb68(0x91),_0x31fca2[_0x31fca2[_0x72bb68(0xd9)]=0x8]=_0x72bb68(0xd9),_0x31fca2[_0x31fca2[_0x72bb68(0x9e)]=0x9]='COMPLETION_FINISHED',_0x31fca2[_0x31fca2['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x31fca2[_0x31fca2[_0x72bb68(0x1ae)]=0x1389]=_0x72bb68(0x1ae),_0x31fca2[_0x31fca2[_0x72bb68(0x234)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x31fca2[_0x31fca2['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x31fca2[_0x31fca2[_0x72bb68(0x20e)]=0x1773]=_0x72bb68(0x20e),_0x31fca2[_0x31fca2[_0x72bb68(0xf5)]=0x1b59]=_0x72bb68(0xf5),_0x31fca2[_0x31fca2[_0x72bb68(0x101)]=0x1b5a]=_0x72bb68(0x101),_0x31fca2[_0x31fca2[_0x72bb68(0xf9)]=0x1b5b]=_0x72bb68(0xf9),_0x31fca2[_0x31fca2[_0x72bb68(0x175)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x31fca2[_0x31fca2[_0x72bb68(0x292)]=0x1b5d]=_0x72bb68(0x292),_0x31fca2[_0x31fca2[_0x72bb68(0x128)]=0x1f41]=_0x72bb68(0x128),_0x31fca2[_0x31fca2[_0x72bb68(0x1c3)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x31fca2[_0x31fca2['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x72bb68(0x207),_0x31fca2[_0x31fca2['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x72bb68(0xef),_0x31fca2[_0x31fca2[_0x72bb68(0x1e4)]=0x232c]=_0x72bb68(0x1e4),_0x31fca2[_0x31fca2[_0x72bb68(0x19d)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x31fca2[_0x31fca2['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x72bb68(0x1be),_0x31fca2[_0x31fca2['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x72bb68(0x2fd),_0x31fca2[_0x31fca2[_0x72bb68(0xba)]=0x2713]=_0x72bb68(0xba),_0x31fca2[_0x31fca2[_0x72bb68(0x22e)]=0x2714]=_0x72bb68(0x22e),_0x31fca2[_0x31fca2[_0x72bb68(0x369)]=0x271a]=_0x72bb68(0x369),_0x31fca2[_0x31fca2['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x31fca2[_0x31fca2['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x72bb68(0x2d6),_0x31fca2[_0x31fca2[_0x72bb68(0x301)]=0x271d]=_0x72bb68(0x301),_0x31fca2[_0x31fca2[_0x72bb68(0x296)]=0x271e]=_0x72bb68(0x296),_0x31fca2[_0x31fca2[_0x72bb68(0x368)]=0x271f]=_0x72bb68(0x368),_0x31fca2[_0x31fca2[_0x72bb68(0x24e)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x31fca2[_0x31fca2['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x31fca2[_0x31fca2['INVALID_INVITE_CODE']=0x2ee2]=_0x72bb68(0xf1),_0x31fca2[_0x31fca2[_0x72bb68(0x171)]=0x2ee3]=_0x72bb68(0x171),_0x31fca2[_0x31fca2['USER_NOT_INVITED_CODE']=0x2ee4]=_0x72bb68(0x2f5),_0x31fca2[_0x31fca2[_0x72bb68(0x294)]=0x2ee5]=_0x72bb68(0x294),_0x31fca2[_0x31fca2['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x72bb68(0x1de),_0x31fca2[_0x31fca2['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x72bb68(0x27a),_0x31fca2[_0x31fca2['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x31fca2[_0x31fca2[_0x72bb68(0xd2)]=-0x1]=_0x72bb68(0xd2),_0x31fca2))(pi||{}),Z=(_0x26fa66=>(_0x26fa66[_0x26fa66[_0x72bb68(0x150)]=0x0]=_0x72bb68(0x150),_0x26fa66[_0x26fa66[_0x72bb68(0x357)]=0x1]=_0x72bb68(0x357),_0x26fa66[_0x26fa66[_0x72bb68(0x9d)]=0x2]=_0x72bb68(0x9d),_0x26fa66[_0x26fa66[_0x72bb68(0x381)]=0x3]=_0x72bb68(0x381),_0x26fa66[_0x26fa66['UNIVER_PROJECT']=0x4]=_0x72bb68(0x19e),_0x26fa66[_0x26fa66[_0x72bb68(0xd2)]=-0x1]=_0x72bb68(0xd2),_0x26fa66))(Z||{}),F=(_0x3654ad=>(_0x3654ad[_0x3654ad[_0x72bb68(0x2bc)]=0x0]=_0x72bb68(0x2bc),_0x3654ad[_0x3654ad[_0x72bb68(0x299)]=0x1]=_0x72bb68(0x299),_0x3654ad[_0x3654ad['JOIN']=0x2]=_0x72bb68(0x1fa),_0x3654ad[_0x3654ad['LEAVE']=0x3]=_0x72bb68(0x31f),_0x3654ad[_0x3654ad[_0x72bb68(0x111)]=0x4]='INGEST',_0x3654ad[_0x3654ad['HEARTBEAT']=0x5]=_0x72bb68(0x22f),_0x3654ad[_0x3654ad['RECV']=0x6]='RECV',_0x3654ad[_0x3654ad[_0x72bb68(0xd2)]=-0x1]=_0x72bb68(0xd2),_0x3654ad))(F||{}),me=(_0x35a0f4=>(_0x35a0f4[_0x35a0f4['UNKNOWN_CODE']=0x0]=_0x72bb68(0x180),_0x35a0f4[_0x35a0f4['OK']=0x1]='OK',_0x35a0f4[_0x35a0f4['FAIL']=0x2]=_0x72bb68(0x302),_0x35a0f4[_0x35a0f4['JOIN_ROOM_FULL']=0x3e9]=_0x72bb68(0x113),_0x35a0f4[_0x35a0f4[_0x72bb68(0x2e5)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x35a0f4[_0x35a0f4[_0x72bb68(0x80)]=0x3eb]=_0x72bb68(0x80),_0x35a0f4[_0x35a0f4[_0x72bb68(0x2da)]=0x3ec]=_0x72bb68(0x2da),_0x35a0f4[_0x35a0f4[_0x72bb68(0xd2)]=-0x1]=_0x72bb68(0xd2),_0x35a0f4))(me||{}),mi=(_0x510f7d=>(_0x510f7d[_0x510f7d[_0x72bb68(0x376)]=0x0]=_0x72bb68(0x376),_0x510f7d[_0x510f7d[_0x72bb68(0x209)]=0x1]=_0x72bb68(0x209),_0x510f7d[_0x510f7d[_0x72bb68(0x30f)]=0x2]=_0x72bb68(0x30f),_0x510f7d[_0x510f7d['UnitEmbedded']=0x3]=_0x72bb68(0x33b),_0x510f7d[_0x510f7d[_0x72bb68(0x31e)]=0x4]=_0x72bb68(0x31e),_0x510f7d[_0x510f7d[_0x72bb68(0x206)]=0x5]=_0x72bb68(0x206),_0x510f7d[_0x510f7d[_0x72bb68(0xd2)]=-0x1]=_0x72bb68(0xd2),_0x510f7d))(mi||{});const K=_0x72bb68(0x274),Ds={};var ne=(_0x3c5c39=>(_0x3c5c39[_0x72bb68(0x2e7)]=_0x72bb68(0x2e7),_0x3c5c39[_0x72bb68(0x2bf)]=_0x72bb68(0x2bf),_0x3c5c39[_0x72bb68(0x325)]=_0x72bb68(0x325),_0x3c5c39[_0x72bb68(0x2b7)]=_0x72bb68(0x2b7),_0x3c5c39[_0x72bb68(0x153)]=_0x72bb68(0x153),_0x3c5c39[_0x72bb68(0x37d)]=_0x72bb68(0x37d),_0x3c5c39[_0x72bb68(0x20b)]='SOCKET_FAILED',_0x3c5c39[_0x72bb68(0x21e)]=_0x72bb68(0x21e),_0x3c5c39))(ne||{});class ve{constructor(){var _0x9e9aaa=_0x72bb68;N(this,_0x9e9aaa(0x14f),new _0x29e22a()),N(this,_0x9e9aaa(0x25e),this['_event$'][_0x9e9aaa(0xdc)]());}['emitEvent'](_0x3f2ff1){var _0xc76d7e=_0x72bb68;this[_0xc76d7e(0x14f)][_0xc76d7e(0x173)](_0x3f2ff1);}}const Us=_0x478483(_0x72bb68(0x36b));function As(_0x372f79){var _0x4187cf=_0x72bb68,_0x490c2b,_0x48b59a,_0xaf49ba,_0x34183e,_0x2667f4;const _0x3cc78a=_0x372f79[_0x4187cf(0x13c)],_0xff754=JSON[_0x4187cf(0x12b)](_0x3cc78a);switch(_0xff754[_0x4187cf(0x17b)]){case F[_0x4187cf(0x22f)]:case F[_0x4187cf(0x299)]:{const _0xcd7875=_0xff754[_0x4187cf(0x16b)];return{..._0xff754,'data':_0xcd7875,'cmd':_0xff754[_0x4187cf(0x17b)]};}case F['JOIN']:{const _0x4c5fd1=_0xff754[_0x4187cf(0x181)];return{..._0xff754,'data':_0x4c5fd1,'cmd':_0xff754[_0x4187cf(0x17b)]};}case F[_0x4187cf(0x2a8)]:{const _0x4a4dc6=_0xff754[_0x4187cf(0xcd)];switch(_0x4a4dc6[_0x4187cf(0x1ce)]){case _0x528d02[_0x4187cf(0x295)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':(_0x490c2b=_0x4a4dc6[_0x4187cf(0x353)])==null?void 0x0:_0x490c2b['cs']},'cmd':_0xff754['cmd']};case _0x528d02['CHANGESET_ACK']:return{..._0xff754,'data':{..._0x4a4dc6,'data':(_0x48b59a=_0x4a4dc6[_0x4187cf(0x200)])==null?void 0x0:_0x48b59a['cs']},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02[_0x4187cf(0x1ef)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':(_0xaf49ba=_0x4a4dc6[_0x4187cf(0x2f9)])==null?void 0x0:_0xaf49ba['cs']},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02['CHANGESET_REJ']:return{..._0xff754,'data':{..._0x4a4dc6,'data':(_0x34183e=_0x4a4dc6['csRejEvent'])==null?void 0x0:_0x34183e['cs']},'cmd':_0xff754['cmd']};case _0x528d02[_0x4187cf(0x15a)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':(_0x2667f4=_0x4a4dc6[_0x4187cf(0x22a)])==null?void 0x0:_0x2667f4['cs']},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02[_0x4187cf(0x33c)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x199)]},'cmd':_0xff754['cmd']};case _0x528d02['USERS_ENTER']:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x240)]},'cmd':_0xff754['cmd']};case _0x528d02[_0x4187cf(0x2e6)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x110)]},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02[_0x4187cf(0x2be)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x1c4)]},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02[_0x4187cf(0x284)]:case _0x528d02[_0x4187cf(0xfc)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x2c0)]},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02[_0x4187cf(0x20a)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x1c4)]},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02[_0x4187cf(0x2df)]:return{..._0xff754,'data':_0x4a4dc6,'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02[_0x4187cf(0x1a9)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x14e)]},'cmd':_0xff754['cmd']};case _0x528d02[_0x4187cf(0x290)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6['updatePermissionObjEvent']},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02['SHOULD_CLOSE_CONN']:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x1d7)]},'cmd':_0xff754['cmd']};case _0x528d02[_0x4187cf(0xdd)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x308)]},'cmd':_0xff754['cmd']};default:return _0xff754;}}default:return _0xff754;}}function ws(_0x16d6e7){var _0x4a453d=_0x72bb68;switch(_0x16d6e7[_0x4a453d(0x17b)]){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0x4a453d(0x384)]({'cmd':_0x16d6e7[_0x4a453d(0x17b)],'routeKey':_0x16d6e7['routeKey']});case F['INGEST']:{let _0x1000c8;switch(_0x16d6e7[_0x4a453d(0x13c)]['eventID']){case _0x528d02[_0x4a453d(0x33c)]:{_0x1000c8={'eventID':_0x528d02[_0x4a453d(0x33c)],'updateCursorEvent':_0x16d6e7['data'][_0x4a453d(0x13c)]};break;}case _0x528d02['USERS_LEAVE']:{_0x1000c8={'eventID':_0x528d02[_0x4a453d(0x2e6)],'leaveEvent':_0x16d6e7[_0x4a453d(0x13c)][_0x4a453d(0x13c)]};break;}case _0x528d02[_0x4a453d(0x328)]:{_0x1000c8={'eventID':_0x528d02['USERS_ENTER'],'joinEvent':_0x16d6e7[_0x4a453d(0x13c)][_0x4a453d(0x13c)]};break;}case _0x528d02[_0x4a453d(0x2be)]:{_0x1000c8={'eventID':_0x528d02['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x16d6e7['data'][_0x4a453d(0x13c)]};break;}case _0x528d02[_0x4a453d(0xfc)]:{_0x1000c8={'eventID':_0x528d02[_0x4a453d(0xfc)],'liveShareOperation':_0x16d6e7[_0x4a453d(0x13c)][_0x4a453d(0x13c)]};break;}case _0x528d02[_0x4a453d(0x20a)]:{_0x1000c8={'eventID':_0x528d02[_0x4a453d(0x20a)],'liveShareTerminate':_0x16d6e7[_0x4a453d(0x13c)]['data']};break;}case _0x528d02[_0x4a453d(0x252)]:{_0x1000c8={'eventID':_0x528d02[_0x4a453d(0x252)],'liveShareRequestHost':_0x16d6e7[_0x4a453d(0x13c)][_0x4a453d(0x13c)]};break;}case _0x528d02[_0x4a453d(0x284)]:{_0x1000c8={'eventID':_0x528d02[_0x4a453d(0x284)]};break;}default:_0x1000c8={'eventID':_0x16d6e7[_0x4a453d(0x13c)]['eventID']};}return JSON['stringify']({'cmd':_0x16d6e7[_0x4a453d(0x17b)],'routeKey':_0x16d6e7[_0x4a453d(0x355)],'collaMsg':_0x1000c8});}case F[_0x4a453d(0x1fa)]:return JSON['stringify']({'cmd':_0x16d6e7[_0x4a453d(0x17b)],'routeKey':_0x16d6e7[_0x4a453d(0x355)],'joinReq':_0x16d6e7[_0x4a453d(0x13c)]});case F['LEAVE']:return JSON[_0x4a453d(0x384)]({'cmd':_0x16d6e7[_0x4a453d(0x17b)],'routeKey':_0x16d6e7[_0x4a453d(0x355)],'leaveReq':_0x16d6e7[_0x4a453d(0x13c)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ps=Object[_0x72bb68(0x159)],Ls=(_0x39bf06,_0x29aacf,_0xccea89,_0x2dc1cc)=>{var _0x3ec137=_0x72bb68;for(var _0x51e5db=_0x2dc1cc>0x1?void 0x0:_0x2dc1cc?Ps(_0x29aacf,_0xccea89):_0x29aacf,_0x1c9da9=_0x39bf06[_0x3ec137(0x182)]-0x1,_0x3a09e1;_0x1c9da9>=0x0;_0x1c9da9--)(_0x3a09e1=_0x39bf06[_0x1c9da9])&&(_0x51e5db=_0x3a09e1(_0x51e5db)||_0x51e5db);return _0x51e5db;},Ue=(_0xbda304,_0x32311b)=>(_0x2c4a9d,_0x3a33df)=>_0x32311b(_0x2c4a9d,_0x3a33df,_0xbda304);const gi=_0x478483(_0x72bb68(0xdf));function Ms(_0x29e9d4,_0x59afd4,_0x5f59bf){var _0xa5bd6a=_0x72bb68;return _0x29e9d4+'/'+_0x59afd4+_0xa5bd6a(0x340)+_0x5f59bf+'/new_changes';}let Ft=class extends _0x3b479f{constructor(_0x4626b3,_0x3b5057,_0x54b01e,_0x2f1273,_0x186dd6){var _0x10ddd4=_0x72bb68;super(),this[_0x10ddd4(0x37c)]=_0x4626b3,this[_0x10ddd4(0x367)]=_0x3b5057,this['_configService']=_0x54b01e,this['_logService']=_0x2f1273,this['_snapshotServerService']=_0x186dd6;}['_doCreateSocket'](_0x226d81){var _0x304c82=_0x72bb68;const _0x5e3e5e=this[_0x304c82(0x37c)][_0x304c82(0x283)](_0xcd360b);if(!_0x5e3e5e)throw new Error(_0x304c82(0x238));const _0x1e5c18=_0x5e3e5e[_0x304c82(0x372)](_0x226d81);if(!_0x1e5c18)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x3ac5b4=new _0x15e9f0(),_0x45a1ae=new _0x29e22a();_0x3ac5b4[_0x304c82(0x33e)](_0x1e5c18[_0x304c82(0x219)][_0x304c82(0x7d)](_0x2c4419=>_0x45a1ae[_0x304c82(0x173)](_0x2c4419))),_0x3ac5b4[_0x304c82(0x33e)](_0x6a388a(()=>_0x45a1ae[_0x304c82(0x8c)]()));const _0x4e1fea=new _0x29e22a();_0x3ac5b4['add'](_0x1e5c18['error$']['subscribe'](_0x22a4aa=>_0x4e1fea[_0x304c82(0x173)](_0x22a4aa))),_0x3ac5b4['add'](_0x6a388a(()=>_0x4e1fea[_0x304c82(0x8c)]()));const _0x5ac634=new _0x29e22a();_0x3ac5b4['add'](_0x1e5c18[_0x304c82(0x124)][_0x304c82(0x7d)](_0x7732ec=>{const _0x9a94af=As(_0x7732ec);_0x5ac634['next'](_0x9a94af);})),_0x3ac5b4[_0x304c82(0x33e)](_0x6a388a(()=>_0x5ac634['complete']()));let _0x15aad4;const _0x16282e=()=>{var _0x3ae4c7=_0x304c82;_0x4e1fea['next'](new Event(_0x3ae4c7(0x15b))),_0x45a1ae['next'](new Event(_0x3ae4c7(0x15b))),_0x15aad4[_0x3ae4c7(0x246)]();};return _0x15aad4={'memberID':'','close$':_0x45a1ae[_0x304c82(0xdc)](),'error$':_0x4e1fea['asObservable'](),'open$':_0x1e5c18[_0x304c82(0x162)],'message$':_0x5ac634['asObservable'](),'send':_0x574e75=>{var _0x40148b=_0x304c82;if(_0x574e75['cmd']===F[_0x40148b(0x111)]){if(_0x574e75[_0x40148b(0x13c)][_0x40148b(0x1ce)]===_0x528d02[_0x40148b(0x8b)]){this[_0x40148b(0x348)](_0x15aad4,_0x574e75[_0x40148b(0x13c)])[_0x40148b(0x244)](_0x5ca461=>{var _0x36296a=_0x40148b;this[_0x36296a(0xde)]['error'](_0x5ca461),_0x16282e();});return;}if(_0x574e75[_0x40148b(0x13c)][_0x40148b(0x1ce)]===_0x528d02['FETCH_MISSING']){const _0x27e08a=_0x574e75[_0x40148b(0x13c)];this[_0x40148b(0x259)](_0x27e08a)[_0x40148b(0xae)](_0x5e9a7d=>{var _0x2abb49=_0x40148b;_0x5ac634['next']({'cmd':F[_0x2abb49(0x2a8)],'code':me['OK'],'routeKey':_0x27e08a['data']['unitID'],'routeType':'','data':{'eventID':_0x528d02[_0x2abb49(0x94)],'data':{'changesets':_0x5e9a7d}}});})[_0x40148b(0x244)](_0x3e870b=>{this['_logService']['error'](_0x3e870b),_0x16282e();});return;}}_0x1e5c18[_0x40148b(0x341)](ws(_0x574e75));},'close':()=>{var _0x433fd8=_0x304c82;_0x1e5c18[_0x433fd8(0x246)](),_0x3ac5b4[_0x433fd8(0x97)]();}},_0x15aad4;}async[_0x72bb68(0x348)](_0x274947,_0x511a2b){var _0x619171=_0x72bb68,_0x568e19,_0x1e549e;const {unitType:_0x53bcc2,unitID:_0x2888b5,changeset:_0x4e7ea6}=_0x511a2b[_0x619171(0x13c)],_0x18b073={'unitID':_0x2888b5,'memberID':_0x274947[_0x619171(0x1e6)],'type':_0x53bcc2,'changeset':_0x8d6978(_0x4e7ea6)},_0x2b1060=this[_0x619171(0x184)]['getConfig'](bs),_0x29d5d9=this[_0x619171(0x184)]['getConfig'](K),_0xa23619=Ms((_0x1e549e=(_0x568e19=_0x29d5d9==null?void 0x0:_0x29d5d9[_0x619171(0x2cb)])!=null?_0x568e19:_0x2b1060)!=null?_0x1e549e:Os,_0x53bcc2,_0x2888b5);try{await this[_0x619171(0x367)]['post'](_0xa23619,{'body':_0x18b073});}catch(_0x3d1e3c){throw this[_0x619171(0xde)][_0x619171(0x32f)](_0x619171(0x2c6),'submit\x20changeset\x20error!'),_0x3d1e3c;}}async['_fetchMissChangesets'](_0x4ed4ff){var _0x4d8662=_0x72bb68;const {unitID:_0x5ac433,from:_0x3f765c,to:_0x137b63,unitType:_0x3071fc}=_0x4ed4ff[_0x4d8662(0x13c)];return(await this['_snapshotServerService'][_0x4d8662(0x2ba)]({'metadata':void 0x0},{'unitID':_0x5ac433,'type':_0x3071fc,'from':_0x3f765c,'to':_0x137b63}))[_0x4d8662(0x123)];}};Ft=Ls([Ue(0x0,_0x41311f(_0x4cac68)),Ue(0x1,_0x41311f(_0x4fe417)),Ue(0x2,_0x19233d),Ue(0x3,_0x39af9e),Ue(0x4,_0x58f01b)],Ft);const xs='collaboration_new_changeset';function ks(_0x3a618a){var _0x471285=_0x72bb68;return JSON[_0x471285(0x384)](_0x3a618a)[_0x471285(0x182)];}class Si{constructor(){var _0x5e440b=_0x72bb68;N(this,'_commentUpdate$',new _0x29e22a()),N(this,_0x5e440b(0x378),this[_0x5e440b(0x178)][_0x5e440b(0xdc)]());}[_0x72bb68(0xe9)](_0x5b0b66){var _0x5ab585=_0x72bb68;this[_0x5ab585(0x178)][_0x5ab585(0x173)](_0x5b0b66);}}var $s=Object['getOwnPropertyDescriptor'],Hs=(_0xa28a55,_0x15921f,_0x35d6cc,_0x2e987d)=>{var _0x252802=_0x72bb68;for(var _0x2ceee7=_0x2e987d>0x1?void 0x0:_0x2e987d?$s(_0x15921f,_0x35d6cc):_0x15921f,_0x4ef518=_0xa28a55[_0x252802(0x182)]-0x1,_0x515e0a;_0x4ef518>=0x0;_0x4ef518--)(_0x515e0a=_0xa28a55[_0x4ef518])&&(_0x2ceee7=_0x515e0a(_0x2ceee7)||_0x2ceee7);return _0x2ceee7;},Vt=(_0x367da9,_0x6180d3)=>(_0x173749,_0x453125)=>_0x6180d3(_0x173749,_0x453125,_0x367da9);let Pe=class extends _0x3b479f{constructor(_0x4cd48c,_0x57605f){var _0x1c280d=_0x72bb68;super(),N(this,'_roomMembers',new Map()),N(this,_0x1c280d(0x1c8),new _0x29e22a()),(this['_univerInstanceService']=_0x4cd48c,this[_0x1c280d(0x9f)]=_0x57605f,this[_0x1c280d(0x2c3)](_0x2cf726(this[_0x1c280d(0xf4)][_0x1c280d(0x2cc)](_0x20b46e[_0x1c280d(0x9d)])[_0x1c280d(0x2ea)](_0x6504cb(_0x257863=>_0x257863[_0x1c280d(0x2a0)]())),this[_0x1c280d(0xf4)][_0x1c280d(0x2cc)](_0x20b46e[_0x1c280d(0x357)])[_0x1c280d(0x2ea)](_0x6504cb(_0xcb54f7=>_0xcb54f7['getUnitId']())),this[_0x1c280d(0xf4)][_0x1c280d(0x2cc)](_0x20b46e[_0x1c280d(0x381)])[_0x1c280d(0x2ea)](_0x6504cb(_0x4a22aa=>_0x4a22aa[_0x1c280d(0x2a0)]())))[_0x1c280d(0x7d)](_0x1a4bfd=>this[_0x1c280d(0x337)](_0x1a4bfd))));}[_0x72bb68(0x29d)](_0x1d54fb){var _0x134e11=_0x72bb68;return this['_roomMembers']['has'](_0x1d54fb)?_0x283c2a(this[_0x134e11(0x8e)][_0x134e11(0x283)](_0x1d54fb)):this[_0x134e11(0x1c8)][_0x134e11(0x2ea)](_0x6504cb(_0x273b8d=>{var _0x4d99cc=_0x134e11;if(_0x273b8d===_0x1d54fb)return this[_0x4d99cc(0x8e)][_0x4d99cc(0x283)](_0x273b8d);}));}[_0x72bb68(0x315)](_0x2391b9){var _0xb71517=_0x72bb68;this[_0xb71517(0x9f)][_0xb71517(0x315)](_0x2391b9);}[_0x72bb68(0x2b5)](){var _0x301f8f=_0x72bb68;return this[_0x301f8f(0x9f)][_0x301f8f(0x2b5)]();}['updateMember'](_0x37bba4,_0x498a44){var _0x240c91=_0x72bb68;let _0x51bbd1=this[_0x240c91(0x8e)][_0x240c91(0x283)](_0x37bba4);_0x51bbd1||(_0x51bbd1=new Bs(),this['_roomMembers'][_0x240c91(0x1c2)](_0x37bba4,_0x51bbd1),this[_0x240c91(0x1c8)]['next'](_0x37bba4)),_0x51bbd1[_0x240c91(0x21c)](_0x498a44);}[_0x72bb68(0x16e)](_0x20cae1,_0x30d696){var _0x802c25=_0x72bb68;const _0x4d9d03=this[_0x802c25(0x8e)][_0x802c25(0x283)](_0x20cae1);_0x4d9d03&&_0x4d9d03[_0x802c25(0x16e)](_0x30d696);}[_0x72bb68(0x13d)](_0x57d29b){var _0x19b5d1=_0x72bb68;return this[_0x19b5d1(0x8e)][_0x19b5d1(0x283)](_0x57d29b);}[_0x72bb68(0x1f1)](_0x3ea134,_0x4d5e24){var _0x122866=_0x72bb68;const _0x1bb311=this['_roomMembers'][_0x122866(0x283)](_0x3ea134);if(_0x1bb311)return _0x1bb311[_0x122866(0x1f1)](_0x4d5e24);}[_0x72bb68(0x337)](_0x497b8d){var _0x56e50d=_0x72bb68;const _0x4a7d76=this[_0x56e50d(0x8e)][_0x56e50d(0x283)](_0x497b8d);_0x4a7d76&&(_0x4a7d76[_0x56e50d(0x97)](),this[_0x56e50d(0x8e)]['delete'](_0x497b8d));}[_0x72bb68(0x97)](){var _0x515008=_0x72bb68;this[_0x515008(0x8e)][_0x515008(0x16a)](_0x11c4cc=>_0x11c4cc[_0x515008(0x97)]()),this[_0x515008(0x8e)][_0x515008(0x318)](),this[_0x515008(0x1c8)][_0x515008(0x8c)]();}};Pe=Hs([Vt(0x0,_0x4aee63),Vt(0x1,_0x41311f(_0x4fe951))],Pe);class Bs extends _0x3b479f{constructor(){var _0x28bb25=_0x72bb68;super(...arguments),N(this,_0x28bb25(0x31b),new Map()),N(this,_0x28bb25(0xab),new _0x50b1a3(this[_0x28bb25(0x31b)])),N(this,_0x28bb25(0x289),this['_members$']['asObservable']());}['dispose'](){var _0x3e6a2a=_0x72bb68;this['_members'][_0x3e6a2a(0x318)]();}[_0x72bb68(0x21c)](_0x333a48){var _0x167a44=_0x72bb68;this['_members'][_0x167a44(0x1c2)](_0x333a48[_0x167a44(0x1e6)],_0x333a48),this[_0x167a44(0x18a)]();}[_0x72bb68(0x16e)](_0x436e96){var _0x4d350f=_0x72bb68;this[_0x4d350f(0x31b)][_0x4d350f(0x1d8)](_0x436e96);}['getMember'](_0x36b474){var _0x588a80=_0x72bb68;return this[_0x588a80(0x31b)][_0x588a80(0x283)](_0x36b474);}['getAllMembers'](){var _0x32f41f=_0x72bb68;return Array[_0x32f41f(0x1b7)](this[_0x32f41f(0x31b)]['values']());}[_0x72bb68(0x18a)](){var _0x3a7d28=_0x72bb68;this[_0x3a7d28(0xab)]['next'](this[_0x3a7d28(0x31b)]);}}var js=Object['getOwnPropertyDescriptor'],Fs=(_0x4c2f08,_0x93ceff,_0x12e75b,_0x4352d4)=>{for(var _0x4241ee=_0x4352d4>0x1?void 0x0:_0x4352d4?js(_0x93ceff,_0x12e75b):_0x93ceff,_0x52e8fa=_0x4c2f08['length']-0x1,_0x5aec42;_0x52e8fa>=0x0;_0x52e8fa--)(_0x5aec42=_0x4c2f08[_0x52e8fa])&&(_0x4241ee=_0x5aec42(_0x4241ee)||_0x4241ee);return _0x4241ee;},pe=(_0x3ca388,_0x5ca108)=>(_0x2381cf,_0x5a2161)=>_0x5ca108(_0x2381cf,_0x5a2161,_0x3ca388),Se=(_0x5192f0=>(_0x5192f0[_0x5192f0[_0x72bb68(0x1b4)]=0x0]=_0x72bb68(0x1b4),_0x5192f0[_0x5192f0[_0x72bb68(0x99)]=0x1]='JOINING',_0x5192f0[_0x5192f0['OFFLINE']=0x2]=_0x72bb68(0x243),_0x5192f0[_0x5192f0[_0x72bb68(0x1fb)]=0x3]='ONLINE',_0x5192f0))(Se||{});const Gt={[me['FAIL']]:_0x72bb68(0x188),[me['JOIN_ROOM_FULL']]:_0x72bb68(0x194),[me[_0x72bb68(0x2e5)]]:'session.room-not-exists',[me['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[me['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x72bb68(0x142)};let gt=class extends _0x184f79{constructor(_0x41e412,_0x1f6f11,_0x4e9562,_0x263eca,_0x249b9b,_0x5a25ed,_0x13c019,_0x1071ef,_0xdb5f7c){var _0x356515=_0x72bb68;super(),N(this,_0x356515(0x300),new _0x50b1a3(0x0)),N(this,_0x356515(0x2a3),this[_0x356515(0x300)][_0x356515(0xdc)]()),N(this,_0x356515(0x14f),new _0x29e22a()),N(this,_0x356515(0x25e),this[_0x356515(0x14f)][_0x356515(0xdc)]()),N(this,_0x356515(0x280)),N(this,_0x356515(0x1d2)),N(this,_0x356515(0x310)),N(this,_0x356515(0x304),!0x1),N(this,_0x356515(0x25a),null),(this[_0x356515(0x28d)]=_0x41e412,this[_0x356515(0xde)]=_0x4e9562,this[_0x356515(0x184)]=_0x263eca,this[_0x356515(0x287)]=_0x249b9b,this[_0x356515(0xf8)]=_0x5a25ed,this['_commentService']=_0x13c019,this[_0x356515(0x37b)]=_0x1071ef,this[_0x356515(0x2ef)]=_0xdb5f7c,this[_0x356515(0x304)]=!!this[_0x356515(0x2ef)],_0x1f6f11[_0x356515(0x2ea)](_0x476de2(this[_0x356515(0x17a)]))[_0x356515(0x7d)](_0x5e4033=>{var _0x1bd631=_0x356515,_0x2ac978;typeof _0x5e4033>'u'||(this['_socket']=_0x5e4033,_0x5e4033?(this[_0x1bd631(0x2af)](_0x5e4033),this[_0x1bd631(0x1d2)]=_0x5e4033[_0x1bd631(0x124)][_0x1bd631(0x7d)](_0x5efdca=>{var _0x122c28=_0x1bd631;_0x5efdca[_0x122c28(0x355)]===this[_0x122c28(0x28d)]&&this[_0x122c28(0x2e3)](_0x5efdca);})):(this[_0x1bd631(0x375)](),this[_0x1bd631(0x300)]['next'](0x2),(_0x2ac978=this[_0x1bd631(0x1d2)])==null||_0x2ac978[_0x1bd631(0x18e)](),this[_0x1bd631(0x1d2)]=null));}));}get[_0x72bb68(0x134)](){var _0x4e0242=_0x72bb68;return this[_0x4e0242(0x300)][_0x4e0242(0x112)]();}['getMemberID'](){var _0x211f09=_0x72bb68,_0x447760,_0x4d7e07;return(_0x4d7e07=(_0x447760=this['_socket'])==null?void 0x0:_0x447760[_0x211f09(0x1e6)])!=null?_0x4d7e07:null;}['dispose'](){var _0x31b2d1=_0x72bb68;super[_0x31b2d1(0x97)](),this['dispose$'][_0x31b2d1(0x173)](),this[_0x31b2d1(0x17a)][_0x31b2d1(0x8c)]();}[_0x72bb68(0x246)](){var _0x1cd4fd=_0x72bb68,_0x54f5ba,_0x5b7d00;this[_0x1cd4fd(0x375)](),(_0x54f5ba=this[_0x1cd4fd(0x280)])==null||_0x54f5ba[_0x1cd4fd(0x341)]({'cmd':F[_0x1cd4fd(0x31f)],'data':{'roomID':this[_0x1cd4fd(0x28d)]}}),(_0x5b7d00=this[_0x1cd4fd(0x280)])==null||_0x5b7d00[_0x1cd4fd(0x246)](),this[_0x1cd4fd(0x14f)][_0x1cd4fd(0x8c)](),this['_sessionStatus$'][_0x1cd4fd(0x8c)](),this[_0x1cd4fd(0x97)]();}[_0x72bb68(0x2e3)](_0x57000c){var _0xadbda3=_0x72bb68;_0x57000c['cmd']===F[_0xadbda3(0x1fa)]?this[_0xadbda3(0x2ce)](_0x57000c):_0x57000c[_0xadbda3(0x17b)]===F['RECV']&&this[_0xadbda3(0x114)](_0x57000c);}['_joinRoom'](_0x1abd10){var _0x51f45a=_0x72bb68;this[_0x51f45a(0x300)]['next'](0x1),_0x1abd10['send']({'cmd':F[_0x51f45a(0x1fa)],'routeKey':this[_0x51f45a(0x28d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x51f45a(0x28d)]}]}});}[_0x72bb68(0x2ce)](_0x4ba0aa){var _0x53843f=_0x72bb68,_0x2f364e;if(_0x4ba0aa[_0x53843f(0x365)]in Gt){this[_0x53843f(0x37b)][_0x53843f(0x326)]({'id':ne[_0x53843f(0x153)],'data':Gt[_0x4ba0aa[_0x53843f(0x365)]]}),this[_0x53843f(0x300)]['next'](0x2);return;}this[_0x53843f(0x300)][_0x53843f(0x173)](0x3);const _0x4410ec=(_0x2f364e=_0x4ba0aa[_0x53843f(0x13c)][_0x53843f(0x204)][this[_0x53843f(0x28d)]])==null?void 0x0:_0x2f364e[_0x53843f(0x21a)];_0x4410ec&&_0x4410ec['forEach'](_0x21d9d4=>this[_0x53843f(0xf8)][_0x53843f(0x21c)](this[_0x53843f(0x28d)],_0x21d9d4));}[_0x72bb68(0x114)](_0x39d745){var _0x3984ef=_0x72bb68;try{const _0x367dc6=_0x39d745[_0x3984ef(0x13c)];switch(_0x367dc6[_0x3984ef(0x1ce)]){case _0x528d02[_0x3984ef(0x328)]:this[_0x3984ef(0x2b3)](_0x367dc6),this['_event$'][_0x3984ef(0x173)](_0x367dc6);break;case _0x528d02[_0x3984ef(0x2e6)]:this[_0x3984ef(0x205)](_0x367dc6),this[_0x3984ef(0x14f)]['next'](_0x367dc6);break;case _0x528d02[_0x3984ef(0x185)]:case _0x528d02[_0x3984ef(0x15a)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3984ef(0x264)](),this[_0x3984ef(0x14f)][_0x3984ef(0x173)](_0x367dc6);break;case _0x528d02[_0x3984ef(0x2df)]:this[_0x3984ef(0xde)][_0x3984ef(0x32f)](_0x3984ef(0x263)+JSON[_0x3984ef(0x384)](_0x367dc6)),this[_0x3984ef(0x14f)][_0x3984ef(0x173)](_0x367dc6);break;case _0x528d02[_0x3984ef(0x1a9)]:this['_commentService'][_0x3984ef(0xe9)](_0x367dc6[_0x3984ef(0x13c)]),this[_0x3984ef(0x14f)][_0x3984ef(0x173)](_0x367dc6);break;default:this[_0x3984ef(0x14f)]['next'](_0x367dc6);}}catch(_0x51e5af){this[_0x3984ef(0xde)]['error'](_0x51e5af,_0x39d745);}}['_onUserJoin'](_0x232b27){var _0x283511=_0x72bb68;this[_0x283511(0xf8)][_0x283511(0x21c)](this[_0x283511(0x28d)],_0x232b27[_0x283511(0x13c)]);}['_onUserLeave'](_0xd26681){var _0x15b2d5=_0x72bb68;this[_0x15b2d5(0xf8)][_0x15b2d5(0x16e)](this[_0x15b2d5(0x28d)],_0xd26681[_0x15b2d5(0x13c)]['memberID']);}async['send'](_0x880b85,_0x282924){var _0x38aa7e=_0x72bb68;if(this[_0x38aa7e(0x134)]!==0x3||!this[_0x38aa7e(0x280)])throw new Error(_0x38aa7e(0x2e2));try{_0x880b85[_0x38aa7e(0x1ce)]===_0x528d02[_0x38aa7e(0x8b)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x38aa7e(0x88)](_0x880b85)),this['_socket'][_0x38aa7e(0x341)]({'cmd':F['INGEST'],'routeKey':_0x282924,'routeType':'','data':_0x880b85});}catch(_0x5d78ed){this[_0x38aa7e(0xde)][_0x38aa7e(0x32f)](_0x5d78ed);}}['_scheduleCollaborationTimeoutTimer'](){var _0x4bcbb7=_0x72bb68,_0x3d5791;this[_0x4bcbb7(0x310)]=setTimeout(()=>{var _0x240f12=_0x4bcbb7;this['_collaborationTimeoutTimer']=null,this[_0x240f12(0x37b)]['emitEvent']({'id':ne[_0x240f12(0x21e)]});},(_0x3d5791=this[_0x4bcbb7(0x184)][_0x4bcbb7(0x1e2)](fi))!=null?_0x3d5791:vi);}[_0x72bb68(0x264)](){var _0x331dd1=_0x72bb68;this[_0x331dd1(0x310)]&&(clearTimeout(this[_0x331dd1(0x310)]),this[_0x331dd1(0x310)]=null);}[_0x72bb68(0x88)](_0x355793){var _0x411305=_0x72bb68;if(!this[_0x411305(0x304)])return;const {data:_0xe86d58}=_0x355793,{unitID:_0x14207a,changeset:_0x335a11}=_0xe86d58,{mutations:_0x52bd92,type:_0x21187d}=_0x335a11;this[_0x411305(0x25a)]={'unitId':_0x14207a,'type':_0x21187d,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ks(_0x52bd92)};}[_0x72bb68(0x84)](){var _0x2ae487=_0x72bb68;if(this[_0x2ae487(0x304)]){if(!this['_telemetryInfo']){this[_0x2ae487(0xde)]['error'](_0x2ae487(0x2c6),_0x2ae487(0xb4));return;}this[_0x2ae487(0x25a)][_0x2ae487(0x298)]=performance[_0x2ae487(0x10d)](),this[_0x2ae487(0x25a)][_0x2ae487(0x335)]=this[_0x2ae487(0x25a)][_0x2ae487(0x298)]-this[_0x2ae487(0x25a)][_0x2ae487(0x33a)],this[_0x2ae487(0x2ef)]['capture'](xs,this[_0x2ae487(0x25a)]),this[_0x2ae487(0x25a)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x4915ba=_0x72bb68;this[_0x4915ba(0x25a)]=null;}};gt=Fs([pe(0x2,_0x39af9e),pe(0x3,_0x19233d),pe(0x4,_0x41311f(_0x1d4c3f)),pe(0x5,_0x41311f(Pe)),pe(0x6,_0x41311f(Si)),pe(0x7,_0x41311f(ve)),pe(0x8,_0x3cf774(_0xe3ff86))],gt);var Vs=Object['getOwnPropertyDescriptor'],Gs=(_0x1ac5b3,_0x46a99e,_0x4e7f82,_0x529a56)=>{var _0x49175c=_0x72bb68;for(var _0xebbb3b=_0x529a56>0x1?void 0x0:_0x529a56?Vs(_0x46a99e,_0x4e7f82):_0x46a99e,_0x3655a2=_0x1ac5b3[_0x49175c(0x182)]-0x1,_0x360a0f;_0x3655a2>=0x0;_0x3655a2--)(_0x360a0f=_0x1ac5b3[_0x3655a2])&&(_0xebbb3b=_0x360a0f(_0xebbb3b)||_0xebbb3b);return _0xebbb3b;},Re=(_0x1b0bd1,_0x1d7de0)=>(_0xe8cc46,_0xdb1748)=>_0x1d7de0(_0xe8cc46,_0xdb1748,_0x1b0bd1);let Le=class extends _0x3b479f{constructor(_0x43b180,_0xb389ed,_0xac822e,_0x1b3544,_0x55898b,_0x67c7e){var _0x8a2f05=_0x72bb68;super(),N(this,_0x8a2f05(0x190),new _0x50b1a3(void 0x0)),N(this,_0x8a2f05(0xfd),this[_0x8a2f05(0x190)][_0x8a2f05(0xdc)]()),N(this,'_candidateSocket',null),N(this,'_sessions',new Map()),N(this,_0x8a2f05(0xa7),new _0x50b1a3(Se['IDLE'])),N(this,_0x8a2f05(0x2b2),this[_0x8a2f05(0xa7)][_0x8a2f05(0xdc)]()),N(this,_0x8a2f05(0x86),!0x1),N(this,_0x8a2f05(0x11f)),N(this,_0x8a2f05(0x28f),0x0),N(this,_0x8a2f05(0x11e)),N(this,_0x8a2f05(0x10e)),(this[_0x8a2f05(0x37c)]=_0x43b180,this[_0x8a2f05(0xde)]=_0xb389ed,this[_0x8a2f05(0x184)]=_0xac822e,this['_socketService']=_0x1b3544,this[_0x8a2f05(0x37b)]=_0x55898b,this[_0x8a2f05(0xe0)]=_0x67c7e,this[_0x8a2f05(0x13a)]());}get[_0x72bb68(0x280)](){var _0x2fce2f=_0x72bb68;return this[_0x2fce2f(0x190)]['getValue']();}[_0x72bb68(0x13a)](){var _0xb8f858=_0x72bb68;this[_0xb8f858(0xe0)]&&this[_0xb8f858(0x2c3)](this[_0xb8f858(0xe0)][_0xb8f858(0x30d)][_0xb8f858(0x7d)](_0x13a8c7=>{var _0x3edc35=_0xb8f858;_0x13a8c7&&!this[_0x3edc35(0x280)]&&this[_0x3edc35(0x1b2)](),_0x13a8c7||this[_0x3edc35(0x160)]();}));}[_0x72bb68(0x97)](){var _0x18876e=_0x72bb68;super[_0x18876e(0x97)](),this[_0x18876e(0x1e3)](),this['_clearTimeoutTimer'](),this[_0x18876e(0x174)](),this[_0x18876e(0x179)][_0x18876e(0x16a)](_0x11743c=>_0x11743c[_0x18876e(0x97)]()),this[_0x18876e(0x179)][_0x18876e(0x318)](),this[_0x18876e(0xa7)][_0x18876e(0x8c)]();}async[_0x72bb68(0xbe)](_0x1f7cc0){var _0x211c34=_0x72bb68;if(this[_0x211c34(0x179)]['has'](_0x1f7cc0))return this['_sessions'][_0x211c34(0x283)](_0x1f7cc0);this[_0x211c34(0x2c9)]();const _0x3c01a0=this[_0x211c34(0x37c)]['createInstance'](gt,_0x1f7cc0,this['_socket$'][_0x211c34(0xdc)]());return this['_sessions'][_0x211c34(0x1c2)](_0x1f7cc0,_0x3c01a0),_0x3c01a0;}['closeSession'](_0x566989){var _0x29ad0b=_0x72bb68,_0x2b1da1;const _0x41150d=this['_sessions'][_0x29ad0b(0x283)](_0x566989);_0x41150d&&(this[_0x29ad0b(0x179)][_0x29ad0b(0x1d8)](_0x566989),_0x41150d[_0x29ad0b(0x246)]()),this[_0x29ad0b(0x179)][_0x29ad0b(0x1ab)]||(_0x2b1da1=this[_0x29ad0b(0x280)])==null||_0x2b1da1[_0x29ad0b(0x246)]();}[_0x72bb68(0x1b2)](){var _0x29f8dd=_0x72bb68;this[_0x29f8dd(0x28f)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x29f8dd(0x370)]();}[_0x72bb68(0x1e3)](){var _0x5a0e33=_0x72bb68;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x5a0e33(0x11f)]),this[_0x5a0e33(0x11f)]=null);}async[_0x72bb68(0x32d)](){var _0x580252=_0x72bb68,_0xb7309,_0x400939;const _0x19ed81=this[_0x580252(0x184)][_0x580252(0x1e2)](gs),_0x3bb03f=this[_0x580252(0x184)][_0x580252(0x1e2)](K),_0x20a64d=(_0x400939=(_0xb7309=_0x3bb03f==null?void 0x0:_0x3bb03f[_0x580252(0x297)])!=null?_0xb7309:_0x19ed81)!=null?_0x400939:Ss,_0x2952db=await this[_0x580252(0x1c1)][_0x580252(0x372)](_0x20a64d);return this[_0x580252(0x20c)]=_0x2952db,_0x2952db;}async[_0x72bb68(0x2c9)](){var _0x5cc2d5=_0x72bb68,_0x357ef2,_0xdf41cd;try{const _0x25ca08=(_0xdf41cd=(_0x357ef2=this[_0x5cc2d5(0x280)])!=null?_0x357ef2:this['_candidateSocket'])!=null?_0xdf41cd:await this[_0x5cc2d5(0x32d)]();if(_0x25ca08){const _0x3fcca1=_0x25ca08[_0x5cc2d5(0x341)];_0x25ca08[_0x5cc2d5(0x341)]=_0x100ddf=>(this['_rescheduleHeartbeat'](),_0x3fcca1[_0x5cc2d5(0x1cf)](_0x25ca08,[_0x100ddf])),_0x25ca08[_0x5cc2d5(0x124)][_0x5cc2d5(0x7d)](_0x2aecc5=>this[_0x5cc2d5(0xa2)](_0x25ca08,_0x2aecc5)),_0x25ca08[_0x5cc2d5(0xea)][_0x5cc2d5(0x2ea)](_0x342dba(0x1))[_0x5cc2d5(0x7d)](_0xb73fc2=>this['_logService']['error'](_0x5cc2d5(0x103),_0xb73fc2)),_0x25ca08[_0x5cc2d5(0x162)][_0x5cc2d5(0x2ea)](_0x342dba(0x1))[_0x5cc2d5(0x7d)](()=>{var _0x4d30e1=_0x5cc2d5;this[_0x4d30e1(0x126)](_0x25ca08);}),_0x25ca08[_0x5cc2d5(0x219)]['pipe'](_0x342dba(0x1))[_0x5cc2d5(0x7d)](_0x4a90f5=>{var _0x4c1228=_0x5cc2d5;this[_0x4c1228(0xde)][_0x4c1228(0x151)](_0x4c1228(0x2c2),'socket\x20close',_0x4a90f5),this['_onConnectionFailed']();});}}catch(_0x24a3bf){this[_0x5cc2d5(0xde)]['error'](_0x24a3bf),this[_0x5cc2d5(0x8f)]();}}[_0x72bb68(0x126)](_0x3c9173){var _0x1bae9d=_0x72bb68;this[_0x1bae9d(0xde)][_0x1bae9d(0x151)]('[CollaborationSessionService]',_0x1bae9d(0xbc)),_0x3c9173[_0x1bae9d(0x341)]({'cmd':F[_0x1bae9d(0x299)]}),this[_0x1bae9d(0x106)]();}[_0x72bb68(0x160)](){var _0x318e8d=_0x72bb68;this['_socketReady']=!0x1,this[_0x318e8d(0x20c)]=null,this[_0x318e8d(0xa7)]['next'](Se[_0x318e8d(0x243)]),this[_0x318e8d(0x190)]['next'](null),this[_0x318e8d(0x14d)](),this[_0x318e8d(0x174)]();}[_0x72bb68(0x8f)](){var _0x1c780e=_0x72bb68,_0x4fdf27;this[_0x1c780e(0x160)](),this[_0x1c780e(0x28f)]<((_0x4fdf27=this[_0x1c780e(0x184)]['getConfig'](Cs))!=null?_0x4fdf27:Rs)?(this[_0x1c780e(0x37b)][_0x1c780e(0x326)]({'id':ne[_0x1c780e(0x37d)]}),this['_tryReconnect']()):this[_0x1c780e(0x37b)][_0x1c780e(0x326)]({'id':ne[_0x1c780e(0x20b)]});}[_0x72bb68(0x370)](){var _0x2ec8d2=_0x72bb68,_0x2e5ae2;const _0x1a260d=this[_0x2ec8d2(0x28f)],_0x4d96b8=this[_0x2ec8d2(0x184)][_0x2ec8d2(0x1e2)](K),_0x436468=_0x1a260d===0x0?0x0:((_0x2e5ae2=_0x4d96b8==null?void 0x0:_0x4d96b8['retryConnectingInterval'])!=null?_0x2e5ae2:Ts)*0x2**_0x1a260d;this['_retryConnectingTimer']=setTimeout(()=>{var _0x16f0c5=_0x2ec8d2;clearTimeout(this[_0x16f0c5(0x11f)]),this['_retryConnectingTimer']=null,this[_0x16f0c5(0x2c9)]();},_0x436468),this[_0x2ec8d2(0x28f)]+=0x1;}[_0x72bb68(0xa2)](_0x23c68d,_0x37f4f0){var _0x275743=_0x72bb68;const {cmd:_0x521719}=_0x37f4f0;_0x521719===F[_0x275743(0x299)]&&!this['_socketReady']&&(_0x23c68d[_0x275743(0x1e6)]=_0x37f4f0[_0x275743(0x13c)]['memberID'],this[_0x275743(0x190)][_0x275743(0x173)](_0x23c68d),this[_0x275743(0xa7)][_0x275743(0x173)](Se['ONLINE']),this['_socketReady']=!0x0,this[_0x275743(0x20c)]=null),_0x521719===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x275743(0x106)]();}[_0x72bb68(0x106)](){var _0x1a85bc=_0x72bb68,_0x4c118a;this[_0x1a85bc(0x174)](),this[_0x1a85bc(0x11e)]=setTimeout(()=>this[_0x1a85bc(0x133)](),(_0x4c118a=this[_0x1a85bc(0x184)][_0x1a85bc(0x1e2)](Es))!=null?_0x4c118a:Is);}[_0x72bb68(0x133)](){var _0x26a05e=_0x72bb68;this[_0x26a05e(0x280)][_0x26a05e(0x341)]({'cmd':F[_0x26a05e(0x22f)]}),this[_0x26a05e(0x307)]();}['_waitForHeartbeatResponse'](){var _0x206614=_0x72bb68,_0x1a9ae1;this['_timeoutTimer']=setTimeout(()=>this[_0x206614(0x8f)](),(_0x1a9ae1=this[_0x206614(0x184)][_0x206614(0x1e2)](fi))!=null?_0x1a9ae1:vi);}[_0x72bb68(0x174)](){var _0x5baec7=_0x72bb68;this[_0x5baec7(0x11e)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x5baec7(0x11e)]=null);}[_0x72bb68(0x14d)](){var _0x1cc005=_0x72bb68;this[_0x1cc005(0x10e)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1cc005(0x10e)]=null);}};Le=Gs([Re(0x0,_0x41311f(_0x4cac68)),Re(0x1,_0x39af9e),Re(0x2,_0x19233d),Re(0x3,gi),Re(0x4,_0x41311f(ve)),Re(0x5,_0x3cf774(Us))],Le);const J=_0x478483(_0x72bb68(0x267));function Pr(_0xf27001){var _0x5bfbd8=_0x72bb68;return _0x5bfbd8(0x330)+_0xf27001;}var Ws=Object[_0x72bb68(0x159)],Ys=(_0x45846a,_0x392412,_0x4b2412,_0xe42a07)=>{for(var _0x443ea8=_0xe42a07>0x1?void 0x0:_0xe42a07?Ws(_0x392412,_0x4b2412):_0x392412,_0xec05c0=_0x45846a['length']-0x1,_0x5adc87;_0xec05c0>=0x0;_0xec05c0--)(_0x5adc87=_0x45846a[_0xec05c0])&&(_0x443ea8=_0x5adc87(_0x443ea8)||_0x443ea8);return _0x443ea8;},ut=(_0x5369d4,_0x4123e7)=>(_0x42f6cd,_0x42e7f4)=>_0x4123e7(_0x42f6cd,_0x42e7f4,_0x5369d4);function Ks(_0x91c93f){var _0x2a5067=_0x72bb68;const {unitID:_0x9fc40b,mutations:_0x413a93}=_0x91c93f;return{'unitId':_0x9fc40b,'subUnitId':_0x413a93[0x0][_0x2a5067(0x226)][_0x2a5067(0x14b)]};}let it=class{constructor(_0x2e4365,_0x172f9f,_0xc9015b){var _0x5e2cb3=_0x72bb68;this['_injector']=_0x2e4365,this[_0x5e2cb3(0x23a)]=_0x172f9f,this[_0x5e2cb3(0x10b)]=_0xc9015b;}['transformSelections'](_0x29cb7a){var _0x3d158d=_0x72bb68,_0x1ba12b,_0x28e5fa,_0x27fa6b,_0x9d82e9;const _0x1df18c=this[_0x3d158d(0x37c)][_0x3d158d(0x283)](_0x1ec771),{unitId:_0x1de151,subUnitId:_0x1dab06}=Ks(_0x29cb7a),_0x485d7d=_0x1df18c==null?void 0x0:_0x1df18c[_0x3d158d(0xc4)](_0x1de151)[_0x3d158d(0x35b)](),_0xab97c4=(_0x28e5fa=(_0x1ba12b=this[_0x3d158d(0x10b)][_0x3d158d(0x164)](_0x1de151))==null?void 0x0:_0x1ba12b[_0x3d158d(0x33f)]())==null?void 0x0:_0x28e5fa['getSheetId']();if(_0x485d7d[_0x3d158d(0x182)]===0x0||!_0x1de151||!_0x1dab06)return;const _0x24dd8a=[{'id':_0x39686a['id'],'params':{'unitId':_0x1de151,'subUnitId':_0xab97c4,'selections':_0x33b377['deepClone'](_0x485d7d)}}],_0x43d7ce=this[_0x3d158d(0x23a)][_0x3d158d(0x16f)](_0x29cb7a,_0x24dd8a);if(!_0x4eb0e0(_0x43d7ce))throw _0x43d7ce[_0x3d158d(0x32f)];const _0x430a40=(_0x9d82e9=(_0x27fa6b=_0x43d7ce[_0x3d158d(0x1df)][0x0])==null?void 0x0:_0x27fa6b[_0x3d158d(0x226)])==null?void 0x0:_0x9d82e9[_0x3d158d(0x257)];if(Array[_0x3d158d(0x1ca)](_0x430a40)&&_0x430a40[_0x3d158d(0x182)]){if(_0x430a40['length']===_0x24dd8a[0x0][_0x3d158d(0x226)]['selections'][_0x3d158d(0x182)]&&_0x430a40[_0x3d158d(0x7e)]((_0x228405,_0x291521)=>_0x2e545e[_0x3d158d(0x156)](_0x228405[_0x3d158d(0x2b1)],_0x24dd8a[0x0]['params'][_0x3d158d(0x257)][_0x291521]['range'])))return;this[_0x3d158d(0x37c)][_0x3d158d(0x283)](_0xe29ee9)[_0x3d158d(0x36a)](_0x39686a['id'],{'unitId':_0x1de151,'subUnitId':_0xab97c4,'selections':_0x430a40});}}};it=Ys([ut(0x0,_0x41311f(_0x4cac68)),ut(0x1,_0x13d105),ut(0x2,_0x4aee63)],it);const ht=_0x478483(_0x72bb68(0x1a2));var Ei=(_0x159aab=>(_0x159aab[_0x159aab[_0x72bb68(0x373)]=0x0]=_0x72bb68(0x373),_0x159aab[_0x159aab[_0x72bb68(0x1f8)]=0x1]=_0x72bb68(0x1f8),_0x159aab))(Ei||{});const qs=new Set([_0x1a947d['id']]);function Wt(_0x25beda,_0x48018f,_0x442c82,_0x13dcb0,_0x13d9bb){var _0x1936c5=_0x72bb68,_0x2d1eae,_0x58f6db,_0x327dae,_0x5234ca;const _0x4541e2=[];for(const _0x2e99b5 of _0x25beda)if(qs[_0x1936c5(0xc9)](_0x2e99b5['id'])){if(_0x4541e2[_0x1936c5(0x182)]>0x0)break;_0x4541e2[_0x1936c5(0xe7)](_0x2e99b5);break;}else _0x4541e2[_0x1936c5(0xe7)](_0x2e99b5);const _0x4c175b=(_0x58f6db=(_0x2d1eae=_0x13d9bb[_0x1936c5(0x2b5)]())==null?void 0x0:_0x2d1eae[_0x1936c5(0x90)])!=null?_0x58f6db:_0x1936c5(0x2d9),_0xc33c40=(_0x5234ca=(_0x327dae=_0x13d9bb[_0x1936c5(0x2b5)]())==null?void 0x0:_0x327dae[_0x1936c5(0x1e6)])!=null?_0x5234ca:_0x1936c5(0x2d9);return{'changeset':{'unitID':_0x48018f,'type':_0x5f0393(_0x442c82[_0x1936c5(0xb5)](_0x48018f)),'baseRev':_0x13dcb0[_0x1936c5(0x37a)](_0x48018f),'revision':0x0,'userID':_0x4c175b,'memberID':_0xc33c40,'mutations':_0x4541e2},'pendingMutations':_0x25beda[_0x1936c5(0xb9)](_0x4541e2[_0x1936c5(0x182)])};}function zs(_0x25c85d,_0x5e1893,_0x41e65e,_0x4bac33,_0x6ec15){var _0x5594ad=_0x72bb68,_0x39986e,_0x359da7,_0x2105c8,_0x5a48a9;const _0x20157a=[_0x25c85d[_0x5594ad(0x338)]((_0x2718cc,_0x233b41)=>{var _0x3dd3cf=_0x5594ad,_0x405364;const {id:_0x934a23}=_0x2718cc,{id:_0x1db8b9,type:_0x410cf9}=_0x233b41,_0x2b0d59=(_0x405364=_0x2718cc['params'])!=null?_0x405364:{'actions':null},_0x17600d=_0x233b41[_0x3dd3cf(0x226)];if(_0x934a23&&_0x934a23!==_0x1db8b9)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x934a23+_0x3dd3cf(0xb2)+_0x1db8b9+'.');return{..._0x2718cc,'id':_0x1db8b9,'type':_0x410cf9,'params':{'unitId':_0x17600d[_0x3dd3cf(0x1c6)],'textRanges':_0x17600d[_0x3dd3cf(0x380)],'actions':_0x6c7d57[_0x3dd3cf(0x28b)](_0x2b0d59[_0x3dd3cf(0xc2)],_0x17600d[_0x3dd3cf(0xc2)])}};},{})],_0x35680c=(_0x359da7=(_0x39986e=_0x6ec15[_0x5594ad(0x2b5)]())==null?void 0x0:_0x39986e[_0x5594ad(0x90)])!=null?_0x359da7:_0x5594ad(0x2d9),_0x4e57e6=(_0x5a48a9=(_0x2105c8=_0x6ec15[_0x5594ad(0x2b5)]())==null?void 0x0:_0x2105c8[_0x5594ad(0x1e6)])!=null?_0x5a48a9:_0x5594ad(0x2d9);return{'changeset':{'unitID':_0x5e1893,'type':_0x5f0393(_0x41e65e[_0x5594ad(0xb5)](_0x5e1893)),'baseRev':_0x4bac33[_0x5594ad(0x37a)](_0x5e1893),'revision':0x0,'userID':_0x35680c,'memberID':_0x4e57e6,'mutations':_0x20157a},'pendingMutations':[]};}function Ii(_0x2622b3,_0x1a84b3){var _0x5ecf6f=_0x72bb68;const _0x21084c=new _0x1a811b(0x1);return setTimeout(()=>_0x21084c[_0x5ecf6f(0x173)](_0x1a84b3),_0x2622b3),_0x21084c['asObservable']()['pipe'](_0x8eeaf8(0x1));}const Js={'id':_0x5e1645['id'],'type':_0x558bce['MUTATION'],'params':{}};var Xs=Object[_0x72bb68(0x159)],Ie=(_0x377e9d,_0x3f7f0d,_0x4f7106,_0x47fa20)=>{var _0x371f23=_0x72bb68;for(var _0x17a90c=_0x47fa20>0x1?void 0x0:_0x47fa20?Xs(_0x3f7f0d,_0x4f7106):_0x3f7f0d,_0x31ce4b=_0x377e9d[_0x371f23(0x182)]-0x1,_0x1e4013;_0x31ce4b>=0x0;_0x31ce4b--)(_0x1e4013=_0x377e9d[_0x31ce4b])&&(_0x17a90c=_0x1e4013(_0x17a90c)||_0x17a90c);return _0x17a90c;},P=(_0x4d1f98,_0x5aba98)=>(_0x5c4c17,_0x56fe39)=>_0x5aba98(_0x5c4c17,_0x56fe39,_0x4d1f98),Ti=(_0x8e43ea=>(_0x8e43ea[_0x72bb68(0x17c)]=_0x72bb68(0xc8),_0x8e43ea[_0x72bb68(0x21d)]=_0x72bb68(0x2f0),_0x8e43ea[_0x72bb68(0x145)]=_0x72bb68(0x1eb),_0x8e43ea[_0x72bb68(0x203)]=_0x72bb68(0x2dd),_0x8e43ea['AWAITING_WITH_PENDING']=_0x72bb68(0x215),_0x8e43ea[_0x72bb68(0x12a)]=_0x72bb68(0x1d1),_0x8e43ea[_0x72bb68(0x325)]='conflict',_0x8e43ea[_0x72bb68(0x243)]=_0x72bb68(0xa3),_0x8e43ea))(Ti||{});const Ci=0xea60;class Te{constructor(_0x18cabe,_0x3b46d3,_0x21edff,_0x2dcea0,_0x92e832,_0x11a847,_0x310ba3,_0x303d1c,_0x2a937a){var _0x48d14b=_0x72bb68;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this[_0x48d14b(0x211)]=_0x18cabe,this[_0x48d14b(0xcf)]=_0x3b46d3,this['_handler']=_0x92e832,this[_0x48d14b(0x2b8)]=_0x11a847,this[_0x48d14b(0x358)]=_0x310ba3,this['_revisionService']=_0x303d1c,this[_0x48d14b(0x35a)]=_0x2a937a,this[_0x48d14b(0xe3)]=_0x21edff,this['_pendingMutations']=_0x2dcea0);}['_checkMissing'](_0x3651ad){var _0x47dbb0=_0x72bb68;const _0x44af58=this[_0x47dbb0(0xb8)]['getCurrentRevOfUnit'](this[_0x47dbb0(0x211)]);return _0x3651ad[_0x47dbb0(0x2f4)]>_0x44af58+0x1?(this[_0x47dbb0(0x1a5)][_0x47dbb0(0xaa)]({'from':_0x44af58,'to':_0x3651ad[_0x47dbb0(0x2f4)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x4888fd){var _0x51216b=_0x72bb68;this[_0x51216b(0x358)]['transformUndoRedo'](this['unitID'],_0x4888fd);}[_0x72bb68(0x248)](_0x42d7ab){var _0x5bdce9=_0x72bb68,_0x55f7d1,_0x24f65f;(_0x24f65f=(_0x55f7d1=this[_0x5bdce9(0x1a5)])['onTransformSelections'])==null||_0x24f65f['call'](_0x55f7d1,_0x42d7ab);}[_0x72bb68(0x107)](_0x47c601){var _0x465ed7=_0x72bb68,_0x96d0ce,_0x45bbe0;return(_0x45bbe0=(_0x96d0ce=this[_0x465ed7(0x1a5)])[_0x465ed7(0x202)])==null?void 0x0:_0x45bbe0[_0x465ed7(0x32b)](_0x96d0ce,_0x47c601);}[_0x72bb68(0x118)](_0x1627bd){var _0x5417d1=_0x72bb68,_0x265e37,_0x8c5684;return(_0x8c5684=(_0x265e37=this[_0x5417d1(0x1a5)])['onTransformState'])==null?void 0x0:_0x8c5684['call'](_0x265e37,_0x1627bd);}[_0x72bb68(0x276)](_0x4a43d8){var _0x5655c3=_0x72bb68,_0x23bef9,_0x28bc25,_0x3f078b;return(_0x3f078b=(_0x28bc25=(_0x23bef9=this[_0x5655c3(0x1a5)])[_0x5655c3(0x30a)])==null?void 0x0:_0x28bc25[_0x5655c3(0x32b)](_0x23bef9,_0x4a43d8))!=null?_0x3f078b:_0x4a43d8;}[_0x72bb68(0xb6)](_0xc1d43c){var _0x16b438=_0x72bb68,_0x469d42,_0x4fadb7,_0x910458;return(_0x910458=(_0x4fadb7=(_0x469d42=this[_0x16b438(0x1a5)])[_0x16b438(0x1e9)])==null?void 0x0:_0x4fadb7[_0x16b438(0x32b)](_0x469d42,_0xc1d43c))!=null?_0x910458:_0xc1d43c;}[_0x72bb68(0x127)](_0x2a3dc1){var _0x1e042a=_0x72bb68,_0x4165b8,_0x115935;if(this['type']===Z[_0x1e042a(0x357)]){const {unitID:_0x5bc6c0,mutations:_0x3a04e4,memberID:_0x214365}=_0x2a3dc1,_0x4133fb=_0x3a04e4[0x0][_0x1e042a(0x226)][_0x1e042a(0x380)];Array['isArray'](_0x4133fb)&&_0x4133fb[_0x1e042a(0x182)]>0x0&&((_0x115935=(_0x4165b8=this[_0x1e042a(0x1a5)])[_0x1e042a(0x8a)])==null||_0x115935[_0x1e042a(0x32b)](_0x4165b8,{'unitID':_0x5bc6c0,'memberID':_0x214365,'textRanges':_0x4133fb}));}}[_0x72bb68(0xec)](){var _0x3919b1=_0x72bb68,_0x2ada9a;(_0x2ada9a=this[_0x3919b1(0x35a)])==null||_0x2ada9a[_0x3919b1(0x377)](this[_0x3919b1(0x211)],this[_0x3919b1(0xcf)],this['_awaitingChangeset'],this[_0x3919b1(0x2fb)]);}[_0x72bb68(0x168)](){var _0x3a06b8=_0x72bb68;return this[_0x3a06b8(0xb8)][_0x3a06b8(0x37a)](this['unitID']);}[_0x72bb68(0x154)](){var _0x33cf95=_0x72bb68;this['_revisionService']['incrementRevOfUnit'](this[_0x33cf95(0x211)]);}[_0x72bb68(0x270)](_0x376eaf){var _0x38a36f=_0x72bb68,_0x3b1613;let _0x265304=this[_0x38a36f(0x276)](_0x376eaf);_0x265304=this['_transformRemoteChangesetByStateCache'](_0x265304);const _0x2dbf9a=_0xa7a5e8(_0x265304[_0x38a36f(0x2ff)],this[_0x38a36f(0x2b8)],{'fromCollab':!0x0});if(!_0x2dbf9a['result'])throw _0x2dbf9a[_0x38a36f(0x32f)]instanceof Error?_0x2dbf9a[_0x38a36f(0x32f)]:new Error((_0x3b1613=_0x2dbf9a[_0x38a36f(0x32f)])!=null?_0x3b1613:'[CollaborationState]:\x20apply\x20error!');this[_0x38a36f(0x107)](_0x265304),this[_0x38a36f(0x118)](_0x265304),this[_0x38a36f(0x1a0)](_0x376eaf),this[_0x38a36f(0x248)](_0x265304),this[_0x38a36f(0x127)](_0x265304),this[_0x38a36f(0x154)]();}}let ye=class extends Te{constructor(_0xc1b6b8,_0xe2712f,_0x553684,_0x42b06b,_0x206b02,_0x2d4e5b,_0x2d732c,_0x57ce9b,_0x5f5403,_0x1cacfd){var _0x31f493=_0x72bb68;super(_0xc1b6b8,_0xe2712f,null,[],_0x553684,_0x2d732c,_0x2d4e5b,_0x42b06b,_0x1cacfd),N(this,'status','synced'),(this[_0x31f493(0x37c)]=_0x206b02,this[_0x31f493(0xde)]=_0x57ce9b,this['_transformService']=_0x5f5403,this[_0x31f493(0x1cd)]=_0x1cacfd);}[_0x72bb68(0x250)](_0x47164b){var _0x2790e1=_0x72bb68;const _0x57b87c=this['_injector'][_0x2790e1(0x20d)](re,this[_0x2790e1(0x211)],this[_0x2790e1(0xcf)],[_0x47164b],this[_0x2790e1(0x1a5)]);return _0x57b87c[_0x2790e1(0x26b)](),_0x57b87c[_0x2790e1(0xec)](),_0x57b87c;}[_0x72bb68(0x19b)](_0x234077){var _0x16770e=_0x72bb68;if(this[_0x16770e(0xa4)](_0x234077))return this[_0x16770e(0x37c)][_0x16770e(0x20d)](Q,this[_0x16770e(0x211)],this[_0x16770e(0xcf)],null,[],null,[_0x234077],this[_0x16770e(0x1a5)]);try{const _0x315c5d=this[_0x16770e(0x23a)][_0x16770e(0x16f)](_0x234077,[Js]);if(_0x4eb0e0(_0x315c5d)){const {c1Prime:_0x59ebaf}=_0x315c5d;return this[_0x16770e(0x270)](_0x59ebaf),this;}throw _0x315c5d[_0x16770e(0x32f)];}catch(_0x1f191c){return this[_0x16770e(0xde)][_0x16770e(0x32f)](_0x1f191c),this[_0x16770e(0x2fa)](!0x1);}}[_0x72bb68(0x2fa)](_0x32354f){var _0x420021=_0x72bb68;return this[_0x420021(0x37c)][_0x420021(0x20d)](le,this[_0x420021(0x211)],this['type'],null,[],this['_handler'],_0x32354f);}['onRemoteAck'](){var _0x380eb=_0x72bb68;throw new Error(_0x380eb(0x36c));}[_0x72bb68(0x34d)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x2a1221=_0x72bb68;return this[_0x2a1221(0x37c)][_0x2a1221(0x20d)](ue,this[_0x2a1221(0x211)],this[_0x2a1221(0xcf)],null,[],this[_0x2a1221(0x1a5)]);}[_0x72bb68(0x31a)](){return this;}[_0x72bb68(0x92)](){var _0x3f4795=_0x72bb68;throw new Error(_0x3f4795(0x360));}[_0x72bb68(0xbd)](){var _0x45ec01=_0x72bb68;const _0x3c026e=this['_revisionService']['getCurrentRevOfUnit'](this[_0x45ec01(0x211)]);return this['_handler']['onMissingChangesets']({'from':_0x3c026e,'to':0x0}),this[_0x45ec01(0x37c)][_0x45ec01(0x20d)](Q,this['unitID'],this[_0x45ec01(0xcf)],null,[],null,[],this['_handler']);}};ye=Ie([P(0x3,_0x41311f(_0x2d82bd)),P(0x4,_0x41311f(_0x4cac68)),P(0x5,_0x1032f6),P(0x6,_0xe29ee9),P(0x7,_0x39af9e),P(0x8,_0x13d105),P(0x9,_0x3cf774(J))],ye);let re=class extends Te{constructor(_0x5550f4,_0x6432d7,_0xf2c077,_0x362f28,_0x688984,_0x4c2fd8,_0x4475b8,_0x21e266,_0x99b392,_0x27b471,_0x2a7e2a,_0x5ae18f,_0x542ff8,_0x3d75f5){var _0x21eef6=_0x72bb68;super(_0x5550f4,_0x6432d7,null,_0xf2c077,_0x362f28,_0x99b392,_0x542ff8,_0x4c2fd8,_0x3d75f5),N(this,'status','pending'),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x21eef6(0xc0),null),(this[_0x21eef6(0x37c)]=_0x688984,this['_memberService']=_0x4475b8,this[_0x21eef6(0xde)]=_0x21e266,this['_configService']=_0x27b471,this[_0x21eef6(0x23a)]=_0x2a7e2a,this['_univerInstanceService']=_0x5ae18f);}['appendMutation'](_0x4bb975){var _0x583245=_0x72bb68;return this[_0x583245(0x2fb)][_0x583245(0xe7)](_0x4bb975),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x54556f){var _0x397dc0=_0x72bb68;if(this[_0x397dc0(0xa4)](_0x54556f))return this[_0x397dc0(0x1b9)](),this['_injector']['createInstance'](Q,this[_0x397dc0(0x211)],this['type'],null,this[_0x397dc0(0x2fb)],null,[_0x54556f],this[_0x397dc0(0x1a5)]);try{const _0x3aa0ba=this[_0x397dc0(0x23a)][_0x397dc0(0x16f)](_0x54556f,this[_0x397dc0(0x2fb)]);if(_0x4eb0e0(_0x3aa0ba)){const {c1Prime:_0x451d6,m2Prime:_0x116e70}=_0x3aa0ba;this[_0x397dc0(0x270)](_0x451d6);const _0x84f545=this[_0x397dc0(0x37c)][_0x397dc0(0x20d)](re,this['unitID'],this[_0x397dc0(0xcf)],_0x116e70,this[_0x397dc0(0x1a5)]);this[_0x397dc0(0x1b9)]();const _0xa35ad6=new Date()['getTime'](),_0x54f7e6=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x397dc0(0x2bd)]-_0xa35ad6,0x0):this[_0x397dc0(0x25b)]();return _0x84f545['_schedule'](_0x54f7e6),_0x84f545;}throw _0x3aa0ba[_0x397dc0(0x32f)];}catch(_0x28d500){return this[_0x397dc0(0xde)]['error'](_0x28d500),this[_0x397dc0(0x2fa)](!0x1);}}[_0x72bb68(0x195)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x72bb68(0x34d)](){var _0x58a5b1=_0x72bb68;throw new Error(_0x58a5b1(0x108));}[_0x72bb68(0x24d)](){return this;}['toggleOffline'](){var _0x314f11=_0x72bb68;return this[_0x314f11(0x1b9)](),this[_0x314f11(0x37c)][_0x314f11(0x20d)](ue,this['unitID'],this[_0x314f11(0xcf)],null,this[_0x314f11(0x2fb)],this[_0x314f11(0x1a5)]);}['toggleOnline'](){return this;}[_0x72bb68(0x26b)](_0x39353a){var _0x1d7187=_0x72bb68;const _0x505a1d=_0x39353a!=null?_0x39353a:this[_0x1d7187(0x25b)]();this[_0x1d7187(0x2bd)]=new Date()[_0x1d7187(0x201)]()+_0x505a1d,this[_0x1d7187(0xc0)]=setTimeout(()=>{var _0x295118=_0x1d7187;this[_0x295118(0x1b9)]();let _0x90034=null;switch(this['type']){case Z[_0x295118(0x9d)]:{_0x90034=Wt(this[_0x295118(0x2fb)],this[_0x295118(0x211)],this[_0x295118(0xf4)],this[_0x295118(0xb8)],this[_0x295118(0xf8)]);break;}case Z[_0x295118(0x357)]:{this[_0x295118(0x2fb)][_0x295118(0x7e)](_0x4c689d=>_0x4c689d['id']===_0x85a4d0['id'])?_0x90034=zs(this[_0x295118(0x2fb)],this[_0x295118(0x211)],this[_0x295118(0xf4)],this[_0x295118(0xb8)],this[_0x295118(0xf8)]):_0x90034=Wt(this[_0x295118(0x2fb)],this['unitID'],this[_0x295118(0xf4)],this[_0x295118(0xb8)],this[_0x295118(0xf8)]);break;}default:throw new Error(_0x295118(0x11c)+this['type']+_0x295118(0xe6));}const {changeset:_0x14ee21,pendingMutations:_0x1ebb29}=_0x90034;this[_0x295118(0x1a5)][_0x295118(0x132)](_0x14ee21);const _0x5731bf=_0x1ebb29[_0x295118(0x182)]?this[_0x295118(0x37c)][_0x295118(0x20d)](ae,this[_0x295118(0x211)],this[_0x295118(0xcf)],_0x14ee21,_0x1ebb29,this['_handler'],void 0x0):this[_0x295118(0x37c)][_0x295118(0x20d)](_e,this['unitID'],this[_0x295118(0xcf)],_0x14ee21,this['_handler']);_0x5731bf[_0x295118(0xec)](),this[_0x295118(0x1a5)][_0x295118(0xf6)](this,_0x5731bf);},_0x505a1d);}[_0x72bb68(0x25b)](){var _0x571959=_0x72bb68,_0x54a639;const _0x139345=this[_0x571959(0x184)][_0x571959(0x1e2)](K);return(_0x54a639=_0x139345==null?void 0x0:_0x139345[_0x571959(0xfe)])!=null?_0x54a639:ms;}[_0x72bb68(0x92)](){var _0x3e666b=_0x72bb68;throw new Error(_0x3e666b(0x342));}[_0x72bb68(0x1b9)](){var _0x3e95b5=_0x72bb68;this[_0x3e95b5(0xc0)]!=null&&(clearTimeout(this[_0x3e95b5(0xc0)]),this[_0x3e95b5(0xc0)]=null);}[_0x72bb68(0x2fa)](_0x1aa8d3){var _0x56234a=_0x72bb68;return this[_0x56234a(0x1b9)](),this[_0x56234a(0x37c)][_0x56234a(0x20d)](le,this[_0x56234a(0x211)],this[_0x56234a(0xcf)],null,this[_0x56234a(0x2fb)],this[_0x56234a(0x1a5)],_0x1aa8d3);}};re=Ie([P(0x4,_0x41311f(_0x4cac68)),P(0x5,_0x41311f(_0x2d82bd)),P(0x6,_0x41311f(Pe)),P(0x7,_0x39af9e),P(0x8,_0xe29ee9),P(0x9,_0x19233d),P(0xa,_0x13d105),P(0xb,_0x4aee63),P(0xc,_0x1032f6),P(0xd,_0x3cf774(J))],re);function _0x3795(){var _0x1d4a4f=['LIVESHARE_FETCH_OPERATIONS','readInt32LE','concat','_localeService','381832fCugLP','members$','_collaborationSessionService','compose','_changesetSessionId','_unitID','Decryptor','_retryCount','UPDATE_PERMISSION_OBJ','entityInit$','APPLY_DUPLICATED','session','INVITE_CODE_ALREADY_BOUND','PERMISSION_REJ','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collabWebSocketUrl','stopTime','HELLO','_cipher','_createInitialStateImpl','&source=','waitForRoom$','pluginName','body','getUnitId','[CollaborationEntity]','12109360LzNKVP','sessionStatus$','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','ivSize','PERSON','refreshPermission','RECV','enableAuthServer','decrypt','min','readyForCollab','getDeserializedSheetBlock','_substituteUndoStack','_joinRoom','list','range','status$','_onUserJoin','AUTHZ_URL_KEY','getCurrentUser','_createInitialState','CLOSE_ROOM','_commandService','url','fetchMissingChangesets','string','UNKNOWN_CMD','_scheduleCompleteTimestamp','LIVESHARE_NEW_HOST','PERMISSION_DENIED','liveShareOperation','_unitInfo$','[CollaborationSessionService]','disposeWithMe','_entityInit$','result','[CollaborationSession]','/resources','getCollabEntity$','_tryEnsureSocket','POST','collabSubmitChangesetUrl','getTypeOfUnitDisposed$','mode','_onJoinRoomEvent','_onRemoteACK','ws://127.0.0.1:8000/universer-api/comb/connect','_getAPIPrefix','Utf8','BlockCipherMode','&to=','setWaitCount','YUUMI_TABLE_NOT_FOUND_IN_UNIT','HmacSHA1','/-/object/list','unknown','GLOBAL_ROOMS_CNT_EXCEEDS','snapshot','reqId','awaiting','2529990HmbYHZ','MSG_FOR_ERROR','initWorkbookPermissionChange','getSnapshotAPIPath','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_onCombEvent','_config','JOIN_ROOM_NOT_EXISTS','USERS_LEAVE','OTHER_CLIENT_EDITING','image/png','Base','pipe','onCommandExecuted','_replaceFileID','msCrypto','onMissedChangesetFetched','_telemetryService','synced','objectID','randomBytes','_initUnitPermissionChange','revision','USER_NOT_INVITED_CODE','_parse','HmacMD5','_state$','newCsEvent','_onConflict','_pendingMutations','/universer-api/comb','YUUMI_URL_COL_OUT_OF_RANGE','_oKey','mutations','_sessionStatus$','YUUMI_ALL_TABLES_IS_INVALID','FAIL','_changesetReqId','_shouldReportTelemetry','AES','createCollaborator','_waitForHeartbeatResponse','uniscriptRunEvent','function','onTransformRemoteChangesetByIMECache','toggleOffline','_permissionService','online$','_sheetTransformSelectionsService','HttpExport','_collaborationTimeoutTimer','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','salt','_state','encrypt','setCurrentUser','_prevBlock','_createHelper','clear','clamp','toggleOnline','_members','/object','_HTTPService','UnitSnapshot','LEAVE','objectType','Hex','/collaborator','findIndex','StreamCipher','CONFLICT','emitEvent','COLLAB_WEB_SOCKET_URL','USERS_ENTER','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','unpad','call','authzUrl','_createSocket','put','error','unit-cache-','_decreaseWaiting','default','entries','formatter','duration','BlockCipher','_removeRoom','reduce','clone','startTime','UnitEmbedded','UPDATE_CURSOR','1476180EdGhOW','add','getActiveSheet','/unit/','send','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getLatestCsReqIdBySid','crypto','_reverseMap','_collaborationPaused','deleteCollaborator','_submitChangeset','BASE64','x-univer-host','_queuedRemoteChangesets','mixIn','onRemoteRej','SHOULD_CLOSE_CONN','post','_getSignURL','join','BufferedBlockAlgorithm','permissionRejEvent','sin','routeKey','getTypeOfUnitAdded$','UNIVER_DOC','_undoRedoService','[OfflineState]:\x20received\x20rejection.','_localCacheService','getCurrentSelections','OPTIONAL','_clearRedo','charAt','loadUnit','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_initMergeInterceptor','readAsDataURL','random','createDecryptor','code','_keySchedule','_httpService','YUUMI_AI_RUN_FAILED','YUUMI_NO_CUBOID_FOR_QUESTION','executeCommand','univer-pro.collaboration-client.network-condition.service','[SyncedState]:\x20received\x20acknowledgement.','originalMeta','NOT_FOUND','ALREADY_EXISTS','_tryReconnect','image/jpg','createSocket','NO_OTHER_CLIENTS_EDITING','map','_throwTelemetryCollaborationNewChangeset','Undefined','updateOfflineData','commentUpdate$','transformChangesets','getCurrentRevOfUnit','_collaborationUIEventService','_injector','SOCKET_FAILED_RETRY','onTransformState','updateSnapshot','textRanges','UNIVER_SLIDE','734832HqInwU','updateCollaborator','stringify','symbol','subscribe','every','923237bCkNZY','JOIN_ROOM_PERMISSION_DENIED','COLLAB_SUBMIT_CHANGESET_URL','transformSelections','transformUndoRedo','_stopTelemetryCollaborationNewChangeset','_toggleOnline','_socketReady','ERROR_IMAGE_TYPE','_startTelemetryCollaborationNewChangeset','_nDataBytes','onSyncEditingCollabCursor','SUBMIT_CHANGESET','complete','status','_roomMembers','_onConnectionFailed','userID','INVALID_ARGUMENT','resend','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','PSEUDO_FETCH_MISSING_RESULT','_doCryptBlock','onTransformSelections','dispose','ciphertext','JOINING','create','Error\x20on\x20receiving\x20event','_registerDependencies','UNIVER_SHEET','COMPLETION_FINISHED','_userManagerService','MUTATION','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_onMessage','offline','_checkMissing','filter','editing\x20status\x20changed\x20to','_status$','&assign=','buffer','onMissingChangesets','_members$','listRoles','_iv','then','algo','cfg','conflict','\x20-\x20','avatar','telemetry\x20info\x20is\x20not\x20initialized','getUnitType','_transformRemoteChangesetByStateCache','_DEC_XFORM_MODE','_revisionService','slice','YUUMI_RATE_OVER_LIMIT','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','socket\x20open.','fetchMiss','requireSession','[CollaborationUndoRedoService]','_sendingTimer','_getAPIPrefixPath','actions','LOCAL_CACHE_INTERVAL','getWorkbookSelections','decryptBlock','_waitCount','_change$','not_collab','has','Cipher','_getLoginPath','_onRemoteRetry','collaMsg','startsWith','type','SHA1','words','UNRECOGNIZED','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','closeSession','splice','snapshotServerUrl','_clearUndo','_undoStacks','TOO_MANY_REQUESTS','signUrlServerUrl','substr','asObservable','UNISCRIPT_RUN','_logService','univer-pro.collaboration-client-socket-service','_networkConditionService','interceptor','onLocalMutation','_awaitingChangeset','/universer-api/file/{fileID}/sign-url','pauseCollaboration','\x20in\x20_schedule.','push','compute','onCommentUpdate','error$','RETRY_CONNECTING_MAX_COUNT','_updateLocalCache','[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.','HMAC','LICENSE_IMPORT_SIZE_EXCEEDED','c2Prime','INVALID_INVITE_CODE','c1Prime','/universer-api/authz','_univerInstanceService','APPLY_REJECT','onStateChange','_exhaustRemoteChangesetQueue','_memberService','APPLY_REVISION_CONFILICT','getCollabEntity','setShowComponents','LIVESHARE_OPERATION','socket$','sendChangesetTimeout','copyFileMeta','__creator','APPLY_NON_SEQUENTIAL_REVISION','[OfflineState]:\x20received\x20changeset.','[CollaborationSessionService]:\x20socket\x20error','repeat','getSheetBlock','_rescheduleHeartbeat','_transformIMECache','[PendingState]:\x20received\x20rejection.','uploadFileServerUrl','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_instanceService','[DataLoaderService]','now','_timeoutTimer','_compressMutationService','leaveEvent','INGEST','getValue','JOIN_ROOM_FULL','_onRecvEvent','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_type','ceil','_transformStateCache','_data','file','[FetchMissState]','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_collabSessionService','_sendHeartbeatTimer','_retryConnectingTimer','resolve','PasswordBasedCipher','enc','changesets','message$','withCredentials','_onConnectionOpen','_syncEditingCollabCursor','CONNECTOR_DATA_TOO_LARGE','socketService','FETCH_MISS','parse','loadOfflineData','_remoteChangesetQueue','INTERNAL_ERROR','ERROR_IMAGE','/universer-api/stream/file/upload','_initRequestHeader','onSendChangeset','_sendHeartbeat','sessionStatus','/universer-api/user/session-ticket','fromCharCode','_transformStack','reset','saveImage','_listenToNetworkCondition','EvpKDF','data','getRoom','Encryptor','includes','_unlockTransition','workbook','session.room-cnt-exceeds','_transitionLocked','name','PENDING','padding','registerHTTPInterceptor','baseRev','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','key','subUnitId','change$','_clearTimeoutTimer','commentUpdateEvent','_event$','UNIVER_UNKNOWN','debug','format','JOIN_ROOM_FAILED','_incrementRevisionNumber','/allowed','equals','failed\x20to\x20apply\x20missed\x20changesets!','/fetchmissing?from=','getOwnPropertyDescriptor','CHANGESET_SHOULD_RETRY','connection\x20error','hasOwnProperty','encryptBlock','/universer-api/uniscript','getFocusedUnit','_onOffline','_isPermissionRej','open$','_minBufferSize','getUnit','_initCloseConn','HEARTBEAT_INTERVAL','toString','_getCurrentRevision','awaitingChangeset','forEach','infoRsp','?size=','_startCollaboration','removeMember','transformMutationsWithChangeset','Malformed\x20UTF-8\x20data','INVITE_CODE_REQUIRED','[UniverCollaborationClientPlugin]','next','_clearHeartbeatTimer','APPLY_PERMISSION_DENIED','/universer-api/oidc/authpage','lib','_commentUpdate$','_sessions','dispose$','cmd','NOT_COLLAB','addHandlerCallback','_initDependencies','\x20to\x20','UNKNOWN_CODE','joinRsp','length','enableSingleActiveInstanceLock','_configService','CHANGESET_ACK','_resendTimeout','UNAUTHENTICATED','session.join-failed','_updateStatus','_emitMembers','OpenSSL','_sender','indexOf','unsubscribe','saveChangeset','_socket$','allowed','_substituteRedoStack','blockSize','session.room-full','onRemoteAck','src','People','_imageSourceCache','updateCursorEvent','state','onRemoteChangeset','UUID','LICENSE_DISTRO_REJECTED','UNIVER_PROJECT','isPermissionRej','_transformUndoredo','_toggleOffline','univer-pro.collaboration-client.single-active-unit-service','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','image/bmp','_handler','CHANGESET_REJ','DEFAULT_FILE_NAME','_snapshotService','COMMENT_UPDATE','_hasher','size','_xformMode','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','CHANGESET_REVISION_CONFILICT','getInterceptPoints','_applyRemoteChangeset','getImageSourceCache','reconnect','downloadEndpointUrl','IDLE','objects','auth.needGotoLoginAlert','from','prototype','_clearScheduledTask','_getCtorByUniverType','headers','_createHandler','_mode','YUUMI_UNABLE_LOAD_URL','Pkcs7','_doReset','_socketService','set','LICENSE_MAX_UNITS_EXCEEDED','liveShareNewHost','Univer','unitId','[OfflineState]:\x20received\x20acknowledgement.','_roomCreated$','init','isArray','finalize','_onRemoteRejected','localCacheService','eventID','apply','_nRounds','fetch_missing','_socketMessageSubscription','reverse','_handlerCallback','_entities','_acknowledgedAwaitingChangeset','shouldCloseConn','delete','extend','_invKeySchedule','resourceIDs','update','encodeURIComponent','WECHAT_HAS_BEEN_BOUND','m2Prime','/object/','SNAPSHOT_URL_KEY','getConfig','_clearRetryConnectingTimer','LICENSE_EXPORT_SIZE_EXCEEDED','6naGjuh','memberID','enableCollaboration','getRandomValues','onTransformRemoteChangesetByStateCache','_ENC_XFORM_MODE','pending','pad','_onLocalMutation','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','NEW_CHANGESETS','getResourcesRequest','getMember','fetchThroughInterceptors','_resendTimer','hostname','__esModule','COMPRESS_MUTATION_SEND','fetching\x20missing\x20changesets\x20from\x20','OTHER_CLIENTS_EDITING','encode','JOIN','ONLINE','_doFinalize','kdf','Base64','_onFetchMissResult','csAckEvent','getTime','onTransformIME','AWAITING','roomInfos','_onUserLeave','UserProfileImg','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','byteLength','HttpImport','LIVESHARE_TERMINATE','SOCKET_FAILED','_candidateSocket','createInstance','ENSURE_SNAPSHOT_EXECUTION','_doProcessBlock','_getDownloadEndpointURL','unitID','/role','SUCCUSS','_updateState','awaiting_with_pending','_process','MD5','UNIVER_COLLABORATION_CLIENT_PLUGIN','close$','members','processBlock','updateMember','SYNCED','SUBMIT_CHANGESET_TIMEOUT','FileId','_resendWithTimeout','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_getUploadFileURL','NoPadding','sid','/block/','params','_eventService','$super','rev','csShouldRetryEvent','collaboratorID','SNAPSHOT_SERVER_URL_KEY','_init','YUUMI_SUBSCRIPTION_NOT_FOUND','HEARTBEAT','floor','iterations','addImageSourceCache','Hasher','SNAPSHOT_INVALID_SNAPSHOT','max','getMemberID','CipherParams','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','objectActions','_transformService','getUnitStatus$','method','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','Latin1','LOGIN_URL_KEY','joinEvent','_getRedoStack','COMPRESS_MUTATION_APPLY','OFFLINE','catch','requestParams','close','charCodeAt','_transformSelections','enableOfflineEditing','WordArray','loginUrlKey','_showConflictNotification','onRemoteRetry','PY_RUNTIME_SCRIPT_ERROR','_lockTransition','appendMutation','SerializableCipher','LIVESHARE_REQUEST_HOST','image/gif','ERROR_EXCEED_SIZE','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','1291707RroyIz','selections','keySize','_fetchMissChangesets','_telemetryInfo','_getSendChangesetTimeout','_getUndoStack','collaborators','event$','sigBytes','href','_redoStacks','location','save\x20fail\x20reason\x20is\x20','_clearCollaborationTimeoutTimer','_hash','transformStack\x20failed!','collaboration-client.local-cache-service','_singleActiveUnitService','_append','\x0aAfter:\x20','_schedule','__Key__','state$','_createHmacHelper','updatePermissionPoint','_executeRemoteChangeset','exports','/universer-api/snapshot','_key','collaboration-client.config','_disableEditing','_transformRemoteChangesetByIMECache','loadUnitOfRevision','target','_map','MOBILE_HAS_BEEN_BOUND','SEND_CHANGESET_TIMEOUT','origin','hasher','saveSnapshot','createEncryptor','_socket','reject','subject','get'];_0x3795=function(){return _0x1d4a4f;};return _0x3795();}let _e=class extends Te{constructor(_0x2a907c,_0x41f4ce,_0x59b056,_0x4f5524,_0x3c86d1,_0x54b217,_0x4d05d7,_0x1ed21b,_0x2e6379,_0x5ab98d,_0x21cf89){var _0x39e355=_0x72bb68;super(_0x2a907c,_0x41f4ce,_0x59b056,[],_0x4f5524,_0x4d05d7,_0x5ab98d,_0x54b217,_0x21cf89),N(this,_0x39e355(0x8d),_0x39e355(0x2dd)),N(this,_0x39e355(0x186),0x0),N(this,_0x39e355(0x1f3)),N(this,_0x39e355(0x18c)),(this[_0x39e355(0x37c)]=_0x3c86d1,this[_0x39e355(0xde)]=_0x1ed21b,this['_transformService']=_0x2e6379);}['appendMutation'](_0x5a4c8a){var _0x5c0e5a=_0x72bb68;this[_0x5c0e5a(0x1b9)]();const _0x58f113=this['_injector']['createInstance'](ae,this[_0x5c0e5a(0x211)],this['type'],this[_0x5c0e5a(0xe3)],[_0x5a4c8a],this[_0x5c0e5a(0x1a5)],this[_0x5c0e5a(0x1f3)]);return _0x58f113[_0x5c0e5a(0xec)](),_0x58f113;}[_0x72bb68(0x19b)](_0x5a94ab){var _0x3f9a84=_0x72bb68;if(this['_checkMissing'](_0x5a94ab))return this['_clearScheduledTask'](),this['_injector'][_0x3f9a84(0x20d)](Q,this[_0x3f9a84(0x211)],this[_0x3f9a84(0xcf)],this[_0x3f9a84(0xe3)],[],null,[_0x5a94ab],this[_0x3f9a84(0x1a5)]);try{const _0x51b997=this[_0x3f9a84(0x23a)]['transformChangesets']([_0x5a94ab],[this['_awaitingChangeset']],!0x1);if(_0x3cf099(_0x51b997)){const {c1Prime:_0xde0088,c2Prime:_0x4eb0e9}=_0x51b997;this[_0x3f9a84(0x270)](_0xde0088[0x0]),_0x4eb0e9[0x0]['baseRev']=this[_0x3f9a84(0x168)](),this[_0x3f9a84(0x1b9)]();const _0x1f57bc=this[_0x3f9a84(0x37c)][_0x3f9a84(0x20d)](_e,this[_0x3f9a84(0x211)],this[_0x3f9a84(0xcf)],_0x4eb0e9[0x0],this[_0x3f9a84(0x1a5)]);return _0x1f57bc[_0x3f9a84(0xec)](),_0x1f57bc;}return this['_onConflict'](!0x1);}catch(_0x3391db){return this[_0x3f9a84(0xde)][_0x3f9a84(0x32f)](_0x3391db),this[_0x3f9a84(0x2fa)](!0x1);}}[_0x72bb68(0x195)](_0x20536a){var _0x527e43=_0x72bb68;this[_0x527e43(0x1b9)]();const _0x2a693b=this['_revisionService'][_0x527e43(0x37a)](this[_0x527e43(0x211)]);if(_0x20536a[_0x527e43(0x2f4)]<_0x2a693b-0x1)return this;if(this[_0x527e43(0xa4)](_0x20536a))return this[_0x527e43(0x37c)][_0x527e43(0x20d)](Q,this[_0x527e43(0x211)],this[_0x527e43(0xcf)],null,[],this['_awaitingChangeset'],[],this[_0x527e43(0x1a5)]);this['_incrementRevisionNumber']();const _0x474740=this[_0x527e43(0x37c)][_0x527e43(0x20d)](ye,this[_0x527e43(0x211)],this[_0x527e43(0xcf)],this[_0x527e43(0x1a5)]);return _0x474740[_0x527e43(0xec)](),_0x474740;}[_0x72bb68(0x34d)](_0x31d59e){var _0x1d42d8=_0x72bb68;return this[_0x1d42d8(0x2fa)](!!(_0x31d59e!=null&&_0x31d59e['isPermissionRej']));}[_0x72bb68(0x24d)](_0x23910d){var _0x59d74d=_0x72bb68;return this['_resendTimeout']>Ci?this[_0x59d74d(0x30b)]():(this[_0x59d74d(0x1f3)]=Ii(this[_0x59d74d(0x186)],{'timeout':this[_0x59d74d(0x186)],'reqId':_0x23910d[_0x59d74d(0x2dc)]}),this[_0x59d74d(0x18c)]=this[_0x59d74d(0x1f3)]['subscribe'](({reqId:_0x29f9e4,timeout:_0xb10c66})=>{var _0x56749f=_0x59d74d;this[_0x56749f(0x220)](_0x29f9e4,_0xb10c66);}),this);}[_0x72bb68(0x30b)](){var _0x15d2f3=_0x72bb68;return this['_clearScheduledTask'](),this[_0x15d2f3(0x37c)]['createInstance'](ue,this[_0x15d2f3(0x211)],this[_0x15d2f3(0xcf)],this[_0x15d2f3(0xe3)],[],this['_handler']);}[_0x72bb68(0x31a)](){return this;}[_0x72bb68(0x92)](){var _0x3b07b6=_0x72bb68;this[_0x3b07b6(0x1a5)][_0x3b07b6(0x132)](this['_awaitingChangeset']);}['_onConflict'](_0x51eb2d){var _0x54d440=_0x72bb68;return this[_0x54d440(0x1b9)](),this[_0x54d440(0x37c)][_0x54d440(0x20d)](le,this[_0x54d440(0x211)],this[_0x54d440(0xcf)],this[_0x54d440(0xe3)],[],this[_0x54d440(0x1a5)],_0x51eb2d);}[_0x72bb68(0x220)](_0x14491d,_0x51b578){var _0x1f08cb=_0x72bb68,_0x1a7ab9;_0x14491d===((_0x1a7ab9=this['_awaitingChangeset'])==null?void 0x0:_0x1a7ab9[_0x1f08cb(0x2dc)])&&(this[_0x1f08cb(0x92)](),this[_0x1f08cb(0x186)]=_0x51b578===0x0?0x3e8:_0x51b578*0x2);}[_0x72bb68(0x1b9)](){var _0x475c53=_0x72bb68,_0x238a93;(_0x238a93=this[_0x475c53(0x18c)])==null||_0x238a93['unsubscribe'](),this['_resendTimeout']=0x0;}};_e=Ie([P(0x4,_0x41311f(_0x4cac68)),P(0x5,_0x41311f(_0x2d82bd)),P(0x6,_0xe29ee9),P(0x7,_0x39af9e),P(0x8,_0x13d105),P(0x9,_0x1032f6),P(0xa,_0x3cf774(J))],_e);let ae=class extends Te{constructor(_0x24e79f,_0x48e83,_0x2a8227,_0xbf306b,_0x1d88c6,_0x37f818,_0x41be29,_0x3b59a5,_0x593936,_0x3e0115,_0x337f47,_0x40cbd6,_0x3b5cff){var _0x2e4126=_0x72bb68;super(_0x24e79f,_0x48e83,_0x2a8227,_0xbf306b,_0x1d88c6,_0x593936,_0x40cbd6,_0x3b59a5,_0x3b5cff),N(this,_0x2e4126(0x8d),_0x2e4126(0x215)),N(this,_0x2e4126(0x186),0x0),N(this,_0x2e4126(0x1f3)),N(this,'_sender'),(this[_0x2e4126(0x37c)]=_0x41be29,this[_0x2e4126(0xde)]=_0x3e0115,this['_transformService']=_0x337f47,this['localCacheService']=_0x3b5cff,_0x37f818&&(this[_0x2e4126(0x1f3)]=_0x37f818,this[_0x2e4126(0x18c)]=this['_resendTimer'][_0x2e4126(0x7d)](({reqId:_0x32c2df,timeout:_0xf57c9d})=>{var _0xcb4f19=_0x2e4126;this[_0xcb4f19(0x220)](_0x32c2df,_0xf57c9d);})));}['appendMutation'](_0x20b7bf){var _0x5349c9=_0x72bb68;return this[_0x5349c9(0x2fb)]['push'](_0x20b7bf),this;}[_0x72bb68(0x19b)](_0x451f26){var _0x4b8551=_0x72bb68;if(this['_checkMissing'](_0x451f26))return this[_0x4b8551(0x1b9)](),this[_0x4b8551(0x37c)][_0x4b8551(0x20d)](Q,this[_0x4b8551(0x211)],this['type'],this[_0x4b8551(0xe3)],this[_0x4b8551(0x2fb)],null,[_0x451f26],this[_0x4b8551(0x1a5)]);try{const _0x30aba0=this[_0x4b8551(0x23a)][_0x4b8551(0x379)]([_0x451f26],[this[_0x4b8551(0xe3)]],!0x1);if(_0x3cf099(_0x30aba0)){const {c1Prime:_0x22d988,c2Prime:_0x8ca96f}=_0x30aba0,_0x372109=this[_0x4b8551(0x23a)][_0x4b8551(0x16f)](_0x22d988[0x0],this[_0x4b8551(0x2fb)]);if(_0x4eb0e0(_0x372109)){const {c1Prime:_0x3ed39d,m2Prime:_0xf486e3}=_0x372109;return this['_executeRemoteChangeset'](_0x3ed39d),_0x8ca96f[0x0][_0x4b8551(0x148)]=this[_0x4b8551(0x168)](),this[_0x4b8551(0x1b9)](),this['_injector']['createInstance'](ae,this[_0x4b8551(0x211)],this['type'],_0x8ca96f[0x0],_0xf486e3,this[_0x4b8551(0x1a5)],void 0x0);}throw _0x372109['error'];}throw _0x30aba0['error'];}catch(_0x34536e){return this[_0x4b8551(0xde)][_0x4b8551(0x32f)](_0x34536e),this[_0x4b8551(0x2fa)](!0x1);}}[_0x72bb68(0x195)](_0x12b56a){var _0x19fe92=_0x72bb68;if(this['_clearScheduledTask'](),this[_0x19fe92(0xa4)](_0x12b56a))return this[_0x19fe92(0x37c)][_0x19fe92(0x20d)](Q,this[_0x19fe92(0x211)],this[_0x19fe92(0xcf)],null,this[_0x19fe92(0x2fb)],this['_awaitingChangeset'],[],this[_0x19fe92(0x1a5)]);this[_0x19fe92(0x154)]();const _0x39f5c0=this['_injector'][_0x19fe92(0x20d)](re,this[_0x19fe92(0x211)],this[_0x19fe92(0xcf)],this[_0x19fe92(0x2fb)],this[_0x19fe92(0x1a5)]);return _0x39f5c0[_0x19fe92(0x26b)](),_0x39f5c0[_0x19fe92(0xec)](),_0x39f5c0;}['onRemoteRej'](_0x7aaa19){var _0x8f8c4d=_0x72bb68;return this[_0x8f8c4d(0x2fa)](!!(_0x7aaa19!=null&&_0x7aaa19['isPermissionRej']));}['onRemoteRetry'](_0x3c11f3){var _0xd342b9=_0x72bb68;return this[_0xd342b9(0x186)]>Ci?this['toggleOffline']():(this[_0xd342b9(0x1f3)]=Ii(this[_0xd342b9(0x186)],{'timeout':this[_0xd342b9(0x186)],'reqId':_0x3c11f3['reqId']}),this[_0xd342b9(0x18c)]=this[_0xd342b9(0x1f3)][_0xd342b9(0x7d)](({reqId:_0x235dfc,timeout:_0x11c4ad})=>{var _0x3ed4af=_0xd342b9;this[_0x3ed4af(0x220)](_0x235dfc,_0x11c4ad);}),this);}[_0x72bb68(0x30b)](){var _0xc1a851=_0x72bb68;return this[_0xc1a851(0x1b9)](),this[_0xc1a851(0x37c)][_0xc1a851(0x20d)](ue,this['unitID'],this['type'],this[_0xc1a851(0xe3)],this['_pendingMutations'],this[_0xc1a851(0x1a5)]);}[_0x72bb68(0x31a)](){return this;}[_0x72bb68(0x92)](){var _0x5ce3bf=_0x72bb68;this[_0x5ce3bf(0x1a5)][_0x5ce3bf(0x132)](this['_awaitingChangeset']);}['_onConflict'](_0xcac7aa){var _0x41bbe1=_0x72bb68;return this[_0x41bbe1(0x1b9)](),this[_0x41bbe1(0x37c)]['createInstance'](le,this['unitID'],this['type'],null,this[_0x41bbe1(0x2fb)],this[_0x41bbe1(0x1a5)],_0xcac7aa);}[_0x72bb68(0x220)](_0x151638,_0x1d2dc9){var _0x49ab95=_0x72bb68,_0x4b495a;_0x151638===((_0x4b495a=this[_0x49ab95(0xe3)])==null?void 0x0:_0x4b495a[_0x49ab95(0x2dc)])&&(this[_0x49ab95(0x92)](),this[_0x49ab95(0x186)]=_0x1d2dc9===0x0?0x3e8:_0x1d2dc9*0x2);}[_0x72bb68(0x1b9)](){var _0x418fc8=_0x72bb68,_0x46c244;(_0x46c244=this[_0x418fc8(0x18c)])==null||_0x46c244['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=Ie([P(0x6,_0x41311f(_0x4cac68)),P(0x7,_0x41311f(_0x2d82bd)),P(0x8,_0xe29ee9),P(0x9,_0x39af9e),P(0xa,_0x13d105),P(0xb,_0x1032f6),P(0xc,_0x3cf774(J))],ae);let le=class extends Te{constructor(_0x25008e,_0x36f555,_0x33cd6b,_0x2218dd,_0x275795,_0x514360=!0x1,_0x23d3df,_0x27a1f5,_0x75c797,_0x24bde5,_0x538c94,_0x21ca08,_0x3f68e0){var _0x125737=_0x72bb68;super(_0x25008e,_0x36f555,_0x33cd6b,_0x2218dd,_0x275795,_0x27a1f5,_0x75c797,_0x24bde5,_0x3f68e0),N(this,_0x125737(0x8d),_0x125737(0xb1)),(this[_0x125737(0x161)]=_0x514360,this[_0x125737(0x30c)]=_0x23d3df,this[_0x125737(0x287)]=_0x538c94,this[_0x125737(0x37b)]=_0x21ca08,this['localCacheService']=_0x3f68e0,this[_0x125737(0x24c)](),this['_clearLocalCache'](),this[_0x125737(0x275)]());}[_0x72bb68(0x250)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x72bb68(0x34d)](){return this;}[_0x72bb68(0x24d)](){return this;}[_0x72bb68(0x30b)](){return this;}[_0x72bb68(0x31a)](){return this;}[_0x72bb68(0x92)](){var _0x515c9d=_0x72bb68;throw new Error(_0x515c9d(0x1ee));}['_clearLocalCache'](){var _0x1d93d0=_0x72bb68,_0x5520a1;(_0x5520a1=this[_0x1d93d0(0x35a)])==null||_0x5520a1[_0x1d93d0(0x377)](this['unitID'],this[_0x1d93d0(0xcf)],null,[]);}[_0x72bb68(0x24c)](){var _0x43025f=_0x72bb68;this[_0x43025f(0x161)]?this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x43025f(0x2bf)]}):this[_0x43025f(0x37b)][_0x43025f(0x326)]({'id':ne['CONFLICT']});}[_0x72bb68(0x275)](){var _0x50e4ca=_0x72bb68;this[_0x50e4ca(0x30c)][_0x50e4ca(0x26f)](new _0x134095(this[_0x50e4ca(0x211)])['id'],!0x1);}};le=Ie([P(0x6,_0x41311f(_0x10fa9c)),P(0x7,_0xe29ee9),P(0x8,_0x1032f6),P(0x9,_0x41311f(_0x2d82bd)),P(0xa,_0x41311f(_0x1d4c3f)),P(0xb,_0x41311f(ve)),P(0xc,_0x3cf774(J))],le);let ue=class extends Te{constructor(_0x548455,_0x32c223,_0xa8231d,_0x32f39b,_0x1677a3,_0xa81e63,_0x3d0af7,_0x4b3cce,_0x12eb7a,_0xa240ad){var _0x8e9869=_0x72bb68;super(_0x548455,_0x32c223,_0xa8231d,_0x32f39b,_0x1677a3,_0x4b3cce,_0x12eb7a,_0x3d0af7,_0xa240ad),N(this,_0x8e9869(0x8d),_0x8e9869(0xa3)),this['_injector']=_0xa81e63;}[_0x72bb68(0x250)](_0xf7e2c0){var _0x253342=_0x72bb68;return this[_0x253342(0x2fb)][_0x253342(0xe7)](_0xf7e2c0),this[_0x253342(0xec)](),this;}['onRemoteChangeset'](_0x4eb2f4){var _0x22429c=_0x72bb68;throw new Error(_0x22429c(0x102));}[_0x72bb68(0x195)](){var _0x5b7de1=_0x72bb68;throw new Error(_0x5b7de1(0x1c7));}[_0x72bb68(0x34d)](){var _0x206c6d=_0x72bb68;throw new Error(_0x206c6d(0x359));}[_0x72bb68(0x24d)](){return this;}[_0x72bb68(0x30b)](){return this;}['toggleOnline'](){var _0x1fb804=_0x72bb68;const {_injector:_0x39510a,_pendingMutations:_0x1dd1fd,_awaitingChangeset:_0x33f2b5,unitID:_0x4eafce,_handler:_0x36c67a,type:_0x245ca0}=this,_0x3d396c=Ri(_0x39510a,_0x4eafce,_0x245ca0,_0x33f2b5,_0x1dd1fd,_0x36c67a);return _0x3d396c instanceof re?_0x3d396c[_0x1fb804(0x26b)]():(_0x3d396c instanceof ae||_0x3d396c instanceof _e)&&_0x3d396c[_0x1fb804(0x92)](),_0x3d396c;}[_0x72bb68(0x92)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ie([P(0x5,_0x41311f(_0x4cac68)),P(0x6,_0x41311f(_0x2d82bd)),P(0x7,_0xe29ee9),P(0x8,_0x1032f6),P(0x9,_0x3cf774(J))],ue);let Q=class extends Te{constructor(_0x2a1c48,_0xe9d9e4,_0x26da33,_0x52b515,_0x394935,_0x1ce58d,_0xe4885c,_0x37feeb,_0x3d6374,_0x46c023,_0x30977b,_0x31153d,_0x410d35,_0x336d02){var _0x49b538=_0x72bb68;super(_0x2a1c48,_0xe9d9e4,_0x26da33,_0x52b515,_0xe4885c,_0x30977b,_0x31153d,_0x3d6374,_0x336d02),N(this,'status',_0x49b538(0x1d1)),(this['_acknowledgedAwaitingChangeset']=_0x394935,this['_queuedRemoteChangesets']=_0x1ce58d,this[_0x49b538(0x37c)]=_0x37feeb,this[_0x49b538(0xde)]=_0x46c023,this['_transformService']=_0x410d35,this['localCacheService']=_0x336d02);}[_0x72bb68(0x2ee)](_0x498599){var _0x356fa3=_0x72bb68;try{const _0x252aef=[..._0x498599,...this[_0x356fa3(0x34b)]],_0x468c55=[this[_0x356fa3(0xe3)]||this[_0x356fa3(0x1d6)]]['filter'](_0x5c5a64=>!!_0x5c5a64);let _0xec6436,_0xc567a2;if(_0x468c55[_0x356fa3(0x182)]){const _0x59fbad=this[_0x356fa3(0x23a)][_0x356fa3(0x379)](_0x252aef,_0x468c55,!0x1);if(!_0x3cf099(_0x59fbad))throw _0x59fbad[_0x356fa3(0x32f)];_0xec6436=_0x59fbad[_0x356fa3(0xf2)],_0xc567a2=_0x59fbad[_0x356fa3(0xf0)];}else _0xec6436=_0x252aef,_0xc567a2=[];let _0x1f313e=this[_0x356fa3(0x2fb)];_0xec6436[_0x356fa3(0x16a)](_0x441d42=>{var _0x5d0e8d=_0x356fa3;let _0x11bee9;if(_0x1f313e[_0x5d0e8d(0x182)]){const _0x314ec2=this[_0x5d0e8d(0x23a)][_0x5d0e8d(0x16f)](_0x441d42,_0x1f313e);if(!_0x4eb0e0(_0x314ec2))throw _0x314ec2[_0x5d0e8d(0x32f)];_0x11bee9=_0x314ec2[_0x5d0e8d(0xf2)],_0x1f313e=_0x314ec2[_0x5d0e8d(0x1df)];}else _0x11bee9=_0x441d42;this[_0x5d0e8d(0x270)](_0x11bee9);}),this['_acknowledgedAwaitingChangeset']&&this[_0x356fa3(0x154)](),this['_awaitingChangeset']&&_0xc567a2[_0x356fa3(0x182)]&&(_0xc567a2[0x0][_0x356fa3(0x148)]=this['_getCurrentRevision']());let _0x1e06b6;if(this[_0x356fa3(0xe3)]&&_0x1f313e[_0x356fa3(0x182)]!==0x0)_0x1e06b6=this['_injector'][_0x356fa3(0x20d)](ae,this[_0x356fa3(0x211)],this[_0x356fa3(0xcf)],_0xc567a2[0x0],_0x1f313e,this[_0x356fa3(0x1a5)],void 0x0);else{if(this['_awaitingChangeset']&&_0x1f313e[_0x356fa3(0x182)]===0x0)_0xc567a2[0x0][_0x356fa3(0x148)]=this[_0x356fa3(0x168)](),_0x1e06b6=this[_0x356fa3(0x37c)]['createInstance'](_e,this['unitID'],this[_0x356fa3(0xcf)],_0xc567a2[0x0],this[_0x356fa3(0x1a5)]);else{if(_0x1f313e[_0x356fa3(0x182)]!==0x0){const _0x13bf3b=this[_0x356fa3(0x37c)][_0x356fa3(0x20d)](re,this[_0x356fa3(0x211)],this[_0x356fa3(0xcf)],_0x1f313e,this[_0x356fa3(0x1a5)]);_0x13bf3b[_0x356fa3(0x26b)](),_0x1e06b6=_0x13bf3b;}else _0x1e06b6=this['_injector']['createInstance'](ye,this[_0x356fa3(0x211)],this[_0x356fa3(0xcf)],this[_0x356fa3(0x1a5)]);}}return _0x1e06b6['_updateLocalCache'](),_0x1e06b6;}catch(_0x257738){return this['_logService'][_0x356fa3(0x32f)](_0x356fa3(0x11b),_0x356fa3(0x157),_0x257738),this[_0x356fa3(0x37c)]['createInstance'](le,this[_0x356fa3(0x211)],this['type'],this[_0x356fa3(0xe3)],this[_0x356fa3(0x2fb)],this[_0x356fa3(0x1a5)],!0x1);}}[_0x72bb68(0x92)](){var _0x1ffda4=_0x72bb68;throw new Error(_0x1ffda4(0x255));}['appendMutation'](_0x3c2137){var _0x4f0e48=_0x72bb68;return this[_0x4f0e48(0x2fb)][_0x4f0e48(0xe7)](_0x3c2137),this;}['onRemoteChangeset'](_0x139e3f){var _0x2f6f67=_0x72bb68;return this[_0x2f6f67(0x34b)][_0x2f6f67(0xe7)](_0x139e3f),this;}[_0x72bb68(0x195)](_0x2dbfd9){var _0x3eee27=_0x72bb68;if(this[_0x3eee27(0xe3)])return this[_0x3eee27(0x1d6)]=this['_awaitingChangeset'],this[_0x3eee27(0xe3)]=null,this;throw new Error(_0x3eee27(0x149));}[_0x72bb68(0x34d)](_0x4f2d46){var _0x858782=_0x72bb68;return this[_0x858782(0x2fa)](!!(_0x4f2d46!=null&&_0x4f2d46[_0x858782(0x19f)]));}[_0x72bb68(0x24d)](){return this;}[_0x72bb68(0x30b)](){var _0x1ead11=_0x72bb68;return this['_injector']['createInstance'](ue,this[_0x1ead11(0x211)],this[_0x1ead11(0xcf)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1ead11(0x1a5)]);}[_0x72bb68(0x31a)](){return this;}[_0x72bb68(0x2fa)](_0x35a4e9){var _0x4d6a67=_0x72bb68;return this['_injector'][_0x4d6a67(0x20d)](le,this[_0x4d6a67(0x211)],this[_0x4d6a67(0xcf)],this['_awaitingChangeset'],this[_0x4d6a67(0x2fb)],this[_0x4d6a67(0x1a5)],_0x35a4e9);}};Q=Ie([P(0x7,_0x41311f(_0x4cac68)),P(0x8,_0x41311f(_0x2d82bd)),P(0x9,_0x39af9e),P(0xa,_0xe29ee9),P(0xb,_0x1032f6),P(0xc,_0x13d105),P(0xd,_0x3cf774(J))],Q);function Ri(_0x4accad,_0x2ee814,_0x117af7,_0x3955b3,_0x1e186a,_0x1ff2d9){var _0x542145=_0x72bb68;return _0x3955b3&&_0x1e186a['length']?_0x4accad[_0x542145(0x20d)](ae,_0x2ee814,_0x117af7,_0x3955b3,_0x1e186a,_0x1ff2d9,void 0x0):_0x3955b3?_0x4accad['createInstance'](_e,_0x2ee814,_0x117af7,_0x3955b3,_0x1ff2d9):_0x1e186a[_0x542145(0x182)]?_0x4accad[_0x542145(0x20d)](re,_0x2ee814,_0x117af7,_0x1e186a,_0x1ff2d9):_0x4accad[_0x542145(0x20d)](ye,_0x2ee814,_0x117af7,_0x1ff2d9);}var Zs=Object[_0x72bb68(0x159)],wt=(_0x5802f3,_0x59ef21,_0x5d5c17,_0x246fb2)=>{for(var _0x49390c=_0x246fb2>0x1?void 0x0:_0x246fb2?Zs(_0x59ef21,_0x5d5c17):_0x59ef21,_0xf74000=_0x5802f3['length']-0x1,_0x411b52;_0xf74000>=0x0;_0xf74000--)(_0x411b52=_0x5802f3[_0xf74000])&&(_0x49390c=_0x411b52(_0x49390c)||_0x49390c);return _0x49390c;},H=(_0x533e89,_0x52201d)=>(_0x40d814,_0x21ece2)=>_0x52201d(_0x40d814,_0x21ece2,_0x533e89);let st=class extends _0x184f79{constructor(_0x1eecab,_0x7b9844,_0xd12486,_0x2c1e03,_0x55646d,_0x1d7585,_0x3d654d,_0x513601,_0x3d879c,_0x20fcc0,_0x4adf17,_0x4c1e33,_0x5af468){var _0x25feb5=_0x72bb68;super(),N(this,_0x25feb5(0x2f8),new _0x50b1a3(null)),N(this,_0x25feb5(0x26d),this[_0x25feb5(0x2f8)][_0x25feb5(0xdc)]()),N(this,_0x25feb5(0x313)),N(this,_0x25feb5(0x346),!0x1),N(this,_0x25feb5(0x28c),''),N(this,_0x25feb5(0x303),0x0),N(this,_0x25feb5(0x2b2),this[_0x25feb5(0x26d)]['pipe'](_0x11bcb9(_0x288f73=>_0x288f73?_0x288f73[_0x25feb5(0x8d)]:Ti[_0x25feb5(0x243)]),_0x2e23ba(0x1))),N(this,_0x25feb5(0x143),!0x1),N(this,_0x25feb5(0x12d),[]),(this['unitID']=_0x1eecab,this[_0x25feb5(0x293)]=_0x7b9844,this[_0x25feb5(0x116)]=_0xd12486,this[_0x25feb5(0x37c)]=_0x2c1e03,this[_0x25feb5(0x10f)]=_0x55646d,this['_localeService']=_0x1d7585,this[_0x25feb5(0xb8)]=_0x3d654d,this[_0x25feb5(0x227)]=_0x513601,this[_0x25feb5(0xde)]=_0x3d879c,this['_commandService']=_0x20fcc0,this[_0x25feb5(0x30c)]=_0x4adf17,this[_0x25feb5(0x268)]=_0x4c1e33,this[_0x25feb5(0x35a)]=_0x5af468);}get[_0x72bb68(0x19a)](){return this['_state'];}async['init'](){var _0x73a3ae=_0x72bb68;if(this[_0x73a3ae(0x19a)])throw new Error(_0x73a3ae(0x1a3));await this['_init']();}[_0x72bb68(0xe5)](){var _0x1e03a3=_0x72bb68;return this[_0x1e03a3(0x346)]=!0x0,_0x6a388a(()=>{var _0x7f112d=_0x1e03a3;this[_0x7f112d(0x346)]=!0x1,this[_0x7f112d(0xf7)]();});}[_0x72bb68(0xe2)](_0x709eb9){var _0x21fa70=_0x72bb68;this[_0x21fa70(0x1ed)](_0x709eb9);}[_0x72bb68(0x214)](_0xb2aae2){var _0x570bfe=_0x72bb68;this[_0x570bfe(0x313)]=_0xb2aae2,this['_state$'][_0x570bfe(0x173)](_0xb2aae2);}async[_0x72bb68(0x22d)](){var _0x163b30=_0x72bb68,_0x75c944;this[_0x163b30(0x214)](await this[_0x163b30(0x2b6)]()),this[_0x163b30(0x268)]&&((_0x75c944=this[_0x163b30(0x268)])==null||_0x75c944['editingUnit'](this['unitID']),this[_0x163b30(0x2c3)](this[_0x163b30(0x268)][_0x163b30(0x23b)](this[_0x163b30(0x211)])[_0x163b30(0x7d)](_0x42b34e=>{var _0x134643=_0x163b30;this[_0x134643(0xde)][_0x134643(0x151)]('[CollaborationEntity]',_0x134643(0xa6),_0x42b34e),_0x42b34e===Ei[_0x134643(0x1f8)]?(this[_0x134643(0x227)]['emitEvent']({'id':ne[_0x134643(0x2e7)]}),this[_0x134643(0x30c)][_0x134643(0x26f)](new _0x134095(this[_0x134643(0x211)])['id'],!0x1),this[_0x134643(0x30c)]['setShowComponents'](!0x1)):(this[_0x134643(0x30c)]['updatePermissionPoint'](new _0x134095(this[_0x134643(0x211)])['id'],!0x0),this['_permissionService'][_0x134643(0xfb)](!0x0));})));let _0x5ea1f0=!0x1;return this[_0x163b30(0x2c3)](this[_0x163b30(0x293)][_0x163b30(0x2a3)][_0x163b30(0x7d)](_0x534525=>{var _0x4f5be2=_0x163b30;_0x534525===Se['ONLINE']?this[_0x4f5be2(0x85)](_0x5ea1f0):_0x534525===Se[_0x4f5be2(0x243)]&&(_0x5ea1f0=!0x0,this[_0x4f5be2(0x1a1)]());})),this['disposeWithMe'](this[_0x163b30(0x293)][_0x163b30(0x25e)][_0x163b30(0x7d)](_0xbe3b53=>{var _0x42588c=_0x163b30;try{switch(_0xbe3b53[_0x42588c(0x1ce)]){case _0x528d02[_0x42588c(0x1ef)]:{this['_onRemoteChangeset'](_0x131401(_0xbe3b53[_0x42588c(0x13c)]));break;}case _0x528d02[_0x42588c(0x185)]:{this['_onRemoteACK'](_0xbe3b53[_0x42588c(0x13c)]);break;}case _0x528d02[_0x42588c(0x1a6)]:{this['_onRemoteRejected']();break;}case _0x528d02[_0x42588c(0x15a)]:{this[_0x42588c(0xcc)](_0xbe3b53[_0x42588c(0x13c)]);break;}case _0x528d02['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0xbe3b53[_0x42588c(0x13c)][_0x42588c(0x123)][_0x42588c(0x374)](_0x3af7b8=>_0x131401(_0x3af7b8)));break;}case _0x528d02[_0x42588c(0x295)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x528d02[_0x42588c(0xdd)]:break;}}catch(_0x5a9614){throw console['error'](_0x42588c(0x9b),_0x5a9614),_0x5a9614;}})),this[_0x163b30(0x313)];}[_0x72bb68(0x140)](){var _0xae711e=_0x72bb68;this[_0xae711e(0x143)]=!0x1;}['_lockTransition'](){var _0x4b94c1=_0x72bb68;if(this['_transitionLocked'])throw new Error(_0x4b94c1(0xed));this[_0x4b94c1(0x143)]=!0x0;}['_onLocalMutation'](_0x1bb030){var _0xcd39ca=_0x72bb68;this[_0xcd39ca(0x24f)](),this[_0xcd39ca(0x214)](this[_0xcd39ca(0x313)][_0xcd39ca(0x250)](_0x1bb030)),this[_0xcd39ca(0x140)]();}['_onRemoteChangeset'](_0x52750c){var _0xa4dd67=_0x72bb68;if(!(_0x52750c[_0xa4dd67(0x2f4)]<=this['_revisionService'][_0xa4dd67(0x37a)](this[_0xa4dd67(0x211)]))){if(this[_0xa4dd67(0x346)]){this['_remoteChangesetQueue']['push'](_0x52750c);return;}this[_0xa4dd67(0x1b0)](_0x52750c);}}['_exhaustRemoteChangesetQueue'](){var _0x3a1a11=_0x72bb68;this[_0x3a1a11(0x12d)][_0x3a1a11(0x16a)](_0x55e20b=>this['_applyRemoteChangeset'](_0x55e20b)),this[_0x3a1a11(0x12d)]=[];}['_applyRemoteChangeset'](_0x33f325){var _0x16234a=_0x72bb68;const _0x5e61bf=this['_compressMutationService'][_0x16234a(0xe1)][_0x16234a(0x1f2)](this[_0x16234a(0x10f)][_0x16234a(0xe1)][_0x16234a(0x1af)]()[_0x16234a(0x242)])(_0x33f325[_0x16234a(0x2ff)],null)||_0x33f325[_0x16234a(0x2ff)],_0x1f48d7={..._0x33f325,'mutations':_0x5e61bf};this['_lockTransition'](),this['_updateState'](this[_0x16234a(0x313)][_0x16234a(0x19b)](_0x1f48d7)),this[_0x16234a(0x140)]();}[_0x72bb68(0x2cf)](_0x518909){var _0x4fb251=_0x72bb68;this['_lockTransition'](),this[_0x4fb251(0x214)](this['_state']['onRemoteAck'](_0x518909)),this[_0x4fb251(0x140)]();}[_0x72bb68(0x1cc)](_0x401299){var _0x12a10d=_0x72bb68;this[_0x12a10d(0x24f)](),this[_0x12a10d(0x214)](this[_0x12a10d(0x313)]['onRemoteRej'](_0x401299)),this[_0x12a10d(0x140)]();}[_0x72bb68(0xcc)](_0x4f77ad){var _0x2fba24=_0x72bb68;this['_lockTransition'](),this[_0x2fba24(0x214)](this['_state'][_0x2fba24(0x24d)](_0x4f77ad)),this[_0x2fba24(0x140)]();}[_0x72bb68(0x1ff)](_0x31b0f4){var _0x1cf88a=_0x72bb68;if(!(this['_state']instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0xe237fe=_0x31b0f4['map'](_0x1d753c=>{var _0xde6852=_0x3e8b;const _0x25c301=this[_0xde6852(0x10f)][_0xde6852(0xe1)][_0xde6852(0x1f2)](this[_0xde6852(0x10f)][_0xde6852(0xe1)][_0xde6852(0x1af)]()[_0xde6852(0x242)])(_0x1d753c[_0xde6852(0x2ff)],null)||_0x1d753c[_0xde6852(0x2ff)];return{..._0x1d753c,'mutations':_0x25c301};});this[_0x1cf88a(0x24f)](),this[_0x1cf88a(0x214)](this['_state'][_0x1cf88a(0x2ee)](_0xe237fe)),this[_0x1cf88a(0x140)]();}[_0x72bb68(0x1a1)](){var _0x589f6c=_0x72bb68;this[_0x589f6c(0x24f)](),this[_0x589f6c(0x214)](this['_state']['toggleOffline']()),this[_0x589f6c(0x140)]();}[_0x72bb68(0x85)](_0x3edd0a=!0x1){var _0xa71aa4=_0x72bb68;this['_lockTransition'](),this[_0xa71aa4(0x214)](this[_0xa71aa4(0x313)]['toggleOnline']()),this[_0xa71aa4(0x140)]();const _0x400a35=this['_state'];_0x3edd0a&&_0x400a35 instanceof ye&&(this[_0xa71aa4(0x24f)](),this[_0xa71aa4(0x214)](_0x400a35['fetchMiss']()),this[_0xa71aa4(0x140)]());}async[_0x72bb68(0x2b6)](){return new Promise(_0x5363fe=>{var _0x499f34=_0x3e8b;this[_0x499f34(0x293)]['sessionStatus$'][_0x499f34(0x2ea)](_0x8eeaf8(0x1))[_0x499f34(0x7d)](async _0x3b0332=>{_0x5363fe(await this['_createInitialStateImpl'](_0x3b0332===Se['ONLINE']));});});}['_createHandler'](){var _0xec032=_0x72bb68;const _0x301daa=this[_0xec032(0x211)];return{'onStateChange':(_0xdaa38b,_0x49ca01)=>{var _0x11fd5d=_0xec032;if(_0xdaa38b!==this[_0x11fd5d(0x313)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0xdaa38b['status']+_0x11fd5d(0x26a)+_0x49ca01[_0x11fd5d(0x8d)]+'\x0aCurrent:\x20'+this[_0x11fd5d(0x313)][_0x11fd5d(0x8d)]);this[_0x11fd5d(0x214)](_0x49ca01);},'onSendChangeset':_0x151edd=>{var _0xcc145b=_0xec032;_0x151edd['sid']||(_0x151edd[_0xcc145b(0x224)]=this[_0xcc145b(0x28c)],_0x151edd[_0xcc145b(0x2dc)]=++this[_0xcc145b(0x303)]);const _0x1a8533={'eventID':_0x528d02[_0xcc145b(0x8b)],'data':{'unitID':_0x151edd['unitID'],'unitType':this[_0xcc145b(0x116)],'changeset':_0x151edd,'memberID':this[_0xcc145b(0x293)][_0xcc145b(0x236)]()}};this[_0xcc145b(0x293)][_0xcc145b(0x341)](_0x1a8533,this['unitID']);},'onMissingChangesets':({from:_0x2f3bd7,to:_0x58ab6c})=>{var _0x5ed5f6=_0xec032;this[_0x5ed5f6(0xde)][_0x5ed5f6(0x151)](_0x5ed5f6(0x2a1),_0x5ed5f6(0x1f7)+_0x2f3bd7+_0x5ed5f6(0x17f)+_0x58ab6c);const _0x26afa0={'eventID':_0x528d02['FETCH_MISSING'],'data':{'unitID':_0x301daa,'unitType':this[_0x5ed5f6(0x116)],'from':_0x2f3bd7,'to':_0x58ab6c}};this[_0x5ed5f6(0x293)][_0x5ed5f6(0x341)](_0x26afa0,this[_0x5ed5f6(0x211)]);}};}async[_0x72bb68(0x29b)](_0x16ab19){var _0x1becaa=_0x72bb68,_0x3b5c39,_0x3f9942,_0x27ab88;const _0x15ee91=await((_0x3b5c39=this[_0x1becaa(0x35a)])==null?void 0x0:_0x3b5c39[_0x1becaa(0x12c)](this[_0x1becaa(0x211)])),_0x52fcb9=(_0x3f9942=_0x15ee91==null?void 0x0:_0x15ee91[_0x1becaa(0x2ff)])!=null?_0x3f9942:[],_0x4c5c6d=(_0x27ab88=_0x15ee91==null?void 0x0:_0x15ee91[_0x1becaa(0x169)])!=null?_0x27ab88:null,_0x5562fb=!!(_0x4c5c6d!=null&&_0x4c5c6d[_0x1becaa(0x224)])&&!!(_0x4c5c6d!=null&&_0x4c5c6d['reqId']);this[_0x1becaa(0x28c)]=_0x5562fb?_0x4c5c6d[_0x1becaa(0x224)]:_0x1da367(),this['_changesetReqId']=_0x5562fb?_0x4c5c6d[_0x1becaa(0x2dc)]:0x0;const _0x142bf6=this['unitID'];try{this['_replayCachedMutations'](_0x4c5c6d,_0x52fcb9);}catch(_0x4ee3b7){this[_0x1becaa(0xde)][_0x1becaa(0x32f)](_0x4ee3b7);}const _0x53c15b=this[_0x1becaa(0x1bc)]();if(_0x16ab19){const _0x4134e1=Ri(this[_0x1becaa(0x37c)],_0x142bf6,this[_0x1becaa(0x116)],_0x4c5c6d,_0x52fcb9,_0x53c15b);return _0x4134e1 instanceof re?_0x4134e1[_0x1becaa(0x26b)]():(_0x4134e1 instanceof ae||_0x4134e1 instanceof _e)&&_0x4134e1[_0x1becaa(0x92)](),_0x4134e1;}return this[_0x1becaa(0x37c)][_0x1becaa(0x20d)](ue,_0x142bf6,this[_0x1becaa(0x116)],_0x4c5c6d,_0x52fcb9,_0x53c15b);}['_replayCachedMutations'](_0x5eadad,_0x3f8e0b){var _0x4f8170=_0x72bb68,_0xa564a,_0x4e47ae;const _0x526590=this[_0x4f8170(0x10f)][_0x4f8170(0xe1)][_0x4f8170(0x1f2)](this[_0x4f8170(0x10f)][_0x4f8170(0xe1)][_0x4f8170(0x1af)]()['COMPRESS_MUTATION_APPLY']);(_0xa564a=_0x526590((_0x5eadad==null?void 0x0:_0x5eadad[_0x4f8170(0x2ff)])||[],null))==null||_0xa564a['forEach'](_0x4b2383=>this['_commandService'][_0x4f8170(0x36a)](_0x4b2383['id'],_0x4b2383['params'])),(_0x4e47ae=_0x526590(_0x3f8e0b||[],null))==null||_0x4e47ae[_0x4f8170(0x16a)](_0x4ce445=>this[_0x4f8170(0x2b8)][_0x4f8170(0x36a)](_0x4ce445['id'],_0x4ce445[_0x4f8170(0x226)]));}};st=wt([H(0x3,_0x41311f(_0x4cac68)),H(0x4,_0x41311f(_0x58b918)),H(0x5,_0x41311f(_0x1d4c3f)),H(0x6,_0x41311f(_0x2d82bd)),H(0x7,_0x41311f(ve)),H(0x8,_0x39af9e),H(0x9,_0xe29ee9),H(0xa,_0x10fa9c),H(0xb,_0x3cf774(ht)),H(0xc,_0x3cf774(J))],st);let St=class extends st{constructor(_0x38583e,_0x33ed48,_0x4998c2,_0x385b3b,_0x388a29,_0x1f3eee,_0x3f47cc,_0x557213,_0x4b220f,_0xe61c72,_0x14c2f9,_0x3b50ee,_0x1cf8de){var _0x4cd8b8=_0x72bb68;super(_0x38583e,_0x4998c2,_0x33ed48,_0x385b3b,_0x388a29,_0x1f3eee,_0x3f47cc,_0x557213,_0x4b220f,_0xe61c72,_0x14c2f9,_0x3b50ee,_0x1cf8de),N(this,_0x4cd8b8(0x1d4),null),(this[_0x4cd8b8(0x211)]=_0x38583e,this[_0x4cd8b8(0xcf)]=_0x33ed48);}[_0x72bb68(0x17d)](_0x547214){var _0x562b95=_0x72bb68;this[_0x562b95(0x1d4)]=_0x547214;}[_0x72bb68(0x97)](){var _0x27c567=_0x72bb68;this[_0x27c567(0x1d4)]=null,super['dispose']();}['_createHandler'](){var _0x5bbb64=_0x72bb68;const _0x5891cc=super[_0x5bbb64(0x1bc)]();return _0x5891cc[_0x5bbb64(0x202)]=_0xf83bd8=>{var _0x3de6fb=_0x5bbb64,_0x1e7cea,_0x3b27af;return(_0x3b27af=(_0x1e7cea=this[_0x3de6fb(0x1d4)])==null?void 0x0:_0x1e7cea[_0x3de6fb(0x202)])==null?void 0x0:_0x3b27af[_0x3de6fb(0x32b)](_0x1e7cea,_0xf83bd8);},_0x5891cc[_0x5bbb64(0x37e)]=_0x20cdc3=>{var _0xd29f37=_0x5bbb64,_0x4e38c4,_0x5e5454;return(_0x5e5454=(_0x4e38c4=this[_0xd29f37(0x1d4)])==null?void 0x0:_0x4e38c4[_0xd29f37(0x37e)])==null?void 0x0:_0x5e5454[_0xd29f37(0x32b)](_0x4e38c4,_0x20cdc3);},_0x5891cc[_0x5bbb64(0x96)]=_0x4b8a49=>{var _0xfbdcf6=_0x5bbb64,_0xa636d8,_0x4224bc;return(_0x4224bc=(_0xa636d8=this['_handlerCallback'])==null?void 0x0:_0xa636d8[_0xfbdcf6(0x96)])==null?void 0x0:_0x4224bc[_0xfbdcf6(0x32b)](_0xa636d8,_0x4b8a49);},_0x5891cc[_0x5bbb64(0x8a)]=_0x493ca3=>{var _0x46a173=_0x5bbb64,_0x4bd3ca,_0x3dcf55;return(_0x3dcf55=(_0x4bd3ca=this[_0x46a173(0x1d4)])==null?void 0x0:_0x4bd3ca['onSyncEditingCollabCursor'])==null?void 0x0:_0x3dcf55[_0x46a173(0x32b)](_0x4bd3ca,_0x493ca3);},_0x5891cc[_0x5bbb64(0x30a)]=_0x1f4b79=>{var _0x5d3d67=_0x5bbb64,_0x2d06a2,_0x5c5015,_0x13c4ab;if(!((_0x2d06a2=this[_0x5d3d67(0x1d4)])!=null&&_0x2d06a2[_0x5d3d67(0x30a)]))throw new Error(_0x5d3d67(0x115));return(_0x13c4ab=(_0x5c5015=this[_0x5d3d67(0x1d4)])==null?void 0x0:_0x5c5015[_0x5d3d67(0x30a)])==null?void 0x0:_0x13c4ab[_0x5d3d67(0x32b)](_0x5c5015,_0x1f4b79);},_0x5891cc[_0x5bbb64(0x1e9)]=_0x590695=>{var _0x16a31a=_0x5bbb64,_0x2f45f6,_0x3b494a,_0x4893e9;if(!((_0x2f45f6=this[_0x16a31a(0x1d4)])!=null&&_0x2f45f6[_0x16a31a(0x1e9)]))throw new Error(_0x16a31a(0x329));return(_0x4893e9=(_0x3b494a=this[_0x16a31a(0x1d4)])==null?void 0x0:_0x3b494a[_0x16a31a(0x1e9)])==null?void 0x0:_0x4893e9[_0x16a31a(0x32b)](_0x3b494a,_0x590695);},_0x5891cc;}async['_init'](){var _0x205845=_0x72bb68;const _0x2134dd=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x205845(0x2eb)]((_0x30ba54,_0x7da092)=>{var _0x409c86=_0x205845;if(_0x30ba54[_0x409c86(0xcf)]!==_0x558bce['MUTATION']||_0x7da092!=null&&_0x7da092['fromCollab']||_0x7da092!=null&&_0x7da092['onlyLocal']||_0x30ba54['id']===_0x85a4d0['id'])return;const _0x143f43=_0x30ba54[_0x409c86(0x226)];if((_0x143f43==null?void 0x0:_0x143f43[_0x409c86(0x1c6)])!==this['unitID'])return;const _0x5a5b64=_0x30ba54,_0xab4000=this[_0x409c86(0x10f)][_0x409c86(0xe1)]['fetchThroughInterceptors'](this[_0x409c86(0x10f)][_0x409c86(0xe1)][_0x409c86(0x1af)]()[_0x409c86(0x1f6)])([_0x5a5b64],null)||[_0x5a5b64];this[_0x409c86(0x1ed)](_0xab4000[0x0]);})),_0x2134dd;}};St=wt([H(0x3,_0x41311f(_0x4cac68)),H(0x4,_0x41311f(_0x58b918)),H(0x5,_0x41311f(_0x1d4c3f)),H(0x6,_0x41311f(_0x2d82bd)),H(0x7,_0x41311f(ve)),H(0x8,_0x39af9e),H(0x9,_0xe29ee9),H(0xa,_0x10fa9c),H(0xb,_0x3cf774(ht)),H(0xc,_0x3cf774(J))],St);let Et=class extends st{constructor(_0x294640,_0x5a1382,_0x547128,_0x417955,_0x2d9be4,_0x45e39d,_0x23c81d,_0x3ef1ae,_0x553a1a,_0x25fa04,_0x55032,_0x175965,_0x3a7fe1,_0x36ce59){var _0x239c22=_0x72bb68;super(_0x294640,_0x547128,_0x5a1382,_0x417955,_0x2d9be4,_0x45e39d,_0x23c81d,_0x553a1a,_0x25fa04,_0x55032,_0x175965,_0x3a7fe1,_0x36ce59),this['unitID']=_0x294640,this[_0x239c22(0xcf)]=_0x5a1382,this[_0x239c22(0x30e)]=_0x3ef1ae;}[_0x72bb68(0x1bc)](){var _0x128f39=_0x72bb68;const _0x45207a=super[_0x128f39(0x1bc)]();return _0x45207a['onTransformSelections']=_0x26ff8a=>this['_sheetTransformSelectionsService'][_0x128f39(0x82)](_0x26ff8a),_0x45207a;}async['_init'](){var _0x5dbff1=_0x72bb68;const _0x1934ad=await super[_0x5dbff1(0x22d)]();return this['disposeWithMe'](this[_0x5dbff1(0x2b8)][_0x5dbff1(0x2eb)]((_0x4e989e,_0x51e027)=>{var _0x3644d4=_0x5dbff1;if(_0x4e989e[_0x3644d4(0xcf)]!==_0x558bce[_0x3644d4(0xa0)]||_0x51e027!=null&&_0x51e027['fromCollab']||_0x51e027!=null&&_0x51e027['onlyLocal'])return;const _0x547c9a=_0x4e989e[_0x3644d4(0x226)];if((_0x547c9a==null?void 0x0:_0x547c9a[_0x3644d4(0x1c6)])!==this[_0x3644d4(0x211)])return;const _0x28569b=_0x4e989e,_0x5f0be7=this[_0x3644d4(0x10f)][_0x3644d4(0xe1)][_0x3644d4(0x1f2)](this[_0x3644d4(0x10f)][_0x3644d4(0xe1)][_0x3644d4(0x1af)]()[_0x3644d4(0x1f6)])([_0x28569b],null)||[_0x28569b];this['_onLocalMutation'](_0x5f0be7[0x0]);})),_0x1934ad;}};Et=wt([H(0x3,_0x41311f(_0x4cac68)),H(0x4,_0x41311f(_0x58b918)),H(0x5,_0x41311f(_0x1d4c3f)),H(0x6,_0x41311f(_0x2d82bd)),H(0x7,_0x41311f(it)),H(0x8,_0x41311f(ve)),H(0x9,_0x39af9e),H(0xa,_0xe29ee9),H(0xb,_0x10fa9c),H(0xc,_0x3cf774(ht)),H(0xd,_0x3cf774(J))],Et);var Qs=Object[_0x72bb68(0x159)],en=(_0x33a436,_0x210362,_0x140701,_0x1fe764)=>{for(var _0x50c2fc=_0x1fe764>0x1?void 0x0:_0x1fe764?Qs(_0x210362,_0x140701):_0x210362,_0x48c5d9=_0x33a436['length']-0x1,_0x69bf14;_0x48c5d9>=0x0;_0x48c5d9--)(_0x69bf14=_0x33a436[_0x48c5d9])&&(_0x50c2fc=_0x69bf14(_0x50c2fc)||_0x50c2fc);return _0x50c2fc;},Be=(_0x510b,_0x4fa5c8)=>(_0x1a3768,_0x5cf9df)=>_0x4fa5c8(_0x1a3768,_0x5cf9df,_0x510b);let nt=class extends _0x184f79{constructor(_0x45ad10,_0x10272a,_0x48196c,_0x53fa70){var _0x749545=_0x72bb68,_0xa28ecd;super(),N(this,_0x749545(0x1d5),new Map()),N(this,_0x749545(0x2c4),new _0x29e22a()),N(this,_0x749545(0x291),this[_0x749545(0x2c4)][_0x749545(0xdc)]()),(this[_0x749545(0x37c)]=_0x45ad10,this[_0x749545(0x11d)]=_0x10272a,this['_configService']=_0x48196c,this[_0x749545(0xf4)]=_0x53fa70,((_0xa28ecd=this['_configService'][_0x749545(0x1e2)](K))==null?void 0x0:_0xa28ecd[_0x749545(0x1e7)])!==!0x1&&this[_0x749545(0x22d)]());}[_0x72bb68(0x97)](){var _0x13e67b=_0x72bb68;super[_0x13e67b(0x97)](),this[_0x13e67b(0x1d5)][_0x13e67b(0x16a)](_0x46244a=>_0x46244a[_0x13e67b(0x97)]()),this[_0x13e67b(0x1d5)][_0x13e67b(0x318)]();}[_0x72bb68(0xfa)](_0x3e09ff){var _0x243d97=_0x72bb68,_0x2e1461;return(_0x2e1461=this[_0x243d97(0x1d5)][_0x243d97(0x283)](_0x3e09ff))!=null?_0x2e1461:null;}[_0x72bb68(0x2c8)](_0x44a8e4){var _0x2c35e8=_0x72bb68;const _0x296ad3=this[_0x2c35e8(0xfa)](_0x44a8e4);return _0x296ad3?_0x283c2a(_0x296ad3):this['_entityInit$'][_0x2c35e8(0x2ea)](_0x3f4fbb(_0x28bec5=>_0x28bec5[_0x2c35e8(0x211)]===_0x44a8e4));}[_0x72bb68(0x2ac)](_0x38830a){var _0x493d7d=_0x72bb68;return _0x23659e(this[_0x493d7d(0x2c8)](_0x38830a)['pipe'](_0x6504cb(()=>{})));}[_0x72bb68(0x22d)](){var _0x4758aa=_0x72bb68;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x20b46e[_0x4758aa(0x9d)])[_0x4758aa(0x2ea)](_0x476de2(this[_0x4758aa(0x17a)]),_0x4b23c7(0x10))[_0x4758aa(0x7d)](async _0x47e83c=>{var _0x222c3a=_0x4758aa;const _0x214656=_0x47e83c[_0x222c3a(0x2a0)](),_0x275276=await this['_startCollaboration'](_0x214656,Z[_0x222c3a(0x9d)]);this['_entities']['set'](_0x214656,_0x275276);}),this[_0x4758aa(0xf4)][_0x4758aa(0x356)](_0x20b46e[_0x4758aa(0x357)])[_0x4758aa(0x2ea)](_0x476de2(this['dispose$']),_0x4b23c7(0x10))[_0x4758aa(0x2ea)](_0x3f4fbb(_0x50fbf5=>!_0x50fbf5[_0x4758aa(0x2a0)]()[_0x4758aa(0xce)]('__')))[_0x4758aa(0x7d)](async _0x4fc3a0=>{var _0x24caaa=_0x4758aa;const _0x4d68d9=_0x4fc3a0['getUnitId'](),_0x51d04c=await this[_0x24caaa(0x16d)](_0x4d68d9,Z[_0x24caaa(0x357)]);this[_0x24caaa(0x1d5)][_0x24caaa(0x1c2)](_0x4d68d9,_0x51d04c);}),_0x2cf726(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x20b46e[_0x4758aa(0x9d)]),this['_univerInstanceService'][_0x4758aa(0x2cc)](_0x20b46e[_0x4758aa(0x357)]))['pipe'](_0x476de2(this[_0x4758aa(0x17a)]))['subscribe'](_0x201fed=>{var _0x332f3c=_0x4758aa;const _0x4fe8df=_0x201fed['getUnitId'](),_0x34f1e6=this[_0x332f3c(0x1d5)]['get'](_0x4fe8df);_0x34f1e6&&(_0x34f1e6[_0x332f3c(0x97)](),this[_0x332f3c(0x1d5)][_0x332f3c(0x1d8)](_0x4fe8df));});}async[_0x72bb68(0x16d)](_0x4f54dd,_0x4ec802){var _0x19ae09=_0x72bb68;const _0x1cb2a3=await this['_collabSessionService'][_0x19ae09(0xbe)](_0x4f54dd),_0x10a316=this[_0x19ae09(0x37c)][_0x19ae09(0x20d)](this[_0x19ae09(0x1ba)](_0x4ec802),_0x4f54dd,_0x4ec802,_0x1cb2a3);return await _0x10a316[_0x19ae09(0x1c9)](),this[_0x19ae09(0x2c4)][_0x19ae09(0x173)](_0x10a316),_0x10a316;}[_0x72bb68(0x1ba)](_0x2b1b4c){var _0x29e8ae=_0x72bb68;switch(_0x2b1b4c){case Z[_0x29e8ae(0x357)]:return St;case Z[_0x29e8ae(0x9d)]:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2b1b4c);}}};nt=en([Be(0x0,_0x41311f(_0x4cac68)),Be(0x1,_0x41311f(Le)),Be(0x2,_0x19233d),Be(0x3,_0x4aee63)],nt);var tn=Object['getOwnPropertyDescriptor'],sn=(_0xb29f7,_0x43de42,_0xeb485a,_0x2fe992)=>{var _0x30f64c=_0x72bb68;for(var _0x1167d5=_0x2fe992>0x1?void 0x0:_0x2fe992?tn(_0x43de42,_0xeb485a):_0x43de42,_0x3cf431=_0xb29f7[_0x30f64c(0x182)]-0x1,_0x413488;_0x3cf431>=0x0;_0x3cf431--)(_0x413488=_0xb29f7[_0x3cf431])&&(_0x1167d5=_0x413488(_0x1167d5)||_0x1167d5);return _0x1167d5;},Yt=(_0x5c06ef,_0x1ca640)=>(_0x244439,_0x32cc33)=>_0x1ca640(_0x244439,_0x32cc33,_0x5c06ef);const nn=_0x72bb68(0x1a7),rn=_0x72bb68(0x1c5);let It=class extends _0x3b479f{constructor(_0x4c952f,_0x396ebf){var _0x5090fe=_0x72bb68;super(),this[_0x5090fe(0xf4)]=_0x4c952f,this['_configService']=_0x396ebf,this[_0x5090fe(0x22d)]();}['_init'](){var _0x177d21=_0x72bb68;this[_0x177d21(0x2c3)](this[_0x177d21(0xf4)]['focused$'][_0x177d21(0x7d)](()=>{var _0x27b351=_0x177d21,_0x3c1699;const _0x5d1a23=this['_univerInstanceService'][_0x27b351(0x15f)]();let _0x34161e=(_0x3c1699=this[_0x27b351(0x184)]['getConfig'](nn))!=null?_0x3c1699:rn;_0x5d1a23 instanceof _0x4599fd&&(_0x34161e=_0x5d1a23[_0x27b351(0x144)]),document['title']=_0x34161e;}));}};It=sn([Yt(0x0,_0x4aee63),Yt(0x1,_0x19233d)],It);var an=Object[_0x72bb68(0x159)],on=(_0x3adab5,_0x891841,_0x1c8385,_0xd5406a)=>{for(var _0x4f8447=_0xd5406a>0x1?void 0x0:_0xd5406a?an(_0x891841,_0x1c8385):_0x891841,_0x3a76b5=_0x3adab5['length']-0x1,_0x668059;_0x3a76b5>=0x0;_0x3a76b5--)(_0x668059=_0x3adab5[_0x3a76b5])&&(_0x4f8447=_0x668059(_0x4f8447)||_0x4f8447);return _0x4f8447;},dt=(_0x192c44,_0x1110e0)=>(_0x5056a7,_0x28a32c)=>_0x1110e0(_0x5056a7,_0x28a32c,_0x192c44);let rt=class{constructor(_0xac9dad,_0x1b9f8c,_0x222779){var _0x3c2fe0=_0x72bb68;this['_configService']=_0xac9dad,this[_0x3c2fe0(0x367)]=_0x1b9f8c,this['localeService']=_0x222779,this[_0x3c2fe0(0x1c9)]();}[_0x72bb68(0x1c9)](){var _0x5d6bc8=_0x72bb68;this[_0x5d6bc8(0x367)][_0x5d6bc8(0x147)]({'priority':0x1,'interceptor':(_0x20a3ac,_0x1754e7)=>_0x1754e7(_0x20a3ac)[_0x5d6bc8(0x2ea)](_0x5a191d(async _0x397a31=>{var _0x377b3a=_0x5d6bc8;const _0x39a644=_0x397a31;if(_0x39a644['status']===0x191){if(typeof window>'u')throw new Error(_0x377b3a(0x23d));if(window['confirm'](this['localeService']['t'](_0x377b3a(0x1b6)))){const _0x245ff2=window[_0x377b3a(0x1dd)](window[_0x377b3a(0x262)]['href']);window[_0x377b3a(0x262)][_0x377b3a(0x260)]=this[_0x377b3a(0xcb)]()+'?url='+_0x245ff2;}}return _0x39a644;}))});}[_0x72bb68(0xcb)](){var _0xcda974=_0x72bb68,_0x4e4708,_0x22cc67;const _0x42babf=this[_0xcda974(0x184)][_0xcda974(0x1e2)](ys),_0xdfabb3=this[_0xcda974(0x184)][_0xcda974(0x1e2)](K);return(_0x22cc67=(_0x4e4708=_0xdfabb3==null?void 0x0:_0xdfabb3[_0xcda974(0x24b)])!=null?_0x4e4708:_0x42babf)!=null?_0x22cc67:Ns;}};rt=on([dt(0x0,_0x19233d),dt(0x1,_0x41311f(_0x4fe417)),dt(0x2,_0x41311f(_0x1d4c3f))],rt);var cn=Object[_0x72bb68(0x159)],hn=(_0x44dc3b,_0x166956,_0x1945eb,_0x2fb1d3)=>{var _0x398495=_0x72bb68;for(var _0x505546=_0x2fb1d3>0x1?void 0x0:_0x2fb1d3?cn(_0x166956,_0x1945eb):_0x166956,_0x45b282=_0x44dc3b[_0x398495(0x182)]-0x1,_0x87cbb4;_0x45b282>=0x0;_0x45b282--)(_0x87cbb4=_0x44dc3b[_0x45b282])&&(_0x505546=_0x87cbb4(_0x505546)||_0x505546);return _0x505546;},Kt=(_0x40d002,_0xc1428a)=>(_0x1fb39f,_0x1c96f7)=>_0xc1428a(_0x1fb39f,_0x1c96f7,_0x40d002);const bi=_0x72bb68(0x2b4),_n='/universer-api/authz';let Tt=class extends _0x3b479f{constructor(_0x85c085,_0x385dcf){var _0x1e8843=_0x72bb68;super(),this[_0x1e8843(0x31d)]=_0x85c085,this['_configService']=_0x385dcf,this[_0x1e8843(0x361)]();}[_0x72bb68(0x361)](){var _0x23e120=_0x72bb68;const _0x173fac=this;this[_0x23e120(0x2c3)](this[_0x23e120(0x31d)][_0x23e120(0x147)]({'priority':0x3e7,'interceptor':_0x1c2a31({'isMatch'(_0x33da8b){var _0x369678=_0x23e120,_0x361946;if(_0x33da8b[_0x369678(0x23c)]===_0x369678(0x2ca)&&((_0x361946=_0x33da8b['requestParams'])!=null&&_0x361946[_0x369678(0x29f)])){const {objectID:_0x431420,objectType:_0x121209}=_0x33da8b[_0x369678(0x245)][_0x369678(0x29f)]||{};if(!_0x431420||_0x121209===void 0x0)return!0x1;const _0x11e72e=_0x173fac[_0x369678(0xc1)]()+'/'+_0x121209+_0x369678(0x1e0)+_0x431420+_0x369678(0x155);if(_0x33da8b['url']===_0x11e72e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1fd564){var _0x264ff0=_0x23e120,_0x903c76;return(_0x903c76=_0x1fd564[_0x264ff0(0x245)])==null?void 0x0:_0x903c76[_0x264ff0(0x29f)];},'mergeParamsToRequest'(_0x35f2ba,_0x56f2c2){var _0x13c8f4=_0x23e120;const _0x491b4d=_0x173fac['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x4ce25a=_0x35f2ba[_0x13c8f4(0x338)]((_0x1cb622,_0x4e7b6c)=>{var _0x4302f8=_0x13c8f4;const {unitID:_0x2ed250,objectID:_0x4d5e84,objectType:_0x6f5a79,actions:_0x48abc5}=_0x4e7b6c;return _0x1cb622[_0x2ed250]||(_0x1cb622[_0x2ed250]={}),_0x1cb622[_0x2ed250][_0x4d5e84]||(_0x1cb622[_0x2ed250][_0x4d5e84]={'objectID':_0x4d5e84,'objectType':_0x6f5a79,'actions':[]}),_0x1cb622[_0x2ed250][_0x4d5e84][_0x4302f8(0xc2)][_0x4302f8(0xe7)](..._0x48abc5),_0x1cb622;},{}),_0x13f449=[];for(const _0x537e89 in _0x4ce25a)for(const _0x1b0d1d in _0x4ce25a[_0x537e89]){const {actions:_0x3e5705,objectType:_0x5d3e1a}=_0x4ce25a[_0x537e89][_0x1b0d1d],_0x354c44=[...new Set(_0x3e5705)];_0x13f449[_0x13c8f4(0xe7)]({'unitID':_0x537e89,'objectID':_0x1b0d1d,'objectType':_0x5d3e1a,'actions':_0x354c44});}return new _0x14ac51(_0x13c8f4(0x2ca),_0x491b4d,{'headers':_0x56f2c2[_0x13c8f4(0x1bb)],'withCredentials':_0x56f2c2[_0x13c8f4(0x125)],'responseType':_0x56f2c2['responseType'],'body':{'requests':_0x13f449}});}},{'distributeResult'(_0x5da009,_0x38af48){var _0x2ecdb4=_0x23e120;const {objectActions:_0x517758}=_0x5da009;return _0x38af48[_0x2ecdb4(0x374)](_0x4ab2cb=>{var _0x38ae93=_0x2ecdb4;const {unitID:_0x339afa,objectID:_0x4b4d65,actions:_0x1afc6f}=_0x4ab2cb,_0x27bb5b=_0x517758['find'](_0x3f068d=>_0x3f068d[_0x38ae93(0x211)]===_0x339afa&&_0x3f068d['objectID']===_0x4b4d65),_0x2d1fd7=_0x1afc6f[_0x38ae93(0x374)](_0x44fd73=>_0x27bb5b==null?void 0x0:_0x27bb5b[_0x38ae93(0xc2)]['find'](_0xedee4b=>_0xedee4b['action']===_0x44fd73))[_0x38ae93(0xa5)](_0x5280d7=>!!_0x5280d7);return{'config':_0x4ab2cb,'result':{'actions':_0x2d1fd7,'error':_0x5da009[_0x38ae93(0x32f)]}};});}})}));}[_0x72bb68(0xc1)](){var _0x3f636c=_0x72bb68,_0x2ffdf9,_0x4d0758;const _0x180100=this['_configService'][_0x3f636c(0x1e2)](bi),_0x1e58b9=this[_0x3f636c(0x184)][_0x3f636c(0x1e2)](K);return(_0x4d0758=(_0x2ffdf9=_0x1e58b9==null?void 0x0:_0x1e58b9[_0x3f636c(0x32c)])!=null?_0x2ffdf9:_0x180100)!=null?_0x4d0758:_n;}async[_0x72bb68(0x9a)](_0x1b21e5){var _0x1ea990=_0x72bb68;const _0x557b5a=this[_0x1ea990(0xc1)]()+'/'+_0x1b21e5['objectType']+_0x1ea990(0x31c);return(await this[_0x1ea990(0x31d)][_0x1ea990(0x34f)](_0x557b5a,{'body':_0x1b21e5}))['body'][_0x1ea990(0x2f1)]||'';}async[_0x72bb68(0x2b0)](_0xc0e335){var _0x2bc925=_0x72bb68;const _0x59cd75=this['_getAPIPrefixPath']()+_0x2bc925(0x2d8);return(await this[_0x2bc925(0x31d)]['post'](_0x59cd75,{'body':_0xc0e335}))[_0x2bc925(0x29f)][_0x2bc925(0x1b5)];}async[_0x72bb68(0x1dc)](_0x457748){var _0x5047f8=_0x72bb68,_0x5c25dc,_0x5ab0ae;const _0x56d8c6=this[_0x5047f8(0xc1)]()+'/'+_0x457748[_0x5047f8(0x320)]+_0x5047f8(0x1e0)+_0x457748[_0x5047f8(0x2f1)],_0x2f5b9e=await this[_0x5047f8(0x31d)][_0x5047f8(0x32e)](_0x56d8c6,{'body':_0x457748});if(((_0x5ab0ae=(_0x5c25dc=_0x2f5b9e==null?void 0x0:_0x2f5b9e['body'])==null?void 0x0:_0x5c25dc['error'])==null?void 0x0:_0x5ab0ae[_0x5047f8(0x365)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x72bb68(0x191)](_0x1fb846){var _0x4b4919=_0x72bb68;const _0x2a0888=this['_getAPIPrefixPath']()+'/'+_0x1fb846[_0x4b4919(0x320)]+_0x4b4919(0x1e0)+_0x1fb846['objectID']+'/allowed';return(await this[_0x4b4919(0x31d)][_0x4b4919(0x34f)](_0x2a0888,{'body':_0x1fb846}))[_0x4b4919(0x29f)]['actions'];}async['batchAllowed'](_0x3538a4){var _0xfe710d=_0x72bb68;const _0xca695f=this[_0xfe710d(0xc1)]()+'/-/object/-/batch_allowed';return(await this[_0xfe710d(0x31d)][_0xfe710d(0x34f)](_0xca695f,{'body':{'requests':_0x3538a4}}))[_0xfe710d(0x29f)][_0xfe710d(0x239)];}async[_0x72bb68(0xac)](_0x2ca371){var _0x5b1120=_0x72bb68;const _0x381256=this[_0x5b1120(0xc1)]()+'/'+_0x2ca371[_0x5b1120(0x320)]+_0x5b1120(0x212),_0x4cf7b7=await this[_0x5b1120(0x31d)][_0x5b1120(0x34f)](_0x381256,{'body':_0x2ca371});return{'roles':_0x4cf7b7[_0x5b1120(0x29f)]['roles'],'actions':_0x4cf7b7[_0x5b1120(0x29f)][_0x5b1120(0xc2)]};}async[_0x72bb68(0x347)](_0x1754e0){var _0x2371b7=_0x72bb68;const _0x17810d=this[_0x2371b7(0xc1)]()+_0x2371b7(0x322);await this[_0x2371b7(0x31d)]['delete'](_0x17810d,{'params':{'collaboratorID':_0x1754e0[_0x2371b7(0x22b)],'objectID':_0x1754e0['objectID'],'unitID':_0x1754e0[_0x2371b7(0x211)]}});}async[_0x72bb68(0x383)](_0x1c0e3a){var _0x139e59=_0x72bb68;const _0xca54e8=this[_0x139e59(0xc1)]()+'/collaborator';await this[_0x139e59(0x31d)]['patch'](_0xca54e8,{'body':_0x1c0e3a});}async[_0x72bb68(0x306)](_0x4547cc){var _0x3e70c2=_0x72bb68;const _0x12880f=this[_0x3e70c2(0xc1)]()+'/collaborator';await this['_HTTPService'][_0x3e70c2(0x34f)](_0x12880f,{'body':_0x4547cc});}async['listCollaborators'](_0x480f9d){var _0x3770aa=_0x72bb68;const _0x5a1ecd=this[_0x3770aa(0xc1)]()+_0x3770aa(0x322);return(await this['_HTTPService'][_0x3770aa(0x283)](_0x5a1ecd,{'params':{'objectID':_0x480f9d['objectID'],'unitID':_0x480f9d[_0x3770aa(0x211)]}}))['body'][_0x3770aa(0x25d)];}async['putCollaborators'](_0xf7d7d5){var _0x659f5d=_0x72bb68;const _0x28e956=this['_getAPIPrefixPath']()+_0x659f5d(0x322);await this[_0x659f5d(0x31d)][_0x659f5d(0x32e)](_0x28e956,{'body':_0xf7d7d5});}};Tt=hn([Kt(0x0,_0x41311f(_0x4fe417)),Kt(0x1,_0x41311f(_0x19233d))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x1dc90c){var _0x46ba97=_0x72bb68;return _0x1dc90c&&_0x1dc90c[_0x46ba97(0x1f5)]&&Object['prototype'][_0x46ba97(0x15c)]['call'](_0x1dc90c,_0x46ba97(0x332))?_0x1dc90c[_0x46ba97(0x332)]:_0x1dc90c;}var Ve={'exports':{}};function _0x3e8b(_0x31c652,_0x9feff1){var _0x3795ef=_0x3795();return _0x3e8b=function(_0x3e8bdf,_0x248324){_0x3e8bdf=_0x3e8bdf-0x7d;var _0xd7a3b6=_0x3795ef[_0x3e8bdf];return _0xd7a3b6;},_0x3e8b(_0x31c652,_0x9feff1);}function ln(_0x1f740a){var _0x26e5a8=_0x72bb68;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1f740a+_0x26e5a8(0x10a));}var Ge={'exports':{}},un=Ge[_0x72bb68(0x271)],qt;function te(){var _0x1c4aa6=_0x72bb68;return qt||(qt=0x1,function(_0x51259a,_0xde900f){(function(_0x77b026,_0xe65196){var _0x2e87ea=_0x3e8b;_0x51259a[_0x2e87ea(0x271)]=_0xe65196();}(un,function(){var _0x4176b8=_0x4176b8||function(_0x55eb8c,_0x430905){var _0x3d3811=_0x3e8b,_0x1a115a;if(typeof window<'u'&&window[_0x3d3811(0x344)]&&(_0x1a115a=window[_0x3d3811(0x344)]),typeof self<'u'&&self[_0x3d3811(0x344)]&&(_0x1a115a=self['crypto']),typeof globalThis<'u'&&globalThis[_0x3d3811(0x344)]&&(_0x1a115a=globalThis[_0x3d3811(0x344)]),!_0x1a115a&&typeof window<'u'&&window[_0x3d3811(0x2ed)]&&(_0x1a115a=window[_0x3d3811(0x2ed)]),!_0x1a115a&&typeof ft<'u'&&ft['crypto']&&(_0x1a115a=ft[_0x3d3811(0x344)]),!_0x1a115a&&typeof ln==_0x3d3811(0x309))try{_0x1a115a=require(_0x3d3811(0x344));}catch{}var _0x50c706=function(){var _0x37d54e=_0x3d3811;if(_0x1a115a){if(typeof _0x1a115a[_0x37d54e(0x1e8)]==_0x37d54e(0x309))try{return _0x1a115a[_0x37d54e(0x1e8)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1a115a[_0x37d54e(0x2f2)]==_0x37d54e(0x309))try{return _0x1a115a[_0x37d54e(0x2f2)](0x4)[_0x37d54e(0x285)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x77370e=Object['create']||(function(){function _0x380358(){}return function(_0x2aee89){var _0x5df1cc=_0x3e8b,_0x2e1c26;return _0x380358[_0x5df1cc(0x1b8)]=_0x2aee89,_0x2e1c26=new _0x380358(),_0x380358['prototype']=null,_0x2e1c26;};}()),_0x33c331={},_0x792004=_0x33c331['lib']={},_0x5bcf2e=_0x792004[_0x3d3811(0x2e9)]=(function(){return{'extend':function(_0x5d6613){var _0x8752c8=_0x3e8b,_0x356d57=_0x77370e(this);return _0x5d6613&&_0x356d57['mixIn'](_0x5d6613),(!_0x356d57[_0x8752c8(0x15c)](_0x8752c8(0x1c9))||this['init']===_0x356d57[_0x8752c8(0x1c9)])&&(_0x356d57[_0x8752c8(0x1c9)]=function(){var _0x34f0bd=_0x8752c8;_0x356d57[_0x34f0bd(0x228)][_0x34f0bd(0x1c9)]['apply'](this,arguments);}),_0x356d57['init'][_0x8752c8(0x1b8)]=_0x356d57,_0x356d57[_0x8752c8(0x228)]=this,_0x356d57;},'create':function(){var _0x373197=_0x3e8b,_0x7e0c84=this[_0x373197(0x1d9)]();return _0x7e0c84[_0x373197(0x1c9)][_0x373197(0x1cf)](_0x7e0c84,arguments),_0x7e0c84;},'init':function(){},'mixIn':function(_0x367ea6){var _0x288032=_0x3e8b;for(var _0xafc5dc in _0x367ea6)_0x367ea6[_0x288032(0x15c)](_0xafc5dc)&&(this[_0xafc5dc]=_0x367ea6[_0xafc5dc]);_0x367ea6['hasOwnProperty'](_0x288032(0x167))&&(this['toString']=_0x367ea6['toString']);},'clone':function(){var _0x96572b=_0x3e8b;return this['init'][_0x96572b(0x1b8)][_0x96572b(0x1d9)](this);}};}()),_0x2de1f9=_0x792004[_0x3d3811(0x24a)]=_0x5bcf2e[_0x3d3811(0x1d9)]({'init':function(_0x5c2822,_0x394e03){var _0x279761=_0x3d3811;_0x5c2822=this[_0x279761(0xd1)]=_0x5c2822||[],_0x394e03!=_0x430905?this[_0x279761(0x25f)]=_0x394e03:this[_0x279761(0x25f)]=_0x5c2822['length']*0x4;},'toString':function(_0x2efedb){return(_0x2efedb||_0x40627d)['stringify'](this);},'concat':function(_0x2ae243){var _0x46a840=_0x3d3811,_0x33ba19=this['words'],_0x3a9b0e=_0x2ae243[_0x46a840(0xd1)],_0x2369b1=this[_0x46a840(0x25f)],_0x55436e=_0x2ae243[_0x46a840(0x25f)];if(this[_0x46a840(0x319)](),_0x2369b1%0x4)for(var _0x53249c=0x0;_0x53249c<_0x55436e;_0x53249c++){var _0x1073bc=_0x3a9b0e[_0x53249c>>>0x2]>>>0x18-_0x53249c%0x4*0x8&0xff;_0x33ba19[_0x2369b1+_0x53249c>>>0x2]|=_0x1073bc<<0x18-(_0x2369b1+_0x53249c)%0x4*0x8;}else{for(var _0x562748=0x0;_0x562748<_0x55436e;_0x562748+=0x4)_0x33ba19[_0x2369b1+_0x562748>>>0x2]=_0x3a9b0e[_0x562748>>>0x2];}return this[_0x46a840(0x25f)]+=_0x55436e,this;},'clamp':function(){var _0x35f563=_0x3d3811,_0x4d5819=this[_0x35f563(0xd1)],_0x158d1c=this[_0x35f563(0x25f)];_0x4d5819[_0x158d1c>>>0x2]&=0xffffffff<<0x20-_0x158d1c%0x4*0x8,_0x4d5819[_0x35f563(0x182)]=_0x55eb8c[_0x35f563(0x117)](_0x158d1c/0x4);},'clone':function(){var _0x5b00ff=_0x3d3811,_0x3f7c86=_0x5bcf2e[_0x5b00ff(0x339)][_0x5b00ff(0x32b)](this);return _0x3f7c86[_0x5b00ff(0xd1)]=this[_0x5b00ff(0xd1)][_0x5b00ff(0xb9)](0x0),_0x3f7c86;},'random':function(_0x41dcab){var _0x28f013=_0x3d3811;for(var _0x4687d6=[],_0x9295d4=0x0;_0x9295d4<_0x41dcab;_0x9295d4+=0x4)_0x4687d6[_0x28f013(0xe7)](_0x50c706());return new _0x2de1f9['init'](_0x4687d6,_0x41dcab);}}),_0x277051=_0x33c331[_0x3d3811(0x122)]={},_0x40627d=_0x277051[_0x3d3811(0x321)]={'stringify':function(_0x55653a){var _0x54a929=_0x3d3811;for(var _0x5bc84d=_0x55653a[_0x54a929(0xd1)],_0x3f3865=_0x55653a['sigBytes'],_0x49f87d=[],_0x384c11=0x0;_0x384c11<_0x3f3865;_0x384c11++){var _0x2c88dc=_0x5bc84d[_0x384c11>>>0x2]>>>0x18-_0x384c11%0x4*0x8&0xff;_0x49f87d[_0x54a929(0xe7)]((_0x2c88dc>>>0x4)[_0x54a929(0x167)](0x10)),_0x49f87d[_0x54a929(0xe7)]((_0x2c88dc&0xf)[_0x54a929(0x167)](0x10));}return _0x49f87d[_0x54a929(0x351)]('');},'parse':function(_0x583bb0){var _0x48cae3=_0x3d3811;for(var _0x40a092=_0x583bb0['length'],_0x1aec1d=[],_0x4f1d4e=0x0;_0x4f1d4e<_0x40a092;_0x4f1d4e+=0x2)_0x1aec1d[_0x4f1d4e>>>0x3]|=parseInt(_0x583bb0[_0x48cae3(0xdb)](_0x4f1d4e,0x2),0x10)<<0x18-_0x4f1d4e%0x8*0x4;return new _0x2de1f9[(_0x48cae3(0x1c9))](_0x1aec1d,_0x40a092/0x2);}},_0x16e967=_0x277051[_0x3d3811(0x23e)]={'stringify':function(_0x1169b0){var _0x77f324=_0x3d3811;for(var _0x554e7e=_0x1169b0[_0x77f324(0xd1)],_0x1fa9ac=_0x1169b0[_0x77f324(0x25f)],_0x525655=[],_0x491228=0x0;_0x491228<_0x1fa9ac;_0x491228++){var _0xd46713=_0x554e7e[_0x491228>>>0x2]>>>0x18-_0x491228%0x4*0x8&0xff;_0x525655[_0x77f324(0xe7)](String[_0x77f324(0x136)](_0xd46713));}return _0x525655['join']('');},'parse':function(_0x401ca9){for(var _0x24a61b=_0x401ca9['length'],_0x50af9c=[],_0x2a6327=0x0;_0x2a6327<_0x24a61b;_0x2a6327++)_0x50af9c[_0x2a6327>>>0x2]|=(_0x401ca9['charCodeAt'](_0x2a6327)&0xff)<<0x18-_0x2a6327%0x4*0x8;return new _0x2de1f9['init'](_0x50af9c,_0x24a61b);}},_0x96fa24=_0x277051[_0x3d3811(0x2d2)]={'stringify':function(_0x59faca){var _0x21fc15=_0x3d3811;try{return decodeURIComponent(escape(_0x16e967[_0x21fc15(0x384)](_0x59faca)));}catch{throw new Error(_0x21fc15(0x170));}},'parse':function(_0x3cb8b6){return _0x16e967['parse'](unescape(encodeURIComponent(_0x3cb8b6)));}},_0x27b41c=_0x792004['BufferedBlockAlgorithm']=_0x5bcf2e[_0x3d3811(0x1d9)]({'reset':function(){var _0x3c5b5d=_0x3d3811;this['_data']=new _0x2de1f9[(_0x3c5b5d(0x1c9))](),this[_0x3c5b5d(0x89)]=0x0;},'_append':function(_0x1cafbf){var _0x1dfa9e=_0x3d3811;typeof _0x1cafbf==_0x1dfa9e(0x2bb)&&(_0x1cafbf=_0x96fa24[_0x1dfa9e(0x12b)](_0x1cafbf)),this['_data'][_0x1dfa9e(0x286)](_0x1cafbf),this[_0x1dfa9e(0x89)]+=_0x1cafbf[_0x1dfa9e(0x25f)];},'_process':function(_0x4a589d){var _0x317502=_0x3d3811,_0x5d81fc,_0x51a760=this[_0x317502(0x119)],_0x1f5c7b=_0x51a760[_0x317502(0xd1)],_0x19aa50=_0x51a760[_0x317502(0x25f)],_0x1578d6=this['blockSize'],_0x40eb34=_0x1578d6*0x4,_0x1acbe7=_0x19aa50/_0x40eb34;_0x4a589d?_0x1acbe7=_0x55eb8c[_0x317502(0x117)](_0x1acbe7):_0x1acbe7=_0x55eb8c[_0x317502(0x235)]((_0x1acbe7|0x0)-this[_0x317502(0x163)],0x0);var _0x3ea54b=_0x1acbe7*_0x1578d6,_0x1d1da2=_0x55eb8c[_0x317502(0x2ab)](_0x3ea54b*0x4,_0x19aa50);if(_0x3ea54b){for(var _0x46a6f6=0x0;_0x46a6f6<_0x3ea54b;_0x46a6f6+=_0x1578d6)this[_0x317502(0x20f)](_0x1f5c7b,_0x46a6f6);_0x5d81fc=_0x1f5c7b['splice'](0x0,_0x3ea54b),_0x51a760[_0x317502(0x25f)]-=_0x1d1da2;}return new _0x2de1f9['init'](_0x5d81fc,_0x1d1da2);},'clone':function(){var _0xd7a86a=_0x3d3811,_0x1d2cd2=_0x5bcf2e[_0xd7a86a(0x339)][_0xd7a86a(0x32b)](this);return _0x1d2cd2['_data']=this[_0xd7a86a(0x119)][_0xd7a86a(0x339)](),_0x1d2cd2;},'_minBufferSize':0x0});_0x792004[_0x3d3811(0x233)]=_0x27b41c[_0x3d3811(0x1d9)]({'cfg':_0x5bcf2e[_0x3d3811(0x1d9)](),'init':function(_0x241c61){var _0x1b9992=_0x3d3811;this['cfg']=this[_0x1b9992(0xb0)][_0x1b9992(0x1d9)](_0x241c61),this[_0x1b9992(0x138)]();},'reset':function(){var _0x2bc0e7=_0x3d3811;_0x27b41c[_0x2bc0e7(0x138)][_0x2bc0e7(0x32b)](this),this[_0x2bc0e7(0x1c0)]();},'update':function(_0x167785){var _0xf9b58d=_0x3d3811;return this[_0xf9b58d(0x269)](_0x167785),this[_0xf9b58d(0x216)](),this;},'finalize':function(_0x4d448b){var _0x1f8894=_0x3d3811;_0x4d448b&&this[_0x1f8894(0x269)](_0x4d448b);var _0x10ee05=this[_0x1f8894(0x1fc)]();return _0x10ee05;},'blockSize':0x10,'_createHelper':function(_0x1382d0){return function(_0x22bfd2,_0x27c369){var _0x5a3971=_0x3e8b;return new _0x1382d0[(_0x5a3971(0x1c9))](_0x27c369)['finalize'](_0x22bfd2);};},'_createHmacHelper':function(_0x2764e2){return function(_0x4bd726,_0x706ab7){var _0x5d3a7e=_0x3e8b;return new _0x2cb640[(_0x5d3a7e(0xee))][(_0x5d3a7e(0x1c9))](_0x2764e2,_0x706ab7)[_0x5d3a7e(0x1cb)](_0x4bd726);};}});var _0x2cb640=_0x33c331[_0x3d3811(0xaf)]={};return _0x33c331;}(Math);return _0x4176b8;}));}(Ge)),Ge[_0x1c4aa6(0x271)];}var We={'exports':{}},dn=We[_0x72bb68(0x271)],zt;function Oi(){var _0x5415dc=_0x72bb68;return zt||(zt=0x1,function(_0x54d5d8,_0x53691d){(function(_0x2073b0,_0x386225){var _0x190edf=_0x3e8b;_0x54d5d8[_0x190edf(0x271)]=_0x386225(te());}(dn,function(_0x34455){var _0x3dded5=_0x3e8b;return(function(){var _0x2a2a05=_0x3e8b,_0x14ad4c=_0x34455,_0x17f003=_0x14ad4c['lib'],_0x1d4ec3=_0x17f003[_0x2a2a05(0x24a)],_0x51f963=_0x14ad4c[_0x2a2a05(0x122)];_0x51f963[_0x2a2a05(0x1fe)]={'stringify':function(_0x2dd187){var _0x61a542=_0x2a2a05,_0x32a162=_0x2dd187[_0x61a542(0xd1)],_0x159b40=_0x2dd187[_0x61a542(0x25f)],_0x2097f9=this[_0x61a542(0x279)];_0x2dd187['clamp']();for(var _0x2485a7=[],_0x2524cc=0x0;_0x2524cc<_0x159b40;_0x2524cc+=0x3)for(var _0x41ca5e=_0x32a162[_0x2524cc>>>0x2]>>>0x18-_0x2524cc%0x4*0x8&0xff,_0x190500=_0x32a162[_0x2524cc+0x1>>>0x2]>>>0x18-(_0x2524cc+0x1)%0x4*0x8&0xff,_0x3d20de=_0x32a162[_0x2524cc+0x2>>>0x2]>>>0x18-(_0x2524cc+0x2)%0x4*0x8&0xff,_0x26b7fb=_0x41ca5e<<0x10|_0x190500<<0x8|_0x3d20de,_0x582453=0x0;_0x582453<0x4&&_0x2524cc+_0x582453*0.75<_0x159b40;_0x582453++)_0x2485a7[_0x61a542(0xe7)](_0x2097f9[_0x61a542(0x35e)](_0x26b7fb>>>0x6*(0x3-_0x582453)&0x3f));var _0x449b18=_0x2097f9['charAt'](0x40);if(_0x449b18){for(;_0x2485a7[_0x61a542(0x182)]%0x4;)_0x2485a7[_0x61a542(0xe7)](_0x449b18);}return _0x2485a7[_0x61a542(0x351)]('');},'parse':function(_0x4e56cd){var _0xad7497=_0x2a2a05,_0x3fc101=_0x4e56cd[_0xad7497(0x182)],_0x38bfc0=this['_map'],_0x247e14=this[_0xad7497(0x345)];if(!_0x247e14){_0x247e14=this['_reverseMap']=[];for(var _0x10593b=0x0;_0x10593b<_0x38bfc0[_0xad7497(0x182)];_0x10593b++)_0x247e14[_0x38bfc0['charCodeAt'](_0x10593b)]=_0x10593b;}var _0x42927d=_0x38bfc0[_0xad7497(0x35e)](0x40);if(_0x42927d){var _0x277ea3=_0x4e56cd[_0xad7497(0x18d)](_0x42927d);_0x277ea3!==-0x1&&(_0x3fc101=_0x277ea3);}return _0xa7f68c(_0x4e56cd,_0x3fc101,_0x247e14);},'_map':_0x2a2a05(0xd3)};function _0xa7f68c(_0x3ab84e,_0x3a1574,_0x4ebafa){var _0x37a9a1=_0x2a2a05;for(var _0x38aee6=[],_0x506f57=0x0,_0x1ae63d=0x0;_0x1ae63d<_0x3a1574;_0x1ae63d++)if(_0x1ae63d%0x4){var _0x176ef1=_0x4ebafa[_0x3ab84e[_0x37a9a1(0x247)](_0x1ae63d-0x1)]<<_0x1ae63d%0x4*0x2,_0x44c1b0=_0x4ebafa[_0x3ab84e[_0x37a9a1(0x247)](_0x1ae63d)]>>>0x6-_0x1ae63d%0x4*0x2,_0x5d2834=_0x176ef1|_0x44c1b0;_0x38aee6[_0x506f57>>>0x2]|=_0x5d2834<<0x18-_0x506f57%0x4*0x8,_0x506f57++;}return _0x1d4ec3[_0x37a9a1(0x9a)](_0x38aee6,_0x506f57);}}()),_0x34455[_0x3dded5(0x122)][_0x3dded5(0x1fe)];}));}(We)),We[_0x5415dc(0x271)];}var Ye={'exports':{}},fn=Ye['exports'],Jt;function vn(){var _0x35a189=_0x72bb68;return Jt||(Jt=0x1,function(_0x28bb60,_0x3b6323){(function(_0x4642e8,_0x23e730){_0x28bb60['exports']=_0x23e730(te());}(fn,function(_0x47db3d){return function(_0x3bb53e){var _0x2f838f=_0x3e8b,_0x1cfaa9=_0x47db3d,_0x38f7f1=_0x1cfaa9[_0x2f838f(0x177)],_0x156bf9=_0x38f7f1[_0x2f838f(0x24a)],_0x534b2b=_0x38f7f1['Hasher'],_0x41bc74=_0x1cfaa9[_0x2f838f(0xaf)],_0x25f425=[];(function(){var _0x31fdf6=_0x2f838f;for(var _0x3bcdaf=0x0;_0x3bcdaf<0x40;_0x3bcdaf++)_0x25f425[_0x3bcdaf]=_0x3bb53e['abs'](_0x3bb53e[_0x31fdf6(0x354)](_0x3bcdaf+0x1))*0x100000000|0x0;}());var _0x4bb69a=_0x41bc74[_0x2f838f(0x217)]=_0x534b2b[_0x2f838f(0x1d9)]({'_doReset':function(){var _0xe680e9=_0x2f838f;this[_0xe680e9(0x265)]=new _0x156bf9['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3ccea4,_0x31485e){var _0x485452=_0x2f838f;for(var _0x125f34=0x0;_0x125f34<0x10;_0x125f34++){var _0x555c64=_0x31485e+_0x125f34,_0x3e60bd=_0x3ccea4[_0x555c64];_0x3ccea4[_0x555c64]=(_0x3e60bd<<0x8|_0x3e60bd>>>0x18)&0xff00ff|(_0x3e60bd<<0x18|_0x3e60bd>>>0x8)&0xff00ff00;}var _0x276bb6=this[_0x485452(0x265)]['words'],_0xbdf117=_0x3ccea4[_0x31485e+0x0],_0x3a322f=_0x3ccea4[_0x31485e+0x1],_0x25a7fe=_0x3ccea4[_0x31485e+0x2],_0x1be69a=_0x3ccea4[_0x31485e+0x3],_0x59892c=_0x3ccea4[_0x31485e+0x4],_0x2ace4e=_0x3ccea4[_0x31485e+0x5],_0x1c53d1=_0x3ccea4[_0x31485e+0x6],_0xfbac6=_0x3ccea4[_0x31485e+0x7],_0x59aba0=_0x3ccea4[_0x31485e+0x8],_0x34904f=_0x3ccea4[_0x31485e+0x9],_0x4d6b90=_0x3ccea4[_0x31485e+0xa],_0x4b8603=_0x3ccea4[_0x31485e+0xb],_0x28d23e=_0x3ccea4[_0x31485e+0xc],_0xd1ea5a=_0x3ccea4[_0x31485e+0xd],_0x5c68cb=_0x3ccea4[_0x31485e+0xe],_0x12ebe4=_0x3ccea4[_0x31485e+0xf],_0x1d9cba=_0x276bb6[0x0],_0x296636=_0x276bb6[0x1],_0x1ac9ff=_0x276bb6[0x2],_0x230c4f=_0x276bb6[0x3];_0x1d9cba=_0x3b1acc(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0xbdf117,0x7,_0x25f425[0x0]),_0x230c4f=_0x3b1acc(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x3a322f,0xc,_0x25f425[0x1]),_0x1ac9ff=_0x3b1acc(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x25a7fe,0x11,_0x25f425[0x2]),_0x296636=_0x3b1acc(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x1be69a,0x16,_0x25f425[0x3]),_0x1d9cba=_0x3b1acc(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x59892c,0x7,_0x25f425[0x4]),_0x230c4f=_0x3b1acc(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x2ace4e,0xc,_0x25f425[0x5]),_0x1ac9ff=_0x3b1acc(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x1c53d1,0x11,_0x25f425[0x6]),_0x296636=_0x3b1acc(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0xfbac6,0x16,_0x25f425[0x7]),_0x1d9cba=_0x3b1acc(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x59aba0,0x7,_0x25f425[0x8]),_0x230c4f=_0x3b1acc(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x34904f,0xc,_0x25f425[0x9]),_0x1ac9ff=_0x3b1acc(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x4d6b90,0x11,_0x25f425[0xa]),_0x296636=_0x3b1acc(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x4b8603,0x16,_0x25f425[0xb]),_0x1d9cba=_0x3b1acc(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x28d23e,0x7,_0x25f425[0xc]),_0x230c4f=_0x3b1acc(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0xd1ea5a,0xc,_0x25f425[0xd]),_0x1ac9ff=_0x3b1acc(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x5c68cb,0x11,_0x25f425[0xe]),_0x296636=_0x3b1acc(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x12ebe4,0x16,_0x25f425[0xf]),_0x1d9cba=_0x37748c(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x3a322f,0x5,_0x25f425[0x10]),_0x230c4f=_0x37748c(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x1c53d1,0x9,_0x25f425[0x11]),_0x1ac9ff=_0x37748c(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x4b8603,0xe,_0x25f425[0x12]),_0x296636=_0x37748c(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0xbdf117,0x14,_0x25f425[0x13]),_0x1d9cba=_0x37748c(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x2ace4e,0x5,_0x25f425[0x14]),_0x230c4f=_0x37748c(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x4d6b90,0x9,_0x25f425[0x15]),_0x1ac9ff=_0x37748c(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x12ebe4,0xe,_0x25f425[0x16]),_0x296636=_0x37748c(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x59892c,0x14,_0x25f425[0x17]),_0x1d9cba=_0x37748c(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x34904f,0x5,_0x25f425[0x18]),_0x230c4f=_0x37748c(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x5c68cb,0x9,_0x25f425[0x19]),_0x1ac9ff=_0x37748c(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x1be69a,0xe,_0x25f425[0x1a]),_0x296636=_0x37748c(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x59aba0,0x14,_0x25f425[0x1b]),_0x1d9cba=_0x37748c(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0xd1ea5a,0x5,_0x25f425[0x1c]),_0x230c4f=_0x37748c(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x25a7fe,0x9,_0x25f425[0x1d]),_0x1ac9ff=_0x37748c(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0xfbac6,0xe,_0x25f425[0x1e]),_0x296636=_0x37748c(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x28d23e,0x14,_0x25f425[0x1f]),_0x1d9cba=_0x4e546d(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x2ace4e,0x4,_0x25f425[0x20]),_0x230c4f=_0x4e546d(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x59aba0,0xb,_0x25f425[0x21]),_0x1ac9ff=_0x4e546d(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x4b8603,0x10,_0x25f425[0x22]),_0x296636=_0x4e546d(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x5c68cb,0x17,_0x25f425[0x23]),_0x1d9cba=_0x4e546d(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x3a322f,0x4,_0x25f425[0x24]),_0x230c4f=_0x4e546d(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x59892c,0xb,_0x25f425[0x25]),_0x1ac9ff=_0x4e546d(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0xfbac6,0x10,_0x25f425[0x26]),_0x296636=_0x4e546d(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x4d6b90,0x17,_0x25f425[0x27]),_0x1d9cba=_0x4e546d(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0xd1ea5a,0x4,_0x25f425[0x28]),_0x230c4f=_0x4e546d(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0xbdf117,0xb,_0x25f425[0x29]),_0x1ac9ff=_0x4e546d(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x1be69a,0x10,_0x25f425[0x2a]),_0x296636=_0x4e546d(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x1c53d1,0x17,_0x25f425[0x2b]),_0x1d9cba=_0x4e546d(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x34904f,0x4,_0x25f425[0x2c]),_0x230c4f=_0x4e546d(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x28d23e,0xb,_0x25f425[0x2d]),_0x1ac9ff=_0x4e546d(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x12ebe4,0x10,_0x25f425[0x2e]),_0x296636=_0x4e546d(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x25a7fe,0x17,_0x25f425[0x2f]),_0x1d9cba=_0x4a3b22(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0xbdf117,0x6,_0x25f425[0x30]),_0x230c4f=_0x4a3b22(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0xfbac6,0xa,_0x25f425[0x31]),_0x1ac9ff=_0x4a3b22(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x5c68cb,0xf,_0x25f425[0x32]),_0x296636=_0x4a3b22(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x2ace4e,0x15,_0x25f425[0x33]),_0x1d9cba=_0x4a3b22(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x28d23e,0x6,_0x25f425[0x34]),_0x230c4f=_0x4a3b22(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x1be69a,0xa,_0x25f425[0x35]),_0x1ac9ff=_0x4a3b22(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x4d6b90,0xf,_0x25f425[0x36]),_0x296636=_0x4a3b22(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x3a322f,0x15,_0x25f425[0x37]),_0x1d9cba=_0x4a3b22(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x59aba0,0x6,_0x25f425[0x38]),_0x230c4f=_0x4a3b22(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x12ebe4,0xa,_0x25f425[0x39]),_0x1ac9ff=_0x4a3b22(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x1c53d1,0xf,_0x25f425[0x3a]),_0x296636=_0x4a3b22(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0xd1ea5a,0x15,_0x25f425[0x3b]),_0x1d9cba=_0x4a3b22(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x59892c,0x6,_0x25f425[0x3c]),_0x230c4f=_0x4a3b22(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x4b8603,0xa,_0x25f425[0x3d]),_0x1ac9ff=_0x4a3b22(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x25a7fe,0xf,_0x25f425[0x3e]),_0x296636=_0x4a3b22(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x34904f,0x15,_0x25f425[0x3f]),_0x276bb6[0x0]=_0x276bb6[0x0]+_0x1d9cba|0x0,_0x276bb6[0x1]=_0x276bb6[0x1]+_0x296636|0x0,_0x276bb6[0x2]=_0x276bb6[0x2]+_0x1ac9ff|0x0,_0x276bb6[0x3]=_0x276bb6[0x3]+_0x230c4f|0x0;},'_doFinalize':function(){var _0x35a898=_0x2f838f,_0x16400a=this['_data'],_0x518247=_0x16400a[_0x35a898(0xd1)],_0x4a6cc0=this[_0x35a898(0x89)]*0x8,_0xbb792d=_0x16400a['sigBytes']*0x8;_0x518247[_0xbb792d>>>0x5]|=0x80<<0x18-_0xbb792d%0x20;var _0x407d72=_0x3bb53e[_0x35a898(0x230)](_0x4a6cc0/0x100000000),_0x2599c4=_0x4a6cc0;_0x518247[(_0xbb792d+0x40>>>0x9<<0x4)+0xf]=(_0x407d72<<0x8|_0x407d72>>>0x18)&0xff00ff|(_0x407d72<<0x18|_0x407d72>>>0x8)&0xff00ff00,_0x518247[(_0xbb792d+0x40>>>0x9<<0x4)+0xe]=(_0x2599c4<<0x8|_0x2599c4>>>0x18)&0xff00ff|(_0x2599c4<<0x18|_0x2599c4>>>0x8)&0xff00ff00,_0x16400a[_0x35a898(0x25f)]=(_0x518247['length']+0x1)*0x4,this[_0x35a898(0x216)]();for(var _0x56dfaf=this['_hash'],_0x546e27=_0x56dfaf[_0x35a898(0xd1)],_0x166722=0x0;_0x166722<0x4;_0x166722++){var _0x302f74=_0x546e27[_0x166722];_0x546e27[_0x166722]=(_0x302f74<<0x8|_0x302f74>>>0x18)&0xff00ff|(_0x302f74<<0x18|_0x302f74>>>0x8)&0xff00ff00;}return _0x56dfaf;},'clone':function(){var _0x4d4159=_0x2f838f,_0x482fa3=_0x534b2b[_0x4d4159(0x339)][_0x4d4159(0x32b)](this);return _0x482fa3[_0x4d4159(0x265)]=this[_0x4d4159(0x265)][_0x4d4159(0x339)](),_0x482fa3;}});function _0x3b1acc(_0x3204ac,_0x510abf,_0x112d6c,_0x265bce,_0x43d113,_0x423f06,_0xc8f096){var _0x1409f2=_0x3204ac+(_0x510abf&_0x112d6c|~_0x510abf&_0x265bce)+_0x43d113+_0xc8f096;return(_0x1409f2<<_0x423f06|_0x1409f2>>>0x20-_0x423f06)+_0x510abf;}function _0x37748c(_0x46deb7,_0x681893,_0x5afddb,_0xc732a5,_0x16d34f,_0x442be2,_0x35ebed){var _0x42e9aa=_0x46deb7+(_0x681893&_0xc732a5|_0x5afddb&~_0xc732a5)+_0x16d34f+_0x35ebed;return(_0x42e9aa<<_0x442be2|_0x42e9aa>>>0x20-_0x442be2)+_0x681893;}function _0x4e546d(_0x3e9171,_0x4fa17c,_0x386ca7,_0x499a85,_0x2f81d4,_0x524f09,_0x2eb584){var _0x45374f=_0x3e9171+(_0x4fa17c^_0x386ca7^_0x499a85)+_0x2f81d4+_0x2eb584;return(_0x45374f<<_0x524f09|_0x45374f>>>0x20-_0x524f09)+_0x4fa17c;}function _0x4a3b22(_0x2adec9,_0x49ea78,_0x38eaf5,_0x1f1c60,_0x5a22cb,_0x31b025,_0x24e75d){var _0x20e73e=_0x2adec9+(_0x38eaf5^(_0x49ea78|~_0x1f1c60))+_0x5a22cb+_0x24e75d;return(_0x20e73e<<_0x31b025|_0x20e73e>>>0x20-_0x31b025)+_0x49ea78;}_0x1cfaa9['MD5']=_0x534b2b[_0x2f838f(0x317)](_0x4bb69a),_0x1cfaa9[_0x2f838f(0x2f7)]=_0x534b2b['_createHmacHelper'](_0x4bb69a);}(Math),_0x47db3d['MD5'];}));}(Ye)),Ye[_0x35a189(0x271)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x72bb68(0x271)],Xt;function mn(){var _0x429e0a=_0x72bb68;return Xt||(Xt=0x1,function(_0x31a19a,_0x406e17){(function(_0x411057,_0x4c65c6){_0x31a19a['exports']=_0x4c65c6(te());}(pn,function(_0x3a6cd5){var _0x154800=_0x3e8b;return(function(){var _0x5c1803=_0x3e8b,_0x514945=_0x3a6cd5,_0x25290f=_0x514945[_0x5c1803(0x177)],_0x213cb4=_0x25290f[_0x5c1803(0x24a)],_0x2bc02e=_0x25290f['Hasher'],_0x289808=_0x514945[_0x5c1803(0xaf)],_0x161cdf=[],_0x2fdfe0=_0x289808[_0x5c1803(0xd0)]=_0x2bc02e[_0x5c1803(0x1d9)]({'_doReset':function(){var _0x5e4e76=_0x5c1803;this[_0x5e4e76(0x265)]=new _0x213cb4[(_0x5e4e76(0x1c9))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x306e66,_0x525c4d){var _0x3eb561=_0x5c1803;for(var _0x58c56f=this[_0x3eb561(0x265)][_0x3eb561(0xd1)],_0x469876=_0x58c56f[0x0],_0x4cdfd8=_0x58c56f[0x1],_0x1319cc=_0x58c56f[0x2],_0x133456=_0x58c56f[0x3],_0x10bf02=_0x58c56f[0x4],_0x49d8e6=0x0;_0x49d8e6<0x50;_0x49d8e6++){if(_0x49d8e6<0x10)_0x161cdf[_0x49d8e6]=_0x306e66[_0x525c4d+_0x49d8e6]|0x0;else{var _0x5e258b=_0x161cdf[_0x49d8e6-0x3]^_0x161cdf[_0x49d8e6-0x8]^_0x161cdf[_0x49d8e6-0xe]^_0x161cdf[_0x49d8e6-0x10];_0x161cdf[_0x49d8e6]=_0x5e258b<<0x1|_0x5e258b>>>0x1f;}var _0x5269db=(_0x469876<<0x5|_0x469876>>>0x1b)+_0x10bf02+_0x161cdf[_0x49d8e6];_0x49d8e6<0x14?_0x5269db+=(_0x4cdfd8&_0x1319cc|~_0x4cdfd8&_0x133456)+0x5a827999:_0x49d8e6<0x28?_0x5269db+=(_0x4cdfd8^_0x1319cc^_0x133456)+0x6ed9eba1:_0x49d8e6<0x3c?_0x5269db+=(_0x4cdfd8&_0x1319cc|_0x4cdfd8&_0x133456|_0x1319cc&_0x133456)-0x70e44324:_0x5269db+=(_0x4cdfd8^_0x1319cc^_0x133456)-0x359d3e2a,_0x10bf02=_0x133456,_0x133456=_0x1319cc,_0x1319cc=_0x4cdfd8<<0x1e|_0x4cdfd8>>>0x2,_0x4cdfd8=_0x469876,_0x469876=_0x5269db;}_0x58c56f[0x0]=_0x58c56f[0x0]+_0x469876|0x0,_0x58c56f[0x1]=_0x58c56f[0x1]+_0x4cdfd8|0x0,_0x58c56f[0x2]=_0x58c56f[0x2]+_0x1319cc|0x0,_0x58c56f[0x3]=_0x58c56f[0x3]+_0x133456|0x0,_0x58c56f[0x4]=_0x58c56f[0x4]+_0x10bf02|0x0;},'_doFinalize':function(){var _0x140872=_0x5c1803,_0x59eb46=this[_0x140872(0x119)],_0x345f0a=_0x59eb46[_0x140872(0xd1)],_0x344877=this[_0x140872(0x89)]*0x8,_0x487e00=_0x59eb46[_0x140872(0x25f)]*0x8;return _0x345f0a[_0x487e00>>>0x5]|=0x80<<0x18-_0x487e00%0x20,_0x345f0a[(_0x487e00+0x40>>>0x9<<0x4)+0xe]=Math[_0x140872(0x230)](_0x344877/0x100000000),_0x345f0a[(_0x487e00+0x40>>>0x9<<0x4)+0xf]=_0x344877,_0x59eb46[_0x140872(0x25f)]=_0x345f0a[_0x140872(0x182)]*0x4,this[_0x140872(0x216)](),this[_0x140872(0x265)];},'clone':function(){var _0x4a03e5=_0x5c1803,_0x4bcae8=_0x2bc02e[_0x4a03e5(0x339)][_0x4a03e5(0x32b)](this);return _0x4bcae8[_0x4a03e5(0x265)]=this[_0x4a03e5(0x265)]['clone'](),_0x4bcae8;}});_0x514945['SHA1']=_0x2bc02e[_0x5c1803(0x317)](_0x2fdfe0),_0x514945[_0x5c1803(0x2d7)]=_0x2bc02e[_0x5c1803(0x26e)](_0x2fdfe0);}()),_0x3a6cd5[_0x154800(0xd0)];}));}(qe)),qe[_0x429e0a(0x271)];}var ze={'exports':{}},gn=ze[_0x72bb68(0x271)],Zt;function Sn(){var _0x3906c1=_0x72bb68;return Zt||(Zt=0x1,function(_0x399ef5,_0x4605e0){(function(_0x1ecf9a,_0x4a1260){_0x399ef5['exports']=_0x4a1260(te());}(gn,function(_0x9a88c4){(function(){var _0x266d95=_0x3e8b,_0xfb63d1=_0x9a88c4,_0x4fae4c=_0xfb63d1[_0x266d95(0x177)],_0x4448cb=_0x4fae4c['Base'],_0x212eff=_0xfb63d1[_0x266d95(0x122)],_0x2ec6ad=_0x212eff[_0x266d95(0x2d2)],_0x2b44bd=_0xfb63d1[_0x266d95(0xaf)];_0x2b44bd[_0x266d95(0xee)]=_0x4448cb[_0x266d95(0x1d9)]({'init':function(_0x5ad770,_0x2ba156){var _0xb8229=_0x266d95;_0x5ad770=this['_hasher']=new _0x5ad770[(_0xb8229(0x1c9))](),typeof _0x2ba156==_0xb8229(0x2bb)&&(_0x2ba156=_0x2ec6ad[_0xb8229(0x12b)](_0x2ba156));var _0x30a750=_0x5ad770[_0xb8229(0x193)],_0x4eeb2b=_0x30a750*0x4;_0x2ba156[_0xb8229(0x25f)]>_0x4eeb2b&&(_0x2ba156=_0x5ad770[_0xb8229(0x1cb)](_0x2ba156)),_0x2ba156['clamp']();for(var _0x1048ee=this[_0xb8229(0x2fe)]=_0x2ba156['clone'](),_0x2c5532=this['_iKey']=_0x2ba156[_0xb8229(0x339)](),_0x49ecda=_0x1048ee['words'],_0x111014=_0x2c5532[_0xb8229(0xd1)],_0x359392=0x0;_0x359392<_0x30a750;_0x359392++)_0x49ecda[_0x359392]^=0x5c5c5c5c,_0x111014[_0x359392]^=0x36363636;_0x1048ee['sigBytes']=_0x2c5532[_0xb8229(0x25f)]=_0x4eeb2b,this[_0xb8229(0x138)]();},'reset':function(){var _0x76bcae=_0x266d95,_0x24c5d5=this[_0x76bcae(0x1aa)];_0x24c5d5[_0x76bcae(0x138)](),_0x24c5d5[_0x76bcae(0x1dc)](this['_iKey']);},'update':function(_0x23c512){var _0x118e4a=_0x266d95;return this['_hasher'][_0x118e4a(0x1dc)](_0x23c512),this;},'finalize':function(_0x3c16b1){var _0x54bf46=_0x266d95,_0x36c66b=this['_hasher'],_0x4ba925=_0x36c66b[_0x54bf46(0x1cb)](_0x3c16b1);_0x36c66b['reset']();var _0x44910a=_0x36c66b[_0x54bf46(0x1cb)](this[_0x54bf46(0x2fe)][_0x54bf46(0x339)]()[_0x54bf46(0x286)](_0x4ba925));return _0x44910a;}});}());}));}(ze)),ze[_0x3906c1(0x271)];}var En=Ke[_0x72bb68(0x271)],Qt;function yi(){var _0x8ee3cc=_0x72bb68;return Qt||(Qt=0x1,function(_0x35a698,_0x1b4bcf){(function(_0x13f539,_0x36bb22,_0x5b4df6){var _0x309035=_0x3e8b;_0x35a698[_0x309035(0x271)]=_0x36bb22(te(),mn(),Sn());}(En,function(_0x2c0d35){return(function(){var _0x3a1efd=_0x3e8b,_0x432c50=_0x2c0d35,_0xd046b=_0x432c50['lib'],_0x3bed6b=_0xd046b[_0x3a1efd(0x2e9)],_0x86797f=_0xd046b[_0x3a1efd(0x24a)],_0x4ca132=_0x432c50[_0x3a1efd(0xaf)],_0x508fb9=_0x4ca132[_0x3a1efd(0x217)],_0x3cfbcf=_0x4ca132[_0x3a1efd(0x13b)]=_0x3bed6b['extend']({'cfg':_0x3bed6b[_0x3a1efd(0x1d9)]({'keySize':0x80/0x20,'hasher':_0x508fb9,'iterations':0x1}),'init':function(_0x160ea5){var _0x223fc0=_0x3a1efd;this[_0x223fc0(0xb0)]=this['cfg'][_0x223fc0(0x1d9)](_0x160ea5);},'compute':function(_0x410287,_0x2242a5){var _0x18665c=_0x3a1efd;for(var _0x3d6770,_0x3a887e=this[_0x18665c(0xb0)],_0x4f93c5=_0x3a887e[_0x18665c(0x27d)][_0x18665c(0x9a)](),_0x582c19=_0x86797f['create'](),_0x22097d=_0x582c19[_0x18665c(0xd1)],_0x4eb7e3=_0x3a887e['keySize'],_0x6550e7=_0x3a887e[_0x18665c(0x231)];_0x22097d[_0x18665c(0x182)]<_0x4eb7e3;){_0x3d6770&&_0x4f93c5[_0x18665c(0x1dc)](_0x3d6770),_0x3d6770=_0x4f93c5[_0x18665c(0x1dc)](_0x410287)[_0x18665c(0x1cb)](_0x2242a5),_0x4f93c5['reset']();for(var _0x50cbf7=0x1;_0x50cbf7<_0x6550e7;_0x50cbf7++)_0x3d6770=_0x4f93c5[_0x18665c(0x1cb)](_0x3d6770),_0x4f93c5[_0x18665c(0x138)]();_0x582c19[_0x18665c(0x286)](_0x3d6770);}return _0x582c19[_0x18665c(0x25f)]=_0x4eb7e3*0x4,_0x582c19;}});_0x432c50[_0x3a1efd(0x13b)]=function(_0x526f42,_0x300991,_0x2acc29){var _0x4d0a83=_0x3a1efd;return _0x3cfbcf[_0x4d0a83(0x9a)](_0x2acc29)[_0x4d0a83(0xe8)](_0x526f42,_0x300991);};}()),_0x2c0d35['EvpKDF'];}));}(Ke)),Ke[_0x8ee3cc(0x271)];}var Je={'exports':{}},In=Je['exports'],ei;function Ni(){var _0x2ebf7c=_0x72bb68;return ei||(ei=0x1,function(_0x1be877,_0x2a7fa6){(function(_0x3a7bca,_0x20b742,_0x23b5ae){_0x1be877['exports']=_0x20b742(te(),yi());}(In,function(_0x1f3aff){var _0x34fad6=_0x3e8b;_0x1f3aff[_0x34fad6(0x177)][_0x34fad6(0xca)]||function(_0x4c1baf){var _0x57ef00=_0x34fad6,_0x75736c=_0x1f3aff,_0x236576=_0x75736c['lib'],_0x50a6b7=_0x236576[_0x57ef00(0x2e9)],_0x316f0a=_0x236576[_0x57ef00(0x24a)],_0xcf4d23=_0x236576[_0x57ef00(0x352)],_0x2397a6=_0x75736c[_0x57ef00(0x122)];_0x2397a6['Utf8'];var _0x27be35=_0x2397a6['Base64'],_0x2cff4a=_0x75736c[_0x57ef00(0xaf)],_0x22153b=_0x2cff4a[_0x57ef00(0x13b)],_0xbd128d=_0x236576[_0x57ef00(0xca)]=_0xcf4d23[_0x57ef00(0x1d9)]({'cfg':_0x50a6b7['extend'](),'createEncryptor':function(_0x4e5f5c,_0x22e528){var _0x2c2647=_0x57ef00;return this[_0x2c2647(0x9a)](this['_ENC_XFORM_MODE'],_0x4e5f5c,_0x22e528);},'createDecryptor':function(_0x4c87dd,_0x1b380f){var _0x4ac169=_0x57ef00;return this['create'](this[_0x4ac169(0xb7)],_0x4c87dd,_0x1b380f);},'init':function(_0xa93c53,_0x23bfc9,_0x4aecd1){var _0x5ce0c2=_0x57ef00;this[_0x5ce0c2(0xb0)]=this[_0x5ce0c2(0xb0)][_0x5ce0c2(0x1d9)](_0x4aecd1),this['_xformMode']=_0xa93c53,this[_0x5ce0c2(0x273)]=_0x23bfc9,this[_0x5ce0c2(0x138)]();},'reset':function(){var _0x524bd8=_0x57ef00;_0xcf4d23[_0x524bd8(0x138)][_0x524bd8(0x32b)](this),this[_0x524bd8(0x1c0)]();},'process':function(_0x22a480){var _0x106d3c=_0x57ef00;return this[_0x106d3c(0x269)](_0x22a480),this[_0x106d3c(0x216)]();},'finalize':function(_0x551de5){_0x551de5&&this['_append'](_0x551de5);var _0x1a5e3e=this['_doFinalize']();return _0x1a5e3e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4923e1(_0x1c2f52){return typeof _0x1c2f52=='string'?_0x4d73d7:_0x4c6dd7;}return function(_0x3aaec){return{'encrypt':function(_0x3c6f03,_0x16e316,_0x35c092){var _0x52d47b=_0x3e8b;return _0x4923e1(_0x16e316)[_0x52d47b(0x314)](_0x3aaec,_0x3c6f03,_0x16e316,_0x35c092);},'decrypt':function(_0x4b1f99,_0x59c24e,_0x4a440c){return _0x4923e1(_0x59c24e)['decrypt'](_0x3aaec,_0x4b1f99,_0x59c24e,_0x4a440c);}};};}())});_0x236576[_0x57ef00(0x324)]=_0xbd128d[_0x57ef00(0x1d9)]({'_doFinalize':function(){var _0x17d397=this['_process'](!0x0);return _0x17d397;},'blockSize':0x1});var _0x4db528=_0x75736c['mode']={},_0x3590fb=_0x236576[_0x57ef00(0x2d3)]=_0x50a6b7[_0x57ef00(0x1d9)]({'createEncryptor':function(_0x1b4ee4,_0x19cbdd){var _0x20b19c=_0x57ef00;return this['Encryptor'][_0x20b19c(0x9a)](_0x1b4ee4,_0x19cbdd);},'createDecryptor':function(_0x151709,_0x2cdbe1){var _0x35e8fc=_0x57ef00;return this[_0x35e8fc(0x28e)][_0x35e8fc(0x9a)](_0x151709,_0x2cdbe1);},'init':function(_0x53009e,_0x1a790a){var _0x23e4e4=_0x57ef00;this[_0x23e4e4(0x29a)]=_0x53009e,this[_0x23e4e4(0xad)]=_0x1a790a;}}),_0x188686=_0x4db528['CBC']=(function(){var _0x155284=_0x57ef00,_0x16b73a=_0x3590fb['extend']();_0x16b73a[_0x155284(0x13e)]=_0x16b73a[_0x155284(0x1d9)]({'processBlock':function(_0x2f141d,_0x14ed74){var _0x3ea96d=_0x155284,_0x1ba602=this[_0x3ea96d(0x29a)],_0x393da5=_0x1ba602[_0x3ea96d(0x193)];_0x10112f[_0x3ea96d(0x32b)](this,_0x2f141d,_0x14ed74,_0x393da5),_0x1ba602[_0x3ea96d(0x15d)](_0x2f141d,_0x14ed74),this[_0x3ea96d(0x316)]=_0x2f141d[_0x3ea96d(0xb9)](_0x14ed74,_0x14ed74+_0x393da5);}}),_0x16b73a[_0x155284(0x28e)]=_0x16b73a['extend']({'processBlock':function(_0x485ec8,_0x299559){var _0x5a3d53=_0x155284,_0x195c43=this['_cipher'],_0x374972=_0x195c43[_0x5a3d53(0x193)],_0x2d9e7b=_0x485ec8['slice'](_0x299559,_0x299559+_0x374972);_0x195c43[_0x5a3d53(0xc5)](_0x485ec8,_0x299559),_0x10112f[_0x5a3d53(0x32b)](this,_0x485ec8,_0x299559,_0x374972),this['_prevBlock']=_0x2d9e7b;}});function _0x10112f(_0x5da05b,_0x4a5a5a,_0x4d7963){var _0x2e08a3=_0x155284,_0xa8320,_0x11af4c=this['_iv'];_0x11af4c?(_0xa8320=_0x11af4c,this[_0x2e08a3(0xad)]=_0x4c1baf):_0xa8320=this[_0x2e08a3(0x316)];for(var _0x30bd87=0x0;_0x30bd87<_0x4d7963;_0x30bd87++)_0x5da05b[_0x4a5a5a+_0x30bd87]^=_0xa8320[_0x30bd87];}return _0x16b73a;}()),_0x315c22=_0x75736c['pad']={},_0x5ec75a=_0x315c22[_0x57ef00(0x1bf)]={'pad':function(_0x9f942a,_0x1da608){var _0x19ff53=_0x57ef00;for(var _0x50aaaa=_0x1da608*0x4,_0x492fbf=_0x50aaaa-_0x9f942a[_0x19ff53(0x25f)]%_0x50aaaa,_0x324caf=_0x492fbf<<0x18|_0x492fbf<<0x10|_0x492fbf<<0x8|_0x492fbf,_0x311ffa=[],_0x4847ba=0x0;_0x4847ba<_0x492fbf;_0x4847ba+=0x4)_0x311ffa[_0x19ff53(0xe7)](_0x324caf);var _0xf3c98c=_0x316f0a['create'](_0x311ffa,_0x492fbf);_0x9f942a[_0x19ff53(0x286)](_0xf3c98c);},'unpad':function(_0x3f1782){var _0x304400=_0x57ef00,_0x21f89f=_0x3f1782[_0x304400(0xd1)][_0x3f1782[_0x304400(0x25f)]-0x1>>>0x2]&0xff;_0x3f1782[_0x304400(0x25f)]-=_0x21f89f;}};_0x236576['BlockCipher']=_0xbd128d[_0x57ef00(0x1d9)]({'cfg':_0xbd128d[_0x57ef00(0xb0)][_0x57ef00(0x1d9)]({'mode':_0x188686,'padding':_0x5ec75a}),'reset':function(){var _0x14a78e=_0x57ef00,_0x3d05e8;_0xbd128d[_0x14a78e(0x138)]['call'](this);var _0x44f764=this[_0x14a78e(0xb0)],_0x312480=_0x44f764['iv'],_0x30d431=_0x44f764[_0x14a78e(0x2cd)];this[_0x14a78e(0x1ac)]==this[_0x14a78e(0x1ea)]?_0x3d05e8=_0x30d431[_0x14a78e(0x27f)]:(_0x3d05e8=_0x30d431[_0x14a78e(0x364)],this[_0x14a78e(0x163)]=0x1),this['_mode']&&this[_0x14a78e(0x1bd)][_0x14a78e(0x100)]==_0x3d05e8?this[_0x14a78e(0x1bd)][_0x14a78e(0x1c9)](this,_0x312480&&_0x312480['words']):(this[_0x14a78e(0x1bd)]=_0x3d05e8[_0x14a78e(0x32b)](_0x30d431,this,_0x312480&&_0x312480[_0x14a78e(0xd1)]),this[_0x14a78e(0x1bd)][_0x14a78e(0x100)]=_0x3d05e8);},'_doProcessBlock':function(_0x521d34,_0x372376){var _0x1b40a8=_0x57ef00;this['_mode'][_0x1b40a8(0x21b)](_0x521d34,_0x372376);},'_doFinalize':function(){var _0x4d0cae=_0x57ef00,_0x284272,_0x2b1ff0=this['cfg'][_0x4d0cae(0x146)];return this[_0x4d0cae(0x1ac)]==this[_0x4d0cae(0x1ea)]?(_0x2b1ff0[_0x4d0cae(0x1ec)](this[_0x4d0cae(0x119)],this[_0x4d0cae(0x193)]),_0x284272=this[_0x4d0cae(0x216)](!0x0)):(_0x284272=this[_0x4d0cae(0x216)](!0x0),_0x2b1ff0[_0x4d0cae(0x32a)](_0x284272)),_0x284272;},'blockSize':0x80/0x20});var _0x3f072c=_0x236576[_0x57ef00(0x237)]=_0x50a6b7[_0x57ef00(0x1d9)]({'init':function(_0x1f383b){this['mixIn'](_0x1f383b);},'toString':function(_0x58f282){var _0x47603c=_0x57ef00;return(_0x58f282||this[_0x47603c(0x334)])[_0x47603c(0x384)](this);}}),_0x5b2d2c=_0x75736c[_0x57ef00(0x152)]={},_0x3ffcfb=_0x5b2d2c['OpenSSL']={'stringify':function(_0x292f80){var _0x4f0191=_0x57ef00,_0x3d6662,_0x328dc5=_0x292f80[_0x4f0191(0x98)],_0x69088f=_0x292f80[_0x4f0191(0x312)];return _0x69088f?_0x3d6662=_0x316f0a[_0x4f0191(0x9a)]([0x53616c74,0x65645f5f])[_0x4f0191(0x286)](_0x69088f)['concat'](_0x328dc5):_0x3d6662=_0x328dc5,_0x3d6662[_0x4f0191(0x167)](_0x27be35);},'parse':function(_0x2335a7){var _0x43a410=_0x57ef00,_0x54070a,_0x1fb019=_0x27be35[_0x43a410(0x12b)](_0x2335a7),_0x3dc77f=_0x1fb019[_0x43a410(0xd1)];return _0x3dc77f[0x0]==0x53616c74&&_0x3dc77f[0x1]==0x65645f5f&&(_0x54070a=_0x316f0a[_0x43a410(0x9a)](_0x3dc77f[_0x43a410(0xb9)](0x2,0x4)),_0x3dc77f[_0x43a410(0xd5)](0x0,0x4),_0x1fb019['sigBytes']-=0x10),_0x3f072c['create']({'ciphertext':_0x1fb019,'salt':_0x54070a});}},_0x4c6dd7=_0x236576[_0x57ef00(0x251)]=_0x50a6b7[_0x57ef00(0x1d9)]({'cfg':_0x50a6b7[_0x57ef00(0x1d9)]({'format':_0x3ffcfb}),'encrypt':function(_0x3dd30f,_0x4b9f16,_0xb2c9a0,_0x38769a){var _0x553ed4=_0x57ef00;_0x38769a=this[_0x553ed4(0xb0)][_0x553ed4(0x1d9)](_0x38769a);var _0x4e833e=_0x3dd30f[_0x553ed4(0x27f)](_0xb2c9a0,_0x38769a),_0x174ae8=_0x4e833e[_0x553ed4(0x1cb)](_0x4b9f16),_0x438e27=_0x4e833e[_0x553ed4(0xb0)];return _0x3f072c[_0x553ed4(0x9a)]({'ciphertext':_0x174ae8,'key':_0xb2c9a0,'iv':_0x438e27['iv'],'algorithm':_0x3dd30f,'mode':_0x438e27[_0x553ed4(0x2cd)],'padding':_0x438e27[_0x553ed4(0x146)],'blockSize':_0x3dd30f[_0x553ed4(0x193)],'formatter':_0x38769a[_0x553ed4(0x152)]});},'decrypt':function(_0x1c22a0,_0xdf505e,_0x262dba,_0x2d0c82){var _0x3db5b1=_0x57ef00;_0x2d0c82=this[_0x3db5b1(0xb0)][_0x3db5b1(0x1d9)](_0x2d0c82),_0xdf505e=this['_parse'](_0xdf505e,_0x2d0c82[_0x3db5b1(0x152)]);var _0x29f234=_0x1c22a0[_0x3db5b1(0x364)](_0x262dba,_0x2d0c82)[_0x3db5b1(0x1cb)](_0xdf505e[_0x3db5b1(0x98)]);return _0x29f234;},'_parse':function(_0x248b87,_0x103df9){var _0x3bd102=_0x57ef00;return typeof _0x248b87==_0x3bd102(0x2bb)?_0x103df9[_0x3bd102(0x12b)](_0x248b87,this):_0x248b87;}}),_0x581ed4=_0x75736c[_0x57ef00(0x1fd)]={},_0x21e1ca=_0x581ed4[_0x57ef00(0x18b)]={'execute':function(_0xbba7d2,_0x870eb4,_0x128597,_0x49d79b,_0x18da74){var _0x12dab0=_0x57ef00;if(_0x49d79b||(_0x49d79b=_0x316f0a[_0x12dab0(0x363)](0x40/0x8)),_0x18da74)var _0x58aae6=_0x22153b[_0x12dab0(0x9a)]({'keySize':_0x870eb4+_0x128597,'hasher':_0x18da74})['compute'](_0xbba7d2,_0x49d79b);else var _0x58aae6=_0x22153b[_0x12dab0(0x9a)]({'keySize':_0x870eb4+_0x128597})[_0x12dab0(0xe8)](_0xbba7d2,_0x49d79b);var _0x420402=_0x316f0a[_0x12dab0(0x9a)](_0x58aae6[_0x12dab0(0xd1)]['slice'](_0x870eb4),_0x128597*0x4);return _0x58aae6[_0x12dab0(0x25f)]=_0x870eb4*0x4,_0x3f072c[_0x12dab0(0x9a)]({'key':_0x58aae6,'iv':_0x420402,'salt':_0x49d79b});}},_0x4d73d7=_0x236576[_0x57ef00(0x121)]=_0x4c6dd7[_0x57ef00(0x1d9)]({'cfg':_0x4c6dd7[_0x57ef00(0xb0)][_0x57ef00(0x1d9)]({'kdf':_0x21e1ca}),'encrypt':function(_0x232664,_0xb51cd5,_0x3fb5ea,_0x3beb00){var _0x599f51=_0x57ef00;_0x3beb00=this['cfg'][_0x599f51(0x1d9)](_0x3beb00);var _0xaf30a6=_0x3beb00[_0x599f51(0x1fd)]['execute'](_0x3fb5ea,_0x232664[_0x599f51(0x258)],_0x232664[_0x599f51(0x2a5)],_0x3beb00['salt'],_0x3beb00[_0x599f51(0x27d)]);_0x3beb00['iv']=_0xaf30a6['iv'];var _0x2be3a3=_0x4c6dd7[_0x599f51(0x314)]['call'](this,_0x232664,_0xb51cd5,_0xaf30a6[_0x599f51(0x14a)],_0x3beb00);return _0x2be3a3[_0x599f51(0x34c)](_0xaf30a6),_0x2be3a3;},'decrypt':function(_0x1d1177,_0x12c592,_0x5650b8,_0x22bcb2){var _0x2bc11a=_0x57ef00;_0x22bcb2=this[_0x2bc11a(0xb0)][_0x2bc11a(0x1d9)](_0x22bcb2),_0x12c592=this[_0x2bc11a(0x2f6)](_0x12c592,_0x22bcb2[_0x2bc11a(0x152)]);var _0xdd4d47=_0x22bcb2[_0x2bc11a(0x1fd)]['execute'](_0x5650b8,_0x1d1177[_0x2bc11a(0x258)],_0x1d1177[_0x2bc11a(0x2a5)],_0x12c592[_0x2bc11a(0x312)],_0x22bcb2[_0x2bc11a(0x27d)]);_0x22bcb2['iv']=_0xdd4d47['iv'];var _0xc8248d=_0x4c6dd7[_0x2bc11a(0x2aa)][_0x2bc11a(0x32b)](this,_0x1d1177,_0x12c592,_0xdd4d47[_0x2bc11a(0x14a)],_0x22bcb2);return _0xc8248d;}});}();}));}(Je)),Je[_0x2ebf7c(0x271)];}var Tn=Ve[_0x72bb68(0x271)],ti;function Cn(){var _0x294b2c=_0x72bb68;return ti||(ti=0x1,function(_0x3658df,_0x5821f6){(function(_0x1bdab2,_0xdeef3a,_0x2982b0){_0x3658df['exports']=_0xdeef3a(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0x30f4f3){return(function(){var _0x350b12=_0x3e8b,_0x2103b5=_0x30f4f3,_0x156b36=_0x2103b5['lib'],_0x51272b=_0x156b36[_0x350b12(0x336)],_0x2533a1=_0x2103b5['algo'],_0x48e547=[],_0x2c2d45=[],_0x38eaca=[],_0x26542c=[],_0x3c5cfa=[],_0x13c3a1=[],_0x544f3d=[],_0x4f0e00=[],_0x1ac648=[],_0x359657=[];(function(){for(var _0x7146db=[],_0x397432=0x0;_0x397432<0x100;_0x397432++)_0x397432<0x80?_0x7146db[_0x397432]=_0x397432<<0x1:_0x7146db[_0x397432]=_0x397432<<0x1^0x11b;for(var _0x4c14f0=0x0,_0x5bd84e=0x0,_0x397432=0x0;_0x397432<0x100;_0x397432++){var _0x1d0eb1=_0x5bd84e^_0x5bd84e<<0x1^_0x5bd84e<<0x2^_0x5bd84e<<0x3^_0x5bd84e<<0x4;_0x1d0eb1=_0x1d0eb1>>>0x8^_0x1d0eb1&0xff^0x63,_0x48e547[_0x4c14f0]=_0x1d0eb1,_0x2c2d45[_0x1d0eb1]=_0x4c14f0;var _0x3420c5=_0x7146db[_0x4c14f0],_0xa10ff1=_0x7146db[_0x3420c5],_0x112ee4=_0x7146db[_0xa10ff1],_0x181e31=_0x7146db[_0x1d0eb1]*0x101^_0x1d0eb1*0x1010100;_0x38eaca[_0x4c14f0]=_0x181e31<<0x18|_0x181e31>>>0x8,_0x26542c[_0x4c14f0]=_0x181e31<<0x10|_0x181e31>>>0x10,_0x3c5cfa[_0x4c14f0]=_0x181e31<<0x8|_0x181e31>>>0x18,_0x13c3a1[_0x4c14f0]=_0x181e31;var _0x181e31=_0x112ee4*0x1010101^_0xa10ff1*0x10001^_0x3420c5*0x101^_0x4c14f0*0x1010100;_0x544f3d[_0x1d0eb1]=_0x181e31<<0x18|_0x181e31>>>0x8,_0x4f0e00[_0x1d0eb1]=_0x181e31<<0x10|_0x181e31>>>0x10,_0x1ac648[_0x1d0eb1]=_0x181e31<<0x8|_0x181e31>>>0x18,_0x359657[_0x1d0eb1]=_0x181e31,_0x4c14f0?(_0x4c14f0=_0x3420c5^_0x7146db[_0x7146db[_0x7146db[_0x112ee4^_0x3420c5]]],_0x5bd84e^=_0x7146db[_0x7146db[_0x5bd84e]]):_0x4c14f0=_0x5bd84e=0x1;}}());var _0x3a9536=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x542ef9=_0x2533a1[_0x350b12(0x305)]=_0x51272b[_0x350b12(0x1d9)]({'_doReset':function(){var _0x45272b=_0x350b12,_0xfefe96;if(!(this[_0x45272b(0x1d0)]&&this['_keyPriorReset']===this[_0x45272b(0x273)])){for(var _0x5c95b8=this['_keyPriorReset']=this[_0x45272b(0x273)],_0x3f6978=_0x5c95b8[_0x45272b(0xd1)],_0x2c339c=_0x5c95b8[_0x45272b(0x25f)]/0x4,_0x4c23b7=this['_nRounds']=_0x2c339c+0x6,_0x1311da=(_0x4c23b7+0x1)*0x4,_0x354527=this[_0x45272b(0x366)]=[],_0xf3e580=0x0;_0xf3e580<_0x1311da;_0xf3e580++)_0xf3e580<_0x2c339c?_0x354527[_0xf3e580]=_0x3f6978[_0xf3e580]:(_0xfefe96=_0x354527[_0xf3e580-0x1],_0xf3e580%_0x2c339c?_0x2c339c>0x6&&_0xf3e580%_0x2c339c==0x4&&(_0xfefe96=_0x48e547[_0xfefe96>>>0x18]<<0x18|_0x48e547[_0xfefe96>>>0x10&0xff]<<0x10|_0x48e547[_0xfefe96>>>0x8&0xff]<<0x8|_0x48e547[_0xfefe96&0xff]):(_0xfefe96=_0xfefe96<<0x8|_0xfefe96>>>0x18,_0xfefe96=_0x48e547[_0xfefe96>>>0x18]<<0x18|_0x48e547[_0xfefe96>>>0x10&0xff]<<0x10|_0x48e547[_0xfefe96>>>0x8&0xff]<<0x8|_0x48e547[_0xfefe96&0xff],_0xfefe96^=_0x3a9536[_0xf3e580/_0x2c339c|0x0]<<0x18),_0x354527[_0xf3e580]=_0x354527[_0xf3e580-_0x2c339c]^_0xfefe96);for(var _0x113242=this[_0x45272b(0x1da)]=[],_0x4b45b6=0x0;_0x4b45b6<_0x1311da;_0x4b45b6++){var _0xf3e580=_0x1311da-_0x4b45b6;if(_0x4b45b6%0x4)var _0xfefe96=_0x354527[_0xf3e580];else var _0xfefe96=_0x354527[_0xf3e580-0x4];_0x4b45b6<0x4||_0xf3e580<=0x4?_0x113242[_0x4b45b6]=_0xfefe96:_0x113242[_0x4b45b6]=_0x544f3d[_0x48e547[_0xfefe96>>>0x18]]^_0x4f0e00[_0x48e547[_0xfefe96>>>0x10&0xff]]^_0x1ac648[_0x48e547[_0xfefe96>>>0x8&0xff]]^_0x359657[_0x48e547[_0xfefe96&0xff]];}}},'encryptBlock':function(_0x160d54,_0x1f5b8b){var _0x2c279f=_0x350b12;this[_0x2c279f(0x95)](_0x160d54,_0x1f5b8b,this['_keySchedule'],_0x38eaca,_0x26542c,_0x3c5cfa,_0x13c3a1,_0x48e547);},'decryptBlock':function(_0x402b51,_0x1f7915){var _0x51adc4=_0x350b12,_0x5a15d2=_0x402b51[_0x1f7915+0x1];_0x402b51[_0x1f7915+0x1]=_0x402b51[_0x1f7915+0x3],_0x402b51[_0x1f7915+0x3]=_0x5a15d2,this[_0x51adc4(0x95)](_0x402b51,_0x1f7915,this['_invKeySchedule'],_0x544f3d,_0x4f0e00,_0x1ac648,_0x359657,_0x2c2d45);var _0x5a15d2=_0x402b51[_0x1f7915+0x1];_0x402b51[_0x1f7915+0x1]=_0x402b51[_0x1f7915+0x3],_0x402b51[_0x1f7915+0x3]=_0x5a15d2;},'_doCryptBlock':function(_0x4f0838,_0x18d840,_0x5b50cf,_0x1688e1,_0x107d85,_0x3d8c09,_0xb61f2,_0x4f6019){var _0x186cbc=_0x350b12;for(var _0x382ad9=this[_0x186cbc(0x1d0)],_0x1e8fe0=_0x4f0838[_0x18d840]^_0x5b50cf[0x0],_0x3b8c6d=_0x4f0838[_0x18d840+0x1]^_0x5b50cf[0x1],_0x487796=_0x4f0838[_0x18d840+0x2]^_0x5b50cf[0x2],_0x563ba3=_0x4f0838[_0x18d840+0x3]^_0x5b50cf[0x3],_0x395011=0x4,_0x5af341=0x1;_0x5af341<_0x382ad9;_0x5af341++){var _0x21ad1d=_0x1688e1[_0x1e8fe0>>>0x18]^_0x107d85[_0x3b8c6d>>>0x10&0xff]^_0x3d8c09[_0x487796>>>0x8&0xff]^_0xb61f2[_0x563ba3&0xff]^_0x5b50cf[_0x395011++],_0x5d0797=_0x1688e1[_0x3b8c6d>>>0x18]^_0x107d85[_0x487796>>>0x10&0xff]^_0x3d8c09[_0x563ba3>>>0x8&0xff]^_0xb61f2[_0x1e8fe0&0xff]^_0x5b50cf[_0x395011++],_0x26636b=_0x1688e1[_0x487796>>>0x18]^_0x107d85[_0x563ba3>>>0x10&0xff]^_0x3d8c09[_0x1e8fe0>>>0x8&0xff]^_0xb61f2[_0x3b8c6d&0xff]^_0x5b50cf[_0x395011++],_0x3c5b0a=_0x1688e1[_0x563ba3>>>0x18]^_0x107d85[_0x1e8fe0>>>0x10&0xff]^_0x3d8c09[_0x3b8c6d>>>0x8&0xff]^_0xb61f2[_0x487796&0xff]^_0x5b50cf[_0x395011++];_0x1e8fe0=_0x21ad1d,_0x3b8c6d=_0x5d0797,_0x487796=_0x26636b,_0x563ba3=_0x3c5b0a;}var _0x21ad1d=(_0x4f6019[_0x1e8fe0>>>0x18]<<0x18|_0x4f6019[_0x3b8c6d>>>0x10&0xff]<<0x10|_0x4f6019[_0x487796>>>0x8&0xff]<<0x8|_0x4f6019[_0x563ba3&0xff])^_0x5b50cf[_0x395011++],_0x5d0797=(_0x4f6019[_0x3b8c6d>>>0x18]<<0x18|_0x4f6019[_0x487796>>>0x10&0xff]<<0x10|_0x4f6019[_0x563ba3>>>0x8&0xff]<<0x8|_0x4f6019[_0x1e8fe0&0xff])^_0x5b50cf[_0x395011++],_0x26636b=(_0x4f6019[_0x487796>>>0x18]<<0x18|_0x4f6019[_0x563ba3>>>0x10&0xff]<<0x10|_0x4f6019[_0x1e8fe0>>>0x8&0xff]<<0x8|_0x4f6019[_0x3b8c6d&0xff])^_0x5b50cf[_0x395011++],_0x3c5b0a=(_0x4f6019[_0x563ba3>>>0x18]<<0x18|_0x4f6019[_0x1e8fe0>>>0x10&0xff]<<0x10|_0x4f6019[_0x3b8c6d>>>0x8&0xff]<<0x8|_0x4f6019[_0x487796&0xff])^_0x5b50cf[_0x395011++];_0x4f0838[_0x18d840]=_0x21ad1d,_0x4f0838[_0x18d840+0x1]=_0x5d0797,_0x4f0838[_0x18d840+0x2]=_0x26636b,_0x4f0838[_0x18d840+0x3]=_0x3c5b0a;},'keySize':0x100/0x20});_0x2103b5['AES']=_0x51272b[_0x350b12(0x317)](_0x542ef9);}()),_0x30f4f3['AES'];}));}(Ve)),Ve[_0x294b2c(0x271)];}var Rn=Cn();const bn=$e(Rn);var On=Oi();const ii=$e(On);var Xe={'exports':{}},yn=Xe[_0x72bb68(0x271)],si;function Nn(){var _0x52d5ff=_0x72bb68;return si||(si=0x1,function(_0x485e3c,_0x362a79){(function(_0x1d829f,_0x23a987){var _0x785930=_0x3e8b;_0x485e3c[_0x785930(0x271)]=_0x23a987(te());}(yn,function(_0x250ebc){var _0x2a7497=_0x3e8b;return _0x250ebc[_0x2a7497(0x122)][_0x2a7497(0x2d2)];}));}(Xe)),Xe[_0x52d5ff(0x271)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze['exports'],ni;function wn(){var _0x39dbad=_0x72bb68;return ni||(ni=0x1,function(_0x3225ab,_0x39d8c9){(function(_0x149773,_0x387c09){var _0x50f103=_0x3e8b;_0x3225ab[_0x50f103(0x271)]=_0x387c09(te());}(An,function(_0x193325){var _0x572b90=_0x3e8b;return(function(){var _0x362beb=_0x3e8b;if(typeof ArrayBuffer==_0x362beb(0x309)){var _0x223a46=_0x193325,_0x514963=_0x223a46[_0x362beb(0x177)],_0x486f2e=_0x514963[_0x362beb(0x24a)],_0x402456=_0x486f2e[_0x362beb(0x1c9)],_0x55693a=_0x486f2e['init']=function(_0x15a2ed){var _0x4c5319=_0x362beb;if(_0x15a2ed instanceof ArrayBuffer&&(_0x15a2ed=new Uint8Array(_0x15a2ed)),(_0x15a2ed instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x15a2ed instanceof Uint8ClampedArray||_0x15a2ed instanceof Int16Array||_0x15a2ed instanceof Uint16Array||_0x15a2ed instanceof Int32Array||_0x15a2ed instanceof Uint32Array||_0x15a2ed instanceof Float32Array||_0x15a2ed instanceof Float64Array)&&(_0x15a2ed=new Uint8Array(_0x15a2ed[_0x4c5319(0xa9)],_0x15a2ed['byteOffset'],_0x15a2ed[_0x4c5319(0x208)])),_0x15a2ed instanceof Uint8Array){for(var _0x4ca01a=_0x15a2ed['byteLength'],_0x35a12f=[],_0x38855a=0x0;_0x38855a<_0x4ca01a;_0x38855a++)_0x35a12f[_0x38855a>>>0x2]|=_0x15a2ed[_0x38855a]<<0x18-_0x38855a%0x4*0x8;_0x402456['call'](this,_0x35a12f,_0x4ca01a);}else _0x402456['apply'](this,arguments);};_0x55693a[_0x362beb(0x1b8)]=_0x486f2e;}}()),_0x193325[_0x572b90(0x177)]['WordArray'];}));}(Ze)),Ze[_0x39dbad(0x271)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x72bb68(0x271)],ri;function xn(){var _0x330af0=_0x72bb68;return ri||(ri=0x1,function(_0x559564,_0x2f015b){(function(_0x13d23f,_0x362f25,_0x54f74e){_0x559564['exports']=_0x362f25(te(),Ni());}(Mn,function(_0x59d8d0){var _0x370bf3=_0x3e8b;return _0x59d8d0[_0x370bf3(0x1ec)][_0x370bf3(0x223)]={'pad':function(){},'unpad':function(){}},_0x59d8d0[_0x370bf3(0x1ec)][_0x370bf3(0x223)];}));}(Qe)),Qe[_0x330af0(0x271)];}var kn=xn();const $n=$e(kn);function Hn(_0x2aa947,_0x464a75){var _0x587f6d=_0x72bb68;const _0x513306=_0x464a75-_0x2aa947['length']%_0x464a75,_0x3a5dd7=String[_0x587f6d(0x136)](_0x513306)[_0x587f6d(0x104)](_0x513306);return _0x2aa947+_0x3a5dd7;}function Bn(_0x3b9036,_0x17200b){var _0x4af768=_0x72bb68;const _0x25885f=Ln[_0x4af768(0x363)](0x10),_0x3ff52f=Hn(_0x3b9036,0x10),_0x407ae7=bn['encrypt'](Un[_0x4af768(0x12b)](_0x3ff52f),ii[_0x4af768(0x12b)](_0x17200b),{'iv':_0x25885f,'padding':$n});return _0x25885f[_0x4af768(0x286)](_0x407ae7[_0x4af768(0x98)])[_0x4af768(0x167)](ii);}function jn(){var _0x12df49=_0x72bb68;const _0x2613b4=_0x97c32f()[_0x12df49(0x26c)];if(_0x2613b4){const _0x2024cb={'time':Math[_0x12df49(0x230)](Date[_0x12df49(0x10d)]()/0x3e8),'domain':location[_0x12df49(0x1f4)]};return Bn(JSON[_0x12df49(0x384)](_0x2024cb),_0x2613b4);}}var Fn=Object[_0x72bb68(0x159)],Vn=(_0x286f95,_0x14bceb,_0x37a5ac,_0x41da22)=>{var _0x59f1c6=_0x72bb68;for(var _0x2e8e49=_0x41da22>0x1?void 0x0:_0x41da22?Fn(_0x14bceb,_0x37a5ac):_0x14bceb,_0x4188f9=_0x286f95[_0x59f1c6(0x182)]-0x1,_0xe4fd5e;_0x4188f9>=0x0;_0x4188f9--)(_0xe4fd5e=_0x286f95[_0x4188f9])&&(_0x2e8e49=_0xe4fd5e(_0x2e8e49)||_0x2e8e49);return _0x2e8e49;},Gn=(_0x5509d8,_0x2f50d6)=>(_0x260273,_0x251f19)=>_0x2f50d6(_0x260273,_0x251f19,_0x5509d8);let at=class{constructor(_0x19538c){var _0x131475=_0x72bb68;this[_0x131475(0x367)]=_0x19538c,this[_0x131475(0x131)]();}['_initRequestHeader'](){var _0x44594c=_0x72bb68;this['_httpService'][_0x44594c(0x147)]({'interceptor':(_0x2f2291,_0x39148d)=>{var _0x5cbb6e=_0x44594c;const _0x10e5bf=_0x2f2291[_0x5cbb6e(0x1bb)],_0x24a0cc=jn();return _0x24a0cc&&_0x10e5bf[_0x5cbb6e(0x1c2)](_0x5cbb6e(0x34a),_0x24a0cc),_0x39148d(_0x2f2291);}});}};at=Vn([Gn(0x0,_0x41311f(_0x4fe417))],at);var Wn=Object[_0x72bb68(0x159)],Yn=(_0x15a232,_0x44f49a,_0x2a0710,_0x51bb8e)=>{var _0x5cec26=_0x72bb68;for(var _0x3d0603=_0x51bb8e>0x1?void 0x0:_0x51bb8e?Wn(_0x44f49a,_0x2a0710):_0x44f49a,_0x2b67d=_0x15a232[_0x5cec26(0x182)]-0x1,_0x46b0b1;_0x2b67d>=0x0;_0x2b67d--)(_0x46b0b1=_0x15a232[_0x2b67d])&&(_0x3d0603=_0x46b0b1(_0x3d0603)||_0x3d0603);return _0x3d0603;},vt=(_0x445e33,_0x28dd38)=>(_0x1bfebe,_0x1f4c35)=>_0x28dd38(_0x1bfebe,_0x1f4c35,_0x445e33);let Ct=class extends _0x184f79{constructor(_0x498d1c,_0x5c53a2,_0x22ead7){var _0x4ed46e=_0x72bb68;super(),N(this,'_unitInfo$',new _0x50b1a3(null)),N(this,'unitInfo$',this[_0x4ed46e(0x2c1)][_0x4ed46e(0xdc)]()),(this['_logService']=_0x498d1c,this[_0x4ed46e(0x1a8)]=_0x5c53a2,this[_0x4ed46e(0x35a)]=_0x22ead7);}async[_0x72bb68(0x277)](_0x2c2f73,_0x53defe,_0x4b30b8){var _0x3e1f3b=_0x72bb68;this[_0x3e1f3b(0x2c1)][_0x3e1f3b(0x173)]({'unitId':_0x2c2f73,'type':_0x53defe});let _0x394c86=null;switch(_0x53defe){case Z[_0x3e1f3b(0x9d)]:{_0x394c86=await this['_snapshotService']['loadSheet'](_0x2c2f73,_0x4b30b8);break;}case Z['UNIVER_DOC']:{_0x394c86=await this[_0x3e1f3b(0x1a8)]['loadDoc'](_0x2c2f73,_0x4b30b8);break;}default:{this['_logService'][_0x3e1f3b(0x32f)](_0x3e1f3b(0x10c),_0x3e1f3b(0xbb));break;}}return _0x394c86;}async[_0x72bb68(0x35f)](_0x180b98,_0xce54b1,_0x2777f5){var _0x59dabb=_0x72bb68,_0x5a4b35;this[_0x59dabb(0x2c1)][_0x59dabb(0x173)]({'unitId':_0x180b98,'type':_0xce54b1,'subUnitId':_0x2777f5});let _0x22d3c6=0x0;const _0x38a230=await((_0x5a4b35=this[_0x59dabb(0x35a)])==null?void 0x0:_0x5a4b35[_0x59dabb(0x12c)](_0x180b98));return _0x38a230&&(_0x38a230[_0x59dabb(0x169)]||_0x38a230['mutations'][_0x59dabb(0x182)]!==0x0)&&(_0x22d3c6=_0x38a230[_0x59dabb(0x229)]),_0x22d3c6===0x0&&this[_0x59dabb(0xde)][_0x59dabb(0x151)](_0x59dabb(0x10c),_0x59dabb(0x1ad)),this[_0x59dabb(0x277)](_0x180b98,_0xce54b1,_0x22d3c6);}};Ct=Yn([vt(0x0,_0x39af9e),vt(0x1,_0x41311f(_0x5ac07a)),vt(0x2,_0x3cf774(J))],Ct);var Kn=Object[_0x72bb68(0x159)],qn=(_0x36bbff,_0x520651,_0x201fec,_0x1ec4c5)=>{var _0x57c438=_0x72bb68;for(var _0x52e959=_0x1ec4c5>0x1?void 0x0:_0x1ec4c5?Kn(_0x520651,_0x201fec):_0x520651,_0x3453cf=_0x36bbff[_0x57c438(0x182)]-0x1,_0x36f19b;_0x3453cf>=0x0;_0x3453cf--)(_0x36f19b=_0x36bbff[_0x3453cf])&&(_0x52e959=_0x36f19b(_0x52e959)||_0x52e959);return _0x52e959;},pt=(_0x4884f,_0x974f94)=>(_0x5ce2a8,_0x3b69f4)=>_0x974f94(_0x5ce2a8,_0x3b69f4,_0x4884f);const zn=[_0x72bb68(0x2e8),'image/jpeg',_0x72bb68(0x371),_0x72bb68(0x253),_0x72bb68(0x1a4)],Jn=0x5*0x400*0x400,Xn=_0x72bb68(0x221),Zn=_0x72bb68(0x130),Qn=_0x72bb68(0xa1),er=_0x72bb68(0xe4);let Rt=class{constructor(_0x43b7a3,_0x3d345f,_0x36ca4c){var _0xdf31d6=_0x72bb68;N(this,_0xdf31d6(0xc6),0x0),N(this,_0xdf31d6(0xc7),new _0x29e22a()),N(this,_0xdf31d6(0x14c),this['_change$']),N(this,_0xdf31d6(0x198),new Map()),(this[_0xdf31d6(0x367)]=_0x43b7a3,this[_0xdf31d6(0x184)]=_0x3d345f,this[_0xdf31d6(0xf4)]=_0x36ca4c);}[_0x72bb68(0x2d5)](_0x42eb85){var _0x17f5aa=_0x72bb68;this['_waitCount']=_0x42eb85,this[_0x17f5aa(0xc7)][_0x17f5aa(0x173)](_0x42eb85);}[_0x72bb68(0x1b1)](_0x2d2c11,_0x40cfe3){var _0x3911ef=_0x72bb68;if(_0x40cfe3===_0x64dcf1[_0x3911ef(0x349)]){const _0x5be262=new Image();return _0x5be262[_0x3911ef(0x196)]=_0x2d2c11,_0x5be262;}return this[_0x3911ef(0x198)][_0x3911ef(0x283)](_0x2d2c11);}[_0x72bb68(0x232)](_0x38e797,_0x211285,_0x12fa36){var _0x41d7a0=_0x72bb68;_0x211285===_0x64dcf1['BASE64']||_0x12fa36==null||this[_0x41d7a0(0x198)]['set'](_0x38e797,_0x12fa36);}async['getImage'](_0x4fbb00){var _0x562d5c=_0x72bb68;try{const _0xce656f=this[_0x562d5c(0x2ec)](this[_0x562d5c(0x350)](),''+_0x4fbb00),_0x4a2ef6=(await this[_0x562d5c(0x367)][_0x562d5c(0x283)](_0xce656f))[_0x562d5c(0x29f)];if(_0x4a2ef6[_0x562d5c(0x32f)]&&_0x4a2ef6[_0x562d5c(0x32f)][_0x562d5c(0x365)]===pi['OK']){const _0xfcfb6d=new URL(_0x4a2ef6[_0x562d5c(0x2b9)],this[_0x562d5c(0x210)]())[_0x562d5c(0x167)]();return Promise[_0x562d5c(0x120)](_0xfcfb6d);}return Promise[_0x562d5c(0x281)](_0x4a2ef6[_0x562d5c(0x32f)]);}catch(_0x2d031c){return Promise['reject'](_0x2d031c);}}async[_0x72bb68(0x139)](_0x50e6c5){var _0x35c7c3=_0x72bb68;let _0x3462cf='';if(!zn[_0x35c7c3(0x13f)](_0x50e6c5['type']))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x235bfe[_0x35c7c3(0x87)]));if(_0x50e6c5[_0x35c7c3(0x1ab)]>Jn)return this['_decreaseWaiting'](),Promise[_0x35c7c3(0x281)](new Error(_0x235bfe[_0x35c7c3(0x254)]));try{const _0x1c7cfb=new FormData();_0x1c7cfb['append'](_0x35c7c3(0x11a),_0x50e6c5);const _0x2f7bd7=this[_0x35c7c3(0xf4)][_0x35c7c3(0x15f)](),_0x4ab4f5=_0x2f7bd7==null?void 0x0:_0x2f7bd7[_0x35c7c3(0x2a0)]();if(!_0x4ab4f5)throw new Error('unitId\x20is\x20not\x20found');const _0x2db484=this[_0x35c7c3(0x222)]()+_0x35c7c3(0x16c)+_0x50e6c5[_0x35c7c3(0x1ab)][_0x35c7c3(0x167)]()+_0x35c7c3(0x29c)+mi[_0x35c7c3(0x33b)]+_0x35c7c3(0xa8)+encodeURIComponent(_0x4ab4f5),_0x2d9c1d={'body':_0x1c7cfb},_0x194fe0=(await this['_httpService'][_0x35c7c3(0x34f)](_0x2db484,_0x2d9c1d))[_0x35c7c3(0x29f)];if(typeof _0x194fe0[_0x35c7c3(0x21f)]!=_0x35c7c3(0x2bb))return this['_decreaseWaiting'](),Promise[_0x35c7c3(0x281)](new Error(_0x235bfe[_0x35c7c3(0x12f)]));_0x3462cf=_0x194fe0[_0x35c7c3(0x21f)];}catch{return this[_0x35c7c3(0x331)](),Promise['reject'](new Error(_0x235bfe[_0x35c7c3(0x12f)]));}return new Promise((_0xfa078f,_0x776860)=>{var _0x57a75c=_0x35c7c3;const _0xba9241=new FileReader();_0xba9241[_0x57a75c(0x362)](_0x50e6c5),_0xba9241['onload']=_0x1f3b6a=>{var _0x158e77=_0x57a75c,_0x9aca1;const _0x50f54e=(_0x9aca1=_0x1f3b6a[_0x158e77(0x278)])==null?void 0x0:_0x9aca1[_0x158e77(0x2c5)];if(_0x50f54e==null){this['_decreaseWaiting'](),_0x776860(new Error(_0x235bfe['ERROR_IMAGE']));return;}const _0x5d3b2a=_0x33b377['generateRandomId'](0x6);_0xfa078f({'imageId':_0x5d3b2a,'imageSourceType':_0x64dcf1[_0x158e77(0x19c)],'source':_0x3462cf,'base64Cache':_0x50f54e,'status':_0x235bfe[_0x158e77(0x213)]}),this[_0x158e77(0x331)]();};});}[_0x72bb68(0x222)](){var _0x56f7b4=_0x72bb68,_0x23e60c,_0x2aefde;const _0x23588f=this[_0x56f7b4(0x184)][_0x56f7b4(0x1e2)](Xn),_0x5227fe=this[_0x56f7b4(0x184)]['getConfig'](K);return(_0x2aefde=(_0x23e60c=_0x5227fe==null?void 0x0:_0x5227fe[_0x56f7b4(0x109)])!=null?_0x23e60c:_0x23588f)!=null?_0x2aefde:Zn;}[_0x72bb68(0x350)](){var _0x52071e=_0x72bb68,_0x58f4fb,_0x260bab;const _0x9922e2=this['_configService'][_0x52071e(0x1e2)](Qn),_0xc8b435=this[_0x52071e(0x184)]['getConfig'](K);return(_0x260bab=(_0x58f4fb=_0xc8b435==null?void 0x0:_0xc8b435[_0x52071e(0xda)])!=null?_0x58f4fb:_0x9922e2)!=null?_0x260bab:er;}['_getDownloadEndpointURL'](){var _0x52cce0=_0x72bb68,_0x5607b5;const _0x5ef2d6=this[_0x52cce0(0x184)][_0x52cce0(0x1e2)](K);return(_0x5607b5=_0x5ef2d6==null?void 0x0:_0x5ef2d6[_0x52cce0(0x1b3)])!=null?_0x5607b5:location[_0x52cce0(0x27c)];}['_replaceFileID'](_0x5940de,_0xbc8cb){return _0x5940de['replace']('{fileID}',_0xbc8cb);}[_0x72bb68(0x331)](){var _0x4cb98d=_0x72bb68;this['_waitCount']-=0x1,this[_0x4cb98d(0xc7)][_0x4cb98d(0x173)](this[_0x4cb98d(0xc6)]);}};Rt=qn([pt(0x0,_0x41311f(_0x4fe417)),pt(0x1,_0x19233d),pt(0x2,_0x41311f(_0x4aee63))],Rt);var tr=Object['getOwnPropertyDescriptor'],ir=(_0x1fe52a,_0x30954c,_0x5b045c,_0x2271ec)=>{var _0x1002d4=_0x72bb68;for(var _0x5dd8fe=_0x2271ec>0x1?void 0x0:_0x2271ec?tr(_0x30954c,_0x5b045c):_0x30954c,_0x2d3b43=_0x1fe52a[_0x1002d4(0x182)]-0x1,_0x4d3c25;_0x2d3b43>=0x0;_0x2d3b43--)(_0x4d3c25=_0x1fe52a[_0x2d3b43])&&(_0x5dd8fe=_0x4d3c25(_0x5dd8fe)||_0x5dd8fe);return _0x5dd8fe;},ai=(_0xfec77c,_0xb72b1c)=>(_0x462a8e,_0x7c2aa1)=>_0xb72b1c(_0x462a8e,_0x7c2aa1,_0xfec77c);const sr=_0x72bb68(0xf3);let bt=class{constructor(_0x209718,_0x53e079){var _0x1d9e1f=_0x72bb68;this[_0x1d9e1f(0x184)]=_0x209718,this['_HTTPService']=_0x53e079;}[_0x72bb68(0xc1)](){var _0x5558b6=_0x72bb68,_0x503eb0,_0x4ec2b2;const _0x56d8a2=this[_0x5558b6(0x184)][_0x5558b6(0x1e2)](bi),_0x140f6d=this[_0x5558b6(0x184)][_0x5558b6(0x1e2)](K);return(_0x4ec2b2=(_0x503eb0=_0x140f6d==null?void 0x0:_0x140f6d[_0x5558b6(0x32c)])!=null?_0x503eb0:_0x56d8a2)!=null?_0x4ec2b2:sr;}async[_0x72bb68(0x2b0)](_0x5af3cf){var _0x390a04=_0x72bb68;const _0xe9e74b=this[_0x390a04(0xc1)]()+_0x390a04(0x322);return{'list':[{'title':_0x390a04(0x197),'mentions':(await this[_0x390a04(0x31d)][_0x390a04(0x283)](_0xe9e74b,{'params':{'objectID':_0x5af3cf[_0x390a04(0x1c6)],'unitID':_0x5af3cf[_0x390a04(0x1c6)]}}))[_0x390a04(0x29f)][_0x390a04(0x25d)][_0x390a04(0x374)](_0x212f3b=>({'objectId':_0x212f3b['id'],'name':_0x212f3b[_0x390a04(0x282)][_0x390a04(0x144)],'metadata':{'icon':_0x212f3b[_0x390a04(0x282)][_0x390a04(0xb3)]},'label':_0x212f3b[_0x390a04(0x282)][_0x390a04(0x144)],'objectType':_0x3441e3[_0x390a04(0x2a6)]})),'metadata':{},'type':_0x3441e3[_0x390a04(0x2a6)]}]};}};bt=ir([ai(0x0,_0x41311f(_0x19233d)),ai(0x1,_0x41311f(_0x4fe417))],bt);var nr=Object[_0x72bb68(0x159)],rr=(_0x1b51e6,_0x449884,_0x20410f,_0x5723b7)=>{var _0x336c65=_0x72bb68;for(var _0x6f4d42=_0x5723b7>0x1?void 0x0:_0x5723b7?nr(_0x449884,_0x20410f):_0x449884,_0xf0465c=_0x1b51e6[_0x336c65(0x182)]-0x1,_0x2c7949;_0xf0465c>=0x0;_0xf0465c--)(_0x2c7949=_0x1b51e6[_0xf0465c])&&(_0x6f4d42=_0x2c7949(_0x6f4d42)||_0x6f4d42);return _0x6f4d42;},Ae=(_0x55d787,_0x5a4e19)=>(_0x3a5973,_0x213ab8)=>_0x5a4e19(_0x3a5973,_0x213ab8,_0x55d787);let ot=class extends _0x184f79{constructor(_0x48893a,_0x5d6582,_0x366d1e,_0x80a01,_0x28eb02){var _0x5172ff=_0x72bb68;super(),this[_0x5172ff(0x37c)]=_0x48893a,this['_univerInstanceService']=_0x5d6582,this[_0x5172ff(0x30c)]=_0x366d1e,this[_0x5172ff(0x28a)]=_0x80a01,this[_0x5172ff(0x37b)]=_0x28eb02,this[_0x5172ff(0x2f3)](),this[_0x5172ff(0x165)]();}[_0x72bb68(0x165)](){var _0x38e004=_0x72bb68;const _0x36ad31=async _0x532fad=>{var _0xea857e=_0x3e8b;(await this[_0xea857e(0x28a)][_0xea857e(0xbe)](_0x532fad))[_0xea857e(0x25e)][_0xea857e(0x2ea)](_0x3f4fbb(_0x1477ac=>_0x1477ac[_0xea857e(0x1ce)]===_0x528d02[_0xea857e(0x34e)]),_0x400782(this[_0xea857e(0x17a)]))['subscribe'](_0x3b5539=>{var _0x505670=_0xea857e;const _0x44c46c=_0x3b5539,{reason:_0x4a3ca8}=_0x44c46c[_0x505670(0x13c)];this[_0x505670(0x37b)][_0x505670(0x326)]({'id':ne['CLOSE_ROOM'],'data':_0x4a3ca8}),this[_0x505670(0x30c)][_0x505670(0x26f)](new _0x134095(_0x532fad)['id'],!0x1),this['_collaborationSessionService'][_0x505670(0xd4)](_0x532fad);});};_0x2cf726(this['_univerInstanceService'][_0x38e004(0x356)](_0x20b46e['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x20b46e[_0x38e004(0x357)]))[_0x38e004(0x2ea)](_0x6504cb(_0x2be4d3=>_0x2be4d3[_0x38e004(0x2a0)]()),_0x3f4fbb(_0x13c8a2=>!_0x1d12f5(_0x13c8a2)),_0x400782(this['dispose$']))[_0x38e004(0x7d)](_0xa65e0=>{_0x36ad31(_0xa65e0);});}[_0x72bb68(0x2f3)](){var _0xfda54e=_0x72bb68;const _0x58683d=async _0x36f288=>{var _0x61fb13=_0x3e8b;const _0x204674=await this[_0x61fb13(0x28a)][_0x61fb13(0xbe)](_0x36f288),_0x2ea719=this[_0x61fb13(0x37c)]['get'](_0x4a4ce9);_0x204674[_0x61fb13(0x25e)][_0x61fb13(0x2ea)](_0x3f4fbb(_0x139737=>_0x139737['eventID']===_0x528d02[_0x61fb13(0x290)]),_0x400782(this['dispose$']))[_0x61fb13(0x7d)](_0x1e7571=>{var _0x395057=_0x61fb13;const _0x2a0c6a=_0x1e7571,{objectId:_0xe29da5}=_0x2a0c6a[_0x395057(0x13c)];_0xe29da5===_0x36f288?_0x2ea719[_0x395057(0x2e0)](_0x36f288):_0x2ea719[_0x395057(0x2a7)](_0x36f288,_0xe29da5);});};_0x2cf726(this[_0xfda54e(0xf4)][_0xfda54e(0x356)](_0x20b46e[_0xfda54e(0x9d)]))['pipe'](_0x6504cb(_0x158d57=>_0x158d57[_0xfda54e(0x2a0)]()),_0x3f4fbb(_0x56e78b=>!_0x1d12f5(_0x56e78b)),_0x400782(this['dispose$']))[_0xfda54e(0x7d)](_0x47f4aa=>{_0x58683d(_0x47f4aa);});}};ot=rr([Ae(0x0,_0x41311f(_0x4cac68)),Ae(0x1,_0x4aee63),Ae(0x2,_0x10fa9c),Ae(0x3,_0x41311f(Le)),Ae(0x4,_0x41311f(ve))],ot);var ar=Object[_0x72bb68(0x159)],or=(_0x1d686f,_0x36d079,_0x5e4963,_0x22c32c)=>{var _0x3462b5=_0x72bb68;for(var _0x4c0b08=_0x22c32c>0x1?void 0x0:_0x22c32c?ar(_0x36d079,_0x5e4963):_0x36d079,_0x3f5c1e=_0x1d686f[_0x3462b5(0x182)]-0x1,_0x2f357d;_0x3f5c1e>=0x0;_0x3f5c1e--)(_0x2f357d=_0x1d686f[_0x3f5c1e])&&(_0x4c0b08=_0x2f357d(_0x4c0b08)||_0x4c0b08);return _0x4c0b08;},oi=(_0x40d146,_0x328a99)=>(_0x2e4298,_0x7d603)=>_0x328a99(_0x2e4298,_0x7d603,_0x40d146);let Ot=class{constructor(_0x3710af,_0x4f45a7){var _0x2bf407=_0x72bb68;this['_configService']=_0x3710af,this[_0x2bf407(0x367)]=_0x4f45a7;}async['getUnitOnRev'](_0x3e1a83,_0x215eec){var _0x2de59b=_0x72bb68,_0x41f112;const {unitID:_0x52e328,type:_0x3db512,revision:_0x5b3425=0x0}=_0x215eec,_0x9fb0bf=this['getSnapshotAPIPath']()+'/'+_0x3db512+'/unit/'+_0x52e328+'/rev/'+_0x5b3425,_0x13d0b5=(await this[_0x2de59b(0x367)][_0x2de59b(0x283)](_0x9fb0bf))[_0x2de59b(0x29f)],_0x4a1bf8=(_0x41f112=_0x13d0b5[_0x2de59b(0x2db)])==null?void 0x0:_0x41f112[_0x2de59b(0x141)];if(_0x4a1bf8){const _0x5033af=_0x4a1bf8==null?void 0x0:_0x4a1bf8[_0x2de59b(0x36d)],_0x250dc0=_0x4eae49['encode'](_0x30f3bb(_0x5033af));_0x4a1bf8[_0x2de59b(0x36d)]=_0x250dc0,Object[_0x2de59b(0x333)](_0x4a1bf8['sheets'])[_0x2de59b(0x16a)](([,_0x1e045f])=>{var _0x408f26=_0x2de59b;const _0x547b9d=_0x1e045f['originalMeta'],_0x434fbd=_0x4eae49[_0x408f26(0x1f9)](_0x30f3bb(_0x547b9d));_0x1e045f[_0x408f26(0x36d)]=_0x434fbd;});}return _0x13d0b5;}async[_0x72bb68(0x105)](_0x5ad613,_0x5606ae){var _0x40d45e=_0x72bb68;const {unitID:_0x1f09e7,type:_0x4b4da2,blockID:_0x3ba641}=_0x5606ae,_0x114e5f=this[_0x40d45e(0x2d1)]()+'/'+_0x4b4da2+_0x40d45e(0x340)+_0x1f09e7+_0x40d45e(0x225)+_0x3ba641;return(await this[_0x40d45e(0x367)][_0x40d45e(0x283)](_0x114e5f))[_0x40d45e(0x29f)];}async[_0x72bb68(0x2ad)](_0x520ed1,_0x4ed089){var _0x1978ad=_0x72bb68;const {unitID:_0x2259cc,type:_0x27d692,blockID:_0x19c963}=_0x4ed089,_0x4385d7=this[_0x1978ad(0x2d1)]()+_0x1978ad(0x225)+_0x27d692+_0x1978ad(0x340)+_0x2259cc+_0x1978ad(0x225)+_0x19c963;return(await this[_0x1978ad(0x367)]['get'](_0x4385d7))[_0x1978ad(0x29f)];}async[_0x72bb68(0x2ba)](_0x10cd72,_0x29e8d9){var _0x1823d0=_0x72bb68;const {unitID:_0x485ed4,type:_0x535f1d,from:_0x324a48,to:_0x4bb7bd}=_0x29e8d9,_0x412e56=this[_0x1823d0(0x2d1)]()+'/'+_0x535f1d+_0x1823d0(0x340)+_0x485ed4+_0x1823d0(0x158)+_0x324a48+_0x1823d0(0x2d4)+_0x4bb7bd;return(await this['_httpService'][_0x1823d0(0x283)](_0x412e56))[_0x1823d0(0x29f)];}[_0x72bb68(0x2e1)](){var _0x229a02=_0x72bb68,_0x285dbe;return(_0x285dbe=this[_0x229a02(0x184)][_0x229a02(0x1e2)](ps))!=null?_0x285dbe:this[_0x229a02(0x2d1)]();}[_0x72bb68(0x2d1)](){var _0x305ae3=_0x72bb68,_0xa8102f,_0x173669;const _0x54c3d8=this[_0x305ae3(0x184)][_0x305ae3(0x1e2)](fs),_0xb28481=this['_configService']['getConfig'](K);return(_0x173669=(_0xa8102f=_0xb28481==null?void 0x0:_0xb28481[_0x305ae3(0xd6)])!=null?_0xa8102f:_0x54c3d8)!=null?_0x173669:vs;}async[_0x72bb68(0x1f0)](_0x3eec39,_0x1b8b59){var _0x136928=_0x72bb68;const _0x58cc69='/universer-api/snapshot/'+_0x1b8b59['type']+'/unit/'+_0x1b8b59[_0x136928(0x211)]+_0x136928(0x2c7);return(await this[_0x136928(0x367)][_0x136928(0x283)](_0x58cc69,{'params':{'resourceId':JSON[_0x136928(0x384)](_0x1b8b59[_0x136928(0x1db)])}}))[_0x136928(0x29f)];}[_0x72bb68(0x27e)](){var _0x5bccdd=_0x72bb68;throw new Error(_0x5bccdd(0x93));}[_0x72bb68(0x37f)](){var _0x47db80=_0x72bb68;throw new Error(_0x47db80(0x93));}['saveSheetBlock'](){var _0x12ec90=_0x72bb68;throw new Error(_0x12ec90(0x93));}[_0x72bb68(0x18f)](){var _0xd2a74e=_0x72bb68;throw new Error(_0xd2a74e(0x93));}[_0x72bb68(0xff)](){var _0x2d5a3b=_0x72bb68;throw new Error(_0x2d5a3b(0x93));}[_0x72bb68(0x343)](){var _0x2c298c=_0x72bb68;throw new Error(_0x2c298c(0x93));}};Ot=or([oi(0x0,_0x19233d),oi(0x1,_0x41311f(_0x4fe417))],Ot);var cr=Object[_0x72bb68(0x159)],hr=(_0x1dda40,_0x1d6e63,_0x67c62f,_0x35e3a3)=>{for(var _0x3d54ab=_0x35e3a3>0x1?void 0x0:_0x35e3a3?cr(_0x1d6e63,_0x67c62f):_0x1d6e63,_0x2d73c7=_0x1dda40['length']-0x1,_0x53e669;_0x2d73c7>=0x0;_0x2d73c7--)(_0x53e669=_0x1dda40[_0x2d73c7])&&(_0x3d54ab=_0x53e669(_0x3d54ab)||_0x3d54ab);return _0x3d54ab;},we=(_0x1b93de,_0x106c9d)=>(_0x1747d6,_0x87d57f)=>_0x106c9d(_0x1747d6,_0x87d57f,_0x1b93de);let yt=class extends _0x5b5dbe{constructor(_0x1b0a5f,_0x54c1b7,_0x196fd8,_0x455ece,_0x3f90f0){var _0x3051e7=_0x72bb68;super(_0x1b0a5f,_0x54c1b7,_0x196fd8),this[_0x3051e7(0x23a)]=_0x455ece,this[_0x3051e7(0xde)]=_0x3f90f0;}[_0x72bb68(0x83)](_0x33033b,_0xbb7699){var _0x316c4f=_0x72bb68;const _0x1f8202=this[_0x316c4f(0x25c)](_0x33033b);if(_0x1f8202)try{const _0x5556e2=this[_0x316c4f(0x137)](_0x1f8202,_0xbb7699);this['_substituteUndoStack'](_0x33033b,_0x5556e2);}catch(_0x48e4da){this[_0x316c4f(0xde)]['error'](_0x316c4f(0xbf),_0x48e4da),this['_clearUndo'](_0x33033b);}const _0x5639d3=this[_0x316c4f(0x241)](_0x33033b);if(_0x5639d3)try{const _0x5590b7=this[_0x316c4f(0x137)](_0x5639d3,_0xbb7699);this['_substituteRedoStack'](_0x33033b,_0x5590b7);}catch(_0x2b1672){this[_0x316c4f(0xde)][_0x316c4f(0x32f)](_0x2b1672),this[_0x316c4f(0x35d)](_0x33033b);}}[_0x72bb68(0xd7)](_0x4bde36){var _0x24c768=_0x72bb68;const _0x421117=this[_0x24c768(0x25c)](_0x4bde36);_0x421117&&(_0x421117[_0x24c768(0x182)]=0x0,this[_0x24c768(0x189)]());}['_clearRedo'](_0x1b2c15){var _0xb028b8=_0x72bb68;const _0x55cfe2=this[_0xb028b8(0x241)](_0x1b2c15);_0x55cfe2&&(_0x55cfe2['length']=0x0,this[_0xb028b8(0x189)]());}[_0x72bb68(0x2ae)](_0x1f5aa9,_0x3097c8){var _0x4614a3=_0x72bb68;this[_0x4614a3(0xd8)][_0x4614a3(0x1c2)](_0x1f5aa9,_0x3097c8),this[_0x4614a3(0x189)]();}[_0x72bb68(0x192)](_0x236006,_0x2ac3d4){var _0x2a73e5=_0x72bb68;this[_0x2a73e5(0x261)][_0x2a73e5(0x1c2)](_0x236006,_0x2ac3d4),this['_updateStatus']();}[_0x72bb68(0x137)](_0x443494,_0x19f593){var _0x577091=_0x72bb68;const _0x3f5229=[];let _0x576f0f=_0x19f593,_0x10813c=_0x19f593;for(let _0x348959=_0x443494[_0x577091(0x182)]-0x1;_0x348959>=0x0;_0x348959--){const {unitID:_0x280bcf,undoMutations:_0x5b8acf,redoMutations:_0x29d863}=_0x443494[_0x348959],_0x2026ef=this['_transformService']['transformMutationsWithChangeset'](_0x576f0f,_0x5b8acf),_0x4c2e06=this['_transformService'][_0x577091(0x16f)](_0x10813c,_0x29d863);if(_0x162bf7(_0x2026ef)||_0x162bf7(_0x4c2e06)){this[_0x577091(0xde)][_0x577091(0x32f)]('[CollaborationUndoRedoService]',_0x577091(0x266),_0x2026ef,_0x4c2e06);break;}_0x576f0f=_0x2026ef[_0x577091(0xf2)],_0x10813c=_0x4c2e06[_0x577091(0xf2)],_0x3f5229[_0x577091(0xe7)]({'unitID':_0x280bcf,'undoMutations':_0x2026ef[_0x577091(0x1df)],'redoMutations':_0x4c2e06[_0x577091(0x1df)]});}return _0x3f5229[_0x577091(0x1d3)]();}};yt=hr([we(0x0,_0x4aee63),we(0x1,_0xe29ee9),we(0x2,_0x27aafd),we(0x3,_0x13d105),we(0x4,_0x39af9e)],yt);var _r=Object['defineProperty'],lr=Object[_0x72bb68(0x159)],ur=(_0x5870e3,_0x1bbf51,_0x5e50a4)=>_0x1bbf51 in _0x5870e3?_r(_0x5870e3,_0x1bbf51,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e50a4}):_0x5870e3[_0x1bbf51]=_0x5e50a4,dr=(_0x3e0b6b,_0xc31c7c,_0x4f132c,_0xd5d430)=>{var _0x50f905=_0x72bb68;for(var _0x26ea1e=_0xd5d430>0x1?void 0x0:_0xd5d430?lr(_0xc31c7c,_0x4f132c):_0xc31c7c,_0x144428=_0x3e0b6b[_0x50f905(0x182)]-0x1,_0x4cb2c4;_0x144428>=0x0;_0x144428--)(_0x4cb2c4=_0x3e0b6b[_0x144428])&&(_0x26ea1e=_0x4cb2c4(_0x26ea1e)||_0x26ea1e);return _0x26ea1e;},mt=(_0x20ce02,_0x30b7ec)=>(_0x58a30e,_0x1c9a15)=>_0x30b7ec(_0x58a30e,_0x1c9a15,_0x20ce02),fr=(_0x549561,_0x480a32,_0x21f8af)=>ur(_0x549561,_0x480a32+'',_0x21f8af);const vr=_0x72bb68(0x218);let Nt=class extends _0x71670f{constructor(_0x183a74,_0x36c42c,_0x5183ab,_0x26fd9c){var _0x11c65b=_0x72bb68;super(),N(this,'_config'),(this[_0x11c65b(0xde)]=_0x36c42c,this[_0x11c65b(0x37c)]=_0x5183ab,this['_configService']=_0x26fd9c);const {..._0x41d188}=_0x262291({},Ds,_0x183a74);if(!_0x41d188[_0x11c65b(0x129)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x11c65b(0x2e4)]=_0x41d188,this[_0x11c65b(0x184)]['setConfig'](K,_0x41d188);}['onStarting'](){var _0x6a3f50=_0x72bb68;this[_0x6a3f50(0x9c)](),this['_initDependencies']();}[_0x72bb68(0x9c)](){var _0x5377e0=_0x72bb68,_0x469f10,_0x39a023;this[_0x5377e0(0x37c)][_0x5377e0(0xc9)](_0x1032f6)&&this[_0x5377e0(0xde)]['error'](_0x5377e0(0x172),_0x5377e0(0x2a4));const _0xa81583=_0x3bbf66([[_0x1032f6,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x5377e0(0x2e4)][_0x5377e0(0x129)]}],[_0x58f01b,{'useClass':Ot}],[_0x443b62,{'useClass':Tt}],[_0x47bf4f,{'useClass':Rt}],[_0x1a925e,{'useClass':bt}],[nt],[It]],(_0x469f10=this[_0x5377e0(0x2e4)])==null?void 0x0:_0x469f10['override']);if(!((_0x39a023=this[_0x5377e0(0x2e4)])!=null&&_0x39a023[_0x5377e0(0x183)])){const _0x1e4531=_0xa81583[_0x5377e0(0x323)](([_0xc4c699])=>_0xc4c699===ht);_0x1e4531!==-0x1&&_0xa81583[_0x5377e0(0xd5)](_0x1e4531,0x1);}_0x21f56c(this['_injector'],_0xa81583);}[_0x72bb68(0x17e)](){var _0x5cce9f=_0x72bb68,_0x210cc9,_0x2660fd,_0x5ea1be;this[_0x5cce9f(0x37c)][_0x5cce9f(0x283)](_0x4fe417)[_0x5cce9f(0x147)]({'priority':0x14,'interceptor':_0x46408f({'maxParallel':0x6})}),(_0x210cc9=this['_config'])!=null&&_0x210cc9[_0x5cce9f(0x249)]||(_0x2660fd=this[_0x5cce9f(0x37c)][_0x5cce9f(0x283)](J,_0x1a5943[_0x5cce9f(0x35c)]))==null||_0x2660fd['disableLocalCache'](),(_0x5ea1be=this[_0x5cce9f(0x2e4)])!=null&&_0x5ea1be[_0x5cce9f(0x2a9)]&&_0x4a48db(this[_0x5cce9f(0x37c)],[[rt]]),_0x4a48db(this[_0x5cce9f(0x37c)],[[at],[nt],[ot]]);}};fr(Nt,_0x72bb68(0x29e),vr),Nt=dr([_0x4e7c3d(_0x43fd45,_0x21ec6a),mt(0x1,_0x39af9e),mt(0x2,_0x41311f(_0x4cac68)),mt(0x3,_0x19233d)],Nt);export{bi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,bs as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,bt as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ot as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
|
1
|
+
var _0x6aebf=_0x5cc4;(function(_0x1218b5,_0x164633){var _0x8dccb6=_0x5cc4,_0x489cc9=_0x1218b5();while(!![]){try{var _0x3b6765=-parseInt(_0x8dccb6(0x24f))/0x1+parseInt(_0x8dccb6(0x208))/0x2*(-parseInt(_0x8dccb6(0x1f3))/0x3)+-parseInt(_0x8dccb6(0x2d6))/0x4+-parseInt(_0x8dccb6(0x323))/0x5*(-parseInt(_0x8dccb6(0x231))/0x6)+-parseInt(_0x8dccb6(0x29e))/0x7*(-parseInt(_0x8dccb6(0x1dd))/0x8)+-parseInt(_0x8dccb6(0x1f8))/0x9*(-parseInt(_0x8dccb6(0x317))/0xa)+parseInt(_0x8dccb6(0x2fc))/0xb;if(_0x3b6765===_0x164633)break;else _0x489cc9['push'](_0x489cc9['shift']());}catch(_0x3fff8a){_0x489cc9['push'](_0x489cc9['shift']());}}}(_0x2867,0x90743));var Di=Object[_0x6aebf(0x255)],Ui=(_0x3515dd,_0x58c082,_0xa40808)=>_0x58c082 in _0x3515dd?Di(_0x3515dd,_0x58c082,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa40808}):_0x3515dd[_0x58c082]=_0xa40808,N=(_0x31a0c3,_0xfe264d,_0x469978)=>Ui(_0x31a0c3,typeof _0xfe264d!=_0x6aebf(0x144)?_0xfe264d+'':_0xfe264d,_0x469978);import{createIdentifier as _0x31fd00,Inject as _0x18bb67,Injector as _0x11fbde,IConfigService as _0x5317b8,ILogService as _0x26f867,Disposable as _0xd3ae1c,DisposableCollection as _0x31cc16,toDisposable as _0x30fd71,IUniverInstanceService as _0x552064,UserManagerService as _0x3df4c2,UniverInstanceType as _0x5a96fb,LocaleService as _0x21749b,Optional as _0x870f26,RxDisposable as _0x4a9342,Tools as _0x11388e,Rectangle as _0x4ab498,ICommandService as _0x25bbcf,JSONX as _0x498440,CommandType as _0x2863dc,IUndoRedoService as _0x302ea5,IPermissionService as _0x374ceb,sequenceExecute as _0x5c447e,Workbook as _0x52d5b8,MentionType as _0x36128d,isInternalEditorID as _0x587f28,LocalUndoRedoService as _0x45ae3a,IContextService as _0x4d1910,DependentOn as _0xaed92e,Plugin as _0x147501,merge as _0x1c4530,mergeOverrideWithDependencies as _0x1e67f9,IAuthzIoService as _0x40991c,IMentionIOService as _0x51953d,registerDependencies as _0x4947aa,Quantity as _0x997497,touchDependencies as _0x4e514b}from'@univerjs/core';import{Subject as _0x2f4bdc,merge as _0x3fda27,of as _0x3da406,BehaviorSubject as _0x57bee0,takeUntil as _0x27e979,ReplaySubject as _0x2bb09b,take as _0x562006,map as _0x2db594,shareReplay as _0x301fb6,firstValueFrom as _0x13c019,concatMap as _0x530eef}from'rxjs';import{map as _0x1c75cc,take as _0x2966d8,filter as _0x74353e,delay as _0x4ab3d3,takeUntil as _0x30842e}from'rxjs/operators';import{CollaborationEvent as _0x4876af,ISnapshotServerService as _0x3fe259,parseChangesetToProtocol as _0x22dcd4,ITransformService as _0x55d63a,isTransformMutationsWithChangesetSuccess as _0x4cda53,mapDocumentTypeToUniverType as _0x430aac,RevisionService as _0x3293cd,isTransformChangesetsSuccess as _0x557dfb,CompressMutationService as _0xb993a7,parseProtocolChangeset as _0x4f866c,uuidv4 as _0x1b291f,SnapshotService as _0x50e5fc,textEncoder as _0xd579e6,b64DecodeUnicode as _0x2cf7f3,isTransformMutationsWithChangesetFailure as _0x34f905,UniverCollaborationPlugin as _0x411580}from'@univerjs-pro/collaboration';import{HTTPService as _0x26c391,ISocketService as _0x34dbdc,MergeInterceptorFactory as _0x310c62,HTTPRequest as _0x292d8f,UniverNetworkPlugin as _0x2661be,ThresholdInterceptorFactory as _0x94fa86}from'@univerjs/network';import{ITelemetryService as _0x8ee61a}from'@univerjs/telemetry';import{RichTextEditingMutation as _0xfd7d2c}from'@univerjs/docs';import{SheetsSelectionsService as _0x475ccb,SetSelectionsOperation as _0x568604,InsertSheetMutation as _0x15c086,EmptyMutation as _0x48ed62,WorkbookEditablePermission as _0x39effe,SheetPermissionInitController as _0x2cf903}from'@univerjs/sheets';import{ImageSourceType as _0xa69510,ImageUploadStatusType as _0x5f573b,IImageIoService as _0x5138fa}from'@univerjs/drawing';import{getGlobalObject as _0x41b601}from'@univerjs-pro/license';const fs=_0x6aebf(0x1e4),vs='/universer-api/snapshot',ps=_0x6aebf(0x229),yr=_0x6aebf(0xdf),ms=0x7d0,gs=_0x6aebf(0x2d2),Ss=_0x6aebf(0x2fa),Nr=_0x6aebf(0x20a),Es=_0x6aebf(0x2d7),Is=0x7530,fi='HEARTBEAT_TIMEOUT',vi=0x4e20,Ts=0x4e20,Cs=_0x6aebf(0x187),Rs=0x3,Dr=_0x6aebf(0x1ff),Ur=0x3e8,bs=_0x6aebf(0x28c),Os=_0x6aebf(0x264),ys=_0x6aebf(0xbd),Ns='/universer-api/oidc/authpage',Ar='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',wr=_0x6aebf(0x8f);var pi=(_0x3f2915=>(_0x3f2915[_0x3f2915[_0x6aebf(0x93)]=0x0]=_0x6aebf(0x93),_0x3f2915[_0x3f2915['OK']=0x1]='OK',_0x3f2915[_0x3f2915[_0x6aebf(0x2cd)]=0x2]=_0x6aebf(0x2cd),_0x3f2915[_0x3f2915[_0x6aebf(0x281)]=0x3]='PERMISSION_DENIED',_0x3f2915[_0x3f2915[_0x6aebf(0x109)]=0x4]=_0x6aebf(0x109),_0x3f2915[_0x3f2915[_0x6aebf(0x9a)]=0x5]=_0x6aebf(0x9a),_0x3f2915[_0x3f2915[_0x6aebf(0xe5)]=0x6]=_0x6aebf(0xe5),_0x3f2915[_0x3f2915['INVALID_ARGUMENT']=0x7]=_0x6aebf(0x139),_0x3f2915[_0x3f2915[_0x6aebf(0xb3)]=0x8]=_0x6aebf(0xb3),_0x3f2915[_0x3f2915[_0x6aebf(0x2e1)]=0x9]=_0x6aebf(0x2e1),_0x3f2915[_0x3f2915['LOGIN_FAILED']=0xa]=_0x6aebf(0x313),_0x3f2915[_0x3f2915[_0x6aebf(0x1c1)]=0x1389]=_0x6aebf(0x1c1),_0x3f2915[_0x3f2915['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3f2915[_0x3f2915[_0x6aebf(0x13c)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3f2915[_0x3f2915[_0x6aebf(0x297)]=0x1773]=_0x6aebf(0x297),_0x3f2915[_0x3f2915[_0x6aebf(0x380)]=0x1b59]=_0x6aebf(0x380),_0x3f2915[_0x3f2915[_0x6aebf(0x21c)]=0x1b5a]=_0x6aebf(0x21c),_0x3f2915[_0x3f2915[_0x6aebf(0xaa)]=0x1b5b]=_0x6aebf(0xaa),_0x3f2915[_0x3f2915[_0x6aebf(0x1bd)]=0x1b5c]=_0x6aebf(0x1bd),_0x3f2915[_0x3f2915[_0x6aebf(0x12b)]=0x1b5d]=_0x6aebf(0x12b),_0x3f2915[_0x3f2915['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3f2915[_0x3f2915[_0x6aebf(0x217)]=0x2329]=_0x6aebf(0x217),_0x3f2915[_0x3f2915[_0x6aebf(0xb1)]=0x232a]=_0x6aebf(0xb1),_0x3f2915[_0x3f2915[_0x6aebf(0x38f)]=0x232b]=_0x6aebf(0x38f),_0x3f2915[_0x3f2915[_0x6aebf(0x384)]=0x232c]=_0x6aebf(0x384),_0x3f2915[_0x3f2915[_0x6aebf(0x11a)]=0x232d]=_0x6aebf(0x11a),_0x3f2915[_0x3f2915['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x6aebf(0xdb),_0x3f2915[_0x3f2915[_0x6aebf(0x2f2)]=0x2712]=_0x6aebf(0x2f2),_0x3f2915[_0x3f2915['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x6aebf(0x170),_0x3f2915[_0x3f2915['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x6aebf(0x275),_0x3f2915[_0x3f2915[_0x6aebf(0x131)]=0x271a]=_0x6aebf(0x131),_0x3f2915[_0x3f2915['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x6aebf(0x1a5),_0x3f2915[_0x3f2915['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x6aebf(0x22c),_0x3f2915[_0x3f2915[_0x6aebf(0xb9)]=0x271d]=_0x6aebf(0xb9),_0x3f2915[_0x3f2915[_0x6aebf(0x252)]=0x271e]=_0x6aebf(0x252),_0x3f2915[_0x3f2915[_0x6aebf(0x20f)]=0x271f]=_0x6aebf(0x20f),_0x3f2915[_0x3f2915['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x6aebf(0x19c),_0x3f2915[_0x3f2915[_0x6aebf(0xcb)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x3f2915[_0x3f2915[_0x6aebf(0x35c)]=0x2ee2]=_0x6aebf(0x35c),_0x3f2915[_0x3f2915[_0x6aebf(0x2ad)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3f2915[_0x3f2915[_0x6aebf(0x2ee)]=0x2ee4]=_0x6aebf(0x2ee),_0x3f2915[_0x3f2915[_0x6aebf(0x218)]=0x2ee5]=_0x6aebf(0x218),_0x3f2915[_0x3f2915[_0x6aebf(0x1ad)]=0x32c9]=_0x6aebf(0x1ad),_0x3f2915[_0x3f2915['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x6aebf(0xf6),_0x3f2915[_0x3f2915['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x6aebf(0x242),_0x3f2915[_0x3f2915[_0x6aebf(0x2f4)]=-0x1]=_0x6aebf(0x2f4),_0x3f2915))(pi||{}),Z=(_0x3a7045=>(_0x3a7045[_0x3a7045[_0x6aebf(0x157)]=0x0]=_0x6aebf(0x157),_0x3a7045[_0x3a7045[_0x6aebf(0x366)]=0x1]='UNIVER_DOC',_0x3a7045[_0x3a7045[_0x6aebf(0x2c7)]=0x2]=_0x6aebf(0x2c7),_0x3a7045[_0x3a7045[_0x6aebf(0x23b)]=0x3]='UNIVER_SLIDE',_0x3a7045[_0x3a7045[_0x6aebf(0x129)]=0x4]=_0x6aebf(0x129),_0x3a7045[_0x3a7045[_0x6aebf(0x2f4)]=-0x1]=_0x6aebf(0x2f4),_0x3a7045))(Z||{}),F=(_0x58278a=>(_0x58278a[_0x58278a[_0x6aebf(0xf1)]=0x0]=_0x6aebf(0xf1),_0x58278a[_0x58278a[_0x6aebf(0x98)]=0x1]=_0x6aebf(0x98),_0x58278a[_0x58278a[_0x6aebf(0x308)]=0x2]='JOIN',_0x58278a[_0x58278a[_0x6aebf(0x1ef)]=0x3]=_0x6aebf(0x1ef),_0x58278a[_0x58278a[_0x6aebf(0x121)]=0x4]='INGEST',_0x58278a[_0x58278a[_0x6aebf(0x303)]=0x5]=_0x6aebf(0x303),_0x58278a[_0x58278a[_0x6aebf(0x2d1)]=0x6]=_0x6aebf(0x2d1),_0x58278a[_0x58278a['UNRECOGNIZED']=-0x1]=_0x6aebf(0x2f4),_0x58278a))(F||{}),me=(_0x3e5954=>(_0x3e5954[_0x3e5954[_0x6aebf(0x21a)]=0x0]='UNKNOWN_CODE',_0x3e5954[_0x3e5954['OK']=0x1]='OK',_0x3e5954[_0x3e5954[_0x6aebf(0x188)]=0x2]=_0x6aebf(0x188),_0x3e5954[_0x3e5954[_0x6aebf(0x221)]=0x3e9]=_0x6aebf(0x221),_0x3e5954[_0x3e5954[_0x6aebf(0x24d)]=0x3ea]=_0x6aebf(0x24d),_0x3e5954[_0x3e5954['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x6aebf(0x1d9),_0x3e5954[_0x3e5954[_0x6aebf(0x2de)]=0x3ec]=_0x6aebf(0x2de),_0x3e5954[_0x3e5954['UNRECOGNIZED']=-0x1]=_0x6aebf(0x2f4),_0x3e5954))(me||{}),mi=(_0x439c8f=>(_0x439c8f[_0x439c8f['Undefined']=0x0]=_0x6aebf(0x90),_0x439c8f[_0x439c8f[_0x6aebf(0xa2)]=0x1]=_0x6aebf(0xa2),_0x439c8f[_0x439c8f[_0x6aebf(0x25b)]=0x2]=_0x6aebf(0x25b),_0x439c8f[_0x439c8f[_0x6aebf(0xbc)]=0x3]=_0x6aebf(0xbc),_0x439c8f[_0x439c8f[_0x6aebf(0xae)]=0x4]=_0x6aebf(0xae),_0x439c8f[_0x439c8f[_0x6aebf(0x1b2)]=0x5]='UserProfileImg',_0x439c8f[_0x439c8f[_0x6aebf(0x2f4)]=-0x1]=_0x6aebf(0x2f4),_0x439c8f))(mi||{});const K=_0x6aebf(0x1c4),Ds={};var ne=(_0x4b7465=>(_0x4b7465['OTHER_CLIENT_EDITING']=_0x6aebf(0x27e),_0x4b7465[_0x6aebf(0x281)]=_0x6aebf(0x281),_0x4b7465['CONFLICT']=_0x6aebf(0xf7),_0x4b7465[_0x6aebf(0x2f8)]=_0x6aebf(0x2f8),_0x4b7465[_0x6aebf(0x36d)]='JOIN_ROOM_FAILED',_0x4b7465['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x4b7465['SOCKET_FAILED']=_0x6aebf(0x1a1),_0x4b7465['SUBMIT_CHANGESET_TIMEOUT']=_0x6aebf(0xf8),_0x4b7465))(ne||{});class ve{constructor(){var _0x281be2=_0x6aebf;N(this,_0x281be2(0x36c),new _0x2f4bdc()),N(this,_0x281be2(0x32f),this[_0x281be2(0x36c)][_0x281be2(0x28b)]());}[_0x6aebf(0x247)](_0x5bd5b9){var _0x5ac8a7=_0x6aebf;this[_0x5ac8a7(0x36c)]['next'](_0x5bd5b9);}}const Us=_0x31fd00(_0x6aebf(0x176));function As(_0x557283){var _0x18a5d7=_0x6aebf,_0xe8e66c,_0x4b8e24,_0x54ddb8,_0xda90e8,_0x3421e7;const _0x22754d=_0x557283['data'],_0x37bdb4=JSON[_0x18a5d7(0x337)](_0x22754d);switch(_0x37bdb4['cmd']){case F[_0x18a5d7(0x303)]:case F[_0x18a5d7(0x98)]:{const _0x322a56=_0x37bdb4['infoRsp'];return{..._0x37bdb4,'data':_0x322a56,'cmd':_0x37bdb4[_0x18a5d7(0x294)]};}case F[_0x18a5d7(0x308)]:{const _0x43daf3=_0x37bdb4[_0x18a5d7(0xbe)];return{..._0x37bdb4,'data':_0x43daf3,'cmd':_0x37bdb4[_0x18a5d7(0x294)]};}case F[_0x18a5d7(0x2d1)]:{const _0x4d0b9f=_0x37bdb4['collaMsg'];switch(_0x4d0b9f['eventID']){case _0x4876af['PERMISSION_REJ']:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':(_0xe8e66c=_0x4d0b9f[_0x18a5d7(0xb0)])==null?void 0x0:_0xe8e66c['cs']},'cmd':_0x37bdb4['cmd']};case _0x4876af['CHANGESET_ACK']:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':(_0x4b8e24=_0x4d0b9f['csAckEvent'])==null?void 0x0:_0x4b8e24['cs']},'cmd':_0x37bdb4['cmd']};case _0x4876af['NEW_CHANGESETS']:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':(_0x54ddb8=_0x4d0b9f['newCsEvent'])==null?void 0x0:_0x54ddb8['cs']},'cmd':_0x37bdb4[_0x18a5d7(0x294)]};case _0x4876af[_0x18a5d7(0x2f6)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':(_0xda90e8=_0x4d0b9f['csRejEvent'])==null?void 0x0:_0xda90e8['cs']},'cmd':_0x37bdb4['cmd']};case _0x4876af[_0x18a5d7(0x2e9)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':(_0x3421e7=_0x4d0b9f[_0x18a5d7(0x2aa)])==null?void 0x0:_0x3421e7['cs']},'cmd':_0x37bdb4[_0x18a5d7(0x294)]};case _0x4876af[_0x18a5d7(0x26d)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':_0x4d0b9f[_0x18a5d7(0x365)]},'cmd':_0x37bdb4[_0x18a5d7(0x294)]};case _0x4876af[_0x18a5d7(0xaf)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':_0x4d0b9f[_0x18a5d7(0x259)]},'cmd':_0x37bdb4[_0x18a5d7(0x294)]};case _0x4876af[_0x18a5d7(0x2fb)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':_0x4d0b9f[_0x18a5d7(0x2f5)]},'cmd':_0x37bdb4['cmd']};case _0x4876af['LIVESHARE_NEW_HOST']:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':_0x4d0b9f[_0x18a5d7(0x174)]},'cmd':_0x37bdb4['cmd']};case _0x4876af[_0x18a5d7(0x2ba)]:case _0x4876af[_0x18a5d7(0x2ea)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':_0x4d0b9f[_0x18a5d7(0x241)]},'cmd':_0x37bdb4[_0x18a5d7(0x294)]};case _0x4876af[_0x18a5d7(0x216)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':_0x4d0b9f[_0x18a5d7(0x174)]},'cmd':_0x37bdb4[_0x18a5d7(0x294)]};case _0x4876af['MSG_FOR_ERROR']:return{..._0x37bdb4,'data':_0x4d0b9f,'cmd':_0x37bdb4[_0x18a5d7(0x294)]};case _0x4876af[_0x18a5d7(0xc5)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':_0x4d0b9f[_0x18a5d7(0x164)]},'cmd':_0x37bdb4[_0x18a5d7(0x294)]};case _0x4876af[_0x18a5d7(0xef)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':_0x4d0b9f['updatePermissionObjEvent']},'cmd':_0x37bdb4[_0x18a5d7(0x294)]};case _0x4876af[_0x18a5d7(0x2f1)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':_0x4d0b9f['shouldCloseConn']},'cmd':_0x37bdb4[_0x18a5d7(0x294)]};case _0x4876af[_0x18a5d7(0x1a2)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':_0x4d0b9f['uniscriptRunEvent']},'cmd':_0x37bdb4[_0x18a5d7(0x294)]};default:return _0x37bdb4;}}default:return _0x37bdb4;}}function ws(_0x27f35d){var _0x5b5595=_0x6aebf;switch(_0x27f35d['cmd']){case F[_0x5b5595(0x303)]:case F['HELLO']:return JSON[_0x5b5595(0x165)]({'cmd':_0x27f35d[_0x5b5595(0x294)],'routeKey':_0x27f35d[_0x5b5595(0x104)]});case F['INGEST']:{let _0x3ecf9e;switch(_0x27f35d[_0x5b5595(0x364)][_0x5b5595(0x305)]){case _0x4876af['UPDATE_CURSOR']:{_0x3ecf9e={'eventID':_0x4876af[_0x5b5595(0x26d)],'updateCursorEvent':_0x27f35d['data'][_0x5b5595(0x364)]};break;}case _0x4876af['USERS_LEAVE']:{_0x3ecf9e={'eventID':_0x4876af[_0x5b5595(0x2fb)],'leaveEvent':_0x27f35d[_0x5b5595(0x364)][_0x5b5595(0x364)]};break;}case _0x4876af[_0x5b5595(0xaf)]:{_0x3ecf9e={'eventID':_0x4876af[_0x5b5595(0xaf)],'joinEvent':_0x27f35d[_0x5b5595(0x364)][_0x5b5595(0x364)]};break;}case _0x4876af[_0x5b5595(0x163)]:{_0x3ecf9e={'eventID':_0x4876af['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x27f35d[_0x5b5595(0x364)]['data']};break;}case _0x4876af[_0x5b5595(0x2ea)]:{_0x3ecf9e={'eventID':_0x4876af['LIVESHARE_OPERATION'],'liveShareOperation':_0x27f35d['data'][_0x5b5595(0x364)]};break;}case _0x4876af[_0x5b5595(0x216)]:{_0x3ecf9e={'eventID':_0x4876af[_0x5b5595(0x216)],'liveShareTerminate':_0x27f35d['data'][_0x5b5595(0x364)]};break;}case _0x4876af[_0x5b5595(0x256)]:{_0x3ecf9e={'eventID':_0x4876af[_0x5b5595(0x256)],'liveShareRequestHost':_0x27f35d['data'][_0x5b5595(0x364)]};break;}case _0x4876af[_0x5b5595(0x2ba)]:{_0x3ecf9e={'eventID':_0x4876af[_0x5b5595(0x2ba)]};break;}default:_0x3ecf9e={'eventID':_0x27f35d['data'][_0x5b5595(0x305)]};}return JSON[_0x5b5595(0x165)]({'cmd':_0x27f35d['cmd'],'routeKey':_0x27f35d[_0x5b5595(0x104)],'collaMsg':_0x3ecf9e});}case F['JOIN']:return JSON[_0x5b5595(0x165)]({'cmd':_0x27f35d['cmd'],'routeKey':_0x27f35d[_0x5b5595(0x104)],'joinReq':_0x27f35d[_0x5b5595(0x364)]});case F[_0x5b5595(0x1ef)]:return JSON[_0x5b5595(0x165)]({'cmd':_0x27f35d['cmd'],'routeKey':_0x27f35d[_0x5b5595(0x104)],'leaveReq':_0x27f35d[_0x5b5595(0x364)]});default:throw new Error(_0x5b5595(0xc4));}}var Ps=Object[_0x6aebf(0x2ec)],Ls=(_0x10dee8,_0x48717d,_0x4c54ce,_0x5869c4)=>{var _0x1f62c0=_0x6aebf;for(var _0x209c6a=_0x5869c4>0x1?void 0x0:_0x5869c4?Ps(_0x48717d,_0x4c54ce):_0x48717d,_0x5645c8=_0x10dee8[_0x1f62c0(0x16a)]-0x1,_0x551808;_0x5645c8>=0x0;_0x5645c8--)(_0x551808=_0x10dee8[_0x5645c8])&&(_0x209c6a=_0x551808(_0x209c6a)||_0x209c6a);return _0x209c6a;},Ue=(_0x562ad2,_0x5c8dfd)=>(_0x35be67,_0x5091bf)=>_0x5c8dfd(_0x35be67,_0x5091bf,_0x562ad2);const gi=_0x31fd00(_0x6aebf(0x302));function Ms(_0x25aceb,_0x353e88,_0x4d90ad){var _0x4917db=_0x6aebf;return _0x25aceb+'/'+_0x353e88+_0x4917db(0x214)+_0x4d90ad+_0x4917db(0x249);}let Ft=class extends _0xd3ae1c{constructor(_0xf0abda,_0x7ee5fc,_0xa5eee2,_0x2ac577,_0x37918e){var _0xf17799=_0x6aebf;super(),this['_injector']=_0xf0abda,this[_0xf17799(0x190)]=_0x7ee5fc,this[_0xf17799(0x285)]=_0xa5eee2,this[_0xf17799(0x186)]=_0x2ac577,this[_0xf17799(0x316)]=_0x37918e;}[_0x6aebf(0x2d5)](_0x2ab398){var _0x464fa0=_0x6aebf;const _0x4d633c=this['_injector'][_0x464fa0(0x346)](_0x34dbdc);if(!_0x4d633c)throw new Error(_0x464fa0(0x2ab));const _0x51b896=_0x4d633c[_0x464fa0(0x215)](_0x2ab398);if(!_0x51b896)throw new Error(_0x464fa0(0x126));const _0x33731e=new _0x31cc16(),_0x71f6c0=new _0x2f4bdc();_0x33731e[_0x464fa0(0xc0)](_0x51b896[_0x464fa0(0x1cc)][_0x464fa0(0x18c)](_0xadac84=>_0x71f6c0[_0x464fa0(0x312)](_0xadac84))),_0x33731e[_0x464fa0(0xc0)](_0x30fd71(()=>_0x71f6c0[_0x464fa0(0xee)]()));const _0x244dc4=new _0x2f4bdc();_0x33731e[_0x464fa0(0xc0)](_0x51b896[_0x464fa0(0x14a)][_0x464fa0(0x18c)](_0xfdcbae=>_0x244dc4[_0x464fa0(0x312)](_0xfdcbae))),_0x33731e[_0x464fa0(0xc0)](_0x30fd71(()=>_0x244dc4[_0x464fa0(0xee)]()));const _0x3b8a28=new _0x2f4bdc();_0x33731e[_0x464fa0(0xc0)](_0x51b896[_0x464fa0(0x38e)][_0x464fa0(0x18c)](_0x380ed1=>{var _0x3ef555=_0x464fa0;const _0x5a6476=As(_0x380ed1);_0x3b8a28[_0x3ef555(0x312)](_0x5a6476);})),_0x33731e[_0x464fa0(0xc0)](_0x30fd71(()=>_0x3b8a28['complete']()));let _0x1cc84e;const _0x22157b=()=>{var _0x35d037=_0x464fa0;_0x244dc4[_0x35d037(0x312)](new Event(_0x35d037(0x269))),_0x71f6c0[_0x35d037(0x312)](new Event('connection\x20error')),_0x1cc84e[_0x35d037(0x370)]();};return _0x1cc84e={'memberID':'','close$':_0x71f6c0[_0x464fa0(0x28b)](),'error$':_0x244dc4[_0x464fa0(0x28b)](),'open$':_0x51b896['open$'],'message$':_0x3b8a28[_0x464fa0(0x28b)](),'send':_0x1dc82a=>{var _0x158caa=_0x464fa0;if(_0x1dc82a[_0x158caa(0x294)]===F[_0x158caa(0x121)]){if(_0x1dc82a[_0x158caa(0x364)][_0x158caa(0x305)]===_0x4876af['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x1cc84e,_0x1dc82a[_0x158caa(0x364)])[_0x158caa(0x1c7)](_0x31dfeb=>{var _0x6abefc=_0x158caa;this['_logService'][_0x6abefc(0x232)](_0x31dfeb),_0x22157b();});return;}if(_0x1dc82a[_0x158caa(0x364)]['eventID']===_0x4876af['FETCH_MISSING']){const _0x236ded=_0x1dc82a[_0x158caa(0x364)];this[_0x158caa(0x230)](_0x236ded)[_0x158caa(0x34f)](_0x31d58f=>{var _0x2244ab=_0x158caa;_0x3b8a28['next']({'cmd':F[_0x2244ab(0x2d1)],'code':me['OK'],'routeKey':_0x236ded['data']['unitID'],'routeType':'','data':{'eventID':_0x4876af[_0x2244ab(0x11b)],'data':{'changesets':_0x31d58f}}});})[_0x158caa(0x1c7)](_0x17c673=>{var _0x256f5d=_0x158caa;this[_0x256f5d(0x186)]['error'](_0x17c673),_0x22157b();});return;}}_0x51b896[_0x158caa(0x125)](ws(_0x1dc82a));},'close':()=>{var _0x5f1ebf=_0x464fa0;_0x51b896[_0x5f1ebf(0x370)](),_0x33731e[_0x5f1ebf(0x29c)]();}},_0x1cc84e;}async[_0x6aebf(0x1e3)](_0x339cb4,_0xfc1dd){var _0x347faa=_0x6aebf,_0x3d3df2,_0x38d8fc;const {unitType:_0x3c2e15,unitID:_0xe4d3bb,changeset:_0x121f2c}=_0xfc1dd[_0x347faa(0x364)],_0x5b6258={'unitID':_0xe4d3bb,'memberID':_0x339cb4[_0x347faa(0x386)],'type':_0x3c2e15,'changeset':_0x22dcd4(_0x121f2c)},_0xdc086a=this[_0x347faa(0x285)][_0x347faa(0x30d)](bs),_0x350531=this[_0x347faa(0x285)][_0x347faa(0x30d)](K),_0x36d52e=Ms((_0x38d8fc=(_0x3d3df2=_0x350531==null?void 0x0:_0x350531[_0x347faa(0x28a)])!=null?_0x3d3df2:_0xdc086a)!=null?_0x38d8fc:Os,_0x3c2e15,_0xe4d3bb);try{await this['_httpService'][_0x347faa(0x288)](_0x36d52e,{'body':_0x5b6258});}catch(_0x1f45d3){throw this['_logService']['error']('[CollaborationSession]',_0x347faa(0x154)),_0x1f45d3;}}async[_0x6aebf(0x230)](_0x142925){var _0x382e56=_0x6aebf;const {unitID:_0x3f1627,from:_0x509353,to:_0x123e17,unitType:_0x2f7c78}=_0x142925[_0x382e56(0x364)];return(await this[_0x382e56(0x316)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x3f1627,'type':_0x2f7c78,'from':_0x509353,'to':_0x123e17}))[_0x382e56(0x397)];}};Ft=Ls([Ue(0x0,_0x18bb67(_0x11fbde)),Ue(0x1,_0x18bb67(_0x26c391)),Ue(0x2,_0x5317b8),Ue(0x3,_0x26f867),Ue(0x4,_0x3fe259)],Ft);const xs=_0x6aebf(0x334);function ks(_0x5e0e89){var _0x271cce=_0x6aebf;return JSON[_0x271cce(0x165)](_0x5e0e89)[_0x271cce(0x16a)];}class Si{constructor(){var _0x1c5a34=_0x6aebf;N(this,_0x1c5a34(0xea),new _0x2f4bdc()),N(this,_0x1c5a34(0x222),this[_0x1c5a34(0xea)][_0x1c5a34(0x28b)]());}['onCommentUpdate'](_0x10e6ab){this['_commentUpdate$']['next'](_0x10e6ab);}}var $s=Object[_0x6aebf(0x2ec)],Hs=(_0x43a886,_0x5a8921,_0x1393d9,_0x1f79f4)=>{for(var _0x2b4726=_0x1f79f4>0x1?void 0x0:_0x1f79f4?$s(_0x5a8921,_0x1393d9):_0x5a8921,_0x5d89d9=_0x43a886['length']-0x1,_0x301819;_0x5d89d9>=0x0;_0x5d89d9--)(_0x301819=_0x43a886[_0x5d89d9])&&(_0x2b4726=_0x301819(_0x2b4726)||_0x2b4726);return _0x2b4726;},Vt=(_0x1768a2,_0x36423b)=>(_0x48ad28,_0x3a3319)=>_0x36423b(_0x48ad28,_0x3a3319,_0x1768a2);let Pe=class extends _0xd3ae1c{constructor(_0x174e1d,_0x28c5c5){var _0x35fad2=_0x6aebf;super(),N(this,_0x35fad2(0x261),new Map()),N(this,_0x35fad2(0x135),new _0x2f4bdc()),(this[_0x35fad2(0x92)]=_0x174e1d,this[_0x35fad2(0x22f)]=_0x28c5c5,this[_0x35fad2(0x361)](_0x3fda27(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5a96fb[_0x35fad2(0x2c7)])[_0x35fad2(0x351)](_0x1c75cc(_0x415f12=>_0x415f12[_0x35fad2(0x30c)]())),this['_univerInstanceService'][_0x35fad2(0x9e)](_0x5a96fb[_0x35fad2(0x366)])[_0x35fad2(0x351)](_0x1c75cc(_0xa0328b=>_0xa0328b['getUnitId']())),this[_0x35fad2(0x92)][_0x35fad2(0x9e)](_0x5a96fb[_0x35fad2(0x23b)])[_0x35fad2(0x351)](_0x1c75cc(_0x1992c5=>_0x1992c5[_0x35fad2(0x30c)]())))[_0x35fad2(0x18c)](_0xe3c9fa=>this[_0x35fad2(0x33c)](_0xe3c9fa))));}['waitForRoom$'](_0xe06880){var _0x50fcc0=_0x6aebf;return this['_roomMembers'][_0x50fcc0(0x31b)](_0xe06880)?_0x3da406(this[_0x50fcc0(0x261)]['get'](_0xe06880)):this['_roomCreated$'][_0x50fcc0(0x351)](_0x1c75cc(_0x13d73c=>{var _0x1dcadc=_0x50fcc0;if(_0x13d73c===_0xe06880)return this[_0x1dcadc(0x261)][_0x1dcadc(0x346)](_0x13d73c);}));}[_0x6aebf(0x124)](_0x1c96b1){var _0x5beada=_0x6aebf;this[_0x5beada(0x22f)][_0x5beada(0x124)](_0x1c96b1);}['getCurrentUser'](){var _0x4d9ccf=_0x6aebf;return this[_0x4d9ccf(0x22f)]['getCurrentUser']();}[_0x6aebf(0x13d)](_0x5865ee,_0x257df8){var _0x13eec2=_0x6aebf;let _0xe48c6b=this[_0x13eec2(0x261)][_0x13eec2(0x346)](_0x5865ee);_0xe48c6b||(_0xe48c6b=new Bs(),this[_0x13eec2(0x261)][_0x13eec2(0x17a)](_0x5865ee,_0xe48c6b),this['_roomCreated$'][_0x13eec2(0x312)](_0x5865ee)),_0xe48c6b[_0x13eec2(0x13d)](_0x257df8);}['removeMember'](_0x48e833,_0x3d934a){var _0x4d1632=_0x6aebf;const _0x2c66bd=this[_0x4d1632(0x261)][_0x4d1632(0x346)](_0x48e833);_0x2c66bd&&_0x2c66bd[_0x4d1632(0x280)](_0x3d934a);}[_0x6aebf(0x321)](_0x5b1d1f){var _0x1f20b1=_0x6aebf;return this[_0x1f20b1(0x261)][_0x1f20b1(0x346)](_0x5b1d1f);}['getMember'](_0x4910f3,_0x85cf2f){var _0x2a25f2=_0x6aebf;const _0x191153=this[_0x2a25f2(0x261)][_0x2a25f2(0x346)](_0x4910f3);if(_0x191153)return _0x191153['getMember'](_0x85cf2f);}['_removeRoom'](_0x2dae71){var _0x4f8aba=_0x6aebf;const _0x1f7d15=this[_0x4f8aba(0x261)][_0x4f8aba(0x346)](_0x2dae71);_0x1f7d15&&(_0x1f7d15[_0x4f8aba(0x29c)](),this[_0x4f8aba(0x261)]['delete'](_0x2dae71));}[_0x6aebf(0x29c)](){var _0xc4e091=_0x6aebf;this['_roomMembers']['forEach'](_0x42be5a=>_0x42be5a['dispose']()),this[_0xc4e091(0x261)][_0xc4e091(0x32d)](),this[_0xc4e091(0x135)][_0xc4e091(0xee)]();}};Pe=Hs([Vt(0x0,_0x552064),Vt(0x1,_0x18bb67(_0x3df4c2))],Pe);class Bs extends _0xd3ae1c{constructor(){var _0xd8c3bf=_0x6aebf;super(...arguments),N(this,_0xd8c3bf(0x167),new Map()),N(this,'_members$',new _0x57bee0(this['_members'])),N(this,_0xd8c3bf(0x114),this[_0xd8c3bf(0x2d8)][_0xd8c3bf(0x28b)]());}[_0x6aebf(0x29c)](){var _0x5be96b=_0x6aebf;this[_0x5be96b(0x167)][_0x5be96b(0x32d)]();}[_0x6aebf(0x13d)](_0x555c42){var _0x4dbb16=_0x6aebf;this[_0x4dbb16(0x167)]['set'](_0x555c42['memberID'],_0x555c42),this[_0x4dbb16(0x16c)]();}['removeMember'](_0x62a809){var _0x1e6ca8=_0x6aebf;this[_0x1e6ca8(0x167)]['delete'](_0x62a809);}[_0x6aebf(0x11d)](_0x1c41f9){var _0x32c7df=_0x6aebf;return this[_0x32c7df(0x167)]['get'](_0x1c41f9);}[_0x6aebf(0x11c)](){var _0x47f2f3=_0x6aebf;return Array['from'](this[_0x47f2f3(0x167)][_0x47f2f3(0x2dd)]());}[_0x6aebf(0x16c)](){var _0x3217ea=_0x6aebf;this[_0x3217ea(0x2d8)][_0x3217ea(0x312)](this[_0x3217ea(0x167)]);}}var js=Object[_0x6aebf(0x2ec)],Fs=(_0x16e3ab,_0x3a0e75,_0x5485a9,_0x300880)=>{var _0x5eca7f=_0x6aebf;for(var _0x95cedd=_0x300880>0x1?void 0x0:_0x300880?js(_0x3a0e75,_0x5485a9):_0x3a0e75,_0x2ddd9f=_0x16e3ab[_0x5eca7f(0x16a)]-0x1,_0x499ec4;_0x2ddd9f>=0x0;_0x2ddd9f--)(_0x499ec4=_0x16e3ab[_0x2ddd9f])&&(_0x95cedd=_0x499ec4(_0x95cedd)||_0x95cedd);return _0x95cedd;},pe=(_0x27946d,_0x28ca54)=>(_0x197f27,_0x48a04a)=>_0x28ca54(_0x197f27,_0x48a04a,_0x27946d),Se=(_0x5c1127=>(_0x5c1127[_0x5c1127[_0x6aebf(0x290)]=0x0]=_0x6aebf(0x290),_0x5c1127[_0x5c1127[_0x6aebf(0x2b6)]=0x1]=_0x6aebf(0x2b6),_0x5c1127[_0x5c1127[_0x6aebf(0x137)]=0x2]='OFFLINE',_0x5c1127[_0x5c1127[_0x6aebf(0xc2)]=0x3]=_0x6aebf(0xc2),_0x5c1127))(Se||{});const Gt={[me[_0x6aebf(0x188)]]:_0x6aebf(0x24b),[me['JOIN_ROOM_FULL']]:_0x6aebf(0x398),[me['JOIN_ROOM_NOT_EXISTS']]:_0x6aebf(0x1fd),[me[_0x6aebf(0x1d9)]]:_0x6aebf(0x1d6),[me[_0x6aebf(0x2de)]]:_0x6aebf(0x162)};let gt=class extends _0x4a9342{constructor(_0x528688,_0xc91634,_0xf2965b,_0xfac4ea,_0x269355,_0x1edd86,_0x3c3046,_0x35dcd9,_0x3275d2){var _0x3436e8=_0x6aebf;super(),N(this,'_sessionStatus$',new _0x57bee0(0x0)),N(this,'sessionStatus$',this[_0x3436e8(0x283)][_0x3436e8(0x28b)]()),N(this,_0x3436e8(0x36c),new _0x2f4bdc()),N(this,_0x3436e8(0x32f),this[_0x3436e8(0x36c)][_0x3436e8(0x28b)]()),N(this,_0x3436e8(0xa3)),N(this,_0x3436e8(0xd3)),N(this,'_collaborationTimeoutTimer'),N(this,_0x3436e8(0xed),!0x1),N(this,_0x3436e8(0x2fd),null),(this[_0x3436e8(0x377)]=_0x528688,this[_0x3436e8(0x186)]=_0xf2965b,this['_configService']=_0xfac4ea,this[_0x3436e8(0x95)]=_0x269355,this[_0x3436e8(0x267)]=_0x1edd86,this['_commentService']=_0x3c3046,this['_collaborationUIEventService']=_0x35dcd9,this[_0x3436e8(0x204)]=_0x3275d2,this[_0x3436e8(0xed)]=!!this['_telemetryService'],_0xc91634['pipe'](_0x27e979(this['dispose$']))['subscribe'](_0x459473=>{var _0x327bc1=_0x3436e8,_0xb99164;typeof _0x459473>'u'||(this[_0x327bc1(0xa3)]=_0x459473,_0x459473?(this[_0x327bc1(0x12c)](_0x459473),this[_0x327bc1(0xd3)]=_0x459473[_0x327bc1(0x38e)][_0x327bc1(0x18c)](_0x49661b=>{var _0x4631aa=_0x327bc1;_0x49661b[_0x4631aa(0x104)]===this['_unitID']&&this[_0x4631aa(0x293)](_0x49661b);})):(this[_0x327bc1(0x16e)](),this[_0x327bc1(0x283)][_0x327bc1(0x312)](0x2),(_0xb99164=this['_socketMessageSubscription'])==null||_0xb99164[_0x327bc1(0x119)](),this[_0x327bc1(0xd3)]=null));}));}get[_0x6aebf(0x147)](){var _0x223912=_0x6aebf;return this[_0x223912(0x283)][_0x223912(0x354)]();}[_0x6aebf(0x9d)](){var _0x692513=_0x6aebf,_0x50d9a2,_0x4ce7b5;return(_0x4ce7b5=(_0x50d9a2=this['_socket'])==null?void 0x0:_0x50d9a2[_0x692513(0x386)])!=null?_0x4ce7b5:null;}[_0x6aebf(0x29c)](){var _0x2ea081=_0x6aebf;super['dispose'](),this[_0x2ea081(0x1df)][_0x2ea081(0x312)](),this[_0x2ea081(0x1df)]['complete']();}[_0x6aebf(0x370)](){var _0x3a4a54=_0x6aebf,_0x416db8,_0x423c92;this[_0x3a4a54(0x16e)](),(_0x416db8=this[_0x3a4a54(0xa3)])==null||_0x416db8[_0x3a4a54(0x125)]({'cmd':F[_0x3a4a54(0x1ef)],'data':{'roomID':this['_unitID']}}),(_0x423c92=this['_socket'])==null||_0x423c92[_0x3a4a54(0x370)](),this[_0x3a4a54(0x36c)][_0x3a4a54(0xee)](),this['_sessionStatus$'][_0x3a4a54(0xee)](),this[_0x3a4a54(0x29c)]();}[_0x6aebf(0x293)](_0x36391d){var _0x51e903=_0x6aebf;_0x36391d[_0x51e903(0x294)]===F[_0x51e903(0x308)]?this[_0x51e903(0xac)](_0x36391d):_0x36391d[_0x51e903(0x294)]===F['RECV']&&this[_0x51e903(0x376)](_0x36391d);}['_joinRoom'](_0xfb82b7){var _0x2a3440=_0x6aebf;this[_0x2a3440(0x283)][_0x2a3440(0x312)](0x1),_0xfb82b7[_0x2a3440(0x125)]({'cmd':F[_0x2a3440(0x308)],'routeKey':this[_0x2a3440(0x377)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2a3440(0x377)]}]}});}['_onJoinRoomEvent'](_0x3849e6){var _0x4c73be=_0x6aebf,_0x40d50a;if(_0x3849e6[_0x4c73be(0x1f2)]in Gt){this['_collaborationUIEventService']['emitEvent']({'id':ne['JOIN_ROOM_FAILED'],'data':Gt[_0x3849e6[_0x4c73be(0x1f2)]]}),this[_0x4c73be(0x283)]['next'](0x2);return;}this['_sessionStatus$'][_0x4c73be(0x312)](0x3);const _0x21fcb7=(_0x40d50a=_0x3849e6[_0x4c73be(0x364)][_0x4c73be(0x25c)][this[_0x4c73be(0x377)]])==null?void 0x0:_0x40d50a['members'];_0x21fcb7&&_0x21fcb7[_0x4c73be(0x14b)](_0x595ff4=>this[_0x4c73be(0x267)][_0x4c73be(0x13d)](this[_0x4c73be(0x377)],_0x595ff4));}[_0x6aebf(0x376)](_0x362712){var _0x2e730a=_0x6aebf;try{const _0x216dc7=_0x362712[_0x2e730a(0x364)];switch(_0x216dc7['eventID']){case _0x4876af['USERS_ENTER']:this[_0x2e730a(0x20b)](_0x216dc7),this['_event$'][_0x2e730a(0x312)](_0x216dc7);break;case _0x4876af['USERS_LEAVE']:this[_0x2e730a(0x363)](_0x216dc7),this[_0x2e730a(0x36c)]['next'](_0x216dc7);break;case _0x4876af['CHANGESET_ACK']:case _0x4876af[_0x2e730a(0x2e9)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x2e730a(0x250)](),this[_0x2e730a(0x36c)][_0x2e730a(0x312)](_0x216dc7);break;case _0x4876af[_0x2e730a(0xd7)]:this['_logService']['error']('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x216dc7)),this['_event$'][_0x2e730a(0x312)](_0x216dc7);break;case _0x4876af[_0x2e730a(0xc5)]:this[_0x2e730a(0x33f)][_0x2e730a(0x315)](_0x216dc7[_0x2e730a(0x364)]),this[_0x2e730a(0x36c)][_0x2e730a(0x312)](_0x216dc7);break;default:this[_0x2e730a(0x36c)]['next'](_0x216dc7);}}catch(_0x5d51f2){this[_0x2e730a(0x186)][_0x2e730a(0x232)](_0x5d51f2,_0x362712);}}[_0x6aebf(0x20b)](_0x2a2d3d){var _0x239886=_0x6aebf;this['_memberService'][_0x239886(0x13d)](this[_0x239886(0x377)],_0x2a2d3d['data']);}[_0x6aebf(0x363)](_0x4acb5b){var _0x497f85=_0x6aebf;this[_0x497f85(0x267)]['removeMember'](this['_unitID'],_0x4acb5b[_0x497f85(0x364)][_0x497f85(0x386)]);}async[_0x6aebf(0x125)](_0x55616c,_0x13a7b7){var _0x45390d=_0x6aebf;if(this['sessionStatus']!==0x3||!this[_0x45390d(0xa3)])throw new Error(_0x45390d(0xde));try{_0x55616c[_0x45390d(0x305)]===_0x4876af[_0x45390d(0x2bd)]&&(this[_0x45390d(0x193)](),this[_0x45390d(0x260)](_0x55616c)),this[_0x45390d(0xa3)][_0x45390d(0x125)]({'cmd':F[_0x45390d(0x121)],'routeKey':_0x13a7b7,'routeType':'','data':_0x55616c});}catch(_0x2cbee8){this[_0x45390d(0x186)][_0x45390d(0x232)](_0x2cbee8);}}[_0x6aebf(0x193)](){var _0x58ea63=_0x6aebf,_0x4bcc95;this[_0x58ea63(0x348)]=setTimeout(()=>{var _0x4fd270=_0x58ea63;this['_collaborationTimeoutTimer']=null,this[_0x4fd270(0x1cf)]['emitEvent']({'id':ne[_0x4fd270(0xf8)]});},(_0x4bcc95=this[_0x58ea63(0x285)][_0x58ea63(0x30d)](fi))!=null?_0x4bcc95:vi);}[_0x6aebf(0x250)](){var _0x5464c1=_0x6aebf;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x5464c1(0x348)]),this[_0x5464c1(0x348)]=null);}[_0x6aebf(0x260)](_0x12bc9f){var _0x33bd6f=_0x6aebf;if(!this['_shouldReportTelemetry'])return;const {data:_0xf2b11c}=_0x12bc9f,{unitID:_0x4ba742,changeset:_0x4703dc}=_0xf2b11c,{mutations:_0x45323f,type:_0x44a9a8}=_0x4703dc;this[_0x33bd6f(0x2fd)]={'unitId':_0x4ba742,'type':_0x44a9a8,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ks(_0x45323f)};}[_0x6aebf(0xe1)](){var _0x1fab9b=_0x6aebf;if(this[_0x1fab9b(0xed)]){if(!this[_0x1fab9b(0x2fd)]){this[_0x1fab9b(0x186)][_0x1fab9b(0x232)]('[CollaborationSession]',_0x1fab9b(0x1d8));return;}this['_telemetryInfo'][_0x1fab9b(0x270)]=performance['now'](),this[_0x1fab9b(0x2fd)][_0x1fab9b(0x292)]=this['_telemetryInfo'][_0x1fab9b(0x270)]-this[_0x1fab9b(0x2fd)][_0x1fab9b(0x291)],this[_0x1fab9b(0x204)][_0x1fab9b(0x1ee)](xs,this[_0x1fab9b(0x2fd)]),this['_telemetryInfo']=null;}}[_0x6aebf(0x16e)](){this['_telemetryInfo']=null;}};gt=Fs([pe(0x2,_0x26f867),pe(0x3,_0x5317b8),pe(0x4,_0x18bb67(_0x21749b)),pe(0x5,_0x18bb67(Pe)),pe(0x6,_0x18bb67(Si)),pe(0x7,_0x18bb67(ve)),pe(0x8,_0x870f26(_0x8ee61a))],gt);var Vs=Object[_0x6aebf(0x2ec)],Gs=(_0x43bfd6,_0x34774b,_0x553192,_0x469aaf)=>{var _0x84183f=_0x6aebf;for(var _0x3c8b6e=_0x469aaf>0x1?void 0x0:_0x469aaf?Vs(_0x34774b,_0x553192):_0x34774b,_0x721c63=_0x43bfd6[_0x84183f(0x16a)]-0x1,_0xf21c43;_0x721c63>=0x0;_0x721c63--)(_0xf21c43=_0x43bfd6[_0x721c63])&&(_0x3c8b6e=_0xf21c43(_0x3c8b6e)||_0x3c8b6e);return _0x3c8b6e;},Re=(_0x5c819f,_0x5d2df5)=>(_0x24e0bc,_0x5eea1b)=>_0x5d2df5(_0x24e0bc,_0x5eea1b,_0x5c819f);let Le=class extends _0xd3ae1c{constructor(_0x4d8e7a,_0xacd047,_0x2290f1,_0x223eb7,_0x29b69f,_0x338c4d){var _0x4e0b43=_0x6aebf;super(),N(this,_0x4e0b43(0x26f),new _0x57bee0(void 0x0)),N(this,_0x4e0b43(0x296),this['_socket$']['asObservable']()),N(this,_0x4e0b43(0x35e),null),N(this,_0x4e0b43(0x2f0),new Map()),N(this,_0x4e0b43(0x106),new _0x57bee0(Se['IDLE'])),N(this,_0x4e0b43(0x367),this[_0x4e0b43(0x106)][_0x4e0b43(0x28b)]()),N(this,'_socketReady',!0x1),N(this,_0x4e0b43(0x140)),N(this,'_retryCount',0x0),N(this,_0x4e0b43(0x116)),N(this,_0x4e0b43(0x332)),(this[_0x4e0b43(0x33b)]=_0x4d8e7a,this[_0x4e0b43(0x186)]=_0xacd047,this[_0x4e0b43(0x285)]=_0x2290f1,this['_socketService']=_0x223eb7,this[_0x4e0b43(0x1cf)]=_0x29b69f,this[_0x4e0b43(0x13e)]=_0x338c4d,this[_0x4e0b43(0xd4)]());}get[_0x6aebf(0xa3)](){return this['_socket$']['getValue']();}[_0x6aebf(0xd4)](){var _0x317a1a=_0x6aebf;this['_networkConditionService']&&this[_0x317a1a(0x361)](this[_0x317a1a(0x13e)][_0x317a1a(0x20d)]['subscribe'](_0x295e3c=>{var _0x39b8ac=_0x317a1a;_0x295e3c&&!this['_socket']&&this[_0x39b8ac(0x223)](),_0x295e3c||this[_0x39b8ac(0x225)]();}));}[_0x6aebf(0x29c)](){var _0x496be5=_0x6aebf;super['dispose'](),this[_0x496be5(0x343)](),this[_0x496be5(0x2bb)](),this[_0x496be5(0x38b)](),this[_0x496be5(0x2f0)][_0x496be5(0x14b)](_0x59f97d=>_0x59f97d['dispose']()),this['_sessions']['clear'](),this[_0x496be5(0x106)][_0x496be5(0xee)]();}async[_0x6aebf(0x25d)](_0x2856cb){var _0x1b328a=_0x6aebf;if(this[_0x1b328a(0x2f0)][_0x1b328a(0x31b)](_0x2856cb))return this['_sessions'][_0x1b328a(0x346)](_0x2856cb);this['_tryEnsureSocket']();const _0x3e1b96=this[_0x1b328a(0x33b)][_0x1b328a(0x322)](gt,_0x2856cb,this[_0x1b328a(0x26f)][_0x1b328a(0x28b)]());return this['_sessions'][_0x1b328a(0x17a)](_0x2856cb,_0x3e1b96),_0x3e1b96;}[_0x6aebf(0x307)](_0x45921b){var _0x4d19e4=_0x6aebf,_0x74029a;const _0x1e7f53=this[_0x4d19e4(0x2f0)]['get'](_0x45921b);_0x1e7f53&&(this[_0x4d19e4(0x2f0)]['delete'](_0x45921b),_0x1e7f53[_0x4d19e4(0x370)]()),this['_sessions'][_0x4d19e4(0x226)]||(_0x74029a=this[_0x4d19e4(0xa3)])==null||_0x74029a[_0x4d19e4(0x370)]();}['reconnect'](){var _0x5c780a=_0x6aebf;this[_0x5c780a(0x173)]=0x0,this[_0x5c780a(0x343)](),this[_0x5c780a(0x298)]();}[_0x6aebf(0x343)](){var _0x265c5b=_0x6aebf;this[_0x265c5b(0x140)]!=null&&(clearTimeout(this[_0x265c5b(0x140)]),this[_0x265c5b(0x140)]=null);}async[_0x6aebf(0x213)](){var _0x5e262e=_0x6aebf,_0x1b041d,_0x3f8915;const _0x3095c6=this[_0x5e262e(0x285)][_0x5e262e(0x30d)](gs),_0x105f5f=this[_0x5e262e(0x285)][_0x5e262e(0x30d)](K),_0x3acb5f=(_0x3f8915=(_0x1b041d=_0x105f5f==null?void 0x0:_0x105f5f[_0x5e262e(0x338)])!=null?_0x1b041d:_0x3095c6)!=null?_0x3f8915:Ss,_0x411426=await this[_0x5e262e(0x17c)][_0x5e262e(0x215)](_0x3acb5f);return this[_0x5e262e(0x35e)]=_0x411426,_0x411426;}async[_0x6aebf(0x2dc)](){var _0x2da535=_0x6aebf,_0x3bf460,_0x4a9259;try{const _0x504198=(_0x4a9259=(_0x3bf460=this[_0x2da535(0xa3)])!=null?_0x3bf460:this[_0x2da535(0x35e)])!=null?_0x4a9259:await this['_createSocket']();if(_0x504198){const _0x4bd675=_0x504198[_0x2da535(0x125)];_0x504198[_0x2da535(0x125)]=_0xc6ea29=>(this[_0x2da535(0x149)](),_0x4bd675[_0x2da535(0x136)](_0x504198,[_0xc6ea29])),_0x504198[_0x2da535(0x38e)]['subscribe'](_0x353f94=>this[_0x2da535(0x341)](_0x504198,_0x353f94)),_0x504198[_0x2da535(0x14a)][_0x2da535(0x351)](_0x2966d8(0x1))[_0x2da535(0x18c)](_0x4f0613=>this['_logService'][_0x2da535(0x232)](_0x2da535(0x17f),_0x4f0613)),_0x504198[_0x2da535(0x2c0)][_0x2da535(0x351)](_0x2966d8(0x1))[_0x2da535(0x18c)](()=>{var _0xabceaa=_0x2da535;this[_0xabceaa(0x108)](_0x504198);}),_0x504198[_0x2da535(0x1cc)][_0x2da535(0x351)](_0x2966d8(0x1))[_0x2da535(0x18c)](_0x4426ef=>{var _0x26dfc7=_0x2da535;this[_0x26dfc7(0x186)]['debug']('[CollaborationSessionService]',_0x26dfc7(0x2c9),_0x4426ef),this[_0x26dfc7(0x320)]();});}}catch(_0x2ee299){this['_logService'][_0x2da535(0x232)](_0x2ee299),this[_0x2da535(0x320)]();}}[_0x6aebf(0x108)](_0x25615a){var _0x45b692=_0x6aebf;this[_0x45b692(0x186)][_0x45b692(0x180)](_0x45b692(0xb2),_0x45b692(0x371)),_0x25615a[_0x45b692(0x125)]({'cmd':F[_0x45b692(0x98)]}),this[_0x45b692(0x149)]();}['_onOffline'](){var _0x360743=_0x6aebf;this[_0x360743(0x127)]=!0x1,this['_candidateSocket']=null,this[_0x360743(0x106)][_0x360743(0x312)](Se[_0x360743(0x137)]),this[_0x360743(0x26f)]['next'](null),this[_0x360743(0x2bb)](),this[_0x360743(0x38b)]();}[_0x6aebf(0x320)](){var _0x274902=_0x6aebf,_0x2596d0;this[_0x274902(0x225)](),this['_retryCount']<((_0x2596d0=this['_configService'][_0x274902(0x30d)](Cs))!=null?_0x2596d0:Rs)?(this['_collaborationUIEventService'][_0x274902(0x247)]({'id':ne['SOCKET_FAILED_RETRY']}),this[_0x274902(0x298)]()):this[_0x274902(0x1cf)][_0x274902(0x247)]({'id':ne[_0x274902(0x1a1)]});}[_0x6aebf(0x298)](){var _0x271c11=_0x6aebf,_0xe6ca48;const _0x1ed7dc=this[_0x271c11(0x173)],_0x4892d8=this['_configService']['getConfig'](K),_0x5c4061=_0x1ed7dc===0x0?0x0:((_0xe6ca48=_0x4892d8==null?void 0x0:_0x4892d8[_0x271c11(0x1b5)])!=null?_0xe6ca48:Ts)*0x2**_0x1ed7dc;this[_0x271c11(0x140)]=setTimeout(()=>{var _0x58cf22=_0x271c11;clearTimeout(this[_0x58cf22(0x140)]),this[_0x58cf22(0x140)]=null,this[_0x58cf22(0x2dc)]();},_0x5c4061),this['_retryCount']+=0x1;}[_0x6aebf(0x341)](_0x367469,_0x3c1e7e){var _0x4cb1fe=_0x6aebf;const {cmd:_0x18b5dd}=_0x3c1e7e;_0x18b5dd===F['HELLO']&&!this[_0x4cb1fe(0x127)]&&(_0x367469[_0x4cb1fe(0x386)]=_0x3c1e7e[_0x4cb1fe(0x364)][_0x4cb1fe(0x386)],this[_0x4cb1fe(0x26f)][_0x4cb1fe(0x312)](_0x367469),this[_0x4cb1fe(0x106)][_0x4cb1fe(0x312)](Se[_0x4cb1fe(0xc2)]),this['_socketReady']=!0x0,this[_0x4cb1fe(0x35e)]=null),_0x18b5dd===F[_0x4cb1fe(0x303)]&&this[_0x4cb1fe(0x2bb)](),this[_0x4cb1fe(0x149)]();}[_0x6aebf(0x149)](){var _0x3c446f=_0x6aebf,_0x5c140c;this[_0x3c446f(0x38b)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x3c446f(0x22a)](),(_0x5c140c=this[_0x3c446f(0x285)]['getConfig'](Es))!=null?_0x5c140c:Is);}[_0x6aebf(0x22a)](){var _0x6de55c=_0x6aebf;this['_socket'][_0x6de55c(0x125)]({'cmd':F['HEARTBEAT']}),this[_0x6de55c(0x2be)]();}[_0x6aebf(0x2be)](){var _0x2092ce=_0x6aebf,_0x116b9d;this[_0x2092ce(0x332)]=setTimeout(()=>this[_0x2092ce(0x320)](),(_0x116b9d=this[_0x2092ce(0x285)][_0x2092ce(0x30d)](fi))!=null?_0x116b9d:vi);}[_0x6aebf(0x38b)](){var _0x53a5db=_0x6aebf;this[_0x53a5db(0x116)]!=null&&(clearTimeout(this[_0x53a5db(0x116)]),this[_0x53a5db(0x116)]=null);}[_0x6aebf(0x2bb)](){var _0x29ef7d=_0x6aebf;this[_0x29ef7d(0x332)]!=null&&(clearTimeout(this[_0x29ef7d(0x332)]),this['_timeoutTimer']=null);}};Le=Gs([Re(0x0,_0x18bb67(_0x11fbde)),Re(0x1,_0x26f867),Re(0x2,_0x5317b8),Re(0x3,gi),Re(0x4,_0x18bb67(ve)),Re(0x5,_0x870f26(Us))],Le);const J=_0x31fd00('collaboration-client.local-cache-service');function Pr(_0x1100e8){return'unit-cache-'+_0x1100e8;}var Ws=Object['getOwnPropertyDescriptor'],Ys=(_0x19dea6,_0x257da1,_0x149574,_0x1ff07c)=>{var _0x1d68b3=_0x6aebf;for(var _0x507e79=_0x1ff07c>0x1?void 0x0:_0x1ff07c?Ws(_0x257da1,_0x149574):_0x257da1,_0x592123=_0x19dea6[_0x1d68b3(0x16a)]-0x1,_0x27fb4d;_0x592123>=0x0;_0x592123--)(_0x27fb4d=_0x19dea6[_0x592123])&&(_0x507e79=_0x27fb4d(_0x507e79)||_0x507e79);return _0x507e79;},ut=(_0x4a8999,_0x1041bc)=>(_0x311aaa,_0x59fd9d)=>_0x1041bc(_0x311aaa,_0x59fd9d,_0x4a8999);function Ks(_0x5645de){var _0x5c32f2=_0x6aebf;const {unitID:_0x42bfd4,mutations:_0x93fd17}=_0x5645de;return{'unitId':_0x42bfd4,'subUnitId':_0x93fd17[0x0][_0x5c32f2(0x388)][_0x5c32f2(0x26a)]};}let it=class{constructor(_0x223292,_0x34fba0,_0x23edc4){var _0x30c87e=_0x6aebf;this[_0x30c87e(0x33b)]=_0x223292,this[_0x30c87e(0x35d)]=_0x34fba0,this[_0x30c87e(0x28d)]=_0x23edc4;}[_0x6aebf(0xca)](_0x549178){var _0x4dabfb=_0x6aebf,_0x36e181,_0x555c6c,_0x11eee0,_0x53f590;const _0x35ffc1=this[_0x4dabfb(0x33b)][_0x4dabfb(0x346)](_0x475ccb),{unitId:_0x21372d,subUnitId:_0x30c6ac}=Ks(_0x549178),_0x65d763=_0x35ffc1==null?void 0x0:_0x35ffc1['getWorkbookSelections'](_0x21372d)['getCurrentSelections'](),_0x375444=(_0x555c6c=(_0x36e181=this[_0x4dabfb(0x28d)][_0x4dabfb(0x2a9)](_0x21372d))==null?void 0x0:_0x36e181[_0x4dabfb(0x27c)]())==null?void 0x0:_0x555c6c['getSheetId']();if(_0x65d763[_0x4dabfb(0x16a)]===0x0||!_0x21372d||!_0x30c6ac)return;const _0x51963c=[{'id':_0x568604['id'],'params':{'unitId':_0x21372d,'subUnitId':_0x375444,'selections':_0x11388e['deepClone'](_0x65d763)}}],_0x38eac3=this[_0x4dabfb(0x35d)][_0x4dabfb(0x228)](_0x549178,_0x51963c);if(!_0x4cda53(_0x38eac3))throw _0x38eac3['error'];const _0xab85ee=(_0x53f590=(_0x11eee0=_0x38eac3[_0x4dabfb(0x29b)][0x0])==null?void 0x0:_0x11eee0[_0x4dabfb(0x388)])==null?void 0x0:_0x53f590[_0x4dabfb(0x219)];if(Array[_0x4dabfb(0x396)](_0xab85ee)&&_0xab85ee[_0x4dabfb(0x16a)]){if(_0xab85ee[_0x4dabfb(0x16a)]===_0x51963c[0x0]['params'][_0x4dabfb(0x219)][_0x4dabfb(0x16a)]&&_0xab85ee[_0x4dabfb(0x2ca)]((_0x13994a,_0x322bff)=>_0x4ab498[_0x4dabfb(0x2fe)](_0x13994a[_0x4dabfb(0x2e2)],_0x51963c[0x0][_0x4dabfb(0x388)][_0x4dabfb(0x219)][_0x322bff][_0x4dabfb(0x2e2)])))return;this[_0x4dabfb(0x33b)][_0x4dabfb(0x346)](_0x25bbcf)[_0x4dabfb(0x1dc)](_0x568604['id'],{'unitId':_0x21372d,'subUnitId':_0x375444,'selections':_0xab85ee});}}};it=Ys([ut(0x0,_0x18bb67(_0x11fbde)),ut(0x1,_0x55d63a),ut(0x2,_0x552064)],it);const ht=_0x31fd00(_0x6aebf(0x395));var Ei=(_0x5aa599=>(_0x5aa599[_0x5aa599[_0x6aebf(0xdd)]=0x0]=_0x6aebf(0xdd),_0x5aa599[_0x5aa599[_0x6aebf(0x1fc)]=0x1]='OTHER_CLIENTS_EDITING',_0x5aa599))(Ei||{});const qs=new Set([_0x15c086['id']]);function Wt(_0x23ff84,_0x30f351,_0x1c2a8a,_0xb957b0,_0x5a0485){var _0x4d7c52=_0x6aebf,_0x3281ec,_0x12654d,_0x1c14c3,_0x274925;const _0x25e445=[];for(const _0x164afb of _0x23ff84)if(qs['has'](_0x164afb['id'])){if(_0x25e445[_0x4d7c52(0x16a)]>0x0)break;_0x25e445['push'](_0x164afb);break;}else _0x25e445[_0x4d7c52(0xce)](_0x164afb);const _0x3de920=(_0x12654d=(_0x3281ec=_0x5a0485['getCurrentUser']())==null?void 0x0:_0x3281ec[_0x4d7c52(0x191)])!=null?_0x12654d:'unknown',_0x1383b0=(_0x274925=(_0x1c14c3=_0x5a0485['getCurrentUser']())==null?void 0x0:_0x1c14c3[_0x4d7c52(0x386)])!=null?_0x274925:_0x4d7c52(0x31c);return{'changeset':{'unitID':_0x30f351,'type':_0x430aac(_0x1c2a8a[_0x4d7c52(0x374)](_0x30f351)),'baseRev':_0xb957b0[_0x4d7c52(0x141)](_0x30f351),'revision':0x0,'userID':_0x3de920,'memberID':_0x1383b0,'mutations':_0x25e445},'pendingMutations':_0x23ff84['slice'](_0x25e445[_0x4d7c52(0x16a)])};}function zs(_0x3a2bc3,_0xcad82d,_0x2c4076,_0x287aea,_0x183ca1){var _0x172530=_0x6aebf,_0x33197e,_0x10c0fa,_0x185910,_0xf55853;const _0x3e8fd1=[_0x3a2bc3[_0x172530(0x325)]((_0x17a5ef,_0x4ff2cf)=>{var _0xf9a5b7=_0x172530,_0x424250;const {id:_0x369068}=_0x17a5ef,{id:_0x4d998b,type:_0x3bb857}=_0x4ff2cf,_0x4f381c=(_0x424250=_0x17a5ef[_0xf9a5b7(0x388)])!=null?_0x424250:{'actions':null},_0x10327b=_0x4ff2cf['params'];if(_0x369068&&_0x369068!==_0x4d998b)throw new Error(_0xf9a5b7(0x2d4)+_0x369068+_0xf9a5b7(0x112)+_0x4d998b+'.');return{..._0x17a5ef,'id':_0x4d998b,'type':_0x3bb857,'params':{'unitId':_0x10327b[_0xf9a5b7(0x128)],'textRanges':_0x10327b['textRanges'],'actions':_0x498440[_0xf9a5b7(0x161)](_0x4f381c[_0xf9a5b7(0x1a6)],_0x10327b[_0xf9a5b7(0x1a6)])}};},{})],_0x21637a=(_0x10c0fa=(_0x33197e=_0x183ca1[_0x172530(0x1a7)]())==null?void 0x0:_0x33197e[_0x172530(0x191)])!=null?_0x10c0fa:'unknown',_0x376c6a=(_0xf55853=(_0x185910=_0x183ca1[_0x172530(0x1a7)]())==null?void 0x0:_0x185910[_0x172530(0x386)])!=null?_0xf55853:_0x172530(0x31c);return{'changeset':{'unitID':_0xcad82d,'type':_0x430aac(_0x2c4076['getUnitType'](_0xcad82d)),'baseRev':_0x287aea[_0x172530(0x141)](_0xcad82d),'revision':0x0,'userID':_0x21637a,'memberID':_0x376c6a,'mutations':_0x3e8fd1},'pendingMutations':[]};}function Ii(_0x5079d6,_0x197160){var _0x14ba65=_0x6aebf;const _0x5b6e6c=new _0x2bb09b(0x1);return setTimeout(()=>_0x5b6e6c[_0x14ba65(0x312)](_0x197160),_0x5079d6),_0x5b6e6c[_0x14ba65(0x28b)]()[_0x14ba65(0x351)](_0x562006(0x1));}const Js={'id':_0x48ed62['id'],'type':_0x2863dc['MUTATION'],'params':{}};var Xs=Object[_0x6aebf(0x2ec)],Ie=(_0x1e3826,_0x41569e,_0xe6a9b,_0x2e5ad8)=>{var _0x4f38e0=_0x6aebf;for(var _0x5ade40=_0x2e5ad8>0x1?void 0x0:_0x2e5ad8?Xs(_0x41569e,_0xe6a9b):_0x41569e,_0x201abe=_0x1e3826[_0x4f38e0(0x16a)]-0x1,_0x477cf5;_0x201abe>=0x0;_0x201abe--)(_0x477cf5=_0x1e3826[_0x201abe])&&(_0x5ade40=_0x477cf5(_0x5ade40)||_0x5ade40);return _0x5ade40;},P=(_0x50daff,_0xa012f)=>(_0x20a2c1,_0x5ad5fb)=>_0xa012f(_0x20a2c1,_0x5ad5fb,_0x50daff),Ti=(_0x5c8738=>(_0x5c8738[_0x6aebf(0xf4)]=_0x6aebf(0x1d2),_0x5c8738[_0x6aebf(0x12a)]=_0x6aebf(0x368),_0x5c8738[_0x6aebf(0x130)]=_0x6aebf(0x372),_0x5c8738[_0x6aebf(0x2e3)]=_0x6aebf(0x10b),_0x5c8738[_0x6aebf(0x1f4)]=_0x6aebf(0xfb),_0x5c8738[_0x6aebf(0x287)]=_0x6aebf(0x91),_0x5c8738[_0x6aebf(0xf7)]=_0x6aebf(0x1e0),_0x5c8738['OFFLINE']=_0x6aebf(0xf9),_0x5c8738))(Ti||{});const Ci=0xea60;class Te{constructor(_0x32925d,_0x33f5b8,_0x17427b,_0x1d0d2c,_0x1c7924,_0x29b240,_0x228152,_0x4043c0,_0x484517){var _0x28a9d5=_0x6aebf;N(this,_0x28a9d5(0x118),null),N(this,_0x28a9d5(0x360),[]),(this[_0x28a9d5(0x196)]=_0x32925d,this['type']=_0x33f5b8,this[_0x28a9d5(0xfc)]=_0x1c7924,this[_0x28a9d5(0x319)]=_0x29b240,this[_0x28a9d5(0x1a4)]=_0x228152,this['_revisionService']=_0x4043c0,this[_0x28a9d5(0x20e)]=_0x484517,this['_awaitingChangeset']=_0x17427b,this[_0x28a9d5(0x360)]=_0x1d0d2c);}[_0x6aebf(0x146)](_0x1fb0b3){var _0x5b86ef=_0x6aebf;const _0x501fb5=this[_0x5b86ef(0xb8)]['getCurrentRevOfUnit'](this[_0x5b86ef(0x196)]);return _0x1fb0b3[_0x5b86ef(0x258)]>_0x501fb5+0x1?(this[_0x5b86ef(0xfc)]['onMissingChangesets']({'from':_0x501fb5,'to':_0x1fb0b3[_0x5b86ef(0x258)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x569423){var _0x5f4867=_0x6aebf;this[_0x5f4867(0x1a4)][_0x5f4867(0x276)](this['unitID'],_0x569423);}['_transformSelections'](_0x113373){var _0x1ab397=_0x6aebf,_0x2faff6,_0x547ef0;(_0x547ef0=(_0x2faff6=this[_0x1ab397(0xfc)])[_0x1ab397(0x299)])==null||_0x547ef0[_0x1ab397(0x382)](_0x2faff6,_0x113373);}[_0x6aebf(0x1bf)](_0xb8c36e){var _0x356263=_0x6aebf,_0x144f31,_0x532395;return(_0x532395=(_0x144f31=this['_handler'])[_0x356263(0x1a9)])==null?void 0x0:_0x532395[_0x356263(0x382)](_0x144f31,_0xb8c36e);}['_transformStateCache'](_0x1e4df3){var _0x938138=_0x6aebf,_0x20597c,_0x535020;return(_0x535020=(_0x20597c=this['_handler'])['onTransformState'])==null?void 0x0:_0x535020[_0x938138(0x382)](_0x20597c,_0x1e4df3);}['_transformRemoteChangesetByIMECache'](_0x179bc7){var _0x4df08b=_0x6aebf,_0x1de03b,_0x3468bf,_0x22e738;return(_0x22e738=(_0x3468bf=(_0x1de03b=this[_0x4df08b(0xfc)])[_0x4df08b(0x1ce)])==null?void 0x0:_0x3468bf[_0x4df08b(0x382)](_0x1de03b,_0x179bc7))!=null?_0x22e738:_0x179bc7;}['_transformRemoteChangesetByStateCache'](_0x20914f){var _0x38166f=_0x6aebf,_0x2dc41b,_0x5acb14,_0x484d3f;return(_0x484d3f=(_0x5acb14=(_0x2dc41b=this[_0x38166f(0xfc)])[_0x38166f(0x34c)])==null?void 0x0:_0x5acb14[_0x38166f(0x382)](_0x2dc41b,_0x20914f))!=null?_0x484d3f:_0x20914f;}['_syncEditingCollabCursor'](_0x218cb3){var _0x599844=_0x6aebf,_0x431daa,_0x453636;if(this[_0x599844(0x171)]===Z[_0x599844(0x366)]){const {unitID:_0x518fab,mutations:_0x14708b,memberID:_0x528a14}=_0x218cb3,_0x53e6bd=_0x14708b[0x0][_0x599844(0x388)][_0x599844(0x236)];Array['isArray'](_0x53e6bd)&&_0x53e6bd[_0x599844(0x16a)]>0x0&&((_0x453636=(_0x431daa=this[_0x599844(0xfc)])[_0x599844(0x28e)])==null||_0x453636['call'](_0x431daa,{'unitID':_0x518fab,'memberID':_0x528a14,'textRanges':_0x53e6bd}));}}[_0x6aebf(0x145)](){var _0x1e4d5b=_0x6aebf,_0x501a16;(_0x501a16=this[_0x1e4d5b(0x20e)])==null||_0x501a16['updateOfflineData'](this['unitID'],this[_0x1e4d5b(0x171)],this[_0x1e4d5b(0x118)],this[_0x1e4d5b(0x360)]);}[_0x6aebf(0xa0)](){var _0x875768=_0x6aebf;return this['_revisionService'][_0x875768(0x141)](this[_0x875768(0x196)]);}[_0x6aebf(0x22b)](){var _0x750cb6=_0x6aebf;this[_0x750cb6(0xb8)]['incrementRevOfUnit'](this[_0x750cb6(0x196)]);}[_0x6aebf(0x22e)](_0xdd7141){var _0x396c06=_0x6aebf,_0x4bfba6;let _0x204c18=this['_transformRemoteChangesetByIMECache'](_0xdd7141);_0x204c18=this[_0x396c06(0x179)](_0x204c18);const _0xbd3f1c=_0x5c447e(_0x204c18[_0x396c06(0x2ae)],this['_commandService'],{'fromCollab':!0x0});if(!_0xbd3f1c[_0x396c06(0x345)])throw _0xbd3f1c[_0x396c06(0x232)]instanceof Error?_0xbd3f1c[_0x396c06(0x232)]:new Error((_0x4bfba6=_0xbd3f1c[_0x396c06(0x232)])!=null?_0x4bfba6:'[CollaborationState]:\x20apply\x20error!');this[_0x396c06(0x1bf)](_0x204c18),this[_0x396c06(0x289)](_0x204c18),this[_0x396c06(0x2ef)](_0xdd7141),this[_0x396c06(0x19a)](_0x204c18),this[_0x396c06(0x2d0)](_0x204c18),this[_0x396c06(0x22b)]();}}let ye=class extends Te{constructor(_0x1bc181,_0x58d52d,_0x5aed2b,_0x27f384,_0x218b22,_0xbeb801,_0x384392,_0x25e0ae,_0x42c702,_0x3cbb06){var _0x2f5cd2=_0x6aebf;super(_0x1bc181,_0x58d52d,null,[],_0x5aed2b,_0x384392,_0xbeb801,_0x27f384,_0x3cbb06),N(this,_0x2f5cd2(0x2c2),'synced'),(this[_0x2f5cd2(0x33b)]=_0x218b22,this[_0x2f5cd2(0x186)]=_0x25e0ae,this['_transformService']=_0x42c702,this['localCacheService']=_0x3cbb06);}[_0x6aebf(0x99)](_0x26b13b){var _0x4e82d6=_0x6aebf;const _0x37d36b=this[_0x4e82d6(0x33b)][_0x4e82d6(0x322)](re,this['unitID'],this[_0x4e82d6(0x171)],[_0x26b13b],this[_0x4e82d6(0xfc)]);return _0x37d36b[_0x4e82d6(0xba)](),_0x37d36b['_updateLocalCache'](),_0x37d36b;}[_0x6aebf(0x12d)](_0x1736e5){var _0x333573=_0x6aebf;if(this[_0x333573(0x146)](_0x1736e5))return this['_injector']['createInstance'](Q,this[_0x333573(0x196)],this[_0x333573(0x171)],null,[],null,[_0x1736e5],this[_0x333573(0xfc)]);try{const _0x300cbf=this[_0x333573(0x35d)][_0x333573(0x228)](_0x1736e5,[Js]);if(_0x4cda53(_0x300cbf)){const {c1Prime:_0x4ccf53}=_0x300cbf;return this[_0x333573(0x22e)](_0x4ccf53),this;}throw _0x300cbf[_0x333573(0x232)];}catch(_0x33babd){return this[_0x333573(0x186)][_0x333573(0x232)](_0x33babd),this['_onConflict'](!0x1);}}[_0x6aebf(0x120)](_0x12cc77){var _0x3faaf9=_0x6aebf;return this[_0x3faaf9(0x33b)]['createInstance'](le,this[_0x3faaf9(0x196)],this[_0x3faaf9(0x171)],null,[],this[_0x3faaf9(0xfc)],_0x12cc77);}[_0x6aebf(0x357)](){var _0xb6f8c=_0x6aebf;throw new Error(_0xb6f8c(0x1be));}[_0x6aebf(0x2c6)](){var _0x46fc0d=_0x6aebf;throw new Error(_0x46fc0d(0x19f));}['onRemoteRetry'](){return this;}[_0x6aebf(0x2e0)](){var _0x10fd89=_0x6aebf;return this[_0x10fd89(0x33b)][_0x10fd89(0x322)](ue,this['unitID'],this[_0x10fd89(0x171)],null,[],this[_0x10fd89(0xfc)]);}[_0x6aebf(0x2c5)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x6aebf(0x1b6)](){var _0x2746cf=_0x6aebf;const _0x163dce=this[_0x2746cf(0xb8)][_0x2746cf(0x141)](this[_0x2746cf(0x196)]);return this[_0x2746cf(0xfc)][_0x2746cf(0x96)]({'from':_0x163dce,'to':0x0}),this[_0x2746cf(0x33b)][_0x2746cf(0x322)](Q,this['unitID'],this[_0x2746cf(0x171)],null,[],null,[],this['_handler']);}};ye=Ie([P(0x3,_0x18bb67(_0x3293cd)),P(0x4,_0x18bb67(_0x11fbde)),P(0x5,_0x302ea5),P(0x6,_0x25bbcf),P(0x7,_0x26f867),P(0x8,_0x55d63a),P(0x9,_0x870f26(J))],ye);let re=class extends Te{constructor(_0x6330f6,_0x4ecaa4,_0x5c2962,_0x3aca68,_0x54f253,_0x251109,_0x717a4d,_0x587621,_0x11d4dc,_0x24c969,_0x2a5d88,_0x4b5f25,_0x58a975,_0x133cfd){var _0x429853=_0x6aebf;super(_0x6330f6,_0x4ecaa4,null,_0x5c2962,_0x3aca68,_0x11d4dc,_0x58a975,_0x251109,_0x133cfd),N(this,'status',_0x429853(0x372)),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x429853(0xc8),null),(this[_0x429853(0x33b)]=_0x54f253,this[_0x429853(0x267)]=_0x717a4d,this[_0x429853(0x186)]=_0x587621,this[_0x429853(0x285)]=_0x24c969,this[_0x429853(0x35d)]=_0x2a5d88,this[_0x429853(0x92)]=_0x4b5f25);}[_0x6aebf(0x99)](_0x460c76){var _0x2f5494=_0x6aebf;return this[_0x2f5494(0x360)][_0x2f5494(0xce)](_0x460c76),this[_0x2f5494(0x145)](),this;}[_0x6aebf(0x12d)](_0xbff5c8){var _0x24df26=_0x6aebf;if(this['_checkMissing'](_0xbff5c8))return this[_0x24df26(0x35b)](),this['_injector'][_0x24df26(0x322)](Q,this[_0x24df26(0x196)],this[_0x24df26(0x171)],null,this[_0x24df26(0x360)],null,[_0xbff5c8],this[_0x24df26(0xfc)]);try{const _0x14b11a=this['_transformService']['transformMutationsWithChangeset'](_0xbff5c8,this[_0x24df26(0x360)]);if(_0x4cda53(_0x14b11a)){const {c1Prime:_0x746075,m2Prime:_0x403e3f}=_0x14b11a;this['_executeRemoteChangeset'](_0x746075);const _0x5bd53b=this[_0x24df26(0x33b)][_0x24df26(0x322)](re,this[_0x24df26(0x196)],this['type'],_0x403e3f,this[_0x24df26(0xfc)]);this['_clearScheduledTask']();const _0x12565b=new Date()['getTime'](),_0x5b6759=this[_0x24df26(0x347)]?Math['max'](this[_0x24df26(0x347)]-_0x12565b,0x0):this[_0x24df26(0x97)]();return _0x5bd53b['_schedule'](_0x5b6759),_0x5bd53b;}throw _0x14b11a[_0x24df26(0x232)];}catch(_0x1ea137){return this['_logService']['error'](_0x1ea137),this[_0x24df26(0x120)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x6aebf(0x2c6)](){var _0x2ead25=_0x6aebf;throw new Error(_0x2ead25(0x26b));}['onRemoteRetry'](){return this;}[_0x6aebf(0x2e0)](){var _0x1e2931=_0x6aebf;return this[_0x1e2931(0x35b)](),this['_injector'][_0x1e2931(0x322)](ue,this['unitID'],this[_0x1e2931(0x171)],null,this[_0x1e2931(0x360)],this[_0x1e2931(0xfc)]);}['toggleOnline'](){return this;}[_0x6aebf(0xba)](_0x3c4fe5){var _0x57692a=_0x6aebf;const _0x5f2ba8=_0x3c4fe5!=null?_0x3c4fe5:this[_0x57692a(0x97)]();this['_scheduleCompleteTimestamp']=new Date()[_0x57692a(0x195)]()+_0x5f2ba8,this[_0x57692a(0xc8)]=setTimeout(()=>{var _0x60d9a0=_0x57692a;this[_0x60d9a0(0x35b)]();let _0x132177=null;switch(this[_0x60d9a0(0x171)]){case Z[_0x60d9a0(0x2c7)]:{_0x132177=Wt(this[_0x60d9a0(0x360)],this['unitID'],this[_0x60d9a0(0x92)],this[_0x60d9a0(0xb8)],this[_0x60d9a0(0x267)]);break;}case Z[_0x60d9a0(0x366)]:{this[_0x60d9a0(0x360)][_0x60d9a0(0x2ca)](_0x2a65b3=>_0x2a65b3['id']===_0xfd7d2c['id'])?_0x132177=zs(this[_0x60d9a0(0x360)],this['unitID'],this[_0x60d9a0(0x92)],this[_0x60d9a0(0xb8)],this['_memberService']):_0x132177=Wt(this['_pendingMutations'],this[_0x60d9a0(0x196)],this['_univerInstanceService'],this[_0x60d9a0(0xb8)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x60d9a0(0x171)]+_0x60d9a0(0x18e));}const {changeset:_0x3d5516,pendingMutations:_0x4cef85}=_0x132177;this[_0x60d9a0(0xfc)][_0x60d9a0(0x10e)](_0x3d5516);const _0x427109=_0x4cef85[_0x60d9a0(0x16a)]?this['_injector'][_0x60d9a0(0x322)](ae,this[_0x60d9a0(0x196)],this[_0x60d9a0(0x171)],_0x3d5516,_0x4cef85,this[_0x60d9a0(0xfc)],void 0x0):this[_0x60d9a0(0x33b)][_0x60d9a0(0x322)](_e,this[_0x60d9a0(0x196)],this['type'],_0x3d5516,this['_handler']);_0x427109[_0x60d9a0(0x145)](),this[_0x60d9a0(0xfc)][_0x60d9a0(0x134)](this,_0x427109);},_0x5f2ba8);}[_0x6aebf(0x97)](){var _0x48b836=_0x6aebf,_0x2680ec;const _0x4511ca=this['_configService'][_0x48b836(0x30d)](K);return(_0x2680ec=_0x4511ca==null?void 0x0:_0x4511ca[_0x48b836(0x1c5)])!=null?_0x2680ec:ms;}[_0x6aebf(0x1d5)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x6aebf(0x35b)](){var _0x4f9dfa=_0x6aebf;this[_0x4f9dfa(0xc8)]!=null&&(clearTimeout(this[_0x4f9dfa(0xc8)]),this['_sendingTimer']=null);}[_0x6aebf(0x120)](_0x3f9ebe){var _0x53783e=_0x6aebf;return this[_0x53783e(0x35b)](),this[_0x53783e(0x33b)][_0x53783e(0x322)](le,this[_0x53783e(0x196)],this[_0x53783e(0x171)],null,this[_0x53783e(0x360)],this[_0x53783e(0xfc)],_0x3f9ebe);}};re=Ie([P(0x4,_0x18bb67(_0x11fbde)),P(0x5,_0x18bb67(_0x3293cd)),P(0x6,_0x18bb67(Pe)),P(0x7,_0x26f867),P(0x8,_0x25bbcf),P(0x9,_0x5317b8),P(0xa,_0x55d63a),P(0xb,_0x552064),P(0xc,_0x302ea5),P(0xd,_0x870f26(J))],re);let _e=class extends Te{constructor(_0x478e48,_0x28fb87,_0x54a11c,_0x2dfeeb,_0xe884b1,_0x12c4c,_0x5e4546,_0x1ca637,_0x48093a,_0x4f5d36,_0x1ab08f){var _0x719945=_0x6aebf;super(_0x478e48,_0x28fb87,_0x54a11c,[],_0x2dfeeb,_0x5e4546,_0x4f5d36,_0x12c4c,_0x1ab08f),N(this,_0x719945(0x2c2),'awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x719945(0x24a)),N(this,_0x719945(0x240)),(this[_0x719945(0x33b)]=_0xe884b1,this[_0x719945(0x186)]=_0x1ca637,this[_0x719945(0x35d)]=_0x48093a);}['appendMutation'](_0x4b97d5){var _0x381527=_0x6aebf;this[_0x381527(0x35b)]();const _0x39c593=this[_0x381527(0x33b)][_0x381527(0x322)](ae,this[_0x381527(0x196)],this[_0x381527(0x171)],this['_awaitingChangeset'],[_0x4b97d5],this[_0x381527(0xfc)],this[_0x381527(0x24a)]);return _0x39c593[_0x381527(0x145)](),_0x39c593;}['onRemoteChangeset'](_0x3b6ad8){var _0x2cb19c=_0x6aebf;if(this['_checkMissing'](_0x3b6ad8))return this[_0x2cb19c(0x35b)](),this[_0x2cb19c(0x33b)][_0x2cb19c(0x322)](Q,this[_0x2cb19c(0x196)],this['type'],this[_0x2cb19c(0x118)],[],null,[_0x3b6ad8],this['_handler']);try{const _0x200bf0=this[_0x2cb19c(0x35d)]['transformChangesets']([_0x3b6ad8],[this[_0x2cb19c(0x118)]],!0x1);if(_0x557dfb(_0x200bf0)){const {c1Prime:_0x59f490,c2Prime:_0x220e6f}=_0x200bf0;this[_0x2cb19c(0x22e)](_0x59f490[0x0]),_0x220e6f[0x0][_0x2cb19c(0xf3)]=this[_0x2cb19c(0xa0)](),this[_0x2cb19c(0x35b)]();const _0xe0d509=this[_0x2cb19c(0x33b)][_0x2cb19c(0x322)](_e,this[_0x2cb19c(0x196)],this[_0x2cb19c(0x171)],_0x220e6f[0x0],this['_handler']);return _0xe0d509[_0x2cb19c(0x145)](),_0xe0d509;}return this['_onConflict'](!0x1);}catch(_0xb6e8df){return this[_0x2cb19c(0x186)][_0x2cb19c(0x232)](_0xb6e8df),this[_0x2cb19c(0x120)](!0x1);}}[_0x6aebf(0x357)](_0xf46073){var _0x3d1484=_0x6aebf;this[_0x3d1484(0x35b)]();const _0x2714bf=this[_0x3d1484(0xb8)][_0x3d1484(0x141)](this['unitID']);if(_0xf46073[_0x3d1484(0x258)]<_0x2714bf-0x1)return this;if(this['_checkMissing'](_0xf46073))return this[_0x3d1484(0x33b)][_0x3d1484(0x322)](Q,this[_0x3d1484(0x196)],this[_0x3d1484(0x171)],null,[],this[_0x3d1484(0x118)],[],this[_0x3d1484(0xfc)]);this[_0x3d1484(0x22b)]();const _0x335c74=this['_injector'][_0x3d1484(0x322)](ye,this[_0x3d1484(0x196)],this['type'],this[_0x3d1484(0xfc)]);return _0x335c74[_0x3d1484(0x145)](),_0x335c74;}[_0x6aebf(0x2c6)](_0x1f611c){var _0x34f15e=_0x6aebf;return this[_0x34f15e(0x120)](!!(_0x1f611c!=null&&_0x1f611c[_0x34f15e(0x31f)]));}[_0x6aebf(0x2cb)](_0x3215ec){var _0x54628e=_0x6aebf;return this[_0x54628e(0x234)]>Ci?this[_0x54628e(0x2e0)]():(this[_0x54628e(0x24a)]=Ii(this[_0x54628e(0x234)],{'timeout':this[_0x54628e(0x234)],'reqId':_0x3215ec[_0x54628e(0x194)]}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x3e67d0,timeout:_0x1b549c})=>{var _0x1d80dc=_0x54628e;this[_0x1d80dc(0x1d3)](_0x3e67d0,_0x1b549c);}),this);}[_0x6aebf(0x2e0)](){var _0x58acdf=_0x6aebf;return this['_clearScheduledTask'](),this[_0x58acdf(0x33b)][_0x58acdf(0x322)](ue,this['unitID'],this['type'],this[_0x58acdf(0x118)],[],this[_0x58acdf(0xfc)]);}['toggleOnline'](){return this;}['resend'](){var _0x4ff49b=_0x6aebf;this[_0x4ff49b(0xfc)][_0x4ff49b(0x10e)](this[_0x4ff49b(0x118)]);}[_0x6aebf(0x120)](_0x23a990){var _0x2266ab=_0x6aebf;return this[_0x2266ab(0x35b)](),this[_0x2266ab(0x33b)][_0x2266ab(0x322)](le,this[_0x2266ab(0x196)],this['type'],this[_0x2266ab(0x118)],[],this[_0x2266ab(0xfc)],_0x23a990);}[_0x6aebf(0x1d3)](_0x4d47b9,_0x3c3e73){var _0x1b0c04=_0x6aebf,_0x1510b3;_0x4d47b9===((_0x1510b3=this[_0x1b0c04(0x118)])==null?void 0x0:_0x1510b3['reqId'])&&(this['resend'](),this[_0x1b0c04(0x234)]=_0x3c3e73===0x0?0x3e8:_0x3c3e73*0x2);}[_0x6aebf(0x35b)](){var _0x5cbc33=_0x6aebf,_0x190efb;(_0x190efb=this['_sender'])==null||_0x190efb[_0x5cbc33(0x119)](),this[_0x5cbc33(0x234)]=0x0;}};_e=Ie([P(0x4,_0x18bb67(_0x11fbde)),P(0x5,_0x18bb67(_0x3293cd)),P(0x6,_0x25bbcf),P(0x7,_0x26f867),P(0x8,_0x55d63a),P(0x9,_0x302ea5),P(0xa,_0x870f26(J))],_e);let ae=class extends Te{constructor(_0x5b0f7b,_0x542b08,_0x20515f,_0x4418c0,_0x3e66fa,_0x47e4d2,_0x37394a,_0x2d60bf,_0x20f0f0,_0x3e9b3b,_0x50448e,_0x388abc,_0x5e9c10){var _0x28687a=_0x6aebf;super(_0x5b0f7b,_0x542b08,_0x20515f,_0x4418c0,_0x3e66fa,_0x20f0f0,_0x388abc,_0x2d60bf,_0x5e9c10),N(this,_0x28687a(0x2c2),_0x28687a(0xfb)),N(this,_0x28687a(0x234),0x0),N(this,_0x28687a(0x24a)),N(this,'_sender'),(this['_injector']=_0x37394a,this[_0x28687a(0x186)]=_0x3e9b3b,this[_0x28687a(0x35d)]=_0x50448e,this['localCacheService']=_0x5e9c10,_0x47e4d2&&(this[_0x28687a(0x24a)]=_0x47e4d2,this[_0x28687a(0x240)]=this[_0x28687a(0x24a)][_0x28687a(0x18c)](({reqId:_0x53a38b,timeout:_0x59abea})=>{var _0x7ff9bf=_0x28687a;this[_0x7ff9bf(0x1d3)](_0x53a38b,_0x59abea);})));}['appendMutation'](_0x2185d5){var _0x17557d=_0x6aebf;return this[_0x17557d(0x360)][_0x17557d(0xce)](_0x2185d5),this;}['onRemoteChangeset'](_0x189993){var _0x5678de=_0x6aebf;if(this[_0x5678de(0x146)](_0x189993))return this[_0x5678de(0x35b)](),this[_0x5678de(0x33b)][_0x5678de(0x322)](Q,this[_0x5678de(0x196)],this['type'],this[_0x5678de(0x118)],this[_0x5678de(0x360)],null,[_0x189993],this['_handler']);try{const _0x3ede92=this[_0x5678de(0x35d)][_0x5678de(0x274)]([_0x189993],[this['_awaitingChangeset']],!0x1);if(_0x557dfb(_0x3ede92)){const {c1Prime:_0x4260be,c2Prime:_0x2f3636}=_0x3ede92,_0x2ba76e=this[_0x5678de(0x35d)][_0x5678de(0x228)](_0x4260be[0x0],this[_0x5678de(0x360)]);if(_0x4cda53(_0x2ba76e)){const {c1Prime:_0x563745,m2Prime:_0x4434d9}=_0x2ba76e;return this[_0x5678de(0x22e)](_0x563745),_0x2f3636[0x0][_0x5678de(0xf3)]=this[_0x5678de(0xa0)](),this['_clearScheduledTask'](),this[_0x5678de(0x33b)][_0x5678de(0x322)](ae,this['unitID'],this[_0x5678de(0x171)],_0x2f3636[0x0],_0x4434d9,this[_0x5678de(0xfc)],void 0x0);}throw _0x2ba76e['error'];}throw _0x3ede92[_0x5678de(0x232)];}catch(_0x34bd7f){return this['_logService'][_0x5678de(0x232)](_0x34bd7f),this[_0x5678de(0x120)](!0x1);}}[_0x6aebf(0x357)](_0x1b260b){var _0x4bb1e4=_0x6aebf;if(this[_0x4bb1e4(0x35b)](),this[_0x4bb1e4(0x146)](_0x1b260b))return this[_0x4bb1e4(0x33b)][_0x4bb1e4(0x322)](Q,this[_0x4bb1e4(0x196)],this['type'],null,this[_0x4bb1e4(0x360)],this[_0x4bb1e4(0x118)],[],this[_0x4bb1e4(0xfc)]);this[_0x4bb1e4(0x22b)]();const _0x3a7ac3=this['_injector'][_0x4bb1e4(0x322)](re,this[_0x4bb1e4(0x196)],this[_0x4bb1e4(0x171)],this[_0x4bb1e4(0x360)],this[_0x4bb1e4(0xfc)]);return _0x3a7ac3[_0x4bb1e4(0xba)](),_0x3a7ac3[_0x4bb1e4(0x145)](),_0x3a7ac3;}[_0x6aebf(0x2c6)](_0x1134e6){var _0x16a9d3=_0x6aebf;return this['_onConflict'](!!(_0x1134e6!=null&&_0x1134e6[_0x16a9d3(0x31f)]));}['onRemoteRetry'](_0x552608){var _0x373686=_0x6aebf;return this['_resendTimeout']>Ci?this['toggleOffline']():(this[_0x373686(0x24a)]=Ii(this['_resendTimeout'],{'timeout':this[_0x373686(0x234)],'reqId':_0x552608[_0x373686(0x194)]}),this[_0x373686(0x240)]=this[_0x373686(0x24a)][_0x373686(0x18c)](({reqId:_0x5d2ac1,timeout:_0x7069c7})=>{var _0x3cf268=_0x373686;this[_0x3cf268(0x1d3)](_0x5d2ac1,_0x7069c7);}),this);}[_0x6aebf(0x2e0)](){var _0x128fea=_0x6aebf;return this[_0x128fea(0x35b)](),this[_0x128fea(0x33b)][_0x128fea(0x322)](ue,this['unitID'],this[_0x128fea(0x171)],this[_0x128fea(0x118)],this[_0x128fea(0x360)],this[_0x128fea(0xfc)]);}[_0x6aebf(0x2c5)](){return this;}[_0x6aebf(0x1d5)](){var _0x1c7603=_0x6aebf;this['_handler']['onSendChangeset'](this[_0x1c7603(0x118)]);}[_0x6aebf(0x120)](_0x276d04){var _0x2a240b=_0x6aebf;return this[_0x2a240b(0x35b)](),this[_0x2a240b(0x33b)][_0x2a240b(0x322)](le,this[_0x2a240b(0x196)],this[_0x2a240b(0x171)],null,this[_0x2a240b(0x360)],this[_0x2a240b(0xfc)],_0x276d04);}[_0x6aebf(0x1d3)](_0x502308,_0x5eee7b){var _0x6abd88=_0x6aebf,_0x3c75c8;_0x502308===((_0x3c75c8=this['_awaitingChangeset'])==null?void 0x0:_0x3c75c8[_0x6abd88(0x194)])&&(this['resend'](),this[_0x6abd88(0x234)]=_0x5eee7b===0x0?0x3e8:_0x5eee7b*0x2);}[_0x6aebf(0x35b)](){var _0x3ec213=_0x6aebf,_0x5a7c09;(_0x5a7c09=this[_0x3ec213(0x240)])==null||_0x5a7c09[_0x3ec213(0x119)](),this[_0x3ec213(0x234)]=0x0;}};ae=Ie([P(0x6,_0x18bb67(_0x11fbde)),P(0x7,_0x18bb67(_0x3293cd)),P(0x8,_0x25bbcf),P(0x9,_0x26f867),P(0xa,_0x55d63a),P(0xb,_0x302ea5),P(0xc,_0x870f26(J))],ae);let le=class extends Te{constructor(_0x52c525,_0x39037e,_0x4e27d5,_0x4a85a3,_0x4bd326,_0x4aff91=!0x1,_0x2db2fa,_0x2ca8eb,_0x268fd6,_0x17cd3d,_0x571e47,_0xeefa06,_0xd60054){var _0x3286a6=_0x6aebf;super(_0x52c525,_0x39037e,_0x4e27d5,_0x4a85a3,_0x4bd326,_0x2ca8eb,_0x268fd6,_0x17cd3d,_0xd60054),N(this,_0x3286a6(0x2c2),_0x3286a6(0x1e0)),(this['_isPermissionRej']=_0x4aff91,this['_permissionService']=_0x2db2fa,this[_0x3286a6(0x95)]=_0x571e47,this[_0x3286a6(0x1cf)]=_0xeefa06,this['localCacheService']=_0xd60054,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x3286a6(0x272)]());}['appendMutation'](){return this;}[_0x6aebf(0x12d)](){return this;}[_0x6aebf(0x357)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x6aebf(0x2e0)](){return this;}['toggleOnline'](){return this;}[_0x6aebf(0x1d5)](){var _0x5adccd=_0x6aebf;throw new Error(_0x5adccd(0x15d));}[_0x6aebf(0x122)](){var _0x502222=_0x6aebf,_0x335451;(_0x335451=this[_0x502222(0x20e)])==null||_0x335451['updateOfflineData'](this[_0x502222(0x196)],this['type'],null,[]);}[_0x6aebf(0x304)](){var _0x480ba5=_0x6aebf;this[_0x480ba5(0x10d)]?this[_0x480ba5(0x1cf)][_0x480ba5(0x247)]({'id':ne['PERMISSION_DENIED']}):this[_0x480ba5(0x1cf)]['emitEvent']({'id':ne[_0x480ba5(0xf7)]});}[_0x6aebf(0x272)](){var _0x382ebf=_0x6aebf;this[_0x382ebf(0x142)][_0x382ebf(0xc6)](new _0x39effe(this[_0x382ebf(0x196)])['id'],!0x1);}};le=Ie([P(0x6,_0x18bb67(_0x374ceb)),P(0x7,_0x25bbcf),P(0x8,_0x302ea5),P(0x9,_0x18bb67(_0x3293cd)),P(0xa,_0x18bb67(_0x21749b)),P(0xb,_0x18bb67(ve)),P(0xc,_0x870f26(J))],le);let ue=class extends Te{constructor(_0x4ea85a,_0x47a14d,_0x5733d9,_0x548fe8,_0x12b201,_0x54c75d,_0x1ab804,_0x5dac5d,_0x52345d,_0x3aa3b8){var _0x2b14d2=_0x6aebf;super(_0x4ea85a,_0x47a14d,_0x5733d9,_0x548fe8,_0x12b201,_0x5dac5d,_0x52345d,_0x1ab804,_0x3aa3b8),N(this,_0x2b14d2(0x2c2),_0x2b14d2(0xf9)),this[_0x2b14d2(0x33b)]=_0x54c75d;}[_0x6aebf(0x99)](_0x883398){var _0x3bb20b=_0x6aebf;return this['_pendingMutations'][_0x3bb20b(0xce)](_0x883398),this['_updateLocalCache'](),this;}[_0x6aebf(0x12d)](_0xdd755b){var _0x5a354c=_0x6aebf;throw new Error(_0x5a354c(0x33d));}[_0x6aebf(0x357)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x6aebf(0x2c6)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x6aebf(0x2cb)](){return this;}['toggleOffline'](){return this;}[_0x6aebf(0x2c5)](){var _0x58480c=_0x6aebf;const {_injector:_0x3138ad,_pendingMutations:_0x11018e,_awaitingChangeset:_0x16de35,unitID:_0x563573,_handler:_0x172988,type:_0x7b7fbb}=this,_0x4c8e71=Ri(_0x3138ad,_0x563573,_0x7b7fbb,_0x16de35,_0x11018e,_0x172988);return _0x4c8e71 instanceof re?_0x4c8e71[_0x58480c(0xba)]():(_0x4c8e71 instanceof ae||_0x4c8e71 instanceof _e)&&_0x4c8e71[_0x58480c(0x1d5)](),_0x4c8e71;}['resend'](){var _0xe4684=_0x6aebf;throw new Error(_0xe4684(0x37c));}};ue=Ie([P(0x5,_0x18bb67(_0x11fbde)),P(0x6,_0x18bb67(_0x3293cd)),P(0x7,_0x25bbcf),P(0x8,_0x302ea5),P(0x9,_0x870f26(J))],ue);let Q=class extends Te{constructor(_0x56b5f2,_0x206555,_0x34fe70,_0x1b3fa2,_0x265a18,_0x3c2e9b,_0x38fd51,_0x580bdb,_0x2023c8,_0x111fd0,_0x18e794,_0x5da819,_0xd0e896,_0x2e86e3){var _0x39b881=_0x6aebf;super(_0x56b5f2,_0x206555,_0x34fe70,_0x1b3fa2,_0x38fd51,_0x18e794,_0x5da819,_0x2023c8,_0x2e86e3),N(this,'status',_0x39b881(0x91)),(this[_0x39b881(0x391)]=_0x265a18,this[_0x39b881(0xf2)]=_0x3c2e9b,this[_0x39b881(0x33b)]=_0x580bdb,this[_0x39b881(0x186)]=_0x111fd0,this[_0x39b881(0x35d)]=_0xd0e896,this[_0x39b881(0x243)]=_0x2e86e3);}[_0x6aebf(0x31a)](_0x37bfd2){var _0x3e6725=_0x6aebf;try{const _0x339051=[..._0x37bfd2,...this[_0x3e6725(0xf2)]],_0x52b7e6=[this[_0x3e6725(0x118)]||this['_acknowledgedAwaitingChangeset']][_0x3e6725(0x94)](_0x1b7fd5=>!!_0x1b7fd5);let _0x31fdd5,_0x3f18e2;if(_0x52b7e6[_0x3e6725(0x16a)]){const _0x217e10=this[_0x3e6725(0x35d)][_0x3e6725(0x274)](_0x339051,_0x52b7e6,!0x1);if(!_0x557dfb(_0x217e10))throw _0x217e10[_0x3e6725(0x232)];_0x31fdd5=_0x217e10[_0x3e6725(0x105)],_0x3f18e2=_0x217e10[_0x3e6725(0x1cb)];}else _0x31fdd5=_0x339051,_0x3f18e2=[];let _0xbed5c2=this[_0x3e6725(0x360)];_0x31fdd5['forEach'](_0x17513d=>{var _0xf60017=_0x3e6725;let _0x3c9e8c;if(_0xbed5c2[_0xf60017(0x16a)]){const _0x2f0c63=this['_transformService'][_0xf60017(0x228)](_0x17513d,_0xbed5c2);if(!_0x4cda53(_0x2f0c63))throw _0x2f0c63['error'];_0x3c9e8c=_0x2f0c63[_0xf60017(0x105)],_0xbed5c2=_0x2f0c63[_0xf60017(0x29b)];}else _0x3c9e8c=_0x17513d;this[_0xf60017(0x22e)](_0x3c9e8c);}),this['_acknowledgedAwaitingChangeset']&&this[_0x3e6725(0x22b)](),this['_awaitingChangeset']&&_0x3f18e2[_0x3e6725(0x16a)]&&(_0x3f18e2[0x0]['baseRev']=this['_getCurrentRevision']());let _0x23bd4b;if(this[_0x3e6725(0x118)]&&_0xbed5c2[_0x3e6725(0x16a)]!==0x0)_0x23bd4b=this[_0x3e6725(0x33b)][_0x3e6725(0x322)](ae,this[_0x3e6725(0x196)],this[_0x3e6725(0x171)],_0x3f18e2[0x0],_0xbed5c2,this[_0x3e6725(0xfc)],void 0x0);else{if(this[_0x3e6725(0x118)]&&_0xbed5c2[_0x3e6725(0x16a)]===0x0)_0x3f18e2[0x0][_0x3e6725(0xf3)]=this[_0x3e6725(0xa0)](),_0x23bd4b=this[_0x3e6725(0x33b)][_0x3e6725(0x322)](_e,this[_0x3e6725(0x196)],this[_0x3e6725(0x171)],_0x3f18e2[0x0],this[_0x3e6725(0xfc)]);else{if(_0xbed5c2[_0x3e6725(0x16a)]!==0x0){const _0x1c7757=this[_0x3e6725(0x33b)]['createInstance'](re,this['unitID'],this['type'],_0xbed5c2,this['_handler']);_0x1c7757['_schedule'](),_0x23bd4b=_0x1c7757;}else _0x23bd4b=this[_0x3e6725(0x33b)]['createInstance'](ye,this[_0x3e6725(0x196)],this[_0x3e6725(0x171)],this[_0x3e6725(0xfc)]);}}return _0x23bd4b[_0x3e6725(0x145)](),_0x23bd4b;}catch(_0x28f8a0){return this[_0x3e6725(0x186)][_0x3e6725(0x232)](_0x3e6725(0x1e9),_0x3e6725(0x373),_0x28f8a0),this[_0x3e6725(0x33b)][_0x3e6725(0x322)](le,this[_0x3e6725(0x196)],this['type'],this[_0x3e6725(0x118)],this[_0x3e6725(0x360)],this[_0x3e6725(0xfc)],!0x1);}}[_0x6aebf(0x1d5)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x6aebf(0x99)](_0x53024a){var _0x11937e=_0x6aebf;return this['_pendingMutations'][_0x11937e(0xce)](_0x53024a),this;}[_0x6aebf(0x12d)](_0x382a42){var _0x4055d6=_0x6aebf;return this[_0x4055d6(0xf2)][_0x4055d6(0xce)](_0x382a42),this;}[_0x6aebf(0x357)](_0x5aa92c){var _0x518b61=_0x6aebf;if(this['_awaitingChangeset'])return this[_0x518b61(0x391)]=this[_0x518b61(0x118)],this[_0x518b61(0x118)]=null,this;throw new Error(_0x518b61(0x328));}['onRemoteRej'](_0x53fa50){var _0x2cb639=_0x6aebf;return this[_0x2cb639(0x120)](!!(_0x53fa50!=null&&_0x53fa50[_0x2cb639(0x31f)]));}[_0x6aebf(0x2cb)](){return this;}['toggleOffline'](){var _0x263f38=_0x6aebf;return this['_injector'][_0x263f38(0x322)](ue,this[_0x263f38(0x196)],this[_0x263f38(0x171)],this[_0x263f38(0x118)],this[_0x263f38(0x360)],this['_handler']);}[_0x6aebf(0x2c5)](){return this;}[_0x6aebf(0x120)](_0x5360a4){var _0x5e5e21=_0x6aebf;return this[_0x5e5e21(0x33b)][_0x5e5e21(0x322)](le,this[_0x5e5e21(0x196)],this[_0x5e5e21(0x171)],this[_0x5e5e21(0x118)],this['_pendingMutations'],this[_0x5e5e21(0xfc)],_0x5360a4);}};Q=Ie([P(0x7,_0x18bb67(_0x11fbde)),P(0x8,_0x18bb67(_0x3293cd)),P(0x9,_0x26f867),P(0xa,_0x25bbcf),P(0xb,_0x302ea5),P(0xc,_0x55d63a),P(0xd,_0x870f26(J))],Q);function Ri(_0x1a227b,_0x365e0c,_0x30a82c,_0x48309d,_0x200094,_0x2efbd4){var _0xcf844=_0x6aebf;return _0x48309d&&_0x200094[_0xcf844(0x16a)]?_0x1a227b[_0xcf844(0x322)](ae,_0x365e0c,_0x30a82c,_0x48309d,_0x200094,_0x2efbd4,void 0x0):_0x48309d?_0x1a227b[_0xcf844(0x322)](_e,_0x365e0c,_0x30a82c,_0x48309d,_0x2efbd4):_0x200094[_0xcf844(0x16a)]?_0x1a227b[_0xcf844(0x322)](re,_0x365e0c,_0x30a82c,_0x200094,_0x2efbd4):_0x1a227b[_0xcf844(0x322)](ye,_0x365e0c,_0x30a82c,_0x2efbd4);}var Zs=Object[_0x6aebf(0x2ec)],wt=(_0x30b5a2,_0x4d1285,_0x3e74b2,_0x52b5c0)=>{var _0x967774=_0x6aebf;for(var _0xc89f1b=_0x52b5c0>0x1?void 0x0:_0x52b5c0?Zs(_0x4d1285,_0x3e74b2):_0x4d1285,_0x44ba52=_0x30b5a2[_0x967774(0x16a)]-0x1,_0x59b112;_0x44ba52>=0x0;_0x44ba52--)(_0x59b112=_0x30b5a2[_0x44ba52])&&(_0xc89f1b=_0x59b112(_0xc89f1b)||_0xc89f1b);return _0xc89f1b;},H=(_0x15ed6e,_0x35aec1)=>(_0x329fc0,_0x13adf9)=>_0x35aec1(_0x329fc0,_0x13adf9,_0x15ed6e);function _0x5cc4(_0x4c9948,_0x4c653b){var _0x28674f=_0x2867();return _0x5cc4=function(_0x5cc42b,_0x45b0af){_0x5cc42b=_0x5cc42b-0x8f;var _0x563007=_0x28674f[_0x5cc42b];return _0x563007;},_0x5cc4(_0x4c9948,_0x4c653b);}let st=class extends _0x4a9342{constructor(_0x688eda,_0x43184c,_0x5e76f6,_0x41eb46,_0x2653dd,_0x9aa336,_0x4182da,_0xbec4b,_0x595019,_0xd90b63,_0x791470,_0x41d4fe,_0x278ad4){var _0x35c385=_0x6aebf;super(),N(this,_0x35c385(0x117),new _0x57bee0(null)),N(this,_0x35c385(0x34e),this['_state$']['asObservable']()),N(this,_0x35c385(0x1ae)),N(this,'_collaborationPaused',!0x1),N(this,_0x35c385(0xb6),''),N(this,_0x35c385(0x1d1),0x0),N(this,_0x35c385(0x367),this[_0x35c385(0x34e)]['pipe'](_0x2db594(_0x7597ab=>_0x7597ab?_0x7597ab[_0x35c385(0x2c2)]:Ti['OFFLINE']),_0x301fb6(0x1))),N(this,_0x35c385(0x25e),!0x1),N(this,_0x35c385(0x22d),[]),(this[_0x35c385(0x196)]=_0x688eda,this[_0x35c385(0x309)]=_0x43184c,this[_0x35c385(0xd5)]=_0x5e76f6,this['_injector']=_0x41eb46,this[_0x35c385(0x295)]=_0x2653dd,this[_0x35c385(0x95)]=_0x9aa336,this[_0x35c385(0xb8)]=_0x4182da,this[_0x35c385(0x17b)]=_0xbec4b,this[_0x35c385(0x186)]=_0x595019,this['_commandService']=_0xd90b63,this['_permissionService']=_0x791470,this['_singleActiveUnitService']=_0x41d4fe,this[_0x35c385(0x20e)]=_0x278ad4);}get[_0x6aebf(0x14f)](){var _0x45df78=_0x6aebf;return this[_0x45df78(0x1ae)];}async[_0x6aebf(0x2b2)](){var _0x2626fb=_0x6aebf;if(this[_0x2626fb(0x14f)])throw new Error(_0x2626fb(0x336));await this[_0x2626fb(0x2b1)]();}[_0x6aebf(0x1b8)](){var _0x571310=_0x6aebf;return this[_0x571310(0x14c)]=!0x0,_0x30fd71(()=>{var _0x107210=_0x571310;this[_0x107210(0x14c)]=!0x1,this[_0x107210(0x21d)]();});}[_0x6aebf(0x2a8)](_0x565bf0){this['_onLocalMutation'](_0x565bf0);}['_updateState'](_0x133842){this['_state']=_0x133842,this['_state$']['next'](_0x133842);}async[_0x6aebf(0x2b1)](){var _0x4c9b04=_0x6aebf,_0x897841;this[_0x4c9b04(0x153)](await this[_0x4c9b04(0x385)]()),this[_0x4c9b04(0x138)]&&((_0x897841=this[_0x4c9b04(0x138)])==null||_0x897841[_0x4c9b04(0x245)](this[_0x4c9b04(0x196)]),this[_0x4c9b04(0x361)](this[_0x4c9b04(0x138)][_0x4c9b04(0x2e7)](this[_0x4c9b04(0x196)])[_0x4c9b04(0x18c)](_0x2da6c4=>{var _0x22d5b5=_0x4c9b04;this[_0x22d5b5(0x186)]['debug'](_0x22d5b5(0x212),_0x22d5b5(0x102),_0x2da6c4),_0x2da6c4===Ei[_0x22d5b5(0x1fc)]?(this[_0x22d5b5(0x17b)]['emitEvent']({'id':ne[_0x22d5b5(0x27e)]}),this['_permissionService']['updatePermissionPoint'](new _0x39effe(this['unitID'])['id'],!0x1),this[_0x22d5b5(0x142)][_0x22d5b5(0x2b4)](!0x1)):(this[_0x22d5b5(0x142)][_0x22d5b5(0xc6)](new _0x39effe(this[_0x22d5b5(0x196)])['id'],!0x0),this[_0x22d5b5(0x142)][_0x22d5b5(0x2b4)](!0x0));})));let _0x3b6feb=!0x1;return this[_0x4c9b04(0x361)](this[_0x4c9b04(0x309)][_0x4c9b04(0x17d)]['subscribe'](_0x1418c8=>{var _0x514ad1=_0x4c9b04;_0x1418c8===Se[_0x514ad1(0xc2)]?this['_toggleOnline'](_0x3b6feb):_0x1418c8===Se['OFFLINE']&&(_0x3b6feb=!0x0,this['_toggleOffline']());})),this[_0x4c9b04(0x361)](this[_0x4c9b04(0x309)]['event$']['subscribe'](_0x4caf51=>{var _0x22c3f5=_0x4c9b04;try{switch(_0x4caf51[_0x22c3f5(0x305)]){case _0x4876af['NEW_CHANGESETS']:{this[_0x22c3f5(0x389)](_0x4f866c(_0x4caf51[_0x22c3f5(0x364)]));break;}case _0x4876af[_0x22c3f5(0x2e4)]:{this[_0x22c3f5(0x1ca)](_0x4caf51[_0x22c3f5(0x364)]);break;}case _0x4876af['CHANGESET_REJ']:{this[_0x22c3f5(0x2f9)]();break;}case _0x4876af[_0x22c3f5(0x2e9)]:{this['_onRemoteRetry'](_0x4caf51[_0x22c3f5(0x364)]);break;}case _0x4876af[_0x22c3f5(0x11b)]:{this['_onFetchMissResult'](_0x4caf51[_0x22c3f5(0x364)][_0x22c3f5(0x397)][_0x22c3f5(0x37b)](_0x4b962c=>_0x4f866c(_0x4b962c)));break;}case _0x4876af[_0x22c3f5(0xb5)]:{this[_0x22c3f5(0x2f9)]({'isPermissionRej':!0x0});break;}case _0x4876af[_0x22c3f5(0x1a2)]:break;}}catch(_0x24972d){throw console[_0x22c3f5(0x232)](_0x22c3f5(0xe3),_0x24972d),_0x24972d;}})),this[_0x4c9b04(0x1ae)];}[_0x6aebf(0x197)](){var _0x5ed367=_0x6aebf;this[_0x5ed367(0x25e)]=!0x1;}['_lockTransition'](){var _0x37f1b7=_0x6aebf;if(this['_transitionLocked'])throw new Error(_0x37f1b7(0x28f));this['_transitionLocked']=!0x0;}[_0x6aebf(0x2c8)](_0x440c63){var _0x341e3a=_0x6aebf;this['_lockTransition'](),this[_0x341e3a(0x153)](this[_0x341e3a(0x1ae)][_0x341e3a(0x99)](_0x440c63)),this[_0x341e3a(0x197)]();}[_0x6aebf(0x389)](_0x110860){var _0x22b568=_0x6aebf;if(!(_0x110860[_0x22b568(0x258)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x22b568(0x196)]))){if(this[_0x22b568(0x14c)]){this[_0x22b568(0x22d)]['push'](_0x110860);return;}this['_applyRemoteChangeset'](_0x110860);}}['_exhaustRemoteChangesetQueue'](){var _0x3f8d7b=_0x6aebf;this[_0x3f8d7b(0x22d)][_0x3f8d7b(0x14b)](_0x5b55bb=>this['_applyRemoteChangeset'](_0x5b55bb)),this[_0x3f8d7b(0x22d)]=[];}[_0x6aebf(0x271)](_0x36ebde){var _0x20fe75=_0x6aebf;const _0x4c44d4=this['_compressMutationService']['interceptor'][_0x20fe75(0x23f)](this[_0x20fe75(0x295)][_0x20fe75(0x11e)][_0x20fe75(0x23d)]()[_0x20fe75(0x13f)])(_0x36ebde[_0x20fe75(0x2ae)],null)||_0x36ebde[_0x20fe75(0x2ae)],_0x126bf0={..._0x36ebde,'mutations':_0x4c44d4};this[_0x20fe75(0x1e1)](),this[_0x20fe75(0x153)](this[_0x20fe75(0x1ae)][_0x20fe75(0x12d)](_0x126bf0)),this['_unlockTransition']();}[_0x6aebf(0x1ca)](_0x218b03){var _0x18e870=_0x6aebf;this[_0x18e870(0x1e1)](),this[_0x18e870(0x153)](this[_0x18e870(0x1ae)][_0x18e870(0x357)](_0x218b03)),this[_0x18e870(0x197)]();}['_onRemoteRejected'](_0x26fb3b){var _0x42c617=_0x6aebf;this[_0x42c617(0x1e1)](),this[_0x42c617(0x153)](this['_state'][_0x42c617(0x2c6)](_0x26fb3b)),this[_0x42c617(0x197)]();}[_0x6aebf(0x36a)](_0x515ab6){var _0x50d1e8=_0x6aebf;this[_0x50d1e8(0x1e1)](),this[_0x50d1e8(0x153)](this[_0x50d1e8(0x1ae)][_0x50d1e8(0x2cb)](_0x515ab6)),this[_0x50d1e8(0x197)]();}[_0x6aebf(0x37d)](_0x300bad){var _0x494cfc=_0x6aebf;if(!(this['_state']instanceof Q))throw new TypeError(_0x494cfc(0x310));const _0x536280=_0x300bad[_0x494cfc(0x37b)](_0x37386a=>{var _0x59f87c=_0x494cfc;const _0x1b11c0=this['_compressMutationService'][_0x59f87c(0x11e)][_0x59f87c(0x23f)](this[_0x59f87c(0x295)]['interceptor'][_0x59f87c(0x23d)]()[_0x59f87c(0x13f)])(_0x37386a['mutations'],null)||_0x37386a[_0x59f87c(0x2ae)];return{..._0x37386a,'mutations':_0x1b11c0};});this[_0x494cfc(0x1e1)](),this[_0x494cfc(0x153)](this[_0x494cfc(0x1ae)][_0x494cfc(0x31a)](_0x536280)),this[_0x494cfc(0x197)]();}[_0x6aebf(0x326)](){var _0xdd9705=_0x6aebf;this[_0xdd9705(0x1e1)](),this[_0xdd9705(0x153)](this[_0xdd9705(0x1ae)]['toggleOffline']()),this['_unlockTransition']();}[_0x6aebf(0x172)](_0x3ba3a8=!0x1){var _0x3887da=_0x6aebf;this[_0x3887da(0x1e1)](),this[_0x3887da(0x153)](this['_state']['toggleOnline']()),this[_0x3887da(0x197)]();const _0x4ace3c=this['_state'];_0x3ba3a8&&_0x4ace3c instanceof ye&&(this[_0x3887da(0x1e1)](),this[_0x3887da(0x153)](_0x4ace3c[_0x3887da(0x1b6)]()),this[_0x3887da(0x197)]());}async[_0x6aebf(0x385)](){return new Promise(_0x3378ed=>{var _0x23bf4c=_0x5cc4;this['session'][_0x23bf4c(0x17d)][_0x23bf4c(0x351)](_0x562006(0x1))['subscribe'](async _0x3a7e7d=>{var _0x52ff3f=_0x23bf4c;_0x3378ed(await this[_0x52ff3f(0xe4)](_0x3a7e7d===Se[_0x52ff3f(0xc2)]));});});}[_0x6aebf(0x2f7)](){var _0x3b7705=_0x6aebf;const _0x4f0b64=this[_0x3b7705(0x196)];return{'onStateChange':(_0x32135f,_0x2a3c1f)=>{var _0x1f4abf=_0x3b7705;if(_0x32135f!==this['_state'])throw new Error(_0x1f4abf(0x2e8)+_0x32135f['status']+_0x1f4abf(0x233)+_0x2a3c1f[_0x1f4abf(0x2c2)]+_0x1f4abf(0xc1)+this['_state'][_0x1f4abf(0x2c2)]);this['_updateState'](_0x2a3c1f);},'onSendChangeset':_0x20ad7c=>{var _0x1042dd=_0x3b7705;_0x20ad7c[_0x1042dd(0x23a)]||(_0x20ad7c[_0x1042dd(0x23a)]=this[_0x1042dd(0xb6)],_0x20ad7c['reqId']=++this[_0x1042dd(0x1d1)]);const _0x4e9df1={'eventID':_0x4876af['SUBMIT_CHANGESET'],'data':{'unitID':_0x20ad7c['unitID'],'unitType':this[_0x1042dd(0xd5)],'changeset':_0x20ad7c,'memberID':this[_0x1042dd(0x309)]['getMemberID']()}};this[_0x1042dd(0x309)]['send'](_0x4e9df1,this[_0x1042dd(0x196)]);},'onMissingChangesets':({from:_0x5672c5,to:_0x7f71c0})=>{var _0x51343c=_0x3b7705;this[_0x51343c(0x186)][_0x51343c(0x180)](_0x51343c(0x212),_0x51343c(0xcc)+_0x5672c5+'\x20to\x20'+_0x7f71c0);const _0x419723={'eventID':_0x4876af[_0x51343c(0x1c3)],'data':{'unitID':_0x4f0b64,'unitType':this[_0x51343c(0xd5)],'from':_0x5672c5,'to':_0x7f71c0}};this[_0x51343c(0x309)][_0x51343c(0x125)](_0x419723,this[_0x51343c(0x196)]);}};}async[_0x6aebf(0xe4)](_0x5a6fc3){var _0x33fb0a=_0x6aebf,_0x16c218,_0x458a65,_0x1753c4;const _0x10c616=await((_0x16c218=this[_0x33fb0a(0x20e)])==null?void 0x0:_0x16c218['loadOfflineData'](this['unitID'])),_0x18046e=(_0x458a65=_0x10c616==null?void 0x0:_0x10c616[_0x33fb0a(0x2ae)])!=null?_0x458a65:[],_0x7b0249=(_0x1753c4=_0x10c616==null?void 0x0:_0x10c616[_0x33fb0a(0xb4)])!=null?_0x1753c4:null,_0x40240d=!!(_0x7b0249!=null&&_0x7b0249[_0x33fb0a(0x23a)])&&!!(_0x7b0249!=null&&_0x7b0249[_0x33fb0a(0x194)]);this[_0x33fb0a(0xb6)]=_0x40240d?_0x7b0249['sid']:_0x1b291f(),this[_0x33fb0a(0x1d1)]=_0x40240d?_0x7b0249[_0x33fb0a(0x194)]:0x0;const _0x5db7a8=this['unitID'];try{this[_0x33fb0a(0x1e5)](_0x7b0249,_0x18046e);}catch(_0x4e5c16){this[_0x33fb0a(0x186)][_0x33fb0a(0x232)](_0x4e5c16);}const _0x3916c3=this[_0x33fb0a(0x2f7)]();if(_0x5a6fc3){const _0x221695=Ri(this[_0x33fb0a(0x33b)],_0x5db7a8,this[_0x33fb0a(0xd5)],_0x7b0249,_0x18046e,_0x3916c3);return _0x221695 instanceof re?_0x221695[_0x33fb0a(0xba)]():(_0x221695 instanceof ae||_0x221695 instanceof _e)&&_0x221695['resend'](),_0x221695;}return this['_injector'][_0x33fb0a(0x322)](ue,_0x5db7a8,this[_0x33fb0a(0xd5)],_0x7b0249,_0x18046e,_0x3916c3);}[_0x6aebf(0x1e5)](_0x14e070,_0x390944){var _0x3529ce=_0x6aebf,_0x3b79c3,_0x448869;const _0x296c78=this[_0x3529ce(0x295)]['interceptor'][_0x3529ce(0x23f)](this[_0x3529ce(0x295)][_0x3529ce(0x11e)]['getInterceptPoints']()[_0x3529ce(0x13f)]);(_0x3b79c3=_0x296c78((_0x14e070==null?void 0x0:_0x14e070[_0x3529ce(0x2ae)])||[],null))==null||_0x3b79c3[_0x3529ce(0x14b)](_0x1faeb1=>this[_0x3529ce(0x319)]['executeCommand'](_0x1faeb1['id'],_0x1faeb1['params'])),(_0x448869=_0x296c78(_0x390944||[],null))==null||_0x448869['forEach'](_0x16c072=>this[_0x3529ce(0x319)][_0x3529ce(0x1dc)](_0x16c072['id'],_0x16c072[_0x3529ce(0x388)]));}};st=wt([H(0x3,_0x18bb67(_0x11fbde)),H(0x4,_0x18bb67(_0xb993a7)),H(0x5,_0x18bb67(_0x21749b)),H(0x6,_0x18bb67(_0x3293cd)),H(0x7,_0x18bb67(ve)),H(0x8,_0x26f867),H(0x9,_0x25bbcf),H(0xa,_0x374ceb),H(0xb,_0x870f26(ht)),H(0xc,_0x870f26(J))],st);let St=class extends st{constructor(_0x4028ea,_0x532850,_0x4edc1f,_0x5cf74a,_0x19ff68,_0x1c70e4,_0x5efa38,_0x1d9add,_0x23d01b,_0x195e3e,_0x347994,_0x2b607d,_0x22876c){var _0x3f3706=_0x6aebf;super(_0x4028ea,_0x4edc1f,_0x532850,_0x5cf74a,_0x19ff68,_0x1c70e4,_0x5efa38,_0x1d9add,_0x23d01b,_0x195e3e,_0x347994,_0x2b607d,_0x22876c),N(this,'_handlerCallback',null),(this[_0x3f3706(0x196)]=_0x4028ea,this[_0x3f3706(0x171)]=_0x532850);}[_0x6aebf(0x251)](_0x385081){var _0x13b962=_0x6aebf;this[_0x13b962(0x282)]=_0x385081;}[_0x6aebf(0x29c)](){var _0x5e2983=_0x6aebf;this[_0x5e2983(0x282)]=null,super[_0x5e2983(0x29c)]();}[_0x6aebf(0x2f7)](){var _0x274039=_0x6aebf;const _0x4aedc9=super['_createHandler']();return _0x4aedc9['onTransformIME']=_0x4134ba=>{var _0x582eac=_0x5cc4,_0x31afc6,_0x23c1e5;return(_0x23c1e5=(_0x31afc6=this[_0x582eac(0x282)])==null?void 0x0:_0x31afc6['onTransformIME'])==null?void 0x0:_0x23c1e5[_0x582eac(0x382)](_0x31afc6,_0x4134ba);},_0x4aedc9[_0x274039(0x342)]=_0xf0b2db=>{var _0x349c03,_0xdf18d0;return(_0xdf18d0=(_0x349c03=this['_handlerCallback'])==null?void 0x0:_0x349c03['onTransformState'])==null?void 0x0:_0xdf18d0['call'](_0x349c03,_0xf0b2db);},_0x4aedc9[_0x274039(0x299)]=_0x13c46e=>{var _0x10bbb0=_0x274039,_0x3d6971,_0x40bf6c;return(_0x40bf6c=(_0x3d6971=this[_0x10bbb0(0x282)])==null?void 0x0:_0x3d6971[_0x10bbb0(0x299)])==null?void 0x0:_0x40bf6c[_0x10bbb0(0x382)](_0x3d6971,_0x13c46e);},_0x4aedc9[_0x274039(0x28e)]=_0x16d2d3=>{var _0x3b671e=_0x274039,_0x4e964e,_0x36cc81;return(_0x36cc81=(_0x4e964e=this[_0x3b671e(0x282)])==null?void 0x0:_0x4e964e['onSyncEditingCollabCursor'])==null?void 0x0:_0x36cc81[_0x3b671e(0x382)](_0x4e964e,_0x16d2d3);},_0x4aedc9['onTransformRemoteChangesetByIMECache']=_0x5dd15f=>{var _0x4fc9fc=_0x274039,_0x480dbb,_0x28ef8c,_0x3cde42;if(!((_0x480dbb=this[_0x4fc9fc(0x282)])!=null&&_0x480dbb[_0x4fc9fc(0x1ce)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x3cde42=(_0x28ef8c=this[_0x4fc9fc(0x282)])==null?void 0x0:_0x28ef8c[_0x4fc9fc(0x1ce)])==null?void 0x0:_0x3cde42[_0x4fc9fc(0x382)](_0x28ef8c,_0x5dd15f);},_0x4aedc9[_0x274039(0x34c)]=_0x15834c=>{var _0x260195=_0x274039,_0x36d2c6,_0x5338bc,_0x38a92f;if(!((_0x36d2c6=this[_0x260195(0x282)])!=null&&_0x36d2c6[_0x260195(0x34c)]))throw new Error(_0x260195(0x12f));return(_0x38a92f=(_0x5338bc=this[_0x260195(0x282)])==null?void 0x0:_0x5338bc['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x38a92f[_0x260195(0x382)](_0x5338bc,_0x15834c);},_0x4aedc9;}async[_0x6aebf(0x2b1)](){var _0x29909b=_0x6aebf;const _0x3c2272=await super[_0x29909b(0x2b1)]();return this[_0x29909b(0x361)](this['_commandService']['onCommandExecuted']((_0x2ba6e4,_0x4ffbd5)=>{var _0x21db12=_0x29909b;if(_0x2ba6e4[_0x21db12(0x171)]!==_0x2863dc[_0x21db12(0x21b)]||_0x4ffbd5!=null&&_0x4ffbd5[_0x21db12(0x300)]||_0x4ffbd5!=null&&_0x4ffbd5['onlyLocal']||_0x2ba6e4['id']===_0xfd7d2c['id'])return;const _0x3e8145=_0x2ba6e4[_0x21db12(0x388)];if((_0x3e8145==null?void 0x0:_0x3e8145[_0x21db12(0x128)])!==this['unitID'])return;const _0x47081d=_0x2ba6e4,_0x24d027=this[_0x21db12(0x295)]['interceptor']['fetchThroughInterceptors'](this[_0x21db12(0x295)][_0x21db12(0x11e)][_0x21db12(0x23d)]()[_0x21db12(0x15c)])([_0x47081d],null)||[_0x47081d];this['_onLocalMutation'](_0x24d027[0x0]);})),_0x3c2272;}};St=wt([H(0x3,_0x18bb67(_0x11fbde)),H(0x4,_0x18bb67(_0xb993a7)),H(0x5,_0x18bb67(_0x21749b)),H(0x6,_0x18bb67(_0x3293cd)),H(0x7,_0x18bb67(ve)),H(0x8,_0x26f867),H(0x9,_0x25bbcf),H(0xa,_0x374ceb),H(0xb,_0x870f26(ht)),H(0xc,_0x870f26(J))],St);let Et=class extends st{constructor(_0x35a020,_0x1aef73,_0x2400b5,_0x5e4911,_0x4254ec,_0x2b5dc9,_0x3f0d3e,_0x29a377,_0x398692,_0x45b21b,_0x2869e6,_0x1a613d,_0x10e65e,_0x41ebd7){var _0x17f6fa=_0x6aebf;super(_0x35a020,_0x2400b5,_0x1aef73,_0x5e4911,_0x4254ec,_0x2b5dc9,_0x3f0d3e,_0x398692,_0x45b21b,_0x2869e6,_0x1a613d,_0x10e65e,_0x41ebd7),this['unitID']=_0x35a020,this[_0x17f6fa(0x171)]=_0x1aef73,this[_0x17f6fa(0x30b)]=_0x29a377;}['_createHandler'](){var _0x1ce8ee=_0x6aebf;const _0x481cd0=super[_0x1ce8ee(0x2f7)]();return _0x481cd0[_0x1ce8ee(0x299)]=_0x5b837b=>this[_0x1ce8ee(0x30b)]['transformSelections'](_0x5b837b),_0x481cd0;}async['_init'](){var _0x1ea4cd=_0x6aebf;const _0x3b7670=await super[_0x1ea4cd(0x2b1)]();return this['disposeWithMe'](this[_0x1ea4cd(0x319)][_0x1ea4cd(0x168)]((_0x29050d,_0x53e1fb)=>{var _0x43b8bc=_0x1ea4cd;if(_0x29050d[_0x43b8bc(0x171)]!==_0x2863dc[_0x43b8bc(0x21b)]||_0x53e1fb!=null&&_0x53e1fb[_0x43b8bc(0x300)]||_0x53e1fb!=null&&_0x53e1fb[_0x43b8bc(0x2f3)])return;const _0x4d457c=_0x29050d[_0x43b8bc(0x388)];if((_0x4d457c==null?void 0x0:_0x4d457c[_0x43b8bc(0x128)])!==this['unitID'])return;const _0x6d4ea7=_0x29050d,_0xa4bbbd=this[_0x43b8bc(0x295)][_0x43b8bc(0x11e)][_0x43b8bc(0x23f)](this[_0x43b8bc(0x295)][_0x43b8bc(0x11e)][_0x43b8bc(0x23d)]()[_0x43b8bc(0x15c)])([_0x6d4ea7],null)||[_0x6d4ea7];this['_onLocalMutation'](_0xa4bbbd[0x0]);})),_0x3b7670;}};Et=wt([H(0x3,_0x18bb67(_0x11fbde)),H(0x4,_0x18bb67(_0xb993a7)),H(0x5,_0x18bb67(_0x21749b)),H(0x6,_0x18bb67(_0x3293cd)),H(0x7,_0x18bb67(it)),H(0x8,_0x18bb67(ve)),H(0x9,_0x26f867),H(0xa,_0x25bbcf),H(0xb,_0x374ceb),H(0xc,_0x870f26(ht)),H(0xd,_0x870f26(J))],Et);var Qs=Object[_0x6aebf(0x2ec)],en=(_0x1861d5,_0x530b54,_0x3de7d6,_0x525635)=>{for(var _0x34cc58=_0x525635>0x1?void 0x0:_0x525635?Qs(_0x530b54,_0x3de7d6):_0x530b54,_0x441dd0=_0x1861d5['length']-0x1,_0x26ef02;_0x441dd0>=0x0;_0x441dd0--)(_0x26ef02=_0x1861d5[_0x441dd0])&&(_0x34cc58=_0x26ef02(_0x34cc58)||_0x34cc58);return _0x34cc58;},Be=(_0x31a40d,_0x44b196)=>(_0x1a3691,_0x1d5676)=>_0x44b196(_0x1a3691,_0x1d5676,_0x31a40d);let nt=class extends _0x4a9342{constructor(_0x30288b,_0x4de532,_0x114d08,_0x950082){var _0x27a16b=_0x6aebf,_0x500a02;super(),N(this,'_entities',new Map()),N(this,_0x27a16b(0x10c),new _0x2f4bdc()),N(this,'entityInit$',this['_entityInit$'][_0x27a16b(0x28b)]()),(this[_0x27a16b(0x33b)]=_0x30288b,this['_collabSessionService']=_0x4de532,this[_0x27a16b(0x285)]=_0x114d08,this['_univerInstanceService']=_0x950082,((_0x500a02=this[_0x27a16b(0x285)][_0x27a16b(0x30d)](K))==null?void 0x0:_0x500a02[_0x27a16b(0x1eb)])!==!0x1&&this[_0x27a16b(0x2b1)]());}[_0x6aebf(0x29c)](){var _0x5958e0=_0x6aebf;super[_0x5958e0(0x29c)](),this[_0x5958e0(0x166)][_0x5958e0(0x14b)](_0x11a9a7=>_0x11a9a7['dispose']()),this['_entities'][_0x5958e0(0x32d)]();}[_0x6aebf(0x2ed)](_0xc51885){var _0x3ce74e=_0x6aebf,_0x13d907;return(_0x13d907=this[_0x3ce74e(0x166)][_0x3ce74e(0x346)](_0xc51885))!=null?_0x13d907:null;}['getCollabEntity$'](_0x23ddfd){var _0x3bf7f2=_0x6aebf;const _0x525b2a=this[_0x3bf7f2(0x2ed)](_0x23ddfd);return _0x525b2a?_0x3da406(_0x525b2a):this[_0x3bf7f2(0x10c)][_0x3bf7f2(0x351)](_0x74353e(_0x552670=>_0x552670['unitID']===_0x23ddfd));}[_0x6aebf(0xa6)](_0x38e0ee){return _0x13c019(this['getCollabEntity$'](_0x38e0ee)['pipe'](_0x1c75cc(()=>{})));}[_0x6aebf(0x2b1)](){var _0x541c52=_0x6aebf;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x5a96fb['UNIVER_SHEET'])[_0x541c52(0x351)](_0x27e979(this[_0x541c52(0x1df)]),_0x4ab3d3(0x10))[_0x541c52(0x18c)](async _0x97aa7e=>{var _0x26b2c4=_0x541c52;const _0x527798=_0x97aa7e['getUnitId'](),_0x153fd3=await this[_0x26b2c4(0x1f7)](_0x527798,Z[_0x26b2c4(0x2c7)]);this[_0x26b2c4(0x166)][_0x26b2c4(0x17a)](_0x527798,_0x153fd3);}),this[_0x541c52(0x92)][_0x541c52(0x37f)](_0x5a96fb[_0x541c52(0x366)])[_0x541c52(0x351)](_0x27e979(this['dispose$']),_0x4ab3d3(0x10))['pipe'](_0x74353e(_0x5022d3=>!_0x5022d3[_0x541c52(0x30c)]()[_0x541c52(0x151)]('__')))[_0x541c52(0x18c)](async _0x13655f=>{var _0x13f36a=_0x541c52;const _0x102d36=_0x13655f['getUnitId'](),_0x2f1a83=await this['_startCollaboration'](_0x102d36,Z[_0x13f36a(0x366)]);this[_0x13f36a(0x166)][_0x13f36a(0x17a)](_0x102d36,_0x2f1a83);}),_0x3fda27(this[_0x541c52(0x92)][_0x541c52(0x9e)](_0x5a96fb[_0x541c52(0x2c7)]),this[_0x541c52(0x92)][_0x541c52(0x9e)](_0x5a96fb['UNIVER_DOC']))[_0x541c52(0x351)](_0x27e979(this[_0x541c52(0x1df)]))[_0x541c52(0x18c)](_0x341801=>{var _0x3a4318=_0x541c52;const _0x2e0305=_0x341801['getUnitId'](),_0x94103f=this[_0x3a4318(0x166)][_0x3a4318(0x346)](_0x2e0305);_0x94103f&&(_0x94103f[_0x3a4318(0x29c)](),this[_0x3a4318(0x166)][_0x3a4318(0x155)](_0x2e0305));});}async[_0x6aebf(0x1f7)](_0x4815a1,_0x53cd6d){var _0x5997de=_0x6aebf;const _0x1224c8=await this[_0x5997de(0x24c)][_0x5997de(0x25d)](_0x4815a1),_0x589bd1=this[_0x5997de(0x33b)]['createInstance'](this[_0x5997de(0xe6)](_0x53cd6d),_0x4815a1,_0x53cd6d,_0x1224c8);return await _0x589bd1['init'](),this[_0x5997de(0x10c)][_0x5997de(0x312)](_0x589bd1),_0x589bd1;}['_getCtorByUniverType'](_0x46969b){var _0x4fd0e3=_0x6aebf;switch(_0x46969b){case Z['UNIVER_DOC']:return St;case Z[_0x4fd0e3(0x2c7)]:return Et;default:throw new Error(_0x4fd0e3(0x177)+_0x46969b);}}};nt=en([Be(0x0,_0x18bb67(_0x11fbde)),Be(0x1,_0x18bb67(Le)),Be(0x2,_0x5317b8),Be(0x3,_0x552064)],nt);var tn=Object[_0x6aebf(0x2ec)],sn=(_0x32e134,_0x1787b7,_0x24a7a9,_0xcc8e14)=>{for(var _0x3c4994=_0xcc8e14>0x1?void 0x0:_0xcc8e14?tn(_0x1787b7,_0x24a7a9):_0x1787b7,_0x4aa528=_0x32e134['length']-0x1,_0x58abfe;_0x4aa528>=0x0;_0x4aa528--)(_0x58abfe=_0x32e134[_0x4aa528])&&(_0x3c4994=_0x58abfe(_0x3c4994)||_0x3c4994);return _0x3c4994;},Yt=(_0x304cd7,_0x3c4b59)=>(_0x478fe0,_0x36a11d)=>_0x3c4b59(_0x478fe0,_0x36a11d,_0x304cd7);const nn=_0x6aebf(0x265),rn=_0x6aebf(0x1f9);let It=class extends _0xd3ae1c{constructor(_0x48d05b,_0x280df2){var _0x67656c=_0x6aebf;super(),this[_0x67656c(0x92)]=_0x48d05b,this['_configService']=_0x280df2,this[_0x67656c(0x2b1)]();}[_0x6aebf(0x2b1)](){var _0x10c53b=_0x6aebf;this[_0x10c53b(0x361)](this[_0x10c53b(0x92)][_0x10c53b(0x34a)][_0x10c53b(0x18c)](()=>{var _0x2b7e28=_0x10c53b,_0x3120f9;const _0x4a6900=this[_0x2b7e28(0x92)][_0x2b7e28(0x12e)]();let _0x4dcf52=(_0x3120f9=this['_configService'][_0x2b7e28(0x30d)](nn))!=null?_0x3120f9:rn;_0x4a6900 instanceof _0x52d5b8&&(_0x4dcf52=_0x4a6900[_0x2b7e28(0x277)]),document[_0x2b7e28(0x331)]=_0x4dcf52;}));}};It=sn([Yt(0x0,_0x552064),Yt(0x1,_0x5317b8)],It);var an=Object[_0x6aebf(0x2ec)],on=(_0x5ee37e,_0x154953,_0x3c7391,_0xf2c1dd)=>{for(var _0x532994=_0xf2c1dd>0x1?void 0x0:_0xf2c1dd?an(_0x154953,_0x3c7391):_0x154953,_0x42ddca=_0x5ee37e['length']-0x1,_0x3b3268;_0x42ddca>=0x0;_0x42ddca--)(_0x3b3268=_0x5ee37e[_0x42ddca])&&(_0x532994=_0x3b3268(_0x532994)||_0x532994);return _0x532994;},dt=(_0x116cfd,_0x2569a6)=>(_0x5e5cbe,_0xf1c9cc)=>_0x2569a6(_0x5e5cbe,_0xf1c9cc,_0x116cfd);let rt=class{constructor(_0x4d4f4b,_0x5a2d41,_0x2055cd){var _0x16b77d=_0x6aebf;this[_0x16b77d(0x285)]=_0x4d4f4b,this[_0x16b77d(0x190)]=_0x5a2d41,this[_0x16b77d(0xcf)]=_0x2055cd,this[_0x16b77d(0x2b2)]();}[_0x6aebf(0x2b2)](){var _0x3fdfb2=_0x6aebf;this[_0x3fdfb2(0x190)][_0x3fdfb2(0x32b)]({'priority':0x1,'interceptor':(_0x46c885,_0x461633)=>_0x461633(_0x46c885)[_0x3fdfb2(0x351)](_0x530eef(async _0x4e95bc=>{var _0x4e5b66=_0x3fdfb2;const _0x406617=_0x4e95bc;if(_0x406617[_0x4e5b66(0x2c2)]===0x191){if(typeof window>'u')throw new Error(_0x4e5b66(0x1f1));if(window[_0x4e5b66(0xd1)](this[_0x4e5b66(0xcf)]['t']('auth.needGotoLoginAlert'))){const _0x55a05b=window[_0x4e5b66(0x30f)](window[_0x4e5b66(0x111)][_0x4e5b66(0x2cc)]);window[_0x4e5b66(0x111)][_0x4e5b66(0x2cc)]=this[_0x4e5b66(0x1ed)]()+_0x4e5b66(0x35a)+_0x55a05b;}}return _0x406617;}))});}[_0x6aebf(0x1ed)](){var _0x1ce7c0=_0x6aebf,_0x4fcc5d,_0xc946e1;const _0x1cd182=this['_configService'][_0x1ce7c0(0x30d)](ys),_0x3be0a5=this[_0x1ce7c0(0x285)][_0x1ce7c0(0x30d)](K);return(_0xc946e1=(_0x4fcc5d=_0x3be0a5==null?void 0x0:_0x3be0a5[_0x1ce7c0(0x1da)])!=null?_0x4fcc5d:_0x1cd182)!=null?_0xc946e1:Ns;}};rt=on([dt(0x0,_0x5317b8),dt(0x1,_0x18bb67(_0x26c391)),dt(0x2,_0x18bb67(_0x21749b))],rt);var cn=Object[_0x6aebf(0x2ec)],hn=(_0x25e67e,_0x1c17ad,_0x2768e1,_0x279cd7)=>{var _0x1b3cf8=_0x6aebf;for(var _0x2cbece=_0x279cd7>0x1?void 0x0:_0x279cd7?cn(_0x1c17ad,_0x2768e1):_0x1c17ad,_0x4e9388=_0x25e67e[_0x1b3cf8(0x16a)]-0x1,_0x1c8cba;_0x4e9388>=0x0;_0x4e9388--)(_0x1c8cba=_0x25e67e[_0x4e9388])&&(_0x2cbece=_0x1c8cba(_0x2cbece)||_0x2cbece);return _0x2cbece;},Kt=(_0x56fc2a,_0x2a3247)=>(_0x365e50,_0x1939a5)=>_0x2a3247(_0x365e50,_0x1939a5,_0x56fc2a);const bi=_0x6aebf(0x387),_n=_0x6aebf(0x2df);let Tt=class extends _0xd3ae1c{constructor(_0x234adb,_0x34259d){var _0x1a8200=_0x6aebf;super(),this['_HTTPService']=_0x234adb,this['_configService']=_0x34259d,this[_0x1a8200(0x2ac)]();}['_initMergeInterceptor'](){var _0x88febd=_0x6aebf;const _0x4afe1a=this;this['disposeWithMe'](this[_0x88febd(0x103)][_0x88febd(0x32b)]({'priority':0x3e7,'interceptor':_0x310c62({'isMatch'(_0x1e898b){var _0x53c4f2=_0x88febd,_0x55fff4;if(_0x1e898b[_0x53c4f2(0x1cd)]===_0x53c4f2(0x1bb)&&((_0x55fff4=_0x1e898b[_0x53c4f2(0x9f)])!=null&&_0x55fff4['body'])){const {objectID:_0x5d588c,objectType:_0xc05920}=_0x1e898b['requestParams'][_0x53c4f2(0x200)]||{};if(!_0x5d588c||_0xc05920===void 0x0)return!0x1;const _0x3242f8=_0x4afe1a[_0x53c4f2(0x29d)]()+'/'+_0xc05920+_0x53c4f2(0x2a4)+_0x5d588c+_0x53c4f2(0x2d3);if(_0x1e898b['url']===_0x3242f8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x382b17){var _0xcf3edf=_0x88febd,_0x320836;return(_0x320836=_0x382b17[_0xcf3edf(0x9f)])==null?void 0x0:_0x320836['body'];},'mergeParamsToRequest'(_0x2635a4,_0x44420b){var _0x457e47=_0x88febd;const _0x5c697a=_0x4afe1a[_0x457e47(0x29d)]()+_0x457e47(0x35f),_0x1ff75b=_0x2635a4[_0x457e47(0x325)]((_0x28b618,_0x309866)=>{var _0x4b0c26=_0x457e47;const {unitID:_0x2a91f5,objectID:_0x41228c,objectType:_0x3652c0,actions:_0x219624}=_0x309866;return _0x28b618[_0x2a91f5]||(_0x28b618[_0x2a91f5]={}),_0x28b618[_0x2a91f5][_0x41228c]||(_0x28b618[_0x2a91f5][_0x41228c]={'objectID':_0x41228c,'objectType':_0x3652c0,'actions':[]}),_0x28b618[_0x2a91f5][_0x41228c]['actions'][_0x4b0c26(0xce)](..._0x219624),_0x28b618;},{}),_0x12bc60=[];for(const _0x10d2c1 in _0x1ff75b)for(const _0x4c00ea in _0x1ff75b[_0x10d2c1]){const {actions:_0x2132fa,objectType:_0x3ffa9e}=_0x1ff75b[_0x10d2c1][_0x4c00ea],_0x26b3bf=[...new Set(_0x2132fa)];_0x12bc60['push']({'unitID':_0x10d2c1,'objectID':_0x4c00ea,'objectType':_0x3ffa9e,'actions':_0x26b3bf});}return new _0x292d8f(_0x457e47(0x1bb),_0x5c697a,{'headers':_0x44420b[_0x457e47(0x33e)],'withCredentials':_0x44420b[_0x457e47(0xfd)],'responseType':_0x44420b[_0x457e47(0x2db)],'body':{'requests':_0x12bc60}});}},{'distributeResult'(_0x145f14,_0x5049e9){var _0x327105=_0x88febd;const {objectActions:_0x2868ad}=_0x145f14;return _0x5049e9[_0x327105(0x37b)](_0x3c9bae=>{var _0xf3b1df=_0x327105;const {unitID:_0x1c1ab8,objectID:_0x385c47,actions:_0x904ce4}=_0x3c9bae,_0x174385=_0x2868ad[_0xf3b1df(0xa4)](_0x1d1474=>_0x1d1474[_0xf3b1df(0x196)]===_0x1c1ab8&&_0x1d1474[_0xf3b1df(0x314)]===_0x385c47),_0x5d0e39=_0x904ce4[_0xf3b1df(0x37b)](_0x2fe28d=>_0x174385==null?void 0x0:_0x174385[_0xf3b1df(0x1a6)][_0xf3b1df(0xa4)](_0x2da33d=>_0x2da33d['action']===_0x2fe28d))['filter'](_0x1a9291=>!!_0x1a9291);return{'config':_0x3c9bae,'result':{'actions':_0x5d0e39,'error':_0x145f14['error']}};});}})}));}[_0x6aebf(0x29d)](){var _0x47feeb=_0x6aebf,_0x49da03,_0x4f498a;const _0x3c7201=this[_0x47feeb(0x285)][_0x47feeb(0x30d)](bi),_0x276316=this[_0x47feeb(0x285)][_0x47feeb(0x30d)](K);return(_0x4f498a=(_0x49da03=_0x276316==null?void 0x0:_0x276316[_0x47feeb(0x263)])!=null?_0x49da03:_0x3c7201)!=null?_0x4f498a:_n;}async['create'](_0x1bd807){var _0x28ce79=_0x6aebf;const _0x3e454b=this['_getAPIPrefixPath']()+'/'+_0x1bd807['objectType']+_0x28ce79(0x273);return(await this[_0x28ce79(0x103)][_0x28ce79(0x288)](_0x3e454b,{'body':_0x1bd807}))['body'][_0x28ce79(0x314)]||'';}async[_0x6aebf(0x2cf)](_0x58d34e){var _0x41a131=_0x6aebf;const _0x5db82b=this[_0x41a131(0x29d)]()+'/-/object/list';return(await this[_0x41a131(0x103)][_0x41a131(0x288)](_0x5db82b,{'body':_0x58d34e}))[_0x41a131(0x200)][_0x41a131(0x1e2)];}async['update'](_0x100e30){var _0x473fcf=_0x6aebf,_0x24bf68,_0x11f1e3;const _0x2ec7fb=this['_getAPIPrefixPath']()+'/'+_0x100e30[_0x473fcf(0x189)]+_0x473fcf(0x2a4)+_0x100e30[_0x473fcf(0x314)],_0x17f125=await this[_0x473fcf(0x103)]['put'](_0x2ec7fb,{'body':_0x100e30});if(((_0x11f1e3=(_0x24bf68=_0x17f125==null?void 0x0:_0x17f125[_0x473fcf(0x200)])==null?void 0x0:_0x24bf68[_0x473fcf(0x232)])==null?void 0x0:_0x11f1e3['code'])!==0x1)throw new Error(_0x473fcf(0x198));}async[_0x6aebf(0x34d)](_0x9e0ff6){var _0x8c46a1=_0x6aebf;const _0x2e2aa4=this[_0x8c46a1(0x29d)]()+'/'+_0x9e0ff6['objectType']+_0x8c46a1(0x2a4)+_0x9e0ff6[_0x8c46a1(0x314)]+_0x8c46a1(0x2d3);return(await this['_HTTPService'][_0x8c46a1(0x288)](_0x2e2aa4,{'body':_0x9e0ff6}))[_0x8c46a1(0x200)]['actions'];}async[_0x6aebf(0x1b9)](_0x1d6d1c){var _0x45fd6a=_0x6aebf;const _0xa5646=this[_0x45fd6a(0x29d)]()+_0x45fd6a(0x35f);return(await this['_HTTPService'][_0x45fd6a(0x288)](_0xa5646,{'body':{'requests':_0x1d6d1c}}))[_0x45fd6a(0x200)][_0x45fd6a(0x329)];}async['listRoles'](_0x4d7845){var _0x5e0cd9=_0x6aebf;const _0x4bb965=this['_getAPIPrefixPath']()+'/'+_0x4d7845[_0x5e0cd9(0x189)]+_0x5e0cd9(0x10a),_0x3fdd66=await this[_0x5e0cd9(0x103)][_0x5e0cd9(0x288)](_0x4bb965,{'body':_0x4d7845});return{'roles':_0x3fdd66['body'][_0x5e0cd9(0x279)],'actions':_0x3fdd66[_0x5e0cd9(0x200)][_0x5e0cd9(0x1a6)]};}async[_0x6aebf(0xff)](_0x3cd8b1){var _0xedf9d=_0x6aebf;const _0x51be34=this['_getAPIPrefixPath']()+'/collaborator';await this[_0xedf9d(0x103)][_0xedf9d(0x155)](_0x51be34,{'params':{'collaboratorID':_0x3cd8b1['collaboratorID'],'objectID':_0x3cd8b1[_0xedf9d(0x314)],'unitID':_0x3cd8b1[_0xedf9d(0x196)]}});}async['updateCollaborator'](_0x5a0213){var _0x18c918=_0x6aebf;const _0xb0faa=this[_0x18c918(0x29d)]()+_0x18c918(0x362);await this[_0x18c918(0x103)][_0x18c918(0x278)](_0xb0faa,{'body':_0x5a0213});}async[_0x6aebf(0xda)](_0x3e0eb5){var _0x36e5fd=_0x6aebf;const _0x449d20=this[_0x36e5fd(0x29d)]()+_0x36e5fd(0x362);await this[_0x36e5fd(0x103)][_0x36e5fd(0x288)](_0x449d20,{'body':_0x3e0eb5});}async[_0x6aebf(0x2ce)](_0x39c4db){var _0x528936=_0x6aebf;const _0x59a461=this[_0x528936(0x29d)]()+'/collaborator';return(await this[_0x528936(0x103)][_0x528936(0x346)](_0x59a461,{'params':{'objectID':_0x39c4db[_0x528936(0x314)],'unitID':_0x39c4db['unitID']}}))[_0x528936(0x200)][_0x528936(0xbb)];}async[_0x6aebf(0x1af)](_0x1fec62){var _0x585340=_0x6aebf;const _0x5cd7ec=this[_0x585340(0x29d)]()+_0x585340(0x362);await this['_HTTPService']['put'](_0x5cd7ec,{'body':_0x1fec62});}};Tt=hn([Kt(0x0,_0x18bb67(_0x26c391)),Kt(0x1,_0x18bb67(_0x5317b8))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x2e7203){var _0x211b26=_0x6aebf;return _0x2e7203&&_0x2e7203[_0x211b26(0x383)]&&Object[_0x211b26(0x353)][_0x211b26(0x14e)][_0x211b26(0x382)](_0x2e7203,_0x211b26(0x1f0))?_0x2e7203[_0x211b26(0x1f0)]:_0x2e7203;}var Ve={'exports':{}};function ln(_0x354759){var _0x41e646=_0x6aebf;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x354759+_0x41e646(0x209));}var Ge={'exports':{}},un=Ge['exports'],qt;function te(){var _0x5d9d33=_0x6aebf;return qt||(qt=0x1,function(_0x56c9c0,_0x15930e){(function(_0x143ad8,_0x2f663e){var _0x497477=_0x5cc4;_0x56c9c0[_0x497477(0x1bc)]=_0x2f663e();}(un,function(){var _0x22b19c=_0x22b19c||function(_0x5c6259,_0x3e7f09){var _0x54ef1a=_0x5cc4,_0x533fea;if(typeof window<'u'&&window[_0x54ef1a(0x16d)]&&(_0x533fea=window[_0x54ef1a(0x16d)]),typeof self<'u'&&self[_0x54ef1a(0x16d)]&&(_0x533fea=self[_0x54ef1a(0x16d)]),typeof globalThis<'u'&&globalThis[_0x54ef1a(0x16d)]&&(_0x533fea=globalThis[_0x54ef1a(0x16d)]),!_0x533fea&&typeof window<'u'&&window['msCrypto']&&(_0x533fea=window[_0x54ef1a(0x369)]),!_0x533fea&&typeof ft<'u'&&ft[_0x54ef1a(0x16d)]&&(_0x533fea=ft[_0x54ef1a(0x16d)]),!_0x533fea&&typeof ln==_0x54ef1a(0x183))try{_0x533fea=require(_0x54ef1a(0x16d));}catch{}var _0x191adc=function(){var _0x5b80a8=_0x54ef1a;if(_0x533fea){if(typeof _0x533fea[_0x5b80a8(0x178)]==_0x5b80a8(0x183))try{return _0x533fea[_0x5b80a8(0x178)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x533fea[_0x5b80a8(0x27d)]==_0x5b80a8(0x183))try{return _0x533fea[_0x5b80a8(0x27d)](0x4)[_0x5b80a8(0x184)]();}catch{}}throw new Error(_0x5b80a8(0x143));},_0x1e2eac=Object[_0x54ef1a(0x19e)]||(function(){function _0x290e86(){}return function(_0x378908){var _0x323db5=_0x5cc4,_0x5282d4;return _0x290e86[_0x323db5(0x353)]=_0x378908,_0x5282d4=new _0x290e86(),_0x290e86[_0x323db5(0x353)]=null,_0x5282d4;};}()),_0x4a32b7={},_0x24b6b5=_0x4a32b7[_0x54ef1a(0x1b4)]={},_0x328815=_0x24b6b5[_0x54ef1a(0xa1)]=(function(){return{'extend':function(_0x1c7e5f){var _0x1dabcc=_0x5cc4,_0x492035=_0x1e2eac(this);return _0x1c7e5f&&_0x492035['mixIn'](_0x1c7e5f),(!_0x492035[_0x1dabcc(0x14e)]('init')||this[_0x1dabcc(0x2b2)]===_0x492035[_0x1dabcc(0x2b2)])&&(_0x492035[_0x1dabcc(0x2b2)]=function(){var _0x109d91=_0x1dabcc;_0x492035[_0x109d91(0x24e)][_0x109d91(0x2b2)][_0x109d91(0x136)](this,arguments);}),_0x492035[_0x1dabcc(0x2b2)]['prototype']=_0x492035,_0x492035[_0x1dabcc(0x24e)]=this,_0x492035;},'create':function(){var _0x55274=_0x5cc4,_0x8870fc=this[_0x55274(0x13a)]();return _0x8870fc['init'][_0x55274(0x136)](_0x8870fc,arguments),_0x8870fc;},'init':function(){},'mixIn':function(_0x4b2c3e){var _0x1e4b65=_0x5cc4;for(var _0x427385 in _0x4b2c3e)_0x4b2c3e[_0x1e4b65(0x14e)](_0x427385)&&(this[_0x427385]=_0x4b2c3e[_0x427385]);_0x4b2c3e[_0x1e4b65(0x14e)](_0x1e4b65(0x202))&&(this[_0x1e4b65(0x202)]=_0x4b2c3e[_0x1e4b65(0x202)]);},'clone':function(){var _0x3876d6=_0x5cc4;return this[_0x3876d6(0x2b2)][_0x3876d6(0x353)][_0x3876d6(0x13a)](this);}};}()),_0x8ac5f4=_0x24b6b5[_0x54ef1a(0xb7)]=_0x328815[_0x54ef1a(0x13a)]({'init':function(_0x205e39,_0x52d6ec){var _0x136a5f=_0x54ef1a;_0x205e39=this[_0x136a5f(0x21e)]=_0x205e39||[],_0x52d6ec!=_0x3e7f09?this['sigBytes']=_0x52d6ec:this[_0x136a5f(0xf0)]=_0x205e39[_0x136a5f(0x16a)]*0x4;},'toString':function(_0x1c795f){var _0xd88c35=_0x54ef1a;return(_0x1c795f||_0x1cae88)[_0xd88c35(0x165)](this);},'concat':function(_0x13899a){var _0x16e605=_0x54ef1a,_0x25a488=this[_0x16e605(0x21e)],_0xd34783=_0x13899a[_0x16e605(0x21e)],_0x22c67e=this[_0x16e605(0xf0)],_0x353183=_0x13899a[_0x16e605(0xf0)];if(this['clamp'](),_0x22c67e%0x4)for(var _0x3438ca=0x0;_0x3438ca<_0x353183;_0x3438ca++){var _0x4218ad=_0xd34783[_0x3438ca>>>0x2]>>>0x18-_0x3438ca%0x4*0x8&0xff;_0x25a488[_0x22c67e+_0x3438ca>>>0x2]|=_0x4218ad<<0x18-(_0x22c67e+_0x3438ca)%0x4*0x8;}else{for(var _0x583c9b=0x0;_0x583c9b<_0x353183;_0x583c9b+=0x4)_0x25a488[_0x22c67e+_0x583c9b>>>0x2]=_0xd34783[_0x583c9b>>>0x2];}return this[_0x16e605(0xf0)]+=_0x353183,this;},'clamp':function(){var _0x32fb23=_0x54ef1a,_0x1beb16=this['words'],_0x1b447d=this[_0x32fb23(0xf0)];_0x1beb16[_0x1b447d>>>0x2]&=0xffffffff<<0x20-_0x1b447d%0x4*0x8,_0x1beb16[_0x32fb23(0x16a)]=_0x5c6259[_0x32fb23(0x16f)](_0x1b447d/0x4);},'clone':function(){var _0x5b99e3=_0x54ef1a,_0x59b322=_0x328815[_0x5b99e3(0x262)][_0x5b99e3(0x382)](this);return _0x59b322[_0x5b99e3(0x21e)]=this['words'][_0x5b99e3(0x1ec)](0x0),_0x59b322;},'random':function(_0x5aa044){var _0x61a478=_0x54ef1a;for(var _0x385caa=[],_0x48b75d=0x0;_0x48b75d<_0x5aa044;_0x48b75d+=0x4)_0x385caa[_0x61a478(0xce)](_0x191adc());return new _0x8ac5f4['init'](_0x385caa,_0x5aa044);}}),_0x48932c=_0x4a32b7[_0x54ef1a(0x356)]={},_0x1cae88=_0x48932c[_0x54ef1a(0x235)]={'stringify':function(_0x5efd46){var _0x49f511=_0x54ef1a;for(var _0x190b4e=_0x5efd46[_0x49f511(0x21e)],_0x29f677=_0x5efd46[_0x49f511(0xf0)],_0x41f48c=[],_0x39500d=0x0;_0x39500d<_0x29f677;_0x39500d++){var _0x49141a=_0x190b4e[_0x39500d>>>0x2]>>>0x18-_0x39500d%0x4*0x8&0xff;_0x41f48c['push']((_0x49141a>>>0x4)[_0x49f511(0x202)](0x10)),_0x41f48c[_0x49f511(0xce)]((_0x49141a&0xf)['toString'](0x10));}return _0x41f48c[_0x49f511(0x37e)]('');},'parse':function(_0x3e397c){for(var _0x478525=_0x3e397c['length'],_0x452ac1=[],_0x101809=0x0;_0x101809<_0x478525;_0x101809+=0x2)_0x452ac1[_0x101809>>>0x3]|=parseInt(_0x3e397c['substr'](_0x101809,0x2),0x10)<<0x18-_0x101809%0x8*0x4;return new _0x8ac5f4['init'](_0x452ac1,_0x478525/0x2);}},_0x52f450=_0x48932c['Latin1']={'stringify':function(_0x51bdc3){var _0x33e8de=_0x54ef1a;for(var _0x361cf9=_0x51bdc3[_0x33e8de(0x21e)],_0x573fee=_0x51bdc3[_0x33e8de(0xf0)],_0x25a6d1=[],_0x47a1e4=0x0;_0x47a1e4<_0x573fee;_0x47a1e4++){var _0x3a7b7b=_0x361cf9[_0x47a1e4>>>0x2]>>>0x18-_0x47a1e4%0x4*0x8&0xff;_0x25a6d1[_0x33e8de(0xce)](String[_0x33e8de(0x254)](_0x3a7b7b));}return _0x25a6d1[_0x33e8de(0x37e)]('');},'parse':function(_0x594d22){var _0x3c596f=_0x54ef1a;for(var _0x3412e4=_0x594d22[_0x3c596f(0x16a)],_0x2a3d4f=[],_0x2cc301=0x0;_0x2cc301<_0x3412e4;_0x2cc301++)_0x2a3d4f[_0x2cc301>>>0x2]|=(_0x594d22[_0x3c596f(0xbf)](_0x2cc301)&0xff)<<0x18-_0x2cc301%0x4*0x8;return new _0x8ac5f4[(_0x3c596f(0x2b2))](_0x2a3d4f,_0x3412e4);}},_0x1bbca4=_0x48932c[_0x54ef1a(0x375)]={'stringify':function(_0x450860){var _0x25a649=_0x54ef1a;try{return decodeURIComponent(escape(_0x52f450[_0x25a649(0x165)](_0x450860)));}catch{throw new Error(_0x25a649(0x306));}},'parse':function(_0x4d0240){return _0x52f450['parse'](unescape(encodeURIComponent(_0x4d0240)));}},_0x4b2593=_0x24b6b5[_0x54ef1a(0x390)]=_0x328815[_0x54ef1a(0x13a)]({'reset':function(){var _0x2e2884=_0x54ef1a;this[_0x2e2884(0x248)]=new _0x8ac5f4[(_0x2e2884(0x2b2))](),this['_nDataBytes']=0x0;},'_append':function(_0x2682db){var _0x21125a=_0x54ef1a;typeof _0x2682db==_0x21125a(0x1a3)&&(_0x2682db=_0x1bbca4[_0x21125a(0x337)](_0x2682db)),this[_0x21125a(0x248)][_0x21125a(0x26c)](_0x2682db),this['_nDataBytes']+=_0x2682db['sigBytes'];},'_process':function(_0x173fd1){var _0x3aba4b=_0x54ef1a,_0x3189a5,_0x235ffd=this[_0x3aba4b(0x248)],_0x5f351c=_0x235ffd[_0x3aba4b(0x21e)],_0x45300e=_0x235ffd[_0x3aba4b(0xf0)],_0x5870f8=this['blockSize'],_0x2d58c9=_0x5870f8*0x4,_0x4a7bbb=_0x45300e/_0x2d58c9;_0x173fd1?_0x4a7bbb=_0x5c6259[_0x3aba4b(0x16f)](_0x4a7bbb):_0x4a7bbb=_0x5c6259[_0x3aba4b(0x23e)]((_0x4a7bbb|0x0)-this[_0x3aba4b(0x349)],0x0);var _0x215175=_0x4a7bbb*_0x5870f8,_0x3989ff=_0x5c6259[_0x3aba4b(0x30e)](_0x215175*0x4,_0x45300e);if(_0x215175){for(var _0x28c11d=0x0;_0x28c11d<_0x215175;_0x28c11d+=_0x5870f8)this[_0x3aba4b(0x381)](_0x5f351c,_0x28c11d);_0x3189a5=_0x5f351c[_0x3aba4b(0xe2)](0x0,_0x215175),_0x235ffd[_0x3aba4b(0xf0)]-=_0x3989ff;}return new _0x8ac5f4[(_0x3aba4b(0x2b2))](_0x3189a5,_0x3989ff);},'clone':function(){var _0x36a007=_0x54ef1a,_0x2b6cae=_0x328815['clone']['call'](this);return _0x2b6cae[_0x36a007(0x248)]=this[_0x36a007(0x248)][_0x36a007(0x262)](),_0x2b6cae;},'_minBufferSize':0x0});_0x24b6b5[_0x54ef1a(0x192)]=_0x4b2593[_0x54ef1a(0x13a)]({'cfg':_0x328815[_0x54ef1a(0x13a)](),'init':function(_0x489b10){var _0x2ec65b=_0x54ef1a;this['cfg']=this[_0x2ec65b(0xd0)][_0x2ec65b(0x13a)](_0x489b10),this['reset']();},'reset':function(){_0x4b2593['reset']['call'](this),this['_doReset']();},'update':function(_0xc7eee9){var _0x4acf78=_0x54ef1a;return this[_0x4acf78(0xe0)](_0xc7eee9),this['_process'](),this;},'finalize':function(_0x32527f){var _0x3e2492=_0x54ef1a;_0x32527f&&this[_0x3e2492(0xe0)](_0x32527f);var _0x7d4a79=this[_0x3e2492(0x2a5)]();return _0x7d4a79;},'blockSize':0x10,'_createHelper':function(_0x9009f0){return function(_0x488e2e,_0xfa9983){var _0x13c935=_0x5cc4;return new _0x9009f0[(_0x13c935(0x2b2))](_0xfa9983)[_0x13c935(0x227)](_0x488e2e);};},'_createHmacHelper':function(_0x3f83a6){return function(_0x29998a,_0x48f5a4){var _0x2c653b=_0x5cc4;return new _0x5e1345[(_0x2c653b(0x1aa))][(_0x2c653b(0x2b2))](_0x3f83a6,_0x48f5a4)[_0x2c653b(0x227)](_0x29998a);};}});var _0x5e1345=_0x4a32b7['algo']={};return _0x4a32b7;}(Math);return _0x22b19c;}));}(Ge)),Ge[_0x5d9d33(0x1bc)];}var We={'exports':{}},dn=We['exports'],zt;function Oi(){return zt||(zt=0x1,function(_0x16a037,_0x397cfd){(function(_0x838d3b,_0x4d2bd5){_0x16a037['exports']=_0x4d2bd5(te());}(dn,function(_0x571e7){return(function(){var _0x489b23=_0x5cc4,_0xe60b87=_0x571e7,_0x471842=_0xe60b87[_0x489b23(0x1b4)],_0x5d061e=_0x471842[_0x489b23(0xb7)],_0x4e7779=_0xe60b87[_0x489b23(0x356)];_0x4e7779[_0x489b23(0x201)]={'stringify':function(_0x31760a){var _0x2a9560=_0x489b23,_0x5867b0=_0x31760a['words'],_0x1c2c6d=_0x31760a[_0x2a9560(0xf0)],_0x3e34c3=this['_map'];_0x31760a[_0x2a9560(0x1ea)]();for(var _0x281002=[],_0x53db91=0x0;_0x53db91<_0x1c2c6d;_0x53db91+=0x3)for(var _0x19b2bf=_0x5867b0[_0x53db91>>>0x2]>>>0x18-_0x53db91%0x4*0x8&0xff,_0x3aa207=_0x5867b0[_0x53db91+0x1>>>0x2]>>>0x18-(_0x53db91+0x1)%0x4*0x8&0xff,_0x675843=_0x5867b0[_0x53db91+0x2>>>0x2]>>>0x18-(_0x53db91+0x2)%0x4*0x8&0xff,_0x3dc567=_0x19b2bf<<0x10|_0x3aa207<<0x8|_0x675843,_0x13c9b3=0x0;_0x13c9b3<0x4&&_0x53db91+_0x13c9b3*0.75<_0x1c2c6d;_0x13c9b3++)_0x281002[_0x2a9560(0xce)](_0x3e34c3[_0x2a9560(0x2a2)](_0x3dc567>>>0x6*(0x3-_0x13c9b3)&0x3f));var _0x57e5b4=_0x3e34c3['charAt'](0x40);if(_0x57e5b4){for(;_0x281002[_0x2a9560(0x16a)]%0x4;)_0x281002[_0x2a9560(0xce)](_0x57e5b4);}return _0x281002[_0x2a9560(0x37e)]('');},'parse':function(_0x390625){var _0x1d4b4a=_0x489b23,_0x26f65d=_0x390625['length'],_0x52bc2a=this[_0x1d4b4a(0x156)],_0x4c9306=this[_0x1d4b4a(0x1a8)];if(!_0x4c9306){_0x4c9306=this['_reverseMap']=[];for(var _0x2ec8b2=0x0;_0x2ec8b2<_0x52bc2a[_0x1d4b4a(0x16a)];_0x2ec8b2++)_0x4c9306[_0x52bc2a['charCodeAt'](_0x2ec8b2)]=_0x2ec8b2;}var _0x29cbf7=_0x52bc2a['charAt'](0x40);if(_0x29cbf7){var _0x3c8f4f=_0x390625[_0x1d4b4a(0x27b)](_0x29cbf7);_0x3c8f4f!==-0x1&&(_0x26f65d=_0x3c8f4f);}return _0x4fd05e(_0x390625,_0x26f65d,_0x4c9306);},'_map':_0x489b23(0x18d)};function _0x4fd05e(_0x2d547c,_0x36e51a,_0x198670){var _0x1014c4=_0x489b23;for(var _0x35b87b=[],_0x3cb14d=0x0,_0x36dae6=0x0;_0x36dae6<_0x36e51a;_0x36dae6++)if(_0x36dae6%0x4){var _0x291a0d=_0x198670[_0x2d547c[_0x1014c4(0xbf)](_0x36dae6-0x1)]<<_0x36dae6%0x4*0x2,_0xa5793d=_0x198670[_0x2d547c[_0x1014c4(0xbf)](_0x36dae6)]>>>0x6-_0x36dae6%0x4*0x2,_0x2e7131=_0x291a0d|_0xa5793d;_0x35b87b[_0x3cb14d>>>0x2]|=_0x2e7131<<0x18-_0x3cb14d%0x4*0x8,_0x3cb14d++;}return _0x5d061e[_0x1014c4(0x19e)](_0x35b87b,_0x3cb14d);}}()),_0x571e7['enc']['Base64'];}));}(We)),We['exports'];}var Ye={'exports':{}},fn=Ye['exports'],Jt;function vn(){return Jt||(Jt=0x1,function(_0x57266f,_0x3c1fce){(function(_0x2101d4,_0x27c664){_0x57266f['exports']=_0x27c664(te());}(fn,function(_0x457f74){return function(_0x1f8141){var _0x384bba=_0x5cc4,_0x3621b9=_0x457f74,_0x4e909c=_0x3621b9[_0x384bba(0x1b4)],_0x293393=_0x4e909c[_0x384bba(0xb7)],_0x1d6831=_0x4e909c[_0x384bba(0x192)],_0x59bfef=_0x3621b9[_0x384bba(0xc9)],_0x7dba13=[];(function(){for(var _0x439717=0x0;_0x439717<0x40;_0x439717++)_0x7dba13[_0x439717]=_0x1f8141['abs'](_0x1f8141['sin'](_0x439717+0x1))*0x100000000|0x0;}());var _0x448185=_0x59bfef[_0x384bba(0x2a7)]=_0x1d6831[_0x384bba(0x13a)]({'_doReset':function(){var _0x577dff=_0x384bba;this[_0x577dff(0x32e)]=new _0x293393[(_0x577dff(0x2b2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x35b0d0,_0x306ea6){var _0x4c6af2=_0x384bba;for(var _0x3bc63a=0x0;_0x3bc63a<0x10;_0x3bc63a++){var _0x3b7a41=_0x306ea6+_0x3bc63a,_0x495405=_0x35b0d0[_0x3b7a41];_0x35b0d0[_0x3b7a41]=(_0x495405<<0x8|_0x495405>>>0x18)&0xff00ff|(_0x495405<<0x18|_0x495405>>>0x8)&0xff00ff00;}var _0x209d4a=this['_hash'][_0x4c6af2(0x21e)],_0x5b17c0=_0x35b0d0[_0x306ea6+0x0],_0x234dc9=_0x35b0d0[_0x306ea6+0x1],_0xf9827=_0x35b0d0[_0x306ea6+0x2],_0x3a7092=_0x35b0d0[_0x306ea6+0x3],_0x223dd3=_0x35b0d0[_0x306ea6+0x4],_0x5a5e7a=_0x35b0d0[_0x306ea6+0x5],_0x34cab3=_0x35b0d0[_0x306ea6+0x6],_0x31a069=_0x35b0d0[_0x306ea6+0x7],_0x538cff=_0x35b0d0[_0x306ea6+0x8],_0x147bf6=_0x35b0d0[_0x306ea6+0x9],_0xb60d3b=_0x35b0d0[_0x306ea6+0xa],_0x256cbb=_0x35b0d0[_0x306ea6+0xb],_0x279c6a=_0x35b0d0[_0x306ea6+0xc],_0x28d2c8=_0x35b0d0[_0x306ea6+0xd],_0x30eeff=_0x35b0d0[_0x306ea6+0xe],_0x4f1f3a=_0x35b0d0[_0x306ea6+0xf],_0x352ac5=_0x209d4a[0x0],_0x5c95a5=_0x209d4a[0x1],_0x591c73=_0x209d4a[0x2],_0x3e3138=_0x209d4a[0x3];_0x352ac5=_0x581b22(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x5b17c0,0x7,_0x7dba13[0x0]),_0x3e3138=_0x581b22(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x234dc9,0xc,_0x7dba13[0x1]),_0x591c73=_0x581b22(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0xf9827,0x11,_0x7dba13[0x2]),_0x5c95a5=_0x581b22(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x3a7092,0x16,_0x7dba13[0x3]),_0x352ac5=_0x581b22(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x223dd3,0x7,_0x7dba13[0x4]),_0x3e3138=_0x581b22(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x5a5e7a,0xc,_0x7dba13[0x5]),_0x591c73=_0x581b22(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x34cab3,0x11,_0x7dba13[0x6]),_0x5c95a5=_0x581b22(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x31a069,0x16,_0x7dba13[0x7]),_0x352ac5=_0x581b22(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x538cff,0x7,_0x7dba13[0x8]),_0x3e3138=_0x581b22(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x147bf6,0xc,_0x7dba13[0x9]),_0x591c73=_0x581b22(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0xb60d3b,0x11,_0x7dba13[0xa]),_0x5c95a5=_0x581b22(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x256cbb,0x16,_0x7dba13[0xb]),_0x352ac5=_0x581b22(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x279c6a,0x7,_0x7dba13[0xc]),_0x3e3138=_0x581b22(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x28d2c8,0xc,_0x7dba13[0xd]),_0x591c73=_0x581b22(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x30eeff,0x11,_0x7dba13[0xe]),_0x5c95a5=_0x581b22(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x4f1f3a,0x16,_0x7dba13[0xf]),_0x352ac5=_0x307eb9(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x234dc9,0x5,_0x7dba13[0x10]),_0x3e3138=_0x307eb9(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x34cab3,0x9,_0x7dba13[0x11]),_0x591c73=_0x307eb9(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x256cbb,0xe,_0x7dba13[0x12]),_0x5c95a5=_0x307eb9(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x5b17c0,0x14,_0x7dba13[0x13]),_0x352ac5=_0x307eb9(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x5a5e7a,0x5,_0x7dba13[0x14]),_0x3e3138=_0x307eb9(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0xb60d3b,0x9,_0x7dba13[0x15]),_0x591c73=_0x307eb9(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x4f1f3a,0xe,_0x7dba13[0x16]),_0x5c95a5=_0x307eb9(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x223dd3,0x14,_0x7dba13[0x17]),_0x352ac5=_0x307eb9(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x147bf6,0x5,_0x7dba13[0x18]),_0x3e3138=_0x307eb9(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x30eeff,0x9,_0x7dba13[0x19]),_0x591c73=_0x307eb9(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x3a7092,0xe,_0x7dba13[0x1a]),_0x5c95a5=_0x307eb9(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x538cff,0x14,_0x7dba13[0x1b]),_0x352ac5=_0x307eb9(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x28d2c8,0x5,_0x7dba13[0x1c]),_0x3e3138=_0x307eb9(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0xf9827,0x9,_0x7dba13[0x1d]),_0x591c73=_0x307eb9(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x31a069,0xe,_0x7dba13[0x1e]),_0x5c95a5=_0x307eb9(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x279c6a,0x14,_0x7dba13[0x1f]),_0x352ac5=_0xeee403(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x5a5e7a,0x4,_0x7dba13[0x20]),_0x3e3138=_0xeee403(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x538cff,0xb,_0x7dba13[0x21]),_0x591c73=_0xeee403(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x256cbb,0x10,_0x7dba13[0x22]),_0x5c95a5=_0xeee403(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x30eeff,0x17,_0x7dba13[0x23]),_0x352ac5=_0xeee403(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x234dc9,0x4,_0x7dba13[0x24]),_0x3e3138=_0xeee403(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x223dd3,0xb,_0x7dba13[0x25]),_0x591c73=_0xeee403(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x31a069,0x10,_0x7dba13[0x26]),_0x5c95a5=_0xeee403(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0xb60d3b,0x17,_0x7dba13[0x27]),_0x352ac5=_0xeee403(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x28d2c8,0x4,_0x7dba13[0x28]),_0x3e3138=_0xeee403(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x5b17c0,0xb,_0x7dba13[0x29]),_0x591c73=_0xeee403(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x3a7092,0x10,_0x7dba13[0x2a]),_0x5c95a5=_0xeee403(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x34cab3,0x17,_0x7dba13[0x2b]),_0x352ac5=_0xeee403(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x147bf6,0x4,_0x7dba13[0x2c]),_0x3e3138=_0xeee403(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x279c6a,0xb,_0x7dba13[0x2d]),_0x591c73=_0xeee403(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x4f1f3a,0x10,_0x7dba13[0x2e]),_0x5c95a5=_0xeee403(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0xf9827,0x17,_0x7dba13[0x2f]),_0x352ac5=_0x4e9eed(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x5b17c0,0x6,_0x7dba13[0x30]),_0x3e3138=_0x4e9eed(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x31a069,0xa,_0x7dba13[0x31]),_0x591c73=_0x4e9eed(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x30eeff,0xf,_0x7dba13[0x32]),_0x5c95a5=_0x4e9eed(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x5a5e7a,0x15,_0x7dba13[0x33]),_0x352ac5=_0x4e9eed(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x279c6a,0x6,_0x7dba13[0x34]),_0x3e3138=_0x4e9eed(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x3a7092,0xa,_0x7dba13[0x35]),_0x591c73=_0x4e9eed(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0xb60d3b,0xf,_0x7dba13[0x36]),_0x5c95a5=_0x4e9eed(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x234dc9,0x15,_0x7dba13[0x37]),_0x352ac5=_0x4e9eed(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x538cff,0x6,_0x7dba13[0x38]),_0x3e3138=_0x4e9eed(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x4f1f3a,0xa,_0x7dba13[0x39]),_0x591c73=_0x4e9eed(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x34cab3,0xf,_0x7dba13[0x3a]),_0x5c95a5=_0x4e9eed(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x28d2c8,0x15,_0x7dba13[0x3b]),_0x352ac5=_0x4e9eed(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x223dd3,0x6,_0x7dba13[0x3c]),_0x3e3138=_0x4e9eed(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x256cbb,0xa,_0x7dba13[0x3d]),_0x591c73=_0x4e9eed(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0xf9827,0xf,_0x7dba13[0x3e]),_0x5c95a5=_0x4e9eed(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x147bf6,0x15,_0x7dba13[0x3f]),_0x209d4a[0x0]=_0x209d4a[0x0]+_0x352ac5|0x0,_0x209d4a[0x1]=_0x209d4a[0x1]+_0x5c95a5|0x0,_0x209d4a[0x2]=_0x209d4a[0x2]+_0x591c73|0x0,_0x209d4a[0x3]=_0x209d4a[0x3]+_0x3e3138|0x0;},'_doFinalize':function(){var _0x2b38b0=_0x384bba,_0x3f3ead=this['_data'],_0x43f79b=_0x3f3ead[_0x2b38b0(0x21e)],_0x1be325=this['_nDataBytes']*0x8,_0x59e569=_0x3f3ead['sigBytes']*0x8;_0x43f79b[_0x59e569>>>0x5]|=0x80<<0x18-_0x59e569%0x20;var _0x59551d=_0x1f8141[_0x2b38b0(0x37a)](_0x1be325/0x100000000),_0x1372b1=_0x1be325;_0x43f79b[(_0x59e569+0x40>>>0x9<<0x4)+0xf]=(_0x59551d<<0x8|_0x59551d>>>0x18)&0xff00ff|(_0x59551d<<0x18|_0x59551d>>>0x8)&0xff00ff00,_0x43f79b[(_0x59e569+0x40>>>0x9<<0x4)+0xe]=(_0x1372b1<<0x8|_0x1372b1>>>0x18)&0xff00ff|(_0x1372b1<<0x18|_0x1372b1>>>0x8)&0xff00ff00,_0x3f3ead['sigBytes']=(_0x43f79b['length']+0x1)*0x4,this[_0x2b38b0(0x2eb)]();for(var _0x280bd8=this[_0x2b38b0(0x32e)],_0x151596=_0x280bd8[_0x2b38b0(0x21e)],_0x2c23db=0x0;_0x2c23db<0x4;_0x2c23db++){var _0x1de6ab=_0x151596[_0x2c23db];_0x151596[_0x2c23db]=(_0x1de6ab<<0x8|_0x1de6ab>>>0x18)&0xff00ff|(_0x1de6ab<<0x18|_0x1de6ab>>>0x8)&0xff00ff00;}return _0x280bd8;},'clone':function(){var _0x1c3769=_0x384bba,_0x3353e0=_0x1d6831[_0x1c3769(0x262)][_0x1c3769(0x382)](this);return _0x3353e0[_0x1c3769(0x32e)]=this[_0x1c3769(0x32e)]['clone'](),_0x3353e0;}});function _0x581b22(_0x5790d8,_0x3564c8,_0x5d2367,_0x84f4ad,_0x430215,_0x493602,_0x29d8cd){var _0x2befba=_0x5790d8+(_0x3564c8&_0x5d2367|~_0x3564c8&_0x84f4ad)+_0x430215+_0x29d8cd;return(_0x2befba<<_0x493602|_0x2befba>>>0x20-_0x493602)+_0x3564c8;}function _0x307eb9(_0x3b9a42,_0x98c430,_0x24e70d,_0x59f086,_0x54b4f3,_0x5e51cb,_0x160b8b){var _0x415684=_0x3b9a42+(_0x98c430&_0x59f086|_0x24e70d&~_0x59f086)+_0x54b4f3+_0x160b8b;return(_0x415684<<_0x5e51cb|_0x415684>>>0x20-_0x5e51cb)+_0x98c430;}function _0xeee403(_0x3ba25b,_0x354895,_0x2b22f1,_0x89a05,_0xc74243,_0x5be338,_0x1f839f){var _0x3ae0c5=_0x3ba25b+(_0x354895^_0x2b22f1^_0x89a05)+_0xc74243+_0x1f839f;return(_0x3ae0c5<<_0x5be338|_0x3ae0c5>>>0x20-_0x5be338)+_0x354895;}function _0x4e9eed(_0x568df9,_0x4adf3c,_0x10784c,_0xa7f721,_0x3a8fd3,_0x12327a,_0x2a8606){var _0x1c7dd6=_0x568df9+(_0x10784c^(_0x4adf3c|~_0xa7f721))+_0x3a8fd3+_0x2a8606;return(_0x1c7dd6<<_0x12327a|_0x1c7dd6>>>0x20-_0x12327a)+_0x4adf3c;}_0x3621b9[_0x384bba(0x2a7)]=_0x1d6831[_0x384bba(0x1ac)](_0x448185),_0x3621b9[_0x384bba(0x25f)]=_0x1d6831['_createHmacHelper'](_0x448185);}(Math),_0x457f74['MD5'];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x6aebf(0x1bc)],Xt;function mn(){var _0x717b68=_0x6aebf;return Xt||(Xt=0x1,function(_0x1ae3c3,_0x2e849e){(function(_0x3742ee,_0x320ed0){_0x1ae3c3['exports']=_0x320ed0(te());}(pn,function(_0x382be0){var _0x461890=_0x5cc4;return(function(){var _0x3211c4=_0x5cc4,_0x592521=_0x382be0,_0x2cb0ab=_0x592521['lib'],_0x50db3a=_0x2cb0ab[_0x3211c4(0xb7)],_0x32e5e2=_0x2cb0ab[_0x3211c4(0x192)],_0x4590fa=_0x592521[_0x3211c4(0xc9)],_0x446f37=[],_0x514c5c=_0x4590fa['SHA1']=_0x32e5e2[_0x3211c4(0x13a)]({'_doReset':function(){var _0xd1ab2b=_0x3211c4;this[_0xd1ab2b(0x32e)]=new _0x50db3a[(_0xd1ab2b(0x2b2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x25ff9e,_0x2ac89b){var _0xd10b2c=_0x3211c4;for(var _0x26c894=this[_0xd10b2c(0x32e)][_0xd10b2c(0x21e)],_0x1750aa=_0x26c894[0x0],_0x153678=_0x26c894[0x1],_0x15f0fd=_0x26c894[0x2],_0x10779c=_0x26c894[0x3],_0x2ca8ab=_0x26c894[0x4],_0x40347d=0x0;_0x40347d<0x50;_0x40347d++){if(_0x40347d<0x10)_0x446f37[_0x40347d]=_0x25ff9e[_0x2ac89b+_0x40347d]|0x0;else{var _0x5aa6d7=_0x446f37[_0x40347d-0x3]^_0x446f37[_0x40347d-0x8]^_0x446f37[_0x40347d-0xe]^_0x446f37[_0x40347d-0x10];_0x446f37[_0x40347d]=_0x5aa6d7<<0x1|_0x5aa6d7>>>0x1f;}var _0x57c701=(_0x1750aa<<0x5|_0x1750aa>>>0x1b)+_0x2ca8ab+_0x446f37[_0x40347d];_0x40347d<0x14?_0x57c701+=(_0x153678&_0x15f0fd|~_0x153678&_0x10779c)+0x5a827999:_0x40347d<0x28?_0x57c701+=(_0x153678^_0x15f0fd^_0x10779c)+0x6ed9eba1:_0x40347d<0x3c?_0x57c701+=(_0x153678&_0x15f0fd|_0x153678&_0x10779c|_0x15f0fd&_0x10779c)-0x70e44324:_0x57c701+=(_0x153678^_0x15f0fd^_0x10779c)-0x359d3e2a,_0x2ca8ab=_0x10779c,_0x10779c=_0x15f0fd,_0x15f0fd=_0x153678<<0x1e|_0x153678>>>0x2,_0x153678=_0x1750aa,_0x1750aa=_0x57c701;}_0x26c894[0x0]=_0x26c894[0x0]+_0x1750aa|0x0,_0x26c894[0x1]=_0x26c894[0x1]+_0x153678|0x0,_0x26c894[0x2]=_0x26c894[0x2]+_0x15f0fd|0x0,_0x26c894[0x3]=_0x26c894[0x3]+_0x10779c|0x0,_0x26c894[0x4]=_0x26c894[0x4]+_0x2ca8ab|0x0;},'_doFinalize':function(){var _0x4b9783=_0x3211c4,_0x405d8b=this[_0x4b9783(0x248)],_0xee3b53=_0x405d8b['words'],_0x598b0e=this[_0x4b9783(0x132)]*0x8,_0x28366d=_0x405d8b['sigBytes']*0x8;return _0xee3b53[_0x28366d>>>0x5]|=0x80<<0x18-_0x28366d%0x20,_0xee3b53[(_0x28366d+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x598b0e/0x100000000),_0xee3b53[(_0x28366d+0x40>>>0x9<<0x4)+0xf]=_0x598b0e,_0x405d8b[_0x4b9783(0xf0)]=_0xee3b53[_0x4b9783(0x16a)]*0x4,this[_0x4b9783(0x2eb)](),this[_0x4b9783(0x32e)];},'clone':function(){var _0x2188d5=_0x3211c4,_0xc52a12=_0x32e5e2['clone'][_0x2188d5(0x382)](this);return _0xc52a12['_hash']=this[_0x2188d5(0x32e)][_0x2188d5(0x262)](),_0xc52a12;}});_0x592521[_0x3211c4(0x2c4)]=_0x32e5e2[_0x3211c4(0x1ac)](_0x514c5c),_0x592521['HmacSHA1']=_0x32e5e2['_createHmacHelper'](_0x514c5c);}()),_0x382be0[_0x461890(0x2c4)];}));}(qe)),qe[_0x717b68(0x1bc)];}var ze={'exports':{}},gn=ze['exports'],Zt;function Sn(){return Zt||(Zt=0x1,function(_0x483b0b,_0x5e663b){(function(_0x2f6f97,_0xa705f7){var _0x4177f5=_0x5cc4;_0x483b0b[_0x4177f5(0x1bc)]=_0xa705f7(te());}(gn,function(_0x2c5320){(function(){var _0x5289b5=_0x5cc4,_0x1eeedc=_0x2c5320,_0xe381b2=_0x1eeedc[_0x5289b5(0x1b4)],_0x300a5b=_0xe381b2['Base'],_0x40b378=_0x1eeedc[_0x5289b5(0x356)],_0x3ebe7c=_0x40b378['Utf8'],_0x4bc9f5=_0x1eeedc[_0x5289b5(0xc9)];_0x4bc9f5[_0x5289b5(0x1aa)]=_0x300a5b[_0x5289b5(0x13a)]({'init':function(_0xd4de28,_0xb12046){var _0x388e99=_0x5289b5;_0xd4de28=this[_0x388e99(0x1a0)]=new _0xd4de28[(_0x388e99(0x2b2))](),typeof _0xb12046==_0x388e99(0x1a3)&&(_0xb12046=_0x3ebe7c['parse'](_0xb12046));var _0x57d0aa=_0xd4de28[_0x388e99(0xa8)],_0x599b77=_0x57d0aa*0x4;_0xb12046[_0x388e99(0xf0)]>_0x599b77&&(_0xb12046=_0xd4de28[_0x388e99(0x227)](_0xb12046)),_0xb12046[_0x388e99(0x1ea)]();for(var _0x1e3aef=this[_0x388e99(0x266)]=_0xb12046[_0x388e99(0x262)](),_0x1729c6=this[_0x388e99(0x333)]=_0xb12046[_0x388e99(0x262)](),_0x1e4ad1=_0x1e3aef[_0x388e99(0x21e)],_0x4f9959=_0x1729c6[_0x388e99(0x21e)],_0x267b33=0x0;_0x267b33<_0x57d0aa;_0x267b33++)_0x1e4ad1[_0x267b33]^=0x5c5c5c5c,_0x4f9959[_0x267b33]^=0x36363636;_0x1e3aef[_0x388e99(0xf0)]=_0x1729c6['sigBytes']=_0x599b77,this['reset']();},'reset':function(){var _0x2f503d=_0x5289b5,_0x3fbd79=this['_hasher'];_0x3fbd79[_0x2f503d(0xcd)](),_0x3fbd79[_0x2f503d(0x31d)](this['_iKey']);},'update':function(_0xe2e3ab){var _0x2c6293=_0x5289b5;return this[_0x2c6293(0x1a0)][_0x2c6293(0x31d)](_0xe2e3ab),this;},'finalize':function(_0x47276a){var _0x33b9e6=_0x5289b5,_0x24ae33=this[_0x33b9e6(0x1a0)],_0x136f52=_0x24ae33[_0x33b9e6(0x227)](_0x47276a);_0x24ae33[_0x33b9e6(0xcd)]();var _0x40e4ed=_0x24ae33[_0x33b9e6(0x227)](this['_oKey']['clone']()[_0x33b9e6(0x26c)](_0x136f52));return _0x40e4ed;}});}());}));}(ze)),ze['exports'];}var En=Ke[_0x6aebf(0x1bc)],Qt;function yi(){return Qt||(Qt=0x1,function(_0x33b6f8,_0x30783b){(function(_0x46e6ad,_0x206670,_0x5f2020){var _0x2eef30=_0x5cc4;_0x33b6f8[_0x2eef30(0x1bc)]=_0x206670(te(),mn(),Sn());}(En,function(_0x4af6ec){return(function(){var _0x4a14f6=_0x5cc4,_0x127837=_0x4af6ec,_0x2a3679=_0x127837[_0x4a14f6(0x1b4)],_0x5d6d03=_0x2a3679[_0x4a14f6(0xa1)],_0x1db73b=_0x2a3679[_0x4a14f6(0xb7)],_0xdde390=_0x127837[_0x4a14f6(0xc9)],_0x326550=_0xdde390['MD5'],_0x4ba51a=_0xdde390['EvpKDF']=_0x5d6d03['extend']({'cfg':_0x5d6d03[_0x4a14f6(0x13a)]({'keySize':0x80/0x20,'hasher':_0x326550,'iterations':0x1}),'init':function(_0x26d4db){var _0x1f2bb4=_0x4a14f6;this[_0x1f2bb4(0xd0)]=this[_0x1f2bb4(0xd0)][_0x1f2bb4(0x13a)](_0x26d4db);},'compute':function(_0x51d01a,_0x4a2b9f){var _0x451c3f=_0x4a14f6;for(var _0x3d5765,_0x1da3ce=this['cfg'],_0x36cf56=_0x1da3ce[_0x451c3f(0x1ab)][_0x451c3f(0x19e)](),_0x2329a7=_0x1db73b[_0x451c3f(0x19e)](),_0x561d79=_0x2329a7[_0x451c3f(0x21e)],_0x2e0665=_0x1da3ce['keySize'],_0x3d938f=_0x1da3ce['iterations'];_0x561d79[_0x451c3f(0x16a)]<_0x2e0665;){_0x3d5765&&_0x36cf56[_0x451c3f(0x31d)](_0x3d5765),_0x3d5765=_0x36cf56['update'](_0x51d01a)[_0x451c3f(0x227)](_0x4a2b9f),_0x36cf56[_0x451c3f(0xcd)]();for(var _0xc80b39=0x1;_0xc80b39<_0x3d938f;_0xc80b39++)_0x3d5765=_0x36cf56[_0x451c3f(0x227)](_0x3d5765),_0x36cf56[_0x451c3f(0xcd)]();_0x2329a7[_0x451c3f(0x26c)](_0x3d5765);}return _0x2329a7[_0x451c3f(0xf0)]=_0x2e0665*0x4,_0x2329a7;}});_0x127837[_0x4a14f6(0x339)]=function(_0x3ffb52,_0x41d105,_0x227ca1){var _0x496564=_0x4a14f6;return _0x4ba51a[_0x496564(0x19e)](_0x227ca1)[_0x496564(0x159)](_0x3ffb52,_0x41d105);};}()),_0x4af6ec['EvpKDF'];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},In=Je[_0x6aebf(0x1bc)],ei;function Ni(){var _0x14e851=_0x6aebf;return ei||(ei=0x1,function(_0x3cf080,_0x507047){(function(_0x4cfd58,_0x1a85b6,_0x39157d){var _0xb957df=_0x5cc4;_0x3cf080[_0xb957df(0x1bc)]=_0x1a85b6(te(),yi());}(In,function(_0x485f0d){var _0x1eb92d=_0x5cc4;_0x485f0d[_0x1eb92d(0x1b4)][_0x1eb92d(0x18f)]||function(_0x41cb8d){var _0x281c90=_0x1eb92d,_0x21a11a=_0x485f0d,_0xaa7e55=_0x21a11a[_0x281c90(0x1b4)],_0x1ab205=_0xaa7e55[_0x281c90(0xa1)],_0x5d9a63=_0xaa7e55['WordArray'],_0x3fe514=_0xaa7e55[_0x281c90(0x390)],_0x8d9ada=_0x21a11a[_0x281c90(0x356)];_0x8d9ada['Utf8'];var _0x407204=_0x8d9ada[_0x281c90(0x201)],_0x3f8e82=_0x21a11a[_0x281c90(0xc9)],_0x1335a1=_0x3f8e82[_0x281c90(0x339)],_0x379d57=_0xaa7e55['Cipher']=_0x3fe514['extend']({'cfg':_0x1ab205[_0x281c90(0x13a)](),'createEncryptor':function(_0x3519d2,_0x53cd2c){var _0x16410e=_0x281c90;return this[_0x16410e(0x19e)](this[_0x16410e(0x207)],_0x3519d2,_0x53cd2c);},'createDecryptor':function(_0x32ad34,_0x1923bf){var _0x5de7ac=_0x281c90;return this[_0x5de7ac(0x19e)](this[_0x5de7ac(0x335)],_0x32ad34,_0x1923bf);},'init':function(_0x1162de,_0x275962,_0x11515f){var _0x4e3261=_0x281c90;this[_0x4e3261(0xd0)]=this[_0x4e3261(0xd0)][_0x4e3261(0x13a)](_0x11515f),this[_0x4e3261(0x344)]=_0x1162de,this['_key']=_0x275962,this[_0x4e3261(0xcd)]();},'reset':function(){var _0x41000b=_0x281c90;_0x3fe514[_0x41000b(0xcd)][_0x41000b(0x382)](this),this['_doReset']();},'process':function(_0x503d08){var _0x606c6c=_0x281c90;return this[_0x606c6c(0xe0)](_0x503d08),this['_process']();},'finalize':function(_0x12fdb4){var _0x3be5b8=_0x281c90;_0x12fdb4&&this[_0x3be5b8(0xe0)](_0x12fdb4);var _0x57d5d7=this['_doFinalize']();return _0x57d5d7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1f0d34(_0x32038d){return typeof _0x32038d=='string'?_0x2b3c76:_0x18cfdb;}return function(_0x13532b){return{'encrypt':function(_0x792056,_0x156aa3,_0x771506){var _0x574ec1=_0x5cc4;return _0x1f0d34(_0x156aa3)[_0x574ec1(0x33a)](_0x13532b,_0x792056,_0x156aa3,_0x771506);},'decrypt':function(_0x33bd2f,_0x5e4127,_0x437cb0){return _0x1f0d34(_0x5e4127)['decrypt'](_0x13532b,_0x33bd2f,_0x5e4127,_0x437cb0);}};};}())});_0xaa7e55[_0x281c90(0x34b)]=_0x379d57[_0x281c90(0x13a)]({'_doFinalize':function(){var _0x3091db=_0x281c90,_0x4ed5a3=this[_0x3091db(0x2eb)](!0x0);return _0x4ed5a3;},'blockSize':0x1});var _0x3b9710=_0x21a11a[_0x281c90(0x1db)]={},_0x414b15=_0xaa7e55['BlockCipherMode']=_0x1ab205[_0x281c90(0x13a)]({'createEncryptor':function(_0x517b10,_0x52f077){var _0xaa3920=_0x281c90;return this[_0xaa3920(0x330)]['create'](_0x517b10,_0x52f077);},'createDecryptor':function(_0x14e367,_0x4a1f93){var _0x3a1d28=_0x281c90;return this[_0x3a1d28(0x1c2)][_0x3a1d28(0x19e)](_0x14e367,_0x4a1f93);},'init':function(_0xfe746e,_0x224e5c){var _0x1be27f=_0x281c90;this[_0x1be27f(0x1b3)]=_0xfe746e,this[_0x1be27f(0x268)]=_0x224e5c;}}),_0x3038bf=_0x3b9710[_0x281c90(0xec)]=(function(){var _0x33bc8e=_0x281c90,_0x3e234c=_0x414b15[_0x33bc8e(0x13a)]();_0x3e234c['Encryptor']=_0x3e234c['extend']({'processBlock':function(_0x21d6f4,_0x36b6f6){var _0x22cebf=_0x33bc8e,_0x5ea7d5=this['_cipher'],_0x2dd5e9=_0x5ea7d5[_0x22cebf(0xa8)];_0x2e0fc4['call'](this,_0x21d6f4,_0x36b6f6,_0x2dd5e9),_0x5ea7d5['encryptBlock'](_0x21d6f4,_0x36b6f6),this[_0x22cebf(0x169)]=_0x21d6f4[_0x22cebf(0x1ec)](_0x36b6f6,_0x36b6f6+_0x2dd5e9);}}),_0x3e234c['Decryptor']=_0x3e234c[_0x33bc8e(0x13a)]({'processBlock':function(_0x53281b,_0x57ed5d){var _0x5f4022=_0x33bc8e,_0x1eedbb=this[_0x5f4022(0x1b3)],_0x12f4e1=_0x1eedbb['blockSize'],_0x2287fc=_0x53281b[_0x5f4022(0x1ec)](_0x57ed5d,_0x57ed5d+_0x12f4e1);_0x1eedbb[_0x5f4022(0xa7)](_0x53281b,_0x57ed5d),_0x2e0fc4['call'](this,_0x53281b,_0x57ed5d,_0x12f4e1),this[_0x5f4022(0x169)]=_0x2287fc;}});function _0x2e0fc4(_0x4c85de,_0x55e2b5,_0x2142a0){var _0x50cb36=_0x33bc8e,_0x261eea,_0x30087c=this[_0x50cb36(0x268)];_0x30087c?(_0x261eea=_0x30087c,this[_0x50cb36(0x268)]=_0x41cb8d):_0x261eea=this[_0x50cb36(0x169)];for(var _0x3ddb38=0x0;_0x3ddb38<_0x2142a0;_0x3ddb38++)_0x4c85de[_0x55e2b5+_0x3ddb38]^=_0x261eea[_0x3ddb38];}return _0x3e234c;}()),_0x4a15cf=_0x21a11a[_0x281c90(0x2d9)]={},_0x4479f6=_0x4a15cf[_0x281c90(0x206)]={'pad':function(_0x1fc7aa,_0x5c81a9){var _0x5f0606=_0x281c90;for(var _0x31d17e=_0x5c81a9*0x4,_0x31308f=_0x31d17e-_0x1fc7aa[_0x5f0606(0xf0)]%_0x31d17e,_0x1c800a=_0x31308f<<0x18|_0x31308f<<0x10|_0x31308f<<0x8|_0x31308f,_0xb5b33d=[],_0x437a47=0x0;_0x437a47<_0x31308f;_0x437a47+=0x4)_0xb5b33d[_0x5f0606(0xce)](_0x1c800a);var _0x4b85e3=_0x5d9a63[_0x5f0606(0x19e)](_0xb5b33d,_0x31308f);_0x1fc7aa['concat'](_0x4b85e3);},'unpad':function(_0x10a4ad){var _0x178093=_0x281c90,_0x4a6cd3=_0x10a4ad[_0x178093(0x21e)][_0x10a4ad[_0x178093(0xf0)]-0x1>>>0x2]&0xff;_0x10a4ad[_0x178093(0xf0)]-=_0x4a6cd3;}};_0xaa7e55['BlockCipher']=_0x379d57[_0x281c90(0x13a)]({'cfg':_0x379d57['cfg']['extend']({'mode':_0x3038bf,'padding':_0x4479f6}),'reset':function(){var _0x9b87c4=_0x281c90,_0x18c0d7;_0x379d57[_0x9b87c4(0xcd)][_0x9b87c4(0x382)](this);var _0x5db37d=this['cfg'],_0x1ee23c=_0x5db37d['iv'],_0x10cf6d=_0x5db37d[_0x9b87c4(0x1db)];this['_xformMode']==this[_0x9b87c4(0x207)]?_0x18c0d7=_0x10cf6d[_0x9b87c4(0x239)]:(_0x18c0d7=_0x10cf6d['createDecryptor'],this[_0x9b87c4(0x349)]=0x1),this[_0x9b87c4(0x29a)]&&this['_mode'][_0x9b87c4(0xf5)]==_0x18c0d7?this['_mode'][_0x9b87c4(0x2b2)](this,_0x1ee23c&&_0x1ee23c[_0x9b87c4(0x21e)]):(this[_0x9b87c4(0x29a)]=_0x18c0d7[_0x9b87c4(0x382)](_0x10cf6d,this,_0x1ee23c&&_0x1ee23c[_0x9b87c4(0x21e)]),this[_0x9b87c4(0x29a)][_0x9b87c4(0xf5)]=_0x18c0d7);},'_doProcessBlock':function(_0x20bcc7,_0x5d8ad0){var _0x1e6b4d=_0x281c90;this[_0x1e6b4d(0x29a)]['processBlock'](_0x20bcc7,_0x5d8ad0);},'_doFinalize':function(){var _0x261268=_0x281c90,_0x59c595,_0x2aaf81=this[_0x261268(0xd0)][_0x261268(0x123)];return this[_0x261268(0x344)]==this['_ENC_XFORM_MODE']?(_0x2aaf81['pad'](this[_0x261268(0x248)],this[_0x261268(0xa8)]),_0x59c595=this[_0x261268(0x2eb)](!0x0)):(_0x59c595=this['_process'](!0x0),_0x2aaf81[_0x261268(0x27f)](_0x59c595)),_0x59c595;},'blockSize':0x80/0x20});var _0x45b131=_0xaa7e55[_0x281c90(0x378)]=_0x1ab205[_0x281c90(0x13a)]({'init':function(_0x56ccbe){var _0x3cd512=_0x281c90;this[_0x3cd512(0x1d7)](_0x56ccbe);},'toString':function(_0xc34708){var _0x37e412=_0x281c90;return(_0xc34708||this['formatter'])[_0x37e412(0x165)](this);}}),_0xa7d0e3=_0x21a11a[_0x281c90(0x152)]={},_0x412251=_0xa7d0e3['OpenSSL']={'stringify':function(_0x3593d3){var _0x12abff=_0x281c90,_0x1f76e1,_0x50c0a3=_0x3593d3[_0x12abff(0x1f5)],_0x58c33=_0x3593d3[_0x12abff(0xe8)];return _0x58c33?_0x1f76e1=_0x5d9a63[_0x12abff(0x19e)]([0x53616c74,0x65645f5f])[_0x12abff(0x26c)](_0x58c33)[_0x12abff(0x26c)](_0x50c0a3):_0x1f76e1=_0x50c0a3,_0x1f76e1['toString'](_0x407204);},'parse':function(_0x35d7de){var _0x32b0a9=_0x281c90,_0x47b9a0,_0x21f84a=_0x407204['parse'](_0x35d7de),_0x46ee29=_0x21f84a[_0x32b0a9(0x21e)];return _0x46ee29[0x0]==0x53616c74&&_0x46ee29[0x1]==0x65645f5f&&(_0x47b9a0=_0x5d9a63['create'](_0x46ee29[_0x32b0a9(0x1ec)](0x2,0x4)),_0x46ee29[_0x32b0a9(0xe2)](0x0,0x4),_0x21f84a[_0x32b0a9(0xf0)]-=0x10),_0x45b131['create']({'ciphertext':_0x21f84a,'salt':_0x47b9a0});}},_0x18cfdb=_0xaa7e55[_0x281c90(0x19d)]=_0x1ab205[_0x281c90(0x13a)]({'cfg':_0x1ab205['extend']({'format':_0x412251}),'encrypt':function(_0x3ee3e9,_0x36ea37,_0x5128a8,_0x49aaf7){var _0x121dfe=_0x281c90;_0x49aaf7=this[_0x121dfe(0xd0)]['extend'](_0x49aaf7);var _0x4b4946=_0x3ee3e9[_0x121dfe(0x239)](_0x5128a8,_0x49aaf7),_0xf4f056=_0x4b4946[_0x121dfe(0x227)](_0x36ea37),_0x4af1d5=_0x4b4946['cfg'];return _0x45b131[_0x121dfe(0x19e)]({'ciphertext':_0xf4f056,'key':_0x5128a8,'iv':_0x4af1d5['iv'],'algorithm':_0x3ee3e9,'mode':_0x4af1d5[_0x121dfe(0x1db)],'padding':_0x4af1d5[_0x121dfe(0x123)],'blockSize':_0x3ee3e9[_0x121dfe(0xa8)],'formatter':_0x49aaf7[_0x121dfe(0x152)]});},'decrypt':function(_0x29d600,_0x1dd512,_0x32db61,_0x41b1f0){var _0x368138=_0x281c90;_0x41b1f0=this[_0x368138(0xd0)][_0x368138(0x13a)](_0x41b1f0),_0x1dd512=this[_0x368138(0x133)](_0x1dd512,_0x41b1f0[_0x368138(0x152)]);var _0x2b10d7=_0x29d600[_0x368138(0x18a)](_0x32db61,_0x41b1f0)[_0x368138(0x227)](_0x1dd512['ciphertext']);return _0x2b10d7;},'_parse':function(_0x1a95fd,_0x44feb6){var _0x5341de=_0x281c90;return typeof _0x1a95fd==_0x5341de(0x1a3)?_0x44feb6['parse'](_0x1a95fd,this):_0x1a95fd;}}),_0x5c34f8=_0x21a11a[_0x281c90(0x15e)]={},_0x55d352=_0x5c34f8[_0x281c90(0x27a)]={'execute':function(_0x3f1490,_0x28d747,_0x2f761a,_0xa1de98,_0x1ba7dd){var _0x325459=_0x281c90;if(_0xa1de98||(_0xa1de98=_0x5d9a63['random'](0x40/0x8)),_0x1ba7dd)var _0x512d24=_0x1335a1['create']({'keySize':_0x28d747+_0x2f761a,'hasher':_0x1ba7dd})['compute'](_0x3f1490,_0xa1de98);else var _0x512d24=_0x1335a1[_0x325459(0x19e)]({'keySize':_0x28d747+_0x2f761a})['compute'](_0x3f1490,_0xa1de98);var _0x3bf367=_0x5d9a63['create'](_0x512d24['words'][_0x325459(0x1ec)](_0x28d747),_0x2f761a*0x4);return _0x512d24[_0x325459(0xf0)]=_0x28d747*0x4,_0x45b131[_0x325459(0x19e)]({'key':_0x512d24,'iv':_0x3bf367,'salt':_0xa1de98});}},_0x2b3c76=_0xaa7e55[_0x281c90(0x158)]=_0x18cfdb[_0x281c90(0x13a)]({'cfg':_0x18cfdb[_0x281c90(0xd0)][_0x281c90(0x13a)]({'kdf':_0x55d352}),'encrypt':function(_0x234fe3,_0x1db3dd,_0x106d87,_0x467e88){var _0x5d2d2c=_0x281c90;_0x467e88=this[_0x5d2d2c(0xd0)][_0x5d2d2c(0x13a)](_0x467e88);var _0x5bad22=_0x467e88[_0x5d2d2c(0x15e)][_0x5d2d2c(0x38a)](_0x106d87,_0x234fe3[_0x5d2d2c(0x220)],_0x234fe3[_0x5d2d2c(0x246)],_0x467e88['salt'],_0x467e88[_0x5d2d2c(0x1ab)]);_0x467e88['iv']=_0x5bad22['iv'];var _0x112174=_0x18cfdb[_0x5d2d2c(0x33a)][_0x5d2d2c(0x382)](this,_0x234fe3,_0x1db3dd,_0x5bad22[_0x5d2d2c(0x23c)],_0x467e88);return _0x112174['mixIn'](_0x5bad22),_0x112174;},'decrypt':function(_0x169d82,_0x28f053,_0x435e32,_0x3bbaea){var _0x53abb2=_0x281c90;_0x3bbaea=this[_0x53abb2(0xd0)][_0x53abb2(0x13a)](_0x3bbaea),_0x28f053=this[_0x53abb2(0x133)](_0x28f053,_0x3bbaea['format']);var _0x39788f=_0x3bbaea['kdf'][_0x53abb2(0x38a)](_0x435e32,_0x169d82['keySize'],_0x169d82[_0x53abb2(0x246)],_0x28f053[_0x53abb2(0xe8)],_0x3bbaea[_0x53abb2(0x1ab)]);_0x3bbaea['iv']=_0x39788f['iv'];var _0x392787=_0x18cfdb[_0x53abb2(0x36e)][_0x53abb2(0x382)](this,_0x169d82,_0x28f053,_0x39788f[_0x53abb2(0x23c)],_0x3bbaea);return _0x392787;}});}();}));}(Je)),Je[_0x14e851(0x1bc)];}var Tn=Ve[_0x6aebf(0x1bc)],ti;function Cn(){return ti||(ti=0x1,function(_0xe546e4,_0x38d469){(function(_0x56abb0,_0x4dae57,_0x15d1c0){var _0x4b9e01=_0x5cc4;_0xe546e4[_0x4b9e01(0x1bc)]=_0x4dae57(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0x520cdd){return(function(){var _0x1816d4=_0x5cc4,_0x185285=_0x520cdd,_0x49615e=_0x185285[_0x1816d4(0x1b4)],_0x5ecdb8=_0x49615e['BlockCipher'],_0x25c4f2=_0x185285['algo'],_0x452a31=[],_0x29e6ba=[],_0x20eb30=[],_0x1c292c=[],_0x48a6f7=[],_0x3444c2=[],_0x49b595=[],_0x440cde=[],_0x3c641e=[],_0x29a311=[];(function(){for(var _0xaf38dd=[],_0x3f2640=0x0;_0x3f2640<0x100;_0x3f2640++)_0x3f2640<0x80?_0xaf38dd[_0x3f2640]=_0x3f2640<<0x1:_0xaf38dd[_0x3f2640]=_0x3f2640<<0x1^0x11b;for(var _0x407647=0x0,_0x2ea30b=0x0,_0x3f2640=0x0;_0x3f2640<0x100;_0x3f2640++){var _0x9b4601=_0x2ea30b^_0x2ea30b<<0x1^_0x2ea30b<<0x2^_0x2ea30b<<0x3^_0x2ea30b<<0x4;_0x9b4601=_0x9b4601>>>0x8^_0x9b4601&0xff^0x63,_0x452a31[_0x407647]=_0x9b4601,_0x29e6ba[_0x9b4601]=_0x407647;var _0x5518ec=_0xaf38dd[_0x407647],_0x4850bc=_0xaf38dd[_0x5518ec],_0x172356=_0xaf38dd[_0x4850bc],_0x2d8d94=_0xaf38dd[_0x9b4601]*0x101^_0x9b4601*0x1010100;_0x20eb30[_0x407647]=_0x2d8d94<<0x18|_0x2d8d94>>>0x8,_0x1c292c[_0x407647]=_0x2d8d94<<0x10|_0x2d8d94>>>0x10,_0x48a6f7[_0x407647]=_0x2d8d94<<0x8|_0x2d8d94>>>0x18,_0x3444c2[_0x407647]=_0x2d8d94;var _0x2d8d94=_0x172356*0x1010101^_0x4850bc*0x10001^_0x5518ec*0x101^_0x407647*0x1010100;_0x49b595[_0x9b4601]=_0x2d8d94<<0x18|_0x2d8d94>>>0x8,_0x440cde[_0x9b4601]=_0x2d8d94<<0x10|_0x2d8d94>>>0x10,_0x3c641e[_0x9b4601]=_0x2d8d94<<0x8|_0x2d8d94>>>0x18,_0x29a311[_0x9b4601]=_0x2d8d94,_0x407647?(_0x407647=_0x5518ec^_0xaf38dd[_0xaf38dd[_0xaf38dd[_0x172356^_0x5518ec]]],_0x2ea30b^=_0xaf38dd[_0xaf38dd[_0x2ea30b]]):_0x407647=_0x2ea30b=0x1;}}());var _0x3993ab=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3b29f2=_0x25c4f2[_0x1816d4(0x13b)]=_0x5ecdb8[_0x1816d4(0x13a)]({'_doReset':function(){var _0x21a199=_0x1816d4,_0x2f21b4;if(!(this[_0x21a199(0x2c1)]&&this['_keyPriorReset']===this['_key'])){for(var _0x361fb3=this[_0x21a199(0x175)]=this[_0x21a199(0xd6)],_0x88af28=_0x361fb3[_0x21a199(0x21e)],_0x2a93be=_0x361fb3[_0x21a199(0xf0)]/0x4,_0x2e815f=this[_0x21a199(0x2c1)]=_0x2a93be+0x6,_0xf13b1a=(_0x2e815f+0x1)*0x4,_0x534daf=this[_0x21a199(0x185)]=[],_0xa8cefc=0x0;_0xa8cefc<_0xf13b1a;_0xa8cefc++)_0xa8cefc<_0x2a93be?_0x534daf[_0xa8cefc]=_0x88af28[_0xa8cefc]:(_0x2f21b4=_0x534daf[_0xa8cefc-0x1],_0xa8cefc%_0x2a93be?_0x2a93be>0x6&&_0xa8cefc%_0x2a93be==0x4&&(_0x2f21b4=_0x452a31[_0x2f21b4>>>0x18]<<0x18|_0x452a31[_0x2f21b4>>>0x10&0xff]<<0x10|_0x452a31[_0x2f21b4>>>0x8&0xff]<<0x8|_0x452a31[_0x2f21b4&0xff]):(_0x2f21b4=_0x2f21b4<<0x8|_0x2f21b4>>>0x18,_0x2f21b4=_0x452a31[_0x2f21b4>>>0x18]<<0x18|_0x452a31[_0x2f21b4>>>0x10&0xff]<<0x10|_0x452a31[_0x2f21b4>>>0x8&0xff]<<0x8|_0x452a31[_0x2f21b4&0xff],_0x2f21b4^=_0x3993ab[_0xa8cefc/_0x2a93be|0x0]<<0x18),_0x534daf[_0xa8cefc]=_0x534daf[_0xa8cefc-_0x2a93be]^_0x2f21b4);for(var _0x4104ea=this[_0x21a199(0xa5)]=[],_0x4b3457=0x0;_0x4b3457<_0xf13b1a;_0x4b3457++){var _0xa8cefc=_0xf13b1a-_0x4b3457;if(_0x4b3457%0x4)var _0x2f21b4=_0x534daf[_0xa8cefc];else var _0x2f21b4=_0x534daf[_0xa8cefc-0x4];_0x4b3457<0x4||_0xa8cefc<=0x4?_0x4104ea[_0x4b3457]=_0x2f21b4:_0x4104ea[_0x4b3457]=_0x49b595[_0x452a31[_0x2f21b4>>>0x18]]^_0x440cde[_0x452a31[_0x2f21b4>>>0x10&0xff]]^_0x3c641e[_0x452a31[_0x2f21b4>>>0x8&0xff]]^_0x29a311[_0x452a31[_0x2f21b4&0xff]];}}},'encryptBlock':function(_0x15128b,_0x2cf29f){var _0x2be7a4=_0x1816d4;this['_doCryptBlock'](_0x15128b,_0x2cf29f,this[_0x2be7a4(0x185)],_0x20eb30,_0x1c292c,_0x48a6f7,_0x3444c2,_0x452a31);},'decryptBlock':function(_0x6cd46d,_0x1cfbdd){var _0x4ad2f8=_0x1816d4,_0x30de78=_0x6cd46d[_0x1cfbdd+0x1];_0x6cd46d[_0x1cfbdd+0x1]=_0x6cd46d[_0x1cfbdd+0x3],_0x6cd46d[_0x1cfbdd+0x3]=_0x30de78,this['_doCryptBlock'](_0x6cd46d,_0x1cfbdd,this[_0x4ad2f8(0xa5)],_0x49b595,_0x440cde,_0x3c641e,_0x29a311,_0x29e6ba);var _0x30de78=_0x6cd46d[_0x1cfbdd+0x1];_0x6cd46d[_0x1cfbdd+0x1]=_0x6cd46d[_0x1cfbdd+0x3],_0x6cd46d[_0x1cfbdd+0x3]=_0x30de78;},'_doCryptBlock':function(_0x3edf3a,_0x1d8f23,_0x5ec215,_0x2d1042,_0x1ed5c0,_0x3657c4,_0x3a0680,_0x207bc6){var _0x3f98cc=_0x1816d4;for(var _0x347b39=this[_0x3f98cc(0x2c1)],_0x5a1d29=_0x3edf3a[_0x1d8f23]^_0x5ec215[0x0],_0x105dda=_0x3edf3a[_0x1d8f23+0x1]^_0x5ec215[0x1],_0x281b9e=_0x3edf3a[_0x1d8f23+0x2]^_0x5ec215[0x2],_0x1ad327=_0x3edf3a[_0x1d8f23+0x3]^_0x5ec215[0x3],_0x48f4c7=0x4,_0x4105ef=0x1;_0x4105ef<_0x347b39;_0x4105ef++){var _0x87677b=_0x2d1042[_0x5a1d29>>>0x18]^_0x1ed5c0[_0x105dda>>>0x10&0xff]^_0x3657c4[_0x281b9e>>>0x8&0xff]^_0x3a0680[_0x1ad327&0xff]^_0x5ec215[_0x48f4c7++],_0x19fea8=_0x2d1042[_0x105dda>>>0x18]^_0x1ed5c0[_0x281b9e>>>0x10&0xff]^_0x3657c4[_0x1ad327>>>0x8&0xff]^_0x3a0680[_0x5a1d29&0xff]^_0x5ec215[_0x48f4c7++],_0x134f53=_0x2d1042[_0x281b9e>>>0x18]^_0x1ed5c0[_0x1ad327>>>0x10&0xff]^_0x3657c4[_0x5a1d29>>>0x8&0xff]^_0x3a0680[_0x105dda&0xff]^_0x5ec215[_0x48f4c7++],_0x1a4a95=_0x2d1042[_0x1ad327>>>0x18]^_0x1ed5c0[_0x5a1d29>>>0x10&0xff]^_0x3657c4[_0x105dda>>>0x8&0xff]^_0x3a0680[_0x281b9e&0xff]^_0x5ec215[_0x48f4c7++];_0x5a1d29=_0x87677b,_0x105dda=_0x19fea8,_0x281b9e=_0x134f53,_0x1ad327=_0x1a4a95;}var _0x87677b=(_0x207bc6[_0x5a1d29>>>0x18]<<0x18|_0x207bc6[_0x105dda>>>0x10&0xff]<<0x10|_0x207bc6[_0x281b9e>>>0x8&0xff]<<0x8|_0x207bc6[_0x1ad327&0xff])^_0x5ec215[_0x48f4c7++],_0x19fea8=(_0x207bc6[_0x105dda>>>0x18]<<0x18|_0x207bc6[_0x281b9e>>>0x10&0xff]<<0x10|_0x207bc6[_0x1ad327>>>0x8&0xff]<<0x8|_0x207bc6[_0x5a1d29&0xff])^_0x5ec215[_0x48f4c7++],_0x134f53=(_0x207bc6[_0x281b9e>>>0x18]<<0x18|_0x207bc6[_0x1ad327>>>0x10&0xff]<<0x10|_0x207bc6[_0x5a1d29>>>0x8&0xff]<<0x8|_0x207bc6[_0x105dda&0xff])^_0x5ec215[_0x48f4c7++],_0x1a4a95=(_0x207bc6[_0x1ad327>>>0x18]<<0x18|_0x207bc6[_0x5a1d29>>>0x10&0xff]<<0x10|_0x207bc6[_0x105dda>>>0x8&0xff]<<0x8|_0x207bc6[_0x281b9e&0xff])^_0x5ec215[_0x48f4c7++];_0x3edf3a[_0x1d8f23]=_0x87677b,_0x3edf3a[_0x1d8f23+0x1]=_0x19fea8,_0x3edf3a[_0x1d8f23+0x2]=_0x134f53,_0x3edf3a[_0x1d8f23+0x3]=_0x1a4a95;},'keySize':0x100/0x20});_0x185285[_0x1816d4(0x13b)]=_0x5ecdb8[_0x1816d4(0x1ac)](_0x3b29f2);}()),_0x520cdd['AES'];}));}(Ve)),Ve['exports'];}var Rn=Cn();const bn=$e(Rn);var On=Oi();const ii=$e(On);var Xe={'exports':{}},yn=Xe[_0x6aebf(0x1bc)],si;function Nn(){var _0x5d1643=_0x6aebf;return si||(si=0x1,function(_0x162527,_0x4e95a5){(function(_0x197a3a,_0xeb1b1){var _0x11f96d=_0x5cc4;_0x162527[_0x11f96d(0x1bc)]=_0xeb1b1(te());}(yn,function(_0x4ab918){var _0x407a71=_0x5cc4;return _0x4ab918['enc'][_0x407a71(0x375)];}));}(Xe)),Xe[_0x5d1643(0x1bc)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze['exports'],ni;function wn(){return ni||(ni=0x1,function(_0x21433f,_0x314873){(function(_0x4f3252,_0xec7c02){var _0x55188a=_0x5cc4;_0x21433f[_0x55188a(0x1bc)]=_0xec7c02(te());}(An,function(_0x38f730){var _0x262f48=_0x5cc4;return(function(){var _0x5d475a=_0x5cc4;if(typeof ArrayBuffer==_0x5d475a(0x183)){var _0x10534a=_0x38f730,_0x3c1493=_0x10534a[_0x5d475a(0x1b4)],_0x729c63=_0x3c1493[_0x5d475a(0xb7)],_0x28ff35=_0x729c63['init'],_0x7d2cf2=_0x729c63[_0x5d475a(0x2b2)]=function(_0x42d0c3){var _0x3ace10=_0x5d475a;if(_0x42d0c3 instanceof ArrayBuffer&&(_0x42d0c3=new Uint8Array(_0x42d0c3)),(_0x42d0c3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x42d0c3 instanceof Uint8ClampedArray||_0x42d0c3 instanceof Int16Array||_0x42d0c3 instanceof Uint16Array||_0x42d0c3 instanceof Int32Array||_0x42d0c3 instanceof Uint32Array||_0x42d0c3 instanceof Float32Array||_0x42d0c3 instanceof Float64Array)&&(_0x42d0c3=new Uint8Array(_0x42d0c3[_0x3ace10(0x18b)],_0x42d0c3['byteOffset'],_0x42d0c3[_0x3ace10(0x38d)])),_0x42d0c3 instanceof Uint8Array){for(var _0x5c0fe7=_0x42d0c3['byteLength'],_0x54d6ea=[],_0x558837=0x0;_0x558837<_0x5c0fe7;_0x558837++)_0x54d6ea[_0x558837>>>0x2]|=_0x42d0c3[_0x558837]<<0x18-_0x558837%0x4*0x8;_0x28ff35[_0x3ace10(0x382)](this,_0x54d6ea,_0x5c0fe7);}else _0x28ff35[_0x3ace10(0x136)](this,arguments);};_0x7d2cf2[_0x5d475a(0x353)]=_0x729c63;}}()),_0x38f730[_0x262f48(0x1b4)][_0x262f48(0xb7)];}));}(Ze)),Ze['exports'];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x6aebf(0x1bc)],ri;function xn(){var _0x3d2a41=_0x6aebf;return ri||(ri=0x1,function(_0x5caa0c,_0xa32dd){(function(_0xdad3c1,_0x2a139e,_0x5459ea){_0x5caa0c['exports']=_0x2a139e(te(),Ni());}(Mn,function(_0xe8583c){var _0x1e5ee=_0x5cc4;return _0xe8583c['pad'][_0x1e5ee(0x182)]={'pad':function(){},'unpad':function(){}},_0xe8583c['pad'][_0x1e5ee(0x182)];}));}(Qe)),Qe[_0x3d2a41(0x1bc)];}var kn=xn();const $n=$e(kn);function Hn(_0x1a3097,_0x200a60){var _0x1541d5=_0x6aebf;const _0x2cc8f1=_0x200a60-_0x1a3097[_0x1541d5(0x16a)]%_0x200a60,_0x5d4641=String[_0x1541d5(0x254)](_0x2cc8f1)[_0x1541d5(0x148)](_0x2cc8f1);return _0x1a3097+_0x5d4641;}function Bn(_0x247e06,_0x1e4161){var _0x2eedfa=_0x6aebf;const _0x2f0223=Ln[_0x2eedfa(0x2b9)](0x10),_0x504cb3=Hn(_0x247e06,0x10),_0x4a0832=bn[_0x2eedfa(0x33a)](Un['parse'](_0x504cb3),ii['parse'](_0x1e4161),{'iv':_0x2f0223,'padding':$n});return _0x2f0223[_0x2eedfa(0x26c)](_0x4a0832[_0x2eedfa(0x1f5)])[_0x2eedfa(0x202)](ii);}function jn(){var _0x423858=_0x6aebf;const _0x92912f=_0x41b601()[_0x423858(0x1b1)];if(_0x92912f){const _0x463237={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x423858(0x2a6)]};return Bn(JSON['stringify'](_0x463237),_0x92912f);}}var Fn=Object['getOwnPropertyDescriptor'],Vn=(_0x5e5f05,_0x486885,_0x511df4,_0x48cd4a)=>{var _0x50196d=_0x6aebf;for(var _0x192a64=_0x48cd4a>0x1?void 0x0:_0x48cd4a?Fn(_0x486885,_0x511df4):_0x486885,_0x3f3ecf=_0x5e5f05[_0x50196d(0x16a)]-0x1,_0x5afd48;_0x3f3ecf>=0x0;_0x3f3ecf--)(_0x5afd48=_0x5e5f05[_0x3f3ecf])&&(_0x192a64=_0x5afd48(_0x192a64)||_0x192a64);return _0x192a64;},Gn=(_0x215685,_0x3fe748)=>(_0x257137,_0x47528b)=>_0x3fe748(_0x257137,_0x47528b,_0x215685);let at=class{constructor(_0x14cad4){var _0x2e2775=_0x6aebf;this[_0x2e2775(0x190)]=_0x14cad4,this[_0x2e2775(0x1f6)]();}[_0x6aebf(0x1f6)](){var _0xa10409=_0x6aebf;this[_0xa10409(0x190)]['registerHTTPInterceptor']({'interceptor':(_0xa7a659,_0x5ddd6b)=>{var _0x275c38=_0xa10409;const _0x47b009=_0xa7a659[_0x275c38(0x33e)],_0x56da23=jn();return _0x56da23&&_0x47b009[_0x275c38(0x17a)]('x-univer-host',_0x56da23),_0x5ddd6b(_0xa7a659);}});}};at=Vn([Gn(0x0,_0x18bb67(_0x26c391))],at);var Wn=Object['getOwnPropertyDescriptor'],Yn=(_0x27814f,_0xe54b40,_0x533cd4,_0x31c05a)=>{var _0x14be64=_0x6aebf;for(var _0x4b12c9=_0x31c05a>0x1?void 0x0:_0x31c05a?Wn(_0xe54b40,_0x533cd4):_0xe54b40,_0x1f0111=_0x27814f[_0x14be64(0x16a)]-0x1,_0xbe16ae;_0x1f0111>=0x0;_0x1f0111--)(_0xbe16ae=_0x27814f[_0x1f0111])&&(_0x4b12c9=_0xbe16ae(_0x4b12c9)||_0x4b12c9);return _0x4b12c9;},vt=(_0x2bd986,_0x1fec7a)=>(_0x217efb,_0x3fe792)=>_0x1fec7a(_0x217efb,_0x3fe792,_0x2bd986);let Ct=class extends _0x4a9342{constructor(_0x37d3af,_0x5e696b,_0x337ac6){var _0x4cfac7=_0x6aebf;super(),N(this,_0x4cfac7(0x32c),new _0x57bee0(null)),N(this,_0x4cfac7(0xdc),this[_0x4cfac7(0x32c)][_0x4cfac7(0x28b)]()),(this[_0x4cfac7(0x186)]=_0x37d3af,this[_0x4cfac7(0x32a)]=_0x5e696b,this['_localCacheService']=_0x337ac6);}async[_0x6aebf(0x29f)](_0x25ac99,_0x5c4539,_0x4671e4){var _0x2e967b=_0x6aebf;this['_unitInfo$'][_0x2e967b(0x312)]({'unitId':_0x25ac99,'type':_0x5c4539});let _0x5becce=null;switch(_0x5c4539){case Z[_0x2e967b(0x2c7)]:{_0x5becce=await this[_0x2e967b(0x32a)]['loadSheet'](_0x25ac99,_0x4671e4);break;}case Z[_0x2e967b(0x366)]:{_0x5becce=await this[_0x2e967b(0x32a)][_0x2e967b(0x2a1)](_0x25ac99,_0x4671e4);break;}default:{this['_logService'][_0x2e967b(0x232)](_0x2e967b(0x379),_0x2e967b(0xfe));break;}}return _0x5becce;}async[_0x6aebf(0xd8)](_0x4e7cc7,_0x183990,_0x3fcae4){var _0x3148e9=_0x6aebf,_0x39e0ea;this[_0x3148e9(0x32c)]['next']({'unitId':_0x4e7cc7,'type':_0x183990,'subUnitId':_0x3fcae4});let _0x468f15=0x0;const _0x178b15=await((_0x39e0ea=this[_0x3148e9(0x20e)])==null?void 0x0:_0x39e0ea['loadOfflineData'](_0x4e7cc7));return _0x178b15&&(_0x178b15[_0x3148e9(0xb4)]||_0x178b15[_0x3148e9(0x2ae)][_0x3148e9(0x16a)]!==0x0)&&(_0x468f15=_0x178b15[_0x3148e9(0x352)]),_0x468f15===0x0&&this[_0x3148e9(0x186)][_0x3148e9(0x180)]('[DataLoaderService]',_0x3148e9(0x205)),this[_0x3148e9(0x29f)](_0x4e7cc7,_0x183990,_0x468f15);}};Ct=Yn([vt(0x0,_0x26f867),vt(0x1,_0x18bb67(_0x50e5fc)),vt(0x2,_0x870f26(J))],Ct);var Kn=Object[_0x6aebf(0x2ec)],qn=(_0x34b380,_0x48ffdf,_0x4b51cd,_0x8d54de)=>{var _0x395c8c=_0x6aebf;for(var _0x59ebe7=_0x8d54de>0x1?void 0x0:_0x8d54de?Kn(_0x48ffdf,_0x4b51cd):_0x48ffdf,_0x596362=_0x34b380[_0x395c8c(0x16a)]-0x1,_0x430565;_0x596362>=0x0;_0x596362--)(_0x430565=_0x34b380[_0x596362])&&(_0x59ebe7=_0x430565(_0x59ebe7)||_0x59ebe7);return _0x59ebe7;},pt=(_0x49ac1d,_0x1ff601)=>(_0x7642c2,_0x365bb3)=>_0x1ff601(_0x7642c2,_0x365bb3,_0x49ac1d);const zn=[_0x6aebf(0x1d0),_0x6aebf(0xc3),_0x6aebf(0x15f),_0x6aebf(0x311),_0x6aebf(0x1de)],Jn=0x5*0x400*0x400,Xn='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Zn=_0x6aebf(0x17e),Qn=_0x6aebf(0x160),er='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x5bb8ec,_0x1c7748,_0x4c4833){var _0x2d4a91=_0x6aebf;N(this,'_waitCount',0x0),N(this,_0x2d4a91(0x327),new _0x2f4bdc()),N(this,'change$',this['_change$']),N(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x5bb8ec,this[_0x2d4a91(0x285)]=_0x1c7748,this[_0x2d4a91(0x92)]=_0x4c4833);}['setWaitCount'](_0xa4aea6){var _0x18b377=_0x6aebf;this[_0x18b377(0x203)]=_0xa4aea6,this[_0x18b377(0x327)]['next'](_0xa4aea6);}['getImageSourceCache'](_0x1ece1f,_0x5aaaf9){var _0x203a7e=_0x6aebf;if(_0x5aaaf9===_0xa69510[_0x203a7e(0x359)]){const _0x1f0f55=new Image();return _0x1f0f55[_0x203a7e(0x110)]=_0x1ece1f,_0x1f0f55;}return this['_imageSourceCache'][_0x203a7e(0x346)](_0x1ece1f);}[_0x6aebf(0x2bc)](_0x2c2efd,_0x1328de,_0x4b2bb3){var _0x45ecb2=_0x6aebf;_0x1328de===_0xa69510[_0x45ecb2(0x359)]||_0x4b2bb3==null||this[_0x45ecb2(0x100)][_0x45ecb2(0x17a)](_0x2c2efd,_0x4b2bb3);}async[_0x6aebf(0x2a0)](_0xd1d422){var _0x21a1e0=_0x6aebf;try{const _0x390577=this[_0x21a1e0(0x355)](this[_0x21a1e0(0x36f)](),''+_0xd1d422),_0x2db824=(await this[_0x21a1e0(0x190)][_0x21a1e0(0x346)](_0x390577))[_0x21a1e0(0x200)];if(_0x2db824[_0x21a1e0(0x232)]&&_0x2db824[_0x21a1e0(0x232)][_0x21a1e0(0x1f2)]===pi['OK']){const _0x2ca595=new URL(_0x2db824[_0x21a1e0(0xa9)],this[_0x21a1e0(0x238)]())[_0x21a1e0(0x202)]();return Promise[_0x21a1e0(0x2af)](_0x2ca595);}return Promise[_0x21a1e0(0x211)](_0x2db824[_0x21a1e0(0x232)]);}catch(_0x381cdd){return Promise[_0x21a1e0(0x211)](_0x381cdd);}}async[_0x6aebf(0x2a3)](_0x57fd5a){var _0x4cad86=_0x6aebf;let _0x4bde41='';if(!zn[_0x4cad86(0x253)](_0x57fd5a[_0x4cad86(0x171)]))return this[_0x4cad86(0x1c0)](),Promise[_0x4cad86(0x211)](new Error(_0x5f573b[_0x4cad86(0x1e8)]));if(_0x57fd5a[_0x4cad86(0x226)]>Jn)return this[_0x4cad86(0x1c0)](),Promise['reject'](new Error(_0x5f573b['ERROR_EXCEED_SIZE']));try{const _0x2520fb=new FormData();_0x2520fb[_0x4cad86(0x9c)]('file',_0x57fd5a);const _0x265f6e=this[_0x4cad86(0x92)][_0x4cad86(0x12e)](),_0x53e4c5=_0x265f6e==null?void 0x0:_0x265f6e[_0x4cad86(0x30c)]();if(!_0x53e4c5)throw new Error(_0x4cad86(0x393));const _0x4fadef=this[_0x4cad86(0x9b)]()+'?size='+_0x57fd5a[_0x4cad86(0x226)][_0x4cad86(0x202)]()+'&source='+mi[_0x4cad86(0xbc)]+'&assign='+encodeURIComponent(_0x53e4c5),_0x210f04={'body':_0x2520fb},_0x2512be=(await this[_0x4cad86(0x190)][_0x4cad86(0x288)](_0x4fadef,_0x210f04))['body'];if(typeof _0x2512be[_0x4cad86(0x286)]!='string')return this[_0x4cad86(0x1c0)](),Promise['reject'](new Error(_0x5f573b['ERROR_IMAGE']));_0x4bde41=_0x2512be[_0x4cad86(0x286)];}catch{return this[_0x4cad86(0x1c0)](),Promise['reject'](new Error(_0x5f573b['ERROR_IMAGE']));}return new Promise((_0x5373c8,_0x3c0e1a)=>{const _0x42c073=new FileReader();_0x42c073['readAsDataURL'](_0x57fd5a),_0x42c073['onload']=_0x15da48=>{var _0x1570fb=_0x5cc4,_0x23a3a0;const _0x335f16=(_0x23a3a0=_0x15da48[_0x1570fb(0x350)])==null?void 0x0:_0x23a3a0[_0x1570fb(0x345)];if(_0x335f16==null){this[_0x1570fb(0x1c0)](),_0x3c0e1a(new Error(_0x5f573b[_0x1570fb(0xe9)]));return;}const _0x28dd59=_0x11388e['generateRandomId'](0x6);_0x5373c8({'imageId':_0x28dd59,'imageSourceType':_0xa69510[_0x1570fb(0xad)],'source':_0x4bde41,'base64Cache':_0x335f16,'status':_0x5f573b['SUCCUSS']}),this[_0x1570fb(0x1c0)]();};});}[_0x6aebf(0x9b)](){var _0x4523da=_0x6aebf,_0x52e26c,_0x5cd643;const _0x300367=this['_configService'][_0x4523da(0x30d)](Xn),_0x411007=this[_0x4523da(0x285)][_0x4523da(0x30d)](K);return(_0x5cd643=(_0x52e26c=_0x411007==null?void 0x0:_0x411007[_0x4523da(0x301)])!=null?_0x52e26c:_0x300367)!=null?_0x5cd643:Zn;}[_0x6aebf(0x36f)](){var _0xb37d07=_0x6aebf,_0xf03d22,_0x9a80cf;const _0x49003e=this[_0xb37d07(0x285)][_0xb37d07(0x30d)](Qn),_0x32f4ab=this[_0xb37d07(0x285)][_0xb37d07(0x30d)](K);return(_0x9a80cf=(_0xf03d22=_0x32f4ab==null?void 0x0:_0x32f4ab['signUrlServerUrl'])!=null?_0xf03d22:_0x49003e)!=null?_0x9a80cf:er;}[_0x6aebf(0x238)](){var _0x213d29=_0x6aebf,_0x4674c8;const _0x521ce0=this[_0x213d29(0x285)][_0x213d29(0x30d)](K);return(_0x4674c8=_0x521ce0==null?void 0x0:_0x521ce0[_0x213d29(0xd9)])!=null?_0x4674c8:location[_0x213d29(0x150)];}['_replaceFileID'](_0x468e7f,_0x22ea16){var _0x5181e3=_0x6aebf;return _0x468e7f[_0x5181e3(0x26e)](_0x5181e3(0x101),_0x22ea16);}[_0x6aebf(0x1c0)](){var _0x38ceb6=_0x6aebf;this[_0x38ceb6(0x203)]-=0x1,this[_0x38ceb6(0x327)][_0x38ceb6(0x312)](this[_0x38ceb6(0x203)]);}};Rt=qn([pt(0x0,_0x18bb67(_0x26c391)),pt(0x1,_0x5317b8),pt(0x2,_0x18bb67(_0x552064))],Rt);var tr=Object[_0x6aebf(0x2ec)],ir=(_0x4f7f09,_0x46521f,_0x260923,_0x26e846)=>{var _0x4996fe=_0x6aebf;for(var _0x2df017=_0x26e846>0x1?void 0x0:_0x26e846?tr(_0x46521f,_0x260923):_0x46521f,_0x3be990=_0x4f7f09[_0x4996fe(0x16a)]-0x1,_0x32da5a;_0x3be990>=0x0;_0x3be990--)(_0x32da5a=_0x4f7f09[_0x3be990])&&(_0x2df017=_0x32da5a(_0x2df017)||_0x2df017);return _0x2df017;},ai=(_0x1d3dd1,_0x4e793c)=>(_0x40e3c7,_0x2cbd6a)=>_0x4e793c(_0x40e3c7,_0x2cbd6a,_0x1d3dd1);const sr=_0x6aebf(0x2df);let bt=class{constructor(_0x55f009,_0x8531ad){var _0x1132fd=_0x6aebf;this[_0x1132fd(0x285)]=_0x55f009,this[_0x1132fd(0x103)]=_0x8531ad;}[_0x6aebf(0x29d)](){var _0x126a76=_0x6aebf,_0x84e2b2,_0x4bcdda;const _0xdd0756=this[_0x126a76(0x285)][_0x126a76(0x30d)](bi),_0x112a08=this[_0x126a76(0x285)]['getConfig'](K);return(_0x4bcdda=(_0x84e2b2=_0x112a08==null?void 0x0:_0x112a08[_0x126a76(0x263)])!=null?_0x84e2b2:_0xdd0756)!=null?_0x4bcdda:sr;}async[_0x6aebf(0x2cf)](_0x2345b6){var _0x416f31=_0x6aebf;const _0x3fc182=this['_getAPIPrefixPath']()+_0x416f31(0x362);return{'list':[{'title':_0x416f31(0x199),'mentions':(await this[_0x416f31(0x103)]['get'](_0x3fc182,{'params':{'objectID':_0x2345b6[_0x416f31(0x128)],'unitID':_0x2345b6[_0x416f31(0x128)]}}))[_0x416f31(0x200)][_0x416f31(0xbb)][_0x416f31(0x37b)](_0x1ef2de=>({'objectId':_0x1ef2de['id'],'name':_0x1ef2de[_0x416f31(0x107)][_0x416f31(0x277)],'metadata':{'icon':_0x1ef2de[_0x416f31(0x107)][_0x416f31(0x1c6)]},'label':_0x1ef2de[_0x416f31(0x107)][_0x416f31(0x277)],'objectType':_0x36128d[_0x416f31(0x10f)]})),'metadata':{},'type':_0x36128d[_0x416f31(0x10f)]}]};}};bt=ir([ai(0x0,_0x18bb67(_0x5317b8)),ai(0x1,_0x18bb67(_0x26c391))],bt);var nr=Object[_0x6aebf(0x2ec)],rr=(_0xb5cbba,_0x52b457,_0xca8137,_0x5c5350)=>{for(var _0x45505c=_0x5c5350>0x1?void 0x0:_0x5c5350?nr(_0x52b457,_0xca8137):_0x52b457,_0x236345=_0xb5cbba['length']-0x1,_0x59a4b5;_0x236345>=0x0;_0x236345--)(_0x59a4b5=_0xb5cbba[_0x236345])&&(_0x45505c=_0x59a4b5(_0x45505c)||_0x45505c);return _0x45505c;},Ae=(_0xd95ec6,_0x23f4ab)=>(_0x2e2f87,_0x11c039)=>_0x23f4ab(_0x2e2f87,_0x11c039,_0xd95ec6);let ot=class extends _0x4a9342{constructor(_0x465a10,_0x22f586,_0x26811e,_0x1ccfd0,_0x2af5dc){var _0x483276=_0x6aebf;super(),this[_0x483276(0x33b)]=_0x465a10,this[_0x483276(0x92)]=_0x22f586,this[_0x483276(0x142)]=_0x26811e,this[_0x483276(0x14d)]=_0x1ccfd0,this[_0x483276(0x1cf)]=_0x2af5dc,this['_initUnitPermissionChange'](),this[_0x483276(0xab)]();}[_0x6aebf(0xab)](){var _0x5303d2=_0x6aebf;const _0x283483=async _0x380488=>{var _0x30f553=_0x5cc4;(await this['_collaborationSessionService'][_0x30f553(0x25d)](_0x380488))[_0x30f553(0x32f)][_0x30f553(0x351)](_0x74353e(_0x313c28=>_0x313c28[_0x30f553(0x305)]===_0x4876af[_0x30f553(0x2f1)]),_0x30842e(this[_0x30f553(0x1df)]))[_0x30f553(0x18c)](_0x4650b0=>{var _0x24f984=_0x30f553;const _0x49a1f6=_0x4650b0,{reason:_0x389d4e}=_0x49a1f6[_0x24f984(0x364)];this['_collaborationUIEventService'][_0x24f984(0x247)]({'id':ne['CLOSE_ROOM'],'data':_0x389d4e}),this[_0x24f984(0x142)][_0x24f984(0xc6)](new _0x39effe(_0x380488)['id'],!0x1),this[_0x24f984(0x14d)]['closeSession'](_0x380488);});};_0x3fda27(this[_0x5303d2(0x92)][_0x5303d2(0x37f)](_0x5a96fb[_0x5303d2(0x2c7)]),this['_univerInstanceService'][_0x5303d2(0x37f)](_0x5a96fb[_0x5303d2(0x366)]))[_0x5303d2(0x351)](_0x1c75cc(_0x54a86a=>_0x54a86a[_0x5303d2(0x30c)]()),_0x74353e(_0x5c56fc=>!_0x587f28(_0x5c56fc)),_0x30842e(this['dispose$']))[_0x5303d2(0x18c)](_0x492519=>{_0x283483(_0x492519);});}[_0x6aebf(0x2e5)](){var _0x52afea=_0x6aebf;const _0x59dd64=async _0x1e4c77=>{var _0x36c6a8=_0x5cc4;const _0x2017fb=await this[_0x36c6a8(0x14d)][_0x36c6a8(0x25d)](_0x1e4c77),_0x4bcfcc=this[_0x36c6a8(0x33b)][_0x36c6a8(0x346)](_0x2cf903);_0x2017fb[_0x36c6a8(0x32f)][_0x36c6a8(0x351)](_0x74353e(_0x19d333=>_0x19d333[_0x36c6a8(0x305)]===_0x4876af[_0x36c6a8(0xef)]),_0x30842e(this['dispose$']))['subscribe'](_0xf45a35=>{var _0x11008b=_0x36c6a8;const _0x20e9c0=_0xf45a35,{objectId:_0x3fe8e4}=_0x20e9c0['data'];_0x3fe8e4===_0x1e4c77?_0x4bcfcc[_0x11008b(0x2bf)](_0x1e4c77):_0x4bcfcc[_0x11008b(0x2b5)](_0x1e4c77,_0x3fe8e4);});};_0x3fda27(this[_0x52afea(0x92)][_0x52afea(0x37f)](_0x5a96fb['UNIVER_SHEET']))[_0x52afea(0x351)](_0x1c75cc(_0x206d5f=>_0x206d5f[_0x52afea(0x30c)]()),_0x74353e(_0x38bd8d=>!_0x587f28(_0x38bd8d)),_0x30842e(this['dispose$']))[_0x52afea(0x18c)](_0x2201c3=>{_0x59dd64(_0x2201c3);});}};ot=rr([Ae(0x0,_0x18bb67(_0x11fbde)),Ae(0x1,_0x552064),Ae(0x2,_0x374ceb),Ae(0x3,_0x18bb67(Le)),Ae(0x4,_0x18bb67(ve))],ot);var ar=Object['getOwnPropertyDescriptor'],or=(_0x12306d,_0x56ddef,_0x2d6d44,_0xec5526)=>{var _0x2e634b=_0x6aebf;for(var _0x4ee9c4=_0xec5526>0x1?void 0x0:_0xec5526?ar(_0x56ddef,_0x2d6d44):_0x56ddef,_0x54bcbe=_0x12306d[_0x2e634b(0x16a)]-0x1,_0x2f2705;_0x54bcbe>=0x0;_0x54bcbe--)(_0x2f2705=_0x12306d[_0x54bcbe])&&(_0x4ee9c4=_0x2f2705(_0x4ee9c4)||_0x4ee9c4);return _0x4ee9c4;},oi=(_0x5a5faf,_0x449ff9)=>(_0x136864,_0x311521)=>_0x449ff9(_0x136864,_0x311521,_0x5a5faf);let Ot=class{constructor(_0x395c5c,_0x1611cc){var _0x539dd0=_0x6aebf;this[_0x539dd0(0x285)]=_0x395c5c,this[_0x539dd0(0x190)]=_0x1611cc;}async['getUnitOnRev'](_0xfc524f,_0x22a185){var _0x1630c8=_0x6aebf,_0x4656c9;const {unitID:_0x24918e,type:_0x4e00f2,revision:_0x48302b=0x0}=_0x22a185,_0x38fde9=this[_0x1630c8(0x30a)]()+'/'+_0x4e00f2+_0x1630c8(0x214)+_0x24918e+'/rev/'+_0x48302b,_0x2660fe=(await this[_0x1630c8(0x190)][_0x1630c8(0x346)](_0x38fde9))[_0x1630c8(0x200)],_0x1db85c=(_0x4656c9=_0x2660fe[_0x1630c8(0x36b)])==null?void 0x0:_0x4656c9[_0x1630c8(0x31e)];if(_0x1db85c){const _0x2c7469=_0x1db85c==null?void 0x0:_0x1db85c['originalMeta'],_0x5e1ba0=_0xd579e6['encode'](_0x2cf7f3(_0x2c7469));_0x1db85c[_0x1630c8(0x1fb)]=_0x5e1ba0,Object['entries'](_0x1db85c[_0x1630c8(0x1ba)])['forEach'](([,_0x13df07])=>{var _0x578496=_0x1630c8;const _0x21be1e=_0x13df07['originalMeta'],_0x23d49a=_0xd579e6[_0x578496(0x16b)](_0x2cf7f3(_0x21be1e));_0x13df07['originalMeta']=_0x23d49a;});}return _0x2660fe;}async[_0x6aebf(0x21f)](_0x218148,_0x47457a){var _0x581b0a=_0x6aebf;const {unitID:_0x24bc3d,type:_0x52e037,blockID:_0x57bdb2}=_0x47457a,_0x397e37=this[_0x581b0a(0x1fe)]()+'/'+_0x52e037+_0x581b0a(0x214)+_0x24bc3d+'/block/'+_0x57bdb2;return(await this[_0x581b0a(0x190)][_0x581b0a(0x346)](_0x397e37))[_0x581b0a(0x200)];}async[_0x6aebf(0x340)](_0x29eaf9,_0xb934ab){var _0x5b934e=_0x6aebf;const {unitID:_0x415bc6,type:_0x50dad6,blockID:_0x2391cf}=_0xb934ab,_0x1f8af6=this[_0x5b934e(0x1fe)]()+_0x5b934e(0xd2)+_0x50dad6+_0x5b934e(0x214)+_0x415bc6+_0x5b934e(0xd2)+_0x2391cf;return(await this[_0x5b934e(0x190)][_0x5b934e(0x346)](_0x1f8af6))[_0x5b934e(0x200)];}async[_0x6aebf(0x19b)](_0x35c7d8,_0x5a9e65){var _0x4e48e2=_0x6aebf;const {unitID:_0x25495a,type:_0x327b79,from:_0x2940f9,to:_0x4be26d}=_0x5a9e65,_0x53d9d9=this['_getAPIPrefix']()+'/'+_0x327b79+_0x4e48e2(0x214)+_0x25495a+_0x4e48e2(0x324)+_0x2940f9+_0x4e48e2(0x358)+_0x4be26d;return(await this['_httpService']['get'](_0x53d9d9))[_0x4e48e2(0x200)];}['getSnapshotAPIPath'](){var _0x95d5e8=_0x6aebf,_0x33ea88;return(_0x33ea88=this[_0x95d5e8(0x285)]['getConfig'](ps))!=null?_0x33ea88:this['_getAPIPrefix']();}[_0x6aebf(0x1fe)](){var _0x144692=_0x6aebf,_0x42ad9c,_0x2cce3f;const _0x59000d=this[_0x144692(0x285)][_0x144692(0x30d)](fs),_0x3d2ff4=this[_0x144692(0x285)][_0x144692(0x30d)](K);return(_0x2cce3f=(_0x42ad9c=_0x3d2ff4==null?void 0x0:_0x3d2ff4[_0x144692(0x1b7)])!=null?_0x42ad9c:_0x59000d)!=null?_0x2cce3f:vs;}async[_0x6aebf(0x1b0)](_0x870555,_0x29fe8a){var _0x1c36ab=_0x6aebf;const _0x5ee72b=_0x1c36ab(0x284)+_0x29fe8a['type']+_0x1c36ab(0x214)+_0x29fe8a[_0x1c36ab(0x196)]+_0x1c36ab(0x2b3);return(await this['_httpService'][_0x1c36ab(0x346)](_0x5ee72b,{'params':{'resourceId':JSON['stringify'](_0x29fe8a['resourceIDs'])}}))['body'];}[_0x6aebf(0x38c)](){var _0x587650=_0x6aebf;throw new Error(_0x587650(0x2b7));}[_0x6aebf(0x1c9)](){var _0xd05119=_0x6aebf;throw new Error(_0xd05119(0x2b7));}[_0x6aebf(0x257)](){var _0x156a17=_0x6aebf;throw new Error(_0x156a17(0x2b7));}[_0x6aebf(0x2b8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x6aebf(0x20c)](){var _0x190c63=_0x6aebf;throw new Error(_0x190c63(0x2b7));}[_0x6aebf(0xfa)](){var _0x3ff6ed=_0x6aebf;throw new Error(_0x3ff6ed(0x2b7));}};Ot=or([oi(0x0,_0x5317b8),oi(0x1,_0x18bb67(_0x26c391))],Ot);var cr=Object[_0x6aebf(0x2ec)],hr=(_0x2a4744,_0x552426,_0x16b28c,_0xea60e)=>{var _0x11471f=_0x6aebf;for(var _0x33d8c6=_0xea60e>0x1?void 0x0:_0xea60e?cr(_0x552426,_0x16b28c):_0x552426,_0x1535cb=_0x2a4744[_0x11471f(0x16a)]-0x1,_0x1f8d27;_0x1535cb>=0x0;_0x1535cb--)(_0x1f8d27=_0x2a4744[_0x1535cb])&&(_0x33d8c6=_0x1f8d27(_0x33d8c6)||_0x33d8c6);return _0x33d8c6;},we=(_0x460c67,_0x126692)=>(_0x10eebf,_0x4d7556)=>_0x126692(_0x10eebf,_0x4d7556,_0x460c67);let yt=class extends _0x45ae3a{constructor(_0x36fd7a,_0x1c2c11,_0x5e94d8,_0x251069,_0xff84eb){var _0x2a0326=_0x6aebf;super(_0x36fd7a,_0x1c2c11,_0x5e94d8),this['_transformService']=_0x251069,this[_0x2a0326(0x186)]=_0xff84eb;}['transformUndoRedo'](_0x27f2d3,_0x157ebc){var _0x1953f7=_0x6aebf;const _0x5b080b=this[_0x1953f7(0xeb)](_0x27f2d3);if(_0x5b080b)try{const _0x8d68bd=this[_0x1953f7(0x2e6)](_0x5b080b,_0x157ebc);this[_0x1953f7(0x2c3)](_0x27f2d3,_0x8d68bd);}catch(_0x40cf7c){this[_0x1953f7(0x186)]['error']('[CollaborationUndoRedoService]',_0x40cf7c),this[_0x1953f7(0x15b)](_0x27f2d3);}const _0x47f1ed=this[_0x1953f7(0x237)](_0x27f2d3);if(_0x47f1ed)try{const _0x31023d=this['_transformStack'](_0x47f1ed,_0x157ebc);this[_0x1953f7(0x244)](_0x27f2d3,_0x31023d);}catch(_0x53a0d0){this[_0x1953f7(0x186)][_0x1953f7(0x232)](_0x53a0d0),this['_clearRedo'](_0x27f2d3);}}[_0x6aebf(0x15b)](_0x433d2a){var _0x89ce7d=_0x6aebf;const _0x219930=this[_0x89ce7d(0xeb)](_0x433d2a);_0x219930&&(_0x219930[_0x89ce7d(0x16a)]=0x0,this[_0x89ce7d(0x25a)]());}[_0x6aebf(0x1d4)](_0x2801fc){var _0x5b6d66=_0x6aebf;const _0x4fec1d=this['_getRedoStack'](_0x2801fc);_0x4fec1d&&(_0x4fec1d['length']=0x0,this[_0x5b6d66(0x25a)]());}[_0x6aebf(0x2c3)](_0x103ae6,_0x112863){var _0x6e21c9=_0x6aebf;this[_0x6e21c9(0x210)][_0x6e21c9(0x17a)](_0x103ae6,_0x112863),this['_updateStatus']();}[_0x6aebf(0x244)](_0x42af6a,_0x279b5b){var _0x1960b6=_0x6aebf;this['_redoStacks']['set'](_0x42af6a,_0x279b5b),this[_0x1960b6(0x25a)]();}[_0x6aebf(0x2e6)](_0x3e6e12,_0x40c0a7){var _0x455773=_0x6aebf;const _0x22fcd7=[];let _0xa077f6=_0x40c0a7,_0x7df6f5=_0x40c0a7;for(let _0x42b957=_0x3e6e12[_0x455773(0x16a)]-0x1;_0x42b957>=0x0;_0x42b957--){const {unitID:_0x446ab0,undoMutations:_0x2d736c,redoMutations:_0x29d2af}=_0x3e6e12[_0x42b957],_0x1e0782=this[_0x455773(0x35d)]['transformMutationsWithChangeset'](_0xa077f6,_0x2d736c),_0x195241=this[_0x455773(0x35d)][_0x455773(0x228)](_0x7df6f5,_0x29d2af);if(_0x34f905(_0x1e0782)||_0x34f905(_0x195241)){this[_0x455773(0x186)][_0x455773(0x232)](_0x455773(0xe7),_0x455773(0x394),_0x1e0782,_0x195241);break;}_0xa077f6=_0x1e0782[_0x455773(0x105)],_0x7df6f5=_0x195241['c1Prime'],_0x22fcd7['push']({'unitID':_0x446ab0,'undoMutations':_0x1e0782[_0x455773(0x29b)],'redoMutations':_0x195241[_0x455773(0x29b)]});}return _0x22fcd7['reverse']();}};yt=hr([we(0x0,_0x552064),we(0x1,_0x25bbcf),we(0x2,_0x4d1910),we(0x3,_0x55d63a),we(0x4,_0x26f867)],yt);var _r=Object['defineProperty'],lr=Object[_0x6aebf(0x2ec)],ur=(_0x5710fd,_0x417e02,_0x4be24b)=>_0x417e02 in _0x5710fd?_r(_0x5710fd,_0x417e02,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4be24b}):_0x5710fd[_0x417e02]=_0x4be24b,dr=(_0x440b49,_0x191c9a,_0x277782,_0x287fb9)=>{var _0x5d1551=_0x6aebf;for(var _0xc9b7c7=_0x287fb9>0x1?void 0x0:_0x287fb9?lr(_0x191c9a,_0x277782):_0x191c9a,_0x2671a9=_0x440b49[_0x5d1551(0x16a)]-0x1,_0xfb45b0;_0x2671a9>=0x0;_0x2671a9--)(_0xfb45b0=_0x440b49[_0x2671a9])&&(_0xc9b7c7=_0xfb45b0(_0xc9b7c7)||_0xc9b7c7);return _0xc9b7c7;},mt=(_0x361e89,_0x289870)=>(_0xfd6c94,_0x2ac646)=>_0x289870(_0xfd6c94,_0x2ac646,_0x361e89),fr=(_0x34d686,_0x2e7d8d,_0x2df21d)=>ur(_0x34d686,_0x2e7d8d+'',_0x2df21d);const vr=_0x6aebf(0x1c8);let Nt=class extends _0x147501{constructor(_0x463f58,_0x2fbd5f,_0x193bba,_0x54d899){var _0x1d964b=_0x6aebf;super(),N(this,'_config'),(this[_0x1d964b(0x186)]=_0x2fbd5f,this['_injector']=_0x193bba,this[_0x1d964b(0x285)]=_0x54d899);const {..._0x5635f9}=_0x1c4530({},Ds,_0x463f58);if(!_0x5635f9[_0x1d964b(0x2ff)])throw new Error(_0x1d964b(0x1fa));this[_0x1d964b(0x1e7)]=_0x5635f9,this[_0x1d964b(0x285)][_0x1d964b(0x113)](K,_0x5635f9);}[_0x6aebf(0xc7)](){var _0x4d2d4b=_0x6aebf;this['_registerDependencies'](),this[_0x4d2d4b(0x181)]();}[_0x6aebf(0x318)](){var _0x3cee8f=_0x6aebf,_0xf72f46,_0x6e5e8f;this[_0x3cee8f(0x33b)][_0x3cee8f(0x31b)](_0x302ea5)&&this['_logService']['error']('[UniverCollaborationClientPlugin]',_0x3cee8f(0x392));const _0xbdd941=_0x1e67f9([[_0x302ea5,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x3cee8f(0x1e7)]['socketService']}],[_0x3fe259,{'useClass':Ot}],[_0x40991c,{'useClass':Tt}],[_0x5138fa,{'useClass':Rt}],[_0x51953d,{'useClass':bt}],[nt],[It]],(_0xf72f46=this[_0x3cee8f(0x1e7)])==null?void 0x0:_0xf72f46[_0x3cee8f(0x1e6)]);if(!((_0x6e5e8f=this[_0x3cee8f(0x1e7)])!=null&&_0x6e5e8f[_0x3cee8f(0x2b0)])){const _0x136793=_0xbdd941[_0x3cee8f(0x115)](([_0x36ff77])=>_0x36ff77===ht);_0x136793!==-0x1&&_0xbdd941['splice'](_0x136793,0x1);}_0x4947aa(this['_injector'],_0xbdd941);}[_0x6aebf(0x181)](){var _0x2aa338=_0x6aebf,_0x3fc8c0,_0xfcbf1,_0x26cca4;this[_0x2aa338(0x33b)]['get'](_0x26c391)[_0x2aa338(0x32b)]({'priority':0x14,'interceptor':_0x94fa86({'maxParallel':0x6})}),(_0x3fc8c0=this['_config'])!=null&&_0x3fc8c0[_0x2aa338(0x2da)]||(_0xfcbf1=this[_0x2aa338(0x33b)][_0x2aa338(0x346)](J,_0x997497[_0x2aa338(0x11f)]))==null||_0xfcbf1['disableLocalCache'](),(_0x26cca4=this[_0x2aa338(0x1e7)])!=null&&_0x26cca4[_0x2aa338(0x224)]&&_0x4e514b(this[_0x2aa338(0x33b)],[[rt]]),_0x4e514b(this[_0x2aa338(0x33b)],[[at],[nt],[ot]]);}};fr(Nt,_0x6aebf(0x15a),vr),Nt=dr([_0xaed92e(_0x411580,_0x2661be),mt(0x1,_0x26f867),mt(0x2,_0x18bb67(_0x11fbde)),mt(0x3,_0x5317b8)],Nt);function _0x2867(){var _0x357f92=['_state','putCollaborators','getResourcesRequest','__Key__','UserProfileImg','_cipher','lib','retryConnectingInterval','fetchMiss','snapshotServerUrl','pauseCollaboration','batchAllowed','sheets','POST','exports','APPLY_PERMISSION_DENIED','[SyncedState]:\x20received\x20acknowledgement.','_transformIMECache','_decreaseWaiting','CHANGESET_REVISION_CONFILICT','Decryptor','FETCH_MISSING','collaboration-client.config','sendChangesetTimeout','avatar','catch','UNIVER_COLLABORATION_CLIENT_PLUGIN','updateSnapshot','_onRemoteACK','c2Prime','close$','method','onTransformRemoteChangesetByIMECache','_collaborationUIEventService','image/png','_changesetReqId','not_collab','_resendWithTimeout','_clearRedo','resend','session.room-permission-denied','mixIn','telemetry\x20info\x20is\x20not\x20initialized','JOIN_ROOM_PERMISSION_DENIED','loginUrlKey','mode','executeCommand','79160HKnPgn','image/bmp','dispose$','conflict','_lockTransition','objects','_submitChangeset','SNAPSHOT_SERVER_URL_KEY','_replayCachedMutations','override','_config','ERROR_IMAGE_TYPE','[FetchMissState]','clamp','enableCollaboration','slice','_getLoginPath','capture','LEAVE','default','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','code','54ytvNIf','AWAITING_WITH_PENDING','ciphertext','_initRequestHeader','_startCollaboration','27WSmVlA','Univer','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','originalMeta','OTHER_CLIENTS_EDITING','session.room-not-exists','_getAPIPrefix','LOCAL_CACHE_INTERVAL','body','Base64','toString','_waitCount','_telemetryService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','Pkcs7','_ENC_XFORM_MODE','104998dLKmxU','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','/universer-api/user/session-ticket','_onUserJoin','copyFileMeta','online$','_localCacheService','YUUMI_AI_RUN_FAILED','_undoStacks','reject','[CollaborationEntity]','_createSocket','/unit/','createSocket','LIVESHARE_TERMINATE','LICENSE_MAX_UNITS_EXCEEDED','INVITE_CODE_ALREADY_BOUND','selections','UNKNOWN_CODE','MUTATION','APPLY_NON_SEQUENTIAL_REVISION','_exhaustRemoteChangesetQueue','words','getSheetBlock','keySize','JOIN_ROOM_FULL','commentUpdate$','reconnect','enableAuthServer','_onOffline','size','finalize','transformMutationsWithChangeset','SNAPSHOT_URL_KEY','_sendHeartbeat','_incrementRevisionNumber','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_remoteChangesetQueue','_executeRemoteChangeset','_userManagerService','_fetchMissChangesets','24foRQsR','error','\x0aAfter:\x20','_resendTimeout','Hex','textRanges','_getRedoStack','_getDownloadEndpointURL','createEncryptor','sid','UNIVER_SLIDE','key','getInterceptPoints','max','fetchThroughInterceptors','_sender','liveShareOperation','EMAIL_HAS_BEEN_BOUND','localCacheService','_substituteRedoStack','editingUnit','ivSize','emitEvent','_data','/new_changes','_resendTimer','session.join-failed','_collabSessionService','JOIN_ROOM_NOT_EXISTS','$super','1148871WvFRyi','_clearCollaborationTimeoutTimer','addHandlerCallback','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','includes','fromCharCode','defineProperty','LIVESHARE_REQUEST_HOST','saveSheetBlock','revision','joinEvent','_updateStatus','HttpExport','roomInfos','requireSession','_transitionLocked','HmacMD5','_startTelemetryCollaborationNewChangeset','_roomMembers','clone','authzUrl','/universer-api/comb','DEFAULT_FILE_NAME','_oKey','_memberService','_iv','connection\x20error','subUnitId','[PendingState]:\x20received\x20rejection.','concat','UPDATE_CURSOR','replace','_socket$','stopTime','_applyRemoteChangeset','_disableEditing','/object','transformChangesets','YUUMI_SUBSCRIPTION_NOT_FOUND','transformUndoRedo','name','patch','roles','OpenSSL','indexOf','getActiveSheet','randomBytes','OTHER_CLIENT_EDITING','unpad','removeMember','PERMISSION_DENIED','_handlerCallback','_sessionStatus$','/universer-api/snapshot/','_configService','FileId','FETCH_MISS','post','_transformStateCache','collabSubmitChangesetUrl','asObservable','COLLAB_SUBMIT_CHANGESET_URL','_instanceService','onSyncEditingCollabCursor','[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.','IDLE','startTime','duration','_onCombEvent','cmd','_compressMutationService','socket$','ENSURE_SNAPSHOT_EXECUTION','_tryReconnect','onTransformSelections','_mode','m2Prime','dispose','_getAPIPrefixPath','399DibxzU','loadUnitOfRevision','getImage','loadDoc','charAt','saveImage','/object/','_doFinalize','hostname','MD5','onLocalMutation','getUnit','csShouldRetryEvent','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_initMergeInterceptor','INVITE_CODE_REQUIRED','mutations','resolve','enableSingleActiveInstanceLock','_init','init','/resources','setShowComponents','refreshPermission','JOINING','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','saveChangeset','random','LIVESHARE_FETCH_OPERATIONS','_clearTimeoutTimer','addImageSourceCache','SUBMIT_CHANGESET','_waitForHeartbeatResponse','initWorkbookPermissionChange','open$','_nRounds','status','_substituteUndoStack','SHA1','toggleOnline','onRemoteRej','UNIVER_SHEET','_onLocalMutation','socket\x20close','every','onRemoteRetry','href','INTERNAL_ERROR','listCollaborators','list','_syncEditingCollabCursor','RECV','COLLAB_WEB_SOCKET_URL','/allowed','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_doCreateSocket','2903164SREBOJ','HEARTBEAT_INTERVAL','_members$','pad','enableOfflineEditing','responseType','_tryEnsureSocket','values','GLOBAL_ROOMS_CNT_EXCEEDS','/universer-api/authz','toggleOffline','COMPLETION_FINISHED','range','AWAITING','CHANGESET_ACK','_initUnitPermissionChange','_transformStack','getUnitStatus$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','CHANGESET_SHOULD_RETRY','LIVESHARE_OPERATION','_process','getOwnPropertyDescriptor','getCollabEntity','USER_NOT_INVITED_CODE','_transformUndoredo','_sessions','SHOULD_CLOSE_CONN','YUUMI_URL_COL_OUT_OF_RANGE','onlyLocal','UNRECOGNIZED','leaveEvent','CHANGESET_REJ','_createHandler','CLOSE_ROOM','_onRemoteRejected','ws://127.0.0.1:8000/universer-api/comb/connect','USERS_LEAVE','27494225GEaNRc','_telemetryInfo','equals','socketService','fromCollab','uploadFileServerUrl','univer-pro.collaboration-client-socket-service','HEARTBEAT','_showConflictNotification','eventID','Malformed\x20UTF-8\x20data','closeSession','JOIN','session','getSnapshotAPIPath','_sheetTransformSelectionsService','getUnitId','getConfig','min','encodeURIComponent','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','image/gif','next','LOGIN_FAILED','objectID','onCommentUpdate','_snapshotServerService','47230vjDYKU','_registerDependencies','_commandService','onMissedChangesetFetched','has','unknown','update','workbook','isPermissionRej','_onConnectionFailed','getRoom','createInstance','417085RlwZes','/fetchmissing?from=','reduce','_toggleOffline','_change$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','objectActions','_snapshotService','registerHTTPInterceptor','_unitInfo$','clear','_hash','event$','Encryptor','title','_timeoutTimer','_iKey','collaboration_new_changeset','_DEC_XFORM_MODE','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','parse','collabWebSocketUrl','EvpKDF','encrypt','_injector','_removeRoom','[OfflineState]:\x20received\x20changeset.','headers','_commentService','getDeserializedSheetBlock','_onMessage','onTransformState','_clearRetryConnectingTimer','_xformMode','result','get','_scheduleCompleteTimestamp','_collaborationTimeoutTimer','_minBufferSize','focused$','StreamCipher','onTransformRemoteChangesetByStateCache','allowed','state$','then','target','pipe','rev','prototype','getValue','_replaceFileID','enc','onRemoteAck','&to=','BASE64','?url=','_clearScheduledTask','INVALID_INVITE_CODE','_transformService','_candidateSocket','/-/object/-/batch_allowed','_pendingMutations','disposeWithMe','/collaborator','_onUserLeave','data','updateCursorEvent','UNIVER_DOC','status$','synced','msCrypto','_onRemoteRetry','snapshot','_event$','JOIN_ROOM_FAILED','decrypt','_getSignURL','close','socket\x20open.','pending','failed\x20to\x20apply\x20missed\x20changesets!','getUnitType','Utf8','_onRecvEvent','_unitID','CipherParams','[DataLoaderService]','floor','map','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_onFetchMissResult','join','getTypeOfUnitAdded$','APPLY_REJECT','_doProcessBlock','call','__esModule','LICENSE_EXPORT_SIZE_EXCEEDED','_createInitialState','memberID','AUTHZ_URL_KEY','params','_onRemoteChangeset','execute','_clearHeartbeatTimer','saveSnapshot','byteLength','message$','LICENSE_IMPORT_SIZE_EXCEEDED','BufferedBlockAlgorithm','_acknowledgedAwaitingChangeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','unitId\x20is\x20not\x20found','transformStack\x20failed!','univer-pro.collaboration-client.single-active-unit-service','isArray','changesets','session.room-full','/universer-api/uniscript','Undefined','fetch_missing','_univerInstanceService','UNDEFINED','filter','_localeService','onMissingChangesets','_getSendChangesetTimeout','HELLO','appendMutation','UNAUTHENTICATED','_getUploadFileURL','append','getMemberID','getTypeOfUnitDisposed$','requestParams','_getCurrentRevision','Base','HttpImport','_socket','find','_invKeySchedule','readyForCollab','decryptBlock','blockSize','url','APPLY_REVISION_CONFILICT','_initCloseConn','_onJoinRoomEvent','UUID','UnitSnapshot','USERS_ENTER','permissionRejEvent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[CollaborationSessionService]','TOO_MANY_REQUESTS','awaitingChangeset','PERMISSION_REJ','_changesetSessionId','WordArray','_revisionService','YUUMI_ALL_TABLES_IS_INVALID','_schedule','collaborators','UnitEmbedded','LOGIN_URL_KEY','joinRsp','charCodeAt','add','\x0aCurrent:\x20','ONLINE','image/jpeg','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','COMMENT_UPDATE','updatePermissionPoint','onStarting','_sendingTimer','algo','transformSelections','INVITE_CODE_HAS_BEEN_UES','fetching\x20missing\x20changesets\x20from\x20','reset','push','localeService','cfg','confirm','/block/','_socketMessageSubscription','_listenToNetworkCondition','_type','_key','MSG_FOR_ERROR','loadUnit','downloadEndpointUrl','createCollaborator','YUUMI_UNABLE_LOAD_URL','unitInfo$','NO_OTHER_CLIENTS_EDITING','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','SEND_CHANGESET_TIMEOUT','_append','_stopTelemetryCollaborationNewChangeset','splice','Error\x20on\x20receiving\x20event','_createInitialStateImpl','ALREADY_EXISTS','_getCtorByUniverType','[CollaborationUndoRedoService]','salt','ERROR_IMAGE','_commentUpdate$','_getUndoStack','CBC','_shouldReportTelemetry','complete','UPDATE_PERMISSION_OBJ','sigBytes','UNKNOWN_CMD','_queuedRemoteChangesets','baseRev','NOT_COLLAB','__creator','MOBILE_HAS_BEEN_BOUND','CONFLICT','SUBMIT_CHANGESET_TIMEOUT','offline','getLatestCsReqIdBySid','awaiting_with_pending','_handler','withCredentials','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','deleteCollaborator','_imageSourceCache','{fileID}','editing\x20status\x20changed\x20to','_HTTPService','routeKey','c1Prime','_status$','subject','_onConnectionOpen','NOT_FOUND','/role','awaiting','_entityInit$','_isPermissionRej','onSendChangeset','PERSON','src','location','\x20-\x20','setConfig','members$','findIndex','_sendHeartbeatTimer','_state$','_awaitingChangeset','unsubscribe','LICENSE_DISTRO_REJECTED','PSEUDO_FETCH_MISSING_RESULT','getAllMembers','getMember','interceptor','OPTIONAL','_onConflict','INGEST','_clearLocalCache','padding','setCurrentUser','send','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_socketReady','unitId','UNIVER_PROJECT','SYNCED','APPLY_DUPLICATED','_joinRoom','onRemoteChangeset','getFocusedUnit','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','PENDING','YUUMI_NO_CUBOID_FOR_QUESTION','_nDataBytes','_parse','onStateChange','_roomCreated$','apply','OFFLINE','_singleActiveUnitService','INVALID_ARGUMENT','extend','AES','SNAPSHOT_HAS_BEEN_REMOVED','updateMember','_networkConditionService','COMPRESS_MUTATION_APPLY','_retryConnectingTimer','getCurrentRevOfUnit','_permissionService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','symbol','_updateLocalCache','_checkMissing','sessionStatus','repeat','_rescheduleHeartbeat','error$','forEach','_collaborationPaused','_collaborationSessionService','hasOwnProperty','state','origin','startsWith','format','_updateState','submit\x20changeset\x20error!','delete','_map','UNIVER_UNKNOWN','PasswordBasedCipher','compute','pluginName','_clearUndo','COMPRESS_MUTATION_SEND','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','kdf','image/jpg','EXCHANGE_SIGN_URL_SERVER_URL_KEY','compose','session.room-cnt-exceeds','LIVESHARE_NEW_HOST','commentUpdateEvent','stringify','_entities','_members','onCommandExecuted','_prevBlock','length','encode','_emitMembers','crypto','_throwTelemetryCollaborationNewChangeset','ceil','YUUMI_RATE_OVER_LIMIT','type','_toggleOnline','_retryCount','liveShareNewHost','_keyPriorReset','univer-pro.collaboration-client.network-condition.service','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','getRandomValues','_transformRemoteChangesetByStateCache','set','_eventService','_socketService','sessionStatus$','/universer-api/stream/file/upload','[CollaborationSessionService]:\x20socket\x20error','debug','_initDependencies','NoPadding','function','readInt32LE','_keySchedule','_logService','RETRY_CONNECTING_MAX_COUNT','FAIL','objectType','createDecryptor','buffer','subscribe','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','\x20in\x20_schedule.','Cipher','_httpService','userID','Hasher','_scheduleCollaborationTimeoutTimer','reqId','getTime','unitID','_unlockTransition','Failed\x20to\x20update\x20permission\x20point','People','_transformSelections','fetchMissingChangesets','PY_RUNTIME_SCRIPT_ERROR','SerializableCipher','create','[SyncedState]:\x20received\x20rejection.','_hasher','SOCKET_FAILED','UNISCRIPT_RUN','string','_undoRedoService','YUUMI_ASYNCIO_CANCELLED','actions','getCurrentUser','_reverseMap','onTransformIME','HMAC','hasher','_createHelper','WECHAT_HAS_BEEN_BOUND'];_0x2867=function(){return _0x357f92;};return _0x2867();}export{bi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,bs as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,bt as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ot as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
|