@univerjs-pro/collaboration-client 0.9.1-nightly.202507071607 → 0.9.1

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/index.js CHANGED
@@ -1 +1 @@
1
- var _0x56684e=_0x138e;(function(_0x53f127,_0x10d466){var _0x50d7b5=_0x138e,_0x57828d=_0x53f127();while(!![]){try{var _0x3ecf92=-parseInt(_0x50d7b5(0x3b4))/0x1*(-parseInt(_0x50d7b5(0x2ed))/0x2)+parseInt(_0x50d7b5(0x3c3))/0x3*(-parseInt(_0x50d7b5(0x1e4))/0x4)+-parseInt(_0x50d7b5(0x3ed))/0x5*(-parseInt(_0x50d7b5(0x2a5))/0x6)+-parseInt(_0x50d7b5(0x3b0))/0x7+-parseInt(_0x50d7b5(0x389))/0x8*(-parseInt(_0x50d7b5(0x312))/0x9)+parseInt(_0x50d7b5(0x30c))/0xa+parseInt(_0x50d7b5(0x338))/0xb*(parseInt(_0x50d7b5(0x1d4))/0xc);if(_0x3ecf92===_0x10d466)break;else _0x57828d['push'](_0x57828d['shift']());}catch(_0x468d92){_0x57828d['push'](_0x57828d['shift']());}}}(_0x57c5,0x840f3));var Di=Object['defineProperty'],Ui=(_0x2e8c0f,_0x5597bb,_0x2e5ce0)=>_0x5597bb in _0x2e8c0f?Di(_0x2e8c0f,_0x5597bb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e5ce0}):_0x2e8c0f[_0x5597bb]=_0x2e5ce0,N=(_0x39574c,_0x25f2dc,_0x3a4aec)=>Ui(_0x39574c,typeof _0x25f2dc!=_0x56684e(0x2d4)?_0x25f2dc+'':_0x25f2dc,_0x3a4aec);import{createIdentifier as _0x1eb7d3,Inject as _0xcd5c51,Injector as _0x61ab05,IConfigService as _0x5d1e84,ILogService as _0x4a5e0c,Disposable as _0x568022,DisposableCollection as _0x22d624,toDisposable as _0x3b1a17,IUniverInstanceService as _0x5138cb,UserManagerService as _0x2e3dc1,UniverInstanceType as _0x1ead05,LocaleService as _0x357b2a,Optional as _0x3e4ef4,RxDisposable as _0x545dc9,Tools as _0x6cd0b,Rectangle as _0x7099f6,ICommandService as _0x35cac9,JSONX as _0x30efa1,CommandType as _0x37276b,IUndoRedoService as _0x586221,IPermissionService as _0x322dca,sequenceExecute as _0x146988,Workbook as _0xa08c5a,MentionType as _0x246efa,isInternalEditorID as _0x599a29,LocalUndoRedoService as _0x20b648,IContextService as _0x857558,DependentOn as _0x311242,Plugin as _0x30876f,merge as _0x2e934a,mergeOverrideWithDependencies as _0x45e775,IAuthzIoService as _0x17ee72,IMentionIOService as _0x53e342,registerDependencies as _0x2e4cf4,Quantity as _0x2540e0,touchDependencies as _0x5d5b98}from'@univerjs/core';import{Subject as _0x4364ba,merge as _0x3e5a88,of as _0x577324,BehaviorSubject as _0xe0c6eb,takeUntil as _0x3d1b70,ReplaySubject as _0x389bf0,take as _0x5d33bf,map as _0x4591a0,shareReplay as _0x9f78e8,firstValueFrom as _0x286dff,concatMap as _0x262480}from'rxjs';import{map as _0x400b39,take as _0x10b05d,filter as _0x32806c,delay as _0x2806f8,takeUntil as _0x269e12}from'rxjs/operators';import{CollaborationEvent as _0x42332f,ISnapshotServerService as _0x82b138,parseChangesetToProtocol as _0x5f5968,ITransformService as _0xb86d62,isTransformMutationsWithChangesetSuccess as _0x47f4d8,mapDocumentTypeToUniverType as _0x39e38f,RevisionService as _0x334794,isTransformChangesetsSuccess as _0x143d57,CompressMutationService as _0x49e122,parseProtocolChangeset as _0x1c14e6,uuidv4 as _0x6f26db,SnapshotService as _0x511870,textEncoder as _0x3a7fde,b64DecodeUnicode as _0x5d13a0,isTransformMutationsWithChangesetFailure as _0x142f89,UniverCollaborationPlugin as _0x2aa36c}from'@univerjs-pro/collaboration';import{HTTPService as _0x4bc17d,ISocketService as _0x271bf5,MergeInterceptorFactory as _0x2aecc0,HTTPRequest as _0x42fc18,UniverNetworkPlugin as _0x580a8d,ThresholdInterceptorFactory as _0x3a9113}from'@univerjs/network';import{ITelemetryService as _0x106d25}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x4e5ec3}from'@univerjs/docs';import{SheetsSelectionsService as _0x275abc,SetSelectionsOperation as _0x208c02,InsertSheetMutation as _0x4ca7e2,EmptyMutation as _0x3a9021,WorkbookEditablePermission as _0x568e90,SheetPermissionInitController as _0x577404}from'@univerjs/sheets';import{ImageSourceType as _0x502dfc,ImageUploadStatusType as _0x327214,IImageIoService as _0x25b2d9}from'@univerjs/drawing';import{getGlobalObject as _0x1198f8}from'@univerjs-pro/license';const fs=_0x56684e(0x1d9),vs=_0x56684e(0x1a1),ps=_0x56684e(0x198),yr=_0x56684e(0x323),ms=0x7d0,gs='COLLAB_WEB_SOCKET_URL',Ss=_0x56684e(0x290),Nr=_0x56684e(0x1be),Es=_0x56684e(0x14b),Is=0x7530,fi=_0x56684e(0x253),vi=0x4e20,Ts=0x4e20,Cs=_0x56684e(0x32d),Rs=0x3,Dr='LOCAL_CACHE_INTERVAL',Ur=0x3e8,Os='COLLAB_SUBMIT_CHANGESET_URL',bs=_0x56684e(0x148),ys=_0x56684e(0x336),Ns=_0x56684e(0x135),Ar=_0x56684e(0x3ca),wr=_0x56684e(0x1e8);var pi=(_0x46e87a=>(_0x46e87a[_0x46e87a[_0x56684e(0x1c0)]=0x0]=_0x56684e(0x1c0),_0x46e87a[_0x46e87a['OK']=0x1]='OK',_0x46e87a[_0x46e87a['INTERNAL_ERROR']=0x2]=_0x56684e(0x2c5),_0x46e87a[_0x46e87a[_0x56684e(0x13e)]=0x3]=_0x56684e(0x13e),_0x46e87a[_0x46e87a[_0x56684e(0x3f9)]=0x4]=_0x56684e(0x3f9),_0x46e87a[_0x46e87a[_0x56684e(0x162)]=0x5]='UNAUTHENTICATED',_0x46e87a[_0x46e87a[_0x56684e(0x299)]=0x6]=_0x56684e(0x299),_0x46e87a[_0x46e87a[_0x56684e(0x201)]=0x7]='INVALID_ARGUMENT',_0x46e87a[_0x46e87a[_0x56684e(0x383)]=0x8]=_0x56684e(0x383),_0x46e87a[_0x46e87a[_0x56684e(0x13b)]=0x9]=_0x56684e(0x13b),_0x46e87a[_0x46e87a[_0x56684e(0x1d5)]=0xa]=_0x56684e(0x1d5),_0x46e87a[_0x46e87a['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x56684e(0x33e),_0x46e87a[_0x46e87a[_0x56684e(0x235)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x46e87a[_0x46e87a[_0x56684e(0x3b8)]=0xd]=_0x56684e(0x3b8),_0x46e87a[_0x46e87a['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x56684e(0x3d9),_0x46e87a[_0x46e87a[_0x56684e(0x18d)]=0x1389]=_0x56684e(0x18d),_0x46e87a[_0x46e87a[_0x56684e(0x1c8)]=0x1771]=_0x56684e(0x1c8),_0x46e87a[_0x46e87a[_0x56684e(0x23a)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x46e87a[_0x46e87a[_0x56684e(0x248)]=0x1773]=_0x56684e(0x248),_0x46e87a[_0x46e87a['APPLY_REJECT']=0x1b59]=_0x56684e(0x295),_0x46e87a[_0x46e87a[_0x56684e(0x311)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x46e87a[_0x46e87a['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x56684e(0x346),_0x46e87a[_0x46e87a[_0x56684e(0x182)]=0x1b5c]=_0x56684e(0x182),_0x46e87a[_0x46e87a['APPLY_DUPLICATED']=0x1b5d]=_0x56684e(0x1ab),_0x46e87a[_0x46e87a[_0x56684e(0x13a)]=0x1f41]=_0x56684e(0x13a),_0x46e87a[_0x46e87a[_0x56684e(0x19d)]=0x2329]=_0x56684e(0x19d),_0x46e87a[_0x46e87a['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x56684e(0x1a3),_0x46e87a[_0x46e87a[_0x56684e(0x372)]=0x232b]=_0x56684e(0x372),_0x46e87a[_0x46e87a[_0x56684e(0x330)]=0x232c]=_0x56684e(0x330),_0x46e87a[_0x46e87a['LICENSE_DISTRO_REJECTED']=0x232d]=_0x56684e(0x34b),_0x46e87a[_0x46e87a[_0x56684e(0x2b9)]=0x2711]=_0x56684e(0x2b9),_0x46e87a[_0x46e87a['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x56684e(0x326),_0x46e87a[_0x46e87a['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x56684e(0x270),_0x46e87a[_0x46e87a[_0x56684e(0x226)]=0x2714]=_0x56684e(0x226),_0x46e87a[_0x46e87a[_0x56684e(0x26b)]=0x271a]=_0x56684e(0x26b),_0x46e87a[_0x46e87a[_0x56684e(0x10e)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x46e87a[_0x46e87a[_0x56684e(0x365)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x46e87a[_0x46e87a[_0x56684e(0x1c6)]=0x271d]=_0x56684e(0x1c6),_0x46e87a[_0x46e87a[_0x56684e(0x22b)]=0x271e]=_0x56684e(0x22b),_0x46e87a[_0x46e87a[_0x56684e(0x1aa)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x46e87a[_0x46e87a[_0x56684e(0x333)]=0x2720]=_0x56684e(0x333),_0x46e87a[_0x46e87a[_0x56684e(0x2ac)]=0x2af9]=_0x56684e(0x2ac),_0x46e87a[_0x46e87a[_0x56684e(0x134)]=0x2ee1]=_0x56684e(0x134),_0x46e87a[_0x46e87a[_0x56684e(0x18e)]=0x2ee2]=_0x56684e(0x18e),_0x46e87a[_0x46e87a['INVITE_CODE_REQUIRED']=0x2ee3]=_0x56684e(0x2da),_0x46e87a[_0x46e87a[_0x56684e(0x215)]=0x2ee4]=_0x56684e(0x215),_0x46e87a[_0x46e87a[_0x56684e(0x262)]=0x2ee5]=_0x56684e(0x262),_0x46e87a[_0x46e87a[_0x56684e(0x3de)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x46e87a[_0x46e87a['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x56684e(0x37f),_0x46e87a[_0x46e87a[_0x56684e(0x3fa)]=0x32cb]=_0x56684e(0x3fa),_0x46e87a[_0x46e87a[_0x56684e(0x2d7)]=-0x1]=_0x56684e(0x2d7),_0x46e87a))(pi||{}),Z=(_0x18e80c=>(_0x18e80c[_0x18e80c['UNIVER_UNKNOWN']=0x0]=_0x56684e(0x345),_0x18e80c[_0x18e80c[_0x56684e(0x3eb)]=0x1]='UNIVER_DOC',_0x18e80c[_0x18e80c['UNIVER_SHEET']=0x2]=_0x56684e(0x3d5),_0x18e80c[_0x18e80c[_0x56684e(0x1ce)]=0x3]=_0x56684e(0x1ce),_0x18e80c[_0x18e80c['UNIVER_PROJECT']=0x4]=_0x56684e(0x230),_0x18e80c[_0x18e80c[_0x56684e(0x2d7)]=-0x1]='UNRECOGNIZED',_0x18e80c))(Z||{}),F=(_0x4d2918=>(_0x4d2918[_0x4d2918[_0x56684e(0x376)]=0x0]=_0x56684e(0x376),_0x4d2918[_0x4d2918[_0x56684e(0x25c)]=0x1]='HELLO',_0x4d2918[_0x4d2918[_0x56684e(0x23e)]=0x2]=_0x56684e(0x23e),_0x4d2918[_0x4d2918[_0x56684e(0x2d2)]=0x3]='LEAVE',_0x4d2918[_0x4d2918[_0x56684e(0x189)]=0x4]=_0x56684e(0x189),_0x4d2918[_0x4d2918[_0x56684e(0x1e5)]=0x5]=_0x56684e(0x1e5),_0x4d2918[_0x4d2918[_0x56684e(0x2f3)]=0x6]=_0x56684e(0x2f3),_0x4d2918[_0x4d2918[_0x56684e(0x2d7)]=-0x1]='UNRECOGNIZED',_0x4d2918))(F||{}),me=(_0x547fa7=>(_0x547fa7[_0x547fa7[_0x56684e(0x3aa)]=0x0]=_0x56684e(0x3aa),_0x547fa7[_0x547fa7['OK']=0x1]='OK',_0x547fa7[_0x547fa7[_0x56684e(0x1cd)]=0x2]=_0x56684e(0x1cd),_0x547fa7[_0x547fa7[_0x56684e(0x140)]=0x3e9]=_0x56684e(0x140),_0x547fa7[_0x547fa7[_0x56684e(0x171)]=0x3ea]=_0x56684e(0x171),_0x547fa7[_0x547fa7[_0x56684e(0x2ee)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x547fa7[_0x547fa7['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x547fa7[_0x547fa7[_0x56684e(0x2d7)]=-0x1]='UNRECOGNIZED',_0x547fa7))(me||{}),mi=(_0x388319=>(_0x388319[_0x388319['Undefined']=0x0]=_0x56684e(0x3b5),_0x388319[_0x388319[_0x56684e(0x17c)]=0x1]=_0x56684e(0x17c),_0x388319[_0x388319[_0x56684e(0x3a4)]=0x2]='HttpExport',_0x388319[_0x388319[_0x56684e(0x169)]=0x3]=_0x56684e(0x169),_0x388319[_0x388319['UnitSnapshot']=0x4]=_0x56684e(0x3c2),_0x388319[_0x388319[_0x56684e(0x1eb)]=0x5]='UserProfileImg',_0x388319[_0x388319[_0x56684e(0x2d7)]=-0x1]=_0x56684e(0x2d7),_0x388319))(mi||{});const K=_0x56684e(0x3f1),Ds={};var ne=(_0x4d6a8f=>(_0x4d6a8f[_0x56684e(0x264)]='OTHER_CLIENT_EDITING',_0x4d6a8f[_0x56684e(0x13e)]=_0x56684e(0x13e),_0x4d6a8f[_0x56684e(0x38a)]=_0x56684e(0x38a),_0x4d6a8f['CLOSE_ROOM']='CLOSE_ROOM',_0x4d6a8f[_0x56684e(0x26f)]='JOIN_ROOM_FAILED',_0x4d6a8f[_0x56684e(0x317)]=_0x56684e(0x317),_0x4d6a8f['SOCKET_FAILED']='SOCKET_FAILED',_0x4d6a8f['SUBMIT_CHANGESET_TIMEOUT']=_0x56684e(0x2a3),_0x4d6a8f))(ne||{});function _0x138e(_0x3723bb,_0xf6486f){var _0x57c549=_0x57c5();return _0x138e=function(_0x138e24,_0x159d64){_0x138e24=_0x138e24-0xfa;var _0x531489=_0x57c549[_0x138e24];return _0x531489;},_0x138e(_0x3723bb,_0xf6486f);}class ve{constructor(){var _0x4e4e99=_0x56684e;N(this,_0x4e4e99(0x2e1),new _0x4364ba()),N(this,_0x4e4e99(0x335),this['_event$'][_0x4e4e99(0x1d6)]());}[_0x56684e(0x12b)](_0x51a3b9){var _0xb167c9=_0x56684e;this[_0xb167c9(0x2e1)][_0xb167c9(0x279)](_0x51a3b9);}}const Us=_0x1eb7d3(_0x56684e(0x181));function As(_0x2a55d2){var _0x3a5081=_0x56684e,_0x513179,_0x141922,_0x442aaa,_0x1ec169,_0x5efc67;const _0x2374a0=_0x2a55d2[_0x3a5081(0x166)],_0x4052a1=JSON['parse'](_0x2374a0);switch(_0x4052a1['cmd']){case F[_0x3a5081(0x1e5)]:case F[_0x3a5081(0x25c)]:{const _0x3e2aca=_0x4052a1['infoRsp'];return{..._0x4052a1,'data':_0x3e2aca,'cmd':_0x4052a1['cmd']};}case F[_0x3a5081(0x23e)]:{const _0x279770=_0x4052a1[_0x3a5081(0x321)];return{..._0x4052a1,'data':_0x279770,'cmd':_0x4052a1[_0x3a5081(0x160)]};}case F[_0x3a5081(0x2f3)]:{const _0x450f50=_0x4052a1[_0x3a5081(0x202)];switch(_0x450f50[_0x3a5081(0x3e5)]){case _0x42332f[_0x3a5081(0x3bd)]:return{..._0x4052a1,'data':{..._0x450f50,'data':(_0x513179=_0x450f50[_0x3a5081(0x310)])==null?void 0x0:_0x513179['cs']},'cmd':_0x4052a1[_0x3a5081(0x160)]};case _0x42332f['CHANGESET_ACK']:return{..._0x4052a1,'data':{..._0x450f50,'data':(_0x141922=_0x450f50[_0x3a5081(0x388)])==null?void 0x0:_0x141922['cs']},'cmd':_0x4052a1[_0x3a5081(0x160)]};case _0x42332f[_0x3a5081(0x356)]:return{..._0x4052a1,'data':{..._0x450f50,'data':(_0x442aaa=_0x450f50[_0x3a5081(0x25d)])==null?void 0x0:_0x442aaa['cs']},'cmd':_0x4052a1[_0x3a5081(0x160)]};case _0x42332f['CHANGESET_REJ']:return{..._0x4052a1,'data':{..._0x450f50,'data':(_0x1ec169=_0x450f50[_0x3a5081(0x2fd)])==null?void 0x0:_0x1ec169['cs']},'cmd':_0x4052a1[_0x3a5081(0x160)]};case _0x42332f[_0x3a5081(0x1e1)]:return{..._0x4052a1,'data':{..._0x450f50,'data':(_0x5efc67=_0x450f50[_0x3a5081(0x265)])==null?void 0x0:_0x5efc67['cs']},'cmd':_0x4052a1[_0x3a5081(0x160)]};case _0x42332f[_0x3a5081(0x16f)]:return{..._0x4052a1,'data':{..._0x450f50,'data':_0x450f50[_0x3a5081(0x26d)]},'cmd':_0x4052a1[_0x3a5081(0x160)]};case _0x42332f[_0x3a5081(0x35c)]:return{..._0x4052a1,'data':{..._0x450f50,'data':_0x450f50[_0x3a5081(0x1b5)]},'cmd':_0x4052a1[_0x3a5081(0x160)]};case _0x42332f[_0x3a5081(0x16c)]:return{..._0x4052a1,'data':{..._0x450f50,'data':_0x450f50[_0x3a5081(0x22f)]},'cmd':_0x4052a1[_0x3a5081(0x160)]};case _0x42332f[_0x3a5081(0x32b)]:return{..._0x4052a1,'data':{..._0x450f50,'data':_0x450f50[_0x3a5081(0x10c)]},'cmd':_0x4052a1[_0x3a5081(0x160)]};case _0x42332f[_0x3a5081(0x308)]:case _0x42332f['LIVESHARE_OPERATION']:return{..._0x4052a1,'data':{..._0x450f50,'data':_0x450f50[_0x3a5081(0x267)]},'cmd':_0x4052a1[_0x3a5081(0x160)]};case _0x42332f[_0x3a5081(0x324)]:return{..._0x4052a1,'data':{..._0x450f50,'data':_0x450f50['liveShareNewHost']},'cmd':_0x4052a1[_0x3a5081(0x160)]};case _0x42332f[_0x3a5081(0x1ea)]:return{..._0x4052a1,'data':_0x450f50,'cmd':_0x4052a1['cmd']};case _0x42332f[_0x3a5081(0x283)]:return{..._0x4052a1,'data':{..._0x450f50,'data':_0x450f50[_0x3a5081(0x2e6)]},'cmd':_0x4052a1[_0x3a5081(0x160)]};case _0x42332f[_0x3a5081(0x357)]:return{..._0x4052a1,'data':{..._0x450f50,'data':_0x450f50[_0x3a5081(0x328)]},'cmd':_0x4052a1[_0x3a5081(0x160)]};case _0x42332f['SHOULD_CLOSE_CONN']:return{..._0x4052a1,'data':{..._0x450f50,'data':_0x450f50['shouldCloseConn']},'cmd':_0x4052a1['cmd']};case _0x42332f[_0x3a5081(0x3cc)]:return{..._0x4052a1,'data':{..._0x450f50,'data':_0x450f50['uniscriptRunEvent']},'cmd':_0x4052a1['cmd']};default:return _0x4052a1;}}default:return _0x4052a1;}}function ws(_0x45adea){var _0x3eb0ff=_0x56684e;switch(_0x45adea[_0x3eb0ff(0x160)]){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0x3eb0ff(0x305)]({'cmd':_0x45adea[_0x3eb0ff(0x160)],'routeKey':_0x45adea[_0x3eb0ff(0x241)]});case F[_0x3eb0ff(0x189)]:{let _0x5bdbd2;switch(_0x45adea[_0x3eb0ff(0x166)][_0x3eb0ff(0x3e5)]){case _0x42332f[_0x3eb0ff(0x16f)]:{_0x5bdbd2={'eventID':_0x42332f[_0x3eb0ff(0x16f)],'updateCursorEvent':_0x45adea[_0x3eb0ff(0x166)][_0x3eb0ff(0x166)]};break;}case _0x42332f['USERS_LEAVE']:{_0x5bdbd2={'eventID':_0x42332f[_0x3eb0ff(0x16c)],'leaveEvent':_0x45adea[_0x3eb0ff(0x166)][_0x3eb0ff(0x166)]};break;}case _0x42332f[_0x3eb0ff(0x35c)]:{_0x5bdbd2={'eventID':_0x42332f['USERS_ENTER'],'joinEvent':_0x45adea[_0x3eb0ff(0x166)][_0x3eb0ff(0x166)]};break;}case _0x42332f[_0x3eb0ff(0x32b)]:{_0x5bdbd2={'eventID':_0x42332f[_0x3eb0ff(0x32b)],'liveShareNewHost':_0x45adea[_0x3eb0ff(0x166)][_0x3eb0ff(0x166)]};break;}case _0x42332f[_0x3eb0ff(0x17d)]:{_0x5bdbd2={'eventID':_0x42332f['LIVESHARE_OPERATION'],'liveShareOperation':_0x45adea[_0x3eb0ff(0x166)][_0x3eb0ff(0x166)]};break;}case _0x42332f[_0x3eb0ff(0x324)]:{_0x5bdbd2={'eventID':_0x42332f[_0x3eb0ff(0x324)],'liveShareTerminate':_0x45adea[_0x3eb0ff(0x166)][_0x3eb0ff(0x166)]};break;}case _0x42332f[_0x3eb0ff(0x385)]:{_0x5bdbd2={'eventID':_0x42332f[_0x3eb0ff(0x385)],'liveShareRequestHost':_0x45adea['data'][_0x3eb0ff(0x166)]};break;}case _0x42332f[_0x3eb0ff(0x308)]:{_0x5bdbd2={'eventID':_0x42332f[_0x3eb0ff(0x308)]};break;}default:_0x5bdbd2={'eventID':_0x45adea[_0x3eb0ff(0x166)][_0x3eb0ff(0x3e5)]};}return JSON[_0x3eb0ff(0x305)]({'cmd':_0x45adea['cmd'],'routeKey':_0x45adea[_0x3eb0ff(0x241)],'collaMsg':_0x5bdbd2});}case F[_0x3eb0ff(0x23e)]:return JSON[_0x3eb0ff(0x305)]({'cmd':_0x45adea[_0x3eb0ff(0x160)],'routeKey':_0x45adea[_0x3eb0ff(0x241)],'joinReq':_0x45adea[_0x3eb0ff(0x166)]});case F['LEAVE']:return JSON[_0x3eb0ff(0x305)]({'cmd':_0x45adea[_0x3eb0ff(0x160)],'routeKey':_0x45adea[_0x3eb0ff(0x241)],'leaveReq':_0x45adea[_0x3eb0ff(0x166)]});default:throw new Error(_0x3eb0ff(0x2ef));}}var Ps=Object['getOwnPropertyDescriptor'],Ls=(_0xb4717,_0x21c964,_0x11988a,_0x3e04cf)=>{var _0x28c762=_0x56684e;for(var _0x443f6a=_0x3e04cf>0x1?void 0x0:_0x3e04cf?Ps(_0x21c964,_0x11988a):_0x21c964,_0x45882a=_0xb4717[_0x28c762(0x2ce)]-0x1,_0x5cde05;_0x45882a>=0x0;_0x45882a--)(_0x5cde05=_0xb4717[_0x45882a])&&(_0x443f6a=_0x5cde05(_0x443f6a)||_0x443f6a);return _0x443f6a;},Ue=(_0x389421,_0x44c0a4)=>(_0x32d6e9,_0x46b95f)=>_0x44c0a4(_0x32d6e9,_0x46b95f,_0x389421);const gi=_0x1eb7d3('univer-pro.collaboration-client-socket-service');function Ms(_0x2dad75,_0x3f9b0d,_0x4d3349){var _0x4a64f6=_0x56684e;return _0x2dad75+'/'+_0x3f9b0d+'/unit/'+_0x4d3349+_0x4a64f6(0x369);}let Ft=class extends _0x568022{constructor(_0x2335c1,_0x1e43e7,_0x3c03d2,_0x2e201f,_0x33ed5f){var _0x19a66f=_0x56684e;super(),this[_0x19a66f(0x1d0)]=_0x2335c1,this[_0x19a66f(0x307)]=_0x1e43e7,this[_0x19a66f(0x112)]=_0x3c03d2,this[_0x19a66f(0x401)]=_0x2e201f,this[_0x19a66f(0x3ab)]=_0x33ed5f;}[_0x56684e(0x309)](_0x10743e){var _0x3820e5=_0x56684e;const _0x5960e8=this[_0x3820e5(0x1d0)][_0x3820e5(0x251)](_0x271bf5);if(!_0x5960e8)throw new Error(_0x3820e5(0x408));const _0x5d7d07=_0x5960e8[_0x3820e5(0x1c3)](_0x10743e);if(!_0x5d7d07)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x3b25b9=new _0x22d624(),_0x531bf7=new _0x4364ba();_0x3b25b9['add'](_0x5d7d07[_0x3820e5(0x220)]['subscribe'](_0x4932f5=>_0x531bf7[_0x3820e5(0x279)](_0x4932f5))),_0x3b25b9[_0x3820e5(0x117)](_0x3b1a17(()=>_0x531bf7[_0x3820e5(0x348)]()));const _0x21ff04=new _0x4364ba();_0x3b25b9[_0x3820e5(0x117)](_0x5d7d07[_0x3820e5(0x3f4)][_0x3820e5(0x19b)](_0x26d346=>_0x21ff04[_0x3820e5(0x279)](_0x26d346))),_0x3b25b9[_0x3820e5(0x117)](_0x3b1a17(()=>_0x21ff04[_0x3820e5(0x348)]()));const _0x506c1b=new _0x4364ba();_0x3b25b9[_0x3820e5(0x117)](_0x5d7d07['message$'][_0x3820e5(0x19b)](_0x1098d6=>{var _0x54d142=_0x3820e5;const _0x261046=As(_0x1098d6);_0x506c1b[_0x54d142(0x279)](_0x261046);})),_0x3b25b9['add'](_0x3b1a17(()=>_0x506c1b[_0x3820e5(0x348)]()));let _0x4fc5a5;const _0x471504=()=>{var _0x3a5ce2=_0x3820e5;_0x21ff04[_0x3a5ce2(0x279)](new Event(_0x3a5ce2(0x3a0))),_0x531bf7['next'](new Event(_0x3a5ce2(0x3a0))),_0x4fc5a5[_0x3a5ce2(0x2e9)]();};return _0x4fc5a5={'memberID':'','close$':_0x531bf7[_0x3820e5(0x1d6)](),'error$':_0x21ff04[_0x3820e5(0x1d6)](),'open$':_0x5d7d07[_0x3820e5(0x291)],'message$':_0x506c1b[_0x3820e5(0x1d6)](),'send':_0x5e8648=>{var _0x3680db=_0x3820e5;if(_0x5e8648[_0x3680db(0x160)]===F[_0x3680db(0x189)]){if(_0x5e8648[_0x3680db(0x166)][_0x3680db(0x3e5)]===_0x42332f['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x4fc5a5,_0x5e8648[_0x3680db(0x166)])[_0x3680db(0x2c0)](_0x687bbf=>{var _0x15290c=_0x3680db;this['_logService'][_0x15290c(0x3f3)](_0x687bbf),_0x471504();});return;}if(_0x5e8648[_0x3680db(0x166)][_0x3680db(0x3e5)]===_0x42332f['FETCH_MISSING']){const _0x3c3b59=_0x5e8648[_0x3680db(0x166)];this[_0x3680db(0x122)](_0x3c3b59)[_0x3680db(0x154)](_0xb6f268=>{var _0x4559e=_0x3680db;_0x506c1b[_0x4559e(0x279)]({'cmd':F['RECV'],'code':me['OK'],'routeKey':_0x3c3b59[_0x4559e(0x166)][_0x4559e(0x150)],'routeType':'','data':{'eventID':_0x42332f[_0x4559e(0x25f)],'data':{'changesets':_0xb6f268}}});})['catch'](_0x3dcbc1=>{var _0x244e71=_0x3680db;this[_0x244e71(0x401)][_0x244e71(0x3f3)](_0x3dcbc1),_0x471504();});return;}}_0x5d7d07[_0x3680db(0x2b7)](ws(_0x5e8648));},'close':()=>{var _0x3adbcf=_0x3820e5;_0x5d7d07[_0x3adbcf(0x2e9)](),_0x3b25b9['dispose']();}},_0x4fc5a5;}async['_submitChangeset'](_0x40e4bb,_0x240248){var _0x13b75d=_0x56684e,_0x5572d1,_0x209831;const {unitType:_0x3c0bc2,unitID:_0x5ad150,changeset:_0x4453bb}=_0x240248[_0x13b75d(0x166)],_0x5d0522={'unitID':_0x5ad150,'memberID':_0x40e4bb[_0x13b75d(0x2dc)],'type':_0x3c0bc2,'changeset':_0x5f5968(_0x4453bb)},_0x57de2c=this['_configService'][_0x13b75d(0xfa)](Os),_0x4a803a=this['_configService'][_0x13b75d(0xfa)](K),_0x3827d1=Ms((_0x209831=(_0x5572d1=_0x4a803a==null?void 0x0:_0x4a803a[_0x13b75d(0x142)])!=null?_0x5572d1:_0x57de2c)!=null?_0x209831:bs,_0x3c0bc2,_0x5ad150);try{await this[_0x13b75d(0x307)][_0x13b75d(0x21f)](_0x3827d1,{'body':_0x5d0522});}catch(_0x99a1e4){throw this[_0x13b75d(0x401)][_0x13b75d(0x3f3)](_0x13b75d(0x20d),_0x13b75d(0x1dd)),_0x99a1e4;}}async[_0x56684e(0x122)](_0x209a2d){var _0x52f247=_0x56684e;const {unitID:_0x18910a,from:_0x8a2d3f,to:_0x2a889d,unitType:_0x3f580a}=_0x209a2d['data'];return(await this['_snapshotServerService'][_0x52f247(0x2f0)]({'metadata':void 0x0},{'unitID':_0x18910a,'type':_0x3f580a,'from':_0x8a2d3f,'to':_0x2a889d}))[_0x52f247(0xfb)];}};Ft=Ls([Ue(0x0,_0xcd5c51(_0x61ab05)),Ue(0x1,_0xcd5c51(_0x4bc17d)),Ue(0x2,_0x5d1e84),Ue(0x3,_0x4a5e0c),Ue(0x4,_0x82b138)],Ft);const xs='collaboration_new_changeset';function ks(_0x4fad0b){var _0x3475c3=_0x56684e;return JSON['stringify'](_0x4fad0b)[_0x3475c3(0x2ce)];}class Si{constructor(){var _0x192e01=_0x56684e;N(this,_0x192e01(0x246),new _0x4364ba()),N(this,_0x192e01(0x28e),this['_commentUpdate$']['asObservable']());}[_0x56684e(0x39f)](_0x5b273){var _0x15c744=_0x56684e;this[_0x15c744(0x246)]['next'](_0x5b273);}}var $s=Object['getOwnPropertyDescriptor'],Hs=(_0x5b27e1,_0x570c93,_0x393cea,_0x5f2b01)=>{var _0x29de16=_0x56684e;for(var _0xe5308a=_0x5f2b01>0x1?void 0x0:_0x5f2b01?$s(_0x570c93,_0x393cea):_0x570c93,_0x312eac=_0x5b27e1[_0x29de16(0x2ce)]-0x1,_0x264cb8;_0x312eac>=0x0;_0x312eac--)(_0x264cb8=_0x5b27e1[_0x312eac])&&(_0xe5308a=_0x264cb8(_0xe5308a)||_0xe5308a);return _0xe5308a;},Vt=(_0x4576ae,_0xfd4f80)=>(_0x446ed4,_0x360196)=>_0xfd4f80(_0x446ed4,_0x360196,_0x4576ae);let Pe=class extends _0x568022{constructor(_0x3661a0,_0x199f86){var _0x2ccdfd=_0x56684e;super(),N(this,_0x2ccdfd(0x395),new Map()),N(this,_0x2ccdfd(0x26c),new _0x4364ba()),(this[_0x2ccdfd(0x1f7)]=_0x3661a0,this[_0x2ccdfd(0x22e)]=_0x199f86,this['disposeWithMe'](_0x3e5a88(this[_0x2ccdfd(0x1f7)][_0x2ccdfd(0x3f7)](_0x1ead05[_0x2ccdfd(0x3d5)])[_0x2ccdfd(0x31a)](_0x400b39(_0x1e2d84=>_0x1e2d84[_0x2ccdfd(0x1a7)]())),this[_0x2ccdfd(0x1f7)][_0x2ccdfd(0x3f7)](_0x1ead05[_0x2ccdfd(0x3eb)])[_0x2ccdfd(0x31a)](_0x400b39(_0x2e0371=>_0x2e0371['getUnitId']())),this[_0x2ccdfd(0x1f7)]['getTypeOfUnitDisposed$'](_0x1ead05[_0x2ccdfd(0x1ce)])[_0x2ccdfd(0x31a)](_0x400b39(_0x5c6d94=>_0x5c6d94['getUnitId']())))[_0x2ccdfd(0x19b)](_0x1bcf16=>this[_0x2ccdfd(0x2c1)](_0x1bcf16))));}['waitForRoom$'](_0x462f76){var _0x6da775=_0x56684e;return this[_0x6da775(0x395)]['has'](_0x462f76)?_0x577324(this[_0x6da775(0x395)][_0x6da775(0x251)](_0x462f76)):this[_0x6da775(0x26c)][_0x6da775(0x31a)](_0x400b39(_0x4651d2=>{var _0x47530c=_0x6da775;if(_0x4651d2===_0x462f76)return this[_0x47530c(0x395)][_0x47530c(0x251)](_0x4651d2);}));}['setCurrentUser'](_0x667ad7){var _0x49e683=_0x56684e;this[_0x49e683(0x22e)][_0x49e683(0x341)](_0x667ad7);}[_0x56684e(0x1ba)](){var _0x5d6d57=_0x56684e;return this[_0x5d6d57(0x22e)][_0x5d6d57(0x1ba)]();}[_0x56684e(0x37b)](_0x414407,_0x212b7a){var _0x471ddc=_0x56684e;let _0x533af8=this[_0x471ddc(0x395)][_0x471ddc(0x251)](_0x414407);_0x533af8||(_0x533af8=new Bs(),this[_0x471ddc(0x395)]['set'](_0x414407,_0x533af8),this[_0x471ddc(0x26c)][_0x471ddc(0x279)](_0x414407)),_0x533af8['updateMember'](_0x212b7a);}[_0x56684e(0x3bc)](_0x338a79,_0x1f61b5){var _0x3d4198=_0x56684e;const _0x34c806=this[_0x3d4198(0x395)]['get'](_0x338a79);_0x34c806&&_0x34c806[_0x3d4198(0x3bc)](_0x1f61b5);}['getRoom'](_0x3ab769){var _0x50e8c5=_0x56684e;return this[_0x50e8c5(0x395)][_0x50e8c5(0x251)](_0x3ab769);}['getMember'](_0x1b3ea5,_0x2b6900){var _0x56d1ac=_0x56684e;const _0x2bc695=this[_0x56d1ac(0x395)][_0x56d1ac(0x251)](_0x1b3ea5);if(_0x2bc695)return _0x2bc695['getMember'](_0x2b6900);}[_0x56684e(0x2c1)](_0x351887){var _0x23854c=_0x56684e;const _0x40c1db=this[_0x23854c(0x395)][_0x23854c(0x251)](_0x351887);_0x40c1db&&(_0x40c1db['dispose'](),this[_0x23854c(0x395)]['delete'](_0x351887));}[_0x56684e(0x128)](){var _0x407e56=_0x56684e;this['_roomMembers'][_0x407e56(0x222)](_0x2646bc=>_0x2646bc[_0x407e56(0x128)]()),this[_0x407e56(0x395)][_0x407e56(0x2d5)](),this[_0x407e56(0x26c)]['complete']();}};Pe=Hs([Vt(0x0,_0x5138cb),Vt(0x1,_0xcd5c51(_0x2e3dc1))],Pe);class Bs extends _0x568022{constructor(){var _0x32b225=_0x56684e;super(...arguments),N(this,_0x32b225(0x3e8),new Map()),N(this,'_members$',new _0xe0c6eb(this[_0x32b225(0x3e8)])),N(this,_0x32b225(0x286),this['_members$'][_0x32b225(0x1d6)]());}[_0x56684e(0x128)](){var _0x2e6d69=_0x56684e;this[_0x2e6d69(0x3e8)][_0x2e6d69(0x2d5)]();}[_0x56684e(0x37b)](_0x54007e){var _0x524536=_0x56684e;this[_0x524536(0x3e8)]['set'](_0x54007e[_0x524536(0x2dc)],_0x54007e),this[_0x524536(0x21a)]();}['removeMember'](_0x44bcb6){var _0x7ae707=_0x56684e;this[_0x7ae707(0x3e8)][_0x7ae707(0x27e)](_0x44bcb6);}[_0x56684e(0x31b)](_0x301cd2){var _0x4b38de=_0x56684e;return this[_0x4b38de(0x3e8)]['get'](_0x301cd2);}[_0x56684e(0x243)](){var _0x3839ea=_0x56684e;return Array[_0x3839ea(0x325)](this['_members'][_0x3839ea(0x2af)]());}[_0x56684e(0x21a)](){var _0x298f89=_0x56684e;this['_members$'][_0x298f89(0x279)](this[_0x298f89(0x3e8)]);}}var js=Object['getOwnPropertyDescriptor'],Fs=(_0x203c33,_0x425185,_0x4a2067,_0x21d8b5)=>{var _0x1d960a=_0x56684e;for(var _0x1a0d53=_0x21d8b5>0x1?void 0x0:_0x21d8b5?js(_0x425185,_0x4a2067):_0x425185,_0x1660fa=_0x203c33[_0x1d960a(0x2ce)]-0x1,_0x5c1351;_0x1660fa>=0x0;_0x1660fa--)(_0x5c1351=_0x203c33[_0x1660fa])&&(_0x1a0d53=_0x5c1351(_0x1a0d53)||_0x1a0d53);return _0x1a0d53;},pe=(_0x206344,_0x380e34)=>(_0x4bbb39,_0x534865)=>_0x380e34(_0x4bbb39,_0x534865,_0x206344),Se=(_0x338853=>(_0x338853[_0x338853['IDLE']=0x0]='IDLE',_0x338853[_0x338853[_0x56684e(0x257)]=0x1]=_0x56684e(0x257),_0x338853[_0x338853[_0x56684e(0x111)]=0x2]='OFFLINE',_0x338853[_0x338853[_0x56684e(0x1db)]=0x3]='ONLINE',_0x338853))(Se||{});const Gt={[me[_0x56684e(0x1cd)]]:'session.join-failed',[me[_0x56684e(0x140)]]:_0x56684e(0x32c),[me[_0x56684e(0x171)]]:'session.room-not-exists',[me[_0x56684e(0x2ee)]]:'session.room-permission-denied',[me[_0x56684e(0x2a9)]]:_0x56684e(0x206)};let gt=class extends _0x545dc9{constructor(_0x2849ff,_0x4c1e69,_0x397e10,_0x1abd8e,_0x274fe6,_0x14b375,_0x3afa5c,_0x51bdf8,_0x149fc0){var _0x297711=_0x56684e;super(),N(this,'_sessionStatus$',new _0xe0c6eb(0x0)),N(this,_0x297711(0x1ae),this[_0x297711(0x40a)]['asObservable']()),N(this,_0x297711(0x2e1),new _0x4364ba()),N(this,_0x297711(0x335),this[_0x297711(0x2e1)]['asObservable']()),N(this,_0x297711(0x1a6)),N(this,_0x297711(0x363)),N(this,_0x297711(0x170)),N(this,_0x297711(0x119),!0x1),N(this,'_telemetryInfo',null),(this[_0x297711(0x1b1)]=_0x2849ff,this[_0x297711(0x401)]=_0x397e10,this[_0x297711(0x112)]=_0x1abd8e,this[_0x297711(0x250)]=_0x274fe6,this[_0x297711(0x277)]=_0x14b375,this[_0x297711(0x3e0)]=_0x3afa5c,this[_0x297711(0x2c3)]=_0x51bdf8,this[_0x297711(0x313)]=_0x149fc0,this[_0x297711(0x119)]=!!this[_0x297711(0x313)],_0x4c1e69['pipe'](_0x3d1b70(this['dispose$']))[_0x297711(0x19b)](_0x54072e=>{var _0x143292=_0x297711,_0x519757;typeof _0x54072e>'u'||(this[_0x143292(0x1a6)]=_0x54072e,_0x54072e?(this[_0x143292(0x10b)](_0x54072e),this[_0x143292(0x363)]=_0x54072e[_0x143292(0x239)][_0x143292(0x19b)](_0x60332c=>{var _0x4b6d19=_0x143292;_0x60332c[_0x4b6d19(0x241)]===this[_0x4b6d19(0x1b1)]&&this[_0x4b6d19(0x2bd)](_0x60332c);})):(this[_0x143292(0x1f4)](),this[_0x143292(0x40a)][_0x143292(0x279)](0x2),(_0x519757=this[_0x143292(0x363)])==null||_0x519757[_0x143292(0x2b0)](),this[_0x143292(0x363)]=null));}));}get[_0x56684e(0x17b)](){return this['_sessionStatus$']['getValue']();}[_0x56684e(0x25a)](){var _0x4961fb=_0x56684e,_0x3b8cff,_0x1bc2b9;return(_0x1bc2b9=(_0x3b8cff=this[_0x4961fb(0x1a6)])==null?void 0x0:_0x3b8cff[_0x4961fb(0x2dc)])!=null?_0x1bc2b9:null;}[_0x56684e(0x128)](){var _0x1aab0b=_0x56684e;super[_0x1aab0b(0x128)](),this[_0x1aab0b(0x14f)][_0x1aab0b(0x279)](),this[_0x1aab0b(0x14f)][_0x1aab0b(0x348)]();}[_0x56684e(0x2e9)](){var _0x5802e6=_0x56684e,_0x29b5b6,_0x10c9e0;this['_throwTelemetryCollaborationNewChangeset'](),(_0x29b5b6=this[_0x5802e6(0x1a6)])==null||_0x29b5b6[_0x5802e6(0x2b7)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x5802e6(0x1b1)]}}),(_0x10c9e0=this[_0x5802e6(0x1a6)])==null||_0x10c9e0[_0x5802e6(0x2e9)](),this[_0x5802e6(0x2e1)][_0x5802e6(0x348)](),this[_0x5802e6(0x40a)][_0x5802e6(0x348)](),this['dispose']();}['_onCombEvent'](_0x4a0845){var _0x343dad=_0x56684e;_0x4a0845['cmd']===F[_0x343dad(0x23e)]?this[_0x343dad(0x10f)](_0x4a0845):_0x4a0845[_0x343dad(0x160)]===F[_0x343dad(0x2f3)]&&this[_0x343dad(0x247)](_0x4a0845);}[_0x56684e(0x10b)](_0x179810){var _0x3d8398=_0x56684e;this[_0x3d8398(0x40a)][_0x3d8398(0x279)](0x1),_0x179810[_0x3d8398(0x2b7)]({'cmd':F[_0x3d8398(0x23e)],'routeKey':this[_0x3d8398(0x1b1)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3d8398(0x1b1)]}]}});}['_onJoinRoomEvent'](_0x5a4040){var _0xf1206=_0x56684e,_0x4a733c;if(_0x5a4040['code']in Gt){this['_collaborationUIEventService'][_0xf1206(0x12b)]({'id':ne['JOIN_ROOM_FAILED'],'data':Gt[_0x5a4040['code']]}),this[_0xf1206(0x40a)][_0xf1206(0x279)](0x2);return;}this['_sessionStatus$'][_0xf1206(0x279)](0x3);const _0x4d6955=(_0x4a733c=_0x5a4040[_0xf1206(0x166)][_0xf1206(0x410)][this[_0xf1206(0x1b1)]])==null?void 0x0:_0x4a733c['members'];_0x4d6955&&_0x4d6955[_0xf1206(0x222)](_0x202afd=>this['_memberService']['updateMember'](this[_0xf1206(0x1b1)],_0x202afd));}['_onRecvEvent'](_0x3bc234){var _0x207a8a=_0x56684e;try{const _0x42eafa=_0x3bc234[_0x207a8a(0x166)];switch(_0x42eafa[_0x207a8a(0x3e5)]){case _0x42332f[_0x207a8a(0x35c)]:this[_0x207a8a(0x254)](_0x42eafa),this[_0x207a8a(0x2e1)]['next'](_0x42eafa);break;case _0x42332f[_0x207a8a(0x16c)]:this[_0x207a8a(0x337)](_0x42eafa),this['_event$'][_0x207a8a(0x279)](_0x42eafa);break;case _0x42332f['CHANGESET_ACK']:case _0x42332f[_0x207a8a(0x1e1)]:this[_0x207a8a(0x3ba)](),this[_0x207a8a(0x155)](),this[_0x207a8a(0x2e1)][_0x207a8a(0x279)](_0x42eafa);break;case _0x42332f[_0x207a8a(0x1ea)]:this[_0x207a8a(0x401)][_0x207a8a(0x3f3)](_0x207a8a(0x25b)+JSON['stringify'](_0x42eafa)),this[_0x207a8a(0x2e1)][_0x207a8a(0x279)](_0x42eafa);break;case _0x42332f[_0x207a8a(0x283)]:this[_0x207a8a(0x3e0)][_0x207a8a(0x39f)](_0x42eafa[_0x207a8a(0x166)]),this[_0x207a8a(0x2e1)][_0x207a8a(0x279)](_0x42eafa);break;default:this['_event$'][_0x207a8a(0x279)](_0x42eafa);}}catch(_0x2f24aa){this[_0x207a8a(0x401)]['error'](_0x2f24aa,_0x3bc234);}}[_0x56684e(0x254)](_0x36fd64){var _0xc1dc02=_0x56684e;this[_0xc1dc02(0x277)][_0xc1dc02(0x37b)](this[_0xc1dc02(0x1b1)],_0x36fd64['data']);}['_onUserLeave'](_0x51bce1){var _0x56be02=_0x56684e;this[_0x56be02(0x277)][_0x56be02(0x3bc)](this['_unitID'],_0x51bce1[_0x56be02(0x166)]['memberID']);}async[_0x56684e(0x2b7)](_0x34fc2a,_0x3fb7e8){var _0x1c9065=_0x56684e;if(this[_0x1c9065(0x17b)]!==0x3||!this['_socket'])throw new Error(_0x1c9065(0x31d));try{_0x34fc2a[_0x1c9065(0x3e5)]===_0x42332f[_0x1c9065(0x107)]&&(this[_0x1c9065(0x237)](),this[_0x1c9065(0x2a6)](_0x34fc2a)),this[_0x1c9065(0x1a6)][_0x1c9065(0x2b7)]({'cmd':F['INGEST'],'routeKey':_0x3fb7e8,'routeType':'','data':_0x34fc2a});}catch(_0x551aae){this['_logService'][_0x1c9065(0x3f3)](_0x551aae);}}[_0x56684e(0x237)](){var _0x24488c=_0x56684e,_0x392aea;this[_0x24488c(0x170)]=setTimeout(()=>{var _0x5161c4=_0x24488c;this[_0x5161c4(0x170)]=null,this[_0x5161c4(0x2c3)][_0x5161c4(0x12b)]({'id':ne[_0x5161c4(0x2a3)]});},(_0x392aea=this['_configService'][_0x24488c(0xfa)](fi))!=null?_0x392aea:vi);}[_0x56684e(0x155)](){var _0x5d46e3=_0x56684e;this[_0x5d46e3(0x170)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x56684e(0x2a6)](_0x212d18){var _0x5dba08=_0x56684e;if(!this[_0x5dba08(0x119)])return;const {data:_0x8768cb}=_0x212d18,{unitID:_0x35b535,changeset:_0x123697}=_0x8768cb,{mutations:_0x442bed,type:_0x427542}=_0x123697;this[_0x5dba08(0x394)]={'unitId':_0x35b535,'type':_0x427542,'startTime':performance[_0x5dba08(0x113)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x442bed)};}[_0x56684e(0x3ba)](){var _0x3b900a=_0x56684e;if(this[_0x3b900a(0x119)]){if(!this[_0x3b900a(0x394)]){this['_logService'][_0x3b900a(0x3f3)](_0x3b900a(0x20d),_0x3b900a(0x17f));return;}this[_0x3b900a(0x394)][_0x3b900a(0x260)]=performance[_0x3b900a(0x113)](),this['_telemetryInfo'][_0x3b900a(0x1f1)]=this['_telemetryInfo']['stopTime']-this[_0x3b900a(0x394)][_0x3b900a(0x289)],this['_telemetryService'][_0x3b900a(0x10d)](xs,this[_0x3b900a(0x394)]),this[_0x3b900a(0x394)]=null;}}[_0x56684e(0x1f4)](){this['_telemetryInfo']=null;}};gt=Fs([pe(0x2,_0x4a5e0c),pe(0x3,_0x5d1e84),pe(0x4,_0xcd5c51(_0x357b2a)),pe(0x5,_0xcd5c51(Pe)),pe(0x6,_0xcd5c51(Si)),pe(0x7,_0xcd5c51(ve)),pe(0x8,_0x3e4ef4(_0x106d25))],gt);var Vs=Object[_0x56684e(0x2df)],Gs=(_0x4ee87b,_0x3a09a9,_0x5e8465,_0x56bc9d)=>{var _0x219910=_0x56684e;for(var _0x4ad850=_0x56bc9d>0x1?void 0x0:_0x56bc9d?Vs(_0x3a09a9,_0x5e8465):_0x3a09a9,_0x434c32=_0x4ee87b[_0x219910(0x2ce)]-0x1,_0x37bdd5;_0x434c32>=0x0;_0x434c32--)(_0x37bdd5=_0x4ee87b[_0x434c32])&&(_0x4ad850=_0x37bdd5(_0x4ad850)||_0x4ad850);return _0x4ad850;},Re=(_0x228a4b,_0x299b8d)=>(_0x43009f,_0x190346)=>_0x299b8d(_0x43009f,_0x190346,_0x228a4b);let Le=class extends _0x568022{constructor(_0x256b67,_0xca0491,_0x2ae04e,_0x38f177,_0xb263d,_0x30e5ae){var _0x2254da=_0x56684e;super(),N(this,_0x2254da(0x124),new _0xe0c6eb(void 0x0)),N(this,'socket$',this[_0x2254da(0x124)]['asObservable']()),N(this,_0x2254da(0x19c),null),N(this,'_sessions',new Map()),N(this,_0x2254da(0x100),new _0xe0c6eb(Se[_0x2254da(0x225)])),N(this,_0x2254da(0x2be),this['_status$'][_0x2254da(0x1d6)]()),N(this,'_socketReady',!0x1),N(this,_0x2254da(0x221)),N(this,_0x2254da(0x3cb),0x0),N(this,_0x2254da(0x22a)),N(this,_0x2254da(0x1d7)),(this[_0x2254da(0x1d0)]=_0x256b67,this[_0x2254da(0x401)]=_0xca0491,this[_0x2254da(0x112)]=_0x2ae04e,this[_0x2254da(0x405)]=_0x38f177,this[_0x2254da(0x2c3)]=_0xb263d,this['_networkConditionService']=_0x30e5ae,this[_0x2254da(0x33b)]());}get['_socket'](){var _0x39d5a7=_0x56684e;return this[_0x39d5a7(0x124)][_0x39d5a7(0x1a9)]();}[_0x56684e(0x33b)](){var _0x496391=_0x56684e;this[_0x496391(0x3e2)]&&this['disposeWithMe'](this[_0x496391(0x3e2)][_0x496391(0x2bf)]['subscribe'](_0x47835a=>{var _0x322b99=_0x496391;_0x47835a&&!this[_0x322b99(0x1a6)]&&this[_0x322b99(0x3b3)](),_0x47835a||this[_0x322b99(0x21c)]();}));}['dispose'](){var _0x1a23d0=_0x56684e;super[_0x1a23d0(0x128)](),this['_clearRetryConnectingTimer'](),this[_0x1a23d0(0x236)](),this[_0x1a23d0(0x2a7)](),this['_sessions'][_0x1a23d0(0x222)](_0x4c4922=>_0x4c4922[_0x1a23d0(0x128)]()),this[_0x1a23d0(0x392)][_0x1a23d0(0x2d5)](),this['_status$']['complete']();}async[_0x56684e(0x233)](_0x5111b1){var _0x2e36ee=_0x56684e;if(this[_0x2e36ee(0x392)][_0x2e36ee(0x318)](_0x5111b1))return this['_sessions'][_0x2e36ee(0x251)](_0x5111b1);this[_0x2e36ee(0x3a5)]();const _0x1cde2e=this[_0x2e36ee(0x1d0)][_0x2e36ee(0x351)](gt,_0x5111b1,this[_0x2e36ee(0x124)][_0x2e36ee(0x1d6)]());return this[_0x2e36ee(0x392)][_0x2e36ee(0x1a2)](_0x5111b1,_0x1cde2e),_0x1cde2e;}[_0x56684e(0x371)](_0x37abcf){var _0x5a15ba=_0x56684e,_0x100fac;const _0x481639=this[_0x5a15ba(0x392)][_0x5a15ba(0x251)](_0x37abcf);_0x481639&&(this[_0x5a15ba(0x392)][_0x5a15ba(0x27e)](_0x37abcf),_0x481639[_0x5a15ba(0x2e9)]()),this['_sessions']['size']||(_0x100fac=this[_0x5a15ba(0x1a6)])==null||_0x100fac[_0x5a15ba(0x2e9)]();}[_0x56684e(0x3b3)](){var _0x98fa7e=_0x56684e;this[_0x98fa7e(0x3cb)]=0x0,this[_0x98fa7e(0x132)](),this[_0x98fa7e(0x39b)]();}['_clearRetryConnectingTimer'](){var _0x390c68=_0x56684e;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x390c68(0x221)]),this[_0x390c68(0x221)]=null);}async[_0x56684e(0x27a)](){var _0x561313=_0x56684e,_0x48232e,_0x46f5f8;const _0x234186=this[_0x561313(0x112)][_0x561313(0xfa)](gs),_0x38da74=this[_0x561313(0x112)]['getConfig'](K),_0x1887c2=(_0x46f5f8=(_0x48232e=_0x38da74==null?void 0x0:_0x38da74[_0x561313(0x256)])!=null?_0x48232e:_0x234186)!=null?_0x46f5f8:Ss,_0x43a507=await this['_socketService']['createSocket'](_0x1887c2);return this[_0x561313(0x19c)]=_0x43a507,_0x43a507;}async['_tryEnsureSocket'](){var _0x879cd2=_0x56684e,_0x48a2ab,_0x10422a;try{const _0x409055=(_0x10422a=(_0x48a2ab=this[_0x879cd2(0x1a6)])!=null?_0x48a2ab:this[_0x879cd2(0x19c)])!=null?_0x10422a:await this['_createSocket']();if(_0x409055){const _0x2e7214=_0x409055['send'];_0x409055[_0x879cd2(0x2b7)]=_0x48ebc8=>(this['_rescheduleHeartbeat'](),_0x2e7214[_0x879cd2(0x16e)](_0x409055,[_0x48ebc8])),_0x409055[_0x879cd2(0x239)][_0x879cd2(0x19b)](_0x47dcc4=>this[_0x879cd2(0x2aa)](_0x409055,_0x47dcc4)),_0x409055[_0x879cd2(0x3f4)][_0x879cd2(0x31a)](_0x10b05d(0x1))[_0x879cd2(0x19b)](_0x5b88c1=>this['_logService'][_0x879cd2(0x3f3)](_0x879cd2(0x352),_0x5b88c1)),_0x409055['open$'][_0x879cd2(0x31a)](_0x10b05d(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x409055);}),_0x409055[_0x879cd2(0x220)]['pipe'](_0x10b05d(0x1))[_0x879cd2(0x19b)](_0x5c9f9=>{var _0x46b703=_0x879cd2;this[_0x46b703(0x401)][_0x46b703(0x2ff)](_0x46b703(0x411),_0x46b703(0x263),_0x5c9f9),this[_0x46b703(0x2b8)]();});}}catch(_0x39efc5){this['_logService'][_0x879cd2(0x3f3)](_0x39efc5),this[_0x879cd2(0x2b8)]();}}[_0x56684e(0x3a1)](_0x9308e3){var _0xf76f8c=_0x56684e;this[_0xf76f8c(0x401)][_0xf76f8c(0x2ff)](_0xf76f8c(0x411),_0xf76f8c(0x12d)),_0x9308e3[_0xf76f8c(0x2b7)]({'cmd':F[_0xf76f8c(0x25c)]}),this[_0xf76f8c(0x161)]();}[_0x56684e(0x21c)](){var _0x11ba39=_0x56684e;this[_0x11ba39(0x21b)]=!0x1,this[_0x11ba39(0x19c)]=null,this[_0x11ba39(0x100)][_0x11ba39(0x279)](Se[_0x11ba39(0x111)]),this[_0x11ba39(0x124)][_0x11ba39(0x279)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x3cc7e4=_0x56684e,_0x50581e;this['_onOffline'](),this['_retryCount']<((_0x50581e=this[_0x3cc7e4(0x112)]['getConfig'](Cs))!=null?_0x50581e:Rs)?(this[_0x3cc7e4(0x2c3)]['emitEvent']({'id':ne['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0x3cc7e4(0x12b)]({'id':ne[_0x3cc7e4(0x149)]});}[_0x56684e(0x39b)](){var _0x197b51=_0x56684e,_0xcf2496;const _0x281a2a=this[_0x197b51(0x3cb)],_0x131ecf=this[_0x197b51(0x112)][_0x197b51(0xfa)](K),_0x5aaffd=_0x281a2a===0x0?0x0:((_0xcf2496=_0x131ecf==null?void 0x0:_0x131ecf[_0x197b51(0x179)])!=null?_0xcf2496:Ts)*0x2**_0x281a2a;this[_0x197b51(0x221)]=setTimeout(()=>{var _0x3e8cd1=_0x197b51;clearTimeout(this['_retryConnectingTimer']),this[_0x3e8cd1(0x221)]=null,this[_0x3e8cd1(0x3a5)]();},_0x5aaffd),this[_0x197b51(0x3cb)]+=0x1;}[_0x56684e(0x2aa)](_0x39a68f,_0x4587e8){var _0x290833=_0x56684e;const {cmd:_0x18c555}=_0x4587e8;_0x18c555===F[_0x290833(0x25c)]&&!this['_socketReady']&&(_0x39a68f[_0x290833(0x2dc)]=_0x4587e8[_0x290833(0x166)]['memberID'],this['_socket$']['next'](_0x39a68f),this[_0x290833(0x100)]['next'](Se[_0x290833(0x1db)]),this[_0x290833(0x21b)]=!0x0,this[_0x290833(0x19c)]=null),_0x18c555===F[_0x290833(0x1e5)]&&this[_0x290833(0x236)](),this['_rescheduleHeartbeat']();}[_0x56684e(0x161)](){var _0xe8eb46=_0x56684e,_0x3a5c71;this[_0xe8eb46(0x2a7)](),this[_0xe8eb46(0x22a)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x3a5c71=this[_0xe8eb46(0x112)]['getConfig'](Es))!=null?_0x3a5c71:Is);}[_0x56684e(0x2c9)](){var _0x215d5f=_0x56684e;this[_0x215d5f(0x1a6)]['send']({'cmd':F[_0x215d5f(0x1e5)]}),this[_0x215d5f(0x293)]();}['_waitForHeartbeatResponse'](){var _0x269ac0=_0x56684e,_0x92affb;this[_0x269ac0(0x1d7)]=setTimeout(()=>this[_0x269ac0(0x2b8)](),(_0x92affb=this[_0x269ac0(0x112)][_0x269ac0(0xfa)](fi))!=null?_0x92affb:vi);}[_0x56684e(0x2a7)](){var _0x839b8a=_0x56684e;this[_0x839b8a(0x22a)]!=null&&(clearTimeout(this[_0x839b8a(0x22a)]),this[_0x839b8a(0x22a)]=null);}[_0x56684e(0x236)](){var _0x53183b=_0x56684e;this[_0x53183b(0x1d7)]!=null&&(clearTimeout(this[_0x53183b(0x1d7)]),this[_0x53183b(0x1d7)]=null);}};Le=Gs([Re(0x0,_0xcd5c51(_0x61ab05)),Re(0x1,_0x4a5e0c),Re(0x2,_0x5d1e84),Re(0x3,gi),Re(0x4,_0xcd5c51(ve)),Re(0x5,_0x3e4ef4(Us))],Le);const J=_0x1eb7d3(_0x56684e(0x36f));function Pr(_0x58ea1d){var _0x4451e6=_0x56684e;return _0x4451e6(0x2a8)+_0x58ea1d;}var Ys=Object[_0x56684e(0x2df)],Ws=(_0x15cc70,_0x170a92,_0x38114d,_0x556568)=>{var _0x53d6c5=_0x56684e;for(var _0x5194ad=_0x556568>0x1?void 0x0:_0x556568?Ys(_0x170a92,_0x38114d):_0x170a92,_0x54b0e5=_0x15cc70[_0x53d6c5(0x2ce)]-0x1,_0x4ed991;_0x54b0e5>=0x0;_0x54b0e5--)(_0x4ed991=_0x15cc70[_0x54b0e5])&&(_0x5194ad=_0x4ed991(_0x5194ad)||_0x5194ad);return _0x5194ad;},ut=(_0x53c26c,_0x82eda7)=>(_0x17868f,_0x3e82e9)=>_0x82eda7(_0x17868f,_0x3e82e9,_0x53c26c);function Ks(_0x1afa6f){var _0x42c921=_0x56684e;const {unitID:_0x47fd67,mutations:_0xe6f389}=_0x1afa6f;return{'unitId':_0x47fd67,'subUnitId':_0xe6f389[0x0][_0x42c921(0x27f)][_0x42c921(0x20c)]};}let it=class{constructor(_0x5c092e,_0x5274f4,_0x29635f){var _0x2a267c=_0x56684e;this[_0x2a267c(0x1d0)]=_0x5c092e,this[_0x2a267c(0x1e7)]=_0x5274f4,this[_0x2a267c(0x3c8)]=_0x29635f;}[_0x56684e(0x1b3)](_0x41e1e8){var _0x1f49a5=_0x56684e,_0x193d26,_0x2828b4,_0x11c240,_0x3d3250;const _0x53487c=this[_0x1f49a5(0x1d0)][_0x1f49a5(0x251)](_0x275abc),{unitId:_0x2cbbb6,subUnitId:_0x55c11e}=Ks(_0x41e1e8),_0x5f1bbb=_0x53487c==null?void 0x0:_0x53487c['getWorkbookSelections'](_0x2cbbb6)[_0x1f49a5(0x23b)](),_0x567786=(_0x2828b4=(_0x193d26=this[_0x1f49a5(0x3c8)]['getUnit'](_0x2cbbb6))==null?void 0x0:_0x193d26['getActiveSheet']())==null?void 0x0:_0x2828b4[_0x1f49a5(0x2e4)]();if(_0x5f1bbb[_0x1f49a5(0x2ce)]===0x0||!_0x2cbbb6||!_0x55c11e)return;const _0x5062a5=[{'id':_0x208c02['id'],'params':{'unitId':_0x2cbbb6,'subUnitId':_0x567786,'selections':_0x6cd0b['deepClone'](_0x5f1bbb)}}],_0x553327=this['_transformService'][_0x1f49a5(0x25e)](_0x41e1e8,_0x5062a5);if(!_0x47f4d8(_0x553327))throw _0x553327[_0x1f49a5(0x3f3)];const _0x3f353c=(_0x3d3250=(_0x11c240=_0x553327[_0x1f49a5(0x125)][0x0])==null?void 0x0:_0x11c240['params'])==null?void 0x0:_0x3d3250[_0x1f49a5(0x316)];if(Array['isArray'](_0x3f353c)&&_0x3f353c['length']){if(_0x3f353c['length']===_0x5062a5[0x0]['params'][_0x1f49a5(0x316)][_0x1f49a5(0x2ce)]&&_0x3f353c[_0x1f49a5(0x13f)]((_0x299532,_0x487219)=>_0x7099f6['equals'](_0x299532[_0x1f49a5(0x258)],_0x5062a5[0x0][_0x1f49a5(0x27f)][_0x1f49a5(0x316)][_0x487219][_0x1f49a5(0x258)])))return;this[_0x1f49a5(0x1d0)][_0x1f49a5(0x251)](_0x35cac9)['executeCommand'](_0x208c02['id'],{'unitId':_0x2cbbb6,'subUnitId':_0x567786,'selections':_0x3f353c});}}};it=Ws([ut(0x0,_0xcd5c51(_0x61ab05)),ut(0x1,_0xb86d62),ut(0x2,_0x5138cb)],it);const ht=_0x1eb7d3(_0x56684e(0x32e));var Ei=(_0x72ee5c=>(_0x72ee5c[_0x72ee5c[_0x56684e(0x1f3)]=0x0]=_0x56684e(0x1f3),_0x72ee5c[_0x72ee5c[_0x56684e(0x163)]=0x1]=_0x56684e(0x163),_0x72ee5c))(Ei||{});const qs=new Set([_0x4ca7e2['id']]);function Yt(_0x1fff1b,_0x237add,_0x10dc21,_0x440867,_0x16509c){var _0x3eaaa3=_0x56684e,_0x3edc60,_0x4cc79c,_0x812191,_0x46d488;const _0x1096a0=[];for(const _0x52154d of _0x1fff1b)if(qs[_0x3eaaa3(0x318)](_0x52154d['id'])){if(_0x1096a0[_0x3eaaa3(0x2ce)]>0x0)break;_0x1096a0['push'](_0x52154d);break;}else _0x1096a0['push'](_0x52154d);const _0x17ff77=(_0x4cc79c=(_0x3edc60=_0x16509c[_0x3eaaa3(0x1ba)]())==null?void 0x0:_0x3edc60[_0x3eaaa3(0x36a)])!=null?_0x4cc79c:_0x3eaaa3(0x2fe),_0x476f95=(_0x46d488=(_0x812191=_0x16509c[_0x3eaaa3(0x1ba)]())==null?void 0x0:_0x812191[_0x3eaaa3(0x2dc)])!=null?_0x46d488:_0x3eaaa3(0x2fe);return{'changeset':{'unitID':_0x237add,'type':_0x39e38f(_0x10dc21[_0x3eaaa3(0x39e)](_0x237add)),'baseRev':_0x440867[_0x3eaaa3(0x2fc)](_0x237add),'revision':0x0,'userID':_0x17ff77,'memberID':_0x476f95,'mutations':_0x1096a0},'pendingMutations':_0x1fff1b[_0x3eaaa3(0x404)](_0x1096a0[_0x3eaaa3(0x2ce)])};}function zs(_0x61fcfe,_0x469447,_0x58b7da,_0x5ea05e,_0x12fd23){var _0x19f27e=_0x56684e,_0x20f60d,_0x6ce2d,_0x135962,_0x2785b0;const _0x448d12=[_0x61fcfe[_0x19f27e(0x139)]((_0x4c8821,_0x38af0c)=>{var _0x70253e=_0x19f27e,_0x197022;const {id:_0x58f05c}=_0x4c8821,{id:_0x3550e4,type:_0x3935e0}=_0x38af0c,_0x42a17c=(_0x197022=_0x4c8821['params'])!=null?_0x197022:{'actions':null},_0x42bd54=_0x38af0c[_0x70253e(0x27f)];if(_0x58f05c&&_0x58f05c!==_0x3550e4)throw new Error(_0x70253e(0x2e0)+_0x58f05c+_0x70253e(0x384)+_0x3550e4+'.');return{..._0x4c8821,'id':_0x3550e4,'type':_0x3935e0,'params':{'unitId':_0x42bd54[_0x70253e(0x11b)],'textRanges':_0x42bd54[_0x70253e(0x2d3)],'actions':_0x30efa1[_0x70253e(0x210)](_0x42a17c[_0x70253e(0x34c)],_0x42bd54[_0x70253e(0x34c)])}};},{})],_0xfb7b17=(_0x6ce2d=(_0x20f60d=_0x12fd23[_0x19f27e(0x1ba)]())==null?void 0x0:_0x20f60d['userID'])!=null?_0x6ce2d:_0x19f27e(0x2fe),_0x282d30=(_0x2785b0=(_0x135962=_0x12fd23[_0x19f27e(0x1ba)]())==null?void 0x0:_0x135962[_0x19f27e(0x2dc)])!=null?_0x2785b0:_0x19f27e(0x2fe);return{'changeset':{'unitID':_0x469447,'type':_0x39e38f(_0x58b7da[_0x19f27e(0x39e)](_0x469447)),'baseRev':_0x5ea05e[_0x19f27e(0x2fc)](_0x469447),'revision':0x0,'userID':_0xfb7b17,'memberID':_0x282d30,'mutations':_0x448d12},'pendingMutations':[]};}function Ii(_0x5cf92e,_0x434c4d){var _0x4734ba=_0x56684e;const _0x224a7f=new _0x389bf0(0x1);return setTimeout(()=>_0x224a7f[_0x4734ba(0x279)](_0x434c4d),_0x5cf92e),_0x224a7f[_0x4734ba(0x1d6)]()['pipe'](_0x5d33bf(0x1));}const Js={'id':_0x3a9021['id'],'type':_0x37276b['MUTATION'],'params':{}};var Xs=Object[_0x56684e(0x2df)],Ie=(_0x3493ad,_0x239971,_0x27d22a,_0x533edd)=>{var _0x127151=_0x56684e;for(var _0xba7654=_0x533edd>0x1?void 0x0:_0x533edd?Xs(_0x239971,_0x27d22a):_0x239971,_0x7d777f=_0x3493ad[_0x127151(0x2ce)]-0x1,_0x29c946;_0x7d777f>=0x0;_0x7d777f--)(_0x29c946=_0x3493ad[_0x7d777f])&&(_0xba7654=_0x29c946(_0xba7654)||_0xba7654);return _0xba7654;},P=(_0x272a55,_0x5369bf)=>(_0x494722,_0x4f0e11)=>_0x5369bf(_0x494722,_0x4f0e11,_0x272a55),Ti=(_0x675659=>(_0x675659[_0x56684e(0x3e6)]=_0x56684e(0x3ae),_0x675659[_0x56684e(0x368)]='synced',_0x675659[_0x56684e(0x269)]=_0x56684e(0x156),_0x675659[_0x56684e(0x3e1)]='awaiting',_0x675659['AWAITING_WITH_PENDING']=_0x56684e(0x1c4),_0x675659['FETCH_MISS']=_0x56684e(0x2de),_0x675659[_0x56684e(0x38a)]=_0x56684e(0x14e),_0x675659[_0x56684e(0x111)]=_0x56684e(0x175),_0x675659))(Ti||{});const Ci=0xea60;class Te{constructor(_0x146f44,_0x5e1a3e,_0x5baebc,_0x3f0e3d,_0x1f237e,_0xbcb70b,_0x46e233,_0x114b39,_0x1d0bb4){var _0x9dc921=_0x56684e;N(this,_0x9dc921(0x2bb),null),N(this,_0x9dc921(0x3c5),[]),(this[_0x9dc921(0x150)]=_0x146f44,this[_0x9dc921(0x359)]=_0x5e1a3e,this[_0x9dc921(0x3cd)]=_0x1f237e,this[_0x9dc921(0x157)]=_0xbcb70b,this[_0x9dc921(0x114)]=_0x46e233,this['_revisionService']=_0x114b39,this[_0x9dc921(0x24a)]=_0x1d0bb4,this[_0x9dc921(0x2bb)]=_0x5baebc,this['_pendingMutations']=_0x3f0e3d);}['_checkMissing'](_0x5f21cf){var _0x4edb2c=_0x56684e;const _0x311e21=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return _0x5f21cf[_0x4edb2c(0x2a1)]>_0x311e21+0x1?(this['_handler'][_0x4edb2c(0x35e)]({'from':_0x311e21,'to':_0x5f21cf[_0x4edb2c(0x2a1)]-0x1}),!0x0):!0x1;}[_0x56684e(0x350)](_0x408184){var _0x44b29d=_0x56684e;this[_0x44b29d(0x114)][_0x44b29d(0x144)](this['unitID'],_0x408184);}['_transformSelections'](_0x2f46ec){var _0x3f1565=_0x56684e,_0x4b046d,_0x278b14;(_0x278b14=(_0x4b046d=this['_handler'])[_0x3f1565(0x1ee)])==null||_0x278b14['call'](_0x4b046d,_0x2f46ec);}[_0x56684e(0x3b9)](_0xc82ee7){var _0x4103bd=_0x56684e,_0x5867e5,_0x31f27f;return(_0x31f27f=(_0x5867e5=this['_handler'])['onTransformIME'])==null?void 0x0:_0x31f27f[_0x4103bd(0x27d)](_0x5867e5,_0xc82ee7);}[_0x56684e(0x400)](_0x99c4b5){var _0x6b4881=_0x56684e,_0x42dbc5,_0x210931;return(_0x210931=(_0x42dbc5=this[_0x6b4881(0x3cd)])[_0x6b4881(0x2a0)])==null?void 0x0:_0x210931[_0x6b4881(0x27d)](_0x42dbc5,_0x99c4b5);}[_0x56684e(0x303)](_0x65128b){var _0x92f025=_0x56684e,_0x271665,_0x30954b,_0x4109a9;return(_0x4109a9=(_0x30954b=(_0x271665=this['_handler'])[_0x92f025(0x353)])==null?void 0x0:_0x30954b['call'](_0x271665,_0x65128b))!=null?_0x4109a9:_0x65128b;}[_0x56684e(0x1e6)](_0x3c933a){var _0x791e5e=_0x56684e,_0x35ddf3,_0x5e56c8,_0x5b3353;return(_0x5b3353=(_0x5e56c8=(_0x35ddf3=this[_0x791e5e(0x3cd)])[_0x791e5e(0x2cf)])==null?void 0x0:_0x5e56c8[_0x791e5e(0x27d)](_0x35ddf3,_0x3c933a))!=null?_0x5b3353:_0x3c933a;}[_0x56684e(0x174)](_0x3c64d0){var _0x2c80c2=_0x56684e,_0x3bfe26,_0x2f4c12;if(this[_0x2c80c2(0x359)]===Z['UNIVER_DOC']){const {unitID:_0x4ba808,mutations:_0x187192,memberID:_0x27c751}=_0x3c64d0,_0x2fb8b9=_0x187192[0x0][_0x2c80c2(0x27f)][_0x2c80c2(0x2d3)];Array[_0x2c80c2(0x1f5)](_0x2fb8b9)&&_0x2fb8b9[_0x2c80c2(0x2ce)]>0x0&&((_0x2f4c12=(_0x3bfe26=this[_0x2c80c2(0x3cd)])['onSyncEditingCollabCursor'])==null||_0x2f4c12['call'](_0x3bfe26,{'unitID':_0x4ba808,'memberID':_0x27c751,'textRanges':_0x2fb8b9}));}}['_updateLocalCache'](){var _0x302f0a=_0x56684e,_0x1ee8bc;(_0x1ee8bc=this['_localCacheService'])==null||_0x1ee8bc[_0x302f0a(0x203)](this['unitID'],this[_0x302f0a(0x359)],this[_0x302f0a(0x2bb)],this['_pendingMutations']);}[_0x56684e(0x15e)](){var _0x1c042c=_0x56684e;return this[_0x1c042c(0x20e)][_0x1c042c(0x2fc)](this[_0x1c042c(0x150)]);}[_0x56684e(0x361)](){var _0x496e8c=_0x56684e;this[_0x496e8c(0x20e)][_0x496e8c(0x2c8)](this[_0x496e8c(0x150)]);}[_0x56684e(0x34f)](_0x5171bb){var _0x2c9e45=_0x56684e,_0x45eed8;let _0x41c120=this[_0x2c9e45(0x303)](_0x5171bb);_0x41c120=this['_transformRemoteChangesetByStateCache'](_0x41c120);const _0x5ec4e8=_0x146988(_0x41c120[_0x2c9e45(0x219)],this[_0x2c9e45(0x157)],{'fromCollab':!0x0});if(!_0x5ec4e8[_0x2c9e45(0x145)])throw _0x5ec4e8[_0x2c9e45(0x3f3)]instanceof Error?_0x5ec4e8['error']:new Error((_0x45eed8=_0x5ec4e8[_0x2c9e45(0x3f3)])!=null?_0x45eed8:_0x2c9e45(0x187));this[_0x2c9e45(0x3b9)](_0x41c120),this[_0x2c9e45(0x400)](_0x41c120),this[_0x2c9e45(0x350)](_0x5171bb),this[_0x2c9e45(0x1cf)](_0x41c120),this[_0x2c9e45(0x174)](_0x41c120),this['_incrementRevisionNumber']();}}function _0x57c5(){var _0x544ef6=['JOIN_ROOM_FAILED','YUUMI_RATE_OVER_LIMIT','UUID','c2Prime','crypto','[SyncedState]:\x20received\x20rejection.','fetching\x20missing\x20changesets\x20from\x20','image/png','_memberService','body','next','_createSocket','init','_minBufferSize','call','delete','params','\x0aAfter:\x20','defineProperty','mode','COMMENT_UPDATE','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_getAPIPrefix','members$','getTypeOfUnitAdded$','snapshotServerUrl','startTime','_unlockTransition','responseType','onSendChangeset','isPermissionRej','commentUpdate$','charAt','ws://127.0.0.1:8000/universer-api/comb/connect','open$','_keySchedule','_waitForHeartbeatResponse','/resources','APPLY_REJECT','_config','putCollaborators','_collaborationSessionService','ALREADY_EXISTS','substr','reqId','string','__Key__','_sheetTransformSelectionsService','enc','onTransformState','revision','Base64','SUBMIT_CHANGESET_TIMEOUT','hasher','1744014RVnpxf','_startTelemetryCollaborationNewChangeset','_clearHeartbeatTimer','unit-cache-','GLOBAL_ROOMS_CNT_EXCEEDS','_onMessage','addImageSourceCache','PY_RUNTIME_SCRIPT_ERROR','reset','MUTATION','values','unsubscribe','enableSingleActiveInstanceLock','BlockCipher','Cipher','signUrlServerUrl','getImageSourceCache','_keyPriorReset','send','_onConnectionFailed','YUUMI_UNABLE_LOAD_URL','$super','_awaitingChangeset','state','_onCombEvent','status$','online$','catch','_removeRoom','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_collaborationUIEventService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','INTERNAL_ERROR','getTime','getCollabEntity$','incrementRevOfUnit','_sendHeartbeat','FileId','keySize','unitInfo$','unpad','length','onTransformRemoteChangesetByStateCache','state$','baseRev','LEAVE','textRanges','symbol','clear','_nDataBytes','UNRECOGNIZED','_changesetReqId','initWorkbookPermissionChange','INVITE_CODE_REQUIRED','sheets','memberID','kdf','fetch_missing','getOwnPropertyDescriptor','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_event$','HMAC','_eventService','getSheetId','/block/','commentUpdateEvent','StreamCipher','objectActions','close','\x0aCurrent:\x20','synced','Encryptor','717490ujYxBu','JOIN_ROOM_PERMISSION_DENIED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','fetchMissingChangesets','_updateState','BlockCipherMode','RECV','getCollabEntity','_createInitialStateImpl','_entityInit$','_invKeySchedule','loginUrlKey','WordArray','sid','getResourcesRequest','getCurrentRevOfUnit','csRejEvent','unknown','debug','resend','msCrypto','objectID','_transformRemoteChangesetByIMECache','_init','stringify','_xformMode','_httpService','LIVESHARE_FETCH_OPERATIONS','_doCreateSocket','setWaitCount','onMissedChangesetFetched','925310MnbhXr','[OfflineState]:\x20received\x20rejection.','setShowComponents','BufferedBlockAlgorithm','permissionRejEvent','APPLY_NON_SEQUENTIAL_REVISION','36EBlGqm','_telemetryService','_onFetchMissResult','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','selections','SOCKET_FAILED_RETRY','has','_initUnitPermissionChange','pipe','getMember','iterations','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','Univer','_doFinalize','onRemoteAck','joinRsp','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','SEND_CHANGESET_TIMEOUT','LIVESHARE_TERMINATE','from','YUUMI_URL_COL_OUT_OF_RANGE','listRoles','updatePermissionObjEvent','pluginName','findIndex','LIVESHARE_NEW_HOST','session.room-full','RETRY_CONNECTING_MAX_COUNT','univer-pro.collaboration-client.single-active-unit-service','SerializableCipher','LICENSE_EXPORT_SIZE_EXCEEDED','onRemoteRetry','refreshPermission','YUUMI_CONNECTOR_URL_NOT_FOUND','CHANGESET_REJ','event$','LOGIN_URL_KEY','_onUserLeave','506kHwoqy','?size=','_changesetSessionId','_listenToNetworkCondition','onCommandExecuted','_permissionService','MOBILE_VERIFY_CODE_MISMATCH','hostname','CLOSE_ROOM','setCurrentUser','clamp','min','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','UNIVER_UNKNOWN','APPLY_REVISION_CONFILICT','fromCollab','complete','append','_transitionLocked','LICENSE_DISTRO_REJECTED','actions','/universer-api/authz','PasswordBasedCipher','_executeRemoteChangeset','_transformUndoredo','createInstance','[CollaborationSessionService]:\x20socket\x20error','onTransformRemoteChangesetByIMECache','COMPRESS_MUTATION_SEND','snapshot','NEW_CHANGESETS','UPDATE_PERMISSION_OBJ','disableLocalCache','type','location','_lockTransition','USERS_ENTER','onRemoteRej','onMissingChangesets','_registerDependencies','onLocalMutation','_incrementRevisionNumber','find','_socketMessageSubscription','\x20in\x20_schedule.','YUUMI_TABLE_NOT_FOUND_IN_UNIT','formatter','Utf8','SYNCED','/new_changes','userID','splice','confirm','_process','onStateChange','collaboration-client.local-cache-service','processBlock','closeSession','LICENSE_IMPORT_SIZE_EXCEEDED','action','/collaborator','/allowed','UNKNOWN_CMD','getUnitStatus$','_onRemoteRejected','toString','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','updateMember','_resendWithTimeout','_state','_iKey','MOBILE_HAS_BEEN_BOUND','put','authzUrl','_nRounds','TOO_MANY_REQUESTS','\x20-\x20','LIVESHARE_REQUEST_HOST','uploadFileServerUrl','update','csAckEvent','397776vXlZjr','CONFLICT','[DataLoaderService]','_replayCachedMutations','image/jpg','_queuedRemoteChangesets','_acknowledgedAwaitingChangeset','DEFAULT_FILE_NAME','Latin1','_sessions','file','_telemetryInfo','_roomMembers','{fileID}','byteOffset','_sender','_scheduleCompleteTimestamp','session','_tryReconnect','pad','[OfflineState]:\x20received\x20changeset.','getUnitType','onCommentUpdate','connection\x20error','_onConnectionOpen','_getSendChangesetTimeout','interceptor','HttpExport','_tryEnsureSocket','_onRemoteACK','UNIVER_COLLABORATION_CLIENT_PLUGIN','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','filter','UNKNOWN_CODE','_snapshotServerService','deleteCollaborator','workbook','not_collab','entityInit$','4849327xluauU','decryptBlock','c1Prime','reconnect','1yJpftJ','Undefined','_getAPIPrefixPath','key','EMAIL_VERIFY_CODE_MISMATCH','_transformIMECache','_stopTelemetryCollaborationNewChangeset','_resendTimer','removeMember','PERMISSION_REJ','_remoteChangesetQueue','x-univer-host','_initMergeInterceptor','hasOwnProperty','UnitSnapshot','93339yosLRj','floor','_pendingMutations','decrypt','objects','_instanceService','_unitInfo$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_retryCount','UNISCRIPT_RUN','_handler','_iv','_compressMutationService','sendChangesetTimeout','[FetchMissState]','_clearUndo','/-/object/list','entries','UNIVER_SHEET','_undoStacks','_transformStack','ERROR_EXCEED_SIZE','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','socketService','_handlerCallback','getSnapshotAPIPath','name','WECHAT_HAS_BEEN_BOUND','_type','_commentService','AWAITING','_networkConditionService','withCredentials','title','eventID','NOT_COLLAB','CipherParams','_members','randomBytes','SHA1','UNIVER_DOC','_getCtorByUniverType','5usYQNS','[CollaborationEntity]','execute','readAsDataURL','collaboration-client.config','sigBytes','error','error$','cfg','_initCloseConn','getTypeOfUnitDisposed$','&source=','NOT_FOUND','EMAIL_HAS_BEEN_BOUND','src','AES','_checkMissing','_sendingTimer','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_transformStateCache','_logService','listCollaborators','encode','slice','_socketService','_disableEditing','lib','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','replace','_sessionStatus$','_snapshotService','_ENC_XFORM_MODE','_toggleOnline','updatePermissionPoint','Base','roomInfos','[CollaborationSessionService]','getConfig','changesets','_getLoginPath','mixIn','_state$','disposeWithMe','_status$','Hex','_initRequestHeader','localCacheService','_onRemoteRetry','updateCollaborator','MD5','SUBMIT_CHANGESET','concat','default','editingUnit','_joinRoom','liveShareNewHost','capture','YUUMI_ASYNCIO_CANCELLED','_onJoinRoomEvent','Pkcs7','OFFLINE','_configService','now','_undoRedoService','[PendingState]:\x20received\x20rejection.','/-/object/-/batch_allowed','add','onRemoteChangeset','_shouldReportTelemetry','PERSON','unitId','[SyncedState]:\x20received\x20acknowledgement.','_parse','status','_updateLocalCache','loadUnit','onSyncEditingCollabCursor','_fetchMissChangesets','readyForCollab','_socket$','m2Prime','pauseCollaboration','ciphertext','dispose','_exhaustRemoteChangesetQueue','BASE64','emitEvent','fetchMiss','socket\x20open.','collaboratorID','createCollaborator','ceil','join','_clearRetryConnectingTimer','getUnitOnRev','INVITE_CODE_HAS_BEEN_UES','/universer-api/oidc/authpage','_collabSessionService','Decryptor','saveImage','reduce','CONNECTOR_DATA_TOO_LARGE','COMPLETION_FINISHED','finalize','COMPRESS_MUTATION_APPLY','PERMISSION_DENIED','every','JOIN_ROOM_FULL','transformChangesets','collabSubmitChangesetUrl','Failed\x20to\x20update\x20permission\x20point','transformUndoRedo','result','roles','NoPadding','/universer-api/comb','SOCKET_FAILED','loadOfflineData','HEARTBEAT_INTERVAL','_doReset','getRandomValues','conflict','dispose$','unitID','indexOf','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','ivSize','then','_clearCollaborationTimeoutTimer','pending','_commandService','_onLocalMutation','list','parse','code','_getUndoStack','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_getCurrentRevision','POST','cmd','_rescheduleHeartbeat','UNAUTHENTICATED','OTHER_CLIENTS_EDITING','transformStack\x20failed!','onTransformIME','data','createEncryptor','salt','UnitEmbedded','url','onload','USERS_LEAVE','random','apply','UPDATE_CURSOR','_collaborationTimeoutTimer','JOIN_ROOM_NOT_EXISTS','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','push','_syncEditingCollabCursor','offline','prototype','loadDoc','compute','retryConnectingInterval','batchAllowed','sessionStatus','HttpImport','LIVESHARE_OPERATION','_oKey','telemetry\x20info\x20is\x20not\x20initialized','EvpKDF','univer-pro.collaboration-client.network-condition.service','APPLY_PERMISSION_DENIED','fetchThroughInterceptors','Hasher','algo','loadUnitOfRevision','[CollaborationState]:\x20apply\x20error!','origin','INGEST','/unit/','create','href','CHANGESET_REVISION_CONFILICT','INVALID_INVITE_CODE','/universer-api/file/{fileID}/sign-url','_getSignURL','[CollaborationUndoRedoService]','_change$','_getRedoStack','auth.needGotoLoginAlert','/rev/','requestParams','/object','SNAPSHOT_URL_KEY','function','allowed','subscribe','_candidateSocket','LICENSE_MAX_UNITS_EXCEEDED','byteLength','OPTIONAL','padding','/universer-api/snapshot','set','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_HTTPService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_socket','getUnitId','appendMutation','getValue','YUUMI_AI_RUN_FAILED','APPLY_DUPLICATED','_onRemoteChangeset','collaborators','sessionStatus$','_prevBlock','_data','_unitID','generateRandomId','transformSelections','_createHelper','joinEvent','clone','reject','OpenSSL','map','getCurrentUser','_createHmacHelper','_waitCount','_decreaseWaiting','/universer-api/user/session-ticket','/object/','UNDEFINED','_startCollaboration','toggleOnline','createSocket','awaiting_with_pending','_createHandler','YUUMI_ALL_TABLES_IS_INVALID','_clearLocalCache','SNAPSHOT_INVALID_SNAPSHOT','_mode','Error\x20on\x20receiving\x20event','Could\x20not\x20dynamically\x20require\x20\x22','rev','FAIL','UNIVER_SLIDE','_transformSelections','_injector','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_key','_createInitialState','116976uCoJtZ','LOGIN_FAILED','asObservable','_timeoutTimer','copyFileMeta','SNAPSHOT_SERVER_URL_KEY','onlyLocal','ONLINE','getSheetBlock','submit\x20changeset\x20error!','loadSheet','_imageSourceCache','_showConflictNotification','CHANGESET_SHOULD_RETRY','&to=','extend','20EihEMM','HEARTBEAT','_transformRemoteChangesetByStateCache','_transformService','/universer-api/uniscript','_updateStatus','MSG_FOR_ERROR','UserProfileImg','blockSize','_applyRemoteChangeset','onTransformSelections','_schedule','enableAuthServer','duration','method','NO_OTHER_CLIENTS_EDITING','_throwTelemetryCollaborationNewChangeset','isArray','ERROR_IMAGE','_univerInstanceService','HmacSHA1','/fetchmissing?from=','localeService','saveSnapshot','_hasher','_append','exports','toggleOffline','SHOULD_CLOSE_CONN','INVALID_ARGUMENT','collaMsg','updateOfflineData','fromCharCode','_replaceFileID','session.room-cnt-exceeds','includes','charCodeAt','__creator','getInterceptPoints','format','subUnitId','[CollaborationSession]','_revisionService','startsWith','compose','/role','_reverseMap','_map','size','USER_NOT_INVITED_CODE','_onConflict','onStarting','createDecryptor','mutations','_emitMembers','_socketReady','_onOffline','image/gif','encodeURIComponent','post','close$','_retryConnectingTimer','forEach','subject','_hash','IDLE','YUUMI_SUBSCRIPTION_NOT_FOUND','headers','encryptBlock','_getUploadFileURL','_sendHeartbeatTimer','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','executeCommand','avatar','_userManagerService','leaveEvent','UNIVER_PROJECT','registerHTTPInterceptor','_DEC_XFORM_MODE','requireSession','awaitingChangeset','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_clearTimeoutTimer','_scheduleCollaborationTimeoutTimer','_resendTimeout','message$','SNAPSHOT_HAS_BEEN_REMOVED','getCurrentSelections','_substituteRedoStack','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','JOIN','_getDownloadEndpointURL','originalMeta','routeKey','max','getAllMembers','_singleActiveUnitService','HmacMD5','_commentUpdate$','_onRecvEvent','ENSURE_SNAPSHOT_EXECUTION','words','_localCacheService','objectType','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_collaborationPaused','_toggleOffline','getImage','_localeService','get','_cipher','HEARTBEAT_TIMEOUT','_onUserJoin','_clearScheduledTask','collabWebSocketUrl','JOINING','range','_entities','getMemberID','save\x20fail\x20reason\x20is\x20','HELLO','newCsEvent','transformMutationsWithChangeset','PSEUDO_FETCH_MISSING_RESULT','stopTime','abs','INVITE_CODE_ALREADY_BOUND','socket\x20close','OTHER_CLIENT_EDITING','csShouldRetryEvent','&assign=','liveShareOperation','_doCryptBlock','PENDING','_redoStacks','YUUMI_NO_CUBOID_FOR_QUESTION','_roomCreated$','updateCursorEvent','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.'];_0x57c5=function(){return _0x544ef6;};return _0x57c5();}let ye=class extends Te{constructor(_0x53bd8b,_0x52ddb9,_0x76f114,_0x238c2f,_0x1a2127,_0x414b0b,_0x532fe2,_0x23afe7,_0x337f66,_0x25df1b){var _0x31fa85=_0x56684e;super(_0x53bd8b,_0x52ddb9,null,[],_0x76f114,_0x532fe2,_0x414b0b,_0x238c2f,_0x25df1b),N(this,_0x31fa85(0x11e),_0x31fa85(0x2eb)),(this['_injector']=_0x1a2127,this[_0x31fa85(0x401)]=_0x23afe7,this[_0x31fa85(0x1e7)]=_0x337f66,this[_0x31fa85(0x103)]=_0x25df1b);}[_0x56684e(0x1a8)](_0x5acaaa){var _0x2253cf=_0x56684e;const _0x408f30=this[_0x2253cf(0x1d0)][_0x2253cf(0x351)](re,this['unitID'],this[_0x2253cf(0x359)],[_0x5acaaa],this[_0x2253cf(0x3cd)]);return _0x408f30[_0x2253cf(0x1ef)](),_0x408f30[_0x2253cf(0x11f)](),_0x408f30;}[_0x56684e(0x118)](_0x355c2f){var _0x5c4418=_0x56684e;if(this[_0x5c4418(0x3fd)](_0x355c2f))return this[_0x5c4418(0x1d0)]['createInstance'](Q,this[_0x5c4418(0x150)],this['type'],null,[],null,[_0x355c2f],this['_handler']);try{const _0x3f00c5=this[_0x5c4418(0x1e7)]['transformMutationsWithChangeset'](_0x355c2f,[Js]);if(_0x47f4d8(_0x3f00c5)){const {c1Prime:_0x571505}=_0x3f00c5;return this['_executeRemoteChangeset'](_0x571505),this;}throw _0x3f00c5[_0x5c4418(0x3f3)];}catch(_0x55bff3){return this[_0x5c4418(0x401)][_0x5c4418(0x3f3)](_0x55bff3),this[_0x5c4418(0x216)](!0x1);}}[_0x56684e(0x216)](_0x389605){var _0x29edd5=_0x56684e;return this[_0x29edd5(0x1d0)]['createInstance'](le,this['unitID'],this['type'],null,[],this['_handler'],_0x389605);}[_0x56684e(0x320)](){var _0x5c7cc9=_0x56684e;throw new Error(_0x5c7cc9(0x11c));}[_0x56684e(0x35d)](){var _0x1264df=_0x56684e;throw new Error(_0x1264df(0x274));}[_0x56684e(0x331)](){return this;}[_0x56684e(0x1ff)](){var _0x5359f4=_0x56684e;return this['_injector'][_0x5359f4(0x351)](ue,this[_0x5359f4(0x150)],this[_0x5359f4(0x359)],null,[],this['_handler']);}['toggleOnline'](){return this;}['resend'](){var _0x4b3571=_0x56684e;throw new Error(_0x4b3571(0x26e));}['fetchMiss'](){var _0x1ff04a=_0x56684e;const _0x2e3a05=this[_0x1ff04a(0x20e)][_0x1ff04a(0x2fc)](this[_0x1ff04a(0x150)]);return this[_0x1ff04a(0x3cd)][_0x1ff04a(0x35e)]({'from':_0x2e3a05,'to':0x0}),this[_0x1ff04a(0x1d0)][_0x1ff04a(0x351)](Q,this[_0x1ff04a(0x150)],this[_0x1ff04a(0x359)],null,[],null,[],this['_handler']);}};ye=Ie([P(0x3,_0xcd5c51(_0x334794)),P(0x4,_0xcd5c51(_0x61ab05)),P(0x5,_0x586221),P(0x6,_0x35cac9),P(0x7,_0x4a5e0c),P(0x8,_0xb86d62),P(0x9,_0x3e4ef4(J))],ye);let re=class extends Te{constructor(_0x279bd0,_0x4ed7d3,_0x578dcc,_0x557214,_0xfdb1de,_0x51de6c,_0x19e3fb,_0x190de9,_0x4ce323,_0x90ab91,_0x27256b,_0x55f97a,_0x2d8c61,_0x3340fc){var _0x4e5cff=_0x56684e;super(_0x279bd0,_0x4ed7d3,null,_0x578dcc,_0x557214,_0x4ce323,_0x2d8c61,_0x51de6c,_0x3340fc),N(this,_0x4e5cff(0x11e),_0x4e5cff(0x156)),N(this,_0x4e5cff(0x399),null),N(this,_0x4e5cff(0x3fe),null),(this[_0x4e5cff(0x1d0)]=_0xfdb1de,this[_0x4e5cff(0x277)]=_0x19e3fb,this[_0x4e5cff(0x401)]=_0x190de9,this[_0x4e5cff(0x112)]=_0x90ab91,this[_0x4e5cff(0x1e7)]=_0x27256b,this['_univerInstanceService']=_0x55f97a);}[_0x56684e(0x1a8)](_0x251bd9){var _0x3215a6=_0x56684e;return this[_0x3215a6(0x3c5)]['push'](_0x251bd9),this[_0x3215a6(0x11f)](),this;}['onRemoteChangeset'](_0x245905){var _0x26a4af=_0x56684e;if(this[_0x26a4af(0x3fd)](_0x245905))return this[_0x26a4af(0x255)](),this[_0x26a4af(0x1d0)][_0x26a4af(0x351)](Q,this['unitID'],this[_0x26a4af(0x359)],null,this['_pendingMutations'],null,[_0x245905],this['_handler']);try{const _0x314f5e=this[_0x26a4af(0x1e7)][_0x26a4af(0x25e)](_0x245905,this['_pendingMutations']);if(_0x47f4d8(_0x314f5e)){const {c1Prime:_0x209f7b,m2Prime:_0x1c2c0d}=_0x314f5e;this['_executeRemoteChangeset'](_0x209f7b);const _0x2cec3c=this[_0x26a4af(0x1d0)]['createInstance'](re,this[_0x26a4af(0x150)],this['type'],_0x1c2c0d,this[_0x26a4af(0x3cd)]);this[_0x26a4af(0x255)]();const _0x228f6e=new Date()[_0x26a4af(0x2c6)](),_0x4141e2=this[_0x26a4af(0x399)]?Math[_0x26a4af(0x242)](this[_0x26a4af(0x399)]-_0x228f6e,0x0):this[_0x26a4af(0x3a2)]();return _0x2cec3c[_0x26a4af(0x1ef)](_0x4141e2),_0x2cec3c;}throw _0x314f5e[_0x26a4af(0x3f3)];}catch(_0x32b2e6){return this['_logService'][_0x26a4af(0x3f3)](_0x32b2e6),this[_0x26a4af(0x216)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x56684e(0x35d)](){var _0x2b8539=_0x56684e;throw new Error(_0x2b8539(0x115));}['onRemoteRetry'](){return this;}[_0x56684e(0x1ff)](){var _0x2a88f=_0x56684e;return this['_clearScheduledTask'](),this[_0x2a88f(0x1d0)]['createInstance'](ue,this[_0x2a88f(0x150)],this[_0x2a88f(0x359)],null,this[_0x2a88f(0x3c5)],this[_0x2a88f(0x3cd)]);}[_0x56684e(0x1c2)](){return this;}[_0x56684e(0x1ef)](_0x10e1a7){var _0x578c4f=_0x56684e;const _0x360265=_0x10e1a7!=null?_0x10e1a7:this[_0x578c4f(0x3a2)]();this[_0x578c4f(0x399)]=new Date()[_0x578c4f(0x2c6)]()+_0x360265,this[_0x578c4f(0x3fe)]=setTimeout(()=>{var _0x26948a=_0x578c4f;this['_clearScheduledTask']();let _0x294ece=null;switch(this[_0x26948a(0x359)]){case Z[_0x26948a(0x3d5)]:{_0x294ece=Yt(this[_0x26948a(0x3c5)],this['unitID'],this[_0x26948a(0x1f7)],this[_0x26948a(0x20e)],this[_0x26948a(0x277)]);break;}case Z[_0x26948a(0x3eb)]:{this[_0x26948a(0x3c5)][_0x26948a(0x13f)](_0x17cc5b=>_0x17cc5b['id']===_0x4e5ec3['id'])?_0x294ece=zs(this[_0x26948a(0x3c5)],this[_0x26948a(0x150)],this['_univerInstanceService'],this['_revisionService'],this[_0x26948a(0x277)]):_0x294ece=Yt(this[_0x26948a(0x3c5)],this[_0x26948a(0x150)],this['_univerInstanceService'],this[_0x26948a(0x20e)],this[_0x26948a(0x277)]);break;}default:throw new Error(_0x26948a(0x2c4)+this[_0x26948a(0x359)]+_0x26948a(0x364));}const {changeset:_0x17b5e0,pendingMutations:_0x1fc11d}=_0x294ece;this['_handler']['onSendChangeset'](_0x17b5e0);const _0x3b4d71=_0x1fc11d[_0x26948a(0x2ce)]?this[_0x26948a(0x1d0)][_0x26948a(0x351)](ae,this[_0x26948a(0x150)],this[_0x26948a(0x359)],_0x17b5e0,_0x1fc11d,this[_0x26948a(0x3cd)],void 0x0):this[_0x26948a(0x1d0)][_0x26948a(0x351)](_e,this[_0x26948a(0x150)],this['type'],_0x17b5e0,this['_handler']);_0x3b4d71[_0x26948a(0x11f)](),this[_0x26948a(0x3cd)][_0x26948a(0x36e)](this,_0x3b4d71);},_0x360265);}[_0x56684e(0x3a2)](){var _0x218353=_0x56684e,_0x119e99;const _0x569843=this[_0x218353(0x112)][_0x218353(0xfa)](K);return(_0x119e99=_0x569843==null?void 0x0:_0x569843[_0x218353(0x3d0)])!=null?_0x119e99:ms;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x56684e(0x255)](){var _0x36dddf=_0x56684e;this['_sendingTimer']!=null&&(clearTimeout(this[_0x36dddf(0x3fe)]),this[_0x36dddf(0x3fe)]=null);}[_0x56684e(0x216)](_0x3d661c){var _0x361dcf=_0x56684e;return this[_0x361dcf(0x255)](),this[_0x361dcf(0x1d0)][_0x361dcf(0x351)](le,this['unitID'],this['type'],null,this[_0x361dcf(0x3c5)],this[_0x361dcf(0x3cd)],_0x3d661c);}};re=Ie([P(0x4,_0xcd5c51(_0x61ab05)),P(0x5,_0xcd5c51(_0x334794)),P(0x6,_0xcd5c51(Pe)),P(0x7,_0x4a5e0c),P(0x8,_0x35cac9),P(0x9,_0x5d1e84),P(0xa,_0xb86d62),P(0xb,_0x5138cb),P(0xc,_0x586221),P(0xd,_0x3e4ef4(J))],re);let _e=class extends Te{constructor(_0x3fa042,_0x4a0c38,_0x3d04cd,_0x3c4791,_0x54dc00,_0x561ecf,_0x3afc69,_0x19067c,_0x344df3,_0x3b087d,_0x307dad){var _0x513ec7=_0x56684e;super(_0x3fa042,_0x4a0c38,_0x3d04cd,[],_0x3c4791,_0x3afc69,_0x3b087d,_0x561ecf,_0x307dad),N(this,_0x513ec7(0x11e),'awaiting'),N(this,_0x513ec7(0x238),0x0),N(this,'_resendTimer'),N(this,_0x513ec7(0x398)),(this[_0x513ec7(0x1d0)]=_0x54dc00,this[_0x513ec7(0x401)]=_0x19067c,this[_0x513ec7(0x1e7)]=_0x344df3);}['appendMutation'](_0x17473a){var _0x302ee8=_0x56684e;this['_clearScheduledTask']();const _0x13353b=this[_0x302ee8(0x1d0)][_0x302ee8(0x351)](ae,this[_0x302ee8(0x150)],this[_0x302ee8(0x359)],this[_0x302ee8(0x2bb)],[_0x17473a],this[_0x302ee8(0x3cd)],this[_0x302ee8(0x3bb)]);return _0x13353b[_0x302ee8(0x11f)](),_0x13353b;}[_0x56684e(0x118)](_0x4e2c56){var _0x5960d4=_0x56684e;if(this[_0x5960d4(0x3fd)](_0x4e2c56))return this[_0x5960d4(0x255)](),this['_injector']['createInstance'](Q,this[_0x5960d4(0x150)],this[_0x5960d4(0x359)],this[_0x5960d4(0x2bb)],[],null,[_0x4e2c56],this[_0x5960d4(0x3cd)]);try{const _0x479805=this[_0x5960d4(0x1e7)][_0x5960d4(0x141)]([_0x4e2c56],[this[_0x5960d4(0x2bb)]],!0x1);if(_0x143d57(_0x479805)){const {c1Prime:_0x2d4468,c2Prime:_0x341ac9}=_0x479805;this[_0x5960d4(0x34f)](_0x2d4468[0x0]),_0x341ac9[0x0]['baseRev']=this[_0x5960d4(0x15e)](),this[_0x5960d4(0x255)]();const _0x52e1dc=this[_0x5960d4(0x1d0)][_0x5960d4(0x351)](_e,this[_0x5960d4(0x150)],this[_0x5960d4(0x359)],_0x341ac9[0x0],this[_0x5960d4(0x3cd)]);return _0x52e1dc['_updateLocalCache'](),_0x52e1dc;}return this[_0x5960d4(0x216)](!0x1);}catch(_0x115b4e){return this[_0x5960d4(0x401)][_0x5960d4(0x3f3)](_0x115b4e),this[_0x5960d4(0x216)](!0x1);}}['onRemoteAck'](_0x5e7feb){var _0x10a215=_0x56684e;this['_clearScheduledTask']();const _0x15fa24=this[_0x10a215(0x20e)]['getCurrentRevOfUnit'](this[_0x10a215(0x150)]);if(_0x5e7feb[_0x10a215(0x2a1)]<_0x15fa24-0x1)return this;if(this['_checkMissing'](_0x5e7feb))return this['_injector'][_0x10a215(0x351)](Q,this[_0x10a215(0x150)],this[_0x10a215(0x359)],null,[],this[_0x10a215(0x2bb)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x2c6189=this['_injector'][_0x10a215(0x351)](ye,this[_0x10a215(0x150)],this[_0x10a215(0x359)],this[_0x10a215(0x3cd)]);return _0x2c6189[_0x10a215(0x11f)](),_0x2c6189;}[_0x56684e(0x35d)](_0x12fee7){var _0x3633f7=_0x56684e;return this[_0x3633f7(0x216)](!!(_0x12fee7!=null&&_0x12fee7['isPermissionRej']));}['onRemoteRetry'](_0x2738b7){var _0x2b8440=_0x56684e;return this[_0x2b8440(0x238)]>Ci?this['toggleOffline']():(this[_0x2b8440(0x3bb)]=Ii(this[_0x2b8440(0x238)],{'timeout':this[_0x2b8440(0x238)],'reqId':_0x2738b7['reqId']}),this[_0x2b8440(0x398)]=this[_0x2b8440(0x3bb)][_0x2b8440(0x19b)](({reqId:_0x58ca4a,timeout:_0x2be0da})=>{var _0x3e0443=_0x2b8440;this[_0x3e0443(0x37c)](_0x58ca4a,_0x2be0da);}),this);}['toggleOffline'](){var _0x366f3e=_0x56684e;return this[_0x366f3e(0x255)](),this[_0x366f3e(0x1d0)][_0x366f3e(0x351)](ue,this[_0x366f3e(0x150)],this['type'],this['_awaitingChangeset'],[],this[_0x366f3e(0x3cd)]);}[_0x56684e(0x1c2)](){return this;}[_0x56684e(0x300)](){var _0x5b9c1b=_0x56684e;this['_handler'][_0x5b9c1b(0x28c)](this[_0x5b9c1b(0x2bb)]);}[_0x56684e(0x216)](_0x1cdcec){var _0x15d663=_0x56684e;return this[_0x15d663(0x255)](),this[_0x15d663(0x1d0)][_0x15d663(0x351)](le,this['unitID'],this[_0x15d663(0x359)],this[_0x15d663(0x2bb)],[],this[_0x15d663(0x3cd)],_0x1cdcec);}[_0x56684e(0x37c)](_0x250a68,_0x3486a8){var _0x161228=_0x56684e,_0x29ec67;_0x250a68===((_0x29ec67=this[_0x161228(0x2bb)])==null?void 0x0:_0x29ec67[_0x161228(0x29b)])&&(this['resend'](),this[_0x161228(0x238)]=_0x3486a8===0x0?0x3e8:_0x3486a8*0x2);}[_0x56684e(0x255)](){var _0x28db9d=_0x56684e,_0x4f7915;(_0x4f7915=this['_sender'])==null||_0x4f7915[_0x28db9d(0x2b0)](),this[_0x28db9d(0x238)]=0x0;}};_e=Ie([P(0x4,_0xcd5c51(_0x61ab05)),P(0x5,_0xcd5c51(_0x334794)),P(0x6,_0x35cac9),P(0x7,_0x4a5e0c),P(0x8,_0xb86d62),P(0x9,_0x586221),P(0xa,_0x3e4ef4(J))],_e);let ae=class extends Te{constructor(_0xee24de,_0x41a03d,_0x39b5c7,_0x588688,_0x5c7396,_0x3fc050,_0x40db1d,_0x204cc1,_0x3547f1,_0x22e70f,_0x25242d,_0x24647f,_0x397c34){var _0x373c62=_0x56684e;super(_0xee24de,_0x41a03d,_0x39b5c7,_0x588688,_0x5c7396,_0x3547f1,_0x24647f,_0x204cc1,_0x397c34),N(this,_0x373c62(0x11e),_0x373c62(0x1c4)),N(this,_0x373c62(0x238),0x0),N(this,'_resendTimer'),N(this,'_sender'),(this[_0x373c62(0x1d0)]=_0x40db1d,this['_logService']=_0x22e70f,this[_0x373c62(0x1e7)]=_0x25242d,this[_0x373c62(0x103)]=_0x397c34,_0x3fc050&&(this[_0x373c62(0x3bb)]=_0x3fc050,this[_0x373c62(0x398)]=this[_0x373c62(0x3bb)][_0x373c62(0x19b)](({reqId:_0x2e53df,timeout:_0x11bc1b})=>{var _0x34120b=_0x373c62;this[_0x34120b(0x37c)](_0x2e53df,_0x11bc1b);})));}[_0x56684e(0x1a8)](_0x13c89c){var _0x3b8703=_0x56684e;return this[_0x3b8703(0x3c5)][_0x3b8703(0x173)](_0x13c89c),this;}[_0x56684e(0x118)](_0x4c8980){var _0xc8b87e=_0x56684e;if(this[_0xc8b87e(0x3fd)](_0x4c8980))return this[_0xc8b87e(0x255)](),this[_0xc8b87e(0x1d0)][_0xc8b87e(0x351)](Q,this[_0xc8b87e(0x150)],this[_0xc8b87e(0x359)],this[_0xc8b87e(0x2bb)],this[_0xc8b87e(0x3c5)],null,[_0x4c8980],this[_0xc8b87e(0x3cd)]);try{const _0x972d21=this[_0xc8b87e(0x1e7)][_0xc8b87e(0x141)]([_0x4c8980],[this[_0xc8b87e(0x2bb)]],!0x1);if(_0x143d57(_0x972d21)){const {c1Prime:_0x181cf9,c2Prime:_0x57a524}=_0x972d21,_0x34f0b7=this['_transformService'][_0xc8b87e(0x25e)](_0x181cf9[0x0],this[_0xc8b87e(0x3c5)]);if(_0x47f4d8(_0x34f0b7)){const {c1Prime:_0x228cd2,m2Prime:_0x56ddc4}=_0x34f0b7;return this[_0xc8b87e(0x34f)](_0x228cd2),_0x57a524[0x0][_0xc8b87e(0x2d1)]=this[_0xc8b87e(0x15e)](),this[_0xc8b87e(0x255)](),this[_0xc8b87e(0x1d0)][_0xc8b87e(0x351)](ae,this['unitID'],this[_0xc8b87e(0x359)],_0x57a524[0x0],_0x56ddc4,this[_0xc8b87e(0x3cd)],void 0x0);}throw _0x34f0b7['error'];}throw _0x972d21[_0xc8b87e(0x3f3)];}catch(_0x3faa87){return this[_0xc8b87e(0x401)][_0xc8b87e(0x3f3)](_0x3faa87),this[_0xc8b87e(0x216)](!0x1);}}[_0x56684e(0x320)](_0x1ea03d){var _0x39c3ac=_0x56684e;if(this[_0x39c3ac(0x255)](),this[_0x39c3ac(0x3fd)](_0x1ea03d))return this[_0x39c3ac(0x1d0)][_0x39c3ac(0x351)](Q,this[_0x39c3ac(0x150)],this['type'],null,this[_0x39c3ac(0x3c5)],this[_0x39c3ac(0x2bb)],[],this['_handler']);this[_0x39c3ac(0x361)]();const _0x4bf4ce=this['_injector'][_0x39c3ac(0x351)](re,this['unitID'],this[_0x39c3ac(0x359)],this[_0x39c3ac(0x3c5)],this['_handler']);return _0x4bf4ce[_0x39c3ac(0x1ef)](),_0x4bf4ce[_0x39c3ac(0x11f)](),_0x4bf4ce;}[_0x56684e(0x35d)](_0x41a0a2){return this['_onConflict'](!!(_0x41a0a2!=null&&_0x41a0a2['isPermissionRej']));}[_0x56684e(0x331)](_0x4e1605){var _0x1bf6bd=_0x56684e;return this[_0x1bf6bd(0x238)]>Ci?this[_0x1bf6bd(0x1ff)]():(this[_0x1bf6bd(0x3bb)]=Ii(this[_0x1bf6bd(0x238)],{'timeout':this[_0x1bf6bd(0x238)],'reqId':_0x4e1605['reqId']}),this[_0x1bf6bd(0x398)]=this[_0x1bf6bd(0x3bb)]['subscribe'](({reqId:_0x396409,timeout:_0x32fecf})=>{this['_resendWithTimeout'](_0x396409,_0x32fecf);}),this);}[_0x56684e(0x1ff)](){var _0x4e5b61=_0x56684e;return this['_clearScheduledTask'](),this[_0x4e5b61(0x1d0)][_0x4e5b61(0x351)](ue,this[_0x4e5b61(0x150)],this[_0x4e5b61(0x359)],this[_0x4e5b61(0x2bb)],this[_0x4e5b61(0x3c5)],this[_0x4e5b61(0x3cd)]);}['toggleOnline'](){return this;}[_0x56684e(0x300)](){var _0x443b76=_0x56684e;this[_0x443b76(0x3cd)][_0x443b76(0x28c)](this[_0x443b76(0x2bb)]);}[_0x56684e(0x216)](_0x52f082){var _0x42aff0=_0x56684e;return this[_0x42aff0(0x255)](),this[_0x42aff0(0x1d0)]['createInstance'](le,this[_0x42aff0(0x150)],this['type'],null,this[_0x42aff0(0x3c5)],this[_0x42aff0(0x3cd)],_0x52f082);}[_0x56684e(0x37c)](_0x101fb3,_0x14ab18){var _0x2d45f8=_0x56684e,_0x453784;_0x101fb3===((_0x453784=this[_0x2d45f8(0x2bb)])==null?void 0x0:_0x453784[_0x2d45f8(0x29b)])&&(this['resend'](),this[_0x2d45f8(0x238)]=_0x14ab18===0x0?0x3e8:_0x14ab18*0x2);}['_clearScheduledTask'](){var _0x27fc44=_0x56684e,_0x51fd2d;(_0x51fd2d=this[_0x27fc44(0x398)])==null||_0x51fd2d[_0x27fc44(0x2b0)](),this[_0x27fc44(0x238)]=0x0;}};ae=Ie([P(0x6,_0xcd5c51(_0x61ab05)),P(0x7,_0xcd5c51(_0x334794)),P(0x8,_0x35cac9),P(0x9,_0x4a5e0c),P(0xa,_0xb86d62),P(0xb,_0x586221),P(0xc,_0x3e4ef4(J))],ae);let le=class extends Te{constructor(_0x562af9,_0x41ebd0,_0x34a8b8,_0x1c2bdb,_0x27ceb6,_0x41e41a=!0x1,_0x5320c7,_0x353c84,_0x21798c,_0x58e7f1,_0x8bef0a,_0x458f30,_0x22290e){var _0x4c1c4a=_0x56684e;super(_0x562af9,_0x41ebd0,_0x34a8b8,_0x1c2bdb,_0x27ceb6,_0x353c84,_0x21798c,_0x58e7f1,_0x22290e),N(this,_0x4c1c4a(0x11e),_0x4c1c4a(0x14e)),(this['_isPermissionRej']=_0x41e41a,this[_0x4c1c4a(0x33d)]=_0x5320c7,this[_0x4c1c4a(0x250)]=_0x8bef0a,this[_0x4c1c4a(0x2c3)]=_0x458f30,this[_0x4c1c4a(0x103)]=_0x22290e,this[_0x4c1c4a(0x1e0)](),this['_clearLocalCache'](),this[_0x4c1c4a(0x406)]());}[_0x56684e(0x1a8)](){return this;}[_0x56684e(0x118)](){return this;}['onRemoteAck'](){return this;}[_0x56684e(0x35d)](){return this;}[_0x56684e(0x331)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x56684e(0x300)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x56684e(0x1c7)](){var _0x2d3991=_0x56684e,_0x185372;(_0x185372=this[_0x2d3991(0x24a)])==null||_0x185372[_0x2d3991(0x203)](this['unitID'],this[_0x2d3991(0x359)],null,[]);}['_showConflictNotification'](){var _0x1d9a1b=_0x56684e;this['_isPermissionRej']?this[_0x1d9a1b(0x2c3)][_0x1d9a1b(0x12b)]({'id':ne[_0x1d9a1b(0x13e)]}):this[_0x1d9a1b(0x2c3)]['emitEvent']({'id':ne[_0x1d9a1b(0x38a)]});}[_0x56684e(0x406)](){var _0xa4b625=_0x56684e;this[_0xa4b625(0x33d)][_0xa4b625(0x40e)](new _0x568e90(this['unitID'])['id'],!0x1);}};le=Ie([P(0x6,_0xcd5c51(_0x322dca)),P(0x7,_0x35cac9),P(0x8,_0x586221),P(0x9,_0xcd5c51(_0x334794)),P(0xa,_0xcd5c51(_0x357b2a)),P(0xb,_0xcd5c51(ve)),P(0xc,_0x3e4ef4(J))],le);let ue=class extends Te{constructor(_0x3f0d38,_0x126eda,_0x1fb018,_0x3015e8,_0x22046b,_0x33ee85,_0x2c2aa6,_0x1d8c86,_0x40acd6,_0x8f6eb5){var _0x5befed=_0x56684e;super(_0x3f0d38,_0x126eda,_0x1fb018,_0x3015e8,_0x22046b,_0x1d8c86,_0x40acd6,_0x2c2aa6,_0x8f6eb5),N(this,_0x5befed(0x11e),'offline'),this[_0x5befed(0x1d0)]=_0x33ee85;}[_0x56684e(0x1a8)](_0x10b7a2){var _0x4dde49=_0x56684e;return this[_0x4dde49(0x3c5)][_0x4dde49(0x173)](_0x10b7a2),this['_updateLocalCache'](),this;}[_0x56684e(0x118)](_0x31d6c4){var _0x452ecf=_0x56684e;throw new Error(_0x452ecf(0x39d));}[_0x56684e(0x320)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x56684e(0x35d)](){var _0x2f52fb=_0x56684e;throw new Error(_0x2f52fb(0x30d));}[_0x56684e(0x331)](){return this;}[_0x56684e(0x1ff)](){return this;}[_0x56684e(0x1c2)](){var _0x51a060=_0x56684e;const {_injector:_0x437fb0,_pendingMutations:_0x149278,_awaitingChangeset:_0x228c1b,unitID:_0x15e970,_handler:_0x123411,type:_0x4afc0c}=this,_0x34fe24=Ri(_0x437fb0,_0x15e970,_0x4afc0c,_0x228c1b,_0x149278,_0x123411);return _0x34fe24 instanceof re?_0x34fe24[_0x51a060(0x1ef)]():(_0x34fe24 instanceof ae||_0x34fe24 instanceof _e)&&_0x34fe24[_0x51a060(0x300)](),_0x34fe24;}[_0x56684e(0x300)](){var _0x3f646c=_0x56684e;throw new Error(_0x3f646c(0x315));}};ue=Ie([P(0x5,_0xcd5c51(_0x61ab05)),P(0x6,_0xcd5c51(_0x334794)),P(0x7,_0x35cac9),P(0x8,_0x586221),P(0x9,_0x3e4ef4(J))],ue);let Q=class extends Te{constructor(_0x142201,_0x176879,_0x88ff3,_0x2418e9,_0x4ecbb3,_0x14ed53,_0x76a4ac,_0x36aa28,_0x59d888,_0x174b41,_0x3ea8cd,_0x49c530,_0xf85b6e,_0x2153a7){var _0x50a45d=_0x56684e;super(_0x142201,_0x176879,_0x88ff3,_0x2418e9,_0x76a4ac,_0x3ea8cd,_0x49c530,_0x59d888,_0x2153a7),N(this,_0x50a45d(0x11e),_0x50a45d(0x2de)),(this[_0x50a45d(0x38f)]=_0x4ecbb3,this['_queuedRemoteChangesets']=_0x14ed53,this['_injector']=_0x36aa28,this[_0x50a45d(0x401)]=_0x174b41,this['_transformService']=_0xf85b6e,this['localCacheService']=_0x2153a7);}[_0x56684e(0x30b)](_0x3283a6){var _0x3c370d=_0x56684e;try{const _0x2ef655=[..._0x3283a6,...this[_0x3c370d(0x38e)]],_0x26118d=[this[_0x3c370d(0x2bb)]||this[_0x3c370d(0x38f)]]['filter'](_0x173ca2=>!!_0x173ca2);let _0x4c28ad,_0x16ff93;if(_0x26118d[_0x3c370d(0x2ce)]){const _0x1af025=this[_0x3c370d(0x1e7)]['transformChangesets'](_0x2ef655,_0x26118d,!0x1);if(!_0x143d57(_0x1af025))throw _0x1af025[_0x3c370d(0x3f3)];_0x4c28ad=_0x1af025[_0x3c370d(0x3b2)],_0x16ff93=_0x1af025[_0x3c370d(0x272)];}else _0x4c28ad=_0x2ef655,_0x16ff93=[];let _0x488c0f=this[_0x3c370d(0x3c5)];_0x4c28ad[_0x3c370d(0x222)](_0x2d136d=>{var _0x167a5d=_0x3c370d;let _0x343cd5;if(_0x488c0f[_0x167a5d(0x2ce)]){const _0x27d108=this['_transformService'][_0x167a5d(0x25e)](_0x2d136d,_0x488c0f);if(!_0x47f4d8(_0x27d108))throw _0x27d108['error'];_0x343cd5=_0x27d108['c1Prime'],_0x488c0f=_0x27d108['m2Prime'];}else _0x343cd5=_0x2d136d;this['_executeRemoteChangeset'](_0x343cd5);}),this[_0x3c370d(0x38f)]&&this[_0x3c370d(0x361)](),this[_0x3c370d(0x2bb)]&&_0x16ff93[_0x3c370d(0x2ce)]&&(_0x16ff93[0x0]['baseRev']=this[_0x3c370d(0x15e)]());let _0x2ec49f;if(this[_0x3c370d(0x2bb)]&&_0x488c0f[_0x3c370d(0x2ce)]!==0x0)_0x2ec49f=this[_0x3c370d(0x1d0)][_0x3c370d(0x351)](ae,this[_0x3c370d(0x150)],this[_0x3c370d(0x359)],_0x16ff93[0x0],_0x488c0f,this[_0x3c370d(0x3cd)],void 0x0);else{if(this[_0x3c370d(0x2bb)]&&_0x488c0f[_0x3c370d(0x2ce)]===0x0)_0x16ff93[0x0]['baseRev']=this[_0x3c370d(0x15e)](),_0x2ec49f=this[_0x3c370d(0x1d0)]['createInstance'](_e,this['unitID'],this[_0x3c370d(0x359)],_0x16ff93[0x0],this[_0x3c370d(0x3cd)]);else{if(_0x488c0f[_0x3c370d(0x2ce)]!==0x0){const _0x1fff40=this[_0x3c370d(0x1d0)][_0x3c370d(0x351)](re,this[_0x3c370d(0x150)],this[_0x3c370d(0x359)],_0x488c0f,this[_0x3c370d(0x3cd)]);_0x1fff40[_0x3c370d(0x1ef)](),_0x2ec49f=_0x1fff40;}else _0x2ec49f=this[_0x3c370d(0x1d0)][_0x3c370d(0x351)](ye,this[_0x3c370d(0x150)],this[_0x3c370d(0x359)],this['_handler']);}}return _0x2ec49f[_0x3c370d(0x11f)](),_0x2ec49f;}catch(_0x2a4b35){return this[_0x3c370d(0x401)][_0x3c370d(0x3f3)](_0x3c370d(0x3d1),'failed\x20to\x20apply\x20missed\x20changesets!',_0x2a4b35),this[_0x3c370d(0x1d0)]['createInstance'](le,this[_0x3c370d(0x150)],this[_0x3c370d(0x359)],this[_0x3c370d(0x2bb)],this['_pendingMutations'],this[_0x3c370d(0x3cd)],!0x1);}}[_0x56684e(0x300)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x56684e(0x1a8)](_0x3283b8){var _0x3e4a0e=_0x56684e;return this['_pendingMutations'][_0x3e4a0e(0x173)](_0x3283b8),this;}[_0x56684e(0x118)](_0x20f7d4){var _0x2c18fc=_0x56684e;return this[_0x2c18fc(0x38e)]['push'](_0x20f7d4),this;}[_0x56684e(0x320)](_0x4e2cbe){var _0x2934a2=_0x56684e;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x2934a2(0x2bb)]=null,this;throw new Error(_0x2934a2(0x23d));}[_0x56684e(0x35d)](_0x18789c){var _0x5e1d60=_0x56684e;return this[_0x5e1d60(0x216)](!!(_0x18789c!=null&&_0x18789c[_0x5e1d60(0x28d)]));}['onRemoteRetry'](){return this;}[_0x56684e(0x1ff)](){var _0x4f4120=_0x56684e;return this['_injector'][_0x4f4120(0x351)](ue,this[_0x4f4120(0x150)],this['type'],this[_0x4f4120(0x2bb)],this[_0x4f4120(0x3c5)],this[_0x4f4120(0x3cd)]);}[_0x56684e(0x1c2)](){return this;}[_0x56684e(0x216)](_0x12261e){var _0x4185a1=_0x56684e;return this[_0x4185a1(0x1d0)]['createInstance'](le,this['unitID'],this[_0x4185a1(0x359)],this[_0x4185a1(0x2bb)],this[_0x4185a1(0x3c5)],this[_0x4185a1(0x3cd)],_0x12261e);}};Q=Ie([P(0x7,_0xcd5c51(_0x61ab05)),P(0x8,_0xcd5c51(_0x334794)),P(0x9,_0x4a5e0c),P(0xa,_0x35cac9),P(0xb,_0x586221),P(0xc,_0xb86d62),P(0xd,_0x3e4ef4(J))],Q);function Ri(_0x4fae3d,_0x2cc0cf,_0xaaaab7,_0x5d45c4,_0x59f242,_0x45342b){var _0xd7c40e=_0x56684e;return _0x5d45c4&&_0x59f242[_0xd7c40e(0x2ce)]?_0x4fae3d['createInstance'](ae,_0x2cc0cf,_0xaaaab7,_0x5d45c4,_0x59f242,_0x45342b,void 0x0):_0x5d45c4?_0x4fae3d['createInstance'](_e,_0x2cc0cf,_0xaaaab7,_0x5d45c4,_0x45342b):_0x59f242[_0xd7c40e(0x2ce)]?_0x4fae3d['createInstance'](re,_0x2cc0cf,_0xaaaab7,_0x59f242,_0x45342b):_0x4fae3d[_0xd7c40e(0x351)](ye,_0x2cc0cf,_0xaaaab7,_0x45342b);}var Zs=Object[_0x56684e(0x2df)],wt=(_0x214cfe,_0x161d3c,_0xd41daf,_0x272730)=>{var _0x3ccd2b=_0x56684e;for(var _0x26e33a=_0x272730>0x1?void 0x0:_0x272730?Zs(_0x161d3c,_0xd41daf):_0x161d3c,_0x920b46=_0x214cfe[_0x3ccd2b(0x2ce)]-0x1,_0x208e90;_0x920b46>=0x0;_0x920b46--)(_0x208e90=_0x214cfe[_0x920b46])&&(_0x26e33a=_0x208e90(_0x26e33a)||_0x26e33a);return _0x26e33a;},H=(_0x20db42,_0x22268d)=>(_0x2bcf03,_0x277e13)=>_0x22268d(_0x2bcf03,_0x277e13,_0x20db42);let st=class extends _0x545dc9{constructor(_0x38151c,_0x306730,_0x15cb81,_0x5aa66d,_0x275fd9,_0x194b8a,_0x28cdcb,_0x4ae960,_0x3fc87c,_0x47b3f2,_0x5745a7,_0x514ccb,_0x579e94){var _0x5eff72=_0x56684e;super(),N(this,'_state$',new _0xe0c6eb(null)),N(this,_0x5eff72(0x2d0),this[_0x5eff72(0xfe)][_0x5eff72(0x1d6)]()),N(this,_0x5eff72(0x37d)),N(this,_0x5eff72(0x24d),!0x1),N(this,_0x5eff72(0x33a),''),N(this,_0x5eff72(0x2d8),0x0),N(this,_0x5eff72(0x2be),this[_0x5eff72(0x2d0)][_0x5eff72(0x31a)](_0x4591a0(_0x5b3dd6=>_0x5b3dd6?_0x5b3dd6[_0x5eff72(0x11e)]:Ti[_0x5eff72(0x111)]),_0x9f78e8(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x5eff72(0x3be),[]),(this[_0x5eff72(0x150)]=_0x38151c,this[_0x5eff72(0x39a)]=_0x306730,this['_type']=_0x15cb81,this['_injector']=_0x5aa66d,this[_0x5eff72(0x3cf)]=_0x275fd9,this[_0x5eff72(0x250)]=_0x194b8a,this[_0x5eff72(0x20e)]=_0x28cdcb,this[_0x5eff72(0x2e3)]=_0x4ae960,this['_logService']=_0x3fc87c,this[_0x5eff72(0x157)]=_0x47b3f2,this['_permissionService']=_0x5745a7,this[_0x5eff72(0x244)]=_0x514ccb,this['_localCacheService']=_0x579e94);}get[_0x56684e(0x2bc)](){return this['_state'];}async['init'](){var _0x265a73=_0x56684e;if(this[_0x265a73(0x2bc)])throw new Error(_0x265a73(0x172));await this[_0x265a73(0x304)]();}[_0x56684e(0x126)](){var _0x2b0c71=_0x56684e;return this[_0x2b0c71(0x24d)]=!0x0,_0x3b1a17(()=>{var _0x4c9428=_0x2b0c71;this[_0x4c9428(0x24d)]=!0x1,this[_0x4c9428(0x129)]();});}[_0x56684e(0x360)](_0x29df4b){var _0x20df5d=_0x56684e;this[_0x20df5d(0x158)](_0x29df4b);}['_updateState'](_0x53dfd1){var _0x5443fe=_0x56684e;this[_0x5443fe(0x37d)]=_0x53dfd1,this[_0x5443fe(0xfe)][_0x5443fe(0x279)](_0x53dfd1);}async['_init'](){var _0x492a02=_0x56684e,_0x214ed4;this[_0x492a02(0x2f1)](await this[_0x492a02(0x1d3)]()),this[_0x492a02(0x244)]&&((_0x214ed4=this[_0x492a02(0x244)])==null||_0x214ed4[_0x492a02(0x10a)](this['unitID']),this[_0x492a02(0xff)](this[_0x492a02(0x244)][_0x492a02(0x377)](this[_0x492a02(0x150)])[_0x492a02(0x19b)](_0xab8d34=>{var _0x98446f=_0x492a02;this[_0x98446f(0x401)][_0x98446f(0x2ff)](_0x98446f(0x3ee),'editing\x20status\x20changed\x20to',_0xab8d34),_0xab8d34===Ei['OTHER_CLIENTS_EDITING']?(this[_0x98446f(0x2e3)][_0x98446f(0x12b)]({'id':ne[_0x98446f(0x264)]}),this[_0x98446f(0x33d)]['updatePermissionPoint'](new _0x568e90(this[_0x98446f(0x150)])['id'],!0x1),this['_permissionService'][_0x98446f(0x30e)](!0x1)):(this[_0x98446f(0x33d)]['updatePermissionPoint'](new _0x568e90(this[_0x98446f(0x150)])['id'],!0x0),this[_0x98446f(0x33d)][_0x98446f(0x30e)](!0x0));})));let _0x5648fd=!0x1;return this['disposeWithMe'](this[_0x492a02(0x39a)][_0x492a02(0x1ae)][_0x492a02(0x19b)](_0x571050=>{var _0x295233=_0x492a02;_0x571050===Se['ONLINE']?this[_0x295233(0x40d)](_0x5648fd):_0x571050===Se[_0x295233(0x111)]&&(_0x5648fd=!0x0,this[_0x295233(0x24e)]());})),this[_0x492a02(0xff)](this[_0x492a02(0x39a)][_0x492a02(0x335)][_0x492a02(0x19b)](_0x7edbfc=>{var _0x393fd5=_0x492a02;try{switch(_0x7edbfc[_0x393fd5(0x3e5)]){case _0x42332f[_0x393fd5(0x356)]:{this['_onRemoteChangeset'](_0x1c14e6(_0x7edbfc[_0x393fd5(0x166)]));break;}case _0x42332f['CHANGESET_ACK']:{this['_onRemoteACK'](_0x7edbfc[_0x393fd5(0x166)]);break;}case _0x42332f[_0x393fd5(0x334)]:{this['_onRemoteRejected']();break;}case _0x42332f[_0x393fd5(0x1e1)]:{this[_0x393fd5(0x104)](_0x7edbfc['data']);break;}case _0x42332f[_0x393fd5(0x25f)]:{this[_0x393fd5(0x314)](_0x7edbfc[_0x393fd5(0x166)][_0x393fd5(0xfb)][_0x393fd5(0x1b9)](_0x180f9f=>_0x1c14e6(_0x180f9f)));break;}case _0x42332f[_0x393fd5(0x3bd)]:{this[_0x393fd5(0x378)]({'isPermissionRej':!0x0});break;}case _0x42332f['UNISCRIPT_RUN']:break;}}catch(_0x2269be){throw console[_0x393fd5(0x3f3)](_0x393fd5(0x1ca),_0x2269be),_0x2269be;}})),this['_state'];}[_0x56684e(0x28a)](){var _0x4370c7=_0x56684e;this[_0x4370c7(0x34a)]=!0x1;}[_0x56684e(0x35b)](){var _0x14c8d8=_0x56684e;if(this[_0x14c8d8(0x34a)])throw new Error('[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.');this[_0x14c8d8(0x34a)]=!0x0;}[_0x56684e(0x158)](_0x525970){var _0xb78b79=_0x56684e;this[_0xb78b79(0x35b)](),this['_updateState'](this[_0xb78b79(0x37d)]['appendMutation'](_0x525970)),this[_0xb78b79(0x28a)]();}[_0x56684e(0x1ac)](_0x52475e){var _0x2351a0=_0x56684e;if(!(_0x52475e[_0x2351a0(0x2a1)]<=this[_0x2351a0(0x20e)]['getCurrentRevOfUnit'](this['unitID']))){if(this['_collaborationPaused']){this['_remoteChangesetQueue']['push'](_0x52475e);return;}this[_0x2351a0(0x1ed)](_0x52475e);}}[_0x56684e(0x129)](){var _0xee3561=_0x56684e;this[_0xee3561(0x3be)][_0xee3561(0x222)](_0x3d6753=>this[_0xee3561(0x1ed)](_0x3d6753)),this['_remoteChangesetQueue']=[];}[_0x56684e(0x1ed)](_0x41f716){var _0x1eb06f=_0x56684e;const _0x5f19e6=this[_0x1eb06f(0x3cf)]['interceptor'][_0x1eb06f(0x183)](this[_0x1eb06f(0x3cf)][_0x1eb06f(0x3a3)][_0x1eb06f(0x20a)]()['COMPRESS_MUTATION_APPLY'])(_0x41f716[_0x1eb06f(0x219)],null)||_0x41f716['mutations'],_0x523535={..._0x41f716,'mutations':_0x5f19e6};this[_0x1eb06f(0x35b)](),this[_0x1eb06f(0x2f1)](this[_0x1eb06f(0x37d)][_0x1eb06f(0x118)](_0x523535)),this[_0x1eb06f(0x28a)]();}[_0x56684e(0x3a6)](_0xc7d6ec){var _0x3e83ff=_0x56684e;this[_0x3e83ff(0x35b)](),this[_0x3e83ff(0x2f1)](this[_0x3e83ff(0x37d)]['onRemoteAck'](_0xc7d6ec)),this['_unlockTransition']();}['_onRemoteRejected'](_0x5b7212){var _0x363e15=_0x56684e;this[_0x363e15(0x35b)](),this[_0x363e15(0x2f1)](this[_0x363e15(0x37d)][_0x363e15(0x35d)](_0x5b7212)),this[_0x363e15(0x28a)]();}[_0x56684e(0x104)](_0x40834a){var _0x4c4398=_0x56684e;this[_0x4c4398(0x35b)](),this[_0x4c4398(0x2f1)](this[_0x4c4398(0x37d)][_0x4c4398(0x331)](_0x40834a)),this['_unlockTransition']();}['_onFetchMissResult'](_0x118a7f){var _0x20fec0=_0x56684e;if(!(this[_0x20fec0(0x37d)]instanceof Q))throw new TypeError(_0x20fec0(0x344));const _0x39aebd=_0x118a7f[_0x20fec0(0x1b9)](_0x23221d=>{var _0x1be56d=_0x20fec0;const _0x34e3bc=this[_0x1be56d(0x3cf)][_0x1be56d(0x3a3)][_0x1be56d(0x183)](this[_0x1be56d(0x3cf)][_0x1be56d(0x3a3)][_0x1be56d(0x20a)]()['COMPRESS_MUTATION_APPLY'])(_0x23221d[_0x1be56d(0x219)],null)||_0x23221d[_0x1be56d(0x219)];return{..._0x23221d,'mutations':_0x34e3bc};});this[_0x20fec0(0x35b)](),this[_0x20fec0(0x2f1)](this['_state']['onMissedChangesetFetched'](_0x39aebd)),this[_0x20fec0(0x28a)]();}[_0x56684e(0x24e)](){var _0x52463f=_0x56684e;this['_lockTransition'](),this[_0x52463f(0x2f1)](this['_state'][_0x52463f(0x1ff)]()),this[_0x52463f(0x28a)]();}['_toggleOnline'](_0x151c49=!0x1){var _0x546204=_0x56684e;this['_lockTransition'](),this[_0x546204(0x2f1)](this[_0x546204(0x37d)][_0x546204(0x1c2)]()),this[_0x546204(0x28a)]();const _0x2d6f7f=this[_0x546204(0x37d)];_0x151c49&&_0x2d6f7f instanceof ye&&(this[_0x546204(0x35b)](),this['_updateState'](_0x2d6f7f[_0x546204(0x12c)]()),this[_0x546204(0x28a)]());}async[_0x56684e(0x1d3)](){return new Promise(_0x4cdd5c=>{var _0x4770ef=_0x138e;this[_0x4770ef(0x39a)][_0x4770ef(0x1ae)][_0x4770ef(0x31a)](_0x5d33bf(0x1))['subscribe'](async _0x20a948=>{var _0x13a50d=_0x4770ef;_0x4cdd5c(await this[_0x13a50d(0x2f5)](_0x20a948===Se[_0x13a50d(0x1db)]));});});}['_createHandler'](){var _0x38fac3=_0x56684e;const _0x3eda79=this[_0x38fac3(0x150)];return{'onStateChange':(_0x1ef3e9,_0x5e7b25)=>{var _0x5da4f3=_0x38fac3;if(_0x1ef3e9!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x1ef3e9[_0x5da4f3(0x11e)]+_0x5da4f3(0x280)+_0x5e7b25[_0x5da4f3(0x11e)]+_0x5da4f3(0x2ea)+this[_0x5da4f3(0x37d)][_0x5da4f3(0x11e)]);this[_0x5da4f3(0x2f1)](_0x5e7b25);},'onSendChangeset':_0x2b8734=>{var _0xdf5476=_0x38fac3;_0x2b8734[_0xdf5476(0x2fa)]||(_0x2b8734[_0xdf5476(0x2fa)]=this[_0xdf5476(0x33a)],_0x2b8734[_0xdf5476(0x29b)]=++this['_changesetReqId']);const _0x4b3ce7={'eventID':_0x42332f['SUBMIT_CHANGESET'],'data':{'unitID':_0x2b8734[_0xdf5476(0x150)],'unitType':this[_0xdf5476(0x3df)],'changeset':_0x2b8734,'memberID':this[_0xdf5476(0x39a)][_0xdf5476(0x25a)]()}};this['session'][_0xdf5476(0x2b7)](_0x4b3ce7,this['unitID']);},'onMissingChangesets':({from:_0x47359f,to:_0x5b4d26})=>{var _0x21831f=_0x38fac3;this[_0x21831f(0x401)][_0x21831f(0x2ff)](_0x21831f(0x3ee),_0x21831f(0x275)+_0x47359f+'\x20to\x20'+_0x5b4d26);const _0x3d398d={'eventID':_0x42332f['FETCH_MISSING'],'data':{'unitID':_0x3eda79,'unitType':this['_type'],'from':_0x47359f,'to':_0x5b4d26}};this[_0x21831f(0x39a)][_0x21831f(0x2b7)](_0x3d398d,this[_0x21831f(0x150)]);}};}async[_0x56684e(0x2f5)](_0x2fec22){var _0xc6a359=_0x56684e,_0x500c68,_0x447953,_0x51d52c;const _0x2bda80=await((_0x500c68=this['_localCacheService'])==null?void 0x0:_0x500c68[_0xc6a359(0x14a)](this['unitID'])),_0x469705=(_0x447953=_0x2bda80==null?void 0x0:_0x2bda80['mutations'])!=null?_0x447953:[],_0x4448db=(_0x51d52c=_0x2bda80==null?void 0x0:_0x2bda80[_0xc6a359(0x234)])!=null?_0x51d52c:null,_0x13df34=!!(_0x4448db!=null&&_0x4448db['sid'])&&!!(_0x4448db!=null&&_0x4448db[_0xc6a359(0x29b)]);this[_0xc6a359(0x33a)]=_0x13df34?_0x4448db['sid']:_0x6f26db(),this['_changesetReqId']=_0x13df34?_0x4448db[_0xc6a359(0x29b)]:0x0;const _0x6f376a=this['unitID'];try{this[_0xc6a359(0x38c)](_0x4448db,_0x469705);}catch(_0x20d5af){this[_0xc6a359(0x401)][_0xc6a359(0x3f3)](_0x20d5af);}const _0x1b0e2f=this[_0xc6a359(0x1c5)]();if(_0x2fec22){const _0x5bdcfb=Ri(this[_0xc6a359(0x1d0)],_0x6f376a,this[_0xc6a359(0x3df)],_0x4448db,_0x469705,_0x1b0e2f);return _0x5bdcfb instanceof re?_0x5bdcfb[_0xc6a359(0x1ef)]():(_0x5bdcfb instanceof ae||_0x5bdcfb instanceof _e)&&_0x5bdcfb['resend'](),_0x5bdcfb;}return this[_0xc6a359(0x1d0)][_0xc6a359(0x351)](ue,_0x6f376a,this[_0xc6a359(0x3df)],_0x4448db,_0x469705,_0x1b0e2f);}['_replayCachedMutations'](_0x544964,_0x5555cb){var _0x2bca81=_0x56684e,_0x191fe0,_0x33c311;const _0x480a4b=this[_0x2bca81(0x3cf)][_0x2bca81(0x3a3)]['fetchThroughInterceptors'](this[_0x2bca81(0x3cf)][_0x2bca81(0x3a3)]['getInterceptPoints']()[_0x2bca81(0x13d)]);(_0x191fe0=_0x480a4b((_0x544964==null?void 0x0:_0x544964[_0x2bca81(0x219)])||[],null))==null||_0x191fe0[_0x2bca81(0x222)](_0x56ce2c=>this[_0x2bca81(0x157)][_0x2bca81(0x22c)](_0x56ce2c['id'],_0x56ce2c[_0x2bca81(0x27f)])),(_0x33c311=_0x480a4b(_0x5555cb||[],null))==null||_0x33c311[_0x2bca81(0x222)](_0x5dbfc6=>this[_0x2bca81(0x157)][_0x2bca81(0x22c)](_0x5dbfc6['id'],_0x5dbfc6[_0x2bca81(0x27f)]));}};st=wt([H(0x3,_0xcd5c51(_0x61ab05)),H(0x4,_0xcd5c51(_0x49e122)),H(0x5,_0xcd5c51(_0x357b2a)),H(0x6,_0xcd5c51(_0x334794)),H(0x7,_0xcd5c51(ve)),H(0x8,_0x4a5e0c),H(0x9,_0x35cac9),H(0xa,_0x322dca),H(0xb,_0x3e4ef4(ht)),H(0xc,_0x3e4ef4(J))],st);let St=class extends st{constructor(_0x34ae2a,_0x36a87b,_0x5a7211,_0x1d8c36,_0x1f5c13,_0x5e18f1,_0xf2f46,_0x471eb1,_0x136188,_0xb99ffd,_0x27b13c,_0x31e51a,_0x2d4e50){var _0x5e0d86=_0x56684e;super(_0x34ae2a,_0x5a7211,_0x36a87b,_0x1d8c36,_0x1f5c13,_0x5e18f1,_0xf2f46,_0x471eb1,_0x136188,_0xb99ffd,_0x27b13c,_0x31e51a,_0x2d4e50),N(this,'_handlerCallback',null),(this[_0x5e0d86(0x150)]=_0x34ae2a,this[_0x5e0d86(0x359)]=_0x36a87b);}['addHandlerCallback'](_0x20891e){this['_handlerCallback']=_0x20891e;}[_0x56684e(0x128)](){var _0xc6c738=_0x56684e;this[_0xc6c738(0x3db)]=null,super[_0xc6c738(0x128)]();}['_createHandler'](){var _0x577e4e=_0x56684e;const _0x4ef485=super[_0x577e4e(0x1c5)]();return _0x4ef485[_0x577e4e(0x165)]=_0x26cd8d=>{var _0x184302=_0x577e4e,_0x363fdc,_0x5c3cd1;return(_0x5c3cd1=(_0x363fdc=this['_handlerCallback'])==null?void 0x0:_0x363fdc['onTransformIME'])==null?void 0x0:_0x5c3cd1[_0x184302(0x27d)](_0x363fdc,_0x26cd8d);},_0x4ef485[_0x577e4e(0x2a0)]=_0x510775=>{var _0x3ac190=_0x577e4e,_0x4e439a,_0x3dffcc;return(_0x3dffcc=(_0x4e439a=this[_0x3ac190(0x3db)])==null?void 0x0:_0x4e439a['onTransformState'])==null?void 0x0:_0x3dffcc[_0x3ac190(0x27d)](_0x4e439a,_0x510775);},_0x4ef485[_0x577e4e(0x1ee)]=_0x35cea6=>{var _0x58eff3=_0x577e4e,_0x548bac,_0x515e66;return(_0x515e66=(_0x548bac=this[_0x58eff3(0x3db)])==null?void 0x0:_0x548bac[_0x58eff3(0x1ee)])==null?void 0x0:_0x515e66[_0x58eff3(0x27d)](_0x548bac,_0x35cea6);},_0x4ef485[_0x577e4e(0x121)]=_0x3e526e=>{var _0x2c9dd8=_0x577e4e,_0x570b86,_0x180f94;return(_0x180f94=(_0x570b86=this[_0x2c9dd8(0x3db)])==null?void 0x0:_0x570b86[_0x2c9dd8(0x121)])==null?void 0x0:_0x180f94[_0x2c9dd8(0x27d)](_0x570b86,_0x3e526e);},_0x4ef485[_0x577e4e(0x353)]=_0x57c9a2=>{var _0x45933d=_0x577e4e,_0x586a7b,_0x5be94a,_0x5904c5;if(!((_0x586a7b=this[_0x45933d(0x3db)])!=null&&_0x586a7b[_0x45933d(0x353)]))throw new Error(_0x45933d(0x24c));return(_0x5904c5=(_0x5be94a=this[_0x45933d(0x3db)])==null?void 0x0:_0x5be94a[_0x45933d(0x353)])==null?void 0x0:_0x5904c5[_0x45933d(0x27d)](_0x5be94a,_0x57c9a2);},_0x4ef485[_0x577e4e(0x2cf)]=_0x5b1903=>{var _0x1746a1=_0x577e4e,_0x1df83a,_0x288bc6,_0x1f4d47;if(!((_0x1df83a=this['_handlerCallback'])!=null&&_0x1df83a[_0x1746a1(0x2cf)]))throw new Error(_0x1746a1(0x152));return(_0x1f4d47=(_0x288bc6=this[_0x1746a1(0x3db)])==null?void 0x0:_0x288bc6['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1f4d47[_0x1746a1(0x27d)](_0x288bc6,_0x5b1903);},_0x4ef485;}async[_0x56684e(0x304)](){var _0x54d0ed=_0x56684e;const _0x5f1f88=await super[_0x54d0ed(0x304)]();return this['disposeWithMe'](this[_0x54d0ed(0x157)][_0x54d0ed(0x33c)]((_0x35c162,_0x9830ae)=>{var _0x264d2e=_0x54d0ed;if(_0x35c162['type']!==_0x37276b[_0x264d2e(0x2ae)]||_0x9830ae!=null&&_0x9830ae[_0x264d2e(0x347)]||_0x9830ae!=null&&_0x9830ae[_0x264d2e(0x1da)]||_0x35c162['id']===_0x4e5ec3['id'])return;const _0x2f6049=_0x35c162[_0x264d2e(0x27f)];if((_0x2f6049==null?void 0x0:_0x2f6049[_0x264d2e(0x11b)])!==this[_0x264d2e(0x150)])return;const _0x504d6a=_0x35c162,_0x3aef8f=this[_0x264d2e(0x3cf)]['interceptor'][_0x264d2e(0x183)](this[_0x264d2e(0x3cf)][_0x264d2e(0x3a3)][_0x264d2e(0x20a)]()[_0x264d2e(0x354)])([_0x504d6a],null)||[_0x504d6a];this[_0x264d2e(0x158)](_0x3aef8f[0x0]);})),_0x5f1f88;}};St=wt([H(0x3,_0xcd5c51(_0x61ab05)),H(0x4,_0xcd5c51(_0x49e122)),H(0x5,_0xcd5c51(_0x357b2a)),H(0x6,_0xcd5c51(_0x334794)),H(0x7,_0xcd5c51(ve)),H(0x8,_0x4a5e0c),H(0x9,_0x35cac9),H(0xa,_0x322dca),H(0xb,_0x3e4ef4(ht)),H(0xc,_0x3e4ef4(J))],St);let Et=class extends st{constructor(_0x1887f7,_0xf778b3,_0x1f6408,_0x3f1e0d,_0x4a6547,_0x30263f,_0x440d45,_0x4fd30a,_0x6a35e0,_0x5e8cc5,_0x44d67c,_0x320b7f,_0x3120d3,_0x3aa6f0){var _0x584c90=_0x56684e;super(_0x1887f7,_0x1f6408,_0xf778b3,_0x3f1e0d,_0x4a6547,_0x30263f,_0x440d45,_0x6a35e0,_0x5e8cc5,_0x44d67c,_0x320b7f,_0x3120d3,_0x3aa6f0),this[_0x584c90(0x150)]=_0x1887f7,this[_0x584c90(0x359)]=_0xf778b3,this[_0x584c90(0x29e)]=_0x4fd30a;}['_createHandler'](){var _0x40b7e1=_0x56684e;const _0x278278=super[_0x40b7e1(0x1c5)]();return _0x278278['onTransformSelections']=_0x2f8c73=>this['_sheetTransformSelectionsService'][_0x40b7e1(0x1b3)](_0x2f8c73),_0x278278;}async[_0x56684e(0x304)](){var _0x22caf3=_0x56684e;const _0x4db4fc=await super[_0x22caf3(0x304)]();return this[_0x22caf3(0xff)](this[_0x22caf3(0x157)]['onCommandExecuted']((_0x39b4c7,_0xc84b2b)=>{var _0x5b95a4=_0x22caf3;if(_0x39b4c7[_0x5b95a4(0x359)]!==_0x37276b[_0x5b95a4(0x2ae)]||_0xc84b2b!=null&&_0xc84b2b[_0x5b95a4(0x347)]||_0xc84b2b!=null&&_0xc84b2b[_0x5b95a4(0x1da)])return;const _0x5932d0=_0x39b4c7[_0x5b95a4(0x27f)];if((_0x5932d0==null?void 0x0:_0x5932d0[_0x5b95a4(0x11b)])!==this[_0x5b95a4(0x150)])return;const _0x3c3e6b=_0x39b4c7,_0x93f67a=this[_0x5b95a4(0x3cf)][_0x5b95a4(0x3a3)][_0x5b95a4(0x183)](this[_0x5b95a4(0x3cf)]['interceptor']['getInterceptPoints']()[_0x5b95a4(0x354)])([_0x3c3e6b],null)||[_0x3c3e6b];this[_0x5b95a4(0x158)](_0x93f67a[0x0]);})),_0x4db4fc;}};Et=wt([H(0x3,_0xcd5c51(_0x61ab05)),H(0x4,_0xcd5c51(_0x49e122)),H(0x5,_0xcd5c51(_0x357b2a)),H(0x6,_0xcd5c51(_0x334794)),H(0x7,_0xcd5c51(it)),H(0x8,_0xcd5c51(ve)),H(0x9,_0x4a5e0c),H(0xa,_0x35cac9),H(0xb,_0x322dca),H(0xc,_0x3e4ef4(ht)),H(0xd,_0x3e4ef4(J))],Et);var Qs=Object['getOwnPropertyDescriptor'],en=(_0x48d2fd,_0x2691c9,_0x50df3d,_0x4b9274)=>{var _0x388436=_0x56684e;for(var _0x1dcd8f=_0x4b9274>0x1?void 0x0:_0x4b9274?Qs(_0x2691c9,_0x50df3d):_0x2691c9,_0xecfbbe=_0x48d2fd[_0x388436(0x2ce)]-0x1,_0x1748d5;_0xecfbbe>=0x0;_0xecfbbe--)(_0x1748d5=_0x48d2fd[_0xecfbbe])&&(_0x1dcd8f=_0x1748d5(_0x1dcd8f)||_0x1dcd8f);return _0x1dcd8f;},Be=(_0x489db3,_0x5e9007)=>(_0x1c1f87,_0x1a492f)=>_0x5e9007(_0x1c1f87,_0x1a492f,_0x489db3);let nt=class extends _0x545dc9{constructor(_0x1ce90a,_0xa41e40,_0x4cc84e,_0x27011e){var _0x471268=_0x56684e,_0x26f922;super(),N(this,_0x471268(0x259),new Map()),N(this,_0x471268(0x2f6),new _0x4364ba()),N(this,_0x471268(0x3af),this['_entityInit$'][_0x471268(0x1d6)]()),(this[_0x471268(0x1d0)]=_0x1ce90a,this[_0x471268(0x136)]=_0xa41e40,this[_0x471268(0x112)]=_0x4cc84e,this[_0x471268(0x1f7)]=_0x27011e,((_0x26f922=this[_0x471268(0x112)][_0x471268(0xfa)](K))==null?void 0x0:_0x26f922['enableCollaboration'])!==!0x1&&this[_0x471268(0x304)]());}[_0x56684e(0x128)](){var _0x2ae02d=_0x56684e;super[_0x2ae02d(0x128)](),this[_0x2ae02d(0x259)][_0x2ae02d(0x222)](_0x51ac37=>_0x51ac37[_0x2ae02d(0x128)]()),this[_0x2ae02d(0x259)][_0x2ae02d(0x2d5)]();}[_0x56684e(0x2f4)](_0x356823){var _0x1326fd=_0x56684e,_0x6268da;return(_0x6268da=this[_0x1326fd(0x259)][_0x1326fd(0x251)](_0x356823))!=null?_0x6268da:null;}['getCollabEntity$'](_0x18a6c4){var _0x4b5c74=_0x56684e;const _0xfe98be=this['getCollabEntity'](_0x18a6c4);return _0xfe98be?_0x577324(_0xfe98be):this[_0x4b5c74(0x2f6)][_0x4b5c74(0x31a)](_0x32806c(_0x5bb1a2=>_0x5bb1a2[_0x4b5c74(0x150)]===_0x18a6c4));}[_0x56684e(0x123)](_0x55a8af){var _0x2d01b1=_0x56684e;return _0x286dff(this[_0x2d01b1(0x2c7)](_0x55a8af)[_0x2d01b1(0x31a)](_0x400b39(()=>{})));}['_init'](){var _0x37c287=_0x56684e;this[_0x37c287(0x1f7)][_0x37c287(0x287)](_0x1ead05[_0x37c287(0x3d5)])[_0x37c287(0x31a)](_0x3d1b70(this['dispose$']),_0x2806f8(0x10))[_0x37c287(0x19b)](async _0x181f17=>{var _0x3db4e6=_0x37c287;const _0xd11b61=_0x181f17['getUnitId'](),_0x147f10=await this[_0x3db4e6(0x1c1)](_0xd11b61,Z[_0x3db4e6(0x3d5)]);this[_0x3db4e6(0x259)][_0x3db4e6(0x1a2)](_0xd11b61,_0x147f10);}),this['_univerInstanceService'][_0x37c287(0x287)](_0x1ead05[_0x37c287(0x3eb)])['pipe'](_0x3d1b70(this[_0x37c287(0x14f)]),_0x2806f8(0x10))[_0x37c287(0x31a)](_0x32806c(_0x285517=>!_0x285517['getUnitId']()[_0x37c287(0x20f)]('__')))[_0x37c287(0x19b)](async _0x441ee4=>{var _0x223e0d=_0x37c287;const _0x3f303f=_0x441ee4[_0x223e0d(0x1a7)](),_0x158333=await this[_0x223e0d(0x1c1)](_0x3f303f,Z[_0x223e0d(0x3eb)]);this['_entities'][_0x223e0d(0x1a2)](_0x3f303f,_0x158333);}),_0x3e5a88(this[_0x37c287(0x1f7)][_0x37c287(0x3f7)](_0x1ead05[_0x37c287(0x3d5)]),this[_0x37c287(0x1f7)]['getTypeOfUnitDisposed$'](_0x1ead05[_0x37c287(0x3eb)]))['pipe'](_0x3d1b70(this['dispose$']))[_0x37c287(0x19b)](_0x4fa47e=>{var _0x1825c3=_0x37c287;const _0x393070=_0x4fa47e[_0x1825c3(0x1a7)](),_0x5af1a0=this[_0x1825c3(0x259)][_0x1825c3(0x251)](_0x393070);_0x5af1a0&&(_0x5af1a0['dispose'](),this[_0x1825c3(0x259)]['delete'](_0x393070));});}async[_0x56684e(0x1c1)](_0x18686f,_0xd222d7){var _0x4b0a5e=_0x56684e;const _0x108043=await this['_collabSessionService'][_0x4b0a5e(0x233)](_0x18686f),_0x2dabd6=this[_0x4b0a5e(0x1d0)]['createInstance'](this[_0x4b0a5e(0x3ec)](_0xd222d7),_0x18686f,_0xd222d7,_0x108043);return await _0x2dabd6[_0x4b0a5e(0x27b)](),this[_0x4b0a5e(0x2f6)][_0x4b0a5e(0x279)](_0x2dabd6),_0x2dabd6;}[_0x56684e(0x3ec)](_0x57028f){var _0x17dedf=_0x56684e;switch(_0x57028f){case Z[_0x17dedf(0x3eb)]:return St;case Z[_0x17dedf(0x3d5)]:return Et;default:throw new Error(_0x17dedf(0x37a)+_0x57028f);}}};nt=en([Be(0x0,_0xcd5c51(_0x61ab05)),Be(0x1,_0xcd5c51(Le)),Be(0x2,_0x5d1e84),Be(0x3,_0x5138cb)],nt);var tn=Object[_0x56684e(0x2df)],sn=(_0x4274b2,_0xac7034,_0x3d14dc,_0x4c2c7c)=>{var _0x4f2e48=_0x56684e;for(var _0x55ae1f=_0x4c2c7c>0x1?void 0x0:_0x4c2c7c?tn(_0xac7034,_0x3d14dc):_0xac7034,_0xf0a464=_0x4274b2[_0x4f2e48(0x2ce)]-0x1,_0x555474;_0xf0a464>=0x0;_0xf0a464--)(_0x555474=_0x4274b2[_0xf0a464])&&(_0x55ae1f=_0x555474(_0x55ae1f)||_0x55ae1f);return _0x55ae1f;},Wt=(_0x16adb6,_0x3f076e)=>(_0x2dbfb9,_0x97375c)=>_0x3f076e(_0x2dbfb9,_0x97375c,_0x16adb6);const nn=_0x56684e(0x390),rn=_0x56684e(0x31e);let It=class extends _0x568022{constructor(_0x51e0b0,_0x467fa8){var _0x52e280=_0x56684e;super(),this[_0x52e280(0x1f7)]=_0x51e0b0,this[_0x52e280(0x112)]=_0x467fa8,this['_init']();}[_0x56684e(0x304)](){var _0x2066b9=_0x56684e;this[_0x2066b9(0xff)](this[_0x2066b9(0x1f7)]['focused$'][_0x2066b9(0x19b)](()=>{var _0x405cd9=_0x2066b9,_0x35593c;const _0x38b0dc=this[_0x405cd9(0x1f7)]['getFocusedUnit']();let _0x31c45a=(_0x35593c=this[_0x405cd9(0x112)]['getConfig'](nn))!=null?_0x35593c:rn;_0x38b0dc instanceof _0xa08c5a&&(_0x31c45a=_0x38b0dc['name']),document[_0x405cd9(0x3e4)]=_0x31c45a;}));}};It=sn([Wt(0x0,_0x5138cb),Wt(0x1,_0x5d1e84)],It);var an=Object[_0x56684e(0x2df)],on=(_0x1ed600,_0x16300c,_0x43ad5e,_0x20813c)=>{for(var _0xfc8af8=_0x20813c>0x1?void 0x0:_0x20813c?an(_0x16300c,_0x43ad5e):_0x16300c,_0x35513f=_0x1ed600['length']-0x1,_0x3f792e;_0x35513f>=0x0;_0x35513f--)(_0x3f792e=_0x1ed600[_0x35513f])&&(_0xfc8af8=_0x3f792e(_0xfc8af8)||_0xfc8af8);return _0xfc8af8;},dt=(_0x524a5f,_0x5d2a65)=>(_0x5c95f2,_0x40b09a)=>_0x5d2a65(_0x5c95f2,_0x40b09a,_0x524a5f);let rt=class{constructor(_0x570be4,_0x2a2b4d,_0xba7711){var _0x4e4ab7=_0x56684e;this[_0x4e4ab7(0x112)]=_0x570be4,this['_httpService']=_0x2a2b4d,this[_0x4e4ab7(0x1fa)]=_0xba7711,this[_0x4e4ab7(0x27b)]();}[_0x56684e(0x27b)](){var _0x2bd3eb=_0x56684e;this[_0x2bd3eb(0x307)][_0x2bd3eb(0x231)]({'priority':0x1,'interceptor':(_0x3eada0,_0x1a8f12)=>_0x1a8f12(_0x3eada0)[_0x2bd3eb(0x31a)](_0x262480(async _0x1a1493=>{var _0x4c78f1=_0x2bd3eb;const _0x46c4ad=_0x1a1493;if(_0x46c4ad[_0x4c78f1(0x11e)]===0x191){if(typeof window>'u')throw new Error(_0x4c78f1(0x3ff));if(window[_0x4c78f1(0x36c)](this[_0x4c78f1(0x1fa)]['t'](_0x4c78f1(0x194)))){const _0x100af3=window[_0x4c78f1(0x21e)](window[_0x4c78f1(0x35a)][_0x4c78f1(0x18c)]);window[_0x4c78f1(0x35a)]['href']=this[_0x4c78f1(0xfc)]()+'?url='+_0x100af3;}}return _0x46c4ad;}))});}[_0x56684e(0xfc)](){var _0xf72d4d=_0x56684e,_0x273718,_0x268c02;const _0x54a748=this[_0xf72d4d(0x112)][_0xf72d4d(0xfa)](ys),_0x232fb8=this[_0xf72d4d(0x112)]['getConfig'](K);return(_0x268c02=(_0x273718=_0x232fb8==null?void 0x0:_0x232fb8[_0xf72d4d(0x2f8)])!=null?_0x273718:_0x54a748)!=null?_0x268c02:Ns;}};rt=on([dt(0x0,_0x5d1e84),dt(0x1,_0xcd5c51(_0x4bc17d)),dt(0x2,_0xcd5c51(_0x357b2a))],rt);var cn=Object[_0x56684e(0x2df)],hn=(_0x2862b2,_0x24ae6a,_0xc3998d,_0x26c214)=>{var _0x3887cb=_0x56684e;for(var _0x5d537e=_0x26c214>0x1?void 0x0:_0x26c214?cn(_0x24ae6a,_0xc3998d):_0x24ae6a,_0xa2001b=_0x2862b2[_0x3887cb(0x2ce)]-0x1,_0x3e5b3b;_0xa2001b>=0x0;_0xa2001b--)(_0x3e5b3b=_0x2862b2[_0xa2001b])&&(_0x5d537e=_0x3e5b3b(_0x5d537e)||_0x5d537e);return _0x5d537e;},Kt=(_0x5ca9d1,_0x13899f)=>(_0x1ef380,_0x193995)=>_0x13899f(_0x1ef380,_0x193995,_0x5ca9d1);const Oi='AUTHZ_URL_KEY',_n=_0x56684e(0x34d);let Tt=class extends _0x568022{constructor(_0x2fb5d5,_0x252f70){var _0x5e4f50=_0x56684e;super(),this[_0x5e4f50(0x1a4)]=_0x2fb5d5,this['_configService']=_0x252f70,this[_0x5e4f50(0x3c0)]();}[_0x56684e(0x3c0)](){var _0x27c317=_0x56684e;const _0xae6c29=this;this['disposeWithMe'](this[_0x27c317(0x1a4)][_0x27c317(0x231)]({'priority':0x3e7,'interceptor':_0x2aecc0({'isMatch'(_0x4f34b9){var _0x1055ba=_0x27c317,_0x25eeea;if(_0x4f34b9[_0x1055ba(0x1f2)]===_0x1055ba(0x15f)&&((_0x25eeea=_0x4f34b9[_0x1055ba(0x196)])!=null&&_0x25eeea['body'])){const {objectID:_0x593d64,objectType:_0x1dceba}=_0x4f34b9[_0x1055ba(0x196)][_0x1055ba(0x278)]||{};if(!_0x593d64||_0x1dceba===void 0x0)return!0x1;const _0x2a2abf=_0xae6c29[_0x1055ba(0x3b6)]()+'/'+_0x1dceba+'/object/'+_0x593d64+_0x1055ba(0x375);if(_0x4f34b9[_0x1055ba(0x16a)]===_0x2a2abf)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2c65cb){var _0x4401ea=_0x27c317,_0x2eede8;return(_0x2eede8=_0x2c65cb['requestParams'])==null?void 0x0:_0x2eede8[_0x4401ea(0x278)];},'mergeParamsToRequest'(_0xba44be,_0x1caa73){var _0x180fb8=_0x27c317;const _0x4f421d=_0xae6c29[_0x180fb8(0x3b6)]()+'/-/object/-/batch_allowed',_0x27c895=_0xba44be[_0x180fb8(0x139)]((_0x50fc5f,_0x27b35f)=>{var _0x11a1aa=_0x180fb8;const {unitID:_0xf0291d,objectID:_0x3e8635,objectType:_0x38166e,actions:_0x33b083}=_0x27b35f;return _0x50fc5f[_0xf0291d]||(_0x50fc5f[_0xf0291d]={}),_0x50fc5f[_0xf0291d][_0x3e8635]||(_0x50fc5f[_0xf0291d][_0x3e8635]={'objectID':_0x3e8635,'objectType':_0x38166e,'actions':[]}),_0x50fc5f[_0xf0291d][_0x3e8635][_0x11a1aa(0x34c)][_0x11a1aa(0x173)](..._0x33b083),_0x50fc5f;},{}),_0x8490b7=[];for(const _0x68f1fc in _0x27c895)for(const _0x5e37e5 in _0x27c895[_0x68f1fc]){const {actions:_0x39e3df,objectType:_0x3b2c50}=_0x27c895[_0x68f1fc][_0x5e37e5],_0x56246e=[...new Set(_0x39e3df)];_0x8490b7[_0x180fb8(0x173)]({'unitID':_0x68f1fc,'objectID':_0x5e37e5,'objectType':_0x3b2c50,'actions':_0x56246e});}return new _0x42fc18(_0x180fb8(0x15f),_0x4f421d,{'headers':_0x1caa73['headers'],'withCredentials':_0x1caa73[_0x180fb8(0x3e3)],'responseType':_0x1caa73[_0x180fb8(0x28b)],'body':{'requests':_0x8490b7}});}},{'distributeResult'(_0x1f5908,_0x396bed){const {objectActions:_0x33c33b}=_0x1f5908;return _0x396bed['map'](_0x42c296=>{var _0x9d3199=_0x138e;const {unitID:_0x37fa3a,objectID:_0x39e48c,actions:_0xbf2ff9}=_0x42c296,_0x3e32c4=_0x33c33b[_0x9d3199(0x362)](_0x90b3a6=>_0x90b3a6[_0x9d3199(0x150)]===_0x37fa3a&&_0x90b3a6[_0x9d3199(0x302)]===_0x39e48c),_0x4c1433=_0xbf2ff9['map'](_0x11ea58=>_0x3e32c4==null?void 0x0:_0x3e32c4[_0x9d3199(0x34c)][_0x9d3199(0x362)](_0x2349ba=>_0x2349ba[_0x9d3199(0x373)]===_0x11ea58))[_0x9d3199(0x3a9)](_0x570999=>!!_0x570999);return{'config':_0x42c296,'result':{'actions':_0x4c1433,'error':_0x1f5908[_0x9d3199(0x3f3)]}};});}})}));}['_getAPIPrefixPath'](){var _0x5dcf2b=_0x56684e,_0x35bca8,_0x5e37cb;const _0x549570=this['_configService'][_0x5dcf2b(0xfa)](Oi),_0x1623a6=this[_0x5dcf2b(0x112)]['getConfig'](K);return(_0x5e37cb=(_0x35bca8=_0x1623a6==null?void 0x0:_0x1623a6[_0x5dcf2b(0x381)])!=null?_0x35bca8:_0x549570)!=null?_0x5e37cb:_n;}async[_0x56684e(0x18b)](_0x562303){var _0x353db9=_0x56684e;const _0x22530b=this[_0x353db9(0x3b6)]()+'/'+_0x562303[_0x353db9(0x24b)]+_0x353db9(0x197);return(await this['_HTTPService'][_0x353db9(0x21f)](_0x22530b,{'body':_0x562303}))['body'][_0x353db9(0x302)]||'';}async[_0x56684e(0x159)](_0x1d303a){var _0x56ab70=_0x56684e;const _0x300e10=this[_0x56ab70(0x3b6)]()+_0x56ab70(0x3d3);return(await this[_0x56ab70(0x1a4)][_0x56ab70(0x21f)](_0x300e10,{'body':_0x1d303a}))[_0x56ab70(0x278)][_0x56ab70(0x3c7)];}async[_0x56684e(0x387)](_0x5206c6){var _0x25ff09=_0x56684e,_0x1ea1cf,_0x289325;const _0x1286e8=this[_0x25ff09(0x3b6)]()+'/'+_0x5206c6['objectType']+_0x25ff09(0x1bf)+_0x5206c6['objectID'],_0x1f3c6b=await this[_0x25ff09(0x1a4)][_0x25ff09(0x380)](_0x1286e8,{'body':_0x5206c6});if(((_0x289325=(_0x1ea1cf=_0x1f3c6b==null?void 0x0:_0x1f3c6b['body'])==null?void 0x0:_0x1ea1cf[_0x25ff09(0x3f3)])==null?void 0x0:_0x289325[_0x25ff09(0x15b)])!==0x1)throw new Error(_0x25ff09(0x143));}async[_0x56684e(0x19a)](_0x1b524a){var _0x2d31b9=_0x56684e;const _0x3cd2d4=this[_0x2d31b9(0x3b6)]()+'/'+_0x1b524a[_0x2d31b9(0x24b)]+_0x2d31b9(0x1bf)+_0x1b524a['objectID']+'/allowed';return(await this[_0x2d31b9(0x1a4)]['post'](_0x3cd2d4,{'body':_0x1b524a}))['body'][_0x2d31b9(0x34c)];}async[_0x56684e(0x17a)](_0x13f32c){var _0x1b5239=_0x56684e;const _0x704ff0=this[_0x1b5239(0x3b6)]()+_0x1b5239(0x116);return(await this[_0x1b5239(0x1a4)]['post'](_0x704ff0,{'body':{'requests':_0x13f32c}}))['body'][_0x1b5239(0x2e8)];}async[_0x56684e(0x327)](_0x41b82e){var _0x4f5d9e=_0x56684e;const _0x1253f7=this['_getAPIPrefixPath']()+'/'+_0x41b82e[_0x4f5d9e(0x24b)]+_0x4f5d9e(0x211),_0x560926=await this[_0x4f5d9e(0x1a4)]['post'](_0x1253f7,{'body':_0x41b82e});return{'roles':_0x560926[_0x4f5d9e(0x278)][_0x4f5d9e(0x146)],'actions':_0x560926[_0x4f5d9e(0x278)]['actions']};}async[_0x56684e(0x3ac)](_0x1ab82b){var _0x119c90=_0x56684e;const _0x4cc3e4=this[_0x119c90(0x3b6)]()+'/collaborator';await this['_HTTPService']['delete'](_0x4cc3e4,{'params':{'collaboratorID':_0x1ab82b[_0x119c90(0x12e)],'objectID':_0x1ab82b['objectID'],'unitID':_0x1ab82b[_0x119c90(0x150)]}});}async[_0x56684e(0x105)](_0x56f893){var _0xd6b17=_0x56684e;const _0x3e5414=this[_0xd6b17(0x3b6)]()+'/collaborator';await this['_HTTPService']['patch'](_0x3e5414,{'body':_0x56f893});}async[_0x56684e(0x12f)](_0x7f2d48){var _0x790709=_0x56684e;const _0x418483=this[_0x790709(0x3b6)]()+'/collaborator';await this[_0x790709(0x1a4)][_0x790709(0x21f)](_0x418483,{'body':_0x7f2d48});}async[_0x56684e(0x402)](_0x16ae62){var _0xac1863=_0x56684e;const _0x14816d=this[_0xac1863(0x3b6)]()+'/collaborator';return(await this['_HTTPService'][_0xac1863(0x251)](_0x14816d,{'params':{'objectID':_0x16ae62['objectID'],'unitID':_0x16ae62[_0xac1863(0x150)]}}))[_0xac1863(0x278)][_0xac1863(0x1ad)];}async[_0x56684e(0x297)](_0x2cf272){var _0x4662df=_0x56684e;const _0x547d2b=this[_0x4662df(0x3b6)]()+_0x4662df(0x374);await this[_0x4662df(0x1a4)][_0x4662df(0x380)](_0x547d2b,{'body':_0x2cf272});}};Tt=hn([Kt(0x0,_0xcd5c51(_0x4bc17d)),Kt(0x1,_0xcd5c51(_0x5d1e84))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x1eaf10){var _0x3151fc=_0x56684e;return _0x1eaf10&&_0x1eaf10['__esModule']&&Object[_0x3151fc(0x176)][_0x3151fc(0x3c1)][_0x3151fc(0x27d)](_0x1eaf10,'default')?_0x1eaf10[_0x3151fc(0x109)]:_0x1eaf10;}var Ve={'exports':{}};function ln(_0x116382){var _0x3e501b=_0x56684e;throw new Error(_0x3e501b(0x1cb)+_0x116382+_0x3e501b(0x15d));}var Ge={'exports':{}},un=Ge['exports'],qt;function te(){return qt||(qt=0x1,function(_0x4c319f,_0x149085){(function(_0x1bcdaf,_0x2b3219){var _0x438600=_0x138e;_0x4c319f[_0x438600(0x1fe)]=_0x2b3219();}(un,function(){var _0x5c9c8f=_0x5c9c8f||function(_0x377e82,_0x45b3a0){var _0x2c22ed=_0x138e,_0x82dff1;if(typeof window<'u'&&window['crypto']&&(_0x82dff1=window[_0x2c22ed(0x273)]),typeof self<'u'&&self['crypto']&&(_0x82dff1=self[_0x2c22ed(0x273)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x82dff1=globalThis[_0x2c22ed(0x273)]),!_0x82dff1&&typeof window<'u'&&window[_0x2c22ed(0x301)]&&(_0x82dff1=window['msCrypto']),!_0x82dff1&&typeof ft<'u'&&ft[_0x2c22ed(0x273)]&&(_0x82dff1=ft['crypto']),!_0x82dff1&&typeof ln==_0x2c22ed(0x199))try{_0x82dff1=require('crypto');}catch{}var _0x451aa1=function(){var _0x351d2a=_0x2c22ed;if(_0x82dff1){if(typeof _0x82dff1[_0x351d2a(0x14d)]==_0x351d2a(0x199))try{return _0x82dff1[_0x351d2a(0x14d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x82dff1[_0x351d2a(0x3e9)]==_0x351d2a(0x199))try{return _0x82dff1['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x351d2a(0x322));},_0x45e885=Object['create']||(function(){function _0x49f932(){}return function(_0x45def6){var _0x2dd164=_0x138e,_0x24f1b4;return _0x49f932['prototype']=_0x45def6,_0x24f1b4=new _0x49f932(),_0x49f932[_0x2dd164(0x176)]=null,_0x24f1b4;};}()),_0x31823b={},_0x273cb7=_0x31823b[_0x2c22ed(0x407)]={},_0x36e055=_0x273cb7[_0x2c22ed(0x40f)]=(function(){return{'extend':function(_0x271eae){var _0x529b54=_0x138e,_0x506935=_0x45e885(this);return _0x271eae&&_0x506935[_0x529b54(0xfd)](_0x271eae),(!_0x506935[_0x529b54(0x3c1)](_0x529b54(0x27b))||this[_0x529b54(0x27b)]===_0x506935[_0x529b54(0x27b)])&&(_0x506935[_0x529b54(0x27b)]=function(){var _0x30d911=_0x529b54;_0x506935[_0x30d911(0x2ba)][_0x30d911(0x27b)]['apply'](this,arguments);}),_0x506935['init'][_0x529b54(0x176)]=_0x506935,_0x506935[_0x529b54(0x2ba)]=this,_0x506935;},'create':function(){var _0x2d2c5a=_0x138e,_0x42cd64=this[_0x2d2c5a(0x1e3)]();return _0x42cd64[_0x2d2c5a(0x27b)][_0x2d2c5a(0x16e)](_0x42cd64,arguments),_0x42cd64;},'init':function(){},'mixIn':function(_0x538a81){var _0x4c6fcf=_0x138e;for(var _0x4454b3 in _0x538a81)_0x538a81[_0x4c6fcf(0x3c1)](_0x4454b3)&&(this[_0x4454b3]=_0x538a81[_0x4454b3]);_0x538a81[_0x4c6fcf(0x3c1)]('toString')&&(this[_0x4c6fcf(0x379)]=_0x538a81[_0x4c6fcf(0x379)]);},'clone':function(){var _0x4e219b=_0x138e;return this[_0x4e219b(0x27b)][_0x4e219b(0x176)]['extend'](this);}};}()),_0x1c678f=_0x273cb7[_0x2c22ed(0x2f9)]=_0x36e055['extend']({'init':function(_0x27f1ef,_0xa33dce){var _0x405d58=_0x2c22ed;_0x27f1ef=this[_0x405d58(0x249)]=_0x27f1ef||[],_0xa33dce!=_0x45b3a0?this[_0x405d58(0x3f2)]=_0xa33dce:this['sigBytes']=_0x27f1ef[_0x405d58(0x2ce)]*0x4;},'toString':function(_0x1a97f9){return(_0x1a97f9||_0x451f31)['stringify'](this);},'concat':function(_0x3010d5){var _0x8d33c4=_0x2c22ed,_0x3bb4c0=this['words'],_0xd31a15=_0x3010d5[_0x8d33c4(0x249)],_0x34fb78=this[_0x8d33c4(0x3f2)],_0x340d8c=_0x3010d5[_0x8d33c4(0x3f2)];if(this[_0x8d33c4(0x342)](),_0x34fb78%0x4)for(var _0x2890b1=0x0;_0x2890b1<_0x340d8c;_0x2890b1++){var _0x1490a8=_0xd31a15[_0x2890b1>>>0x2]>>>0x18-_0x2890b1%0x4*0x8&0xff;_0x3bb4c0[_0x34fb78+_0x2890b1>>>0x2]|=_0x1490a8<<0x18-(_0x34fb78+_0x2890b1)%0x4*0x8;}else{for(var _0x5be522=0x0;_0x5be522<_0x340d8c;_0x5be522+=0x4)_0x3bb4c0[_0x34fb78+_0x5be522>>>0x2]=_0xd31a15[_0x5be522>>>0x2];}return this[_0x8d33c4(0x3f2)]+=_0x340d8c,this;},'clamp':function(){var _0x3920fb=_0x2c22ed,_0x10c292=this['words'],_0x313179=this[_0x3920fb(0x3f2)];_0x10c292[_0x313179>>>0x2]&=0xffffffff<<0x20-_0x313179%0x4*0x8,_0x10c292['length']=_0x377e82[_0x3920fb(0x130)](_0x313179/0x4);},'clone':function(){var _0x5e415d=_0x2c22ed,_0x294bfb=_0x36e055['clone']['call'](this);return _0x294bfb[_0x5e415d(0x249)]=this['words']['slice'](0x0),_0x294bfb;},'random':function(_0xd5c351){for(var _0x30f1ed=[],_0x1af439=0x0;_0x1af439<_0xd5c351;_0x1af439+=0x4)_0x30f1ed['push'](_0x451aa1());return new _0x1c678f['init'](_0x30f1ed,_0xd5c351);}}),_0x419b43=_0x31823b['enc']={},_0x451f31=_0x419b43[_0x2c22ed(0x101)]={'stringify':function(_0x6feccb){var _0x4c0ddb=_0x2c22ed;for(var _0x2b8de7=_0x6feccb['words'],_0xe419e=_0x6feccb[_0x4c0ddb(0x3f2)],_0x1bb6f8=[],_0x322f84=0x0;_0x322f84<_0xe419e;_0x322f84++){var _0x169e1b=_0x2b8de7[_0x322f84>>>0x2]>>>0x18-_0x322f84%0x4*0x8&0xff;_0x1bb6f8['push']((_0x169e1b>>>0x4)['toString'](0x10)),_0x1bb6f8['push']((_0x169e1b&0xf)['toString'](0x10));}return _0x1bb6f8[_0x4c0ddb(0x131)]('');},'parse':function(_0x312857){var _0x1ef9cd=_0x2c22ed;for(var _0x25c42b=_0x312857[_0x1ef9cd(0x2ce)],_0x2bb973=[],_0x387133=0x0;_0x387133<_0x25c42b;_0x387133+=0x2)_0x2bb973[_0x387133>>>0x3]|=parseInt(_0x312857[_0x1ef9cd(0x29a)](_0x387133,0x2),0x10)<<0x18-_0x387133%0x8*0x4;return new _0x1c678f[(_0x1ef9cd(0x27b))](_0x2bb973,_0x25c42b/0x2);}},_0x320a72=_0x419b43[_0x2c22ed(0x391)]={'stringify':function(_0x32f27d){var _0xd8b373=_0x2c22ed;for(var _0xa6b4bf=_0x32f27d[_0xd8b373(0x249)],_0x34db0c=_0x32f27d[_0xd8b373(0x3f2)],_0x5d7bf0=[],_0x4d2c70=0x0;_0x4d2c70<_0x34db0c;_0x4d2c70++){var _0x4f8263=_0xa6b4bf[_0x4d2c70>>>0x2]>>>0x18-_0x4d2c70%0x4*0x8&0xff;_0x5d7bf0[_0xd8b373(0x173)](String[_0xd8b373(0x204)](_0x4f8263));}return _0x5d7bf0['join']('');},'parse':function(_0x47d68f){var _0x41103d=_0x2c22ed;for(var _0x27dd44=_0x47d68f[_0x41103d(0x2ce)],_0x33d6dd=[],_0x1d709f=0x0;_0x1d709f<_0x27dd44;_0x1d709f++)_0x33d6dd[_0x1d709f>>>0x2]|=(_0x47d68f[_0x41103d(0x208)](_0x1d709f)&0xff)<<0x18-_0x1d709f%0x4*0x8;return new _0x1c678f['init'](_0x33d6dd,_0x27dd44);}},_0x101230=_0x419b43[_0x2c22ed(0x367)]={'stringify':function(_0x1eedc9){var _0x4d5662=_0x2c22ed;try{return decodeURIComponent(escape(_0x320a72[_0x4d5662(0x305)](_0x1eedc9)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x33528f){var _0x2a4c1d=_0x2c22ed;return _0x320a72[_0x2a4c1d(0x15a)](unescape(encodeURIComponent(_0x33528f)));}},_0x22600f=_0x273cb7[_0x2c22ed(0x30f)]=_0x36e055[_0x2c22ed(0x1e3)]({'reset':function(){var _0x3a80cb=_0x2c22ed;this[_0x3a80cb(0x1b0)]=new _0x1c678f[(_0x3a80cb(0x27b))](),this[_0x3a80cb(0x2d6)]=0x0;},'_append':function(_0x5c5143){var _0x47a5a5=_0x2c22ed;typeof _0x5c5143==_0x47a5a5(0x29c)&&(_0x5c5143=_0x101230[_0x47a5a5(0x15a)](_0x5c5143)),this[_0x47a5a5(0x1b0)]['concat'](_0x5c5143),this[_0x47a5a5(0x2d6)]+=_0x5c5143[_0x47a5a5(0x3f2)];},'_process':function(_0x5c4e1a){var _0x286da3=_0x2c22ed,_0x28dcc6,_0x2b594f=this[_0x286da3(0x1b0)],_0x2f3a14=_0x2b594f[_0x286da3(0x249)],_0x38c6d8=_0x2b594f[_0x286da3(0x3f2)],_0x3506fb=this[_0x286da3(0x1ec)],_0x3a48c9=_0x3506fb*0x4,_0x27d180=_0x38c6d8/_0x3a48c9;_0x5c4e1a?_0x27d180=_0x377e82['ceil'](_0x27d180):_0x27d180=_0x377e82[_0x286da3(0x242)]((_0x27d180|0x0)-this[_0x286da3(0x27c)],0x0);var _0x5ef93c=_0x27d180*_0x3506fb,_0x28d019=_0x377e82[_0x286da3(0x343)](_0x5ef93c*0x4,_0x38c6d8);if(_0x5ef93c){for(var _0x3394d6=0x0;_0x3394d6<_0x5ef93c;_0x3394d6+=_0x3506fb)this['_doProcessBlock'](_0x2f3a14,_0x3394d6);_0x28dcc6=_0x2f3a14[_0x286da3(0x36b)](0x0,_0x5ef93c),_0x2b594f[_0x286da3(0x3f2)]-=_0x28d019;}return new _0x1c678f[(_0x286da3(0x27b))](_0x28dcc6,_0x28d019);},'clone':function(){var _0x5a542b=_0x2c22ed,_0x2e05e9=_0x36e055['clone']['call'](this);return _0x2e05e9['_data']=this['_data'][_0x5a542b(0x1b6)](),_0x2e05e9;},'_minBufferSize':0x0});_0x273cb7[_0x2c22ed(0x184)]=_0x22600f[_0x2c22ed(0x1e3)]({'cfg':_0x36e055[_0x2c22ed(0x1e3)](),'init':function(_0x3040bf){var _0x22df52=_0x2c22ed;this['cfg']=this['cfg']['extend'](_0x3040bf),this[_0x22df52(0x2ad)]();},'reset':function(){var _0x35af73=_0x2c22ed;_0x22600f[_0x35af73(0x2ad)]['call'](this),this[_0x35af73(0x14c)]();},'update':function(_0xbffacd){var _0x48833b=_0x2c22ed;return this[_0x48833b(0x1fd)](_0xbffacd),this['_process'](),this;},'finalize':function(_0x499392){var _0x91ca72=_0x2c22ed;_0x499392&&this[_0x91ca72(0x1fd)](_0x499392);var _0x16e967=this[_0x91ca72(0x31f)]();return _0x16e967;},'blockSize':0x10,'_createHelper':function(_0x1b0def){return function(_0x45ef04,_0x15b547){var _0xc8b9b1=_0x138e;return new _0x1b0def[(_0xc8b9b1(0x27b))](_0x15b547)['finalize'](_0x45ef04);};},'_createHmacHelper':function(_0x8e180e){return function(_0x5de33,_0x301d4f){var _0x28eb9f=_0x138e;return new _0x201bb2[(_0x28eb9f(0x2e2))][(_0x28eb9f(0x27b))](_0x8e180e,_0x301d4f)[_0x28eb9f(0x13c)](_0x5de33);};}});var _0x201bb2=_0x31823b[_0x2c22ed(0x185)]={};return _0x31823b;}(Math);return _0x5c9c8f;}));}(Ge)),Ge['exports'];}var Ye={'exports':{}},dn=Ye[_0x56684e(0x1fe)],zt;function bi(){var _0x19735d=_0x56684e;return zt||(zt=0x1,function(_0x2f6417,_0x2e003d){(function(_0x58bf2a,_0x1a4e28){var _0xeea756=_0x138e;_0x2f6417[_0xeea756(0x1fe)]=_0x1a4e28(te());}(dn,function(_0x4bcfcd){var _0x214b2e=_0x138e;return(function(){var _0x20ddee=_0x138e,_0x613343=_0x4bcfcd,_0x16e14b=_0x613343[_0x20ddee(0x407)],_0x375ebb=_0x16e14b[_0x20ddee(0x2f9)],_0x2d7b7e=_0x613343[_0x20ddee(0x29f)];_0x2d7b7e[_0x20ddee(0x2a2)]={'stringify':function(_0x540909){var _0x481071=_0x20ddee,_0x4e6edf=_0x540909['words'],_0x445de2=_0x540909[_0x481071(0x3f2)],_0x56e4f5=this[_0x481071(0x213)];_0x540909['clamp']();for(var _0x489401=[],_0x239df0=0x0;_0x239df0<_0x445de2;_0x239df0+=0x3)for(var _0x900182=_0x4e6edf[_0x239df0>>>0x2]>>>0x18-_0x239df0%0x4*0x8&0xff,_0x34b1b6=_0x4e6edf[_0x239df0+0x1>>>0x2]>>>0x18-(_0x239df0+0x1)%0x4*0x8&0xff,_0x5d35d8=_0x4e6edf[_0x239df0+0x2>>>0x2]>>>0x18-(_0x239df0+0x2)%0x4*0x8&0xff,_0x119102=_0x900182<<0x10|_0x34b1b6<<0x8|_0x5d35d8,_0x3e02aa=0x0;_0x3e02aa<0x4&&_0x239df0+_0x3e02aa*0.75<_0x445de2;_0x3e02aa++)_0x489401[_0x481071(0x173)](_0x56e4f5['charAt'](_0x119102>>>0x6*(0x3-_0x3e02aa)&0x3f));var _0x466afa=_0x56e4f5[_0x481071(0x28f)](0x40);if(_0x466afa){for(;_0x489401['length']%0x4;)_0x489401[_0x481071(0x173)](_0x466afa);}return _0x489401[_0x481071(0x131)]('');},'parse':function(_0x3ad1d2){var _0x85d9ca=_0x20ddee,_0x162fef=_0x3ad1d2[_0x85d9ca(0x2ce)],_0xc8b5cc=this[_0x85d9ca(0x213)],_0x13e1d0=this[_0x85d9ca(0x212)];if(!_0x13e1d0){_0x13e1d0=this[_0x85d9ca(0x212)]=[];for(var _0x42fcf7=0x0;_0x42fcf7<_0xc8b5cc['length'];_0x42fcf7++)_0x13e1d0[_0xc8b5cc[_0x85d9ca(0x208)](_0x42fcf7)]=_0x42fcf7;}var _0x1aac2e=_0xc8b5cc[_0x85d9ca(0x28f)](0x40);if(_0x1aac2e){var _0x146771=_0x3ad1d2[_0x85d9ca(0x151)](_0x1aac2e);_0x146771!==-0x1&&(_0x162fef=_0x146771);}return _0x43532f(_0x3ad1d2,_0x162fef,_0x13e1d0);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x43532f(_0x110fe9,_0x28f2b2,_0x318adf){var _0x30e608=_0x20ddee;for(var _0x12089c=[],_0x163fde=0x0,_0xb4bdcd=0x0;_0xb4bdcd<_0x28f2b2;_0xb4bdcd++)if(_0xb4bdcd%0x4){var _0x2baec4=_0x318adf[_0x110fe9[_0x30e608(0x208)](_0xb4bdcd-0x1)]<<_0xb4bdcd%0x4*0x2,_0x3cf635=_0x318adf[_0x110fe9[_0x30e608(0x208)](_0xb4bdcd)]>>>0x6-_0xb4bdcd%0x4*0x2,_0x5497b7=_0x2baec4|_0x3cf635;_0x12089c[_0x163fde>>>0x2]|=_0x5497b7<<0x18-_0x163fde%0x4*0x8,_0x163fde++;}return _0x375ebb['create'](_0x12089c,_0x163fde);}}()),_0x4bcfcd[_0x214b2e(0x29f)][_0x214b2e(0x2a2)];}));}(Ye)),Ye[_0x19735d(0x1fe)];}var We={'exports':{}},fn=We[_0x56684e(0x1fe)],Jt;function vn(){var _0x376ff3=_0x56684e;return Jt||(Jt=0x1,function(_0x5c6f03,_0x4c4d43){(function(_0x2ba674,_0x1604ee){var _0x267fd1=_0x138e;_0x5c6f03[_0x267fd1(0x1fe)]=_0x1604ee(te());}(fn,function(_0x3bcd06){var _0x22edce=_0x138e;return function(_0x21eddd){var _0x2e964d=_0x138e,_0x54db53=_0x3bcd06,_0x33a819=_0x54db53['lib'],_0x3698db=_0x33a819[_0x2e964d(0x2f9)],_0x84de42=_0x33a819[_0x2e964d(0x184)],_0x55f2bd=_0x54db53[_0x2e964d(0x185)],_0x3fb734=[];(function(){var _0x4d845a=_0x2e964d;for(var _0x264d4f=0x0;_0x264d4f<0x40;_0x264d4f++)_0x3fb734[_0x264d4f]=_0x21eddd[_0x4d845a(0x261)](_0x21eddd['sin'](_0x264d4f+0x1))*0x100000000|0x0;}());var _0x3e90b9=_0x55f2bd[_0x2e964d(0x106)]=_0x84de42[_0x2e964d(0x1e3)]({'_doReset':function(){var _0x25601d=_0x2e964d;this[_0x25601d(0x224)]=new _0x3698db[(_0x25601d(0x27b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4bc2c4,_0x1ef1f2){var _0x3c3813=_0x2e964d;for(var _0xc8a516=0x0;_0xc8a516<0x10;_0xc8a516++){var _0x2f3d26=_0x1ef1f2+_0xc8a516,_0x15089c=_0x4bc2c4[_0x2f3d26];_0x4bc2c4[_0x2f3d26]=(_0x15089c<<0x8|_0x15089c>>>0x18)&0xff00ff|(_0x15089c<<0x18|_0x15089c>>>0x8)&0xff00ff00;}var _0x289e49=this[_0x3c3813(0x224)]['words'],_0x4b3338=_0x4bc2c4[_0x1ef1f2+0x0],_0x36ab74=_0x4bc2c4[_0x1ef1f2+0x1],_0x50c884=_0x4bc2c4[_0x1ef1f2+0x2],_0x21f82c=_0x4bc2c4[_0x1ef1f2+0x3],_0x759eca=_0x4bc2c4[_0x1ef1f2+0x4],_0x450988=_0x4bc2c4[_0x1ef1f2+0x5],_0x52a496=_0x4bc2c4[_0x1ef1f2+0x6],_0xd1a0fb=_0x4bc2c4[_0x1ef1f2+0x7],_0x5e6386=_0x4bc2c4[_0x1ef1f2+0x8],_0x1c2466=_0x4bc2c4[_0x1ef1f2+0x9],_0x2c1444=_0x4bc2c4[_0x1ef1f2+0xa],_0x96956a=_0x4bc2c4[_0x1ef1f2+0xb],_0x351ee8=_0x4bc2c4[_0x1ef1f2+0xc],_0x318a7c=_0x4bc2c4[_0x1ef1f2+0xd],_0x34e1c6=_0x4bc2c4[_0x1ef1f2+0xe],_0x8e6e19=_0x4bc2c4[_0x1ef1f2+0xf],_0x306df8=_0x289e49[0x0],_0x30e4df=_0x289e49[0x1],_0x5e1981=_0x289e49[0x2],_0x16e029=_0x289e49[0x3];_0x306df8=_0x3c1dc6(_0x306df8,_0x30e4df,_0x5e1981,_0x16e029,_0x4b3338,0x7,_0x3fb734[0x0]),_0x16e029=_0x3c1dc6(_0x16e029,_0x306df8,_0x30e4df,_0x5e1981,_0x36ab74,0xc,_0x3fb734[0x1]),_0x5e1981=_0x3c1dc6(_0x5e1981,_0x16e029,_0x306df8,_0x30e4df,_0x50c884,0x11,_0x3fb734[0x2]),_0x30e4df=_0x3c1dc6(_0x30e4df,_0x5e1981,_0x16e029,_0x306df8,_0x21f82c,0x16,_0x3fb734[0x3]),_0x306df8=_0x3c1dc6(_0x306df8,_0x30e4df,_0x5e1981,_0x16e029,_0x759eca,0x7,_0x3fb734[0x4]),_0x16e029=_0x3c1dc6(_0x16e029,_0x306df8,_0x30e4df,_0x5e1981,_0x450988,0xc,_0x3fb734[0x5]),_0x5e1981=_0x3c1dc6(_0x5e1981,_0x16e029,_0x306df8,_0x30e4df,_0x52a496,0x11,_0x3fb734[0x6]),_0x30e4df=_0x3c1dc6(_0x30e4df,_0x5e1981,_0x16e029,_0x306df8,_0xd1a0fb,0x16,_0x3fb734[0x7]),_0x306df8=_0x3c1dc6(_0x306df8,_0x30e4df,_0x5e1981,_0x16e029,_0x5e6386,0x7,_0x3fb734[0x8]),_0x16e029=_0x3c1dc6(_0x16e029,_0x306df8,_0x30e4df,_0x5e1981,_0x1c2466,0xc,_0x3fb734[0x9]),_0x5e1981=_0x3c1dc6(_0x5e1981,_0x16e029,_0x306df8,_0x30e4df,_0x2c1444,0x11,_0x3fb734[0xa]),_0x30e4df=_0x3c1dc6(_0x30e4df,_0x5e1981,_0x16e029,_0x306df8,_0x96956a,0x16,_0x3fb734[0xb]),_0x306df8=_0x3c1dc6(_0x306df8,_0x30e4df,_0x5e1981,_0x16e029,_0x351ee8,0x7,_0x3fb734[0xc]),_0x16e029=_0x3c1dc6(_0x16e029,_0x306df8,_0x30e4df,_0x5e1981,_0x318a7c,0xc,_0x3fb734[0xd]),_0x5e1981=_0x3c1dc6(_0x5e1981,_0x16e029,_0x306df8,_0x30e4df,_0x34e1c6,0x11,_0x3fb734[0xe]),_0x30e4df=_0x3c1dc6(_0x30e4df,_0x5e1981,_0x16e029,_0x306df8,_0x8e6e19,0x16,_0x3fb734[0xf]),_0x306df8=_0x10778d(_0x306df8,_0x30e4df,_0x5e1981,_0x16e029,_0x36ab74,0x5,_0x3fb734[0x10]),_0x16e029=_0x10778d(_0x16e029,_0x306df8,_0x30e4df,_0x5e1981,_0x52a496,0x9,_0x3fb734[0x11]),_0x5e1981=_0x10778d(_0x5e1981,_0x16e029,_0x306df8,_0x30e4df,_0x96956a,0xe,_0x3fb734[0x12]),_0x30e4df=_0x10778d(_0x30e4df,_0x5e1981,_0x16e029,_0x306df8,_0x4b3338,0x14,_0x3fb734[0x13]),_0x306df8=_0x10778d(_0x306df8,_0x30e4df,_0x5e1981,_0x16e029,_0x450988,0x5,_0x3fb734[0x14]),_0x16e029=_0x10778d(_0x16e029,_0x306df8,_0x30e4df,_0x5e1981,_0x2c1444,0x9,_0x3fb734[0x15]),_0x5e1981=_0x10778d(_0x5e1981,_0x16e029,_0x306df8,_0x30e4df,_0x8e6e19,0xe,_0x3fb734[0x16]),_0x30e4df=_0x10778d(_0x30e4df,_0x5e1981,_0x16e029,_0x306df8,_0x759eca,0x14,_0x3fb734[0x17]),_0x306df8=_0x10778d(_0x306df8,_0x30e4df,_0x5e1981,_0x16e029,_0x1c2466,0x5,_0x3fb734[0x18]),_0x16e029=_0x10778d(_0x16e029,_0x306df8,_0x30e4df,_0x5e1981,_0x34e1c6,0x9,_0x3fb734[0x19]),_0x5e1981=_0x10778d(_0x5e1981,_0x16e029,_0x306df8,_0x30e4df,_0x21f82c,0xe,_0x3fb734[0x1a]),_0x30e4df=_0x10778d(_0x30e4df,_0x5e1981,_0x16e029,_0x306df8,_0x5e6386,0x14,_0x3fb734[0x1b]),_0x306df8=_0x10778d(_0x306df8,_0x30e4df,_0x5e1981,_0x16e029,_0x318a7c,0x5,_0x3fb734[0x1c]),_0x16e029=_0x10778d(_0x16e029,_0x306df8,_0x30e4df,_0x5e1981,_0x50c884,0x9,_0x3fb734[0x1d]),_0x5e1981=_0x10778d(_0x5e1981,_0x16e029,_0x306df8,_0x30e4df,_0xd1a0fb,0xe,_0x3fb734[0x1e]),_0x30e4df=_0x10778d(_0x30e4df,_0x5e1981,_0x16e029,_0x306df8,_0x351ee8,0x14,_0x3fb734[0x1f]),_0x306df8=_0x159bdd(_0x306df8,_0x30e4df,_0x5e1981,_0x16e029,_0x450988,0x4,_0x3fb734[0x20]),_0x16e029=_0x159bdd(_0x16e029,_0x306df8,_0x30e4df,_0x5e1981,_0x5e6386,0xb,_0x3fb734[0x21]),_0x5e1981=_0x159bdd(_0x5e1981,_0x16e029,_0x306df8,_0x30e4df,_0x96956a,0x10,_0x3fb734[0x22]),_0x30e4df=_0x159bdd(_0x30e4df,_0x5e1981,_0x16e029,_0x306df8,_0x34e1c6,0x17,_0x3fb734[0x23]),_0x306df8=_0x159bdd(_0x306df8,_0x30e4df,_0x5e1981,_0x16e029,_0x36ab74,0x4,_0x3fb734[0x24]),_0x16e029=_0x159bdd(_0x16e029,_0x306df8,_0x30e4df,_0x5e1981,_0x759eca,0xb,_0x3fb734[0x25]),_0x5e1981=_0x159bdd(_0x5e1981,_0x16e029,_0x306df8,_0x30e4df,_0xd1a0fb,0x10,_0x3fb734[0x26]),_0x30e4df=_0x159bdd(_0x30e4df,_0x5e1981,_0x16e029,_0x306df8,_0x2c1444,0x17,_0x3fb734[0x27]),_0x306df8=_0x159bdd(_0x306df8,_0x30e4df,_0x5e1981,_0x16e029,_0x318a7c,0x4,_0x3fb734[0x28]),_0x16e029=_0x159bdd(_0x16e029,_0x306df8,_0x30e4df,_0x5e1981,_0x4b3338,0xb,_0x3fb734[0x29]),_0x5e1981=_0x159bdd(_0x5e1981,_0x16e029,_0x306df8,_0x30e4df,_0x21f82c,0x10,_0x3fb734[0x2a]),_0x30e4df=_0x159bdd(_0x30e4df,_0x5e1981,_0x16e029,_0x306df8,_0x52a496,0x17,_0x3fb734[0x2b]),_0x306df8=_0x159bdd(_0x306df8,_0x30e4df,_0x5e1981,_0x16e029,_0x1c2466,0x4,_0x3fb734[0x2c]),_0x16e029=_0x159bdd(_0x16e029,_0x306df8,_0x30e4df,_0x5e1981,_0x351ee8,0xb,_0x3fb734[0x2d]),_0x5e1981=_0x159bdd(_0x5e1981,_0x16e029,_0x306df8,_0x30e4df,_0x8e6e19,0x10,_0x3fb734[0x2e]),_0x30e4df=_0x159bdd(_0x30e4df,_0x5e1981,_0x16e029,_0x306df8,_0x50c884,0x17,_0x3fb734[0x2f]),_0x306df8=_0x3401a4(_0x306df8,_0x30e4df,_0x5e1981,_0x16e029,_0x4b3338,0x6,_0x3fb734[0x30]),_0x16e029=_0x3401a4(_0x16e029,_0x306df8,_0x30e4df,_0x5e1981,_0xd1a0fb,0xa,_0x3fb734[0x31]),_0x5e1981=_0x3401a4(_0x5e1981,_0x16e029,_0x306df8,_0x30e4df,_0x34e1c6,0xf,_0x3fb734[0x32]),_0x30e4df=_0x3401a4(_0x30e4df,_0x5e1981,_0x16e029,_0x306df8,_0x450988,0x15,_0x3fb734[0x33]),_0x306df8=_0x3401a4(_0x306df8,_0x30e4df,_0x5e1981,_0x16e029,_0x351ee8,0x6,_0x3fb734[0x34]),_0x16e029=_0x3401a4(_0x16e029,_0x306df8,_0x30e4df,_0x5e1981,_0x21f82c,0xa,_0x3fb734[0x35]),_0x5e1981=_0x3401a4(_0x5e1981,_0x16e029,_0x306df8,_0x30e4df,_0x2c1444,0xf,_0x3fb734[0x36]),_0x30e4df=_0x3401a4(_0x30e4df,_0x5e1981,_0x16e029,_0x306df8,_0x36ab74,0x15,_0x3fb734[0x37]),_0x306df8=_0x3401a4(_0x306df8,_0x30e4df,_0x5e1981,_0x16e029,_0x5e6386,0x6,_0x3fb734[0x38]),_0x16e029=_0x3401a4(_0x16e029,_0x306df8,_0x30e4df,_0x5e1981,_0x8e6e19,0xa,_0x3fb734[0x39]),_0x5e1981=_0x3401a4(_0x5e1981,_0x16e029,_0x306df8,_0x30e4df,_0x52a496,0xf,_0x3fb734[0x3a]),_0x30e4df=_0x3401a4(_0x30e4df,_0x5e1981,_0x16e029,_0x306df8,_0x318a7c,0x15,_0x3fb734[0x3b]),_0x306df8=_0x3401a4(_0x306df8,_0x30e4df,_0x5e1981,_0x16e029,_0x759eca,0x6,_0x3fb734[0x3c]),_0x16e029=_0x3401a4(_0x16e029,_0x306df8,_0x30e4df,_0x5e1981,_0x96956a,0xa,_0x3fb734[0x3d]),_0x5e1981=_0x3401a4(_0x5e1981,_0x16e029,_0x306df8,_0x30e4df,_0x50c884,0xf,_0x3fb734[0x3e]),_0x30e4df=_0x3401a4(_0x30e4df,_0x5e1981,_0x16e029,_0x306df8,_0x1c2466,0x15,_0x3fb734[0x3f]),_0x289e49[0x0]=_0x289e49[0x0]+_0x306df8|0x0,_0x289e49[0x1]=_0x289e49[0x1]+_0x30e4df|0x0,_0x289e49[0x2]=_0x289e49[0x2]+_0x5e1981|0x0,_0x289e49[0x3]=_0x289e49[0x3]+_0x16e029|0x0;},'_doFinalize':function(){var _0x460fb7=_0x2e964d,_0x3fccdb=this[_0x460fb7(0x1b0)],_0x2da030=_0x3fccdb[_0x460fb7(0x249)],_0x420950=this['_nDataBytes']*0x8,_0x847c79=_0x3fccdb[_0x460fb7(0x3f2)]*0x8;_0x2da030[_0x847c79>>>0x5]|=0x80<<0x18-_0x847c79%0x20;var _0x33bfce=_0x21eddd['floor'](_0x420950/0x100000000),_0x3b86d2=_0x420950;_0x2da030[(_0x847c79+0x40>>>0x9<<0x4)+0xf]=(_0x33bfce<<0x8|_0x33bfce>>>0x18)&0xff00ff|(_0x33bfce<<0x18|_0x33bfce>>>0x8)&0xff00ff00,_0x2da030[(_0x847c79+0x40>>>0x9<<0x4)+0xe]=(_0x3b86d2<<0x8|_0x3b86d2>>>0x18)&0xff00ff|(_0x3b86d2<<0x18|_0x3b86d2>>>0x8)&0xff00ff00,_0x3fccdb[_0x460fb7(0x3f2)]=(_0x2da030['length']+0x1)*0x4,this['_process']();for(var _0x5b0570=this['_hash'],_0x3ecb49=_0x5b0570[_0x460fb7(0x249)],_0x5cb7c3=0x0;_0x5cb7c3<0x4;_0x5cb7c3++){var _0x2f4d46=_0x3ecb49[_0x5cb7c3];_0x3ecb49[_0x5cb7c3]=(_0x2f4d46<<0x8|_0x2f4d46>>>0x18)&0xff00ff|(_0x2f4d46<<0x18|_0x2f4d46>>>0x8)&0xff00ff00;}return _0x5b0570;},'clone':function(){var _0x55f000=_0x2e964d,_0x7ddc90=_0x84de42['clone'][_0x55f000(0x27d)](this);return _0x7ddc90['_hash']=this[_0x55f000(0x224)][_0x55f000(0x1b6)](),_0x7ddc90;}});function _0x3c1dc6(_0x21b117,_0x5c4841,_0xc8e1a6,_0xcaf369,_0x157a29,_0x5de78e,_0x5c6e5e){var _0x4851cf=_0x21b117+(_0x5c4841&_0xc8e1a6|~_0x5c4841&_0xcaf369)+_0x157a29+_0x5c6e5e;return(_0x4851cf<<_0x5de78e|_0x4851cf>>>0x20-_0x5de78e)+_0x5c4841;}function _0x10778d(_0x4fd042,_0x14e35,_0x3c497b,_0x362cb6,_0x8c5533,_0x1445cf,_0x58a8fd){var _0x5d59a5=_0x4fd042+(_0x14e35&_0x362cb6|_0x3c497b&~_0x362cb6)+_0x8c5533+_0x58a8fd;return(_0x5d59a5<<_0x1445cf|_0x5d59a5>>>0x20-_0x1445cf)+_0x14e35;}function _0x159bdd(_0x2026ef,_0x59da8d,_0x5ed843,_0x18d5bd,_0x14b425,_0x8a7d1b,_0x57b962){var _0x1ec8ad=_0x2026ef+(_0x59da8d^_0x5ed843^_0x18d5bd)+_0x14b425+_0x57b962;return(_0x1ec8ad<<_0x8a7d1b|_0x1ec8ad>>>0x20-_0x8a7d1b)+_0x59da8d;}function _0x3401a4(_0x31a842,_0xf69d49,_0x130eb6,_0x38f4c3,_0x173d65,_0x115ada,_0x555cbb){var _0x53a912=_0x31a842+(_0x130eb6^(_0xf69d49|~_0x38f4c3))+_0x173d65+_0x555cbb;return(_0x53a912<<_0x115ada|_0x53a912>>>0x20-_0x115ada)+_0xf69d49;}_0x54db53[_0x2e964d(0x106)]=_0x84de42[_0x2e964d(0x1b4)](_0x3e90b9),_0x54db53[_0x2e964d(0x245)]=_0x84de42['_createHmacHelper'](_0x3e90b9);}(Math),_0x3bcd06[_0x22edce(0x106)];}));}(We)),We[_0x376ff3(0x1fe)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x56684e(0x1fe)],Xt;function mn(){return Xt||(Xt=0x1,function(_0x17b29c,_0xa9734c){(function(_0x4b6559,_0x388e04){var _0xfe091f=_0x138e;_0x17b29c[_0xfe091f(0x1fe)]=_0x388e04(te());}(pn,function(_0x3adb3b){return(function(){var _0x48c0c5=_0x138e,_0x28ec59=_0x3adb3b,_0x5f37a0=_0x28ec59[_0x48c0c5(0x407)],_0x28b84e=_0x5f37a0[_0x48c0c5(0x2f9)],_0x5dee39=_0x5f37a0[_0x48c0c5(0x184)],_0x5a9cb3=_0x28ec59['algo'],_0x305b05=[],_0x500842=_0x5a9cb3[_0x48c0c5(0x3ea)]=_0x5dee39[_0x48c0c5(0x1e3)]({'_doReset':function(){this['_hash']=new _0x28b84e['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5f5183,_0x51eb8c){var _0x5a6006=_0x48c0c5;for(var _0xac8f93=this[_0x5a6006(0x224)][_0x5a6006(0x249)],_0x2a7a9d=_0xac8f93[0x0],_0x4f4d11=_0xac8f93[0x1],_0x59eef5=_0xac8f93[0x2],_0x2ac24f=_0xac8f93[0x3],_0x5da886=_0xac8f93[0x4],_0x1e08d6=0x0;_0x1e08d6<0x50;_0x1e08d6++){if(_0x1e08d6<0x10)_0x305b05[_0x1e08d6]=_0x5f5183[_0x51eb8c+_0x1e08d6]|0x0;else{var _0x46b7d8=_0x305b05[_0x1e08d6-0x3]^_0x305b05[_0x1e08d6-0x8]^_0x305b05[_0x1e08d6-0xe]^_0x305b05[_0x1e08d6-0x10];_0x305b05[_0x1e08d6]=_0x46b7d8<<0x1|_0x46b7d8>>>0x1f;}var _0x263d09=(_0x2a7a9d<<0x5|_0x2a7a9d>>>0x1b)+_0x5da886+_0x305b05[_0x1e08d6];_0x1e08d6<0x14?_0x263d09+=(_0x4f4d11&_0x59eef5|~_0x4f4d11&_0x2ac24f)+0x5a827999:_0x1e08d6<0x28?_0x263d09+=(_0x4f4d11^_0x59eef5^_0x2ac24f)+0x6ed9eba1:_0x1e08d6<0x3c?_0x263d09+=(_0x4f4d11&_0x59eef5|_0x4f4d11&_0x2ac24f|_0x59eef5&_0x2ac24f)-0x70e44324:_0x263d09+=(_0x4f4d11^_0x59eef5^_0x2ac24f)-0x359d3e2a,_0x5da886=_0x2ac24f,_0x2ac24f=_0x59eef5,_0x59eef5=_0x4f4d11<<0x1e|_0x4f4d11>>>0x2,_0x4f4d11=_0x2a7a9d,_0x2a7a9d=_0x263d09;}_0xac8f93[0x0]=_0xac8f93[0x0]+_0x2a7a9d|0x0,_0xac8f93[0x1]=_0xac8f93[0x1]+_0x4f4d11|0x0,_0xac8f93[0x2]=_0xac8f93[0x2]+_0x59eef5|0x0,_0xac8f93[0x3]=_0xac8f93[0x3]+_0x2ac24f|0x0,_0xac8f93[0x4]=_0xac8f93[0x4]+_0x5da886|0x0;},'_doFinalize':function(){var _0x39b6ea=_0x48c0c5,_0x1348a3=this['_data'],_0x413b46=_0x1348a3[_0x39b6ea(0x249)],_0x3467b0=this[_0x39b6ea(0x2d6)]*0x8,_0x20b94b=_0x1348a3['sigBytes']*0x8;return _0x413b46[_0x20b94b>>>0x5]|=0x80<<0x18-_0x20b94b%0x20,_0x413b46[(_0x20b94b+0x40>>>0x9<<0x4)+0xe]=Math[_0x39b6ea(0x3c4)](_0x3467b0/0x100000000),_0x413b46[(_0x20b94b+0x40>>>0x9<<0x4)+0xf]=_0x3467b0,_0x1348a3['sigBytes']=_0x413b46[_0x39b6ea(0x2ce)]*0x4,this[_0x39b6ea(0x36d)](),this['_hash'];},'clone':function(){var _0x4ee48c=_0x48c0c5,_0x16c43c=_0x5dee39[_0x4ee48c(0x1b6)][_0x4ee48c(0x27d)](this);return _0x16c43c[_0x4ee48c(0x224)]=this[_0x4ee48c(0x224)][_0x4ee48c(0x1b6)](),_0x16c43c;}});_0x28ec59[_0x48c0c5(0x3ea)]=_0x5dee39[_0x48c0c5(0x1b4)](_0x500842),_0x28ec59[_0x48c0c5(0x1f8)]=_0x5dee39[_0x48c0c5(0x1bb)](_0x500842);}()),_0x3adb3b['SHA1'];}));}(qe)),qe['exports'];}var ze={'exports':{}},gn=ze['exports'],Zt;function Sn(){var _0x41c07=_0x56684e;return Zt||(Zt=0x1,function(_0x37a3f5,_0x12b4c0){(function(_0x1898e3,_0x96186e){var _0x32a492=_0x138e;_0x37a3f5[_0x32a492(0x1fe)]=_0x96186e(te());}(gn,function(_0x52fdf3){(function(){var _0x24be29=_0x138e,_0x64f80c=_0x52fdf3,_0x317e81=_0x64f80c[_0x24be29(0x407)],_0x50f9c0=_0x317e81[_0x24be29(0x40f)],_0x2eea3a=_0x64f80c['enc'],_0x5725a4=_0x2eea3a['Utf8'],_0x284ca4=_0x64f80c[_0x24be29(0x185)];_0x284ca4[_0x24be29(0x2e2)]=_0x50f9c0[_0x24be29(0x1e3)]({'init':function(_0x22edf0,_0x100800){var _0x4aeac1=_0x24be29;_0x22edf0=this[_0x4aeac1(0x1fc)]=new _0x22edf0[(_0x4aeac1(0x27b))](),typeof _0x100800==_0x4aeac1(0x29c)&&(_0x100800=_0x5725a4[_0x4aeac1(0x15a)](_0x100800));var _0x4bf637=_0x22edf0[_0x4aeac1(0x1ec)],_0x3290b0=_0x4bf637*0x4;_0x100800['sigBytes']>_0x3290b0&&(_0x100800=_0x22edf0['finalize'](_0x100800)),_0x100800[_0x4aeac1(0x342)]();for(var _0x47e7dc=this['_oKey']=_0x100800[_0x4aeac1(0x1b6)](),_0x486ebb=this[_0x4aeac1(0x37e)]=_0x100800[_0x4aeac1(0x1b6)](),_0x1a97ec=_0x47e7dc[_0x4aeac1(0x249)],_0x522cd3=_0x486ebb[_0x4aeac1(0x249)],_0x42bbe5=0x0;_0x42bbe5<_0x4bf637;_0x42bbe5++)_0x1a97ec[_0x42bbe5]^=0x5c5c5c5c,_0x522cd3[_0x42bbe5]^=0x36363636;_0x47e7dc[_0x4aeac1(0x3f2)]=_0x486ebb[_0x4aeac1(0x3f2)]=_0x3290b0,this[_0x4aeac1(0x2ad)]();},'reset':function(){var _0x2f883e=_0x24be29,_0x471c06=this[_0x2f883e(0x1fc)];_0x471c06[_0x2f883e(0x2ad)](),_0x471c06[_0x2f883e(0x387)](this[_0x2f883e(0x37e)]);},'update':function(_0x2b6f24){var _0x1abe16=_0x24be29;return this[_0x1abe16(0x1fc)]['update'](_0x2b6f24),this;},'finalize':function(_0x331cc6){var _0xa81aa0=_0x24be29,_0x3e39c7=this[_0xa81aa0(0x1fc)],_0x9af73a=_0x3e39c7[_0xa81aa0(0x13c)](_0x331cc6);_0x3e39c7[_0xa81aa0(0x2ad)]();var _0x599a2b=_0x3e39c7['finalize'](this[_0xa81aa0(0x17e)][_0xa81aa0(0x1b6)]()[_0xa81aa0(0x108)](_0x9af73a));return _0x599a2b;}});}());}));}(ze)),ze[_0x41c07(0x1fe)];}var En=Ke[_0x56684e(0x1fe)],Qt;function yi(){var _0x1a7a71=_0x56684e;return Qt||(Qt=0x1,function(_0x5b2d26,_0x155a9e){(function(_0x2594a0,_0x2de8f9,_0x40657a){var _0x547327=_0x138e;_0x5b2d26[_0x547327(0x1fe)]=_0x2de8f9(te(),mn(),Sn());}(En,function(_0x2488ba){var _0x4ccc04=_0x138e;return(function(){var _0x12795e=_0x138e,_0x3a6b49=_0x2488ba,_0x3aba81=_0x3a6b49[_0x12795e(0x407)],_0x16a59f=_0x3aba81[_0x12795e(0x40f)],_0x287628=_0x3aba81[_0x12795e(0x2f9)],_0x288c92=_0x3a6b49['algo'],_0x247d4c=_0x288c92['MD5'],_0x463b58=_0x288c92[_0x12795e(0x180)]=_0x16a59f['extend']({'cfg':_0x16a59f[_0x12795e(0x1e3)]({'keySize':0x80/0x20,'hasher':_0x247d4c,'iterations':0x1}),'init':function(_0x5824c0){var _0x287b64=_0x12795e;this[_0x287b64(0x3f5)]=this[_0x287b64(0x3f5)]['extend'](_0x5824c0);},'compute':function(_0x56e835,_0x579bb0){var _0x3c18a2=_0x12795e;for(var _0x19cda1,_0x5d128d=this[_0x3c18a2(0x3f5)],_0x2e70a5=_0x5d128d[_0x3c18a2(0x2a4)][_0x3c18a2(0x18b)](),_0x52d35f=_0x287628['create'](),_0x43255a=_0x52d35f[_0x3c18a2(0x249)],_0xa8ad2e=_0x5d128d[_0x3c18a2(0x2cb)],_0x317254=_0x5d128d[_0x3c18a2(0x31c)];_0x43255a['length']<_0xa8ad2e;){_0x19cda1&&_0x2e70a5[_0x3c18a2(0x387)](_0x19cda1),_0x19cda1=_0x2e70a5['update'](_0x56e835)[_0x3c18a2(0x13c)](_0x579bb0),_0x2e70a5[_0x3c18a2(0x2ad)]();for(var _0x6d32e9=0x1;_0x6d32e9<_0x317254;_0x6d32e9++)_0x19cda1=_0x2e70a5[_0x3c18a2(0x13c)](_0x19cda1),_0x2e70a5[_0x3c18a2(0x2ad)]();_0x52d35f[_0x3c18a2(0x108)](_0x19cda1);}return _0x52d35f[_0x3c18a2(0x3f2)]=_0xa8ad2e*0x4,_0x52d35f;}});_0x3a6b49[_0x12795e(0x180)]=function(_0x247b5a,_0x1e5735,_0x42048c){var _0x3b82cb=_0x12795e;return _0x463b58[_0x3b82cb(0x18b)](_0x42048c)[_0x3b82cb(0x178)](_0x247b5a,_0x1e5735);};}()),_0x2488ba[_0x4ccc04(0x180)];}));}(Ke)),Ke[_0x1a7a71(0x1fe)];}var Je={'exports':{}},In=Je[_0x56684e(0x1fe)],ei;function Ni(){return ei||(ei=0x1,function(_0x48775d,_0x3666d6){(function(_0x52a37b,_0x54c3b4,_0x3ac000){_0x48775d['exports']=_0x54c3b4(te(),yi());}(In,function(_0x314a34){var _0x271235=_0x138e;_0x314a34[_0x271235(0x407)]['Cipher']||function(_0x2071d0){var _0x4ef8ab=_0x271235,_0x2be1df=_0x314a34,_0x2dda85=_0x2be1df[_0x4ef8ab(0x407)],_0x3856d9=_0x2dda85['Base'],_0xf8d3ed=_0x2dda85['WordArray'],_0x3a5fa5=_0x2dda85[_0x4ef8ab(0x30f)],_0x5e37b2=_0x2be1df[_0x4ef8ab(0x29f)];_0x5e37b2[_0x4ef8ab(0x367)];var _0x344626=_0x5e37b2['Base64'],_0x3cb2ae=_0x2be1df[_0x4ef8ab(0x185)],_0x4b35f2=_0x3cb2ae[_0x4ef8ab(0x180)],_0x1d5b43=_0x2dda85[_0x4ef8ab(0x2b3)]=_0x3a5fa5[_0x4ef8ab(0x1e3)]({'cfg':_0x3856d9[_0x4ef8ab(0x1e3)](),'createEncryptor':function(_0xc9143e,_0x173334){var _0x4042f1=_0x4ef8ab;return this[_0x4042f1(0x18b)](this[_0x4042f1(0x40c)],_0xc9143e,_0x173334);},'createDecryptor':function(_0x3b71f1,_0x4bfcf0){var _0xc93824=_0x4ef8ab;return this[_0xc93824(0x18b)](this[_0xc93824(0x232)],_0x3b71f1,_0x4bfcf0);},'init':function(_0x112e54,_0x365429,_0x46e7f0){var _0x307100=_0x4ef8ab;this['cfg']=this[_0x307100(0x3f5)][_0x307100(0x1e3)](_0x46e7f0),this[_0x307100(0x306)]=_0x112e54,this[_0x307100(0x1d2)]=_0x365429,this[_0x307100(0x2ad)]();},'reset':function(){var _0x25c0f0=_0x4ef8ab;_0x3a5fa5['reset'][_0x25c0f0(0x27d)](this),this['_doReset']();},'process':function(_0x14dfb6){var _0x758f4=_0x4ef8ab;return this[_0x758f4(0x1fd)](_0x14dfb6),this[_0x758f4(0x36d)]();},'finalize':function(_0x18d96d){var _0x1b3996=_0x4ef8ab;_0x18d96d&&this[_0x1b3996(0x1fd)](_0x18d96d);var _0x2b3b61=this[_0x1b3996(0x31f)]();return _0x2b3b61;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x56aad0(_0x224cb4){return typeof _0x224cb4=='string'?_0x37f460:_0x4ca8b5;}return function(_0xff462c){return{'encrypt':function(_0x5e8f5a,_0x26e1ec,_0x2cbb03){return _0x56aad0(_0x26e1ec)['encrypt'](_0xff462c,_0x5e8f5a,_0x26e1ec,_0x2cbb03);},'decrypt':function(_0x238cfe,_0x10e1b5,_0x4f0d0c){var _0x587e68=_0x138e;return _0x56aad0(_0x10e1b5)[_0x587e68(0x3c6)](_0xff462c,_0x238cfe,_0x10e1b5,_0x4f0d0c);}};};}())});_0x2dda85[_0x4ef8ab(0x2e7)]=_0x1d5b43[_0x4ef8ab(0x1e3)]({'_doFinalize':function(){var _0x12f306=_0x4ef8ab,_0x27b4fd=this[_0x12f306(0x36d)](!0x0);return _0x27b4fd;},'blockSize':0x1});var _0x361412=_0x2be1df['mode']={},_0x36e623=_0x2dda85[_0x4ef8ab(0x2f2)]=_0x3856d9[_0x4ef8ab(0x1e3)]({'createEncryptor':function(_0x391749,_0x2e0078){var _0x577353=_0x4ef8ab;return this[_0x577353(0x2ec)][_0x577353(0x18b)](_0x391749,_0x2e0078);},'createDecryptor':function(_0x3b012f,_0x114aa1){var _0x19da67=_0x4ef8ab;return this[_0x19da67(0x137)][_0x19da67(0x18b)](_0x3b012f,_0x114aa1);},'init':function(_0x10e5a9,_0x2b6e3f){this['_cipher']=_0x10e5a9,this['_iv']=_0x2b6e3f;}}),_0x2028bf=_0x361412['CBC']=(function(){var _0x34983c=_0x4ef8ab,_0x1cec28=_0x36e623[_0x34983c(0x1e3)]();_0x1cec28[_0x34983c(0x2ec)]=_0x1cec28['extend']({'processBlock':function(_0x5c756f,_0x2fc6ee){var _0x116fb6=_0x34983c,_0x2e09bb=this[_0x116fb6(0x252)],_0x58af5f=_0x2e09bb[_0x116fb6(0x1ec)];_0x1027b9[_0x116fb6(0x27d)](this,_0x5c756f,_0x2fc6ee,_0x58af5f),_0x2e09bb[_0x116fb6(0x228)](_0x5c756f,_0x2fc6ee),this[_0x116fb6(0x1af)]=_0x5c756f[_0x116fb6(0x404)](_0x2fc6ee,_0x2fc6ee+_0x58af5f);}}),_0x1cec28[_0x34983c(0x137)]=_0x1cec28[_0x34983c(0x1e3)]({'processBlock':function(_0x4497c6,_0x57ecf2){var _0x18d28a=_0x34983c,_0x3fcec1=this[_0x18d28a(0x252)],_0x40c531=_0x3fcec1[_0x18d28a(0x1ec)],_0x438ec8=_0x4497c6[_0x18d28a(0x404)](_0x57ecf2,_0x57ecf2+_0x40c531);_0x3fcec1[_0x18d28a(0x3b1)](_0x4497c6,_0x57ecf2),_0x1027b9['call'](this,_0x4497c6,_0x57ecf2,_0x40c531),this['_prevBlock']=_0x438ec8;}});function _0x1027b9(_0x5495e2,_0x485afe,_0x1c6aad){var _0x3ffb20=_0x34983c,_0x1f0a35,_0xef991f=this[_0x3ffb20(0x3ce)];_0xef991f?(_0x1f0a35=_0xef991f,this[_0x3ffb20(0x3ce)]=_0x2071d0):_0x1f0a35=this[_0x3ffb20(0x1af)];for(var _0x35b7b7=0x0;_0x35b7b7<_0x1c6aad;_0x35b7b7++)_0x5495e2[_0x485afe+_0x35b7b7]^=_0x1f0a35[_0x35b7b7];}return _0x1cec28;}()),_0x335ee4=_0x2be1df[_0x4ef8ab(0x39c)]={},_0x3183f5=_0x335ee4[_0x4ef8ab(0x110)]={'pad':function(_0x179844,_0x473e21){var _0x44b583=_0x4ef8ab;for(var _0x350710=_0x473e21*0x4,_0x3093b6=_0x350710-_0x179844['sigBytes']%_0x350710,_0x4ff414=_0x3093b6<<0x18|_0x3093b6<<0x10|_0x3093b6<<0x8|_0x3093b6,_0x1c374c=[],_0x5cf340=0x0;_0x5cf340<_0x3093b6;_0x5cf340+=0x4)_0x1c374c[_0x44b583(0x173)](_0x4ff414);var _0x42db77=_0xf8d3ed[_0x44b583(0x18b)](_0x1c374c,_0x3093b6);_0x179844['concat'](_0x42db77);},'unpad':function(_0x14bdac){var _0x4cb534=_0x4ef8ab,_0x18cbbf=_0x14bdac[_0x4cb534(0x249)][_0x14bdac['sigBytes']-0x1>>>0x2]&0xff;_0x14bdac['sigBytes']-=_0x18cbbf;}};_0x2dda85[_0x4ef8ab(0x2b2)]=_0x1d5b43[_0x4ef8ab(0x1e3)]({'cfg':_0x1d5b43[_0x4ef8ab(0x3f5)]['extend']({'mode':_0x2028bf,'padding':_0x3183f5}),'reset':function(){var _0x12efef=_0x4ef8ab,_0x3063da;_0x1d5b43[_0x12efef(0x2ad)][_0x12efef(0x27d)](this);var _0xa4f966=this[_0x12efef(0x3f5)],_0x1d5719=_0xa4f966['iv'],_0x219dac=_0xa4f966[_0x12efef(0x282)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x3063da=_0x219dac[_0x12efef(0x167)]:(_0x3063da=_0x219dac[_0x12efef(0x218)],this[_0x12efef(0x27c)]=0x1),this[_0x12efef(0x1c9)]&&this[_0x12efef(0x1c9)][_0x12efef(0x209)]==_0x3063da?this[_0x12efef(0x1c9)][_0x12efef(0x27b)](this,_0x1d5719&&_0x1d5719['words']):(this[_0x12efef(0x1c9)]=_0x3063da[_0x12efef(0x27d)](_0x219dac,this,_0x1d5719&&_0x1d5719[_0x12efef(0x249)]),this['_mode']['__creator']=_0x3063da);},'_doProcessBlock':function(_0x558e48,_0x422722){var _0x1e6d83=_0x4ef8ab;this['_mode'][_0x1e6d83(0x370)](_0x558e48,_0x422722);},'_doFinalize':function(){var _0x407a51=_0x4ef8ab,_0x230070,_0x283da6=this[_0x407a51(0x3f5)][_0x407a51(0x1a0)];return this['_xformMode']==this[_0x407a51(0x40c)]?(_0x283da6['pad'](this['_data'],this['blockSize']),_0x230070=this['_process'](!0x0)):(_0x230070=this[_0x407a51(0x36d)](!0x0),_0x283da6[_0x407a51(0x2cd)](_0x230070)),_0x230070;},'blockSize':0x80/0x20});var _0x4ddba1=_0x2dda85[_0x4ef8ab(0x3e7)]=_0x3856d9['extend']({'init':function(_0x2038d7){var _0x23974a=_0x4ef8ab;this[_0x23974a(0xfd)](_0x2038d7);},'toString':function(_0x452241){var _0x2002cd=_0x4ef8ab;return(_0x452241||this[_0x2002cd(0x366)])[_0x2002cd(0x305)](this);}}),_0x8de999=_0x2be1df[_0x4ef8ab(0x20b)]={},_0x86a816=_0x8de999[_0x4ef8ab(0x1b8)]={'stringify':function(_0x35ba45){var _0x2a790f=_0x4ef8ab,_0x50605a,_0x182ef0=_0x35ba45[_0x2a790f(0x127)],_0x54ef9f=_0x35ba45[_0x2a790f(0x168)];return _0x54ef9f?_0x50605a=_0xf8d3ed['create']([0x53616c74,0x65645f5f])['concat'](_0x54ef9f)[_0x2a790f(0x108)](_0x182ef0):_0x50605a=_0x182ef0,_0x50605a['toString'](_0x344626);},'parse':function(_0x3b98e3){var _0x7d50be=_0x4ef8ab,_0x4cdac4,_0x3aac07=_0x344626[_0x7d50be(0x15a)](_0x3b98e3),_0x1a81ed=_0x3aac07[_0x7d50be(0x249)];return _0x1a81ed[0x0]==0x53616c74&&_0x1a81ed[0x1]==0x65645f5f&&(_0x4cdac4=_0xf8d3ed[_0x7d50be(0x18b)](_0x1a81ed[_0x7d50be(0x404)](0x2,0x4)),_0x1a81ed[_0x7d50be(0x36b)](0x0,0x4),_0x3aac07[_0x7d50be(0x3f2)]-=0x10),_0x4ddba1[_0x7d50be(0x18b)]({'ciphertext':_0x3aac07,'salt':_0x4cdac4});}},_0x4ca8b5=_0x2dda85[_0x4ef8ab(0x32f)]=_0x3856d9[_0x4ef8ab(0x1e3)]({'cfg':_0x3856d9[_0x4ef8ab(0x1e3)]({'format':_0x86a816}),'encrypt':function(_0x526c06,_0x3e275f,_0x4691e0,_0x1b4908){var _0x7d2689=_0x4ef8ab;_0x1b4908=this[_0x7d2689(0x3f5)][_0x7d2689(0x1e3)](_0x1b4908);var _0x304fd0=_0x526c06['createEncryptor'](_0x4691e0,_0x1b4908),_0x592270=_0x304fd0[_0x7d2689(0x13c)](_0x3e275f),_0x490386=_0x304fd0[_0x7d2689(0x3f5)];return _0x4ddba1[_0x7d2689(0x18b)]({'ciphertext':_0x592270,'key':_0x4691e0,'iv':_0x490386['iv'],'algorithm':_0x526c06,'mode':_0x490386[_0x7d2689(0x282)],'padding':_0x490386[_0x7d2689(0x1a0)],'blockSize':_0x526c06[_0x7d2689(0x1ec)],'formatter':_0x1b4908[_0x7d2689(0x20b)]});},'decrypt':function(_0x3d77cf,_0x1aa7a3,_0x2e2733,_0x25e0e3){var _0x5ce668=_0x4ef8ab;_0x25e0e3=this[_0x5ce668(0x3f5)][_0x5ce668(0x1e3)](_0x25e0e3),_0x1aa7a3=this[_0x5ce668(0x11d)](_0x1aa7a3,_0x25e0e3[_0x5ce668(0x20b)]);var _0x823afd=_0x3d77cf[_0x5ce668(0x218)](_0x2e2733,_0x25e0e3)[_0x5ce668(0x13c)](_0x1aa7a3[_0x5ce668(0x127)]);return _0x823afd;},'_parse':function(_0x157e43,_0x433b07){var _0x2d2bdf=_0x4ef8ab;return typeof _0x157e43=='string'?_0x433b07[_0x2d2bdf(0x15a)](_0x157e43,this):_0x157e43;}}),_0x450a0e=_0x2be1df['kdf']={},_0x2234ea=_0x450a0e[_0x4ef8ab(0x1b8)]={'execute':function(_0x5da09b,_0x1dc0fe,_0x2a9e18,_0x49cbf4,_0x57bf3d){var _0x395527=_0x4ef8ab;if(_0x49cbf4||(_0x49cbf4=_0xf8d3ed[_0x395527(0x16d)](0x40/0x8)),_0x57bf3d)var _0x58faba=_0x4b35f2[_0x395527(0x18b)]({'keySize':_0x1dc0fe+_0x2a9e18,'hasher':_0x57bf3d})[_0x395527(0x178)](_0x5da09b,_0x49cbf4);else var _0x58faba=_0x4b35f2[_0x395527(0x18b)]({'keySize':_0x1dc0fe+_0x2a9e18})[_0x395527(0x178)](_0x5da09b,_0x49cbf4);var _0x2c232e=_0xf8d3ed[_0x395527(0x18b)](_0x58faba[_0x395527(0x249)]['slice'](_0x1dc0fe),_0x2a9e18*0x4);return _0x58faba[_0x395527(0x3f2)]=_0x1dc0fe*0x4,_0x4ddba1['create']({'key':_0x58faba,'iv':_0x2c232e,'salt':_0x49cbf4});}},_0x37f460=_0x2dda85[_0x4ef8ab(0x34e)]=_0x4ca8b5[_0x4ef8ab(0x1e3)]({'cfg':_0x4ca8b5[_0x4ef8ab(0x3f5)]['extend']({'kdf':_0x2234ea}),'encrypt':function(_0x5eb199,_0x2537f5,_0x1b1639,_0x1c7f65){var _0x2ef8a8=_0x4ef8ab;_0x1c7f65=this['cfg'][_0x2ef8a8(0x1e3)](_0x1c7f65);var _0x4a2977=_0x1c7f65[_0x2ef8a8(0x2dd)][_0x2ef8a8(0x3ef)](_0x1b1639,_0x5eb199['keySize'],_0x5eb199[_0x2ef8a8(0x153)],_0x1c7f65['salt'],_0x1c7f65[_0x2ef8a8(0x2a4)]);_0x1c7f65['iv']=_0x4a2977['iv'];var _0x29f6e5=_0x4ca8b5['encrypt'][_0x2ef8a8(0x27d)](this,_0x5eb199,_0x2537f5,_0x4a2977[_0x2ef8a8(0x3b7)],_0x1c7f65);return _0x29f6e5[_0x2ef8a8(0xfd)](_0x4a2977),_0x29f6e5;},'decrypt':function(_0x57b9a4,_0x479154,_0x367f40,_0x1ea621){var _0x57f6ba=_0x4ef8ab;_0x1ea621=this[_0x57f6ba(0x3f5)]['extend'](_0x1ea621),_0x479154=this[_0x57f6ba(0x11d)](_0x479154,_0x1ea621[_0x57f6ba(0x20b)]);var _0x112ec5=_0x1ea621[_0x57f6ba(0x2dd)][_0x57f6ba(0x3ef)](_0x367f40,_0x57b9a4[_0x57f6ba(0x2cb)],_0x57b9a4[_0x57f6ba(0x153)],_0x479154[_0x57f6ba(0x168)],_0x1ea621['hasher']);_0x1ea621['iv']=_0x112ec5['iv'];var _0x5b54c0=_0x4ca8b5['decrypt']['call'](this,_0x57b9a4,_0x479154,_0x112ec5['key'],_0x1ea621);return _0x5b54c0;}});}();}));}(Je)),Je['exports'];}var Tn=Ve[_0x56684e(0x1fe)],ti;function Cn(){return ti||(ti=0x1,function(_0x52e12c,_0x237222){(function(_0x16b8f3,_0x27e603,_0x246f7a){var _0x28f977=_0x138e;_0x52e12c[_0x28f977(0x1fe)]=_0x27e603(te(),bi(),vn(),yi(),Ni());}(Tn,function(_0x18e85e){var _0x3e53da=_0x138e;return(function(){var _0x1124bb=_0x138e,_0x36bde3=_0x18e85e,_0x7aecc9=_0x36bde3[_0x1124bb(0x407)],_0x19382b=_0x7aecc9[_0x1124bb(0x2b2)],_0x4b811f=_0x36bde3['algo'],_0x5687c0=[],_0x13e6ef=[],_0x1224a4=[],_0x47585d=[],_0x203383=[],_0x458b79=[],_0x585d11=[],_0x1404ee=[],_0x541928=[],_0x514572=[];(function(){for(var _0x4e44da=[],_0x3df4ff=0x0;_0x3df4ff<0x100;_0x3df4ff++)_0x3df4ff<0x80?_0x4e44da[_0x3df4ff]=_0x3df4ff<<0x1:_0x4e44da[_0x3df4ff]=_0x3df4ff<<0x1^0x11b;for(var _0x1e795d=0x0,_0x1c8fa7=0x0,_0x3df4ff=0x0;_0x3df4ff<0x100;_0x3df4ff++){var _0x5666c1=_0x1c8fa7^_0x1c8fa7<<0x1^_0x1c8fa7<<0x2^_0x1c8fa7<<0x3^_0x1c8fa7<<0x4;_0x5666c1=_0x5666c1>>>0x8^_0x5666c1&0xff^0x63,_0x5687c0[_0x1e795d]=_0x5666c1,_0x13e6ef[_0x5666c1]=_0x1e795d;var _0x2dfaff=_0x4e44da[_0x1e795d],_0x55b29a=_0x4e44da[_0x2dfaff],_0x1333cf=_0x4e44da[_0x55b29a],_0x2bfd95=_0x4e44da[_0x5666c1]*0x101^_0x5666c1*0x1010100;_0x1224a4[_0x1e795d]=_0x2bfd95<<0x18|_0x2bfd95>>>0x8,_0x47585d[_0x1e795d]=_0x2bfd95<<0x10|_0x2bfd95>>>0x10,_0x203383[_0x1e795d]=_0x2bfd95<<0x8|_0x2bfd95>>>0x18,_0x458b79[_0x1e795d]=_0x2bfd95;var _0x2bfd95=_0x1333cf*0x1010101^_0x55b29a*0x10001^_0x2dfaff*0x101^_0x1e795d*0x1010100;_0x585d11[_0x5666c1]=_0x2bfd95<<0x18|_0x2bfd95>>>0x8,_0x1404ee[_0x5666c1]=_0x2bfd95<<0x10|_0x2bfd95>>>0x10,_0x541928[_0x5666c1]=_0x2bfd95<<0x8|_0x2bfd95>>>0x18,_0x514572[_0x5666c1]=_0x2bfd95,_0x1e795d?(_0x1e795d=_0x2dfaff^_0x4e44da[_0x4e44da[_0x4e44da[_0x1333cf^_0x2dfaff]]],_0x1c8fa7^=_0x4e44da[_0x4e44da[_0x1c8fa7]]):_0x1e795d=_0x1c8fa7=0x1;}}());var _0x444aaf=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x493bdd=_0x4b811f[_0x1124bb(0x3fc)]=_0x19382b[_0x1124bb(0x1e3)]({'_doReset':function(){var _0x2c72bf=_0x1124bb,_0x1a3b70;if(!(this[_0x2c72bf(0x382)]&&this['_keyPriorReset']===this[_0x2c72bf(0x1d2)])){for(var _0x5146a1=this[_0x2c72bf(0x2b6)]=this[_0x2c72bf(0x1d2)],_0x46f3c0=_0x5146a1[_0x2c72bf(0x249)],_0x1bea26=_0x5146a1[_0x2c72bf(0x3f2)]/0x4,_0x2bfd87=this[_0x2c72bf(0x382)]=_0x1bea26+0x6,_0x454fbb=(_0x2bfd87+0x1)*0x4,_0x4f0ad0=this[_0x2c72bf(0x292)]=[],_0x4f2196=0x0;_0x4f2196<_0x454fbb;_0x4f2196++)_0x4f2196<_0x1bea26?_0x4f0ad0[_0x4f2196]=_0x46f3c0[_0x4f2196]:(_0x1a3b70=_0x4f0ad0[_0x4f2196-0x1],_0x4f2196%_0x1bea26?_0x1bea26>0x6&&_0x4f2196%_0x1bea26==0x4&&(_0x1a3b70=_0x5687c0[_0x1a3b70>>>0x18]<<0x18|_0x5687c0[_0x1a3b70>>>0x10&0xff]<<0x10|_0x5687c0[_0x1a3b70>>>0x8&0xff]<<0x8|_0x5687c0[_0x1a3b70&0xff]):(_0x1a3b70=_0x1a3b70<<0x8|_0x1a3b70>>>0x18,_0x1a3b70=_0x5687c0[_0x1a3b70>>>0x18]<<0x18|_0x5687c0[_0x1a3b70>>>0x10&0xff]<<0x10|_0x5687c0[_0x1a3b70>>>0x8&0xff]<<0x8|_0x5687c0[_0x1a3b70&0xff],_0x1a3b70^=_0x444aaf[_0x4f2196/_0x1bea26|0x0]<<0x18),_0x4f0ad0[_0x4f2196]=_0x4f0ad0[_0x4f2196-_0x1bea26]^_0x1a3b70);for(var _0x5b50d4=this[_0x2c72bf(0x2f7)]=[],_0x5c44df=0x0;_0x5c44df<_0x454fbb;_0x5c44df++){var _0x4f2196=_0x454fbb-_0x5c44df;if(_0x5c44df%0x4)var _0x1a3b70=_0x4f0ad0[_0x4f2196];else var _0x1a3b70=_0x4f0ad0[_0x4f2196-0x4];_0x5c44df<0x4||_0x4f2196<=0x4?_0x5b50d4[_0x5c44df]=_0x1a3b70:_0x5b50d4[_0x5c44df]=_0x585d11[_0x5687c0[_0x1a3b70>>>0x18]]^_0x1404ee[_0x5687c0[_0x1a3b70>>>0x10&0xff]]^_0x541928[_0x5687c0[_0x1a3b70>>>0x8&0xff]]^_0x514572[_0x5687c0[_0x1a3b70&0xff]];}}},'encryptBlock':function(_0x13b9af,_0x57dad6){var _0x5b9b7d=_0x1124bb;this[_0x5b9b7d(0x268)](_0x13b9af,_0x57dad6,this['_keySchedule'],_0x1224a4,_0x47585d,_0x203383,_0x458b79,_0x5687c0);},'decryptBlock':function(_0x421ee1,_0x1baab5){var _0x4714e7=_0x1124bb,_0x4696d1=_0x421ee1[_0x1baab5+0x1];_0x421ee1[_0x1baab5+0x1]=_0x421ee1[_0x1baab5+0x3],_0x421ee1[_0x1baab5+0x3]=_0x4696d1,this['_doCryptBlock'](_0x421ee1,_0x1baab5,this[_0x4714e7(0x2f7)],_0x585d11,_0x1404ee,_0x541928,_0x514572,_0x13e6ef);var _0x4696d1=_0x421ee1[_0x1baab5+0x1];_0x421ee1[_0x1baab5+0x1]=_0x421ee1[_0x1baab5+0x3],_0x421ee1[_0x1baab5+0x3]=_0x4696d1;},'_doCryptBlock':function(_0x28d37e,_0x362931,_0x3fcdbc,_0x466fd2,_0x1977f4,_0x5f2f83,_0x275322,_0x33d4b1){var _0x4ace14=_0x1124bb;for(var _0x26b9b2=this[_0x4ace14(0x382)],_0x56fef7=_0x28d37e[_0x362931]^_0x3fcdbc[0x0],_0x3142fb=_0x28d37e[_0x362931+0x1]^_0x3fcdbc[0x1],_0x1e9502=_0x28d37e[_0x362931+0x2]^_0x3fcdbc[0x2],_0xaddb8a=_0x28d37e[_0x362931+0x3]^_0x3fcdbc[0x3],_0x139a2b=0x4,_0x4507c6=0x1;_0x4507c6<_0x26b9b2;_0x4507c6++){var _0x32a8d1=_0x466fd2[_0x56fef7>>>0x18]^_0x1977f4[_0x3142fb>>>0x10&0xff]^_0x5f2f83[_0x1e9502>>>0x8&0xff]^_0x275322[_0xaddb8a&0xff]^_0x3fcdbc[_0x139a2b++],_0x4da397=_0x466fd2[_0x3142fb>>>0x18]^_0x1977f4[_0x1e9502>>>0x10&0xff]^_0x5f2f83[_0xaddb8a>>>0x8&0xff]^_0x275322[_0x56fef7&0xff]^_0x3fcdbc[_0x139a2b++],_0x547d18=_0x466fd2[_0x1e9502>>>0x18]^_0x1977f4[_0xaddb8a>>>0x10&0xff]^_0x5f2f83[_0x56fef7>>>0x8&0xff]^_0x275322[_0x3142fb&0xff]^_0x3fcdbc[_0x139a2b++],_0x544a1c=_0x466fd2[_0xaddb8a>>>0x18]^_0x1977f4[_0x56fef7>>>0x10&0xff]^_0x5f2f83[_0x3142fb>>>0x8&0xff]^_0x275322[_0x1e9502&0xff]^_0x3fcdbc[_0x139a2b++];_0x56fef7=_0x32a8d1,_0x3142fb=_0x4da397,_0x1e9502=_0x547d18,_0xaddb8a=_0x544a1c;}var _0x32a8d1=(_0x33d4b1[_0x56fef7>>>0x18]<<0x18|_0x33d4b1[_0x3142fb>>>0x10&0xff]<<0x10|_0x33d4b1[_0x1e9502>>>0x8&0xff]<<0x8|_0x33d4b1[_0xaddb8a&0xff])^_0x3fcdbc[_0x139a2b++],_0x4da397=(_0x33d4b1[_0x3142fb>>>0x18]<<0x18|_0x33d4b1[_0x1e9502>>>0x10&0xff]<<0x10|_0x33d4b1[_0xaddb8a>>>0x8&0xff]<<0x8|_0x33d4b1[_0x56fef7&0xff])^_0x3fcdbc[_0x139a2b++],_0x547d18=(_0x33d4b1[_0x1e9502>>>0x18]<<0x18|_0x33d4b1[_0xaddb8a>>>0x10&0xff]<<0x10|_0x33d4b1[_0x56fef7>>>0x8&0xff]<<0x8|_0x33d4b1[_0x3142fb&0xff])^_0x3fcdbc[_0x139a2b++],_0x544a1c=(_0x33d4b1[_0xaddb8a>>>0x18]<<0x18|_0x33d4b1[_0x56fef7>>>0x10&0xff]<<0x10|_0x33d4b1[_0x3142fb>>>0x8&0xff]<<0x8|_0x33d4b1[_0x1e9502&0xff])^_0x3fcdbc[_0x139a2b++];_0x28d37e[_0x362931]=_0x32a8d1,_0x28d37e[_0x362931+0x1]=_0x4da397,_0x28d37e[_0x362931+0x2]=_0x547d18,_0x28d37e[_0x362931+0x3]=_0x544a1c;},'keySize':0x100/0x20});_0x36bde3[_0x1124bb(0x3fc)]=_0x19382b[_0x1124bb(0x1b4)](_0x493bdd);}()),_0x18e85e[_0x3e53da(0x3fc)];}));}(Ve)),Ve['exports'];}var Rn=Cn();const On=$e(Rn);var bn=bi();const ii=$e(bn);var Xe={'exports':{}},yn=Xe[_0x56684e(0x1fe)],si;function Nn(){return si||(si=0x1,function(_0x4c6363,_0x11961b){(function(_0x3f9949,_0x365a78){var _0x134e0f=_0x138e;_0x4c6363[_0x134e0f(0x1fe)]=_0x365a78(te());}(yn,function(_0x16d7b1){var _0x11124e=_0x138e;return _0x16d7b1[_0x11124e(0x29f)][_0x11124e(0x367)];}));}(Xe)),Xe['exports'];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x56684e(0x1fe)],ni;function wn(){var _0x5b8949=_0x56684e;return ni||(ni=0x1,function(_0x1df0ec,_0x4cfc15){(function(_0x22df0e,_0x73b6aa){var _0xcbde98=_0x138e;_0x1df0ec[_0xcbde98(0x1fe)]=_0x73b6aa(te());}(An,function(_0x476d21){var _0x3917e9=_0x138e;return(function(){var _0x22190e=_0x138e;if(typeof ArrayBuffer==_0x22190e(0x199)){var _0x301e80=_0x476d21,_0x18e3ca=_0x301e80[_0x22190e(0x407)],_0xc5b1ed=_0x18e3ca[_0x22190e(0x2f9)],_0x655656=_0xc5b1ed[_0x22190e(0x27b)],_0xe8abd6=_0xc5b1ed[_0x22190e(0x27b)]=function(_0xe1448f){var _0x432590=_0x22190e;if(_0xe1448f instanceof ArrayBuffer&&(_0xe1448f=new Uint8Array(_0xe1448f)),(_0xe1448f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xe1448f instanceof Uint8ClampedArray||_0xe1448f instanceof Int16Array||_0xe1448f instanceof Uint16Array||_0xe1448f instanceof Int32Array||_0xe1448f instanceof Uint32Array||_0xe1448f instanceof Float32Array||_0xe1448f instanceof Float64Array)&&(_0xe1448f=new Uint8Array(_0xe1448f['buffer'],_0xe1448f[_0x432590(0x397)],_0xe1448f[_0x432590(0x19e)])),_0xe1448f instanceof Uint8Array){for(var _0x1306ed=_0xe1448f[_0x432590(0x19e)],_0x36b131=[],_0x57fa8a=0x0;_0x57fa8a<_0x1306ed;_0x57fa8a++)_0x36b131[_0x57fa8a>>>0x2]|=_0xe1448f[_0x57fa8a]<<0x18-_0x57fa8a%0x4*0x8;_0x655656[_0x432590(0x27d)](this,_0x36b131,_0x1306ed);}else _0x655656[_0x432590(0x16e)](this,arguments);};_0xe8abd6[_0x22190e(0x176)]=_0xc5b1ed;}}()),_0x476d21[_0x3917e9(0x407)][_0x3917e9(0x2f9)];}));}(Ze)),Ze[_0x5b8949(0x1fe)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x56684e(0x1fe)],ri;function xn(){var _0x150158=_0x56684e;return ri||(ri=0x1,function(_0x1ec689,_0xf26ac6){(function(_0x57542b,_0x480a5e,_0x520610){_0x1ec689['exports']=_0x480a5e(te(),Ni());}(Mn,function(_0x4c64b3){var _0x123066=_0x138e;return _0x4c64b3['pad'][_0x123066(0x147)]={'pad':function(){},'unpad':function(){}},_0x4c64b3['pad'][_0x123066(0x147)];}));}(Qe)),Qe[_0x150158(0x1fe)];}var kn=xn();const $n=$e(kn);function Hn(_0x4d6640,_0x5ac5cb){var _0xf30331=_0x56684e;const _0x35be28=_0x5ac5cb-_0x4d6640['length']%_0x5ac5cb,_0x22404d=String[_0xf30331(0x204)](_0x35be28)['repeat'](_0x35be28);return _0x4d6640+_0x22404d;}function Bn(_0x3a3bb2,_0x5de39e){var _0x2a7b69=_0x56684e;const _0x57994e=Ln[_0x2a7b69(0x16d)](0x10),_0x19b2e6=Hn(_0x3a3bb2,0x10),_0x40e336=On['encrypt'](Un[_0x2a7b69(0x15a)](_0x19b2e6),ii[_0x2a7b69(0x15a)](_0x5de39e),{'iv':_0x57994e,'padding':$n});return _0x57994e['concat'](_0x40e336['ciphertext'])[_0x2a7b69(0x379)](ii);}function jn(){var _0x4c9bb7=_0x56684e;const _0x91ccc8=_0x1198f8()[_0x4c9bb7(0x29d)];if(_0x91ccc8){const _0x302291={'time':Math[_0x4c9bb7(0x3c4)](Date[_0x4c9bb7(0x113)]()/0x3e8),'domain':location[_0x4c9bb7(0x33f)]};return Bn(JSON[_0x4c9bb7(0x305)](_0x302291),_0x91ccc8);}}var Fn=Object['getOwnPropertyDescriptor'],Vn=(_0x24d0b3,_0xc282ca,_0x4d58fd,_0x357fdb)=>{var _0x5323cc=_0x56684e;for(var _0x53f934=_0x357fdb>0x1?void 0x0:_0x357fdb?Fn(_0xc282ca,_0x4d58fd):_0xc282ca,_0x4d9aac=_0x24d0b3[_0x5323cc(0x2ce)]-0x1,_0x2048be;_0x4d9aac>=0x0;_0x4d9aac--)(_0x2048be=_0x24d0b3[_0x4d9aac])&&(_0x53f934=_0x2048be(_0x53f934)||_0x53f934);return _0x53f934;},Gn=(_0x6d13ea,_0x2ee180)=>(_0x389a99,_0xb4502a)=>_0x2ee180(_0x389a99,_0xb4502a,_0x6d13ea);let at=class{constructor(_0x2947c9){var _0xde8fbe=_0x56684e;this[_0xde8fbe(0x307)]=_0x2947c9,this[_0xde8fbe(0x102)]();}[_0x56684e(0x102)](){var _0xa0ed9f=_0x56684e;this[_0xa0ed9f(0x307)][_0xa0ed9f(0x231)]({'interceptor':(_0x46f300,_0x22ee0d)=>{var _0x250687=_0xa0ed9f;const _0x221758=_0x46f300[_0x250687(0x227)],_0x357ebe=jn();return _0x357ebe&&_0x221758[_0x250687(0x1a2)](_0x250687(0x3bf),_0x357ebe),_0x22ee0d(_0x46f300);}});}};at=Vn([Gn(0x0,_0xcd5c51(_0x4bc17d))],at);var Yn=Object['getOwnPropertyDescriptor'],Wn=(_0x319cb8,_0x282b19,_0x347b77,_0x36ceb7)=>{var _0x1b53e0=_0x56684e;for(var _0x1752cf=_0x36ceb7>0x1?void 0x0:_0x36ceb7?Yn(_0x282b19,_0x347b77):_0x282b19,_0x386521=_0x319cb8[_0x1b53e0(0x2ce)]-0x1,_0x1de199;_0x386521>=0x0;_0x386521--)(_0x1de199=_0x319cb8[_0x386521])&&(_0x1752cf=_0x1de199(_0x1752cf)||_0x1752cf);return _0x1752cf;},vt=(_0xa97342,_0x11db69)=>(_0x36ebc4,_0x40a383)=>_0x11db69(_0x36ebc4,_0x40a383,_0xa97342);let Ct=class extends _0x545dc9{constructor(_0xd38079,_0x21316c,_0x4864aa){var _0x27a954=_0x56684e;super(),N(this,'_unitInfo$',new _0xe0c6eb(null)),N(this,_0x27a954(0x2cc),this[_0x27a954(0x3c9)][_0x27a954(0x1d6)]()),(this['_logService']=_0xd38079,this[_0x27a954(0x40b)]=_0x21316c,this[_0x27a954(0x24a)]=_0x4864aa);}async['loadUnitOfRevision'](_0x1b3f82,_0x24ba76,_0x2d52bf){var _0x2996f9=_0x56684e;this['_unitInfo$']['next']({'unitId':_0x1b3f82,'type':_0x24ba76});let _0x30ba3e=null;switch(_0x24ba76){case Z['UNIVER_SHEET']:{_0x30ba3e=await this[_0x2996f9(0x40b)][_0x2996f9(0x1de)](_0x1b3f82,_0x2d52bf);break;}case Z['UNIVER_DOC']:{_0x30ba3e=await this[_0x2996f9(0x40b)][_0x2996f9(0x177)](_0x1b3f82,_0x2d52bf);break;}default:{this['_logService'][_0x2996f9(0x3f3)](_0x2996f9(0x38b),_0x2996f9(0x3a8));break;}}return _0x30ba3e;}async[_0x56684e(0x120)](_0x98bc1c,_0x1d5096,_0x7c4354){var _0x23dfed=_0x56684e,_0x3ca78d;this[_0x23dfed(0x3c9)][_0x23dfed(0x279)]({'unitId':_0x98bc1c,'type':_0x1d5096,'subUnitId':_0x7c4354});let _0x49bbca=0x0;const _0xecda76=await((_0x3ca78d=this[_0x23dfed(0x24a)])==null?void 0x0:_0x3ca78d[_0x23dfed(0x14a)](_0x98bc1c));return _0xecda76&&(_0xecda76[_0x23dfed(0x234)]||_0xecda76[_0x23dfed(0x219)][_0x23dfed(0x2ce)]!==0x0)&&(_0x49bbca=_0xecda76[_0x23dfed(0x1cc)]),_0x49bbca===0x0&&this['_logService']['debug'](_0x23dfed(0x38b),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x23dfed(0x186)](_0x98bc1c,_0x1d5096,_0x49bbca);}};Ct=Wn([vt(0x0,_0x4a5e0c),vt(0x1,_0xcd5c51(_0x511870)),vt(0x2,_0x3e4ef4(J))],Ct);var Kn=Object[_0x56684e(0x2df)],qn=(_0x16f4dc,_0x45e356,_0x4ba1d3,_0x1afb40)=>{var _0x474c07=_0x56684e;for(var _0x5aa365=_0x1afb40>0x1?void 0x0:_0x1afb40?Kn(_0x45e356,_0x4ba1d3):_0x45e356,_0x4d72f8=_0x16f4dc[_0x474c07(0x2ce)]-0x1,_0x4fbcea;_0x4d72f8>=0x0;_0x4d72f8--)(_0x4fbcea=_0x16f4dc[_0x4d72f8])&&(_0x5aa365=_0x4fbcea(_0x5aa365)||_0x5aa365);return _0x5aa365;},pt=(_0x24f862,_0x2e58be)=>(_0x33e78c,_0x5bee6e)=>_0x2e58be(_0x33e78c,_0x5bee6e,_0x24f862);const zn=[_0x56684e(0x276),'image/jpeg',_0x56684e(0x38d),_0x56684e(0x21d),'image/bmp'],Jn=0x5*0x400*0x400,Xn=_0x56684e(0x2c2),Zn='/universer-api/stream/file/upload',Qn=_0x56684e(0x1a5),er=_0x56684e(0x18f);let Rt=class{constructor(_0xf33911,_0x399cdf,_0xd5418b){var _0x312548=_0x56684e;N(this,_0x312548(0x1bc),0x0),N(this,'_change$',new _0x4364ba()),N(this,'change$',this[_0x312548(0x192)]),N(this,_0x312548(0x1df),new Map()),(this[_0x312548(0x307)]=_0xf33911,this[_0x312548(0x112)]=_0x399cdf,this['_univerInstanceService']=_0xd5418b);}[_0x56684e(0x30a)](_0x509a1b){var _0xdd9590=_0x56684e;this['_waitCount']=_0x509a1b,this[_0xdd9590(0x192)][_0xdd9590(0x279)](_0x509a1b);}[_0x56684e(0x2b5)](_0x383164,_0x56df34){var _0x4714b4=_0x56684e;if(_0x56df34===_0x502dfc['BASE64']){const _0x33bcf5=new Image();return _0x33bcf5[_0x4714b4(0x3fb)]=_0x383164,_0x33bcf5;}return this[_0x4714b4(0x1df)][_0x4714b4(0x251)](_0x383164);}[_0x56684e(0x2ab)](_0x139115,_0x4d1b41,_0x47a405){var _0x1a689a=_0x56684e;_0x4d1b41===_0x502dfc[_0x1a689a(0x12a)]||_0x47a405==null||this['_imageSourceCache'][_0x1a689a(0x1a2)](_0x139115,_0x47a405);}async[_0x56684e(0x24f)](_0x46dd48){var _0x3a6a53=_0x56684e;try{const _0x565603=this[_0x3a6a53(0x205)](this[_0x3a6a53(0x190)](),''+_0x46dd48),_0xcaee7c=(await this[_0x3a6a53(0x307)]['get'](_0x565603))['body'];if(_0xcaee7c[_0x3a6a53(0x3f3)]&&_0xcaee7c[_0x3a6a53(0x3f3)][_0x3a6a53(0x15b)]===pi['OK']){const _0x441b49=new URL(_0xcaee7c[_0x3a6a53(0x16a)],this['_getDownloadEndpointURL']())[_0x3a6a53(0x379)]();return Promise['resolve'](_0x441b49);}return Promise['reject'](_0xcaee7c[_0x3a6a53(0x3f3)]);}catch(_0x27271c){return Promise[_0x3a6a53(0x1b7)](_0x27271c);}}async[_0x56684e(0x138)](_0x505b3e){var _0x8f1b24=_0x56684e;let _0x1dff4c='';if(!zn[_0x8f1b24(0x207)](_0x505b3e[_0x8f1b24(0x359)]))return this[_0x8f1b24(0x1bd)](),Promise[_0x8f1b24(0x1b7)](new Error(_0x327214['ERROR_IMAGE_TYPE']));if(_0x505b3e['size']>Jn)return this[_0x8f1b24(0x1bd)](),Promise['reject'](new Error(_0x327214[_0x8f1b24(0x3d8)]));try{const _0x12b1e8=new FormData();_0x12b1e8[_0x8f1b24(0x349)](_0x8f1b24(0x393),_0x505b3e);const _0x39e274=this[_0x8f1b24(0x1f7)]['getFocusedUnit'](),_0x1a1f2e=_0x39e274==null?void 0x0:_0x39e274[_0x8f1b24(0x1a7)]();if(!_0x1a1f2e)throw new Error('unitId\x20is\x20not\x20found');const _0xae528a=this[_0x8f1b24(0x229)]()+_0x8f1b24(0x339)+_0x505b3e[_0x8f1b24(0x214)][_0x8f1b24(0x379)]()+_0x8f1b24(0x3f8)+mi[_0x8f1b24(0x169)]+_0x8f1b24(0x266)+encodeURIComponent(_0x1a1f2e),_0x41d7b8={'body':_0x12b1e8},_0x28a4c7=(await this[_0x8f1b24(0x307)][_0x8f1b24(0x21f)](_0xae528a,_0x41d7b8))[_0x8f1b24(0x278)];if(typeof _0x28a4c7[_0x8f1b24(0x2ca)]!=_0x8f1b24(0x29c))return this['_decreaseWaiting'](),Promise[_0x8f1b24(0x1b7)](new Error(_0x327214[_0x8f1b24(0x1f6)]));_0x1dff4c=_0x28a4c7[_0x8f1b24(0x2ca)];}catch{return this[_0x8f1b24(0x1bd)](),Promise['reject'](new Error(_0x327214[_0x8f1b24(0x1f6)]));}return new Promise((_0x47e422,_0x53cc7d)=>{var _0x1fe326=_0x8f1b24;const _0x34cfdd=new FileReader();_0x34cfdd[_0x1fe326(0x3f0)](_0x505b3e),_0x34cfdd[_0x1fe326(0x16b)]=_0x4686f6=>{var _0x5d44fb=_0x1fe326,_0x5c8346;const _0x2c5150=(_0x5c8346=_0x4686f6['target'])==null?void 0x0:_0x5c8346[_0x5d44fb(0x145)];if(_0x2c5150==null){this[_0x5d44fb(0x1bd)](),_0x53cc7d(new Error(_0x327214[_0x5d44fb(0x1f6)]));return;}const _0x14e985=_0x6cd0b[_0x5d44fb(0x1b2)](0x6);_0x47e422({'imageId':_0x14e985,'imageSourceType':_0x502dfc[_0x5d44fb(0x271)],'source':_0x1dff4c,'base64Cache':_0x2c5150,'status':_0x327214['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x56684e(0x229)](){var _0x2e191b=_0x56684e,_0x261ce7,_0x10fc40;const _0x5cf0a4=this[_0x2e191b(0x112)][_0x2e191b(0xfa)](Xn),_0x486bdc=this[_0x2e191b(0x112)][_0x2e191b(0xfa)](K);return(_0x10fc40=(_0x261ce7=_0x486bdc==null?void 0x0:_0x486bdc[_0x2e191b(0x386)])!=null?_0x261ce7:_0x5cf0a4)!=null?_0x10fc40:Zn;}[_0x56684e(0x190)](){var _0x1fc47f=_0x56684e,_0x115254,_0x265c47;const _0x4c0b54=this[_0x1fc47f(0x112)][_0x1fc47f(0xfa)](Qn),_0x238c0c=this[_0x1fc47f(0x112)]['getConfig'](K);return(_0x265c47=(_0x115254=_0x238c0c==null?void 0x0:_0x238c0c[_0x1fc47f(0x2b4)])!=null?_0x115254:_0x4c0b54)!=null?_0x265c47:er;}[_0x56684e(0x23f)](){var _0x57ab30=_0x56684e,_0x5db1c4;const _0x5316a4=this['_configService'][_0x57ab30(0xfa)](K);return(_0x5db1c4=_0x5316a4==null?void 0x0:_0x5316a4['downloadEndpointUrl'])!=null?_0x5db1c4:location[_0x57ab30(0x188)];}[_0x56684e(0x205)](_0x5b9efd,_0x4c7023){var _0x2e52b6=_0x56684e;return _0x5b9efd[_0x2e52b6(0x409)](_0x2e52b6(0x396),_0x4c7023);}[_0x56684e(0x1bd)](){var _0x578e1e=_0x56684e;this[_0x578e1e(0x1bc)]-=0x1,this['_change$'][_0x578e1e(0x279)](this[_0x578e1e(0x1bc)]);}};Rt=qn([pt(0x0,_0xcd5c51(_0x4bc17d)),pt(0x1,_0x5d1e84),pt(0x2,_0xcd5c51(_0x5138cb))],Rt);var tr=Object[_0x56684e(0x2df)],ir=(_0x26cb3f,_0x2ba418,_0x42ca6a,_0x46d77b)=>{var _0x536476=_0x56684e;for(var _0x57601e=_0x46d77b>0x1?void 0x0:_0x46d77b?tr(_0x2ba418,_0x42ca6a):_0x2ba418,_0x3cb402=_0x26cb3f[_0x536476(0x2ce)]-0x1,_0x54addb;_0x3cb402>=0x0;_0x3cb402--)(_0x54addb=_0x26cb3f[_0x3cb402])&&(_0x57601e=_0x54addb(_0x57601e)||_0x57601e);return _0x57601e;},ai=(_0x590ac1,_0x1d1212)=>(_0x439278,_0x20f5c2)=>_0x1d1212(_0x439278,_0x20f5c2,_0x590ac1);const sr=_0x56684e(0x34d);let Ot=class{constructor(_0xc85ae3,_0x227e80){var _0x6c5be3=_0x56684e;this[_0x6c5be3(0x112)]=_0xc85ae3,this['_HTTPService']=_0x227e80;}[_0x56684e(0x3b6)](){var _0x15aba0=_0x56684e,_0xc9e540,_0x250707;const _0x4bcd15=this[_0x15aba0(0x112)][_0x15aba0(0xfa)](Oi),_0x4a7d37=this[_0x15aba0(0x112)][_0x15aba0(0xfa)](K);return(_0x250707=(_0xc9e540=_0x4a7d37==null?void 0x0:_0x4a7d37[_0x15aba0(0x381)])!=null?_0xc9e540:_0x4bcd15)!=null?_0x250707:sr;}async[_0x56684e(0x159)](_0x10a3b4){var _0x5dc523=_0x56684e;const _0x5cc58f=this['_getAPIPrefixPath']()+_0x5dc523(0x374);return{'list':[{'title':'People','mentions':(await this[_0x5dc523(0x1a4)][_0x5dc523(0x251)](_0x5cc58f,{'params':{'objectID':_0x10a3b4[_0x5dc523(0x11b)],'unitID':_0x10a3b4[_0x5dc523(0x11b)]}}))['body']['collaborators'][_0x5dc523(0x1b9)](_0x43db71=>({'objectId':_0x43db71['id'],'name':_0x43db71[_0x5dc523(0x223)]['name'],'metadata':{'icon':_0x43db71[_0x5dc523(0x223)][_0x5dc523(0x22d)]},'label':_0x43db71['subject'][_0x5dc523(0x3dd)],'objectType':_0x246efa[_0x5dc523(0x11a)]})),'metadata':{},'type':_0x246efa['PERSON']}]};}};Ot=ir([ai(0x0,_0xcd5c51(_0x5d1e84)),ai(0x1,_0xcd5c51(_0x4bc17d))],Ot);var nr=Object[_0x56684e(0x2df)],rr=(_0x474978,_0x34790f,_0x207d2b,_0x4e9d44)=>{var _0x396a12=_0x56684e;for(var _0x5e1d00=_0x4e9d44>0x1?void 0x0:_0x4e9d44?nr(_0x34790f,_0x207d2b):_0x34790f,_0x2637a0=_0x474978[_0x396a12(0x2ce)]-0x1,_0xec52a3;_0x2637a0>=0x0;_0x2637a0--)(_0xec52a3=_0x474978[_0x2637a0])&&(_0x5e1d00=_0xec52a3(_0x5e1d00)||_0x5e1d00);return _0x5e1d00;},Ae=(_0x5ed6bb,_0x4db337)=>(_0x25a8cd,_0x2a057d)=>_0x4db337(_0x25a8cd,_0x2a057d,_0x5ed6bb);let ot=class extends _0x545dc9{constructor(_0x900e4a,_0x27f89f,_0x5e0bf3,_0x54c8ef,_0xf7c761){var _0x300aad=_0x56684e;super(),this[_0x300aad(0x1d0)]=_0x900e4a,this[_0x300aad(0x1f7)]=_0x27f89f,this[_0x300aad(0x33d)]=_0x5e0bf3,this[_0x300aad(0x298)]=_0x54c8ef,this[_0x300aad(0x2c3)]=_0xf7c761,this['_initUnitPermissionChange'](),this[_0x300aad(0x3f6)]();}[_0x56684e(0x3f6)](){var _0x1ded7c=_0x56684e;const _0x175dc2=async _0x4b3734=>{var _0x3c6931=_0x138e;(await this[_0x3c6931(0x298)][_0x3c6931(0x233)](_0x4b3734))[_0x3c6931(0x335)][_0x3c6931(0x31a)](_0x32806c(_0x4f2a45=>_0x4f2a45['eventID']===_0x42332f[_0x3c6931(0x200)]),_0x269e12(this['dispose$']))[_0x3c6931(0x19b)](_0x428b44=>{var _0x102527=_0x3c6931;const _0x1f80f9=_0x428b44,{reason:_0x2ac603}=_0x1f80f9[_0x102527(0x166)];this[_0x102527(0x2c3)][_0x102527(0x12b)]({'id':ne[_0x102527(0x340)],'data':_0x2ac603}),this['_permissionService'][_0x102527(0x40e)](new _0x568e90(_0x4b3734)['id'],!0x1),this[_0x102527(0x298)]['closeSession'](_0x4b3734);});};_0x3e5a88(this['_univerInstanceService'][_0x1ded7c(0x287)](_0x1ead05[_0x1ded7c(0x3d5)]),this['_univerInstanceService'][_0x1ded7c(0x287)](_0x1ead05[_0x1ded7c(0x3eb)]))['pipe'](_0x400b39(_0xada7d1=>_0xada7d1[_0x1ded7c(0x1a7)]()),_0x32806c(_0x59d81f=>!_0x599a29(_0x59d81f)),_0x269e12(this[_0x1ded7c(0x14f)]))['subscribe'](_0x2080bd=>{_0x175dc2(_0x2080bd);});}[_0x56684e(0x319)](){var _0x4dc615=_0x56684e;const _0x4f7f3a=async _0x9ed4ef=>{var _0x5b697e=_0x138e;const _0x5712d7=await this[_0x5b697e(0x298)][_0x5b697e(0x233)](_0x9ed4ef),_0x259d17=this[_0x5b697e(0x1d0)][_0x5b697e(0x251)](_0x577404);_0x5712d7[_0x5b697e(0x335)]['pipe'](_0x32806c(_0x29feba=>_0x29feba[_0x5b697e(0x3e5)]===_0x42332f[_0x5b697e(0x357)]),_0x269e12(this[_0x5b697e(0x14f)]))[_0x5b697e(0x19b)](_0x307258=>{var _0x1e4a3a=_0x5b697e;const _0xd647fa=_0x307258,{objectId:_0x5aacc2}=_0xd647fa['data'];_0x5aacc2===_0x9ed4ef?_0x259d17[_0x1e4a3a(0x2d9)](_0x9ed4ef):_0x259d17[_0x1e4a3a(0x332)](_0x9ed4ef,_0x5aacc2);});};_0x3e5a88(this[_0x4dc615(0x1f7)]['getTypeOfUnitAdded$'](_0x1ead05[_0x4dc615(0x3d5)]))[_0x4dc615(0x31a)](_0x400b39(_0x1b53bd=>_0x1b53bd[_0x4dc615(0x1a7)]()),_0x32806c(_0xc7bd00=>!_0x599a29(_0xc7bd00)),_0x269e12(this[_0x4dc615(0x14f)]))[_0x4dc615(0x19b)](_0x5312a1=>{_0x4f7f3a(_0x5312a1);});}};ot=rr([Ae(0x0,_0xcd5c51(_0x61ab05)),Ae(0x1,_0x5138cb),Ae(0x2,_0x322dca),Ae(0x3,_0xcd5c51(Le)),Ae(0x4,_0xcd5c51(ve))],ot);var ar=Object[_0x56684e(0x2df)],or=(_0x3810ec,_0x2090a7,_0x526f71,_0x2347c4)=>{for(var _0x5f31e0=_0x2347c4>0x1?void 0x0:_0x2347c4?ar(_0x2090a7,_0x526f71):_0x2090a7,_0x180176=_0x3810ec['length']-0x1,_0x37ced2;_0x180176>=0x0;_0x180176--)(_0x37ced2=_0x3810ec[_0x180176])&&(_0x5f31e0=_0x37ced2(_0x5f31e0)||_0x5f31e0);return _0x5f31e0;},oi=(_0x2afdce,_0x397daf)=>(_0x112369,_0x1f49f0)=>_0x397daf(_0x112369,_0x1f49f0,_0x2afdce);let bt=class{constructor(_0x56c11f,_0x370e93){var _0x509054=_0x56684e;this[_0x509054(0x112)]=_0x56c11f,this[_0x509054(0x307)]=_0x370e93;}async[_0x56684e(0x133)](_0xb51a0a,_0x3742a0){var _0x3063b3=_0x56684e,_0x24f90b;const {unitID:_0x53db02,type:_0x5e6522,revision:_0x592fbe=0x0}=_0x3742a0,_0x1985b1=this[_0x3063b3(0x3dc)]()+'/'+_0x5e6522+_0x3063b3(0x18a)+_0x53db02+_0x3063b3(0x195)+_0x592fbe,_0x4eaba3=(await this[_0x3063b3(0x307)]['get'](_0x1985b1))['body'],_0x3ca49e=(_0x24f90b=_0x4eaba3[_0x3063b3(0x355)])==null?void 0x0:_0x24f90b[_0x3063b3(0x3ad)];if(_0x3ca49e){const _0x5322ac=_0x3ca49e==null?void 0x0:_0x3ca49e[_0x3063b3(0x240)],_0x4e952b=_0x3a7fde[_0x3063b3(0x403)](_0x5d13a0(_0x5322ac));_0x3ca49e['originalMeta']=_0x4e952b,Object[_0x3063b3(0x3d4)](_0x3ca49e[_0x3063b3(0x2db)])['forEach'](([,_0x5deb93])=>{var _0x144673=_0x3063b3;const _0x331055=_0x5deb93[_0x144673(0x240)],_0x4eaca8=_0x3a7fde[_0x144673(0x403)](_0x5d13a0(_0x331055));_0x5deb93[_0x144673(0x240)]=_0x4eaca8;});}return _0x4eaba3;}async[_0x56684e(0x1dc)](_0xc1cca2,_0x1dd2e9){var _0x595223=_0x56684e;const {unitID:_0x593268,type:_0x1aeafa,blockID:_0x25c8b2}=_0x1dd2e9,_0x3dba38=this[_0x595223(0x285)]()+'/'+_0x1aeafa+_0x595223(0x18a)+_0x593268+'/block/'+_0x25c8b2;return(await this[_0x595223(0x307)][_0x595223(0x251)](_0x3dba38))[_0x595223(0x278)];}async['getDeserializedSheetBlock'](_0x2ad20d,_0x5173f1){var _0x32b4c3=_0x56684e;const {unitID:_0x527665,type:_0x43bfbf,blockID:_0x5b2e50}=_0x5173f1,_0x2c0313=this[_0x32b4c3(0x285)]()+_0x32b4c3(0x2e5)+_0x43bfbf+_0x32b4c3(0x18a)+_0x527665+'/block/'+_0x5b2e50;return(await this[_0x32b4c3(0x307)]['get'](_0x2c0313))[_0x32b4c3(0x278)];}async[_0x56684e(0x2f0)](_0x59e67e,_0x33ff1d){var _0x10200c=_0x56684e;const {unitID:_0x2c3fc1,type:_0x5de3a3,from:_0x3d7a7d,to:_0x350c45}=_0x33ff1d,_0x4dbe13=this[_0x10200c(0x285)]()+'/'+_0x5de3a3+_0x10200c(0x18a)+_0x2c3fc1+_0x10200c(0x1f9)+_0x3d7a7d+_0x10200c(0x1e2)+_0x350c45;return(await this[_0x10200c(0x307)][_0x10200c(0x251)](_0x4dbe13))[_0x10200c(0x278)];}[_0x56684e(0x3dc)](){var _0xbd0b5e=_0x56684e,_0x58e023;return(_0x58e023=this[_0xbd0b5e(0x112)][_0xbd0b5e(0xfa)](ps))!=null?_0x58e023:this[_0xbd0b5e(0x285)]();}[_0x56684e(0x285)](){var _0x59394c=_0x56684e,_0x4291f6,_0x2c1618;const _0x2769a0=this['_configService'][_0x59394c(0xfa)](fs),_0x2757d5=this[_0x59394c(0x112)]['getConfig'](K);return(_0x2c1618=(_0x4291f6=_0x2757d5==null?void 0x0:_0x2757d5[_0x59394c(0x288)])!=null?_0x4291f6:_0x2769a0)!=null?_0x2c1618:vs;}async[_0x56684e(0x2fb)](_0x94f662,_0x139096){var _0x4b72a8=_0x56684e;const _0x317812='/universer-api/snapshot/'+_0x139096[_0x4b72a8(0x359)]+_0x4b72a8(0x18a)+_0x139096['unitID']+_0x4b72a8(0x294);return(await this[_0x4b72a8(0x307)][_0x4b72a8(0x251)](_0x317812,{'params':{'resourceId':JSON['stringify'](_0x139096['resourceIDs'])}}))[_0x4b72a8(0x278)];}[_0x56684e(0x1fb)](){var _0x3263cf=_0x56684e;throw new Error(_0x3263cf(0x1d1));}['updateSnapshot'](){var _0x3c7d60=_0x56684e;throw new Error(_0x3c7d60(0x1d1));}['saveSheetBlock'](){var _0x216987=_0x56684e;throw new Error(_0x216987(0x1d1));}['saveChangeset'](){var _0x27bb96=_0x56684e;throw new Error(_0x27bb96(0x1d1));}[_0x56684e(0x1d8)](){var _0x8af407=_0x56684e;throw new Error(_0x8af407(0x1d1));}['getLatestCsReqIdBySid'](){var _0x3ca8e2=_0x56684e;throw new Error(_0x3ca8e2(0x1d1));}};bt=or([oi(0x0,_0x5d1e84),oi(0x1,_0xcd5c51(_0x4bc17d))],bt);var cr=Object['getOwnPropertyDescriptor'],hr=(_0x20beab,_0x22eab4,_0x238687,_0x47b2c1)=>{for(var _0x5c771e=_0x47b2c1>0x1?void 0x0:_0x47b2c1?cr(_0x22eab4,_0x238687):_0x22eab4,_0x1441d2=_0x20beab['length']-0x1,_0x132239;_0x1441d2>=0x0;_0x1441d2--)(_0x132239=_0x20beab[_0x1441d2])&&(_0x5c771e=_0x132239(_0x5c771e)||_0x5c771e);return _0x5c771e;},we=(_0x21048a,_0x365244)=>(_0x20841d,_0x3f73b3)=>_0x365244(_0x20841d,_0x3f73b3,_0x21048a);let yt=class extends _0x20b648{constructor(_0x41499c,_0x2cba67,_0xc7aca0,_0x3fbdcb,_0x12b8e1){var _0x5c95ac=_0x56684e;super(_0x41499c,_0x2cba67,_0xc7aca0),this[_0x5c95ac(0x1e7)]=_0x3fbdcb,this[_0x5c95ac(0x401)]=_0x12b8e1;}[_0x56684e(0x144)](_0x475a43,_0x27ff1b){var _0x54d764=_0x56684e;const _0x109b76=this['_getUndoStack'](_0x475a43);if(_0x109b76)try{const _0x4ad5f7=this[_0x54d764(0x3d7)](_0x109b76,_0x27ff1b);this['_substituteUndoStack'](_0x475a43,_0x4ad5f7);}catch(_0x1e2a95){this[_0x54d764(0x401)][_0x54d764(0x3f3)](_0x54d764(0x191),_0x1e2a95),this[_0x54d764(0x3d2)](_0x475a43);}const _0x437d46=this[_0x54d764(0x193)](_0x475a43);if(_0x437d46)try{const _0x1304f4=this[_0x54d764(0x3d7)](_0x437d46,_0x27ff1b);this[_0x54d764(0x23c)](_0x475a43,_0x1304f4);}catch(_0x1a6355){this[_0x54d764(0x401)][_0x54d764(0x3f3)](_0x1a6355),this['_clearRedo'](_0x475a43);}}[_0x56684e(0x3d2)](_0x3126b6){var _0x424d0c=_0x56684e;const _0x3f659b=this[_0x424d0c(0x15c)](_0x3126b6);_0x3f659b&&(_0x3f659b[_0x424d0c(0x2ce)]=0x0,this[_0x424d0c(0x1e9)]());}['_clearRedo'](_0x223986){var _0x3d99f6=_0x56684e;const _0x197534=this[_0x3d99f6(0x193)](_0x223986);_0x197534&&(_0x197534[_0x3d99f6(0x2ce)]=0x0,this[_0x3d99f6(0x1e9)]());}['_substituteUndoStack'](_0x364f6b,_0x15b566){var _0x37b378=_0x56684e;this[_0x37b378(0x3d6)]['set'](_0x364f6b,_0x15b566),this[_0x37b378(0x1e9)]();}[_0x56684e(0x23c)](_0x4e53a2,_0x121ce6){var _0x188b2b=_0x56684e;this[_0x188b2b(0x26a)]['set'](_0x4e53a2,_0x121ce6),this[_0x188b2b(0x1e9)]();}[_0x56684e(0x3d7)](_0x1f2aa2,_0x14d09b){var _0x4e47b9=_0x56684e;const _0x3a9c5b=[];let _0x2ecda9=_0x14d09b,_0x365dac=_0x14d09b;for(let _0x57a5cc=_0x1f2aa2[_0x4e47b9(0x2ce)]-0x1;_0x57a5cc>=0x0;_0x57a5cc--){const {unitID:_0xf4feea,undoMutations:_0x3508ad,redoMutations:_0x5de807}=_0x1f2aa2[_0x57a5cc],_0x4013ae=this[_0x4e47b9(0x1e7)][_0x4e47b9(0x25e)](_0x2ecda9,_0x3508ad),_0x4ce952=this[_0x4e47b9(0x1e7)][_0x4e47b9(0x25e)](_0x365dac,_0x5de807);if(_0x142f89(_0x4013ae)||_0x142f89(_0x4ce952)){this[_0x4e47b9(0x401)][_0x4e47b9(0x3f3)]('[CollaborationUndoRedoService]',_0x4e47b9(0x164),_0x4013ae,_0x4ce952);break;}_0x2ecda9=_0x4013ae[_0x4e47b9(0x3b2)],_0x365dac=_0x4ce952[_0x4e47b9(0x3b2)],_0x3a9c5b[_0x4e47b9(0x173)]({'unitID':_0xf4feea,'undoMutations':_0x4013ae[_0x4e47b9(0x125)],'redoMutations':_0x4ce952[_0x4e47b9(0x125)]});}return _0x3a9c5b['reverse']();}};yt=hr([we(0x0,_0x5138cb),we(0x1,_0x35cac9),we(0x2,_0x857558),we(0x3,_0xb86d62),we(0x4,_0x4a5e0c)],yt);var _r=Object[_0x56684e(0x281)],lr=Object[_0x56684e(0x2df)],ur=(_0x3b97fd,_0x2e9063,_0x11fcd4)=>_0x2e9063 in _0x3b97fd?_r(_0x3b97fd,_0x2e9063,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11fcd4}):_0x3b97fd[_0x2e9063]=_0x11fcd4,dr=(_0xbd7be6,_0x5728cf,_0xe0a243,_0x4c68a5)=>{var _0xdfe3a8=_0x56684e;for(var _0x4e8df9=_0x4c68a5>0x1?void 0x0:_0x4c68a5?lr(_0x5728cf,_0xe0a243):_0x5728cf,_0x241824=_0xbd7be6[_0xdfe3a8(0x2ce)]-0x1,_0x40b73e;_0x241824>=0x0;_0x241824--)(_0x40b73e=_0xbd7be6[_0x241824])&&(_0x4e8df9=_0x40b73e(_0x4e8df9)||_0x4e8df9);return _0x4e8df9;},mt=(_0x5f1b83,_0x5b46ec)=>(_0x1e6a5f,_0xa21b0)=>_0x5b46ec(_0x1e6a5f,_0xa21b0,_0x5f1b83),fr=(_0x43747e,_0x1a0da1,_0x5b2f27)=>ur(_0x43747e,_0x1a0da1+'',_0x5b2f27);const vr=_0x56684e(0x3a7);let Nt=class extends _0x30876f{constructor(_0x45ca30,_0x50d8e6,_0x46e12e,_0xaf42aa){var _0x1973b0=_0x56684e;super(),N(this,'_config'),(this[_0x1973b0(0x401)]=_0x50d8e6,this[_0x1973b0(0x1d0)]=_0x46e12e,this['_configService']=_0xaf42aa);const {..._0x1a430a}=_0x2e934a({},Ds,_0x45ca30);if(!_0x1a430a[_0x1973b0(0x3da)])throw new Error(_0x1973b0(0x284));this[_0x1973b0(0x296)]=_0x1a430a,this['_configService']['setConfig'](K,_0x1a430a);}[_0x56684e(0x217)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x56684e(0x35f)](){var _0x162ac9=_0x56684e,_0x29d64f,_0x57e230;this[_0x162ac9(0x1d0)][_0x162ac9(0x318)](_0x586221)&&this['_logService']['error']('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x7bf9f5=_0x45e775([[_0x586221,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x162ac9(0x296)][_0x162ac9(0x3da)]}],[_0x82b138,{'useClass':bt}],[_0x17ee72,{'useClass':Tt}],[_0x25b2d9,{'useClass':Rt}],[_0x53e342,{'useClass':Ot}],[nt],[It]],(_0x29d64f=this['_config'])==null?void 0x0:_0x29d64f['override']);if(!((_0x57e230=this[_0x162ac9(0x296)])!=null&&_0x57e230[_0x162ac9(0x2b1)])){const _0x360e70=_0x7bf9f5[_0x162ac9(0x32a)](([_0x1c5b8a])=>_0x1c5b8a===ht);_0x360e70!==-0x1&&_0x7bf9f5[_0x162ac9(0x36b)](_0x360e70,0x1);}_0x2e4cf4(this['_injector'],_0x7bf9f5);}['_initDependencies'](){var _0xb26a70=_0x56684e,_0x25647a,_0x4eed98,_0x7b7fcb;this[_0xb26a70(0x1d0)]['get'](_0x4bc17d)[_0xb26a70(0x231)]({'priority':0x14,'interceptor':_0x3a9113({'maxParallel':0x6})}),(_0x25647a=this[_0xb26a70(0x296)])!=null&&_0x25647a['enableOfflineEditing']||(_0x4eed98=this['_injector']['get'](J,_0x2540e0[_0xb26a70(0x19f)]))==null||_0x4eed98[_0xb26a70(0x358)](),(_0x7b7fcb=this[_0xb26a70(0x296)])!=null&&_0x7b7fcb[_0xb26a70(0x1f0)]&&_0x5d5b98(this[_0xb26a70(0x1d0)],[[rt]]),_0x5d5b98(this['_injector'],[[at],[nt],[ot]]);}};fr(Nt,_0x56684e(0x329),vr),Nt=dr([_0x311242(_0x2aa36c,_0x580a8d),mt(0x1,_0x4a5e0c),mt(0x2,_0xcd5c51(_0x61ab05)),mt(0x3,_0x5d1e84)],Nt);export{Oi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Os as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
1
+ var _0x132e4f=_0xa8aa;(function(_0x3287ce,_0x131cfa){var _0x5d2aab=_0xa8aa,_0x51604a=_0x3287ce();while(!![]){try{var _0x1c0fce=-parseInt(_0x5d2aab(0x197))/0x1+parseInt(_0x5d2aab(0xd8))/0x2+parseInt(_0x5d2aab(0x161))/0x3+-parseInt(_0x5d2aab(0x229))/0x4+-parseInt(_0x5d2aab(0x338))/0x5*(-parseInt(_0x5d2aab(0x24a))/0x6)+-parseInt(_0x5d2aab(0x1de))/0x7*(parseInt(_0x5d2aab(0xa7))/0x8)+parseInt(_0x5d2aab(0x35e))/0x9*(parseInt(_0x5d2aab(0x11b))/0xa);if(_0x1c0fce===_0x131cfa)break;else _0x51604a['push'](_0x51604a['shift']());}catch(_0x1235e4){_0x51604a['push'](_0x51604a['shift']());}}}(_0x4cf3,0x5c8d1));var Di=Object[_0x132e4f(0x2d1)],Ui=(_0x2d3fbb,_0x30ee42,_0x42e517)=>_0x30ee42 in _0x2d3fbb?Di(_0x2d3fbb,_0x30ee42,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42e517}):_0x2d3fbb[_0x30ee42]=_0x42e517,N=(_0x25d9bc,_0x23bbc7,_0x39af16)=>Ui(_0x25d9bc,typeof _0x23bbc7!='symbol'?_0x23bbc7+'':_0x23bbc7,_0x39af16);import{createIdentifier as _0x10c743,Inject as _0x272268,Injector as _0x1e804f,IConfigService as _0x2697d9,ILogService as _0x2e16e2,Disposable as _0x14edb1,DisposableCollection as _0x4234ac,toDisposable as _0x2e1d4e,IUniverInstanceService as _0x3078ab,UserManagerService as _0x37b426,UniverInstanceType as _0x1df003,LocaleService as _0xe273c0,Optional as _0x1e8521,RxDisposable as _0x151895,Tools as _0x2284c8,Rectangle as _0x535916,ICommandService as _0x1007ad,JSONX as _0x5a258f,CommandType as _0x3ae55e,IUndoRedoService as _0xea8a16,IPermissionService as _0x58feed,sequenceExecute as _0x4cc963,Workbook as _0x2094e6,MentionType as _0x30f986,isInternalEditorID as _0x328dd9,LocalUndoRedoService as _0x287d59,IContextService as _0x29de0d,DependentOn as _0x205d17,Plugin as _0x48a027,merge as _0x325f70,mergeOverrideWithDependencies as _0x50c77f,IAuthzIoService as _0x32f2dc,IMentionIOService as _0x5a11f9,registerDependencies as _0x170597,Quantity as _0x543523,touchDependencies as _0x4f9dba}from'@univerjs/core';import{Subject as _0x288ae7,merge as _0x1f0a96,of as _0x13feb8,BehaviorSubject as _0xcec471,takeUntil as _0x2ed18f,ReplaySubject as _0x189977,take as _0x3f098a,map as _0x25cf28,shareReplay as _0x5245cb,firstValueFrom as _0x2f6da2,concatMap as _0xae101e}from'rxjs';import{map as _0x240a71,take as _0x412aad,filter as _0x154c53,delay as _0x10a444,takeUntil as _0x5014de}from'rxjs/operators';import{CollaborationEvent as _0x13b946,ISnapshotServerService as _0x29573b,parseChangesetToProtocol as _0x4d3785,ITransformService as _0x1c967c,isTransformMutationsWithChangesetSuccess as _0x473097,mapDocumentTypeToUniverType as _0x2e88d0,RevisionService as _0x1912e9,isTransformChangesetsSuccess as _0x4cea6c,CompressMutationService as _0x240ecb,parseProtocolChangeset as _0x565baa,uuidv4 as _0x1a7730,SnapshotService as _0x25fceb,textEncoder as _0x412fea,b64DecodeUnicode as _0xe4148c,isTransformMutationsWithChangesetFailure as _0x4396fe,UniverCollaborationPlugin as _0x39543d}from'@univerjs-pro/collaboration';import{HTTPService as _0x3f17c,ISocketService as _0x50990d,MergeInterceptorFactory as _0x2d3c58,HTTPRequest as _0x24032c,UniverNetworkPlugin as _0x46de32,ThresholdInterceptorFactory as _0x437cf7}from'@univerjs/network';import{ITelemetryService as _0x7dc613}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x1bcdda}from'@univerjs/docs';import{SheetsSelectionsService as _0x57ccd4,SetSelectionsOperation as _0x3513f8,InsertSheetMutation as _0x5786ec,EmptyMutation as _0x53099f,WorkbookEditablePermission as _0x4f21d5,SheetPermissionInitController as _0x10fa29}from'@univerjs/sheets';import{ImageSourceType as _0x4a6252,ImageUploadStatusType as _0x124f69,IImageIoService as _0x103303}from'@univerjs/drawing';import{getGlobalObject as _0x2edd1a}from'@univerjs-pro/license';const fs='SNAPSHOT_SERVER_URL_KEY',vs=_0x132e4f(0x145),ps='SNAPSHOT_URL_KEY',yr=_0x132e4f(0x20d),ms=0x7d0,gs='COLLAB_WEB_SOCKET_URL',Ss=_0x132e4f(0x2db),Nr=_0x132e4f(0x2a3),Es=_0x132e4f(0xa6),Is=0x7530,fi=_0x132e4f(0xde),vi=0x4e20,Ts=0x4e20,Cs=_0x132e4f(0xfc),Rs=0x3,Dr=_0x132e4f(0x270),Ur=0x3e8,Os=_0x132e4f(0x110),bs=_0x132e4f(0x10e),ys=_0x132e4f(0x1f4),Ns='/universer-api/oidc/authpage',Ar=_0x132e4f(0x130),wr=_0x132e4f(0x25a);var pi=(_0x143c1b=>(_0x143c1b[_0x143c1b[_0x132e4f(0x28e)]=0x0]='UNDEFINED',_0x143c1b[_0x143c1b['OK']=0x1]='OK',_0x143c1b[_0x143c1b['INTERNAL_ERROR']=0x2]=_0x132e4f(0x2dc),_0x143c1b[_0x143c1b[_0x132e4f(0x191)]=0x3]=_0x132e4f(0x191),_0x143c1b[_0x143c1b[_0x132e4f(0x16d)]=0x4]='NOT_FOUND',_0x143c1b[_0x143c1b['UNAUTHENTICATED']=0x5]=_0x132e4f(0xa2),_0x143c1b[_0x143c1b[_0x132e4f(0x115)]=0x6]=_0x132e4f(0x115),_0x143c1b[_0x143c1b[_0x132e4f(0x317)]=0x7]=_0x132e4f(0x317),_0x143c1b[_0x143c1b[_0x132e4f(0x27f)]=0x8]=_0x132e4f(0x27f),_0x143c1b[_0x143c1b['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x143c1b[_0x143c1b[_0x132e4f(0x151)]=0xa]=_0x132e4f(0x151),_0x143c1b[_0x143c1b[_0x132e4f(0x138)]=0xb]=_0x132e4f(0x138),_0x143c1b[_0x143c1b[_0x132e4f(0x1ab)]=0xc]=_0x132e4f(0x1ab),_0x143c1b[_0x143c1b[_0x132e4f(0x194)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x143c1b[_0x143c1b[_0x132e4f(0x216)]=0xe]=_0x132e4f(0x216),_0x143c1b[_0x143c1b[_0x132e4f(0x1df)]=0x1389]=_0x132e4f(0x1df),_0x143c1b[_0x143c1b[_0x132e4f(0x37a)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x143c1b[_0x143c1b[_0x132e4f(0x267)]=0x1772]=_0x132e4f(0x267),_0x143c1b[_0x143c1b[_0x132e4f(0x292)]=0x1773]=_0x132e4f(0x292),_0x143c1b[_0x143c1b[_0x132e4f(0x2a5)]=0x1b59]='APPLY_REJECT',_0x143c1b[_0x143c1b['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x132e4f(0xea),_0x143c1b[_0x143c1b[_0x132e4f(0x123)]=0x1b5b]=_0x132e4f(0x123),_0x143c1b[_0x143c1b['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x143c1b[_0x143c1b[_0x132e4f(0x1e0)]=0x1b5d]=_0x132e4f(0x1e0),_0x143c1b[_0x143c1b[_0x132e4f(0x143)]=0x1f41]=_0x132e4f(0x143),_0x143c1b[_0x143c1b[_0x132e4f(0xf6)]=0x2329]=_0x132e4f(0xf6),_0x143c1b[_0x143c1b[_0x132e4f(0xf2)]=0x232a]=_0x132e4f(0xf2),_0x143c1b[_0x143c1b[_0x132e4f(0x340)]=0x232b]=_0x132e4f(0x340),_0x143c1b[_0x143c1b[_0x132e4f(0x140)]=0x232c]=_0x132e4f(0x140),_0x143c1b[_0x143c1b[_0x132e4f(0x1a1)]=0x232d]=_0x132e4f(0x1a1),_0x143c1b[_0x143c1b[_0x132e4f(0x347)]=0x2711]=_0x132e4f(0x347),_0x143c1b[_0x143c1b[_0x132e4f(0x1b4)]=0x2712]=_0x132e4f(0x1b4),_0x143c1b[_0x143c1b[_0x132e4f(0x24f)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x143c1b[_0x143c1b[_0x132e4f(0x257)]=0x2714]=_0x132e4f(0x257),_0x143c1b[_0x143c1b['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x132e4f(0x2be),_0x143c1b[_0x143c1b[_0x132e4f(0x2ac)]=0x271b]=_0x132e4f(0x2ac),_0x143c1b[_0x143c1b[_0x132e4f(0x37b)]=0x271c]=_0x132e4f(0x37b),_0x143c1b[_0x143c1b['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x132e4f(0x32d),_0x143c1b[_0x143c1b[_0x132e4f(0x362)]=0x271e]=_0x132e4f(0x362),_0x143c1b[_0x143c1b['YUUMI_AI_RUN_FAILED']=0x271f]=_0x132e4f(0x167),_0x143c1b[_0x143c1b[_0x132e4f(0xca)]=0x2720]=_0x132e4f(0xca),_0x143c1b[_0x143c1b[_0x132e4f(0x150)]=0x2af9]=_0x132e4f(0x150),_0x143c1b[_0x143c1b[_0x132e4f(0x23f)]=0x2ee1]=_0x132e4f(0x23f),_0x143c1b[_0x143c1b[_0x132e4f(0x1a3)]=0x2ee2]=_0x132e4f(0x1a3),_0x143c1b[_0x143c1b[_0x132e4f(0xc7)]=0x2ee3]=_0x132e4f(0xc7),_0x143c1b[_0x143c1b[_0x132e4f(0x23e)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x143c1b[_0x143c1b['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x132e4f(0x1f8),_0x143c1b[_0x143c1b[_0x132e4f(0x2c5)]=0x32c9]=_0x132e4f(0x2c5),_0x143c1b[_0x143c1b[_0x132e4f(0x279)]=0x32ca]=_0x132e4f(0x279),_0x143c1b[_0x143c1b['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x132e4f(0x19f),_0x143c1b[_0x143c1b[_0x132e4f(0x345)]=-0x1]=_0x132e4f(0x345),_0x143c1b))(pi||{}),Z=(_0x2911de=>(_0x2911de[_0x2911de[_0x132e4f(0x1d5)]=0x0]=_0x132e4f(0x1d5),_0x2911de[_0x2911de[_0x132e4f(0x214)]=0x1]=_0x132e4f(0x214),_0x2911de[_0x2911de[_0x132e4f(0xd5)]=0x2]=_0x132e4f(0xd5),_0x2911de[_0x2911de['UNIVER_SLIDE']=0x3]=_0x132e4f(0x15f),_0x2911de[_0x2911de['UNIVER_PROJECT']=0x4]=_0x132e4f(0x225),_0x2911de[_0x2911de[_0x132e4f(0x345)]=-0x1]=_0x132e4f(0x345),_0x2911de))(Z||{}),F=(_0xd755bc=>(_0xd755bc[_0xd755bc[_0x132e4f(0x291)]=0x0]=_0x132e4f(0x291),_0xd755bc[_0xd755bc[_0x132e4f(0x296)]=0x1]=_0x132e4f(0x296),_0xd755bc[_0xd755bc[_0x132e4f(0x2f2)]=0x2]='JOIN',_0xd755bc[_0xd755bc[_0x132e4f(0x29a)]=0x3]=_0x132e4f(0x29a),_0xd755bc[_0xd755bc[_0x132e4f(0x14a)]=0x4]=_0x132e4f(0x14a),_0xd755bc[_0xd755bc['HEARTBEAT']=0x5]=_0x132e4f(0x18f),_0xd755bc[_0xd755bc[_0x132e4f(0x1a5)]=0x6]=_0x132e4f(0x1a5),_0xd755bc[_0xd755bc[_0x132e4f(0x345)]=-0x1]=_0x132e4f(0x345),_0xd755bc))(F||{}),me=(_0x38a5e2=>(_0x38a5e2[_0x38a5e2[_0x132e4f(0x230)]=0x0]=_0x132e4f(0x230),_0x38a5e2[_0x38a5e2['OK']=0x1]='OK',_0x38a5e2[_0x38a5e2[_0x132e4f(0x333)]=0x2]='FAIL',_0x38a5e2[_0x38a5e2[_0x132e4f(0x13b)]=0x3e9]=_0x132e4f(0x13b),_0x38a5e2[_0x38a5e2[_0x132e4f(0x28a)]=0x3ea]=_0x132e4f(0x28a),_0x38a5e2[_0x38a5e2['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x132e4f(0x2f8),_0x38a5e2[_0x38a5e2[_0x132e4f(0x162)]=0x3ec]=_0x132e4f(0x162),_0x38a5e2[_0x38a5e2['UNRECOGNIZED']=-0x1]=_0x132e4f(0x345),_0x38a5e2))(me||{}),mi=(_0x52be62=>(_0x52be62[_0x52be62[_0x132e4f(0x13e)]=0x0]=_0x132e4f(0x13e),_0x52be62[_0x52be62['HttpImport']=0x1]='HttpImport',_0x52be62[_0x52be62[_0x132e4f(0x28b)]=0x2]=_0x132e4f(0x28b),_0x52be62[_0x52be62[_0x132e4f(0x13f)]=0x3]='UnitEmbedded',_0x52be62[_0x52be62[_0x132e4f(0x1e5)]=0x4]='UnitSnapshot',_0x52be62[_0x52be62[_0x132e4f(0x1f7)]=0x5]=_0x132e4f(0x1f7),_0x52be62[_0x52be62[_0x132e4f(0x345)]=-0x1]='UNRECOGNIZED',_0x52be62))(mi||{});const K='collaboration-client.config',Ds={};var ne=(_0x5bb4d1=>(_0x5bb4d1['OTHER_CLIENT_EDITING']=_0x132e4f(0x2f4),_0x5bb4d1['PERMISSION_DENIED']=_0x132e4f(0x191),_0x5bb4d1[_0x132e4f(0xe6)]=_0x132e4f(0xe6),_0x5bb4d1['CLOSE_ROOM']='CLOSE_ROOM',_0x5bb4d1[_0x132e4f(0xd4)]='JOIN_ROOM_FAILED',_0x5bb4d1[_0x132e4f(0x12f)]=_0x132e4f(0x12f),_0x5bb4d1['SOCKET_FAILED']='SOCKET_FAILED',_0x5bb4d1[_0x132e4f(0x285)]=_0x132e4f(0x285),_0x5bb4d1))(ne||{});class ve{constructor(){var _0x28a560=_0x132e4f;N(this,_0x28a560(0x10a),new _0x288ae7()),N(this,_0x28a560(0x1e3),this[_0x28a560(0x10a)][_0x28a560(0x314)]());}['emitEvent'](_0x429614){var _0x380e61=_0x132e4f;this[_0x380e61(0x10a)]['next'](_0x429614);}}const Us=_0x10c743('univer-pro.collaboration-client.network-condition.service');function As(_0x38998e){var _0x36e48f=_0x132e4f,_0x13afec,_0x591db4,_0x248c65,_0x2da895,_0x29e605;const _0x48df11=_0x38998e[_0x36e48f(0x312)],_0x3eff29=JSON[_0x36e48f(0x204)](_0x48df11);switch(_0x3eff29[_0x36e48f(0x105)]){case F[_0x36e48f(0x18f)]:case F[_0x36e48f(0x296)]:{const _0x140aa4=_0x3eff29[_0x36e48f(0x349)];return{..._0x3eff29,'data':_0x140aa4,'cmd':_0x3eff29[_0x36e48f(0x105)]};}case F[_0x36e48f(0x2f2)]:{const _0x1af472=_0x3eff29[_0x36e48f(0x25e)];return{..._0x3eff29,'data':_0x1af472,'cmd':_0x3eff29[_0x36e48f(0x105)]};}case F['RECV']:{const _0x425824=_0x3eff29[_0x36e48f(0x210)];switch(_0x425824['eventID']){case _0x13b946[_0x36e48f(0x1bb)]:return{..._0x3eff29,'data':{..._0x425824,'data':(_0x13afec=_0x425824['permissionRejEvent'])==null?void 0x0:_0x13afec['cs']},'cmd':_0x3eff29[_0x36e48f(0x105)]};case _0x13b946['CHANGESET_ACK']:return{..._0x3eff29,'data':{..._0x425824,'data':(_0x591db4=_0x425824[_0x36e48f(0xa1)])==null?void 0x0:_0x591db4['cs']},'cmd':_0x3eff29[_0x36e48f(0x105)]};case _0x13b946[_0x36e48f(0x271)]:return{..._0x3eff29,'data':{..._0x425824,'data':(_0x248c65=_0x425824[_0x36e48f(0x12d)])==null?void 0x0:_0x248c65['cs']},'cmd':_0x3eff29[_0x36e48f(0x105)]};case _0x13b946['CHANGESET_REJ']:return{..._0x3eff29,'data':{..._0x425824,'data':(_0x2da895=_0x425824[_0x36e48f(0x1ae)])==null?void 0x0:_0x2da895['cs']},'cmd':_0x3eff29['cmd']};case _0x13b946[_0x36e48f(0x17b)]:return{..._0x3eff29,'data':{..._0x425824,'data':(_0x29e605=_0x425824['csShouldRetryEvent'])==null?void 0x0:_0x29e605['cs']},'cmd':_0x3eff29[_0x36e48f(0x105)]};case _0x13b946[_0x36e48f(0x21d)]:return{..._0x3eff29,'data':{..._0x425824,'data':_0x425824[_0x36e48f(0x1fa)]},'cmd':_0x3eff29['cmd']};case _0x13b946[_0x36e48f(0xec)]:return{..._0x3eff29,'data':{..._0x425824,'data':_0x425824[_0x36e48f(0x11a)]},'cmd':_0x3eff29[_0x36e48f(0x105)]};case _0x13b946['USERS_LEAVE']:return{..._0x3eff29,'data':{..._0x425824,'data':_0x425824[_0x36e48f(0x2fd)]},'cmd':_0x3eff29[_0x36e48f(0x105)]};case _0x13b946[_0x36e48f(0x288)]:return{..._0x3eff29,'data':{..._0x425824,'data':_0x425824['liveShareNewHost']},'cmd':_0x3eff29[_0x36e48f(0x105)]};case _0x13b946[_0x36e48f(0x19c)]:case _0x13b946[_0x36e48f(0x18d)]:return{..._0x3eff29,'data':{..._0x425824,'data':_0x425824[_0x36e48f(0x24d)]},'cmd':_0x3eff29['cmd']};case _0x13b946[_0x36e48f(0x335)]:return{..._0x3eff29,'data':{..._0x425824,'data':_0x425824[_0x36e48f(0x2fe)]},'cmd':_0x3eff29['cmd']};case _0x13b946[_0x36e48f(0x1e6)]:return{..._0x3eff29,'data':_0x425824,'cmd':_0x3eff29['cmd']};case _0x13b946['COMMENT_UPDATE']:return{..._0x3eff29,'data':{..._0x425824,'data':_0x425824['commentUpdateEvent']},'cmd':_0x3eff29['cmd']};case _0x13b946[_0x36e48f(0xee)]:return{..._0x3eff29,'data':{..._0x425824,'data':_0x425824[_0x36e48f(0x284)]},'cmd':_0x3eff29[_0x36e48f(0x105)]};case _0x13b946[_0x36e48f(0x1ed)]:return{..._0x3eff29,'data':{..._0x425824,'data':_0x425824[_0x36e48f(0x374)]},'cmd':_0x3eff29[_0x36e48f(0x105)]};case _0x13b946[_0x36e48f(0x180)]:return{..._0x3eff29,'data':{..._0x425824,'data':_0x425824[_0x36e48f(0x2a4)]},'cmd':_0x3eff29['cmd']};default:return _0x3eff29;}}default:return _0x3eff29;}}function ws(_0x4b25fc){var _0x5364a5=_0x132e4f;switch(_0x4b25fc[_0x5364a5(0x105)]){case F[_0x5364a5(0x18f)]:case F[_0x5364a5(0x296)]:return JSON[_0x5364a5(0x2a6)]({'cmd':_0x4b25fc[_0x5364a5(0x105)],'routeKey':_0x4b25fc[_0x5364a5(0xfd)]});case F[_0x5364a5(0x14a)]:{let _0x5e0d0d;switch(_0x4b25fc[_0x5364a5(0x312)]['eventID']){case _0x13b946[_0x5364a5(0x21d)]:{_0x5e0d0d={'eventID':_0x13b946[_0x5364a5(0x21d)],'updateCursorEvent':_0x4b25fc[_0x5364a5(0x312)][_0x5364a5(0x312)]};break;}case _0x13b946[_0x5364a5(0x1ce)]:{_0x5e0d0d={'eventID':_0x13b946[_0x5364a5(0x1ce)],'leaveEvent':_0x4b25fc['data']['data']};break;}case _0x13b946[_0x5364a5(0xec)]:{_0x5e0d0d={'eventID':_0x13b946[_0x5364a5(0xec)],'joinEvent':_0x4b25fc[_0x5364a5(0x312)][_0x5364a5(0x312)]};break;}case _0x13b946[_0x5364a5(0x288)]:{_0x5e0d0d={'eventID':_0x13b946[_0x5364a5(0x288)],'liveShareNewHost':_0x4b25fc[_0x5364a5(0x312)][_0x5364a5(0x312)]};break;}case _0x13b946[_0x5364a5(0x18d)]:{_0x5e0d0d={'eventID':_0x13b946[_0x5364a5(0x18d)],'liveShareOperation':_0x4b25fc[_0x5364a5(0x312)][_0x5364a5(0x312)]};break;}case _0x13b946[_0x5364a5(0x335)]:{_0x5e0d0d={'eventID':_0x13b946[_0x5364a5(0x335)],'liveShareTerminate':_0x4b25fc[_0x5364a5(0x312)][_0x5364a5(0x312)]};break;}case _0x13b946[_0x5364a5(0x7d)]:{_0x5e0d0d={'eventID':_0x13b946[_0x5364a5(0x7d)],'liveShareRequestHost':_0x4b25fc[_0x5364a5(0x312)]['data']};break;}case _0x13b946[_0x5364a5(0x19c)]:{_0x5e0d0d={'eventID':_0x13b946['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x5e0d0d={'eventID':_0x4b25fc[_0x5364a5(0x312)][_0x5364a5(0x2c7)]};}return JSON[_0x5364a5(0x2a6)]({'cmd':_0x4b25fc[_0x5364a5(0x105)],'routeKey':_0x4b25fc[_0x5364a5(0xfd)],'collaMsg':_0x5e0d0d});}case F['JOIN']:return JSON[_0x5364a5(0x2a6)]({'cmd':_0x4b25fc[_0x5364a5(0x105)],'routeKey':_0x4b25fc[_0x5364a5(0xfd)],'joinReq':_0x4b25fc[_0x5364a5(0x312)]});case F[_0x5364a5(0x29a)]:return JSON[_0x5364a5(0x2a6)]({'cmd':_0x4b25fc[_0x5364a5(0x105)],'routeKey':_0x4b25fc[_0x5364a5(0xfd)],'leaveReq':_0x4b25fc[_0x5364a5(0x312)]});default:throw new Error(_0x5364a5(0x36e));}}var Ps=Object[_0x132e4f(0x129)],Ls=(_0xec88f5,_0x29bc07,_0x3c8904,_0x28fdbe)=>{var _0x39f1f4=_0x132e4f;for(var _0x2ecf8e=_0x28fdbe>0x1?void 0x0:_0x28fdbe?Ps(_0x29bc07,_0x3c8904):_0x29bc07,_0x1e9359=_0xec88f5[_0x39f1f4(0x232)]-0x1,_0x39055f;_0x1e9359>=0x0;_0x1e9359--)(_0x39055f=_0xec88f5[_0x1e9359])&&(_0x2ecf8e=_0x39055f(_0x2ecf8e)||_0x2ecf8e);return _0x2ecf8e;},Ue=(_0x1d240b,_0x5922d8)=>(_0x33c4d4,_0x2732e5)=>_0x5922d8(_0x33c4d4,_0x2732e5,_0x1d240b);const gi=_0x10c743(_0x132e4f(0x2cb));function Ms(_0x51cf15,_0x5e2212,_0x126668){var _0x19df7f=_0x132e4f;return _0x51cf15+'/'+_0x5e2212+_0x19df7f(0x294)+_0x126668+'/new_changes';}let Ft=class extends _0x14edb1{constructor(_0xa18019,_0x501bed,_0xdcc757,_0x2fc0d9,_0x48b9cf){var _0x45fcf7=_0x132e4f;super(),this['_injector']=_0xa18019,this[_0x45fcf7(0xf4)]=_0x501bed,this[_0x45fcf7(0x1da)]=_0xdcc757,this[_0x45fcf7(0x91)]=_0x2fc0d9,this[_0x45fcf7(0x1f2)]=_0x48b9cf;}[_0x132e4f(0x20c)](_0x150485){var _0x58a179=_0x132e4f;const _0x7a12aa=this[_0x58a179(0x1db)][_0x58a179(0x303)](_0x50990d);if(!_0x7a12aa)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x3fd5b5=_0x7a12aa['createSocket'](_0x150485);if(!_0x3fd5b5)throw new Error(_0x58a179(0x326));const _0x5664dc=new _0x4234ac(),_0x5acca4=new _0x288ae7();_0x5664dc['add'](_0x3fd5b5[_0x58a179(0x21e)]['subscribe'](_0x50b262=>_0x5acca4[_0x58a179(0xfb)](_0x50b262))),_0x5664dc['add'](_0x2e1d4e(()=>_0x5acca4['complete']()));const _0x4412bd=new _0x288ae7();_0x5664dc['add'](_0x3fd5b5[_0x58a179(0x35d)]['subscribe'](_0x3fd6c1=>_0x4412bd['next'](_0x3fd6c1))),_0x5664dc[_0x58a179(0x19a)](_0x2e1d4e(()=>_0x4412bd[_0x58a179(0x226)]()));const _0x42901b=new _0x288ae7();_0x5664dc[_0x58a179(0x19a)](_0x3fd5b5[_0x58a179(0x20a)]['subscribe'](_0x2e3710=>{var _0x25c2c0=_0x58a179;const _0x2a46b7=As(_0x2e3710);_0x42901b[_0x25c2c0(0xfb)](_0x2a46b7);})),_0x5664dc['add'](_0x2e1d4e(()=>_0x42901b[_0x58a179(0x226)]()));let _0x4d5ecd;const _0x2700e8=()=>{var _0x4880b8=_0x58a179;_0x4412bd['next'](new Event(_0x4880b8(0x14e))),_0x5acca4[_0x4880b8(0xfb)](new Event('connection\x20error')),_0x4d5ecd['close']();};return _0x4d5ecd={'memberID':'','close$':_0x5acca4['asObservable'](),'error$':_0x4412bd[_0x58a179(0x314)](),'open$':_0x3fd5b5[_0x58a179(0x1a7)],'message$':_0x42901b[_0x58a179(0x314)](),'send':_0x44c8f4=>{var _0x1e46ce=_0x58a179;if(_0x44c8f4['cmd']===F[_0x1e46ce(0x14a)]){if(_0x44c8f4[_0x1e46ce(0x312)][_0x1e46ce(0x2c7)]===_0x13b946[_0x1e46ce(0x1c6)]){this[_0x1e46ce(0x8d)](_0x4d5ecd,_0x44c8f4[_0x1e46ce(0x312)])[_0x1e46ce(0x30f)](_0x538bf3=>{var _0x3eca56=_0x1e46ce;this[_0x3eca56(0x91)]['error'](_0x538bf3),_0x2700e8();});return;}if(_0x44c8f4['data'][_0x1e46ce(0x2c7)]===_0x13b946['FETCH_MISSING']){const _0x1d42a9=_0x44c8f4[_0x1e46ce(0x312)];this[_0x1e46ce(0x1be)](_0x1d42a9)[_0x1e46ce(0xc0)](_0xd1a546=>{var _0x5f370d=_0x1e46ce;_0x42901b['next']({'cmd':F['RECV'],'code':me['OK'],'routeKey':_0x1d42a9[_0x5f370d(0x312)][_0x5f370d(0x341)],'routeType':'','data':{'eventID':_0x13b946[_0x5f370d(0x1bd)],'data':{'changesets':_0xd1a546}}});})[_0x1e46ce(0x30f)](_0x2be888=>{var _0x444a26=_0x1e46ce;this['_logService'][_0x444a26(0x13c)](_0x2be888),_0x2700e8();});return;}}_0x3fd5b5['send'](ws(_0x44c8f4));},'close':()=>{var _0x3a4f27=_0x58a179;_0x3fd5b5['close'](),_0x5664dc[_0x3a4f27(0x2b2)]();}},_0x4d5ecd;}async[_0x132e4f(0x8d)](_0x221681,_0x2dab5f){var _0x5eaf7c=_0x132e4f,_0x58a1f9,_0x53225f;const {unitType:_0x4825c9,unitID:_0x1182df,changeset:_0x4554df}=_0x2dab5f[_0x5eaf7c(0x312)],_0x751e2a={'unitID':_0x1182df,'memberID':_0x221681[_0x5eaf7c(0x373)],'type':_0x4825c9,'changeset':_0x4d3785(_0x4554df)},_0x278e0b=this[_0x5eaf7c(0x1da)][_0x5eaf7c(0x35c)](Os),_0x563d95=this[_0x5eaf7c(0x1da)][_0x5eaf7c(0x35c)](K),_0x1a9849=Ms((_0x53225f=(_0x58a1f9=_0x563d95==null?void 0x0:_0x563d95[_0x5eaf7c(0x182)])!=null?_0x58a1f9:_0x278e0b)!=null?_0x53225f:bs,_0x4825c9,_0x1182df);try{await this['_httpService'][_0x5eaf7c(0xb6)](_0x1a9849,{'body':_0x751e2a});}catch(_0x4107bf){throw this[_0x5eaf7c(0x91)][_0x5eaf7c(0x13c)](_0x5eaf7c(0x93),_0x5eaf7c(0x250)),_0x4107bf;}}async[_0x132e4f(0x1be)](_0x2e4180){var _0x79e711=_0x132e4f;const {unitID:_0x5d9a95,from:_0x52c529,to:_0x2898b8,unitType:_0x285517}=_0x2e4180[_0x79e711(0x312)];return(await this[_0x79e711(0x1f2)][_0x79e711(0xe1)]({'metadata':void 0x0},{'unitID':_0x5d9a95,'type':_0x285517,'from':_0x52c529,'to':_0x2898b8}))[_0x79e711(0x121)];}};Ft=Ls([Ue(0x0,_0x272268(_0x1e804f)),Ue(0x1,_0x272268(_0x3f17c)),Ue(0x2,_0x2697d9),Ue(0x3,_0x2e16e2),Ue(0x4,_0x29573b)],Ft);const xs=_0x132e4f(0x29f);function ks(_0x2bbf13){var _0x10c2ad=_0x132e4f;return JSON[_0x10c2ad(0x2a6)](_0x2bbf13)[_0x10c2ad(0x232)];}class Si{constructor(){var _0x391b50=_0x132e4f;N(this,_0x391b50(0xd1),new _0x288ae7()),N(this,_0x391b50(0x1e9),this[_0x391b50(0xd1)][_0x391b50(0x314)]());}[_0x132e4f(0x207)](_0x3bf17c){var _0x193e28=_0x132e4f;this[_0x193e28(0xd1)][_0x193e28(0xfb)](_0x3bf17c);}}var $s=Object[_0x132e4f(0x129)],Hs=(_0x525040,_0x2e8ef6,_0x5a680f,_0x155441)=>{for(var _0x2537ef=_0x155441>0x1?void 0x0:_0x155441?$s(_0x2e8ef6,_0x5a680f):_0x2e8ef6,_0x2e3a7d=_0x525040['length']-0x1,_0x6a2a7;_0x2e3a7d>=0x0;_0x2e3a7d--)(_0x6a2a7=_0x525040[_0x2e3a7d])&&(_0x2537ef=_0x6a2a7(_0x2537ef)||_0x2537ef);return _0x2537ef;},Vt=(_0x1b252b,_0x1d6a89)=>(_0x373382,_0x2fa03b)=>_0x1d6a89(_0x373382,_0x2fa03b,_0x1b252b);let Pe=class extends _0x14edb1{constructor(_0x2206b7,_0x4e79d2){var _0x4acfa2=_0x132e4f;super(),N(this,_0x4acfa2(0x2eb),new Map()),N(this,'_roomCreated$',new _0x288ae7()),(this[_0x4acfa2(0xdf)]=_0x2206b7,this[_0x4acfa2(0x29c)]=_0x4e79d2,this['disposeWithMe'](_0x1f0a96(this[_0x4acfa2(0xdf)][_0x4acfa2(0x307)](_0x1df003['UNIVER_SHEET'])[_0x4acfa2(0x33f)](_0x240a71(_0x2bde26=>_0x2bde26[_0x4acfa2(0x1c8)]())),this[_0x4acfa2(0xdf)][_0x4acfa2(0x307)](_0x1df003[_0x4acfa2(0x214)])[_0x4acfa2(0x33f)](_0x240a71(_0x447b5d=>_0x447b5d[_0x4acfa2(0x1c8)]())),this['_univerInstanceService'][_0x4acfa2(0x307)](_0x1df003[_0x4acfa2(0x15f)])[_0x4acfa2(0x33f)](_0x240a71(_0x53b433=>_0x53b433[_0x4acfa2(0x1c8)]())))[_0x4acfa2(0x1e1)](_0x47a2db=>this[_0x4acfa2(0x85)](_0x47a2db))));}[_0x132e4f(0x36a)](_0x4e4bd3){var _0x514597=_0x132e4f;return this[_0x514597(0x2eb)][_0x514597(0x2bb)](_0x4e4bd3)?_0x13feb8(this[_0x514597(0x2eb)]['get'](_0x4e4bd3)):this['_roomCreated$'][_0x514597(0x33f)](_0x240a71(_0x1c01ac=>{var _0x185106=_0x514597;if(_0x1c01ac===_0x4e4bd3)return this['_roomMembers'][_0x185106(0x303)](_0x1c01ac);}));}[_0x132e4f(0x96)](_0x1b4144){var _0x325e57=_0x132e4f;this['_userManagerService'][_0x325e57(0x96)](_0x1b4144);}['getCurrentUser'](){var _0x3df519=_0x132e4f;return this[_0x3df519(0x29c)][_0x3df519(0x36d)]();}[_0x132e4f(0x113)](_0x4e4f5a,_0x430683){var _0x1dbc6e=_0x132e4f;let _0x6e1c1c=this[_0x1dbc6e(0x2eb)][_0x1dbc6e(0x303)](_0x4e4f5a);_0x6e1c1c||(_0x6e1c1c=new Bs(),this[_0x1dbc6e(0x2eb)][_0x1dbc6e(0x114)](_0x4e4f5a,_0x6e1c1c),this['_roomCreated$'][_0x1dbc6e(0xfb)](_0x4e4f5a)),_0x6e1c1c[_0x1dbc6e(0x113)](_0x430683);}['removeMember'](_0x18394f,_0x5b7d45){var _0xadac5d=_0x132e4f;const _0x30fa50=this[_0xadac5d(0x2eb)][_0xadac5d(0x303)](_0x18394f);_0x30fa50&&_0x30fa50[_0xadac5d(0x346)](_0x5b7d45);}[_0x132e4f(0x234)](_0x1da2d1){var _0x2e73de=_0x132e4f;return this[_0x2e73de(0x2eb)][_0x2e73de(0x303)](_0x1da2d1);}['getMember'](_0xf96484,_0x50cb2b){var _0x26c062=_0x132e4f;const _0x45045f=this[_0x26c062(0x2eb)][_0x26c062(0x303)](_0xf96484);if(_0x45045f)return _0x45045f['getMember'](_0x50cb2b);}[_0x132e4f(0x85)](_0x22225f){var _0x362adc=_0x132e4f;const _0x1a1a22=this['_roomMembers']['get'](_0x22225f);_0x1a1a22&&(_0x1a1a22[_0x362adc(0x2b2)](),this[_0x362adc(0x2eb)][_0x362adc(0x92)](_0x22225f));}[_0x132e4f(0x2b2)](){var _0x51775a=_0x132e4f;this[_0x51775a(0x2eb)]['forEach'](_0x2f24c9=>_0x2f24c9[_0x51775a(0x2b2)]()),this['_roomMembers'][_0x51775a(0x2bf)](),this[_0x51775a(0x148)][_0x51775a(0x226)]();}};Pe=Hs([Vt(0x0,_0x3078ab),Vt(0x1,_0x272268(_0x37b426))],Pe);class Bs extends _0x14edb1{constructor(){var _0x2627ad=_0x132e4f;super(...arguments),N(this,'_members',new Map()),N(this,_0x2627ad(0xb1),new _0xcec471(this['_members'])),N(this,'members$',this[_0x2627ad(0xb1)]['asObservable']());}[_0x132e4f(0x2b2)](){var _0x53c324=_0x132e4f;this[_0x53c324(0x1b0)][_0x53c324(0x2bf)]();}['updateMember'](_0x39c9ef){var _0x2a240e=_0x132e4f;this[_0x2a240e(0x1b0)][_0x2a240e(0x114)](_0x39c9ef[_0x2a240e(0x373)],_0x39c9ef),this['_emitMembers']();}['removeMember'](_0x374443){var _0x1b88bd=_0x132e4f;this[_0x1b88bd(0x1b0)]['delete'](_0x374443);}[_0x132e4f(0x20f)](_0x2ccf14){var _0x3239a8=_0x132e4f;return this[_0x3239a8(0x1b0)]['get'](_0x2ccf14);}[_0x132e4f(0x275)](){var _0x35be21=_0x132e4f;return Array['from'](this['_members'][_0x35be21(0x219)]());}[_0x132e4f(0x2f5)](){var _0x363714=_0x132e4f;this[_0x363714(0xb1)][_0x363714(0xfb)](this[_0x363714(0x1b0)]);}}var js=Object[_0x132e4f(0x129)],Fs=(_0x568927,_0x5d78f2,_0x1c7753,_0x4fc14d)=>{var _0x390c1d=_0x132e4f;for(var _0x1b1ff1=_0x4fc14d>0x1?void 0x0:_0x4fc14d?js(_0x5d78f2,_0x1c7753):_0x5d78f2,_0x2033ca=_0x568927[_0x390c1d(0x232)]-0x1,_0x52f31d;_0x2033ca>=0x0;_0x2033ca--)(_0x52f31d=_0x568927[_0x2033ca])&&(_0x1b1ff1=_0x52f31d(_0x1b1ff1)||_0x1b1ff1);return _0x1b1ff1;},pe=(_0x1c0fd6,_0x40836e)=>(_0x56862e,_0x4cafb2)=>_0x40836e(_0x56862e,_0x4cafb2,_0x1c0fd6),Se=(_0x2dbcf9=>(_0x2dbcf9[_0x2dbcf9['IDLE']=0x0]='IDLE',_0x2dbcf9[_0x2dbcf9[_0x132e4f(0x116)]=0x1]='JOINING',_0x2dbcf9[_0x2dbcf9[_0x132e4f(0x2c2)]=0x2]='OFFLINE',_0x2dbcf9[_0x2dbcf9[_0x132e4f(0x218)]=0x3]=_0x132e4f(0x218),_0x2dbcf9))(Se||{});const Gt={[me['FAIL']]:_0x132e4f(0x293),[me[_0x132e4f(0x13b)]]:_0x132e4f(0x1e2),[me['JOIN_ROOM_NOT_EXISTS']]:_0x132e4f(0x308),[me['JOIN_ROOM_PERMISSION_DENIED']]:_0x132e4f(0xd6),[me[_0x132e4f(0x162)]]:_0x132e4f(0x281)};let gt=class extends _0x151895{constructor(_0x5bdcb1,_0xd274c9,_0x259619,_0x542b77,_0x40d80b,_0x12bb0f,_0x35fffc,_0x225e9f,_0x4ab455){var _0x2029de=_0x132e4f;super(),N(this,_0x2029de(0x11c),new _0xcec471(0x0)),N(this,_0x2029de(0x2d9),this[_0x2029de(0x11c)][_0x2029de(0x314)]()),N(this,_0x2029de(0x10a),new _0x288ae7()),N(this,_0x2029de(0x1e3),this[_0x2029de(0x10a)][_0x2029de(0x314)]()),N(this,_0x2029de(0x25f)),N(this,_0x2029de(0x1ac)),N(this,_0x2029de(0x1b6)),N(this,_0x2029de(0x209),!0x1),N(this,_0x2029de(0x79),null),(this[_0x2029de(0x2f1)]=_0x5bdcb1,this['_logService']=_0x259619,this['_configService']=_0x542b77,this[_0x2029de(0x165)]=_0x40d80b,this[_0x2029de(0x231)]=_0x12bb0f,this[_0x2029de(0x118)]=_0x35fffc,this[_0x2029de(0x309)]=_0x225e9f,this[_0x2029de(0x171)]=_0x4ab455,this[_0x2029de(0x209)]=!!this['_telemetryService'],_0xd274c9[_0x2029de(0x33f)](_0x2ed18f(this[_0x2029de(0x14c)]))['subscribe'](_0x4c5ffb=>{var _0x38cd94=_0x2029de,_0x16841f;typeof _0x4c5ffb>'u'||(this[_0x38cd94(0x25f)]=_0x4c5ffb,_0x4c5ffb?(this[_0x38cd94(0xc2)](_0x4c5ffb),this[_0x38cd94(0x1ac)]=_0x4c5ffb[_0x38cd94(0x20a)][_0x38cd94(0x1e1)](_0x384f0c=>{var _0x19f124=_0x38cd94;_0x384f0c['routeKey']===this[_0x19f124(0x2f1)]&&this[_0x19f124(0xa9)](_0x384f0c);})):(this[_0x38cd94(0x189)](),this[_0x38cd94(0x11c)][_0x38cd94(0xfb)](0x2),(_0x16841f=this[_0x38cd94(0x1ac)])==null||_0x16841f[_0x38cd94(0x142)](),this[_0x38cd94(0x1ac)]=null));}));}get['sessionStatus'](){var _0x144d5c=_0x132e4f;return this[_0x144d5c(0x11c)][_0x144d5c(0x29e)]();}[_0x132e4f(0x1b9)](){var _0x5ad1a1=_0x132e4f,_0x5c8aaa,_0x2729e3;return(_0x2729e3=(_0x5c8aaa=this[_0x5ad1a1(0x25f)])==null?void 0x0:_0x5c8aaa[_0x5ad1a1(0x373)])!=null?_0x2729e3:null;}[_0x132e4f(0x2b2)](){var _0x19861c=_0x132e4f;super['dispose'](),this[_0x19861c(0x14c)][_0x19861c(0xfb)](),this[_0x19861c(0x14c)][_0x19861c(0x226)]();}[_0x132e4f(0x355)](){var _0x974025=_0x132e4f,_0xdacef2,_0x297a7c;this[_0x974025(0x189)](),(_0xdacef2=this[_0x974025(0x25f)])==null||_0xdacef2[_0x974025(0x361)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x974025(0x2f1)]}}),(_0x297a7c=this['_socket'])==null||_0x297a7c['close'](),this[_0x974025(0x10a)][_0x974025(0x226)](),this['_sessionStatus$'][_0x974025(0x226)](),this[_0x974025(0x2b2)]();}[_0x132e4f(0xa9)](_0x115507){var _0x1c427b=_0x132e4f;_0x115507[_0x1c427b(0x105)]===F['JOIN']?this[_0x1c427b(0x31e)](_0x115507):_0x115507[_0x1c427b(0x105)]===F[_0x1c427b(0x1a5)]&&this[_0x1c427b(0x178)](_0x115507);}['_joinRoom'](_0x50b17c){var _0x36221d=_0x132e4f;this[_0x36221d(0x11c)]['next'](0x1),_0x50b17c['send']({'cmd':F[_0x36221d(0x2f2)],'routeKey':this[_0x36221d(0x2f1)],'routeType':'','data':{'rooms':[{'roomID':this[_0x36221d(0x2f1)]}]}});}[_0x132e4f(0x31e)](_0x162ca5){var _0x59d643=_0x132e4f,_0xa75854;if(_0x162ca5[_0x59d643(0x132)]in Gt){this[_0x59d643(0x309)][_0x59d643(0x155)]({'id':ne[_0x59d643(0xd4)],'data':Gt[_0x162ca5[_0x59d643(0x132)]]}),this[_0x59d643(0x11c)][_0x59d643(0xfb)](0x2);return;}this[_0x59d643(0x11c)][_0x59d643(0xfb)](0x3);const _0x4c7bbb=(_0xa75854=_0x162ca5[_0x59d643(0x312)][_0x59d643(0x22a)][this[_0x59d643(0x2f1)]])==null?void 0x0:_0xa75854[_0x59d643(0x9c)];_0x4c7bbb&&_0x4c7bbb[_0x59d643(0xc8)](_0x5e454e=>this[_0x59d643(0x231)][_0x59d643(0x113)](this[_0x59d643(0x2f1)],_0x5e454e));}[_0x132e4f(0x178)](_0x2e64e0){var _0x17dfd5=_0x132e4f;try{const _0x241726=_0x2e64e0[_0x17dfd5(0x312)];switch(_0x241726['eventID']){case _0x13b946['USERS_ENTER']:this['_onUserJoin'](_0x241726),this['_event$']['next'](_0x241726);break;case _0x13b946[_0x17dfd5(0x1ce)]:this[_0x17dfd5(0x2bd)](_0x241726),this[_0x17dfd5(0x10a)][_0x17dfd5(0xfb)](_0x241726);break;case _0x13b946[_0x17dfd5(0x1a0)]:case _0x13b946[_0x17dfd5(0x17b)]:this[_0x17dfd5(0x1e4)](),this['_clearCollaborationTimeoutTimer'](),this[_0x17dfd5(0x10a)]['next'](_0x241726);break;case _0x13b946[_0x17dfd5(0x1e6)]:this[_0x17dfd5(0x91)]['error'](_0x17dfd5(0x1a8)+JSON[_0x17dfd5(0x2a6)](_0x241726)),this[_0x17dfd5(0x10a)]['next'](_0x241726);break;case _0x13b946[_0x17dfd5(0x135)]:this[_0x17dfd5(0x118)][_0x17dfd5(0x207)](_0x241726['data']),this[_0x17dfd5(0x10a)]['next'](_0x241726);break;default:this[_0x17dfd5(0x10a)]['next'](_0x241726);}}catch(_0x32ed7c){this[_0x17dfd5(0x91)][_0x17dfd5(0x13c)](_0x32ed7c,_0x2e64e0);}}[_0x132e4f(0x11e)](_0x17fba3){var _0x40b095=_0x132e4f;this['_memberService'][_0x40b095(0x113)](this['_unitID'],_0x17fba3['data']);}['_onUserLeave'](_0x4195ec){var _0x3f9bc7=_0x132e4f;this['_memberService']['removeMember'](this[_0x3f9bc7(0x2f1)],_0x4195ec[_0x3f9bc7(0x312)][_0x3f9bc7(0x373)]);}async[_0x132e4f(0x361)](_0x591c99,_0x5a6d93){var _0x295e16=_0x132e4f;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x295e16(0x125));try{_0x591c99['eventID']===_0x13b946['SUBMIT_CHANGESET']&&(this[_0x295e16(0x2f6)](),this[_0x295e16(0x2cd)](_0x591c99)),this[_0x295e16(0x25f)][_0x295e16(0x361)]({'cmd':F[_0x295e16(0x14a)],'routeKey':_0x5a6d93,'routeType':'','data':_0x591c99});}catch(_0x42eef1){this[_0x295e16(0x91)]['error'](_0x42eef1);}}[_0x132e4f(0x2f6)](){var _0x77ec70=_0x132e4f,_0x4c2ee4;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x3bed00=_0xa8aa;this[_0x3bed00(0x1b6)]=null,this[_0x3bed00(0x309)][_0x3bed00(0x155)]({'id':ne[_0x3bed00(0x285)]});},(_0x4c2ee4=this['_configService'][_0x77ec70(0x35c)](fi))!=null?_0x4c2ee4:vi);}[_0x132e4f(0x185)](){var _0x741845=_0x132e4f;this[_0x741845(0x1b6)]&&(clearTimeout(this[_0x741845(0x1b6)]),this[_0x741845(0x1b6)]=null);}[_0x132e4f(0x2cd)](_0x363449){var _0x28809b=_0x132e4f;if(!this[_0x28809b(0x209)])return;const {data:_0x42535a}=_0x363449,{unitID:_0x1f27ef,changeset:_0x38d2b9}=_0x42535a,{mutations:_0x335000,type:_0x62b73b}=_0x38d2b9;this[_0x28809b(0x79)]={'unitId':_0x1f27ef,'type':_0x62b73b,'startTime':performance[_0x28809b(0x17c)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x335000)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x528ab8=_0x132e4f;if(this[_0x528ab8(0x209)]){if(!this[_0x528ab8(0x79)]){this[_0x528ab8(0x91)][_0x528ab8(0x13c)](_0x528ab8(0x93),_0x528ab8(0x17e));return;}this[_0x528ab8(0x79)][_0x528ab8(0x318)]=performance['now'](),this['_telemetryInfo'][_0x528ab8(0x30c)]=this['_telemetryInfo'][_0x528ab8(0x318)]-this[_0x528ab8(0x79)][_0x528ab8(0x2e9)],this['_telemetryService'][_0x528ab8(0x262)](xs,this[_0x528ab8(0x79)]),this[_0x528ab8(0x79)]=null;}}[_0x132e4f(0x189)](){this['_telemetryInfo']=null;}};gt=Fs([pe(0x2,_0x2e16e2),pe(0x3,_0x2697d9),pe(0x4,_0x272268(_0xe273c0)),pe(0x5,_0x272268(Pe)),pe(0x6,_0x272268(Si)),pe(0x7,_0x272268(ve)),pe(0x8,_0x1e8521(_0x7dc613))],gt);var Vs=Object['getOwnPropertyDescriptor'],Gs=(_0x464b00,_0xf0a23b,_0x744a,_0x15bc99)=>{for(var _0x2c4cd6=_0x15bc99>0x1?void 0x0:_0x15bc99?Vs(_0xf0a23b,_0x744a):_0xf0a23b,_0x5be251=_0x464b00['length']-0x1,_0x5c9b78;_0x5be251>=0x0;_0x5be251--)(_0x5c9b78=_0x464b00[_0x5be251])&&(_0x2c4cd6=_0x5c9b78(_0x2c4cd6)||_0x2c4cd6);return _0x2c4cd6;},Re=(_0x1bea24,_0x262bdc)=>(_0x16256a,_0x42f8bf)=>_0x262bdc(_0x16256a,_0x42f8bf,_0x1bea24);let Le=class extends _0x14edb1{constructor(_0x53785c,_0x3614a7,_0x273925,_0x4b5f15,_0x446fda,_0x5c2961){var _0x25aebc=_0x132e4f;super(),N(this,_0x25aebc(0x2e8),new _0xcec471(void 0x0)),N(this,'socket$',this[_0x25aebc(0x2e8)]['asObservable']()),N(this,'_candidateSocket',null),N(this,'_sessions',new Map()),N(this,_0x25aebc(0x2a8),new _0xcec471(Se[_0x25aebc(0x315)])),N(this,'status$',this['_status$']['asObservable']()),N(this,_0x25aebc(0x1d0),!0x1),N(this,'_retryConnectingTimer'),N(this,'_retryCount',0x0),N(this,_0x25aebc(0x313)),N(this,'_timeoutTimer'),(this[_0x25aebc(0x1db)]=_0x53785c,this[_0x25aebc(0x91)]=_0x3614a7,this[_0x25aebc(0x1da)]=_0x273925,this[_0x25aebc(0xaf)]=_0x4b5f15,this[_0x25aebc(0x309)]=_0x446fda,this[_0x25aebc(0xef)]=_0x5c2961,this[_0x25aebc(0x369)]());}get['_socket'](){var _0x2d1e52=_0x132e4f;return this[_0x2d1e52(0x2e8)][_0x2d1e52(0x29e)]();}[_0x132e4f(0x369)](){var _0x25c766=_0x132e4f;this[_0x25c766(0xef)]&&this[_0x25c766(0x276)](this[_0x25c766(0xef)][_0x25c766(0x77)]['subscribe'](_0x4bffe5=>{var _0x416775=_0x25c766;_0x4bffe5&&!this[_0x416775(0x25f)]&&this[_0x416775(0xe9)](),_0x4bffe5||this['_onOffline']();}));}[_0x132e4f(0x2b2)](){var _0x3b6741=_0x132e4f;super[_0x3b6741(0x2b2)](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this[_0x3b6741(0x2cf)](),this[_0x3b6741(0x163)][_0x3b6741(0xc8)](_0x1d7a88=>_0x1d7a88['dispose']()),this[_0x3b6741(0x163)][_0x3b6741(0x2bf)](),this[_0x3b6741(0x2a8)][_0x3b6741(0x226)]();}async[_0x132e4f(0x2e4)](_0x3fbd8a){var _0x571e2e=_0x132e4f;if(this['_sessions']['has'](_0x3fbd8a))return this[_0x571e2e(0x163)][_0x571e2e(0x303)](_0x3fbd8a);this[_0x571e2e(0x364)]();const _0x44e3e0=this[_0x571e2e(0x1db)]['createInstance'](gt,_0x3fbd8a,this['_socket$'][_0x571e2e(0x314)]());return this[_0x571e2e(0x163)][_0x571e2e(0x114)](_0x3fbd8a,_0x44e3e0),_0x44e3e0;}[_0x132e4f(0x134)](_0x272348){var _0x573380=_0x132e4f,_0x5789b5;const _0x4c2e87=this[_0x573380(0x163)]['get'](_0x272348);_0x4c2e87&&(this['_sessions'][_0x573380(0x92)](_0x272348),_0x4c2e87[_0x573380(0x355)]()),this[_0x573380(0x163)][_0x573380(0x305)]||(_0x5789b5=this[_0x573380(0x25f)])==null||_0x5789b5['close']();}['reconnect'](){var _0x198009=_0x132e4f;this[_0x198009(0x31f)]=0x0,this[_0x198009(0x78)](),this[_0x198009(0x128)]();}[_0x132e4f(0x78)](){var _0x230479=_0x132e4f;this[_0x230479(0x12e)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x230479(0x12e)]=null);}async[_0x132e4f(0x32f)](){var _0x53f304=_0x132e4f,_0x1e42b6,_0x395753;const _0x3fe847=this[_0x53f304(0x1da)]['getConfig'](gs),_0x2b44b7=this[_0x53f304(0x1da)][_0x53f304(0x35c)](K),_0x33a416=(_0x395753=(_0x1e42b6=_0x2b44b7==null?void 0x0:_0x2b44b7[_0x53f304(0x95)])!=null?_0x1e42b6:_0x3fe847)!=null?_0x395753:Ss,_0x4a6017=await this[_0x53f304(0xaf)][_0x53f304(0x1e7)](_0x33a416);return this['_candidateSocket']=_0x4a6017,_0x4a6017;}async[_0x132e4f(0x364)](){var _0x217226=_0x132e4f,_0x5f1895,_0x6758cf;try{const _0x5c45ac=(_0x6758cf=(_0x5f1895=this[_0x217226(0x25f)])!=null?_0x5f1895:this[_0x217226(0x158)])!=null?_0x6758cf:await this[_0x217226(0x32f)]();if(_0x5c45ac){const _0x475b89=_0x5c45ac[_0x217226(0x361)];_0x5c45ac[_0x217226(0x361)]=_0x18cc2d=>(this[_0x217226(0x2aa)](),_0x475b89[_0x217226(0x15e)](_0x5c45ac,[_0x18cc2d])),_0x5c45ac[_0x217226(0x20a)][_0x217226(0x1e1)](_0x32f95c=>this[_0x217226(0x20b)](_0x5c45ac,_0x32f95c)),_0x5c45ac[_0x217226(0x35d)][_0x217226(0x33f)](_0x412aad(0x1))[_0x217226(0x1e1)](_0xb7cfd3=>this[_0x217226(0x91)][_0x217226(0x13c)]('[CollaborationSessionService]:\x20socket\x20error',_0xb7cfd3)),_0x5c45ac[_0x217226(0x1a7)][_0x217226(0x33f)](_0x412aad(0x1))[_0x217226(0x1e1)](()=>{var _0x5a78fd=_0x217226;this[_0x5a78fd(0x1d3)](_0x5c45ac);}),_0x5c45ac['close$'][_0x217226(0x33f)](_0x412aad(0x1))['subscribe'](_0xad7e3f=>{var _0xcde63e=_0x217226;this['_logService']['debug'](_0xcde63e(0x169),_0xcde63e(0x1e8),_0xad7e3f),this['_onConnectionFailed']();});}}catch(_0x560c4a){this[_0x217226(0x91)][_0x217226(0x13c)](_0x560c4a),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x4e3aaf){var _0x1f3ff1=_0x132e4f;this[_0x1f3ff1(0x91)][_0x1f3ff1(0x1fb)](_0x1f3ff1(0x169),'socket\x20open.'),_0x4e3aaf[_0x1f3ff1(0x361)]({'cmd':F[_0x1f3ff1(0x296)]}),this[_0x1f3ff1(0x2aa)]();}[_0x132e4f(0x22f)](){var _0x51f0d7=_0x132e4f;this[_0x51f0d7(0x1d0)]=!0x1,this[_0x51f0d7(0x158)]=null,this[_0x51f0d7(0x2a8)]['next'](Se['OFFLINE']),this[_0x51f0d7(0x2e8)][_0x51f0d7(0xfb)](null),this[_0x51f0d7(0x1bc)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x103611=_0x132e4f,_0x22a139;this[_0x103611(0x22f)](),this[_0x103611(0x31f)]<((_0x22a139=this[_0x103611(0x1da)]['getConfig'](Cs))!=null?_0x22a139:Rs)?(this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x103611(0x12f)]}),this[_0x103611(0x128)]()):this[_0x103611(0x309)][_0x103611(0x155)]({'id':ne[_0x103611(0x329)]});}[_0x132e4f(0x128)](){var _0x17ba29=_0x132e4f,_0x528e45;const _0x374859=this[_0x17ba29(0x31f)],_0x4d3d65=this[_0x17ba29(0x1da)][_0x17ba29(0x35c)](K),_0x47c5ce=_0x374859===0x0?0x0:((_0x528e45=_0x4d3d65==null?void 0x0:_0x4d3d65[_0x17ba29(0x26e)])!=null?_0x528e45:Ts)*0x2**_0x374859;this[_0x17ba29(0x12e)]=setTimeout(()=>{var _0x1cb4ec=_0x17ba29;clearTimeout(this['_retryConnectingTimer']),this[_0x1cb4ec(0x12e)]=null,this['_tryEnsureSocket']();},_0x47c5ce),this[_0x17ba29(0x31f)]+=0x1;}['_onMessage'](_0x3855fe,_0x1fa8e8){var _0x584003=_0x132e4f;const {cmd:_0x346299}=_0x1fa8e8;_0x346299===F[_0x584003(0x296)]&&!this['_socketReady']&&(_0x3855fe[_0x584003(0x373)]=_0x1fa8e8['data'][_0x584003(0x373)],this[_0x584003(0x2e8)][_0x584003(0xfb)](_0x3855fe),this[_0x584003(0x2a8)][_0x584003(0xfb)](Se['ONLINE']),this['_socketReady']=!0x0,this[_0x584003(0x158)]=null),_0x346299===F[_0x584003(0x18f)]&&this[_0x584003(0x1bc)](),this['_rescheduleHeartbeat']();}[_0x132e4f(0x2aa)](){var _0x4154d4=_0x132e4f,_0x457a8b;this['_clearHeartbeatTimer'](),this[_0x4154d4(0x313)]=setTimeout(()=>this[_0x4154d4(0x193)](),(_0x457a8b=this[_0x4154d4(0x1da)][_0x4154d4(0x35c)](Es))!=null?_0x457a8b:Is);}[_0x132e4f(0x193)](){var _0xffede2=_0x132e4f;this['_socket']['send']({'cmd':F['HEARTBEAT']}),this[_0xffede2(0x1fe)]();}[_0x132e4f(0x1fe)](){var _0xdbf1=_0x132e4f,_0x251da2;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x251da2=this[_0xdbf1(0x1da)][_0xdbf1(0x35c)](fi))!=null?_0x251da2:vi);}[_0x132e4f(0x2cf)](){var _0x4780b7=_0x132e4f;this[_0x4780b7(0x313)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x41b7f6=_0x132e4f;this[_0x41b7f6(0x1cf)]!=null&&(clearTimeout(this[_0x41b7f6(0x1cf)]),this['_timeoutTimer']=null);}};Le=Gs([Re(0x0,_0x272268(_0x1e804f)),Re(0x1,_0x2e16e2),Re(0x2,_0x2697d9),Re(0x3,gi),Re(0x4,_0x272268(ve)),Re(0x5,_0x1e8521(Us))],Le);const J=_0x10c743(_0x132e4f(0x172));function Pr(_0x3bed94){var _0xef8fff=_0x132e4f;return _0xef8fff(0x1c0)+_0x3bed94;}var Ys=Object[_0x132e4f(0x129)],Ws=(_0x1522c8,_0x54428d,_0x42ac94,_0x4c14af)=>{var _0x4de586=_0x132e4f;for(var _0x2bdcd7=_0x4c14af>0x1?void 0x0:_0x4c14af?Ys(_0x54428d,_0x42ac94):_0x54428d,_0x541f0c=_0x1522c8[_0x4de586(0x232)]-0x1,_0x2f97da;_0x541f0c>=0x0;_0x541f0c--)(_0x2f97da=_0x1522c8[_0x541f0c])&&(_0x2bdcd7=_0x2f97da(_0x2bdcd7)||_0x2bdcd7);return _0x2bdcd7;},ut=(_0x4612e8,_0x52d7a9)=>(_0x147f2f,_0x292ffb)=>_0x52d7a9(_0x147f2f,_0x292ffb,_0x4612e8);function Ks(_0x35f86){var _0xbc2237=_0x132e4f;const {unitID:_0x1dff8c,mutations:_0x19673e}=_0x35f86;return{'unitId':_0x1dff8c,'subUnitId':_0x19673e[0x0][_0xbc2237(0x25b)][_0xbc2237(0x2e6)]};}let it=class{constructor(_0x1e839f,_0x512236,_0x1e7291){var _0x18a15b=_0x132e4f;this[_0x18a15b(0x1db)]=_0x1e839f,this[_0x18a15b(0x16c)]=_0x512236,this[_0x18a15b(0x287)]=_0x1e7291;}[_0x132e4f(0x18e)](_0x33582b){var _0x454d7a=_0x132e4f,_0x432efc,_0x1d05c9,_0x3e15df,_0x50e351;const _0x498e19=this[_0x454d7a(0x1db)][_0x454d7a(0x303)](_0x57ccd4),{unitId:_0x5c2f28,subUnitId:_0xf5fbab}=Ks(_0x33582b),_0x20408b=_0x498e19==null?void 0x0:_0x498e19['getWorkbookSelections'](_0x5c2f28)['getCurrentSelections'](),_0x315cad=(_0x1d05c9=(_0x432efc=this[_0x454d7a(0x287)][_0x454d7a(0x30b)](_0x5c2f28))==null?void 0x0:_0x432efc[_0x454d7a(0x10d)]())==null?void 0x0:_0x1d05c9[_0x454d7a(0x278)]();if(_0x20408b[_0x454d7a(0x232)]===0x0||!_0x5c2f28||!_0xf5fbab)return;const _0x4e02b2=[{'id':_0x3513f8['id'],'params':{'unitId':_0x5c2f28,'subUnitId':_0x315cad,'selections':_0x2284c8[_0x454d7a(0x2bc)](_0x20408b)}}],_0x1f6a3d=this[_0x454d7a(0x16c)][_0x454d7a(0xcd)](_0x33582b,_0x4e02b2);if(!_0x473097(_0x1f6a3d))throw _0x1f6a3d[_0x454d7a(0x13c)];const _0x53c327=(_0x50e351=(_0x3e15df=_0x1f6a3d[_0x454d7a(0x2de)][0x0])==null?void 0x0:_0x3e15df[_0x454d7a(0x25b)])==null?void 0x0:_0x50e351['selections'];if(Array[_0x454d7a(0x2ad)](_0x53c327)&&_0x53c327[_0x454d7a(0x232)]){if(_0x53c327[_0x454d7a(0x232)]===_0x4e02b2[0x0][_0x454d7a(0x25b)][_0x454d7a(0x248)]['length']&&_0x53c327[_0x454d7a(0xac)]((_0x3599f4,_0x5c8c9c)=>_0x535916[_0x454d7a(0x2b1)](_0x3599f4[_0x454d7a(0x241)],_0x4e02b2[0x0][_0x454d7a(0x25b)][_0x454d7a(0x248)][_0x5c8c9c][_0x454d7a(0x241)])))return;this['_injector'][_0x454d7a(0x303)](_0x1007ad)[_0x454d7a(0x32a)](_0x3513f8['id'],{'unitId':_0x5c2f28,'subUnitId':_0x315cad,'selections':_0x53c327});}}};it=Ws([ut(0x0,_0x272268(_0x1e804f)),ut(0x1,_0x1c967c),ut(0x2,_0x3078ab)],it);const ht=_0x10c743('univer-pro.collaboration-client.single-active-unit-service');var Ei=(_0x5ac5b9=>(_0x5ac5b9[_0x5ac5b9[_0x132e4f(0x173)]=0x0]=_0x132e4f(0x173),_0x5ac5b9[_0x5ac5b9[_0x132e4f(0x223)]=0x1]=_0x132e4f(0x223),_0x5ac5b9))(Ei||{});const qs=new Set([_0x5786ec['id']]);function Yt(_0x539be4,_0x14718e,_0x2f65d3,_0x3b4c46,_0x366ed2){var _0x3f4439=_0x132e4f,_0x23d8b2,_0xf6a47c,_0x3f3e41,_0x253f04;const _0x3218ad=[];for(const _0xeeb707 of _0x539be4)if(qs[_0x3f4439(0x2bb)](_0xeeb707['id'])){if(_0x3218ad[_0x3f4439(0x232)]>0x0)break;_0x3218ad[_0x3f4439(0x2ca)](_0xeeb707);break;}else _0x3218ad[_0x3f4439(0x2ca)](_0xeeb707);const _0xbc5a61=(_0xf6a47c=(_0x23d8b2=_0x366ed2[_0x3f4439(0x36d)]())==null?void 0x0:_0x23d8b2[_0x3f4439(0xeb)])!=null?_0xf6a47c:_0x3f4439(0x24b),_0x487a57=(_0x253f04=(_0x3f3e41=_0x366ed2[_0x3f4439(0x36d)]())==null?void 0x0:_0x3f3e41[_0x3f4439(0x373)])!=null?_0x253f04:_0x3f4439(0x24b);return{'changeset':{'unitID':_0x14718e,'type':_0x2e88d0(_0x2f65d3[_0x3f4439(0x17f)](_0x14718e)),'baseRev':_0x3b4c46[_0x3f4439(0x2fc)](_0x14718e),'revision':0x0,'userID':_0xbc5a61,'memberID':_0x487a57,'mutations':_0x3218ad},'pendingMutations':_0x539be4['slice'](_0x3218ad[_0x3f4439(0x232)])};}function zs(_0x3d5cdf,_0x577403,_0x56c013,_0x3d8f91,_0x341a04){var _0x2f16b6=_0x132e4f,_0x4eba1d,_0x4f57ac,_0x570e09,_0x56e357;const _0x230c1a=[_0x3d5cdf['reduce']((_0x5d93f3,_0x5a8d9c)=>{var _0x1e6b8c=_0xa8aa,_0x43322f;const {id:_0x5127fd}=_0x5d93f3,{id:_0x29bd36,type:_0x32677d}=_0x5a8d9c,_0x37b3d2=(_0x43322f=_0x5d93f3[_0x1e6b8c(0x25b)])!=null?_0x43322f:{'actions':null},_0x5035ae=_0x5a8d9c['params'];if(_0x5127fd&&_0x5127fd!==_0x29bd36)throw new Error(_0x1e6b8c(0x26d)+_0x5127fd+'\x20-\x20'+_0x29bd36+'.');return{..._0x5d93f3,'id':_0x29bd36,'type':_0x32677d,'params':{'unitId':_0x5035ae['unitId'],'textRanges':_0x5035ae[_0x1e6b8c(0x2a9)],'actions':_0x5a258f[_0x1e6b8c(0x344)](_0x37b3d2['actions'],_0x5035ae['actions'])}};},{})],_0xd3ecaf=(_0x4f57ac=(_0x4eba1d=_0x341a04[_0x2f16b6(0x36d)]())==null?void 0x0:_0x4eba1d[_0x2f16b6(0xeb)])!=null?_0x4f57ac:_0x2f16b6(0x24b),_0x1b6d63=(_0x56e357=(_0x570e09=_0x341a04[_0x2f16b6(0x36d)]())==null?void 0x0:_0x570e09['memberID'])!=null?_0x56e357:'unknown';return{'changeset':{'unitID':_0x577403,'type':_0x2e88d0(_0x56c013['getUnitType'](_0x577403)),'baseRev':_0x3d8f91[_0x2f16b6(0x2fc)](_0x577403),'revision':0x0,'userID':_0xd3ecaf,'memberID':_0x1b6d63,'mutations':_0x230c1a},'pendingMutations':[]};}function Ii(_0x2eef77,_0x392f9e){var _0x484863=_0x132e4f;const _0x3e2621=new _0x189977(0x1);return setTimeout(()=>_0x3e2621['next'](_0x392f9e),_0x2eef77),_0x3e2621[_0x484863(0x314)]()[_0x484863(0x33f)](_0x3f098a(0x1));}const Js={'id':_0x53099f['id'],'type':_0x3ae55e['MUTATION'],'params':{}};var Xs=Object[_0x132e4f(0x129)],Ie=(_0x40a8a4,_0xaa61fe,_0x513a8b,_0x27384e)=>{var _0x1aa074=_0x132e4f;for(var _0x496a80=_0x27384e>0x1?void 0x0:_0x27384e?Xs(_0xaa61fe,_0x513a8b):_0xaa61fe,_0x1c7a7e=_0x40a8a4[_0x1aa074(0x232)]-0x1,_0x471584;_0x1c7a7e>=0x0;_0x1c7a7e--)(_0x471584=_0x40a8a4[_0x1c7a7e])&&(_0x496a80=_0x471584(_0x496a80)||_0x496a80);return _0x496a80;},P=(_0x3bbe02,_0x5ca0d9)=>(_0x24c122,_0x37c7b3)=>_0x5ca0d9(_0x24c122,_0x37c7b3,_0x3bbe02),Ti=(_0x5223ba=>(_0x5223ba[_0x132e4f(0x1cd)]=_0x132e4f(0x334),_0x5223ba[_0x132e4f(0xae)]=_0x132e4f(0x239),_0x5223ba['PENDING']=_0x132e4f(0x246),_0x5223ba['AWAITING']=_0x132e4f(0x1ee),_0x5223ba[_0x132e4f(0x36f)]='awaiting_with_pending',_0x5223ba[_0x132e4f(0x9d)]=_0x132e4f(0x19d),_0x5223ba[_0x132e4f(0xe6)]=_0x132e4f(0x378),_0x5223ba[_0x132e4f(0x2c2)]=_0x132e4f(0x90),_0x5223ba))(Ti||{});const Ci=0xea60;class Te{constructor(_0x2e7637,_0x5a503b,_0x15fb86,_0x2ec528,_0x45d57f,_0x43b5e9,_0x49fcd9,_0x46a165,_0x39f6e6){var _0x3f67c0=_0x132e4f;N(this,_0x3f67c0(0x2ea),null),N(this,'_pendingMutations',[]),(this['unitID']=_0x2e7637,this[_0x3f67c0(0x247)]=_0x5a503b,this[_0x3f67c0(0x76)]=_0x45d57f,this[_0x3f67c0(0xe2)]=_0x43b5e9,this[_0x3f67c0(0x352)]=_0x49fcd9,this[_0x3f67c0(0x237)]=_0x46a165,this[_0x3f67c0(0x7e)]=_0x39f6e6,this[_0x3f67c0(0x2ea)]=_0x15fb86,this[_0x3f67c0(0x26f)]=_0x2ec528);}[_0x132e4f(0x164)](_0x2eaf78){var _0x4f5a69=_0x132e4f;const _0x46dd1e=this['_revisionService'][_0x4f5a69(0x2fc)](this[_0x4f5a69(0x341)]);return _0x2eaf78['revision']>_0x46dd1e+0x1?(this[_0x4f5a69(0x76)]['onMissingChangesets']({'from':_0x46dd1e,'to':_0x2eaf78['revision']-0x1}),!0x0):!0x1;}[_0x132e4f(0x21a)](_0x134435){var _0x990213=_0x132e4f;this[_0x990213(0x352)][_0x990213(0x2e5)](this[_0x990213(0x341)],_0x134435);}[_0x132e4f(0x21b)](_0x5d1c2f){var _0x2004d4=_0x132e4f,_0x3d36b4,_0x418fbf;(_0x418fbf=(_0x3d36b4=this[_0x2004d4(0x76)])[_0x2004d4(0x13d)])==null||_0x418fbf['call'](_0x3d36b4,_0x5d1c2f);}[_0x132e4f(0x228)](_0x20f51e){var _0x38ce99=_0x132e4f,_0xda2447,_0x2f2070;return(_0x2f2070=(_0xda2447=this[_0x38ce99(0x76)])[_0x38ce99(0x2e2)])==null?void 0x0:_0x2f2070[_0x38ce99(0x203)](_0xda2447,_0x20f51e);}[_0x132e4f(0x2b0)](_0xb911ec){var _0x5ce386=_0x132e4f,_0x1a4940,_0x240da6;return(_0x240da6=(_0x1a4940=this[_0x5ce386(0x76)])['onTransformState'])==null?void 0x0:_0x240da6[_0x5ce386(0x203)](_0x1a4940,_0xb911ec);}[_0x132e4f(0x310)](_0x2ba502){var _0x90bde3=_0x132e4f,_0x50e133,_0x3f6b8c,_0x2adc50;return(_0x2adc50=(_0x3f6b8c=(_0x50e133=this['_handler'])[_0x90bde3(0xc9)])==null?void 0x0:_0x3f6b8c['call'](_0x50e133,_0x2ba502))!=null?_0x2adc50:_0x2ba502;}[_0x132e4f(0x28c)](_0x4b78f9){var _0x6932aa=_0x132e4f,_0x477d4c,_0x1874a4,_0x1d6e9c;return(_0x1d6e9c=(_0x1874a4=(_0x477d4c=this['_handler'])[_0x6932aa(0x212)])==null?void 0x0:_0x1874a4[_0x6932aa(0x203)](_0x477d4c,_0x4b78f9))!=null?_0x1d6e9c:_0x4b78f9;}[_0x132e4f(0x30d)](_0x5b8f75){var _0x12714a=_0x132e4f,_0x29714a,_0x5a304d;if(this[_0x12714a(0x247)]===Z[_0x12714a(0x214)]){const {unitID:_0x26c2df,mutations:_0x588b05,memberID:_0x3c3474}=_0x5b8f75,_0x488f79=_0x588b05[0x0][_0x12714a(0x25b)][_0x12714a(0x2a9)];Array['isArray'](_0x488f79)&&_0x488f79['length']>0x0&&((_0x5a304d=(_0x29714a=this[_0x12714a(0x76)])['onSyncEditingCollabCursor'])==null||_0x5a304d[_0x12714a(0x203)](_0x29714a,{'unitID':_0x26c2df,'memberID':_0x3c3474,'textRanges':_0x488f79}));}}['_updateLocalCache'](){var _0x4b521c=_0x132e4f,_0x3111e2;(_0x3111e2=this['_localCacheService'])==null||_0x3111e2[_0x4b521c(0x190)](this['unitID'],this[_0x4b521c(0x247)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x132e4f(0x103)](){var _0x3588bd=_0x132e4f;return this[_0x3588bd(0x237)]['getCurrentRevOfUnit'](this[_0x3588bd(0x341)]);}[_0x132e4f(0x26a)](){var _0x3d4f3f=_0x132e4f;this[_0x3d4f3f(0x237)][_0x3d4f3f(0x108)](this[_0x3d4f3f(0x341)]);}[_0x132e4f(0x272)](_0x3d42e3){var _0x2b34ec=_0x132e4f,_0x54393a;let _0x295af3=this[_0x2b34ec(0x310)](_0x3d42e3);_0x295af3=this[_0x2b34ec(0x28c)](_0x295af3);const _0x2bb0df=_0x4cc963(_0x295af3[_0x2b34ec(0x360)],this[_0x2b34ec(0xe2)],{'fromCollab':!0x0});if(!_0x2bb0df['result'])throw _0x2bb0df[_0x2b34ec(0x13c)]instanceof Error?_0x2bb0df[_0x2b34ec(0x13c)]:new Error((_0x54393a=_0x2bb0df[_0x2b34ec(0x13c)])!=null?_0x54393a:_0x2b34ec(0xb0));this[_0x2b34ec(0x228)](_0x295af3),this[_0x2b34ec(0x2b0)](_0x295af3),this[_0x2b34ec(0x21a)](_0x3d42e3),this[_0x2b34ec(0x21b)](_0x295af3),this[_0x2b34ec(0x30d)](_0x295af3),this['_incrementRevisionNumber']();}}let ye=class extends Te{constructor(_0x425da8,_0x14625e,_0x1acd1a,_0x766ca6,_0x2f9538,_0xfa1956,_0x115d12,_0xbe39df,_0x2113b7,_0x28cd23){var _0x25006c=_0x132e4f;super(_0x425da8,_0x14625e,null,[],_0x1acd1a,_0x115d12,_0xfa1956,_0x766ca6,_0x28cd23),N(this,'status','synced'),(this[_0x25006c(0x1db)]=_0x2f9538,this[_0x25006c(0x91)]=_0xbe39df,this[_0x25006c(0x16c)]=_0x2113b7,this[_0x25006c(0x1d1)]=_0x28cd23);}[_0x132e4f(0x2e3)](_0x3aae85){var _0x1e6111=_0x132e4f;const _0x12d3af=this['_injector'][_0x1e6111(0x15c)](re,this[_0x1e6111(0x341)],this[_0x1e6111(0x247)],[_0x3aae85],this[_0x1e6111(0x76)]);return _0x12d3af[_0x1e6111(0x195)](),_0x12d3af[_0x1e6111(0x199)](),_0x12d3af;}[_0x132e4f(0xbc)](_0x3e61f8){var _0x6e70dd=_0x132e4f;if(this[_0x6e70dd(0x164)](_0x3e61f8))return this['_injector'][_0x6e70dd(0x15c)](Q,this[_0x6e70dd(0x341)],this[_0x6e70dd(0x247)],null,[],null,[_0x3e61f8],this[_0x6e70dd(0x76)]);try{const _0x275ade=this['_transformService'][_0x6e70dd(0xcd)](_0x3e61f8,[Js]);if(_0x473097(_0x275ade)){const {c1Prime:_0x464228}=_0x275ade;return this[_0x6e70dd(0x272)](_0x464228),this;}throw _0x275ade[_0x6e70dd(0x13c)];}catch(_0x483185){return this[_0x6e70dd(0x91)][_0x6e70dd(0x13c)](_0x483185),this[_0x6e70dd(0x37c)](!0x1);}}[_0x132e4f(0x37c)](_0x4404d2){var _0x3f75ba=_0x132e4f;return this[_0x3f75ba(0x1db)][_0x3f75ba(0x15c)](le,this[_0x3f75ba(0x341)],this[_0x3f75ba(0x247)],null,[],this[_0x3f75ba(0x76)],_0x4404d2);}[_0x132e4f(0x25c)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x132e4f(0x22d)](){return this;}[_0x132e4f(0x2d4)](){var _0x1454d7=_0x132e4f;return this['_injector'][_0x1454d7(0x15c)](ue,this[_0x1454d7(0x341)],this['type'],null,[],this['_handler']);}[_0x132e4f(0x170)](){return this;}[_0x132e4f(0x2ba)](){var _0x48d645=_0x132e4f;throw new Error(_0x48d645(0xb7));}[_0x132e4f(0x34a)](){var _0x5c34e9=_0x132e4f;const _0x3a6528=this[_0x5c34e9(0x237)][_0x5c34e9(0x2fc)](this['unitID']);return this[_0x5c34e9(0x76)][_0x5c34e9(0x2ce)]({'from':_0x3a6528,'to':0x0}),this[_0x5c34e9(0x1db)][_0x5c34e9(0x15c)](Q,this['unitID'],this['type'],null,[],null,[],this[_0x5c34e9(0x76)]);}};ye=Ie([P(0x3,_0x272268(_0x1912e9)),P(0x4,_0x272268(_0x1e804f)),P(0x5,_0xea8a16),P(0x6,_0x1007ad),P(0x7,_0x2e16e2),P(0x8,_0x1c967c),P(0x9,_0x1e8521(J))],ye);let re=class extends Te{constructor(_0x1bf208,_0x4c372e,_0x5cd350,_0x54a0b4,_0xe86f52,_0x350a63,_0x355c5c,_0x53ccab,_0x57438c,_0x514017,_0x1bfe21,_0x1b99a9,_0x262d63,_0x2c1f74){var _0x5d1c06=_0x132e4f;super(_0x1bf208,_0x4c372e,null,_0x5cd350,_0x54a0b4,_0x57438c,_0x262d63,_0x350a63,_0x2c1f74),N(this,_0x5d1c06(0x1ad),_0x5d1c06(0x246)),N(this,_0x5d1c06(0x2f9),null),N(this,_0x5d1c06(0x1d2),null),(this[_0x5d1c06(0x1db)]=_0xe86f52,this[_0x5d1c06(0x231)]=_0x355c5c,this['_logService']=_0x53ccab,this[_0x5d1c06(0x1da)]=_0x514017,this[_0x5d1c06(0x16c)]=_0x1bfe21,this[_0x5d1c06(0xdf)]=_0x1b99a9);}[_0x132e4f(0x2e3)](_0x125242){var _0x15aea7=_0x132e4f;return this[_0x15aea7(0x26f)][_0x15aea7(0x2ca)](_0x125242),this[_0x15aea7(0x199)](),this;}[_0x132e4f(0xbc)](_0x44c40c){var _0x4d0fd9=_0x132e4f;if(this[_0x4d0fd9(0x164)](_0x44c40c))return this[_0x4d0fd9(0x2ab)](),this[_0x4d0fd9(0x1db)][_0x4d0fd9(0x15c)](Q,this[_0x4d0fd9(0x341)],this[_0x4d0fd9(0x247)],null,this[_0x4d0fd9(0x26f)],null,[_0x44c40c],this[_0x4d0fd9(0x76)]);try{const _0x1b6f53=this['_transformService'][_0x4d0fd9(0xcd)](_0x44c40c,this[_0x4d0fd9(0x26f)]);if(_0x473097(_0x1b6f53)){const {c1Prime:_0x50330a,m2Prime:_0xb64e1e}=_0x1b6f53;this[_0x4d0fd9(0x272)](_0x50330a);const _0x14fe3e=this[_0x4d0fd9(0x1db)]['createInstance'](re,this[_0x4d0fd9(0x341)],this[_0x4d0fd9(0x247)],_0xb64e1e,this[_0x4d0fd9(0x76)]);this[_0x4d0fd9(0x2ab)]();const _0x37a845=new Date()[_0x4d0fd9(0x1ca)](),_0x355ee6=this[_0x4d0fd9(0x2f9)]?Math[_0x4d0fd9(0x26b)](this[_0x4d0fd9(0x2f9)]-_0x37a845,0x0):this[_0x4d0fd9(0xfa)]();return _0x14fe3e[_0x4d0fd9(0x195)](_0x355ee6),_0x14fe3e;}throw _0x1b6f53[_0x4d0fd9(0x13c)];}catch(_0x424213){return this[_0x4d0fd9(0x91)][_0x4d0fd9(0x13c)](_0x424213),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x27c4cb=_0x132e4f;throw new Error(_0x27c4cb(0x9e));}[_0x132e4f(0xd3)](){var _0x5f5207=_0x132e4f;throw new Error(_0x5f5207(0x177));}[_0x132e4f(0x22d)](){return this;}['toggleOffline'](){var _0x360a3f=_0x132e4f;return this[_0x360a3f(0x2ab)](),this[_0x360a3f(0x1db)][_0x360a3f(0x15c)](ue,this[_0x360a3f(0x341)],this[_0x360a3f(0x247)],null,this[_0x360a3f(0x26f)],this[_0x360a3f(0x76)]);}[_0x132e4f(0x170)](){return this;}[_0x132e4f(0x195)](_0xfd24bb){var _0x48875c=_0x132e4f;const _0x599db1=_0xfd24bb!=null?_0xfd24bb:this['_getSendChangesetTimeout']();this[_0x48875c(0x2f9)]=new Date()[_0x48875c(0x1ca)]()+_0x599db1,this['_sendingTimer']=setTimeout(()=>{var _0x16cffa=_0x48875c;this[_0x16cffa(0x2ab)]();let _0x133e46=null;switch(this[_0x16cffa(0x247)]){case Z['UNIVER_SHEET']:{_0x133e46=Yt(this[_0x16cffa(0x26f)],this[_0x16cffa(0x341)],this[_0x16cffa(0xdf)],this['_revisionService'],this[_0x16cffa(0x231)]);break;}case Z[_0x16cffa(0x214)]:{this[_0x16cffa(0x26f)][_0x16cffa(0xac)](_0x11a159=>_0x11a159['id']===_0x1bcdda['id'])?_0x133e46=zs(this[_0x16cffa(0x26f)],this[_0x16cffa(0x341)],this[_0x16cffa(0xdf)],this[_0x16cffa(0x237)],this['_memberService']):_0x133e46=Yt(this[_0x16cffa(0x26f)],this['unitID'],this['_univerInstanceService'],this[_0x16cffa(0x237)],this[_0x16cffa(0x231)]);break;}default:throw new Error(_0x16cffa(0x157)+this[_0x16cffa(0x247)]+_0x16cffa(0x2a0));}const {changeset:_0x50a8b7,pendingMutations:_0xe62c23}=_0x133e46;this[_0x16cffa(0x76)][_0x16cffa(0x2df)](_0x50a8b7);const _0x157e58=_0xe62c23[_0x16cffa(0x232)]?this[_0x16cffa(0x1db)][_0x16cffa(0x15c)](ae,this[_0x16cffa(0x341)],this['type'],_0x50a8b7,_0xe62c23,this['_handler'],void 0x0):this['_injector']['createInstance'](_e,this[_0x16cffa(0x341)],this[_0x16cffa(0x247)],_0x50a8b7,this[_0x16cffa(0x76)]);_0x157e58[_0x16cffa(0x199)](),this[_0x16cffa(0x76)]['onStateChange'](this,_0x157e58);},_0x599db1);}[_0x132e4f(0xfa)](){var _0x46c348=_0x132e4f,_0x4d2d5b;const _0x5ed5ff=this[_0x46c348(0x1da)][_0x46c348(0x35c)](K);return(_0x4d2d5b=_0x5ed5ff==null?void 0x0:_0x5ed5ff['sendChangesetTimeout'])!=null?_0x4d2d5b:ms;}['resend'](){var _0xf997dd=_0x132e4f;throw new Error(_0xf997dd(0x23a));}[_0x132e4f(0x2ab)](){var _0x5b896a=_0x132e4f;this[_0x5b896a(0x1d2)]!=null&&(clearTimeout(this[_0x5b896a(0x1d2)]),this[_0x5b896a(0x1d2)]=null);}[_0x132e4f(0x37c)](_0xcb4dff){var _0x45a9ce=_0x132e4f;return this[_0x45a9ce(0x2ab)](),this[_0x45a9ce(0x1db)][_0x45a9ce(0x15c)](le,this[_0x45a9ce(0x341)],this['type'],null,this[_0x45a9ce(0x26f)],this['_handler'],_0xcb4dff);}};re=Ie([P(0x4,_0x272268(_0x1e804f)),P(0x5,_0x272268(_0x1912e9)),P(0x6,_0x272268(Pe)),P(0x7,_0x2e16e2),P(0x8,_0x1007ad),P(0x9,_0x2697d9),P(0xa,_0x1c967c),P(0xb,_0x3078ab),P(0xc,_0xea8a16),P(0xd,_0x1e8521(J))],re);function _0x4cf3(){var _0x4b1944=['registerHTTPInterceptor','_revisionService','setWaitCount','synced','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getCollabEntity$','addHandlerCallback','PasswordBasedCipher','USER_NOT_INVITED_CODE','INVITE_CODE_HAS_BEEN_UES','_getDownloadEndpointURL','range','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','reset','Latin1','pending','type','selections','failed\x20to\x20apply\x20missed\x20changesets!','1158gXsaQN','unknown','CHANGESET_REJ','liveShareOperation','_lockTransition','YUUMI_RATE_OVER_LIMIT','submit\x20changeset\x20error!','_iv','clone','unpad','_state$','[FetchMissState]','_updateStatus','YUUMI_SUBSCRIPTION_NOT_FOUND','_hasher','DEFAULT_FILE_NAME','/universer-api/uniscript','params','onRemoteAck','reduce','joinRsp','_socket','[OfflineState]:\x20received\x20rejection.','_remoteChangesetQueue','capture','PERSON','getSnapshotAPIPath','readyForCollab','createEncryptor','SNAPSHOT_HAS_BEEN_REMOVED','_toggleOffline','default','_incrementRevisionNumber','max','_clearLocalCache','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','retryConnectingInterval','_pendingMutations','LOCAL_CACHE_INTERVAL','NEW_CHANGESETS','_executeRemoteChangeset','_xformMode','headers','getAllMembers','disposeWithMe','_doReset','getSheetId','MOBILE_HAS_BEEN_BOUND','floor','_isPermissionRej','append','awaiting_with_pending','getInterceptPoints','TOO_MANY_REQUESTS','fetching\x20missing\x20changesets\x20from\x20','session.room-cnt-exceeds','unitId\x20is\x20not\x20found','_disableEditing','updatePermissionObjEvent','SUBMIT_CHANGESET_TIMEOUT','_nRounds','_instanceService','LIVESHARE_NEW_HOST','_nDataBytes','JOIN_ROOM_NOT_EXISTS','HttpExport','_transformRemoteChangesetByStateCache','HMAC','UNDEFINED','_startCollaboration','MUTATION','UNKNOWN_CMD','ENSURE_SNAPSHOT_EXECUTION','session.join-failed','/unit/','ceil','HELLO','getTypeOfUnitAdded$','responseType','AUTHZ_URL_KEY','LEAVE','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_userManagerService','_transformStack','getValue','collaboration_new_changeset','\x20in\x20_schedule.','image/jpeg','algo','/universer-api/user/session-ticket','uniscriptRunEvent','APPLY_REJECT','stringify','map','_status$','textRanges','_rescheduleHeartbeat','_clearScheduledTask','YUUMI_ASYNCIO_CANCELLED','isArray','_waitCount','baseRev','_transformStateCache','equals','dispose','format','/block/','_handlerCallback','_prevBlock','COMPRESS_MUTATION_SEND','keySize','_initDependencies','resend','has','deepClone','_onUserLeave','YUUMI_NO_CUBOID_FOR_QUESTION','clear','_type','_entities','OFFLINE','toString','saveSheetBlock','WECHAT_HAS_BEEN_BOUND','EvpKDF','eventID','enableSingleActiveInstanceLock','transformStack\x20failed!','push','univer-pro.collaboration-client-socket-service','_getRedoStack','_startTelemetryCollaborationNewChangeset','onMissingChangesets','_clearHeartbeatTimer','_decreaseWaiting','defineProperty','_substituteRedoStack','key','toggleOffline','SHA1','AES','FileId','_reverseMap','sessionStatus$','&assign=','ws://127.0.0.1:8000/universer-api/comb/connect','INTERNAL_ERROR','auth.needGotoLoginAlert','m2Prime','onSendChangeset','HmacSHA1','Malformed\x20UTF-8\x20data','onTransformIME','appendMutation','requireSession','transformUndoRedo','subUnitId','_applyRemoteChangeset','_socket$','startTime','_awaitingChangeset','_roomMembers','_snapshotService','getLatestCsReqIdBySid','_transitionLocked','crypto','msCrypto','_unitID','JOIN','ivSize','OTHER_CLIENT_EDITING','_emitMembers','_scheduleCollaborationTimeoutTimer','blockSize','JOIN_ROOM_PERMISSION_DENIED','_scheduleCompleteTimestamp','uploadFileServerUrl','mode','getCurrentRevOfUnit','leaveEvent','liveShareNewHost','collaboratorID','sigBytes','_doFinalize','batchAllowed','get','[UniverCollaborationClientPlugin]','size','_getUndoStack','getTypeOfUnitDisposed$','session.room-not-exists','_collaborationUIEventService','/universer-api/stream/file/upload','getUnit','duration','_syncEditingCollabCursor','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','catch','_transformRemoteChangesetByIMECache','onSyncEditingCollabCursor','data','_sendHeartbeatTimer','asObservable','IDLE','reject','INVALID_ARGUMENT','stopTime','_init','splice','_toggleOnline','putCollaborators','encode','_onJoinRoomEvent','_retryCount','pauseCollaboration','snapshotServerUrl','override','filter','_createInitialStateImpl','NoPadding','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getResourcesRequest','__creator','SOCKET_FAILED','executeCommand','addImageSourceCache','c1Prime','YUUMI_ALL_TABLES_IS_INVALID','[CollaborationEntity]','_createSocket','_key','/role','localeService','FAIL','not_collab','LIVESHARE_TERMINATE','_updateState','OPTIONAL','4585pDPmgj','[OfflineState]:\x20received\x20acknowledgement.','isPermissionRej','UUID','/object/','lib','byteOffset','pipe','LICENSE_IMPORT_SIZE_EXCEEDED','unitID','reqId','BlockCipher','compose','UNRECOGNIZED','removeMember','YUUMI_UNABLE_LOAD_URL','randomBytes','infoRsp','fetchMiss','_resendWithTimeout','_getAPIPrefix','image/bmp','enableOfflineEditing','socketService','_resendTimeout','_mode','_undoRedoService','SerializableCipher','Failed\x20to\x20update\x20permission\x20point','close','objects','buffer','_changesetSessionId','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','abs','_initMergeInterceptor','getConfig','error$','9RslEqT','UNIVER_COLLABORATION_CLIENT_PLUGIN','mutations','send','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','hasher','_tryEnsureSocket','concat','_cipher','_append','_ENC_XFORM_MODE','_listenToNetworkCondition','waitForRoom$','slice','subject','getCurrentUser','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','AWAITING_WITH_PENDING','HmacMD5','_keyPriorReset','decrypt','memberID','shouldCloseConn','\x0aCurrent:\x20','_HTTPService','finalize','conflict','_collaborationPaused','SNAPSHOT_INVALID_SNAPSHOT','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_onConflict','state$','resolve','_handler','online$','_clearRetryConnectingTimer','_telemetryInfo','avatar','/-/object/-/batch_allowed','onload','LIVESHARE_REQUEST_HOST','_localCacheService','Could\x20not\x20dynamically\x20require\x20\x22','[OfflineState]:\x20received\x20changeset.','revision','enableAuthServer','loadUnitOfRevision','_initRequestHeader','_removeRoom','Utf8','findIndex','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','onlyLocal','_createHelper','disableLocalCache','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_submitChangeset','StreamCipher','MD5','offline','_logService','delete','[CollaborationSession]','_getUploadFileURL','collabWebSocketUrl','setCurrentUser','_imageSourceCache','pluginName','hasOwnProperty','_resendTimer','patch','members','FETCH_MISS','[PendingState]:\x20received\x20acknowledgement.','_state','refreshPermission','csAckEvent','UNAUTHENTICATED','Hasher','charAt','WordArray','HEARTBEAT_INTERVAL','5218664ETcpcJ','allowed','_onCombEvent','ciphertext','_substituteUndoStack','every','kdf','SYNCED','_socketService','[CollaborationState]:\x20apply\x20error!','_members$','_doCryptBlock','objectID','interceptor','encryptBlock','post','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getCollabEntity','[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.','unitInfo$','_getAPIPrefixPath','onRemoteChangeset','_doProcessBlock','$super','file','then','[CollaborationUndoRedoService]','_joinRoom','_initUnitPermissionChange','_onRemoteACK','url','sin','INVITE_CODE_REQUIRED','forEach','onTransformRemoteChangesetByIMECache','YUUMI_CONNECTOR_URL_NOT_FOUND','extend','Base64','transformMutationsWithChangeset','loginUrlKey','actions','OpenSSL','_commentUpdate$','_clearRedo','onRemoteRej','JOIN_ROOM_FAILED','UNIVER_SHEET','session.room-permission-denied','status$','635116PwqJuy','location','exports','function','originalMeta','session','HEARTBEAT_TIMEOUT','_univerInstanceService','repeat','fetchMissingChangesets','_commandService','generateRandomId','_unitInfo$','getDeserializedSheetBlock','CONFLICT','Base','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','reconnect','APPLY_NON_SEQUENTIAL_REVISION','userID','USERS_ENTER','collaborators','UPDATE_PERMISSION_OBJ','_networkConditionService','_undoStacks','\x20to\x20','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','byteLength','_httpService','processBlock','LICENSE_MAX_UNITS_EXCEEDED','Cipher','target','_collaborationSessionService','_getSendChangesetTimeout','next','RETRY_CONNECTING_MAX_COUNT','routeKey','awaitingChangeset','fetchThroughInterceptors','BASE64','authzUrl','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_getCurrentRevision','Error\x20on\x20receiving\x20event','cmd','_entityInit$','encodeURIComponent','incrementRevOfUnit','CLOSE_ROOM','_event$','src','formatter','getActiveSheet','/universer-api/comb','_iKey','COLLAB_SUBMIT_CHANGESET_URL','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_permissionService','updateMember','set','ALREADY_EXISTS','JOINING','sid','_commentService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','joinEvent','11371630MCvJri','_sessionStatus$','_process','_onUserJoin','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','changesets','_map','APPLY_REVISION_CONFILICT','requestParams','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','&source=','_getCtorByUniverType','_tryReconnect','getOwnPropertyDescriptor','startsWith','createDecryptor','cfg','newCsEvent','_retryConnectingTimer','SOCKET_FAILED_RETRY','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_showConflictNotification','code','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','closeSession','COMMENT_UPDATE','__Key__','_queuedRemoteChangesets','MOBILE_VERIFY_CODE_MISMATCH','compute','getImageSourceCache','JOIN_ROOM_FULL','error','onTransformSelections','Undefined','UnitEmbedded','LICENSE_EXPORT_SIZE_EXCEEDED','COMPRESS_MUTATION_APPLY','unsubscribe','CONNECTOR_DATA_TOO_LARGE','setConfig','/universer-api/snapshot','init','onStarting','_roomCreated$','create','INGEST','_onLocalMutation','dispose$','body','connection\x20error','entries','PY_RUNTIME_SCRIPT_ERROR','LOGIN_FAILED','initWorkbookPermissionChange','transformChangesets','updatePermissionPoint','emitEvent','_unlockTransition','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_candidateSocket','join','_changesetReqId','put','createInstance','_acknowledgedAwaitingChangeset','apply','UNIVER_SLIDE','_parse','1052781RHHwtF','GLOBAL_ROOMS_CNT_EXCEEDS','_sessions','_checkMissing','_localeService','ERROR_IMAGE','YUUMI_AI_RUN_FAILED','getFocusedUnit','[CollaborationSessionService]','_initCloseConn','clamp','_transformService','NOT_FOUND','?size=','/resources','toggleOnline','_telemetryService','collaboration-client.local-cache-service','NO_OTHER_CLIENTS_EDITING','_getLoginPath','salt','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','[PendingState]:\x20received\x20rejection.','_onRecvEvent','_sheetTransformSelectionsService','saveSnapshot','CHANGESET_SHOULD_RETRY','now','substr','telemetry\x20info\x20is\x20not\x20initialized','getUnitType','UNISCRIPT_RUN','href','collabSubmitChangesetUrl','_sender','saveChangeset','_clearCollaborationTimeoutTimer','editing\x20status\x20changed\x20to','Hex','_minBufferSize','_throwTelemetryCollaborationNewChangeset','copyFileMeta','image/jpg','/allowed','LIVESHARE_OPERATION','transformSelections','HEARTBEAT','updateOfflineData','PERMISSION_DENIED','list','_sendHeartbeat','EMAIL_VERIFY_CODE_MISMATCH','_schedule','getUnitStatus$','596115jfyBKt','_data','_updateLocalCache','add','onCommandExecuted','LIVESHARE_FETCH_OPERATIONS','fetch_missing','words','EMAIL_HAS_BEEN_BOUND','CHANGESET_ACK','LICENSE_DISTRO_REJECTED','/universer-api/authz','INVALID_INVITE_CODE','change$','RECV','random','open$','save\x20fail\x20reason\x20is\x20','string','updateSnapshot','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_socketMessageSubscription','status','csRejEvent','unitId','_members','ERROR_IMAGE_TYPE','_createHandler','encrypt','YUUMI_URL_COL_OUT_OF_RANGE','decryptBlock','_collaborationTimeoutTimer','People','onTransformState','getMemberID','[DataLoaderService]','PERMISSION_REJ','_clearTimeoutTimer','PSEUDO_FETCH_MISSING_RESULT','_fetchMissChangesets','readAsDataURL','unit-cache-','getUnitOnRev','prototype','rev','Encryptor','/collaborator','SUBMIT_CHANGESET','focused$','getUnitId','entityInit$','getTime','_registerDependencies','confirm','NOT_COLLAB','USERS_LEAVE','_timeoutTimer','_socketReady','localCacheService','_sendingTimer','_onConnectionOpen','state','UNIVER_UNKNOWN','_createInitialState','getSheetBlock','_config','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_configService','_injector','_change$','_onRemoteChangeset','7DPhvQh','CHANGESET_REVISION_CONFILICT','APPLY_DUPLICATED','subscribe','session.room-full','event$','_stopTelemetryCollaborationNewChangeset','UnitSnapshot','MSG_FOR_ERROR','createSocket','socket\x20close','commentUpdate$','update','/rev/','_compressMutationService','SHOULD_CLOSE_CONN','awaiting','charCodeAt','_eventService','Decryptor','_snapshotServerService','_getSignURL','LOGIN_URL_KEY','loadOfflineData','mixIn','UserProfileImg','INVITE_CODE_ALREADY_BOUND','POST','updateCursorEvent','debug','_oKey','_hash','_waitForHeartbeatResponse','sheets','fromCollab','_singleActiveUnitService','padding','call','parse','method','execute','onCommentUpdate','_replayCachedMutations','_shouldReportTelemetry','message$','_onMessage','_doCreateSocket','SEND_CHANGESET_TIMEOUT','enc','getMember','collaMsg','_replaceFileID','onTransformRemoteChangesetByStateCache','updateCollaborator','UNIVER_DOC','objectType','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_createHmacHelper','ONLINE','values','_transformUndoredo','_transformSelections','/universer-api/snapshot/','UPDATE_CURSOR','close$','createCollaborator','/universer-api/file/{fileID}/sign-url','_collabSessionService','loadDoc','OTHER_CLIENTS_EDITING','pad','UNIVER_PROJECT','complete','_onRemoteRejected','_transformIMECache','1420368pTwVDn','roomInfos','name','_exhaustRemoteChangesetQueue','onRemoteRetry','_onRemoteRetry','_onOffline','UNKNOWN_CODE','_memberService','length','_invKeySchedule','getRoom','image/gif'];_0x4cf3=function(){return _0x4b1944;};return _0x4cf3();}let _e=class extends Te{constructor(_0x950bc8,_0xc29886,_0x22701e,_0x3fe409,_0x531cef,_0x4c349e,_0x5175bf,_0x268689,_0xba57a0,_0x3090a2,_0x28b76d){var _0x545c48=_0x132e4f;super(_0x950bc8,_0xc29886,_0x22701e,[],_0x3fe409,_0x5175bf,_0x3090a2,_0x4c349e,_0x28b76d),N(this,_0x545c48(0x1ad),_0x545c48(0x1ee)),N(this,_0x545c48(0x350),0x0),N(this,_0x545c48(0x9a)),N(this,_0x545c48(0x183)),(this[_0x545c48(0x1db)]=_0x531cef,this[_0x545c48(0x91)]=_0x268689,this[_0x545c48(0x16c)]=_0xba57a0);}[_0x132e4f(0x2e3)](_0x1dff5f){var _0x30e863=_0x132e4f;this[_0x30e863(0x2ab)]();const _0x568a41=this['_injector'][_0x30e863(0x15c)](ae,this[_0x30e863(0x341)],this[_0x30e863(0x247)],this[_0x30e863(0x2ea)],[_0x1dff5f],this[_0x30e863(0x76)],this[_0x30e863(0x9a)]);return _0x568a41[_0x30e863(0x199)](),_0x568a41;}[_0x132e4f(0xbc)](_0x7d7c7b){var _0x37a87b=_0x132e4f;if(this[_0x37a87b(0x164)](_0x7d7c7b))return this['_clearScheduledTask'](),this[_0x37a87b(0x1db)][_0x37a87b(0x15c)](Q,this[_0x37a87b(0x341)],this[_0x37a87b(0x247)],this[_0x37a87b(0x2ea)],[],null,[_0x7d7c7b],this[_0x37a87b(0x76)]);try{const _0x1e717a=this[_0x37a87b(0x16c)][_0x37a87b(0x153)]([_0x7d7c7b],[this['_awaitingChangeset']],!0x1);if(_0x4cea6c(_0x1e717a)){const {c1Prime:_0x566285,c2Prime:_0x21d68e}=_0x1e717a;this[_0x37a87b(0x272)](_0x566285[0x0]),_0x21d68e[0x0][_0x37a87b(0x2af)]=this[_0x37a87b(0x103)](),this[_0x37a87b(0x2ab)]();const _0x295389=this[_0x37a87b(0x1db)][_0x37a87b(0x15c)](_e,this[_0x37a87b(0x341)],this['type'],_0x21d68e[0x0],this['_handler']);return _0x295389[_0x37a87b(0x199)](),_0x295389;}return this['_onConflict'](!0x1);}catch(_0x59300f){return this[_0x37a87b(0x91)][_0x37a87b(0x13c)](_0x59300f),this[_0x37a87b(0x37c)](!0x1);}}[_0x132e4f(0x25c)](_0x1e17f9){var _0xf25e8b=_0x132e4f;this[_0xf25e8b(0x2ab)]();const _0x15c934=this[_0xf25e8b(0x237)][_0xf25e8b(0x2fc)](this[_0xf25e8b(0x341)]);if(_0x1e17f9[_0xf25e8b(0x81)]<_0x15c934-0x1)return this;if(this[_0xf25e8b(0x164)](_0x1e17f9))return this['_injector'][_0xf25e8b(0x15c)](Q,this['unitID'],this[_0xf25e8b(0x247)],null,[],this['_awaitingChangeset'],[],this[_0xf25e8b(0x76)]);this[_0xf25e8b(0x26a)]();const _0x1f3930=this[_0xf25e8b(0x1db)][_0xf25e8b(0x15c)](ye,this['unitID'],this[_0xf25e8b(0x247)],this[_0xf25e8b(0x76)]);return _0x1f3930[_0xf25e8b(0x199)](),_0x1f3930;}[_0x132e4f(0xd3)](_0x4f8f90){var _0x265f06=_0x132e4f;return this[_0x265f06(0x37c)](!!(_0x4f8f90!=null&&_0x4f8f90[_0x265f06(0x33a)]));}['onRemoteRetry'](_0x3f5a08){var _0x1356bb=_0x132e4f;return this[_0x1356bb(0x350)]>Ci?this[_0x1356bb(0x2d4)]():(this[_0x1356bb(0x9a)]=Ii(this['_resendTimeout'],{'timeout':this[_0x1356bb(0x350)],'reqId':_0x3f5a08[_0x1356bb(0x342)]}),this[_0x1356bb(0x183)]=this[_0x1356bb(0x9a)][_0x1356bb(0x1e1)](({reqId:_0x47dcb7,timeout:_0x17a678})=>{var _0x195855=_0x1356bb;this[_0x195855(0x34b)](_0x47dcb7,_0x17a678);}),this);}[_0x132e4f(0x2d4)](){var _0x228c3e=_0x132e4f;return this[_0x228c3e(0x2ab)](),this[_0x228c3e(0x1db)][_0x228c3e(0x15c)](ue,this['unitID'],this[_0x228c3e(0x247)],this[_0x228c3e(0x2ea)],[],this[_0x228c3e(0x76)]);}[_0x132e4f(0x170)](){return this;}[_0x132e4f(0x2ba)](){var _0xbc5b7c=_0x132e4f;this[_0xbc5b7c(0x76)][_0xbc5b7c(0x2df)](this['_awaitingChangeset']);}[_0x132e4f(0x37c)](_0xf36a7d){var _0x5ee835=_0x132e4f;return this[_0x5ee835(0x2ab)](),this[_0x5ee835(0x1db)]['createInstance'](le,this[_0x5ee835(0x341)],this[_0x5ee835(0x247)],this[_0x5ee835(0x2ea)],[],this[_0x5ee835(0x76)],_0xf36a7d);}['_resendWithTimeout'](_0x33866a,_0x3a51ba){var _0x2c23af=_0x132e4f,_0x2636b8;_0x33866a===((_0x2636b8=this['_awaitingChangeset'])==null?void 0x0:_0x2636b8[_0x2c23af(0x342)])&&(this[_0x2c23af(0x2ba)](),this['_resendTimeout']=_0x3a51ba===0x0?0x3e8:_0x3a51ba*0x2);}[_0x132e4f(0x2ab)](){var _0x104bec=_0x132e4f,_0x1eabf6;(_0x1eabf6=this[_0x104bec(0x183)])==null||_0x1eabf6[_0x104bec(0x142)](),this[_0x104bec(0x350)]=0x0;}};_e=Ie([P(0x4,_0x272268(_0x1e804f)),P(0x5,_0x272268(_0x1912e9)),P(0x6,_0x1007ad),P(0x7,_0x2e16e2),P(0x8,_0x1c967c),P(0x9,_0xea8a16),P(0xa,_0x1e8521(J))],_e);let ae=class extends Te{constructor(_0x1282e9,_0x14d21a,_0x4c4b49,_0x2ec818,_0x159658,_0x143406,_0x414f17,_0x422c0a,_0x2167a4,_0x5455f7,_0x14d32f,_0x254638,_0x522e0e){var _0x224797=_0x132e4f;super(_0x1282e9,_0x14d21a,_0x4c4b49,_0x2ec818,_0x159658,_0x2167a4,_0x254638,_0x422c0a,_0x522e0e),N(this,'status',_0x224797(0x27d)),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,'_sender'),(this[_0x224797(0x1db)]=_0x414f17,this[_0x224797(0x91)]=_0x5455f7,this['_transformService']=_0x14d32f,this[_0x224797(0x1d1)]=_0x522e0e,_0x143406&&(this['_resendTimer']=_0x143406,this[_0x224797(0x183)]=this[_0x224797(0x9a)]['subscribe'](({reqId:_0x403ff0,timeout:_0x51fc3d})=>{var _0x99c3e4=_0x224797;this[_0x99c3e4(0x34b)](_0x403ff0,_0x51fc3d);})));}[_0x132e4f(0x2e3)](_0x189147){var _0x2fd2fb=_0x132e4f;return this[_0x2fd2fb(0x26f)]['push'](_0x189147),this;}[_0x132e4f(0xbc)](_0x1a3582){var _0xb56f28=_0x132e4f;if(this[_0xb56f28(0x164)](_0x1a3582))return this[_0xb56f28(0x2ab)](),this['_injector'][_0xb56f28(0x15c)](Q,this[_0xb56f28(0x341)],this['type'],this['_awaitingChangeset'],this[_0xb56f28(0x26f)],null,[_0x1a3582],this[_0xb56f28(0x76)]);try{const _0x5d45b6=this[_0xb56f28(0x16c)][_0xb56f28(0x153)]([_0x1a3582],[this[_0xb56f28(0x2ea)]],!0x1);if(_0x4cea6c(_0x5d45b6)){const {c1Prime:_0x1d7c16,c2Prime:_0x1ad3b1}=_0x5d45b6,_0x378938=this[_0xb56f28(0x16c)][_0xb56f28(0xcd)](_0x1d7c16[0x0],this[_0xb56f28(0x26f)]);if(_0x473097(_0x378938)){const {c1Prime:_0x36b91e,m2Prime:_0x1d41cd}=_0x378938;return this[_0xb56f28(0x272)](_0x36b91e),_0x1ad3b1[0x0][_0xb56f28(0x2af)]=this[_0xb56f28(0x103)](),this[_0xb56f28(0x2ab)](),this['_injector'][_0xb56f28(0x15c)](ae,this[_0xb56f28(0x341)],this['type'],_0x1ad3b1[0x0],_0x1d41cd,this[_0xb56f28(0x76)],void 0x0);}throw _0x378938['error'];}throw _0x5d45b6[_0xb56f28(0x13c)];}catch(_0x36ef15){return this[_0xb56f28(0x91)][_0xb56f28(0x13c)](_0x36ef15),this[_0xb56f28(0x37c)](!0x1);}}['onRemoteAck'](_0x4240e9){var _0x16b2cb=_0x132e4f;if(this[_0x16b2cb(0x2ab)](),this[_0x16b2cb(0x164)](_0x4240e9))return this['_injector'][_0x16b2cb(0x15c)](Q,this[_0x16b2cb(0x341)],this[_0x16b2cb(0x247)],null,this[_0x16b2cb(0x26f)],this[_0x16b2cb(0x2ea)],[],this[_0x16b2cb(0x76)]);this[_0x16b2cb(0x26a)]();const _0x442df0=this['_injector'][_0x16b2cb(0x15c)](re,this['unitID'],this[_0x16b2cb(0x247)],this[_0x16b2cb(0x26f)],this[_0x16b2cb(0x76)]);return _0x442df0['_schedule'](),_0x442df0[_0x16b2cb(0x199)](),_0x442df0;}['onRemoteRej'](_0x2d98d2){var _0x11aa12=_0x132e4f;return this[_0x11aa12(0x37c)](!!(_0x2d98d2!=null&&_0x2d98d2['isPermissionRej']));}['onRemoteRetry'](_0x4b1a81){var _0x4d7d9f=_0x132e4f;return this['_resendTimeout']>Ci?this[_0x4d7d9f(0x2d4)]():(this[_0x4d7d9f(0x9a)]=Ii(this[_0x4d7d9f(0x350)],{'timeout':this[_0x4d7d9f(0x350)],'reqId':_0x4b1a81[_0x4d7d9f(0x342)]}),this[_0x4d7d9f(0x183)]=this['_resendTimer'][_0x4d7d9f(0x1e1)](({reqId:_0x24773a,timeout:_0x5217f5})=>{this['_resendWithTimeout'](_0x24773a,_0x5217f5);}),this);}[_0x132e4f(0x2d4)](){var _0x3ad28c=_0x132e4f;return this[_0x3ad28c(0x2ab)](),this[_0x3ad28c(0x1db)][_0x3ad28c(0x15c)](ue,this[_0x3ad28c(0x341)],this[_0x3ad28c(0x247)],this[_0x3ad28c(0x2ea)],this[_0x3ad28c(0x26f)],this[_0x3ad28c(0x76)]);}[_0x132e4f(0x170)](){return this;}[_0x132e4f(0x2ba)](){var _0x47f776=_0x132e4f;this[_0x47f776(0x76)]['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x21639f){var _0x58394b=_0x132e4f;return this[_0x58394b(0x2ab)](),this[_0x58394b(0x1db)]['createInstance'](le,this[_0x58394b(0x341)],this[_0x58394b(0x247)],null,this[_0x58394b(0x26f)],this[_0x58394b(0x76)],_0x21639f);}[_0x132e4f(0x34b)](_0x4b8cc0,_0x1eb576){var _0x4b6080=_0x132e4f,_0x79f99;_0x4b8cc0===((_0x79f99=this[_0x4b6080(0x2ea)])==null?void 0x0:_0x79f99['reqId'])&&(this[_0x4b6080(0x2ba)](),this['_resendTimeout']=_0x1eb576===0x0?0x3e8:_0x1eb576*0x2);}[_0x132e4f(0x2ab)](){var _0x30d9fd=_0x132e4f,_0x2e962f;(_0x2e962f=this['_sender'])==null||_0x2e962f['unsubscribe'](),this[_0x30d9fd(0x350)]=0x0;}};ae=Ie([P(0x6,_0x272268(_0x1e804f)),P(0x7,_0x272268(_0x1912e9)),P(0x8,_0x1007ad),P(0x9,_0x2e16e2),P(0xa,_0x1c967c),P(0xb,_0xea8a16),P(0xc,_0x1e8521(J))],ae);let le=class extends Te{constructor(_0xfe499e,_0xa8dd22,_0x2e3a21,_0x58ed1d,_0xb7bec8,_0x12877f=!0x1,_0x7d552b,_0x1f59b9,_0x5b8502,_0x13b5c9,_0x55b8e0,_0x1499be,_0x4d9b29){var _0x50b031=_0x132e4f;super(_0xfe499e,_0xa8dd22,_0x2e3a21,_0x58ed1d,_0xb7bec8,_0x1f59b9,_0x5b8502,_0x13b5c9,_0x4d9b29),N(this,_0x50b031(0x1ad),_0x50b031(0x378)),(this['_isPermissionRej']=_0x12877f,this['_permissionService']=_0x7d552b,this[_0x50b031(0x165)]=_0x55b8e0,this[_0x50b031(0x309)]=_0x1499be,this[_0x50b031(0x1d1)]=_0x4d9b29,this[_0x50b031(0x131)](),this[_0x50b031(0x26c)](),this[_0x50b031(0x283)]());}['appendMutation'](){return this;}[_0x132e4f(0xbc)](){return this;}[_0x132e4f(0x25c)](){return this;}['onRemoteRej'](){return this;}[_0x132e4f(0x22d)](){return this;}[_0x132e4f(0x2d4)](){return this;}[_0x132e4f(0x170)](){return this;}[_0x132e4f(0x2ba)](){var _0x448a3e=_0x132e4f;throw new Error(_0x448a3e(0x243));}[_0x132e4f(0x26c)](){var _0x393273=_0x132e4f,_0x31c9a0;(_0x31c9a0=this[_0x393273(0x7e)])==null||_0x31c9a0[_0x393273(0x190)](this['unitID'],this[_0x393273(0x247)],null,[]);}[_0x132e4f(0x131)](){var _0x47c3bb=_0x132e4f;this[_0x47c3bb(0x27b)]?this[_0x47c3bb(0x309)][_0x47c3bb(0x155)]({'id':ne[_0x47c3bb(0x191)]}):this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x47c3bb(0xe6)]});}[_0x132e4f(0x283)](){var _0x947671=_0x132e4f;this[_0x947671(0x112)]['updatePermissionPoint'](new _0x4f21d5(this['unitID'])['id'],!0x1);}};le=Ie([P(0x6,_0x272268(_0x58feed)),P(0x7,_0x1007ad),P(0x8,_0xea8a16),P(0x9,_0x272268(_0x1912e9)),P(0xa,_0x272268(_0xe273c0)),P(0xb,_0x272268(ve)),P(0xc,_0x1e8521(J))],le);let ue=class extends Te{constructor(_0x4d1d08,_0x1873f9,_0x1cb62f,_0x584658,_0xf062e6,_0x1b9908,_0x6353ca,_0x41e9c1,_0x18e097,_0x36530b){var _0x386edb=_0x132e4f;super(_0x4d1d08,_0x1873f9,_0x1cb62f,_0x584658,_0xf062e6,_0x41e9c1,_0x18e097,_0x6353ca,_0x36530b),N(this,_0x386edb(0x1ad),'offline'),this['_injector']=_0x1b9908;}[_0x132e4f(0x2e3)](_0x216c2e){var _0x297384=_0x132e4f;return this[_0x297384(0x26f)][_0x297384(0x2ca)](_0x216c2e),this[_0x297384(0x199)](),this;}[_0x132e4f(0xbc)](_0x5708df){var _0x1483d5=_0x132e4f;throw new Error(_0x1483d5(0x80));}[_0x132e4f(0x25c)](){var _0x270712=_0x132e4f;throw new Error(_0x270712(0x339));}[_0x132e4f(0xd3)](){var _0x128d4f=_0x132e4f;throw new Error(_0x128d4f(0x260));}[_0x132e4f(0x22d)](){return this;}[_0x132e4f(0x2d4)](){return this;}['toggleOnline'](){var _0x24d893=_0x132e4f;const {_injector:_0x3f696e,_pendingMutations:_0x13dd43,_awaitingChangeset:_0x54b3f5,unitID:_0x44f24c,_handler:_0xcd5a3d,type:_0x16e13a}=this,_0x42c95a=Ri(_0x3f696e,_0x44f24c,_0x16e13a,_0x54b3f5,_0x13dd43,_0xcd5a3d);return _0x42c95a instanceof re?_0x42c95a['_schedule']():(_0x42c95a instanceof ae||_0x42c95a instanceof _e)&&_0x42c95a[_0x24d893(0x2ba)](),_0x42c95a;}[_0x132e4f(0x2ba)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ie([P(0x5,_0x272268(_0x1e804f)),P(0x6,_0x272268(_0x1912e9)),P(0x7,_0x1007ad),P(0x8,_0xea8a16),P(0x9,_0x1e8521(J))],ue);let Q=class extends Te{constructor(_0x17ad3a,_0x2dcab6,_0x4c0d29,_0x43c911,_0x27c183,_0x74e382,_0x44233e,_0x1c2400,_0x4d5cb1,_0x4098da,_0x2ebfd0,_0x4ad652,_0x252cc6,_0x42f6f7){var _0x8aaf0b=_0x132e4f;super(_0x17ad3a,_0x2dcab6,_0x4c0d29,_0x43c911,_0x44233e,_0x2ebfd0,_0x4ad652,_0x4d5cb1,_0x42f6f7),N(this,_0x8aaf0b(0x1ad),_0x8aaf0b(0x19d)),(this[_0x8aaf0b(0x15d)]=_0x27c183,this[_0x8aaf0b(0x137)]=_0x74e382,this[_0x8aaf0b(0x1db)]=_0x1c2400,this[_0x8aaf0b(0x91)]=_0x4098da,this['_transformService']=_0x252cc6,this[_0x8aaf0b(0x1d1)]=_0x42f6f7);}['onMissedChangesetFetched'](_0x5a9098){var _0x570cfc=_0x132e4f;try{const _0x189da4=[..._0x5a9098,...this[_0x570cfc(0x137)]],_0x1cc5bc=[this[_0x570cfc(0x2ea)]||this[_0x570cfc(0x15d)]][_0x570cfc(0x323)](_0x2e7306=>!!_0x2e7306);let _0x134391,_0x41cc7c;if(_0x1cc5bc[_0x570cfc(0x232)]){const _0x1a999b=this[_0x570cfc(0x16c)][_0x570cfc(0x153)](_0x189da4,_0x1cc5bc,!0x1);if(!_0x4cea6c(_0x1a999b))throw _0x1a999b['error'];_0x134391=_0x1a999b['c1Prime'],_0x41cc7c=_0x1a999b['c2Prime'];}else _0x134391=_0x189da4,_0x41cc7c=[];let _0x2de2d1=this['_pendingMutations'];_0x134391[_0x570cfc(0xc8)](_0x3fcd33=>{var _0x2dae62=_0x570cfc;let _0x1302e4;if(_0x2de2d1[_0x2dae62(0x232)]){const _0x4d4367=this[_0x2dae62(0x16c)]['transformMutationsWithChangeset'](_0x3fcd33,_0x2de2d1);if(!_0x473097(_0x4d4367))throw _0x4d4367[_0x2dae62(0x13c)];_0x1302e4=_0x4d4367[_0x2dae62(0x32c)],_0x2de2d1=_0x4d4367[_0x2dae62(0x2de)];}else _0x1302e4=_0x3fcd33;this['_executeRemoteChangeset'](_0x1302e4);}),this[_0x570cfc(0x15d)]&&this[_0x570cfc(0x26a)](),this[_0x570cfc(0x2ea)]&&_0x41cc7c[_0x570cfc(0x232)]&&(_0x41cc7c[0x0][_0x570cfc(0x2af)]=this[_0x570cfc(0x103)]());let _0x5aad7c;if(this['_awaitingChangeset']&&_0x2de2d1['length']!==0x0)_0x5aad7c=this[_0x570cfc(0x1db)][_0x570cfc(0x15c)](ae,this[_0x570cfc(0x341)],this[_0x570cfc(0x247)],_0x41cc7c[0x0],_0x2de2d1,this[_0x570cfc(0x76)],void 0x0);else{if(this[_0x570cfc(0x2ea)]&&_0x2de2d1[_0x570cfc(0x232)]===0x0)_0x41cc7c[0x0][_0x570cfc(0x2af)]=this[_0x570cfc(0x103)](),_0x5aad7c=this[_0x570cfc(0x1db)]['createInstance'](_e,this['unitID'],this[_0x570cfc(0x247)],_0x41cc7c[0x0],this[_0x570cfc(0x76)]);else{if(_0x2de2d1[_0x570cfc(0x232)]!==0x0){const _0x3ce812=this[_0x570cfc(0x1db)][_0x570cfc(0x15c)](re,this[_0x570cfc(0x341)],this[_0x570cfc(0x247)],_0x2de2d1,this[_0x570cfc(0x76)]);_0x3ce812[_0x570cfc(0x195)](),_0x5aad7c=_0x3ce812;}else _0x5aad7c=this[_0x570cfc(0x1db)]['createInstance'](ye,this[_0x570cfc(0x341)],this[_0x570cfc(0x247)],this[_0x570cfc(0x76)]);}}return _0x5aad7c[_0x570cfc(0x199)](),_0x5aad7c;}catch(_0x34dc6d){return this[_0x570cfc(0x91)]['error'](_0x570cfc(0x255),_0x570cfc(0x249),_0x34dc6d),this[_0x570cfc(0x1db)][_0x570cfc(0x15c)](le,this[_0x570cfc(0x341)],this[_0x570cfc(0x247)],this[_0x570cfc(0x2ea)],this[_0x570cfc(0x26f)],this[_0x570cfc(0x76)],!0x1);}}[_0x132e4f(0x2ba)](){var _0x1d6e71=_0x132e4f;throw new Error(_0x1d6e71(0x11f));}['appendMutation'](_0x2fe294){var _0x57eedd=_0x132e4f;return this[_0x57eedd(0x26f)][_0x57eedd(0x2ca)](_0x2fe294),this;}['onRemoteChangeset'](_0x464972){var _0x1cb970=_0x132e4f;return this['_queuedRemoteChangesets'][_0x1cb970(0x2ca)](_0x464972),this;}[_0x132e4f(0x25c)](_0x39e499){var _0x247542=_0x132e4f;if(this[_0x247542(0x2ea)])return this[_0x247542(0x15d)]=this[_0x247542(0x2ea)],this[_0x247542(0x2ea)]=null,this;throw new Error(_0x247542(0x30e));}['onRemoteRej'](_0x4e8db6){var _0x5e2b25=_0x132e4f;return this[_0x5e2b25(0x37c)](!!(_0x4e8db6!=null&&_0x4e8db6[_0x5e2b25(0x33a)]));}[_0x132e4f(0x22d)](){return this;}[_0x132e4f(0x2d4)](){var _0x525b1f=_0x132e4f;return this[_0x525b1f(0x1db)]['createInstance'](ue,this[_0x525b1f(0x341)],this[_0x525b1f(0x247)],this[_0x525b1f(0x2ea)],this[_0x525b1f(0x26f)],this[_0x525b1f(0x76)]);}[_0x132e4f(0x170)](){return this;}[_0x132e4f(0x37c)](_0x3a5d77){var _0xc331a5=_0x132e4f;return this[_0xc331a5(0x1db)][_0xc331a5(0x15c)](le,this[_0xc331a5(0x341)],this[_0xc331a5(0x247)],this[_0xc331a5(0x2ea)],this[_0xc331a5(0x26f)],this[_0xc331a5(0x76)],_0x3a5d77);}};Q=Ie([P(0x7,_0x272268(_0x1e804f)),P(0x8,_0x272268(_0x1912e9)),P(0x9,_0x2e16e2),P(0xa,_0x1007ad),P(0xb,_0xea8a16),P(0xc,_0x1c967c),P(0xd,_0x1e8521(J))],Q);function Ri(_0x2c958c,_0x308349,_0x291fe7,_0xab093c,_0x4342c7,_0x5decd6){var _0x4ab4a7=_0x132e4f;return _0xab093c&&_0x4342c7[_0x4ab4a7(0x232)]?_0x2c958c[_0x4ab4a7(0x15c)](ae,_0x308349,_0x291fe7,_0xab093c,_0x4342c7,_0x5decd6,void 0x0):_0xab093c?_0x2c958c['createInstance'](_e,_0x308349,_0x291fe7,_0xab093c,_0x5decd6):_0x4342c7['length']?_0x2c958c['createInstance'](re,_0x308349,_0x291fe7,_0x4342c7,_0x5decd6):_0x2c958c[_0x4ab4a7(0x15c)](ye,_0x308349,_0x291fe7,_0x5decd6);}var Zs=Object[_0x132e4f(0x129)],wt=(_0x5aa2dc,_0x46fc92,_0x53cd4e,_0x28a65d)=>{var _0x29128b=_0x132e4f;for(var _0x324312=_0x28a65d>0x1?void 0x0:_0x28a65d?Zs(_0x46fc92,_0x53cd4e):_0x46fc92,_0x3ed6bd=_0x5aa2dc[_0x29128b(0x232)]-0x1,_0x1321c8;_0x3ed6bd>=0x0;_0x3ed6bd--)(_0x1321c8=_0x5aa2dc[_0x3ed6bd])&&(_0x324312=_0x1321c8(_0x324312)||_0x324312);return _0x324312;},H=(_0x48e728,_0x543afc)=>(_0x1aa93e,_0x1490f3)=>_0x543afc(_0x1aa93e,_0x1490f3,_0x48e728);let st=class extends _0x151895{constructor(_0x13f856,_0xe4d21a,_0x178bb9,_0x2e96a5,_0x10c257,_0x2cc954,_0x1821a8,_0xc238c8,_0x3491c8,_0x50e314,_0x8fd100,_0x3594ca,_0x9c3d88){var _0x1864d7=_0x132e4f;super(),N(this,_0x1864d7(0x254),new _0xcec471(null)),N(this,_0x1864d7(0x37d),this[_0x1864d7(0x254)][_0x1864d7(0x314)]()),N(this,'_state'),N(this,_0x1864d7(0x379),!0x1),N(this,_0x1864d7(0x358),''),N(this,_0x1864d7(0x15a),0x0),N(this,_0x1864d7(0xd7),this[_0x1864d7(0x37d)][_0x1864d7(0x33f)](_0x25cf28(_0x1a9144=>_0x1a9144?_0x1a9144[_0x1864d7(0x1ad)]:Ti[_0x1864d7(0x2c2)]),_0x5245cb(0x1))),N(this,_0x1864d7(0x2ee),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x1864d7(0x341)]=_0x13f856,this[_0x1864d7(0xdd)]=_0xe4d21a,this[_0x1864d7(0x2c0)]=_0x178bb9,this[_0x1864d7(0x1db)]=_0x2e96a5,this['_compressMutationService']=_0x10c257,this[_0x1864d7(0x165)]=_0x2cc954,this[_0x1864d7(0x237)]=_0x1821a8,this['_eventService']=_0xc238c8,this[_0x1864d7(0x91)]=_0x3491c8,this['_commandService']=_0x50e314,this[_0x1864d7(0x112)]=_0x8fd100,this['_singleActiveUnitService']=_0x3594ca,this[_0x1864d7(0x7e)]=_0x9c3d88);}get[_0x132e4f(0x1d4)](){return this['_state'];}async[_0x132e4f(0x146)](){var _0x3727a1=_0x132e4f;if(this['state'])throw new Error(_0x3727a1(0x133));await this[_0x3727a1(0x319)]();}[_0x132e4f(0x320)](){return this['_collaborationPaused']=!0x0,_0x2e1d4e(()=>{var _0x1b2f64=_0xa8aa;this['_collaborationPaused']=!0x1,this[_0x1b2f64(0x22c)]();});}['onLocalMutation'](_0x6f312c){var _0xd8fc1e=_0x132e4f;this[_0xd8fc1e(0x14b)](_0x6f312c);}[_0x132e4f(0x336)](_0xf8611a){var _0x468370=_0x132e4f;this[_0x468370(0x9f)]=_0xf8611a,this[_0x468370(0x254)][_0x468370(0xfb)](_0xf8611a);}async[_0x132e4f(0x319)](){var _0x1a8e3c=_0x132e4f,_0x1a53e1;this[_0x1a8e3c(0x336)](await this[_0x1a8e3c(0x1d6)]()),this[_0x1a8e3c(0x201)]&&((_0x1a53e1=this[_0x1a8e3c(0x201)])==null||_0x1a53e1['editingUnit'](this[_0x1a8e3c(0x341)]),this[_0x1a8e3c(0x276)](this[_0x1a8e3c(0x201)][_0x1a8e3c(0x196)](this[_0x1a8e3c(0x341)])[_0x1a8e3c(0x1e1)](_0x311c65=>{var _0x57f1cf=_0x1a8e3c;this['_logService'][_0x57f1cf(0x1fb)](_0x57f1cf(0x32e),_0x57f1cf(0x186),_0x311c65),_0x311c65===Ei[_0x57f1cf(0x223)]?(this[_0x57f1cf(0x1f0)][_0x57f1cf(0x155)]({'id':ne[_0x57f1cf(0x2f4)]}),this[_0x57f1cf(0x112)]['updatePermissionPoint'](new _0x4f21d5(this[_0x57f1cf(0x341)])['id'],!0x1),this[_0x57f1cf(0x112)]['setShowComponents'](!0x1)):(this[_0x57f1cf(0x112)][_0x57f1cf(0x154)](new _0x4f21d5(this['unitID'])['id'],!0x0),this[_0x57f1cf(0x112)]['setShowComponents'](!0x0));})));let _0x33cc4b=!0x1;return this[_0x1a8e3c(0x276)](this['session']['sessionStatus$'][_0x1a8e3c(0x1e1)](_0x24c8ba=>{var _0x796edf=_0x1a8e3c;_0x24c8ba===Se[_0x796edf(0x218)]?this[_0x796edf(0x31b)](_0x33cc4b):_0x24c8ba===Se[_0x796edf(0x2c2)]&&(_0x33cc4b=!0x0,this[_0x796edf(0x268)]());})),this[_0x1a8e3c(0x276)](this[_0x1a8e3c(0xdd)][_0x1a8e3c(0x1e3)][_0x1a8e3c(0x1e1)](_0x310914=>{var _0x53d307=_0x1a8e3c;try{switch(_0x310914[_0x53d307(0x2c7)]){case _0x13b946[_0x53d307(0x271)]:{this['_onRemoteChangeset'](_0x565baa(_0x310914['data']));break;}case _0x13b946['CHANGESET_ACK']:{this[_0x53d307(0xc4)](_0x310914[_0x53d307(0x312)]);break;}case _0x13b946[_0x53d307(0x24c)]:{this[_0x53d307(0x227)]();break;}case _0x13b946[_0x53d307(0x17b)]:{this[_0x53d307(0x22e)](_0x310914[_0x53d307(0x312)]);break;}case _0x13b946[_0x53d307(0x1bd)]:{this['_onFetchMissResult'](_0x310914[_0x53d307(0x312)][_0x53d307(0x121)][_0x53d307(0x2a7)](_0x13e09a=>_0x565baa(_0x13e09a)));break;}case _0x13b946[_0x53d307(0x1bb)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x13b946[_0x53d307(0x180)]:break;}}catch(_0x439c44){throw console[_0x53d307(0x13c)](_0x53d307(0x104),_0x439c44),_0x439c44;}})),this[_0x1a8e3c(0x9f)];}[_0x132e4f(0x156)](){var _0x198114=_0x132e4f;this[_0x198114(0x2ee)]=!0x1;}['_lockTransition'](){var _0x123df5=_0x132e4f;if(this[_0x123df5(0x2ee)])throw new Error(_0x123df5(0xb9));this['_transitionLocked']=!0x0;}[_0x132e4f(0x14b)](_0x5b1f71){var _0x4eef64=_0x132e4f;this[_0x4eef64(0x24e)](),this[_0x4eef64(0x336)](this[_0x4eef64(0x9f)][_0x4eef64(0x2e3)](_0x5b1f71)),this['_unlockTransition']();}[_0x132e4f(0x1dd)](_0x236159){var _0x34c909=_0x132e4f;if(!(_0x236159[_0x34c909(0x81)]<=this[_0x34c909(0x237)][_0x34c909(0x2fc)](this[_0x34c909(0x341)]))){if(this[_0x34c909(0x379)]){this['_remoteChangesetQueue'][_0x34c909(0x2ca)](_0x236159);return;}this['_applyRemoteChangeset'](_0x236159);}}['_exhaustRemoteChangesetQueue'](){var _0x1e359d=_0x132e4f;this[_0x1e359d(0x261)]['forEach'](_0x242efd=>this[_0x1e359d(0x2e7)](_0x242efd)),this[_0x1e359d(0x261)]=[];}[_0x132e4f(0x2e7)](_0x156337){var _0x1bfd8c=_0x132e4f;const _0x5d8833=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x1bfd8c(0x1ec)][_0x1bfd8c(0xb4)][_0x1bfd8c(0x27e)]()[_0x1bfd8c(0x141)])(_0x156337[_0x1bfd8c(0x360)],null)||_0x156337[_0x1bfd8c(0x360)],_0x26a572={..._0x156337,'mutations':_0x5d8833};this['_lockTransition'](),this[_0x1bfd8c(0x336)](this[_0x1bfd8c(0x9f)][_0x1bfd8c(0xbc)](_0x26a572)),this[_0x1bfd8c(0x156)]();}[_0x132e4f(0xc4)](_0xb9b0ab){var _0x271b0a=_0x132e4f;this[_0x271b0a(0x24e)](),this[_0x271b0a(0x336)](this[_0x271b0a(0x9f)]['onRemoteAck'](_0xb9b0ab)),this[_0x271b0a(0x156)]();}[_0x132e4f(0x227)](_0x5b36cf){var _0x353bd4=_0x132e4f;this[_0x353bd4(0x24e)](),this['_updateState'](this[_0x353bd4(0x9f)][_0x353bd4(0xd3)](_0x5b36cf)),this[_0x353bd4(0x156)]();}[_0x132e4f(0x22e)](_0x1461e4){var _0x24f9ec=_0x132e4f;this[_0x24f9ec(0x24e)](),this[_0x24f9ec(0x336)](this['_state'][_0x24f9ec(0x22d)](_0x1461e4)),this['_unlockTransition']();}['_onFetchMissResult'](_0x2ad8cb){var _0x4e254e=_0x132e4f;if(!(this['_state']instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x21758a=_0x2ad8cb[_0x4e254e(0x2a7)](_0x37a03e=>{var _0x58c5fb=_0x4e254e;const _0x392bd3=this[_0x58c5fb(0x1ec)]['interceptor'][_0x58c5fb(0xff)](this[_0x58c5fb(0x1ec)][_0x58c5fb(0xb4)][_0x58c5fb(0x27e)]()[_0x58c5fb(0x141)])(_0x37a03e[_0x58c5fb(0x360)],null)||_0x37a03e[_0x58c5fb(0x360)];return{..._0x37a03e,'mutations':_0x392bd3};});this[_0x4e254e(0x24e)](),this[_0x4e254e(0x336)](this[_0x4e254e(0x9f)]['onMissedChangesetFetched'](_0x21758a)),this[_0x4e254e(0x156)]();}[_0x132e4f(0x268)](){var _0x298ec3=_0x132e4f;this['_lockTransition'](),this[_0x298ec3(0x336)](this['_state'][_0x298ec3(0x2d4)]()),this[_0x298ec3(0x156)]();}[_0x132e4f(0x31b)](_0x3cca28=!0x1){var _0x240b3e=_0x132e4f;this[_0x240b3e(0x24e)](),this[_0x240b3e(0x336)](this[_0x240b3e(0x9f)][_0x240b3e(0x170)]()),this[_0x240b3e(0x156)]();const _0x49574f=this[_0x240b3e(0x9f)];_0x3cca28&&_0x49574f instanceof ye&&(this['_lockTransition'](),this[_0x240b3e(0x336)](_0x49574f[_0x240b3e(0x34a)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x5d85de=>{var _0x4f3646=_0xa8aa;this[_0x4f3646(0xdd)][_0x4f3646(0x2d9)][_0x4f3646(0x33f)](_0x3f098a(0x1))['subscribe'](async _0x32c55b=>{var _0xa54477=_0x4f3646;_0x5d85de(await this[_0xa54477(0x324)](_0x32c55b===Se[_0xa54477(0x218)]));});});}[_0x132e4f(0x1b2)](){var _0x2d6ddb=_0x132e4f;const _0x5dccdc=this[_0x2d6ddb(0x341)];return{'onStateChange':(_0x4660df,_0x282e5c)=>{var _0x8ee95f=_0x2d6ddb;if(_0x4660df!==this[_0x8ee95f(0x9f)])throw new Error(_0x8ee95f(0x29b)+_0x4660df[_0x8ee95f(0x1ad)]+'\x0aAfter:\x20'+_0x282e5c[_0x8ee95f(0x1ad)]+_0x8ee95f(0x375)+this[_0x8ee95f(0x9f)][_0x8ee95f(0x1ad)]);this[_0x8ee95f(0x336)](_0x282e5c);},'onSendChangeset':_0xd247f6=>{var _0x230b20=_0x2d6ddb;_0xd247f6[_0x230b20(0x117)]||(_0xd247f6[_0x230b20(0x117)]=this[_0x230b20(0x358)],_0xd247f6['reqId']=++this[_0x230b20(0x15a)]);const _0x4ab7f6={'eventID':_0x13b946[_0x230b20(0x1c6)],'data':{'unitID':_0xd247f6[_0x230b20(0x341)],'unitType':this[_0x230b20(0x2c0)],'changeset':_0xd247f6,'memberID':this['session'][_0x230b20(0x1b9)]()}};this[_0x230b20(0xdd)][_0x230b20(0x361)](_0x4ab7f6,this[_0x230b20(0x341)]);},'onMissingChangesets':({from:_0x3ec88a,to:_0x73fb04})=>{var _0x16e702=_0x2d6ddb;this[_0x16e702(0x91)][_0x16e702(0x1fb)](_0x16e702(0x32e),_0x16e702(0x280)+_0x3ec88a+_0x16e702(0xf1)+_0x73fb04);const _0xa1a91c={'eventID':_0x13b946['FETCH_MISSING'],'data':{'unitID':_0x5dccdc,'unitType':this['_type'],'from':_0x3ec88a,'to':_0x73fb04}};this[_0x16e702(0xdd)][_0x16e702(0x361)](_0xa1a91c,this['unitID']);}};}async[_0x132e4f(0x324)](_0x31dcda){var _0x5f49f0=_0x132e4f,_0x435012,_0x11df4e,_0x295fb1;const _0x2716e3=await((_0x435012=this[_0x5f49f0(0x7e)])==null?void 0x0:_0x435012[_0x5f49f0(0x1f5)](this[_0x5f49f0(0x341)])),_0x2f0fcf=(_0x11df4e=_0x2716e3==null?void 0x0:_0x2716e3['mutations'])!=null?_0x11df4e:[],_0x149876=(_0x295fb1=_0x2716e3==null?void 0x0:_0x2716e3[_0x5f49f0(0xfe)])!=null?_0x295fb1:null,_0x2d553f=!!(_0x149876!=null&&_0x149876['sid'])&&!!(_0x149876!=null&&_0x149876[_0x5f49f0(0x342)]);this[_0x5f49f0(0x358)]=_0x2d553f?_0x149876[_0x5f49f0(0x117)]:_0x1a7730(),this['_changesetReqId']=_0x2d553f?_0x149876[_0x5f49f0(0x342)]:0x0;const _0xe02ba7=this[_0x5f49f0(0x341)];try{this['_replayCachedMutations'](_0x149876,_0x2f0fcf);}catch(_0x521e1c){this['_logService'][_0x5f49f0(0x13c)](_0x521e1c);}const _0x24a4a0=this['_createHandler']();if(_0x31dcda){const _0x38c0e9=Ri(this[_0x5f49f0(0x1db)],_0xe02ba7,this[_0x5f49f0(0x2c0)],_0x149876,_0x2f0fcf,_0x24a4a0);return _0x38c0e9 instanceof re?_0x38c0e9['_schedule']():(_0x38c0e9 instanceof ae||_0x38c0e9 instanceof _e)&&_0x38c0e9[_0x5f49f0(0x2ba)](),_0x38c0e9;}return this[_0x5f49f0(0x1db)][_0x5f49f0(0x15c)](ue,_0xe02ba7,this[_0x5f49f0(0x2c0)],_0x149876,_0x2f0fcf,_0x24a4a0);}[_0x132e4f(0x208)](_0x1a6ce7,_0x1691c6){var _0xccbcf5=_0x132e4f,_0x273fef,_0x3885aa;const _0x1fa2de=this[_0xccbcf5(0x1ec)]['interceptor'][_0xccbcf5(0xff)](this['_compressMutationService'][_0xccbcf5(0xb4)][_0xccbcf5(0x27e)]()[_0xccbcf5(0x141)]);(_0x273fef=_0x1fa2de((_0x1a6ce7==null?void 0x0:_0x1a6ce7['mutations'])||[],null))==null||_0x273fef[_0xccbcf5(0xc8)](_0x32bc6c=>this[_0xccbcf5(0xe2)][_0xccbcf5(0x32a)](_0x32bc6c['id'],_0x32bc6c[_0xccbcf5(0x25b)])),(_0x3885aa=_0x1fa2de(_0x1691c6||[],null))==null||_0x3885aa[_0xccbcf5(0xc8)](_0x1c059f=>this['_commandService'][_0xccbcf5(0x32a)](_0x1c059f['id'],_0x1c059f['params']));}};st=wt([H(0x3,_0x272268(_0x1e804f)),H(0x4,_0x272268(_0x240ecb)),H(0x5,_0x272268(_0xe273c0)),H(0x6,_0x272268(_0x1912e9)),H(0x7,_0x272268(ve)),H(0x8,_0x2e16e2),H(0x9,_0x1007ad),H(0xa,_0x58feed),H(0xb,_0x1e8521(ht)),H(0xc,_0x1e8521(J))],st);let St=class extends st{constructor(_0xf05cb9,_0xaba656,_0x567c08,_0x5292e5,_0x5e0895,_0x18ba18,_0x32faa6,_0x5785a6,_0x4f3179,_0x3bd29a,_0x128391,_0x2cb519,_0x3dcdd4){var _0x4b8c4c=_0x132e4f;super(_0xf05cb9,_0x567c08,_0xaba656,_0x5292e5,_0x5e0895,_0x18ba18,_0x32faa6,_0x5785a6,_0x4f3179,_0x3bd29a,_0x128391,_0x2cb519,_0x3dcdd4),N(this,'_handlerCallback',null),(this[_0x4b8c4c(0x341)]=_0xf05cb9,this[_0x4b8c4c(0x247)]=_0xaba656);}[_0x132e4f(0x23c)](_0x5443a3){this['_handlerCallback']=_0x5443a3;}[_0x132e4f(0x2b2)](){this['_handlerCallback']=null,super['dispose']();}[_0x132e4f(0x1b2)](){var _0x273fad=_0x132e4f;const _0x419c54=super[_0x273fad(0x1b2)]();return _0x419c54['onTransformIME']=_0x47bf7a=>{var _0x2d53c3,_0x3be79b;return(_0x3be79b=(_0x2d53c3=this['_handlerCallback'])==null?void 0x0:_0x2d53c3['onTransformIME'])==null?void 0x0:_0x3be79b['call'](_0x2d53c3,_0x47bf7a);},_0x419c54[_0x273fad(0x1b8)]=_0x9e16ec=>{var _0x594dfb=_0x273fad,_0x1bf92e,_0x23c7fb;return(_0x23c7fb=(_0x1bf92e=this[_0x594dfb(0x2b5)])==null?void 0x0:_0x1bf92e['onTransformState'])==null?void 0x0:_0x23c7fb[_0x594dfb(0x203)](_0x1bf92e,_0x9e16ec);},_0x419c54[_0x273fad(0x13d)]=_0x1af21c=>{var _0x3775fc=_0x273fad,_0x2d5526,_0x83cf6;return(_0x83cf6=(_0x2d5526=this[_0x3775fc(0x2b5)])==null?void 0x0:_0x2d5526[_0x3775fc(0x13d)])==null?void 0x0:_0x83cf6[_0x3775fc(0x203)](_0x2d5526,_0x1af21c);},_0x419c54[_0x273fad(0x311)]=_0x40e980=>{var _0x12c833=_0x273fad,_0x4fe056,_0x2100e8;return(_0x2100e8=(_0x4fe056=this['_handlerCallback'])==null?void 0x0:_0x4fe056['onSyncEditingCollabCursor'])==null?void 0x0:_0x2100e8[_0x12c833(0x203)](_0x4fe056,_0x40e980);},_0x419c54[_0x273fad(0xc9)]=_0xecc3fc=>{var _0x4437a7=_0x273fad,_0x5e9b8f,_0x5237bf,_0x539d1f;if(!((_0x5e9b8f=this['_handlerCallback'])!=null&&_0x5e9b8f[_0x4437a7(0xc9)]))throw new Error(_0x4437a7(0x359));return(_0x539d1f=(_0x5237bf=this['_handlerCallback'])==null?void 0x0:_0x5237bf[_0x4437a7(0xc9)])==null?void 0x0:_0x539d1f[_0x4437a7(0x203)](_0x5237bf,_0xecc3fc);},_0x419c54[_0x273fad(0x212)]=_0x2c8f12=>{var _0x401728=_0x273fad,_0x1eb4c7,_0x2bf2e4,_0xe16579;if(!((_0x1eb4c7=this[_0x401728(0x2b5)])!=null&&_0x1eb4c7[_0x401728(0x212)]))throw new Error(_0x401728(0x88));return(_0xe16579=(_0x2bf2e4=this[_0x401728(0x2b5)])==null?void 0x0:_0x2bf2e4[_0x401728(0x212)])==null?void 0x0:_0xe16579[_0x401728(0x203)](_0x2bf2e4,_0x2c8f12);},_0x419c54;}async[_0x132e4f(0x319)](){var _0x153ec4=_0x132e4f;const _0x4064db=await super[_0x153ec4(0x319)]();return this[_0x153ec4(0x276)](this[_0x153ec4(0xe2)][_0x153ec4(0x19b)]((_0x4d88d0,_0x472627)=>{var _0x1dbb5f=_0x153ec4;if(_0x4d88d0['type']!==_0x3ae55e[_0x1dbb5f(0x290)]||_0x472627!=null&&_0x472627['fromCollab']||_0x472627!=null&&_0x472627['onlyLocal']||_0x4d88d0['id']===_0x1bcdda['id'])return;const _0x52c38a=_0x4d88d0['params'];if((_0x52c38a==null?void 0x0:_0x52c38a[_0x1dbb5f(0x1af)])!==this['unitID'])return;const _0x46fe12=_0x4d88d0,_0xcedaa1=this[_0x1dbb5f(0x1ec)][_0x1dbb5f(0xb4)][_0x1dbb5f(0xff)](this[_0x1dbb5f(0x1ec)][_0x1dbb5f(0xb4)][_0x1dbb5f(0x27e)]()[_0x1dbb5f(0x2b7)])([_0x46fe12],null)||[_0x46fe12];this[_0x1dbb5f(0x14b)](_0xcedaa1[0x0]);})),_0x4064db;}};St=wt([H(0x3,_0x272268(_0x1e804f)),H(0x4,_0x272268(_0x240ecb)),H(0x5,_0x272268(_0xe273c0)),H(0x6,_0x272268(_0x1912e9)),H(0x7,_0x272268(ve)),H(0x8,_0x2e16e2),H(0x9,_0x1007ad),H(0xa,_0x58feed),H(0xb,_0x1e8521(ht)),H(0xc,_0x1e8521(J))],St);let Et=class extends st{constructor(_0x22bded,_0x3983c7,_0x56555f,_0xafcb5d,_0x2ee79d,_0xd36466,_0x530f90,_0x456a92,_0x1b71f0,_0x227cac,_0x59752b,_0x3e2ef0,_0x441b83,_0x3b4025){var _0x4cca71=_0x132e4f;super(_0x22bded,_0x56555f,_0x3983c7,_0xafcb5d,_0x2ee79d,_0xd36466,_0x530f90,_0x1b71f0,_0x227cac,_0x59752b,_0x3e2ef0,_0x441b83,_0x3b4025),this[_0x4cca71(0x341)]=_0x22bded,this[_0x4cca71(0x247)]=_0x3983c7,this['_sheetTransformSelectionsService']=_0x456a92;}[_0x132e4f(0x1b2)](){var _0x5a1226=_0x132e4f;const _0xbf4688=super[_0x5a1226(0x1b2)]();return _0xbf4688[_0x5a1226(0x13d)]=_0x2058c9=>this[_0x5a1226(0x179)][_0x5a1226(0x18e)](_0x2058c9),_0xbf4688;}async[_0x132e4f(0x319)](){var _0x330ac4=_0x132e4f;const _0x16cc12=await super[_0x330ac4(0x319)]();return this[_0x330ac4(0x276)](this[_0x330ac4(0xe2)]['onCommandExecuted']((_0x4daac9,_0x5bbcda)=>{var _0x21daa9=_0x330ac4;if(_0x4daac9[_0x21daa9(0x247)]!==_0x3ae55e[_0x21daa9(0x290)]||_0x5bbcda!=null&&_0x5bbcda[_0x21daa9(0x200)]||_0x5bbcda!=null&&_0x5bbcda[_0x21daa9(0x89)])return;const _0x3659a8=_0x4daac9['params'];if((_0x3659a8==null?void 0x0:_0x3659a8[_0x21daa9(0x1af)])!==this[_0x21daa9(0x341)])return;const _0x3bf95e=_0x4daac9,_0x1ec729=this[_0x21daa9(0x1ec)][_0x21daa9(0xb4)][_0x21daa9(0xff)](this[_0x21daa9(0x1ec)][_0x21daa9(0xb4)][_0x21daa9(0x27e)]()[_0x21daa9(0x2b7)])([_0x3bf95e],null)||[_0x3bf95e];this[_0x21daa9(0x14b)](_0x1ec729[0x0]);})),_0x16cc12;}};Et=wt([H(0x3,_0x272268(_0x1e804f)),H(0x4,_0x272268(_0x240ecb)),H(0x5,_0x272268(_0xe273c0)),H(0x6,_0x272268(_0x1912e9)),H(0x7,_0x272268(it)),H(0x8,_0x272268(ve)),H(0x9,_0x2e16e2),H(0xa,_0x1007ad),H(0xb,_0x58feed),H(0xc,_0x1e8521(ht)),H(0xd,_0x1e8521(J))],Et);var Qs=Object[_0x132e4f(0x129)],en=(_0x4b9396,_0x5be4a8,_0x261113,_0x225644)=>{for(var _0x347c63=_0x225644>0x1?void 0x0:_0x225644?Qs(_0x5be4a8,_0x261113):_0x5be4a8,_0x37cc68=_0x4b9396['length']-0x1,_0x539c42;_0x37cc68>=0x0;_0x37cc68--)(_0x539c42=_0x4b9396[_0x37cc68])&&(_0x347c63=_0x539c42(_0x347c63)||_0x347c63);return _0x347c63;},Be=(_0x3110e0,_0x4496a4)=>(_0x4edd33,_0x592b45)=>_0x4496a4(_0x4edd33,_0x592b45,_0x3110e0);let nt=class extends _0x151895{constructor(_0x4e6107,_0x477f22,_0xe350d2,_0x74035d){var _0x5141fb=_0x132e4f,_0x3589b8;super(),N(this,_0x5141fb(0x2c1),new Map()),N(this,'_entityInit$',new _0x288ae7()),N(this,_0x5141fb(0x1c9),this[_0x5141fb(0x106)][_0x5141fb(0x314)]()),(this[_0x5141fb(0x1db)]=_0x4e6107,this[_0x5141fb(0x221)]=_0x477f22,this[_0x5141fb(0x1da)]=_0xe350d2,this[_0x5141fb(0xdf)]=_0x74035d,((_0x3589b8=this['_configService'][_0x5141fb(0x35c)](K))==null?void 0x0:_0x3589b8['enableCollaboration'])!==!0x1&&this['_init']());}[_0x132e4f(0x2b2)](){var _0x2ab62b=_0x132e4f;super[_0x2ab62b(0x2b2)](),this[_0x2ab62b(0x2c1)][_0x2ab62b(0xc8)](_0x2c6316=>_0x2c6316['dispose']()),this['_entities'][_0x2ab62b(0x2bf)]();}[_0x132e4f(0xb8)](_0x1e6595){var _0x33dd39=_0x132e4f,_0x5b7d9d;return(_0x5b7d9d=this[_0x33dd39(0x2c1)][_0x33dd39(0x303)](_0x1e6595))!=null?_0x5b7d9d:null;}[_0x132e4f(0x23b)](_0x17d629){var _0x4a217b=_0x132e4f;const _0x2882d4=this[_0x4a217b(0xb8)](_0x17d629);return _0x2882d4?_0x13feb8(_0x2882d4):this[_0x4a217b(0x106)][_0x4a217b(0x33f)](_0x154c53(_0x37b2bb=>_0x37b2bb['unitID']===_0x17d629));}[_0x132e4f(0x265)](_0x6731f5){var _0x5dae68=_0x132e4f;return _0x2f6da2(this[_0x5dae68(0x23b)](_0x6731f5)['pipe'](_0x240a71(()=>{})));}[_0x132e4f(0x319)](){var _0x40641c=_0x132e4f;this[_0x40641c(0xdf)]['getTypeOfUnitAdded$'](_0x1df003[_0x40641c(0xd5)])[_0x40641c(0x33f)](_0x2ed18f(this[_0x40641c(0x14c)]),_0x10a444(0x10))[_0x40641c(0x1e1)](async _0x42961c=>{var _0x3cb936=_0x40641c;const _0x18f364=_0x42961c[_0x3cb936(0x1c8)](),_0x2b7f1a=await this[_0x3cb936(0x28f)](_0x18f364,Z[_0x3cb936(0xd5)]);this[_0x3cb936(0x2c1)][_0x3cb936(0x114)](_0x18f364,_0x2b7f1a);}),this[_0x40641c(0xdf)][_0x40641c(0x297)](_0x1df003['UNIVER_DOC'])[_0x40641c(0x33f)](_0x2ed18f(this[_0x40641c(0x14c)]),_0x10a444(0x10))[_0x40641c(0x33f)](_0x154c53(_0x32f59d=>!_0x32f59d[_0x40641c(0x1c8)]()[_0x40641c(0x12a)]('__')))[_0x40641c(0x1e1)](async _0x18cacc=>{var _0x531103=_0x40641c;const _0x5d29c6=_0x18cacc['getUnitId'](),_0xb53b1c=await this[_0x531103(0x28f)](_0x5d29c6,Z[_0x531103(0x214)]);this[_0x531103(0x2c1)][_0x531103(0x114)](_0x5d29c6,_0xb53b1c);}),_0x1f0a96(this[_0x40641c(0xdf)][_0x40641c(0x307)](_0x1df003[_0x40641c(0xd5)]),this[_0x40641c(0xdf)][_0x40641c(0x307)](_0x1df003[_0x40641c(0x214)]))[_0x40641c(0x33f)](_0x2ed18f(this['dispose$']))[_0x40641c(0x1e1)](_0x1e6587=>{var _0x4b69a8=_0x40641c;const _0x20e535=_0x1e6587[_0x4b69a8(0x1c8)](),_0x1390c0=this[_0x4b69a8(0x2c1)]['get'](_0x20e535);_0x1390c0&&(_0x1390c0[_0x4b69a8(0x2b2)](),this[_0x4b69a8(0x2c1)][_0x4b69a8(0x92)](_0x20e535));});}async[_0x132e4f(0x28f)](_0x49c4a7,_0x524512){var _0x5477b1=_0x132e4f;const _0x28324d=await this[_0x5477b1(0x221)]['requireSession'](_0x49c4a7),_0x326ace=this[_0x5477b1(0x1db)]['createInstance'](this[_0x5477b1(0x127)](_0x524512),_0x49c4a7,_0x524512,_0x28324d);return await _0x326ace[_0x5477b1(0x146)](),this[_0x5477b1(0x106)][_0x5477b1(0xfb)](_0x326ace),_0x326ace;}[_0x132e4f(0x127)](_0x49eda8){var _0x33894b=_0x132e4f;switch(_0x49eda8){case Z[_0x33894b(0x214)]:return St;case Z[_0x33894b(0xd5)]:return Et;default:throw new Error(_0x33894b(0x111)+_0x49eda8);}}};nt=en([Be(0x0,_0x272268(_0x1e804f)),Be(0x1,_0x272268(Le)),Be(0x2,_0x2697d9),Be(0x3,_0x3078ab)],nt);var tn=Object[_0x132e4f(0x129)],sn=(_0x585afc,_0xfbd300,_0x3ccafe,_0x52433d)=>{for(var _0x597290=_0x52433d>0x1?void 0x0:_0x52433d?tn(_0xfbd300,_0x3ccafe):_0xfbd300,_0x44bfec=_0x585afc['length']-0x1,_0x41b5fa;_0x44bfec>=0x0;_0x44bfec--)(_0x41b5fa=_0x585afc[_0x44bfec])&&(_0x597290=_0x41b5fa(_0x597290)||_0x597290);return _0x597290;},Wt=(_0x3f5a4a,_0x38b393)=>(_0x16b248,_0x39e8a5)=>_0x38b393(_0x16b248,_0x39e8a5,_0x3f5a4a);const nn=_0x132e4f(0x259),rn='Univer';let It=class extends _0x14edb1{constructor(_0x1aafc6,_0xc4966e){var _0x1aa8b7=_0x132e4f;super(),this[_0x1aa8b7(0xdf)]=_0x1aafc6,this['_configService']=_0xc4966e,this[_0x1aa8b7(0x319)]();}[_0x132e4f(0x319)](){var _0x273184=_0x132e4f;this[_0x273184(0x276)](this[_0x273184(0xdf)][_0x273184(0x1c7)]['subscribe'](()=>{var _0x17e6bc=_0x273184,_0x1bf370;const _0x4261ec=this['_univerInstanceService'][_0x17e6bc(0x168)]();let _0xba6e65=(_0x1bf370=this[_0x17e6bc(0x1da)][_0x17e6bc(0x35c)](nn))!=null?_0x1bf370:rn;_0x4261ec instanceof _0x2094e6&&(_0xba6e65=_0x4261ec[_0x17e6bc(0x22b)]),document['title']=_0xba6e65;}));}};It=sn([Wt(0x0,_0x3078ab),Wt(0x1,_0x2697d9)],It);var an=Object['getOwnPropertyDescriptor'],on=(_0x5e8c94,_0x39990b,_0x2be8a2,_0x55cbf4)=>{var _0x56c67a=_0x132e4f;for(var _0x54787c=_0x55cbf4>0x1?void 0x0:_0x55cbf4?an(_0x39990b,_0x2be8a2):_0x39990b,_0xf30d39=_0x5e8c94[_0x56c67a(0x232)]-0x1,_0x310618;_0xf30d39>=0x0;_0xf30d39--)(_0x310618=_0x5e8c94[_0xf30d39])&&(_0x54787c=_0x310618(_0x54787c)||_0x54787c);return _0x54787c;},dt=(_0x27636d,_0x2b6a0e)=>(_0x2f3f8f,_0x43b1fc)=>_0x2b6a0e(_0x2f3f8f,_0x43b1fc,_0x27636d);let rt=class{constructor(_0x2ea08e,_0x1aff13,_0x4cd34d){var _0x2e6a55=_0x132e4f;this[_0x2e6a55(0x1da)]=_0x2ea08e,this[_0x2e6a55(0xf4)]=_0x1aff13,this[_0x2e6a55(0x332)]=_0x4cd34d,this[_0x2e6a55(0x146)]();}['init'](){var _0x5ae7ab=_0x132e4f;this['_httpService'][_0x5ae7ab(0x236)]({'priority':0x1,'interceptor':(_0x1cc2ca,_0x235fe8)=>_0x235fe8(_0x1cc2ca)[_0x5ae7ab(0x33f)](_0xae101e(async _0x530e77=>{var _0xdc7c1c=_0x5ae7ab;const _0x51d005=_0x530e77;if(_0x51d005[_0xdc7c1c(0x1ad)]===0x191){if(typeof window>'u')throw new Error(_0xdc7c1c(0x8c));if(window[_0xdc7c1c(0x1cc)](this[_0xdc7c1c(0x332)]['t'](_0xdc7c1c(0x2dd)))){const _0x5aeca6=window[_0xdc7c1c(0x107)](window[_0xdc7c1c(0xd9)][_0xdc7c1c(0x181)]);window[_0xdc7c1c(0xd9)][_0xdc7c1c(0x181)]=this[_0xdc7c1c(0x174)]()+'?url='+_0x5aeca6;}}return _0x51d005;}))});}[_0x132e4f(0x174)](){var _0x38a4f2=_0x132e4f,_0x11e736,_0x36c4ac;const _0x38dde8=this['_configService'][_0x38a4f2(0x35c)](ys),_0x30f5c1=this[_0x38a4f2(0x1da)]['getConfig'](K);return(_0x36c4ac=(_0x11e736=_0x30f5c1==null?void 0x0:_0x30f5c1[_0x38a4f2(0xce)])!=null?_0x11e736:_0x38dde8)!=null?_0x36c4ac:Ns;}};rt=on([dt(0x0,_0x2697d9),dt(0x1,_0x272268(_0x3f17c)),dt(0x2,_0x272268(_0xe273c0))],rt);var cn=Object[_0x132e4f(0x129)],hn=(_0x43aa5a,_0x16410c,_0x3cf7bd,_0x1ea4bf)=>{var _0x18afbf=_0x132e4f;for(var _0x3b6d51=_0x1ea4bf>0x1?void 0x0:_0x1ea4bf?cn(_0x16410c,_0x3cf7bd):_0x16410c,_0x3caf18=_0x43aa5a[_0x18afbf(0x232)]-0x1,_0x46bd8e;_0x3caf18>=0x0;_0x3caf18--)(_0x46bd8e=_0x43aa5a[_0x3caf18])&&(_0x3b6d51=_0x46bd8e(_0x3b6d51)||_0x3b6d51);return _0x3b6d51;},Kt=(_0x3080af,_0x2436de)=>(_0x535c02,_0x1e391f)=>_0x2436de(_0x535c02,_0x1e391f,_0x3080af);const Oi=_0x132e4f(0x299),_n=_0x132e4f(0x1a2);let Tt=class extends _0x14edb1{constructor(_0x1f5812,_0x256973){var _0x580b37=_0x132e4f;super(),this[_0x580b37(0x376)]=_0x1f5812,this[_0x580b37(0x1da)]=_0x256973,this[_0x580b37(0x35b)]();}['_initMergeInterceptor'](){var _0x544e35=_0x132e4f;const _0x216334=this;this['disposeWithMe'](this['_HTTPService'][_0x544e35(0x236)]({'priority':0x3e7,'interceptor':_0x2d3c58({'isMatch'(_0xf79aaf){var _0x31ff2c=_0x544e35,_0x1baaa0;if(_0xf79aaf[_0x31ff2c(0x205)]===_0x31ff2c(0x1f9)&&((_0x1baaa0=_0xf79aaf[_0x31ff2c(0x124)])!=null&&_0x1baaa0[_0x31ff2c(0x14d)])){const {objectID:_0x46ce8d,objectType:_0x47a4a0}=_0xf79aaf[_0x31ff2c(0x124)]['body']||{};if(!_0x46ce8d||_0x47a4a0===void 0x0)return!0x1;const _0x420175=_0x216334['_getAPIPrefixPath']()+'/'+_0x47a4a0+_0x31ff2c(0x33c)+_0x46ce8d+_0x31ff2c(0x18c);if(_0xf79aaf[_0x31ff2c(0xc5)]===_0x420175)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5d33a7){var _0x3d6ad3=_0x544e35,_0x48985f;return(_0x48985f=_0x5d33a7[_0x3d6ad3(0x124)])==null?void 0x0:_0x48985f[_0x3d6ad3(0x14d)];},'mergeParamsToRequest'(_0x2ce443,_0x5311b8){var _0x567c3b=_0x544e35;const _0x1ad77a=_0x216334[_0x567c3b(0xbb)]()+_0x567c3b(0x7b),_0x5e0e60=_0x2ce443[_0x567c3b(0x25d)]((_0x3907e3,_0x4cd45a)=>{var _0x2a3c65=_0x567c3b;const {unitID:_0x40abd5,objectID:_0x535015,objectType:_0x301ae7,actions:_0x109e0a}=_0x4cd45a;return _0x3907e3[_0x40abd5]||(_0x3907e3[_0x40abd5]={}),_0x3907e3[_0x40abd5][_0x535015]||(_0x3907e3[_0x40abd5][_0x535015]={'objectID':_0x535015,'objectType':_0x301ae7,'actions':[]}),_0x3907e3[_0x40abd5][_0x535015][_0x2a3c65(0xcf)][_0x2a3c65(0x2ca)](..._0x109e0a),_0x3907e3;},{}),_0x20d586=[];for(const _0x3a6038 in _0x5e0e60)for(const _0x46e9c7 in _0x5e0e60[_0x3a6038]){const {actions:_0x4a35f7,objectType:_0x1c49e7}=_0x5e0e60[_0x3a6038][_0x46e9c7],_0x43a15b=[...new Set(_0x4a35f7)];_0x20d586[_0x567c3b(0x2ca)]({'unitID':_0x3a6038,'objectID':_0x46e9c7,'objectType':_0x1c49e7,'actions':_0x43a15b});}return new _0x24032c(_0x567c3b(0x1f9),_0x1ad77a,{'headers':_0x5311b8[_0x567c3b(0x274)],'withCredentials':_0x5311b8['withCredentials'],'responseType':_0x5311b8[_0x567c3b(0x298)],'body':{'requests':_0x20d586}});}},{'distributeResult'(_0x386fce,_0xaca3b4){var _0x5f4967=_0x544e35;const {objectActions:_0x3835d6}=_0x386fce;return _0xaca3b4[_0x5f4967(0x2a7)](_0x3f8c7e=>{var _0x2e4137=_0x5f4967;const {unitID:_0x5ad53a,objectID:_0x5025d5,actions:_0xa94a42}=_0x3f8c7e,_0x4f5169=_0x3835d6['find'](_0x2bc8d1=>_0x2bc8d1['unitID']===_0x5ad53a&&_0x2bc8d1[_0x2e4137(0xb3)]===_0x5025d5),_0x380b7b=_0xa94a42['map'](_0x3cc005=>_0x4f5169==null?void 0x0:_0x4f5169[_0x2e4137(0xcf)]['find'](_0x356916=>_0x356916['action']===_0x3cc005))[_0x2e4137(0x323)](_0x1cf2bc=>!!_0x1cf2bc);return{'config':_0x3f8c7e,'result':{'actions':_0x380b7b,'error':_0x386fce[_0x2e4137(0x13c)]}};});}})}));}[_0x132e4f(0xbb)](){var _0x31623a=_0x132e4f,_0x2148c6,_0x3fe7a0;const _0x433e73=this['_configService'][_0x31623a(0x35c)](Oi),_0x3c23dc=this['_configService'][_0x31623a(0x35c)](K);return(_0x3fe7a0=(_0x2148c6=_0x3c23dc==null?void 0x0:_0x3c23dc['authzUrl'])!=null?_0x2148c6:_0x433e73)!=null?_0x3fe7a0:_n;}async[_0x132e4f(0x149)](_0x197047){var _0x17586e=_0x132e4f;const _0x482fba=this[_0x17586e(0xbb)]()+'/'+_0x197047[_0x17586e(0x215)]+'/object';return(await this[_0x17586e(0x376)]['post'](_0x482fba,{'body':_0x197047}))[_0x17586e(0x14d)][_0x17586e(0xb3)]||'';}async['list'](_0x467ad8){var _0x38b4da=_0x132e4f;const _0x100aa5=this[_0x38b4da(0xbb)]()+'/-/object/list';return(await this['_HTTPService']['post'](_0x100aa5,{'body':_0x467ad8}))[_0x38b4da(0x14d)][_0x38b4da(0x356)];}async[_0x132e4f(0x1ea)](_0x3af94b){var _0x9f3ffd=_0x132e4f,_0x1e7b51,_0x582a49;const _0x3cd975=this[_0x9f3ffd(0xbb)]()+'/'+_0x3af94b[_0x9f3ffd(0x215)]+_0x9f3ffd(0x33c)+_0x3af94b[_0x9f3ffd(0xb3)],_0x3a4dbd=await this[_0x9f3ffd(0x376)]['put'](_0x3cd975,{'body':_0x3af94b});if(((_0x582a49=(_0x1e7b51=_0x3a4dbd==null?void 0x0:_0x3a4dbd[_0x9f3ffd(0x14d)])==null?void 0x0:_0x1e7b51[_0x9f3ffd(0x13c)])==null?void 0x0:_0x582a49[_0x9f3ffd(0x132)])!==0x1)throw new Error(_0x9f3ffd(0x354));}async[_0x132e4f(0xa8)](_0x33e792){var _0x541f5e=_0x132e4f;const _0x12e6ae=this['_getAPIPrefixPath']()+'/'+_0x33e792[_0x541f5e(0x215)]+_0x541f5e(0x33c)+_0x33e792[_0x541f5e(0xb3)]+'/allowed';return(await this[_0x541f5e(0x376)][_0x541f5e(0xb6)](_0x12e6ae,{'body':_0x33e792}))[_0x541f5e(0x14d)][_0x541f5e(0xcf)];}async[_0x132e4f(0x302)](_0x3fca37){var _0x3dc302=_0x132e4f;const _0x16f5e3=this[_0x3dc302(0xbb)]()+_0x3dc302(0x7b);return(await this[_0x3dc302(0x376)][_0x3dc302(0xb6)](_0x16f5e3,{'body':{'requests':_0x3fca37}}))['body']['objectActions'];}async['listRoles'](_0x2bc4e3){var _0x3fde81=_0x132e4f;const _0x1609f0=this[_0x3fde81(0xbb)]()+'/'+_0x2bc4e3[_0x3fde81(0x215)]+_0x3fde81(0x331),_0x16c2b3=await this[_0x3fde81(0x376)]['post'](_0x1609f0,{'body':_0x2bc4e3});return{'roles':_0x16c2b3['body']['roles'],'actions':_0x16c2b3['body'][_0x3fde81(0xcf)]};}async['deleteCollaborator'](_0x4d5204){var _0x4504a3=_0x132e4f;const _0x3da65e=this['_getAPIPrefixPath']()+_0x4504a3(0x1c5);await this[_0x4504a3(0x376)][_0x4504a3(0x92)](_0x3da65e,{'params':{'collaboratorID':_0x4d5204[_0x4504a3(0x2ff)],'objectID':_0x4d5204[_0x4504a3(0xb3)],'unitID':_0x4d5204['unitID']}});}async[_0x132e4f(0x213)](_0x49d908){var _0x29d1ee=_0x132e4f;const _0x486841=this[_0x29d1ee(0xbb)]()+_0x29d1ee(0x1c5);await this[_0x29d1ee(0x376)][_0x29d1ee(0x9b)](_0x486841,{'body':_0x49d908});}async[_0x132e4f(0x21f)](_0x16d550){var _0xdd3ea4=_0x132e4f;const _0x764ca5=this[_0xdd3ea4(0xbb)]()+'/collaborator';await this[_0xdd3ea4(0x376)]['post'](_0x764ca5,{'body':_0x16d550});}async['listCollaborators'](_0x5c8975){var _0x29242b=_0x132e4f;const _0x390960=this[_0x29242b(0xbb)]()+_0x29242b(0x1c5);return(await this[_0x29242b(0x376)]['get'](_0x390960,{'params':{'objectID':_0x5c8975[_0x29242b(0xb3)],'unitID':_0x5c8975['unitID']}}))['body'][_0x29242b(0xed)];}async[_0x132e4f(0x31c)](_0x4e3541){var _0x5a0255=_0x132e4f;const _0x1a0564=this[_0x5a0255(0xbb)]()+'/collaborator';await this[_0x5a0255(0x376)][_0x5a0255(0x15b)](_0x1a0564,{'body':_0x4e3541});}};Tt=hn([Kt(0x0,_0x272268(_0x3f17c)),Kt(0x1,_0x272268(_0x2697d9))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x22e00e){var _0x30b4eb=_0x132e4f;return _0x22e00e&&_0x22e00e['__esModule']&&Object[_0x30b4eb(0x1c2)][_0x30b4eb(0x99)][_0x30b4eb(0x203)](_0x22e00e,_0x30b4eb(0x269))?_0x22e00e['default']:_0x22e00e;}var Ve={'exports':{}};function ln(_0x44c487){var _0x210218=_0x132e4f;throw new Error(_0x210218(0x7f)+_0x44c487+_0x210218(0x176));}var Ge={'exports':{}},un=Ge[_0x132e4f(0xda)],qt;function te(){var _0x303bfb=_0x132e4f;return qt||(qt=0x1,function(_0x291785,_0x10155f){(function(_0x36688b,_0x4dce0f){_0x291785['exports']=_0x4dce0f();}(un,function(){var _0x4fc253=_0x4fc253||function(_0x5f2551,_0x13d311){var _0x583ad3=_0xa8aa,_0x59e36c;if(typeof window<'u'&&window['crypto']&&(_0x59e36c=window[_0x583ad3(0x2ef)]),typeof self<'u'&&self[_0x583ad3(0x2ef)]&&(_0x59e36c=self['crypto']),typeof globalThis<'u'&&globalThis[_0x583ad3(0x2ef)]&&(_0x59e36c=globalThis[_0x583ad3(0x2ef)]),!_0x59e36c&&typeof window<'u'&&window[_0x583ad3(0x2f0)]&&(_0x59e36c=window['msCrypto']),!_0x59e36c&&typeof ft<'u'&&ft[_0x583ad3(0x2ef)]&&(_0x59e36c=ft['crypto']),!_0x59e36c&&typeof ln==_0x583ad3(0xdb))try{_0x59e36c=require('crypto');}catch{}var _0x55e2a7=function(){var _0xba5195=_0x583ad3;if(_0x59e36c){if(typeof _0x59e36c['getRandomValues']=='function')try{return _0x59e36c['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x59e36c[_0xba5195(0x348)]==_0xba5195(0xdb))try{return _0x59e36c[_0xba5195(0x348)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3a82f1=Object[_0x583ad3(0x149)]||(function(){function _0x18711b(){}return function(_0x188619){var _0x5ef9ea;return _0x18711b['prototype']=_0x188619,_0x5ef9ea=new _0x18711b(),_0x18711b['prototype']=null,_0x5ef9ea;};}()),_0xfb1fc8={},_0x389bfb=_0xfb1fc8[_0x583ad3(0x33d)]={},_0x4c86c9=_0x389bfb['Base']=(function(){return{'extend':function(_0x5c1a4a){var _0x342712=_0xa8aa,_0x588147=_0x3a82f1(this);return _0x5c1a4a&&_0x588147[_0x342712(0x1f6)](_0x5c1a4a),(!_0x588147['hasOwnProperty'](_0x342712(0x146))||this[_0x342712(0x146)]===_0x588147[_0x342712(0x146)])&&(_0x588147['init']=function(){var _0x4e0d73=_0x342712;_0x588147[_0x4e0d73(0xbe)][_0x4e0d73(0x146)]['apply'](this,arguments);}),_0x588147[_0x342712(0x146)][_0x342712(0x1c2)]=_0x588147,_0x588147[_0x342712(0xbe)]=this,_0x588147;},'create':function(){var _0x287524=_0xa8aa,_0x1b91e1=this[_0x287524(0xcb)]();return _0x1b91e1['init'][_0x287524(0x15e)](_0x1b91e1,arguments),_0x1b91e1;},'init':function(){},'mixIn':function(_0x32e16e){var _0x28373e=_0xa8aa;for(var _0x32758e in _0x32e16e)_0x32e16e[_0x28373e(0x99)](_0x32758e)&&(this[_0x32758e]=_0x32e16e[_0x32758e]);_0x32e16e[_0x28373e(0x99)](_0x28373e(0x2c3))&&(this[_0x28373e(0x2c3)]=_0x32e16e[_0x28373e(0x2c3)]);},'clone':function(){var _0x21ac5d=_0xa8aa;return this[_0x21ac5d(0x146)][_0x21ac5d(0x1c2)][_0x21ac5d(0xcb)](this);}};}()),_0x23a393=_0x389bfb['WordArray']=_0x4c86c9[_0x583ad3(0xcb)]({'init':function(_0x3301d3,_0x4eefe3){var _0x1e22e3=_0x583ad3;_0x3301d3=this[_0x1e22e3(0x19e)]=_0x3301d3||[],_0x4eefe3!=_0x13d311?this['sigBytes']=_0x4eefe3:this['sigBytes']=_0x3301d3[_0x1e22e3(0x232)]*0x4;},'toString':function(_0x34f09d){var _0x1a11e0=_0x583ad3;return(_0x34f09d||_0x3d4528)[_0x1a11e0(0x2a6)](this);},'concat':function(_0x1d57e8){var _0x596d5e=_0x583ad3,_0x15829e=this[_0x596d5e(0x19e)],_0xd0d6a4=_0x1d57e8['words'],_0x12b1a5=this['sigBytes'],_0x160e6d=_0x1d57e8[_0x596d5e(0x300)];if(this['clamp'](),_0x12b1a5%0x4)for(var _0xe45a35=0x0;_0xe45a35<_0x160e6d;_0xe45a35++){var _0x456ba0=_0xd0d6a4[_0xe45a35>>>0x2]>>>0x18-_0xe45a35%0x4*0x8&0xff;_0x15829e[_0x12b1a5+_0xe45a35>>>0x2]|=_0x456ba0<<0x18-(_0x12b1a5+_0xe45a35)%0x4*0x8;}else{for(var _0x10c937=0x0;_0x10c937<_0x160e6d;_0x10c937+=0x4)_0x15829e[_0x12b1a5+_0x10c937>>>0x2]=_0xd0d6a4[_0x10c937>>>0x2];}return this[_0x596d5e(0x300)]+=_0x160e6d,this;},'clamp':function(){var _0x577608=_0x583ad3,_0x38840a=this['words'],_0x3ab6c4=this[_0x577608(0x300)];_0x38840a[_0x3ab6c4>>>0x2]&=0xffffffff<<0x20-_0x3ab6c4%0x4*0x8,_0x38840a[_0x577608(0x232)]=_0x5f2551[_0x577608(0x295)](_0x3ab6c4/0x4);},'clone':function(){var _0x25f142=_0x583ad3,_0x5f081a=_0x4c86c9['clone'][_0x25f142(0x203)](this);return _0x5f081a[_0x25f142(0x19e)]=this['words'][_0x25f142(0x36b)](0x0),_0x5f081a;},'random':function(_0x2781df){var _0x4f0352=_0x583ad3;for(var _0xde6b1b=[],_0x20546c=0x0;_0x20546c<_0x2781df;_0x20546c+=0x4)_0xde6b1b['push'](_0x55e2a7());return new _0x23a393[(_0x4f0352(0x146))](_0xde6b1b,_0x2781df);}}),_0x27fa09=_0xfb1fc8[_0x583ad3(0x20e)]={},_0x3d4528=_0x27fa09[_0x583ad3(0x187)]={'stringify':function(_0xde4f65){var _0x4a769e=_0x583ad3;for(var _0x6b126d=_0xde4f65['words'],_0x3bd9f4=_0xde4f65[_0x4a769e(0x300)],_0x4b838f=[],_0x45c998=0x0;_0x45c998<_0x3bd9f4;_0x45c998++){var _0x44fd11=_0x6b126d[_0x45c998>>>0x2]>>>0x18-_0x45c998%0x4*0x8&0xff;_0x4b838f['push']((_0x44fd11>>>0x4)[_0x4a769e(0x2c3)](0x10)),_0x4b838f[_0x4a769e(0x2ca)]((_0x44fd11&0xf)['toString'](0x10));}return _0x4b838f[_0x4a769e(0x159)]('');},'parse':function(_0x13619b){var _0x5e144e=_0x583ad3;for(var _0x5e68e8=_0x13619b[_0x5e144e(0x232)],_0xcde800=[],_0x23f530=0x0;_0x23f530<_0x5e68e8;_0x23f530+=0x2)_0xcde800[_0x23f530>>>0x3]|=parseInt(_0x13619b[_0x5e144e(0x17d)](_0x23f530,0x2),0x10)<<0x18-_0x23f530%0x8*0x4;return new _0x23a393[(_0x5e144e(0x146))](_0xcde800,_0x5e68e8/0x2);}},_0x5699a8=_0x27fa09[_0x583ad3(0x245)]={'stringify':function(_0x299db8){var _0xd7ece3=_0x583ad3;for(var _0x2f78dc=_0x299db8['words'],_0x40ce2e=_0x299db8['sigBytes'],_0x3d4368=[],_0x554c69=0x0;_0x554c69<_0x40ce2e;_0x554c69++){var _0x163de7=_0x2f78dc[_0x554c69>>>0x2]>>>0x18-_0x554c69%0x4*0x8&0xff;_0x3d4368[_0xd7ece3(0x2ca)](String['fromCharCode'](_0x163de7));}return _0x3d4368['join']('');},'parse':function(_0xbc38fc){var _0x4b4025=_0x583ad3;for(var _0x48512d=_0xbc38fc[_0x4b4025(0x232)],_0x54561f=[],_0x9a942b=0x0;_0x9a942b<_0x48512d;_0x9a942b++)_0x54561f[_0x9a942b>>>0x2]|=(_0xbc38fc[_0x4b4025(0x1ef)](_0x9a942b)&0xff)<<0x18-_0x9a942b%0x4*0x8;return new _0x23a393[(_0x4b4025(0x146))](_0x54561f,_0x48512d);}},_0x7cecb1=_0x27fa09[_0x583ad3(0x86)]={'stringify':function(_0xa5ed1d){var _0x5f47a7=_0x583ad3;try{return decodeURIComponent(escape(_0x5699a8['stringify'](_0xa5ed1d)));}catch{throw new Error(_0x5f47a7(0x2e1));}},'parse':function(_0x5c005b){return _0x5699a8['parse'](unescape(encodeURIComponent(_0x5c005b)));}},_0x50b98a=_0x389bfb['BufferedBlockAlgorithm']=_0x4c86c9[_0x583ad3(0xcb)]({'reset':function(){var _0x2d43b8=_0x583ad3;this[_0x2d43b8(0x198)]=new _0x23a393[(_0x2d43b8(0x146))](),this[_0x2d43b8(0x289)]=0x0;},'_append':function(_0x217276){var _0x3373ee=_0x583ad3;typeof _0x217276==_0x3373ee(0x1a9)&&(_0x217276=_0x7cecb1[_0x3373ee(0x204)](_0x217276)),this[_0x3373ee(0x198)]['concat'](_0x217276),this[_0x3373ee(0x289)]+=_0x217276['sigBytes'];},'_process':function(_0x5908cc){var _0xdcdecf=_0x583ad3,_0x1fb3d6,_0x29eca9=this[_0xdcdecf(0x198)],_0x117bbe=_0x29eca9[_0xdcdecf(0x19e)],_0x117f4d=_0x29eca9[_0xdcdecf(0x300)],_0x155d39=this[_0xdcdecf(0x2f7)],_0x37dd70=_0x155d39*0x4,_0x1d99dc=_0x117f4d/_0x37dd70;_0x5908cc?_0x1d99dc=_0x5f2551[_0xdcdecf(0x295)](_0x1d99dc):_0x1d99dc=_0x5f2551[_0xdcdecf(0x26b)]((_0x1d99dc|0x0)-this[_0xdcdecf(0x188)],0x0);var _0x2501e1=_0x1d99dc*_0x155d39,_0x102a61=_0x5f2551['min'](_0x2501e1*0x4,_0x117f4d);if(_0x2501e1){for(var _0x4406e4=0x0;_0x4406e4<_0x2501e1;_0x4406e4+=_0x155d39)this[_0xdcdecf(0xbd)](_0x117bbe,_0x4406e4);_0x1fb3d6=_0x117bbe['splice'](0x0,_0x2501e1),_0x29eca9[_0xdcdecf(0x300)]-=_0x102a61;}return new _0x23a393[(_0xdcdecf(0x146))](_0x1fb3d6,_0x102a61);},'clone':function(){var _0x59e584=_0x583ad3,_0x446a00=_0x4c86c9['clone'][_0x59e584(0x203)](this);return _0x446a00['_data']=this[_0x59e584(0x198)]['clone'](),_0x446a00;},'_minBufferSize':0x0});_0x389bfb['Hasher']=_0x50b98a[_0x583ad3(0xcb)]({'cfg':_0x4c86c9['extend'](),'init':function(_0x3ad503){var _0x53054b=_0x583ad3;this[_0x53054b(0x12c)]=this[_0x53054b(0x12c)][_0x53054b(0xcb)](_0x3ad503),this['reset']();},'reset':function(){var _0x51d906=_0x583ad3;_0x50b98a[_0x51d906(0x244)]['call'](this),this[_0x51d906(0x277)]();},'update':function(_0x59355a){var _0x4dbe1d=_0x583ad3;return this['_append'](_0x59355a),this[_0x4dbe1d(0x11d)](),this;},'finalize':function(_0x181c0a){var _0x42d84d=_0x583ad3;_0x181c0a&&this[_0x42d84d(0x367)](_0x181c0a);var _0x4f140d=this[_0x42d84d(0x301)]();return _0x4f140d;},'blockSize':0x10,'_createHelper':function(_0x37675f){return function(_0x5a7398,_0x18ca74){var _0x5e8d81=_0xa8aa;return new _0x37675f[(_0x5e8d81(0x146))](_0x18ca74)['finalize'](_0x5a7398);};},'_createHmacHelper':function(_0x1723fe){return function(_0x4764f0,_0x1993fa){var _0x41d74a=_0xa8aa;return new _0x1fb12c[(_0x41d74a(0x28d))][(_0x41d74a(0x146))](_0x1723fe,_0x1993fa)[_0x41d74a(0x377)](_0x4764f0);};}});var _0x1fb12c=_0xfb1fc8['algo']={};return _0xfb1fc8;}(Math);return _0x4fc253;}));}(Ge)),Ge[_0x303bfb(0xda)];}var Ye={'exports':{}},dn=Ye[_0x132e4f(0xda)],zt;function bi(){var _0x513bb1=_0x132e4f;return zt||(zt=0x1,function(_0x2753f2,_0x32ab5a){(function(_0x57e9f3,_0x398edb){var _0xe7ff2f=_0xa8aa;_0x2753f2[_0xe7ff2f(0xda)]=_0x398edb(te());}(dn,function(_0x2a49ec){var _0x552003=_0xa8aa;return(function(){var _0x5acf6c=_0xa8aa,_0x2e109a=_0x2a49ec,_0x5e7d84=_0x2e109a[_0x5acf6c(0x33d)],_0x57bb1a=_0x5e7d84['WordArray'],_0xfcfa4a=_0x2e109a['enc'];_0xfcfa4a[_0x5acf6c(0xcc)]={'stringify':function(_0xfb7eb7){var _0x3d5d6a=_0x5acf6c,_0x6f45f2=_0xfb7eb7[_0x3d5d6a(0x19e)],_0x488bf7=_0xfb7eb7[_0x3d5d6a(0x300)],_0x524fa6=this[_0x3d5d6a(0x122)];_0xfb7eb7[_0x3d5d6a(0x16b)]();for(var _0x3c37f6=[],_0x3dd70f=0x0;_0x3dd70f<_0x488bf7;_0x3dd70f+=0x3)for(var _0x41cba5=_0x6f45f2[_0x3dd70f>>>0x2]>>>0x18-_0x3dd70f%0x4*0x8&0xff,_0x43030f=_0x6f45f2[_0x3dd70f+0x1>>>0x2]>>>0x18-(_0x3dd70f+0x1)%0x4*0x8&0xff,_0x4e0dba=_0x6f45f2[_0x3dd70f+0x2>>>0x2]>>>0x18-(_0x3dd70f+0x2)%0x4*0x8&0xff,_0x52b579=_0x41cba5<<0x10|_0x43030f<<0x8|_0x4e0dba,_0x1020b3=0x0;_0x1020b3<0x4&&_0x3dd70f+_0x1020b3*0.75<_0x488bf7;_0x1020b3++)_0x3c37f6[_0x3d5d6a(0x2ca)](_0x524fa6[_0x3d5d6a(0xa4)](_0x52b579>>>0x6*(0x3-_0x1020b3)&0x3f));var _0x3f5d92=_0x524fa6[_0x3d5d6a(0xa4)](0x40);if(_0x3f5d92){for(;_0x3c37f6[_0x3d5d6a(0x232)]%0x4;)_0x3c37f6['push'](_0x3f5d92);}return _0x3c37f6[_0x3d5d6a(0x159)]('');},'parse':function(_0x3bc8fd){var _0x31a507=_0x5acf6c,_0x3643c7=_0x3bc8fd[_0x31a507(0x232)],_0x4342a6=this['_map'],_0x383d85=this[_0x31a507(0x2d8)];if(!_0x383d85){_0x383d85=this['_reverseMap']=[];for(var _0x3ac92c=0x0;_0x3ac92c<_0x4342a6[_0x31a507(0x232)];_0x3ac92c++)_0x383d85[_0x4342a6[_0x31a507(0x1ef)](_0x3ac92c)]=_0x3ac92c;}var _0x46e33f=_0x4342a6[_0x31a507(0xa4)](0x40);if(_0x46e33f){var _0x23fb35=_0x3bc8fd['indexOf'](_0x46e33f);_0x23fb35!==-0x1&&(_0x3643c7=_0x23fb35);}return _0x153e68(_0x3bc8fd,_0x3643c7,_0x383d85);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x153e68(_0xd3552c,_0x4a5bff,_0x273141){var _0x55b872=_0x5acf6c;for(var _0x54770f=[],_0x259a7e=0x0,_0x188692=0x0;_0x188692<_0x4a5bff;_0x188692++)if(_0x188692%0x4){var _0x2ca259=_0x273141[_0xd3552c['charCodeAt'](_0x188692-0x1)]<<_0x188692%0x4*0x2,_0xf4474e=_0x273141[_0xd3552c[_0x55b872(0x1ef)](_0x188692)]>>>0x6-_0x188692%0x4*0x2,_0x3b06f0=_0x2ca259|_0xf4474e;_0x54770f[_0x259a7e>>>0x2]|=_0x3b06f0<<0x18-_0x259a7e%0x4*0x8,_0x259a7e++;}return _0x57bb1a['create'](_0x54770f,_0x259a7e);}}()),_0x2a49ec[_0x552003(0x20e)][_0x552003(0xcc)];}));}(Ye)),Ye[_0x513bb1(0xda)];}var We={'exports':{}},fn=We[_0x132e4f(0xda)],Jt;function vn(){var _0x220f69=_0x132e4f;return Jt||(Jt=0x1,function(_0x22567c,_0x156f99){(function(_0x5988b8,_0x4cefaf){var _0x492458=_0xa8aa;_0x22567c[_0x492458(0xda)]=_0x4cefaf(te());}(fn,function(_0x207abb){var _0x4c9d7f=_0xa8aa;return function(_0x6b2c16){var _0xe16f29=_0xa8aa,_0x44be4d=_0x207abb,_0x1bc8e5=_0x44be4d[_0xe16f29(0x33d)],_0x977c47=_0x1bc8e5['WordArray'],_0x471b17=_0x1bc8e5[_0xe16f29(0xa3)],_0x56a4d2=_0x44be4d[_0xe16f29(0x2a2)],_0x3789dc=[];(function(){var _0x4a1ffe=_0xe16f29;for(var _0x2d1130=0x0;_0x2d1130<0x40;_0x2d1130++)_0x3789dc[_0x2d1130]=_0x6b2c16[_0x4a1ffe(0x35a)](_0x6b2c16[_0x4a1ffe(0xc6)](_0x2d1130+0x1))*0x100000000|0x0;}());var _0x399d27=_0x56a4d2['MD5']=_0x471b17['extend']({'_doReset':function(){var _0x256790=_0xe16f29;this[_0x256790(0x1fd)]=new _0x977c47[(_0x256790(0x146))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2fefec,_0x2a3a71){var _0x53ed8a=_0xe16f29;for(var _0x40824e=0x0;_0x40824e<0x10;_0x40824e++){var _0x16ad9f=_0x2a3a71+_0x40824e,_0x2b67a0=_0x2fefec[_0x16ad9f];_0x2fefec[_0x16ad9f]=(_0x2b67a0<<0x8|_0x2b67a0>>>0x18)&0xff00ff|(_0x2b67a0<<0x18|_0x2b67a0>>>0x8)&0xff00ff00;}var _0x4b3c10=this[_0x53ed8a(0x1fd)][_0x53ed8a(0x19e)],_0x24d5e6=_0x2fefec[_0x2a3a71+0x0],_0x23773d=_0x2fefec[_0x2a3a71+0x1],_0x48c217=_0x2fefec[_0x2a3a71+0x2],_0x6a8b1e=_0x2fefec[_0x2a3a71+0x3],_0x30e0cb=_0x2fefec[_0x2a3a71+0x4],_0x3a01f9=_0x2fefec[_0x2a3a71+0x5],_0x350f18=_0x2fefec[_0x2a3a71+0x6],_0x40c0ef=_0x2fefec[_0x2a3a71+0x7],_0xa4c8c9=_0x2fefec[_0x2a3a71+0x8],_0x4a3889=_0x2fefec[_0x2a3a71+0x9],_0x4533b9=_0x2fefec[_0x2a3a71+0xa],_0x270c43=_0x2fefec[_0x2a3a71+0xb],_0x245067=_0x2fefec[_0x2a3a71+0xc],_0xc8158b=_0x2fefec[_0x2a3a71+0xd],_0xbf7812=_0x2fefec[_0x2a3a71+0xe],_0x257c74=_0x2fefec[_0x2a3a71+0xf],_0x246725=_0x4b3c10[0x0],_0xc1b81c=_0x4b3c10[0x1],_0x1c2761=_0x4b3c10[0x2],_0x355412=_0x4b3c10[0x3];_0x246725=_0x296b43(_0x246725,_0xc1b81c,_0x1c2761,_0x355412,_0x24d5e6,0x7,_0x3789dc[0x0]),_0x355412=_0x296b43(_0x355412,_0x246725,_0xc1b81c,_0x1c2761,_0x23773d,0xc,_0x3789dc[0x1]),_0x1c2761=_0x296b43(_0x1c2761,_0x355412,_0x246725,_0xc1b81c,_0x48c217,0x11,_0x3789dc[0x2]),_0xc1b81c=_0x296b43(_0xc1b81c,_0x1c2761,_0x355412,_0x246725,_0x6a8b1e,0x16,_0x3789dc[0x3]),_0x246725=_0x296b43(_0x246725,_0xc1b81c,_0x1c2761,_0x355412,_0x30e0cb,0x7,_0x3789dc[0x4]),_0x355412=_0x296b43(_0x355412,_0x246725,_0xc1b81c,_0x1c2761,_0x3a01f9,0xc,_0x3789dc[0x5]),_0x1c2761=_0x296b43(_0x1c2761,_0x355412,_0x246725,_0xc1b81c,_0x350f18,0x11,_0x3789dc[0x6]),_0xc1b81c=_0x296b43(_0xc1b81c,_0x1c2761,_0x355412,_0x246725,_0x40c0ef,0x16,_0x3789dc[0x7]),_0x246725=_0x296b43(_0x246725,_0xc1b81c,_0x1c2761,_0x355412,_0xa4c8c9,0x7,_0x3789dc[0x8]),_0x355412=_0x296b43(_0x355412,_0x246725,_0xc1b81c,_0x1c2761,_0x4a3889,0xc,_0x3789dc[0x9]),_0x1c2761=_0x296b43(_0x1c2761,_0x355412,_0x246725,_0xc1b81c,_0x4533b9,0x11,_0x3789dc[0xa]),_0xc1b81c=_0x296b43(_0xc1b81c,_0x1c2761,_0x355412,_0x246725,_0x270c43,0x16,_0x3789dc[0xb]),_0x246725=_0x296b43(_0x246725,_0xc1b81c,_0x1c2761,_0x355412,_0x245067,0x7,_0x3789dc[0xc]),_0x355412=_0x296b43(_0x355412,_0x246725,_0xc1b81c,_0x1c2761,_0xc8158b,0xc,_0x3789dc[0xd]),_0x1c2761=_0x296b43(_0x1c2761,_0x355412,_0x246725,_0xc1b81c,_0xbf7812,0x11,_0x3789dc[0xe]),_0xc1b81c=_0x296b43(_0xc1b81c,_0x1c2761,_0x355412,_0x246725,_0x257c74,0x16,_0x3789dc[0xf]),_0x246725=_0x57880c(_0x246725,_0xc1b81c,_0x1c2761,_0x355412,_0x23773d,0x5,_0x3789dc[0x10]),_0x355412=_0x57880c(_0x355412,_0x246725,_0xc1b81c,_0x1c2761,_0x350f18,0x9,_0x3789dc[0x11]),_0x1c2761=_0x57880c(_0x1c2761,_0x355412,_0x246725,_0xc1b81c,_0x270c43,0xe,_0x3789dc[0x12]),_0xc1b81c=_0x57880c(_0xc1b81c,_0x1c2761,_0x355412,_0x246725,_0x24d5e6,0x14,_0x3789dc[0x13]),_0x246725=_0x57880c(_0x246725,_0xc1b81c,_0x1c2761,_0x355412,_0x3a01f9,0x5,_0x3789dc[0x14]),_0x355412=_0x57880c(_0x355412,_0x246725,_0xc1b81c,_0x1c2761,_0x4533b9,0x9,_0x3789dc[0x15]),_0x1c2761=_0x57880c(_0x1c2761,_0x355412,_0x246725,_0xc1b81c,_0x257c74,0xe,_0x3789dc[0x16]),_0xc1b81c=_0x57880c(_0xc1b81c,_0x1c2761,_0x355412,_0x246725,_0x30e0cb,0x14,_0x3789dc[0x17]),_0x246725=_0x57880c(_0x246725,_0xc1b81c,_0x1c2761,_0x355412,_0x4a3889,0x5,_0x3789dc[0x18]),_0x355412=_0x57880c(_0x355412,_0x246725,_0xc1b81c,_0x1c2761,_0xbf7812,0x9,_0x3789dc[0x19]),_0x1c2761=_0x57880c(_0x1c2761,_0x355412,_0x246725,_0xc1b81c,_0x6a8b1e,0xe,_0x3789dc[0x1a]),_0xc1b81c=_0x57880c(_0xc1b81c,_0x1c2761,_0x355412,_0x246725,_0xa4c8c9,0x14,_0x3789dc[0x1b]),_0x246725=_0x57880c(_0x246725,_0xc1b81c,_0x1c2761,_0x355412,_0xc8158b,0x5,_0x3789dc[0x1c]),_0x355412=_0x57880c(_0x355412,_0x246725,_0xc1b81c,_0x1c2761,_0x48c217,0x9,_0x3789dc[0x1d]),_0x1c2761=_0x57880c(_0x1c2761,_0x355412,_0x246725,_0xc1b81c,_0x40c0ef,0xe,_0x3789dc[0x1e]),_0xc1b81c=_0x57880c(_0xc1b81c,_0x1c2761,_0x355412,_0x246725,_0x245067,0x14,_0x3789dc[0x1f]),_0x246725=_0xc0563b(_0x246725,_0xc1b81c,_0x1c2761,_0x355412,_0x3a01f9,0x4,_0x3789dc[0x20]),_0x355412=_0xc0563b(_0x355412,_0x246725,_0xc1b81c,_0x1c2761,_0xa4c8c9,0xb,_0x3789dc[0x21]),_0x1c2761=_0xc0563b(_0x1c2761,_0x355412,_0x246725,_0xc1b81c,_0x270c43,0x10,_0x3789dc[0x22]),_0xc1b81c=_0xc0563b(_0xc1b81c,_0x1c2761,_0x355412,_0x246725,_0xbf7812,0x17,_0x3789dc[0x23]),_0x246725=_0xc0563b(_0x246725,_0xc1b81c,_0x1c2761,_0x355412,_0x23773d,0x4,_0x3789dc[0x24]),_0x355412=_0xc0563b(_0x355412,_0x246725,_0xc1b81c,_0x1c2761,_0x30e0cb,0xb,_0x3789dc[0x25]),_0x1c2761=_0xc0563b(_0x1c2761,_0x355412,_0x246725,_0xc1b81c,_0x40c0ef,0x10,_0x3789dc[0x26]),_0xc1b81c=_0xc0563b(_0xc1b81c,_0x1c2761,_0x355412,_0x246725,_0x4533b9,0x17,_0x3789dc[0x27]),_0x246725=_0xc0563b(_0x246725,_0xc1b81c,_0x1c2761,_0x355412,_0xc8158b,0x4,_0x3789dc[0x28]),_0x355412=_0xc0563b(_0x355412,_0x246725,_0xc1b81c,_0x1c2761,_0x24d5e6,0xb,_0x3789dc[0x29]),_0x1c2761=_0xc0563b(_0x1c2761,_0x355412,_0x246725,_0xc1b81c,_0x6a8b1e,0x10,_0x3789dc[0x2a]),_0xc1b81c=_0xc0563b(_0xc1b81c,_0x1c2761,_0x355412,_0x246725,_0x350f18,0x17,_0x3789dc[0x2b]),_0x246725=_0xc0563b(_0x246725,_0xc1b81c,_0x1c2761,_0x355412,_0x4a3889,0x4,_0x3789dc[0x2c]),_0x355412=_0xc0563b(_0x355412,_0x246725,_0xc1b81c,_0x1c2761,_0x245067,0xb,_0x3789dc[0x2d]),_0x1c2761=_0xc0563b(_0x1c2761,_0x355412,_0x246725,_0xc1b81c,_0x257c74,0x10,_0x3789dc[0x2e]),_0xc1b81c=_0xc0563b(_0xc1b81c,_0x1c2761,_0x355412,_0x246725,_0x48c217,0x17,_0x3789dc[0x2f]),_0x246725=_0x38cc38(_0x246725,_0xc1b81c,_0x1c2761,_0x355412,_0x24d5e6,0x6,_0x3789dc[0x30]),_0x355412=_0x38cc38(_0x355412,_0x246725,_0xc1b81c,_0x1c2761,_0x40c0ef,0xa,_0x3789dc[0x31]),_0x1c2761=_0x38cc38(_0x1c2761,_0x355412,_0x246725,_0xc1b81c,_0xbf7812,0xf,_0x3789dc[0x32]),_0xc1b81c=_0x38cc38(_0xc1b81c,_0x1c2761,_0x355412,_0x246725,_0x3a01f9,0x15,_0x3789dc[0x33]),_0x246725=_0x38cc38(_0x246725,_0xc1b81c,_0x1c2761,_0x355412,_0x245067,0x6,_0x3789dc[0x34]),_0x355412=_0x38cc38(_0x355412,_0x246725,_0xc1b81c,_0x1c2761,_0x6a8b1e,0xa,_0x3789dc[0x35]),_0x1c2761=_0x38cc38(_0x1c2761,_0x355412,_0x246725,_0xc1b81c,_0x4533b9,0xf,_0x3789dc[0x36]),_0xc1b81c=_0x38cc38(_0xc1b81c,_0x1c2761,_0x355412,_0x246725,_0x23773d,0x15,_0x3789dc[0x37]),_0x246725=_0x38cc38(_0x246725,_0xc1b81c,_0x1c2761,_0x355412,_0xa4c8c9,0x6,_0x3789dc[0x38]),_0x355412=_0x38cc38(_0x355412,_0x246725,_0xc1b81c,_0x1c2761,_0x257c74,0xa,_0x3789dc[0x39]),_0x1c2761=_0x38cc38(_0x1c2761,_0x355412,_0x246725,_0xc1b81c,_0x350f18,0xf,_0x3789dc[0x3a]),_0xc1b81c=_0x38cc38(_0xc1b81c,_0x1c2761,_0x355412,_0x246725,_0xc8158b,0x15,_0x3789dc[0x3b]),_0x246725=_0x38cc38(_0x246725,_0xc1b81c,_0x1c2761,_0x355412,_0x30e0cb,0x6,_0x3789dc[0x3c]),_0x355412=_0x38cc38(_0x355412,_0x246725,_0xc1b81c,_0x1c2761,_0x270c43,0xa,_0x3789dc[0x3d]),_0x1c2761=_0x38cc38(_0x1c2761,_0x355412,_0x246725,_0xc1b81c,_0x48c217,0xf,_0x3789dc[0x3e]),_0xc1b81c=_0x38cc38(_0xc1b81c,_0x1c2761,_0x355412,_0x246725,_0x4a3889,0x15,_0x3789dc[0x3f]),_0x4b3c10[0x0]=_0x4b3c10[0x0]+_0x246725|0x0,_0x4b3c10[0x1]=_0x4b3c10[0x1]+_0xc1b81c|0x0,_0x4b3c10[0x2]=_0x4b3c10[0x2]+_0x1c2761|0x0,_0x4b3c10[0x3]=_0x4b3c10[0x3]+_0x355412|0x0;},'_doFinalize':function(){var _0x5aa36e=_0xe16f29,_0x1bde83=this[_0x5aa36e(0x198)],_0x465897=_0x1bde83[_0x5aa36e(0x19e)],_0x449fdb=this[_0x5aa36e(0x289)]*0x8,_0xdd21c4=_0x1bde83['sigBytes']*0x8;_0x465897[_0xdd21c4>>>0x5]|=0x80<<0x18-_0xdd21c4%0x20;var _0x7156d5=_0x6b2c16[_0x5aa36e(0x27a)](_0x449fdb/0x100000000),_0x5408cc=_0x449fdb;_0x465897[(_0xdd21c4+0x40>>>0x9<<0x4)+0xf]=(_0x7156d5<<0x8|_0x7156d5>>>0x18)&0xff00ff|(_0x7156d5<<0x18|_0x7156d5>>>0x8)&0xff00ff00,_0x465897[(_0xdd21c4+0x40>>>0x9<<0x4)+0xe]=(_0x5408cc<<0x8|_0x5408cc>>>0x18)&0xff00ff|(_0x5408cc<<0x18|_0x5408cc>>>0x8)&0xff00ff00,_0x1bde83[_0x5aa36e(0x300)]=(_0x465897['length']+0x1)*0x4,this[_0x5aa36e(0x11d)]();for(var _0x1bc418=this[_0x5aa36e(0x1fd)],_0x2fc26a=_0x1bc418[_0x5aa36e(0x19e)],_0x1e1ed4=0x0;_0x1e1ed4<0x4;_0x1e1ed4++){var _0x2136e9=_0x2fc26a[_0x1e1ed4];_0x2fc26a[_0x1e1ed4]=(_0x2136e9<<0x8|_0x2136e9>>>0x18)&0xff00ff|(_0x2136e9<<0x18|_0x2136e9>>>0x8)&0xff00ff00;}return _0x1bc418;},'clone':function(){var _0x33d976=_0xe16f29,_0x22e361=_0x471b17[_0x33d976(0x252)][_0x33d976(0x203)](this);return _0x22e361['_hash']=this['_hash']['clone'](),_0x22e361;}});function _0x296b43(_0x53460a,_0x2936cc,_0x1948a2,_0x26e4ed,_0x228029,_0x47f7e7,_0x3265f6){var _0x1a7c92=_0x53460a+(_0x2936cc&_0x1948a2|~_0x2936cc&_0x26e4ed)+_0x228029+_0x3265f6;return(_0x1a7c92<<_0x47f7e7|_0x1a7c92>>>0x20-_0x47f7e7)+_0x2936cc;}function _0x57880c(_0x5a703c,_0x3178fd,_0x18f7ba,_0x37f420,_0xb46727,_0x18f3b7,_0xe1ebe6){var _0x46fa54=_0x5a703c+(_0x3178fd&_0x37f420|_0x18f7ba&~_0x37f420)+_0xb46727+_0xe1ebe6;return(_0x46fa54<<_0x18f3b7|_0x46fa54>>>0x20-_0x18f3b7)+_0x3178fd;}function _0xc0563b(_0x1adb49,_0x243574,_0x566c55,_0x28e41d,_0x2f10e1,_0x51c575,_0x7c6c83){var _0x5cddb1=_0x1adb49+(_0x243574^_0x566c55^_0x28e41d)+_0x2f10e1+_0x7c6c83;return(_0x5cddb1<<_0x51c575|_0x5cddb1>>>0x20-_0x51c575)+_0x243574;}function _0x38cc38(_0x598ef8,_0x10e45a,_0x265f7d,_0x2ef480,_0x50de90,_0x175df4,_0x3bac9b){var _0x59c046=_0x598ef8+(_0x265f7d^(_0x10e45a|~_0x2ef480))+_0x50de90+_0x3bac9b;return(_0x59c046<<_0x175df4|_0x59c046>>>0x20-_0x175df4)+_0x10e45a;}_0x44be4d[_0xe16f29(0x8f)]=_0x471b17['_createHelper'](_0x399d27),_0x44be4d[_0xe16f29(0x370)]=_0x471b17[_0xe16f29(0x217)](_0x399d27);}(Math),_0x207abb[_0x4c9d7f(0x8f)];}));}(We)),We[_0x220f69(0xda)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x132e4f(0xda)],Xt;function mn(){var _0x4d287a=_0x132e4f;return Xt||(Xt=0x1,function(_0x65206c,_0x5bc46f){(function(_0x159f6b,_0x50ff15){_0x65206c['exports']=_0x50ff15(te());}(pn,function(_0x48e408){var _0x514ba6=_0xa8aa;return(function(){var _0x3a91ca=_0xa8aa,_0x4e235e=_0x48e408,_0x47b18a=_0x4e235e['lib'],_0x2844c4=_0x47b18a[_0x3a91ca(0xa5)],_0x246bb1=_0x47b18a[_0x3a91ca(0xa3)],_0x1fc458=_0x4e235e['algo'],_0x410d72=[],_0x31fb3=_0x1fc458['SHA1']=_0x246bb1['extend']({'_doReset':function(){var _0x12bc96=_0x3a91ca;this[_0x12bc96(0x1fd)]=new _0x2844c4[(_0x12bc96(0x146))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3ff3d0,_0x6cf137){var _0x53d6d3=_0x3a91ca;for(var _0x325e7c=this[_0x53d6d3(0x1fd)][_0x53d6d3(0x19e)],_0x26c870=_0x325e7c[0x0],_0x18fae3=_0x325e7c[0x1],_0x27596e=_0x325e7c[0x2],_0xf301cd=_0x325e7c[0x3],_0x4d8f68=_0x325e7c[0x4],_0x2261e4=0x0;_0x2261e4<0x50;_0x2261e4++){if(_0x2261e4<0x10)_0x410d72[_0x2261e4]=_0x3ff3d0[_0x6cf137+_0x2261e4]|0x0;else{var _0xc11a26=_0x410d72[_0x2261e4-0x3]^_0x410d72[_0x2261e4-0x8]^_0x410d72[_0x2261e4-0xe]^_0x410d72[_0x2261e4-0x10];_0x410d72[_0x2261e4]=_0xc11a26<<0x1|_0xc11a26>>>0x1f;}var _0x20fe12=(_0x26c870<<0x5|_0x26c870>>>0x1b)+_0x4d8f68+_0x410d72[_0x2261e4];_0x2261e4<0x14?_0x20fe12+=(_0x18fae3&_0x27596e|~_0x18fae3&_0xf301cd)+0x5a827999:_0x2261e4<0x28?_0x20fe12+=(_0x18fae3^_0x27596e^_0xf301cd)+0x6ed9eba1:_0x2261e4<0x3c?_0x20fe12+=(_0x18fae3&_0x27596e|_0x18fae3&_0xf301cd|_0x27596e&_0xf301cd)-0x70e44324:_0x20fe12+=(_0x18fae3^_0x27596e^_0xf301cd)-0x359d3e2a,_0x4d8f68=_0xf301cd,_0xf301cd=_0x27596e,_0x27596e=_0x18fae3<<0x1e|_0x18fae3>>>0x2,_0x18fae3=_0x26c870,_0x26c870=_0x20fe12;}_0x325e7c[0x0]=_0x325e7c[0x0]+_0x26c870|0x0,_0x325e7c[0x1]=_0x325e7c[0x1]+_0x18fae3|0x0,_0x325e7c[0x2]=_0x325e7c[0x2]+_0x27596e|0x0,_0x325e7c[0x3]=_0x325e7c[0x3]+_0xf301cd|0x0,_0x325e7c[0x4]=_0x325e7c[0x4]+_0x4d8f68|0x0;},'_doFinalize':function(){var _0x4e7fe1=_0x3a91ca,_0x2c2058=this[_0x4e7fe1(0x198)],_0x59b5d1=_0x2c2058['words'],_0x5473a9=this[_0x4e7fe1(0x289)]*0x8,_0x3a06f2=_0x2c2058[_0x4e7fe1(0x300)]*0x8;return _0x59b5d1[_0x3a06f2>>>0x5]|=0x80<<0x18-_0x3a06f2%0x20,_0x59b5d1[(_0x3a06f2+0x40>>>0x9<<0x4)+0xe]=Math[_0x4e7fe1(0x27a)](_0x5473a9/0x100000000),_0x59b5d1[(_0x3a06f2+0x40>>>0x9<<0x4)+0xf]=_0x5473a9,_0x2c2058[_0x4e7fe1(0x300)]=_0x59b5d1['length']*0x4,this[_0x4e7fe1(0x11d)](),this[_0x4e7fe1(0x1fd)];},'clone':function(){var _0x53a9e0=_0x3a91ca,_0x4eba1e=_0x246bb1[_0x53a9e0(0x252)]['call'](this);return _0x4eba1e['_hash']=this['_hash'][_0x53a9e0(0x252)](),_0x4eba1e;}});_0x4e235e[_0x3a91ca(0x2d5)]=_0x246bb1[_0x3a91ca(0x8a)](_0x31fb3),_0x4e235e[_0x3a91ca(0x2e0)]=_0x246bb1['_createHmacHelper'](_0x31fb3);}()),_0x48e408[_0x514ba6(0x2d5)];}));}(qe)),qe[_0x4d287a(0xda)];}var ze={'exports':{}},gn=ze[_0x132e4f(0xda)],Zt;function Sn(){var _0x16e6c1=_0x132e4f;return Zt||(Zt=0x1,function(_0x21bdd1,_0x336ae8){(function(_0x18ad99,_0x269310){_0x21bdd1['exports']=_0x269310(te());}(gn,function(_0x129b46){(function(){var _0x296515=_0xa8aa,_0x239347=_0x129b46,_0x38409c=_0x239347['lib'],_0x439442=_0x38409c[_0x296515(0xe7)],_0x17743e=_0x239347[_0x296515(0x20e)],_0x269c86=_0x17743e[_0x296515(0x86)],_0x46dc61=_0x239347[_0x296515(0x2a2)];_0x46dc61[_0x296515(0x28d)]=_0x439442[_0x296515(0xcb)]({'init':function(_0x205fe9,_0x1c4c06){var _0x4e5439=_0x296515;_0x205fe9=this[_0x4e5439(0x258)]=new _0x205fe9[(_0x4e5439(0x146))](),typeof _0x1c4c06==_0x4e5439(0x1a9)&&(_0x1c4c06=_0x269c86['parse'](_0x1c4c06));var _0x468b9a=_0x205fe9[_0x4e5439(0x2f7)],_0x2b9171=_0x468b9a*0x4;_0x1c4c06[_0x4e5439(0x300)]>_0x2b9171&&(_0x1c4c06=_0x205fe9[_0x4e5439(0x377)](_0x1c4c06)),_0x1c4c06[_0x4e5439(0x16b)]();for(var _0x34730b=this[_0x4e5439(0x1fc)]=_0x1c4c06[_0x4e5439(0x252)](),_0x18c1df=this[_0x4e5439(0x10f)]=_0x1c4c06['clone'](),_0x4016b5=_0x34730b[_0x4e5439(0x19e)],_0x4d8d69=_0x18c1df[_0x4e5439(0x19e)],_0xb3a3de=0x0;_0xb3a3de<_0x468b9a;_0xb3a3de++)_0x4016b5[_0xb3a3de]^=0x5c5c5c5c,_0x4d8d69[_0xb3a3de]^=0x36363636;_0x34730b[_0x4e5439(0x300)]=_0x18c1df[_0x4e5439(0x300)]=_0x2b9171,this['reset']();},'reset':function(){var _0xf944c3=_0x296515,_0x42e24f=this[_0xf944c3(0x258)];_0x42e24f[_0xf944c3(0x244)](),_0x42e24f[_0xf944c3(0x1ea)](this['_iKey']);},'update':function(_0x476242){var _0x243799=_0x296515;return this['_hasher'][_0x243799(0x1ea)](_0x476242),this;},'finalize':function(_0x18bd9f){var _0x36d364=_0x296515,_0x1f6df3=this[_0x36d364(0x258)],_0x32f425=_0x1f6df3[_0x36d364(0x377)](_0x18bd9f);_0x1f6df3[_0x36d364(0x244)]();var _0x13f0e4=_0x1f6df3['finalize'](this[_0x36d364(0x1fc)][_0x36d364(0x252)]()[_0x36d364(0x365)](_0x32f425));return _0x13f0e4;}});}());}));}(ze)),ze[_0x16e6c1(0xda)];}var En=Ke[_0x132e4f(0xda)],Qt;function yi(){return Qt||(Qt=0x1,function(_0x141f03,_0x400026){(function(_0x549ff7,_0x5dedaa,_0x25bc94){var _0x12001d=_0xa8aa;_0x141f03[_0x12001d(0xda)]=_0x5dedaa(te(),mn(),Sn());}(En,function(_0x2deebd){return(function(){var _0x25cfbb=_0xa8aa,_0x1a6790=_0x2deebd,_0x5cf7ce=_0x1a6790['lib'],_0x116727=_0x5cf7ce[_0x25cfbb(0xe7)],_0x14c95e=_0x5cf7ce['WordArray'],_0x3dace7=_0x1a6790['algo'],_0xfbe8a5=_0x3dace7['MD5'],_0x5792cc=_0x3dace7['EvpKDF']=_0x116727[_0x25cfbb(0xcb)]({'cfg':_0x116727['extend']({'keySize':0x80/0x20,'hasher':_0xfbe8a5,'iterations':0x1}),'init':function(_0x45f1cc){var _0x5f0f5a=_0x25cfbb;this[_0x5f0f5a(0x12c)]=this[_0x5f0f5a(0x12c)]['extend'](_0x45f1cc);},'compute':function(_0x3a61a9,_0x3f66f7){var _0xe82eae=_0x25cfbb;for(var _0x572c49,_0x12088c=this[_0xe82eae(0x12c)],_0x4bb4c9=_0x12088c[_0xe82eae(0x363)][_0xe82eae(0x149)](),_0x1b7dac=_0x14c95e[_0xe82eae(0x149)](),_0x393b69=_0x1b7dac[_0xe82eae(0x19e)],_0x2552e1=_0x12088c['keySize'],_0x18906d=_0x12088c['iterations'];_0x393b69[_0xe82eae(0x232)]<_0x2552e1;){_0x572c49&&_0x4bb4c9['update'](_0x572c49),_0x572c49=_0x4bb4c9[_0xe82eae(0x1ea)](_0x3a61a9)[_0xe82eae(0x377)](_0x3f66f7),_0x4bb4c9[_0xe82eae(0x244)]();for(var _0x337473=0x1;_0x337473<_0x18906d;_0x337473++)_0x572c49=_0x4bb4c9[_0xe82eae(0x377)](_0x572c49),_0x4bb4c9[_0xe82eae(0x244)]();_0x1b7dac[_0xe82eae(0x365)](_0x572c49);}return _0x1b7dac[_0xe82eae(0x300)]=_0x2552e1*0x4,_0x1b7dac;}});_0x1a6790[_0x25cfbb(0x2c6)]=function(_0x25e5ee,_0x7fcb1f,_0x20ced2){var _0x2da115=_0x25cfbb;return _0x5792cc['create'](_0x20ced2)[_0x2da115(0x139)](_0x25e5ee,_0x7fcb1f);};}()),_0x2deebd['EvpKDF'];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},In=Je[_0x132e4f(0xda)],ei;function Ni(){var _0x220921=_0x132e4f;return ei||(ei=0x1,function(_0x5c67a5,_0x141304){(function(_0x48d475,_0x34edf5,_0x7d2336){var _0x312b92=_0xa8aa;_0x5c67a5[_0x312b92(0xda)]=_0x34edf5(te(),yi());}(In,function(_0x4a2ad4){var _0x2f565c=_0xa8aa;_0x4a2ad4[_0x2f565c(0x33d)][_0x2f565c(0xf7)]||function(_0x29e590){var _0xd7a8af=_0x2f565c,_0x132fb4=_0x4a2ad4,_0x3e341b=_0x132fb4[_0xd7a8af(0x33d)],_0x2896cb=_0x3e341b[_0xd7a8af(0xe7)],_0x2b9cfd=_0x3e341b[_0xd7a8af(0xa5)],_0x24ddc2=_0x3e341b['BufferedBlockAlgorithm'],_0x16139a=_0x132fb4[_0xd7a8af(0x20e)];_0x16139a[_0xd7a8af(0x86)];var _0x83e999=_0x16139a[_0xd7a8af(0xcc)],_0x236512=_0x132fb4[_0xd7a8af(0x2a2)],_0x286294=_0x236512[_0xd7a8af(0x2c6)],_0x10244d=_0x3e341b[_0xd7a8af(0xf7)]=_0x24ddc2[_0xd7a8af(0xcb)]({'cfg':_0x2896cb[_0xd7a8af(0xcb)](),'createEncryptor':function(_0x1c9369,_0x30822f){var _0x7adc0b=_0xd7a8af;return this['create'](this[_0x7adc0b(0x368)],_0x1c9369,_0x30822f);},'createDecryptor':function(_0x5a0cc5,_0xf8298c){return this['create'](this['_DEC_XFORM_MODE'],_0x5a0cc5,_0xf8298c);},'init':function(_0x3ca333,_0x45812a,_0x5987a1){var _0x4e1855=_0xd7a8af;this[_0x4e1855(0x12c)]=this['cfg'][_0x4e1855(0xcb)](_0x5987a1),this[_0x4e1855(0x273)]=_0x3ca333,this[_0x4e1855(0x330)]=_0x45812a,this[_0x4e1855(0x244)]();},'reset':function(){var _0x143256=_0xd7a8af;_0x24ddc2[_0x143256(0x244)]['call'](this),this[_0x143256(0x277)]();},'process':function(_0x440833){var _0x3a1979=_0xd7a8af;return this[_0x3a1979(0x367)](_0x440833),this[_0x3a1979(0x11d)]();},'finalize':function(_0x40d5eb){var _0x106e3e=_0xd7a8af;_0x40d5eb&&this[_0x106e3e(0x367)](_0x40d5eb);var _0x43ecbc=this[_0x106e3e(0x301)]();return _0x43ecbc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x52b248(_0x4b577e){var _0x1292b2=_0xa8aa;return typeof _0x4b577e==_0x1292b2(0x1a9)?_0x2e2ab2:_0x595079;}return function(_0x5ae985){return{'encrypt':function(_0x1902f7,_0x1a4914,_0x26dee5){var _0x4a6462=_0xa8aa;return _0x52b248(_0x1a4914)[_0x4a6462(0x1b3)](_0x5ae985,_0x1902f7,_0x1a4914,_0x26dee5);},'decrypt':function(_0x288b0a,_0x24d8a1,_0x575d70){var _0x4cb9e7=_0xa8aa;return _0x52b248(_0x24d8a1)[_0x4cb9e7(0x372)](_0x5ae985,_0x288b0a,_0x24d8a1,_0x575d70);}};};}())});_0x3e341b[_0xd7a8af(0x8e)]=_0x10244d[_0xd7a8af(0xcb)]({'_doFinalize':function(){var _0x537e51=this['_process'](!0x0);return _0x537e51;},'blockSize':0x1});var _0x2f0125=_0x132fb4['mode']={},_0x2193e2=_0x3e341b['BlockCipherMode']=_0x2896cb[_0xd7a8af(0xcb)]({'createEncryptor':function(_0x460030,_0x310c80){var _0x56b9ae=_0xd7a8af;return this[_0x56b9ae(0x1c4)]['create'](_0x460030,_0x310c80);},'createDecryptor':function(_0x463d96,_0x42a019){return this['Decryptor']['create'](_0x463d96,_0x42a019);},'init':function(_0x1826a6,_0x57f5cc){var _0x288f43=_0xd7a8af;this[_0x288f43(0x366)]=_0x1826a6,this[_0x288f43(0x251)]=_0x57f5cc;}}),_0x1fad4d=_0x2f0125['CBC']=(function(){var _0x548104=_0xd7a8af,_0x580f7a=_0x2193e2[_0x548104(0xcb)]();_0x580f7a['Encryptor']=_0x580f7a[_0x548104(0xcb)]({'processBlock':function(_0xb3f0b0,_0x4b44b7){var _0x3a6043=_0x548104,_0x384b33=this[_0x3a6043(0x366)],_0x65c8fa=_0x384b33[_0x3a6043(0x2f7)];_0x511f25[_0x3a6043(0x203)](this,_0xb3f0b0,_0x4b44b7,_0x65c8fa),_0x384b33[_0x3a6043(0xb5)](_0xb3f0b0,_0x4b44b7),this['_prevBlock']=_0xb3f0b0['slice'](_0x4b44b7,_0x4b44b7+_0x65c8fa);}}),_0x580f7a[_0x548104(0x1f1)]=_0x580f7a[_0x548104(0xcb)]({'processBlock':function(_0x66ae8f,_0x318b4e){var _0x1e7ffa=_0x548104,_0x191451=this[_0x1e7ffa(0x366)],_0x55084a=_0x191451['blockSize'],_0x5eda2e=_0x66ae8f[_0x1e7ffa(0x36b)](_0x318b4e,_0x318b4e+_0x55084a);_0x191451[_0x1e7ffa(0x1b5)](_0x66ae8f,_0x318b4e),_0x511f25[_0x1e7ffa(0x203)](this,_0x66ae8f,_0x318b4e,_0x55084a),this[_0x1e7ffa(0x2b6)]=_0x5eda2e;}});function _0x511f25(_0x1354dd,_0x1a653e,_0x32fd76){var _0x5d1f33=_0x548104,_0x5dc784,_0x4c9a23=this[_0x5d1f33(0x251)];_0x4c9a23?(_0x5dc784=_0x4c9a23,this[_0x5d1f33(0x251)]=_0x29e590):_0x5dc784=this[_0x5d1f33(0x2b6)];for(var _0x581ad6=0x0;_0x581ad6<_0x32fd76;_0x581ad6++)_0x1354dd[_0x1a653e+_0x581ad6]^=_0x5dc784[_0x581ad6];}return _0x580f7a;}()),_0x429adc=_0x132fb4[_0xd7a8af(0x224)]={},_0xe79e63=_0x429adc['Pkcs7']={'pad':function(_0x4d3e26,_0x211e2c){var _0x59e418=_0xd7a8af;for(var _0x276127=_0x211e2c*0x4,_0x5e2bdf=_0x276127-_0x4d3e26[_0x59e418(0x300)]%_0x276127,_0x25c04e=_0x5e2bdf<<0x18|_0x5e2bdf<<0x10|_0x5e2bdf<<0x8|_0x5e2bdf,_0x594a7c=[],_0x4f983f=0x0;_0x4f983f<_0x5e2bdf;_0x4f983f+=0x4)_0x594a7c[_0x59e418(0x2ca)](_0x25c04e);var _0x28396c=_0x2b9cfd['create'](_0x594a7c,_0x5e2bdf);_0x4d3e26[_0x59e418(0x365)](_0x28396c);},'unpad':function(_0x26857c){var _0x397965=_0xd7a8af,_0x315b3e=_0x26857c[_0x397965(0x19e)][_0x26857c['sigBytes']-0x1>>>0x2]&0xff;_0x26857c[_0x397965(0x300)]-=_0x315b3e;}};_0x3e341b['BlockCipher']=_0x10244d[_0xd7a8af(0xcb)]({'cfg':_0x10244d[_0xd7a8af(0x12c)][_0xd7a8af(0xcb)]({'mode':_0x1fad4d,'padding':_0xe79e63}),'reset':function(){var _0x2681c0=_0xd7a8af,_0x280a7a;_0x10244d['reset'][_0x2681c0(0x203)](this);var _0x1fde0f=this[_0x2681c0(0x12c)],_0x268d68=_0x1fde0f['iv'],_0x4e1a7b=_0x1fde0f[_0x2681c0(0x2fb)];this[_0x2681c0(0x273)]==this[_0x2681c0(0x368)]?_0x280a7a=_0x4e1a7b['createEncryptor']:(_0x280a7a=_0x4e1a7b[_0x2681c0(0x12b)],this['_minBufferSize']=0x1),this[_0x2681c0(0x351)]&&this[_0x2681c0(0x351)][_0x2681c0(0x328)]==_0x280a7a?this[_0x2681c0(0x351)][_0x2681c0(0x146)](this,_0x268d68&&_0x268d68[_0x2681c0(0x19e)]):(this[_0x2681c0(0x351)]=_0x280a7a['call'](_0x4e1a7b,this,_0x268d68&&_0x268d68['words']),this['_mode'][_0x2681c0(0x328)]=_0x280a7a);},'_doProcessBlock':function(_0x4187b7,_0x103282){var _0x7728d1=_0xd7a8af;this[_0x7728d1(0x351)][_0x7728d1(0xf5)](_0x4187b7,_0x103282);},'_doFinalize':function(){var _0x1ba9c3=_0xd7a8af,_0x1344a5,_0x3e97eb=this[_0x1ba9c3(0x12c)][_0x1ba9c3(0x202)];return this[_0x1ba9c3(0x273)]==this['_ENC_XFORM_MODE']?(_0x3e97eb[_0x1ba9c3(0x224)](this[_0x1ba9c3(0x198)],this[_0x1ba9c3(0x2f7)]),_0x1344a5=this[_0x1ba9c3(0x11d)](!0x0)):(_0x1344a5=this[_0x1ba9c3(0x11d)](!0x0),_0x3e97eb[_0x1ba9c3(0x253)](_0x1344a5)),_0x1344a5;},'blockSize':0x80/0x20});var _0x4cdd07=_0x3e341b['CipherParams']=_0x2896cb['extend']({'init':function(_0x321980){var _0x28c5ef=_0xd7a8af;this[_0x28c5ef(0x1f6)](_0x321980);},'toString':function(_0x21fb53){var _0x4046a3=_0xd7a8af;return(_0x21fb53||this[_0x4046a3(0x10c)])[_0x4046a3(0x2a6)](this);}}),_0x3e6475=_0x132fb4[_0xd7a8af(0x2b3)]={},_0xba22f7=_0x3e6475[_0xd7a8af(0xd0)]={'stringify':function(_0x48b26f){var _0x491b05=_0xd7a8af,_0x2f523e,_0x46acb0=_0x48b26f[_0x491b05(0xaa)],_0x15f6e2=_0x48b26f[_0x491b05(0x175)];return _0x15f6e2?_0x2f523e=_0x2b9cfd[_0x491b05(0x149)]([0x53616c74,0x65645f5f])[_0x491b05(0x365)](_0x15f6e2)['concat'](_0x46acb0):_0x2f523e=_0x46acb0,_0x2f523e[_0x491b05(0x2c3)](_0x83e999);},'parse':function(_0x32cfab){var _0x23309e=_0xd7a8af,_0x4643b3,_0x5c3d39=_0x83e999['parse'](_0x32cfab),_0x4af0ea=_0x5c3d39['words'];return _0x4af0ea[0x0]==0x53616c74&&_0x4af0ea[0x1]==0x65645f5f&&(_0x4643b3=_0x2b9cfd[_0x23309e(0x149)](_0x4af0ea[_0x23309e(0x36b)](0x2,0x4)),_0x4af0ea[_0x23309e(0x31a)](0x0,0x4),_0x5c3d39[_0x23309e(0x300)]-=0x10),_0x4cdd07[_0x23309e(0x149)]({'ciphertext':_0x5c3d39,'salt':_0x4643b3});}},_0x595079=_0x3e341b[_0xd7a8af(0x353)]=_0x2896cb[_0xd7a8af(0xcb)]({'cfg':_0x2896cb[_0xd7a8af(0xcb)]({'format':_0xba22f7}),'encrypt':function(_0x362bbe,_0xf1fe95,_0x54f45c,_0x30439a){var _0x2509c2=_0xd7a8af;_0x30439a=this['cfg'][_0x2509c2(0xcb)](_0x30439a);var _0x17dde7=_0x362bbe[_0x2509c2(0x266)](_0x54f45c,_0x30439a),_0x4fc25c=_0x17dde7[_0x2509c2(0x377)](_0xf1fe95),_0x2fb048=_0x17dde7['cfg'];return _0x4cdd07[_0x2509c2(0x149)]({'ciphertext':_0x4fc25c,'key':_0x54f45c,'iv':_0x2fb048['iv'],'algorithm':_0x362bbe,'mode':_0x2fb048['mode'],'padding':_0x2fb048[_0x2509c2(0x202)],'blockSize':_0x362bbe[_0x2509c2(0x2f7)],'formatter':_0x30439a['format']});},'decrypt':function(_0x14b0b2,_0x90ffc3,_0x36a211,_0x935808){var _0x2ce844=_0xd7a8af;_0x935808=this['cfg'][_0x2ce844(0xcb)](_0x935808),_0x90ffc3=this[_0x2ce844(0x160)](_0x90ffc3,_0x935808[_0x2ce844(0x2b3)]);var _0x2ffcda=_0x14b0b2['createDecryptor'](_0x36a211,_0x935808)[_0x2ce844(0x377)](_0x90ffc3[_0x2ce844(0xaa)]);return _0x2ffcda;},'_parse':function(_0xddaf80,_0x25434b){return typeof _0xddaf80=='string'?_0x25434b['parse'](_0xddaf80,this):_0xddaf80;}}),_0x6b154d=_0x132fb4[_0xd7a8af(0xad)]={},_0x37be28=_0x6b154d['OpenSSL']={'execute':function(_0x2e0958,_0x52cdbf,_0xd787d0,_0x537fd3,_0x298fab){var _0x2ade7c=_0xd7a8af;if(_0x537fd3||(_0x537fd3=_0x2b9cfd['random'](0x40/0x8)),_0x298fab)var _0x45338d=_0x286294['create']({'keySize':_0x52cdbf+_0xd787d0,'hasher':_0x298fab})['compute'](_0x2e0958,_0x537fd3);else var _0x45338d=_0x286294[_0x2ade7c(0x149)]({'keySize':_0x52cdbf+_0xd787d0})[_0x2ade7c(0x139)](_0x2e0958,_0x537fd3);var _0x453997=_0x2b9cfd[_0x2ade7c(0x149)](_0x45338d[_0x2ade7c(0x19e)][_0x2ade7c(0x36b)](_0x52cdbf),_0xd787d0*0x4);return _0x45338d[_0x2ade7c(0x300)]=_0x52cdbf*0x4,_0x4cdd07[_0x2ade7c(0x149)]({'key':_0x45338d,'iv':_0x453997,'salt':_0x537fd3});}},_0x2e2ab2=_0x3e341b[_0xd7a8af(0x23d)]=_0x595079[_0xd7a8af(0xcb)]({'cfg':_0x595079['cfg'][_0xd7a8af(0xcb)]({'kdf':_0x37be28}),'encrypt':function(_0x2ffbf4,_0x51afde,_0x40715b,_0x56977a){var _0x316d77=_0xd7a8af;_0x56977a=this[_0x316d77(0x12c)][_0x316d77(0xcb)](_0x56977a);var _0x3bf449=_0x56977a[_0x316d77(0xad)][_0x316d77(0x206)](_0x40715b,_0x2ffbf4['keySize'],_0x2ffbf4[_0x316d77(0x2f3)],_0x56977a['salt'],_0x56977a[_0x316d77(0x363)]);_0x56977a['iv']=_0x3bf449['iv'];var _0x9720b5=_0x595079[_0x316d77(0x1b3)][_0x316d77(0x203)](this,_0x2ffbf4,_0x51afde,_0x3bf449['key'],_0x56977a);return _0x9720b5[_0x316d77(0x1f6)](_0x3bf449),_0x9720b5;},'decrypt':function(_0x22ef9f,_0x3fe3aa,_0x3e6cc4,_0x318d3b){var _0x1cbcf5=_0xd7a8af;_0x318d3b=this[_0x1cbcf5(0x12c)][_0x1cbcf5(0xcb)](_0x318d3b),_0x3fe3aa=this[_0x1cbcf5(0x160)](_0x3fe3aa,_0x318d3b[_0x1cbcf5(0x2b3)]);var _0x2d1e17=_0x318d3b['kdf'][_0x1cbcf5(0x206)](_0x3e6cc4,_0x22ef9f[_0x1cbcf5(0x2b8)],_0x22ef9f[_0x1cbcf5(0x2f3)],_0x3fe3aa[_0x1cbcf5(0x175)],_0x318d3b[_0x1cbcf5(0x363)]);_0x318d3b['iv']=_0x2d1e17['iv'];var _0x5ea3b3=_0x595079[_0x1cbcf5(0x372)]['call'](this,_0x22ef9f,_0x3fe3aa,_0x2d1e17[_0x1cbcf5(0x2d3)],_0x318d3b);return _0x5ea3b3;}});}();}));}(Je)),Je[_0x220921(0xda)];}var Tn=Ve['exports'],ti;function Cn(){return ti||(ti=0x1,function(_0xfe7dc8,_0x1bc197){(function(_0x5e319e,_0x55ba24,_0x284e9c){var _0x59a43d=_0xa8aa;_0xfe7dc8[_0x59a43d(0xda)]=_0x55ba24(te(),bi(),vn(),yi(),Ni());}(Tn,function(_0x26d6df){return(function(){var _0x5f041a=_0xa8aa,_0x2f3266=_0x26d6df,_0x32c674=_0x2f3266[_0x5f041a(0x33d)],_0x3d8956=_0x32c674[_0x5f041a(0x343)],_0x5311b3=_0x2f3266[_0x5f041a(0x2a2)],_0x43b9c2=[],_0x31aad1=[],_0x2a1e27=[],_0x3763c5=[],_0x2a2983=[],_0x3b47a1=[],_0x37b7f4=[],_0x359b8d=[],_0x2c36e8=[],_0x27ac01=[];(function(){for(var _0x2f3e05=[],_0x392642=0x0;_0x392642<0x100;_0x392642++)_0x392642<0x80?_0x2f3e05[_0x392642]=_0x392642<<0x1:_0x2f3e05[_0x392642]=_0x392642<<0x1^0x11b;for(var _0x1f2200=0x0,_0x48f837=0x0,_0x392642=0x0;_0x392642<0x100;_0x392642++){var _0x14e170=_0x48f837^_0x48f837<<0x1^_0x48f837<<0x2^_0x48f837<<0x3^_0x48f837<<0x4;_0x14e170=_0x14e170>>>0x8^_0x14e170&0xff^0x63,_0x43b9c2[_0x1f2200]=_0x14e170,_0x31aad1[_0x14e170]=_0x1f2200;var _0x457013=_0x2f3e05[_0x1f2200],_0x36efa3=_0x2f3e05[_0x457013],_0xd96101=_0x2f3e05[_0x36efa3],_0x22c5c4=_0x2f3e05[_0x14e170]*0x101^_0x14e170*0x1010100;_0x2a1e27[_0x1f2200]=_0x22c5c4<<0x18|_0x22c5c4>>>0x8,_0x3763c5[_0x1f2200]=_0x22c5c4<<0x10|_0x22c5c4>>>0x10,_0x2a2983[_0x1f2200]=_0x22c5c4<<0x8|_0x22c5c4>>>0x18,_0x3b47a1[_0x1f2200]=_0x22c5c4;var _0x22c5c4=_0xd96101*0x1010101^_0x36efa3*0x10001^_0x457013*0x101^_0x1f2200*0x1010100;_0x37b7f4[_0x14e170]=_0x22c5c4<<0x18|_0x22c5c4>>>0x8,_0x359b8d[_0x14e170]=_0x22c5c4<<0x10|_0x22c5c4>>>0x10,_0x2c36e8[_0x14e170]=_0x22c5c4<<0x8|_0x22c5c4>>>0x18,_0x27ac01[_0x14e170]=_0x22c5c4,_0x1f2200?(_0x1f2200=_0x457013^_0x2f3e05[_0x2f3e05[_0x2f3e05[_0xd96101^_0x457013]]],_0x48f837^=_0x2f3e05[_0x2f3e05[_0x48f837]]):_0x1f2200=_0x48f837=0x1;}}());var _0x176ad6=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x40ba55=_0x5311b3['AES']=_0x3d8956[_0x5f041a(0xcb)]({'_doReset':function(){var _0x22c70f=_0x5f041a,_0x135ef8;if(!(this[_0x22c70f(0x286)]&&this[_0x22c70f(0x371)]===this['_key'])){for(var _0x40191e=this[_0x22c70f(0x371)]=this[_0x22c70f(0x330)],_0x16a4c0=_0x40191e['words'],_0x1e06a8=_0x40191e[_0x22c70f(0x300)]/0x4,_0x1f51a6=this[_0x22c70f(0x286)]=_0x1e06a8+0x6,_0x5b2dcb=(_0x1f51a6+0x1)*0x4,_0x4c1d0c=this['_keySchedule']=[],_0x3c5912=0x0;_0x3c5912<_0x5b2dcb;_0x3c5912++)_0x3c5912<_0x1e06a8?_0x4c1d0c[_0x3c5912]=_0x16a4c0[_0x3c5912]:(_0x135ef8=_0x4c1d0c[_0x3c5912-0x1],_0x3c5912%_0x1e06a8?_0x1e06a8>0x6&&_0x3c5912%_0x1e06a8==0x4&&(_0x135ef8=_0x43b9c2[_0x135ef8>>>0x18]<<0x18|_0x43b9c2[_0x135ef8>>>0x10&0xff]<<0x10|_0x43b9c2[_0x135ef8>>>0x8&0xff]<<0x8|_0x43b9c2[_0x135ef8&0xff]):(_0x135ef8=_0x135ef8<<0x8|_0x135ef8>>>0x18,_0x135ef8=_0x43b9c2[_0x135ef8>>>0x18]<<0x18|_0x43b9c2[_0x135ef8>>>0x10&0xff]<<0x10|_0x43b9c2[_0x135ef8>>>0x8&0xff]<<0x8|_0x43b9c2[_0x135ef8&0xff],_0x135ef8^=_0x176ad6[_0x3c5912/_0x1e06a8|0x0]<<0x18),_0x4c1d0c[_0x3c5912]=_0x4c1d0c[_0x3c5912-_0x1e06a8]^_0x135ef8);for(var _0xfce2b9=this[_0x22c70f(0x233)]=[],_0x31fc2a=0x0;_0x31fc2a<_0x5b2dcb;_0x31fc2a++){var _0x3c5912=_0x5b2dcb-_0x31fc2a;if(_0x31fc2a%0x4)var _0x135ef8=_0x4c1d0c[_0x3c5912];else var _0x135ef8=_0x4c1d0c[_0x3c5912-0x4];_0x31fc2a<0x4||_0x3c5912<=0x4?_0xfce2b9[_0x31fc2a]=_0x135ef8:_0xfce2b9[_0x31fc2a]=_0x37b7f4[_0x43b9c2[_0x135ef8>>>0x18]]^_0x359b8d[_0x43b9c2[_0x135ef8>>>0x10&0xff]]^_0x2c36e8[_0x43b9c2[_0x135ef8>>>0x8&0xff]]^_0x27ac01[_0x43b9c2[_0x135ef8&0xff]];}}},'encryptBlock':function(_0x11cdb4,_0x3dfa04){var _0x3500e0=_0x5f041a;this[_0x3500e0(0xb2)](_0x11cdb4,_0x3dfa04,this['_keySchedule'],_0x2a1e27,_0x3763c5,_0x2a2983,_0x3b47a1,_0x43b9c2);},'decryptBlock':function(_0x9d1ef1,_0x40696a){var _0x595f62=_0x5f041a,_0x53d06e=_0x9d1ef1[_0x40696a+0x1];_0x9d1ef1[_0x40696a+0x1]=_0x9d1ef1[_0x40696a+0x3],_0x9d1ef1[_0x40696a+0x3]=_0x53d06e,this[_0x595f62(0xb2)](_0x9d1ef1,_0x40696a,this[_0x595f62(0x233)],_0x37b7f4,_0x359b8d,_0x2c36e8,_0x27ac01,_0x31aad1);var _0x53d06e=_0x9d1ef1[_0x40696a+0x1];_0x9d1ef1[_0x40696a+0x1]=_0x9d1ef1[_0x40696a+0x3],_0x9d1ef1[_0x40696a+0x3]=_0x53d06e;},'_doCryptBlock':function(_0x4dfc35,_0x1a6f56,_0x459051,_0x1b5fb9,_0x2e9d17,_0x46640f,_0x2d4ee4,_0xb99293){var _0x54a8ce=_0x5f041a;for(var _0x1dddfe=this[_0x54a8ce(0x286)],_0x53e4ea=_0x4dfc35[_0x1a6f56]^_0x459051[0x0],_0xfbc0c6=_0x4dfc35[_0x1a6f56+0x1]^_0x459051[0x1],_0x2586ca=_0x4dfc35[_0x1a6f56+0x2]^_0x459051[0x2],_0x33666c=_0x4dfc35[_0x1a6f56+0x3]^_0x459051[0x3],_0x373cfd=0x4,_0x521cf1=0x1;_0x521cf1<_0x1dddfe;_0x521cf1++){var _0xa10d75=_0x1b5fb9[_0x53e4ea>>>0x18]^_0x2e9d17[_0xfbc0c6>>>0x10&0xff]^_0x46640f[_0x2586ca>>>0x8&0xff]^_0x2d4ee4[_0x33666c&0xff]^_0x459051[_0x373cfd++],_0x508b9d=_0x1b5fb9[_0xfbc0c6>>>0x18]^_0x2e9d17[_0x2586ca>>>0x10&0xff]^_0x46640f[_0x33666c>>>0x8&0xff]^_0x2d4ee4[_0x53e4ea&0xff]^_0x459051[_0x373cfd++],_0x434db8=_0x1b5fb9[_0x2586ca>>>0x18]^_0x2e9d17[_0x33666c>>>0x10&0xff]^_0x46640f[_0x53e4ea>>>0x8&0xff]^_0x2d4ee4[_0xfbc0c6&0xff]^_0x459051[_0x373cfd++],_0x384cc2=_0x1b5fb9[_0x33666c>>>0x18]^_0x2e9d17[_0x53e4ea>>>0x10&0xff]^_0x46640f[_0xfbc0c6>>>0x8&0xff]^_0x2d4ee4[_0x2586ca&0xff]^_0x459051[_0x373cfd++];_0x53e4ea=_0xa10d75,_0xfbc0c6=_0x508b9d,_0x2586ca=_0x434db8,_0x33666c=_0x384cc2;}var _0xa10d75=(_0xb99293[_0x53e4ea>>>0x18]<<0x18|_0xb99293[_0xfbc0c6>>>0x10&0xff]<<0x10|_0xb99293[_0x2586ca>>>0x8&0xff]<<0x8|_0xb99293[_0x33666c&0xff])^_0x459051[_0x373cfd++],_0x508b9d=(_0xb99293[_0xfbc0c6>>>0x18]<<0x18|_0xb99293[_0x2586ca>>>0x10&0xff]<<0x10|_0xb99293[_0x33666c>>>0x8&0xff]<<0x8|_0xb99293[_0x53e4ea&0xff])^_0x459051[_0x373cfd++],_0x434db8=(_0xb99293[_0x2586ca>>>0x18]<<0x18|_0xb99293[_0x33666c>>>0x10&0xff]<<0x10|_0xb99293[_0x53e4ea>>>0x8&0xff]<<0x8|_0xb99293[_0xfbc0c6&0xff])^_0x459051[_0x373cfd++],_0x384cc2=(_0xb99293[_0x33666c>>>0x18]<<0x18|_0xb99293[_0x53e4ea>>>0x10&0xff]<<0x10|_0xb99293[_0xfbc0c6>>>0x8&0xff]<<0x8|_0xb99293[_0x2586ca&0xff])^_0x459051[_0x373cfd++];_0x4dfc35[_0x1a6f56]=_0xa10d75,_0x4dfc35[_0x1a6f56+0x1]=_0x508b9d,_0x4dfc35[_0x1a6f56+0x2]=_0x434db8,_0x4dfc35[_0x1a6f56+0x3]=_0x384cc2;},'keySize':0x100/0x20});_0x2f3266[_0x5f041a(0x2d6)]=_0x3d8956[_0x5f041a(0x8a)](_0x40ba55);}()),_0x26d6df['AES'];}));}(Ve)),Ve['exports'];}var Rn=Cn();const On=$e(Rn);var bn=bi();const ii=$e(bn);var Xe={'exports':{}},yn=Xe[_0x132e4f(0xda)],si;function Nn(){var _0x12cc94=_0x132e4f;return si||(si=0x1,function(_0x122009,_0x4f12f3){(function(_0x2c9813,_0x56ec0d){var _0x103b85=_0xa8aa;_0x122009[_0x103b85(0xda)]=_0x56ec0d(te());}(yn,function(_0x3feeb9){var _0x401db9=_0xa8aa;return _0x3feeb9[_0x401db9(0x20e)][_0x401db9(0x86)];}));}(Xe)),Xe[_0x12cc94(0xda)];}var Dn=Nn();const Un=$e(Dn);function _0xa8aa(_0x37c8e3,_0x19db60){var _0x4cf3c0=_0x4cf3();return _0xa8aa=function(_0xa8aa64,_0x3a8ed7){_0xa8aa64=_0xa8aa64-0x76;var _0x64b515=_0x4cf3c0[_0xa8aa64];return _0x64b515;},_0xa8aa(_0x37c8e3,_0x19db60);}var Ze={'exports':{}},An=Ze['exports'],ni;function wn(){var _0x70dad0=_0x132e4f;return ni||(ni=0x1,function(_0x4ffefe,_0x366f1d){(function(_0x250419,_0x404ed0){var _0x1fca10=_0xa8aa;_0x4ffefe[_0x1fca10(0xda)]=_0x404ed0(te());}(An,function(_0x371961){var _0x5ed14f=_0xa8aa;return(function(){var _0x2b9d14=_0xa8aa;if(typeof ArrayBuffer==_0x2b9d14(0xdb)){var _0x4b1365=_0x371961,_0x4ee816=_0x4b1365[_0x2b9d14(0x33d)],_0x101cf8=_0x4ee816[_0x2b9d14(0xa5)],_0x12d1f6=_0x101cf8[_0x2b9d14(0x146)],_0xac4afb=_0x101cf8['init']=function(_0x3d63eb){var _0x342cd5=_0x2b9d14;if(_0x3d63eb instanceof ArrayBuffer&&(_0x3d63eb=new Uint8Array(_0x3d63eb)),(_0x3d63eb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3d63eb instanceof Uint8ClampedArray||_0x3d63eb instanceof Int16Array||_0x3d63eb instanceof Uint16Array||_0x3d63eb instanceof Int32Array||_0x3d63eb instanceof Uint32Array||_0x3d63eb instanceof Float32Array||_0x3d63eb instanceof Float64Array)&&(_0x3d63eb=new Uint8Array(_0x3d63eb[_0x342cd5(0x357)],_0x3d63eb[_0x342cd5(0x33e)],_0x3d63eb[_0x342cd5(0xf3)])),_0x3d63eb instanceof Uint8Array){for(var _0x3d1981=_0x3d63eb[_0x342cd5(0xf3)],_0x45e3f6=[],_0x47c684=0x0;_0x47c684<_0x3d1981;_0x47c684++)_0x45e3f6[_0x47c684>>>0x2]|=_0x3d63eb[_0x47c684]<<0x18-_0x47c684%0x4*0x8;_0x12d1f6[_0x342cd5(0x203)](this,_0x45e3f6,_0x3d1981);}else _0x12d1f6[_0x342cd5(0x15e)](this,arguments);};_0xac4afb['prototype']=_0x101cf8;}}()),_0x371961[_0x5ed14f(0x33d)][_0x5ed14f(0xa5)];}));}(Ze)),Ze[_0x70dad0(0xda)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x132e4f(0xda)],ri;function xn(){var _0x3a980f=_0x132e4f;return ri||(ri=0x1,function(_0x3a9a1c,_0x17ad91){(function(_0xe2d7ba,_0x16471e,_0x4ba760){var _0x25d95c=_0xa8aa;_0x3a9a1c[_0x25d95c(0xda)]=_0x16471e(te(),Ni());}(Mn,function(_0x42a78){var _0x14d52d=_0xa8aa;return _0x42a78['pad'][_0x14d52d(0x325)]={'pad':function(){},'unpad':function(){}},_0x42a78[_0x14d52d(0x224)][_0x14d52d(0x325)];}));}(Qe)),Qe[_0x3a980f(0xda)];}var kn=xn();const $n=$e(kn);function Hn(_0x1157d4,_0x1b573b){var _0xd3f08b=_0x132e4f;const _0x501b9e=_0x1b573b-_0x1157d4[_0xd3f08b(0x232)]%_0x1b573b,_0x64eb6d=String['fromCharCode'](_0x501b9e)[_0xd3f08b(0xe0)](_0x501b9e);return _0x1157d4+_0x64eb6d;}function Bn(_0x690335,_0x3b0e6c){var _0x4aadcb=_0x132e4f;const _0x5ace44=Ln[_0x4aadcb(0x1a6)](0x10),_0x530f7d=Hn(_0x690335,0x10),_0x419fd2=On[_0x4aadcb(0x1b3)](Un[_0x4aadcb(0x204)](_0x530f7d),ii['parse'](_0x3b0e6c),{'iv':_0x5ace44,'padding':$n});return _0x5ace44[_0x4aadcb(0x365)](_0x419fd2['ciphertext'])[_0x4aadcb(0x2c3)](ii);}function jn(){var _0x3b6454=_0x132e4f;const _0x335248=_0x2edd1a()[_0x3b6454(0x136)];if(_0x335248){const _0x513167={'time':Math['floor'](Date['now']()/0x3e8),'domain':location['hostname']};return Bn(JSON[_0x3b6454(0x2a6)](_0x513167),_0x335248);}}var Fn=Object[_0x132e4f(0x129)],Vn=(_0x3019a2,_0x3b68a6,_0x253757,_0x33d82a)=>{var _0xc7f4b8=_0x132e4f;for(var _0x47aec7=_0x33d82a>0x1?void 0x0:_0x33d82a?Fn(_0x3b68a6,_0x253757):_0x3b68a6,_0x195b05=_0x3019a2[_0xc7f4b8(0x232)]-0x1,_0x5d9bf9;_0x195b05>=0x0;_0x195b05--)(_0x5d9bf9=_0x3019a2[_0x195b05])&&(_0x47aec7=_0x5d9bf9(_0x47aec7)||_0x47aec7);return _0x47aec7;},Gn=(_0x489d26,_0x47893e)=>(_0x1fb0cc,_0x5ea502)=>_0x47893e(_0x1fb0cc,_0x5ea502,_0x489d26);let at=class{constructor(_0x3b7d10){var _0x232caf=_0x132e4f;this[_0x232caf(0xf4)]=_0x3b7d10,this['_initRequestHeader']();}[_0x132e4f(0x84)](){var _0x4794db=_0x132e4f;this[_0x4794db(0xf4)][_0x4794db(0x236)]({'interceptor':(_0x26e1f8,_0x3552e5)=>{var _0x2525bb=_0x4794db;const _0x20a5e3=_0x26e1f8[_0x2525bb(0x274)],_0x5482a9=jn();return _0x5482a9&&_0x20a5e3[_0x2525bb(0x114)]('x-univer-host',_0x5482a9),_0x3552e5(_0x26e1f8);}});}};at=Vn([Gn(0x0,_0x272268(_0x3f17c))],at);var Yn=Object[_0x132e4f(0x129)],Wn=(_0x5d9c21,_0x1a4ad0,_0x2877f4,_0x77fad0)=>{var _0x5b95d0=_0x132e4f;for(var _0x483174=_0x77fad0>0x1?void 0x0:_0x77fad0?Yn(_0x1a4ad0,_0x2877f4):_0x1a4ad0,_0x3917d=_0x5d9c21[_0x5b95d0(0x232)]-0x1,_0x380334;_0x3917d>=0x0;_0x3917d--)(_0x380334=_0x5d9c21[_0x3917d])&&(_0x483174=_0x380334(_0x483174)||_0x483174);return _0x483174;},vt=(_0x55fba5,_0x22a80d)=>(_0x1e9716,_0x13879b)=>_0x22a80d(_0x1e9716,_0x13879b,_0x55fba5);let Ct=class extends _0x151895{constructor(_0xc0a94d,_0x447743,_0x930d76){var _0x531fe6=_0x132e4f;super(),N(this,'_unitInfo$',new _0xcec471(null)),N(this,_0x531fe6(0xba),this[_0x531fe6(0xe4)]['asObservable']()),(this[_0x531fe6(0x91)]=_0xc0a94d,this[_0x531fe6(0x2ec)]=_0x447743,this[_0x531fe6(0x7e)]=_0x930d76);}async[_0x132e4f(0x83)](_0x2f2e86,_0xdab0da,_0x3895db){var _0x7dfd08=_0x132e4f;this[_0x7dfd08(0xe4)][_0x7dfd08(0xfb)]({'unitId':_0x2f2e86,'type':_0xdab0da});let _0x1da3ed=null;switch(_0xdab0da){case Z[_0x7dfd08(0xd5)]:{_0x1da3ed=await this[_0x7dfd08(0x2ec)]['loadSheet'](_0x2f2e86,_0x3895db);break;}case Z[_0x7dfd08(0x214)]:{_0x1da3ed=await this['_snapshotService'][_0x7dfd08(0x222)](_0x2f2e86,_0x3895db);break;}default:{this[_0x7dfd08(0x91)][_0x7dfd08(0x13c)](_0x7dfd08(0x1ba),_0x7dfd08(0x120));break;}}return _0x1da3ed;}async['loadUnit'](_0x29dcc7,_0x415a72,_0x4fc306){var _0x15f71c=_0x132e4f,_0x44c7b8;this[_0x15f71c(0xe4)][_0x15f71c(0xfb)]({'unitId':_0x29dcc7,'type':_0x415a72,'subUnitId':_0x4fc306});let _0x5bb544=0x0;const _0xdf5ef5=await((_0x44c7b8=this[_0x15f71c(0x7e)])==null?void 0x0:_0x44c7b8[_0x15f71c(0x1f5)](_0x29dcc7));return _0xdf5ef5&&(_0xdf5ef5[_0x15f71c(0xfe)]||_0xdf5ef5[_0x15f71c(0x360)][_0x15f71c(0x232)]!==0x0)&&(_0x5bb544=_0xdf5ef5[_0x15f71c(0x1c3)]),_0x5bb544===0x0&&this[_0x15f71c(0x91)][_0x15f71c(0x1fb)](_0x15f71c(0x1ba),_0x15f71c(0xe8)),this['loadUnitOfRevision'](_0x29dcc7,_0x415a72,_0x5bb544);}};Ct=Wn([vt(0x0,_0x2e16e2),vt(0x1,_0x272268(_0x25fceb)),vt(0x2,_0x1e8521(J))],Ct);var Kn=Object[_0x132e4f(0x129)],qn=(_0x26f341,_0x1c7086,_0x5a8bab,_0x2ce75b)=>{var _0x4307d3=_0x132e4f;for(var _0x4d046f=_0x2ce75b>0x1?void 0x0:_0x2ce75b?Kn(_0x1c7086,_0x5a8bab):_0x1c7086,_0x4445ed=_0x26f341[_0x4307d3(0x232)]-0x1,_0x4163cc;_0x4445ed>=0x0;_0x4445ed--)(_0x4163cc=_0x26f341[_0x4445ed])&&(_0x4d046f=_0x4163cc(_0x4d046f)||_0x4d046f);return _0x4d046f;},pt=(_0x4db621,_0x15698d)=>(_0x2d7df9,_0x3134cd)=>_0x15698d(_0x2d7df9,_0x3134cd,_0x4db621);const zn=['image/png',_0x132e4f(0x2a1),_0x132e4f(0x18b),_0x132e4f(0x235),_0x132e4f(0x34d)],Jn=0x5*0x400*0x400,Xn=_0x132e4f(0x119),Zn=_0x132e4f(0x30a),Qn=_0x132e4f(0x1d9),er=_0x132e4f(0x220);let Rt=class{constructor(_0x31ba23,_0x568545,_0x234a22){var _0xba2ae3=_0x132e4f;N(this,_0xba2ae3(0x2ae),0x0),N(this,'_change$',new _0x288ae7()),N(this,_0xba2ae3(0x1a4),this[_0xba2ae3(0x1dc)]),N(this,_0xba2ae3(0x97),new Map()),(this[_0xba2ae3(0xf4)]=_0x31ba23,this[_0xba2ae3(0x1da)]=_0x568545,this[_0xba2ae3(0xdf)]=_0x234a22);}[_0x132e4f(0x238)](_0x4b6326){var _0x5be595=_0x132e4f;this[_0x5be595(0x2ae)]=_0x4b6326,this[_0x5be595(0x1dc)][_0x5be595(0xfb)](_0x4b6326);}[_0x132e4f(0x13a)](_0x51c0c1,_0x1e3a83){var _0x3296d6=_0x132e4f;if(_0x1e3a83===_0x4a6252[_0x3296d6(0x100)]){const _0x62222d=new Image();return _0x62222d[_0x3296d6(0x10b)]=_0x51c0c1,_0x62222d;}return this[_0x3296d6(0x97)]['get'](_0x51c0c1);}[_0x132e4f(0x32b)](_0x1839bc,_0xe68332,_0x47453f){var _0x59f3bc=_0x132e4f;_0xe68332===_0x4a6252[_0x59f3bc(0x100)]||_0x47453f==null||this[_0x59f3bc(0x97)]['set'](_0x1839bc,_0x47453f);}async['getImage'](_0x218876){var _0xc0bf25=_0x132e4f;try{const _0x2e48eb=this['_replaceFileID'](this[_0xc0bf25(0x1f3)](),''+_0x218876),_0x56c9f4=(await this[_0xc0bf25(0xf4)][_0xc0bf25(0x303)](_0x2e48eb))[_0xc0bf25(0x14d)];if(_0x56c9f4['error']&&_0x56c9f4[_0xc0bf25(0x13c)][_0xc0bf25(0x132)]===pi['OK']){const _0x252cb7=new URL(_0x56c9f4[_0xc0bf25(0xc5)],this[_0xc0bf25(0x240)]())['toString']();return Promise[_0xc0bf25(0x37e)](_0x252cb7);}return Promise['reject'](_0x56c9f4[_0xc0bf25(0x13c)]);}catch(_0x2a66d9){return Promise[_0xc0bf25(0x316)](_0x2a66d9);}}async['saveImage'](_0x267874){var _0x32d8d1=_0x132e4f;let _0x27c7b3='';if(!zn['includes'](_0x267874['type']))return this[_0x32d8d1(0x2d0)](),Promise[_0x32d8d1(0x316)](new Error(_0x124f69[_0x32d8d1(0x1b1)]));if(_0x267874[_0x32d8d1(0x305)]>Jn)return this[_0x32d8d1(0x2d0)](),Promise['reject'](new Error(_0x124f69['ERROR_EXCEED_SIZE']));try{const _0x67713a=new FormData();_0x67713a[_0x32d8d1(0x27c)](_0x32d8d1(0xbf),_0x267874);const _0x21d28c=this[_0x32d8d1(0xdf)]['getFocusedUnit'](),_0xd15065=_0x21d28c==null?void 0x0:_0x21d28c[_0x32d8d1(0x1c8)]();if(!_0xd15065)throw new Error(_0x32d8d1(0x282));const _0x39dc74=this['_getUploadFileURL']()+_0x32d8d1(0x16e)+_0x267874[_0x32d8d1(0x305)][_0x32d8d1(0x2c3)]()+_0x32d8d1(0x126)+mi[_0x32d8d1(0x13f)]+_0x32d8d1(0x2da)+encodeURIComponent(_0xd15065),_0x1e7964={'body':_0x67713a},_0x1727f4=(await this[_0x32d8d1(0xf4)][_0x32d8d1(0xb6)](_0x39dc74,_0x1e7964))[_0x32d8d1(0x14d)];if(typeof _0x1727f4[_0x32d8d1(0x2d7)]!=_0x32d8d1(0x1a9))return this[_0x32d8d1(0x2d0)](),Promise[_0x32d8d1(0x316)](new Error(_0x124f69[_0x32d8d1(0x166)]));_0x27c7b3=_0x1727f4[_0x32d8d1(0x2d7)];}catch{return this['_decreaseWaiting'](),Promise[_0x32d8d1(0x316)](new Error(_0x124f69['ERROR_IMAGE']));}return new Promise((_0x5680f5,_0x390dc9)=>{var _0x4a38ae=_0x32d8d1;const _0x9a1329=new FileReader();_0x9a1329[_0x4a38ae(0x1bf)](_0x267874),_0x9a1329[_0x4a38ae(0x7c)]=_0x4a7d3e=>{var _0x57ddfa=_0x4a38ae,_0x267ac1;const _0x517336=(_0x267ac1=_0x4a7d3e[_0x57ddfa(0xf8)])==null?void 0x0:_0x267ac1['result'];if(_0x517336==null){this[_0x57ddfa(0x2d0)](),_0x390dc9(new Error(_0x124f69[_0x57ddfa(0x166)]));return;}const _0x283fa3=_0x2284c8[_0x57ddfa(0xe3)](0x6);_0x5680f5({'imageId':_0x283fa3,'imageSourceType':_0x4a6252[_0x57ddfa(0x33b)],'source':_0x27c7b3,'base64Cache':_0x517336,'status':_0x124f69['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x132e4f(0x94)](){var _0x3259c0=_0x132e4f,_0x4b569e,_0x5b8a2f;const _0x42f380=this['_configService'][_0x3259c0(0x35c)](Xn),_0x42d3ec=this[_0x3259c0(0x1da)]['getConfig'](K);return(_0x5b8a2f=(_0x4b569e=_0x42d3ec==null?void 0x0:_0x42d3ec[_0x3259c0(0x2fa)])!=null?_0x4b569e:_0x42f380)!=null?_0x5b8a2f:Zn;}[_0x132e4f(0x1f3)](){var _0x30d280=_0x132e4f,_0x54770a,_0xf41506;const _0x129749=this['_configService']['getConfig'](Qn),_0x1ab9cf=this[_0x30d280(0x1da)][_0x30d280(0x35c)](K);return(_0xf41506=(_0x54770a=_0x1ab9cf==null?void 0x0:_0x1ab9cf['signUrlServerUrl'])!=null?_0x54770a:_0x129749)!=null?_0xf41506:er;}[_0x132e4f(0x240)](){var _0x4734f9;const _0x4f2c4c=this['_configService']['getConfig'](K);return(_0x4734f9=_0x4f2c4c==null?void 0x0:_0x4f2c4c['downloadEndpointUrl'])!=null?_0x4734f9:location['origin'];}[_0x132e4f(0x211)](_0x5f01db,_0x537ded){return _0x5f01db['replace']('{fileID}',_0x537ded);}['_decreaseWaiting'](){var _0xeea8fe=_0x132e4f;this[_0xeea8fe(0x2ae)]-=0x1,this['_change$']['next'](this[_0xeea8fe(0x2ae)]);}};Rt=qn([pt(0x0,_0x272268(_0x3f17c)),pt(0x1,_0x2697d9),pt(0x2,_0x272268(_0x3078ab))],Rt);var tr=Object['getOwnPropertyDescriptor'],ir=(_0x47cc83,_0x464b1b,_0x512632,_0x555cc0)=>{var _0x5eb832=_0x132e4f;for(var _0x5e50c7=_0x555cc0>0x1?void 0x0:_0x555cc0?tr(_0x464b1b,_0x512632):_0x464b1b,_0x331a4a=_0x47cc83[_0x5eb832(0x232)]-0x1,_0x3a5c64;_0x331a4a>=0x0;_0x331a4a--)(_0x3a5c64=_0x47cc83[_0x331a4a])&&(_0x5e50c7=_0x3a5c64(_0x5e50c7)||_0x5e50c7);return _0x5e50c7;},ai=(_0xf37107,_0x27d2f9)=>(_0x4b7b11,_0xb1d2f3)=>_0x27d2f9(_0x4b7b11,_0xb1d2f3,_0xf37107);const sr=_0x132e4f(0x1a2);let Ot=class{constructor(_0x26f8fa,_0x431eea){var _0x242b98=_0x132e4f;this[_0x242b98(0x1da)]=_0x26f8fa,this[_0x242b98(0x376)]=_0x431eea;}[_0x132e4f(0xbb)](){var _0x388920=_0x132e4f,_0x1fe05,_0x46dded;const _0x16c622=this[_0x388920(0x1da)][_0x388920(0x35c)](Oi),_0x1c1aeb=this[_0x388920(0x1da)][_0x388920(0x35c)](K);return(_0x46dded=(_0x1fe05=_0x1c1aeb==null?void 0x0:_0x1c1aeb[_0x388920(0x101)])!=null?_0x1fe05:_0x16c622)!=null?_0x46dded:sr;}async[_0x132e4f(0x192)](_0x185709){var _0x391010=_0x132e4f;const _0x3185b7=this[_0x391010(0xbb)]()+'/collaborator';return{'list':[{'title':_0x391010(0x1b7),'mentions':(await this[_0x391010(0x376)][_0x391010(0x303)](_0x3185b7,{'params':{'objectID':_0x185709[_0x391010(0x1af)],'unitID':_0x185709[_0x391010(0x1af)]}}))[_0x391010(0x14d)][_0x391010(0xed)][_0x391010(0x2a7)](_0x4a78a1=>({'objectId':_0x4a78a1['id'],'name':_0x4a78a1[_0x391010(0x36c)]['name'],'metadata':{'icon':_0x4a78a1[_0x391010(0x36c)][_0x391010(0x7a)]},'label':_0x4a78a1[_0x391010(0x36c)][_0x391010(0x22b)],'objectType':_0x30f986[_0x391010(0x263)]})),'metadata':{},'type':_0x30f986[_0x391010(0x263)]}]};}};Ot=ir([ai(0x0,_0x272268(_0x2697d9)),ai(0x1,_0x272268(_0x3f17c))],Ot);var nr=Object[_0x132e4f(0x129)],rr=(_0x3e8c41,_0x1af4ba,_0x2eeda0,_0x20dde2)=>{for(var _0x19c58b=_0x20dde2>0x1?void 0x0:_0x20dde2?nr(_0x1af4ba,_0x2eeda0):_0x1af4ba,_0xd4686=_0x3e8c41['length']-0x1,_0x38a51a;_0xd4686>=0x0;_0xd4686--)(_0x38a51a=_0x3e8c41[_0xd4686])&&(_0x19c58b=_0x38a51a(_0x19c58b)||_0x19c58b);return _0x19c58b;},Ae=(_0x2492d0,_0x5eff48)=>(_0x2936de,_0x42502e)=>_0x5eff48(_0x2936de,_0x42502e,_0x2492d0);let ot=class extends _0x151895{constructor(_0x59db04,_0x1123ae,_0x532d4d,_0x5aafb4,_0x198d4e){var _0x4fe905=_0x132e4f;super(),this['_injector']=_0x59db04,this[_0x4fe905(0xdf)]=_0x1123ae,this[_0x4fe905(0x112)]=_0x532d4d,this[_0x4fe905(0xf9)]=_0x5aafb4,this[_0x4fe905(0x309)]=_0x198d4e,this[_0x4fe905(0xc3)](),this[_0x4fe905(0x16a)]();}[_0x132e4f(0x16a)](){var _0x466575=_0x132e4f;const _0x483c3c=async _0x2a40c3=>{var _0x359397=_0xa8aa;(await this[_0x359397(0xf9)][_0x359397(0x2e4)](_0x2a40c3))[_0x359397(0x1e3)][_0x359397(0x33f)](_0x154c53(_0x515299=>_0x515299[_0x359397(0x2c7)]===_0x13b946[_0x359397(0x1ed)]),_0x5014de(this[_0x359397(0x14c)]))[_0x359397(0x1e1)](_0xeb19c9=>{var _0x549d0c=_0x359397;const _0xe8f4d2=_0xeb19c9,{reason:_0x2d31f7}=_0xe8f4d2[_0x549d0c(0x312)];this[_0x549d0c(0x309)]['emitEvent']({'id':ne[_0x549d0c(0x109)],'data':_0x2d31f7}),this['_permissionService'][_0x549d0c(0x154)](new _0x4f21d5(_0x2a40c3)['id'],!0x1),this[_0x549d0c(0xf9)]['closeSession'](_0x2a40c3);});};_0x1f0a96(this[_0x466575(0xdf)][_0x466575(0x297)](_0x1df003[_0x466575(0xd5)]),this[_0x466575(0xdf)][_0x466575(0x297)](_0x1df003['UNIVER_DOC']))[_0x466575(0x33f)](_0x240a71(_0x5f0fda=>_0x5f0fda[_0x466575(0x1c8)]()),_0x154c53(_0x20bb56=>!_0x328dd9(_0x20bb56)),_0x5014de(this[_0x466575(0x14c)]))[_0x466575(0x1e1)](_0x4b3ce8=>{_0x483c3c(_0x4b3ce8);});}[_0x132e4f(0xc3)](){var _0x5ebee2=_0x132e4f;const _0x1da892=async _0x59315d=>{var _0x29a453=_0xa8aa;const _0x3828d9=await this['_collaborationSessionService'][_0x29a453(0x2e4)](_0x59315d),_0x1e3fa3=this[_0x29a453(0x1db)][_0x29a453(0x303)](_0x10fa29);_0x3828d9['event$'][_0x29a453(0x33f)](_0x154c53(_0x3df75c=>_0x3df75c[_0x29a453(0x2c7)]===_0x13b946[_0x29a453(0xee)]),_0x5014de(this['dispose$']))[_0x29a453(0x1e1)](_0x461729=>{var _0x596624=_0x29a453;const _0x58c7ce=_0x461729,{objectId:_0x18167b}=_0x58c7ce[_0x596624(0x312)];_0x18167b===_0x59315d?_0x1e3fa3[_0x596624(0x152)](_0x59315d):_0x1e3fa3[_0x596624(0xa0)](_0x59315d,_0x18167b);});};_0x1f0a96(this['_univerInstanceService'][_0x5ebee2(0x297)](_0x1df003[_0x5ebee2(0xd5)]))['pipe'](_0x240a71(_0x1fd45c=>_0x1fd45c[_0x5ebee2(0x1c8)]()),_0x154c53(_0x1a1732=>!_0x328dd9(_0x1a1732)),_0x5014de(this[_0x5ebee2(0x14c)]))[_0x5ebee2(0x1e1)](_0x290c3e=>{_0x1da892(_0x290c3e);});}};ot=rr([Ae(0x0,_0x272268(_0x1e804f)),Ae(0x1,_0x3078ab),Ae(0x2,_0x58feed),Ae(0x3,_0x272268(Le)),Ae(0x4,_0x272268(ve))],ot);var ar=Object['getOwnPropertyDescriptor'],or=(_0x2e0139,_0x2f3f9c,_0x436d29,_0x12761e)=>{var _0x17bd7e=_0x132e4f;for(var _0x1df335=_0x12761e>0x1?void 0x0:_0x12761e?ar(_0x2f3f9c,_0x436d29):_0x2f3f9c,_0x387d7c=_0x2e0139[_0x17bd7e(0x232)]-0x1,_0x5f12a6;_0x387d7c>=0x0;_0x387d7c--)(_0x5f12a6=_0x2e0139[_0x387d7c])&&(_0x1df335=_0x5f12a6(_0x1df335)||_0x1df335);return _0x1df335;},oi=(_0x179402,_0x2c2b7d)=>(_0x1a739b,_0x341b6d)=>_0x2c2b7d(_0x1a739b,_0x341b6d,_0x179402);let bt=class{constructor(_0xbc0c80,_0x158947){var _0x1888e7=_0x132e4f;this[_0x1888e7(0x1da)]=_0xbc0c80,this[_0x1888e7(0xf4)]=_0x158947;}async[_0x132e4f(0x1c1)](_0x5312b5,_0x40c84f){var _0x6d1b6=_0x132e4f,_0x15e9dc;const {unitID:_0x374917,type:_0x3f59db,revision:_0x16d7aa=0x0}=_0x40c84f,_0x3c4d23=this[_0x6d1b6(0x264)]()+'/'+_0x3f59db+_0x6d1b6(0x294)+_0x374917+_0x6d1b6(0x1eb)+_0x16d7aa,_0x40d3d1=(await this[_0x6d1b6(0xf4)][_0x6d1b6(0x303)](_0x3c4d23))[_0x6d1b6(0x14d)],_0x1ea866=(_0x15e9dc=_0x40d3d1['snapshot'])==null?void 0x0:_0x15e9dc['workbook'];if(_0x1ea866){const _0x39b7d1=_0x1ea866==null?void 0x0:_0x1ea866[_0x6d1b6(0xdc)],_0x552e39=_0x412fea[_0x6d1b6(0x31d)](_0xe4148c(_0x39b7d1));_0x1ea866[_0x6d1b6(0xdc)]=_0x552e39,Object[_0x6d1b6(0x14f)](_0x1ea866[_0x6d1b6(0x1ff)])['forEach'](([,_0x410a3d])=>{var _0x59567c=_0x6d1b6;const _0x4ece2f=_0x410a3d[_0x59567c(0xdc)],_0x35ae9f=_0x412fea[_0x59567c(0x31d)](_0xe4148c(_0x4ece2f));_0x410a3d[_0x59567c(0xdc)]=_0x35ae9f;});}return _0x40d3d1;}async[_0x132e4f(0x1d7)](_0x2dded9,_0x167c1a){var _0x13787a=_0x132e4f;const {unitID:_0x3977f3,type:_0x5a921f,blockID:_0x5f1fed}=_0x167c1a,_0x128a8e=this['_getAPIPrefix']()+'/'+_0x5a921f+_0x13787a(0x294)+_0x3977f3+_0x13787a(0x2b4)+_0x5f1fed;return(await this['_httpService'][_0x13787a(0x303)](_0x128a8e))[_0x13787a(0x14d)];}async[_0x132e4f(0xe5)](_0x42da71,_0x454c76){var _0x4eb717=_0x132e4f;const {unitID:_0x42b812,type:_0x437875,blockID:_0x4ec216}=_0x454c76,_0x3ffd06=this[_0x4eb717(0x34c)]()+_0x4eb717(0x2b4)+_0x437875+'/unit/'+_0x42b812+'/block/'+_0x4ec216;return(await this[_0x4eb717(0xf4)][_0x4eb717(0x303)](_0x3ffd06))[_0x4eb717(0x14d)];}async[_0x132e4f(0xe1)](_0x312c54,_0x24577b){var _0x1cffe7=_0x132e4f;const {unitID:_0x232f81,type:_0x10235f,from:_0x3e0fd4,to:_0x423261}=_0x24577b,_0x4af624=this[_0x1cffe7(0x34c)]()+'/'+_0x10235f+_0x1cffe7(0x294)+_0x232f81+'/fetchmissing?from='+_0x3e0fd4+'&to='+_0x423261;return(await this[_0x1cffe7(0xf4)][_0x1cffe7(0x303)](_0x4af624))[_0x1cffe7(0x14d)];}[_0x132e4f(0x264)](){var _0xe183b5=_0x132e4f,_0x5319fb;return(_0x5319fb=this[_0xe183b5(0x1da)][_0xe183b5(0x35c)](ps))!=null?_0x5319fb:this[_0xe183b5(0x34c)]();}[_0x132e4f(0x34c)](){var _0x4323b2=_0x132e4f,_0x4f3ea5,_0x206abc;const _0x293299=this['_configService']['getConfig'](fs),_0x193ea3=this[_0x4323b2(0x1da)][_0x4323b2(0x35c)](K);return(_0x206abc=(_0x4f3ea5=_0x193ea3==null?void 0x0:_0x193ea3[_0x4323b2(0x321)])!=null?_0x4f3ea5:_0x293299)!=null?_0x206abc:vs;}async[_0x132e4f(0x327)](_0x1e28fa,_0x60d2de){var _0x8d6e94=_0x132e4f;const _0x7ef786=_0x8d6e94(0x21c)+_0x60d2de['type']+_0x8d6e94(0x294)+_0x60d2de[_0x8d6e94(0x341)]+_0x8d6e94(0x16f);return(await this[_0x8d6e94(0xf4)][_0x8d6e94(0x303)](_0x7ef786,{'params':{'resourceId':JSON[_0x8d6e94(0x2a6)](_0x60d2de['resourceIDs'])}}))[_0x8d6e94(0x14d)];}[_0x132e4f(0x17a)](){var _0x322cf5=_0x132e4f;throw new Error(_0x322cf5(0x242));}[_0x132e4f(0x1aa)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x132e4f(0x2c4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x132e4f(0x184)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x132e4f(0x18a)](){var _0x1ccf30=_0x132e4f;throw new Error(_0x1ccf30(0x242));}[_0x132e4f(0x2ed)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};bt=or([oi(0x0,_0x2697d9),oi(0x1,_0x272268(_0x3f17c))],bt);var cr=Object['getOwnPropertyDescriptor'],hr=(_0x36bae1,_0x4b16ef,_0x32b984,_0x4ee465)=>{for(var _0x272656=_0x4ee465>0x1?void 0x0:_0x4ee465?cr(_0x4b16ef,_0x32b984):_0x4b16ef,_0x5b5251=_0x36bae1['length']-0x1,_0x4739c3;_0x5b5251>=0x0;_0x5b5251--)(_0x4739c3=_0x36bae1[_0x5b5251])&&(_0x272656=_0x4739c3(_0x272656)||_0x272656);return _0x272656;},we=(_0x1fdb3b,_0x2612f1)=>(_0x5b865e,_0x7081f1)=>_0x2612f1(_0x5b865e,_0x7081f1,_0x1fdb3b);let yt=class extends _0x287d59{constructor(_0x4f014a,_0x1b7e74,_0x8f948b,_0x326f4c,_0x27e61f){var _0x467115=_0x132e4f;super(_0x4f014a,_0x1b7e74,_0x8f948b),this['_transformService']=_0x326f4c,this[_0x467115(0x91)]=_0x27e61f;}[_0x132e4f(0x2e5)](_0x4457f7,_0x5f0250){var _0x287ff5=_0x132e4f;const _0x44bb23=this[_0x287ff5(0x306)](_0x4457f7);if(_0x44bb23)try{const _0x566274=this[_0x287ff5(0x29d)](_0x44bb23,_0x5f0250);this[_0x287ff5(0xab)](_0x4457f7,_0x566274);}catch(_0x547a3f){this[_0x287ff5(0x91)][_0x287ff5(0x13c)](_0x287ff5(0xc1),_0x547a3f),this['_clearUndo'](_0x4457f7);}const _0x685c1c=this['_getRedoStack'](_0x4457f7);if(_0x685c1c)try{const _0x3c3954=this[_0x287ff5(0x29d)](_0x685c1c,_0x5f0250);this[_0x287ff5(0x2d2)](_0x4457f7,_0x3c3954);}catch(_0x24cdb7){this[_0x287ff5(0x91)][_0x287ff5(0x13c)](_0x24cdb7),this[_0x287ff5(0xd2)](_0x4457f7);}}['_clearUndo'](_0xdca360){var _0x35cf4a=_0x132e4f;const _0x429090=this['_getUndoStack'](_0xdca360);_0x429090&&(_0x429090[_0x35cf4a(0x232)]=0x0,this[_0x35cf4a(0x256)]());}['_clearRedo'](_0x5a02d4){var _0x1d7ac7=_0x132e4f;const _0x23a175=this[_0x1d7ac7(0x2cc)](_0x5a02d4);_0x23a175&&(_0x23a175[_0x1d7ac7(0x232)]=0x0,this[_0x1d7ac7(0x256)]());}['_substituteUndoStack'](_0x455faf,_0x41ab21){var _0x56ca26=_0x132e4f;this[_0x56ca26(0xf0)][_0x56ca26(0x114)](_0x455faf,_0x41ab21),this[_0x56ca26(0x256)]();}[_0x132e4f(0x2d2)](_0x16e14c,_0x50aa85){var _0x4506ad=_0x132e4f;this['_redoStacks'][_0x4506ad(0x114)](_0x16e14c,_0x50aa85),this[_0x4506ad(0x256)]();}['_transformStack'](_0xd99232,_0x4e4d62){var _0x549875=_0x132e4f;const _0x151497=[];let _0x27af37=_0x4e4d62,_0x3a3813=_0x4e4d62;for(let _0xe8d621=_0xd99232[_0x549875(0x232)]-0x1;_0xe8d621>=0x0;_0xe8d621--){const {unitID:_0x380975,undoMutations:_0x4b3427,redoMutations:_0x7a51e7}=_0xd99232[_0xe8d621],_0x171624=this[_0x549875(0x16c)][_0x549875(0xcd)](_0x27af37,_0x4b3427),_0x50f1c1=this['_transformService'][_0x549875(0xcd)](_0x3a3813,_0x7a51e7);if(_0x4396fe(_0x171624)||_0x4396fe(_0x50f1c1)){this[_0x549875(0x91)][_0x549875(0x13c)](_0x549875(0xc1),_0x549875(0x2c9),_0x171624,_0x50f1c1);break;}_0x27af37=_0x171624['c1Prime'],_0x3a3813=_0x50f1c1['c1Prime'],_0x151497[_0x549875(0x2ca)]({'unitID':_0x380975,'undoMutations':_0x171624['m2Prime'],'redoMutations':_0x50f1c1[_0x549875(0x2de)]});}return _0x151497['reverse']();}};yt=hr([we(0x0,_0x3078ab),we(0x1,_0x1007ad),we(0x2,_0x29de0d),we(0x3,_0x1c967c),we(0x4,_0x2e16e2)],yt);var _r=Object['defineProperty'],lr=Object[_0x132e4f(0x129)],ur=(_0x132ab2,_0x8fdc00,_0x59a2f4)=>_0x8fdc00 in _0x132ab2?_r(_0x132ab2,_0x8fdc00,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59a2f4}):_0x132ab2[_0x8fdc00]=_0x59a2f4,dr=(_0x4d03af,_0x4a8064,_0x1451f1,_0xf2dc02)=>{var _0x24677c=_0x132e4f;for(var _0x196366=_0xf2dc02>0x1?void 0x0:_0xf2dc02?lr(_0x4a8064,_0x1451f1):_0x4a8064,_0x43f4ec=_0x4d03af[_0x24677c(0x232)]-0x1,_0x3403fb;_0x43f4ec>=0x0;_0x43f4ec--)(_0x3403fb=_0x4d03af[_0x43f4ec])&&(_0x196366=_0x3403fb(_0x196366)||_0x196366);return _0x196366;},mt=(_0x1c3733,_0x398b59)=>(_0x417713,_0x42f7eb)=>_0x398b59(_0x417713,_0x42f7eb,_0x1c3733),fr=(_0x4ec405,_0x14184b,_0x5298bf)=>ur(_0x4ec405,_0x14184b+'',_0x5298bf);const vr=_0x132e4f(0x35f);let Nt=class extends _0x48a027{constructor(_0x36f58f,_0x18e6c3,_0x318266,_0x2b0e61){var _0x26943a=_0x132e4f;super(),N(this,_0x26943a(0x1d8)),(this[_0x26943a(0x91)]=_0x18e6c3,this[_0x26943a(0x1db)]=_0x318266,this[_0x26943a(0x1da)]=_0x2b0e61);const {..._0x5f43ca}=_0x325f70({},Ds,_0x36f58f);if(!_0x5f43ca[_0x26943a(0x34f)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x26943a(0x1d8)]=_0x5f43ca,this[_0x26943a(0x1da)][_0x26943a(0x144)](K,_0x5f43ca);}[_0x132e4f(0x147)](){var _0x4c9e76=_0x132e4f;this['_registerDependencies'](),this[_0x4c9e76(0x2b9)]();}[_0x132e4f(0x1cb)](){var _0x33ea9d=_0x132e4f,_0x547c09,_0x228567;this['_injector'][_0x33ea9d(0x2bb)](_0xea8a16)&&this[_0x33ea9d(0x91)]['error'](_0x33ea9d(0x304),_0x33ea9d(0x102));const _0x2d5e99=_0x50c77f([[_0xea8a16,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x33ea9d(0x1d8)][_0x33ea9d(0x34f)]}],[_0x29573b,{'useClass':bt}],[_0x32f2dc,{'useClass':Tt}],[_0x103303,{'useClass':Rt}],[_0x5a11f9,{'useClass':Ot}],[nt],[It]],(_0x547c09=this[_0x33ea9d(0x1d8)])==null?void 0x0:_0x547c09[_0x33ea9d(0x322)]);if(!((_0x228567=this[_0x33ea9d(0x1d8)])!=null&&_0x228567[_0x33ea9d(0x2c8)])){const _0x230e37=_0x2d5e99[_0x33ea9d(0x87)](([_0x1f166b])=>_0x1f166b===ht);_0x230e37!==-0x1&&_0x2d5e99[_0x33ea9d(0x31a)](_0x230e37,0x1);}_0x170597(this[_0x33ea9d(0x1db)],_0x2d5e99);}[_0x132e4f(0x2b9)](){var _0x174016=_0x132e4f,_0x694b03,_0x13f61f,_0x1e49f2;this['_injector'][_0x174016(0x303)](_0x3f17c)[_0x174016(0x236)]({'priority':0x14,'interceptor':_0x437cf7({'maxParallel':0x6})}),(_0x694b03=this[_0x174016(0x1d8)])!=null&&_0x694b03[_0x174016(0x34e)]||(_0x13f61f=this['_injector']['get'](J,_0x543523[_0x174016(0x337)]))==null||_0x13f61f[_0x174016(0x8b)](),(_0x1e49f2=this[_0x174016(0x1d8)])!=null&&_0x1e49f2[_0x174016(0x82)]&&_0x4f9dba(this[_0x174016(0x1db)],[[rt]]),_0x4f9dba(this[_0x174016(0x1db)],[[at],[nt],[ot]]);}};fr(Nt,_0x132e4f(0x98),vr),Nt=dr([_0x205d17(_0x39543d,_0x46de32),mt(0x1,_0x2e16e2),mt(0x2,_0x272268(_0x1e804f)),mt(0x3,_0x2697d9)],Nt);export{Oi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Os as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};