@univerjs-pro/collaboration-client 0.6.7-experimental.20250402-1f9acb8 → 0.6.7-experimental.20250402-cbaeae1

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/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x3cf6fd=_0x4cd0;(function(_0xefd79c,_0x2b431c){var _0x3eae7d=_0x4cd0,_0x1eb7bd=_0xefd79c();while(!![]){try{var _0x2eef98=-parseInt(_0x3eae7d(0x2f0))/0x1+parseInt(_0x3eae7d(0x1a1))/0x2*(parseInt(_0x3eae7d(0x370))/0x3)+parseInt(_0x3eae7d(0x293))/0x4+parseInt(_0x3eae7d(0x356))/0x5+parseInt(_0x3eae7d(0x28e))/0x6*(parseInt(_0x3eae7d(0x3aa))/0x7)+parseInt(_0x3eae7d(0x19b))/0x8+-parseInt(_0x3eae7d(0x1ef))/0x9*(parseInt(_0x3eae7d(0x282))/0xa);if(_0x2eef98===_0x2b431c)break;else _0x1eb7bd['push'](_0x1eb7bd['shift']());}catch(_0x369987){_0x1eb7bd['push'](_0x1eb7bd['shift']());}}}(_0x1dd5,0xc0116));var Ai=Object[_0x3cf6fd(0x2ec)],Pi=(_0x4330b9,_0x2bf16e,_0x1885a5)=>_0x2bf16e in _0x4330b9?Ai(_0x4330b9,_0x2bf16e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1885a5}):_0x4330b9[_0x2bf16e]=_0x1885a5,N=(_0x5b2f0d,_0x3d68f0,_0x4ee033)=>Pi(_0x5b2f0d,typeof _0x3d68f0!=_0x3cf6fd(0x31f)?_0x3d68f0+'':_0x3d68f0,_0x4ee033);import{createIdentifier as _0x321b1d,Inject as _0x2a1c1e,Injector as _0x40a907,IConfigService as _0x403a68,ILogService as _0x5c90c9,Disposable as _0xdb9023,DisposableCollection as _0xea7127,toDisposable as _0x290bf6,IUniverInstanceService as _0x51776b,UserManagerService as _0x39c68c,UniverInstanceType as _0xc8f4f5,LocaleService as _0x35fe7c,Optional as _0x22e998,RxDisposable as _0x14bef9,Tools as _0x5f17d1,Rectangle as _0x1416b1,ICommandService as _0x2fdf51,JSONX as _0x42ec8c,CommandType as _0x16db83,IUndoRedoService as _0x365e68,IPermissionService as _0x7add9a,sequenceExecute as _0x541918,Workbook as _0x47c79a,MentionType as _0x412a20,isInternalEditorID as _0xc95978,LocalUndoRedoService as _0x1f65bf,IContextService as _0x9383da,DependentOn as _0x3b322c,Plugin as _0x13d6bd,merge as _0x58b8cc,mergeOverrideWithDependencies as _0x565b73,IAuthzIoService as _0x3c5152,IMentionIOService as _0x90a133,registerDependencies as _0x3765a9,Quantity as _0x26931b,touchDependencies as _0xf1b062}from'@univerjs/core';import{Subject as _0x455261,merge as _0x1b74d2,of as _0xd3dc96,BehaviorSubject as _0x3399ea,takeUntil as _0xe2c667,ReplaySubject as _0x540ccd,take as _0x475621,map as _0x3327a7,shareReplay as _0x47d972,firstValueFrom as _0x2fc47a,concatMap as _0x465446}from'rxjs';import{map as _0x2ce134,take as _0x17e3e9,filter as _0x2753ea,delay as _0x28df58,takeUntil as _0x51a289}from'rxjs/operators';import{CollaborationEvent as _0x2e4cb2,ISnapshotServerService as _0xb06ff3,parseChangesetToProtocol as _0x44ea69,ITransformService as _0x4f3b0f,isTransformMutationsWithChangesetSuccess as _0x48447e,mapDocumentTypeToUniverType as _0x38bc71,RevisionService as _0x26f86e,isTransformChangesetsSuccess as _0x5ac623,CompressMutationService as _0x164823,parseProtocolChangeset as _0x3269b0,SnapshotService as _0xd81efa,textEncoder as _0x14c08e,b64DecodeUnicode as _0x1423bb,isTransformMutationsWithChangesetFailure as _0x319435,UniverCollaborationPlugin as _0x548e2c}from'@univerjs-pro/collaboration';import{HTTPService as _0x4238bf,ISocketService as _0x14350a,MergeInterceptorFactory as _0x3771c8,HTTPRequest as _0x601853,UniverNetworkPlugin as _0x14aa80,ThresholdInterceptorFactory as _0x3d79ac}from'@univerjs/network';function _0x4cd0(_0xbd3fe4,_0x41951e){var _0x1dd5cc=_0x1dd5();return _0x4cd0=function(_0x4cd066,_0x433e99){_0x4cd066=_0x4cd066-0x100;var _0x42d7fe=_0x1dd5cc[_0x4cd066];return _0x42d7fe;},_0x4cd0(_0xbd3fe4,_0x41951e);}import{ITelemetryService as _0x1089fe}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x85e961}from'@univerjs/docs';import{SheetsSelectionsService as _0x4f0efa,SetSelectionsOperation as _0x2013dc,InsertSheetMutation as _0x426136,EmptyMutation as _0x363233,WorkbookEditablePermission as _0x176114,SheetPermissionInitController as _0x254474}from'@univerjs/sheets';import{ImageSourceType as _0x3a75a9,ImageUploadStatusType as _0x2384d8,IImageIoService as _0x1528a8}from'@univerjs/drawing';import{getGlobalObject as _0x1d5c94}from'@univerjs-pro/license';const mn=_0x3cf6fd(0x23e),gn=_0x3cf6fd(0x322),Sn=_0x3cf6fd(0x35a),xs=_0x3cf6fd(0x407),En=0x7d0,In='COLLAB_WEB_SOCKET_URL',Tn=_0x3cf6fd(0x1b5),Ls=_0x3cf6fd(0x13a),Cn=_0x3cf6fd(0x3ee),Rn=0x7530,mi=_0x3cf6fd(0x2ab),gi=0x4e20,bn=0x4e20,yn=_0x3cf6fd(0x2df),On=0x3,Ms='LOCAL_CACHE_INTERVAL',ks=0x3e8,Nn=_0x3cf6fd(0x2c7),Dn=_0x3cf6fd(0x17f),Un=_0x3cf6fd(0x402),wn=_0x3cf6fd(0x294),$s=_0x3cf6fd(0x33f),Hs='/universer-api/uniscript';var Si=(_0x31b6ff=>(_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x3c8)]=0x0]='UNDEFINED',_0x31b6ff[_0x31b6ff['OK']=0x1]='OK',_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x40c)]=0x2]=_0x3cf6fd(0x40c),_0x31b6ff[_0x31b6ff['PERMISSION_DENIED']=0x3]=_0x3cf6fd(0x381),_0x31b6ff[_0x31b6ff['NOT_FOUND']=0x4]='NOT_FOUND',_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x15a)]=0x5]=_0x3cf6fd(0x15a),_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x230)]=0x6]=_0x3cf6fd(0x230),_0x31b6ff[_0x31b6ff['INVALID_ARGUMENT']=0x7]=_0x3cf6fd(0x175),_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x326)]=0x8]=_0x3cf6fd(0x326),_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x191)]=0x9]='COMPLETION_FINISHED',_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x1a7)]=0xa]=_0x3cf6fd(0x1a7),_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x109)]=0x1389]=_0x3cf6fd(0x109),_0x31b6ff[_0x31b6ff['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3cf6fd(0x374),_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x163)]=0x1772]=_0x3cf6fd(0x163),_0x31b6ff[_0x31b6ff['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x31b6ff[_0x31b6ff['APPLY_REJECT']=0x1b59]=_0x3cf6fd(0x15c),_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x2ef)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x23a)]=0x1b5b]=_0x3cf6fd(0x23a),_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x2be)]=0x1b5c]=_0x3cf6fd(0x2be),_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x300)]=0x1b5d]=_0x3cf6fd(0x300),_0x31b6ff[_0x31b6ff['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3cf6fd(0x190),_0x31b6ff[_0x31b6ff['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3cf6fd(0x3e4),_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x3dd)]=0x232a]=_0x3cf6fd(0x3dd),_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x303)]=0x232b]=_0x3cf6fd(0x303),_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x2d6)]=0x232c]=_0x3cf6fd(0x2d6),_0x31b6ff[_0x31b6ff['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3cf6fd(0x1d7),_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x2d7)]=0x2711]=_0x3cf6fd(0x2d7),_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x3a2)]=0x2712]=_0x3cf6fd(0x3a2),_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x288)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x333)]=0x2714]=_0x3cf6fd(0x333),_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x29d)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x31b6ff[_0x31b6ff['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3cf6fd(0x28b),_0x31b6ff[_0x31b6ff['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x12f)]=0x2ee3]=_0x3cf6fd(0x12f),_0x31b6ff[_0x31b6ff['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x342)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x31b6ff[_0x31b6ff[_0x3cf6fd(0x405)]=-0x1]='UNRECOGNIZED',_0x31b6ff))(Si||{}),Q=(_0x5678b2=>(_0x5678b2[_0x5678b2[_0x3cf6fd(0x106)]=0x0]='UNIVER_UNKNOWN',_0x5678b2[_0x5678b2[_0x3cf6fd(0x3bb)]=0x1]=_0x3cf6fd(0x3bb),_0x5678b2[_0x5678b2[_0x3cf6fd(0x2c8)]=0x2]=_0x3cf6fd(0x2c8),_0x5678b2[_0x5678b2[_0x3cf6fd(0x2b6)]=0x3]=_0x3cf6fd(0x2b6),_0x5678b2[_0x5678b2[_0x3cf6fd(0x167)]=0x4]=_0x3cf6fd(0x167),_0x5678b2[_0x5678b2[_0x3cf6fd(0x405)]=-0x1]=_0x3cf6fd(0x405),_0x5678b2))(Q||{}),F=(_0xd9de10=>(_0xd9de10[_0xd9de10[_0x3cf6fd(0x347)]=0x0]='UNKNOWN_CMD',_0xd9de10[_0xd9de10[_0x3cf6fd(0x2e4)]=0x1]=_0x3cf6fd(0x2e4),_0xd9de10[_0xd9de10[_0x3cf6fd(0x316)]=0x2]=_0x3cf6fd(0x316),_0xd9de10[_0xd9de10[_0x3cf6fd(0x2d9)]=0x3]='LEAVE',_0xd9de10[_0xd9de10[_0x3cf6fd(0x359)]=0x4]='INGEST',_0xd9de10[_0xd9de10[_0x3cf6fd(0x1bb)]=0x5]=_0x3cf6fd(0x1bb),_0xd9de10[_0xd9de10[_0x3cf6fd(0x1ba)]=0x6]=_0x3cf6fd(0x1ba),_0xd9de10[_0xd9de10[_0x3cf6fd(0x405)]=-0x1]=_0x3cf6fd(0x405),_0xd9de10))(F||{}),ge=(_0x29d776=>(_0x29d776[_0x29d776[_0x3cf6fd(0x1aa)]=0x0]=_0x3cf6fd(0x1aa),_0x29d776[_0x29d776['OK']=0x1]='OK',_0x29d776[_0x29d776['FAIL']=0x2]=_0x3cf6fd(0x255),_0x29d776[_0x29d776[_0x3cf6fd(0x3ba)]=0x3e9]='JOIN_ROOM_FULL',_0x29d776[_0x29d776[_0x3cf6fd(0x340)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x29d776[_0x29d776[_0x3cf6fd(0x2fb)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x29d776[_0x29d776['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x29d776[_0x29d776[_0x3cf6fd(0x405)]=-0x1]='UNRECOGNIZED',_0x29d776))(ge||{}),Ei=(_0x53fd63=>(_0x53fd63[_0x53fd63[_0x3cf6fd(0x2f3)]=0x0]='Undefined',_0x53fd63[_0x53fd63[_0x3cf6fd(0x11b)]=0x1]=_0x3cf6fd(0x11b),_0x53fd63[_0x53fd63[_0x3cf6fd(0x360)]=0x2]='HttpExport',_0x53fd63[_0x53fd63[_0x3cf6fd(0x354)]=0x3]=_0x3cf6fd(0x354),_0x53fd63[_0x53fd63[_0x3cf6fd(0x315)]=0x4]=_0x3cf6fd(0x315),_0x53fd63[_0x53fd63[_0x3cf6fd(0x405)]=-0x1]='UNRECOGNIZED',_0x53fd63))(Ei||{});const q='collaboration-client.config',An={};var se=(_0x26e31d=>(_0x26e31d[_0x3cf6fd(0x251)]=_0x3cf6fd(0x251),_0x26e31d[_0x3cf6fd(0x381)]=_0x3cf6fd(0x381),_0x26e31d[_0x3cf6fd(0x2e7)]=_0x3cf6fd(0x2e7),_0x26e31d[_0x3cf6fd(0x3a5)]=_0x3cf6fd(0x3a5),_0x26e31d[_0x3cf6fd(0x271)]=_0x3cf6fd(0x271),_0x26e31d[_0x3cf6fd(0x22e)]=_0x3cf6fd(0x22e),_0x26e31d[_0x3cf6fd(0x3af)]=_0x3cf6fd(0x3af),_0x26e31d['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x26e31d))(se||{});class pe{constructor(){var _0x594ecb=_0x3cf6fd;N(this,'_event$',new _0x455261()),N(this,_0x594ecb(0x229),this[_0x594ecb(0x23d)][_0x594ecb(0x188)]());}['emitEvent'](_0x37ab74){var _0x2e057a=_0x3cf6fd;this['_event$'][_0x2e057a(0x127)](_0x37ab74);}}const Pn=_0x321b1d(_0x3cf6fd(0x1c3));function xn(_0x321585){var _0x2d26fb=_0x3cf6fd,_0x160002,_0x47e223,_0xbd928d,_0x990d56,_0x281ce;const _0x5ae2f7=_0x321585[_0x2d26fb(0x313)],_0x2d3467=JSON[_0x2d26fb(0x17d)](_0x5ae2f7);switch(_0x2d3467['cmd']){case F[_0x2d26fb(0x1bb)]:case F[_0x2d26fb(0x2e4)]:{const _0xb69182=_0x2d3467[_0x2d26fb(0x3c2)];return{..._0x2d3467,'data':_0xb69182,'cmd':_0x2d3467[_0x2d26fb(0x2b9)]};}case F[_0x2d26fb(0x316)]:{const _0x4946cd=_0x2d3467[_0x2d26fb(0x22c)];return{..._0x2d3467,'data':_0x4946cd,'cmd':_0x2d3467[_0x2d26fb(0x2b9)]};}case F['RECV']:{const _0x2d5c6e=_0x2d3467[_0x2d26fb(0x33e)];switch(_0x2d5c6e[_0x2d26fb(0x1ee)]){case _0x2e4cb2['PERMISSION_REJ']:return{..._0x2d3467,'data':{..._0x2d5c6e,'data':(_0x160002=_0x2d5c6e[_0x2d26fb(0x28d)])==null?void 0x0:_0x160002['cs']},'cmd':_0x2d3467['cmd']};case _0x2e4cb2[_0x2d26fb(0x1d1)]:return{..._0x2d3467,'data':{..._0x2d5c6e,'data':(_0x47e223=_0x2d5c6e[_0x2d26fb(0x151)])==null?void 0x0:_0x47e223['cs']},'cmd':_0x2d3467[_0x2d26fb(0x2b9)]};case _0x2e4cb2[_0x2d26fb(0x2cf)]:return{..._0x2d3467,'data':{..._0x2d5c6e,'data':(_0xbd928d=_0x2d5c6e['newCsEvent'])==null?void 0x0:_0xbd928d['cs']},'cmd':_0x2d3467[_0x2d26fb(0x2b9)]};case _0x2e4cb2[_0x2d26fb(0x331)]:return{..._0x2d3467,'data':{..._0x2d5c6e,'data':(_0x990d56=_0x2d5c6e[_0x2d26fb(0x368)])==null?void 0x0:_0x990d56['cs']},'cmd':_0x2d3467[_0x2d26fb(0x2b9)]};case _0x2e4cb2['CHANGESET_SHOULD_RETRY']:return{..._0x2d3467,'data':{..._0x2d5c6e,'data':(_0x281ce=_0x2d5c6e[_0x2d26fb(0x265)])==null?void 0x0:_0x281ce['cs']},'cmd':_0x2d3467[_0x2d26fb(0x2b9)]};case _0x2e4cb2['UPDATE_CURSOR']:return{..._0x2d3467,'data':{..._0x2d5c6e,'data':_0x2d5c6e[_0x2d26fb(0x37e)]},'cmd':_0x2d3467[_0x2d26fb(0x2b9)]};case _0x2e4cb2[_0x2d26fb(0x114)]:return{..._0x2d3467,'data':{..._0x2d5c6e,'data':_0x2d5c6e[_0x2d26fb(0x148)]},'cmd':_0x2d3467[_0x2d26fb(0x2b9)]};case _0x2e4cb2[_0x2d26fb(0x2f4)]:return{..._0x2d3467,'data':{..._0x2d5c6e,'data':_0x2d5c6e[_0x2d26fb(0x2a0)]},'cmd':_0x2d3467['cmd']};case _0x2e4cb2[_0x2d26fb(0x309)]:return{..._0x2d3467,'data':{..._0x2d5c6e,'data':_0x2d5c6e[_0x2d26fb(0x208)]},'cmd':_0x2d3467[_0x2d26fb(0x2b9)]};case _0x2e4cb2[_0x2d26fb(0x36b)]:case _0x2e4cb2[_0x2d26fb(0x2f6)]:return{..._0x2d3467,'data':{..._0x2d5c6e,'data':_0x2d5c6e[_0x2d26fb(0x36e)]},'cmd':_0x2d3467[_0x2d26fb(0x2b9)]};case _0x2e4cb2['LIVESHARE_TERMINATE']:return{..._0x2d3467,'data':{..._0x2d5c6e,'data':_0x2d5c6e['liveShareNewHost']},'cmd':_0x2d3467[_0x2d26fb(0x2b9)]};case _0x2e4cb2[_0x2d26fb(0x308)]:return{..._0x2d3467,'data':_0x2d5c6e,'cmd':_0x2d3467[_0x2d26fb(0x2b9)]};case _0x2e4cb2['COMMENT_UPDATE']:return{..._0x2d3467,'data':{..._0x2d5c6e,'data':_0x2d5c6e[_0x2d26fb(0x3e1)]},'cmd':_0x2d3467[_0x2d26fb(0x2b9)]};case _0x2e4cb2[_0x2d26fb(0x111)]:return{..._0x2d3467,'data':{..._0x2d5c6e,'data':_0x2d5c6e[_0x2d26fb(0x21f)]},'cmd':_0x2d3467[_0x2d26fb(0x2b9)]};case _0x2e4cb2[_0x2d26fb(0x382)]:return{..._0x2d3467,'data':{..._0x2d5c6e,'data':_0x2d5c6e[_0x2d26fb(0x30c)]},'cmd':_0x2d3467[_0x2d26fb(0x2b9)]};case _0x2e4cb2[_0x2d26fb(0x1f2)]:return{..._0x2d3467,'data':{..._0x2d5c6e,'data':_0x2d5c6e[_0x2d26fb(0x3a7)]},'cmd':_0x2d3467['cmd']};default:return _0x2d3467;}}default:return _0x2d3467;}}function Ln(_0x9ec5a6){var _0x5e51f7=_0x3cf6fd;switch(_0x9ec5a6[_0x5e51f7(0x2b9)]){case F[_0x5e51f7(0x1bb)]:case F[_0x5e51f7(0x2e4)]:return JSON['stringify']({'cmd':_0x9ec5a6[_0x5e51f7(0x2b9)],'routeKey':_0x9ec5a6[_0x5e51f7(0x16e)]});case F[_0x5e51f7(0x359)]:{let _0x3c4d35;switch(_0x9ec5a6['data'][_0x5e51f7(0x1ee)]){case _0x2e4cb2[_0x5e51f7(0x134)]:{_0x3c4d35={'eventID':_0x2e4cb2['UPDATE_CURSOR'],'updateCursorEvent':_0x9ec5a6[_0x5e51f7(0x313)]['data']};break;}case _0x2e4cb2[_0x5e51f7(0x2f4)]:{_0x3c4d35={'eventID':_0x2e4cb2['USERS_LEAVE'],'leaveEvent':_0x9ec5a6[_0x5e51f7(0x313)]['data']};break;}case _0x2e4cb2[_0x5e51f7(0x114)]:{_0x3c4d35={'eventID':_0x2e4cb2['USERS_ENTER'],'joinEvent':_0x9ec5a6[_0x5e51f7(0x313)][_0x5e51f7(0x313)]};break;}case _0x2e4cb2['LIVESHARE_NEW_HOST']:{_0x3c4d35={'eventID':_0x2e4cb2[_0x5e51f7(0x309)],'liveShareNewHost':_0x9ec5a6['data']['data']};break;}case _0x2e4cb2['LIVESHARE_OPERATION']:{_0x3c4d35={'eventID':_0x2e4cb2[_0x5e51f7(0x2f6)],'liveShareOperation':_0x9ec5a6[_0x5e51f7(0x313)][_0x5e51f7(0x313)]};break;}case _0x2e4cb2['LIVESHARE_TERMINATE']:{_0x3c4d35={'eventID':_0x2e4cb2['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x9ec5a6[_0x5e51f7(0x313)][_0x5e51f7(0x313)]};break;}case _0x2e4cb2[_0x5e51f7(0x2c2)]:{_0x3c4d35={'eventID':_0x2e4cb2[_0x5e51f7(0x2c2)],'liveShareRequestHost':_0x9ec5a6['data'][_0x5e51f7(0x313)]};break;}case _0x2e4cb2[_0x5e51f7(0x36b)]:{_0x3c4d35={'eventID':_0x2e4cb2[_0x5e51f7(0x36b)]};break;}default:_0x3c4d35={'eventID':_0x9ec5a6[_0x5e51f7(0x313)][_0x5e51f7(0x1ee)]};}return JSON[_0x5e51f7(0x35c)]({'cmd':_0x9ec5a6['cmd'],'routeKey':_0x9ec5a6[_0x5e51f7(0x16e)],'collaMsg':_0x3c4d35});}case F[_0x5e51f7(0x316)]:return JSON[_0x5e51f7(0x35c)]({'cmd':_0x9ec5a6[_0x5e51f7(0x2b9)],'routeKey':_0x9ec5a6[_0x5e51f7(0x16e)],'joinReq':_0x9ec5a6['data']});case F[_0x5e51f7(0x2d9)]:return JSON['stringify']({'cmd':_0x9ec5a6[_0x5e51f7(0x2b9)],'routeKey':_0x9ec5a6[_0x5e51f7(0x16e)],'leaveReq':_0x9ec5a6[_0x5e51f7(0x313)]});default:throw new Error(_0x5e51f7(0x272));}}var Mn=Object[_0x3cf6fd(0x1f5)],kn=(_0x451c6b,_0x142392,_0x336f7e,_0x288290)=>{var _0x245fb4=_0x3cf6fd;for(var _0x295181=_0x288290>0x1?void 0x0:_0x288290?Mn(_0x142392,_0x336f7e):_0x142392,_0x30f284=_0x451c6b[_0x245fb4(0x2a8)]-0x1,_0x480215;_0x30f284>=0x0;_0x30f284--)(_0x480215=_0x451c6b[_0x30f284])&&(_0x295181=_0x480215(_0x295181)||_0x295181);return _0x295181;},we=(_0x2f6f56,_0x28b8e6)=>(_0x49d44a,_0x396d2f)=>_0x28b8e6(_0x49d44a,_0x396d2f,_0x2f6f56);const Ii=_0x321b1d('univer-pro.collaboration-client-socket-service');function $n(_0x458b1a,_0x183813,_0x4c2981){var _0x11619c=_0x3cf6fd;return _0x458b1a+'/'+_0x183813+_0x11619c(0x189)+_0x4c2981+_0x11619c(0x34e);}let Gt=class extends _0xdb9023{constructor(_0x5f19b6,_0x575147,_0x52ff9e,_0x47aa3e,_0x5aed0b){var _0x3fb780=_0x3cf6fd;super(),this['_injector']=_0x5f19b6,this[_0x3fb780(0x1fd)]=_0x575147,this[_0x3fb780(0x323)]=_0x52ff9e,this[_0x3fb780(0x123)]=_0x47aa3e,this[_0x3fb780(0x27c)]=_0x5aed0b;}['_doCreateSocket'](_0x287063){var _0x2ae5c5=_0x3cf6fd;const _0x67fa0d=this[_0x2ae5c5(0x1d4)]['get'](_0x14350a);if(!_0x67fa0d)throw new Error(_0x2ae5c5(0x3a8));const _0x215808=_0x67fa0d[_0x2ae5c5(0x241)](_0x287063);if(!_0x215808)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x4316ed=new _0xea7127(),_0x348830=new _0x455261();_0x4316ed[_0x2ae5c5(0x173)](_0x215808[_0x2ae5c5(0x113)]['subscribe'](_0x56301e=>_0x348830[_0x2ae5c5(0x127)](_0x56301e))),_0x4316ed[_0x2ae5c5(0x173)](_0x290bf6(()=>_0x348830[_0x2ae5c5(0x153)]()));const _0x299494=new _0x455261();_0x4316ed[_0x2ae5c5(0x173)](_0x215808[_0x2ae5c5(0x2bf)][_0x2ae5c5(0x301)](_0x2ef66d=>_0x299494[_0x2ae5c5(0x127)](_0x2ef66d))),_0x4316ed[_0x2ae5c5(0x173)](_0x290bf6(()=>_0x299494[_0x2ae5c5(0x153)]()));const _0x343888=new _0x455261();_0x4316ed[_0x2ae5c5(0x173)](_0x215808[_0x2ae5c5(0x266)][_0x2ae5c5(0x301)](_0x2f83fc=>{var _0x206c30=_0x2ae5c5;const _0x3c0675=xn(_0x2f83fc);_0x343888[_0x206c30(0x127)](_0x3c0675);})),_0x4316ed[_0x2ae5c5(0x173)](_0x290bf6(()=>_0x343888['complete']()));let _0x212fe3;const _0x4fda9a=()=>{var _0x1c9c67=_0x2ae5c5;_0x299494[_0x1c9c67(0x127)](new Event(_0x1c9c67(0x1f0))),_0x348830[_0x1c9c67(0x127)](new Event(_0x1c9c67(0x1f0))),_0x212fe3[_0x1c9c67(0x1ae)]();};return _0x212fe3={'memberID':'','close$':_0x348830[_0x2ae5c5(0x188)](),'error$':_0x299494[_0x2ae5c5(0x188)](),'open$':_0x215808[_0x2ae5c5(0x21d)],'message$':_0x343888[_0x2ae5c5(0x188)](),'send':_0x58d73c=>{var _0x57a828=_0x2ae5c5;if(_0x58d73c[_0x57a828(0x2b9)]===F['INGEST']){if(_0x58d73c[_0x57a828(0x313)][_0x57a828(0x1ee)]===_0x2e4cb2['SUBMIT_CHANGESET']){this[_0x57a828(0x2a4)](_0x212fe3,_0x58d73c[_0x57a828(0x313)])[_0x57a828(0x2af)](_0x9e7057=>{var _0x3d5015=_0x57a828;this[_0x3d5015(0x123)]['error'](_0x9e7057),_0x4fda9a();});return;}if(_0x58d73c[_0x57a828(0x313)][_0x57a828(0x1ee)]===_0x2e4cb2[_0x57a828(0x246)]){const _0x290576=_0x58d73c[_0x57a828(0x313)];this[_0x57a828(0x273)](_0x290576)[_0x57a828(0x3ae)](_0xe8224d=>{var _0xf44a0a=_0x57a828;_0x343888[_0xf44a0a(0x127)]({'cmd':F[_0xf44a0a(0x1ba)],'code':ge['OK'],'routeKey':_0x290576['data'][_0xf44a0a(0x14d)],'routeType':'','data':{'eventID':_0x2e4cb2[_0xf44a0a(0x14c)],'data':{'changesets':_0xe8224d}}});})[_0x57a828(0x2af)](_0x3a57fc=>{var _0x155d49=_0x57a828;this['_logService'][_0x155d49(0x3d0)](_0x3a57fc),_0x4fda9a();});return;}}_0x215808['send'](Ln(_0x58d73c));},'close':()=>{var _0x4e2c6d=_0x2ae5c5;_0x215808[_0x4e2c6d(0x1ae)](),_0x4316ed[_0x4e2c6d(0x2b8)]();}},_0x212fe3;}async[_0x3cf6fd(0x2a4)](_0x1ee013,_0x189e7a){var _0x45706d=_0x3cf6fd,_0x5d94bd,_0x414828;const {unitType:_0x2e8438,unitID:_0x26beb6,changeset:_0x6dd40b}=_0x189e7a['data'],_0x2b15d1={'unitID':_0x26beb6,'memberID':_0x1ee013[_0x45706d(0x3a9)],'type':_0x2e8438,'changeset':_0x44ea69(_0x6dd40b)},_0x229a76=this[_0x45706d(0x323)][_0x45706d(0x3e7)](Nn),_0x5ad936=this[_0x45706d(0x323)]['getConfig'](q),_0x2b5533=$n((_0x414828=(_0x5d94bd=_0x5ad936==null?void 0x0:_0x5ad936[_0x45706d(0x2a7)])!=null?_0x5d94bd:_0x229a76)!=null?_0x414828:Dn,_0x2e8438,_0x26beb6);try{await this[_0x45706d(0x1fd)]['post'](_0x2b5533,{'body':_0x2b15d1});}catch(_0x37b9f6){throw this[_0x45706d(0x123)]['error']('[CollaborationSession]',_0x45706d(0x1e6)),_0x37b9f6;}}async[_0x3cf6fd(0x273)](_0x530dd8){var _0x203a65=_0x3cf6fd;const {unitID:_0x2c6505,from:_0x2f6014,to:_0x458ca6,unitType:_0x300eef}=_0x530dd8[_0x203a65(0x313)];return(await this['_snapshotServerService'][_0x203a65(0x221)]({'metadata':void 0x0},{'unitID':_0x2c6505,'type':_0x300eef,'from':_0x2f6014,'to':_0x458ca6}))['changesets'];}};Gt=kn([we(0x0,_0x2a1c1e(_0x40a907)),we(0x1,_0x2a1c1e(_0x4238bf)),we(0x2,_0x403a68),we(0x3,_0x5c90c9),we(0x4,_0xb06ff3)],Gt);const Hn=_0x3cf6fd(0x23f);function Bn(_0x5a7622){var _0x414b24=_0x3cf6fd;return JSON[_0x414b24(0x35c)](_0x5a7622)[_0x414b24(0x2a8)];}class Ti{constructor(){var _0x20a969=_0x3cf6fd;N(this,_0x20a969(0x376),new _0x455261()),N(this,'commentUpdate$',this['_commentUpdate$'][_0x20a969(0x188)]());}['onCommentUpdate'](_0x1dd650){var _0xd37770=_0x3cf6fd;this[_0xd37770(0x376)]['next'](_0x1dd650);}}var jn=Object[_0x3cf6fd(0x1f5)],Fn=(_0x185881,_0x597298,_0x17acc8,_0x55dcdb)=>{var _0x39a4de=_0x3cf6fd;for(var _0x52e2ce=_0x55dcdb>0x1?void 0x0:_0x55dcdb?jn(_0x597298,_0x17acc8):_0x597298,_0x41ec1d=_0x185881[_0x39a4de(0x2a8)]-0x1,_0x353ae9;_0x41ec1d>=0x0;_0x41ec1d--)(_0x353ae9=_0x185881[_0x41ec1d])&&(_0x52e2ce=_0x353ae9(_0x52e2ce)||_0x52e2ce);return _0x52e2ce;},Wt=(_0x41fa17,_0x40111d)=>(_0xe1458b,_0x4035c7)=>_0x40111d(_0xe1458b,_0x4035c7,_0x41fa17);let xe=class extends _0xdb9023{constructor(_0x2448da,_0x2e170e){var _0x13ad9=_0x3cf6fd;super(),N(this,_0x13ad9(0x19a),new Map()),N(this,_0x13ad9(0x228),new _0x455261()),(this[_0x13ad9(0x298)]=_0x2448da,this[_0x13ad9(0x278)]=_0x2e170e,this[_0x13ad9(0x240)](_0x1b74d2(this['_univerInstanceService'][_0x13ad9(0x304)](_0xc8f4f5[_0x13ad9(0x2c8)])[_0x13ad9(0x1d5)](_0x2ce134(_0x212594=>_0x212594[_0x13ad9(0x231)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xc8f4f5['UNIVER_DOC'])['pipe'](_0x2ce134(_0x2e352c=>_0x2e352c['getUnitId']())),this['_univerInstanceService'][_0x13ad9(0x304)](_0xc8f4f5[_0x13ad9(0x2b6)])['pipe'](_0x2ce134(_0x4369e7=>_0x4369e7[_0x13ad9(0x231)]())))['subscribe'](_0x18318f=>this[_0x13ad9(0x227)](_0x18318f))));}[_0x3cf6fd(0x1c2)](_0x53c4c8){var _0x1de537=_0x3cf6fd;return this['_roomMembers'][_0x1de537(0x101)](_0x53c4c8)?_0xd3dc96(this[_0x1de537(0x19a)]['get'](_0x53c4c8)):this[_0x1de537(0x228)][_0x1de537(0x1d5)](_0x2ce134(_0xc3cf=>{var _0x58918a=_0x1de537;if(_0xc3cf===_0x53c4c8)return this[_0x58918a(0x19a)][_0x58918a(0x3d2)](_0xc3cf);}));}['setCurrentUser'](_0x314484){var _0x5c611b=_0x3cf6fd;this[_0x5c611b(0x278)][_0x5c611b(0x3d6)](_0x314484);}[_0x3cf6fd(0x268)](){var _0x1955b3=_0x3cf6fd;return this[_0x1955b3(0x278)][_0x1955b3(0x268)]();}[_0x3cf6fd(0x3c7)](_0x5c3a7b,_0x34a101){var _0x11cbed=_0x3cf6fd;let _0x463da5=this[_0x11cbed(0x19a)][_0x11cbed(0x3d2)](_0x5c3a7b);_0x463da5||(_0x463da5=new Vn(),this[_0x11cbed(0x19a)]['set'](_0x5c3a7b,_0x463da5),this[_0x11cbed(0x228)]['next'](_0x5c3a7b)),_0x463da5[_0x11cbed(0x3c7)](_0x34a101);}[_0x3cf6fd(0x3f8)](_0xffd6ea,_0x51dc28){var _0x1432af=_0x3cf6fd;const _0x313b78=this['_roomMembers']['get'](_0xffd6ea);_0x313b78&&_0x313b78[_0x1432af(0x3f8)](_0x51dc28);}[_0x3cf6fd(0x149)](_0x1ad804){var _0xb55097=_0x3cf6fd;return this[_0xb55097(0x19a)][_0xb55097(0x3d2)](_0x1ad804);}['getMember'](_0x417dd5,_0x54591d){var _0x67f102=_0x3cf6fd;const _0x501d1b=this[_0x67f102(0x19a)][_0x67f102(0x3d2)](_0x417dd5);if(_0x501d1b)return _0x501d1b[_0x67f102(0x136)](_0x54591d);}['_removeRoom'](_0x2aa4eb){var _0x19cd43=_0x3cf6fd;const _0x3f9ece=this['_roomMembers'][_0x19cd43(0x3d2)](_0x2aa4eb);_0x3f9ece&&(_0x3f9ece[_0x19cd43(0x2b8)](),this['_roomMembers'][_0x19cd43(0x2ca)](_0x2aa4eb));}['dispose'](){var _0x67bc2e=_0x3cf6fd;this['_roomMembers'][_0x67bc2e(0x338)](_0x5f4eb7=>_0x5f4eb7['dispose']()),this['_roomMembers']['clear'](),this[_0x67bc2e(0x228)][_0x67bc2e(0x153)]();}};xe=Fn([Wt(0x0,_0x51776b),Wt(0x1,_0x2a1c1e(_0x39c68c))],xe);class Vn extends _0xdb9023{constructor(){var _0x340817=_0x3cf6fd;super(...arguments),N(this,_0x340817(0x344),new Map()),N(this,'_members$',new _0x3399ea(this[_0x340817(0x344)])),N(this,_0x340817(0x18f),this['_members$'][_0x340817(0x188)]());}[_0x3cf6fd(0x2b8)](){var _0xc5293b=_0x3cf6fd;this['_members'][_0xc5293b(0x244)]();}[_0x3cf6fd(0x3c7)](_0x54e3a5){var _0x32432c=_0x3cf6fd;this[_0x32432c(0x344)][_0x32432c(0x37c)](_0x54e3a5[_0x32432c(0x3a9)],_0x54e3a5),this[_0x32432c(0x3c3)]();}[_0x3cf6fd(0x3f8)](_0x33114d){var _0x4f8e0e=_0x3cf6fd;this[_0x4f8e0e(0x344)][_0x4f8e0e(0x2ca)](_0x33114d);}[_0x3cf6fd(0x136)](_0x1af4c4){var _0x2709fd=_0x3cf6fd;return this['_members'][_0x2709fd(0x3d2)](_0x1af4c4);}[_0x3cf6fd(0x13f)](){var _0x1d63e3=_0x3cf6fd;return Array[_0x1d63e3(0x11c)](this[_0x1d63e3(0x344)]['values']());}[_0x3cf6fd(0x3c3)](){var _0x5e5bf7=_0x3cf6fd;this[_0x5e5bf7(0x2ba)][_0x5e5bf7(0x127)](this[_0x5e5bf7(0x344)]);}}var Gn=Object[_0x3cf6fd(0x1f5)],Wn=(_0x5e366f,_0x5be25e,_0x55bf10,_0x2e9545)=>{for(var _0x296541=_0x2e9545>0x1?void 0x0:_0x2e9545?Gn(_0x5be25e,_0x55bf10):_0x5be25e,_0x2e652e=_0x5e366f['length']-0x1,_0x125796;_0x2e652e>=0x0;_0x2e652e--)(_0x125796=_0x5e366f[_0x2e652e])&&(_0x296541=_0x125796(_0x296541)||_0x296541);return _0x296541;},me=(_0x2bcf30,_0x51e3cf)=>(_0x181cac,_0x13671a)=>_0x51e3cf(_0x181cac,_0x13671a,_0x2bcf30),Ee=(_0x18fb59=>(_0x18fb59[_0x18fb59[_0x3cf6fd(0x213)]=0x0]=_0x3cf6fd(0x213),_0x18fb59[_0x18fb59[_0x3cf6fd(0x1c5)]=0x1]=_0x3cf6fd(0x1c5),_0x18fb59[_0x18fb59[_0x3cf6fd(0x125)]=0x2]='OFFLINE',_0x18fb59[_0x18fb59['ONLINE']=0x3]=_0x3cf6fd(0x345),_0x18fb59))(Ee||{});const Kt={[ge['FAIL']]:_0x3cf6fd(0x32f),[ge[_0x3cf6fd(0x3ba)]]:_0x3cf6fd(0x248),[ge[_0x3cf6fd(0x340)]]:_0x3cf6fd(0x202),[ge[_0x3cf6fd(0x2fb)]]:'session.room-permission-denied',[ge[_0x3cf6fd(0x2c1)]]:'session.room-cnt-exceeds'};let Et=class extends _0x14bef9{constructor(_0x3503ed,_0x344537,_0x5d1542,_0x8ac104,_0x1c15c5,_0xf2ccaf,_0x925d74,_0x3d76fc,_0xcaf56c){var _0xcebae3=_0x3cf6fd;super(),N(this,_0xcebae3(0x31b),new _0x3399ea(0x0)),N(this,_0xcebae3(0x108),this[_0xcebae3(0x31b)][_0xcebae3(0x188)]()),N(this,'_event$',new _0x455261()),N(this,_0xcebae3(0x229),this[_0xcebae3(0x23d)][_0xcebae3(0x188)]()),N(this,_0xcebae3(0x2ff)),N(this,_0xcebae3(0x24e)),N(this,_0xcebae3(0x1de)),N(this,_0xcebae3(0x310),!0x1),N(this,'_telemetryInfo',null),(this[_0xcebae3(0x143)]=_0x3503ed,this['_logService']=_0x5d1542,this[_0xcebae3(0x323)]=_0x8ac104,this['_localeService']=_0x1c15c5,this[_0xcebae3(0x1fc)]=_0xf2ccaf,this[_0xcebae3(0x13e)]=_0x925d74,this[_0xcebae3(0x2f9)]=_0x3d76fc,this['_telemetryService']=_0xcaf56c,this[_0xcebae3(0x310)]=!!this[_0xcebae3(0x270)],_0x344537[_0xcebae3(0x1d5)](_0xe2c667(this[_0xcebae3(0x117)]))['subscribe'](_0x204442=>{var _0x55d1a2=_0xcebae3,_0x3fc656;typeof _0x204442>'u'||(this['_socket']=_0x204442,_0x204442?(this[_0x55d1a2(0x1f9)](_0x204442),this[_0x55d1a2(0x24e)]=_0x204442['message$'][_0x55d1a2(0x301)](_0x12fbf7=>{var _0x22bddd=_0x55d1a2;_0x12fbf7[_0x22bddd(0x16e)]===this['_unitID']&&this['_onCombEvent'](_0x12fbf7);})):(this[_0x55d1a2(0x287)](),this[_0x55d1a2(0x31b)][_0x55d1a2(0x127)](0x2),(_0x3fc656=this['_socketMessageSubscription'])==null||_0x3fc656['unsubscribe'](),this[_0x55d1a2(0x24e)]=null));}));}get[_0x3cf6fd(0x28f)](){var _0x5d5e57=_0x3cf6fd;return this[_0x5d5e57(0x31b)][_0x5d5e57(0x3e3)]();}[_0x3cf6fd(0x3cf)](){var _0x4e1419=_0x3cf6fd,_0x4c02b2,_0x4ca193;return(_0x4ca193=(_0x4c02b2=this['_socket'])==null?void 0x0:_0x4c02b2[_0x4e1419(0x3a9)])!=null?_0x4ca193:null;}[_0x3cf6fd(0x2b8)](){var _0x5b8ac4=_0x3cf6fd;super[_0x5b8ac4(0x2b8)](),this[_0x5b8ac4(0x117)][_0x5b8ac4(0x127)](),this[_0x5b8ac4(0x117)][_0x5b8ac4(0x153)]();}[_0x3cf6fd(0x1ae)](){var _0x273cf6=_0x3cf6fd,_0x246618,_0x4722be;this['_throwTelemetryCollaborationNewChangeset'](),(_0x246618=this[_0x273cf6(0x2ff)])==null||_0x246618['send']({'cmd':F[_0x273cf6(0x2d9)],'data':{'roomID':this[_0x273cf6(0x143)]}}),(_0x4722be=this['_socket'])==null||_0x4722be['close'](),this[_0x273cf6(0x23d)][_0x273cf6(0x153)](),this[_0x273cf6(0x31b)][_0x273cf6(0x153)](),this[_0x273cf6(0x2b8)]();}['_onCombEvent'](_0x390b93){var _0x374bb3=_0x3cf6fd;_0x390b93[_0x374bb3(0x2b9)]===F[_0x374bb3(0x316)]?this[_0x374bb3(0x299)](_0x390b93):_0x390b93[_0x374bb3(0x2b9)]===F[_0x374bb3(0x1ba)]&&this[_0x374bb3(0x3f9)](_0x390b93);}[_0x3cf6fd(0x1f9)](_0x4c7120){var _0x5af532=_0x3cf6fd;this['_sessionStatus$']['next'](0x1),_0x4c7120[_0x5af532(0x3d1)]({'cmd':F[_0x5af532(0x316)],'routeKey':this[_0x5af532(0x143)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x3cf6fd(0x299)](_0x281811){var _0x16ba53=_0x3cf6fd,_0x58ecb8;if(_0x281811[_0x16ba53(0x245)]in Kt){this[_0x16ba53(0x2f9)][_0x16ba53(0x24a)]({'id':se[_0x16ba53(0x271)],'data':Kt[_0x281811[_0x16ba53(0x245)]]}),this[_0x16ba53(0x31b)][_0x16ba53(0x127)](0x2);return;}this[_0x16ba53(0x31b)]['next'](0x3);const _0x31ae24=(_0x58ecb8=_0x281811[_0x16ba53(0x313)][_0x16ba53(0x2d3)][this[_0x16ba53(0x143)]])==null?void 0x0:_0x58ecb8[_0x16ba53(0x406)];_0x31ae24&&_0x31ae24[_0x16ba53(0x338)](_0x59a5be=>this[_0x16ba53(0x1fc)]['updateMember'](this['_unitID'],_0x59a5be));}[_0x3cf6fd(0x3f9)](_0x56994b){var _0x2adf33=_0x3cf6fd;try{const _0xcf8ea=_0x56994b[_0x2adf33(0x313)];switch(_0xcf8ea[_0x2adf33(0x1ee)]){case _0x2e4cb2[_0x2adf33(0x114)]:this[_0x2adf33(0x40a)](_0xcf8ea),this[_0x2adf33(0x23d)]['next'](_0xcf8ea);break;case _0x2e4cb2['USERS_LEAVE']:this[_0x2adf33(0x339)](_0xcf8ea),this[_0x2adf33(0x23d)][_0x2adf33(0x127)](_0xcf8ea);break;case _0x2e4cb2[_0x2adf33(0x1d1)]:case _0x2e4cb2['CHANGESET_SHOULD_RETRY']:this[_0x2adf33(0x2de)](),this['_clearCollaborationTimeoutTimer'](),this[_0x2adf33(0x23d)][_0x2adf33(0x127)](_0xcf8ea);break;case _0x2e4cb2['MSG_FOR_ERROR']:this[_0x2adf33(0x123)]['error'](_0x2adf33(0x203)+JSON['stringify'](_0xcf8ea)),this[_0x2adf33(0x23d)][_0x2adf33(0x127)](_0xcf8ea);break;case _0x2e4cb2[_0x2adf33(0x1e5)]:this[_0x2adf33(0x13e)][_0x2adf33(0x392)](_0xcf8ea[_0x2adf33(0x313)]),this[_0x2adf33(0x23d)][_0x2adf33(0x127)](_0xcf8ea);break;default:this[_0x2adf33(0x23d)][_0x2adf33(0x127)](_0xcf8ea);}}catch(_0x3a6621){this[_0x2adf33(0x123)][_0x2adf33(0x3d0)](_0x3a6621,_0x56994b);}}[_0x3cf6fd(0x40a)](_0xf8b6ac){var _0x5429ef=_0x3cf6fd;this[_0x5429ef(0x1fc)][_0x5429ef(0x3c7)](this[_0x5429ef(0x143)],_0xf8b6ac[_0x5429ef(0x313)]);}[_0x3cf6fd(0x339)](_0x33cc4c){var _0x1145f1=_0x3cf6fd;this['_memberService'][_0x1145f1(0x3f8)](this[_0x1145f1(0x143)],_0x33cc4c[_0x1145f1(0x313)]['memberID']);}async[_0x3cf6fd(0x3d1)](_0x1115af,_0x161183){var _0x5766c8=_0x3cf6fd;if(this[_0x5766c8(0x28f)]!==0x3||!this[_0x5766c8(0x2ff)])throw new Error(_0x5766c8(0x32a));try{_0x1115af[_0x5766c8(0x1ee)]===_0x2e4cb2[_0x5766c8(0x31c)]&&(this[_0x5766c8(0x12e)](),this[_0x5766c8(0x10c)](_0x1115af)),this[_0x5766c8(0x2ff)][_0x5766c8(0x3d1)]({'cmd':F[_0x5766c8(0x359)],'routeKey':_0x161183,'routeType':'','data':_0x1115af});}catch(_0x358287){this['_logService'][_0x5766c8(0x3d0)](_0x358287);}}[_0x3cf6fd(0x12e)](){var _0xfd4236=_0x3cf6fd,_0x27f937;this[_0xfd4236(0x1de)]=setTimeout(()=>{var _0x7f105f=_0xfd4236;this[_0x7f105f(0x1de)]=null,this[_0x7f105f(0x2f9)]['emitEvent']({'id':se[_0x7f105f(0x3c4)]});},(_0x27f937=this[_0xfd4236(0x323)]['getConfig'](mi))!=null?_0x27f937:gi);}[_0x3cf6fd(0x295)](){var _0x386571=_0x3cf6fd;this[_0x386571(0x1de)]&&(clearTimeout(this[_0x386571(0x1de)]),this['_collaborationTimeoutTimer']=null);}[_0x3cf6fd(0x10c)](_0x1552e0){var _0x539efa=_0x3cf6fd;if(!this[_0x539efa(0x310)])return;const {data:_0x5da3b3}=_0x1552e0,{unitID:_0x7b07d6,changeset:_0x3f9791}=_0x5da3b3,{mutations:_0x5bd3b0,type:_0x331210}=_0x3f9791;this['_telemetryInfo']={'unitId':_0x7b07d6,'type':_0x331210,'startTime':performance[_0x539efa(0x259)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x5bd3b0)};}[_0x3cf6fd(0x2de)](){var _0x4bf10a=_0x3cf6fd;if(this[_0x4bf10a(0x310)]){if(!this[_0x4bf10a(0x28c)]){this['_logService'][_0x4bf10a(0x3d0)](_0x4bf10a(0x2ce),_0x4bf10a(0x1ac));return;}this[_0x4bf10a(0x28c)][_0x4bf10a(0x3da)]=performance[_0x4bf10a(0x259)](),this['_telemetryInfo'][_0x4bf10a(0x160)]=this['_telemetryInfo'][_0x4bf10a(0x3da)]-this[_0x4bf10a(0x28c)][_0x4bf10a(0x20c)],this['_telemetryService'][_0x4bf10a(0x2d8)](Hn,this[_0x4bf10a(0x28c)]),this[_0x4bf10a(0x28c)]=null;}}[_0x3cf6fd(0x287)](){var _0x1cc141=_0x3cf6fd;this[_0x1cc141(0x28c)]=null;}};Et=Wn([me(0x2,_0x5c90c9),me(0x3,_0x403a68),me(0x4,_0x2a1c1e(_0x35fe7c)),me(0x5,_0x2a1c1e(xe)),me(0x6,_0x2a1c1e(Ti)),me(0x7,_0x2a1c1e(pe)),me(0x8,_0x22e998(_0x1089fe))],Et);var Kn=Object['getOwnPropertyDescriptor'],Yn=(_0xa5bbf,_0x497482,_0x368636,_0x341b90)=>{for(var _0xaa5d10=_0x341b90>0x1?void 0x0:_0x341b90?Kn(_0x497482,_0x368636):_0x497482,_0x3efb2a=_0xa5bbf['length']-0x1,_0x4d7f38;_0x3efb2a>=0x0;_0x3efb2a--)(_0x4d7f38=_0xa5bbf[_0x3efb2a])&&(_0xaa5d10=_0x4d7f38(_0xaa5d10)||_0xaa5d10);return _0xaa5d10;},be=(_0x544723,_0x1a74bf)=>(_0x274270,_0x37191d)=>_0x1a74bf(_0x274270,_0x37191d,_0x544723);let Le=class extends _0xdb9023{constructor(_0xe4da4b,_0x583cda,_0x131f7b,_0x557d9e,_0x4739d3,_0x49bdf9){var _0x30cddb=_0x3cf6fd;super(),N(this,_0x30cddb(0x3f3),new _0x3399ea(void 0x0)),N(this,_0x30cddb(0x355),this[_0x30cddb(0x3f3)]['asObservable']()),N(this,_0x30cddb(0x216),null),N(this,_0x30cddb(0x1d3),new Map()),N(this,_0x30cddb(0x2e2),new _0x3399ea(Ee[_0x30cddb(0x213)])),N(this,_0x30cddb(0x1cf),this['_status$'][_0x30cddb(0x188)]()),N(this,_0x30cddb(0x23c),!0x1),N(this,_0x30cddb(0x187)),N(this,'_retryCount',0x0),N(this,_0x30cddb(0x2e9)),N(this,_0x30cddb(0x112)),(this[_0x30cddb(0x1d4)]=_0xe4da4b,this[_0x30cddb(0x123)]=_0x583cda,this['_configService']=_0x131f7b,this[_0x30cddb(0x172)]=_0x557d9e,this[_0x30cddb(0x2f9)]=_0x4739d3,this[_0x30cddb(0x1e0)]=_0x49bdf9,this[_0x30cddb(0x164)]());}get[_0x3cf6fd(0x2ff)](){var _0x38545a=_0x3cf6fd;return this[_0x38545a(0x3f3)][_0x38545a(0x3e3)]();}['_listenToNetworkCondition'](){var _0x1f9b26=_0x3cf6fd;this[_0x1f9b26(0x1e0)]&&this[_0x1f9b26(0x240)](this[_0x1f9b26(0x1e0)][_0x1f9b26(0x393)][_0x1f9b26(0x301)](_0x5caa08=>{_0x5caa08&&!this['_socket']&&this['reconnect'](),_0x5caa08||this['_onOffline']();}));}[_0x3cf6fd(0x2b8)](){var _0xee2f43=_0x3cf6fd;super['dispose'](),this[_0xee2f43(0x3f6)](),this[_0xee2f43(0x1d0)](),this[_0xee2f43(0x296)](),this['_sessions'][_0xee2f43(0x338)](_0x1833d5=>_0x1833d5[_0xee2f43(0x2b8)]()),this[_0xee2f43(0x1d3)][_0xee2f43(0x244)](),this['_status$'][_0xee2f43(0x153)]();}async[_0x3cf6fd(0x1ce)](_0xffde02){var _0x4bf91e=_0x3cf6fd;if(this[_0x4bf91e(0x1d3)][_0x4bf91e(0x101)](_0xffde02))return this[_0x4bf91e(0x1d3)][_0x4bf91e(0x3d2)](_0xffde02);this[_0x4bf91e(0x10a)]();const _0x582cb0=this['_injector'][_0x4bf91e(0x38b)](Et,_0xffde02,this[_0x4bf91e(0x3f3)][_0x4bf91e(0x188)]());return this['_sessions'][_0x4bf91e(0x37c)](_0xffde02,_0x582cb0),_0x582cb0;}['closeSession'](_0x27af87){var _0x1c5b6e=_0x3cf6fd,_0x4b92e2;const _0x403ae2=this[_0x1c5b6e(0x1d3)][_0x1c5b6e(0x3d2)](_0x27af87);_0x403ae2&&(this['_sessions'][_0x1c5b6e(0x2ca)](_0x27af87),_0x403ae2[_0x1c5b6e(0x1ae)]()),this[_0x1c5b6e(0x1d3)]['size']||(_0x4b92e2=this['_socket'])==null||_0x4b92e2[_0x1c5b6e(0x1ae)]();}['reconnect'](){var _0xca338a=_0x3cf6fd;this[_0xca338a(0x317)]=0x0,this[_0xca338a(0x3f6)](),this[_0xca338a(0x186)]();}[_0x3cf6fd(0x3f6)](){var _0x3b30ca=_0x3cf6fd;this[_0x3b30ca(0x187)]!=null&&(clearTimeout(this[_0x3b30ca(0x187)]),this[_0x3b30ca(0x187)]=null);}async[_0x3cf6fd(0x34d)](){var _0x67969f=_0x3cf6fd,_0x16cdca,_0x2ece5c;const _0x35e2ac=this['_configService'][_0x67969f(0x3e7)](In),_0x3d9b88=this[_0x67969f(0x323)][_0x67969f(0x3e7)](q),_0x2a04ef=(_0x2ece5c=(_0x16cdca=_0x3d9b88==null?void 0x0:_0x3d9b88[_0x67969f(0x1ca)])!=null?_0x16cdca:_0x35e2ac)!=null?_0x2ece5c:Tn,_0x1203f0=await this[_0x67969f(0x172)]['createSocket'](_0x2a04ef);return this[_0x67969f(0x216)]=_0x1203f0,_0x1203f0;}async[_0x3cf6fd(0x10a)](){var _0x193344=_0x3cf6fd,_0x318131,_0x5165bb;try{const _0x16d73c=(_0x5165bb=(_0x318131=this[_0x193344(0x2ff)])!=null?_0x318131:this[_0x193344(0x216)])!=null?_0x5165bb:await this[_0x193344(0x34d)]();if(_0x16d73c){const _0x1a9595=_0x16d73c[_0x193344(0x3d1)];_0x16d73c[_0x193344(0x3d1)]=_0x1880a1=>(this['_rescheduleHeartbeat'](),_0x1a9595['apply'](_0x16d73c,[_0x1880a1])),_0x16d73c[_0x193344(0x266)][_0x193344(0x301)](_0x297745=>this[_0x193344(0x194)](_0x16d73c,_0x297745)),_0x16d73c[_0x193344(0x2bf)][_0x193344(0x1d5)](_0x17e3e9(0x1))[_0x193344(0x301)](_0x45dd99=>this['_logService'][_0x193344(0x3d0)](_0x193344(0x121),_0x45dd99)),_0x16d73c[_0x193344(0x21d)]['pipe'](_0x17e3e9(0x1))['subscribe'](()=>{var _0x363c2b=_0x193344;this[_0x363c2b(0x352)](_0x16d73c);}),_0x16d73c[_0x193344(0x113)]['pipe'](_0x17e3e9(0x1))[_0x193344(0x301)](_0x305ca8=>{var _0x342c7c=_0x193344;this[_0x342c7c(0x123)]['debug'](_0x342c7c(0x205),_0x342c7c(0x3d3),_0x305ca8),this['_onConnectionFailed']();});}}catch(_0x586bdf){this[_0x193344(0x123)][_0x193344(0x3d0)](_0x586bdf),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x4f4bea){var _0x55fb35=_0x3cf6fd;this[_0x55fb35(0x123)]['debug'](_0x55fb35(0x205),_0x55fb35(0x2b4)),_0x4f4bea[_0x55fb35(0x3d1)]({'cmd':F[_0x55fb35(0x2e4)]}),this[_0x55fb35(0x12a)]();}['_onOffline'](){var _0x4fb43c=_0x3cf6fd;this[_0x4fb43c(0x23c)]=!0x1,this[_0x4fb43c(0x216)]=null,this[_0x4fb43c(0x2e2)][_0x4fb43c(0x127)](Ee['OFFLINE']),this[_0x4fb43c(0x3f3)]['next'](null),this[_0x4fb43c(0x1d0)](),this[_0x4fb43c(0x296)]();}['_onConnectionFailed'](){var _0x5a0c10=_0x3cf6fd,_0x409fff;this[_0x5a0c10(0x32c)](),this[_0x5a0c10(0x317)]<((_0x409fff=this[_0x5a0c10(0x323)]['getConfig'](yn))!=null?_0x409fff:On)?(this[_0x5a0c10(0x2f9)]['emitEvent']({'id':se[_0x5a0c10(0x22e)]}),this[_0x5a0c10(0x186)]()):this[_0x5a0c10(0x2f9)]['emitEvent']({'id':se['SOCKET_FAILED']});}['_tryReconnect'](){var _0x12364c=_0x3cf6fd,_0xc08fd;const _0x2cd1d3=this[_0x12364c(0x317)],_0x423169=this[_0x12364c(0x323)][_0x12364c(0x3e7)](q),_0x44880b=_0x2cd1d3===0x0?0x0:((_0xc08fd=_0x423169==null?void 0x0:_0x423169[_0x12364c(0x3c6)])!=null?_0xc08fd:bn)*0x2**_0x2cd1d3;this[_0x12364c(0x187)]=setTimeout(()=>{var _0x217089=_0x12364c;clearTimeout(this[_0x217089(0x187)]),this[_0x217089(0x187)]=null,this[_0x217089(0x10a)]();},_0x44880b),this['_retryCount']+=0x1;}[_0x3cf6fd(0x194)](_0xbff9f2,_0x2efc6c){var _0x1168ef=_0x3cf6fd;const {cmd:_0x10a82c}=_0x2efc6c;_0x10a82c===F['HELLO']&&!this[_0x1168ef(0x23c)]&&(_0xbff9f2[_0x1168ef(0x3a9)]=_0x2efc6c[_0x1168ef(0x313)][_0x1168ef(0x3a9)],this[_0x1168ef(0x3f3)][_0x1168ef(0x127)](_0xbff9f2),this[_0x1168ef(0x2e2)][_0x1168ef(0x127)](Ee['ONLINE']),this[_0x1168ef(0x23c)]=!0x0,this[_0x1168ef(0x216)]=null),_0x10a82c===F[_0x1168ef(0x1bb)]&&this[_0x1168ef(0x1d0)](),this[_0x1168ef(0x12a)]();}[_0x3cf6fd(0x12a)](){var _0x5292f5=_0x3cf6fd,_0x355745;this[_0x5292f5(0x296)](),this[_0x5292f5(0x2e9)]=setTimeout(()=>this[_0x5292f5(0x364)](),(_0x355745=this[_0x5292f5(0x323)][_0x5292f5(0x3e7)](Cn))!=null?_0x355745:Rn);}[_0x3cf6fd(0x364)](){var _0x5e4f14=_0x3cf6fd;this[_0x5e4f14(0x2ff)][_0x5e4f14(0x3d1)]({'cmd':F['HEARTBEAT']}),this[_0x5e4f14(0x16f)]();}[_0x3cf6fd(0x16f)](){var _0x43dbb5=_0x3cf6fd,_0x2fbb2d;this[_0x43dbb5(0x112)]=setTimeout(()=>this[_0x43dbb5(0x3d8)](),(_0x2fbb2d=this[_0x43dbb5(0x323)][_0x43dbb5(0x3e7)](mi))!=null?_0x2fbb2d:gi);}['_clearHeartbeatTimer'](){var _0x35cfc7=_0x3cf6fd;this[_0x35cfc7(0x2e9)]!=null&&(clearTimeout(this[_0x35cfc7(0x2e9)]),this[_0x35cfc7(0x2e9)]=null);}[_0x3cf6fd(0x1d0)](){var _0x10d478=_0x3cf6fd;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x10d478(0x112)]),this[_0x10d478(0x112)]=null);}};Le=Yn([be(0x0,_0x2a1c1e(_0x40a907)),be(0x1,_0x5c90c9),be(0x2,_0x403a68),be(0x3,Ii),be(0x4,_0x2a1c1e(pe)),be(0x5,_0x22e998(Pn))],Le);const V=[];for(let t=0x0;t<0x100;++t)V[_0x3cf6fd(0x170)]((t+0x100)[_0x3cf6fd(0x3c0)](0x10)[_0x3cf6fd(0x33c)](0x1));function qn(_0x359318,_0x1be5e8=0x0){return(V[_0x359318[_0x1be5e8+0x0]]+V[_0x359318[_0x1be5e8+0x1]]+V[_0x359318[_0x1be5e8+0x2]]+V[_0x359318[_0x1be5e8+0x3]]+'-'+V[_0x359318[_0x1be5e8+0x4]]+V[_0x359318[_0x1be5e8+0x5]]+'-'+V[_0x359318[_0x1be5e8+0x6]]+V[_0x359318[_0x1be5e8+0x7]]+'-'+V[_0x359318[_0x1be5e8+0x8]]+V[_0x359318[_0x1be5e8+0x9]]+'-'+V[_0x359318[_0x1be5e8+0xa]]+V[_0x359318[_0x1be5e8+0xb]]+V[_0x359318[_0x1be5e8+0xc]]+V[_0x359318[_0x1be5e8+0xd]]+V[_0x359318[_0x1be5e8+0xe]]+V[_0x359318[_0x1be5e8+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x5c2906=_0x3cf6fd;if(!ut){if(typeof crypto>'u'||!crypto[_0x5c2906(0x2a9)])throw new Error(_0x5c2906(0x1e4));ut=crypto[_0x5c2906(0x2a9)][_0x5c2906(0x1ab)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x3cf6fd(0x3a4)]&&crypto[_0x3cf6fd(0x3a4)]['bind'](crypto),Yt={'randomUUID':Xn};function Zn(_0x5438b7,_0x422150,_0x25f168){var _0x4dcec2=_0x3cf6fd,_0x308827,_0x3dc05c,_0x400ae6;if(Yt[_0x4dcec2(0x3a4)]&&!_0x5438b7)return Yt[_0x4dcec2(0x3a4)]();_0x5438b7=_0x5438b7||{};const _0x923fe1=(_0x400ae6=(_0x3dc05c=_0x5438b7[_0x4dcec2(0x318)])!=null?_0x3dc05c:(_0x308827=_0x5438b7['rng'])==null?void 0x0:_0x308827[_0x4dcec2(0x269)](_0x5438b7))!=null?_0x400ae6:Jn();if(_0x923fe1[_0x4dcec2(0x2a8)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x923fe1[0x6]=_0x923fe1[0x6]&0xf|0x40,_0x923fe1[0x8]=_0x923fe1[0x8]&0x3f|0x80,qn(_0x923fe1);}const J=_0x321b1d(_0x3cf6fd(0x218));function Bs(_0x3bff54){return'unit-cache-'+_0x3bff54;}var Qn=Object[_0x3cf6fd(0x1f5)],er=(_0x58c10b,_0x58fe07,_0xd042ed,_0x2d6ae2)=>{var _0x5ad611=_0x3cf6fd;for(var _0x2ad86a=_0x2d6ae2>0x1?void 0x0:_0x2d6ae2?Qn(_0x58fe07,_0xd042ed):_0x58fe07,_0x39cc54=_0x58c10b[_0x5ad611(0x2a8)]-0x1,_0x413c47;_0x39cc54>=0x0;_0x39cc54--)(_0x413c47=_0x58c10b[_0x39cc54])&&(_0x2ad86a=_0x413c47(_0x2ad86a)||_0x2ad86a);return _0x2ad86a;},dt=(_0x3975b6,_0x142e3f)=>(_0x4fa7f4,_0x39c583)=>_0x142e3f(_0x4fa7f4,_0x39c583,_0x3975b6);function tr(_0x4d43e7){var _0x377157=_0x3cf6fd;const {unitID:_0x358d25,mutations:_0x353aa8}=_0x4d43e7;return{'unitId':_0x358d25,'subUnitId':_0x353aa8[0x0][_0x377157(0x177)][_0x377157(0x161)]};}let it=class{constructor(_0x2bac78,_0x1d80a4,_0x290dc2){var _0x40c325=_0x3cf6fd;this[_0x40c325(0x1d4)]=_0x2bac78,this[_0x40c325(0x199)]=_0x1d80a4,this[_0x40c325(0x3e8)]=_0x290dc2;}[_0x3cf6fd(0x211)](_0xed00f2){var _0x45a26f=_0x3cf6fd,_0xba60b7,_0x47c485,_0x6a50bc,_0x28826b;const _0x45c3d5=this[_0x45a26f(0x1d4)][_0x45a26f(0x3d2)](_0x4f0efa),{unitId:_0x25c0dd,subUnitId:_0x4ef26a}=tr(_0xed00f2),_0x564df0=_0x45c3d5==null?void 0x0:_0x45c3d5[_0x45a26f(0x3cc)](_0x25c0dd)[_0x45a26f(0x201)](),_0x213f93=(_0x47c485=(_0xba60b7=this['_instanceService']['getUnit'](_0x25c0dd))==null?void 0x0:_0xba60b7[_0x45a26f(0x147)]())==null?void 0x0:_0x47c485['getSheetId']();if(_0x564df0[_0x45a26f(0x2a8)]===0x0||!_0x25c0dd||!_0x4ef26a)return;const _0xe67c1c=[{'id':_0x2013dc['id'],'params':{'unitId':_0x25c0dd,'subUnitId':_0x213f93,'selections':_0x5f17d1[_0x45a26f(0x408)](_0x564df0)}}],_0x1b3e93=this[_0x45a26f(0x199)][_0x45a26f(0x25b)](_0xed00f2,_0xe67c1c);if(!_0x48447e(_0x1b3e93))throw _0x1b3e93[_0x45a26f(0x3d0)];const _0x5ad65d=(_0x28826b=(_0x6a50bc=_0x1b3e93[_0x45a26f(0x247)][0x0])==null?void 0x0:_0x6a50bc[_0x45a26f(0x177)])==null?void 0x0:_0x28826b[_0x45a26f(0x16d)];if(Array[_0x45a26f(0x132)](_0x5ad65d)&&_0x5ad65d[_0x45a26f(0x2a8)]){if(_0x5ad65d[_0x45a26f(0x2a8)]===_0xe67c1c[0x0][_0x45a26f(0x177)]['selections'][_0x45a26f(0x2a8)]&&_0x5ad65d[_0x45a26f(0x375)]((_0x4b838c,_0x475a18)=>_0x1416b1[_0x45a26f(0x353)](_0x4b838c[_0x45a26f(0x3fe)],_0xe67c1c[0x0]['params'][_0x45a26f(0x16d)][_0x475a18]['range'])))return;this[_0x45a26f(0x1d4)][_0x45a26f(0x3d2)](_0x2fdf51)[_0x45a26f(0x2a3)](_0x2013dc['id'],{'unitId':_0x25c0dd,'subUnitId':_0x213f93,'selections':_0x5ad65d});}}};it=er([dt(0x0,_0x2a1c1e(_0x40a907)),dt(0x1,_0x4f3b0f),dt(0x2,_0x51776b)],it);const ht=_0x321b1d(_0x3cf6fd(0x324));var Ci=(_0x418c7c=>(_0x418c7c[_0x418c7c[_0x3cf6fd(0x2b1)]=0x0]=_0x3cf6fd(0x2b1),_0x418c7c[_0x418c7c[_0x3cf6fd(0x3a3)]=0x1]='OTHER_CLIENTS_EDITING',_0x418c7c))(Ci||{});const ir=new Set([_0x426136['id']]);function qt(_0x25b948,_0x517be5,_0x5b5393,_0x37174f,_0x5ed303){var _0x33185c=_0x3cf6fd,_0x28b3ad,_0x46b64e,_0x39300d,_0x32d383;const _0x5f09d1=[];for(const _0x388aae of _0x25b948)if(ir['has'](_0x388aae['id'])){if(_0x5f09d1[_0x33185c(0x2a8)]>0x0)break;_0x5f09d1[_0x33185c(0x170)](_0x388aae);break;}else _0x5f09d1[_0x33185c(0x170)](_0x388aae);const _0x1a22a6=(_0x46b64e=(_0x28b3ad=_0x5ed303[_0x33185c(0x268)]())==null?void 0x0:_0x28b3ad[_0x33185c(0x3b6)])!=null?_0x46b64e:_0x33185c(0x22f),_0x26d96d=(_0x32d383=(_0x39300d=_0x5ed303[_0x33185c(0x268)]())==null?void 0x0:_0x39300d['memberID'])!=null?_0x32d383:'unknown';return{'changeset':{'unitID':_0x517be5,'type':_0x38bc71(_0x5b5393[_0x33185c(0x1b2)](_0x517be5)),'baseRev':_0x37174f[_0x33185c(0x348)](_0x517be5),'revision':0x0,'userID':_0x1a22a6,'memberID':_0x26d96d,'mutations':_0x5f09d1},'pendingMutations':_0x25b948[_0x33185c(0x33c)](_0x5f09d1['length'])};}function nr(_0x4215f5,_0x907cf4,_0x152569,_0x369803,_0x55ab0c){var _0x1cd9ef=_0x3cf6fd,_0x1b3252,_0x1c363a,_0x252ca8,_0x409c06;const _0x47a804=[_0x4215f5[_0x1cd9ef(0x12b)]((_0xb8230b,_0x20ea42)=>{var _0x4f1ae7=_0x1cd9ef,_0x3228c1;const {id:_0x5679fb}=_0xb8230b,{id:_0x4cf4fe,type:_0x5b0d91}=_0x20ea42,_0x13586a=(_0x3228c1=_0xb8230b['params'])!=null?_0x3228c1:{'actions':null},_0x4b1963=_0x20ea42[_0x4f1ae7(0x177)];if(_0x5679fb&&_0x5679fb!==_0x4cf4fe)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x5679fb+_0x4f1ae7(0x144)+_0x4cf4fe+'.');return{..._0xb8230b,'id':_0x4cf4fe,'type':_0x5b0d91,'params':{'unitId':_0x4b1963['unitId'],'textRanges':_0x4b1963[_0x4f1ae7(0x1fb)],'actions':_0x42ec8c[_0x4f1ae7(0x14e)](_0x13586a[_0x4f1ae7(0x3ff)],_0x4b1963[_0x4f1ae7(0x3ff)])}};},{})],_0x4cc932=(_0x1c363a=(_0x1b3252=_0x55ab0c[_0x1cd9ef(0x268)]())==null?void 0x0:_0x1b3252['userID'])!=null?_0x1c363a:_0x1cd9ef(0x22f),_0x152412=(_0x409c06=(_0x252ca8=_0x55ab0c[_0x1cd9ef(0x268)]())==null?void 0x0:_0x252ca8[_0x1cd9ef(0x3a9)])!=null?_0x409c06:_0x1cd9ef(0x22f);return{'changeset':{'unitID':_0x907cf4,'type':_0x38bc71(_0x152569[_0x1cd9ef(0x1b2)](_0x907cf4)),'baseRev':_0x369803[_0x1cd9ef(0x348)](_0x907cf4),'revision':0x0,'userID':_0x4cc932,'memberID':_0x152412,'mutations':_0x47a804},'pendingMutations':[]};}function Ri(_0x526608,_0x11d641){var _0x59f5e2=_0x3cf6fd;const _0x53d637=new _0x540ccd(0x1);return setTimeout(()=>_0x53d637[_0x59f5e2(0x127)](_0x11d641),_0x526608),_0x53d637['asObservable']()[_0x59f5e2(0x1d5)](_0x475621(0x1));}const rr={'id':_0x363233['id'],'type':_0x16db83[_0x3cf6fd(0x2f7)],'params':{}};var sr=Object['getOwnPropertyDescriptor'],Te=(_0x3c01d8,_0x2f0e11,_0x4cd223,_0x2d4ec0)=>{var _0x733539=_0x3cf6fd;for(var _0x305633=_0x2d4ec0>0x1?void 0x0:_0x2d4ec0?sr(_0x2f0e11,_0x4cd223):_0x2f0e11,_0x124603=_0x3c01d8[_0x733539(0x2a8)]-0x1,_0x20f45b;_0x124603>=0x0;_0x124603--)(_0x20f45b=_0x3c01d8[_0x124603])&&(_0x305633=_0x20f45b(_0x305633)||_0x305633);return _0x305633;},P=(_0x3486fb,_0x3bdd71)=>(_0x2a5aa6,_0x59f03d)=>_0x3bdd71(_0x2a5aa6,_0x59f03d,_0x3486fb),bi=(_0x267a0e=>(_0x267a0e[_0x3cf6fd(0x290)]=_0x3cf6fd(0x11f),_0x267a0e[_0x3cf6fd(0x15f)]=_0x3cf6fd(0x1b0),_0x267a0e['PENDING']='pending',_0x267a0e[_0x3cf6fd(0x399)]=_0x3cf6fd(0x10b),_0x267a0e[_0x3cf6fd(0x377)]='awaiting_with_pending',_0x267a0e[_0x3cf6fd(0x10d)]='fetch_missing',_0x267a0e[_0x3cf6fd(0x2e7)]='conflict',_0x267a0e['OFFLINE']=_0x3cf6fd(0x361),_0x267a0e))(bi||{});const yi=0xea60;class Ce{constructor(_0x2101ac,_0x9b9850,_0x2b0783,_0x5e2faf,_0x710be8,_0x4e1ce3,_0xbe647e,_0x200422,_0x56a4aa){var _0x88f9c8=_0x3cf6fd;N(this,_0x88f9c8(0x1a9),null),N(this,_0x88f9c8(0x386),[]),(this[_0x88f9c8(0x14d)]=_0x2101ac,this['type']=_0x9b9850,this[_0x88f9c8(0x238)]=_0x710be8,this[_0x88f9c8(0x3f0)]=_0x4e1ce3,this[_0x88f9c8(0x327)]=_0xbe647e,this[_0x88f9c8(0x3ca)]=_0x200422,this[_0x88f9c8(0x286)]=_0x56a4aa,this[_0x88f9c8(0x1a9)]=_0x2b0783,this['_pendingMutations']=_0x5e2faf);}[_0x3cf6fd(0x30f)](_0x23cd3e){var _0x5874d1=_0x3cf6fd;const _0x272b43=this[_0x5874d1(0x3ca)]['getCurrentRevOfUnit'](this[_0x5874d1(0x14d)]);return _0x23cd3e[_0x5874d1(0x3be)]>_0x272b43+0x1?(this['_handler'][_0x5874d1(0x24c)]({'from':_0x272b43,'to':_0x23cd3e['revision']-0x1}),!0x0):!0x1;}[_0x3cf6fd(0x35d)](_0x19b08c){var _0x9664db=_0x3cf6fd;this[_0x9664db(0x327)][_0x9664db(0x3e6)](this[_0x9664db(0x14d)],_0x19b08c);}[_0x3cf6fd(0x130)](_0xfe15d6){var _0x5805c7=_0x3cf6fd,_0x379a80,_0x2a528b;(_0x2a528b=(_0x379a80=this['_handler'])[_0x5805c7(0x1dc)])==null||_0x2a528b['call'](_0x379a80,_0xfe15d6);}[_0x3cf6fd(0x2bc)](_0x49b557){var _0x334657=_0x3cf6fd,_0x591713,_0x56f466;return(_0x56f466=(_0x591713=this[_0x334657(0x238)])[_0x334657(0x1e8)])==null?void 0x0:_0x56f466['call'](_0x591713,_0x49b557);}['_transformStateCache'](_0x162a99){var _0x3f3504=_0x3cf6fd,_0x91d2fd,_0x26bc64;return(_0x26bc64=(_0x91d2fd=this[_0x3f3504(0x238)])['onTransformState'])==null?void 0x0:_0x26bc64[_0x3f3504(0x269)](_0x91d2fd,_0x162a99);}[_0x3cf6fd(0x32e)](_0x470a51){var _0x4e37ae=_0x3cf6fd,_0x56d7dc,_0x3b4244,_0x53b8e1;return(_0x53b8e1=(_0x3b4244=(_0x56d7dc=this[_0x4e37ae(0x238)])[_0x4e37ae(0x29f)])==null?void 0x0:_0x3b4244['call'](_0x56d7dc,_0x470a51))!=null?_0x53b8e1:_0x470a51;}[_0x3cf6fd(0x395)](_0x278165){var _0x55bec1=_0x3cf6fd,_0x3dabdd,_0xa9004c,_0x2935b0;return(_0x2935b0=(_0xa9004c=(_0x3dabdd=this[_0x55bec1(0x238)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0xa9004c['call'](_0x3dabdd,_0x278165))!=null?_0x2935b0:_0x278165;}[_0x3cf6fd(0x2bd)](_0x6426a3){var _0x4df67b=_0x3cf6fd,_0x421d26,_0x4ad8e0;if(this[_0x4df67b(0x1b8)]===Q[_0x4df67b(0x3bb)]){const {unitID:_0x5e5491,mutations:_0x1eb7c9,memberID:_0x1dc6c7}=_0x6426a3,_0x212f9e=_0x1eb7c9[0x0]['params']['textRanges'];Array[_0x4df67b(0x132)](_0x212f9e)&&_0x212f9e['length']>0x0&&((_0x4ad8e0=(_0x421d26=this[_0x4df67b(0x238)])['onSyncEditingCollabCursor'])==null||_0x4ad8e0[_0x4df67b(0x269)](_0x421d26,{'unitID':_0x5e5491,'memberID':_0x1dc6c7,'textRanges':_0x212f9e}));}}[_0x3cf6fd(0x31d)](){var _0xb15097=_0x3cf6fd,_0x235071;(_0x235071=this[_0xb15097(0x286)])==null||_0x235071['updateOfflineData'](this['unitID'],this[_0xb15097(0x1b8)],this[_0xb15097(0x1a9)],this['_pendingMutations']);}[_0x3cf6fd(0x243)](){var _0x1968a3=_0x3cf6fd;return this[_0x1968a3(0x3ca)][_0x1968a3(0x348)](this['unitID']);}['_incrementRevisionNumber'](){var _0x181828=_0x3cf6fd;this[_0x181828(0x3ca)][_0x181828(0x27a)](this[_0x181828(0x14d)]);}[_0x3cf6fd(0x30e)](_0x3123c4){var _0x1cab88=_0x3cf6fd,_0x4a5a2e;let _0x4d5f45=this[_0x1cab88(0x32e)](_0x3123c4);_0x4d5f45=this[_0x1cab88(0x395)](_0x4d5f45);const _0x433951=_0x541918(_0x4d5f45[_0x1cab88(0x373)],this[_0x1cab88(0x3f0)],{'fromCollab':!0x0});if(!_0x433951[_0x1cab88(0x20d)])throw _0x433951['error']instanceof Error?_0x433951[_0x1cab88(0x3d0)]:new Error((_0x4a5a2e=_0x433951[_0x1cab88(0x3d0)])!=null?_0x4a5a2e:_0x1cab88(0x274));this[_0x1cab88(0x2bc)](_0x4d5f45),this[_0x1cab88(0x171)](_0x4d5f45),this[_0x1cab88(0x35d)](_0x3123c4),this[_0x1cab88(0x130)](_0x4d5f45),this[_0x1cab88(0x2bd)](_0x4d5f45),this[_0x1cab88(0x28a)]();}}let Ne=class extends Ce{constructor(_0xe04a17,_0x24fd81,_0x23164f,_0x323c3c,_0x481433,_0x44840a,_0x2ff83b,_0x29425f,_0x4d11db,_0x289b87){var _0x1f7267=_0x3cf6fd;super(_0xe04a17,_0x24fd81,null,[],_0x23164f,_0x2ff83b,_0x44840a,_0x323c3c,_0x289b87),N(this,'status',_0x1f7267(0x1b0)),(this[_0x1f7267(0x1d4)]=_0x481433,this[_0x1f7267(0x123)]=_0x29425f,this[_0x1f7267(0x199)]=_0x4d11db,this['localCacheService']=_0x289b87);}['appendMutation'](_0x154062){var _0x5a742f=_0x3cf6fd;const _0x8f4bcb=this[_0x5a742f(0x1d4)][_0x5a742f(0x38b)](ae,this[_0x5a742f(0x14d)],this[_0x5a742f(0x1b8)],[_0x154062],this[_0x5a742f(0x238)]);return _0x8f4bcb[_0x5a742f(0x397)](),_0x8f4bcb['_updateLocalCache'](),_0x8f4bcb;}[_0x3cf6fd(0x239)](_0x4000a7){var _0x4bf594=_0x3cf6fd;if(this[_0x4bf594(0x30f)](_0x4000a7))return this[_0x4bf594(0x1d4)]['createInstance'](ee,this[_0x4bf594(0x14d)],this[_0x4bf594(0x1b8)],null,[],null,[_0x4000a7],this[_0x4bf594(0x238)]);try{const _0x3c9fe2=this[_0x4bf594(0x199)][_0x4bf594(0x25b)](_0x4000a7,[rr]);if(_0x48447e(_0x3c9fe2)){const {c1Prime:_0x4b7b29}=_0x3c9fe2;return this[_0x4bf594(0x30e)](_0x4b7b29),this;}throw _0x3c9fe2['error'];}catch(_0x5b8d07){return this[_0x4bf594(0x123)]['error'](_0x5b8d07),this[_0x4bf594(0x129)](!0x1);}}[_0x3cf6fd(0x129)](_0x5f0abc){var _0x2d3ca3=_0x3cf6fd;return this['_injector'][_0x2d3ca3(0x38b)](ue,this[_0x2d3ca3(0x14d)],this[_0x2d3ca3(0x1b8)],null,[],this[_0x2d3ca3(0x238)],_0x5f0abc);}[_0x3cf6fd(0x311)](){var _0x38f6be=_0x3cf6fd;throw new Error(_0x38f6be(0x21c));}[_0x3cf6fd(0x176)](){var _0x3ed253=_0x3cf6fd;throw new Error(_0x3ed253(0x1f3));}[_0x3cf6fd(0x3d5)](){return this;}['toggleOffline'](){var _0x205227=_0x3cf6fd;return this['_injector'][_0x205227(0x38b)](de,this['unitID'],this['type'],null,[],this[_0x205227(0x238)]);}[_0x3cf6fd(0x3db)](){return this;}[_0x3cf6fd(0x250)](){var _0x335756=_0x3cf6fd;throw new Error(_0x335756(0x223));}[_0x3cf6fd(0x102)](){var _0x126ee2=_0x3cf6fd;const _0x12ad14=this[_0x126ee2(0x3ca)][_0x126ee2(0x348)](this['unitID']);return this[_0x126ee2(0x238)][_0x126ee2(0x24c)]({'from':_0x12ad14,'to':0x0}),this[_0x126ee2(0x1d4)][_0x126ee2(0x38b)](ee,this[_0x126ee2(0x14d)],this[_0x126ee2(0x1b8)],null,[],null,[],this[_0x126ee2(0x238)]);}};Ne=Te([P(0x3,_0x2a1c1e(_0x26f86e)),P(0x4,_0x2a1c1e(_0x40a907)),P(0x5,_0x365e68),P(0x6,_0x2fdf51),P(0x7,_0x5c90c9),P(0x8,_0x4f3b0f),P(0x9,_0x22e998(J))],Ne);let ae=class extends Ce{constructor(_0x2761d0,_0xd11a31,_0x571628,_0x5481f2,_0x55105a,_0x562316,_0x1b74f9,_0x4b5f54,_0x47af25,_0x4f040a,_0x16d067,_0x21f731,_0x190cc6,_0x2a4a78){var _0x403c99=_0x3cf6fd;super(_0x2761d0,_0xd11a31,null,_0x571628,_0x5481f2,_0x47af25,_0x190cc6,_0x562316,_0x2a4a78),N(this,_0x403c99(0x1c1),_0x403c99(0x141)),N(this,_0x403c99(0x2e3),null),N(this,_0x403c99(0x17a),null),(this[_0x403c99(0x1d4)]=_0x55105a,this[_0x403c99(0x1fc)]=_0x1b74f9,this[_0x403c99(0x123)]=_0x4b5f54,this[_0x403c99(0x323)]=_0x4f040a,this[_0x403c99(0x199)]=_0x16d067,this['_univerInstanceService']=_0x21f731);}[_0x3cf6fd(0x35e)](_0x4ac3e1){var _0x37e1ef=_0x3cf6fd;return this['_pendingMutations'][_0x37e1ef(0x170)](_0x4ac3e1),this[_0x37e1ef(0x31d)](),this;}[_0x3cf6fd(0x239)](_0x1515f2){var _0x548a02=_0x3cf6fd;if(this[_0x548a02(0x30f)](_0x1515f2))return this[_0x548a02(0x2ac)](),this['_injector'][_0x548a02(0x38b)](ee,this[_0x548a02(0x14d)],this[_0x548a02(0x1b8)],null,this[_0x548a02(0x386)],null,[_0x1515f2],this[_0x548a02(0x238)]);try{const _0x45cb1b=this['_transformService'][_0x548a02(0x25b)](_0x1515f2,this[_0x548a02(0x386)]);if(_0x48447e(_0x45cb1b)){const {c1Prime:_0x42f3c2,m2Prime:_0x41d651}=_0x45cb1b;this[_0x548a02(0x30e)](_0x42f3c2);const _0x57eee7=this[_0x548a02(0x1d4)]['createInstance'](ae,this[_0x548a02(0x14d)],this[_0x548a02(0x1b8)],_0x41d651,this['_handler']);this['_clearScheduledTask']();const _0xa9e8a7=new Date()[_0x548a02(0x215)](),_0x1187c3=this[_0x548a02(0x2e3)]?Math['max'](this[_0x548a02(0x2e3)]-_0xa9e8a7,0x0):this[_0x548a02(0x254)]();return _0x57eee7[_0x548a02(0x397)](_0x1187c3),_0x57eee7;}throw _0x45cb1b['error'];}catch(_0x16da30){return this['_logService'][_0x548a02(0x3d0)](_0x16da30),this[_0x548a02(0x129)](!0x1);}}[_0x3cf6fd(0x311)](){var _0x3fa41b=_0x3cf6fd;throw new Error(_0x3fa41b(0x23b));}[_0x3cf6fd(0x176)](){var _0x27ac47=_0x3cf6fd;throw new Error(_0x27ac47(0x365));}[_0x3cf6fd(0x3d5)](){return this;}[_0x3cf6fd(0x37f)](){var _0x403b42=_0x3cf6fd;return this['_clearScheduledTask'](),this[_0x403b42(0x1d4)][_0x403b42(0x38b)](de,this[_0x403b42(0x14d)],this['type'],null,this[_0x403b42(0x386)],this['_handler']);}[_0x3cf6fd(0x3db)](){return this;}[_0x3cf6fd(0x397)](_0x142dfa){var _0x4eb318=_0x3cf6fd;const _0x147424=_0x142dfa!=null?_0x142dfa:this[_0x4eb318(0x254)]();this[_0x4eb318(0x2e3)]=new Date()[_0x4eb318(0x215)]()+_0x147424,this['_sendingTimer']=setTimeout(()=>{var _0x35720a=_0x4eb318;this['_clearScheduledTask']();let _0x1ff9a6=null;switch(this['type']){case Q['UNIVER_SHEET']:{_0x1ff9a6=qt(this[_0x35720a(0x386)],this[_0x35720a(0x14d)],this[_0x35720a(0x298)],this[_0x35720a(0x3ca)],this[_0x35720a(0x1fc)]);break;}case Q['UNIVER_DOC']:{this[_0x35720a(0x386)][_0x35720a(0x375)](_0x380272=>_0x380272['id']===_0x85e961['id'])?_0x1ff9a6=nr(this[_0x35720a(0x386)],this[_0x35720a(0x14d)],this[_0x35720a(0x298)],this['_revisionService'],this[_0x35720a(0x1fc)]):_0x1ff9a6=qt(this[_0x35720a(0x386)],this[_0x35720a(0x14d)],this[_0x35720a(0x298)],this[_0x35720a(0x3ca)],this[_0x35720a(0x1fc)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x35720a(0x1b8)]+'\x20in\x20_schedule.');}const {changeset:_0x3946e3,pendingMutations:_0x22b0b7}=_0x1ff9a6;this['_handler'][_0x35720a(0x319)](_0x3946e3);const _0x387306=_0x22b0b7[_0x35720a(0x2a8)]?this[_0x35720a(0x1d4)][_0x35720a(0x38b)](oe,this[_0x35720a(0x14d)],this[_0x35720a(0x1b8)],_0x3946e3,_0x22b0b7,this[_0x35720a(0x238)],void 0x0):this['_injector']['createInstance'](le,this['unitID'],this[_0x35720a(0x1b8)],_0x3946e3,this[_0x35720a(0x238)]);_0x387306['_updateLocalCache'](),this[_0x35720a(0x238)][_0x35720a(0x157)](this,_0x387306);},_0x147424);}[_0x3cf6fd(0x254)](){var _0x30dd64=_0x3cf6fd,_0xb58bf3;const _0x32ce02=this[_0x30dd64(0x323)][_0x30dd64(0x3e7)](q);return(_0xb58bf3=_0x32ce02==null?void 0x0:_0x32ce02[_0x30dd64(0x3a0)])!=null?_0xb58bf3:En;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x38b3f6=_0x3cf6fd;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x38b3f6(0x17a)]=null);}[_0x3cf6fd(0x129)](_0x2d64e7){var _0x5eeab1=_0x3cf6fd;return this['_clearScheduledTask'](),this[_0x5eeab1(0x1d4)][_0x5eeab1(0x38b)](ue,this[_0x5eeab1(0x14d)],this[_0x5eeab1(0x1b8)],null,this[_0x5eeab1(0x386)],this['_handler'],_0x2d64e7);}};ae=Te([P(0x4,_0x2a1c1e(_0x40a907)),P(0x5,_0x2a1c1e(_0x26f86e)),P(0x6,_0x2a1c1e(xe)),P(0x7,_0x5c90c9),P(0x8,_0x2fdf51),P(0x9,_0x403a68),P(0xa,_0x4f3b0f),P(0xb,_0x51776b),P(0xc,_0x365e68),P(0xd,_0x22e998(J))],ae);let le=class extends Ce{constructor(_0x240baa,_0x883227,_0x281520,_0x588a40,_0x9e4eca,_0x1f2043,_0x4ad378,_0xa74246,_0x33bd79,_0x9056bf,_0x1d034f){var _0x321db4=_0x3cf6fd;super(_0x240baa,_0x883227,_0x281520,[],_0x588a40,_0x4ad378,_0x9056bf,_0x1f2043,_0x1d034f),N(this,_0x321db4(0x1c1),_0x321db4(0x10b)),N(this,_0x321db4(0x24b),0x0),N(this,_0x321db4(0x18d)),N(this,_0x321db4(0x19c)),(this['_injector']=_0x9e4eca,this[_0x321db4(0x123)]=_0xa74246,this[_0x321db4(0x199)]=_0x33bd79);}[_0x3cf6fd(0x35e)](_0x1b1e70){var _0xf18b60=_0x3cf6fd;this[_0xf18b60(0x2ac)]();const _0x2ca842=this[_0xf18b60(0x1d4)][_0xf18b60(0x38b)](oe,this[_0xf18b60(0x14d)],this[_0xf18b60(0x1b8)],this[_0xf18b60(0x1a9)],[_0x1b1e70],this['_handler'],this['_resendTimer']);return _0x2ca842[_0xf18b60(0x31d)](),_0x2ca842;}[_0x3cf6fd(0x239)](_0x58e370){var _0xb8f528=_0x3cf6fd;if(this[_0xb8f528(0x30f)](_0x58e370))return this[_0xb8f528(0x2ac)](),this[_0xb8f528(0x1d4)]['createInstance'](ee,this[_0xb8f528(0x14d)],this['type'],this[_0xb8f528(0x1a9)],[],null,[_0x58e370],this[_0xb8f528(0x238)]);try{const _0x46e55c=this[_0xb8f528(0x199)]['transformChangesets']([_0x58e370],[this[_0xb8f528(0x1a9)]],!0x1);if(_0x5ac623(_0x46e55c)){const {c1Prime:_0x1c0f63,c2Prime:_0x3a4a81}=_0x46e55c;this[_0xb8f528(0x30e)](_0x1c0f63[0x0]),_0x3a4a81[0x0][_0xb8f528(0x17b)]=this[_0xb8f528(0x243)](),this[_0xb8f528(0x2ac)]();const _0x2d77a8=this[_0xb8f528(0x1d4)]['createInstance'](le,this['unitID'],this['type'],_0x3a4a81[0x0],this[_0xb8f528(0x238)]);return _0x2d77a8[_0xb8f528(0x31d)](),_0x2d77a8;}return this[_0xb8f528(0x129)](!0x1);}catch(_0x3ec0c5){return this[_0xb8f528(0x123)][_0xb8f528(0x3d0)](_0x3ec0c5),this[_0xb8f528(0x129)](!0x1);}}[_0x3cf6fd(0x311)](_0x81ba53){var _0x571b6f=_0x3cf6fd;this[_0x571b6f(0x2ac)]();const _0x5f4649=this[_0x571b6f(0x3ca)]['getCurrentRevOfUnit'](this[_0x571b6f(0x14d)]);if(_0x81ba53[_0x571b6f(0x3be)]<_0x5f4649-0x1)return this;if(this[_0x571b6f(0x30f)](_0x81ba53))return this[_0x571b6f(0x1d4)][_0x571b6f(0x38b)](ee,this[_0x571b6f(0x14d)],this[_0x571b6f(0x1b8)],null,[],this[_0x571b6f(0x1a9)],[],this[_0x571b6f(0x238)]);this[_0x571b6f(0x28a)]();const _0x15163b=this[_0x571b6f(0x1d4)]['createInstance'](Ne,this[_0x571b6f(0x14d)],this[_0x571b6f(0x1b8)],this['_handler']);return _0x15163b[_0x571b6f(0x31d)](),_0x15163b;}[_0x3cf6fd(0x176)](_0xbf2314){var _0x2b631a=_0x3cf6fd;return this[_0x2b631a(0x129)](!!(_0xbf2314!=null&&_0xbf2314['isPermissionRej']));}[_0x3cf6fd(0x3d5)](_0x811ddc){var _0x338462=_0x3cf6fd;return this['_resendTimeout']>yi?this[_0x338462(0x37f)]():(this[_0x338462(0x18d)]=Ri(this[_0x338462(0x24b)],{'timeout':this[_0x338462(0x24b)],'reqId':_0x811ddc[_0x338462(0x2e1)]}),this[_0x338462(0x19c)]=this[_0x338462(0x18d)]['subscribe'](({reqId:_0x2b0af3,timeout:_0x2587fd})=>{var _0x2ae54d=_0x338462;this[_0x2ae54d(0x126)](_0x2b0af3,_0x2587fd);}),this);}['toggleOffline'](){var _0x333c31=_0x3cf6fd;return this['_clearScheduledTask'](),this['_injector'][_0x333c31(0x38b)](de,this['unitID'],this[_0x333c31(0x1b8)],this[_0x333c31(0x1a9)],[],this[_0x333c31(0x238)]);}['toggleOnline'](){return this;}[_0x3cf6fd(0x250)](){var _0x21e9dc=_0x3cf6fd;this[_0x21e9dc(0x238)][_0x21e9dc(0x319)](this[_0x21e9dc(0x1a9)]);}[_0x3cf6fd(0x129)](_0x41aa35){var _0x5e3671=_0x3cf6fd;return this[_0x5e3671(0x2ac)](),this[_0x5e3671(0x1d4)]['createInstance'](ue,this[_0x5e3671(0x14d)],this[_0x5e3671(0x1b8)],this[_0x5e3671(0x1a9)],[],this[_0x5e3671(0x238)],_0x41aa35);}[_0x3cf6fd(0x126)](_0x1f5e46,_0x5e68c9){var _0x132e9b=_0x3cf6fd,_0x1ee816;_0x1f5e46===((_0x1ee816=this[_0x132e9b(0x1a9)])==null?void 0x0:_0x1ee816[_0x132e9b(0x2e1)])&&(this[_0x132e9b(0x250)](),this['_resendTimeout']=_0x5e68c9===0x0?0x3e8:_0x5e68c9*0x2);}[_0x3cf6fd(0x2ac)](){var _0x8465ba=_0x3cf6fd,_0x17ebb5;(_0x17ebb5=this[_0x8465ba(0x19c)])==null||_0x17ebb5[_0x8465ba(0x159)](),this[_0x8465ba(0x24b)]=0x0;}};le=Te([P(0x4,_0x2a1c1e(_0x40a907)),P(0x5,_0x2a1c1e(_0x26f86e)),P(0x6,_0x2fdf51),P(0x7,_0x5c90c9),P(0x8,_0x4f3b0f),P(0x9,_0x365e68),P(0xa,_0x22e998(J))],le);let oe=class extends Ce{constructor(_0x7ca229,_0x2a097b,_0x1ba825,_0x45700c,_0x4a80ac,_0x25d998,_0x283217,_0x23f276,_0x400046,_0x4611d9,_0x1e8e9c,_0x1761e2,_0x38d8bb){var _0x393ba3=_0x3cf6fd;super(_0x7ca229,_0x2a097b,_0x1ba825,_0x45700c,_0x4a80ac,_0x400046,_0x1761e2,_0x23f276,_0x38d8bb),N(this,_0x393ba3(0x1c1),_0x393ba3(0x401)),N(this,_0x393ba3(0x24b),0x0),N(this,_0x393ba3(0x18d)),N(this,'_sender'),(this['_injector']=_0x283217,this[_0x393ba3(0x123)]=_0x4611d9,this[_0x393ba3(0x199)]=_0x1e8e9c,this[_0x393ba3(0x1d2)]=_0x38d8bb,_0x25d998&&(this[_0x393ba3(0x18d)]=_0x25d998,this[_0x393ba3(0x19c)]=this[_0x393ba3(0x18d)]['subscribe'](({reqId:_0x3b2d40,timeout:_0x8c5624})=>{var _0x2f256e=_0x393ba3;this[_0x2f256e(0x126)](_0x3b2d40,_0x8c5624);})));}[_0x3cf6fd(0x35e)](_0x32a4b5){var _0x3a6749=_0x3cf6fd;return this[_0x3a6749(0x386)][_0x3a6749(0x170)](_0x32a4b5),this;}[_0x3cf6fd(0x239)](_0x540abf){var _0x1afa2d=_0x3cf6fd;if(this[_0x1afa2d(0x30f)](_0x540abf))return this['_clearScheduledTask'](),this[_0x1afa2d(0x1d4)]['createInstance'](ee,this['unitID'],this[_0x1afa2d(0x1b8)],this[_0x1afa2d(0x1a9)],this[_0x1afa2d(0x386)],null,[_0x540abf],this['_handler']);try{const _0x53f859=this[_0x1afa2d(0x199)][_0x1afa2d(0x3d7)]([_0x540abf],[this[_0x1afa2d(0x1a9)]],!0x1);if(_0x5ac623(_0x53f859)){const {c1Prime:_0x4b009b,c2Prime:_0x18a54f}=_0x53f859,_0x3549af=this[_0x1afa2d(0x199)][_0x1afa2d(0x25b)](_0x4b009b[0x0],this[_0x1afa2d(0x386)]);if(_0x48447e(_0x3549af)){const {c1Prime:_0x3ad902,m2Prime:_0x30fdf5}=_0x3549af;return this[_0x1afa2d(0x30e)](_0x3ad902),_0x18a54f[0x0]['baseRev']=this[_0x1afa2d(0x243)](),this[_0x1afa2d(0x2ac)](),this['_injector'][_0x1afa2d(0x38b)](oe,this[_0x1afa2d(0x14d)],this[_0x1afa2d(0x1b8)],_0x18a54f[0x0],_0x30fdf5,this[_0x1afa2d(0x238)],void 0x0);}throw _0x3549af[_0x1afa2d(0x3d0)];}throw _0x53f859['error'];}catch(_0x5524c0){return this[_0x1afa2d(0x123)]['error'](_0x5524c0),this[_0x1afa2d(0x129)](!0x1);}}[_0x3cf6fd(0x311)](_0x12e1bd){var _0x56064c=_0x3cf6fd;if(this[_0x56064c(0x2ac)](),this[_0x56064c(0x30f)](_0x12e1bd))return this[_0x56064c(0x1d4)][_0x56064c(0x38b)](ee,this['unitID'],this[_0x56064c(0x1b8)],null,this[_0x56064c(0x386)],this[_0x56064c(0x1a9)],[],this[_0x56064c(0x238)]);this[_0x56064c(0x28a)]();const _0x1b98d1=this[_0x56064c(0x1d4)][_0x56064c(0x38b)](ae,this[_0x56064c(0x14d)],this[_0x56064c(0x1b8)],this['_pendingMutations'],this[_0x56064c(0x238)]);return _0x1b98d1[_0x56064c(0x397)](),_0x1b98d1[_0x56064c(0x31d)](),_0x1b98d1;}[_0x3cf6fd(0x176)](_0xc51250){var _0x5ae3fb=_0x3cf6fd;return this['_onConflict'](!!(_0xc51250!=null&&_0xc51250[_0x5ae3fb(0x3f7)]));}[_0x3cf6fd(0x3d5)](_0x18397e){var _0xb8d89e=_0x3cf6fd;return this['_resendTimeout']>yi?this[_0xb8d89e(0x37f)]():(this['_resendTimer']=Ri(this[_0xb8d89e(0x24b)],{'timeout':this[_0xb8d89e(0x24b)],'reqId':_0x18397e[_0xb8d89e(0x2e1)]}),this['_sender']=this[_0xb8d89e(0x18d)][_0xb8d89e(0x301)](({reqId:_0x3c185e,timeout:_0x5c1a7d})=>{var _0xb90783=_0xb8d89e;this[_0xb90783(0x126)](_0x3c185e,_0x5c1a7d);}),this);}[_0x3cf6fd(0x37f)](){var _0x16a334=_0x3cf6fd;return this['_clearScheduledTask'](),this[_0x16a334(0x1d4)][_0x16a334(0x38b)](de,this[_0x16a334(0x14d)],this[_0x16a334(0x1b8)],this[_0x16a334(0x1a9)],this[_0x16a334(0x386)],this[_0x16a334(0x238)]);}[_0x3cf6fd(0x3db)](){return this;}['resend'](){var _0x5f5305=_0x3cf6fd;this['_handler']['onSendChangeset'](this[_0x5f5305(0x1a9)]);}[_0x3cf6fd(0x129)](_0xe77a){var _0x3285cf=_0x3cf6fd;return this['_clearScheduledTask'](),this[_0x3285cf(0x1d4)][_0x3285cf(0x38b)](ue,this[_0x3285cf(0x14d)],this[_0x3285cf(0x1b8)],null,this[_0x3285cf(0x386)],this[_0x3285cf(0x238)],_0xe77a);}[_0x3cf6fd(0x126)](_0x1c0905,_0x5170c7){var _0x48f592=_0x3cf6fd,_0x34f608;_0x1c0905===((_0x34f608=this[_0x48f592(0x1a9)])==null?void 0x0:_0x34f608[_0x48f592(0x2e1)])&&(this[_0x48f592(0x250)](),this[_0x48f592(0x24b)]=_0x5170c7===0x0?0x3e8:_0x5170c7*0x2);}[_0x3cf6fd(0x2ac)](){var _0x1dfc36=_0x3cf6fd,_0x24bedc;(_0x24bedc=this[_0x1dfc36(0x19c)])==null||_0x24bedc[_0x1dfc36(0x159)](),this[_0x1dfc36(0x24b)]=0x0;}};oe=Te([P(0x6,_0x2a1c1e(_0x40a907)),P(0x7,_0x2a1c1e(_0x26f86e)),P(0x8,_0x2fdf51),P(0x9,_0x5c90c9),P(0xa,_0x4f3b0f),P(0xb,_0x365e68),P(0xc,_0x22e998(J))],oe);let ue=class extends Ce{constructor(_0x4da6fc,_0x2f0826,_0x93d1c6,_0x2e484f,_0x33b945,_0x3b367c=!0x1,_0x1948a0,_0x124731,_0x553d95,_0x37486b,_0x3b8f21,_0x1ddc5a,_0x55851c){var _0x161037=_0x3cf6fd;super(_0x4da6fc,_0x2f0826,_0x93d1c6,_0x2e484f,_0x33b945,_0x124731,_0x553d95,_0x37486b,_0x55851c),N(this,'status',_0x161037(0x209)),(this[_0x161037(0x390)]=_0x3b367c,this[_0x161037(0x2ad)]=_0x1948a0,this[_0x161037(0x21b)]=_0x3b8f21,this[_0x161037(0x2f9)]=_0x1ddc5a,this[_0x161037(0x1d2)]=_0x55851c,this[_0x161037(0x197)](),this[_0x161037(0x3ac)](),this[_0x161037(0x396)]());}['appendMutation'](){return this;}[_0x3cf6fd(0x239)](){return this;}[_0x3cf6fd(0x311)](){return this;}[_0x3cf6fd(0x176)](){return this;}['onRemoteRetry'](){return this;}[_0x3cf6fd(0x37f)](){return this;}['toggleOnline'](){return this;}[_0x3cf6fd(0x250)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3cf6fd(0x3ac)](){var _0x3e2d53=_0x3cf6fd,_0x2972b0;(_0x2972b0=this[_0x3e2d53(0x286)])==null||_0x2972b0[_0x3e2d53(0x17e)](this[_0x3e2d53(0x14d)],this[_0x3e2d53(0x1b8)],null,[]);}[_0x3cf6fd(0x197)](){var _0x2bf626=_0x3cf6fd;this[_0x2bf626(0x390)]?this[_0x2bf626(0x2f9)][_0x2bf626(0x24a)]({'id':se[_0x2bf626(0x381)]}):this['_collaborationUIEventService']['emitEvent']({'id':se['CONFLICT']});}[_0x3cf6fd(0x396)](){var _0x484c7c=_0x3cf6fd;this[_0x484c7c(0x2ad)][_0x484c7c(0x236)](new _0x176114(this[_0x484c7c(0x14d)])['id'],!0x1);}};ue=Te([P(0x6,_0x2a1c1e(_0x7add9a)),P(0x7,_0x2fdf51),P(0x8,_0x365e68),P(0x9,_0x2a1c1e(_0x26f86e)),P(0xa,_0x2a1c1e(_0x35fe7c)),P(0xb,_0x2a1c1e(pe)),P(0xc,_0x22e998(J))],ue);let de=class extends Ce{constructor(_0x57dcf5,_0x40e580,_0xf741c4,_0x163c95,_0x301b4f,_0x7df961,_0x145cb6,_0x2aa8fe,_0x384e78,_0x1a7f3a){var _0x98bd61=_0x3cf6fd;super(_0x57dcf5,_0x40e580,_0xf741c4,_0x163c95,_0x301b4f,_0x2aa8fe,_0x384e78,_0x145cb6,_0x1a7f3a),N(this,_0x98bd61(0x1c1),_0x98bd61(0x361)),this[_0x98bd61(0x1d4)]=_0x7df961;}[_0x3cf6fd(0x35e)](_0x2e1ef7){var _0x400943=_0x3cf6fd;return this['_pendingMutations'][_0x400943(0x170)](_0x2e1ef7),this[_0x400943(0x31d)](),this;}[_0x3cf6fd(0x239)](_0x4599b4){var _0x4f947b=_0x3cf6fd;throw new Error(_0x4f947b(0x261));}[_0x3cf6fd(0x311)](){var _0x5e5aae=_0x3cf6fd;throw new Error(_0x5e5aae(0x16a));}[_0x3cf6fd(0x176)](){var _0x4f4029=_0x3cf6fd;throw new Error(_0x4f4029(0x34b));}[_0x3cf6fd(0x3d5)](){return this;}['toggleOffline'](){return this;}[_0x3cf6fd(0x3db)](){var _0x450053=_0x3cf6fd;const {_injector:_0x35f6af,_pendingMutations:_0x1ded9b,_awaitingChangeset:_0x3d113d,unitID:_0x493608,_handler:_0x19f41e,type:_0x3c8408}=this,_0x4b2612=Oi(_0x35f6af,_0x493608,_0x3c8408,_0x3d113d,_0x1ded9b,_0x19f41e);return _0x4b2612 instanceof ae?_0x4b2612[_0x450053(0x397)]():(_0x4b2612 instanceof oe||_0x4b2612 instanceof le)&&_0x4b2612[_0x450053(0x250)](),_0x4b2612;}[_0x3cf6fd(0x250)](){var _0x4c2c00=_0x3cf6fd;throw new Error(_0x4c2c00(0x307));}};de=Te([P(0x5,_0x2a1c1e(_0x40a907)),P(0x6,_0x2a1c1e(_0x26f86e)),P(0x7,_0x2fdf51),P(0x8,_0x365e68),P(0x9,_0x22e998(J))],de);let ee=class extends Ce{constructor(_0x117b6a,_0x59caf,_0xbbdcc0,_0x5b57a7,_0xc3911d,_0x3afe32,_0x1a6ad8,_0x12b012,_0xa25cca,_0x557f78,_0x51dfc1,_0xdd16b2,_0x4e6bd6,_0x5916e7){var _0x2f432d=_0x3cf6fd;super(_0x117b6a,_0x59caf,_0xbbdcc0,_0x5b57a7,_0x1a6ad8,_0x51dfc1,_0xdd16b2,_0xa25cca,_0x5916e7),N(this,'status',_0x2f432d(0x2b3)),(this['_acknowledgedAwaitingChangeset']=_0xc3911d,this[_0x2f432d(0x166)]=_0x3afe32,this[_0x2f432d(0x1d4)]=_0x12b012,this[_0x2f432d(0x123)]=_0x557f78,this[_0x2f432d(0x199)]=_0x4e6bd6,this['localCacheService']=_0x5916e7);}[_0x3cf6fd(0x11a)](_0x32bb60){var _0x466d81=_0x3cf6fd;try{const _0x34abb8=[..._0x32bb60,...this['_queuedRemoteChangesets']],_0x51cb42=[this['_awaitingChangeset']||this[_0x466d81(0x3bd)]][_0x466d81(0x256)](_0xd67a06=>!!_0xd67a06);let _0x58cc71,_0x18a0de;if(_0x51cb42[_0x466d81(0x2a8)]){const _0xc5de77=this['_transformService'][_0x466d81(0x3d7)](_0x34abb8,_0x51cb42,!0x1);if(!_0x5ac623(_0xc5de77))throw _0xc5de77[_0x466d81(0x3d0)];_0x58cc71=_0xc5de77['c1Prime'],_0x18a0de=_0xc5de77[_0x466d81(0x1ad)];}else _0x58cc71=_0x34abb8,_0x18a0de=[];let _0x1899b1=this[_0x466d81(0x386)];_0x58cc71['forEach'](_0x201349=>{var _0x43501b=_0x466d81;let _0x59e335;if(_0x1899b1[_0x43501b(0x2a8)]){const _0xf014f8=this[_0x43501b(0x199)]['transformMutationsWithChangeset'](_0x201349,_0x1899b1);if(!_0x48447e(_0xf014f8))throw _0xf014f8[_0x43501b(0x3d0)];_0x59e335=_0xf014f8[_0x43501b(0x306)],_0x1899b1=_0xf014f8['m2Prime'];}else _0x59e335=_0x201349;this['_executeRemoteChangeset'](_0x59e335);}),this[_0x466d81(0x3bd)]&&this[_0x466d81(0x28a)](),this['_awaitingChangeset']&&_0x18a0de[_0x466d81(0x2a8)]&&(_0x18a0de[0x0]['baseRev']=this['_getCurrentRevision']());let _0xd841a0;if(this[_0x466d81(0x1a9)]&&_0x1899b1[_0x466d81(0x2a8)]!==0x0)_0xd841a0=this['_injector'][_0x466d81(0x38b)](oe,this[_0x466d81(0x14d)],this[_0x466d81(0x1b8)],_0x18a0de[0x0],_0x1899b1,this[_0x466d81(0x238)],void 0x0);else{if(this[_0x466d81(0x1a9)]&&_0x1899b1[_0x466d81(0x2a8)]===0x0)_0x18a0de[0x0]['baseRev']=this[_0x466d81(0x243)](),_0xd841a0=this[_0x466d81(0x1d4)]['createInstance'](le,this[_0x466d81(0x14d)],this['type'],_0x18a0de[0x0],this['_handler']);else{if(_0x1899b1[_0x466d81(0x2a8)]!==0x0){const _0x542734=this['_injector']['createInstance'](ae,this[_0x466d81(0x14d)],this[_0x466d81(0x1b8)],_0x1899b1,this[_0x466d81(0x238)]);_0x542734[_0x466d81(0x397)](),_0xd841a0=_0x542734;}else _0xd841a0=this[_0x466d81(0x1d4)][_0x466d81(0x38b)](Ne,this[_0x466d81(0x14d)],this[_0x466d81(0x1b8)],this['_handler']);}}return _0xd841a0[_0x466d81(0x31d)](),_0xd841a0;}catch(_0xec9f48){return this[_0x466d81(0x123)]['error'](_0x466d81(0x26c),_0x466d81(0x178),_0xec9f48),this[_0x466d81(0x1d4)]['createInstance'](ue,this[_0x466d81(0x14d)],this[_0x466d81(0x1b8)],this[_0x466d81(0x1a9)],this[_0x466d81(0x386)],this[_0x466d81(0x238)],!0x1);}}[_0x3cf6fd(0x250)](){var _0x4cfb6f=_0x3cf6fd;throw new Error(_0x4cfb6f(0x3e5));}[_0x3cf6fd(0x35e)](_0x58fb7f){var _0x1275cb=_0x3cf6fd;return this['_pendingMutations'][_0x1275cb(0x170)](_0x58fb7f),this;}[_0x3cf6fd(0x239)](_0x334899){var _0x171a16=_0x3cf6fd;return this[_0x171a16(0x166)]['push'](_0x334899),this;}[_0x3cf6fd(0x311)](_0x4ef499){var _0x534bbd=_0x3cf6fd;if(this[_0x534bbd(0x1a9)])return this['_acknowledgedAwaitingChangeset']=this[_0x534bbd(0x1a9)],this[_0x534bbd(0x1a9)]=null,this;throw new Error(_0x534bbd(0x1bf));}[_0x3cf6fd(0x176)](_0x396106){var _0x24ed5e=_0x3cf6fd;return this[_0x24ed5e(0x129)](!!(_0x396106!=null&&_0x396106[_0x24ed5e(0x3f7)]));}[_0x3cf6fd(0x3d5)](){return this;}[_0x3cf6fd(0x37f)](){var _0x3575cd=_0x3cf6fd;return this[_0x3575cd(0x1d4)]['createInstance'](de,this[_0x3575cd(0x14d)],this[_0x3575cd(0x1b8)],this[_0x3575cd(0x1a9)],this[_0x3575cd(0x386)],this[_0x3575cd(0x238)]);}[_0x3cf6fd(0x3db)](){return this;}[_0x3cf6fd(0x129)](_0x1a20e0){var _0x3b71cc=_0x3cf6fd;return this[_0x3b71cc(0x1d4)][_0x3b71cc(0x38b)](ue,this[_0x3b71cc(0x14d)],this[_0x3b71cc(0x1b8)],this[_0x3b71cc(0x1a9)],this[_0x3b71cc(0x386)],this['_handler'],_0x1a20e0);}};ee=Te([P(0x7,_0x2a1c1e(_0x40a907)),P(0x8,_0x2a1c1e(_0x26f86e)),P(0x9,_0x5c90c9),P(0xa,_0x2fdf51),P(0xb,_0x365e68),P(0xc,_0x4f3b0f),P(0xd,_0x22e998(J))],ee);function Oi(_0x2daf9e,_0x1798ec,_0x2f53cf,_0xea71ab,_0x49b14b,_0x5b4c02){var _0x4db67d=_0x3cf6fd;return _0xea71ab&&_0x49b14b['length']?_0x2daf9e[_0x4db67d(0x38b)](oe,_0x1798ec,_0x2f53cf,_0xea71ab,_0x49b14b,_0x5b4c02,void 0x0):_0xea71ab?_0x2daf9e[_0x4db67d(0x38b)](le,_0x1798ec,_0x2f53cf,_0xea71ab,_0x5b4c02):_0x49b14b['length']?_0x2daf9e[_0x4db67d(0x38b)](ae,_0x1798ec,_0x2f53cf,_0x49b14b,_0x5b4c02):_0x2daf9e[_0x4db67d(0x38b)](Ne,_0x1798ec,_0x2f53cf,_0x5b4c02);}var ar=Object[_0x3cf6fd(0x1f5)],xt=(_0x3d4885,_0x443759,_0x2995d1,_0x1b0951)=>{var _0x53884d=_0x3cf6fd;for(var _0x1101ac=_0x1b0951>0x1?void 0x0:_0x1b0951?ar(_0x443759,_0x2995d1):_0x443759,_0x10d403=_0x3d4885[_0x53884d(0x2a8)]-0x1,_0x5bb20c;_0x10d403>=0x0;_0x10d403--)(_0x5bb20c=_0x3d4885[_0x10d403])&&(_0x1101ac=_0x5bb20c(_0x1101ac)||_0x1101ac);return _0x1101ac;},H=(_0x5b6a3e,_0x5b57c9)=>(_0x34fbc9,_0x2b9057)=>_0x5b57c9(_0x34fbc9,_0x2b9057,_0x5b6a3e);let nt=class extends _0x14bef9{constructor(_0x10d438,_0x1f7ede,_0x64460d,_0x373db8,_0x30e879,_0x8030d1,_0x333bd9,_0x50fa85,_0x355856,_0x20b298,_0x419297,_0x454f36,_0x515c03){var _0x496b09=_0x3cf6fd;super(),N(this,'_state$',new _0x3399ea(null)),N(this,_0x496b09(0x1a4),this['_state$']['asObservable']()),N(this,_0x496b09(0x384)),N(this,_0x496b09(0x198),!0x1),N(this,_0x496b09(0x2c3),''),N(this,'_changesetReqId',0x0),N(this,'status$',this[_0x496b09(0x1a4)][_0x496b09(0x1d5)](_0x3327a7(_0x2ca57e=>_0x2ca57e?_0x2ca57e[_0x496b09(0x1c1)]:bi['OFFLINE']),_0x47d972(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x496b09(0x2e5),[]),(this[_0x496b09(0x14d)]=_0x10d438,this[_0x496b09(0x314)]=_0x1f7ede,this[_0x496b09(0x367)]=_0x64460d,this[_0x496b09(0x1d4)]=_0x373db8,this['_compressMutationService']=_0x30e879,this[_0x496b09(0x21b)]=_0x8030d1,this[_0x496b09(0x3ca)]=_0x333bd9,this[_0x496b09(0x3e0)]=_0x50fa85,this[_0x496b09(0x123)]=_0x355856,this[_0x496b09(0x3f0)]=_0x20b298,this['_permissionService']=_0x419297,this['_singleActiveUnitService']=_0x454f36,this[_0x496b09(0x286)]=_0x515c03);}get[_0x3cf6fd(0x260)](){var _0x22cc5d=_0x3cf6fd;return this[_0x22cc5d(0x384)];}async[_0x3cf6fd(0x11d)](){var _0x1258d6=_0x3cf6fd;if(this['state'])throw new Error(_0x1258d6(0x1e3));await this[_0x1258d6(0x219)]();}[_0x3cf6fd(0x20b)](){var _0x262546=_0x3cf6fd;return this[_0x262546(0x198)]=!0x0,_0x290bf6(()=>{var _0x35fd72=_0x262546;this['_collaborationPaused']=!0x1,this[_0x35fd72(0x33b)]();});}[_0x3cf6fd(0x2d5)](_0x2026ff){var _0x449213=_0x3cf6fd;this[_0x449213(0x3fa)](_0x2026ff);}['_updateState'](_0x541563){var _0xcca9b3=_0x3cf6fd;this[_0xcca9b3(0x384)]=_0x541563,this['_state$'][_0xcca9b3(0x127)](_0x541563);}async['_init'](){var _0x328b48=_0x3cf6fd,_0x2a98a9;this[_0x328b48(0x3b8)](await this['_createInitialState']()),this[_0x328b48(0x179)]&&((_0x2a98a9=this[_0x328b48(0x179)])==null||_0x2a98a9[_0x328b48(0x2cc)](this[_0x328b48(0x14d)]),this['disposeWithMe'](this[_0x328b48(0x179)][_0x328b48(0x25e)](this[_0x328b48(0x14d)])['subscribe'](_0xdf5ed4=>{var _0xc58daa=_0x328b48;this['_logService'][_0xc58daa(0x100)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0xdf5ed4),_0xdf5ed4===Ci['OTHER_CLIENTS_EDITING']?(this[_0xc58daa(0x3e0)][_0xc58daa(0x24a)]({'id':se[_0xc58daa(0x251)]}),this[_0xc58daa(0x2ad)]['updatePermissionPoint'](new _0x176114(this['unitID'])['id'],!0x1),this['_permissionService'][_0xc58daa(0x212)](!0x1)):(this['_permissionService'][_0xc58daa(0x236)](new _0x176114(this[_0xc58daa(0x14d)])['id'],!0x0),this[_0xc58daa(0x2ad)][_0xc58daa(0x212)](!0x0));})));let _0x438f09=!0x1;return this[_0x328b48(0x240)](this[_0x328b48(0x314)][_0x328b48(0x108)][_0x328b48(0x301)](_0x128f4f=>{var _0x4f68c5=_0x328b48;_0x128f4f===Ee['ONLINE']?this[_0x4f68c5(0x3f2)](_0x438f09):_0x128f4f===Ee[_0x4f68c5(0x125)]&&(_0x438f09=!0x0,this[_0x4f68c5(0x330)]());})),this[_0x328b48(0x240)](this[_0x328b48(0x314)][_0x328b48(0x229)]['subscribe'](_0x1a1487=>{var _0x1f6a69=_0x328b48;try{switch(_0x1a1487['eventID']){case _0x2e4cb2[_0x1f6a69(0x2cf)]:{this['_onRemoteChangeset'](_0x3269b0(_0x1a1487[_0x1f6a69(0x313)]));break;}case _0x2e4cb2[_0x1f6a69(0x1d1)]:{this[_0x1f6a69(0x1ed)](_0x1a1487[_0x1f6a69(0x313)]);break;}case _0x2e4cb2[_0x1f6a69(0x331)]:{this[_0x1f6a69(0x391)]();break;}case _0x2e4cb2[_0x1f6a69(0x16b)]:{this[_0x1f6a69(0x27d)](_0x1a1487[_0x1f6a69(0x313)]);break;}case _0x2e4cb2[_0x1f6a69(0x14c)]:{this['_onFetchMissResult'](_0x1a1487[_0x1f6a69(0x313)][_0x1f6a69(0x1c9)][_0x1f6a69(0x2ea)](_0xef7d44=>_0x3269b0(_0xef7d44)));break;}case _0x2e4cb2[_0x1f6a69(0x168)]:{this[_0x1f6a69(0x391)]({'isPermissionRej':!0x0});break;}case _0x2e4cb2['UNISCRIPT_RUN']:break;}}catch(_0x1a392d){throw console[_0x1f6a69(0x3d0)](_0x1f6a69(0x14b),_0x1a392d),_0x1a392d;}})),this[_0x328b48(0x384)];}[_0x3cf6fd(0x13c)](){var _0x1a1e3b=_0x3cf6fd;this[_0x1a1e3b(0x1a2)]=!0x1;}['_lockTransition'](){var _0x3ed67c=_0x3cf6fd;if(this[_0x3ed67c(0x1a2)])throw new Error(_0x3ed67c(0x38e));this[_0x3ed67c(0x1a2)]=!0x0;}['_onLocalMutation'](_0x44c83d){var _0x561de9=_0x3cf6fd;this['_lockTransition'](),this[_0x561de9(0x3b8)](this[_0x561de9(0x384)][_0x561de9(0x35e)](_0x44c83d)),this[_0x561de9(0x13c)]();}[_0x3cf6fd(0x2e0)](_0x16a2e5){var _0x39e50d=_0x3cf6fd;if(!(_0x16a2e5['revision']<=this[_0x39e50d(0x3ca)][_0x39e50d(0x348)](this[_0x39e50d(0x14d)]))){if(this[_0x39e50d(0x198)]){this[_0x39e50d(0x2e5)][_0x39e50d(0x170)](_0x16a2e5);return;}this[_0x39e50d(0x1c0)](_0x16a2e5);}}[_0x3cf6fd(0x33b)](){var _0x356013=_0x3cf6fd;this[_0x356013(0x2e5)][_0x356013(0x338)](_0x5e142f=>this[_0x356013(0x1c0)](_0x5e142f)),this[_0x356013(0x2e5)]=[];}['_applyRemoteChangeset'](_0x3f13be){var _0x1fde89=_0x3cf6fd;const _0x2e2645=this[_0x1fde89(0x142)][_0x1fde89(0x1bc)]['fetchThroughInterceptors'](this[_0x1fde89(0x142)][_0x1fde89(0x1bc)][_0x1fde89(0x1c4)]()['COMPRESS_MUTATION_APPLY'])(_0x3f13be[_0x1fde89(0x373)],null)||_0x3f13be[_0x1fde89(0x373)],_0x13e12b={..._0x3f13be,'mutations':_0x2e2645};this[_0x1fde89(0x14f)](),this[_0x1fde89(0x3b8)](this[_0x1fde89(0x384)]['onRemoteChangeset'](_0x13e12b)),this['_unlockTransition']();}[_0x3cf6fd(0x1ed)](_0x131b92){var _0x1f4da1=_0x3cf6fd;this[_0x1f4da1(0x14f)](),this[_0x1f4da1(0x3b8)](this[_0x1f4da1(0x384)][_0x1f4da1(0x311)](_0x131b92)),this['_unlockTransition']();}['_onRemoteRejected'](_0x5dc762){var _0x4d1dea=_0x3cf6fd;this[_0x4d1dea(0x14f)](),this['_updateState'](this[_0x4d1dea(0x384)][_0x4d1dea(0x176)](_0x5dc762)),this['_unlockTransition']();}[_0x3cf6fd(0x27d)](_0x5c30b7){var _0xe08b51=_0x3cf6fd;this[_0xe08b51(0x14f)](),this[_0xe08b51(0x3b8)](this[_0xe08b51(0x384)][_0xe08b51(0x3d5)](_0x5c30b7)),this['_unlockTransition']();}[_0x3cf6fd(0x332)](_0x19c160){var _0x10f0e2=_0x3cf6fd;if(!(this['_state']instanceof ee))throw new TypeError(_0x10f0e2(0x162));const _0x46159e=_0x19c160['map'](_0x3d3472=>{var _0x169524=_0x10f0e2;const _0x3be8cd=this[_0x169524(0x142)][_0x169524(0x1bc)][_0x169524(0x2dc)](this[_0x169524(0x142)]['interceptor']['getInterceptPoints']()[_0x169524(0x26f)])(_0x3d3472[_0x169524(0x373)],null)||_0x3d3472[_0x169524(0x373)];return{..._0x3d3472,'mutations':_0x3be8cd};});this[_0x10f0e2(0x14f)](),this[_0x10f0e2(0x3b8)](this[_0x10f0e2(0x384)]['onMissedChangesetFetched'](_0x46159e)),this['_unlockTransition']();}[_0x3cf6fd(0x330)](){var _0x34bae7=_0x3cf6fd;this[_0x34bae7(0x14f)](),this['_updateState'](this['_state'][_0x34bae7(0x37f)]()),this[_0x34bae7(0x13c)]();}[_0x3cf6fd(0x3f2)](_0x2fede4=!0x1){var _0x206f36=_0x3cf6fd;this[_0x206f36(0x14f)](),this[_0x206f36(0x3b8)](this[_0x206f36(0x384)][_0x206f36(0x3db)]()),this[_0x206f36(0x13c)]();const _0x117a4b=this[_0x206f36(0x384)];_0x2fede4&&_0x117a4b instanceof Ne&&(this[_0x206f36(0x14f)](),this[_0x206f36(0x3b8)](_0x117a4b[_0x206f36(0x102)]()),this[_0x206f36(0x13c)]());}async[_0x3cf6fd(0x262)](){return new Promise(_0x5b1e1a=>{var _0x575af1=_0x4cd0;this[_0x575af1(0x314)][_0x575af1(0x108)][_0x575af1(0x1d5)](_0x475621(0x1))[_0x575af1(0x301)](async _0x307fd4=>{var _0x437304=_0x575af1;_0x5b1e1a(await this[_0x437304(0x39a)](_0x307fd4===Ee[_0x437304(0x345)]));});});}[_0x3cf6fd(0x280)](){const _0x2292b8=this['unitID'];return{'onStateChange':(_0x5adb84,_0x321280)=>{var _0x1c9b6e=_0x4cd0;if(_0x5adb84!==this[_0x1c9b6e(0x384)])throw new Error(_0x1c9b6e(0x32b)+_0x5adb84[_0x1c9b6e(0x1c1)]+_0x1c9b6e(0x1c7)+_0x321280[_0x1c9b6e(0x1c1)]+_0x1c9b6e(0x351)+this[_0x1c9b6e(0x384)][_0x1c9b6e(0x1c1)]);this[_0x1c9b6e(0x3b8)](_0x321280);},'onSendChangeset':_0x2ce6d6=>{var _0x15f5a0=_0x4cd0;_0x2ce6d6['sid']||(_0x2ce6d6[_0x15f5a0(0x30d)]=this[_0x15f5a0(0x2c3)],_0x2ce6d6[_0x15f5a0(0x2e1)]=++this[_0x15f5a0(0x1a3)]);const _0x3a6195={'eventID':_0x2e4cb2[_0x15f5a0(0x31c)],'data':{'unitID':_0x2ce6d6[_0x15f5a0(0x14d)],'unitType':this['_type'],'changeset':_0x2ce6d6,'memberID':this[_0x15f5a0(0x314)][_0x15f5a0(0x3cf)]()}};this[_0x15f5a0(0x314)][_0x15f5a0(0x3d1)](_0x3a6195,this['unitID']);},'onMissingChangesets':({from:_0x29d08e,to:_0x571931})=>{var _0x3c8dec=_0x4cd0;this[_0x3c8dec(0x123)][_0x3c8dec(0x100)](_0x3c8dec(0x329),_0x3c8dec(0x1d9)+_0x29d08e+_0x3c8dec(0x1da)+_0x571931);const _0x3af557={'eventID':_0x2e4cb2['FETCH_MISSING'],'data':{'unitID':_0x2292b8,'unitType':this[_0x3c8dec(0x367)],'from':_0x29d08e,'to':_0x571931}};this[_0x3c8dec(0x314)][_0x3c8dec(0x3d1)](_0x3af557,this['unitID']);}};}async[_0x3cf6fd(0x39a)](_0x4cbecb){var _0x4bc0da=_0x3cf6fd,_0x3159e5,_0x4a0e9c,_0x21bb4e;const _0x4a8ae8=await((_0x3159e5=this['_localCacheService'])==null?void 0x0:_0x3159e5[_0x4bc0da(0x2dd)](this[_0x4bc0da(0x14d)])),_0x2a9c2b=(_0x4a0e9c=_0x4a8ae8==null?void 0x0:_0x4a8ae8['mutations'])!=null?_0x4a0e9c:[],_0x5a9efa=(_0x21bb4e=_0x4a8ae8==null?void 0x0:_0x4a8ae8[_0x4bc0da(0x3f4)])!=null?_0x21bb4e:null,_0x5726e6=!!(_0x5a9efa!=null&&_0x5a9efa['sid'])&&!!(_0x5a9efa!=null&&_0x5a9efa[_0x4bc0da(0x2e1)]);this[_0x4bc0da(0x2c3)]=_0x5726e6?_0x5a9efa[_0x4bc0da(0x30d)]:Zn(),this[_0x4bc0da(0x1a3)]=_0x5726e6?_0x5a9efa[_0x4bc0da(0x2e1)]:0x0;const _0x510309=this['unitID'];try{this[_0x4bc0da(0x312)](_0x5a9efa,_0x2a9c2b);}catch(_0x4902c9){this['_logService'][_0x4bc0da(0x3d0)](_0x4902c9);}const _0x49054b=this[_0x4bc0da(0x280)]();if(_0x4cbecb){const _0x2e7c9d=Oi(this[_0x4bc0da(0x1d4)],_0x510309,this[_0x4bc0da(0x367)],_0x5a9efa,_0x2a9c2b,_0x49054b);return _0x2e7c9d instanceof ae?_0x2e7c9d[_0x4bc0da(0x397)]():(_0x2e7c9d instanceof oe||_0x2e7c9d instanceof le)&&_0x2e7c9d[_0x4bc0da(0x250)](),_0x2e7c9d;}return this[_0x4bc0da(0x1d4)]['createInstance'](de,_0x510309,this[_0x4bc0da(0x367)],_0x5a9efa,_0x2a9c2b,_0x49054b);}[_0x3cf6fd(0x312)](_0x294ea6,_0x14f431){var _0x3a26e6=_0x3cf6fd,_0x562bbc,_0x4e39e3;const _0x453ee5=this[_0x3a26e6(0x142)][_0x3a26e6(0x1bc)]['fetchThroughInterceptors'](this[_0x3a26e6(0x142)][_0x3a26e6(0x1bc)][_0x3a26e6(0x1c4)]()['COMPRESS_MUTATION_APPLY']);(_0x562bbc=_0x453ee5((_0x294ea6==null?void 0x0:_0x294ea6['mutations'])||[],null))==null||_0x562bbc['forEach'](_0x5d89ba=>this['_commandService'][_0x3a26e6(0x2a3)](_0x5d89ba['id'],_0x5d89ba['params'])),(_0x4e39e3=_0x453ee5(_0x14f431||[],null))==null||_0x4e39e3['forEach'](_0x109ff7=>this[_0x3a26e6(0x3f0)][_0x3a26e6(0x2a3)](_0x109ff7['id'],_0x109ff7[_0x3a26e6(0x177)]));}};nt=xt([H(0x3,_0x2a1c1e(_0x40a907)),H(0x4,_0x2a1c1e(_0x164823)),H(0x5,_0x2a1c1e(_0x35fe7c)),H(0x6,_0x2a1c1e(_0x26f86e)),H(0x7,_0x2a1c1e(pe)),H(0x8,_0x5c90c9),H(0x9,_0x2fdf51),H(0xa,_0x7add9a),H(0xb,_0x22e998(ht)),H(0xc,_0x22e998(J))],nt);let It=class extends nt{constructor(_0x32f92a,_0x524c16,_0x2a2af4,_0x1dafdf,_0x470529,_0x27a8b3,_0x312114,_0x256a3c,_0x26bf67,_0x17243b,_0x59d426,_0x1dfb1f,_0x51907c){var _0x1e06be=_0x3cf6fd;super(_0x32f92a,_0x2a2af4,_0x524c16,_0x1dafdf,_0x470529,_0x27a8b3,_0x312114,_0x256a3c,_0x26bf67,_0x17243b,_0x59d426,_0x1dfb1f,_0x51907c),N(this,'_handlerCallback',null),(this['unitID']=_0x32f92a,this[_0x1e06be(0x1b8)]=_0x524c16);}[_0x3cf6fd(0x1af)](_0x1ded6f){this['_handlerCallback']=_0x1ded6f;}[_0x3cf6fd(0x2b8)](){var _0x3d334b=_0x3cf6fd;this[_0x3d334b(0x25d)]=null,super['dispose']();}[_0x3cf6fd(0x280)](){var _0x6015dc=_0x3cf6fd;const _0x548e1a=super['_createHandler']();return _0x548e1a[_0x6015dc(0x1e8)]=_0x404dda=>{var _0x3bd0e3=_0x6015dc,_0x4e1912,_0x2b619f;return(_0x2b619f=(_0x4e1912=this[_0x3bd0e3(0x25d)])==null?void 0x0:_0x4e1912[_0x3bd0e3(0x1e8)])==null?void 0x0:_0x2b619f['call'](_0x4e1912,_0x404dda);},_0x548e1a[_0x6015dc(0x235)]=_0xde3ff4=>{var _0x4fe54e=_0x6015dc,_0x3aff15,_0x30d19b;return(_0x30d19b=(_0x3aff15=this['_handlerCallback'])==null?void 0x0:_0x3aff15[_0x4fe54e(0x235)])==null?void 0x0:_0x30d19b[_0x4fe54e(0x269)](_0x3aff15,_0xde3ff4);},_0x548e1a[_0x6015dc(0x1dc)]=_0x59a139=>{var _0x1bb714=_0x6015dc,_0x4ac3a4,_0x2fd122;return(_0x2fd122=(_0x4ac3a4=this['_handlerCallback'])==null?void 0x0:_0x4ac3a4[_0x1bb714(0x1dc)])==null?void 0x0:_0x2fd122[_0x1bb714(0x269)](_0x4ac3a4,_0x59a139);},_0x548e1a['onSyncEditingCollabCursor']=_0x50e428=>{var _0x37fb6e=_0x6015dc,_0x267004,_0x46c698;return(_0x46c698=(_0x267004=this[_0x37fb6e(0x25d)])==null?void 0x0:_0x267004[_0x37fb6e(0x285)])==null?void 0x0:_0x46c698['call'](_0x267004,_0x50e428);},_0x548e1a[_0x6015dc(0x29f)]=_0xc90ed3=>{var _0x55b960=_0x6015dc,_0x4efc1a,_0x3a85b1,_0x50289a;if(!((_0x4efc1a=this[_0x55b960(0x25d)])!=null&&_0x4efc1a['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x50289a=(_0x3a85b1=this[_0x55b960(0x25d)])==null?void 0x0:_0x3a85b1[_0x55b960(0x29f)])==null?void 0x0:_0x50289a['call'](_0x3a85b1,_0xc90ed3);},_0x548e1a[_0x6015dc(0x26b)]=_0x4b0ba6=>{var _0x1ee7e4=_0x6015dc,_0x594e40,_0x5be80e,_0x330668;if(!((_0x594e40=this['_handlerCallback'])!=null&&_0x594e40['onTransformRemoteChangesetByStateCache']))throw new Error(_0x1ee7e4(0x363));return(_0x330668=(_0x5be80e=this['_handlerCallback'])==null?void 0x0:_0x5be80e[_0x1ee7e4(0x26b)])==null?void 0x0:_0x330668[_0x1ee7e4(0x269)](_0x5be80e,_0x4b0ba6);},_0x548e1a;}async[_0x3cf6fd(0x219)](){var _0x207911=_0x3cf6fd;const _0x1c77a1=await super[_0x207911(0x219)]();return this[_0x207911(0x240)](this[_0x207911(0x3f0)][_0x207911(0x158)]((_0x536f25,_0x2137f0)=>{var _0x133ccc=_0x207911;if(_0x536f25['type']!==_0x16db83[_0x133ccc(0x2f7)]||_0x2137f0!=null&&_0x2137f0[_0x133ccc(0x2c0)]||_0x2137f0!=null&&_0x2137f0[_0x133ccc(0x1df)]||_0x536f25['id']===_0x85e961['id'])return;const _0x3d4f3e=_0x536f25[_0x133ccc(0x177)];if((_0x3d4f3e==null?void 0x0:_0x3d4f3e['unitId'])!==this[_0x133ccc(0x14d)])return;const _0x125822=_0x536f25,_0x342e1c=this[_0x133ccc(0x142)]['interceptor'][_0x133ccc(0x2dc)](this[_0x133ccc(0x142)][_0x133ccc(0x1bc)][_0x133ccc(0x1c4)]()['COMPRESS_MUTATION_SEND'])([_0x125822],null)||[_0x125822];this[_0x133ccc(0x3fa)](_0x342e1c[0x0]);})),_0x1c77a1;}};It=xt([H(0x3,_0x2a1c1e(_0x40a907)),H(0x4,_0x2a1c1e(_0x164823)),H(0x5,_0x2a1c1e(_0x35fe7c)),H(0x6,_0x2a1c1e(_0x26f86e)),H(0x7,_0x2a1c1e(pe)),H(0x8,_0x5c90c9),H(0x9,_0x2fdf51),H(0xa,_0x7add9a),H(0xb,_0x22e998(ht)),H(0xc,_0x22e998(J))],It);let Tt=class extends nt{constructor(_0x56d677,_0x1ff49b,_0x5b0044,_0x191588,_0x381cc9,_0x36e93c,_0x274168,_0x5ef9a9,_0x1e258a,_0x5d724e,_0x4ff32c,_0x207597,_0x5ccf9c,_0x2bd477){var _0x684ac7=_0x3cf6fd;super(_0x56d677,_0x5b0044,_0x1ff49b,_0x191588,_0x381cc9,_0x36e93c,_0x274168,_0x1e258a,_0x5d724e,_0x4ff32c,_0x207597,_0x5ccf9c,_0x2bd477),this[_0x684ac7(0x14d)]=_0x56d677,this[_0x684ac7(0x1b8)]=_0x1ff49b,this[_0x684ac7(0x1fa)]=_0x5ef9a9;}[_0x3cf6fd(0x280)](){var _0x5dab9a=_0x3cf6fd;const _0x3e7b53=super['_createHandler']();return _0x3e7b53[_0x5dab9a(0x1dc)]=_0x3131da=>this[_0x5dab9a(0x1fa)][_0x5dab9a(0x211)](_0x3131da),_0x3e7b53;}async[_0x3cf6fd(0x219)](){var _0x3cb52a=_0x3cf6fd;const _0x50834f=await super[_0x3cb52a(0x219)]();return this[_0x3cb52a(0x240)](this['_commandService'][_0x3cb52a(0x158)]((_0x5c29e4,_0x2fd726)=>{var _0x20c779=_0x3cb52a;if(_0x5c29e4[_0x20c779(0x1b8)]!==_0x16db83[_0x20c779(0x2f7)]||_0x2fd726!=null&&_0x2fd726[_0x20c779(0x2c0)]||_0x2fd726!=null&&_0x2fd726[_0x20c779(0x1df)])return;const _0x2c1c0c=_0x5c29e4[_0x20c779(0x177)];if((_0x2c1c0c==null?void 0x0:_0x2c1c0c['unitId'])!==this[_0x20c779(0x14d)])return;const _0x4ac454=_0x5c29e4,_0x4e2328=this[_0x20c779(0x142)][_0x20c779(0x1bc)][_0x20c779(0x2dc)](this[_0x20c779(0x142)][_0x20c779(0x1bc)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x4ac454],null)||[_0x4ac454];this['_onLocalMutation'](_0x4e2328[0x0]);})),_0x50834f;}};Tt=xt([H(0x3,_0x2a1c1e(_0x40a907)),H(0x4,_0x2a1c1e(_0x164823)),H(0x5,_0x2a1c1e(_0x35fe7c)),H(0x6,_0x2a1c1e(_0x26f86e)),H(0x7,_0x2a1c1e(it)),H(0x8,_0x2a1c1e(pe)),H(0x9,_0x5c90c9),H(0xa,_0x2fdf51),H(0xb,_0x7add9a),H(0xc,_0x22e998(ht)),H(0xd,_0x22e998(J))],Tt);var or=Object[_0x3cf6fd(0x1f5)],cr=(_0x59e628,_0x470e39,_0x2ac0e9,_0x26b4e4)=>{var _0x1e01b4=_0x3cf6fd;for(var _0x173db1=_0x26b4e4>0x1?void 0x0:_0x26b4e4?or(_0x470e39,_0x2ac0e9):_0x470e39,_0x3e3e50=_0x59e628[_0x1e01b4(0x2a8)]-0x1,_0x2249f8;_0x3e3e50>=0x0;_0x3e3e50--)(_0x2249f8=_0x59e628[_0x3e3e50])&&(_0x173db1=_0x2249f8(_0x173db1)||_0x173db1);return _0x173db1;},ft=(_0x2a5461,_0x53ec4f)=>(_0x422b14,_0x12e63c)=>_0x53ec4f(_0x422b14,_0x12e63c,_0x2a5461);function _0x1dd5(){var _0xd3ae44=['min','_change$','949696ejXRxO','/universer-api/oidc/authpage','_clearCollaborationTimeoutTimer','_clearHeartbeatTimer','_nRounds','_univerInstanceService','_onJoinRoomEvent','/object','refreshPermission','StreamCipher','PY_RUNTIME_SCRIPT_ERROR','loadSheet','onTransformRemoteChangesetByIMECache','leaveEvent','enableSingleActiveInstanceLock','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','executeCommand','_submitChangeset','enableAuthServer','_HTTPService','collabSubmitChangesetUrl','length','getRandomValues','enableOfflineEditing','HEARTBEAT_TIMEOUT','_clearScheduledTask','_permissionService','createDecryptor','catch','Latin1','NO_OTHER_CLIENTS_EDITING','/collaborator','fetch_missing','socket\x20open.','cfg','UNIVER_SLIDE','post','dispose','cmd','_members$','_getAPIPrefixPath','_transformIMECache','_syncEditingCollabCursor','APPLY_PERMISSION_DENIED','error$','fromCollab','GLOBAL_ROOMS_CNT_EXCEEDS','LIVESHARE_REQUEST_HOST','_changesetSessionId','apply','HMAC','CBC','COLLAB_SUBMIT_CHANGESET_URL','UNIVER_SHEET','byteLength','delete','getFocusedUnit','editingUnit','extend','[CollaborationSession]','NEW_CHANGESETS','Malformed\x20UTF-8\x20data','readAsDataURL','size','roomInfos','unitId\x20is\x20not\x20found','onLocalMutation','LICENSE_EXPORT_SIZE_EXCEEDED','YUUMI_UNABLE_LOAD_URL','capture','LEAVE','listCollaborators','finalize','fetchThroughInterceptors','loadOfflineData','_stopTelemetryCollaborationNewChangeset','RETRY_CONNECTING_MAX_COUNT','_onRemoteChangeset','reqId','_status$','_scheduleCompleteTimestamp','HELLO','_remoteChangesetQueue','listRoles','CONFLICT','batchAllowed','_sendHeartbeatTimer','map','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','defineProperty','location','pad','APPLY_NON_SEQUENTIAL_REVISION','320353tCoHje','splice','unpad','Undefined','USERS_LEAVE','hasher','LIVESHARE_OPERATION','MUTATION','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_collaborationUIEventService','_iKey','JOIN_ROOM_PERMISSION_DENIED','format','_redoStacks','withCredentials','_socket','APPLY_DUPLICATED','subscribe','objectID','LICENSE_IMPORT_SIZE_EXCEEDED','getTypeOfUnitDisposed$','/universer-api/file/{fileID}/sign-url','c1Prime','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','MSG_FOR_ERROR','LIVESHARE_NEW_HOST','initWorkbookPermissionChange','_loadDoc','shouldCloseConn','sid','_executeRemoteChangeset','_checkMissing','_shouldReportTelemetry','onRemoteAck','_replayCachedMutations','data','session','UnitSnapshot','JOIN','_retryCount','random','onSendChangeset','patch','_sessionStatus$','SUBMIT_CHANGESET','_updateLocalCache','_hasher','symbol','_doReset','fromCharCode','/universer-api/snapshot','_configService','univer-pro.collaboration-client.single-active-unit-service','confirm','TOO_MANY_REQUESTS','_undoRedoService','charCodeAt','[CollaborationEntity]','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_onOffline','concat','_transformRemoteChangesetByIMECache','session.join-failed','_toggleOffline','CHANGESET_REJ','_onFetchMissResult','YUUMI_SUBSCRIPTION_NOT_FOUND','pluginName','kdf','_DEC_XFORM_MODE','[UniverCollaborationClientPlugin]','forEach','_onUserLeave','/-/object/-/batch_allowed','_exhaustRemoteChangesetQueue','slice','charAt','collaMsg','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','JOIN_ROOM_NOT_EXISTS','encode','INVITE_CODE_ALREADY_BOUND','image/gif','_members','ONLINE','OpenSSL','UNKNOWN_CMD','getCurrentRevOfUnit','_transformStack','update','[OfflineState]:\x20received\x20rejection.','sigBytes','_createSocket','/new_changes','sheets','/block/','\x0aCurrent:\x20','_onConnectionOpen','equals','UnitEmbedded','socket$','7693570ibirdJ','body','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','INGEST','SNAPSHOT_URL_KEY','_prevBlock','stringify','_transformUndoredo','appendMutation','loadUnit','HttpExport','offline','Cipher','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_sendHeartbeat','[PendingState]:\x20received\x20rejection.','$super','_type','csRejEvent','randomBytes','rev','LIVESHARE_FETCH_OPERATIONS','_snapshotService','Hex','liveShareOperation','/allowed','3jlspfZ','_substituteRedoStack','enc','mutations','SNAPSHOT_INVALID_SNAPSHOT','every','_commentUpdate$','AWAITING_WITH_PENDING','_createHelper','PERSON','_doCryptBlock','substr','set','setWaitCount','updateCursorEvent','toggleOffline','registerHTTPInterceptor','PERMISSION_DENIED','SHOULD_CLOSE_CONN','Failed\x20to\x20update\x20permission\x20point','_state','readInt32LE','_pendingMutations','reset','unitId','&source=','formatter','createInstance','src','auth.needGotoLoginAlert','[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.','sin','_isPermissionRej','_onRemoteRejected','onCommentUpdate','online$','entries','_transformRemoteChangesetByStateCache','_disableEditing','_schedule','FileId','AWAITING','_createInitialStateImpl','_replaceFileID','_keySchedule','_append','_keyPriorReset','/universer-api/snapshot/','sendChangesetTimeout','MD5','YUUMI_URL_COL_OUT_OF_RANGE','OTHER_CLIENTS_EDITING','randomUUID','CLOSE_ROOM','abs','uniscriptRunEvent','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','memberID','101563KVCKfC','ciphertext','_clearLocalCache','function','then','SOCKET_FAILED','_decreaseWaiting','addImageSourceCache','algo','_minBufferSize','title','json','userID','BASE64','_updateState','originalMeta','JOIN_ROOM_FULL','UNIVER_DOC','file','_acknowledgedAwaitingChangeset','revision','_updateStatus','toString','words','infoRsp','_emitMembers','SUBMIT_CHANGESET_TIMEOUT','transformStack\x20failed!','retryConnectingInterval','updateMember','UNDEFINED','_clearUndo','_revisionService','headers','getWorkbookSelections','collaborators','_getRedoStack','getMemberID','error','send','get','socket\x20close','crypto','onRemoteRetry','setCurrentUser','transformChangesets','_onConnectionFailed','prototype','stopTime','toggleOnline','_iv','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CipherParams','_doProcessBlock','_eventService','commentUpdateEvent','exports','getValue','LICENSE_MAX_UNITS_EXCEEDED','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','transformUndoRedo','getConfig','_instanceService','_collabSessionService','BufferedBlockAlgorithm','_getDownloadEndpointURL','saveSnapshot','WordArray','HEARTBEAT_INTERVAL','saveChangeset','_commandService','Base64','_toggleOnline','_socket$','awaitingChangeset','url','_clearRetryConnectingTimer','isPermissionRej','removeMember','_onRecvEvent','_onLocalMutation','EvpKDF','decrypt','collaboratorID','range','actions','getSheetBlock','awaiting_with_pending','LOGIN_URL_KEY','getUnitOnRev','/object/','UNRECOGNIZED','members','SEND_CHANGESET_TIMEOUT','deepClone','key','_onUserJoin','ERROR_IMAGE','INTERNAL_ERROR','debug','has','fetchMiss','clamp','ceil','[CollaborationUndoRedoService]','UNIVER_UNKNOWN','copyFileMeta','sessionStatus$','CHANGESET_REVISION_CONFILICT','_tryEnsureSocket','awaiting','_startTelemetryCollaborationNewChangeset','FETCH_MISS','?url=','_key','allowed','UPDATE_PERMISSION_OBJ','_timeoutTimer','close$','USERS_ENTER','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','SUCCUSS','dispose$','socketService','resourceIDs','onMissedChangesetFetched','HttpImport','from','init','max','not_collab','authzUrl','[CollaborationSessionService]:\x20socket\x20error','_data','_logService','salt','OFFLINE','_resendWithTimeout','next','ERROR_EXCEED_SIZE','_onConflict','_rescheduleHeartbeat','reduce','_initDependencies','encrypt','_scheduleCollaborationTimeoutTimer','INVITE_CODE_REQUIRED','_transformSelections','x-univer-host','isArray','&assign=','UPDATE_CURSOR','NoPadding','getMember','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','target','Encryptor','/universer-api/user/session-ticket','_loadSheet','_unlockTransition','_getUploadFileURL','_commentService','getAllMembers','override','pending','_compressMutationService','_unitID','\x20-\x20','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_unitInfo$','getActiveSheet','joinEvent','getRoom','getCollabEntity','Error\x20on\x20receiving\x20event','PSEUDO_FETCH_MISSING_RESULT','unitID','compose','_lockTransition','join','csAckEvent','decryptBlock','complete','__creator','resolve','SHA1','onStateChange','onCommandExecuted','unsubscribe','UNAUTHENTICATED','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','APPLY_REJECT','localeService','reject','SYNCED','duration','subUnitId','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','SNAPSHOT_HAS_BEEN_REMOVED','_listenToNetworkCondition','Hasher','_queuedRemoteChangesets','UNIVER_PROJECT','PERMISSION_REJ','_substituteUndoStack','[OfflineState]:\x20received\x20acknowledgement.','CHANGESET_SHOULD_RETRY','_doFinalize','selections','routeKey','_waitForHeartbeatResponse','push','_transformStateCache','_socketService','add','unitInfo$','INVALID_ARGUMENT','onRemoteRej','params','failed\x20to\x20apply\x20missed\x20changesets!','_singleActiveUnitService','_sendingTimer','baseRev','blockSize','parse','updateOfflineData','/universer-api/comb','saveSheetBlock','_createHmacHelper','updateCollaborator','_xformMode','getResourcesRequest','saveImage','_tryReconnect','_retryConnectingTimer','asObservable','/unit/','HmacSHA1','objectActions','byteOffset','_resendTimer','getTypeOfUnitAdded$','members$','CONNECTOR_DATA_TOO_LARGE','COMPLETION_FINISHED','subject','_getCtorByUniverType','_onMessage','encryptBlock','_oKey','_showConflictNotification','_collaborationPaused','_transformService','_roomMembers','4668544DWXgLi','_sender','_initUnitPermissionChange','put','/universer-api/stream/file/upload','__esModule','2353822OleTvX','_transitionLocked','_changesetReqId','state$','ERROR_IMAGE_TYPE','workbook','LOGIN_FAILED','keySize','_awaitingChangeset','UNKNOWN_CODE','bind','telemetry\x20info\x20is\x20not\x20initialized','c2Prime','close','addHandlerCallback','synced','{fileID}','getUnitType','_entityInit$','_process','ws://127.0.0.1:8000/universer-api/comb/connect','_nDataBytes','onStarting','type','AES','RECV','HEARTBEAT','interceptor','Pkcs7','_collaborationSessionService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_applyRemoteChangeset','status','waitForRoom$','univer-pro.collaboration-client.network-condition.service','getInterceptPoints','JOINING','compute','\x0aAfter:\x20','POST','changesets','collabWebSocketUrl','getDeserializedSheetBlock','_initMergeInterceptor','image/jpeg','requireSession','status$','_clearTimeoutTimer','CHANGESET_ACK','localCacheService','_sessions','_injector','pipe','_getAPIPrefix','LICENSE_DISTRO_REJECTED','default','fetching\x20missing\x20changesets\x20from\x20','\x20to\x20','mode','onTransformSelections','ivSize','_collaborationTimeoutTimer','onlyLocal','_networkConditionService','method','change$','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','COMMENT_UPDATE','submit\x20changeset\x20error!','_ENC_XFORM_MODE','onTransformIME','Utf8','SerializableCipher','People','AUTHZ_URL_KEY','_onRemoteACK','eventID','9NZQpWW','connection\x20error','_imageSourceCache','UNISCRIPT_RUN','[SyncedState]:\x20received\x20rejection.','createCollaborator','getOwnPropertyDescriptor','/-/object/list','_startCollaboration','__Key__','_joinRoom','_sheetTransformSelectionsService','textRanges','_memberService','_httpService','buffer','HmacMD5','_initCloseConn','getCurrentSelections','session.room-not-exists','save\x20fail\x20reason\x20is\x20','disableLocalCache','[CollaborationSessionService]','Base','/rev/','liveShareNewHost','conflict','mixIn','pauseCollaboration','startTime','result','_map','_undoStacks','name','transformSelections','setShowComponents','IDLE','DEFAULT_FILE_NAME','getTime','_candidateSocket','_registerDependencies','collaboration-client.local-cache-service','_init','append','_localeService','[SyncedState]:\x20received\x20acknowledgement.','open$','_waitCount','updatePermissionObjEvent','padding','fetchMissingChangesets','findIndex','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','find','_config','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_removeRoom','_roomCreated$','event$','getCollabEntity$','_initRequestHeader','joinRsp','floor','SOCKET_FAILED_RETRY','unknown','ALREADY_EXISTS','getUnitId','requestParams','BlockCipher','Univer','onTransformState','updatePermissionPoint','Decryptor','_handler','onRemoteChangeset','APPLY_REVISION_CONFILICT','[PendingState]:\x20received\x20acknowledgement.','_socketReady','_event$','SNAPSHOT_SERVER_URL_KEY','collaboration_new_changeset','disposeWithMe','createSocket','/universer-api/authz','_getCurrentRevision','clear','code','FETCH_MISSING','m2Prime','session.room-full','clone','emitEvent','_resendTimeout','onMissingChangesets','_invKeySchedule','_socketMessageSubscription','putCollaborators','resend','OTHER_CLIENT_EDITING','_getLoginPath','hasOwnProperty','_getSendChangesetTimeout','FAIL','filter','_clearRedo','BlockCipherMode','now','[DataLoaderService]','transformMutationsWithChangeset','signUrlServerUrl','_handlerCallback','getUnitStatus$','onload','state','[OfflineState]:\x20received\x20changeset.','_createInitialState','_parse','string','csShouldRetryEvent','message$','_hash','getCurrentUser','call','_entities','onTransformRemoteChangesetByStateCache','[FetchMissState]','_mode','generateRandomId','COMPRESS_MUTATION_APPLY','_telemetryService','JOIN_ROOM_FAILED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_fetchMissChangesets','[CollaborationState]:\x20apply\x20error!','create','lib','createEncryptor','_userManagerService','encodeURIComponent','incrementRevOfUnit','_reverseMap','_snapshotServerService','_onRemoteRetry','_getSignURL','/fetchmissing?from=','_createHandler','image/jpg','37498730qhvtnh','objectType','getSnapshotAPIPath','onSyncEditingCollabCursor','_localCacheService','_throwTelemetryCollaborationNewChangeset','YUUMI_RATE_OVER_LIMIT','_cipher','_incrementRevisionNumber','INVITE_CODE_HAS_BEEN_UES','_telemetryInfo','permissionRejEvent','546dORyYD','sessionStatus','NOT_COLLAB'];_0x1dd5=function(){return _0xd3ae44;};return _0x1dd5();}let rt=class extends _0x14bef9{constructor(_0x3cab0c,_0x3a69a1,_0x2882df){var _0x421734=_0x3cf6fd;super(),N(this,_0x421734(0x26a),new Map()),N(this,_0x421734(0x1b3),new _0x455261()),N(this,'entityInit$',this[_0x421734(0x1b3)][_0x421734(0x188)]()),(this['_injector']=_0x3cab0c,this[_0x421734(0x3e9)]=_0x3a69a1,this[_0x421734(0x298)]=_0x2882df,this['_init']());}[_0x3cf6fd(0x2b8)](){var _0xd8be6c=_0x3cf6fd;super[_0xd8be6c(0x2b8)](),this[_0xd8be6c(0x26a)]['forEach'](_0x41d176=>_0x41d176[_0xd8be6c(0x2b8)]()),this[_0xd8be6c(0x26a)][_0xd8be6c(0x244)]();}[_0x3cf6fd(0x14a)](_0x1732d4){var _0x59ac6f=_0x3cf6fd,_0x3a8ac0;return(_0x3a8ac0=this['_entities'][_0x59ac6f(0x3d2)](_0x1732d4))!=null?_0x3a8ac0:null;}[_0x3cf6fd(0x22a)](_0x2182ef){var _0x5bef3d=_0x3cf6fd;const _0x580626=this[_0x5bef3d(0x14a)](_0x2182ef);return _0x580626?_0xd3dc96(_0x580626):this[_0x5bef3d(0x1b3)][_0x5bef3d(0x1d5)](_0x2753ea(_0x41769c=>_0x41769c[_0x5bef3d(0x14d)]===_0x2182ef));}['readyForCollab'](_0x3a5ea9){var _0x240fdf=_0x3cf6fd;return _0x2fc47a(this['getCollabEntity$'](_0x3a5ea9)[_0x240fdf(0x1d5)](_0x2ce134(()=>{})));}[_0x3cf6fd(0x219)](){var _0x55ff1b=_0x3cf6fd;this[_0x55ff1b(0x298)][_0x55ff1b(0x18e)](_0xc8f4f5[_0x55ff1b(0x2c8)])[_0x55ff1b(0x1d5)](_0xe2c667(this[_0x55ff1b(0x117)]),_0x28df58(0x10))[_0x55ff1b(0x301)](async _0x50723e=>{var _0x14cd70=_0x55ff1b;const _0x10117e=_0x50723e[_0x14cd70(0x231)](),_0x13be9e=await this['_startCollaboration'](_0x10117e,Q[_0x14cd70(0x2c8)]);this['_entities'][_0x14cd70(0x37c)](_0x10117e,_0x13be9e);}),this[_0x55ff1b(0x298)][_0x55ff1b(0x18e)](_0xc8f4f5[_0x55ff1b(0x3bb)])[_0x55ff1b(0x1d5)](_0xe2c667(this[_0x55ff1b(0x117)]),_0x28df58(0x10))['pipe'](_0x2753ea(_0x261fbd=>!_0x261fbd['getUnitId']()['startsWith']('__')))['subscribe'](async _0x1954ac=>{var _0x1b7fce=_0x55ff1b;const _0x24d05d=_0x1954ac[_0x1b7fce(0x231)](),_0x36b398=await this[_0x1b7fce(0x1f7)](_0x24d05d,Q[_0x1b7fce(0x3bb)]);this[_0x1b7fce(0x26a)]['set'](_0x24d05d,_0x36b398);}),_0x1b74d2(this[_0x55ff1b(0x298)]['getTypeOfUnitDisposed$'](_0xc8f4f5[_0x55ff1b(0x2c8)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xc8f4f5[_0x55ff1b(0x3bb)]))[_0x55ff1b(0x1d5)](_0xe2c667(this[_0x55ff1b(0x117)]))[_0x55ff1b(0x301)](_0xd84820=>{var _0x40879f=_0x55ff1b;const _0x571af6=_0xd84820['getUnitId'](),_0x218a74=this['_entities'][_0x40879f(0x3d2)](_0x571af6);_0x218a74&&(_0x218a74[_0x40879f(0x2b8)](),this[_0x40879f(0x26a)]['delete'](_0x571af6));});}async['_startCollaboration'](_0x314773,_0x26737b){var _0x1949ca=_0x3cf6fd;const _0x173396=await this[_0x1949ca(0x3e9)][_0x1949ca(0x1ce)](_0x314773),_0x3bf4d1=this[_0x1949ca(0x1d4)][_0x1949ca(0x38b)](this['_getCtorByUniverType'](_0x26737b),_0x314773,_0x26737b,_0x173396);return await _0x3bf4d1[_0x1949ca(0x11d)](),this[_0x1949ca(0x1b3)][_0x1949ca(0x127)](_0x3bf4d1),_0x3bf4d1;}[_0x3cf6fd(0x193)](_0x1bf19a){var _0x55ec43=_0x3cf6fd;switch(_0x1bf19a){case Q['UNIVER_DOC']:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error(_0x55ec43(0x2f8)+_0x1bf19a);}}};rt=cr([ft(0x0,_0x2a1c1e(_0x40a907)),ft(0x1,_0x2a1c1e(Le)),ft(0x2,_0x51776b)],rt);var hr=Object[_0x3cf6fd(0x1f5)],_r=(_0x397cac,_0x3d7c19,_0x394680,_0x3f89b4)=>{var _0xf52bda=_0x3cf6fd;for(var _0x3ee9a4=_0x3f89b4>0x1?void 0x0:_0x3f89b4?hr(_0x3d7c19,_0x394680):_0x3d7c19,_0x493943=_0x397cac[_0xf52bda(0x2a8)]-0x1,_0x1a26d5;_0x493943>=0x0;_0x493943--)(_0x1a26d5=_0x397cac[_0x493943])&&(_0x3ee9a4=_0x1a26d5(_0x3ee9a4)||_0x3ee9a4);return _0x3ee9a4;},zt=(_0x297080,_0x14cc71)=>(_0x4eb0b9,_0x227cd0)=>_0x14cc71(_0x4eb0b9,_0x227cd0,_0x297080);const lr=_0x3cf6fd(0x214),ur=_0x3cf6fd(0x234);let Ct=class extends _0xdb9023{constructor(_0x5c0986,_0x36bf2b){var _0x49b965=_0x3cf6fd;super(),this['_univerInstanceService']=_0x5c0986,this[_0x49b965(0x323)]=_0x36bf2b,this[_0x49b965(0x219)]();}[_0x3cf6fd(0x219)](){var _0x4653b6=_0x3cf6fd;this[_0x4653b6(0x240)](this[_0x4653b6(0x298)]['focused$'][_0x4653b6(0x301)](()=>{var _0x184b57=_0x4653b6,_0x427d55;const _0x33459f=this[_0x184b57(0x298)]['getFocusedUnit']();let _0x2cfb2e=(_0x427d55=this['_configService'][_0x184b57(0x3e7)](lr))!=null?_0x427d55:ur;_0x33459f instanceof _0x47c79a&&(_0x2cfb2e=_0x33459f['name']),document[_0x184b57(0x3b4)]=_0x2cfb2e;}));}};Ct=_r([zt(0x0,_0x51776b),zt(0x1,_0x403a68)],Ct);var dr=Object[_0x3cf6fd(0x1f5)],fr=(_0x46dfba,_0x393a2e,_0x97b104,_0x58a1b9)=>{for(var _0x36a55e=_0x58a1b9>0x1?void 0x0:_0x58a1b9?dr(_0x393a2e,_0x97b104):_0x393a2e,_0x29a953=_0x46dfba['length']-0x1,_0x32785c;_0x29a953>=0x0;_0x29a953--)(_0x32785c=_0x46dfba[_0x29a953])&&(_0x36a55e=_0x32785c(_0x36a55e)||_0x36a55e);return _0x36a55e;},vt=(_0x20bdd7,_0x388ff1)=>(_0x14e91e,_0xfeb4a3)=>_0x388ff1(_0x14e91e,_0xfeb4a3,_0x20bdd7);let st=class{constructor(_0x15ae7f,_0x23b0e7,_0x517322){var _0x3f81b5=_0x3cf6fd;this['_configService']=_0x15ae7f,this[_0x3f81b5(0x1fd)]=_0x23b0e7,this[_0x3f81b5(0x15d)]=_0x517322,this[_0x3f81b5(0x11d)]();}[_0x3cf6fd(0x11d)](){var _0xfad672=_0x3cf6fd;this[_0xfad672(0x1fd)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0xd36c1e,_0x381d02)=>_0x381d02(_0xd36c1e)[_0xfad672(0x1d5)](_0x465446(async _0x261c39=>{var _0x5e1c0e=_0xfad672;const _0x18a316=_0x261c39;if(_0x18a316[_0x5e1c0e(0x1c1)]===0x191){if(typeof window>'u')throw new Error(_0x5e1c0e(0x145));if(window[_0x5e1c0e(0x325)](this[_0x5e1c0e(0x15d)]['t'](_0x5e1c0e(0x38d)))){const _0x5713d4=window[_0x5e1c0e(0x279)](window[_0x5e1c0e(0x2ed)]['href']);window['location']['href']=this[_0x5e1c0e(0x252)]()+_0x5e1c0e(0x10e)+_0x5713d4;}}return _0x18a316;}))});}[_0x3cf6fd(0x252)](){var _0x5cec29=_0x3cf6fd,_0x353b7c,_0x5c67f6;const _0x32bee7=this['_configService'][_0x5cec29(0x3e7)](Un),_0x4e4acd=this['_configService'][_0x5cec29(0x3e7)](q);return(_0x5c67f6=(_0x353b7c=_0x4e4acd==null?void 0x0:_0x4e4acd['loginUrlKey'])!=null?_0x353b7c:_0x32bee7)!=null?_0x5c67f6:wn;}};st=fr([vt(0x0,_0x403a68),vt(0x1,_0x2a1c1e(_0x4238bf)),vt(0x2,_0x2a1c1e(_0x35fe7c))],st);var vr=Object[_0x3cf6fd(0x1f5)],pr=(_0x3a8481,_0x547e60,_0x1b7d24,_0x489aa4)=>{var _0x39f7a3=_0x3cf6fd;for(var _0x4dc275=_0x489aa4>0x1?void 0x0:_0x489aa4?vr(_0x547e60,_0x1b7d24):_0x547e60,_0x1f8978=_0x3a8481[_0x39f7a3(0x2a8)]-0x1,_0xd22111;_0x1f8978>=0x0;_0x1f8978--)(_0xd22111=_0x3a8481[_0x1f8978])&&(_0x4dc275=_0xd22111(_0x4dc275)||_0x4dc275);return _0x4dc275;},Jt=(_0xb7bec7,_0x4a7957)=>(_0x54dd6d,_0x5a8676)=>_0x4a7957(_0x54dd6d,_0x5a8676,_0xb7bec7);const Ni=_0x3cf6fd(0x1ec),mr=_0x3cf6fd(0x242);let Rt=class extends _0xdb9023{constructor(_0x5eed0c,_0x3a7e21){var _0x2f2013=_0x3cf6fd;super(),this[_0x2f2013(0x2a6)]=_0x5eed0c,this[_0x2f2013(0x323)]=_0x3a7e21,this[_0x2f2013(0x1cc)]();}[_0x3cf6fd(0x1cc)](){var _0x456bb7=_0x3cf6fd;const _0x40a960=this;this[_0x456bb7(0x240)](this[_0x456bb7(0x2a6)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x3771c8({'isMatch'(_0x49a70a){var _0x18175d=_0x456bb7,_0x22a3d8;if(_0x49a70a[_0x18175d(0x1e1)]===_0x18175d(0x1c8)&&((_0x22a3d8=_0x49a70a[_0x18175d(0x232)])!=null&&_0x22a3d8[_0x18175d(0x357)])){const {objectID:_0x12cb81,objectType:_0x13db98}=_0x49a70a[_0x18175d(0x232)][_0x18175d(0x357)]||{};if(!_0x12cb81||_0x13db98===void 0x0)return!0x1;const _0x23d348=_0x40a960[_0x18175d(0x2bb)]()+'/'+_0x13db98+_0x18175d(0x404)+_0x12cb81+_0x18175d(0x36f);if(_0x49a70a[_0x18175d(0x3f5)]===_0x23d348)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1157b3){var _0x1aaee1=_0x456bb7,_0x20a314;return(_0x20a314=_0x1157b3[_0x1aaee1(0x232)])==null?void 0x0:_0x20a314[_0x1aaee1(0x357)];},'mergeParamsToRequest'(_0x173ad2,_0x24b86c){var _0x2ca990=_0x456bb7;const _0x4403ab=_0x40a960[_0x2ca990(0x2bb)]()+_0x2ca990(0x33a),_0x184d7e=_0x173ad2[_0x2ca990(0x12b)]((_0xac3f83,_0x650aef)=>{const {unitID:_0xdc2ef2,objectID:_0x30f82c,objectType:_0x59775a,actions:_0x376296}=_0x650aef;return _0xac3f83[_0xdc2ef2]||(_0xac3f83[_0xdc2ef2]={}),_0xac3f83[_0xdc2ef2][_0x30f82c]||(_0xac3f83[_0xdc2ef2][_0x30f82c]={'objectID':_0x30f82c,'objectType':_0x59775a,'actions':[]}),_0xac3f83[_0xdc2ef2][_0x30f82c]['actions']['push'](..._0x376296),_0xac3f83;},{}),_0x53e39d=[];for(const _0x1d1704 in _0x184d7e)for(const _0xeaa71c in _0x184d7e[_0x1d1704]){const {actions:_0x154142,objectType:_0x1f7178}=_0x184d7e[_0x1d1704][_0xeaa71c],_0x518220=[...new Set(_0x154142)];_0x53e39d[_0x2ca990(0x170)]({'unitID':_0x1d1704,'objectID':_0xeaa71c,'objectType':_0x1f7178,'actions':_0x518220});}return new _0x601853(_0x2ca990(0x1c8),_0x4403ab,{'headers':_0x24b86c[_0x2ca990(0x3cb)],'withCredentials':_0x24b86c[_0x2ca990(0x2fe)],'responseType':_0x24b86c['responseType'],'body':{'requests':_0x53e39d}});}},{'distributeResult'(_0xae44e9,_0x498a3e){const {objectActions:_0x32ae30}=_0xae44e9;return _0x498a3e['map'](_0x5bb315=>{var _0x58cb01=_0x4cd0;const {unitID:_0x4123ea,objectID:_0x1e7694,actions:_0x4e16c0}=_0x5bb315,_0x55ad45=_0x32ae30[_0x58cb01(0x224)](_0x184d8c=>_0x184d8c[_0x58cb01(0x14d)]===_0x4123ea&&_0x184d8c[_0x58cb01(0x302)]===_0x1e7694),_0x3527da=_0x4e16c0[_0x58cb01(0x2ea)](_0x4c3e8a=>_0x55ad45==null?void 0x0:_0x55ad45[_0x58cb01(0x3ff)][_0x58cb01(0x224)](_0x1ea367=>_0x1ea367['action']===_0x4c3e8a))[_0x58cb01(0x256)](_0x32bc2f=>!!_0x32bc2f);return{'config':_0x5bb315,'result':{'actions':_0x3527da,'error':_0xae44e9[_0x58cb01(0x3d0)]}};});}})}));}[_0x3cf6fd(0x2bb)](){var _0x1c4502=_0x3cf6fd,_0x213e6a,_0x4a2dbb;const _0x24000b=this[_0x1c4502(0x323)][_0x1c4502(0x3e7)](Ni),_0x2b0110=this[_0x1c4502(0x323)]['getConfig'](q);return(_0x4a2dbb=(_0x213e6a=_0x2b0110==null?void 0x0:_0x2b0110[_0x1c4502(0x120)])!=null?_0x213e6a:_0x24000b)!=null?_0x4a2dbb:mr;}async[_0x3cf6fd(0x275)](_0x3deca8){var _0x9cd965=_0x3cf6fd;const _0x9acb14=this['_getAPIPrefixPath']()+'/'+_0x3deca8[_0x9cd965(0x283)]+_0x9cd965(0x29a);return(await this[_0x9cd965(0x2a6)]['post'](_0x9acb14,{'body':_0x3deca8}))['body'][_0x9cd965(0x302)]||'';}async['list'](_0x4e0ad0){var _0x4b9e34=_0x3cf6fd;const _0x2eeb31=this[_0x4b9e34(0x2bb)]()+_0x4b9e34(0x1f6);return(await this[_0x4b9e34(0x2a6)][_0x4b9e34(0x2b7)](_0x2eeb31,{'body':_0x4e0ad0}))[_0x4b9e34(0x357)]['objects'];}async['update'](_0x4fd65f){var _0x46be00=_0x3cf6fd,_0x52f2f4,_0x59d14f;const _0x390c39=this[_0x46be00(0x2bb)]()+'/'+_0x4fd65f[_0x46be00(0x283)]+'/object/'+_0x4fd65f[_0x46be00(0x302)],_0x173539=await this[_0x46be00(0x2a6)][_0x46be00(0x19e)](_0x390c39,{'body':_0x4fd65f});if(((_0x59d14f=(_0x52f2f4=_0x173539==null?void 0x0:_0x173539[_0x46be00(0x357)])==null?void 0x0:_0x52f2f4[_0x46be00(0x3d0)])==null?void 0x0:_0x59d14f[_0x46be00(0x245)])!==0x1)throw new Error(_0x46be00(0x383));}async[_0x3cf6fd(0x110)](_0x51e05f){var _0x18983a=_0x3cf6fd;const _0x44dabd=this['_getAPIPrefixPath']()+'/'+_0x51e05f['objectType']+_0x18983a(0x404)+_0x51e05f[_0x18983a(0x302)]+_0x18983a(0x36f);return(await this[_0x18983a(0x2a6)][_0x18983a(0x2b7)](_0x44dabd,{'body':_0x51e05f}))[_0x18983a(0x357)][_0x18983a(0x3ff)];}async[_0x3cf6fd(0x2e8)](_0x2fd2c3){var _0xf30a24=_0x3cf6fd;const _0x167af6=this[_0xf30a24(0x2bb)]()+_0xf30a24(0x33a);return(await this[_0xf30a24(0x2a6)][_0xf30a24(0x2b7)](_0x167af6,{'body':{'requests':_0x2fd2c3}}))[_0xf30a24(0x357)][_0xf30a24(0x18b)];}async[_0x3cf6fd(0x2e6)](_0x40a4f0){var _0x289817=_0x3cf6fd;const _0x3aa486=this[_0x289817(0x2bb)]()+'/'+_0x40a4f0['objectType']+'/role',_0x5b25d9=await this[_0x289817(0x2a6)][_0x289817(0x2b7)](_0x3aa486,{'body':_0x40a4f0});return{'roles':_0x5b25d9['body']['roles'],'actions':_0x5b25d9['body'][_0x289817(0x3ff)]};}async['deleteCollaborator'](_0x103a43){var _0x274903=_0x3cf6fd;const _0x20034e=this[_0x274903(0x2bb)]()+_0x274903(0x2b2);await this[_0x274903(0x2a6)][_0x274903(0x2ca)](_0x20034e,{'params':{'collaboratorID':_0x103a43[_0x274903(0x3fd)],'objectID':_0x103a43['objectID'],'unitID':_0x103a43[_0x274903(0x14d)]}});}async[_0x3cf6fd(0x182)](_0x533b13){var _0x4f3bd4=_0x3cf6fd;const _0x2bdb1f=this[_0x4f3bd4(0x2bb)]()+'/collaborator';await this[_0x4f3bd4(0x2a6)][_0x4f3bd4(0x31a)](_0x2bdb1f,{'body':_0x533b13});}async[_0x3cf6fd(0x1f4)](_0x5d0141){var _0x42c1b6=_0x3cf6fd;const _0xb84fd4=this[_0x42c1b6(0x2bb)]()+'/collaborator';await this[_0x42c1b6(0x2a6)][_0x42c1b6(0x2b7)](_0xb84fd4,{'body':_0x5d0141});}async[_0x3cf6fd(0x2da)](_0x4074e2){var _0x4c4259=_0x3cf6fd;const _0x48b8b7=this[_0x4c4259(0x2bb)]()+_0x4c4259(0x2b2);return(await this[_0x4c4259(0x2a6)][_0x4c4259(0x3d2)](_0x48b8b7,{'params':{'objectID':_0x4074e2[_0x4c4259(0x302)],'unitID':_0x4074e2[_0x4c4259(0x14d)]}}))['body'][_0x4c4259(0x3cd)];}async[_0x3cf6fd(0x24f)](_0x461faf){var _0x22aa3f=_0x3cf6fd;const _0x1cf268=this[_0x22aa3f(0x2bb)]()+'/collaborator';await this[_0x22aa3f(0x2a6)][_0x22aa3f(0x19e)](_0x1cf268,{'body':_0x461faf});}};Rt=pr([Jt(0x0,_0x2a1c1e(_0x4238bf)),Jt(0x1,_0x2a1c1e(_0x403a68))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x147dc5){var _0x4303af=_0x3cf6fd;return _0x147dc5&&_0x147dc5[_0x4303af(0x1a0)]&&Object[_0x4303af(0x3d9)]['hasOwnProperty']['call'](_0x147dc5,_0x4303af(0x1d8))?_0x147dc5[_0x4303af(0x1d8)]:_0x147dc5;}var Ve={'exports':{}};function gr(_0x2308f8){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2308f8+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Sr=Ge['exports'],Xt;function ie(){return Xt||(Xt=0x1,function(_0x11f7c4,_0x424f93){(function(_0x5b1bb3,_0x44a6dd){_0x11f7c4['exports']=_0x44a6dd();}(Sr,function(){var _0x2b44fe=_0x2b44fe||function(_0x59ff13,_0x2d0a52){var _0x44de13=_0x4cd0,_0x53e58;if(typeof window<'u'&&window[_0x44de13(0x3d4)]&&(_0x53e58=window['crypto']),typeof self<'u'&&self[_0x44de13(0x3d4)]&&(_0x53e58=self[_0x44de13(0x3d4)]),typeof globalThis<'u'&&globalThis[_0x44de13(0x3d4)]&&(_0x53e58=globalThis[_0x44de13(0x3d4)]),!_0x53e58&&typeof window<'u'&&window['msCrypto']&&(_0x53e58=window['msCrypto']),!_0x53e58&&typeof pt<'u'&&pt['crypto']&&(_0x53e58=pt[_0x44de13(0x3d4)]),!_0x53e58&&typeof gr==_0x44de13(0x3ad))try{_0x53e58=require(_0x44de13(0x3d4));}catch{}var _0x481a50=function(){var _0x16dc8f=_0x44de13;if(_0x53e58){if(typeof _0x53e58[_0x16dc8f(0x2a9)]==_0x16dc8f(0x3ad))try{return _0x53e58[_0x16dc8f(0x2a9)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x53e58[_0x16dc8f(0x369)]==_0x16dc8f(0x3ad))try{return _0x53e58[_0x16dc8f(0x369)](0x4)[_0x16dc8f(0x385)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x8b9a01=Object[_0x44de13(0x275)]||(function(){function _0x1f6b6f(){}return function(_0x97a356){var _0x1d1d29;return _0x1f6b6f['prototype']=_0x97a356,_0x1d1d29=new _0x1f6b6f(),_0x1f6b6f['prototype']=null,_0x1d1d29;};}()),_0x489ff0={},_0x1f3012=_0x489ff0[_0x44de13(0x276)]={},_0x1302b4=_0x1f3012[_0x44de13(0x206)]=(function(){return{'extend':function(_0x1e343e){var _0x1cec9a=_0x4cd0,_0x504953=_0x8b9a01(this);return _0x1e343e&&_0x504953[_0x1cec9a(0x20a)](_0x1e343e),(!_0x504953['hasOwnProperty']('init')||this[_0x1cec9a(0x11d)]===_0x504953[_0x1cec9a(0x11d)])&&(_0x504953[_0x1cec9a(0x11d)]=function(){var _0x54d111=_0x1cec9a;_0x504953[_0x54d111(0x366)]['init'][_0x54d111(0x2c4)](this,arguments);}),_0x504953[_0x1cec9a(0x11d)]['prototype']=_0x504953,_0x504953[_0x1cec9a(0x366)]=this,_0x504953;},'create':function(){var _0x1111d2=_0x4cd0,_0x354840=this['extend']();return _0x354840[_0x1111d2(0x11d)]['apply'](_0x354840,arguments),_0x354840;},'init':function(){},'mixIn':function(_0xc9c248){var _0x513afb=_0x4cd0;for(var _0x44caa1 in _0xc9c248)_0xc9c248[_0x513afb(0x253)](_0x44caa1)&&(this[_0x44caa1]=_0xc9c248[_0x44caa1]);_0xc9c248[_0x513afb(0x253)](_0x513afb(0x3c0))&&(this[_0x513afb(0x3c0)]=_0xc9c248[_0x513afb(0x3c0)]);},'clone':function(){var _0x54c742=_0x4cd0;return this[_0x54c742(0x11d)][_0x54c742(0x3d9)]['extend'](this);}};}()),_0x4d7017=_0x1f3012[_0x44de13(0x3ed)]=_0x1302b4[_0x44de13(0x2cd)]({'init':function(_0x4c5e3c,_0x260755){var _0x437d4a=_0x44de13;_0x4c5e3c=this[_0x437d4a(0x3c1)]=_0x4c5e3c||[],_0x260755!=_0x2d0a52?this[_0x437d4a(0x34c)]=_0x260755:this[_0x437d4a(0x34c)]=_0x4c5e3c['length']*0x4;},'toString':function(_0x1e4eac){return(_0x1e4eac||_0x5cbd53)['stringify'](this);},'concat':function(_0x47b7ef){var _0x45cd5c=_0x44de13,_0x1a3dac=this['words'],_0x597be5=_0x47b7ef[_0x45cd5c(0x3c1)],_0x759ccb=this[_0x45cd5c(0x34c)],_0x1b82cc=_0x47b7ef[_0x45cd5c(0x34c)];if(this['clamp'](),_0x759ccb%0x4)for(var _0x1744e6=0x0;_0x1744e6<_0x1b82cc;_0x1744e6++){var _0x18eb5c=_0x597be5[_0x1744e6>>>0x2]>>>0x18-_0x1744e6%0x4*0x8&0xff;_0x1a3dac[_0x759ccb+_0x1744e6>>>0x2]|=_0x18eb5c<<0x18-(_0x759ccb+_0x1744e6)%0x4*0x8;}else{for(var _0x3becc5=0x0;_0x3becc5<_0x1b82cc;_0x3becc5+=0x4)_0x1a3dac[_0x759ccb+_0x3becc5>>>0x2]=_0x597be5[_0x3becc5>>>0x2];}return this['sigBytes']+=_0x1b82cc,this;},'clamp':function(){var _0x403eb4=_0x44de13,_0x39c155=this[_0x403eb4(0x3c1)],_0x5422c0=this['sigBytes'];_0x39c155[_0x5422c0>>>0x2]&=0xffffffff<<0x20-_0x5422c0%0x4*0x8,_0x39c155[_0x403eb4(0x2a8)]=_0x59ff13[_0x403eb4(0x104)](_0x5422c0/0x4);},'clone':function(){var _0x154151=_0x44de13,_0x153c3a=_0x1302b4[_0x154151(0x249)]['call'](this);return _0x153c3a[_0x154151(0x3c1)]=this[_0x154151(0x3c1)][_0x154151(0x33c)](0x0),_0x153c3a;},'random':function(_0x4d48ad){var _0x28767b=_0x44de13;for(var _0x4d9f90=[],_0x5bf24d=0x0;_0x5bf24d<_0x4d48ad;_0x5bf24d+=0x4)_0x4d9f90['push'](_0x481a50());return new _0x4d7017[(_0x28767b(0x11d))](_0x4d9f90,_0x4d48ad);}}),_0xefdeac=_0x489ff0[_0x44de13(0x372)]={},_0x5cbd53=_0xefdeac[_0x44de13(0x36d)]={'stringify':function(_0x41267c){var _0x53dc3a=_0x44de13;for(var _0x363255=_0x41267c[_0x53dc3a(0x3c1)],_0x3ddf5e=_0x41267c[_0x53dc3a(0x34c)],_0x4da8f7=[],_0x23814c=0x0;_0x23814c<_0x3ddf5e;_0x23814c++){var _0x40567a=_0x363255[_0x23814c>>>0x2]>>>0x18-_0x23814c%0x4*0x8&0xff;_0x4da8f7[_0x53dc3a(0x170)]((_0x40567a>>>0x4)['toString'](0x10)),_0x4da8f7[_0x53dc3a(0x170)]((_0x40567a&0xf)[_0x53dc3a(0x3c0)](0x10));}return _0x4da8f7[_0x53dc3a(0x150)]('');},'parse':function(_0x47ab6f){var _0x35e853=_0x44de13;for(var _0x55f481=_0x47ab6f['length'],_0x5f2ab9=[],_0x21569a=0x0;_0x21569a<_0x55f481;_0x21569a+=0x2)_0x5f2ab9[_0x21569a>>>0x3]|=parseInt(_0x47ab6f[_0x35e853(0x37b)](_0x21569a,0x2),0x10)<<0x18-_0x21569a%0x8*0x4;return new _0x4d7017[(_0x35e853(0x11d))](_0x5f2ab9,_0x55f481/0x2);}},_0x360442=_0xefdeac[_0x44de13(0x2b0)]={'stringify':function(_0x53edd4){var _0x45ec2b=_0x44de13;for(var _0x6bbfb3=_0x53edd4[_0x45ec2b(0x3c1)],_0x47554c=_0x53edd4['sigBytes'],_0x25ee88=[],_0x5ac46e=0x0;_0x5ac46e<_0x47554c;_0x5ac46e++){var _0x4147f6=_0x6bbfb3[_0x5ac46e>>>0x2]>>>0x18-_0x5ac46e%0x4*0x8&0xff;_0x25ee88[_0x45ec2b(0x170)](String[_0x45ec2b(0x321)](_0x4147f6));}return _0x25ee88['join']('');},'parse':function(_0x44a2f7){var _0xc8e3a3=_0x44de13;for(var _0xf5a511=_0x44a2f7[_0xc8e3a3(0x2a8)],_0x4761fe=[],_0x3db72c=0x0;_0x3db72c<_0xf5a511;_0x3db72c++)_0x4761fe[_0x3db72c>>>0x2]|=(_0x44a2f7['charCodeAt'](_0x3db72c)&0xff)<<0x18-_0x3db72c%0x4*0x8;return new _0x4d7017['init'](_0x4761fe,_0xf5a511);}},_0x2acf9d=_0xefdeac[_0x44de13(0x1e9)]={'stringify':function(_0x4ea64a){var _0x27dc2c=_0x44de13;try{return decodeURIComponent(escape(_0x360442[_0x27dc2c(0x35c)](_0x4ea64a)));}catch{throw new Error(_0x27dc2c(0x2d0));}},'parse':function(_0x3189e1){return _0x360442['parse'](unescape(encodeURIComponent(_0x3189e1)));}},_0x4f1a6c=_0x1f3012[_0x44de13(0x3ea)]=_0x1302b4[_0x44de13(0x2cd)]({'reset':function(){var _0x3aae74=_0x44de13;this[_0x3aae74(0x122)]=new _0x4d7017[(_0x3aae74(0x11d))](),this[_0x3aae74(0x1b6)]=0x0;},'_append':function(_0x20b4a8){var _0x5b97a9=_0x44de13;typeof _0x20b4a8=='string'&&(_0x20b4a8=_0x2acf9d[_0x5b97a9(0x17d)](_0x20b4a8)),this[_0x5b97a9(0x122)][_0x5b97a9(0x32d)](_0x20b4a8),this['_nDataBytes']+=_0x20b4a8[_0x5b97a9(0x34c)];},'_process':function(_0x45db79){var _0x582fb9=_0x44de13,_0x57059d,_0x183d8c=this[_0x582fb9(0x122)],_0x19ebb4=_0x183d8c[_0x582fb9(0x3c1)],_0x1e8d6a=_0x183d8c[_0x582fb9(0x34c)],_0x38c15e=this[_0x582fb9(0x17c)],_0x312ae3=_0x38c15e*0x4,_0xe4ce85=_0x1e8d6a/_0x312ae3;_0x45db79?_0xe4ce85=_0x59ff13[_0x582fb9(0x104)](_0xe4ce85):_0xe4ce85=_0x59ff13[_0x582fb9(0x11e)]((_0xe4ce85|0x0)-this['_minBufferSize'],0x0);var _0x8a98a3=_0xe4ce85*_0x38c15e,_0x34e7d1=_0x59ff13[_0x582fb9(0x291)](_0x8a98a3*0x4,_0x1e8d6a);if(_0x8a98a3){for(var _0x4c9ac8=0x0;_0x4c9ac8<_0x8a98a3;_0x4c9ac8+=_0x38c15e)this[_0x582fb9(0x3df)](_0x19ebb4,_0x4c9ac8);_0x57059d=_0x19ebb4[_0x582fb9(0x2f1)](0x0,_0x8a98a3),_0x183d8c['sigBytes']-=_0x34e7d1;}return new _0x4d7017['init'](_0x57059d,_0x34e7d1);},'clone':function(){var _0x312688=_0x44de13,_0x2016bc=_0x1302b4['clone']['call'](this);return _0x2016bc[_0x312688(0x122)]=this[_0x312688(0x122)][_0x312688(0x249)](),_0x2016bc;},'_minBufferSize':0x0});_0x1f3012['Hasher']=_0x4f1a6c['extend']({'cfg':_0x1302b4['extend'](),'init':function(_0x34bb5e){var _0x13f614=_0x44de13;this['cfg']=this['cfg'][_0x13f614(0x2cd)](_0x34bb5e),this[_0x13f614(0x387)]();},'reset':function(){var _0xb61284=_0x44de13;_0x4f1a6c['reset'][_0xb61284(0x269)](this),this[_0xb61284(0x320)]();},'update':function(_0x351a28){var _0x5a3aec=_0x44de13;return this[_0x5a3aec(0x39d)](_0x351a28),this[_0x5a3aec(0x1b4)](),this;},'finalize':function(_0x488208){var _0x459471=_0x44de13;_0x488208&&this[_0x459471(0x39d)](_0x488208);var _0x20c56b=this['_doFinalize']();return _0x20c56b;},'blockSize':0x10,'_createHelper':function(_0x35c974){return function(_0x4dc8b9,_0x3698e1){var _0x48c6dc=_0x4cd0;return new _0x35c974['init'](_0x3698e1)[_0x48c6dc(0x2db)](_0x4dc8b9);};},'_createHmacHelper':function(_0x307ea0){return function(_0x5a9be3,_0x45b98e){var _0x4fec85=_0x4cd0;return new _0x381238['HMAC'][(_0x4fec85(0x11d))](_0x307ea0,_0x45b98e)['finalize'](_0x5a9be3);};}});var _0x381238=_0x489ff0[_0x44de13(0x3b2)]={};return _0x489ff0;}(Math);return _0x2b44fe;}));}(Ge)),Ge['exports'];}var We={'exports':{}},Er=We[_0x3cf6fd(0x3e2)],Zt;function Di(){var _0x1c81b4=_0x3cf6fd;return Zt||(Zt=0x1,function(_0x3b0f5c,_0x431647){(function(_0x5c288a,_0x55d5e8){_0x3b0f5c['exports']=_0x55d5e8(ie());}(Er,function(_0x585391){var _0x55ac10=_0x4cd0;return(function(){var _0x2a4ab1=_0x4cd0,_0x377ea9=_0x585391,_0x3ee35e=_0x377ea9[_0x2a4ab1(0x276)],_0x1e5c01=_0x3ee35e[_0x2a4ab1(0x3ed)],_0x3feb93=_0x377ea9[_0x2a4ab1(0x372)];_0x3feb93[_0x2a4ab1(0x3f1)]={'stringify':function(_0x365dba){var _0x484a27=_0x2a4ab1,_0x4f0458=_0x365dba[_0x484a27(0x3c1)],_0x170c94=_0x365dba[_0x484a27(0x34c)],_0x3ac970=this[_0x484a27(0x20e)];_0x365dba[_0x484a27(0x103)]();for(var _0x371a6a=[],_0x2ce4ce=0x0;_0x2ce4ce<_0x170c94;_0x2ce4ce+=0x3)for(var _0x3ec7cb=_0x4f0458[_0x2ce4ce>>>0x2]>>>0x18-_0x2ce4ce%0x4*0x8&0xff,_0x548350=_0x4f0458[_0x2ce4ce+0x1>>>0x2]>>>0x18-(_0x2ce4ce+0x1)%0x4*0x8&0xff,_0x5549d0=_0x4f0458[_0x2ce4ce+0x2>>>0x2]>>>0x18-(_0x2ce4ce+0x2)%0x4*0x8&0xff,_0x4ed751=_0x3ec7cb<<0x10|_0x548350<<0x8|_0x5549d0,_0x1706e4=0x0;_0x1706e4<0x4&&_0x2ce4ce+_0x1706e4*0.75<_0x170c94;_0x1706e4++)_0x371a6a['push'](_0x3ac970[_0x484a27(0x33d)](_0x4ed751>>>0x6*(0x3-_0x1706e4)&0x3f));var _0x2d7185=_0x3ac970[_0x484a27(0x33d)](0x40);if(_0x2d7185){for(;_0x371a6a[_0x484a27(0x2a8)]%0x4;)_0x371a6a[_0x484a27(0x170)](_0x2d7185);}return _0x371a6a['join']('');},'parse':function(_0x348dc6){var _0x454150=_0x2a4ab1,_0x372333=_0x348dc6[_0x454150(0x2a8)],_0x27c4c8=this['_map'],_0x5ee234=this[_0x454150(0x27b)];if(!_0x5ee234){_0x5ee234=this[_0x454150(0x27b)]=[];for(var _0x11b946=0x0;_0x11b946<_0x27c4c8[_0x454150(0x2a8)];_0x11b946++)_0x5ee234[_0x27c4c8['charCodeAt'](_0x11b946)]=_0x11b946;}var _0x2047e6=_0x27c4c8[_0x454150(0x33d)](0x40);if(_0x2047e6){var _0x679bfd=_0x348dc6['indexOf'](_0x2047e6);_0x679bfd!==-0x1&&(_0x372333=_0x679bfd);}return _0x36a111(_0x348dc6,_0x372333,_0x5ee234);},'_map':_0x2a4ab1(0x115)};function _0x36a111(_0x57ab02,_0x2e5140,_0x7b1b35){var _0x37bc8f=_0x2a4ab1;for(var _0x536772=[],_0x5370b0=0x0,_0x46b201=0x0;_0x46b201<_0x2e5140;_0x46b201++)if(_0x46b201%0x4){var _0xcf4408=_0x7b1b35[_0x57ab02[_0x37bc8f(0x328)](_0x46b201-0x1)]<<_0x46b201%0x4*0x2,_0x3ae5b3=_0x7b1b35[_0x57ab02['charCodeAt'](_0x46b201)]>>>0x6-_0x46b201%0x4*0x2,_0x5cd089=_0xcf4408|_0x3ae5b3;_0x536772[_0x5370b0>>>0x2]|=_0x5cd089<<0x18-_0x5370b0%0x4*0x8,_0x5370b0++;}return _0x1e5c01[_0x37bc8f(0x275)](_0x536772,_0x5370b0);}}()),_0x585391[_0x55ac10(0x372)][_0x55ac10(0x3f1)];}));}(We)),We[_0x1c81b4(0x3e2)];}var Ke={'exports':{}},Ir=Ke[_0x3cf6fd(0x3e2)],Qt;function Tr(){var _0x203440=_0x3cf6fd;return Qt||(Qt=0x1,function(_0x4e621b,_0x2720a2){(function(_0x1e3611,_0x8ec791){var _0x5a29e9=_0x4cd0;_0x4e621b[_0x5a29e9(0x3e2)]=_0x8ec791(ie());}(Ir,function(_0x16f0f1){var _0x24e0c4=_0x4cd0;return function(_0x3944bc){var _0x3d6bb8=_0x4cd0,_0x55d1a5=_0x16f0f1,_0x11a560=_0x55d1a5[_0x3d6bb8(0x276)],_0x5d18dd=_0x11a560[_0x3d6bb8(0x3ed)],_0x29b8a5=_0x11a560[_0x3d6bb8(0x165)],_0x768eae=_0x55d1a5[_0x3d6bb8(0x3b2)],_0x578b24=[];(function(){var _0x16a6ae=_0x3d6bb8;for(var _0x1aa4b2=0x0;_0x1aa4b2<0x40;_0x1aa4b2++)_0x578b24[_0x1aa4b2]=_0x3944bc[_0x16a6ae(0x3a6)](_0x3944bc[_0x16a6ae(0x38f)](_0x1aa4b2+0x1))*0x100000000|0x0;}());var _0x2e30d0=_0x768eae[_0x3d6bb8(0x3a1)]=_0x29b8a5[_0x3d6bb8(0x2cd)]({'_doReset':function(){this['_hash']=new _0x5d18dd['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1310a0,_0x4e0e7c){var _0x4492a3=_0x3d6bb8;for(var _0x1163fd=0x0;_0x1163fd<0x10;_0x1163fd++){var _0x3b89ed=_0x4e0e7c+_0x1163fd,_0x1bde6e=_0x1310a0[_0x3b89ed];_0x1310a0[_0x3b89ed]=(_0x1bde6e<<0x8|_0x1bde6e>>>0x18)&0xff00ff|(_0x1bde6e<<0x18|_0x1bde6e>>>0x8)&0xff00ff00;}var _0x362f2=this[_0x4492a3(0x267)][_0x4492a3(0x3c1)],_0x315544=_0x1310a0[_0x4e0e7c+0x0],_0x3b0bc=_0x1310a0[_0x4e0e7c+0x1],_0x48802f=_0x1310a0[_0x4e0e7c+0x2],_0x18ed21=_0x1310a0[_0x4e0e7c+0x3],_0x1834b4=_0x1310a0[_0x4e0e7c+0x4],_0x5a66a2=_0x1310a0[_0x4e0e7c+0x5],_0x5546ab=_0x1310a0[_0x4e0e7c+0x6],_0x35804c=_0x1310a0[_0x4e0e7c+0x7],_0x6e2efb=_0x1310a0[_0x4e0e7c+0x8],_0x4c2db0=_0x1310a0[_0x4e0e7c+0x9],_0x526e8e=_0x1310a0[_0x4e0e7c+0xa],_0x170ad7=_0x1310a0[_0x4e0e7c+0xb],_0x4c7fc0=_0x1310a0[_0x4e0e7c+0xc],_0x2f2817=_0x1310a0[_0x4e0e7c+0xd],_0xa2f6e4=_0x1310a0[_0x4e0e7c+0xe],_0x24352a=_0x1310a0[_0x4e0e7c+0xf],_0x3a6830=_0x362f2[0x0],_0x492661=_0x362f2[0x1],_0x363e16=_0x362f2[0x2],_0x48ff95=_0x362f2[0x3];_0x3a6830=_0x35e6f3(_0x3a6830,_0x492661,_0x363e16,_0x48ff95,_0x315544,0x7,_0x578b24[0x0]),_0x48ff95=_0x35e6f3(_0x48ff95,_0x3a6830,_0x492661,_0x363e16,_0x3b0bc,0xc,_0x578b24[0x1]),_0x363e16=_0x35e6f3(_0x363e16,_0x48ff95,_0x3a6830,_0x492661,_0x48802f,0x11,_0x578b24[0x2]),_0x492661=_0x35e6f3(_0x492661,_0x363e16,_0x48ff95,_0x3a6830,_0x18ed21,0x16,_0x578b24[0x3]),_0x3a6830=_0x35e6f3(_0x3a6830,_0x492661,_0x363e16,_0x48ff95,_0x1834b4,0x7,_0x578b24[0x4]),_0x48ff95=_0x35e6f3(_0x48ff95,_0x3a6830,_0x492661,_0x363e16,_0x5a66a2,0xc,_0x578b24[0x5]),_0x363e16=_0x35e6f3(_0x363e16,_0x48ff95,_0x3a6830,_0x492661,_0x5546ab,0x11,_0x578b24[0x6]),_0x492661=_0x35e6f3(_0x492661,_0x363e16,_0x48ff95,_0x3a6830,_0x35804c,0x16,_0x578b24[0x7]),_0x3a6830=_0x35e6f3(_0x3a6830,_0x492661,_0x363e16,_0x48ff95,_0x6e2efb,0x7,_0x578b24[0x8]),_0x48ff95=_0x35e6f3(_0x48ff95,_0x3a6830,_0x492661,_0x363e16,_0x4c2db0,0xc,_0x578b24[0x9]),_0x363e16=_0x35e6f3(_0x363e16,_0x48ff95,_0x3a6830,_0x492661,_0x526e8e,0x11,_0x578b24[0xa]),_0x492661=_0x35e6f3(_0x492661,_0x363e16,_0x48ff95,_0x3a6830,_0x170ad7,0x16,_0x578b24[0xb]),_0x3a6830=_0x35e6f3(_0x3a6830,_0x492661,_0x363e16,_0x48ff95,_0x4c7fc0,0x7,_0x578b24[0xc]),_0x48ff95=_0x35e6f3(_0x48ff95,_0x3a6830,_0x492661,_0x363e16,_0x2f2817,0xc,_0x578b24[0xd]),_0x363e16=_0x35e6f3(_0x363e16,_0x48ff95,_0x3a6830,_0x492661,_0xa2f6e4,0x11,_0x578b24[0xe]),_0x492661=_0x35e6f3(_0x492661,_0x363e16,_0x48ff95,_0x3a6830,_0x24352a,0x16,_0x578b24[0xf]),_0x3a6830=_0x415a10(_0x3a6830,_0x492661,_0x363e16,_0x48ff95,_0x3b0bc,0x5,_0x578b24[0x10]),_0x48ff95=_0x415a10(_0x48ff95,_0x3a6830,_0x492661,_0x363e16,_0x5546ab,0x9,_0x578b24[0x11]),_0x363e16=_0x415a10(_0x363e16,_0x48ff95,_0x3a6830,_0x492661,_0x170ad7,0xe,_0x578b24[0x12]),_0x492661=_0x415a10(_0x492661,_0x363e16,_0x48ff95,_0x3a6830,_0x315544,0x14,_0x578b24[0x13]),_0x3a6830=_0x415a10(_0x3a6830,_0x492661,_0x363e16,_0x48ff95,_0x5a66a2,0x5,_0x578b24[0x14]),_0x48ff95=_0x415a10(_0x48ff95,_0x3a6830,_0x492661,_0x363e16,_0x526e8e,0x9,_0x578b24[0x15]),_0x363e16=_0x415a10(_0x363e16,_0x48ff95,_0x3a6830,_0x492661,_0x24352a,0xe,_0x578b24[0x16]),_0x492661=_0x415a10(_0x492661,_0x363e16,_0x48ff95,_0x3a6830,_0x1834b4,0x14,_0x578b24[0x17]),_0x3a6830=_0x415a10(_0x3a6830,_0x492661,_0x363e16,_0x48ff95,_0x4c2db0,0x5,_0x578b24[0x18]),_0x48ff95=_0x415a10(_0x48ff95,_0x3a6830,_0x492661,_0x363e16,_0xa2f6e4,0x9,_0x578b24[0x19]),_0x363e16=_0x415a10(_0x363e16,_0x48ff95,_0x3a6830,_0x492661,_0x18ed21,0xe,_0x578b24[0x1a]),_0x492661=_0x415a10(_0x492661,_0x363e16,_0x48ff95,_0x3a6830,_0x6e2efb,0x14,_0x578b24[0x1b]),_0x3a6830=_0x415a10(_0x3a6830,_0x492661,_0x363e16,_0x48ff95,_0x2f2817,0x5,_0x578b24[0x1c]),_0x48ff95=_0x415a10(_0x48ff95,_0x3a6830,_0x492661,_0x363e16,_0x48802f,0x9,_0x578b24[0x1d]),_0x363e16=_0x415a10(_0x363e16,_0x48ff95,_0x3a6830,_0x492661,_0x35804c,0xe,_0x578b24[0x1e]),_0x492661=_0x415a10(_0x492661,_0x363e16,_0x48ff95,_0x3a6830,_0x4c7fc0,0x14,_0x578b24[0x1f]),_0x3a6830=_0x21895c(_0x3a6830,_0x492661,_0x363e16,_0x48ff95,_0x5a66a2,0x4,_0x578b24[0x20]),_0x48ff95=_0x21895c(_0x48ff95,_0x3a6830,_0x492661,_0x363e16,_0x6e2efb,0xb,_0x578b24[0x21]),_0x363e16=_0x21895c(_0x363e16,_0x48ff95,_0x3a6830,_0x492661,_0x170ad7,0x10,_0x578b24[0x22]),_0x492661=_0x21895c(_0x492661,_0x363e16,_0x48ff95,_0x3a6830,_0xa2f6e4,0x17,_0x578b24[0x23]),_0x3a6830=_0x21895c(_0x3a6830,_0x492661,_0x363e16,_0x48ff95,_0x3b0bc,0x4,_0x578b24[0x24]),_0x48ff95=_0x21895c(_0x48ff95,_0x3a6830,_0x492661,_0x363e16,_0x1834b4,0xb,_0x578b24[0x25]),_0x363e16=_0x21895c(_0x363e16,_0x48ff95,_0x3a6830,_0x492661,_0x35804c,0x10,_0x578b24[0x26]),_0x492661=_0x21895c(_0x492661,_0x363e16,_0x48ff95,_0x3a6830,_0x526e8e,0x17,_0x578b24[0x27]),_0x3a6830=_0x21895c(_0x3a6830,_0x492661,_0x363e16,_0x48ff95,_0x2f2817,0x4,_0x578b24[0x28]),_0x48ff95=_0x21895c(_0x48ff95,_0x3a6830,_0x492661,_0x363e16,_0x315544,0xb,_0x578b24[0x29]),_0x363e16=_0x21895c(_0x363e16,_0x48ff95,_0x3a6830,_0x492661,_0x18ed21,0x10,_0x578b24[0x2a]),_0x492661=_0x21895c(_0x492661,_0x363e16,_0x48ff95,_0x3a6830,_0x5546ab,0x17,_0x578b24[0x2b]),_0x3a6830=_0x21895c(_0x3a6830,_0x492661,_0x363e16,_0x48ff95,_0x4c2db0,0x4,_0x578b24[0x2c]),_0x48ff95=_0x21895c(_0x48ff95,_0x3a6830,_0x492661,_0x363e16,_0x4c7fc0,0xb,_0x578b24[0x2d]),_0x363e16=_0x21895c(_0x363e16,_0x48ff95,_0x3a6830,_0x492661,_0x24352a,0x10,_0x578b24[0x2e]),_0x492661=_0x21895c(_0x492661,_0x363e16,_0x48ff95,_0x3a6830,_0x48802f,0x17,_0x578b24[0x2f]),_0x3a6830=_0x1d8488(_0x3a6830,_0x492661,_0x363e16,_0x48ff95,_0x315544,0x6,_0x578b24[0x30]),_0x48ff95=_0x1d8488(_0x48ff95,_0x3a6830,_0x492661,_0x363e16,_0x35804c,0xa,_0x578b24[0x31]),_0x363e16=_0x1d8488(_0x363e16,_0x48ff95,_0x3a6830,_0x492661,_0xa2f6e4,0xf,_0x578b24[0x32]),_0x492661=_0x1d8488(_0x492661,_0x363e16,_0x48ff95,_0x3a6830,_0x5a66a2,0x15,_0x578b24[0x33]),_0x3a6830=_0x1d8488(_0x3a6830,_0x492661,_0x363e16,_0x48ff95,_0x4c7fc0,0x6,_0x578b24[0x34]),_0x48ff95=_0x1d8488(_0x48ff95,_0x3a6830,_0x492661,_0x363e16,_0x18ed21,0xa,_0x578b24[0x35]),_0x363e16=_0x1d8488(_0x363e16,_0x48ff95,_0x3a6830,_0x492661,_0x526e8e,0xf,_0x578b24[0x36]),_0x492661=_0x1d8488(_0x492661,_0x363e16,_0x48ff95,_0x3a6830,_0x3b0bc,0x15,_0x578b24[0x37]),_0x3a6830=_0x1d8488(_0x3a6830,_0x492661,_0x363e16,_0x48ff95,_0x6e2efb,0x6,_0x578b24[0x38]),_0x48ff95=_0x1d8488(_0x48ff95,_0x3a6830,_0x492661,_0x363e16,_0x24352a,0xa,_0x578b24[0x39]),_0x363e16=_0x1d8488(_0x363e16,_0x48ff95,_0x3a6830,_0x492661,_0x5546ab,0xf,_0x578b24[0x3a]),_0x492661=_0x1d8488(_0x492661,_0x363e16,_0x48ff95,_0x3a6830,_0x2f2817,0x15,_0x578b24[0x3b]),_0x3a6830=_0x1d8488(_0x3a6830,_0x492661,_0x363e16,_0x48ff95,_0x1834b4,0x6,_0x578b24[0x3c]),_0x48ff95=_0x1d8488(_0x48ff95,_0x3a6830,_0x492661,_0x363e16,_0x170ad7,0xa,_0x578b24[0x3d]),_0x363e16=_0x1d8488(_0x363e16,_0x48ff95,_0x3a6830,_0x492661,_0x48802f,0xf,_0x578b24[0x3e]),_0x492661=_0x1d8488(_0x492661,_0x363e16,_0x48ff95,_0x3a6830,_0x4c2db0,0x15,_0x578b24[0x3f]),_0x362f2[0x0]=_0x362f2[0x0]+_0x3a6830|0x0,_0x362f2[0x1]=_0x362f2[0x1]+_0x492661|0x0,_0x362f2[0x2]=_0x362f2[0x2]+_0x363e16|0x0,_0x362f2[0x3]=_0x362f2[0x3]+_0x48ff95|0x0;},'_doFinalize':function(){var _0x181001=_0x3d6bb8,_0x522dba=this['_data'],_0x498a6b=_0x522dba[_0x181001(0x3c1)],_0x5c45c3=this[_0x181001(0x1b6)]*0x8,_0x3daab0=_0x522dba[_0x181001(0x34c)]*0x8;_0x498a6b[_0x3daab0>>>0x5]|=0x80<<0x18-_0x3daab0%0x20;var _0x15a313=_0x3944bc[_0x181001(0x22d)](_0x5c45c3/0x100000000),_0x156b58=_0x5c45c3;_0x498a6b[(_0x3daab0+0x40>>>0x9<<0x4)+0xf]=(_0x15a313<<0x8|_0x15a313>>>0x18)&0xff00ff|(_0x15a313<<0x18|_0x15a313>>>0x8)&0xff00ff00,_0x498a6b[(_0x3daab0+0x40>>>0x9<<0x4)+0xe]=(_0x156b58<<0x8|_0x156b58>>>0x18)&0xff00ff|(_0x156b58<<0x18|_0x156b58>>>0x8)&0xff00ff00,_0x522dba[_0x181001(0x34c)]=(_0x498a6b[_0x181001(0x2a8)]+0x1)*0x4,this[_0x181001(0x1b4)]();for(var _0x329c94=this[_0x181001(0x267)],_0x441697=_0x329c94[_0x181001(0x3c1)],_0x47a4c1=0x0;_0x47a4c1<0x4;_0x47a4c1++){var _0x2741f9=_0x441697[_0x47a4c1];_0x441697[_0x47a4c1]=(_0x2741f9<<0x8|_0x2741f9>>>0x18)&0xff00ff|(_0x2741f9<<0x18|_0x2741f9>>>0x8)&0xff00ff00;}return _0x329c94;},'clone':function(){var _0x47310b=_0x3d6bb8,_0x30356=_0x29b8a5[_0x47310b(0x249)]['call'](this);return _0x30356[_0x47310b(0x267)]=this[_0x47310b(0x267)][_0x47310b(0x249)](),_0x30356;}});function _0x35e6f3(_0x331022,_0x1b3c25,_0x5e7d2f,_0x3425b5,_0x36cd48,_0x170a40,_0x1a5f93){var _0x52924f=_0x331022+(_0x1b3c25&_0x5e7d2f|~_0x1b3c25&_0x3425b5)+_0x36cd48+_0x1a5f93;return(_0x52924f<<_0x170a40|_0x52924f>>>0x20-_0x170a40)+_0x1b3c25;}function _0x415a10(_0x2717d7,_0x1f7866,_0x1a71e0,_0x3c266f,_0x293000,_0x130293,_0x2a4347){var _0x12d7c4=_0x2717d7+(_0x1f7866&_0x3c266f|_0x1a71e0&~_0x3c266f)+_0x293000+_0x2a4347;return(_0x12d7c4<<_0x130293|_0x12d7c4>>>0x20-_0x130293)+_0x1f7866;}function _0x21895c(_0x33a8aa,_0x23c3b6,_0x2e00ca,_0x4a385e,_0x386f59,_0x287f28,_0x244871){var _0x44ed42=_0x33a8aa+(_0x23c3b6^_0x2e00ca^_0x4a385e)+_0x386f59+_0x244871;return(_0x44ed42<<_0x287f28|_0x44ed42>>>0x20-_0x287f28)+_0x23c3b6;}function _0x1d8488(_0x20b1d8,_0x868079,_0x2736a3,_0x4acf13,_0x19b291,_0x225f16,_0x4aef85){var _0x156000=_0x20b1d8+(_0x2736a3^(_0x868079|~_0x4acf13))+_0x19b291+_0x4aef85;return(_0x156000<<_0x225f16|_0x156000>>>0x20-_0x225f16)+_0x868079;}_0x55d1a5[_0x3d6bb8(0x3a1)]=_0x29b8a5['_createHelper'](_0x2e30d0),_0x55d1a5[_0x3d6bb8(0x1ff)]=_0x29b8a5[_0x3d6bb8(0x181)](_0x2e30d0);}(Math),_0x16f0f1[_0x24e0c4(0x3a1)];}));}(Ke)),Ke[_0x203440(0x3e2)];}var Ye={'exports':{}},qe={'exports':{}},Cr=qe[_0x3cf6fd(0x3e2)],ei;function Rr(){return ei||(ei=0x1,function(_0xe30f7d,_0x39bf83){(function(_0x2c9910,_0x1ea6b0){_0xe30f7d['exports']=_0x1ea6b0(ie());}(Cr,function(_0x98ec47){return(function(){var _0x5f24af=_0x4cd0,_0x5a870f=_0x98ec47,_0x5be999=_0x5a870f[_0x5f24af(0x276)],_0x293237=_0x5be999[_0x5f24af(0x3ed)],_0x121769=_0x5be999[_0x5f24af(0x165)],_0x5e108a=_0x5a870f[_0x5f24af(0x3b2)],_0x4fa45c=[],_0xe88a44=_0x5e108a[_0x5f24af(0x156)]=_0x121769[_0x5f24af(0x2cd)]({'_doReset':function(){var _0x56045c=_0x5f24af;this[_0x56045c(0x267)]=new _0x293237[(_0x56045c(0x11d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x18ca03,_0x23ce82){var _0x1a85f7=_0x5f24af;for(var _0x314cd2=this['_hash'][_0x1a85f7(0x3c1)],_0x4351a6=_0x314cd2[0x0],_0x591cd5=_0x314cd2[0x1],_0x1bad23=_0x314cd2[0x2],_0x10d404=_0x314cd2[0x3],_0x53ec51=_0x314cd2[0x4],_0x25dd62=0x0;_0x25dd62<0x50;_0x25dd62++){if(_0x25dd62<0x10)_0x4fa45c[_0x25dd62]=_0x18ca03[_0x23ce82+_0x25dd62]|0x0;else{var _0x31907d=_0x4fa45c[_0x25dd62-0x3]^_0x4fa45c[_0x25dd62-0x8]^_0x4fa45c[_0x25dd62-0xe]^_0x4fa45c[_0x25dd62-0x10];_0x4fa45c[_0x25dd62]=_0x31907d<<0x1|_0x31907d>>>0x1f;}var _0x414b6b=(_0x4351a6<<0x5|_0x4351a6>>>0x1b)+_0x53ec51+_0x4fa45c[_0x25dd62];_0x25dd62<0x14?_0x414b6b+=(_0x591cd5&_0x1bad23|~_0x591cd5&_0x10d404)+0x5a827999:_0x25dd62<0x28?_0x414b6b+=(_0x591cd5^_0x1bad23^_0x10d404)+0x6ed9eba1:_0x25dd62<0x3c?_0x414b6b+=(_0x591cd5&_0x1bad23|_0x591cd5&_0x10d404|_0x1bad23&_0x10d404)-0x70e44324:_0x414b6b+=(_0x591cd5^_0x1bad23^_0x10d404)-0x359d3e2a,_0x53ec51=_0x10d404,_0x10d404=_0x1bad23,_0x1bad23=_0x591cd5<<0x1e|_0x591cd5>>>0x2,_0x591cd5=_0x4351a6,_0x4351a6=_0x414b6b;}_0x314cd2[0x0]=_0x314cd2[0x0]+_0x4351a6|0x0,_0x314cd2[0x1]=_0x314cd2[0x1]+_0x591cd5|0x0,_0x314cd2[0x2]=_0x314cd2[0x2]+_0x1bad23|0x0,_0x314cd2[0x3]=_0x314cd2[0x3]+_0x10d404|0x0,_0x314cd2[0x4]=_0x314cd2[0x4]+_0x53ec51|0x0;},'_doFinalize':function(){var _0x5094fb=_0x5f24af,_0x48a757=this[_0x5094fb(0x122)],_0x5dc452=_0x48a757[_0x5094fb(0x3c1)],_0x5cdf11=this[_0x5094fb(0x1b6)]*0x8,_0x3c23cb=_0x48a757[_0x5094fb(0x34c)]*0x8;return _0x5dc452[_0x3c23cb>>>0x5]|=0x80<<0x18-_0x3c23cb%0x20,_0x5dc452[(_0x3c23cb+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x5cdf11/0x100000000),_0x5dc452[(_0x3c23cb+0x40>>>0x9<<0x4)+0xf]=_0x5cdf11,_0x48a757[_0x5094fb(0x34c)]=_0x5dc452[_0x5094fb(0x2a8)]*0x4,this[_0x5094fb(0x1b4)](),this[_0x5094fb(0x267)];},'clone':function(){var _0x227eca=_0x5f24af,_0x5aa841=_0x121769['clone']['call'](this);return _0x5aa841['_hash']=this['_hash'][_0x227eca(0x249)](),_0x5aa841;}});_0x5a870f[_0x5f24af(0x156)]=_0x121769[_0x5f24af(0x378)](_0xe88a44),_0x5a870f[_0x5f24af(0x18a)]=_0x121769[_0x5f24af(0x181)](_0xe88a44);}()),_0x98ec47['SHA1'];}));}(qe)),qe['exports'];}var ze={'exports':{}},br=ze[_0x3cf6fd(0x3e2)],ti;function yr(){var _0x32351e=_0x3cf6fd;return ti||(ti=0x1,function(_0xb5f4ca,_0x561c6a){(function(_0x4f5d2a,_0x132c0b){_0xb5f4ca['exports']=_0x132c0b(ie());}(br,function(_0x175ddb){(function(){var _0x2f2005=_0x4cd0,_0x81a5c1=_0x175ddb,_0x4b1f73=_0x81a5c1['lib'],_0x459d7d=_0x4b1f73[_0x2f2005(0x206)],_0x242093=_0x81a5c1[_0x2f2005(0x372)],_0x1619c5=_0x242093[_0x2f2005(0x1e9)],_0x1a13d1=_0x81a5c1[_0x2f2005(0x3b2)];_0x1a13d1[_0x2f2005(0x2c5)]=_0x459d7d[_0x2f2005(0x2cd)]({'init':function(_0x1ba277,_0x54e114){var _0x1efb54=_0x2f2005;_0x1ba277=this[_0x1efb54(0x31e)]=new _0x1ba277['init'](),typeof _0x54e114=='string'&&(_0x54e114=_0x1619c5[_0x1efb54(0x17d)](_0x54e114));var _0x4320d0=_0x1ba277[_0x1efb54(0x17c)],_0x4b3f17=_0x4320d0*0x4;_0x54e114[_0x1efb54(0x34c)]>_0x4b3f17&&(_0x54e114=_0x1ba277[_0x1efb54(0x2db)](_0x54e114)),_0x54e114[_0x1efb54(0x103)]();for(var _0x2ba99f=this['_oKey']=_0x54e114[_0x1efb54(0x249)](),_0x5179ee=this[_0x1efb54(0x2fa)]=_0x54e114[_0x1efb54(0x249)](),_0x40ba04=_0x2ba99f[_0x1efb54(0x3c1)],_0x2cc25f=_0x5179ee[_0x1efb54(0x3c1)],_0xe057e3=0x0;_0xe057e3<_0x4320d0;_0xe057e3++)_0x40ba04[_0xe057e3]^=0x5c5c5c5c,_0x2cc25f[_0xe057e3]^=0x36363636;_0x2ba99f[_0x1efb54(0x34c)]=_0x5179ee[_0x1efb54(0x34c)]=_0x4b3f17,this[_0x1efb54(0x387)]();},'reset':function(){var _0x414872=_0x2f2005,_0x5a9a43=this[_0x414872(0x31e)];_0x5a9a43[_0x414872(0x387)](),_0x5a9a43[_0x414872(0x34a)](this['_iKey']);},'update':function(_0x228682){var _0x198e99=_0x2f2005;return this['_hasher'][_0x198e99(0x34a)](_0x228682),this;},'finalize':function(_0x1e4a41){var _0x2d08f7=_0x2f2005,_0xd34527=this[_0x2d08f7(0x31e)],_0x1a4740=_0xd34527['finalize'](_0x1e4a41);_0xd34527['reset']();var _0x484b03=_0xd34527['finalize'](this[_0x2d08f7(0x196)][_0x2d08f7(0x249)]()['concat'](_0x1a4740));return _0x484b03;}});}());}));}(ze)),ze[_0x32351e(0x3e2)];}var Or=Ye[_0x3cf6fd(0x3e2)],ii;function Ui(){var _0x20dbc2=_0x3cf6fd;return ii||(ii=0x1,function(_0x40d07e,_0x234f36){(function(_0x53512,_0x36920b,_0x466c05){_0x40d07e['exports']=_0x36920b(ie(),Rr(),yr());}(Or,function(_0x20e2f7){var _0x276971=_0x4cd0;return(function(){var _0x33f3c4=_0x4cd0,_0x2a2a6e=_0x20e2f7,_0x462620=_0x2a2a6e[_0x33f3c4(0x276)],_0x2a9c29=_0x462620['Base'],_0x32b19c=_0x462620['WordArray'],_0x4c16e4=_0x2a2a6e['algo'],_0x5725ee=_0x4c16e4[_0x33f3c4(0x3a1)],_0x124693=_0x4c16e4[_0x33f3c4(0x3fb)]=_0x2a9c29['extend']({'cfg':_0x2a9c29[_0x33f3c4(0x2cd)]({'keySize':0x80/0x20,'hasher':_0x5725ee,'iterations':0x1}),'init':function(_0x1ef58b){var _0x295f0c=_0x33f3c4;this['cfg']=this['cfg'][_0x295f0c(0x2cd)](_0x1ef58b);},'compute':function(_0x16a7fb,_0x114c29){var _0x2d02d5=_0x33f3c4;for(var _0x5d8aea,_0x14736c=this[_0x2d02d5(0x2b5)],_0x20c85d=_0x14736c[_0x2d02d5(0x2f5)][_0x2d02d5(0x275)](),_0xf3e106=_0x32b19c[_0x2d02d5(0x275)](),_0x1dfec4=_0xf3e106[_0x2d02d5(0x3c1)],_0x94559=_0x14736c[_0x2d02d5(0x1a8)],_0x356703=_0x14736c['iterations'];_0x1dfec4['length']<_0x94559;){_0x5d8aea&&_0x20c85d[_0x2d02d5(0x34a)](_0x5d8aea),_0x5d8aea=_0x20c85d[_0x2d02d5(0x34a)](_0x16a7fb)[_0x2d02d5(0x2db)](_0x114c29),_0x20c85d[_0x2d02d5(0x387)]();for(var _0x23fe47=0x1;_0x23fe47<_0x356703;_0x23fe47++)_0x5d8aea=_0x20c85d[_0x2d02d5(0x2db)](_0x5d8aea),_0x20c85d[_0x2d02d5(0x387)]();_0xf3e106[_0x2d02d5(0x32d)](_0x5d8aea);}return _0xf3e106['sigBytes']=_0x94559*0x4,_0xf3e106;}});_0x2a2a6e[_0x33f3c4(0x3fb)]=function(_0x4a553e,_0x393f8a,_0x5e06a4){var _0x10d474=_0x33f3c4;return _0x124693[_0x10d474(0x275)](_0x5e06a4)[_0x10d474(0x1c6)](_0x4a553e,_0x393f8a);};}()),_0x20e2f7[_0x276971(0x3fb)];}));}(Ye)),Ye[_0x20dbc2(0x3e2)];}var Je={'exports':{}},Nr=Je[_0x3cf6fd(0x3e2)],ni;function wi(){var _0x1254fe=_0x3cf6fd;return ni||(ni=0x1,function(_0x5206a6,_0xe57a71){(function(_0x446064,_0xf29856,_0x311deb){_0x5206a6['exports']=_0xf29856(ie(),Ui());}(Nr,function(_0x37c5ce){var _0x1b141a=_0x4cd0;_0x37c5ce[_0x1b141a(0x276)][_0x1b141a(0x362)]||function(_0x3160f3){var _0x3b2b63=_0x1b141a,_0x561474=_0x37c5ce,_0x172b1c=_0x561474[_0x3b2b63(0x276)],_0x2a9aa8=_0x172b1c[_0x3b2b63(0x206)],_0x2de7b6=_0x172b1c[_0x3b2b63(0x3ed)],_0x3e1ab6=_0x172b1c[_0x3b2b63(0x3ea)],_0x8a2ee3=_0x561474['enc'];_0x8a2ee3['Utf8'];var _0x44a3ad=_0x8a2ee3[_0x3b2b63(0x3f1)],_0x172345=_0x561474[_0x3b2b63(0x3b2)],_0xafd8c4=_0x172345[_0x3b2b63(0x3fb)],_0x2a9fe9=_0x172b1c['Cipher']=_0x3e1ab6[_0x3b2b63(0x2cd)]({'cfg':_0x2a9aa8[_0x3b2b63(0x2cd)](),'createEncryptor':function(_0x54fe8e,_0x549acf){var _0x335147=_0x3b2b63;return this[_0x335147(0x275)](this[_0x335147(0x1e7)],_0x54fe8e,_0x549acf);},'createDecryptor':function(_0x128cd8,_0x441143){var _0x5b3fd3=_0x3b2b63;return this[_0x5b3fd3(0x275)](this[_0x5b3fd3(0x336)],_0x128cd8,_0x441143);},'init':function(_0x298778,_0x478520,_0x20cc3b){var _0x24ffa9=_0x3b2b63;this[_0x24ffa9(0x2b5)]=this[_0x24ffa9(0x2b5)][_0x24ffa9(0x2cd)](_0x20cc3b),this[_0x24ffa9(0x183)]=_0x298778,this[_0x24ffa9(0x10f)]=_0x478520,this[_0x24ffa9(0x387)]();},'reset':function(){var _0x373fd4=_0x3b2b63;_0x3e1ab6[_0x373fd4(0x387)][_0x373fd4(0x269)](this),this[_0x373fd4(0x320)]();},'process':function(_0x1d4ea3){var _0x2ce138=_0x3b2b63;return this[_0x2ce138(0x39d)](_0x1d4ea3),this['_process']();},'finalize':function(_0x5654b0){var _0x34da22=_0x3b2b63;_0x5654b0&&this[_0x34da22(0x39d)](_0x5654b0);var _0x150ce7=this[_0x34da22(0x16c)]();return _0x150ce7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x371228(_0xdbb685){var _0x2a89ca=_0x4cd0;return typeof _0xdbb685==_0x2a89ca(0x264)?_0xae1650:_0xf805a6;}return function(_0x3bc443){return{'encrypt':function(_0x2b870f,_0x4dcf1c,_0x4b112d){var _0x1203fd=_0x4cd0;return _0x371228(_0x4dcf1c)[_0x1203fd(0x12d)](_0x3bc443,_0x2b870f,_0x4dcf1c,_0x4b112d);},'decrypt':function(_0x4cc9e,_0x37869f,_0x35e723){var _0x233dcc=_0x4cd0;return _0x371228(_0x37869f)[_0x233dcc(0x3fc)](_0x3bc443,_0x4cc9e,_0x37869f,_0x35e723);}};};}())});_0x172b1c[_0x3b2b63(0x29c)]=_0x2a9fe9['extend']({'_doFinalize':function(){var _0x2593ea=_0x3b2b63,_0xde460f=this[_0x2593ea(0x1b4)](!0x0);return _0xde460f;},'blockSize':0x1});var _0x2a1fc1=_0x561474[_0x3b2b63(0x1db)]={},_0x1b06bb=_0x172b1c[_0x3b2b63(0x258)]=_0x2a9aa8['extend']({'createEncryptor':function(_0x1f156f,_0x4adba8){var _0x3e3931=_0x3b2b63;return this[_0x3e3931(0x139)][_0x3e3931(0x275)](_0x1f156f,_0x4adba8);},'createDecryptor':function(_0x38f28c,_0x1595d6){var _0x1822a7=_0x3b2b63;return this['Decryptor'][_0x1822a7(0x275)](_0x38f28c,_0x1595d6);},'init':function(_0x488c03,_0x184a85){this['_cipher']=_0x488c03,this['_iv']=_0x184a85;}}),_0x10089b=_0x2a1fc1[_0x3b2b63(0x2c6)]=(function(){var _0x2fbb4f=_0x3b2b63,_0x3e9b62=_0x1b06bb[_0x2fbb4f(0x2cd)]();_0x3e9b62[_0x2fbb4f(0x139)]=_0x3e9b62[_0x2fbb4f(0x2cd)]({'processBlock':function(_0x4a90ab,_0x83daf3){var _0x4cfa2e=_0x2fbb4f,_0x51a48b=this[_0x4cfa2e(0x289)],_0x381577=_0x51a48b[_0x4cfa2e(0x17c)];_0x3ee0d4['call'](this,_0x4a90ab,_0x83daf3,_0x381577),_0x51a48b[_0x4cfa2e(0x195)](_0x4a90ab,_0x83daf3),this[_0x4cfa2e(0x35b)]=_0x4a90ab[_0x4cfa2e(0x33c)](_0x83daf3,_0x83daf3+_0x381577);}}),_0x3e9b62[_0x2fbb4f(0x237)]=_0x3e9b62['extend']({'processBlock':function(_0x583706,_0x528bc4){var _0x48ae23=_0x2fbb4f,_0x42bb67=this[_0x48ae23(0x289)],_0x61c27d=_0x42bb67[_0x48ae23(0x17c)],_0xd54326=_0x583706[_0x48ae23(0x33c)](_0x528bc4,_0x528bc4+_0x61c27d);_0x42bb67[_0x48ae23(0x152)](_0x583706,_0x528bc4),_0x3ee0d4[_0x48ae23(0x269)](this,_0x583706,_0x528bc4,_0x61c27d),this[_0x48ae23(0x35b)]=_0xd54326;}});function _0x3ee0d4(_0x3b6c46,_0x599aba,_0x3375f3){var _0x1e3a1f=_0x2fbb4f,_0x55dc3c,_0x5ad02d=this[_0x1e3a1f(0x3dc)];_0x5ad02d?(_0x55dc3c=_0x5ad02d,this[_0x1e3a1f(0x3dc)]=_0x3160f3):_0x55dc3c=this[_0x1e3a1f(0x35b)];for(var _0x5f49ac=0x0;_0x5f49ac<_0x3375f3;_0x5f49ac++)_0x3b6c46[_0x599aba+_0x5f49ac]^=_0x55dc3c[_0x5f49ac];}return _0x3e9b62;}()),_0x59bb57=_0x561474['pad']={},_0x2c5e76=_0x59bb57[_0x3b2b63(0x1bd)]={'pad':function(_0x1a2c8f,_0x38246d){var _0x48b75e=_0x3b2b63;for(var _0x46aadf=_0x38246d*0x4,_0x4f9e6d=_0x46aadf-_0x1a2c8f[_0x48b75e(0x34c)]%_0x46aadf,_0x48ebf2=_0x4f9e6d<<0x18|_0x4f9e6d<<0x10|_0x4f9e6d<<0x8|_0x4f9e6d,_0x561fd0=[],_0x4fdfdc=0x0;_0x4fdfdc<_0x4f9e6d;_0x4fdfdc+=0x4)_0x561fd0[_0x48b75e(0x170)](_0x48ebf2);var _0x2980e2=_0x2de7b6[_0x48b75e(0x275)](_0x561fd0,_0x4f9e6d);_0x1a2c8f[_0x48b75e(0x32d)](_0x2980e2);},'unpad':function(_0x3fac61){var _0x189a38=_0x3b2b63,_0x1a7b2a=_0x3fac61['words'][_0x3fac61[_0x189a38(0x34c)]-0x1>>>0x2]&0xff;_0x3fac61[_0x189a38(0x34c)]-=_0x1a7b2a;}};_0x172b1c['BlockCipher']=_0x2a9fe9[_0x3b2b63(0x2cd)]({'cfg':_0x2a9fe9[_0x3b2b63(0x2b5)][_0x3b2b63(0x2cd)]({'mode':_0x10089b,'padding':_0x2c5e76}),'reset':function(){var _0x496d23=_0x3b2b63,_0x4bb18e;_0x2a9fe9[_0x496d23(0x387)][_0x496d23(0x269)](this);var _0x309457=this['cfg'],_0xd6498a=_0x309457['iv'],_0x58e271=_0x309457[_0x496d23(0x1db)];this[_0x496d23(0x183)]==this['_ENC_XFORM_MODE']?_0x4bb18e=_0x58e271[_0x496d23(0x277)]:(_0x4bb18e=_0x58e271[_0x496d23(0x2ae)],this[_0x496d23(0x3b3)]=0x1),this[_0x496d23(0x26d)]&&this['_mode'][_0x496d23(0x154)]==_0x4bb18e?this[_0x496d23(0x26d)][_0x496d23(0x11d)](this,_0xd6498a&&_0xd6498a[_0x496d23(0x3c1)]):(this[_0x496d23(0x26d)]=_0x4bb18e[_0x496d23(0x269)](_0x58e271,this,_0xd6498a&&_0xd6498a['words']),this['_mode'][_0x496d23(0x154)]=_0x4bb18e);},'_doProcessBlock':function(_0x1dff7f,_0x3c6e8c){var _0x1aff51=_0x3b2b63;this[_0x1aff51(0x26d)]['processBlock'](_0x1dff7f,_0x3c6e8c);},'_doFinalize':function(){var _0x52a792=_0x3b2b63,_0x4b3c5e,_0x26da6c=this[_0x52a792(0x2b5)]['padding'];return this[_0x52a792(0x183)]==this['_ENC_XFORM_MODE']?(_0x26da6c[_0x52a792(0x2ee)](this[_0x52a792(0x122)],this['blockSize']),_0x4b3c5e=this[_0x52a792(0x1b4)](!0x0)):(_0x4b3c5e=this['_process'](!0x0),_0x26da6c[_0x52a792(0x2f2)](_0x4b3c5e)),_0x4b3c5e;},'blockSize':0x80/0x20});var _0x9ab4dd=_0x172b1c[_0x3b2b63(0x3de)]=_0x2a9aa8[_0x3b2b63(0x2cd)]({'init':function(_0x3d379b){var _0x6be98e=_0x3b2b63;this[_0x6be98e(0x20a)](_0x3d379b);},'toString':function(_0x24ada9){var _0x305686=_0x3b2b63;return(_0x24ada9||this[_0x305686(0x38a)])['stringify'](this);}}),_0x514492=_0x561474['format']={},_0x20f456=_0x514492[_0x3b2b63(0x346)]={'stringify':function(_0x4ec5d3){var _0x3aa9df=_0x3b2b63,_0x46566d,_0x502a01=_0x4ec5d3[_0x3aa9df(0x3ab)],_0x2477cb=_0x4ec5d3['salt'];return _0x2477cb?_0x46566d=_0x2de7b6[_0x3aa9df(0x275)]([0x53616c74,0x65645f5f])['concat'](_0x2477cb)[_0x3aa9df(0x32d)](_0x502a01):_0x46566d=_0x502a01,_0x46566d[_0x3aa9df(0x3c0)](_0x44a3ad);},'parse':function(_0x360a01){var _0x6bd05c=_0x3b2b63,_0x153733,_0x171970=_0x44a3ad[_0x6bd05c(0x17d)](_0x360a01),_0x5bdcb7=_0x171970[_0x6bd05c(0x3c1)];return _0x5bdcb7[0x0]==0x53616c74&&_0x5bdcb7[0x1]==0x65645f5f&&(_0x153733=_0x2de7b6[_0x6bd05c(0x275)](_0x5bdcb7[_0x6bd05c(0x33c)](0x2,0x4)),_0x5bdcb7[_0x6bd05c(0x2f1)](0x0,0x4),_0x171970[_0x6bd05c(0x34c)]-=0x10),_0x9ab4dd[_0x6bd05c(0x275)]({'ciphertext':_0x171970,'salt':_0x153733});}},_0xf805a6=_0x172b1c[_0x3b2b63(0x1ea)]=_0x2a9aa8[_0x3b2b63(0x2cd)]({'cfg':_0x2a9aa8[_0x3b2b63(0x2cd)]({'format':_0x20f456}),'encrypt':function(_0x3d3fee,_0x25d9bd,_0x478f52,_0xba5aed){var _0xbd0e65=_0x3b2b63;_0xba5aed=this[_0xbd0e65(0x2b5)][_0xbd0e65(0x2cd)](_0xba5aed);var _0x31fb98=_0x3d3fee[_0xbd0e65(0x277)](_0x478f52,_0xba5aed),_0x1b63e3=_0x31fb98[_0xbd0e65(0x2db)](_0x25d9bd),_0x1c26a2=_0x31fb98[_0xbd0e65(0x2b5)];return _0x9ab4dd[_0xbd0e65(0x275)]({'ciphertext':_0x1b63e3,'key':_0x478f52,'iv':_0x1c26a2['iv'],'algorithm':_0x3d3fee,'mode':_0x1c26a2[_0xbd0e65(0x1db)],'padding':_0x1c26a2[_0xbd0e65(0x220)],'blockSize':_0x3d3fee[_0xbd0e65(0x17c)],'formatter':_0xba5aed[_0xbd0e65(0x2fc)]});},'decrypt':function(_0x1a6d5c,_0x34ae1e,_0x325951,_0x3f62e0){var _0x880b73=_0x3b2b63;_0x3f62e0=this['cfg']['extend'](_0x3f62e0),_0x34ae1e=this[_0x880b73(0x263)](_0x34ae1e,_0x3f62e0['format']);var _0x5471f7=_0x1a6d5c[_0x880b73(0x2ae)](_0x325951,_0x3f62e0)[_0x880b73(0x2db)](_0x34ae1e[_0x880b73(0x3ab)]);return _0x5471f7;},'_parse':function(_0x6c5117,_0x56fc08){var _0x1dd514=_0x3b2b63;return typeof _0x6c5117==_0x1dd514(0x264)?_0x56fc08['parse'](_0x6c5117,this):_0x6c5117;}}),_0x15feb5=_0x561474[_0x3b2b63(0x335)]={},_0x29e7fc=_0x15feb5[_0x3b2b63(0x346)]={'execute':function(_0x9b479e,_0x302c42,_0x64248e,_0xffe395,_0x3efafe){var _0x5b7edc=_0x3b2b63;if(_0xffe395||(_0xffe395=_0x2de7b6[_0x5b7edc(0x318)](0x40/0x8)),_0x3efafe)var _0x38f6e1=_0xafd8c4[_0x5b7edc(0x275)]({'keySize':_0x302c42+_0x64248e,'hasher':_0x3efafe})[_0x5b7edc(0x1c6)](_0x9b479e,_0xffe395);else var _0x38f6e1=_0xafd8c4[_0x5b7edc(0x275)]({'keySize':_0x302c42+_0x64248e})[_0x5b7edc(0x1c6)](_0x9b479e,_0xffe395);var _0x43c0f8=_0x2de7b6[_0x5b7edc(0x275)](_0x38f6e1['words'][_0x5b7edc(0x33c)](_0x302c42),_0x64248e*0x4);return _0x38f6e1['sigBytes']=_0x302c42*0x4,_0x9ab4dd[_0x5b7edc(0x275)]({'key':_0x38f6e1,'iv':_0x43c0f8,'salt':_0xffe395});}},_0xae1650=_0x172b1c['PasswordBasedCipher']=_0xf805a6[_0x3b2b63(0x2cd)]({'cfg':_0xf805a6[_0x3b2b63(0x2b5)][_0x3b2b63(0x2cd)]({'kdf':_0x29e7fc}),'encrypt':function(_0x4aea98,_0x2efc5f,_0x501da8,_0x3e7643){var _0x2d8960=_0x3b2b63;_0x3e7643=this[_0x2d8960(0x2b5)]['extend'](_0x3e7643);var _0x4c3b99=_0x3e7643[_0x2d8960(0x335)]['execute'](_0x501da8,_0x4aea98[_0x2d8960(0x1a8)],_0x4aea98[_0x2d8960(0x1dd)],_0x3e7643[_0x2d8960(0x124)],_0x3e7643[_0x2d8960(0x2f5)]);_0x3e7643['iv']=_0x4c3b99['iv'];var _0x3b16ec=_0xf805a6[_0x2d8960(0x12d)][_0x2d8960(0x269)](this,_0x4aea98,_0x2efc5f,_0x4c3b99['key'],_0x3e7643);return _0x3b16ec['mixIn'](_0x4c3b99),_0x3b16ec;},'decrypt':function(_0x2e1e00,_0x5b2f69,_0x14300d,_0x210775){var _0x1aef6d=_0x3b2b63;_0x210775=this[_0x1aef6d(0x2b5)][_0x1aef6d(0x2cd)](_0x210775),_0x5b2f69=this[_0x1aef6d(0x263)](_0x5b2f69,_0x210775[_0x1aef6d(0x2fc)]);var _0x53195f=_0x210775[_0x1aef6d(0x335)]['execute'](_0x14300d,_0x2e1e00[_0x1aef6d(0x1a8)],_0x2e1e00[_0x1aef6d(0x1dd)],_0x5b2f69['salt'],_0x210775['hasher']);_0x210775['iv']=_0x53195f['iv'];var _0x5c6678=_0xf805a6[_0x1aef6d(0x3fc)][_0x1aef6d(0x269)](this,_0x2e1e00,_0x5b2f69,_0x53195f[_0x1aef6d(0x409)],_0x210775);return _0x5c6678;}});}();}));}(Je)),Je[_0x1254fe(0x3e2)];}var Dr=Ve['exports'],ri;function Ur(){return ri||(ri=0x1,function(_0xa609c6,_0x4accdd){(function(_0x35934e,_0x2e958a,_0x5e0c88){var _0x29feb4=_0x4cd0;_0xa609c6[_0x29feb4(0x3e2)]=_0x2e958a(ie(),Di(),Tr(),Ui(),wi());}(Dr,function(_0x190b6d){var _0x562fee=_0x4cd0;return(function(){var _0x1632e3=_0x4cd0,_0x9d8430=_0x190b6d,_0x24f9ca=_0x9d8430[_0x1632e3(0x276)],_0x40b17d=_0x24f9ca[_0x1632e3(0x233)],_0x3ad0a7=_0x9d8430['algo'],_0x4c2ccc=[],_0x30af4a=[],_0x1cdcbc=[],_0x361c1c=[],_0x131819=[],_0x3ccb71=[],_0x8caa66=[],_0x34376b=[],_0x3889b4=[],_0x3291e2=[];(function(){for(var _0x37bec0=[],_0x11788e=0x0;_0x11788e<0x100;_0x11788e++)_0x11788e<0x80?_0x37bec0[_0x11788e]=_0x11788e<<0x1:_0x37bec0[_0x11788e]=_0x11788e<<0x1^0x11b;for(var _0x1c9015=0x0,_0x385ed7=0x0,_0x11788e=0x0;_0x11788e<0x100;_0x11788e++){var _0x308a19=_0x385ed7^_0x385ed7<<0x1^_0x385ed7<<0x2^_0x385ed7<<0x3^_0x385ed7<<0x4;_0x308a19=_0x308a19>>>0x8^_0x308a19&0xff^0x63,_0x4c2ccc[_0x1c9015]=_0x308a19,_0x30af4a[_0x308a19]=_0x1c9015;var _0x5e09df=_0x37bec0[_0x1c9015],_0x27a413=_0x37bec0[_0x5e09df],_0x2c8384=_0x37bec0[_0x27a413],_0x298bd6=_0x37bec0[_0x308a19]*0x101^_0x308a19*0x1010100;_0x1cdcbc[_0x1c9015]=_0x298bd6<<0x18|_0x298bd6>>>0x8,_0x361c1c[_0x1c9015]=_0x298bd6<<0x10|_0x298bd6>>>0x10,_0x131819[_0x1c9015]=_0x298bd6<<0x8|_0x298bd6>>>0x18,_0x3ccb71[_0x1c9015]=_0x298bd6;var _0x298bd6=_0x2c8384*0x1010101^_0x27a413*0x10001^_0x5e09df*0x101^_0x1c9015*0x1010100;_0x8caa66[_0x308a19]=_0x298bd6<<0x18|_0x298bd6>>>0x8,_0x34376b[_0x308a19]=_0x298bd6<<0x10|_0x298bd6>>>0x10,_0x3889b4[_0x308a19]=_0x298bd6<<0x8|_0x298bd6>>>0x18,_0x3291e2[_0x308a19]=_0x298bd6,_0x1c9015?(_0x1c9015=_0x5e09df^_0x37bec0[_0x37bec0[_0x37bec0[_0x2c8384^_0x5e09df]]],_0x385ed7^=_0x37bec0[_0x37bec0[_0x385ed7]]):_0x1c9015=_0x385ed7=0x1;}}());var _0x3977c5=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3741f4=_0x3ad0a7[_0x1632e3(0x1b9)]=_0x40b17d['extend']({'_doReset':function(){var _0x3a4737=_0x1632e3,_0x2ce2ac;if(!(this[_0x3a4737(0x297)]&&this[_0x3a4737(0x39e)]===this[_0x3a4737(0x10f)])){for(var _0x2c77d7=this[_0x3a4737(0x39e)]=this['_key'],_0x55bf31=_0x2c77d7['words'],_0x4ea07d=_0x2c77d7[_0x3a4737(0x34c)]/0x4,_0x2a4124=this[_0x3a4737(0x297)]=_0x4ea07d+0x6,_0xd7b962=(_0x2a4124+0x1)*0x4,_0x5b089b=this[_0x3a4737(0x39c)]=[],_0x2e3691=0x0;_0x2e3691<_0xd7b962;_0x2e3691++)_0x2e3691<_0x4ea07d?_0x5b089b[_0x2e3691]=_0x55bf31[_0x2e3691]:(_0x2ce2ac=_0x5b089b[_0x2e3691-0x1],_0x2e3691%_0x4ea07d?_0x4ea07d>0x6&&_0x2e3691%_0x4ea07d==0x4&&(_0x2ce2ac=_0x4c2ccc[_0x2ce2ac>>>0x18]<<0x18|_0x4c2ccc[_0x2ce2ac>>>0x10&0xff]<<0x10|_0x4c2ccc[_0x2ce2ac>>>0x8&0xff]<<0x8|_0x4c2ccc[_0x2ce2ac&0xff]):(_0x2ce2ac=_0x2ce2ac<<0x8|_0x2ce2ac>>>0x18,_0x2ce2ac=_0x4c2ccc[_0x2ce2ac>>>0x18]<<0x18|_0x4c2ccc[_0x2ce2ac>>>0x10&0xff]<<0x10|_0x4c2ccc[_0x2ce2ac>>>0x8&0xff]<<0x8|_0x4c2ccc[_0x2ce2ac&0xff],_0x2ce2ac^=_0x3977c5[_0x2e3691/_0x4ea07d|0x0]<<0x18),_0x5b089b[_0x2e3691]=_0x5b089b[_0x2e3691-_0x4ea07d]^_0x2ce2ac);for(var _0x4bed89=this['_invKeySchedule']=[],_0x21f365=0x0;_0x21f365<_0xd7b962;_0x21f365++){var _0x2e3691=_0xd7b962-_0x21f365;if(_0x21f365%0x4)var _0x2ce2ac=_0x5b089b[_0x2e3691];else var _0x2ce2ac=_0x5b089b[_0x2e3691-0x4];_0x21f365<0x4||_0x2e3691<=0x4?_0x4bed89[_0x21f365]=_0x2ce2ac:_0x4bed89[_0x21f365]=_0x8caa66[_0x4c2ccc[_0x2ce2ac>>>0x18]]^_0x34376b[_0x4c2ccc[_0x2ce2ac>>>0x10&0xff]]^_0x3889b4[_0x4c2ccc[_0x2ce2ac>>>0x8&0xff]]^_0x3291e2[_0x4c2ccc[_0x2ce2ac&0xff]];}}},'encryptBlock':function(_0x35d821,_0x6f0487){var _0x4b4ff2=_0x1632e3;this[_0x4b4ff2(0x37a)](_0x35d821,_0x6f0487,this[_0x4b4ff2(0x39c)],_0x1cdcbc,_0x361c1c,_0x131819,_0x3ccb71,_0x4c2ccc);},'decryptBlock':function(_0x277405,_0x332d63){var _0x2f212e=_0x1632e3,_0x350f31=_0x277405[_0x332d63+0x1];_0x277405[_0x332d63+0x1]=_0x277405[_0x332d63+0x3],_0x277405[_0x332d63+0x3]=_0x350f31,this[_0x2f212e(0x37a)](_0x277405,_0x332d63,this[_0x2f212e(0x24d)],_0x8caa66,_0x34376b,_0x3889b4,_0x3291e2,_0x30af4a);var _0x350f31=_0x277405[_0x332d63+0x1];_0x277405[_0x332d63+0x1]=_0x277405[_0x332d63+0x3],_0x277405[_0x332d63+0x3]=_0x350f31;},'_doCryptBlock':function(_0x4fc575,_0xd0afc,_0x58e7f4,_0x4558f6,_0x426751,_0xca36dc,_0x80ac06,_0x377ce1){var _0x2ae733=_0x1632e3;for(var _0x1dd182=this[_0x2ae733(0x297)],_0x5020ee=_0x4fc575[_0xd0afc]^_0x58e7f4[0x0],_0x2d97ce=_0x4fc575[_0xd0afc+0x1]^_0x58e7f4[0x1],_0x3f2606=_0x4fc575[_0xd0afc+0x2]^_0x58e7f4[0x2],_0x197b4b=_0x4fc575[_0xd0afc+0x3]^_0x58e7f4[0x3],_0x47ba84=0x4,_0x5982e6=0x1;_0x5982e6<_0x1dd182;_0x5982e6++){var _0x51aefc=_0x4558f6[_0x5020ee>>>0x18]^_0x426751[_0x2d97ce>>>0x10&0xff]^_0xca36dc[_0x3f2606>>>0x8&0xff]^_0x80ac06[_0x197b4b&0xff]^_0x58e7f4[_0x47ba84++],_0x457c04=_0x4558f6[_0x2d97ce>>>0x18]^_0x426751[_0x3f2606>>>0x10&0xff]^_0xca36dc[_0x197b4b>>>0x8&0xff]^_0x80ac06[_0x5020ee&0xff]^_0x58e7f4[_0x47ba84++],_0x751c1e=_0x4558f6[_0x3f2606>>>0x18]^_0x426751[_0x197b4b>>>0x10&0xff]^_0xca36dc[_0x5020ee>>>0x8&0xff]^_0x80ac06[_0x2d97ce&0xff]^_0x58e7f4[_0x47ba84++],_0x5610c1=_0x4558f6[_0x197b4b>>>0x18]^_0x426751[_0x5020ee>>>0x10&0xff]^_0xca36dc[_0x2d97ce>>>0x8&0xff]^_0x80ac06[_0x3f2606&0xff]^_0x58e7f4[_0x47ba84++];_0x5020ee=_0x51aefc,_0x2d97ce=_0x457c04,_0x3f2606=_0x751c1e,_0x197b4b=_0x5610c1;}var _0x51aefc=(_0x377ce1[_0x5020ee>>>0x18]<<0x18|_0x377ce1[_0x2d97ce>>>0x10&0xff]<<0x10|_0x377ce1[_0x3f2606>>>0x8&0xff]<<0x8|_0x377ce1[_0x197b4b&0xff])^_0x58e7f4[_0x47ba84++],_0x457c04=(_0x377ce1[_0x2d97ce>>>0x18]<<0x18|_0x377ce1[_0x3f2606>>>0x10&0xff]<<0x10|_0x377ce1[_0x197b4b>>>0x8&0xff]<<0x8|_0x377ce1[_0x5020ee&0xff])^_0x58e7f4[_0x47ba84++],_0x751c1e=(_0x377ce1[_0x3f2606>>>0x18]<<0x18|_0x377ce1[_0x197b4b>>>0x10&0xff]<<0x10|_0x377ce1[_0x5020ee>>>0x8&0xff]<<0x8|_0x377ce1[_0x2d97ce&0xff])^_0x58e7f4[_0x47ba84++],_0x5610c1=(_0x377ce1[_0x197b4b>>>0x18]<<0x18|_0x377ce1[_0x5020ee>>>0x10&0xff]<<0x10|_0x377ce1[_0x2d97ce>>>0x8&0xff]<<0x8|_0x377ce1[_0x3f2606&0xff])^_0x58e7f4[_0x47ba84++];_0x4fc575[_0xd0afc]=_0x51aefc,_0x4fc575[_0xd0afc+0x1]=_0x457c04,_0x4fc575[_0xd0afc+0x2]=_0x751c1e,_0x4fc575[_0xd0afc+0x3]=_0x5610c1;},'keySize':0x100/0x20});_0x9d8430[_0x1632e3(0x1b9)]=_0x40b17d['_createHelper'](_0x3741f4);}()),_0x190b6d[_0x562fee(0x1b9)];}));}(Ve)),Ve['exports'];}var wr=Ur();const Ar=He(wr);var Pr=Di();const si=He(Pr);var Xe={'exports':{}},xr=Xe[_0x3cf6fd(0x3e2)],ai;function Lr(){return ai||(ai=0x1,function(_0x47548b,_0x55f2f8){(function(_0x140c67,_0x503e7f){var _0x2909ba=_0x4cd0;_0x47548b[_0x2909ba(0x3e2)]=_0x503e7f(ie());}(xr,function(_0x182c01){var _0x3db228=_0x4cd0;return _0x182c01[_0x3db228(0x372)][_0x3db228(0x1e9)];}));}(Xe)),Xe['exports'];}var Mr=Lr();const kr=He(Mr);var Ze={'exports':{}},$r=Ze[_0x3cf6fd(0x3e2)],oi;function Hr(){var _0x408ddc=_0x3cf6fd;return oi||(oi=0x1,function(_0x2d03b3,_0x2d111a){(function(_0x27dbf3,_0x54b8e9){var _0x24dc31=_0x4cd0;_0x2d03b3[_0x24dc31(0x3e2)]=_0x54b8e9(ie());}($r,function(_0x55551d){var _0x92f5ea=_0x4cd0;return(function(){var _0xf69872=_0x4cd0;if(typeof ArrayBuffer==_0xf69872(0x3ad)){var _0x54eff1=_0x55551d,_0x3b4f6d=_0x54eff1[_0xf69872(0x276)],_0x1c7bb0=_0x3b4f6d[_0xf69872(0x3ed)],_0x2827cc=_0x1c7bb0[_0xf69872(0x11d)],_0x82d86e=_0x1c7bb0[_0xf69872(0x11d)]=function(_0x11c45a){var _0x41a277=_0xf69872;if(_0x11c45a instanceof ArrayBuffer&&(_0x11c45a=new Uint8Array(_0x11c45a)),(_0x11c45a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x11c45a instanceof Uint8ClampedArray||_0x11c45a instanceof Int16Array||_0x11c45a instanceof Uint16Array||_0x11c45a instanceof Int32Array||_0x11c45a instanceof Uint32Array||_0x11c45a instanceof Float32Array||_0x11c45a instanceof Float64Array)&&(_0x11c45a=new Uint8Array(_0x11c45a[_0x41a277(0x1fe)],_0x11c45a[_0x41a277(0x18c)],_0x11c45a[_0x41a277(0x2c9)])),_0x11c45a instanceof Uint8Array){for(var _0x48f93c=_0x11c45a[_0x41a277(0x2c9)],_0x346dcf=[],_0x4f7bdd=0x0;_0x4f7bdd<_0x48f93c;_0x4f7bdd++)_0x346dcf[_0x4f7bdd>>>0x2]|=_0x11c45a[_0x4f7bdd]<<0x18-_0x4f7bdd%0x4*0x8;_0x2827cc['call'](this,_0x346dcf,_0x48f93c);}else _0x2827cc[_0x41a277(0x2c4)](this,arguments);};_0x82d86e[_0xf69872(0x3d9)]=_0x1c7bb0;}}()),_0x55551d[_0x92f5ea(0x276)][_0x92f5ea(0x3ed)];}));}(Ze)),Ze[_0x408ddc(0x3e2)];}var Br=Hr();const jr=He(Br);var Qe={'exports':{}},Fr=Qe['exports'],ci;function Vr(){return ci||(ci=0x1,function(_0x5c0548,_0x13ec11){(function(_0x220c41,_0x24e557,_0x425ce4){var _0x5db820=_0x4cd0;_0x5c0548[_0x5db820(0x3e2)]=_0x24e557(ie(),wi());}(Fr,function(_0x4934ea){var _0x4cc654=_0x4cd0;return _0x4934ea['pad'][_0x4cc654(0x135)]={'pad':function(){},'unpad':function(){}},_0x4934ea['pad']['NoPadding'];}));}(Qe)),Qe['exports'];}var Gr=Vr();const Wr=He(Gr);function Kr(_0x3147e9,_0x4deccb){var _0x216482=_0x3cf6fd;const _0x5ef10b=_0x4deccb-_0x3147e9[_0x216482(0x2a8)]%_0x4deccb,_0x107bc0=String[_0x216482(0x321)](_0x5ef10b)['repeat'](_0x5ef10b);return _0x3147e9+_0x107bc0;}function Yr(_0x21eb02,_0x14f051){var _0x32e2e1=_0x3cf6fd;const _0x391b21=jr[_0x32e2e1(0x318)](0x10),_0x48969f=Kr(_0x21eb02,0x10),_0x4d32e2=Ar['encrypt'](kr[_0x32e2e1(0x17d)](_0x48969f),si[_0x32e2e1(0x17d)](_0x14f051),{'iv':_0x391b21,'padding':Wr});return _0x391b21['concat'](_0x4d32e2[_0x32e2e1(0x3ab)])[_0x32e2e1(0x3c0)](si);}function qr(){var _0xeee111=_0x3cf6fd;const _0x28eed1=_0x1d5c94()[_0xeee111(0x1f8)];if(_0x28eed1){const _0xae1e54={'time':Math[_0xeee111(0x22d)](Date[_0xeee111(0x259)]()/0x3e8),'domain':location['hostname']};return Yr(JSON[_0xeee111(0x35c)](_0xae1e54),_0x28eed1);}}var zr=Object[_0x3cf6fd(0x1f5)],Jr=(_0x5a4074,_0x8cf667,_0x30887d,_0x5dec18)=>{var _0xbca578=_0x3cf6fd;for(var _0xd77a7e=_0x5dec18>0x1?void 0x0:_0x5dec18?zr(_0x8cf667,_0x30887d):_0x8cf667,_0x10d94f=_0x5a4074[_0xbca578(0x2a8)]-0x1,_0x322d4a;_0x10d94f>=0x0;_0x10d94f--)(_0x322d4a=_0x5a4074[_0x10d94f])&&(_0xd77a7e=_0x322d4a(_0xd77a7e)||_0xd77a7e);return _0xd77a7e;},Xr=(_0x33cbc6,_0x47b7bf)=>(_0x5c4f14,_0x4eeff5)=>_0x47b7bf(_0x5c4f14,_0x4eeff5,_0x33cbc6);let at=class{constructor(_0x3a6cbb){var _0x59487b=_0x3cf6fd;this[_0x59487b(0x1fd)]=_0x3a6cbb,this[_0x59487b(0x22b)]();}[_0x3cf6fd(0x22b)](){var _0x320e57=_0x3cf6fd;this[_0x320e57(0x1fd)][_0x320e57(0x380)]({'interceptor':(_0x4417b0,_0x3ab31f)=>{var _0x45a139=_0x320e57;const _0x253476=_0x4417b0[_0x45a139(0x3cb)],_0x22b940=qr();return _0x22b940&&_0x253476[_0x45a139(0x37c)](_0x45a139(0x131),_0x22b940),_0x3ab31f(_0x4417b0);}});}};at=Jr([Xr(0x0,_0x2a1c1e(_0x4238bf))],at);var Zr=Object[_0x3cf6fd(0x1f5)],Qr=(_0x312301,_0x2e58d6,_0x2a6778,_0x4d2a46)=>{var _0x12f82d=_0x3cf6fd;for(var _0x4005c2=_0x4d2a46>0x1?void 0x0:_0x4d2a46?Zr(_0x2e58d6,_0x2a6778):_0x2e58d6,_0x10e45d=_0x312301[_0x12f82d(0x2a8)]-0x1,_0x56983e;_0x10e45d>=0x0;_0x10e45d--)(_0x56983e=_0x312301[_0x10e45d])&&(_0x4005c2=_0x56983e(_0x4005c2)||_0x4005c2);return _0x4005c2;},mt=(_0x592908,_0x195d5e)=>(_0x57d280,_0x41b7fc)=>_0x195d5e(_0x57d280,_0x41b7fc,_0x592908);let bt=class extends _0x14bef9{constructor(_0x3429e3,_0x591828,_0x25876f){var _0x5138ea=_0x3cf6fd;super(),N(this,_0x5138ea(0x146),new _0x3399ea(null)),N(this,_0x5138ea(0x174),this[_0x5138ea(0x146)][_0x5138ea(0x188)]()),(this[_0x5138ea(0x123)]=_0x3429e3,this[_0x5138ea(0x36c)]=_0x591828,this[_0x5138ea(0x286)]=_0x25876f);}async[_0x3cf6fd(0x35f)](_0x3b2667,_0x1c8d00,_0x1ae88b){var _0xfca5d0=_0x3cf6fd;this['_unitInfo$']['next']({'unitId':_0x3b2667,'type':_0x1c8d00,'subUnitId':_0x1ae88b});let _0xb2bed8=null;switch(_0x1c8d00){case Q['UNIVER_SHEET']:{_0xb2bed8=await this['_loadSheet'](_0x3b2667);break;}case Q[_0xfca5d0(0x3bb)]:{_0xb2bed8=await this[_0xfca5d0(0x30b)](_0x3b2667);break;}default:{this[_0xfca5d0(0x123)][_0xfca5d0(0x3d0)](_0xfca5d0(0x25a),_0xfca5d0(0x15b));break;}}return _0xb2bed8;}async[_0x3cf6fd(0x13b)](_0x30f1c1){var _0x1b2d2e=_0x3cf6fd,_0x1c0b49;let _0x18df01=0x0;const _0x4086ff=await((_0x1c0b49=this[_0x1b2d2e(0x286)])==null?void 0x0:_0x1c0b49[_0x1b2d2e(0x2dd)](_0x30f1c1));return _0x4086ff&&(_0x4086ff['awaitingChangeset']||_0x4086ff[_0x1b2d2e(0x373)]['length']!==0x0)&&(_0x18df01=_0x4086ff[_0x1b2d2e(0x36a)]),_0x18df01===0x0&&this[_0x1b2d2e(0x123)]['debug'](_0x1b2d2e(0x25a),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x1b2d2e(0x29e)](_0x30f1c1,_0x18df01);}async[_0x3cf6fd(0x30b)](_0x2270a2){var _0x90bc0d=_0x3cf6fd,_0x44d108;let _0x41f2d6=0x0;const _0x17e3c5=await((_0x44d108=this[_0x90bc0d(0x286)])==null?void 0x0:_0x44d108[_0x90bc0d(0x2dd)](_0x2270a2));return _0x17e3c5&&(_0x17e3c5[_0x90bc0d(0x3f4)]||_0x17e3c5[_0x90bc0d(0x373)][_0x90bc0d(0x2a8)]!==0x0)&&(_0x41f2d6=_0x17e3c5[_0x90bc0d(0x36a)]),_0x41f2d6===0x0&&this[_0x90bc0d(0x123)][_0x90bc0d(0x100)]('[DataLoaderService]',_0x90bc0d(0x358)),this['_snapshotService']['loadDoc'](_0x2270a2,_0x41f2d6);}};bt=Qr([mt(0x0,_0x5c90c9),mt(0x1,_0x2a1c1e(_0xd81efa)),mt(0x2,_0x22e998(J))],bt);var es=Object[_0x3cf6fd(0x1f5)],ts=(_0x172db3,_0x1a9222,_0x2752d2,_0x1c1961)=>{var _0x539273=_0x3cf6fd;for(var _0x51fa9a=_0x1c1961>0x1?void 0x0:_0x1c1961?es(_0x1a9222,_0x2752d2):_0x1a9222,_0x9a10b5=_0x172db3[_0x539273(0x2a8)]-0x1,_0x3877f8;_0x9a10b5>=0x0;_0x9a10b5--)(_0x3877f8=_0x172db3[_0x9a10b5])&&(_0x51fa9a=_0x3877f8(_0x51fa9a)||_0x51fa9a);return _0x51fa9a;},gt=(_0x3dc0c2,_0x14f419)=>(_0x2c7680,_0x2120a6)=>_0x14f419(_0x2c7680,_0x2120a6,_0x3dc0c2);const is=['image/png',_0x3cf6fd(0x1cd),_0x3cf6fd(0x281),_0x3cf6fd(0x343),'image/bmp'],ns=0x5*0x400*0x400,rs='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',ss=_0x3cf6fd(0x19f),as=_0x3cf6fd(0x226),os=_0x3cf6fd(0x305);let yt=class{constructor(_0x29cccf,_0x3d91a4,_0x24624c){var _0x41db0b=_0x3cf6fd;N(this,_0x41db0b(0x21e),0x0),N(this,_0x41db0b(0x292),new _0x455261()),N(this,_0x41db0b(0x1e2),this[_0x41db0b(0x292)]),N(this,_0x41db0b(0x1f1),new Map()),(this[_0x41db0b(0x1fd)]=_0x29cccf,this[_0x41db0b(0x323)]=_0x3d91a4,this[_0x41db0b(0x298)]=_0x24624c);}[_0x3cf6fd(0x37d)](_0x25e5aa){var _0x34f4b9=_0x3cf6fd;this[_0x34f4b9(0x21e)]=_0x25e5aa,this[_0x34f4b9(0x292)][_0x34f4b9(0x127)](_0x25e5aa);}['getImageSourceCache'](_0x3e7627,_0x1ff93c){var _0x46f514=_0x3cf6fd;if(_0x1ff93c===_0x3a75a9[_0x46f514(0x3b7)]){const _0x5697d0=new Image();return _0x5697d0[_0x46f514(0x38c)]=_0x3e7627,_0x5697d0;}return this[_0x46f514(0x1f1)]['get'](_0x3e7627);}[_0x3cf6fd(0x3b1)](_0x189dce,_0x111de8,_0xd7a480){var _0x3c3320=_0x3cf6fd;_0x111de8===_0x3a75a9[_0x3c3320(0x3b7)]||_0xd7a480==null||this[_0x3c3320(0x1f1)][_0x3c3320(0x37c)](_0x189dce,_0xd7a480);}async['getImage'](_0x3cd547){var _0x54f6b5=_0x3cf6fd;try{const _0x3721d1=this[_0x54f6b5(0x39b)](this[_0x54f6b5(0x27e)](),''+_0x3cd547),_0x5b70e9=(await this[_0x54f6b5(0x1fd)][_0x54f6b5(0x3d2)](_0x3721d1))['body'];if(_0x5b70e9[_0x54f6b5(0x3d0)]&&_0x5b70e9[_0x54f6b5(0x3d0)][_0x54f6b5(0x245)]===Si['OK']){const _0x278752=new URL(_0x5b70e9[_0x54f6b5(0x3f5)],this[_0x54f6b5(0x3eb)]())[_0x54f6b5(0x3c0)]();return Promise[_0x54f6b5(0x155)](_0x278752);}return Promise[_0x54f6b5(0x15e)](_0x5b70e9[_0x54f6b5(0x3d0)]);}catch(_0x26408d){return Promise[_0x54f6b5(0x15e)](_0x26408d);}}async[_0x3cf6fd(0x185)](_0x413299){var _0x1b3f0f=_0x3cf6fd;let _0xf399a5='';if(!is['includes'](_0x413299[_0x1b3f0f(0x1b8)]))return this[_0x1b3f0f(0x3b0)](),Promise[_0x1b3f0f(0x15e)](new Error(_0x2384d8[_0x1b3f0f(0x1a5)]));if(_0x413299[_0x1b3f0f(0x2d2)]>ns)return this[_0x1b3f0f(0x3b0)](),Promise[_0x1b3f0f(0x15e)](new Error(_0x2384d8[_0x1b3f0f(0x128)]));try{const _0x352b52=new FormData();_0x352b52[_0x1b3f0f(0x21a)](_0x1b3f0f(0x3bc),_0x413299);const _0x189731=this[_0x1b3f0f(0x298)][_0x1b3f0f(0x2cb)](),_0x5c69d8=_0x189731==null?void 0x0:_0x189731[_0x1b3f0f(0x231)]();if(!_0x5c69d8)throw new Error(_0x1b3f0f(0x2d4));const _0x20d1ca=this[_0x1b3f0f(0x13d)]()+'?size='+_0x413299[_0x1b3f0f(0x2d2)][_0x1b3f0f(0x3c0)]()+_0x1b3f0f(0x389)+Ei['UnitEmbedded']+_0x1b3f0f(0x133)+encodeURIComponent(_0x5c69d8),_0xd1da42=await(await fetch(_0x20d1ca,{'method':_0x1b3f0f(0x1c8),'body':_0x352b52}))[_0x1b3f0f(0x3b5)]();if(typeof _0xd1da42[_0x1b3f0f(0x398)]!=_0x1b3f0f(0x264))return this[_0x1b3f0f(0x3b0)](),Promise[_0x1b3f0f(0x15e)](new Error(_0x2384d8[_0x1b3f0f(0x40b)]));_0xf399a5=_0xd1da42['FileId'];}catch{return this[_0x1b3f0f(0x3b0)](),Promise['reject'](new Error(_0x2384d8[_0x1b3f0f(0x40b)]));}return new Promise((_0x35aab2,_0x262115)=>{var _0x41a15e=_0x1b3f0f;const _0x2cd061=new FileReader();_0x2cd061[_0x41a15e(0x2d1)](_0x413299),_0x2cd061[_0x41a15e(0x25f)]=_0x36a992=>{var _0x14a339=_0x41a15e,_0x5da69f;const _0x2aca68=(_0x5da69f=_0x36a992[_0x14a339(0x138)])==null?void 0x0:_0x5da69f[_0x14a339(0x20d)];if(_0x2aca68==null){this[_0x14a339(0x3b0)](),_0x262115(new Error(_0x2384d8[_0x14a339(0x40b)]));return;}const _0x5be2c2=_0x5f17d1[_0x14a339(0x26e)](0x6);_0x35aab2({'imageId':_0x5be2c2,'imageSourceType':_0x3a75a9['UUID'],'source':_0xf399a5,'base64Cache':_0x2aca68,'status':_0x2384d8[_0x14a339(0x116)]}),this[_0x14a339(0x3b0)]();};});}[_0x3cf6fd(0x13d)](){var _0x1ddc48=_0x3cf6fd,_0x223d16,_0x23e3a2;const _0x59ff66=this[_0x1ddc48(0x323)][_0x1ddc48(0x3e7)](rs),_0x56f198=this[_0x1ddc48(0x323)][_0x1ddc48(0x3e7)](q);return(_0x23e3a2=(_0x223d16=_0x56f198==null?void 0x0:_0x56f198['uploadFileServerUrl'])!=null?_0x223d16:_0x59ff66)!=null?_0x23e3a2:ss;}[_0x3cf6fd(0x27e)](){var _0x48a765=_0x3cf6fd,_0xadf5a9,_0x4b39cb;const _0x1e2269=this['_configService']['getConfig'](as),_0x495674=this[_0x48a765(0x323)]['getConfig'](q);return(_0x4b39cb=(_0xadf5a9=_0x495674==null?void 0x0:_0x495674[_0x48a765(0x25c)])!=null?_0xadf5a9:_0x1e2269)!=null?_0x4b39cb:os;}['_getDownloadEndpointURL'](){var _0x55ff95=_0x3cf6fd,_0x29eb26;const _0x3198f6=this['_configService'][_0x55ff95(0x3e7)](q);return(_0x29eb26=_0x3198f6==null?void 0x0:_0x3198f6['downloadEndpointUrl'])!=null?_0x29eb26:location['origin'];}[_0x3cf6fd(0x39b)](_0x4a23cb,_0x5b0311){var _0x3829a9=_0x3cf6fd;return _0x4a23cb['replace'](_0x3829a9(0x1b1),_0x5b0311);}['_decreaseWaiting'](){var _0x928018=_0x3cf6fd;this[_0x928018(0x21e)]-=0x1,this[_0x928018(0x292)]['next'](this[_0x928018(0x21e)]);}};yt=ts([gt(0x0,_0x2a1c1e(_0x4238bf)),gt(0x1,_0x403a68),gt(0x2,_0x2a1c1e(_0x51776b))],yt);var cs=Object[_0x3cf6fd(0x1f5)],hs=(_0xebe2eb,_0x2e88a0,_0x4310d2,_0x55160e)=>{var _0x35fdf7=_0x3cf6fd;for(var _0x2efeeb=_0x55160e>0x1?void 0x0:_0x55160e?cs(_0x2e88a0,_0x4310d2):_0x2e88a0,_0x435cf9=_0xebe2eb[_0x35fdf7(0x2a8)]-0x1,_0x32292f;_0x435cf9>=0x0;_0x435cf9--)(_0x32292f=_0xebe2eb[_0x435cf9])&&(_0x2efeeb=_0x32292f(_0x2efeeb)||_0x2efeeb);return _0x2efeeb;},hi=(_0x2b7f00,_0x25c2e1)=>(_0x2e89b7,_0x57fb7c)=>_0x25c2e1(_0x2e89b7,_0x57fb7c,_0x2b7f00);const _s=_0x3cf6fd(0x242);let Ot=class{constructor(_0x528fbb,_0x111543){var _0x40b49c=_0x3cf6fd;this['_configService']=_0x528fbb,this[_0x40b49c(0x2a6)]=_0x111543;}[_0x3cf6fd(0x2bb)](){var _0x28ed4e=_0x3cf6fd,_0x8b83d7,_0x39c13e;const _0x393714=this[_0x28ed4e(0x323)][_0x28ed4e(0x3e7)](Ni),_0x8fefc1=this[_0x28ed4e(0x323)][_0x28ed4e(0x3e7)](q);return(_0x39c13e=(_0x8b83d7=_0x8fefc1==null?void 0x0:_0x8fefc1[_0x28ed4e(0x120)])!=null?_0x8b83d7:_0x393714)!=null?_0x39c13e:_s;}async['list'](_0x2fafd2){var _0x400b6b=_0x3cf6fd;const _0x467065=this[_0x400b6b(0x2bb)]()+'/collaborator';return{'list':[{'title':_0x400b6b(0x1eb),'mentions':(await this[_0x400b6b(0x2a6)][_0x400b6b(0x3d2)](_0x467065,{'params':{'objectID':_0x2fafd2[_0x400b6b(0x388)],'unitID':_0x2fafd2[_0x400b6b(0x388)]}}))[_0x400b6b(0x357)]['collaborators'][_0x400b6b(0x2ea)](_0x2b7ee2=>({'objectId':_0x2b7ee2['id'],'name':_0x2b7ee2[_0x400b6b(0x192)][_0x400b6b(0x210)],'metadata':{'icon':_0x2b7ee2[_0x400b6b(0x192)]['avatar']},'label':_0x2b7ee2['subject']['name'],'objectType':_0x412a20['PERSON']})),'metadata':{},'type':_0x412a20[_0x400b6b(0x379)]}]};}};Ot=hs([hi(0x0,_0x2a1c1e(_0x403a68)),hi(0x1,_0x2a1c1e(_0x4238bf))],Ot);var ls=Object[_0x3cf6fd(0x1f5)],us=(_0xf41e01,_0x2f5964,_0x1c1cf8,_0x2b0bdc)=>{var _0x2cb76d=_0x3cf6fd;for(var _0x2ca88d=_0x2b0bdc>0x1?void 0x0:_0x2b0bdc?ls(_0x2f5964,_0x1c1cf8):_0x2f5964,_0x3da2dc=_0xf41e01[_0x2cb76d(0x2a8)]-0x1,_0x3dff89;_0x3da2dc>=0x0;_0x3da2dc--)(_0x3dff89=_0xf41e01[_0x3da2dc])&&(_0x2ca88d=_0x3dff89(_0x2ca88d)||_0x2ca88d);return _0x2ca88d;},Ae=(_0x60cd7d,_0x50994b)=>(_0x7af94,_0x341fbc)=>_0x50994b(_0x7af94,_0x341fbc,_0x60cd7d);let ot=class extends _0x14bef9{constructor(_0x59ed43,_0x242010,_0x19c81f,_0x3d6820,_0x487dd9){var _0x570b27=_0x3cf6fd;super(),this['_injector']=_0x59ed43,this[_0x570b27(0x298)]=_0x242010,this['_permissionService']=_0x19c81f,this['_collaborationSessionService']=_0x3d6820,this[_0x570b27(0x2f9)]=_0x487dd9,this[_0x570b27(0x19d)](),this[_0x570b27(0x200)]();}[_0x3cf6fd(0x200)](){var _0x1e213e=_0x3cf6fd;const _0x5ad349=async _0x42732c=>{var _0x4ad5c7=_0x4cd0;(await this[_0x4ad5c7(0x1be)][_0x4ad5c7(0x1ce)](_0x42732c))[_0x4ad5c7(0x229)]['pipe'](_0x2753ea(_0xb3363a=>_0xb3363a[_0x4ad5c7(0x1ee)]===_0x2e4cb2[_0x4ad5c7(0x382)]),_0x51a289(this[_0x4ad5c7(0x117)]))['subscribe'](_0x16fd05=>{var _0xc6316b=_0x4ad5c7;const _0x3424e4=_0x16fd05,{reason:_0x4264e8}=_0x3424e4[_0xc6316b(0x313)];this[_0xc6316b(0x2f9)][_0xc6316b(0x24a)]({'id':se[_0xc6316b(0x3a5)],'data':_0x4264e8}),this['_permissionService'][_0xc6316b(0x236)](new _0x176114(_0x42732c)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x42732c);});};_0x1b74d2(this[_0x1e213e(0x298)][_0x1e213e(0x18e)](_0xc8f4f5[_0x1e213e(0x2c8)]),this[_0x1e213e(0x298)]['getTypeOfUnitAdded$'](_0xc8f4f5[_0x1e213e(0x3bb)]))[_0x1e213e(0x1d5)](_0x2ce134(_0x55c0ba=>_0x55c0ba['getUnitId']()),_0x2753ea(_0x471c37=>!_0xc95978(_0x471c37)),_0x51a289(this[_0x1e213e(0x117)]))[_0x1e213e(0x301)](_0x7c8275=>{_0x5ad349(_0x7c8275);});}['_initUnitPermissionChange'](){var _0x42b59b=_0x3cf6fd;const _0x1b866d=async _0x395ecf=>{var _0x45fee6=_0x4cd0;const _0x400165=await this[_0x45fee6(0x1be)][_0x45fee6(0x1ce)](_0x395ecf),_0x335fa1=this[_0x45fee6(0x1d4)]['get'](_0x254474);_0x400165[_0x45fee6(0x229)]['pipe'](_0x2753ea(_0x11c550=>_0x11c550[_0x45fee6(0x1ee)]===_0x2e4cb2[_0x45fee6(0x111)]),_0x51a289(this[_0x45fee6(0x117)]))['subscribe'](_0x8b74eb=>{var _0x18cc7c=_0x45fee6;const _0x30f661=_0x8b74eb,{objectId:_0x21f527}=_0x30f661[_0x18cc7c(0x313)];_0x21f527===_0x395ecf?_0x335fa1[_0x18cc7c(0x30a)](_0x395ecf):_0x335fa1[_0x18cc7c(0x29b)](_0x395ecf,_0x21f527);});};_0x1b74d2(this[_0x42b59b(0x298)][_0x42b59b(0x18e)](_0xc8f4f5[_0x42b59b(0x2c8)]))[_0x42b59b(0x1d5)](_0x2ce134(_0x5942b2=>_0x5942b2[_0x42b59b(0x231)]()),_0x2753ea(_0x22d6d7=>!_0xc95978(_0x22d6d7)),_0x51a289(this['dispose$']))['subscribe'](_0x43ec7a=>{_0x1b866d(_0x43ec7a);});}};ot=us([Ae(0x0,_0x2a1c1e(_0x40a907)),Ae(0x1,_0x51776b),Ae(0x2,_0x7add9a),Ae(0x3,_0x2a1c1e(Le)),Ae(0x4,_0x2a1c1e(pe))],ot);var ds=Object[_0x3cf6fd(0x1f5)],fs=(_0x63b7de,_0x2e7052,_0x4229fb,_0x2750f1)=>{for(var _0x32b066=_0x2750f1>0x1?void 0x0:_0x2750f1?ds(_0x2e7052,_0x4229fb):_0x2e7052,_0x20a5e3=_0x63b7de['length']-0x1,_0x5e1d0e;_0x20a5e3>=0x0;_0x20a5e3--)(_0x5e1d0e=_0x63b7de[_0x20a5e3])&&(_0x32b066=_0x5e1d0e(_0x32b066)||_0x32b066);return _0x32b066;},_i=(_0x440b7b,_0x10044d)=>(_0x12def,_0x47d69a)=>_0x10044d(_0x12def,_0x47d69a,_0x440b7b);let Nt=class{constructor(_0x4ab536,_0x3e3996){var _0x2c7c21=_0x3cf6fd;this[_0x2c7c21(0x323)]=_0x4ab536,this[_0x2c7c21(0x1fd)]=_0x3e3996;}async[_0x3cf6fd(0x403)](_0x304f1c,_0x43b27d){var _0x4cbf47=_0x3cf6fd,_0x17fd38;const {unitID:_0xaa5b35,type:_0x32acd2,revision:_0x41117e=0x0}=_0x43b27d,_0x529a91=this['getSnapshotAPIPath']()+'/'+_0x32acd2+'/unit/'+_0xaa5b35+_0x4cbf47(0x207)+_0x41117e,_0x32d783=(await this[_0x4cbf47(0x1fd)]['get'](_0x529a91))[_0x4cbf47(0x357)],_0x2ab453=(_0x17fd38=_0x32d783['snapshot'])==null?void 0x0:_0x17fd38[_0x4cbf47(0x1a6)];if(_0x2ab453){const _0x532f8b=_0x2ab453==null?void 0x0:_0x2ab453[_0x4cbf47(0x3b9)],_0x5b3f46=_0x14c08e[_0x4cbf47(0x341)](_0x1423bb(_0x532f8b));_0x2ab453[_0x4cbf47(0x3b9)]=_0x5b3f46,Object[_0x4cbf47(0x394)](_0x2ab453[_0x4cbf47(0x34f)])[_0x4cbf47(0x338)](([,_0x51f886])=>{var _0x40807b=_0x4cbf47;const _0xa702db=_0x51f886[_0x40807b(0x3b9)],_0x5d4b23=_0x14c08e[_0x40807b(0x341)](_0x1423bb(_0xa702db));_0x51f886[_0x40807b(0x3b9)]=_0x5d4b23;});}return _0x32d783;}async[_0x3cf6fd(0x400)](_0x5398f7,_0x1f3f94){var _0x3c19cc=_0x3cf6fd;const {unitID:_0x3c245d,type:_0x335e1a,blockID:_0x20db06}=_0x1f3f94,_0x211f28=this[_0x3c19cc(0x1d6)]()+'/'+_0x335e1a+'/unit/'+_0x3c245d+'/block/'+_0x20db06;return(await this['_httpService']['get'](_0x211f28))[_0x3c19cc(0x357)];}async[_0x3cf6fd(0x1cb)](_0x5160d9,_0x47f88f){var _0x133815=_0x3cf6fd;const {unitID:_0x5d3fba,type:_0x1df737,blockID:_0x1d3ba4}=_0x47f88f,_0x1d71aa=this[_0x133815(0x1d6)]()+_0x133815(0x350)+_0x1df737+_0x133815(0x189)+_0x5d3fba+_0x133815(0x350)+_0x1d3ba4;return(await this['_httpService'][_0x133815(0x3d2)](_0x1d71aa))[_0x133815(0x357)];}async[_0x3cf6fd(0x221)](_0x763120,_0x5cb930){var _0x59fb56=_0x3cf6fd;const {unitID:_0x4ba24d,type:_0x12f900,from:_0x6ff48b,to:_0x4d699b}=_0x5cb930,_0x53c22e=this[_0x59fb56(0x1d6)]()+'/'+_0x12f900+'/unit/'+_0x4ba24d+_0x59fb56(0x27f)+_0x6ff48b+'&to='+_0x4d699b;return(await this[_0x59fb56(0x1fd)]['get'](_0x53c22e))['body'];}[_0x3cf6fd(0x284)](){var _0x4c4021=_0x3cf6fd,_0x4f152b;return(_0x4f152b=this[_0x4c4021(0x323)][_0x4c4021(0x3e7)](Sn))!=null?_0x4f152b:this[_0x4c4021(0x1d6)]();}[_0x3cf6fd(0x1d6)](){var _0x16bea0=_0x3cf6fd,_0x360aa8,_0x4ab47;const _0x3a3121=this[_0x16bea0(0x323)][_0x16bea0(0x3e7)](mn),_0x5d284c=this[_0x16bea0(0x323)]['getConfig'](q);return(_0x4ab47=(_0x360aa8=_0x5d284c==null?void 0x0:_0x5d284c['snapshotServerUrl'])!=null?_0x360aa8:_0x3a3121)!=null?_0x4ab47:gn;}async[_0x3cf6fd(0x184)](_0x26f0f0,_0x183548){var _0x524c86=_0x3cf6fd;const _0x51032d=_0x524c86(0x39f)+_0x183548[_0x524c86(0x1b8)]+_0x524c86(0x189)+_0x183548['unitID']+'/resources';return(await this[_0x524c86(0x1fd)]['get'](_0x51032d,{'params':{'resourceId':JSON[_0x524c86(0x35c)](_0x183548[_0x524c86(0x119)])}}))['body'];}[_0x3cf6fd(0x3ec)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3cf6fd(0x180)](){var _0x190fd9=_0x3cf6fd;throw new Error(_0x190fd9(0x137));}[_0x3cf6fd(0x3ef)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3cf6fd(0x107)](){var _0xe244d6=_0x3cf6fd;throw new Error(_0xe244d6(0x137));}['getLatestCsReqIdBySid'](){var _0x5919a3=_0x3cf6fd;throw new Error(_0x5919a3(0x137));}};Nt=fs([_i(0x0,_0x403a68),_i(0x1,_0x2a1c1e(_0x4238bf))],Nt);var vs=Object['getOwnPropertyDescriptor'],ps=(_0x1a3fb4,_0x4e7f6b,_0x392178,_0x350f08)=>{var _0x52ad58=_0x3cf6fd;for(var _0x11affe=_0x350f08>0x1?void 0x0:_0x350f08?vs(_0x4e7f6b,_0x392178):_0x4e7f6b,_0x41b32d=_0x1a3fb4[_0x52ad58(0x2a8)]-0x1,_0x475f9a;_0x41b32d>=0x0;_0x41b32d--)(_0x475f9a=_0x1a3fb4[_0x41b32d])&&(_0x11affe=_0x475f9a(_0x11affe)||_0x11affe);return _0x11affe;},Pe=(_0x242ef2,_0x18a73a)=>(_0x42f802,_0xc78a8b)=>_0x18a73a(_0x42f802,_0xc78a8b,_0x242ef2);let Dt=class extends _0x1f65bf{constructor(_0x5b056f,_0x47dd29,_0x54faf4,_0x25ba83,_0x1a36b2){var _0x51cb40=_0x3cf6fd;super(_0x5b056f,_0x47dd29,_0x54faf4),this[_0x51cb40(0x199)]=_0x25ba83,this[_0x51cb40(0x123)]=_0x1a36b2;}[_0x3cf6fd(0x3e6)](_0x329ffe,_0x48c59f){var _0x8c4780=_0x3cf6fd;const _0x14aefb=this['_getUndoStack'](_0x329ffe);if(_0x14aefb)try{const _0x58c3b7=this['_transformStack'](_0x14aefb,_0x48c59f);this[_0x8c4780(0x169)](_0x329ffe,_0x58c3b7);}catch(_0x44e477){this[_0x8c4780(0x123)][_0x8c4780(0x3d0)](_0x8c4780(0x105),_0x44e477),this[_0x8c4780(0x3c9)](_0x329ffe);}const _0x362905=this[_0x8c4780(0x3ce)](_0x329ffe);if(_0x362905)try{const _0x3e37a2=this[_0x8c4780(0x349)](_0x362905,_0x48c59f);this[_0x8c4780(0x371)](_0x329ffe,_0x3e37a2);}catch(_0x326208){this[_0x8c4780(0x123)][_0x8c4780(0x3d0)](_0x326208),this[_0x8c4780(0x257)](_0x329ffe);}}[_0x3cf6fd(0x3c9)](_0x5f427b){var _0x16d1d7=_0x3cf6fd;const _0x164cf1=this['_getUndoStack'](_0x5f427b);_0x164cf1&&(_0x164cf1[_0x16d1d7(0x2a8)]=0x0,this['_updateStatus']());}[_0x3cf6fd(0x257)](_0x14729e){var _0x5bf4ee=_0x3cf6fd;const _0x330ddb=this[_0x5bf4ee(0x3ce)](_0x14729e);_0x330ddb&&(_0x330ddb[_0x5bf4ee(0x2a8)]=0x0,this[_0x5bf4ee(0x3bf)]());}['_substituteUndoStack'](_0xe52876,_0xcc4bc4){var _0x1b7855=_0x3cf6fd;this[_0x1b7855(0x20f)][_0x1b7855(0x37c)](_0xe52876,_0xcc4bc4),this[_0x1b7855(0x3bf)]();}[_0x3cf6fd(0x371)](_0x8b7123,_0x39a532){var _0xf89b63=_0x3cf6fd;this[_0xf89b63(0x2fd)][_0xf89b63(0x37c)](_0x8b7123,_0x39a532),this[_0xf89b63(0x3bf)]();}[_0x3cf6fd(0x349)](_0x562ffc,_0x49ac6e){var _0x2d621c=_0x3cf6fd;const _0x322d04=[];let _0x23e179=_0x49ac6e,_0x7ad53f=_0x49ac6e;for(let _0x270fa2=_0x562ffc['length']-0x1;_0x270fa2>=0x0;_0x270fa2--){const {unitID:_0x5304ed,undoMutations:_0xe27b16,redoMutations:_0x1592dd}=_0x562ffc[_0x270fa2],_0x34226b=this['_transformService'][_0x2d621c(0x25b)](_0x23e179,_0xe27b16),_0xa5eee0=this[_0x2d621c(0x199)][_0x2d621c(0x25b)](_0x7ad53f,_0x1592dd);if(_0x319435(_0x34226b)||_0x319435(_0xa5eee0)){this[_0x2d621c(0x123)][_0x2d621c(0x3d0)]('[CollaborationUndoRedoService]',_0x2d621c(0x3c5),_0x34226b,_0xa5eee0);break;}_0x23e179=_0x34226b[_0x2d621c(0x306)],_0x7ad53f=_0xa5eee0[_0x2d621c(0x306)],_0x322d04[_0x2d621c(0x170)]({'unitID':_0x5304ed,'undoMutations':_0x34226b['m2Prime'],'redoMutations':_0xa5eee0[_0x2d621c(0x247)]});}return _0x322d04['reverse']();}};Dt=ps([Pe(0x0,_0x51776b),Pe(0x1,_0x2fdf51),Pe(0x2,_0x9383da),Pe(0x3,_0x4f3b0f),Pe(0x4,_0x5c90c9)],Dt);var ms=Object[_0x3cf6fd(0x2ec)],gs=Object[_0x3cf6fd(0x1f5)],Ss=(_0x3e154d,_0x1a9c3b,_0x1d74be)=>_0x1a9c3b in _0x3e154d?ms(_0x3e154d,_0x1a9c3b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d74be}):_0x3e154d[_0x1a9c3b]=_0x1d74be,Es=(_0x3e2862,_0x317061,_0x19cea5,_0x296368)=>{var _0xf081b5=_0x3cf6fd;for(var _0x3dce8b=_0x296368>0x1?void 0x0:_0x296368?gs(_0x317061,_0x19cea5):_0x317061,_0x3e3140=_0x3e2862[_0xf081b5(0x2a8)]-0x1,_0x173821;_0x3e3140>=0x0;_0x3e3140--)(_0x173821=_0x3e2862[_0x3e3140])&&(_0x3dce8b=_0x173821(_0x3dce8b)||_0x3dce8b);return _0x3dce8b;},St=(_0x1a8cdb,_0x36e86a)=>(_0x57b0c4,_0xa5e5d9)=>_0x36e86a(_0x57b0c4,_0xa5e5d9,_0x1a8cdb),Is=(_0x561346,_0x3a919a,_0x34a8c7)=>Ss(_0x561346,_0x3a919a+'',_0x34a8c7);const Ts='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Ut=class extends _0x13d6bd{constructor(_0x586a20,_0x4e38bb,_0x145a5d,_0x49d070){var _0x59a44e=_0x3cf6fd;super(),N(this,'_config'),(this[_0x59a44e(0x123)]=_0x4e38bb,this[_0x59a44e(0x1d4)]=_0x145a5d,this['_configService']=_0x49d070);const {..._0x3081ca}=_0x58b8cc({},An,_0x586a20);if(!_0x3081ca['socketService'])throw new Error(_0x59a44e(0x2eb));this[_0x59a44e(0x225)]=_0x3081ca,this['_configService']['setConfig'](q,_0x3081ca);}[_0x3cf6fd(0x1b7)](){var _0xd3a97d=_0x3cf6fd;this[_0xd3a97d(0x217)](),this[_0xd3a97d(0x12c)]();}[_0x3cf6fd(0x217)](){var _0x120add=_0x3cf6fd,_0x54b07f,_0x28ce21;this['_injector'][_0x120add(0x101)](_0x365e68)&&this[_0x120add(0x123)][_0x120add(0x3d0)](_0x120add(0x337),_0x120add(0x2a2));const _0x727598=_0x565b73([[_0x365e68,{'useClass':Dt}],[Le],[xe],[it],[st],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x120add(0x225)][_0x120add(0x118)]}],[_0xb06ff3,{'useClass':Nt}],[_0x3c5152,{'useClass':Rt}],[_0x1528a8,{'useClass':yt}],[_0x90a133,{'useClass':Ot}],[rt],[Ct]],(_0x54b07f=this[_0x120add(0x225)])==null?void 0x0:_0x54b07f[_0x120add(0x140)]);if(!((_0x28ce21=this[_0x120add(0x225)])!=null&&_0x28ce21[_0x120add(0x2a1)])){const _0xf9f50c=_0x727598[_0x120add(0x222)](([_0xf714e7])=>_0xf714e7===ht);_0xf9f50c!==-0x1&&_0x727598[_0x120add(0x2f1)](_0xf9f50c,0x1);}_0x3765a9(this[_0x120add(0x1d4)],_0x727598);}[_0x3cf6fd(0x12c)](){var _0x423816=_0x3cf6fd,_0x1a6a7b,_0x6d62f1,_0x1111ce;this[_0x423816(0x1d4)][_0x423816(0x3d2)](_0x4238bf)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x3d79ac({'maxParallel':0x6})}),(_0x1a6a7b=this[_0x423816(0x225)])!=null&&_0x1a6a7b[_0x423816(0x2aa)]||(_0x6d62f1=this[_0x423816(0x1d4)][_0x423816(0x3d2)](J,_0x26931b['OPTIONAL']))==null||_0x6d62f1[_0x423816(0x204)](),(_0x1111ce=this[_0x423816(0x225)])!=null&&_0x1111ce[_0x423816(0x2a5)]&&_0xf1b062(this[_0x423816(0x1d4)],[[st]]),_0xf1b062(this[_0x423816(0x1d4)],[[at],[rt],[ot]]);}};Is(Ut,_0x3cf6fd(0x334),Ts),Ut=Es([_0x3b322c(_0x548e2c,_0x14aa80),St(0x1,_0x5c90c9),St(0x2,_0x2a1c1e(_0x40a907)),St(0x3,_0x403a68)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,xn as deserializeToCombResponse,Bs as getLocalCacheKey,Ln as serializeCombRequest};
1
+ var _0x2f175c=_0x3552;(function(_0x4f13b2,_0xeacc8e){var _0x1c7f0f=_0x3552,_0xc7a4fe=_0x4f13b2();while(!![]){try{var _0x2a8bc9=-parseInt(_0x1c7f0f(0x336))/0x1+parseInt(_0x1c7f0f(0x2b8))/0x2+parseInt(_0x1c7f0f(0x2c9))/0x3+-parseInt(_0x1c7f0f(0x22f))/0x4*(-parseInt(_0x1c7f0f(0x197))/0x5)+parseInt(_0x1c7f0f(0x337))/0x6+parseInt(_0x1c7f0f(0x361))/0x7*(parseInt(_0x1c7f0f(0x412))/0x8)+parseInt(_0x1c7f0f(0x2f2))/0x9*(-parseInt(_0x1c7f0f(0x3a7))/0xa);if(_0x2a8bc9===_0xeacc8e)break;else _0xc7a4fe['push'](_0xc7a4fe['shift']());}catch(_0x141af3){_0xc7a4fe['push'](_0xc7a4fe['shift']());}}}(_0x4349,0x8efff));var Ai=Object['defineProperty'],Pi=(_0x4074c4,_0x4d1967,_0x15db0e)=>_0x4d1967 in _0x4074c4?Ai(_0x4074c4,_0x4d1967,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15db0e}):_0x4074c4[_0x4d1967]=_0x15db0e,N=(_0x5284c8,_0x32f99a,_0x2587f7)=>Pi(_0x5284c8,typeof _0x32f99a!=_0x2f175c(0x437)?_0x32f99a+'':_0x32f99a,_0x2587f7);import{createIdentifier as _0x118e51,Inject as _0xbf826d,Injector as _0x55133f,IConfigService as _0x212b45,ILogService as _0x412d07,Disposable as _0x551fc0,DisposableCollection as _0x59cf21,toDisposable as _0x20ceec,IUniverInstanceService as _0x457cbb,UserManagerService as _0x4ecccb,UniverInstanceType as _0x3f08f1,LocaleService as _0x5394b0,Optional as _0xded328,RxDisposable as _0x263cf9,Tools as _0x2b3879,Rectangle as _0x47c96b,ICommandService as _0x894975,JSONX as _0x204f50,CommandType as _0x340f5c,IUndoRedoService as _0x46d342,IPermissionService as _0x566665,sequenceExecute as _0x11c566,Workbook as _0x1dacaf,MentionType as _0x5cc6c6,isInternalEditorID as _0x148803,LocalUndoRedoService as _0x28d0f3,IContextService as _0x228de8,DependentOn as _0x4bdeef,Plugin as _0xf24895,merge as _0x2495e8,mergeOverrideWithDependencies as _0x2d45b3,IAuthzIoService as _0x52dd20,IMentionIOService as _0x3e5590,registerDependencies as _0x4d21f6,Quantity as _0x42d6bb,touchDependencies as _0x24c31a}from'@univerjs/core';import{Subject as _0x4bfaba,merge as _0x3e0945,of as _0x5e4497,BehaviorSubject as _0x19faa4,takeUntil as _0x476050,ReplaySubject as _0x402d3d,take as _0x1482c7,map as _0x6438e9,shareReplay as _0x17fd12,firstValueFrom as _0x4ca4a0,concatMap as _0x358136}from'rxjs';import{map as _0x3f7a35,take as _0x2810b5,filter as _0xddfa1e,delay as _0x36df25,takeUntil as _0x294746}from'rxjs/operators';import{CollaborationEvent as _0x260842,ISnapshotServerService as _0x35ad01,parseChangesetToProtocol as _0x442f63,ITransformService as _0x17b586,isTransformMutationsWithChangesetSuccess as _0x406094,mapDocumentTypeToUniverType as _0x50d968,RevisionService as _0x2dae45,isTransformChangesetsSuccess as _0x425140,CompressMutationService as _0x27a66b,parseProtocolChangeset as _0x5b054f,SnapshotService as _0x14a363,textEncoder as _0xd5d8e6,b64DecodeUnicode as _0x2c7fc7,isTransformMutationsWithChangesetFailure as _0x24b954,UniverCollaborationPlugin as _0x37f22d}from'@univerjs-pro/collaboration';import{HTTPService as _0x3e7aa5,ISocketService as _0x3b0219,MergeInterceptorFactory as _0x225fb0,HTTPRequest as _0x324e44,UniverNetworkPlugin as _0x32ff71,ThresholdInterceptorFactory as _0x4e799e}from'@univerjs/network';import{ITelemetryService as _0x229533}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x20d290}from'@univerjs/docs';import{SheetsSelectionsService as _0x2e6d54,SetSelectionsOperation as _0x3c31b4,InsertSheetMutation as _0x3b5767,EmptyMutation as _0x25437b,WorkbookEditablePermission as _0x262abd,SheetPermissionInitController as _0x251bfc}from'@univerjs/sheets';import{ImageSourceType as _0x8adfbb,ImageUploadStatusType as _0x41d303,IImageIoService as _0x33c914}from'@univerjs/drawing';import{getGlobalObject as _0x42d734}from'@univerjs-pro/license';const mn=_0x2f175c(0x388),gn=_0x2f175c(0x275),Sn=_0x2f175c(0x1b6),xs=_0x2f175c(0x2ec),En=0x7d0,In=_0x2f175c(0x3f3),Tn='ws://127.0.0.1:8000/universer-api/comb/connect',Ls=_0x2f175c(0x240),Cn=_0x2f175c(0x15c),Rn=0x7530,mi='HEARTBEAT_TIMEOUT',gi=0x4e20,bn=0x4e20,yn=_0x2f175c(0x1fe),On=0x3,Ms='LOCAL_CACHE_INTERVAL',ks=0x3e8,Nn=_0x2f175c(0x234),Dn=_0x2f175c(0x26c),Un=_0x2f175c(0x16f),wn=_0x2f175c(0x16c),$s=_0x2f175c(0x41c),Hs=_0x2f175c(0x2af);var Si=(_0x1044b5=>(_0x1044b5[_0x1044b5[_0x2f175c(0x384)]=0x0]=_0x2f175c(0x384),_0x1044b5[_0x1044b5['OK']=0x1]='OK',_0x1044b5[_0x1044b5[_0x2f175c(0x38d)]=0x2]=_0x2f175c(0x38d),_0x1044b5[_0x1044b5[_0x2f175c(0x211)]=0x3]=_0x2f175c(0x211),_0x1044b5[_0x1044b5[_0x2f175c(0x3f9)]=0x4]='NOT_FOUND',_0x1044b5[_0x1044b5[_0x2f175c(0x1e9)]=0x5]=_0x2f175c(0x1e9),_0x1044b5[_0x1044b5['ALREADY_EXISTS']=0x6]=_0x2f175c(0x15b),_0x1044b5[_0x1044b5['INVALID_ARGUMENT']=0x7]=_0x2f175c(0x325),_0x1044b5[_0x1044b5[_0x2f175c(0x419)]=0x8]=_0x2f175c(0x419),_0x1044b5[_0x1044b5[_0x2f175c(0x1d2)]=0x9]=_0x2f175c(0x1d2),_0x1044b5[_0x1044b5[_0x2f175c(0x427)]=0xa]=_0x2f175c(0x427),_0x1044b5[_0x1044b5[_0x2f175c(0x235)]=0x1389]=_0x2f175c(0x235),_0x1044b5[_0x1044b5[_0x2f175c(0x18f)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1044b5[_0x1044b5[_0x2f175c(0x2f0)]=0x1772]=_0x2f175c(0x2f0),_0x1044b5[_0x1044b5[_0x2f175c(0x2be)]=0x1773]=_0x2f175c(0x2be),_0x1044b5[_0x1044b5[_0x2f175c(0x2c7)]=0x1b59]='APPLY_REJECT',_0x1044b5[_0x1044b5[_0x2f175c(0x38a)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1044b5[_0x1044b5[_0x2f175c(0x230)]=0x1b5b]=_0x2f175c(0x230),_0x1044b5[_0x1044b5[_0x2f175c(0x404)]=0x1b5c]=_0x2f175c(0x404),_0x1044b5[_0x1044b5[_0x2f175c(0x3b7)]=0x1b5d]=_0x2f175c(0x3b7),_0x1044b5[_0x1044b5[_0x2f175c(0x3c9)]=0x1f41]=_0x2f175c(0x3c9),_0x1044b5[_0x1044b5[_0x2f175c(0x1fa)]=0x2329]=_0x2f175c(0x1fa),_0x1044b5[_0x1044b5['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1044b5[_0x1044b5[_0x2f175c(0x37a)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1044b5[_0x1044b5[_0x2f175c(0x1d8)]=0x232c]=_0x2f175c(0x1d8),_0x1044b5[_0x1044b5['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x1044b5[_0x1044b5['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1044b5[_0x1044b5[_0x2f175c(0x2d1)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1044b5[_0x1044b5['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2f175c(0x166),_0x1044b5[_0x1044b5['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1044b5[_0x1044b5[_0x2f175c(0x323)]=0x2af9]=_0x2f175c(0x323),_0x1044b5[_0x1044b5[_0x2f175c(0x2a5)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1044b5[_0x1044b5['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x1044b5[_0x1044b5[_0x2f175c(0x434)]=0x2ee3]=_0x2f175c(0x434),_0x1044b5[_0x1044b5[_0x2f175c(0x181)]=0x2ee4]=_0x2f175c(0x181),_0x1044b5[_0x1044b5[_0x2f175c(0x365)]=0x2ee5]=_0x2f175c(0x365),_0x1044b5[_0x1044b5['UNRECOGNIZED']=-0x1]=_0x2f175c(0x2d9),_0x1044b5))(Si||{}),Q=(_0x16e551=>(_0x16e551[_0x16e551[_0x2f175c(0x449)]=0x0]=_0x2f175c(0x449),_0x16e551[_0x16e551[_0x2f175c(0x161)]=0x1]=_0x2f175c(0x161),_0x16e551[_0x16e551['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x16e551[_0x16e551[_0x2f175c(0x265)]=0x3]=_0x2f175c(0x265),_0x16e551[_0x16e551[_0x2f175c(0x394)]=0x4]=_0x2f175c(0x394),_0x16e551[_0x16e551[_0x2f175c(0x2d9)]=-0x1]=_0x2f175c(0x2d9),_0x16e551))(Q||{}),F=(_0x3d9ed5=>(_0x3d9ed5[_0x3d9ed5['UNKNOWN_CMD']=0x0]=_0x2f175c(0x24a),_0x3d9ed5[_0x3d9ed5[_0x2f175c(0x366)]=0x1]=_0x2f175c(0x366),_0x3d9ed5[_0x3d9ed5[_0x2f175c(0x3f6)]=0x2]=_0x2f175c(0x3f6),_0x3d9ed5[_0x3d9ed5[_0x2f175c(0x3ee)]=0x3]=_0x2f175c(0x3ee),_0x3d9ed5[_0x3d9ed5[_0x2f175c(0x31d)]=0x4]=_0x2f175c(0x31d),_0x3d9ed5[_0x3d9ed5['HEARTBEAT']=0x5]=_0x2f175c(0x25b),_0x3d9ed5[_0x3d9ed5[_0x2f175c(0x37b)]=0x6]=_0x2f175c(0x37b),_0x3d9ed5[_0x3d9ed5[_0x2f175c(0x2d9)]=-0x1]=_0x2f175c(0x2d9),_0x3d9ed5))(F||{}),ge=(_0x17ba10=>(_0x17ba10[_0x17ba10[_0x2f175c(0x1e8)]=0x0]=_0x2f175c(0x1e8),_0x17ba10[_0x17ba10['OK']=0x1]='OK',_0x17ba10[_0x17ba10[_0x2f175c(0x3fc)]=0x2]=_0x2f175c(0x3fc),_0x17ba10[_0x17ba10[_0x2f175c(0x3b8)]=0x3e9]=_0x2f175c(0x3b8),_0x17ba10[_0x17ba10['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x17ba10[_0x17ba10[_0x2f175c(0x244)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x17ba10[_0x17ba10[_0x2f175c(0x389)]=0x3ec]=_0x2f175c(0x389),_0x17ba10[_0x17ba10['UNRECOGNIZED']=-0x1]=_0x2f175c(0x2d9),_0x17ba10))(ge||{}),Ei=(_0x1e85c1=>(_0x1e85c1[_0x1e85c1[_0x2f175c(0x432)]=0x0]='Undefined',_0x1e85c1[_0x1e85c1[_0x2f175c(0x418)]=0x1]=_0x2f175c(0x418),_0x1e85c1[_0x1e85c1[_0x2f175c(0x376)]=0x2]=_0x2f175c(0x376),_0x1e85c1[_0x1e85c1['UnitEmbedded']=0x3]=_0x2f175c(0x3ae),_0x1e85c1[_0x1e85c1[_0x2f175c(0x3c7)]=0x4]='UnitSnapshot',_0x1e85c1[_0x1e85c1[_0x2f175c(0x2d9)]=-0x1]=_0x2f175c(0x2d9),_0x1e85c1))(Ei||{});const q='collaboration-client.config',An={};var se=(_0x304621=>(_0x304621[_0x2f175c(0x318)]='OTHER_CLIENT_EDITING',_0x304621[_0x2f175c(0x211)]=_0x2f175c(0x211),_0x304621['CONFLICT']=_0x2f175c(0x33d),_0x304621[_0x2f175c(0x40f)]='CLOSE_ROOM',_0x304621[_0x2f175c(0x3b4)]=_0x2f175c(0x3b4),_0x304621['SOCKET_FAILED_RETRY']=_0x2f175c(0x2cf),_0x304621[_0x2f175c(0x3db)]=_0x2f175c(0x3db),_0x304621['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x304621))(se||{});class pe{constructor(){var _0x3b5ef2=_0x2f175c;N(this,_0x3b5ef2(0x190),new _0x4bfaba()),N(this,_0x3b5ef2(0x3c6),this[_0x3b5ef2(0x190)][_0x3b5ef2(0x2cc)]());}[_0x2f175c(0x2e7)](_0x3b63f2){var _0x42244d=_0x2f175c;this[_0x42244d(0x190)]['next'](_0x3b63f2);}}const Pn=_0x118e51(_0x2f175c(0x391));function xn(_0x158deb){var _0x5ab0b6=_0x2f175c,_0xb52f32,_0x57e748,_0x518d0e,_0x2672f5,_0x15bb61;const _0x439c55=_0x158deb[_0x5ab0b6(0x3b2)],_0x380efd=JSON[_0x5ab0b6(0x40d)](_0x439c55);switch(_0x380efd[_0x5ab0b6(0x315)]){case F[_0x5ab0b6(0x25b)]:case F['HELLO']:{const _0x188e85=_0x380efd['infoRsp'];return{..._0x380efd,'data':_0x188e85,'cmd':_0x380efd['cmd']};}case F[_0x5ab0b6(0x3f6)]:{const _0x39eb6e=_0x380efd['joinRsp'];return{..._0x380efd,'data':_0x39eb6e,'cmd':_0x380efd[_0x5ab0b6(0x315)]};}case F[_0x5ab0b6(0x37b)]:{const _0x22f4f5=_0x380efd[_0x5ab0b6(0x2f6)];switch(_0x22f4f5['eventID']){case _0x260842['PERMISSION_REJ']:return{..._0x380efd,'data':{..._0x22f4f5,'data':(_0xb52f32=_0x22f4f5['permissionRejEvent'])==null?void 0x0:_0xb52f32['cs']},'cmd':_0x380efd['cmd']};case _0x260842[_0x5ab0b6(0x2c2)]:return{..._0x380efd,'data':{..._0x22f4f5,'data':(_0x57e748=_0x22f4f5['csAckEvent'])==null?void 0x0:_0x57e748['cs']},'cmd':_0x380efd[_0x5ab0b6(0x315)]};case _0x260842[_0x5ab0b6(0x2ef)]:return{..._0x380efd,'data':{..._0x22f4f5,'data':(_0x518d0e=_0x22f4f5[_0x5ab0b6(0x2fe)])==null?void 0x0:_0x518d0e['cs']},'cmd':_0x380efd['cmd']};case _0x260842['CHANGESET_REJ']:return{..._0x380efd,'data':{..._0x22f4f5,'data':(_0x2672f5=_0x22f4f5['csRejEvent'])==null?void 0x0:_0x2672f5['cs']},'cmd':_0x380efd['cmd']};case _0x260842[_0x5ab0b6(0x229)]:return{..._0x380efd,'data':{..._0x22f4f5,'data':(_0x15bb61=_0x22f4f5[_0x5ab0b6(0x382)])==null?void 0x0:_0x15bb61['cs']},'cmd':_0x380efd['cmd']};case _0x260842['UPDATE_CURSOR']:return{..._0x380efd,'data':{..._0x22f4f5,'data':_0x22f4f5[_0x5ab0b6(0x3be)]},'cmd':_0x380efd[_0x5ab0b6(0x315)]};case _0x260842[_0x5ab0b6(0x338)]:return{..._0x380efd,'data':{..._0x22f4f5,'data':_0x22f4f5[_0x5ab0b6(0x321)]},'cmd':_0x380efd[_0x5ab0b6(0x315)]};case _0x260842['USERS_LEAVE']:return{..._0x380efd,'data':{..._0x22f4f5,'data':_0x22f4f5[_0x5ab0b6(0x3bc)]},'cmd':_0x380efd[_0x5ab0b6(0x315)]};case _0x260842[_0x5ab0b6(0x1c3)]:return{..._0x380efd,'data':{..._0x22f4f5,'data':_0x22f4f5['liveShareNewHost']},'cmd':_0x380efd[_0x5ab0b6(0x315)]};case _0x260842[_0x5ab0b6(0x364)]:case _0x260842[_0x5ab0b6(0x27e)]:return{..._0x380efd,'data':{..._0x22f4f5,'data':_0x22f4f5[_0x5ab0b6(0x3fe)]},'cmd':_0x380efd['cmd']};case _0x260842['LIVESHARE_TERMINATE']:return{..._0x380efd,'data':{..._0x22f4f5,'data':_0x22f4f5[_0x5ab0b6(0x31b)]},'cmd':_0x380efd['cmd']};case _0x260842['MSG_FOR_ERROR']:return{..._0x380efd,'data':_0x22f4f5,'cmd':_0x380efd[_0x5ab0b6(0x315)]};case _0x260842[_0x5ab0b6(0x281)]:return{..._0x380efd,'data':{..._0x22f4f5,'data':_0x22f4f5[_0x5ab0b6(0x2bf)]},'cmd':_0x380efd[_0x5ab0b6(0x315)]};case _0x260842[_0x5ab0b6(0x3ed)]:return{..._0x380efd,'data':{..._0x22f4f5,'data':_0x22f4f5['updatePermissionObjEvent']},'cmd':_0x380efd[_0x5ab0b6(0x315)]};case _0x260842['SHOULD_CLOSE_CONN']:return{..._0x380efd,'data':{..._0x22f4f5,'data':_0x22f4f5[_0x5ab0b6(0x329)]},'cmd':_0x380efd[_0x5ab0b6(0x315)]};case _0x260842[_0x5ab0b6(0x3f4)]:return{..._0x380efd,'data':{..._0x22f4f5,'data':_0x22f4f5['uniscriptRunEvent']},'cmd':_0x380efd[_0x5ab0b6(0x315)]};default:return _0x380efd;}}default:return _0x380efd;}}function Ln(_0x1687f3){var _0x2913b5=_0x2f175c;switch(_0x1687f3['cmd']){case F[_0x2913b5(0x25b)]:case F[_0x2913b5(0x366)]:return JSON[_0x2913b5(0x1fc)]({'cmd':_0x1687f3[_0x2913b5(0x315)],'routeKey':_0x1687f3[_0x2913b5(0x25a)]});case F[_0x2913b5(0x31d)]:{let _0x466bed;switch(_0x1687f3[_0x2913b5(0x3b2)][_0x2913b5(0x2f8)]){case _0x260842[_0x2913b5(0x1af)]:{_0x466bed={'eventID':_0x260842[_0x2913b5(0x1af)],'updateCursorEvent':_0x1687f3[_0x2913b5(0x3b2)][_0x2913b5(0x3b2)]};break;}case _0x260842[_0x2913b5(0x3d9)]:{_0x466bed={'eventID':_0x260842[_0x2913b5(0x3d9)],'leaveEvent':_0x1687f3[_0x2913b5(0x3b2)]['data']};break;}case _0x260842[_0x2913b5(0x338)]:{_0x466bed={'eventID':_0x260842[_0x2913b5(0x338)],'joinEvent':_0x1687f3['data'][_0x2913b5(0x3b2)]};break;}case _0x260842['LIVESHARE_NEW_HOST']:{_0x466bed={'eventID':_0x260842[_0x2913b5(0x1c3)],'liveShareNewHost':_0x1687f3[_0x2913b5(0x3b2)][_0x2913b5(0x3b2)]};break;}case _0x260842[_0x2913b5(0x27e)]:{_0x466bed={'eventID':_0x260842['LIVESHARE_OPERATION'],'liveShareOperation':_0x1687f3[_0x2913b5(0x3b2)][_0x2913b5(0x3b2)]};break;}case _0x260842[_0x2913b5(0x1c7)]:{_0x466bed={'eventID':_0x260842['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x1687f3[_0x2913b5(0x3b2)][_0x2913b5(0x3b2)]};break;}case _0x260842[_0x2913b5(0x17c)]:{_0x466bed={'eventID':_0x260842['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1687f3[_0x2913b5(0x3b2)][_0x2913b5(0x3b2)]};break;}case _0x260842[_0x2913b5(0x364)]:{_0x466bed={'eventID':_0x260842[_0x2913b5(0x364)]};break;}default:_0x466bed={'eventID':_0x1687f3[_0x2913b5(0x3b2)][_0x2913b5(0x2f8)]};}return JSON[_0x2913b5(0x1fc)]({'cmd':_0x1687f3[_0x2913b5(0x315)],'routeKey':_0x1687f3[_0x2913b5(0x25a)],'collaMsg':_0x466bed});}case F['JOIN']:return JSON[_0x2913b5(0x1fc)]({'cmd':_0x1687f3['cmd'],'routeKey':_0x1687f3[_0x2913b5(0x25a)],'joinReq':_0x1687f3[_0x2913b5(0x3b2)]});case F[_0x2913b5(0x3ee)]:return JSON[_0x2913b5(0x1fc)]({'cmd':_0x1687f3[_0x2913b5(0x315)],'routeKey':_0x1687f3[_0x2913b5(0x25a)],'leaveReq':_0x1687f3[_0x2913b5(0x3b2)]});default:throw new Error(_0x2913b5(0x177));}}var Mn=Object[_0x2f175c(0x278)],kn=(_0x5b7cb0,_0x3492fa,_0x1bfd34,_0x3dc4f0)=>{var _0x405762=_0x2f175c;for(var _0x1f0711=_0x3dc4f0>0x1?void 0x0:_0x3dc4f0?Mn(_0x3492fa,_0x1bfd34):_0x3492fa,_0x106d80=_0x5b7cb0[_0x405762(0x270)]-0x1,_0x305d4f;_0x106d80>=0x0;_0x106d80--)(_0x305d4f=_0x5b7cb0[_0x106d80])&&(_0x1f0711=_0x305d4f(_0x1f0711)||_0x1f0711);return _0x1f0711;},we=(_0x1d469d,_0x24d149)=>(_0xe3389a,_0x4894fd)=>_0x24d149(_0xe3389a,_0x4894fd,_0x1d469d);const Ii=_0x118e51(_0x2f175c(0x445));function $n(_0x2131e5,_0x46fe0f,_0x4c2473){var _0x3ebbbc=_0x2f175c;return _0x2131e5+'/'+_0x46fe0f+_0x3ebbbc(0x24c)+_0x4c2473+'/new_changes';}let Gt=class extends _0x551fc0{constructor(_0x5baceb,_0x237101,_0x3a198a,_0x30ce6a,_0x18e9b2){var _0x38103d=_0x2f175c;super(),this[_0x38103d(0x41d)]=_0x5baceb,this[_0x38103d(0x395)]=_0x237101,this[_0x38103d(0x452)]=_0x3a198a,this[_0x38103d(0x420)]=_0x30ce6a,this[_0x38103d(0x3ce)]=_0x18e9b2;}[_0x2f175c(0x1c2)](_0x2b5491){var _0x402134=_0x2f175c;const _0x5095ba=this[_0x402134(0x41d)]['get'](_0x3b0219);if(!_0x5095ba)throw new Error(_0x402134(0x286));const _0x48f88a=_0x5095ba[_0x402134(0x1e2)](_0x2b5491);if(!_0x48f88a)throw new Error(_0x402134(0x334));const _0x305654=new _0x59cf21(),_0x1e2e2c=new _0x4bfaba();_0x305654['add'](_0x48f88a['close$'][_0x402134(0x20a)](_0x13ce8d=>_0x1e2e2c[_0x402134(0x438)](_0x13ce8d))),_0x305654[_0x402134(0x17e)](_0x20ceec(()=>_0x1e2e2c[_0x402134(0x285)]()));const _0x169d56=new _0x4bfaba();_0x305654[_0x402134(0x17e)](_0x48f88a[_0x402134(0x254)]['subscribe'](_0x5d7994=>_0x169d56[_0x402134(0x438)](_0x5d7994))),_0x305654[_0x402134(0x17e)](_0x20ceec(()=>_0x169d56[_0x402134(0x285)]()));const _0x19baa9=new _0x4bfaba();_0x305654['add'](_0x48f88a[_0x402134(0x2d5)][_0x402134(0x20a)](_0x34ff71=>{var _0x3080ea=_0x402134;const _0xb34c61=xn(_0x34ff71);_0x19baa9[_0x3080ea(0x438)](_0xb34c61);})),_0x305654[_0x402134(0x17e)](_0x20ceec(()=>_0x19baa9[_0x402134(0x285)]()));let _0x9a545a;const _0x3a01c7=()=>{var _0x493d5e=_0x402134;_0x169d56[_0x493d5e(0x438)](new Event(_0x493d5e(0x347))),_0x1e2e2c[_0x493d5e(0x438)](new Event(_0x493d5e(0x347))),_0x9a545a[_0x493d5e(0x25c)]();};return _0x9a545a={'memberID':'','close$':_0x1e2e2c['asObservable'](),'error$':_0x169d56[_0x402134(0x2cc)](),'open$':_0x48f88a[_0x402134(0x38c)],'message$':_0x19baa9[_0x402134(0x2cc)](),'send':_0x187b7d=>{var _0xd377d3=_0x402134;if(_0x187b7d['cmd']===F[_0xd377d3(0x31d)]){if(_0x187b7d[_0xd377d3(0x3b2)][_0xd377d3(0x2f8)]===_0x260842[_0xd377d3(0x1b7)]){this[_0xd377d3(0x180)](_0x9a545a,_0x187b7d['data'])[_0xd377d3(0x3f2)](_0x4eb778=>{var _0x6f3ff7=_0xd377d3;this['_logService'][_0x6f3ff7(0x1f1)](_0x4eb778),_0x3a01c7();});return;}if(_0x187b7d[_0xd377d3(0x3b2)]['eventID']===_0x260842[_0xd377d3(0x353)]){const _0x4e25dc=_0x187b7d[_0xd377d3(0x3b2)];this['_fetchMissChangesets'](_0x4e25dc)[_0xd377d3(0x401)](_0x1b158c=>{var _0x5ad0bd=_0xd377d3;_0x19baa9['next']({'cmd':F[_0x5ad0bd(0x37b)],'code':ge['OK'],'routeKey':_0x4e25dc[_0x5ad0bd(0x3b2)][_0x5ad0bd(0x2d2)],'routeType':'','data':{'eventID':_0x260842[_0x5ad0bd(0x23a)],'data':{'changesets':_0x1b158c}}});})[_0xd377d3(0x3f2)](_0x2e2111=>{var _0x38816b=_0xd377d3;this[_0x38816b(0x420)][_0x38816b(0x1f1)](_0x2e2111),_0x3a01c7();});return;}}_0x48f88a[_0xd377d3(0x1d6)](Ln(_0x187b7d));},'close':()=>{var _0x1fed3e=_0x402134;_0x48f88a['close'](),_0x305654[_0x1fed3e(0x431)]();}},_0x9a545a;}async['_submitChangeset'](_0x175729,_0x32414b){var _0x83c133=_0x2f175c,_0x3f5bc4,_0x1ca133;const {unitType:_0x3b340c,unitID:_0x11c913,changeset:_0x35ed9c}=_0x32414b[_0x83c133(0x3b2)],_0x47f179={'unitID':_0x11c913,'memberID':_0x175729[_0x83c133(0x3fa)],'type':_0x3b340c,'changeset':_0x442f63(_0x35ed9c)},_0x4c4dcb=this[_0x83c133(0x452)][_0x83c133(0x3a3)](Nn),_0x5ebd8f=this[_0x83c133(0x452)][_0x83c133(0x3a3)](q),_0x514da6=$n((_0x1ca133=(_0x3f5bc4=_0x5ebd8f==null?void 0x0:_0x5ebd8f[_0x83c133(0x377)])!=null?_0x3f5bc4:_0x4c4dcb)!=null?_0x1ca133:Dn,_0x3b340c,_0x11c913);try{await this['_httpService']['post'](_0x514da6,{'body':_0x47f179});}catch(_0x394881){throw this['_logService']['error']('[CollaborationSession]',_0x83c133(0x34b)),_0x394881;}}async[_0x2f175c(0x332)](_0x4701e4){var _0x105e8e=_0x2f175c;const {unitID:_0x11d57f,from:_0x2150c2,to:_0x236db6,unitType:_0x4b3432}=_0x4701e4[_0x105e8e(0x3b2)];return(await this['_snapshotServerService'][_0x105e8e(0x2a9)]({'metadata':void 0x0},{'unitID':_0x11d57f,'type':_0x4b3432,'from':_0x2150c2,'to':_0x236db6}))[_0x105e8e(0x2bb)];}};Gt=kn([we(0x0,_0xbf826d(_0x55133f)),we(0x1,_0xbf826d(_0x3e7aa5)),we(0x2,_0x212b45),we(0x3,_0x412d07),we(0x4,_0x35ad01)],Gt);const Hn=_0x2f175c(0x176);function Bn(_0x478503){var _0x14a66b=_0x2f175c;return JSON[_0x14a66b(0x1fc)](_0x478503)[_0x14a66b(0x270)];}class Ti{constructor(){var _0x1dc0ea=_0x2f175c;N(this,'_commentUpdate$',new _0x4bfaba()),N(this,'commentUpdate$',this[_0x1dc0ea(0x450)]['asObservable']());}[_0x2f175c(0x3d8)](_0x35be02){var _0x552910=_0x2f175c;this[_0x552910(0x450)][_0x552910(0x438)](_0x35be02);}}var jn=Object[_0x2f175c(0x278)],Fn=(_0x4e01fc,_0x1bac1c,_0x4cc68b,_0x1f36ca)=>{var _0x2a6bdb=_0x2f175c;for(var _0x4f24b6=_0x1f36ca>0x1?void 0x0:_0x1f36ca?jn(_0x1bac1c,_0x4cc68b):_0x1bac1c,_0x2192b2=_0x4e01fc[_0x2a6bdb(0x270)]-0x1,_0x1415f5;_0x2192b2>=0x0;_0x2192b2--)(_0x1415f5=_0x4e01fc[_0x2192b2])&&(_0x4f24b6=_0x1415f5(_0x4f24b6)||_0x4f24b6);return _0x4f24b6;},Wt=(_0x400a66,_0x555528)=>(_0x4066fb,_0x89d717)=>_0x555528(_0x4066fb,_0x89d717,_0x400a66);let xe=class extends _0x551fc0{constructor(_0x27abef,_0xfed23b){var _0x3d5c7b=_0x2f175c;super(),N(this,_0x3d5c7b(0x333),new Map()),N(this,_0x3d5c7b(0x3fd),new _0x4bfaba()),(this['_univerInstanceService']=_0x27abef,this[_0x3d5c7b(0x374)]=_0xfed23b,this[_0x3d5c7b(0x39a)](_0x3e0945(this['_univerInstanceService'][_0x3d5c7b(0x23d)](_0x3f08f1[_0x3d5c7b(0x3e5)])['pipe'](_0x3f7a35(_0x4e2db0=>_0x4e2db0[_0x3d5c7b(0x1aa)]())),this[_0x3d5c7b(0x3ad)]['getTypeOfUnitDisposed$'](_0x3f08f1[_0x3d5c7b(0x161)])['pipe'](_0x3f7a35(_0x3fd49b=>_0x3fd49b[_0x3d5c7b(0x1aa)]())),this[_0x3d5c7b(0x3ad)][_0x3d5c7b(0x23d)](_0x3f08f1[_0x3d5c7b(0x265)])['pipe'](_0x3f7a35(_0x47fc79=>_0x47fc79[_0x3d5c7b(0x1aa)]())))[_0x3d5c7b(0x20a)](_0x3dcfe1=>this[_0x3d5c7b(0x295)](_0x3dcfe1))));}[_0x2f175c(0x1b8)](_0x5a590b){var _0x3e3592=_0x2f175c;return this[_0x3e3592(0x333)][_0x3e3592(0x2f4)](_0x5a590b)?_0x5e4497(this[_0x3e3592(0x333)][_0x3e3592(0x246)](_0x5a590b)):this[_0x3e3592(0x3fd)][_0x3e3592(0x2b6)](_0x3f7a35(_0x30ff10=>{var _0x4b2dc1=_0x3e3592;if(_0x30ff10===_0x5a590b)return this[_0x4b2dc1(0x333)][_0x4b2dc1(0x246)](_0x30ff10);}));}[_0x2f175c(0x411)](_0x142dbb){var _0x149ca9=_0x2f175c;this[_0x149ca9(0x374)][_0x149ca9(0x411)](_0x142dbb);}[_0x2f175c(0x32c)](){var _0xe4af10=_0x2f175c;return this[_0xe4af10(0x374)]['getCurrentUser']();}['updateMember'](_0xd10008,_0xe9e020){var _0x2ab94c=_0x2f175c;let _0x2f505e=this[_0x2ab94c(0x333)]['get'](_0xd10008);_0x2f505e||(_0x2f505e=new Vn(),this[_0x2ab94c(0x333)][_0x2ab94c(0x2ce)](_0xd10008,_0x2f505e),this['_roomCreated$']['next'](_0xd10008)),_0x2f505e[_0x2ab94c(0x164)](_0xe9e020);}[_0x2f175c(0x436)](_0x3ce2a2,_0x4c4e37){var _0x3f96b1=_0x2f175c;const _0x596b67=this['_roomMembers'][_0x3f96b1(0x246)](_0x3ce2a2);_0x596b67&&_0x596b67[_0x3f96b1(0x436)](_0x4c4e37);}[_0x2f175c(0x339)](_0x5b0894){var _0x37508f=_0x2f175c;return this[_0x37508f(0x333)]['get'](_0x5b0894);}['getMember'](_0x1e8e8a,_0x385e35){var _0x1450db=_0x2f175c;const _0x33f28a=this[_0x1450db(0x333)]['get'](_0x1e8e8a);if(_0x33f28a)return _0x33f28a['getMember'](_0x385e35);}[_0x2f175c(0x295)](_0x539ac5){var _0x3e2367=_0x2f175c;const _0x4d3fdc=this[_0x3e2367(0x333)][_0x3e2367(0x246)](_0x539ac5);_0x4d3fdc&&(_0x4d3fdc[_0x3e2367(0x431)](),this[_0x3e2367(0x333)][_0x3e2367(0x454)](_0x539ac5));}['dispose'](){var _0x477fb1=_0x2f175c;this[_0x477fb1(0x333)][_0x477fb1(0x1e7)](_0xc2995d=>_0xc2995d[_0x477fb1(0x431)]()),this[_0x477fb1(0x333)]['clear'](),this[_0x477fb1(0x3fd)]['complete']();}};xe=Fn([Wt(0x0,_0x457cbb),Wt(0x1,_0xbf826d(_0x4ecccb))],xe);class Vn extends _0x551fc0{constructor(){var _0x51b35c=_0x2f175c;super(...arguments),N(this,_0x51b35c(0x1e6),new Map()),N(this,_0x51b35c(0x16e),new _0x19faa4(this['_members'])),N(this,_0x51b35c(0x3ba),this[_0x51b35c(0x16e)][_0x51b35c(0x2cc)]());}['dispose'](){var _0x2da4ea=_0x2f175c;this[_0x2da4ea(0x1e6)]['clear']();}['updateMember'](_0x59eb8c){var _0xa4a0d5=_0x2f175c;this[_0xa4a0d5(0x1e6)]['set'](_0x59eb8c[_0xa4a0d5(0x3fa)],_0x59eb8c),this[_0xa4a0d5(0x44c)]();}[_0x2f175c(0x436)](_0x350217){var _0x41bd05=_0x2f175c;this[_0x41bd05(0x1e6)][_0x41bd05(0x454)](_0x350217);}[_0x2f175c(0x20c)](_0x5db08d){var _0x5c114c=_0x2f175c;return this[_0x5c114c(0x1e6)][_0x5c114c(0x246)](_0x5db08d);}[_0x2f175c(0x294)](){var _0xa8493=_0x2f175c;return Array[_0xa8493(0x23c)](this['_members'][_0xa8493(0x42c)]());}['_emitMembers'](){var _0xb28ed9=_0x2f175c;this[_0xb28ed9(0x16e)][_0xb28ed9(0x438)](this[_0xb28ed9(0x1e6)]);}}var Gn=Object[_0x2f175c(0x278)],Wn=(_0x1f3188,_0x11e3b3,_0x4d1ada,_0x3a647f)=>{var _0x105256=_0x2f175c;for(var _0x3855ea=_0x3a647f>0x1?void 0x0:_0x3a647f?Gn(_0x11e3b3,_0x4d1ada):_0x11e3b3,_0x2d7d2b=_0x1f3188[_0x105256(0x270)]-0x1,_0x1cf43e;_0x2d7d2b>=0x0;_0x2d7d2b--)(_0x1cf43e=_0x1f3188[_0x2d7d2b])&&(_0x3855ea=_0x1cf43e(_0x3855ea)||_0x3855ea);return _0x3855ea;},me=(_0x261894,_0x455ee3)=>(_0x588e5c,_0x34f1ce)=>_0x455ee3(_0x588e5c,_0x34f1ce,_0x261894),Ee=(_0x5f2b57=>(_0x5f2b57[_0x5f2b57['IDLE']=0x0]='IDLE',_0x5f2b57[_0x5f2b57[_0x2f175c(0x3a0)]=0x1]=_0x2f175c(0x3a0),_0x5f2b57[_0x5f2b57[_0x2f175c(0x305)]=0x2]=_0x2f175c(0x305),_0x5f2b57[_0x5f2b57[_0x2f175c(0x291)]=0x3]=_0x2f175c(0x291),_0x5f2b57))(Ee||{});const Kt={[ge[_0x2f175c(0x3fc)]]:'session.join-failed',[ge[_0x2f175c(0x3b8)]]:'session.room-full',[ge[_0x2f175c(0x272)]]:_0x2f175c(0x224),[ge[_0x2f175c(0x244)]]:_0x2f175c(0x1f7),[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x2f175c(0x35d)};let Et=class extends _0x263cf9{constructor(_0x5859d0,_0x2e4801,_0x26e2be,_0x3aeb74,_0x5d38b0,_0x329329,_0x54801b,_0x51cf51,_0x2e3f07){var _0x1ed8b6=_0x2f175c;super(),N(this,_0x1ed8b6(0x3df),new _0x19faa4(0x0)),N(this,_0x1ed8b6(0x2d6),this[_0x1ed8b6(0x3df)][_0x1ed8b6(0x2cc)]()),N(this,_0x1ed8b6(0x190),new _0x4bfaba()),N(this,_0x1ed8b6(0x3c6),this['_event$']['asObservable']()),N(this,'_socket'),N(this,_0x1ed8b6(0x23e)),N(this,_0x1ed8b6(0x3bd)),N(this,_0x1ed8b6(0x43a),!0x1),N(this,'_telemetryInfo',null),(this[_0x1ed8b6(0x2f5)]=_0x5859d0,this[_0x1ed8b6(0x420)]=_0x26e2be,this[_0x1ed8b6(0x452)]=_0x3aeb74,this[_0x1ed8b6(0x30d)]=_0x5d38b0,this[_0x1ed8b6(0x1c6)]=_0x329329,this[_0x1ed8b6(0x451)]=_0x54801b,this[_0x1ed8b6(0x2ac)]=_0x51cf51,this[_0x1ed8b6(0x408)]=_0x2e3f07,this['_shouldReportTelemetry']=!!this[_0x1ed8b6(0x408)],_0x2e4801[_0x1ed8b6(0x2b6)](_0x476050(this[_0x1ed8b6(0x43f)]))['subscribe'](_0xa7002e=>{var _0x585d21=_0x1ed8b6,_0x2c5087;typeof _0xa7002e>'u'||(this['_socket']=_0xa7002e,_0xa7002e?(this[_0x585d21(0x192)](_0xa7002e),this['_socketMessageSubscription']=_0xa7002e[_0x585d21(0x2d5)][_0x585d21(0x20a)](_0x5c7794=>{var _0x3f02ca=_0x585d21;_0x5c7794['routeKey']===this[_0x3f02ca(0x2f5)]&&this['_onCombEvent'](_0x5c7794);})):(this[_0x585d21(0x21c)](),this['_sessionStatus$'][_0x585d21(0x438)](0x2),(_0x2c5087=this[_0x585d21(0x23e)])==null||_0x2c5087[_0x585d21(0x34c)](),this[_0x585d21(0x23e)]=null));}));}get['sessionStatus'](){var _0x4b858b=_0x2f175c;return this[_0x4b858b(0x3df)][_0x4b858b(0x1b4)]();}[_0x2f175c(0x257)](){var _0x4c4b72=_0x2f175c,_0x12a5af,_0x58ebf4;return(_0x58ebf4=(_0x12a5af=this[_0x4c4b72(0x335)])==null?void 0x0:_0x12a5af[_0x4c4b72(0x3fa)])!=null?_0x58ebf4:null;}[_0x2f175c(0x431)](){var _0x9d1daa=_0x2f175c;super[_0x9d1daa(0x431)](),this['dispose$'][_0x9d1daa(0x438)](),this['dispose$'][_0x9d1daa(0x285)]();}['close'](){var _0x234061=_0x2f175c,_0x4dad62,_0x4b0217;this[_0x234061(0x21c)](),(_0x4dad62=this[_0x234061(0x335)])==null||_0x4dad62[_0x234061(0x1d6)]({'cmd':F[_0x234061(0x3ee)],'data':{'roomID':this['_unitID']}}),(_0x4b0217=this[_0x234061(0x335)])==null||_0x4b0217[_0x234061(0x25c)](),this['_event$']['complete'](),this['_sessionStatus$'][_0x234061(0x285)](),this['dispose']();}['_onCombEvent'](_0x3cb06a){var _0x51d2bd=_0x2f175c;_0x3cb06a[_0x51d2bd(0x315)]===F['JOIN']?this[_0x51d2bd(0x3b9)](_0x3cb06a):_0x3cb06a[_0x51d2bd(0x315)]===F[_0x51d2bd(0x37b)]&&this[_0x51d2bd(0x36a)](_0x3cb06a);}[_0x2f175c(0x192)](_0x55c05e){var _0x5f4d0b=_0x2f175c;this[_0x5f4d0b(0x3df)][_0x5f4d0b(0x438)](0x1),_0x55c05e[_0x5f4d0b(0x1d6)]({'cmd':F['JOIN'],'routeKey':this[_0x5f4d0b(0x2f5)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5f4d0b(0x2f5)]}]}});}[_0x2f175c(0x3b9)](_0x1a0cff){var _0xd769cf=_0x2f175c,_0x463ad8;if(_0x1a0cff[_0xd769cf(0x426)]in Kt){this[_0xd769cf(0x2ac)][_0xd769cf(0x2e7)]({'id':se[_0xd769cf(0x3b4)],'data':Kt[_0x1a0cff['code']]}),this[_0xd769cf(0x3df)][_0xd769cf(0x438)](0x2);return;}this[_0xd769cf(0x3df)][_0xd769cf(0x438)](0x3);const _0x414ae7=(_0x463ad8=_0x1a0cff['data'][_0xd769cf(0x3c8)][this[_0xd769cf(0x2f5)]])==null?void 0x0:_0x463ad8[_0xd769cf(0x398)];_0x414ae7&&_0x414ae7[_0xd769cf(0x1e7)](_0x1853ee=>this[_0xd769cf(0x1c6)][_0xd769cf(0x164)](this['_unitID'],_0x1853ee));}[_0x2f175c(0x36a)](_0x34cf51){var _0x20f98e=_0x2f175c;try{const _0x40a77a=_0x34cf51[_0x20f98e(0x3b2)];switch(_0x40a77a[_0x20f98e(0x2f8)]){case _0x260842[_0x20f98e(0x338)]:this[_0x20f98e(0x20f)](_0x40a77a),this['_event$'][_0x20f98e(0x438)](_0x40a77a);break;case _0x260842['USERS_LEAVE']:this['_onUserLeave'](_0x40a77a),this[_0x20f98e(0x190)]['next'](_0x40a77a);break;case _0x260842[_0x20f98e(0x2c2)]:case _0x260842[_0x20f98e(0x229)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x20f98e(0x3a9)](),this[_0x20f98e(0x190)][_0x20f98e(0x438)](_0x40a77a);break;case _0x260842['MSG_FOR_ERROR']:this[_0x20f98e(0x420)][_0x20f98e(0x1f1)](_0x20f98e(0x345)+JSON['stringify'](_0x40a77a)),this[_0x20f98e(0x190)]['next'](_0x40a77a);break;case _0x260842[_0x20f98e(0x281)]:this[_0x20f98e(0x451)]['onCommentUpdate'](_0x40a77a['data']),this[_0x20f98e(0x190)][_0x20f98e(0x438)](_0x40a77a);break;default:this['_event$']['next'](_0x40a77a);}}catch(_0x2e493c){this[_0x20f98e(0x420)][_0x20f98e(0x1f1)](_0x2e493c,_0x34cf51);}}[_0x2f175c(0x20f)](_0x3e0788){var _0x4b0a73=_0x2f175c;this[_0x4b0a73(0x1c6)][_0x4b0a73(0x164)](this[_0x4b0a73(0x2f5)],_0x3e0788[_0x4b0a73(0x3b2)]);}[_0x2f175c(0x217)](_0x3754ee){var _0xe34822=_0x2f175c;this['_memberService']['removeMember'](this[_0xe34822(0x2f5)],_0x3754ee[_0xe34822(0x3b2)]['memberID']);}async[_0x2f175c(0x1d6)](_0x4ef6a2,_0x51cbec){var _0x23ea1c=_0x2f175c;if(this[_0x23ea1c(0x1a7)]!==0x3||!this['_socket'])throw new Error(_0x23ea1c(0x314));try{_0x4ef6a2[_0x23ea1c(0x2f8)]===_0x260842['SUBMIT_CHANGESET']&&(this[_0x23ea1c(0x362)](),this['_startTelemetryCollaborationNewChangeset'](_0x4ef6a2)),this['_socket'][_0x23ea1c(0x1d6)]({'cmd':F[_0x23ea1c(0x31d)],'routeKey':_0x51cbec,'routeType':'','data':_0x4ef6a2});}catch(_0x1fca1c){this[_0x23ea1c(0x420)]['error'](_0x1fca1c);}}['_scheduleCollaborationTimeoutTimer'](){var _0xc991ca=_0x2f175c,_0x2035b9;this[_0xc991ca(0x3bd)]=setTimeout(()=>{var _0x908d31=_0xc991ca;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x908d31(0x2e7)]({'id':se[_0x908d31(0x203)]});},(_0x2035b9=this[_0xc991ca(0x452)]['getConfig'](mi))!=null?_0x2035b9:gi);}['_clearCollaborationTimeoutTimer'](){var _0x48c03e=_0x2f175c;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x48c03e(0x3bd)]),this['_collaborationTimeoutTimer']=null);}[_0x2f175c(0x2b3)](_0x12fdc7){var _0x4ab389=_0x2f175c;if(!this[_0x4ab389(0x43a)])return;const {data:_0x4f7bde}=_0x12fdc7,{unitID:_0x541bd8,changeset:_0x11839d}=_0x4f7bde,{mutations:_0xaaf771,type:_0x58b443}=_0x11839d;this[_0x4ab389(0x3bb)]={'unitId':_0x541bd8,'type':_0x58b443,'startTime':performance[_0x4ab389(0x2fc)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0xaaf771)};}[_0x2f175c(0x3a5)](){var _0x4e9de4=_0x2f175c;if(this[_0x4e9de4(0x43a)]){if(!this['_telemetryInfo']){this[_0x4e9de4(0x420)]['error'](_0x4e9de4(0x1ba),_0x4e9de4(0x3cc));return;}this[_0x4e9de4(0x3bb)]['stopTime']=performance['now'](),this['_telemetryInfo'][_0x4e9de4(0x2c3)]=this[_0x4e9de4(0x3bb)][_0x4e9de4(0x30f)]-this[_0x4e9de4(0x3bb)][_0x4e9de4(0x2a0)],this[_0x4e9de4(0x408)][_0x4e9de4(0x182)](Hn,this[_0x4e9de4(0x3bb)]),this[_0x4e9de4(0x3bb)]=null;}}[_0x2f175c(0x21c)](){var _0x2cd918=_0x2f175c;this[_0x2cd918(0x3bb)]=null;}};Et=Wn([me(0x2,_0x412d07),me(0x3,_0x212b45),me(0x4,_0xbf826d(_0x5394b0)),me(0x5,_0xbf826d(xe)),me(0x6,_0xbf826d(Ti)),me(0x7,_0xbf826d(pe)),me(0x8,_0xded328(_0x229533))],Et);var Kn=Object[_0x2f175c(0x278)],Yn=(_0x1a6b6d,_0x515210,_0x33c7b8,_0x552384)=>{for(var _0x16c2a4=_0x552384>0x1?void 0x0:_0x552384?Kn(_0x515210,_0x33c7b8):_0x515210,_0x212a24=_0x1a6b6d['length']-0x1,_0x4c7e7c;_0x212a24>=0x0;_0x212a24--)(_0x4c7e7c=_0x1a6b6d[_0x212a24])&&(_0x16c2a4=_0x4c7e7c(_0x16c2a4)||_0x16c2a4);return _0x16c2a4;},be=(_0x2f16a7,_0x2660eb)=>(_0x5c9b75,_0x1c68ba)=>_0x2660eb(_0x5c9b75,_0x1c68ba,_0x2f16a7);let Le=class extends _0x551fc0{constructor(_0x3e7808,_0x34af95,_0x58738d,_0x1e2322,_0x51c987,_0xbeec9d){var _0x2aa085=_0x2f175c;super(),N(this,_0x2aa085(0x3de),new _0x19faa4(void 0x0)),N(this,_0x2aa085(0x1e5),this['_socket$'][_0x2aa085(0x2cc)]()),N(this,_0x2aa085(0x39e),null),N(this,_0x2aa085(0x226),new Map()),N(this,_0x2aa085(0x42b),new _0x19faa4(Ee[_0x2aa085(0x1a4)])),N(this,_0x2aa085(0x31f),this[_0x2aa085(0x42b)]['asObservable']()),N(this,_0x2aa085(0x1c5),!0x1),N(this,_0x2aa085(0x1be)),N(this,'_retryCount',0x0),N(this,_0x2aa085(0x3e3)),N(this,_0x2aa085(0x428)),(this[_0x2aa085(0x41d)]=_0x3e7808,this['_logService']=_0x34af95,this[_0x2aa085(0x452)]=_0x58738d,this[_0x2aa085(0x359)]=_0x1e2322,this[_0x2aa085(0x2ac)]=_0x51c987,this['_networkConditionService']=_0xbeec9d,this[_0x2aa085(0x371)]());}get[_0x2f175c(0x335)](){var _0x5e68c1=_0x2f175c;return this[_0x5e68c1(0x3de)][_0x5e68c1(0x1b4)]();}['_listenToNetworkCondition'](){var _0x44ced8=_0x2f175c;this[_0x44ced8(0x220)]&&this['disposeWithMe'](this['_networkConditionService'][_0x44ced8(0x1cc)][_0x44ced8(0x20a)](_0x313660=>{var _0x36d7ca=_0x44ced8;_0x313660&&!this[_0x36d7ca(0x335)]&&this[_0x36d7ca(0x3da)](),_0x313660||this[_0x36d7ca(0x312)]();}));}[_0x2f175c(0x431)](){var _0xdf7d5d=_0x2f175c;super[_0xdf7d5d(0x431)](),this[_0xdf7d5d(0x282)](),this[_0xdf7d5d(0x317)](),this['_clearHeartbeatTimer'](),this[_0xdf7d5d(0x226)][_0xdf7d5d(0x1e7)](_0xb0bd6b=>_0xb0bd6b['dispose']()),this['_sessions'][_0xdf7d5d(0x253)](),this['_status$'][_0xdf7d5d(0x285)]();}async[_0x2f175c(0x29c)](_0x11b567){var _0x1c336e=_0x2f175c;if(this[_0x1c336e(0x226)][_0x1c336e(0x2f4)](_0x11b567))return this[_0x1c336e(0x226)][_0x1c336e(0x246)](_0x11b567);this['_tryEnsureSocket']();const _0x3d3570=this[_0x1c336e(0x41d)][_0x1c336e(0x310)](Et,_0x11b567,this['_socket$'][_0x1c336e(0x2cc)]());return this[_0x1c336e(0x226)][_0x1c336e(0x2ce)](_0x11b567,_0x3d3570),_0x3d3570;}[_0x2f175c(0x28c)](_0x434c13){var _0x91eb26=_0x2f175c,_0x41c7db;const _0x88dcdd=this['_sessions'][_0x91eb26(0x246)](_0x434c13);_0x88dcdd&&(this['_sessions']['delete'](_0x434c13),_0x88dcdd['close']()),this[_0x91eb26(0x226)]['size']||(_0x41c7db=this[_0x91eb26(0x335)])==null||_0x41c7db[_0x91eb26(0x25c)]();}[_0x2f175c(0x3da)](){var _0x2efecc=_0x2f175c;this[_0x2efecc(0x2fa)]=0x0,this[_0x2efecc(0x282)](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0x4969f4=_0x2f175c;this[_0x4969f4(0x1be)]!=null&&(clearTimeout(this[_0x4969f4(0x1be)]),this['_retryConnectingTimer']=null);}async[_0x2f175c(0x208)](){var _0x292708=_0x2f175c,_0x38cd22,_0x46c79e;const _0x3cb64b=this[_0x292708(0x452)][_0x292708(0x3a3)](In),_0x50f4d6=this[_0x292708(0x452)]['getConfig'](q),_0x545e4c=(_0x46c79e=(_0x38cd22=_0x50f4d6==null?void 0x0:_0x50f4d6[_0x292708(0x41a)])!=null?_0x38cd22:_0x3cb64b)!=null?_0x46c79e:Tn,_0x16a56e=await this[_0x292708(0x359)]['createSocket'](_0x545e4c);return this[_0x292708(0x39e)]=_0x16a56e,_0x16a56e;}async['_tryEnsureSocket'](){var _0x3ce629=_0x2f175c,_0x46f51b,_0x331e10;try{const _0x193fda=(_0x331e10=(_0x46f51b=this[_0x3ce629(0x335)])!=null?_0x46f51b:this[_0x3ce629(0x39e)])!=null?_0x331e10:await this[_0x3ce629(0x208)]();if(_0x193fda){const _0x29b778=_0x193fda['send'];_0x193fda[_0x3ce629(0x1d6)]=_0x8ee25c=>(this[_0x3ce629(0x2ee)](),_0x29b778[_0x3ce629(0x3d1)](_0x193fda,[_0x8ee25c])),_0x193fda[_0x3ce629(0x2d5)][_0x3ce629(0x20a)](_0x3c1081=>this[_0x3ce629(0x173)](_0x193fda,_0x3c1081)),_0x193fda['error$'][_0x3ce629(0x2b6)](_0x2810b5(0x1))['subscribe'](_0x26b2c9=>this['_logService'][_0x3ce629(0x1f1)](_0x3ce629(0x380),_0x26b2c9)),_0x193fda['open$'][_0x3ce629(0x2b6)](_0x2810b5(0x1))[_0x3ce629(0x20a)](()=>{var _0x4f88a6=_0x3ce629;this[_0x4f88a6(0x340)](_0x193fda);}),_0x193fda[_0x3ce629(0x287)][_0x3ce629(0x2b6)](_0x2810b5(0x1))[_0x3ce629(0x20a)](_0x27a088=>{var _0x49a4ff=_0x3ce629;this[_0x49a4ff(0x420)][_0x49a4ff(0x30b)]('[CollaborationSessionService]',_0x49a4ff(0x367),_0x27a088),this[_0x49a4ff(0x1cd)]();});}}catch(_0x32fd9e){this[_0x3ce629(0x420)][_0x3ce629(0x1f1)](_0x32fd9e),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x1fa3d9){var _0x18dd73=_0x2f175c;this[_0x18dd73(0x420)][_0x18dd73(0x30b)]('[CollaborationSessionService]',_0x18dd73(0x2f9)),_0x1fa3d9[_0x18dd73(0x1d6)]({'cmd':F[_0x18dd73(0x366)]}),this[_0x18dd73(0x2ee)]();}['_onOffline'](){var _0x2314c1=_0x2f175c;this['_socketReady']=!0x1,this[_0x2314c1(0x39e)]=null,this[_0x2314c1(0x42b)][_0x2314c1(0x438)](Ee['OFFLINE']),this['_socket$'][_0x2314c1(0x438)](null),this[_0x2314c1(0x317)](),this[_0x2314c1(0x266)]();}['_onConnectionFailed'](){var _0x480ebf=_0x2f175c,_0xf107d5;this[_0x480ebf(0x312)](),this['_retryCount']<((_0xf107d5=this[_0x480ebf(0x452)][_0x480ebf(0x3a3)](yn))!=null?_0xf107d5:On)?(this[_0x480ebf(0x2ac)]['emitEvent']({'id':se[_0x480ebf(0x2cf)]}),this[_0x480ebf(0x1f4)]()):this[_0x480ebf(0x2ac)][_0x480ebf(0x2e7)]({'id':se[_0x480ebf(0x3db)]});}['_tryReconnect'](){var _0x140cd8=_0x2f175c,_0x5999e3;const _0x176a7f=this[_0x140cd8(0x2fa)],_0x248ccd=this['_configService'][_0x140cd8(0x3a3)](q),_0x48c6f2=_0x176a7f===0x0?0x0:((_0x5999e3=_0x248ccd==null?void 0x0:_0x248ccd[_0x140cd8(0x24e)])!=null?_0x5999e3:bn)*0x2**_0x176a7f;this[_0x140cd8(0x1be)]=setTimeout(()=>{var _0x420c0b=_0x140cd8;clearTimeout(this[_0x420c0b(0x1be)]),this[_0x420c0b(0x1be)]=null,this[_0x420c0b(0x193)]();},_0x48c6f2),this[_0x140cd8(0x2fa)]+=0x1;}[_0x2f175c(0x173)](_0x427edf,_0x3e1ac5){var _0x25718f=_0x2f175c;const {cmd:_0x3a14f2}=_0x3e1ac5;_0x3a14f2===F[_0x25718f(0x366)]&&!this[_0x25718f(0x1c5)]&&(_0x427edf['memberID']=_0x3e1ac5[_0x25718f(0x3b2)][_0x25718f(0x3fa)],this[_0x25718f(0x3de)][_0x25718f(0x438)](_0x427edf),this[_0x25718f(0x42b)][_0x25718f(0x438)](Ee[_0x25718f(0x291)]),this[_0x25718f(0x1c5)]=!0x0,this[_0x25718f(0x39e)]=null),_0x3a14f2===F[_0x25718f(0x25b)]&&this[_0x25718f(0x317)](),this[_0x25718f(0x2ee)]();}['_rescheduleHeartbeat'](){var _0x301149=_0x2f175c,_0x552c7a;this['_clearHeartbeatTimer'](),this[_0x301149(0x3e3)]=setTimeout(()=>this[_0x301149(0x1d9)](),(_0x552c7a=this[_0x301149(0x452)][_0x301149(0x3a3)](Cn))!=null?_0x552c7a:Rn);}[_0x2f175c(0x1d9)](){var _0x1a3c21=_0x2f175c;this[_0x1a3c21(0x335)][_0x1a3c21(0x1d6)]({'cmd':F[_0x1a3c21(0x25b)]}),this[_0x1a3c21(0x21f)]();}[_0x2f175c(0x21f)](){var _0x1f6b92=_0x2f175c,_0x2bdd7d;this[_0x1f6b92(0x428)]=setTimeout(()=>this[_0x1f6b92(0x1cd)](),(_0x2bdd7d=this[_0x1f6b92(0x452)][_0x1f6b92(0x3a3)](mi))!=null?_0x2bdd7d:gi);}[_0x2f175c(0x266)](){var _0x5b8c0d=_0x2f175c;this[_0x5b8c0d(0x3e3)]!=null&&(clearTimeout(this[_0x5b8c0d(0x3e3)]),this['_sendHeartbeatTimer']=null);}[_0x2f175c(0x317)](){var _0x25a6ea=_0x2f175c;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x25a6ea(0x428)]),this['_timeoutTimer']=null);}};Le=Yn([be(0x0,_0xbf826d(_0x55133f)),be(0x1,_0x412d07),be(0x2,_0x212b45),be(0x3,Ii),be(0x4,_0xbf826d(pe)),be(0x5,_0xded328(Pn))],Le);const V=[];for(let t=0x0;t<0x100;++t)V[_0x2f175c(0x2d3)]((t+0x100)[_0x2f175c(0x373)](0x10)[_0x2f175c(0x425)](0x1));function qn(_0x540bf9,_0x13f329=0x0){var _0xe7b534=_0x2f175c;return(V[_0x540bf9[_0x13f329+0x0]]+V[_0x540bf9[_0x13f329+0x1]]+V[_0x540bf9[_0x13f329+0x2]]+V[_0x540bf9[_0x13f329+0x3]]+'-'+V[_0x540bf9[_0x13f329+0x4]]+V[_0x540bf9[_0x13f329+0x5]]+'-'+V[_0x540bf9[_0x13f329+0x6]]+V[_0x540bf9[_0x13f329+0x7]]+'-'+V[_0x540bf9[_0x13f329+0x8]]+V[_0x540bf9[_0x13f329+0x9]]+'-'+V[_0x540bf9[_0x13f329+0xa]]+V[_0x540bf9[_0x13f329+0xb]]+V[_0x540bf9[_0x13f329+0xc]]+V[_0x540bf9[_0x13f329+0xd]]+V[_0x540bf9[_0x13f329+0xe]]+V[_0x540bf9[_0x13f329+0xf]])[_0xe7b534(0x239)]();}let ut;const zn=new Uint8Array(0x10);function _0x3552(_0x222277,_0x233d41){var _0x43495c=_0x4349();return _0x3552=function(_0x3552ff,_0x272e31){_0x3552ff=_0x3552ff-0x15b;var _0x4f4b1e=_0x43495c[_0x3552ff];return _0x4f4b1e;},_0x3552(_0x222277,_0x233d41);}function Jn(){var _0x54c260=_0x2f175c;if(!ut){if(typeof crypto>'u'||!crypto[_0x54c260(0x20d)])throw new Error(_0x54c260(0x179));ut=crypto['getRandomValues'][_0x54c260(0x385)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x2f175c(0x33e)][_0x2f175c(0x385)](crypto),Yt={'randomUUID':Xn};function Zn(_0x2a50dc,_0x3a7bdc,_0x54547e){var _0x1fc665=_0x2f175c,_0x579947,_0x38b24d,_0x1b9a05;if(Yt[_0x1fc665(0x33e)]&&!_0x2a50dc)return Yt['randomUUID']();_0x2a50dc=_0x2a50dc||{};const _0x2a28cc=(_0x1b9a05=(_0x38b24d=_0x2a50dc['random'])!=null?_0x38b24d:(_0x579947=_0x2a50dc[_0x1fc665(0x330)])==null?void 0x0:_0x579947['call'](_0x2a50dc))!=null?_0x1b9a05:Jn();if(_0x2a28cc[_0x1fc665(0x270)]<0x10)throw new Error(_0x1fc665(0x3d5));return _0x2a28cc[0x6]=_0x2a28cc[0x6]&0xf|0x40,_0x2a28cc[0x8]=_0x2a28cc[0x8]&0x3f|0x80,qn(_0x2a28cc);}const J=_0x118e51(_0x2f175c(0x44e));function Bs(_0x12bf2f){return'unit-cache-'+_0x12bf2f;}var Qn=Object[_0x2f175c(0x278)],er=(_0x2c2742,_0x5b7e8b,_0xbd276f,_0x20ca5a)=>{for(var _0x7d0fee=_0x20ca5a>0x1?void 0x0:_0x20ca5a?Qn(_0x5b7e8b,_0xbd276f):_0x5b7e8b,_0x1badd7=_0x2c2742['length']-0x1,_0x4df04f;_0x1badd7>=0x0;_0x1badd7--)(_0x4df04f=_0x2c2742[_0x1badd7])&&(_0x7d0fee=_0x4df04f(_0x7d0fee)||_0x7d0fee);return _0x7d0fee;},dt=(_0x4b4c8e,_0x52978a)=>(_0xbaad7e,_0x7ffe96)=>_0x52978a(_0xbaad7e,_0x7ffe96,_0x4b4c8e);function tr(_0x2861e5){var _0x22a767=_0x2f175c;const {unitID:_0x3360db,mutations:_0x487f26}=_0x2861e5;return{'unitId':_0x3360db,'subUnitId':_0x487f26[0x0][_0x22a767(0x3f7)][_0x22a767(0x307)]};}let it=class{constructor(_0x49703e,_0xed731,_0x2bf105){var _0x251a5d=_0x2f175c;this[_0x251a5d(0x41d)]=_0x49703e,this[_0x251a5d(0x2dc)]=_0xed731,this['_instanceService']=_0x2bf105;}['transformSelections'](_0x17cf2e){var _0x4e1215=_0x2f175c,_0x69b5fc,_0x76354d,_0x283458,_0x461540;const _0x4d8fdb=this[_0x4e1215(0x41d)][_0x4e1215(0x246)](_0x2e6d54),{unitId:_0x29b0a6,subUnitId:_0x261cba}=tr(_0x17cf2e),_0x3a93e4=_0x4d8fdb==null?void 0x0:_0x4d8fdb[_0x4e1215(0x219)](_0x29b0a6)[_0x4e1215(0x396)](),_0x5e5533=(_0x76354d=(_0x69b5fc=this['_instanceService'][_0x4e1215(0x3f5)](_0x29b0a6))==null?void 0x0:_0x69b5fc['getActiveSheet']())==null?void 0x0:_0x76354d[_0x4e1215(0x171)]();if(_0x3a93e4[_0x4e1215(0x270)]===0x0||!_0x29b0a6||!_0x261cba)return;const _0x1a27de=[{'id':_0x3c31b4['id'],'params':{'unitId':_0x29b0a6,'subUnitId':_0x5e5533,'selections':_0x2b3879['deepClone'](_0x3a93e4)}}],_0x1f4780=this[_0x4e1215(0x2dc)][_0x4e1215(0x43e)](_0x17cf2e,_0x1a27de);if(!_0x406094(_0x1f4780))throw _0x1f4780[_0x4e1215(0x1f1)];const _0x49ea77=(_0x461540=(_0x283458=_0x1f4780[_0x4e1215(0x349)][0x0])==null?void 0x0:_0x283458[_0x4e1215(0x3f7)])==null?void 0x0:_0x461540[_0x4e1215(0x2fb)];if(Array[_0x4e1215(0x303)](_0x49ea77)&&_0x49ea77[_0x4e1215(0x270)]){if(_0x49ea77['length']===_0x1a27de[0x0]['params'][_0x4e1215(0x2fb)]['length']&&_0x49ea77[_0x4e1215(0x1dc)]((_0x19aca8,_0x219c92)=>_0x47c96b[_0x4e1215(0x2a1)](_0x19aca8[_0x4e1215(0x271)],_0x1a27de[0x0][_0x4e1215(0x3f7)]['selections'][_0x219c92][_0x4e1215(0x271)])))return;this[_0x4e1215(0x41d)][_0x4e1215(0x246)](_0x894975)['executeCommand'](_0x3c31b4['id'],{'unitId':_0x29b0a6,'subUnitId':_0x5e5533,'selections':_0x49ea77});}}};it=er([dt(0x0,_0xbf826d(_0x55133f)),dt(0x1,_0x17b586),dt(0x2,_0x457cbb)],it);const ht=_0x118e51(_0x2f175c(0x1c9));var Ci=(_0x5b8f16=>(_0x5b8f16[_0x5b8f16[_0x2f175c(0x3e9)]=0x0]=_0x2f175c(0x3e9),_0x5b8f16[_0x5b8f16[_0x2f175c(0x39c)]=0x1]=_0x2f175c(0x39c),_0x5b8f16))(Ci||{});const ir=new Set([_0x3b5767['id']]);function qt(_0x4042bc,_0x40df0a,_0x40f9f6,_0x5c205c,_0x47191f){var _0x2c780e=_0x2f175c,_0x4286ae,_0x57d04a,_0x438ff5,_0xf5afc2;const _0x3848ad=[];for(const _0x5d5afb of _0x4042bc)if(ir[_0x2c780e(0x2f4)](_0x5d5afb['id'])){if(_0x3848ad[_0x2c780e(0x270)]>0x0)break;_0x3848ad[_0x2c780e(0x2d3)](_0x5d5afb);break;}else _0x3848ad[_0x2c780e(0x2d3)](_0x5d5afb);const _0x2e9ea0=(_0x57d04a=(_0x4286ae=_0x47191f[_0x2c780e(0x32c)]())==null?void 0x0:_0x4286ae[_0x2c780e(0x2e9)])!=null?_0x57d04a:_0x2c780e(0x44b),_0x442cde=(_0xf5afc2=(_0x438ff5=_0x47191f[_0x2c780e(0x32c)]())==null?void 0x0:_0x438ff5[_0x2c780e(0x3fa)])!=null?_0xf5afc2:'unknown';return{'changeset':{'unitID':_0x40df0a,'type':_0x50d968(_0x40f9f6[_0x2c780e(0x342)](_0x40df0a)),'baseRev':_0x5c205c[_0x2c780e(0x218)](_0x40df0a),'revision':0x0,'userID':_0x2e9ea0,'memberID':_0x442cde,'mutations':_0x3848ad},'pendingMutations':_0x4042bc[_0x2c780e(0x425)](_0x3848ad['length'])};}function nr(_0x265cad,_0x213048,_0x418845,_0x583c96,_0x265e1f){var _0x4565a3=_0x2f175c,_0x302de7,_0x48646b,_0xc3572e,_0x484556;const _0x37588d=[_0x265cad['reduce']((_0x354e9e,_0x14e9fa)=>{var _0x525b47=_0x3552,_0x262c29;const {id:_0x2ee4b4}=_0x354e9e,{id:_0xbd03c8,type:_0x2c4827}=_0x14e9fa,_0x5e3934=(_0x262c29=_0x354e9e['params'])!=null?_0x262c29:{'actions':null},_0x5bd556=_0x14e9fa[_0x525b47(0x3f7)];if(_0x2ee4b4&&_0x2ee4b4!==_0xbd03c8)throw new Error(_0x525b47(0x2fd)+_0x2ee4b4+_0x525b47(0x3ef)+_0xbd03c8+'.');return{..._0x354e9e,'id':_0xbd03c8,'type':_0x2c4827,'params':{'unitId':_0x5bd556['unitId'],'textRanges':_0x5bd556[_0x525b47(0x263)],'actions':_0x204f50['compose'](_0x5e3934[_0x525b47(0x264)],_0x5bd556[_0x525b47(0x264)])}};},{})],_0x18e40f=(_0x48646b=(_0x302de7=_0x265e1f['getCurrentUser']())==null?void 0x0:_0x302de7[_0x4565a3(0x2e9)])!=null?_0x48646b:'unknown',_0x325dec=(_0x484556=(_0xc3572e=_0x265e1f[_0x4565a3(0x32c)]())==null?void 0x0:_0xc3572e[_0x4565a3(0x3fa)])!=null?_0x484556:_0x4565a3(0x44b);return{'changeset':{'unitID':_0x213048,'type':_0x50d968(_0x418845[_0x4565a3(0x342)](_0x213048)),'baseRev':_0x583c96['getCurrentRevOfUnit'](_0x213048),'revision':0x0,'userID':_0x18e40f,'memberID':_0x325dec,'mutations':_0x37588d},'pendingMutations':[]};}function Ri(_0x35a283,_0x44d2d8){var _0x33a4dc=_0x2f175c;const _0x55909f=new _0x402d3d(0x1);return setTimeout(()=>_0x55909f[_0x33a4dc(0x438)](_0x44d2d8),_0x35a283),_0x55909f[_0x33a4dc(0x2cc)]()[_0x33a4dc(0x2b6)](_0x1482c7(0x1));}const rr={'id':_0x25437b['id'],'type':_0x340f5c[_0x2f175c(0x3fb)],'params':{}};var sr=Object['getOwnPropertyDescriptor'],Te=(_0x2022e9,_0x3bd74f,_0x26eb4f,_0xa1f446)=>{var _0x23370e=_0x2f175c;for(var _0x3ad3fa=_0xa1f446>0x1?void 0x0:_0xa1f446?sr(_0x3bd74f,_0x26eb4f):_0x3bd74f,_0x21e237=_0x2022e9[_0x23370e(0x270)]-0x1,_0x1b6b05;_0x21e237>=0x0;_0x21e237--)(_0x1b6b05=_0x2022e9[_0x21e237])&&(_0x3ad3fa=_0x1b6b05(_0x3ad3fa)||_0x3ad3fa);return _0x3ad3fa;},P=(_0x9f9f12,_0x269ac6)=>(_0x310589,_0x5a962c)=>_0x269ac6(_0x310589,_0x5a962c,_0x9f9f12),bi=(_0x51a6ad=>(_0x51a6ad['NOT_COLLAB']=_0x2f175c(0x2e1),_0x51a6ad[_0x2f175c(0x302)]='synced',_0x51a6ad['PENDING']=_0x2f175c(0x2ea),_0x51a6ad[_0x2f175c(0x29b)]='awaiting',_0x51a6ad[_0x2f175c(0x25e)]=_0x2f175c(0x22c),_0x51a6ad['FETCH_MISS']='fetch_missing',_0x51a6ad[_0x2f175c(0x33d)]=_0x2f175c(0x23f),_0x51a6ad[_0x2f175c(0x305)]='offline',_0x51a6ad))(bi||{});const yi=0xea60;class Ce{constructor(_0x4dce05,_0x162c1d,_0x5bebf7,_0x595127,_0x288178,_0x30d5d2,_0x4f57a3,_0x39e818,_0x418e9a){var _0x2a93ab=_0x2f175c;N(this,'_awaitingChangeset',null),N(this,_0x2a93ab(0x288),[]),(this[_0x2a93ab(0x2d2)]=_0x4dce05,this[_0x2a93ab(0x3e1)]=_0x162c1d,this[_0x2a93ab(0x16a)]=_0x288178,this[_0x2a93ab(0x187)]=_0x30d5d2,this[_0x2a93ab(0x250)]=_0x4f57a3,this[_0x2a93ab(0x341)]=_0x39e818,this[_0x2a93ab(0x32b)]=_0x418e9a,this[_0x2a93ab(0x15d)]=_0x5bebf7,this[_0x2a93ab(0x288)]=_0x595127);}[_0x2f175c(0x2a4)](_0x5a2f80){var _0x274b17=_0x2f175c;const _0x45a488=this['_revisionService'][_0x274b17(0x218)](this[_0x274b17(0x2d2)]);return _0x5a2f80[_0x274b17(0x28f)]>_0x45a488+0x1?(this[_0x274b17(0x16a)][_0x274b17(0x185)]({'from':_0x45a488,'to':_0x5a2f80['revision']-0x1}),!0x0):!0x1;}[_0x2f175c(0x24b)](_0x351fb8){var _0xd35ae3=_0x2f175c;this[_0xd35ae3(0x250)]['transformUndoRedo'](this[_0xd35ae3(0x2d2)],_0x351fb8);}[_0x2f175c(0x2da)](_0x187022){var _0x5b7224=_0x2f175c,_0x2e800c,_0x2cc989;(_0x2cc989=(_0x2e800c=this[_0x5b7224(0x16a)])[_0x5b7224(0x41e)])==null||_0x2cc989['call'](_0x2e800c,_0x187022);}['_transformIMECache'](_0x2a8a2a){var _0xf36a71=_0x2f175c,_0xf3aea7,_0x2a241f;return(_0x2a241f=(_0xf3aea7=this[_0xf36a71(0x16a)])[_0xf36a71(0x39b)])==null?void 0x0:_0x2a241f['call'](_0xf3aea7,_0x2a8a2a);}[_0x2f175c(0x168)](_0x40c35a){var _0x1aa78e,_0x58a4d9;return(_0x58a4d9=(_0x1aa78e=this['_handler'])['onTransformState'])==null?void 0x0:_0x58a4d9['call'](_0x1aa78e,_0x40c35a);}[_0x2f175c(0x2e5)](_0x3c299a){var _0xaea9b8=_0x2f175c,_0x183b81,_0x199eed,_0x770afc;return(_0x770afc=(_0x199eed=(_0x183b81=this[_0xaea9b8(0x16a)])[_0xaea9b8(0x2d8)])==null?void 0x0:_0x199eed[_0xaea9b8(0x26a)](_0x183b81,_0x3c299a))!=null?_0x770afc:_0x3c299a;}['_transformRemoteChangesetByStateCache'](_0x1a45e6){var _0x24cdd2=_0x2f175c,_0x14f495,_0x428ec8,_0x1c3830;return(_0x1c3830=(_0x428ec8=(_0x14f495=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x428ec8[_0x24cdd2(0x26a)](_0x14f495,_0x1a45e6))!=null?_0x1c3830:_0x1a45e6;}[_0x2f175c(0x29e)](_0x56ac83){var _0x3db8f1=_0x2f175c,_0x2da5c6,_0x5928eb;if(this[_0x3db8f1(0x3e1)]===Q[_0x3db8f1(0x161)]){const {unitID:_0x5db027,mutations:_0x4b0001,memberID:_0x3d93b2}=_0x56ac83,_0x1ff017=_0x4b0001[0x0][_0x3db8f1(0x3f7)][_0x3db8f1(0x263)];Array[_0x3db8f1(0x303)](_0x1ff017)&&_0x1ff017[_0x3db8f1(0x270)]>0x0&&((_0x5928eb=(_0x2da5c6=this[_0x3db8f1(0x16a)])[_0x3db8f1(0x28b)])==null||_0x5928eb[_0x3db8f1(0x26a)](_0x2da5c6,{'unitID':_0x5db027,'memberID':_0x3d93b2,'textRanges':_0x1ff017}));}}[_0x2f175c(0x3bf)](){var _0x407237=_0x2f175c,_0x26e06b;(_0x26e06b=this['_localCacheService'])==null||_0x26e06b[_0x407237(0x381)](this[_0x407237(0x2d2)],this['type'],this[_0x407237(0x15d)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x421489=_0x2f175c;return this[_0x421489(0x341)][_0x421489(0x218)](this['unitID']);}[_0x2f175c(0x15e)](){var _0x2f6f33=_0x2f175c;this['_revisionService'][_0x2f6f33(0x37e)](this[_0x2f6f33(0x2d2)]);}[_0x2f175c(0x2d0)](_0x243e98){var _0x5c175d=_0x2f175c,_0x193cf3;let _0x3ae6cd=this['_transformRemoteChangesetByIMECache'](_0x243e98);_0x3ae6cd=this['_transformRemoteChangesetByStateCache'](_0x3ae6cd);const _0x40ddd6=_0x11c566(_0x3ae6cd[_0x5c175d(0x1df)],this[_0x5c175d(0x187)],{'fromCollab':!0x0});if(!_0x40ddd6['result'])throw _0x40ddd6[_0x5c175d(0x1f1)]instanceof Error?_0x40ddd6[_0x5c175d(0x1f1)]:new Error((_0x193cf3=_0x40ddd6[_0x5c175d(0x1f1)])!=null?_0x193cf3:'[CollaborationState]:\x20apply\x20error!');this[_0x5c175d(0x1ee)](_0x3ae6cd),this[_0x5c175d(0x168)](_0x3ae6cd),this[_0x5c175d(0x24b)](_0x243e98),this[_0x5c175d(0x2da)](_0x3ae6cd),this[_0x5c175d(0x29e)](_0x3ae6cd),this[_0x5c175d(0x15e)]();}}let Ne=class extends Ce{constructor(_0x393cc3,_0x53bb9f,_0x571c35,_0x1f0ba4,_0x43f60d,_0x40fb7c,_0x21c40b,_0xd9267c,_0x2f54d5,_0x1f7673){var _0x45c9c9=_0x2f175c;super(_0x393cc3,_0x53bb9f,null,[],_0x571c35,_0x21c40b,_0x40fb7c,_0x1f0ba4,_0x1f7673),N(this,_0x45c9c9(0x319),_0x45c9c9(0x1f0)),(this[_0x45c9c9(0x41d)]=_0x43f60d,this[_0x45c9c9(0x420)]=_0xd9267c,this[_0x45c9c9(0x2dc)]=_0x2f54d5,this[_0x45c9c9(0x35a)]=_0x1f7673);}[_0x2f175c(0x169)](_0x515ed4){var _0x298474=_0x2f175c;const _0x282d36=this[_0x298474(0x41d)][_0x298474(0x310)](ae,this['unitID'],this[_0x298474(0x3e1)],[_0x515ed4],this['_handler']);return _0x282d36[_0x298474(0x300)](),_0x282d36[_0x298474(0x3bf)](),_0x282d36;}['onRemoteChangeset'](_0x315e82){var _0x26ad97=_0x2f175c;if(this[_0x26ad97(0x2a4)](_0x315e82))return this[_0x26ad97(0x41d)][_0x26ad97(0x310)](ee,this[_0x26ad97(0x2d2)],this[_0x26ad97(0x3e1)],null,[],null,[_0x315e82],this[_0x26ad97(0x16a)]);try{const _0x15c3a4=this[_0x26ad97(0x2dc)][_0x26ad97(0x43e)](_0x315e82,[rr]);if(_0x406094(_0x15c3a4)){const {c1Prime:_0x1037d1}=_0x15c3a4;return this['_executeRemoteChangeset'](_0x1037d1),this;}throw _0x15c3a4['error'];}catch(_0x2f9324){return this[_0x26ad97(0x420)][_0x26ad97(0x1f1)](_0x2f9324),this[_0x26ad97(0x225)](!0x1);}}[_0x2f175c(0x225)](_0x4bda8a){var _0x41e2c0=_0x2f175c;return this[_0x41e2c0(0x41d)]['createInstance'](ue,this[_0x41e2c0(0x2d2)],this[_0x41e2c0(0x3e1)],null,[],this[_0x41e2c0(0x16a)],_0x4bda8a);}[_0x2f175c(0x2eb)](){var _0x2fa30f=_0x2f175c;throw new Error(_0x2fa30f(0x293));}[_0x2f175c(0x2b9)](){var _0x1b79de=_0x2f175c;throw new Error(_0x1b79de(0x237));}['onRemoteRetry'](){return this;}[_0x2f175c(0x245)](){var _0x5c2c20=_0x2f175c;return this[_0x5c2c20(0x41d)][_0x5c2c20(0x310)](de,this[_0x5c2c20(0x2d2)],this[_0x5c2c20(0x3e1)],null,[],this[_0x5c2c20(0x16a)]);}[_0x2f175c(0x433)](){return this;}[_0x2f175c(0x1fb)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2f175c(0x405)](){var _0x2a8011=_0x2f175c;const _0x1a3cd1=this[_0x2a8011(0x341)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x2a8011(0x16a)]['onMissingChangesets']({'from':_0x1a3cd1,'to':0x0}),this[_0x2a8011(0x41d)]['createInstance'](ee,this[_0x2a8011(0x2d2)],this['type'],null,[],null,[],this[_0x2a8011(0x16a)]);}};Ne=Te([P(0x3,_0xbf826d(_0x2dae45)),P(0x4,_0xbf826d(_0x55133f)),P(0x5,_0x46d342),P(0x6,_0x894975),P(0x7,_0x412d07),P(0x8,_0x17b586),P(0x9,_0xded328(J))],Ne);let ae=class extends Ce{constructor(_0x3b3ebc,_0x252bb1,_0x3fd5ed,_0x2e8679,_0x11c987,_0x15ce9b,_0x5eef09,_0x587246,_0x56e97b,_0x274673,_0xc10a38,_0x1f6407,_0xa39054,_0x59bc36){var _0x235138=_0x2f175c;super(_0x3b3ebc,_0x252bb1,null,_0x3fd5ed,_0x2e8679,_0x56e97b,_0xa39054,_0x15ce9b,_0x59bc36),N(this,'status',_0x235138(0x2ea)),N(this,_0x235138(0x1ea),null),N(this,_0x235138(0x1e0),null),(this[_0x235138(0x41d)]=_0x11c987,this[_0x235138(0x1c6)]=_0x5eef09,this[_0x235138(0x420)]=_0x587246,this[_0x235138(0x452)]=_0x274673,this[_0x235138(0x2dc)]=_0xc10a38,this[_0x235138(0x3ad)]=_0x1f6407);}[_0x2f175c(0x169)](_0x220203){var _0x41d11b=_0x2f175c;return this[_0x41d11b(0x288)][_0x41d11b(0x2d3)](_0x220203),this['_updateLocalCache'](),this;}[_0x2f175c(0x277)](_0x867a81){var _0x2cf358=_0x2f175c;if(this['_checkMissing'](_0x867a81))return this[_0x2cf358(0x409)](),this[_0x2cf358(0x41d)]['createInstance'](ee,this[_0x2cf358(0x2d2)],this[_0x2cf358(0x3e1)],null,this[_0x2cf358(0x288)],null,[_0x867a81],this[_0x2cf358(0x16a)]);try{const _0x209c58=this['_transformService'][_0x2cf358(0x43e)](_0x867a81,this[_0x2cf358(0x288)]);if(_0x406094(_0x209c58)){const {c1Prime:_0x709e94,m2Prime:_0x478550}=_0x209c58;this[_0x2cf358(0x2d0)](_0x709e94);const _0x2ef272=this[_0x2cf358(0x41d)][_0x2cf358(0x310)](ae,this[_0x2cf358(0x2d2)],this[_0x2cf358(0x3e1)],_0x478550,this[_0x2cf358(0x16a)]);this[_0x2cf358(0x409)]();const _0x122673=new Date()[_0x2cf358(0x26b)](),_0xebea9=this['_scheduleCompleteTimestamp']?Math['max'](this['_scheduleCompleteTimestamp']-_0x122673,0x0):this['_getSendChangesetTimeout']();return _0x2ef272[_0x2cf358(0x300)](_0xebea9),_0x2ef272;}throw _0x209c58[_0x2cf358(0x1f1)];}catch(_0x403734){return this[_0x2cf358(0x420)][_0x2cf358(0x1f1)](_0x403734),this[_0x2cf358(0x225)](!0x1);}}[_0x2f175c(0x2eb)](){var _0x3bfb5b=_0x2f175c;throw new Error(_0x3bfb5b(0x402));}['onRemoteRej'](){var _0xb942f7=_0x2f175c;throw new Error(_0xb942f7(0x2c1));}[_0x2f175c(0x209)](){return this;}[_0x2f175c(0x245)](){var _0x18aae1=_0x2f175c;return this[_0x18aae1(0x409)](),this[_0x18aae1(0x41d)][_0x18aae1(0x310)](de,this[_0x18aae1(0x2d2)],this[_0x18aae1(0x3e1)],null,this['_pendingMutations'],this[_0x18aae1(0x16a)]);}[_0x2f175c(0x433)](){return this;}[_0x2f175c(0x300)](_0x586e14){var _0x4596fa=_0x2f175c;const _0xdc8b6d=_0x586e14!=null?_0x586e14:this[_0x4596fa(0x194)]();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0xdc8b6d,this['_sendingTimer']=setTimeout(()=>{var _0x1844e0=_0x4596fa;this[_0x1844e0(0x409)]();let _0x1f7bf0=null;switch(this['type']){case Q[_0x1844e0(0x3e5)]:{_0x1f7bf0=qt(this['_pendingMutations'],this['unitID'],this[_0x1844e0(0x3ad)],this[_0x1844e0(0x341)],this[_0x1844e0(0x1c6)]);break;}case Q[_0x1844e0(0x161)]:{this['_pendingMutations']['every'](_0x5bb23d=>_0x5bb23d['id']===_0x20d290['id'])?_0x1f7bf0=nr(this['_pendingMutations'],this[_0x1844e0(0x2d2)],this[_0x1844e0(0x3ad)],this[_0x1844e0(0x341)],this[_0x1844e0(0x1c6)]):_0x1f7bf0=qt(this['_pendingMutations'],this[_0x1844e0(0x2d2)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x1844e0(0x258));}const {changeset:_0x389f9d,pendingMutations:_0x374912}=_0x1f7bf0;this['_handler'][_0x1844e0(0x252)](_0x389f9d);const _0x7da444=_0x374912[_0x1844e0(0x270)]?this[_0x1844e0(0x41d)][_0x1844e0(0x310)](oe,this[_0x1844e0(0x2d2)],this[_0x1844e0(0x3e1)],_0x389f9d,_0x374912,this[_0x1844e0(0x16a)],void 0x0):this[_0x1844e0(0x41d)][_0x1844e0(0x310)](le,this[_0x1844e0(0x2d2)],this['type'],_0x389f9d,this[_0x1844e0(0x16a)]);_0x7da444[_0x1844e0(0x3bf)](),this[_0x1844e0(0x16a)]['onStateChange'](this,_0x7da444);},_0xdc8b6d);}['_getSendChangesetTimeout'](){var _0x1f0605;const _0x9da0b9=this['_configService']['getConfig'](q);return(_0x1f0605=_0x9da0b9==null?void 0x0:_0x9da0b9['sendChangesetTimeout'])!=null?_0x1f0605:En;}[_0x2f175c(0x1fb)](){var _0x227bcd=_0x2f175c;throw new Error(_0x227bcd(0x372));}[_0x2f175c(0x409)](){var _0xefbdf1=_0x2f175c;this[_0xefbdf1(0x1e0)]!=null&&(clearTimeout(this[_0xefbdf1(0x1e0)]),this['_sendingTimer']=null);}['_onConflict'](_0x412cf3){var _0x29ed87=_0x2f175c;return this[_0x29ed87(0x409)](),this[_0x29ed87(0x41d)][_0x29ed87(0x310)](ue,this[_0x29ed87(0x2d2)],this[_0x29ed87(0x3e1)],null,this['_pendingMutations'],this[_0x29ed87(0x16a)],_0x412cf3);}};ae=Te([P(0x4,_0xbf826d(_0x55133f)),P(0x5,_0xbf826d(_0x2dae45)),P(0x6,_0xbf826d(xe)),P(0x7,_0x412d07),P(0x8,_0x894975),P(0x9,_0x212b45),P(0xa,_0x17b586),P(0xb,_0x457cbb),P(0xc,_0x46d342),P(0xd,_0xded328(J))],ae);let le=class extends Ce{constructor(_0x579a34,_0x25917f,_0x1cb9a9,_0x44c9c4,_0xe88f49,_0x4a030a,_0x193738,_0x4c7b5c,_0x5d501c,_0x879ac1,_0x9f63a3){var _0x509236=_0x2f175c;super(_0x579a34,_0x25917f,_0x1cb9a9,[],_0x44c9c4,_0x193738,_0x879ac1,_0x4a030a,_0x9f63a3),N(this,_0x509236(0x319),_0x509236(0x19c)),N(this,_0x509236(0x439),0x0),N(this,_0x509236(0x3f1)),N(this,_0x509236(0x386)),(this[_0x509236(0x41d)]=_0xe88f49,this[_0x509236(0x420)]=_0x4c7b5c,this[_0x509236(0x2dc)]=_0x5d501c);}[_0x2f175c(0x169)](_0x48607a){var _0x1e8273=_0x2f175c;this['_clearScheduledTask']();const _0x1397d0=this[_0x1e8273(0x41d)][_0x1e8273(0x310)](oe,this['unitID'],this['type'],this[_0x1e8273(0x15d)],[_0x48607a],this[_0x1e8273(0x16a)],this['_resendTimer']);return _0x1397d0[_0x1e8273(0x3bf)](),_0x1397d0;}[_0x2f175c(0x277)](_0x464b2e){var _0x13bcd4=_0x2f175c;if(this['_checkMissing'](_0x464b2e))return this[_0x13bcd4(0x409)](),this[_0x13bcd4(0x41d)][_0x13bcd4(0x310)](ee,this['unitID'],this[_0x13bcd4(0x3e1)],this[_0x13bcd4(0x15d)],[],null,[_0x464b2e],this[_0x13bcd4(0x16a)]);try{const _0x730532=this[_0x13bcd4(0x2dc)][_0x13bcd4(0x2f1)]([_0x464b2e],[this[_0x13bcd4(0x15d)]],!0x1);if(_0x425140(_0x730532)){const {c1Prime:_0x596510,c2Prime:_0x1862c8}=_0x730532;this[_0x13bcd4(0x2d0)](_0x596510[0x0]),_0x1862c8[0x0][_0x13bcd4(0x274)]=this[_0x13bcd4(0x35b)](),this[_0x13bcd4(0x409)]();const _0x4b6123=this[_0x13bcd4(0x41d)][_0x13bcd4(0x310)](le,this[_0x13bcd4(0x2d2)],this['type'],_0x1862c8[0x0],this[_0x13bcd4(0x16a)]);return _0x4b6123[_0x13bcd4(0x3bf)](),_0x4b6123;}return this[_0x13bcd4(0x225)](!0x1);}catch(_0x155f8c){return this[_0x13bcd4(0x420)]['error'](_0x155f8c),this['_onConflict'](!0x1);}}[_0x2f175c(0x2eb)](_0x179035){var _0x31ece9=_0x2f175c;this[_0x31ece9(0x409)]();const _0x206498=this[_0x31ece9(0x341)][_0x31ece9(0x218)](this[_0x31ece9(0x2d2)]);if(_0x179035[_0x31ece9(0x28f)]<_0x206498-0x1)return this;if(this[_0x31ece9(0x2a4)](_0x179035))return this[_0x31ece9(0x41d)][_0x31ece9(0x310)](ee,this[_0x31ece9(0x2d2)],this['type'],null,[],this[_0x31ece9(0x15d)],[],this['_handler']);this[_0x31ece9(0x15e)]();const _0x38d48a=this[_0x31ece9(0x41d)]['createInstance'](Ne,this[_0x31ece9(0x2d2)],this[_0x31ece9(0x3e1)],this[_0x31ece9(0x16a)]);return _0x38d48a[_0x31ece9(0x3bf)](),_0x38d48a;}[_0x2f175c(0x2b9)](_0x45ec67){var _0x15f8cf=_0x2f175c;return this['_onConflict'](!!(_0x45ec67!=null&&_0x45ec67[_0x15f8cf(0x191)]));}[_0x2f175c(0x209)](_0x18da36){var _0x43c8db=_0x2f175c;return this[_0x43c8db(0x439)]>yi?this[_0x43c8db(0x245)]():(this[_0x43c8db(0x3f1)]=Ri(this['_resendTimeout'],{'timeout':this[_0x43c8db(0x439)],'reqId':_0x18da36[_0x43c8db(0x2ba)]}),this[_0x43c8db(0x386)]=this['_resendTimer'][_0x43c8db(0x20a)](({reqId:_0x53d92d,timeout:_0x2267b1})=>{this['_resendWithTimeout'](_0x53d92d,_0x2267b1);}),this);}[_0x2f175c(0x245)](){var _0x4a6179=_0x2f175c;return this[_0x4a6179(0x409)](),this['_injector']['createInstance'](de,this['unitID'],this[_0x4a6179(0x3e1)],this[_0x4a6179(0x15d)],[],this[_0x4a6179(0x16a)]);}[_0x2f175c(0x433)](){return this;}['resend'](){var _0x37bccb=_0x2f175c;this[_0x37bccb(0x16a)][_0x37bccb(0x252)](this[_0x37bccb(0x15d)]);}[_0x2f175c(0x225)](_0xd8101f){var _0x492fe4=_0x2f175c;return this[_0x492fe4(0x409)](),this[_0x492fe4(0x41d)]['createInstance'](ue,this[_0x492fe4(0x2d2)],this['type'],this[_0x492fe4(0x15d)],[],this[_0x492fe4(0x16a)],_0xd8101f);}[_0x2f175c(0x344)](_0x37f5d6,_0x8224c9){var _0x16df0d=_0x2f175c,_0x111f9f;_0x37f5d6===((_0x111f9f=this[_0x16df0d(0x15d)])==null?void 0x0:_0x111f9f[_0x16df0d(0x2ba)])&&(this['resend'](),this[_0x16df0d(0x439)]=_0x8224c9===0x0?0x3e8:_0x8224c9*0x2);}[_0x2f175c(0x409)](){var _0x1a1022=_0x2f175c,_0x5d8058;(_0x5d8058=this[_0x1a1022(0x386)])==null||_0x5d8058[_0x1a1022(0x34c)](),this[_0x1a1022(0x439)]=0x0;}};le=Te([P(0x4,_0xbf826d(_0x55133f)),P(0x5,_0xbf826d(_0x2dae45)),P(0x6,_0x894975),P(0x7,_0x412d07),P(0x8,_0x17b586),P(0x9,_0x46d342),P(0xa,_0xded328(J))],le);let oe=class extends Ce{constructor(_0x3953b8,_0x48707c,_0x2870ec,_0x578875,_0x327b51,_0x380f4e,_0x475c8d,_0x3f25ab,_0xcd306e,_0x27d6a6,_0x5e0f5a,_0x4f5a3f,_0x10e81f){var _0xef065c=_0x2f175c;super(_0x3953b8,_0x48707c,_0x2870ec,_0x578875,_0x327b51,_0xcd306e,_0x4f5a3f,_0x3f25ab,_0x10e81f),N(this,_0xef065c(0x319),_0xef065c(0x22c)),N(this,_0xef065c(0x439),0x0),N(this,'_resendTimer'),N(this,_0xef065c(0x386)),(this[_0xef065c(0x41d)]=_0x475c8d,this[_0xef065c(0x420)]=_0x27d6a6,this['_transformService']=_0x5e0f5a,this[_0xef065c(0x35a)]=_0x10e81f,_0x380f4e&&(this['_resendTimer']=_0x380f4e,this[_0xef065c(0x386)]=this[_0xef065c(0x3f1)][_0xef065c(0x20a)](({reqId:_0x4dc00c,timeout:_0x5006d2})=>{var _0x31f3d1=_0xef065c;this[_0x31f3d1(0x344)](_0x4dc00c,_0x5006d2);})));}[_0x2f175c(0x169)](_0x53cabb){var _0x5bb512=_0x2f175c;return this['_pendingMutations'][_0x5bb512(0x2d3)](_0x53cabb),this;}[_0x2f175c(0x277)](_0x23a701){var _0x4b196c=_0x2f175c;if(this['_checkMissing'](_0x23a701))return this[_0x4b196c(0x409)](),this[_0x4b196c(0x41d)][_0x4b196c(0x310)](ee,this[_0x4b196c(0x2d2)],this[_0x4b196c(0x3e1)],this[_0x4b196c(0x15d)],this[_0x4b196c(0x288)],null,[_0x23a701],this['_handler']);try{const _0x17ed5d=this[_0x4b196c(0x2dc)][_0x4b196c(0x2f1)]([_0x23a701],[this[_0x4b196c(0x15d)]],!0x1);if(_0x425140(_0x17ed5d)){const {c1Prime:_0x59eb2b,c2Prime:_0x49d877}=_0x17ed5d,_0x5d8a5a=this[_0x4b196c(0x2dc)]['transformMutationsWithChangeset'](_0x59eb2b[0x0],this['_pendingMutations']);if(_0x406094(_0x5d8a5a)){const {c1Prime:_0x30f2f8,m2Prime:_0x51f4d7}=_0x5d8a5a;return this[_0x4b196c(0x2d0)](_0x30f2f8),_0x49d877[0x0][_0x4b196c(0x274)]=this[_0x4b196c(0x35b)](),this[_0x4b196c(0x409)](),this[_0x4b196c(0x41d)][_0x4b196c(0x310)](oe,this[_0x4b196c(0x2d2)],this[_0x4b196c(0x3e1)],_0x49d877[0x0],_0x51f4d7,this[_0x4b196c(0x16a)],void 0x0);}throw _0x5d8a5a[_0x4b196c(0x1f1)];}throw _0x17ed5d['error'];}catch(_0xa82b48){return this[_0x4b196c(0x420)][_0x4b196c(0x1f1)](_0xa82b48),this[_0x4b196c(0x225)](!0x1);}}[_0x2f175c(0x2eb)](_0x111908){var _0x222a7d=_0x2f175c;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x111908))return this[_0x222a7d(0x41d)][_0x222a7d(0x310)](ee,this[_0x222a7d(0x2d2)],this[_0x222a7d(0x3e1)],null,this[_0x222a7d(0x288)],this['_awaitingChangeset'],[],this['_handler']);this[_0x222a7d(0x15e)]();const _0xcecb1f=this['_injector'][_0x222a7d(0x310)](ae,this['unitID'],this[_0x222a7d(0x3e1)],this[_0x222a7d(0x288)],this[_0x222a7d(0x16a)]);return _0xcecb1f['_schedule'](),_0xcecb1f[_0x222a7d(0x3bf)](),_0xcecb1f;}[_0x2f175c(0x2b9)](_0x3f396a){var _0x286783=_0x2f175c;return this[_0x286783(0x225)](!!(_0x3f396a!=null&&_0x3f396a['isPermissionRej']));}['onRemoteRetry'](_0x10ac1a){var _0xf0aa0b=_0x2f175c;return this[_0xf0aa0b(0x439)]>yi?this[_0xf0aa0b(0x245)]():(this[_0xf0aa0b(0x3f1)]=Ri(this[_0xf0aa0b(0x439)],{'timeout':this[_0xf0aa0b(0x439)],'reqId':_0x10ac1a[_0xf0aa0b(0x2ba)]}),this[_0xf0aa0b(0x386)]=this[_0xf0aa0b(0x3f1)][_0xf0aa0b(0x20a)](({reqId:_0x1e0dc0,timeout:_0x382e82})=>{var _0x11c189=_0xf0aa0b;this[_0x11c189(0x344)](_0x1e0dc0,_0x382e82);}),this);}['toggleOffline'](){var _0x25beb2=_0x2f175c;return this[_0x25beb2(0x409)](),this[_0x25beb2(0x41d)][_0x25beb2(0x310)](de,this['unitID'],this[_0x25beb2(0x3e1)],this[_0x25beb2(0x15d)],this[_0x25beb2(0x288)],this['_handler']);}['toggleOnline'](){return this;}[_0x2f175c(0x1fb)](){var _0x3e106e=_0x2f175c;this[_0x3e106e(0x16a)][_0x3e106e(0x252)](this['_awaitingChangeset']);}['_onConflict'](_0x3f15b2){var _0x3eaa5b=_0x2f175c;return this[_0x3eaa5b(0x409)](),this[_0x3eaa5b(0x41d)][_0x3eaa5b(0x310)](ue,this[_0x3eaa5b(0x2d2)],this[_0x3eaa5b(0x3e1)],null,this['_pendingMutations'],this[_0x3eaa5b(0x16a)],_0x3f15b2);}[_0x2f175c(0x344)](_0x4c2620,_0x1b5724){var _0x2fe0d1=_0x2f175c,_0x3198c9;_0x4c2620===((_0x3198c9=this[_0x2fe0d1(0x15d)])==null?void 0x0:_0x3198c9[_0x2fe0d1(0x2ba)])&&(this[_0x2fe0d1(0x1fb)](),this[_0x2fe0d1(0x439)]=_0x1b5724===0x0?0x3e8:_0x1b5724*0x2);}[_0x2f175c(0x409)](){var _0x306c2e=_0x2f175c,_0x12cf85;(_0x12cf85=this['_sender'])==null||_0x12cf85[_0x306c2e(0x34c)](),this[_0x306c2e(0x439)]=0x0;}};oe=Te([P(0x6,_0xbf826d(_0x55133f)),P(0x7,_0xbf826d(_0x2dae45)),P(0x8,_0x894975),P(0x9,_0x412d07),P(0xa,_0x17b586),P(0xb,_0x46d342),P(0xc,_0xded328(J))],oe);let ue=class extends Ce{constructor(_0x3bf315,_0x69de17,_0x4133c0,_0xf28838,_0x50f86c,_0x7711ab=!0x1,_0x18de02,_0x384710,_0x16da9d,_0xc3891b,_0x88adf2,_0x3f3ea9,_0x511d23){var _0x59ca7a=_0x2f175c;super(_0x3bf315,_0x69de17,_0x4133c0,_0xf28838,_0x50f86c,_0x384710,_0x16da9d,_0xc3891b,_0x511d23),N(this,_0x59ca7a(0x319),_0x59ca7a(0x23f)),(this['_isPermissionRej']=_0x7711ab,this[_0x59ca7a(0x308)]=_0x18de02,this[_0x59ca7a(0x30d)]=_0x88adf2,this[_0x59ca7a(0x2ac)]=_0x3f3ea9,this[_0x59ca7a(0x35a)]=_0x511d23,this['_showConflictNotification'](),this[_0x59ca7a(0x34e)](),this[_0x59ca7a(0x25f)]());}[_0x2f175c(0x169)](){return this;}[_0x2f175c(0x277)](){return this;}['onRemoteAck'](){return this;}[_0x2f175c(0x2b9)](){return this;}[_0x2f175c(0x209)](){return this;}[_0x2f175c(0x245)](){return this;}[_0x2f175c(0x433)](){return this;}[_0x2f175c(0x1fb)](){var _0x387603=_0x2f175c;throw new Error(_0x387603(0x2ad));}['_clearLocalCache'](){var _0x1f5b8a=_0x2f175c,_0x10b5cc;(_0x10b5cc=this[_0x1f5b8a(0x32b)])==null||_0x10b5cc[_0x1f5b8a(0x381)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){var _0x505df5=_0x2f175c;this['_isPermissionRej']?this[_0x505df5(0x2ac)][_0x505df5(0x2e7)]({'id':se['PERMISSION_DENIED']}):this[_0x505df5(0x2ac)][_0x505df5(0x2e7)]({'id':se[_0x505df5(0x33d)]});}[_0x2f175c(0x25f)](){var _0x4999b9=_0x2f175c;this[_0x4999b9(0x308)][_0x4999b9(0x304)](new _0x262abd(this[_0x4999b9(0x2d2)])['id'],!0x1);}};ue=Te([P(0x6,_0xbf826d(_0x566665)),P(0x7,_0x894975),P(0x8,_0x46d342),P(0x9,_0xbf826d(_0x2dae45)),P(0xa,_0xbf826d(_0x5394b0)),P(0xb,_0xbf826d(pe)),P(0xc,_0xded328(J))],ue);let de=class extends Ce{constructor(_0x10f55e,_0x558de5,_0x5535d8,_0x14605d,_0x4df5b3,_0x793848,_0x3783d8,_0x3542c2,_0xeb9fc2,_0x423a27){var _0x4e9a8a=_0x2f175c;super(_0x10f55e,_0x558de5,_0x5535d8,_0x14605d,_0x4df5b3,_0x3542c2,_0xeb9fc2,_0x3783d8,_0x423a27),N(this,'status',_0x4e9a8a(0x202)),this['_injector']=_0x793848;}[_0x2f175c(0x169)](_0x3bd0fc){var _0x15377e=_0x2f175c;return this[_0x15377e(0x288)]['push'](_0x3bd0fc),this[_0x15377e(0x3bf)](),this;}[_0x2f175c(0x277)](_0x3ec975){var _0x1476b9=_0x2f175c;throw new Error(_0x1476b9(0x222));}[_0x2f175c(0x2eb)](){var _0x459d07=_0x2f175c;throw new Error(_0x459d07(0x42a));}[_0x2f175c(0x2b9)](){var _0x3caf4d=_0x2f175c;throw new Error(_0x3caf4d(0x407));}[_0x2f175c(0x209)](){return this;}[_0x2f175c(0x245)](){return this;}['toggleOnline'](){var _0x43bf7b=_0x2f175c;const {_injector:_0x2e219d,_pendingMutations:_0x33c610,_awaitingChangeset:_0x3c6164,unitID:_0x73b313,_handler:_0x2f0c14,type:_0x2a0685}=this,_0x3ef3a4=Oi(_0x2e219d,_0x73b313,_0x2a0685,_0x3c6164,_0x33c610,_0x2f0c14);return _0x3ef3a4 instanceof ae?_0x3ef3a4[_0x43bf7b(0x300)]():(_0x3ef3a4 instanceof oe||_0x3ef3a4 instanceof le)&&_0x3ef3a4[_0x43bf7b(0x1fb)](),_0x3ef3a4;}['resend'](){var _0x1f23e1=_0x2f175c;throw new Error(_0x1f23e1(0x273));}};de=Te([P(0x5,_0xbf826d(_0x55133f)),P(0x6,_0xbf826d(_0x2dae45)),P(0x7,_0x894975),P(0x8,_0x46d342),P(0x9,_0xded328(J))],de);let ee=class extends Ce{constructor(_0x47df19,_0xd9a530,_0x4eb8e0,_0x2a5519,_0x24770f,_0x2b05a0,_0x4ff3e9,_0x3e92e3,_0x2123fe,_0x587355,_0x5a7912,_0x51d853,_0x2fffcb,_0x3f4dff){var _0x208846=_0x2f175c;super(_0x47df19,_0xd9a530,_0x4eb8e0,_0x2a5519,_0x4ff3e9,_0x5a7912,_0x51d853,_0x2123fe,_0x3f4dff),N(this,_0x208846(0x319),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x24770f,this[_0x208846(0x30c)]=_0x2b05a0,this[_0x208846(0x41d)]=_0x3e92e3,this[_0x208846(0x420)]=_0x587355,this[_0x208846(0x2dc)]=_0x2fffcb,this[_0x208846(0x35a)]=_0x3f4dff);}['onMissedChangesetFetched'](_0x25ec21){var _0x20e0cc=_0x2f175c;try{const _0x44581d=[..._0x25ec21,...this['_queuedRemoteChangesets']],_0x447ddf=[this[_0x20e0cc(0x15d)]||this[_0x20e0cc(0x38b)]][_0x20e0cc(0x3ca)](_0x3736c9=>!!_0x3736c9);let _0x448a8c,_0x8628bf;if(_0x447ddf[_0x20e0cc(0x270)]){const _0x5acb30=this['_transformService']['transformChangesets'](_0x44581d,_0x447ddf,!0x1);if(!_0x425140(_0x5acb30))throw _0x5acb30[_0x20e0cc(0x1f1)];_0x448a8c=_0x5acb30[_0x20e0cc(0x1ff)],_0x8628bf=_0x5acb30[_0x20e0cc(0x15f)];}else _0x448a8c=_0x44581d,_0x8628bf=[];let _0x1681dc=this[_0x20e0cc(0x288)];_0x448a8c[_0x20e0cc(0x1e7)](_0x184e27=>{var _0x15cf22=_0x20e0cc;let _0x37a54e;if(_0x1681dc[_0x15cf22(0x270)]){const _0xf0ed98=this[_0x15cf22(0x2dc)][_0x15cf22(0x43e)](_0x184e27,_0x1681dc);if(!_0x406094(_0xf0ed98))throw _0xf0ed98[_0x15cf22(0x1f1)];_0x37a54e=_0xf0ed98['c1Prime'],_0x1681dc=_0xf0ed98['m2Prime'];}else _0x37a54e=_0x184e27;this[_0x15cf22(0x2d0)](_0x37a54e);}),this[_0x20e0cc(0x38b)]&&this[_0x20e0cc(0x15e)](),this['_awaitingChangeset']&&_0x8628bf['length']&&(_0x8628bf[0x0]['baseRev']=this[_0x20e0cc(0x35b)]());let _0x195915;if(this['_awaitingChangeset']&&_0x1681dc[_0x20e0cc(0x270)]!==0x0)_0x195915=this['_injector'][_0x20e0cc(0x310)](oe,this[_0x20e0cc(0x2d2)],this[_0x20e0cc(0x3e1)],_0x8628bf[0x0],_0x1681dc,this[_0x20e0cc(0x16a)],void 0x0);else{if(this['_awaitingChangeset']&&_0x1681dc[_0x20e0cc(0x270)]===0x0)_0x8628bf[0x0][_0x20e0cc(0x274)]=this[_0x20e0cc(0x35b)](),_0x195915=this[_0x20e0cc(0x41d)][_0x20e0cc(0x310)](le,this[_0x20e0cc(0x2d2)],this[_0x20e0cc(0x3e1)],_0x8628bf[0x0],this[_0x20e0cc(0x16a)]);else{if(_0x1681dc[_0x20e0cc(0x270)]!==0x0){const _0x35a8cf=this[_0x20e0cc(0x41d)][_0x20e0cc(0x310)](ae,this[_0x20e0cc(0x2d2)],this['type'],_0x1681dc,this['_handler']);_0x35a8cf[_0x20e0cc(0x300)](),_0x195915=_0x35a8cf;}else _0x195915=this['_injector'][_0x20e0cc(0x310)](Ne,this['unitID'],this[_0x20e0cc(0x3e1)],this[_0x20e0cc(0x16a)]);}}return _0x195915[_0x20e0cc(0x3bf)](),_0x195915;}catch(_0x496c78){return this[_0x20e0cc(0x420)][_0x20e0cc(0x1f1)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x496c78),this[_0x20e0cc(0x41d)][_0x20e0cc(0x310)](ue,this[_0x20e0cc(0x2d2)],this[_0x20e0cc(0x3e1)],this[_0x20e0cc(0x15d)],this['_pendingMutations'],this[_0x20e0cc(0x16a)],!0x1);}}[_0x2f175c(0x1fb)](){var _0x51fb39=_0x2f175c;throw new Error(_0x51fb39(0x3ec));}[_0x2f175c(0x169)](_0x553232){var _0x5d35ee=_0x2f175c;return this[_0x5d35ee(0x288)][_0x5d35ee(0x2d3)](_0x553232),this;}['onRemoteChangeset'](_0x1a3556){var _0x81e372=_0x2f175c;return this[_0x81e372(0x30c)][_0x81e372(0x2d3)](_0x1a3556),this;}[_0x2f175c(0x2eb)](_0x17960e){var _0x2c995c=_0x2f175c;if(this[_0x2c995c(0x15d)])return this[_0x2c995c(0x38b)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x2c995c(0x27d));}[_0x2f175c(0x2b9)](_0x3f799b){var _0x35de3c=_0x2f175c;return this['_onConflict'](!!(_0x3f799b!=null&&_0x3f799b[_0x35de3c(0x191)]));}[_0x2f175c(0x209)](){return this;}['toggleOffline'](){var _0x4cf2dc=_0x2f175c;return this[_0x4cf2dc(0x41d)]['createInstance'](de,this[_0x4cf2dc(0x2d2)],this[_0x4cf2dc(0x3e1)],this['_awaitingChangeset'],this[_0x4cf2dc(0x288)],this[_0x4cf2dc(0x16a)]);}[_0x2f175c(0x433)](){return this;}[_0x2f175c(0x225)](_0x4153c4){var _0x3ef438=_0x2f175c;return this[_0x3ef438(0x41d)]['createInstance'](ue,this['unitID'],this[_0x3ef438(0x3e1)],this['_awaitingChangeset'],this[_0x3ef438(0x288)],this[_0x3ef438(0x16a)],_0x4153c4);}};ee=Te([P(0x7,_0xbf826d(_0x55133f)),P(0x8,_0xbf826d(_0x2dae45)),P(0x9,_0x412d07),P(0xa,_0x894975),P(0xb,_0x46d342),P(0xc,_0x17b586),P(0xd,_0xded328(J))],ee);function Oi(_0x342a18,_0x534e56,_0x174201,_0x31eb48,_0x17154d,_0x5f1c23){var _0x5bff49=_0x2f175c;return _0x31eb48&&_0x17154d[_0x5bff49(0x270)]?_0x342a18[_0x5bff49(0x310)](oe,_0x534e56,_0x174201,_0x31eb48,_0x17154d,_0x5f1c23,void 0x0):_0x31eb48?_0x342a18[_0x5bff49(0x310)](le,_0x534e56,_0x174201,_0x31eb48,_0x5f1c23):_0x17154d[_0x5bff49(0x270)]?_0x342a18[_0x5bff49(0x310)](ae,_0x534e56,_0x174201,_0x17154d,_0x5f1c23):_0x342a18[_0x5bff49(0x310)](Ne,_0x534e56,_0x174201,_0x5f1c23);}var ar=Object[_0x2f175c(0x278)],xt=(_0xca8574,_0x16b780,_0x121721,_0x1995da)=>{for(var _0x1afda5=_0x1995da>0x1?void 0x0:_0x1995da?ar(_0x16b780,_0x121721):_0x16b780,_0x45c44d=_0xca8574['length']-0x1,_0x291cf6;_0x45c44d>=0x0;_0x45c44d--)(_0x291cf6=_0xca8574[_0x45c44d])&&(_0x1afda5=_0x291cf6(_0x1afda5)||_0x1afda5);return _0x1afda5;},H=(_0x11c546,_0x93617)=>(_0x394eb9,_0x128598)=>_0x93617(_0x394eb9,_0x128598,_0x11c546);let nt=class extends _0x263cf9{constructor(_0x1b2304,_0x507728,_0x5a1964,_0x279201,_0x310827,_0x1af656,_0x3e806b,_0x181473,_0x206423,_0x3ad884,_0x1915fe,_0x4c4ce8,_0x3997e9){var _0x2dc105=_0x2f175c;super(),N(this,_0x2dc105(0x33b),new _0x19faa4(null)),N(this,_0x2dc105(0x3d3),this[_0x2dc105(0x33b)][_0x2dc105(0x2cc)]()),N(this,_0x2dc105(0x1c0)),N(this,'_collaborationPaused',!0x1),N(this,_0x2dc105(0x1da),''),N(this,_0x2dc105(0x251),0x0),N(this,_0x2dc105(0x31f),this[_0x2dc105(0x3d3)][_0x2dc105(0x2b6)](_0x6438e9(_0x1b77a0=>_0x1b77a0?_0x1b77a0[_0x2dc105(0x319)]:bi[_0x2dc105(0x305)]),_0x17fd12(0x1))),N(this,_0x2dc105(0x1cb),!0x1),N(this,_0x2dc105(0x2ff),[]),(this[_0x2dc105(0x2d2)]=_0x1b2304,this[_0x2dc105(0x43c)]=_0x507728,this['_type']=_0x5a1964,this[_0x2dc105(0x41d)]=_0x279201,this[_0x2dc105(0x29d)]=_0x310827,this[_0x2dc105(0x30d)]=_0x1af656,this[_0x2dc105(0x341)]=_0x3e806b,this[_0x2dc105(0x1e1)]=_0x181473,this['_logService']=_0x206423,this[_0x2dc105(0x187)]=_0x3ad884,this[_0x2dc105(0x308)]=_0x1915fe,this[_0x2dc105(0x17f)]=_0x4c4ce8,this[_0x2dc105(0x32b)]=_0x3997e9);}get[_0x2f175c(0x453)](){var _0x4c65ad=_0x2f175c;return this[_0x4c65ad(0x1c0)];}async['init'](){var _0x34e5d1=_0x2f175c;if(this[_0x34e5d1(0x453)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x34e5d1(0x2b4)]();}[_0x2f175c(0x19e)](){var _0x38ec49=_0x2f175c;return this[_0x38ec49(0x2a6)]=!0x0,_0x20ceec(()=>{var _0x44c525=_0x38ec49;this[_0x44c525(0x2a6)]=!0x1,this[_0x44c525(0x221)]();});}['onLocalMutation'](_0x11caca){var _0xa93d63=_0x2f175c;this[_0xa93d63(0x19b)](_0x11caca);}[_0x2f175c(0x352)](_0x2cf271){var _0x5d4a17=_0x2f175c;this['_state']=_0x2cf271,this['_state$'][_0x5d4a17(0x438)](_0x2cf271);}async[_0x2f175c(0x2b4)](){var _0x56decd=_0x2f175c,_0x311435;this['_updateState'](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x311435=this[_0x56decd(0x17f)])==null||_0x311435[_0x56decd(0x363)](this['unitID']),this[_0x56decd(0x39a)](this[_0x56decd(0x17f)][_0x56decd(0x446)](this['unitID'])[_0x56decd(0x20a)](_0x15280f=>{var _0x4d0f87=_0x56decd;this[_0x4d0f87(0x420)][_0x4d0f87(0x30b)]('[CollaborationEntity]',_0x4d0f87(0x2c6),_0x15280f),_0x15280f===Ci['OTHER_CLIENTS_EDITING']?(this['_eventService']['emitEvent']({'id':se['OTHER_CLIENT_EDITING']}),this[_0x4d0f87(0x308)][_0x4d0f87(0x304)](new _0x262abd(this['unitID'])['id'],!0x1),this[_0x4d0f87(0x308)][_0x4d0f87(0x1a0)](!0x1)):(this[_0x4d0f87(0x308)]['updatePermissionPoint'](new _0x262abd(this['unitID'])['id'],!0x0),this[_0x4d0f87(0x308)][_0x4d0f87(0x1a0)](!0x0));})));let _0xdd4447=!0x1;return this[_0x56decd(0x39a)](this[_0x56decd(0x43c)][_0x56decd(0x2d6)][_0x56decd(0x20a)](_0xa99c93=>{var _0x409ed1=_0x56decd;_0xa99c93===Ee[_0x409ed1(0x291)]?this[_0x409ed1(0x284)](_0xdd4447):_0xa99c93===Ee[_0x409ed1(0x305)]&&(_0xdd4447=!0x0,this[_0x409ed1(0x283)]());})),this[_0x56decd(0x39a)](this['session']['event$'][_0x56decd(0x20a)](_0x5bc994=>{var _0x263940=_0x56decd;try{switch(_0x5bc994[_0x263940(0x2f8)]){case _0x260842[_0x263940(0x2ef)]:{this[_0x263940(0x186)](_0x5b054f(_0x5bc994[_0x263940(0x3b2)]));break;}case _0x260842[_0x263940(0x2c2)]:{this[_0x263940(0x383)](_0x5bc994[_0x263940(0x3b2)]);break;}case _0x260842[_0x263940(0x414)]:{this[_0x263940(0x327)]();break;}case _0x260842[_0x263940(0x229)]:{this[_0x263940(0x2a8)](_0x5bc994[_0x263940(0x3b2)]);break;}case _0x260842[_0x263940(0x23a)]:{this['_onFetchMissResult'](_0x5bc994[_0x263940(0x3b2)]['changesets'][_0x263940(0x24f)](_0x37f008=>_0x5b054f(_0x37f008)));break;}case _0x260842[_0x263940(0x35f)]:{this[_0x263940(0x327)]({'isPermissionRej':!0x0});break;}case _0x260842[_0x263940(0x3f4)]:break;}}catch(_0x21c3bc){throw console['error'](_0x263940(0x2c0),_0x21c3bc),_0x21c3bc;}})),this['_state'];}[_0x2f175c(0x174)](){this['_transitionLocked']=!0x1;}[_0x2f175c(0x32e)](){var _0xdc9dbb=_0x2f175c;if(this[_0xdc9dbb(0x1cb)])throw new Error(_0xdc9dbb(0x3ea));this[_0xdc9dbb(0x1cb)]=!0x0;}['_onLocalMutation'](_0x67061c){var _0x11638a=_0x2f175c;this[_0x11638a(0x32e)](),this[_0x11638a(0x352)](this['_state'][_0x11638a(0x169)](_0x67061c)),this[_0x11638a(0x174)]();}[_0x2f175c(0x186)](_0x347a20){var _0x46966e=_0x2f175c;if(!(_0x347a20[_0x46966e(0x28f)]<=this[_0x46966e(0x341)]['getCurrentRevOfUnit'](this[_0x46966e(0x2d2)]))){if(this[_0x46966e(0x2a6)]){this[_0x46966e(0x2ff)][_0x46966e(0x2d3)](_0x347a20);return;}this[_0x46966e(0x289)](_0x347a20);}}[_0x2f175c(0x221)](){var _0x4edba7=_0x2f175c;this[_0x4edba7(0x2ff)][_0x4edba7(0x1e7)](_0x19f63e=>this['_applyRemoteChangeset'](_0x19f63e)),this[_0x4edba7(0x2ff)]=[];}[_0x2f175c(0x289)](_0x5c19ad){var _0x35ba90=_0x2f175c;const _0x3c553c=this[_0x35ba90(0x29d)][_0x35ba90(0x368)][_0x35ba90(0x3d0)](this[_0x35ba90(0x29d)][_0x35ba90(0x368)][_0x35ba90(0x31c)]()['COMPRESS_MUTATION_APPLY'])(_0x5c19ad[_0x35ba90(0x1df)],null)||_0x5c19ad[_0x35ba90(0x1df)],_0x1fb487={..._0x5c19ad,'mutations':_0x3c553c};this[_0x35ba90(0x32e)](),this[_0x35ba90(0x352)](this[_0x35ba90(0x1c0)][_0x35ba90(0x277)](_0x1fb487)),this[_0x35ba90(0x174)]();}[_0x2f175c(0x383)](_0x22db1e){var _0x2d0daa=_0x2f175c;this[_0x2d0daa(0x32e)](),this[_0x2d0daa(0x352)](this['_state'][_0x2d0daa(0x2eb)](_0x22db1e)),this[_0x2d0daa(0x174)]();}[_0x2f175c(0x327)](_0xdf394f){var _0x2ee953=_0x2f175c;this['_lockTransition'](),this[_0x2ee953(0x352)](this[_0x2ee953(0x1c0)][_0x2ee953(0x2b9)](_0xdf394f)),this[_0x2ee953(0x174)]();}[_0x2f175c(0x2a8)](_0x212fe8){var _0x462c0b=_0x2f175c;this[_0x462c0b(0x32e)](),this[_0x462c0b(0x352)](this[_0x462c0b(0x1c0)][_0x462c0b(0x209)](_0x212fe8)),this[_0x462c0b(0x174)]();}[_0x2f175c(0x320)](_0x910537){var _0x106935=_0x2f175c;if(!(this[_0x106935(0x1c0)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x6f9238=_0x910537[_0x106935(0x24f)](_0x44c52d=>{var _0x56582f=_0x106935;const _0x30e057=this[_0x56582f(0x29d)]['interceptor'][_0x56582f(0x3d0)](this['_compressMutationService'][_0x56582f(0x368)][_0x56582f(0x31c)]()[_0x56582f(0x196)])(_0x44c52d['mutations'],null)||_0x44c52d[_0x56582f(0x1df)];return{..._0x44c52d,'mutations':_0x30e057};});this[_0x106935(0x32e)](),this[_0x106935(0x352)](this[_0x106935(0x1c0)][_0x106935(0x1d1)](_0x6f9238)),this['_unlockTransition']();}[_0x2f175c(0x283)](){var _0x4b24e8=_0x2f175c;this[_0x4b24e8(0x32e)](),this[_0x4b24e8(0x352)](this[_0x4b24e8(0x1c0)][_0x4b24e8(0x245)]()),this['_unlockTransition']();}['_toggleOnline'](_0x510ea9=!0x1){var _0x28c316=_0x2f175c;this[_0x28c316(0x32e)](),this[_0x28c316(0x352)](this[_0x28c316(0x1c0)][_0x28c316(0x433)]()),this[_0x28c316(0x174)]();const _0x502d3c=this[_0x28c316(0x1c0)];_0x510ea9&&_0x502d3c instanceof Ne&&(this[_0x28c316(0x32e)](),this[_0x28c316(0x352)](_0x502d3c['fetchMiss']()),this[_0x28c316(0x174)]());}async[_0x2f175c(0x3a2)](){return new Promise(_0x2c0e9e=>{var _0x34f885=_0x3552;this['session'][_0x34f885(0x2d6)]['pipe'](_0x1482c7(0x1))[_0x34f885(0x20a)](async _0x4eef80=>{var _0x4fb6d5=_0x34f885;_0x2c0e9e(await this[_0x4fb6d5(0x20e)](_0x4eef80===Ee[_0x4fb6d5(0x291)]));});});}[_0x2f175c(0x435)](){var _0x2cbb6d=_0x2f175c;const _0x579874=this[_0x2cbb6d(0x2d2)];return{'onStateChange':(_0xe102e7,_0x4d7704)=>{var _0x500c50=_0x2cbb6d;if(_0xe102e7!==this[_0x500c50(0x1c0)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0xe102e7[_0x500c50(0x319)]+'\x0aAfter:\x20'+_0x4d7704[_0x500c50(0x319)]+'\x0aCurrent:\x20'+this[_0x500c50(0x1c0)][_0x500c50(0x319)]);this[_0x500c50(0x352)](_0x4d7704);},'onSendChangeset':_0x321cac=>{var _0x3a8caf=_0x2cbb6d;_0x321cac[_0x3a8caf(0x200)]||(_0x321cac[_0x3a8caf(0x200)]=this['_changesetSessionId'],_0x321cac[_0x3a8caf(0x2ba)]=++this[_0x3a8caf(0x251)]);const _0x59d587={'eventID':_0x260842[_0x3a8caf(0x1b7)],'data':{'unitID':_0x321cac[_0x3a8caf(0x2d2)],'unitType':this[_0x3a8caf(0x39f)],'changeset':_0x321cac,'memberID':this[_0x3a8caf(0x43c)]['getMemberID']()}};this[_0x3a8caf(0x43c)][_0x3a8caf(0x1d6)](_0x59d587,this['unitID']);},'onMissingChangesets':({from:_0x7d5ec2,to:_0x436f98})=>{var _0x380c32=_0x2cbb6d;this['_logService'][_0x380c32(0x30b)]('[CollaborationEntity]',_0x380c32(0x444)+_0x7d5ec2+_0x380c32(0x21a)+_0x436f98);const _0x45038a={'eventID':_0x260842[_0x380c32(0x353)],'data':{'unitID':_0x579874,'unitType':this['_type'],'from':_0x7d5ec2,'to':_0x436f98}};this['session'][_0x380c32(0x1d6)](_0x45038a,this[_0x380c32(0x2d2)]);}};}async[_0x2f175c(0x20e)](_0x431876){var _0x5312d0=_0x2f175c,_0x16b22d,_0x25023f,_0x45a2dc;const _0xfc6c00=await((_0x16b22d=this[_0x5312d0(0x32b)])==null?void 0x0:_0x16b22d[_0x5312d0(0x3a4)](this[_0x5312d0(0x2d2)])),_0x534a5e=(_0x25023f=_0xfc6c00==null?void 0x0:_0xfc6c00[_0x5312d0(0x1df)])!=null?_0x25023f:[],_0x3600a9=(_0x45a2dc=_0xfc6c00==null?void 0x0:_0xfc6c00['awaitingChangeset'])!=null?_0x45a2dc:null,_0x30002e=!!(_0x3600a9!=null&&_0x3600a9['sid'])&&!!(_0x3600a9!=null&&_0x3600a9[_0x5312d0(0x2ba)]);this[_0x5312d0(0x1da)]=_0x30002e?_0x3600a9[_0x5312d0(0x200)]:Zn(),this[_0x5312d0(0x251)]=_0x30002e?_0x3600a9[_0x5312d0(0x2ba)]:0x0;const _0x1a6da3=this['unitID'];try{this[_0x5312d0(0x3cb)](_0x3600a9,_0x534a5e);}catch(_0x4c0875){this[_0x5312d0(0x420)][_0x5312d0(0x1f1)](_0x4c0875);}const _0x2c0488=this[_0x5312d0(0x435)]();if(_0x431876){const _0x4e7686=Oi(this[_0x5312d0(0x41d)],_0x1a6da3,this[_0x5312d0(0x39f)],_0x3600a9,_0x534a5e,_0x2c0488);return _0x4e7686 instanceof ae?_0x4e7686[_0x5312d0(0x300)]():(_0x4e7686 instanceof oe||_0x4e7686 instanceof le)&&_0x4e7686[_0x5312d0(0x1fb)](),_0x4e7686;}return this['_injector'][_0x5312d0(0x310)](de,_0x1a6da3,this[_0x5312d0(0x39f)],_0x3600a9,_0x534a5e,_0x2c0488);}[_0x2f175c(0x3cb)](_0x1cb0cc,_0x394db3){var _0x4fe48e=_0x2f175c,_0x433ba2,_0x52fb6a;const _0x19b1d5=this[_0x4fe48e(0x29d)]['interceptor'][_0x4fe48e(0x3d0)](this['_compressMutationService'][_0x4fe48e(0x368)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x433ba2=_0x19b1d5((_0x1cb0cc==null?void 0x0:_0x1cb0cc[_0x4fe48e(0x1df)])||[],null))==null||_0x433ba2[_0x4fe48e(0x1e7)](_0xef90bb=>this['_commandService'][_0x4fe48e(0x2ae)](_0xef90bb['id'],_0xef90bb[_0x4fe48e(0x3f7)])),(_0x52fb6a=_0x19b1d5(_0x394db3||[],null))==null||_0x52fb6a['forEach'](_0x5f8940=>this[_0x4fe48e(0x187)]['executeCommand'](_0x5f8940['id'],_0x5f8940[_0x4fe48e(0x3f7)]));}};nt=xt([H(0x3,_0xbf826d(_0x55133f)),H(0x4,_0xbf826d(_0x27a66b)),H(0x5,_0xbf826d(_0x5394b0)),H(0x6,_0xbf826d(_0x2dae45)),H(0x7,_0xbf826d(pe)),H(0x8,_0x412d07),H(0x9,_0x894975),H(0xa,_0x566665),H(0xb,_0xded328(ht)),H(0xc,_0xded328(J))],nt);let It=class extends nt{constructor(_0x5ebada,_0x5b934c,_0x5c036f,_0x2d3719,_0x53b716,_0x3fb800,_0x20081a,_0x22a6aa,_0x40a4f2,_0x2dc030,_0x2b0daf,_0x5b2c99,_0x56487a){var _0x3f8db8=_0x2f175c;super(_0x5ebada,_0x5c036f,_0x5b934c,_0x2d3719,_0x53b716,_0x3fb800,_0x20081a,_0x22a6aa,_0x40a4f2,_0x2dc030,_0x2b0daf,_0x5b2c99,_0x56487a),N(this,_0x3f8db8(0x1f6),null),(this[_0x3f8db8(0x2d2)]=_0x5ebada,this[_0x3f8db8(0x3e1)]=_0x5b934c);}[_0x2f175c(0x26f)](_0x4e9493){this['_handlerCallback']=_0x4e9493;}['dispose'](){var _0x4d0a0c=_0x2f175c;this[_0x4d0a0c(0x1f6)]=null,super[_0x4d0a0c(0x431)]();}[_0x2f175c(0x435)](){var _0x35b998=_0x2f175c;const _0x5e1e02=super[_0x35b998(0x435)]();return _0x5e1e02[_0x35b998(0x39b)]=_0x454255=>{var _0x27ad1b,_0xd56ffe;return(_0xd56ffe=(_0x27ad1b=this['_handlerCallback'])==null?void 0x0:_0x27ad1b['onTransformIME'])==null?void 0x0:_0xd56ffe['call'](_0x27ad1b,_0x454255);},_0x5e1e02['onTransformState']=_0x3a7695=>{var _0x59fa62=_0x35b998,_0x12e23e,_0x4264e0;return(_0x4264e0=(_0x12e23e=this['_handlerCallback'])==null?void 0x0:_0x12e23e[_0x59fa62(0x2b0)])==null?void 0x0:_0x4264e0['call'](_0x12e23e,_0x3a7695);},_0x5e1e02['onTransformSelections']=_0x3e7efd=>{var _0x4eb567=_0x35b998,_0x5cfd61,_0xfa39a;return(_0xfa39a=(_0x5cfd61=this[_0x4eb567(0x1f6)])==null?void 0x0:_0x5cfd61[_0x4eb567(0x41e)])==null?void 0x0:_0xfa39a['call'](_0x5cfd61,_0x3e7efd);},_0x5e1e02[_0x35b998(0x28b)]=_0x289555=>{var _0x4f41b0=_0x35b998,_0x312702,_0x41d2f2;return(_0x41d2f2=(_0x312702=this[_0x4f41b0(0x1f6)])==null?void 0x0:_0x312702[_0x4f41b0(0x28b)])==null?void 0x0:_0x41d2f2[_0x4f41b0(0x26a)](_0x312702,_0x289555);},_0x5e1e02['onTransformRemoteChangesetByIMECache']=_0x3f7229=>{var _0x16455c=_0x35b998,_0x286e0d,_0x28a41e,_0x5265e8;if(!((_0x286e0d=this[_0x16455c(0x1f6)])!=null&&_0x286e0d[_0x16455c(0x2d8)]))throw new Error(_0x16455c(0x241));return(_0x5265e8=(_0x28a41e=this[_0x16455c(0x1f6)])==null?void 0x0:_0x28a41e['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5265e8['call'](_0x28a41e,_0x3f7229);},_0x5e1e02[_0x35b998(0x2c8)]=_0x38d3d3=>{var _0x69b80f=_0x35b998,_0x16aebb,_0x43f0cc,_0x1e55b5;if(!((_0x16aebb=this[_0x69b80f(0x1f6)])!=null&&_0x16aebb[_0x69b80f(0x2c8)]))throw new Error(_0x69b80f(0x172));return(_0x1e55b5=(_0x43f0cc=this[_0x69b80f(0x1f6)])==null?void 0x0:_0x43f0cc[_0x69b80f(0x2c8)])==null?void 0x0:_0x1e55b5[_0x69b80f(0x26a)](_0x43f0cc,_0x38d3d3);},_0x5e1e02;}async[_0x2f175c(0x2b4)](){var _0x2a6fab=_0x2f175c;const _0x6e05ee=await super[_0x2a6fab(0x2b4)]();return this[_0x2a6fab(0x39a)](this['_commandService'][_0x2a6fab(0x36b)]((_0x23bd82,_0x4cee2e)=>{var _0x2c8c93=_0x2a6fab;if(_0x23bd82[_0x2c8c93(0x3e1)]!==_0x340f5c['MUTATION']||_0x4cee2e!=null&&_0x4cee2e['fromCollab']||_0x4cee2e!=null&&_0x4cee2e['onlyLocal']||_0x23bd82['id']===_0x20d290['id'])return;const _0x21ea11=_0x23bd82['params'];if((_0x21ea11==null?void 0x0:_0x21ea11[_0x2c8c93(0x358)])!==this[_0x2c8c93(0x2d2)])return;const _0x59d850=_0x23bd82,_0x4eb371=this['_compressMutationService'][_0x2c8c93(0x368)]['fetchThroughInterceptors'](this[_0x2c8c93(0x29d)][_0x2c8c93(0x368)]['getInterceptPoints']()[_0x2c8c93(0x3c2)])([_0x59d850],null)||[_0x59d850];this[_0x2c8c93(0x19b)](_0x4eb371[0x0]);})),_0x6e05ee;}};It=xt([H(0x3,_0xbf826d(_0x55133f)),H(0x4,_0xbf826d(_0x27a66b)),H(0x5,_0xbf826d(_0x5394b0)),H(0x6,_0xbf826d(_0x2dae45)),H(0x7,_0xbf826d(pe)),H(0x8,_0x412d07),H(0x9,_0x894975),H(0xa,_0x566665),H(0xb,_0xded328(ht)),H(0xc,_0xded328(J))],It);let Tt=class extends nt{constructor(_0x16aa07,_0x3f8e35,_0x2cc57d,_0x284ebd,_0x2800dd,_0x5c59f0,_0x585ecb,_0x4b01a0,_0x207701,_0x1ee03c,_0x1da7f2,_0xd19ecc,_0x3cb5b1,_0x523aa6){var _0x4f943b=_0x2f175c;super(_0x16aa07,_0x2cc57d,_0x3f8e35,_0x284ebd,_0x2800dd,_0x5c59f0,_0x585ecb,_0x207701,_0x1ee03c,_0x1da7f2,_0xd19ecc,_0x3cb5b1,_0x523aa6),this[_0x4f943b(0x2d2)]=_0x16aa07,this[_0x4f943b(0x3e1)]=_0x3f8e35,this[_0x4f943b(0x39d)]=_0x4b01a0;}[_0x2f175c(0x435)](){var _0x594a0e=_0x2f175c;const _0x21b975=super['_createHandler']();return _0x21b975[_0x594a0e(0x41e)]=_0x4cb45e=>this[_0x594a0e(0x39d)][_0x594a0e(0x41b)](_0x4cb45e),_0x21b975;}async['_init'](){var _0x5a33e6=_0x2f175c;const _0x19d9e9=await super[_0x5a33e6(0x2b4)]();return this[_0x5a33e6(0x39a)](this['_commandService'][_0x5a33e6(0x36b)]((_0x5006d5,_0x1a78e0)=>{var _0x5a14eb=_0x5a33e6;if(_0x5006d5[_0x5a14eb(0x3e1)]!==_0x340f5c[_0x5a14eb(0x3fb)]||_0x1a78e0!=null&&_0x1a78e0[_0x5a14eb(0x17a)]||_0x1a78e0!=null&&_0x1a78e0[_0x5a14eb(0x2e8)])return;const _0x10c693=_0x5006d5[_0x5a14eb(0x3f7)];if((_0x10c693==null?void 0x0:_0x10c693[_0x5a14eb(0x358)])!==this[_0x5a14eb(0x2d2)])return;const _0x25239d=_0x5006d5,_0x49ff3d=this[_0x5a14eb(0x29d)][_0x5a14eb(0x368)][_0x5a14eb(0x3d0)](this[_0x5a14eb(0x29d)][_0x5a14eb(0x368)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x25239d],null)||[_0x25239d];this[_0x5a14eb(0x19b)](_0x49ff3d[0x0]);})),_0x19d9e9;}};Tt=xt([H(0x3,_0xbf826d(_0x55133f)),H(0x4,_0xbf826d(_0x27a66b)),H(0x5,_0xbf826d(_0x5394b0)),H(0x6,_0xbf826d(_0x2dae45)),H(0x7,_0xbf826d(it)),H(0x8,_0xbf826d(pe)),H(0x9,_0x412d07),H(0xa,_0x894975),H(0xb,_0x566665),H(0xc,_0xded328(ht)),H(0xd,_0xded328(J))],Tt);var or=Object[_0x2f175c(0x278)],cr=(_0x18c1c9,_0x1f5f08,_0x28a9a2,_0x219931)=>{for(var _0x42c3d8=_0x219931>0x1?void 0x0:_0x219931?or(_0x1f5f08,_0x28a9a2):_0x1f5f08,_0x1a8ce1=_0x18c1c9['length']-0x1,_0x15f715;_0x1a8ce1>=0x0;_0x1a8ce1--)(_0x15f715=_0x18c1c9[_0x1a8ce1])&&(_0x42c3d8=_0x15f715(_0x42c3d8)||_0x42c3d8);return _0x42c3d8;},ft=(_0x48fbff,_0x3af8eb)=>(_0x4e6f01,_0xd5068d)=>_0x3af8eb(_0x4e6f01,_0xd5068d,_0x48fbff);let rt=class extends _0x263cf9{constructor(_0xd0f196,_0x3d8953,_0x268852){var _0x323f43=_0x2f175c;super(),N(this,'_entities',new Map()),N(this,_0x323f43(0x403),new _0x4bfaba()),N(this,_0x323f43(0x259),this[_0x323f43(0x403)][_0x323f43(0x2cc)]()),(this[_0x323f43(0x41d)]=_0xd0f196,this[_0x323f43(0x210)]=_0x3d8953,this[_0x323f43(0x3ad)]=_0x268852,this[_0x323f43(0x2b4)]());}[_0x2f175c(0x431)](){var _0x238e7d=_0x2f175c;super[_0x238e7d(0x431)](),this[_0x238e7d(0x3e4)][_0x238e7d(0x1e7)](_0x54918a=>_0x54918a['dispose']()),this[_0x238e7d(0x3e4)][_0x238e7d(0x253)]();}[_0x2f175c(0x406)](_0x2361b8){var _0x291c17=_0x2f175c,_0x1f577b;return(_0x1f577b=this[_0x291c17(0x3e4)][_0x291c17(0x246)](_0x2361b8))!=null?_0x1f577b:null;}['getCollabEntity$'](_0x1d896b){var _0x1826a2=_0x2f175c;const _0x13a2dd=this[_0x1826a2(0x406)](_0x1d896b);return _0x13a2dd?_0x5e4497(_0x13a2dd):this['_entityInit$'][_0x1826a2(0x2b6)](_0xddfa1e(_0x241722=>_0x241722[_0x1826a2(0x2d2)]===_0x1d896b));}[_0x2f175c(0x306)](_0x4b1761){var _0x412e35=_0x2f175c;return _0x4ca4a0(this[_0x412e35(0x212)](_0x4b1761)['pipe'](_0x3f7a35(()=>{})));}[_0x2f175c(0x2b4)](){var _0x1d9d72=_0x2f175c;this[_0x1d9d72(0x3ad)][_0x1d9d72(0x34a)](_0x3f08f1[_0x1d9d72(0x3e5)])['pipe'](_0x476050(this[_0x1d9d72(0x43f)]),_0x36df25(0x10))[_0x1d9d72(0x20a)](async _0x27c22e=>{var _0x41beeb=_0x1d9d72;const _0x2a15bb=_0x27c22e[_0x41beeb(0x1aa)](),_0x51c3fe=await this[_0x41beeb(0x2ca)](_0x2a15bb,Q[_0x41beeb(0x3e5)]);this[_0x41beeb(0x3e4)][_0x41beeb(0x2ce)](_0x2a15bb,_0x51c3fe);}),this[_0x1d9d72(0x3ad)][_0x1d9d72(0x34a)](_0x3f08f1[_0x1d9d72(0x161)])['pipe'](_0x476050(this[_0x1d9d72(0x43f)]),_0x36df25(0x10))['pipe'](_0xddfa1e(_0x2ed30e=>!_0x2ed30e['getUnitId']()['startsWith']('__')))[_0x1d9d72(0x20a)](async _0x25e44b=>{var _0x4b679b=_0x1d9d72;const _0x552146=_0x25e44b[_0x4b679b(0x1aa)](),_0x19e59d=await this[_0x4b679b(0x2ca)](_0x552146,Q['UNIVER_DOC']);this[_0x4b679b(0x3e4)][_0x4b679b(0x2ce)](_0x552146,_0x19e59d);}),_0x3e0945(this['_univerInstanceService'][_0x1d9d72(0x23d)](_0x3f08f1[_0x1d9d72(0x3e5)]),this[_0x1d9d72(0x3ad)][_0x1d9d72(0x23d)](_0x3f08f1[_0x1d9d72(0x161)]))['pipe'](_0x476050(this[_0x1d9d72(0x43f)]))['subscribe'](_0x3b7ae3=>{var _0x4b8a16=_0x1d9d72;const _0x154d22=_0x3b7ae3[_0x4b8a16(0x1aa)](),_0x220f2e=this[_0x4b8a16(0x3e4)][_0x4b8a16(0x246)](_0x154d22);_0x220f2e&&(_0x220f2e['dispose'](),this['_entities']['delete'](_0x154d22));});}async[_0x2f175c(0x2ca)](_0x49016e,_0x570b67){var _0xe9e18f=_0x2f175c;const _0x211817=await this['_collabSessionService'][_0xe9e18f(0x29c)](_0x49016e),_0x1c7923=this[_0xe9e18f(0x41d)]['createInstance'](this[_0xe9e18f(0x188)](_0x570b67),_0x49016e,_0x570b67,_0x211817);return await _0x1c7923[_0xe9e18f(0x248)](),this[_0xe9e18f(0x403)][_0xe9e18f(0x438)](_0x1c7923),_0x1c7923;}[_0x2f175c(0x188)](_0x4126f6){var _0x4c32d8=_0x2f175c;switch(_0x4126f6){case Q[_0x4c32d8(0x161)]:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error(_0x4c32d8(0x346)+_0x4126f6);}}};rt=cr([ft(0x0,_0xbf826d(_0x55133f)),ft(0x1,_0xbf826d(Le)),ft(0x2,_0x457cbb)],rt);var hr=Object[_0x2f175c(0x278)],_r=(_0x13681e,_0x538933,_0x2beb91,_0x1e5565)=>{var _0x9c642=_0x2f175c;for(var _0x295033=_0x1e5565>0x1?void 0x0:_0x1e5565?hr(_0x538933,_0x2beb91):_0x538933,_0x2901ed=_0x13681e[_0x9c642(0x270)]-0x1,_0x162798;_0x2901ed>=0x0;_0x2901ed--)(_0x162798=_0x13681e[_0x2901ed])&&(_0x295033=_0x162798(_0x295033)||_0x295033);return _0x295033;},zt=(_0x45f90d,_0x4aaf92)=>(_0x4f7f17,_0x527755)=>_0x4aaf92(_0x4f7f17,_0x527755,_0x45f90d);const lr=_0x2f175c(0x242),ur=_0x2f175c(0x399);let Ct=class extends _0x551fc0{constructor(_0x2b4c33,_0x3aafa7){var _0x1731fe=_0x2f175c;super(),this[_0x1731fe(0x3ad)]=_0x2b4c33,this[_0x1731fe(0x452)]=_0x3aafa7,this['_init']();}['_init'](){var _0x1dbeba=_0x2f175c;this['disposeWithMe'](this['_univerInstanceService'][_0x1dbeba(0x2a2)][_0x1dbeba(0x20a)](()=>{var _0x546ea6=_0x1dbeba,_0x26b6d4;const _0x53cca6=this[_0x546ea6(0x3ad)][_0x546ea6(0x3e6)]();let _0x373552=(_0x26b6d4=this['_configService'][_0x546ea6(0x3a3)](lr))!=null?_0x26b6d4:ur;_0x53cca6 instanceof _0x1dacaf&&(_0x373552=_0x53cca6['name']),document['title']=_0x373552;}));}};Ct=_r([zt(0x0,_0x457cbb),zt(0x1,_0x212b45)],Ct);var dr=Object[_0x2f175c(0x278)],fr=(_0x41dd3d,_0x5295cd,_0x372dc4,_0x12acf8)=>{var _0x18df38=_0x2f175c;for(var _0x2002df=_0x12acf8>0x1?void 0x0:_0x12acf8?dr(_0x5295cd,_0x372dc4):_0x5295cd,_0x243985=_0x41dd3d[_0x18df38(0x270)]-0x1,_0x4c7a0e;_0x243985>=0x0;_0x243985--)(_0x4c7a0e=_0x41dd3d[_0x243985])&&(_0x2002df=_0x4c7a0e(_0x2002df)||_0x2002df);return _0x2002df;},vt=(_0x3b2a94,_0x434914)=>(_0x4d2844,_0x440a3d)=>_0x434914(_0x4d2844,_0x440a3d,_0x3b2a94);let st=class{constructor(_0x46e567,_0x19c59b,_0x4cad5d){var _0x438e4a=_0x2f175c;this['_configService']=_0x46e567,this[_0x438e4a(0x395)]=_0x19c59b,this['localeService']=_0x4cad5d,this['init']();}['init'](){var _0x474889=_0x2f175c;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x5084a9,_0x5861b1)=>_0x5861b1(_0x5084a9)[_0x474889(0x2b6)](_0x358136(async _0xdaacd0=>{var _0x9b0e86=_0x474889;const _0x19c377=_0xdaacd0;if(_0x19c377['status']===0x191){if(typeof window>'u')throw new Error(_0x9b0e86(0x413));if(window[_0x9b0e86(0x160)](this['localeService']['t'](_0x9b0e86(0x410)))){const _0x22a27c=window[_0x9b0e86(0x205)](window['location'][_0x9b0e86(0x3d7)]);window[_0x9b0e86(0x22a)][_0x9b0e86(0x3d7)]=this[_0x9b0e86(0x1ac)]()+_0x9b0e86(0x3e8)+_0x22a27c;}}return _0x19c377;}))});}['_getLoginPath'](){var _0x83d8ed=_0x2f175c,_0x4479cc,_0x4fc919;const _0x527d90=this['_configService'][_0x83d8ed(0x3a3)](Un),_0x1a0d07=this[_0x83d8ed(0x452)][_0x83d8ed(0x3a3)](q);return(_0x4fc919=(_0x4479cc=_0x1a0d07==null?void 0x0:_0x1a0d07[_0x83d8ed(0x33a)])!=null?_0x4479cc:_0x527d90)!=null?_0x4fc919:wn;}};st=fr([vt(0x0,_0x212b45),vt(0x1,_0xbf826d(_0x3e7aa5)),vt(0x2,_0xbf826d(_0x5394b0))],st);function _0x4349(){var _0x5a99de=['_executeRemoteChangeset','YUUMI_URL_COL_OUT_OF_RANGE','unitID','push','_key','message$','sessionStatus$','createCollaborator','onTransformRemoteChangesetByIMECache','UNRECOGNIZED','_transformSelections','_getAPIPrefix','_transformService','listRoles','_iv','__creator','_data','not_collab','&source=','override','{fileID}','_transformRemoteChangesetByIMECache','_getAPIPrefixPath','emitEvent','onlyLocal','userID','pending','onRemoteAck','SEND_CHANGESET_TIMEOUT','floor','_rescheduleHeartbeat','NEW_CHANGESETS','SNAPSHOT_HAS_BEEN_REMOVED','transformChangesets','135HPGiOc','[CollaborationUndoRedoService]','has','_unitID','collaMsg','_redoStacks','eventID','socket\x20open.','_retryCount','selections','now','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','newCsEvent','_remoteChangesetQueue','_schedule','list','SYNCED','isArray','updatePermissionPoint','OFFLINE','readyForCollab','subUnitId','_permissionService','getLatestCsReqIdBySid','_getRedoStack','debug','_queuedRemoteChangesets','_localeService','SHOULD_CLOSE_CONN','stopTime','createInstance','_doReset','_onOffline','Decryptor','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','cmd','encryptBlock','_clearTimeoutTimer','OTHER_CLIENT_EDITING','status','saveChangeset','liveShareNewHost','getInterceptPoints','INGEST','objects','status$','_onFetchMissResult','joinEvent','$super','PY_RUNTIME_SCRIPT_ERROR','patch','INVALID_ARGUMENT','_oKey','_onRemoteRejected','CipherParams','shouldCloseConn','getDeserializedSheetBlock','_localCacheService','getCurrentUser','exports','_lockTransition','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','rng','sin','_fetchMissChangesets','_roomMembers','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_socket','201708eTmzvP','5937330WQGtIW','USERS_ENTER','getRoom','loginUrlKey','_state$','_keyPriorReset','CONFLICT','randomUUID','readAsDataURL','_onConnectionOpen','_revisionService','getUnitType','Hex','_resendWithTimeout','save\x20fail\x20reason\x20is\x20','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','connection\x20error','_decreaseWaiting','m2Prime','getTypeOfUnitAdded$','submit\x20changeset\x20error!','unsubscribe','_clearRedo','_clearLocalCache','clamp','_doProcessBlock','words','_updateState','FETCH_MISSING','_registerDependencies','Pkcs7','url','BASE64','unitId','_socketService','localCacheService','_getCurrentRevision','Utf8','session.room-cnt-exceeds','image/jpg','PERMISSION_REJ','resourceIDs','189GTfWqL','_scheduleCollaborationTimeoutTimer','editingUnit','LIVESHARE_FETCH_OPERATIONS','INVITE_CODE_ALREADY_BOUND','HELLO','socket\x20close','interceptor','body','_onRecvEvent','onCommandExecuted','format','setWaitCount','reset','registerHTTPInterceptor','reject','_listenToNetworkCondition','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','toString','_userManagerService','getResourcesRequest','HttpExport','collabSubmitChangesetUrl','OpenSSL','/role','LICENSE_IMPORT_SIZE_EXCEEDED','RECV','_getUploadFileURL','getImageSourceCache','incrementRevOfUnit','_HTTPService','[CollaborationSessionService]:\x20socket\x20error','updateOfflineData','csShouldRetryEvent','_onRemoteACK','UNDEFINED','bind','_sender','/universer-api/authz','SNAPSHOT_SERVER_URL_KEY','GLOBAL_ROOMS_CNT_EXCEEDS','APPLY_NON_SEQUENTIAL_REVISION','_acknowledgedAwaitingChangeset','open$','INTERNAL_ERROR','_initMergeInterceptor','ERROR_IMAGE_TYPE','reduce','univer-pro.collaboration-client.network-condition.service','_waitCount','/object/','UNIVER_PROJECT','_httpService','getCurrentSelections','enc','members','Univer','disposeWithMe','onTransformIME','OTHER_CLIENTS_EDITING','_sheetTransformSelectionsService','_candidateSocket','_type','JOINING','UNIVER_COLLABORATION_CLIENT_PLUGIN','_createInitialState','getConfig','loadOfflineData','_stopTelemetryCollaborationNewChangeset','objectID','1994590zUYaVo','/-/object/list','_clearCollaborationTimeoutTimer','_unitInfo$','batchAllowed','padding','_univerInstanceService','UnitEmbedded','_mode','_prevBlock','loadUnit','data','json','JOIN_ROOM_FAILED','defineProperty','resolve','APPLY_DUPLICATED','JOIN_ROOM_FULL','_onJoinRoomEvent','members$','_telemetryInfo','leaveEvent','_collaborationTimeoutTimer','updateCursorEvent','_updateLocalCache','repeat','_hash','COMPRESS_MUTATION_SEND','?size=','create','SHA1','event$','UnitSnapshot','roomInfos','CONNECTOR_DATA_TOO_LARGE','filter','_replayCachedMutations','telemetry\x20info\x20is\x20not\x20initialized','_undoStacks','_snapshotServerService','indexOf','fetchThroughInterceptors','apply','_loadDoc','state$','initWorkbookPermissionChange','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','findIndex','href','onCommentUpdate','USERS_LEAVE','reconnect','SOCKET_FAILED','x-univer-host','abs','_socket$','_sessionStatus$','decryptBlock','type','file','_sendHeartbeatTimer','_entities','UNIVER_SHEET','getFocusedUnit','&assign=','?url=','NO_OTHER_CLIENTS_EDITING','[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.','/collaborator','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','UPDATE_PERMISSION_OBJ','LEAVE','\x20-\x20','MD5','_resendTimer','catch','COLLAB_WEB_SOCKET_URL','UNISCRIPT_RUN','getUnit','JOIN','params','encrypt','NOT_FOUND','memberID','MUTATION','FAIL','_roomCreated$','liveShareOperation','_DEC_XFORM_MODE','loadSheet','then','[PendingState]:\x20received\x20acknowledgement.','_entityInit$','APPLY_PERMISSION_DENIED','fetchMiss','getCollabEntity','[OfflineState]:\x20received\x20rejection.','_telemetryService','_clearScheduledTask','saveSheetBlock','signUrlServerUrl','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','parse','mixIn','CLOSE_ROOM','auth.needGotoLoginAlert','setCurrentUser','258256CaUnsw','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','CHANGESET_REJ','_doFinalize','/allowed','_imageSourceCache','HttpImport','TOO_MANY_REQUESTS','collabWebSocketUrl','transformSelections','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_injector','onTransformSelections','blockSize','_logService','string','Failed\x20to\x20update\x20permission\x20point','Encryptor','onStarting','slice','code','LOGIN_FAILED','_timeoutTimer','_createHelper','[OfflineState]:\x20received\x20acknowledgement.','_status$','values','enableOfflineEditing','_nDataBytes','_initRequestHeader','extend','dispose','Undefined','toggleOnline','INVITE_CODE_REQUIRED','_createHandler','removeMember','symbol','next','_resendTimeout','_shouldReportTelemetry','keySize','session','size','transformMutationsWithChangeset','dispose$','getUnitOnRev','onload','byteOffset','EvpKDF','fetching\x20missing\x20changesets\x20from\x20','univer-pro.collaboration-client-socket-service','getUnitStatus$','kdf','_snapshotService','UNIVER_UNKNOWN','randomBytes','unknown','_emitMembers','downloadEndpointUrl','collaboration-client.local-cache-service','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_commentUpdate$','_commentService','_configService','state','delete','ALREADY_EXISTS','HEARTBEAT_INTERVAL','_awaitingChangeset','_incrementRevisionNumber','c2Prime','confirm','UNIVER_DOC','_clearUndo','/-/object/-/batch_allowed','updateMember','change$','YUUMI_RATE_OVER_LIMIT','_createHmacHelper','_transformStateCache','appendMutation','_handler','min','/universer-api/oidc/authpage','POST','_members$','LOGIN_URL_KEY','find','getSheetId','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_onMessage','_unlockTransition','ERROR_EXCEED_SIZE','collaboration_new_changeset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_hasher','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','fromCollab','charCodeAt','LIVESHARE_REQUEST_HOST','awaitingChangeset','add','_singleActiveUnitService','_submitChangeset','USER_NOT_INVITED_CODE','capture','ERROR_IMAGE','OPTIONAL','onMissingChangesets','_onRemoteChangeset','_commandService','_getCtorByUniverType','pad','hostname','/resources','HmacSHA1','StreamCipher','salt','SNAPSHOT_INVALID_SNAPSHOT','_event$','isPermissionRej','_joinRoom','_tryEnsureSocket','_getSendChangesetTimeout','snapshot','COMPRESS_MUTATION_APPLY','265hfTnBR','FileId','image/jpeg','_ENC_XFORM_MODE','_onLocalMutation','awaiting','fromCharCode','pauseCollaboration','reverse','setShowComponents','hasOwnProperty','_getSignURL','_iKey','IDLE','_map','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','sessionStatus','createDecryptor','_cipher','getUnitId','default','_getLoginPath','deleteCollaborator','_getUndoStack','UPDATE_CURSOR','_append','execute','_substituteUndoStack','collaborators','getValue','/block/','SNAPSHOT_URL_KEY','SUBMIT_CHANGESET','waitForRoom$','_config','[CollaborationSession]','AUTHZ_URL_KEY','lib','/rev/','_retryConnectingTimer','_parse','_state','_nRounds','_doCreateSocket','LIVESHARE_NEW_HOST','setConfig','_socketReady','_memberService','LIVESHARE_TERMINATE','transformUndoRedo','univer-pro.collaboration-client.single-active-unit-service','subject','_transitionLocked','online$','_onConnectionFailed','objectType','Could\x20not\x20dynamically\x20require\x20\x22','_updateStatus','onMissedChangesetFetched','COMPLETION_FINISHED','key','Base','action','send','entries','LICENSE_EXPORT_SIZE_EXCEEDED','_sendHeartbeat','_changesetSessionId','crypto','every','processBlock','workbook','mutations','_sendingTimer','_eventService','createSocket','ciphertext','responseType','socket$','_members','forEach','UNKNOWN_CODE','UNAUTHENTICATED','_scheduleCompleteTimestamp','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','ivSize','BlockCipherMode','_transformIMECache','putCollaborators','synced','error','iterations','originalMeta','_tryReconnect','_loadSheet','_handlerCallback','session.room-permission-denied','enableAuthServer','_doCryptBlock','LICENSE_MAX_UNITS_EXCEEDED','resend','stringify','_process','RETRY_CONNECTING_MAX_COUNT','c1Prime','sid','post','offline','SUBMIT_CHANGESET_TIMEOUT','image/bmp','encodeURIComponent','_minBufferSize','WordArray','_createSocket','onRemoteRetry','subscribe','createEncryptor','getMember','getRandomValues','_createInitialStateImpl','_onUserJoin','_collabSessionService','PERMISSION_DENIED','getCollabEntity$','mode','__Key__','ceil','splice','_onUserLeave','getCurrentRevOfUnit','getWorkbookSelections','\x20to\x20','buffer','_throwTelemetryCollaborationNewChangeset','avatar','AES','_waitForHeartbeatResponse','_networkConditionService','_exhaustRemoteChangesetQueue','[OfflineState]:\x20received\x20changeset.','requestParams','session.room-not-exists','_onConflict','_sessions','Hasher','clone','CHANGESET_SHOULD_RETRY','location','_xformMode','awaiting_with_pending','put','_initCloseConn','46216OYLCrd','APPLY_REVISION_CONFILICT','append','image/gif','decrypt','COLLAB_SUBMIT_CHANGESET_URL','CHANGESET_REVISION_CONFILICT','cfg','[SyncedState]:\x20received\x20rejection.','msCrypto','toLowerCase','PSEUDO_FETCH_MISSING_RESULT','name','from','getTypeOfUnitDisposed$','_socketMessageSubscription','conflict','/universer-api/user/session-ticket','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','DEFAULT_FILE_NAME','_getDownloadEndpointURL','JOIN_ROOM_PERMISSION_DENIED','toggleOffline','get','prototype','init','_substituteRedoStack','UNKNOWN_CMD','_transformUndoredo','/unit/','enableSingleActiveInstanceLock','retryConnectingInterval','map','_undoRedoService','_changesetReqId','onSendChangeset','clear','error$','_replaceFileID','_transformStack','getMemberID','\x20in\x20_schedule.','entityInit$','routeKey','HEARTBEAT','close','encode','AWAITING_WITH_PENDING','_disableEditing','unitId\x20is\x20not\x20found','image/png','concat','textRanges','actions','UNIVER_SLIDE','_clearHeartbeatTimer','pluginName','SUCCUSS','formatter','call','getTime','/universer-api/comb','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_collaborationSessionService','addHandlerCallback','length','range','JOIN_ROOM_NOT_EXISTS','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','baseRev','/universer-api/snapshot','Base64','onRemoteChangeset','getOwnPropertyDescriptor','UUID','socketService','sigBytes','BufferedBlockAlgorithm','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','LIVESHARE_OPERATION','[DataLoaderService]','_change$','COMMENT_UPDATE','_clearRetryConnectingTimer','_toggleOffline','_toggleOnline','complete','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','close$','_pendingMutations','_applyRemoteChangeset','__esModule','onSyncEditingCollabCursor','closeSession','rev','random','revision','updateCollaborator','ONLINE','generateRandomId','[SyncedState]:\x20received\x20acknowledgement.','getAllMembers','_removeRoom','disableLocalCache','SerializableCipher','result','function','compute','AWAITING','requireSession','_compressMutationService','_syncEditingCollabCursor','Latin1','startTime','equals','focused$','src','_checkMissing','INVITE_CODE_HAS_BEEN_UES','_collaborationPaused','finalize','_onRemoteRetry','fetchMissingChangesets','&to=','NoPadding','_collaborationUIEventService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','executeCommand','/universer-api/uniscript','onTransformState','update','_reverseMap','_startTelemetryCollaborationNewChangeset','_init','byteLength','pipe','Cipher','883586tMKWaa','onRemoteRej','reqId','changesets','algo','charAt','ENSURE_SNAPSHOT_EXECUTION','commentUpdateEvent','Error\x20on\x20receiving\x20event','[PendingState]:\x20received\x20rejection.','CHANGESET_ACK','duration','BlockCipher','_initDependencies','editing\x20status\x20changed\x20to','APPLY_REJECT','onTransformRemoteChangesetByStateCache','2591988mLRPPN','_startCollaboration','allowed','asObservable','HMAC','set','SOCKET_FAILED_RETRY'];_0x4349=function(){return _0x5a99de;};return _0x4349();}var vr=Object['getOwnPropertyDescriptor'],pr=(_0x1a24dc,_0x573010,_0x1230e0,_0x1876d1)=>{var _0x1ea4d2=_0x2f175c;for(var _0x4c8642=_0x1876d1>0x1?void 0x0:_0x1876d1?vr(_0x573010,_0x1230e0):_0x573010,_0x56f590=_0x1a24dc[_0x1ea4d2(0x270)]-0x1,_0x52f917;_0x56f590>=0x0;_0x56f590--)(_0x52f917=_0x1a24dc[_0x56f590])&&(_0x4c8642=_0x52f917(_0x4c8642)||_0x4c8642);return _0x4c8642;},Jt=(_0x499e33,_0x28470a)=>(_0xfa6731,_0x2e64c5)=>_0x28470a(_0xfa6731,_0x2e64c5,_0x499e33);const Ni=_0x2f175c(0x1bb),mr=_0x2f175c(0x387);let Rt=class extends _0x551fc0{constructor(_0x286398,_0x82ee75){var _0x4b134a=_0x2f175c;super(),this[_0x4b134a(0x37f)]=_0x286398,this['_configService']=_0x82ee75,this[_0x4b134a(0x38e)]();}[_0x2f175c(0x38e)](){const _0x501ca3=this;this['disposeWithMe'](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x225fb0({'isMatch'(_0x19f7a2){var _0x507ac6=_0x3552,_0x38e6f9;if(_0x19f7a2['method']===_0x507ac6(0x16d)&&((_0x38e6f9=_0x19f7a2[_0x507ac6(0x223)])!=null&&_0x38e6f9[_0x507ac6(0x369)])){const {objectID:_0x56c343,objectType:_0x5e1cd8}=_0x19f7a2[_0x507ac6(0x223)][_0x507ac6(0x369)]||{};if(!_0x56c343||_0x5e1cd8===void 0x0)return!0x1;const _0x1cb93d=_0x501ca3['_getAPIPrefixPath']()+'/'+_0x5e1cd8+_0x507ac6(0x393)+_0x56c343+'/allowed';if(_0x19f7a2[_0x507ac6(0x356)]===_0x1cb93d)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x16a202){var _0x282a13;return(_0x282a13=_0x16a202['requestParams'])==null?void 0x0:_0x282a13['body'];},'mergeParamsToRequest'(_0x33e68a,_0x146c94){var _0x5b89cd=_0x3552;const _0x33a9f8=_0x501ca3[_0x5b89cd(0x2e6)]()+'/-/object/-/batch_allowed',_0x5ba588=_0x33e68a[_0x5b89cd(0x390)]((_0x44a757,_0x565787)=>{var _0x28b26c=_0x5b89cd;const {unitID:_0x271d83,objectID:_0x16ebb8,objectType:_0x31635a,actions:_0x31bd35}=_0x565787;return _0x44a757[_0x271d83]||(_0x44a757[_0x271d83]={}),_0x44a757[_0x271d83][_0x16ebb8]||(_0x44a757[_0x271d83][_0x16ebb8]={'objectID':_0x16ebb8,'objectType':_0x31635a,'actions':[]}),_0x44a757[_0x271d83][_0x16ebb8]['actions'][_0x28b26c(0x2d3)](..._0x31bd35),_0x44a757;},{}),_0x4740bc=[];for(const _0x3442be in _0x5ba588)for(const _0x2e4198 in _0x5ba588[_0x3442be]){const {actions:_0x1e1992,objectType:_0x3584b1}=_0x5ba588[_0x3442be][_0x2e4198],_0xece384=[...new Set(_0x1e1992)];_0x4740bc[_0x5b89cd(0x2d3)]({'unitID':_0x3442be,'objectID':_0x2e4198,'objectType':_0x3584b1,'actions':_0xece384});}return new _0x324e44(_0x5b89cd(0x16d),_0x33a9f8,{'headers':_0x146c94['headers'],'withCredentials':_0x146c94['withCredentials'],'responseType':_0x146c94[_0x5b89cd(0x1e4)],'body':{'requests':_0x4740bc}});}},{'distributeResult'(_0x300619,_0x457593){var _0x5bf4e7=_0x3552;const {objectActions:_0x9241f1}=_0x300619;return _0x457593[_0x5bf4e7(0x24f)](_0xd96147=>{var _0x5e649a=_0x5bf4e7;const {unitID:_0x38e1b6,objectID:_0x2eeafd,actions:_0x1e1397}=_0xd96147,_0x458810=_0x9241f1['find'](_0xacfd7e=>_0xacfd7e[_0x5e649a(0x2d2)]===_0x38e1b6&&_0xacfd7e['objectID']===_0x2eeafd),_0x539a5b=_0x1e1397[_0x5e649a(0x24f)](_0x34707b=>_0x458810==null?void 0x0:_0x458810[_0x5e649a(0x264)][_0x5e649a(0x170)](_0xd21dbc=>_0xd21dbc[_0x5e649a(0x1d5)]===_0x34707b))[_0x5e649a(0x3ca)](_0x3307af=>!!_0x3307af);return{'config':_0xd96147,'result':{'actions':_0x539a5b,'error':_0x300619[_0x5e649a(0x1f1)]}};});}})}));}[_0x2f175c(0x2e6)](){var _0x1aae8e=_0x2f175c,_0x61c990,_0x3b5907;const _0x2e7e5a=this[_0x1aae8e(0x452)][_0x1aae8e(0x3a3)](Ni),_0x33065=this[_0x1aae8e(0x452)][_0x1aae8e(0x3a3)](q);return(_0x3b5907=(_0x61c990=_0x33065==null?void 0x0:_0x33065['authzUrl'])!=null?_0x61c990:_0x2e7e5a)!=null?_0x3b5907:mr;}async[_0x2f175c(0x3c4)](_0x2e8192){var _0xa7608a=_0x2f175c;const _0x2219a2=this[_0xa7608a(0x2e6)]()+'/'+_0x2e8192['objectType']+'/object';return(await this[_0xa7608a(0x37f)][_0xa7608a(0x201)](_0x2219a2,{'body':_0x2e8192}))[_0xa7608a(0x369)][_0xa7608a(0x3a6)]||'';}async[_0x2f175c(0x301)](_0x623c44){var _0x199694=_0x2f175c;const _0x14a026=this[_0x199694(0x2e6)]()+_0x199694(0x3a8);return(await this[_0x199694(0x37f)][_0x199694(0x201)](_0x14a026,{'body':_0x623c44}))[_0x199694(0x369)][_0x199694(0x31e)];}async[_0x2f175c(0x2b1)](_0x302ddf){var _0x26be30=_0x2f175c,_0x4822f7,_0x4a8496;const _0x2755c1=this[_0x26be30(0x2e6)]()+'/'+_0x302ddf[_0x26be30(0x1ce)]+_0x26be30(0x393)+_0x302ddf[_0x26be30(0x3a6)],_0x28f8be=await this[_0x26be30(0x37f)][_0x26be30(0x22d)](_0x2755c1,{'body':_0x302ddf});if(((_0x4a8496=(_0x4822f7=_0x28f8be==null?void 0x0:_0x28f8be[_0x26be30(0x369)])==null?void 0x0:_0x4822f7[_0x26be30(0x1f1)])==null?void 0x0:_0x4a8496['code'])!==0x1)throw new Error(_0x26be30(0x422));}async[_0x2f175c(0x2cb)](_0x4779d4){var _0x4bedbd=_0x2f175c;const _0x540e37=this[_0x4bedbd(0x2e6)]()+'/'+_0x4779d4['objectType']+_0x4bedbd(0x393)+_0x4779d4[_0x4bedbd(0x3a6)]+_0x4bedbd(0x416);return(await this['_HTTPService'][_0x4bedbd(0x201)](_0x540e37,{'body':_0x4779d4}))[_0x4bedbd(0x369)]['actions'];}async[_0x2f175c(0x3ab)](_0x11ce2f){var _0x58f782=_0x2f175c;const _0x595075=this[_0x58f782(0x2e6)]()+_0x58f782(0x163);return(await this[_0x58f782(0x37f)][_0x58f782(0x201)](_0x595075,{'body':{'requests':_0x11ce2f}}))[_0x58f782(0x369)]['objectActions'];}async[_0x2f175c(0x2dd)](_0x4a6e94){var _0x199a04=_0x2f175c;const _0xa804e8=this[_0x199a04(0x2e6)]()+'/'+_0x4a6e94[_0x199a04(0x1ce)]+_0x199a04(0x379),_0x2bc554=await this['_HTTPService'][_0x199a04(0x201)](_0xa804e8,{'body':_0x4a6e94});return{'roles':_0x2bc554['body']['roles'],'actions':_0x2bc554[_0x199a04(0x369)][_0x199a04(0x264)]};}async[_0x2f175c(0x1ad)](_0x4d4e7f){var _0x164873=_0x2f175c;const _0x27dc98=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x164873(0x37f)][_0x164873(0x454)](_0x27dc98,{'params':{'collaboratorID':_0x4d4e7f['collaboratorID'],'objectID':_0x4d4e7f[_0x164873(0x3a6)],'unitID':_0x4d4e7f[_0x164873(0x2d2)]}});}async[_0x2f175c(0x290)](_0x1cd3b0){var _0xcdaec0=_0x2f175c;const _0x5cb043=this[_0xcdaec0(0x2e6)]()+_0xcdaec0(0x3eb);await this['_HTTPService'][_0xcdaec0(0x324)](_0x5cb043,{'body':_0x1cd3b0});}async[_0x2f175c(0x2d7)](_0x2a114f){var _0x2900ba=_0x2f175c;const _0x5bde66=this['_getAPIPrefixPath']()+_0x2900ba(0x3eb);await this[_0x2900ba(0x37f)][_0x2900ba(0x201)](_0x5bde66,{'body':_0x2a114f});}async['listCollaborators'](_0x1c13e6){var _0x901e84=_0x2f175c;const _0xfdf91=this[_0x901e84(0x2e6)]()+_0x901e84(0x3eb);return(await this[_0x901e84(0x37f)][_0x901e84(0x246)](_0xfdf91,{'params':{'objectID':_0x1c13e6[_0x901e84(0x3a6)],'unitID':_0x1c13e6['unitID']}}))[_0x901e84(0x369)][_0x901e84(0x1b3)];}async[_0x2f175c(0x1ef)](_0x14764a){var _0x24a9c7=_0x2f175c;const _0x4c2acf=this[_0x24a9c7(0x2e6)]()+_0x24a9c7(0x3eb);await this[_0x24a9c7(0x37f)][_0x24a9c7(0x22d)](_0x4c2acf,{'body':_0x14764a});}};Rt=pr([Jt(0x0,_0xbf826d(_0x3e7aa5)),Jt(0x1,_0xbf826d(_0x212b45))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x4eb7ad){var _0x17b763=_0x2f175c;return _0x4eb7ad&&_0x4eb7ad[_0x17b763(0x28a)]&&Object[_0x17b763(0x247)][_0x17b763(0x1a1)][_0x17b763(0x26a)](_0x4eb7ad,'default')?_0x4eb7ad[_0x17b763(0x1ab)]:_0x4eb7ad;}var Ve={'exports':{}};function gr(_0x5b58a2){var _0x492dbf=_0x2f175c;throw new Error(_0x492dbf(0x1cf)+_0x5b58a2+_0x492dbf(0x32f));}var Ge={'exports':{}},Sr=Ge[_0x2f175c(0x32d)],Xt;function ie(){var _0x296ba6=_0x2f175c;return Xt||(Xt=0x1,function(_0xddc2c9,_0x42004d){(function(_0xdb4178,_0x2b9f30){_0xddc2c9['exports']=_0x2b9f30();}(Sr,function(){var _0x23947b=_0x23947b||function(_0xd62a87,_0x3761f){var _0x586989=_0x3552,_0xb8076d;if(typeof window<'u'&&window[_0x586989(0x1db)]&&(_0xb8076d=window[_0x586989(0x1db)]),typeof self<'u'&&self[_0x586989(0x1db)]&&(_0xb8076d=self['crypto']),typeof globalThis<'u'&&globalThis[_0x586989(0x1db)]&&(_0xb8076d=globalThis[_0x586989(0x1db)]),!_0xb8076d&&typeof window<'u'&&window[_0x586989(0x238)]&&(_0xb8076d=window[_0x586989(0x238)]),!_0xb8076d&&typeof pt<'u'&&pt['crypto']&&(_0xb8076d=pt[_0x586989(0x1db)]),!_0xb8076d&&typeof gr==_0x586989(0x299))try{_0xb8076d=require('crypto');}catch{}var _0x1546ac=function(){var _0x17728d=_0x586989;if(_0xb8076d){if(typeof _0xb8076d['getRandomValues']=='function')try{return _0xb8076d[_0x17728d(0x20d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xb8076d[_0x17728d(0x44a)]=='function')try{return _0xb8076d[_0x17728d(0x44a)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x17728d(0x1eb));},_0x4b5454=Object['create']||(function(){function _0x40cff9(){}return function(_0x5aef41){var _0xd89732=_0x3552,_0x4d1b3;return _0x40cff9[_0xd89732(0x247)]=_0x5aef41,_0x4d1b3=new _0x40cff9(),_0x40cff9[_0xd89732(0x247)]=null,_0x4d1b3;};}()),_0x19f9bb={},_0x426cf8=_0x19f9bb[_0x586989(0x1bc)]={},_0x4e517b=_0x426cf8[_0x586989(0x1d4)]=(function(){return{'extend':function(_0x5771e4){var _0x3da3f2=_0x3552,_0x905a8d=_0x4b5454(this);return _0x5771e4&&_0x905a8d[_0x3da3f2(0x40e)](_0x5771e4),(!_0x905a8d[_0x3da3f2(0x1a1)](_0x3da3f2(0x248))||this['init']===_0x905a8d[_0x3da3f2(0x248)])&&(_0x905a8d['init']=function(){var _0x8618e3=_0x3da3f2;_0x905a8d[_0x8618e3(0x322)][_0x8618e3(0x248)][_0x8618e3(0x3d1)](this,arguments);}),_0x905a8d[_0x3da3f2(0x248)]['prototype']=_0x905a8d,_0x905a8d[_0x3da3f2(0x322)]=this,_0x905a8d;},'create':function(){var _0x3c3630=_0x3552,_0x35b06d=this[_0x3c3630(0x430)]();return _0x35b06d[_0x3c3630(0x248)][_0x3c3630(0x3d1)](_0x35b06d,arguments),_0x35b06d;},'init':function(){},'mixIn':function(_0x4b7132){var _0x231fe1=_0x3552;for(var _0x43dd9d in _0x4b7132)_0x4b7132[_0x231fe1(0x1a1)](_0x43dd9d)&&(this[_0x43dd9d]=_0x4b7132[_0x43dd9d]);_0x4b7132['hasOwnProperty'](_0x231fe1(0x373))&&(this['toString']=_0x4b7132['toString']);},'clone':function(){var _0x5849b5=_0x3552;return this[_0x5849b5(0x248)][_0x5849b5(0x247)][_0x5849b5(0x430)](this);}};}()),_0x2f6aec=_0x426cf8[_0x586989(0x207)]=_0x4e517b[_0x586989(0x430)]({'init':function(_0x479029,_0x3538a3){var _0x5309e6=_0x586989;_0x479029=this[_0x5309e6(0x351)]=_0x479029||[],_0x3538a3!=_0x3761f?this[_0x5309e6(0x27b)]=_0x3538a3:this[_0x5309e6(0x27b)]=_0x479029[_0x5309e6(0x270)]*0x4;},'toString':function(_0x18d57a){var _0x314043=_0x586989;return(_0x18d57a||_0x3bba35)[_0x314043(0x1fc)](this);},'concat':function(_0x2fdfe){var _0x1f92c7=_0x586989,_0x1cb9c5=this[_0x1f92c7(0x351)],_0x430fa6=_0x2fdfe['words'],_0x1d040e=this[_0x1f92c7(0x27b)],_0x3d262f=_0x2fdfe[_0x1f92c7(0x27b)];if(this[_0x1f92c7(0x34f)](),_0x1d040e%0x4)for(var _0x4835cd=0x0;_0x4835cd<_0x3d262f;_0x4835cd++){var _0x119905=_0x430fa6[_0x4835cd>>>0x2]>>>0x18-_0x4835cd%0x4*0x8&0xff;_0x1cb9c5[_0x1d040e+_0x4835cd>>>0x2]|=_0x119905<<0x18-(_0x1d040e+_0x4835cd)%0x4*0x8;}else{for(var _0x4e01f8=0x0;_0x4e01f8<_0x3d262f;_0x4e01f8+=0x4)_0x1cb9c5[_0x1d040e+_0x4e01f8>>>0x2]=_0x430fa6[_0x4e01f8>>>0x2];}return this[_0x1f92c7(0x27b)]+=_0x3d262f,this;},'clamp':function(){var _0x550903=_0x586989,_0x40d22c=this[_0x550903(0x351)],_0x35701e=this[_0x550903(0x27b)];_0x40d22c[_0x35701e>>>0x2]&=0xffffffff<<0x20-_0x35701e%0x4*0x8,_0x40d22c[_0x550903(0x270)]=_0xd62a87[_0x550903(0x215)](_0x35701e/0x4);},'clone':function(){var _0x4ebbd7=_0x586989,_0x14e1c4=_0x4e517b[_0x4ebbd7(0x228)][_0x4ebbd7(0x26a)](this);return _0x14e1c4[_0x4ebbd7(0x351)]=this[_0x4ebbd7(0x351)][_0x4ebbd7(0x425)](0x0),_0x14e1c4;},'random':function(_0x48b926){var _0x57020c=_0x586989;for(var _0x503879=[],_0x8c7008=0x0;_0x8c7008<_0x48b926;_0x8c7008+=0x4)_0x503879[_0x57020c(0x2d3)](_0x1546ac());return new _0x2f6aec[(_0x57020c(0x248))](_0x503879,_0x48b926);}}),_0x2779af=_0x19f9bb[_0x586989(0x397)]={},_0x3bba35=_0x2779af[_0x586989(0x343)]={'stringify':function(_0x3b515d){var _0x11fa2a=_0x586989;for(var _0x534736=_0x3b515d[_0x11fa2a(0x351)],_0x3b44ff=_0x3b515d[_0x11fa2a(0x27b)],_0x591b0d=[],_0x1c833a=0x0;_0x1c833a<_0x3b44ff;_0x1c833a++){var _0xe18284=_0x534736[_0x1c833a>>>0x2]>>>0x18-_0x1c833a%0x4*0x8&0xff;_0x591b0d['push']((_0xe18284>>>0x4)[_0x11fa2a(0x373)](0x10)),_0x591b0d[_0x11fa2a(0x2d3)]((_0xe18284&0xf)[_0x11fa2a(0x373)](0x10));}return _0x591b0d['join']('');},'parse':function(_0x1f3dfc){var _0x473720=_0x586989;for(var _0x3f8482=_0x1f3dfc[_0x473720(0x270)],_0x26567e=[],_0xb32ce9=0x0;_0xb32ce9<_0x3f8482;_0xb32ce9+=0x2)_0x26567e[_0xb32ce9>>>0x3]|=parseInt(_0x1f3dfc['substr'](_0xb32ce9,0x2),0x10)<<0x18-_0xb32ce9%0x8*0x4;return new _0x2f6aec[(_0x473720(0x248))](_0x26567e,_0x3f8482/0x2);}},_0x4613b3=_0x2779af[_0x586989(0x29f)]={'stringify':function(_0x5b2d55){var _0x411a73=_0x586989;for(var _0x345f15=_0x5b2d55[_0x411a73(0x351)],_0x1466ac=_0x5b2d55[_0x411a73(0x27b)],_0x5e3c2f=[],_0x123199=0x0;_0x123199<_0x1466ac;_0x123199++){var _0x2eccc0=_0x345f15[_0x123199>>>0x2]>>>0x18-_0x123199%0x4*0x8&0xff;_0x5e3c2f['push'](String[_0x411a73(0x19d)](_0x2eccc0));}return _0x5e3c2f['join']('');},'parse':function(_0x593b41){var _0x47aa21=_0x586989;for(var _0x3306a7=_0x593b41['length'],_0xcd065d=[],_0x28eab7=0x0;_0x28eab7<_0x3306a7;_0x28eab7++)_0xcd065d[_0x28eab7>>>0x2]|=(_0x593b41['charCodeAt'](_0x28eab7)&0xff)<<0x18-_0x28eab7%0x4*0x8;return new _0x2f6aec[(_0x47aa21(0x248))](_0xcd065d,_0x3306a7);}},_0x7ffa0a=_0x2779af['Utf8']={'stringify':function(_0x15b3a2){try{return decodeURIComponent(escape(_0x4613b3['stringify'](_0x15b3a2)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x4bb684){var _0x438f2c=_0x586989;return _0x4613b3[_0x438f2c(0x40d)](unescape(encodeURIComponent(_0x4bb684)));}},_0x44089f=_0x426cf8[_0x586989(0x27c)]=_0x4e517b[_0x586989(0x430)]({'reset':function(){var _0x51224f=_0x586989;this[_0x51224f(0x2e0)]=new _0x2f6aec[(_0x51224f(0x248))](),this[_0x51224f(0x42e)]=0x0;},'_append':function(_0x34c26f){var _0xd277c2=_0x586989;typeof _0x34c26f==_0xd277c2(0x421)&&(_0x34c26f=_0x7ffa0a[_0xd277c2(0x40d)](_0x34c26f)),this[_0xd277c2(0x2e0)][_0xd277c2(0x262)](_0x34c26f),this['_nDataBytes']+=_0x34c26f[_0xd277c2(0x27b)];},'_process':function(_0x122a44){var _0xb0293=_0x586989,_0x375b54,_0x3b341b=this[_0xb0293(0x2e0)],_0x32f8f1=_0x3b341b['words'],_0x5d76c1=_0x3b341b[_0xb0293(0x27b)],_0x4b3bfb=this['blockSize'],_0xb31a96=_0x4b3bfb*0x4,_0x2364c0=_0x5d76c1/_0xb31a96;_0x122a44?_0x2364c0=_0xd62a87[_0xb0293(0x215)](_0x2364c0):_0x2364c0=_0xd62a87['max']((_0x2364c0|0x0)-this[_0xb0293(0x206)],0x0);var _0x2dde6b=_0x2364c0*_0x4b3bfb,_0x4e46b8=_0xd62a87[_0xb0293(0x16b)](_0x2dde6b*0x4,_0x5d76c1);if(_0x2dde6b){for(var _0xc484d4=0x0;_0xc484d4<_0x2dde6b;_0xc484d4+=_0x4b3bfb)this[_0xb0293(0x350)](_0x32f8f1,_0xc484d4);_0x375b54=_0x32f8f1[_0xb0293(0x216)](0x0,_0x2dde6b),_0x3b341b[_0xb0293(0x27b)]-=_0x4e46b8;}return new _0x2f6aec[(_0xb0293(0x248))](_0x375b54,_0x4e46b8);},'clone':function(){var _0x131abd=_0x586989,_0x12711e=_0x4e517b['clone']['call'](this);return _0x12711e[_0x131abd(0x2e0)]=this[_0x131abd(0x2e0)][_0x131abd(0x228)](),_0x12711e;},'_minBufferSize':0x0});_0x426cf8[_0x586989(0x227)]=_0x44089f[_0x586989(0x430)]({'cfg':_0x4e517b[_0x586989(0x430)](),'init':function(_0x8300e4){var _0xc004d7=_0x586989;this[_0xc004d7(0x236)]=this[_0xc004d7(0x236)][_0xc004d7(0x430)](_0x8300e4),this[_0xc004d7(0x36e)]();},'reset':function(){var _0x478068=_0x586989;_0x44089f['reset'][_0x478068(0x26a)](this),this[_0x478068(0x311)]();},'update':function(_0x37375c){var _0x143cce=_0x586989;return this[_0x143cce(0x1b0)](_0x37375c),this[_0x143cce(0x1fd)](),this;},'finalize':function(_0x2820ef){var _0x2a9850=_0x586989;_0x2820ef&&this[_0x2a9850(0x1b0)](_0x2820ef);var _0xdd89b3=this[_0x2a9850(0x415)]();return _0xdd89b3;},'blockSize':0x10,'_createHelper':function(_0x5761c3){return function(_0x35d097,_0x11e8e8){var _0x276f51=_0x3552;return new _0x5761c3[(_0x276f51(0x248))](_0x11e8e8)[_0x276f51(0x2a7)](_0x35d097);};},'_createHmacHelper':function(_0x37745f){return function(_0x5a7235,_0x116a6f){var _0xcf4f37=_0x3552;return new _0x491027['HMAC'][(_0xcf4f37(0x248))](_0x37745f,_0x116a6f)[_0xcf4f37(0x2a7)](_0x5a7235);};}});var _0x491027=_0x19f9bb[_0x586989(0x2bc)]={};return _0x19f9bb;}(Math);return _0x23947b;}));}(Ge)),Ge[_0x296ba6(0x32d)];}var We={'exports':{}},Er=We[_0x2f175c(0x32d)],Zt;function Di(){var _0x594112=_0x2f175c;return Zt||(Zt=0x1,function(_0x2dcf76,_0x354f5c){(function(_0x437a6d,_0x3e1923){var _0x259c0b=_0x3552;_0x2dcf76[_0x259c0b(0x32d)]=_0x3e1923(ie());}(Er,function(_0x417c4a){var _0x3395ca=_0x3552;return(function(){var _0x19c92c=_0x3552,_0xf4e1f4=_0x417c4a,_0xa2bf35=_0xf4e1f4[_0x19c92c(0x1bc)],_0x24520b=_0xa2bf35[_0x19c92c(0x207)],_0x432436=_0xf4e1f4[_0x19c92c(0x397)];_0x432436[_0x19c92c(0x276)]={'stringify':function(_0x2e4f47){var _0x332cec=_0x19c92c,_0x355fba=_0x2e4f47['words'],_0x5ca8b9=_0x2e4f47['sigBytes'],_0x44730b=this[_0x332cec(0x1a5)];_0x2e4f47[_0x332cec(0x34f)]();for(var _0x39100c=[],_0x572521=0x0;_0x572521<_0x5ca8b9;_0x572521+=0x3)for(var _0x58e3c1=_0x355fba[_0x572521>>>0x2]>>>0x18-_0x572521%0x4*0x8&0xff,_0x3ac62e=_0x355fba[_0x572521+0x1>>>0x2]>>>0x18-(_0x572521+0x1)%0x4*0x8&0xff,_0x284893=_0x355fba[_0x572521+0x2>>>0x2]>>>0x18-(_0x572521+0x2)%0x4*0x8&0xff,_0x2a4b4c=_0x58e3c1<<0x10|_0x3ac62e<<0x8|_0x284893,_0x341f9c=0x0;_0x341f9c<0x4&&_0x572521+_0x341f9c*0.75<_0x5ca8b9;_0x341f9c++)_0x39100c[_0x332cec(0x2d3)](_0x44730b[_0x332cec(0x2bd)](_0x2a4b4c>>>0x6*(0x3-_0x341f9c)&0x3f));var _0x312aac=_0x44730b[_0x332cec(0x2bd)](0x40);if(_0x312aac){for(;_0x39100c['length']%0x4;)_0x39100c[_0x332cec(0x2d3)](_0x312aac);}return _0x39100c['join']('');},'parse':function(_0xf3e540){var _0x510015=_0x19c92c,_0x136453=_0xf3e540[_0x510015(0x270)],_0x480990=this[_0x510015(0x1a5)],_0x3c28d8=this[_0x510015(0x2b2)];if(!_0x3c28d8){_0x3c28d8=this[_0x510015(0x2b2)]=[];for(var _0x10d9f7=0x0;_0x10d9f7<_0x480990[_0x510015(0x270)];_0x10d9f7++)_0x3c28d8[_0x480990[_0x510015(0x17b)](_0x10d9f7)]=_0x10d9f7;}var _0x253321=_0x480990['charAt'](0x40);if(_0x253321){var _0x38a9e5=_0xf3e540[_0x510015(0x3cf)](_0x253321);_0x38a9e5!==-0x1&&(_0x136453=_0x38a9e5);}return _0x7558b1(_0xf3e540,_0x136453,_0x3c28d8);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x7558b1(_0x461a64,_0x120bab,_0x579c18){var _0x1908bf=_0x19c92c;for(var _0x559ba2=[],_0x62f182=0x0,_0x3ef84a=0x0;_0x3ef84a<_0x120bab;_0x3ef84a++)if(_0x3ef84a%0x4){var _0x43aa8e=_0x579c18[_0x461a64['charCodeAt'](_0x3ef84a-0x1)]<<_0x3ef84a%0x4*0x2,_0x54fb59=_0x579c18[_0x461a64[_0x1908bf(0x17b)](_0x3ef84a)]>>>0x6-_0x3ef84a%0x4*0x2,_0x47f3f0=_0x43aa8e|_0x54fb59;_0x559ba2[_0x62f182>>>0x2]|=_0x47f3f0<<0x18-_0x62f182%0x4*0x8,_0x62f182++;}return _0x24520b[_0x1908bf(0x3c4)](_0x559ba2,_0x62f182);}}()),_0x417c4a[_0x3395ca(0x397)][_0x3395ca(0x276)];}));}(We)),We[_0x594112(0x32d)];}var Ke={'exports':{}},Ir=Ke[_0x2f175c(0x32d)],Qt;function Tr(){var _0x5d1ab0=_0x2f175c;return Qt||(Qt=0x1,function(_0x489a00,_0x4bbe5f){(function(_0x41a2b1,_0x1937f4){_0x489a00['exports']=_0x1937f4(ie());}(Ir,function(_0x5121d3){return function(_0x3ed242){var _0x126c73=_0x3552,_0x536928=_0x5121d3,_0x30eba1=_0x536928[_0x126c73(0x1bc)],_0x3b7e00=_0x30eba1[_0x126c73(0x207)],_0x375310=_0x30eba1[_0x126c73(0x227)],_0x5a3991=_0x536928[_0x126c73(0x2bc)],_0x3a02f0=[];(function(){var _0x49288c=_0x126c73;for(var _0x56545e=0x0;_0x56545e<0x40;_0x56545e++)_0x3a02f0[_0x56545e]=_0x3ed242[_0x49288c(0x3dd)](_0x3ed242[_0x49288c(0x331)](_0x56545e+0x1))*0x100000000|0x0;}());var _0x1f6d6b=_0x5a3991['MD5']=_0x375310[_0x126c73(0x430)]({'_doReset':function(){var _0x4ed674=_0x126c73;this[_0x4ed674(0x3c1)]=new _0x3b7e00['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x509a31,_0x65b82c){var _0x44f450=_0x126c73;for(var _0x4d4ef3=0x0;_0x4d4ef3<0x10;_0x4d4ef3++){var _0x5a22a6=_0x65b82c+_0x4d4ef3,_0x27913a=_0x509a31[_0x5a22a6];_0x509a31[_0x5a22a6]=(_0x27913a<<0x8|_0x27913a>>>0x18)&0xff00ff|(_0x27913a<<0x18|_0x27913a>>>0x8)&0xff00ff00;}var _0x49fbd5=this[_0x44f450(0x3c1)][_0x44f450(0x351)],_0x4cdc81=_0x509a31[_0x65b82c+0x0],_0x12040e=_0x509a31[_0x65b82c+0x1],_0x3ae568=_0x509a31[_0x65b82c+0x2],_0x2bbe33=_0x509a31[_0x65b82c+0x3],_0x47a07c=_0x509a31[_0x65b82c+0x4],_0x53180d=_0x509a31[_0x65b82c+0x5],_0x224380=_0x509a31[_0x65b82c+0x6],_0x362f81=_0x509a31[_0x65b82c+0x7],_0x5c36c4=_0x509a31[_0x65b82c+0x8],_0x47c9c1=_0x509a31[_0x65b82c+0x9],_0x5adb5f=_0x509a31[_0x65b82c+0xa],_0x5d5302=_0x509a31[_0x65b82c+0xb],_0x42ee59=_0x509a31[_0x65b82c+0xc],_0x150c04=_0x509a31[_0x65b82c+0xd],_0xed0bd7=_0x509a31[_0x65b82c+0xe],_0x1d802a=_0x509a31[_0x65b82c+0xf],_0x47d5ce=_0x49fbd5[0x0],_0x192d63=_0x49fbd5[0x1],_0x7379bd=_0x49fbd5[0x2],_0x79ae47=_0x49fbd5[0x3];_0x47d5ce=_0x4feb2f(_0x47d5ce,_0x192d63,_0x7379bd,_0x79ae47,_0x4cdc81,0x7,_0x3a02f0[0x0]),_0x79ae47=_0x4feb2f(_0x79ae47,_0x47d5ce,_0x192d63,_0x7379bd,_0x12040e,0xc,_0x3a02f0[0x1]),_0x7379bd=_0x4feb2f(_0x7379bd,_0x79ae47,_0x47d5ce,_0x192d63,_0x3ae568,0x11,_0x3a02f0[0x2]),_0x192d63=_0x4feb2f(_0x192d63,_0x7379bd,_0x79ae47,_0x47d5ce,_0x2bbe33,0x16,_0x3a02f0[0x3]),_0x47d5ce=_0x4feb2f(_0x47d5ce,_0x192d63,_0x7379bd,_0x79ae47,_0x47a07c,0x7,_0x3a02f0[0x4]),_0x79ae47=_0x4feb2f(_0x79ae47,_0x47d5ce,_0x192d63,_0x7379bd,_0x53180d,0xc,_0x3a02f0[0x5]),_0x7379bd=_0x4feb2f(_0x7379bd,_0x79ae47,_0x47d5ce,_0x192d63,_0x224380,0x11,_0x3a02f0[0x6]),_0x192d63=_0x4feb2f(_0x192d63,_0x7379bd,_0x79ae47,_0x47d5ce,_0x362f81,0x16,_0x3a02f0[0x7]),_0x47d5ce=_0x4feb2f(_0x47d5ce,_0x192d63,_0x7379bd,_0x79ae47,_0x5c36c4,0x7,_0x3a02f0[0x8]),_0x79ae47=_0x4feb2f(_0x79ae47,_0x47d5ce,_0x192d63,_0x7379bd,_0x47c9c1,0xc,_0x3a02f0[0x9]),_0x7379bd=_0x4feb2f(_0x7379bd,_0x79ae47,_0x47d5ce,_0x192d63,_0x5adb5f,0x11,_0x3a02f0[0xa]),_0x192d63=_0x4feb2f(_0x192d63,_0x7379bd,_0x79ae47,_0x47d5ce,_0x5d5302,0x16,_0x3a02f0[0xb]),_0x47d5ce=_0x4feb2f(_0x47d5ce,_0x192d63,_0x7379bd,_0x79ae47,_0x42ee59,0x7,_0x3a02f0[0xc]),_0x79ae47=_0x4feb2f(_0x79ae47,_0x47d5ce,_0x192d63,_0x7379bd,_0x150c04,0xc,_0x3a02f0[0xd]),_0x7379bd=_0x4feb2f(_0x7379bd,_0x79ae47,_0x47d5ce,_0x192d63,_0xed0bd7,0x11,_0x3a02f0[0xe]),_0x192d63=_0x4feb2f(_0x192d63,_0x7379bd,_0x79ae47,_0x47d5ce,_0x1d802a,0x16,_0x3a02f0[0xf]),_0x47d5ce=_0x35ee09(_0x47d5ce,_0x192d63,_0x7379bd,_0x79ae47,_0x12040e,0x5,_0x3a02f0[0x10]),_0x79ae47=_0x35ee09(_0x79ae47,_0x47d5ce,_0x192d63,_0x7379bd,_0x224380,0x9,_0x3a02f0[0x11]),_0x7379bd=_0x35ee09(_0x7379bd,_0x79ae47,_0x47d5ce,_0x192d63,_0x5d5302,0xe,_0x3a02f0[0x12]),_0x192d63=_0x35ee09(_0x192d63,_0x7379bd,_0x79ae47,_0x47d5ce,_0x4cdc81,0x14,_0x3a02f0[0x13]),_0x47d5ce=_0x35ee09(_0x47d5ce,_0x192d63,_0x7379bd,_0x79ae47,_0x53180d,0x5,_0x3a02f0[0x14]),_0x79ae47=_0x35ee09(_0x79ae47,_0x47d5ce,_0x192d63,_0x7379bd,_0x5adb5f,0x9,_0x3a02f0[0x15]),_0x7379bd=_0x35ee09(_0x7379bd,_0x79ae47,_0x47d5ce,_0x192d63,_0x1d802a,0xe,_0x3a02f0[0x16]),_0x192d63=_0x35ee09(_0x192d63,_0x7379bd,_0x79ae47,_0x47d5ce,_0x47a07c,0x14,_0x3a02f0[0x17]),_0x47d5ce=_0x35ee09(_0x47d5ce,_0x192d63,_0x7379bd,_0x79ae47,_0x47c9c1,0x5,_0x3a02f0[0x18]),_0x79ae47=_0x35ee09(_0x79ae47,_0x47d5ce,_0x192d63,_0x7379bd,_0xed0bd7,0x9,_0x3a02f0[0x19]),_0x7379bd=_0x35ee09(_0x7379bd,_0x79ae47,_0x47d5ce,_0x192d63,_0x2bbe33,0xe,_0x3a02f0[0x1a]),_0x192d63=_0x35ee09(_0x192d63,_0x7379bd,_0x79ae47,_0x47d5ce,_0x5c36c4,0x14,_0x3a02f0[0x1b]),_0x47d5ce=_0x35ee09(_0x47d5ce,_0x192d63,_0x7379bd,_0x79ae47,_0x150c04,0x5,_0x3a02f0[0x1c]),_0x79ae47=_0x35ee09(_0x79ae47,_0x47d5ce,_0x192d63,_0x7379bd,_0x3ae568,0x9,_0x3a02f0[0x1d]),_0x7379bd=_0x35ee09(_0x7379bd,_0x79ae47,_0x47d5ce,_0x192d63,_0x362f81,0xe,_0x3a02f0[0x1e]),_0x192d63=_0x35ee09(_0x192d63,_0x7379bd,_0x79ae47,_0x47d5ce,_0x42ee59,0x14,_0x3a02f0[0x1f]),_0x47d5ce=_0x557e69(_0x47d5ce,_0x192d63,_0x7379bd,_0x79ae47,_0x53180d,0x4,_0x3a02f0[0x20]),_0x79ae47=_0x557e69(_0x79ae47,_0x47d5ce,_0x192d63,_0x7379bd,_0x5c36c4,0xb,_0x3a02f0[0x21]),_0x7379bd=_0x557e69(_0x7379bd,_0x79ae47,_0x47d5ce,_0x192d63,_0x5d5302,0x10,_0x3a02f0[0x22]),_0x192d63=_0x557e69(_0x192d63,_0x7379bd,_0x79ae47,_0x47d5ce,_0xed0bd7,0x17,_0x3a02f0[0x23]),_0x47d5ce=_0x557e69(_0x47d5ce,_0x192d63,_0x7379bd,_0x79ae47,_0x12040e,0x4,_0x3a02f0[0x24]),_0x79ae47=_0x557e69(_0x79ae47,_0x47d5ce,_0x192d63,_0x7379bd,_0x47a07c,0xb,_0x3a02f0[0x25]),_0x7379bd=_0x557e69(_0x7379bd,_0x79ae47,_0x47d5ce,_0x192d63,_0x362f81,0x10,_0x3a02f0[0x26]),_0x192d63=_0x557e69(_0x192d63,_0x7379bd,_0x79ae47,_0x47d5ce,_0x5adb5f,0x17,_0x3a02f0[0x27]),_0x47d5ce=_0x557e69(_0x47d5ce,_0x192d63,_0x7379bd,_0x79ae47,_0x150c04,0x4,_0x3a02f0[0x28]),_0x79ae47=_0x557e69(_0x79ae47,_0x47d5ce,_0x192d63,_0x7379bd,_0x4cdc81,0xb,_0x3a02f0[0x29]),_0x7379bd=_0x557e69(_0x7379bd,_0x79ae47,_0x47d5ce,_0x192d63,_0x2bbe33,0x10,_0x3a02f0[0x2a]),_0x192d63=_0x557e69(_0x192d63,_0x7379bd,_0x79ae47,_0x47d5ce,_0x224380,0x17,_0x3a02f0[0x2b]),_0x47d5ce=_0x557e69(_0x47d5ce,_0x192d63,_0x7379bd,_0x79ae47,_0x47c9c1,0x4,_0x3a02f0[0x2c]),_0x79ae47=_0x557e69(_0x79ae47,_0x47d5ce,_0x192d63,_0x7379bd,_0x42ee59,0xb,_0x3a02f0[0x2d]),_0x7379bd=_0x557e69(_0x7379bd,_0x79ae47,_0x47d5ce,_0x192d63,_0x1d802a,0x10,_0x3a02f0[0x2e]),_0x192d63=_0x557e69(_0x192d63,_0x7379bd,_0x79ae47,_0x47d5ce,_0x3ae568,0x17,_0x3a02f0[0x2f]),_0x47d5ce=_0x98dc9d(_0x47d5ce,_0x192d63,_0x7379bd,_0x79ae47,_0x4cdc81,0x6,_0x3a02f0[0x30]),_0x79ae47=_0x98dc9d(_0x79ae47,_0x47d5ce,_0x192d63,_0x7379bd,_0x362f81,0xa,_0x3a02f0[0x31]),_0x7379bd=_0x98dc9d(_0x7379bd,_0x79ae47,_0x47d5ce,_0x192d63,_0xed0bd7,0xf,_0x3a02f0[0x32]),_0x192d63=_0x98dc9d(_0x192d63,_0x7379bd,_0x79ae47,_0x47d5ce,_0x53180d,0x15,_0x3a02f0[0x33]),_0x47d5ce=_0x98dc9d(_0x47d5ce,_0x192d63,_0x7379bd,_0x79ae47,_0x42ee59,0x6,_0x3a02f0[0x34]),_0x79ae47=_0x98dc9d(_0x79ae47,_0x47d5ce,_0x192d63,_0x7379bd,_0x2bbe33,0xa,_0x3a02f0[0x35]),_0x7379bd=_0x98dc9d(_0x7379bd,_0x79ae47,_0x47d5ce,_0x192d63,_0x5adb5f,0xf,_0x3a02f0[0x36]),_0x192d63=_0x98dc9d(_0x192d63,_0x7379bd,_0x79ae47,_0x47d5ce,_0x12040e,0x15,_0x3a02f0[0x37]),_0x47d5ce=_0x98dc9d(_0x47d5ce,_0x192d63,_0x7379bd,_0x79ae47,_0x5c36c4,0x6,_0x3a02f0[0x38]),_0x79ae47=_0x98dc9d(_0x79ae47,_0x47d5ce,_0x192d63,_0x7379bd,_0x1d802a,0xa,_0x3a02f0[0x39]),_0x7379bd=_0x98dc9d(_0x7379bd,_0x79ae47,_0x47d5ce,_0x192d63,_0x224380,0xf,_0x3a02f0[0x3a]),_0x192d63=_0x98dc9d(_0x192d63,_0x7379bd,_0x79ae47,_0x47d5ce,_0x150c04,0x15,_0x3a02f0[0x3b]),_0x47d5ce=_0x98dc9d(_0x47d5ce,_0x192d63,_0x7379bd,_0x79ae47,_0x47a07c,0x6,_0x3a02f0[0x3c]),_0x79ae47=_0x98dc9d(_0x79ae47,_0x47d5ce,_0x192d63,_0x7379bd,_0x5d5302,0xa,_0x3a02f0[0x3d]),_0x7379bd=_0x98dc9d(_0x7379bd,_0x79ae47,_0x47d5ce,_0x192d63,_0x3ae568,0xf,_0x3a02f0[0x3e]),_0x192d63=_0x98dc9d(_0x192d63,_0x7379bd,_0x79ae47,_0x47d5ce,_0x47c9c1,0x15,_0x3a02f0[0x3f]),_0x49fbd5[0x0]=_0x49fbd5[0x0]+_0x47d5ce|0x0,_0x49fbd5[0x1]=_0x49fbd5[0x1]+_0x192d63|0x0,_0x49fbd5[0x2]=_0x49fbd5[0x2]+_0x7379bd|0x0,_0x49fbd5[0x3]=_0x49fbd5[0x3]+_0x79ae47|0x0;},'_doFinalize':function(){var _0x3d28c2=_0x126c73,_0x294324=this[_0x3d28c2(0x2e0)],_0x4fd726=_0x294324[_0x3d28c2(0x351)],_0x459ffe=this[_0x3d28c2(0x42e)]*0x8,_0x29f365=_0x294324['sigBytes']*0x8;_0x4fd726[_0x29f365>>>0x5]|=0x80<<0x18-_0x29f365%0x20;var _0x23b266=_0x3ed242[_0x3d28c2(0x2ed)](_0x459ffe/0x100000000),_0x55a94e=_0x459ffe;_0x4fd726[(_0x29f365+0x40>>>0x9<<0x4)+0xf]=(_0x23b266<<0x8|_0x23b266>>>0x18)&0xff00ff|(_0x23b266<<0x18|_0x23b266>>>0x8)&0xff00ff00,_0x4fd726[(_0x29f365+0x40>>>0x9<<0x4)+0xe]=(_0x55a94e<<0x8|_0x55a94e>>>0x18)&0xff00ff|(_0x55a94e<<0x18|_0x55a94e>>>0x8)&0xff00ff00,_0x294324[_0x3d28c2(0x27b)]=(_0x4fd726[_0x3d28c2(0x270)]+0x1)*0x4,this[_0x3d28c2(0x1fd)]();for(var _0x278f11=this[_0x3d28c2(0x3c1)],_0x3b4af1=_0x278f11[_0x3d28c2(0x351)],_0x5d3162=0x0;_0x5d3162<0x4;_0x5d3162++){var _0x3db5c2=_0x3b4af1[_0x5d3162];_0x3b4af1[_0x5d3162]=(_0x3db5c2<<0x8|_0x3db5c2>>>0x18)&0xff00ff|(_0x3db5c2<<0x18|_0x3db5c2>>>0x8)&0xff00ff00;}return _0x278f11;},'clone':function(){var _0x4301a0=_0x126c73,_0x501765=_0x375310['clone'][_0x4301a0(0x26a)](this);return _0x501765[_0x4301a0(0x3c1)]=this[_0x4301a0(0x3c1)][_0x4301a0(0x228)](),_0x501765;}});function _0x4feb2f(_0x2f274,_0x3b013d,_0xd55846,_0x949f96,_0x4c8ed5,_0x116b35,_0x74c0ce){var _0x45174c=_0x2f274+(_0x3b013d&_0xd55846|~_0x3b013d&_0x949f96)+_0x4c8ed5+_0x74c0ce;return(_0x45174c<<_0x116b35|_0x45174c>>>0x20-_0x116b35)+_0x3b013d;}function _0x35ee09(_0xc3da24,_0x19f3c6,_0x22b97f,_0x268f3e,_0xf81fde,_0x4521c8,_0x5d2912){var _0x141acd=_0xc3da24+(_0x19f3c6&_0x268f3e|_0x22b97f&~_0x268f3e)+_0xf81fde+_0x5d2912;return(_0x141acd<<_0x4521c8|_0x141acd>>>0x20-_0x4521c8)+_0x19f3c6;}function _0x557e69(_0x4a0006,_0x5ebff5,_0x3f323e,_0x522639,_0x263bf3,_0x5eaa9a,_0x1fd109){var _0x2733bf=_0x4a0006+(_0x5ebff5^_0x3f323e^_0x522639)+_0x263bf3+_0x1fd109;return(_0x2733bf<<_0x5eaa9a|_0x2733bf>>>0x20-_0x5eaa9a)+_0x5ebff5;}function _0x98dc9d(_0x1b679f,_0x11544e,_0x53a100,_0xc54cff,_0x1ace10,_0x37b207,_0x5bb2cb){var _0x25ddb9=_0x1b679f+(_0x53a100^(_0x11544e|~_0xc54cff))+_0x1ace10+_0x5bb2cb;return(_0x25ddb9<<_0x37b207|_0x25ddb9>>>0x20-_0x37b207)+_0x11544e;}_0x536928['MD5']=_0x375310['_createHelper'](_0x1f6d6b),_0x536928['HmacMD5']=_0x375310[_0x126c73(0x167)](_0x1f6d6b);}(Math),_0x5121d3['MD5'];}));}(Ke)),Ke[_0x5d1ab0(0x32d)];}var Ye={'exports':{}},qe={'exports':{}},Cr=qe[_0x2f175c(0x32d)],ei;function Rr(){return ei||(ei=0x1,function(_0x5eed1e,_0x1db19c){(function(_0x5300b7,_0x2e99f0){_0x5eed1e['exports']=_0x2e99f0(ie());}(Cr,function(_0x54ca7e){var _0x21fb77=_0x3552;return(function(){var _0x41154f=_0x3552,_0x2d0221=_0x54ca7e,_0x1bdcf1=_0x2d0221['lib'],_0x3c8dbb=_0x1bdcf1[_0x41154f(0x207)],_0x50fe49=_0x1bdcf1[_0x41154f(0x227)],_0x47e1ea=_0x2d0221['algo'],_0x198865=[],_0x5c9698=_0x47e1ea[_0x41154f(0x3c5)]=_0x50fe49[_0x41154f(0x430)]({'_doReset':function(){this['_hash']=new _0x3c8dbb['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2f071e,_0x4057b4){var _0x45d308=_0x41154f;for(var _0x153bb9=this[_0x45d308(0x3c1)][_0x45d308(0x351)],_0x5e7ebc=_0x153bb9[0x0],_0x5d297c=_0x153bb9[0x1],_0x12547d=_0x153bb9[0x2],_0x2d12a8=_0x153bb9[0x3],_0x1b1c0d=_0x153bb9[0x4],_0x4aa296=0x0;_0x4aa296<0x50;_0x4aa296++){if(_0x4aa296<0x10)_0x198865[_0x4aa296]=_0x2f071e[_0x4057b4+_0x4aa296]|0x0;else{var _0x19353f=_0x198865[_0x4aa296-0x3]^_0x198865[_0x4aa296-0x8]^_0x198865[_0x4aa296-0xe]^_0x198865[_0x4aa296-0x10];_0x198865[_0x4aa296]=_0x19353f<<0x1|_0x19353f>>>0x1f;}var _0x219d19=(_0x5e7ebc<<0x5|_0x5e7ebc>>>0x1b)+_0x1b1c0d+_0x198865[_0x4aa296];_0x4aa296<0x14?_0x219d19+=(_0x5d297c&_0x12547d|~_0x5d297c&_0x2d12a8)+0x5a827999:_0x4aa296<0x28?_0x219d19+=(_0x5d297c^_0x12547d^_0x2d12a8)+0x6ed9eba1:_0x4aa296<0x3c?_0x219d19+=(_0x5d297c&_0x12547d|_0x5d297c&_0x2d12a8|_0x12547d&_0x2d12a8)-0x70e44324:_0x219d19+=(_0x5d297c^_0x12547d^_0x2d12a8)-0x359d3e2a,_0x1b1c0d=_0x2d12a8,_0x2d12a8=_0x12547d,_0x12547d=_0x5d297c<<0x1e|_0x5d297c>>>0x2,_0x5d297c=_0x5e7ebc,_0x5e7ebc=_0x219d19;}_0x153bb9[0x0]=_0x153bb9[0x0]+_0x5e7ebc|0x0,_0x153bb9[0x1]=_0x153bb9[0x1]+_0x5d297c|0x0,_0x153bb9[0x2]=_0x153bb9[0x2]+_0x12547d|0x0,_0x153bb9[0x3]=_0x153bb9[0x3]+_0x2d12a8|0x0,_0x153bb9[0x4]=_0x153bb9[0x4]+_0x1b1c0d|0x0;},'_doFinalize':function(){var _0x43c2bd=_0x41154f,_0x27d594=this[_0x43c2bd(0x2e0)],_0x30478a=_0x27d594[_0x43c2bd(0x351)],_0x3da06e=this[_0x43c2bd(0x42e)]*0x8,_0x1eb414=_0x27d594[_0x43c2bd(0x27b)]*0x8;return _0x30478a[_0x1eb414>>>0x5]|=0x80<<0x18-_0x1eb414%0x20,_0x30478a[(_0x1eb414+0x40>>>0x9<<0x4)+0xe]=Math[_0x43c2bd(0x2ed)](_0x3da06e/0x100000000),_0x30478a[(_0x1eb414+0x40>>>0x9<<0x4)+0xf]=_0x3da06e,_0x27d594[_0x43c2bd(0x27b)]=_0x30478a[_0x43c2bd(0x270)]*0x4,this['_process'](),this[_0x43c2bd(0x3c1)];},'clone':function(){var _0x19eef8=_0x41154f,_0x166b00=_0x50fe49[_0x19eef8(0x228)][_0x19eef8(0x26a)](this);return _0x166b00[_0x19eef8(0x3c1)]=this[_0x19eef8(0x3c1)][_0x19eef8(0x228)](),_0x166b00;}});_0x2d0221[_0x41154f(0x3c5)]=_0x50fe49[_0x41154f(0x429)](_0x5c9698),_0x2d0221[_0x41154f(0x18c)]=_0x50fe49[_0x41154f(0x167)](_0x5c9698);}()),_0x54ca7e[_0x21fb77(0x3c5)];}));}(qe)),qe['exports'];}var ze={'exports':{}},br=ze[_0x2f175c(0x32d)],ti;function yr(){var _0x1942d6=_0x2f175c;return ti||(ti=0x1,function(_0x1bae03,_0x189c6b){(function(_0x3ec371,_0x5b066e){var _0x714902=_0x3552;_0x1bae03[_0x714902(0x32d)]=_0x5b066e(ie());}(br,function(_0x152c01){(function(){var _0x2d5f17=_0x3552,_0x12cf2d=_0x152c01,_0xafdfbc=_0x12cf2d[_0x2d5f17(0x1bc)],_0x3f292f=_0xafdfbc[_0x2d5f17(0x1d4)],_0xd30bf4=_0x12cf2d[_0x2d5f17(0x397)],_0x3af6e1=_0xd30bf4[_0x2d5f17(0x35c)],_0x1beede=_0x12cf2d['algo'];_0x1beede[_0x2d5f17(0x2cd)]=_0x3f292f[_0x2d5f17(0x430)]({'init':function(_0x1697fb,_0x40a977){var _0x530cb7=_0x2d5f17;_0x1697fb=this[_0x530cb7(0x178)]=new _0x1697fb[(_0x530cb7(0x248))](),typeof _0x40a977==_0x530cb7(0x421)&&(_0x40a977=_0x3af6e1['parse'](_0x40a977));var _0xc73d2e=_0x1697fb[_0x530cb7(0x41f)],_0x2151f4=_0xc73d2e*0x4;_0x40a977['sigBytes']>_0x2151f4&&(_0x40a977=_0x1697fb[_0x530cb7(0x2a7)](_0x40a977)),_0x40a977['clamp']();for(var _0x2e302e=this[_0x530cb7(0x326)]=_0x40a977[_0x530cb7(0x228)](),_0x47d39c=this['_iKey']=_0x40a977[_0x530cb7(0x228)](),_0x176e64=_0x2e302e['words'],_0x10f045=_0x47d39c[_0x530cb7(0x351)],_0x49f6a0=0x0;_0x49f6a0<_0xc73d2e;_0x49f6a0++)_0x176e64[_0x49f6a0]^=0x5c5c5c5c,_0x10f045[_0x49f6a0]^=0x36363636;_0x2e302e['sigBytes']=_0x47d39c['sigBytes']=_0x2151f4,this['reset']();},'reset':function(){var _0x59de2d=_0x2d5f17,_0x23e722=this['_hasher'];_0x23e722[_0x59de2d(0x36e)](),_0x23e722[_0x59de2d(0x2b1)](this[_0x59de2d(0x1a3)]);},'update':function(_0x1b58ec){var _0x4d145d=_0x2d5f17;return this[_0x4d145d(0x178)][_0x4d145d(0x2b1)](_0x1b58ec),this;},'finalize':function(_0x20e84b){var _0x5e7477=_0x2d5f17,_0x7c080f=this[_0x5e7477(0x178)],_0x23ae91=_0x7c080f[_0x5e7477(0x2a7)](_0x20e84b);_0x7c080f[_0x5e7477(0x36e)]();var _0x549228=_0x7c080f[_0x5e7477(0x2a7)](this[_0x5e7477(0x326)]['clone']()[_0x5e7477(0x262)](_0x23ae91));return _0x549228;}});}());}));}(ze)),ze[_0x1942d6(0x32d)];}var Or=Ye[_0x2f175c(0x32d)],ii;function Ui(){var _0x1705f9=_0x2f175c;return ii||(ii=0x1,function(_0x4f8ed7,_0x3f1be2){(function(_0x5ab3c3,_0x2bde5c,_0x4f114b){var _0x4ebb8c=_0x3552;_0x4f8ed7[_0x4ebb8c(0x32d)]=_0x2bde5c(ie(),Rr(),yr());}(Or,function(_0x33d272){var _0x2c9467=_0x3552;return(function(){var _0x18c6cf=_0x3552,_0x16bed6=_0x33d272,_0x2f347c=_0x16bed6[_0x18c6cf(0x1bc)],_0x952d2f=_0x2f347c[_0x18c6cf(0x1d4)],_0x5d4568=_0x2f347c[_0x18c6cf(0x207)],_0x38842b=_0x16bed6['algo'],_0x21b276=_0x38842b[_0x18c6cf(0x3f0)],_0x2d4eaf=_0x38842b[_0x18c6cf(0x443)]=_0x952d2f[_0x18c6cf(0x430)]({'cfg':_0x952d2f['extend']({'keySize':0x80/0x20,'hasher':_0x21b276,'iterations':0x1}),'init':function(_0x2619f3){var _0x5af38d=_0x18c6cf;this[_0x5af38d(0x236)]=this[_0x5af38d(0x236)]['extend'](_0x2619f3);},'compute':function(_0x4ad702,_0x1d0b3c){var _0x3d9b4a=_0x18c6cf;for(var _0xdc0af3,_0x33610b=this[_0x3d9b4a(0x236)],_0x46879d=_0x33610b['hasher'][_0x3d9b4a(0x3c4)](),_0x512f51=_0x5d4568[_0x3d9b4a(0x3c4)](),_0x501cea=_0x512f51[_0x3d9b4a(0x351)],_0x4308c1=_0x33610b[_0x3d9b4a(0x43b)],_0x2e2dcc=_0x33610b[_0x3d9b4a(0x1f2)];_0x501cea['length']<_0x4308c1;){_0xdc0af3&&_0x46879d[_0x3d9b4a(0x2b1)](_0xdc0af3),_0xdc0af3=_0x46879d[_0x3d9b4a(0x2b1)](_0x4ad702)['finalize'](_0x1d0b3c),_0x46879d[_0x3d9b4a(0x36e)]();for(var _0x1e15e7=0x1;_0x1e15e7<_0x2e2dcc;_0x1e15e7++)_0xdc0af3=_0x46879d['finalize'](_0xdc0af3),_0x46879d[_0x3d9b4a(0x36e)]();_0x512f51[_0x3d9b4a(0x262)](_0xdc0af3);}return _0x512f51[_0x3d9b4a(0x27b)]=_0x4308c1*0x4,_0x512f51;}});_0x16bed6['EvpKDF']=function(_0x5dd099,_0x2f4544,_0x6ddef7){var _0x114b0b=_0x18c6cf;return _0x2d4eaf[_0x114b0b(0x3c4)](_0x6ddef7)['compute'](_0x5dd099,_0x2f4544);};}()),_0x33d272[_0x2c9467(0x443)];}));}(Ye)),Ye[_0x1705f9(0x32d)];}var Je={'exports':{}},Nr=Je['exports'],ni;function wi(){var _0x4154ba=_0x2f175c;return ni||(ni=0x1,function(_0x5ea9fc,_0x8c5edb){(function(_0x2d4167,_0xdd02dd,_0x310d44){var _0x4482a3=_0x3552;_0x5ea9fc[_0x4482a3(0x32d)]=_0xdd02dd(ie(),Ui());}(Nr,function(_0x1fdeb4){var _0x49537f=_0x3552;_0x1fdeb4['lib'][_0x49537f(0x2b7)]||function(_0x4441ba){var _0x2be109=_0x49537f,_0x56f926=_0x1fdeb4,_0x1f4eb5=_0x56f926['lib'],_0x482fee=_0x1f4eb5[_0x2be109(0x1d4)],_0x2158f7=_0x1f4eb5['WordArray'],_0x56d734=_0x1f4eb5[_0x2be109(0x27c)],_0x24bd91=_0x56f926[_0x2be109(0x397)];_0x24bd91[_0x2be109(0x35c)];var _0x21ad09=_0x24bd91[_0x2be109(0x276)],_0x38f63e=_0x56f926['algo'],_0x496815=_0x38f63e[_0x2be109(0x443)],_0x220bcf=_0x1f4eb5[_0x2be109(0x2b7)]=_0x56d734['extend']({'cfg':_0x482fee[_0x2be109(0x430)](),'createEncryptor':function(_0x166e81,_0x490a68){var _0x3e4ca9=_0x2be109;return this[_0x3e4ca9(0x3c4)](this['_ENC_XFORM_MODE'],_0x166e81,_0x490a68);},'createDecryptor':function(_0x417547,_0x58573d){var _0x205d32=_0x2be109;return this['create'](this[_0x205d32(0x3ff)],_0x417547,_0x58573d);},'init':function(_0x1e04a,_0x24816a,_0x30355e){var _0x341c23=_0x2be109;this['cfg']=this[_0x341c23(0x236)][_0x341c23(0x430)](_0x30355e),this[_0x341c23(0x22b)]=_0x1e04a,this[_0x341c23(0x2d4)]=_0x24816a,this[_0x341c23(0x36e)]();},'reset':function(){var _0x4086b0=_0x2be109;_0x56d734[_0x4086b0(0x36e)][_0x4086b0(0x26a)](this),this[_0x4086b0(0x311)]();},'process':function(_0x4e6596){var _0x3da5a6=_0x2be109;return this[_0x3da5a6(0x1b0)](_0x4e6596),this[_0x3da5a6(0x1fd)]();},'finalize':function(_0x2b6a4d){var _0x14ce14=_0x2be109;_0x2b6a4d&&this['_append'](_0x2b6a4d);var _0xeab725=this[_0x14ce14(0x415)]();return _0xeab725;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2b5725(_0xd166e4){return typeof _0xd166e4=='string'?_0x488add:_0x565dad;}return function(_0x5bbd49){return{'encrypt':function(_0x5841d0,_0x194cac,_0x1725fd){var _0x5b2923=_0x3552;return _0x2b5725(_0x194cac)[_0x5b2923(0x3f8)](_0x5bbd49,_0x5841d0,_0x194cac,_0x1725fd);},'decrypt':function(_0x1acb5a,_0x1ab24e,_0x11e88f){return _0x2b5725(_0x1ab24e)['decrypt'](_0x5bbd49,_0x1acb5a,_0x1ab24e,_0x11e88f);}};};}())});_0x1f4eb5[_0x2be109(0x18d)]=_0x220bcf[_0x2be109(0x430)]({'_doFinalize':function(){var _0x1b1ae2=_0x2be109,_0x21a7f8=this[_0x1b1ae2(0x1fd)](!0x0);return _0x21a7f8;},'blockSize':0x1});var _0x2ed63e=_0x56f926[_0x2be109(0x213)]={},_0x25e1e4=_0x1f4eb5[_0x2be109(0x1ed)]=_0x482fee[_0x2be109(0x430)]({'createEncryptor':function(_0x2eed96,_0x1a7fed){var _0x219f56=_0x2be109;return this['Encryptor'][_0x219f56(0x3c4)](_0x2eed96,_0x1a7fed);},'createDecryptor':function(_0x43ed7d,_0x143a65){var _0x25aa3a=_0x2be109;return this[_0x25aa3a(0x313)][_0x25aa3a(0x3c4)](_0x43ed7d,_0x143a65);},'init':function(_0x5a5f89,_0x3cae49){var _0x1792da=_0x2be109;this[_0x1792da(0x1a9)]=_0x5a5f89,this[_0x1792da(0x2de)]=_0x3cae49;}}),_0x63d354=_0x2ed63e['CBC']=(function(){var _0x51df1c=_0x2be109,_0x240b8b=_0x25e1e4['extend']();_0x240b8b[_0x51df1c(0x423)]=_0x240b8b['extend']({'processBlock':function(_0x598aae,_0x505663){var _0x1ebdea=_0x51df1c,_0x39a2ac=this[_0x1ebdea(0x1a9)],_0x5707ee=_0x39a2ac[_0x1ebdea(0x41f)];_0x295012[_0x1ebdea(0x26a)](this,_0x598aae,_0x505663,_0x5707ee),_0x39a2ac[_0x1ebdea(0x316)](_0x598aae,_0x505663),this['_prevBlock']=_0x598aae[_0x1ebdea(0x425)](_0x505663,_0x505663+_0x5707ee);}}),_0x240b8b[_0x51df1c(0x313)]=_0x240b8b['extend']({'processBlock':function(_0x66121f,_0x57d172){var _0x19ea04=_0x51df1c,_0x21dd2b=this[_0x19ea04(0x1a9)],_0x213453=_0x21dd2b[_0x19ea04(0x41f)],_0x1eda48=_0x66121f[_0x19ea04(0x425)](_0x57d172,_0x57d172+_0x213453);_0x21dd2b[_0x19ea04(0x3e0)](_0x66121f,_0x57d172),_0x295012[_0x19ea04(0x26a)](this,_0x66121f,_0x57d172,_0x213453),this[_0x19ea04(0x3b0)]=_0x1eda48;}});function _0x295012(_0x2468da,_0x5a4ce9,_0x26117b){var _0x9e2271=_0x51df1c,_0x4b7135,_0x9ce981=this[_0x9e2271(0x2de)];_0x9ce981?(_0x4b7135=_0x9ce981,this[_0x9e2271(0x2de)]=_0x4441ba):_0x4b7135=this[_0x9e2271(0x3b0)];for(var _0x491ecf=0x0;_0x491ecf<_0x26117b;_0x491ecf++)_0x2468da[_0x5a4ce9+_0x491ecf]^=_0x4b7135[_0x491ecf];}return _0x240b8b;}()),_0x4325d3=_0x56f926[_0x2be109(0x189)]={},_0x476940=_0x4325d3[_0x2be109(0x355)]={'pad':function(_0x29055c,_0x16cdb4){var _0x25dba6=_0x2be109;for(var _0x593cbb=_0x16cdb4*0x4,_0x3a5579=_0x593cbb-_0x29055c[_0x25dba6(0x27b)]%_0x593cbb,_0x4b3399=_0x3a5579<<0x18|_0x3a5579<<0x10|_0x3a5579<<0x8|_0x3a5579,_0x5e48c1=[],_0x3ec6b3=0x0;_0x3ec6b3<_0x3a5579;_0x3ec6b3+=0x4)_0x5e48c1[_0x25dba6(0x2d3)](_0x4b3399);var _0x18daf1=_0x2158f7[_0x25dba6(0x3c4)](_0x5e48c1,_0x3a5579);_0x29055c[_0x25dba6(0x262)](_0x18daf1);},'unpad':function(_0x5d6443){var _0x25d38e=_0x2be109,_0xab2c5c=_0x5d6443['words'][_0x5d6443[_0x25d38e(0x27b)]-0x1>>>0x2]&0xff;_0x5d6443['sigBytes']-=_0xab2c5c;}};_0x1f4eb5['BlockCipher']=_0x220bcf[_0x2be109(0x430)]({'cfg':_0x220bcf[_0x2be109(0x236)][_0x2be109(0x430)]({'mode':_0x63d354,'padding':_0x476940}),'reset':function(){var _0x457f89=_0x2be109,_0x47d037;_0x220bcf[_0x457f89(0x36e)]['call'](this);var _0x59ca37=this[_0x457f89(0x236)],_0x3278e5=_0x59ca37['iv'],_0x4daa9d=_0x59ca37[_0x457f89(0x213)];this[_0x457f89(0x22b)]==this[_0x457f89(0x19a)]?_0x47d037=_0x4daa9d[_0x457f89(0x20b)]:(_0x47d037=_0x4daa9d['createDecryptor'],this[_0x457f89(0x206)]=0x1),this[_0x457f89(0x3af)]&&this['_mode'][_0x457f89(0x2df)]==_0x47d037?this[_0x457f89(0x3af)]['init'](this,_0x3278e5&&_0x3278e5[_0x457f89(0x351)]):(this[_0x457f89(0x3af)]=_0x47d037['call'](_0x4daa9d,this,_0x3278e5&&_0x3278e5[_0x457f89(0x351)]),this[_0x457f89(0x3af)][_0x457f89(0x2df)]=_0x47d037);},'_doProcessBlock':function(_0x433b0f,_0x1e3d90){var _0x3bdc43=_0x2be109;this[_0x3bdc43(0x3af)][_0x3bdc43(0x1dd)](_0x433b0f,_0x1e3d90);},'_doFinalize':function(){var _0x4c9a3d=_0x2be109,_0x8a23c9,_0x56ce60=this['cfg'][_0x4c9a3d(0x3ac)];return this[_0x4c9a3d(0x22b)]==this[_0x4c9a3d(0x19a)]?(_0x56ce60[_0x4c9a3d(0x189)](this['_data'],this[_0x4c9a3d(0x41f)]),_0x8a23c9=this[_0x4c9a3d(0x1fd)](!0x0)):(_0x8a23c9=this[_0x4c9a3d(0x1fd)](!0x0),_0x56ce60['unpad'](_0x8a23c9)),_0x8a23c9;},'blockSize':0x80/0x20});var _0x1ed7dc=_0x1f4eb5[_0x2be109(0x328)]=_0x482fee[_0x2be109(0x430)]({'init':function(_0x5c93aa){var _0x31c48f=_0x2be109;this[_0x31c48f(0x40e)](_0x5c93aa);},'toString':function(_0x1af156){var _0x2e355c=_0x2be109;return(_0x1af156||this[_0x2e355c(0x269)])[_0x2e355c(0x1fc)](this);}}),_0x561284=_0x56f926[_0x2be109(0x36c)]={},_0x5217ab=_0x561284[_0x2be109(0x378)]={'stringify':function(_0x1878a6){var _0x25ce85=_0x2be109,_0x307e0a,_0x5a9985=_0x1878a6['ciphertext'],_0x3ec4ab=_0x1878a6['salt'];return _0x3ec4ab?_0x307e0a=_0x2158f7[_0x25ce85(0x3c4)]([0x53616c74,0x65645f5f])[_0x25ce85(0x262)](_0x3ec4ab)['concat'](_0x5a9985):_0x307e0a=_0x5a9985,_0x307e0a[_0x25ce85(0x373)](_0x21ad09);},'parse':function(_0x4b8f3e){var _0x380aba=_0x2be109,_0x438cc1,_0xb121a7=_0x21ad09[_0x380aba(0x40d)](_0x4b8f3e),_0x328eba=_0xb121a7[_0x380aba(0x351)];return _0x328eba[0x0]==0x53616c74&&_0x328eba[0x1]==0x65645f5f&&(_0x438cc1=_0x2158f7[_0x380aba(0x3c4)](_0x328eba[_0x380aba(0x425)](0x2,0x4)),_0x328eba[_0x380aba(0x216)](0x0,0x4),_0xb121a7['sigBytes']-=0x10),_0x1ed7dc['create']({'ciphertext':_0xb121a7,'salt':_0x438cc1});}},_0x565dad=_0x1f4eb5[_0x2be109(0x297)]=_0x482fee[_0x2be109(0x430)]({'cfg':_0x482fee['extend']({'format':_0x5217ab}),'encrypt':function(_0x4a30d2,_0x30766e,_0x30997c,_0x282477){var _0x35d061=_0x2be109;_0x282477=this[_0x35d061(0x236)][_0x35d061(0x430)](_0x282477);var _0x392668=_0x4a30d2[_0x35d061(0x20b)](_0x30997c,_0x282477),_0x1c4fda=_0x392668[_0x35d061(0x2a7)](_0x30766e),_0x2ceaa9=_0x392668[_0x35d061(0x236)];return _0x1ed7dc[_0x35d061(0x3c4)]({'ciphertext':_0x1c4fda,'key':_0x30997c,'iv':_0x2ceaa9['iv'],'algorithm':_0x4a30d2,'mode':_0x2ceaa9['mode'],'padding':_0x2ceaa9[_0x35d061(0x3ac)],'blockSize':_0x4a30d2[_0x35d061(0x41f)],'formatter':_0x282477[_0x35d061(0x36c)]});},'decrypt':function(_0x155a81,_0xba0a72,_0x4c50b1,_0x4bd944){var _0x13032b=_0x2be109;_0x4bd944=this[_0x13032b(0x236)][_0x13032b(0x430)](_0x4bd944),_0xba0a72=this[_0x13032b(0x1bf)](_0xba0a72,_0x4bd944[_0x13032b(0x36c)]);var _0x5f2ae5=_0x155a81[_0x13032b(0x1a8)](_0x4c50b1,_0x4bd944)['finalize'](_0xba0a72[_0x13032b(0x1e3)]);return _0x5f2ae5;},'_parse':function(_0xe90d87,_0x1f1761){var _0x3a0628=_0x2be109;return typeof _0xe90d87==_0x3a0628(0x421)?_0x1f1761[_0x3a0628(0x40d)](_0xe90d87,this):_0xe90d87;}}),_0x33bd39=_0x56f926[_0x2be109(0x447)]={},_0x58914c=_0x33bd39[_0x2be109(0x378)]={'execute':function(_0x3363bf,_0x374e59,_0x44e5c4,_0x493433,_0x357895){var _0x35e034=_0x2be109;if(_0x493433||(_0x493433=_0x2158f7[_0x35e034(0x28e)](0x40/0x8)),_0x357895)var _0x52be3b=_0x496815['create']({'keySize':_0x374e59+_0x44e5c4,'hasher':_0x357895})[_0x35e034(0x29a)](_0x3363bf,_0x493433);else var _0x52be3b=_0x496815[_0x35e034(0x3c4)]({'keySize':_0x374e59+_0x44e5c4})[_0x35e034(0x29a)](_0x3363bf,_0x493433);var _0x3a25e3=_0x2158f7[_0x35e034(0x3c4)](_0x52be3b['words']['slice'](_0x374e59),_0x44e5c4*0x4);return _0x52be3b[_0x35e034(0x27b)]=_0x374e59*0x4,_0x1ed7dc[_0x35e034(0x3c4)]({'key':_0x52be3b,'iv':_0x3a25e3,'salt':_0x493433});}},_0x488add=_0x1f4eb5['PasswordBasedCipher']=_0x565dad[_0x2be109(0x430)]({'cfg':_0x565dad[_0x2be109(0x236)]['extend']({'kdf':_0x58914c}),'encrypt':function(_0x1653fb,_0x8dc2f7,_0x2e7932,_0x41b2a4){var _0x6f1c8a=_0x2be109;_0x41b2a4=this[_0x6f1c8a(0x236)][_0x6f1c8a(0x430)](_0x41b2a4);var _0x55c5b5=_0x41b2a4[_0x6f1c8a(0x447)]['execute'](_0x2e7932,_0x1653fb['keySize'],_0x1653fb[_0x6f1c8a(0x1ec)],_0x41b2a4[_0x6f1c8a(0x18e)],_0x41b2a4['hasher']);_0x41b2a4['iv']=_0x55c5b5['iv'];var _0x5cec85=_0x565dad[_0x6f1c8a(0x3f8)]['call'](this,_0x1653fb,_0x8dc2f7,_0x55c5b5['key'],_0x41b2a4);return _0x5cec85['mixIn'](_0x55c5b5),_0x5cec85;},'decrypt':function(_0x456910,_0x264594,_0x2e7445,_0x483cbf){var _0x104b3e=_0x2be109;_0x483cbf=this['cfg'][_0x104b3e(0x430)](_0x483cbf),_0x264594=this[_0x104b3e(0x1bf)](_0x264594,_0x483cbf['format']);var _0x4d04ac=_0x483cbf[_0x104b3e(0x447)][_0x104b3e(0x1b1)](_0x2e7445,_0x456910[_0x104b3e(0x43b)],_0x456910[_0x104b3e(0x1ec)],_0x264594[_0x104b3e(0x18e)],_0x483cbf['hasher']);_0x483cbf['iv']=_0x4d04ac['iv'];var _0x3145f8=_0x565dad[_0x104b3e(0x233)]['call'](this,_0x456910,_0x264594,_0x4d04ac[_0x104b3e(0x1d3)],_0x483cbf);return _0x3145f8;}});}();}));}(Je)),Je[_0x4154ba(0x32d)];}var Dr=Ve['exports'],ri;function Ur(){var _0x1101f9=_0x2f175c;return ri||(ri=0x1,function(_0xba43d2,_0x2f3231){(function(_0x4b4a75,_0x37df16,_0x5a9462){var _0xc48b59=_0x3552;_0xba43d2[_0xc48b59(0x32d)]=_0x37df16(ie(),Di(),Tr(),Ui(),wi());}(Dr,function(_0x16cb64){var _0x4dbb28=_0x3552;return(function(){var _0x31b45c=_0x3552,_0x528678=_0x16cb64,_0x20d5e8=_0x528678[_0x31b45c(0x1bc)],_0x4b1d58=_0x20d5e8[_0x31b45c(0x2c4)],_0x1590ed=_0x528678['algo'],_0x13386f=[],_0x55d1de=[],_0x260503=[],_0x22ac92=[],_0x29b7c4=[],_0x2e7aeb=[],_0x4ce188=[],_0x8d1358=[],_0x359077=[],_0x3b3d9e=[];(function(){for(var _0x5bbd95=[],_0x593703=0x0;_0x593703<0x100;_0x593703++)_0x593703<0x80?_0x5bbd95[_0x593703]=_0x593703<<0x1:_0x5bbd95[_0x593703]=_0x593703<<0x1^0x11b;for(var _0x2c77c4=0x0,_0x494330=0x0,_0x593703=0x0;_0x593703<0x100;_0x593703++){var _0x481dd8=_0x494330^_0x494330<<0x1^_0x494330<<0x2^_0x494330<<0x3^_0x494330<<0x4;_0x481dd8=_0x481dd8>>>0x8^_0x481dd8&0xff^0x63,_0x13386f[_0x2c77c4]=_0x481dd8,_0x55d1de[_0x481dd8]=_0x2c77c4;var _0x20b48d=_0x5bbd95[_0x2c77c4],_0x132412=_0x5bbd95[_0x20b48d],_0x4cbbdb=_0x5bbd95[_0x132412],_0x209f76=_0x5bbd95[_0x481dd8]*0x101^_0x481dd8*0x1010100;_0x260503[_0x2c77c4]=_0x209f76<<0x18|_0x209f76>>>0x8,_0x22ac92[_0x2c77c4]=_0x209f76<<0x10|_0x209f76>>>0x10,_0x29b7c4[_0x2c77c4]=_0x209f76<<0x8|_0x209f76>>>0x18,_0x2e7aeb[_0x2c77c4]=_0x209f76;var _0x209f76=_0x4cbbdb*0x1010101^_0x132412*0x10001^_0x20b48d*0x101^_0x2c77c4*0x1010100;_0x4ce188[_0x481dd8]=_0x209f76<<0x18|_0x209f76>>>0x8,_0x8d1358[_0x481dd8]=_0x209f76<<0x10|_0x209f76>>>0x10,_0x359077[_0x481dd8]=_0x209f76<<0x8|_0x209f76>>>0x18,_0x3b3d9e[_0x481dd8]=_0x209f76,_0x2c77c4?(_0x2c77c4=_0x20b48d^_0x5bbd95[_0x5bbd95[_0x5bbd95[_0x4cbbdb^_0x20b48d]]],_0x494330^=_0x5bbd95[_0x5bbd95[_0x494330]]):_0x2c77c4=_0x494330=0x1;}}());var _0x5796fb=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2c17ca=_0x1590ed['AES']=_0x4b1d58[_0x31b45c(0x430)]({'_doReset':function(){var _0x2ca036=_0x31b45c,_0x334ba7;if(!(this['_nRounds']&&this[_0x2ca036(0x33c)]===this[_0x2ca036(0x2d4)])){for(var _0x2e7a34=this[_0x2ca036(0x33c)]=this[_0x2ca036(0x2d4)],_0x1552bc=_0x2e7a34[_0x2ca036(0x351)],_0x30df23=_0x2e7a34[_0x2ca036(0x27b)]/0x4,_0x25ee73=this[_0x2ca036(0x1c1)]=_0x30df23+0x6,_0x2be828=(_0x25ee73+0x1)*0x4,_0x38873f=this['_keySchedule']=[],_0x5c8902=0x0;_0x5c8902<_0x2be828;_0x5c8902++)_0x5c8902<_0x30df23?_0x38873f[_0x5c8902]=_0x1552bc[_0x5c8902]:(_0x334ba7=_0x38873f[_0x5c8902-0x1],_0x5c8902%_0x30df23?_0x30df23>0x6&&_0x5c8902%_0x30df23==0x4&&(_0x334ba7=_0x13386f[_0x334ba7>>>0x18]<<0x18|_0x13386f[_0x334ba7>>>0x10&0xff]<<0x10|_0x13386f[_0x334ba7>>>0x8&0xff]<<0x8|_0x13386f[_0x334ba7&0xff]):(_0x334ba7=_0x334ba7<<0x8|_0x334ba7>>>0x18,_0x334ba7=_0x13386f[_0x334ba7>>>0x18]<<0x18|_0x13386f[_0x334ba7>>>0x10&0xff]<<0x10|_0x13386f[_0x334ba7>>>0x8&0xff]<<0x8|_0x13386f[_0x334ba7&0xff],_0x334ba7^=_0x5796fb[_0x5c8902/_0x30df23|0x0]<<0x18),_0x38873f[_0x5c8902]=_0x38873f[_0x5c8902-_0x30df23]^_0x334ba7);for(var _0x47a3c3=this['_invKeySchedule']=[],_0x2012d0=0x0;_0x2012d0<_0x2be828;_0x2012d0++){var _0x5c8902=_0x2be828-_0x2012d0;if(_0x2012d0%0x4)var _0x334ba7=_0x38873f[_0x5c8902];else var _0x334ba7=_0x38873f[_0x5c8902-0x4];_0x2012d0<0x4||_0x5c8902<=0x4?_0x47a3c3[_0x2012d0]=_0x334ba7:_0x47a3c3[_0x2012d0]=_0x4ce188[_0x13386f[_0x334ba7>>>0x18]]^_0x8d1358[_0x13386f[_0x334ba7>>>0x10&0xff]]^_0x359077[_0x13386f[_0x334ba7>>>0x8&0xff]]^_0x3b3d9e[_0x13386f[_0x334ba7&0xff]];}}},'encryptBlock':function(_0x59078d,_0x3dbe7d){var _0x2914fd=_0x31b45c;this[_0x2914fd(0x1f9)](_0x59078d,_0x3dbe7d,this['_keySchedule'],_0x260503,_0x22ac92,_0x29b7c4,_0x2e7aeb,_0x13386f);},'decryptBlock':function(_0x553bc4,_0x3bf819){var _0x50dec6=_0x31b45c,_0xc5d6ee=_0x553bc4[_0x3bf819+0x1];_0x553bc4[_0x3bf819+0x1]=_0x553bc4[_0x3bf819+0x3],_0x553bc4[_0x3bf819+0x3]=_0xc5d6ee,this[_0x50dec6(0x1f9)](_0x553bc4,_0x3bf819,this['_invKeySchedule'],_0x4ce188,_0x8d1358,_0x359077,_0x3b3d9e,_0x55d1de);var _0xc5d6ee=_0x553bc4[_0x3bf819+0x1];_0x553bc4[_0x3bf819+0x1]=_0x553bc4[_0x3bf819+0x3],_0x553bc4[_0x3bf819+0x3]=_0xc5d6ee;},'_doCryptBlock':function(_0xaf3209,_0x76097a,_0x5c79c8,_0x59c1c1,_0x49186d,_0x17c295,_0x727e56,_0x3db115){for(var _0x344c35=this['_nRounds'],_0x449fad=_0xaf3209[_0x76097a]^_0x5c79c8[0x0],_0x1e5407=_0xaf3209[_0x76097a+0x1]^_0x5c79c8[0x1],_0x50e8ad=_0xaf3209[_0x76097a+0x2]^_0x5c79c8[0x2],_0x389aab=_0xaf3209[_0x76097a+0x3]^_0x5c79c8[0x3],_0x4f09e3=0x4,_0x1dc229=0x1;_0x1dc229<_0x344c35;_0x1dc229++){var _0x839f53=_0x59c1c1[_0x449fad>>>0x18]^_0x49186d[_0x1e5407>>>0x10&0xff]^_0x17c295[_0x50e8ad>>>0x8&0xff]^_0x727e56[_0x389aab&0xff]^_0x5c79c8[_0x4f09e3++],_0x482233=_0x59c1c1[_0x1e5407>>>0x18]^_0x49186d[_0x50e8ad>>>0x10&0xff]^_0x17c295[_0x389aab>>>0x8&0xff]^_0x727e56[_0x449fad&0xff]^_0x5c79c8[_0x4f09e3++],_0x511034=_0x59c1c1[_0x50e8ad>>>0x18]^_0x49186d[_0x389aab>>>0x10&0xff]^_0x17c295[_0x449fad>>>0x8&0xff]^_0x727e56[_0x1e5407&0xff]^_0x5c79c8[_0x4f09e3++],_0x282c30=_0x59c1c1[_0x389aab>>>0x18]^_0x49186d[_0x449fad>>>0x10&0xff]^_0x17c295[_0x1e5407>>>0x8&0xff]^_0x727e56[_0x50e8ad&0xff]^_0x5c79c8[_0x4f09e3++];_0x449fad=_0x839f53,_0x1e5407=_0x482233,_0x50e8ad=_0x511034,_0x389aab=_0x282c30;}var _0x839f53=(_0x3db115[_0x449fad>>>0x18]<<0x18|_0x3db115[_0x1e5407>>>0x10&0xff]<<0x10|_0x3db115[_0x50e8ad>>>0x8&0xff]<<0x8|_0x3db115[_0x389aab&0xff])^_0x5c79c8[_0x4f09e3++],_0x482233=(_0x3db115[_0x1e5407>>>0x18]<<0x18|_0x3db115[_0x50e8ad>>>0x10&0xff]<<0x10|_0x3db115[_0x389aab>>>0x8&0xff]<<0x8|_0x3db115[_0x449fad&0xff])^_0x5c79c8[_0x4f09e3++],_0x511034=(_0x3db115[_0x50e8ad>>>0x18]<<0x18|_0x3db115[_0x389aab>>>0x10&0xff]<<0x10|_0x3db115[_0x449fad>>>0x8&0xff]<<0x8|_0x3db115[_0x1e5407&0xff])^_0x5c79c8[_0x4f09e3++],_0x282c30=(_0x3db115[_0x389aab>>>0x18]<<0x18|_0x3db115[_0x449fad>>>0x10&0xff]<<0x10|_0x3db115[_0x1e5407>>>0x8&0xff]<<0x8|_0x3db115[_0x50e8ad&0xff])^_0x5c79c8[_0x4f09e3++];_0xaf3209[_0x76097a]=_0x839f53,_0xaf3209[_0x76097a+0x1]=_0x482233,_0xaf3209[_0x76097a+0x2]=_0x511034,_0xaf3209[_0x76097a+0x3]=_0x282c30;},'keySize':0x100/0x20});_0x528678['AES']=_0x4b1d58[_0x31b45c(0x429)](_0x2c17ca);}()),_0x16cb64[_0x4dbb28(0x21e)];}));}(Ve)),Ve[_0x1101f9(0x32d)];}var wr=Ur();const Ar=He(wr);var Pr=Di();const si=He(Pr);var Xe={'exports':{}},xr=Xe['exports'],ai;function Lr(){return ai||(ai=0x1,function(_0x3910a8,_0x24e928){(function(_0x487c8f,_0x412858){var _0x46e082=_0x3552;_0x3910a8[_0x46e082(0x32d)]=_0x412858(ie());}(xr,function(_0x5b2a99){return _0x5b2a99['enc']['Utf8'];}));}(Xe)),Xe['exports'];}var Mr=Lr();const kr=He(Mr);var Ze={'exports':{}},$r=Ze[_0x2f175c(0x32d)],oi;function Hr(){var _0x440cad=_0x2f175c;return oi||(oi=0x1,function(_0x5b4cd2,_0x5599c9){(function(_0xd8a4a8,_0x454a2d){var _0x3de1bf=_0x3552;_0x5b4cd2[_0x3de1bf(0x32d)]=_0x454a2d(ie());}($r,function(_0x3f09b0){var _0x17d4f0=_0x3552;return(function(){var _0x1b8dda=_0x3552;if(typeof ArrayBuffer==_0x1b8dda(0x299)){var _0x19be83=_0x3f09b0,_0x35107a=_0x19be83[_0x1b8dda(0x1bc)],_0x3c797f=_0x35107a['WordArray'],_0x598c25=_0x3c797f[_0x1b8dda(0x248)],_0x37e65f=_0x3c797f[_0x1b8dda(0x248)]=function(_0x436baf){var _0x1a388a=_0x1b8dda;if(_0x436baf instanceof ArrayBuffer&&(_0x436baf=new Uint8Array(_0x436baf)),(_0x436baf instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x436baf instanceof Uint8ClampedArray||_0x436baf instanceof Int16Array||_0x436baf instanceof Uint16Array||_0x436baf instanceof Int32Array||_0x436baf instanceof Uint32Array||_0x436baf instanceof Float32Array||_0x436baf instanceof Float64Array)&&(_0x436baf=new Uint8Array(_0x436baf[_0x1a388a(0x21b)],_0x436baf[_0x1a388a(0x442)],_0x436baf[_0x1a388a(0x2b5)])),_0x436baf instanceof Uint8Array){for(var _0x324e16=_0x436baf[_0x1a388a(0x2b5)],_0x44396a=[],_0x3ba67c=0x0;_0x3ba67c<_0x324e16;_0x3ba67c++)_0x44396a[_0x3ba67c>>>0x2]|=_0x436baf[_0x3ba67c]<<0x18-_0x3ba67c%0x4*0x8;_0x598c25[_0x1a388a(0x26a)](this,_0x44396a,_0x324e16);}else _0x598c25[_0x1a388a(0x3d1)](this,arguments);};_0x37e65f[_0x1b8dda(0x247)]=_0x3c797f;}}()),_0x3f09b0[_0x17d4f0(0x1bc)][_0x17d4f0(0x207)];}));}(Ze)),Ze[_0x440cad(0x32d)];}var Br=Hr();const jr=He(Br);var Qe={'exports':{}},Fr=Qe[_0x2f175c(0x32d)],ci;function Vr(){var _0x3c8f4a=_0x2f175c;return ci||(ci=0x1,function(_0x91aaa,_0x2f7b4a){(function(_0x592bf0,_0x180a27,_0x24b041){var _0x38cebe=_0x3552;_0x91aaa[_0x38cebe(0x32d)]=_0x180a27(ie(),wi());}(Fr,function(_0x6ca3e){var _0x299dd6=_0x3552;return _0x6ca3e[_0x299dd6(0x189)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x6ca3e['pad'][_0x299dd6(0x2ab)];}));}(Qe)),Qe[_0x3c8f4a(0x32d)];}var Gr=Vr();const Wr=He(Gr);function Kr(_0x3754e4,_0xefd452){var _0x477f16=_0x2f175c;const _0x2513de=_0xefd452-_0x3754e4[_0x477f16(0x270)]%_0xefd452,_0x22cd04=String[_0x477f16(0x19d)](_0x2513de)[_0x477f16(0x3c0)](_0x2513de);return _0x3754e4+_0x22cd04;}function Yr(_0x1627ab,_0x513eb6){var _0x342cab=_0x2f175c;const _0x1c1640=jr[_0x342cab(0x28e)](0x10),_0x12128b=Kr(_0x1627ab,0x10),_0x3ccf9d=Ar[_0x342cab(0x3f8)](kr[_0x342cab(0x40d)](_0x12128b),si['parse'](_0x513eb6),{'iv':_0x1c1640,'padding':Wr});return _0x1c1640['concat'](_0x3ccf9d[_0x342cab(0x1e3)])['toString'](si);}function qr(){var _0x3771c0=_0x2f175c;const _0x3d5d7b=_0x42d734()[_0x3771c0(0x214)];if(_0x3d5d7b){const _0x52a8a3={'time':Math[_0x3771c0(0x2ed)](Date[_0x3771c0(0x2fc)]()/0x3e8),'domain':location[_0x3771c0(0x18a)]};return Yr(JSON[_0x3771c0(0x1fc)](_0x52a8a3),_0x3d5d7b);}}var zr=Object['getOwnPropertyDescriptor'],Jr=(_0x58603b,_0x2d541a,_0x5cb6f5,_0x51c63e)=>{var _0x37a6f4=_0x2f175c;for(var _0x4078e3=_0x51c63e>0x1?void 0x0:_0x51c63e?zr(_0x2d541a,_0x5cb6f5):_0x2d541a,_0x3ced19=_0x58603b[_0x37a6f4(0x270)]-0x1,_0x12c3d9;_0x3ced19>=0x0;_0x3ced19--)(_0x12c3d9=_0x58603b[_0x3ced19])&&(_0x4078e3=_0x12c3d9(_0x4078e3)||_0x4078e3);return _0x4078e3;},Xr=(_0x4953bc,_0x31b76a)=>(_0x445649,_0x593a82)=>_0x31b76a(_0x445649,_0x593a82,_0x4953bc);let at=class{constructor(_0x3d60d2){var _0x15b1df=_0x2f175c;this[_0x15b1df(0x395)]=_0x3d60d2,this[_0x15b1df(0x42f)]();}[_0x2f175c(0x42f)](){var _0x4659fb=_0x2f175c;this[_0x4659fb(0x395)][_0x4659fb(0x36f)]({'interceptor':(_0x272933,_0x41dc14)=>{var _0x4522a4=_0x4659fb;const _0x47cb8a=_0x272933['headers'],_0x561bf1=qr();return _0x561bf1&&_0x47cb8a['set'](_0x4522a4(0x3dc),_0x561bf1),_0x41dc14(_0x272933);}});}};at=Jr([Xr(0x0,_0xbf826d(_0x3e7aa5))],at);var Zr=Object['getOwnPropertyDescriptor'],Qr=(_0xdf6d45,_0x9f4aeb,_0x2a1fca,_0x5c3453)=>{var _0x3bcaec=_0x2f175c;for(var _0x3a1ba3=_0x5c3453>0x1?void 0x0:_0x5c3453?Zr(_0x9f4aeb,_0x2a1fca):_0x9f4aeb,_0x1bfaf8=_0xdf6d45[_0x3bcaec(0x270)]-0x1,_0x27a554;_0x1bfaf8>=0x0;_0x1bfaf8--)(_0x27a554=_0xdf6d45[_0x1bfaf8])&&(_0x3a1ba3=_0x27a554(_0x3a1ba3)||_0x3a1ba3);return _0x3a1ba3;},mt=(_0x4ba409,_0x308273)=>(_0x425876,_0x547f19)=>_0x308273(_0x425876,_0x547f19,_0x4ba409);let bt=class extends _0x263cf9{constructor(_0x10f1e9,_0x216806,_0x4aa0e8){var _0x3f9ce1=_0x2f175c;super(),N(this,_0x3f9ce1(0x3aa),new _0x19faa4(null)),N(this,'unitInfo$',this[_0x3f9ce1(0x3aa)][_0x3f9ce1(0x2cc)]()),(this[_0x3f9ce1(0x420)]=_0x10f1e9,this[_0x3f9ce1(0x448)]=_0x216806,this[_0x3f9ce1(0x32b)]=_0x4aa0e8);}async[_0x2f175c(0x3b1)](_0x3d8fd2,_0x3a8ba4,_0x5c5be2){var _0x419048=_0x2f175c;this[_0x419048(0x3aa)][_0x419048(0x438)]({'unitId':_0x3d8fd2,'type':_0x3a8ba4,'subUnitId':_0x5c5be2});let _0x55f4e0=null;switch(_0x3a8ba4){case Q['UNIVER_SHEET']:{_0x55f4e0=await this[_0x419048(0x1f5)](_0x3d8fd2);break;}case Q[_0x419048(0x161)]:{_0x55f4e0=await this[_0x419048(0x3d2)](_0x3d8fd2);break;}default:{this[_0x419048(0x420)]['error']('[DataLoaderService]',_0x419048(0x26d));break;}}return _0x55f4e0;}async[_0x2f175c(0x1f5)](_0x2eb1b5){var _0x23bbd9=_0x2f175c,_0x35d7c6;let _0x43f066=0x0;const _0x49d1fa=await((_0x35d7c6=this['_localCacheService'])==null?void 0x0:_0x35d7c6[_0x23bbd9(0x3a4)](_0x2eb1b5));return _0x49d1fa&&(_0x49d1fa[_0x23bbd9(0x17d)]||_0x49d1fa[_0x23bbd9(0x1df)][_0x23bbd9(0x270)]!==0x0)&&(_0x43f066=_0x49d1fa[_0x23bbd9(0x28d)]),_0x43f066===0x0&&this[_0x23bbd9(0x420)]['debug'](_0x23bbd9(0x27f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x23bbd9(0x400)](_0x2eb1b5,_0x43f066);}async['_loadDoc'](_0x4c7751){var _0x4c7a16=_0x2f175c,_0x5da8d2;let _0x4d5fb6=0x0;const _0x27cd58=await((_0x5da8d2=this[_0x4c7a16(0x32b)])==null?void 0x0:_0x5da8d2[_0x4c7a16(0x3a4)](_0x4c7751));return _0x27cd58&&(_0x27cd58[_0x4c7a16(0x17d)]||_0x27cd58['mutations'][_0x4c7a16(0x270)]!==0x0)&&(_0x4d5fb6=_0x27cd58[_0x4c7a16(0x28d)]),_0x4d5fb6===0x0&&this[_0x4c7a16(0x420)][_0x4c7a16(0x30b)](_0x4c7a16(0x27f),_0x4c7a16(0x1a6)),this['_snapshotService']['loadDoc'](_0x4c7751,_0x4d5fb6);}};bt=Qr([mt(0x0,_0x412d07),mt(0x1,_0xbf826d(_0x14a363)),mt(0x2,_0xded328(J))],bt);var es=Object[_0x2f175c(0x278)],ts=(_0x1f6967,_0x239227,_0x2951e3,_0xecc5b0)=>{var _0x30ffe8=_0x2f175c;for(var _0x11abe4=_0xecc5b0>0x1?void 0x0:_0xecc5b0?es(_0x239227,_0x2951e3):_0x239227,_0x12c57b=_0x1f6967[_0x30ffe8(0x270)]-0x1,_0x5b49bc;_0x12c57b>=0x0;_0x12c57b--)(_0x5b49bc=_0x1f6967[_0x12c57b])&&(_0x11abe4=_0x5b49bc(_0x11abe4)||_0x11abe4);return _0x11abe4;},gt=(_0x3d3cf4,_0x8a5a4a)=>(_0x40a601,_0x35da50)=>_0x8a5a4a(_0x40a601,_0x35da50,_0x3d3cf4);const is=[_0x2f175c(0x261),_0x2f175c(0x199),_0x2f175c(0x35e),_0x2f175c(0x232),_0x2f175c(0x204)],ns=0x5*0x400*0x400,rs='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',ss='/universer-api/stream/file/upload',as=_0x2f175c(0x44f),os='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x107361,_0x26bbfc,_0x17af99){var _0x1ace89=_0x2f175c;N(this,_0x1ace89(0x392),0x0),N(this,_0x1ace89(0x280),new _0x4bfaba()),N(this,_0x1ace89(0x165),this['_change$']),N(this,'_imageSourceCache',new Map()),(this[_0x1ace89(0x395)]=_0x107361,this[_0x1ace89(0x452)]=_0x26bbfc,this['_univerInstanceService']=_0x17af99);}[_0x2f175c(0x36d)](_0x40915d){var _0x22b26b=_0x2f175c;this[_0x22b26b(0x392)]=_0x40915d,this[_0x22b26b(0x280)]['next'](_0x40915d);}[_0x2f175c(0x37d)](_0x2f1740,_0x35f073){var _0x55a08e=_0x2f175c;if(_0x35f073===_0x8adfbb[_0x55a08e(0x357)]){const _0x54c2fc=new Image();return _0x54c2fc[_0x55a08e(0x2a3)]=_0x2f1740,_0x54c2fc;}return this[_0x55a08e(0x417)]['get'](_0x2f1740);}['addImageSourceCache'](_0x5a0d96,_0x4be814,_0x5bb6a5){var _0x4265ab=_0x2f175c;_0x4be814===_0x8adfbb[_0x4265ab(0x357)]||_0x5bb6a5==null||this[_0x4265ab(0x417)][_0x4265ab(0x2ce)](_0x5a0d96,_0x5bb6a5);}async['getImage'](_0x551e70){var _0x2c2cab=_0x2f175c;try{const _0x28dc8f=this[_0x2c2cab(0x255)](this[_0x2c2cab(0x1a2)](),''+_0x551e70),_0x4b587a=(await this[_0x2c2cab(0x395)][_0x2c2cab(0x246)](_0x28dc8f))[_0x2c2cab(0x369)];if(_0x4b587a[_0x2c2cab(0x1f1)]&&_0x4b587a['error'][_0x2c2cab(0x426)]===Si['OK']){const _0x171bcc=new URL(_0x4b587a['url'],this[_0x2c2cab(0x243)]())['toString']();return Promise[_0x2c2cab(0x3b6)](_0x171bcc);}return Promise[_0x2c2cab(0x370)](_0x4b587a[_0x2c2cab(0x1f1)]);}catch(_0x343f1e){return Promise[_0x2c2cab(0x370)](_0x343f1e);}}async['saveImage'](_0x564450){var _0x12ef63=_0x2f175c;let _0x2e6d47='';if(!is['includes'](_0x564450[_0x12ef63(0x3e1)]))return this['_decreaseWaiting'](),Promise[_0x12ef63(0x370)](new Error(_0x41d303[_0x12ef63(0x38f)]));if(_0x564450[_0x12ef63(0x43d)]>ns)return this[_0x12ef63(0x348)](),Promise['reject'](new Error(_0x41d303[_0x12ef63(0x175)]));try{const _0x552cee=new FormData();_0x552cee[_0x12ef63(0x231)](_0x12ef63(0x3e2),_0x564450);const _0x2704c4=this[_0x12ef63(0x3ad)][_0x12ef63(0x3e6)](),_0x176179=_0x2704c4==null?void 0x0:_0x2704c4[_0x12ef63(0x1aa)]();if(!_0x176179)throw new Error(_0x12ef63(0x260));const _0xeeec84=this[_0x12ef63(0x37c)]()+_0x12ef63(0x3c3)+_0x564450[_0x12ef63(0x43d)][_0x12ef63(0x373)]()+_0x12ef63(0x2e2)+Ei['UnitEmbedded']+_0x12ef63(0x3e7)+encodeURIComponent(_0x176179),_0x5cbce2=await(await fetch(_0xeeec84,{'method':_0x12ef63(0x16d),'body':_0x552cee}))[_0x12ef63(0x3b3)]();if(typeof _0x5cbce2[_0x12ef63(0x198)]!=_0x12ef63(0x421))return this['_decreaseWaiting'](),Promise[_0x12ef63(0x370)](new Error(_0x41d303[_0x12ef63(0x183)]));_0x2e6d47=_0x5cbce2['FileId'];}catch{return this[_0x12ef63(0x348)](),Promise[_0x12ef63(0x370)](new Error(_0x41d303['ERROR_IMAGE']));}return new Promise((_0x34e6ac,_0x491bec)=>{var _0x492c81=_0x12ef63;const _0xe21ff4=new FileReader();_0xe21ff4[_0x492c81(0x33f)](_0x564450),_0xe21ff4[_0x492c81(0x441)]=_0x54345d=>{var _0x1f3efc=_0x492c81,_0x159023;const _0x3b4650=(_0x159023=_0x54345d['target'])==null?void 0x0:_0x159023[_0x1f3efc(0x298)];if(_0x3b4650==null){this[_0x1f3efc(0x348)](),_0x491bec(new Error(_0x41d303[_0x1f3efc(0x183)]));return;}const _0x405eb0=_0x2b3879[_0x1f3efc(0x292)](0x6);_0x34e6ac({'imageId':_0x405eb0,'imageSourceType':_0x8adfbb[_0x1f3efc(0x279)],'source':_0x2e6d47,'base64Cache':_0x3b4650,'status':_0x41d303[_0x1f3efc(0x268)]}),this[_0x1f3efc(0x348)]();};});}['_getUploadFileURL'](){var _0x4f8d52=_0x2f175c,_0x28cc98,_0x5b29ac;const _0xc6d412=this[_0x4f8d52(0x452)][_0x4f8d52(0x3a3)](rs),_0x7739b1=this[_0x4f8d52(0x452)]['getConfig'](q);return(_0x5b29ac=(_0x28cc98=_0x7739b1==null?void 0x0:_0x7739b1['uploadFileServerUrl'])!=null?_0x28cc98:_0xc6d412)!=null?_0x5b29ac:ss;}['_getSignURL'](){var _0x53f9ff=_0x2f175c,_0x2d62ec,_0x47781f;const _0x24d64d=this[_0x53f9ff(0x452)][_0x53f9ff(0x3a3)](as),_0x2f4ad5=this[_0x53f9ff(0x452)]['getConfig'](q);return(_0x47781f=(_0x2d62ec=_0x2f4ad5==null?void 0x0:_0x2f4ad5[_0x53f9ff(0x40b)])!=null?_0x2d62ec:_0x24d64d)!=null?_0x47781f:os;}['_getDownloadEndpointURL'](){var _0x368170=_0x2f175c,_0x3d6e1a;const _0x422a83=this[_0x368170(0x452)]['getConfig'](q);return(_0x3d6e1a=_0x422a83==null?void 0x0:_0x422a83[_0x368170(0x44d)])!=null?_0x3d6e1a:location['origin'];}[_0x2f175c(0x255)](_0x565a40,_0x33c3ef){var _0x9a6cb3=_0x2f175c;return _0x565a40['replace'](_0x9a6cb3(0x2e4),_0x33c3ef);}['_decreaseWaiting'](){var _0xd9e005=_0x2f175c;this[_0xd9e005(0x392)]-=0x1,this[_0xd9e005(0x280)][_0xd9e005(0x438)](this[_0xd9e005(0x392)]);}};yt=ts([gt(0x0,_0xbf826d(_0x3e7aa5)),gt(0x1,_0x212b45),gt(0x2,_0xbf826d(_0x457cbb))],yt);var cs=Object['getOwnPropertyDescriptor'],hs=(_0x1fca2f,_0x31cf95,_0x5866a6,_0x555c50)=>{var _0x46ff3a=_0x2f175c;for(var _0x2e545e=_0x555c50>0x1?void 0x0:_0x555c50?cs(_0x31cf95,_0x5866a6):_0x31cf95,_0xe98aca=_0x1fca2f[_0x46ff3a(0x270)]-0x1,_0x2f6169;_0xe98aca>=0x0;_0xe98aca--)(_0x2f6169=_0x1fca2f[_0xe98aca])&&(_0x2e545e=_0x2f6169(_0x2e545e)||_0x2e545e);return _0x2e545e;},hi=(_0x423b1d,_0x2f415f)=>(_0x249b4f,_0x5d2e9e)=>_0x2f415f(_0x249b4f,_0x5d2e9e,_0x423b1d);const _s=_0x2f175c(0x387);let Ot=class{constructor(_0x181e1d,_0x13281f){var _0x5264e1=_0x2f175c;this[_0x5264e1(0x452)]=_0x181e1d,this['_HTTPService']=_0x13281f;}[_0x2f175c(0x2e6)](){var _0x1ec660=_0x2f175c,_0x5e30cc,_0x1fed24;const _0x48b305=this['_configService']['getConfig'](Ni),_0x34a04e=this[_0x1ec660(0x452)]['getConfig'](q);return(_0x1fed24=(_0x5e30cc=_0x34a04e==null?void 0x0:_0x34a04e['authzUrl'])!=null?_0x5e30cc:_0x48b305)!=null?_0x1fed24:_s;}async[_0x2f175c(0x301)](_0x4404f2){var _0x3b3c6c=_0x2f175c;const _0x73d3a7=this[_0x3b3c6c(0x2e6)]()+_0x3b3c6c(0x3eb);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x3b3c6c(0x246)](_0x73d3a7,{'params':{'objectID':_0x4404f2[_0x3b3c6c(0x358)],'unitID':_0x4404f2[_0x3b3c6c(0x358)]}}))['body'][_0x3b3c6c(0x1b3)][_0x3b3c6c(0x24f)](_0x4c53af=>({'objectId':_0x4c53af['id'],'name':_0x4c53af[_0x3b3c6c(0x1ca)][_0x3b3c6c(0x23b)],'metadata':{'icon':_0x4c53af['subject'][_0x3b3c6c(0x21d)]},'label':_0x4c53af[_0x3b3c6c(0x1ca)][_0x3b3c6c(0x23b)],'objectType':_0x5cc6c6['PERSON']})),'metadata':{},'type':_0x5cc6c6['PERSON']}]};}};Ot=hs([hi(0x0,_0xbf826d(_0x212b45)),hi(0x1,_0xbf826d(_0x3e7aa5))],Ot);var ls=Object[_0x2f175c(0x278)],us=(_0x408a00,_0x1c25ef,_0x4d4823,_0x3674a8)=>{var _0x23bc88=_0x2f175c;for(var _0x3e0ba8=_0x3674a8>0x1?void 0x0:_0x3674a8?ls(_0x1c25ef,_0x4d4823):_0x1c25ef,_0x1eb2b1=_0x408a00[_0x23bc88(0x270)]-0x1,_0x14bc3b;_0x1eb2b1>=0x0;_0x1eb2b1--)(_0x14bc3b=_0x408a00[_0x1eb2b1])&&(_0x3e0ba8=_0x14bc3b(_0x3e0ba8)||_0x3e0ba8);return _0x3e0ba8;},Ae=(_0x68071c,_0x1bc614)=>(_0x19f6c3,_0x383277)=>_0x1bc614(_0x19f6c3,_0x383277,_0x68071c);let ot=class extends _0x263cf9{constructor(_0x48dea6,_0x1434dc,_0x119a3f,_0x169007,_0x31e515){var _0x58ddfc=_0x2f175c;super(),this[_0x58ddfc(0x41d)]=_0x48dea6,this['_univerInstanceService']=_0x1434dc,this[_0x58ddfc(0x308)]=_0x119a3f,this[_0x58ddfc(0x26e)]=_0x169007,this[_0x58ddfc(0x2ac)]=_0x31e515,this['_initUnitPermissionChange'](),this[_0x58ddfc(0x22e)]();}[_0x2f175c(0x22e)](){var _0x39862b=_0x2f175c;const _0x37f824=async _0x2b5bbe=>{var _0x42e9fe=_0x3552;(await this[_0x42e9fe(0x26e)][_0x42e9fe(0x29c)](_0x2b5bbe))[_0x42e9fe(0x3c6)][_0x42e9fe(0x2b6)](_0xddfa1e(_0x537572=>_0x537572['eventID']===_0x260842[_0x42e9fe(0x30e)]),_0x294746(this[_0x42e9fe(0x43f)]))['subscribe'](_0x24a973=>{var _0x6e4ab2=_0x42e9fe;const _0xb83936=_0x24a973,{reason:_0x5b76c6}=_0xb83936['data'];this[_0x6e4ab2(0x2ac)][_0x6e4ab2(0x2e7)]({'id':se[_0x6e4ab2(0x40f)],'data':_0x5b76c6}),this[_0x6e4ab2(0x308)][_0x6e4ab2(0x304)](new _0x262abd(_0x2b5bbe)['id'],!0x1),this[_0x6e4ab2(0x26e)][_0x6e4ab2(0x28c)](_0x2b5bbe);});};_0x3e0945(this[_0x39862b(0x3ad)][_0x39862b(0x34a)](_0x3f08f1[_0x39862b(0x3e5)]),this['_univerInstanceService'][_0x39862b(0x34a)](_0x3f08f1['UNIVER_DOC']))[_0x39862b(0x2b6)](_0x3f7a35(_0x23766c=>_0x23766c[_0x39862b(0x1aa)]()),_0xddfa1e(_0x1093ac=>!_0x148803(_0x1093ac)),_0x294746(this[_0x39862b(0x43f)]))[_0x39862b(0x20a)](_0x348522=>{_0x37f824(_0x348522);});}['_initUnitPermissionChange'](){var _0x306707=_0x2f175c;const _0x1b28ad=async _0x5e10b2=>{var _0x1c2c08=_0x3552;const _0x5c4102=await this[_0x1c2c08(0x26e)]['requireSession'](_0x5e10b2),_0x1a33ad=this['_injector'][_0x1c2c08(0x246)](_0x251bfc);_0x5c4102[_0x1c2c08(0x3c6)][_0x1c2c08(0x2b6)](_0xddfa1e(_0x459555=>_0x459555[_0x1c2c08(0x2f8)]===_0x260842[_0x1c2c08(0x3ed)]),_0x294746(this[_0x1c2c08(0x43f)]))['subscribe'](_0x4031ef=>{var _0x592567=_0x1c2c08;const _0x2869c7=_0x4031ef,{objectId:_0x4e32ea}=_0x2869c7[_0x592567(0x3b2)];_0x4e32ea===_0x5e10b2?_0x1a33ad[_0x592567(0x3d4)](_0x5e10b2):_0x1a33ad['refreshPermission'](_0x5e10b2,_0x4e32ea);});};_0x3e0945(this['_univerInstanceService'][_0x306707(0x34a)](_0x3f08f1[_0x306707(0x3e5)]))[_0x306707(0x2b6)](_0x3f7a35(_0x1bf282=>_0x1bf282[_0x306707(0x1aa)]()),_0xddfa1e(_0x68a23a=>!_0x148803(_0x68a23a)),_0x294746(this[_0x306707(0x43f)]))[_0x306707(0x20a)](_0x2e1847=>{_0x1b28ad(_0x2e1847);});}};ot=us([Ae(0x0,_0xbf826d(_0x55133f)),Ae(0x1,_0x457cbb),Ae(0x2,_0x566665),Ae(0x3,_0xbf826d(Le)),Ae(0x4,_0xbf826d(pe))],ot);var ds=Object[_0x2f175c(0x278)],fs=(_0x2f668b,_0x29dcea,_0x49e749,_0x58f60a)=>{for(var _0x1680f5=_0x58f60a>0x1?void 0x0:_0x58f60a?ds(_0x29dcea,_0x49e749):_0x29dcea,_0x1b1f25=_0x2f668b['length']-0x1,_0x309c30;_0x1b1f25>=0x0;_0x1b1f25--)(_0x309c30=_0x2f668b[_0x1b1f25])&&(_0x1680f5=_0x309c30(_0x1680f5)||_0x1680f5);return _0x1680f5;},_i=(_0xc3df41,_0x35de19)=>(_0x20c0aa,_0x2f186f)=>_0x35de19(_0x20c0aa,_0x2f186f,_0xc3df41);let Nt=class{constructor(_0x2aba72,_0xb29b3){var _0x42ffdd=_0x2f175c;this[_0x42ffdd(0x452)]=_0x2aba72,this[_0x42ffdd(0x395)]=_0xb29b3;}async[_0x2f175c(0x440)](_0x5151bb,_0x144856){var _0x1a63d2=_0x2f175c,_0x348fcf;const {unitID:_0x4425aa,type:_0x2b7bb1,revision:_0x6b6a33=0x0}=_0x144856,_0x4cc4d8=this['getSnapshotAPIPath']()+'/'+_0x2b7bb1+_0x1a63d2(0x24c)+_0x4425aa+_0x1a63d2(0x1bd)+_0x6b6a33,_0x25a0b5=(await this[_0x1a63d2(0x395)]['get'](_0x4cc4d8))[_0x1a63d2(0x369)],_0x36b5a5=(_0x348fcf=_0x25a0b5[_0x1a63d2(0x195)])==null?void 0x0:_0x348fcf[_0x1a63d2(0x1de)];if(_0x36b5a5){const _0x46b444=_0x36b5a5==null?void 0x0:_0x36b5a5[_0x1a63d2(0x1f3)],_0x5b34e=_0xd5d8e6[_0x1a63d2(0x25d)](_0x2c7fc7(_0x46b444));_0x36b5a5[_0x1a63d2(0x1f3)]=_0x5b34e,Object[_0x1a63d2(0x1d7)](_0x36b5a5['sheets'])[_0x1a63d2(0x1e7)](([,_0x4303a2])=>{var _0x50a35b=_0x1a63d2;const _0x1293ce=_0x4303a2['originalMeta'],_0x434119=_0xd5d8e6[_0x50a35b(0x25d)](_0x2c7fc7(_0x1293ce));_0x4303a2[_0x50a35b(0x1f3)]=_0x434119;});}return _0x25a0b5;}async['getSheetBlock'](_0x3aadec,_0xa23a71){var _0x47109c=_0x2f175c;const {unitID:_0x4824d5,type:_0x555fe7,blockID:_0x39fdfd}=_0xa23a71,_0xfd56a4=this[_0x47109c(0x2db)]()+'/'+_0x555fe7+_0x47109c(0x24c)+_0x4824d5+_0x47109c(0x1b5)+_0x39fdfd;return(await this[_0x47109c(0x395)][_0x47109c(0x246)](_0xfd56a4))['body'];}async[_0x2f175c(0x32a)](_0x4ea84a,_0x471681){var _0x5a2c6c=_0x2f175c;const {unitID:_0xb65d53,type:_0x1c13b7,blockID:_0x3061f0}=_0x471681,_0x2fb9f5=this['_getAPIPrefix']()+'/block/'+_0x1c13b7+_0x5a2c6c(0x24c)+_0xb65d53+'/block/'+_0x3061f0;return(await this[_0x5a2c6c(0x395)][_0x5a2c6c(0x246)](_0x2fb9f5))[_0x5a2c6c(0x369)];}async[_0x2f175c(0x2a9)](_0x10985a,_0x2ca93d){var _0x20e8eb=_0x2f175c;const {unitID:_0xa8687b,type:_0x5a3152,from:_0x18830a,to:_0x52b9b3}=_0x2ca93d,_0x5c302a=this['_getAPIPrefix']()+'/'+_0x5a3152+_0x20e8eb(0x24c)+_0xa8687b+'/fetchmissing?from='+_0x18830a+_0x20e8eb(0x2aa)+_0x52b9b3;return(await this[_0x20e8eb(0x395)][_0x20e8eb(0x246)](_0x5c302a))[_0x20e8eb(0x369)];}['getSnapshotAPIPath'](){var _0x30bf46=_0x2f175c,_0x21ca8e;return(_0x21ca8e=this[_0x30bf46(0x452)][_0x30bf46(0x3a3)](Sn))!=null?_0x21ca8e:this[_0x30bf46(0x2db)]();}[_0x2f175c(0x2db)](){var _0x400c25=_0x2f175c,_0x144fcd,_0x861cfa;const _0x295f5a=this[_0x400c25(0x452)][_0x400c25(0x3a3)](mn),_0x1cff69=this[_0x400c25(0x452)][_0x400c25(0x3a3)](q);return(_0x861cfa=(_0x144fcd=_0x1cff69==null?void 0x0:_0x1cff69['snapshotServerUrl'])!=null?_0x144fcd:_0x295f5a)!=null?_0x861cfa:gn;}async[_0x2f175c(0x375)](_0x57d6d8,_0x4d37fb){var _0x5e7b30=_0x2f175c;const _0x57342c='/universer-api/snapshot/'+_0x4d37fb[_0x5e7b30(0x3e1)]+'/unit/'+_0x4d37fb[_0x5e7b30(0x2d2)]+_0x5e7b30(0x18b);return(await this['_httpService'][_0x5e7b30(0x246)](_0x57342c,{'params':{'resourceId':JSON[_0x5e7b30(0x1fc)](_0x4d37fb[_0x5e7b30(0x360)])}}))['body'];}['saveSnapshot'](){var _0x4cfb2c=_0x2f175c;throw new Error(_0x4cfb2c(0x40c));}[_0x2f175c(0x40a)](){var _0x1cdf5a=_0x2f175c;throw new Error(_0x1cdf5a(0x40c));}[_0x2f175c(0x31a)](){var _0x239d01=_0x2f175c;throw new Error(_0x239d01(0x40c));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2f175c(0x309)](){var _0x35d766=_0x2f175c;throw new Error(_0x35d766(0x40c));}};Nt=fs([_i(0x0,_0x212b45),_i(0x1,_0xbf826d(_0x3e7aa5))],Nt);var vs=Object['getOwnPropertyDescriptor'],ps=(_0x1c8fdf,_0x512d37,_0x4cb240,_0x260085)=>{var _0x1d0139=_0x2f175c;for(var _0xc60a8d=_0x260085>0x1?void 0x0:_0x260085?vs(_0x512d37,_0x4cb240):_0x512d37,_0x5f1b45=_0x1c8fdf[_0x1d0139(0x270)]-0x1,_0x5ae1b7;_0x5f1b45>=0x0;_0x5f1b45--)(_0x5ae1b7=_0x1c8fdf[_0x5f1b45])&&(_0xc60a8d=_0x5ae1b7(_0xc60a8d)||_0xc60a8d);return _0xc60a8d;},Pe=(_0x3a1b54,_0x227a23)=>(_0x352b2c,_0xe27f45)=>_0x227a23(_0x352b2c,_0xe27f45,_0x3a1b54);let Dt=class extends _0x28d0f3{constructor(_0x16bbee,_0x2489df,_0x4d5145,_0x269049,_0x1828f3){super(_0x16bbee,_0x2489df,_0x4d5145),this['_transformService']=_0x269049,this['_logService']=_0x1828f3;}[_0x2f175c(0x1c8)](_0x29fd65,_0x280c45){var _0x5ca25d=_0x2f175c;const _0x5e6ef3=this[_0x5ca25d(0x1ae)](_0x29fd65);if(_0x5e6ef3)try{const _0x303f23=this[_0x5ca25d(0x256)](_0x5e6ef3,_0x280c45);this[_0x5ca25d(0x1b2)](_0x29fd65,_0x303f23);}catch(_0x363084){this[_0x5ca25d(0x420)]['error'](_0x5ca25d(0x2f3),_0x363084),this['_clearUndo'](_0x29fd65);}const _0x376ff1=this[_0x5ca25d(0x30a)](_0x29fd65);if(_0x376ff1)try{const _0x47fd69=this['_transformStack'](_0x376ff1,_0x280c45);this['_substituteRedoStack'](_0x29fd65,_0x47fd69);}catch(_0x1c9750){this['_logService']['error'](_0x1c9750),this[_0x5ca25d(0x34d)](_0x29fd65);}}[_0x2f175c(0x162)](_0x11c231){var _0x334203=_0x2f175c;const _0x53de3c=this[_0x334203(0x1ae)](_0x11c231);_0x53de3c&&(_0x53de3c[_0x334203(0x270)]=0x0,this[_0x334203(0x1d0)]());}[_0x2f175c(0x34d)](_0x5ade4f){var _0x446d98=_0x2f175c;const _0x5a367c=this[_0x446d98(0x30a)](_0x5ade4f);_0x5a367c&&(_0x5a367c[_0x446d98(0x270)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x3f725b,_0x20943b){var _0x53599a=_0x2f175c;this[_0x53599a(0x3cd)][_0x53599a(0x2ce)](_0x3f725b,_0x20943b),this['_updateStatus']();}[_0x2f175c(0x249)](_0x15399f,_0x48acc8){var _0x300b84=_0x2f175c;this[_0x300b84(0x2f7)][_0x300b84(0x2ce)](_0x15399f,_0x48acc8),this[_0x300b84(0x1d0)]();}[_0x2f175c(0x256)](_0x45ca88,_0x24a380){var _0x3d1694=_0x2f175c;const _0xa3d10e=[];let _0x3a5d96=_0x24a380,_0x252ee2=_0x24a380;for(let _0x4fcc04=_0x45ca88[_0x3d1694(0x270)]-0x1;_0x4fcc04>=0x0;_0x4fcc04--){const {unitID:_0x587b3b,undoMutations:_0x5d558d,redoMutations:_0x3aeada}=_0x45ca88[_0x4fcc04],_0x57a90a=this[_0x3d1694(0x2dc)][_0x3d1694(0x43e)](_0x3a5d96,_0x5d558d),_0x2b085e=this[_0x3d1694(0x2dc)]['transformMutationsWithChangeset'](_0x252ee2,_0x3aeada);if(_0x24b954(_0x57a90a)||_0x24b954(_0x2b085e)){this[_0x3d1694(0x420)][_0x3d1694(0x1f1)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x57a90a,_0x2b085e);break;}_0x3a5d96=_0x57a90a[_0x3d1694(0x1ff)],_0x252ee2=_0x2b085e[_0x3d1694(0x1ff)],_0xa3d10e[_0x3d1694(0x2d3)]({'unitID':_0x587b3b,'undoMutations':_0x57a90a[_0x3d1694(0x349)],'redoMutations':_0x2b085e[_0x3d1694(0x349)]});}return _0xa3d10e[_0x3d1694(0x19f)]();}};Dt=ps([Pe(0x0,_0x457cbb),Pe(0x1,_0x894975),Pe(0x2,_0x228de8),Pe(0x3,_0x17b586),Pe(0x4,_0x412d07)],Dt);var ms=Object[_0x2f175c(0x3b5)],gs=Object['getOwnPropertyDescriptor'],Ss=(_0xce07fa,_0x2eb2e2,_0x190d46)=>_0x2eb2e2 in _0xce07fa?ms(_0xce07fa,_0x2eb2e2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x190d46}):_0xce07fa[_0x2eb2e2]=_0x190d46,Es=(_0x53767,_0x946cff,_0x5ed613,_0xe488bf)=>{var _0x5d8902=_0x2f175c;for(var _0x48f8d5=_0xe488bf>0x1?void 0x0:_0xe488bf?gs(_0x946cff,_0x5ed613):_0x946cff,_0x194634=_0x53767[_0x5d8902(0x270)]-0x1,_0x5b2e68;_0x194634>=0x0;_0x194634--)(_0x5b2e68=_0x53767[_0x194634])&&(_0x48f8d5=_0x5b2e68(_0x48f8d5)||_0x48f8d5);return _0x48f8d5;},St=(_0x52c154,_0x4935e8)=>(_0xbaaa37,_0x40aef3)=>_0x4935e8(_0xbaaa37,_0x40aef3,_0x52c154),Is=(_0x2be1f2,_0x3d6785,_0x13b818)=>Ss(_0x2be1f2,_0x3d6785+'',_0x13b818);const Ts=_0x2f175c(0x3a1);let Ut=class extends _0xf24895{constructor(_0x2cbd9b,_0x3cc50f,_0x4338fe,_0x587a46){var _0x276cf=_0x2f175c;super(),N(this,_0x276cf(0x1b9)),(this[_0x276cf(0x420)]=_0x3cc50f,this['_injector']=_0x4338fe,this[_0x276cf(0x452)]=_0x587a46);const {..._0x21e4e7}=_0x2495e8({},An,_0x2cbd9b);if(!_0x21e4e7[_0x276cf(0x27a)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x276cf(0x1b9)]=_0x21e4e7,this['_configService'][_0x276cf(0x1c4)](q,_0x21e4e7);}[_0x2f175c(0x424)](){var _0x215c18=_0x2f175c;this[_0x215c18(0x354)](),this[_0x215c18(0x2c5)]();}[_0x2f175c(0x354)](){var _0x29c94c=_0x2f175c,_0x5205d8,_0x4de019;this[_0x29c94c(0x41d)][_0x29c94c(0x2f4)](_0x46d342)&&this['_logService']['error']('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x37e613=_0x2d45b3([[_0x46d342,{'useClass':Dt}],[Le],[xe],[it],[st],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x29c94c(0x1b9)]['socketService']}],[_0x35ad01,{'useClass':Nt}],[_0x52dd20,{'useClass':Rt}],[_0x33c914,{'useClass':yt}],[_0x3e5590,{'useClass':Ot}],[rt],[Ct]],(_0x5205d8=this[_0x29c94c(0x1b9)])==null?void 0x0:_0x5205d8[_0x29c94c(0x2e3)]);if(!((_0x4de019=this['_config'])!=null&&_0x4de019[_0x29c94c(0x24d)])){const _0x153156=_0x37e613[_0x29c94c(0x3d6)](([_0x1ef71b])=>_0x1ef71b===ht);_0x153156!==-0x1&&_0x37e613[_0x29c94c(0x216)](_0x153156,0x1);}_0x4d21f6(this['_injector'],_0x37e613);}[_0x2f175c(0x2c5)](){var _0x343b80=_0x2f175c,_0x1f86a9,_0x195418,_0x280b8e;this[_0x343b80(0x41d)][_0x343b80(0x246)](_0x3e7aa5)[_0x343b80(0x36f)]({'priority':0x14,'interceptor':_0x4e799e({'maxParallel':0x6})}),(_0x1f86a9=this['_config'])!=null&&_0x1f86a9[_0x343b80(0x42d)]||(_0x195418=this[_0x343b80(0x41d)][_0x343b80(0x246)](J,_0x42d6bb[_0x343b80(0x184)]))==null||_0x195418[_0x343b80(0x296)](),(_0x280b8e=this[_0x343b80(0x1b9)])!=null&&_0x280b8e[_0x343b80(0x1f8)]&&_0x24c31a(this['_injector'],[[st]]),_0x24c31a(this[_0x343b80(0x41d)],[[at],[rt],[ot]]);}};Is(Ut,_0x2f175c(0x267),Ts),Ut=Es([_0x4bdeef(_0x37f22d,_0x32ff71),St(0x1,_0x412d07),St(0x2,_0xbf826d(_0x55133f)),St(0x3,_0x212b45)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,xn as deserializeToCombResponse,Bs as getLocalCacheKey,Ln as serializeCombRequest};