@univerjs-pro/collaboration-client 0.10.3-nightly.202508121228 → 0.10.3-nightly.202508150623
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x4ac54c=_0x6f14;(function(_0x2a2a68,_0x8e3966){var _0x15abf6=_0x6f14,_0x93b95a=_0x2a2a68();while(!![]){try{var _0x5d788c=-parseInt(_0x15abf6(0x303))/0x1*(parseInt(_0x15abf6(0x42b))/0x2)+parseInt(_0x15abf6(0x3d6))/0x3*(-parseInt(_0x15abf6(0x1bd))/0x4)+-parseInt(_0x15abf6(0x4a6))/0x5*(-parseInt(_0x15abf6(0x2f3))/0x6)+parseInt(_0x15abf6(0x2b4))/0x7*(-parseInt(_0x15abf6(0x420))/0x8)+-parseInt(_0x15abf6(0x426))/0x9*(-parseInt(_0x15abf6(0x28c))/0xa)+parseInt(_0x15abf6(0x1bc))/0xb*(parseInt(_0x15abf6(0x41d))/0xc)+parseInt(_0x15abf6(0x403))/0xd;if(_0x5d788c===_0x8e3966)break;else _0x93b95a['push'](_0x93b95a['shift']());}catch(_0x330fd8){_0x93b95a['push'](_0x93b95a['shift']());}}}(_0x225f,0xd0bd9));var yi=Object[_0x4ac54c(0x2b3)],Ni=(_0x170a0c,_0x42b885,_0x14957f)=>_0x42b885 in _0x170a0c?yi(_0x170a0c,_0x42b885,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x14957f}):_0x170a0c[_0x42b885]=_0x14957f,N=(_0x52404d,_0x37cc1d,_0x36dad7)=>Ni(_0x52404d,typeof _0x37cc1d!=_0x4ac54c(0x2a5)?_0x37cc1d+'':_0x37cc1d,_0x36dad7);import{CollaborationEvent as _0x5f303b,ITransformService as _0x556a8a,isTransformMutationsWithChangesetSuccess as _0x107dcf,mapDocumentTypeToUniverType as _0x1fa478,RevisionService as _0x5b05fd,isTransformChangesetsSuccess as _0x2387f4,CompressMutationService as _0x11441b,parseProtocolChangeset as _0x43ab34,uuidv4 as _0x27fd5a,ISnapshotServerService as _0x127e82,parseChangesetToProtocol as _0x1f9b84,SnapshotService as _0x52899b,textEncoder as _0xfde971,b64DecodeUnicode as _0xf5286b,isTransformMutationsWithChangesetFailure as _0x2af6da,UniverCollaborationPlugin as _0x4a779a}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x5a7d2b,Inject as _0x22f569,UserManagerService as _0x4daa1d,Disposable as _0x544480,UniverInstanceType as _0xfccf72,ILogService as _0x14cccc,IConfigService as _0x5c33eb,Optional as _0x102f44,RxDisposable as _0x2ed3e7,createIdentifier as _0x49b5e3,Injector as _0x358553,Tools as _0x2b9676,Rectangle as _0x435bde,ICommandService as _0x108bed,JSONX as _0x1a58ed,CommandType as _0x38d8b1,IUndoRedoService as _0x263eaf,IPermissionService as _0x4d07a8,LocaleService as _0xe6f6cb,sequenceExecute as _0x6ed837,toDisposable as _0x1fc3e2,DisposableCollection as _0x44034,Workbook as _0x551cf1,generateRandomId as _0x3820c7,MentionType as _0x231101,isInternalEditorID as _0x59816b,LocalUndoRedoService as _0x28343f,IContextService as _0x38997c,DependentOn as _0x386644,Plugin as _0x283b1e,merge as _0x5dfe47,mergeOverrideWithDependencies as _0x5f22d3,IAuthzIoService as _0x5146ea,IMentionIOService as _0x5992b6,registerDependencies as _0x576f37,Quantity as _0xe8222b,touchDependencies as _0x2fc673}from'@univerjs/core';import{RichTextEditingMutation as _0x8049a4}from'@univerjs/docs';import{SheetsSelectionsService as _0x39e5f1,SetSelectionsOperation as _0x33d231,InsertSheetMutation as _0x4c3bda,EmptyMutation as _0x575cc0,WorkbookEditablePermission as _0x3725ec,SheetPermissionInitController as _0x3be323}from'@univerjs/sheets';import{Subject as _0x5375c5,merge as _0x17798d,of as _0x5c7407,BehaviorSubject as _0x163373,takeUntil as _0x128ca3,ReplaySubject as _0x5e3a32,take as _0x48d547,map as _0x51075f,shareReplay as _0x2af257,firstValueFrom as _0x2f347f,concatMap as _0x451db9}from'rxjs';import{ITelemetryService as _0x5de072}from'@univerjs/telemetry';import{map as _0x579e0d,take as _0x1b35a2,filter as _0x5969e6,delay as _0x4173a7,takeUntil as _0x590678}from'rxjs/operators';import{HTTPService as _0x42880f,ISocketService as _0x51f99f,MergeInterceptorFactory as _0x1d0bac,HTTPRequest as _0x50d246,UniverNetworkPlugin as _0x13a303,ThresholdInterceptorFactory as _0x477e74}from'@univerjs/network';import{ImageSourceType as _0x732fa6,ImageUploadStatusType as _0x4940a0,IImageIoService as _0x20c1be}from'@univerjs/drawing';import{getGlobalObject as _0xa014fa}from'@univerjs-pro/license';const fs=_0x4ac54c(0x40a),vs=_0x4ac54c(0x314),ps=0x7d0,ms='ws://127.0.0.1:8000/universer-api/comb/connect',Ir=_0x4ac54c(0x377),gs=_0x4ac54c(0x335),Ss=0x7530,di=_0x4ac54c(0x235),fi=0x4e20,Es=0x4e20,Is='RETRY_CONNECTING_MAX_COUNT',Ts=0x3,Tr=_0x4ac54c(0x241),Cr=0x3e8,Cs=_0x4ac54c(0x476),Rs=_0x4ac54c(0x341),Rr=_0x4ac54c(0x41f),Or=_0x4ac54c(0x3b0);var vi=(_0x1777ba=>(_0x1777ba[_0x1777ba[_0x4ac54c(0x265)]=0x0]=_0x4ac54c(0x265),_0x1777ba[_0x1777ba['OK']=0x1]='OK',_0x1777ba[_0x1777ba[_0x4ac54c(0x44d)]=0x2]=_0x4ac54c(0x44d),_0x1777ba[_0x1777ba['PERMISSION_DENIED']=0x3]=_0x4ac54c(0x1f3),_0x1777ba[_0x1777ba[_0x4ac54c(0x347)]=0x4]='NOT_FOUND',_0x1777ba[_0x1777ba[_0x4ac54c(0x30a)]=0x5]=_0x4ac54c(0x30a),_0x1777ba[_0x1777ba['ALREADY_EXISTS']=0x6]=_0x4ac54c(0x2f0),_0x1777ba[_0x1777ba[_0x4ac54c(0x35a)]=0x7]=_0x4ac54c(0x35a),_0x1777ba[_0x1777ba[_0x4ac54c(0x2a3)]=0x8]=_0x4ac54c(0x2a3),_0x1777ba[_0x1777ba[_0x4ac54c(0x369)]=0x9]=_0x4ac54c(0x369),_0x1777ba[_0x1777ba[_0x4ac54c(0x1ce)]=0xa]=_0x4ac54c(0x1ce),_0x1777ba[_0x1777ba[_0x4ac54c(0x40f)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x1777ba[_0x1777ba[_0x4ac54c(0x24f)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1777ba[_0x1777ba[_0x4ac54c(0x2e4)]=0xd]=_0x4ac54c(0x2e4),_0x1777ba[_0x1777ba[_0x4ac54c(0x329)]=0xe]=_0x4ac54c(0x329),_0x1777ba[_0x1777ba['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4ac54c(0x20b),_0x1777ba[_0x1777ba['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4ac54c(0x3e6),_0x1777ba[_0x1777ba[_0x4ac54c(0x28d)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1777ba[_0x1777ba[_0x4ac54c(0x3bc)]=0x1773]=_0x4ac54c(0x3bc),_0x1777ba[_0x1777ba[_0x4ac54c(0x48d)]=0x1b59]=_0x4ac54c(0x48d),_0x1777ba[_0x1777ba[_0x4ac54c(0x3a3)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1777ba[_0x1777ba[_0x4ac54c(0x22c)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1777ba[_0x1777ba['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4ac54c(0x305),_0x1777ba[_0x1777ba[_0x4ac54c(0x466)]=0x1b5d]=_0x4ac54c(0x466),_0x1777ba[_0x1777ba[_0x4ac54c(0x3fa)]=0x1f41]=_0x4ac54c(0x3fa),_0x1777ba[_0x1777ba[_0x4ac54c(0x1fb)]=0x2329]=_0x4ac54c(0x1fb),_0x1777ba[_0x1777ba[_0x4ac54c(0x27d)]=0x232a]=_0x4ac54c(0x27d),_0x1777ba[_0x1777ba['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4ac54c(0x2bc),_0x1777ba[_0x1777ba[_0x4ac54c(0x1cc)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1777ba[_0x1777ba[_0x4ac54c(0x385)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x1777ba[_0x1777ba[_0x4ac54c(0x3a9)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1777ba[_0x1777ba[_0x4ac54c(0x1c0)]=0x2712]=_0x4ac54c(0x1c0),_0x1777ba[_0x1777ba['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4ac54c(0x36b),_0x1777ba[_0x1777ba[_0x4ac54c(0x250)]=0x2714]=_0x4ac54c(0x250),_0x1777ba[_0x1777ba[_0x4ac54c(0x1bb)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x1777ba[_0x1777ba[_0x4ac54c(0x438)]=0x271b]=_0x4ac54c(0x438),_0x1777ba[_0x1777ba[_0x4ac54c(0x299)]=0x271c]=_0x4ac54c(0x299),_0x1777ba[_0x1777ba[_0x4ac54c(0x3fc)]=0x271d]=_0x4ac54c(0x3fc),_0x1777ba[_0x1777ba[_0x4ac54c(0x264)]=0x271e]=_0x4ac54c(0x264),_0x1777ba[_0x1777ba[_0x4ac54c(0x32a)]=0x271f]=_0x4ac54c(0x32a),_0x1777ba[_0x1777ba[_0x4ac54c(0x47f)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x1777ba[_0x1777ba[_0x4ac54c(0x3ca)]=0x2af9]=_0x4ac54c(0x3ca),_0x1777ba[_0x1777ba[_0x4ac54c(0x294)]=0x2ee1]=_0x4ac54c(0x294),_0x1777ba[_0x1777ba['INVALID_INVITE_CODE']=0x2ee2]=_0x4ac54c(0x42c),_0x1777ba[_0x1777ba['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4ac54c(0x3ba),_0x1777ba[_0x1777ba[_0x4ac54c(0x3bd)]=0x2ee4]=_0x4ac54c(0x3bd),_0x1777ba[_0x1777ba[_0x4ac54c(0x365)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1777ba[_0x1777ba[_0x4ac54c(0x3bf)]=0x32c9]=_0x4ac54c(0x3bf),_0x1777ba[_0x1777ba[_0x4ac54c(0x484)]=0x32ca]=_0x4ac54c(0x484),_0x1777ba[_0x1777ba[_0x4ac54c(0x254)]=0x32cb]=_0x4ac54c(0x254),_0x1777ba[_0x1777ba['UNRECOGNIZED']=-0x1]=_0x4ac54c(0x29f),_0x1777ba))(vi||{}),Z=(_0x168531=>(_0x168531[_0x168531[_0x4ac54c(0x414)]=0x0]=_0x4ac54c(0x414),_0x168531[_0x168531['UNIVER_DOC']=0x1]=_0x4ac54c(0x4ac),_0x168531[_0x168531[_0x4ac54c(0x36e)]=0x2]=_0x4ac54c(0x36e),_0x168531[_0x168531[_0x4ac54c(0x284)]=0x3]=_0x4ac54c(0x284),_0x168531[_0x168531[_0x4ac54c(0x248)]=0x4]=_0x4ac54c(0x248),_0x168531[_0x168531['UNRECOGNIZED']=-0x1]=_0x4ac54c(0x29f),_0x168531))(Z||{}),F=(_0x2ba6e6=>(_0x2ba6e6[_0x2ba6e6[_0x4ac54c(0x2e3)]=0x0]=_0x4ac54c(0x2e3),_0x2ba6e6[_0x2ba6e6['HELLO']=0x1]='HELLO',_0x2ba6e6[_0x2ba6e6[_0x4ac54c(0x3d9)]=0x2]='JOIN',_0x2ba6e6[_0x2ba6e6[_0x4ac54c(0x20e)]=0x3]=_0x4ac54c(0x20e),_0x2ba6e6[_0x2ba6e6['INGEST']=0x4]=_0x4ac54c(0x381),_0x2ba6e6[_0x2ba6e6[_0x4ac54c(0x288)]=0x5]=_0x4ac54c(0x288),_0x2ba6e6[_0x2ba6e6[_0x4ac54c(0x21c)]=0x6]=_0x4ac54c(0x21c),_0x2ba6e6[_0x2ba6e6[_0x4ac54c(0x29f)]=-0x1]=_0x4ac54c(0x29f),_0x2ba6e6))(F||{}),pe=(_0x1afae4=>(_0x1afae4[_0x1afae4[_0x4ac54c(0x41e)]=0x0]=_0x4ac54c(0x41e),_0x1afae4[_0x1afae4['OK']=0x1]='OK',_0x1afae4[_0x1afae4[_0x4ac54c(0x4b3)]=0x2]=_0x4ac54c(0x4b3),_0x1afae4[_0x1afae4[_0x4ac54c(0x485)]=0x3e9]=_0x4ac54c(0x485),_0x1afae4[_0x1afae4['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x4ac54c(0x1d8),_0x1afae4[_0x1afae4[_0x4ac54c(0x407)]=0x3eb]=_0x4ac54c(0x407),_0x1afae4[_0x1afae4[_0x4ac54c(0x416)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x1afae4[_0x1afae4[_0x4ac54c(0x29f)]=-0x1]=_0x4ac54c(0x29f),_0x1afae4))(pe||{}),pi=(_0xfa8ce0=>(_0xfa8ce0[_0xfa8ce0[_0x4ac54c(0x2d1)]=0x0]=_0x4ac54c(0x2d1),_0xfa8ce0[_0xfa8ce0[_0x4ac54c(0x383)]=0x1]=_0x4ac54c(0x383),_0xfa8ce0[_0xfa8ce0['HttpExport']=0x2]=_0x4ac54c(0x2d4),_0xfa8ce0[_0xfa8ce0[_0x4ac54c(0x357)]=0x3]=_0x4ac54c(0x357),_0xfa8ce0[_0xfa8ce0[_0x4ac54c(0x33f)]=0x4]='UnitSnapshot',_0xfa8ce0[_0xfa8ce0[_0x4ac54c(0x1d0)]=0x5]=_0x4ac54c(0x1d0),_0xfa8ce0[_0xfa8ce0['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xfa8ce0))(pi||{});const Os=_0x4ac54c(0x2c9);function bs(_0x551b9c){var _0x8cdd71=_0x4ac54c;return JSON[_0x8cdd71(0x31c)](_0x551b9c)[_0x8cdd71(0x413)];}var ne=(_0x403d9a=>(_0x403d9a[_0x4ac54c(0x490)]='OTHER_CLIENT_EDITING',_0x403d9a['PERMISSION_DENIED']=_0x4ac54c(0x1f3),_0x403d9a[_0x4ac54c(0x1f9)]=_0x4ac54c(0x1f9),_0x403d9a['CLOSE_ROOM']=_0x4ac54c(0x290),_0x403d9a[_0x4ac54c(0x267)]=_0x4ac54c(0x267),_0x403d9a[_0x4ac54c(0x38e)]='SOCKET_FAILED_RETRY',_0x403d9a['SOCKET_FAILED']=_0x4ac54c(0x2ea),_0x403d9a['SUBMIT_CHANGESET_TIMEOUT']=_0x4ac54c(0x44f),_0x403d9a))(ne||{});class ve{constructor(){var _0x1035ba=_0x4ac54c;N(this,_0x1035ba(0x3eb),new _0x5375c5()),N(this,_0x1035ba(0x3ff),this[_0x1035ba(0x3eb)][_0x1035ba(0x425)]());}[_0x4ac54c(0x4a1)](_0x3a631c){var _0x442f19=_0x4ac54c;this[_0x442f19(0x3eb)][_0x442f19(0x3db)](_0x3a631c);}}class mi{constructor(){var _0x2fab86=_0x4ac54c;N(this,'_commentUpdate$',new _0x5375c5()),N(this,_0x2fab86(0x237),this['_commentUpdate$']['asObservable']());}[_0x4ac54c(0x3c4)](_0x3183df){var _0x4d4ba2=_0x4ac54c;this[_0x4d4ba2(0x1ee)][_0x4d4ba2(0x3db)](_0x3183df);}}var ys=Object[_0x4ac54c(0x45f)],Ns=(_0x5da840,_0xbf463f,_0x54851f,_0xa93842)=>{var _0x1200d5=_0x4ac54c;for(var _0x36c6b2=_0xa93842>0x1?void 0x0:_0xa93842?ys(_0xbf463f,_0x54851f):_0xbf463f,_0x35945c=_0x5da840[_0x1200d5(0x413)]-0x1,_0x40dec9;_0x35945c>=0x0;_0x35945c--)(_0x40dec9=_0x5da840[_0x35945c])&&(_0x36c6b2=_0x40dec9(_0x36c6b2)||_0x36c6b2);return _0x36c6b2;},Ft=(_0x3efc3e,_0x4cde39)=>(_0x17fa0e,_0x51970b)=>_0x4cde39(_0x17fa0e,_0x51970b,_0x3efc3e);let we=class extends _0x544480{constructor(_0x1eae2c,_0x249f89){var _0x2fa515=_0x4ac54c;super(),N(this,'_roomMembers',new Map()),N(this,_0x2fa515(0x1e2),new _0x5375c5()),(this[_0x2fa515(0x33d)]=_0x1eae2c,this[_0x2fa515(0x454)]=_0x249f89,this[_0x2fa515(0x2ae)](_0x17798d(this[_0x2fa515(0x33d)]['getTypeOfUnitDisposed$'](_0xfccf72[_0x2fa515(0x36e)])[_0x2fa515(0x3b9)](_0x579e0d(_0x50f426=>_0x50f426['getUnitId']())),this[_0x2fa515(0x33d)][_0x2fa515(0x200)](_0xfccf72[_0x2fa515(0x4ac)])[_0x2fa515(0x3b9)](_0x579e0d(_0x321fbe=>_0x321fbe[_0x2fa515(0x3b6)]())),this['_univerInstanceService'][_0x2fa515(0x200)](_0xfccf72[_0x2fa515(0x284)])['pipe'](_0x579e0d(_0x429d6b=>_0x429d6b[_0x2fa515(0x3b6)]())))[_0x2fa515(0x356)](_0x12d0d4=>this[_0x2fa515(0x43f)](_0x12d0d4))));}[_0x4ac54c(0x3e5)](_0x3be8d1){var _0x2deb1c=_0x4ac54c;return this[_0x2deb1c(0x214)]['has'](_0x3be8d1)?_0x5c7407(this[_0x2deb1c(0x214)][_0x2deb1c(0x307)](_0x3be8d1)):this[_0x2deb1c(0x1e2)]['pipe'](_0x579e0d(_0xd56383=>{var _0x2c1490=_0x2deb1c;if(_0xd56383===_0x3be8d1)return this[_0x2c1490(0x214)][_0x2c1490(0x307)](_0xd56383);}));}[_0x4ac54c(0x3cd)](_0x2f25c8){var _0x2764e5=_0x4ac54c;this[_0x2764e5(0x454)][_0x2764e5(0x3cd)](_0x2f25c8);}[_0x4ac54c(0x25e)](){var _0x415615=_0x4ac54c;return this[_0x415615(0x454)]['getCurrentUser']();}[_0x4ac54c(0x3ea)](_0x6c5ad8,_0x531959){var _0x12452d=_0x4ac54c;let _0x14a8c3=this['_roomMembers']['get'](_0x6c5ad8);_0x14a8c3||(_0x14a8c3=new Ds(),this[_0x12452d(0x214)]['set'](_0x6c5ad8,_0x14a8c3),this['_roomCreated$'][_0x12452d(0x3db)](_0x6c5ad8)),_0x14a8c3['updateMember'](_0x531959);}['removeMember'](_0x3e5c3b,_0x4f881d){var _0x4bece9=_0x4ac54c;const _0x481ef6=this[_0x4bece9(0x214)][_0x4bece9(0x307)](_0x3e5c3b);_0x481ef6&&_0x481ef6[_0x4bece9(0x3e0)](_0x4f881d);}['getRoom'](_0xe056a1){var _0x1be6c0=_0x4ac54c;return this[_0x1be6c0(0x214)]['get'](_0xe056a1);}['getMember'](_0x3d407c,_0x560dbb){var _0xe9d7a6=_0x4ac54c;const _0x1a602a=this[_0xe9d7a6(0x214)][_0xe9d7a6(0x307)](_0x3d407c);if(_0x1a602a)return _0x1a602a[_0xe9d7a6(0x328)](_0x560dbb);}[_0x4ac54c(0x43f)](_0x12fedc){var _0x2d843b=_0x4ac54c;const _0x1cdce4=this[_0x2d843b(0x214)][_0x2d843b(0x307)](_0x12fedc);_0x1cdce4&&(_0x1cdce4[_0x2d843b(0x2fa)](),this['_roomMembers'][_0x2d843b(0x401)](_0x12fedc));}[_0x4ac54c(0x2fa)](){var _0x392a6e=_0x4ac54c;this[_0x392a6e(0x214)][_0x392a6e(0x392)](_0x214fd6=>_0x214fd6[_0x392a6e(0x2fa)]()),this[_0x392a6e(0x214)][_0x392a6e(0x489)](),this[_0x392a6e(0x1e2)]['complete']();}};we=Ns([Ft(0x0,_0x5a7d2b),Ft(0x1,_0x22f569(_0x4daa1d))],we);class Ds extends _0x544480{constructor(){var _0x5162d3=_0x4ac54c;super(...arguments),N(this,'_members',new Map()),N(this,_0x5162d3(0x3a7),new _0x163373(this[_0x5162d3(0x26a)])),N(this,_0x5162d3(0x29b),this[_0x5162d3(0x3a7)][_0x5162d3(0x425)]());}[_0x4ac54c(0x2fa)](){var _0x4a7e0c=_0x4ac54c;this[_0x4a7e0c(0x26a)]['clear']();}[_0x4ac54c(0x3ea)](_0x4d0b57){var _0x255475=_0x4ac54c;this[_0x255475(0x26a)][_0x255475(0x232)](_0x4d0b57[_0x255475(0x25c)],_0x4d0b57),this[_0x255475(0x32c)]();}[_0x4ac54c(0x3e0)](_0x12c98f){var _0xa40b98=_0x4ac54c;this[_0xa40b98(0x26a)][_0xa40b98(0x401)](_0x12c98f);}['getMember'](_0x147d8e){var _0x47b1f1=_0x4ac54c;return this[_0x47b1f1(0x26a)]['get'](_0x147d8e);}['getAllMembers'](){var _0x54befa=_0x4ac54c;return Array['from'](this[_0x54befa(0x26a)]['values']());}[_0x4ac54c(0x32c)](){var _0x26b4de=_0x4ac54c;this[_0x26b4de(0x3a7)][_0x26b4de(0x3db)](this[_0x26b4de(0x26a)]);}}var Us=Object[_0x4ac54c(0x45f)],As=(_0x1cdc71,_0x53e809,_0x3a3956,_0x18860c)=>{var _0x175cc8=_0x4ac54c;for(var _0x3fe71b=_0x18860c>0x1?void 0x0:_0x18860c?Us(_0x53e809,_0x3a3956):_0x53e809,_0x384687=_0x1cdc71[_0x175cc8(0x413)]-0x1,_0x7675c6;_0x384687>=0x0;_0x384687--)(_0x7675c6=_0x1cdc71[_0x384687])&&(_0x3fe71b=_0x7675c6(_0x3fe71b)||_0x3fe71b);return _0x3fe71b;},Ce=(_0x1bee0f,_0x3ef209)=>(_0x5f0788,_0x1c89e7)=>_0x3ef209(_0x5f0788,_0x1c89e7,_0x1bee0f),ge=(_0x2f6b84=>(_0x2f6b84[_0x2f6b84[_0x4ac54c(0x28b)]=0x0]=_0x4ac54c(0x28b),_0x2f6b84[_0x2f6b84[_0x4ac54c(0x472)]=0x1]=_0x4ac54c(0x472),_0x2f6b84[_0x2f6b84['OFFLINE']=0x2]='OFFLINE',_0x2f6b84[_0x2f6b84[_0x4ac54c(0x430)]=0x3]='ONLINE',_0x2f6b84))(ge||{});const Vt={[pe[_0x4ac54c(0x4b3)]]:_0x4ac54c(0x4b2),[pe[_0x4ac54c(0x485)]]:_0x4ac54c(0x4bb),[pe['JOIN_ROOM_NOT_EXISTS']]:_0x4ac54c(0x2c3),[pe['JOIN_ROOM_PERMISSION_DENIED']]:_0x4ac54c(0x4ba),[pe[_0x4ac54c(0x416)]]:'session.room-cnt-exceeds'};let gt=class extends _0x2ed3e7{constructor(_0x23518a,_0x4357f6,_0x451120,_0x1994d4,_0x57972c,_0x2e4f4c,_0x27c1e8,_0x17ff2e){var _0x3d60b3=_0x4ac54c;super(),N(this,_0x3d60b3(0x48f),new _0x163373(0x0)),N(this,_0x3d60b3(0x3ee),this[_0x3d60b3(0x48f)]['asObservable']()),N(this,'_event$',new _0x5375c5()),N(this,_0x3d60b3(0x3ff),this[_0x3d60b3(0x3eb)][_0x3d60b3(0x425)]()),N(this,_0x3d60b3(0x439)),N(this,_0x3d60b3(0x1e0)),N(this,_0x3d60b3(0x323)),N(this,_0x3d60b3(0x22f),!0x1),N(this,_0x3d60b3(0x2b8),null),(this[_0x3d60b3(0x366)]=_0x23518a,this[_0x3d60b3(0x1fe)]=_0x451120,this[_0x3d60b3(0x1c5)]=_0x1994d4,this[_0x3d60b3(0x374)]=_0x57972c,this[_0x3d60b3(0x3f6)]=_0x2e4f4c,this[_0x3d60b3(0x4a2)]=_0x27c1e8,this[_0x3d60b3(0x450)]=_0x17ff2e,this[_0x3d60b3(0x22f)]=!!this[_0x3d60b3(0x450)],_0x4357f6['pipe'](_0x128ca3(this[_0x3d60b3(0x289)]))['subscribe'](_0x3e19bd=>{var _0x49f137=_0x3d60b3,_0x28373d;typeof _0x3e19bd>'u'||(this['_socket']=_0x3e19bd,_0x3e19bd?(this[_0x49f137(0x2e5)](_0x3e19bd),this[_0x49f137(0x1e0)]=_0x3e19bd['message$'][_0x49f137(0x356)](_0x222b4a=>{var _0x3c0a2c=_0x49f137;_0x222b4a[_0x3c0a2c(0x37a)]===this[_0x3c0a2c(0x366)]&&this['_onCombEvent'](_0x222b4a);})):(this[_0x49f137(0x1dc)](),this[_0x49f137(0x48f)][_0x49f137(0x3db)](0x2),(_0x28373d=this[_0x49f137(0x1e0)])==null||_0x28373d[_0x49f137(0x2d5)](),this[_0x49f137(0x1e0)]=null));}));}get[_0x4ac54c(0x27b)](){var _0x2cb236=_0x4ac54c;return this['_sessionStatus$'][_0x2cb236(0x3c3)]();}[_0x4ac54c(0x222)](){var _0xcde43a=_0x4ac54c,_0x2b126e,_0x5a538a;return(_0x5a538a=(_0x2b126e=this[_0xcde43a(0x439)])==null?void 0x0:_0x2b126e['memberID'])!=null?_0x5a538a:null;}[_0x4ac54c(0x2fa)](){var _0x4a0c48=_0x4ac54c;super[_0x4a0c48(0x2fa)](),this[_0x4a0c48(0x289)][_0x4a0c48(0x3db)](),this[_0x4a0c48(0x289)][_0x4a0c48(0x3c0)]();}[_0x4ac54c(0x244)](){var _0x222c39=_0x4ac54c,_0x55d459,_0x3d01b7;this[_0x222c39(0x1dc)](),(_0x55d459=this['_socket'])==null||_0x55d459['send']({'cmd':F[_0x222c39(0x20e)],'data':{'roomID':this[_0x222c39(0x366)]}}),(_0x3d01b7=this[_0x222c39(0x439)])==null||_0x3d01b7['close'](),this[_0x222c39(0x3eb)]['complete'](),this[_0x222c39(0x48f)]['complete'](),this[_0x222c39(0x2fa)]();}[_0x4ac54c(0x301)](_0x5156b0){var _0x3f1963=_0x4ac54c;_0x5156b0[_0x3f1963(0x384)]===F[_0x3f1963(0x3d9)]?this[_0x3f1963(0x211)](_0x5156b0):_0x5156b0[_0x3f1963(0x384)]===F[_0x3f1963(0x21c)]&&this[_0x3f1963(0x4c3)](_0x5156b0);}['_joinRoom'](_0x794d33){var _0x8b91ce=_0x4ac54c;this['_sessionStatus$'][_0x8b91ce(0x3db)](0x1),_0x794d33[_0x8b91ce(0x2c8)]({'cmd':F[_0x8b91ce(0x3d9)],'routeKey':this[_0x8b91ce(0x366)],'routeType':'','data':{'rooms':[{'roomID':this[_0x8b91ce(0x366)]}]}});}[_0x4ac54c(0x211)](_0x17bf30){var _0x1f56bf=_0x4ac54c,_0x31bf9d;if(_0x17bf30[_0x1f56bf(0x49f)]in Vt){this['_collaborationUIEventService'][_0x1f56bf(0x4a1)]({'id':ne[_0x1f56bf(0x267)],'data':Vt[_0x17bf30[_0x1f56bf(0x49f)]]}),this[_0x1f56bf(0x48f)][_0x1f56bf(0x3db)](0x2);return;}this[_0x1f56bf(0x48f)][_0x1f56bf(0x3db)](0x3);const _0x328bc4=(_0x31bf9d=_0x17bf30['data']['roomInfos'][this['_unitID']])==null?void 0x0:_0x31bf9d[_0x1f56bf(0x2e1)];_0x328bc4&&_0x328bc4[_0x1f56bf(0x392)](_0x897df3=>this['_memberService'][_0x1f56bf(0x3ea)](this[_0x1f56bf(0x366)],_0x897df3));}[_0x4ac54c(0x4c3)](_0xfcc423){var _0x240b31=_0x4ac54c;try{const _0x1b11c7=_0xfcc423[_0x240b31(0x435)];switch(_0x1b11c7[_0x240b31(0x28f)]){case _0x5f303b[_0x240b31(0x387)]:this['_onUserJoin'](_0x1b11c7),this[_0x240b31(0x3eb)][_0x240b31(0x3db)](_0x1b11c7);break;case _0x5f303b[_0x240b31(0x498)]:this['_onUserLeave'](_0x1b11c7),this[_0x240b31(0x3eb)][_0x240b31(0x3db)](_0x1b11c7);break;case _0x5f303b[_0x240b31(0x4b0)]:case _0x5f303b[_0x240b31(0x43a)]:this[_0x240b31(0x373)](),this[_0x240b31(0x367)](),this['_event$'][_0x240b31(0x3db)](_0x1b11c7);break;case _0x5f303b['MSG_FOR_ERROR']:this[_0x240b31(0x1fe)][_0x240b31(0x1d1)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x240b31(0x31c)](_0x1b11c7)),this['_event$']['next'](_0x1b11c7);break;case _0x5f303b[_0x240b31(0x27c)]:this['_commentService']['onCommentUpdate'](_0x1b11c7[_0x240b31(0x435)]),this['_event$']['next'](_0x1b11c7);break;default:this[_0x240b31(0x3eb)][_0x240b31(0x3db)](_0x1b11c7);}}catch(_0xe5c8f){this[_0x240b31(0x1fe)][_0x240b31(0x1d1)](_0xe5c8f,_0xfcc423);}}[_0x4ac54c(0x1e6)](_0x53add9){var _0x25c880=_0x4ac54c;this[_0x25c880(0x374)][_0x25c880(0x3ea)](this[_0x25c880(0x366)],_0x53add9[_0x25c880(0x435)]);}[_0x4ac54c(0x26c)](_0x1b65ba){var _0xcf3a52=_0x4ac54c;this['_memberService'][_0xcf3a52(0x3e0)](this['_unitID'],_0x1b65ba[_0xcf3a52(0x435)][_0xcf3a52(0x25c)]);}async[_0x4ac54c(0x2c8)](_0x5e221b,_0x4f13e9){var _0x17ff51=_0x4ac54c;if(this[_0x17ff51(0x27b)]!==0x3||!this[_0x17ff51(0x439)])throw new Error(_0x17ff51(0x2a7));try{_0x5e221b[_0x17ff51(0x28f)]===_0x5f303b['SUBMIT_CHANGESET']&&(this[_0x17ff51(0x2b6)](),this['_startTelemetryCollaborationNewChangeset'](_0x5e221b)),this[_0x17ff51(0x439)][_0x17ff51(0x2c8)]({'cmd':F[_0x17ff51(0x381)],'routeKey':_0x4f13e9,'routeType':'','data':_0x5e221b});}catch(_0x42868e){this[_0x17ff51(0x1fe)][_0x17ff51(0x1d1)](_0x42868e);}}['_scheduleCollaborationTimeoutTimer'](){var _0x45034d=_0x4ac54c,_0x5d324a;this[_0x45034d(0x323)]=setTimeout(()=>{var _0x55e45e=_0x45034d;this[_0x55e45e(0x323)]=null,this[_0x55e45e(0x4a2)][_0x55e45e(0x4a1)]({'id':ne[_0x55e45e(0x44f)]});},(_0x5d324a=this[_0x45034d(0x1c5)][_0x45034d(0x230)](di))!=null?_0x5d324a:fi);}[_0x4ac54c(0x367)](){var _0xcaf186=_0x4ac54c;this[_0xcaf186(0x323)]&&(clearTimeout(this[_0xcaf186(0x323)]),this[_0xcaf186(0x323)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x500f2a){var _0x49a959=_0x4ac54c;if(!this[_0x49a959(0x22f)])return;const {data:_0x465881}=_0x500f2a,{unitID:_0x39a50b,changeset:_0x5de066}=_0x465881,{mutations:_0x52c75c,type:_0x5826c0}=_0x5de066;this[_0x49a959(0x2b8)]={'unitId':_0x39a50b,'type':_0x5826c0,'startTime':performance[_0x49a959(0x325)](),'stopTime':0x0,'duration':0x0,'size':bs(_0x52c75c)};}[_0x4ac54c(0x373)](){var _0x141639=_0x4ac54c;if(this[_0x141639(0x22f)]){if(!this[_0x141639(0x2b8)]){this['_logService']['error'](_0x141639(0x339),_0x141639(0x291));return;}this[_0x141639(0x2b8)][_0x141639(0x206)]=performance['now'](),this[_0x141639(0x2b8)][_0x141639(0x3e3)]=this[_0x141639(0x2b8)][_0x141639(0x206)]-this[_0x141639(0x2b8)][_0x141639(0x361)],this[_0x141639(0x450)][_0x141639(0x29c)](Os,this[_0x141639(0x2b8)]),this[_0x141639(0x2b8)]=null;}}[_0x4ac54c(0x1dc)](){this['_telemetryInfo']=null;}};gt=As([Ce(0x2,_0x14cccc),Ce(0x3,_0x5c33eb),Ce(0x4,_0x22f569(we)),Ce(0x5,_0x22f569(mi)),Ce(0x6,_0x22f569(ve)),Ce(0x7,_0x102f44(_0x5de072))],gt);const J=_0x49b5e3(_0x4ac54c(0x2c6));function br(_0x5cc245){var _0x469fb6=_0x4ac54c;return _0x469fb6(0x1e3)+_0x5cc245;}var ws=Object[_0x4ac54c(0x45f)],Ps=(_0x16ff8c,_0x44574d,_0x25c8ac,_0x25e556)=>{var _0x286022=_0x4ac54c;for(var _0x2977ed=_0x25e556>0x1?void 0x0:_0x25e556?ws(_0x44574d,_0x25c8ac):_0x44574d,_0x24413d=_0x16ff8c[_0x286022(0x413)]-0x1,_0x58ac09;_0x24413d>=0x0;_0x24413d--)(_0x58ac09=_0x16ff8c[_0x24413d])&&(_0x2977ed=_0x58ac09(_0x2977ed)||_0x2977ed);return _0x2977ed;},ut=(_0x552048,_0x2dbfeb)=>(_0x57e4e7,_0x532e9e)=>_0x2dbfeb(_0x57e4e7,_0x532e9e,_0x552048);function Ms(_0x855a35){var _0x2382bd=_0x4ac54c;const {unitID:_0x54ba66,mutations:_0x2ef995}=_0x855a35;return{'unitId':_0x54ba66,'subUnitId':_0x2ef995[0x0]['params'][_0x2382bd(0x48e)]};}let it=class{constructor(_0x2174f8,_0x509cef,_0x5cfa16){var _0x138780=_0x4ac54c;this[_0x138780(0x1e4)]=_0x2174f8,this[_0x138780(0x21e)]=_0x509cef,this[_0x138780(0x379)]=_0x5cfa16;}[_0x4ac54c(0x223)](_0x12fcf9){var _0x8bb9b3=_0x4ac54c,_0x3ba42b,_0x3385ee,_0x3902e7,_0xf3a9b5;const _0x22af59=this[_0x8bb9b3(0x1e4)][_0x8bb9b3(0x307)](_0x39e5f1),{unitId:_0x265e58,subUnitId:_0x432813}=Ms(_0x12fcf9),_0x475880=_0x22af59==null?void 0x0:_0x22af59[_0x8bb9b3(0x20c)](_0x265e58)[_0x8bb9b3(0x49d)](),_0x65a328=(_0x3385ee=(_0x3ba42b=this[_0x8bb9b3(0x379)][_0x8bb9b3(0x397)](_0x265e58))==null?void 0x0:_0x3ba42b[_0x8bb9b3(0x259)]())==null?void 0x0:_0x3385ee[_0x8bb9b3(0x406)]();if(_0x475880[_0x8bb9b3(0x413)]===0x0||!_0x265e58||!_0x432813)return;const _0x5a75a0=[{'id':_0x33d231['id'],'params':{'unitId':_0x265e58,'subUnitId':_0x65a328,'selections':_0x2b9676['deepClone'](_0x475880)}}],_0x40191f=this[_0x8bb9b3(0x21e)]['transformMutationsWithChangeset'](_0x12fcf9,_0x5a75a0);if(!_0x107dcf(_0x40191f))throw _0x40191f[_0x8bb9b3(0x1d1)];const _0x1701c4=(_0xf3a9b5=(_0x3902e7=_0x40191f[_0x8bb9b3(0x422)][0x0])==null?void 0x0:_0x3902e7[_0x8bb9b3(0x26d)])==null?void 0x0:_0xf3a9b5[_0x8bb9b3(0x382)];if(Array[_0x8bb9b3(0x4a5)](_0x1701c4)&&_0x1701c4[_0x8bb9b3(0x413)]){if(_0x1701c4['length']===_0x5a75a0[0x0][_0x8bb9b3(0x26d)][_0x8bb9b3(0x382)][_0x8bb9b3(0x413)]&&_0x1701c4[_0x8bb9b3(0x355)]((_0x3546f5,_0x1499cf)=>_0x435bde[_0x8bb9b3(0x2f8)](_0x3546f5[_0x8bb9b3(0x212)],_0x5a75a0[0x0][_0x8bb9b3(0x26d)]['selections'][_0x1499cf][_0x8bb9b3(0x212)])))return;this[_0x8bb9b3(0x1e4)]['get'](_0x108bed)[_0x8bb9b3(0x318)](_0x33d231['id'],{'unitId':_0x265e58,'subUnitId':_0x65a328,'selections':_0x1701c4});}}};it=Ps([ut(0x0,_0x22f569(_0x358553)),ut(0x1,_0x556a8a),ut(0x2,_0x5a7d2b)],it);const ht=_0x49b5e3(_0x4ac54c(0x43b));var gi=(_0x43fbc5=>(_0x43fbc5[_0x43fbc5[_0x4ac54c(0x21d)]=0x0]=_0x4ac54c(0x21d),_0x43fbc5[_0x43fbc5['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x43fbc5))(gi||{});const K=_0x4ac54c(0x348),Ls={},xs=new Set([_0x4c3bda['id']]);function Wt(_0x3e86ae,_0x58537f,_0x4fc2e8,_0x3741f5,_0x4d1296){var _0x3b272f=_0x4ac54c,_0x208f12,_0x2a544e,_0x1b2a99,_0x66b3f0;const _0x40d38f=[];for(const _0x5cafa0 of _0x3e86ae)if(xs['has'](_0x5cafa0['id'])){if(_0x40d38f[_0x3b272f(0x413)]>0x0)break;_0x40d38f[_0x3b272f(0x3d4)](_0x5cafa0);break;}else _0x40d38f[_0x3b272f(0x3d4)](_0x5cafa0);const _0xf1a8a0=(_0x2a544e=(_0x208f12=_0x4d1296['getCurrentUser']())==null?void 0x0:_0x208f12['userID'])!=null?_0x2a544e:_0x3b272f(0x2bd),_0x3df673=(_0x66b3f0=(_0x1b2a99=_0x4d1296[_0x3b272f(0x25e)]())==null?void 0x0:_0x1b2a99['memberID'])!=null?_0x66b3f0:_0x3b272f(0x2bd);return{'changeset':{'unitID':_0x58537f,'type':_0x1fa478(_0x4fc2e8[_0x3b272f(0x1f6)](_0x58537f)),'baseRev':_0x3741f5['getCurrentRevOfUnit'](_0x58537f),'revision':0x0,'userID':_0xf1a8a0,'memberID':_0x3df673,'mutations':_0x40d38f},'pendingMutations':_0x3e86ae[_0x3b272f(0x33b)](_0x40d38f[_0x3b272f(0x413)])};}function ks(_0x148fb0,_0x3a1037,_0x17a54,_0x1fee3a,_0x51920a){var _0x27103e=_0x4ac54c,_0x5698b7,_0x198c40,_0x2b6deb,_0x5902ad;const _0xdfc8fd=[_0x148fb0['reduce']((_0x357b53,_0xf992ce)=>{var _0x355ec5=_0x6f14,_0x342290;const {id:_0x30037b}=_0x357b53,{id:_0x506993,type:_0x357a4b}=_0xf992ce,_0x565ddd=(_0x342290=_0x357b53[_0x355ec5(0x26d)])!=null?_0x342290:{'actions':null},_0x223109=_0xf992ce[_0x355ec5(0x26d)];if(_0x30037b&&_0x30037b!==_0x506993)throw new Error(_0x355ec5(0x480)+_0x30037b+'\x20-\x20'+_0x506993+'.');return{..._0x357b53,'id':_0x506993,'type':_0x357a4b,'params':{'unitId':_0x223109[_0x355ec5(0x36d)],'textRanges':_0x223109['textRanges'],'actions':_0x1a58ed['compose'](_0x565ddd[_0x355ec5(0x42f)],_0x223109[_0x355ec5(0x42f)])}};},{})],_0x3d4d5e=(_0x198c40=(_0x5698b7=_0x51920a[_0x27103e(0x25e)]())==null?void 0x0:_0x5698b7[_0x27103e(0x398)])!=null?_0x198c40:_0x27103e(0x2bd),_0x1f48cb=(_0x5902ad=(_0x2b6deb=_0x51920a[_0x27103e(0x25e)]())==null?void 0x0:_0x2b6deb[_0x27103e(0x25c)])!=null?_0x5902ad:_0x27103e(0x2bd);return{'changeset':{'unitID':_0x3a1037,'type':_0x1fa478(_0x17a54[_0x27103e(0x1f6)](_0x3a1037)),'baseRev':_0x1fee3a['getCurrentRevOfUnit'](_0x3a1037),'revision':0x0,'userID':_0x3d4d5e,'memberID':_0x1f48cb,'mutations':_0xdfc8fd},'pendingMutations':[]};}function Si(_0x59513a,_0x2d796b){var _0x594c89=_0x4ac54c;const _0x2587f5=new _0x5e3a32(0x1);return setTimeout(()=>_0x2587f5['next'](_0x2d796b),_0x59513a),_0x2587f5[_0x594c89(0x425)]()[_0x594c89(0x3b9)](_0x48d547(0x1));}const $s={'id':_0x575cc0['id'],'type':_0x38d8b1[_0x4ac54c(0x226)],'params':{}};var Hs=Object['getOwnPropertyDescriptor'],Ee=(_0x1221ae,_0xfc31a5,_0x3f6937,_0x568bbc)=>{for(var _0x43eeee=_0x568bbc>0x1?void 0x0:_0x568bbc?Hs(_0xfc31a5,_0x3f6937):_0xfc31a5,_0xae4bd7=_0x1221ae['length']-0x1,_0x279bb3;_0xae4bd7>=0x0;_0xae4bd7--)(_0x279bb3=_0x1221ae[_0xae4bd7])&&(_0x43eeee=_0x279bb3(_0x43eeee)||_0x43eeee);return _0x43eeee;},P=(_0x3da2b9,_0x11275d)=>(_0x50ff6f,_0x50f960)=>_0x11275d(_0x50ff6f,_0x50f960,_0x3da2b9),Ei=(_0x189946=>(_0x189946[_0x4ac54c(0x279)]=_0x4ac54c(0x1c6),_0x189946['SYNCED']=_0x4ac54c(0x4a7),_0x189946[_0x4ac54c(0x312)]=_0x4ac54c(0x252),_0x189946[_0x4ac54c(0x499)]=_0x4ac54c(0x4b5),_0x189946['AWAITING_WITH_PENDING']=_0x4ac54c(0x263),_0x189946[_0x4ac54c(0x351)]='fetch_missing',_0x189946[_0x4ac54c(0x1f9)]=_0x4ac54c(0x33c),_0x189946[_0x4ac54c(0x465)]=_0x4ac54c(0x24d),_0x189946))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x4cfae4,_0x353161,_0x1e814b,_0x455914,_0x5c4f89,_0x11d742,_0x3c3a0e,_0x4e9bcd,_0xe6405b){var _0x7fb505=_0x4ac54c;N(this,_0x7fb505(0x2d3),null),N(this,'_pendingMutations',[]),(this[_0x7fb505(0x23b)]=_0x4cfae4,this[_0x7fb505(0x444)]=_0x353161,this[_0x7fb505(0x3dd)]=_0x5c4f89,this[_0x7fb505(0x274)]=_0x11d742,this[_0x7fb505(0x3b5)]=_0x3c3a0e,this[_0x7fb505(0x442)]=_0x4e9bcd,this['_localCacheService']=_0xe6405b,this[_0x7fb505(0x2d3)]=_0x1e814b,this['_pendingMutations']=_0x455914);}[_0x4ac54c(0x327)](_0xf613f){var _0x5e205c=_0x4ac54c;const _0x1287fd=this['_revisionService'][_0x5e205c(0x38f)](this['unitID']);return _0xf613f[_0x5e205c(0x324)]>_0x1287fd+0x1?(this[_0x5e205c(0x3dd)][_0x5e205c(0x1d9)]({'from':_0x1287fd,'to':_0xf613f[_0x5e205c(0x324)]-0x1}),!0x0):!0x1;}[_0x4ac54c(0x47a)](_0xd9bd1){var _0x656b71=_0x4ac54c;this[_0x656b71(0x3b5)][_0x656b71(0x45a)](this[_0x656b71(0x23b)],_0xd9bd1);}[_0x4ac54c(0x309)](_0x55d6af){var _0x1280cb=_0x4ac54c,_0x129c65,_0x18d3d8;(_0x18d3d8=(_0x129c65=this[_0x1280cb(0x3dd)])[_0x1280cb(0x35b)])==null||_0x18d3d8['call'](_0x129c65,_0x55d6af);}['_transformIMECache'](_0xaae087){var _0x547c2d=_0x4ac54c,_0x26d8b8,_0x4392b7;return(_0x4392b7=(_0x26d8b8=this['_handler'])[_0x547c2d(0x31b)])==null?void 0x0:_0x4392b7[_0x547c2d(0x2c5)](_0x26d8b8,_0xaae087);}['_transformStateCache'](_0xda93d1){var _0x5cc58d=_0x4ac54c,_0x303bfe,_0x285bee;return(_0x285bee=(_0x303bfe=this[_0x5cc58d(0x3dd)])[_0x5cc58d(0x45b)])==null?void 0x0:_0x285bee['call'](_0x303bfe,_0xda93d1);}[_0x4ac54c(0x243)](_0x886de5){var _0x430d9d=_0x4ac54c,_0x52a47b,_0x280c9a,_0x84467;return(_0x84467=(_0x280c9a=(_0x52a47b=this[_0x430d9d(0x3dd)])[_0x430d9d(0x225)])==null?void 0x0:_0x280c9a[_0x430d9d(0x2c5)](_0x52a47b,_0x886de5))!=null?_0x84467:_0x886de5;}['_transformRemoteChangesetByStateCache'](_0x5da4b6){var _0x489b75=_0x4ac54c,_0x4952b,_0x3dc9ce,_0x19bc06;return(_0x19bc06=(_0x3dc9ce=(_0x4952b=this['_handler'])[_0x489b75(0x26f)])==null?void 0x0:_0x3dc9ce[_0x489b75(0x2c5)](_0x4952b,_0x5da4b6))!=null?_0x19bc06:_0x5da4b6;}[_0x4ac54c(0x256)](_0x2e95d3){var _0x8d9552=_0x4ac54c,_0x12553e,_0x40d4b9;if(this[_0x8d9552(0x444)]===Z[_0x8d9552(0x4ac)]){const {unitID:_0x5ccd07,mutations:_0x81d07c,memberID:_0x314ee1}=_0x2e95d3,_0x3e2429=_0x81d07c[0x0][_0x8d9552(0x26d)][_0x8d9552(0x459)];Array[_0x8d9552(0x4a5)](_0x3e2429)&&_0x3e2429[_0x8d9552(0x413)]>0x0&&((_0x40d4b9=(_0x12553e=this[_0x8d9552(0x3dd)])['onSyncEditingCollabCursor'])==null||_0x40d4b9['call'](_0x12553e,{'unitID':_0x5ccd07,'memberID':_0x314ee1,'textRanges':_0x3e2429}));}}['_updateLocalCache'](){var _0x4e1782=_0x4ac54c,_0x57527f;(_0x57527f=this[_0x4e1782(0x2b0)])==null||_0x57527f[_0x4e1782(0x4b6)](this[_0x4e1782(0x23b)],this['type'],this['_awaitingChangeset'],this['_pendingMutations']);}['_getCurrentRevision'](){var _0xfd712a=_0x4ac54c;return this[_0xfd712a(0x442)]['getCurrentRevOfUnit'](this[_0xfd712a(0x23b)]);}['_incrementRevisionNumber'](){var _0x4a8837=_0x4ac54c;this[_0x4a8837(0x442)][_0x4a8837(0x38b)](this['unitID']);}['_executeRemoteChangeset'](_0x130236){var _0x42dac7=_0x4ac54c,_0x53fb3b;let _0x8c0ab9=this[_0x42dac7(0x243)](_0x130236);_0x8c0ab9=this['_transformRemoteChangesetByStateCache'](_0x8c0ab9);const _0x4ca064=_0x6ed837(_0x8c0ab9[_0x42dac7(0x39c)],this[_0x42dac7(0x274)],{'fromCollab':!0x0});if(!_0x4ca064[_0x42dac7(0x1c8)])throw _0x4ca064[_0x42dac7(0x1d1)]instanceof Error?_0x4ca064['error']:new Error((_0x53fb3b=_0x4ca064['error'])!=null?_0x53fb3b:_0x42dac7(0x3cf));this[_0x42dac7(0x2eb)](_0x8c0ab9),this['_transformStateCache'](_0x8c0ab9),this['_transformUndoredo'](_0x130236),this[_0x42dac7(0x309)](_0x8c0ab9),this['_syncEditingCollabCursor'](_0x8c0ab9),this[_0x42dac7(0x46b)]();}}let ye=class extends Ie{constructor(_0x2354c2,_0x4c7ad0,_0x231821,_0x24a71b,_0x1ae3fd,_0x8fb2f3,_0x578b32,_0x242a4b,_0x319df3,_0x58feac){var _0x3948df=_0x4ac54c;super(_0x2354c2,_0x4c7ad0,null,[],_0x231821,_0x578b32,_0x8fb2f3,_0x24a71b,_0x58feac),N(this,_0x3948df(0x2be),'synced'),(this[_0x3948df(0x1e4)]=_0x1ae3fd,this['_logService']=_0x242a4b,this['_transformService']=_0x319df3,this['localCacheService']=_0x58feac);}[_0x4ac54c(0x378)](_0x3ec25d){var _0x30c756=_0x4ac54c;const _0x3e26f2=this[_0x30c756(0x1e4)][_0x30c756(0x40c)](re,this['unitID'],this['type'],[_0x3ec25d],this[_0x30c756(0x3dd)]);return _0x3e26f2[_0x30c756(0x363)](),_0x3e26f2[_0x30c756(0x23d)](),_0x3e26f2;}[_0x4ac54c(0x285)](_0x29084e){var _0x1636e2=_0x4ac54c;if(this[_0x1636e2(0x327)](_0x29084e))return this[_0x1636e2(0x1e4)][_0x1636e2(0x40c)](Q,this[_0x1636e2(0x23b)],this[_0x1636e2(0x444)],null,[],null,[_0x29084e],this[_0x1636e2(0x3dd)]);try{const _0x335291=this['_transformService'][_0x1636e2(0x292)](_0x29084e,[$s]);if(_0x107dcf(_0x335291)){const {c1Prime:_0x33ae93}=_0x335291;return this[_0x1636e2(0x3d5)](_0x33ae93),this;}throw _0x335291[_0x1636e2(0x1d1)];}catch(_0x2deafb){return this[_0x1636e2(0x1fe)]['error'](_0x2deafb),this['_onConflict'](!0x1);}}[_0x4ac54c(0x20d)](_0x334b03){var _0x204ac2=_0x4ac54c;return this[_0x204ac2(0x1e4)][_0x204ac2(0x40c)](le,this['unitID'],this[_0x204ac2(0x444)],null,[],this[_0x204ac2(0x3dd)],_0x334b03);}[_0x4ac54c(0x462)](){var _0x98c1a=_0x4ac54c;throw new Error(_0x98c1a(0x2cb));}[_0x4ac54c(0x3c6)](){var _0x24d9c5=_0x4ac54c;throw new Error(_0x24d9c5(0x275));}[_0x4ac54c(0x3ad)](){return this;}[_0x4ac54c(0x4a0)](){var _0x3aafc0=_0x4ac54c;return this[_0x3aafc0(0x1e4)][_0x3aafc0(0x40c)](ue,this['unitID'],this[_0x3aafc0(0x444)],null,[],this[_0x3aafc0(0x3dd)]);}[_0x4ac54c(0x257)](){return this;}[_0x4ac54c(0x32f)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0xf26bf0=_0x4ac54c;const _0x3d63e3=this[_0xf26bf0(0x442)]['getCurrentRevOfUnit'](this[_0xf26bf0(0x23b)]);return this[_0xf26bf0(0x3dd)][_0xf26bf0(0x1d9)]({'from':_0x3d63e3,'to':0x0}),this[_0xf26bf0(0x1e4)][_0xf26bf0(0x40c)](Q,this[_0xf26bf0(0x23b)],this[_0xf26bf0(0x444)],null,[],null,[],this[_0xf26bf0(0x3dd)]);}};ye=Ee([P(0x3,_0x22f569(_0x5b05fd)),P(0x4,_0x22f569(_0x358553)),P(0x5,_0x263eaf),P(0x6,_0x108bed),P(0x7,_0x14cccc),P(0x8,_0x556a8a),P(0x9,_0x102f44(J))],ye);let re=class extends Ie{constructor(_0x71461e,_0x451aa3,_0x2c9f9a,_0x58787f,_0x2400e7,_0x520fd5,_0x113ea6,_0x59b618,_0x1a50c8,_0xd79972,_0x3e64bf,_0x8c6912,_0x495f13,_0x2a09b5){var _0x4f13c5=_0x4ac54c;super(_0x71461e,_0x451aa3,null,_0x2c9f9a,_0x58787f,_0x1a50c8,_0x495f13,_0x520fd5,_0x2a09b5),N(this,_0x4f13c5(0x2be),_0x4f13c5(0x252)),N(this,_0x4f13c5(0x43c),null),N(this,_0x4f13c5(0x491),null),(this[_0x4f13c5(0x1e4)]=_0x2400e7,this[_0x4f13c5(0x374)]=_0x113ea6,this['_logService']=_0x59b618,this['_configService']=_0xd79972,this['_transformService']=_0x3e64bf,this[_0x4f13c5(0x33d)]=_0x8c6912);}[_0x4ac54c(0x378)](_0x844c4f){var _0x2084d3=_0x4ac54c;return this[_0x2084d3(0x3ab)][_0x2084d3(0x3d4)](_0x844c4f),this[_0x2084d3(0x23d)](),this;}[_0x4ac54c(0x285)](_0x41b552){var _0x337206=_0x4ac54c;if(this[_0x337206(0x327)](_0x41b552))return this['_clearScheduledTask'](),this[_0x337206(0x1e4)][_0x337206(0x40c)](Q,this[_0x337206(0x23b)],this[_0x337206(0x444)],null,this[_0x337206(0x3ab)],null,[_0x41b552],this[_0x337206(0x3dd)]);try{const _0x25550e=this[_0x337206(0x21e)][_0x337206(0x292)](_0x41b552,this[_0x337206(0x3ab)]);if(_0x107dcf(_0x25550e)){const {c1Prime:_0x166024,m2Prime:_0x214f98}=_0x25550e;this[_0x337206(0x3d5)](_0x166024);const _0x25ff11=this['_injector'][_0x337206(0x40c)](re,this['unitID'],this['type'],_0x214f98,this[_0x337206(0x3dd)]);this['_clearScheduledTask']();const _0x1b54e5=new Date()[_0x337206(0x203)](),_0x1a0f5e=this[_0x337206(0x43c)]?Math[_0x337206(0x2f9)](this['_scheduleCompleteTimestamp']-_0x1b54e5,0x0):this[_0x337206(0x253)]();return _0x25ff11[_0x337206(0x363)](_0x1a0f5e),_0x25ff11;}throw _0x25550e[_0x337206(0x1d1)];}catch(_0x12a2db){return this[_0x337206(0x1fe)][_0x337206(0x1d1)](_0x12a2db),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0xb5df79=_0x4ac54c;throw new Error(_0xb5df79(0x455));}['onRemoteRej'](){var _0x5ca5e0=_0x4ac54c;throw new Error(_0x5ca5e0(0x3a5));}[_0x4ac54c(0x3ad)](){return this;}[_0x4ac54c(0x4a0)](){var _0x731666=_0x4ac54c;return this['_clearScheduledTask'](),this['_injector'][_0x731666(0x40c)](ue,this[_0x731666(0x23b)],this[_0x731666(0x444)],null,this[_0x731666(0x3ab)],this['_handler']);}[_0x4ac54c(0x257)](){return this;}[_0x4ac54c(0x363)](_0x16efbf){var _0x1de5e9=_0x4ac54c;const _0x39ab4d=_0x16efbf!=null?_0x16efbf:this[_0x1de5e9(0x253)]();this['_scheduleCompleteTimestamp']=new Date()[_0x1de5e9(0x203)]()+_0x39ab4d,this[_0x1de5e9(0x491)]=setTimeout(()=>{var _0x2b2c52=_0x1de5e9;this[_0x2b2c52(0x427)]();let _0x2bc731=null;switch(this[_0x2b2c52(0x444)]){case Z[_0x2b2c52(0x36e)]:{_0x2bc731=Wt(this[_0x2b2c52(0x3ab)],this[_0x2b2c52(0x23b)],this[_0x2b2c52(0x33d)],this[_0x2b2c52(0x442)],this['_memberService']);break;}case Z['UNIVER_DOC']:{this['_pendingMutations'][_0x2b2c52(0x355)](_0x144ec5=>_0x144ec5['id']===_0x8049a4['id'])?_0x2bc731=ks(this[_0x2b2c52(0x3ab)],this['unitID'],this[_0x2b2c52(0x33d)],this[_0x2b2c52(0x442)],this[_0x2b2c52(0x374)]):_0x2bc731=Wt(this[_0x2b2c52(0x3ab)],this[_0x2b2c52(0x23b)],this[_0x2b2c52(0x33d)],this[_0x2b2c52(0x442)],this[_0x2b2c52(0x374)]);break;}default:throw new Error(_0x2b2c52(0x2f6)+this[_0x2b2c52(0x444)]+_0x2b2c52(0x461));}const {changeset:_0x31e660,pendingMutations:_0x21a614}=_0x2bc731;this[_0x2b2c52(0x3dd)][_0x2b2c52(0x409)](_0x31e660);const _0x21d65f=_0x21a614[_0x2b2c52(0x413)]?this[_0x2b2c52(0x1e4)]['createInstance'](ae,this['unitID'],this[_0x2b2c52(0x444)],_0x31e660,_0x21a614,this['_handler'],void 0x0):this[_0x2b2c52(0x1e4)][_0x2b2c52(0x40c)](_e,this[_0x2b2c52(0x23b)],this[_0x2b2c52(0x444)],_0x31e660,this[_0x2b2c52(0x3dd)]);_0x21d65f[_0x2b2c52(0x23d)](),this[_0x2b2c52(0x3dd)][_0x2b2c52(0x1be)](this,_0x21d65f);},_0x39ab4d);}[_0x4ac54c(0x253)](){var _0x12b8c9=_0x4ac54c,_0x1c20e5;const _0x1f467c=this[_0x12b8c9(0x1c5)]['getConfig'](K);return(_0x1c20e5=_0x1f467c==null?void 0x0:_0x1f467c[_0x12b8c9(0x3e9)])!=null?_0x1c20e5:ps;}['resend'](){var _0x2ba15b=_0x4ac54c;throw new Error(_0x2ba15b(0x1fc));}[_0x4ac54c(0x427)](){var _0xecbb2d=_0x4ac54c;this[_0xecbb2d(0x491)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0xecbb2d(0x491)]=null);}[_0x4ac54c(0x20d)](_0x442d4d){var _0x548037=_0x4ac54c;return this[_0x548037(0x427)](),this[_0x548037(0x1e4)][_0x548037(0x40c)](le,this[_0x548037(0x23b)],this[_0x548037(0x444)],null,this[_0x548037(0x3ab)],this['_handler'],_0x442d4d);}};re=Ee([P(0x4,_0x22f569(_0x358553)),P(0x5,_0x22f569(_0x5b05fd)),P(0x6,_0x22f569(we)),P(0x7,_0x14cccc),P(0x8,_0x108bed),P(0x9,_0x5c33eb),P(0xa,_0x556a8a),P(0xb,_0x5a7d2b),P(0xc,_0x263eaf),P(0xd,_0x102f44(J))],re);let _e=class extends Ie{constructor(_0x2d71ec,_0x21a912,_0x27a265,_0xc90643,_0x72460a,_0x3fc501,_0x1681f4,_0x2b120a,_0x5cfa55,_0x18d8a9,_0x287be1){var _0x418d15=_0x4ac54c;super(_0x2d71ec,_0x21a912,_0x27a265,[],_0xc90643,_0x1681f4,_0x18d8a9,_0x3fc501,_0x287be1),N(this,_0x418d15(0x2be),_0x418d15(0x4b5)),N(this,_0x418d15(0x2cd),0x0),N(this,_0x418d15(0x1fa)),N(this,_0x418d15(0x2ed)),(this['_injector']=_0x72460a,this[_0x418d15(0x1fe)]=_0x2b120a,this[_0x418d15(0x21e)]=_0x5cfa55);}[_0x4ac54c(0x378)](_0x16b4cc){var _0x30a375=_0x4ac54c;this[_0x30a375(0x427)]();const _0x24c24a=this[_0x30a375(0x1e4)][_0x30a375(0x40c)](ae,this[_0x30a375(0x23b)],this[_0x30a375(0x444)],this[_0x30a375(0x2d3)],[_0x16b4cc],this[_0x30a375(0x3dd)],this[_0x30a375(0x1fa)]);return _0x24c24a['_updateLocalCache'](),_0x24c24a;}[_0x4ac54c(0x285)](_0x3ac73a){var _0x1c2216=_0x4ac54c;if(this[_0x1c2216(0x327)](_0x3ac73a))return this[_0x1c2216(0x427)](),this[_0x1c2216(0x1e4)][_0x1c2216(0x40c)](Q,this['unitID'],this[_0x1c2216(0x444)],this[_0x1c2216(0x2d3)],[],null,[_0x3ac73a],this[_0x1c2216(0x3dd)]);try{const _0x4c5e18=this['_transformService'][_0x1c2216(0x471)]([_0x3ac73a],[this['_awaitingChangeset']],!0x1);if(_0x2387f4(_0x4c5e18)){const {c1Prime:_0x2ba6cb,c2Prime:_0x53be48}=_0x4c5e18;this[_0x1c2216(0x3d5)](_0x2ba6cb[0x0]),_0x53be48[0x0]['baseRev']=this[_0x1c2216(0x399)](),this['_clearScheduledTask']();const _0x4ddc60=this[_0x1c2216(0x1e4)][_0x1c2216(0x40c)](_e,this['unitID'],this['type'],_0x53be48[0x0],this[_0x1c2216(0x3dd)]);return _0x4ddc60[_0x1c2216(0x23d)](),_0x4ddc60;}return this[_0x1c2216(0x20d)](!0x1);}catch(_0x5decf3){return this[_0x1c2216(0x1fe)][_0x1c2216(0x1d1)](_0x5decf3),this[_0x1c2216(0x20d)](!0x1);}}[_0x4ac54c(0x462)](_0x3cab13){var _0x2b133f=_0x4ac54c;this[_0x2b133f(0x427)]();const _0x55bf57=this[_0x2b133f(0x442)][_0x2b133f(0x38f)](this['unitID']);if(_0x3cab13[_0x2b133f(0x324)]<_0x55bf57-0x1)return this;if(this[_0x2b133f(0x327)](_0x3cab13))return this[_0x2b133f(0x1e4)]['createInstance'](Q,this[_0x2b133f(0x23b)],this[_0x2b133f(0x444)],null,[],this['_awaitingChangeset'],[],this[_0x2b133f(0x3dd)]);this[_0x2b133f(0x46b)]();const _0x53d0fa=this[_0x2b133f(0x1e4)][_0x2b133f(0x40c)](ye,this[_0x2b133f(0x23b)],this[_0x2b133f(0x444)],this[_0x2b133f(0x3dd)]);return _0x53d0fa[_0x2b133f(0x23d)](),_0x53d0fa;}[_0x4ac54c(0x3c6)](_0x301a4d){var _0x48a0c6=_0x4ac54c;return this[_0x48a0c6(0x20d)](!!(_0x301a4d!=null&&_0x301a4d[_0x48a0c6(0x315)]));}['onRemoteRetry'](_0x476716){var _0x38ab0c=_0x4ac54c;return this['_resendTimeout']>Ii?this['toggleOffline']():(this[_0x38ab0c(0x1fa)]=Si(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x476716[_0x38ab0c(0x386)]}),this[_0x38ab0c(0x2ed)]=this['_resendTimer'][_0x38ab0c(0x356)](({reqId:_0x31828e,timeout:_0x3c7348})=>{var _0x5463a6=_0x38ab0c;this[_0x5463a6(0x434)](_0x31828e,_0x3c7348);}),this);}[_0x4ac54c(0x4a0)](){var _0x4f7c1b=_0x4ac54c;return this[_0x4f7c1b(0x427)](),this[_0x4f7c1b(0x1e4)]['createInstance'](ue,this[_0x4f7c1b(0x23b)],this[_0x4f7c1b(0x444)],this['_awaitingChangeset'],[],this['_handler']);}[_0x4ac54c(0x257)](){return this;}[_0x4ac54c(0x32f)](){var _0x5fadc=_0x4ac54c;this['_handler'][_0x5fadc(0x409)](this[_0x5fadc(0x2d3)]);}['_onConflict'](_0x47d51c){var _0x5349e7=_0x4ac54c;return this[_0x5349e7(0x427)](),this[_0x5349e7(0x1e4)][_0x5349e7(0x40c)](le,this[_0x5349e7(0x23b)],this[_0x5349e7(0x444)],this[_0x5349e7(0x2d3)],[],this[_0x5349e7(0x3dd)],_0x47d51c);}[_0x4ac54c(0x434)](_0x430e6c,_0x5325ed){var _0x29cd57=_0x4ac54c,_0x209f72;_0x430e6c===((_0x209f72=this['_awaitingChangeset'])==null?void 0x0:_0x209f72[_0x29cd57(0x386)])&&(this['resend'](),this[_0x29cd57(0x2cd)]=_0x5325ed===0x0?0x3e8:_0x5325ed*0x2);}[_0x4ac54c(0x427)](){var _0x35e1aa=_0x4ac54c,_0x22a8a0;(_0x22a8a0=this[_0x35e1aa(0x2ed)])==null||_0x22a8a0['unsubscribe'](),this[_0x35e1aa(0x2cd)]=0x0;}};_e=Ee([P(0x4,_0x22f569(_0x358553)),P(0x5,_0x22f569(_0x5b05fd)),P(0x6,_0x108bed),P(0x7,_0x14cccc),P(0x8,_0x556a8a),P(0x9,_0x263eaf),P(0xa,_0x102f44(J))],_e);let ae=class extends Ie{constructor(_0x2d7b47,_0x51160f,_0x2fe347,_0x5c29fb,_0x45c330,_0x2c3093,_0x57b14e,_0x3df7f0,_0x35f1ea,_0x3077b4,_0x3e8f49,_0x4f6940,_0x547727){var _0x452815=_0x4ac54c;super(_0x2d7b47,_0x51160f,_0x2fe347,_0x5c29fb,_0x45c330,_0x35f1ea,_0x4f6940,_0x3df7f0,_0x547727),N(this,_0x452815(0x2be),_0x452815(0x263)),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,_0x452815(0x2ed)),(this['_injector']=_0x57b14e,this['_logService']=_0x3077b4,this[_0x452815(0x21e)]=_0x3e8f49,this[_0x452815(0x205)]=_0x547727,_0x2c3093&&(this[_0x452815(0x1fa)]=_0x2c3093,this[_0x452815(0x2ed)]=this[_0x452815(0x1fa)][_0x452815(0x356)](({reqId:_0x16c9f5,timeout:_0x2c63be})=>{this['_resendWithTimeout'](_0x16c9f5,_0x2c63be);})));}['appendMutation'](_0x5cc67b){var _0x39ae7c=_0x4ac54c;return this[_0x39ae7c(0x3ab)][_0x39ae7c(0x3d4)](_0x5cc67b),this;}[_0x4ac54c(0x285)](_0x1912b7){var _0x5da07c=_0x4ac54c;if(this[_0x5da07c(0x327)](_0x1912b7))return this['_clearScheduledTask'](),this[_0x5da07c(0x1e4)][_0x5da07c(0x40c)](Q,this[_0x5da07c(0x23b)],this[_0x5da07c(0x444)],this['_awaitingChangeset'],this[_0x5da07c(0x3ab)],null,[_0x1912b7],this[_0x5da07c(0x3dd)]);try{const _0x246e54=this[_0x5da07c(0x21e)][_0x5da07c(0x471)]([_0x1912b7],[this[_0x5da07c(0x2d3)]],!0x1);if(_0x2387f4(_0x246e54)){const {c1Prime:_0x2a092f,c2Prime:_0x1d5b3e}=_0x246e54,_0x2b6712=this[_0x5da07c(0x21e)][_0x5da07c(0x292)](_0x2a092f[0x0],this[_0x5da07c(0x3ab)]);if(_0x107dcf(_0x2b6712)){const {c1Prime:_0x65a11d,m2Prime:_0x319578}=_0x2b6712;return this[_0x5da07c(0x3d5)](_0x65a11d),_0x1d5b3e[0x0]['baseRev']=this[_0x5da07c(0x399)](),this[_0x5da07c(0x427)](),this[_0x5da07c(0x1e4)][_0x5da07c(0x40c)](ae,this[_0x5da07c(0x23b)],this['type'],_0x1d5b3e[0x0],_0x319578,this[_0x5da07c(0x3dd)],void 0x0);}throw _0x2b6712[_0x5da07c(0x1d1)];}throw _0x246e54[_0x5da07c(0x1d1)];}catch(_0x483228){return this['_logService'][_0x5da07c(0x1d1)](_0x483228),this[_0x5da07c(0x20d)](!0x1);}}['onRemoteAck'](_0x4e00b1){var _0x3ffb5a=_0x4ac54c;if(this[_0x3ffb5a(0x427)](),this[_0x3ffb5a(0x327)](_0x4e00b1))return this[_0x3ffb5a(0x1e4)][_0x3ffb5a(0x40c)](Q,this['unitID'],this[_0x3ffb5a(0x444)],null,this['_pendingMutations'],this[_0x3ffb5a(0x2d3)],[],this['_handler']);this[_0x3ffb5a(0x46b)]();const _0x5498fe=this[_0x3ffb5a(0x1e4)][_0x3ffb5a(0x40c)](re,this[_0x3ffb5a(0x23b)],this[_0x3ffb5a(0x444)],this[_0x3ffb5a(0x3ab)],this['_handler']);return _0x5498fe[_0x3ffb5a(0x363)](),_0x5498fe[_0x3ffb5a(0x23d)](),_0x5498fe;}['onRemoteRej'](_0x31264d){var _0x3ffdd3=_0x4ac54c;return this[_0x3ffdd3(0x20d)](!!(_0x31264d!=null&&_0x31264d['isPermissionRej']));}['onRemoteRetry'](_0x4b90e5){var _0xfe24e3=_0x4ac54c;return this[_0xfe24e3(0x2cd)]>Ii?this[_0xfe24e3(0x4a0)]():(this[_0xfe24e3(0x1fa)]=Si(this[_0xfe24e3(0x2cd)],{'timeout':this[_0xfe24e3(0x2cd)],'reqId':_0x4b90e5['reqId']}),this[_0xfe24e3(0x2ed)]=this[_0xfe24e3(0x1fa)][_0xfe24e3(0x356)](({reqId:_0xa8822b,timeout:_0x10e9ce})=>{this['_resendWithTimeout'](_0xa8822b,_0x10e9ce);}),this);}[_0x4ac54c(0x4a0)](){var _0x44455a=_0x4ac54c;return this[_0x44455a(0x427)](),this['_injector'][_0x44455a(0x40c)](ue,this['unitID'],this[_0x44455a(0x444)],this[_0x44455a(0x2d3)],this[_0x44455a(0x3ab)],this['_handler']);}[_0x4ac54c(0x257)](){return this;}[_0x4ac54c(0x32f)](){var _0x536ca4=_0x4ac54c;this['_handler']['onSendChangeset'](this[_0x536ca4(0x2d3)]);}[_0x4ac54c(0x20d)](_0x1f3540){var _0x40b5ca=_0x4ac54c;return this[_0x40b5ca(0x427)](),this[_0x40b5ca(0x1e4)][_0x40b5ca(0x40c)](le,this['unitID'],this[_0x40b5ca(0x444)],null,this['_pendingMutations'],this['_handler'],_0x1f3540);}[_0x4ac54c(0x434)](_0x298b14,_0x1b1976){var _0x191d8e=_0x4ac54c,_0x2d2255;_0x298b14===((_0x2d2255=this['_awaitingChangeset'])==null?void 0x0:_0x2d2255[_0x191d8e(0x386)])&&(this[_0x191d8e(0x32f)](),this['_resendTimeout']=_0x1b1976===0x0?0x3e8:_0x1b1976*0x2);}[_0x4ac54c(0x427)](){var _0x3e0591=_0x4ac54c,_0x70101a;(_0x70101a=this[_0x3e0591(0x2ed)])==null||_0x70101a['unsubscribe'](),this[_0x3e0591(0x2cd)]=0x0;}};ae=Ee([P(0x6,_0x22f569(_0x358553)),P(0x7,_0x22f569(_0x5b05fd)),P(0x8,_0x108bed),P(0x9,_0x14cccc),P(0xa,_0x556a8a),P(0xb,_0x263eaf),P(0xc,_0x102f44(J))],ae);let le=class extends Ie{constructor(_0x2812ef,_0x2f8e06,_0x4a866a,_0x125da9,_0x1c6e53,_0x38d7b8=!0x1,_0x4256fe,_0x30f0e5,_0x35cf9a,_0x4ff209,_0x9f78fd,_0x35c0e0,_0x3cbe65){var _0x4cc230=_0x4ac54c;super(_0x2812ef,_0x2f8e06,_0x4a866a,_0x125da9,_0x1c6e53,_0x30f0e5,_0x35cf9a,_0x4ff209,_0x3cbe65),N(this,_0x4cc230(0x2be),_0x4cc230(0x33c)),(this['_isPermissionRej']=_0x38d7b8,this['_permissionService']=_0x4256fe,this[_0x4cc230(0x3af)]=_0x9f78fd,this['_collaborationUIEventService']=_0x35c0e0,this[_0x4cc230(0x205)]=_0x3cbe65,this[_0x4cc230(0x43d)](),this[_0x4cc230(0x207)](),this[_0x4cc230(0x456)]());}['appendMutation'](){return this;}[_0x4ac54c(0x285)](){return this;}[_0x4ac54c(0x462)](){return this;}['onRemoteRej'](){return this;}[_0x4ac54c(0x3ad)](){return this;}[_0x4ac54c(0x4a0)](){return this;}['toggleOnline'](){return this;}[_0x4ac54c(0x32f)](){var _0x525c26=_0x4ac54c;throw new Error(_0x525c26(0x26e));}['_clearLocalCache'](){var _0x340c3f=_0x4ac54c,_0x157153;(_0x157153=this['_localCacheService'])==null||_0x157153[_0x340c3f(0x4b6)](this[_0x340c3f(0x23b)],this[_0x340c3f(0x444)],null,[]);}[_0x4ac54c(0x43d)](){var _0x4eb7cd=_0x4ac54c;this[_0x4eb7cd(0x2b5)]?this[_0x4eb7cd(0x4a2)]['emitEvent']({'id':ne[_0x4eb7cd(0x1f3)]}):this[_0x4eb7cd(0x4a2)][_0x4eb7cd(0x4a1)]({'id':ne['CONFLICT']});}[_0x4ac54c(0x456)](){var _0x3ccf87=_0x4ac54c;this[_0x3ccf87(0x354)]['updatePermissionPoint'](new _0x3725ec(this[_0x3ccf87(0x23b)])['id'],!0x1);}};le=Ee([P(0x6,_0x22f569(_0x4d07a8)),P(0x7,_0x108bed),P(0x8,_0x263eaf),P(0x9,_0x22f569(_0x5b05fd)),P(0xa,_0x22f569(_0xe6f6cb)),P(0xb,_0x22f569(ve)),P(0xc,_0x102f44(J))],le);let ue=class extends Ie{constructor(_0x6b9645,_0x553445,_0x31aedb,_0xb7bc77,_0x58b693,_0x45f00c,_0xd30f23,_0x34f988,_0x2a91f9,_0x436b71){var _0x24708f=_0x4ac54c;super(_0x6b9645,_0x553445,_0x31aedb,_0xb7bc77,_0x58b693,_0x34f988,_0x2a91f9,_0xd30f23,_0x436b71),N(this,_0x24708f(0x2be),_0x24708f(0x24d)),this[_0x24708f(0x1e4)]=_0x45f00c;}[_0x4ac54c(0x378)](_0x12582b){var _0x63180c=_0x4ac54c;return this[_0x63180c(0x3ab)][_0x63180c(0x3d4)](_0x12582b),this[_0x63180c(0x23d)](),this;}[_0x4ac54c(0x285)](_0x5ba0c4){var _0x279d71=_0x4ac54c;throw new Error(_0x279d71(0x358));}['onRemoteAck'](){var _0x1efa06=_0x4ac54c;throw new Error(_0x1efa06(0x371));}[_0x4ac54c(0x3c6)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x4ac54c(0x3ad)](){return this;}[_0x4ac54c(0x4a0)](){return this;}[_0x4ac54c(0x257)](){var _0x29676e=_0x4ac54c;const {_injector:_0x942913,_pendingMutations:_0x184dd9,_awaitingChangeset:_0x40a6c1,unitID:_0x5b3ce9,_handler:_0x419ed3,type:_0xf85654}=this,_0x2b9f23=Ti(_0x942913,_0x5b3ce9,_0xf85654,_0x40a6c1,_0x184dd9,_0x419ed3);return _0x2b9f23 instanceof re?_0x2b9f23['_schedule']():(_0x2b9f23 instanceof ae||_0x2b9f23 instanceof _e)&&_0x2b9f23[_0x29676e(0x32f)](),_0x2b9f23;}[_0x4ac54c(0x32f)](){var _0x529ca7=_0x4ac54c;throw new Error(_0x529ca7(0x2a8));}};ue=Ee([P(0x5,_0x22f569(_0x358553)),P(0x6,_0x22f569(_0x5b05fd)),P(0x7,_0x108bed),P(0x8,_0x263eaf),P(0x9,_0x102f44(J))],ue);let Q=class extends Ie{constructor(_0x394b73,_0x58afe3,_0x3e1a4c,_0x53d459,_0x5e277e,_0x2026c5,_0x269dbb,_0x19a530,_0x35abc2,_0x5380c7,_0x5f3c97,_0x78b2fc,_0x342b36,_0x19e679){var _0x5df19a=_0x4ac54c;super(_0x394b73,_0x58afe3,_0x3e1a4c,_0x53d459,_0x269dbb,_0x5f3c97,_0x78b2fc,_0x35abc2,_0x19e679),N(this,_0x5df19a(0x2be),_0x5df19a(0x1f0)),(this[_0x5df19a(0x37e)]=_0x5e277e,this[_0x5df19a(0x298)]=_0x2026c5,this[_0x5df19a(0x1e4)]=_0x19a530,this['_logService']=_0x5380c7,this['_transformService']=_0x342b36,this[_0x5df19a(0x205)]=_0x19e679);}[_0x4ac54c(0x408)](_0x183fcb){var _0x35c834=_0x4ac54c;try{const _0x1cfe20=[..._0x183fcb,...this[_0x35c834(0x298)]],_0x4928d5=[this[_0x35c834(0x2d3)]||this[_0x35c834(0x37e)]][_0x35c834(0x393)](_0xa8bca8=>!!_0xa8bca8);let _0x5b1ee2,_0x24c7ce;if(_0x4928d5[_0x35c834(0x413)]){const _0x1e7ccd=this['_transformService'][_0x35c834(0x471)](_0x1cfe20,_0x4928d5,!0x1);if(!_0x2387f4(_0x1e7ccd))throw _0x1e7ccd[_0x35c834(0x1d1)];_0x5b1ee2=_0x1e7ccd[_0x35c834(0x273)],_0x24c7ce=_0x1e7ccd[_0x35c834(0x2cc)];}else _0x5b1ee2=_0x1cfe20,_0x24c7ce=[];let _0x51d692=this[_0x35c834(0x3ab)];_0x5b1ee2[_0x35c834(0x392)](_0x2caeb6=>{var _0x299bc7=_0x35c834;let _0x1e741d;if(_0x51d692[_0x299bc7(0x413)]){const _0xba03bb=this[_0x299bc7(0x21e)][_0x299bc7(0x292)](_0x2caeb6,_0x51d692);if(!_0x107dcf(_0xba03bb))throw _0xba03bb[_0x299bc7(0x1d1)];_0x1e741d=_0xba03bb['c1Prime'],_0x51d692=_0xba03bb[_0x299bc7(0x422)];}else _0x1e741d=_0x2caeb6;this[_0x299bc7(0x3d5)](_0x1e741d);}),this[_0x35c834(0x37e)]&&this[_0x35c834(0x46b)](),this[_0x35c834(0x2d3)]&&_0x24c7ce[_0x35c834(0x413)]&&(_0x24c7ce[0x0]['baseRev']=this['_getCurrentRevision']());let _0x1f519a;if(this[_0x35c834(0x2d3)]&&_0x51d692[_0x35c834(0x413)]!==0x0)_0x1f519a=this['_injector'][_0x35c834(0x40c)](ae,this[_0x35c834(0x23b)],this[_0x35c834(0x444)],_0x24c7ce[0x0],_0x51d692,this['_handler'],void 0x0);else{if(this[_0x35c834(0x2d3)]&&_0x51d692[_0x35c834(0x413)]===0x0)_0x24c7ce[0x0]['baseRev']=this['_getCurrentRevision'](),_0x1f519a=this[_0x35c834(0x1e4)][_0x35c834(0x40c)](_e,this[_0x35c834(0x23b)],this['type'],_0x24c7ce[0x0],this[_0x35c834(0x3dd)]);else{if(_0x51d692['length']!==0x0){const _0x376fe0=this['_injector'][_0x35c834(0x40c)](re,this[_0x35c834(0x23b)],this[_0x35c834(0x444)],_0x51d692,this[_0x35c834(0x3dd)]);_0x376fe0[_0x35c834(0x363)](),_0x1f519a=_0x376fe0;}else _0x1f519a=this[_0x35c834(0x1e4)]['createInstance'](ye,this[_0x35c834(0x23b)],this['type'],this['_handler']);}}return _0x1f519a[_0x35c834(0x23d)](),_0x1f519a;}catch(_0x1ce04c){return this[_0x35c834(0x1fe)][_0x35c834(0x1d1)]('[FetchMissState]',_0x35c834(0x30f),_0x1ce04c),this[_0x35c834(0x1e4)][_0x35c834(0x40c)](le,this[_0x35c834(0x23b)],this[_0x35c834(0x444)],this[_0x35c834(0x2d3)],this[_0x35c834(0x3ab)],this[_0x35c834(0x3dd)],!0x1);}}[_0x4ac54c(0x32f)](){var _0x219593=_0x4ac54c;throw new Error(_0x219593(0x43e));}[_0x4ac54c(0x378)](_0x2d7410){var _0x1ae689=_0x4ac54c;return this[_0x1ae689(0x3ab)][_0x1ae689(0x3d4)](_0x2d7410),this;}['onRemoteChangeset'](_0x310779){var _0x2406a9=_0x4ac54c;return this['_queuedRemoteChangesets'][_0x2406a9(0x3d4)](_0x310779),this;}['onRemoteAck'](_0x4a4753){var _0x54b170=_0x4ac54c;if(this[_0x54b170(0x2d3)])return this[_0x54b170(0x37e)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x54b170(0x3df));}[_0x4ac54c(0x3c6)](_0x2953b5){var _0x42c9f5=_0x4ac54c;return this['_onConflict'](!!(_0x2953b5!=null&&_0x2953b5[_0x42c9f5(0x315)]));}[_0x4ac54c(0x3ad)](){return this;}['toggleOffline'](){var _0x35025b=_0x4ac54c;return this[_0x35025b(0x1e4)][_0x35025b(0x40c)](ue,this[_0x35025b(0x23b)],this[_0x35025b(0x444)],this['_awaitingChangeset'],this[_0x35025b(0x3ab)],this['_handler']);}[_0x4ac54c(0x257)](){return this;}[_0x4ac54c(0x20d)](_0x2f742c){var _0x2d3d9b=_0x4ac54c;return this[_0x2d3d9b(0x1e4)][_0x2d3d9b(0x40c)](le,this[_0x2d3d9b(0x23b)],this[_0x2d3d9b(0x444)],this[_0x2d3d9b(0x2d3)],this['_pendingMutations'],this['_handler'],_0x2f742c);}};Q=Ee([P(0x7,_0x22f569(_0x358553)),P(0x8,_0x22f569(_0x5b05fd)),P(0x9,_0x14cccc),P(0xa,_0x108bed),P(0xb,_0x263eaf),P(0xc,_0x556a8a),P(0xd,_0x102f44(J))],Q);function Ti(_0x22a643,_0x2d8c12,_0xb4d36,_0x5230d4,_0x132712,_0x324d5f){var _0x4f87f5=_0x4ac54c;return _0x5230d4&&_0x132712[_0x4f87f5(0x413)]?_0x22a643[_0x4f87f5(0x40c)](ae,_0x2d8c12,_0xb4d36,_0x5230d4,_0x132712,_0x324d5f,void 0x0):_0x5230d4?_0x22a643[_0x4f87f5(0x40c)](_e,_0x2d8c12,_0xb4d36,_0x5230d4,_0x324d5f):_0x132712[_0x4f87f5(0x413)]?_0x22a643[_0x4f87f5(0x40c)](re,_0x2d8c12,_0xb4d36,_0x132712,_0x324d5f):_0x22a643[_0x4f87f5(0x40c)](ye,_0x2d8c12,_0xb4d36,_0x324d5f);}var Bs=Object[_0x4ac54c(0x45f)],wt=(_0x207bc5,_0x506a07,_0x2617a2,_0x5a75c9)=>{for(var _0x142b0d=_0x5a75c9>0x1?void 0x0:_0x5a75c9?Bs(_0x506a07,_0x2617a2):_0x506a07,_0x5db078=_0x207bc5['length']-0x1,_0x237690;_0x5db078>=0x0;_0x5db078--)(_0x237690=_0x207bc5[_0x5db078])&&(_0x142b0d=_0x237690(_0x142b0d)||_0x142b0d);return _0x142b0d;},H=(_0x17aa40,_0x57b7c3)=>(_0x4f4c2e,_0x5d4e77)=>_0x57b7c3(_0x4f4c2e,_0x5d4e77,_0x17aa40);let st=class extends _0x2ed3e7{constructor(_0x4a7758,_0x498b09,_0x70c743,_0x443a47,_0xaae80b,_0x11e77c,_0x4821cc,_0xfdf89c,_0x39cbce,_0x34c48d,_0x236f01,_0x3514ca,_0xa76fe2){var _0xada46d=_0x4ac54c;super(),N(this,'_state$',new _0x163373(null)),N(this,_0xada46d(0x375),this['_state$'][_0xada46d(0x425)]()),N(this,_0xada46d(0x4b7)),N(this,_0xada46d(0x2c7),!0x1),N(this,'_changesetSessionId',''),N(this,_0xada46d(0x2b2),0x0),N(this,_0xada46d(0x46d),this[_0xada46d(0x375)][_0xada46d(0x3b9)](_0x51075f(_0x9d6a81=>_0x9d6a81?_0x9d6a81[_0xada46d(0x2be)]:Ei['OFFLINE']),_0x2af257(0x1))),N(this,_0xada46d(0x482),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0xada46d(0x23b)]=_0x4a7758,this[_0xada46d(0x2a1)]=_0x498b09,this[_0xada46d(0x345)]=_0x70c743,this[_0xada46d(0x1e4)]=_0x443a47,this[_0xada46d(0x276)]=_0xaae80b,this[_0xada46d(0x3af)]=_0x11e77c,this[_0xada46d(0x442)]=_0x4821cc,this[_0xada46d(0x29d)]=_0xfdf89c,this['_logService']=_0x39cbce,this[_0xada46d(0x274)]=_0x34c48d,this['_permissionService']=_0x236f01,this[_0xada46d(0x24c)]=_0x3514ca,this[_0xada46d(0x2b0)]=_0xa76fe2);}get[_0x4ac54c(0x37b)](){var _0x18a1f1=_0x4ac54c;return this[_0x18a1f1(0x4b7)];}async[_0x4ac54c(0x3fe)](){var _0x3c3a47=_0x4ac54c;if(this[_0x3c3a47(0x37b)])throw new Error(_0x3c3a47(0x245));await this['_init']();}['pauseCollaboration'](){var _0x1fb7e1=_0x4ac54c;return this[_0x1fb7e1(0x2c7)]=!0x0,_0x1fc3e2(()=>{var _0x4485d2=_0x1fb7e1;this[_0x4485d2(0x2c7)]=!0x1,this[_0x4485d2(0x475)]();});}[_0x4ac54c(0x4a8)](_0x286943){var _0x40aa26=_0x4ac54c;this[_0x40aa26(0x316)](_0x286943);}[_0x4ac54c(0x493)](_0x327384){var _0x4aa640=_0x4ac54c;this[_0x4aa640(0x4b7)]=_0x327384,this['_state$'][_0x4aa640(0x3db)](_0x327384);}async['_init'](){var _0x30443d=_0x4ac54c,_0x37f71c;this[_0x30443d(0x493)](await this[_0x30443d(0x251)]()),this['_singleActiveUnitService']&&((_0x37f71c=this[_0x30443d(0x24c)])==null||_0x37f71c['editingUnit'](this[_0x30443d(0x23b)]),this[_0x30443d(0x2ae)](this[_0x30443d(0x24c)][_0x30443d(0x2d9)](this[_0x30443d(0x23b)])[_0x30443d(0x356)](_0xc97ec1=>{var _0x3954e0=_0x30443d;this[_0x3954e0(0x1fe)][_0x3954e0(0x1ff)](_0x3954e0(0x4c0),_0x3954e0(0x452),_0xc97ec1),_0xc97ec1===gi[_0x3954e0(0x44e)]?(this[_0x3954e0(0x29d)][_0x3954e0(0x4a1)]({'id':ne['OTHER_CLIENT_EDITING']}),this[_0x3954e0(0x354)]['updatePermissionPoint'](new _0x3725ec(this[_0x3954e0(0x23b)])['id'],!0x1),this[_0x3954e0(0x354)][_0x3954e0(0x2ab)](!0x1)):(this[_0x3954e0(0x354)]['updatePermissionPoint'](new _0x3725ec(this[_0x3954e0(0x23b)])['id'],!0x0),this[_0x3954e0(0x354)][_0x3954e0(0x2ab)](!0x0));})));let _0x4c02f8=!0x1;return this[_0x30443d(0x2ae)](this[_0x30443d(0x2a1)][_0x30443d(0x3ee)][_0x30443d(0x356)](_0x464a29=>{var _0x240e6d=_0x30443d;_0x464a29===ge[_0x240e6d(0x430)]?this[_0x240e6d(0x233)](_0x4c02f8):_0x464a29===ge['OFFLINE']&&(_0x4c02f8=!0x0,this[_0x240e6d(0x2ec)]());})),this[_0x30443d(0x2ae)](this['session'][_0x30443d(0x3ff)][_0x30443d(0x356)](_0x4b72bf=>{var _0x5c708e=_0x30443d;try{switch(_0x4b72bf[_0x5c708e(0x28f)]){case _0x5f303b['NEW_CHANGESETS']:{this[_0x5c708e(0x2ef)](_0x43ab34(_0x4b72bf[_0x5c708e(0x435)]));break;}case _0x5f303b[_0x5c708e(0x4b0)]:{this[_0x5c708e(0x495)](_0x4b72bf[_0x5c708e(0x435)]);break;}case _0x5f303b[_0x5c708e(0x46a)]:{this[_0x5c708e(0x3e4)]();break;}case _0x5f303b['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x4b72bf['data']);break;}case _0x5f303b[_0x5c708e(0x260)]:{this[_0x5c708e(0x3a4)](_0x4b72bf[_0x5c708e(0x435)][_0x5c708e(0x321)]['map'](_0x45967c=>_0x43ab34(_0x45967c)));break;}case _0x5f303b[_0x5c708e(0x3b7)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x5f303b['UNISCRIPT_RUN']:break;}}catch(_0x2b5dd7){throw console[_0x5c708e(0x1d1)](_0x5c708e(0x47e),_0x2b5dd7),_0x2b5dd7;}})),this[_0x30443d(0x4b7)];}[_0x4ac54c(0x2e0)](){var _0x35923c=_0x4ac54c;this[_0x35923c(0x482)]=!0x1;}['_lockTransition'](){var _0x591ed3=_0x4ac54c;if(this[_0x591ed3(0x482)])throw new Error(_0x591ed3(0x46c));this[_0x591ed3(0x482)]=!0x0;}[_0x4ac54c(0x316)](_0x470043){var _0x23a31d=_0x4ac54c;this['_lockTransition'](),this['_updateState'](this['_state'][_0x23a31d(0x378)](_0x470043)),this[_0x23a31d(0x2e0)]();}[_0x4ac54c(0x2ef)](_0x469418){var _0x5c1e53=_0x4ac54c;if(!(_0x469418[_0x5c1e53(0x324)]<=this[_0x5c1e53(0x442)]['getCurrentRevOfUnit'](this[_0x5c1e53(0x23b)]))){if(this[_0x5c1e53(0x2c7)]){this['_remoteChangesetQueue']['push'](_0x469418);return;}this[_0x5c1e53(0x255)](_0x469418);}}[_0x4ac54c(0x475)](){var _0x29f0a6=_0x4ac54c;this[_0x29f0a6(0x326)]['forEach'](_0x32a9a3=>this[_0x29f0a6(0x255)](_0x32a9a3)),this[_0x29f0a6(0x326)]=[];}[_0x4ac54c(0x255)](_0x3559e5){var _0x287221=_0x4ac54c;const _0x24fbf8=this['_compressMutationService']['interceptor'][_0x287221(0x4c2)](this[_0x287221(0x276)][_0x287221(0x22b)][_0x287221(0x3de)]()[_0x287221(0x319)])(_0x3559e5['mutations'],null)||_0x3559e5['mutations'],_0x106d09={..._0x3559e5,'mutations':_0x24fbf8};this[_0x287221(0x4bd)](),this[_0x287221(0x493)](this[_0x287221(0x4b7)]['onRemoteChangeset'](_0x106d09)),this[_0x287221(0x2e0)]();}[_0x4ac54c(0x495)](_0x32b702){var _0x5ab80e=_0x4ac54c;this[_0x5ab80e(0x4bd)](),this[_0x5ab80e(0x493)](this['_state']['onRemoteAck'](_0x32b702)),this[_0x5ab80e(0x2e0)]();}[_0x4ac54c(0x3e4)](_0x220a6c){var _0x46ec76=_0x4ac54c;this['_lockTransition'](),this['_updateState'](this[_0x46ec76(0x4b7)][_0x46ec76(0x3c6)](_0x220a6c)),this[_0x46ec76(0x2e0)]();}[_0x4ac54c(0x336)](_0x1c7704){var _0x2afd39=_0x4ac54c;this[_0x2afd39(0x4bd)](),this['_updateState'](this['_state'][_0x2afd39(0x3ad)](_0x1c7704)),this['_unlockTransition']();}[_0x4ac54c(0x3a4)](_0x3f1bae){var _0x1749fb=_0x4ac54c;if(!(this[_0x1749fb(0x4b7)]instanceof Q))throw new TypeError(_0x1749fb(0x3be));const _0x200f15=_0x3f1bae[_0x1749fb(0x20f)](_0xb5a3e5=>{var _0x1c1249=_0x1749fb;const _0x211bcd=this[_0x1c1249(0x276)]['interceptor'][_0x1c1249(0x4c2)](this[_0x1c1249(0x276)][_0x1c1249(0x22b)][_0x1c1249(0x3de)]()[_0x1c1249(0x319)])(_0xb5a3e5[_0x1c1249(0x39c)],null)||_0xb5a3e5['mutations'];return{..._0xb5a3e5,'mutations':_0x211bcd};});this['_lockTransition'](),this[_0x1749fb(0x493)](this[_0x1749fb(0x4b7)][_0x1749fb(0x408)](_0x200f15)),this[_0x1749fb(0x2e0)]();}['_toggleOffline'](){var _0x1bbe34=_0x4ac54c;this[_0x1bbe34(0x4bd)](),this[_0x1bbe34(0x493)](this['_state'][_0x1bbe34(0x4a0)]()),this[_0x1bbe34(0x2e0)]();}[_0x4ac54c(0x233)](_0x10f3f0=!0x1){var _0x35fe01=_0x4ac54c;this[_0x35fe01(0x4bd)](),this['_updateState'](this[_0x35fe01(0x4b7)][_0x35fe01(0x257)]()),this[_0x35fe01(0x2e0)]();const _0x593021=this[_0x35fe01(0x4b7)];_0x10f3f0&&_0x593021 instanceof ye&&(this[_0x35fe01(0x4bd)](),this[_0x35fe01(0x493)](_0x593021[_0x35fe01(0x2dd)]()),this['_unlockTransition']());}async[_0x4ac54c(0x251)](){return new Promise(_0xf91ca8=>{var _0x1088bf=_0x6f14;this[_0x1088bf(0x2a1)][_0x1088bf(0x3ee)][_0x1088bf(0x3b9)](_0x48d547(0x1))[_0x1088bf(0x356)](async _0x1922f6=>{var _0x2fb33b=_0x1088bf;_0xf91ca8(await this[_0x2fb33b(0x428)](_0x1922f6===ge[_0x2fb33b(0x430)]));});});}[_0x4ac54c(0x24e)](){var _0x3c76d5=_0x4ac54c;const _0x25d7ed=this[_0x3c76d5(0x23b)];return{'onStateChange':(_0x5e434b,_0x1a43d7)=>{var _0x3a2ba8=_0x3c76d5;if(_0x5e434b!==this[_0x3a2ba8(0x4b7)])throw new Error(_0x3a2ba8(0x3ac)+_0x5e434b[_0x3a2ba8(0x2be)]+_0x3a2ba8(0x239)+_0x1a43d7['status']+_0x3a2ba8(0x2a9)+this[_0x3a2ba8(0x4b7)][_0x3a2ba8(0x2be)]);this[_0x3a2ba8(0x493)](_0x1a43d7);},'onSendChangeset':_0x38ba8e=>{var _0x420577=_0x3c76d5;_0x38ba8e[_0x420577(0x2e2)]||(_0x38ba8e[_0x420577(0x2e2)]=this['_changesetSessionId'],_0x38ba8e[_0x420577(0x386)]=++this[_0x420577(0x2b2)]);const _0x3004dd={'eventID':_0x5f303b[_0x420577(0x419)],'data':{'unitID':_0x38ba8e[_0x420577(0x23b)],'unitType':this['_type'],'changeset':_0x38ba8e,'memberID':this[_0x420577(0x2a1)][_0x420577(0x222)]()}};this['session']['send'](_0x3004dd,this[_0x420577(0x23b)]);},'onMissingChangesets':({from:_0x257aca,to:_0x3d8925})=>{var _0x59fce4=_0x3c76d5;this[_0x59fce4(0x1fe)][_0x59fce4(0x1ff)]('[CollaborationEntity]',_0x59fce4(0x2ca)+_0x257aca+'\x20to\x20'+_0x3d8925);const _0x197938={'eventID':_0x5f303b[_0x59fce4(0x404)],'data':{'unitID':_0x25d7ed,'unitType':this[_0x59fce4(0x345)],'from':_0x257aca,'to':_0x3d8925}};this[_0x59fce4(0x2a1)]['send'](_0x197938,this[_0x59fce4(0x23b)]);}};}async['_createInitialStateImpl'](_0x1543d6){var _0x3adf83=_0x4ac54c,_0x118259,_0x1c369a,_0xb26dda;const _0x3b52fd=await((_0x118259=this[_0x3adf83(0x2b0)])==null?void 0x0:_0x118259[_0x3adf83(0x3ce)](this[_0x3adf83(0x23b)])),_0x50c7db=(_0x1c369a=_0x3b52fd==null?void 0x0:_0x3b52fd[_0x3adf83(0x39c)])!=null?_0x1c369a:[],_0x17b8dd=(_0xb26dda=_0x3b52fd==null?void 0x0:_0x3b52fd['awaitingChangeset'])!=null?_0xb26dda:null,_0x40cfff=!!(_0x17b8dd!=null&&_0x17b8dd[_0x3adf83(0x2e2)])&&!!(_0x17b8dd!=null&&_0x17b8dd[_0x3adf83(0x386)]);this['_changesetSessionId']=_0x40cfff?_0x17b8dd['sid']:_0x27fd5a(),this[_0x3adf83(0x2b2)]=_0x40cfff?_0x17b8dd[_0x3adf83(0x386)]:0x0;const _0x2ef862=this['unitID'];try{this['_replayCachedMutations'](_0x17b8dd,_0x50c7db);}catch(_0x133005){this[_0x3adf83(0x1fe)][_0x3adf83(0x1d1)](_0x133005);}const _0x3e0792=this[_0x3adf83(0x24e)]();if(_0x1543d6){const _0x516c57=Ti(this[_0x3adf83(0x1e4)],_0x2ef862,this[_0x3adf83(0x345)],_0x17b8dd,_0x50c7db,_0x3e0792);return _0x516c57 instanceof re?_0x516c57[_0x3adf83(0x363)]():(_0x516c57 instanceof ae||_0x516c57 instanceof _e)&&_0x516c57[_0x3adf83(0x32f)](),_0x516c57;}return this[_0x3adf83(0x1e4)][_0x3adf83(0x40c)](ue,_0x2ef862,this[_0x3adf83(0x345)],_0x17b8dd,_0x50c7db,_0x3e0792);}[_0x4ac54c(0x4b9)](_0x597cbd,_0xee4536){var _0x43eaee=_0x4ac54c,_0x125dda,_0x3e7c0a;const _0x272322=this[_0x43eaee(0x276)]['interceptor'][_0x43eaee(0x4c2)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x43eaee(0x319)]);(_0x125dda=_0x272322((_0x597cbd==null?void 0x0:_0x597cbd[_0x43eaee(0x39c)])||[],null))==null||_0x125dda[_0x43eaee(0x392)](_0x5075eb=>this[_0x43eaee(0x274)]['executeCommand'](_0x5075eb['id'],_0x5075eb['params'])),(_0x3e7c0a=_0x272322(_0xee4536||[],null))==null||_0x3e7c0a[_0x43eaee(0x392)](_0x833b08=>this[_0x43eaee(0x274)][_0x43eaee(0x318)](_0x833b08['id'],_0x833b08[_0x43eaee(0x26d)]));}};st=wt([H(0x3,_0x22f569(_0x358553)),H(0x4,_0x22f569(_0x11441b)),H(0x5,_0x22f569(_0xe6f6cb)),H(0x6,_0x22f569(_0x5b05fd)),H(0x7,_0x22f569(ve)),H(0x8,_0x14cccc),H(0x9,_0x108bed),H(0xa,_0x4d07a8),H(0xb,_0x102f44(ht)),H(0xc,_0x102f44(J))],st);let St=class extends st{constructor(_0x33756f,_0x450959,_0x24ee68,_0x14a5fa,_0xa98f5e,_0x2e5ae7,_0x3ef582,_0x178848,_0x2edcae,_0x4fc4d5,_0x193398,_0x4b8724,_0x12c334){var _0x5e1061=_0x4ac54c;super(_0x33756f,_0x24ee68,_0x450959,_0x14a5fa,_0xa98f5e,_0x2e5ae7,_0x3ef582,_0x178848,_0x2edcae,_0x4fc4d5,_0x193398,_0x4b8724,_0x12c334),N(this,_0x5e1061(0x431),null),(this[_0x5e1061(0x23b)]=_0x33756f,this[_0x5e1061(0x444)]=_0x450959);}[_0x4ac54c(0x24b)](_0x565b71){var _0x1a9a50=_0x4ac54c;this[_0x1a9a50(0x431)]=_0x565b71;}[_0x4ac54c(0x2fa)](){var _0x1a011e=_0x4ac54c;this['_handlerCallback']=null,super[_0x1a011e(0x2fa)]();}[_0x4ac54c(0x24e)](){var _0xda1db5=_0x4ac54c;const _0x4b404f=super[_0xda1db5(0x24e)]();return _0x4b404f['onTransformIME']=_0x396fcb=>{var _0x92b8c0=_0xda1db5,_0x60ce00,_0x16959a;return(_0x16959a=(_0x60ce00=this['_handlerCallback'])==null?void 0x0:_0x60ce00[_0x92b8c0(0x31b)])==null?void 0x0:_0x16959a[_0x92b8c0(0x2c5)](_0x60ce00,_0x396fcb);},_0x4b404f[_0xda1db5(0x45b)]=_0x55bf93=>{var _0x261e3e=_0xda1db5,_0x1ac52d,_0x290625;return(_0x290625=(_0x1ac52d=this[_0x261e3e(0x431)])==null?void 0x0:_0x1ac52d[_0x261e3e(0x45b)])==null?void 0x0:_0x290625[_0x261e3e(0x2c5)](_0x1ac52d,_0x55bf93);},_0x4b404f['onTransformSelections']=_0x420278=>{var _0x276deb=_0xda1db5,_0x225e47,_0x323fdc;return(_0x323fdc=(_0x225e47=this[_0x276deb(0x431)])==null?void 0x0:_0x225e47[_0x276deb(0x35b)])==null?void 0x0:_0x323fdc['call'](_0x225e47,_0x420278);},_0x4b404f[_0xda1db5(0x34c)]=_0x4d1aba=>{var _0x347e75=_0xda1db5,_0x2bb114,_0x17a5d4;return(_0x17a5d4=(_0x2bb114=this['_handlerCallback'])==null?void 0x0:_0x2bb114[_0x347e75(0x34c)])==null?void 0x0:_0x17a5d4[_0x347e75(0x2c5)](_0x2bb114,_0x4d1aba);},_0x4b404f[_0xda1db5(0x225)]=_0x3cf949=>{var _0x542159=_0xda1db5,_0x530390,_0x53910e,_0xb8ac73;if(!((_0x530390=this[_0x542159(0x431)])!=null&&_0x530390[_0x542159(0x225)]))throw new Error(_0x542159(0x34f));return(_0xb8ac73=(_0x53910e=this[_0x542159(0x431)])==null?void 0x0:_0x53910e['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xb8ac73['call'](_0x53910e,_0x3cf949);},_0x4b404f[_0xda1db5(0x26f)]=_0xf351f2=>{var _0x3823a7=_0xda1db5,_0x4a3e1e,_0x3c7c0e,_0x215ac9;if(!((_0x4a3e1e=this['_handlerCallback'])!=null&&_0x4a3e1e['onTransformRemoteChangesetByStateCache']))throw new Error(_0x3823a7(0x2bb));return(_0x215ac9=(_0x3c7c0e=this[_0x3823a7(0x431)])==null?void 0x0:_0x3c7c0e['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x215ac9[_0x3823a7(0x2c5)](_0x3c7c0e,_0xf351f2);},_0x4b404f;}async['_init'](){var _0x4156c8=_0x4ac54c;const _0xc01eff=await super['_init']();return this[_0x4156c8(0x2ae)](this[_0x4156c8(0x274)]['onCommandExecuted']((_0x19673a,_0x4587f1)=>{var _0x3b0c45=_0x4156c8;if(_0x19673a[_0x3b0c45(0x444)]!==_0x38d8b1[_0x3b0c45(0x226)]||_0x4587f1!=null&&_0x4587f1['fromCollab']||_0x4587f1!=null&&_0x4587f1[_0x3b0c45(0x429)]||_0x19673a['id']===_0x8049a4['id'])return;const _0xf8d14=_0x19673a[_0x3b0c45(0x26d)];if((_0xf8d14==null?void 0x0:_0xf8d14[_0x3b0c45(0x36d)])!==this[_0x3b0c45(0x23b)])return;const _0x1ea318=_0x19673a,_0xe55924=this['_compressMutationService'][_0x3b0c45(0x22b)]['fetchThroughInterceptors'](this[_0x3b0c45(0x276)]['interceptor'][_0x3b0c45(0x3de)]()[_0x3b0c45(0x44c)])([_0x1ea318],null)||[_0x1ea318];this[_0x3b0c45(0x316)](_0xe55924[0x0]);})),_0xc01eff;}};St=wt([H(0x3,_0x22f569(_0x358553)),H(0x4,_0x22f569(_0x11441b)),H(0x5,_0x22f569(_0xe6f6cb)),H(0x6,_0x22f569(_0x5b05fd)),H(0x7,_0x22f569(ve)),H(0x8,_0x14cccc),H(0x9,_0x108bed),H(0xa,_0x4d07a8),H(0xb,_0x102f44(ht)),H(0xc,_0x102f44(J))],St);let Et=class extends st{constructor(_0x51c99e,_0x37a5d2,_0x21c022,_0x3eec06,_0x16ac77,_0x5cfd67,_0x41cd26,_0x483748,_0x570926,_0x130847,_0x2c6bcc,_0xf6ac0c,_0x3f545f,_0x5ab0cc){var _0x459837=_0x4ac54c;super(_0x51c99e,_0x21c022,_0x37a5d2,_0x3eec06,_0x16ac77,_0x5cfd67,_0x41cd26,_0x570926,_0x130847,_0x2c6bcc,_0xf6ac0c,_0x3f545f,_0x5ab0cc),this[_0x459837(0x23b)]=_0x51c99e,this['type']=_0x37a5d2,this[_0x459837(0x3ef)]=_0x483748;}[_0x4ac54c(0x24e)](){var _0x5c3add=_0x4ac54c;const _0x3baaad=super['_createHandler']();return _0x3baaad[_0x5c3add(0x35b)]=_0x422c8f=>this[_0x5c3add(0x3ef)][_0x5c3add(0x223)](_0x422c8f),_0x3baaad;}async['_init'](){var _0x5ebd7c=_0x4ac54c;const _0x3f405f=await super[_0x5ebd7c(0x2ba)]();return this[_0x5ebd7c(0x2ae)](this[_0x5ebd7c(0x274)][_0x5ebd7c(0x389)]((_0x2d3517,_0x109123)=>{var _0x190f76=_0x5ebd7c;if(_0x2d3517['type']!==_0x38d8b1[_0x190f76(0x226)]||_0x109123!=null&&_0x109123[_0x190f76(0x2d2)]||_0x109123!=null&&_0x109123['onlyLocal'])return;const _0x1d36a8=_0x2d3517[_0x190f76(0x26d)];if((_0x1d36a8==null?void 0x0:_0x1d36a8[_0x190f76(0x36d)])!==this[_0x190f76(0x23b)])return;const _0x4f501d=_0x2d3517,_0x132150=this['_compressMutationService'][_0x190f76(0x22b)]['fetchThroughInterceptors'](this[_0x190f76(0x276)][_0x190f76(0x22b)][_0x190f76(0x3de)]()['COMPRESS_MUTATION_SEND'])([_0x4f501d],null)||[_0x4f501d];this[_0x190f76(0x316)](_0x132150[0x0]);})),_0x3f405f;}};Et=wt([H(0x3,_0x22f569(_0x358553)),H(0x4,_0x22f569(_0x11441b)),H(0x5,_0x22f569(_0xe6f6cb)),H(0x6,_0x22f569(_0x5b05fd)),H(0x7,_0x22f569(it)),H(0x8,_0x22f569(ve)),H(0x9,_0x14cccc),H(0xa,_0x108bed),H(0xb,_0x4d07a8),H(0xc,_0x102f44(ht)),H(0xd,_0x102f44(J))],Et);const js=_0x49b5e3(_0x4ac54c(0x236));function Fs(_0x30c96d){var _0x2cc283=_0x4ac54c,_0x3d1255,_0x270a43,_0x2461ce,_0x5a085b,_0x5ae957;const _0x2759c4=_0x30c96d[_0x2cc283(0x435)],_0x53b674=JSON[_0x2cc283(0x1f7)](_0x2759c4);switch(_0x53b674[_0x2cc283(0x384)]){case F[_0x2cc283(0x288)]:case F[_0x2cc283(0x25a)]:{const _0xe281e=_0x53b674[_0x2cc283(0x234)];return{..._0x53b674,'data':_0xe281e,'cmd':_0x53b674[_0x2cc283(0x384)]};}case F[_0x2cc283(0x3d9)]:{const _0x4dd30d=_0x53b674[_0x2cc283(0x412)];return{..._0x53b674,'data':_0x4dd30d,'cmd':_0x53b674[_0x2cc283(0x384)]};}case F[_0x2cc283(0x21c)]:{const _0x3e8aab=_0x53b674[_0x2cc283(0x492)];switch(_0x3e8aab[_0x2cc283(0x28f)]){case _0x5f303b['PERMISSION_REJ']:return{..._0x53b674,'data':{..._0x3e8aab,'data':(_0x3d1255=_0x3e8aab['permissionRejEvent'])==null?void 0x0:_0x3d1255['cs']},'cmd':_0x53b674[_0x2cc283(0x384)]};case _0x5f303b['CHANGESET_ACK']:return{..._0x53b674,'data':{..._0x3e8aab,'data':(_0x270a43=_0x3e8aab['csAckEvent'])==null?void 0x0:_0x270a43['cs']},'cmd':_0x53b674['cmd']};case _0x5f303b[_0x2cc283(0x370)]:return{..._0x53b674,'data':{..._0x3e8aab,'data':(_0x2461ce=_0x3e8aab[_0x2cc283(0x1f4)])==null?void 0x0:_0x2461ce['cs']},'cmd':_0x53b674[_0x2cc283(0x384)]};case _0x5f303b['CHANGESET_REJ']:return{..._0x53b674,'data':{..._0x3e8aab,'data':(_0x5a085b=_0x3e8aab[_0x2cc283(0x3f8)])==null?void 0x0:_0x5a085b['cs']},'cmd':_0x53b674[_0x2cc283(0x384)]};case _0x5f303b['CHANGESET_SHOULD_RETRY']:return{..._0x53b674,'data':{..._0x3e8aab,'data':(_0x5ae957=_0x3e8aab['csShouldRetryEvent'])==null?void 0x0:_0x5ae957['cs']},'cmd':_0x53b674[_0x2cc283(0x384)]};case _0x5f303b[_0x2cc283(0x249)]:return{..._0x53b674,'data':{..._0x3e8aab,'data':_0x3e8aab[_0x2cc283(0x247)]},'cmd':_0x53b674[_0x2cc283(0x384)]};case _0x5f303b[_0x2cc283(0x387)]:return{..._0x53b674,'data':{..._0x3e8aab,'data':_0x3e8aab['joinEvent']},'cmd':_0x53b674[_0x2cc283(0x384)]};case _0x5f303b[_0x2cc283(0x498)]:return{..._0x53b674,'data':{..._0x3e8aab,'data':_0x3e8aab[_0x2cc283(0x23e)]},'cmd':_0x53b674[_0x2cc283(0x384)]};case _0x5f303b[_0x2cc283(0x20a)]:return{..._0x53b674,'data':{..._0x3e8aab,'data':_0x3e8aab[_0x2cc283(0x215)]},'cmd':_0x53b674[_0x2cc283(0x384)]};case _0x5f303b[_0x2cc283(0x2f2)]:case _0x5f303b[_0x2cc283(0x3a0)]:return{..._0x53b674,'data':{..._0x3e8aab,'data':_0x3e8aab[_0x2cc283(0x229)]},'cmd':_0x53b674['cmd']};case _0x5f303b['LIVESHARE_TERMINATE']:return{..._0x53b674,'data':{..._0x3e8aab,'data':_0x3e8aab[_0x2cc283(0x215)]},'cmd':_0x53b674['cmd']};case _0x5f303b[_0x2cc283(0x1db)]:return{..._0x53b674,'data':_0x3e8aab,'cmd':_0x53b674[_0x2cc283(0x384)]};case _0x5f303b[_0x2cc283(0x27c)]:return{..._0x53b674,'data':{..._0x3e8aab,'data':_0x3e8aab[_0x2cc283(0x27a)]},'cmd':_0x53b674[_0x2cc283(0x384)]};case _0x5f303b[_0x2cc283(0x2b1)]:return{..._0x53b674,'data':{..._0x3e8aab,'data':_0x3e8aab['updatePermissionObjEvent']},'cmd':_0x53b674[_0x2cc283(0x384)]};case _0x5f303b[_0x2cc283(0x3e7)]:return{..._0x53b674,'data':{..._0x3e8aab,'data':_0x3e8aab[_0x2cc283(0x352)]},'cmd':_0x53b674['cmd']};case _0x5f303b[_0x2cc283(0x3a8)]:return{..._0x53b674,'data':{..._0x3e8aab,'data':_0x3e8aab[_0x2cc283(0x1f2)]},'cmd':_0x53b674[_0x2cc283(0x384)]};default:return _0x53b674;}}default:return _0x53b674;}}function Vs(_0x6f94bb){var _0x573fe3=_0x4ac54c;switch(_0x6f94bb[_0x573fe3(0x384)]){case F[_0x573fe3(0x288)]:case F[_0x573fe3(0x25a)]:return JSON['stringify']({'cmd':_0x6f94bb[_0x573fe3(0x384)],'routeKey':_0x6f94bb[_0x573fe3(0x37a)]});case F['INGEST']:{let _0x27e0b4;switch(_0x6f94bb['data']['eventID']){case _0x5f303b['UPDATE_CURSOR']:{_0x27e0b4={'eventID':_0x5f303b[_0x573fe3(0x249)],'updateCursorEvent':_0x6f94bb[_0x573fe3(0x435)][_0x573fe3(0x435)]};break;}case _0x5f303b[_0x573fe3(0x498)]:{_0x27e0b4={'eventID':_0x5f303b['USERS_LEAVE'],'leaveEvent':_0x6f94bb[_0x573fe3(0x435)][_0x573fe3(0x435)]};break;}case _0x5f303b[_0x573fe3(0x387)]:{_0x27e0b4={'eventID':_0x5f303b[_0x573fe3(0x387)],'joinEvent':_0x6f94bb[_0x573fe3(0x435)][_0x573fe3(0x435)]};break;}case _0x5f303b[_0x573fe3(0x20a)]:{_0x27e0b4={'eventID':_0x5f303b[_0x573fe3(0x20a)],'liveShareNewHost':_0x6f94bb['data'][_0x573fe3(0x435)]};break;}case _0x5f303b[_0x573fe3(0x3a0)]:{_0x27e0b4={'eventID':_0x5f303b[_0x573fe3(0x3a0)],'liveShareOperation':_0x6f94bb[_0x573fe3(0x435)][_0x573fe3(0x435)]};break;}case _0x5f303b[_0x573fe3(0x497)]:{_0x27e0b4={'eventID':_0x5f303b[_0x573fe3(0x497)],'liveShareTerminate':_0x6f94bb[_0x573fe3(0x435)][_0x573fe3(0x435)]};break;}case _0x5f303b[_0x573fe3(0x1e5)]:{_0x27e0b4={'eventID':_0x5f303b[_0x573fe3(0x1e5)],'liveShareRequestHost':_0x6f94bb[_0x573fe3(0x435)][_0x573fe3(0x435)]};break;}case _0x5f303b[_0x573fe3(0x2f2)]:{_0x27e0b4={'eventID':_0x5f303b['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x27e0b4={'eventID':_0x6f94bb['data'][_0x573fe3(0x28f)]};}return JSON['stringify']({'cmd':_0x6f94bb[_0x573fe3(0x384)],'routeKey':_0x6f94bb[_0x573fe3(0x37a)],'collaMsg':_0x27e0b4});}case F['JOIN']:return JSON[_0x573fe3(0x31c)]({'cmd':_0x6f94bb[_0x573fe3(0x384)],'routeKey':_0x6f94bb['routeKey'],'joinReq':_0x6f94bb['data']});case F[_0x573fe3(0x20e)]:return JSON[_0x573fe3(0x31c)]({'cmd':_0x6f94bb[_0x573fe3(0x384)],'routeKey':_0x6f94bb[_0x573fe3(0x37a)],'leaveReq':_0x6f94bb[_0x573fe3(0x435)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ws=Object[_0x4ac54c(0x45f)],Gs=(_0x3834a,_0xb101ce,_0x5ad83d,_0x10127f)=>{var _0x282cad=_0x4ac54c;for(var _0xf99d37=_0x10127f>0x1?void 0x0:_0x10127f?Ws(_0xb101ce,_0x5ad83d):_0xb101ce,_0xd0f11a=_0x3834a[_0x282cad(0x413)]-0x1,_0x5bfaec;_0xd0f11a>=0x0;_0xd0f11a--)(_0x5bfaec=_0x3834a[_0xd0f11a])&&(_0xf99d37=_0x5bfaec(_0xf99d37)||_0xf99d37);return _0xf99d37;},De=(_0x233133,_0x4fddba)=>(_0x27b790,_0xb00189)=>_0x4fddba(_0x27b790,_0xb00189,_0x233133);const Ci=_0x49b5e3(_0x4ac54c(0x474));function Ys(_0x3e918c,_0x790b7f,_0x5d94c1){var _0x3583e2=_0x4ac54c;return _0x3e918c+'/'+_0x790b7f+_0x3583e2(0x31a)+_0x5d94c1+'/new_changes';}let Gt=class extends _0x544480{constructor(_0x4a28f2,_0x521cfc,_0x1a023b,_0x3c9ce2,_0x212a58){var _0x60bef2=_0x4ac54c;super(),this[_0x60bef2(0x1e4)]=_0x4a28f2,this[_0x60bef2(0x1c7)]=_0x521cfc,this[_0x60bef2(0x1c5)]=_0x1a023b,this[_0x60bef2(0x1fe)]=_0x3c9ce2,this[_0x60bef2(0x486)]=_0x212a58;}['_doCreateSocket'](_0x42dbde){var _0x5c82fd=_0x4ac54c;const _0x123ec9=this[_0x5c82fd(0x1e4)][_0x5c82fd(0x307)](_0x51f99f);if(!_0x123ec9)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0xb4accb=_0x123ec9[_0x5c82fd(0x30c)](_0x42dbde);if(!_0xb4accb)throw new Error(_0x5c82fd(0x3c7));const _0x2af5b7=new _0x44034(),_0x3120ba=new _0x5375c5();_0x2af5b7[_0x5c82fd(0x297)](_0xb4accb['close$'][_0x5c82fd(0x356)](_0x22a619=>_0x3120ba['next'](_0x22a619))),_0x2af5b7[_0x5c82fd(0x297)](_0x1fc3e2(()=>_0x3120ba[_0x5c82fd(0x3c0)]()));const _0x1677dc=new _0x5375c5();_0x2af5b7['add'](_0xb4accb['error$'][_0x5c82fd(0x356)](_0xa79e87=>_0x1677dc[_0x5c82fd(0x3db)](_0xa79e87))),_0x2af5b7['add'](_0x1fc3e2(()=>_0x1677dc[_0x5c82fd(0x3c0)]()));const _0x4da128=new _0x5375c5();_0x2af5b7[_0x5c82fd(0x297)](_0xb4accb[_0x5c82fd(0x388)][_0x5c82fd(0x356)](_0xe95347=>{var _0x530689=_0x5c82fd;const _0x1f70e7=Fs(_0xe95347);_0x4da128[_0x530689(0x3db)](_0x1f70e7);})),_0x2af5b7[_0x5c82fd(0x297)](_0x1fc3e2(()=>_0x4da128['complete']()));let _0xabbb2;const _0x279a11=()=>{var _0x31923f=_0x5c82fd;_0x1677dc[_0x31923f(0x3db)](new Event(_0x31923f(0x36a))),_0x3120ba[_0x31923f(0x3db)](new Event(_0x31923f(0x36a))),_0xabbb2[_0x31923f(0x244)]();};return _0xabbb2={'memberID':'','close$':_0x3120ba[_0x5c82fd(0x425)](),'error$':_0x1677dc[_0x5c82fd(0x425)](),'open$':_0xb4accb[_0x5c82fd(0x282)],'message$':_0x4da128[_0x5c82fd(0x425)](),'send':_0x95fa39=>{var _0x45fe81=_0x5c82fd;if(_0x95fa39[_0x45fe81(0x384)]===F[_0x45fe81(0x381)]){if(_0x95fa39[_0x45fe81(0x435)][_0x45fe81(0x28f)]===_0x5f303b[_0x45fe81(0x419)]){this[_0x45fe81(0x446)](_0xabbb2,_0x95fa39['data'])[_0x45fe81(0x37d)](_0xd2e654=>{var _0x181a56=_0x45fe81;this[_0x181a56(0x1fe)][_0x181a56(0x1d1)](_0xd2e654),_0x279a11();});return;}if(_0x95fa39['data'][_0x45fe81(0x28f)]===_0x5f303b[_0x45fe81(0x404)]){const _0x20bf45=_0x95fa39[_0x45fe81(0x435)];this[_0x45fe81(0x32d)](_0x20bf45)['then'](_0x574cdb=>{var _0xf2430d=_0x45fe81;_0x4da128['next']({'cmd':F['RECV'],'code':pe['OK'],'routeKey':_0x20bf45[_0xf2430d(0x435)][_0xf2430d(0x23b)],'routeType':'','data':{'eventID':_0x5f303b['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x574cdb}}});})[_0x45fe81(0x37d)](_0x43c64d=>{var _0x213e17=_0x45fe81;this[_0x213e17(0x1fe)][_0x213e17(0x1d1)](_0x43c64d),_0x279a11();});return;}}_0xb4accb[_0x45fe81(0x2c8)](Vs(_0x95fa39));},'close':()=>{var _0x1a0968=_0x5c82fd;_0xb4accb['close'](),_0x2af5b7[_0x1a0968(0x2fa)]();}},_0xabbb2;}async[_0x4ac54c(0x446)](_0x26cb10,_0x48e584){var _0x18ecbd=_0x4ac54c,_0x475561;const {unitType:_0x426940,unitID:_0x52bf7c,changeset:_0x3d159f}=_0x48e584['data'],_0x4dfe75={'unitID':_0x52bf7c,'memberID':_0x26cb10[_0x18ecbd(0x25c)],'type':_0x426940,'changeset':_0x1f9b84(_0x3d159f)},_0x5309f2=this[_0x18ecbd(0x1c5)]['getConfig'](K),_0x457565=Ys((_0x475561=_0x5309f2==null?void 0x0:_0x5309f2[_0x18ecbd(0x2fd)])!=null?_0x475561:Cs,_0x426940,_0x52bf7c);try{await this[_0x18ecbd(0x1c7)]['post'](_0x457565,{'body':_0x4dfe75});}catch(_0x4caa19){throw this[_0x18ecbd(0x1fe)][_0x18ecbd(0x1d1)](_0x18ecbd(0x339),_0x18ecbd(0x3c9)),_0x4caa19;}}async[_0x4ac54c(0x32d)](_0x4d02c6){var _0x46ae7d=_0x4ac54c;const {unitID:_0x26019c,from:_0x2eec69,to:_0x1dd4fe,unitType:_0xb4dbc3}=_0x4d02c6[_0x46ae7d(0x435)];return(await this['_snapshotServerService'][_0x46ae7d(0x1d5)]({'metadata':void 0x0},{'unitID':_0x26019c,'type':_0xb4dbc3,'from':_0x2eec69,'to':_0x1dd4fe}))[_0x46ae7d(0x321)];}};Gt=Gs([De(0x0,_0x22f569(_0x358553)),De(0x1,_0x22f569(_0x42880f)),De(0x2,_0x5c33eb),De(0x3,_0x14cccc),De(0x4,_0x127e82)],Gt);var Ks=Object['getOwnPropertyDescriptor'],qs=(_0x48697c,_0x1fbdfd,_0x990ff0,_0x46341f)=>{var _0x41b5dc=_0x4ac54c;for(var _0x21bcd7=_0x46341f>0x1?void 0x0:_0x46341f?Ks(_0x1fbdfd,_0x990ff0):_0x1fbdfd,_0x22523f=_0x48697c[_0x41b5dc(0x413)]-0x1,_0x24a22d;_0x22523f>=0x0;_0x22523f--)(_0x24a22d=_0x48697c[_0x22523f])&&(_0x21bcd7=_0x24a22d(_0x21bcd7)||_0x21bcd7);return _0x21bcd7;},Re=(_0x468033,_0x104dd1)=>(_0x168518,_0x5e7970)=>_0x104dd1(_0x168518,_0x5e7970,_0x468033);let Pe=class extends _0x544480{constructor(_0x5e7a94,_0x457321,_0x5d75ba,_0x4ca116,_0x1f408b,_0x2319f8){var _0x1a49be=_0x4ac54c;super(),N(this,_0x1a49be(0x394),new _0x163373(void 0x0)),N(this,'socket$',this[_0x1a49be(0x394)][_0x1a49be(0x425)]()),N(this,'_candidateSocket',null),N(this,_0x1a49be(0x445),new Map()),N(this,_0x1a49be(0x368),new _0x163373(ge[_0x1a49be(0x28b)])),N(this,_0x1a49be(0x46d),this[_0x1a49be(0x368)][_0x1a49be(0x425)]()),N(this,'_socketReady',!0x1),N(this,_0x1a49be(0x308)),N(this,_0x1a49be(0x231),0x0),N(this,_0x1a49be(0x2e6)),N(this,'_timeoutTimer'),(this[_0x1a49be(0x1e4)]=_0x5e7a94,this[_0x1a49be(0x1fe)]=_0x457321,this['_configService']=_0x5d75ba,this[_0x1a49be(0x44a)]=_0x4ca116,this[_0x1a49be(0x4a2)]=_0x1f408b,this['_networkConditionService']=_0x2319f8,this[_0x1a49be(0x3ed)]());}get['_socket'](){var _0x299063=_0x4ac54c;return this['_socket$'][_0x299063(0x3c3)]();}[_0x4ac54c(0x3ed)](){var _0x1e858d=_0x4ac54c;this[_0x1e858d(0x22e)]&&this[_0x1e858d(0x2ae)](this[_0x1e858d(0x22e)]['online$'][_0x1e858d(0x356)](_0x509ea9=>{var _0x25f348=_0x1e858d;_0x509ea9&&!this['_socket']&&this[_0x25f348(0x2a0)](),_0x509ea9||this[_0x25f348(0x2fe)]();}));}[_0x4ac54c(0x2fa)](){var _0x1fcc86=_0x4ac54c;super[_0x1fcc86(0x2fa)](),this[_0x1fcc86(0x3d8)](),this[_0x1fcc86(0x423)](),this[_0x1fcc86(0x364)](),this[_0x1fcc86(0x445)][_0x1fcc86(0x392)](_0x366c76=>_0x366c76[_0x1fcc86(0x2fa)]()),this['_sessions'][_0x1fcc86(0x489)](),this[_0x1fcc86(0x368)]['complete']();}async['requireSession'](_0x45027b){var _0x4be67f=_0x4ac54c;if(this[_0x4be67f(0x445)][_0x4be67f(0x3ec)](_0x45027b))return this[_0x4be67f(0x445)][_0x4be67f(0x307)](_0x45027b);this[_0x4be67f(0x453)]();const _0x4880d9=this[_0x4be67f(0x1e4)][_0x4be67f(0x40c)](gt,_0x45027b,this[_0x4be67f(0x394)][_0x4be67f(0x425)]());return this[_0x4be67f(0x445)][_0x4be67f(0x232)](_0x45027b,_0x4880d9),_0x4880d9;}[_0x4ac54c(0x1cb)](_0x2e1ed4){var _0x3d56ff=_0x4ac54c,_0x5a5d93;const _0xe0154=this[_0x3d56ff(0x445)][_0x3d56ff(0x307)](_0x2e1ed4);_0xe0154&&(this[_0x3d56ff(0x445)][_0x3d56ff(0x401)](_0x2e1ed4),_0xe0154[_0x3d56ff(0x244)]()),this['_sessions'][_0x3d56ff(0x213)]||(_0x5a5d93=this['_socket'])==null||_0x5a5d93[_0x3d56ff(0x244)]();}['reconnect'](){var _0x9f68ae=_0x4ac54c;this['_retryCount']=0x0,this[_0x9f68ae(0x3d8)](),this[_0x9f68ae(0x343)]();}['_clearRetryConnectingTimer'](){var _0x4cd599=_0x4ac54c;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x4cd599(0x308)]),this[_0x4cd599(0x308)]=null);}async[_0x4ac54c(0x463)](){var _0x688097=_0x4ac54c,_0x59d414;const _0x529458=this[_0x688097(0x1c5)]['getConfig'](K),_0x5da7b9=(_0x59d414=_0x529458==null?void 0x0:_0x529458['collabWebSocketUrl'])!=null?_0x59d414:ms,_0x4cf27a=await this[_0x688097(0x44a)][_0x688097(0x30c)](_0x5da7b9);return this[_0x688097(0x3f1)]=_0x4cf27a,_0x4cf27a;}async[_0x4ac54c(0x453)](){var _0x52ef17=_0x4ac54c,_0x551e2a,_0x5a9c39;try{const _0x2075fa=(_0x5a9c39=(_0x551e2a=this[_0x52ef17(0x439)])!=null?_0x551e2a:this[_0x52ef17(0x3f1)])!=null?_0x5a9c39:await this[_0x52ef17(0x463)]();if(_0x2075fa){const _0x34d790=_0x2075fa[_0x52ef17(0x2c8)];_0x2075fa[_0x52ef17(0x2c8)]=_0x52e193=>(this[_0x52ef17(0x310)](),_0x34d790['apply'](_0x2075fa,[_0x52e193])),_0x2075fa[_0x52ef17(0x388)][_0x52ef17(0x356)](_0x167038=>this[_0x52ef17(0x220)](_0x2075fa,_0x167038)),_0x2075fa[_0x52ef17(0x2a2)]['pipe'](_0x1b35a2(0x1))['subscribe'](_0x2c3491=>this[_0x52ef17(0x1fe)]['error'](_0x52ef17(0x3c8),_0x2c3491)),_0x2075fa[_0x52ef17(0x282)][_0x52ef17(0x3b9)](_0x1b35a2(0x1))[_0x52ef17(0x356)](()=>{this['_onConnectionOpen'](_0x2075fa);}),_0x2075fa[_0x52ef17(0x1bf)]['pipe'](_0x1b35a2(0x1))[_0x52ef17(0x356)](_0x5ea0e8=>{var _0x31445b=_0x52ef17;this[_0x31445b(0x1fe)][_0x31445b(0x1ff)](_0x31445b(0x49a),_0x31445b(0x21b),_0x5ea0e8),this[_0x31445b(0x4bc)]();});}}catch(_0x3698c3){this[_0x52ef17(0x1fe)][_0x52ef17(0x1d1)](_0x3698c3),this[_0x52ef17(0x4bc)]();}}[_0x4ac54c(0x460)](_0xb9070f){var _0x5c9074=_0x4ac54c;this[_0x5c9074(0x1fe)][_0x5c9074(0x1ff)](_0x5c9074(0x49a),_0x5c9074(0x277)),_0xb9070f[_0x5c9074(0x2c8)]({'cmd':F['HELLO']}),this[_0x5c9074(0x310)]();}['_onOffline'](){var _0x4c1268=_0x4ac54c;this['_socketReady']=!0x1,this[_0x4c1268(0x3f1)]=null,this[_0x4c1268(0x368)][_0x4c1268(0x3db)](ge[_0x4c1268(0x465)]),this[_0x4c1268(0x394)]['next'](null),this[_0x4c1268(0x423)](),this[_0x4c1268(0x364)]();}['_onConnectionFailed'](){var _0x1798da=_0x4ac54c,_0x2624d1;this[_0x1798da(0x2fe)](),this['_retryCount']<((_0x2624d1=this[_0x1798da(0x1c5)]['getConfig'](Is))!=null?_0x2624d1:Ts)?(this[_0x1798da(0x4a2)][_0x1798da(0x4a1)]({'id':ne[_0x1798da(0x38e)]}),this[_0x1798da(0x343)]()):this['_collaborationUIEventService'][_0x1798da(0x4a1)]({'id':ne[_0x1798da(0x2ea)]});}[_0x4ac54c(0x343)](){var _0xab73fa=_0x4ac54c,_0x315a64;const _0x2d05ee=this['_retryCount'],_0x3aec72=this['_configService']['getConfig'](K),_0x16aedb=_0x2d05ee===0x0?0x0:((_0x315a64=_0x3aec72==null?void 0x0:_0x3aec72[_0xab73fa(0x1d7)])!=null?_0x315a64:Es)*0x2**_0x2d05ee;this[_0xab73fa(0x308)]=setTimeout(()=>{clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x16aedb),this['_retryCount']+=0x1;}[_0x4ac54c(0x220)](_0xfbb909,_0x56343b){var _0x426198=_0x4ac54c;const {cmd:_0x380558}=_0x56343b;_0x380558===F[_0x426198(0x25a)]&&!this[_0x426198(0x295)]&&(_0xfbb909[_0x426198(0x25c)]=_0x56343b[_0x426198(0x435)][_0x426198(0x25c)],this['_socket$'][_0x426198(0x3db)](_0xfbb909),this[_0x426198(0x368)][_0x426198(0x3db)](ge[_0x426198(0x430)]),this[_0x426198(0x295)]=!0x0,this[_0x426198(0x3f1)]=null),_0x380558===F['HEARTBEAT']&&this[_0x426198(0x423)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x45eb1e=_0x4ac54c,_0x1e5925;this[_0x45eb1e(0x364)](),this[_0x45eb1e(0x2e6)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x1e5925=this[_0x45eb1e(0x1c5)]['getConfig'](gs))!=null?_0x1e5925:Ss);}[_0x4ac54c(0x2af)](){var _0x35a36b=_0x4ac54c;this[_0x35a36b(0x439)][_0x35a36b(0x2c8)]({'cmd':F[_0x35a36b(0x288)]}),this[_0x35a36b(0x4af)]();}[_0x4ac54c(0x4af)](){var _0x33f73e=_0x4ac54c,_0x2d1f38;this[_0x33f73e(0x23c)]=setTimeout(()=>this[_0x33f73e(0x4bc)](),(_0x2d1f38=this['_configService'][_0x33f73e(0x230)](di))!=null?_0x2d1f38:fi);}[_0x4ac54c(0x364)](){var _0x4039df=_0x4ac54c;this[_0x4039df(0x2e6)]!=null&&(clearTimeout(this[_0x4039df(0x2e6)]),this[_0x4039df(0x2e6)]=null);}[_0x4ac54c(0x423)](){var _0x5ae5e0=_0x4ac54c;this[_0x5ae5e0(0x23c)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x5ae5e0(0x23c)]=null);}};Pe=qs([Re(0x0,_0x22f569(_0x358553)),Re(0x1,_0x14cccc),Re(0x2,_0x5c33eb),Re(0x3,Ci),Re(0x4,_0x22f569(ve)),Re(0x5,_0x102f44(js))],Pe);var zs=Object[_0x4ac54c(0x45f)],Js=(_0x8c7418,_0x46c8f7,_0x587ad5,_0x5daf3b)=>{var _0x53e6e2=_0x4ac54c;for(var _0x2e1d88=_0x5daf3b>0x1?void 0x0:_0x5daf3b?zs(_0x46c8f7,_0x587ad5):_0x46c8f7,_0x4d9881=_0x8c7418[_0x53e6e2(0x413)]-0x1,_0x4e8a8a;_0x4d9881>=0x0;_0x4d9881--)(_0x4e8a8a=_0x8c7418[_0x4d9881])&&(_0x2e1d88=_0x4e8a8a(_0x2e1d88)||_0x2e1d88);return _0x2e1d88;},Be=(_0x435941,_0x4152d4)=>(_0x3c526b,_0x3bab33)=>_0x4152d4(_0x3c526b,_0x3bab33,_0x435941);let nt=class extends _0x2ed3e7{constructor(_0xb2be47,_0x24e389,_0x3fb978,_0x528be5){var _0xd21117=_0x4ac54c,_0x5dbc58;super(),N(this,'_entities',new Map()),N(this,_0xd21117(0x28a),new _0x5375c5()),N(this,_0xd21117(0x36f),this[_0xd21117(0x28a)][_0xd21117(0x425)]()),(this[_0xd21117(0x1e4)]=_0xb2be47,this[_0xd21117(0x209)]=_0x24e389,this[_0xd21117(0x1c5)]=_0x3fb978,this['_univerInstanceService']=_0x528be5,((_0x5dbc58=this[_0xd21117(0x1c5)]['getConfig'](K))==null?void 0x0:_0x5dbc58[_0xd21117(0x29a)])!==!0x1&&this['_init']());}[_0x4ac54c(0x2fa)](){var _0x3b4b2a=_0x4ac54c;super['dispose'](),this['_entities'][_0x3b4b2a(0x392)](_0xb6e4ad=>_0xb6e4ad[_0x3b4b2a(0x2fa)]()),this[_0x3b4b2a(0x286)][_0x3b4b2a(0x489)]();}['getCollabEntity'](_0x16a255){var _0xeb057a;return(_0xeb057a=this['_entities']['get'](_0x16a255))!=null?_0xeb057a:null;}[_0x4ac54c(0x2bf)](_0x5bd235){var _0x514fce=_0x4ac54c;const _0x46e17a=this[_0x514fce(0x269)](_0x5bd235);return _0x46e17a?_0x5c7407(_0x46e17a):this[_0x514fce(0x28a)][_0x514fce(0x3b9)](_0x5969e6(_0x5cf071=>_0x5cf071[_0x514fce(0x23b)]===_0x5bd235));}[_0x4ac54c(0x436)](_0x54e495){var _0x439874=_0x4ac54c;return _0x2f347f(this['getCollabEntity$'](_0x54e495)[_0x439874(0x3b9)](_0x579e0d(()=>{})));}['_init'](){var _0x323601=_0x4ac54c;this[_0x323601(0x33d)][_0x323601(0x2c1)](_0xfccf72[_0x323601(0x36e)])[_0x323601(0x3b9)](_0x128ca3(this[_0x323601(0x289)]),_0x4173a7(0x10))[_0x323601(0x356)](async _0x3590ac=>{var _0x57546f=_0x323601;const _0x7f95d=_0x3590ac[_0x57546f(0x3b6)](),_0x50d68a=await this['_startCollaboration'](_0x7f95d,Z[_0x57546f(0x36e)]);this['_entities'][_0x57546f(0x232)](_0x7f95d,_0x50d68a);}),this[_0x323601(0x33d)]['getTypeOfUnitAdded$'](_0xfccf72[_0x323601(0x4ac)])[_0x323601(0x3b9)](_0x128ca3(this[_0x323601(0x289)]),_0x4173a7(0x10))[_0x323601(0x3b9)](_0x5969e6(_0x1308b9=>!_0x1308b9[_0x323601(0x3b6)]()[_0x323601(0x27e)]('__')))[_0x323601(0x356)](async _0x3f9296=>{var _0x3ea21d=_0x323601;const _0xa0d22d=_0x3f9296[_0x3ea21d(0x3b6)](),_0x58a110=await this['_startCollaboration'](_0xa0d22d,Z[_0x3ea21d(0x4ac)]);this[_0x3ea21d(0x286)][_0x3ea21d(0x232)](_0xa0d22d,_0x58a110);}),_0x17798d(this[_0x323601(0x33d)]['getTypeOfUnitDisposed$'](_0xfccf72['UNIVER_SHEET']),this[_0x323601(0x33d)][_0x323601(0x200)](_0xfccf72[_0x323601(0x4ac)]))[_0x323601(0x3b9)](_0x128ca3(this[_0x323601(0x289)]))[_0x323601(0x356)](_0x1091d9=>{var _0x22d429=_0x323601;const _0x40dd10=_0x1091d9[_0x22d429(0x3b6)](),_0x2c0ddf=this['_entities']['get'](_0x40dd10);_0x2c0ddf&&(_0x2c0ddf['dispose'](),this['_entities'][_0x22d429(0x401)](_0x40dd10));});}async['_startCollaboration'](_0x1b7e42,_0x52de45){var _0x58ebde=_0x4ac54c;const _0x226978=await this[_0x58ebde(0x209)][_0x58ebde(0x1c9)](_0x1b7e42),_0x184bea=this[_0x58ebde(0x1e4)][_0x58ebde(0x40c)](this['_getCtorByUniverType'](_0x52de45),_0x1b7e42,_0x52de45,_0x226978);return await _0x184bea[_0x58ebde(0x3fe)](),this['_entityInit$'][_0x58ebde(0x3db)](_0x184bea),_0x184bea;}[_0x4ac54c(0x4a3)](_0x54f33f){var _0x7beb5=_0x4ac54c;switch(_0x54f33f){case Z[_0x7beb5(0x4ac)]:return St;case Z['UNIVER_SHEET']:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x54f33f);}}};nt=Js([Be(0x0,_0x22f569(_0x358553)),Be(0x1,_0x22f569(Pe)),Be(0x2,_0x5c33eb),Be(0x3,_0x5a7d2b)],nt);var Xs=Object[_0x4ac54c(0x45f)],Zs=(_0x147d56,_0x259b01,_0x254257,_0x349501)=>{for(var _0x2ce786=_0x349501>0x1?void 0x0:_0x349501?Xs(_0x259b01,_0x254257):_0x259b01,_0x4f429f=_0x147d56['length']-0x1,_0x467bf1;_0x4f429f>=0x0;_0x4f429f--)(_0x467bf1=_0x147d56[_0x4f429f])&&(_0x2ce786=_0x467bf1(_0x2ce786)||_0x2ce786);return _0x2ce786;},Yt=(_0x46e49e,_0x587829)=>(_0x1fcee5,_0x36553f)=>_0x587829(_0x1fcee5,_0x36553f,_0x46e49e);const Qs='DEFAULT_FILE_NAME',en=_0x4ac54c(0x48b);let It=class extends _0x544480{constructor(_0x51775b,_0x222c7b){var _0x286093=_0x4ac54c;super(),this[_0x286093(0x33d)]=_0x51775b,this['_configService']=_0x222c7b,this[_0x286093(0x2ba)]();}['_init'](){var _0x4c28c6=_0x4ac54c;this[_0x4c28c6(0x2ae)](this[_0x4c28c6(0x33d)][_0x4c28c6(0x34d)]['subscribe'](()=>{var _0x49c6e9=_0x4c28c6,_0x3f47de;const _0x1944ec=this['_univerInstanceService']['getFocusedUnit']();let _0x36b754=(_0x3f47de=this['_configService'][_0x49c6e9(0x230)](Qs))!=null?_0x3f47de:en;_0x1944ec instanceof _0x551cf1&&(_0x36b754=_0x1944ec[_0x49c6e9(0x1d2)]),document['title']=_0x36b754;}));}};It=Zs([Yt(0x0,_0x5a7d2b),Yt(0x1,_0x5c33eb)],It);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x16cf92,_0x1cb042,_0x1be815,_0x55124c)=>{var _0xcfaf7b=_0x4ac54c;for(var _0x41aac3=_0x55124c>0x1?void 0x0:_0x55124c?tn(_0x1cb042,_0x1be815):_0x1cb042,_0x12b913=_0x16cf92[_0xcfaf7b(0x413)]-0x1,_0x4b0730;_0x12b913>=0x0;_0x12b913--)(_0x4b0730=_0x16cf92[_0x12b913])&&(_0x41aac3=_0x4b0730(_0x41aac3)||_0x41aac3);return _0x41aac3;},dt=(_0x19b819,_0x32d64f)=>(_0x2f9948,_0x5740de)=>_0x32d64f(_0x2f9948,_0x5740de,_0x19b819);let rt=class{constructor(_0x194424,_0xf1c24b,_0x6c937){var _0x50a35b=_0x4ac54c;this[_0x50a35b(0x1c5)]=_0x194424,this[_0x50a35b(0x1c7)]=_0xf1c24b,this[_0x50a35b(0x41b)]=_0x6c937,this[_0x50a35b(0x3fe)]();}[_0x4ac54c(0x3fe)](){var _0x34f1fc=_0x4ac54c;this[_0x34f1fc(0x1c7)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x1806a1,_0x5559b2)=>_0x5559b2(_0x1806a1)['pipe'](_0x451db9(async _0x95b2b0=>{var _0x17f197=_0x34f1fc;const _0x5417d2=_0x95b2b0;if(_0x5417d2[_0x17f197(0x2be)]===0x191){if(typeof window>'u')throw new Error(_0x17f197(0x204));if(window['confirm'](this[_0x17f197(0x41b)]['t']('auth.needGotoLoginAlert'))){const _0x3e136b=window[_0x17f197(0x32b)](window['location'][_0x17f197(0x4bf)]);window[_0x17f197(0x2a4)][_0x17f197(0x4bf)]=this[_0x17f197(0x3b2)]()+'?url='+_0x3e136b;}}return _0x5417d2;}))});}['_getLoginPath'](){var _0x108d35=_0x4ac54c,_0x33462e;const _0x3cc843=this[_0x108d35(0x1c5)]['getConfig'](K);return(_0x33462e=_0x3cc843==null?void 0x0:_0x3cc843['loginUrlKey'])!=null?_0x33462e:Rs;}};rt=sn([dt(0x0,_0x5c33eb),dt(0x1,_0x22f569(_0x42880f)),dt(0x2,_0x22f569(_0xe6f6cb))],rt);var nn=Object[_0x4ac54c(0x45f)],rn=(_0x323e8f,_0x3a835c,_0xb0d3c5,_0x511ab1)=>{var _0x1d96d8=_0x4ac54c;for(var _0x1578ce=_0x511ab1>0x1?void 0x0:_0x511ab1?nn(_0x3a835c,_0xb0d3c5):_0x3a835c,_0x3b20ba=_0x323e8f[_0x1d96d8(0x413)]-0x1,_0x42c715;_0x3b20ba>=0x0;_0x3b20ba--)(_0x42c715=_0x323e8f[_0x3b20ba])&&(_0x1578ce=_0x42c715(_0x1578ce)||_0x1578ce);return _0x1578ce;},Kt=(_0x74b85f,_0x4ce0da)=>(_0x56d25e,_0x529214)=>_0x4ce0da(_0x56d25e,_0x529214,_0x74b85f);const an='/universer-api/authz';let Tt=class extends _0x544480{constructor(_0x553c4e,_0x475b39){super(),this['_HTTPService']=_0x553c4e,this['_configService']=_0x475b39,this['_initMergeInterceptor']();}[_0x4ac54c(0x3d1)](){var _0x47adce=_0x4ac54c;const _0x1593ad=this;this['disposeWithMe'](this[_0x47adce(0x350)][_0x47adce(0x3f7)]({'priority':0x3e7,'interceptor':_0x1d0bac({'isMatch'(_0x266619){var _0x5c4558=_0x47adce,_0xfb9791;if(_0x266619[_0x5c4558(0x39e)]===_0x5c4558(0x217)&&((_0xfb9791=_0x266619['requestParams'])!=null&&_0xfb9791[_0x5c4558(0x41c)])){const {objectID:_0x20e58a,objectType:_0xd28160}=_0x266619['requestParams']['body']||{};if(!_0x20e58a||_0xd28160===void 0x0)return!0x1;const _0x3b6231=_0x1593ad[_0x5c4558(0x2e9)]()+'/'+_0xd28160+_0x5c4558(0x2db)+_0x20e58a+_0x5c4558(0x304);if(_0x266619[_0x5c4558(0x479)]===_0x3b6231)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3713e5){var _0x54f0bb=_0x47adce,_0x54a283;return(_0x54a283=_0x3713e5[_0x54f0bb(0x1d3)])==null?void 0x0:_0x54a283[_0x54f0bb(0x41c)];},'mergeParamsToRequest'(_0x319243,_0x4c2936){var _0x232a61=_0x47adce;const _0x15e7f8=_0x1593ad[_0x232a61(0x2e9)]()+_0x232a61(0x3f2),_0x31cec1=_0x319243[_0x232a61(0x24a)]((_0x5b87a7,_0xfb3954)=>{var _0x381bae=_0x232a61;const {unitID:_0x2c4c50,objectID:_0x6762d3,objectType:_0x32e6dd,actions:_0x294818}=_0xfb3954;return _0x5b87a7[_0x2c4c50]||(_0x5b87a7[_0x2c4c50]={}),_0x5b87a7[_0x2c4c50][_0x6762d3]||(_0x5b87a7[_0x2c4c50][_0x6762d3]={'objectID':_0x6762d3,'objectType':_0x32e6dd,'actions':[]}),_0x5b87a7[_0x2c4c50][_0x6762d3][_0x381bae(0x42f)]['push'](..._0x294818),_0x5b87a7;},{}),_0x38ee71=[];for(const _0x4817e5 in _0x31cec1)for(const _0x86fe29 in _0x31cec1[_0x4817e5]){const {actions:_0x4e31ec,objectType:_0x15cf0c}=_0x31cec1[_0x4817e5][_0x86fe29],_0x2d1c90=[...new Set(_0x4e31ec)];_0x38ee71[_0x232a61(0x3d4)]({'unitID':_0x4817e5,'objectID':_0x86fe29,'objectType':_0x15cf0c,'actions':_0x2d1c90});}return new _0x50d246('POST',_0x15e7f8,{'headers':_0x4c2936[_0x232a61(0x22d)],'withCredentials':_0x4c2936[_0x232a61(0x293)],'responseType':_0x4c2936['responseType'],'body':{'requests':_0x38ee71}});}},{'distributeResult'(_0x4854a0,_0x413975){var _0x2e8332=_0x47adce;const {objectActions:_0x26c025}=_0x4854a0;return _0x413975[_0x2e8332(0x20f)](_0x5398bd=>{var _0x37fb18=_0x2e8332;const {unitID:_0x29417a,objectID:_0x362fa4,actions:_0x197cef}=_0x5398bd,_0x402cd5=_0x26c025[_0x37fb18(0x4be)](_0x4ff97c=>_0x4ff97c['unitID']===_0x29417a&&_0x4ff97c[_0x37fb18(0x2a6)]===_0x362fa4),_0x4de88d=_0x197cef['map'](_0x30fdc0=>_0x402cd5==null?void 0x0:_0x402cd5[_0x37fb18(0x42f)]['find'](_0xbd1054=>_0xbd1054[_0x37fb18(0x1d6)]===_0x30fdc0))[_0x37fb18(0x393)](_0x5d9c91=>!!_0x5d9c91);return{'config':_0x5398bd,'result':{'actions':_0x4de88d,'error':_0x4854a0[_0x37fb18(0x1d1)]}};});}})}));}[_0x4ac54c(0x2e9)](){var _0x58c925=_0x4ac54c,_0xf3a156;const _0x1643b1=this[_0x58c925(0x1c5)][_0x58c925(0x230)](K);return(_0xf3a156=_0x1643b1==null?void 0x0:_0x1643b1[_0x58c925(0x3b4)])!=null?_0xf3a156:an;}async[_0x4ac54c(0x3c5)](_0x5d3ba8){var _0x5ed3ca=_0x4ac54c;const _0x4e7a4f=this[_0x5ed3ca(0x2e9)]()+'/'+_0x5d3ba8[_0x5ed3ca(0x322)]+_0x5ed3ca(0x437);return(await this['_HTTPService']['post'](_0x4e7a4f,{'body':_0x5d3ba8}))[_0x5ed3ca(0x41c)]['objectID']||'';}async[_0x4ac54c(0x2aa)](_0x30ba3b){var _0x1d32ab=_0x4ac54c;const _0x468f43=this[_0x1d32ab(0x2e9)]()+_0x1d32ab(0x48c);return(await this['_HTTPService'][_0x1d32ab(0x2d7)](_0x468f43,{'body':_0x30ba3b}))[_0x1d32ab(0x41c)][_0x1d32ab(0x45c)];}async['update'](_0x4fa9ff){var _0x20babb=_0x4ac54c,_0x13dee6,_0x312a81;const _0x3c635f=this[_0x20babb(0x2e9)]()+'/'+_0x4fa9ff['objectType']+_0x20babb(0x2db)+_0x4fa9ff['objectID'],_0x1dcccd=await this[_0x20babb(0x350)]['put'](_0x3c635f,{'body':_0x4fa9ff});if(((_0x312a81=(_0x13dee6=_0x1dcccd==null?void 0x0:_0x1dcccd['body'])==null?void 0x0:_0x13dee6[_0x20babb(0x1d1)])==null?void 0x0:_0x312a81[_0x20babb(0x49f)])!==0x1)throw new Error(_0x20babb(0x1ec));}async['allowed'](_0x5d919a){var _0x542c71=_0x4ac54c;const _0x3a5565=this[_0x542c71(0x2e9)]()+'/'+_0x5d919a[_0x542c71(0x322)]+_0x542c71(0x2db)+_0x5d919a[_0x542c71(0x2a6)]+_0x542c71(0x304);return(await this['_HTTPService'][_0x542c71(0x2d7)](_0x3a5565,{'body':_0x5d919a}))[_0x542c71(0x41c)][_0x542c71(0x42f)];}async[_0x4ac54c(0x402)](_0x345880){var _0xeafebd=_0x4ac54c;const _0x3c1e38=this[_0xeafebd(0x2e9)]()+_0xeafebd(0x3f2);return(await this['_HTTPService'][_0xeafebd(0x2d7)](_0x3c1e38,{'body':{'requests':_0x345880}}))[_0xeafebd(0x41c)][_0xeafebd(0x2e8)];}async[_0x4ac54c(0x395)](_0x32bdd6){var _0x4baa43=_0x4ac54c;const _0x123999=this[_0x4baa43(0x2e9)]()+'/'+_0x32bdd6[_0x4baa43(0x322)]+_0x4baa43(0x1fd),_0x5ca4b7=await this['_HTTPService']['post'](_0x123999,{'body':_0x32bdd6});return{'roles':_0x5ca4b7[_0x4baa43(0x41c)][_0x4baa43(0x242)],'actions':_0x5ca4b7['body'][_0x4baa43(0x42f)]};}async[_0x4ac54c(0x1f5)](_0x211ad9){var _0x2fda43=_0x4ac54c;const _0x223113=this[_0x2fda43(0x2e9)]()+_0x2fda43(0x227);await this[_0x2fda43(0x350)][_0x2fda43(0x401)](_0x223113,{'params':{'collaboratorID':_0x211ad9[_0x2fda43(0x344)],'objectID':_0x211ad9[_0x2fda43(0x2a6)],'unitID':_0x211ad9[_0x2fda43(0x23b)]}});}async[_0x4ac54c(0x33a)](_0x41e08b){var _0x46864d=_0x4ac54c;const _0x24f837=this[_0x46864d(0x2e9)]()+_0x46864d(0x227);await this[_0x46864d(0x350)]['patch'](_0x24f837,{'body':_0x41e08b});}async[_0x4ac54c(0x380)](_0x10278e){var _0x3d6fa2=_0x4ac54c;const _0x4d7bf9=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x3d6fa2(0x350)][_0x3d6fa2(0x2d7)](_0x4d7bf9,{'body':_0x10278e});}async[_0x4ac54c(0x3cc)](_0x1116e9){var _0x3a8962=_0x4ac54c;const _0x1ba344=this[_0x3a8962(0x2e9)]()+_0x3a8962(0x227);return(await this[_0x3a8962(0x350)][_0x3a8962(0x307)](_0x1ba344,{'params':{'objectID':_0x1116e9['objectID'],'unitID':_0x1116e9['unitID']}}))[_0x3a8962(0x41c)][_0x3a8962(0x45d)];}async[_0x4ac54c(0x1dd)](_0x507c8b){var _0xbf3a80=_0x4ac54c;const _0x2cb6e6=this[_0xbf3a80(0x2e9)]()+_0xbf3a80(0x227);await this[_0xbf3a80(0x350)][_0xbf3a80(0x443)](_0x2cb6e6,{'body':_0x507c8b});}};Tt=rn([Kt(0x0,_0x22f569(_0x42880f)),Kt(0x1,_0x22f569(_0x5c33eb))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x57ac63){var _0xff8a7c=_0x4ac54c;return _0x57ac63&&_0x57ac63[_0xff8a7c(0x1e8)]&&Object[_0xff8a7c(0x296)][_0xff8a7c(0x1e9)][_0xff8a7c(0x2c5)](_0x57ac63,_0xff8a7c(0x42e))?_0x57ac63[_0xff8a7c(0x42e)]:_0x57ac63;}var Ve={'exports':{}};function on(_0x24d4d4){var _0x28b266=_0x4ac54c;throw new Error(_0x28b266(0x25f)+_0x24d4d4+_0x28b266(0x410));}var We={'exports':{}},cn=We['exports'],qt;function te(){var _0xc01cc9=_0x4ac54c;return qt||(qt=0x1,function(_0x3118d6,_0x2c5321){(function(_0x574a72,_0x591fac){var _0x120b5f=_0x6f14;_0x3118d6[_0x120b5f(0x2df)]=_0x591fac();}(cn,function(){var _0x4b526c=_0x4b526c||function(_0x25163e,_0x1095e7){var _0x24dcc4=_0x6f14,_0x31b8a8;if(typeof window<'u'&&window[_0x24dcc4(0x3aa)]&&(_0x31b8a8=window[_0x24dcc4(0x3aa)]),typeof self<'u'&&self['crypto']&&(_0x31b8a8=self['crypto']),typeof globalThis<'u'&&globalThis[_0x24dcc4(0x3aa)]&&(_0x31b8a8=globalThis[_0x24dcc4(0x3aa)]),!_0x31b8a8&&typeof window<'u'&&window[_0x24dcc4(0x1e1)]&&(_0x31b8a8=window[_0x24dcc4(0x1e1)]),!_0x31b8a8&&typeof ft<'u'&&ft['crypto']&&(_0x31b8a8=ft[_0x24dcc4(0x3aa)]),!_0x31b8a8&&typeof on==_0x24dcc4(0x31d))try{_0x31b8a8=require('crypto');}catch{}var _0x10459f=function(){var _0x3d53a8=_0x24dcc4;if(_0x31b8a8){if(typeof _0x31b8a8[_0x3d53a8(0x32e)]==_0x3d53a8(0x31d))try{return _0x31b8a8[_0x3d53a8(0x32e)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x31b8a8[_0x3d53a8(0x38c)]=='function')try{return _0x31b8a8[_0x3d53a8(0x38c)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3ad3aa=Object['create']||(function(){function _0x36df6e(){}return function(_0x4f0dfa){var _0x3b5220=_0x6f14,_0x2f217f;return _0x36df6e[_0x3b5220(0x296)]=_0x4f0dfa,_0x2f217f=new _0x36df6e(),_0x36df6e['prototype']=null,_0x2f217f;};}()),_0x5d6643={},_0xb204f4=_0x5d6643['lib']={},_0x4abd15=_0xb204f4[_0x24dcc4(0x468)]=(function(){return{'extend':function(_0xba927){var _0x2bbbac=_0x6f14,_0x14f6f1=_0x3ad3aa(this);return _0xba927&&_0x14f6f1['mixIn'](_0xba927),(!_0x14f6f1[_0x2bbbac(0x1e9)](_0x2bbbac(0x3fe))||this[_0x2bbbac(0x3fe)]===_0x14f6f1['init'])&&(_0x14f6f1[_0x2bbbac(0x3fe)]=function(){var _0x3f627c=_0x2bbbac;_0x14f6f1[_0x3f627c(0x228)][_0x3f627c(0x3fe)][_0x3f627c(0x332)](this,arguments);}),_0x14f6f1[_0x2bbbac(0x3fe)][_0x2bbbac(0x296)]=_0x14f6f1,_0x14f6f1['$super']=this,_0x14f6f1;},'create':function(){var _0x321ffc=_0x6f14,_0x5dcf02=this['extend']();return _0x5dcf02[_0x321ffc(0x3fe)][_0x321ffc(0x332)](_0x5dcf02,arguments),_0x5dcf02;},'init':function(){},'mixIn':function(_0x5a36f1){var _0x47d34b=_0x6f14;for(var _0x16d672 in _0x5a36f1)_0x5a36f1[_0x47d34b(0x1e9)](_0x16d672)&&(this[_0x16d672]=_0x5a36f1[_0x16d672]);_0x5a36f1[_0x47d34b(0x1e9)]('toString')&&(this[_0x47d34b(0x337)]=_0x5a36f1['toString']);},'clone':function(){var _0x335899=_0x6f14;return this[_0x335899(0x3fe)]['prototype'][_0x335899(0x48a)](this);}};}()),_0x204b2c=_0xb204f4['WordArray']=_0x4abd15[_0x24dcc4(0x48a)]({'init':function(_0x32cdb6,_0x16ca79){var _0x444e61=_0x24dcc4;_0x32cdb6=this[_0x444e61(0x3fd)]=_0x32cdb6||[],_0x16ca79!=_0x1095e7?this[_0x444e61(0x34b)]=_0x16ca79:this['sigBytes']=_0x32cdb6[_0x444e61(0x413)]*0x4;},'toString':function(_0x34f2f9){var _0x2aba60=_0x24dcc4;return(_0x34f2f9||_0x153836)[_0x2aba60(0x31c)](this);},'concat':function(_0x145f97){var _0x5a3fcb=_0x24dcc4,_0x44dc43=this[_0x5a3fcb(0x3fd)],_0x1ddbfa=_0x145f97[_0x5a3fcb(0x3fd)],_0x3561d3=this[_0x5a3fcb(0x34b)],_0x31818d=_0x145f97[_0x5a3fcb(0x34b)];if(this['clamp'](),_0x3561d3%0x4)for(var _0xe88270=0x0;_0xe88270<_0x31818d;_0xe88270++){var _0x286e5d=_0x1ddbfa[_0xe88270>>>0x2]>>>0x18-_0xe88270%0x4*0x8&0xff;_0x44dc43[_0x3561d3+_0xe88270>>>0x2]|=_0x286e5d<<0x18-(_0x3561d3+_0xe88270)%0x4*0x8;}else{for(var _0x1925a5=0x0;_0x1925a5<_0x31818d;_0x1925a5+=0x4)_0x44dc43[_0x3561d3+_0x1925a5>>>0x2]=_0x1ddbfa[_0x1925a5>>>0x2];}return this[_0x5a3fcb(0x34b)]+=_0x31818d,this;},'clamp':function(){var _0x197b41=_0x24dcc4,_0x36bee6=this[_0x197b41(0x3fd)],_0x1aba73=this[_0x197b41(0x34b)];_0x36bee6[_0x1aba73>>>0x2]&=0xffffffff<<0x20-_0x1aba73%0x4*0x8,_0x36bee6[_0x197b41(0x413)]=_0x25163e[_0x197b41(0x1c1)](_0x1aba73/0x4);},'clone':function(){var _0x3a86f0=_0x24dcc4,_0x5071d6=_0x4abd15[_0x3a86f0(0x494)]['call'](this);return _0x5071d6[_0x3a86f0(0x3fd)]=this['words'][_0x3a86f0(0x33b)](0x0),_0x5071d6;},'random':function(_0x6909f8){var _0x45acc7=_0x24dcc4;for(var _0x1c78d0=[],_0x42c25a=0x0;_0x42c25a<_0x6909f8;_0x42c25a+=0x4)_0x1c78d0['push'](_0x10459f());return new _0x204b2c[(_0x45acc7(0x3fe))](_0x1c78d0,_0x6909f8);}}),_0x4c5cb1=_0x5d6643[_0x24dcc4(0x2ff)]={},_0x153836=_0x4c5cb1['Hex']={'stringify':function(_0x22efad){var _0xed7b48=_0x24dcc4;for(var _0x5996f4=_0x22efad[_0xed7b48(0x3fd)],_0x48acb0=_0x22efad[_0xed7b48(0x34b)],_0x355cd9=[],_0x16f149=0x0;_0x16f149<_0x48acb0;_0x16f149++){var _0x2af421=_0x5996f4[_0x16f149>>>0x2]>>>0x18-_0x16f149%0x4*0x8&0xff;_0x355cd9[_0xed7b48(0x3d4)]((_0x2af421>>>0x4)[_0xed7b48(0x337)](0x10)),_0x355cd9[_0xed7b48(0x3d4)]((_0x2af421&0xf)[_0xed7b48(0x337)](0x10));}return _0x355cd9[_0xed7b48(0x272)]('');},'parse':function(_0x10b315){var _0x373cde=_0x24dcc4;for(var _0x11bb31=_0x10b315[_0x373cde(0x413)],_0x159144=[],_0x1a102b=0x0;_0x1a102b<_0x11bb31;_0x1a102b+=0x2)_0x159144[_0x1a102b>>>0x3]|=parseInt(_0x10b315[_0x373cde(0x1cd)](_0x1a102b,0x2),0x10)<<0x18-_0x1a102b%0x8*0x4;return new _0x204b2c[(_0x373cde(0x3fe))](_0x159144,_0x11bb31/0x2);}},_0x386466=_0x4c5cb1[_0x24dcc4(0x1b9)]={'stringify':function(_0x5d898c){var _0x13ea09=_0x24dcc4;for(var _0x227e88=_0x5d898c[_0x13ea09(0x3fd)],_0x566ed6=_0x5d898c['sigBytes'],_0x3d5fcf=[],_0xf9efff=0x0;_0xf9efff<_0x566ed6;_0xf9efff++){var _0x17fc77=_0x227e88[_0xf9efff>>>0x2]>>>0x18-_0xf9efff%0x4*0x8&0xff;_0x3d5fcf[_0x13ea09(0x3d4)](String[_0x13ea09(0x4a4)](_0x17fc77));}return _0x3d5fcf[_0x13ea09(0x272)]('');},'parse':function(_0x19a01d){var _0x536fb5=_0x24dcc4;for(var _0x9f4616=_0x19a01d['length'],_0x4cef5e=[],_0x2e23cc=0x0;_0x2e23cc<_0x9f4616;_0x2e23cc++)_0x4cef5e[_0x2e23cc>>>0x2]|=(_0x19a01d[_0x536fb5(0x1ea)](_0x2e23cc)&0xff)<<0x18-_0x2e23cc%0x4*0x8;return new _0x204b2c[(_0x536fb5(0x3fe))](_0x4cef5e,_0x9f4616);}},_0x30cb9f=_0x4c5cb1['Utf8']={'stringify':function(_0x1007fb){var _0x14f51d=_0x24dcc4;try{return decodeURIComponent(escape(_0x386466[_0x14f51d(0x31c)](_0x1007fb)));}catch{throw new Error(_0x14f51d(0x2b7));}},'parse':function(_0x3732d7){return _0x386466['parse'](unescape(encodeURIComponent(_0x3732d7)));}},_0x27f869=_0xb204f4[_0x24dcc4(0x4b4)]=_0x4abd15['extend']({'reset':function(){var _0x2e07c9=_0x24dcc4;this[_0x2e07c9(0x2fc)]=new _0x204b2c['init'](),this[_0x2e07c9(0x353)]=0x0;},'_append':function(_0x190298){var _0x45e850=_0x24dcc4;typeof _0x190298==_0x45e850(0x25d)&&(_0x190298=_0x30cb9f[_0x45e850(0x1f7)](_0x190298)),this[_0x45e850(0x2fc)]['concat'](_0x190298),this[_0x45e850(0x353)]+=_0x190298[_0x45e850(0x34b)];},'_process':function(_0x3fa86e){var _0x1d0fd6=_0x24dcc4,_0x2ba498,_0x1bb464=this[_0x1d0fd6(0x2fc)],_0xd7f433=_0x1bb464[_0x1d0fd6(0x3fd)],_0x2767d5=_0x1bb464[_0x1d0fd6(0x34b)],_0x4308ac=this[_0x1d0fd6(0x47d)],_0x137c69=_0x4308ac*0x4,_0x4b0a28=_0x2767d5/_0x137c69;_0x3fa86e?_0x4b0a28=_0x25163e[_0x1d0fd6(0x1c1)](_0x4b0a28):_0x4b0a28=_0x25163e[_0x1d0fd6(0x2f9)]((_0x4b0a28|0x0)-this[_0x1d0fd6(0x39a)],0x0);var _0x20a689=_0x4b0a28*_0x4308ac,_0x56a489=_0x25163e['min'](_0x20a689*0x4,_0x2767d5);if(_0x20a689){for(var _0x594853=0x0;_0x594853<_0x20a689;_0x594853+=_0x4308ac)this[_0x1d0fd6(0x3d3)](_0xd7f433,_0x594853);_0x2ba498=_0xd7f433[_0x1d0fd6(0x359)](0x0,_0x20a689),_0x1bb464[_0x1d0fd6(0x34b)]-=_0x56a489;}return new _0x204b2c[(_0x1d0fd6(0x3fe))](_0x2ba498,_0x56a489);},'clone':function(){var _0x1d2a2b=_0x24dcc4,_0x52b446=_0x4abd15[_0x1d2a2b(0x494)][_0x1d2a2b(0x2c5)](this);return _0x52b446[_0x1d2a2b(0x2fc)]=this[_0x1d2a2b(0x2fc)][_0x1d2a2b(0x494)](),_0x52b446;},'_minBufferSize':0x0});_0xb204f4[_0x24dcc4(0x22a)]=_0x27f869[_0x24dcc4(0x48a)]({'cfg':_0x4abd15['extend'](),'init':function(_0x495743){var _0x4ec455=_0x24dcc4;this[_0x4ec455(0x261)]=this[_0x4ec455(0x261)][_0x4ec455(0x48a)](_0x495743),this[_0x4ec455(0x1c4)]();},'reset':function(){var _0x42a9b8=_0x24dcc4;_0x27f869['reset'][_0x42a9b8(0x2c5)](this),this['_doReset']();},'update':function(_0x3200){var _0x30d42f=_0x24dcc4;return this[_0x30d42f(0x224)](_0x3200),this[_0x30d42f(0x34a)](),this;},'finalize':function(_0x17e225){var _0xf0ab3d=_0x24dcc4;_0x17e225&&this[_0xf0ab3d(0x224)](_0x17e225);var _0x23cb80=this['_doFinalize']();return _0x23cb80;},'blockSize':0x10,'_createHelper':function(_0x486fbc){return function(_0x34487a,_0x25d92d){var _0x1449ef=_0x6f14;return new _0x486fbc[(_0x1449ef(0x3fe))](_0x25d92d)['finalize'](_0x34487a);};},'_createHmacHelper':function(_0x17e391){return function(_0x2e1710,_0x2d425f){var _0x417fa4=_0x6f14;return new _0x1f7df2[(_0x417fa4(0x29e))]['init'](_0x17e391,_0x2d425f)['finalize'](_0x2e1710);};}});var _0x1f7df2=_0x5d6643[_0x24dcc4(0x35c)]={};return _0x5d6643;}(Math);return _0x4b526c;}));}(We)),We[_0xc01cc9(0x2df)];}var Ge={'exports':{}},hn=Ge[_0x4ac54c(0x2df)],zt;function Ri(){var _0x2a69c3=_0x4ac54c;return zt||(zt=0x1,function(_0x3ab3ca,_0x4aa2ca){(function(_0x5d75e3,_0xcd82bc){var _0x414fd1=_0x6f14;_0x3ab3ca[_0x414fd1(0x2df)]=_0xcd82bc(te());}(hn,function(_0x33853e){var _0x126af3=_0x6f14;return(function(){var _0x1e0a47=_0x6f14,_0x1244e9=_0x33853e,_0xe25834=_0x1244e9['lib'],_0x27b51d=_0xe25834[_0x1e0a47(0x46f)],_0x527062=_0x1244e9[_0x1e0a47(0x2ff)];_0x527062['Base64']={'stringify':function(_0x12cb14){var _0x379909=_0x1e0a47,_0x462b01=_0x12cb14['words'],_0x22d553=_0x12cb14[_0x379909(0x34b)],_0x13de70=this[_0x379909(0x1c3)];_0x12cb14[_0x379909(0x46e)]();for(var _0x5ab232=[],_0x358941=0x0;_0x358941<_0x22d553;_0x358941+=0x3)for(var _0x250fde=_0x462b01[_0x358941>>>0x2]>>>0x18-_0x358941%0x4*0x8&0xff,_0x2f0231=_0x462b01[_0x358941+0x1>>>0x2]>>>0x18-(_0x358941+0x1)%0x4*0x8&0xff,_0x3687aa=_0x462b01[_0x358941+0x2>>>0x2]>>>0x18-(_0x358941+0x2)%0x4*0x8&0xff,_0x4fc52f=_0x250fde<<0x10|_0x2f0231<<0x8|_0x3687aa,_0x914c5c=0x0;_0x914c5c<0x4&&_0x358941+_0x914c5c*0.75<_0x22d553;_0x914c5c++)_0x5ab232[_0x379909(0x3d4)](_0x13de70['charAt'](_0x4fc52f>>>0x6*(0x3-_0x914c5c)&0x3f));var _0x446cad=_0x13de70[_0x379909(0x2d6)](0x40);if(_0x446cad){for(;_0x5ab232[_0x379909(0x413)]%0x4;)_0x5ab232[_0x379909(0x3d4)](_0x446cad);}return _0x5ab232['join']('');},'parse':function(_0x1f2c7d){var _0xe75742=_0x1e0a47,_0x15f5f6=_0x1f2c7d[_0xe75742(0x413)],_0x3ef436=this[_0xe75742(0x1c3)],_0x4f91f2=this[_0xe75742(0x317)];if(!_0x4f91f2){_0x4f91f2=this[_0xe75742(0x317)]=[];for(var _0x1a4e12=0x0;_0x1a4e12<_0x3ef436[_0xe75742(0x413)];_0x1a4e12++)_0x4f91f2[_0x3ef436[_0xe75742(0x1ea)](_0x1a4e12)]=_0x1a4e12;}var _0x99cb01=_0x3ef436[_0xe75742(0x2d6)](0x40);if(_0x99cb01){var _0x5ed140=_0x1f2c7d[_0xe75742(0x240)](_0x99cb01);_0x5ed140!==-0x1&&(_0x15f5f6=_0x5ed140);}return _0x4720ba(_0x1f2c7d,_0x15f5f6,_0x4f91f2);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x4720ba(_0x451cb5,_0x291996,_0x23be18){var _0x5c2ea0=_0x1e0a47;for(var _0x5e44f3=[],_0x29a073=0x0,_0x4ce6b8=0x0;_0x4ce6b8<_0x291996;_0x4ce6b8++)if(_0x4ce6b8%0x4){var _0x5c56a3=_0x23be18[_0x451cb5[_0x5c2ea0(0x1ea)](_0x4ce6b8-0x1)]<<_0x4ce6b8%0x4*0x2,_0x4307d2=_0x23be18[_0x451cb5['charCodeAt'](_0x4ce6b8)]>>>0x6-_0x4ce6b8%0x4*0x2,_0x59d7f4=_0x5c56a3|_0x4307d2;_0x5e44f3[_0x29a073>>>0x2]|=_0x59d7f4<<0x18-_0x29a073%0x4*0x8,_0x29a073++;}return _0x27b51d[_0x5c2ea0(0x3c5)](_0x5e44f3,_0x29a073);}}()),_0x33853e['enc'][_0x126af3(0x3f4)];}));}(Ge)),Ge[_0x2a69c3(0x2df)];}var Ye={'exports':{}},_n=Ye[_0x4ac54c(0x2df)],Jt;function ln(){var _0x5b8069=_0x4ac54c;return Jt||(Jt=0x1,function(_0x1c8535,_0x118693){(function(_0x3561ed,_0x3f5920){var _0x285125=_0x6f14;_0x1c8535[_0x285125(0x2df)]=_0x3f5920(te());}(_n,function(_0x3c725d){var _0x5eaeb8=_0x6f14;return function(_0xda3914){var _0xcfd08f=_0x6f14,_0x58007e=_0x3c725d,_0x44f2a3=_0x58007e['lib'],_0x3abd1d=_0x44f2a3['WordArray'],_0x32cd61=_0x44f2a3[_0xcfd08f(0x22a)],_0x27cd21=_0x58007e['algo'],_0x155f27=[];(function(){var _0x5c8534=_0xcfd08f;for(var _0x4cc025=0x0;_0x4cc025<0x40;_0x4cc025++)_0x155f27[_0x4cc025]=_0xda3914[_0x5c8534(0x3f3)](_0xda3914['sin'](_0x4cc025+0x1))*0x100000000|0x0;}());var _0x4ee79b=_0x27cd21[_0xcfd08f(0x342)]=_0x32cd61[_0xcfd08f(0x48a)]({'_doReset':function(){var _0x1bc1eb=_0xcfd08f;this[_0x1bc1eb(0x283)]=new _0x3abd1d[(_0x1bc1eb(0x3fe))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1fe61a,_0x226158){var _0x10cdd8=_0xcfd08f;for(var _0x4b0cf7=0x0;_0x4b0cf7<0x10;_0x4b0cf7++){var _0x5bd021=_0x226158+_0x4b0cf7,_0x362ad1=_0x1fe61a[_0x5bd021];_0x1fe61a[_0x5bd021]=(_0x362ad1<<0x8|_0x362ad1>>>0x18)&0xff00ff|(_0x362ad1<<0x18|_0x362ad1>>>0x8)&0xff00ff00;}var _0x358ed8=this[_0x10cdd8(0x283)][_0x10cdd8(0x3fd)],_0x521690=_0x1fe61a[_0x226158+0x0],_0x35e2c6=_0x1fe61a[_0x226158+0x1],_0x9db16a=_0x1fe61a[_0x226158+0x2],_0x5bf3d6=_0x1fe61a[_0x226158+0x3],_0x18c50f=_0x1fe61a[_0x226158+0x4],_0x1c0622=_0x1fe61a[_0x226158+0x5],_0x1af588=_0x1fe61a[_0x226158+0x6],_0x3209d7=_0x1fe61a[_0x226158+0x7],_0x4ea9f6=_0x1fe61a[_0x226158+0x8],_0x16c253=_0x1fe61a[_0x226158+0x9],_0x4fe853=_0x1fe61a[_0x226158+0xa],_0x3b4c8b=_0x1fe61a[_0x226158+0xb],_0x3dd756=_0x1fe61a[_0x226158+0xc],_0x9cea63=_0x1fe61a[_0x226158+0xd],_0x4b8536=_0x1fe61a[_0x226158+0xe],_0x46469b=_0x1fe61a[_0x226158+0xf],_0x20e5ac=_0x358ed8[0x0],_0x1faf8b=_0x358ed8[0x1],_0x582b19=_0x358ed8[0x2],_0x450c9b=_0x358ed8[0x3];_0x20e5ac=_0x47303c(_0x20e5ac,_0x1faf8b,_0x582b19,_0x450c9b,_0x521690,0x7,_0x155f27[0x0]),_0x450c9b=_0x47303c(_0x450c9b,_0x20e5ac,_0x1faf8b,_0x582b19,_0x35e2c6,0xc,_0x155f27[0x1]),_0x582b19=_0x47303c(_0x582b19,_0x450c9b,_0x20e5ac,_0x1faf8b,_0x9db16a,0x11,_0x155f27[0x2]),_0x1faf8b=_0x47303c(_0x1faf8b,_0x582b19,_0x450c9b,_0x20e5ac,_0x5bf3d6,0x16,_0x155f27[0x3]),_0x20e5ac=_0x47303c(_0x20e5ac,_0x1faf8b,_0x582b19,_0x450c9b,_0x18c50f,0x7,_0x155f27[0x4]),_0x450c9b=_0x47303c(_0x450c9b,_0x20e5ac,_0x1faf8b,_0x582b19,_0x1c0622,0xc,_0x155f27[0x5]),_0x582b19=_0x47303c(_0x582b19,_0x450c9b,_0x20e5ac,_0x1faf8b,_0x1af588,0x11,_0x155f27[0x6]),_0x1faf8b=_0x47303c(_0x1faf8b,_0x582b19,_0x450c9b,_0x20e5ac,_0x3209d7,0x16,_0x155f27[0x7]),_0x20e5ac=_0x47303c(_0x20e5ac,_0x1faf8b,_0x582b19,_0x450c9b,_0x4ea9f6,0x7,_0x155f27[0x8]),_0x450c9b=_0x47303c(_0x450c9b,_0x20e5ac,_0x1faf8b,_0x582b19,_0x16c253,0xc,_0x155f27[0x9]),_0x582b19=_0x47303c(_0x582b19,_0x450c9b,_0x20e5ac,_0x1faf8b,_0x4fe853,0x11,_0x155f27[0xa]),_0x1faf8b=_0x47303c(_0x1faf8b,_0x582b19,_0x450c9b,_0x20e5ac,_0x3b4c8b,0x16,_0x155f27[0xb]),_0x20e5ac=_0x47303c(_0x20e5ac,_0x1faf8b,_0x582b19,_0x450c9b,_0x3dd756,0x7,_0x155f27[0xc]),_0x450c9b=_0x47303c(_0x450c9b,_0x20e5ac,_0x1faf8b,_0x582b19,_0x9cea63,0xc,_0x155f27[0xd]),_0x582b19=_0x47303c(_0x582b19,_0x450c9b,_0x20e5ac,_0x1faf8b,_0x4b8536,0x11,_0x155f27[0xe]),_0x1faf8b=_0x47303c(_0x1faf8b,_0x582b19,_0x450c9b,_0x20e5ac,_0x46469b,0x16,_0x155f27[0xf]),_0x20e5ac=_0x161dc3(_0x20e5ac,_0x1faf8b,_0x582b19,_0x450c9b,_0x35e2c6,0x5,_0x155f27[0x10]),_0x450c9b=_0x161dc3(_0x450c9b,_0x20e5ac,_0x1faf8b,_0x582b19,_0x1af588,0x9,_0x155f27[0x11]),_0x582b19=_0x161dc3(_0x582b19,_0x450c9b,_0x20e5ac,_0x1faf8b,_0x3b4c8b,0xe,_0x155f27[0x12]),_0x1faf8b=_0x161dc3(_0x1faf8b,_0x582b19,_0x450c9b,_0x20e5ac,_0x521690,0x14,_0x155f27[0x13]),_0x20e5ac=_0x161dc3(_0x20e5ac,_0x1faf8b,_0x582b19,_0x450c9b,_0x1c0622,0x5,_0x155f27[0x14]),_0x450c9b=_0x161dc3(_0x450c9b,_0x20e5ac,_0x1faf8b,_0x582b19,_0x4fe853,0x9,_0x155f27[0x15]),_0x582b19=_0x161dc3(_0x582b19,_0x450c9b,_0x20e5ac,_0x1faf8b,_0x46469b,0xe,_0x155f27[0x16]),_0x1faf8b=_0x161dc3(_0x1faf8b,_0x582b19,_0x450c9b,_0x20e5ac,_0x18c50f,0x14,_0x155f27[0x17]),_0x20e5ac=_0x161dc3(_0x20e5ac,_0x1faf8b,_0x582b19,_0x450c9b,_0x16c253,0x5,_0x155f27[0x18]),_0x450c9b=_0x161dc3(_0x450c9b,_0x20e5ac,_0x1faf8b,_0x582b19,_0x4b8536,0x9,_0x155f27[0x19]),_0x582b19=_0x161dc3(_0x582b19,_0x450c9b,_0x20e5ac,_0x1faf8b,_0x5bf3d6,0xe,_0x155f27[0x1a]),_0x1faf8b=_0x161dc3(_0x1faf8b,_0x582b19,_0x450c9b,_0x20e5ac,_0x4ea9f6,0x14,_0x155f27[0x1b]),_0x20e5ac=_0x161dc3(_0x20e5ac,_0x1faf8b,_0x582b19,_0x450c9b,_0x9cea63,0x5,_0x155f27[0x1c]),_0x450c9b=_0x161dc3(_0x450c9b,_0x20e5ac,_0x1faf8b,_0x582b19,_0x9db16a,0x9,_0x155f27[0x1d]),_0x582b19=_0x161dc3(_0x582b19,_0x450c9b,_0x20e5ac,_0x1faf8b,_0x3209d7,0xe,_0x155f27[0x1e]),_0x1faf8b=_0x161dc3(_0x1faf8b,_0x582b19,_0x450c9b,_0x20e5ac,_0x3dd756,0x14,_0x155f27[0x1f]),_0x20e5ac=_0x404ee9(_0x20e5ac,_0x1faf8b,_0x582b19,_0x450c9b,_0x1c0622,0x4,_0x155f27[0x20]),_0x450c9b=_0x404ee9(_0x450c9b,_0x20e5ac,_0x1faf8b,_0x582b19,_0x4ea9f6,0xb,_0x155f27[0x21]),_0x582b19=_0x404ee9(_0x582b19,_0x450c9b,_0x20e5ac,_0x1faf8b,_0x3b4c8b,0x10,_0x155f27[0x22]),_0x1faf8b=_0x404ee9(_0x1faf8b,_0x582b19,_0x450c9b,_0x20e5ac,_0x4b8536,0x17,_0x155f27[0x23]),_0x20e5ac=_0x404ee9(_0x20e5ac,_0x1faf8b,_0x582b19,_0x450c9b,_0x35e2c6,0x4,_0x155f27[0x24]),_0x450c9b=_0x404ee9(_0x450c9b,_0x20e5ac,_0x1faf8b,_0x582b19,_0x18c50f,0xb,_0x155f27[0x25]),_0x582b19=_0x404ee9(_0x582b19,_0x450c9b,_0x20e5ac,_0x1faf8b,_0x3209d7,0x10,_0x155f27[0x26]),_0x1faf8b=_0x404ee9(_0x1faf8b,_0x582b19,_0x450c9b,_0x20e5ac,_0x4fe853,0x17,_0x155f27[0x27]),_0x20e5ac=_0x404ee9(_0x20e5ac,_0x1faf8b,_0x582b19,_0x450c9b,_0x9cea63,0x4,_0x155f27[0x28]),_0x450c9b=_0x404ee9(_0x450c9b,_0x20e5ac,_0x1faf8b,_0x582b19,_0x521690,0xb,_0x155f27[0x29]),_0x582b19=_0x404ee9(_0x582b19,_0x450c9b,_0x20e5ac,_0x1faf8b,_0x5bf3d6,0x10,_0x155f27[0x2a]),_0x1faf8b=_0x404ee9(_0x1faf8b,_0x582b19,_0x450c9b,_0x20e5ac,_0x1af588,0x17,_0x155f27[0x2b]),_0x20e5ac=_0x404ee9(_0x20e5ac,_0x1faf8b,_0x582b19,_0x450c9b,_0x16c253,0x4,_0x155f27[0x2c]),_0x450c9b=_0x404ee9(_0x450c9b,_0x20e5ac,_0x1faf8b,_0x582b19,_0x3dd756,0xb,_0x155f27[0x2d]),_0x582b19=_0x404ee9(_0x582b19,_0x450c9b,_0x20e5ac,_0x1faf8b,_0x46469b,0x10,_0x155f27[0x2e]),_0x1faf8b=_0x404ee9(_0x1faf8b,_0x582b19,_0x450c9b,_0x20e5ac,_0x9db16a,0x17,_0x155f27[0x2f]),_0x20e5ac=_0x6cb1a(_0x20e5ac,_0x1faf8b,_0x582b19,_0x450c9b,_0x521690,0x6,_0x155f27[0x30]),_0x450c9b=_0x6cb1a(_0x450c9b,_0x20e5ac,_0x1faf8b,_0x582b19,_0x3209d7,0xa,_0x155f27[0x31]),_0x582b19=_0x6cb1a(_0x582b19,_0x450c9b,_0x20e5ac,_0x1faf8b,_0x4b8536,0xf,_0x155f27[0x32]),_0x1faf8b=_0x6cb1a(_0x1faf8b,_0x582b19,_0x450c9b,_0x20e5ac,_0x1c0622,0x15,_0x155f27[0x33]),_0x20e5ac=_0x6cb1a(_0x20e5ac,_0x1faf8b,_0x582b19,_0x450c9b,_0x3dd756,0x6,_0x155f27[0x34]),_0x450c9b=_0x6cb1a(_0x450c9b,_0x20e5ac,_0x1faf8b,_0x582b19,_0x5bf3d6,0xa,_0x155f27[0x35]),_0x582b19=_0x6cb1a(_0x582b19,_0x450c9b,_0x20e5ac,_0x1faf8b,_0x4fe853,0xf,_0x155f27[0x36]),_0x1faf8b=_0x6cb1a(_0x1faf8b,_0x582b19,_0x450c9b,_0x20e5ac,_0x35e2c6,0x15,_0x155f27[0x37]),_0x20e5ac=_0x6cb1a(_0x20e5ac,_0x1faf8b,_0x582b19,_0x450c9b,_0x4ea9f6,0x6,_0x155f27[0x38]),_0x450c9b=_0x6cb1a(_0x450c9b,_0x20e5ac,_0x1faf8b,_0x582b19,_0x46469b,0xa,_0x155f27[0x39]),_0x582b19=_0x6cb1a(_0x582b19,_0x450c9b,_0x20e5ac,_0x1faf8b,_0x1af588,0xf,_0x155f27[0x3a]),_0x1faf8b=_0x6cb1a(_0x1faf8b,_0x582b19,_0x450c9b,_0x20e5ac,_0x9cea63,0x15,_0x155f27[0x3b]),_0x20e5ac=_0x6cb1a(_0x20e5ac,_0x1faf8b,_0x582b19,_0x450c9b,_0x18c50f,0x6,_0x155f27[0x3c]),_0x450c9b=_0x6cb1a(_0x450c9b,_0x20e5ac,_0x1faf8b,_0x582b19,_0x3b4c8b,0xa,_0x155f27[0x3d]),_0x582b19=_0x6cb1a(_0x582b19,_0x450c9b,_0x20e5ac,_0x1faf8b,_0x9db16a,0xf,_0x155f27[0x3e]),_0x1faf8b=_0x6cb1a(_0x1faf8b,_0x582b19,_0x450c9b,_0x20e5ac,_0x16c253,0x15,_0x155f27[0x3f]),_0x358ed8[0x0]=_0x358ed8[0x0]+_0x20e5ac|0x0,_0x358ed8[0x1]=_0x358ed8[0x1]+_0x1faf8b|0x0,_0x358ed8[0x2]=_0x358ed8[0x2]+_0x582b19|0x0,_0x358ed8[0x3]=_0x358ed8[0x3]+_0x450c9b|0x0;},'_doFinalize':function(){var _0x1d7d16=_0xcfd08f,_0x43c257=this['_data'],_0x4374c0=_0x43c257[_0x1d7d16(0x3fd)],_0x33be94=this[_0x1d7d16(0x353)]*0x8,_0x22d9dc=_0x43c257[_0x1d7d16(0x34b)]*0x8;_0x4374c0[_0x22d9dc>>>0x5]|=0x80<<0x18-_0x22d9dc%0x20;var _0x26fe5e=_0xda3914[_0x1d7d16(0x3b1)](_0x33be94/0x100000000),_0x529360=_0x33be94;_0x4374c0[(_0x22d9dc+0x40>>>0x9<<0x4)+0xf]=(_0x26fe5e<<0x8|_0x26fe5e>>>0x18)&0xff00ff|(_0x26fe5e<<0x18|_0x26fe5e>>>0x8)&0xff00ff00,_0x4374c0[(_0x22d9dc+0x40>>>0x9<<0x4)+0xe]=(_0x529360<<0x8|_0x529360>>>0x18)&0xff00ff|(_0x529360<<0x18|_0x529360>>>0x8)&0xff00ff00,_0x43c257[_0x1d7d16(0x34b)]=(_0x4374c0['length']+0x1)*0x4,this[_0x1d7d16(0x34a)]();for(var _0x14d5b6=this[_0x1d7d16(0x283)],_0x18dd87=_0x14d5b6[_0x1d7d16(0x3fd)],_0x3a85e4=0x0;_0x3a85e4<0x4;_0x3a85e4++){var _0x5cd0cb=_0x18dd87[_0x3a85e4];_0x18dd87[_0x3a85e4]=(_0x5cd0cb<<0x8|_0x5cd0cb>>>0x18)&0xff00ff|(_0x5cd0cb<<0x18|_0x5cd0cb>>>0x8)&0xff00ff00;}return _0x14d5b6;},'clone':function(){var _0x18025b=_0xcfd08f,_0x932b15=_0x32cd61[_0x18025b(0x494)][_0x18025b(0x2c5)](this);return _0x932b15['_hash']=this[_0x18025b(0x283)][_0x18025b(0x494)](),_0x932b15;}});function _0x47303c(_0x27d53d,_0x4dac55,_0x444d1d,_0x832103,_0x49c9a9,_0x3ed91a,_0x5b194f){var _0x21f5cf=_0x27d53d+(_0x4dac55&_0x444d1d|~_0x4dac55&_0x832103)+_0x49c9a9+_0x5b194f;return(_0x21f5cf<<_0x3ed91a|_0x21f5cf>>>0x20-_0x3ed91a)+_0x4dac55;}function _0x161dc3(_0x3a7855,_0x25bc5a,_0x9667b4,_0x5b5527,_0x4ba57e,_0x3288a7,_0x52cf14){var _0x26441d=_0x3a7855+(_0x25bc5a&_0x5b5527|_0x9667b4&~_0x5b5527)+_0x4ba57e+_0x52cf14;return(_0x26441d<<_0x3288a7|_0x26441d>>>0x20-_0x3288a7)+_0x25bc5a;}function _0x404ee9(_0x297cc8,_0x535421,_0x4d0955,_0x392bd5,_0x417657,_0x401975,_0x208111){var _0x4195c2=_0x297cc8+(_0x535421^_0x4d0955^_0x392bd5)+_0x417657+_0x208111;return(_0x4195c2<<_0x401975|_0x4195c2>>>0x20-_0x401975)+_0x535421;}function _0x6cb1a(_0x3485cb,_0x1753f1,_0xc429cf,_0x279bd4,_0x2aadd8,_0x32745d,_0x30a4f6){var _0x4dd0fa=_0x3485cb+(_0xc429cf^(_0x1753f1|~_0x279bd4))+_0x2aadd8+_0x30a4f6;return(_0x4dd0fa<<_0x32745d|_0x4dd0fa>>>0x20-_0x32745d)+_0x1753f1;}_0x58007e['MD5']=_0x32cd61[_0xcfd08f(0x268)](_0x4ee79b),_0x58007e['HmacMD5']=_0x32cd61[_0xcfd08f(0x2d0)](_0x4ee79b);}(Math),_0x3c725d[_0x5eaeb8(0x342)];}));}(Ye)),Ye[_0x5b8069(0x2df)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x4ac54c(0x2df)],Xt;function dn(){var _0x553953=_0x4ac54c;return Xt||(Xt=0x1,function(_0x1d7f3d,_0x5121fa){(function(_0x6c3624,_0x54853c){var _0x719c29=_0x6f14;_0x1d7f3d[_0x719c29(0x2df)]=_0x54853c(te());}(un,function(_0x3d69ea){var _0x1d1f7b=_0x6f14;return(function(){var _0x4ff5cd=_0x6f14,_0x4a3cbc=_0x3d69ea,_0x52ae0e=_0x4a3cbc[_0x4ff5cd(0x2c2)],_0x229742=_0x52ae0e[_0x4ff5cd(0x46f)],_0x2a54b8=_0x52ae0e[_0x4ff5cd(0x22a)],_0x34ad6d=_0x4a3cbc[_0x4ff5cd(0x35c)],_0x1d68c7=[],_0x6ce79e=_0x34ad6d[_0x4ff5cd(0x400)]=_0x2a54b8[_0x4ff5cd(0x48a)]({'_doReset':function(){var _0x517a59=_0x4ff5cd;this[_0x517a59(0x283)]=new _0x229742[(_0x517a59(0x3fe))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x6350b,_0x4717e9){var _0x5d5714=_0x4ff5cd;for(var _0x4e68b0=this[_0x5d5714(0x283)][_0x5d5714(0x3fd)],_0x1e104f=_0x4e68b0[0x0],_0x277c38=_0x4e68b0[0x1],_0x27f7a0=_0x4e68b0[0x2],_0x19fab2=_0x4e68b0[0x3],_0x1acee9=_0x4e68b0[0x4],_0x7e89fb=0x0;_0x7e89fb<0x50;_0x7e89fb++){if(_0x7e89fb<0x10)_0x1d68c7[_0x7e89fb]=_0x6350b[_0x4717e9+_0x7e89fb]|0x0;else{var _0x5712ba=_0x1d68c7[_0x7e89fb-0x3]^_0x1d68c7[_0x7e89fb-0x8]^_0x1d68c7[_0x7e89fb-0xe]^_0x1d68c7[_0x7e89fb-0x10];_0x1d68c7[_0x7e89fb]=_0x5712ba<<0x1|_0x5712ba>>>0x1f;}var _0x5ab4ed=(_0x1e104f<<0x5|_0x1e104f>>>0x1b)+_0x1acee9+_0x1d68c7[_0x7e89fb];_0x7e89fb<0x14?_0x5ab4ed+=(_0x277c38&_0x27f7a0|~_0x277c38&_0x19fab2)+0x5a827999:_0x7e89fb<0x28?_0x5ab4ed+=(_0x277c38^_0x27f7a0^_0x19fab2)+0x6ed9eba1:_0x7e89fb<0x3c?_0x5ab4ed+=(_0x277c38&_0x27f7a0|_0x277c38&_0x19fab2|_0x27f7a0&_0x19fab2)-0x70e44324:_0x5ab4ed+=(_0x277c38^_0x27f7a0^_0x19fab2)-0x359d3e2a,_0x1acee9=_0x19fab2,_0x19fab2=_0x27f7a0,_0x27f7a0=_0x277c38<<0x1e|_0x277c38>>>0x2,_0x277c38=_0x1e104f,_0x1e104f=_0x5ab4ed;}_0x4e68b0[0x0]=_0x4e68b0[0x0]+_0x1e104f|0x0,_0x4e68b0[0x1]=_0x4e68b0[0x1]+_0x277c38|0x0,_0x4e68b0[0x2]=_0x4e68b0[0x2]+_0x27f7a0|0x0,_0x4e68b0[0x3]=_0x4e68b0[0x3]+_0x19fab2|0x0,_0x4e68b0[0x4]=_0x4e68b0[0x4]+_0x1acee9|0x0;},'_doFinalize':function(){var _0x2b2624=_0x4ff5cd,_0x39aa1f=this['_data'],_0x510632=_0x39aa1f[_0x2b2624(0x3fd)],_0x1fce7d=this[_0x2b2624(0x353)]*0x8,_0x2c1ce9=_0x39aa1f[_0x2b2624(0x34b)]*0x8;return _0x510632[_0x2c1ce9>>>0x5]|=0x80<<0x18-_0x2c1ce9%0x20,_0x510632[(_0x2c1ce9+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x1fce7d/0x100000000),_0x510632[(_0x2c1ce9+0x40>>>0x9<<0x4)+0xf]=_0x1fce7d,_0x39aa1f[_0x2b2624(0x34b)]=_0x510632['length']*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x575c6f=_0x4ff5cd,_0x469178=_0x2a54b8[_0x575c6f(0x494)]['call'](this);return _0x469178['_hash']=this[_0x575c6f(0x283)][_0x575c6f(0x494)](),_0x469178;}});_0x4a3cbc[_0x4ff5cd(0x400)]=_0x2a54b8[_0x4ff5cd(0x268)](_0x6ce79e),_0x4a3cbc['HmacSHA1']=_0x2a54b8[_0x4ff5cd(0x2d0)](_0x6ce79e);}()),_0x3d69ea[_0x1d1f7b(0x400)];}));}(qe)),qe[_0x553953(0x2df)];}var ze={'exports':{}},fn=ze[_0x4ac54c(0x2df)],Zt;function _0x225f(){var _0x3cbbde=['_unlockTransition','members','sid','UNKNOWN_CMD','EMAIL_VERIFY_CODE_MISMATCH','_joinRoom','_sendHeartbeatTimer','_snapshotService','objectActions','_getAPIPrefixPath','SOCKET_FAILED','_transformIMECache','_toggleOffline','_sender','byteLength','_onRemoteChangeset','ALREADY_EXISTS','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','LIVESHARE_FETCH_OPERATIONS','644388vvUdzY','_getUndoStack','image/jpeg','[PendingState]:\x20unhandled\x20univer\x20type:\x20','Pkcs7','equals','max','dispose','_cipher','_data','collabSubmitChangesetUrl','_onOffline','enc','_getSignURL','_onCombEvent','onload','308509zpHFBv','/allowed','APPLY_PERMISSION_DENIED','_config','get','_retryConnectingTimer','_transformSelections','UNAUTHENTICATED','_collaborationSessionService','createSocket','_invKeySchedule','saveSheetBlock','failed\x20to\x20apply\x20missed\x20changesets!','_rescheduleHeartbeat','uploadFileServerUrl','PENDING','AES','SNAPSHOT_URL_KEY','isPermissionRej','_onLocalMutation','_reverseMap','executeCommand','COMPRESS_MUTATION_APPLY','/unit/','onTransformIME','stringify','function','image/png','UNIVER_COLLABORATION_CLIENT_PLUGIN','/block/','changesets','objectType','_collaborationTimeoutTimer','revision','now','_remoteChangesetQueue','_checkMissing','getMember','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_AI_RUN_FAILED','encodeURIComponent','_emitMembers','_fetchMissChangesets','getRandomValues','resend','_oKey','OPTIONAL','apply','/rev/','SerializableCipher','HEARTBEAT_INTERVAL','_onRemoteRetry','toString','update','[CollaborationSession]','updateCollaborator','slice','conflict','_univerInstanceService','PERSON','UnitSnapshot','encrypt','/universer-api/oidc/authpage','MD5','_tryReconnect','collaboratorID','_type','_change$','NOT_FOUND','collaboration-client.config','_clearRedo','_process','sigBytes','onSyncEditingCollabCursor','focused$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_HTTPService','FETCH_MISS','shouldCloseConn','_nDataBytes','_permissionService','every','subscribe','UnitEmbedded','[OfflineState]:\x20received\x20changeset.','splice','INVALID_ARGUMENT','onTransformSelections','algo','getImageSourceCache','saveImage','[UniverCollaborationClientPlugin]','_decreaseWaiting','startTime','enableAuthServer','_schedule','_clearHeartbeatTimer','INVITE_CODE_ALREADY_BOUND','_unitID','_clearCollaborationTimeoutTimer','_status$','COMPLETION_FINISHED','connection\x20error','YUUMI_RATE_OVER_LIMIT','_keyPriorReset','unitId','UNIVER_SHEET','entityInit$','NEW_CHANGESETS','[OfflineState]:\x20received\x20acknowledgement.','_initCloseConn','_stopTelemetryCollaborationNewChangeset','_memberService','state$','snapshotServerUrl','/universer-api/user/session-ticket','appendMutation','_instanceService','routeKey','state','execute','catch','_acknowledgedAwaitingChangeset','keySize','createCollaborator','INGEST','selections','HttpImport','cmd','LICENSE_DISTRO_REJECTED','reqId','USERS_ENTER','message$','onCommandExecuted','awaitingChangeset','incrementRevOfUnit','randomBytes','decryptBlock','SOCKET_FAILED_RETRY','getCurrentRevOfUnit','_replaceFileID','SUCCUSS','forEach','filter','_socket$','listRoles','_registerDependencies','getUnit','userID','_getCurrentRevision','_minBufferSize','People','mutations','_getAPIPrefix','method','_updateStatus','LIVESHARE_OPERATION','Decryptor','Utf8','APPLY_NON_SEQUENTIAL_REVISION','_onFetchMissResult','[PendingState]:\x20received\x20rejection.','origin','_members$','UNISCRIPT_RUN','YUUMI_UNABLE_LOAD_URL','crypto','_pendingMutations','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','onRemoteRetry','concat','_localeService','/universer-api/uniscript','floor','_getLoginPath','EvpKDF','authzUrl','_undoRedoService','getUnitId','PERMISSION_REJ','findIndex','pipe','INVITE_CODE_REQUIRED','Cipher','ENSURE_SNAPSHOT_EXECUTION','USER_NOT_INVITED_CODE','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','WECHAT_HAS_BEEN_BOUND','complete','enableOfflineEditing','image/jpg','getValue','onCommentUpdate','create','onRemoteRej','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','[CollaborationSessionService]:\x20socket\x20error','submit\x20changeset\x20error!','PY_RUNTIME_SCRIPT_ERROR','{fileID}','listCollaborators','setCurrentUser','loadOfflineData','[CollaborationState]:\x20apply\x20error!','formatter','_initMergeInterceptor','_unitInfo$','_doProcessBlock','push','_executeRemoteChangeset','1938537CXUzpl','processBlock','_clearRetryConnectingTimer','JOIN','file','next','_initUnitPermissionChange','_handler','getInterceptPoints','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','removeMember','_redoStacks','signUrlServerUrl','duration','_onRemoteRejected','waitForRoom$','SNAPSHOT_INVALID_SNAPSHOT','SHOULD_CLOSE_CONN','UUID','sendChangesetTimeout','updateMember','_event$','has','_listenToNetworkCondition','sessionStatus$','_sheetTransformSelectionsService','createEncryptor','_candidateSocket','/-/object/-/batch_allowed','abs','Base64','getFocusedUnit','_commentService','registerHTTPInterceptor','csRejEvent','override','CONNECTOR_DATA_TOO_LARGE','image/bmp','YUUMI_ALL_TABLES_IS_INVALID','words','init','event$','SHA1','delete','batchAllowed','8629569dzzgvY','FETCH_MISSING','pluginName','getSheetId','JOIN_ROOM_PERMISSION_DENIED','onMissedChangesetFetched','onSendChangeset','/universer-api/snapshot','_parse','createInstance','getLatestCsReqIdBySid','loadUnit','MOBILE_VERIFY_CODE_MISMATCH','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','onStarting','joinRsp','length','UNIVER_UNKNOWN','decrypt','GLOBAL_ROOMS_CNT_EXCEEDS','OpenSSL','BASE64','SUBMIT_CHANGESET','mixIn','localeService','body','756RaRqtQ','UNKNOWN_CODE','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','8LqXOBH','ciphertext','m2Prime','_clearTimeoutTimer','getSheetBlock','asObservable','90FZRlxy','_clearScheduledTask','_createInitialStateImpl','onlyLocal','FileId','2majejG','INVALID_INVITE_CODE','/universer-api/file/{fileID}/sign-url','default','actions','ONLINE','_handlerCallback','&source=','_xformMode','_resendWithTimeout','data','readyForCollab','/object','YUUMI_ASYNCIO_CANCELLED','_socket','CHANGESET_SHOULD_RETRY','univer-pro.collaboration-client.single-active-unit-service','_scheduleCompleteTimestamp','_showConflictNotification','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_removeRoom','snapshot','pad','_revisionService','put','type','_sessions','_submitChangeset','socketService','hasher','_mode','_socketService','__creator','COMPRESS_MUTATION_SEND','INTERNAL_ERROR','OTHER_CLIENTS_EDITING','SUBMIT_CHANGESET_TIMEOUT','_telemetryService','CipherParams','editing\x20status\x20changed\x20to','_tryEnsureSocket','_userManagerService','[PendingState]:\x20received\x20acknowledgement.','_disableEditing','append','getUnitOnRev','textRanges','transformUndoRedo','onTransformState','objects','collaborators','refreshPermission','getOwnPropertyDescriptor','_onConnectionOpen','\x20in\x20_schedule.','onRemoteAck','_createSocket','_doReset','OFFLINE','APPLY_DUPLICATED','_hasher','Base','change$','CHANGESET_REJ','_incrementRevisionNumber','[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.','status$','clamp','WordArray','mode','transformChangesets','JOINING','_prevBlock','univer-pro.collaboration-client-socket-service','_exhaustRemoteChangesetQueue','/universer-api/comb','/universer-api/stream/file/upload','updatePermissionPoint','url','_transformUndoredo','[CollaborationUndoRedoService]','workbook','blockSize','Error\x20on\x20receiving\x20event','YUUMI_CONNECTOR_URL_NOT_FOUND','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','avatar','_transitionLocked','setWaitCount','MOBILE_HAS_BEEN_BOUND','JOIN_ROOM_FULL','_snapshotServerService','getResourcesRequest','copyFileMeta','clear','extend','Univer','/-/object/list','APPLY_REJECT','subUnitId','_sessionStatus$','OTHER_CLIENT_EDITING','_sendingTimer','collaMsg','_updateState','clone','_onRemoteACK','/fetchmissing?from=','LIVESHARE_TERMINATE','USERS_LEAVE','AWAITING','[CollaborationSessionService]','/universer-api/snapshot/','_initRequestHeader','getCurrentSelections','loadSheet','code','toggleOffline','emitEvent','_collaborationUIEventService','_getCtorByUniverType','fromCharCode','isArray','10EfLDdX','synced','onLocalMutation','_doCryptBlock','__Key__','sheets','UNIVER_DOC','byteOffset','includes','_waitForHeartbeatResponse','CHANGESET_ACK','finalize','session.join-failed','FAIL','BufferedBlockAlgorithm','awaiting','updateOfflineData','_state','_substituteRedoStack','_replayCachedMutations','session.room-permission-denied','session.room-full','_onConnectionFailed','_lockTransition','find','href','[CollaborationEntity]','getSnapshotAPIPath','fetchThroughInterceptors','_onRecvEvent','key','Latin1','_key','YUUMI_NO_CUBOID_FOR_QUESTION','152251TUSZod','4ImtFjx','onStateChange','close$','YUUMI_URL_COL_OUT_OF_RANGE','ceil','_iKey','_map','reset','_configService','not_collab','_httpService','result','requireSession','originalMeta','closeSession','LICENSE_EXPORT_SIZE_EXCEEDED','substr','LOGIN_FAILED','downloadEndpointUrl','UserProfileImg','error','name','requestParams','resolve','fetchMissingChangesets','action','retryConnectingInterval','JOIN_ROOM_NOT_EXISTS','onMissingChangesets','subject','MSG_FOR_ERROR','_throwTelemetryCollaborationNewChangeset','putCollaborators','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','reject','_socketMessageSubscription','msCrypto','_roomCreated$','unit-cache-','_injector','LIVESHARE_REQUEST_HOST','_onUserJoin','_getDownloadEndpointURL','__esModule','hasOwnProperty','charCodeAt','format','Failed\x20to\x20update\x20permission\x20point','Encryptor','_commentUpdate$','BlockCipherMode','fetch_missing','addImageSourceCache','uniscriptRunEvent','PERMISSION_DENIED','newCsEvent','deleteCollaborator','getUnitType','parse','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','CONFLICT','_resendTimer','LICENSE_MAX_UNITS_EXCEEDED','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','/role','_logService','debug','getTypeOfUnitDisposed$','_DEC_XFORM_MODE','src','getTime','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','localCacheService','stopTime','_clearLocalCache','compute','_collabSessionService','LIVESHARE_NEW_HOST','CHANGESET_REVISION_CONFILICT','getWorkbookSelections','_onConflict','LEAVE','map','padding','_onJoinRoomEvent','range','size','_roomMembers','liveShareNewHost','reverse','POST','initWorkbookPermissionChange','/resources','ERROR_IMAGE','socket\x20close','RECV','NO_OTHER_CLIENTS_EDITING','_transformService','_undoStacks','_onMessage','[DataLoaderService]','getMemberID','transformSelections','_append','onTransformRemoteChangesetByIMECache','MUTATION','/collaborator','$super','liveShareOperation','Hasher','interceptor','APPLY_REVISION_CONFILICT','headers','_networkConditionService','_shouldReportTelemetry','getConfig','_retryCount','set','_toggleOnline','infoRsp','HEARTBEAT_TIMEOUT','univer-pro.collaboration-client.network-condition.service','commentUpdate$','BlockCipher','\x0aAfter:\x20','PasswordBasedCipher','unitID','_timeoutTimer','_updateLocalCache','leaveEvent','createDecryptor','indexOf','LOCAL_CACHE_INTERVAL','roles','_transformRemoteChangesetByIMECache','close','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_waitCount','updateCursorEvent','UNIVER_PROJECT','UPDATE_CURSOR','reduce','addHandlerCallback','_singleActiveUnitService','offline','_createHandler','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_SUBSCRIPTION_NOT_FOUND','_createInitialState','pending','_getSendChangesetTimeout','EMAIL_HAS_BEEN_BOUND','_applyRemoteChangeset','_syncEditingCollabCursor','toggleOnline','_ENC_XFORM_MODE','getActiveSheet','HELLO','kdf','memberID','string','getCurrentUser','Could\x20not\x20dynamically\x20require\x20\x22','PSEUDO_FETCH_MISSING_RESULT','cfg','&assign=','awaiting_with_pending','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UNDEFINED','_getUploadFileURL','JOIN_ROOM_FAILED','_createHelper','getCollabEntity','_members','NoPadding','_onUserLeave','params','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformRemoteChangesetByStateCache','saveChangeset','image/gif','join','c1Prime','_commandService','[SyncedState]:\x20received\x20rejection.','_compressMutationService','socket\x20open.','salt','NOT_COLLAB','commentUpdateEvent','sessionStatus','COMMENT_UPDATE','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','startsWith','_imageSourceCache','_transformStack','encode','open$','_hash','UNIVER_SLIDE','onRemoteChangeset','_entities','_initDependencies','HEARTBEAT','dispose$','_entityInit$','IDLE','642710vXOXBT','SNAPSHOT_HAS_BEEN_REMOVED','x-univer-host','eventID','CLOSE_ROOM','telemetry\x20info\x20is\x20not\x20initialized','transformMutationsWithChangeset','withCredentials','INVITE_CODE_HAS_BEEN_UES','_socketReady','prototype','add','_queuedRemoteChangesets','YUUMI_TABLE_NOT_FOUND_IN_UNIT','enableCollaboration','members$','capture','_eventService','HMAC','UNRECOGNIZED','reconnect','session','error$','TOO_MANY_REQUESTS','location','symbol','objectID','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','\x0aCurrent:\x20','list','setShowComponents','enableSingleActiveInstanceLock','saveSnapshot','disposeWithMe','_sendHeartbeat','_localCacheService','UPDATE_PERMISSION_OBJ','_changesetReqId','defineProperty','4085291XxsKdY','_isPermissionRej','_scheduleCollaborationTimeoutTimer','Malformed\x20UTF-8\x20data','_telemetryInfo','getDeserializedSheetBlock','_init','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','LICENSE_IMPORT_SIZE_EXCEEDED','unknown','status','getCollabEntity$','/universer-api/authz','getTypeOfUnitAdded$','lib','session.room-not-exists','replace','call','collaboration-client.local-cache-service','_collaborationPaused','send','collaboration_new_changeset','fetching\x20missing\x20changesets\x20from\x20','[SyncedState]:\x20received\x20acknowledgement.','c2Prime','_resendTimeout','_substituteUndoStack','_iv','_createHmacHelper','Undefined','fromCollab','_awaitingChangeset','HttpExport','unsubscribe','charAt','post','_keySchedule','getUnitStatus$','_getRedoStack','/object/','_nRounds','fetchMiss','ERROR_IMAGE_TYPE','exports'];_0x225f=function(){return _0x3cbbde;};return _0x225f();}function vn(){var _0x4b78c7=_0x4ac54c;return Zt||(Zt=0x1,function(_0x243aec,_0x4b3cde){(function(_0x160205,_0x147d33){_0x243aec['exports']=_0x147d33(te());}(fn,function(_0x345a4f){(function(){var _0x1ea63f=_0x6f14,_0x11f87a=_0x345a4f,_0x8e426=_0x11f87a[_0x1ea63f(0x2c2)],_0x4445f8=_0x8e426[_0x1ea63f(0x468)],_0xbee36a=_0x11f87a['enc'],_0x38bb06=_0xbee36a['Utf8'],_0x110319=_0x11f87a[_0x1ea63f(0x35c)];_0x110319['HMAC']=_0x4445f8[_0x1ea63f(0x48a)]({'init':function(_0x2f2898,_0x3bf8f1){var _0x322bd1=_0x1ea63f;_0x2f2898=this[_0x322bd1(0x467)]=new _0x2f2898[(_0x322bd1(0x3fe))](),typeof _0x3bf8f1=='string'&&(_0x3bf8f1=_0x38bb06[_0x322bd1(0x1f7)](_0x3bf8f1));var _0x361e63=_0x2f2898[_0x322bd1(0x47d)],_0x292df9=_0x361e63*0x4;_0x3bf8f1[_0x322bd1(0x34b)]>_0x292df9&&(_0x3bf8f1=_0x2f2898[_0x322bd1(0x4b1)](_0x3bf8f1)),_0x3bf8f1[_0x322bd1(0x46e)]();for(var _0x13cc73=this[_0x322bd1(0x330)]=_0x3bf8f1[_0x322bd1(0x494)](),_0x54a51f=this[_0x322bd1(0x1c2)]=_0x3bf8f1['clone'](),_0x3ce297=_0x13cc73[_0x322bd1(0x3fd)],_0x3a66b8=_0x54a51f[_0x322bd1(0x3fd)],_0x51cd91=0x0;_0x51cd91<_0x361e63;_0x51cd91++)_0x3ce297[_0x51cd91]^=0x5c5c5c5c,_0x3a66b8[_0x51cd91]^=0x36363636;_0x13cc73[_0x322bd1(0x34b)]=_0x54a51f['sigBytes']=_0x292df9,this['reset']();},'reset':function(){var _0x468779=_0x1ea63f,_0x49cbf3=this[_0x468779(0x467)];_0x49cbf3[_0x468779(0x1c4)](),_0x49cbf3[_0x468779(0x338)](this[_0x468779(0x1c2)]);},'update':function(_0x42f284){var _0x3700e6=_0x1ea63f;return this[_0x3700e6(0x467)][_0x3700e6(0x338)](_0x42f284),this;},'finalize':function(_0x3e1066){var _0x441508=_0x1ea63f,_0x21a970=this[_0x441508(0x467)],_0x1c8a76=_0x21a970[_0x441508(0x4b1)](_0x3e1066);_0x21a970[_0x441508(0x1c4)]();var _0x396aae=_0x21a970[_0x441508(0x4b1)](this['_oKey'][_0x441508(0x494)]()['concat'](_0x1c8a76));return _0x396aae;}});}());}));}(ze)),ze[_0x4b78c7(0x2df)];}var pn=Ke[_0x4ac54c(0x2df)],Qt;function Oi(){var _0x429b96=_0x4ac54c;return Qt||(Qt=0x1,function(_0x131a67,_0x10b4b6){(function(_0x587c28,_0x475279,_0x58415b){var _0x2abb06=_0x6f14;_0x131a67[_0x2abb06(0x2df)]=_0x475279(te(),dn(),vn());}(pn,function(_0x39d730){return(function(){var _0x843f7b=_0x6f14,_0x99bdbf=_0x39d730,_0x5c180c=_0x99bdbf[_0x843f7b(0x2c2)],_0xcef588=_0x5c180c[_0x843f7b(0x468)],_0x63d72e=_0x5c180c[_0x843f7b(0x46f)],_0x3e0044=_0x99bdbf[_0x843f7b(0x35c)],_0x4ad760=_0x3e0044['MD5'],_0x58b243=_0x3e0044[_0x843f7b(0x3b3)]=_0xcef588['extend']({'cfg':_0xcef588[_0x843f7b(0x48a)]({'keySize':0x80/0x20,'hasher':_0x4ad760,'iterations':0x1}),'init':function(_0x2699f8){var _0xa0470f=_0x843f7b;this[_0xa0470f(0x261)]=this[_0xa0470f(0x261)]['extend'](_0x2699f8);},'compute':function(_0x10f8a4,_0x5b3353){var _0x2c2512=_0x843f7b;for(var _0x533c9f,_0x392b58=this[_0x2c2512(0x261)],_0x127547=_0x392b58[_0x2c2512(0x448)][_0x2c2512(0x3c5)](),_0x5f3833=_0x63d72e['create'](),_0x52c881=_0x5f3833[_0x2c2512(0x3fd)],_0x53fb60=_0x392b58[_0x2c2512(0x37f)],_0x4bcbd1=_0x392b58['iterations'];_0x52c881[_0x2c2512(0x413)]<_0x53fb60;){_0x533c9f&&_0x127547[_0x2c2512(0x338)](_0x533c9f),_0x533c9f=_0x127547[_0x2c2512(0x338)](_0x10f8a4)[_0x2c2512(0x4b1)](_0x5b3353),_0x127547[_0x2c2512(0x1c4)]();for(var _0x822d80=0x1;_0x822d80<_0x4bcbd1;_0x822d80++)_0x533c9f=_0x127547[_0x2c2512(0x4b1)](_0x533c9f),_0x127547[_0x2c2512(0x1c4)]();_0x5f3833['concat'](_0x533c9f);}return _0x5f3833[_0x2c2512(0x34b)]=_0x53fb60*0x4,_0x5f3833;}});_0x99bdbf[_0x843f7b(0x3b3)]=function(_0x36cfad,_0x1b4719,_0x25da56){var _0xe2e77=_0x843f7b;return _0x58b243[_0xe2e77(0x3c5)](_0x25da56)[_0xe2e77(0x208)](_0x36cfad,_0x1b4719);};}()),_0x39d730['EvpKDF'];}));}(Ke)),Ke[_0x429b96(0x2df)];}var Je={'exports':{}},mn=Je[_0x4ac54c(0x2df)],ei;function bi(){var _0x4b2f3d=_0x4ac54c;return ei||(ei=0x1,function(_0x409e15,_0x214b33){(function(_0x431821,_0x34aeca,_0x5d1f80){var _0x21bf50=_0x6f14;_0x409e15[_0x21bf50(0x2df)]=_0x34aeca(te(),Oi());}(mn,function(_0xe365bc){var _0xedc4c1=_0x6f14;_0xe365bc[_0xedc4c1(0x2c2)][_0xedc4c1(0x3bb)]||function(_0x371faf){var _0x5bf365=_0xedc4c1,_0x338333=_0xe365bc,_0x183f92=_0x338333['lib'],_0x26f404=_0x183f92[_0x5bf365(0x468)],_0x54620c=_0x183f92[_0x5bf365(0x46f)],_0x39ed52=_0x183f92[_0x5bf365(0x4b4)],_0xa26db9=_0x338333[_0x5bf365(0x2ff)];_0xa26db9[_0x5bf365(0x3a2)];var _0x212fbc=_0xa26db9['Base64'],_0x1df5c7=_0x338333[_0x5bf365(0x35c)],_0x3b7749=_0x1df5c7[_0x5bf365(0x3b3)],_0x1a65d5=_0x183f92[_0x5bf365(0x3bb)]=_0x39ed52['extend']({'cfg':_0x26f404[_0x5bf365(0x48a)](),'createEncryptor':function(_0x78621f,_0x4d7e5f){var _0x2c6857=_0x5bf365;return this[_0x2c6857(0x3c5)](this['_ENC_XFORM_MODE'],_0x78621f,_0x4d7e5f);},'createDecryptor':function(_0x2815d7,_0x88ecc2){var _0x54348b=_0x5bf365;return this[_0x54348b(0x3c5)](this[_0x54348b(0x201)],_0x2815d7,_0x88ecc2);},'init':function(_0x8ebdf2,_0x2d75dc,_0x4793d3){var _0x1193e8=_0x5bf365;this[_0x1193e8(0x261)]=this[_0x1193e8(0x261)][_0x1193e8(0x48a)](_0x4793d3),this[_0x1193e8(0x433)]=_0x8ebdf2,this[_0x1193e8(0x1ba)]=_0x2d75dc,this[_0x1193e8(0x1c4)]();},'reset':function(){var _0xbbf1fb=_0x5bf365;_0x39ed52['reset'][_0xbbf1fb(0x2c5)](this),this[_0xbbf1fb(0x464)]();},'process':function(_0x5f00f3){var _0x3ba28a=_0x5bf365;return this[_0x3ba28a(0x224)](_0x5f00f3),this[_0x3ba28a(0x34a)]();},'finalize':function(_0x61ca13){var _0x4b90c7=_0x5bf365;_0x61ca13&&this[_0x4b90c7(0x224)](_0x61ca13);var _0x4d6714=this['_doFinalize']();return _0x4d6714;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x59dd70(_0x48d5b3){var _0x8b3d73=_0x6f14;return typeof _0x48d5b3==_0x8b3d73(0x25d)?_0x4cbfcd:_0x4e7af3;}return function(_0x146280){return{'encrypt':function(_0x3fc450,_0x35b5b2,_0x5df38f){var _0x4c43b5=_0x6f14;return _0x59dd70(_0x35b5b2)[_0x4c43b5(0x340)](_0x146280,_0x3fc450,_0x35b5b2,_0x5df38f);},'decrypt':function(_0x4a126e,_0x1825f7,_0x55b23e){var _0x4a649f=_0x6f14;return _0x59dd70(_0x1825f7)[_0x4a649f(0x415)](_0x146280,_0x4a126e,_0x1825f7,_0x55b23e);}};};}())});_0x183f92['StreamCipher']=_0x1a65d5[_0x5bf365(0x48a)]({'_doFinalize':function(){var _0x3ba293=_0x5bf365,_0x3497a5=this[_0x3ba293(0x34a)](!0x0);return _0x3497a5;},'blockSize':0x1});var _0x37799b=_0x338333['mode']={},_0xb293b2=_0x183f92[_0x5bf365(0x1ef)]=_0x26f404[_0x5bf365(0x48a)]({'createEncryptor':function(_0x59a702,_0x1ef232){var _0xe135dd=_0x5bf365;return this[_0xe135dd(0x1ed)][_0xe135dd(0x3c5)](_0x59a702,_0x1ef232);},'createDecryptor':function(_0x4f7076,_0x2c418d){var _0x1d4937=_0x5bf365;return this[_0x1d4937(0x3a1)][_0x1d4937(0x3c5)](_0x4f7076,_0x2c418d);},'init':function(_0x38ebaa,_0x4d01b6){var _0x1b91a7=_0x5bf365;this['_cipher']=_0x38ebaa,this[_0x1b91a7(0x2cf)]=_0x4d01b6;}}),_0x317c99=_0x37799b['CBC']=(function(){var _0x39b786=_0x5bf365,_0x7ee5bf=_0xb293b2[_0x39b786(0x48a)]();_0x7ee5bf[_0x39b786(0x1ed)]=_0x7ee5bf[_0x39b786(0x48a)]({'processBlock':function(_0x1df8d4,_0x1468bf){var _0x40208e=_0x39b786,_0x472114=this[_0x40208e(0x2fb)],_0x547627=_0x472114[_0x40208e(0x47d)];_0x4a1043[_0x40208e(0x2c5)](this,_0x1df8d4,_0x1468bf,_0x547627),_0x472114['encryptBlock'](_0x1df8d4,_0x1468bf),this[_0x40208e(0x473)]=_0x1df8d4['slice'](_0x1468bf,_0x1468bf+_0x547627);}}),_0x7ee5bf[_0x39b786(0x3a1)]=_0x7ee5bf['extend']({'processBlock':function(_0x3c7fc6,_0x4b6f61){var _0x472706=_0x39b786,_0x3a8b1e=this['_cipher'],_0x5288b7=_0x3a8b1e[_0x472706(0x47d)],_0x3296fb=_0x3c7fc6[_0x472706(0x33b)](_0x4b6f61,_0x4b6f61+_0x5288b7);_0x3a8b1e[_0x472706(0x38d)](_0x3c7fc6,_0x4b6f61),_0x4a1043['call'](this,_0x3c7fc6,_0x4b6f61,_0x5288b7),this[_0x472706(0x473)]=_0x3296fb;}});function _0x4a1043(_0x4dc67f,_0x32088e,_0x53be98){var _0x5467bb=_0x39b786,_0x77aa67,_0x3a6d63=this['_iv'];_0x3a6d63?(_0x77aa67=_0x3a6d63,this[_0x5467bb(0x2cf)]=_0x371faf):_0x77aa67=this[_0x5467bb(0x473)];for(var _0x9822c3=0x0;_0x9822c3<_0x53be98;_0x9822c3++)_0x4dc67f[_0x32088e+_0x9822c3]^=_0x77aa67[_0x9822c3];}return _0x7ee5bf;}()),_0x1f5aea=_0x338333[_0x5bf365(0x441)]={},_0xb326cc=_0x1f5aea[_0x5bf365(0x2f7)]={'pad':function(_0xdd8cf6,_0x15e0a9){var _0x24eb8d=_0x5bf365;for(var _0x1feff2=_0x15e0a9*0x4,_0x5df7aa=_0x1feff2-_0xdd8cf6[_0x24eb8d(0x34b)]%_0x1feff2,_0x5cede7=_0x5df7aa<<0x18|_0x5df7aa<<0x10|_0x5df7aa<<0x8|_0x5df7aa,_0x4e2142=[],_0x44e04a=0x0;_0x44e04a<_0x5df7aa;_0x44e04a+=0x4)_0x4e2142[_0x24eb8d(0x3d4)](_0x5cede7);var _0x4b9146=_0x54620c[_0x24eb8d(0x3c5)](_0x4e2142,_0x5df7aa);_0xdd8cf6[_0x24eb8d(0x3ae)](_0x4b9146);},'unpad':function(_0x19f650){var _0x4fb943=_0x5bf365,_0x354ec5=_0x19f650[_0x4fb943(0x3fd)][_0x19f650['sigBytes']-0x1>>>0x2]&0xff;_0x19f650[_0x4fb943(0x34b)]-=_0x354ec5;}};_0x183f92[_0x5bf365(0x238)]=_0x1a65d5[_0x5bf365(0x48a)]({'cfg':_0x1a65d5[_0x5bf365(0x261)][_0x5bf365(0x48a)]({'mode':_0x317c99,'padding':_0xb326cc}),'reset':function(){var _0x3474a4=_0x5bf365,_0x596ec8;_0x1a65d5[_0x3474a4(0x1c4)][_0x3474a4(0x2c5)](this);var _0x5c1e7b=this['cfg'],_0x267d0e=_0x5c1e7b['iv'],_0x5a283f=_0x5c1e7b['mode'];this[_0x3474a4(0x433)]==this[_0x3474a4(0x258)]?_0x596ec8=_0x5a283f[_0x3474a4(0x3f0)]:(_0x596ec8=_0x5a283f[_0x3474a4(0x23f)],this['_minBufferSize']=0x1),this[_0x3474a4(0x449)]&&this['_mode']['__creator']==_0x596ec8?this['_mode'][_0x3474a4(0x3fe)](this,_0x267d0e&&_0x267d0e['words']):(this['_mode']=_0x596ec8[_0x3474a4(0x2c5)](_0x5a283f,this,_0x267d0e&&_0x267d0e['words']),this[_0x3474a4(0x449)][_0x3474a4(0x44b)]=_0x596ec8);},'_doProcessBlock':function(_0x4ee55c,_0x1f8b54){var _0x519acb=_0x5bf365;this['_mode'][_0x519acb(0x3d7)](_0x4ee55c,_0x1f8b54);},'_doFinalize':function(){var _0x27d48e=_0x5bf365,_0x55d279,_0x458081=this[_0x27d48e(0x261)][_0x27d48e(0x210)];return this['_xformMode']==this[_0x27d48e(0x258)]?(_0x458081[_0x27d48e(0x441)](this[_0x27d48e(0x2fc)],this['blockSize']),_0x55d279=this['_process'](!0x0)):(_0x55d279=this[_0x27d48e(0x34a)](!0x0),_0x458081['unpad'](_0x55d279)),_0x55d279;},'blockSize':0x80/0x20});var _0x30dba1=_0x183f92[_0x5bf365(0x451)]=_0x26f404[_0x5bf365(0x48a)]({'init':function(_0x197f31){var _0x5427d8=_0x5bf365;this[_0x5427d8(0x41a)](_0x197f31);},'toString':function(_0x16b372){var _0x94ae36=_0x5bf365;return(_0x16b372||this[_0x94ae36(0x3d0)])['stringify'](this);}}),_0x3a1d6b=_0x338333[_0x5bf365(0x1eb)]={},_0x278946=_0x3a1d6b[_0x5bf365(0x417)]={'stringify':function(_0x2f3ef4){var _0x5e171a=_0x5bf365,_0x321afe,_0x3d661c=_0x2f3ef4['ciphertext'],_0x11ef2c=_0x2f3ef4['salt'];return _0x11ef2c?_0x321afe=_0x54620c[_0x5e171a(0x3c5)]([0x53616c74,0x65645f5f])[_0x5e171a(0x3ae)](_0x11ef2c)['concat'](_0x3d661c):_0x321afe=_0x3d661c,_0x321afe[_0x5e171a(0x337)](_0x212fbc);},'parse':function(_0xee6c9f){var _0x349d4d=_0x5bf365,_0x3bc15a,_0x5c1621=_0x212fbc[_0x349d4d(0x1f7)](_0xee6c9f),_0x520098=_0x5c1621[_0x349d4d(0x3fd)];return _0x520098[0x0]==0x53616c74&&_0x520098[0x1]==0x65645f5f&&(_0x3bc15a=_0x54620c[_0x349d4d(0x3c5)](_0x520098[_0x349d4d(0x33b)](0x2,0x4)),_0x520098[_0x349d4d(0x359)](0x0,0x4),_0x5c1621[_0x349d4d(0x34b)]-=0x10),_0x30dba1[_0x349d4d(0x3c5)]({'ciphertext':_0x5c1621,'salt':_0x3bc15a});}},_0x4e7af3=_0x183f92[_0x5bf365(0x334)]=_0x26f404['extend']({'cfg':_0x26f404['extend']({'format':_0x278946}),'encrypt':function(_0x247aca,_0x2e094f,_0x1cb66e,_0x16f5d6){var _0x481106=_0x5bf365;_0x16f5d6=this[_0x481106(0x261)][_0x481106(0x48a)](_0x16f5d6);var _0x56eb0f=_0x247aca[_0x481106(0x3f0)](_0x1cb66e,_0x16f5d6),_0x5776bc=_0x56eb0f['finalize'](_0x2e094f),_0x4f5d60=_0x56eb0f[_0x481106(0x261)];return _0x30dba1['create']({'ciphertext':_0x5776bc,'key':_0x1cb66e,'iv':_0x4f5d60['iv'],'algorithm':_0x247aca,'mode':_0x4f5d60[_0x481106(0x470)],'padding':_0x4f5d60[_0x481106(0x210)],'blockSize':_0x247aca[_0x481106(0x47d)],'formatter':_0x16f5d6['format']});},'decrypt':function(_0x58139a,_0x57a70c,_0x3759ee,_0x5bb51b){var _0x23a2c6=_0x5bf365;_0x5bb51b=this[_0x23a2c6(0x261)][_0x23a2c6(0x48a)](_0x5bb51b),_0x57a70c=this[_0x23a2c6(0x40b)](_0x57a70c,_0x5bb51b[_0x23a2c6(0x1eb)]);var _0x418630=_0x58139a[_0x23a2c6(0x23f)](_0x3759ee,_0x5bb51b)[_0x23a2c6(0x4b1)](_0x57a70c[_0x23a2c6(0x421)]);return _0x418630;},'_parse':function(_0x23c14e,_0x14a06a){var _0x1db38b=_0x5bf365;return typeof _0x23c14e==_0x1db38b(0x25d)?_0x14a06a[_0x1db38b(0x1f7)](_0x23c14e,this):_0x23c14e;}}),_0x3456ec=_0x338333[_0x5bf365(0x25b)]={},_0x1c77a9=_0x3456ec[_0x5bf365(0x417)]={'execute':function(_0x5f3553,_0x42937d,_0x49dc37,_0x26e980,_0x24a510){var _0x10d81f=_0x5bf365;if(_0x26e980||(_0x26e980=_0x54620c['random'](0x40/0x8)),_0x24a510)var _0x173429=_0x3b7749[_0x10d81f(0x3c5)]({'keySize':_0x42937d+_0x49dc37,'hasher':_0x24a510})[_0x10d81f(0x208)](_0x5f3553,_0x26e980);else var _0x173429=_0x3b7749['create']({'keySize':_0x42937d+_0x49dc37})[_0x10d81f(0x208)](_0x5f3553,_0x26e980);var _0x43cf48=_0x54620c[_0x10d81f(0x3c5)](_0x173429[_0x10d81f(0x3fd)]['slice'](_0x42937d),_0x49dc37*0x4);return _0x173429[_0x10d81f(0x34b)]=_0x42937d*0x4,_0x30dba1['create']({'key':_0x173429,'iv':_0x43cf48,'salt':_0x26e980});}},_0x4cbfcd=_0x183f92[_0x5bf365(0x23a)]=_0x4e7af3[_0x5bf365(0x48a)]({'cfg':_0x4e7af3['cfg']['extend']({'kdf':_0x1c77a9}),'encrypt':function(_0x8b35ff,_0xeacaa5,_0x3a69f9,_0x31ae51){var _0x228443=_0x5bf365;_0x31ae51=this['cfg'][_0x228443(0x48a)](_0x31ae51);var _0x1ca1de=_0x31ae51[_0x228443(0x25b)][_0x228443(0x37c)](_0x3a69f9,_0x8b35ff[_0x228443(0x37f)],_0x8b35ff['ivSize'],_0x31ae51[_0x228443(0x278)],_0x31ae51[_0x228443(0x448)]);_0x31ae51['iv']=_0x1ca1de['iv'];var _0xb282da=_0x4e7af3[_0x228443(0x340)][_0x228443(0x2c5)](this,_0x8b35ff,_0xeacaa5,_0x1ca1de[_0x228443(0x1b8)],_0x31ae51);return _0xb282da[_0x228443(0x41a)](_0x1ca1de),_0xb282da;},'decrypt':function(_0x2a6dd7,_0x46011c,_0x268186,_0x46cbd4){var _0x369ecc=_0x5bf365;_0x46cbd4=this[_0x369ecc(0x261)][_0x369ecc(0x48a)](_0x46cbd4),_0x46011c=this['_parse'](_0x46011c,_0x46cbd4['format']);var _0x1ea8ea=_0x46cbd4[_0x369ecc(0x25b)]['execute'](_0x268186,_0x2a6dd7[_0x369ecc(0x37f)],_0x2a6dd7['ivSize'],_0x46011c['salt'],_0x46cbd4['hasher']);_0x46cbd4['iv']=_0x1ea8ea['iv'];var _0x1bb034=_0x4e7af3[_0x369ecc(0x415)][_0x369ecc(0x2c5)](this,_0x2a6dd7,_0x46011c,_0x1ea8ea[_0x369ecc(0x1b8)],_0x46cbd4);return _0x1bb034;}});}();}));}(Je)),Je[_0x4b2f3d(0x2df)];}var gn=Ve[_0x4ac54c(0x2df)],ti;function Sn(){var _0x1cd0b4=_0x4ac54c;return ti||(ti=0x1,function(_0x12c37f,_0x260f77){(function(_0x5c3898,_0x917d0,_0x5d364b){var _0x45a9a3=_0x6f14;_0x12c37f[_0x45a9a3(0x2df)]=_0x917d0(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x5e0d08){var _0x2ce3dc=_0x6f14;return(function(){var _0x5af824=_0x6f14,_0x5c62d8=_0x5e0d08,_0x5e2fe7=_0x5c62d8[_0x5af824(0x2c2)],_0x58fed6=_0x5e2fe7[_0x5af824(0x238)],_0x1f40bd=_0x5c62d8[_0x5af824(0x35c)],_0x466975=[],_0x301ef2=[],_0x3409b3=[],_0x2a9113=[],_0x287e61=[],_0x20acd8=[],_0x3c582a=[],_0xd95a1f=[],_0x300904=[],_0x3b7ce9=[];(function(){for(var _0x5c6776=[],_0x52349b=0x0;_0x52349b<0x100;_0x52349b++)_0x52349b<0x80?_0x5c6776[_0x52349b]=_0x52349b<<0x1:_0x5c6776[_0x52349b]=_0x52349b<<0x1^0x11b;for(var _0x558caa=0x0,_0x36f74f=0x0,_0x52349b=0x0;_0x52349b<0x100;_0x52349b++){var _0x136b03=_0x36f74f^_0x36f74f<<0x1^_0x36f74f<<0x2^_0x36f74f<<0x3^_0x36f74f<<0x4;_0x136b03=_0x136b03>>>0x8^_0x136b03&0xff^0x63,_0x466975[_0x558caa]=_0x136b03,_0x301ef2[_0x136b03]=_0x558caa;var _0x1cfd8d=_0x5c6776[_0x558caa],_0x5f066d=_0x5c6776[_0x1cfd8d],_0x60c45e=_0x5c6776[_0x5f066d],_0x142656=_0x5c6776[_0x136b03]*0x101^_0x136b03*0x1010100;_0x3409b3[_0x558caa]=_0x142656<<0x18|_0x142656>>>0x8,_0x2a9113[_0x558caa]=_0x142656<<0x10|_0x142656>>>0x10,_0x287e61[_0x558caa]=_0x142656<<0x8|_0x142656>>>0x18,_0x20acd8[_0x558caa]=_0x142656;var _0x142656=_0x60c45e*0x1010101^_0x5f066d*0x10001^_0x1cfd8d*0x101^_0x558caa*0x1010100;_0x3c582a[_0x136b03]=_0x142656<<0x18|_0x142656>>>0x8,_0xd95a1f[_0x136b03]=_0x142656<<0x10|_0x142656>>>0x10,_0x300904[_0x136b03]=_0x142656<<0x8|_0x142656>>>0x18,_0x3b7ce9[_0x136b03]=_0x142656,_0x558caa?(_0x558caa=_0x1cfd8d^_0x5c6776[_0x5c6776[_0x5c6776[_0x60c45e^_0x1cfd8d]]],_0x36f74f^=_0x5c6776[_0x5c6776[_0x36f74f]]):_0x558caa=_0x36f74f=0x1;}}());var _0x4d4e76=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xbe370f=_0x1f40bd['AES']=_0x58fed6[_0x5af824(0x48a)]({'_doReset':function(){var _0x5ad96c=_0x5af824,_0x3895ac;if(!(this[_0x5ad96c(0x2dc)]&&this[_0x5ad96c(0x36c)]===this['_key'])){for(var _0xf578=this[_0x5ad96c(0x36c)]=this[_0x5ad96c(0x1ba)],_0x85ef0=_0xf578['words'],_0x34cf48=_0xf578[_0x5ad96c(0x34b)]/0x4,_0xb8a6e0=this[_0x5ad96c(0x2dc)]=_0x34cf48+0x6,_0x6b506c=(_0xb8a6e0+0x1)*0x4,_0x49a889=this[_0x5ad96c(0x2d8)]=[],_0x265bda=0x0;_0x265bda<_0x6b506c;_0x265bda++)_0x265bda<_0x34cf48?_0x49a889[_0x265bda]=_0x85ef0[_0x265bda]:(_0x3895ac=_0x49a889[_0x265bda-0x1],_0x265bda%_0x34cf48?_0x34cf48>0x6&&_0x265bda%_0x34cf48==0x4&&(_0x3895ac=_0x466975[_0x3895ac>>>0x18]<<0x18|_0x466975[_0x3895ac>>>0x10&0xff]<<0x10|_0x466975[_0x3895ac>>>0x8&0xff]<<0x8|_0x466975[_0x3895ac&0xff]):(_0x3895ac=_0x3895ac<<0x8|_0x3895ac>>>0x18,_0x3895ac=_0x466975[_0x3895ac>>>0x18]<<0x18|_0x466975[_0x3895ac>>>0x10&0xff]<<0x10|_0x466975[_0x3895ac>>>0x8&0xff]<<0x8|_0x466975[_0x3895ac&0xff],_0x3895ac^=_0x4d4e76[_0x265bda/_0x34cf48|0x0]<<0x18),_0x49a889[_0x265bda]=_0x49a889[_0x265bda-_0x34cf48]^_0x3895ac);for(var _0x465949=this[_0x5ad96c(0x30d)]=[],_0x4e621d=0x0;_0x4e621d<_0x6b506c;_0x4e621d++){var _0x265bda=_0x6b506c-_0x4e621d;if(_0x4e621d%0x4)var _0x3895ac=_0x49a889[_0x265bda];else var _0x3895ac=_0x49a889[_0x265bda-0x4];_0x4e621d<0x4||_0x265bda<=0x4?_0x465949[_0x4e621d]=_0x3895ac:_0x465949[_0x4e621d]=_0x3c582a[_0x466975[_0x3895ac>>>0x18]]^_0xd95a1f[_0x466975[_0x3895ac>>>0x10&0xff]]^_0x300904[_0x466975[_0x3895ac>>>0x8&0xff]]^_0x3b7ce9[_0x466975[_0x3895ac&0xff]];}}},'encryptBlock':function(_0x3d43e7,_0x3e4c95){var _0x1dfdfa=_0x5af824;this[_0x1dfdfa(0x4a9)](_0x3d43e7,_0x3e4c95,this[_0x1dfdfa(0x2d8)],_0x3409b3,_0x2a9113,_0x287e61,_0x20acd8,_0x466975);},'decryptBlock':function(_0x203b8a,_0x56e641){var _0x32eb41=_0x5af824,_0x2cc86d=_0x203b8a[_0x56e641+0x1];_0x203b8a[_0x56e641+0x1]=_0x203b8a[_0x56e641+0x3],_0x203b8a[_0x56e641+0x3]=_0x2cc86d,this[_0x32eb41(0x4a9)](_0x203b8a,_0x56e641,this['_invKeySchedule'],_0x3c582a,_0xd95a1f,_0x300904,_0x3b7ce9,_0x301ef2);var _0x2cc86d=_0x203b8a[_0x56e641+0x1];_0x203b8a[_0x56e641+0x1]=_0x203b8a[_0x56e641+0x3],_0x203b8a[_0x56e641+0x3]=_0x2cc86d;},'_doCryptBlock':function(_0x3b3119,_0x2dd690,_0x2c8a39,_0x39fa5e,_0x429494,_0x45f773,_0x24e5d1,_0x3e8bf0){var _0x4afa54=_0x5af824;for(var _0x4d5c98=this[_0x4afa54(0x2dc)],_0x1e04df=_0x3b3119[_0x2dd690]^_0x2c8a39[0x0],_0x5a8c3e=_0x3b3119[_0x2dd690+0x1]^_0x2c8a39[0x1],_0x5c0da3=_0x3b3119[_0x2dd690+0x2]^_0x2c8a39[0x2],_0x3a1ea1=_0x3b3119[_0x2dd690+0x3]^_0x2c8a39[0x3],_0x2eaefe=0x4,_0x34caf2=0x1;_0x34caf2<_0x4d5c98;_0x34caf2++){var _0x35d97c=_0x39fa5e[_0x1e04df>>>0x18]^_0x429494[_0x5a8c3e>>>0x10&0xff]^_0x45f773[_0x5c0da3>>>0x8&0xff]^_0x24e5d1[_0x3a1ea1&0xff]^_0x2c8a39[_0x2eaefe++],_0x57c5b7=_0x39fa5e[_0x5a8c3e>>>0x18]^_0x429494[_0x5c0da3>>>0x10&0xff]^_0x45f773[_0x3a1ea1>>>0x8&0xff]^_0x24e5d1[_0x1e04df&0xff]^_0x2c8a39[_0x2eaefe++],_0x33f8dc=_0x39fa5e[_0x5c0da3>>>0x18]^_0x429494[_0x3a1ea1>>>0x10&0xff]^_0x45f773[_0x1e04df>>>0x8&0xff]^_0x24e5d1[_0x5a8c3e&0xff]^_0x2c8a39[_0x2eaefe++],_0x30b027=_0x39fa5e[_0x3a1ea1>>>0x18]^_0x429494[_0x1e04df>>>0x10&0xff]^_0x45f773[_0x5a8c3e>>>0x8&0xff]^_0x24e5d1[_0x5c0da3&0xff]^_0x2c8a39[_0x2eaefe++];_0x1e04df=_0x35d97c,_0x5a8c3e=_0x57c5b7,_0x5c0da3=_0x33f8dc,_0x3a1ea1=_0x30b027;}var _0x35d97c=(_0x3e8bf0[_0x1e04df>>>0x18]<<0x18|_0x3e8bf0[_0x5a8c3e>>>0x10&0xff]<<0x10|_0x3e8bf0[_0x5c0da3>>>0x8&0xff]<<0x8|_0x3e8bf0[_0x3a1ea1&0xff])^_0x2c8a39[_0x2eaefe++],_0x57c5b7=(_0x3e8bf0[_0x5a8c3e>>>0x18]<<0x18|_0x3e8bf0[_0x5c0da3>>>0x10&0xff]<<0x10|_0x3e8bf0[_0x3a1ea1>>>0x8&0xff]<<0x8|_0x3e8bf0[_0x1e04df&0xff])^_0x2c8a39[_0x2eaefe++],_0x33f8dc=(_0x3e8bf0[_0x5c0da3>>>0x18]<<0x18|_0x3e8bf0[_0x3a1ea1>>>0x10&0xff]<<0x10|_0x3e8bf0[_0x1e04df>>>0x8&0xff]<<0x8|_0x3e8bf0[_0x5a8c3e&0xff])^_0x2c8a39[_0x2eaefe++],_0x30b027=(_0x3e8bf0[_0x3a1ea1>>>0x18]<<0x18|_0x3e8bf0[_0x1e04df>>>0x10&0xff]<<0x10|_0x3e8bf0[_0x5a8c3e>>>0x8&0xff]<<0x8|_0x3e8bf0[_0x5c0da3&0xff])^_0x2c8a39[_0x2eaefe++];_0x3b3119[_0x2dd690]=_0x35d97c,_0x3b3119[_0x2dd690+0x1]=_0x57c5b7,_0x3b3119[_0x2dd690+0x2]=_0x33f8dc,_0x3b3119[_0x2dd690+0x3]=_0x30b027;},'keySize':0x100/0x20});_0x5c62d8['AES']=_0x58fed6[_0x5af824(0x268)](_0xbe370f);}()),_0x5e0d08[_0x2ce3dc(0x313)];}));}(Ve)),Ve[_0x1cd0b4(0x2df)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x4ac54c(0x2df)],si;function Rn(){var _0xd71a3f=_0x4ac54c;return si||(si=0x1,function(_0x272e0f,_0x3f3bc5){(function(_0x37010d,_0x11c115){_0x272e0f['exports']=_0x11c115(te());}(Cn,function(_0x3ae89a){var _0x533fa0=_0x6f14;return _0x3ae89a['enc'][_0x533fa0(0x3a2)];}));}(Xe)),Xe[_0xd71a3f(0x2df)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze['exports'],ni;function Nn(){var _0x4db256=_0x4ac54c;return ni||(ni=0x1,function(_0x9add67,_0x112ae0){(function(_0x3811c6,_0x4ea7cf){var _0x34e6cc=_0x6f14;_0x9add67[_0x34e6cc(0x2df)]=_0x4ea7cf(te());}(yn,function(_0x24f31c){var _0x15cee4=_0x6f14;return(function(){var _0x26ef69=_0x6f14;if(typeof ArrayBuffer==_0x26ef69(0x31d)){var _0xafd334=_0x24f31c,_0x5462c5=_0xafd334[_0x26ef69(0x2c2)],_0x433f41=_0x5462c5[_0x26ef69(0x46f)],_0x3c55f6=_0x433f41['init'],_0x4f83ac=_0x433f41[_0x26ef69(0x3fe)]=function(_0x5611a5){var _0x14e1ae=_0x26ef69;if(_0x5611a5 instanceof ArrayBuffer&&(_0x5611a5=new Uint8Array(_0x5611a5)),(_0x5611a5 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5611a5 instanceof Uint8ClampedArray||_0x5611a5 instanceof Int16Array||_0x5611a5 instanceof Uint16Array||_0x5611a5 instanceof Int32Array||_0x5611a5 instanceof Uint32Array||_0x5611a5 instanceof Float32Array||_0x5611a5 instanceof Float64Array)&&(_0x5611a5=new Uint8Array(_0x5611a5['buffer'],_0x5611a5[_0x14e1ae(0x4ad)],_0x5611a5[_0x14e1ae(0x2ee)])),_0x5611a5 instanceof Uint8Array){for(var _0xaa0bd6=_0x5611a5['byteLength'],_0x58b1ce=[],_0x15f2c2=0x0;_0x15f2c2<_0xaa0bd6;_0x15f2c2++)_0x58b1ce[_0x15f2c2>>>0x2]|=_0x5611a5[_0x15f2c2]<<0x18-_0x15f2c2%0x4*0x8;_0x3c55f6[_0x14e1ae(0x2c5)](this,_0x58b1ce,_0xaa0bd6);}else _0x3c55f6[_0x14e1ae(0x332)](this,arguments);};_0x4f83ac['prototype']=_0x433f41;}}()),_0x24f31c[_0x15cee4(0x2c2)][_0x15cee4(0x46f)];}));}(Ze)),Ze[_0x4db256(0x2df)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe['exports'],ri;function wn(){var _0x221e00=_0x4ac54c;return ri||(ri=0x1,function(_0x5ee607,_0x2b83af){(function(_0x5f0548,_0x59a412,_0x36de0d){var _0x4e16e7=_0x6f14;_0x5ee607[_0x4e16e7(0x2df)]=_0x59a412(te(),bi());}(An,function(_0x16d24c){var _0x19974e=_0x6f14;return _0x16d24c['pad'][_0x19974e(0x26b)]={'pad':function(){},'unpad':function(){}},_0x16d24c[_0x19974e(0x441)][_0x19974e(0x26b)];}));}(Qe)),Qe[_0x221e00(0x2df)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x12430d,_0x23f5fe){var _0xca396d=_0x4ac54c;const _0x23293a=_0x23f5fe-_0x12430d['length']%_0x23f5fe,_0x4a0833=String[_0xca396d(0x4a4)](_0x23293a)['repeat'](_0x23293a);return _0x12430d+_0x4a0833;}function xn(_0xad55ac,_0x17ea83){var _0x33a5fa=_0x4ac54c;const _0x5df33d=Un['random'](0x10),_0x1f9d81=Ln(_0xad55ac,0x10),_0xa909db=In[_0x33a5fa(0x340)](bn['parse'](_0x1f9d81),ii[_0x33a5fa(0x1f7)](_0x17ea83),{'iv':_0x5df33d,'padding':Mn});return _0x5df33d[_0x33a5fa(0x3ae)](_0xa909db[_0x33a5fa(0x421)])[_0x33a5fa(0x337)](ii);}function kn(){var _0x4d8d20=_0x4ac54c;const _0x3cde6f=_0xa014fa()[_0x4d8d20(0x4aa)];if(_0x3cde6f){const _0x5923a1={'time':Math['floor'](Date[_0x4d8d20(0x325)]()/0x3e8),'domain':location['hostname']};return xn(JSON[_0x4d8d20(0x31c)](_0x5923a1),_0x3cde6f);}}var $n=Object[_0x4ac54c(0x45f)],Hn=(_0x3290fc,_0x404df9,_0x55a74a,_0x4f8c70)=>{var _0x597258=_0x4ac54c;for(var _0x15a6e8=_0x4f8c70>0x1?void 0x0:_0x4f8c70?$n(_0x404df9,_0x55a74a):_0x404df9,_0x12055b=_0x3290fc[_0x597258(0x413)]-0x1,_0x24cc90;_0x12055b>=0x0;_0x12055b--)(_0x24cc90=_0x3290fc[_0x12055b])&&(_0x15a6e8=_0x24cc90(_0x15a6e8)||_0x15a6e8);return _0x15a6e8;},Bn=(_0x26843b,_0x25245f)=>(_0x71cfbc,_0x453128)=>_0x25245f(_0x71cfbc,_0x453128,_0x26843b);let at=class{constructor(_0x336dd6){var _0x2d2c13=_0x4ac54c;this['_httpService']=_0x336dd6,this[_0x2d2c13(0x49c)]();}[_0x4ac54c(0x49c)](){var _0xc59992=_0x4ac54c;this[_0xc59992(0x1c7)][_0xc59992(0x3f7)]({'interceptor':(_0x406c3c,_0x2d7d88)=>{var _0x332044=_0xc59992;const _0x1230f0=_0x406c3c[_0x332044(0x22d)],_0x1b48e8=kn();return _0x1b48e8&&_0x1230f0[_0x332044(0x232)](_0x332044(0x28e),_0x1b48e8),_0x2d7d88(_0x406c3c);}});}};at=Hn([Bn(0x0,_0x22f569(_0x42880f))],at);var jn=Object[_0x4ac54c(0x45f)],Fn=(_0x571864,_0x4393b9,_0x575e16,_0x145cd2)=>{var _0x47420a=_0x4ac54c;for(var _0x1413ee=_0x145cd2>0x1?void 0x0:_0x145cd2?jn(_0x4393b9,_0x575e16):_0x4393b9,_0x577d41=_0x571864[_0x47420a(0x413)]-0x1,_0x219020;_0x577d41>=0x0;_0x577d41--)(_0x219020=_0x571864[_0x577d41])&&(_0x1413ee=_0x219020(_0x1413ee)||_0x1413ee);return _0x1413ee;},vt=(_0x265048,_0x2d87e1)=>(_0x40be6f,_0x333068)=>_0x2d87e1(_0x40be6f,_0x333068,_0x265048);let Ct=class extends _0x2ed3e7{constructor(_0x136cde,_0x353e41,_0x10eaae){var _0x5b830a=_0x4ac54c;super(),N(this,_0x5b830a(0x3d2),new _0x163373(null)),N(this,'unitInfo$',this['_unitInfo$']['asObservable']()),(this[_0x5b830a(0x1fe)]=_0x136cde,this[_0x5b830a(0x2e7)]=_0x353e41,this[_0x5b830a(0x2b0)]=_0x10eaae);}async['loadUnitOfRevision'](_0x23c103,_0x430057,_0x3fe023){var _0x3d9139=_0x4ac54c;this[_0x3d9139(0x3d2)]['next']({'unitId':_0x23c103,'type':_0x430057});let _0x34f8f5=null;switch(_0x430057){case Z[_0x3d9139(0x36e)]:{_0x34f8f5=await this[_0x3d9139(0x2e7)][_0x3d9139(0x49e)](_0x23c103,_0x3fe023);break;}case Z[_0x3d9139(0x4ac)]:{_0x34f8f5=await this[_0x3d9139(0x2e7)]['loadDoc'](_0x23c103,_0x3fe023);break;}default:{this[_0x3d9139(0x1fe)][_0x3d9139(0x1d1)](_0x3d9139(0x221),_0x3d9139(0x2f1));break;}}return _0x34f8f5;}async[_0x4ac54c(0x40e)](_0x17ff92,_0x2cbcf3,_0x5727e6){var _0x478516=_0x4ac54c,_0x366b96;this[_0x478516(0x3d2)][_0x478516(0x3db)]({'unitId':_0x17ff92,'type':_0x2cbcf3,'subUnitId':_0x5727e6});let _0x143a16=0x0;const _0x3e4383=await((_0x366b96=this[_0x478516(0x2b0)])==null?void 0x0:_0x366b96[_0x478516(0x3ce)](_0x17ff92));return _0x3e4383&&(_0x3e4383[_0x478516(0x38a)]||_0x3e4383[_0x478516(0x39c)][_0x478516(0x413)]!==0x0)&&(_0x143a16=_0x3e4383['rev']),_0x143a16===0x0&&this['_logService'][_0x478516(0x1ff)](_0x478516(0x221),_0x478516(0x1de)),this['loadUnitOfRevision'](_0x17ff92,_0x2cbcf3,_0x143a16);}};Ct=Fn([vt(0x0,_0x14cccc),vt(0x1,_0x22f569(_0x52899b)),vt(0x2,_0x102f44(J))],Ct);var Vn=Object['getOwnPropertyDescriptor'],Wn=(_0x5ce640,_0x3ddfbd,_0x295681,_0x52e6f7)=>{var _0x316912=_0x4ac54c;for(var _0x1f7af2=_0x52e6f7>0x1?void 0x0:_0x52e6f7?Vn(_0x3ddfbd,_0x295681):_0x3ddfbd,_0x245641=_0x5ce640[_0x316912(0x413)]-0x1,_0x3c0cda;_0x245641>=0x0;_0x245641--)(_0x3c0cda=_0x5ce640[_0x245641])&&(_0x1f7af2=_0x3c0cda(_0x1f7af2)||_0x1f7af2);return _0x1f7af2;},pt=(_0x351644,_0x2df497)=>(_0x1c7628,_0x2c186a)=>_0x2df497(_0x1c7628,_0x2c186a,_0x351644);const Gn=[_0x4ac54c(0x31e),_0x4ac54c(0x2f5),_0x4ac54c(0x3c2),_0x4ac54c(0x271),_0x4ac54c(0x3fb)],Yn=0x5*0x400*0x400,Kn=_0x4ac54c(0x477),qn=_0x4ac54c(0x42d);let Rt=class{constructor(_0x12b478,_0x2ff67a,_0x2056c0){var _0x58eb6b=_0x4ac54c;N(this,'_waitCount',0x0),N(this,_0x58eb6b(0x346),new _0x5375c5()),N(this,_0x58eb6b(0x469),this[_0x58eb6b(0x346)]),N(this,_0x58eb6b(0x27f),new Map()),(this[_0x58eb6b(0x1c7)]=_0x12b478,this['_configService']=_0x2ff67a,this['_univerInstanceService']=_0x2056c0);}[_0x4ac54c(0x483)](_0x15f5b0){var _0x4718ef=_0x4ac54c;this['_waitCount']=_0x15f5b0,this[_0x4718ef(0x346)][_0x4718ef(0x3db)](_0x15f5b0);}[_0x4ac54c(0x35d)](_0x3d87ff,_0x1c2d7e){var _0x6cdaec=_0x4ac54c;if(_0x1c2d7e===_0x732fa6['BASE64']){const _0x4faeb8=new Image();return _0x4faeb8[_0x6cdaec(0x202)]=_0x3d87ff,_0x4faeb8;}return this['_imageSourceCache'][_0x6cdaec(0x307)](_0x3d87ff);}[_0x4ac54c(0x1f1)](_0x10cd6,_0x12fff6,_0x23ef41){var _0x3b3178=_0x4ac54c;_0x12fff6===_0x732fa6[_0x3b3178(0x418)]||_0x23ef41==null||this[_0x3b3178(0x27f)][_0x3b3178(0x232)](_0x10cd6,_0x23ef41);}async['getImage'](_0x8aa907){var _0x4530cb=_0x4ac54c;try{const _0x4e2b0c=this[_0x4530cb(0x390)](this[_0x4530cb(0x300)](),''+_0x8aa907),_0x12c541=(await this[_0x4530cb(0x1c7)][_0x4530cb(0x307)](_0x4e2b0c))[_0x4530cb(0x41c)];if(_0x12c541[_0x4530cb(0x1d1)]&&_0x12c541[_0x4530cb(0x1d1)]['code']===vi['OK']){const _0x3da735=new URL(_0x12c541[_0x4530cb(0x479)],this[_0x4530cb(0x1e7)]())[_0x4530cb(0x337)]();return Promise[_0x4530cb(0x1d4)](_0x3da735);}return Promise[_0x4530cb(0x1df)](_0x12c541[_0x4530cb(0x1d1)]);}catch(_0x5a19b4){return Promise[_0x4530cb(0x1df)](_0x5a19b4);}}async[_0x4ac54c(0x35e)](_0x54d56f){var _0x376f64=_0x4ac54c;let _0x32d35e='';if(!Gn[_0x376f64(0x4ae)](_0x54d56f[_0x376f64(0x444)]))return this['_decreaseWaiting'](),Promise[_0x376f64(0x1df)](new Error(_0x4940a0[_0x376f64(0x2de)]));if(_0x54d56f['size']>Yn)return this[_0x376f64(0x360)](),Promise[_0x376f64(0x1df)](new Error(_0x4940a0['ERROR_EXCEED_SIZE']));try{const _0x5ef4f0=new FormData();_0x5ef4f0[_0x376f64(0x457)](_0x376f64(0x3da),_0x54d56f);const _0x4df0ea=this['_univerInstanceService'][_0x376f64(0x3f5)](),_0x1e7885=_0x4df0ea==null?void 0x0:_0x4df0ea[_0x376f64(0x3b6)]();if(!_0x1e7885)throw new Error('unitId\x20is\x20not\x20found');const _0x456fd2=this['_getUploadFileURL']()+'?size='+_0x54d56f[_0x376f64(0x213)][_0x376f64(0x337)]()+_0x376f64(0x432)+pi[_0x376f64(0x357)]+_0x376f64(0x262)+encodeURIComponent(_0x1e7885),_0x122c6b={'body':_0x5ef4f0},_0x9a56f=(await this[_0x376f64(0x1c7)][_0x376f64(0x2d7)](_0x456fd2,_0x122c6b))[_0x376f64(0x41c)];if(typeof _0x9a56f[_0x376f64(0x42a)]!=_0x376f64(0x25d))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x4940a0['ERROR_IMAGE']));_0x32d35e=_0x9a56f[_0x376f64(0x42a)];}catch{return this[_0x376f64(0x360)](),Promise[_0x376f64(0x1df)](new Error(_0x4940a0[_0x376f64(0x21a)]));}return new Promise((_0x536ef2,_0x3d514e)=>{var _0x55ac61=_0x376f64;const _0x5838c8=new FileReader();_0x5838c8['readAsDataURL'](_0x54d56f),_0x5838c8[_0x55ac61(0x302)]=_0x5003b1=>{var _0x3e4ee8=_0x55ac61,_0x87a52;const _0x420ba3=(_0x87a52=_0x5003b1['target'])==null?void 0x0:_0x87a52[_0x3e4ee8(0x1c8)];if(_0x420ba3==null){this[_0x3e4ee8(0x360)](),_0x3d514e(new Error(_0x4940a0[_0x3e4ee8(0x21a)]));return;}const _0x5657e5=_0x3820c7(0x6);_0x536ef2({'imageId':_0x5657e5,'imageSourceType':_0x732fa6[_0x3e4ee8(0x3e8)],'source':_0x32d35e,'base64Cache':_0x420ba3,'status':_0x4940a0[_0x3e4ee8(0x391)]}),this[_0x3e4ee8(0x360)]();};});}[_0x4ac54c(0x266)](){var _0x4db3df=_0x4ac54c,_0x306114;const _0x4e0329=this[_0x4db3df(0x1c5)][_0x4db3df(0x230)](K);return(_0x306114=_0x4e0329==null?void 0x0:_0x4e0329[_0x4db3df(0x311)])!=null?_0x306114:Kn;}[_0x4ac54c(0x300)](){var _0x445a15=_0x4ac54c,_0x102119;const _0x641b43=this[_0x445a15(0x1c5)][_0x445a15(0x230)](K);return(_0x102119=_0x641b43==null?void 0x0:_0x641b43[_0x445a15(0x3e2)])!=null?_0x102119:qn;}[_0x4ac54c(0x1e7)](){var _0x408a7c=_0x4ac54c,_0x37bb9d;const _0x2deea4=this[_0x408a7c(0x1c5)][_0x408a7c(0x230)](K);return(_0x37bb9d=_0x2deea4==null?void 0x0:_0x2deea4[_0x408a7c(0x1cf)])!=null?_0x37bb9d:location[_0x408a7c(0x3a6)];}[_0x4ac54c(0x390)](_0x219dff,_0x1d5299){var _0x1ef223=_0x4ac54c;return _0x219dff[_0x1ef223(0x2c4)](_0x1ef223(0x3cb),_0x1d5299);}[_0x4ac54c(0x360)](){var _0xbab5b3=_0x4ac54c;this['_waitCount']-=0x1,this[_0xbab5b3(0x346)][_0xbab5b3(0x3db)](this[_0xbab5b3(0x246)]);}};Rt=Wn([pt(0x0,_0x22f569(_0x42880f)),pt(0x1,_0x5c33eb),pt(0x2,_0x22f569(_0x5a7d2b))],Rt);var zn=Object['getOwnPropertyDescriptor'],Jn=(_0x3c1b70,_0x5dec1c,_0x3140ed,_0x3f990e)=>{var _0x3a4230=_0x4ac54c;for(var _0x1f6f36=_0x3f990e>0x1?void 0x0:_0x3f990e?zn(_0x5dec1c,_0x3140ed):_0x5dec1c,_0x4d66ef=_0x3c1b70[_0x3a4230(0x413)]-0x1,_0x136f55;_0x4d66ef>=0x0;_0x4d66ef--)(_0x136f55=_0x3c1b70[_0x4d66ef])&&(_0x1f6f36=_0x136f55(_0x1f6f36)||_0x1f6f36);return _0x1f6f36;},ai=(_0x599f2,_0x56cf1d)=>(_0x388aa5,_0x2ee7b6)=>_0x56cf1d(_0x388aa5,_0x2ee7b6,_0x599f2);const Xn=_0x4ac54c(0x2c0);let Ot=class{constructor(_0x3bf1cd,_0x5f14e1){this['_configService']=_0x3bf1cd,this['_HTTPService']=_0x5f14e1;}[_0x4ac54c(0x2e9)](){var _0x2426bb=_0x4ac54c,_0x14dde1;const _0x854d26=this[_0x2426bb(0x1c5)]['getConfig'](K);return(_0x14dde1=_0x854d26==null?void 0x0:_0x854d26[_0x2426bb(0x3b4)])!=null?_0x14dde1:Xn;}async[_0x4ac54c(0x2aa)](_0xb3f175){var _0x1fb2bc=_0x4ac54c;const _0x2ffcdf=this[_0x1fb2bc(0x2e9)]()+_0x1fb2bc(0x227);return{'list':[{'title':_0x1fb2bc(0x39b),'mentions':(await this[_0x1fb2bc(0x350)][_0x1fb2bc(0x307)](_0x2ffcdf,{'params':{'objectID':_0xb3f175[_0x1fb2bc(0x36d)],'unitID':_0xb3f175[_0x1fb2bc(0x36d)]}}))[_0x1fb2bc(0x41c)][_0x1fb2bc(0x45d)][_0x1fb2bc(0x20f)](_0x307ef0=>({'objectId':_0x307ef0['id'],'name':_0x307ef0[_0x1fb2bc(0x1da)]['name'],'metadata':{'icon':_0x307ef0[_0x1fb2bc(0x1da)][_0x1fb2bc(0x481)]},'label':_0x307ef0['subject']['name'],'objectType':_0x231101[_0x1fb2bc(0x33e)]})),'metadata':{},'type':_0x231101[_0x1fb2bc(0x33e)]}]};}};Ot=Jn([ai(0x0,_0x22f569(_0x5c33eb)),ai(0x1,_0x22f569(_0x42880f))],Ot);var Zn=Object[_0x4ac54c(0x45f)],Qn=(_0xa6f375,_0x8db22d,_0x2a2081,_0x434c7f)=>{var _0x1710cb=_0x4ac54c;for(var _0x2b1466=_0x434c7f>0x1?void 0x0:_0x434c7f?Zn(_0x8db22d,_0x2a2081):_0x8db22d,_0x493429=_0xa6f375[_0x1710cb(0x413)]-0x1,_0xdbc8c8;_0x493429>=0x0;_0x493429--)(_0xdbc8c8=_0xa6f375[_0x493429])&&(_0x2b1466=_0xdbc8c8(_0x2b1466)||_0x2b1466);return _0x2b1466;},Ue=(_0x599fc6,_0xbfd0b7)=>(_0x33e722,_0x335dac)=>_0xbfd0b7(_0x33e722,_0x335dac,_0x599fc6);let ot=class extends _0x2ed3e7{constructor(_0x41a11c,_0x52afbf,_0x148135,_0x87b25a,_0x235fc6){var _0x420999=_0x4ac54c;super(),this[_0x420999(0x1e4)]=_0x41a11c,this[_0x420999(0x33d)]=_0x52afbf,this[_0x420999(0x354)]=_0x148135,this[_0x420999(0x30b)]=_0x87b25a,this['_collaborationUIEventService']=_0x235fc6,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x4ac54c(0x372)](){var _0x101f95=_0x4ac54c;const _0x15c33f=async _0x99bf5c=>{var _0x203b14=_0x6f14;(await this[_0x203b14(0x30b)][_0x203b14(0x1c9)](_0x99bf5c))[_0x203b14(0x3ff)][_0x203b14(0x3b9)](_0x5969e6(_0x516389=>_0x516389[_0x203b14(0x28f)]===_0x5f303b['SHOULD_CLOSE_CONN']),_0x590678(this['dispose$']))['subscribe'](_0x36d962=>{var _0x334ecb=_0x203b14;const _0x1afd8f=_0x36d962,{reason:_0x35c0b8}=_0x1afd8f[_0x334ecb(0x435)];this[_0x334ecb(0x4a2)][_0x334ecb(0x4a1)]({'id':ne['CLOSE_ROOM'],'data':_0x35c0b8}),this[_0x334ecb(0x354)][_0x334ecb(0x478)](new _0x3725ec(_0x99bf5c)['id'],!0x1),this[_0x334ecb(0x30b)][_0x334ecb(0x1cb)](_0x99bf5c);});};_0x17798d(this[_0x101f95(0x33d)]['getTypeOfUnitAdded$'](_0xfccf72[_0x101f95(0x36e)]),this[_0x101f95(0x33d)][_0x101f95(0x2c1)](_0xfccf72[_0x101f95(0x4ac)]))[_0x101f95(0x3b9)](_0x579e0d(_0x399b53=>_0x399b53[_0x101f95(0x3b6)]()),_0x5969e6(_0x206292=>!_0x59816b(_0x206292)),_0x590678(this[_0x101f95(0x289)]))[_0x101f95(0x356)](_0xf11fd5=>{_0x15c33f(_0xf11fd5);});}[_0x4ac54c(0x3dc)](){var _0x49c2c7=_0x4ac54c;const _0x8373d8=async _0x5bc408=>{var _0x183bd7=_0x6f14;const _0x3a4e93=await this['_collaborationSessionService'][_0x183bd7(0x1c9)](_0x5bc408),_0x360233=this[_0x183bd7(0x1e4)]['get'](_0x3be323);_0x3a4e93[_0x183bd7(0x3ff)]['pipe'](_0x5969e6(_0x7b81a5=>_0x7b81a5['eventID']===_0x5f303b[_0x183bd7(0x2b1)]),_0x590678(this[_0x183bd7(0x289)]))[_0x183bd7(0x356)](_0x29366d=>{var _0x232f70=_0x183bd7;const _0x2b9f90=_0x29366d,{objectId:_0x245083}=_0x2b9f90['data'];_0x245083===_0x5bc408?_0x360233[_0x232f70(0x218)](_0x5bc408):_0x360233[_0x232f70(0x45e)](_0x5bc408,_0x245083);});};_0x17798d(this[_0x49c2c7(0x33d)][_0x49c2c7(0x2c1)](_0xfccf72['UNIVER_SHEET']))[_0x49c2c7(0x3b9)](_0x579e0d(_0x345b86=>_0x345b86[_0x49c2c7(0x3b6)]()),_0x5969e6(_0x32db7a=>!_0x59816b(_0x32db7a)),_0x590678(this[_0x49c2c7(0x289)]))[_0x49c2c7(0x356)](_0x10aa58=>{_0x8373d8(_0x10aa58);});}};ot=Qn([Ue(0x0,_0x22f569(_0x358553)),Ue(0x1,_0x5a7d2b),Ue(0x2,_0x4d07a8),Ue(0x3,_0x22f569(Pe)),Ue(0x4,_0x22f569(ve))],ot);var er=Object['getOwnPropertyDescriptor'],tr=(_0x21b28d,_0x27e057,_0x50ca57,_0x23f95a)=>{var _0xc0ead9=_0x4ac54c;for(var _0x38690a=_0x23f95a>0x1?void 0x0:_0x23f95a?er(_0x27e057,_0x50ca57):_0x27e057,_0x4dd822=_0x21b28d[_0xc0ead9(0x413)]-0x1,_0x2f62a3;_0x4dd822>=0x0;_0x4dd822--)(_0x2f62a3=_0x21b28d[_0x4dd822])&&(_0x38690a=_0x2f62a3(_0x38690a)||_0x38690a);return _0x38690a;},oi=(_0x3564eb,_0x22c3d2)=>(_0x141662,_0x4da3e2)=>_0x22c3d2(_0x141662,_0x4da3e2,_0x3564eb);let bt=class{constructor(_0x3a0f9a,_0x4dde41){var _0x1aae81=_0x4ac54c;this[_0x1aae81(0x1c5)]=_0x3a0f9a,this[_0x1aae81(0x1c7)]=_0x4dde41;}async[_0x4ac54c(0x458)](_0x341100,_0x112da2){var _0x17906e=_0x4ac54c,_0x387cfa;const {unitID:_0x3e0997,type:_0x3e76d1,revision:_0x5da424=0x0}=_0x112da2,_0x3a1769=this[_0x17906e(0x4c1)]()+'/'+_0x3e76d1+_0x17906e(0x31a)+_0x3e0997+_0x17906e(0x333)+_0x5da424,_0x2ba9f0=(await this['_httpService'][_0x17906e(0x307)](_0x3a1769))[_0x17906e(0x41c)],_0x1f79ff=(_0x387cfa=_0x2ba9f0[_0x17906e(0x440)])==null?void 0x0:_0x387cfa[_0x17906e(0x47c)];if(_0x1f79ff){const _0x5c98ea=_0x1f79ff==null?void 0x0:_0x1f79ff['originalMeta'],_0x1fac62=_0xfde971[_0x17906e(0x281)](_0xf5286b(_0x5c98ea));_0x1f79ff[_0x17906e(0x1ca)]=_0x1fac62,Object['entries'](_0x1f79ff[_0x17906e(0x4ab)])[_0x17906e(0x392)](([,_0x276da4])=>{var _0xc8f2f1=_0x17906e;const _0x491e7b=_0x276da4[_0xc8f2f1(0x1ca)],_0x20b726=_0xfde971[_0xc8f2f1(0x281)](_0xf5286b(_0x491e7b));_0x276da4['originalMeta']=_0x20b726;});}return _0x2ba9f0;}async[_0x4ac54c(0x424)](_0xd92d14,_0x185779){var _0x5e2ed4=_0x4ac54c;const {unitID:_0x3ce243,type:_0x28755d,blockID:_0x27ebd6}=_0x185779,_0xae9c9c=this['_getAPIPrefix']()+'/'+_0x28755d+_0x5e2ed4(0x31a)+_0x3ce243+_0x5e2ed4(0x320)+_0x27ebd6;return(await this[_0x5e2ed4(0x1c7)][_0x5e2ed4(0x307)](_0xae9c9c))[_0x5e2ed4(0x41c)];}async[_0x4ac54c(0x2b9)](_0x420471,_0xc98e39){var _0x202b7c=_0x4ac54c;const {unitID:_0x93daeb,type:_0xd70613,blockID:_0x3c0c8a}=_0xc98e39,_0x5f4830=this[_0x202b7c(0x39d)]()+'/block/'+_0xd70613+_0x202b7c(0x31a)+_0x93daeb+_0x202b7c(0x320)+_0x3c0c8a;return(await this['_httpService'][_0x202b7c(0x307)](_0x5f4830))[_0x202b7c(0x41c)];}async[_0x4ac54c(0x1d5)](_0x328718,_0x73bf37){var _0x47c008=_0x4ac54c;const {unitID:_0x41f1a9,type:_0x5bd884,from:_0x3f87af,to:_0x3eb5e0}=_0x73bf37,_0x3b502b=this[_0x47c008(0x39d)]()+'/'+_0x5bd884+_0x47c008(0x31a)+_0x41f1a9+_0x47c008(0x496)+_0x3f87af+'&to='+_0x3eb5e0;return(await this[_0x47c008(0x1c7)][_0x47c008(0x307)](_0x3b502b))[_0x47c008(0x41c)];}[_0x4ac54c(0x4c1)](){var _0xf62d5b=_0x4ac54c,_0x59c679;return(_0x59c679=this['_configService'][_0xf62d5b(0x230)](vs))!=null?_0x59c679:this[_0xf62d5b(0x39d)]();}['_getAPIPrefix'](){var _0xcd68df=_0x4ac54c,_0x449cb6;const _0x45d75a=this[_0xcd68df(0x1c5)]['getConfig'](K);return(_0x449cb6=_0x45d75a==null?void 0x0:_0x45d75a[_0xcd68df(0x376)])!=null?_0x449cb6:fs;}async[_0x4ac54c(0x487)](_0x2ff315,_0x1ef247){var _0x2e4152=_0x4ac54c;const _0x31c4a7=_0x2e4152(0x49b)+_0x1ef247[_0x2e4152(0x444)]+_0x2e4152(0x31a)+_0x1ef247['unitID']+_0x2e4152(0x219);return(await this[_0x2e4152(0x1c7)][_0x2e4152(0x307)](_0x31c4a7,{'params':{'resourceId':JSON[_0x2e4152(0x31c)](_0x1ef247['resourceIDs'])}}))[_0x2e4152(0x41c)];}[_0x4ac54c(0x2ad)](){var _0x47cfa5=_0x4ac54c;throw new Error(_0x47cfa5(0x34e));}['updateSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4ac54c(0x30e)](){var _0x2cbe73=_0x4ac54c;throw new Error(_0x2cbe73(0x34e));}[_0x4ac54c(0x270)](){var _0x59401a=_0x4ac54c;throw new Error(_0x59401a(0x34e));}[_0x4ac54c(0x488)](){var _0x15738a=_0x4ac54c;throw new Error(_0x15738a(0x34e));}[_0x4ac54c(0x40d)](){var _0x2fade9=_0x4ac54c;throw new Error(_0x2fade9(0x34e));}};bt=tr([oi(0x0,_0x5c33eb),oi(0x1,_0x22f569(_0x42880f))],bt);var ir=Object[_0x4ac54c(0x45f)],sr=(_0x4a5d05,_0x4fdd3a,_0x14930c,_0xc66a45)=>{var _0x2d707f=_0x4ac54c;for(var _0x512081=_0xc66a45>0x1?void 0x0:_0xc66a45?ir(_0x4fdd3a,_0x14930c):_0x4fdd3a,_0x4c926d=_0x4a5d05[_0x2d707f(0x413)]-0x1,_0x448423;_0x4c926d>=0x0;_0x4c926d--)(_0x448423=_0x4a5d05[_0x4c926d])&&(_0x512081=_0x448423(_0x512081)||_0x512081);return _0x512081;},Ae=(_0x29372b,_0x5c0c52)=>(_0x1fde75,_0x350e2d)=>_0x5c0c52(_0x1fde75,_0x350e2d,_0x29372b);let yt=class extends _0x28343f{constructor(_0x2121b9,_0x9d5d88,_0x59dfdc,_0xee9512,_0x33e610){var _0x1b762c=_0x4ac54c;super(_0x2121b9,_0x9d5d88,_0x59dfdc),this[_0x1b762c(0x21e)]=_0xee9512,this['_logService']=_0x33e610;}[_0x4ac54c(0x45a)](_0x400d74,_0x5ea4d0){var _0xc9c13d=_0x4ac54c;const _0x4ca741=this[_0xc9c13d(0x2f4)](_0x400d74);if(_0x4ca741)try{const _0x188650=this['_transformStack'](_0x4ca741,_0x5ea4d0);this[_0xc9c13d(0x2ce)](_0x400d74,_0x188650);}catch(_0x263f54){this[_0xc9c13d(0x1fe)]['error'](_0xc9c13d(0x47b),_0x263f54),this['_clearUndo'](_0x400d74);}const _0x244640=this['_getRedoStack'](_0x400d74);if(_0x244640)try{const _0x11cf9c=this['_transformStack'](_0x244640,_0x5ea4d0);this[_0xc9c13d(0x4b8)](_0x400d74,_0x11cf9c);}catch(_0x1714f4){this['_logService'][_0xc9c13d(0x1d1)](_0x1714f4),this[_0xc9c13d(0x349)](_0x400d74);}}['_clearUndo'](_0x1a5ccb){var _0x20da64=_0x4ac54c;const _0x18ff43=this['_getUndoStack'](_0x1a5ccb);_0x18ff43&&(_0x18ff43[_0x20da64(0x413)]=0x0,this[_0x20da64(0x39f)]());}['_clearRedo'](_0x1123b9){var _0x20927e=_0x4ac54c;const _0x28da75=this[_0x20927e(0x2da)](_0x1123b9);_0x28da75&&(_0x28da75['length']=0x0,this['_updateStatus']());}[_0x4ac54c(0x2ce)](_0x4120d3,_0x23bf8c){var _0x2e687f=_0x4ac54c;this[_0x2e687f(0x21f)][_0x2e687f(0x232)](_0x4120d3,_0x23bf8c),this['_updateStatus']();}['_substituteRedoStack'](_0xe895b,_0x4e39bb){var _0x1ab327=_0x4ac54c;this[_0x1ab327(0x3e1)][_0x1ab327(0x232)](_0xe895b,_0x4e39bb),this['_updateStatus']();}[_0x4ac54c(0x280)](_0x2e2284,_0x20fe61){var _0x1be214=_0x4ac54c;const _0x2ffed2=[];let _0x4230a6=_0x20fe61,_0x4da713=_0x20fe61;for(let _0x52eb2e=_0x2e2284[_0x1be214(0x413)]-0x1;_0x52eb2e>=0x0;_0x52eb2e--){const {unitID:_0x19ec35,undoMutations:_0x1b5d3e,redoMutations:_0x3695b5}=_0x2e2284[_0x52eb2e],_0x33b398=this[_0x1be214(0x21e)][_0x1be214(0x292)](_0x4230a6,_0x1b5d3e),_0x361283=this['_transformService'][_0x1be214(0x292)](_0x4da713,_0x3695b5);if(_0x2af6da(_0x33b398)||_0x2af6da(_0x361283)){this[_0x1be214(0x1fe)][_0x1be214(0x1d1)](_0x1be214(0x47b),'transformStack\x20failed!',_0x33b398,_0x361283);break;}_0x4230a6=_0x33b398[_0x1be214(0x273)],_0x4da713=_0x361283[_0x1be214(0x273)],_0x2ffed2[_0x1be214(0x3d4)]({'unitID':_0x19ec35,'undoMutations':_0x33b398[_0x1be214(0x422)],'redoMutations':_0x361283['m2Prime']});}return _0x2ffed2[_0x1be214(0x216)]();}};yt=sr([Ae(0x0,_0x5a7d2b),Ae(0x1,_0x108bed),Ae(0x2,_0x38997c),Ae(0x3,_0x556a8a),Ae(0x4,_0x14cccc)],yt);var nr=Object[_0x4ac54c(0x2b3)],rr=Object['getOwnPropertyDescriptor'],ar=(_0x598457,_0x1c29f5,_0x30dcf0)=>_0x1c29f5 in _0x598457?nr(_0x598457,_0x1c29f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30dcf0}):_0x598457[_0x1c29f5]=_0x30dcf0,or=(_0x46bdfc,_0x3d7106,_0x20265d,_0x49f785)=>{var _0x2ecf10=_0x4ac54c;for(var _0x1edeb3=_0x49f785>0x1?void 0x0:_0x49f785?rr(_0x3d7106,_0x20265d):_0x3d7106,_0x5168f8=_0x46bdfc[_0x2ecf10(0x413)]-0x1,_0x34651c;_0x5168f8>=0x0;_0x5168f8--)(_0x34651c=_0x46bdfc[_0x5168f8])&&(_0x1edeb3=_0x34651c(_0x1edeb3)||_0x1edeb3);return _0x1edeb3;},mt=(_0x4e0219,_0x222e40)=>(_0x2c1371,_0x5a4a09)=>_0x222e40(_0x2c1371,_0x5a4a09,_0x4e0219),cr=(_0x1a91b0,_0x309c1d,_0x208131)=>ar(_0x1a91b0,_0x309c1d+'',_0x208131);const hr=_0x4ac54c(0x31f);function _0x6f14(_0x259034,_0x2ee67d){var _0x225fa=_0x225f();return _0x6f14=function(_0x6f146d,_0x56bef6){_0x6f146d=_0x6f146d-0x1b8;var _0x3f3732=_0x225fa[_0x6f146d];return _0x3f3732;},_0x6f14(_0x259034,_0x2ee67d);}let Nt=class extends _0x283b1e{constructor(_0x416311,_0x5f3738,_0x4eecb0,_0x1cbb3b){var _0x50f386=_0x4ac54c;super(),N(this,_0x50f386(0x306)),(this[_0x50f386(0x1fe)]=_0x5f3738,this['_injector']=_0x4eecb0,this[_0x50f386(0x1c5)]=_0x1cbb3b);const {..._0x1a7b6b}=_0x5dfe47({},Ls,_0x416311);if(!_0x1a7b6b[_0x50f386(0x447)])throw new Error(_0x50f386(0x1f8));this[_0x50f386(0x306)]=_0x1a7b6b,this['_configService']['setConfig'](K,_0x1a7b6b);}[_0x4ac54c(0x411)](){var _0xc1e368=_0x4ac54c;this[_0xc1e368(0x396)](),this[_0xc1e368(0x287)]();}[_0x4ac54c(0x396)](){var _0x571651=_0x4ac54c,_0x39f496,_0x5a7bd8;this['_injector'][_0x571651(0x3ec)](_0x263eaf)&&this['_logService'][_0x571651(0x1d1)](_0x571651(0x35f),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5b6de7=_0x5f22d3([[_0x263eaf,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this[_0x571651(0x306)]['socketService']}],[_0x127e82,{'useClass':bt}],[_0x5146ea,{'useClass':Tt}],[_0x20c1be,{'useClass':Rt}],[_0x5992b6,{'useClass':Ot}],[nt],[It]],(_0x39f496=this[_0x571651(0x306)])==null?void 0x0:_0x39f496[_0x571651(0x3f9)]);if(!((_0x5a7bd8=this[_0x571651(0x306)])!=null&&_0x5a7bd8[_0x571651(0x2ac)])){const _0x5418bf=_0x5b6de7[_0x571651(0x3b8)](([_0x3e9680])=>_0x3e9680===ht);_0x5418bf!==-0x1&&_0x5b6de7[_0x571651(0x359)](_0x5418bf,0x1);}_0x576f37(this[_0x571651(0x1e4)],_0x5b6de7);}[_0x4ac54c(0x287)](){var _0x1c3a57=_0x4ac54c,_0x26a7ef,_0xca2e9a,_0x18d188;this[_0x1c3a57(0x1e4)]['get'](_0x42880f)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x477e74({'maxParallel':0x6})}),(_0x26a7ef=this[_0x1c3a57(0x306)])!=null&&_0x26a7ef[_0x1c3a57(0x3c1)]||(_0xca2e9a=this[_0x1c3a57(0x1e4)][_0x1c3a57(0x307)](J,_0xe8222b[_0x1c3a57(0x331)]))==null||_0xca2e9a['disableLocalCache'](),(_0x18d188=this['_config'])!=null&&_0x18d188[_0x1c3a57(0x362)]&&_0x2fc673(this[_0x1c3a57(0x1e4)],[[rt]]),_0x2fc673(this[_0x1c3a57(0x1e4)],[[at],[nt],[ot]]);}};cr(Nt,_0x4ac54c(0x405),hr),Nt=or([_0x386644(_0x4a779a,_0x13a303),mt(0x1,_0x14cccc),mt(0x2,_0x22f569(_0x358553)),mt(0x3,_0x5c33eb)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Gt as CollaborationSocketService,Ei as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,mi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,gi as UnitStatus,Nt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,br as getLocalCacheKey,Vs as serializeCombRequest};
|
1
|
+
var _0x2e6e4f=_0x18c4;(function(_0x1e58de,_0x52dc2d){var _0xc4432=_0x18c4,_0x5093dd=_0x1e58de();while(!![]){try{var _0x5c2878=parseInt(_0xc4432(0x33d))/0x1*(-parseInt(_0xc4432(0x2bb))/0x2)+-parseInt(_0xc4432(0x351))/0x3+-parseInt(_0xc4432(0x3b8))/0x4*(parseInt(_0xc4432(0x41f))/0x5)+parseInt(_0xc4432(0x36b))/0x6*(-parseInt(_0xc4432(0x332))/0x7)+parseInt(_0xc4432(0x230))/0x8+-parseInt(_0xc4432(0x294))/0x9*(-parseInt(_0xc4432(0x33a))/0xa)+parseInt(_0xc4432(0x2ef))/0xb*(parseInt(_0xc4432(0x2b4))/0xc);if(_0x5c2878===_0x52dc2d)break;else _0x5093dd['push'](_0x5093dd['shift']());}catch(_0x214eb3){_0x5093dd['push'](_0x5093dd['shift']());}}}(_0x461d,0xb7e9d));var yi=Object[_0x2e6e4f(0x1f0)],Ni=(_0x5a8ad6,_0x2cb8eb,_0x34fd93)=>_0x2cb8eb in _0x5a8ad6?yi(_0x5a8ad6,_0x2cb8eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34fd93}):_0x5a8ad6[_0x2cb8eb]=_0x34fd93,N=(_0x59ee13,_0x295931,_0x2878cd)=>Ni(_0x59ee13,typeof _0x295931!=_0x2e6e4f(0x389)?_0x295931+'':_0x295931,_0x2878cd);import{CollaborationEvent as _0x583187,ITransformService as _0x3b853a,isTransformMutationsWithChangesetSuccess as _0x374759,mapDocumentTypeToUniverType as _0x334c82,RevisionService as _0x5c26d7,isTransformChangesetsSuccess as _0x251222,CompressMutationService as _0x536ca4,parseProtocolChangeset as _0x15b29a,uuidv4 as _0x583af7,ISnapshotServerService as _0x38aebc,parseChangesetToProtocol as _0x21a6f1,SnapshotService as _0x28eb5a,textEncoder as _0x4da956,b64DecodeUnicode as _0x5a8741,isTransformMutationsWithChangesetFailure as _0x5b9262,UniverCollaborationPlugin as _0x1db6f6}from'@univerjs-pro/collaboration';function _0x18c4(_0xbc6012,_0x315979){var _0x461d68=_0x461d();return _0x18c4=function(_0x18c496,_0x1e05e8){_0x18c496=_0x18c496-0x160;var _0x233d7c=_0x461d68[_0x18c496];return _0x233d7c;},_0x18c4(_0xbc6012,_0x315979);}import{IUniverInstanceService as _0x5578d7,Inject as _0x499332,UserManagerService as _0x403bb5,Disposable as _0x2a04e7,UniverInstanceType as _0x1590fe,ILogService as _0xaae47a,IConfigService as _0x3f2ca4,Optional as _0x38fa19,RxDisposable as _0x5a8474,createIdentifier as _0x54186f,Injector as _0x59b99c,Tools as _0x38d868,Rectangle as _0x183179,ICommandService as _0x4bb5bc,JSONX as _0x318169,CommandType as _0xf17343,IUndoRedoService as _0x41b341,IPermissionService as _0x4e7c61,LocaleService as _0x12aa68,sequenceExecute as _0x241690,toDisposable as _0xf96aaa,DisposableCollection as _0x573a53,Workbook as _0x29885e,generateRandomId as _0x51ed1b,MentionType as _0x31d049,isInternalEditorID as _0x4fa194,LocalUndoRedoService as _0x5eb811,IContextService as _0x137c5e,DependentOn as _0x39d591,Plugin as _0x298449,merge as _0x39b0ae,mergeOverrideWithDependencies as _0x2bb1d0,IAuthzIoService as _0x3c350a,IMentionIOService as _0x428fd8,registerDependencies as _0x1123c8,Quantity as _0x11f0b5,touchDependencies as _0x39715c}from'@univerjs/core';import{RichTextEditingMutation as _0x23b388}from'@univerjs/docs';import{SheetsSelectionsService as _0x1cd815,SetSelectionsOperation as _0x201d99,InsertSheetMutation as _0x5a1c92,EmptyMutation as _0x1730b0,WorkbookEditablePermission as _0x160a0f,SheetPermissionInitController as _0x1dfd21}from'@univerjs/sheets';import{Subject as _0x1b6f3c,merge as _0x341b50,of as _0x183e63,BehaviorSubject as _0x4a6e6f,takeUntil as _0x73e7c2,ReplaySubject as _0x4ccdcf,take as _0x12a5d2,map as _0x5d881d,shareReplay as _0xcee7d7,firstValueFrom as _0x3a0b14,concatMap as _0x44a962}from'rxjs';import{ITelemetryService as _0x3dd1cf}from'@univerjs/telemetry';import{map as _0x25bf23,take as _0x2fc297,filter as _0x3adc0f,delay as _0x66cfd2,takeUntil as _0x2bfe57}from'rxjs/operators';import{HTTPService as _0x4ef6ae,ISocketService as _0x11fae9,MergeInterceptorFactory as _0x290dd2,HTTPRequest as _0x3447ca,UniverNetworkPlugin as _0x1f1ffc,ThresholdInterceptorFactory as _0x42d4e7}from'@univerjs/network';import{ImageSourceType as _0x2d830b,ImageUploadStatusType as _0x3001d5,IImageIoService as _0x5cd80f}from'@univerjs/drawing';import{getGlobalObject as _0x470402}from'@univerjs-pro/license';const fs=_0x2e6e4f(0x353),vs='SNAPSHOT_URL_KEY',ps=0x7d0,ms=_0x2e6e4f(0x23c),Ir=_0x2e6e4f(0x371),gs='HEARTBEAT_INTERVAL',Ss=0x7530,di=_0x2e6e4f(0x37d),fi=0x4e20,Es=0x4e20,Is=_0x2e6e4f(0x1ef),Ts=0x3,Tr=_0x2e6e4f(0x34b),Cr=0x3e8,Cs='/universer-api/comb',Rs=_0x2e6e4f(0x1bc),Rr=_0x2e6e4f(0x377),Or=_0x2e6e4f(0x2c3);var vi=(_0x35e342=>(_0x35e342[_0x35e342['UNDEFINED']=0x0]=_0x2e6e4f(0x40b),_0x35e342[_0x35e342['OK']=0x1]='OK',_0x35e342[_0x35e342['INTERNAL_ERROR']=0x2]=_0x2e6e4f(0x199),_0x35e342[_0x35e342[_0x2e6e4f(0x34e)]=0x3]=_0x2e6e4f(0x34e),_0x35e342[_0x35e342[_0x2e6e4f(0x309)]=0x4]=_0x2e6e4f(0x309),_0x35e342[_0x35e342['UNAUTHENTICATED']=0x5]=_0x2e6e4f(0x37f),_0x35e342[_0x35e342['ALREADY_EXISTS']=0x6]=_0x2e6e4f(0x2ee),_0x35e342[_0x35e342[_0x2e6e4f(0x2d2)]=0x7]=_0x2e6e4f(0x2d2),_0x35e342[_0x35e342[_0x2e6e4f(0x388)]=0x8]=_0x2e6e4f(0x388),_0x35e342[_0x35e342[_0x2e6e4f(0x3da)]=0x9]=_0x2e6e4f(0x3da),_0x35e342[_0x35e342[_0x2e6e4f(0x3d3)]=0xa]=_0x2e6e4f(0x3d3),_0x35e342[_0x35e342[_0x2e6e4f(0x439)]=0xb]=_0x2e6e4f(0x439),_0x35e342[_0x35e342[_0x2e6e4f(0x1c5)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x35e342[_0x35e342[_0x2e6e4f(0x1cb)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x35e342[_0x35e342[_0x2e6e4f(0x2ca)]=0xe]=_0x2e6e4f(0x2ca),_0x35e342[_0x35e342[_0x2e6e4f(0x406)]=0x1389]=_0x2e6e4f(0x406),_0x35e342[_0x35e342['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x2e6e4f(0x349),_0x35e342[_0x35e342[_0x2e6e4f(0x1ec)]=0x1772]=_0x2e6e4f(0x1ec),_0x35e342[_0x35e342[_0x2e6e4f(0x194)]=0x1773]=_0x2e6e4f(0x194),_0x35e342[_0x35e342[_0x2e6e4f(0x347)]=0x1b59]='APPLY_REJECT',_0x35e342[_0x35e342[_0x2e6e4f(0x1b2)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x35e342[_0x35e342[_0x2e6e4f(0x3a0)]=0x1b5b]=_0x2e6e4f(0x3a0),_0x35e342[_0x35e342['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2e6e4f(0x3d0),_0x35e342[_0x35e342[_0x2e6e4f(0x46f)]=0x1b5d]='APPLY_DUPLICATED',_0x35e342[_0x35e342['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x2e6e4f(0x2b2),_0x35e342[_0x35e342[_0x2e6e4f(0x28f)]=0x2329]=_0x2e6e4f(0x28f),_0x35e342[_0x35e342['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x2e6e4f(0x2c0),_0x35e342[_0x35e342[_0x2e6e4f(0x192)]=0x232b]=_0x2e6e4f(0x192),_0x35e342[_0x35e342['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x2e6e4f(0x28b),_0x35e342[_0x35e342[_0x2e6e4f(0x427)]=0x232d]=_0x2e6e4f(0x427),_0x35e342[_0x35e342[_0x2e6e4f(0x1bd)]=0x2711]=_0x2e6e4f(0x1bd),_0x35e342[_0x35e342[_0x2e6e4f(0x29c)]=0x2712]=_0x2e6e4f(0x29c),_0x35e342[_0x35e342[_0x2e6e4f(0x2ff)]=0x2713]=_0x2e6e4f(0x2ff),_0x35e342[_0x35e342[_0x2e6e4f(0x45a)]=0x2714]=_0x2e6e4f(0x45a),_0x35e342[_0x35e342[_0x2e6e4f(0x1d7)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x35e342[_0x35e342[_0x2e6e4f(0x457)]=0x271b]=_0x2e6e4f(0x457),_0x35e342[_0x35e342[_0x2e6e4f(0x2a0)]=0x271c]=_0x2e6e4f(0x2a0),_0x35e342[_0x35e342[_0x2e6e4f(0x2cd)]=0x271d]=_0x2e6e4f(0x2cd),_0x35e342[_0x35e342[_0x2e6e4f(0x1b7)]=0x271e]=_0x2e6e4f(0x1b7),_0x35e342[_0x35e342[_0x2e6e4f(0x27d)]=0x271f]=_0x2e6e4f(0x27d),_0x35e342[_0x35e342[_0x2e6e4f(0x1b0)]=0x2720]=_0x2e6e4f(0x1b0),_0x35e342[_0x35e342['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x35e342[_0x35e342[_0x2e6e4f(0x2e3)]=0x2ee1]=_0x2e6e4f(0x2e3),_0x35e342[_0x35e342[_0x2e6e4f(0x226)]=0x2ee2]=_0x2e6e4f(0x226),_0x35e342[_0x35e342[_0x2e6e4f(0x1c8)]=0x2ee3]=_0x2e6e4f(0x1c8),_0x35e342[_0x35e342[_0x2e6e4f(0x2a1)]=0x2ee4]=_0x2e6e4f(0x2a1),_0x35e342[_0x35e342[_0x2e6e4f(0x419)]=0x2ee5]=_0x2e6e4f(0x419),_0x35e342[_0x35e342[_0x2e6e4f(0x260)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x35e342[_0x35e342[_0x2e6e4f(0x225)]=0x32ca]=_0x2e6e4f(0x225),_0x35e342[_0x35e342[_0x2e6e4f(0x2db)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x35e342[_0x35e342[_0x2e6e4f(0x42b)]=-0x1]='UNRECOGNIZED',_0x35e342))(vi||{}),Z=(_0x375758=>(_0x375758[_0x375758[_0x2e6e4f(0x3b2)]=0x0]='UNIVER_UNKNOWN',_0x375758[_0x375758[_0x2e6e4f(0x44d)]=0x1]=_0x2e6e4f(0x44d),_0x375758[_0x375758[_0x2e6e4f(0x257)]=0x2]='UNIVER_SHEET',_0x375758[_0x375758['UNIVER_SLIDE']=0x3]=_0x2e6e4f(0x34a),_0x375758[_0x375758['UNIVER_PROJECT']=0x4]=_0x2e6e4f(0x40a),_0x375758[_0x375758['UNRECOGNIZED']=-0x1]=_0x2e6e4f(0x42b),_0x375758))(Z||{}),F=(_0x4dfdbd=>(_0x4dfdbd[_0x4dfdbd[_0x2e6e4f(0x421)]=0x0]='UNKNOWN_CMD',_0x4dfdbd[_0x4dfdbd[_0x2e6e4f(0x455)]=0x1]=_0x2e6e4f(0x455),_0x4dfdbd[_0x4dfdbd[_0x2e6e4f(0x412)]=0x2]=_0x2e6e4f(0x412),_0x4dfdbd[_0x4dfdbd[_0x2e6e4f(0x2a9)]=0x3]='LEAVE',_0x4dfdbd[_0x4dfdbd[_0x2e6e4f(0x22a)]=0x4]=_0x2e6e4f(0x22a),_0x4dfdbd[_0x4dfdbd[_0x2e6e4f(0x32f)]=0x5]=_0x2e6e4f(0x32f),_0x4dfdbd[_0x4dfdbd[_0x2e6e4f(0x37c)]=0x6]='RECV',_0x4dfdbd[_0x4dfdbd[_0x2e6e4f(0x42b)]=-0x1]='UNRECOGNIZED',_0x4dfdbd))(F||{}),pe=(_0x54d236=>(_0x54d236[_0x54d236[_0x2e6e4f(0x191)]=0x0]=_0x2e6e4f(0x191),_0x54d236[_0x54d236['OK']=0x1]='OK',_0x54d236[_0x54d236['FAIL']=0x2]='FAIL',_0x54d236[_0x54d236[_0x2e6e4f(0x38b)]=0x3e9]=_0x2e6e4f(0x38b),_0x54d236[_0x54d236['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x2e6e4f(0x24d),_0x54d236[_0x54d236[_0x2e6e4f(0x366)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x54d236[_0x54d236[_0x2e6e4f(0x1a8)]=0x3ec]=_0x2e6e4f(0x1a8),_0x54d236[_0x54d236[_0x2e6e4f(0x42b)]=-0x1]=_0x2e6e4f(0x42b),_0x54d236))(pe||{}),pi=(_0x268a58=>(_0x268a58[_0x268a58[_0x2e6e4f(0x21c)]=0x0]=_0x2e6e4f(0x21c),_0x268a58[_0x268a58['HttpImport']=0x1]=_0x2e6e4f(0x239),_0x268a58[_0x268a58[_0x2e6e4f(0x446)]=0x2]='HttpExport',_0x268a58[_0x268a58['UnitEmbedded']=0x3]=_0x2e6e4f(0x18b),_0x268a58[_0x268a58[_0x2e6e4f(0x3bd)]=0x4]=_0x2e6e4f(0x3bd),_0x268a58[_0x268a58[_0x2e6e4f(0x238)]=0x5]=_0x2e6e4f(0x238),_0x268a58[_0x268a58[_0x2e6e4f(0x42b)]=-0x1]=_0x2e6e4f(0x42b),_0x268a58))(pi||{});const Os=_0x2e6e4f(0x2e9);function bs(_0x15f330){var _0xf2b432=_0x2e6e4f;return JSON[_0xf2b432(0x248)](_0x15f330)['length'];}var ne=(_0xe903c0=>(_0xe903c0[_0x2e6e4f(0x18d)]=_0x2e6e4f(0x18d),_0xe903c0[_0x2e6e4f(0x34e)]=_0x2e6e4f(0x34e),_0xe903c0[_0x2e6e4f(0x3ec)]=_0x2e6e4f(0x3ec),_0xe903c0['CLOSE_ROOM']=_0x2e6e4f(0x28a),_0xe903c0[_0x2e6e4f(0x20a)]=_0x2e6e4f(0x20a),_0xe903c0[_0x2e6e4f(0x34c)]=_0x2e6e4f(0x34c),_0xe903c0[_0x2e6e4f(0x2e1)]=_0x2e6e4f(0x2e1),_0xe903c0['SUBMIT_CHANGESET_TIMEOUT']=_0x2e6e4f(0x1fb),_0xe903c0))(ne||{});class ve{constructor(){var _0x3ede4d=_0x2e6e4f;N(this,'_event$',new _0x1b6f3c()),N(this,'event$',this[_0x3ede4d(0x459)][_0x3ede4d(0x462)]());}[_0x2e6e4f(0x385)](_0x5623f9){var _0x40eb71=_0x2e6e4f;this['_event$'][_0x40eb71(0x1c0)](_0x5623f9);}}class mi{constructor(){var _0x5796f6=_0x2e6e4f;N(this,_0x5796f6(0x458),new _0x1b6f3c()),N(this,'commentUpdate$',this['_commentUpdate$'][_0x5796f6(0x462)]());}[_0x2e6e4f(0x25f)](_0x29e6af){var _0x278ca5=_0x2e6e4f;this['_commentUpdate$'][_0x278ca5(0x1c0)](_0x29e6af);}}var ys=Object[_0x2e6e4f(0x3c3)],Ns=(_0x460625,_0x1feef0,_0x40aa96,_0x2ebb11)=>{var _0x4e13ca=_0x2e6e4f;for(var _0x17c177=_0x2ebb11>0x1?void 0x0:_0x2ebb11?ys(_0x1feef0,_0x40aa96):_0x1feef0,_0x4ec092=_0x460625[_0x4e13ca(0x255)]-0x1,_0x483298;_0x4ec092>=0x0;_0x4ec092--)(_0x483298=_0x460625[_0x4ec092])&&(_0x17c177=_0x483298(_0x17c177)||_0x17c177);return _0x17c177;},Ft=(_0x46b0ef,_0x50d079)=>(_0x38b6e8,_0xc9718e)=>_0x50d079(_0x38b6e8,_0xc9718e,_0x46b0ef);let we=class extends _0x2a04e7{constructor(_0x44aba3,_0x2d3b3e){var _0x2278c7=_0x2e6e4f;super(),N(this,_0x2278c7(0x325),new Map()),N(this,_0x2278c7(0x1aa),new _0x1b6f3c()),(this['_univerInstanceService']=_0x44aba3,this['_userManagerService']=_0x2d3b3e,this['disposeWithMe'](_0x341b50(this[_0x2278c7(0x1da)][_0x2278c7(0x256)](_0x1590fe[_0x2278c7(0x257)])[_0x2278c7(0x1d0)](_0x25bf23(_0x14c46c=>_0x14c46c[_0x2278c7(0x268)]())),this[_0x2278c7(0x1da)][_0x2278c7(0x256)](_0x1590fe[_0x2278c7(0x44d)])['pipe'](_0x25bf23(_0x43c6d5=>_0x43c6d5[_0x2278c7(0x268)]())),this[_0x2278c7(0x1da)]['getTypeOfUnitDisposed$'](_0x1590fe[_0x2278c7(0x34a)])[_0x2278c7(0x1d0)](_0x25bf23(_0x16bf96=>_0x16bf96[_0x2278c7(0x268)]())))[_0x2278c7(0x3fd)](_0x1c71d9=>this[_0x2278c7(0x328)](_0x1c71d9))));}[_0x2e6e4f(0x402)](_0x1bdfdc){var _0x512e92=_0x2e6e4f;return this['_roomMembers'][_0x512e92(0x3cd)](_0x1bdfdc)?_0x183e63(this[_0x512e92(0x325)][_0x512e92(0x303)](_0x1bdfdc)):this[_0x512e92(0x1aa)][_0x512e92(0x1d0)](_0x25bf23(_0x1edc53=>{var _0x44c6da=_0x512e92;if(_0x1edc53===_0x1bdfdc)return this[_0x44c6da(0x325)]['get'](_0x1edc53);}));}[_0x2e6e4f(0x169)](_0x241fb1){var _0x2c4ecd=_0x2e6e4f;this[_0x2c4ecd(0x3a4)]['setCurrentUser'](_0x241fb1);}['getCurrentUser'](){var _0xf9f571=_0x2e6e4f;return this[_0xf9f571(0x3a4)][_0xf9f571(0x1e9)]();}[_0x2e6e4f(0x219)](_0x32a5fd,_0x2e228b){var _0x539f48=_0x2e6e4f;let _0x430e14=this[_0x539f48(0x325)]['get'](_0x32a5fd);_0x430e14||(_0x430e14=new Ds(),this[_0x539f48(0x325)][_0x539f48(0x3e4)](_0x32a5fd,_0x430e14),this[_0x539f48(0x1aa)]['next'](_0x32a5fd)),_0x430e14[_0x539f48(0x219)](_0x2e228b);}[_0x2e6e4f(0x367)](_0x29bc5a,_0x715ee4){var _0x44232e=_0x2e6e4f;const _0x186460=this[_0x44232e(0x325)][_0x44232e(0x303)](_0x29bc5a);_0x186460&&_0x186460['removeMember'](_0x715ee4);}[_0x2e6e4f(0x16b)](_0x134c39){var _0x4de179=_0x2e6e4f;return this['_roomMembers'][_0x4de179(0x303)](_0x134c39);}[_0x2e6e4f(0x162)](_0x2fb56e,_0x5bbfd8){var _0x45f7c=_0x2e6e4f;const _0x115464=this[_0x45f7c(0x325)]['get'](_0x2fb56e);if(_0x115464)return _0x115464[_0x45f7c(0x162)](_0x5bbfd8);}['_removeRoom'](_0x3ecb0f){var _0x357ace=_0x2e6e4f;const _0x5761df=this['_roomMembers'][_0x357ace(0x303)](_0x3ecb0f);_0x5761df&&(_0x5761df[_0x357ace(0x278)](),this[_0x357ace(0x325)][_0x357ace(0x1f8)](_0x3ecb0f));}['dispose'](){var _0x8a7fda=_0x2e6e4f;this[_0x8a7fda(0x325)][_0x8a7fda(0x1ca)](_0x583d2f=>_0x583d2f['dispose']()),this[_0x8a7fda(0x325)][_0x8a7fda(0x1f1)](),this[_0x8a7fda(0x1aa)]['complete']();}};we=Ns([Ft(0x0,_0x5578d7),Ft(0x1,_0x499332(_0x403bb5))],we);class Ds extends _0x2a04e7{constructor(){var _0x5ed6c4=_0x2e6e4f;super(...arguments),N(this,_0x5ed6c4(0x43e),new Map()),N(this,'_members$',new _0x4a6e6f(this[_0x5ed6c4(0x43e)])),N(this,'members$',this['_members$'][_0x5ed6c4(0x462)]());}[_0x2e6e4f(0x278)](){var _0xdb475f=_0x2e6e4f;this[_0xdb475f(0x43e)][_0xdb475f(0x1f1)]();}[_0x2e6e4f(0x219)](_0x23e3a7){var _0x5297ea=_0x2e6e4f;this[_0x5297ea(0x43e)][_0x5297ea(0x3e4)](_0x23e3a7['memberID'],_0x23e3a7),this[_0x5297ea(0x2af)]();}[_0x2e6e4f(0x367)](_0x4f460e){var _0xed576f=_0x2e6e4f;this[_0xed576f(0x43e)]['delete'](_0x4f460e);}[_0x2e6e4f(0x162)](_0x1706b7){var _0x191c6c=_0x2e6e4f;return this[_0x191c6c(0x43e)][_0x191c6c(0x303)](_0x1706b7);}['getAllMembers'](){var _0x12f863=_0x2e6e4f;return Array[_0x12f863(0x236)](this[_0x12f863(0x43e)][_0x12f863(0x361)]());}[_0x2e6e4f(0x2af)](){var _0x4057e4=_0x2e6e4f;this['_members$'][_0x4057e4(0x1c0)](this[_0x4057e4(0x43e)]);}}var Us=Object[_0x2e6e4f(0x3c3)],As=(_0x2484ca,_0x2ff209,_0x2be590,_0x26faa3)=>{var _0x1f6cb9=_0x2e6e4f;for(var _0x52c32a=_0x26faa3>0x1?void 0x0:_0x26faa3?Us(_0x2ff209,_0x2be590):_0x2ff209,_0x392a3e=_0x2484ca[_0x1f6cb9(0x255)]-0x1,_0x2827d2;_0x392a3e>=0x0;_0x392a3e--)(_0x2827d2=_0x2484ca[_0x392a3e])&&(_0x52c32a=_0x2827d2(_0x52c32a)||_0x52c32a);return _0x52c32a;},Ce=(_0xf92dac,_0x9320c1)=>(_0x5b7c28,_0x5492dc)=>_0x9320c1(_0x5b7c28,_0x5492dc,_0xf92dac),ge=(_0x31953c=>(_0x31953c[_0x31953c[_0x2e6e4f(0x2f4)]=0x0]=_0x2e6e4f(0x2f4),_0x31953c[_0x31953c[_0x2e6e4f(0x2e0)]=0x1]=_0x2e6e4f(0x2e0),_0x31953c[_0x31953c[_0x2e6e4f(0x3e5)]=0x2]=_0x2e6e4f(0x3e5),_0x31953c[_0x31953c[_0x2e6e4f(0x250)]=0x3]='ONLINE',_0x31953c))(ge||{});const Vt={[pe[_0x2e6e4f(0x289)]]:_0x2e6e4f(0x31b),[pe[_0x2e6e4f(0x38b)]]:_0x2e6e4f(0x405),[pe['JOIN_ROOM_NOT_EXISTS']]:_0x2e6e4f(0x285),[pe[_0x2e6e4f(0x366)]]:_0x2e6e4f(0x20e),[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x2e6e4f(0x203)};let gt=class extends _0x5a8474{constructor(_0x1eb967,_0x34a761,_0x196900,_0x46c3ab,_0x20f17d,_0x420957,_0x28fb3a,_0x522e3b){var _0x55e67c=_0x2e6e4f;super(),N(this,'_sessionStatus$',new _0x4a6e6f(0x0)),N(this,_0x55e67c(0x217),this['_sessionStatus$'][_0x55e67c(0x462)]()),N(this,'_event$',new _0x1b6f3c()),N(this,'event$',this[_0x55e67c(0x459)][_0x55e67c(0x462)]()),N(this,'_socket'),N(this,'_socketMessageSubscription'),N(this,_0x55e67c(0x352)),N(this,_0x55e67c(0x3ba),!0x1),N(this,'_telemetryInfo',null),(this[_0x55e67c(0x3f9)]=_0x1eb967,this['_logService']=_0x196900,this[_0x55e67c(0x372)]=_0x46c3ab,this['_memberService']=_0x20f17d,this[_0x55e67c(0x46b)]=_0x420957,this[_0x55e67c(0x201)]=_0x28fb3a,this[_0x55e67c(0x1cc)]=_0x522e3b,this[_0x55e67c(0x3ba)]=!!this['_telemetryService'],_0x34a761[_0x55e67c(0x1d0)](_0x73e7c2(this[_0x55e67c(0x23a)]))[_0x55e67c(0x3fd)](_0x33704a=>{var _0x568902=_0x55e67c,_0x3c67d1;typeof _0x33704a>'u'||(this['_socket']=_0x33704a,_0x33704a?(this[_0x568902(0x2b6)](_0x33704a),this['_socketMessageSubscription']=_0x33704a[_0x568902(0x390)][_0x568902(0x3fd)](_0x199eff=>{var _0xd485d6=_0x568902;_0x199eff[_0xd485d6(0x214)]===this[_0xd485d6(0x3f9)]&&this[_0xd485d6(0x45f)](_0x199eff);})):(this[_0x568902(0x34f)](),this[_0x568902(0x243)][_0x568902(0x1c0)](0x2),(_0x3c67d1=this[_0x568902(0x282)])==null||_0x3c67d1[_0x568902(0x2ec)](),this[_0x568902(0x282)]=null));}));}get['sessionStatus'](){var _0x28654a=_0x2e6e4f;return this[_0x28654a(0x243)]['getValue']();}[_0x2e6e4f(0x1ae)](){var _0x1985d5,_0x49ee94;return(_0x49ee94=(_0x1985d5=this['_socket'])==null?void 0x0:_0x1985d5['memberID'])!=null?_0x49ee94:null;}[_0x2e6e4f(0x278)](){var _0x12b0af=_0x2e6e4f;super['dispose'](),this[_0x12b0af(0x23a)][_0x12b0af(0x1c0)](),this['dispose$'][_0x12b0af(0x368)]();}[_0x2e6e4f(0x3dc)](){var _0x325665=_0x2e6e4f,_0xc948bd,_0xc47d0d;this[_0x325665(0x34f)](),(_0xc948bd=this[_0x325665(0x1bb)])==null||_0xc948bd['send']({'cmd':F[_0x325665(0x2a9)],'data':{'roomID':this[_0x325665(0x3f9)]}}),(_0xc47d0d=this[_0x325665(0x1bb)])==null||_0xc47d0d['close'](),this['_event$']['complete'](),this['_sessionStatus$']['complete'](),this[_0x325665(0x278)]();}[_0x2e6e4f(0x45f)](_0x187232){var _0x42c216=_0x2e6e4f;_0x187232[_0x42c216(0x444)]===F[_0x42c216(0x412)]?this['_onJoinRoomEvent'](_0x187232):_0x187232[_0x42c216(0x444)]===F[_0x42c216(0x37c)]&&this[_0x42c216(0x25d)](_0x187232);}['_joinRoom'](_0x476291){var _0x4f9e85=_0x2e6e4f;this['_sessionStatus$']['next'](0x1),_0x476291['send']({'cmd':F[_0x4f9e85(0x412)],'routeKey':this[_0x4f9e85(0x3f9)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x17e6a5){var _0xa3805e=_0x2e6e4f,_0x197354;if(_0x17e6a5['code']in Vt){this['_collaborationUIEventService'][_0xa3805e(0x385)]({'id':ne[_0xa3805e(0x20a)],'data':Vt[_0x17e6a5[_0xa3805e(0x2da)]]}),this[_0xa3805e(0x243)][_0xa3805e(0x1c0)](0x2);return;}this[_0xa3805e(0x243)][_0xa3805e(0x1c0)](0x3);const _0xb45f9=(_0x197354=_0x17e6a5['data']['roomInfos'][this['_unitID']])==null?void 0x0:_0x197354[_0xa3805e(0x45e)];_0xb45f9&&_0xb45f9[_0xa3805e(0x1ca)](_0xe09592=>this[_0xa3805e(0x251)][_0xa3805e(0x219)](this[_0xa3805e(0x3f9)],_0xe09592));}[_0x2e6e4f(0x25d)](_0x733482){var _0x5056a7=_0x2e6e4f;try{const _0x325d91=_0x733482[_0x5056a7(0x24b)];switch(_0x325d91[_0x5056a7(0x218)]){case _0x583187['USERS_ENTER']:this[_0x5056a7(0x3f0)](_0x325d91),this[_0x5056a7(0x459)][_0x5056a7(0x1c0)](_0x325d91);break;case _0x583187['USERS_LEAVE']:this[_0x5056a7(0x279)](_0x325d91),this['_event$'][_0x5056a7(0x1c0)](_0x325d91);break;case _0x583187['CHANGESET_ACK']:case _0x583187[_0x5056a7(0x277)]:this[_0x5056a7(0x344)](),this[_0x5056a7(0x308)](),this[_0x5056a7(0x459)][_0x5056a7(0x1c0)](_0x325d91);break;case _0x583187['MSG_FOR_ERROR']:this[_0x5056a7(0x41d)]['error'](_0x5056a7(0x1b5)+JSON[_0x5056a7(0x248)](_0x325d91)),this['_event$'][_0x5056a7(0x1c0)](_0x325d91);break;case _0x583187['COMMENT_UPDATE']:this[_0x5056a7(0x46b)][_0x5056a7(0x25f)](_0x325d91[_0x5056a7(0x24b)]),this[_0x5056a7(0x459)]['next'](_0x325d91);break;default:this[_0x5056a7(0x459)][_0x5056a7(0x1c0)](_0x325d91);}}catch(_0x41b7d1){this['_logService'][_0x5056a7(0x178)](_0x41b7d1,_0x733482);}}[_0x2e6e4f(0x3f0)](_0xa9d61c){var _0x26512c=_0x2e6e4f;this[_0x26512c(0x251)][_0x26512c(0x219)](this[_0x26512c(0x3f9)],_0xa9d61c['data']);}[_0x2e6e4f(0x279)](_0x236180){var _0x1f3e82=_0x2e6e4f;this['_memberService'][_0x1f3e82(0x367)](this[_0x1f3e82(0x3f9)],_0x236180[_0x1f3e82(0x24b)][_0x1f3e82(0x205)]);}async[_0x2e6e4f(0x212)](_0x3c22ab,_0x405cdb){var _0x232459=_0x2e6e4f;if(this[_0x232459(0x3f7)]!==0x3||!this[_0x232459(0x1bb)])throw new Error(_0x232459(0x310));try{_0x3c22ab['eventID']===_0x583187[_0x232459(0x2a5)]&&(this[_0x232459(0x228)](),this[_0x232459(0x25b)](_0x3c22ab)),this[_0x232459(0x1bb)][_0x232459(0x212)]({'cmd':F[_0x232459(0x22a)],'routeKey':_0x405cdb,'routeType':'','data':_0x3c22ab});}catch(_0x481b72){this['_logService'][_0x232459(0x178)](_0x481b72);}}[_0x2e6e4f(0x228)](){var _0x951167=_0x2e6e4f,_0x48ebb0;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0xfcf510=_0x18c4;this[_0xfcf510(0x352)]=null,this[_0xfcf510(0x201)][_0xfcf510(0x385)]({'id':ne['SUBMIT_CHANGESET_TIMEOUT']});},(_0x48ebb0=this[_0x951167(0x372)]['getConfig'](di))!=null?_0x48ebb0:fi);}[_0x2e6e4f(0x308)](){var _0x36bb2f=_0x2e6e4f;this[_0x36bb2f(0x352)]&&(clearTimeout(this[_0x36bb2f(0x352)]),this['_collaborationTimeoutTimer']=null);}[_0x2e6e4f(0x25b)](_0x5b242f){var _0x51b368=_0x2e6e4f;if(!this['_shouldReportTelemetry'])return;const {data:_0xf909c9}=_0x5b242f,{unitID:_0x199186,changeset:_0x5b96c8}=_0xf909c9,{mutations:_0x31da45,type:_0x3e70f3}=_0x5b96c8;this[_0x51b368(0x1a3)]={'unitId':_0x199186,'type':_0x3e70f3,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':bs(_0x31da45)};}[_0x2e6e4f(0x344)](){var _0x5c68e4=_0x2e6e4f;if(this[_0x5c68e4(0x3ba)]){if(!this[_0x5c68e4(0x1a3)]){this[_0x5c68e4(0x41d)][_0x5c68e4(0x178)](_0x5c68e4(0x3ed),_0x5c68e4(0x167));return;}this[_0x5c68e4(0x1a3)][_0x5c68e4(0x31e)]=performance[_0x5c68e4(0x196)](),this['_telemetryInfo'][_0x5c68e4(0x3fa)]=this['_telemetryInfo']['stopTime']-this['_telemetryInfo']['startTime'],this[_0x5c68e4(0x1cc)][_0x5c68e4(0x3c8)](Os,this[_0x5c68e4(0x1a3)]),this[_0x5c68e4(0x1a3)]=null;}}[_0x2e6e4f(0x34f)](){var _0x2d1ad1=_0x2e6e4f;this[_0x2d1ad1(0x1a3)]=null;}};gt=As([Ce(0x2,_0xaae47a),Ce(0x3,_0x3f2ca4),Ce(0x4,_0x499332(we)),Ce(0x5,_0x499332(mi)),Ce(0x6,_0x499332(ve)),Ce(0x7,_0x38fa19(_0x3dd1cf))],gt);const J=_0x54186f(_0x2e6e4f(0x40e));function br(_0x414c84){var _0x433547=_0x2e6e4f;return _0x433547(0x186)+_0x414c84;}var ws=Object[_0x2e6e4f(0x3c3)],Ps=(_0x560dc8,_0x3ee15a,_0x57d065,_0x20ba7c)=>{for(var _0x1b2ba8=_0x20ba7c>0x1?void 0x0:_0x20ba7c?ws(_0x3ee15a,_0x57d065):_0x3ee15a,_0x32da3c=_0x560dc8['length']-0x1,_0x5dc0c8;_0x32da3c>=0x0;_0x32da3c--)(_0x5dc0c8=_0x560dc8[_0x32da3c])&&(_0x1b2ba8=_0x5dc0c8(_0x1b2ba8)||_0x1b2ba8);return _0x1b2ba8;},ut=(_0x972830,_0x5719cd)=>(_0x2319ee,_0x123e21)=>_0x5719cd(_0x2319ee,_0x123e21,_0x972830);function Ms(_0x2c6b04){var _0x18180f=_0x2e6e4f;const {unitID:_0x2185a4,mutations:_0x3e70ac}=_0x2c6b04;return{'unitId':_0x2185a4,'subUnitId':_0x3e70ac[0x0][_0x18180f(0x160)]['subUnitId']};}let it=class{constructor(_0x22d52f,_0x5161f0,_0x17da77){var _0x1a471c=_0x2e6e4f;this[_0x1a471c(0x44a)]=_0x22d52f,this[_0x1a471c(0x381)]=_0x5161f0,this['_instanceService']=_0x17da77;}[_0x2e6e4f(0x37e)](_0x3a4d8a){var _0x225467=_0x2e6e4f,_0x26703e,_0x306300,_0x17d492,_0x44c4bc;const _0x20584a=this[_0x225467(0x44a)][_0x225467(0x303)](_0x1cd815),{unitId:_0x40ffd0,subUnitId:_0xbe126d}=Ms(_0x3a4d8a),_0x3941b6=_0x20584a==null?void 0x0:_0x20584a[_0x225467(0x302)](_0x40ffd0)[_0x225467(0x19c)](),_0x9bf902=(_0x306300=(_0x26703e=this['_instanceService']['getUnit'](_0x40ffd0))==null?void 0x0:_0x26703e['getActiveSheet']())==null?void 0x0:_0x306300[_0x225467(0x2fc)]();if(_0x3941b6['length']===0x0||!_0x40ffd0||!_0xbe126d)return;const _0x4d2f3d=[{'id':_0x201d99['id'],'params':{'unitId':_0x40ffd0,'subUnitId':_0x9bf902,'selections':_0x38d868['deepClone'](_0x3941b6)}}],_0x3aa245=this['_transformService'][_0x225467(0x3d2)](_0x3a4d8a,_0x4d2f3d);if(!_0x374759(_0x3aa245))throw _0x3aa245[_0x225467(0x178)];const _0x10fad3=(_0x44c4bc=(_0x17d492=_0x3aa245['m2Prime'][0x0])==null?void 0x0:_0x17d492[_0x225467(0x160)])==null?void 0x0:_0x44c4bc['selections'];if(Array[_0x225467(0x3aa)](_0x10fad3)&&_0x10fad3['length']){if(_0x10fad3[_0x225467(0x255)]===_0x4d2f3d[0x0][_0x225467(0x160)][_0x225467(0x2d5)]['length']&&_0x10fad3[_0x225467(0x3e2)]((_0x251e86,_0x3f12b2)=>_0x183179[_0x225467(0x1c3)](_0x251e86[_0x225467(0x3b1)],_0x4d2f3d[0x0][_0x225467(0x160)][_0x225467(0x2d5)][_0x3f12b2][_0x225467(0x3b1)])))return;this[_0x225467(0x44a)]['get'](_0x4bb5bc)[_0x225467(0x30b)](_0x201d99['id'],{'unitId':_0x40ffd0,'subUnitId':_0x9bf902,'selections':_0x10fad3});}}};it=Ps([ut(0x0,_0x499332(_0x59b99c)),ut(0x1,_0x3b853a),ut(0x2,_0x5578d7)],it);const ht=_0x54186f('univer-pro.collaboration-client.single-active-unit-service');var gi=(_0xb2b233=>(_0xb2b233[_0xb2b233['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x2e6e4f(0x26d),_0xb2b233[_0xb2b233['OTHER_CLIENTS_EDITING']=0x1]=_0x2e6e4f(0x318),_0xb2b233))(gi||{});const K=_0x2e6e4f(0x2a2),Ls={},xs=new Set([_0x5a1c92['id']]);function Wt(_0x41d6b7,_0x28b105,_0x1e194d,_0x5a870e,_0x376c42){var _0x2510a3=_0x2e6e4f,_0x311c3e,_0x59f0d0,_0x55b793,_0x5bb174;const _0x59e1d8=[];for(const _0x317c86 of _0x41d6b7)if(xs[_0x2510a3(0x3cd)](_0x317c86['id'])){if(_0x59e1d8[_0x2510a3(0x255)]>0x0)break;_0x59e1d8[_0x2510a3(0x29e)](_0x317c86);break;}else _0x59e1d8[_0x2510a3(0x29e)](_0x317c86);const _0x53844c=(_0x59f0d0=(_0x311c3e=_0x376c42['getCurrentUser']())==null?void 0x0:_0x311c3e[_0x2510a3(0x3d1)])!=null?_0x59f0d0:'unknown',_0x37ccb1=(_0x5bb174=(_0x55b793=_0x376c42['getCurrentUser']())==null?void 0x0:_0x55b793[_0x2510a3(0x205)])!=null?_0x5bb174:_0x2510a3(0x342);return{'changeset':{'unitID':_0x28b105,'type':_0x334c82(_0x1e194d[_0x2510a3(0x1a4)](_0x28b105)),'baseRev':_0x5a870e['getCurrentRevOfUnit'](_0x28b105),'revision':0x0,'userID':_0x53844c,'memberID':_0x37ccb1,'mutations':_0x59e1d8},'pendingMutations':_0x41d6b7[_0x2510a3(0x2c5)](_0x59e1d8['length'])};}function ks(_0x288423,_0x4ca7c4,_0x128eb8,_0x20f8c8,_0x2bb872){var _0x2902d4=_0x2e6e4f,_0x5eb922,_0x3dd690,_0x4597be,_0x3204ef;const _0x2bbcd8=[_0x288423[_0x2902d4(0x3b6)]((_0x358ca3,_0x5cc9be)=>{var _0x3b48d4=_0x2902d4,_0x318995;const {id:_0x1ceff0}=_0x358ca3,{id:_0x3041fc,type:_0x3fdb5d}=_0x5cc9be,_0x4c6351=(_0x318995=_0x358ca3['params'])!=null?_0x318995:{'actions':null},_0xbd3637=_0x5cc9be['params'];if(_0x1ceff0&&_0x1ceff0!==_0x3041fc)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x1ceff0+_0x3b48d4(0x2fb)+_0x3041fc+'.');return{..._0x358ca3,'id':_0x3041fc,'type':_0x3fdb5d,'params':{'unitId':_0xbd3637[_0x3b48d4(0x204)],'textRanges':_0xbd3637[_0x3b48d4(0x2de)],'actions':_0x318169['compose'](_0x4c6351[_0x3b48d4(0x3a2)],_0xbd3637[_0x3b48d4(0x3a2)])}};},{})],_0x5042bb=(_0x3dd690=(_0x5eb922=_0x2bb872[_0x2902d4(0x1e9)]())==null?void 0x0:_0x5eb922[_0x2902d4(0x3d1)])!=null?_0x3dd690:_0x2902d4(0x342),_0x2a1515=(_0x3204ef=(_0x4597be=_0x2bb872['getCurrentUser']())==null?void 0x0:_0x4597be[_0x2902d4(0x205)])!=null?_0x3204ef:_0x2902d4(0x342);return{'changeset':{'unitID':_0x4ca7c4,'type':_0x334c82(_0x128eb8[_0x2902d4(0x1a4)](_0x4ca7c4)),'baseRev':_0x20f8c8[_0x2902d4(0x320)](_0x4ca7c4),'revision':0x0,'userID':_0x5042bb,'memberID':_0x2a1515,'mutations':_0x2bbcd8},'pendingMutations':[]};}function Si(_0x55188b,_0x4a4dd9){var _0x8d1670=_0x2e6e4f;const _0x96c362=new _0x4ccdcf(0x1);return setTimeout(()=>_0x96c362[_0x8d1670(0x1c0)](_0x4a4dd9),_0x55188b),_0x96c362[_0x8d1670(0x462)]()[_0x8d1670(0x1d0)](_0x12a5d2(0x1));}const $s={'id':_0x1730b0['id'],'type':_0xf17343['MUTATION'],'params':{}};var Hs=Object[_0x2e6e4f(0x3c3)],Ee=(_0x2ef951,_0x56b78b,_0x444430,_0x43c1c3)=>{var _0x344502=_0x2e6e4f;for(var _0x222b57=_0x43c1c3>0x1?void 0x0:_0x43c1c3?Hs(_0x56b78b,_0x444430):_0x56b78b,_0x481d34=_0x2ef951[_0x344502(0x255)]-0x1,_0x398a4a;_0x481d34>=0x0;_0x481d34--)(_0x398a4a=_0x2ef951[_0x481d34])&&(_0x222b57=_0x398a4a(_0x222b57)||_0x222b57);return _0x222b57;},P=(_0x2b0cb4,_0xd01a0b)=>(_0x2293d2,_0x436edd)=>_0xd01a0b(_0x2293d2,_0x436edd,_0x2b0cb4),Ei=(_0xc86190=>(_0xc86190[_0x2e6e4f(0x1a6)]=_0x2e6e4f(0x1eb),_0xc86190['SYNCED']=_0x2e6e4f(0x3d5),_0xc86190[_0x2e6e4f(0x270)]='pending',_0xc86190[_0x2e6e4f(0x2aa)]='awaiting',_0xc86190['AWAITING_WITH_PENDING']=_0x2e6e4f(0x1cf),_0xc86190[_0x2e6e4f(0x244)]=_0x2e6e4f(0x213),_0xc86190['CONFLICT']=_0x2e6e4f(0x237),_0xc86190['OFFLINE']=_0x2e6e4f(0x44e),_0xc86190))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x29e296,_0x4cc14e,_0x4145e0,_0xc31a0e,_0x570f83,_0x49de32,_0x214340,_0x3e3dd7,_0x394569){var _0xb4ddd2=_0x2e6e4f;N(this,_0xb4ddd2(0x454),null),N(this,'_pendingMutations',[]),(this[_0xb4ddd2(0x44b)]=_0x29e296,this[_0xb4ddd2(0x2d7)]=_0x4cc14e,this['_handler']=_0x570f83,this[_0xb4ddd2(0x246)]=_0x49de32,this['_undoRedoService']=_0x214340,this['_revisionService']=_0x3e3dd7,this[_0xb4ddd2(0x467)]=_0x394569,this[_0xb4ddd2(0x454)]=_0x4145e0,this[_0xb4ddd2(0x32a)]=_0xc31a0e);}[_0x2e6e4f(0x240)](_0x70da54){var _0x1c7e5b=_0x2e6e4f;const _0x43b3f9=this[_0x1c7e5b(0x3a1)][_0x1c7e5b(0x320)](this['unitID']);return _0x70da54[_0x1c7e5b(0x1a9)]>_0x43b3f9+0x1?(this['_handler'][_0x1c7e5b(0x1d4)]({'from':_0x43b3f9,'to':_0x70da54['revision']-0x1}),!0x0):!0x1;}[_0x2e6e4f(0x234)](_0x5fea20){var _0x21c269=_0x2e6e4f;this['_undoRedoService'][_0x21c269(0x3f1)](this[_0x21c269(0x44b)],_0x5fea20);}['_transformSelections'](_0x511062){var _0x3eba8f=_0x2e6e4f,_0xabfc4a,_0x3601e7;(_0x3601e7=(_0xabfc4a=this[_0x3eba8f(0x185)])[_0x3eba8f(0x411)])==null||_0x3601e7[_0x3eba8f(0x331)](_0xabfc4a,_0x511062);}[_0x2e6e4f(0x3cb)](_0x5e285a){var _0x2859f9=_0x2e6e4f,_0x17994d,_0x52ff63;return(_0x52ff63=(_0x17994d=this[_0x2859f9(0x185)])['onTransformIME'])==null?void 0x0:_0x52ff63['call'](_0x17994d,_0x5e285a);}[_0x2e6e4f(0x16a)](_0x5b3ed0){var _0x1496ca=_0x2e6e4f,_0x57aec7,_0x196958;return(_0x196958=(_0x57aec7=this[_0x1496ca(0x185)])['onTransformState'])==null?void 0x0:_0x196958[_0x1496ca(0x331)](_0x57aec7,_0x5b3ed0);}[_0x2e6e4f(0x1b6)](_0x46b820){var _0x1af3a9=_0x2e6e4f,_0x5f2225,_0x2ab455,_0x41d629;return(_0x41d629=(_0x2ab455=(_0x5f2225=this[_0x1af3a9(0x185)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2ab455['call'](_0x5f2225,_0x46b820))!=null?_0x41d629:_0x46b820;}[_0x2e6e4f(0x343)](_0xfa2bd3){var _0x20d979,_0x48431e,_0x3d7ee1;return(_0x3d7ee1=(_0x48431e=(_0x20d979=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x48431e['call'](_0x20d979,_0xfa2bd3))!=null?_0x3d7ee1:_0xfa2bd3;}['_syncEditingCollabCursor'](_0x383c7d){var _0x1f1422=_0x2e6e4f,_0x38f67b,_0x1a6dc7;if(this['type']===Z[_0x1f1422(0x44d)]){const {unitID:_0x5f171d,mutations:_0x13ee0e,memberID:_0x3aec65}=_0x383c7d,_0x36324c=_0x13ee0e[0x0]['params'][_0x1f1422(0x2de)];Array[_0x1f1422(0x3aa)](_0x36324c)&&_0x36324c[_0x1f1422(0x255)]>0x0&&((_0x1a6dc7=(_0x38f67b=this['_handler'])[_0x1f1422(0x35d)])==null||_0x1a6dc7['call'](_0x38f67b,{'unitID':_0x5f171d,'memberID':_0x3aec65,'textRanges':_0x36324c}));}}[_0x2e6e4f(0x35a)](){var _0x761394=_0x2e6e4f,_0x3a57a7;(_0x3a57a7=this[_0x761394(0x467)])==null||_0x3a57a7[_0x761394(0x249)](this[_0x761394(0x44b)],this[_0x761394(0x2d7)],this[_0x761394(0x454)],this['_pendingMutations']);}[_0x2e6e4f(0x293)](){var _0x4671b2=_0x2e6e4f;return this[_0x4671b2(0x3a1)][_0x4671b2(0x320)](this[_0x4671b2(0x44b)]);}['_incrementRevisionNumber'](){var _0x426ca3=_0x2e6e4f;this[_0x426ca3(0x3a1)][_0x426ca3(0x1c6)](this[_0x426ca3(0x44b)]);}[_0x2e6e4f(0x440)](_0x51b7c2){var _0x41b3b8=_0x2e6e4f,_0x2e8357;let _0xce7804=this[_0x41b3b8(0x1b6)](_0x51b7c2);_0xce7804=this[_0x41b3b8(0x343)](_0xce7804);const _0x4fabae=_0x241690(_0xce7804[_0x41b3b8(0x426)],this[_0x41b3b8(0x246)],{'fromCollab':!0x0});if(!_0x4fabae[_0x41b3b8(0x1ea)])throw _0x4fabae['error']instanceof Error?_0x4fabae[_0x41b3b8(0x178)]:new Error((_0x2e8357=_0x4fabae[_0x41b3b8(0x178)])!=null?_0x2e8357:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0xce7804),this[_0x41b3b8(0x16a)](_0xce7804),this[_0x41b3b8(0x234)](_0x51b7c2),this[_0x41b3b8(0x40f)](_0xce7804),this[_0x41b3b8(0x23b)](_0xce7804),this[_0x41b3b8(0x1c2)]();}}let ye=class extends Ie{constructor(_0x3bbf7d,_0x4359cd,_0x1f2619,_0x243604,_0x2f60af,_0x3b5af5,_0x506065,_0xcb1f0,_0x17d261,_0x4a5525){var _0x2092dd=_0x2e6e4f;super(_0x3bbf7d,_0x4359cd,null,[],_0x1f2619,_0x506065,_0x3b5af5,_0x243604,_0x4a5525),N(this,_0x2092dd(0x17f),_0x2092dd(0x3d5)),(this[_0x2092dd(0x44a)]=_0x2f60af,this['_logService']=_0xcb1f0,this[_0x2092dd(0x381)]=_0x17d261,this[_0x2092dd(0x24c)]=_0x4a5525);}[_0x2e6e4f(0x24e)](_0x3d78b4){var _0x12ec8d=_0x2e6e4f;const _0x455d82=this[_0x12ec8d(0x44a)][_0x12ec8d(0x38a)](re,this[_0x12ec8d(0x44b)],this['type'],[_0x3d78b4],this['_handler']);return _0x455d82['_schedule'](),_0x455d82['_updateLocalCache'](),_0x455d82;}['onRemoteChangeset'](_0x1e54fd){var _0x55dd2f=_0x2e6e4f;if(this[_0x55dd2f(0x240)](_0x1e54fd))return this[_0x55dd2f(0x44a)][_0x55dd2f(0x38a)](Q,this[_0x55dd2f(0x44b)],this[_0x55dd2f(0x2d7)],null,[],null,[_0x1e54fd],this[_0x55dd2f(0x185)]);try{const _0xc2adb8=this['_transformService'][_0x55dd2f(0x3d2)](_0x1e54fd,[$s]);if(_0x374759(_0xc2adb8)){const {c1Prime:_0x59d303}=_0xc2adb8;return this[_0x55dd2f(0x440)](_0x59d303),this;}throw _0xc2adb8['error'];}catch(_0x1ec288){return this[_0x55dd2f(0x41d)][_0x55dd2f(0x178)](_0x1ec288),this['_onConflict'](!0x1);}}['_onConflict'](_0x3c0240){var _0x5a3d49=_0x2e6e4f;return this['_injector'][_0x5a3d49(0x38a)](le,this[_0x5a3d49(0x44b)],this['type'],null,[],this[_0x5a3d49(0x185)],_0x3c0240);}[_0x2e6e4f(0x267)](){var _0x39aac1=_0x2e6e4f;throw new Error(_0x39aac1(0x17e));}[_0x2e6e4f(0x20f)](){var _0x56c76c=_0x2e6e4f;throw new Error(_0x56c76c(0x1d9));}[_0x2e6e4f(0x232)](){return this;}['toggleOffline'](){var _0x3039a3=_0x2e6e4f;return this[_0x3039a3(0x44a)][_0x3039a3(0x38a)](ue,this[_0x3039a3(0x44b)],this[_0x3039a3(0x2d7)],null,[],this[_0x3039a3(0x185)]);}[_0x2e6e4f(0x39e)](){return this;}['resend'](){var _0x11cabc=_0x2e6e4f;throw new Error(_0x11cabc(0x46a));}[_0x2e6e4f(0x2c8)](){var _0x14d872=_0x2e6e4f;const _0x5a396b=this[_0x14d872(0x3a1)][_0x14d872(0x320)](this[_0x14d872(0x44b)]);return this[_0x14d872(0x185)]['onMissingChangesets']({'from':_0x5a396b,'to':0x0}),this[_0x14d872(0x44a)][_0x14d872(0x38a)](Q,this[_0x14d872(0x44b)],this[_0x14d872(0x2d7)],null,[],null,[],this[_0x14d872(0x185)]);}};ye=Ee([P(0x3,_0x499332(_0x5c26d7)),P(0x4,_0x499332(_0x59b99c)),P(0x5,_0x41b341),P(0x6,_0x4bb5bc),P(0x7,_0xaae47a),P(0x8,_0x3b853a),P(0x9,_0x38fa19(J))],ye);let re=class extends Ie{constructor(_0x4b3ddf,_0x53fb12,_0x2a2861,_0x5f3967,_0x41dc2a,_0x120d2d,_0x50ed94,_0x435ecb,_0x50b347,_0x1f16a4,_0x496f4d,_0x2bda10,_0x2d4cc2,_0x1f891e){var _0xe5869e=_0x2e6e4f;super(_0x4b3ddf,_0x53fb12,null,_0x2a2861,_0x5f3967,_0x50b347,_0x2d4cc2,_0x120d2d,_0x1f891e),N(this,'status',_0xe5869e(0x2ad)),N(this,'_scheduleCompleteTimestamp',null),N(this,_0xe5869e(0x2b1),null),(this[_0xe5869e(0x44a)]=_0x41dc2a,this[_0xe5869e(0x251)]=_0x50ed94,this[_0xe5869e(0x41d)]=_0x435ecb,this[_0xe5869e(0x372)]=_0x1f16a4,this[_0xe5869e(0x381)]=_0x496f4d,this['_univerInstanceService']=_0x2bda10);}[_0x2e6e4f(0x24e)](_0x4fb184){var _0xee1249=_0x2e6e4f;return this[_0xee1249(0x32a)][_0xee1249(0x29e)](_0x4fb184),this[_0xee1249(0x35a)](),this;}[_0x2e6e4f(0x1b8)](_0x2224f7){var _0x46a336=_0x2e6e4f;if(this['_checkMissing'](_0x2224f7))return this[_0x46a336(0x283)](),this['_injector'][_0x46a336(0x38a)](Q,this[_0x46a336(0x44b)],this[_0x46a336(0x2d7)],null,this[_0x46a336(0x32a)],null,[_0x2224f7],this['_handler']);try{const _0x555fc1=this[_0x46a336(0x381)][_0x46a336(0x3d2)](_0x2224f7,this[_0x46a336(0x32a)]);if(_0x374759(_0x555fc1)){const {c1Prime:_0xc3f3cb,m2Prime:_0x37214d}=_0x555fc1;this[_0x46a336(0x440)](_0xc3f3cb);const _0xf538e0=this[_0x46a336(0x44a)]['createInstance'](re,this[_0x46a336(0x44b)],this['type'],_0x37214d,this[_0x46a336(0x185)]);this['_clearScheduledTask']();const _0x560b19=new Date()['getTime'](),_0x131762=this[_0x46a336(0x3d7)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x560b19,0x0):this[_0x46a336(0x2d1)]();return _0xf538e0[_0x46a336(0x258)](_0x131762),_0xf538e0;}throw _0x555fc1[_0x46a336(0x178)];}catch(_0x438c0e){return this[_0x46a336(0x41d)][_0x46a336(0x178)](_0x438c0e),this[_0x46a336(0x2c1)](!0x1);}}[_0x2e6e4f(0x267)](){var _0x5ce409=_0x2e6e4f;throw new Error(_0x5ce409(0x41e));}[_0x2e6e4f(0x20f)](){var _0x396e7d=_0x2e6e4f;throw new Error(_0x396e7d(0x17b));}[_0x2e6e4f(0x232)](){return this;}[_0x2e6e4f(0x27c)](){var _0xdf0be8=_0x2e6e4f;return this['_clearScheduledTask'](),this[_0xdf0be8(0x44a)][_0xdf0be8(0x38a)](ue,this[_0xdf0be8(0x44b)],this['type'],null,this['_pendingMutations'],this[_0xdf0be8(0x185)]);}[_0x2e6e4f(0x39e)](){return this;}['_schedule'](_0x5f15e8){var _0x4e2851=_0x2e6e4f;const _0x1849eb=_0x5f15e8!=null?_0x5f15e8:this[_0x4e2851(0x2d1)]();this[_0x4e2851(0x3d7)]=new Date()[_0x4e2851(0x391)]()+_0x1849eb,this[_0x4e2851(0x2b1)]=setTimeout(()=>{var _0x1941aa=_0x4e2851;this['_clearScheduledTask']();let _0x359ffb=null;switch(this[_0x1941aa(0x2d7)]){case Z[_0x1941aa(0x257)]:{_0x359ffb=Wt(this[_0x1941aa(0x32a)],this['unitID'],this['_univerInstanceService'],this[_0x1941aa(0x3a1)],this[_0x1941aa(0x251)]);break;}case Z['UNIVER_DOC']:{this[_0x1941aa(0x32a)][_0x1941aa(0x3e2)](_0x602c5b=>_0x602c5b['id']===_0x23b388['id'])?_0x359ffb=ks(this[_0x1941aa(0x32a)],this['unitID'],this[_0x1941aa(0x1da)],this[_0x1941aa(0x3a1)],this['_memberService']):_0x359ffb=Wt(this[_0x1941aa(0x32a)],this[_0x1941aa(0x44b)],this[_0x1941aa(0x1da)],this['_revisionService'],this[_0x1941aa(0x251)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x1941aa(0x2d7)]+_0x1941aa(0x3fc));}const {changeset:_0x51389e,pendingMutations:_0x599ac2}=_0x359ffb;this[_0x1941aa(0x185)][_0x1941aa(0x1e7)](_0x51389e);const _0x30d113=_0x599ac2[_0x1941aa(0x255)]?this['_injector'][_0x1941aa(0x38a)](ae,this[_0x1941aa(0x44b)],this[_0x1941aa(0x2d7)],_0x51389e,_0x599ac2,this[_0x1941aa(0x185)],void 0x0):this['_injector'][_0x1941aa(0x38a)](_e,this[_0x1941aa(0x44b)],this['type'],_0x51389e,this[_0x1941aa(0x185)]);_0x30d113['_updateLocalCache'](),this[_0x1941aa(0x185)][_0x1941aa(0x394)](this,_0x30d113);},_0x1849eb);}[_0x2e6e4f(0x2d1)](){var _0x47a398=_0x2e6e4f,_0x13512f;const _0x10c9eb=this['_configService'][_0x47a398(0x340)](K);return(_0x13512f=_0x10c9eb==null?void 0x0:_0x10c9eb[_0x47a398(0x415)])!=null?_0x13512f:ps;}[_0x2e6e4f(0x252)](){var _0x202632=_0x2e6e4f;throw new Error(_0x202632(0x423));}[_0x2e6e4f(0x283)](){var _0x50e495=_0x2e6e4f;this[_0x50e495(0x2b1)]!=null&&(clearTimeout(this[_0x50e495(0x2b1)]),this[_0x50e495(0x2b1)]=null);}[_0x2e6e4f(0x2c1)](_0x302cbe){var _0x389079=_0x2e6e4f;return this['_clearScheduledTask'](),this[_0x389079(0x44a)][_0x389079(0x38a)](le,this[_0x389079(0x44b)],this[_0x389079(0x2d7)],null,this[_0x389079(0x32a)],this[_0x389079(0x185)],_0x302cbe);}};re=Ee([P(0x4,_0x499332(_0x59b99c)),P(0x5,_0x499332(_0x5c26d7)),P(0x6,_0x499332(we)),P(0x7,_0xaae47a),P(0x8,_0x4bb5bc),P(0x9,_0x3f2ca4),P(0xa,_0x3b853a),P(0xb,_0x5578d7),P(0xc,_0x41b341),P(0xd,_0x38fa19(J))],re);let _e=class extends Ie{constructor(_0x1a78cd,_0x4f75a7,_0x2b09d9,_0x183827,_0x32feba,_0x8cd247,_0x4ca626,_0x5bb315,_0x35063c,_0x3e7ed8,_0x2b6cc6){var _0x37edb1=_0x2e6e4f;super(_0x1a78cd,_0x4f75a7,_0x2b09d9,[],_0x183827,_0x4ca626,_0x3e7ed8,_0x8cd247,_0x2b6cc6),N(this,_0x37edb1(0x17f),_0x37edb1(0x210)),N(this,'_resendTimeout',0x0),N(this,_0x37edb1(0x387)),N(this,'_sender'),(this['_injector']=_0x32feba,this[_0x37edb1(0x41d)]=_0x5bb315,this[_0x37edb1(0x381)]=_0x35063c);}[_0x2e6e4f(0x24e)](_0x1869f2){var _0x493ef7=_0x2e6e4f;this[_0x493ef7(0x283)]();const _0xe617ee=this['_injector']['createInstance'](ae,this[_0x493ef7(0x44b)],this[_0x493ef7(0x2d7)],this[_0x493ef7(0x454)],[_0x1869f2],this['_handler'],this['_resendTimer']);return _0xe617ee[_0x493ef7(0x35a)](),_0xe617ee;}[_0x2e6e4f(0x1b8)](_0xa42a73){var _0x5cb713=_0x2e6e4f;if(this['_checkMissing'](_0xa42a73))return this['_clearScheduledTask'](),this[_0x5cb713(0x44a)]['createInstance'](Q,this[_0x5cb713(0x44b)],this[_0x5cb713(0x2d7)],this[_0x5cb713(0x454)],[],null,[_0xa42a73],this[_0x5cb713(0x185)]);try{const _0xd73db9=this[_0x5cb713(0x381)][_0x5cb713(0x3fb)]([_0xa42a73],[this['_awaitingChangeset']],!0x1);if(_0x251222(_0xd73db9)){const {c1Prime:_0x47d79a,c2Prime:_0x1000fd}=_0xd73db9;this[_0x5cb713(0x440)](_0x47d79a[0x0]),_0x1000fd[0x0][_0x5cb713(0x323)]=this[_0x5cb713(0x293)](),this[_0x5cb713(0x283)]();const _0xe7ddb0=this[_0x5cb713(0x44a)]['createInstance'](_e,this[_0x5cb713(0x44b)],this['type'],_0x1000fd[0x0],this[_0x5cb713(0x185)]);return _0xe7ddb0[_0x5cb713(0x35a)](),_0xe7ddb0;}return this[_0x5cb713(0x2c1)](!0x1);}catch(_0x265f2b){return this[_0x5cb713(0x41d)][_0x5cb713(0x178)](_0x265f2b),this[_0x5cb713(0x2c1)](!0x1);}}['onRemoteAck'](_0x31d6ea){var _0x30a643=_0x2e6e4f;this[_0x30a643(0x283)]();const _0x4f51c2=this['_revisionService'][_0x30a643(0x320)](this['unitID']);if(_0x31d6ea[_0x30a643(0x1a9)]<_0x4f51c2-0x1)return this;if(this[_0x30a643(0x240)](_0x31d6ea))return this[_0x30a643(0x44a)][_0x30a643(0x38a)](Q,this[_0x30a643(0x44b)],this['type'],null,[],this[_0x30a643(0x454)],[],this['_handler']);this[_0x30a643(0x1c2)]();const _0x4cf624=this[_0x30a643(0x44a)][_0x30a643(0x38a)](ye,this[_0x30a643(0x44b)],this[_0x30a643(0x2d7)],this[_0x30a643(0x185)]);return _0x4cf624['_updateLocalCache'](),_0x4cf624;}[_0x2e6e4f(0x20f)](_0x4a8038){var _0x1e15e6=_0x2e6e4f;return this['_onConflict'](!!(_0x4a8038!=null&&_0x4a8038[_0x1e15e6(0x36a)]));}[_0x2e6e4f(0x232)](_0x5d3258){var _0x476ab6=_0x2e6e4f;return this[_0x476ab6(0x2cb)]>Ii?this[_0x476ab6(0x27c)]():(this[_0x476ab6(0x387)]=Si(this[_0x476ab6(0x2cb)],{'timeout':this[_0x476ab6(0x2cb)],'reqId':_0x5d3258[_0x476ab6(0x468)]}),this[_0x476ab6(0x241)]=this['_resendTimer']['subscribe'](({reqId:_0x42f3b0,timeout:_0x3a5835})=>{var _0x154a2b=_0x476ab6;this[_0x154a2b(0x44f)](_0x42f3b0,_0x3a5835);}),this);}[_0x2e6e4f(0x27c)](){var _0xe65694=_0x2e6e4f;return this[_0xe65694(0x283)](),this[_0xe65694(0x44a)][_0xe65694(0x38a)](ue,this[_0xe65694(0x44b)],this[_0xe65694(0x2d7)],this[_0xe65694(0x454)],[],this[_0xe65694(0x185)]);}[_0x2e6e4f(0x39e)](){return this;}[_0x2e6e4f(0x252)](){var _0x46f799=_0x2e6e4f;this[_0x46f799(0x185)][_0x46f799(0x1e7)](this[_0x46f799(0x454)]);}[_0x2e6e4f(0x2c1)](_0x4bfd6a){var _0x19b065=_0x2e6e4f;return this['_clearScheduledTask'](),this[_0x19b065(0x44a)][_0x19b065(0x38a)](le,this['unitID'],this[_0x19b065(0x2d7)],this[_0x19b065(0x454)],[],this[_0x19b065(0x185)],_0x4bfd6a);}['_resendWithTimeout'](_0x1f41e3,_0x5e8400){var _0x309d7c=_0x2e6e4f,_0xc79539;_0x1f41e3===((_0xc79539=this[_0x309d7c(0x454)])==null?void 0x0:_0xc79539['reqId'])&&(this[_0x309d7c(0x252)](),this[_0x309d7c(0x2cb)]=_0x5e8400===0x0?0x3e8:_0x5e8400*0x2);}[_0x2e6e4f(0x283)](){var _0x581393=_0x2e6e4f,_0x533dbc;(_0x533dbc=this['_sender'])==null||_0x533dbc[_0x581393(0x2ec)](),this[_0x581393(0x2cb)]=0x0;}};_e=Ee([P(0x4,_0x499332(_0x59b99c)),P(0x5,_0x499332(_0x5c26d7)),P(0x6,_0x4bb5bc),P(0x7,_0xaae47a),P(0x8,_0x3b853a),P(0x9,_0x41b341),P(0xa,_0x38fa19(J))],_e);let ae=class extends Ie{constructor(_0x5b9bef,_0xcf277a,_0x3f735f,_0x54ef65,_0xbf0ef1,_0x447784,_0xbe19b0,_0x3a68cc,_0x177ba4,_0x6fe07d,_0x3bc114,_0x5a32aa,_0x2288d5){var _0x3a52cf=_0x2e6e4f;super(_0x5b9bef,_0xcf277a,_0x3f735f,_0x54ef65,_0xbf0ef1,_0x177ba4,_0x5a32aa,_0x3a68cc,_0x2288d5),N(this,_0x3a52cf(0x17f),'awaiting_with_pending'),N(this,_0x3a52cf(0x2cb),0x0),N(this,'_resendTimer'),N(this,_0x3a52cf(0x241)),(this[_0x3a52cf(0x44a)]=_0xbe19b0,this[_0x3a52cf(0x41d)]=_0x6fe07d,this['_transformService']=_0x3bc114,this[_0x3a52cf(0x24c)]=_0x2288d5,_0x447784&&(this[_0x3a52cf(0x387)]=_0x447784,this[_0x3a52cf(0x241)]=this[_0x3a52cf(0x387)][_0x3a52cf(0x3fd)](({reqId:_0x32fafc,timeout:_0x39c3af})=>{this['_resendWithTimeout'](_0x32fafc,_0x39c3af);})));}[_0x2e6e4f(0x24e)](_0x32adb6){var _0x5972b1=_0x2e6e4f;return this[_0x5972b1(0x32a)][_0x5972b1(0x29e)](_0x32adb6),this;}['onRemoteChangeset'](_0x17ba71){var _0x303b30=_0x2e6e4f;if(this[_0x303b30(0x240)](_0x17ba71))return this['_clearScheduledTask'](),this[_0x303b30(0x44a)]['createInstance'](Q,this[_0x303b30(0x44b)],this[_0x303b30(0x2d7)],this[_0x303b30(0x454)],this[_0x303b30(0x32a)],null,[_0x17ba71],this[_0x303b30(0x185)]);try{const _0x457558=this[_0x303b30(0x381)][_0x303b30(0x3fb)]([_0x17ba71],[this[_0x303b30(0x454)]],!0x1);if(_0x251222(_0x457558)){const {c1Prime:_0x5e3bb3,c2Prime:_0x545209}=_0x457558,_0x4afda4=this['_transformService'][_0x303b30(0x3d2)](_0x5e3bb3[0x0],this[_0x303b30(0x32a)]);if(_0x374759(_0x4afda4)){const {c1Prime:_0x535ac1,m2Prime:_0x31286e}=_0x4afda4;return this['_executeRemoteChangeset'](_0x535ac1),_0x545209[0x0][_0x303b30(0x323)]=this['_getCurrentRevision'](),this[_0x303b30(0x283)](),this[_0x303b30(0x44a)][_0x303b30(0x38a)](ae,this[_0x303b30(0x44b)],this['type'],_0x545209[0x0],_0x31286e,this['_handler'],void 0x0);}throw _0x4afda4[_0x303b30(0x178)];}throw _0x457558[_0x303b30(0x178)];}catch(_0x59b135){return this[_0x303b30(0x41d)][_0x303b30(0x178)](_0x59b135),this[_0x303b30(0x2c1)](!0x1);}}[_0x2e6e4f(0x267)](_0xece3b2){var _0x455b69=_0x2e6e4f;if(this[_0x455b69(0x283)](),this[_0x455b69(0x240)](_0xece3b2))return this[_0x455b69(0x44a)][_0x455b69(0x38a)](Q,this[_0x455b69(0x44b)],this['type'],null,this[_0x455b69(0x32a)],this[_0x455b69(0x454)],[],this[_0x455b69(0x185)]);this[_0x455b69(0x1c2)]();const _0x521895=this['_injector'][_0x455b69(0x38a)](re,this[_0x455b69(0x44b)],this[_0x455b69(0x2d7)],this[_0x455b69(0x32a)],this['_handler']);return _0x521895[_0x455b69(0x258)](),_0x521895[_0x455b69(0x35a)](),_0x521895;}[_0x2e6e4f(0x20f)](_0x2d515a){var _0x4b7a06=_0x2e6e4f;return this['_onConflict'](!!(_0x2d515a!=null&&_0x2d515a[_0x4b7a06(0x36a)]));}['onRemoteRetry'](_0x65297e){var _0x1dba4e=_0x2e6e4f;return this[_0x1dba4e(0x2cb)]>Ii?this[_0x1dba4e(0x27c)]():(this[_0x1dba4e(0x387)]=Si(this[_0x1dba4e(0x2cb)],{'timeout':this[_0x1dba4e(0x2cb)],'reqId':_0x65297e[_0x1dba4e(0x468)]}),this[_0x1dba4e(0x241)]=this[_0x1dba4e(0x387)][_0x1dba4e(0x3fd)](({reqId:_0x3a2892,timeout:_0x38d6b5})=>{this['_resendWithTimeout'](_0x3a2892,_0x38d6b5);}),this);}[_0x2e6e4f(0x27c)](){var _0x5c232d=_0x2e6e4f;return this[_0x5c232d(0x283)](),this['_injector'][_0x5c232d(0x38a)](ue,this['unitID'],this[_0x5c232d(0x2d7)],this[_0x5c232d(0x454)],this[_0x5c232d(0x32a)],this[_0x5c232d(0x185)]);}['toggleOnline'](){return this;}[_0x2e6e4f(0x252)](){var _0x800e70=_0x2e6e4f;this[_0x800e70(0x185)][_0x800e70(0x1e7)](this[_0x800e70(0x454)]);}[_0x2e6e4f(0x2c1)](_0x55387e){var _0x4a91ab=_0x2e6e4f;return this[_0x4a91ab(0x283)](),this[_0x4a91ab(0x44a)]['createInstance'](le,this[_0x4a91ab(0x44b)],this[_0x4a91ab(0x2d7)],null,this[_0x4a91ab(0x32a)],this[_0x4a91ab(0x185)],_0x55387e);}[_0x2e6e4f(0x44f)](_0x5d131e,_0xdf174a){var _0x51691b=_0x2e6e4f,_0xdf87b;_0x5d131e===((_0xdf87b=this[_0x51691b(0x454)])==null?void 0x0:_0xdf87b[_0x51691b(0x468)])&&(this[_0x51691b(0x252)](),this[_0x51691b(0x2cb)]=_0xdf174a===0x0?0x3e8:_0xdf174a*0x2);}[_0x2e6e4f(0x283)](){var _0x2d49a2=_0x2e6e4f,_0x93a2be;(_0x93a2be=this[_0x2d49a2(0x241)])==null||_0x93a2be[_0x2d49a2(0x2ec)](),this[_0x2d49a2(0x2cb)]=0x0;}};ae=Ee([P(0x6,_0x499332(_0x59b99c)),P(0x7,_0x499332(_0x5c26d7)),P(0x8,_0x4bb5bc),P(0x9,_0xaae47a),P(0xa,_0x3b853a),P(0xb,_0x41b341),P(0xc,_0x38fa19(J))],ae);let le=class extends Ie{constructor(_0x57f5f3,_0x9fe505,_0x5a8da0,_0x558927,_0x5341be,_0x1db109=!0x1,_0xf6927d,_0x436bec,_0x1134a1,_0x1c3869,_0x553ddb,_0x37dbde,_0x2b6dea){var _0x4a9bb3=_0x2e6e4f;super(_0x57f5f3,_0x9fe505,_0x5a8da0,_0x558927,_0x5341be,_0x436bec,_0x1134a1,_0x1c3869,_0x2b6dea),N(this,_0x4a9bb3(0x17f),_0x4a9bb3(0x237)),(this[_0x4a9bb3(0x2bd)]=_0x1db109,this['_permissionService']=_0xf6927d,this[_0x4a9bb3(0x35b)]=_0x553ddb,this[_0x4a9bb3(0x201)]=_0x37dbde,this[_0x4a9bb3(0x24c)]=_0x2b6dea,this[_0x4a9bb3(0x163)](),this['_clearLocalCache'](),this[_0x4a9bb3(0x164)]());}[_0x2e6e4f(0x24e)](){return this;}[_0x2e6e4f(0x1b8)](){return this;}[_0x2e6e4f(0x267)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x2e6e4f(0x27c)](){return this;}[_0x2e6e4f(0x39e)](){return this;}['resend'](){var _0x45f28c=_0x2e6e4f;throw new Error(_0x45f28c(0x465));}[_0x2e6e4f(0x288)](){var _0x4286ca=_0x2e6e4f,_0x4f1eef;(_0x4f1eef=this[_0x4286ca(0x467)])==null||_0x4f1eef[_0x4286ca(0x249)](this[_0x4286ca(0x44b)],this[_0x4286ca(0x2d7)],null,[]);}['_showConflictNotification'](){var _0x22dd0a=_0x2e6e4f;this[_0x22dd0a(0x2bd)]?this[_0x22dd0a(0x201)]['emitEvent']({'id':ne[_0x22dd0a(0x34e)]}):this[_0x22dd0a(0x201)][_0x22dd0a(0x385)]({'id':ne[_0x22dd0a(0x3ec)]});}[_0x2e6e4f(0x164)](){var _0x3a60e9=_0x2e6e4f;this[_0x3a60e9(0x20d)]['updatePermissionPoint'](new _0x160a0f(this[_0x3a60e9(0x44b)])['id'],!0x1);}};le=Ee([P(0x6,_0x499332(_0x4e7c61)),P(0x7,_0x4bb5bc),P(0x8,_0x41b341),P(0x9,_0x499332(_0x5c26d7)),P(0xa,_0x499332(_0x12aa68)),P(0xb,_0x499332(ve)),P(0xc,_0x38fa19(J))],le);let ue=class extends Ie{constructor(_0x1cf006,_0x726cb5,_0x4b4fcc,_0x5a19bd,_0x5c90f7,_0x337967,_0x1dc654,_0x595645,_0x300b17,_0x457b57){var _0x29c410=_0x2e6e4f;super(_0x1cf006,_0x726cb5,_0x4b4fcc,_0x5a19bd,_0x5c90f7,_0x595645,_0x300b17,_0x1dc654,_0x457b57),N(this,_0x29c410(0x17f),_0x29c410(0x44e)),this['_injector']=_0x337967;}[_0x2e6e4f(0x24e)](_0xa82f55){var _0x1714ef=_0x2e6e4f;return this[_0x1714ef(0x32a)][_0x1714ef(0x29e)](_0xa82f55),this[_0x1714ef(0x35a)](),this;}['onRemoteChangeset'](_0x3fb0b4){var _0x502537=_0x2e6e4f;throw new Error(_0x502537(0x3f2));}[_0x2e6e4f(0x267)](){var _0x137bfc=_0x2e6e4f;throw new Error(_0x137bfc(0x429));}[_0x2e6e4f(0x20f)](){var _0x3b89f7=_0x2e6e4f;throw new Error(_0x3b89f7(0x1b1));}[_0x2e6e4f(0x232)](){return this;}[_0x2e6e4f(0x27c)](){return this;}[_0x2e6e4f(0x39e)](){var _0x1ac6bb=_0x2e6e4f;const {_injector:_0x28e0cb,_pendingMutations:_0x2db6c5,_awaitingChangeset:_0x4da89b,unitID:_0xfbea54,_handler:_0x56f670,type:_0x3b57c3}=this,_0x10b422=Ti(_0x28e0cb,_0xfbea54,_0x3b57c3,_0x4da89b,_0x2db6c5,_0x56f670);return _0x10b422 instanceof re?_0x10b422['_schedule']():(_0x10b422 instanceof ae||_0x10b422 instanceof _e)&&_0x10b422[_0x1ac6bb(0x252)](),_0x10b422;}[_0x2e6e4f(0x252)](){var _0x3bd2fb=_0x2e6e4f;throw new Error(_0x3bd2fb(0x338));}};ue=Ee([P(0x5,_0x499332(_0x59b99c)),P(0x6,_0x499332(_0x5c26d7)),P(0x7,_0x4bb5bc),P(0x8,_0x41b341),P(0x9,_0x38fa19(J))],ue);let Q=class extends Ie{constructor(_0x1cd630,_0x420a60,_0x34d425,_0x341fec,_0x51aaf4,_0x4d19a6,_0x1fac9e,_0x1d297d,_0x37c8d2,_0x24fbb5,_0x5dfeb8,_0x101061,_0x506003,_0x480902){var _0x3fdced=_0x2e6e4f;super(_0x1cd630,_0x420a60,_0x34d425,_0x341fec,_0x1fac9e,_0x5dfeb8,_0x101061,_0x37c8d2,_0x480902),N(this,_0x3fdced(0x17f),_0x3fdced(0x213)),(this['_acknowledgedAwaitingChangeset']=_0x51aaf4,this[_0x3fdced(0x227)]=_0x4d19a6,this[_0x3fdced(0x44a)]=_0x1d297d,this[_0x3fdced(0x41d)]=_0x24fbb5,this[_0x3fdced(0x381)]=_0x506003,this[_0x3fdced(0x24c)]=_0x480902);}[_0x2e6e4f(0x28e)](_0x20ff20){var _0x2084df=_0x2e6e4f;try{const _0x58597d=[..._0x20ff20,...this[_0x2084df(0x227)]],_0xf1b3ac=[this[_0x2084df(0x454)]||this[_0x2084df(0x1af)]][_0x2084df(0x322)](_0xfe8a42=>!!_0xfe8a42);let _0x51dec2,_0x23fb28;if(_0xf1b3ac['length']){const _0x6010a6=this[_0x2084df(0x381)]['transformChangesets'](_0x58597d,_0xf1b3ac,!0x1);if(!_0x251222(_0x6010a6))throw _0x6010a6['error'];_0x51dec2=_0x6010a6[_0x2084df(0x35c)],_0x23fb28=_0x6010a6[_0x2084df(0x1f4)];}else _0x51dec2=_0x58597d,_0x23fb28=[];let _0x188646=this[_0x2084df(0x32a)];_0x51dec2[_0x2084df(0x1ca)](_0x3555db=>{var _0xfc1f39=_0x2084df;let _0xf81bb7;if(_0x188646[_0xfc1f39(0x255)]){const _0x2ced6e=this[_0xfc1f39(0x381)][_0xfc1f39(0x3d2)](_0x3555db,_0x188646);if(!_0x374759(_0x2ced6e))throw _0x2ced6e[_0xfc1f39(0x178)];_0xf81bb7=_0x2ced6e[_0xfc1f39(0x35c)],_0x188646=_0x2ced6e[_0xfc1f39(0x1e0)];}else _0xf81bb7=_0x3555db;this['_executeRemoteChangeset'](_0xf81bb7);}),this[_0x2084df(0x1af)]&&this[_0x2084df(0x1c2)](),this[_0x2084df(0x454)]&&_0x23fb28[_0x2084df(0x255)]&&(_0x23fb28[0x0]['baseRev']=this[_0x2084df(0x293)]());let _0x551617;if(this[_0x2084df(0x454)]&&_0x188646[_0x2084df(0x255)]!==0x0)_0x551617=this[_0x2084df(0x44a)][_0x2084df(0x38a)](ae,this[_0x2084df(0x44b)],this[_0x2084df(0x2d7)],_0x23fb28[0x0],_0x188646,this[_0x2084df(0x185)],void 0x0);else{if(this[_0x2084df(0x454)]&&_0x188646[_0x2084df(0x255)]===0x0)_0x23fb28[0x0][_0x2084df(0x323)]=this[_0x2084df(0x293)](),_0x551617=this['_injector'][_0x2084df(0x38a)](_e,this['unitID'],this['type'],_0x23fb28[0x0],this[_0x2084df(0x185)]);else{if(_0x188646['length']!==0x0){const _0xcc61af=this['_injector'][_0x2084df(0x38a)](re,this[_0x2084df(0x44b)],this[_0x2084df(0x2d7)],_0x188646,this['_handler']);_0xcc61af[_0x2084df(0x258)](),_0x551617=_0xcc61af;}else _0x551617=this[_0x2084df(0x44a)][_0x2084df(0x38a)](ye,this[_0x2084df(0x44b)],this[_0x2084df(0x2d7)],this['_handler']);}}return _0x551617[_0x2084df(0x35a)](),_0x551617;}catch(_0x3008ee){return this['_logService']['error'](_0x2084df(0x3a9),_0x2084df(0x187),_0x3008ee),this[_0x2084df(0x44a)][_0x2084df(0x38a)](le,this[_0x2084df(0x44b)],this[_0x2084df(0x2d7)],this[_0x2084df(0x454)],this[_0x2084df(0x32a)],this[_0x2084df(0x185)],!0x1);}}[_0x2e6e4f(0x252)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2e6e4f(0x24e)](_0xaead23){var _0x977ff=_0x2e6e4f;return this[_0x977ff(0x32a)][_0x977ff(0x29e)](_0xaead23),this;}[_0x2e6e4f(0x1b8)](_0x20ac5f){var _0x3b3b66=_0x2e6e4f;return this[_0x3b3b66(0x227)][_0x3b3b66(0x29e)](_0x20ac5f),this;}['onRemoteAck'](_0x4a8551){var _0x4adf41=_0x2e6e4f;if(this[_0x4adf41(0x454)])return this[_0x4adf41(0x1af)]=this[_0x4adf41(0x454)],this[_0x4adf41(0x454)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x2e6e4f(0x20f)](_0xa2bf9d){var _0x46c71a=_0x2e6e4f;return this[_0x46c71a(0x2c1)](!!(_0xa2bf9d!=null&&_0xa2bf9d[_0x46c71a(0x36a)]));}[_0x2e6e4f(0x232)](){return this;}[_0x2e6e4f(0x27c)](){var _0x3af4b9=_0x2e6e4f;return this[_0x3af4b9(0x44a)]['createInstance'](ue,this[_0x3af4b9(0x44b)],this['type'],this['_awaitingChangeset'],this[_0x3af4b9(0x32a)],this[_0x3af4b9(0x185)]);}['toggleOnline'](){return this;}[_0x2e6e4f(0x2c1)](_0x38e212){var _0x3a03e0=_0x2e6e4f;return this[_0x3a03e0(0x44a)][_0x3a03e0(0x38a)](le,this[_0x3a03e0(0x44b)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x3a03e0(0x185)],_0x38e212);}};Q=Ee([P(0x7,_0x499332(_0x59b99c)),P(0x8,_0x499332(_0x5c26d7)),P(0x9,_0xaae47a),P(0xa,_0x4bb5bc),P(0xb,_0x41b341),P(0xc,_0x3b853a),P(0xd,_0x38fa19(J))],Q);function Ti(_0x49741f,_0x214c26,_0x298dad,_0x5e24bc,_0x17fad5,_0x39e583){var _0x26dc5c=_0x2e6e4f;return _0x5e24bc&&_0x17fad5[_0x26dc5c(0x255)]?_0x49741f['createInstance'](ae,_0x214c26,_0x298dad,_0x5e24bc,_0x17fad5,_0x39e583,void 0x0):_0x5e24bc?_0x49741f[_0x26dc5c(0x38a)](_e,_0x214c26,_0x298dad,_0x5e24bc,_0x39e583):_0x17fad5[_0x26dc5c(0x255)]?_0x49741f[_0x26dc5c(0x38a)](re,_0x214c26,_0x298dad,_0x17fad5,_0x39e583):_0x49741f[_0x26dc5c(0x38a)](ye,_0x214c26,_0x298dad,_0x39e583);}var Bs=Object[_0x2e6e4f(0x3c3)],wt=(_0x384f37,_0x4ef5f4,_0x1596fd,_0x34c205)=>{var _0x26e549=_0x2e6e4f;for(var _0x2f8ede=_0x34c205>0x1?void 0x0:_0x34c205?Bs(_0x4ef5f4,_0x1596fd):_0x4ef5f4,_0x5270d9=_0x384f37[_0x26e549(0x255)]-0x1,_0x353239;_0x5270d9>=0x0;_0x5270d9--)(_0x353239=_0x384f37[_0x5270d9])&&(_0x2f8ede=_0x353239(_0x2f8ede)||_0x2f8ede);return _0x2f8ede;},H=(_0x4ca286,_0x164722)=>(_0x332bb0,_0xbd6e7b)=>_0x164722(_0x332bb0,_0xbd6e7b,_0x4ca286);let st=class extends _0x5a8474{constructor(_0x37cd9a,_0x1820f5,_0x378e49,_0x2d1980,_0x232379,_0x262f99,_0x11cd33,_0x57a98d,_0x197211,_0x50e938,_0x2646db,_0x5b572f,_0x31df83){var _0x11e78c=_0x2e6e4f;super(),N(this,'_state$',new _0x4a6e6f(null)),N(this,_0x11e78c(0x369),this[_0x11e78c(0x449)]['asObservable']()),N(this,'_state'),N(this,_0x11e78c(0x395),!0x1),N(this,_0x11e78c(0x2ab),''),N(this,_0x11e78c(0x360),0x0),N(this,'status$',this[_0x11e78c(0x369)][_0x11e78c(0x1d0)](_0x5d881d(_0x2235cb=>_0x2235cb?_0x2235cb[_0x11e78c(0x17f)]:Ei['OFFLINE']),_0xcee7d7(0x1))),N(this,_0x11e78c(0x2dc),!0x1),N(this,_0x11e78c(0x36c),[]),(this[_0x11e78c(0x44b)]=_0x37cd9a,this[_0x11e78c(0x1d6)]=_0x1820f5,this[_0x11e78c(0x170)]=_0x378e49,this[_0x11e78c(0x44a)]=_0x2d1980,this[_0x11e78c(0x1f9)]=_0x232379,this['_localeService']=_0x262f99,this[_0x11e78c(0x3a1)]=_0x11cd33,this[_0x11e78c(0x1c9)]=_0x57a98d,this['_logService']=_0x197211,this[_0x11e78c(0x246)]=_0x50e938,this[_0x11e78c(0x20d)]=_0x2646db,this[_0x11e78c(0x378)]=_0x5b572f,this[_0x11e78c(0x467)]=_0x31df83);}get[_0x2e6e4f(0x2ac)](){var _0x30653f=_0x2e6e4f;return this[_0x30653f(0x245)];}async[_0x2e6e4f(0x3e0)](){var _0x419d0c=_0x2e6e4f;if(this['state'])throw new Error(_0x419d0c(0x168));await this[_0x419d0c(0x43f)]();}['pauseCollaboration'](){var _0x257aad=_0x2e6e4f;return this[_0x257aad(0x395)]=!0x0,_0xf96aaa(()=>{var _0x1f4775=_0x257aad;this[_0x1f4775(0x395)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x2e6e4f(0x363)](_0x30d641){this['_onLocalMutation'](_0x30d641);}[_0x2e6e4f(0x358)](_0x1e4627){var _0x28f82d=_0x2e6e4f;this[_0x28f82d(0x245)]=_0x1e4627,this[_0x28f82d(0x449)]['next'](_0x1e4627);}async[_0x2e6e4f(0x43f)](){var _0xe1440d=_0x2e6e4f,_0x4b151f;this['_updateState'](await this[_0xe1440d(0x3cc)]()),this[_0xe1440d(0x378)]&&((_0x4b151f=this[_0xe1440d(0x378)])==null||_0x4b151f[_0xe1440d(0x281)](this[_0xe1440d(0x44b)]),this[_0xe1440d(0x27a)](this[_0xe1440d(0x378)][_0xe1440d(0x42a)](this[_0xe1440d(0x44b)])['subscribe'](_0xcc875d=>{var _0x12ab7e=_0xe1440d;this[_0x12ab7e(0x41d)][_0x12ab7e(0x384)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0xcc875d),_0xcc875d===gi[_0x12ab7e(0x318)]?(this[_0x12ab7e(0x1c9)][_0x12ab7e(0x385)]({'id':ne[_0x12ab7e(0x18d)]}),this[_0x12ab7e(0x20d)][_0x12ab7e(0x40c)](new _0x160a0f(this[_0x12ab7e(0x44b)])['id'],!0x1),this[_0x12ab7e(0x20d)][_0x12ab7e(0x1ad)](!0x1)):(this[_0x12ab7e(0x20d)][_0x12ab7e(0x40c)](new _0x160a0f(this[_0x12ab7e(0x44b)])['id'],!0x0),this[_0x12ab7e(0x20d)][_0x12ab7e(0x1ad)](!0x0));})));let _0x25e64c=!0x1;return this[_0xe1440d(0x27a)](this['session'][_0xe1440d(0x217)][_0xe1440d(0x3fd)](_0x18435f=>{var _0x125bd1=_0xe1440d;_0x18435f===ge[_0x125bd1(0x250)]?this['_toggleOnline'](_0x25e64c):_0x18435f===ge[_0x125bd1(0x3e5)]&&(_0x25e64c=!0x0,this[_0x125bd1(0x22e)]());})),this[_0xe1440d(0x27a)](this[_0xe1440d(0x1d6)][_0xe1440d(0x1ff)][_0xe1440d(0x3fd)](_0x1a97f6=>{var _0x4a4f47=_0xe1440d;try{switch(_0x1a97f6[_0x4a4f47(0x218)]){case _0x583187[_0x4a4f47(0x334)]:{this[_0x4a4f47(0x1d8)](_0x15b29a(_0x1a97f6[_0x4a4f47(0x24b)]));break;}case _0x583187[_0x4a4f47(0x3e1)]:{this[_0x4a4f47(0x2b8)](_0x1a97f6[_0x4a4f47(0x24b)]);break;}case _0x583187[_0x4a4f47(0x3cf)]:{this['_onRemoteRejected']();break;}case _0x583187[_0x4a4f47(0x277)]:{this['_onRemoteRetry'](_0x1a97f6[_0x4a4f47(0x24b)]);break;}case _0x583187['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x1a97f6[_0x4a4f47(0x24b)]['changesets'][_0x4a4f47(0x19a)](_0x2c1f7b=>_0x15b29a(_0x2c1f7b)));break;}case _0x583187['PERMISSION_REJ']:{this[_0x4a4f47(0x36e)]({'isPermissionRej':!0x0});break;}case _0x583187[_0x4a4f47(0x275)]:break;}}catch(_0x4b6550){throw console[_0x4a4f47(0x178)]('Error\x20on\x20receiving\x20event',_0x4b6550),_0x4b6550;}})),this[_0xe1440d(0x245)];}[_0x2e6e4f(0x22c)](){this['_transitionLocked']=!0x1;}[_0x2e6e4f(0x1dd)](){var _0x1b3331=_0x2e6e4f;if(this[_0x1b3331(0x2dc)])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[_0x1b3331(0x2dc)]=!0x0;}['_onLocalMutation'](_0x14c2f5){var _0x2085b2=_0x2e6e4f;this[_0x2085b2(0x1dd)](),this[_0x2085b2(0x358)](this[_0x2085b2(0x245)]['appendMutation'](_0x14c2f5)),this['_unlockTransition']();}[_0x2e6e4f(0x1d8)](_0x32b72c){var _0x48ce2c=_0x2e6e4f;if(!(_0x32b72c[_0x48ce2c(0x1a9)]<=this['_revisionService'][_0x48ce2c(0x320)](this[_0x48ce2c(0x44b)]))){if(this[_0x48ce2c(0x395)]){this['_remoteChangesetQueue'][_0x48ce2c(0x29e)](_0x32b72c);return;}this[_0x48ce2c(0x3d6)](_0x32b72c);}}[_0x2e6e4f(0x46c)](){var _0x40b595=_0x2e6e4f;this[_0x40b595(0x36c)][_0x40b595(0x1ca)](_0x29aef1=>this[_0x40b595(0x3d6)](_0x29aef1)),this[_0x40b595(0x36c)]=[];}[_0x2e6e4f(0x3d6)](_0x592a2b){var _0x1a0afe=_0x2e6e4f;const _0x19ad69=this['_compressMutationService'][_0x1a0afe(0x2df)]['fetchThroughInterceptors'](this[_0x1a0afe(0x1f9)]['interceptor']['getInterceptPoints']()[_0x1a0afe(0x312)])(_0x592a2b['mutations'],null)||_0x592a2b[_0x1a0afe(0x426)],_0x564f36={..._0x592a2b,'mutations':_0x19ad69};this[_0x1a0afe(0x1dd)](),this[_0x1a0afe(0x358)](this[_0x1a0afe(0x245)][_0x1a0afe(0x1b8)](_0x564f36)),this[_0x1a0afe(0x22c)]();}[_0x2e6e4f(0x2b8)](_0x59e617){var _0x3795de=_0x2e6e4f;this[_0x3795de(0x1dd)](),this[_0x3795de(0x358)](this[_0x3795de(0x245)]['onRemoteAck'](_0x59e617)),this[_0x3795de(0x22c)]();}[_0x2e6e4f(0x36e)](_0x1796cb){var _0x4c032b=_0x2e6e4f;this[_0x4c032b(0x1dd)](),this[_0x4c032b(0x358)](this[_0x4c032b(0x245)][_0x4c032b(0x20f)](_0x1796cb)),this['_unlockTransition']();}[_0x2e6e4f(0x3b4)](_0x3f61fc){var _0x48d0be=_0x2e6e4f;this[_0x48d0be(0x1dd)](),this[_0x48d0be(0x358)](this[_0x48d0be(0x245)][_0x48d0be(0x232)](_0x3f61fc)),this[_0x48d0be(0x22c)]();}['_onFetchMissResult'](_0x356a5a){var _0x302a69=_0x2e6e4f;if(!(this[_0x302a69(0x245)]instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x24c225=_0x356a5a[_0x302a69(0x19a)](_0x38a0d4=>{var _0x793368=_0x302a69;const _0x3dee6a=this[_0x793368(0x1f9)][_0x793368(0x2df)][_0x793368(0x26e)](this[_0x793368(0x1f9)][_0x793368(0x2df)][_0x793368(0x222)]()[_0x793368(0x312)])(_0x38a0d4[_0x793368(0x426)],null)||_0x38a0d4[_0x793368(0x426)];return{..._0x38a0d4,'mutations':_0x3dee6a};});this[_0x302a69(0x1dd)](),this['_updateState'](this[_0x302a69(0x245)][_0x302a69(0x28e)](_0x24c225)),this['_unlockTransition']();}[_0x2e6e4f(0x22e)](){var _0xa0032a=_0x2e6e4f;this[_0xa0032a(0x1dd)](),this['_updateState'](this[_0xa0032a(0x245)][_0xa0032a(0x27c)]()),this[_0xa0032a(0x22c)]();}[_0x2e6e4f(0x379)](_0x4329ef=!0x1){var _0x16b425=_0x2e6e4f;this[_0x16b425(0x1dd)](),this[_0x16b425(0x358)](this[_0x16b425(0x245)][_0x16b425(0x39e)]()),this[_0x16b425(0x22c)]();const _0x2bff4d=this[_0x16b425(0x245)];_0x4329ef&&_0x2bff4d instanceof ye&&(this['_lockTransition'](),this[_0x16b425(0x358)](_0x2bff4d[_0x16b425(0x2c8)]()),this[_0x16b425(0x22c)]());}async[_0x2e6e4f(0x3cc)](){return new Promise(_0x360ed7=>{var _0x42cf92=_0x18c4;this[_0x42cf92(0x1d6)][_0x42cf92(0x217)]['pipe'](_0x12a5d2(0x1))[_0x42cf92(0x3fd)](async _0x38bd9d=>{var _0x423da1=_0x42cf92;_0x360ed7(await this[_0x423da1(0x42e)](_0x38bd9d===ge[_0x423da1(0x250)]));});});}[_0x2e6e4f(0x46e)](){var _0x145042=_0x2e6e4f;const _0x2391b2=this[_0x145042(0x44b)];return{'onStateChange':(_0xc19aed,_0x35ff58)=>{var _0x45855a=_0x145042;if(_0xc19aed!==this[_0x45855a(0x245)])throw new Error(_0x45855a(0x208)+_0xc19aed[_0x45855a(0x17f)]+_0x45855a(0x35f)+_0x35ff58[_0x45855a(0x17f)]+_0x45855a(0x2f1)+this['_state'][_0x45855a(0x17f)]);this[_0x45855a(0x358)](_0x35ff58);},'onSendChangeset':_0x848fc0=>{var _0x5cf02a=_0x145042;_0x848fc0[_0x5cf02a(0x183)]||(_0x848fc0[_0x5cf02a(0x183)]=this[_0x5cf02a(0x2ab)],_0x848fc0[_0x5cf02a(0x468)]=++this[_0x5cf02a(0x360)]);const _0x3496f0={'eventID':_0x583187[_0x5cf02a(0x2a5)],'data':{'unitID':_0x848fc0[_0x5cf02a(0x44b)],'unitType':this[_0x5cf02a(0x170)],'changeset':_0x848fc0,'memberID':this[_0x5cf02a(0x1d6)][_0x5cf02a(0x1ae)]()}};this[_0x5cf02a(0x1d6)][_0x5cf02a(0x212)](_0x3496f0,this[_0x5cf02a(0x44b)]);},'onMissingChangesets':({from:_0x3c4f1b,to:_0x2266b8})=>{var _0x5a9b9b=_0x145042;this[_0x5a9b9b(0x41d)]['debug']('[CollaborationEntity]',_0x5a9b9b(0x307)+_0x3c4f1b+_0x5a9b9b(0x21a)+_0x2266b8);const _0x28c97d={'eventID':_0x583187['FETCH_MISSING'],'data':{'unitID':_0x2391b2,'unitType':this['_type'],'from':_0x3c4f1b,'to':_0x2266b8}};this[_0x5a9b9b(0x1d6)][_0x5a9b9b(0x212)](_0x28c97d,this[_0x5a9b9b(0x44b)]);}};}async[_0x2e6e4f(0x42e)](_0x30a562){var _0x3eb13f=_0x2e6e4f,_0x5d8d23,_0x3da709,_0x31a8f6;const _0x1dca79=await((_0x5d8d23=this[_0x3eb13f(0x467)])==null?void 0x0:_0x5d8d23[_0x3eb13f(0x408)](this[_0x3eb13f(0x44b)])),_0x20a107=(_0x3da709=_0x1dca79==null?void 0x0:_0x1dca79[_0x3eb13f(0x426)])!=null?_0x3da709:[],_0x56d3d3=(_0x31a8f6=_0x1dca79==null?void 0x0:_0x1dca79[_0x3eb13f(0x242)])!=null?_0x31a8f6:null,_0x12aeb=!!(_0x56d3d3!=null&&_0x56d3d3['sid'])&&!!(_0x56d3d3!=null&&_0x56d3d3[_0x3eb13f(0x468)]);this[_0x3eb13f(0x2ab)]=_0x12aeb?_0x56d3d3['sid']:_0x583af7(),this[_0x3eb13f(0x360)]=_0x12aeb?_0x56d3d3[_0x3eb13f(0x468)]:0x0;const _0x2d39ab=this['unitID'];try{this[_0x3eb13f(0x404)](_0x56d3d3,_0x20a107);}catch(_0x5321c9){this[_0x3eb13f(0x41d)][_0x3eb13f(0x178)](_0x5321c9);}const _0x499392=this[_0x3eb13f(0x46e)]();if(_0x30a562){const _0x39de23=Ti(this[_0x3eb13f(0x44a)],_0x2d39ab,this[_0x3eb13f(0x170)],_0x56d3d3,_0x20a107,_0x499392);return _0x39de23 instanceof re?_0x39de23[_0x3eb13f(0x258)]():(_0x39de23 instanceof ae||_0x39de23 instanceof _e)&&_0x39de23[_0x3eb13f(0x252)](),_0x39de23;}return this['_injector'][_0x3eb13f(0x38a)](ue,_0x2d39ab,this[_0x3eb13f(0x170)],_0x56d3d3,_0x20a107,_0x499392);}[_0x2e6e4f(0x404)](_0x3481c5,_0x334d78){var _0x4d5a5b=_0x2e6e4f,_0x12935d,_0x393a41;const _0x16cb23=this[_0x4d5a5b(0x1f9)]['interceptor'][_0x4d5a5b(0x26e)](this[_0x4d5a5b(0x1f9)][_0x4d5a5b(0x2df)][_0x4d5a5b(0x222)]()['COMPRESS_MUTATION_APPLY']);(_0x12935d=_0x16cb23((_0x3481c5==null?void 0x0:_0x3481c5[_0x4d5a5b(0x426)])||[],null))==null||_0x12935d[_0x4d5a5b(0x1ca)](_0x3a66a6=>this[_0x4d5a5b(0x246)][_0x4d5a5b(0x30b)](_0x3a66a6['id'],_0x3a66a6[_0x4d5a5b(0x160)])),(_0x393a41=_0x16cb23(_0x334d78||[],null))==null||_0x393a41['forEach'](_0x10285c=>this['_commandService'][_0x4d5a5b(0x30b)](_0x10285c['id'],_0x10285c[_0x4d5a5b(0x160)]));}};st=wt([H(0x3,_0x499332(_0x59b99c)),H(0x4,_0x499332(_0x536ca4)),H(0x5,_0x499332(_0x12aa68)),H(0x6,_0x499332(_0x5c26d7)),H(0x7,_0x499332(ve)),H(0x8,_0xaae47a),H(0x9,_0x4bb5bc),H(0xa,_0x4e7c61),H(0xb,_0x38fa19(ht)),H(0xc,_0x38fa19(J))],st);let St=class extends st{constructor(_0x24631e,_0x3a4226,_0x31ae25,_0x4eafaf,_0x22b444,_0x24e6d5,_0x1dfd39,_0x26ecdc,_0x55f73a,_0x4f4f9f,_0x550178,_0x58f97b,_0x1506ed){var _0x4706b5=_0x2e6e4f;super(_0x24631e,_0x31ae25,_0x3a4226,_0x4eafaf,_0x22b444,_0x24e6d5,_0x1dfd39,_0x26ecdc,_0x55f73a,_0x4f4f9f,_0x550178,_0x58f97b,_0x1506ed),N(this,'_handlerCallback',null),(this['unitID']=_0x24631e,this[_0x4706b5(0x2d7)]=_0x3a4226);}['addHandlerCallback'](_0x36d789){this['_handlerCallback']=_0x36d789;}['dispose'](){var _0x144d60=_0x2e6e4f;this[_0x144d60(0x37b)]=null,super[_0x144d60(0x278)]();}[_0x2e6e4f(0x46e)](){var _0x378017=_0x2e6e4f;const _0x5579cf=super[_0x378017(0x46e)]();return _0x5579cf['onTransformIME']=_0x164455=>{var _0x21b3c0=_0x378017,_0x3cc812,_0xc361ce;return(_0xc361ce=(_0x3cc812=this[_0x21b3c0(0x37b)])==null?void 0x0:_0x3cc812[_0x21b3c0(0x198)])==null?void 0x0:_0xc361ce['call'](_0x3cc812,_0x164455);},_0x5579cf[_0x378017(0x31d)]=_0x5afd5d=>{var _0x88eee0=_0x378017,_0x2255f5,_0x24f7e0;return(_0x24f7e0=(_0x2255f5=this[_0x88eee0(0x37b)])==null?void 0x0:_0x2255f5[_0x88eee0(0x31d)])==null?void 0x0:_0x24f7e0[_0x88eee0(0x331)](_0x2255f5,_0x5afd5d);},_0x5579cf['onTransformSelections']=_0x49560b=>{var _0x509a10=_0x378017,_0x16df6b,_0x42c417;return(_0x42c417=(_0x16df6b=this['_handlerCallback'])==null?void 0x0:_0x16df6b[_0x509a10(0x411)])==null?void 0x0:_0x42c417[_0x509a10(0x331)](_0x16df6b,_0x49560b);},_0x5579cf[_0x378017(0x35d)]=_0xf768f2=>{var _0x216554=_0x378017,_0x473ca4,_0x566bac;return(_0x566bac=(_0x473ca4=this['_handlerCallback'])==null?void 0x0:_0x473ca4[_0x216554(0x35d)])==null?void 0x0:_0x566bac['call'](_0x473ca4,_0xf768f2);},_0x5579cf[_0x378017(0x1e5)]=_0xcdd168=>{var _0x518cd2=_0x378017,_0x1c50cf,_0x5ef6b0,_0x1013c8;if(!((_0x1c50cf=this[_0x518cd2(0x37b)])!=null&&_0x1c50cf[_0x518cd2(0x1e5)]))throw new Error(_0x518cd2(0x172));return(_0x1013c8=(_0x5ef6b0=this[_0x518cd2(0x37b)])==null?void 0x0:_0x5ef6b0[_0x518cd2(0x1e5)])==null?void 0x0:_0x1013c8[_0x518cd2(0x331)](_0x5ef6b0,_0xcdd168);},_0x5579cf[_0x378017(0x401)]=_0xb7dfb7=>{var _0x1d21dc=_0x378017,_0x1b96fe,_0x492384,_0x1e4835;if(!((_0x1b96fe=this[_0x1d21dc(0x37b)])!=null&&_0x1b96fe[_0x1d21dc(0x401)]))throw new Error(_0x1d21dc(0x1a0));return(_0x1e4835=(_0x492384=this[_0x1d21dc(0x37b)])==null?void 0x0:_0x492384[_0x1d21dc(0x401)])==null?void 0x0:_0x1e4835['call'](_0x492384,_0xb7dfb7);},_0x5579cf;}async[_0x2e6e4f(0x43f)](){var _0x21deaf=_0x2e6e4f;const _0x47fa2e=await super['_init']();return this[_0x21deaf(0x27a)](this[_0x21deaf(0x246)]['onCommandExecuted']((_0x5e3d82,_0x44700f)=>{var _0x6bfaba=_0x21deaf;if(_0x5e3d82[_0x6bfaba(0x2d7)]!==_0xf17343[_0x6bfaba(0x463)]||_0x44700f!=null&&_0x44700f[_0x6bfaba(0x291)]||_0x44700f!=null&&_0x44700f[_0x6bfaba(0x2b7)]||_0x5e3d82['id']===_0x23b388['id'])return;const _0x4277e3=_0x5e3d82[_0x6bfaba(0x160)];if((_0x4277e3==null?void 0x0:_0x4277e3[_0x6bfaba(0x204)])!==this['unitID'])return;const _0xf64eed=_0x5e3d82,_0x2a1ede=this[_0x6bfaba(0x1f9)][_0x6bfaba(0x2df)][_0x6bfaba(0x26e)](this[_0x6bfaba(0x1f9)][_0x6bfaba(0x2df)][_0x6bfaba(0x222)]()[_0x6bfaba(0x39a)])([_0xf64eed],null)||[_0xf64eed];this['_onLocalMutation'](_0x2a1ede[0x0]);})),_0x47fa2e;}};St=wt([H(0x3,_0x499332(_0x59b99c)),H(0x4,_0x499332(_0x536ca4)),H(0x5,_0x499332(_0x12aa68)),H(0x6,_0x499332(_0x5c26d7)),H(0x7,_0x499332(ve)),H(0x8,_0xaae47a),H(0x9,_0x4bb5bc),H(0xa,_0x4e7c61),H(0xb,_0x38fa19(ht)),H(0xc,_0x38fa19(J))],St);let Et=class extends st{constructor(_0x343a90,_0xa61aea,_0x2b1364,_0x451aae,_0x510543,_0x36d916,_0x354caf,_0x27adbb,_0x4eb199,_0x454fde,_0x30726a,_0x4652a9,_0x36a847,_0xe61344){var _0x462660=_0x2e6e4f;super(_0x343a90,_0x2b1364,_0xa61aea,_0x451aae,_0x510543,_0x36d916,_0x354caf,_0x4eb199,_0x454fde,_0x30726a,_0x4652a9,_0x36a847,_0xe61344),this[_0x462660(0x44b)]=_0x343a90,this[_0x462660(0x2d7)]=_0xa61aea,this[_0x462660(0x3bf)]=_0x27adbb;}[_0x2e6e4f(0x46e)](){var _0xb581db=_0x2e6e4f;const _0x17b7a4=super[_0xb581db(0x46e)]();return _0x17b7a4[_0xb581db(0x411)]=_0x35f48b=>this[_0xb581db(0x3bf)][_0xb581db(0x37e)](_0x35f48b),_0x17b7a4;}async[_0x2e6e4f(0x43f)](){var _0x3ac2a8=_0x2e6e4f;const _0x185f15=await super[_0x3ac2a8(0x43f)]();return this['disposeWithMe'](this[_0x3ac2a8(0x246)][_0x3ac2a8(0x31a)]((_0x3d5ba7,_0x31e674)=>{var _0x459be0=_0x3ac2a8;if(_0x3d5ba7[_0x459be0(0x2d7)]!==_0xf17343[_0x459be0(0x463)]||_0x31e674!=null&&_0x31e674[_0x459be0(0x291)]||_0x31e674!=null&&_0x31e674[_0x459be0(0x2b7)])return;const _0x699f20=_0x3d5ba7[_0x459be0(0x160)];if((_0x699f20==null?void 0x0:_0x699f20[_0x459be0(0x204)])!==this[_0x459be0(0x44b)])return;const _0x42638d=_0x3d5ba7,_0x1d4583=this['_compressMutationService'][_0x459be0(0x2df)][_0x459be0(0x26e)](this['_compressMutationService'][_0x459be0(0x2df)][_0x459be0(0x222)]()[_0x459be0(0x39a)])([_0x42638d],null)||[_0x42638d];this['_onLocalMutation'](_0x1d4583[0x0]);})),_0x185f15;}};Et=wt([H(0x3,_0x499332(_0x59b99c)),H(0x4,_0x499332(_0x536ca4)),H(0x5,_0x499332(_0x12aa68)),H(0x6,_0x499332(_0x5c26d7)),H(0x7,_0x499332(it)),H(0x8,_0x499332(ve)),H(0x9,_0xaae47a),H(0xa,_0x4bb5bc),H(0xb,_0x4e7c61),H(0xc,_0x38fa19(ht)),H(0xd,_0x38fa19(J))],Et);const js=_0x54186f(_0x2e6e4f(0x321));function Fs(_0x3f2059){var _0x46b6ff=_0x2e6e4f,_0x413ab9,_0x3bc55c,_0x45c7e4,_0x1fc23f,_0x58b9eb;const _0x51aceb=_0x3f2059[_0x46b6ff(0x24b)],_0x3ebf63=JSON[_0x46b6ff(0x22b)](_0x51aceb);switch(_0x3ebf63[_0x46b6ff(0x444)]){case F[_0x46b6ff(0x32f)]:case F[_0x46b6ff(0x455)]:{const _0x1c63c0=_0x3ebf63[_0x46b6ff(0x2a8)];return{..._0x3ebf63,'data':_0x1c63c0,'cmd':_0x3ebf63[_0x46b6ff(0x444)]};}case F[_0x46b6ff(0x412)]:{const _0xcaae28=_0x3ebf63[_0x46b6ff(0x269)];return{..._0x3ebf63,'data':_0xcaae28,'cmd':_0x3ebf63[_0x46b6ff(0x444)]};}case F[_0x46b6ff(0x37c)]:{const _0x69d160=_0x3ebf63[_0x46b6ff(0x386)];switch(_0x69d160[_0x46b6ff(0x218)]){case _0x583187[_0x46b6ff(0x25e)]:return{..._0x3ebf63,'data':{..._0x69d160,'data':(_0x413ab9=_0x69d160[_0x46b6ff(0x39c)])==null?void 0x0:_0x413ab9['cs']},'cmd':_0x3ebf63[_0x46b6ff(0x444)]};case _0x583187[_0x46b6ff(0x3e1)]:return{..._0x3ebf63,'data':{..._0x69d160,'data':(_0x3bc55c=_0x69d160[_0x46b6ff(0x22d)])==null?void 0x0:_0x3bc55c['cs']},'cmd':_0x3ebf63[_0x46b6ff(0x444)]};case _0x583187[_0x46b6ff(0x334)]:return{..._0x3ebf63,'data':{..._0x69d160,'data':(_0x45c7e4=_0x69d160[_0x46b6ff(0x315)])==null?void 0x0:_0x45c7e4['cs']},'cmd':_0x3ebf63[_0x46b6ff(0x444)]};case _0x583187[_0x46b6ff(0x3cf)]:return{..._0x3ebf63,'data':{..._0x69d160,'data':(_0x1fc23f=_0x69d160['csRejEvent'])==null?void 0x0:_0x1fc23f['cs']},'cmd':_0x3ebf63[_0x46b6ff(0x444)]};case _0x583187['CHANGESET_SHOULD_RETRY']:return{..._0x3ebf63,'data':{..._0x69d160,'data':(_0x58b9eb=_0x69d160['csShouldRetryEvent'])==null?void 0x0:_0x58b9eb['cs']},'cmd':_0x3ebf63['cmd']};case _0x583187['UPDATE_CURSOR']:return{..._0x3ebf63,'data':{..._0x69d160,'data':_0x69d160[_0x46b6ff(0x30e)]},'cmd':_0x3ebf63['cmd']};case _0x583187['USERS_ENTER']:return{..._0x3ebf63,'data':{..._0x69d160,'data':_0x69d160[_0x46b6ff(0x35e)]},'cmd':_0x3ebf63[_0x46b6ff(0x444)]};case _0x583187['USERS_LEAVE']:return{..._0x3ebf63,'data':{..._0x69d160,'data':_0x69d160['leaveEvent']},'cmd':_0x3ebf63[_0x46b6ff(0x444)]};case _0x583187[_0x46b6ff(0x173)]:return{..._0x3ebf63,'data':{..._0x69d160,'data':_0x69d160[_0x46b6ff(0x2e7)]},'cmd':_0x3ebf63['cmd']};case _0x583187[_0x46b6ff(0x3b9)]:case _0x583187['LIVESHARE_OPERATION']:return{..._0x3ebf63,'data':{..._0x69d160,'data':_0x69d160[_0x46b6ff(0x215)]},'cmd':_0x3ebf63[_0x46b6ff(0x444)]};case _0x583187[_0x46b6ff(0x450)]:return{..._0x3ebf63,'data':{..._0x69d160,'data':_0x69d160[_0x46b6ff(0x2e7)]},'cmd':_0x3ebf63[_0x46b6ff(0x444)]};case _0x583187['MSG_FOR_ERROR']:return{..._0x3ebf63,'data':_0x69d160,'cmd':_0x3ebf63[_0x46b6ff(0x444)]};case _0x583187['COMMENT_UPDATE']:return{..._0x3ebf63,'data':{..._0x69d160,'data':_0x69d160['commentUpdateEvent']},'cmd':_0x3ebf63[_0x46b6ff(0x444)]};case _0x583187[_0x46b6ff(0x2be)]:return{..._0x3ebf63,'data':{..._0x69d160,'data':_0x69d160[_0x46b6ff(0x409)]},'cmd':_0x3ebf63[_0x46b6ff(0x444)]};case _0x583187['SHOULD_CLOSE_CONN']:return{..._0x3ebf63,'data':{..._0x69d160,'data':_0x69d160[_0x46b6ff(0x3ea)]},'cmd':_0x3ebf63[_0x46b6ff(0x444)]};case _0x583187[_0x46b6ff(0x275)]:return{..._0x3ebf63,'data':{..._0x69d160,'data':_0x69d160[_0x46b6ff(0x1fa)]},'cmd':_0x3ebf63[_0x46b6ff(0x444)]};default:return _0x3ebf63;}}default:return _0x3ebf63;}}function Vs(_0x20c7d4){var _0xe55a72=_0x2e6e4f;switch(_0x20c7d4[_0xe55a72(0x444)]){case F[_0xe55a72(0x32f)]:case F[_0xe55a72(0x455)]:return JSON[_0xe55a72(0x248)]({'cmd':_0x20c7d4[_0xe55a72(0x444)],'routeKey':_0x20c7d4[_0xe55a72(0x214)]});case F[_0xe55a72(0x22a)]:{let _0x34fd78;switch(_0x20c7d4[_0xe55a72(0x24b)][_0xe55a72(0x218)]){case _0x583187['UPDATE_CURSOR']:{_0x34fd78={'eventID':_0x583187[_0xe55a72(0x2c6)],'updateCursorEvent':_0x20c7d4['data'][_0xe55a72(0x24b)]};break;}case _0x583187['USERS_LEAVE']:{_0x34fd78={'eventID':_0x583187['USERS_LEAVE'],'leaveEvent':_0x20c7d4['data'][_0xe55a72(0x24b)]};break;}case _0x583187[_0xe55a72(0x2f0)]:{_0x34fd78={'eventID':_0x583187[_0xe55a72(0x2f0)],'joinEvent':_0x20c7d4['data'][_0xe55a72(0x24b)]};break;}case _0x583187[_0xe55a72(0x173)]:{_0x34fd78={'eventID':_0x583187[_0xe55a72(0x173)],'liveShareNewHost':_0x20c7d4['data'][_0xe55a72(0x24b)]};break;}case _0x583187[_0xe55a72(0x30f)]:{_0x34fd78={'eventID':_0x583187['LIVESHARE_OPERATION'],'liveShareOperation':_0x20c7d4[_0xe55a72(0x24b)][_0xe55a72(0x24b)]};break;}case _0x583187[_0xe55a72(0x450)]:{_0x34fd78={'eventID':_0x583187[_0xe55a72(0x450)],'liveShareTerminate':_0x20c7d4['data'][_0xe55a72(0x24b)]};break;}case _0x583187[_0xe55a72(0x189)]:{_0x34fd78={'eventID':_0x583187['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x20c7d4[_0xe55a72(0x24b)][_0xe55a72(0x24b)]};break;}case _0x583187['LIVESHARE_FETCH_OPERATIONS']:{_0x34fd78={'eventID':_0x583187[_0xe55a72(0x3b9)]};break;}default:_0x34fd78={'eventID':_0x20c7d4[_0xe55a72(0x24b)][_0xe55a72(0x218)]};}return JSON[_0xe55a72(0x248)]({'cmd':_0x20c7d4[_0xe55a72(0x444)],'routeKey':_0x20c7d4['routeKey'],'collaMsg':_0x34fd78});}case F[_0xe55a72(0x412)]:return JSON['stringify']({'cmd':_0x20c7d4[_0xe55a72(0x444)],'routeKey':_0x20c7d4[_0xe55a72(0x214)],'joinReq':_0x20c7d4[_0xe55a72(0x24b)]});case F['LEAVE']:return JSON['stringify']({'cmd':_0x20c7d4[_0xe55a72(0x444)],'routeKey':_0x20c7d4[_0xe55a72(0x214)],'leaveReq':_0x20c7d4['data']});default:throw new Error(_0xe55a72(0x216));}}var Ws=Object['getOwnPropertyDescriptor'],Gs=(_0x4c3554,_0x3889c1,_0x13af1e,_0x35ea45)=>{var _0x2ffec5=_0x2e6e4f;for(var _0xad2eaf=_0x35ea45>0x1?void 0x0:_0x35ea45?Ws(_0x3889c1,_0x13af1e):_0x3889c1,_0x21b3b3=_0x4c3554[_0x2ffec5(0x255)]-0x1,_0x50dbed;_0x21b3b3>=0x0;_0x21b3b3--)(_0x50dbed=_0x4c3554[_0x21b3b3])&&(_0xad2eaf=_0x50dbed(_0xad2eaf)||_0xad2eaf);return _0xad2eaf;},De=(_0x5a06c2,_0x35cf96)=>(_0x34a5c7,_0x25d635)=>_0x35cf96(_0x34a5c7,_0x25d635,_0x5a06c2);const Ci=_0x54186f(_0x2e6e4f(0x3de));function Ys(_0x475563,_0x341d80,_0x3ca2ff){var _0x46500b=_0x2e6e4f;return _0x475563+'/'+_0x341d80+'/unit/'+_0x3ca2ff+_0x46500b(0x38c);}let Gt=class extends _0x2a04e7{constructor(_0x57ae11,_0x2dd617,_0x22cefb,_0x5052bf,_0x50d814){var _0x36a5c5=_0x2e6e4f;super(),this[_0x36a5c5(0x44a)]=_0x57ae11,this[_0x36a5c5(0x25c)]=_0x2dd617,this['_configService']=_0x22cefb,this[_0x36a5c5(0x41d)]=_0x5052bf,this[_0x36a5c5(0x39b)]=_0x50d814;}[_0x2e6e4f(0x2e8)](_0xb9a918){var _0x18297a=_0x2e6e4f;const _0x3baca8=this['_injector'][_0x18297a(0x303)](_0x11fae9);if(!_0x3baca8)throw new Error(_0x18297a(0x33e));const _0x433b11=_0x3baca8[_0x18297a(0x18c)](_0xb9a918);if(!_0x433b11)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x4db9ab=new _0x573a53(),_0x7b63ce=new _0x1b6f3c();_0x4db9ab[_0x18297a(0x286)](_0x433b11['close$'][_0x18297a(0x3fd)](_0x14858d=>_0x7b63ce[_0x18297a(0x1c0)](_0x14858d))),_0x4db9ab['add'](_0xf96aaa(()=>_0x7b63ce[_0x18297a(0x368)]()));const _0x17b297=new _0x1b6f3c();_0x4db9ab['add'](_0x433b11[_0x18297a(0x442)]['subscribe'](_0x37411f=>_0x17b297[_0x18297a(0x1c0)](_0x37411f))),_0x4db9ab[_0x18297a(0x286)](_0xf96aaa(()=>_0x17b297['complete']()));const _0x39ba4f=new _0x1b6f3c();_0x4db9ab[_0x18297a(0x286)](_0x433b11[_0x18297a(0x390)]['subscribe'](_0x3bea91=>{var _0x3c913f=_0x18297a;const _0x2aae1a=Fs(_0x3bea91);_0x39ba4f[_0x3c913f(0x1c0)](_0x2aae1a);})),_0x4db9ab[_0x18297a(0x286)](_0xf96aaa(()=>_0x39ba4f[_0x18297a(0x368)]()));let _0x3f434c;const _0x55f8d0=()=>{var _0x41dccf=_0x18297a;_0x17b297[_0x41dccf(0x1c0)](new Event(_0x41dccf(0x21d))),_0x7b63ce[_0x41dccf(0x1c0)](new Event(_0x41dccf(0x21d))),_0x3f434c[_0x41dccf(0x3dc)]();};return _0x3f434c={'memberID':'','close$':_0x7b63ce['asObservable'](),'error$':_0x17b297[_0x18297a(0x462)](),'open$':_0x433b11['open$'],'message$':_0x39ba4f[_0x18297a(0x462)](),'send':_0x1d1909=>{var _0x4193d3=_0x18297a;if(_0x1d1909['cmd']===F[_0x4193d3(0x22a)]){if(_0x1d1909[_0x4193d3(0x24b)]['eventID']===_0x583187[_0x4193d3(0x2a5)]){this[_0x4193d3(0x45d)](_0x3f434c,_0x1d1909['data'])[_0x4193d3(0x447)](_0x1e9a2d=>{var _0x59cb3e=_0x4193d3;this[_0x59cb3e(0x41d)][_0x59cb3e(0x178)](_0x1e9a2d),_0x55f8d0();});return;}if(_0x1d1909[_0x4193d3(0x24b)]['eventID']===_0x583187[_0x4193d3(0x3ab)]){const _0x4eb153=_0x1d1909[_0x4193d3(0x24b)];this['_fetchMissChangesets'](_0x4eb153)[_0x4193d3(0x176)](_0x5a9a90=>{var _0x279fb4=_0x4193d3;_0x39ba4f[_0x279fb4(0x1c0)]({'cmd':F[_0x279fb4(0x37c)],'code':pe['OK'],'routeKey':_0x4eb153[_0x279fb4(0x24b)][_0x279fb4(0x44b)],'routeType':'','data':{'eventID':_0x583187[_0x279fb4(0x27e)],'data':{'changesets':_0x5a9a90}}});})[_0x4193d3(0x447)](_0x3739f9=>{var _0x1c4cb5=_0x4193d3;this[_0x1c4cb5(0x41d)][_0x1c4cb5(0x178)](_0x3739f9),_0x55f8d0();});return;}}_0x433b11[_0x4193d3(0x212)](Vs(_0x1d1909));},'close':()=>{var _0x2edb63=_0x18297a;_0x433b11['close'](),_0x4db9ab[_0x2edb63(0x278)]();}},_0x3f434c;}async['_submitChangeset'](_0x2b6dfb,_0x53b4c4){var _0x5f48a1=_0x2e6e4f,_0x2eebcd;const {unitType:_0x3ac4d1,unitID:_0x5dbbd2,changeset:_0x2c8891}=_0x53b4c4[_0x5f48a1(0x24b)],_0x14375f={'unitID':_0x5dbbd2,'memberID':_0x2b6dfb[_0x5f48a1(0x205)],'type':_0x3ac4d1,'changeset':_0x21a6f1(_0x2c8891)},_0x3e0e2a=this[_0x5f48a1(0x372)][_0x5f48a1(0x340)](K),_0x108457=Ys((_0x2eebcd=_0x3e0e2a==null?void 0x0:_0x3e0e2a[_0x5f48a1(0x36d)])!=null?_0x2eebcd:Cs,_0x3ac4d1,_0x5dbbd2);try{await this[_0x5f48a1(0x25c)]['post'](_0x108457,{'body':_0x14375f});}catch(_0x4afeae){throw this[_0x5f48a1(0x41d)][_0x5f48a1(0x178)]('[CollaborationSession]',_0x5f48a1(0x2ea)),_0x4afeae;}}async[_0x2e6e4f(0x398)](_0x4b38f3){var _0x18a523=_0x2e6e4f;const {unitID:_0x5f5042,from:_0x3f522d,to:_0x455014,unitType:_0x4dc36a}=_0x4b38f3[_0x18a523(0x24b)];return(await this[_0x18a523(0x39b)][_0x18a523(0x2d6)]({'metadata':void 0x0},{'unitID':_0x5f5042,'type':_0x4dc36a,'from':_0x3f522d,'to':_0x455014}))[_0x18a523(0x266)];}};Gt=Gs([De(0x0,_0x499332(_0x59b99c)),De(0x1,_0x499332(_0x4ef6ae)),De(0x2,_0x3f2ca4),De(0x3,_0xaae47a),De(0x4,_0x38aebc)],Gt);var Ks=Object[_0x2e6e4f(0x3c3)],qs=(_0x36e7ba,_0x1dcbfe,_0x56c72b,_0x270dd7)=>{for(var _0x293b27=_0x270dd7>0x1?void 0x0:_0x270dd7?Ks(_0x1dcbfe,_0x56c72b):_0x1dcbfe,_0x2db9ea=_0x36e7ba['length']-0x1,_0x80c3f8;_0x2db9ea>=0x0;_0x2db9ea--)(_0x80c3f8=_0x36e7ba[_0x2db9ea])&&(_0x293b27=_0x80c3f8(_0x293b27)||_0x293b27);return _0x293b27;},Re=(_0x3e8e9b,_0x2d0c0a)=>(_0x1619b1,_0x289aa5)=>_0x2d0c0a(_0x1619b1,_0x289aa5,_0x3e8e9b);let Pe=class extends _0x2a04e7{constructor(_0x3dc9ce,_0x3d66c1,_0x564233,_0x1a7d38,_0x5c8a87,_0x539a34){var _0x3e6eee=_0x2e6e4f;super(),N(this,_0x3e6eee(0x233),new _0x4a6e6f(void 0x0)),N(this,_0x3e6eee(0x34d),this['_socket$']['asObservable']()),N(this,_0x3e6eee(0x445),null),N(this,_0x3e6eee(0x182),new Map()),N(this,_0x3e6eee(0x36f),new _0x4a6e6f(ge[_0x3e6eee(0x2f4)])),N(this,'status$',this[_0x3e6eee(0x36f)][_0x3e6eee(0x462)]()),N(this,'_socketReady',!0x1),N(this,_0x3e6eee(0x3d4)),N(this,_0x3e6eee(0x265),0x0),N(this,_0x3e6eee(0x3b7)),N(this,_0x3e6eee(0x19d)),(this['_injector']=_0x3dc9ce,this[_0x3e6eee(0x41d)]=_0x3d66c1,this[_0x3e6eee(0x372)]=_0x564233,this[_0x3e6eee(0x2f2)]=_0x1a7d38,this[_0x3e6eee(0x201)]=_0x5c8a87,this['_networkConditionService']=_0x539a34,this[_0x3e6eee(0x17d)]());}get[_0x2e6e4f(0x1bb)](){var _0x51234a=_0x2e6e4f;return this[_0x51234a(0x233)]['getValue']();}[_0x2e6e4f(0x17d)](){var _0x2351ab=_0x2e6e4f;this['_networkConditionService']&&this[_0x2351ab(0x27a)](this[_0x2351ab(0x190)]['online$'][_0x2351ab(0x3fd)](_0x22b1bc=>{var _0x4760dd=_0x2351ab;_0x22b1bc&&!this[_0x4760dd(0x1bb)]&&this[_0x4760dd(0x319)](),_0x22b1bc||this['_onOffline']();}));}['dispose'](){var _0x263e9f=_0x2e6e4f;super[_0x263e9f(0x278)](),this[_0x263e9f(0x3c4)](),this[_0x263e9f(0x2e6)](),this[_0x263e9f(0x42f)](),this[_0x263e9f(0x182)][_0x263e9f(0x1ca)](_0x1b3f94=>_0x1b3f94[_0x263e9f(0x278)]()),this[_0x263e9f(0x182)][_0x263e9f(0x1f1)](),this[_0x263e9f(0x36f)][_0x263e9f(0x368)]();}async[_0x2e6e4f(0x403)](_0x5a3629){var _0x1a6a67=_0x2e6e4f;if(this['_sessions'][_0x1a6a67(0x3cd)](_0x5a3629))return this[_0x1a6a67(0x182)][_0x1a6a67(0x303)](_0x5a3629);this[_0x1a6a67(0x273)]();const _0x2b8ebf=this['_injector']['createInstance'](gt,_0x5a3629,this[_0x1a6a67(0x233)][_0x1a6a67(0x462)]());return this['_sessions'][_0x1a6a67(0x3e4)](_0x5a3629,_0x2b8ebf),_0x2b8ebf;}[_0x2e6e4f(0x1d3)](_0x13f262){var _0x574387=_0x2e6e4f,_0x4c6110;const _0x318627=this[_0x574387(0x182)][_0x574387(0x303)](_0x13f262);_0x318627&&(this[_0x574387(0x182)]['delete'](_0x13f262),_0x318627[_0x574387(0x3dc)]()),this[_0x574387(0x182)][_0x574387(0x3c6)]||(_0x4c6110=this[_0x574387(0x1bb)])==null||_0x4c6110[_0x574387(0x3dc)]();}[_0x2e6e4f(0x319)](){var _0x57bd52=_0x2e6e4f;this[_0x57bd52(0x265)]=0x0,this[_0x57bd52(0x3c4)](),this[_0x57bd52(0x3be)]();}['_clearRetryConnectingTimer'](){var _0x136595=_0x2e6e4f;this[_0x136595(0x3d4)]!=null&&(clearTimeout(this[_0x136595(0x3d4)]),this['_retryConnectingTimer']=null);}async[_0x2e6e4f(0x301)](){var _0x224965=_0x2e6e4f,_0x565f70;const _0x4846e8=this[_0x224965(0x372)][_0x224965(0x340)](K),_0x3b068a=(_0x565f70=_0x4846e8==null?void 0x0:_0x4846e8[_0x224965(0x221)])!=null?_0x565f70:ms,_0x4a0ff9=await this[_0x224965(0x2f2)][_0x224965(0x18c)](_0x3b068a);return this['_candidateSocket']=_0x4a0ff9,_0x4a0ff9;}async[_0x2e6e4f(0x273)](){var _0x433d86=_0x2e6e4f,_0x51e238,_0x3a9643;try{const _0x3fed30=(_0x3a9643=(_0x51e238=this[_0x433d86(0x1bb)])!=null?_0x51e238:this[_0x433d86(0x445)])!=null?_0x3a9643:await this[_0x433d86(0x301)]();if(_0x3fed30){const _0x2fde0d=_0x3fed30[_0x433d86(0x212)];_0x3fed30['send']=_0x472b8b=>(this['_rescheduleHeartbeat'](),_0x2fde0d['apply'](_0x3fed30,[_0x472b8b])),_0x3fed30['message$'][_0x433d86(0x3fd)](_0x3ee7f7=>this[_0x433d86(0x42c)](_0x3fed30,_0x3ee7f7)),_0x3fed30[_0x433d86(0x442)][_0x433d86(0x1d0)](_0x2fc297(0x1))[_0x433d86(0x3fd)](_0x1d8bf5=>this['_logService']['error'](_0x433d86(0x18a),_0x1d8bf5)),_0x3fed30[_0x433d86(0x399)][_0x433d86(0x1d0)](_0x2fc297(0x1))[_0x433d86(0x3fd)](()=>{this['_onConnectionOpen'](_0x3fed30);}),_0x3fed30[_0x433d86(0x259)][_0x433d86(0x1d0)](_0x2fc297(0x1))[_0x433d86(0x3fd)](_0x458b16=>{var _0x4f8b19=_0x433d86;this[_0x4f8b19(0x41d)]['debug'](_0x4f8b19(0x30d),_0x4f8b19(0x424),_0x458b16),this['_onConnectionFailed']();});}}catch(_0x517571){this['_logService'][_0x433d86(0x178)](_0x517571),this[_0x433d86(0x3ca)]();}}[_0x2e6e4f(0x274)](_0x3e4b48){var _0x454fba=_0x2e6e4f;this['_logService'][_0x454fba(0x384)](_0x454fba(0x30d),_0x454fba(0x420)),_0x3e4b48['send']({'cmd':F[_0x454fba(0x455)]}),this['_rescheduleHeartbeat']();}[_0x2e6e4f(0x3ef)](){var _0x2866d7=_0x2e6e4f;this['_socketReady']=!0x1,this[_0x2866d7(0x445)]=null,this[_0x2866d7(0x36f)][_0x2866d7(0x1c0)](ge['OFFLINE']),this['_socket$'][_0x2866d7(0x1c0)](null),this[_0x2866d7(0x2e6)](),this[_0x2866d7(0x42f)]();}['_onConnectionFailed'](){var _0xef2ef3=_0x2e6e4f,_0x218b13;this[_0xef2ef3(0x3ef)](),this[_0xef2ef3(0x265)]<((_0x218b13=this['_configService'][_0xef2ef3(0x340)](Is))!=null?_0x218b13:Ts)?(this[_0xef2ef3(0x201)][_0xef2ef3(0x385)]({'id':ne[_0xef2ef3(0x34c)]}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0xef2ef3(0x385)]({'id':ne[_0xef2ef3(0x2e1)]});}[_0x2e6e4f(0x3be)](){var _0x209576=_0x2e6e4f,_0x4c872a;const _0x462b08=this[_0x209576(0x265)],_0x459422=this[_0x209576(0x372)][_0x209576(0x340)](K),_0x4beebe=_0x462b08===0x0?0x0:((_0x4c872a=_0x459422==null?void 0x0:_0x459422[_0x209576(0x432)])!=null?_0x4c872a:Es)*0x2**_0x462b08;this[_0x209576(0x3d4)]=setTimeout(()=>{var _0x7ccf4b=_0x209576;clearTimeout(this[_0x7ccf4b(0x3d4)]),this[_0x7ccf4b(0x3d4)]=null,this[_0x7ccf4b(0x273)]();},_0x4beebe),this[_0x209576(0x265)]+=0x1;}[_0x2e6e4f(0x42c)](_0x488b13,_0x24c4c1){var _0x2d315e=_0x2e6e4f;const {cmd:_0x2c4f97}=_0x24c4c1;_0x2c4f97===F['HELLO']&&!this[_0x2d315e(0x41a)]&&(_0x488b13['memberID']=_0x24c4c1['data'][_0x2d315e(0x205)],this[_0x2d315e(0x233)][_0x2d315e(0x1c0)](_0x488b13),this[_0x2d315e(0x36f)][_0x2d315e(0x1c0)](ge[_0x2d315e(0x250)]),this[_0x2d315e(0x41a)]=!0x0,this[_0x2d315e(0x445)]=null),_0x2c4f97===F[_0x2d315e(0x32f)]&&this[_0x2d315e(0x2e6)](),this[_0x2d315e(0x20c)]();}[_0x2e6e4f(0x20c)](){var _0x3532d8=_0x2e6e4f,_0x56e3f6;this[_0x3532d8(0x42f)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x3532d8(0x40d)](),(_0x56e3f6=this['_configService'][_0x3532d8(0x340)](gs))!=null?_0x56e3f6:Ss);}[_0x2e6e4f(0x40d)](){var _0x12e56f=_0x2e6e4f;this[_0x12e56f(0x1bb)]['send']({'cmd':F[_0x12e56f(0x32f)]}),this[_0x12e56f(0x44c)]();}[_0x2e6e4f(0x44c)](){var _0x5cb44c=_0x2e6e4f,_0x30330f;this[_0x5cb44c(0x19d)]=setTimeout(()=>this[_0x5cb44c(0x3ca)](),(_0x30330f=this['_configService'][_0x5cb44c(0x340)](di))!=null?_0x30330f:fi);}[_0x2e6e4f(0x42f)](){var _0x147783=_0x2e6e4f;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x147783(0x3b7)]),this[_0x147783(0x3b7)]=null);}['_clearTimeoutTimer'](){var _0x8a6136=_0x2e6e4f;this[_0x8a6136(0x19d)]!=null&&(clearTimeout(this[_0x8a6136(0x19d)]),this[_0x8a6136(0x19d)]=null);}};Pe=qs([Re(0x0,_0x499332(_0x59b99c)),Re(0x1,_0xaae47a),Re(0x2,_0x3f2ca4),Re(0x3,Ci),Re(0x4,_0x499332(ve)),Re(0x5,_0x38fa19(js))],Pe);var zs=Object[_0x2e6e4f(0x3c3)],Js=(_0x4c7388,_0x7e2ebe,_0x559d6a,_0x5e3715)=>{var _0x3d7785=_0x2e6e4f;for(var _0x542492=_0x5e3715>0x1?void 0x0:_0x5e3715?zs(_0x7e2ebe,_0x559d6a):_0x7e2ebe,_0x2a002f=_0x4c7388[_0x3d7785(0x255)]-0x1,_0x5ee5df;_0x2a002f>=0x0;_0x2a002f--)(_0x5ee5df=_0x4c7388[_0x2a002f])&&(_0x542492=_0x5ee5df(_0x542492)||_0x542492);return _0x542492;},Be=(_0x3ca9dc,_0x26725d)=>(_0x5aa629,_0x5c86c5)=>_0x26725d(_0x5aa629,_0x5c86c5,_0x3ca9dc);let nt=class extends _0x5a8474{constructor(_0x180ee6,_0x38be8f,_0x44ec1e,_0x425c58){var _0x35ea25=_0x2e6e4f,_0x588c03;super(),N(this,'_entities',new Map()),N(this,'_entityInit$',new _0x1b6f3c()),N(this,_0x35ea25(0x3ee),this[_0x35ea25(0x2a4)][_0x35ea25(0x462)]()),(this[_0x35ea25(0x44a)]=_0x180ee6,this[_0x35ea25(0x18f)]=_0x38be8f,this[_0x35ea25(0x372)]=_0x44ec1e,this[_0x35ea25(0x1da)]=_0x425c58,((_0x588c03=this[_0x35ea25(0x372)]['getConfig'](K))==null?void 0x0:_0x588c03['enableCollaboration'])!==!0x1&&this['_init']());}[_0x2e6e4f(0x278)](){var _0x412303=_0x2e6e4f;super[_0x412303(0x278)](),this[_0x412303(0x296)][_0x412303(0x1ca)](_0x5b2928=>_0x5b2928[_0x412303(0x278)]()),this[_0x412303(0x296)][_0x412303(0x1f1)]();}[_0x2e6e4f(0x247)](_0x2cea7a){var _0x3c1093=_0x2e6e4f,_0x2db7e9;return(_0x2db7e9=this[_0x3c1093(0x296)][_0x3c1093(0x303)](_0x2cea7a))!=null?_0x2db7e9:null;}[_0x2e6e4f(0x2cc)](_0x35ab1f){var _0x1c0fa8=_0x2e6e4f;const _0x3dcc73=this['getCollabEntity'](_0x35ab1f);return _0x3dcc73?_0x183e63(_0x3dcc73):this[_0x1c0fa8(0x2a4)][_0x1c0fa8(0x1d0)](_0x3adc0f(_0x291275=>_0x291275['unitID']===_0x35ab1f));}[_0x2e6e4f(0x33f)](_0x4b7657){var _0x25fa8a=_0x2e6e4f;return _0x3a0b14(this[_0x25fa8a(0x2cc)](_0x4b7657)[_0x25fa8a(0x1d0)](_0x25bf23(()=>{})));}[_0x2e6e4f(0x43f)](){var _0x5cc223=_0x2e6e4f;this[_0x5cc223(0x1da)][_0x5cc223(0x2d4)](_0x1590fe[_0x5cc223(0x257)])[_0x5cc223(0x1d0)](_0x73e7c2(this[_0x5cc223(0x23a)]),_0x66cfd2(0x10))[_0x5cc223(0x3fd)](async _0x583970=>{var _0x584d79=_0x5cc223;const _0x1cfcf7=_0x583970[_0x584d79(0x268)](),_0x7aff87=await this[_0x584d79(0x3f6)](_0x1cfcf7,Z[_0x584d79(0x257)]);this[_0x584d79(0x296)][_0x584d79(0x3e4)](_0x1cfcf7,_0x7aff87);}),this[_0x5cc223(0x1da)][_0x5cc223(0x2d4)](_0x1590fe[_0x5cc223(0x44d)])[_0x5cc223(0x1d0)](_0x73e7c2(this[_0x5cc223(0x23a)]),_0x66cfd2(0x10))[_0x5cc223(0x1d0)](_0x3adc0f(_0x374b1f=>!_0x374b1f[_0x5cc223(0x268)]()[_0x5cc223(0x2bc)]('__')))['subscribe'](async _0xb204a1=>{var _0xf81ff8=_0x5cc223;const _0x4c2d88=_0xb204a1['getUnitId'](),_0x200ee0=await this[_0xf81ff8(0x3f6)](_0x4c2d88,Z[_0xf81ff8(0x44d)]);this['_entities'][_0xf81ff8(0x3e4)](_0x4c2d88,_0x200ee0);}),_0x341b50(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1590fe[_0x5cc223(0x257)]),this['_univerInstanceService'][_0x5cc223(0x256)](_0x1590fe[_0x5cc223(0x44d)]))['pipe'](_0x73e7c2(this[_0x5cc223(0x23a)]))[_0x5cc223(0x3fd)](_0x53183d=>{var _0x46ecab=_0x5cc223;const _0x4bcead=_0x53183d[_0x46ecab(0x268)](),_0x3ebbd2=this[_0x46ecab(0x296)][_0x46ecab(0x303)](_0x4bcead);_0x3ebbd2&&(_0x3ebbd2[_0x46ecab(0x278)](),this[_0x46ecab(0x296)][_0x46ecab(0x1f8)](_0x4bcead));});}async['_startCollaboration'](_0x4dba7e,_0xbfcedd){var _0x511a08=_0x2e6e4f;const _0x3ddcbd=await this[_0x511a08(0x18f)][_0x511a08(0x403)](_0x4dba7e),_0x5ced09=this[_0x511a08(0x44a)][_0x511a08(0x38a)](this[_0x511a08(0x32c)](_0xbfcedd),_0x4dba7e,_0xbfcedd,_0x3ddcbd);return await _0x5ced09[_0x511a08(0x3e0)](),this[_0x511a08(0x2a4)][_0x511a08(0x1c0)](_0x5ced09),_0x5ced09;}[_0x2e6e4f(0x32c)](_0x5d73ea){var _0x1a020b=_0x2e6e4f;switch(_0x5d73ea){case Z[_0x1a020b(0x44d)]:return St;case Z['UNIVER_SHEET']:return Et;default:throw new Error(_0x1a020b(0x45c)+_0x5d73ea);}}};nt=Js([Be(0x0,_0x499332(_0x59b99c)),Be(0x1,_0x499332(Pe)),Be(0x2,_0x3f2ca4),Be(0x3,_0x5578d7)],nt);var Xs=Object[_0x2e6e4f(0x3c3)],Zs=(_0x4f3a76,_0x3e4254,_0x7995f3,_0x7cb9ae)=>{for(var _0x1b1f6f=_0x7cb9ae>0x1?void 0x0:_0x7cb9ae?Xs(_0x3e4254,_0x7995f3):_0x3e4254,_0x20eba9=_0x4f3a76['length']-0x1,_0x160aad;_0x20eba9>=0x0;_0x20eba9--)(_0x160aad=_0x4f3a76[_0x20eba9])&&(_0x1b1f6f=_0x160aad(_0x1b1f6f)||_0x1b1f6f);return _0x1b1f6f;},Yt=(_0x48f58f,_0x4d5469)=>(_0x5dad3c,_0x43ef10)=>_0x4d5469(_0x5dad3c,_0x43ef10,_0x48f58f);const Qs=_0x2e6e4f(0x197),en=_0x2e6e4f(0x292);let It=class extends _0x2a04e7{constructor(_0x1c4e55,_0xb92526){var _0x412d82=_0x2e6e4f;super(),this[_0x412d82(0x1da)]=_0x1c4e55,this[_0x412d82(0x372)]=_0xb92526,this['_init']();}[_0x2e6e4f(0x43f)](){var _0x207220=_0x2e6e4f;this['disposeWithMe'](this[_0x207220(0x1da)]['focused$'][_0x207220(0x3fd)](()=>{var _0x490af5=_0x207220,_0xe5ef47;const _0x32f156=this[_0x490af5(0x1da)][_0x490af5(0x1f5)]();let _0x58dfe4=(_0xe5ef47=this[_0x490af5(0x372)][_0x490af5(0x340)](Qs))!=null?_0xe5ef47:en;_0x32f156 instanceof _0x29885e&&(_0x58dfe4=_0x32f156[_0x490af5(0x2eb)]),document[_0x490af5(0x1f2)]=_0x58dfe4;}));}};It=Zs([Yt(0x0,_0x5578d7),Yt(0x1,_0x3f2ca4)],It);var tn=Object[_0x2e6e4f(0x3c3)],sn=(_0x45cb9b,_0x4f5d7c,_0x4af54a,_0x3c9571)=>{var _0x4fdcae=_0x2e6e4f;for(var _0x446f76=_0x3c9571>0x1?void 0x0:_0x3c9571?tn(_0x4f5d7c,_0x4af54a):_0x4f5d7c,_0x1cb7cb=_0x45cb9b[_0x4fdcae(0x255)]-0x1,_0x4a458e;_0x1cb7cb>=0x0;_0x1cb7cb--)(_0x4a458e=_0x45cb9b[_0x1cb7cb])&&(_0x446f76=_0x4a458e(_0x446f76)||_0x446f76);return _0x446f76;},dt=(_0x2826f2,_0xa428cc)=>(_0x572e7c,_0x4262da)=>_0xa428cc(_0x572e7c,_0x4262da,_0x2826f2);let rt=class{constructor(_0x912916,_0x3f5915,_0x4fe1ff){var _0xbd29b=_0x2e6e4f;this[_0xbd29b(0x372)]=_0x912916,this[_0xbd29b(0x25c)]=_0x3f5915,this[_0xbd29b(0x2f8)]=_0x4fe1ff,this['init']();}[_0x2e6e4f(0x3e0)](){var _0x1372e6=_0x2e6e4f;this[_0x1372e6(0x25c)][_0x1372e6(0x287)]({'priority':0x1,'interceptor':(_0xa4b7c6,_0x5383fc)=>_0x5383fc(_0xa4b7c6)['pipe'](_0x44a962(async _0x32ac78=>{var _0x48e4c6=_0x1372e6;const _0x243a47=_0x32ac78;if(_0x243a47['status']===0x191){if(typeof window>'u')throw new Error(_0x48e4c6(0x324));if(window[_0x48e4c6(0x2f6)](this[_0x48e4c6(0x2f8)]['t'](_0x48e4c6(0x1ac)))){const _0x45293c=window[_0x48e4c6(0x3d8)](window[_0x48e4c6(0x3c7)][_0x48e4c6(0x400)]);window[_0x48e4c6(0x3c7)][_0x48e4c6(0x400)]=this[_0x48e4c6(0x271)]()+_0x48e4c6(0x2e2)+_0x45293c;}}return _0x243a47;}))});}[_0x2e6e4f(0x271)](){var _0x37e158=_0x2e6e4f,_0x31067c;const _0x47bfb5=this[_0x37e158(0x372)][_0x37e158(0x340)](K);return(_0x31067c=_0x47bfb5==null?void 0x0:_0x47bfb5[_0x37e158(0x26b)])!=null?_0x31067c:Rs;}};rt=sn([dt(0x0,_0x3f2ca4),dt(0x1,_0x499332(_0x4ef6ae)),dt(0x2,_0x499332(_0x12aa68))],rt);var nn=Object[_0x2e6e4f(0x3c3)],rn=(_0x526263,_0x77ceb3,_0x4b01cf,_0x253c16)=>{var _0x13bc58=_0x2e6e4f;for(var _0x4fd559=_0x253c16>0x1?void 0x0:_0x253c16?nn(_0x77ceb3,_0x4b01cf):_0x77ceb3,_0x344a19=_0x526263[_0x13bc58(0x255)]-0x1,_0x5b58a8;_0x344a19>=0x0;_0x344a19--)(_0x5b58a8=_0x526263[_0x344a19])&&(_0x4fd559=_0x5b58a8(_0x4fd559)||_0x4fd559);return _0x4fd559;},Kt=(_0x5e5894,_0x2663c0)=>(_0x74a085,_0x4030a9)=>_0x2663c0(_0x74a085,_0x4030a9,_0x5e5894);const an='/universer-api/authz';let Tt=class extends _0x2a04e7{constructor(_0x5cd6ec,_0x5c3f5d){var _0x16ff35=_0x2e6e4f;super(),this[_0x16ff35(0x26a)]=_0x5cd6ec,this[_0x16ff35(0x372)]=_0x5c3f5d,this['_initMergeInterceptor']();}[_0x2e6e4f(0x1fe)](){var _0x1881c9=_0x2e6e4f;const _0x26d454=this;this[_0x1881c9(0x27a)](this[_0x1881c9(0x26a)][_0x1881c9(0x287)]({'priority':0x3e7,'interceptor':_0x290dd2({'isMatch'(_0x58f010){var _0x130cfb=_0x1881c9,_0x1da53e;if(_0x58f010[_0x130cfb(0x31f)]==='POST'&&((_0x1da53e=_0x58f010[_0x130cfb(0x1f3)])!=null&&_0x1da53e[_0x130cfb(0x1a2)])){const {objectID:_0x581d57,objectType:_0x126552}=_0x58f010['requestParams'][_0x130cfb(0x1a2)]||{};if(!_0x581d57||_0x126552===void 0x0)return!0x1;const _0x310db9=_0x26d454[_0x130cfb(0x43c)]()+'/'+_0x126552+_0x130cfb(0x33b)+_0x581d57+_0x130cfb(0x2a6);if(_0x58f010[_0x130cfb(0x2c9)]===_0x310db9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3ec1ee){var _0x219870=_0x1881c9,_0x5685b0;return(_0x5685b0=_0x3ec1ee['requestParams'])==null?void 0x0:_0x5685b0[_0x219870(0x1a2)];},'mergeParamsToRequest'(_0x339974,_0x5846dd){var _0x580606=_0x1881c9;const _0x5c09dd=_0x26d454[_0x580606(0x43c)]()+_0x580606(0x464),_0x547d55=_0x339974[_0x580606(0x3b6)]((_0x743123,_0x44e356)=>{var _0x48b771=_0x580606;const {unitID:_0x2aacd9,objectID:_0x4861fc,objectType:_0x362051,actions:_0xcbf118}=_0x44e356;return _0x743123[_0x2aacd9]||(_0x743123[_0x2aacd9]={}),_0x743123[_0x2aacd9][_0x4861fc]||(_0x743123[_0x2aacd9][_0x4861fc]={'objectID':_0x4861fc,'objectType':_0x362051,'actions':[]}),_0x743123[_0x2aacd9][_0x4861fc][_0x48b771(0x3a2)]['push'](..._0xcbf118),_0x743123;},{}),_0x52c314=[];for(const _0x228f63 in _0x547d55)for(const _0x26763b in _0x547d55[_0x228f63]){const {actions:_0x84d857,objectType:_0x35b150}=_0x547d55[_0x228f63][_0x26763b],_0x509b4c=[...new Set(_0x84d857)];_0x52c314[_0x580606(0x29e)]({'unitID':_0x228f63,'objectID':_0x26763b,'objectType':_0x35b150,'actions':_0x509b4c});}return new _0x3447ca(_0x580606(0x17c),_0x5c09dd,{'headers':_0x5846dd['headers'],'withCredentials':_0x5846dd[_0x580606(0x1c4)],'responseType':_0x5846dd[_0x580606(0x3ce)],'body':{'requests':_0x52c314}});}},{'distributeResult'(_0x4db6b7,_0x5457ab){var _0x2c23a1=_0x1881c9;const {objectActions:_0x446aec}=_0x4db6b7;return _0x5457ab[_0x2c23a1(0x19a)](_0x3d9d66=>{var _0x2cb788=_0x2c23a1;const {unitID:_0x1c3a28,objectID:_0x2cc0bc,actions:_0x48e536}=_0x3d9d66,_0x2be00c=_0x446aec['find'](_0xc2d90e=>_0xc2d90e['unitID']===_0x1c3a28&&_0xc2d90e['objectID']===_0x2cc0bc),_0x2f2456=_0x48e536[_0x2cb788(0x19a)](_0xd83f3e=>_0x2be00c==null?void 0x0:_0x2be00c[_0x2cb788(0x3a2)][_0x2cb788(0x416)](_0x3479bd=>_0x3479bd[_0x2cb788(0x3a6)]===_0xd83f3e))[_0x2cb788(0x322)](_0x1a41de=>!!_0x1a41de);return{'config':_0x3d9d66,'result':{'actions':_0x2f2456,'error':_0x4db6b7[_0x2cb788(0x178)]}};});}})}));}[_0x2e6e4f(0x43c)](){var _0x32c2ff=_0x2e6e4f,_0x3a38da;const _0x117465=this[_0x32c2ff(0x372)][_0x32c2ff(0x340)](K);return(_0x3a38da=_0x117465==null?void 0x0:_0x117465[_0x32c2ff(0x224)])!=null?_0x3a38da:an;}async['create'](_0x433e4d){var _0x2c164=_0x2e6e4f;const _0x21afd1=this[_0x2c164(0x43c)]()+'/'+_0x433e4d[_0x2c164(0x165)]+'/object';return(await this[_0x2c164(0x26a)]['post'](_0x21afd1,{'body':_0x433e4d}))[_0x2c164(0x1a2)][_0x2c164(0x3ac)]||'';}async[_0x2e6e4f(0x1d5)](_0x106dab){var _0x10f59c=_0x2e6e4f;const _0x2ac2d9=this[_0x10f59c(0x43c)]()+_0x10f59c(0x1de);return(await this[_0x10f59c(0x26a)]['post'](_0x2ac2d9,{'body':_0x106dab}))[_0x10f59c(0x1a2)][_0x10f59c(0x370)];}async[_0x2e6e4f(0x207)](_0x10e092){var _0x2ba9d6=_0x2e6e4f,_0x22b408,_0x39dfb8;const _0x1e6215=this[_0x2ba9d6(0x43c)]()+'/'+_0x10e092['objectType']+_0x2ba9d6(0x33b)+_0x10e092[_0x2ba9d6(0x3ac)],_0x4c34ca=await this[_0x2ba9d6(0x26a)][_0x2ba9d6(0x1fd)](_0x1e6215,{'body':_0x10e092});if(((_0x39dfb8=(_0x22b408=_0x4c34ca==null?void 0x0:_0x4c34ca['body'])==null?void 0x0:_0x22b408[_0x2ba9d6(0x178)])==null?void 0x0:_0x39dfb8['code'])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x2e6e4f(0x174)](_0x540af6){var _0x269c67=_0x2e6e4f;const _0x67d0f8=this[_0x269c67(0x43c)]()+'/'+_0x540af6['objectType']+_0x269c67(0x33b)+_0x540af6[_0x269c67(0x3ac)]+_0x269c67(0x2a6);return(await this[_0x269c67(0x26a)][_0x269c67(0x3e9)](_0x67d0f8,{'body':_0x540af6}))[_0x269c67(0x1a2)][_0x269c67(0x3a2)];}async[_0x2e6e4f(0x1a1)](_0xa323a8){var _0xd4633=_0x2e6e4f;const _0xbe3fb9=this[_0xd4633(0x43c)]()+_0xd4633(0x464);return(await this['_HTTPService']['post'](_0xbe3fb9,{'body':{'requests':_0xa323a8}}))['body'][_0xd4633(0x26c)];}async[_0x2e6e4f(0x428)](_0x410e80){var _0x51ff69=_0x2e6e4f;const _0x556c50=this[_0x51ff69(0x43c)]()+'/'+_0x410e80['objectType']+'/role',_0x1d3391=await this[_0x51ff69(0x26a)][_0x51ff69(0x3e9)](_0x556c50,{'body':_0x410e80});return{'roles':_0x1d3391[_0x51ff69(0x1a2)][_0x51ff69(0x3f5)],'actions':_0x1d3391[_0x51ff69(0x1a2)][_0x51ff69(0x3a2)]};}async[_0x2e6e4f(0x184)](_0x3454f9){var _0x312e81=_0x2e6e4f;const _0x494c96=this[_0x312e81(0x43c)]()+'/collaborator';await this[_0x312e81(0x26a)][_0x312e81(0x1f8)](_0x494c96,{'params':{'collaboratorID':_0x3454f9[_0x312e81(0x264)],'objectID':_0x3454f9[_0x312e81(0x3ac)],'unitID':_0x3454f9[_0x312e81(0x44b)]}});}async['updateCollaborator'](_0x5eb786){var _0x316834=_0x2e6e4f;const _0x4a461d=this[_0x316834(0x43c)]()+'/collaborator';await this['_HTTPService'][_0x316834(0x253)](_0x4a461d,{'body':_0x5eb786});}async['createCollaborator'](_0x5944be){var _0x1acbbc=_0x2e6e4f;const _0x2784b5=this['_getAPIPrefixPath']()+_0x1acbbc(0x29b);await this[_0x1acbbc(0x26a)][_0x1acbbc(0x3e9)](_0x2784b5,{'body':_0x5944be});}async['listCollaborators'](_0x4af46b){var _0x4121e5=_0x2e6e4f;const _0x39ce62=this[_0x4121e5(0x43c)]()+_0x4121e5(0x29b);return(await this['_HTTPService'][_0x4121e5(0x303)](_0x39ce62,{'params':{'objectID':_0x4af46b[_0x4121e5(0x3ac)],'unitID':_0x4af46b[_0x4121e5(0x44b)]}}))[_0x4121e5(0x1a2)][_0x4121e5(0x297)];}async[_0x2e6e4f(0x341)](_0x4ab662){var _0x2b60b2=_0x2e6e4f;const _0x2e3b10=this[_0x2b60b2(0x43c)]()+_0x2b60b2(0x29b);await this[_0x2b60b2(0x26a)][_0x2b60b2(0x1fd)](_0x2e3b10,{'body':_0x4ab662});}};Tt=rn([Kt(0x0,_0x499332(_0x4ef6ae)),Kt(0x1,_0x499332(_0x3f2ca4))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x162341){var _0xb5e317=_0x2e6e4f;return _0x162341&&_0x162341[_0xb5e317(0x24a)]&&Object['prototype'][_0xb5e317(0x451)][_0xb5e317(0x331)](_0x162341,_0xb5e317(0x3b5))?_0x162341[_0xb5e317(0x3b5)]:_0x162341;}var Ve={'exports':{}};function on(_0x377dcf){var _0x20533d=_0x2e6e4f;throw new Error(_0x20533d(0x202)+_0x377dcf+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var We={'exports':{}},cn=We[_0x2e6e4f(0x2bf)],qt;function te(){var _0xd0fada=_0x2e6e4f;return qt||(qt=0x1,function(_0x4e46f9,_0x230871){(function(_0x56c0df,_0x54ade5){var _0x216b2d=_0x18c4;_0x4e46f9[_0x216b2d(0x2bf)]=_0x54ade5();}(cn,function(){var _0x26c338=_0x26c338||function(_0xd05b67,_0x2928c0){var _0x57505a=_0x18c4,_0x3c1f6b;if(typeof window<'u'&&window[_0x57505a(0x21f)]&&(_0x3c1f6b=window[_0x57505a(0x21f)]),typeof self<'u'&&self[_0x57505a(0x21f)]&&(_0x3c1f6b=self[_0x57505a(0x21f)]),typeof globalThis<'u'&&globalThis[_0x57505a(0x21f)]&&(_0x3c1f6b=globalThis[_0x57505a(0x21f)]),!_0x3c1f6b&&typeof window<'u'&&window[_0x57505a(0x2c2)]&&(_0x3c1f6b=window[_0x57505a(0x2c2)]),!_0x3c1f6b&&typeof ft<'u'&&ft['crypto']&&(_0x3c1f6b=ft[_0x57505a(0x21f)]),!_0x3c1f6b&&typeof on=='function')try{_0x3c1f6b=require('crypto');}catch{}var _0x1faae9=function(){var _0x1e9925=_0x57505a;if(_0x3c1f6b){if(typeof _0x3c1f6b[_0x1e9925(0x39f)]==_0x1e9925(0x453))try{return _0x3c1f6b[_0x1e9925(0x39f)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3c1f6b[_0x1e9925(0x1bf)]=='function')try{return _0x3c1f6b[_0x1e9925(0x1bf)](0x4)[_0x1e9925(0x29d)]();}catch{}}throw new Error(_0x1e9925(0x346));},_0x19b8e6=Object[_0x57505a(0x2a7)]||(function(){function _0x18698a(){}return function(_0x5132c7){var _0x1ae19e=_0x18c4,_0x4fb737;return _0x18698a['prototype']=_0x5132c7,_0x4fb737=new _0x18698a(),_0x18698a[_0x1ae19e(0x262)]=null,_0x4fb737;};}()),_0x1428c7={},_0x1fea97=_0x1428c7[_0x57505a(0x3f4)]={},_0xa4f65e=_0x1fea97[_0x57505a(0x3e6)]=(function(){return{'extend':function(_0x56e3ee){var _0x84798f=_0x18c4,_0x240c49=_0x19b8e6(this);return _0x56e3ee&&_0x240c49[_0x84798f(0x24f)](_0x56e3ee),(!_0x240c49['hasOwnProperty'](_0x84798f(0x3e0))||this['init']===_0x240c49[_0x84798f(0x3e0)])&&(_0x240c49[_0x84798f(0x3e0)]=function(){var _0x49e66d=_0x84798f;_0x240c49[_0x49e66d(0x2d9)][_0x49e66d(0x3e0)]['apply'](this,arguments);}),_0x240c49[_0x84798f(0x3e0)]['prototype']=_0x240c49,_0x240c49[_0x84798f(0x2d9)]=this,_0x240c49;},'create':function(){var _0xf55306=_0x18c4,_0x7d7996=this[_0xf55306(0x350)]();return _0x7d7996[_0xf55306(0x3e0)][_0xf55306(0x181)](_0x7d7996,arguments),_0x7d7996;},'init':function(){},'mixIn':function(_0x517aab){var _0x557a9e=_0x18c4;for(var _0x3868db in _0x517aab)_0x517aab[_0x557a9e(0x451)](_0x3868db)&&(this[_0x3868db]=_0x517aab[_0x3868db]);_0x517aab[_0x557a9e(0x451)]('toString')&&(this[_0x557a9e(0x2e5)]=_0x517aab[_0x557a9e(0x2e5)]);},'clone':function(){var _0x2d5bd6=_0x18c4;return this[_0x2d5bd6(0x3e0)][_0x2d5bd6(0x262)][_0x2d5bd6(0x350)](this);}};}()),_0x44d8f2=_0x1fea97[_0x57505a(0x26f)]=_0xa4f65e[_0x57505a(0x350)]({'init':function(_0x152100,_0x2e9c9c){var _0x8f48c9=_0x57505a;_0x152100=this[_0x8f48c9(0x1e4)]=_0x152100||[],_0x2e9c9c!=_0x2928c0?this['sigBytes']=_0x2e9c9c:this['sigBytes']=_0x152100['length']*0x4;},'toString':function(_0x1843cb){var _0x158147=_0x57505a;return(_0x1843cb||_0x4c20eb)[_0x158147(0x248)](this);},'concat':function(_0x411736){var _0x5f1f64=_0x57505a,_0x51ff74=this['words'],_0x5bc83a=_0x411736[_0x5f1f64(0x1e4)],_0x4aedc8=this[_0x5f1f64(0x3df)],_0x56aa02=_0x411736[_0x5f1f64(0x3df)];if(this[_0x5f1f64(0x355)](),_0x4aedc8%0x4)for(var _0x182482=0x0;_0x182482<_0x56aa02;_0x182482++){var _0x590be7=_0x5bc83a[_0x182482>>>0x2]>>>0x18-_0x182482%0x4*0x8&0xff;_0x51ff74[_0x4aedc8+_0x182482>>>0x2]|=_0x590be7<<0x18-(_0x4aedc8+_0x182482)%0x4*0x8;}else{for(var _0xb48880=0x0;_0xb48880<_0x56aa02;_0xb48880+=0x4)_0x51ff74[_0x4aedc8+_0xb48880>>>0x2]=_0x5bc83a[_0xb48880>>>0x2];}return this[_0x5f1f64(0x3df)]+=_0x56aa02,this;},'clamp':function(){var _0x433d84=_0x57505a,_0x57a3ad=this[_0x433d84(0x1e4)],_0x5305d9=this['sigBytes'];_0x57a3ad[_0x5305d9>>>0x2]&=0xffffffff<<0x20-_0x5305d9%0x4*0x8,_0x57a3ad[_0x433d84(0x255)]=_0xd05b67[_0x433d84(0x2b5)](_0x5305d9/0x4);},'clone':function(){var _0x2a1a56=_0x57505a,_0x333021=_0xa4f65e[_0x2a1a56(0x229)]['call'](this);return _0x333021[_0x2a1a56(0x1e4)]=this[_0x2a1a56(0x1e4)][_0x2a1a56(0x2c5)](0x0),_0x333021;},'random':function(_0x580ee7){var _0xb1985f=_0x57505a;for(var _0x176331=[],_0xdf7675=0x0;_0xdf7675<_0x580ee7;_0xdf7675+=0x4)_0x176331[_0xb1985f(0x29e)](_0x1faae9());return new _0x44d8f2[(_0xb1985f(0x3e0))](_0x176331,_0x580ee7);}}),_0x521980=_0x1428c7['enc']={},_0x4c20eb=_0x521980[_0x57505a(0x327)]={'stringify':function(_0x1bddea){var _0x5c565a=_0x57505a;for(var _0x409d8b=_0x1bddea[_0x5c565a(0x1e4)],_0xb39b37=_0x1bddea[_0x5c565a(0x3df)],_0x1e5789=[],_0x113f87=0x0;_0x113f87<_0xb39b37;_0x113f87++){var _0x2e4aae=_0x409d8b[_0x113f87>>>0x2]>>>0x18-_0x113f87%0x4*0x8&0xff;_0x1e5789[_0x5c565a(0x29e)]((_0x2e4aae>>>0x4)[_0x5c565a(0x2e5)](0x10)),_0x1e5789[_0x5c565a(0x29e)]((_0x2e4aae&0xf)[_0x5c565a(0x2e5)](0x10));}return _0x1e5789[_0x5c565a(0x431)]('');},'parse':function(_0x4ba6fb){var _0x59ea17=_0x57505a;for(var _0x2fe868=_0x4ba6fb['length'],_0x59fc6b=[],_0xdeb5ac=0x0;_0xdeb5ac<_0x2fe868;_0xdeb5ac+=0x2)_0x59fc6b[_0xdeb5ac>>>0x3]|=parseInt(_0x4ba6fb[_0x59ea17(0x448)](_0xdeb5ac,0x2),0x10)<<0x18-_0xdeb5ac%0x8*0x4;return new _0x44d8f2[(_0x59ea17(0x3e0))](_0x59fc6b,_0x2fe868/0x2);}},_0x1276be=_0x521980[_0x57505a(0x435)]={'stringify':function(_0x474891){var _0x44ce1c=_0x57505a;for(var _0x39c353=_0x474891[_0x44ce1c(0x1e4)],_0x43ce31=_0x474891[_0x44ce1c(0x3df)],_0x179d07=[],_0x156f92=0x0;_0x156f92<_0x43ce31;_0x156f92++){var _0x1a340b=_0x39c353[_0x156f92>>>0x2]>>>0x18-_0x156f92%0x4*0x8&0xff;_0x179d07['push'](String[_0x44ce1c(0x43a)](_0x1a340b));}return _0x179d07[_0x44ce1c(0x431)]('');},'parse':function(_0x1d28c9){var _0x261f9e=_0x57505a;for(var _0x508434=_0x1d28c9[_0x261f9e(0x255)],_0x3ee2ca=[],_0x15e750=0x0;_0x15e750<_0x508434;_0x15e750++)_0x3ee2ca[_0x15e750>>>0x2]|=(_0x1d28c9[_0x261f9e(0x200)](_0x15e750)&0xff)<<0x18-_0x15e750%0x4*0x8;return new _0x44d8f2[(_0x261f9e(0x3e0))](_0x3ee2ca,_0x508434);}},_0x401972=_0x521980[_0x57505a(0x209)]={'stringify':function(_0x542fc1){var _0x2ecfd8=_0x57505a;try{return decodeURIComponent(escape(_0x1276be[_0x2ecfd8(0x248)](_0x542fc1)));}catch{throw new Error(_0x2ecfd8(0x365));}},'parse':function(_0x4ceada){var _0x3beda9=_0x57505a;return _0x1276be[_0x3beda9(0x22b)](unescape(encodeURIComponent(_0x4ceada)));}},_0x85700d=_0x1fea97[_0x57505a(0x434)]=_0xa4f65e[_0x57505a(0x350)]({'reset':function(){var _0x236277=_0x57505a;this['_data']=new _0x44d8f2[(_0x236277(0x3e0))](),this[_0x236277(0x30a)]=0x0;},'_append':function(_0x463a71){var _0x4787eb=_0x57505a;typeof _0x463a71==_0x4787eb(0x166)&&(_0x463a71=_0x401972['parse'](_0x463a71)),this['_data'][_0x4787eb(0x441)](_0x463a71),this[_0x4787eb(0x30a)]+=_0x463a71[_0x4787eb(0x3df)];},'_process':function(_0x58d442){var _0x1d2849=_0x57505a,_0x85dfa,_0x78d2fe=this[_0x1d2849(0x27f)],_0x3ad65f=_0x78d2fe[_0x1d2849(0x1e4)],_0x3d5c51=_0x78d2fe['sigBytes'],_0x7f8200=this[_0x1d2849(0x3c2)],_0x22468a=_0x7f8200*0x4,_0x1fcb7d=_0x3d5c51/_0x22468a;_0x58d442?_0x1fcb7d=_0xd05b67[_0x1d2849(0x2b5)](_0x1fcb7d):_0x1fcb7d=_0xd05b67[_0x1d2849(0x23e)]((_0x1fcb7d|0x0)-this[_0x1d2849(0x2dd)],0x0);var _0x4b1f77=_0x1fcb7d*_0x7f8200,_0x130a6c=_0xd05b67[_0x1d2849(0x2d8)](_0x4b1f77*0x4,_0x3d5c51);if(_0x4b1f77){for(var _0x619d86=0x0;_0x619d86<_0x4b1f77;_0x619d86+=_0x7f8200)this[_0x1d2849(0x263)](_0x3ad65f,_0x619d86);_0x85dfa=_0x3ad65f[_0x1d2849(0x39d)](0x0,_0x4b1f77),_0x78d2fe['sigBytes']-=_0x130a6c;}return new _0x44d8f2[(_0x1d2849(0x3e0))](_0x85dfa,_0x130a6c);},'clone':function(){var _0x4d727a=_0x57505a,_0x52f89e=_0xa4f65e[_0x4d727a(0x229)]['call'](this);return _0x52f89e[_0x4d727a(0x27f)]=this[_0x4d727a(0x27f)][_0x4d727a(0x229)](),_0x52f89e;},'_minBufferSize':0x0});_0x1fea97['Hasher']=_0x85700d[_0x57505a(0x350)]({'cfg':_0xa4f65e[_0x57505a(0x350)](),'init':function(_0x411672){var _0x4d1b2f=_0x57505a;this[_0x4d1b2f(0x2fd)]=this[_0x4d1b2f(0x2fd)][_0x4d1b2f(0x350)](_0x411672),this['reset']();},'reset':function(){var _0xcb8f0b=_0x57505a;_0x85700d[_0xcb8f0b(0x333)][_0xcb8f0b(0x331)](this),this['_doReset']();},'update':function(_0x15eaec){var _0x6da164=_0x57505a;return this[_0x6da164(0x1d2)](_0x15eaec),this[_0x6da164(0x433)](),this;},'finalize':function(_0xb03a69){var _0x2db7b8=_0x57505a;_0xb03a69&&this['_append'](_0xb03a69);var _0x35e1cf=this[_0x2db7b8(0x1f7)]();return _0x35e1cf;},'blockSize':0x10,'_createHelper':function(_0x4e14a5){return function(_0xb75b14,_0x5e3da1){var _0x515c13=_0x18c4;return new _0x4e14a5[(_0x515c13(0x3e0))](_0x5e3da1)[_0x515c13(0x3c0)](_0xb75b14);};},'_createHmacHelper':function(_0x4b6e5f){return function(_0x7a20c,_0x5c06de){var _0x553ee0=_0x18c4;return new _0x5048bf['HMAC']['init'](_0x4b6e5f,_0x5c06de)[_0x553ee0(0x3c0)](_0x7a20c);};}});var _0x5048bf=_0x1428c7[_0x57505a(0x364)]={};return _0x1428c7;}(Math);return _0x26c338;}));}(We)),We[_0xd0fada(0x2bf)];}var Ge={'exports':{}},hn=Ge[_0x2e6e4f(0x2bf)],zt;function Ri(){var _0x29860b=_0x2e6e4f;return zt||(zt=0x1,function(_0x4e227d,_0x362deb){(function(_0x384f23,_0x281d08){var _0x35034c=_0x18c4;_0x4e227d[_0x35034c(0x2bf)]=_0x281d08(te());}(hn,function(_0x4cb6a2){var _0x1b6982=_0x18c4;return(function(){var _0x419a76=_0x18c4,_0x19d3cf=_0x4cb6a2,_0x417418=_0x19d3cf[_0x419a76(0x3f4)],_0x4571a0=_0x417418[_0x419a76(0x26f)],_0x5053f1=_0x19d3cf[_0x419a76(0x1f6)];_0x5053f1[_0x419a76(0x188)]={'stringify':function(_0x60475f){var _0x40c6b8=_0x419a76,_0x3ccdda=_0x60475f['words'],_0x2fb0b6=_0x60475f[_0x40c6b8(0x3df)],_0x102668=this[_0x40c6b8(0x2ba)];_0x60475f[_0x40c6b8(0x355)]();for(var _0x4b4ccd=[],_0x3896ea=0x0;_0x3896ea<_0x2fb0b6;_0x3896ea+=0x3)for(var _0x4433b4=_0x3ccdda[_0x3896ea>>>0x2]>>>0x18-_0x3896ea%0x4*0x8&0xff,_0x22b66e=_0x3ccdda[_0x3896ea+0x1>>>0x2]>>>0x18-(_0x3896ea+0x1)%0x4*0x8&0xff,_0x122349=_0x3ccdda[_0x3896ea+0x2>>>0x2]>>>0x18-(_0x3896ea+0x2)%0x4*0x8&0xff,_0x3f7ddd=_0x4433b4<<0x10|_0x22b66e<<0x8|_0x122349,_0x588885=0x0;_0x588885<0x4&&_0x3896ea+_0x588885*0.75<_0x2fb0b6;_0x588885++)_0x4b4ccd['push'](_0x102668['charAt'](_0x3f7ddd>>>0x6*(0x3-_0x588885)&0x3f));var _0x2696c9=_0x102668[_0x40c6b8(0x38e)](0x40);if(_0x2696c9){for(;_0x4b4ccd[_0x40c6b8(0x255)]%0x4;)_0x4b4ccd[_0x40c6b8(0x29e)](_0x2696c9);}return _0x4b4ccd['join']('');},'parse':function(_0x4eb130){var _0x5f3986=_0x419a76,_0x3cacd5=_0x4eb130[_0x5f3986(0x255)],_0x52172e=this[_0x5f3986(0x2ba)],_0x11a04d=this[_0x5f3986(0x1e8)];if(!_0x11a04d){_0x11a04d=this[_0x5f3986(0x1e8)]=[];for(var _0x44e80d=0x0;_0x44e80d<_0x52172e[_0x5f3986(0x255)];_0x44e80d++)_0x11a04d[_0x52172e[_0x5f3986(0x200)](_0x44e80d)]=_0x44e80d;}var _0x4895c6=_0x52172e[_0x5f3986(0x38e)](0x40);if(_0x4895c6){var _0x341780=_0x4eb130['indexOf'](_0x4895c6);_0x341780!==-0x1&&(_0x3cacd5=_0x341780);}return _0x1a9ad3(_0x4eb130,_0x3cacd5,_0x11a04d);},'_map':_0x419a76(0x313)};function _0x1a9ad3(_0x5f05d0,_0x274875,_0x2518c8){var _0x5734d1=_0x419a76;for(var _0x9fe9ec=[],_0x1402c9=0x0,_0x2727d7=0x0;_0x2727d7<_0x274875;_0x2727d7++)if(_0x2727d7%0x4){var _0x54ff6e=_0x2518c8[_0x5f05d0[_0x5734d1(0x200)](_0x2727d7-0x1)]<<_0x2727d7%0x4*0x2,_0x152667=_0x2518c8[_0x5f05d0[_0x5734d1(0x200)](_0x2727d7)]>>>0x6-_0x2727d7%0x4*0x2,_0x11ca01=_0x54ff6e|_0x152667;_0x9fe9ec[_0x1402c9>>>0x2]|=_0x11ca01<<0x18-_0x1402c9%0x4*0x8,_0x1402c9++;}return _0x4571a0[_0x5734d1(0x2a7)](_0x9fe9ec,_0x1402c9);}}()),_0x4cb6a2[_0x1b6982(0x1f6)][_0x1b6982(0x188)];}));}(Ge)),Ge[_0x29860b(0x2bf)];}var Ye={'exports':{}},_n=Ye[_0x2e6e4f(0x2bf)],Jt;function ln(){var _0x1454ef=_0x2e6e4f;return Jt||(Jt=0x1,function(_0x5bafe3,_0x2f3c7f){(function(_0x2de9dc,_0x5dacb5){var _0x9edaa2=_0x18c4;_0x5bafe3[_0x9edaa2(0x2bf)]=_0x5dacb5(te());}(_n,function(_0x4b10fb){var _0x2d60f8=_0x18c4;return function(_0x1d2f2c){var _0x2bf0e5=_0x18c4,_0x52d4fa=_0x4b10fb,_0x12b04a=_0x52d4fa[_0x2bf0e5(0x3f4)],_0x173480=_0x12b04a[_0x2bf0e5(0x26f)],_0x3be32a=_0x12b04a[_0x2bf0e5(0x16c)],_0x7525bd=_0x52d4fa['algo'],_0x548d3b=[];(function(){var _0x17074a=_0x2bf0e5;for(var _0x19549f=0x0;_0x19549f<0x40;_0x19549f++)_0x548d3b[_0x19549f]=_0x1d2f2c[_0x17074a(0x272)](_0x1d2f2c['sin'](_0x19549f+0x1))*0x100000000|0x0;}());var _0x591c95=_0x7525bd[_0x2bf0e5(0x2e4)]=_0x3be32a[_0x2bf0e5(0x350)]({'_doReset':function(){this['_hash']=new _0x173480['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x33b5b7,_0x90456){var _0x54e573=_0x2bf0e5;for(var _0x5595a6=0x0;_0x5595a6<0x10;_0x5595a6++){var _0x4ab8e0=_0x90456+_0x5595a6,_0x363b78=_0x33b5b7[_0x4ab8e0];_0x33b5b7[_0x4ab8e0]=(_0x363b78<<0x8|_0x363b78>>>0x18)&0xff00ff|(_0x363b78<<0x18|_0x363b78>>>0x8)&0xff00ff00;}var _0x12ea75=this['_hash'][_0x54e573(0x1e4)],_0x250863=_0x33b5b7[_0x90456+0x0],_0x21daf9=_0x33b5b7[_0x90456+0x1],_0x3a8408=_0x33b5b7[_0x90456+0x2],_0x22f100=_0x33b5b7[_0x90456+0x3],_0x3823c9=_0x33b5b7[_0x90456+0x4],_0x3ed62f=_0x33b5b7[_0x90456+0x5],_0x4b8bfc=_0x33b5b7[_0x90456+0x6],_0x1d965c=_0x33b5b7[_0x90456+0x7],_0x813384=_0x33b5b7[_0x90456+0x8],_0x390e0b=_0x33b5b7[_0x90456+0x9],_0x2e2f36=_0x33b5b7[_0x90456+0xa],_0x8e764d=_0x33b5b7[_0x90456+0xb],_0x4ef05e=_0x33b5b7[_0x90456+0xc],_0xac7922=_0x33b5b7[_0x90456+0xd],_0x30ace6=_0x33b5b7[_0x90456+0xe],_0x5362be=_0x33b5b7[_0x90456+0xf],_0x1f5983=_0x12ea75[0x0],_0x599e20=_0x12ea75[0x1],_0x140814=_0x12ea75[0x2],_0x52b58c=_0x12ea75[0x3];_0x1f5983=_0x4a41fb(_0x1f5983,_0x599e20,_0x140814,_0x52b58c,_0x250863,0x7,_0x548d3b[0x0]),_0x52b58c=_0x4a41fb(_0x52b58c,_0x1f5983,_0x599e20,_0x140814,_0x21daf9,0xc,_0x548d3b[0x1]),_0x140814=_0x4a41fb(_0x140814,_0x52b58c,_0x1f5983,_0x599e20,_0x3a8408,0x11,_0x548d3b[0x2]),_0x599e20=_0x4a41fb(_0x599e20,_0x140814,_0x52b58c,_0x1f5983,_0x22f100,0x16,_0x548d3b[0x3]),_0x1f5983=_0x4a41fb(_0x1f5983,_0x599e20,_0x140814,_0x52b58c,_0x3823c9,0x7,_0x548d3b[0x4]),_0x52b58c=_0x4a41fb(_0x52b58c,_0x1f5983,_0x599e20,_0x140814,_0x3ed62f,0xc,_0x548d3b[0x5]),_0x140814=_0x4a41fb(_0x140814,_0x52b58c,_0x1f5983,_0x599e20,_0x4b8bfc,0x11,_0x548d3b[0x6]),_0x599e20=_0x4a41fb(_0x599e20,_0x140814,_0x52b58c,_0x1f5983,_0x1d965c,0x16,_0x548d3b[0x7]),_0x1f5983=_0x4a41fb(_0x1f5983,_0x599e20,_0x140814,_0x52b58c,_0x813384,0x7,_0x548d3b[0x8]),_0x52b58c=_0x4a41fb(_0x52b58c,_0x1f5983,_0x599e20,_0x140814,_0x390e0b,0xc,_0x548d3b[0x9]),_0x140814=_0x4a41fb(_0x140814,_0x52b58c,_0x1f5983,_0x599e20,_0x2e2f36,0x11,_0x548d3b[0xa]),_0x599e20=_0x4a41fb(_0x599e20,_0x140814,_0x52b58c,_0x1f5983,_0x8e764d,0x16,_0x548d3b[0xb]),_0x1f5983=_0x4a41fb(_0x1f5983,_0x599e20,_0x140814,_0x52b58c,_0x4ef05e,0x7,_0x548d3b[0xc]),_0x52b58c=_0x4a41fb(_0x52b58c,_0x1f5983,_0x599e20,_0x140814,_0xac7922,0xc,_0x548d3b[0xd]),_0x140814=_0x4a41fb(_0x140814,_0x52b58c,_0x1f5983,_0x599e20,_0x30ace6,0x11,_0x548d3b[0xe]),_0x599e20=_0x4a41fb(_0x599e20,_0x140814,_0x52b58c,_0x1f5983,_0x5362be,0x16,_0x548d3b[0xf]),_0x1f5983=_0x1a38f2(_0x1f5983,_0x599e20,_0x140814,_0x52b58c,_0x21daf9,0x5,_0x548d3b[0x10]),_0x52b58c=_0x1a38f2(_0x52b58c,_0x1f5983,_0x599e20,_0x140814,_0x4b8bfc,0x9,_0x548d3b[0x11]),_0x140814=_0x1a38f2(_0x140814,_0x52b58c,_0x1f5983,_0x599e20,_0x8e764d,0xe,_0x548d3b[0x12]),_0x599e20=_0x1a38f2(_0x599e20,_0x140814,_0x52b58c,_0x1f5983,_0x250863,0x14,_0x548d3b[0x13]),_0x1f5983=_0x1a38f2(_0x1f5983,_0x599e20,_0x140814,_0x52b58c,_0x3ed62f,0x5,_0x548d3b[0x14]),_0x52b58c=_0x1a38f2(_0x52b58c,_0x1f5983,_0x599e20,_0x140814,_0x2e2f36,0x9,_0x548d3b[0x15]),_0x140814=_0x1a38f2(_0x140814,_0x52b58c,_0x1f5983,_0x599e20,_0x5362be,0xe,_0x548d3b[0x16]),_0x599e20=_0x1a38f2(_0x599e20,_0x140814,_0x52b58c,_0x1f5983,_0x3823c9,0x14,_0x548d3b[0x17]),_0x1f5983=_0x1a38f2(_0x1f5983,_0x599e20,_0x140814,_0x52b58c,_0x390e0b,0x5,_0x548d3b[0x18]),_0x52b58c=_0x1a38f2(_0x52b58c,_0x1f5983,_0x599e20,_0x140814,_0x30ace6,0x9,_0x548d3b[0x19]),_0x140814=_0x1a38f2(_0x140814,_0x52b58c,_0x1f5983,_0x599e20,_0x22f100,0xe,_0x548d3b[0x1a]),_0x599e20=_0x1a38f2(_0x599e20,_0x140814,_0x52b58c,_0x1f5983,_0x813384,0x14,_0x548d3b[0x1b]),_0x1f5983=_0x1a38f2(_0x1f5983,_0x599e20,_0x140814,_0x52b58c,_0xac7922,0x5,_0x548d3b[0x1c]),_0x52b58c=_0x1a38f2(_0x52b58c,_0x1f5983,_0x599e20,_0x140814,_0x3a8408,0x9,_0x548d3b[0x1d]),_0x140814=_0x1a38f2(_0x140814,_0x52b58c,_0x1f5983,_0x599e20,_0x1d965c,0xe,_0x548d3b[0x1e]),_0x599e20=_0x1a38f2(_0x599e20,_0x140814,_0x52b58c,_0x1f5983,_0x4ef05e,0x14,_0x548d3b[0x1f]),_0x1f5983=_0x78a0b5(_0x1f5983,_0x599e20,_0x140814,_0x52b58c,_0x3ed62f,0x4,_0x548d3b[0x20]),_0x52b58c=_0x78a0b5(_0x52b58c,_0x1f5983,_0x599e20,_0x140814,_0x813384,0xb,_0x548d3b[0x21]),_0x140814=_0x78a0b5(_0x140814,_0x52b58c,_0x1f5983,_0x599e20,_0x8e764d,0x10,_0x548d3b[0x22]),_0x599e20=_0x78a0b5(_0x599e20,_0x140814,_0x52b58c,_0x1f5983,_0x30ace6,0x17,_0x548d3b[0x23]),_0x1f5983=_0x78a0b5(_0x1f5983,_0x599e20,_0x140814,_0x52b58c,_0x21daf9,0x4,_0x548d3b[0x24]),_0x52b58c=_0x78a0b5(_0x52b58c,_0x1f5983,_0x599e20,_0x140814,_0x3823c9,0xb,_0x548d3b[0x25]),_0x140814=_0x78a0b5(_0x140814,_0x52b58c,_0x1f5983,_0x599e20,_0x1d965c,0x10,_0x548d3b[0x26]),_0x599e20=_0x78a0b5(_0x599e20,_0x140814,_0x52b58c,_0x1f5983,_0x2e2f36,0x17,_0x548d3b[0x27]),_0x1f5983=_0x78a0b5(_0x1f5983,_0x599e20,_0x140814,_0x52b58c,_0xac7922,0x4,_0x548d3b[0x28]),_0x52b58c=_0x78a0b5(_0x52b58c,_0x1f5983,_0x599e20,_0x140814,_0x250863,0xb,_0x548d3b[0x29]),_0x140814=_0x78a0b5(_0x140814,_0x52b58c,_0x1f5983,_0x599e20,_0x22f100,0x10,_0x548d3b[0x2a]),_0x599e20=_0x78a0b5(_0x599e20,_0x140814,_0x52b58c,_0x1f5983,_0x4b8bfc,0x17,_0x548d3b[0x2b]),_0x1f5983=_0x78a0b5(_0x1f5983,_0x599e20,_0x140814,_0x52b58c,_0x390e0b,0x4,_0x548d3b[0x2c]),_0x52b58c=_0x78a0b5(_0x52b58c,_0x1f5983,_0x599e20,_0x140814,_0x4ef05e,0xb,_0x548d3b[0x2d]),_0x140814=_0x78a0b5(_0x140814,_0x52b58c,_0x1f5983,_0x599e20,_0x5362be,0x10,_0x548d3b[0x2e]),_0x599e20=_0x78a0b5(_0x599e20,_0x140814,_0x52b58c,_0x1f5983,_0x3a8408,0x17,_0x548d3b[0x2f]),_0x1f5983=_0x58d897(_0x1f5983,_0x599e20,_0x140814,_0x52b58c,_0x250863,0x6,_0x548d3b[0x30]),_0x52b58c=_0x58d897(_0x52b58c,_0x1f5983,_0x599e20,_0x140814,_0x1d965c,0xa,_0x548d3b[0x31]),_0x140814=_0x58d897(_0x140814,_0x52b58c,_0x1f5983,_0x599e20,_0x30ace6,0xf,_0x548d3b[0x32]),_0x599e20=_0x58d897(_0x599e20,_0x140814,_0x52b58c,_0x1f5983,_0x3ed62f,0x15,_0x548d3b[0x33]),_0x1f5983=_0x58d897(_0x1f5983,_0x599e20,_0x140814,_0x52b58c,_0x4ef05e,0x6,_0x548d3b[0x34]),_0x52b58c=_0x58d897(_0x52b58c,_0x1f5983,_0x599e20,_0x140814,_0x22f100,0xa,_0x548d3b[0x35]),_0x140814=_0x58d897(_0x140814,_0x52b58c,_0x1f5983,_0x599e20,_0x2e2f36,0xf,_0x548d3b[0x36]),_0x599e20=_0x58d897(_0x599e20,_0x140814,_0x52b58c,_0x1f5983,_0x21daf9,0x15,_0x548d3b[0x37]),_0x1f5983=_0x58d897(_0x1f5983,_0x599e20,_0x140814,_0x52b58c,_0x813384,0x6,_0x548d3b[0x38]),_0x52b58c=_0x58d897(_0x52b58c,_0x1f5983,_0x599e20,_0x140814,_0x5362be,0xa,_0x548d3b[0x39]),_0x140814=_0x58d897(_0x140814,_0x52b58c,_0x1f5983,_0x599e20,_0x4b8bfc,0xf,_0x548d3b[0x3a]),_0x599e20=_0x58d897(_0x599e20,_0x140814,_0x52b58c,_0x1f5983,_0xac7922,0x15,_0x548d3b[0x3b]),_0x1f5983=_0x58d897(_0x1f5983,_0x599e20,_0x140814,_0x52b58c,_0x3823c9,0x6,_0x548d3b[0x3c]),_0x52b58c=_0x58d897(_0x52b58c,_0x1f5983,_0x599e20,_0x140814,_0x8e764d,0xa,_0x548d3b[0x3d]),_0x140814=_0x58d897(_0x140814,_0x52b58c,_0x1f5983,_0x599e20,_0x3a8408,0xf,_0x548d3b[0x3e]),_0x599e20=_0x58d897(_0x599e20,_0x140814,_0x52b58c,_0x1f5983,_0x390e0b,0x15,_0x548d3b[0x3f]),_0x12ea75[0x0]=_0x12ea75[0x0]+_0x1f5983|0x0,_0x12ea75[0x1]=_0x12ea75[0x1]+_0x599e20|0x0,_0x12ea75[0x2]=_0x12ea75[0x2]+_0x140814|0x0,_0x12ea75[0x3]=_0x12ea75[0x3]+_0x52b58c|0x0;},'_doFinalize':function(){var _0x306682=_0x2bf0e5,_0x1e58b2=this[_0x306682(0x27f)],_0x71ef9=_0x1e58b2[_0x306682(0x1e4)],_0x55da92=this[_0x306682(0x30a)]*0x8,_0x21054c=_0x1e58b2[_0x306682(0x3df)]*0x8;_0x71ef9[_0x21054c>>>0x5]|=0x80<<0x18-_0x21054c%0x20;var _0x26120c=_0x1d2f2c[_0x306682(0x32d)](_0x55da92/0x100000000),_0x42b435=_0x55da92;_0x71ef9[(_0x21054c+0x40>>>0x9<<0x4)+0xf]=(_0x26120c<<0x8|_0x26120c>>>0x18)&0xff00ff|(_0x26120c<<0x18|_0x26120c>>>0x8)&0xff00ff00,_0x71ef9[(_0x21054c+0x40>>>0x9<<0x4)+0xe]=(_0x42b435<<0x8|_0x42b435>>>0x18)&0xff00ff|(_0x42b435<<0x18|_0x42b435>>>0x8)&0xff00ff00,_0x1e58b2[_0x306682(0x3df)]=(_0x71ef9[_0x306682(0x255)]+0x1)*0x4,this[_0x306682(0x433)]();for(var _0x506733=this['_hash'],_0x2604c2=_0x506733[_0x306682(0x1e4)],_0x2cec11=0x0;_0x2cec11<0x4;_0x2cec11++){var _0x26e947=_0x2604c2[_0x2cec11];_0x2604c2[_0x2cec11]=(_0x26e947<<0x8|_0x26e947>>>0x18)&0xff00ff|(_0x26e947<<0x18|_0x26e947>>>0x8)&0xff00ff00;}return _0x506733;},'clone':function(){var _0x47f3e5=_0x2bf0e5,_0x9cd588=_0x3be32a[_0x47f3e5(0x229)][_0x47f3e5(0x331)](this);return _0x9cd588[_0x47f3e5(0x211)]=this[_0x47f3e5(0x211)][_0x47f3e5(0x229)](),_0x9cd588;}});function _0x4a41fb(_0x5e0555,_0x31b045,_0x54fac2,_0x233e6d,_0x53cbad,_0x46cbff,_0x55ccf1){var _0x20462b=_0x5e0555+(_0x31b045&_0x54fac2|~_0x31b045&_0x233e6d)+_0x53cbad+_0x55ccf1;return(_0x20462b<<_0x46cbff|_0x20462b>>>0x20-_0x46cbff)+_0x31b045;}function _0x1a38f2(_0x4bc4a6,_0x5831c9,_0x4a9713,_0x5cb9cc,_0x22e37e,_0x231fb9,_0x17a679){var _0x447990=_0x4bc4a6+(_0x5831c9&_0x5cb9cc|_0x4a9713&~_0x5cb9cc)+_0x22e37e+_0x17a679;return(_0x447990<<_0x231fb9|_0x447990>>>0x20-_0x231fb9)+_0x5831c9;}function _0x78a0b5(_0xd8bd0d,_0x4481e5,_0x221918,_0x489a20,_0x3715e8,_0x55078e,_0x5a0c95){var _0x507230=_0xd8bd0d+(_0x4481e5^_0x221918^_0x489a20)+_0x3715e8+_0x5a0c95;return(_0x507230<<_0x55078e|_0x507230>>>0x20-_0x55078e)+_0x4481e5;}function _0x58d897(_0x5a56ef,_0x1c0c04,_0x203539,_0x43b485,_0x303aec,_0x367512,_0x249344){var _0x3b7c00=_0x5a56ef+(_0x203539^(_0x1c0c04|~_0x43b485))+_0x303aec+_0x249344;return(_0x3b7c00<<_0x367512|_0x3b7c00>>>0x20-_0x367512)+_0x1c0c04;}_0x52d4fa['MD5']=_0x3be32a[_0x2bf0e5(0x2fe)](_0x591c95),_0x52d4fa[_0x2bf0e5(0x299)]=_0x3be32a[_0x2bf0e5(0x195)](_0x591c95);}(Math),_0x4b10fb[_0x2d60f8(0x2e4)];}));}(Ye)),Ye[_0x1454ef(0x2bf)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x2e6e4f(0x2bf)],Xt;function dn(){return Xt||(Xt=0x1,function(_0x5dc0f1,_0x58f2df){(function(_0x1333e6,_0xef3a3f){var _0x198fde=_0x18c4;_0x5dc0f1[_0x198fde(0x2bf)]=_0xef3a3f(te());}(un,function(_0x2d5979){var _0x33dcd8=_0x18c4;return(function(){var _0x366a64=_0x18c4,_0x3ffb61=_0x2d5979,_0xa599fc=_0x3ffb61[_0x366a64(0x3f4)],_0x9ff203=_0xa599fc['WordArray'],_0x477304=_0xa599fc[_0x366a64(0x16c)],_0x3d0e8f=_0x3ffb61[_0x366a64(0x364)],_0x1a87a7=[],_0x557a40=_0x3d0e8f['SHA1']=_0x477304[_0x366a64(0x350)]({'_doReset':function(){var _0x3afc42=_0x366a64;this['_hash']=new _0x9ff203[(_0x3afc42(0x3e0))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2ca9c2,_0x4af26e){var _0x1ce258=_0x366a64;for(var _0x5836b4=this[_0x1ce258(0x211)][_0x1ce258(0x1e4)],_0x4bc5a8=_0x5836b4[0x0],_0x2b3252=_0x5836b4[0x1],_0x27adb7=_0x5836b4[0x2],_0x3f50ca=_0x5836b4[0x3],_0x4f7b5d=_0x5836b4[0x4],_0x3428db=0x0;_0x3428db<0x50;_0x3428db++){if(_0x3428db<0x10)_0x1a87a7[_0x3428db]=_0x2ca9c2[_0x4af26e+_0x3428db]|0x0;else{var _0x3b1de3=_0x1a87a7[_0x3428db-0x3]^_0x1a87a7[_0x3428db-0x8]^_0x1a87a7[_0x3428db-0xe]^_0x1a87a7[_0x3428db-0x10];_0x1a87a7[_0x3428db]=_0x3b1de3<<0x1|_0x3b1de3>>>0x1f;}var _0x1e3954=(_0x4bc5a8<<0x5|_0x4bc5a8>>>0x1b)+_0x4f7b5d+_0x1a87a7[_0x3428db];_0x3428db<0x14?_0x1e3954+=(_0x2b3252&_0x27adb7|~_0x2b3252&_0x3f50ca)+0x5a827999:_0x3428db<0x28?_0x1e3954+=(_0x2b3252^_0x27adb7^_0x3f50ca)+0x6ed9eba1:_0x3428db<0x3c?_0x1e3954+=(_0x2b3252&_0x27adb7|_0x2b3252&_0x3f50ca|_0x27adb7&_0x3f50ca)-0x70e44324:_0x1e3954+=(_0x2b3252^_0x27adb7^_0x3f50ca)-0x359d3e2a,_0x4f7b5d=_0x3f50ca,_0x3f50ca=_0x27adb7,_0x27adb7=_0x2b3252<<0x1e|_0x2b3252>>>0x2,_0x2b3252=_0x4bc5a8,_0x4bc5a8=_0x1e3954;}_0x5836b4[0x0]=_0x5836b4[0x0]+_0x4bc5a8|0x0,_0x5836b4[0x1]=_0x5836b4[0x1]+_0x2b3252|0x0,_0x5836b4[0x2]=_0x5836b4[0x2]+_0x27adb7|0x0,_0x5836b4[0x3]=_0x5836b4[0x3]+_0x3f50ca|0x0,_0x5836b4[0x4]=_0x5836b4[0x4]+_0x4f7b5d|0x0;},'_doFinalize':function(){var _0x4be146=_0x366a64,_0x290059=this[_0x4be146(0x27f)],_0x4311c3=_0x290059[_0x4be146(0x1e4)],_0x47ac42=this['_nDataBytes']*0x8,_0x18f86f=_0x290059[_0x4be146(0x3df)]*0x8;return _0x4311c3[_0x18f86f>>>0x5]|=0x80<<0x18-_0x18f86f%0x20,_0x4311c3[(_0x18f86f+0x40>>>0x9<<0x4)+0xe]=Math[_0x4be146(0x32d)](_0x47ac42/0x100000000),_0x4311c3[(_0x18f86f+0x40>>>0x9<<0x4)+0xf]=_0x47ac42,_0x290059[_0x4be146(0x3df)]=_0x4311c3[_0x4be146(0x255)]*0x4,this[_0x4be146(0x433)](),this[_0x4be146(0x211)];},'clone':function(){var _0x1bfc1b=_0x366a64,_0x50cf21=_0x477304[_0x1bfc1b(0x229)][_0x1bfc1b(0x331)](this);return _0x50cf21[_0x1bfc1b(0x211)]=this[_0x1bfc1b(0x211)][_0x1bfc1b(0x229)](),_0x50cf21;}});_0x3ffb61['SHA1']=_0x477304['_createHelper'](_0x557a40),_0x3ffb61[_0x366a64(0x1db)]=_0x477304['_createHmacHelper'](_0x557a40);}()),_0x2d5979[_0x33dcd8(0x37a)];}));}(qe)),qe['exports'];}var ze={'exports':{}},fn=ze['exports'],Zt;function vn(){return Zt||(Zt=0x1,function(_0x3e3f4e,_0x5ab7cb){(function(_0x1f261c,_0x2e7e7a){var _0x2f1a8c=_0x18c4;_0x3e3f4e[_0x2f1a8c(0x2bf)]=_0x2e7e7a(te());}(fn,function(_0x41d98e){(function(){var _0x9fe641=_0x18c4,_0x3808be=_0x41d98e,_0x4fd9ff=_0x3808be[_0x9fe641(0x3f4)],_0x377e70=_0x4fd9ff[_0x9fe641(0x3e6)],_0x2780a8=_0x3808be[_0x9fe641(0x1f6)],_0x29aee9=_0x2780a8[_0x9fe641(0x209)],_0x7fc485=_0x3808be['algo'];_0x7fc485[_0x9fe641(0x2f9)]=_0x377e70['extend']({'init':function(_0x2a1712,_0x1b4e31){var _0x5750af=_0x9fe641;_0x2a1712=this[_0x5750af(0x330)]=new _0x2a1712[(_0x5750af(0x3e0))](),typeof _0x1b4e31==_0x5750af(0x166)&&(_0x1b4e31=_0x29aee9[_0x5750af(0x22b)](_0x1b4e31));var _0x1f1154=_0x2a1712[_0x5750af(0x3c2)],_0x4f228e=_0x1f1154*0x4;_0x1b4e31[_0x5750af(0x3df)]>_0x4f228e&&(_0x1b4e31=_0x2a1712['finalize'](_0x1b4e31)),_0x1b4e31['clamp']();for(var _0xf7f7d1=this[_0x5750af(0x2c7)]=_0x1b4e31[_0x5750af(0x229)](),_0x1c68d6=this[_0x5750af(0x28d)]=_0x1b4e31['clone'](),_0x4e5c51=_0xf7f7d1[_0x5750af(0x1e4)],_0x40a210=_0x1c68d6[_0x5750af(0x1e4)],_0x3d7a1a=0x0;_0x3d7a1a<_0x1f1154;_0x3d7a1a++)_0x4e5c51[_0x3d7a1a]^=0x5c5c5c5c,_0x40a210[_0x3d7a1a]^=0x36363636;_0xf7f7d1[_0x5750af(0x3df)]=_0x1c68d6[_0x5750af(0x3df)]=_0x4f228e,this[_0x5750af(0x333)]();},'reset':function(){var _0x112faf=_0x9fe641,_0x153f77=this[_0x112faf(0x330)];_0x153f77['reset'](),_0x153f77[_0x112faf(0x207)](this[_0x112faf(0x28d)]);},'update':function(_0x3da62b){var _0x19b4ac=_0x9fe641;return this[_0x19b4ac(0x330)][_0x19b4ac(0x207)](_0x3da62b),this;},'finalize':function(_0x29a41f){var _0xd8f658=_0x9fe641,_0x2e58d4=this[_0xd8f658(0x330)],_0x456298=_0x2e58d4[_0xd8f658(0x3c0)](_0x29a41f);_0x2e58d4[_0xd8f658(0x333)]();var _0x166496=_0x2e58d4[_0xd8f658(0x3c0)](this[_0xd8f658(0x2c7)][_0xd8f658(0x229)]()['concat'](_0x456298));return _0x166496;}});}());}));}(ze)),ze['exports'];}function _0x461d(){var _0x2eb0af=['kdf','_transformService','byteOffset','setWaitCount','debug','emitEvent','collaMsg','_resendTimer','TOO_MANY_REQUESTS','symbol','createInstance','JOIN_ROOM_FULL','/new_changes','_config','charAt','_initUnitPermissionChange','message$','getTime','readAsDataURL','_nRounds','onStateChange','_collaborationPaused','ciphertext','rev','_fetchMissChangesets','open$','COMPRESS_MUTATION_SEND','_snapshotServerService','permissionRejEvent','splice','toggleOnline','getRandomValues','APPLY_REVISION_CONFILICT','_revisionService','actions','onStarting','_userManagerService','loadSheet','action','BASE64','salt','[FetchMissState]','isArray','FETCH_MISSING','objectID','repeat','getResourcesRequest','getSnapshotAPIPath','saveSheetBlock','range','UNIVER_UNKNOWN','Encryptor','_onRemoteRetry','default','reduce','_sendHeartbeatTimer','2122612agayNm','LIVESHARE_FETCH_OPERATIONS','_shouldReportTelemetry','&source=','Decryptor','UnitSnapshot','_tryReconnect','_sheetTransformSelectionsService','finalize','Cipher','blockSize','getOwnPropertyDescriptor','_clearRetryConnectingTimer','_key','size','location','capture','NoPadding','_onConnectionFailed','_transformIMECache','_createInitialState','has','responseType','CHANGESET_REJ','APPLY_PERMISSION_DENIED','userID','transformMutationsWithChangeset','LOGIN_FAILED','_retryConnectingTimer','synced','_applyRemoteChangeset','_scheduleCompleteTimestamp','encodeURIComponent','change$','COMPLETION_FINISHED','refreshPermission','close','getSheetBlock','univer-pro.collaboration-client-socket-service','sigBytes','init','CHANGESET_ACK','every','pluginName','set','OFFLINE','Base','_registerDependencies','key','post','shouldCloseConn','/universer-api/file/{fileID}/sign-url','CONFLICT','[CollaborationSession]','entityInit$','_onOffline','_onUserJoin','transformUndoRedo','[OfflineState]:\x20received\x20changeset.','enableOfflineEditing','lib','roles','_startCollaboration','sessionStatus','subject','_unitID','duration','transformChangesets','\x20in\x20_schedule.','subscribe','/resources','headers','href','onTransformRemoteChangesetByStateCache','waitForRoom$','requireSession','_replayCachedMutations','session.room-full','CHANGESET_REVISION_CONFILICT','_getUploadFileURL','loadOfflineData','updatePermissionObjEvent','UNIVER_PROJECT','UNDEFINED','updatePermissionPoint','_sendHeartbeat','collaboration-client.local-cache-service','_transformSelections','_ENC_XFORM_MODE','onTransformSelections','JOIN','/block/','override','sendChangesetTimeout','find','_updateStatus','ERROR_IMAGE_TYPE','INVITE_CODE_ALREADY_BOUND','_socketReady','_initDependencies','hasher','_logService','[PendingState]:\x20received\x20acknowledgement.','5Dodptt','socket\x20open.','UNKNOWN_CMD','unitInfo$','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','socket\x20close','_clearUndo','mutations','LICENSE_DISTRO_REJECTED','listRoles','[OfflineState]:\x20received\x20acknowledgement.','getUnitStatus$','UNRECOGNIZED','_onMessage','encryptBlock','_createInitialStateImpl','_clearHeartbeatTimer','OpenSSL','join','retryConnectingInterval','_process','BufferedBlockAlgorithm','Latin1','avatar','CBC','_change$','MOBILE_VERIFY_CODE_MISMATCH','fromCharCode','_parse','_getAPIPrefixPath','EvpKDF','_members','_init','_executeRemoteChangeset','concat','error$','_getSignURL','cmd','_candidateSocket','HttpExport','catch','substr','_state$','_injector','unitID','_waitForHeartbeatResponse','UNIVER_DOC','offline','_resendWithTimeout','LIVESHARE_TERMINATE','hasOwnProperty','padding','function','_awaitingChangeset','HELLO','_getRedoStack','YUUMI_ASYNCIO_CANCELLED','_commentUpdate$','_event$','YUUMI_SUBSCRIPTION_NOT_FOUND','_mode','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_submitChangeset','members','_onCombEvent','FileId','x-univer-host','asObservable','MUTATION','/-/object/-/batch_allowed','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','image/jpg','_localCacheService','reqId','_substituteUndoStack','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_commentService','_exhaustRemoteChangesetQueue','_keyPriorReset','_createHandler','APPLY_DUPLICATED','params','mode','getMember','_showConflictNotification','_disableEditing','objectType','string','telemetry\x20info\x20is\x20not\x20initialized','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','setCurrentUser','_transformStateCache','getRoom','Hasher','_iv','[CollaborationUndoRedoService]','_clearRedo','_type','signUrlServerUrl','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','LIVESHARE_NEW_HOST','allowed','compute','then','_invKeySchedule','error','snapshot','pad','[PendingState]:\x20received\x20rejection.','POST','_listenToNetworkCondition','[SyncedState]:\x20received\x20acknowledgement.','status','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','apply','_sessions','sid','deleteCollaborator','_handler','unit-cache-','failed\x20to\x20apply\x20missed\x20changesets!','Base64','LIVESHARE_REQUEST_HOST','[CollaborationSessionService]:\x20socket\x20error','UnitEmbedded','createSocket','OTHER_CLIENT_EDITING','BlockCipher','_collabSessionService','_networkConditionService','UNKNOWN_CODE','LICENSE_IMPORT_SIZE_EXCEEDED','encode','ENSURE_SNAPSHOT_EXECUTION','_createHmacHelper','now','DEFAULT_FILE_NAME','onTransformIME','INTERNAL_ERROR','map','file','getCurrentSelections','_timeoutTimer','decrypt','_unitInfo$','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','batchAllowed','body','_telemetryInfo','getUnitType','unpad','NOT_COLLAB','_waitCount','GLOBAL_ROOMS_CNT_EXCEEDS','revision','_roomCreated$','_getAPIPrefix','auth.needGotoLoginAlert','setShowComponents','getMemberID','_acknowledgedAwaitingChangeset','YUUMI_CONNECTOR_URL_NOT_FOUND','[OfflineState]:\x20received\x20rejection.','APPLY_NON_SEQUENTIAL_REVISION','People','_decreaseWaiting','save\x20fail\x20reason\x20is\x20','_transformRemoteChangesetByIMECache','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','onRemoteChangeset','[DataLoaderService]','&to=','_socket','/universer-api/oidc/authpage','YUUMI_UNABLE_LOAD_URL','src','randomBytes','next','_initCloseConn','_incrementRevisionNumber','equals','withCredentials','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','incrementRevOfUnit','UUID','INVITE_CODE_REQUIRED','_eventService','forEach','EMAIL_VERIFY_CODE_MISMATCH','_telemetryService','_getDownloadEndpointURL','getImage','awaiting_with_pending','pipe','PERSON','_append','closeSession','onMissingChangesets','list','session','YUUMI_NO_CUBOID_FOR_QUESTION','_onRemoteChangeset','[SyncedState]:\x20received\x20rejection.','_univerInstanceService','HmacSHA1','/rev/','_lockTransition','/-/object/list','addImageSourceCache','m2Prime','workbook','keySize','_replaceFileID','words','onTransformRemoteChangesetByIMECache','image/bmp','onSendChangeset','_reverseMap','getCurrentUser','result','not_collab','SNAPSHOT_HAS_BEEN_REMOVED','_redoStacks','UNIVER_COLLABORATION_CLIENT_PLUGIN','RETRY_CONNECTING_MAX_COUNT','defineProperty','clear','title','requestParams','c2Prime','getFocusedUnit','enc','_doFinalize','delete','_compressMutationService','uniscriptRunEvent','SUBMIT_CHANGESET_TIMEOUT','_keySchedule','put','_initMergeInterceptor','event$','charCodeAt','_collaborationUIEventService','Could\x20not\x20dynamically\x20require\x20\x22','session.room-cnt-exceeds','unitId','memberID','replace','update','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','Utf8','JOIN_ROOM_FAILED','_collaborationSessionService','_rescheduleHeartbeat','_permissionService','session.room-permission-denied','onRemoteRej','awaiting','_hash','send','fetch_missing','routeKey','liveShareOperation','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','sessionStatus$','eventID','updateMember','\x20to\x20','getImageSourceCache','Undefined','connection\x20error','resourceIDs','crypto','transformStack\x20failed!','collabWebSocketUrl','getInterceptPoints','SHOULD_CLOSE_CONN','authzUrl','MOBILE_HAS_BEEN_BOUND','INVALID_INVITE_CODE','_queuedRemoteChangesets','_scheduleCollaborationTimeoutTimer','clone','INGEST','parse','_unlockTransition','csAckEvent','_toggleOffline','uploadFileServerUrl','8748456rjMBlA','_snapshotService','onRemoteRetry','_socket$','_transformUndoredo','loadUnitOfRevision','from','conflict','UserProfileImg','HttpImport','dispose$','_syncEditingCollabCursor','ws://127.0.0.1:8000/universer-api/comb/connect','OPTIONAL','max','createEncryptor','_checkMissing','_sender','awaitingChangeset','_sessionStatus$','FETCH_MISS','_state','_commandService','getCollabEntity','stringify','updateOfflineData','__esModule','data','localCacheService','JOIN_ROOM_NOT_EXISTS','appendMutation','mixIn','ONLINE','_memberService','resend','patch','Pkcs7','length','getTypeOfUnitDisposed$','UNIVER_SHEET','_schedule','close$','/universer-api/authz','_startTelemetryCollaborationNewChangeset','_httpService','_onRecvEvent','PERMISSION_REJ','onCommentUpdate','WECHAT_HAS_BEEN_BOUND','/unit/','prototype','_doProcessBlock','collaboratorID','_retryCount','changesets','onRemoteAck','getUnitId','joinRsp','_HTTPService','loginUrlKey','objectActions','NO_OTHER_CLIENTS_EDITING','fetchThroughInterceptors','WordArray','PENDING','_getLoginPath','abs','_tryEnsureSocket','_onConnectionOpen','UNISCRIPT_RUN','reject','CHANGESET_SHOULD_RETRY','dispose','_onUserLeave','disposeWithMe','random','toggleOffline','YUUMI_AI_RUN_FAILED','PSEUDO_FETCH_MISSING_RESULT','_data','append','editingUnit','_socketMessageSubscription','_clearScheduledTask','loadUnit','session.room-not-exists','add','registerHTTPInterceptor','_clearLocalCache','FAIL','CLOSE_ROOM','LICENSE_EXPORT_SIZE_EXCEEDED','snapshotServerUrl','_iKey','onMissedChangesetFetched','LICENSE_MAX_UNITS_EXCEEDED','getLatestCsReqIdBySid','fromCollab','Univer','_getCurrentRevision','117fTVAoo','findIndex','_entities','collaborators','formatter','HmacMD5','encrypt','/collaborator','YUUMI_URL_COL_OUT_OF_RANGE','readInt32LE','push','ivSize','YUUMI_TABLE_NOT_FOUND_IN_UNIT','USER_NOT_INVITED_CODE','collaboration-client.config','?size=','_entityInit$','SUBMIT_CHANGESET','/allowed','create','infoRsp','LEAVE','AWAITING','_changesetSessionId','state','pending','enableAuthServer','_emitMembers','target','_sendingTimer','CONNECTOR_DATA_TOO_LARGE','_prevBlock','12CWkuhD','ceil','_joinRoom','onlyLocal','_onRemoteACK','hostname','_map','238214jwSNCa','startsWith','_isPermissionRej','UPDATE_PERMISSION_OBJ','exports','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_onConflict','msCrypto','/universer-api/uniscript','socketService','slice','UPDATE_CURSOR','_oKey','fetchMiss','url','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_resendTimeout','getCollabEntity$','YUUMI_ALL_TABLES_IS_INVALID','_getUndoStack','AES','_imageSourceCache','_getSendChangesetTimeout','INVALID_ARGUMENT','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getTypeOfUnitAdded$','selections','fetchMissingChangesets','type','min','$super','code','EMAIL_HAS_BEEN_BOUND','_transitionLocked','_minBufferSize','textRanges','interceptor','JOINING','SOCKET_FAILED','?url=','INVITE_CODE_HAS_BEEN_UES','MD5','toString','_clearTimeoutTimer','liveShareNewHost','_doCreateSocket','collaboration_new_changeset','submit\x20changeset\x20error!','name','unsubscribe','byteLength','ALREADY_EXISTS','21790263vUnsJA','USERS_ENTER','\x0aCurrent:\x20','_socketService','format','IDLE','_xformMode','confirm','includes','localeService','HMAC','/universer-api/stream/file/upload','\x20-\x20','getSheetId','cfg','_createHelper','YUUMI_RATE_OVER_LIMIT','iterations','_createSocket','getWorkbookSelections','get','originalMeta','unitId\x20is\x20not\x20found','initWorkbookPermissionChange','fetching\x20missing\x20changesets\x20from\x20','_clearCollaborationTimeoutTimer','NOT_FOUND','_nDataBytes','executeCommand','reverse','[CollaborationSessionService]','updateCursorEvent','LIVESHARE_OPERATION','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','sheets','COMPRESS_MUTATION_APPLY','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_undoStacks','newCsEvent','_doReset','createDecryptor','OTHER_CLIENTS_EDITING','reconnect','onCommandExecuted','session.join-failed','_substituteRedoStack','onTransformState','stopTime','method','getCurrentRevOfUnit','univer-pro.collaboration-client.network-condition.service','filter','baseRev','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_roomMembers','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Hex','_removeRoom','_initRequestHeader','_pendingMutations','CipherParams','_getCtorByUniverType','floor','_cipher','HEARTBEAT','_hasher','call','7yQgEWN','reset','NEW_CHANGESETS','SerializableCipher','entries','[UniverCollaborationClientPlugin]','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','loadDoc','873310GLlGJS','/object/','image/png','11asBRWb','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','readyForCollab','getConfig','putCollaborators','unknown','_transformRemoteChangesetByStateCache','_stopTelemetryCollaborationNewChangeset','onload','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','APPLY_REJECT','processBlock','SNAPSHOT_INVALID_SNAPSHOT','UNIVER_SLIDE','LOCAL_CACHE_INTERVAL','SOCKET_FAILED_RETRY','socket$','PERMISSION_DENIED','_throwTelemetryCollaborationNewChangeset','extend','887292BKMDFc','_collaborationTimeoutTimer','/universer-api/snapshot','ERROR_IMAGE','clamp','StreamCipher','&assign=','_updateState','__creator','_updateLocalCache','_localeService','c1Prime','onSyncEditingCollabCursor','joinEvent','\x0aAfter:\x20','_changesetReqId','values','disableLocalCache','onLocalMutation','algo','Malformed\x20UTF-8\x20data','JOIN_ROOM_PERMISSION_DENIED','removeMember','complete','state$','isPermissionRej','7919340ydCNJF','_remoteChangesetQueue','collabSubmitChangesetUrl','_onRemoteRejected','_status$','objects','/universer-api/user/session-ticket','_configService','setConfig','updateSnapshot','_transformStack','_doCryptBlock','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_singleActiveUnitService','_toggleOnline','SHA1','_handlerCallback','RECV','HEARTBEAT_TIMEOUT','transformSelections','UNAUTHENTICATED'];_0x461d=function(){return _0x2eb0af;};return _0x461d();}var pn=Ke['exports'],Qt;function Oi(){var _0x325443=_0x2e6e4f;return Qt||(Qt=0x1,function(_0x14d601,_0x471d9a){(function(_0x50f678,_0x1f6ac6,_0x3a495d){var _0x4fcbd2=_0x18c4;_0x14d601[_0x4fcbd2(0x2bf)]=_0x1f6ac6(te(),dn(),vn());}(pn,function(_0x4453a8){return(function(){var _0x98b7f5=_0x18c4,_0x663a73=_0x4453a8,_0x239567=_0x663a73['lib'],_0x2fb562=_0x239567['Base'],_0x3bfe83=_0x239567[_0x98b7f5(0x26f)],_0x406cec=_0x663a73[_0x98b7f5(0x364)],_0x1bf310=_0x406cec['MD5'],_0x3c30a8=_0x406cec[_0x98b7f5(0x43d)]=_0x2fb562[_0x98b7f5(0x350)]({'cfg':_0x2fb562['extend']({'keySize':0x80/0x20,'hasher':_0x1bf310,'iterations':0x1}),'init':function(_0x2afaad){var _0x36e95e=_0x98b7f5;this['cfg']=this[_0x36e95e(0x2fd)][_0x36e95e(0x350)](_0x2afaad);},'compute':function(_0xb94ea9,_0x198770){var _0x10b9f2=_0x98b7f5;for(var _0x1cd7c9,_0x2f8a60=this[_0x10b9f2(0x2fd)],_0x43b3e1=_0x2f8a60[_0x10b9f2(0x41c)][_0x10b9f2(0x2a7)](),_0x3a0b98=_0x3bfe83[_0x10b9f2(0x2a7)](),_0x1e1643=_0x3a0b98[_0x10b9f2(0x1e4)],_0x36702a=_0x2f8a60['keySize'],_0x1d40a7=_0x2f8a60[_0x10b9f2(0x300)];_0x1e1643['length']<_0x36702a;){_0x1cd7c9&&_0x43b3e1[_0x10b9f2(0x207)](_0x1cd7c9),_0x1cd7c9=_0x43b3e1[_0x10b9f2(0x207)](_0xb94ea9)['finalize'](_0x198770),_0x43b3e1[_0x10b9f2(0x333)]();for(var _0x3490fc=0x1;_0x3490fc<_0x1d40a7;_0x3490fc++)_0x1cd7c9=_0x43b3e1['finalize'](_0x1cd7c9),_0x43b3e1[_0x10b9f2(0x333)]();_0x3a0b98['concat'](_0x1cd7c9);}return _0x3a0b98[_0x10b9f2(0x3df)]=_0x36702a*0x4,_0x3a0b98;}});_0x663a73['EvpKDF']=function(_0x390b06,_0x591e7d,_0x46e9bb){var _0x241fc1=_0x98b7f5;return _0x3c30a8[_0x241fc1(0x2a7)](_0x46e9bb)[_0x241fc1(0x175)](_0x390b06,_0x591e7d);};}()),_0x4453a8['EvpKDF'];}));}(Ke)),Ke[_0x325443(0x2bf)];}var Je={'exports':{}},mn=Je[_0x2e6e4f(0x2bf)],ei;function bi(){return ei||(ei=0x1,function(_0xd67de7,_0x1e3d7d){(function(_0x55d21e,_0x1d4cae,_0xd0c375){var _0x4111d6=_0x18c4;_0xd67de7[_0x4111d6(0x2bf)]=_0x1d4cae(te(),Oi());}(mn,function(_0x2eccb9){var _0x67da2b=_0x18c4;_0x2eccb9[_0x67da2b(0x3f4)]['Cipher']||function(_0x4f3d53){var _0x57920=_0x67da2b,_0x2f37fa=_0x2eccb9,_0x428c5f=_0x2f37fa[_0x57920(0x3f4)],_0x28e529=_0x428c5f[_0x57920(0x3e6)],_0x58f416=_0x428c5f[_0x57920(0x26f)],_0x305f1e=_0x428c5f[_0x57920(0x434)],_0x57f2c3=_0x2f37fa[_0x57920(0x1f6)];_0x57f2c3['Utf8'];var _0x115c9b=_0x57f2c3[_0x57920(0x188)],_0x2da57c=_0x2f37fa[_0x57920(0x364)],_0x3061fc=_0x2da57c['EvpKDF'],_0x4b41ee=_0x428c5f[_0x57920(0x3c1)]=_0x305f1e['extend']({'cfg':_0x28e529[_0x57920(0x350)](),'createEncryptor':function(_0x32de05,_0xba4046){var _0x52dcf5=_0x57920;return this[_0x52dcf5(0x2a7)](this['_ENC_XFORM_MODE'],_0x32de05,_0xba4046);},'createDecryptor':function(_0x3022cc,_0x245cf9){return this['create'](this['_DEC_XFORM_MODE'],_0x3022cc,_0x245cf9);},'init':function(_0x506a11,_0x4dbcf2,_0x3db571){var _0x41b423=_0x57920;this[_0x41b423(0x2fd)]=this[_0x41b423(0x2fd)]['extend'](_0x3db571),this['_xformMode']=_0x506a11,this[_0x41b423(0x3c5)]=_0x4dbcf2,this[_0x41b423(0x333)]();},'reset':function(){var _0xd4a673=_0x57920;_0x305f1e[_0xd4a673(0x333)][_0xd4a673(0x331)](this),this[_0xd4a673(0x316)]();},'process':function(_0x2c1ca5){var _0x27407c=_0x57920;return this[_0x27407c(0x1d2)](_0x2c1ca5),this[_0x27407c(0x433)]();},'finalize':function(_0x1514b9){var _0x4756c2=_0x57920;_0x1514b9&&this[_0x4756c2(0x1d2)](_0x1514b9);var _0x13273f=this['_doFinalize']();return _0x13273f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x39ff38(_0x64ddf4){var _0x352d9c=_0x18c4;return typeof _0x64ddf4==_0x352d9c(0x166)?_0x2e4cf9:_0x1f9289;}return function(_0x3421c1){return{'encrypt':function(_0x250841,_0x1f7767,_0x2c59ab){return _0x39ff38(_0x1f7767)['encrypt'](_0x3421c1,_0x250841,_0x1f7767,_0x2c59ab);},'decrypt':function(_0x351a25,_0x158354,_0x3a6a27){var _0x4ad245=_0x18c4;return _0x39ff38(_0x158354)[_0x4ad245(0x19e)](_0x3421c1,_0x351a25,_0x158354,_0x3a6a27);}};};}())});_0x428c5f[_0x57920(0x356)]=_0x4b41ee[_0x57920(0x350)]({'_doFinalize':function(){var _0x533dc3=_0x57920,_0x1b600a=this[_0x533dc3(0x433)](!0x0);return _0x1b600a;},'blockSize':0x1});var _0x2d1efe=_0x2f37fa[_0x57920(0x161)]={},_0x3d2bb5=_0x428c5f['BlockCipherMode']=_0x28e529[_0x57920(0x350)]({'createEncryptor':function(_0x2b22a5,_0x4cfa72){var _0x8822ed=_0x57920;return this['Encryptor'][_0x8822ed(0x2a7)](_0x2b22a5,_0x4cfa72);},'createDecryptor':function(_0xc8e579,_0x18b255){var _0x174d52=_0x57920;return this[_0x174d52(0x3bc)][_0x174d52(0x2a7)](_0xc8e579,_0x18b255);},'init':function(_0x14cdb3,_0x264870){var _0x182082=_0x57920;this[_0x182082(0x32e)]=_0x14cdb3,this[_0x182082(0x16d)]=_0x264870;}}),_0x549a42=_0x2d1efe[_0x57920(0x437)]=(function(){var _0x34e6a4=_0x57920,_0x3d6255=_0x3d2bb5[_0x34e6a4(0x350)]();_0x3d6255[_0x34e6a4(0x3b3)]=_0x3d6255[_0x34e6a4(0x350)]({'processBlock':function(_0x421f10,_0x368fff){var _0x501551=_0x34e6a4,_0xc3b7ac=this['_cipher'],_0x11cfbd=_0xc3b7ac['blockSize'];_0x5c5207[_0x501551(0x331)](this,_0x421f10,_0x368fff,_0x11cfbd),_0xc3b7ac[_0x501551(0x42d)](_0x421f10,_0x368fff),this['_prevBlock']=_0x421f10[_0x501551(0x2c5)](_0x368fff,_0x368fff+_0x11cfbd);}}),_0x3d6255[_0x34e6a4(0x3bc)]=_0x3d6255[_0x34e6a4(0x350)]({'processBlock':function(_0x582ccb,_0x2d99bd){var _0x5dde3b=_0x34e6a4,_0x52bd13=this[_0x5dde3b(0x32e)],_0x527dc4=_0x52bd13[_0x5dde3b(0x3c2)],_0x650740=_0x582ccb[_0x5dde3b(0x2c5)](_0x2d99bd,_0x2d99bd+_0x527dc4);_0x52bd13['decryptBlock'](_0x582ccb,_0x2d99bd),_0x5c5207[_0x5dde3b(0x331)](this,_0x582ccb,_0x2d99bd,_0x527dc4),this['_prevBlock']=_0x650740;}});function _0x5c5207(_0x2a8b5e,_0xec6d46,_0x722c08){var _0x3a2345=_0x34e6a4,_0x36b003,_0x28711c=this[_0x3a2345(0x16d)];_0x28711c?(_0x36b003=_0x28711c,this[_0x3a2345(0x16d)]=_0x4f3d53):_0x36b003=this[_0x3a2345(0x2b3)];for(var _0x5ea89d=0x0;_0x5ea89d<_0x722c08;_0x5ea89d++)_0x2a8b5e[_0xec6d46+_0x5ea89d]^=_0x36b003[_0x5ea89d];}return _0x3d6255;}()),_0x3aafee=_0x2f37fa[_0x57920(0x17a)]={},_0x4b4237=_0x3aafee[_0x57920(0x254)]={'pad':function(_0x583b55,_0x9fdfe0){var _0x2f2d5b=_0x57920;for(var _0x5f39ed=_0x9fdfe0*0x4,_0x1ce74c=_0x5f39ed-_0x583b55['sigBytes']%_0x5f39ed,_0x58c559=_0x1ce74c<<0x18|_0x1ce74c<<0x10|_0x1ce74c<<0x8|_0x1ce74c,_0x58723f=[],_0x1edb3b=0x0;_0x1edb3b<_0x1ce74c;_0x1edb3b+=0x4)_0x58723f['push'](_0x58c559);var _0x440b66=_0x58f416['create'](_0x58723f,_0x1ce74c);_0x583b55[_0x2f2d5b(0x441)](_0x440b66);},'unpad':function(_0x1804c3){var _0x1ee48f=_0x57920,_0x2d199f=_0x1804c3[_0x1ee48f(0x1e4)][_0x1804c3['sigBytes']-0x1>>>0x2]&0xff;_0x1804c3[_0x1ee48f(0x3df)]-=_0x2d199f;}};_0x428c5f[_0x57920(0x18e)]=_0x4b41ee[_0x57920(0x350)]({'cfg':_0x4b41ee[_0x57920(0x2fd)][_0x57920(0x350)]({'mode':_0x549a42,'padding':_0x4b4237}),'reset':function(){var _0x8d027a=_0x57920,_0x3e8f3e;_0x4b41ee[_0x8d027a(0x333)]['call'](this);var _0x4efbc3=this['cfg'],_0x59d15f=_0x4efbc3['iv'],_0x2e54f6=_0x4efbc3[_0x8d027a(0x161)];this[_0x8d027a(0x2f5)]==this[_0x8d027a(0x410)]?_0x3e8f3e=_0x2e54f6['createEncryptor']:(_0x3e8f3e=_0x2e54f6[_0x8d027a(0x317)],this[_0x8d027a(0x2dd)]=0x1),this[_0x8d027a(0x45b)]&&this[_0x8d027a(0x45b)][_0x8d027a(0x359)]==_0x3e8f3e?this['_mode'][_0x8d027a(0x3e0)](this,_0x59d15f&&_0x59d15f['words']):(this[_0x8d027a(0x45b)]=_0x3e8f3e[_0x8d027a(0x331)](_0x2e54f6,this,_0x59d15f&&_0x59d15f['words']),this[_0x8d027a(0x45b)]['__creator']=_0x3e8f3e);},'_doProcessBlock':function(_0x4e4635,_0x4cbb08){var _0x5df85a=_0x57920;this[_0x5df85a(0x45b)][_0x5df85a(0x348)](_0x4e4635,_0x4cbb08);},'_doFinalize':function(){var _0x23889f=_0x57920,_0x307b98,_0x1208ec=this[_0x23889f(0x2fd)][_0x23889f(0x452)];return this['_xformMode']==this[_0x23889f(0x410)]?(_0x1208ec['pad'](this[_0x23889f(0x27f)],this[_0x23889f(0x3c2)]),_0x307b98=this[_0x23889f(0x433)](!0x0)):(_0x307b98=this[_0x23889f(0x433)](!0x0),_0x1208ec[_0x23889f(0x1a5)](_0x307b98)),_0x307b98;},'blockSize':0x80/0x20});var _0x2e4ad5=_0x428c5f[_0x57920(0x32b)]=_0x28e529['extend']({'init':function(_0x2038a3){var _0x42c01c=_0x57920;this[_0x42c01c(0x24f)](_0x2038a3);},'toString':function(_0x5423e2){var _0x571ce4=_0x57920;return(_0x5423e2||this[_0x571ce4(0x298)])[_0x571ce4(0x248)](this);}}),_0x1d19ad=_0x2f37fa[_0x57920(0x2f3)]={},_0x8b59fe=_0x1d19ad[_0x57920(0x430)]={'stringify':function(_0xee9018){var _0x1282a5=_0x57920,_0xb80b41,_0x1cba5b=_0xee9018[_0x1282a5(0x396)],_0x4ca629=_0xee9018[_0x1282a5(0x3a8)];return _0x4ca629?_0xb80b41=_0x58f416['create']([0x53616c74,0x65645f5f])[_0x1282a5(0x441)](_0x4ca629)[_0x1282a5(0x441)](_0x1cba5b):_0xb80b41=_0x1cba5b,_0xb80b41[_0x1282a5(0x2e5)](_0x115c9b);},'parse':function(_0x7aa40){var _0x2afa0f=_0x57920,_0x2aa910,_0x99de69=_0x115c9b['parse'](_0x7aa40),_0x1676ae=_0x99de69[_0x2afa0f(0x1e4)];return _0x1676ae[0x0]==0x53616c74&&_0x1676ae[0x1]==0x65645f5f&&(_0x2aa910=_0x58f416[_0x2afa0f(0x2a7)](_0x1676ae[_0x2afa0f(0x2c5)](0x2,0x4)),_0x1676ae['splice'](0x0,0x4),_0x99de69['sigBytes']-=0x10),_0x2e4ad5[_0x2afa0f(0x2a7)]({'ciphertext':_0x99de69,'salt':_0x2aa910});}},_0x1f9289=_0x428c5f[_0x57920(0x335)]=_0x28e529[_0x57920(0x350)]({'cfg':_0x28e529[_0x57920(0x350)]({'format':_0x8b59fe}),'encrypt':function(_0x2a839f,_0x247026,_0x2b6d23,_0x471d5f){var _0x56b7b2=_0x57920;_0x471d5f=this['cfg'][_0x56b7b2(0x350)](_0x471d5f);var _0x4b8dbe=_0x2a839f[_0x56b7b2(0x23f)](_0x2b6d23,_0x471d5f),_0x127ca0=_0x4b8dbe[_0x56b7b2(0x3c0)](_0x247026),_0x994295=_0x4b8dbe[_0x56b7b2(0x2fd)];return _0x2e4ad5['create']({'ciphertext':_0x127ca0,'key':_0x2b6d23,'iv':_0x994295['iv'],'algorithm':_0x2a839f,'mode':_0x994295[_0x56b7b2(0x161)],'padding':_0x994295[_0x56b7b2(0x452)],'blockSize':_0x2a839f[_0x56b7b2(0x3c2)],'formatter':_0x471d5f[_0x56b7b2(0x2f3)]});},'decrypt':function(_0x2f886a,_0x1b6cbd,_0x58773d,_0x5266d5){var _0x4ecd46=_0x57920;_0x5266d5=this['cfg'][_0x4ecd46(0x350)](_0x5266d5),_0x1b6cbd=this['_parse'](_0x1b6cbd,_0x5266d5[_0x4ecd46(0x2f3)]);var _0x575759=_0x2f886a[_0x4ecd46(0x317)](_0x58773d,_0x5266d5)['finalize'](_0x1b6cbd[_0x4ecd46(0x396)]);return _0x575759;},'_parse':function(_0x38363a,_0x5b2616){var _0x2a6c7c=_0x57920;return typeof _0x38363a==_0x2a6c7c(0x166)?_0x5b2616[_0x2a6c7c(0x22b)](_0x38363a,this):_0x38363a;}}),_0x187289=_0x2f37fa[_0x57920(0x380)]={},_0x210006=_0x187289[_0x57920(0x430)]={'execute':function(_0x21ae14,_0x287452,_0x11e880,_0x2bd4f5,_0x29f6f2){var _0x56f8fa=_0x57920;if(_0x2bd4f5||(_0x2bd4f5=_0x58f416[_0x56f8fa(0x27b)](0x40/0x8)),_0x29f6f2)var _0x51d984=_0x3061fc[_0x56f8fa(0x2a7)]({'keySize':_0x287452+_0x11e880,'hasher':_0x29f6f2})[_0x56f8fa(0x175)](_0x21ae14,_0x2bd4f5);else var _0x51d984=_0x3061fc[_0x56f8fa(0x2a7)]({'keySize':_0x287452+_0x11e880})['compute'](_0x21ae14,_0x2bd4f5);var _0x15a273=_0x58f416[_0x56f8fa(0x2a7)](_0x51d984[_0x56f8fa(0x1e4)]['slice'](_0x287452),_0x11e880*0x4);return _0x51d984['sigBytes']=_0x287452*0x4,_0x2e4ad5[_0x56f8fa(0x2a7)]({'key':_0x51d984,'iv':_0x15a273,'salt':_0x2bd4f5});}},_0x2e4cf9=_0x428c5f['PasswordBasedCipher']=_0x1f9289['extend']({'cfg':_0x1f9289[_0x57920(0x2fd)][_0x57920(0x350)]({'kdf':_0x210006}),'encrypt':function(_0x43993d,_0x23ed9a,_0x34adaa,_0x4569f0){var _0xf03744=_0x57920;_0x4569f0=this['cfg'][_0xf03744(0x350)](_0x4569f0);var _0x5a187a=_0x4569f0[_0xf03744(0x380)]['execute'](_0x34adaa,_0x43993d[_0xf03744(0x1e2)],_0x43993d[_0xf03744(0x29f)],_0x4569f0[_0xf03744(0x3a8)],_0x4569f0[_0xf03744(0x41c)]);_0x4569f0['iv']=_0x5a187a['iv'];var _0x4fe7db=_0x1f9289[_0xf03744(0x29a)][_0xf03744(0x331)](this,_0x43993d,_0x23ed9a,_0x5a187a['key'],_0x4569f0);return _0x4fe7db[_0xf03744(0x24f)](_0x5a187a),_0x4fe7db;},'decrypt':function(_0x367c47,_0x79a0e8,_0x51736c,_0x1d1b72){var _0x6090a8=_0x57920;_0x1d1b72=this['cfg'][_0x6090a8(0x350)](_0x1d1b72),_0x79a0e8=this[_0x6090a8(0x43b)](_0x79a0e8,_0x1d1b72[_0x6090a8(0x2f3)]);var _0x2128a2=_0x1d1b72[_0x6090a8(0x380)]['execute'](_0x51736c,_0x367c47['keySize'],_0x367c47[_0x6090a8(0x29f)],_0x79a0e8['salt'],_0x1d1b72[_0x6090a8(0x41c)]);_0x1d1b72['iv']=_0x2128a2['iv'];var _0x48e4d9=_0x1f9289[_0x6090a8(0x19e)][_0x6090a8(0x331)](this,_0x367c47,_0x79a0e8,_0x2128a2[_0x6090a8(0x3e8)],_0x1d1b72);return _0x48e4d9;}});}();}));}(Je)),Je['exports'];}var gn=Ve[_0x2e6e4f(0x2bf)],ti;function Sn(){var _0xbbdf3f=_0x2e6e4f;return ti||(ti=0x1,function(_0x4b9695,_0x57d0be){(function(_0x29940e,_0x2c72d8,_0x418ce4){var _0x35c7d0=_0x18c4;_0x4b9695[_0x35c7d0(0x2bf)]=_0x2c72d8(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x2afb65){return(function(){var _0x5e3342=_0x18c4,_0x40f19c=_0x2afb65,_0x1c1bb6=_0x40f19c[_0x5e3342(0x3f4)],_0x1b80f8=_0x1c1bb6[_0x5e3342(0x18e)],_0x4ba81e=_0x40f19c[_0x5e3342(0x364)],_0x52c6de=[],_0xc95a4=[],_0x21b89f=[],_0x4ea177=[],_0x215ba5=[],_0x51c62d=[],_0x35ed3c=[],_0x103c70=[],_0x338b2c=[],_0x4c4aa6=[];(function(){for(var _0x26b312=[],_0x4fd9f6=0x0;_0x4fd9f6<0x100;_0x4fd9f6++)_0x4fd9f6<0x80?_0x26b312[_0x4fd9f6]=_0x4fd9f6<<0x1:_0x26b312[_0x4fd9f6]=_0x4fd9f6<<0x1^0x11b;for(var _0x58b22f=0x0,_0x408662=0x0,_0x4fd9f6=0x0;_0x4fd9f6<0x100;_0x4fd9f6++){var _0x1edb0b=_0x408662^_0x408662<<0x1^_0x408662<<0x2^_0x408662<<0x3^_0x408662<<0x4;_0x1edb0b=_0x1edb0b>>>0x8^_0x1edb0b&0xff^0x63,_0x52c6de[_0x58b22f]=_0x1edb0b,_0xc95a4[_0x1edb0b]=_0x58b22f;var _0x14dde8=_0x26b312[_0x58b22f],_0x32b4f9=_0x26b312[_0x14dde8],_0x5012ce=_0x26b312[_0x32b4f9],_0x31d7fd=_0x26b312[_0x1edb0b]*0x101^_0x1edb0b*0x1010100;_0x21b89f[_0x58b22f]=_0x31d7fd<<0x18|_0x31d7fd>>>0x8,_0x4ea177[_0x58b22f]=_0x31d7fd<<0x10|_0x31d7fd>>>0x10,_0x215ba5[_0x58b22f]=_0x31d7fd<<0x8|_0x31d7fd>>>0x18,_0x51c62d[_0x58b22f]=_0x31d7fd;var _0x31d7fd=_0x5012ce*0x1010101^_0x32b4f9*0x10001^_0x14dde8*0x101^_0x58b22f*0x1010100;_0x35ed3c[_0x1edb0b]=_0x31d7fd<<0x18|_0x31d7fd>>>0x8,_0x103c70[_0x1edb0b]=_0x31d7fd<<0x10|_0x31d7fd>>>0x10,_0x338b2c[_0x1edb0b]=_0x31d7fd<<0x8|_0x31d7fd>>>0x18,_0x4c4aa6[_0x1edb0b]=_0x31d7fd,_0x58b22f?(_0x58b22f=_0x14dde8^_0x26b312[_0x26b312[_0x26b312[_0x5012ce^_0x14dde8]]],_0x408662^=_0x26b312[_0x26b312[_0x408662]]):_0x58b22f=_0x408662=0x1;}}());var _0x249197=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x51f7ba=_0x4ba81e[_0x5e3342(0x2cf)]=_0x1b80f8[_0x5e3342(0x350)]({'_doReset':function(){var _0x5330c6=_0x5e3342,_0x2fd2be;if(!(this[_0x5330c6(0x393)]&&this[_0x5330c6(0x46d)]===this[_0x5330c6(0x3c5)])){for(var _0x19c7cc=this[_0x5330c6(0x46d)]=this['_key'],_0x21bfa7=_0x19c7cc[_0x5330c6(0x1e4)],_0x4ffcbb=_0x19c7cc[_0x5330c6(0x3df)]/0x4,_0xb393e6=this[_0x5330c6(0x393)]=_0x4ffcbb+0x6,_0x1da5e4=(_0xb393e6+0x1)*0x4,_0x3e92ac=this[_0x5330c6(0x1fc)]=[],_0x24f42d=0x0;_0x24f42d<_0x1da5e4;_0x24f42d++)_0x24f42d<_0x4ffcbb?_0x3e92ac[_0x24f42d]=_0x21bfa7[_0x24f42d]:(_0x2fd2be=_0x3e92ac[_0x24f42d-0x1],_0x24f42d%_0x4ffcbb?_0x4ffcbb>0x6&&_0x24f42d%_0x4ffcbb==0x4&&(_0x2fd2be=_0x52c6de[_0x2fd2be>>>0x18]<<0x18|_0x52c6de[_0x2fd2be>>>0x10&0xff]<<0x10|_0x52c6de[_0x2fd2be>>>0x8&0xff]<<0x8|_0x52c6de[_0x2fd2be&0xff]):(_0x2fd2be=_0x2fd2be<<0x8|_0x2fd2be>>>0x18,_0x2fd2be=_0x52c6de[_0x2fd2be>>>0x18]<<0x18|_0x52c6de[_0x2fd2be>>>0x10&0xff]<<0x10|_0x52c6de[_0x2fd2be>>>0x8&0xff]<<0x8|_0x52c6de[_0x2fd2be&0xff],_0x2fd2be^=_0x249197[_0x24f42d/_0x4ffcbb|0x0]<<0x18),_0x3e92ac[_0x24f42d]=_0x3e92ac[_0x24f42d-_0x4ffcbb]^_0x2fd2be);for(var _0x3e136a=this[_0x5330c6(0x177)]=[],_0x19cab2=0x0;_0x19cab2<_0x1da5e4;_0x19cab2++){var _0x24f42d=_0x1da5e4-_0x19cab2;if(_0x19cab2%0x4)var _0x2fd2be=_0x3e92ac[_0x24f42d];else var _0x2fd2be=_0x3e92ac[_0x24f42d-0x4];_0x19cab2<0x4||_0x24f42d<=0x4?_0x3e136a[_0x19cab2]=_0x2fd2be:_0x3e136a[_0x19cab2]=_0x35ed3c[_0x52c6de[_0x2fd2be>>>0x18]]^_0x103c70[_0x52c6de[_0x2fd2be>>>0x10&0xff]]^_0x338b2c[_0x52c6de[_0x2fd2be>>>0x8&0xff]]^_0x4c4aa6[_0x52c6de[_0x2fd2be&0xff]];}}},'encryptBlock':function(_0x159526,_0x2cc051){var _0x37222e=_0x5e3342;this[_0x37222e(0x376)](_0x159526,_0x2cc051,this[_0x37222e(0x1fc)],_0x21b89f,_0x4ea177,_0x215ba5,_0x51c62d,_0x52c6de);},'decryptBlock':function(_0x1ddc97,_0x5e160a){var _0x402935=_0x5e3342,_0x26232d=_0x1ddc97[_0x5e160a+0x1];_0x1ddc97[_0x5e160a+0x1]=_0x1ddc97[_0x5e160a+0x3],_0x1ddc97[_0x5e160a+0x3]=_0x26232d,this[_0x402935(0x376)](_0x1ddc97,_0x5e160a,this[_0x402935(0x177)],_0x35ed3c,_0x103c70,_0x338b2c,_0x4c4aa6,_0xc95a4);var _0x26232d=_0x1ddc97[_0x5e160a+0x1];_0x1ddc97[_0x5e160a+0x1]=_0x1ddc97[_0x5e160a+0x3],_0x1ddc97[_0x5e160a+0x3]=_0x26232d;},'_doCryptBlock':function(_0x4d261d,_0xc55e3e,_0x403da4,_0x1d9f9a,_0x251aab,_0x39d713,_0x28391f,_0x214074){var _0x10c8ed=_0x5e3342;for(var _0x356132=this[_0x10c8ed(0x393)],_0x315def=_0x4d261d[_0xc55e3e]^_0x403da4[0x0],_0x373482=_0x4d261d[_0xc55e3e+0x1]^_0x403da4[0x1],_0x103998=_0x4d261d[_0xc55e3e+0x2]^_0x403da4[0x2],_0x5b3eb4=_0x4d261d[_0xc55e3e+0x3]^_0x403da4[0x3],_0xbf754a=0x4,_0x50ce64=0x1;_0x50ce64<_0x356132;_0x50ce64++){var _0xcb0de4=_0x1d9f9a[_0x315def>>>0x18]^_0x251aab[_0x373482>>>0x10&0xff]^_0x39d713[_0x103998>>>0x8&0xff]^_0x28391f[_0x5b3eb4&0xff]^_0x403da4[_0xbf754a++],_0x2c2394=_0x1d9f9a[_0x373482>>>0x18]^_0x251aab[_0x103998>>>0x10&0xff]^_0x39d713[_0x5b3eb4>>>0x8&0xff]^_0x28391f[_0x315def&0xff]^_0x403da4[_0xbf754a++],_0x47d0fa=_0x1d9f9a[_0x103998>>>0x18]^_0x251aab[_0x5b3eb4>>>0x10&0xff]^_0x39d713[_0x315def>>>0x8&0xff]^_0x28391f[_0x373482&0xff]^_0x403da4[_0xbf754a++],_0x3f865e=_0x1d9f9a[_0x5b3eb4>>>0x18]^_0x251aab[_0x315def>>>0x10&0xff]^_0x39d713[_0x373482>>>0x8&0xff]^_0x28391f[_0x103998&0xff]^_0x403da4[_0xbf754a++];_0x315def=_0xcb0de4,_0x373482=_0x2c2394,_0x103998=_0x47d0fa,_0x5b3eb4=_0x3f865e;}var _0xcb0de4=(_0x214074[_0x315def>>>0x18]<<0x18|_0x214074[_0x373482>>>0x10&0xff]<<0x10|_0x214074[_0x103998>>>0x8&0xff]<<0x8|_0x214074[_0x5b3eb4&0xff])^_0x403da4[_0xbf754a++],_0x2c2394=(_0x214074[_0x373482>>>0x18]<<0x18|_0x214074[_0x103998>>>0x10&0xff]<<0x10|_0x214074[_0x5b3eb4>>>0x8&0xff]<<0x8|_0x214074[_0x315def&0xff])^_0x403da4[_0xbf754a++],_0x47d0fa=(_0x214074[_0x103998>>>0x18]<<0x18|_0x214074[_0x5b3eb4>>>0x10&0xff]<<0x10|_0x214074[_0x315def>>>0x8&0xff]<<0x8|_0x214074[_0x373482&0xff])^_0x403da4[_0xbf754a++],_0x3f865e=(_0x214074[_0x5b3eb4>>>0x18]<<0x18|_0x214074[_0x315def>>>0x10&0xff]<<0x10|_0x214074[_0x373482>>>0x8&0xff]<<0x8|_0x214074[_0x103998&0xff])^_0x403da4[_0xbf754a++];_0x4d261d[_0xc55e3e]=_0xcb0de4,_0x4d261d[_0xc55e3e+0x1]=_0x2c2394,_0x4d261d[_0xc55e3e+0x2]=_0x47d0fa,_0x4d261d[_0xc55e3e+0x3]=_0x3f865e;},'keySize':0x100/0x20});_0x40f19c[_0x5e3342(0x2cf)]=_0x1b80f8[_0x5e3342(0x2fe)](_0x51f7ba);}()),_0x2afb65['AES'];}));}(Ve)),Ve[_0xbbdf3f(0x2bf)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x2e6e4f(0x2bf)],si;function Rn(){var _0x25e0a3=_0x2e6e4f;return si||(si=0x1,function(_0x10767d,_0x3aeda4){(function(_0x30a96c,_0x1c99ff){var _0x2eb63f=_0x18c4;_0x10767d[_0x2eb63f(0x2bf)]=_0x1c99ff(te());}(Cn,function(_0x30452b){var _0x30e5c9=_0x18c4;return _0x30452b['enc'][_0x30e5c9(0x209)];}));}(Xe)),Xe[_0x25e0a3(0x2bf)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0x2e6e4f(0x2bf)],ni;function Nn(){var _0x1f3db4=_0x2e6e4f;return ni||(ni=0x1,function(_0x342acc,_0x147838){(function(_0x437019,_0x45b1bf){var _0x51dd71=_0x18c4;_0x342acc[_0x51dd71(0x2bf)]=_0x45b1bf(te());}(yn,function(_0x2434cd){var _0x73a140=_0x18c4;return(function(){var _0x49f033=_0x18c4;if(typeof ArrayBuffer=='function'){var _0x1b65ee=_0x2434cd,_0x5751d7=_0x1b65ee[_0x49f033(0x3f4)],_0x50e461=_0x5751d7[_0x49f033(0x26f)],_0x2902ea=_0x50e461['init'],_0x43689d=_0x50e461[_0x49f033(0x3e0)]=function(_0x2d3b53){var _0x32f229=_0x49f033;if(_0x2d3b53 instanceof ArrayBuffer&&(_0x2d3b53=new Uint8Array(_0x2d3b53)),(_0x2d3b53 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2d3b53 instanceof Uint8ClampedArray||_0x2d3b53 instanceof Int16Array||_0x2d3b53 instanceof Uint16Array||_0x2d3b53 instanceof Int32Array||_0x2d3b53 instanceof Uint32Array||_0x2d3b53 instanceof Float32Array||_0x2d3b53 instanceof Float64Array)&&(_0x2d3b53=new Uint8Array(_0x2d3b53['buffer'],_0x2d3b53[_0x32f229(0x382)],_0x2d3b53[_0x32f229(0x2ed)])),_0x2d3b53 instanceof Uint8Array){for(var _0x4fb856=_0x2d3b53[_0x32f229(0x2ed)],_0x131d38=[],_0x4edaff=0x0;_0x4edaff<_0x4fb856;_0x4edaff++)_0x131d38[_0x4edaff>>>0x2]|=_0x2d3b53[_0x4edaff]<<0x18-_0x4edaff%0x4*0x8;_0x2902ea['call'](this,_0x131d38,_0x4fb856);}else _0x2902ea[_0x32f229(0x181)](this,arguments);};_0x43689d[_0x49f033(0x262)]=_0x50e461;}}()),_0x2434cd[_0x73a140(0x3f4)][_0x73a140(0x26f)];}));}(Ze)),Ze[_0x1f3db4(0x2bf)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0x2e6e4f(0x2bf)],ri;function wn(){return ri||(ri=0x1,function(_0x345d44,_0x1a376d){(function(_0x3f82e1,_0x1b1017,_0x4d05ee){var _0x1f7a72=_0x18c4;_0x345d44[_0x1f7a72(0x2bf)]=_0x1b1017(te(),bi());}(An,function(_0x2c60f9){var _0x2adcbe=_0x18c4;return _0x2c60f9[_0x2adcbe(0x17a)][_0x2adcbe(0x3c9)]={'pad':function(){},'unpad':function(){}},_0x2c60f9[_0x2adcbe(0x17a)][_0x2adcbe(0x3c9)];}));}(Qe)),Qe['exports'];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x22e214,_0x5807fd){var _0x26fe81=_0x2e6e4f;const _0x10ae48=_0x5807fd-_0x22e214[_0x26fe81(0x255)]%_0x5807fd,_0x755090=String[_0x26fe81(0x43a)](_0x10ae48)[_0x26fe81(0x3ad)](_0x10ae48);return _0x22e214+_0x755090;}function xn(_0x26275d,_0x4ed019){var _0x7592ed=_0x2e6e4f;const _0x97398d=Un[_0x7592ed(0x27b)](0x10),_0x3b2ab2=Ln(_0x26275d,0x10),_0x2860c3=In[_0x7592ed(0x29a)](bn[_0x7592ed(0x22b)](_0x3b2ab2),ii[_0x7592ed(0x22b)](_0x4ed019),{'iv':_0x97398d,'padding':Mn});return _0x97398d[_0x7592ed(0x441)](_0x2860c3[_0x7592ed(0x396)])[_0x7592ed(0x2e5)](ii);}function kn(){var _0x2c82fe=_0x2e6e4f;const _0x439b1e=_0x470402()['__Key__'];if(_0x439b1e){const _0x3aedb7={'time':Math[_0x2c82fe(0x32d)](Date[_0x2c82fe(0x196)]()/0x3e8),'domain':location[_0x2c82fe(0x2b9)]};return xn(JSON[_0x2c82fe(0x248)](_0x3aedb7),_0x439b1e);}}var $n=Object[_0x2e6e4f(0x3c3)],Hn=(_0x5079a1,_0x292ba8,_0x15251b,_0x2a17a5)=>{var _0x99ab79=_0x2e6e4f;for(var _0x46bea3=_0x2a17a5>0x1?void 0x0:_0x2a17a5?$n(_0x292ba8,_0x15251b):_0x292ba8,_0x104ab5=_0x5079a1[_0x99ab79(0x255)]-0x1,_0x525936;_0x104ab5>=0x0;_0x104ab5--)(_0x525936=_0x5079a1[_0x104ab5])&&(_0x46bea3=_0x525936(_0x46bea3)||_0x46bea3);return _0x46bea3;},Bn=(_0x339be7,_0x377f82)=>(_0x23cf6e,_0x4ebf01)=>_0x377f82(_0x23cf6e,_0x4ebf01,_0x339be7);let at=class{constructor(_0x3d8a43){var _0x292f36=_0x2e6e4f;this[_0x292f36(0x25c)]=_0x3d8a43,this[_0x292f36(0x329)]();}[_0x2e6e4f(0x329)](){var _0x5a181f=_0x2e6e4f;this[_0x5a181f(0x25c)][_0x5a181f(0x287)]({'interceptor':(_0x30f740,_0x2000f6)=>{var _0x37afc3=_0x5a181f;const _0x54890a=_0x30f740[_0x37afc3(0x3ff)],_0x1ceb48=kn();return _0x1ceb48&&_0x54890a[_0x37afc3(0x3e4)](_0x37afc3(0x461),_0x1ceb48),_0x2000f6(_0x30f740);}});}};at=Hn([Bn(0x0,_0x499332(_0x4ef6ae))],at);var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x52628e,_0xd32bcc,_0x52a18c,_0x85e760)=>{var _0x545f26=_0x2e6e4f;for(var _0x34bfe6=_0x85e760>0x1?void 0x0:_0x85e760?jn(_0xd32bcc,_0x52a18c):_0xd32bcc,_0x1647c4=_0x52628e[_0x545f26(0x255)]-0x1,_0x53e432;_0x1647c4>=0x0;_0x1647c4--)(_0x53e432=_0x52628e[_0x1647c4])&&(_0x34bfe6=_0x53e432(_0x34bfe6)||_0x34bfe6);return _0x34bfe6;},vt=(_0x36ddbf,_0x311a07)=>(_0x41b56c,_0x22429b)=>_0x311a07(_0x41b56c,_0x22429b,_0x36ddbf);let Ct=class extends _0x5a8474{constructor(_0x247f2a,_0x28283d,_0x10b0c6){var _0x3bcb99=_0x2e6e4f;super(),N(this,_0x3bcb99(0x19f),new _0x4a6e6f(null)),N(this,_0x3bcb99(0x422),this[_0x3bcb99(0x19f)][_0x3bcb99(0x462)]()),(this[_0x3bcb99(0x41d)]=_0x247f2a,this[_0x3bcb99(0x231)]=_0x28283d,this[_0x3bcb99(0x467)]=_0x10b0c6);}async[_0x2e6e4f(0x235)](_0x1ef179,_0x2a5544,_0x2c3b21){var _0x460897=_0x2e6e4f;this['_unitInfo$'][_0x460897(0x1c0)]({'unitId':_0x1ef179,'type':_0x2a5544});let _0x2d8550=null;switch(_0x2a5544){case Z[_0x460897(0x257)]:{_0x2d8550=await this['_snapshotService'][_0x460897(0x3a5)](_0x1ef179,_0x2c3b21);break;}case Z[_0x460897(0x44d)]:{_0x2d8550=await this[_0x460897(0x231)][_0x460897(0x339)](_0x1ef179,_0x2c3b21);break;}default:{this[_0x460897(0x41d)][_0x460897(0x178)](_0x460897(0x1b9),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x2d8550;}async[_0x2e6e4f(0x284)](_0x33921d,_0x4df6f3,_0x21c0ab){var _0x36b2f9=_0x2e6e4f,_0x3b523f;this[_0x36b2f9(0x19f)][_0x36b2f9(0x1c0)]({'unitId':_0x33921d,'type':_0x4df6f3,'subUnitId':_0x21c0ab});let _0x1d9925=0x0;const _0x412163=await((_0x3b523f=this[_0x36b2f9(0x467)])==null?void 0x0:_0x3b523f[_0x36b2f9(0x408)](_0x33921d));return _0x412163&&(_0x412163[_0x36b2f9(0x242)]||_0x412163[_0x36b2f9(0x426)][_0x36b2f9(0x255)]!==0x0)&&(_0x1d9925=_0x412163[_0x36b2f9(0x397)]),_0x1d9925===0x0&&this[_0x36b2f9(0x41d)][_0x36b2f9(0x384)](_0x36b2f9(0x1b9),_0x36b2f9(0x2d3)),this[_0x36b2f9(0x235)](_0x33921d,_0x4df6f3,_0x1d9925);}};Ct=Fn([vt(0x0,_0xaae47a),vt(0x1,_0x499332(_0x28eb5a)),vt(0x2,_0x38fa19(J))],Ct);var Vn=Object[_0x2e6e4f(0x3c3)],Wn=(_0x31c9e1,_0x3cc479,_0x486543,_0x1e7733)=>{var _0x16da0e=_0x2e6e4f;for(var _0x23778a=_0x1e7733>0x1?void 0x0:_0x1e7733?Vn(_0x3cc479,_0x486543):_0x3cc479,_0xdba1fa=_0x31c9e1[_0x16da0e(0x255)]-0x1,_0x4b34b5;_0xdba1fa>=0x0;_0xdba1fa--)(_0x4b34b5=_0x31c9e1[_0xdba1fa])&&(_0x23778a=_0x4b34b5(_0x23778a)||_0x23778a);return _0x23778a;},pt=(_0x26e25d,_0x2e88e6)=>(_0x1470da,_0x4a6c17)=>_0x2e88e6(_0x1470da,_0x4a6c17,_0x26e25d);const Gn=[_0x2e6e4f(0x33c),'image/jpeg',_0x2e6e4f(0x466),'image/gif',_0x2e6e4f(0x1e6)],Yn=0x5*0x400*0x400,Kn=_0x2e6e4f(0x2fa),qn=_0x2e6e4f(0x3eb);let Rt=class{constructor(_0x3cb5bd,_0x2bfcee,_0x3c2cd0){var _0x4657ce=_0x2e6e4f;N(this,_0x4657ce(0x1a7),0x0),N(this,_0x4657ce(0x438),new _0x1b6f3c()),N(this,_0x4657ce(0x3d9),this[_0x4657ce(0x438)]),N(this,_0x4657ce(0x2d0),new Map()),(this[_0x4657ce(0x25c)]=_0x3cb5bd,this['_configService']=_0x2bfcee,this[_0x4657ce(0x1da)]=_0x3c2cd0);}[_0x2e6e4f(0x383)](_0x230f96){var _0x1da6c6=_0x2e6e4f;this['_waitCount']=_0x230f96,this[_0x1da6c6(0x438)]['next'](_0x230f96);}[_0x2e6e4f(0x21b)](_0x59a231,_0x57dbf6){var _0x21ad7b=_0x2e6e4f;if(_0x57dbf6===_0x2d830b[_0x21ad7b(0x3a7)]){const _0x2092a2=new Image();return _0x2092a2[_0x21ad7b(0x1be)]=_0x59a231,_0x2092a2;}return this['_imageSourceCache'][_0x21ad7b(0x303)](_0x59a231);}[_0x2e6e4f(0x1df)](_0x3cc5e8,_0x80cac4,_0x4f33b7){var _0x533583=_0x2e6e4f;_0x80cac4===_0x2d830b['BASE64']||_0x4f33b7==null||this['_imageSourceCache'][_0x533583(0x3e4)](_0x3cc5e8,_0x4f33b7);}async[_0x2e6e4f(0x1ce)](_0x53d0b8){var _0x4a2592=_0x2e6e4f;try{const _0x270972=this['_replaceFileID'](this[_0x4a2592(0x443)](),''+_0x53d0b8),_0x2fe801=(await this[_0x4a2592(0x25c)]['get'](_0x270972))[_0x4a2592(0x1a2)];if(_0x2fe801['error']&&_0x2fe801['error'][_0x4a2592(0x2da)]===vi['OK']){const _0x4b701a=new URL(_0x2fe801[_0x4a2592(0x2c9)],this[_0x4a2592(0x1cd)]())[_0x4a2592(0x2e5)]();return Promise['resolve'](_0x4b701a);}return Promise[_0x4a2592(0x276)](_0x2fe801[_0x4a2592(0x178)]);}catch(_0x183915){return Promise[_0x4a2592(0x276)](_0x183915);}}async['saveImage'](_0x12d3eb){var _0x5d37b4=_0x2e6e4f;let _0x43ae3a='';if(!Gn[_0x5d37b4(0x2f7)](_0x12d3eb[_0x5d37b4(0x2d7)]))return this[_0x5d37b4(0x1b4)](),Promise[_0x5d37b4(0x276)](new Error(_0x3001d5[_0x5d37b4(0x418)]));if(_0x12d3eb['size']>Yn)return this[_0x5d37b4(0x1b4)](),Promise[_0x5d37b4(0x276)](new Error(_0x3001d5['ERROR_EXCEED_SIZE']));try{const _0x3a0033=new FormData();_0x3a0033[_0x5d37b4(0x280)](_0x5d37b4(0x19b),_0x12d3eb);const _0x5b4eac=this[_0x5d37b4(0x1da)][_0x5d37b4(0x1f5)](),_0xb600c9=_0x5b4eac==null?void 0x0:_0x5b4eac[_0x5d37b4(0x268)]();if(!_0xb600c9)throw new Error(_0x5d37b4(0x305));const _0x1ee93b=this['_getUploadFileURL']()+_0x5d37b4(0x2a3)+_0x12d3eb[_0x5d37b4(0x3c6)][_0x5d37b4(0x2e5)]()+_0x5d37b4(0x3bb)+pi[_0x5d37b4(0x18b)]+_0x5d37b4(0x357)+encodeURIComponent(_0xb600c9),_0x20dc32={'body':_0x3a0033},_0x6cc188=(await this[_0x5d37b4(0x25c)]['post'](_0x1ee93b,_0x20dc32))['body'];if(typeof _0x6cc188[_0x5d37b4(0x460)]!=_0x5d37b4(0x166))return this[_0x5d37b4(0x1b4)](),Promise[_0x5d37b4(0x276)](new Error(_0x3001d5[_0x5d37b4(0x354)]));_0x43ae3a=_0x6cc188[_0x5d37b4(0x460)];}catch{return this[_0x5d37b4(0x1b4)](),Promise[_0x5d37b4(0x276)](new Error(_0x3001d5[_0x5d37b4(0x354)]));}return new Promise((_0x3d0cc9,_0x4f40b1)=>{var _0x503d6a=_0x5d37b4;const _0x37f649=new FileReader();_0x37f649[_0x503d6a(0x392)](_0x12d3eb),_0x37f649[_0x503d6a(0x345)]=_0x5d26b2=>{var _0x282b02=_0x503d6a,_0x349ee3;const _0x3d7259=(_0x349ee3=_0x5d26b2[_0x282b02(0x2b0)])==null?void 0x0:_0x349ee3[_0x282b02(0x1ea)];if(_0x3d7259==null){this['_decreaseWaiting'](),_0x4f40b1(new Error(_0x3001d5['ERROR_IMAGE']));return;}const _0x2fc8ba=_0x51ed1b(0x6);_0x3d0cc9({'imageId':_0x2fc8ba,'imageSourceType':_0x2d830b[_0x282b02(0x1c7)],'source':_0x43ae3a,'base64Cache':_0x3d7259,'status':_0x3001d5['SUCCUSS']}),this[_0x282b02(0x1b4)]();};});}[_0x2e6e4f(0x407)](){var _0x2077bf=_0x2e6e4f,_0x58527a;const _0x4428ef=this[_0x2077bf(0x372)][_0x2077bf(0x340)](K);return(_0x58527a=_0x4428ef==null?void 0x0:_0x4428ef[_0x2077bf(0x22f)])!=null?_0x58527a:Kn;}[_0x2e6e4f(0x443)](){var _0x424e5a=_0x2e6e4f,_0x662a79;const _0x1873a8=this[_0x424e5a(0x372)][_0x424e5a(0x340)](K);return(_0x662a79=_0x1873a8==null?void 0x0:_0x1873a8[_0x424e5a(0x171)])!=null?_0x662a79:qn;}[_0x2e6e4f(0x1cd)](){var _0x5a4ceb=_0x2e6e4f,_0x43b256;const _0xe162c7=this['_configService'][_0x5a4ceb(0x340)](K);return(_0x43b256=_0xe162c7==null?void 0x0:_0xe162c7['downloadEndpointUrl'])!=null?_0x43b256:location['origin'];}[_0x2e6e4f(0x1e3)](_0x48ea49,_0xc09eba){var _0x2c896e=_0x2e6e4f;return _0x48ea49[_0x2c896e(0x206)]('{fileID}',_0xc09eba);}[_0x2e6e4f(0x1b4)](){var _0x2ec8b5=_0x2e6e4f;this[_0x2ec8b5(0x1a7)]-=0x1,this[_0x2ec8b5(0x438)]['next'](this[_0x2ec8b5(0x1a7)]);}};Rt=Wn([pt(0x0,_0x499332(_0x4ef6ae)),pt(0x1,_0x3f2ca4),pt(0x2,_0x499332(_0x5578d7))],Rt);var zn=Object['getOwnPropertyDescriptor'],Jn=(_0x4d4183,_0x5c9173,_0x1a98f0,_0x5405f2)=>{for(var _0x543ee1=_0x5405f2>0x1?void 0x0:_0x5405f2?zn(_0x5c9173,_0x1a98f0):_0x5c9173,_0x357f80=_0x4d4183['length']-0x1,_0x588c30;_0x357f80>=0x0;_0x357f80--)(_0x588c30=_0x4d4183[_0x357f80])&&(_0x543ee1=_0x588c30(_0x543ee1)||_0x543ee1);return _0x543ee1;},ai=(_0x59837b,_0x1247cf)=>(_0x35eec9,_0x2fa6da)=>_0x1247cf(_0x35eec9,_0x2fa6da,_0x59837b);const Xn=_0x2e6e4f(0x25a);let Ot=class{constructor(_0x7d3194,_0x3073dc){var _0x233f39=_0x2e6e4f;this['_configService']=_0x7d3194,this[_0x233f39(0x26a)]=_0x3073dc;}[_0x2e6e4f(0x43c)](){var _0x1cebb6=_0x2e6e4f,_0xfebf9c;const _0x4ff9b9=this[_0x1cebb6(0x372)][_0x1cebb6(0x340)](K);return(_0xfebf9c=_0x4ff9b9==null?void 0x0:_0x4ff9b9[_0x1cebb6(0x224)])!=null?_0xfebf9c:Xn;}async['list'](_0xf74e60){var _0xdb381=_0x2e6e4f;const _0x442de6=this[_0xdb381(0x43c)]()+_0xdb381(0x29b);return{'list':[{'title':_0xdb381(0x1b3),'mentions':(await this[_0xdb381(0x26a)][_0xdb381(0x303)](_0x442de6,{'params':{'objectID':_0xf74e60[_0xdb381(0x204)],'unitID':_0xf74e60['unitId']}}))[_0xdb381(0x1a2)][_0xdb381(0x297)][_0xdb381(0x19a)](_0x1623a9=>({'objectId':_0x1623a9['id'],'name':_0x1623a9['subject']['name'],'metadata':{'icon':_0x1623a9[_0xdb381(0x3f8)][_0xdb381(0x436)]},'label':_0x1623a9[_0xdb381(0x3f8)][_0xdb381(0x2eb)],'objectType':_0x31d049[_0xdb381(0x1d1)]})),'metadata':{},'type':_0x31d049[_0xdb381(0x1d1)]}]};}};Ot=Jn([ai(0x0,_0x499332(_0x3f2ca4)),ai(0x1,_0x499332(_0x4ef6ae))],Ot);var Zn=Object[_0x2e6e4f(0x3c3)],Qn=(_0xba6b0e,_0x4acf51,_0x2162db,_0x421a23)=>{var _0x48283b=_0x2e6e4f;for(var _0x2634f5=_0x421a23>0x1?void 0x0:_0x421a23?Zn(_0x4acf51,_0x2162db):_0x4acf51,_0x1587e7=_0xba6b0e[_0x48283b(0x255)]-0x1,_0x4e463e;_0x1587e7>=0x0;_0x1587e7--)(_0x4e463e=_0xba6b0e[_0x1587e7])&&(_0x2634f5=_0x4e463e(_0x2634f5)||_0x2634f5);return _0x2634f5;},Ue=(_0x1b131e,_0x488e93)=>(_0x50ffbc,_0x914b31)=>_0x488e93(_0x50ffbc,_0x914b31,_0x1b131e);let ot=class extends _0x5a8474{constructor(_0x2897b9,_0x33bbe1,_0x42c359,_0x3f6636,_0x3ec2b7){var _0x581291=_0x2e6e4f;super(),this['_injector']=_0x2897b9,this['_univerInstanceService']=_0x33bbe1,this[_0x581291(0x20d)]=_0x42c359,this[_0x581291(0x20b)]=_0x3f6636,this[_0x581291(0x201)]=_0x3ec2b7,this[_0x581291(0x38f)](),this[_0x581291(0x1c1)]();}[_0x2e6e4f(0x1c1)](){var _0x3f40c3=_0x2e6e4f;const _0x11cc9a=async _0x131f61=>{var _0x3308fc=_0x18c4;(await this[_0x3308fc(0x20b)]['requireSession'](_0x131f61))[_0x3308fc(0x1ff)][_0x3308fc(0x1d0)](_0x3adc0f(_0x5c8c31=>_0x5c8c31['eventID']===_0x583187[_0x3308fc(0x223)]),_0x2bfe57(this[_0x3308fc(0x23a)]))['subscribe'](_0x5ac156=>{var _0x54cdbe=_0x3308fc;const _0x5d5356=_0x5ac156,{reason:_0x111f5f}=_0x5d5356[_0x54cdbe(0x24b)];this['_collaborationUIEventService'][_0x54cdbe(0x385)]({'id':ne['CLOSE_ROOM'],'data':_0x111f5f}),this[_0x54cdbe(0x20d)][_0x54cdbe(0x40c)](new _0x160a0f(_0x131f61)['id'],!0x1),this['_collaborationSessionService'][_0x54cdbe(0x1d3)](_0x131f61);});};_0x341b50(this[_0x3f40c3(0x1da)][_0x3f40c3(0x2d4)](_0x1590fe[_0x3f40c3(0x257)]),this[_0x3f40c3(0x1da)][_0x3f40c3(0x2d4)](_0x1590fe['UNIVER_DOC']))[_0x3f40c3(0x1d0)](_0x25bf23(_0x415fd1=>_0x415fd1['getUnitId']()),_0x3adc0f(_0x5d6220=>!_0x4fa194(_0x5d6220)),_0x2bfe57(this[_0x3f40c3(0x23a)]))[_0x3f40c3(0x3fd)](_0x2249fa=>{_0x11cc9a(_0x2249fa);});}['_initUnitPermissionChange'](){var _0x192afc=_0x2e6e4f;const _0x271d14=async _0x1ee84d=>{var _0x18f278=_0x18c4;const _0x37d32f=await this['_collaborationSessionService'][_0x18f278(0x403)](_0x1ee84d),_0x19d3d7=this[_0x18f278(0x44a)][_0x18f278(0x303)](_0x1dfd21);_0x37d32f[_0x18f278(0x1ff)][_0x18f278(0x1d0)](_0x3adc0f(_0x418cee=>_0x418cee[_0x18f278(0x218)]===_0x583187[_0x18f278(0x2be)]),_0x2bfe57(this[_0x18f278(0x23a)]))[_0x18f278(0x3fd)](_0x81a84=>{var _0x434bbd=_0x18f278;const _0x55017d=_0x81a84,{objectId:_0x4c46e2}=_0x55017d[_0x434bbd(0x24b)];_0x4c46e2===_0x1ee84d?_0x19d3d7[_0x434bbd(0x306)](_0x1ee84d):_0x19d3d7[_0x434bbd(0x3db)](_0x1ee84d,_0x4c46e2);});};_0x341b50(this[_0x192afc(0x1da)][_0x192afc(0x2d4)](_0x1590fe['UNIVER_SHEET']))[_0x192afc(0x1d0)](_0x25bf23(_0x1f9db8=>_0x1f9db8[_0x192afc(0x268)]()),_0x3adc0f(_0xf17da0=>!_0x4fa194(_0xf17da0)),_0x2bfe57(this['dispose$']))[_0x192afc(0x3fd)](_0x5673a0=>{_0x271d14(_0x5673a0);});}};ot=Qn([Ue(0x0,_0x499332(_0x59b99c)),Ue(0x1,_0x5578d7),Ue(0x2,_0x4e7c61),Ue(0x3,_0x499332(Pe)),Ue(0x4,_0x499332(ve))],ot);var er=Object[_0x2e6e4f(0x3c3)],tr=(_0x209658,_0x5ce1af,_0x3d3b53,_0x329f03)=>{for(var _0x29f968=_0x329f03>0x1?void 0x0:_0x329f03?er(_0x5ce1af,_0x3d3b53):_0x5ce1af,_0x320d49=_0x209658['length']-0x1,_0x59b9b4;_0x320d49>=0x0;_0x320d49--)(_0x59b9b4=_0x209658[_0x320d49])&&(_0x29f968=_0x59b9b4(_0x29f968)||_0x29f968);return _0x29f968;},oi=(_0x217356,_0x4a1d6b)=>(_0x591c4e,_0x19f50c)=>_0x4a1d6b(_0x591c4e,_0x19f50c,_0x217356);let bt=class{constructor(_0xb9e9b7,_0x2a6f0d){var _0x46fea9=_0x2e6e4f;this['_configService']=_0xb9e9b7,this[_0x46fea9(0x25c)]=_0x2a6f0d;}async['getUnitOnRev'](_0x11a902,_0x1f1a59){var _0x55b847=_0x2e6e4f,_0xb1dc5a;const {unitID:_0x326f86,type:_0x2d547b,revision:_0x1487af=0x0}=_0x1f1a59,_0x1fc355=this['getSnapshotAPIPath']()+'/'+_0x2d547b+_0x55b847(0x261)+_0x326f86+_0x55b847(0x1dc)+_0x1487af,_0x181e9b=(await this[_0x55b847(0x25c)][_0x55b847(0x303)](_0x1fc355))[_0x55b847(0x1a2)],_0x44ab52=(_0xb1dc5a=_0x181e9b[_0x55b847(0x179)])==null?void 0x0:_0xb1dc5a[_0x55b847(0x1e1)];if(_0x44ab52){const _0x45a812=_0x44ab52==null?void 0x0:_0x44ab52[_0x55b847(0x304)],_0x3befd7=_0x4da956['encode'](_0x5a8741(_0x45a812));_0x44ab52[_0x55b847(0x304)]=_0x3befd7,Object[_0x55b847(0x336)](_0x44ab52[_0x55b847(0x311)])[_0x55b847(0x1ca)](([,_0x285e93])=>{var _0x43c10c=_0x55b847;const _0x5dab49=_0x285e93[_0x43c10c(0x304)],_0x5c0afa=_0x4da956[_0x43c10c(0x193)](_0x5a8741(_0x5dab49));_0x285e93['originalMeta']=_0x5c0afa;});}return _0x181e9b;}async[_0x2e6e4f(0x3dd)](_0x19c032,_0x4bf89c){var _0x5c3ebb=_0x2e6e4f;const {unitID:_0x2b3bd6,type:_0x5aa919,blockID:_0x44508e}=_0x4bf89c,_0x5e5ac1=this[_0x5c3ebb(0x1ab)]()+'/'+_0x5aa919+'/unit/'+_0x2b3bd6+_0x5c3ebb(0x413)+_0x44508e;return(await this[_0x5c3ebb(0x25c)][_0x5c3ebb(0x303)](_0x5e5ac1))[_0x5c3ebb(0x1a2)];}async['getDeserializedSheetBlock'](_0x3c3748,_0x1e17e6){var _0x4bef7a=_0x2e6e4f;const {unitID:_0x16504f,type:_0x5cda03,blockID:_0x25bb31}=_0x1e17e6,_0x470881=this[_0x4bef7a(0x1ab)]()+'/block/'+_0x5cda03+_0x4bef7a(0x261)+_0x16504f+'/block/'+_0x25bb31;return(await this['_httpService']['get'](_0x470881))[_0x4bef7a(0x1a2)];}async['fetchMissingChangesets'](_0x21db9c,_0x3db344){var _0x48c9e7=_0x2e6e4f;const {unitID:_0x553742,type:_0x60e6f4,from:_0xf92958,to:_0x343158}=_0x3db344,_0x3c28b=this['_getAPIPrefix']()+'/'+_0x60e6f4+'/unit/'+_0x553742+'/fetchmissing?from='+_0xf92958+_0x48c9e7(0x1ba)+_0x343158;return(await this[_0x48c9e7(0x25c)][_0x48c9e7(0x303)](_0x3c28b))[_0x48c9e7(0x1a2)];}[_0x2e6e4f(0x3af)](){var _0x467157=_0x2e6e4f,_0x20072b;return(_0x20072b=this[_0x467157(0x372)][_0x467157(0x340)](vs))!=null?_0x20072b:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x1e3559=_0x2e6e4f,_0x3fb7b3;const _0x175d9e=this[_0x1e3559(0x372)]['getConfig'](K);return(_0x3fb7b3=_0x175d9e==null?void 0x0:_0x175d9e[_0x1e3559(0x28c)])!=null?_0x3fb7b3:fs;}async[_0x2e6e4f(0x3ae)](_0x2b93ba,_0xd1be29){var _0x20d0a1=_0x2e6e4f;const _0x54216c='/universer-api/snapshot/'+_0xd1be29[_0x20d0a1(0x2d7)]+_0x20d0a1(0x261)+_0xd1be29[_0x20d0a1(0x44b)]+_0x20d0a1(0x3fe);return(await this[_0x20d0a1(0x25c)][_0x20d0a1(0x303)](_0x54216c,{'params':{'resourceId':JSON['stringify'](_0xd1be29[_0x20d0a1(0x21e)])}}))['body'];}['saveSnapshot'](){var _0x14bacf=_0x2e6e4f;throw new Error(_0x14bacf(0x326));}[_0x2e6e4f(0x374)](){var _0x186be3=_0x2e6e4f;throw new Error(_0x186be3(0x326));}[_0x2e6e4f(0x3b0)](){var _0x49c92e=_0x2e6e4f;throw new Error(_0x49c92e(0x326));}['saveChangeset'](){var _0x3b763c=_0x2e6e4f;throw new Error(_0x3b763c(0x326));}['copyFileMeta'](){var _0x2df6db=_0x2e6e4f;throw new Error(_0x2df6db(0x326));}[_0x2e6e4f(0x290)](){var _0x8dd990=_0x2e6e4f;throw new Error(_0x8dd990(0x326));}};bt=tr([oi(0x0,_0x3f2ca4),oi(0x1,_0x499332(_0x4ef6ae))],bt);var ir=Object[_0x2e6e4f(0x3c3)],sr=(_0x504966,_0x550e0a,_0x106c06,_0xb10305)=>{var _0x2c19bf=_0x2e6e4f;for(var _0x55fc04=_0xb10305>0x1?void 0x0:_0xb10305?ir(_0x550e0a,_0x106c06):_0x550e0a,_0x1dd4db=_0x504966[_0x2c19bf(0x255)]-0x1,_0x390596;_0x1dd4db>=0x0;_0x1dd4db--)(_0x390596=_0x504966[_0x1dd4db])&&(_0x55fc04=_0x390596(_0x55fc04)||_0x55fc04);return _0x55fc04;},Ae=(_0x4dd761,_0x2470bd)=>(_0x10e7ed,_0x5c1676)=>_0x2470bd(_0x10e7ed,_0x5c1676,_0x4dd761);let yt=class extends _0x5eb811{constructor(_0x2097e8,_0x549eb1,_0x43b48a,_0x23178e,_0x13226b){var _0x2144f5=_0x2e6e4f;super(_0x2097e8,_0x549eb1,_0x43b48a),this[_0x2144f5(0x381)]=_0x23178e,this['_logService']=_0x13226b;}['transformUndoRedo'](_0x1bf225,_0xf281f1){var _0x5070b=_0x2e6e4f;const _0x469abf=this[_0x5070b(0x2ce)](_0x1bf225);if(_0x469abf)try{const _0x360e86=this[_0x5070b(0x375)](_0x469abf,_0xf281f1);this[_0x5070b(0x469)](_0x1bf225,_0x360e86);}catch(_0x2b5834){this[_0x5070b(0x41d)]['error'](_0x5070b(0x16e),_0x2b5834),this[_0x5070b(0x425)](_0x1bf225);}const _0x51447f=this[_0x5070b(0x456)](_0x1bf225);if(_0x51447f)try{const _0x536086=this[_0x5070b(0x375)](_0x51447f,_0xf281f1);this['_substituteRedoStack'](_0x1bf225,_0x536086);}catch(_0x2a0048){this['_logService'][_0x5070b(0x178)](_0x2a0048),this[_0x5070b(0x16f)](_0x1bf225);}}[_0x2e6e4f(0x425)](_0x22ca9f){var _0x253c9d=_0x2e6e4f;const _0x2b85d3=this['_getUndoStack'](_0x22ca9f);_0x2b85d3&&(_0x2b85d3['length']=0x0,this[_0x253c9d(0x417)]());}['_clearRedo'](_0x2434d9){var _0x184d76=_0x2e6e4f;const _0xb18435=this[_0x184d76(0x456)](_0x2434d9);_0xb18435&&(_0xb18435[_0x184d76(0x255)]=0x0,this[_0x184d76(0x417)]());}[_0x2e6e4f(0x469)](_0x118f45,_0x202d22){var _0x16e9d5=_0x2e6e4f;this[_0x16e9d5(0x314)][_0x16e9d5(0x3e4)](_0x118f45,_0x202d22),this[_0x16e9d5(0x417)]();}[_0x2e6e4f(0x31c)](_0x534bc9,_0x4f7de6){var _0x384024=_0x2e6e4f;this[_0x384024(0x1ed)][_0x384024(0x3e4)](_0x534bc9,_0x4f7de6),this[_0x384024(0x417)]();}[_0x2e6e4f(0x375)](_0x7d980a,_0xf36f88){var _0x261d6e=_0x2e6e4f;const _0x1ae48a=[];let _0x130e27=_0xf36f88,_0x50cc45=_0xf36f88;for(let _0x59ab3c=_0x7d980a['length']-0x1;_0x59ab3c>=0x0;_0x59ab3c--){const {unitID:_0x189a63,undoMutations:_0x184098,redoMutations:_0x3dc51c}=_0x7d980a[_0x59ab3c],_0x13bbe7=this[_0x261d6e(0x381)]['transformMutationsWithChangeset'](_0x130e27,_0x184098),_0x528a14=this['_transformService'][_0x261d6e(0x3d2)](_0x50cc45,_0x3dc51c);if(_0x5b9262(_0x13bbe7)||_0x5b9262(_0x528a14)){this[_0x261d6e(0x41d)][_0x261d6e(0x178)](_0x261d6e(0x16e),_0x261d6e(0x220),_0x13bbe7,_0x528a14);break;}_0x130e27=_0x13bbe7[_0x261d6e(0x35c)],_0x50cc45=_0x528a14[_0x261d6e(0x35c)],_0x1ae48a[_0x261d6e(0x29e)]({'unitID':_0x189a63,'undoMutations':_0x13bbe7['m2Prime'],'redoMutations':_0x528a14[_0x261d6e(0x1e0)]});}return _0x1ae48a[_0x261d6e(0x30c)]();}};yt=sr([Ae(0x0,_0x5578d7),Ae(0x1,_0x4bb5bc),Ae(0x2,_0x137c5e),Ae(0x3,_0x3b853a),Ae(0x4,_0xaae47a)],yt);var nr=Object[_0x2e6e4f(0x1f0)],rr=Object['getOwnPropertyDescriptor'],ar=(_0x5c2010,_0x5f16d4,_0x4f6cb6)=>_0x5f16d4 in _0x5c2010?nr(_0x5c2010,_0x5f16d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f6cb6}):_0x5c2010[_0x5f16d4]=_0x4f6cb6,or=(_0x31fa8f,_0x125e7c,_0x1f02f0,_0x15e8c4)=>{var _0x4024fc=_0x2e6e4f;for(var _0xe61ba7=_0x15e8c4>0x1?void 0x0:_0x15e8c4?rr(_0x125e7c,_0x1f02f0):_0x125e7c,_0x2139a0=_0x31fa8f[_0x4024fc(0x255)]-0x1,_0x358bb0;_0x2139a0>=0x0;_0x2139a0--)(_0x358bb0=_0x31fa8f[_0x2139a0])&&(_0xe61ba7=_0x358bb0(_0xe61ba7)||_0xe61ba7);return _0xe61ba7;},mt=(_0x58362b,_0x264358)=>(_0x4ef191,_0x5b5c99)=>_0x264358(_0x4ef191,_0x5b5c99,_0x58362b),cr=(_0x5c8f95,_0x4fd1b4,_0x591b2a)=>ar(_0x5c8f95,_0x4fd1b4+'',_0x591b2a);const hr=_0x2e6e4f(0x1ee);let Nt=class extends _0x298449{constructor(_0x3ceb74,_0x4e0953,_0x23f9be,_0x2a2c97){var _0x28ff3e=_0x2e6e4f;super(),N(this,_0x28ff3e(0x38d)),(this[_0x28ff3e(0x41d)]=_0x4e0953,this['_injector']=_0x23f9be,this['_configService']=_0x2a2c97);const {..._0x3082ed}=_0x39b0ae({},Ls,_0x3ceb74);if(!_0x3082ed['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x28ff3e(0x38d)]=_0x3082ed,this['_configService'][_0x28ff3e(0x373)](K,_0x3082ed);}[_0x2e6e4f(0x3a3)](){var _0x1a5d78=_0x2e6e4f;this[_0x1a5d78(0x3e7)](),this['_initDependencies']();}[_0x2e6e4f(0x3e7)](){var _0x512c25=_0x2e6e4f,_0x135033,_0x36b0b9;this['_injector'][_0x512c25(0x3cd)](_0x41b341)&&this[_0x512c25(0x41d)][_0x512c25(0x178)](_0x512c25(0x337),_0x512c25(0x180));const _0xd9ae73=_0x2bb1d0([[_0x41b341,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this[_0x512c25(0x38d)][_0x512c25(0x2c4)]}],[_0x38aebc,{'useClass':bt}],[_0x3c350a,{'useClass':Tt}],[_0x5cd80f,{'useClass':Rt}],[_0x428fd8,{'useClass':Ot}],[nt],[It]],(_0x135033=this['_config'])==null?void 0x0:_0x135033[_0x512c25(0x414)]);if(!((_0x36b0b9=this[_0x512c25(0x38d)])!=null&&_0x36b0b9['enableSingleActiveInstanceLock'])){const _0x5cb977=_0xd9ae73[_0x512c25(0x295)](([_0x40e1fb])=>_0x40e1fb===ht);_0x5cb977!==-0x1&&_0xd9ae73['splice'](_0x5cb977,0x1);}_0x1123c8(this['_injector'],_0xd9ae73);}[_0x2e6e4f(0x41b)](){var _0x231de0=_0x2e6e4f,_0xd3d54d,_0x1d166c,_0x27a10d;this[_0x231de0(0x44a)][_0x231de0(0x303)](_0x4ef6ae)[_0x231de0(0x287)]({'priority':0x14,'interceptor':_0x42d4e7({'maxParallel':0x6})}),(_0xd3d54d=this[_0x231de0(0x38d)])!=null&&_0xd3d54d[_0x231de0(0x3f3)]||(_0x1d166c=this[_0x231de0(0x44a)][_0x231de0(0x303)](J,_0x11f0b5[_0x231de0(0x23d)]))==null||_0x1d166c[_0x231de0(0x362)](),(_0x27a10d=this[_0x231de0(0x38d)])!=null&&_0x27a10d[_0x231de0(0x2ae)]&&_0x39715c(this[_0x231de0(0x44a)],[[rt]]),_0x39715c(this[_0x231de0(0x44a)],[[at],[nt],[ot]]);}};cr(Nt,_0x2e6e4f(0x3e3),hr),Nt=or([_0x39d591(_0x1db6f6,_0x1f1ffc),mt(0x1,_0xaae47a),mt(0x2,_0x499332(_0x59b99c)),mt(0x3,_0x3f2ca4)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Gt as CollaborationSocketService,Ei as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,mi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,gi as UnitStatus,Nt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,br as getLocalCacheKey,Vs as serializeCombRequest};
|