@univerjs-pro/collaboration-client 0.10.8-nightly.202509200616 → 0.10.9-experimental.20250925-61b61a0
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 +11 -11
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0xe7476b=_0x33f0;(function(_0x374bc1,_0x5752fd){var _0x6aaa56=_0x33f0,_0x1cc136=_0x374bc1();while(!![]){try{var _0x1e3f45=-parseInt(_0x6aaa56(0x27e))/0x1+-parseInt(_0x6aaa56(0x305))/0x2*(parseInt(_0x6aaa56(0x1cd))/0x3)+-parseInt(_0x6aaa56(0x118))/0x4+parseInt(_0x6aaa56(0x13a))/0x5*(-parseInt(_0x6aaa56(0x17d))/0x6)+parseInt(_0x6aaa56(0x1f9))/0x7+parseInt(_0x6aaa56(0x36c))/0x8+parseInt(_0x6aaa56(0x2db))/0x9;if(_0x1e3f45===_0x5752fd)break;else _0x1cc136['push'](_0x1cc136['shift']());}catch(_0x195738){_0x1cc136['push'](_0x1cc136['shift']());}}}(_0x1da4,0xdcc91));var yi=Object[_0xe7476b(0x1ce)],Ni=(_0x4587de,_0x303975,_0x493371)=>_0x303975 in _0x4587de?yi(_0x4587de,_0x303975,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x493371}):_0x4587de[_0x303975]=_0x493371,N=(_0x1d4d62,_0x17dcf4,_0x4f8a06)=>Ni(_0x1d4d62,typeof _0x17dcf4!=_0xe7476b(0x1fd)?_0x17dcf4+'':_0x17dcf4,_0x4f8a06);import{CollaborationEvent as _0x15f20d,ITransformService as _0x2a49de,isTransformMutationsWithChangesetSuccess as _0x165956,mapDocumentTypeToUniverType as _0x1e4bd8,RevisionService as _0x243094,isTransformChangesetsSuccess as _0xbb04f0,CompressMutationService as _0x3608ab,parseProtocolChangeset as _0x1b8bd9,uuidv4 as _0x2e7a79,ISnapshotServerService as _0x380b92,parseChangesetToProtocol as _0x1f3cff,SnapshotService as _0x2d2417,textEncoder as _0x50903d,b64DecodeUnicode as _0x4bdb52,isTransformMutationsWithChangesetFailure as _0x5e2704,UniverCollaborationPlugin as _0x20a078}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x564314,Inject as _0x3ab451,UserManagerService as _0x23d811,Disposable as _0x1329fe,UniverInstanceType as _0x313508,ILogService as _0x5d58e7,IConfigService as _0x2c6e2,Optional as _0x101caa,RxDisposable as _0x596c5c,createIdentifier as _0x38fdf1,Injector as _0x494864,Tools as _0x2f6f0f,Rectangle as _0x107a0a,ICommandService as _0x22ca1b,JSONX as _0x4bc0b5,CommandType as _0x2b0c13,IUndoRedoService as _0x2a0c90,IPermissionService as _0x1752a3,LocaleService as _0x4edbc8,sequenceExecute as _0x38a18d,toDisposable as _0x3ea293,DisposableCollection as _0x510667,Workbook as _0x26990f,generateRandomId as _0x30b2a1,MentionType as _0x341eb8,isInternalEditorID as _0x52e864,LocalUndoRedoService as _0x2b53be,IContextService as _0x1c46df,DependentOn as _0x2da002,Plugin as _0x59bb00,merge as _0x20dfcc,mergeOverrideWithDependencies as _0xdaed4e,IAuthzIoService as _0x55cf05,IMentionIOService as _0x4b7cfb,registerDependencies as _0x1880c9,Quantity as _0x9ebfa8,touchDependencies as _0x50372c}from'@univerjs/core';import{RichTextEditingMutation as _0x2dc2b3}from'@univerjs/docs';import{SheetsSelectionsService as _0x57ea14,SetSelectionsOperation as _0x2ad600,InsertSheetMutation as _0x460f1d,EmptyMutation as _0xae98d1,WorkbookEditablePermission as _0x350486,SheetPermissionInitController as _0x6a2288}from'@univerjs/sheets';import{Subject as _0x22d8b5,merge as _0x114bec,of as _0x31c001,BehaviorSubject as _0x1c92f2,takeUntil as _0x1f2e28,ReplaySubject as _0x432924,take as _0x460f4a,map as _0x30b9d3,shareReplay as _0x5124cb,firstValueFrom as _0x2d9687,concatMap as _0x28237d}from'rxjs';import{ITelemetryService as _0x215c33}from'@univerjs/telemetry';import{map as _0x1263aa,take as _0x410a55,filter as _0x382e9a,delay as _0x4ee84d,takeUntil as _0x373daa}from'rxjs/operators';import{HTTPService as _0x5325d6,ISocketService as _0x169a24,MergeInterceptorFactory as _0x533f70,HTTPRequest as _0x215338,UniverNetworkPlugin as _0x347256,ThresholdInterceptorFactory as _0x220a88}from'@univerjs/network';import{ImageSourceType as _0x14a691,ImageUploadStatusType as _0x17f5be,IImageIoService as _0x13ce3f}from'@univerjs/drawing';import{getGlobalObject as _0x10e700}from'@univerjs-pro/license';const fs=_0xe7476b(0x2aa),vs='SNAPSHOT_URL_KEY',ps=0x7d0,ms=_0xe7476b(0x264),Ir='/universer-api/user/session-ticket',gs=_0xe7476b(0x233),Ss=0x7530,di=_0xe7476b(0x210),fi=0x4e20,Es=0x4e20,Is=_0xe7476b(0x19f),Ts=0x3,Tr=_0xe7476b(0x107),Cr=0x3e8,Cs='/universer-api/comb',Rs=_0xe7476b(0x27a),Rr=_0xe7476b(0x168),Or=_0xe7476b(0x179);var vi=(_0x1a708a=>(_0x1a708a[_0x1a708a[_0xe7476b(0x388)]=0x0]=_0xe7476b(0x388),_0x1a708a[_0x1a708a['OK']=0x1]='OK',_0x1a708a[_0x1a708a[_0xe7476b(0x395)]=0x2]='INTERNAL_ERROR',_0x1a708a[_0x1a708a[_0xe7476b(0x2ca)]=0x3]=_0xe7476b(0x2ca),_0x1a708a[_0x1a708a[_0xe7476b(0x1ae)]=0x4]=_0xe7476b(0x1ae),_0x1a708a[_0x1a708a['UNAUTHENTICATED']=0x5]=_0xe7476b(0x306),_0x1a708a[_0x1a708a[_0xe7476b(0x1f0)]=0x6]=_0xe7476b(0x1f0),_0x1a708a[_0x1a708a['INVALID_ARGUMENT']=0x7]=_0xe7476b(0x14b),_0x1a708a[_0x1a708a['TOO_MANY_REQUESTS']=0x8]=_0xe7476b(0x2a2),_0x1a708a[_0x1a708a['COMPLETION_FINISHED']=0x9]=_0xe7476b(0x1fe),_0x1a708a[_0x1a708a[_0xe7476b(0x235)]=0xa]=_0xe7476b(0x235),_0x1a708a[_0x1a708a[_0xe7476b(0x33b)]=0xb]=_0xe7476b(0x33b),_0x1a708a[_0x1a708a[_0xe7476b(0x2da)]=0xc]=_0xe7476b(0x2da),_0x1a708a[_0x1a708a[_0xe7476b(0x3c7)]=0xd]=_0xe7476b(0x3c7),_0x1a708a[_0x1a708a[_0xe7476b(0x162)]=0xe]=_0xe7476b(0x162),_0x1a708a[_0x1a708a[_0xe7476b(0x259)]=0x1389]=_0xe7476b(0x259),_0x1a708a[_0x1a708a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xe7476b(0x3dd),_0x1a708a[_0x1a708a[_0xe7476b(0x1c3)]=0x1772]=_0xe7476b(0x1c3),_0x1a708a[_0x1a708a[_0xe7476b(0x32b)]=0x1773]=_0xe7476b(0x32b),_0x1a708a[_0x1a708a[_0xe7476b(0x2fe)]=0x1b59]='APPLY_REJECT',_0x1a708a[_0x1a708a[_0xe7476b(0x29e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1a708a[_0x1a708a[_0xe7476b(0x275)]=0x1b5b]=_0xe7476b(0x275),_0x1a708a[_0x1a708a[_0xe7476b(0x1df)]=0x1b5c]=_0xe7476b(0x1df),_0x1a708a[_0x1a708a[_0xe7476b(0x399)]=0x1b5d]=_0xe7476b(0x399),_0x1a708a[_0x1a708a[_0xe7476b(0x183)]=0x1f41]=_0xe7476b(0x183),_0x1a708a[_0x1a708a[_0xe7476b(0x165)]=0x2329]=_0xe7476b(0x165),_0x1a708a[_0x1a708a[_0xe7476b(0x2f7)]=0x232a]=_0xe7476b(0x2f7),_0x1a708a[_0x1a708a[_0xe7476b(0x132)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1a708a[_0x1a708a[_0xe7476b(0x226)]=0x232c]=_0xe7476b(0x226),_0x1a708a[_0x1a708a[_0xe7476b(0x25b)]=0x232d]=_0xe7476b(0x25b),_0x1a708a[_0x1a708a[_0xe7476b(0x11a)]=0x2711]=_0xe7476b(0x11a),_0x1a708a[_0x1a708a[_0xe7476b(0x1a6)]=0x2712]=_0xe7476b(0x1a6),_0x1a708a[_0x1a708a[_0xe7476b(0x202)]=0x2713]=_0xe7476b(0x202),_0x1a708a[_0x1a708a[_0xe7476b(0x1dd)]=0x2714]=_0xe7476b(0x1dd),_0x1a708a[_0x1a708a[_0xe7476b(0x152)]=0x271a]=_0xe7476b(0x152),_0x1a708a[_0x1a708a[_0xe7476b(0x294)]=0x271b]=_0xe7476b(0x294),_0x1a708a[_0x1a708a[_0xe7476b(0x289)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1a708a[_0x1a708a[_0xe7476b(0x18a)]=0x271d]=_0xe7476b(0x18a),_0x1a708a[_0x1a708a[_0xe7476b(0xfd)]=0x271e]=_0xe7476b(0xfd),_0x1a708a[_0x1a708a[_0xe7476b(0x230)]=0x271f]=_0xe7476b(0x230),_0x1a708a[_0x1a708a[_0xe7476b(0x110)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x1a708a[_0x1a708a['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0xe7476b(0x1bc),_0x1a708a[_0x1a708a[_0xe7476b(0x171)]=0x2ee1]=_0xe7476b(0x171),_0x1a708a[_0x1a708a[_0xe7476b(0x33e)]=0x2ee2]='INVALID_INVITE_CODE',_0x1a708a[_0x1a708a[_0xe7476b(0x120)]=0x2ee3]=_0xe7476b(0x120),_0x1a708a[_0x1a708a['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x1a708a[_0x1a708a[_0xe7476b(0x31d)]=0x2ee5]=_0xe7476b(0x31d),_0x1a708a[_0x1a708a[_0xe7476b(0x206)]=0x32c9]=_0xe7476b(0x206),_0x1a708a[_0x1a708a[_0xe7476b(0x10f)]=0x32ca]=_0xe7476b(0x10f),_0x1a708a[_0x1a708a[_0xe7476b(0x282)]=0x32cb]=_0xe7476b(0x282),_0x1a708a[_0x1a708a['UNRECOGNIZED']=-0x1]=_0xe7476b(0x112),_0x1a708a))(vi||{}),Z=(_0x555ad2=>(_0x555ad2[_0x555ad2[_0xe7476b(0x28e)]=0x0]=_0xe7476b(0x28e),_0x555ad2[_0x555ad2['UNIVER_DOC']=0x1]=_0xe7476b(0x25f),_0x555ad2[_0x555ad2['UNIVER_SHEET']=0x2]=_0xe7476b(0x2f4),_0x555ad2[_0x555ad2[_0xe7476b(0x2c2)]=0x3]=_0xe7476b(0x2c2),_0x555ad2[_0x555ad2['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x555ad2[_0x555ad2[_0xe7476b(0x112)]=-0x1]='UNRECOGNIZED',_0x555ad2))(Z||{}),F=(_0x1b49ab=>(_0x1b49ab[_0x1b49ab[_0xe7476b(0x250)]=0x0]=_0xe7476b(0x250),_0x1b49ab[_0x1b49ab[_0xe7476b(0x166)]=0x1]=_0xe7476b(0x166),_0x1b49ab[_0x1b49ab[_0xe7476b(0x133)]=0x2]='JOIN',_0x1b49ab[_0x1b49ab[_0xe7476b(0x326)]=0x3]=_0xe7476b(0x326),_0x1b49ab[_0x1b49ab[_0xe7476b(0x31b)]=0x4]=_0xe7476b(0x31b),_0x1b49ab[_0x1b49ab[_0xe7476b(0x374)]=0x5]=_0xe7476b(0x374),_0x1b49ab[_0x1b49ab[_0xe7476b(0x39b)]=0x6]=_0xe7476b(0x39b),_0x1b49ab[_0x1b49ab[_0xe7476b(0x112)]=-0x1]='UNRECOGNIZED',_0x1b49ab))(F||{}),pe=(_0x3e855e=>(_0x3e855e[_0x3e855e['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x3e855e[_0x3e855e['OK']=0x1]='OK',_0x3e855e[_0x3e855e['FAIL']=0x2]=_0xe7476b(0x3b7),_0x3e855e[_0x3e855e['JOIN_ROOM_FULL']=0x3e9]=_0xe7476b(0x121),_0x3e855e[_0x3e855e[_0xe7476b(0x394)]=0x3ea]=_0xe7476b(0x394),_0x3e855e[_0x3e855e['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x3e855e[_0x3e855e[_0xe7476b(0x28b)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x3e855e[_0x3e855e[_0xe7476b(0x112)]=-0x1]='UNRECOGNIZED',_0x3e855e))(pe||{}),pi=(_0x1f4910=>(_0x1f4910[_0x1f4910[_0xe7476b(0x2b7)]=0x0]='Undefined',_0x1f4910[_0x1f4910[_0xe7476b(0x1ff)]=0x1]='HttpImport',_0x1f4910[_0x1f4910[_0xe7476b(0x1b1)]=0x2]='HttpExport',_0x1f4910[_0x1f4910['UnitEmbedded']=0x3]=_0xe7476b(0x334),_0x1f4910[_0x1f4910[_0xe7476b(0x3d8)]=0x4]=_0xe7476b(0x3d8),_0x1f4910[_0x1f4910['UserProfileImg']=0x5]=_0xe7476b(0x31f),_0x1f4910[_0x1f4910[_0xe7476b(0x112)]=-0x1]='UNRECOGNIZED',_0x1f4910))(pi||{});const Os=_0xe7476b(0x225);function bs(_0x49d304){var _0x5bed9b=_0xe7476b;return JSON[_0x5bed9b(0x2c7)](_0x49d304)[_0x5bed9b(0x295)];}var ne=(_0x4aa8e2=>(_0x4aa8e2[_0xe7476b(0x149)]=_0xe7476b(0x149),_0x4aa8e2[_0xe7476b(0x2ca)]=_0xe7476b(0x2ca),_0x4aa8e2[_0xe7476b(0x35f)]='CONFLICT',_0x4aa8e2['CLOSE_ROOM']=_0xe7476b(0x2c0),_0x4aa8e2[_0xe7476b(0x1e7)]=_0xe7476b(0x1e7),_0x4aa8e2['SOCKET_FAILED_RETRY']=_0xe7476b(0x239),_0x4aa8e2[_0xe7476b(0x371)]=_0xe7476b(0x371),_0x4aa8e2[_0xe7476b(0x324)]=_0xe7476b(0x324),_0x4aa8e2))(ne||{});class ve{constructor(){var _0xa6ac11=_0xe7476b;N(this,_0xa6ac11(0x3c2),new _0x22d8b5()),N(this,'event$',this['_event$']['asObservable']());}[_0xe7476b(0x385)](_0x1f8634){var _0x3bc3b=_0xe7476b;this[_0x3bc3b(0x3c2)]['next'](_0x1f8634);}}class mi{constructor(){var _0xcaf9e2=_0xe7476b;N(this,'_commentUpdate$',new _0x22d8b5()),N(this,_0xcaf9e2(0x252),this['_commentUpdate$']['asObservable']());}[_0xe7476b(0x2c5)](_0x48d4aa){var _0x41e565=_0xe7476b;this[_0x41e565(0x130)][_0x41e565(0x12c)](_0x48d4aa);}}var ys=Object[_0xe7476b(0x2af)],Ns=(_0x213e65,_0x13411f,_0x46e729,_0xe5e83e)=>{var _0x356fa7=_0xe7476b;for(var _0x44bf0c=_0xe5e83e>0x1?void 0x0:_0xe5e83e?ys(_0x13411f,_0x46e729):_0x13411f,_0x3c9223=_0x213e65[_0x356fa7(0x295)]-0x1,_0x30dd59;_0x3c9223>=0x0;_0x3c9223--)(_0x30dd59=_0x213e65[_0x3c9223])&&(_0x44bf0c=_0x30dd59(_0x44bf0c)||_0x44bf0c);return _0x44bf0c;},Ft=(_0x1d2004,_0x4e2011)=>(_0x5bceef,_0x1759c5)=>_0x4e2011(_0x5bceef,_0x1759c5,_0x1d2004);let we=class extends _0x1329fe{constructor(_0x218c75,_0x2ce378){var _0xac1ac4=_0xe7476b;super(),N(this,_0xac1ac4(0x330),new Map()),N(this,_0xac1ac4(0x344),new _0x22d8b5()),(this['_univerInstanceService']=_0x218c75,this[_0xac1ac4(0x16c)]=_0x2ce378,this['disposeWithMe'](_0x114bec(this[_0xac1ac4(0x257)][_0xac1ac4(0x134)](_0x313508[_0xac1ac4(0x2f4)])[_0xac1ac4(0x2d0)](_0x1263aa(_0x48ee5e=>_0x48ee5e[_0xac1ac4(0x109)]())),this[_0xac1ac4(0x257)]['getTypeOfUnitDisposed$'](_0x313508[_0xac1ac4(0x25f)])[_0xac1ac4(0x2d0)](_0x1263aa(_0x1676cf=>_0x1676cf[_0xac1ac4(0x109)]())),this[_0xac1ac4(0x257)]['getTypeOfUnitDisposed$'](_0x313508['UNIVER_SLIDE'])[_0xac1ac4(0x2d0)](_0x1263aa(_0x4202cd=>_0x4202cd['getUnitId']())))[_0xac1ac4(0x2b4)](_0x2b2593=>this['_removeRoom'](_0x2b2593))));}[_0xe7476b(0x15d)](_0x3c97f9){var _0x11c3b9=_0xe7476b;return this[_0x11c3b9(0x330)][_0x11c3b9(0x1a5)](_0x3c97f9)?_0x31c001(this[_0x11c3b9(0x330)][_0x11c3b9(0x174)](_0x3c97f9)):this[_0x11c3b9(0x344)][_0x11c3b9(0x2d0)](_0x1263aa(_0x7fb102=>{var _0x2190d4=_0x11c3b9;if(_0x7fb102===_0x3c97f9)return this[_0x2190d4(0x330)]['get'](_0x7fb102);}));}[_0xe7476b(0x304)](_0x16e024){var _0x5e6b15=_0xe7476b;this[_0x5e6b15(0x16c)]['setCurrentUser'](_0x16e024);}[_0xe7476b(0x36e)](){var _0x5b2981=_0xe7476b;return this[_0x5b2981(0x16c)][_0x5b2981(0x36e)]();}[_0xe7476b(0x368)](_0x4e6f47,_0xb60514){var _0x444a81=_0xe7476b;let _0x4f0143=this['_roomMembers']['get'](_0x4e6f47);_0x4f0143||(_0x4f0143=new Ds(),this['_roomMembers']['set'](_0x4e6f47,_0x4f0143),this[_0x444a81(0x344)][_0x444a81(0x12c)](_0x4e6f47)),_0x4f0143[_0x444a81(0x368)](_0xb60514);}[_0xe7476b(0x3e0)](_0x413bb0,_0x87ffb5){var _0x5e6972=_0xe7476b;const _0x4d0ab2=this[_0x5e6972(0x330)][_0x5e6972(0x174)](_0x413bb0);_0x4d0ab2&&_0x4d0ab2['removeMember'](_0x87ffb5);}['getRoom'](_0x1247f9){var _0x55ffe4=_0xe7476b;return this[_0x55ffe4(0x330)][_0x55ffe4(0x174)](_0x1247f9);}[_0xe7476b(0x32d)](_0x2da24d,_0x35d516){var _0x129075=_0xe7476b;const _0x17e1a1=this['_roomMembers'][_0x129075(0x174)](_0x2da24d);if(_0x17e1a1)return _0x17e1a1[_0x129075(0x32d)](_0x35d516);}[_0xe7476b(0x2bf)](_0x22aafa){var _0xf0a169=_0xe7476b;const _0x2159ef=this[_0xf0a169(0x330)][_0xf0a169(0x174)](_0x22aafa);_0x2159ef&&(_0x2159ef[_0xf0a169(0x322)](),this['_roomMembers']['delete'](_0x22aafa));}['dispose'](){var _0x185e44=_0xe7476b;this['_roomMembers']['forEach'](_0x31cee8=>_0x31cee8[_0x185e44(0x322)]()),this[_0x185e44(0x330)][_0x185e44(0x1be)](),this[_0x185e44(0x344)]['complete']();}};we=Ns([Ft(0x0,_0x564314),Ft(0x1,_0x3ab451(_0x23d811))],we);class Ds extends _0x1329fe{constructor(){var _0x4e5e5d=_0xe7476b;super(...arguments),N(this,'_members',new Map()),N(this,_0x4e5e5d(0x170),new _0x1c92f2(this[_0x4e5e5d(0x26f)])),N(this,'members$',this[_0x4e5e5d(0x170)]['asObservable']());}[_0xe7476b(0x322)](){var _0x276dbd=_0xe7476b;this[_0x276dbd(0x26f)][_0x276dbd(0x1be)]();}[_0xe7476b(0x368)](_0x15dbd3){var _0x36a960=_0xe7476b;this['_members'][_0x36a960(0x355)](_0x15dbd3[_0x36a960(0x224)],_0x15dbd3),this[_0x36a960(0xf9)]();}['removeMember'](_0x4faad2){var _0x1a24b1=_0xe7476b;this[_0x1a24b1(0x26f)][_0x1a24b1(0x333)](_0x4faad2);}['getMember'](_0x102b73){var _0x287445=_0xe7476b;return this['_members'][_0x287445(0x174)](_0x102b73);}[_0xe7476b(0x381)](){var _0x255a34=_0xe7476b;return Array[_0x255a34(0x200)](this[_0x255a34(0x26f)]['values']());}['_emitMembers'](){var _0x247b23=_0xe7476b;this[_0x247b23(0x170)][_0x247b23(0x12c)](this['_members']);}}var Us=Object['getOwnPropertyDescriptor'],As=(_0x3f10fd,_0x501899,_0x1575c4,_0x415f1f)=>{var _0x541be7=_0xe7476b;for(var _0x227681=_0x415f1f>0x1?void 0x0:_0x415f1f?Us(_0x501899,_0x1575c4):_0x501899,_0x82d744=_0x3f10fd[_0x541be7(0x295)]-0x1,_0x323542;_0x82d744>=0x0;_0x82d744--)(_0x323542=_0x3f10fd[_0x82d744])&&(_0x227681=_0x323542(_0x227681)||_0x227681);return _0x227681;},Ce=(_0x4e69be,_0x49ed07)=>(_0x337203,_0x463025)=>_0x49ed07(_0x337203,_0x463025,_0x4e69be),ge=(_0x2176da=>(_0x2176da[_0x2176da['IDLE']=0x0]='IDLE',_0x2176da[_0x2176da[_0xe7476b(0x36d)]=0x1]='JOINING',_0x2176da[_0x2176da[_0xe7476b(0x3ba)]=0x2]=_0xe7476b(0x3ba),_0x2176da[_0x2176da[_0xe7476b(0x38a)]=0x3]=_0xe7476b(0x38a),_0x2176da))(ge||{});const Vt={[pe[_0xe7476b(0x3b7)]]:_0xe7476b(0x29a),[pe[_0xe7476b(0x121)]]:_0xe7476b(0x3c3),[pe['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[pe[_0xe7476b(0x260)]]:_0xe7476b(0x213),[pe[_0xe7476b(0x28b)]]:'session.room-cnt-exceeds'};let gt=class extends _0x596c5c{constructor(_0x3a4860,_0x1211a4,_0x36f541,_0x33436f,_0x33bf09,_0x6e557a,_0x955d98,_0x3e1ac2){var _0x340a5c=_0xe7476b;super(),N(this,'_sessionStatus$',new _0x1c92f2(0x0)),N(this,_0x340a5c(0x15c),this['_sessionStatus$']['asObservable']()),N(this,'_event$',new _0x22d8b5()),N(this,_0x340a5c(0x1e3),this[_0x340a5c(0x3c2)]['asObservable']()),N(this,_0x340a5c(0xf7)),N(this,_0x340a5c(0x153)),N(this,_0x340a5c(0x1c2)),N(this,_0x340a5c(0x129),!0x1),N(this,_0x340a5c(0x1a1),null),(this[_0x340a5c(0x156)]=_0x3a4860,this[_0x340a5c(0x1e0)]=_0x36f541,this[_0x340a5c(0x29f)]=_0x33436f,this[_0x340a5c(0x3b9)]=_0x33bf09,this[_0x340a5c(0x140)]=_0x6e557a,this['_collaborationUIEventService']=_0x955d98,this[_0x340a5c(0x3cf)]=_0x3e1ac2,this[_0x340a5c(0x129)]=!!this[_0x340a5c(0x3cf)],_0x1211a4[_0x340a5c(0x2d0)](_0x1f2e28(this[_0x340a5c(0x265)]))[_0x340a5c(0x2b4)](_0x22ae5b=>{var _0x1adac4=_0x340a5c,_0x17c9f9;typeof _0x22ae5b>'u'||(this[_0x1adac4(0xf7)]=_0x22ae5b,_0x22ae5b?(this[_0x1adac4(0x3a2)](_0x22ae5b),this[_0x1adac4(0x153)]=_0x22ae5b['message$']['subscribe'](_0x5699d0=>{var _0x5a5084=_0x1adac4;_0x5699d0['routeKey']===this[_0x5a5084(0x156)]&&this[_0x5a5084(0x2eb)](_0x5699d0);})):(this[_0x1adac4(0x33d)](),this['_sessionStatus$'][_0x1adac4(0x12c)](0x2),(_0x17c9f9=this[_0x1adac4(0x153)])==null||_0x17c9f9[_0x1adac4(0x319)](),this[_0x1adac4(0x153)]=null));}));}get[_0xe7476b(0x207)](){var _0x2916bb=_0xe7476b;return this['_sessionStatus$'][_0x2916bb(0x3df)]();}[_0xe7476b(0x299)](){var _0x5f15d9=_0xe7476b,_0x34841c,_0x26e61c;return(_0x26e61c=(_0x34841c=this['_socket'])==null?void 0x0:_0x34841c[_0x5f15d9(0x224)])!=null?_0x26e61c:null;}[_0xe7476b(0x322)](){var _0x86fa3a=_0xe7476b;super[_0x86fa3a(0x322)](),this[_0x86fa3a(0x265)][_0x86fa3a(0x12c)](),this[_0x86fa3a(0x265)]['complete']();}['close'](){var _0x12651b=_0xe7476b,_0x4d32a5,_0x34a167;this[_0x12651b(0x33d)](),(_0x4d32a5=this[_0x12651b(0xf7)])==null||_0x4d32a5[_0x12651b(0x3c8)]({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x34a167=this[_0x12651b(0xf7)])==null||_0x34a167[_0x12651b(0x353)](),this[_0x12651b(0x3c2)]['complete'](),this[_0x12651b(0x116)]['complete'](),this[_0x12651b(0x322)]();}['_onCombEvent'](_0x3baedd){var _0x1811c1=_0xe7476b;_0x3baedd[_0x1811c1(0x2a8)]===F[_0x1811c1(0x133)]?this[_0x1811c1(0x2f2)](_0x3baedd):_0x3baedd[_0x1811c1(0x2a8)]===F[_0x1811c1(0x39b)]&&this[_0x1811c1(0x1b7)](_0x3baedd);}[_0xe7476b(0x3a2)](_0x41c31f){var _0x274607=_0xe7476b;this[_0x274607(0x116)][_0x274607(0x12c)](0x1),_0x41c31f['send']({'cmd':F[_0x274607(0x133)],'routeKey':this[_0x274607(0x156)],'routeType':'','data':{'rooms':[{'roomID':this[_0x274607(0x156)]}]}});}[_0xe7476b(0x2f2)](_0x867eb8){var _0x1727e4=_0xe7476b,_0x17597a;if(_0x867eb8[_0x1727e4(0x3a9)]in Vt){this['_collaborationUIEventService'][_0x1727e4(0x385)]({'id':ne['JOIN_ROOM_FAILED'],'data':Vt[_0x867eb8[_0x1727e4(0x3a9)]]}),this[_0x1727e4(0x116)]['next'](0x2);return;}this[_0x1727e4(0x116)][_0x1727e4(0x12c)](0x3);const _0x336c19=(_0x17597a=_0x867eb8['data']['roomInfos'][this[_0x1727e4(0x156)]])==null?void 0x0:_0x17597a[_0x1727e4(0x2a7)];_0x336c19&&_0x336c19[_0x1727e4(0x21a)](_0x3f3623=>this[_0x1727e4(0x3b9)][_0x1727e4(0x368)](this[_0x1727e4(0x156)],_0x3f3623));}[_0xe7476b(0x1b7)](_0x1e2364){var _0x5398e5=_0xe7476b;try{const _0x1fb0de=_0x1e2364[_0x5398e5(0x182)];switch(_0x1fb0de[_0x5398e5(0x36f)]){case _0x15f20d[_0x5398e5(0x3b3)]:this['_onUserJoin'](_0x1fb0de),this[_0x5398e5(0x3c2)][_0x5398e5(0x12c)](_0x1fb0de);break;case _0x15f20d['USERS_LEAVE']:this[_0x5398e5(0x19e)](_0x1fb0de),this[_0x5398e5(0x3c2)][_0x5398e5(0x12c)](_0x1fb0de);break;case _0x15f20d[_0x5398e5(0x15e)]:case _0x15f20d[_0x5398e5(0x173)]:this[_0x5398e5(0x3e4)](),this[_0x5398e5(0x39c)](),this[_0x5398e5(0x3c2)][_0x5398e5(0x12c)](_0x1fb0de);break;case _0x15f20d[_0x5398e5(0x2f6)]:this[_0x5398e5(0x1e0)][_0x5398e5(0x33f)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x5398e5(0x2c7)](_0x1fb0de)),this['_event$'][_0x5398e5(0x12c)](_0x1fb0de);break;case _0x15f20d[_0x5398e5(0x1d4)]:this['_commentService']['onCommentUpdate'](_0x1fb0de['data']),this[_0x5398e5(0x3c2)][_0x5398e5(0x12c)](_0x1fb0de);break;default:this[_0x5398e5(0x3c2)]['next'](_0x1fb0de);}}catch(_0x38d48d){this[_0x5398e5(0x1e0)][_0x5398e5(0x33f)](_0x38d48d,_0x1e2364);}}[_0xe7476b(0x24f)](_0x37367d){var _0x25fb95=_0xe7476b;this[_0x25fb95(0x3b9)][_0x25fb95(0x368)](this[_0x25fb95(0x156)],_0x37367d[_0x25fb95(0x182)]);}[_0xe7476b(0x19e)](_0x5b48d0){var _0x532166=_0xe7476b;this['_memberService'][_0x532166(0x3e0)](this['_unitID'],_0x5b48d0[_0x532166(0x182)][_0x532166(0x224)]);}async[_0xe7476b(0x3c8)](_0x3f3b34,_0x1fcba8){var _0x26ea6b=_0xe7476b;if(this[_0x26ea6b(0x207)]!==0x3||!this[_0x26ea6b(0xf7)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3f3b34[_0x26ea6b(0x36f)]===_0x15f20d[_0x26ea6b(0x2ce)]&&(this[_0x26ea6b(0x2f0)](),this['_startTelemetryCollaborationNewChangeset'](_0x3f3b34)),this[_0x26ea6b(0xf7)][_0x26ea6b(0x3c8)]({'cmd':F[_0x26ea6b(0x31b)],'routeKey':_0x1fcba8,'routeType':'','data':_0x3f3b34});}catch(_0x3429a6){this['_logService'][_0x26ea6b(0x33f)](_0x3429a6);}}['_scheduleCollaborationTimeoutTimer'](){var _0xd977a1=_0xe7476b,_0x43337e;this[_0xd977a1(0x1c2)]=setTimeout(()=>{var _0x2e795d=_0xd977a1;this['_collaborationTimeoutTimer']=null,this[_0x2e795d(0x34d)][_0x2e795d(0x385)]({'id':ne[_0x2e795d(0x324)]});},(_0x43337e=this[_0xd977a1(0x29f)][_0xd977a1(0x178)](di))!=null?_0x43337e:fi);}['_clearCollaborationTimeoutTimer'](){var _0x2ec1d3=_0xe7476b;this[_0x2ec1d3(0x1c2)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x2ec1d3(0x1c2)]=null);}[_0xe7476b(0x31a)](_0x19a7ee){var _0x536965=_0xe7476b;if(!this[_0x536965(0x129)])return;const {data:_0x109256}=_0x19a7ee,{unitID:_0x43c8ce,changeset:_0x533997}=_0x109256,{mutations:_0x2a811e,type:_0x4225ba}=_0x533997;this['_telemetryInfo']={'unitId':_0x43c8ce,'type':_0x4225ba,'startTime':performance[_0x536965(0x1ab)](),'stopTime':0x0,'duration':0x0,'size':bs(_0x2a811e)};}[_0xe7476b(0x3e4)](){var _0x43848d=_0xe7476b;if(this[_0x43848d(0x129)]){if(!this[_0x43848d(0x1a1)]){this['_logService'][_0x43848d(0x33f)](_0x43848d(0x1f2),_0x43848d(0x390));return;}this[_0x43848d(0x1a1)]['stopTime']=performance[_0x43848d(0x1ab)](),this[_0x43848d(0x1a1)][_0x43848d(0x37e)]=this[_0x43848d(0x1a1)]['stopTime']-this['_telemetryInfo'][_0x43848d(0x1cc)],this[_0x43848d(0x3cf)][_0x43848d(0x321)](Os,this[_0x43848d(0x1a1)]),this[_0x43848d(0x1a1)]=null;}}[_0xe7476b(0x33d)](){var _0x5e06d7=_0xe7476b;this[_0x5e06d7(0x1a1)]=null;}};gt=As([Ce(0x2,_0x5d58e7),Ce(0x3,_0x2c6e2),Ce(0x4,_0x3ab451(we)),Ce(0x5,_0x3ab451(mi)),Ce(0x6,_0x3ab451(ve)),Ce(0x7,_0x101caa(_0x215c33))],gt);const J=_0x38fdf1(_0xe7476b(0x131));function br(_0x3a7f4a){var _0x4f4aa2=_0xe7476b;return _0x4f4aa2(0x33c)+_0x3a7f4a;}var ws=Object['getOwnPropertyDescriptor'],Ps=(_0xf92916,_0x64f8e6,_0x3b2d73,_0x4f5c9a)=>{for(var _0x3177bc=_0x4f5c9a>0x1?void 0x0:_0x4f5c9a?ws(_0x64f8e6,_0x3b2d73):_0x64f8e6,_0x5ef489=_0xf92916['length']-0x1,_0x4bcfe3;_0x5ef489>=0x0;_0x5ef489--)(_0x4bcfe3=_0xf92916[_0x5ef489])&&(_0x3177bc=_0x4bcfe3(_0x3177bc)||_0x3177bc);return _0x3177bc;},ut=(_0x4b4477,_0xcc769b)=>(_0x9163b4,_0x318153)=>_0xcc769b(_0x9163b4,_0x318153,_0x4b4477);function Ms(_0xf7efac){var _0x27f663=_0xe7476b;const {unitID:_0xb59823,mutations:_0x1adeae}=_0xf7efac;return{'unitId':_0xb59823,'subUnitId':_0x1adeae[0x0][_0x27f663(0x1e2)][_0x27f663(0x38d)]};}let it=class{constructor(_0x1eef1d,_0x4c70da,_0x3aa27c){var _0x5c7f35=_0xe7476b;this[_0x5c7f35(0x284)]=_0x1eef1d,this[_0x5c7f35(0x277)]=_0x4c70da,this[_0x5c7f35(0x11c)]=_0x3aa27c;}[_0xe7476b(0x1c4)](_0x23540b){var _0x1ddfff=_0xe7476b,_0x3079dd,_0x1845f3,_0x58e7e8,_0x80c3c;const _0x49ddd3=this['_injector'][_0x1ddfff(0x174)](_0x57ea14),{unitId:_0x210951,subUnitId:_0x1d920d}=Ms(_0x23540b),_0x2e477b=_0x49ddd3==null?void 0x0:_0x49ddd3[_0x1ddfff(0x197)](_0x210951)[_0x1ddfff(0x336)](),_0x25b0b6=(_0x1845f3=(_0x3079dd=this[_0x1ddfff(0x11c)][_0x1ddfff(0x14f)](_0x210951))==null?void 0x0:_0x3079dd[_0x1ddfff(0x17a)]())==null?void 0x0:_0x1845f3['getSheetId']();if(_0x2e477b[_0x1ddfff(0x295)]===0x0||!_0x210951||!_0x1d920d)return;const _0x2b968d=[{'id':_0x2ad600['id'],'params':{'unitId':_0x210951,'subUnitId':_0x25b0b6,'selections':_0x2f6f0f['deepClone'](_0x2e477b)}}],_0x417453=this['_transformService']['transformMutationsWithChangeset'](_0x23540b,_0x2b968d);if(!_0x165956(_0x417453))throw _0x417453[_0x1ddfff(0x33f)];const _0x1f6ff5=(_0x80c3c=(_0x58e7e8=_0x417453['m2Prime'][0x0])==null?void 0x0:_0x58e7e8[_0x1ddfff(0x1e2)])==null?void 0x0:_0x80c3c[_0x1ddfff(0x16b)];if(Array[_0x1ddfff(0x1c6)](_0x1f6ff5)&&_0x1f6ff5[_0x1ddfff(0x295)]){if(_0x1f6ff5[_0x1ddfff(0x295)]===_0x2b968d[0x0][_0x1ddfff(0x1e2)][_0x1ddfff(0x16b)][_0x1ddfff(0x295)]&&_0x1f6ff5[_0x1ddfff(0x12a)]((_0x340bc2,_0x3ff647)=>_0x107a0a['equals'](_0x340bc2[_0x1ddfff(0x1ed)],_0x2b968d[0x0][_0x1ddfff(0x1e2)][_0x1ddfff(0x16b)][_0x3ff647][_0x1ddfff(0x1ed)])))return;this[_0x1ddfff(0x284)][_0x1ddfff(0x174)](_0x22ca1b)[_0x1ddfff(0x249)](_0x2ad600['id'],{'unitId':_0x210951,'subUnitId':_0x25b0b6,'selections':_0x1f6ff5});}}};it=Ps([ut(0x0,_0x3ab451(_0x494864)),ut(0x1,_0x2a49de),ut(0x2,_0x564314)],it);const ht=_0x38fdf1(_0xe7476b(0x19b));var gi=(_0x3da206=>(_0x3da206[_0x3da206['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3da206[_0x3da206[_0xe7476b(0x24b)]=0x1]=_0xe7476b(0x24b),_0x3da206))(gi||{});const K=_0xe7476b(0x3d0),Ls={},xs=new Set([_0x460f1d['id']]);function Wt(_0x35d595,_0x13e745,_0x4c8bbc,_0xef1a3,_0xd2a9ac){var _0x4e40fa=_0xe7476b,_0x20ddc7,_0x1263da,_0x4cb9d1,_0x29ff02;const _0x2c79c4=[];for(const _0x821a88 of _0x35d595)if(xs['has'](_0x821a88['id'])){if(_0x2c79c4[_0x4e40fa(0x295)]>0x0)break;_0x2c79c4['push'](_0x821a88);break;}else _0x2c79c4['push'](_0x821a88);const _0x1fddea=(_0x1263da=(_0x20ddc7=_0xd2a9ac['getCurrentUser']())==null?void 0x0:_0x20ddc7[_0x4e40fa(0x2f5)])!=null?_0x1263da:_0x4e40fa(0x22c),_0x5710ed=(_0x29ff02=(_0x4cb9d1=_0xd2a9ac[_0x4e40fa(0x36e)]())==null?void 0x0:_0x4cb9d1['memberID'])!=null?_0x29ff02:'unknown';return{'changeset':{'unitID':_0x13e745,'type':_0x1e4bd8(_0x4c8bbc[_0x4e40fa(0x167)](_0x13e745)),'baseRev':_0xef1a3[_0x4e40fa(0x348)](_0x13e745),'revision':0x0,'userID':_0x1fddea,'memberID':_0x5710ed,'mutations':_0x2c79c4},'pendingMutations':_0x35d595[_0x4e40fa(0x253)](_0x2c79c4['length'])};}function ks(_0x4f7980,_0x4e31b8,_0x4b3fe0,_0x3fadfb,_0x2a42ff){var _0xb2bfe1=_0xe7476b,_0x555eb9,_0x27f41b,_0x2770d9,_0x38c06a;const _0x2b0323=[_0x4f7980[_0xb2bfe1(0x2df)]((_0x30ea2e,_0x1e65ad)=>{var _0x4b6958=_0xb2bfe1,_0x455a05;const {id:_0x412b5e}=_0x30ea2e,{id:_0x54c2e0,type:_0x44208e}=_0x1e65ad,_0x12676e=(_0x455a05=_0x30ea2e[_0x4b6958(0x1e2)])!=null?_0x455a05:{'actions':null},_0x5b6187=_0x1e65ad[_0x4b6958(0x1e2)];if(_0x412b5e&&_0x412b5e!==_0x54c2e0)throw new Error(_0x4b6958(0x10b)+_0x412b5e+_0x4b6958(0x307)+_0x54c2e0+'.');return{..._0x30ea2e,'id':_0x54c2e0,'type':_0x44208e,'params':{'unitId':_0x5b6187['unitId'],'textRanges':_0x5b6187['textRanges'],'actions':_0x4bc0b5['compose'](_0x12676e[_0x4b6958(0x314)],_0x5b6187[_0x4b6958(0x314)])}};},{})],_0xbea28=(_0x27f41b=(_0x555eb9=_0x2a42ff['getCurrentUser']())==null?void 0x0:_0x555eb9[_0xb2bfe1(0x2f5)])!=null?_0x27f41b:_0xb2bfe1(0x22c),_0x27446d=(_0x38c06a=(_0x2770d9=_0x2a42ff['getCurrentUser']())==null?void 0x0:_0x2770d9['memberID'])!=null?_0x38c06a:_0xb2bfe1(0x22c);return{'changeset':{'unitID':_0x4e31b8,'type':_0x1e4bd8(_0x4b3fe0[_0xb2bfe1(0x167)](_0x4e31b8)),'baseRev':_0x3fadfb[_0xb2bfe1(0x348)](_0x4e31b8),'revision':0x0,'userID':_0xbea28,'memberID':_0x27446d,'mutations':_0x2b0323},'pendingMutations':[]};}function Si(_0x1c3910,_0x270817){var _0x6d921=_0xe7476b;const _0x4d4d32=new _0x432924(0x1);return setTimeout(()=>_0x4d4d32[_0x6d921(0x12c)](_0x270817),_0x1c3910),_0x4d4d32[_0x6d921(0x2be)]()[_0x6d921(0x2d0)](_0x460f4a(0x1));}const $s={'id':_0xae98d1['id'],'type':_0x2b0c13[_0xe7476b(0x193)],'params':{}};var Hs=Object[_0xe7476b(0x2af)],Ee=(_0x167770,_0x2da2de,_0x39e11b,_0x95789)=>{var _0x141ab2=_0xe7476b;for(var _0x17bddc=_0x95789>0x1?void 0x0:_0x95789?Hs(_0x2da2de,_0x39e11b):_0x2da2de,_0x120b57=_0x167770[_0x141ab2(0x295)]-0x1,_0x529c6e;_0x120b57>=0x0;_0x120b57--)(_0x529c6e=_0x167770[_0x120b57])&&(_0x17bddc=_0x529c6e(_0x17bddc)||_0x17bddc);return _0x17bddc;},P=(_0x36360d,_0xbaadb1)=>(_0x6413d7,_0x4f485d)=>_0xbaadb1(_0x6413d7,_0x4f485d,_0x36360d),Ei=(_0x4345de=>(_0x4345de['NOT_COLLAB']='not_collab',_0x4345de[_0xe7476b(0x21f)]='synced',_0x4345de[_0xe7476b(0x11b)]='pending',_0x4345de['AWAITING']=_0xe7476b(0x247),_0x4345de['AWAITING_WITH_PENDING']=_0xe7476b(0x274),_0x4345de[_0xe7476b(0x1f6)]=_0xe7476b(0x106),_0x4345de['CONFLICT']=_0xe7476b(0x2fd),_0x4345de[_0xe7476b(0x3ba)]=_0xe7476b(0x297),_0x4345de))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x4bb926,_0x4df93e,_0x277a5e,_0x5e1be6,_0x36a10a,_0x24b362,_0x2a6c35,_0x371086,_0x4609ae){var _0x186157=_0xe7476b;N(this,_0x186157(0x382),null),N(this,_0x186157(0x262),[]),(this[_0x186157(0x2a9)]=_0x4bb926,this[_0x186157(0x366)]=_0x4df93e,this[_0x186157(0x1d3)]=_0x36a10a,this[_0x186157(0x35b)]=_0x24b362,this[_0x186157(0x125)]=_0x2a6c35,this[_0x186157(0x331)]=_0x371086,this[_0x186157(0x316)]=_0x4609ae,this[_0x186157(0x382)]=_0x277a5e,this[_0x186157(0x262)]=_0x5e1be6);}[_0xe7476b(0xf6)](_0x578819){var _0x360d4b=_0xe7476b;const _0x45cfce=this[_0x360d4b(0x331)][_0x360d4b(0x348)](this['unitID']);return _0x578819['revision']>_0x45cfce+0x1?(this[_0x360d4b(0x1d3)][_0x360d4b(0x13f)]({'from':_0x45cfce,'to':_0x578819[_0x360d4b(0xf4)]-0x1}),!0x0):!0x1;}[_0xe7476b(0x329)](_0x4fa978){var _0x2fc22=_0xe7476b;this[_0x2fc22(0x125)][_0x2fc22(0x23b)](this[_0x2fc22(0x2a9)],_0x4fa978);}[_0xe7476b(0x338)](_0x1b1240){var _0x2d359c=_0xe7476b,_0xfe7445,_0xec359d;(_0xec359d=(_0xfe7445=this['_handler'])[_0x2d359c(0x3a1)])==null||_0xec359d[_0x2d359c(0x290)](_0xfe7445,_0x1b1240);}[_0xe7476b(0x160)](_0x5e1481){var _0x10e09f=_0xe7476b,_0xa6363e,_0x1b946d;return(_0x1b946d=(_0xa6363e=this[_0x10e09f(0x1d3)])[_0x10e09f(0x12b)])==null?void 0x0:_0x1b946d[_0x10e09f(0x290)](_0xa6363e,_0x5e1481);}['_transformStateCache'](_0x45b681){var _0x21b030=_0xe7476b,_0x418630,_0x54ec5e;return(_0x54ec5e=(_0x418630=this[_0x21b030(0x1d3)])[_0x21b030(0x1db)])==null?void 0x0:_0x54ec5e[_0x21b030(0x290)](_0x418630,_0x45b681);}[_0xe7476b(0x215)](_0x28a9e8){var _0x21f53d=_0xe7476b,_0x233c12,_0x52973a,_0x1f75a3;return(_0x1f75a3=(_0x52973a=(_0x233c12=this[_0x21f53d(0x1d3)])[_0x21f53d(0x3e2)])==null?void 0x0:_0x52973a[_0x21f53d(0x290)](_0x233c12,_0x28a9e8))!=null?_0x1f75a3:_0x28a9e8;}[_0xe7476b(0x3ad)](_0x23d8ef){var _0x35ecba=_0xe7476b,_0x48783f,_0x48c8ca,_0x13c246;return(_0x13c246=(_0x48c8ca=(_0x48783f=this[_0x35ecba(0x1d3)])[_0x35ecba(0x37c)])==null?void 0x0:_0x48c8ca[_0x35ecba(0x290)](_0x48783f,_0x23d8ef))!=null?_0x13c246:_0x23d8ef;}[_0xe7476b(0x20e)](_0x436b3e){var _0x50c123=_0xe7476b,_0x55834e,_0x41fcaa;if(this['type']===Z[_0x50c123(0x25f)]){const {unitID:_0xc5a8a,mutations:_0xdad39e,memberID:_0x51e379}=_0x436b3e,_0x353bac=_0xdad39e[0x0]['params'][_0x50c123(0x2e5)];Array[_0x50c123(0x1c6)](_0x353bac)&&_0x353bac[_0x50c123(0x295)]>0x0&&((_0x41fcaa=(_0x55834e=this[_0x50c123(0x1d3)])[_0x50c123(0x1d7)])==null||_0x41fcaa['call'](_0x55834e,{'unitID':_0xc5a8a,'memberID':_0x51e379,'textRanges':_0x353bac}));}}[_0xe7476b(0x39d)](){var _0x40a064=_0xe7476b,_0x4b77f2;(_0x4b77f2=this[_0x40a064(0x316)])==null||_0x4b77f2['updateOfflineData'](this[_0x40a064(0x2a9)],this[_0x40a064(0x366)],this['_awaitingChangeset'],this[_0x40a064(0x262)]);}['_getCurrentRevision'](){var _0xba0d38=_0xe7476b;return this[_0xba0d38(0x331)][_0xba0d38(0x348)](this[_0xba0d38(0x2a9)]);}[_0xe7476b(0x364)](){var _0x2f74e1=_0xe7476b;this[_0x2f74e1(0x331)][_0x2f74e1(0x1bb)](this['unitID']);}[_0xe7476b(0x1c5)](_0x209c90){var _0x709959=_0xe7476b,_0x20131f;let _0x27db54=this['_transformRemoteChangesetByIMECache'](_0x209c90);_0x27db54=this[_0x709959(0x3ad)](_0x27db54);const _0x473ee7=_0x38a18d(_0x27db54[_0x709959(0x23e)],this[_0x709959(0x35b)],{'fromCollab':!0x0});if(!_0x473ee7[_0x709959(0x2ab)])throw _0x473ee7[_0x709959(0x33f)]instanceof Error?_0x473ee7[_0x709959(0x33f)]:new Error((_0x20131f=_0x473ee7[_0x709959(0x33f)])!=null?_0x20131f:_0x709959(0x391));this['_transformIMECache'](_0x27db54),this['_transformStateCache'](_0x27db54),this[_0x709959(0x329)](_0x209c90),this['_transformSelections'](_0x27db54),this[_0x709959(0x20e)](_0x27db54),this['_incrementRevisionNumber']();}}let ye=class extends Ie{constructor(_0x8fe075,_0x15268c,_0xdaff78,_0x416bf0,_0x3f1630,_0x4dfda9,_0xe03ce6,_0xf7bb6,_0x463bcc,_0x4f4bf2){var _0x237d93=_0xe7476b;super(_0x8fe075,_0x15268c,null,[],_0xdaff78,_0xe03ce6,_0x4dfda9,_0x416bf0,_0x4f4bf2),N(this,_0x237d93(0x302),_0x237d93(0x276)),(this[_0x237d93(0x284)]=_0x3f1630,this[_0x237d93(0x1e0)]=_0xf7bb6,this[_0x237d93(0x277)]=_0x463bcc,this[_0x237d93(0x13e)]=_0x4f4bf2);}[_0xe7476b(0x1ba)](_0x15da3e){var _0x5960c3=_0xe7476b;const _0x2bcf68=this[_0x5960c3(0x284)][_0x5960c3(0x163)](re,this[_0x5960c3(0x2a9)],this[_0x5960c3(0x366)],[_0x15da3e],this[_0x5960c3(0x1d3)]);return _0x2bcf68[_0x5960c3(0x15f)](),_0x2bcf68[_0x5960c3(0x39d)](),_0x2bcf68;}['onRemoteChangeset'](_0x465f80){var _0x1992c7=_0xe7476b;if(this[_0x1992c7(0xf6)](_0x465f80))return this[_0x1992c7(0x284)][_0x1992c7(0x163)](Q,this[_0x1992c7(0x2a9)],this['type'],null,[],null,[_0x465f80],this['_handler']);try{const _0x14720c=this[_0x1992c7(0x277)][_0x1992c7(0x38f)](_0x465f80,[$s]);if(_0x165956(_0x14720c)){const {c1Prime:_0x156efd}=_0x14720c;return this[_0x1992c7(0x1c5)](_0x156efd),this;}throw _0x14720c[_0x1992c7(0x33f)];}catch(_0x163ed6){return this[_0x1992c7(0x1e0)]['error'](_0x163ed6),this[_0x1992c7(0x21e)](!0x1);}}[_0xe7476b(0x21e)](_0x8a568b){var _0x299a83=_0xe7476b;return this[_0x299a83(0x284)][_0x299a83(0x163)](le,this[_0x299a83(0x2a9)],this[_0x299a83(0x366)],null,[],this['_handler'],_0x8a568b);}['onRemoteAck'](){var _0x2d69ed=_0xe7476b;throw new Error(_0x2d69ed(0xf1));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0xe7476b(0x2f3)](){return this;}[_0xe7476b(0x38c)](){var _0x411c1b=_0xe7476b;return this['_injector'][_0x411c1b(0x163)](ue,this['unitID'],this['type'],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0xe7476b(0x31e)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xe7476b(0x26d)](){var _0x1904d3=_0xe7476b;const _0x223463=this[_0x1904d3(0x331)]['getCurrentRevOfUnit'](this[_0x1904d3(0x2a9)]);return this[_0x1904d3(0x1d3)][_0x1904d3(0x13f)]({'from':_0x223463,'to':0x0}),this[_0x1904d3(0x284)][_0x1904d3(0x163)](Q,this[_0x1904d3(0x2a9)],this[_0x1904d3(0x366)],null,[],null,[],this[_0x1904d3(0x1d3)]);}};ye=Ee([P(0x3,_0x3ab451(_0x243094)),P(0x4,_0x3ab451(_0x494864)),P(0x5,_0x2a0c90),P(0x6,_0x22ca1b),P(0x7,_0x5d58e7),P(0x8,_0x2a49de),P(0x9,_0x101caa(J))],ye);let re=class extends Ie{constructor(_0x6c7c91,_0x467d94,_0x1f17d,_0x19600a,_0x1434f1,_0x402a1b,_0x5db050,_0x1ad291,_0x2dffee,_0x5ab326,_0x71d0b9,_0x1c48fe,_0x216338,_0x4fe369){var _0x1c1546=_0xe7476b;super(_0x6c7c91,_0x467d94,null,_0x1f17d,_0x19600a,_0x2dffee,_0x216338,_0x402a1b,_0x4fe369),N(this,_0x1c1546(0x302),'pending'),N(this,_0x1c1546(0x386),null),N(this,_0x1c1546(0x288),null),(this[_0x1c1546(0x284)]=_0x1434f1,this[_0x1c1546(0x3b9)]=_0x5db050,this['_logService']=_0x1ad291,this[_0x1c1546(0x29f)]=_0x5ab326,this[_0x1c1546(0x277)]=_0x71d0b9,this['_univerInstanceService']=_0x1c48fe);}[_0xe7476b(0x1ba)](_0x431db9){var _0x46d282=_0xe7476b;return this[_0x46d282(0x262)]['push'](_0x431db9),this[_0x46d282(0x39d)](),this;}[_0xe7476b(0x11f)](_0x2456db){var _0x20b92b=_0xe7476b;if(this[_0x20b92b(0xf6)](_0x2456db))return this[_0x20b92b(0x311)](),this[_0x20b92b(0x284)][_0x20b92b(0x163)](Q,this[_0x20b92b(0x2a9)],this[_0x20b92b(0x366)],null,this['_pendingMutations'],null,[_0x2456db],this[_0x20b92b(0x1d3)]);try{const _0x37fb18=this[_0x20b92b(0x277)][_0x20b92b(0x38f)](_0x2456db,this[_0x20b92b(0x262)]);if(_0x165956(_0x37fb18)){const {c1Prime:_0x2f5d8a,m2Prime:_0x4aa69e}=_0x37fb18;this[_0x20b92b(0x1c5)](_0x2f5d8a);const _0x1d94d0=this[_0x20b92b(0x284)][_0x20b92b(0x163)](re,this[_0x20b92b(0x2a9)],this[_0x20b92b(0x366)],_0x4aa69e,this[_0x20b92b(0x1d3)]);this[_0x20b92b(0x311)]();const _0x8301fa=new Date()[_0x20b92b(0x2bd)](),_0x2081e5=this['_scheduleCompleteTimestamp']?Math[_0x20b92b(0x108)](this[_0x20b92b(0x386)]-_0x8301fa,0x0):this['_getSendChangesetTimeout']();return _0x1d94d0[_0x20b92b(0x15f)](_0x2081e5),_0x1d94d0;}throw _0x37fb18[_0x20b92b(0x33f)];}catch(_0x5da0bc){return this[_0x20b92b(0x1e0)][_0x20b92b(0x33f)](_0x5da0bc),this[_0x20b92b(0x21e)](!0x1);}}[_0xe7476b(0x372)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0xe7476b(0x2b0)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0xe7476b(0x38c)](){var _0x560f0c=_0xe7476b;return this[_0x560f0c(0x311)](),this[_0x560f0c(0x284)]['createInstance'](ue,this['unitID'],this[_0x560f0c(0x366)],null,this[_0x560f0c(0x262)],this[_0x560f0c(0x1d3)]);}[_0xe7476b(0x343)](){return this;}[_0xe7476b(0x15f)](_0xaaac9d){var _0x22685d=_0xe7476b;const _0x351711=_0xaaac9d!=null?_0xaaac9d:this[_0x22685d(0x143)]();this[_0x22685d(0x386)]=new Date()[_0x22685d(0x2bd)]()+_0x351711,this[_0x22685d(0x288)]=setTimeout(()=>{var _0xa0a7f0=_0x22685d;this[_0xa0a7f0(0x311)]();let _0x480a40=null;switch(this[_0xa0a7f0(0x366)]){case Z[_0xa0a7f0(0x2f4)]:{_0x480a40=Wt(this['_pendingMutations'],this[_0xa0a7f0(0x2a9)],this['_univerInstanceService'],this[_0xa0a7f0(0x331)],this[_0xa0a7f0(0x3b9)]);break;}case Z[_0xa0a7f0(0x25f)]:{this['_pendingMutations'][_0xa0a7f0(0x12a)](_0xb7db34=>_0xb7db34['id']===_0x2dc2b3['id'])?_0x480a40=ks(this[_0xa0a7f0(0x262)],this[_0xa0a7f0(0x2a9)],this[_0xa0a7f0(0x257)],this[_0xa0a7f0(0x331)],this['_memberService']):_0x480a40=Wt(this[_0xa0a7f0(0x262)],this['unitID'],this[_0xa0a7f0(0x257)],this['_revisionService'],this[_0xa0a7f0(0x3b9)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0xa0a7f0(0x366)]+_0xa0a7f0(0x208));}const {changeset:_0x3178cc,pendingMutations:_0x25f60c}=_0x480a40;this['_handler'][_0xa0a7f0(0x1b2)](_0x3178cc);const _0x54d0be=_0x25f60c[_0xa0a7f0(0x295)]?this[_0xa0a7f0(0x284)][_0xa0a7f0(0x163)](ae,this['unitID'],this[_0xa0a7f0(0x366)],_0x3178cc,_0x25f60c,this[_0xa0a7f0(0x1d3)],void 0x0):this[_0xa0a7f0(0x284)][_0xa0a7f0(0x163)](_e,this['unitID'],this[_0xa0a7f0(0x366)],_0x3178cc,this[_0xa0a7f0(0x1d3)]);_0x54d0be[_0xa0a7f0(0x39d)](),this[_0xa0a7f0(0x1d3)]['onStateChange'](this,_0x54d0be);},_0x351711);}[_0xe7476b(0x143)](){var _0xde3267=_0xe7476b,_0x50af11;const _0x3a4ee1=this['_configService'][_0xde3267(0x178)](K);return(_0x50af11=_0x3a4ee1==null?void 0x0:_0x3a4ee1['sendChangesetTimeout'])!=null?_0x50af11:ps;}[_0xe7476b(0x31e)](){var _0x3ba5be=_0xe7476b;throw new Error(_0x3ba5be(0x2d3));}[_0xe7476b(0x311)](){var _0x2392d6=_0xe7476b;this['_sendingTimer']!=null&&(clearTimeout(this[_0x2392d6(0x288)]),this[_0x2392d6(0x288)]=null);}[_0xe7476b(0x21e)](_0x252ab7){var _0xdefdef=_0xe7476b;return this[_0xdefdef(0x311)](),this['_injector'][_0xdefdef(0x163)](le,this[_0xdefdef(0x2a9)],this[_0xdefdef(0x366)],null,this[_0xdefdef(0x262)],this[_0xdefdef(0x1d3)],_0x252ab7);}};re=Ee([P(0x4,_0x3ab451(_0x494864)),P(0x5,_0x3ab451(_0x243094)),P(0x6,_0x3ab451(we)),P(0x7,_0x5d58e7),P(0x8,_0x22ca1b),P(0x9,_0x2c6e2),P(0xa,_0x2a49de),P(0xb,_0x564314),P(0xc,_0x2a0c90),P(0xd,_0x101caa(J))],re);let _e=class extends Ie{constructor(_0x2d5957,_0x41593a,_0x528cc0,_0x53fef4,_0x4e9880,_0x310f7d,_0x10fc22,_0x3e7e99,_0x1981fd,_0x1f85ef,_0x2e4505){var _0x2a9b80=_0xe7476b;super(_0x2d5957,_0x41593a,_0x528cc0,[],_0x53fef4,_0x10fc22,_0x1f85ef,_0x310f7d,_0x2e4505),N(this,_0x2a9b80(0x302),_0x2a9b80(0x247)),N(this,_0x2a9b80(0x3a8),0x0),N(this,'_resendTimer'),N(this,_0x2a9b80(0x3ca)),(this['_injector']=_0x4e9880,this[_0x2a9b80(0x1e0)]=_0x3e7e99,this[_0x2a9b80(0x277)]=_0x1981fd);}[_0xe7476b(0x1ba)](_0x463708){var _0x21a50a=_0xe7476b;this[_0x21a50a(0x311)]();const _0x18ff01=this[_0x21a50a(0x284)][_0x21a50a(0x163)](ae,this[_0x21a50a(0x2a9)],this[_0x21a50a(0x366)],this[_0x21a50a(0x382)],[_0x463708],this['_handler'],this[_0x21a50a(0x3c0)]);return _0x18ff01['_updateLocalCache'](),_0x18ff01;}[_0xe7476b(0x11f)](_0xefdd8d){var _0xfd0e34=_0xe7476b;if(this['_checkMissing'](_0xefdd8d))return this[_0xfd0e34(0x311)](),this[_0xfd0e34(0x284)][_0xfd0e34(0x163)](Q,this[_0xfd0e34(0x2a9)],this[_0xfd0e34(0x366)],this['_awaitingChangeset'],[],null,[_0xefdd8d],this['_handler']);try{const _0x1c2e1f=this[_0xfd0e34(0x277)]['transformChangesets']([_0xefdd8d],[this[_0xfd0e34(0x382)]],!0x1);if(_0xbb04f0(_0x1c2e1f)){const {c1Prime:_0x4a8ff7,c2Prime:_0x5609e1}=_0x1c2e1f;this[_0xfd0e34(0x1c5)](_0x4a8ff7[0x0]),_0x5609e1[0x0][_0xfd0e34(0x2dd)]=this[_0xfd0e34(0x3c6)](),this[_0xfd0e34(0x311)]();const _0x525a0d=this[_0xfd0e34(0x284)][_0xfd0e34(0x163)](_e,this['unitID'],this[_0xfd0e34(0x366)],_0x5609e1[0x0],this[_0xfd0e34(0x1d3)]);return _0x525a0d[_0xfd0e34(0x39d)](),_0x525a0d;}return this[_0xfd0e34(0x21e)](!0x1);}catch(_0x7b6e90){return this['_logService'][_0xfd0e34(0x33f)](_0x7b6e90),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x51b598){var _0x50537a=_0xe7476b;this[_0x50537a(0x311)]();const _0x559e0f=this['_revisionService']['getCurrentRevOfUnit'](this[_0x50537a(0x2a9)]);if(_0x51b598[_0x50537a(0xf4)]<_0x559e0f-0x1)return this;if(this['_checkMissing'](_0x51b598))return this[_0x50537a(0x284)]['createInstance'](Q,this[_0x50537a(0x2a9)],this['type'],null,[],this[_0x50537a(0x382)],[],this[_0x50537a(0x1d3)]);this['_incrementRevisionNumber']();const _0x3610c4=this[_0x50537a(0x284)]['createInstance'](ye,this[_0x50537a(0x2a9)],this[_0x50537a(0x366)],this[_0x50537a(0x1d3)]);return _0x3610c4[_0x50537a(0x39d)](),_0x3610c4;}[_0xe7476b(0x2b0)](_0x280e87){var _0x3f22d7=_0xe7476b;return this[_0x3f22d7(0x21e)](!!(_0x280e87!=null&&_0x280e87[_0x3f22d7(0x10a)]));}[_0xe7476b(0x2f3)](_0x3ccf67){var _0x46eb17=_0xe7476b;return this[_0x46eb17(0x3a8)]>Ii?this[_0x46eb17(0x38c)]():(this[_0x46eb17(0x3c0)]=Si(this[_0x46eb17(0x3a8)],{'timeout':this[_0x46eb17(0x3a8)],'reqId':_0x3ccf67['reqId']}),this[_0x46eb17(0x3ca)]=this[_0x46eb17(0x3c0)][_0x46eb17(0x2b4)](({reqId:_0x55751c,timeout:_0x583dc2})=>{var _0x218208=_0x46eb17;this[_0x218208(0x35c)](_0x55751c,_0x583dc2);}),this);}['toggleOffline'](){var _0x2251ff=_0xe7476b;return this['_clearScheduledTask'](),this[_0x2251ff(0x284)][_0x2251ff(0x163)](ue,this[_0x2251ff(0x2a9)],this['type'],this[_0x2251ff(0x382)],[],this['_handler']);}[_0xe7476b(0x343)](){return this;}[_0xe7476b(0x31e)](){var _0x41d3ae=_0xe7476b;this['_handler'][_0x41d3ae(0x1b2)](this[_0x41d3ae(0x382)]);}[_0xe7476b(0x21e)](_0x389b8c){var _0xfbd067=_0xe7476b;return this[_0xfbd067(0x311)](),this[_0xfbd067(0x284)][_0xfbd067(0x163)](le,this[_0xfbd067(0x2a9)],this[_0xfbd067(0x366)],this[_0xfbd067(0x382)],[],this['_handler'],_0x389b8c);}[_0xe7476b(0x35c)](_0x27b75f,_0x1f4220){var _0x20df07=_0xe7476b,_0x53f713;_0x27b75f===((_0x53f713=this[_0x20df07(0x382)])==null?void 0x0:_0x53f713[_0x20df07(0x14e)])&&(this[_0x20df07(0x31e)](),this[_0x20df07(0x3a8)]=_0x1f4220===0x0?0x3e8:_0x1f4220*0x2);}[_0xe7476b(0x311)](){var _0x1e800e=_0xe7476b,_0x760a5;(_0x760a5=this[_0x1e800e(0x3ca)])==null||_0x760a5[_0x1e800e(0x319)](),this[_0x1e800e(0x3a8)]=0x0;}};_e=Ee([P(0x4,_0x3ab451(_0x494864)),P(0x5,_0x3ab451(_0x243094)),P(0x6,_0x22ca1b),P(0x7,_0x5d58e7),P(0x8,_0x2a49de),P(0x9,_0x2a0c90),P(0xa,_0x101caa(J))],_e);let ae=class extends Ie{constructor(_0x4b4ac7,_0x3394a4,_0x37c6e5,_0x1ada6b,_0x38ecee,_0xee07ad,_0x498010,_0x1496cb,_0x1786c8,_0x1ffba8,_0x2caa7b,_0x25388f,_0x31e100){var _0x22c490=_0xe7476b;super(_0x4b4ac7,_0x3394a4,_0x37c6e5,_0x1ada6b,_0x38ecee,_0x1786c8,_0x25388f,_0x1496cb,_0x31e100),N(this,_0x22c490(0x302),_0x22c490(0x274)),N(this,_0x22c490(0x3a8),0x0),N(this,_0x22c490(0x3c0)),N(this,_0x22c490(0x3ca)),(this['_injector']=_0x498010,this['_logService']=_0x1ffba8,this[_0x22c490(0x277)]=_0x2caa7b,this[_0x22c490(0x13e)]=_0x31e100,_0xee07ad&&(this[_0x22c490(0x3c0)]=_0xee07ad,this[_0x22c490(0x3ca)]=this[_0x22c490(0x3c0)][_0x22c490(0x2b4)](({reqId:_0x2f9cc0,timeout:_0x5a12e8})=>{this['_resendWithTimeout'](_0x2f9cc0,_0x5a12e8);})));}['appendMutation'](_0x410299){var _0x33511a=_0xe7476b;return this[_0x33511a(0x262)][_0x33511a(0x146)](_0x410299),this;}[_0xe7476b(0x11f)](_0x32e9ce){var _0x25564d=_0xe7476b;if(this['_checkMissing'](_0x32e9ce))return this[_0x25564d(0x311)](),this[_0x25564d(0x284)]['createInstance'](Q,this[_0x25564d(0x2a9)],this[_0x25564d(0x366)],this[_0x25564d(0x382)],this[_0x25564d(0x262)],null,[_0x32e9ce],this[_0x25564d(0x1d3)]);try{const _0x1a2cf4=this[_0x25564d(0x277)][_0x25564d(0x1bd)]([_0x32e9ce],[this['_awaitingChangeset']],!0x1);if(_0xbb04f0(_0x1a2cf4)){const {c1Prime:_0x63579b,c2Prime:_0x12ba48}=_0x1a2cf4,_0x581e12=this[_0x25564d(0x277)][_0x25564d(0x38f)](_0x63579b[0x0],this[_0x25564d(0x262)]);if(_0x165956(_0x581e12)){const {c1Prime:_0x5ed140,m2Prime:_0x4293f1}=_0x581e12;return this[_0x25564d(0x1c5)](_0x5ed140),_0x12ba48[0x0][_0x25564d(0x2dd)]=this[_0x25564d(0x3c6)](),this[_0x25564d(0x311)](),this[_0x25564d(0x284)][_0x25564d(0x163)](ae,this[_0x25564d(0x2a9)],this[_0x25564d(0x366)],_0x12ba48[0x0],_0x4293f1,this[_0x25564d(0x1d3)],void 0x0);}throw _0x581e12['error'];}throw _0x1a2cf4[_0x25564d(0x33f)];}catch(_0x589d8d){return this[_0x25564d(0x1e0)][_0x25564d(0x33f)](_0x589d8d),this[_0x25564d(0x21e)](!0x1);}}[_0xe7476b(0x372)](_0x2ef138){var _0x259448=_0xe7476b;if(this[_0x259448(0x311)](),this['_checkMissing'](_0x2ef138))return this['_injector'][_0x259448(0x163)](Q,this[_0x259448(0x2a9)],this[_0x259448(0x366)],null,this[_0x259448(0x262)],this[_0x259448(0x382)],[],this[_0x259448(0x1d3)]);this[_0x259448(0x364)]();const _0x43074c=this[_0x259448(0x284)][_0x259448(0x163)](re,this['unitID'],this[_0x259448(0x366)],this[_0x259448(0x262)],this[_0x259448(0x1d3)]);return _0x43074c[_0x259448(0x15f)](),_0x43074c['_updateLocalCache'](),_0x43074c;}[_0xe7476b(0x2b0)](_0x269c81){var _0x5b643b=_0xe7476b;return this[_0x5b643b(0x21e)](!!(_0x269c81!=null&&_0x269c81['isPermissionRej']));}[_0xe7476b(0x2f3)](_0x48259d){var _0x2f6bba=_0xe7476b;return this[_0x2f6bba(0x3a8)]>Ii?this[_0x2f6bba(0x38c)]():(this[_0x2f6bba(0x3c0)]=Si(this[_0x2f6bba(0x3a8)],{'timeout':this[_0x2f6bba(0x3a8)],'reqId':_0x48259d[_0x2f6bba(0x14e)]}),this[_0x2f6bba(0x3ca)]=this['_resendTimer'][_0x2f6bba(0x2b4)](({reqId:_0x587813,timeout:_0x2106a7})=>{var _0x47ca34=_0x2f6bba;this[_0x47ca34(0x35c)](_0x587813,_0x2106a7);}),this);}[_0xe7476b(0x38c)](){var _0x213e35=_0xe7476b;return this[_0x213e35(0x311)](),this[_0x213e35(0x284)][_0x213e35(0x163)](ue,this[_0x213e35(0x2a9)],this[_0x213e35(0x366)],this['_awaitingChangeset'],this[_0x213e35(0x262)],this[_0x213e35(0x1d3)]);}[_0xe7476b(0x343)](){return this;}[_0xe7476b(0x31e)](){var _0x3ad3c9=_0xe7476b;this['_handler'][_0x3ad3c9(0x1b2)](this[_0x3ad3c9(0x382)]);}['_onConflict'](_0x54922b){var _0x53dd61=_0xe7476b;return this[_0x53dd61(0x311)](),this[_0x53dd61(0x284)][_0x53dd61(0x163)](le,this['unitID'],this['type'],null,this[_0x53dd61(0x262)],this[_0x53dd61(0x1d3)],_0x54922b);}[_0xe7476b(0x35c)](_0x2251fa,_0x5789e1){var _0x4ba4b7=_0xe7476b,_0x1774ee;_0x2251fa===((_0x1774ee=this[_0x4ba4b7(0x382)])==null?void 0x0:_0x1774ee[_0x4ba4b7(0x14e)])&&(this[_0x4ba4b7(0x31e)](),this['_resendTimeout']=_0x5789e1===0x0?0x3e8:_0x5789e1*0x2);}['_clearScheduledTask'](){var _0x32d1d9=_0xe7476b,_0x47de41;(_0x47de41=this['_sender'])==null||_0x47de41[_0x32d1d9(0x319)](),this['_resendTimeout']=0x0;}};ae=Ee([P(0x6,_0x3ab451(_0x494864)),P(0x7,_0x3ab451(_0x243094)),P(0x8,_0x22ca1b),P(0x9,_0x5d58e7),P(0xa,_0x2a49de),P(0xb,_0x2a0c90),P(0xc,_0x101caa(J))],ae);let le=class extends Ie{constructor(_0x419dce,_0x47f1b5,_0x51d6b7,_0x1afa6f,_0x2bb3f3,_0x43376d=!0x1,_0x421ed9,_0x318e3c,_0x22737f,_0x44ed3f,_0x2bc341,_0x37d783,_0x28bb70){var _0x539d8a=_0xe7476b;super(_0x419dce,_0x47f1b5,_0x51d6b7,_0x1afa6f,_0x2bb3f3,_0x318e3c,_0x22737f,_0x44ed3f,_0x28bb70),N(this,_0x539d8a(0x302),_0x539d8a(0x2fd)),(this[_0x539d8a(0x18c)]=_0x43376d,this['_permissionService']=_0x421ed9,this[_0x539d8a(0x126)]=_0x2bc341,this[_0x539d8a(0x34d)]=_0x37d783,this[_0x539d8a(0x13e)]=_0x28bb70,this[_0x539d8a(0x2e6)](),this[_0x539d8a(0x191)](),this[_0x539d8a(0x2ae)]());}[_0xe7476b(0x1ba)](){return this;}[_0xe7476b(0x11f)](){return this;}[_0xe7476b(0x372)](){return this;}[_0xe7476b(0x2b0)](){return this;}[_0xe7476b(0x2f3)](){return this;}[_0xe7476b(0x38c)](){return this;}[_0xe7476b(0x343)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xe7476b(0x191)](){var _0x3da3e4=_0xe7476b,_0x232327;(_0x232327=this['_localCacheService'])==null||_0x232327[_0x3da3e4(0x10d)](this[_0x3da3e4(0x2a9)],this[_0x3da3e4(0x366)],null,[]);}[_0xe7476b(0x2e6)](){var _0x38475a=_0xe7476b;this[_0x38475a(0x18c)]?this[_0x38475a(0x34d)][_0x38475a(0x385)]({'id':ne['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x38475a(0x385)]({'id':ne[_0x38475a(0x35f)]});}['_disableEditing'](){var _0x8442cd=_0xe7476b;this['_permissionService'][_0x8442cd(0xf0)](new _0x350486(this[_0x8442cd(0x2a9)])['id'],!0x1);}};le=Ee([P(0x6,_0x3ab451(_0x1752a3)),P(0x7,_0x22ca1b),P(0x8,_0x2a0c90),P(0x9,_0x3ab451(_0x243094)),P(0xa,_0x3ab451(_0x4edbc8)),P(0xb,_0x3ab451(ve)),P(0xc,_0x101caa(J))],le);let ue=class extends Ie{constructor(_0xf42e97,_0x2f4c8f,_0x1cfa7d,_0x101c75,_0x4c7833,_0x74b85,_0x4442ac,_0x1656cd,_0x223ef9,_0x5f5d40){var _0x1d5380=_0xe7476b;super(_0xf42e97,_0x2f4c8f,_0x1cfa7d,_0x101c75,_0x4c7833,_0x1656cd,_0x223ef9,_0x4442ac,_0x5f5d40),N(this,_0x1d5380(0x302),_0x1d5380(0x297)),this[_0x1d5380(0x284)]=_0x74b85;}[_0xe7476b(0x1ba)](_0x2794f5){var _0x431ba8=_0xe7476b;return this[_0x431ba8(0x262)][_0x431ba8(0x146)](_0x2794f5),this['_updateLocalCache'](),this;}[_0xe7476b(0x11f)](_0x58e280){var _0xaa3b9e=_0xe7476b;throw new Error(_0xaa3b9e(0x328));}['onRemoteAck'](){var _0x53a6be=_0xe7476b;throw new Error(_0x53a6be(0x398));}[_0xe7476b(0x2b0)](){var _0xe8f367=_0xe7476b;throw new Error(_0xe8f367(0x1b6));}[_0xe7476b(0x2f3)](){return this;}['toggleOffline'](){return this;}[_0xe7476b(0x343)](){var _0x2c1762=_0xe7476b;const {_injector:_0x2f3448,_pendingMutations:_0x434c60,_awaitingChangeset:_0x2d1288,unitID:_0x284482,_handler:_0x9ea6f0,type:_0x602ce8}=this,_0x2c9472=Ti(_0x2f3448,_0x284482,_0x602ce8,_0x2d1288,_0x434c60,_0x9ea6f0);return _0x2c9472 instanceof re?_0x2c9472[_0x2c1762(0x15f)]():(_0x2c9472 instanceof ae||_0x2c9472 instanceof _e)&&_0x2c9472[_0x2c1762(0x31e)](),_0x2c9472;}[_0xe7476b(0x31e)](){var _0x39f7a0=_0xe7476b;throw new Error(_0x39f7a0(0x19d));}};ue=Ee([P(0x5,_0x3ab451(_0x494864)),P(0x6,_0x3ab451(_0x243094)),P(0x7,_0x22ca1b),P(0x8,_0x2a0c90),P(0x9,_0x101caa(J))],ue);let Q=class extends Ie{constructor(_0x16a82b,_0x1180a3,_0x4619e6,_0x47de35,_0x129679,_0x2ae9c4,_0xb5982c,_0xf0f51,_0xc2ede1,_0x27c4f6,_0x2fd9ac,_0x5d4619,_0x4b663b,_0x10f355){var _0x26a9ba=_0xe7476b;super(_0x16a82b,_0x1180a3,_0x4619e6,_0x47de35,_0xb5982c,_0x2fd9ac,_0x5d4619,_0xc2ede1,_0x10f355),N(this,_0x26a9ba(0x302),_0x26a9ba(0x106)),(this['_acknowledgedAwaitingChangeset']=_0x129679,this[_0x26a9ba(0x14d)]=_0x2ae9c4,this[_0x26a9ba(0x284)]=_0xf0f51,this[_0x26a9ba(0x1e0)]=_0x27c4f6,this[_0x26a9ba(0x277)]=_0x4b663b,this[_0x26a9ba(0x13e)]=_0x10f355);}['onMissedChangesetFetched'](_0x22f2c9){var _0x1e20d9=_0xe7476b;try{const _0x3e6382=[..._0x22f2c9,...this['_queuedRemoteChangesets']],_0x382494=[this[_0x1e20d9(0x382)]||this[_0x1e20d9(0x325)]][_0x1e20d9(0x26a)](_0x5ed172=>!!_0x5ed172);let _0x2dbc9c,_0x5546f0;if(_0x382494['length']){const _0x3dc26a=this[_0x1e20d9(0x277)][_0x1e20d9(0x1bd)](_0x3e6382,_0x382494,!0x1);if(!_0xbb04f0(_0x3dc26a))throw _0x3dc26a['error'];_0x2dbc9c=_0x3dc26a['c1Prime'],_0x5546f0=_0x3dc26a['c2Prime'];}else _0x2dbc9c=_0x3e6382,_0x5546f0=[];let _0x31b3a7=this[_0x1e20d9(0x262)];_0x2dbc9c[_0x1e20d9(0x21a)](_0x4a880e=>{var _0x42b336=_0x1e20d9;let _0x389bf9;if(_0x31b3a7[_0x42b336(0x295)]){const _0x396a9e=this[_0x42b336(0x277)]['transformMutationsWithChangeset'](_0x4a880e,_0x31b3a7);if(!_0x165956(_0x396a9e))throw _0x396a9e[_0x42b336(0x33f)];_0x389bf9=_0x396a9e['c1Prime'],_0x31b3a7=_0x396a9e['m2Prime'];}else _0x389bf9=_0x4a880e;this[_0x42b336(0x1c5)](_0x389bf9);}),this[_0x1e20d9(0x325)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x5546f0[_0x1e20d9(0x295)]&&(_0x5546f0[0x0]['baseRev']=this['_getCurrentRevision']());let _0x36fdc0;if(this['_awaitingChangeset']&&_0x31b3a7[_0x1e20d9(0x295)]!==0x0)_0x36fdc0=this['_injector'][_0x1e20d9(0x163)](ae,this[_0x1e20d9(0x2a9)],this[_0x1e20d9(0x366)],_0x5546f0[0x0],_0x31b3a7,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x31b3a7[_0x1e20d9(0x295)]===0x0)_0x5546f0[0x0][_0x1e20d9(0x2dd)]=this['_getCurrentRevision'](),_0x36fdc0=this[_0x1e20d9(0x284)]['createInstance'](_e,this['unitID'],this['type'],_0x5546f0[0x0],this['_handler']);else{if(_0x31b3a7[_0x1e20d9(0x295)]!==0x0){const _0x5bf280=this[_0x1e20d9(0x284)]['createInstance'](re,this[_0x1e20d9(0x2a9)],this[_0x1e20d9(0x366)],_0x31b3a7,this[_0x1e20d9(0x1d3)]);_0x5bf280[_0x1e20d9(0x15f)](),_0x36fdc0=_0x5bf280;}else _0x36fdc0=this[_0x1e20d9(0x284)][_0x1e20d9(0x163)](ye,this[_0x1e20d9(0x2a9)],this[_0x1e20d9(0x366)],this[_0x1e20d9(0x1d3)]);}}return _0x36fdc0['_updateLocalCache'](),_0x36fdc0;}catch(_0x183fd8){return this['_logService'][_0x1e20d9(0x33f)](_0x1e20d9(0x1e8),_0x1e20d9(0x27b),_0x183fd8),this[_0x1e20d9(0x284)]['createInstance'](le,this[_0x1e20d9(0x2a9)],this['type'],this[_0x1e20d9(0x382)],this[_0x1e20d9(0x262)],this[_0x1e20d9(0x1d3)],!0x1);}}[_0xe7476b(0x31e)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xe7476b(0x1ba)](_0x3af72f){var _0x2671e8=_0xe7476b;return this[_0x2671e8(0x262)][_0x2671e8(0x146)](_0x3af72f),this;}['onRemoteChangeset'](_0x5bf9bb){var _0x3e9214=_0xe7476b;return this[_0x3e9214(0x14d)][_0x3e9214(0x146)](_0x5bf9bb),this;}[_0xe7476b(0x372)](_0x11792a){var _0x31cf97=_0xe7476b;if(this[_0x31cf97(0x382)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x31cf97(0x370));}[_0xe7476b(0x2b0)](_0x52581d){var _0x4d1d3a=_0xe7476b;return this[_0x4d1d3a(0x21e)](!!(_0x52581d!=null&&_0x52581d[_0x4d1d3a(0x10a)]));}[_0xe7476b(0x2f3)](){return this;}[_0xe7476b(0x38c)](){var _0x57b5a9=_0xe7476b;return this['_injector'][_0x57b5a9(0x163)](ue,this['unitID'],this[_0x57b5a9(0x366)],this[_0x57b5a9(0x382)],this[_0x57b5a9(0x262)],this[_0x57b5a9(0x1d3)]);}['toggleOnline'](){return this;}[_0xe7476b(0x21e)](_0x25b0a6){var _0x4c8989=_0xe7476b;return this[_0x4c8989(0x284)]['createInstance'](le,this[_0x4c8989(0x2a9)],this[_0x4c8989(0x366)],this[_0x4c8989(0x382)],this[_0x4c8989(0x262)],this[_0x4c8989(0x1d3)],_0x25b0a6);}};Q=Ee([P(0x7,_0x3ab451(_0x494864)),P(0x8,_0x3ab451(_0x243094)),P(0x9,_0x5d58e7),P(0xa,_0x22ca1b),P(0xb,_0x2a0c90),P(0xc,_0x2a49de),P(0xd,_0x101caa(J))],Q);function Ti(_0x22825e,_0x3d37f3,_0x554822,_0x15479c,_0x49db12,_0x34821f){var _0x3785fb=_0xe7476b;return _0x15479c&&_0x49db12[_0x3785fb(0x295)]?_0x22825e[_0x3785fb(0x163)](ae,_0x3d37f3,_0x554822,_0x15479c,_0x49db12,_0x34821f,void 0x0):_0x15479c?_0x22825e[_0x3785fb(0x163)](_e,_0x3d37f3,_0x554822,_0x15479c,_0x34821f):_0x49db12['length']?_0x22825e[_0x3785fb(0x163)](re,_0x3d37f3,_0x554822,_0x49db12,_0x34821f):_0x22825e[_0x3785fb(0x163)](ye,_0x3d37f3,_0x554822,_0x34821f);}var Bs=Object[_0xe7476b(0x2af)],wt=(_0x49a96d,_0xab67a,_0x17342d,_0x2aac55)=>{var _0x570cd1=_0xe7476b;for(var _0x2411b6=_0x2aac55>0x1?void 0x0:_0x2aac55?Bs(_0xab67a,_0x17342d):_0xab67a,_0x5c9684=_0x49a96d[_0x570cd1(0x295)]-0x1,_0x4a21b9;_0x5c9684>=0x0;_0x5c9684--)(_0x4a21b9=_0x49a96d[_0x5c9684])&&(_0x2411b6=_0x4a21b9(_0x2411b6)||_0x2411b6);return _0x2411b6;},H=(_0x102e85,_0x1c9212)=>(_0x30ea0c,_0x2ab8b0)=>_0x1c9212(_0x30ea0c,_0x2ab8b0,_0x102e85);let st=class extends _0x596c5c{constructor(_0x421b83,_0x1efb2a,_0x32a46f,_0x2ac9f9,_0x2bca4d,_0x3b2f08,_0x5b93d2,_0x54ffb3,_0x7ce390,_0x42d7ce,_0x43260b,_0x2d14a7,_0x1d8537){var _0xda259a=_0xe7476b;super(),N(this,_0xda259a(0x27d),new _0x1c92f2(null)),N(this,_0xda259a(0x3d3),this[_0xda259a(0x27d)][_0xda259a(0x2be)]()),N(this,_0xda259a(0x3de)),N(this,_0xda259a(0x1f1),!0x1),N(this,_0xda259a(0x27c),''),N(this,_0xda259a(0x270),0x0),N(this,_0xda259a(0x3b4),this[_0xda259a(0x3d3)][_0xda259a(0x2d0)](_0x30b9d3(_0xde06ac=>_0xde06ac?_0xde06ac[_0xda259a(0x302)]:Ei['OFFLINE']),_0x5124cb(0x1))),N(this,_0xda259a(0x2c4),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0xda259a(0x2a9)]=_0x421b83,this['session']=_0x1efb2a,this[_0xda259a(0x2a3)]=_0x32a46f,this[_0xda259a(0x284)]=_0x2ac9f9,this['_compressMutationService']=_0x2bca4d,this['_localeService']=_0x3b2f08,this['_revisionService']=_0x5b93d2,this['_eventService']=_0x54ffb3,this[_0xda259a(0x1e0)]=_0x7ce390,this[_0xda259a(0x35b)]=_0x42d7ce,this['_permissionService']=_0x43260b,this['_singleActiveUnitService']=_0x2d14a7,this[_0xda259a(0x316)]=_0x1d8537);}get[_0xe7476b(0x2d2)](){return this['_state'];}async[_0xe7476b(0x1a7)](){var _0x145daa=_0xe7476b;if(this[_0x145daa(0x2d2)])throw new Error(_0x145daa(0x151));await this[_0x145daa(0x2cb)]();}[_0xe7476b(0x3c4)](){return this['_collaborationPaused']=!0x0,_0x3ea293(()=>{var _0x388731=_0x33f0;this['_collaborationPaused']=!0x1,this[_0x388731(0x30e)]();});}[_0xe7476b(0x3e3)](_0xecb39d){this['_onLocalMutation'](_0xecb39d);}[_0xe7476b(0x205)](_0x257353){var _0x5594f4=_0xe7476b;this[_0x5594f4(0x3de)]=_0x257353,this[_0x5594f4(0x27d)][_0x5594f4(0x12c)](_0x257353);}async[_0xe7476b(0x2cb)](){var _0x472459=_0xe7476b,_0x55401e;this[_0x472459(0x205)](await this[_0x472459(0x28a)]()),this[_0x472459(0x34c)]&&((_0x55401e=this['_singleActiveUnitService'])==null||_0x55401e[_0x472459(0x2f8)](this[_0x472459(0x2a9)]),this[_0x472459(0x3a5)](this[_0x472459(0x34c)][_0x472459(0x359)](this['unitID'])[_0x472459(0x2b4)](_0x4dfa17=>{var _0x3a8d42=_0x472459;this[_0x3a8d42(0x1e0)][_0x3a8d42(0x2f1)](_0x3a8d42(0x31c),_0x3a8d42(0x1ac),_0x4dfa17),_0x4dfa17===gi['OTHER_CLIENTS_EDITING']?(this[_0x3a8d42(0x34f)]['emitEvent']({'id':ne['OTHER_CLIENT_EDITING']}),this[_0x3a8d42(0x2a4)][_0x3a8d42(0xf0)](new _0x350486(this[_0x3a8d42(0x2a9)])['id'],!0x1),this[_0x3a8d42(0x2a4)][_0x3a8d42(0x2c1)](!0x1)):(this[_0x3a8d42(0x2a4)][_0x3a8d42(0xf0)](new _0x350486(this[_0x3a8d42(0x2a9)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x2656b7=!0x1;return this['disposeWithMe'](this[_0x472459(0x1a4)][_0x472459(0x15c)]['subscribe'](_0x32c4ec=>{var _0x101dc3=_0x472459;_0x32c4ec===ge[_0x101dc3(0x38a)]?this['_toggleOnline'](_0x2656b7):_0x32c4ec===ge[_0x101dc3(0x3ba)]&&(_0x2656b7=!0x0,this['_toggleOffline']());})),this[_0x472459(0x3a5)](this[_0x472459(0x1a4)]['event$'][_0x472459(0x2b4)](_0x5331b0=>{var _0x256ead=_0x472459;try{switch(_0x5331b0[_0x256ead(0x36f)]){case _0x15f20d[_0x256ead(0x1c8)]:{this[_0x256ead(0x22b)](_0x1b8bd9(_0x5331b0[_0x256ead(0x182)]));break;}case _0x15f20d[_0x256ead(0x15e)]:{this[_0x256ead(0x3d4)](_0x5331b0['data']);break;}case _0x15f20d[_0x256ead(0x237)]:{this[_0x256ead(0xfa)]();break;}case _0x15f20d[_0x256ead(0x173)]:{this['_onRemoteRetry'](_0x5331b0[_0x256ead(0x182)]);break;}case _0x15f20d[_0x256ead(0x28d)]:{this[_0x256ead(0x2c3)](_0x5331b0[_0x256ead(0x182)][_0x256ead(0x2b2)][_0x256ead(0x267)](_0x4cb68b=>_0x1b8bd9(_0x4cb68b)));break;}case _0x15f20d['PERMISSION_REJ']:{this[_0x256ead(0xfa)]({'isPermissionRej':!0x0});break;}case _0x15f20d[_0x256ead(0x35e)]:break;}}catch(_0x260bb1){throw console[_0x256ead(0x33f)](_0x256ead(0x2cf),_0x260bb1),_0x260bb1;}})),this[_0x472459(0x3de)];}[_0xe7476b(0xf5)](){var _0x1b942f=_0xe7476b;this[_0x1b942f(0x2c4)]=!0x1;}['_lockTransition'](){var _0x16c61a=_0xe7476b;if(this[_0x16c61a(0x2c4)])throw new Error(_0x16c61a(0x1f8));this[_0x16c61a(0x2c4)]=!0x0;}['_onLocalMutation'](_0x3ce090){var _0x2eedf7=_0xe7476b;this[_0x2eedf7(0x15a)](),this['_updateState'](this['_state'][_0x2eedf7(0x1ba)](_0x3ce090)),this['_unlockTransition']();}[_0xe7476b(0x22b)](_0x505786){var _0x58e72a=_0xe7476b;if(!(_0x505786['revision']<=this[_0x58e72a(0x331)]['getCurrentRevOfUnit'](this[_0x58e72a(0x2a9)]))){if(this[_0x58e72a(0x1f1)]){this[_0x58e72a(0x30f)][_0x58e72a(0x146)](_0x505786);return;}this[_0x58e72a(0x3a4)](_0x505786);}}[_0xe7476b(0x30e)](){var _0x114113=_0xe7476b;this[_0x114113(0x30f)]['forEach'](_0x7235d2=>this['_applyRemoteChangeset'](_0x7235d2)),this[_0x114113(0x30f)]=[];}[_0xe7476b(0x3a4)](_0x508d78){var _0x234846=_0xe7476b;const _0x219fff=this[_0x234846(0x354)][_0x234846(0x138)]['fetchThroughInterceptors'](this[_0x234846(0x354)][_0x234846(0x138)][_0x234846(0xfe)]()['COMPRESS_MUTATION_APPLY'])(_0x508d78[_0x234846(0x23e)],null)||_0x508d78['mutations'],_0x2c63bc={..._0x508d78,'mutations':_0x219fff};this['_lockTransition'](),this[_0x234846(0x205)](this['_state'][_0x234846(0x11f)](_0x2c63bc)),this[_0x234846(0xf5)]();}[_0xe7476b(0x3d4)](_0x3ce6b7){var _0x580623=_0xe7476b;this['_lockTransition'](),this['_updateState'](this[_0x580623(0x3de)][_0x580623(0x372)](_0x3ce6b7)),this[_0x580623(0xf5)]();}[_0xe7476b(0xfa)](_0x3c5847){var _0x1be6ca=_0xe7476b;this[_0x1be6ca(0x15a)](),this[_0x1be6ca(0x205)](this[_0x1be6ca(0x3de)][_0x1be6ca(0x2b0)](_0x3c5847)),this[_0x1be6ca(0xf5)]();}[_0xe7476b(0x128)](_0x59737b){var _0x516a7a=_0xe7476b;this[_0x516a7a(0x15a)](),this['_updateState'](this[_0x516a7a(0x3de)][_0x516a7a(0x2f3)](_0x59737b)),this[_0x516a7a(0xf5)]();}[_0xe7476b(0x2c3)](_0x5c0e52){var _0x303163=_0xe7476b;if(!(this['_state']instanceof Q))throw new TypeError(_0x303163(0x2d9));const _0xff7704=_0x5c0e52['map'](_0xc55f04=>{var _0x87ef06=_0x303163;const _0xd01db7=this['_compressMutationService'][_0x87ef06(0x138)][_0x87ef06(0x1d5)](this[_0x87ef06(0x354)][_0x87ef06(0x138)]['getInterceptPoints']()[_0x87ef06(0x196)])(_0xc55f04[_0x87ef06(0x23e)],null)||_0xc55f04[_0x87ef06(0x23e)];return{..._0xc55f04,'mutations':_0xd01db7};});this['_lockTransition'](),this[_0x303163(0x205)](this[_0x303163(0x3de)][_0x303163(0x39a)](_0xff7704)),this[_0x303163(0xf5)]();}[_0xe7476b(0x379)](){var _0x59b71d=_0xe7476b;this[_0x59b71d(0x15a)](),this[_0x59b71d(0x205)](this[_0x59b71d(0x3de)]['toggleOffline']()),this['_unlockTransition']();}[_0xe7476b(0x2b1)](_0x464e75=!0x1){var _0x15d5e9=_0xe7476b;this[_0x15d5e9(0x15a)](),this[_0x15d5e9(0x205)](this[_0x15d5e9(0x3de)][_0x15d5e9(0x343)]()),this[_0x15d5e9(0xf5)]();const _0x2b1ac0=this[_0x15d5e9(0x3de)];_0x464e75&&_0x2b1ac0 instanceof ye&&(this[_0x15d5e9(0x15a)](),this[_0x15d5e9(0x205)](_0x2b1ac0[_0x15d5e9(0x26d)]()),this['_unlockTransition']());}async[_0xe7476b(0x28a)](){return new Promise(_0x393aec=>{var _0x2a2bcc=_0x33f0;this[_0x2a2bcc(0x1a4)][_0x2a2bcc(0x15c)][_0x2a2bcc(0x2d0)](_0x460f4a(0x1))['subscribe'](async _0x16a14e=>{var _0x5b2b5a=_0x2a2bcc;_0x393aec(await this[_0x5b2b5a(0x315)](_0x16a14e===ge[_0x5b2b5a(0x38a)]));});});}[_0xe7476b(0x357)](){const _0x44ea0e=this['unitID'];return{'onStateChange':(_0x3d190f,_0x1f2cfc)=>{var _0x166def=_0x33f0;if(_0x3d190f!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x3d190f[_0x166def(0x302)]+_0x166def(0x1b8)+_0x1f2cfc[_0x166def(0x302)]+'\x0aCurrent:\x20'+this[_0x166def(0x3de)][_0x166def(0x302)]);this[_0x166def(0x205)](_0x1f2cfc);},'onSendChangeset':_0x444f51=>{var _0x284085=_0x33f0;_0x444f51[_0x284085(0x2f9)]||(_0x444f51['sid']=this[_0x284085(0x27c)],_0x444f51[_0x284085(0x14e)]=++this[_0x284085(0x270)]);const _0x508d86={'eventID':_0x15f20d['SUBMIT_CHANGESET'],'data':{'unitID':_0x444f51[_0x284085(0x2a9)],'unitType':this[_0x284085(0x2a3)],'changeset':_0x444f51,'memberID':this[_0x284085(0x1a4)][_0x284085(0x299)]()}};this['session'][_0x284085(0x3c8)](_0x508d86,this[_0x284085(0x2a9)]);},'onMissingChangesets':({from:_0x2fdbe2,to:_0x468093})=>{var _0x2fc0f0=_0x33f0;this[_0x2fc0f0(0x1e0)]['debug']('[CollaborationEntity]',_0x2fc0f0(0x23d)+_0x2fdbe2+_0x2fc0f0(0x2cd)+_0x468093);const _0x307fca={'eventID':_0x15f20d[_0x2fc0f0(0x1d0)],'data':{'unitID':_0x44ea0e,'unitType':this[_0x2fc0f0(0x2a3)],'from':_0x2fdbe2,'to':_0x468093}};this[_0x2fc0f0(0x1a4)][_0x2fc0f0(0x3c8)](_0x307fca,this[_0x2fc0f0(0x2a9)]);}};}async[_0xe7476b(0x315)](_0x1e6a3b){var _0x44eed4=_0xe7476b,_0x24a926,_0x4e04d4,_0x27dd12;const _0x53c8fb=await((_0x24a926=this[_0x44eed4(0x316)])==null?void 0x0:_0x24a926[_0x44eed4(0x13b)](this[_0x44eed4(0x2a9)])),_0x590a00=(_0x4e04d4=_0x53c8fb==null?void 0x0:_0x53c8fb[_0x44eed4(0x23e)])!=null?_0x4e04d4:[],_0xb9f400=(_0x27dd12=_0x53c8fb==null?void 0x0:_0x53c8fb[_0x44eed4(0x320)])!=null?_0x27dd12:null,_0xe7365f=!!(_0xb9f400!=null&&_0xb9f400[_0x44eed4(0x2f9)])&&!!(_0xb9f400!=null&&_0xb9f400[_0x44eed4(0x14e)]);this['_changesetSessionId']=_0xe7365f?_0xb9f400[_0x44eed4(0x2f9)]:_0x2e7a79(),this[_0x44eed4(0x270)]=_0xe7365f?_0xb9f400[_0x44eed4(0x14e)]:0x0;const _0xdafa62=this[_0x44eed4(0x2a9)];try{this['_replayCachedMutations'](_0xb9f400,_0x590a00);}catch(_0x49c79d){this['_logService'][_0x44eed4(0x33f)](_0x49c79d);}const _0x398562=this[_0x44eed4(0x357)]();if(_0x1e6a3b){const _0x2f4f6e=Ti(this['_injector'],_0xdafa62,this[_0x44eed4(0x2a3)],_0xb9f400,_0x590a00,_0x398562);return _0x2f4f6e instanceof re?_0x2f4f6e[_0x44eed4(0x15f)]():(_0x2f4f6e instanceof ae||_0x2f4f6e instanceof _e)&&_0x2f4f6e[_0x44eed4(0x31e)](),_0x2f4f6e;}return this[_0x44eed4(0x284)][_0x44eed4(0x163)](ue,_0xdafa62,this['_type'],_0xb9f400,_0x590a00,_0x398562);}[_0xe7476b(0x175)](_0x4d9392,_0xa6af1){var _0x426b92=_0xe7476b,_0x4cb39f,_0x9d2051;const _0x6c3fde=this['_compressMutationService']['interceptor'][_0x426b92(0x1d5)](this['_compressMutationService'][_0x426b92(0x138)][_0x426b92(0xfe)]()[_0x426b92(0x196)]);(_0x4cb39f=_0x6c3fde((_0x4d9392==null?void 0x0:_0x4d9392[_0x426b92(0x23e)])||[],null))==null||_0x4cb39f[_0x426b92(0x21a)](_0xa27b4e=>this['_commandService'][_0x426b92(0x249)](_0xa27b4e['id'],_0xa27b4e['params'])),(_0x9d2051=_0x6c3fde(_0xa6af1||[],null))==null||_0x9d2051[_0x426b92(0x21a)](_0x447897=>this[_0x426b92(0x35b)]['executeCommand'](_0x447897['id'],_0x447897[_0x426b92(0x1e2)]));}};st=wt([H(0x3,_0x3ab451(_0x494864)),H(0x4,_0x3ab451(_0x3608ab)),H(0x5,_0x3ab451(_0x4edbc8)),H(0x6,_0x3ab451(_0x243094)),H(0x7,_0x3ab451(ve)),H(0x8,_0x5d58e7),H(0x9,_0x22ca1b),H(0xa,_0x1752a3),H(0xb,_0x101caa(ht)),H(0xc,_0x101caa(J))],st);let St=class extends st{constructor(_0x3bee06,_0x41f073,_0x2efc8b,_0x5b468f,_0x36d185,_0x5abec5,_0xe68b46,_0xa00853,_0x85f41a,_0x22d933,_0x2b4a36,_0x10e318,_0x520568){var _0x532379=_0xe7476b;super(_0x3bee06,_0x2efc8b,_0x41f073,_0x5b468f,_0x36d185,_0x5abec5,_0xe68b46,_0xa00853,_0x85f41a,_0x22d933,_0x2b4a36,_0x10e318,_0x520568),N(this,_0x532379(0x3d9),null),(this[_0x532379(0x2a9)]=_0x3bee06,this[_0x532379(0x366)]=_0x41f073);}['addHandlerCallback'](_0x1a91e1){var _0x48cd3d=_0xe7476b;this[_0x48cd3d(0x3d9)]=_0x1a91e1;}[_0xe7476b(0x322)](){var _0x4be293=_0xe7476b;this[_0x4be293(0x3d9)]=null,super[_0x4be293(0x322)]();}[_0xe7476b(0x357)](){var _0x70c722=_0xe7476b;const _0x59986b=super[_0x70c722(0x357)]();return _0x59986b[_0x70c722(0x12b)]=_0x226f54=>{var _0x484ff3=_0x70c722,_0x3dde2a,_0xa77ca5;return(_0xa77ca5=(_0x3dde2a=this['_handlerCallback'])==null?void 0x0:_0x3dde2a['onTransformIME'])==null?void 0x0:_0xa77ca5[_0x484ff3(0x290)](_0x3dde2a,_0x226f54);},_0x59986b[_0x70c722(0x1db)]=_0x12554e=>{var _0x50f710=_0x70c722,_0x3ae35c,_0x51c23d;return(_0x51c23d=(_0x3ae35c=this[_0x50f710(0x3d9)])==null?void 0x0:_0x3ae35c[_0x50f710(0x1db)])==null?void 0x0:_0x51c23d[_0x50f710(0x290)](_0x3ae35c,_0x12554e);},_0x59986b[_0x70c722(0x3a1)]=_0x32e08d=>{var _0xb1b64b=_0x70c722,_0x5e9792,_0x2ac063;return(_0x2ac063=(_0x5e9792=this[_0xb1b64b(0x3d9)])==null?void 0x0:_0x5e9792[_0xb1b64b(0x3a1)])==null?void 0x0:_0x2ac063['call'](_0x5e9792,_0x32e08d);},_0x59986b[_0x70c722(0x1d7)]=_0x2c65c8=>{var _0x354add=_0x70c722,_0xfc4100,_0x245a55;return(_0x245a55=(_0xfc4100=this[_0x354add(0x3d9)])==null?void 0x0:_0xfc4100[_0x354add(0x1d7)])==null?void 0x0:_0x245a55[_0x354add(0x290)](_0xfc4100,_0x2c65c8);},_0x59986b[_0x70c722(0x3e2)]=_0x4db45a=>{var _0x463f95=_0x70c722,_0x504419,_0x1fb485,_0x22ce15;if(!((_0x504419=this[_0x463f95(0x3d9)])!=null&&_0x504419[_0x463f95(0x3e2)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x22ce15=(_0x1fb485=this['_handlerCallback'])==null?void 0x0:_0x1fb485[_0x463f95(0x3e2)])==null?void 0x0:_0x22ce15[_0x463f95(0x290)](_0x1fb485,_0x4db45a);},_0x59986b[_0x70c722(0x37c)]=_0x4034b7=>{var _0x30e120=_0x70c722,_0x53432c,_0x204403,_0x599bff;if(!((_0x53432c=this[_0x30e120(0x3d9)])!=null&&_0x53432c[_0x30e120(0x37c)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x599bff=(_0x204403=this['_handlerCallback'])==null?void 0x0:_0x204403[_0x30e120(0x37c)])==null?void 0x0:_0x599bff[_0x30e120(0x290)](_0x204403,_0x4034b7);},_0x59986b;}async[_0xe7476b(0x2cb)](){var _0x213b56=_0xe7476b;const _0x3245b6=await super['_init']();return this[_0x213b56(0x3a5)](this['_commandService'][_0x213b56(0x248)]((_0x25c6ec,_0x19c336)=>{var _0x4ee1af=_0x213b56;if(_0x25c6ec[_0x4ee1af(0x366)]!==_0x2b0c13[_0x4ee1af(0x193)]||_0x19c336!=null&&_0x19c336[_0x4ee1af(0x30a)]||_0x19c336!=null&&_0x19c336[_0x4ee1af(0x1b0)]||_0x25c6ec['id']===_0x2dc2b3['id'])return;const _0xcb50e4=_0x25c6ec[_0x4ee1af(0x1e2)];if((_0xcb50e4==null?void 0x0:_0xcb50e4[_0x4ee1af(0x283)])!==this['unitID'])return;const _0x480c0d=_0x25c6ec,_0x3df352=this[_0x4ee1af(0x354)][_0x4ee1af(0x138)][_0x4ee1af(0x1d5)](this[_0x4ee1af(0x354)][_0x4ee1af(0x138)][_0x4ee1af(0xfe)]()[_0x4ee1af(0x19c)])([_0x480c0d],null)||[_0x480c0d];this[_0x4ee1af(0x32f)](_0x3df352[0x0]);})),_0x3245b6;}};St=wt([H(0x3,_0x3ab451(_0x494864)),H(0x4,_0x3ab451(_0x3608ab)),H(0x5,_0x3ab451(_0x4edbc8)),H(0x6,_0x3ab451(_0x243094)),H(0x7,_0x3ab451(ve)),H(0x8,_0x5d58e7),H(0x9,_0x22ca1b),H(0xa,_0x1752a3),H(0xb,_0x101caa(ht)),H(0xc,_0x101caa(J))],St);let Et=class extends st{constructor(_0x50f3c5,_0x12c06c,_0x24dcc5,_0x502fff,_0x53814b,_0x634fef,_0x2dab1f,_0x215dee,_0x3a466a,_0x6a4885,_0x4ea108,_0x57549a,_0x4bf12b,_0x13b795){var _0xface3=_0xe7476b;super(_0x50f3c5,_0x24dcc5,_0x12c06c,_0x502fff,_0x53814b,_0x634fef,_0x2dab1f,_0x3a466a,_0x6a4885,_0x4ea108,_0x57549a,_0x4bf12b,_0x13b795),this[_0xface3(0x2a9)]=_0x50f3c5,this[_0xface3(0x366)]=_0x12c06c,this[_0xface3(0x203)]=_0x215dee;}[_0xe7476b(0x357)](){var _0x32c2d9=_0xe7476b;const _0x5ceaf7=super[_0x32c2d9(0x357)]();return _0x5ceaf7[_0x32c2d9(0x3a1)]=_0x2aa84a=>this[_0x32c2d9(0x203)]['transformSelections'](_0x2aa84a),_0x5ceaf7;}async[_0xe7476b(0x2cb)](){var _0x2dbb82=_0xe7476b;const _0x8e4542=await super[_0x2dbb82(0x2cb)]();return this[_0x2dbb82(0x3a5)](this[_0x2dbb82(0x35b)][_0x2dbb82(0x248)]((_0x4c00d2,_0x2cb476)=>{var _0x1af850=_0x2dbb82;if(_0x4c00d2[_0x1af850(0x366)]!==_0x2b0c13['MUTATION']||_0x2cb476!=null&&_0x2cb476[_0x1af850(0x30a)]||_0x2cb476!=null&&_0x2cb476[_0x1af850(0x1b0)])return;const _0x115732=_0x4c00d2[_0x1af850(0x1e2)];if((_0x115732==null?void 0x0:_0x115732[_0x1af850(0x283)])!==this['unitID'])return;const _0x24ea6e=_0x4c00d2,_0x55d965=this[_0x1af850(0x354)]['interceptor'][_0x1af850(0x1d5)](this[_0x1af850(0x354)][_0x1af850(0x138)][_0x1af850(0xfe)]()[_0x1af850(0x19c)])([_0x24ea6e],null)||[_0x24ea6e];this[_0x1af850(0x32f)](_0x55d965[0x0]);})),_0x8e4542;}};Et=wt([H(0x3,_0x3ab451(_0x494864)),H(0x4,_0x3ab451(_0x3608ab)),H(0x5,_0x3ab451(_0x4edbc8)),H(0x6,_0x3ab451(_0x243094)),H(0x7,_0x3ab451(it)),H(0x8,_0x3ab451(ve)),H(0x9,_0x5d58e7),H(0xa,_0x22ca1b),H(0xb,_0x1752a3),H(0xc,_0x101caa(ht)),H(0xd,_0x101caa(J))],Et);const js=_0x38fdf1('univer-pro.collaboration-client.network-condition.service');function Fs(_0xf0bf86){var _0x13d792=_0xe7476b,_0x3578f6,_0x59b076,_0x2c4f29,_0x2cd4db,_0x396ad6;const _0x36e274=_0xf0bf86['data'],_0x5be017=JSON[_0x13d792(0x184)](_0x36e274);switch(_0x5be017['cmd']){case F[_0x13d792(0x374)]:case F['HELLO']:{const _0xd7ffc8=_0x5be017[_0x13d792(0x2ed)];return{..._0x5be017,'data':_0xd7ffc8,'cmd':_0x5be017['cmd']};}case F[_0x13d792(0x133)]:{const _0x460841=_0x5be017['joinRsp'];return{..._0x5be017,'data':_0x460841,'cmd':_0x5be017[_0x13d792(0x2a8)]};}case F[_0x13d792(0x39b)]:{const _0x30c32d=_0x5be017[_0x13d792(0x1aa)];switch(_0x30c32d[_0x13d792(0x36f)]){case _0x15f20d[_0x13d792(0x1af)]:return{..._0x5be017,'data':{..._0x30c32d,'data':(_0x3578f6=_0x30c32d[_0x13d792(0x281)])==null?void 0x0:_0x3578f6['cs']},'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d['CHANGESET_ACK']:return{..._0x5be017,'data':{..._0x30c32d,'data':(_0x59b076=_0x30c32d[_0x13d792(0x3b6)])==null?void 0x0:_0x59b076['cs']},'cmd':_0x5be017['cmd']};case _0x15f20d[_0x13d792(0x1c8)]:return{..._0x5be017,'data':{..._0x30c32d,'data':(_0x2c4f29=_0x30c32d['newCsEvent'])==null?void 0x0:_0x2c4f29['cs']},'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d[_0x13d792(0x237)]:return{..._0x5be017,'data':{..._0x30c32d,'data':(_0x2cd4db=_0x30c32d[_0x13d792(0x300)])==null?void 0x0:_0x2cd4db['cs']},'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d[_0x13d792(0x173)]:return{..._0x5be017,'data':{..._0x30c32d,'data':(_0x396ad6=_0x30c32d[_0x13d792(0x34e)])==null?void 0x0:_0x396ad6['cs']},'cmd':_0x5be017['cmd']};case _0x15f20d[_0x13d792(0x234)]:return{..._0x5be017,'data':{..._0x30c32d,'data':_0x30c32d['updateCursorEvent']},'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d['USERS_ENTER']:return{..._0x5be017,'data':{..._0x30c32d,'data':_0x30c32d['joinEvent']},'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d['USERS_LEAVE']:return{..._0x5be017,'data':{..._0x30c32d,'data':_0x30c32d[_0x13d792(0x2d4)]},'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d[_0x13d792(0x293)]:return{..._0x5be017,'data':{..._0x30c32d,'data':_0x30c32d[_0x13d792(0x18f)]},'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d['LIVESHARE_FETCH_OPERATIONS']:case _0x15f20d[_0x13d792(0x189)]:return{..._0x5be017,'data':{..._0x30c32d,'data':_0x30c32d[_0x13d792(0x2ac)]},'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d['LIVESHARE_TERMINATE']:return{..._0x5be017,'data':{..._0x30c32d,'data':_0x30c32d['liveShareNewHost']},'cmd':_0x5be017['cmd']};case _0x15f20d[_0x13d792(0x2f6)]:return{..._0x5be017,'data':_0x30c32d,'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d[_0x13d792(0x1d4)]:return{..._0x5be017,'data':{..._0x30c32d,'data':_0x30c32d['commentUpdateEvent']},'cmd':_0x5be017['cmd']};case _0x15f20d[_0x13d792(0x3b5)]:return{..._0x5be017,'data':{..._0x30c32d,'data':_0x30c32d[_0x13d792(0x159)]},'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d[_0x13d792(0x23a)]:return{..._0x5be017,'data':{..._0x30c32d,'data':_0x30c32d[_0x13d792(0x218)]},'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d[_0x13d792(0x35e)]:return{..._0x5be017,'data':{..._0x30c32d,'data':_0x30c32d['uniscriptRunEvent']},'cmd':_0x5be017['cmd']};default:return _0x5be017;}}default:return _0x5be017;}}function _0x33f0(_0x25df98,_0x3c0d56){var _0x1da457=_0x1da4();return _0x33f0=function(_0x33f061,_0xfd6308){_0x33f061=_0x33f061-0xee;var _0x468c6f=_0x1da457[_0x33f061];return _0x468c6f;},_0x33f0(_0x25df98,_0x3c0d56);}function Vs(_0x49b9a4){var _0xe50d6e=_0xe7476b;switch(_0x49b9a4[_0xe50d6e(0x2a8)]){case F[_0xe50d6e(0x374)]:case F[_0xe50d6e(0x166)]:return JSON[_0xe50d6e(0x2c7)]({'cmd':_0x49b9a4['cmd'],'routeKey':_0x49b9a4[_0xe50d6e(0x1da)]});case F[_0xe50d6e(0x31b)]:{let _0x8336b3;switch(_0x49b9a4[_0xe50d6e(0x182)][_0xe50d6e(0x36f)]){case _0x15f20d[_0xe50d6e(0x234)]:{_0x8336b3={'eventID':_0x15f20d['UPDATE_CURSOR'],'updateCursorEvent':_0x49b9a4[_0xe50d6e(0x182)]['data']};break;}case _0x15f20d[_0xe50d6e(0x3d2)]:{_0x8336b3={'eventID':_0x15f20d[_0xe50d6e(0x3d2)],'leaveEvent':_0x49b9a4[_0xe50d6e(0x182)]['data']};break;}case _0x15f20d[_0xe50d6e(0x3b3)]:{_0x8336b3={'eventID':_0x15f20d['USERS_ENTER'],'joinEvent':_0x49b9a4[_0xe50d6e(0x182)][_0xe50d6e(0x182)]};break;}case _0x15f20d['LIVESHARE_NEW_HOST']:{_0x8336b3={'eventID':_0x15f20d[_0xe50d6e(0x293)],'liveShareNewHost':_0x49b9a4[_0xe50d6e(0x182)][_0xe50d6e(0x182)]};break;}case _0x15f20d['LIVESHARE_OPERATION']:{_0x8336b3={'eventID':_0x15f20d[_0xe50d6e(0x189)],'liveShareOperation':_0x49b9a4['data'][_0xe50d6e(0x182)]};break;}case _0x15f20d[_0xe50d6e(0x1a8)]:{_0x8336b3={'eventID':_0x15f20d['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x49b9a4['data'][_0xe50d6e(0x182)]};break;}case _0x15f20d[_0xe50d6e(0x17f)]:{_0x8336b3={'eventID':_0x15f20d[_0xe50d6e(0x17f)],'liveShareRequestHost':_0x49b9a4[_0xe50d6e(0x182)]['data']};break;}case _0x15f20d['LIVESHARE_FETCH_OPERATIONS']:{_0x8336b3={'eventID':_0x15f20d[_0xe50d6e(0x318)]};break;}default:_0x8336b3={'eventID':_0x49b9a4[_0xe50d6e(0x182)]['eventID']};}return JSON[_0xe50d6e(0x2c7)]({'cmd':_0x49b9a4[_0xe50d6e(0x2a8)],'routeKey':_0x49b9a4[_0xe50d6e(0x1da)],'collaMsg':_0x8336b3});}case F[_0xe50d6e(0x133)]:return JSON[_0xe50d6e(0x2c7)]({'cmd':_0x49b9a4[_0xe50d6e(0x2a8)],'routeKey':_0x49b9a4[_0xe50d6e(0x1da)],'joinReq':_0x49b9a4[_0xe50d6e(0x182)]});case F[_0xe50d6e(0x326)]:return JSON['stringify']({'cmd':_0x49b9a4[_0xe50d6e(0x2a8)],'routeKey':_0x49b9a4[_0xe50d6e(0x1da)],'leaveReq':_0x49b9a4[_0xe50d6e(0x182)]});default:throw new Error(_0xe50d6e(0x1e9));}}var Ws=Object[_0xe7476b(0x2af)],Gs=(_0x453ade,_0x573bb8,_0x5cff1b,_0x58b507)=>{var _0xbf1384=_0xe7476b;for(var _0x45e4d1=_0x58b507>0x1?void 0x0:_0x58b507?Ws(_0x573bb8,_0x5cff1b):_0x573bb8,_0x460a5f=_0x453ade[_0xbf1384(0x295)]-0x1,_0x3e97bf;_0x460a5f>=0x0;_0x460a5f--)(_0x3e97bf=_0x453ade[_0x460a5f])&&(_0x45e4d1=_0x3e97bf(_0x45e4d1)||_0x45e4d1);return _0x45e4d1;},De=(_0x13de08,_0x31951a)=>(_0x4c49a6,_0x29f386)=>_0x31951a(_0x4c49a6,_0x29f386,_0x13de08);const Ci=_0x38fdf1('univer-pro.collaboration-client-socket-service');function Ys(_0xd6ea51,_0x446998,_0x59a522){var _0x309942=_0xe7476b;return _0xd6ea51+'/'+_0x446998+_0x309942(0x1ef)+_0x59a522+'/new_changes';}let Gt=class extends _0x1329fe{constructor(_0x38481f,_0x5d1ab3,_0x31e7cb,_0x23ac91,_0x3d722f){var _0x5c119e=_0xe7476b;super(),this[_0x5c119e(0x284)]=_0x38481f,this['_httpService']=_0x5d1ab3,this[_0x5c119e(0x29f)]=_0x31e7cb,this[_0x5c119e(0x1e0)]=_0x23ac91,this['_snapshotServerService']=_0x3d722f;}[_0xe7476b(0x2e1)](_0x2ccb59){var _0xc64f46=_0xe7476b;const _0x79f78a=this[_0xc64f46(0x284)][_0xc64f46(0x174)](_0x169a24);if(!_0x79f78a)throw new Error(_0xc64f46(0x26c));const _0x1a7843=_0x79f78a['createSocket'](_0x2ccb59);if(!_0x1a7843)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x3b629b=new _0x510667(),_0x361d17=new _0x22d8b5();_0x3b629b['add'](_0x1a7843['close$']['subscribe'](_0x2f73b1=>_0x361d17['next'](_0x2f73b1))),_0x3b629b['add'](_0x3ea293(()=>_0x361d17['complete']()));const _0x1c050f=new _0x22d8b5();_0x3b629b[_0xc64f46(0x102)](_0x1a7843[_0xc64f46(0x217)][_0xc64f46(0x2b4)](_0x1a2ca2=>_0x1c050f[_0xc64f46(0x12c)](_0x1a2ca2))),_0x3b629b['add'](_0x3ea293(()=>_0x1c050f['complete']()));const _0x50b576=new _0x22d8b5();_0x3b629b[_0xc64f46(0x102)](_0x1a7843[_0xc64f46(0x1b3)]['subscribe'](_0x3d1090=>{const _0x7500d8=Fs(_0x3d1090);_0x50b576['next'](_0x7500d8);})),_0x3b629b[_0xc64f46(0x102)](_0x3ea293(()=>_0x50b576[_0xc64f46(0x20b)]()));let _0x3d5a77;const _0x3c340f=()=>{var _0x24f4b4=_0xc64f46;_0x1c050f[_0x24f4b4(0x12c)](new Event(_0x24f4b4(0x232))),_0x361d17[_0x24f4b4(0x12c)](new Event(_0x24f4b4(0x232))),_0x3d5a77[_0x24f4b4(0x353)]();};return _0x3d5a77={'memberID':'','close$':_0x361d17[_0xc64f46(0x2be)](),'error$':_0x1c050f[_0xc64f46(0x2be)](),'open$':_0x1a7843[_0xc64f46(0x245)],'message$':_0x50b576[_0xc64f46(0x2be)](),'send':_0x57cb58=>{var _0x486c2a=_0xc64f46;if(_0x57cb58[_0x486c2a(0x2a8)]===F['INGEST']){if(_0x57cb58[_0x486c2a(0x182)][_0x486c2a(0x36f)]===_0x15f20d[_0x486c2a(0x2ce)]){this[_0x486c2a(0x251)](_0x3d5a77,_0x57cb58['data'])[_0x486c2a(0x3a3)](_0x10e64e=>{var _0x2332ae=_0x486c2a;this[_0x2332ae(0x1e0)][_0x2332ae(0x33f)](_0x10e64e),_0x3c340f();});return;}if(_0x57cb58[_0x486c2a(0x182)][_0x486c2a(0x36f)]===_0x15f20d[_0x486c2a(0x1d0)]){const _0x50e5ae=_0x57cb58[_0x486c2a(0x182)];this[_0x486c2a(0x188)](_0x50e5ae)[_0x486c2a(0x397)](_0x15bafb=>{var _0x47b998=_0x486c2a;_0x50b576[_0x47b998(0x12c)]({'cmd':F[_0x47b998(0x39b)],'code':pe['OK'],'routeKey':_0x50e5ae[_0x47b998(0x182)][_0x47b998(0x2a9)],'routeType':'','data':{'eventID':_0x15f20d[_0x47b998(0x28d)],'data':{'changesets':_0x15bafb}}});})['catch'](_0x585d7e=>{var _0x488579=_0x486c2a;this[_0x488579(0x1e0)]['error'](_0x585d7e),_0x3c340f();});return;}}_0x1a7843[_0x486c2a(0x3c8)](Vs(_0x57cb58));},'close':()=>{var _0x5b4965=_0xc64f46;_0x1a7843[_0x5b4965(0x353)](),_0x3b629b['dispose']();}},_0x3d5a77;}async[_0xe7476b(0x251)](_0x478781,_0x2aace1){var _0x589cd1=_0xe7476b,_0x242c2e;const {unitType:_0x2ab3c0,unitID:_0x4fc25a,changeset:_0x18a2e2}=_0x2aace1[_0x589cd1(0x182)],_0x3b7197={'unitID':_0x4fc25a,'memberID':_0x478781[_0x589cd1(0x224)],'type':_0x2ab3c0,'changeset':_0x1f3cff(_0x18a2e2)},_0x31d617=this[_0x589cd1(0x29f)]['getConfig'](K),_0x139cb8=Ys((_0x242c2e=_0x31d617==null?void 0x0:_0x31d617[_0x589cd1(0x339)])!=null?_0x242c2e:Cs,_0x2ab3c0,_0x4fc25a);try{await this[_0x589cd1(0x198)][_0x589cd1(0x2d7)](_0x139cb8,{'body':_0x3b7197});}catch(_0x50ca53){throw this[_0x589cd1(0x1e0)][_0x589cd1(0x33f)](_0x589cd1(0x1f2),_0x589cd1(0x238)),_0x50ca53;}}async[_0xe7476b(0x188)](_0x895396){var _0x2d2340=_0xe7476b;const {unitID:_0x28cee2,from:_0x5f3d78,to:_0x5ed97c,unitType:_0x4207ba}=_0x895396['data'];return(await this[_0x2d2340(0x222)][_0x2d2340(0x242)]({'metadata':void 0x0},{'unitID':_0x28cee2,'type':_0x4207ba,'from':_0x5f3d78,'to':_0x5ed97c}))[_0x2d2340(0x2b2)];}};Gt=Gs([De(0x0,_0x3ab451(_0x494864)),De(0x1,_0x3ab451(_0x5325d6)),De(0x2,_0x2c6e2),De(0x3,_0x5d58e7),De(0x4,_0x380b92)],Gt);var Ks=Object[_0xe7476b(0x2af)],qs=(_0x2db0c4,_0x2944c2,_0x1688c6,_0x24749c)=>{var _0x108982=_0xe7476b;for(var _0x343869=_0x24749c>0x1?void 0x0:_0x24749c?Ks(_0x2944c2,_0x1688c6):_0x2944c2,_0x5eec4b=_0x2db0c4[_0x108982(0x295)]-0x1,_0x534870;_0x5eec4b>=0x0;_0x5eec4b--)(_0x534870=_0x2db0c4[_0x5eec4b])&&(_0x343869=_0x534870(_0x343869)||_0x343869);return _0x343869;},Re=(_0x18656f,_0x16b17e)=>(_0x4f9db8,_0x203e63)=>_0x16b17e(_0x4f9db8,_0x203e63,_0x18656f);let Pe=class extends _0x1329fe{constructor(_0x39a523,_0x5ae673,_0x1f05fb,_0x2e1c28,_0xa3517c,_0x56870a){var _0xa0ab6a=_0xe7476b;super(),N(this,_0xa0ab6a(0x340),new _0x1c92f2(void 0x0)),N(this,'socket$',this[_0xa0ab6a(0x340)][_0xa0ab6a(0x2be)]()),N(this,'_candidateSocket',null),N(this,_0xa0ab6a(0x1dc),new Map()),N(this,'_status$',new _0x1c92f2(ge[_0xa0ab6a(0x12f)])),N(this,_0xa0ab6a(0x3b4),this[_0xa0ab6a(0x28f)]['asObservable']()),N(this,'_socketReady',!0x1),N(this,'_retryConnectingTimer'),N(this,_0xa0ab6a(0x135),0x0),N(this,_0xa0ab6a(0xf3)),N(this,_0xa0ab6a(0x3bd)),(this[_0xa0ab6a(0x284)]=_0x39a523,this[_0xa0ab6a(0x1e0)]=_0x5ae673,this['_configService']=_0x1f05fb,this[_0xa0ab6a(0x38e)]=_0x2e1c28,this['_collaborationUIEventService']=_0xa3517c,this['_networkConditionService']=_0x56870a,this['_listenToNetworkCondition']());}get['_socket'](){var _0xa4fcb2=_0xe7476b;return this[_0xa4fcb2(0x340)][_0xa4fcb2(0x3df)]();}[_0xe7476b(0x192)](){var _0x5e214d=_0xe7476b;this[_0x5e214d(0x104)]&&this[_0x5e214d(0x3a5)](this[_0x5e214d(0x104)]['online$'][_0x5e214d(0x2b4)](_0x41e51f=>{var _0x3f676a=_0x5e214d;_0x41e51f&&!this[_0x3f676a(0xf7)]&&this[_0x3f676a(0x136)](),_0x41e51f||this[_0x3f676a(0x155)]();}));}[_0xe7476b(0x322)](){var _0x4e8dc1=_0xe7476b;super['dispose'](),this[_0x4e8dc1(0x3cb)](),this[_0x4e8dc1(0x2c6)](),this[_0x4e8dc1(0x3b1)](),this['_sessions'][_0x4e8dc1(0x21a)](_0x1babf1=>_0x1babf1[_0x4e8dc1(0x322)]()),this[_0x4e8dc1(0x1dc)][_0x4e8dc1(0x1be)](),this[_0x4e8dc1(0x28f)]['complete']();}async['requireSession'](_0x8072c1){var _0x248d8b=_0xe7476b;if(this[_0x248d8b(0x1dc)][_0x248d8b(0x1a5)](_0x8072c1))return this[_0x248d8b(0x1dc)][_0x248d8b(0x174)](_0x8072c1);this[_0x248d8b(0x30d)]();const _0x1014c6=this['_injector'][_0x248d8b(0x163)](gt,_0x8072c1,this[_0x248d8b(0x340)][_0x248d8b(0x2be)]());return this['_sessions'][_0x248d8b(0x355)](_0x8072c1,_0x1014c6),_0x1014c6;}[_0xe7476b(0x22a)](_0x86c409){var _0x5436bd=_0xe7476b,_0x4c4ba6;const _0x457b4b=this[_0x5436bd(0x1dc)][_0x5436bd(0x174)](_0x86c409);_0x457b4b&&(this[_0x5436bd(0x1dc)][_0x5436bd(0x333)](_0x86c409),_0x457b4b[_0x5436bd(0x353)]()),this[_0x5436bd(0x1dc)][_0x5436bd(0x122)]||(_0x4c4ba6=this[_0x5436bd(0xf7)])==null||_0x4c4ba6[_0x5436bd(0x353)]();}[_0xe7476b(0x136)](){var _0x281452=_0xe7476b;this[_0x281452(0x135)]=0x0,this[_0x281452(0x3cb)](),this['_tryReconnect']();}[_0xe7476b(0x3cb)](){var _0x5655ec=_0xe7476b;this[_0x5655ec(0x3b2)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x5655ec(0x3b2)]=null);}async[_0xe7476b(0x14a)](){var _0x2fd081=_0xe7476b,_0x11173a;const _0x5eb9c7=this[_0x2fd081(0x29f)][_0x2fd081(0x178)](K),_0x1278d9=(_0x11173a=_0x5eb9c7==null?void 0x0:_0x5eb9c7['collabWebSocketUrl'])!=null?_0x11173a:ms,_0x3487e4=await this['_socketService']['createSocket'](_0x1278d9);return this[_0x2fd081(0x212)]=_0x3487e4,_0x3487e4;}async[_0xe7476b(0x30d)](){var _0x57b15e=_0xe7476b,_0x53affb,_0xc0bc9d;try{const _0x153e15=(_0xc0bc9d=(_0x53affb=this[_0x57b15e(0xf7)])!=null?_0x53affb:this[_0x57b15e(0x212)])!=null?_0xc0bc9d:await this[_0x57b15e(0x14a)]();if(_0x153e15){const _0x1072da=_0x153e15[_0x57b15e(0x3c8)];_0x153e15[_0x57b15e(0x3c8)]=_0x3e26cb=>(this['_rescheduleHeartbeat'](),_0x1072da[_0x57b15e(0x30c)](_0x153e15,[_0x3e26cb])),_0x153e15[_0x57b15e(0x1b3)][_0x57b15e(0x2b4)](_0x3a4320=>this['_onMessage'](_0x153e15,_0x3a4320)),_0x153e15['error$'][_0x57b15e(0x2d0)](_0x410a55(0x1))[_0x57b15e(0x2b4)](_0x274095=>this['_logService'][_0x57b15e(0x33f)](_0x57b15e(0x3af),_0x274095)),_0x153e15[_0x57b15e(0x245)][_0x57b15e(0x2d0)](_0x410a55(0x1))[_0x57b15e(0x2b4)](()=>{var _0x142069=_0x57b15e;this[_0x142069(0x375)](_0x153e15);}),_0x153e15[_0x57b15e(0x380)][_0x57b15e(0x2d0)](_0x410a55(0x1))[_0x57b15e(0x2b4)](_0xb37189=>{var _0x331d90=_0x57b15e;this[_0x331d90(0x1e0)][_0x331d90(0x2f1)]('[CollaborationSessionService]',_0x331d90(0x393),_0xb37189),this[_0x331d90(0x137)]();});}}catch(_0x35e72c){this[_0x57b15e(0x1e0)][_0x57b15e(0x33f)](_0x35e72c),this[_0x57b15e(0x137)]();}}[_0xe7476b(0x375)](_0x3b2fbe){var _0x2421b5=_0xe7476b;this['_logService']['debug'](_0x2421b5(0x241),_0x2421b5(0x18d)),_0x3b2fbe[_0x2421b5(0x3c8)]({'cmd':F['HELLO']}),this['_rescheduleHeartbeat']();}[_0xe7476b(0x155)](){var _0x270614=_0xe7476b;this['_socketReady']=!0x1,this[_0x270614(0x212)]=null,this[_0x270614(0x28f)]['next'](ge['OFFLINE']),this['_socket$']['next'](null),this[_0x270614(0x2c6)](),this[_0x270614(0x3b1)]();}[_0xe7476b(0x137)](){var _0x2d94d1=_0xe7476b,_0x44f938;this['_onOffline'](),this['_retryCount']<((_0x44f938=this['_configService'][_0x2d94d1(0x178)](Is))!=null?_0x44f938:Ts)?(this[_0x2d94d1(0x34d)][_0x2d94d1(0x385)]({'id':ne[_0x2d94d1(0x239)]}),this[_0x2d94d1(0x229)]()):this[_0x2d94d1(0x34d)][_0x2d94d1(0x385)]({'id':ne[_0x2d94d1(0x371)]});}[_0xe7476b(0x229)](){var _0x1ac32d=_0xe7476b,_0x1c4fc5;const _0x19bfd5=this[_0x1ac32d(0x135)],_0x445748=this[_0x1ac32d(0x29f)][_0x1ac32d(0x178)](K),_0xea9496=_0x19bfd5===0x0?0x0:((_0x1c4fc5=_0x445748==null?void 0x0:_0x445748[_0x1ac32d(0x11d)])!=null?_0x1c4fc5:Es)*0x2**_0x19bfd5;this[_0x1ac32d(0x3b2)]=setTimeout(()=>{var _0x243557=_0x1ac32d;clearTimeout(this[_0x243557(0x3b2)]),this[_0x243557(0x3b2)]=null,this['_tryEnsureSocket']();},_0xea9496),this[_0x1ac32d(0x135)]+=0x1;}[_0xe7476b(0x350)](_0x3a1513,_0xf7e8bd){var _0x43f371=_0xe7476b;const {cmd:_0x3bf08c}=_0xf7e8bd;_0x3bf08c===F[_0x43f371(0x166)]&&!this[_0x43f371(0x13d)]&&(_0x3a1513[_0x43f371(0x224)]=_0xf7e8bd['data']['memberID'],this[_0x43f371(0x340)][_0x43f371(0x12c)](_0x3a1513),this[_0x43f371(0x28f)]['next'](ge['ONLINE']),this[_0x43f371(0x13d)]=!0x0,this[_0x43f371(0x212)]=null),_0x3bf08c===F[_0x43f371(0x374)]&&this[_0x43f371(0x2c6)](),this[_0x43f371(0x2e3)]();}[_0xe7476b(0x2e3)](){var _0x348116=_0xe7476b,_0xbd1469;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x348116(0x32e)](),(_0xbd1469=this['_configService']['getConfig'](gs))!=null?_0xbd1469:Ss);}[_0xe7476b(0x32e)](){var _0x1877b8=_0xe7476b;this[_0x1877b8(0xf7)][_0x1877b8(0x3c8)]({'cmd':F[_0x1877b8(0x374)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x31c6a9=_0xe7476b,_0x5d35c3;this[_0x31c6a9(0x3bd)]=setTimeout(()=>this[_0x31c6a9(0x137)](),(_0x5d35c3=this[_0x31c6a9(0x29f)][_0x31c6a9(0x178)](di))!=null?_0x5d35c3:fi);}[_0xe7476b(0x3b1)](){var _0x490349=_0xe7476b;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x490349(0xf3)]),this['_sendHeartbeatTimer']=null);}[_0xe7476b(0x2c6)](){var _0x6eff5b=_0xe7476b;this[_0x6eff5b(0x3bd)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x6eff5b(0x3bd)]=null);}};Pe=qs([Re(0x0,_0x3ab451(_0x494864)),Re(0x1,_0x5d58e7),Re(0x2,_0x2c6e2),Re(0x3,Ci),Re(0x4,_0x3ab451(ve)),Re(0x5,_0x101caa(js))],Pe);var zs=Object[_0xe7476b(0x2af)],Js=(_0x263ef7,_0x2e1ea0,_0x50881f,_0x47ad5c)=>{for(var _0x2f445f=_0x47ad5c>0x1?void 0x0:_0x47ad5c?zs(_0x2e1ea0,_0x50881f):_0x2e1ea0,_0x3dad05=_0x263ef7['length']-0x1,_0x18500b;_0x3dad05>=0x0;_0x3dad05--)(_0x18500b=_0x263ef7[_0x3dad05])&&(_0x2f445f=_0x18500b(_0x2f445f)||_0x2f445f);return _0x2f445f;},Be=(_0x2f9f30,_0x108bf8)=>(_0x313b14,_0x1b9c86)=>_0x108bf8(_0x313b14,_0x1b9c86,_0x2f9f30);let nt=class extends _0x596c5c{constructor(_0x520fe4,_0x353aeb,_0x480c9a,_0x4c699a){var _0x4c1103=_0xe7476b,_0x47837f;super(),N(this,_0x4c1103(0x101),new Map()),N(this,'_entityInit$',new _0x22d8b5()),N(this,_0x4c1103(0x20f),this[_0x4c1103(0x335)][_0x4c1103(0x2be)]()),(this[_0x4c1103(0x284)]=_0x520fe4,this[_0x4c1103(0x111)]=_0x353aeb,this[_0x4c1103(0x29f)]=_0x480c9a,this[_0x4c1103(0x257)]=_0x4c699a,((_0x47837f=this[_0x4c1103(0x29f)][_0x4c1103(0x178)](K))==null?void 0x0:_0x47837f['enableCollaboration'])!==!0x1&&this[_0x4c1103(0x2cb)]());}['dispose'](){var _0x963f90=_0xe7476b;super[_0x963f90(0x322)](),this[_0x963f90(0x101)][_0x963f90(0x21a)](_0x54adc4=>_0x54adc4[_0x963f90(0x322)]()),this[_0x963f90(0x101)][_0x963f90(0x1be)]();}[_0xe7476b(0x2b9)](_0x115220){var _0x1e501e=_0xe7476b,_0x1bf601;return(_0x1bf601=this['_entities'][_0x1e501e(0x174)](_0x115220))!=null?_0x1bf601:null;}[_0xe7476b(0x296)](_0x1bfb39){var _0x4bd254=_0xe7476b;const _0x4b6453=this['getCollabEntity'](_0x1bfb39);return _0x4b6453?_0x31c001(_0x4b6453):this[_0x4bd254(0x335)][_0x4bd254(0x2d0)](_0x382e9a(_0x4a0509=>_0x4a0509['unitID']===_0x1bfb39));}[_0xe7476b(0x341)](_0x5e85e3){var _0x402c51=_0xe7476b;return _0x2d9687(this[_0x402c51(0x296)](_0x5e85e3)[_0x402c51(0x2d0)](_0x1263aa(()=>{})));}[_0xe7476b(0x2cb)](){var _0x15d0f9=_0xe7476b;this[_0x15d0f9(0x257)][_0x15d0f9(0x1ec)](_0x313508[_0x15d0f9(0x2f4)])['pipe'](_0x1f2e28(this[_0x15d0f9(0x265)]),_0x4ee84d(0x10))[_0x15d0f9(0x2b4)](async _0x14446b=>{var _0x2a382d=_0x15d0f9;const _0x43e3c1=_0x14446b[_0x2a382d(0x109)](),_0x5ac7d1=await this[_0x2a382d(0x3a6)](_0x43e3c1,Z[_0x2a382d(0x2f4)]);this[_0x2a382d(0x101)]['set'](_0x43e3c1,_0x5ac7d1);}),this['_univerInstanceService'][_0x15d0f9(0x1ec)](_0x313508['UNIVER_DOC'])['pipe'](_0x1f2e28(this[_0x15d0f9(0x265)]),_0x4ee84d(0x10))[_0x15d0f9(0x2d0)](_0x382e9a(_0x5161ec=>!_0x5161ec['getUnitId']()['startsWith']('__')))['subscribe'](async _0x5b4094=>{var _0x32a665=_0x15d0f9;const _0x3e5b17=_0x5b4094[_0x32a665(0x109)](),_0x531ebb=await this[_0x32a665(0x3a6)](_0x3e5b17,Z[_0x32a665(0x25f)]);this['_entities'][_0x32a665(0x355)](_0x3e5b17,_0x531ebb);}),_0x114bec(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x313508[_0x15d0f9(0x2f4)]),this['_univerInstanceService'][_0x15d0f9(0x134)](_0x313508[_0x15d0f9(0x25f)]))[_0x15d0f9(0x2d0)](_0x1f2e28(this[_0x15d0f9(0x265)]))[_0x15d0f9(0x2b4)](_0x9cff6c=>{var _0x5aea40=_0x15d0f9;const _0x4d501b=_0x9cff6c[_0x5aea40(0x109)](),_0x34fa1f=this[_0x5aea40(0x101)][_0x5aea40(0x174)](_0x4d501b);_0x34fa1f&&(_0x34fa1f[_0x5aea40(0x322)](),this[_0x5aea40(0x101)][_0x5aea40(0x333)](_0x4d501b));});}async[_0xe7476b(0x3a6)](_0x5b49bd,_0xfb13ad){var _0x13cd1d=_0xe7476b;const _0x131583=await this[_0x13cd1d(0x111)][_0x13cd1d(0x25c)](_0x5b49bd),_0x5c591e=this[_0x13cd1d(0x284)][_0x13cd1d(0x163)](this[_0x13cd1d(0x2e9)](_0xfb13ad),_0x5b49bd,_0xfb13ad,_0x131583);return await _0x5c591e[_0x13cd1d(0x1a7)](),this[_0x13cd1d(0x335)]['next'](_0x5c591e),_0x5c591e;}[_0xe7476b(0x2e9)](_0x3ad0e6){var _0x296048=_0xe7476b;switch(_0x3ad0e6){case Z[_0x296048(0x25f)]:return St;case Z[_0x296048(0x2f4)]:return Et;default:throw new Error(_0x296048(0x227)+_0x3ad0e6);}}};nt=Js([Be(0x0,_0x3ab451(_0x494864)),Be(0x1,_0x3ab451(Pe)),Be(0x2,_0x2c6e2),Be(0x3,_0x564314)],nt);var Xs=Object[_0xe7476b(0x2af)],Zs=(_0x520902,_0x52e6f,_0x2a8435,_0x55e80c)=>{var _0x31849f=_0xe7476b;for(var _0x30cc09=_0x55e80c>0x1?void 0x0:_0x55e80c?Xs(_0x52e6f,_0x2a8435):_0x52e6f,_0x4caadb=_0x520902[_0x31849f(0x295)]-0x1,_0x5d9be1;_0x4caadb>=0x0;_0x4caadb--)(_0x5d9be1=_0x520902[_0x4caadb])&&(_0x30cc09=_0x5d9be1(_0x30cc09)||_0x30cc09);return _0x30cc09;},Yt=(_0x54de5a,_0x1af4ab)=>(_0x44e7fa,_0x5f3732)=>_0x1af4ab(_0x44e7fa,_0x5f3732,_0x54de5a);const Qs=_0xe7476b(0x228),en=_0xe7476b(0x384);let It=class extends _0x1329fe{constructor(_0x2fbe89,_0x286dc3){var _0x423535=_0xe7476b;super(),this[_0x423535(0x257)]=_0x2fbe89,this[_0x423535(0x29f)]=_0x286dc3,this[_0x423535(0x2cb)]();}[_0xe7476b(0x2cb)](){var _0xa34869=_0xe7476b;this[_0xa34869(0x3a5)](this[_0xa34869(0x257)]['focused$']['subscribe'](()=>{var _0x3eeeb8=_0xa34869,_0x3554a5;const _0x67dfbf=this[_0x3eeeb8(0x257)]['getFocusedUnit']();let _0x498042=(_0x3554a5=this[_0x3eeeb8(0x29f)][_0x3eeeb8(0x178)](Qs))!=null?_0x3554a5:en;_0x67dfbf instanceof _0x26990f&&(_0x498042=_0x67dfbf['name']),document[_0x3eeeb8(0x127)]=_0x498042;}));}};It=Zs([Yt(0x0,_0x564314),Yt(0x1,_0x2c6e2)],It);var tn=Object[_0xe7476b(0x2af)],sn=(_0x3c2b71,_0xd5bb4a,_0x294492,_0x5b33d9)=>{var _0x112c79=_0xe7476b;for(var _0x26cc1c=_0x5b33d9>0x1?void 0x0:_0x5b33d9?tn(_0xd5bb4a,_0x294492):_0xd5bb4a,_0x35f0ec=_0x3c2b71[_0x112c79(0x295)]-0x1,_0x5e5681;_0x35f0ec>=0x0;_0x35f0ec--)(_0x5e5681=_0x3c2b71[_0x35f0ec])&&(_0x26cc1c=_0x5e5681(_0x26cc1c)||_0x26cc1c);return _0x26cc1c;},dt=(_0x49ec60,_0x5b2877)=>(_0x5eee75,_0x55ee61)=>_0x5b2877(_0x5eee75,_0x55ee61,_0x49ec60);let rt=class{constructor(_0x1678c7,_0x14351c,_0x4538fa){var _0x52c06c=_0xe7476b;this[_0x52c06c(0x29f)]=_0x1678c7,this[_0x52c06c(0x198)]=_0x14351c,this[_0x52c06c(0x383)]=_0x4538fa,this[_0x52c06c(0x1a7)]();}['init'](){var _0x16d2c4=_0xe7476b;this['_httpService'][_0x16d2c4(0x1cf)]({'priority':0x1,'interceptor':(_0x35d0d0,_0x4bdc8f)=>_0x4bdc8f(_0x35d0d0)[_0x16d2c4(0x2d0)](_0x28237d(async _0x284698=>{var _0x35ff1d=_0x16d2c4;const _0x5c372f=_0x284698;if(_0x5c372f['status']===0x191){if(typeof window>'u')throw new Error(_0x35ff1d(0x3d5));if(window[_0x35ff1d(0x187)](this[_0x35ff1d(0x383)]['t']('auth.needGotoLoginAlert'))){const _0x460b2c=window[_0x35ff1d(0x25e)](window[_0x35ff1d(0x3b8)]['href']);window[_0x35ff1d(0x3b8)]['href']=this['_getLoginPath']()+_0x35ff1d(0x313)+_0x460b2c;}}return _0x5c372f;}))});}[_0xe7476b(0x2e4)](){var _0x1078cf=_0xe7476b,_0x543e7d;const _0x37158f=this[_0x1078cf(0x29f)]['getConfig'](K);return(_0x543e7d=_0x37158f==null?void 0x0:_0x37158f[_0x1078cf(0x2bb)])!=null?_0x543e7d:Rs;}};rt=sn([dt(0x0,_0x2c6e2),dt(0x1,_0x3ab451(_0x5325d6)),dt(0x2,_0x3ab451(_0x4edbc8))],rt);var nn=Object[_0xe7476b(0x2af)],rn=(_0x5bc57b,_0x371f36,_0xa9bc01,_0xa62df2)=>{var _0x207d22=_0xe7476b;for(var _0x10e211=_0xa62df2>0x1?void 0x0:_0xa62df2?nn(_0x371f36,_0xa9bc01):_0x371f36,_0x145f2b=_0x5bc57b[_0x207d22(0x295)]-0x1,_0x3ee0f0;_0x145f2b>=0x0;_0x145f2b--)(_0x3ee0f0=_0x5bc57b[_0x145f2b])&&(_0x10e211=_0x3ee0f0(_0x10e211)||_0x10e211);return _0x10e211;},Kt=(_0x23c2e6,_0x194e10)=>(_0x592d1d,_0x46ca2f)=>_0x194e10(_0x592d1d,_0x46ca2f,_0x23c2e6);const an=_0xe7476b(0xee);let Tt=class extends _0x1329fe{constructor(_0x36ae46,_0x49a19b){var _0xe05644=_0xe7476b;super(),this[_0xe05644(0x1a2)]=_0x36ae46,this[_0xe05644(0x29f)]=_0x49a19b,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x2e50fa=_0xe7476b;const _0x23573f=this;this['disposeWithMe'](this['_HTTPService'][_0x2e50fa(0x1cf)]({'priority':0x3e7,'interceptor':_0x533f70({'isMatch'(_0x52a2b7){var _0x509ed9=_0x2e50fa,_0x1d8061;if(_0x52a2b7[_0x509ed9(0x345)]===_0x509ed9(0x3d6)&&((_0x1d8061=_0x52a2b7[_0x509ed9(0x3e1)])!=null&&_0x1d8061[_0x509ed9(0x2b5)])){const {objectID:_0x24cfab,objectType:_0x41a064}=_0x52a2b7[_0x509ed9(0x3e1)][_0x509ed9(0x2b5)]||{};if(!_0x24cfab||_0x41a064===void 0x0)return!0x1;const _0x2a1ee6=_0x23573f[_0x509ed9(0x17c)]()+'/'+_0x41a064+_0x509ed9(0x20c)+_0x24cfab+_0x509ed9(0x2ba);if(_0x52a2b7[_0x509ed9(0x2e8)]===_0x2a1ee6)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3a0ae6){var _0x740956=_0x2e50fa,_0x4c583f;return(_0x4c583f=_0x3a0ae6[_0x740956(0x3e1)])==null?void 0x0:_0x4c583f['body'];},'mergeParamsToRequest'(_0x227c5c,_0x1a6feb){var _0x1c6dda=_0x2e50fa;const _0x1b7054=_0x23573f[_0x1c6dda(0x17c)]()+_0x1c6dda(0x2c9),_0x255b12=_0x227c5c[_0x1c6dda(0x2df)]((_0xebd0ce,_0x3d1544)=>{var _0x35a036=_0x1c6dda;const {unitID:_0x21a868,objectID:_0x5e87fa,objectType:_0x10d512,actions:_0x4e8707}=_0x3d1544;return _0xebd0ce[_0x21a868]||(_0xebd0ce[_0x21a868]={}),_0xebd0ce[_0x21a868][_0x5e87fa]||(_0xebd0ce[_0x21a868][_0x5e87fa]={'objectID':_0x5e87fa,'objectType':_0x10d512,'actions':[]}),_0xebd0ce[_0x21a868][_0x5e87fa][_0x35a036(0x314)][_0x35a036(0x146)](..._0x4e8707),_0xebd0ce;},{}),_0x4315fe=[];for(const _0x499823 in _0x255b12)for(const _0xb062e1 in _0x255b12[_0x499823]){const {actions:_0x310a09,objectType:_0x22090d}=_0x255b12[_0x499823][_0xb062e1],_0x25b674=[...new Set(_0x310a09)];_0x4315fe[_0x1c6dda(0x146)]({'unitID':_0x499823,'objectID':_0xb062e1,'objectType':_0x22090d,'actions':_0x25b674});}return new _0x215338(_0x1c6dda(0x3d6),_0x1b7054,{'headers':_0x1a6feb[_0x1c6dda(0x261)],'withCredentials':_0x1a6feb[_0x1c6dda(0x1c0)],'responseType':_0x1a6feb['responseType'],'body':{'requests':_0x4315fe}});}},{'distributeResult'(_0x197573,_0x469e8e){var _0x4a40cb=_0x2e50fa;const {objectActions:_0x4e57d1}=_0x197573;return _0x469e8e[_0x4a40cb(0x267)](_0x3c56e9=>{var _0x248dd9=_0x4a40cb;const {unitID:_0x401830,objectID:_0x3400c3,actions:_0x5d44ee}=_0x3c56e9,_0x3d4cf2=_0x4e57d1['find'](_0x29c397=>_0x29c397[_0x248dd9(0x2a9)]===_0x401830&&_0x29c397[_0x248dd9(0x1ad)]===_0x3400c3),_0x45fa3d=_0x5d44ee['map'](_0x224956=>_0x3d4cf2==null?void 0x0:_0x3d4cf2[_0x248dd9(0x314)]['find'](_0x59d426=>_0x59d426['action']===_0x224956))[_0x248dd9(0x26a)](_0x35d3c8=>!!_0x35d3c8);return{'config':_0x3c56e9,'result':{'actions':_0x45fa3d,'error':_0x197573[_0x248dd9(0x33f)]}};});}})}));}[_0xe7476b(0x17c)](){var _0xc68075=_0xe7476b,_0x15a683;const _0x232657=this[_0xc68075(0x29f)][_0xc68075(0x178)](K);return(_0x15a683=_0x232657==null?void 0x0:_0x232657[_0xc68075(0x392)])!=null?_0x15a683:an;}async['create'](_0x2e337e){var _0x2457f5=_0xe7476b;const _0x4d0667=this[_0x2457f5(0x17c)]()+'/'+_0x2e337e[_0x2457f5(0x240)]+_0x2457f5(0x361);return(await this['_HTTPService']['post'](_0x4d0667,{'body':_0x2e337e}))['body'][_0x2457f5(0x1ad)]||'';}async[_0xe7476b(0x3c9)](_0x5b6570){var _0x4cb7b5=_0xe7476b;const _0x370072=this[_0x4cb7b5(0x17c)]()+'/-/object/list';return(await this[_0x4cb7b5(0x1a2)][_0x4cb7b5(0x2d7)](_0x370072,{'body':_0x5b6570}))[_0x4cb7b5(0x2b5)][_0x4cb7b5(0x142)];}async[_0xe7476b(0x3c1)](_0x478658){var _0x197e90=_0xe7476b,_0x1167dd,_0x3cf1f1;const _0xe9a1c4=this[_0x197e90(0x17c)]()+'/'+_0x478658['objectType']+_0x197e90(0x20c)+_0x478658[_0x197e90(0x1ad)],_0x1c9f27=await this[_0x197e90(0x1a2)][_0x197e90(0x3db)](_0xe9a1c4,{'body':_0x478658});if(((_0x3cf1f1=(_0x1167dd=_0x1c9f27==null?void 0x0:_0x1c9f27['body'])==null?void 0x0:_0x1167dd['error'])==null?void 0x0:_0x3cf1f1['code'])!==0x1)throw new Error(_0x197e90(0x256));}async[_0xe7476b(0x177)](_0xe529ac){var _0xcd3c9f=_0xe7476b;const _0x163f13=this['_getAPIPrefixPath']()+'/'+_0xe529ac[_0xcd3c9f(0x240)]+'/object/'+_0xe529ac[_0xcd3c9f(0x1ad)]+_0xcd3c9f(0x2ba);return(await this[_0xcd3c9f(0x1a2)][_0xcd3c9f(0x2d7)](_0x163f13,{'body':_0xe529ac}))[_0xcd3c9f(0x2b5)][_0xcd3c9f(0x314)];}async[_0xe7476b(0x39f)](_0x15f3af){var _0x531fe5=_0xe7476b;const _0x4ee7ce=this[_0x531fe5(0x17c)]()+_0x531fe5(0x2c9);return(await this[_0x531fe5(0x1a2)][_0x531fe5(0x2d7)](_0x4ee7ce,{'body':{'requests':_0x15f3af}}))['body']['objectActions'];}async[_0xe7476b(0x308)](_0x559460){var _0x247590=_0xe7476b;const _0x3c9515=this[_0x247590(0x17c)]()+'/'+_0x559460[_0x247590(0x240)]+_0x247590(0x181),_0x3d019f=await this[_0x247590(0x1a2)]['post'](_0x3c9515,{'body':_0x559460});return{'roles':_0x3d019f[_0x247590(0x2b5)][_0x247590(0x327)],'actions':_0x3d019f[_0x247590(0x2b5)][_0x247590(0x314)]};}async[_0xe7476b(0x119)](_0x3e5c6f){var _0x135308=_0xe7476b;const _0x404357=this[_0x135308(0x17c)]()+_0x135308(0x37b);await this[_0x135308(0x1a2)][_0x135308(0x333)](_0x404357,{'params':{'collaboratorID':_0x3e5c6f['collaboratorID'],'objectID':_0x3e5c6f[_0x135308(0x1ad)],'unitID':_0x3e5c6f['unitID']}});}async[_0xe7476b(0x2fc)](_0x15e050){var _0x1c1c9c=_0xe7476b;const _0xe5352c=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x1c1c9c(0x1a2)][_0x1c1c9c(0x2d6)](_0xe5352c,{'body':_0x15e050});}async[_0xe7476b(0x114)](_0x11afc0){var _0x3241d1=_0xe7476b;const _0x1ce1d7=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x3241d1(0x2d7)](_0x1ce1d7,{'body':_0x11afc0});}async[_0xe7476b(0x258)](_0x10b4fc){var _0x5a2b8b=_0xe7476b;const _0xa4b971=this[_0x5a2b8b(0x17c)]()+'/collaborator';return(await this[_0x5a2b8b(0x1a2)][_0x5a2b8b(0x174)](_0xa4b971,{'params':{'objectID':_0x10b4fc[_0x5a2b8b(0x1ad)],'unitID':_0x10b4fc[_0x5a2b8b(0x2a9)]}}))[_0x5a2b8b(0x2b5)]['collaborators'];}async[_0xe7476b(0x3c5)](_0x3a86e4){var _0x2cc31b=_0xe7476b;const _0x242b5e=this[_0x2cc31b(0x17c)]()+_0x2cc31b(0x37b);await this['_HTTPService'][_0x2cc31b(0x3db)](_0x242b5e,{'body':_0x3a86e4});}};Tt=rn([Kt(0x0,_0x3ab451(_0x5325d6)),Kt(0x1,_0x3ab451(_0x2c6e2))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x417466){var _0xb3a6a6=_0xe7476b;return _0x417466&&_0x417466[_0xb3a6a6(0x1ee)]&&Object['prototype'][_0xb3a6a6(0x24e)][_0xb3a6a6(0x290)](_0x417466,_0xb3a6a6(0x312))?_0x417466[_0xb3a6a6(0x312)]:_0x417466;}var Ve={'exports':{}};function on(_0x52d757){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x52d757+'\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[_0xe7476b(0x13c)],qt;function te(){var _0x5a4fbe=_0xe7476b;return qt||(qt=0x1,function(_0x3951df,_0x1c2718){(function(_0x575144,_0x259c6f){var _0x967ed3=_0x33f0;_0x3951df[_0x967ed3(0x13c)]=_0x259c6f();}(cn,function(){var _0x53869e=_0x53869e||function(_0x44b438,_0x215554){var _0xe40ca4=_0x33f0,_0x59809d;if(typeof window<'u'&&window[_0xe40ca4(0x3bb)]&&(_0x59809d=window[_0xe40ca4(0x3bb)]),typeof self<'u'&&self[_0xe40ca4(0x3bb)]&&(_0x59809d=self[_0xe40ca4(0x3bb)]),typeof globalThis<'u'&&globalThis[_0xe40ca4(0x3bb)]&&(_0x59809d=globalThis['crypto']),!_0x59809d&&typeof window<'u'&&window[_0xe40ca4(0x25a)]&&(_0x59809d=window[_0xe40ca4(0x25a)]),!_0x59809d&&typeof ft<'u'&&ft[_0xe40ca4(0x3bb)]&&(_0x59809d=ft[_0xe40ca4(0x3bb)]),!_0x59809d&&typeof on==_0xe40ca4(0x172))try{_0x59809d=require('crypto');}catch{}var _0x436b2c=function(){var _0x4ee622=_0xe40ca4;if(_0x59809d){if(typeof _0x59809d[_0x4ee622(0xf2)]==_0x4ee622(0x172))try{return _0x59809d[_0x4ee622(0xf2)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x59809d[_0x4ee622(0x194)]==_0x4ee622(0x172))try{return _0x59809d[_0x4ee622(0x194)](0x4)[_0x4ee622(0x3b0)]();}catch{}}throw new Error(_0x4ee622(0x10e));},_0x2c4062=Object[_0xe40ca4(0x2a6)]||(function(){function _0x544846(){}return function(_0x1e2f29){var _0x371895=_0x33f0,_0x58e887;return _0x544846[_0x371895(0x29c)]=_0x1e2f29,_0x58e887=new _0x544846(),_0x544846[_0x371895(0x29c)]=null,_0x58e887;};}()),_0x29ce1f={},_0x1ba9ea=_0x29ce1f[_0xe40ca4(0x16e)]={},_0x555175=_0x1ba9ea['Base']=(function(){return{'extend':function(_0xde8e43){var _0x36243c=_0x33f0,_0xe07be5=_0x2c4062(this);return _0xde8e43&&_0xe07be5[_0x36243c(0x1d6)](_0xde8e43),(!_0xe07be5['hasOwnProperty'](_0x36243c(0x1a7))||this['init']===_0xe07be5['init'])&&(_0xe07be5['init']=function(){var _0x21afc0=_0x36243c;_0xe07be5[_0x21afc0(0x2b8)][_0x21afc0(0x1a7)][_0x21afc0(0x30c)](this,arguments);}),_0xe07be5[_0x36243c(0x1a7)]['prototype']=_0xe07be5,_0xe07be5['$super']=this,_0xe07be5;},'create':function(){var _0x2d47da=_0x33f0,_0x595c77=this[_0x2d47da(0x124)]();return _0x595c77[_0x2d47da(0x1a7)][_0x2d47da(0x30c)](_0x595c77,arguments),_0x595c77;},'init':function(){},'mixIn':function(_0x59f335){var _0x2bba09=_0x33f0;for(var _0x114987 in _0x59f335)_0x59f335[_0x2bba09(0x24e)](_0x114987)&&(this[_0x114987]=_0x59f335[_0x114987]);_0x59f335[_0x2bba09(0x24e)](_0x2bba09(0x24d))&&(this[_0x2bba09(0x24d)]=_0x59f335[_0x2bba09(0x24d)]);},'clone':function(){var _0x4811f4=_0x33f0;return this[_0x4811f4(0x1a7)]['prototype'][_0x4811f4(0x124)](this);}};}()),_0x15282b=_0x1ba9ea['WordArray']=_0x555175[_0xe40ca4(0x124)]({'init':function(_0x47308c,_0x559328){var _0x495e1d=_0xe40ca4;_0x47308c=this[_0x495e1d(0x26e)]=_0x47308c||[],_0x559328!=_0x215554?this[_0x495e1d(0x1f5)]=_0x559328:this['sigBytes']=_0x47308c[_0x495e1d(0x295)]*0x4;},'toString':function(_0x6ea993){var _0x5d146c=_0xe40ca4;return(_0x6ea993||_0x44ec53)[_0x5d146c(0x2c7)](this);},'concat':function(_0x20d818){var _0x299fe1=_0xe40ca4,_0x2f8d58=this[_0x299fe1(0x26e)],_0xc4df59=_0x20d818['words'],_0x262b62=this['sigBytes'],_0x5cf861=_0x20d818[_0x299fe1(0x1f5)];if(this[_0x299fe1(0x34a)](),_0x262b62%0x4)for(var _0xd5d579=0x0;_0xd5d579<_0x5cf861;_0xd5d579++){var _0x8a2a12=_0xc4df59[_0xd5d579>>>0x2]>>>0x18-_0xd5d579%0x4*0x8&0xff;_0x2f8d58[_0x262b62+_0xd5d579>>>0x2]|=_0x8a2a12<<0x18-(_0x262b62+_0xd5d579)%0x4*0x8;}else{for(var _0x525145=0x0;_0x525145<_0x5cf861;_0x525145+=0x4)_0x2f8d58[_0x262b62+_0x525145>>>0x2]=_0xc4df59[_0x525145>>>0x2];}return this['sigBytes']+=_0x5cf861,this;},'clamp':function(){var _0x13323d=_0xe40ca4,_0x52b948=this[_0x13323d(0x26e)],_0x5568b2=this[_0x13323d(0x1f5)];_0x52b948[_0x5568b2>>>0x2]&=0xffffffff<<0x20-_0x5568b2%0x4*0x8,_0x52b948[_0x13323d(0x295)]=_0x44b438[_0x13323d(0x219)](_0x5568b2/0x4);},'clone':function(){var _0x40f391=_0xe40ca4,_0x27d37a=_0x555175[_0x40f391(0x3dc)][_0x40f391(0x290)](this);return _0x27d37a[_0x40f391(0x26e)]=this[_0x40f391(0x26e)][_0x40f391(0x253)](0x0),_0x27d37a;},'random':function(_0x311bbe){var _0x4ee38f=_0xe40ca4;for(var _0x579bd3=[],_0x253c0f=0x0;_0x253c0f<_0x311bbe;_0x253c0f+=0x4)_0x579bd3[_0x4ee38f(0x146)](_0x436b2c());return new _0x15282b[(_0x4ee38f(0x1a7))](_0x579bd3,_0x311bbe);}}),_0xfff041=_0x29ce1f['enc']={},_0x44ec53=_0xfff041[_0xe40ca4(0x1d8)]={'stringify':function(_0x480087){var _0x1023cb=_0xe40ca4;for(var _0x4767d1=_0x480087['words'],_0x3c2fe1=_0x480087['sigBytes'],_0x146dc0=[],_0x34b1fc=0x0;_0x34b1fc<_0x3c2fe1;_0x34b1fc++){var _0x4c9815=_0x4767d1[_0x34b1fc>>>0x2]>>>0x18-_0x34b1fc%0x4*0x8&0xff;_0x146dc0[_0x1023cb(0x146)]((_0x4c9815>>>0x4)[_0x1023cb(0x24d)](0x10)),_0x146dc0[_0x1023cb(0x146)]((_0x4c9815&0xf)[_0x1023cb(0x24d)](0x10));}return _0x146dc0['join']('');},'parse':function(_0x30d69f){var _0x476527=_0xe40ca4;for(var _0x3560ad=_0x30d69f[_0x476527(0x295)],_0x54b903=[],_0x384f05=0x0;_0x384f05<_0x3560ad;_0x384f05+=0x2)_0x54b903[_0x384f05>>>0x3]|=parseInt(_0x30d69f[_0x476527(0x2fb)](_0x384f05,0x2),0x10)<<0x18-_0x384f05%0x8*0x4;return new _0x15282b[(_0x476527(0x1a7))](_0x54b903,_0x3560ad/0x2);}},_0x51518d=_0xfff041[_0xe40ca4(0x360)]={'stringify':function(_0x120d2c){var _0x2870f6=_0xe40ca4;for(var _0x42ad06=_0x120d2c[_0x2870f6(0x26e)],_0xa9f4d0=_0x120d2c[_0x2870f6(0x1f5)],_0x36fefc=[],_0x256375=0x0;_0x256375<_0xa9f4d0;_0x256375++){var _0x5408e0=_0x42ad06[_0x256375>>>0x2]>>>0x18-_0x256375%0x4*0x8&0xff;_0x36fefc[_0x2870f6(0x146)](String[_0x2870f6(0x279)](_0x5408e0));}return _0x36fefc['join']('');},'parse':function(_0x2f6985){var _0x4a6de8=_0xe40ca4;for(var _0x5ed379=_0x2f6985[_0x4a6de8(0x295)],_0x20f327=[],_0x1b6291=0x0;_0x1b6291<_0x5ed379;_0x1b6291++)_0x20f327[_0x1b6291>>>0x2]|=(_0x2f6985[_0x4a6de8(0x1e6)](_0x1b6291)&0xff)<<0x18-_0x1b6291%0x4*0x8;return new _0x15282b['init'](_0x20f327,_0x5ed379);}},_0x1e4b71=_0xfff041['Utf8']={'stringify':function(_0x19ee33){var _0x5dd1b6=_0xe40ca4;try{return decodeURIComponent(escape(_0x51518d[_0x5dd1b6(0x2c7)](_0x19ee33)));}catch{throw new Error(_0x5dd1b6(0x356));}},'parse':function(_0x11990f){var _0x265d0d=_0xe40ca4;return _0x51518d[_0x265d0d(0x184)](unescape(encodeURIComponent(_0x11990f)));}},_0x597a13=_0x1ba9ea[_0xe40ca4(0x280)]=_0x555175[_0xe40ca4(0x124)]({'reset':function(){var _0x443650=_0xe40ca4;this[_0x443650(0x113)]=new _0x15282b[(_0x443650(0x1a7))](),this[_0x443650(0x1cb)]=0x0;},'_append':function(_0x3e5711){var _0x376593=_0xe40ca4;typeof _0x3e5711==_0x376593(0x180)&&(_0x3e5711=_0x1e4b71['parse'](_0x3e5711)),this['_data']['concat'](_0x3e5711),this[_0x376593(0x1cb)]+=_0x3e5711[_0x376593(0x1f5)];},'_process':function(_0x23a8db){var _0x2b57b2=_0xe40ca4,_0x2ba0e6,_0x4cd222=this[_0x2b57b2(0x113)],_0x31dfc0=_0x4cd222[_0x2b57b2(0x26e)],_0x2c6132=_0x4cd222[_0x2b57b2(0x1f5)],_0x1da534=this[_0x2b57b2(0x20d)],_0x4f2c36=_0x1da534*0x4,_0x56798a=_0x2c6132/_0x4f2c36;_0x23a8db?_0x56798a=_0x44b438['ceil'](_0x56798a):_0x56798a=_0x44b438[_0x2b57b2(0x108)]((_0x56798a|0x0)-this[_0x2b57b2(0x278)],0x0);var _0x30107e=_0x56798a*_0x1da534,_0x32399c=_0x44b438[_0x2b57b2(0x18e)](_0x30107e*0x4,_0x2c6132);if(_0x30107e){for(var _0x4d54b8=0x0;_0x4d54b8<_0x30107e;_0x4d54b8+=_0x1da534)this[_0x2b57b2(0x255)](_0x31dfc0,_0x4d54b8);_0x2ba0e6=_0x31dfc0['splice'](0x0,_0x30107e),_0x4cd222[_0x2b57b2(0x1f5)]-=_0x32399c;}return new _0x15282b[(_0x2b57b2(0x1a7))](_0x2ba0e6,_0x32399c);},'clone':function(){var _0x448c3f=_0xe40ca4,_0x358c00=_0x555175[_0x448c3f(0x3dc)]['call'](this);return _0x358c00[_0x448c3f(0x113)]=this[_0x448c3f(0x113)][_0x448c3f(0x3dc)](),_0x358c00;},'_minBufferSize':0x0});_0x1ba9ea[_0xe40ca4(0x1f7)]=_0x597a13[_0xe40ca4(0x124)]({'cfg':_0x555175[_0xe40ca4(0x124)](),'init':function(_0x48487a){var _0x3a28d1=_0xe40ca4;this['cfg']=this[_0x3a28d1(0x363)]['extend'](_0x48487a),this[_0x3a28d1(0x186)]();},'reset':function(){var _0x4a33b7=_0xe40ca4;_0x597a13[_0x4a33b7(0x186)][_0x4a33b7(0x290)](this),this[_0x4a33b7(0x195)]();},'update':function(_0x2a1f0d){var _0x38f163=_0xe40ca4;return this[_0x38f163(0x1c9)](_0x2a1f0d),this[_0x38f163(0x29b)](),this;},'finalize':function(_0x53f1fb){var _0x1ce14a=_0xe40ca4;_0x53f1fb&&this[_0x1ce14a(0x1c9)](_0x53f1fb);var _0x1b0e4c=this[_0x1ce14a(0x221)]();return _0x1b0e4c;},'blockSize':0x10,'_createHelper':function(_0x24a11a){return function(_0x29572e,_0x5da29f){var _0x5ba6c7=_0x33f0;return new _0x24a11a[(_0x5ba6c7(0x1a7))](_0x5da29f)[_0x5ba6c7(0x309)](_0x29572e);};},'_createHmacHelper':function(_0x2286d9){return function(_0x59b532,_0x46867f){var _0x3b42a4=_0x33f0;return new _0x4a14a5[(_0x3b42a4(0x209))][(_0x3b42a4(0x1a7))](_0x2286d9,_0x46867f)[_0x3b42a4(0x309)](_0x59b532);};}});var _0x4a14a5=_0x29ce1f['algo']={};return _0x29ce1f;}(Math);return _0x53869e;}));}(We)),We[_0x5a4fbe(0x13c)];}var Ge={'exports':{}},hn=Ge[_0xe7476b(0x13c)],zt;function Ri(){var _0x3290e5=_0xe7476b;return zt||(zt=0x1,function(_0x11fb1f,_0x3c9379){(function(_0xc4eb58,_0x3a8081){_0x11fb1f['exports']=_0x3a8081(te());}(hn,function(_0x2d7a21){var _0x49b705=_0x33f0;return(function(){var _0x530927=_0x33f0,_0x4e0790=_0x2d7a21,_0x15b81a=_0x4e0790[_0x530927(0x16e)],_0x5003bb=_0x15b81a['WordArray'],_0x5a6393=_0x4e0790['enc'];_0x5a6393[_0x530927(0x139)]={'stringify':function(_0x1221af){var _0x54874e=_0x530927,_0x25acdf=_0x1221af[_0x54874e(0x26e)],_0x3fd6f5=_0x1221af[_0x54874e(0x1f5)],_0x17d933=this[_0x54874e(0x1d1)];_0x1221af[_0x54874e(0x34a)]();for(var _0x522c96=[],_0xaf1e98=0x0;_0xaf1e98<_0x3fd6f5;_0xaf1e98+=0x3)for(var _0x577f17=_0x25acdf[_0xaf1e98>>>0x2]>>>0x18-_0xaf1e98%0x4*0x8&0xff,_0x3c962e=_0x25acdf[_0xaf1e98+0x1>>>0x2]>>>0x18-(_0xaf1e98+0x1)%0x4*0x8&0xff,_0x470c80=_0x25acdf[_0xaf1e98+0x2>>>0x2]>>>0x18-(_0xaf1e98+0x2)%0x4*0x8&0xff,_0x3e42c3=_0x577f17<<0x10|_0x3c962e<<0x8|_0x470c80,_0x12de3f=0x0;_0x12de3f<0x4&&_0xaf1e98+_0x12de3f*0.75<_0x3fd6f5;_0x12de3f++)_0x522c96[_0x54874e(0x146)](_0x17d933[_0x54874e(0x24a)](_0x3e42c3>>>0x6*(0x3-_0x12de3f)&0x3f));var _0x556f57=_0x17d933[_0x54874e(0x24a)](0x40);if(_0x556f57){for(;_0x522c96['length']%0x4;)_0x522c96['push'](_0x556f57);}return _0x522c96['join']('');},'parse':function(_0x4c88a0){var _0x53df3e=_0x530927,_0x8a1cfc=_0x4c88a0['length'],_0x64fc2=this[_0x53df3e(0x1d1)],_0x230797=this['_reverseMap'];if(!_0x230797){_0x230797=this['_reverseMap']=[];for(var _0x1759c3=0x0;_0x1759c3<_0x64fc2['length'];_0x1759c3++)_0x230797[_0x64fc2[_0x53df3e(0x1e6)](_0x1759c3)]=_0x1759c3;}var _0x4ab496=_0x64fc2['charAt'](0x40);if(_0x4ab496){var _0x1bce1e=_0x4c88a0['indexOf'](_0x4ab496);_0x1bce1e!==-0x1&&(_0x8a1cfc=_0x1bce1e);}return _0x2f2983(_0x4c88a0,_0x8a1cfc,_0x230797);},'_map':_0x530927(0x2b6)};function _0x2f2983(_0x20e2d7,_0x3d729b,_0x6b0856){var _0x459cfe=_0x530927;for(var _0x49e891=[],_0x98cee1=0x0,_0x1ed37e=0x0;_0x1ed37e<_0x3d729b;_0x1ed37e++)if(_0x1ed37e%0x4){var _0x36e590=_0x6b0856[_0x20e2d7[_0x459cfe(0x1e6)](_0x1ed37e-0x1)]<<_0x1ed37e%0x4*0x2,_0x1ae3f0=_0x6b0856[_0x20e2d7[_0x459cfe(0x1e6)](_0x1ed37e)]>>>0x6-_0x1ed37e%0x4*0x2,_0x521013=_0x36e590|_0x1ae3f0;_0x49e891[_0x98cee1>>>0x2]|=_0x521013<<0x18-_0x98cee1%0x4*0x8,_0x98cee1++;}return _0x5003bb[_0x459cfe(0x2a6)](_0x49e891,_0x98cee1);}}()),_0x2d7a21[_0x49b705(0x1fc)][_0x49b705(0x139)];}));}(Ge)),Ge[_0x3290e5(0x13c)];}var Ye={'exports':{}},_n=Ye['exports'],Jt;function ln(){var _0x263f60=_0xe7476b;return Jt||(Jt=0x1,function(_0x542bae,_0x37955e){(function(_0x35e908,_0x4b7025){var _0x311e31=_0x33f0;_0x542bae[_0x311e31(0x13c)]=_0x4b7025(te());}(_n,function(_0x4d8e62){var _0x421fe5=_0x33f0;return function(_0xbf8bb5){var _0x408999=_0x33f0,_0xbd20a7=_0x4d8e62,_0x15320c=_0xbd20a7[_0x408999(0x16e)],_0x326059=_0x15320c[_0x408999(0x1ca)],_0x4fe9e9=_0x15320c[_0x408999(0x1f7)],_0x3e5d8a=_0xbd20a7['algo'],_0x20d07a=[];(function(){var _0x1f9a23=_0x408999;for(var _0x36bb8c=0x0;_0x36bb8c<0x40;_0x36bb8c++)_0x20d07a[_0x36bb8c]=_0xbf8bb5['abs'](_0xbf8bb5[_0x1f9a23(0x204)](_0x36bb8c+0x1))*0x100000000|0x0;}());var _0x46a78c=_0x3e5d8a[_0x408999(0x147)]=_0x4fe9e9['extend']({'_doReset':function(){var _0xfc78e7=_0x408999;this[_0xfc78e7(0x34b)]=new _0x326059[(_0xfc78e7(0x1a7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x56d12d,_0x393813){var _0x178977=_0x408999;for(var _0x28c89b=0x0;_0x28c89b<0x10;_0x28c89b++){var _0x4ec7e1=_0x393813+_0x28c89b,_0x14cf98=_0x56d12d[_0x4ec7e1];_0x56d12d[_0x4ec7e1]=(_0x14cf98<<0x8|_0x14cf98>>>0x18)&0xff00ff|(_0x14cf98<<0x18|_0x14cf98>>>0x8)&0xff00ff00;}var _0x53c404=this[_0x178977(0x34b)][_0x178977(0x26e)],_0x141863=_0x56d12d[_0x393813+0x0],_0x373113=_0x56d12d[_0x393813+0x1],_0x43fd3a=_0x56d12d[_0x393813+0x2],_0xba829c=_0x56d12d[_0x393813+0x3],_0x270ba6=_0x56d12d[_0x393813+0x4],_0x236283=_0x56d12d[_0x393813+0x5],_0x5437bc=_0x56d12d[_0x393813+0x6],_0x204b1e=_0x56d12d[_0x393813+0x7],_0x109d15=_0x56d12d[_0x393813+0x8],_0x429a9d=_0x56d12d[_0x393813+0x9],_0x49d452=_0x56d12d[_0x393813+0xa],_0x263355=_0x56d12d[_0x393813+0xb],_0x150730=_0x56d12d[_0x393813+0xc],_0x1bc4ae=_0x56d12d[_0x393813+0xd],_0x20575d=_0x56d12d[_0x393813+0xe],_0x438f73=_0x56d12d[_0x393813+0xf],_0x4db581=_0x53c404[0x0],_0x279437=_0x53c404[0x1],_0x3d6fc9=_0x53c404[0x2],_0x27fb5c=_0x53c404[0x3];_0x4db581=_0x32a635(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x141863,0x7,_0x20d07a[0x0]),_0x27fb5c=_0x32a635(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x373113,0xc,_0x20d07a[0x1]),_0x3d6fc9=_0x32a635(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x43fd3a,0x11,_0x20d07a[0x2]),_0x279437=_0x32a635(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0xba829c,0x16,_0x20d07a[0x3]),_0x4db581=_0x32a635(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x270ba6,0x7,_0x20d07a[0x4]),_0x27fb5c=_0x32a635(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x236283,0xc,_0x20d07a[0x5]),_0x3d6fc9=_0x32a635(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x5437bc,0x11,_0x20d07a[0x6]),_0x279437=_0x32a635(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x204b1e,0x16,_0x20d07a[0x7]),_0x4db581=_0x32a635(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x109d15,0x7,_0x20d07a[0x8]),_0x27fb5c=_0x32a635(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x429a9d,0xc,_0x20d07a[0x9]),_0x3d6fc9=_0x32a635(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x49d452,0x11,_0x20d07a[0xa]),_0x279437=_0x32a635(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x263355,0x16,_0x20d07a[0xb]),_0x4db581=_0x32a635(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x150730,0x7,_0x20d07a[0xc]),_0x27fb5c=_0x32a635(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x1bc4ae,0xc,_0x20d07a[0xd]),_0x3d6fc9=_0x32a635(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x20575d,0x11,_0x20d07a[0xe]),_0x279437=_0x32a635(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x438f73,0x16,_0x20d07a[0xf]),_0x4db581=_0x557399(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x373113,0x5,_0x20d07a[0x10]),_0x27fb5c=_0x557399(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x5437bc,0x9,_0x20d07a[0x11]),_0x3d6fc9=_0x557399(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x263355,0xe,_0x20d07a[0x12]),_0x279437=_0x557399(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x141863,0x14,_0x20d07a[0x13]),_0x4db581=_0x557399(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x236283,0x5,_0x20d07a[0x14]),_0x27fb5c=_0x557399(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x49d452,0x9,_0x20d07a[0x15]),_0x3d6fc9=_0x557399(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x438f73,0xe,_0x20d07a[0x16]),_0x279437=_0x557399(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x270ba6,0x14,_0x20d07a[0x17]),_0x4db581=_0x557399(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x429a9d,0x5,_0x20d07a[0x18]),_0x27fb5c=_0x557399(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x20575d,0x9,_0x20d07a[0x19]),_0x3d6fc9=_0x557399(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0xba829c,0xe,_0x20d07a[0x1a]),_0x279437=_0x557399(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x109d15,0x14,_0x20d07a[0x1b]),_0x4db581=_0x557399(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x1bc4ae,0x5,_0x20d07a[0x1c]),_0x27fb5c=_0x557399(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x43fd3a,0x9,_0x20d07a[0x1d]),_0x3d6fc9=_0x557399(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x204b1e,0xe,_0x20d07a[0x1e]),_0x279437=_0x557399(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x150730,0x14,_0x20d07a[0x1f]),_0x4db581=_0x33ec54(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x236283,0x4,_0x20d07a[0x20]),_0x27fb5c=_0x33ec54(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x109d15,0xb,_0x20d07a[0x21]),_0x3d6fc9=_0x33ec54(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x263355,0x10,_0x20d07a[0x22]),_0x279437=_0x33ec54(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x20575d,0x17,_0x20d07a[0x23]),_0x4db581=_0x33ec54(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x373113,0x4,_0x20d07a[0x24]),_0x27fb5c=_0x33ec54(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x270ba6,0xb,_0x20d07a[0x25]),_0x3d6fc9=_0x33ec54(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x204b1e,0x10,_0x20d07a[0x26]),_0x279437=_0x33ec54(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x49d452,0x17,_0x20d07a[0x27]),_0x4db581=_0x33ec54(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x1bc4ae,0x4,_0x20d07a[0x28]),_0x27fb5c=_0x33ec54(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x141863,0xb,_0x20d07a[0x29]),_0x3d6fc9=_0x33ec54(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0xba829c,0x10,_0x20d07a[0x2a]),_0x279437=_0x33ec54(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x5437bc,0x17,_0x20d07a[0x2b]),_0x4db581=_0x33ec54(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x429a9d,0x4,_0x20d07a[0x2c]),_0x27fb5c=_0x33ec54(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x150730,0xb,_0x20d07a[0x2d]),_0x3d6fc9=_0x33ec54(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x438f73,0x10,_0x20d07a[0x2e]),_0x279437=_0x33ec54(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x43fd3a,0x17,_0x20d07a[0x2f]),_0x4db581=_0x19438a(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x141863,0x6,_0x20d07a[0x30]),_0x27fb5c=_0x19438a(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x204b1e,0xa,_0x20d07a[0x31]),_0x3d6fc9=_0x19438a(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x20575d,0xf,_0x20d07a[0x32]),_0x279437=_0x19438a(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x236283,0x15,_0x20d07a[0x33]),_0x4db581=_0x19438a(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x150730,0x6,_0x20d07a[0x34]),_0x27fb5c=_0x19438a(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0xba829c,0xa,_0x20d07a[0x35]),_0x3d6fc9=_0x19438a(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x49d452,0xf,_0x20d07a[0x36]),_0x279437=_0x19438a(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x373113,0x15,_0x20d07a[0x37]),_0x4db581=_0x19438a(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x109d15,0x6,_0x20d07a[0x38]),_0x27fb5c=_0x19438a(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x438f73,0xa,_0x20d07a[0x39]),_0x3d6fc9=_0x19438a(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x5437bc,0xf,_0x20d07a[0x3a]),_0x279437=_0x19438a(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x1bc4ae,0x15,_0x20d07a[0x3b]),_0x4db581=_0x19438a(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x270ba6,0x6,_0x20d07a[0x3c]),_0x27fb5c=_0x19438a(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x263355,0xa,_0x20d07a[0x3d]),_0x3d6fc9=_0x19438a(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x43fd3a,0xf,_0x20d07a[0x3e]),_0x279437=_0x19438a(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x429a9d,0x15,_0x20d07a[0x3f]),_0x53c404[0x0]=_0x53c404[0x0]+_0x4db581|0x0,_0x53c404[0x1]=_0x53c404[0x1]+_0x279437|0x0,_0x53c404[0x2]=_0x53c404[0x2]+_0x3d6fc9|0x0,_0x53c404[0x3]=_0x53c404[0x3]+_0x27fb5c|0x0;},'_doFinalize':function(){var _0x5a922a=_0x408999,_0x491219=this[_0x5a922a(0x113)],_0x3fbb14=_0x491219[_0x5a922a(0x26e)],_0xbc5ccc=this['_nDataBytes']*0x8,_0x315a77=_0x491219[_0x5a922a(0x1f5)]*0x8;_0x3fbb14[_0x315a77>>>0x5]|=0x80<<0x18-_0x315a77%0x20;var _0x5e0c1a=_0xbf8bb5[_0x5a922a(0x246)](_0xbc5ccc/0x100000000),_0x5bf08b=_0xbc5ccc;_0x3fbb14[(_0x315a77+0x40>>>0x9<<0x4)+0xf]=(_0x5e0c1a<<0x8|_0x5e0c1a>>>0x18)&0xff00ff|(_0x5e0c1a<<0x18|_0x5e0c1a>>>0x8)&0xff00ff00,_0x3fbb14[(_0x315a77+0x40>>>0x9<<0x4)+0xe]=(_0x5bf08b<<0x8|_0x5bf08b>>>0x18)&0xff00ff|(_0x5bf08b<<0x18|_0x5bf08b>>>0x8)&0xff00ff00,_0x491219[_0x5a922a(0x1f5)]=(_0x3fbb14[_0x5a922a(0x295)]+0x1)*0x4,this['_process']();for(var _0x2247a4=this['_hash'],_0x13da8e=_0x2247a4[_0x5a922a(0x26e)],_0x56bea2=0x0;_0x56bea2<0x4;_0x56bea2++){var _0x4f3b00=_0x13da8e[_0x56bea2];_0x13da8e[_0x56bea2]=(_0x4f3b00<<0x8|_0x4f3b00>>>0x18)&0xff00ff|(_0x4f3b00<<0x18|_0x4f3b00>>>0x8)&0xff00ff00;}return _0x2247a4;},'clone':function(){var _0xaab38c=_0x408999,_0x41b887=_0x4fe9e9['clone']['call'](this);return _0x41b887[_0xaab38c(0x34b)]=this[_0xaab38c(0x34b)]['clone'](),_0x41b887;}});function _0x32a635(_0x56eae2,_0x41e32a,_0x1298eb,_0x5a3a8a,_0x409153,_0x2d949a,_0x456f88){var _0x139967=_0x56eae2+(_0x41e32a&_0x1298eb|~_0x41e32a&_0x5a3a8a)+_0x409153+_0x456f88;return(_0x139967<<_0x2d949a|_0x139967>>>0x20-_0x2d949a)+_0x41e32a;}function _0x557399(_0x40c6b1,_0x13caf0,_0x426b93,_0x2259d1,_0x168a8a,_0x1dba2c,_0x5d3b44){var _0x5ea94e=_0x40c6b1+(_0x13caf0&_0x2259d1|_0x426b93&~_0x2259d1)+_0x168a8a+_0x5d3b44;return(_0x5ea94e<<_0x1dba2c|_0x5ea94e>>>0x20-_0x1dba2c)+_0x13caf0;}function _0x33ec54(_0x493022,_0x4f3ad9,_0x22fb9e,_0x4bcf8f,_0xc19188,_0x1b41c7,_0x4b4fd8){var _0x33b874=_0x493022+(_0x4f3ad9^_0x22fb9e^_0x4bcf8f)+_0xc19188+_0x4b4fd8;return(_0x33b874<<_0x1b41c7|_0x33b874>>>0x20-_0x1b41c7)+_0x4f3ad9;}function _0x19438a(_0x302a3e,_0x1a9eba,_0xa58a64,_0x19840b,_0x2b1508,_0x5a427d,_0x28a194){var _0x9c1141=_0x302a3e+(_0xa58a64^(_0x1a9eba|~_0x19840b))+_0x2b1508+_0x28a194;return(_0x9c1141<<_0x5a427d|_0x9c1141>>>0x20-_0x5a427d)+_0x1a9eba;}_0xbd20a7[_0x408999(0x147)]=_0x4fe9e9['_createHelper'](_0x46a78c),_0xbd20a7[_0x408999(0x32a)]=_0x4fe9e9[_0x408999(0x3ce)](_0x46a78c);}(Math),_0x4d8e62[_0x421fe5(0x147)];}));}(Ye)),Ye[_0x263f60(0x13c)];}var Ke={'exports':{}},qe={'exports':{}},un=qe['exports'],Xt;function dn(){return Xt||(Xt=0x1,function(_0x489f8b,_0x20842b){(function(_0x30f2ee,_0x15c4bf){_0x489f8b['exports']=_0x15c4bf(te());}(un,function(_0x44055e){var _0x580926=_0x33f0;return(function(){var _0x4c80ee=_0x33f0,_0x5d5769=_0x44055e,_0x15a3a0=_0x5d5769['lib'],_0x201b6f=_0x15a3a0[_0x4c80ee(0x1ca)],_0x38ca2b=_0x15a3a0[_0x4c80ee(0x1f7)],_0x2a71cc=_0x5d5769['algo'],_0x4452b8=[],_0x176e5e=_0x2a71cc[_0x4c80ee(0x158)]=_0x38ca2b[_0x4c80ee(0x124)]({'_doReset':function(){var _0x118ce6=_0x4c80ee;this['_hash']=new _0x201b6f[(_0x118ce6(0x1a7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x117eb0,_0x523be2){var _0x7a1826=_0x4c80ee;for(var _0x29a7cd=this[_0x7a1826(0x34b)][_0x7a1826(0x26e)],_0x1cfea3=_0x29a7cd[0x0],_0x44ee5f=_0x29a7cd[0x1],_0x3da47f=_0x29a7cd[0x2],_0x47a78c=_0x29a7cd[0x3],_0x3afc3a=_0x29a7cd[0x4],_0x3f2005=0x0;_0x3f2005<0x50;_0x3f2005++){if(_0x3f2005<0x10)_0x4452b8[_0x3f2005]=_0x117eb0[_0x523be2+_0x3f2005]|0x0;else{var _0x172057=_0x4452b8[_0x3f2005-0x3]^_0x4452b8[_0x3f2005-0x8]^_0x4452b8[_0x3f2005-0xe]^_0x4452b8[_0x3f2005-0x10];_0x4452b8[_0x3f2005]=_0x172057<<0x1|_0x172057>>>0x1f;}var _0xd2bd6a=(_0x1cfea3<<0x5|_0x1cfea3>>>0x1b)+_0x3afc3a+_0x4452b8[_0x3f2005];_0x3f2005<0x14?_0xd2bd6a+=(_0x44ee5f&_0x3da47f|~_0x44ee5f&_0x47a78c)+0x5a827999:_0x3f2005<0x28?_0xd2bd6a+=(_0x44ee5f^_0x3da47f^_0x47a78c)+0x6ed9eba1:_0x3f2005<0x3c?_0xd2bd6a+=(_0x44ee5f&_0x3da47f|_0x44ee5f&_0x47a78c|_0x3da47f&_0x47a78c)-0x70e44324:_0xd2bd6a+=(_0x44ee5f^_0x3da47f^_0x47a78c)-0x359d3e2a,_0x3afc3a=_0x47a78c,_0x47a78c=_0x3da47f,_0x3da47f=_0x44ee5f<<0x1e|_0x44ee5f>>>0x2,_0x44ee5f=_0x1cfea3,_0x1cfea3=_0xd2bd6a;}_0x29a7cd[0x0]=_0x29a7cd[0x0]+_0x1cfea3|0x0,_0x29a7cd[0x1]=_0x29a7cd[0x1]+_0x44ee5f|0x0,_0x29a7cd[0x2]=_0x29a7cd[0x2]+_0x3da47f|0x0,_0x29a7cd[0x3]=_0x29a7cd[0x3]+_0x47a78c|0x0,_0x29a7cd[0x4]=_0x29a7cd[0x4]+_0x3afc3a|0x0;},'_doFinalize':function(){var _0x2cc2d7=_0x4c80ee,_0x77db1=this[_0x2cc2d7(0x113)],_0x18d14a=_0x77db1[_0x2cc2d7(0x26e)],_0x3d7eec=this['_nDataBytes']*0x8,_0xd4d69a=_0x77db1[_0x2cc2d7(0x1f5)]*0x8;return _0x18d14a[_0xd4d69a>>>0x5]|=0x80<<0x18-_0xd4d69a%0x20,_0x18d14a[(_0xd4d69a+0x40>>>0x9<<0x4)+0xe]=Math[_0x2cc2d7(0x246)](_0x3d7eec/0x100000000),_0x18d14a[(_0xd4d69a+0x40>>>0x9<<0x4)+0xf]=_0x3d7eec,_0x77db1[_0x2cc2d7(0x1f5)]=_0x18d14a[_0x2cc2d7(0x295)]*0x4,this[_0x2cc2d7(0x29b)](),this[_0x2cc2d7(0x34b)];},'clone':function(){var _0x4dbcd2=_0x4c80ee,_0x7481aa=_0x38ca2b['clone'][_0x4dbcd2(0x290)](this);return _0x7481aa[_0x4dbcd2(0x34b)]=this['_hash'][_0x4dbcd2(0x3dc)](),_0x7481aa;}});_0x5d5769['SHA1']=_0x38ca2b[_0x4c80ee(0x1a3)](_0x176e5e),_0x5d5769[_0x4c80ee(0x16f)]=_0x38ca2b[_0x4c80ee(0x3ce)](_0x176e5e);}()),_0x44055e[_0x580926(0x158)];}));}(qe)),qe['exports'];}var ze={'exports':{}},fn=ze[_0xe7476b(0x13c)],Zt;function _0x1da4(){var _0x142da7=['_clearScheduledTask','default','?url=','actions','_createInitialStateImpl','_localCacheService','BlockCipherMode','LIVESHARE_FETCH_OPERATIONS','unsubscribe','_startTelemetryCollaborationNewChangeset','INGEST','[CollaborationEntity]','INVITE_CODE_ALREADY_BOUND','resend','UserProfileImg','awaitingChangeset','capture','dispose','splice','SUBMIT_CHANGESET_TIMEOUT','_acknowledgedAwaitingChangeset','LEAVE','roles','[OfflineState]:\x20received\x20changeset.','_transformUndoredo','HmacMD5','ENSURE_SNAPSHOT_EXECUTION','algo','getMember','_sendHeartbeat','_onLocalMutation','_roomMembers','_revisionService','_getUploadFileURL','delete','UnitEmbedded','_entityInit$','getCurrentSelections','originalMeta','_transformSelections','collabSubmitChangesetUrl','reject','MOBILE_VERIFY_CODE_MISMATCH','unit-cache-','_throwTelemetryCollaborationNewChangeset','INVALID_INVITE_CODE','error','_socket$','readyForCollab','hasher','toggleOnline','_roomCreated$','method','src','keySize','getCurrentRevOfUnit','_snapshotService','clamp','_hash','_singleActiveUnitService','_collaborationUIEventService','csShouldRetryEvent','_eventService','_onMessage','BlockCipher','Pkcs7','close','_compressMutationService','set','Malformed\x20UTF-8\x20data','_createHandler','_iKey','getUnitStatus$','_registerDependencies','_commandService','_resendWithTimeout','target','UNISCRIPT_RUN','CONFLICT','Latin1','/object','_updateStatus','cfg','_incrementRevisionNumber','BASE64','type','_initUnitPermissionChange','updateMember','pad','getImageSourceCache','append','2289768pBHjMt','JOINING','getCurrentUser','eventID','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','SOCKET_FAILED','onRemoteAck','EvpKDF','HEARTBEAT','_onConnectionOpen','enableAuthServer','ciphertext','_nRounds','_toggleOffline','_imageSourceCache','/collaborator','onTransformRemoteChangesetByStateCache','getDeserializedSheetBlock','duration','decryptBlock','close$','getAllMembers','_awaitingChangeset','localeService','Univer','emitEvent','_scheduleCompleteTimestamp','ERROR_EXCEED_SIZE','UNDEFINED','OPTIONAL','ONLINE','random','toggleOffline','subUnitId','_socketService','transformMutationsWithChangeset','telemetry\x20info\x20is\x20not\x20initialized','[CollaborationState]:\x20apply\x20error!','authzUrl','socket\x20close','JOIN_ROOM_NOT_EXISTS','INTERNAL_ERROR','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','then','[OfflineState]:\x20received\x20acknowledgement.','APPLY_DUPLICATED','onMissedChangesetFetched','RECV','_clearCollaborationTimeoutTimer','_updateLocalCache','unpad','batchAllowed','_clearUndo','onTransformSelections','_joinRoom','catch','_applyRemoteChangeset','disposeWithMe','_startCollaboration','/rev/','_resendTimeout','code','_iv','concat','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_transformRemoteChangesetByStateCache','saveImage','[CollaborationSessionService]:\x20socket\x20error','readInt32LE','_clearHeartbeatTimer','_retryConnectingTimer','USERS_ENTER','status$','UPDATE_PERMISSION_OBJ','csAckEvent','FAIL','location','_memberService','OFFLINE','crypto','downloadEndpointUrl','_timeoutTimer','_getDownloadEndpointURL','_hasher','_resendTimer','update','_event$','session.room-full','pauseCollaboration','putCollaborators','_getCurrentRevision','EMAIL_VERIFY_CODE_MISMATCH','send','list','_sender','_clearRetryConnectingTimer','buffer','__creator','_createHmacHelper','_telemetryService','collaboration-client.config','_getRedoStack','USERS_LEAVE','state$','_onRemoteACK','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','POST','processBlock','UnitSnapshot','_handlerCallback','m2Prime','put','clone','SNAPSHOT_INVALID_SNAPSHOT','_state','getValue','removeMember','requestParams','onTransformRemoteChangesetByIMECache','onLocalMutation','_stopTelemetryCollaborationNewChangeset','/universer-api/authz','_oKey','updatePermissionPoint','[SyncedState]:\x20received\x20acknowledgement.','getRandomValues','_sendHeartbeatTimer','revision','_unlockTransition','_checkMissing','_socket','loadSheet','_emitMembers','_onRemoteRejected','_ENC_XFORM_MODE','byteLength','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getInterceptPoints','OpenSSL','includes','_entities','add','name','_networkConditionService','SerializableCipher','fetch_missing','LOCAL_CACHE_INTERVAL','max','getUnitId','isPermissionRej','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','FileId','updateOfflineData','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','MOBILE_HAS_BEEN_BOUND','YUUMI_CONNECTOR_URL_NOT_FOUND','_collabSessionService','UNRECOGNIZED','_data','createCollaborator','c1Prime','_sessionStatus$','_unitInfo$','5742472IkHcCm','deleteCollaborator','YUUMI_UNABLE_LOAD_URL','PENDING','_instanceService','retryConnectingInterval','[UniverCollaborationClientPlugin]','onRemoteChangeset','INVITE_CODE_REQUIRED','JOIN_ROOM_FULL','size','_getAPIPrefix','extend','_undoRedoService','_localeService','title','_onRemoteRetry','_shouldReportTelemetry','every','onTransformIME','next','_config','repeat','IDLE','_commentUpdate$','collaboration-client.local-cache-service','LICENSE_IMPORT_SIZE_EXCEEDED','JOIN','getTypeOfUnitDisposed$','_retryCount','reconnect','_onConnectionFailed','interceptor','Base64','1551095fyfNil','loadOfflineData','exports','_socketReady','localCacheService','onMissingChangesets','_commentService','_transformStack','objects','_getSendChangesetTimeout','PERSON','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','push','MD5','_decreaseWaiting','OTHER_CLIENT_EDITING','_createSocket','INVALID_ARGUMENT','StreamCipher','_queuedRemoteChangesets','reqId','getUnit','{fileID}','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','YUUMI_NO_CUBOID_FOR_QUESTION','_socketMessageSubscription','ivSize','_onOffline','_unitID','createDecryptor','SHA1','updatePermissionObjEvent','_lockTransition','_parse','sessionStatus$','waitForRoom$','CHANGESET_ACK','_schedule','_transformIMECache','unitInfo$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','createInstance','initWorkbookPermissionChange','LICENSE_MAX_UNITS_EXCEEDED','HELLO','getUnitType','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Base','addImageSourceCache','selections','_userManagerService','origin','lib','HmacSHA1','_members$','INVITE_CODE_HAS_BEEN_UES','function','CHANGESET_SHOULD_RETRY','get','_replayCachedMutations','iterations','allowed','getConfig','/universer-api/uniscript','getActiveSheet','encode','_getAPIPrefixPath','18dMkcvD','_substituteUndoStack','LIVESHARE_REQUEST_HOST','string','/role','data','CONNECTOR_DATA_TOO_LARGE','parse','rev','reset','confirm','_fetchMissChangesets','LIVESHARE_OPERATION','YUUMI_ALL_TABLES_IS_INVALID','onload','_isPermissionRej','socket\x20open.','min','liveShareNewHost','/universer-api/stream/file/upload','_clearLocalCache','_listenToNetworkCondition','MUTATION','randomBytes','_doReset','COMPRESS_MUTATION_APPLY','getWorkbookSelections','_httpService','salt','pluginName','univer-pro.collaboration-client.single-active-unit-service','COMPRESS_MUTATION_SEND','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_onUserLeave','RETRY_CONNECTING_MAX_COUNT','Encryptor','_telemetryInfo','_HTTPService','_createHelper','session','has','YUUMI_URL_COL_OUT_OF_RANGE','init','LIVESHARE_TERMINATE','CBC','collaMsg','now','editing\x20status\x20changed\x20to','objectID','NOT_FOUND','PERMISSION_REJ','onlyLocal','HttpExport','onSendChangeset','message$','SUCCUSS','&assign=','[OfflineState]:\x20received\x20rejection.','_onRecvEvent','\x0aAfter:\x20','x-univer-host','appendMutation','incrementRevOfUnit','PY_RUNTIME_SCRIPT_ERROR','transformChangesets','clear','image/gif','withCredentials','key','_collaborationTimeoutTimer','SNAPSHOT_HAS_BEEN_REMOVED','transformSelections','_executeRemoteChangeset','isArray','&to=','NEW_CHANGESETS','_append','WordArray','_nDataBytes','startTime','153MHmxdr','defineProperty','registerHTTPInterceptor','FETCH_MISSING','_map','Utf8','_handler','COMMENT_UPDATE','fetchThroughInterceptors','mixIn','onSyncEditingCollabCursor','Hex','findIndex','routeKey','onTransformState','_sessions','YUUMI_SUBSCRIPTION_NOT_FOUND','subject','APPLY_PERMISSION_DENIED','_logService','mode','params','event$','disableLocalCache','_prevBlock','charCodeAt','JOIN_ROOM_FAILED','[FetchMissState]','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','createEncryptor','getSnapshotAPIPath','getTypeOfUnitAdded$','range','__esModule','/unit/','ALREADY_EXISTS','_collaborationPaused','[CollaborationSession]','socketService','[CollaborationUndoRedoService]','sigBytes','FETCH_MISS','Hasher','[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.','1942122qrWKeS','workbook','AES','enc','symbol','COMPLETION_FINISHED','HttpImport','from','ERROR_IMAGE','YUUMI_RATE_OVER_LIMIT','_sheetTransformSelectionsService','sin','_updateState','WECHAT_HAS_BEEN_BOUND','sessionStatus','\x20in\x20_schedule.','HMAC','__Key__','complete','/object/','blockSize','_syncEditingCollabCursor','entityInit$','HEARTBEAT_TIMEOUT','Decryptor','_candidateSocket','session.room-permission-denied','hostname','_transformRemoteChangesetByIMECache','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','error$','shouldCloseConn','ceil','forEach','onStarting','_undoStacks','getImage','_onConflict','SYNCED','override','_doFinalize','_snapshotServerService','padding','memberID','collaboration_new_changeset','LICENSE_EXPORT_SIZE_EXCEEDED','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','DEFAULT_FILE_NAME','_tryReconnect','closeSession','_onRemoteChangeset','unknown','uploadFileServerUrl','_key','_collaborationSessionService','YUUMI_AI_RUN_FAILED','collaborators','connection\x20error','HEARTBEAT_INTERVAL','UPDATE_CURSOR','LOGIN_FAILED','saveChangeset','CHANGESET_REJ','submit\x20changeset\x20error!','SOCKET_FAILED_RETRY','SHOULD_CLOSE_CONN','transformUndoRedo','_xformMode','fetching\x20missing\x20changesets\x20from\x20','mutations','_doCryptBlock','objectType','[CollaborationSessionService]','fetchMissingChangesets','encrypt','setWaitCount','open$','floor','awaiting','onCommandExecuted','executeCommand','charAt','OTHER_CLIENTS_EDITING','image/bmp','toString','hasOwnProperty','_onUserJoin','UNKNOWN_CMD','_submitChangeset','commentUpdate$','slice','UNIVER_COLLABORATION_CLIENT_PLUGIN','_doProcessBlock','Failed\x20to\x20update\x20permission\x20point','_univerInstanceService','listCollaborators','CHANGESET_REVISION_CONFILICT','msCrypto','LICENSE_DISTRO_REJECTED','requireSession','formatter','encodeURIComponent','UNIVER_DOC','JOIN_ROOM_PERMISSION_DENIED','headers','_pendingMutations','_initRequestHeader','ws://127.0.0.1:8000/universer-api/comb/connect','dispose$','kdf','map','_initCloseConn','getSheetBlock','filter','encryptBlock','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','fetchMiss','words','_members','_changesetReqId','?size=','_getUndoStack','_change$','awaiting_with_pending','APPLY_REVISION_CONFILICT','synced','_transformService','_minBufferSize','fromCharCode','/universer-api/oidc/authpage','failed\x20to\x20apply\x20missed\x20changesets!','_changesetSessionId','_state$','1755818ypvpTy','snapshot','BufferedBlockAlgorithm','permissionRejEvent','EMAIL_HAS_BEEN_BOUND','unitId','_injector','format','_getSignURL','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_sendingTimer','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_createInitialState','GLOBAL_ROOMS_CNT_EXCEEDS','_replaceFileID','PSEUDO_FETCH_MISSING_RESULT','UNIVER_UNKNOWN','_status$','call','unitId\x20is\x20not\x20found','_waitCount','LIVESHARE_NEW_HOST','YUUMI_ASYNCIO_CANCELLED','length','getCollabEntity$','offline','/resources','getMemberID','session.join-failed','_process','prototype','updateSnapshot','APPLY_NON_SEQUENTIAL_REVISION','_configService','NoPadding','image/jpg','TOO_MANY_REQUESTS','_type','_permissionService','compute','create','members','cmd','unitID','/universer-api/snapshot','result','liveShareOperation','[DataLoaderService]','_disableEditing','getOwnPropertyDescriptor','onRemoteRej','_toggleOnline','changesets','Cipher','subscribe','body','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','Undefined','$super','getCollabEntity','/allowed','loginUrlKey','loadUnitOfRevision','getTime','asObservable','_removeRoom','CLOSE_ROOM','setShowComponents','UNIVER_SLIDE','_onFetchMissResult','_transitionLocked','onCommentUpdate','_clearTimeoutTimer','stringify','enableSingleActiveInstanceLock','/-/object/-/batch_allowed','PERMISSION_DENIED','_init','/universer-api/file/{fileID}/sign-url','\x20to\x20','SUBMIT_CHANGESET','Error\x20on\x20receiving\x20event','pipe','/universer-api/snapshot/','state','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','leaveEvent','_DEC_XFORM_MODE','patch','post','image/png','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','43147908KBMUyC','_redoStacks','baseRev','execute','reduce','PasswordBasedCipher','_doCreateSocket','saveSheetBlock','_rescheduleHeartbeat','_getLoginPath','textRanges','_showConflictNotification','loadUnit','url','_getCtorByUniverType','setConfig','_onCombEvent','snapshotServerUrl','infoRsp','_mode','getUnitOnRev','_scheduleCollaborationTimeoutTimer','debug','_onJoinRoomEvent','onRemoteRetry','UNIVER_SHEET','userID','MSG_FOR_ERROR','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','editingUnit','sid','decrypt','substr','updateCollaborator','conflict','APPLY_REJECT','/block/','csRejEvent','reverse','status','getLatestCsReqIdBySid','setCurrentUser','12998gMZRCh','UNAUTHENTICATED','\x20-\x20','listRoles','finalize','fromCollab','_cipher','apply','_tryEnsureSocket','_exhaustRemoteChangesetQueue','_remoteChangesetQueue','_clearRedo'];_0x1da4=function(){return _0x142da7;};return _0x1da4();}function vn(){var _0x5c43d5=_0xe7476b;return Zt||(Zt=0x1,function(_0x398f08,_0x55fce3){(function(_0x54ef5b,_0x5921a0){var _0xfd39f8=_0x33f0;_0x398f08[_0xfd39f8(0x13c)]=_0x5921a0(te());}(fn,function(_0x640384){(function(){var _0x4b8046=_0x33f0,_0xc7878f=_0x640384,_0x4f9042=_0xc7878f['lib'],_0x36fb54=_0x4f9042['Base'],_0x1a1aff=_0xc7878f[_0x4b8046(0x1fc)],_0x93d731=_0x1a1aff[_0x4b8046(0x1d2)],_0x4ff127=_0xc7878f['algo'];_0x4ff127[_0x4b8046(0x209)]=_0x36fb54[_0x4b8046(0x124)]({'init':function(_0x5a9c9a,_0x31b724){var _0xdb0f1c=_0x4b8046;_0x5a9c9a=this[_0xdb0f1c(0x3bf)]=new _0x5a9c9a[(_0xdb0f1c(0x1a7))](),typeof _0x31b724==_0xdb0f1c(0x180)&&(_0x31b724=_0x93d731['parse'](_0x31b724));var _0x10f803=_0x5a9c9a[_0xdb0f1c(0x20d)],_0x375c75=_0x10f803*0x4;_0x31b724[_0xdb0f1c(0x1f5)]>_0x375c75&&(_0x31b724=_0x5a9c9a[_0xdb0f1c(0x309)](_0x31b724)),_0x31b724[_0xdb0f1c(0x34a)]();for(var _0x7dbf64=this[_0xdb0f1c(0xef)]=_0x31b724[_0xdb0f1c(0x3dc)](),_0x4c2399=this[_0xdb0f1c(0x358)]=_0x31b724[_0xdb0f1c(0x3dc)](),_0xf3643f=_0x7dbf64[_0xdb0f1c(0x26e)],_0x34b438=_0x4c2399[_0xdb0f1c(0x26e)],_0x5d2914=0x0;_0x5d2914<_0x10f803;_0x5d2914++)_0xf3643f[_0x5d2914]^=0x5c5c5c5c,_0x34b438[_0x5d2914]^=0x36363636;_0x7dbf64[_0xdb0f1c(0x1f5)]=_0x4c2399['sigBytes']=_0x375c75,this['reset']();},'reset':function(){var _0x3bb515=_0x4b8046,_0x5036e2=this['_hasher'];_0x5036e2[_0x3bb515(0x186)](),_0x5036e2[_0x3bb515(0x3c1)](this[_0x3bb515(0x358)]);},'update':function(_0xb83010){var _0x1d46f3=_0x4b8046;return this[_0x1d46f3(0x3bf)][_0x1d46f3(0x3c1)](_0xb83010),this;},'finalize':function(_0x29b96d){var _0x549387=_0x4b8046,_0x189066=this[_0x549387(0x3bf)],_0x2105d1=_0x189066[_0x549387(0x309)](_0x29b96d);_0x189066[_0x549387(0x186)]();var _0x3ae0c0=_0x189066['finalize'](this[_0x549387(0xef)][_0x549387(0x3dc)]()[_0x549387(0x3ab)](_0x2105d1));return _0x3ae0c0;}});}());}));}(ze)),ze[_0x5c43d5(0x13c)];}var pn=Ke[_0xe7476b(0x13c)],Qt;function Oi(){var _0x350b85=_0xe7476b;return Qt||(Qt=0x1,function(_0xd95c19,_0x5308d2){(function(_0x160553,_0x4b58b7,_0x2f696c){var _0x155e7e=_0x33f0;_0xd95c19[_0x155e7e(0x13c)]=_0x4b58b7(te(),dn(),vn());}(pn,function(_0x160c1b){var _0x366e7c=_0x33f0;return(function(){var _0x3c6282=_0x33f0,_0x4a5589=_0x160c1b,_0x24bbbe=_0x4a5589[_0x3c6282(0x16e)],_0x52bbdc=_0x24bbbe[_0x3c6282(0x169)],_0x28ef58=_0x24bbbe[_0x3c6282(0x1ca)],_0x4b0edb=_0x4a5589[_0x3c6282(0x32c)],_0x46d69b=_0x4b0edb[_0x3c6282(0x147)],_0x47f469=_0x4b0edb[_0x3c6282(0x373)]=_0x52bbdc[_0x3c6282(0x124)]({'cfg':_0x52bbdc['extend']({'keySize':0x80/0x20,'hasher':_0x46d69b,'iterations':0x1}),'init':function(_0x3f69eb){var _0x11ed39=_0x3c6282;this['cfg']=this[_0x11ed39(0x363)][_0x11ed39(0x124)](_0x3f69eb);},'compute':function(_0x4765d4,_0x411e06){var _0x1c38ea=_0x3c6282;for(var _0xc43a90,_0x13d888=this[_0x1c38ea(0x363)],_0x5e3285=_0x13d888['hasher'][_0x1c38ea(0x2a6)](),_0x307647=_0x28ef58[_0x1c38ea(0x2a6)](),_0x2a3b8a=_0x307647[_0x1c38ea(0x26e)],_0x34e75d=_0x13d888[_0x1c38ea(0x347)],_0xdc06db=_0x13d888[_0x1c38ea(0x176)];_0x2a3b8a[_0x1c38ea(0x295)]<_0x34e75d;){_0xc43a90&&_0x5e3285[_0x1c38ea(0x3c1)](_0xc43a90),_0xc43a90=_0x5e3285['update'](_0x4765d4)[_0x1c38ea(0x309)](_0x411e06),_0x5e3285[_0x1c38ea(0x186)]();for(var _0x5c314d=0x1;_0x5c314d<_0xdc06db;_0x5c314d++)_0xc43a90=_0x5e3285[_0x1c38ea(0x309)](_0xc43a90),_0x5e3285[_0x1c38ea(0x186)]();_0x307647[_0x1c38ea(0x3ab)](_0xc43a90);}return _0x307647['sigBytes']=_0x34e75d*0x4,_0x307647;}});_0x4a5589[_0x3c6282(0x373)]=function(_0x19e542,_0x5eb8d6,_0x40c6e3){var _0x4a3c52=_0x3c6282;return _0x47f469['create'](_0x40c6e3)[_0x4a3c52(0x2a5)](_0x19e542,_0x5eb8d6);};}()),_0x160c1b[_0x366e7c(0x373)];}));}(Ke)),Ke[_0x350b85(0x13c)];}var Je={'exports':{}},mn=Je[_0xe7476b(0x13c)],ei;function bi(){var _0x3ab344=_0xe7476b;return ei||(ei=0x1,function(_0x5b103f,_0x42d225){(function(_0x7e5896,_0x4f1258,_0x335481){var _0x41ff06=_0x33f0;_0x5b103f[_0x41ff06(0x13c)]=_0x4f1258(te(),Oi());}(mn,function(_0x4b7157){var _0x5c43cb=_0x33f0;_0x4b7157[_0x5c43cb(0x16e)]['Cipher']||function(_0x3871b7){var _0x177661=_0x5c43cb,_0x51c105=_0x4b7157,_0x5081be=_0x51c105['lib'],_0x6ff89c=_0x5081be[_0x177661(0x169)],_0x9b76ca=_0x5081be['WordArray'],_0x160b01=_0x5081be[_0x177661(0x280)],_0x3efa38=_0x51c105[_0x177661(0x1fc)];_0x3efa38[_0x177661(0x1d2)];var _0x2a3dd5=_0x3efa38[_0x177661(0x139)],_0x52b3d2=_0x51c105['algo'],_0x2c8e13=_0x52b3d2[_0x177661(0x373)],_0x49f58c=_0x5081be[_0x177661(0x2b3)]=_0x160b01[_0x177661(0x124)]({'cfg':_0x6ff89c[_0x177661(0x124)](),'createEncryptor':function(_0xd67b10,_0x3e11df){var _0x582139=_0x177661;return this[_0x582139(0x2a6)](this[_0x582139(0xfb)],_0xd67b10,_0x3e11df);},'createDecryptor':function(_0x3ffa94,_0x1ff97c){var _0x2e5ed1=_0x177661;return this[_0x2e5ed1(0x2a6)](this[_0x2e5ed1(0x2d5)],_0x3ffa94,_0x1ff97c);},'init':function(_0x4465ba,_0x227e2d,_0x18dfb2){var _0x357db5=_0x177661;this[_0x357db5(0x363)]=this['cfg'][_0x357db5(0x124)](_0x18dfb2),this[_0x357db5(0x23c)]=_0x4465ba,this[_0x357db5(0x22e)]=_0x227e2d,this[_0x357db5(0x186)]();},'reset':function(){var _0x17f4a8=_0x177661;_0x160b01[_0x17f4a8(0x186)][_0x17f4a8(0x290)](this),this[_0x17f4a8(0x195)]();},'process':function(_0x41e6a3){var _0x1331b1=_0x177661;return this[_0x1331b1(0x1c9)](_0x41e6a3),this['_process']();},'finalize':function(_0x43834d){var _0x322a60=_0x177661;_0x43834d&&this[_0x322a60(0x1c9)](_0x43834d);var _0x273d1b=this['_doFinalize']();return _0x273d1b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5d25d9(_0x443521){var _0x48d3ef=_0x33f0;return typeof _0x443521==_0x48d3ef(0x180)?_0x293b3e:_0x39f199;}return function(_0x44fd28){return{'encrypt':function(_0x5567f9,_0x6e97b5,_0x2d6315){return _0x5d25d9(_0x6e97b5)['encrypt'](_0x44fd28,_0x5567f9,_0x6e97b5,_0x2d6315);},'decrypt':function(_0xb37b3d,_0x266805,_0x1a5ecc){return _0x5d25d9(_0x266805)['decrypt'](_0x44fd28,_0xb37b3d,_0x266805,_0x1a5ecc);}};};}())});_0x5081be[_0x177661(0x14c)]=_0x49f58c[_0x177661(0x124)]({'_doFinalize':function(){var _0x1e43b0=this['_process'](!0x0);return _0x1e43b0;},'blockSize':0x1});var _0x206460=_0x51c105[_0x177661(0x1e1)]={},_0x55570a=_0x5081be[_0x177661(0x317)]=_0x6ff89c[_0x177661(0x124)]({'createEncryptor':function(_0x466420,_0x11b070){var _0x512647=_0x177661;return this[_0x512647(0x1a0)][_0x512647(0x2a6)](_0x466420,_0x11b070);},'createDecryptor':function(_0x2eadd6,_0x4ee457){var _0x294343=_0x177661;return this['Decryptor'][_0x294343(0x2a6)](_0x2eadd6,_0x4ee457);},'init':function(_0x7cf88e,_0x6c83f3){var _0xb1dc83=_0x177661;this[_0xb1dc83(0x30b)]=_0x7cf88e,this[_0xb1dc83(0x3aa)]=_0x6c83f3;}}),_0x3f4c58=_0x206460[_0x177661(0x1a9)]=(function(){var _0x4d9c82=_0x177661,_0x439f8a=_0x55570a['extend']();_0x439f8a[_0x4d9c82(0x1a0)]=_0x439f8a['extend']({'processBlock':function(_0x3d2309,_0x539339){var _0x270751=_0x4d9c82,_0x1ce5ac=this[_0x270751(0x30b)],_0x1fde98=_0x1ce5ac[_0x270751(0x20d)];_0x2200e7[_0x270751(0x290)](this,_0x3d2309,_0x539339,_0x1fde98),_0x1ce5ac[_0x270751(0x26b)](_0x3d2309,_0x539339),this[_0x270751(0x1e5)]=_0x3d2309[_0x270751(0x253)](_0x539339,_0x539339+_0x1fde98);}}),_0x439f8a[_0x4d9c82(0x211)]=_0x439f8a[_0x4d9c82(0x124)]({'processBlock':function(_0x591e62,_0x130cb8){var _0xf629d=_0x4d9c82,_0x81ecdb=this[_0xf629d(0x30b)],_0x25e807=_0x81ecdb['blockSize'],_0x1ed3ee=_0x591e62[_0xf629d(0x253)](_0x130cb8,_0x130cb8+_0x25e807);_0x81ecdb[_0xf629d(0x37f)](_0x591e62,_0x130cb8),_0x2200e7[_0xf629d(0x290)](this,_0x591e62,_0x130cb8,_0x25e807),this[_0xf629d(0x1e5)]=_0x1ed3ee;}});function _0x2200e7(_0x162d6b,_0x2e409a,_0x4d129f){var _0x75994e=_0x4d9c82,_0x426604,_0x327337=this[_0x75994e(0x3aa)];_0x327337?(_0x426604=_0x327337,this['_iv']=_0x3871b7):_0x426604=this[_0x75994e(0x1e5)];for(var _0x48dc02=0x0;_0x48dc02<_0x4d129f;_0x48dc02++)_0x162d6b[_0x2e409a+_0x48dc02]^=_0x426604[_0x48dc02];}return _0x439f8a;}()),_0x129a7d=_0x51c105[_0x177661(0x369)]={},_0x2284af=_0x129a7d[_0x177661(0x352)]={'pad':function(_0x3f636d,_0x39b7a4){var _0xc10e62=_0x177661;for(var _0x392947=_0x39b7a4*0x4,_0x282396=_0x392947-_0x3f636d[_0xc10e62(0x1f5)]%_0x392947,_0x136abb=_0x282396<<0x18|_0x282396<<0x10|_0x282396<<0x8|_0x282396,_0x3ac5b8=[],_0x3c3fc5=0x0;_0x3c3fc5<_0x282396;_0x3c3fc5+=0x4)_0x3ac5b8[_0xc10e62(0x146)](_0x136abb);var _0x4cec13=_0x9b76ca['create'](_0x3ac5b8,_0x282396);_0x3f636d['concat'](_0x4cec13);},'unpad':function(_0x3c2e3f){var _0x226b9d=_0x177661,_0x1b7f90=_0x3c2e3f[_0x226b9d(0x26e)][_0x3c2e3f[_0x226b9d(0x1f5)]-0x1>>>0x2]&0xff;_0x3c2e3f['sigBytes']-=_0x1b7f90;}};_0x5081be[_0x177661(0x351)]=_0x49f58c['extend']({'cfg':_0x49f58c['cfg'][_0x177661(0x124)]({'mode':_0x3f4c58,'padding':_0x2284af}),'reset':function(){var _0x3008c6=_0x177661,_0x3e97a3;_0x49f58c[_0x3008c6(0x186)][_0x3008c6(0x290)](this);var _0x350add=this[_0x3008c6(0x363)],_0xef6c98=_0x350add['iv'],_0x3ac904=_0x350add[_0x3008c6(0x1e1)];this[_0x3008c6(0x23c)]==this['_ENC_XFORM_MODE']?_0x3e97a3=_0x3ac904['createEncryptor']:(_0x3e97a3=_0x3ac904[_0x3008c6(0x157)],this[_0x3008c6(0x278)]=0x1),this[_0x3008c6(0x2ee)]&&this['_mode'][_0x3008c6(0x3cd)]==_0x3e97a3?this[_0x3008c6(0x2ee)][_0x3008c6(0x1a7)](this,_0xef6c98&&_0xef6c98[_0x3008c6(0x26e)]):(this['_mode']=_0x3e97a3[_0x3008c6(0x290)](_0x3ac904,this,_0xef6c98&&_0xef6c98[_0x3008c6(0x26e)]),this[_0x3008c6(0x2ee)][_0x3008c6(0x3cd)]=_0x3e97a3);},'_doProcessBlock':function(_0x3e098f,_0x2da134){var _0x37111f=_0x177661;this[_0x37111f(0x2ee)][_0x37111f(0x3d7)](_0x3e098f,_0x2da134);},'_doFinalize':function(){var _0x1a12de=_0x177661,_0x568c69,_0x40b881=this[_0x1a12de(0x363)][_0x1a12de(0x223)];return this[_0x1a12de(0x23c)]==this[_0x1a12de(0xfb)]?(_0x40b881[_0x1a12de(0x369)](this[_0x1a12de(0x113)],this[_0x1a12de(0x20d)]),_0x568c69=this[_0x1a12de(0x29b)](!0x0)):(_0x568c69=this['_process'](!0x0),_0x40b881[_0x1a12de(0x39e)](_0x568c69)),_0x568c69;},'blockSize':0x80/0x20});var _0x2dae5c=_0x5081be['CipherParams']=_0x6ff89c[_0x177661(0x124)]({'init':function(_0x4d4331){var _0x504b2b=_0x177661;this[_0x504b2b(0x1d6)](_0x4d4331);},'toString':function(_0x4285b7){var _0x36febb=_0x177661;return(_0x4285b7||this[_0x36febb(0x25d)])['stringify'](this);}}),_0x5da7f5=_0x51c105[_0x177661(0x285)]={},_0x28b083=_0x5da7f5['OpenSSL']={'stringify':function(_0x1355dd){var _0x2bf468=_0x177661,_0x41711b,_0x700095=_0x1355dd[_0x2bf468(0x377)],_0x19aaa0=_0x1355dd['salt'];return _0x19aaa0?_0x41711b=_0x9b76ca[_0x2bf468(0x2a6)]([0x53616c74,0x65645f5f])['concat'](_0x19aaa0)[_0x2bf468(0x3ab)](_0x700095):_0x41711b=_0x700095,_0x41711b[_0x2bf468(0x24d)](_0x2a3dd5);},'parse':function(_0x50bf93){var _0x1bb82d=_0x177661,_0x3e159f,_0x181834=_0x2a3dd5['parse'](_0x50bf93),_0x1bd8fc=_0x181834[_0x1bb82d(0x26e)];return _0x1bd8fc[0x0]==0x53616c74&&_0x1bd8fc[0x1]==0x65645f5f&&(_0x3e159f=_0x9b76ca[_0x1bb82d(0x2a6)](_0x1bd8fc[_0x1bb82d(0x253)](0x2,0x4)),_0x1bd8fc[_0x1bb82d(0x323)](0x0,0x4),_0x181834['sigBytes']-=0x10),_0x2dae5c[_0x1bb82d(0x2a6)]({'ciphertext':_0x181834,'salt':_0x3e159f});}},_0x39f199=_0x5081be[_0x177661(0x105)]=_0x6ff89c['extend']({'cfg':_0x6ff89c[_0x177661(0x124)]({'format':_0x28b083}),'encrypt':function(_0x306af0,_0x224af5,_0x156997,_0xb0e26a){var _0x506269=_0x177661;_0xb0e26a=this[_0x506269(0x363)][_0x506269(0x124)](_0xb0e26a);var _0xd85ad9=_0x306af0[_0x506269(0x1ea)](_0x156997,_0xb0e26a),_0x16c09b=_0xd85ad9[_0x506269(0x309)](_0x224af5),_0x5fda9c=_0xd85ad9[_0x506269(0x363)];return _0x2dae5c[_0x506269(0x2a6)]({'ciphertext':_0x16c09b,'key':_0x156997,'iv':_0x5fda9c['iv'],'algorithm':_0x306af0,'mode':_0x5fda9c[_0x506269(0x1e1)],'padding':_0x5fda9c[_0x506269(0x223)],'blockSize':_0x306af0[_0x506269(0x20d)],'formatter':_0xb0e26a[_0x506269(0x285)]});},'decrypt':function(_0x19ba22,_0x37efae,_0x569ed2,_0x51b658){var _0x42f7fe=_0x177661;_0x51b658=this['cfg'][_0x42f7fe(0x124)](_0x51b658),_0x37efae=this[_0x42f7fe(0x15b)](_0x37efae,_0x51b658[_0x42f7fe(0x285)]);var _0xf51ebe=_0x19ba22[_0x42f7fe(0x157)](_0x569ed2,_0x51b658)[_0x42f7fe(0x309)](_0x37efae['ciphertext']);return _0xf51ebe;},'_parse':function(_0x56542b,_0x3eefce){var _0xa7f8ee=_0x177661;return typeof _0x56542b==_0xa7f8ee(0x180)?_0x3eefce[_0xa7f8ee(0x184)](_0x56542b,this):_0x56542b;}}),_0x451fa3=_0x51c105['kdf']={},_0x54214b=_0x451fa3[_0x177661(0xff)]={'execute':function(_0x47ca80,_0x2a0218,_0x25c5ee,_0xf1ebe5,_0x41e1f4){var _0xc6a831=_0x177661;if(_0xf1ebe5||(_0xf1ebe5=_0x9b76ca[_0xc6a831(0x38b)](0x40/0x8)),_0x41e1f4)var _0x15a9c3=_0x2c8e13['create']({'keySize':_0x2a0218+_0x25c5ee,'hasher':_0x41e1f4})['compute'](_0x47ca80,_0xf1ebe5);else var _0x15a9c3=_0x2c8e13['create']({'keySize':_0x2a0218+_0x25c5ee})[_0xc6a831(0x2a5)](_0x47ca80,_0xf1ebe5);var _0x3671f4=_0x9b76ca['create'](_0x15a9c3[_0xc6a831(0x26e)][_0xc6a831(0x253)](_0x2a0218),_0x25c5ee*0x4);return _0x15a9c3[_0xc6a831(0x1f5)]=_0x2a0218*0x4,_0x2dae5c[_0xc6a831(0x2a6)]({'key':_0x15a9c3,'iv':_0x3671f4,'salt':_0xf1ebe5});}},_0x293b3e=_0x5081be[_0x177661(0x2e0)]=_0x39f199[_0x177661(0x124)]({'cfg':_0x39f199[_0x177661(0x363)]['extend']({'kdf':_0x54214b}),'encrypt':function(_0x103bde,_0x2fc82b,_0x4d1cb7,_0x1b5cac){var _0x1aa871=_0x177661;_0x1b5cac=this[_0x1aa871(0x363)][_0x1aa871(0x124)](_0x1b5cac);var _0x152a48=_0x1b5cac[_0x1aa871(0x266)][_0x1aa871(0x2de)](_0x4d1cb7,_0x103bde[_0x1aa871(0x347)],_0x103bde[_0x1aa871(0x154)],_0x1b5cac[_0x1aa871(0x199)],_0x1b5cac['hasher']);_0x1b5cac['iv']=_0x152a48['iv'];var _0x2d3beb=_0x39f199[_0x1aa871(0x243)]['call'](this,_0x103bde,_0x2fc82b,_0x152a48['key'],_0x1b5cac);return _0x2d3beb['mixIn'](_0x152a48),_0x2d3beb;},'decrypt':function(_0x2e1b09,_0x33b3a3,_0x30178c,_0x21f19f){var _0x2c4265=_0x177661;_0x21f19f=this[_0x2c4265(0x363)][_0x2c4265(0x124)](_0x21f19f),_0x33b3a3=this[_0x2c4265(0x15b)](_0x33b3a3,_0x21f19f[_0x2c4265(0x285)]);var _0x3ffc66=_0x21f19f['kdf'][_0x2c4265(0x2de)](_0x30178c,_0x2e1b09[_0x2c4265(0x347)],_0x2e1b09[_0x2c4265(0x154)],_0x33b3a3['salt'],_0x21f19f[_0x2c4265(0x342)]);_0x21f19f['iv']=_0x3ffc66['iv'];var _0x2d6baa=_0x39f199[_0x2c4265(0x2fa)]['call'](this,_0x2e1b09,_0x33b3a3,_0x3ffc66[_0x2c4265(0x1c1)],_0x21f19f);return _0x2d6baa;}});}();}));}(Je)),Je[_0x3ab344(0x13c)];}var gn=Ve[_0xe7476b(0x13c)],ti;function Sn(){var _0x49044a=_0xe7476b;return ti||(ti=0x1,function(_0x5bbf7a,_0x34cdec){(function(_0x5e84b8,_0x3eaf3f,_0x68ebbd){var _0x1734fd=_0x33f0;_0x5bbf7a[_0x1734fd(0x13c)]=_0x3eaf3f(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x282fcc){var _0x4e464d=_0x33f0;return(function(){var _0x11a3fb=_0x33f0,_0x4c0b9b=_0x282fcc,_0x79db62=_0x4c0b9b[_0x11a3fb(0x16e)],_0x2bb73d=_0x79db62['BlockCipher'],_0x23ca01=_0x4c0b9b[_0x11a3fb(0x32c)],_0x513024=[],_0x36706e=[],_0x995d67=[],_0xb796ab=[],_0x38a784=[],_0x5e4269=[],_0x5ad7b0=[],_0x40777c=[],_0x4895d7=[],_0x37a69a=[];(function(){for(var _0x501e14=[],_0x1e31f4=0x0;_0x1e31f4<0x100;_0x1e31f4++)_0x1e31f4<0x80?_0x501e14[_0x1e31f4]=_0x1e31f4<<0x1:_0x501e14[_0x1e31f4]=_0x1e31f4<<0x1^0x11b;for(var _0xe47572=0x0,_0x59a407=0x0,_0x1e31f4=0x0;_0x1e31f4<0x100;_0x1e31f4++){var _0x5b349=_0x59a407^_0x59a407<<0x1^_0x59a407<<0x2^_0x59a407<<0x3^_0x59a407<<0x4;_0x5b349=_0x5b349>>>0x8^_0x5b349&0xff^0x63,_0x513024[_0xe47572]=_0x5b349,_0x36706e[_0x5b349]=_0xe47572;var _0x28bb6e=_0x501e14[_0xe47572],_0x25e419=_0x501e14[_0x28bb6e],_0x3dcf6f=_0x501e14[_0x25e419],_0x87b60f=_0x501e14[_0x5b349]*0x101^_0x5b349*0x1010100;_0x995d67[_0xe47572]=_0x87b60f<<0x18|_0x87b60f>>>0x8,_0xb796ab[_0xe47572]=_0x87b60f<<0x10|_0x87b60f>>>0x10,_0x38a784[_0xe47572]=_0x87b60f<<0x8|_0x87b60f>>>0x18,_0x5e4269[_0xe47572]=_0x87b60f;var _0x87b60f=_0x3dcf6f*0x1010101^_0x25e419*0x10001^_0x28bb6e*0x101^_0xe47572*0x1010100;_0x5ad7b0[_0x5b349]=_0x87b60f<<0x18|_0x87b60f>>>0x8,_0x40777c[_0x5b349]=_0x87b60f<<0x10|_0x87b60f>>>0x10,_0x4895d7[_0x5b349]=_0x87b60f<<0x8|_0x87b60f>>>0x18,_0x37a69a[_0x5b349]=_0x87b60f,_0xe47572?(_0xe47572=_0x28bb6e^_0x501e14[_0x501e14[_0x501e14[_0x3dcf6f^_0x28bb6e]]],_0x59a407^=_0x501e14[_0x501e14[_0x59a407]]):_0xe47572=_0x59a407=0x1;}}());var _0x5766e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2fc5f2=_0x23ca01[_0x11a3fb(0x1fb)]=_0x2bb73d['extend']({'_doReset':function(){var _0x5ba342=_0x11a3fb,_0x3b2c0b;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x5ba342(0x22e)])){for(var _0x1addca=this['_keyPriorReset']=this['_key'],_0x408f11=_0x1addca[_0x5ba342(0x26e)],_0x10e87c=_0x1addca[_0x5ba342(0x1f5)]/0x4,_0x3de7b1=this[_0x5ba342(0x378)]=_0x10e87c+0x6,_0x5b0928=(_0x3de7b1+0x1)*0x4,_0x2d34be=this['_keySchedule']=[],_0x44a106=0x0;_0x44a106<_0x5b0928;_0x44a106++)_0x44a106<_0x10e87c?_0x2d34be[_0x44a106]=_0x408f11[_0x44a106]:(_0x3b2c0b=_0x2d34be[_0x44a106-0x1],_0x44a106%_0x10e87c?_0x10e87c>0x6&&_0x44a106%_0x10e87c==0x4&&(_0x3b2c0b=_0x513024[_0x3b2c0b>>>0x18]<<0x18|_0x513024[_0x3b2c0b>>>0x10&0xff]<<0x10|_0x513024[_0x3b2c0b>>>0x8&0xff]<<0x8|_0x513024[_0x3b2c0b&0xff]):(_0x3b2c0b=_0x3b2c0b<<0x8|_0x3b2c0b>>>0x18,_0x3b2c0b=_0x513024[_0x3b2c0b>>>0x18]<<0x18|_0x513024[_0x3b2c0b>>>0x10&0xff]<<0x10|_0x513024[_0x3b2c0b>>>0x8&0xff]<<0x8|_0x513024[_0x3b2c0b&0xff],_0x3b2c0b^=_0x5766e[_0x44a106/_0x10e87c|0x0]<<0x18),_0x2d34be[_0x44a106]=_0x2d34be[_0x44a106-_0x10e87c]^_0x3b2c0b);for(var _0x59e260=this['_invKeySchedule']=[],_0x394bc3=0x0;_0x394bc3<_0x5b0928;_0x394bc3++){var _0x44a106=_0x5b0928-_0x394bc3;if(_0x394bc3%0x4)var _0x3b2c0b=_0x2d34be[_0x44a106];else var _0x3b2c0b=_0x2d34be[_0x44a106-0x4];_0x394bc3<0x4||_0x44a106<=0x4?_0x59e260[_0x394bc3]=_0x3b2c0b:_0x59e260[_0x394bc3]=_0x5ad7b0[_0x513024[_0x3b2c0b>>>0x18]]^_0x40777c[_0x513024[_0x3b2c0b>>>0x10&0xff]]^_0x4895d7[_0x513024[_0x3b2c0b>>>0x8&0xff]]^_0x37a69a[_0x513024[_0x3b2c0b&0xff]];}}},'encryptBlock':function(_0x17ecd4,_0x103e1e){var _0x1d8eb7=_0x11a3fb;this[_0x1d8eb7(0x23f)](_0x17ecd4,_0x103e1e,this['_keySchedule'],_0x995d67,_0xb796ab,_0x38a784,_0x5e4269,_0x513024);},'decryptBlock':function(_0x5404fb,_0x3138a3){var _0x1ef96d=_0x5404fb[_0x3138a3+0x1];_0x5404fb[_0x3138a3+0x1]=_0x5404fb[_0x3138a3+0x3],_0x5404fb[_0x3138a3+0x3]=_0x1ef96d,this['_doCryptBlock'](_0x5404fb,_0x3138a3,this['_invKeySchedule'],_0x5ad7b0,_0x40777c,_0x4895d7,_0x37a69a,_0x36706e);var _0x1ef96d=_0x5404fb[_0x3138a3+0x1];_0x5404fb[_0x3138a3+0x1]=_0x5404fb[_0x3138a3+0x3],_0x5404fb[_0x3138a3+0x3]=_0x1ef96d;},'_doCryptBlock':function(_0x577c9a,_0x497d25,_0xa79ac5,_0x2f2be0,_0x51e75b,_0x6727ae,_0x28c388,_0x4d17f2){var _0x321f8c=_0x11a3fb;for(var _0x232adc=this[_0x321f8c(0x378)],_0x46717d=_0x577c9a[_0x497d25]^_0xa79ac5[0x0],_0x1674e8=_0x577c9a[_0x497d25+0x1]^_0xa79ac5[0x1],_0x287e40=_0x577c9a[_0x497d25+0x2]^_0xa79ac5[0x2],_0x387c89=_0x577c9a[_0x497d25+0x3]^_0xa79ac5[0x3],_0x2a3970=0x4,_0x565a04=0x1;_0x565a04<_0x232adc;_0x565a04++){var _0x5ce607=_0x2f2be0[_0x46717d>>>0x18]^_0x51e75b[_0x1674e8>>>0x10&0xff]^_0x6727ae[_0x287e40>>>0x8&0xff]^_0x28c388[_0x387c89&0xff]^_0xa79ac5[_0x2a3970++],_0x48bfb8=_0x2f2be0[_0x1674e8>>>0x18]^_0x51e75b[_0x287e40>>>0x10&0xff]^_0x6727ae[_0x387c89>>>0x8&0xff]^_0x28c388[_0x46717d&0xff]^_0xa79ac5[_0x2a3970++],_0x3671ee=_0x2f2be0[_0x287e40>>>0x18]^_0x51e75b[_0x387c89>>>0x10&0xff]^_0x6727ae[_0x46717d>>>0x8&0xff]^_0x28c388[_0x1674e8&0xff]^_0xa79ac5[_0x2a3970++],_0x3f95e3=_0x2f2be0[_0x387c89>>>0x18]^_0x51e75b[_0x46717d>>>0x10&0xff]^_0x6727ae[_0x1674e8>>>0x8&0xff]^_0x28c388[_0x287e40&0xff]^_0xa79ac5[_0x2a3970++];_0x46717d=_0x5ce607,_0x1674e8=_0x48bfb8,_0x287e40=_0x3671ee,_0x387c89=_0x3f95e3;}var _0x5ce607=(_0x4d17f2[_0x46717d>>>0x18]<<0x18|_0x4d17f2[_0x1674e8>>>0x10&0xff]<<0x10|_0x4d17f2[_0x287e40>>>0x8&0xff]<<0x8|_0x4d17f2[_0x387c89&0xff])^_0xa79ac5[_0x2a3970++],_0x48bfb8=(_0x4d17f2[_0x1674e8>>>0x18]<<0x18|_0x4d17f2[_0x287e40>>>0x10&0xff]<<0x10|_0x4d17f2[_0x387c89>>>0x8&0xff]<<0x8|_0x4d17f2[_0x46717d&0xff])^_0xa79ac5[_0x2a3970++],_0x3671ee=(_0x4d17f2[_0x287e40>>>0x18]<<0x18|_0x4d17f2[_0x387c89>>>0x10&0xff]<<0x10|_0x4d17f2[_0x46717d>>>0x8&0xff]<<0x8|_0x4d17f2[_0x1674e8&0xff])^_0xa79ac5[_0x2a3970++],_0x3f95e3=(_0x4d17f2[_0x387c89>>>0x18]<<0x18|_0x4d17f2[_0x46717d>>>0x10&0xff]<<0x10|_0x4d17f2[_0x1674e8>>>0x8&0xff]<<0x8|_0x4d17f2[_0x287e40&0xff])^_0xa79ac5[_0x2a3970++];_0x577c9a[_0x497d25]=_0x5ce607,_0x577c9a[_0x497d25+0x1]=_0x48bfb8,_0x577c9a[_0x497d25+0x2]=_0x3671ee,_0x577c9a[_0x497d25+0x3]=_0x3f95e3;},'keySize':0x100/0x20});_0x4c0b9b[_0x11a3fb(0x1fb)]=_0x2bb73d[_0x11a3fb(0x1a3)](_0x2fc5f2);}()),_0x282fcc[_0x4e464d(0x1fb)];}));}(Ve)),Ve[_0x49044a(0x13c)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0xe7476b(0x13c)],si;function Rn(){var _0x430f5f=_0xe7476b;return si||(si=0x1,function(_0x3551e6,_0x53c479){(function(_0x3d751c,_0x5bad21){var _0x481f52=_0x33f0;_0x3551e6[_0x481f52(0x13c)]=_0x5bad21(te());}(Cn,function(_0x89b38f){var _0x2f26dc=_0x33f0;return _0x89b38f[_0x2f26dc(0x1fc)]['Utf8'];}));}(Xe)),Xe[_0x430f5f(0x13c)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0xe7476b(0x13c)],ni;function Nn(){return ni||(ni=0x1,function(_0x535bfe,_0x261819){(function(_0x589514,_0x192ea3){var _0x2220f2=_0x33f0;_0x535bfe[_0x2220f2(0x13c)]=_0x192ea3(te());}(yn,function(_0xfd6e13){var _0x2ec7e1=_0x33f0;return(function(){var _0x3f657b=_0x33f0;if(typeof ArrayBuffer=='function'){var _0x4b0575=_0xfd6e13,_0x9df108=_0x4b0575[_0x3f657b(0x16e)],_0x388621=_0x9df108[_0x3f657b(0x1ca)],_0x2883c0=_0x388621[_0x3f657b(0x1a7)],_0xd1cb37=_0x388621[_0x3f657b(0x1a7)]=function(_0x2878d4){var _0x1c97bd=_0x3f657b;if(_0x2878d4 instanceof ArrayBuffer&&(_0x2878d4=new Uint8Array(_0x2878d4)),(_0x2878d4 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2878d4 instanceof Uint8ClampedArray||_0x2878d4 instanceof Int16Array||_0x2878d4 instanceof Uint16Array||_0x2878d4 instanceof Int32Array||_0x2878d4 instanceof Uint32Array||_0x2878d4 instanceof Float32Array||_0x2878d4 instanceof Float64Array)&&(_0x2878d4=new Uint8Array(_0x2878d4[_0x1c97bd(0x3cc)],_0x2878d4['byteOffset'],_0x2878d4[_0x1c97bd(0xfc)])),_0x2878d4 instanceof Uint8Array){for(var _0x4ccceb=_0x2878d4['byteLength'],_0x7aa665=[],_0x2798e9=0x0;_0x2798e9<_0x4ccceb;_0x2798e9++)_0x7aa665[_0x2798e9>>>0x2]|=_0x2878d4[_0x2798e9]<<0x18-_0x2798e9%0x4*0x8;_0x2883c0[_0x1c97bd(0x290)](this,_0x7aa665,_0x4ccceb);}else _0x2883c0[_0x1c97bd(0x30c)](this,arguments);};_0xd1cb37[_0x3f657b(0x29c)]=_0x388621;}}()),_0xfd6e13[_0x2ec7e1(0x16e)][_0x2ec7e1(0x1ca)];}));}(Ze)),Ze['exports'];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe['exports'],ri;function wn(){var _0x4b2ec2=_0xe7476b;return ri||(ri=0x1,function(_0x414d05,_0x4a0f33){(function(_0x174d34,_0x23f1c9,_0x5ab593){_0x414d05['exports']=_0x23f1c9(te(),bi());}(An,function(_0x3f64a8){var _0x23d799=_0x33f0;return _0x3f64a8[_0x23d799(0x369)][_0x23d799(0x2a0)]={'pad':function(){},'unpad':function(){}},_0x3f64a8[_0x23d799(0x369)][_0x23d799(0x2a0)];}));}(Qe)),Qe[_0x4b2ec2(0x13c)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x1707f8,_0x1bc459){var _0x591a5d=_0xe7476b;const _0x385d54=_0x1bc459-_0x1707f8['length']%_0x1bc459,_0x2b8180=String[_0x591a5d(0x279)](_0x385d54)[_0x591a5d(0x12e)](_0x385d54);return _0x1707f8+_0x2b8180;}function xn(_0x37268c,_0x441e52){var _0x4f34b8=_0xe7476b;const _0x1a0ba0=Un[_0x4f34b8(0x38b)](0x10),_0x250882=Ln(_0x37268c,0x10),_0x2a0172=In[_0x4f34b8(0x243)](bn[_0x4f34b8(0x184)](_0x250882),ii[_0x4f34b8(0x184)](_0x441e52),{'iv':_0x1a0ba0,'padding':Mn});return _0x1a0ba0[_0x4f34b8(0x3ab)](_0x2a0172[_0x4f34b8(0x377)])['toString'](ii);}function kn(){var _0x53b45e=_0xe7476b;const _0x49b2aa=_0x10e700()[_0x53b45e(0x20a)];if(_0x49b2aa){const _0xc576ef={'time':Math[_0x53b45e(0x246)](Date[_0x53b45e(0x1ab)]()/0x3e8),'domain':location[_0x53b45e(0x214)]};return xn(JSON[_0x53b45e(0x2c7)](_0xc576ef),_0x49b2aa);}}var $n=Object[_0xe7476b(0x2af)],Hn=(_0x5d943e,_0x1ae2ec,_0x553079,_0x5c071b)=>{var _0x2113a9=_0xe7476b;for(var _0xeea0c4=_0x5c071b>0x1?void 0x0:_0x5c071b?$n(_0x1ae2ec,_0x553079):_0x1ae2ec,_0x4476a6=_0x5d943e[_0x2113a9(0x295)]-0x1,_0x511406;_0x4476a6>=0x0;_0x4476a6--)(_0x511406=_0x5d943e[_0x4476a6])&&(_0xeea0c4=_0x511406(_0xeea0c4)||_0xeea0c4);return _0xeea0c4;},Bn=(_0x2b4b7e,_0x5cf058)=>(_0xcd4d79,_0x4f3708)=>_0x5cf058(_0xcd4d79,_0x4f3708,_0x2b4b7e);let at=class{constructor(_0x18f5b2){var _0x3783ec=_0xe7476b;this[_0x3783ec(0x198)]=_0x18f5b2,this[_0x3783ec(0x263)]();}[_0xe7476b(0x263)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x20b707,_0x49fa04)=>{var _0x4bf740=_0x33f0;const _0x47fd9a=_0x20b707[_0x4bf740(0x261)],_0x444279=kn();return _0x444279&&_0x47fd9a[_0x4bf740(0x355)](_0x4bf740(0x1b9),_0x444279),_0x49fa04(_0x20b707);}});}};at=Hn([Bn(0x0,_0x3ab451(_0x5325d6))],at);var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x5a232a,_0x42fd3d,_0x5ec75e,_0x232291)=>{var _0x342469=_0xe7476b;for(var _0x391c27=_0x232291>0x1?void 0x0:_0x232291?jn(_0x42fd3d,_0x5ec75e):_0x42fd3d,_0x2e6b0a=_0x5a232a[_0x342469(0x295)]-0x1,_0x5eabf5;_0x2e6b0a>=0x0;_0x2e6b0a--)(_0x5eabf5=_0x5a232a[_0x2e6b0a])&&(_0x391c27=_0x5eabf5(_0x391c27)||_0x391c27);return _0x391c27;},vt=(_0x433075,_0x4488f6)=>(_0x1f18a6,_0x39d1ef)=>_0x4488f6(_0x1f18a6,_0x39d1ef,_0x433075);let Ct=class extends _0x596c5c{constructor(_0x36c185,_0x4935bc,_0x157fba){var _0x48927f=_0xe7476b;super(),N(this,_0x48927f(0x117),new _0x1c92f2(null)),N(this,_0x48927f(0x161),this['_unitInfo$'][_0x48927f(0x2be)]()),(this[_0x48927f(0x1e0)]=_0x36c185,this[_0x48927f(0x349)]=_0x4935bc,this[_0x48927f(0x316)]=_0x157fba);}async[_0xe7476b(0x2bc)](_0x1d7bf9,_0x525660,_0x19e162){var _0x5bf5c6=_0xe7476b;this[_0x5bf5c6(0x117)][_0x5bf5c6(0x12c)]({'unitId':_0x1d7bf9,'type':_0x525660});let _0x4b791d=null;switch(_0x525660){case Z[_0x5bf5c6(0x2f4)]:{_0x4b791d=await this[_0x5bf5c6(0x349)][_0x5bf5c6(0xf8)](_0x1d7bf9,_0x19e162);break;}case Z[_0x5bf5c6(0x25f)]:{_0x4b791d=await this[_0x5bf5c6(0x349)]['loadDoc'](_0x1d7bf9,_0x19e162);break;}default:{this[_0x5bf5c6(0x1e0)][_0x5bf5c6(0x33f)](_0x5bf5c6(0x2ad),_0x5bf5c6(0x216));break;}}return _0x4b791d;}async[_0xe7476b(0x2e7)](_0x459909,_0x5ec0fc,_0x7a55b3){var _0x3a7caa=_0xe7476b,_0xd96a50;this['_unitInfo$']['next']({'unitId':_0x459909,'type':_0x5ec0fc,'subUnitId':_0x7a55b3});let _0x3fdcbb=0x0;const _0x305671=await((_0xd96a50=this[_0x3a7caa(0x316)])==null?void 0x0:_0xd96a50['loadOfflineData'](_0x459909));return _0x305671&&(_0x305671[_0x3a7caa(0x320)]||_0x305671[_0x3a7caa(0x23e)][_0x3a7caa(0x295)]!==0x0)&&(_0x3fdcbb=_0x305671[_0x3a7caa(0x185)]),_0x3fdcbb===0x0&&this[_0x3a7caa(0x1e0)]['debug']('[DataLoaderService]',_0x3a7caa(0x145)),this[_0x3a7caa(0x2bc)](_0x459909,_0x5ec0fc,_0x3fdcbb);}};Ct=Fn([vt(0x0,_0x5d58e7),vt(0x1,_0x3ab451(_0x2d2417)),vt(0x2,_0x101caa(J))],Ct);var Vn=Object['getOwnPropertyDescriptor'],Wn=(_0x1f1d03,_0x42b972,_0x3c7796,_0x1b28c7)=>{for(var _0x37691c=_0x1b28c7>0x1?void 0x0:_0x1b28c7?Vn(_0x42b972,_0x3c7796):_0x42b972,_0x2d39b2=_0x1f1d03['length']-0x1,_0x2f9edc;_0x2d39b2>=0x0;_0x2d39b2--)(_0x2f9edc=_0x1f1d03[_0x2d39b2])&&(_0x37691c=_0x2f9edc(_0x37691c)||_0x37691c);return _0x37691c;},pt=(_0x3e3fe7,_0x5df304)=>(_0x365d77,_0x3d7f00)=>_0x5df304(_0x365d77,_0x3d7f00,_0x3e3fe7);const Gn=[_0xe7476b(0x2d8),'image/jpeg',_0xe7476b(0x2a1),_0xe7476b(0x1bf),_0xe7476b(0x24c)],Yn=0x5*0x400*0x400,Kn=_0xe7476b(0x190),qn=_0xe7476b(0x2cc);let Rt=class{constructor(_0x418e71,_0x408b65,_0x384e39){var _0x37fa96=_0xe7476b;N(this,_0x37fa96(0x292),0x0),N(this,'_change$',new _0x22d8b5()),N(this,'change$',this['_change$']),N(this,_0x37fa96(0x37a),new Map()),(this['_httpService']=_0x418e71,this['_configService']=_0x408b65,this[_0x37fa96(0x257)]=_0x384e39);}[_0xe7476b(0x244)](_0x32ab01){var _0x5ead94=_0xe7476b;this[_0x5ead94(0x292)]=_0x32ab01,this[_0x5ead94(0x273)][_0x5ead94(0x12c)](_0x32ab01);}[_0xe7476b(0x36a)](_0x1d182a,_0x30612f){var _0x41e43e=_0xe7476b;if(_0x30612f===_0x14a691[_0x41e43e(0x365)]){const _0x33ea54=new Image();return _0x33ea54[_0x41e43e(0x346)]=_0x1d182a,_0x33ea54;}return this['_imageSourceCache']['get'](_0x1d182a);}[_0xe7476b(0x16a)](_0x3d4f93,_0x2057aa,_0x498cc8){var _0x2ea3ca=_0xe7476b;_0x2057aa===_0x14a691[_0x2ea3ca(0x365)]||_0x498cc8==null||this['_imageSourceCache']['set'](_0x3d4f93,_0x498cc8);}async[_0xe7476b(0x21d)](_0xddf902){var _0x58cd9a=_0xe7476b;try{const _0x432816=this[_0x58cd9a(0x28c)](this['_getSignURL'](),''+_0xddf902),_0x31ea26=(await this[_0x58cd9a(0x198)][_0x58cd9a(0x174)](_0x432816))[_0x58cd9a(0x2b5)];if(_0x31ea26[_0x58cd9a(0x33f)]&&_0x31ea26['error'][_0x58cd9a(0x3a9)]===vi['OK']){const _0xd23084=new URL(_0x31ea26['url'],this[_0x58cd9a(0x3be)]())[_0x58cd9a(0x24d)]();return Promise['resolve'](_0xd23084);}return Promise['reject'](_0x31ea26[_0x58cd9a(0x33f)]);}catch(_0x52ef61){return Promise['reject'](_0x52ef61);}}async[_0xe7476b(0x3ae)](_0x4895e4){var _0x4e936b=_0xe7476b;let _0x296dcf='';if(!Gn[_0x4e936b(0x100)](_0x4895e4[_0x4e936b(0x366)]))return this[_0x4e936b(0x148)](),Promise[_0x4e936b(0x33a)](new Error(_0x17f5be['ERROR_IMAGE_TYPE']));if(_0x4895e4[_0x4e936b(0x122)]>Yn)return this[_0x4e936b(0x148)](),Promise[_0x4e936b(0x33a)](new Error(_0x17f5be[_0x4e936b(0x387)]));try{const _0x30ce75=new FormData();_0x30ce75[_0x4e936b(0x36b)]('file',_0x4895e4);const _0x329d32=this['_univerInstanceService']['getFocusedUnit'](),_0x34ee12=_0x329d32==null?void 0x0:_0x329d32['getUnitId']();if(!_0x34ee12)throw new Error(_0x4e936b(0x291));const _0x27f27b=this['_getUploadFileURL']()+_0x4e936b(0x271)+_0x4895e4['size'][_0x4e936b(0x24d)]()+'&source='+pi[_0x4e936b(0x334)]+_0x4e936b(0x1b5)+encodeURIComponent(_0x34ee12),_0x111312={'body':_0x30ce75},_0x280634=(await this[_0x4e936b(0x198)][_0x4e936b(0x2d7)](_0x27f27b,_0x111312))[_0x4e936b(0x2b5)];if(typeof _0x280634[_0x4e936b(0x10c)]!=_0x4e936b(0x180))return this[_0x4e936b(0x148)](),Promise[_0x4e936b(0x33a)](new Error(_0x17f5be[_0x4e936b(0x201)]));_0x296dcf=_0x280634['FileId'];}catch{return this[_0x4e936b(0x148)](),Promise[_0x4e936b(0x33a)](new Error(_0x17f5be[_0x4e936b(0x201)]));}return new Promise((_0x590d50,_0x390df2)=>{var _0x37fb7f=_0x4e936b;const _0x257059=new FileReader();_0x257059['readAsDataURL'](_0x4895e4),_0x257059[_0x37fb7f(0x18b)]=_0x3fd32e=>{var _0x174f64=_0x37fb7f,_0x187ec9;const _0x274954=(_0x187ec9=_0x3fd32e[_0x174f64(0x35d)])==null?void 0x0:_0x187ec9[_0x174f64(0x2ab)];if(_0x274954==null){this[_0x174f64(0x148)](),_0x390df2(new Error(_0x17f5be[_0x174f64(0x201)]));return;}const _0x5355dd=_0x30b2a1(0x6);_0x590d50({'imageId':_0x5355dd,'imageSourceType':_0x14a691['UUID'],'source':_0x296dcf,'base64Cache':_0x274954,'status':_0x17f5be[_0x174f64(0x1b4)]}),this[_0x174f64(0x148)]();};});}[_0xe7476b(0x332)](){var _0x460d14=_0xe7476b,_0x15fc5a;const _0x2bdfb9=this[_0x460d14(0x29f)][_0x460d14(0x178)](K);return(_0x15fc5a=_0x2bdfb9==null?void 0x0:_0x2bdfb9[_0x460d14(0x22d)])!=null?_0x15fc5a:Kn;}[_0xe7476b(0x286)](){var _0x453e87=_0xe7476b,_0x572579;const _0x267132=this[_0x453e87(0x29f)][_0x453e87(0x178)](K);return(_0x572579=_0x267132==null?void 0x0:_0x267132['signUrlServerUrl'])!=null?_0x572579:qn;}[_0xe7476b(0x3be)](){var _0x4c978c=_0xe7476b,_0xaacf50;const _0x4a074f=this['_configService'][_0x4c978c(0x178)](K);return(_0xaacf50=_0x4a074f==null?void 0x0:_0x4a074f[_0x4c978c(0x3bc)])!=null?_0xaacf50:location[_0x4c978c(0x16d)];}[_0xe7476b(0x28c)](_0x2b1e11,_0x1b43e5){var _0x526cfa=_0xe7476b;return _0x2b1e11['replace'](_0x526cfa(0x150),_0x1b43e5);}['_decreaseWaiting'](){var _0x645053=_0xe7476b;this[_0x645053(0x292)]-=0x1,this[_0x645053(0x273)]['next'](this['_waitCount']);}};Rt=Wn([pt(0x0,_0x3ab451(_0x5325d6)),pt(0x1,_0x2c6e2),pt(0x2,_0x3ab451(_0x564314))],Rt);var zn=Object['getOwnPropertyDescriptor'],Jn=(_0x3a1f3f,_0x54af6e,_0x5664d1,_0x51db94)=>{for(var _0x56998b=_0x51db94>0x1?void 0x0:_0x51db94?zn(_0x54af6e,_0x5664d1):_0x54af6e,_0x65b4=_0x3a1f3f['length']-0x1,_0x5e6379;_0x65b4>=0x0;_0x65b4--)(_0x5e6379=_0x3a1f3f[_0x65b4])&&(_0x56998b=_0x5e6379(_0x56998b)||_0x56998b);return _0x56998b;},ai=(_0x4501c4,_0x15e6d2)=>(_0x14dab3,_0x5c4582)=>_0x15e6d2(_0x14dab3,_0x5c4582,_0x4501c4);const Xn=_0xe7476b(0xee);let Ot=class{constructor(_0x2875f0,_0x5c28e1){var _0x660969=_0xe7476b;this[_0x660969(0x29f)]=_0x2875f0,this[_0x660969(0x1a2)]=_0x5c28e1;}['_getAPIPrefixPath'](){var _0x33d32c=_0xe7476b,_0x2d6765;const _0x6d3b5f=this[_0x33d32c(0x29f)]['getConfig'](K);return(_0x2d6765=_0x6d3b5f==null?void 0x0:_0x6d3b5f[_0x33d32c(0x392)])!=null?_0x2d6765:Xn;}async['list'](_0x355a57){var _0x387df7=_0xe7476b;const _0xae7f93=this['_getAPIPrefixPath']()+_0x387df7(0x37b);return{'list':[{'title':'People','mentions':(await this[_0x387df7(0x1a2)][_0x387df7(0x174)](_0xae7f93,{'params':{'objectID':_0x355a57[_0x387df7(0x283)],'unitID':_0x355a57['unitId']}}))[_0x387df7(0x2b5)][_0x387df7(0x231)]['map'](_0x4fb55d=>({'objectId':_0x4fb55d['id'],'name':_0x4fb55d[_0x387df7(0x1de)][_0x387df7(0x103)],'metadata':{'icon':_0x4fb55d['subject']['avatar']},'label':_0x4fb55d[_0x387df7(0x1de)][_0x387df7(0x103)],'objectType':_0x341eb8[_0x387df7(0x144)]})),'metadata':{},'type':_0x341eb8[_0x387df7(0x144)]}]};}};Ot=Jn([ai(0x0,_0x3ab451(_0x2c6e2)),ai(0x1,_0x3ab451(_0x5325d6))],Ot);var Zn=Object[_0xe7476b(0x2af)],Qn=(_0x49cdcd,_0x5e2f52,_0x19df19,_0x55ec73)=>{var _0x3a02e3=_0xe7476b;for(var _0x3a59f7=_0x55ec73>0x1?void 0x0:_0x55ec73?Zn(_0x5e2f52,_0x19df19):_0x5e2f52,_0x33c739=_0x49cdcd[_0x3a02e3(0x295)]-0x1,_0x6e1102;_0x33c739>=0x0;_0x33c739--)(_0x6e1102=_0x49cdcd[_0x33c739])&&(_0x3a59f7=_0x6e1102(_0x3a59f7)||_0x3a59f7);return _0x3a59f7;},Ue=(_0x3b0c90,_0x3a9c9b)=>(_0x193599,_0x21d091)=>_0x3a9c9b(_0x193599,_0x21d091,_0x3b0c90);let ot=class extends _0x596c5c{constructor(_0xf65fea,_0x5100c4,_0x4e7bfd,_0x2e302f,_0x3c653b){var _0x55558=_0xe7476b;super(),this[_0x55558(0x284)]=_0xf65fea,this['_univerInstanceService']=_0x5100c4,this[_0x55558(0x2a4)]=_0x4e7bfd,this[_0x55558(0x22f)]=_0x2e302f,this[_0x55558(0x34d)]=_0x3c653b,this[_0x55558(0x367)](),this[_0x55558(0x268)]();}[_0xe7476b(0x268)](){var _0x46e67b=_0xe7476b;const _0x27ba55=async _0x3a574a=>{var _0x57086d=_0x33f0;(await this[_0x57086d(0x22f)][_0x57086d(0x25c)](_0x3a574a))[_0x57086d(0x1e3)][_0x57086d(0x2d0)](_0x382e9a(_0x1661bb=>_0x1661bb[_0x57086d(0x36f)]===_0x15f20d['SHOULD_CLOSE_CONN']),_0x373daa(this['dispose$']))[_0x57086d(0x2b4)](_0x443fbc=>{var _0x872fdb=_0x57086d;const _0x40f891=_0x443fbc,{reason:_0xdd07b}=_0x40f891[_0x872fdb(0x182)];this[_0x872fdb(0x34d)][_0x872fdb(0x385)]({'id':ne[_0x872fdb(0x2c0)],'data':_0xdd07b}),this[_0x872fdb(0x2a4)][_0x872fdb(0xf0)](new _0x350486(_0x3a574a)['id'],!0x1),this[_0x872fdb(0x22f)][_0x872fdb(0x22a)](_0x3a574a);});};_0x114bec(this[_0x46e67b(0x257)][_0x46e67b(0x1ec)](_0x313508['UNIVER_SHEET']),this[_0x46e67b(0x257)][_0x46e67b(0x1ec)](_0x313508[_0x46e67b(0x25f)]))['pipe'](_0x1263aa(_0x50ea8b=>_0x50ea8b[_0x46e67b(0x109)]()),_0x382e9a(_0x4c8291=>!_0x52e864(_0x4c8291)),_0x373daa(this['dispose$']))['subscribe'](_0x52ffa1=>{_0x27ba55(_0x52ffa1);});}[_0xe7476b(0x367)](){var _0x34e8c0=_0xe7476b;const _0x4c135c=async _0x373efb=>{var _0x31a528=_0x33f0;const _0x251e48=await this['_collaborationSessionService'][_0x31a528(0x25c)](_0x373efb),_0x556985=this[_0x31a528(0x284)][_0x31a528(0x174)](_0x6a2288);_0x251e48[_0x31a528(0x1e3)][_0x31a528(0x2d0)](_0x382e9a(_0x493487=>_0x493487[_0x31a528(0x36f)]===_0x15f20d[_0x31a528(0x3b5)]),_0x373daa(this[_0x31a528(0x265)]))[_0x31a528(0x2b4)](_0x123c78=>{var _0x37171b=_0x31a528;const _0x42dc29=_0x123c78,{objectId:_0x3fda71}=_0x42dc29['data'];_0x3fda71===_0x373efb?_0x556985[_0x37171b(0x164)](_0x373efb):_0x556985['refreshPermission'](_0x373efb,_0x3fda71);});};_0x114bec(this[_0x34e8c0(0x257)]['getTypeOfUnitAdded$'](_0x313508[_0x34e8c0(0x2f4)]))[_0x34e8c0(0x2d0)](_0x1263aa(_0x286309=>_0x286309[_0x34e8c0(0x109)]()),_0x382e9a(_0x474362=>!_0x52e864(_0x474362)),_0x373daa(this['dispose$']))[_0x34e8c0(0x2b4)](_0x4cd489=>{_0x4c135c(_0x4cd489);});}};ot=Qn([Ue(0x0,_0x3ab451(_0x494864)),Ue(0x1,_0x564314),Ue(0x2,_0x1752a3),Ue(0x3,_0x3ab451(Pe)),Ue(0x4,_0x3ab451(ve))],ot);var er=Object[_0xe7476b(0x2af)],tr=(_0x6fdf05,_0x45dd53,_0x275483,_0x3efb50)=>{for(var _0x454b52=_0x3efb50>0x1?void 0x0:_0x3efb50?er(_0x45dd53,_0x275483):_0x45dd53,_0x326637=_0x6fdf05['length']-0x1,_0x3d7050;_0x326637>=0x0;_0x326637--)(_0x3d7050=_0x6fdf05[_0x326637])&&(_0x454b52=_0x3d7050(_0x454b52)||_0x454b52);return _0x454b52;},oi=(_0x51420d,_0x1660b4)=>(_0x3c6a2c,_0x361537)=>_0x1660b4(_0x3c6a2c,_0x361537,_0x51420d);let bt=class{constructor(_0x331d7e,_0x1b8894){var _0x104303=_0xe7476b;this[_0x104303(0x29f)]=_0x331d7e,this[_0x104303(0x198)]=_0x1b8894;}async[_0xe7476b(0x2ef)](_0x13c6a5,_0x5c1aca){var _0x58bc42=_0xe7476b,_0x37a365;const {unitID:_0x40e594,type:_0xc87c40,revision:_0x5596c0=0x0}=_0x5c1aca,_0x361ab8=this[_0x58bc42(0x1eb)]()+'/'+_0xc87c40+_0x58bc42(0x1ef)+_0x40e594+_0x58bc42(0x3a7)+_0x5596c0,_0x1c73eb=(await this[_0x58bc42(0x198)][_0x58bc42(0x174)](_0x361ab8))['body'],_0xeefa92=(_0x37a365=_0x1c73eb[_0x58bc42(0x27f)])==null?void 0x0:_0x37a365[_0x58bc42(0x1fa)];if(_0xeefa92){const _0x2e518e=_0xeefa92==null?void 0x0:_0xeefa92[_0x58bc42(0x337)],_0x3f6941=_0x50903d[_0x58bc42(0x17b)](_0x4bdb52(_0x2e518e));_0xeefa92[_0x58bc42(0x337)]=_0x3f6941,Object['entries'](_0xeefa92['sheets'])['forEach'](([,_0x3d6590])=>{var _0x2d2031=_0x58bc42;const _0x1a82eb=_0x3d6590[_0x2d2031(0x337)],_0x1e6211=_0x50903d[_0x2d2031(0x17b)](_0x4bdb52(_0x1a82eb));_0x3d6590[_0x2d2031(0x337)]=_0x1e6211;});}return _0x1c73eb;}async[_0xe7476b(0x269)](_0x183e68,_0xbc9fba){var _0x8e18b=_0xe7476b;const {unitID:_0x46a143,type:_0x52cc26,blockID:_0x311ed1}=_0xbc9fba,_0xf03a38=this[_0x8e18b(0x123)]()+'/'+_0x52cc26+_0x8e18b(0x1ef)+_0x46a143+_0x8e18b(0x2ff)+_0x311ed1;return(await this[_0x8e18b(0x198)][_0x8e18b(0x174)](_0xf03a38))[_0x8e18b(0x2b5)];}async[_0xe7476b(0x37d)](_0x4f5f04,_0x3932ba){var _0x2f2afb=_0xe7476b;const {unitID:_0x4f79d3,type:_0x53e313,blockID:_0x239e5e}=_0x3932ba,_0x381182=this['_getAPIPrefix']()+'/block/'+_0x53e313+_0x2f2afb(0x1ef)+_0x4f79d3+_0x2f2afb(0x2ff)+_0x239e5e;return(await this['_httpService']['get'](_0x381182))[_0x2f2afb(0x2b5)];}async[_0xe7476b(0x242)](_0x28ca0d,_0x59b108){var _0x28947c=_0xe7476b;const {unitID:_0x54b8c7,type:_0x2e1c0d,from:_0x3e8d33,to:_0x36483b}=_0x59b108,_0x221d0a=this[_0x28947c(0x123)]()+'/'+_0x2e1c0d+'/unit/'+_0x54b8c7+'/fetchmissing?from='+_0x3e8d33+_0x28947c(0x1c7)+_0x36483b;return(await this[_0x28947c(0x198)]['get'](_0x221d0a))[_0x28947c(0x2b5)];}[_0xe7476b(0x1eb)](){var _0x81d619=_0xe7476b,_0x244eea;return(_0x244eea=this[_0x81d619(0x29f)][_0x81d619(0x178)](vs))!=null?_0x244eea:this[_0x81d619(0x123)]();}[_0xe7476b(0x123)](){var _0x1a37de=_0xe7476b,_0x169d13;const _0x5f1e49=this[_0x1a37de(0x29f)][_0x1a37de(0x178)](K);return(_0x169d13=_0x5f1e49==null?void 0x0:_0x5f1e49[_0x1a37de(0x2ec)])!=null?_0x169d13:fs;}async['getResourcesRequest'](_0x28cf4a,_0x1ecda0){var _0x14fafa=_0xe7476b;const _0x264b06=_0x14fafa(0x2d1)+_0x1ecda0[_0x14fafa(0x366)]+_0x14fafa(0x1ef)+_0x1ecda0[_0x14fafa(0x2a9)]+_0x14fafa(0x298);return(await this['_httpService'][_0x14fafa(0x174)](_0x264b06,{'params':{'resourceId':JSON[_0x14fafa(0x2c7)](_0x1ecda0['resourceIDs'])}}))[_0x14fafa(0x2b5)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xe7476b(0x29d)](){var _0x5e6653=_0xe7476b;throw new Error(_0x5e6653(0x287));}[_0xe7476b(0x2e2)](){var _0x2ab885=_0xe7476b;throw new Error(_0x2ab885(0x287));}[_0xe7476b(0x236)](){var _0x73710b=_0xe7476b;throw new Error(_0x73710b(0x287));}['copyFileMeta'](){var _0x381ea4=_0xe7476b;throw new Error(_0x381ea4(0x287));}[_0xe7476b(0x303)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};bt=tr([oi(0x0,_0x2c6e2),oi(0x1,_0x3ab451(_0x5325d6))],bt);var ir=Object[_0xe7476b(0x2af)],sr=(_0x27f279,_0x4cb460,_0x2247d8,_0x21bec3)=>{var _0x34bedd=_0xe7476b;for(var _0x5b2df6=_0x21bec3>0x1?void 0x0:_0x21bec3?ir(_0x4cb460,_0x2247d8):_0x4cb460,_0x23cf40=_0x27f279[_0x34bedd(0x295)]-0x1,_0x3a7886;_0x23cf40>=0x0;_0x23cf40--)(_0x3a7886=_0x27f279[_0x23cf40])&&(_0x5b2df6=_0x3a7886(_0x5b2df6)||_0x5b2df6);return _0x5b2df6;},Ae=(_0xe5fa8d,_0x4d8aea)=>(_0x33040e,_0x42574a)=>_0x4d8aea(_0x33040e,_0x42574a,_0xe5fa8d);let yt=class extends _0x2b53be{constructor(_0x26ab38,_0x57c175,_0x25472e,_0x5373fc,_0x303ad4){var _0x4bc48c=_0xe7476b;super(_0x26ab38,_0x57c175,_0x25472e),this[_0x4bc48c(0x277)]=_0x5373fc,this[_0x4bc48c(0x1e0)]=_0x303ad4;}[_0xe7476b(0x23b)](_0x5744ff,_0x41ed38){var _0x271df5=_0xe7476b;const _0x55486b=this[_0x271df5(0x272)](_0x5744ff);if(_0x55486b)try{const _0x4fb52b=this[_0x271df5(0x141)](_0x55486b,_0x41ed38);this[_0x271df5(0x17e)](_0x5744ff,_0x4fb52b);}catch(_0x24d692){this['_logService'][_0x271df5(0x33f)](_0x271df5(0x1f4),_0x24d692),this['_clearUndo'](_0x5744ff);}const _0x400e96=this['_getRedoStack'](_0x5744ff);if(_0x400e96)try{const _0x5393c5=this['_transformStack'](_0x400e96,_0x41ed38);this['_substituteRedoStack'](_0x5744ff,_0x5393c5);}catch(_0x131809){this['_logService']['error'](_0x131809),this[_0x271df5(0x310)](_0x5744ff);}}[_0xe7476b(0x3a0)](_0x442dbc){var _0x34ba77=_0xe7476b;const _0x5a204c=this['_getUndoStack'](_0x442dbc);_0x5a204c&&(_0x5a204c[_0x34ba77(0x295)]=0x0,this[_0x34ba77(0x362)]());}['_clearRedo'](_0x55eb43){var _0x52eb7b=_0xe7476b;const _0x3884df=this[_0x52eb7b(0x3d1)](_0x55eb43);_0x3884df&&(_0x3884df[_0x52eb7b(0x295)]=0x0,this[_0x52eb7b(0x362)]());}[_0xe7476b(0x17e)](_0x1261e9,_0x1c6671){var _0x1e4611=_0xe7476b;this[_0x1e4611(0x21c)]['set'](_0x1261e9,_0x1c6671),this[_0x1e4611(0x362)]();}['_substituteRedoStack'](_0x19da85,_0x2feb22){var _0x33393f=_0xe7476b;this[_0x33393f(0x2dc)][_0x33393f(0x355)](_0x19da85,_0x2feb22),this['_updateStatus']();}[_0xe7476b(0x141)](_0x5acbe1,_0x20e607){var _0x2ef490=_0xe7476b;const _0x3fedcc=[];let _0x2c6a09=_0x20e607,_0x1c178e=_0x20e607;for(let _0xd33f6=_0x5acbe1[_0x2ef490(0x295)]-0x1;_0xd33f6>=0x0;_0xd33f6--){const {unitID:_0x52910c,undoMutations:_0x1e1981,redoMutations:_0x1e5264}=_0x5acbe1[_0xd33f6],_0x54f5b7=this[_0x2ef490(0x277)]['transformMutationsWithChangeset'](_0x2c6a09,_0x1e1981),_0x15c09a=this['_transformService'][_0x2ef490(0x38f)](_0x1c178e,_0x1e5264);if(_0x5e2704(_0x54f5b7)||_0x5e2704(_0x15c09a)){this[_0x2ef490(0x1e0)][_0x2ef490(0x33f)](_0x2ef490(0x1f4),'transformStack\x20failed!',_0x54f5b7,_0x15c09a);break;}_0x2c6a09=_0x54f5b7[_0x2ef490(0x115)],_0x1c178e=_0x15c09a[_0x2ef490(0x115)],_0x3fedcc['push']({'unitID':_0x52910c,'undoMutations':_0x54f5b7[_0x2ef490(0x3da)],'redoMutations':_0x15c09a[_0x2ef490(0x3da)]});}return _0x3fedcc[_0x2ef490(0x301)]();}};yt=sr([Ae(0x0,_0x564314),Ae(0x1,_0x22ca1b),Ae(0x2,_0x1c46df),Ae(0x3,_0x2a49de),Ae(0x4,_0x5d58e7)],yt);var nr=Object[_0xe7476b(0x1ce)],rr=Object['getOwnPropertyDescriptor'],ar=(_0x2a2119,_0x386965,_0x515039)=>_0x386965 in _0x2a2119?nr(_0x2a2119,_0x386965,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x515039}):_0x2a2119[_0x386965]=_0x515039,or=(_0x3571c3,_0x182f49,_0x2559f3,_0x5e39ba)=>{var _0x410fe9=_0xe7476b;for(var _0x4a3be1=_0x5e39ba>0x1?void 0x0:_0x5e39ba?rr(_0x182f49,_0x2559f3):_0x182f49,_0x488bdf=_0x3571c3[_0x410fe9(0x295)]-0x1,_0x56fbd2;_0x488bdf>=0x0;_0x488bdf--)(_0x56fbd2=_0x3571c3[_0x488bdf])&&(_0x4a3be1=_0x56fbd2(_0x4a3be1)||_0x4a3be1);return _0x4a3be1;},mt=(_0x519868,_0x4e3f3b)=>(_0x4c1214,_0x132658)=>_0x4e3f3b(_0x4c1214,_0x132658,_0x519868),cr=(_0x22e03d,_0x577943,_0x4c8b78)=>ar(_0x22e03d,_0x577943+'',_0x4c8b78);const hr=_0xe7476b(0x254);let Nt=class extends _0x59bb00{constructor(_0x205dad,_0x709e17,_0x333b8c,_0x3aaf14){var _0x331b05=_0xe7476b;super(),N(this,'_config'),(this[_0x331b05(0x1e0)]=_0x709e17,this[_0x331b05(0x284)]=_0x333b8c,this[_0x331b05(0x29f)]=_0x3aaf14);const {..._0x5ad8ff}=_0x20dfcc({},Ls,_0x205dad);if(!_0x5ad8ff[_0x331b05(0x1f3)])throw new Error(_0x331b05(0x3ac));this['_config']=_0x5ad8ff,this[_0x331b05(0x29f)][_0x331b05(0x2ea)](K,_0x5ad8ff);}[_0xe7476b(0x21b)](){var _0x1e05ac=_0xe7476b;this[_0x1e05ac(0x35a)](),this['_initDependencies']();}['_registerDependencies'](){var _0x4d5f39=_0xe7476b,_0x4c8dab,_0x3fc002;this[_0x4d5f39(0x284)][_0x4d5f39(0x1a5)](_0x2a0c90)&&this[_0x4d5f39(0x1e0)]['error'](_0x4d5f39(0x11e),_0x4d5f39(0x396));const _0x385220=_0xdaed4e([[_0x2a0c90,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this[_0x4d5f39(0x12d)][_0x4d5f39(0x1f3)]}],[_0x380b92,{'useClass':bt}],[_0x55cf05,{'useClass':Tt}],[_0x13ce3f,{'useClass':Rt}],[_0x4b7cfb,{'useClass':Ot}],[nt],[It]],(_0x4c8dab=this[_0x4d5f39(0x12d)])==null?void 0x0:_0x4c8dab[_0x4d5f39(0x220)]);if(!((_0x3fc002=this['_config'])!=null&&_0x3fc002[_0x4d5f39(0x2c8)])){const _0x6848b9=_0x385220[_0x4d5f39(0x1d9)](([_0x5cc810])=>_0x5cc810===ht);_0x6848b9!==-0x1&&_0x385220['splice'](_0x6848b9,0x1);}_0x1880c9(this[_0x4d5f39(0x284)],_0x385220);}['_initDependencies'](){var _0x5c7d1b=_0xe7476b,_0x7028fe,_0x3edea4,_0x23ae25;this[_0x5c7d1b(0x284)]['get'](_0x5325d6)[_0x5c7d1b(0x1cf)]({'priority':0x14,'interceptor':_0x220a88({'maxParallel':0x6})}),(_0x7028fe=this[_0x5c7d1b(0x12d)])!=null&&_0x7028fe['enableOfflineEditing']||(_0x3edea4=this[_0x5c7d1b(0x284)][_0x5c7d1b(0x174)](J,_0x9ebfa8[_0x5c7d1b(0x389)]))==null||_0x3edea4[_0x5c7d1b(0x1e4)](),(_0x23ae25=this[_0x5c7d1b(0x12d)])!=null&&_0x23ae25[_0x5c7d1b(0x376)]&&_0x50372c(this[_0x5c7d1b(0x284)],[[rt]]),_0x50372c(this[_0x5c7d1b(0x284)],[[at],[nt],[ot]]);}};cr(Nt,_0xe7476b(0x19a),hr),Nt=or([_0x2da002(_0x20a078,_0x347256),mt(0x1,_0x5d58e7),mt(0x2,_0x3ab451(_0x494864)),mt(0x3,_0x2c6e2)],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 _0x40c2d6=_0x1af6;(function(_0x554488,_0x2fc538){var _0xdd3c2=_0x1af6,_0x213515=_0x554488();while(!![]){try{var _0x167f0d=parseInt(_0xdd3c2(0x115))/0x1+-parseInt(_0xdd3c2(0x10f))/0x2*(parseInt(_0xdd3c2(0x2a2))/0x3)+-parseInt(_0xdd3c2(0x19d))/0x4*(-parseInt(_0xdd3c2(0x2f5))/0x5)+-parseInt(_0xdd3c2(0x1d7))/0x6+-parseInt(_0xdd3c2(0x164))/0x7*(-parseInt(_0xdd3c2(0x1fe))/0x8)+-parseInt(_0xdd3c2(0x26a))/0x9*(parseInt(_0xdd3c2(0x2b8))/0xa)+-parseInt(_0xdd3c2(0x2f7))/0xb*(-parseInt(_0xdd3c2(0x110))/0xc);if(_0x167f0d===_0x2fc538)break;else _0x213515['push'](_0x213515['shift']());}catch(_0x4f1ea3){_0x213515['push'](_0x213515['shift']());}}}(_0xcc79,0xd218d));var yi=Object['defineProperty'],Ni=(_0x113041,_0x19bb90,_0x4f323e)=>_0x19bb90 in _0x113041?yi(_0x113041,_0x19bb90,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f323e}):_0x113041[_0x19bb90]=_0x4f323e,N=(_0x1f3caa,_0x297a35,_0x22594d)=>Ni(_0x1f3caa,typeof _0x297a35!=_0x40c2d6(0x20e)?_0x297a35+'':_0x297a35,_0x22594d);import{CollaborationEvent as _0x5eeaab,ITransformService as _0x7ca8ef,isTransformMutationsWithChangesetSuccess as _0x1f26db,mapDocumentTypeToUniverType as _0x5e7f26,RevisionService as _0x5a8ad7,isTransformChangesetsSuccess as _0x5a84b7,CompressMutationService as _0x174f08,parseProtocolChangeset as _0x5d4983,uuidv4 as _0x37059a,ISnapshotServerService as _0x357fa6,parseChangesetToProtocol as _0x571974,SnapshotService as _0x250c91,textEncoder as _0x4ddc9b,b64DecodeUnicode as _0x44cf24,isTransformMutationsWithChangesetFailure as _0x57ca34,UniverCollaborationPlugin as _0x58d58c}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x1195d0,Inject as _0x12c579,UserManagerService as _0x485c51,Disposable as _0x31dec1,UniverInstanceType as _0x272081,ILogService as _0x326ad4,IConfigService as _0x1ea92f,Optional as _0x37b46e,RxDisposable as _0x5a7cdf,createIdentifier as _0x35edde,Injector as _0x317612,Tools as _0x317cbd,Rectangle as _0x2a977a,ICommandService as _0x22b074,JSONX as _0x437d59,CommandType as _0x568581,IUndoRedoService as _0x4799e5,IPermissionService as _0x731c47,LocaleService as _0x357eea,sequenceExecute as _0x167cef,toDisposable as _0x3ef1b1,DisposableCollection as _0x213819,Workbook as _0x57e008,generateRandomId as _0x5a3ce2,MentionType as _0x54c2e1,isInternalEditorID as _0x24fab4,LocalUndoRedoService as _0x11650a,IContextService as _0x42c67b,DependentOn as _0x225003,Plugin as _0x419c6b,merge as _0x520b07,mergeOverrideWithDependencies as _0x5dac7d,IAuthzIoService as _0xe0b3b2,IMentionIOService as _0x3e2c49,registerDependencies as _0x40074f,Quantity as _0x54cab6,touchDependencies as _0x20a04b}from'@univerjs/core';import{RichTextEditingMutation as _0xd4b663}from'@univerjs/docs';import{SheetsSelectionsService as _0x547db8,SetSelectionsOperation as _0x1c6c56,InsertSheetMutation as _0x3e4eb1,EmptyMutation as _0x26cf26,WorkbookEditablePermission as _0x133927,SheetPermissionInitController as _0x312d11}from'@univerjs/sheets';import{Subject as _0x48735b,merge as _0x386648,of as _0x781c4f,BehaviorSubject as _0x3a215e,takeUntil as _0xa5ce7c,ReplaySubject as _0xd6f7e0,take as _0x31b224,map as _0x2843b1,shareReplay as _0x4c8c70,firstValueFrom as _0x553d98,concatMap as _0x1cfa62}from'rxjs';import{ITelemetryService as _0x25bdcd}from'@univerjs/telemetry';import{map as _0x350589,take as _0x3cb6f1,filter as _0x3d048f,delay as _0x4a4793,takeUntil as _0xc3eed0}from'rxjs/operators';import{HTTPService as _0x474636,ISocketService as _0x79ce6a,MergeInterceptorFactory as _0x4ffef2,HTTPRequest as _0x56f181,UniverNetworkPlugin as _0xb40cc5,ThresholdInterceptorFactory as _0x5088e4}from'@univerjs/network';import{ImageSourceType as _0x43fd06,ImageUploadStatusType as _0x3064f4,IImageIoService as _0x3b8316}from'@univerjs/drawing';import{getGlobalObject as _0x4700b9}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs='SNAPSHOT_URL_KEY',ps=0x7d0,ms=_0x40c2d6(0x1ec),Ir=_0x40c2d6(0x245),gs=_0x40c2d6(0xd4),Ss=0x7530,di=_0x40c2d6(0x1a6),fi=0x4e20,Es=0x4e20,Is=_0x40c2d6(0x2a8),Ts=0x3,Tr=_0x40c2d6(0xda),Cr=0x3e8,Cs=_0x40c2d6(0x10b),Rs=_0x40c2d6(0xd2),Rr=_0x40c2d6(0x29f),Or=_0x40c2d6(0x195);var vi=(_0x17e4ba=>(_0x17e4ba[_0x17e4ba[_0x40c2d6(0xde)]=0x0]='UNDEFINED',_0x17e4ba[_0x17e4ba['OK']=0x1]='OK',_0x17e4ba[_0x17e4ba[_0x40c2d6(0x154)]=0x2]=_0x40c2d6(0x154),_0x17e4ba[_0x17e4ba[_0x40c2d6(0x36e)]=0x3]='PERMISSION_DENIED',_0x17e4ba[_0x17e4ba['NOT_FOUND']=0x4]=_0x40c2d6(0x21b),_0x17e4ba[_0x17e4ba[_0x40c2d6(0x280)]=0x5]='UNAUTHENTICATED',_0x17e4ba[_0x17e4ba['ALREADY_EXISTS']=0x6]=_0x40c2d6(0x161),_0x17e4ba[_0x17e4ba['INVALID_ARGUMENT']=0x7]=_0x40c2d6(0x2a0),_0x17e4ba[_0x17e4ba[_0x40c2d6(0x326)]=0x8]=_0x40c2d6(0x326),_0x17e4ba[_0x17e4ba[_0x40c2d6(0xff)]=0x9]='COMPLETION_FINISHED',_0x17e4ba[_0x17e4ba[_0x40c2d6(0x11a)]=0xa]=_0x40c2d6(0x11a),_0x17e4ba[_0x17e4ba['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x40c2d6(0xe3),_0x17e4ba[_0x17e4ba[_0x40c2d6(0x3a7)]=0xc]=_0x40c2d6(0x3a7),_0x17e4ba[_0x17e4ba['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x40c2d6(0x2c9),_0x17e4ba[_0x17e4ba['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x17e4ba[_0x17e4ba[_0x40c2d6(0x364)]=0x1389]=_0x40c2d6(0x364),_0x17e4ba[_0x17e4ba['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x40c2d6(0xcb),_0x17e4ba[_0x17e4ba['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x40c2d6(0x1d9),_0x17e4ba[_0x17e4ba[_0x40c2d6(0xf1)]=0x1773]=_0x40c2d6(0xf1),_0x17e4ba[_0x17e4ba['APPLY_REJECT']=0x1b59]=_0x40c2d6(0x197),_0x17e4ba[_0x17e4ba[_0x40c2d6(0xe2)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x17e4ba[_0x17e4ba[_0x40c2d6(0x1fd)]=0x1b5b]=_0x40c2d6(0x1fd),_0x17e4ba[_0x17e4ba[_0x40c2d6(0xfb)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x17e4ba[_0x17e4ba[_0x40c2d6(0x200)]=0x1b5d]=_0x40c2d6(0x200),_0x17e4ba[_0x17e4ba['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x17e4ba[_0x17e4ba[_0x40c2d6(0x1c4)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x17e4ba[_0x17e4ba['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x40c2d6(0x2da),_0x17e4ba[_0x17e4ba[_0x40c2d6(0x10d)]=0x232b]=_0x40c2d6(0x10d),_0x17e4ba[_0x17e4ba[_0x40c2d6(0x349)]=0x232c]=_0x40c2d6(0x349),_0x17e4ba[_0x17e4ba[_0x40c2d6(0x271)]=0x232d]=_0x40c2d6(0x271),_0x17e4ba[_0x17e4ba[_0x40c2d6(0x1a3)]=0x2711]=_0x40c2d6(0x1a3),_0x17e4ba[_0x17e4ba['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x40c2d6(0x340),_0x17e4ba[_0x17e4ba[_0x40c2d6(0x2a1)]=0x2713]=_0x40c2d6(0x2a1),_0x17e4ba[_0x17e4ba['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x40c2d6(0x169),_0x17e4ba[_0x17e4ba[_0x40c2d6(0x1cf)]=0x271a]=_0x40c2d6(0x1cf),_0x17e4ba[_0x17e4ba[_0x40c2d6(0x37d)]=0x271b]=_0x40c2d6(0x37d),_0x17e4ba[_0x17e4ba[_0x40c2d6(0x322)]=0x271c]=_0x40c2d6(0x322),_0x17e4ba[_0x17e4ba[_0x40c2d6(0x183)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x17e4ba[_0x17e4ba['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x40c2d6(0x36c),_0x17e4ba[_0x17e4ba[_0x40c2d6(0x14e)]=0x271f]=_0x40c2d6(0x14e),_0x17e4ba[_0x17e4ba['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x40c2d6(0x2a5),_0x17e4ba[_0x17e4ba[_0x40c2d6(0x383)]=0x2af9]=_0x40c2d6(0x383),_0x17e4ba[_0x17e4ba[_0x40c2d6(0x28b)]=0x2ee1]=_0x40c2d6(0x28b),_0x17e4ba[_0x17e4ba['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x17e4ba[_0x17e4ba['INVITE_CODE_REQUIRED']=0x2ee3]=_0x40c2d6(0xbe),_0x17e4ba[_0x17e4ba[_0x40c2d6(0xbb)]=0x2ee4]=_0x40c2d6(0xbb),_0x17e4ba[_0x17e4ba[_0x40c2d6(0x28d)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x17e4ba[_0x17e4ba[_0x40c2d6(0x38c)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x17e4ba[_0x17e4ba[_0x40c2d6(0x139)]=0x32ca]=_0x40c2d6(0x139),_0x17e4ba[_0x17e4ba[_0x40c2d6(0xef)]=0x32cb]=_0x40c2d6(0xef),_0x17e4ba[_0x17e4ba[_0x40c2d6(0x100)]=-0x1]=_0x40c2d6(0x100),_0x17e4ba))(vi||{}),Z=(_0x35daae=>(_0x35daae[_0x35daae[_0x40c2d6(0x1d2)]=0x0]='UNIVER_UNKNOWN',_0x35daae[_0x35daae[_0x40c2d6(0x246)]=0x1]='UNIVER_DOC',_0x35daae[_0x35daae[_0x40c2d6(0x1b4)]=0x2]=_0x40c2d6(0x1b4),_0x35daae[_0x35daae[_0x40c2d6(0x236)]=0x3]=_0x40c2d6(0x236),_0x35daae[_0x35daae['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x35daae[_0x35daae[_0x40c2d6(0x100)]=-0x1]=_0x40c2d6(0x100),_0x35daae))(Z||{}),F=(_0x38f179=>(_0x38f179[_0x38f179[_0x40c2d6(0xd1)]=0x0]=_0x40c2d6(0xd1),_0x38f179[_0x38f179[_0x40c2d6(0x2cb)]=0x1]=_0x40c2d6(0x2cb),_0x38f179[_0x38f179[_0x40c2d6(0x103)]=0x2]=_0x40c2d6(0x103),_0x38f179[_0x38f179[_0x40c2d6(0x2de)]=0x3]=_0x40c2d6(0x2de),_0x38f179[_0x38f179['INGEST']=0x4]=_0x40c2d6(0xbc),_0x38f179[_0x38f179[_0x40c2d6(0x1bd)]=0x5]='HEARTBEAT',_0x38f179[_0x38f179[_0x40c2d6(0x20f)]=0x6]=_0x40c2d6(0x20f),_0x38f179[_0x38f179[_0x40c2d6(0x100)]=-0x1]=_0x40c2d6(0x100),_0x38f179))(F||{}),pe=(_0x168d6b=>(_0x168d6b[_0x168d6b[_0x40c2d6(0x209)]=0x0]=_0x40c2d6(0x209),_0x168d6b[_0x168d6b['OK']=0x1]='OK',_0x168d6b[_0x168d6b[_0x40c2d6(0x264)]=0x2]=_0x40c2d6(0x264),_0x168d6b[_0x168d6b[_0x40c2d6(0x1e3)]=0x3e9]=_0x40c2d6(0x1e3),_0x168d6b[_0x168d6b[_0x40c2d6(0xdc)]=0x3ea]=_0x40c2d6(0xdc),_0x168d6b[_0x168d6b['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x40c2d6(0x38e),_0x168d6b[_0x168d6b['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x40c2d6(0x2c1),_0x168d6b[_0x168d6b[_0x40c2d6(0x100)]=-0x1]=_0x40c2d6(0x100),_0x168d6b))(pe||{}),pi=(_0x22776b=>(_0x22776b[_0x22776b['Undefined']=0x0]='Undefined',_0x22776b[_0x22776b[_0x40c2d6(0x17a)]=0x1]='HttpImport',_0x22776b[_0x22776b['HttpExport']=0x2]=_0x40c2d6(0x137),_0x22776b[_0x22776b[_0x40c2d6(0x142)]=0x3]='UnitEmbedded',_0x22776b[_0x22776b[_0x40c2d6(0x3b4)]=0x4]=_0x40c2d6(0x3b4),_0x22776b[_0x22776b[_0x40c2d6(0x323)]=0x5]=_0x40c2d6(0x323),_0x22776b[_0x22776b[_0x40c2d6(0x100)]=-0x1]=_0x40c2d6(0x100),_0x22776b))(pi||{});const Os=_0x40c2d6(0x162);function bs(_0x3c5744){var _0x1a8cad=_0x40c2d6;return JSON[_0x1a8cad(0x309)](_0x3c5744)[_0x1a8cad(0x2c2)];}var ne=(_0x397cf8=>(_0x397cf8[_0x40c2d6(0x39c)]=_0x40c2d6(0x39c),_0x397cf8['PERMISSION_DENIED']='PERMISSION_DENIED',_0x397cf8[_0x40c2d6(0x213)]=_0x40c2d6(0x213),_0x397cf8[_0x40c2d6(0x394)]=_0x40c2d6(0x394),_0x397cf8[_0x40c2d6(0x227)]=_0x40c2d6(0x227),_0x397cf8['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x397cf8[_0x40c2d6(0xe0)]=_0x40c2d6(0xe0),_0x397cf8[_0x40c2d6(0x377)]=_0x40c2d6(0x377),_0x397cf8))(ne||{});class ve{constructor(){var _0x280800=_0x40c2d6;N(this,_0x280800(0x17e),new _0x48735b()),N(this,'event$',this['_event$'][_0x280800(0x291)]());}[_0x40c2d6(0x393)](_0xe221b2){var _0x3386c5=_0x40c2d6;this[_0x3386c5(0x17e)][_0x3386c5(0x2fc)](_0xe221b2);}}class mi{constructor(){var _0x3766e0=_0x40c2d6;N(this,_0x3766e0(0x225),new _0x48735b()),N(this,_0x3766e0(0x126),this[_0x3766e0(0x225)][_0x3766e0(0x291)]());}[_0x40c2d6(0x355)](_0xacba5d){var _0x4e0a14=_0x40c2d6;this[_0x4e0a14(0x225)][_0x4e0a14(0x2fc)](_0xacba5d);}}var ys=Object['getOwnPropertyDescriptor'],Ns=(_0xc79333,_0x23bcc6,_0x53bd81,_0x516801)=>{var _0x441d9b=_0x40c2d6;for(var _0x7d3fbd=_0x516801>0x1?void 0x0:_0x516801?ys(_0x23bcc6,_0x53bd81):_0x23bcc6,_0xca72da=_0xc79333[_0x441d9b(0x2c2)]-0x1,_0x2a4cc1;_0xca72da>=0x0;_0xca72da--)(_0x2a4cc1=_0xc79333[_0xca72da])&&(_0x7d3fbd=_0x2a4cc1(_0x7d3fbd)||_0x7d3fbd);return _0x7d3fbd;},Ft=(_0x564f60,_0x3b84ba)=>(_0xb65cda,_0x55b717)=>_0x3b84ba(_0xb65cda,_0x55b717,_0x564f60);let we=class extends _0x31dec1{constructor(_0x1e19a1,_0x2a0264){var _0x3e8cd3=_0x40c2d6;super(),N(this,'_roomMembers',new Map()),N(this,_0x3e8cd3(0x33a),new _0x48735b()),(this[_0x3e8cd3(0x214)]=_0x1e19a1,this[_0x3e8cd3(0x15b)]=_0x2a0264,this[_0x3e8cd3(0x287)](_0x386648(this[_0x3e8cd3(0x214)][_0x3e8cd3(0xbd)](_0x272081[_0x3e8cd3(0x1b4)])[_0x3e8cd3(0x3a8)](_0x350589(_0x2dfff1=>_0x2dfff1[_0x3e8cd3(0x2cf)]())),this[_0x3e8cd3(0x214)][_0x3e8cd3(0xbd)](_0x272081[_0x3e8cd3(0x246)])['pipe'](_0x350589(_0x55d033=>_0x55d033[_0x3e8cd3(0x2cf)]())),this[_0x3e8cd3(0x214)][_0x3e8cd3(0xbd)](_0x272081[_0x3e8cd3(0x236)])[_0x3e8cd3(0x3a8)](_0x350589(_0x3dfef0=>_0x3dfef0[_0x3e8cd3(0x2cf)]())))[_0x3e8cd3(0x1f8)](_0x3814ef=>this[_0x3e8cd3(0x258)](_0x3814ef))));}[_0x40c2d6(0x190)](_0x4cddad){var _0x2a5297=_0x40c2d6;return this[_0x2a5297(0x30e)][_0x2a5297(0x370)](_0x4cddad)?_0x781c4f(this[_0x2a5297(0x30e)][_0x2a5297(0x159)](_0x4cddad)):this[_0x2a5297(0x33a)][_0x2a5297(0x3a8)](_0x350589(_0x2d5c26=>{var _0x5d6b32=_0x2a5297;if(_0x2d5c26===_0x4cddad)return this[_0x5d6b32(0x30e)][_0x5d6b32(0x159)](_0x2d5c26);}));}[_0x40c2d6(0x38d)](_0x1cd4df){this['_userManagerService']['setCurrentUser'](_0x1cd4df);}['getCurrentUser'](){var _0x3e4f74=_0x40c2d6;return this[_0x3e4f74(0x15b)][_0x3e4f74(0x20a)]();}[_0x40c2d6(0x26e)](_0x527b30,_0x3a5c01){var _0x1ce5ef=_0x40c2d6;let _0x31160b=this[_0x1ce5ef(0x30e)][_0x1ce5ef(0x159)](_0x527b30);_0x31160b||(_0x31160b=new Ds(),this[_0x1ce5ef(0x30e)][_0x1ce5ef(0x25c)](_0x527b30,_0x31160b),this[_0x1ce5ef(0x33a)][_0x1ce5ef(0x2fc)](_0x527b30)),_0x31160b[_0x1ce5ef(0x26e)](_0x3a5c01);}[_0x40c2d6(0x251)](_0x421065,_0x2f5734){var _0x24ae82=_0x40c2d6;const _0x398487=this['_roomMembers'][_0x24ae82(0x159)](_0x421065);_0x398487&&_0x398487['removeMember'](_0x2f5734);}[_0x40c2d6(0x308)](_0x2561cf){return this['_roomMembers']['get'](_0x2561cf);}[_0x40c2d6(0xdd)](_0x15f431,_0x54f30f){var _0x2d3f9b=_0x40c2d6;const _0x43e8b3=this[_0x2d3f9b(0x30e)]['get'](_0x15f431);if(_0x43e8b3)return _0x43e8b3['getMember'](_0x54f30f);}[_0x40c2d6(0x258)](_0x5eceb7){var _0x27442f=_0x40c2d6;const _0x335b03=this[_0x27442f(0x30e)][_0x27442f(0x159)](_0x5eceb7);_0x335b03&&(_0x335b03[_0x27442f(0xb8)](),this[_0x27442f(0x30e)][_0x27442f(0x2a6)](_0x5eceb7));}[_0x40c2d6(0xb8)](){var _0x242a59=_0x40c2d6;this[_0x242a59(0x30e)][_0x242a59(0x160)](_0x31e41e=>_0x31e41e['dispose']()),this[_0x242a59(0x30e)]['clear'](),this['_roomCreated$'][_0x242a59(0x1f1)]();}};we=Ns([Ft(0x0,_0x1195d0),Ft(0x1,_0x12c579(_0x485c51))],we);class Ds extends _0x31dec1{constructor(){var _0xf2edd4=_0x40c2d6;super(...arguments),N(this,'_members',new Map()),N(this,_0xf2edd4(0x157),new _0x3a215e(this['_members'])),N(this,_0xf2edd4(0xc5),this[_0xf2edd4(0x157)][_0xf2edd4(0x291)]());}[_0x40c2d6(0xb8)](){var _0x22a4f0=_0x40c2d6;this[_0x22a4f0(0x1c3)]['clear']();}[_0x40c2d6(0x26e)](_0xb60c8a){var _0x2ab9a5=_0x40c2d6;this[_0x2ab9a5(0x1c3)][_0x2ab9a5(0x25c)](_0xb60c8a['memberID'],_0xb60c8a),this[_0x2ab9a5(0x1be)]();}[_0x40c2d6(0x251)](_0x1a6e1f){var _0xadc6c6=_0x40c2d6;this[_0xadc6c6(0x1c3)][_0xadc6c6(0x2a6)](_0x1a6e1f);}['getMember'](_0x59b164){var _0x2dd0ae=_0x40c2d6;return this[_0x2dd0ae(0x1c3)]['get'](_0x59b164);}['getAllMembers'](){var _0x3cc81d=_0x40c2d6;return Array[_0x3cc81d(0x3a2)](this[_0x3cc81d(0x1c3)][_0x3cc81d(0x374)]());}[_0x40c2d6(0x1be)](){var _0x5d2758=_0x40c2d6;this[_0x5d2758(0x157)][_0x5d2758(0x2fc)](this['_members']);}}var Us=Object['getOwnPropertyDescriptor'],As=(_0x1209a7,_0x56a1db,_0xeeb601,_0x388aee)=>{var _0x553c0a=_0x40c2d6;for(var _0x538c03=_0x388aee>0x1?void 0x0:_0x388aee?Us(_0x56a1db,_0xeeb601):_0x56a1db,_0xda752c=_0x1209a7[_0x553c0a(0x2c2)]-0x1,_0x4804db;_0xda752c>=0x0;_0xda752c--)(_0x4804db=_0x1209a7[_0xda752c])&&(_0x538c03=_0x4804db(_0x538c03)||_0x538c03);return _0x538c03;},Ce=(_0x1b5f08,_0x13a5b5)=>(_0x204aeb,_0x4db5a0)=>_0x13a5b5(_0x204aeb,_0x4db5a0,_0x1b5f08),ge=(_0x276529=>(_0x276529[_0x276529[_0x40c2d6(0x299)]=0x0]=_0x40c2d6(0x299),_0x276529[_0x276529['JOINING']=0x1]=_0x40c2d6(0x376),_0x276529[_0x276529[_0x40c2d6(0x301)]=0x2]='OFFLINE',_0x276529[_0x276529[_0x40c2d6(0x2c3)]=0x3]='ONLINE',_0x276529))(ge||{});const Vt={[pe[_0x40c2d6(0x264)]]:'session.join-failed',[pe[_0x40c2d6(0x1e3)]]:'session.room-full',[pe[_0x40c2d6(0xdc)]]:_0x40c2d6(0x367),[pe['JOIN_ROOM_PERMISSION_DENIED']]:_0x40c2d6(0x34c),[pe[_0x40c2d6(0x2c1)]]:_0x40c2d6(0x1ac)};let gt=class extends _0x5a7cdf{constructor(_0x5a0df7,_0x4fd0f0,_0x41d787,_0x1b4614,_0x1f2353,_0x25dac6,_0x40c8fc,_0x419038){var _0x3f7d14=_0x40c2d6;super(),N(this,_0x3f7d14(0x2b0),new _0x3a215e(0x0)),N(this,_0x3f7d14(0x122),this[_0x3f7d14(0x2b0)][_0x3f7d14(0x291)]()),N(this,_0x3f7d14(0x17e),new _0x48735b()),N(this,'event$',this[_0x3f7d14(0x17e)][_0x3f7d14(0x291)]()),N(this,_0x3f7d14(0x143)),N(this,'_socketMessageSubscription'),N(this,_0x3f7d14(0x2a3)),N(this,_0x3f7d14(0x1ff),!0x1),N(this,'_telemetryInfo',null),(this['_unitID']=_0x5a0df7,this[_0x3f7d14(0x16b)]=_0x41d787,this[_0x3f7d14(0x38b)]=_0x1b4614,this[_0x3f7d14(0x276)]=_0x1f2353,this['_commentService']=_0x25dac6,this[_0x3f7d14(0x27e)]=_0x40c8fc,this[_0x3f7d14(0x2db)]=_0x419038,this[_0x3f7d14(0x1ff)]=!!this[_0x3f7d14(0x2db)],_0x4fd0f0['pipe'](_0xa5ce7c(this[_0x3f7d14(0x34e)]))[_0x3f7d14(0x1f8)](_0x19f6d5=>{var _0x447491=_0x3f7d14,_0x552573;typeof _0x19f6d5>'u'||(this[_0x447491(0x143)]=_0x19f6d5,_0x19f6d5?(this[_0x447491(0x113)](_0x19f6d5),this[_0x447491(0x1f7)]=_0x19f6d5['message$'][_0x447491(0x1f8)](_0x56c042=>{var _0x420379=_0x447491;_0x56c042[_0x420379(0x28c)]===this['_unitID']&&this[_0x420379(0x17b)](_0x56c042);})):(this[_0x447491(0x282)](),this['_sessionStatus$'][_0x447491(0x2fc)](0x2),(_0x552573=this[_0x447491(0x1f7)])==null||_0x552573[_0x447491(0x346)](),this['_socketMessageSubscription']=null));}));}get[_0x40c2d6(0x2d5)](){var _0x1efa2a=_0x40c2d6;return this[_0x1efa2a(0x2b0)]['getValue']();}['getMemberID'](){var _0x20e539=_0x40c2d6,_0x214f33,_0x47cc76;return(_0x47cc76=(_0x214f33=this[_0x20e539(0x143)])==null?void 0x0:_0x214f33['memberID'])!=null?_0x47cc76:null;}[_0x40c2d6(0xb8)](){var _0x24a8eb=_0x40c2d6;super['dispose'](),this[_0x24a8eb(0x34e)][_0x24a8eb(0x2fc)](),this['dispose$'][_0x24a8eb(0x1f1)]();}[_0x40c2d6(0x3b8)](){var _0xf669bd=_0x40c2d6,_0x32b027,_0x511c61;this[_0xf669bd(0x282)](),(_0x32b027=this[_0xf669bd(0x143)])==null||_0x32b027[_0xf669bd(0x26d)]({'cmd':F[_0xf669bd(0x2de)],'data':{'roomID':this[_0xf669bd(0x2ff)]}}),(_0x511c61=this[_0xf669bd(0x143)])==null||_0x511c61['close'](),this[_0xf669bd(0x17e)][_0xf669bd(0x1f1)](),this['_sessionStatus$']['complete'](),this[_0xf669bd(0xb8)]();}['_onCombEvent'](_0xbef8f0){var _0x947ef5=_0x40c2d6;_0xbef8f0[_0x947ef5(0x338)]===F['JOIN']?this[_0x947ef5(0x153)](_0xbef8f0):_0xbef8f0[_0x947ef5(0x338)]===F[_0x947ef5(0x20f)]&&this['_onRecvEvent'](_0xbef8f0);}['_joinRoom'](_0x321d7a){var _0x151e49=_0x40c2d6;this[_0x151e49(0x2b0)][_0x151e49(0x2fc)](0x1),_0x321d7a[_0x151e49(0x26d)]({'cmd':F['JOIN'],'routeKey':this[_0x151e49(0x2ff)],'routeType':'','data':{'rooms':[{'roomID':this[_0x151e49(0x2ff)]}]}});}[_0x40c2d6(0x153)](_0x518307){var _0x38c415=_0x40c2d6,_0x3ac639;if(_0x518307[_0x38c415(0x313)]in Vt){this[_0x38c415(0x27e)][_0x38c415(0x393)]({'id':ne['JOIN_ROOM_FAILED'],'data':Vt[_0x518307[_0x38c415(0x313)]]}),this['_sessionStatus$'][_0x38c415(0x2fc)](0x2);return;}this[_0x38c415(0x2b0)][_0x38c415(0x2fc)](0x3);const _0x3532d7=(_0x3ac639=_0x518307['data'][_0x38c415(0x1df)][this[_0x38c415(0x2ff)]])==null?void 0x0:_0x3ac639['members'];_0x3532d7&&_0x3532d7[_0x38c415(0x160)](_0x4b0992=>this[_0x38c415(0x276)][_0x38c415(0x26e)](this[_0x38c415(0x2ff)],_0x4b0992));}[_0x40c2d6(0xed)](_0x50e800){var _0x7640b3=_0x40c2d6;try{const _0x16cae7=_0x50e800[_0x7640b3(0x27b)];switch(_0x16cae7[_0x7640b3(0x188)]){case _0x5eeaab[_0x7640b3(0xf4)]:this['_onUserJoin'](_0x16cae7),this[_0x7640b3(0x17e)][_0x7640b3(0x2fc)](_0x16cae7);break;case _0x5eeaab[_0x7640b3(0xfe)]:this[_0x7640b3(0x36d)](_0x16cae7),this[_0x7640b3(0x17e)][_0x7640b3(0x2fc)](_0x16cae7);break;case _0x5eeaab['CHANGESET_ACK']:case _0x5eeaab[_0x7640b3(0x223)]:this[_0x7640b3(0xeb)](),this['_clearCollaborationTimeoutTimer'](),this[_0x7640b3(0x17e)]['next'](_0x16cae7);break;case _0x5eeaab[_0x7640b3(0x1e0)]:this[_0x7640b3(0x16b)][_0x7640b3(0x288)](_0x7640b3(0x279)+JSON[_0x7640b3(0x309)](_0x16cae7)),this[_0x7640b3(0x17e)][_0x7640b3(0x2fc)](_0x16cae7);break;case _0x5eeaab['COMMENT_UPDATE']:this[_0x7640b3(0x238)][_0x7640b3(0x355)](_0x16cae7[_0x7640b3(0x27b)]),this[_0x7640b3(0x17e)][_0x7640b3(0x2fc)](_0x16cae7);break;default:this[_0x7640b3(0x17e)][_0x7640b3(0x2fc)](_0x16cae7);}}catch(_0x4cdfde){this[_0x7640b3(0x16b)][_0x7640b3(0x288)](_0x4cdfde,_0x50e800);}}[_0x40c2d6(0x1cb)](_0x3a94a5){var _0x2c5abf=_0x40c2d6;this['_memberService'][_0x2c5abf(0x26e)](this[_0x2c5abf(0x2ff)],_0x3a94a5['data']);}[_0x40c2d6(0x36d)](_0x254699){var _0x44301b=_0x40c2d6;this[_0x44301b(0x276)][_0x44301b(0x251)](this['_unitID'],_0x254699[_0x44301b(0x27b)]['memberID']);}async[_0x40c2d6(0x26d)](_0x57d43d,_0x3c250f){var _0x507551=_0x40c2d6;if(this[_0x507551(0x2d5)]!==0x3||!this['_socket'])throw new Error(_0x507551(0x35e));try{_0x57d43d[_0x507551(0x188)]===_0x5eeaab[_0x507551(0x18f)]&&(this[_0x507551(0x123)](),this[_0x507551(0x134)](_0x57d43d)),this[_0x507551(0x143)][_0x507551(0x26d)]({'cmd':F[_0x507551(0xbc)],'routeKey':_0x3c250f,'routeType':'','data':_0x57d43d});}catch(_0x40a252){this[_0x507551(0x16b)][_0x507551(0x288)](_0x40a252);}}['_scheduleCollaborationTimeoutTimer'](){var _0x176d15=_0x40c2d6,_0x4b8058;this[_0x176d15(0x2a3)]=setTimeout(()=>{var _0x29a207=_0x176d15;this['_collaborationTimeoutTimer']=null,this[_0x29a207(0x27e)][_0x29a207(0x393)]({'id':ne[_0x29a207(0x377)]});},(_0x4b8058=this[_0x176d15(0x38b)]['getConfig'](di))!=null?_0x4b8058:fi);}[_0x40c2d6(0x333)](){var _0x3cf0da=_0x40c2d6;this[_0x3cf0da(0x2a3)]&&(clearTimeout(this[_0x3cf0da(0x2a3)]),this[_0x3cf0da(0x2a3)]=null);}[_0x40c2d6(0x134)](_0x217515){var _0x57808d=_0x40c2d6;if(!this[_0x57808d(0x1ff)])return;const {data:_0x4d4ec9}=_0x217515,{unitID:_0x1d074c,changeset:_0x291770}=_0x4d4ec9,{mutations:_0x422629,type:_0x3a5599}=_0x291770;this['_telemetryInfo']={'unitId':_0x1d074c,'type':_0x3a5599,'startTime':performance[_0x57808d(0x32e)](),'stopTime':0x0,'duration':0x0,'size':bs(_0x422629)};}[_0x40c2d6(0xeb)](){var _0x1172c1=_0x40c2d6;if(this[_0x1172c1(0x1ff)]){if(!this[_0x1172c1(0x2ee)]){this['_logService'][_0x1172c1(0x288)]('[CollaborationSession]',_0x1172c1(0x1d1));return;}this[_0x1172c1(0x2ee)][_0x1172c1(0x259)]=performance['now'](),this[_0x1172c1(0x2ee)]['duration']=this[_0x1172c1(0x2ee)][_0x1172c1(0x259)]-this[_0x1172c1(0x2ee)][_0x1172c1(0xc7)],this[_0x1172c1(0x2db)]['capture'](Os,this[_0x1172c1(0x2ee)]),this[_0x1172c1(0x2ee)]=null;}}[_0x40c2d6(0x282)](){var _0xbcbbd7=_0x40c2d6;this[_0xbcbbd7(0x2ee)]=null;}};gt=As([Ce(0x2,_0x326ad4),Ce(0x3,_0x1ea92f),Ce(0x4,_0x12c579(we)),Ce(0x5,_0x12c579(mi)),Ce(0x6,_0x12c579(ve)),Ce(0x7,_0x37b46e(_0x25bdcd))],gt);const J=_0x35edde('collaboration-client.local-cache-service');function br(_0x2e0a85){var _0x6be821=_0x40c2d6;return _0x6be821(0x15c)+_0x2e0a85;}var ws=Object[_0x40c2d6(0x1d5)],Ps=(_0x4b7d3e,_0x295c12,_0x2926f1,_0x408364)=>{var _0x8f3426=_0x40c2d6;for(var _0x50459a=_0x408364>0x1?void 0x0:_0x408364?ws(_0x295c12,_0x2926f1):_0x295c12,_0x55c1e6=_0x4b7d3e[_0x8f3426(0x2c2)]-0x1,_0x5821e1;_0x55c1e6>=0x0;_0x55c1e6--)(_0x5821e1=_0x4b7d3e[_0x55c1e6])&&(_0x50459a=_0x5821e1(_0x50459a)||_0x50459a);return _0x50459a;},ut=(_0x258d97,_0x13e8a8)=>(_0xd56db6,_0x56865e)=>_0x13e8a8(_0xd56db6,_0x56865e,_0x258d97);function Ms(_0x5afa94){var _0x4de284=_0x40c2d6;const {unitID:_0x3ec665,mutations:_0x4e5edd}=_0x5afa94;return{'unitId':_0x3ec665,'subUnitId':_0x4e5edd[0x0][_0x4de284(0x19b)]['subUnitId']};}let it=class{constructor(_0x405d31,_0x1242c0,_0x19a747){var _0x1a9c0c=_0x40c2d6;this[_0x1a9c0c(0xb6)]=_0x405d31,this[_0x1a9c0c(0x158)]=_0x1242c0,this[_0x1a9c0c(0x105)]=_0x19a747;}[_0x40c2d6(0x17c)](_0x381c87){var _0xcd2d43=_0x40c2d6,_0xa55ad2,_0x1a19e8,_0x1ad1fa,_0x172777;const _0x5c709f=this[_0xcd2d43(0xb6)]['get'](_0x547db8),{unitId:_0x14bef6,subUnitId:_0x3f51a4}=Ms(_0x381c87),_0x342d7c=_0x5c709f==null?void 0x0:_0x5c709f[_0xcd2d43(0x311)](_0x14bef6)['getCurrentSelections'](),_0x5ba5c4=(_0x1a19e8=(_0xa55ad2=this[_0xcd2d43(0x105)]['getUnit'](_0x14bef6))==null?void 0x0:_0xa55ad2[_0xcd2d43(0x1da)]())==null?void 0x0:_0x1a19e8[_0xcd2d43(0x13b)]();if(_0x342d7c[_0xcd2d43(0x2c2)]===0x0||!_0x14bef6||!_0x3f51a4)return;const _0x422444=[{'id':_0x1c6c56['id'],'params':{'unitId':_0x14bef6,'subUnitId':_0x5ba5c4,'selections':_0x317cbd[_0xcd2d43(0x2e8)](_0x342d7c)}}],_0xd29fa7=this[_0xcd2d43(0x158)][_0xcd2d43(0x22d)](_0x381c87,_0x422444);if(!_0x1f26db(_0xd29fa7))throw _0xd29fa7[_0xcd2d43(0x288)];const _0x4e42a5=(_0x172777=(_0x1ad1fa=_0xd29fa7[_0xcd2d43(0x220)][0x0])==null?void 0x0:_0x1ad1fa[_0xcd2d43(0x19b)])==null?void 0x0:_0x172777[_0xcd2d43(0x1ef)];if(Array['isArray'](_0x4e42a5)&&_0x4e42a5[_0xcd2d43(0x2c2)]){if(_0x4e42a5['length']===_0x422444[0x0]['params']['selections'][_0xcd2d43(0x2c2)]&&_0x4e42a5[_0xcd2d43(0x217)]((_0x32872f,_0x55ebdd)=>_0x2a977a[_0xcd2d43(0x38f)](_0x32872f[_0xcd2d43(0x101)],_0x422444[0x0]['params'][_0xcd2d43(0x1ef)][_0x55ebdd][_0xcd2d43(0x101)])))return;this[_0xcd2d43(0xb6)][_0xcd2d43(0x159)](_0x22b074)['executeCommand'](_0x1c6c56['id'],{'unitId':_0x14bef6,'subUnitId':_0x5ba5c4,'selections':_0x4e42a5});}}};it=Ps([ut(0x0,_0x12c579(_0x317612)),ut(0x1,_0x7ca8ef),ut(0x2,_0x1195d0)],it);const ht=_0x35edde('univer-pro.collaboration-client.single-active-unit-service');var gi=(_0x4edc88=>(_0x4edc88[_0x4edc88['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4edc88[_0x4edc88['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x4edc88))(gi||{});const K=_0x40c2d6(0xe5),Ls={},xs=new Set([_0x3e4eb1['id']]);function Wt(_0xfde11f,_0x3ce938,_0x292875,_0x537bc1,_0xe24441){var _0x51a362=_0x40c2d6,_0xd07033,_0x124432,_0x5cf302,_0x59300f;const _0x56c22a=[];for(const _0xb26867 of _0xfde11f)if(xs[_0x51a362(0x370)](_0xb26867['id'])){if(_0x56c22a[_0x51a362(0x2c2)]>0x0)break;_0x56c22a[_0x51a362(0x1f6)](_0xb26867);break;}else _0x56c22a['push'](_0xb26867);const _0x1047d1=(_0x124432=(_0xd07033=_0xe24441['getCurrentUser']())==null?void 0x0:_0xd07033[_0x51a362(0x1a8)])!=null?_0x124432:_0x51a362(0x2e9),_0x1d73c2=(_0x59300f=(_0x5cf302=_0xe24441[_0x51a362(0x20a)]())==null?void 0x0:_0x5cf302['memberID'])!=null?_0x59300f:_0x51a362(0x2e9);return{'changeset':{'unitID':_0x3ce938,'type':_0x5e7f26(_0x292875[_0x51a362(0x145)](_0x3ce938)),'baseRev':_0x537bc1['getCurrentRevOfUnit'](_0x3ce938),'revision':0x0,'userID':_0x1047d1,'memberID':_0x1d73c2,'mutations':_0x56c22a},'pendingMutations':_0xfde11f[_0x51a362(0x22b)](_0x56c22a[_0x51a362(0x2c2)])};}function ks(_0x94cf53,_0x2e07db,_0x43e708,_0x408818,_0xf318fe){var _0x1264ba=_0x40c2d6,_0x2f4a13,_0x3e923b,_0x3b8402,_0x14f84b;const _0x13541c=[_0x94cf53[_0x1264ba(0x3ba)]((_0x555d3a,_0x223d52)=>{var _0xca8542=_0x1264ba,_0x195d99;const {id:_0x3659b8}=_0x555d3a,{id:_0x1bef34,type:_0x46e435}=_0x223d52,_0x40e036=(_0x195d99=_0x555d3a[_0xca8542(0x19b)])!=null?_0x195d99:{'actions':null},_0x27090a=_0x223d52[_0xca8542(0x19b)];if(_0x3659b8&&_0x3659b8!==_0x1bef34)throw new Error(_0xca8542(0x196)+_0x3659b8+_0xca8542(0x150)+_0x1bef34+'.');return{..._0x555d3a,'id':_0x1bef34,'type':_0x46e435,'params':{'unitId':_0x27090a[_0xca8542(0x386)],'textRanges':_0x27090a['textRanges'],'actions':_0x437d59[_0xca8542(0x18d)](_0x40e036[_0xca8542(0x298)],_0x27090a[_0xca8542(0x298)])}};},{})],_0x7ea6bd=(_0x3e923b=(_0x2f4a13=_0xf318fe[_0x1264ba(0x20a)]())==null?void 0x0:_0x2f4a13['userID'])!=null?_0x3e923b:_0x1264ba(0x2e9),_0x5504ab=(_0x14f84b=(_0x3b8402=_0xf318fe[_0x1264ba(0x20a)]())==null?void 0x0:_0x3b8402[_0x1264ba(0x274)])!=null?_0x14f84b:_0x1264ba(0x2e9);return{'changeset':{'unitID':_0x2e07db,'type':_0x5e7f26(_0x43e708['getUnitType'](_0x2e07db)),'baseRev':_0x408818[_0x1264ba(0xbf)](_0x2e07db),'revision':0x0,'userID':_0x7ea6bd,'memberID':_0x5504ab,'mutations':_0x13541c},'pendingMutations':[]};}function Si(_0x504750,_0x4f51fb){var _0x42bab=_0x40c2d6;const _0x48bc6b=new _0xd6f7e0(0x1);return setTimeout(()=>_0x48bc6b[_0x42bab(0x2fc)](_0x4f51fb),_0x504750),_0x48bc6b[_0x42bab(0x291)]()[_0x42bab(0x3a8)](_0x31b224(0x1));}const $s={'id':_0x26cf26['id'],'type':_0x568581[_0x40c2d6(0x174)],'params':{}};function _0xcc79(){var _0x298246=['_revisionService','UNIVER_SLIDE','_clearScheduledTask','_commentService','LIVESHARE_FETCH_OPERATIONS','name','_imageSourceCache','loadOfflineData','call','ERROR_IMAGE_TYPE','extend','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','textRanges','saveSheetBlock','transformChangesets','_applyRemoteChangeset','/universer-api/user/session-ticket','UNIVER_DOC','COMMENT_UPDATE','_updateState','onCommandExecuted','HmacMD5','unitId\x20is\x20not\x20found','onSendChangeset','_snapshotServerService','_socketReady','clone','_onOffline','removeMember','downloadEndpointUrl','_nDataBytes','compute','event$','/object','unitID','_removeRoom','stopTime','_hash','focused$','set','words','changesets','[CollaborationUndoRedoService]','_rescheduleHeartbeat','auth.needGotoLoginAlert','_getAPIPrefixPath','univer-pro.collaboration-client-socket-service','FAIL','_getUndoStack','getTypeOfUnitAdded$','/universer-api/snapshot/','onTransformRemoteChangesetByStateCache','CHANGESET_ACK','86679slmGKf','COMPRESS_MUTATION_APPLY','_permissionService','send','updateMember','socket\x20close','_incrementRevisionNumber','LICENSE_DISTRO_REJECTED','exports','_mode','memberID','_disableEditing','_memberService','title','byteOffset','save\x20fail\x20reason\x20is\x20','_changesetReqId','data','requireSession','infoRsp','_collaborationUIEventService','findIndex','UNAUTHENTICATED','Base64','_throwTelemetryCollaborationNewChangeset','fromCollab','min','_exhaustRemoteChangesetQueue','key','disposeWithMe','error','encodeURIComponent','mode','INVITE_CODE_HAS_BEEN_UES','routeKey','INVITE_CODE_ALREADY_BOUND','hostname','entries','subject','asObservable','allowed','saveChangeset','_createInitialState','offline','image/bmp','reject','actions','IDLE','format','_getCtorByUniverType','create','requestParams','then','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','INVALID_ARGUMENT','YUUMI_RATE_OVER_LIMIT','3lQosQT','_collaborationTimeoutTimer','_append','YUUMI_CONNECTOR_URL_NOT_FOUND','delete','_getSendChangesetTimeout','RETRY_CONNECTING_MAX_COUNT','CHANGESET_REJ','AWAITING','_createInitialStateImpl','onload','ERROR_EXCEED_SIZE','execute','csAckEvent','_sessionStatus$','_iv','_changesetSessionId','headers','_checkMissing','failed\x20to\x20apply\x20missed\x20changesets!','_onRemoteChangeset','find','1700USVynP','editingUnit','UNIVER_COLLABORATION_CLIENT_PLUGIN','reqId','Utf8','_tryEnsureSocket','roles','_entities','snapshotServerUrl','GLOBAL_ROOMS_CNT_EXCEEDS','length','ONLINE','_collaborationSessionService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_reverseMap','UPDATE_CURSOR','getMemberID','EMAIL_VERIFY_CODE_MISMATCH','MD5','HELLO','connection\x20error','__esModule','&assign=','getUnitId','ivSize','_acknowledgedAwaitingChangeset','charCodeAt','encode','_showConflictNotification','sessionStatus','collaMsg','Cipher','patch','_onLocalMutation','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_telemetryService','getConfig','sid','LEAVE','randomBytes','EvpKDF','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','transformStack\x20failed!','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','PENDING','_doCryptBlock','debug','_decreaseWaiting','deepClone','unknown','readAsDataURL','put','LIVESHARE_NEW_HOST','/object/','_telemetryInfo','_waitForHeartbeatResponse','csRejEvent','NoPadding','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','sin','state$','262705UCzVsi','_getAPIPrefix','11QIHENT','_sendHeartbeat','_data','fetchThroughInterceptors','getResourcesRequest','next','Base','_onConflict','_unitID','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','OFFLINE','_localeService','_transformIMECache','permissionRejEvent','HMAC','body','[DataLoaderService]','getRoom','stringify','iterations','_clearRetryConnectingTimer','_doReset','COMPRESS_MUTATION_SEND','_roomMembers','[CollaborationState]:\x20apply\x20error!','updateOfflineData','getWorkbookSelections','OpenSSL','code','byteLength','socket$','_createHandler','processBlock','?size=','snapshot','resend','?url=','[OfflineState]:\x20received\x20rejection.','_transformStateCache','encrypt','liveShareNewHost','lib','online$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','UserProfileImg','open$','filter','TOO_MANY_REQUESTS','fetch_missing','enableCollaboration','defineProperty','SHOULD_CLOSE_CONN','_toggleOffline','createInstance','_config','now','_unlockTransition','_scheduleCompleteTimestamp','createDecryptor','ceil','_clearCollaborationTimeoutTimer','_fetchMissChangesets','objectID','isPermissionRej','_singleActiveUnitService','cmd','_onConnectionOpen','_roomCreated$','Latin1','getFocusedUnit','_updateStatus','repeat','file','YUUMI_URL_COL_OUT_OF_RANGE','_initUnitPermissionChange','resourceIDs','workbook','_getLoginPath','_xformMode','unsubscribe','Encryptor','_getCurrentRevision','LICENSE_EXPORT_SIZE_EXCEEDED','localCacheService','cfg','session.room-permission-denied','_createHelper','dispose$','_httpService','_substituteRedoStack','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','BASE64','/unit/','mixIn','onCommentUpdate','rev','finalize','[OfflineState]:\x20received\x20acknowledgement.','_getDownloadEndpointURL','_oKey','{fileID}','_substituteUndoStack','/-/object/list','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','/resources','c2Prime','pending','concat','_updateLocalCache','CHANGESET_REVISION_CONFILICT','_onRemoteACK','FileId','session.room-not-exists','[FetchMissState]','origin','init','_sender','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_onUserLeave','PERMISSION_DENIED','Failed\x20to\x20update\x20permission\x20point','has','_collaborationPaused','objectType','_initMergeInterceptor','values','apply','JOINING','SUBMIT_CHANGESET_TIMEOUT','[CollaborationSessionService]:\x20socket\x20error','retryConnectingInterval','_resendTimeout','updateCursorEvent','_redoStacks','YUUMI_ASYNCIO_CANCELLED','POST','_clearRedo','/universer-api/file/{fileID}/sign-url','_replaceFileID','addImageSourceCache','PY_RUNTIME_SCRIPT_ERROR','_sendingTimer','_pendingMutations','unitId','[PendingState]:\x20received\x20rejection.','__creator','pauseCollaboration','Could\x20not\x20dynamically\x20require\x20\x22','_configService','WECHAT_HAS_BEEN_BOUND','setCurrentUser','JOIN_ROOM_PERMISSION_DENIED','equals','string','getImage','_keyPriorReset','emitEvent','CLOSE_ROOM','list','change$','CBC','_HTTPService','LIVESHARE_REQUEST_HOST','UPDATE_PERMISSION_OBJ','override','OTHER_CLIENT_EDITING','putCollaborators','onTransformState','FETCH_MISS','collabSubmitChangesetUrl','/allowed','from','url','_commandService','$super','WordArray','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','pipe','_toggleOnline','_parse','_waitCount','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','registerHTTPInterceptor','parse','clamp','Hex','_getSignURL','onMissingChangesets','refreshPermission','UnitSnapshot','onStateChange','_awaitingChangeset','UUID','close','PERSON','reduce','[SyncedState]:\x20received\x20rejection.','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_injector','transformUndoRedo','dispose','c1Prime','listRoles','USER_NOT_INVITED_CODE','INGEST','getTypeOfUnitDisposed$','INVITE_CODE_REQUIRED','getCurrentRevOfUnit','getDeserializedSheetBlock','type','_onMessage','formatter','_resendWithTimeout','members$','BufferedBlockAlgorithm','startTime','state','_state$','addHandlerCallback','SNAPSHOT_INVALID_SNAPSHOT','enc','_hasher','encryptBlock','Malformed\x20UTF-8\x20data','liveShareOperation','UNKNOWN_CMD','/universer-api/oidc/authpage','_onFetchMissResult','HEARTBEAT_INTERVAL','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformRemoteChangesetByIMECache','revision','LIVESHARE_TERMINATE','newCsEvent','LOCAL_CACHE_INTERVAL','Decryptor','JOIN_ROOM_NOT_EXISTS','getMember','UNDEFINED','setConfig','SOCKET_FAILED','_handler','APPLY_NON_SEQUENTIAL_REVISION','MOBILE_VERIFY_CODE_MISMATCH','leaveEvent','collaboration-client.config','OTHER_CLIENTS_EDITING','[SyncedState]:\x20received\x20acknowledgement.','FETCH_MISSING','kdf','_socketService','_stopTelemetryCollaborationNewChangeset','_candidateSocket','_onRecvEvent','_sessions','EMAIL_HAS_BEEN_BOUND','_clearHeartbeatTimer','ENSURE_SNAPSHOT_EXECUTION','copyFileMeta','_initCloseConn','USERS_ENTER','joinRsp','Error\x20on\x20receiving\x20event','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_collabSessionService','_clearTimeoutTimer','padding','APPLY_PERMISSION_DENIED','getUnitStatus$','_retryCount','USERS_LEAVE','COMPLETION_FINISHED','UNRECOGNIZED','range','enableOfflineEditing','JOIN','deleteCollaborator','_instanceService','blockSize','enableAuthServer','SHA1','responseType','_transformStack','/universer-api/comb','_onRemoteRejected','LICENSE_IMPORT_SIZE_EXCEEDED','_entityInit$','3398356sfjXdr','35003724wontkY','/universer-api/authz','toggleOnline','_joinRoom','isArray','938861yeQnCJ','close$','getCollabEntity$','/role','hasOwnProperty','LOGIN_FAILED','random','createSocket','loginUrlKey','_initRequestHeader','SOCKET_FAILED_RETRY','onRemoteRej','status$','sessionStatus$','_scheduleCollaborationTimeoutTimer','onRemoteRetry','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','commentUpdate$','onMissedChangesetFetched','onRemoteAck','image/png','saveSnapshot','_handlerCallback','_onRemoteRetry','_executeRemoteChangeset','status','decryptBlock','getImageSourceCache','/block/','salt','prototype','_startTelemetryCollaborationNewChangeset','session','getSheetBlock','HttpExport','_isPermissionRej','MOBILE_HAS_BEEN_BOUND','abs','getSheetId','AES','algo','_sheetTransformSelectionsService','append','_snapshotService','getSnapshotAPIPath','UnitEmbedded','_socket','_clearLocalCache','getUnitType','submit\x20changeset\x20error!','PERMISSION_REJ','_map','charAt','onTransformSelections','authzUrl','post','hasher','YUUMI_AI_RUN_FAILED','loadSheet','\x20-\x20','_change$','_doFinalize','_onJoinRoomEvent','INTERNAL_ERROR','_undoStacks','_unitInfo$','_members$','_transformService','get','splice','_userManagerService','unit-cache-','HmacSHA1','join','enableSingleActiveInstanceLock','forEach','ALREADY_EXISTS','collaboration_new_changeset','decrypt','21kqZICx','_init','src','_status$','update','YUUMI_SUBSCRIPTION_NOT_FOUND','not_collab','_logService','_key','createEncryptor','fetching\x20missing\x20changesets\x20from\x20','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','UNISCRIPT_RUN','buffer','awaitingChangeset','error$','MUTATION','collaboratorID','socket\x20open.','msCrypto','_remoteChangesetQueue','uploadFileServerUrl','HttpImport','_onCombEvent','transformSelections','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_event$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','awaiting','ciphertext','disableLocalCache','YUUMI_ALL_TABLES_IS_INVALID','reverse','commentUpdateEvent','PasswordBasedCipher','\x20to\x20','eventID','confirm','/collaborator','originalMeta','_DEC_XFORM_MODE','compose','SUCCUSS','SUBMIT_CHANGESET','waitForRoom$','SerializableCipher','getUnitOnRev','appendMutation','getLatestCsReqIdBySid','/universer-api/uniscript','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','APPLY_REJECT','_doCreateSocket','_socket$','_listenToNetworkCondition','params','/new_changes','116bOgauQ','avatar','_clearUndo','_queuedRemoteChangesets','_sendHeartbeatTimer','[CollaborationSessionService]','YUUMI_UNABLE_LOAD_URL','_compressMutationService','objectActions','HEARTBEAT_TIMEOUT','awaiting_with_pending','userID','updateSnapshot','pad','_localCacheService','session.room-cnt-exceeds','signUrlServerUrl','_transitionLocked','crypto','_ENC_XFORM_MODE','location','catch','onTransformIME','UNIVER_SHEET','keySize','_cipher','replace','_process','function','toString','onRemoteChangeset','clear','HEARTBEAT','_emitMembers','/-/object/-/batch_allowed','_createSocket','fromCharCode','setShowComponents','_members','LICENSE_MAX_UNITS_EXCEEDED','updatePermissionPoint','result','interceptor','reset','_doProcessBlock','_transformRemoteChangesetByStateCache','_onUserJoin','_minBufferSize','conflict','onlyLocal','YUUMI_NO_CUBOID_FOR_QUESTION','onSyncEditingCollabCursor','telemetry\x20info\x20is\x20not\x20initialized','UNIVER_UNKNOWN','toggleOffline','_retryConnectingTimer','getOwnPropertyDescriptor','pluginName','7612830vLDvUr','max','SNAPSHOT_HAS_BEEN_REMOVED','getActiveSheet','onTransformRemoteChangesetByIMECache','_tryReconnect','sheets','_getUploadFileURL','roomInfos','MSG_FOR_ERROR','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','saveImage','JOIN_ROOM_FULL','_transformSelections','_submitChangeset','_schedule','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','fetchMissingChangesets','NOT_COLLAB','withCredentials','_keySchedule','ws://127.0.0.1:8000/universer-api/comb/connect','image/gif','x-univer-host','selections','\x0aAfter:\x20','complete','_iKey','reconnect','[PendingState]:\x20unhandled\x20univer\x20type:\x20','message$','push','_socketMessageSubscription','subscribe','size','_lockTransition','_syncEditingCollabCursor','_initDependencies','APPLY_REVISION_CONFILICT','230088LeoztI','_shouldReportTelemetry','APPLY_DUPLICATED','sigBytes','_nRounds','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','LIVESHARE_OPERATION','_registerDependencies','ERROR_IMAGE','_type','shouldCloseConn','UNKNOWN_CODE','getCurrentUser','[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.','\x0aCurrent:\x20','People','symbol','RECV','Hasher','_networkConditionService','socketService','CONFLICT','_univerInstanceService','_prevBlock','_getRedoStack','every','_startCollaboration','BlockCipher','NEW_CHANGESETS','NOT_FOUND','add','closeSession','CipherParams','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','m2Prime','getCollabEntity','sendChangesetTimeout','CHANGESET_SHOULD_RETRY','mutations','_commentUpdate$','floor','JOIN_ROOM_FAILED','target','AWAITING_WITH_PENDING','_resendTimer','slice','editing\x20status\x20changed\x20to','transformMutationsWithChangeset','map','fetchMiss','getInterceptPoints','_timeoutTimer','_createHmacHelper','_state','_onConnectionFailed'];_0xcc79=function(){return _0x298246;};return _0xcc79();}var Hs=Object[_0x40c2d6(0x1d5)],Ee=(_0x4029dd,_0x13515b,_0x19a181,_0x4d2f5a)=>{var _0x1b3723=_0x40c2d6;for(var _0x5a4638=_0x4d2f5a>0x1?void 0x0:_0x4d2f5a?Hs(_0x13515b,_0x19a181):_0x13515b,_0x3066da=_0x4029dd[_0x1b3723(0x2c2)]-0x1,_0x255569;_0x3066da>=0x0;_0x3066da--)(_0x255569=_0x4029dd[_0x3066da])&&(_0x5a4638=_0x255569(_0x5a4638)||_0x5a4638);return _0x5a4638;},P=(_0x1e3beb,_0x3a2bf8)=>(_0x1bb71,_0x2ea61c)=>_0x3a2bf8(_0x1bb71,_0x2ea61c,_0x1e3beb),Ei=(_0x5df20d=>(_0x5df20d[_0x40c2d6(0x1e9)]=_0x40c2d6(0x16a),_0x5df20d['SYNCED']='synced',_0x5df20d[_0x40c2d6(0x2e4)]=_0x40c2d6(0x361),_0x5df20d[_0x40c2d6(0x2aa)]=_0x40c2d6(0x180),_0x5df20d[_0x40c2d6(0x229)]=_0x40c2d6(0x1a7),_0x5df20d[_0x40c2d6(0x39f)]=_0x40c2d6(0x327),_0x5df20d['CONFLICT']=_0x40c2d6(0x1cd),_0x5df20d[_0x40c2d6(0x301)]=_0x40c2d6(0x295),_0x5df20d))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x41e243,_0x252450,_0x2dd307,_0x9f572d,_0x4a03b3,_0x1562ca,_0x3fc129,_0x64eef0,_0x278617){var _0x5ca024=_0x40c2d6;N(this,_0x5ca024(0x3b6),null),N(this,_0x5ca024(0x385),[]),(this[_0x5ca024(0x257)]=_0x41e243,this['type']=_0x252450,this[_0x5ca024(0xe1)]=_0x4a03b3,this[_0x5ca024(0x3a4)]=_0x1562ca,this['_undoRedoService']=_0x3fc129,this['_revisionService']=_0x64eef0,this[_0x5ca024(0x1ab)]=_0x278617,this['_awaitingChangeset']=_0x2dd307,this['_pendingMutations']=_0x9f572d);}[_0x40c2d6(0x2b4)](_0x4416dc){var _0x136d82=_0x40c2d6;const _0x485112=this[_0x136d82(0x235)][_0x136d82(0xbf)](this[_0x136d82(0x257)]);return _0x4416dc[_0x136d82(0xd7)]>_0x485112+0x1?(this['_handler'][_0x136d82(0x3b2)]({'from':_0x485112,'to':_0x4416dc['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x3f1e1b){var _0x5dce9d=_0x40c2d6;this['_undoRedoService'][_0x5dce9d(0xb7)](this['unitID'],_0x3f1e1b);}[_0x40c2d6(0x1e4)](_0x3eb8dc){var _0x4bd8df=_0x40c2d6,_0x511c17,_0x54c6ab;(_0x54c6ab=(_0x511c17=this['_handler'])[_0x4bd8df(0x14a)])==null||_0x54c6ab[_0x4bd8df(0x23d)](_0x511c17,_0x3eb8dc);}[_0x40c2d6(0x303)](_0x3ceb62){var _0x264061=_0x40c2d6,_0x442c95,_0x2b6f12;return(_0x2b6f12=(_0x442c95=this[_0x264061(0xe1)])[_0x264061(0x1b3)])==null?void 0x0:_0x2b6f12[_0x264061(0x23d)](_0x442c95,_0x3ceb62);}[_0x40c2d6(0x31d)](_0x359939){var _0x38e710=_0x40c2d6,_0x2187d6,_0x2d39be;return(_0x2d39be=(_0x2187d6=this[_0x38e710(0xe1)])[_0x38e710(0x39e)])==null?void 0x0:_0x2d39be[_0x38e710(0x23d)](_0x2187d6,_0x359939);}['_transformRemoteChangesetByIMECache'](_0x134fb3){var _0xaae5bc=_0x40c2d6,_0x369b4c,_0x49fed7,_0x4a641c;return(_0x4a641c=(_0x49fed7=(_0x369b4c=this[_0xaae5bc(0xe1)])[_0xaae5bc(0x1db)])==null?void 0x0:_0x49fed7[_0xaae5bc(0x23d)](_0x369b4c,_0x134fb3))!=null?_0x4a641c:_0x134fb3;}['_transformRemoteChangesetByStateCache'](_0x40ddbd){var _0x3f7fea=_0x40c2d6,_0x23bdfd,_0x599666,_0x4eff30;return(_0x4eff30=(_0x599666=(_0x23bdfd=this[_0x3f7fea(0xe1)])[_0x3f7fea(0x268)])==null?void 0x0:_0x599666[_0x3f7fea(0x23d)](_0x23bdfd,_0x40ddbd))!=null?_0x4eff30:_0x40ddbd;}[_0x40c2d6(0x1fb)](_0x3d8466){var _0x4770b7=_0x40c2d6,_0x3bbdb2,_0x2cd236;if(this[_0x4770b7(0xc1)]===Z['UNIVER_DOC']){const {unitID:_0x24288c,mutations:_0x13f7b1,memberID:_0x185573}=_0x3d8466,_0x402ef8=_0x13f7b1[0x0][_0x4770b7(0x19b)][_0x4770b7(0x241)];Array[_0x4770b7(0x114)](_0x402ef8)&&_0x402ef8['length']>0x0&&((_0x2cd236=(_0x3bbdb2=this[_0x4770b7(0xe1)])[_0x4770b7(0x1d0)])==null||_0x2cd236[_0x4770b7(0x23d)](_0x3bbdb2,{'unitID':_0x24288c,'memberID':_0x185573,'textRanges':_0x402ef8}));}}[_0x40c2d6(0x363)](){var _0x265dcd=_0x40c2d6,_0x2bd25a;(_0x2bd25a=this[_0x265dcd(0x1ab)])==null||_0x2bd25a['updateOfflineData'](this['unitID'],this[_0x265dcd(0xc1)],this[_0x265dcd(0x3b6)],this[_0x265dcd(0x385)]);}['_getCurrentRevision'](){var _0x5be71c=_0x40c2d6;return this[_0x5be71c(0x235)]['getCurrentRevOfUnit'](this[_0x5be71c(0x257)]);}['_incrementRevisionNumber'](){var _0x26fc09=_0x40c2d6;this['_revisionService']['incrementRevOfUnit'](this[_0x26fc09(0x257)]);}['_executeRemoteChangeset'](_0x16779c){var _0x21b1f0=_0x40c2d6,_0x24bd12;let _0xf0ddbd=this[_0x21b1f0(0xd6)](_0x16779c);_0xf0ddbd=this[_0x21b1f0(0x1ca)](_0xf0ddbd);const _0x52bbc7=_0x167cef(_0xf0ddbd[_0x21b1f0(0x224)],this[_0x21b1f0(0x3a4)],{'fromCollab':!0x0});if(!_0x52bbc7['result'])throw _0x52bbc7[_0x21b1f0(0x288)]instanceof Error?_0x52bbc7[_0x21b1f0(0x288)]:new Error((_0x24bd12=_0x52bbc7[_0x21b1f0(0x288)])!=null?_0x24bd12:_0x21b1f0(0x30f));this['_transformIMECache'](_0xf0ddbd),this[_0x21b1f0(0x31d)](_0xf0ddbd),this['_transformUndoredo'](_0x16779c),this[_0x21b1f0(0x1e4)](_0xf0ddbd),this[_0x21b1f0(0x1fb)](_0xf0ddbd),this[_0x21b1f0(0x270)]();}}let ye=class extends Ie{constructor(_0x1487f8,_0xe7163b,_0x40617c,_0x119629,_0x12a764,_0x177943,_0x1f4233,_0x28a7ed,_0x3221d6,_0x39891e){var _0x2e106c=_0x40c2d6;super(_0x1487f8,_0xe7163b,null,[],_0x40617c,_0x1f4233,_0x177943,_0x119629,_0x39891e),N(this,_0x2e106c(0x12e),'synced'),(this['_injector']=_0x12a764,this['_logService']=_0x28a7ed,this[_0x2e106c(0x158)]=_0x3221d6,this['localCacheService']=_0x39891e);}['appendMutation'](_0x58cf15){var _0x5e32e1=_0x40c2d6;const _0x121aaf=this[_0x5e32e1(0xb6)][_0x5e32e1(0x32c)](re,this[_0x5e32e1(0x257)],this[_0x5e32e1(0xc1)],[_0x58cf15],this[_0x5e32e1(0xe1)]);return _0x121aaf[_0x5e32e1(0x1e6)](),_0x121aaf['_updateLocalCache'](),_0x121aaf;}[_0x40c2d6(0x1bb)](_0x9edae6){var _0x50ee48=_0x40c2d6;if(this[_0x50ee48(0x2b4)](_0x9edae6))return this['_injector']['createInstance'](Q,this[_0x50ee48(0x257)],this['type'],null,[],null,[_0x9edae6],this[_0x50ee48(0xe1)]);try{const _0x137152=this[_0x50ee48(0x158)][_0x50ee48(0x22d)](_0x9edae6,[$s]);if(_0x1f26db(_0x137152)){const {c1Prime:_0x1a1795}=_0x137152;return this[_0x50ee48(0x12d)](_0x1a1795),this;}throw _0x137152[_0x50ee48(0x288)];}catch(_0x1a6739){return this[_0x50ee48(0x16b)][_0x50ee48(0x288)](_0x1a6739),this[_0x50ee48(0x2fe)](!0x1);}}[_0x40c2d6(0x2fe)](_0x486a13){var _0x5e5fbd=_0x40c2d6;return this[_0x5e5fbd(0xb6)][_0x5e5fbd(0x32c)](le,this[_0x5e5fbd(0x257)],this[_0x5e5fbd(0xc1)],null,[],this['_handler'],_0x486a13);}['onRemoteAck'](){var _0x3de1be=_0x40c2d6;throw new Error(_0x3de1be(0xe7));}[_0x40c2d6(0x120)](){var _0x5068d6=_0x40c2d6;throw new Error(_0x5068d6(0xb4));}['onRemoteRetry'](){return this;}[_0x40c2d6(0x1d3)](){var _0x323780=_0x40c2d6;return this['_injector']['createInstance'](ue,this[_0x323780(0x257)],this[_0x323780(0xc1)],null,[],this[_0x323780(0xe1)]);}[_0x40c2d6(0x112)](){return this;}[_0x40c2d6(0x31a)](){var _0x131c98=_0x40c2d6;throw new Error(_0x131c98(0xd5));}[_0x40c2d6(0x22f)](){var _0x33bfe6=_0x40c2d6;const _0x593950=this[_0x33bfe6(0x235)][_0x33bfe6(0xbf)](this['unitID']);return this['_handler']['onMissingChangesets']({'from':_0x593950,'to':0x0}),this[_0x33bfe6(0xb6)][_0x33bfe6(0x32c)](Q,this[_0x33bfe6(0x257)],this['type'],null,[],null,[],this[_0x33bfe6(0xe1)]);}};ye=Ee([P(0x3,_0x12c579(_0x5a8ad7)),P(0x4,_0x12c579(_0x317612)),P(0x5,_0x4799e5),P(0x6,_0x22b074),P(0x7,_0x326ad4),P(0x8,_0x7ca8ef),P(0x9,_0x37b46e(J))],ye);let re=class extends Ie{constructor(_0x19c4d8,_0x321022,_0x569201,_0x4161e2,_0x18da5c,_0x2a2702,_0x5bc220,_0x2143e3,_0x3f930b,_0x43fc3d,_0x29b78a,_0x437145,_0x1459d3,_0x345042){var _0x18e1d9=_0x40c2d6;super(_0x19c4d8,_0x321022,null,_0x569201,_0x4161e2,_0x3f930b,_0x1459d3,_0x2a2702,_0x345042),N(this,_0x18e1d9(0x12e),_0x18e1d9(0x361)),N(this,_0x18e1d9(0x330),null),N(this,_0x18e1d9(0x384),null),(this[_0x18e1d9(0xb6)]=_0x18da5c,this[_0x18e1d9(0x276)]=_0x5bc220,this[_0x18e1d9(0x16b)]=_0x2143e3,this[_0x18e1d9(0x38b)]=_0x43fc3d,this[_0x18e1d9(0x158)]=_0x29b78a,this[_0x18e1d9(0x214)]=_0x437145);}[_0x40c2d6(0x193)](_0x389699){var _0x1293b7=_0x40c2d6;return this[_0x1293b7(0x385)][_0x1293b7(0x1f6)](_0x389699),this[_0x1293b7(0x363)](),this;}['onRemoteChangeset'](_0x336362){var _0x10d8fb=_0x40c2d6;if(this[_0x10d8fb(0x2b4)](_0x336362))return this['_clearScheduledTask'](),this[_0x10d8fb(0xb6)]['createInstance'](Q,this['unitID'],this[_0x10d8fb(0xc1)],null,this['_pendingMutations'],null,[_0x336362],this['_handler']);try{const _0x127cbb=this[_0x10d8fb(0x158)][_0x10d8fb(0x22d)](_0x336362,this['_pendingMutations']);if(_0x1f26db(_0x127cbb)){const {c1Prime:_0x4ecf21,m2Prime:_0x54d6fd}=_0x127cbb;this[_0x10d8fb(0x12d)](_0x4ecf21);const _0x5c6aae=this[_0x10d8fb(0xb6)][_0x10d8fb(0x32c)](re,this['unitID'],this['type'],_0x54d6fd,this[_0x10d8fb(0xe1)]);this[_0x10d8fb(0x237)]();const _0x1f1a11=new Date()['getTime'](),_0x24deb2=this[_0x10d8fb(0x330)]?Math[_0x10d8fb(0x1d8)](this['_scheduleCompleteTimestamp']-_0x1f1a11,0x0):this['_getSendChangesetTimeout']();return _0x5c6aae[_0x10d8fb(0x1e6)](_0x24deb2),_0x5c6aae;}throw _0x127cbb[_0x10d8fb(0x288)];}catch(_0x40e2d0){return this[_0x10d8fb(0x16b)][_0x10d8fb(0x288)](_0x40e2d0),this[_0x10d8fb(0x2fe)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x40c2d6(0x120)](){var _0x363cbd=_0x40c2d6;throw new Error(_0x363cbd(0x387));}[_0x40c2d6(0x124)](){return this;}[_0x40c2d6(0x1d3)](){var _0x2ee29b=_0x40c2d6;return this[_0x2ee29b(0x237)](),this[_0x2ee29b(0xb6)][_0x2ee29b(0x32c)](ue,this[_0x2ee29b(0x257)],this[_0x2ee29b(0xc1)],null,this[_0x2ee29b(0x385)],this[_0x2ee29b(0xe1)]);}['toggleOnline'](){return this;}[_0x40c2d6(0x1e6)](_0x2f65e7){var _0x1bc1f8=_0x40c2d6;const _0x379d75=_0x2f65e7!=null?_0x2f65e7:this['_getSendChangesetTimeout']();this[_0x1bc1f8(0x330)]=new Date()['getTime']()+_0x379d75,this[_0x1bc1f8(0x384)]=setTimeout(()=>{var _0x44f671=_0x1bc1f8;this['_clearScheduledTask']();let _0x148264=null;switch(this[_0x44f671(0xc1)]){case Z[_0x44f671(0x1b4)]:{_0x148264=Wt(this['_pendingMutations'],this[_0x44f671(0x257)],this[_0x44f671(0x214)],this[_0x44f671(0x235)],this[_0x44f671(0x276)]);break;}case Z[_0x44f671(0x246)]:{this[_0x44f671(0x385)][_0x44f671(0x217)](_0x5dcfa5=>_0x5dcfa5['id']===_0xd4b663['id'])?_0x148264=ks(this[_0x44f671(0x385)],this[_0x44f671(0x257)],this[_0x44f671(0x214)],this[_0x44f671(0x235)],this['_memberService']):_0x148264=Wt(this[_0x44f671(0x385)],this[_0x44f671(0x257)],this['_univerInstanceService'],this[_0x44f671(0x235)],this[_0x44f671(0x276)]);break;}default:throw new Error(_0x44f671(0x1f4)+this[_0x44f671(0xc1)]+'\x20in\x20_schedule.');}const {changeset:_0x204dac,pendingMutations:_0x417316}=_0x148264;this['_handler'][_0x44f671(0x24c)](_0x204dac);const _0x3c2f61=_0x417316['length']?this[_0x44f671(0xb6)][_0x44f671(0x32c)](ae,this[_0x44f671(0x257)],this[_0x44f671(0xc1)],_0x204dac,_0x417316,this[_0x44f671(0xe1)],void 0x0):this['_injector'][_0x44f671(0x32c)](_e,this[_0x44f671(0x257)],this[_0x44f671(0xc1)],_0x204dac,this['_handler']);_0x3c2f61[_0x44f671(0x363)](),this[_0x44f671(0xe1)][_0x44f671(0x3b5)](this,_0x3c2f61);},_0x379d75);}[_0x40c2d6(0x2a7)](){var _0x1978a2=_0x40c2d6,_0x16aeb9;const _0x120f0e=this[_0x1978a2(0x38b)][_0x1978a2(0x2dc)](K);return(_0x16aeb9=_0x120f0e==null?void 0x0:_0x120f0e[_0x1978a2(0x222)])!=null?_0x16aeb9:ps;}[_0x40c2d6(0x31a)](){var _0x459a45=_0x40c2d6;throw new Error(_0x459a45(0x16f));}[_0x40c2d6(0x237)](){var _0x580055=_0x40c2d6;this['_sendingTimer']!=null&&(clearTimeout(this[_0x580055(0x384)]),this[_0x580055(0x384)]=null);}[_0x40c2d6(0x2fe)](_0x43a5df){var _0x335dbb=_0x40c2d6;return this[_0x335dbb(0x237)](),this[_0x335dbb(0xb6)]['createInstance'](le,this[_0x335dbb(0x257)],this[_0x335dbb(0xc1)],null,this['_pendingMutations'],this[_0x335dbb(0xe1)],_0x43a5df);}};re=Ee([P(0x4,_0x12c579(_0x317612)),P(0x5,_0x12c579(_0x5a8ad7)),P(0x6,_0x12c579(we)),P(0x7,_0x326ad4),P(0x8,_0x22b074),P(0x9,_0x1ea92f),P(0xa,_0x7ca8ef),P(0xb,_0x1195d0),P(0xc,_0x4799e5),P(0xd,_0x37b46e(J))],re);let _e=class extends Ie{constructor(_0x4495c2,_0x2c2a79,_0x4a4e1b,_0x2e339a,_0x377826,_0x2ec05c,_0x29075b,_0x45b585,_0x7e6d23,_0x4705ff,_0x4fcc71){var _0x433df9=_0x40c2d6;super(_0x4495c2,_0x2c2a79,_0x4a4e1b,[],_0x2e339a,_0x29075b,_0x4705ff,_0x2ec05c,_0x4fcc71),N(this,_0x433df9(0x12e),_0x433df9(0x180)),N(this,_0x433df9(0x37a),0x0),N(this,_0x433df9(0x22a)),N(this,_0x433df9(0x36b)),(this[_0x433df9(0xb6)]=_0x377826,this[_0x433df9(0x16b)]=_0x45b585,this[_0x433df9(0x158)]=_0x7e6d23);}[_0x40c2d6(0x193)](_0x563bc3){var _0x41009d=_0x40c2d6;this[_0x41009d(0x237)]();const _0x58fe12=this['_injector'][_0x41009d(0x32c)](ae,this['unitID'],this[_0x41009d(0xc1)],this[_0x41009d(0x3b6)],[_0x563bc3],this[_0x41009d(0xe1)],this['_resendTimer']);return _0x58fe12[_0x41009d(0x363)](),_0x58fe12;}[_0x40c2d6(0x1bb)](_0x5a07d6){var _0x222526=_0x40c2d6;if(this['_checkMissing'](_0x5a07d6))return this[_0x222526(0x237)](),this[_0x222526(0xb6)][_0x222526(0x32c)](Q,this[_0x222526(0x257)],this['type'],this[_0x222526(0x3b6)],[],null,[_0x5a07d6],this[_0x222526(0xe1)]);try{const _0x268d8c=this[_0x222526(0x158)]['transformChangesets']([_0x5a07d6],[this[_0x222526(0x3b6)]],!0x1);if(_0x5a84b7(_0x268d8c)){const {c1Prime:_0x1d9bef,c2Prime:_0x182973}=_0x268d8c;this[_0x222526(0x12d)](_0x1d9bef[0x0]),_0x182973[0x0]['baseRev']=this[_0x222526(0x348)](),this[_0x222526(0x237)]();const _0xea23b1=this['_injector']['createInstance'](_e,this['unitID'],this[_0x222526(0xc1)],_0x182973[0x0],this[_0x222526(0xe1)]);return _0xea23b1[_0x222526(0x363)](),_0xea23b1;}return this[_0x222526(0x2fe)](!0x1);}catch(_0x40029a){return this['_logService'][_0x222526(0x288)](_0x40029a),this['_onConflict'](!0x1);}}[_0x40c2d6(0x128)](_0x1c6f1a){var _0x1191c7=_0x40c2d6;this[_0x1191c7(0x237)]();const _0x1650dc=this['_revisionService'][_0x1191c7(0xbf)](this[_0x1191c7(0x257)]);if(_0x1c6f1a[_0x1191c7(0xd7)]<_0x1650dc-0x1)return this;if(this['_checkMissing'](_0x1c6f1a))return this[_0x1191c7(0xb6)][_0x1191c7(0x32c)](Q,this['unitID'],this[_0x1191c7(0xc1)],null,[],this[_0x1191c7(0x3b6)],[],this[_0x1191c7(0xe1)]);this[_0x1191c7(0x270)]();const _0x4f00e7=this[_0x1191c7(0xb6)][_0x1191c7(0x32c)](ye,this[_0x1191c7(0x257)],this['type'],this[_0x1191c7(0xe1)]);return _0x4f00e7[_0x1191c7(0x363)](),_0x4f00e7;}[_0x40c2d6(0x120)](_0x349b31){var _0x4558b1=_0x40c2d6;return this['_onConflict'](!!(_0x349b31!=null&&_0x349b31[_0x4558b1(0x336)]));}[_0x40c2d6(0x124)](_0x40e381){var _0x28b1f8=_0x40c2d6;return this[_0x28b1f8(0x37a)]>Ii?this[_0x28b1f8(0x1d3)]():(this[_0x28b1f8(0x22a)]=Si(this[_0x28b1f8(0x37a)],{'timeout':this[_0x28b1f8(0x37a)],'reqId':_0x40e381[_0x28b1f8(0x2bb)]}),this[_0x28b1f8(0x36b)]=this['_resendTimer']['subscribe'](({reqId:_0x2a3fc6,timeout:_0x1c8bf4})=>{var _0x12b6e7=_0x28b1f8;this[_0x12b6e7(0xc4)](_0x2a3fc6,_0x1c8bf4);}),this);}['toggleOffline'](){var _0x5affcd=_0x40c2d6;return this[_0x5affcd(0x237)](),this[_0x5affcd(0xb6)][_0x5affcd(0x32c)](ue,this[_0x5affcd(0x257)],this['type'],this['_awaitingChangeset'],[],this[_0x5affcd(0xe1)]);}[_0x40c2d6(0x112)](){return this;}[_0x40c2d6(0x31a)](){var _0x1fdee3=_0x40c2d6;this['_handler']['onSendChangeset'](this[_0x1fdee3(0x3b6)]);}['_onConflict'](_0x560556){var _0x3c2ae1=_0x40c2d6;return this[_0x3c2ae1(0x237)](),this[_0x3c2ae1(0xb6)][_0x3c2ae1(0x32c)](le,this['unitID'],this[_0x3c2ae1(0xc1)],this[_0x3c2ae1(0x3b6)],[],this['_handler'],_0x560556);}[_0x40c2d6(0xc4)](_0x3078fc,_0x53c815){var _0x1b940d=_0x40c2d6,_0x4c8e5f;_0x3078fc===((_0x4c8e5f=this[_0x1b940d(0x3b6)])==null?void 0x0:_0x4c8e5f[_0x1b940d(0x2bb)])&&(this[_0x1b940d(0x31a)](),this['_resendTimeout']=_0x53c815===0x0?0x3e8:_0x53c815*0x2);}[_0x40c2d6(0x237)](){var _0x3db359=_0x40c2d6,_0x506f95;(_0x506f95=this['_sender'])==null||_0x506f95[_0x3db359(0x346)](),this[_0x3db359(0x37a)]=0x0;}};_e=Ee([P(0x4,_0x12c579(_0x317612)),P(0x5,_0x12c579(_0x5a8ad7)),P(0x6,_0x22b074),P(0x7,_0x326ad4),P(0x8,_0x7ca8ef),P(0x9,_0x4799e5),P(0xa,_0x37b46e(J))],_e);let ae=class extends Ie{constructor(_0x4d1b21,_0x4b397d,_0x2dcc4f,_0x3c18df,_0x17af25,_0x2ab33f,_0x2ec113,_0x43eae,_0x4c7de2,_0x1c40c6,_0x14f9d4,_0x36e6b3,_0xd13574){var _0x1d2dd4=_0x40c2d6;super(_0x4d1b21,_0x4b397d,_0x2dcc4f,_0x3c18df,_0x17af25,_0x4c7de2,_0x36e6b3,_0x43eae,_0xd13574),N(this,'status',_0x1d2dd4(0x1a7)),N(this,_0x1d2dd4(0x37a),0x0),N(this,_0x1d2dd4(0x22a)),N(this,_0x1d2dd4(0x36b)),(this[_0x1d2dd4(0xb6)]=_0x2ec113,this[_0x1d2dd4(0x16b)]=_0x1c40c6,this[_0x1d2dd4(0x158)]=_0x14f9d4,this[_0x1d2dd4(0x34a)]=_0xd13574,_0x2ab33f&&(this[_0x1d2dd4(0x22a)]=_0x2ab33f,this['_sender']=this[_0x1d2dd4(0x22a)][_0x1d2dd4(0x1f8)](({reqId:_0xc439b,timeout:_0x46cdcd})=>{this['_resendWithTimeout'](_0xc439b,_0x46cdcd);})));}[_0x40c2d6(0x193)](_0x37bdaf){var _0x1913f9=_0x40c2d6;return this[_0x1913f9(0x385)][_0x1913f9(0x1f6)](_0x37bdaf),this;}['onRemoteChangeset'](_0xf606cb){var _0x3d8fec=_0x40c2d6;if(this['_checkMissing'](_0xf606cb))return this[_0x3d8fec(0x237)](),this[_0x3d8fec(0xb6)][_0x3d8fec(0x32c)](Q,this[_0x3d8fec(0x257)],this[_0x3d8fec(0xc1)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0xf606cb],this[_0x3d8fec(0xe1)]);try{const _0x287ac0=this[_0x3d8fec(0x158)][_0x3d8fec(0x243)]([_0xf606cb],[this[_0x3d8fec(0x3b6)]],!0x1);if(_0x5a84b7(_0x287ac0)){const {c1Prime:_0x9c169f,c2Prime:_0x3f1cfb}=_0x287ac0,_0x526353=this['_transformService'][_0x3d8fec(0x22d)](_0x9c169f[0x0],this[_0x3d8fec(0x385)]);if(_0x1f26db(_0x526353)){const {c1Prime:_0x2e4daf,m2Prime:_0x261ada}=_0x526353;return this[_0x3d8fec(0x12d)](_0x2e4daf),_0x3f1cfb[0x0]['baseRev']=this[_0x3d8fec(0x348)](),this[_0x3d8fec(0x237)](),this[_0x3d8fec(0xb6)][_0x3d8fec(0x32c)](ae,this[_0x3d8fec(0x257)],this[_0x3d8fec(0xc1)],_0x3f1cfb[0x0],_0x261ada,this[_0x3d8fec(0xe1)],void 0x0);}throw _0x526353[_0x3d8fec(0x288)];}throw _0x287ac0['error'];}catch(_0x317bfa){return this[_0x3d8fec(0x16b)]['error'](_0x317bfa),this[_0x3d8fec(0x2fe)](!0x1);}}[_0x40c2d6(0x128)](_0x3d3d4c){var _0x3181af=_0x40c2d6;if(this['_clearScheduledTask'](),this[_0x3181af(0x2b4)](_0x3d3d4c))return this[_0x3181af(0xb6)][_0x3181af(0x32c)](Q,this['unitID'],this['type'],null,this[_0x3181af(0x385)],this[_0x3181af(0x3b6)],[],this[_0x3181af(0xe1)]);this[_0x3181af(0x270)]();const _0x4b3815=this[_0x3181af(0xb6)][_0x3181af(0x32c)](re,this[_0x3181af(0x257)],this[_0x3181af(0xc1)],this['_pendingMutations'],this['_handler']);return _0x4b3815[_0x3181af(0x1e6)](),_0x4b3815[_0x3181af(0x363)](),_0x4b3815;}[_0x40c2d6(0x120)](_0x45e3ee){var _0xd83e5c=_0x40c2d6;return this['_onConflict'](!!(_0x45e3ee!=null&&_0x45e3ee[_0xd83e5c(0x336)]));}['onRemoteRetry'](_0x378b2a){var _0x21cd13=_0x40c2d6;return this[_0x21cd13(0x37a)]>Ii?this[_0x21cd13(0x1d3)]():(this['_resendTimer']=Si(this['_resendTimeout'],{'timeout':this[_0x21cd13(0x37a)],'reqId':_0x378b2a[_0x21cd13(0x2bb)]}),this[_0x21cd13(0x36b)]=this[_0x21cd13(0x22a)][_0x21cd13(0x1f8)](({reqId:_0x4afac2,timeout:_0x258229})=>{this['_resendWithTimeout'](_0x4afac2,_0x258229);}),this);}[_0x40c2d6(0x1d3)](){var _0x447f08=_0x40c2d6;return this['_clearScheduledTask'](),this['_injector']['createInstance'](ue,this[_0x447f08(0x257)],this[_0x447f08(0xc1)],this[_0x447f08(0x3b6)],this[_0x447f08(0x385)],this[_0x447f08(0xe1)]);}[_0x40c2d6(0x112)](){return this;}[_0x40c2d6(0x31a)](){var _0x418be1=_0x40c2d6;this[_0x418be1(0xe1)][_0x418be1(0x24c)](this[_0x418be1(0x3b6)]);}[_0x40c2d6(0x2fe)](_0x1267d8){var _0x75d5d7=_0x40c2d6;return this[_0x75d5d7(0x237)](),this[_0x75d5d7(0xb6)][_0x75d5d7(0x32c)](le,this[_0x75d5d7(0x257)],this[_0x75d5d7(0xc1)],null,this[_0x75d5d7(0x385)],this['_handler'],_0x1267d8);}[_0x40c2d6(0xc4)](_0x4e957a,_0x28d539){var _0x460ee8=_0x40c2d6,_0x56c6dd;_0x4e957a===((_0x56c6dd=this[_0x460ee8(0x3b6)])==null?void 0x0:_0x56c6dd[_0x460ee8(0x2bb)])&&(this['resend'](),this['_resendTimeout']=_0x28d539===0x0?0x3e8:_0x28d539*0x2);}[_0x40c2d6(0x237)](){var _0x40a550=_0x40c2d6,_0x3b5eda;(_0x3b5eda=this[_0x40a550(0x36b)])==null||_0x3b5eda['unsubscribe'](),this[_0x40a550(0x37a)]=0x0;}};ae=Ee([P(0x6,_0x12c579(_0x317612)),P(0x7,_0x12c579(_0x5a8ad7)),P(0x8,_0x22b074),P(0x9,_0x326ad4),P(0xa,_0x7ca8ef),P(0xb,_0x4799e5),P(0xc,_0x37b46e(J))],ae);let le=class extends Ie{constructor(_0x405c75,_0x38c29c,_0x50f550,_0x6a0242,_0x366c57,_0x323533=!0x1,_0x5c549e,_0x4922d5,_0x15dd7c,_0x5f295a,_0x46992c,_0x2b65b7,_0x117621){var _0x253f57=_0x40c2d6;super(_0x405c75,_0x38c29c,_0x50f550,_0x6a0242,_0x366c57,_0x4922d5,_0x15dd7c,_0x5f295a,_0x117621),N(this,_0x253f57(0x12e),_0x253f57(0x1cd)),(this[_0x253f57(0x138)]=_0x323533,this[_0x253f57(0x26c)]=_0x5c549e,this[_0x253f57(0x302)]=_0x46992c,this[_0x253f57(0x27e)]=_0x2b65b7,this[_0x253f57(0x34a)]=_0x117621,this['_showConflictNotification'](),this[_0x253f57(0x144)](),this[_0x253f57(0x275)]());}[_0x40c2d6(0x193)](){return this;}[_0x40c2d6(0x1bb)](){return this;}['onRemoteAck'](){return this;}[_0x40c2d6(0x120)](){return this;}[_0x40c2d6(0x124)](){return this;}['toggleOffline'](){return this;}[_0x40c2d6(0x112)](){return this;}[_0x40c2d6(0x31a)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x40c2d6(0x144)](){var _0x694c45=_0x40c2d6,_0x2513f8;(_0x2513f8=this['_localCacheService'])==null||_0x2513f8[_0x694c45(0x310)](this[_0x694c45(0x257)],this['type'],null,[]);}[_0x40c2d6(0x2d4)](){var _0x199155=_0x40c2d6;this[_0x199155(0x138)]?this[_0x199155(0x27e)]['emitEvent']({'id':ne['PERMISSION_DENIED']}):this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x199155(0x213)]});}[_0x40c2d6(0x275)](){this['_permissionService']['updatePermissionPoint'](new _0x133927(this['unitID'])['id'],!0x1);}};le=Ee([P(0x6,_0x12c579(_0x731c47)),P(0x7,_0x22b074),P(0x8,_0x4799e5),P(0x9,_0x12c579(_0x5a8ad7)),P(0xa,_0x12c579(_0x357eea)),P(0xb,_0x12c579(ve)),P(0xc,_0x37b46e(J))],le);let ue=class extends Ie{constructor(_0x51a113,_0x521ca3,_0x683303,_0x568546,_0xf880fd,_0x2b798f,_0x2db54f,_0x46da24,_0x3a70dc,_0x21ac88){var _0x4dfa7f=_0x40c2d6;super(_0x51a113,_0x521ca3,_0x683303,_0x568546,_0xf880fd,_0x46da24,_0x3a70dc,_0x2db54f,_0x21ac88),N(this,_0x4dfa7f(0x12e),_0x4dfa7f(0x295)),this[_0x4dfa7f(0xb6)]=_0x2b798f;}['appendMutation'](_0x21c9df){var _0x51fc21=_0x40c2d6;return this[_0x51fc21(0x385)][_0x51fc21(0x1f6)](_0x21c9df),this[_0x51fc21(0x363)](),this;}[_0x40c2d6(0x1bb)](_0x1e9a7f){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x40c2d6(0x128)](){var _0x4ffda2=_0x40c2d6;throw new Error(_0x4ffda2(0x358));}[_0x40c2d6(0x120)](){var _0x343f6a=_0x40c2d6;throw new Error(_0x343f6a(0x31c));}['onRemoteRetry'](){return this;}[_0x40c2d6(0x1d3)](){return this;}[_0x40c2d6(0x112)](){const {_injector:_0x42f8b2,_pendingMutations:_0x52facc,_awaitingChangeset:_0x5e3af0,unitID:_0x8ad642,_handler:_0x2dc0fb,type:_0x27f318}=this,_0x1e7c6b=Ti(_0x42f8b2,_0x8ad642,_0x27f318,_0x5e3af0,_0x52facc,_0x2dc0fb);return _0x1e7c6b instanceof re?_0x1e7c6b['_schedule']():(_0x1e7c6b instanceof ae||_0x1e7c6b instanceof _e)&&_0x1e7c6b['resend'](),_0x1e7c6b;}[_0x40c2d6(0x31a)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ee([P(0x5,_0x12c579(_0x317612)),P(0x6,_0x12c579(_0x5a8ad7)),P(0x7,_0x22b074),P(0x8,_0x4799e5),P(0x9,_0x37b46e(J))],ue);let Q=class extends Ie{constructor(_0x4dfb77,_0x2db6cf,_0x44491b,_0x245e14,_0x5e2e30,_0x2c9c99,_0x54d703,_0x3f2325,_0x6e48ed,_0x22b637,_0xde91eb,_0x4ef448,_0x14021b,_0x2a5d81){var _0x4c66a5=_0x40c2d6;super(_0x4dfb77,_0x2db6cf,_0x44491b,_0x245e14,_0x54d703,_0xde91eb,_0x4ef448,_0x6e48ed,_0x2a5d81),N(this,_0x4c66a5(0x12e),_0x4c66a5(0x327)),(this[_0x4c66a5(0x2d1)]=_0x5e2e30,this[_0x4c66a5(0x1a0)]=_0x2c9c99,this['_injector']=_0x3f2325,this[_0x4c66a5(0x16b)]=_0x22b637,this[_0x4c66a5(0x158)]=_0x14021b,this['localCacheService']=_0x2a5d81);}[_0x40c2d6(0x127)](_0xe0ff9b){var _0x4daabc=_0x40c2d6;try{const _0x2d6cde=[..._0xe0ff9b,...this['_queuedRemoteChangesets']],_0x1d7db1=[this[_0x4daabc(0x3b6)]||this[_0x4daabc(0x2d1)]]['filter'](_0x251de3=>!!_0x251de3);let _0x2b7613,_0x2a451a;if(_0x1d7db1['length']){const _0xa7f81d=this['_transformService'][_0x4daabc(0x243)](_0x2d6cde,_0x1d7db1,!0x1);if(!_0x5a84b7(_0xa7f81d))throw _0xa7f81d[_0x4daabc(0x288)];_0x2b7613=_0xa7f81d[_0x4daabc(0xb9)],_0x2a451a=_0xa7f81d[_0x4daabc(0x360)];}else _0x2b7613=_0x2d6cde,_0x2a451a=[];let _0x538815=this[_0x4daabc(0x385)];_0x2b7613[_0x4daabc(0x160)](_0x3a146c=>{var _0x5673ea=_0x4daabc;let _0x358721;if(_0x538815[_0x5673ea(0x2c2)]){const _0x4b2bf9=this[_0x5673ea(0x158)][_0x5673ea(0x22d)](_0x3a146c,_0x538815);if(!_0x1f26db(_0x4b2bf9))throw _0x4b2bf9[_0x5673ea(0x288)];_0x358721=_0x4b2bf9[_0x5673ea(0xb9)],_0x538815=_0x4b2bf9['m2Prime'];}else _0x358721=_0x3a146c;this[_0x5673ea(0x12d)](_0x358721);}),this[_0x4daabc(0x2d1)]&&this[_0x4daabc(0x270)](),this[_0x4daabc(0x3b6)]&&_0x2a451a[_0x4daabc(0x2c2)]&&(_0x2a451a[0x0]['baseRev']=this[_0x4daabc(0x348)]());let _0x510f1f;if(this['_awaitingChangeset']&&_0x538815[_0x4daabc(0x2c2)]!==0x0)_0x510f1f=this['_injector']['createInstance'](ae,this[_0x4daabc(0x257)],this['type'],_0x2a451a[0x0],_0x538815,this[_0x4daabc(0xe1)],void 0x0);else{if(this[_0x4daabc(0x3b6)]&&_0x538815['length']===0x0)_0x2a451a[0x0]['baseRev']=this[_0x4daabc(0x348)](),_0x510f1f=this[_0x4daabc(0xb6)]['createInstance'](_e,this['unitID'],this[_0x4daabc(0xc1)],_0x2a451a[0x0],this[_0x4daabc(0xe1)]);else{if(_0x538815['length']!==0x0){const _0x441695=this[_0x4daabc(0xb6)][_0x4daabc(0x32c)](re,this['unitID'],this[_0x4daabc(0xc1)],_0x538815,this[_0x4daabc(0xe1)]);_0x441695['_schedule'](),_0x510f1f=_0x441695;}else _0x510f1f=this[_0x4daabc(0xb6)][_0x4daabc(0x32c)](ye,this['unitID'],this[_0x4daabc(0xc1)],this['_handler']);}}return _0x510f1f[_0x4daabc(0x363)](),_0x510f1f;}catch(_0x5f237f){return this['_logService'][_0x4daabc(0x288)](_0x4daabc(0x368),_0x4daabc(0x2b5),_0x5f237f),this[_0x4daabc(0xb6)][_0x4daabc(0x32c)](le,this[_0x4daabc(0x257)],this[_0x4daabc(0xc1)],this[_0x4daabc(0x3b6)],this[_0x4daabc(0x385)],this['_handler'],!0x1);}}[_0x40c2d6(0x31a)](){var _0x4ae432=_0x40c2d6;throw new Error(_0x4ae432(0x2c5));}[_0x40c2d6(0x193)](_0x357ad0){var _0x1ac028=_0x40c2d6;return this[_0x1ac028(0x385)]['push'](_0x357ad0),this;}[_0x40c2d6(0x1bb)](_0x5caa2){var _0x52f2cd=_0x40c2d6;return this['_queuedRemoteChangesets'][_0x52f2cd(0x1f6)](_0x5caa2),this;}[_0x40c2d6(0x128)](_0x363c95){var _0x2e66fc=_0x40c2d6;if(this[_0x2e66fc(0x3b6)])return this[_0x2e66fc(0x2d1)]=this[_0x2e66fc(0x3b6)],this['_awaitingChangeset']=null,this;throw new Error(_0x2e66fc(0x1e1));}['onRemoteRej'](_0x234235){var _0x4a241c=_0x40c2d6;return this[_0x4a241c(0x2fe)](!!(_0x234235!=null&&_0x234235[_0x4a241c(0x336)]));}[_0x40c2d6(0x124)](){return this;}[_0x40c2d6(0x1d3)](){var _0x577103=_0x40c2d6;return this[_0x577103(0xb6)][_0x577103(0x32c)](ue,this['unitID'],this['type'],this[_0x577103(0x3b6)],this[_0x577103(0x385)],this[_0x577103(0xe1)]);}[_0x40c2d6(0x112)](){return this;}[_0x40c2d6(0x2fe)](_0x4192dc){var _0x5e6706=_0x40c2d6;return this['_injector'][_0x5e6706(0x32c)](le,this[_0x5e6706(0x257)],this[_0x5e6706(0xc1)],this[_0x5e6706(0x3b6)],this['_pendingMutations'],this['_handler'],_0x4192dc);}};Q=Ee([P(0x7,_0x12c579(_0x317612)),P(0x8,_0x12c579(_0x5a8ad7)),P(0x9,_0x326ad4),P(0xa,_0x22b074),P(0xb,_0x4799e5),P(0xc,_0x7ca8ef),P(0xd,_0x37b46e(J))],Q);function Ti(_0x29cbb9,_0x28702e,_0x51b46e,_0x16525a,_0x59494e,_0xe92a89){var _0x599464=_0x40c2d6;return _0x16525a&&_0x59494e[_0x599464(0x2c2)]?_0x29cbb9[_0x599464(0x32c)](ae,_0x28702e,_0x51b46e,_0x16525a,_0x59494e,_0xe92a89,void 0x0):_0x16525a?_0x29cbb9['createInstance'](_e,_0x28702e,_0x51b46e,_0x16525a,_0xe92a89):_0x59494e[_0x599464(0x2c2)]?_0x29cbb9[_0x599464(0x32c)](re,_0x28702e,_0x51b46e,_0x59494e,_0xe92a89):_0x29cbb9[_0x599464(0x32c)](ye,_0x28702e,_0x51b46e,_0xe92a89);}var Bs=Object[_0x40c2d6(0x1d5)],wt=(_0x2fa125,_0xd68abd,_0x207de2,_0x1f1ac8)=>{var _0xf90f48=_0x40c2d6;for(var _0x290cfb=_0x1f1ac8>0x1?void 0x0:_0x1f1ac8?Bs(_0xd68abd,_0x207de2):_0xd68abd,_0x39f903=_0x2fa125[_0xf90f48(0x2c2)]-0x1,_0x34a7cb;_0x39f903>=0x0;_0x39f903--)(_0x34a7cb=_0x2fa125[_0x39f903])&&(_0x290cfb=_0x34a7cb(_0x290cfb)||_0x290cfb);return _0x290cfb;},H=(_0x2d48c5,_0x33e0d2)=>(_0xfea137,_0x1bad19)=>_0x33e0d2(_0xfea137,_0x1bad19,_0x2d48c5);let st=class extends _0x5a7cdf{constructor(_0x4f1c9a,_0x1bc9db,_0x5e8940,_0x40e175,_0x52fa90,_0x4e13ee,_0x5c5249,_0x16ead8,_0xd9ebb3,_0xce4ab2,_0x23c426,_0x5ba96b,_0x1d4fbd){var _0x401d12=_0x40c2d6;super(),N(this,_0x401d12(0xc9),new _0x3a215e(null)),N(this,_0x401d12(0x2f4),this[_0x401d12(0xc9)][_0x401d12(0x291)]()),N(this,_0x401d12(0x233)),N(this,_0x401d12(0x371),!0x1),N(this,_0x401d12(0x2b2),''),N(this,_0x401d12(0x27a),0x0),N(this,_0x401d12(0x121),this[_0x401d12(0x2f4)][_0x401d12(0x3a8)](_0x2843b1(_0x1afef8=>_0x1afef8?_0x1afef8['status']:Ei['OFFLINE']),_0x4c8c70(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x401d12(0x178),[]),(this[_0x401d12(0x257)]=_0x4f1c9a,this[_0x401d12(0x135)]=_0x1bc9db,this['_type']=_0x5e8940,this[_0x401d12(0xb6)]=_0x40e175,this[_0x401d12(0x1a4)]=_0x52fa90,this[_0x401d12(0x302)]=_0x4e13ee,this[_0x401d12(0x235)]=_0x5c5249,this['_eventService']=_0x16ead8,this['_logService']=_0xd9ebb3,this['_commandService']=_0xce4ab2,this[_0x401d12(0x26c)]=_0x23c426,this[_0x401d12(0x337)]=_0x5ba96b,this['_localCacheService']=_0x1d4fbd);}get[_0x40c2d6(0xc8)](){return this['_state'];}async[_0x40c2d6(0x36a)](){var _0x4e2d36=_0x40c2d6;if(this[_0x4e2d36(0xc8)])throw new Error(_0x4e2d36(0x2f2));await this[_0x4e2d36(0x165)]();}[_0x40c2d6(0x389)](){var _0x130bd6=_0x40c2d6;return this[_0x130bd6(0x371)]=!0x0,_0x3ef1b1(()=>{var _0x2cf868=_0x130bd6;this[_0x2cf868(0x371)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x2828ae){var _0x170da5=_0x40c2d6;this[_0x170da5(0x2d9)](_0x2828ae);}[_0x40c2d6(0x248)](_0x4585a7){var _0x54d555=_0x40c2d6;this[_0x54d555(0x233)]=_0x4585a7,this['_state$'][_0x54d555(0x2fc)](_0x4585a7);}async[_0x40c2d6(0x165)](){var _0x48230c=_0x40c2d6,_0x462f6c;this[_0x48230c(0x248)](await this[_0x48230c(0x294)]()),this['_singleActiveUnitService']&&((_0x462f6c=this[_0x48230c(0x337)])==null||_0x462f6c[_0x48230c(0x2b9)](this[_0x48230c(0x257)]),this[_0x48230c(0x287)](this['_singleActiveUnitService'][_0x48230c(0xfc)](this[_0x48230c(0x257)])[_0x48230c(0x1f8)](_0x421e41=>{var _0x1236b4=_0x48230c;this[_0x1236b4(0x16b)][_0x1236b4(0x2e6)]('[CollaborationEntity]',_0x1236b4(0x22c),_0x421e41),_0x421e41===gi[_0x1236b4(0xe6)]?(this['_eventService']['emitEvent']({'id':ne[_0x1236b4(0x39c)]}),this[_0x1236b4(0x26c)][_0x1236b4(0x1c5)](new _0x133927(this[_0x1236b4(0x257)])['id'],!0x1),this[_0x1236b4(0x26c)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x1236b4(0x1c5)](new _0x133927(this[_0x1236b4(0x257)])['id'],!0x0),this[_0x1236b4(0x26c)][_0x1236b4(0x1c2)](!0x0));})));let _0xe39458=!0x1;return this[_0x48230c(0x287)](this['session'][_0x48230c(0x122)][_0x48230c(0x1f8)](_0x793f8c=>{var _0x1cb062=_0x48230c;_0x793f8c===ge[_0x1cb062(0x2c3)]?this['_toggleOnline'](_0xe39458):_0x793f8c===ge[_0x1cb062(0x301)]&&(_0xe39458=!0x0,this['_toggleOffline']());})),this[_0x48230c(0x287)](this[_0x48230c(0x135)][_0x48230c(0x255)][_0x48230c(0x1f8)](_0x53ca20=>{var _0x411016=_0x48230c;try{switch(_0x53ca20['eventID']){case _0x5eeaab[_0x411016(0x21a)]:{this['_onRemoteChangeset'](_0x5d4983(_0x53ca20[_0x411016(0x27b)]));break;}case _0x5eeaab[_0x411016(0x269)]:{this[_0x411016(0x365)](_0x53ca20[_0x411016(0x27b)]);break;}case _0x5eeaab[_0x411016(0x2a9)]:{this['_onRemoteRejected']();break;}case _0x5eeaab[_0x411016(0x223)]:{this[_0x411016(0x12c)](_0x53ca20[_0x411016(0x27b)]);break;}case _0x5eeaab['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x411016(0xd3)](_0x53ca20[_0x411016(0x27b)][_0x411016(0x25e)][_0x411016(0x22e)](_0x582729=>_0x5d4983(_0x582729)));break;}case _0x5eeaab[_0x411016(0x147)]:{this[_0x411016(0x10c)]({'isPermissionRej':!0x0});break;}case _0x5eeaab[_0x411016(0x170)]:break;}}catch(_0x10e304){throw console[_0x411016(0x288)](_0x411016(0xf6),_0x10e304),_0x10e304;}})),this['_state'];}[_0x40c2d6(0x32f)](){var _0x4c2d77=_0x40c2d6;this[_0x4c2d77(0x1ae)]=!0x1;}[_0x40c2d6(0x1fa)](){var _0x1710c7=_0x40c2d6;if(this[_0x1710c7(0x1ae)])throw new Error(_0x1710c7(0x20b));this[_0x1710c7(0x1ae)]=!0x0;}[_0x40c2d6(0x2d9)](_0x161c45){var _0x40d0d9=_0x40c2d6;this[_0x40d0d9(0x1fa)](),this[_0x40d0d9(0x248)](this[_0x40d0d9(0x233)][_0x40d0d9(0x193)](_0x161c45)),this[_0x40d0d9(0x32f)]();}[_0x40c2d6(0x2b6)](_0xb752e2){var _0x50944d=_0x40c2d6;if(!(_0xb752e2[_0x50944d(0xd7)]<=this['_revisionService'][_0x50944d(0xbf)](this['unitID']))){if(this[_0x50944d(0x371)]){this['_remoteChangesetQueue'][_0x50944d(0x1f6)](_0xb752e2);return;}this[_0x50944d(0x244)](_0xb752e2);}}[_0x40c2d6(0x285)](){var _0x5597ab=_0x40c2d6;this[_0x5597ab(0x178)][_0x5597ab(0x160)](_0x3aa5ca=>this[_0x5597ab(0x244)](_0x3aa5ca)),this['_remoteChangesetQueue']=[];}[_0x40c2d6(0x244)](_0x2a0697){var _0x295abc=_0x40c2d6;const _0x249186=this[_0x295abc(0x1a4)]['interceptor']['fetchThroughInterceptors'](this[_0x295abc(0x1a4)][_0x295abc(0x1c7)]['getInterceptPoints']()[_0x295abc(0x26b)])(_0x2a0697['mutations'],null)||_0x2a0697['mutations'],_0x17cedc={..._0x2a0697,'mutations':_0x249186};this[_0x295abc(0x1fa)](),this[_0x295abc(0x248)](this[_0x295abc(0x233)]['onRemoteChangeset'](_0x17cedc)),this[_0x295abc(0x32f)]();}['_onRemoteACK'](_0xc2c71){var _0x28879c=_0x40c2d6;this[_0x28879c(0x1fa)](),this[_0x28879c(0x248)](this[_0x28879c(0x233)]['onRemoteAck'](_0xc2c71)),this[_0x28879c(0x32f)]();}['_onRemoteRejected'](_0xcc9bdf){var _0x5c5fe5=_0x40c2d6;this[_0x5c5fe5(0x1fa)](),this[_0x5c5fe5(0x248)](this['_state'][_0x5c5fe5(0x120)](_0xcc9bdf)),this[_0x5c5fe5(0x32f)]();}['_onRemoteRetry'](_0x36d9f0){var _0x1d4dbe=_0x40c2d6;this[_0x1d4dbe(0x1fa)](),this['_updateState'](this[_0x1d4dbe(0x233)][_0x1d4dbe(0x124)](_0x36d9f0)),this[_0x1d4dbe(0x32f)]();}['_onFetchMissResult'](_0x356453){var _0x1bab18=_0x40c2d6;if(!(this[_0x1bab18(0x233)]instanceof Q))throw new TypeError(_0x1bab18(0x125));const _0x447e2d=_0x356453[_0x1bab18(0x22e)](_0xbe2461=>{var _0x62b44d=_0x1bab18;const _0x1abe38=this[_0x62b44d(0x1a4)][_0x62b44d(0x1c7)][_0x62b44d(0x2fa)](this[_0x62b44d(0x1a4)][_0x62b44d(0x1c7)][_0x62b44d(0x230)]()['COMPRESS_MUTATION_APPLY'])(_0xbe2461[_0x62b44d(0x224)],null)||_0xbe2461[_0x62b44d(0x224)];return{..._0xbe2461,'mutations':_0x1abe38};});this[_0x1bab18(0x1fa)](),this['_updateState'](this[_0x1bab18(0x233)][_0x1bab18(0x127)](_0x447e2d)),this[_0x1bab18(0x32f)]();}[_0x40c2d6(0x32b)](){var _0x4a1f71=_0x40c2d6;this['_lockTransition'](),this[_0x4a1f71(0x248)](this['_state'][_0x4a1f71(0x1d3)]()),this[_0x4a1f71(0x32f)]();}[_0x40c2d6(0x3a9)](_0xe4b2f5=!0x1){var _0x57c687=_0x40c2d6;this[_0x57c687(0x1fa)](),this[_0x57c687(0x248)](this['_state'][_0x57c687(0x112)]()),this[_0x57c687(0x32f)]();const _0x30c2cf=this[_0x57c687(0x233)];_0xe4b2f5&&_0x30c2cf instanceof ye&&(this[_0x57c687(0x1fa)](),this[_0x57c687(0x248)](_0x30c2cf[_0x57c687(0x22f)]()),this[_0x57c687(0x32f)]());}async[_0x40c2d6(0x294)](){return new Promise(_0x2dea9b=>{var _0x43465a=_0x1af6;this[_0x43465a(0x135)]['sessionStatus$'][_0x43465a(0x3a8)](_0x31b224(0x1))[_0x43465a(0x1f8)](async _0x1262ff=>{var _0x25815e=_0x43465a;_0x2dea9b(await this[_0x25815e(0x2ab)](_0x1262ff===ge['ONLINE']));});});}[_0x40c2d6(0x316)](){var _0x3415cf=_0x40c2d6;const _0x99100f=this[_0x3415cf(0x257)];return{'onStateChange':(_0x2ee30a,_0x3dd998)=>{var _0x336b22=_0x3415cf;if(_0x2ee30a!==this[_0x336b22(0x233)])throw new Error(_0x336b22(0x17f)+_0x2ee30a[_0x336b22(0x12e)]+_0x336b22(0x1f0)+_0x3dd998[_0x336b22(0x12e)]+_0x336b22(0x20c)+this['_state'][_0x336b22(0x12e)]);this[_0x336b22(0x248)](_0x3dd998);},'onSendChangeset':_0x4f6451=>{var _0x591810=_0x3415cf;_0x4f6451[_0x591810(0x2dd)]||(_0x4f6451['sid']=this[_0x591810(0x2b2)],_0x4f6451[_0x591810(0x2bb)]=++this['_changesetReqId']);const _0x3ae9c5={'eventID':_0x5eeaab['SUBMIT_CHANGESET'],'data':{'unitID':_0x4f6451['unitID'],'unitType':this[_0x591810(0x207)],'changeset':_0x4f6451,'memberID':this[_0x591810(0x135)][_0x591810(0x2c8)]()}};this[_0x591810(0x135)]['send'](_0x3ae9c5,this[_0x591810(0x257)]);},'onMissingChangesets':({from:_0x449d14,to:_0x4fd84b})=>{var _0x29ef7a=_0x3415cf;this['_logService'][_0x29ef7a(0x2e6)]('[CollaborationEntity]',_0x29ef7a(0x16e)+_0x449d14+_0x29ef7a(0x187)+_0x4fd84b);const _0xe52fcc={'eventID':_0x5eeaab[_0x29ef7a(0xe8)],'data':{'unitID':_0x99100f,'unitType':this[_0x29ef7a(0x207)],'from':_0x449d14,'to':_0x4fd84b}};this[_0x29ef7a(0x135)][_0x29ef7a(0x26d)](_0xe52fcc,this[_0x29ef7a(0x257)]);}};}async['_createInitialStateImpl'](_0x20facc){var _0x2d16cc=_0x40c2d6,_0x7943f8,_0x1f3b9c,_0x3f36a8;const _0x2958b1=await((_0x7943f8=this[_0x2d16cc(0x1ab)])==null?void 0x0:_0x7943f8[_0x2d16cc(0x23c)](this[_0x2d16cc(0x257)])),_0x55010e=(_0x1f3b9c=_0x2958b1==null?void 0x0:_0x2958b1[_0x2d16cc(0x224)])!=null?_0x1f3b9c:[],_0x582d62=(_0x3f36a8=_0x2958b1==null?void 0x0:_0x2958b1[_0x2d16cc(0x172)])!=null?_0x3f36a8:null,_0x5f3aee=!!(_0x582d62!=null&&_0x582d62[_0x2d16cc(0x2dd)])&&!!(_0x582d62!=null&&_0x582d62['reqId']);this[_0x2d16cc(0x2b2)]=_0x5f3aee?_0x582d62[_0x2d16cc(0x2dd)]:_0x37059a(),this[_0x2d16cc(0x27a)]=_0x5f3aee?_0x582d62['reqId']:0x0;const _0x171372=this[_0x2d16cc(0x257)];try{this['_replayCachedMutations'](_0x582d62,_0x55010e);}catch(_0x448330){this['_logService'][_0x2d16cc(0x288)](_0x448330);}const _0x359355=this['_createHandler']();if(_0x20facc){const _0x30d837=Ti(this[_0x2d16cc(0xb6)],_0x171372,this[_0x2d16cc(0x207)],_0x582d62,_0x55010e,_0x359355);return _0x30d837 instanceof re?_0x30d837['_schedule']():(_0x30d837 instanceof ae||_0x30d837 instanceof _e)&&_0x30d837['resend'](),_0x30d837;}return this['_injector'][_0x2d16cc(0x32c)](ue,_0x171372,this[_0x2d16cc(0x207)],_0x582d62,_0x55010e,_0x359355);}['_replayCachedMutations'](_0x2676db,_0x54854b){var _0x5323ad=_0x40c2d6,_0xaf16f6,_0x117e95;const _0x11d365=this[_0x5323ad(0x1a4)]['interceptor'][_0x5323ad(0x2fa)](this['_compressMutationService'][_0x5323ad(0x1c7)][_0x5323ad(0x230)]()[_0x5323ad(0x26b)]);(_0xaf16f6=_0x11d365((_0x2676db==null?void 0x0:_0x2676db['mutations'])||[],null))==null||_0xaf16f6[_0x5323ad(0x160)](_0x20f774=>this[_0x5323ad(0x3a4)]['executeCommand'](_0x20f774['id'],_0x20f774['params'])),(_0x117e95=_0x11d365(_0x54854b||[],null))==null||_0x117e95['forEach'](_0x3b1ea3=>this[_0x5323ad(0x3a4)]['executeCommand'](_0x3b1ea3['id'],_0x3b1ea3[_0x5323ad(0x19b)]));}};st=wt([H(0x3,_0x12c579(_0x317612)),H(0x4,_0x12c579(_0x174f08)),H(0x5,_0x12c579(_0x357eea)),H(0x6,_0x12c579(_0x5a8ad7)),H(0x7,_0x12c579(ve)),H(0x8,_0x326ad4),H(0x9,_0x22b074),H(0xa,_0x731c47),H(0xb,_0x37b46e(ht)),H(0xc,_0x37b46e(J))],st);let St=class extends st{constructor(_0x3d5632,_0x2b097c,_0x36fb8f,_0x4db348,_0x343b37,_0x38c05b,_0x30108c,_0x16652e,_0x4aff3,_0x35a1e0,_0xc4d3bb,_0x1e60d0,_0x42d0a5){var _0x5b7a9f=_0x40c2d6;super(_0x3d5632,_0x36fb8f,_0x2b097c,_0x4db348,_0x343b37,_0x38c05b,_0x30108c,_0x16652e,_0x4aff3,_0x35a1e0,_0xc4d3bb,_0x1e60d0,_0x42d0a5),N(this,_0x5b7a9f(0x12b),null),(this[_0x5b7a9f(0x257)]=_0x3d5632,this[_0x5b7a9f(0xc1)]=_0x2b097c);}[_0x40c2d6(0xca)](_0x417fb6){var _0x578ea6=_0x40c2d6;this[_0x578ea6(0x12b)]=_0x417fb6;}[_0x40c2d6(0xb8)](){var _0x176ca4=_0x40c2d6;this['_handlerCallback']=null,super[_0x176ca4(0xb8)]();}[_0x40c2d6(0x316)](){var _0x1b5227=_0x40c2d6;const _0x5a2ec3=super['_createHandler']();return _0x5a2ec3[_0x1b5227(0x1b3)]=_0x4dd5c8=>{var _0x4c75f5=_0x1b5227,_0x2d5c33,_0x290be6;return(_0x290be6=(_0x2d5c33=this['_handlerCallback'])==null?void 0x0:_0x2d5c33[_0x4c75f5(0x1b3)])==null?void 0x0:_0x290be6[_0x4c75f5(0x23d)](_0x2d5c33,_0x4dd5c8);},_0x5a2ec3['onTransformState']=_0x50a956=>{var _0x536244=_0x1b5227,_0x2d3348,_0xac73b1;return(_0xac73b1=(_0x2d3348=this[_0x536244(0x12b)])==null?void 0x0:_0x2d3348[_0x536244(0x39e)])==null?void 0x0:_0xac73b1[_0x536244(0x23d)](_0x2d3348,_0x50a956);},_0x5a2ec3['onTransformSelections']=_0x22028b=>{var _0x1dbb4c,_0x47a73c;return(_0x47a73c=(_0x1dbb4c=this['_handlerCallback'])==null?void 0x0:_0x1dbb4c['onTransformSelections'])==null?void 0x0:_0x47a73c['call'](_0x1dbb4c,_0x22028b);},_0x5a2ec3['onSyncEditingCollabCursor']=_0x3be780=>{var _0xdbc041=_0x1b5227,_0x46d42f,_0x40052e;return(_0x40052e=(_0x46d42f=this[_0xdbc041(0x12b)])==null?void 0x0:_0x46d42f['onSyncEditingCollabCursor'])==null?void 0x0:_0x40052e[_0xdbc041(0x23d)](_0x46d42f,_0x3be780);},_0x5a2ec3[_0x1b5227(0x1db)]=_0xa1a2c9=>{var _0x144bbf=_0x1b5227,_0x57b3ea,_0x1b441e,_0xe2e99e;if(!((_0x57b3ea=this[_0x144bbf(0x12b)])!=null&&_0x57b3ea[_0x144bbf(0x1db)]))throw new Error(_0x144bbf(0x2e3));return(_0xe2e99e=(_0x1b441e=this[_0x144bbf(0x12b)])==null?void 0x0:_0x1b441e[_0x144bbf(0x1db)])==null?void 0x0:_0xe2e99e['call'](_0x1b441e,_0xa1a2c9);},_0x5a2ec3['onTransformRemoteChangesetByStateCache']=_0x140797=>{var _0x1bfe1=_0x1b5227,_0x38203b,_0x4c2916,_0x34ffad;if(!((_0x38203b=this[_0x1bfe1(0x12b)])!=null&&_0x38203b[_0x1bfe1(0x268)]))throw new Error(_0x1bfe1(0x2e1));return(_0x34ffad=(_0x4c2916=this[_0x1bfe1(0x12b)])==null?void 0x0:_0x4c2916[_0x1bfe1(0x268)])==null?void 0x0:_0x34ffad['call'](_0x4c2916,_0x140797);},_0x5a2ec3;}async[_0x40c2d6(0x165)](){var _0x3fa2c5=_0x40c2d6;const _0x593465=await super[_0x3fa2c5(0x165)]();return this[_0x3fa2c5(0x287)](this['_commandService']['onCommandExecuted']((_0x5be0df,_0x326599)=>{var _0x3f7dd0=_0x3fa2c5;if(_0x5be0df[_0x3f7dd0(0xc1)]!==_0x568581[_0x3f7dd0(0x174)]||_0x326599!=null&&_0x326599[_0x3f7dd0(0x283)]||_0x326599!=null&&_0x326599[_0x3f7dd0(0x1ce)]||_0x5be0df['id']===_0xd4b663['id'])return;const _0x157ce1=_0x5be0df['params'];if((_0x157ce1==null?void 0x0:_0x157ce1[_0x3f7dd0(0x386)])!==this[_0x3f7dd0(0x257)])return;const _0x4dcca3=_0x5be0df,_0xa351ac=this['_compressMutationService'][_0x3f7dd0(0x1c7)][_0x3f7dd0(0x2fa)](this[_0x3f7dd0(0x1a4)][_0x3f7dd0(0x1c7)][_0x3f7dd0(0x230)]()[_0x3f7dd0(0x30d)])([_0x4dcca3],null)||[_0x4dcca3];this[_0x3f7dd0(0x2d9)](_0xa351ac[0x0]);})),_0x593465;}};St=wt([H(0x3,_0x12c579(_0x317612)),H(0x4,_0x12c579(_0x174f08)),H(0x5,_0x12c579(_0x357eea)),H(0x6,_0x12c579(_0x5a8ad7)),H(0x7,_0x12c579(ve)),H(0x8,_0x326ad4),H(0x9,_0x22b074),H(0xa,_0x731c47),H(0xb,_0x37b46e(ht)),H(0xc,_0x37b46e(J))],St);let Et=class extends st{constructor(_0x14893b,_0x4227aa,_0x40f7ad,_0x2b7b55,_0x712aed,_0x323446,_0x195ff4,_0x363f79,_0x550a82,_0x38a954,_0x486835,_0x4679e0,_0x304898,_0x1972ca){var _0x554138=_0x40c2d6;super(_0x14893b,_0x40f7ad,_0x4227aa,_0x2b7b55,_0x712aed,_0x323446,_0x195ff4,_0x550a82,_0x38a954,_0x486835,_0x4679e0,_0x304898,_0x1972ca),this[_0x554138(0x257)]=_0x14893b,this['type']=_0x4227aa,this[_0x554138(0x13e)]=_0x363f79;}[_0x40c2d6(0x316)](){var _0x542693=_0x40c2d6;const _0x3cb7f9=super[_0x542693(0x316)]();return _0x3cb7f9[_0x542693(0x14a)]=_0x18347c=>this[_0x542693(0x13e)]['transformSelections'](_0x18347c),_0x3cb7f9;}async[_0x40c2d6(0x165)](){var _0x239d5f=_0x40c2d6;const _0x4733b6=await super[_0x239d5f(0x165)]();return this['disposeWithMe'](this[_0x239d5f(0x3a4)][_0x239d5f(0x249)]((_0x4b31e0,_0x791d74)=>{var _0x44c941=_0x239d5f;if(_0x4b31e0[_0x44c941(0xc1)]!==_0x568581['MUTATION']||_0x791d74!=null&&_0x791d74[_0x44c941(0x283)]||_0x791d74!=null&&_0x791d74[_0x44c941(0x1ce)])return;const _0x49fc91=_0x4b31e0[_0x44c941(0x19b)];if((_0x49fc91==null?void 0x0:_0x49fc91[_0x44c941(0x386)])!==this[_0x44c941(0x257)])return;const _0x2f2e71=_0x4b31e0,_0x5cbf84=this[_0x44c941(0x1a4)][_0x44c941(0x1c7)]['fetchThroughInterceptors'](this[_0x44c941(0x1a4)][_0x44c941(0x1c7)][_0x44c941(0x230)]()[_0x44c941(0x30d)])([_0x2f2e71],null)||[_0x2f2e71];this[_0x44c941(0x2d9)](_0x5cbf84[0x0]);})),_0x4733b6;}};Et=wt([H(0x3,_0x12c579(_0x317612)),H(0x4,_0x12c579(_0x174f08)),H(0x5,_0x12c579(_0x357eea)),H(0x6,_0x12c579(_0x5a8ad7)),H(0x7,_0x12c579(it)),H(0x8,_0x12c579(ve)),H(0x9,_0x326ad4),H(0xa,_0x22b074),H(0xb,_0x731c47),H(0xc,_0x37b46e(ht)),H(0xd,_0x37b46e(J))],Et);const js=_0x35edde('univer-pro.collaboration-client.network-condition.service');function Fs(_0x5394bf){var _0x1f2a32=_0x40c2d6,_0x46ab3f,_0x306980,_0x49c573,_0x559d57,_0x5d3f32;const _0x35467b=_0x5394bf[_0x1f2a32(0x27b)],_0x2c8d1d=JSON[_0x1f2a32(0x3ae)](_0x35467b);switch(_0x2c8d1d[_0x1f2a32(0x338)]){case F[_0x1f2a32(0x1bd)]:case F['HELLO']:{const _0x292398=_0x2c8d1d[_0x1f2a32(0x27d)];return{..._0x2c8d1d,'data':_0x292398,'cmd':_0x2c8d1d['cmd']};}case F[_0x1f2a32(0x103)]:{const _0x363b29=_0x2c8d1d[_0x1f2a32(0xf5)];return{..._0x2c8d1d,'data':_0x363b29,'cmd':_0x2c8d1d[_0x1f2a32(0x338)]};}case F[_0x1f2a32(0x20f)]:{const _0xea0315=_0x2c8d1d[_0x1f2a32(0x2d6)];switch(_0xea0315['eventID']){case _0x5eeaab['PERMISSION_REJ']:return{..._0x2c8d1d,'data':{..._0xea0315,'data':(_0x46ab3f=_0xea0315[_0x1f2a32(0x304)])==null?void 0x0:_0x46ab3f['cs']},'cmd':_0x2c8d1d[_0x1f2a32(0x338)]};case _0x5eeaab[_0x1f2a32(0x269)]:return{..._0x2c8d1d,'data':{..._0xea0315,'data':(_0x306980=_0xea0315[_0x1f2a32(0x2af)])==null?void 0x0:_0x306980['cs']},'cmd':_0x2c8d1d[_0x1f2a32(0x338)]};case _0x5eeaab['NEW_CHANGESETS']:return{..._0x2c8d1d,'data':{..._0xea0315,'data':(_0x49c573=_0xea0315[_0x1f2a32(0xd9)])==null?void 0x0:_0x49c573['cs']},'cmd':_0x2c8d1d[_0x1f2a32(0x338)]};case _0x5eeaab['CHANGESET_REJ']:return{..._0x2c8d1d,'data':{..._0xea0315,'data':(_0x559d57=_0xea0315[_0x1f2a32(0x2f0)])==null?void 0x0:_0x559d57['cs']},'cmd':_0x2c8d1d['cmd']};case _0x5eeaab['CHANGESET_SHOULD_RETRY']:return{..._0x2c8d1d,'data':{..._0xea0315,'data':(_0x5d3f32=_0xea0315['csShouldRetryEvent'])==null?void 0x0:_0x5d3f32['cs']},'cmd':_0x2c8d1d[_0x1f2a32(0x338)]};case _0x5eeaab[_0x1f2a32(0x2c7)]:return{..._0x2c8d1d,'data':{..._0xea0315,'data':_0xea0315[_0x1f2a32(0x37b)]},'cmd':_0x2c8d1d[_0x1f2a32(0x338)]};case _0x5eeaab[_0x1f2a32(0xf4)]:return{..._0x2c8d1d,'data':{..._0xea0315,'data':_0xea0315['joinEvent']},'cmd':_0x2c8d1d[_0x1f2a32(0x338)]};case _0x5eeaab[_0x1f2a32(0xfe)]:return{..._0x2c8d1d,'data':{..._0xea0315,'data':_0xea0315[_0x1f2a32(0xe4)]},'cmd':_0x2c8d1d[_0x1f2a32(0x338)]};case _0x5eeaab[_0x1f2a32(0x2ec)]:return{..._0x2c8d1d,'data':{..._0xea0315,'data':_0xea0315[_0x1f2a32(0x31f)]},'cmd':_0x2c8d1d[_0x1f2a32(0x338)]};case _0x5eeaab[_0x1f2a32(0x239)]:case _0x5eeaab['LIVESHARE_OPERATION']:return{..._0x2c8d1d,'data':{..._0xea0315,'data':_0xea0315[_0x1f2a32(0xd0)]},'cmd':_0x2c8d1d[_0x1f2a32(0x338)]};case _0x5eeaab[_0x1f2a32(0xd8)]:return{..._0x2c8d1d,'data':{..._0xea0315,'data':_0xea0315[_0x1f2a32(0x31f)]},'cmd':_0x2c8d1d[_0x1f2a32(0x338)]};case _0x5eeaab[_0x1f2a32(0x1e0)]:return{..._0x2c8d1d,'data':_0xea0315,'cmd':_0x2c8d1d[_0x1f2a32(0x338)]};case _0x5eeaab[_0x1f2a32(0x247)]:return{..._0x2c8d1d,'data':{..._0xea0315,'data':_0xea0315[_0x1f2a32(0x185)]},'cmd':_0x2c8d1d[_0x1f2a32(0x338)]};case _0x5eeaab['UPDATE_PERMISSION_OBJ']:return{..._0x2c8d1d,'data':{..._0xea0315,'data':_0xea0315['updatePermissionObjEvent']},'cmd':_0x2c8d1d[_0x1f2a32(0x338)]};case _0x5eeaab[_0x1f2a32(0x32a)]:return{..._0x2c8d1d,'data':{..._0xea0315,'data':_0xea0315[_0x1f2a32(0x208)]},'cmd':_0x2c8d1d[_0x1f2a32(0x338)]};case _0x5eeaab[_0x1f2a32(0x170)]:return{..._0x2c8d1d,'data':{..._0xea0315,'data':_0xea0315['uniscriptRunEvent']},'cmd':_0x2c8d1d[_0x1f2a32(0x338)]};default:return _0x2c8d1d;}}default:return _0x2c8d1d;}}function Vs(_0x418129){var _0xe0732a=_0x40c2d6;switch(_0x418129[_0xe0732a(0x338)]){case F[_0xe0732a(0x1bd)]:case F[_0xe0732a(0x2cb)]:return JSON[_0xe0732a(0x309)]({'cmd':_0x418129['cmd'],'routeKey':_0x418129['routeKey']});case F[_0xe0732a(0xbc)]:{let _0x2a0043;switch(_0x418129[_0xe0732a(0x27b)]['eventID']){case _0x5eeaab[_0xe0732a(0x2c7)]:{_0x2a0043={'eventID':_0x5eeaab[_0xe0732a(0x2c7)],'updateCursorEvent':_0x418129['data'][_0xe0732a(0x27b)]};break;}case _0x5eeaab[_0xe0732a(0xfe)]:{_0x2a0043={'eventID':_0x5eeaab[_0xe0732a(0xfe)],'leaveEvent':_0x418129['data'][_0xe0732a(0x27b)]};break;}case _0x5eeaab[_0xe0732a(0xf4)]:{_0x2a0043={'eventID':_0x5eeaab['USERS_ENTER'],'joinEvent':_0x418129[_0xe0732a(0x27b)][_0xe0732a(0x27b)]};break;}case _0x5eeaab[_0xe0732a(0x2ec)]:{_0x2a0043={'eventID':_0x5eeaab[_0xe0732a(0x2ec)],'liveShareNewHost':_0x418129[_0xe0732a(0x27b)]['data']};break;}case _0x5eeaab[_0xe0732a(0x204)]:{_0x2a0043={'eventID':_0x5eeaab[_0xe0732a(0x204)],'liveShareOperation':_0x418129[_0xe0732a(0x27b)][_0xe0732a(0x27b)]};break;}case _0x5eeaab[_0xe0732a(0xd8)]:{_0x2a0043={'eventID':_0x5eeaab[_0xe0732a(0xd8)],'liveShareTerminate':_0x418129[_0xe0732a(0x27b)]['data']};break;}case _0x5eeaab[_0xe0732a(0x399)]:{_0x2a0043={'eventID':_0x5eeaab['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x418129[_0xe0732a(0x27b)][_0xe0732a(0x27b)]};break;}case _0x5eeaab[_0xe0732a(0x239)]:{_0x2a0043={'eventID':_0x5eeaab[_0xe0732a(0x239)]};break;}default:_0x2a0043={'eventID':_0x418129['data'][_0xe0732a(0x188)]};}return JSON[_0xe0732a(0x309)]({'cmd':_0x418129[_0xe0732a(0x338)],'routeKey':_0x418129[_0xe0732a(0x28c)],'collaMsg':_0x2a0043});}case F[_0xe0732a(0x103)]:return JSON['stringify']({'cmd':_0x418129[_0xe0732a(0x338)],'routeKey':_0x418129[_0xe0732a(0x28c)],'joinReq':_0x418129['data']});case F[_0xe0732a(0x2de)]:return JSON['stringify']({'cmd':_0x418129[_0xe0732a(0x338)],'routeKey':_0x418129[_0xe0732a(0x28c)],'leaveReq':_0x418129[_0xe0732a(0x27b)]});default:throw new Error(_0xe0732a(0x240));}}var Ws=Object['getOwnPropertyDescriptor'],Gs=(_0x2086df,_0x4b247e,_0x4c2aec,_0x12f2d5)=>{var _0x5bcfbe=_0x40c2d6;for(var _0x96877=_0x12f2d5>0x1?void 0x0:_0x12f2d5?Ws(_0x4b247e,_0x4c2aec):_0x4b247e,_0x4c1277=_0x2086df[_0x5bcfbe(0x2c2)]-0x1,_0x561354;_0x4c1277>=0x0;_0x4c1277--)(_0x561354=_0x2086df[_0x4c1277])&&(_0x96877=_0x561354(_0x96877)||_0x96877);return _0x96877;},De=(_0x241a5e,_0x3380be)=>(_0x2cde00,_0x3a5c8f)=>_0x3380be(_0x2cde00,_0x3a5c8f,_0x241a5e);const Ci=_0x35edde(_0x40c2d6(0x263));function Ys(_0x37e7ab,_0x322483,_0xec506c){var _0x34b835=_0x40c2d6;return _0x37e7ab+'/'+_0x322483+_0x34b835(0x353)+_0xec506c+_0x34b835(0x19c);}let Gt=class extends _0x31dec1{constructor(_0x313726,_0x3a1e5e,_0x5aab46,_0x5a92c1,_0x1678a6){var _0x20d02a=_0x40c2d6;super(),this[_0x20d02a(0xb6)]=_0x313726,this[_0x20d02a(0x34f)]=_0x3a1e5e,this[_0x20d02a(0x38b)]=_0x5aab46,this['_logService']=_0x5a92c1,this[_0x20d02a(0x24d)]=_0x1678a6;}[_0x40c2d6(0x198)](_0x990ec1){var _0xf7baaf=_0x40c2d6;const _0x7fa96=this['_injector'][_0xf7baaf(0x159)](_0x79ce6a);if(!_0x7fa96)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x3895af=_0x7fa96[_0xf7baaf(0x11c)](_0x990ec1);if(!_0x3895af)throw new Error(_0xf7baaf(0x17d));const _0xb98b29=new _0x213819(),_0x20890b=new _0x48735b();_0xb98b29[_0xf7baaf(0x21c)](_0x3895af[_0xf7baaf(0x116)][_0xf7baaf(0x1f8)](_0x43ec2b=>_0x20890b[_0xf7baaf(0x2fc)](_0x43ec2b))),_0xb98b29['add'](_0x3ef1b1(()=>_0x20890b['complete']()));const _0x4538a2=new _0x48735b();_0xb98b29[_0xf7baaf(0x21c)](_0x3895af[_0xf7baaf(0x173)]['subscribe'](_0x5c0c7b=>_0x4538a2[_0xf7baaf(0x2fc)](_0x5c0c7b))),_0xb98b29['add'](_0x3ef1b1(()=>_0x4538a2[_0xf7baaf(0x1f1)]()));const _0x40fbb4=new _0x48735b();_0xb98b29[_0xf7baaf(0x21c)](_0x3895af['message$'][_0xf7baaf(0x1f8)](_0x2d00eb=>{var _0xaad229=_0xf7baaf;const _0x4a975f=Fs(_0x2d00eb);_0x40fbb4[_0xaad229(0x2fc)](_0x4a975f);})),_0xb98b29[_0xf7baaf(0x21c)](_0x3ef1b1(()=>_0x40fbb4[_0xf7baaf(0x1f1)]()));let _0x514444;const _0x2c73fc=()=>{var _0x121431=_0xf7baaf;_0x4538a2['next'](new Event('connection\x20error')),_0x20890b[_0x121431(0x2fc)](new Event(_0x121431(0x2cc))),_0x514444[_0x121431(0x3b8)]();};return _0x514444={'memberID':'','close$':_0x20890b[_0xf7baaf(0x291)](),'error$':_0x4538a2[_0xf7baaf(0x291)](),'open$':_0x3895af['open$'],'message$':_0x40fbb4[_0xf7baaf(0x291)](),'send':_0x178124=>{var _0x3f8cf9=_0xf7baaf;if(_0x178124[_0x3f8cf9(0x338)]===F[_0x3f8cf9(0xbc)]){if(_0x178124[_0x3f8cf9(0x27b)][_0x3f8cf9(0x188)]===_0x5eeaab[_0x3f8cf9(0x18f)]){this[_0x3f8cf9(0x1e5)](_0x514444,_0x178124[_0x3f8cf9(0x27b)])[_0x3f8cf9(0x1b2)](_0x3b3905=>{var _0x5bfd53=_0x3f8cf9;this['_logService'][_0x5bfd53(0x288)](_0x3b3905),_0x2c73fc();});return;}if(_0x178124[_0x3f8cf9(0x27b)][_0x3f8cf9(0x188)]===_0x5eeaab[_0x3f8cf9(0xe8)]){const _0x2d3e51=_0x178124[_0x3f8cf9(0x27b)];this[_0x3f8cf9(0x334)](_0x2d3e51)[_0x3f8cf9(0x29e)](_0x5dedbb=>{var _0x551a8a=_0x3f8cf9;_0x40fbb4[_0x551a8a(0x2fc)]({'cmd':F[_0x551a8a(0x20f)],'code':pe['OK'],'routeKey':_0x2d3e51['data'][_0x551a8a(0x257)],'routeType':'','data':{'eventID':_0x5eeaab['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x5dedbb}}});})['catch'](_0x1a817f=>{var _0x46d8be=_0x3f8cf9;this[_0x46d8be(0x16b)][_0x46d8be(0x288)](_0x1a817f),_0x2c73fc();});return;}}_0x3895af[_0x3f8cf9(0x26d)](Vs(_0x178124));},'close':()=>{_0x3895af['close'](),_0xb98b29['dispose']();}},_0x514444;}async[_0x40c2d6(0x1e5)](_0x5dca77,_0x484efe){var _0x58b9c9=_0x40c2d6,_0x3eba33;const {unitType:_0x119688,unitID:_0x7e57b7,changeset:_0x53246e}=_0x484efe['data'],_0xf3339f={'unitID':_0x7e57b7,'memberID':_0x5dca77[_0x58b9c9(0x274)],'type':_0x119688,'changeset':_0x571974(_0x53246e)},_0x1375c5=this['_configService'][_0x58b9c9(0x2dc)](K),_0x30fb4a=Ys((_0x3eba33=_0x1375c5==null?void 0x0:_0x1375c5[_0x58b9c9(0x3a0)])!=null?_0x3eba33:Cs,_0x119688,_0x7e57b7);try{await this[_0x58b9c9(0x34f)][_0x58b9c9(0x14c)](_0x30fb4a,{'body':_0xf3339f});}catch(_0x1944d2){throw this[_0x58b9c9(0x16b)]['error']('[CollaborationSession]',_0x58b9c9(0x146)),_0x1944d2;}}async[_0x40c2d6(0x334)](_0x197bdc){var _0x38ab53=_0x40c2d6;const {unitID:_0x1aabaa,from:_0x1e7963,to:_0x57d935,unitType:_0x42cb24}=_0x197bdc[_0x38ab53(0x27b)];return(await this[_0x38ab53(0x24d)][_0x38ab53(0x1e8)]({'metadata':void 0x0},{'unitID':_0x1aabaa,'type':_0x42cb24,'from':_0x1e7963,'to':_0x57d935}))[_0x38ab53(0x25e)];}};Gt=Gs([De(0x0,_0x12c579(_0x317612)),De(0x1,_0x12c579(_0x474636)),De(0x2,_0x1ea92f),De(0x3,_0x326ad4),De(0x4,_0x357fa6)],Gt);var Ks=Object[_0x40c2d6(0x1d5)],qs=(_0x29b0a7,_0x48b249,_0x2b1d85,_0x34b116)=>{var _0x5aeb41=_0x40c2d6;for(var _0x22a102=_0x34b116>0x1?void 0x0:_0x34b116?Ks(_0x48b249,_0x2b1d85):_0x48b249,_0x57b086=_0x29b0a7[_0x5aeb41(0x2c2)]-0x1,_0xf153a6;_0x57b086>=0x0;_0x57b086--)(_0xf153a6=_0x29b0a7[_0x57b086])&&(_0x22a102=_0xf153a6(_0x22a102)||_0x22a102);return _0x22a102;},Re=(_0xd4bba0,_0x579813)=>(_0x381d26,_0x3dd94d)=>_0x579813(_0x381d26,_0x3dd94d,_0xd4bba0);let Pe=class extends _0x31dec1{constructor(_0x3e76ed,_0xf892e1,_0x455ab4,_0x1f3d50,_0x18d285,_0x2b9b26){var _0x268613=_0x40c2d6;super(),N(this,_0x268613(0x199),new _0x3a215e(void 0x0)),N(this,_0x268613(0x315),this[_0x268613(0x199)][_0x268613(0x291)]()),N(this,'_candidateSocket',null),N(this,_0x268613(0xee),new Map()),N(this,_0x268613(0x167),new _0x3a215e(ge[_0x268613(0x299)])),N(this,_0x268613(0x121),this['_status$'][_0x268613(0x291)]()),N(this,_0x268613(0x24e),!0x1),N(this,_0x268613(0x1d4)),N(this,_0x268613(0xfd),0x0),N(this,_0x268613(0x1a1)),N(this,_0x268613(0x231)),(this['_injector']=_0x3e76ed,this[_0x268613(0x16b)]=_0xf892e1,this[_0x268613(0x38b)]=_0x455ab4,this[_0x268613(0xea)]=_0x1f3d50,this[_0x268613(0x27e)]=_0x18d285,this[_0x268613(0x211)]=_0x2b9b26,this[_0x268613(0x19a)]());}get[_0x40c2d6(0x143)](){var _0x2753a5=_0x40c2d6;return this[_0x2753a5(0x199)]['getValue']();}[_0x40c2d6(0x19a)](){var _0x43bc05=_0x40c2d6;this[_0x43bc05(0x211)]&&this[_0x43bc05(0x287)](this[_0x43bc05(0x211)][_0x43bc05(0x321)][_0x43bc05(0x1f8)](_0x1138ed=>{var _0x2ea87d=_0x43bc05;_0x1138ed&&!this[_0x2ea87d(0x143)]&&this['reconnect'](),_0x1138ed||this[_0x2ea87d(0x250)]();}));}['dispose'](){var _0x15300e=_0x40c2d6;super[_0x15300e(0xb8)](),this[_0x15300e(0x30b)](),this['_clearTimeoutTimer'](),this[_0x15300e(0xf0)](),this[_0x15300e(0xee)]['forEach'](_0xaf5894=>_0xaf5894[_0x15300e(0xb8)]()),this[_0x15300e(0xee)][_0x15300e(0x1bc)](),this[_0x15300e(0x167)][_0x15300e(0x1f1)]();}async[_0x40c2d6(0x27c)](_0x4a7e88){var _0x495711=_0x40c2d6;if(this['_sessions']['has'](_0x4a7e88))return this[_0x495711(0xee)][_0x495711(0x159)](_0x4a7e88);this[_0x495711(0x2bd)]();const _0x2ced45=this[_0x495711(0xb6)][_0x495711(0x32c)](gt,_0x4a7e88,this[_0x495711(0x199)][_0x495711(0x291)]());return this[_0x495711(0xee)][_0x495711(0x25c)](_0x4a7e88,_0x2ced45),_0x2ced45;}[_0x40c2d6(0x21d)](_0x36726b){var _0x1201d4=_0x40c2d6,_0x591a21;const _0xf3c31e=this['_sessions'][_0x1201d4(0x159)](_0x36726b);_0xf3c31e&&(this[_0x1201d4(0xee)][_0x1201d4(0x2a6)](_0x36726b),_0xf3c31e['close']()),this['_sessions'][_0x1201d4(0x1f9)]||(_0x591a21=this[_0x1201d4(0x143)])==null||_0x591a21[_0x1201d4(0x3b8)]();}[_0x40c2d6(0x1f3)](){var _0x1b4218=_0x40c2d6;this['_retryCount']=0x0,this[_0x1b4218(0x30b)](),this[_0x1b4218(0x1dc)]();}[_0x40c2d6(0x30b)](){var _0x190111=_0x40c2d6;this[_0x190111(0x1d4)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x190111(0x1d4)]=null);}async['_createSocket'](){var _0x4eb3ef=_0x40c2d6,_0x230554;const _0x1fc2e4=this[_0x4eb3ef(0x38b)]['getConfig'](K),_0x4e31dd=(_0x230554=_0x1fc2e4==null?void 0x0:_0x1fc2e4['collabWebSocketUrl'])!=null?_0x230554:ms,_0x33fb58=await this['_socketService'][_0x4eb3ef(0x11c)](_0x4e31dd);return this[_0x4eb3ef(0xec)]=_0x33fb58,_0x33fb58;}async[_0x40c2d6(0x2bd)](){var _0x482a8b=_0x40c2d6,_0x4a8f9e,_0x406458;try{const _0xa609d7=(_0x406458=(_0x4a8f9e=this[_0x482a8b(0x143)])!=null?_0x4a8f9e:this['_candidateSocket'])!=null?_0x406458:await this[_0x482a8b(0x1c0)]();if(_0xa609d7){const _0x1c7901=_0xa609d7[_0x482a8b(0x26d)];_0xa609d7[_0x482a8b(0x26d)]=_0xefe731=>(this[_0x482a8b(0x260)](),_0x1c7901[_0x482a8b(0x375)](_0xa609d7,[_0xefe731])),_0xa609d7[_0x482a8b(0x1f5)]['subscribe'](_0x2ee0d7=>this[_0x482a8b(0xc2)](_0xa609d7,_0x2ee0d7)),_0xa609d7[_0x482a8b(0x173)][_0x482a8b(0x3a8)](_0x3cb6f1(0x1))['subscribe'](_0x5c3a61=>this[_0x482a8b(0x16b)][_0x482a8b(0x288)](_0x482a8b(0x378),_0x5c3a61)),_0xa609d7[_0x482a8b(0x324)]['pipe'](_0x3cb6f1(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0xa609d7);}),_0xa609d7['close$'][_0x482a8b(0x3a8)](_0x3cb6f1(0x1))[_0x482a8b(0x1f8)](_0xe8c11a=>{var _0x329bc2=_0x482a8b;this[_0x329bc2(0x16b)][_0x329bc2(0x2e6)](_0x329bc2(0x1a2),_0x329bc2(0x26f),_0xe8c11a),this['_onConnectionFailed']();});}}catch(_0x1e4248){this[_0x482a8b(0x16b)][_0x482a8b(0x288)](_0x1e4248),this['_onConnectionFailed']();}}[_0x40c2d6(0x339)](_0x28e61e){var _0x1a9b18=_0x40c2d6;this['_logService'][_0x1a9b18(0x2e6)](_0x1a9b18(0x1a2),_0x1a9b18(0x176)),_0x28e61e[_0x1a9b18(0x26d)]({'cmd':F[_0x1a9b18(0x2cb)]}),this[_0x1a9b18(0x260)]();}[_0x40c2d6(0x250)](){var _0x259fe7=_0x40c2d6;this[_0x259fe7(0x24e)]=!0x1,this[_0x259fe7(0xec)]=null,this['_status$'][_0x259fe7(0x2fc)](ge[_0x259fe7(0x301)]),this[_0x259fe7(0x199)]['next'](null),this[_0x259fe7(0xf9)](),this[_0x259fe7(0xf0)]();}[_0x40c2d6(0x234)](){var _0x2fe24e=_0x40c2d6,_0x5bebda;this[_0x2fe24e(0x250)](),this[_0x2fe24e(0xfd)]<((_0x5bebda=this[_0x2fe24e(0x38b)][_0x2fe24e(0x2dc)](Is))!=null?_0x5bebda:Ts)?(this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x2fe24e(0x11f)]}),this[_0x2fe24e(0x1dc)]()):this[_0x2fe24e(0x27e)]['emitEvent']({'id':ne[_0x2fe24e(0xe0)]});}[_0x40c2d6(0x1dc)](){var _0x44f3a2=_0x40c2d6,_0x271c50;const _0x4d7fe3=this[_0x44f3a2(0xfd)],_0x2e3824=this[_0x44f3a2(0x38b)][_0x44f3a2(0x2dc)](K),_0x5d589d=_0x4d7fe3===0x0?0x0:((_0x271c50=_0x2e3824==null?void 0x0:_0x2e3824[_0x44f3a2(0x379)])!=null?_0x271c50:Es)*0x2**_0x4d7fe3;this[_0x44f3a2(0x1d4)]=setTimeout(()=>{var _0x5284f3=_0x44f3a2;clearTimeout(this[_0x5284f3(0x1d4)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x5d589d),this[_0x44f3a2(0xfd)]+=0x1;}[_0x40c2d6(0xc2)](_0xcf2ec,_0x59f18c){var _0x3104b4=_0x40c2d6;const {cmd:_0x10f013}=_0x59f18c;_0x10f013===F['HELLO']&&!this['_socketReady']&&(_0xcf2ec[_0x3104b4(0x274)]=_0x59f18c[_0x3104b4(0x27b)][_0x3104b4(0x274)],this[_0x3104b4(0x199)][_0x3104b4(0x2fc)](_0xcf2ec),this[_0x3104b4(0x167)][_0x3104b4(0x2fc)](ge['ONLINE']),this[_0x3104b4(0x24e)]=!0x0,this[_0x3104b4(0xec)]=null),_0x10f013===F['HEARTBEAT']&&this[_0x3104b4(0xf9)](),this[_0x3104b4(0x260)]();}[_0x40c2d6(0x260)](){var _0x2ece50=_0x40c2d6,_0xde02af;this['_clearHeartbeatTimer'](),this[_0x2ece50(0x1a1)]=setTimeout(()=>this[_0x2ece50(0x2f8)](),(_0xde02af=this[_0x2ece50(0x38b)][_0x2ece50(0x2dc)](gs))!=null?_0xde02af:Ss);}['_sendHeartbeat'](){var _0x1c1c39=_0x40c2d6;this[_0x1c1c39(0x143)][_0x1c1c39(0x26d)]({'cmd':F[_0x1c1c39(0x1bd)]}),this[_0x1c1c39(0x2ef)]();}[_0x40c2d6(0x2ef)](){var _0x228fc4=_0x40c2d6,_0x18e183;this[_0x228fc4(0x231)]=setTimeout(()=>this[_0x228fc4(0x234)](),(_0x18e183=this['_configService'][_0x228fc4(0x2dc)](di))!=null?_0x18e183:fi);}['_clearHeartbeatTimer'](){var _0x3c7427=_0x40c2d6;this[_0x3c7427(0x1a1)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x33d472=_0x40c2d6;this[_0x33d472(0x231)]!=null&&(clearTimeout(this[_0x33d472(0x231)]),this['_timeoutTimer']=null);}};Pe=qs([Re(0x0,_0x12c579(_0x317612)),Re(0x1,_0x326ad4),Re(0x2,_0x1ea92f),Re(0x3,Ci),Re(0x4,_0x12c579(ve)),Re(0x5,_0x37b46e(js))],Pe);var zs=Object['getOwnPropertyDescriptor'],Js=(_0x594a59,_0x5e7257,_0x25d733,_0x26d69a)=>{var _0x288bf9=_0x40c2d6;for(var _0x59bf9f=_0x26d69a>0x1?void 0x0:_0x26d69a?zs(_0x5e7257,_0x25d733):_0x5e7257,_0x92a61e=_0x594a59[_0x288bf9(0x2c2)]-0x1,_0x2468b7;_0x92a61e>=0x0;_0x92a61e--)(_0x2468b7=_0x594a59[_0x92a61e])&&(_0x59bf9f=_0x2468b7(_0x59bf9f)||_0x59bf9f);return _0x59bf9f;},Be=(_0x404d62,_0x3c55e0)=>(_0x27d6da,_0x30b287)=>_0x3c55e0(_0x27d6da,_0x30b287,_0x404d62);let nt=class extends _0x5a7cdf{constructor(_0x563937,_0x435a0e,_0x20ce6f,_0x224c29){var _0x3a5306=_0x40c2d6,_0xd8ae8c;super(),N(this,_0x3a5306(0x2bf),new Map()),N(this,'_entityInit$',new _0x48735b()),N(this,'entityInit$',this[_0x3a5306(0x10e)][_0x3a5306(0x291)]()),(this[_0x3a5306(0xb6)]=_0x563937,this['_collabSessionService']=_0x435a0e,this[_0x3a5306(0x38b)]=_0x20ce6f,this[_0x3a5306(0x214)]=_0x224c29,((_0xd8ae8c=this[_0x3a5306(0x38b)][_0x3a5306(0x2dc)](K))==null?void 0x0:_0xd8ae8c[_0x3a5306(0x328)])!==!0x1&&this['_init']());}[_0x40c2d6(0xb8)](){var _0x1614cc=_0x40c2d6;super[_0x1614cc(0xb8)](),this[_0x1614cc(0x2bf)]['forEach'](_0x1a3297=>_0x1a3297[_0x1614cc(0xb8)]()),this[_0x1614cc(0x2bf)][_0x1614cc(0x1bc)]();}[_0x40c2d6(0x221)](_0x3a09eb){var _0x441eb0=_0x40c2d6,_0x21d71c;return(_0x21d71c=this[_0x441eb0(0x2bf)]['get'](_0x3a09eb))!=null?_0x21d71c:null;}['getCollabEntity$'](_0x2e4898){var _0x1904c0=_0x40c2d6;const _0x395f26=this[_0x1904c0(0x221)](_0x2e4898);return _0x395f26?_0x781c4f(_0x395f26):this[_0x1904c0(0x10e)][_0x1904c0(0x3a8)](_0x3d048f(_0x5f3351=>_0x5f3351[_0x1904c0(0x257)]===_0x2e4898));}['readyForCollab'](_0x4d2682){var _0x3b17b1=_0x40c2d6;return _0x553d98(this[_0x3b17b1(0x117)](_0x4d2682)[_0x3b17b1(0x3a8)](_0x350589(()=>{})));}[_0x40c2d6(0x165)](){var _0x2a467b=_0x40c2d6;this[_0x2a467b(0x214)][_0x2a467b(0x266)](_0x272081[_0x2a467b(0x1b4)])[_0x2a467b(0x3a8)](_0xa5ce7c(this[_0x2a467b(0x34e)]),_0x4a4793(0x10))['subscribe'](async _0x26fd39=>{var _0x33cd1a=_0x2a467b;const _0x230564=_0x26fd39['getUnitId'](),_0x42e48b=await this[_0x33cd1a(0x218)](_0x230564,Z[_0x33cd1a(0x1b4)]);this['_entities'][_0x33cd1a(0x25c)](_0x230564,_0x42e48b);}),this['_univerInstanceService'][_0x2a467b(0x266)](_0x272081[_0x2a467b(0x246)])[_0x2a467b(0x3a8)](_0xa5ce7c(this[_0x2a467b(0x34e)]),_0x4a4793(0x10))[_0x2a467b(0x3a8)](_0x3d048f(_0xce172a=>!_0xce172a[_0x2a467b(0x2cf)]()['startsWith']('__')))['subscribe'](async _0x587667=>{var _0xb8c9e2=_0x2a467b;const _0x52ef8f=_0x587667[_0xb8c9e2(0x2cf)](),_0x25e71e=await this[_0xb8c9e2(0x218)](_0x52ef8f,Z['UNIVER_DOC']);this[_0xb8c9e2(0x2bf)][_0xb8c9e2(0x25c)](_0x52ef8f,_0x25e71e);}),_0x386648(this[_0x2a467b(0x214)]['getTypeOfUnitDisposed$'](_0x272081[_0x2a467b(0x1b4)]),this[_0x2a467b(0x214)][_0x2a467b(0xbd)](_0x272081[_0x2a467b(0x246)]))[_0x2a467b(0x3a8)](_0xa5ce7c(this['dispose$']))[_0x2a467b(0x1f8)](_0x2aca8e=>{var _0x15fb8b=_0x2a467b;const _0x41c752=_0x2aca8e['getUnitId'](),_0x4a9896=this[_0x15fb8b(0x2bf)][_0x15fb8b(0x159)](_0x41c752);_0x4a9896&&(_0x4a9896[_0x15fb8b(0xb8)](),this['_entities']['delete'](_0x41c752));});}async[_0x40c2d6(0x218)](_0x418be2,_0x14973d){var _0xa4b79a=_0x40c2d6;const _0x30a952=await this[_0xa4b79a(0xf8)]['requireSession'](_0x418be2),_0x21f605=this[_0xa4b79a(0xb6)][_0xa4b79a(0x32c)](this[_0xa4b79a(0x29b)](_0x14973d),_0x418be2,_0x14973d,_0x30a952);return await _0x21f605[_0xa4b79a(0x36a)](),this[_0xa4b79a(0x10e)]['next'](_0x21f605),_0x21f605;}[_0x40c2d6(0x29b)](_0x259c28){var _0x274977=_0x40c2d6;switch(_0x259c28){case Z[_0x274977(0x246)]:return St;case Z['UNIVER_SHEET']:return Et;default:throw new Error(_0x274977(0x203)+_0x259c28);}}};nt=Js([Be(0x0,_0x12c579(_0x317612)),Be(0x1,_0x12c579(Pe)),Be(0x2,_0x1ea92f),Be(0x3,_0x1195d0)],nt);var Xs=Object[_0x40c2d6(0x1d5)],Zs=(_0x109016,_0x42c837,_0x461ace,_0x344d09)=>{for(var _0x16c697=_0x344d09>0x1?void 0x0:_0x344d09?Xs(_0x42c837,_0x461ace):_0x42c837,_0x37b58f=_0x109016['length']-0x1,_0x26350f;_0x37b58f>=0x0;_0x37b58f--)(_0x26350f=_0x109016[_0x37b58f])&&(_0x16c697=_0x26350f(_0x16c697)||_0x16c697);return _0x16c697;},Yt=(_0x45e012,_0x480baf)=>(_0xd310f0,_0x2ab1c0)=>_0x480baf(_0xd310f0,_0x2ab1c0,_0x45e012);const Qs='DEFAULT_FILE_NAME',en='Univer';let It=class extends _0x31dec1{constructor(_0x258ee3,_0x59db30){var _0x5e1eff=_0x40c2d6;super(),this['_univerInstanceService']=_0x258ee3,this[_0x5e1eff(0x38b)]=_0x59db30,this[_0x5e1eff(0x165)]();}['_init'](){var _0x3ba992=_0x40c2d6;this[_0x3ba992(0x287)](this[_0x3ba992(0x214)][_0x3ba992(0x25b)][_0x3ba992(0x1f8)](()=>{var _0x56d663=_0x3ba992,_0x547e7f;const _0x3b8f9f=this[_0x56d663(0x214)][_0x56d663(0x33c)]();let _0x1c3d63=(_0x547e7f=this[_0x56d663(0x38b)][_0x56d663(0x2dc)](Qs))!=null?_0x547e7f:en;_0x3b8f9f instanceof _0x57e008&&(_0x1c3d63=_0x3b8f9f[_0x56d663(0x23a)]),document[_0x56d663(0x277)]=_0x1c3d63;}));}};It=Zs([Yt(0x0,_0x1195d0),Yt(0x1,_0x1ea92f)],It);var tn=Object[_0x40c2d6(0x1d5)],sn=(_0x1f151e,_0x34b8b6,_0x272956,_0x1c213e)=>{var _0x1d713b=_0x40c2d6;for(var _0x147b3f=_0x1c213e>0x1?void 0x0:_0x1c213e?tn(_0x34b8b6,_0x272956):_0x34b8b6,_0x360d38=_0x1f151e[_0x1d713b(0x2c2)]-0x1,_0x3f93b8;_0x360d38>=0x0;_0x360d38--)(_0x3f93b8=_0x1f151e[_0x360d38])&&(_0x147b3f=_0x3f93b8(_0x147b3f)||_0x147b3f);return _0x147b3f;},dt=(_0x429173,_0x2c4631)=>(_0x1912f4,_0x17653b)=>_0x2c4631(_0x1912f4,_0x17653b,_0x429173);let rt=class{constructor(_0x4cbe3a,_0x42cc19,_0x32dc89){var _0x2e78e7=_0x40c2d6;this['_configService']=_0x4cbe3a,this[_0x2e78e7(0x34f)]=_0x42cc19,this['localeService']=_0x32dc89,this[_0x2e78e7(0x36a)]();}[_0x40c2d6(0x36a)](){var _0x4f480a=_0x40c2d6;this[_0x4f480a(0x34f)][_0x4f480a(0x3ad)]({'priority':0x1,'interceptor':(_0x4b7078,_0x4c3b7f)=>_0x4c3b7f(_0x4b7078)[_0x4f480a(0x3a8)](_0x1cfa62(async _0x5ec18d=>{var _0x199809=_0x4f480a;const _0x1037a2=_0x5ec18d;if(_0x1037a2[_0x199809(0x12e)]===0x191){if(typeof window>'u')throw new Error(_0x199809(0x3ac));if(window[_0x199809(0x189)](this['localeService']['t'](_0x199809(0x261)))){const _0x2286a0=window[_0x199809(0x289)](window[_0x199809(0x1b1)]['href']);window[_0x199809(0x1b1)]['href']=this['_getLoginPath']()+_0x199809(0x31b)+_0x2286a0;}}return _0x1037a2;}))});}[_0x40c2d6(0x344)](){var _0x35e7ed=_0x40c2d6,_0x2de4a2;const _0x97f2ed=this['_configService'][_0x35e7ed(0x2dc)](K);return(_0x2de4a2=_0x97f2ed==null?void 0x0:_0x97f2ed[_0x35e7ed(0x11d)])!=null?_0x2de4a2:Rs;}};rt=sn([dt(0x0,_0x1ea92f),dt(0x1,_0x12c579(_0x474636)),dt(0x2,_0x12c579(_0x357eea))],rt);var nn=Object[_0x40c2d6(0x1d5)],rn=(_0x1ac218,_0x361a17,_0x5b74b1,_0x2c39ac)=>{var _0x7d3f52=_0x40c2d6;for(var _0x566a3d=_0x2c39ac>0x1?void 0x0:_0x2c39ac?nn(_0x361a17,_0x5b74b1):_0x361a17,_0x3f163d=_0x1ac218[_0x7d3f52(0x2c2)]-0x1,_0x110721;_0x3f163d>=0x0;_0x3f163d--)(_0x110721=_0x1ac218[_0x3f163d])&&(_0x566a3d=_0x110721(_0x566a3d)||_0x566a3d);return _0x566a3d;},Kt=(_0x145a51,_0xb6541e)=>(_0x4299aa,_0x3dc7ef)=>_0xb6541e(_0x4299aa,_0x3dc7ef,_0x145a51);const an=_0x40c2d6(0x111);let Tt=class extends _0x31dec1{constructor(_0x539569,_0x9634cc){var _0x588e1b=_0x40c2d6;super(),this[_0x588e1b(0x398)]=_0x539569,this['_configService']=_0x9634cc,this[_0x588e1b(0x373)]();}[_0x40c2d6(0x373)](){var _0x5eb6f1=_0x40c2d6;const _0xa91e31=this;this[_0x5eb6f1(0x287)](this['_HTTPService'][_0x5eb6f1(0x3ad)]({'priority':0x3e7,'interceptor':_0x4ffef2({'isMatch'(_0x20dddf){var _0x48704d=_0x5eb6f1,_0x1f6c47;if(_0x20dddf['method']==='POST'&&((_0x1f6c47=_0x20dddf[_0x48704d(0x29d)])!=null&&_0x1f6c47[_0x48704d(0x306)])){const {objectID:_0x5b62ee,objectType:_0x403af5}=_0x20dddf[_0x48704d(0x29d)][_0x48704d(0x306)]||{};if(!_0x5b62ee||_0x403af5===void 0x0)return!0x1;const _0x3d8913=_0xa91e31[_0x48704d(0x262)]()+'/'+_0x403af5+_0x48704d(0x2ed)+_0x5b62ee+_0x48704d(0x3a1);if(_0x20dddf[_0x48704d(0x3a3)]===_0x3d8913)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x18bd10){var _0x325055=_0x5eb6f1,_0x5663f0;return(_0x5663f0=_0x18bd10[_0x325055(0x29d)])==null?void 0x0:_0x5663f0[_0x325055(0x306)];},'mergeParamsToRequest'(_0x5218f6,_0x58b739){var _0xa50cec=_0x5eb6f1;const _0x4dba79=_0xa91e31[_0xa50cec(0x262)]()+_0xa50cec(0x1bf),_0x2d8090=_0x5218f6[_0xa50cec(0x3ba)]((_0x19656a,_0x6f04d7)=>{var _0x371dbf=_0xa50cec;const {unitID:_0x8c7c8,objectID:_0x59a39a,objectType:_0x5f553e,actions:_0x362977}=_0x6f04d7;return _0x19656a[_0x8c7c8]||(_0x19656a[_0x8c7c8]={}),_0x19656a[_0x8c7c8][_0x59a39a]||(_0x19656a[_0x8c7c8][_0x59a39a]={'objectID':_0x59a39a,'objectType':_0x5f553e,'actions':[]}),_0x19656a[_0x8c7c8][_0x59a39a][_0x371dbf(0x298)][_0x371dbf(0x1f6)](..._0x362977),_0x19656a;},{}),_0x423367=[];for(const _0x63f9a in _0x2d8090)for(const _0x964202 in _0x2d8090[_0x63f9a]){const {actions:_0x240d0e,objectType:_0x49c10a}=_0x2d8090[_0x63f9a][_0x964202],_0x3a24d9=[...new Set(_0x240d0e)];_0x423367[_0xa50cec(0x1f6)]({'unitID':_0x63f9a,'objectID':_0x964202,'objectType':_0x49c10a,'actions':_0x3a24d9});}return new _0x56f181(_0xa50cec(0x37e),_0x4dba79,{'headers':_0x58b739[_0xa50cec(0x2b3)],'withCredentials':_0x58b739[_0xa50cec(0x1ea)],'responseType':_0x58b739[_0xa50cec(0x109)],'body':{'requests':_0x423367}});}},{'distributeResult'(_0x4f740a,_0x3b4977){var _0x18205e=_0x5eb6f1;const {objectActions:_0x58a59d}=_0x4f740a;return _0x3b4977[_0x18205e(0x22e)](_0x3e4f88=>{var _0x4ab761=_0x18205e;const {unitID:_0x39f321,objectID:_0x5cb20e,actions:_0x22c723}=_0x3e4f88,_0x56cb20=_0x58a59d['find'](_0x519b5f=>_0x519b5f['unitID']===_0x39f321&&_0x519b5f['objectID']===_0x5cb20e),_0xa44038=_0x22c723[_0x4ab761(0x22e)](_0x41e31d=>_0x56cb20==null?void 0x0:_0x56cb20[_0x4ab761(0x298)][_0x4ab761(0x2b7)](_0x5561d6=>_0x5561d6['action']===_0x41e31d))[_0x4ab761(0x325)](_0x285c13=>!!_0x285c13);return{'config':_0x3e4f88,'result':{'actions':_0xa44038,'error':_0x4f740a[_0x4ab761(0x288)]}};});}})}));}['_getAPIPrefixPath'](){var _0x275d93=_0x40c2d6,_0x7f3cee;const _0xd2adbc=this[_0x275d93(0x38b)][_0x275d93(0x2dc)](K);return(_0x7f3cee=_0xd2adbc==null?void 0x0:_0xd2adbc[_0x275d93(0x14b)])!=null?_0x7f3cee:an;}async[_0x40c2d6(0x29c)](_0x2f370a){var _0x23f127=_0x40c2d6;const _0x3437e8=this[_0x23f127(0x262)]()+'/'+_0x2f370a[_0x23f127(0x372)]+_0x23f127(0x256);return(await this['_HTTPService'][_0x23f127(0x14c)](_0x3437e8,{'body':_0x2f370a}))[_0x23f127(0x306)][_0x23f127(0x335)]||'';}async[_0x40c2d6(0x395)](_0x41be1b){var _0x396977=_0x40c2d6;const _0x435706=this['_getAPIPrefixPath']()+_0x396977(0x35d);return(await this[_0x396977(0x398)][_0x396977(0x14c)](_0x435706,{'body':_0x41be1b}))[_0x396977(0x306)]['objects'];}async[_0x40c2d6(0x168)](_0x2fd2f0){var _0x9676e=_0x40c2d6,_0x21eb09,_0x47e9d0;const _0x18880b=this[_0x9676e(0x262)]()+'/'+_0x2fd2f0[_0x9676e(0x372)]+_0x9676e(0x2ed)+_0x2fd2f0[_0x9676e(0x335)],_0x3c3c30=await this[_0x9676e(0x398)][_0x9676e(0x2eb)](_0x18880b,{'body':_0x2fd2f0});if(((_0x47e9d0=(_0x21eb09=_0x3c3c30==null?void 0x0:_0x3c3c30[_0x9676e(0x306)])==null?void 0x0:_0x21eb09['error'])==null?void 0x0:_0x47e9d0[_0x9676e(0x313)])!==0x1)throw new Error(_0x9676e(0x36f));}async[_0x40c2d6(0x292)](_0x5ce07f){var _0x37a6ab=_0x40c2d6;const _0x3d7c89=this[_0x37a6ab(0x262)]()+'/'+_0x5ce07f[_0x37a6ab(0x372)]+_0x37a6ab(0x2ed)+_0x5ce07f['objectID']+_0x37a6ab(0x3a1);return(await this[_0x37a6ab(0x398)][_0x37a6ab(0x14c)](_0x3d7c89,{'body':_0x5ce07f}))[_0x37a6ab(0x306)][_0x37a6ab(0x298)];}async['batchAllowed'](_0x460fb2){var _0x53d9bc=_0x40c2d6;const _0x40cd48=this[_0x53d9bc(0x262)]()+_0x53d9bc(0x1bf);return(await this[_0x53d9bc(0x398)][_0x53d9bc(0x14c)](_0x40cd48,{'body':{'requests':_0x460fb2}}))[_0x53d9bc(0x306)][_0x53d9bc(0x1a5)];}async[_0x40c2d6(0xba)](_0x273e61){var _0x480822=_0x40c2d6;const _0x44de41=this[_0x480822(0x262)]()+'/'+_0x273e61[_0x480822(0x372)]+_0x480822(0x118),_0x514b94=await this[_0x480822(0x398)]['post'](_0x44de41,{'body':_0x273e61});return{'roles':_0x514b94[_0x480822(0x306)][_0x480822(0x2be)],'actions':_0x514b94[_0x480822(0x306)][_0x480822(0x298)]};}async[_0x40c2d6(0x104)](_0x82ee00){var _0xb6e9dc=_0x40c2d6;const _0x31c2c8=this[_0xb6e9dc(0x262)]()+_0xb6e9dc(0x18a);await this['_HTTPService'][_0xb6e9dc(0x2a6)](_0x31c2c8,{'params':{'collaboratorID':_0x82ee00[_0xb6e9dc(0x175)],'objectID':_0x82ee00[_0xb6e9dc(0x335)],'unitID':_0x82ee00[_0xb6e9dc(0x257)]}});}async['updateCollaborator'](_0x380e28){var _0x3a4184=_0x40c2d6;const _0x15daf7=this['_getAPIPrefixPath']()+_0x3a4184(0x18a);await this[_0x3a4184(0x398)][_0x3a4184(0x2d8)](_0x15daf7,{'body':_0x380e28});}async['createCollaborator'](_0x3a50c7){var _0x26c2d2=_0x40c2d6;const _0x3bb06c=this[_0x26c2d2(0x262)]()+'/collaborator';await this[_0x26c2d2(0x398)]['post'](_0x3bb06c,{'body':_0x3a50c7});}async['listCollaborators'](_0x8ab0b1){var _0x5e45cb=_0x40c2d6;const _0x38d1d5=this[_0x5e45cb(0x262)]()+_0x5e45cb(0x18a);return(await this[_0x5e45cb(0x398)][_0x5e45cb(0x159)](_0x38d1d5,{'params':{'objectID':_0x8ab0b1[_0x5e45cb(0x335)],'unitID':_0x8ab0b1[_0x5e45cb(0x257)]}}))[_0x5e45cb(0x306)]['collaborators'];}async[_0x40c2d6(0x39d)](_0x28c522){var _0x493f87=_0x40c2d6;const _0x57887d=this[_0x493f87(0x262)]()+_0x493f87(0x18a);await this[_0x493f87(0x398)][_0x493f87(0x2eb)](_0x57887d,{'body':_0x28c522});}};Tt=rn([Kt(0x0,_0x12c579(_0x474636)),Kt(0x1,_0x12c579(_0x1ea92f))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0xdd6335){var _0x31f64f=_0x40c2d6;return _0xdd6335&&_0xdd6335[_0x31f64f(0x2cd)]&&Object['prototype'][_0x31f64f(0x119)][_0x31f64f(0x23d)](_0xdd6335,'default')?_0xdd6335['default']:_0xdd6335;}var Ve={'exports':{}};function on(_0x27f01f){var _0x522526=_0x40c2d6;throw new Error(_0x522526(0x38a)+_0x27f01f+'\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[_0x40c2d6(0x272)],qt;function te(){return qt||(qt=0x1,function(_0x3a3ed0,_0xaf970){(function(_0xf0fe91,_0x1d6666){var _0x5799c1=_0x1af6;_0x3a3ed0[_0x5799c1(0x272)]=_0x1d6666();}(cn,function(){var _0x4d3129=_0x4d3129||function(_0x284429,_0x1c4c4b){var _0x1afa14=_0x1af6,_0x577bb8;if(typeof window<'u'&&window[_0x1afa14(0x1af)]&&(_0x577bb8=window[_0x1afa14(0x1af)]),typeof self<'u'&&self['crypto']&&(_0x577bb8=self[_0x1afa14(0x1af)]),typeof globalThis<'u'&&globalThis[_0x1afa14(0x1af)]&&(_0x577bb8=globalThis[_0x1afa14(0x1af)]),!_0x577bb8&&typeof window<'u'&&window[_0x1afa14(0x177)]&&(_0x577bb8=window[_0x1afa14(0x177)]),!_0x577bb8&&typeof ft<'u'&&ft[_0x1afa14(0x1af)]&&(_0x577bb8=ft['crypto']),!_0x577bb8&&typeof on=='function')try{_0x577bb8=require('crypto');}catch{}var _0x408828=function(){var _0x25da3b=_0x1afa14;if(_0x577bb8){if(typeof _0x577bb8['getRandomValues']==_0x25da3b(0x1b9))try{return _0x577bb8['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x577bb8[_0x25da3b(0x2df)]==_0x25da3b(0x1b9))try{return _0x577bb8[_0x25da3b(0x2df)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x25da3b(0x351));},_0x4417f6=Object[_0x1afa14(0x29c)]||(function(){function _0x531cbc(){}return function(_0x532ff6){var _0x57935f=_0x1af6,_0x99ef18;return _0x531cbc['prototype']=_0x532ff6,_0x99ef18=new _0x531cbc(),_0x531cbc[_0x57935f(0x133)]=null,_0x99ef18;};}()),_0x259b89={},_0x2a8441=_0x259b89['lib']={},_0x2ed57e=_0x2a8441[_0x1afa14(0x2fd)]=(function(){return{'extend':function(_0x38c7a1){var _0x2036d1=_0x1af6,_0xf9dd09=_0x4417f6(this);return _0x38c7a1&&_0xf9dd09[_0x2036d1(0x354)](_0x38c7a1),(!_0xf9dd09['hasOwnProperty'](_0x2036d1(0x36a))||this[_0x2036d1(0x36a)]===_0xf9dd09[_0x2036d1(0x36a)])&&(_0xf9dd09[_0x2036d1(0x36a)]=function(){var _0x46b575=_0x2036d1;_0xf9dd09[_0x46b575(0x3a5)]['init'][_0x46b575(0x375)](this,arguments);}),_0xf9dd09[_0x2036d1(0x36a)]['prototype']=_0xf9dd09,_0xf9dd09[_0x2036d1(0x3a5)]=this,_0xf9dd09;},'create':function(){var _0x15edf6=_0x1af6,_0x589414=this[_0x15edf6(0x23f)]();return _0x589414['init'][_0x15edf6(0x375)](_0x589414,arguments),_0x589414;},'init':function(){},'mixIn':function(_0x330bd7){var _0x23a761=_0x1af6;for(var _0x1c47f7 in _0x330bd7)_0x330bd7[_0x23a761(0x119)](_0x1c47f7)&&(this[_0x1c47f7]=_0x330bd7[_0x1c47f7]);_0x330bd7[_0x23a761(0x119)](_0x23a761(0x1ba))&&(this[_0x23a761(0x1ba)]=_0x330bd7[_0x23a761(0x1ba)]);},'clone':function(){var _0x185fc5=_0x1af6;return this['init']['prototype'][_0x185fc5(0x23f)](this);}};}()),_0x5f3e28=_0x2a8441['WordArray']=_0x2ed57e['extend']({'init':function(_0x20a9f0,_0x429219){var _0x5c2402=_0x1afa14;_0x20a9f0=this['words']=_0x20a9f0||[],_0x429219!=_0x1c4c4b?this[_0x5c2402(0x201)]=_0x429219:this[_0x5c2402(0x201)]=_0x20a9f0[_0x5c2402(0x2c2)]*0x4;},'toString':function(_0x5d20f4){var _0x2a0c2d=_0x1afa14;return(_0x5d20f4||_0x437939)[_0x2a0c2d(0x309)](this);},'concat':function(_0x490c6b){var _0x224530=_0x1afa14,_0x37132e=this[_0x224530(0x25d)],_0x5cad09=_0x490c6b['words'],_0x125453=this[_0x224530(0x201)],_0xdc8e27=_0x490c6b[_0x224530(0x201)];if(this[_0x224530(0x3af)](),_0x125453%0x4)for(var _0x4ad84c=0x0;_0x4ad84c<_0xdc8e27;_0x4ad84c++){var _0x3a0b8a=_0x5cad09[_0x4ad84c>>>0x2]>>>0x18-_0x4ad84c%0x4*0x8&0xff;_0x37132e[_0x125453+_0x4ad84c>>>0x2]|=_0x3a0b8a<<0x18-(_0x125453+_0x4ad84c)%0x4*0x8;}else{for(var _0x397b6a=0x0;_0x397b6a<_0xdc8e27;_0x397b6a+=0x4)_0x37132e[_0x125453+_0x397b6a>>>0x2]=_0x5cad09[_0x397b6a>>>0x2];}return this[_0x224530(0x201)]+=_0xdc8e27,this;},'clamp':function(){var _0x22ca40=_0x1afa14,_0x128ae0=this['words'],_0x3bafe7=this[_0x22ca40(0x201)];_0x128ae0[_0x3bafe7>>>0x2]&=0xffffffff<<0x20-_0x3bafe7%0x4*0x8,_0x128ae0['length']=_0x284429[_0x22ca40(0x332)](_0x3bafe7/0x4);},'clone':function(){var _0x5486db=_0x1afa14,_0x5009e4=_0x2ed57e[_0x5486db(0x24f)][_0x5486db(0x23d)](this);return _0x5009e4[_0x5486db(0x25d)]=this[_0x5486db(0x25d)]['slice'](0x0),_0x5009e4;},'random':function(_0x87ce5b){var _0x450a68=_0x1afa14;for(var _0x22c068=[],_0x48b27b=0x0;_0x48b27b<_0x87ce5b;_0x48b27b+=0x4)_0x22c068[_0x450a68(0x1f6)](_0x408828());return new _0x5f3e28[(_0x450a68(0x36a))](_0x22c068,_0x87ce5b);}}),_0x3d227=_0x259b89['enc']={},_0x437939=_0x3d227[_0x1afa14(0x3b0)]={'stringify':function(_0xb827f7){var _0x2754c4=_0x1afa14;for(var _0x5187d0=_0xb827f7['words'],_0x3bcb7c=_0xb827f7[_0x2754c4(0x201)],_0x3e8f3b=[],_0xd39abd=0x0;_0xd39abd<_0x3bcb7c;_0xd39abd++){var _0x449e93=_0x5187d0[_0xd39abd>>>0x2]>>>0x18-_0xd39abd%0x4*0x8&0xff;_0x3e8f3b[_0x2754c4(0x1f6)]((_0x449e93>>>0x4)['toString'](0x10)),_0x3e8f3b[_0x2754c4(0x1f6)]((_0x449e93&0xf)['toString'](0x10));}return _0x3e8f3b[_0x2754c4(0x15e)]('');},'parse':function(_0x560232){var _0x1d5202=_0x1afa14;for(var _0xa906e4=_0x560232[_0x1d5202(0x2c2)],_0xf04f5f=[],_0x54357c=0x0;_0x54357c<_0xa906e4;_0x54357c+=0x2)_0xf04f5f[_0x54357c>>>0x3]|=parseInt(_0x560232['substr'](_0x54357c,0x2),0x10)<<0x18-_0x54357c%0x8*0x4;return new _0x5f3e28[(_0x1d5202(0x36a))](_0xf04f5f,_0xa906e4/0x2);}},_0x1536f6=_0x3d227[_0x1afa14(0x33b)]={'stringify':function(_0x541428){var _0x402d26=_0x1afa14;for(var _0x34ae28=_0x541428[_0x402d26(0x25d)],_0x518666=_0x541428[_0x402d26(0x201)],_0x53c72a=[],_0x4b7097=0x0;_0x4b7097<_0x518666;_0x4b7097++){var _0x4d53fa=_0x34ae28[_0x4b7097>>>0x2]>>>0x18-_0x4b7097%0x4*0x8&0xff;_0x53c72a[_0x402d26(0x1f6)](String[_0x402d26(0x1c1)](_0x4d53fa));}return _0x53c72a['join']('');},'parse':function(_0x8b327b){var _0xcf5f6e=_0x1afa14;for(var _0x3db593=_0x8b327b['length'],_0x2e5a8d=[],_0x4ed2b9=0x0;_0x4ed2b9<_0x3db593;_0x4ed2b9++)_0x2e5a8d[_0x4ed2b9>>>0x2]|=(_0x8b327b[_0xcf5f6e(0x2d2)](_0x4ed2b9)&0xff)<<0x18-_0x4ed2b9%0x4*0x8;return new _0x5f3e28[(_0xcf5f6e(0x36a))](_0x2e5a8d,_0x3db593);}},_0xc05d81=_0x3d227[_0x1afa14(0x2bc)]={'stringify':function(_0x288d76){var _0x12aadb=_0x1afa14;try{return decodeURIComponent(escape(_0x1536f6[_0x12aadb(0x309)](_0x288d76)));}catch{throw new Error(_0x12aadb(0xcf));}},'parse':function(_0x579fea){var _0x4e9949=_0x1afa14;return _0x1536f6[_0x4e9949(0x3ae)](unescape(encodeURIComponent(_0x579fea)));}},_0x4e28cb=_0x2a8441[_0x1afa14(0xc6)]=_0x2ed57e[_0x1afa14(0x23f)]({'reset':function(){var _0x15174e=_0x1afa14;this['_data']=new _0x5f3e28[(_0x15174e(0x36a))](),this['_nDataBytes']=0x0;},'_append':function(_0x3c7529){var _0x4d2955=_0x1afa14;typeof _0x3c7529==_0x4d2955(0x390)&&(_0x3c7529=_0xc05d81['parse'](_0x3c7529)),this['_data'][_0x4d2955(0x362)](_0x3c7529),this[_0x4d2955(0x253)]+=_0x3c7529[_0x4d2955(0x201)];},'_process':function(_0x5e170c){var _0x5a1549=_0x1afa14,_0x528ba6,_0x561325=this[_0x5a1549(0x2f9)],_0x3fe3=_0x561325['words'],_0x34656d=_0x561325[_0x5a1549(0x201)],_0x21c6d5=this['blockSize'],_0x143cdf=_0x21c6d5*0x4,_0x36db72=_0x34656d/_0x143cdf;_0x5e170c?_0x36db72=_0x284429[_0x5a1549(0x332)](_0x36db72):_0x36db72=_0x284429[_0x5a1549(0x1d8)]((_0x36db72|0x0)-this[_0x5a1549(0x1cc)],0x0);var _0x5c0ebe=_0x36db72*_0x21c6d5,_0x3df54f=_0x284429[_0x5a1549(0x284)](_0x5c0ebe*0x4,_0x34656d);if(_0x5c0ebe){for(var _0x3b1476=0x0;_0x3b1476<_0x5c0ebe;_0x3b1476+=_0x21c6d5)this[_0x5a1549(0x1c9)](_0x3fe3,_0x3b1476);_0x528ba6=_0x3fe3[_0x5a1549(0x15a)](0x0,_0x5c0ebe),_0x561325[_0x5a1549(0x201)]-=_0x3df54f;}return new _0x5f3e28[(_0x5a1549(0x36a))](_0x528ba6,_0x3df54f);},'clone':function(){var _0x36bb1e=_0x1afa14,_0x38ac6b=_0x2ed57e[_0x36bb1e(0x24f)][_0x36bb1e(0x23d)](this);return _0x38ac6b[_0x36bb1e(0x2f9)]=this[_0x36bb1e(0x2f9)][_0x36bb1e(0x24f)](),_0x38ac6b;},'_minBufferSize':0x0});_0x2a8441[_0x1afa14(0x210)]=_0x4e28cb[_0x1afa14(0x23f)]({'cfg':_0x2ed57e['extend'](),'init':function(_0x3d5c1e){var _0x1f99ef=_0x1afa14;this[_0x1f99ef(0x34b)]=this['cfg']['extend'](_0x3d5c1e),this[_0x1f99ef(0x1c8)]();},'reset':function(){var _0x1355f4=_0x1afa14;_0x4e28cb[_0x1355f4(0x1c8)][_0x1355f4(0x23d)](this),this[_0x1355f4(0x30c)]();},'update':function(_0x3f8fd4){var _0x6ea628=_0x1afa14;return this['_append'](_0x3f8fd4),this[_0x6ea628(0x1b8)](),this;},'finalize':function(_0x5083de){var _0x3d402b=_0x1afa14;_0x5083de&&this['_append'](_0x5083de);var _0x59c5fc=this[_0x3d402b(0x152)]();return _0x59c5fc;},'blockSize':0x10,'_createHelper':function(_0x1df7a9){return function(_0x21cc7f,_0x29d791){var _0x25e575=_0x1af6;return new _0x1df7a9[(_0x25e575(0x36a))](_0x29d791)['finalize'](_0x21cc7f);};},'_createHmacHelper':function(_0x55f2bb){return function(_0x42c5c6,_0x5ed194){var _0x45e49a=_0x1af6;return new _0x4c3223[(_0x45e49a(0x305))][(_0x45e49a(0x36a))](_0x55f2bb,_0x5ed194)[_0x45e49a(0x357)](_0x42c5c6);};}});var _0x4c3223=_0x259b89['algo']={};return _0x259b89;}(Math);return _0x4d3129;}));}(We)),We['exports'];}var Ge={'exports':{}},hn=Ge[_0x40c2d6(0x272)],zt;function Ri(){var _0x5c3b41=_0x40c2d6;return zt||(zt=0x1,function(_0x4d4c3a,_0x2c5c18){(function(_0x37b380,_0x1d79fe){var _0x112553=_0x1af6;_0x4d4c3a[_0x112553(0x272)]=_0x1d79fe(te());}(hn,function(_0x23875f){var _0x3e0fc4=_0x1af6;return(function(){var _0x502d10=_0x1af6,_0x2ad5a8=_0x23875f,_0x3954c3=_0x2ad5a8['lib'],_0x15f626=_0x3954c3['WordArray'],_0x27ca70=_0x2ad5a8['enc'];_0x27ca70['Base64']={'stringify':function(_0x3ddac8){var _0x29227b=_0x1af6,_0x197b11=_0x3ddac8[_0x29227b(0x25d)],_0x5d4642=_0x3ddac8['sigBytes'],_0x2d5191=this[_0x29227b(0x148)];_0x3ddac8[_0x29227b(0x3af)]();for(var _0x5b4d04=[],_0x42cf2e=0x0;_0x42cf2e<_0x5d4642;_0x42cf2e+=0x3)for(var _0x2e9454=_0x197b11[_0x42cf2e>>>0x2]>>>0x18-_0x42cf2e%0x4*0x8&0xff,_0x10e5e4=_0x197b11[_0x42cf2e+0x1>>>0x2]>>>0x18-(_0x42cf2e+0x1)%0x4*0x8&0xff,_0x5927a8=_0x197b11[_0x42cf2e+0x2>>>0x2]>>>0x18-(_0x42cf2e+0x2)%0x4*0x8&0xff,_0x331707=_0x2e9454<<0x10|_0x10e5e4<<0x8|_0x5927a8,_0x4591eb=0x0;_0x4591eb<0x4&&_0x42cf2e+_0x4591eb*0.75<_0x5d4642;_0x4591eb++)_0x5b4d04[_0x29227b(0x1f6)](_0x2d5191[_0x29227b(0x149)](_0x331707>>>0x6*(0x3-_0x4591eb)&0x3f));var _0x27f05f=_0x2d5191[_0x29227b(0x149)](0x40);if(_0x27f05f){for(;_0x5b4d04[_0x29227b(0x2c2)]%0x4;)_0x5b4d04['push'](_0x27f05f);}return _0x5b4d04[_0x29227b(0x15e)]('');},'parse':function(_0xcf88a){var _0x30804f=_0x1af6,_0x38c804=_0xcf88a[_0x30804f(0x2c2)],_0x2fb035=this[_0x30804f(0x148)],_0x134749=this[_0x30804f(0x2c6)];if(!_0x134749){_0x134749=this['_reverseMap']=[];for(var _0x318e3f=0x0;_0x318e3f<_0x2fb035['length'];_0x318e3f++)_0x134749[_0x2fb035[_0x30804f(0x2d2)](_0x318e3f)]=_0x318e3f;}var _0x21fc49=_0x2fb035[_0x30804f(0x149)](0x40);if(_0x21fc49){var _0x192cec=_0xcf88a['indexOf'](_0x21fc49);_0x192cec!==-0x1&&(_0x38c804=_0x192cec);}return _0x584958(_0xcf88a,_0x38c804,_0x134749);},'_map':_0x502d10(0xf7)};function _0x584958(_0x27dc91,_0x4a3cde,_0x59779b){var _0x50b7d4=_0x502d10;for(var _0x1c0a27=[],_0x231cca=0x0,_0x48c639=0x0;_0x48c639<_0x4a3cde;_0x48c639++)if(_0x48c639%0x4){var _0x51c8e1=_0x59779b[_0x27dc91['charCodeAt'](_0x48c639-0x1)]<<_0x48c639%0x4*0x2,_0x147177=_0x59779b[_0x27dc91[_0x50b7d4(0x2d2)](_0x48c639)]>>>0x6-_0x48c639%0x4*0x2,_0x2b1312=_0x51c8e1|_0x147177;_0x1c0a27[_0x231cca>>>0x2]|=_0x2b1312<<0x18-_0x231cca%0x4*0x8,_0x231cca++;}return _0x15f626['create'](_0x1c0a27,_0x231cca);}}()),_0x23875f[_0x3e0fc4(0xcc)][_0x3e0fc4(0x281)];}));}(Ge)),Ge[_0x5c3b41(0x272)];}var Ye={'exports':{}},_n=Ye[_0x40c2d6(0x272)],Jt;function ln(){var _0x3ec354=_0x40c2d6;return Jt||(Jt=0x1,function(_0x896796,_0x325b3f){(function(_0x2a6584,_0x2317cc){var _0x28718e=_0x1af6;_0x896796[_0x28718e(0x272)]=_0x2317cc(te());}(_n,function(_0x26cc0b){var _0x5b3bd3=_0x1af6;return function(_0x3d6347){var _0x3ce9a6=_0x1af6,_0x476377=_0x26cc0b,_0x5c233d=_0x476377[_0x3ce9a6(0x320)],_0x1ea997=_0x5c233d[_0x3ce9a6(0x3a6)],_0x2a5f6b=_0x5c233d[_0x3ce9a6(0x210)],_0x4cfb94=_0x476377['algo'],_0xf532a3=[];(function(){var _0x37fae0=_0x3ce9a6;for(var _0x2a41e0=0x0;_0x2a41e0<0x40;_0x2a41e0++)_0xf532a3[_0x2a41e0]=_0x3d6347[_0x37fae0(0x13a)](_0x3d6347[_0x37fae0(0x2f3)](_0x2a41e0+0x1))*0x100000000|0x0;}());var _0xe04f43=_0x4cfb94[_0x3ce9a6(0x2ca)]=_0x2a5f6b[_0x3ce9a6(0x23f)]({'_doReset':function(){var _0x3121d7=_0x3ce9a6;this['_hash']=new _0x1ea997[(_0x3121d7(0x36a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x581587,_0x217fdc){var _0x2d7904=_0x3ce9a6;for(var _0x3480fb=0x0;_0x3480fb<0x10;_0x3480fb++){var _0x5b7883=_0x217fdc+_0x3480fb,_0x38fba7=_0x581587[_0x5b7883];_0x581587[_0x5b7883]=(_0x38fba7<<0x8|_0x38fba7>>>0x18)&0xff00ff|(_0x38fba7<<0x18|_0x38fba7>>>0x8)&0xff00ff00;}var _0x17dcfc=this[_0x2d7904(0x25a)][_0x2d7904(0x25d)],_0x561920=_0x581587[_0x217fdc+0x0],_0x32ec39=_0x581587[_0x217fdc+0x1],_0x5e63d4=_0x581587[_0x217fdc+0x2],_0x335534=_0x581587[_0x217fdc+0x3],_0x3e8b65=_0x581587[_0x217fdc+0x4],_0x383fe2=_0x581587[_0x217fdc+0x5],_0x5dea17=_0x581587[_0x217fdc+0x6],_0x2042b2=_0x581587[_0x217fdc+0x7],_0x175a2e=_0x581587[_0x217fdc+0x8],_0x167453=_0x581587[_0x217fdc+0x9],_0x171140=_0x581587[_0x217fdc+0xa],_0x24a23b=_0x581587[_0x217fdc+0xb],_0xe19a4=_0x581587[_0x217fdc+0xc],_0x8340dd=_0x581587[_0x217fdc+0xd],_0x30eab7=_0x581587[_0x217fdc+0xe],_0x38f5c2=_0x581587[_0x217fdc+0xf],_0x23f568=_0x17dcfc[0x0],_0xddf4c3=_0x17dcfc[0x1],_0xe0703d=_0x17dcfc[0x2],_0x2c5cf7=_0x17dcfc[0x3];_0x23f568=_0x43a478(_0x23f568,_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x561920,0x7,_0xf532a3[0x0]),_0x2c5cf7=_0x43a478(_0x2c5cf7,_0x23f568,_0xddf4c3,_0xe0703d,_0x32ec39,0xc,_0xf532a3[0x1]),_0xe0703d=_0x43a478(_0xe0703d,_0x2c5cf7,_0x23f568,_0xddf4c3,_0x5e63d4,0x11,_0xf532a3[0x2]),_0xddf4c3=_0x43a478(_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x23f568,_0x335534,0x16,_0xf532a3[0x3]),_0x23f568=_0x43a478(_0x23f568,_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x3e8b65,0x7,_0xf532a3[0x4]),_0x2c5cf7=_0x43a478(_0x2c5cf7,_0x23f568,_0xddf4c3,_0xe0703d,_0x383fe2,0xc,_0xf532a3[0x5]),_0xe0703d=_0x43a478(_0xe0703d,_0x2c5cf7,_0x23f568,_0xddf4c3,_0x5dea17,0x11,_0xf532a3[0x6]),_0xddf4c3=_0x43a478(_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x23f568,_0x2042b2,0x16,_0xf532a3[0x7]),_0x23f568=_0x43a478(_0x23f568,_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x175a2e,0x7,_0xf532a3[0x8]),_0x2c5cf7=_0x43a478(_0x2c5cf7,_0x23f568,_0xddf4c3,_0xe0703d,_0x167453,0xc,_0xf532a3[0x9]),_0xe0703d=_0x43a478(_0xe0703d,_0x2c5cf7,_0x23f568,_0xddf4c3,_0x171140,0x11,_0xf532a3[0xa]),_0xddf4c3=_0x43a478(_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x23f568,_0x24a23b,0x16,_0xf532a3[0xb]),_0x23f568=_0x43a478(_0x23f568,_0xddf4c3,_0xe0703d,_0x2c5cf7,_0xe19a4,0x7,_0xf532a3[0xc]),_0x2c5cf7=_0x43a478(_0x2c5cf7,_0x23f568,_0xddf4c3,_0xe0703d,_0x8340dd,0xc,_0xf532a3[0xd]),_0xe0703d=_0x43a478(_0xe0703d,_0x2c5cf7,_0x23f568,_0xddf4c3,_0x30eab7,0x11,_0xf532a3[0xe]),_0xddf4c3=_0x43a478(_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x23f568,_0x38f5c2,0x16,_0xf532a3[0xf]),_0x23f568=_0x1a96d9(_0x23f568,_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x32ec39,0x5,_0xf532a3[0x10]),_0x2c5cf7=_0x1a96d9(_0x2c5cf7,_0x23f568,_0xddf4c3,_0xe0703d,_0x5dea17,0x9,_0xf532a3[0x11]),_0xe0703d=_0x1a96d9(_0xe0703d,_0x2c5cf7,_0x23f568,_0xddf4c3,_0x24a23b,0xe,_0xf532a3[0x12]),_0xddf4c3=_0x1a96d9(_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x23f568,_0x561920,0x14,_0xf532a3[0x13]),_0x23f568=_0x1a96d9(_0x23f568,_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x383fe2,0x5,_0xf532a3[0x14]),_0x2c5cf7=_0x1a96d9(_0x2c5cf7,_0x23f568,_0xddf4c3,_0xe0703d,_0x171140,0x9,_0xf532a3[0x15]),_0xe0703d=_0x1a96d9(_0xe0703d,_0x2c5cf7,_0x23f568,_0xddf4c3,_0x38f5c2,0xe,_0xf532a3[0x16]),_0xddf4c3=_0x1a96d9(_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x23f568,_0x3e8b65,0x14,_0xf532a3[0x17]),_0x23f568=_0x1a96d9(_0x23f568,_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x167453,0x5,_0xf532a3[0x18]),_0x2c5cf7=_0x1a96d9(_0x2c5cf7,_0x23f568,_0xddf4c3,_0xe0703d,_0x30eab7,0x9,_0xf532a3[0x19]),_0xe0703d=_0x1a96d9(_0xe0703d,_0x2c5cf7,_0x23f568,_0xddf4c3,_0x335534,0xe,_0xf532a3[0x1a]),_0xddf4c3=_0x1a96d9(_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x23f568,_0x175a2e,0x14,_0xf532a3[0x1b]),_0x23f568=_0x1a96d9(_0x23f568,_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x8340dd,0x5,_0xf532a3[0x1c]),_0x2c5cf7=_0x1a96d9(_0x2c5cf7,_0x23f568,_0xddf4c3,_0xe0703d,_0x5e63d4,0x9,_0xf532a3[0x1d]),_0xe0703d=_0x1a96d9(_0xe0703d,_0x2c5cf7,_0x23f568,_0xddf4c3,_0x2042b2,0xe,_0xf532a3[0x1e]),_0xddf4c3=_0x1a96d9(_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x23f568,_0xe19a4,0x14,_0xf532a3[0x1f]),_0x23f568=_0x3498c0(_0x23f568,_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x383fe2,0x4,_0xf532a3[0x20]),_0x2c5cf7=_0x3498c0(_0x2c5cf7,_0x23f568,_0xddf4c3,_0xe0703d,_0x175a2e,0xb,_0xf532a3[0x21]),_0xe0703d=_0x3498c0(_0xe0703d,_0x2c5cf7,_0x23f568,_0xddf4c3,_0x24a23b,0x10,_0xf532a3[0x22]),_0xddf4c3=_0x3498c0(_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x23f568,_0x30eab7,0x17,_0xf532a3[0x23]),_0x23f568=_0x3498c0(_0x23f568,_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x32ec39,0x4,_0xf532a3[0x24]),_0x2c5cf7=_0x3498c0(_0x2c5cf7,_0x23f568,_0xddf4c3,_0xe0703d,_0x3e8b65,0xb,_0xf532a3[0x25]),_0xe0703d=_0x3498c0(_0xe0703d,_0x2c5cf7,_0x23f568,_0xddf4c3,_0x2042b2,0x10,_0xf532a3[0x26]),_0xddf4c3=_0x3498c0(_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x23f568,_0x171140,0x17,_0xf532a3[0x27]),_0x23f568=_0x3498c0(_0x23f568,_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x8340dd,0x4,_0xf532a3[0x28]),_0x2c5cf7=_0x3498c0(_0x2c5cf7,_0x23f568,_0xddf4c3,_0xe0703d,_0x561920,0xb,_0xf532a3[0x29]),_0xe0703d=_0x3498c0(_0xe0703d,_0x2c5cf7,_0x23f568,_0xddf4c3,_0x335534,0x10,_0xf532a3[0x2a]),_0xddf4c3=_0x3498c0(_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x23f568,_0x5dea17,0x17,_0xf532a3[0x2b]),_0x23f568=_0x3498c0(_0x23f568,_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x167453,0x4,_0xf532a3[0x2c]),_0x2c5cf7=_0x3498c0(_0x2c5cf7,_0x23f568,_0xddf4c3,_0xe0703d,_0xe19a4,0xb,_0xf532a3[0x2d]),_0xe0703d=_0x3498c0(_0xe0703d,_0x2c5cf7,_0x23f568,_0xddf4c3,_0x38f5c2,0x10,_0xf532a3[0x2e]),_0xddf4c3=_0x3498c0(_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x23f568,_0x5e63d4,0x17,_0xf532a3[0x2f]),_0x23f568=_0x4fedc4(_0x23f568,_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x561920,0x6,_0xf532a3[0x30]),_0x2c5cf7=_0x4fedc4(_0x2c5cf7,_0x23f568,_0xddf4c3,_0xe0703d,_0x2042b2,0xa,_0xf532a3[0x31]),_0xe0703d=_0x4fedc4(_0xe0703d,_0x2c5cf7,_0x23f568,_0xddf4c3,_0x30eab7,0xf,_0xf532a3[0x32]),_0xddf4c3=_0x4fedc4(_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x23f568,_0x383fe2,0x15,_0xf532a3[0x33]),_0x23f568=_0x4fedc4(_0x23f568,_0xddf4c3,_0xe0703d,_0x2c5cf7,_0xe19a4,0x6,_0xf532a3[0x34]),_0x2c5cf7=_0x4fedc4(_0x2c5cf7,_0x23f568,_0xddf4c3,_0xe0703d,_0x335534,0xa,_0xf532a3[0x35]),_0xe0703d=_0x4fedc4(_0xe0703d,_0x2c5cf7,_0x23f568,_0xddf4c3,_0x171140,0xf,_0xf532a3[0x36]),_0xddf4c3=_0x4fedc4(_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x23f568,_0x32ec39,0x15,_0xf532a3[0x37]),_0x23f568=_0x4fedc4(_0x23f568,_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x175a2e,0x6,_0xf532a3[0x38]),_0x2c5cf7=_0x4fedc4(_0x2c5cf7,_0x23f568,_0xddf4c3,_0xe0703d,_0x38f5c2,0xa,_0xf532a3[0x39]),_0xe0703d=_0x4fedc4(_0xe0703d,_0x2c5cf7,_0x23f568,_0xddf4c3,_0x5dea17,0xf,_0xf532a3[0x3a]),_0xddf4c3=_0x4fedc4(_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x23f568,_0x8340dd,0x15,_0xf532a3[0x3b]),_0x23f568=_0x4fedc4(_0x23f568,_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x3e8b65,0x6,_0xf532a3[0x3c]),_0x2c5cf7=_0x4fedc4(_0x2c5cf7,_0x23f568,_0xddf4c3,_0xe0703d,_0x24a23b,0xa,_0xf532a3[0x3d]),_0xe0703d=_0x4fedc4(_0xe0703d,_0x2c5cf7,_0x23f568,_0xddf4c3,_0x5e63d4,0xf,_0xf532a3[0x3e]),_0xddf4c3=_0x4fedc4(_0xddf4c3,_0xe0703d,_0x2c5cf7,_0x23f568,_0x167453,0x15,_0xf532a3[0x3f]),_0x17dcfc[0x0]=_0x17dcfc[0x0]+_0x23f568|0x0,_0x17dcfc[0x1]=_0x17dcfc[0x1]+_0xddf4c3|0x0,_0x17dcfc[0x2]=_0x17dcfc[0x2]+_0xe0703d|0x0,_0x17dcfc[0x3]=_0x17dcfc[0x3]+_0x2c5cf7|0x0;},'_doFinalize':function(){var _0x558816=_0x3ce9a6,_0x5dcaa8=this[_0x558816(0x2f9)],_0x55f03e=_0x5dcaa8['words'],_0x2e657f=this[_0x558816(0x253)]*0x8,_0x13e0ed=_0x5dcaa8['sigBytes']*0x8;_0x55f03e[_0x13e0ed>>>0x5]|=0x80<<0x18-_0x13e0ed%0x20;var _0x285e8d=_0x3d6347[_0x558816(0x226)](_0x2e657f/0x100000000),_0x434ce5=_0x2e657f;_0x55f03e[(_0x13e0ed+0x40>>>0x9<<0x4)+0xf]=(_0x285e8d<<0x8|_0x285e8d>>>0x18)&0xff00ff|(_0x285e8d<<0x18|_0x285e8d>>>0x8)&0xff00ff00,_0x55f03e[(_0x13e0ed+0x40>>>0x9<<0x4)+0xe]=(_0x434ce5<<0x8|_0x434ce5>>>0x18)&0xff00ff|(_0x434ce5<<0x18|_0x434ce5>>>0x8)&0xff00ff00,_0x5dcaa8['sigBytes']=(_0x55f03e[_0x558816(0x2c2)]+0x1)*0x4,this[_0x558816(0x1b8)]();for(var _0x17a958=this[_0x558816(0x25a)],_0x3fe8eb=_0x17a958[_0x558816(0x25d)],_0x162dcd=0x0;_0x162dcd<0x4;_0x162dcd++){var _0x579889=_0x3fe8eb[_0x162dcd];_0x3fe8eb[_0x162dcd]=(_0x579889<<0x8|_0x579889>>>0x18)&0xff00ff|(_0x579889<<0x18|_0x579889>>>0x8)&0xff00ff00;}return _0x17a958;},'clone':function(){var _0x843704=_0x3ce9a6,_0x51f40e=_0x2a5f6b[_0x843704(0x24f)][_0x843704(0x23d)](this);return _0x51f40e['_hash']=this[_0x843704(0x25a)][_0x843704(0x24f)](),_0x51f40e;}});function _0x43a478(_0xe3666c,_0x5f1fba,_0x5d3ef9,_0x5a5619,_0x464a51,_0x3c9204,_0x3524c4){var _0x57a70d=_0xe3666c+(_0x5f1fba&_0x5d3ef9|~_0x5f1fba&_0x5a5619)+_0x464a51+_0x3524c4;return(_0x57a70d<<_0x3c9204|_0x57a70d>>>0x20-_0x3c9204)+_0x5f1fba;}function _0x1a96d9(_0x2dbc86,_0x267ed8,_0x565e28,_0xb46b9c,_0x3852be,_0x7ec1e8,_0xa9d24d){var _0x3d59fe=_0x2dbc86+(_0x267ed8&_0xb46b9c|_0x565e28&~_0xb46b9c)+_0x3852be+_0xa9d24d;return(_0x3d59fe<<_0x7ec1e8|_0x3d59fe>>>0x20-_0x7ec1e8)+_0x267ed8;}function _0x3498c0(_0x216aab,_0x3bbc9f,_0x1d2edb,_0x19ebc2,_0x51179e,_0x564b5e,_0x477b19){var _0x4e265c=_0x216aab+(_0x3bbc9f^_0x1d2edb^_0x19ebc2)+_0x51179e+_0x477b19;return(_0x4e265c<<_0x564b5e|_0x4e265c>>>0x20-_0x564b5e)+_0x3bbc9f;}function _0x4fedc4(_0x2a3e1a,_0x5920df,_0x1b0286,_0x1f6c9d,_0x6ecf4f,_0xfbdb44,_0x3420ed){var _0x2404b7=_0x2a3e1a+(_0x1b0286^(_0x5920df|~_0x1f6c9d))+_0x6ecf4f+_0x3420ed;return(_0x2404b7<<_0xfbdb44|_0x2404b7>>>0x20-_0xfbdb44)+_0x5920df;}_0x476377[_0x3ce9a6(0x2ca)]=_0x2a5f6b[_0x3ce9a6(0x34d)](_0xe04f43),_0x476377[_0x3ce9a6(0x24a)]=_0x2a5f6b['_createHmacHelper'](_0xe04f43);}(Math),_0x26cc0b[_0x5b3bd3(0x2ca)];}));}(Ye)),Ye[_0x3ec354(0x272)];}var Ke={'exports':{}},qe={'exports':{}},un=qe['exports'],Xt;function dn(){return Xt||(Xt=0x1,function(_0xd1ce2c,_0x3f6b47){(function(_0x523dce,_0x4ebd38){var _0x584df0=_0x1af6;_0xd1ce2c[_0x584df0(0x272)]=_0x4ebd38(te());}(un,function(_0x342b7b){return(function(){var _0x5c1edf=_0x1af6,_0xfafbb=_0x342b7b,_0x2e4a71=_0xfafbb['lib'],_0x76e8e0=_0x2e4a71[_0x5c1edf(0x3a6)],_0x2f56d7=_0x2e4a71['Hasher'],_0x365592=_0xfafbb['algo'],_0x391675=[],_0x51b899=_0x365592[_0x5c1edf(0x108)]=_0x2f56d7['extend']({'_doReset':function(){var _0x2a1b5f=_0x5c1edf;this[_0x2a1b5f(0x25a)]=new _0x76e8e0[(_0x2a1b5f(0x36a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1ed567,_0x200180){for(var _0x32ee=this['_hash']['words'],_0x4c783d=_0x32ee[0x0],_0x493519=_0x32ee[0x1],_0x352690=_0x32ee[0x2],_0x1fba9e=_0x32ee[0x3],_0x4f2405=_0x32ee[0x4],_0x5ceb63=0x0;_0x5ceb63<0x50;_0x5ceb63++){if(_0x5ceb63<0x10)_0x391675[_0x5ceb63]=_0x1ed567[_0x200180+_0x5ceb63]|0x0;else{var _0x351b7c=_0x391675[_0x5ceb63-0x3]^_0x391675[_0x5ceb63-0x8]^_0x391675[_0x5ceb63-0xe]^_0x391675[_0x5ceb63-0x10];_0x391675[_0x5ceb63]=_0x351b7c<<0x1|_0x351b7c>>>0x1f;}var _0xebe742=(_0x4c783d<<0x5|_0x4c783d>>>0x1b)+_0x4f2405+_0x391675[_0x5ceb63];_0x5ceb63<0x14?_0xebe742+=(_0x493519&_0x352690|~_0x493519&_0x1fba9e)+0x5a827999:_0x5ceb63<0x28?_0xebe742+=(_0x493519^_0x352690^_0x1fba9e)+0x6ed9eba1:_0x5ceb63<0x3c?_0xebe742+=(_0x493519&_0x352690|_0x493519&_0x1fba9e|_0x352690&_0x1fba9e)-0x70e44324:_0xebe742+=(_0x493519^_0x352690^_0x1fba9e)-0x359d3e2a,_0x4f2405=_0x1fba9e,_0x1fba9e=_0x352690,_0x352690=_0x493519<<0x1e|_0x493519>>>0x2,_0x493519=_0x4c783d,_0x4c783d=_0xebe742;}_0x32ee[0x0]=_0x32ee[0x0]+_0x4c783d|0x0,_0x32ee[0x1]=_0x32ee[0x1]+_0x493519|0x0,_0x32ee[0x2]=_0x32ee[0x2]+_0x352690|0x0,_0x32ee[0x3]=_0x32ee[0x3]+_0x1fba9e|0x0,_0x32ee[0x4]=_0x32ee[0x4]+_0x4f2405|0x0;},'_doFinalize':function(){var _0xa629f7=_0x5c1edf,_0xa4ad2b=this['_data'],_0x33b8f9=_0xa4ad2b[_0xa629f7(0x25d)],_0x55df80=this[_0xa629f7(0x253)]*0x8,_0x284009=_0xa4ad2b[_0xa629f7(0x201)]*0x8;return _0x33b8f9[_0x284009>>>0x5]|=0x80<<0x18-_0x284009%0x20,_0x33b8f9[(_0x284009+0x40>>>0x9<<0x4)+0xe]=Math[_0xa629f7(0x226)](_0x55df80/0x100000000),_0x33b8f9[(_0x284009+0x40>>>0x9<<0x4)+0xf]=_0x55df80,_0xa4ad2b[_0xa629f7(0x201)]=_0x33b8f9[_0xa629f7(0x2c2)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x3823a4=_0x5c1edf,_0x100cca=_0x2f56d7[_0x3823a4(0x24f)][_0x3823a4(0x23d)](this);return _0x100cca[_0x3823a4(0x25a)]=this[_0x3823a4(0x25a)]['clone'](),_0x100cca;}});_0xfafbb[_0x5c1edf(0x108)]=_0x2f56d7[_0x5c1edf(0x34d)](_0x51b899),_0xfafbb[_0x5c1edf(0x15d)]=_0x2f56d7[_0x5c1edf(0x232)](_0x51b899);}()),_0x342b7b['SHA1'];}));}(qe)),qe['exports'];}var ze={'exports':{}},fn=ze[_0x40c2d6(0x272)],Zt;function vn(){var _0xc9b11=_0x40c2d6;return Zt||(Zt=0x1,function(_0xcc596d,_0x94878f){(function(_0x3028d7,_0xb9b29b){var _0x21230b=_0x1af6;_0xcc596d[_0x21230b(0x272)]=_0xb9b29b(te());}(fn,function(_0x414f53){(function(){var _0x2882d3=_0x1af6,_0x20cf8b=_0x414f53,_0x18634b=_0x20cf8b[_0x2882d3(0x320)],_0x47f34b=_0x18634b[_0x2882d3(0x2fd)],_0xd3f7e6=_0x20cf8b[_0x2882d3(0xcc)],_0x382880=_0xd3f7e6['Utf8'],_0x58e44d=_0x20cf8b[_0x2882d3(0x13d)];_0x58e44d['HMAC']=_0x47f34b[_0x2882d3(0x23f)]({'init':function(_0x5a5614,_0x2e4b82){var _0xda2473=_0x2882d3;_0x5a5614=this[_0xda2473(0xcd)]=new _0x5a5614['init'](),typeof _0x2e4b82=='string'&&(_0x2e4b82=_0x382880[_0xda2473(0x3ae)](_0x2e4b82));var _0x5c86de=_0x5a5614[_0xda2473(0x106)],_0xae5980=_0x5c86de*0x4;_0x2e4b82[_0xda2473(0x201)]>_0xae5980&&(_0x2e4b82=_0x5a5614[_0xda2473(0x357)](_0x2e4b82)),_0x2e4b82['clamp']();for(var _0x58384b=this[_0xda2473(0x35a)]=_0x2e4b82[_0xda2473(0x24f)](),_0x259477=this[_0xda2473(0x1f2)]=_0x2e4b82[_0xda2473(0x24f)](),_0x101dfc=_0x58384b['words'],_0x116fef=_0x259477[_0xda2473(0x25d)],_0x3f3cf6=0x0;_0x3f3cf6<_0x5c86de;_0x3f3cf6++)_0x101dfc[_0x3f3cf6]^=0x5c5c5c5c,_0x116fef[_0x3f3cf6]^=0x36363636;_0x58384b[_0xda2473(0x201)]=_0x259477['sigBytes']=_0xae5980,this[_0xda2473(0x1c8)]();},'reset':function(){var _0xa9f81=_0x2882d3,_0x5954d3=this[_0xa9f81(0xcd)];_0x5954d3[_0xa9f81(0x1c8)](),_0x5954d3[_0xa9f81(0x168)](this[_0xa9f81(0x1f2)]);},'update':function(_0x355186){var _0x1be14c=_0x2882d3;return this[_0x1be14c(0xcd)][_0x1be14c(0x168)](_0x355186),this;},'finalize':function(_0x15ae6b){var _0x5e7059=_0x2882d3,_0x4c9bf1=this[_0x5e7059(0xcd)],_0x584a85=_0x4c9bf1[_0x5e7059(0x357)](_0x15ae6b);_0x4c9bf1[_0x5e7059(0x1c8)]();var _0x5cf19e=_0x4c9bf1['finalize'](this[_0x5e7059(0x35a)][_0x5e7059(0x24f)]()[_0x5e7059(0x362)](_0x584a85));return _0x5cf19e;}});}());}));}(ze)),ze[_0xc9b11(0x272)];}var pn=Ke[_0x40c2d6(0x272)],Qt;function Oi(){var _0xa2d1bf=_0x40c2d6;return Qt||(Qt=0x1,function(_0x1d048d,_0x58cd03){(function(_0xa40a63,_0x3ca4f2,_0x14f888){var _0x20a747=_0x1af6;_0x1d048d[_0x20a747(0x272)]=_0x3ca4f2(te(),dn(),vn());}(pn,function(_0x1424cb){return(function(){var _0x3cd586=_0x1af6,_0x2388b7=_0x1424cb,_0x40e77e=_0x2388b7['lib'],_0x100803=_0x40e77e[_0x3cd586(0x2fd)],_0x3ff8ff=_0x40e77e[_0x3cd586(0x3a6)],_0x5bcf1d=_0x2388b7['algo'],_0x3b243c=_0x5bcf1d[_0x3cd586(0x2ca)],_0x4b57a5=_0x5bcf1d['EvpKDF']=_0x100803['extend']({'cfg':_0x100803[_0x3cd586(0x23f)]({'keySize':0x80/0x20,'hasher':_0x3b243c,'iterations':0x1}),'init':function(_0x1ca2b6){this['cfg']=this['cfg']['extend'](_0x1ca2b6);},'compute':function(_0xfccc88,_0x235a34){var _0xdb10ff=_0x3cd586;for(var _0x2bb9a4,_0x2e9970=this[_0xdb10ff(0x34b)],_0x5e26d8=_0x2e9970[_0xdb10ff(0x14d)]['create'](),_0x1cb9e6=_0x3ff8ff['create'](),_0x1b2514=_0x1cb9e6[_0xdb10ff(0x25d)],_0x244811=_0x2e9970[_0xdb10ff(0x1b5)],_0x181c45=_0x2e9970[_0xdb10ff(0x30a)];_0x1b2514[_0xdb10ff(0x2c2)]<_0x244811;){_0x2bb9a4&&_0x5e26d8[_0xdb10ff(0x168)](_0x2bb9a4),_0x2bb9a4=_0x5e26d8[_0xdb10ff(0x168)](_0xfccc88)[_0xdb10ff(0x357)](_0x235a34),_0x5e26d8['reset']();for(var _0x55078b=0x1;_0x55078b<_0x181c45;_0x55078b++)_0x2bb9a4=_0x5e26d8[_0xdb10ff(0x357)](_0x2bb9a4),_0x5e26d8[_0xdb10ff(0x1c8)]();_0x1cb9e6[_0xdb10ff(0x362)](_0x2bb9a4);}return _0x1cb9e6[_0xdb10ff(0x201)]=_0x244811*0x4,_0x1cb9e6;}});_0x2388b7['EvpKDF']=function(_0x3a9528,_0x482e0a,_0xb8520a){var _0x29d638=_0x3cd586;return _0x4b57a5[_0x29d638(0x29c)](_0xb8520a)[_0x29d638(0x254)](_0x3a9528,_0x482e0a);};}()),_0x1424cb['EvpKDF'];}));}(Ke)),Ke[_0xa2d1bf(0x272)];}var Je={'exports':{}},mn=Je['exports'],ei;function bi(){var _0x468422=_0x40c2d6;return ei||(ei=0x1,function(_0x4c425e,_0x456fb6){(function(_0x44e23b,_0xc983df,_0x5e932d){var _0x1e0af4=_0x1af6;_0x4c425e[_0x1e0af4(0x272)]=_0xc983df(te(),Oi());}(mn,function(_0x54915d){var _0x243db6=_0x1af6;_0x54915d[_0x243db6(0x320)]['Cipher']||function(_0x90887f){var _0xd84a02=_0x243db6,_0x29b37f=_0x54915d,_0x1454cf=_0x29b37f[_0xd84a02(0x320)],_0x1cc50f=_0x1454cf[_0xd84a02(0x2fd)],_0xb4ac0c=_0x1454cf['WordArray'],_0x2d9acc=_0x1454cf[_0xd84a02(0xc6)],_0x50895e=_0x29b37f['enc'];_0x50895e[_0xd84a02(0x2bc)];var _0x210214=_0x50895e['Base64'],_0xcda7bd=_0x29b37f['algo'],_0x2edea1=_0xcda7bd[_0xd84a02(0x2e0)],_0x50320e=_0x1454cf[_0xd84a02(0x2d7)]=_0x2d9acc[_0xd84a02(0x23f)]({'cfg':_0x1cc50f[_0xd84a02(0x23f)](),'createEncryptor':function(_0x202fc3,_0x4f9d81){var _0x5449c7=_0xd84a02;return this[_0x5449c7(0x29c)](this[_0x5449c7(0x1b0)],_0x202fc3,_0x4f9d81);},'createDecryptor':function(_0x71f94e,_0x22e856){var _0x4ba1c7=_0xd84a02;return this['create'](this[_0x4ba1c7(0x18c)],_0x71f94e,_0x22e856);},'init':function(_0x5c38be,_0x26b269,_0x326bfe){var _0x4d0b57=_0xd84a02;this[_0x4d0b57(0x34b)]=this['cfg'][_0x4d0b57(0x23f)](_0x326bfe),this[_0x4d0b57(0x345)]=_0x5c38be,this['_key']=_0x26b269,this[_0x4d0b57(0x1c8)]();},'reset':function(){var _0x3153a0=_0xd84a02;_0x2d9acc[_0x3153a0(0x1c8)][_0x3153a0(0x23d)](this),this[_0x3153a0(0x30c)]();},'process':function(_0x334029){var _0x952932=_0xd84a02;return this[_0x952932(0x2a4)](_0x334029),this[_0x952932(0x1b8)]();},'finalize':function(_0x2ccb87){var _0x4d413b=_0xd84a02;_0x2ccb87&&this[_0x4d413b(0x2a4)](_0x2ccb87);var _0xa0212a=this['_doFinalize']();return _0xa0212a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xa47b01(_0x381095){var _0xef0629=_0x1af6;return typeof _0x381095==_0xef0629(0x390)?_0x850942:_0x177d34;}return function(_0x538318){return{'encrypt':function(_0x3f0c15,_0x5a7325,_0x4172c7){var _0xc13958=_0x1af6;return _0xa47b01(_0x5a7325)[_0xc13958(0x31e)](_0x538318,_0x3f0c15,_0x5a7325,_0x4172c7);},'decrypt':function(_0x3d6d4c,_0x1c49dc,_0x55b4c5){var _0xdf31a5=_0x1af6;return _0xa47b01(_0x1c49dc)[_0xdf31a5(0x163)](_0x538318,_0x3d6d4c,_0x1c49dc,_0x55b4c5);}};};}())});_0x1454cf['StreamCipher']=_0x50320e[_0xd84a02(0x23f)]({'_doFinalize':function(){var _0xa53062=_0xd84a02,_0xecbeb8=this[_0xa53062(0x1b8)](!0x0);return _0xecbeb8;},'blockSize':0x1});var _0x5c5a20=_0x29b37f[_0xd84a02(0x28a)]={},_0x5b79c7=_0x1454cf['BlockCipherMode']=_0x1cc50f[_0xd84a02(0x23f)]({'createEncryptor':function(_0x45d2cc,_0x4db991){var _0x3c0a28=_0xd84a02;return this['Encryptor'][_0x3c0a28(0x29c)](_0x45d2cc,_0x4db991);},'createDecryptor':function(_0x1f0042,_0x48e54b){var _0x17bb3f=_0xd84a02;return this[_0x17bb3f(0xdb)][_0x17bb3f(0x29c)](_0x1f0042,_0x48e54b);},'init':function(_0x5238c0,_0x14db80){var _0x4e84a1=_0xd84a02;this[_0x4e84a1(0x1b6)]=_0x5238c0,this[_0x4e84a1(0x2b1)]=_0x14db80;}}),_0x453b94=_0x5c5a20[_0xd84a02(0x397)]=(function(){var _0x4e10ce=_0xd84a02,_0x5ea82e=_0x5b79c7[_0x4e10ce(0x23f)]();_0x5ea82e[_0x4e10ce(0x347)]=_0x5ea82e[_0x4e10ce(0x23f)]({'processBlock':function(_0x2066e4,_0xa85527){var _0x1efd68=_0x4e10ce,_0x3911ef=this['_cipher'],_0x42df0f=_0x3911ef[_0x1efd68(0x106)];_0x472fba['call'](this,_0x2066e4,_0xa85527,_0x42df0f),_0x3911ef[_0x1efd68(0xce)](_0x2066e4,_0xa85527),this[_0x1efd68(0x215)]=_0x2066e4[_0x1efd68(0x22b)](_0xa85527,_0xa85527+_0x42df0f);}}),_0x5ea82e['Decryptor']=_0x5ea82e[_0x4e10ce(0x23f)]({'processBlock':function(_0xe94cbf,_0x554c07){var _0x1deee9=_0x4e10ce,_0x552102=this[_0x1deee9(0x1b6)],_0x5305c8=_0x552102[_0x1deee9(0x106)],_0x3f2a97=_0xe94cbf[_0x1deee9(0x22b)](_0x554c07,_0x554c07+_0x5305c8);_0x552102[_0x1deee9(0x12f)](_0xe94cbf,_0x554c07),_0x472fba[_0x1deee9(0x23d)](this,_0xe94cbf,_0x554c07,_0x5305c8),this[_0x1deee9(0x215)]=_0x3f2a97;}});function _0x472fba(_0x392c5f,_0xa77ee5,_0x204d32){var _0xacb2a5=_0x4e10ce,_0x5ad0bd,_0x15d8fe=this[_0xacb2a5(0x2b1)];_0x15d8fe?(_0x5ad0bd=_0x15d8fe,this['_iv']=_0x90887f):_0x5ad0bd=this[_0xacb2a5(0x215)];for(var _0x17825f=0x0;_0x17825f<_0x204d32;_0x17825f++)_0x392c5f[_0xa77ee5+_0x17825f]^=_0x5ad0bd[_0x17825f];}return _0x5ea82e;}()),_0x589224=_0x29b37f[_0xd84a02(0x1aa)]={},_0x26c266=_0x589224['Pkcs7']={'pad':function(_0x504fa9,_0x4a36a8){var _0x28f487=_0xd84a02;for(var _0x1de0a8=_0x4a36a8*0x4,_0x302424=_0x1de0a8-_0x504fa9[_0x28f487(0x201)]%_0x1de0a8,_0x7516c3=_0x302424<<0x18|_0x302424<<0x10|_0x302424<<0x8|_0x302424,_0x2dfdf2=[],_0x1e3894=0x0;_0x1e3894<_0x302424;_0x1e3894+=0x4)_0x2dfdf2[_0x28f487(0x1f6)](_0x7516c3);var _0xdc2c37=_0xb4ac0c['create'](_0x2dfdf2,_0x302424);_0x504fa9[_0x28f487(0x362)](_0xdc2c37);},'unpad':function(_0x261379){var _0x8194c5=_0xd84a02,_0x52c9b0=_0x261379['words'][_0x261379[_0x8194c5(0x201)]-0x1>>>0x2]&0xff;_0x261379[_0x8194c5(0x201)]-=_0x52c9b0;}};_0x1454cf['BlockCipher']=_0x50320e[_0xd84a02(0x23f)]({'cfg':_0x50320e['cfg'][_0xd84a02(0x23f)]({'mode':_0x453b94,'padding':_0x26c266}),'reset':function(){var _0x45a185=_0xd84a02,_0x3b7ed1;_0x50320e[_0x45a185(0x1c8)]['call'](this);var _0x4c2513=this[_0x45a185(0x34b)],_0xf60a90=_0x4c2513['iv'],_0x55313f=_0x4c2513[_0x45a185(0x28a)];this[_0x45a185(0x345)]==this[_0x45a185(0x1b0)]?_0x3b7ed1=_0x55313f[_0x45a185(0x16d)]:(_0x3b7ed1=_0x55313f[_0x45a185(0x331)],this['_minBufferSize']=0x1),this['_mode']&&this[_0x45a185(0x273)][_0x45a185(0x388)]==_0x3b7ed1?this[_0x45a185(0x273)][_0x45a185(0x36a)](this,_0xf60a90&&_0xf60a90[_0x45a185(0x25d)]):(this['_mode']=_0x3b7ed1[_0x45a185(0x23d)](_0x55313f,this,_0xf60a90&&_0xf60a90['words']),this[_0x45a185(0x273)][_0x45a185(0x388)]=_0x3b7ed1);},'_doProcessBlock':function(_0x99e05d,_0x513d01){var _0x41ad07=_0xd84a02;this['_mode'][_0x41ad07(0x317)](_0x99e05d,_0x513d01);},'_doFinalize':function(){var _0x4308e8=_0xd84a02,_0x26ff43,_0x1f34a4=this[_0x4308e8(0x34b)][_0x4308e8(0xfa)];return this[_0x4308e8(0x345)]==this[_0x4308e8(0x1b0)]?(_0x1f34a4[_0x4308e8(0x1aa)](this[_0x4308e8(0x2f9)],this[_0x4308e8(0x106)]),_0x26ff43=this[_0x4308e8(0x1b8)](!0x0)):(_0x26ff43=this['_process'](!0x0),_0x1f34a4['unpad'](_0x26ff43)),_0x26ff43;},'blockSize':0x80/0x20});var _0x9edc6c=_0x1454cf[_0xd84a02(0x21e)]=_0x1cc50f['extend']({'init':function(_0x4cafbd){var _0x5172ea=_0xd84a02;this[_0x5172ea(0x354)](_0x4cafbd);},'toString':function(_0x17b91a){var _0x39a9a6=_0xd84a02;return(_0x17b91a||this[_0x39a9a6(0xc3)])[_0x39a9a6(0x309)](this);}}),_0xf2d6ab=_0x29b37f[_0xd84a02(0x29a)]={},_0x45043e=_0xf2d6ab[_0xd84a02(0x312)]={'stringify':function(_0x5d8eb8){var _0x17f8ac=_0xd84a02,_0x27a966,_0x2a1fc4=_0x5d8eb8[_0x17f8ac(0x181)],_0x470754=_0x5d8eb8[_0x17f8ac(0x132)];return _0x470754?_0x27a966=_0xb4ac0c['create']([0x53616c74,0x65645f5f])[_0x17f8ac(0x362)](_0x470754)[_0x17f8ac(0x362)](_0x2a1fc4):_0x27a966=_0x2a1fc4,_0x27a966[_0x17f8ac(0x1ba)](_0x210214);},'parse':function(_0x4935c7){var _0x18a2f5=_0xd84a02,_0x445ddb,_0x50563c=_0x210214[_0x18a2f5(0x3ae)](_0x4935c7),_0x3e3800=_0x50563c['words'];return _0x3e3800[0x0]==0x53616c74&&_0x3e3800[0x1]==0x65645f5f&&(_0x445ddb=_0xb4ac0c['create'](_0x3e3800[_0x18a2f5(0x22b)](0x2,0x4)),_0x3e3800[_0x18a2f5(0x15a)](0x0,0x4),_0x50563c[_0x18a2f5(0x201)]-=0x10),_0x9edc6c[_0x18a2f5(0x29c)]({'ciphertext':_0x50563c,'salt':_0x445ddb});}},_0x177d34=_0x1454cf[_0xd84a02(0x191)]=_0x1cc50f[_0xd84a02(0x23f)]({'cfg':_0x1cc50f[_0xd84a02(0x23f)]({'format':_0x45043e}),'encrypt':function(_0x35a813,_0x30485e,_0x1ed441,_0x1fa6ff){var _0x409512=_0xd84a02;_0x1fa6ff=this[_0x409512(0x34b)][_0x409512(0x23f)](_0x1fa6ff);var _0x33f739=_0x35a813['createEncryptor'](_0x1ed441,_0x1fa6ff),_0x34d16f=_0x33f739[_0x409512(0x357)](_0x30485e),_0x300363=_0x33f739[_0x409512(0x34b)];return _0x9edc6c[_0x409512(0x29c)]({'ciphertext':_0x34d16f,'key':_0x1ed441,'iv':_0x300363['iv'],'algorithm':_0x35a813,'mode':_0x300363[_0x409512(0x28a)],'padding':_0x300363[_0x409512(0xfa)],'blockSize':_0x35a813[_0x409512(0x106)],'formatter':_0x1fa6ff[_0x409512(0x29a)]});},'decrypt':function(_0x408f25,_0x247959,_0xf97442,_0x5b4188){var _0x469aa3=_0xd84a02;_0x5b4188=this[_0x469aa3(0x34b)][_0x469aa3(0x23f)](_0x5b4188),_0x247959=this[_0x469aa3(0x3aa)](_0x247959,_0x5b4188['format']);var _0x25cf57=_0x408f25[_0x469aa3(0x331)](_0xf97442,_0x5b4188)[_0x469aa3(0x357)](_0x247959['ciphertext']);return _0x25cf57;},'_parse':function(_0x2b3ea5,_0x4fe88c){var _0x26d0ca=_0xd84a02;return typeof _0x2b3ea5==_0x26d0ca(0x390)?_0x4fe88c[_0x26d0ca(0x3ae)](_0x2b3ea5,this):_0x2b3ea5;}}),_0x51ab59=_0x29b37f[_0xd84a02(0xe9)]={},_0x781f0e=_0x51ab59[_0xd84a02(0x312)]={'execute':function(_0x28e810,_0x50f57a,_0x1b3c2e,_0x2ca621,_0x51f26c){var _0x36fa7e=_0xd84a02;if(_0x2ca621||(_0x2ca621=_0xb4ac0c[_0x36fa7e(0x11b)](0x40/0x8)),_0x51f26c)var _0x1a86a0=_0x2edea1[_0x36fa7e(0x29c)]({'keySize':_0x50f57a+_0x1b3c2e,'hasher':_0x51f26c})[_0x36fa7e(0x254)](_0x28e810,_0x2ca621);else var _0x1a86a0=_0x2edea1['create']({'keySize':_0x50f57a+_0x1b3c2e})['compute'](_0x28e810,_0x2ca621);var _0x5677e7=_0xb4ac0c[_0x36fa7e(0x29c)](_0x1a86a0[_0x36fa7e(0x25d)][_0x36fa7e(0x22b)](_0x50f57a),_0x1b3c2e*0x4);return _0x1a86a0[_0x36fa7e(0x201)]=_0x50f57a*0x4,_0x9edc6c[_0x36fa7e(0x29c)]({'key':_0x1a86a0,'iv':_0x5677e7,'salt':_0x2ca621});}},_0x850942=_0x1454cf[_0xd84a02(0x186)]=_0x177d34[_0xd84a02(0x23f)]({'cfg':_0x177d34['cfg'][_0xd84a02(0x23f)]({'kdf':_0x781f0e}),'encrypt':function(_0x3c8adb,_0x53e088,_0x32d741,_0x5cec11){var _0x218d94=_0xd84a02;_0x5cec11=this[_0x218d94(0x34b)][_0x218d94(0x23f)](_0x5cec11);var _0x4e4f52=_0x5cec11[_0x218d94(0xe9)][_0x218d94(0x2ae)](_0x32d741,_0x3c8adb[_0x218d94(0x1b5)],_0x3c8adb[_0x218d94(0x2d0)],_0x5cec11[_0x218d94(0x132)],_0x5cec11[_0x218d94(0x14d)]);_0x5cec11['iv']=_0x4e4f52['iv'];var _0x5602ec=_0x177d34[_0x218d94(0x31e)]['call'](this,_0x3c8adb,_0x53e088,_0x4e4f52[_0x218d94(0x286)],_0x5cec11);return _0x5602ec[_0x218d94(0x354)](_0x4e4f52),_0x5602ec;},'decrypt':function(_0x51f39a,_0x525536,_0x4f7e30,_0xa5ab68){var _0xa0b660=_0xd84a02;_0xa5ab68=this[_0xa0b660(0x34b)]['extend'](_0xa5ab68),_0x525536=this[_0xa0b660(0x3aa)](_0x525536,_0xa5ab68[_0xa0b660(0x29a)]);var _0x440d72=_0xa5ab68[_0xa0b660(0xe9)][_0xa0b660(0x2ae)](_0x4f7e30,_0x51f39a[_0xa0b660(0x1b5)],_0x51f39a[_0xa0b660(0x2d0)],_0x525536[_0xa0b660(0x132)],_0xa5ab68[_0xa0b660(0x14d)]);_0xa5ab68['iv']=_0x440d72['iv'];var _0x5a2247=_0x177d34[_0xa0b660(0x163)][_0xa0b660(0x23d)](this,_0x51f39a,_0x525536,_0x440d72['key'],_0xa5ab68);return _0x5a2247;}});}();}));}(Je)),Je[_0x468422(0x272)];}var gn=Ve['exports'],ti;function Sn(){var _0x2904db=_0x40c2d6;return ti||(ti=0x1,function(_0x472e5e,_0x17b5a2){(function(_0x4f1a63,_0x2aac91,_0x11649a){_0x472e5e['exports']=_0x2aac91(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x59d3e9){var _0x30ee52=_0x1af6;return(function(){var _0x177bd3=_0x1af6,_0x863641=_0x59d3e9,_0x545831=_0x863641[_0x177bd3(0x320)],_0x2d511a=_0x545831[_0x177bd3(0x219)],_0x24849a=_0x863641[_0x177bd3(0x13d)],_0x30d97a=[],_0x5161a4=[],_0x29d165=[],_0x1435cf=[],_0x4549b8=[],_0x18b742=[],_0x559c8d=[],_0x5f1612=[],_0x1a21dc=[],_0x4594c3=[];(function(){for(var _0x4b1f88=[],_0x22187e=0x0;_0x22187e<0x100;_0x22187e++)_0x22187e<0x80?_0x4b1f88[_0x22187e]=_0x22187e<<0x1:_0x4b1f88[_0x22187e]=_0x22187e<<0x1^0x11b;for(var _0x80d9f6=0x0,_0x4746a2=0x0,_0x22187e=0x0;_0x22187e<0x100;_0x22187e++){var _0xf4251d=_0x4746a2^_0x4746a2<<0x1^_0x4746a2<<0x2^_0x4746a2<<0x3^_0x4746a2<<0x4;_0xf4251d=_0xf4251d>>>0x8^_0xf4251d&0xff^0x63,_0x30d97a[_0x80d9f6]=_0xf4251d,_0x5161a4[_0xf4251d]=_0x80d9f6;var _0x4dabf4=_0x4b1f88[_0x80d9f6],_0x3a0d27=_0x4b1f88[_0x4dabf4],_0x461af3=_0x4b1f88[_0x3a0d27],_0x18d54c=_0x4b1f88[_0xf4251d]*0x101^_0xf4251d*0x1010100;_0x29d165[_0x80d9f6]=_0x18d54c<<0x18|_0x18d54c>>>0x8,_0x1435cf[_0x80d9f6]=_0x18d54c<<0x10|_0x18d54c>>>0x10,_0x4549b8[_0x80d9f6]=_0x18d54c<<0x8|_0x18d54c>>>0x18,_0x18b742[_0x80d9f6]=_0x18d54c;var _0x18d54c=_0x461af3*0x1010101^_0x3a0d27*0x10001^_0x4dabf4*0x101^_0x80d9f6*0x1010100;_0x559c8d[_0xf4251d]=_0x18d54c<<0x18|_0x18d54c>>>0x8,_0x5f1612[_0xf4251d]=_0x18d54c<<0x10|_0x18d54c>>>0x10,_0x1a21dc[_0xf4251d]=_0x18d54c<<0x8|_0x18d54c>>>0x18,_0x4594c3[_0xf4251d]=_0x18d54c,_0x80d9f6?(_0x80d9f6=_0x4dabf4^_0x4b1f88[_0x4b1f88[_0x4b1f88[_0x461af3^_0x4dabf4]]],_0x4746a2^=_0x4b1f88[_0x4b1f88[_0x4746a2]]):_0x80d9f6=_0x4746a2=0x1;}}());var _0x1b41e9=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2e36f8=_0x24849a[_0x177bd3(0x13c)]=_0x2d511a['extend']({'_doReset':function(){var _0x38dc2e=_0x177bd3,_0x178426;if(!(this[_0x38dc2e(0x202)]&&this[_0x38dc2e(0x392)]===this[_0x38dc2e(0x16c)])){for(var _0x2f8838=this[_0x38dc2e(0x392)]=this[_0x38dc2e(0x16c)],_0x4c0702=_0x2f8838['words'],_0x50ea39=_0x2f8838[_0x38dc2e(0x201)]/0x4,_0x5ce23a=this[_0x38dc2e(0x202)]=_0x50ea39+0x6,_0x277359=(_0x5ce23a+0x1)*0x4,_0x2e78df=this[_0x38dc2e(0x1eb)]=[],_0x445f0c=0x0;_0x445f0c<_0x277359;_0x445f0c++)_0x445f0c<_0x50ea39?_0x2e78df[_0x445f0c]=_0x4c0702[_0x445f0c]:(_0x178426=_0x2e78df[_0x445f0c-0x1],_0x445f0c%_0x50ea39?_0x50ea39>0x6&&_0x445f0c%_0x50ea39==0x4&&(_0x178426=_0x30d97a[_0x178426>>>0x18]<<0x18|_0x30d97a[_0x178426>>>0x10&0xff]<<0x10|_0x30d97a[_0x178426>>>0x8&0xff]<<0x8|_0x30d97a[_0x178426&0xff]):(_0x178426=_0x178426<<0x8|_0x178426>>>0x18,_0x178426=_0x30d97a[_0x178426>>>0x18]<<0x18|_0x30d97a[_0x178426>>>0x10&0xff]<<0x10|_0x30d97a[_0x178426>>>0x8&0xff]<<0x8|_0x30d97a[_0x178426&0xff],_0x178426^=_0x1b41e9[_0x445f0c/_0x50ea39|0x0]<<0x18),_0x2e78df[_0x445f0c]=_0x2e78df[_0x445f0c-_0x50ea39]^_0x178426);for(var _0x1a5aa2=this['_invKeySchedule']=[],_0x1c05fd=0x0;_0x1c05fd<_0x277359;_0x1c05fd++){var _0x445f0c=_0x277359-_0x1c05fd;if(_0x1c05fd%0x4)var _0x178426=_0x2e78df[_0x445f0c];else var _0x178426=_0x2e78df[_0x445f0c-0x4];_0x1c05fd<0x4||_0x445f0c<=0x4?_0x1a5aa2[_0x1c05fd]=_0x178426:_0x1a5aa2[_0x1c05fd]=_0x559c8d[_0x30d97a[_0x178426>>>0x18]]^_0x5f1612[_0x30d97a[_0x178426>>>0x10&0xff]]^_0x1a21dc[_0x30d97a[_0x178426>>>0x8&0xff]]^_0x4594c3[_0x30d97a[_0x178426&0xff]];}}},'encryptBlock':function(_0x3b91fd,_0x139ce2){var _0x15d2d0=_0x177bd3;this[_0x15d2d0(0x2e5)](_0x3b91fd,_0x139ce2,this[_0x15d2d0(0x1eb)],_0x29d165,_0x1435cf,_0x4549b8,_0x18b742,_0x30d97a);},'decryptBlock':function(_0x5b504b,_0x5b81be){var _0x44cda7=_0x5b504b[_0x5b81be+0x1];_0x5b504b[_0x5b81be+0x1]=_0x5b504b[_0x5b81be+0x3],_0x5b504b[_0x5b81be+0x3]=_0x44cda7,this['_doCryptBlock'](_0x5b504b,_0x5b81be,this['_invKeySchedule'],_0x559c8d,_0x5f1612,_0x1a21dc,_0x4594c3,_0x5161a4);var _0x44cda7=_0x5b504b[_0x5b81be+0x1];_0x5b504b[_0x5b81be+0x1]=_0x5b504b[_0x5b81be+0x3],_0x5b504b[_0x5b81be+0x3]=_0x44cda7;},'_doCryptBlock':function(_0x4e0100,_0x51e39f,_0x5a5702,_0x500d65,_0x23e81c,_0x2ea0fe,_0x23085c,_0x1a9301){for(var _0x11d5a5=this['_nRounds'],_0x58fa05=_0x4e0100[_0x51e39f]^_0x5a5702[0x0],_0x478100=_0x4e0100[_0x51e39f+0x1]^_0x5a5702[0x1],_0x50a155=_0x4e0100[_0x51e39f+0x2]^_0x5a5702[0x2],_0x2bb8af=_0x4e0100[_0x51e39f+0x3]^_0x5a5702[0x3],_0x11fa1a=0x4,_0x1210a3=0x1;_0x1210a3<_0x11d5a5;_0x1210a3++){var _0x5485a8=_0x500d65[_0x58fa05>>>0x18]^_0x23e81c[_0x478100>>>0x10&0xff]^_0x2ea0fe[_0x50a155>>>0x8&0xff]^_0x23085c[_0x2bb8af&0xff]^_0x5a5702[_0x11fa1a++],_0x4dd167=_0x500d65[_0x478100>>>0x18]^_0x23e81c[_0x50a155>>>0x10&0xff]^_0x2ea0fe[_0x2bb8af>>>0x8&0xff]^_0x23085c[_0x58fa05&0xff]^_0x5a5702[_0x11fa1a++],_0x85c614=_0x500d65[_0x50a155>>>0x18]^_0x23e81c[_0x2bb8af>>>0x10&0xff]^_0x2ea0fe[_0x58fa05>>>0x8&0xff]^_0x23085c[_0x478100&0xff]^_0x5a5702[_0x11fa1a++],_0x4af8df=_0x500d65[_0x2bb8af>>>0x18]^_0x23e81c[_0x58fa05>>>0x10&0xff]^_0x2ea0fe[_0x478100>>>0x8&0xff]^_0x23085c[_0x50a155&0xff]^_0x5a5702[_0x11fa1a++];_0x58fa05=_0x5485a8,_0x478100=_0x4dd167,_0x50a155=_0x85c614,_0x2bb8af=_0x4af8df;}var _0x5485a8=(_0x1a9301[_0x58fa05>>>0x18]<<0x18|_0x1a9301[_0x478100>>>0x10&0xff]<<0x10|_0x1a9301[_0x50a155>>>0x8&0xff]<<0x8|_0x1a9301[_0x2bb8af&0xff])^_0x5a5702[_0x11fa1a++],_0x4dd167=(_0x1a9301[_0x478100>>>0x18]<<0x18|_0x1a9301[_0x50a155>>>0x10&0xff]<<0x10|_0x1a9301[_0x2bb8af>>>0x8&0xff]<<0x8|_0x1a9301[_0x58fa05&0xff])^_0x5a5702[_0x11fa1a++],_0x85c614=(_0x1a9301[_0x50a155>>>0x18]<<0x18|_0x1a9301[_0x2bb8af>>>0x10&0xff]<<0x10|_0x1a9301[_0x58fa05>>>0x8&0xff]<<0x8|_0x1a9301[_0x478100&0xff])^_0x5a5702[_0x11fa1a++],_0x4af8df=(_0x1a9301[_0x2bb8af>>>0x18]<<0x18|_0x1a9301[_0x58fa05>>>0x10&0xff]<<0x10|_0x1a9301[_0x478100>>>0x8&0xff]<<0x8|_0x1a9301[_0x50a155&0xff])^_0x5a5702[_0x11fa1a++];_0x4e0100[_0x51e39f]=_0x5485a8,_0x4e0100[_0x51e39f+0x1]=_0x4dd167,_0x4e0100[_0x51e39f+0x2]=_0x85c614,_0x4e0100[_0x51e39f+0x3]=_0x4af8df;},'keySize':0x100/0x20});_0x863641[_0x177bd3(0x13c)]=_0x2d511a[_0x177bd3(0x34d)](_0x2e36f8);}()),_0x59d3e9[_0x30ee52(0x13c)];}));}(Ve)),Ve[_0x2904db(0x272)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x40c2d6(0x272)],si;function Rn(){var _0xf95f6e=_0x40c2d6;return si||(si=0x1,function(_0x15e344,_0x346667){(function(_0x29526b,_0x20065a){var _0x56ecf0=_0x1af6;_0x15e344[_0x56ecf0(0x272)]=_0x20065a(te());}(Cn,function(_0x27b30f){var _0x4622d4=_0x1af6;return _0x27b30f[_0x4622d4(0xcc)]['Utf8'];}));}(Xe)),Xe[_0xf95f6e(0x272)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0x40c2d6(0x272)],ni;function Nn(){var _0x16cfc6=_0x40c2d6;return ni||(ni=0x1,function(_0x4fa5e1,_0x125c19){(function(_0x30c37a,_0x2e5ae6){var _0x32f349=_0x1af6;_0x4fa5e1[_0x32f349(0x272)]=_0x2e5ae6(te());}(yn,function(_0x354a8c){var _0x38ed04=_0x1af6;return(function(){var _0x1638cc=_0x1af6;if(typeof ArrayBuffer=='function'){var _0x1df600=_0x354a8c,_0x2f1fde=_0x1df600[_0x1638cc(0x320)],_0x3a1402=_0x2f1fde[_0x1638cc(0x3a6)],_0x2898a0=_0x3a1402[_0x1638cc(0x36a)],_0xb27e6a=_0x3a1402['init']=function(_0x5e356c){var _0x4b2153=_0x1638cc;if(_0x5e356c instanceof ArrayBuffer&&(_0x5e356c=new Uint8Array(_0x5e356c)),(_0x5e356c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5e356c instanceof Uint8ClampedArray||_0x5e356c instanceof Int16Array||_0x5e356c instanceof Uint16Array||_0x5e356c instanceof Int32Array||_0x5e356c instanceof Uint32Array||_0x5e356c instanceof Float32Array||_0x5e356c instanceof Float64Array)&&(_0x5e356c=new Uint8Array(_0x5e356c[_0x4b2153(0x171)],_0x5e356c[_0x4b2153(0x278)],_0x5e356c[_0x4b2153(0x314)])),_0x5e356c instanceof Uint8Array){for(var _0x1ae423=_0x5e356c['byteLength'],_0x5c0614=[],_0x54c78f=0x0;_0x54c78f<_0x1ae423;_0x54c78f++)_0x5c0614[_0x54c78f>>>0x2]|=_0x5e356c[_0x54c78f]<<0x18-_0x54c78f%0x4*0x8;_0x2898a0[_0x4b2153(0x23d)](this,_0x5c0614,_0x1ae423);}else _0x2898a0[_0x4b2153(0x375)](this,arguments);};_0xb27e6a[_0x1638cc(0x133)]=_0x3a1402;}}()),_0x354a8c[_0x38ed04(0x320)][_0x38ed04(0x3a6)];}));}(Ze)),Ze[_0x16cfc6(0x272)];}function _0x1af6(_0x169129,_0x4c0b8e){var _0xcc7984=_0xcc79();return _0x1af6=function(_0x1af6b1,_0x1d4e59){_0x1af6b1=_0x1af6b1-0xb4;var _0x57b71c=_0xcc7984[_0x1af6b1];return _0x57b71c;},_0x1af6(_0x169129,_0x4c0b8e);}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0x40c2d6(0x272)],ri;function wn(){var _0x986a88=_0x40c2d6;return ri||(ri=0x1,function(_0x4de7ff,_0x1acdba){(function(_0x2e9e6d,_0x3cd5aa,_0xf556a8){_0x4de7ff['exports']=_0x3cd5aa(te(),bi());}(An,function(_0x5be0d3){var _0xe5ea75=_0x1af6;return _0x5be0d3['pad'][_0xe5ea75(0x2f1)]={'pad':function(){},'unpad':function(){}},_0x5be0d3['pad'][_0xe5ea75(0x2f1)];}));}(Qe)),Qe[_0x986a88(0x272)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x31171c,_0x568192){var _0x225e8c=_0x40c2d6;const _0x398457=_0x568192-_0x31171c[_0x225e8c(0x2c2)]%_0x568192,_0x4c18a7=String[_0x225e8c(0x1c1)](_0x398457)[_0x225e8c(0x33e)](_0x398457);return _0x31171c+_0x4c18a7;}function xn(_0x6cac35,_0x34ae5c){var _0x320d8b=_0x40c2d6;const _0x2cb420=Un[_0x320d8b(0x11b)](0x10),_0xd9b874=Ln(_0x6cac35,0x10),_0x3cd0bf=In[_0x320d8b(0x31e)](bn[_0x320d8b(0x3ae)](_0xd9b874),ii[_0x320d8b(0x3ae)](_0x34ae5c),{'iv':_0x2cb420,'padding':Mn});return _0x2cb420['concat'](_0x3cd0bf[_0x320d8b(0x181)])[_0x320d8b(0x1ba)](ii);}function kn(){var _0x5a48a3=_0x40c2d6;const _0xed4738=_0x4700b9()['__Key__'];if(_0xed4738){const _0x418869={'time':Math[_0x5a48a3(0x226)](Date[_0x5a48a3(0x32e)]()/0x3e8),'domain':location[_0x5a48a3(0x28e)]};return xn(JSON[_0x5a48a3(0x309)](_0x418869),_0xed4738);}}var $n=Object[_0x40c2d6(0x1d5)],Hn=(_0x5c4941,_0x296c89,_0x5562c4,_0x3f74f4)=>{var _0x4183d9=_0x40c2d6;for(var _0x1f6b83=_0x3f74f4>0x1?void 0x0:_0x3f74f4?$n(_0x296c89,_0x5562c4):_0x296c89,_0x558475=_0x5c4941[_0x4183d9(0x2c2)]-0x1,_0x1802f4;_0x558475>=0x0;_0x558475--)(_0x1802f4=_0x5c4941[_0x558475])&&(_0x1f6b83=_0x1802f4(_0x1f6b83)||_0x1f6b83);return _0x1f6b83;},Bn=(_0x2a0816,_0x534297)=>(_0x338fcf,_0x5ea76f)=>_0x534297(_0x338fcf,_0x5ea76f,_0x2a0816);let at=class{constructor(_0x58ea24){var _0x443cfc=_0x40c2d6;this[_0x443cfc(0x34f)]=_0x58ea24,this['_initRequestHeader']();}[_0x40c2d6(0x11e)](){var _0x3c4625=_0x40c2d6;this[_0x3c4625(0x34f)][_0x3c4625(0x3ad)]({'interceptor':(_0x496afd,_0x219cce)=>{var _0x14d362=_0x3c4625;const _0x48986a=_0x496afd[_0x14d362(0x2b3)],_0x40d0a2=kn();return _0x40d0a2&&_0x48986a[_0x14d362(0x25c)](_0x14d362(0x1ee),_0x40d0a2),_0x219cce(_0x496afd);}});}};at=Hn([Bn(0x0,_0x12c579(_0x474636))],at);var jn=Object[_0x40c2d6(0x1d5)],Fn=(_0x3af92b,_0x331d56,_0x1b7a9e,_0x3ce851)=>{var _0x584d49=_0x40c2d6;for(var _0x2ba1bf=_0x3ce851>0x1?void 0x0:_0x3ce851?jn(_0x331d56,_0x1b7a9e):_0x331d56,_0x534070=_0x3af92b[_0x584d49(0x2c2)]-0x1,_0x116523;_0x534070>=0x0;_0x534070--)(_0x116523=_0x3af92b[_0x534070])&&(_0x2ba1bf=_0x116523(_0x2ba1bf)||_0x2ba1bf);return _0x2ba1bf;},vt=(_0x5bb043,_0x4d33c7)=>(_0x4298f4,_0x19b924)=>_0x4d33c7(_0x4298f4,_0x19b924,_0x5bb043);let Ct=class extends _0x5a7cdf{constructor(_0xad28b2,_0x45cadb,_0x231aaf){var _0x2f22cc=_0x40c2d6;super(),N(this,_0x2f22cc(0x156),new _0x3a215e(null)),N(this,'unitInfo$',this[_0x2f22cc(0x156)][_0x2f22cc(0x291)]()),(this['_logService']=_0xad28b2,this[_0x2f22cc(0x140)]=_0x45cadb,this['_localCacheService']=_0x231aaf);}async['loadUnitOfRevision'](_0x1cc251,_0x1aee6a,_0x50c91d){var _0x2f4a43=_0x40c2d6;this[_0x2f4a43(0x156)][_0x2f4a43(0x2fc)]({'unitId':_0x1cc251,'type':_0x1aee6a});let _0x50da9c=null;switch(_0x1aee6a){case Z['UNIVER_SHEET']:{_0x50da9c=await this[_0x2f4a43(0x140)][_0x2f4a43(0x14f)](_0x1cc251,_0x50c91d);break;}case Z['UNIVER_DOC']:{_0x50da9c=await this[_0x2f4a43(0x140)]['loadDoc'](_0x1cc251,_0x50c91d);break;}default:{this[_0x2f4a43(0x16b)]['error'](_0x2f4a43(0x307),_0x2f4a43(0x21f));break;}}return _0x50da9c;}async['loadUnit'](_0x651c45,_0x3d9002,_0x2100ba){var _0x5d212d=_0x40c2d6,_0x351e5f;this['_unitInfo$'][_0x5d212d(0x2fc)]({'unitId':_0x651c45,'type':_0x3d9002,'subUnitId':_0x2100ba});let _0x4093a4=0x0;const _0x4cd2f1=await((_0x351e5f=this['_localCacheService'])==null?void 0x0:_0x351e5f[_0x5d212d(0x23c)](_0x651c45));return _0x4cd2f1&&(_0x4cd2f1[_0x5d212d(0x172)]||_0x4cd2f1['mutations'][_0x5d212d(0x2c2)]!==0x0)&&(_0x4093a4=_0x4cd2f1[_0x5d212d(0x356)]),_0x4093a4===0x0&&this['_logService']['debug'](_0x5d212d(0x307),_0x5d212d(0xb5)),this['loadUnitOfRevision'](_0x651c45,_0x3d9002,_0x4093a4);}};Ct=Fn([vt(0x0,_0x326ad4),vt(0x1,_0x12c579(_0x250c91)),vt(0x2,_0x37b46e(J))],Ct);var Vn=Object[_0x40c2d6(0x1d5)],Wn=(_0x4db917,_0x4a1a82,_0x4d38ec,_0x4dbe75)=>{var _0x1369e8=_0x40c2d6;for(var _0x5e74e3=_0x4dbe75>0x1?void 0x0:_0x4dbe75?Vn(_0x4a1a82,_0x4d38ec):_0x4a1a82,_0x392e11=_0x4db917[_0x1369e8(0x2c2)]-0x1,_0x43fb00;_0x392e11>=0x0;_0x392e11--)(_0x43fb00=_0x4db917[_0x392e11])&&(_0x5e74e3=_0x43fb00(_0x5e74e3)||_0x5e74e3);return _0x5e74e3;},pt=(_0xfeaf31,_0x5842d3)=>(_0x2a1d87,_0x156a29)=>_0x5842d3(_0x2a1d87,_0x156a29,_0xfeaf31);const Gn=[_0x40c2d6(0x129),'image/jpeg','image/jpg',_0x40c2d6(0x1ed),_0x40c2d6(0x296)],Yn=0x5*0x400*0x400,Kn='/universer-api/stream/file/upload',qn=_0x40c2d6(0x380);let Rt=class{constructor(_0xc16607,_0x3d2d14,_0x2201d0){var _0x90e03a=_0x40c2d6;N(this,_0x90e03a(0x3ab),0x0),N(this,_0x90e03a(0x151),new _0x48735b()),N(this,_0x90e03a(0x396),this[_0x90e03a(0x151)]),N(this,_0x90e03a(0x23b),new Map()),(this[_0x90e03a(0x34f)]=_0xc16607,this[_0x90e03a(0x38b)]=_0x3d2d14,this[_0x90e03a(0x214)]=_0x2201d0);}['setWaitCount'](_0x4e8da3){var _0x204a27=_0x40c2d6;this[_0x204a27(0x3ab)]=_0x4e8da3,this[_0x204a27(0x151)][_0x204a27(0x2fc)](_0x4e8da3);}[_0x40c2d6(0x130)](_0x7d435d,_0x5b9d61){var _0x26918f=_0x40c2d6;if(_0x5b9d61===_0x43fd06[_0x26918f(0x352)]){const _0x5986ea=new Image();return _0x5986ea[_0x26918f(0x166)]=_0x7d435d,_0x5986ea;}return this[_0x26918f(0x23b)][_0x26918f(0x159)](_0x7d435d);}[_0x40c2d6(0x382)](_0x352d5a,_0x3c035b,_0x51e490){var _0x147a45=_0x40c2d6;_0x3c035b===_0x43fd06[_0x147a45(0x352)]||_0x51e490==null||this[_0x147a45(0x23b)][_0x147a45(0x25c)](_0x352d5a,_0x51e490);}async[_0x40c2d6(0x391)](_0x5ab108){var _0x2b379f=_0x40c2d6;try{const _0x425575=this[_0x2b379f(0x381)](this[_0x2b379f(0x3b1)](),''+_0x5ab108),_0x1c2ffd=(await this[_0x2b379f(0x34f)]['get'](_0x425575))[_0x2b379f(0x306)];if(_0x1c2ffd[_0x2b379f(0x288)]&&_0x1c2ffd['error'][_0x2b379f(0x313)]===vi['OK']){const _0x26c718=new URL(_0x1c2ffd[_0x2b379f(0x3a3)],this[_0x2b379f(0x359)]())[_0x2b379f(0x1ba)]();return Promise['resolve'](_0x26c718);}return Promise[_0x2b379f(0x297)](_0x1c2ffd[_0x2b379f(0x288)]);}catch(_0x59fb32){return Promise[_0x2b379f(0x297)](_0x59fb32);}}async[_0x40c2d6(0x1e2)](_0x297494){var _0x4a8526=_0x40c2d6;let _0x200e25='';if(!Gn['includes'](_0x297494[_0x4a8526(0xc1)]))return this[_0x4a8526(0x2e7)](),Promise[_0x4a8526(0x297)](new Error(_0x3064f4[_0x4a8526(0x23e)]));if(_0x297494[_0x4a8526(0x1f9)]>Yn)return this[_0x4a8526(0x2e7)](),Promise[_0x4a8526(0x297)](new Error(_0x3064f4[_0x4a8526(0x2ad)]));try{const _0x1ad402=new FormData();_0x1ad402[_0x4a8526(0x13f)](_0x4a8526(0x33f),_0x297494);const _0x1c4384=this[_0x4a8526(0x214)][_0x4a8526(0x33c)](),_0x59031f=_0x1c4384==null?void 0x0:_0x1c4384[_0x4a8526(0x2cf)]();if(!_0x59031f)throw new Error(_0x4a8526(0x24b));const _0x479df0=this[_0x4a8526(0x1de)]()+_0x4a8526(0x318)+_0x297494['size'][_0x4a8526(0x1ba)]()+'&source='+pi[_0x4a8526(0x142)]+_0x4a8526(0x2ce)+encodeURIComponent(_0x59031f),_0x1f816d={'body':_0x1ad402},_0xeb94dd=(await this[_0x4a8526(0x34f)][_0x4a8526(0x14c)](_0x479df0,_0x1f816d))[_0x4a8526(0x306)];if(typeof _0xeb94dd[_0x4a8526(0x366)]!=_0x4a8526(0x390))return this['_decreaseWaiting'](),Promise[_0x4a8526(0x297)](new Error(_0x3064f4[_0x4a8526(0x206)]));_0x200e25=_0xeb94dd['FileId'];}catch{return this[_0x4a8526(0x2e7)](),Promise['reject'](new Error(_0x3064f4[_0x4a8526(0x206)]));}return new Promise((_0x56ace8,_0x337274)=>{var _0x532178=_0x4a8526;const _0x117466=new FileReader();_0x117466[_0x532178(0x2ea)](_0x297494),_0x117466[_0x532178(0x2ac)]=_0x183df8=>{var _0xfdd43a=_0x532178,_0x3946a2;const _0xe0a252=(_0x3946a2=_0x183df8[_0xfdd43a(0x228)])==null?void 0x0:_0x3946a2[_0xfdd43a(0x1c6)];if(_0xe0a252==null){this[_0xfdd43a(0x2e7)](),_0x337274(new Error(_0x3064f4[_0xfdd43a(0x206)]));return;}const _0x4ed5a1=_0x5a3ce2(0x6);_0x56ace8({'imageId':_0x4ed5a1,'imageSourceType':_0x43fd06[_0xfdd43a(0x3b7)],'source':_0x200e25,'base64Cache':_0xe0a252,'status':_0x3064f4[_0xfdd43a(0x18e)]}),this[_0xfdd43a(0x2e7)]();};});}[_0x40c2d6(0x1de)](){var _0x422994=_0x40c2d6,_0x218cb2;const _0x4c0656=this[_0x422994(0x38b)][_0x422994(0x2dc)](K);return(_0x218cb2=_0x4c0656==null?void 0x0:_0x4c0656[_0x422994(0x179)])!=null?_0x218cb2:Kn;}['_getSignURL'](){var _0x417d1a=_0x40c2d6,_0x193e30;const _0x2dae62=this['_configService']['getConfig'](K);return(_0x193e30=_0x2dae62==null?void 0x0:_0x2dae62[_0x417d1a(0x1ad)])!=null?_0x193e30:qn;}[_0x40c2d6(0x359)](){var _0x29bb36=_0x40c2d6,_0x2521b4;const _0x2cc6c2=this[_0x29bb36(0x38b)][_0x29bb36(0x2dc)](K);return(_0x2521b4=_0x2cc6c2==null?void 0x0:_0x2cc6c2[_0x29bb36(0x252)])!=null?_0x2521b4:location[_0x29bb36(0x369)];}[_0x40c2d6(0x381)](_0x1846a5,_0x3d2610){var _0x1e4a76=_0x40c2d6;return _0x1846a5[_0x1e4a76(0x1b7)](_0x1e4a76(0x35b),_0x3d2610);}[_0x40c2d6(0x2e7)](){var _0x4bb824=_0x40c2d6;this[_0x4bb824(0x3ab)]-=0x1,this[_0x4bb824(0x151)][_0x4bb824(0x2fc)](this[_0x4bb824(0x3ab)]);}};Rt=Wn([pt(0x0,_0x12c579(_0x474636)),pt(0x1,_0x1ea92f),pt(0x2,_0x12c579(_0x1195d0))],Rt);var zn=Object[_0x40c2d6(0x1d5)],Jn=(_0x584a0f,_0x10855b,_0x39646b,_0x456a40)=>{for(var _0x36f2aa=_0x456a40>0x1?void 0x0:_0x456a40?zn(_0x10855b,_0x39646b):_0x10855b,_0x469700=_0x584a0f['length']-0x1,_0x3811c6;_0x469700>=0x0;_0x469700--)(_0x3811c6=_0x584a0f[_0x469700])&&(_0x36f2aa=_0x3811c6(_0x36f2aa)||_0x36f2aa);return _0x36f2aa;},ai=(_0x1da11e,_0x3b8259)=>(_0x598789,_0x37aab8)=>_0x3b8259(_0x598789,_0x37aab8,_0x1da11e);const Xn=_0x40c2d6(0x111);let Ot=class{constructor(_0x3a29b6,_0x13f9cf){var _0x3bde9c=_0x40c2d6;this[_0x3bde9c(0x38b)]=_0x3a29b6,this[_0x3bde9c(0x398)]=_0x13f9cf;}[_0x40c2d6(0x262)](){var _0x540c57=_0x40c2d6,_0x1a3385;const _0x24b677=this[_0x540c57(0x38b)][_0x540c57(0x2dc)](K);return(_0x1a3385=_0x24b677==null?void 0x0:_0x24b677[_0x540c57(0x14b)])!=null?_0x1a3385:Xn;}async[_0x40c2d6(0x395)](_0x50acb2){var _0x298038=_0x40c2d6;const _0x488c2e=this[_0x298038(0x262)]()+'/collaborator';return{'list':[{'title':_0x298038(0x20d),'mentions':(await this[_0x298038(0x398)]['get'](_0x488c2e,{'params':{'objectID':_0x50acb2[_0x298038(0x386)],'unitID':_0x50acb2[_0x298038(0x386)]}}))[_0x298038(0x306)]['collaborators'][_0x298038(0x22e)](_0x51e0d3=>({'objectId':_0x51e0d3['id'],'name':_0x51e0d3[_0x298038(0x290)][_0x298038(0x23a)],'metadata':{'icon':_0x51e0d3[_0x298038(0x290)][_0x298038(0x19e)]},'label':_0x51e0d3['subject']['name'],'objectType':_0x54c2e1[_0x298038(0x3b9)]})),'metadata':{},'type':_0x54c2e1[_0x298038(0x3b9)]}]};}};Ot=Jn([ai(0x0,_0x12c579(_0x1ea92f)),ai(0x1,_0x12c579(_0x474636))],Ot);var Zn=Object[_0x40c2d6(0x1d5)],Qn=(_0x551111,_0x3b74c3,_0x51a9dd,_0x587067)=>{var _0x2c6027=_0x40c2d6;for(var _0x432c1f=_0x587067>0x1?void 0x0:_0x587067?Zn(_0x3b74c3,_0x51a9dd):_0x3b74c3,_0x17c4c9=_0x551111[_0x2c6027(0x2c2)]-0x1,_0x5eef32;_0x17c4c9>=0x0;_0x17c4c9--)(_0x5eef32=_0x551111[_0x17c4c9])&&(_0x432c1f=_0x5eef32(_0x432c1f)||_0x432c1f);return _0x432c1f;},Ue=(_0x934cb4,_0x391f64)=>(_0x2c7928,_0x4589c5)=>_0x391f64(_0x2c7928,_0x4589c5,_0x934cb4);let ot=class extends _0x5a7cdf{constructor(_0x384c3e,_0x38aaf1,_0x3b79da,_0x39c0ac,_0x236f40){var _0x25611d=_0x40c2d6;super(),this['_injector']=_0x384c3e,this[_0x25611d(0x214)]=_0x38aaf1,this[_0x25611d(0x26c)]=_0x3b79da,this[_0x25611d(0x2c4)]=_0x39c0ac,this[_0x25611d(0x27e)]=_0x236f40,this[_0x25611d(0x341)](),this[_0x25611d(0xf3)]();}[_0x40c2d6(0xf3)](){var _0x19d1c2=_0x40c2d6;const _0x408188=async _0x1b7bc6=>{var _0x49e1f6=_0x1af6;(await this[_0x49e1f6(0x2c4)]['requireSession'](_0x1b7bc6))[_0x49e1f6(0x255)][_0x49e1f6(0x3a8)](_0x3d048f(_0x128185=>_0x128185[_0x49e1f6(0x188)]===_0x5eeaab[_0x49e1f6(0x32a)]),_0xc3eed0(this[_0x49e1f6(0x34e)]))[_0x49e1f6(0x1f8)](_0x533080=>{var _0x3890f2=_0x49e1f6;const _0x43166d=_0x533080,{reason:_0x213ae0}=_0x43166d[_0x3890f2(0x27b)];this[_0x3890f2(0x27e)][_0x3890f2(0x393)]({'id':ne['CLOSE_ROOM'],'data':_0x213ae0}),this[_0x3890f2(0x26c)][_0x3890f2(0x1c5)](new _0x133927(_0x1b7bc6)['id'],!0x1),this[_0x3890f2(0x2c4)]['closeSession'](_0x1b7bc6);});};_0x386648(this[_0x19d1c2(0x214)][_0x19d1c2(0x266)](_0x272081[_0x19d1c2(0x1b4)]),this[_0x19d1c2(0x214)][_0x19d1c2(0x266)](_0x272081[_0x19d1c2(0x246)]))[_0x19d1c2(0x3a8)](_0x350589(_0x305068=>_0x305068[_0x19d1c2(0x2cf)]()),_0x3d048f(_0x493cd5=>!_0x24fab4(_0x493cd5)),_0xc3eed0(this['dispose$']))[_0x19d1c2(0x1f8)](_0x2dfdfe=>{_0x408188(_0x2dfdfe);});}['_initUnitPermissionChange'](){var _0x47be6b=_0x40c2d6;const _0x450ccb=async _0x37a3a3=>{var _0x40791e=_0x1af6;const _0x5e22d0=await this[_0x40791e(0x2c4)][_0x40791e(0x27c)](_0x37a3a3),_0x274aa9=this[_0x40791e(0xb6)][_0x40791e(0x159)](_0x312d11);_0x5e22d0[_0x40791e(0x255)][_0x40791e(0x3a8)](_0x3d048f(_0x40229b=>_0x40229b[_0x40791e(0x188)]===_0x5eeaab[_0x40791e(0x39a)]),_0xc3eed0(this[_0x40791e(0x34e)]))[_0x40791e(0x1f8)](_0x3df84f=>{var _0x57bfb6=_0x40791e;const _0x31ea94=_0x3df84f,{objectId:_0x45ca2d}=_0x31ea94[_0x57bfb6(0x27b)];_0x45ca2d===_0x37a3a3?_0x274aa9['initWorkbookPermissionChange'](_0x37a3a3):_0x274aa9[_0x57bfb6(0x3b3)](_0x37a3a3,_0x45ca2d);});};_0x386648(this[_0x47be6b(0x214)]['getTypeOfUnitAdded$'](_0x272081[_0x47be6b(0x1b4)]))['pipe'](_0x350589(_0x51649d=>_0x51649d[_0x47be6b(0x2cf)]()),_0x3d048f(_0x3c9bba=>!_0x24fab4(_0x3c9bba)),_0xc3eed0(this[_0x47be6b(0x34e)]))['subscribe'](_0x512256=>{_0x450ccb(_0x512256);});}};ot=Qn([Ue(0x0,_0x12c579(_0x317612)),Ue(0x1,_0x1195d0),Ue(0x2,_0x731c47),Ue(0x3,_0x12c579(Pe)),Ue(0x4,_0x12c579(ve))],ot);var er=Object[_0x40c2d6(0x1d5)],tr=(_0xe989e3,_0x19868d,_0xad486d,_0x2642f3)=>{for(var _0x3efb2d=_0x2642f3>0x1?void 0x0:_0x2642f3?er(_0x19868d,_0xad486d):_0x19868d,_0x18cb47=_0xe989e3['length']-0x1,_0x2ca0d1;_0x18cb47>=0x0;_0x18cb47--)(_0x2ca0d1=_0xe989e3[_0x18cb47])&&(_0x3efb2d=_0x2ca0d1(_0x3efb2d)||_0x3efb2d);return _0x3efb2d;},oi=(_0x5c1591,_0x2e01ee)=>(_0x484b05,_0x2598c0)=>_0x2e01ee(_0x484b05,_0x2598c0,_0x5c1591);let bt=class{constructor(_0x134438,_0x595325){var _0x49676d=_0x40c2d6;this[_0x49676d(0x38b)]=_0x134438,this[_0x49676d(0x34f)]=_0x595325;}async[_0x40c2d6(0x192)](_0x2cdd80,_0x5d2513){var _0x3b3778=_0x40c2d6,_0xe2b94f;const {unitID:_0x801a8d,type:_0xa5ba10,revision:_0x565c6a=0x0}=_0x5d2513,_0x524175=this[_0x3b3778(0x141)]()+'/'+_0xa5ba10+'/unit/'+_0x801a8d+'/rev/'+_0x565c6a,_0x17b5ad=(await this[_0x3b3778(0x34f)][_0x3b3778(0x159)](_0x524175))[_0x3b3778(0x306)],_0x188e5e=(_0xe2b94f=_0x17b5ad[_0x3b3778(0x319)])==null?void 0x0:_0xe2b94f[_0x3b3778(0x343)];if(_0x188e5e){const _0x302ab9=_0x188e5e==null?void 0x0:_0x188e5e[_0x3b3778(0x18b)],_0x2fe694=_0x4ddc9b[_0x3b3778(0x2d3)](_0x44cf24(_0x302ab9));_0x188e5e['originalMeta']=_0x2fe694,Object[_0x3b3778(0x28f)](_0x188e5e[_0x3b3778(0x1dd)])[_0x3b3778(0x160)](([,_0x527614])=>{var _0xf6a7a4=_0x3b3778;const _0x594a28=_0x527614[_0xf6a7a4(0x18b)],_0x56faf1=_0x4ddc9b['encode'](_0x44cf24(_0x594a28));_0x527614['originalMeta']=_0x56faf1;});}return _0x17b5ad;}async[_0x40c2d6(0x136)](_0x48acdb,_0x544b5b){var _0x2cbd7a=_0x40c2d6;const {unitID:_0x496124,type:_0x117625,blockID:_0x577822}=_0x544b5b,_0x5e926e=this[_0x2cbd7a(0x2f6)]()+'/'+_0x117625+_0x2cbd7a(0x353)+_0x496124+_0x2cbd7a(0x131)+_0x577822;return(await this[_0x2cbd7a(0x34f)][_0x2cbd7a(0x159)](_0x5e926e))['body'];}async[_0x40c2d6(0xc0)](_0x53d431,_0x27036a){var _0x534ec8=_0x40c2d6;const {unitID:_0x1bf45a,type:_0x4ffbfb,blockID:_0x2e89fc}=_0x27036a,_0x1fa59c=this[_0x534ec8(0x2f6)]()+_0x534ec8(0x131)+_0x4ffbfb+'/unit/'+_0x1bf45a+_0x534ec8(0x131)+_0x2e89fc;return(await this[_0x534ec8(0x34f)][_0x534ec8(0x159)](_0x1fa59c))[_0x534ec8(0x306)];}async[_0x40c2d6(0x1e8)](_0x975578,_0x240e60){var _0x4b5958=_0x40c2d6;const {unitID:_0x83358b,type:_0x54e25b,from:_0x9a1b74,to:_0x2649a7}=_0x240e60,_0x572008=this[_0x4b5958(0x2f6)]()+'/'+_0x54e25b+_0x4b5958(0x353)+_0x83358b+'/fetchmissing?from='+_0x9a1b74+'&to='+_0x2649a7;return(await this[_0x4b5958(0x34f)][_0x4b5958(0x159)](_0x572008))[_0x4b5958(0x306)];}[_0x40c2d6(0x141)](){var _0xcc5965=_0x40c2d6,_0x3d5c71;return(_0x3d5c71=this[_0xcc5965(0x38b)][_0xcc5965(0x2dc)](vs))!=null?_0x3d5c71:this['_getAPIPrefix']();}[_0x40c2d6(0x2f6)](){var _0x3dccf2=_0x40c2d6,_0x35bd32;const _0x5cf498=this['_configService'][_0x3dccf2(0x2dc)](K);return(_0x35bd32=_0x5cf498==null?void 0x0:_0x5cf498[_0x3dccf2(0x2c0)])!=null?_0x35bd32:fs;}async[_0x40c2d6(0x2fb)](_0x17694a,_0x3de778){var _0x4a5bea=_0x40c2d6;const _0x3b7b68=_0x4a5bea(0x267)+_0x3de778[_0x4a5bea(0xc1)]+_0x4a5bea(0x353)+_0x3de778['unitID']+_0x4a5bea(0x35f);return(await this[_0x4a5bea(0x34f)][_0x4a5bea(0x159)](_0x3b7b68,{'params':{'resourceId':JSON[_0x4a5bea(0x309)](_0x3de778[_0x4a5bea(0x342)])}}))[_0x4a5bea(0x306)];}[_0x40c2d6(0x12a)](){var _0x2fd962=_0x40c2d6;throw new Error(_0x2fd962(0x300));}[_0x40c2d6(0x1a9)](){var _0x388bc7=_0x40c2d6;throw new Error(_0x388bc7(0x300));}[_0x40c2d6(0x242)](){var _0x582ba0=_0x40c2d6;throw new Error(_0x582ba0(0x300));}[_0x40c2d6(0x293)](){var _0x263d09=_0x40c2d6;throw new Error(_0x263d09(0x300));}[_0x40c2d6(0xf2)](){var _0x2207d4=_0x40c2d6;throw new Error(_0x2207d4(0x300));}[_0x40c2d6(0x194)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};bt=tr([oi(0x0,_0x1ea92f),oi(0x1,_0x12c579(_0x474636))],bt);var ir=Object[_0x40c2d6(0x1d5)],sr=(_0x31bd71,_0x1691a4,_0x1b819f,_0x435b11)=>{for(var _0x523ba7=_0x435b11>0x1?void 0x0:_0x435b11?ir(_0x1691a4,_0x1b819f):_0x1691a4,_0xbf240b=_0x31bd71['length']-0x1,_0x86bf12;_0xbf240b>=0x0;_0xbf240b--)(_0x86bf12=_0x31bd71[_0xbf240b])&&(_0x523ba7=_0x86bf12(_0x523ba7)||_0x523ba7);return _0x523ba7;},Ae=(_0x54a10b,_0x13b318)=>(_0x2c8306,_0x586220)=>_0x13b318(_0x2c8306,_0x586220,_0x54a10b);let yt=class extends _0x11650a{constructor(_0x516b99,_0x1a7cde,_0xe9e798,_0x39f3e9,_0x21bf44){super(_0x516b99,_0x1a7cde,_0xe9e798),this['_transformService']=_0x39f3e9,this['_logService']=_0x21bf44;}[_0x40c2d6(0xb7)](_0x59aaa0,_0x56e071){var _0x127349=_0x40c2d6;const _0x3a5e5e=this[_0x127349(0x265)](_0x59aaa0);if(_0x3a5e5e)try{const _0x875c4a=this[_0x127349(0x10a)](_0x3a5e5e,_0x56e071);this['_substituteUndoStack'](_0x59aaa0,_0x875c4a);}catch(_0x421135){this[_0x127349(0x16b)][_0x127349(0x288)](_0x127349(0x25f),_0x421135),this['_clearUndo'](_0x59aaa0);}const _0x421a9a=this[_0x127349(0x216)](_0x59aaa0);if(_0x421a9a)try{const _0x1c7263=this[_0x127349(0x10a)](_0x421a9a,_0x56e071);this[_0x127349(0x350)](_0x59aaa0,_0x1c7263);}catch(_0x34007c){this['_logService'][_0x127349(0x288)](_0x34007c),this[_0x127349(0x37f)](_0x59aaa0);}}[_0x40c2d6(0x19f)](_0x2e6d4d){var _0x2c7c52=_0x40c2d6;const _0x5ddca5=this[_0x2c7c52(0x265)](_0x2e6d4d);_0x5ddca5&&(_0x5ddca5[_0x2c7c52(0x2c2)]=0x0,this[_0x2c7c52(0x33d)]());}[_0x40c2d6(0x37f)](_0x567fbb){var _0x2daa82=_0x40c2d6;const _0x4f8166=this[_0x2daa82(0x216)](_0x567fbb);_0x4f8166&&(_0x4f8166[_0x2daa82(0x2c2)]=0x0,this['_updateStatus']());}[_0x40c2d6(0x35c)](_0xac92a6,_0x5e6ee6){var _0x1a0580=_0x40c2d6;this[_0x1a0580(0x155)][_0x1a0580(0x25c)](_0xac92a6,_0x5e6ee6),this[_0x1a0580(0x33d)]();}[_0x40c2d6(0x350)](_0x36271e,_0x253fc2){var _0x26f032=_0x40c2d6;this[_0x26f032(0x37c)][_0x26f032(0x25c)](_0x36271e,_0x253fc2),this[_0x26f032(0x33d)]();}['_transformStack'](_0x3fbf16,_0x54a293){var _0x4bf680=_0x40c2d6;const _0x31f9e8=[];let _0x515ab9=_0x54a293,_0x112d8d=_0x54a293;for(let _0x3e421d=_0x3fbf16[_0x4bf680(0x2c2)]-0x1;_0x3e421d>=0x0;_0x3e421d--){const {unitID:_0x1ec503,undoMutations:_0x3afbfb,redoMutations:_0x274da7}=_0x3fbf16[_0x3e421d],_0x605557=this[_0x4bf680(0x158)]['transformMutationsWithChangeset'](_0x515ab9,_0x3afbfb),_0xe378d2=this['_transformService'][_0x4bf680(0x22d)](_0x112d8d,_0x274da7);if(_0x57ca34(_0x605557)||_0x57ca34(_0xe378d2)){this['_logService'][_0x4bf680(0x288)](_0x4bf680(0x25f),_0x4bf680(0x2e2),_0x605557,_0xe378d2);break;}_0x515ab9=_0x605557['c1Prime'],_0x112d8d=_0xe378d2[_0x4bf680(0xb9)],_0x31f9e8[_0x4bf680(0x1f6)]({'unitID':_0x1ec503,'undoMutations':_0x605557[_0x4bf680(0x220)],'redoMutations':_0xe378d2[_0x4bf680(0x220)]});}return _0x31f9e8[_0x4bf680(0x184)]();}};yt=sr([Ae(0x0,_0x1195d0),Ae(0x1,_0x22b074),Ae(0x2,_0x42c67b),Ae(0x3,_0x7ca8ef),Ae(0x4,_0x326ad4)],yt);var nr=Object[_0x40c2d6(0x329)],rr=Object[_0x40c2d6(0x1d5)],ar=(_0x1cdc9b,_0x221a81,_0x20ed38)=>_0x221a81 in _0x1cdc9b?nr(_0x1cdc9b,_0x221a81,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20ed38}):_0x1cdc9b[_0x221a81]=_0x20ed38,or=(_0x15244,_0x31a3ae,_0xad9ef1,_0x4cc698)=>{for(var _0x3ea86f=_0x4cc698>0x1?void 0x0:_0x4cc698?rr(_0x31a3ae,_0xad9ef1):_0x31a3ae,_0x3c4c19=_0x15244['length']-0x1,_0x324fc6;_0x3c4c19>=0x0;_0x3c4c19--)(_0x324fc6=_0x15244[_0x3c4c19])&&(_0x3ea86f=_0x324fc6(_0x3ea86f)||_0x3ea86f);return _0x3ea86f;},mt=(_0x1b5b95,_0x4018b6)=>(_0xc17b80,_0x1805e4)=>_0x4018b6(_0xc17b80,_0x1805e4,_0x1b5b95),cr=(_0x55f29a,_0x2e00ce,_0x23c8b0)=>ar(_0x55f29a,_0x2e00ce+'',_0x23c8b0);const hr=_0x40c2d6(0x2ba);let Nt=class extends _0x419c6b{constructor(_0x3ff3b9,_0x4b31d3,_0x199589,_0x6ac32e){var _0x5898d0=_0x40c2d6;super(),N(this,_0x5898d0(0x32d)),(this[_0x5898d0(0x16b)]=_0x4b31d3,this[_0x5898d0(0xb6)]=_0x199589,this[_0x5898d0(0x38b)]=_0x6ac32e);const {..._0x44743c}=_0x520b07({},Ls,_0x3ff3b9);if(!_0x44743c[_0x5898d0(0x212)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x5898d0(0x32d)]=_0x44743c,this[_0x5898d0(0x38b)][_0x5898d0(0xdf)](K,_0x44743c);}['onStarting'](){var _0x4b60e8=_0x40c2d6;this[_0x4b60e8(0x205)](),this[_0x4b60e8(0x1fc)]();}[_0x40c2d6(0x205)](){var _0x30f59e=_0x40c2d6,_0xc47cff,_0x8e8f98;this['_injector'][_0x30f59e(0x370)](_0x4799e5)&&this[_0x30f59e(0x16b)][_0x30f59e(0x288)]('[UniverCollaborationClientPlugin]',_0x30f59e(0x1e7));const _0x3392d9=_0x5dac7d([[_0x4799e5,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this[_0x30f59e(0x32d)][_0x30f59e(0x212)]}],[_0x357fa6,{'useClass':bt}],[_0xe0b3b2,{'useClass':Tt}],[_0x3b8316,{'useClass':Rt}],[_0x3e2c49,{'useClass':Ot}],[nt],[It]],(_0xc47cff=this['_config'])==null?void 0x0:_0xc47cff[_0x30f59e(0x39b)]);if(!((_0x8e8f98=this['_config'])!=null&&_0x8e8f98[_0x30f59e(0x15f)])){const _0x62249d=_0x3392d9[_0x30f59e(0x27f)](([_0x3c720f])=>_0x3c720f===ht);_0x62249d!==-0x1&&_0x3392d9['splice'](_0x62249d,0x1);}_0x40074f(this[_0x30f59e(0xb6)],_0x3392d9);}[_0x40c2d6(0x1fc)](){var _0x2ebb2d=_0x40c2d6,_0x1ae013,_0x386c88,_0x159df0;this[_0x2ebb2d(0xb6)][_0x2ebb2d(0x159)](_0x474636)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x5088e4({'maxParallel':0x6})}),(_0x1ae013=this[_0x2ebb2d(0x32d)])!=null&&_0x1ae013[_0x2ebb2d(0x102)]||(_0x386c88=this['_injector'][_0x2ebb2d(0x159)](J,_0x54cab6['OPTIONAL']))==null||_0x386c88[_0x2ebb2d(0x182)](),(_0x159df0=this[_0x2ebb2d(0x32d)])!=null&&_0x159df0[_0x2ebb2d(0x107)]&&_0x20a04b(this[_0x2ebb2d(0xb6)],[[rt]]),_0x20a04b(this[_0x2ebb2d(0xb6)],[[at],[nt],[ot]]);}};cr(Nt,_0x40c2d6(0x1d6),hr),Nt=or([_0x225003(_0x58d58c,_0xb40cc5),mt(0x1,_0x326ad4),mt(0x2,_0x12c579(_0x317612)),mt(0x3,_0x1ea92f)],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};
|