@univerjs-pro/collaboration-client 0.10.8-nightly.202509200616 → 0.10.9

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.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. 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 _0x3647a5=_0x75e3;(function(_0x28d692,_0x3a358e){var _0x4dfb2f=_0x75e3,_0x4279c8=_0x28d692();while(!![]){try{var _0x19b272=parseInt(_0x4dfb2f(0x333))/0x1+-parseInt(_0x4dfb2f(0x31b))/0x2+-parseInt(_0x4dfb2f(0x1c1))/0x3+-parseInt(_0x4dfb2f(0x33a))/0x4*(-parseInt(_0x4dfb2f(0x2d5))/0x5)+-parseInt(_0x4dfb2f(0x1cf))/0x6*(parseInt(_0x4dfb2f(0x1b2))/0x7)+parseInt(_0x4dfb2f(0x133))/0x8+-parseInt(_0x4dfb2f(0xa3))/0x9*(-parseInt(_0x4dfb2f(0x1ba))/0xa);if(_0x19b272===_0x3a358e)break;else _0x4279c8['push'](_0x4279c8['shift']());}catch(_0x45cf23){_0x4279c8['push'](_0x4279c8['shift']());}}}(_0x4bda,0xad626));var yi=Object[_0x3647a5(0x378)],Ni=(_0x1b28e4,_0x12921a,_0x24e816)=>_0x12921a in _0x1b28e4?yi(_0x1b28e4,_0x12921a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24e816}):_0x1b28e4[_0x12921a]=_0x24e816,N=(_0x374309,_0x5d3bfe,_0x1dea99)=>Ni(_0x374309,typeof _0x5d3bfe!='symbol'?_0x5d3bfe+'':_0x5d3bfe,_0x1dea99);import{CollaborationEvent as _0x1f1e32,ITransformService as _0x2cd45e,isTransformMutationsWithChangesetSuccess as _0x263219,mapDocumentTypeToUniverType as _0x130c28,RevisionService as _0x1d8cd1,isTransformChangesetsSuccess as _0x12f137,CompressMutationService as _0x563328,parseProtocolChangeset as _0x3bd55e,uuidv4 as _0x3155d8,ISnapshotServerService as _0x2cf370,parseChangesetToProtocol as _0x36a189,SnapshotService as _0x368d05,textEncoder as _0x37fa7,b64DecodeUnicode as _0x2414a2,isTransformMutationsWithChangesetFailure as _0x3b0fb2,UniverCollaborationPlugin as _0x1c1392}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x407eef,Inject as _0x1bcbe4,UserManagerService as _0xd2bff5,Disposable as _0x5839c9,UniverInstanceType as _0x358be9,ILogService as _0x2c4df3,IConfigService as _0x1efea3,Optional as _0x39e56c,RxDisposable as _0x1a30db,createIdentifier as _0x3aa624,Injector as _0x1afca0,Tools as _0x364067,Rectangle as _0x5239a2,ICommandService as _0x4de856,JSONX as _0x22ac1b,CommandType as _0x1a88a8,IUndoRedoService as _0x34fbdf,IPermissionService as _0xfedac2,LocaleService as _0x164871,sequenceExecute as _0x455282,toDisposable as _0x425599,DisposableCollection as _0x52cce0,Workbook as _0x2de499,generateRandomId as _0x1b569f,MentionType as _0x1f86b3,isInternalEditorID as _0x3c3d37,LocalUndoRedoService as _0x31cbd6,IContextService as _0x2a57ba,DependentOn as _0x399e79,Plugin as _0x711c50,merge as _0xae5dcc,mergeOverrideWithDependencies as _0x543372,IAuthzIoService as _0x174431,IMentionIOService as _0x4f0037,registerDependencies as _0x97775d,Quantity as _0x4cca34,touchDependencies as _0x2cd7f2}from'@univerjs/core';import{RichTextEditingMutation as _0x59fc11}from'@univerjs/docs';import{SheetsSelectionsService as _0xdcf64,SetSelectionsOperation as _0x589827,InsertSheetMutation as _0x75d855,EmptyMutation as _0x3809ea,WorkbookEditablePermission as _0x261381,SheetPermissionInitController as _0x312932}from'@univerjs/sheets';import{Subject as _0x101319,merge as _0x43fe12,of as _0x13244b,BehaviorSubject as _0x2ebbac,takeUntil as _0x5b3e23,ReplaySubject as _0x31845a,take as _0x35bc8e,map as _0x27023f,shareReplay as _0x3902b9,firstValueFrom as _0x18e6b0,concatMap as _0x558bc8}from'rxjs';import{ITelemetryService as _0x1603ea}from'@univerjs/telemetry';import{map as _0x4ac341,take as _0x382a4d,filter as _0x5e6161,delay as _0x17449f,takeUntil as _0xc842ad}from'rxjs/operators';import{HTTPService as _0x471a60,ISocketService as _0x323b22,MergeInterceptorFactory as _0x38f6f8,HTTPRequest as _0x120e15,UniverNetworkPlugin as _0xe39102,ThresholdInterceptorFactory as _0x43984e}from'@univerjs/network';import{ImageSourceType as _0x49e526,ImageUploadStatusType as _0x106dac,IImageIoService as _0x43ff71}from'@univerjs/drawing';import{getGlobalObject as _0xe15ce9}from'@univerjs-pro/license';const fs=_0x3647a5(0x325),vs=_0x3647a5(0x2a7),ps=0x7d0,ms=_0x3647a5(0x28b),Ir=_0x3647a5(0x171),gs=_0x3647a5(0x182),Ss=0x7530,di=_0x3647a5(0x2db),fi=0x4e20,Es=0x4e20,Is=_0x3647a5(0x15a),Ts=0x3,Tr=_0x3647a5(0x99),Cr=0x3e8,Cs='/universer-api/comb',Rs=_0x3647a5(0x19c),Rr=_0x3647a5(0x1e7),Or=_0x3647a5(0x7b);var vi=(_0x3845ad=>(_0x3845ad[_0x3845ad[_0x3647a5(0x132)]=0x0]=_0x3647a5(0x132),_0x3845ad[_0x3845ad['OK']=0x1]='OK',_0x3845ad[_0x3845ad['INTERNAL_ERROR']=0x2]=_0x3647a5(0x1e2),_0x3845ad[_0x3845ad[_0x3647a5(0x2b9)]=0x3]=_0x3647a5(0x2b9),_0x3845ad[_0x3845ad[_0x3647a5(0xe9)]=0x4]=_0x3647a5(0xe9),_0x3845ad[_0x3845ad['UNAUTHENTICATED']=0x5]=_0x3647a5(0x1fd),_0x3845ad[_0x3845ad[_0x3647a5(0x1f1)]=0x6]='ALREADY_EXISTS',_0x3845ad[_0x3845ad[_0x3647a5(0x28a)]=0x7]='INVALID_ARGUMENT',_0x3845ad[_0x3845ad['TOO_MANY_REQUESTS']=0x8]=_0x3647a5(0x298),_0x3845ad[_0x3845ad[_0x3647a5(0x1f3)]=0x9]=_0x3647a5(0x1f3),_0x3845ad[_0x3845ad[_0x3647a5(0x149)]=0xa]=_0x3647a5(0x149),_0x3845ad[_0x3845ad[_0x3647a5(0x290)]=0xb]=_0x3647a5(0x290),_0x3845ad[_0x3845ad[_0x3647a5(0x8b)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3845ad[_0x3845ad['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x3647a5(0x2a6),_0x3845ad[_0x3845ad[_0x3647a5(0x146)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3845ad[_0x3845ad['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x3647a5(0x1ea),_0x3845ad[_0x3845ad['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3647a5(0x33f),_0x3845ad[_0x3845ad[_0x3647a5(0x27f)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3845ad[_0x3845ad[_0x3647a5(0x206)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3845ad[_0x3845ad[_0x3647a5(0x259)]=0x1b59]=_0x3647a5(0x259),_0x3845ad[_0x3845ad[_0x3647a5(0xe3)]=0x1b5a]=_0x3647a5(0xe3),_0x3845ad[_0x3845ad[_0x3647a5(0x186)]=0x1b5b]=_0x3647a5(0x186),_0x3845ad[_0x3845ad[_0x3647a5(0x2da)]=0x1b5c]=_0x3647a5(0x2da),_0x3845ad[_0x3845ad[_0x3647a5(0x124)]=0x1b5d]=_0x3647a5(0x124),_0x3845ad[_0x3845ad[_0x3647a5(0x72)]=0x1f41]=_0x3647a5(0x72),_0x3845ad[_0x3845ad[_0x3647a5(0x172)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3845ad[_0x3845ad['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x3647a5(0x70),_0x3845ad[_0x3845ad[_0x3647a5(0x21c)]=0x232b]=_0x3647a5(0x21c),_0x3845ad[_0x3845ad[_0x3647a5(0x332)]=0x232c]=_0x3647a5(0x332),_0x3845ad[_0x3845ad[_0x3647a5(0x13c)]=0x232d]=_0x3647a5(0x13c),_0x3845ad[_0x3845ad[_0x3647a5(0x350)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3845ad[_0x3845ad[_0x3647a5(0x31a)]=0x2712]=_0x3647a5(0x31a),_0x3845ad[_0x3845ad[_0x3647a5(0x29a)]=0x2713]=_0x3647a5(0x29a),_0x3845ad[_0x3845ad[_0x3647a5(0x241)]=0x2714]=_0x3647a5(0x241),_0x3845ad[_0x3845ad['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x3647a5(0x1b9),_0x3845ad[_0x3845ad[_0x3647a5(0x2e7)]=0x271b]=_0x3647a5(0x2e7),_0x3845ad[_0x3845ad[_0x3647a5(0x79)]=0x271c]=_0x3647a5(0x79),_0x3845ad[_0x3845ad[_0x3647a5(0xc2)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x3845ad[_0x3845ad[_0x3647a5(0x1a4)]=0x271e]=_0x3647a5(0x1a4),_0x3845ad[_0x3845ad['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x3845ad[_0x3845ad[_0x3647a5(0x2ae)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3845ad[_0x3845ad[_0x3647a5(0x256)]=0x2af9]=_0x3647a5(0x256),_0x3845ad[_0x3845ad[_0x3647a5(0x2c1)]=0x2ee1]=_0x3647a5(0x2c1),_0x3845ad[_0x3845ad['INVALID_INVITE_CODE']=0x2ee2]=_0x3647a5(0x12f),_0x3845ad[_0x3845ad[_0x3647a5(0x318)]=0x2ee3]=_0x3647a5(0x318),_0x3845ad[_0x3845ad[_0x3647a5(0x1bc)]=0x2ee4]=_0x3647a5(0x1bc),_0x3845ad[_0x3845ad[_0x3647a5(0x191)]=0x2ee5]=_0x3647a5(0x191),_0x3845ad[_0x3845ad['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3647a5(0x2d9),_0x3845ad[_0x3845ad[_0x3647a5(0x30f)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3845ad[_0x3845ad[_0x3647a5(0x26a)]=0x32cb]=_0x3647a5(0x26a),_0x3845ad[_0x3845ad[_0x3647a5(0x31d)]=-0x1]=_0x3647a5(0x31d),_0x3845ad))(vi||{}),Z=(_0x517274=>(_0x517274[_0x517274[_0x3647a5(0x22b)]=0x0]=_0x3647a5(0x22b),_0x517274[_0x517274[_0x3647a5(0x93)]=0x1]='UNIVER_DOC',_0x517274[_0x517274[_0x3647a5(0x1cb)]=0x2]='UNIVER_SHEET',_0x517274[_0x517274[_0x3647a5(0x84)]=0x3]=_0x3647a5(0x84),_0x517274[_0x517274[_0x3647a5(0x8a)]=0x4]='UNIVER_PROJECT',_0x517274[_0x517274['UNRECOGNIZED']=-0x1]=_0x3647a5(0x31d),_0x517274))(Z||{}),F=(_0x424d8e=>(_0x424d8e[_0x424d8e['UNKNOWN_CMD']=0x0]=_0x3647a5(0x144),_0x424d8e[_0x424d8e[_0x3647a5(0x85)]=0x1]=_0x3647a5(0x85),_0x424d8e[_0x424d8e[_0x3647a5(0x11e)]=0x2]=_0x3647a5(0x11e),_0x424d8e[_0x424d8e[_0x3647a5(0x2f1)]=0x3]=_0x3647a5(0x2f1),_0x424d8e[_0x424d8e['INGEST']=0x4]=_0x3647a5(0x167),_0x424d8e[_0x424d8e['HEARTBEAT']=0x5]=_0x3647a5(0x122),_0x424d8e[_0x424d8e[_0x3647a5(0x13e)]=0x6]=_0x3647a5(0x13e),_0x424d8e[_0x424d8e[_0x3647a5(0x31d)]=-0x1]=_0x3647a5(0x31d),_0x424d8e))(F||{}),pe=(_0x1bedff=>(_0x1bedff[_0x1bedff['UNKNOWN_CODE']=0x0]=_0x3647a5(0x10e),_0x1bedff[_0x1bedff['OK']=0x1]='OK',_0x1bedff[_0x1bedff['FAIL']=0x2]=_0x3647a5(0x2eb),_0x1bedff[_0x1bedff[_0x3647a5(0xb7)]=0x3e9]=_0x3647a5(0xb7),_0x1bedff[_0x1bedff[_0x3647a5(0x29e)]=0x3ea]=_0x3647a5(0x29e),_0x1bedff[_0x1bedff['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x3647a5(0x2e0),_0x1bedff[_0x1bedff[_0x3647a5(0x9c)]=0x3ec]=_0x3647a5(0x9c),_0x1bedff[_0x1bedff[_0x3647a5(0x31d)]=-0x1]='UNRECOGNIZED',_0x1bedff))(pe||{}),pi=(_0x5a7706=>(_0x5a7706[_0x5a7706[_0x3647a5(0x22d)]=0x0]=_0x3647a5(0x22d),_0x5a7706[_0x5a7706[_0x3647a5(0x158)]=0x1]=_0x3647a5(0x158),_0x5a7706[_0x5a7706[_0x3647a5(0x345)]=0x2]=_0x3647a5(0x345),_0x5a7706[_0x5a7706[_0x3647a5(0xbe)]=0x3]=_0x3647a5(0xbe),_0x5a7706[_0x5a7706['UnitSnapshot']=0x4]='UnitSnapshot',_0x5a7706[_0x5a7706['UserProfileImg']=0x5]=_0x3647a5(0x20f),_0x5a7706[_0x5a7706[_0x3647a5(0x31d)]=-0x1]=_0x3647a5(0x31d),_0x5a7706))(pi||{});const Os=_0x3647a5(0x2b5);function bs(_0x3d0b3f){var _0x386993=_0x3647a5;return JSON['stringify'](_0x3d0b3f)[_0x386993(0x30c)];}var ne=(_0x1bed6d=>(_0x1bed6d[_0x3647a5(0x322)]=_0x3647a5(0x322),_0x1bed6d[_0x3647a5(0x2b9)]=_0x3647a5(0x2b9),_0x1bed6d[_0x3647a5(0x1d0)]=_0x3647a5(0x1d0),_0x1bed6d[_0x3647a5(0x23d)]=_0x3647a5(0x23d),_0x1bed6d[_0x3647a5(0x88)]=_0x3647a5(0x88),_0x1bed6d['SOCKET_FAILED_RETRY']=_0x3647a5(0x12c),_0x1bed6d[_0x3647a5(0x1de)]=_0x3647a5(0x1de),_0x1bed6d[_0x3647a5(0x2ba)]=_0x3647a5(0x2ba),_0x1bed6d))(ne||{});class ve{constructor(){var _0x37e902=_0x3647a5;N(this,_0x37e902(0x285),new _0x101319()),N(this,'event$',this[_0x37e902(0x285)][_0x37e902(0x12d)]());}[_0x3647a5(0x94)](_0x1b22e2){var _0x16ddb4=_0x3647a5;this[_0x16ddb4(0x285)]['next'](_0x1b22e2);}}class mi{constructor(){var _0x56f349=_0x3647a5;N(this,_0x56f349(0x26c),new _0x101319()),N(this,_0x56f349(0x27b),this[_0x56f349(0x26c)][_0x56f349(0x12d)]());}[_0x3647a5(0x179)](_0x52a863){var _0x1369fe=_0x3647a5;this[_0x1369fe(0x26c)][_0x1369fe(0x337)](_0x52a863);}}var ys=Object[_0x3647a5(0x34d)],Ns=(_0x52a561,_0x47c5ab,_0x227ae2,_0x2ab143)=>{for(var _0x5e087e=_0x2ab143>0x1?void 0x0:_0x2ab143?ys(_0x47c5ab,_0x227ae2):_0x47c5ab,_0xa60b45=_0x52a561['length']-0x1,_0x5bd3c6;_0xa60b45>=0x0;_0xa60b45--)(_0x5bd3c6=_0x52a561[_0xa60b45])&&(_0x5e087e=_0x5bd3c6(_0x5e087e)||_0x5e087e);return _0x5e087e;},Ft=(_0x582a6e,_0x494681)=>(_0x404ba6,_0x11a15e)=>_0x494681(_0x404ba6,_0x11a15e,_0x582a6e);let we=class extends _0x5839c9{constructor(_0x4f58a8,_0x47b612){var _0x29d1d5=_0x3647a5;super(),N(this,_0x29d1d5(0x15b),new Map()),N(this,_0x29d1d5(0x14f),new _0x101319()),(this[_0x29d1d5(0x27a)]=_0x4f58a8,this['_userManagerService']=_0x47b612,this[_0x29d1d5(0x71)](_0x43fe12(this[_0x29d1d5(0x27a)][_0x29d1d5(0x156)](_0x358be9['UNIVER_SHEET'])[_0x29d1d5(0x2ce)](_0x4ac341(_0x37fefb=>_0x37fefb[_0x29d1d5(0x17e)]())),this[_0x29d1d5(0x27a)][_0x29d1d5(0x156)](_0x358be9[_0x29d1d5(0x93)])[_0x29d1d5(0x2ce)](_0x4ac341(_0x52e199=>_0x52e199[_0x29d1d5(0x17e)]())),this[_0x29d1d5(0x27a)]['getTypeOfUnitDisposed$'](_0x358be9[_0x29d1d5(0x84)])[_0x29d1d5(0x2ce)](_0x4ac341(_0x3d3c77=>_0x3d3c77[_0x29d1d5(0x17e)]())))[_0x29d1d5(0x34e)](_0x36b253=>this[_0x29d1d5(0x2c3)](_0x36b253))));}[_0x3647a5(0x386)](_0x373172){var _0x485f49=_0x3647a5;return this[_0x485f49(0x15b)][_0x485f49(0x193)](_0x373172)?_0x13244b(this[_0x485f49(0x15b)][_0x485f49(0x267)](_0x373172)):this[_0x485f49(0x14f)][_0x485f49(0x2ce)](_0x4ac341(_0x423954=>{var _0x16ae54=_0x485f49;if(_0x423954===_0x373172)return this[_0x16ae54(0x15b)][_0x16ae54(0x267)](_0x423954);}));}[_0x3647a5(0x281)](_0x120187){var _0x434508=_0x3647a5;this[_0x434508(0x2e9)][_0x434508(0x281)](_0x120187);}['getCurrentUser'](){var _0x21f7c6=_0x3647a5;return this['_userManagerService'][_0x21f7c6(0x2bf)]();}[_0x3647a5(0x28d)](_0x5ec78e,_0x414da5){var _0x1ce0af=_0x3647a5;let _0x594387=this[_0x1ce0af(0x15b)][_0x1ce0af(0x267)](_0x5ec78e);_0x594387||(_0x594387=new Ds(),this[_0x1ce0af(0x15b)]['set'](_0x5ec78e,_0x594387),this[_0x1ce0af(0x14f)]['next'](_0x5ec78e)),_0x594387[_0x1ce0af(0x28d)](_0x414da5);}[_0x3647a5(0x30d)](_0x3e13fa,_0x4039bf){var _0x101d8b=_0x3647a5;const _0x35166c=this['_roomMembers']['get'](_0x3e13fa);_0x35166c&&_0x35166c[_0x101d8b(0x30d)](_0x4039bf);}[_0x3647a5(0xb3)](_0x3ef73b){var _0x39625c=_0x3647a5;return this[_0x39625c(0x15b)]['get'](_0x3ef73b);}[_0x3647a5(0x7c)](_0x3c049e,_0x62962d){var _0x14540b=_0x3647a5;const _0x1dd0c3=this[_0x14540b(0x15b)][_0x14540b(0x267)](_0x3c049e);if(_0x1dd0c3)return _0x1dd0c3[_0x14540b(0x7c)](_0x62962d);}['_removeRoom'](_0x2fe984){var _0x39bd3e=_0x3647a5;const _0x3aaa00=this[_0x39bd3e(0x15b)][_0x39bd3e(0x267)](_0x2fe984);_0x3aaa00&&(_0x3aaa00['dispose'](),this[_0x39bd3e(0x15b)][_0x39bd3e(0xf6)](_0x2fe984));}[_0x3647a5(0x228)](){var _0x13fe85=_0x3647a5;this[_0x13fe85(0x15b)][_0x13fe85(0x1a5)](_0x53d192=>_0x53d192[_0x13fe85(0x228)]()),this[_0x13fe85(0x15b)][_0x13fe85(0xbf)](),this[_0x13fe85(0x14f)]['complete']();}};we=Ns([Ft(0x0,_0x407eef),Ft(0x1,_0x1bcbe4(_0xd2bff5))],we);class Ds extends _0x5839c9{constructor(){var _0x2bb541=_0x3647a5;super(...arguments),N(this,_0x2bb541(0x12b),new Map()),N(this,_0x2bb541(0x372),new _0x2ebbac(this['_members'])),N(this,_0x2bb541(0x148),this[_0x2bb541(0x372)][_0x2bb541(0x12d)]());}['dispose'](){var _0x1a8b8c=_0x3647a5;this['_members'][_0x1a8b8c(0xbf)]();}[_0x3647a5(0x28d)](_0x238742){var _0x4a0482=_0x3647a5;this[_0x4a0482(0x12b)][_0x4a0482(0x31f)](_0x238742[_0x4a0482(0x368)],_0x238742),this[_0x4a0482(0x252)]();}[_0x3647a5(0x30d)](_0x10ca55){var _0xb3f2d6=_0x3647a5;this['_members'][_0xb3f2d6(0xf6)](_0x10ca55);}[_0x3647a5(0x7c)](_0x2f8968){var _0x150d3e=_0x3647a5;return this[_0x150d3e(0x12b)][_0x150d3e(0x267)](_0x2f8968);}[_0x3647a5(0x21b)](){var _0x274209=_0x3647a5;return Array[_0x274209(0x6f)](this['_members'][_0x274209(0x189)]());}['_emitMembers'](){var _0x17db5d=_0x3647a5;this[_0x17db5d(0x372)][_0x17db5d(0x337)](this[_0x17db5d(0x12b)]);}}var Us=Object['getOwnPropertyDescriptor'],As=(_0x590f16,_0x455256,_0x4d9bf0,_0x175594)=>{var _0x5bac7e=_0x3647a5;for(var _0x4ce3e3=_0x175594>0x1?void 0x0:_0x175594?Us(_0x455256,_0x4d9bf0):_0x455256,_0x4132fc=_0x590f16[_0x5bac7e(0x30c)]-0x1,_0x4ebc93;_0x4132fc>=0x0;_0x4132fc--)(_0x4ebc93=_0x590f16[_0x4132fc])&&(_0x4ce3e3=_0x4ebc93(_0x4ce3e3)||_0x4ce3e3);return _0x4ce3e3;},Ce=(_0x4e975d,_0x1eb2db)=>(_0x169c55,_0x56dafb)=>_0x1eb2db(_0x169c55,_0x56dafb,_0x4e975d),ge=(_0x475e6a=>(_0x475e6a[_0x475e6a[_0x3647a5(0x1e4)]=0x0]='IDLE',_0x475e6a[_0x475e6a[_0x3647a5(0x274)]=0x1]=_0x3647a5(0x274),_0x475e6a[_0x475e6a[_0x3647a5(0x301)]=0x2]=_0x3647a5(0x301),_0x475e6a[_0x475e6a[_0x3647a5(0x14c)]=0x3]=_0x3647a5(0x14c),_0x475e6a))(ge||{});const Vt={[pe[_0x3647a5(0x2eb)]]:_0x3647a5(0x8c),[pe['JOIN_ROOM_FULL']]:_0x3647a5(0x37d),[pe[_0x3647a5(0x29e)]]:_0x3647a5(0x294),[pe[_0x3647a5(0x2e0)]]:'session.room-permission-denied',[pe[_0x3647a5(0x9c)]]:_0x3647a5(0x28f)};let gt=class extends _0x1a30db{constructor(_0x2e6822,_0x3fac25,_0x83478e,_0x4876b7,_0x2036c3,_0x446bd4,_0x43492b,_0x39bfb8){var _0x696d99=_0x3647a5;super(),N(this,_0x696d99(0x238),new _0x2ebbac(0x0)),N(this,'sessionStatus$',this['_sessionStatus$'][_0x696d99(0x12d)]()),N(this,_0x696d99(0x285),new _0x101319()),N(this,_0x696d99(0x77),this[_0x696d99(0x285)]['asObservable']()),N(this,_0x696d99(0x155)),N(this,'_socketMessageSubscription'),N(this,_0x696d99(0x9a)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x696d99(0xa1),null),(this['_unitID']=_0x2e6822,this[_0x696d99(0xaf)]=_0x83478e,this[_0x696d99(0x2c9)]=_0x4876b7,this[_0x696d99(0x18b)]=_0x2036c3,this[_0x696d99(0x2f4)]=_0x446bd4,this[_0x696d99(0x19f)]=_0x43492b,this[_0x696d99(0x300)]=_0x39bfb8,this[_0x696d99(0x2f9)]=!!this[_0x696d99(0x300)],_0x3fac25[_0x696d99(0x2ce)](_0x5b3e23(this[_0x696d99(0x175)]))['subscribe'](_0x1a9980=>{var _0x4fa398=_0x696d99,_0x2433e2;typeof _0x1a9980>'u'||(this[_0x4fa398(0x155)]=_0x1a9980,_0x1a9980?(this[_0x4fa398(0x11d)](_0x1a9980),this['_socketMessageSubscription']=_0x1a9980[_0x4fa398(0x334)][_0x4fa398(0x34e)](_0x4bb093=>{var _0x290717=_0x4fa398;_0x4bb093[_0x290717(0x143)]===this[_0x290717(0x34a)]&&this[_0x290717(0x204)](_0x4bb093);})):(this[_0x4fa398(0x30e)](),this[_0x4fa398(0x238)][_0x4fa398(0x337)](0x2),(_0x2433e2=this['_socketMessageSubscription'])==null||_0x2433e2[_0x4fa398(0x308)](),this['_socketMessageSubscription']=null));}));}get[_0x3647a5(0x1ed)](){var _0x1b7fc8=_0x3647a5;return this[_0x1b7fc8(0x238)][_0x1b7fc8(0xdc)]();}[_0x3647a5(0x1e3)](){var _0x3bf599,_0x3c5f5b;return(_0x3c5f5b=(_0x3bf599=this['_socket'])==null?void 0x0:_0x3bf599['memberID'])!=null?_0x3c5f5b:null;}['dispose'](){var _0x2c2871=_0x3647a5;super[_0x2c2871(0x228)](),this['dispose$']['next'](),this[_0x2c2871(0x175)][_0x2c2871(0xf8)]();}[_0x3647a5(0x6d)](){var _0xcd652c=_0x3647a5,_0x35c2bb,_0x48fd6a;this[_0xcd652c(0x30e)](),(_0x35c2bb=this[_0xcd652c(0x155)])==null||_0x35c2bb[_0xcd652c(0x1fa)]({'cmd':F[_0xcd652c(0x2f1)],'data':{'roomID':this[_0xcd652c(0x34a)]}}),(_0x48fd6a=this[_0xcd652c(0x155)])==null||_0x48fd6a['close'](),this[_0xcd652c(0x285)][_0xcd652c(0xf8)](),this['_sessionStatus$'][_0xcd652c(0xf8)](),this[_0xcd652c(0x228)]();}['_onCombEvent'](_0x15ab98){var _0x615db6=_0x3647a5;_0x15ab98['cmd']===F[_0x615db6(0x11e)]?this[_0x615db6(0x379)](_0x15ab98):_0x15ab98[_0x615db6(0x1ad)]===F[_0x615db6(0x13e)]&&this[_0x615db6(0x2a5)](_0x15ab98);}['_joinRoom'](_0x147a1c){var _0x21f6b0=_0x3647a5;this[_0x21f6b0(0x238)][_0x21f6b0(0x337)](0x1),_0x147a1c[_0x21f6b0(0x1fa)]({'cmd':F[_0x21f6b0(0x11e)],'routeKey':this[_0x21f6b0(0x34a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x21f6b0(0x34a)]}]}});}['_onJoinRoomEvent'](_0x420327){var _0x882cc1=_0x3647a5,_0x28192a;if(_0x420327['code']in Vt){this[_0x882cc1(0x19f)][_0x882cc1(0x94)]({'id':ne['JOIN_ROOM_FAILED'],'data':Vt[_0x420327[_0x882cc1(0x230)]]}),this['_sessionStatus$'][_0x882cc1(0x337)](0x2);return;}this[_0x882cc1(0x238)][_0x882cc1(0x337)](0x3);const _0x16da07=(_0x28192a=_0x420327[_0x882cc1(0x2cc)][_0x882cc1(0x22c)][this[_0x882cc1(0x34a)]])==null?void 0x0:_0x28192a['members'];_0x16da07&&_0x16da07[_0x882cc1(0x1a5)](_0x429ec4=>this[_0x882cc1(0x18b)]['updateMember'](this[_0x882cc1(0x34a)],_0x429ec4));}[_0x3647a5(0x2a5)](_0x1f64d8){var _0x5f0724=_0x3647a5;try{const _0x29be2f=_0x1f64d8[_0x5f0724(0x2cc)];switch(_0x29be2f['eventID']){case _0x1f1e32[_0x5f0724(0x9e)]:this[_0x5f0724(0x2ee)](_0x29be2f),this[_0x5f0724(0x285)][_0x5f0724(0x337)](_0x29be2f);break;case _0x1f1e32[_0x5f0724(0xfe)]:this[_0x5f0724(0x277)](_0x29be2f),this[_0x5f0724(0x285)][_0x5f0724(0x337)](_0x29be2f);break;case _0x1f1e32['CHANGESET_ACK']:case _0x1f1e32[_0x5f0724(0xe7)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x5f0724(0x285)]['next'](_0x29be2f);break;case _0x1f1e32[_0x5f0724(0x1b6)]:this[_0x5f0724(0xaf)][_0x5f0724(0x328)](_0x5f0724(0x375)+JSON[_0x5f0724(0x24c)](_0x29be2f)),this[_0x5f0724(0x285)]['next'](_0x29be2f);break;case _0x1f1e32[_0x5f0724(0x150)]:this[_0x5f0724(0x2f4)][_0x5f0724(0x179)](_0x29be2f[_0x5f0724(0x2cc)]),this[_0x5f0724(0x285)][_0x5f0724(0x337)](_0x29be2f);break;default:this[_0x5f0724(0x285)][_0x5f0724(0x337)](_0x29be2f);}}catch(_0x2be0e0){this[_0x5f0724(0xaf)][_0x5f0724(0x328)](_0x2be0e0,_0x1f64d8);}}['_onUserJoin'](_0x3267a2){var _0x5d41d5=_0x3647a5;this[_0x5d41d5(0x18b)][_0x5d41d5(0x28d)](this[_0x5d41d5(0x34a)],_0x3267a2['data']);}['_onUserLeave'](_0x279dc9){var _0x124b04=_0x3647a5;this['_memberService'][_0x124b04(0x30d)](this[_0x124b04(0x34a)],_0x279dc9['data'][_0x124b04(0x368)]);}async[_0x3647a5(0x1fa)](_0x48d7d3,_0x1a3d39){var _0x1e79d0=_0x3647a5;if(this['sessionStatus']!==0x3||!this[_0x1e79d0(0x155)])throw new Error(_0x1e79d0(0x14e));try{_0x48d7d3[_0x1e79d0(0x295)]===_0x1f1e32[_0x1e79d0(0x74)]&&(this[_0x1e79d0(0x20a)](),this[_0x1e79d0(0x169)](_0x48d7d3)),this[_0x1e79d0(0x155)][_0x1e79d0(0x1fa)]({'cmd':F['INGEST'],'routeKey':_0x1a3d39,'routeType':'','data':_0x48d7d3});}catch(_0x3716e8){this[_0x1e79d0(0xaf)]['error'](_0x3716e8);}}[_0x3647a5(0x20a)](){var _0x4c5d28=_0x3647a5,_0x222550;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x155470=_0x75e3;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x155470(0x94)]({'id':ne[_0x155470(0x2ba)]});},(_0x222550=this[_0x4c5d28(0x2c9)][_0x4c5d28(0x1fc)](di))!=null?_0x222550:fi);}[_0x3647a5(0xf2)](){var _0x1ebb50=_0x3647a5;this[_0x1ebb50(0x9a)]&&(clearTimeout(this[_0x1ebb50(0x9a)]),this[_0x1ebb50(0x9a)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x485e86){var _0x46843b=_0x3647a5;if(!this[_0x46843b(0x2f9)])return;const {data:_0x36f9d1}=_0x485e86,{unitID:_0x701854,changeset:_0x2bf6ab}=_0x36f9d1,{mutations:_0x2fc0cf,type:_0xcd74cf}=_0x2bf6ab;this[_0x46843b(0xa1)]={'unitId':_0x701854,'type':_0xcd74cf,'startTime':performance[_0x46843b(0x253)](),'stopTime':0x0,'duration':0x0,'size':bs(_0x2fc0cf)};}[_0x3647a5(0x1b7)](){var _0x3a07e5=_0x3647a5;if(this['_shouldReportTelemetry']){if(!this[_0x3a07e5(0xa1)]){this['_logService']['error'](_0x3a07e5(0x11f),_0x3a07e5(0xa9));return;}this['_telemetryInfo']['stopTime']=performance[_0x3a07e5(0x253)](),this['_telemetryInfo']['duration']=this[_0x3a07e5(0xa1)][_0x3a07e5(0x15e)]-this['_telemetryInfo'][_0x3a07e5(0xf9)],this['_telemetryService'][_0x3a07e5(0x2e8)](Os,this['_telemetryInfo']),this[_0x3a07e5(0xa1)]=null;}}[_0x3647a5(0x30e)](){var _0x5d9b91=_0x3647a5;this[_0x5d9b91(0xa1)]=null;}};gt=As([Ce(0x2,_0x2c4df3),Ce(0x3,_0x1efea3),Ce(0x4,_0x1bcbe4(we)),Ce(0x5,_0x1bcbe4(mi)),Ce(0x6,_0x1bcbe4(ve)),Ce(0x7,_0x39e56c(_0x1603ea))],gt);const J=_0x3aa624('collaboration-client.local-cache-service');function br(_0x1a20d4){var _0x323180=_0x3647a5;return _0x323180(0xca)+_0x1a20d4;}var ws=Object[_0x3647a5(0x34d)],Ps=(_0x1f34f0,_0xae68ed,_0x102278,_0x5ebda1)=>{var _0x13dcb7=_0x3647a5;for(var _0x50ea85=_0x5ebda1>0x1?void 0x0:_0x5ebda1?ws(_0xae68ed,_0x102278):_0xae68ed,_0x169ed1=_0x1f34f0[_0x13dcb7(0x30c)]-0x1,_0xa282f5;_0x169ed1>=0x0;_0x169ed1--)(_0xa282f5=_0x1f34f0[_0x169ed1])&&(_0x50ea85=_0xa282f5(_0x50ea85)||_0x50ea85);return _0x50ea85;},ut=(_0x402d50,_0x2b1ce8)=>(_0x58d1be,_0x54c37a)=>_0x2b1ce8(_0x58d1be,_0x54c37a,_0x402d50);function Ms(_0x45987f){var _0x4d8e88=_0x3647a5;const {unitID:_0x57ee4a,mutations:_0x7de67f}=_0x45987f;return{'unitId':_0x57ee4a,'subUnitId':_0x7de67f[0x0][_0x4d8e88(0x348)][_0x4d8e88(0x2bd)]};}let it=class{constructor(_0x519051,_0x4fd165,_0x4a1412){var _0x3f45b5=_0x3647a5;this[_0x3f45b5(0x324)]=_0x519051,this[_0x3f45b5(0x17b)]=_0x4fd165,this['_instanceService']=_0x4a1412;}['transformSelections'](_0x49fe96){var _0x21bf8e=_0x3647a5,_0x3fba09,_0x1fed75,_0x110efc,_0x14734f;const _0xf21676=this[_0x21bf8e(0x324)][_0x21bf8e(0x267)](_0xdcf64),{unitId:_0x280776,subUnitId:_0x6f5b8}=Ms(_0x49fe96),_0x4157b7=_0xf21676==null?void 0x0:_0xf21676['getWorkbookSelections'](_0x280776)[_0x21bf8e(0x211)](),_0x3a0cd4=(_0x1fed75=(_0x3fba09=this[_0x21bf8e(0x200)][_0x21bf8e(0xe0)](_0x280776))==null?void 0x0:_0x3fba09[_0x21bf8e(0x215)]())==null?void 0x0:_0x1fed75[_0x21bf8e(0x160)]();if(_0x4157b7['length']===0x0||!_0x280776||!_0x6f5b8)return;const _0x17bd01=[{'id':_0x589827['id'],'params':{'unitId':_0x280776,'subUnitId':_0x3a0cd4,'selections':_0x364067[_0x21bf8e(0xe2)](_0x4157b7)}}],_0x1605ad=this[_0x21bf8e(0x17b)][_0x21bf8e(0x235)](_0x49fe96,_0x17bd01);if(!_0x263219(_0x1605ad))throw _0x1605ad['error'];const _0x3b263c=(_0x14734f=(_0x110efc=_0x1605ad['m2Prime'][0x0])==null?void 0x0:_0x110efc[_0x21bf8e(0x348)])==null?void 0x0:_0x14734f[_0x21bf8e(0x9d)];if(Array[_0x21bf8e(0x385)](_0x3b263c)&&_0x3b263c[_0x21bf8e(0x30c)]){if(_0x3b263c[_0x21bf8e(0x30c)]===_0x17bd01[0x0][_0x21bf8e(0x348)]['selections']['length']&&_0x3b263c[_0x21bf8e(0x35e)]((_0x86381c,_0x460d1b)=>_0x5239a2[_0x21bf8e(0x219)](_0x86381c['range'],_0x17bd01[0x0]['params'][_0x21bf8e(0x9d)][_0x460d1b][_0x21bf8e(0x1fb)])))return;this[_0x21bf8e(0x324)][_0x21bf8e(0x267)](_0x4de856)[_0x21bf8e(0x233)](_0x589827['id'],{'unitId':_0x280776,'subUnitId':_0x3a0cd4,'selections':_0x3b263c});}}};it=Ps([ut(0x0,_0x1bcbe4(_0x1afca0)),ut(0x1,_0x2cd45e),ut(0x2,_0x407eef)],it);const ht=_0x3aa624(_0x3647a5(0x159));var gi=(_0x340920=>(_0x340920[_0x340920['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x3647a5(0x1e8),_0x340920[_0x340920[_0x3647a5(0x335)]=0x1]='OTHER_CLIENTS_EDITING',_0x340920))(gi||{});const K=_0x3647a5(0x199),Ls={},xs=new Set([_0x75d855['id']]);function Wt(_0x15817f,_0x5d139b,_0x47ff26,_0x52bfae,_0x307c5e){var _0x49b76a=_0x3647a5,_0x1fee9d,_0x44b0d9,_0x2271f9,_0x15376d;const _0x20593d=[];for(const _0x2f4a8d of _0x15817f)if(xs['has'](_0x2f4a8d['id'])){if(_0x20593d[_0x49b76a(0x30c)]>0x0)break;_0x20593d[_0x49b76a(0x109)](_0x2f4a8d);break;}else _0x20593d[_0x49b76a(0x109)](_0x2f4a8d);const _0x4dcd1b=(_0x44b0d9=(_0x1fee9d=_0x307c5e[_0x49b76a(0x2bf)]())==null?void 0x0:_0x1fee9d['userID'])!=null?_0x44b0d9:_0x49b76a(0x314),_0x9c34a5=(_0x15376d=(_0x2271f9=_0x307c5e[_0x49b76a(0x2bf)]())==null?void 0x0:_0x2271f9[_0x49b76a(0x368)])!=null?_0x15376d:_0x49b76a(0x314);return{'changeset':{'unitID':_0x5d139b,'type':_0x130c28(_0x47ff26[_0x49b76a(0x104)](_0x5d139b)),'baseRev':_0x52bfae[_0x49b76a(0x236)](_0x5d139b),'revision':0x0,'userID':_0x4dcd1b,'memberID':_0x9c34a5,'mutations':_0x20593d},'pendingMutations':_0x15817f[_0x49b76a(0x374)](_0x20593d[_0x49b76a(0x30c)])};}function ks(_0xe9db4b,_0x3e1bd2,_0x8056a5,_0x342699,_0x2492cf){var _0x39b4cf=_0x3647a5,_0x4d0639,_0x569ccb,_0x1ab854,_0x40704a;const _0x90ac1a=[_0xe9db4b[_0x39b4cf(0x97)]((_0x4f4f04,_0x46c656)=>{var _0x13c9fd=_0x39b4cf,_0x569b45;const {id:_0x429f23}=_0x4f4f04,{id:_0x4286df,type:_0x46b455}=_0x46c656,_0x32541=(_0x569b45=_0x4f4f04['params'])!=null?_0x569b45:{'actions':null},_0x489a1a=_0x46c656[_0x13c9fd(0x348)];if(_0x429f23&&_0x429f23!==_0x4286df)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x429f23+_0x13c9fd(0x1ef)+_0x4286df+'.');return{..._0x4f4f04,'id':_0x4286df,'type':_0x46b455,'params':{'unitId':_0x489a1a[_0x13c9fd(0x142)],'textRanges':_0x489a1a[_0x13c9fd(0x116)],'actions':_0x22ac1b[_0x13c9fd(0x1af)](_0x32541[_0x13c9fd(0x35d)],_0x489a1a[_0x13c9fd(0x35d)])}};},{})],_0x5c16d3=(_0x569ccb=(_0x4d0639=_0x2492cf['getCurrentUser']())==null?void 0x0:_0x4d0639['userID'])!=null?_0x569ccb:'unknown',_0x15a784=(_0x40704a=(_0x1ab854=_0x2492cf[_0x39b4cf(0x2bf)]())==null?void 0x0:_0x1ab854[_0x39b4cf(0x368)])!=null?_0x40704a:_0x39b4cf(0x314);return{'changeset':{'unitID':_0x3e1bd2,'type':_0x130c28(_0x8056a5[_0x39b4cf(0x104)](_0x3e1bd2)),'baseRev':_0x342699[_0x39b4cf(0x236)](_0x3e1bd2),'revision':0x0,'userID':_0x5c16d3,'memberID':_0x15a784,'mutations':_0x90ac1a},'pendingMutations':[]};}function Si(_0x570f5e,_0x236a14){var _0x46886b=_0x3647a5;const _0x45e0e5=new _0x31845a(0x1);return setTimeout(()=>_0x45e0e5[_0x46886b(0x337)](_0x236a14),_0x570f5e),_0x45e0e5[_0x46886b(0x12d)]()[_0x46886b(0x2ce)](_0x35bc8e(0x1));}const $s={'id':_0x3809ea['id'],'type':_0x1a88a8[_0x3647a5(0x258)],'params':{}};var Hs=Object['getOwnPropertyDescriptor'],Ee=(_0x10342e,_0x2b192b,_0x3d73ae,_0x4c25b7)=>{var _0x5bd4a7=_0x3647a5;for(var _0x526712=_0x4c25b7>0x1?void 0x0:_0x4c25b7?Hs(_0x2b192b,_0x3d73ae):_0x2b192b,_0x37a083=_0x10342e[_0x5bd4a7(0x30c)]-0x1,_0x5b8c30;_0x37a083>=0x0;_0x37a083--)(_0x5b8c30=_0x10342e[_0x37a083])&&(_0x526712=_0x5b8c30(_0x526712)||_0x526712);return _0x526712;},P=(_0x2ec8dd,_0x35580a)=>(_0x70394b,_0x53ca2a)=>_0x35580a(_0x70394b,_0x53ca2a,_0x2ec8dd),Ei=(_0x39cfbc=>(_0x39cfbc[_0x3647a5(0x207)]=_0x3647a5(0xc6),_0x39cfbc[_0x3647a5(0xf5)]='synced',_0x39cfbc['PENDING']='pending',_0x39cfbc['AWAITING']=_0x3647a5(0xbd),_0x39cfbc[_0x3647a5(0x384)]=_0x3647a5(0x1a1),_0x39cfbc['FETCH_MISS']=_0x3647a5(0x36b),_0x39cfbc[_0x3647a5(0x1d0)]=_0x3647a5(0x1d4),_0x39cfbc['OFFLINE']=_0x3647a5(0x20d),_0x39cfbc))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x3a5c07,_0xd7824a,_0x507234,_0x351597,_0x5ec770,_0x41b8c5,_0x49aadc,_0x31b320,_0x285640){var _0x47cd4e=_0x3647a5;N(this,_0x47cd4e(0x1ff),null),N(this,_0x47cd4e(0xb0),[]),(this[_0x47cd4e(0x1ee)]=_0x3a5c07,this[_0x47cd4e(0x11a)]=_0xd7824a,this[_0x47cd4e(0x323)]=_0x5ec770,this['_commandService']=_0x41b8c5,this[_0x47cd4e(0x1f7)]=_0x49aadc,this[_0x47cd4e(0x174)]=_0x31b320,this[_0x47cd4e(0x270)]=_0x285640,this[_0x47cd4e(0x1ff)]=_0x507234,this[_0x47cd4e(0xb0)]=_0x351597);}[_0x3647a5(0x237)](_0x1ab38b){var _0x31a13e=_0x3647a5;const _0x3d8be7=this[_0x31a13e(0x174)][_0x31a13e(0x236)](this[_0x31a13e(0x1ee)]);return _0x1ab38b['revision']>_0x3d8be7+0x1?(this[_0x31a13e(0x323)]['onMissingChangesets']({'from':_0x3d8be7,'to':_0x1ab38b['revision']-0x1}),!0x0):!0x1;}[_0x3647a5(0x289)](_0x4ee40d){var _0x9cd66=_0x3647a5;this[_0x9cd66(0x1f7)][_0x9cd66(0x1bd)](this['unitID'],_0x4ee40d);}[_0x3647a5(0x16b)](_0xa9fdda){var _0x1d6f55=_0x3647a5,_0x11d33e,_0x580fd4;(_0x580fd4=(_0x11d33e=this[_0x1d6f55(0x323)])[_0x1d6f55(0xf3)])==null||_0x580fd4[_0x1d6f55(0x1c6)](_0x11d33e,_0xa9fdda);}[_0x3647a5(0x1c3)](_0x1d7747){var _0xaddb11=_0x3647a5,_0x152df0,_0x1f83b8;return(_0x1f83b8=(_0x152df0=this[_0xaddb11(0x323)])[_0xaddb11(0x178)])==null?void 0x0:_0x1f83b8['call'](_0x152df0,_0x1d7747);}[_0x3647a5(0x1a7)](_0x597ee0){var _0x372afa=_0x3647a5,_0x45517d,_0x5a93dc;return(_0x5a93dc=(_0x45517d=this[_0x372afa(0x323)])[_0x372afa(0x151)])==null?void 0x0:_0x5a93dc[_0x372afa(0x1c6)](_0x45517d,_0x597ee0);}[_0x3647a5(0x141)](_0xac9f89){var _0x5b5196=_0x3647a5,_0x284712,_0x77ad27,_0x1ba861;return(_0x1ba861=(_0x77ad27=(_0x284712=this[_0x5b5196(0x323)])[_0x5b5196(0x35f)])==null?void 0x0:_0x77ad27[_0x5b5196(0x1c6)](_0x284712,_0xac9f89))!=null?_0x1ba861:_0xac9f89;}['_transformRemoteChangesetByStateCache'](_0x100e91){var _0x517fcb=_0x3647a5,_0x50bd84,_0x110e3d,_0x3d4dc1;return(_0x3d4dc1=(_0x110e3d=(_0x50bd84=this[_0x517fcb(0x323)])[_0x517fcb(0x9b)])==null?void 0x0:_0x110e3d[_0x517fcb(0x1c6)](_0x50bd84,_0x100e91))!=null?_0x3d4dc1:_0x100e91;}[_0x3647a5(0x2e2)](_0x2d718e){var _0x436446=_0x3647a5,_0x2b0ba5,_0x5723ef;if(this[_0x436446(0x11a)]===Z['UNIVER_DOC']){const {unitID:_0x177bdf,mutations:_0x2b66fa,memberID:_0x4d9a8a}=_0x2d718e,_0xef6c6=_0x2b66fa[0x0][_0x436446(0x348)][_0x436446(0x116)];Array['isArray'](_0xef6c6)&&_0xef6c6['length']>0x0&&((_0x5723ef=(_0x2b0ba5=this['_handler'])[_0x436446(0x317)])==null||_0x5723ef[_0x436446(0x1c6)](_0x2b0ba5,{'unitID':_0x177bdf,'memberID':_0x4d9a8a,'textRanges':_0xef6c6}));}}['_updateLocalCache'](){var _0x28851b=_0x3647a5,_0x29bf9c;(_0x29bf9c=this[_0x28851b(0x270)])==null||_0x29bf9c['updateOfflineData'](this[_0x28851b(0x1ee)],this[_0x28851b(0x11a)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x3647a5(0xc3)](){var _0x1a966e=_0x3647a5;return this[_0x1a966e(0x174)][_0x1a966e(0x236)](this[_0x1a966e(0x1ee)]);}['_incrementRevisionNumber'](){var _0x452765=_0x3647a5;this['_revisionService'][_0x452765(0x2d3)](this[_0x452765(0x1ee)]);}[_0x3647a5(0x367)](_0x29f1c1){var _0x2304c7=_0x3647a5,_0x20a5c1;let _0x4c1114=this['_transformRemoteChangesetByIMECache'](_0x29f1c1);_0x4c1114=this[_0x2304c7(0x25c)](_0x4c1114);const _0x3766d6=_0x455282(_0x4c1114[_0x2304c7(0x7e)],this[_0x2304c7(0x153)],{'fromCollab':!0x0});if(!_0x3766d6['result'])throw _0x3766d6[_0x2304c7(0x328)]instanceof Error?_0x3766d6[_0x2304c7(0x328)]:new Error((_0x20a5c1=_0x3766d6[_0x2304c7(0x328)])!=null?_0x20a5c1:'[CollaborationState]:\x20apply\x20error!');this[_0x2304c7(0x1c3)](_0x4c1114),this[_0x2304c7(0x1a7)](_0x4c1114),this[_0x2304c7(0x289)](_0x29f1c1),this[_0x2304c7(0x16b)](_0x4c1114),this['_syncEditingCollabCursor'](_0x4c1114),this[_0x2304c7(0x6c)]();}}let ye=class extends Ie{constructor(_0x32f646,_0x14d1f3,_0xe2ed56,_0x429435,_0x169635,_0xc11ea,_0x4dd063,_0x1626ed,_0x3593c4,_0x2e5882){var _0x3c1722=_0x3647a5;super(_0x32f646,_0x14d1f3,null,[],_0xe2ed56,_0x4dd063,_0xc11ea,_0x429435,_0x2e5882),N(this,'status',_0x3c1722(0x1f9)),(this[_0x3c1722(0x324)]=_0x169635,this[_0x3c1722(0xaf)]=_0x1626ed,this[_0x3c1722(0x17b)]=_0x3593c4,this[_0x3c1722(0x1f4)]=_0x2e5882);}[_0x3647a5(0x1e1)](_0x4277ea){var _0x55687a=_0x3647a5;const _0x19336c=this[_0x55687a(0x324)][_0x55687a(0x128)](re,this['unitID'],this[_0x55687a(0x11a)],[_0x4277ea],this['_handler']);return _0x19336c[_0x55687a(0x1bf)](),_0x19336c[_0x55687a(0x89)](),_0x19336c;}[_0x3647a5(0x75)](_0x452283){var _0x123ec9=_0x3647a5;if(this['_checkMissing'](_0x452283))return this[_0x123ec9(0x324)][_0x123ec9(0x128)](Q,this[_0x123ec9(0x1ee)],this[_0x123ec9(0x11a)],null,[],null,[_0x452283],this[_0x123ec9(0x323)]);try{const _0x302b8e=this['_transformService'][_0x123ec9(0x235)](_0x452283,[$s]);if(_0x263219(_0x302b8e)){const {c1Prime:_0x1c027}=_0x302b8e;return this[_0x123ec9(0x367)](_0x1c027),this;}throw _0x302b8e[_0x123ec9(0x328)];}catch(_0x57ae1c){return this[_0x123ec9(0xaf)]['error'](_0x57ae1c),this[_0x123ec9(0x127)](!0x1);}}[_0x3647a5(0x127)](_0x1fb8f9){var _0x1b493d=_0x3647a5;return this[_0x1b493d(0x324)][_0x1b493d(0x128)](le,this[_0x1b493d(0x1ee)],this['type'],null,[],this[_0x1b493d(0x323)],_0x1fb8f9);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x3647a5(0x2ad)](){var _0x5e7b0b=_0x3647a5;throw new Error(_0x5e7b0b(0x36e));}[_0x3647a5(0x6e)](){return this;}[_0x3647a5(0xb5)](){var _0x432eae=_0x3647a5;return this['_injector']['createInstance'](ue,this[_0x432eae(0x1ee)],this[_0x432eae(0x11a)],null,[],this[_0x432eae(0x323)]);}[_0x3647a5(0x2b8)](){return this;}['resend'](){var _0xbe1a89=_0x3647a5;throw new Error(_0xbe1a89(0x2e5));}[_0x3647a5(0xa7)](){var _0x48dc78=_0x3647a5;const _0x366373=this[_0x48dc78(0x174)][_0x48dc78(0x236)](this[_0x48dc78(0x1ee)]);return this[_0x48dc78(0x323)][_0x48dc78(0x152)]({'from':_0x366373,'to':0x0}),this[_0x48dc78(0x324)][_0x48dc78(0x128)](Q,this[_0x48dc78(0x1ee)],this[_0x48dc78(0x11a)],null,[],null,[],this['_handler']);}};ye=Ee([P(0x3,_0x1bcbe4(_0x1d8cd1)),P(0x4,_0x1bcbe4(_0x1afca0)),P(0x5,_0x34fbdf),P(0x6,_0x4de856),P(0x7,_0x2c4df3),P(0x8,_0x2cd45e),P(0x9,_0x39e56c(J))],ye);let re=class extends Ie{constructor(_0x336d7e,_0x5bc821,_0x13c4ad,_0x17492c,_0x224b02,_0x272d9b,_0x3c2fa5,_0x229721,_0x376fc0,_0x9326ad,_0x36f8fd,_0x1c6075,_0x1a309c,_0xfebda){var _0x1a11e5=_0x3647a5;super(_0x336d7e,_0x5bc821,null,_0x13c4ad,_0x17492c,_0x376fc0,_0x1a309c,_0x272d9b,_0xfebda),N(this,_0x1a11e5(0x19d),'pending'),N(this,_0x1a11e5(0x2a8),null),N(this,'_sendingTimer',null),(this[_0x1a11e5(0x324)]=_0x224b02,this['_memberService']=_0x3c2fa5,this['_logService']=_0x229721,this['_configService']=_0x9326ad,this[_0x1a11e5(0x17b)]=_0x36f8fd,this[_0x1a11e5(0x27a)]=_0x1c6075);}[_0x3647a5(0x1e1)](_0x194f20){var _0x25c84f=_0x3647a5;return this['_pendingMutations'][_0x25c84f(0x109)](_0x194f20),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x10ae40){var _0x461b7c=_0x3647a5;if(this[_0x461b7c(0x237)](_0x10ae40))return this[_0x461b7c(0x115)](),this[_0x461b7c(0x324)][_0x461b7c(0x128)](Q,this[_0x461b7c(0x1ee)],this[_0x461b7c(0x11a)],null,this[_0x461b7c(0xb0)],null,[_0x10ae40],this[_0x461b7c(0x323)]);try{const _0xc852f8=this['_transformService']['transformMutationsWithChangeset'](_0x10ae40,this[_0x461b7c(0xb0)]);if(_0x263219(_0xc852f8)){const {c1Prime:_0x385ac7,m2Prime:_0x1f3977}=_0xc852f8;this[_0x461b7c(0x367)](_0x385ac7);const _0xc067ac=this[_0x461b7c(0x324)][_0x461b7c(0x128)](re,this[_0x461b7c(0x1ee)],this[_0x461b7c(0x11a)],_0x1f3977,this['_handler']);this[_0x461b7c(0x115)]();const _0x3c6325=new Date()[_0x461b7c(0x288)](),_0x1f2f23=this[_0x461b7c(0x2a8)]?Math[_0x461b7c(0x21e)](this[_0x461b7c(0x2a8)]-_0x3c6325,0x0):this[_0x461b7c(0x91)]();return _0xc067ac['_schedule'](_0x1f2f23),_0xc067ac;}throw _0xc852f8['error'];}catch(_0x220571){return this[_0x461b7c(0xaf)][_0x461b7c(0x328)](_0x220571),this[_0x461b7c(0x127)](!0x1);}}[_0x3647a5(0x15d)](){var _0x40fb0e=_0x3647a5;throw new Error(_0x40fb0e(0x2f6));}[_0x3647a5(0x2ad)](){var _0x56f52b=_0x3647a5;throw new Error(_0x56f52b(0x352));}[_0x3647a5(0x6e)](){return this;}[_0x3647a5(0xb5)](){var _0x2ef57e=_0x3647a5;return this[_0x2ef57e(0x115)](),this['_injector'][_0x2ef57e(0x128)](ue,this[_0x2ef57e(0x1ee)],this[_0x2ef57e(0x11a)],null,this['_pendingMutations'],this[_0x2ef57e(0x323)]);}[_0x3647a5(0x2b8)](){return this;}['_schedule'](_0x11e90a){var _0x3bcf17=_0x3647a5;const _0x413231=_0x11e90a!=null?_0x11e90a:this[_0x3bcf17(0x91)]();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x413231,this[_0x3bcf17(0x96)]=setTimeout(()=>{var _0x48626b=_0x3bcf17;this['_clearScheduledTask']();let _0xa18626=null;switch(this['type']){case Z[_0x48626b(0x1cb)]:{_0xa18626=Wt(this['_pendingMutations'],this[_0x48626b(0x1ee)],this[_0x48626b(0x27a)],this['_revisionService'],this[_0x48626b(0x18b)]);break;}case Z[_0x48626b(0x93)]:{this[_0x48626b(0xb0)][_0x48626b(0x35e)](_0x18c33e=>_0x18c33e['id']===_0x59fc11['id'])?_0xa18626=ks(this[_0x48626b(0xb0)],this['unitID'],this[_0x48626b(0x27a)],this['_revisionService'],this[_0x48626b(0x18b)]):_0xa18626=Wt(this['_pendingMutations'],this['unitID'],this[_0x48626b(0x27a)],this[_0x48626b(0x174)],this[_0x48626b(0x18b)]);break;}default:throw new Error(_0x48626b(0x2a1)+this[_0x48626b(0x11a)]+'\x20in\x20_schedule.');}const {changeset:_0x5b22b1,pendingMutations:_0x5994ba}=_0xa18626;this[_0x48626b(0x323)][_0x48626b(0x2a3)](_0x5b22b1);const _0x5d9154=_0x5994ba[_0x48626b(0x30c)]?this[_0x48626b(0x324)]['createInstance'](ae,this[_0x48626b(0x1ee)],this[_0x48626b(0x11a)],_0x5b22b1,_0x5994ba,this[_0x48626b(0x323)],void 0x0):this['_injector'][_0x48626b(0x128)](_e,this[_0x48626b(0x1ee)],this[_0x48626b(0x11a)],_0x5b22b1,this[_0x48626b(0x323)]);_0x5d9154[_0x48626b(0x89)](),this[_0x48626b(0x323)][_0x48626b(0x2e4)](this,_0x5d9154);},_0x413231);}[_0x3647a5(0x91)](){var _0x26accb=_0x3647a5,_0x4aa3fb;const _0x24ea49=this[_0x26accb(0x2c9)][_0x26accb(0x1fc)](K);return(_0x4aa3fb=_0x24ea49==null?void 0x0:_0x24ea49['sendChangesetTimeout'])!=null?_0x4aa3fb:ps;}[_0x3647a5(0x24f)](){var _0x507c99=_0x3647a5;throw new Error(_0x507c99(0x176));}[_0x3647a5(0x115)](){var _0x1285b4=_0x3647a5;this[_0x1285b4(0x96)]!=null&&(clearTimeout(this[_0x1285b4(0x96)]),this[_0x1285b4(0x96)]=null);}[_0x3647a5(0x127)](_0x47fc28){var _0x24de53=_0x3647a5;return this[_0x24de53(0x115)](),this[_0x24de53(0x324)][_0x24de53(0x128)](le,this[_0x24de53(0x1ee)],this[_0x24de53(0x11a)],null,this[_0x24de53(0xb0)],this[_0x24de53(0x323)],_0x47fc28);}};re=Ee([P(0x4,_0x1bcbe4(_0x1afca0)),P(0x5,_0x1bcbe4(_0x1d8cd1)),P(0x6,_0x1bcbe4(we)),P(0x7,_0x2c4df3),P(0x8,_0x4de856),P(0x9,_0x1efea3),P(0xa,_0x2cd45e),P(0xb,_0x407eef),P(0xc,_0x34fbdf),P(0xd,_0x39e56c(J))],re);let _e=class extends Ie{constructor(_0x1f2811,_0x5acb99,_0x4394bb,_0x5e62fe,_0x314e20,_0xd3404e,_0x2a1488,_0x5bd0fa,_0x204810,_0x26a80b,_0x3e2a70){var _0x2c26ff=_0x3647a5;super(_0x1f2811,_0x5acb99,_0x4394bb,[],_0x5e62fe,_0x2a1488,_0x26a80b,_0xd3404e,_0x3e2a70),N(this,_0x2c26ff(0x19d),_0x2c26ff(0xbd)),N(this,_0x2c26ff(0x373),0x0),N(this,_0x2c26ff(0xad)),N(this,_0x2c26ff(0x1f5)),(this['_injector']=_0x314e20,this[_0x2c26ff(0xaf)]=_0x5bd0fa,this['_transformService']=_0x204810);}[_0x3647a5(0x1e1)](_0x2736b7){var _0x3553d3=_0x3647a5;this[_0x3553d3(0x115)]();const _0x252107=this[_0x3553d3(0x324)]['createInstance'](ae,this['unitID'],this['type'],this[_0x3553d3(0x1ff)],[_0x2736b7],this['_handler'],this[_0x3553d3(0xad)]);return _0x252107[_0x3553d3(0x89)](),_0x252107;}['onRemoteChangeset'](_0x441a1d){var _0x249ede=_0x3647a5;if(this[_0x249ede(0x237)](_0x441a1d))return this[_0x249ede(0x115)](),this[_0x249ede(0x324)]['createInstance'](Q,this[_0x249ede(0x1ee)],this[_0x249ede(0x11a)],this[_0x249ede(0x1ff)],[],null,[_0x441a1d],this[_0x249ede(0x323)]);try{const _0xc6d3c5=this[_0x249ede(0x17b)][_0x249ede(0x164)]([_0x441a1d],[this[_0x249ede(0x1ff)]],!0x1);if(_0x12f137(_0xc6d3c5)){const {c1Prime:_0x11eb30,c2Prime:_0x268714}=_0xc6d3c5;this[_0x249ede(0x367)](_0x11eb30[0x0]),_0x268714[0x0][_0x249ede(0x19a)]=this[_0x249ede(0xc3)](),this[_0x249ede(0x115)]();const _0x53bced=this[_0x249ede(0x324)][_0x249ede(0x128)](_e,this[_0x249ede(0x1ee)],this[_0x249ede(0x11a)],_0x268714[0x0],this['_handler']);return _0x53bced[_0x249ede(0x89)](),_0x53bced;}return this['_onConflict'](!0x1);}catch(_0x42a236){return this[_0x249ede(0xaf)]['error'](_0x42a236),this[_0x249ede(0x127)](!0x1);}}[_0x3647a5(0x15d)](_0x46b531){var _0x39863f=_0x3647a5;this['_clearScheduledTask']();const _0x4b1373=this[_0x39863f(0x174)][_0x39863f(0x236)](this['unitID']);if(_0x46b531[_0x39863f(0x227)]<_0x4b1373-0x1)return this;if(this[_0x39863f(0x237)](_0x46b531))return this[_0x39863f(0x324)][_0x39863f(0x128)](Q,this[_0x39863f(0x1ee)],this['type'],null,[],this[_0x39863f(0x1ff)],[],this['_handler']);this[_0x39863f(0x6c)]();const _0x3e729e=this['_injector']['createInstance'](ye,this[_0x39863f(0x1ee)],this['type'],this[_0x39863f(0x323)]);return _0x3e729e[_0x39863f(0x89)](),_0x3e729e;}['onRemoteRej'](_0x2a61da){var _0x267b47=_0x3647a5;return this[_0x267b47(0x127)](!!(_0x2a61da!=null&&_0x2a61da[_0x267b47(0x283)]));}[_0x3647a5(0x6e)](_0x58ceb0){var _0x313cf0=_0x3647a5;return this['_resendTimeout']>Ii?this[_0x313cf0(0xb5)]():(this[_0x313cf0(0xad)]=Si(this[_0x313cf0(0x373)],{'timeout':this[_0x313cf0(0x373)],'reqId':_0x58ceb0['reqId']}),this[_0x313cf0(0x1f5)]=this[_0x313cf0(0xad)]['subscribe'](({reqId:_0x50a55a,timeout:_0x1ac99b})=>{this['_resendWithTimeout'](_0x50a55a,_0x1ac99b);}),this);}[_0x3647a5(0xb5)](){var _0x5a26a9=_0x3647a5;return this[_0x5a26a9(0x115)](),this[_0x5a26a9(0x324)]['createInstance'](ue,this[_0x5a26a9(0x1ee)],this[_0x5a26a9(0x11a)],this[_0x5a26a9(0x1ff)],[],this[_0x5a26a9(0x323)]);}[_0x3647a5(0x2b8)](){return this;}[_0x3647a5(0x24f)](){var _0x4a774e=_0x3647a5;this[_0x4a774e(0x323)][_0x4a774e(0x2a3)](this[_0x4a774e(0x1ff)]);}[_0x3647a5(0x127)](_0x1f5bf1){var _0x576d61=_0x3647a5;return this[_0x576d61(0x115)](),this[_0x576d61(0x324)]['createInstance'](le,this[_0x576d61(0x1ee)],this[_0x576d61(0x11a)],this[_0x576d61(0x1ff)],[],this[_0x576d61(0x323)],_0x1f5bf1);}[_0x3647a5(0xd5)](_0x49c950,_0x54a82d){var _0x291820=_0x3647a5,_0x3b7232;_0x49c950===((_0x3b7232=this[_0x291820(0x1ff)])==null?void 0x0:_0x3b7232[_0x291820(0x14d)])&&(this[_0x291820(0x24f)](),this[_0x291820(0x373)]=_0x54a82d===0x0?0x3e8:_0x54a82d*0x2);}[_0x3647a5(0x115)](){var _0x78e25d=_0x3647a5,_0x22c364;(_0x22c364=this[_0x78e25d(0x1f5)])==null||_0x22c364[_0x78e25d(0x308)](),this[_0x78e25d(0x373)]=0x0;}};_e=Ee([P(0x4,_0x1bcbe4(_0x1afca0)),P(0x5,_0x1bcbe4(_0x1d8cd1)),P(0x6,_0x4de856),P(0x7,_0x2c4df3),P(0x8,_0x2cd45e),P(0x9,_0x34fbdf),P(0xa,_0x39e56c(J))],_e);let ae=class extends Ie{constructor(_0x24e3d0,_0x50f0dc,_0x4a8cde,_0x2f1b50,_0x45f3a6,_0x1b4c54,_0xff95e1,_0x453607,_0x20ccec,_0x47502c,_0xc9a9a6,_0x49f4f7,_0x221e03){var _0x197d53=_0x3647a5;super(_0x24e3d0,_0x50f0dc,_0x4a8cde,_0x2f1b50,_0x45f3a6,_0x20ccec,_0x49f4f7,_0x453607,_0x221e03),N(this,_0x197d53(0x19d),'awaiting_with_pending'),N(this,_0x197d53(0x373),0x0),N(this,_0x197d53(0xad)),N(this,_0x197d53(0x1f5)),(this['_injector']=_0xff95e1,this[_0x197d53(0xaf)]=_0x47502c,this[_0x197d53(0x17b)]=_0xc9a9a6,this[_0x197d53(0x1f4)]=_0x221e03,_0x1b4c54&&(this[_0x197d53(0xad)]=_0x1b4c54,this[_0x197d53(0x1f5)]=this['_resendTimer'][_0x197d53(0x34e)](({reqId:_0x84f39c,timeout:_0x4edba8})=>{this['_resendWithTimeout'](_0x84f39c,_0x4edba8);})));}['appendMutation'](_0x3bafeb){var _0x1bc1a7=_0x3647a5;return this[_0x1bc1a7(0xb0)]['push'](_0x3bafeb),this;}[_0x3647a5(0x75)](_0x1a11df){var _0xa74ca0=_0x3647a5;if(this['_checkMissing'](_0x1a11df))return this[_0xa74ca0(0x115)](),this[_0xa74ca0(0x324)]['createInstance'](Q,this[_0xa74ca0(0x1ee)],this['type'],this[_0xa74ca0(0x1ff)],this[_0xa74ca0(0xb0)],null,[_0x1a11df],this[_0xa74ca0(0x323)]);try{const _0x5830ec=this[_0xa74ca0(0x17b)][_0xa74ca0(0x164)]([_0x1a11df],[this['_awaitingChangeset']],!0x1);if(_0x12f137(_0x5830ec)){const {c1Prime:_0x20bd9f,c2Prime:_0xad8c04}=_0x5830ec,_0x59b192=this['_transformService'][_0xa74ca0(0x235)](_0x20bd9f[0x0],this[_0xa74ca0(0xb0)]);if(_0x263219(_0x59b192)){const {c1Prime:_0x2bdbd3,m2Prime:_0x4904b7}=_0x59b192;return this[_0xa74ca0(0x367)](_0x2bdbd3),_0xad8c04[0x0][_0xa74ca0(0x19a)]=this[_0xa74ca0(0xc3)](),this[_0xa74ca0(0x115)](),this[_0xa74ca0(0x324)]['createInstance'](ae,this['unitID'],this[_0xa74ca0(0x11a)],_0xad8c04[0x0],_0x4904b7,this['_handler'],void 0x0);}throw _0x59b192[_0xa74ca0(0x328)];}throw _0x5830ec[_0xa74ca0(0x328)];}catch(_0x53eef4){return this[_0xa74ca0(0xaf)][_0xa74ca0(0x328)](_0x53eef4),this[_0xa74ca0(0x127)](!0x1);}}[_0x3647a5(0x15d)](_0x29bace){var _0x280a87=_0x3647a5;if(this['_clearScheduledTask'](),this[_0x280a87(0x237)](_0x29bace))return this[_0x280a87(0x324)]['createInstance'](Q,this[_0x280a87(0x1ee)],this[_0x280a87(0x11a)],null,this[_0x280a87(0xb0)],this[_0x280a87(0x1ff)],[],this[_0x280a87(0x323)]);this[_0x280a87(0x6c)]();const _0x40f14a=this[_0x280a87(0x324)][_0x280a87(0x128)](re,this[_0x280a87(0x1ee)],this[_0x280a87(0x11a)],this[_0x280a87(0xb0)],this[_0x280a87(0x323)]);return _0x40f14a['_schedule'](),_0x40f14a[_0x280a87(0x89)](),_0x40f14a;}['onRemoteRej'](_0x3b57d2){var _0x2adc15=_0x3647a5;return this[_0x2adc15(0x127)](!!(_0x3b57d2!=null&&_0x3b57d2['isPermissionRej']));}[_0x3647a5(0x6e)](_0xf00001){var _0x51dcd0=_0x3647a5;return this[_0x51dcd0(0x373)]>Ii?this[_0x51dcd0(0xb5)]():(this['_resendTimer']=Si(this[_0x51dcd0(0x373)],{'timeout':this[_0x51dcd0(0x373)],'reqId':_0xf00001[_0x51dcd0(0x14d)]}),this['_sender']=this[_0x51dcd0(0xad)]['subscribe'](({reqId:_0xfd7c92,timeout:_0x364ecf})=>{this['_resendWithTimeout'](_0xfd7c92,_0x364ecf);}),this);}[_0x3647a5(0xb5)](){var _0x44ca11=_0x3647a5;return this[_0x44ca11(0x115)](),this['_injector'][_0x44ca11(0x128)](ue,this['unitID'],this[_0x44ca11(0x11a)],this['_awaitingChangeset'],this[_0x44ca11(0xb0)],this[_0x44ca11(0x323)]);}[_0x3647a5(0x2b8)](){return this;}['resend'](){var _0x39026c=_0x3647a5;this['_handler'][_0x39026c(0x2a3)](this[_0x39026c(0x1ff)]);}['_onConflict'](_0x204bb2){var _0x848eb5=_0x3647a5;return this[_0x848eb5(0x115)](),this[_0x848eb5(0x324)]['createInstance'](le,this['unitID'],this['type'],null,this[_0x848eb5(0xb0)],this[_0x848eb5(0x323)],_0x204bb2);}[_0x3647a5(0xd5)](_0x3049b5,_0xa34b2){var _0x40d85b=_0x3647a5,_0x41e6ba;_0x3049b5===((_0x41e6ba=this['_awaitingChangeset'])==null?void 0x0:_0x41e6ba[_0x40d85b(0x14d)])&&(this['resend'](),this['_resendTimeout']=_0xa34b2===0x0?0x3e8:_0xa34b2*0x2);}[_0x3647a5(0x115)](){var _0x40f1f7;(_0x40f1f7=this['_sender'])==null||_0x40f1f7['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=Ee([P(0x6,_0x1bcbe4(_0x1afca0)),P(0x7,_0x1bcbe4(_0x1d8cd1)),P(0x8,_0x4de856),P(0x9,_0x2c4df3),P(0xa,_0x2cd45e),P(0xb,_0x34fbdf),P(0xc,_0x39e56c(J))],ae);let le=class extends Ie{constructor(_0x4806f1,_0x30d89f,_0x561157,_0x32964f,_0x4e9f83,_0x2e1f82=!0x1,_0x1067bf,_0x4fc0a1,_0x4dd95a,_0x1c2771,_0x3340ab,_0xba0c05,_0x1ac479){var _0x1110da=_0x3647a5;super(_0x4806f1,_0x30d89f,_0x561157,_0x32964f,_0x4e9f83,_0x4fc0a1,_0x4dd95a,_0x1c2771,_0x1ac479),N(this,_0x1110da(0x19d),_0x1110da(0x1d4)),(this[_0x1110da(0x16f)]=_0x2e1f82,this[_0x1110da(0x31c)]=_0x1067bf,this[_0x1110da(0x11c)]=_0x3340ab,this[_0x1110da(0x19f)]=_0xba0c05,this[_0x1110da(0x1f4)]=_0x1ac479,this[_0x1110da(0x37a)](),this[_0x1110da(0x113)](),this[_0x1110da(0x2d0)]());}[_0x3647a5(0x1e1)](){return this;}[_0x3647a5(0x75)](){return this;}[_0x3647a5(0x15d)](){return this;}['onRemoteRej'](){return this;}[_0x3647a5(0x6e)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x3647a5(0x24f)](){var _0x3b17d9=_0x3647a5;throw new Error(_0x3b17d9(0x28c));}[_0x3647a5(0x113)](){var _0x276bf5=_0x3647a5,_0x153958;(_0x153958=this[_0x276bf5(0x270)])==null||_0x153958[_0x276bf5(0x287)](this[_0x276bf5(0x1ee)],this[_0x276bf5(0x11a)],null,[]);}[_0x3647a5(0x37a)](){var _0x302762=_0x3647a5;this[_0x302762(0x16f)]?this['_collaborationUIEventService'][_0x302762(0x94)]({'id':ne[_0x302762(0x2b9)]}):this[_0x302762(0x19f)]['emitEvent']({'id':ne[_0x302762(0x1d0)]});}[_0x3647a5(0x2d0)](){var _0x446a0b=_0x3647a5;this['_permissionService'][_0x446a0b(0x246)](new _0x261381(this[_0x446a0b(0x1ee)])['id'],!0x1);}};le=Ee([P(0x6,_0x1bcbe4(_0xfedac2)),P(0x7,_0x4de856),P(0x8,_0x34fbdf),P(0x9,_0x1bcbe4(_0x1d8cd1)),P(0xa,_0x1bcbe4(_0x164871)),P(0xb,_0x1bcbe4(ve)),P(0xc,_0x39e56c(J))],le);let ue=class extends Ie{constructor(_0x3ad0cc,_0x4b945b,_0x668300,_0x27a9dc,_0x29b984,_0x19da32,_0x1a7209,_0x4705df,_0x16cff3,_0x5576df){var _0x3a2cc7=_0x3647a5;super(_0x3ad0cc,_0x4b945b,_0x668300,_0x27a9dc,_0x29b984,_0x4705df,_0x16cff3,_0x1a7209,_0x5576df),N(this,'status','offline'),this[_0x3a2cc7(0x324)]=_0x19da32;}['appendMutation'](_0x3f3c57){var _0x10aafd=_0x3647a5;return this[_0x10aafd(0xb0)][_0x10aafd(0x109)](_0x3f3c57),this[_0x10aafd(0x89)](),this;}['onRemoteChangeset'](_0x31f938){var _0x3914a6=_0x3647a5;throw new Error(_0x3914a6(0x36d));}[_0x3647a5(0x15d)](){var _0x567f0a=_0x3647a5;throw new Error(_0x567f0a(0xfa));}[_0x3647a5(0x2ad)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x3647a5(0x2b8)](){var _0x49a811=_0x3647a5;const {_injector:_0x5e554c,_pendingMutations:_0xe66147,_awaitingChangeset:_0x4dfbfd,unitID:_0x4e687b,_handler:_0x30a38b,type:_0x1b892d}=this,_0x3a7777=Ti(_0x5e554c,_0x4e687b,_0x1b892d,_0x4dfbfd,_0xe66147,_0x30a38b);return _0x3a7777 instanceof re?_0x3a7777[_0x49a811(0x1bf)]():(_0x3a7777 instanceof ae||_0x3a7777 instanceof _e)&&_0x3a7777[_0x49a811(0x24f)](),_0x3a7777;}[_0x3647a5(0x24f)](){var _0x3f093d=_0x3647a5;throw new Error(_0x3f093d(0x1a3));}};ue=Ee([P(0x5,_0x1bcbe4(_0x1afca0)),P(0x6,_0x1bcbe4(_0x1d8cd1)),P(0x7,_0x4de856),P(0x8,_0x34fbdf),P(0x9,_0x39e56c(J))],ue);let Q=class extends Ie{constructor(_0x562ba3,_0x44205b,_0x360af7,_0xe70832,_0x36eb7d,_0x457a7c,_0x879cf0,_0x192c3c,_0x907dc8,_0x447384,_0x17b18f,_0x2e871a,_0x5e2f31,_0x6e00ea){var _0x67254e=_0x3647a5;super(_0x562ba3,_0x44205b,_0x360af7,_0xe70832,_0x879cf0,_0x17b18f,_0x2e871a,_0x907dc8,_0x6e00ea),N(this,'status','fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x36eb7d,this[_0x67254e(0x340)]=_0x457a7c,this['_injector']=_0x192c3c,this[_0x67254e(0xaf)]=_0x447384,this[_0x67254e(0x17b)]=_0x5e2f31,this['localCacheService']=_0x6e00ea);}['onMissedChangesetFetched'](_0x3b7ff1){var _0x42bb29=_0x3647a5;try{const _0x4d7543=[..._0x3b7ff1,...this[_0x42bb29(0x340)]],_0x3583d4=[this[_0x42bb29(0x1ff)]||this[_0x42bb29(0x1df)]][_0x42bb29(0x1cc)](_0x24d519=>!!_0x24d519);let _0x346a97,_0x293cb7;if(_0x3583d4[_0x42bb29(0x30c)]){const _0x46c334=this[_0x42bb29(0x17b)][_0x42bb29(0x164)](_0x4d7543,_0x3583d4,!0x1);if(!_0x12f137(_0x46c334))throw _0x46c334[_0x42bb29(0x328)];_0x346a97=_0x46c334[_0x42bb29(0x25a)],_0x293cb7=_0x46c334[_0x42bb29(0x2e1)];}else _0x346a97=_0x4d7543,_0x293cb7=[];let _0x2788b8=this[_0x42bb29(0xb0)];_0x346a97[_0x42bb29(0x1a5)](_0x35983b=>{var _0x326460=_0x42bb29;let _0x26cafc;if(_0x2788b8[_0x326460(0x30c)]){const _0x1e1d90=this[_0x326460(0x17b)][_0x326460(0x235)](_0x35983b,_0x2788b8);if(!_0x263219(_0x1e1d90))throw _0x1e1d90[_0x326460(0x328)];_0x26cafc=_0x1e1d90['c1Prime'],_0x2788b8=_0x1e1d90[_0x326460(0xec)];}else _0x26cafc=_0x35983b;this['_executeRemoteChangeset'](_0x26cafc);}),this[_0x42bb29(0x1df)]&&this[_0x42bb29(0x6c)](),this[_0x42bb29(0x1ff)]&&_0x293cb7['length']&&(_0x293cb7[0x0][_0x42bb29(0x19a)]=this[_0x42bb29(0xc3)]());let _0x11b43d;if(this['_awaitingChangeset']&&_0x2788b8[_0x42bb29(0x30c)]!==0x0)_0x11b43d=this['_injector']['createInstance'](ae,this[_0x42bb29(0x1ee)],this[_0x42bb29(0x11a)],_0x293cb7[0x0],_0x2788b8,this[_0x42bb29(0x323)],void 0x0);else{if(this[_0x42bb29(0x1ff)]&&_0x2788b8[_0x42bb29(0x30c)]===0x0)_0x293cb7[0x0][_0x42bb29(0x19a)]=this[_0x42bb29(0xc3)](),_0x11b43d=this['_injector']['createInstance'](_e,this[_0x42bb29(0x1ee)],this['type'],_0x293cb7[0x0],this[_0x42bb29(0x323)]);else{if(_0x2788b8['length']!==0x0){const _0x1bb913=this['_injector'][_0x42bb29(0x128)](re,this['unitID'],this[_0x42bb29(0x11a)],_0x2788b8,this[_0x42bb29(0x323)]);_0x1bb913[_0x42bb29(0x1bf)](),_0x11b43d=_0x1bb913;}else _0x11b43d=this[_0x42bb29(0x324)]['createInstance'](ye,this[_0x42bb29(0x1ee)],this['type'],this[_0x42bb29(0x323)]);}}return _0x11b43d[_0x42bb29(0x89)](),_0x11b43d;}catch(_0x353623){return this[_0x42bb29(0xaf)][_0x42bb29(0x328)](_0x42bb29(0x26f),_0x42bb29(0xe1),_0x353623),this['_injector'][_0x42bb29(0x128)](le,this['unitID'],this[_0x42bb29(0x11a)],this['_awaitingChangeset'],this[_0x42bb29(0xb0)],this['_handler'],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3647a5(0x1e1)](_0x2b0463){var _0x3dcbce=_0x3647a5;return this[_0x3dcbce(0xb0)][_0x3dcbce(0x109)](_0x2b0463),this;}[_0x3647a5(0x75)](_0x3ff7d2){var _0x5f2f80=_0x3647a5;return this[_0x5f2f80(0x340)][_0x5f2f80(0x109)](_0x3ff7d2),this;}[_0x3647a5(0x15d)](_0x1d0aeb){var _0x25f107=_0x3647a5;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x25f107(0x1ff)],this[_0x25f107(0x1ff)]=null,this;throw new Error(_0x25f107(0x2b6));}['onRemoteRej'](_0x4745b6){var _0x3d43df=_0x3647a5;return this[_0x3d43df(0x127)](!!(_0x4745b6!=null&&_0x4745b6[_0x3d43df(0x283)]));}['onRemoteRetry'](){return this;}[_0x3647a5(0xb5)](){var _0x381cb2=_0x3647a5;return this['_injector'][_0x381cb2(0x128)](ue,this[_0x381cb2(0x1ee)],this[_0x381cb2(0x11a)],this['_awaitingChangeset'],this[_0x381cb2(0xb0)],this[_0x381cb2(0x323)]);}['toggleOnline'](){return this;}[_0x3647a5(0x127)](_0x4d9ed1){var _0x52951b=_0x3647a5;return this['_injector'][_0x52951b(0x128)](le,this[_0x52951b(0x1ee)],this[_0x52951b(0x11a)],this[_0x52951b(0x1ff)],this['_pendingMutations'],this['_handler'],_0x4d9ed1);}};Q=Ee([P(0x7,_0x1bcbe4(_0x1afca0)),P(0x8,_0x1bcbe4(_0x1d8cd1)),P(0x9,_0x2c4df3),P(0xa,_0x4de856),P(0xb,_0x34fbdf),P(0xc,_0x2cd45e),P(0xd,_0x39e56c(J))],Q);function Ti(_0x599413,_0x18c4a9,_0x24bc0c,_0x1b2a19,_0x242651,_0x52b4c5){var _0x24f628=_0x3647a5;return _0x1b2a19&&_0x242651[_0x24f628(0x30c)]?_0x599413[_0x24f628(0x128)](ae,_0x18c4a9,_0x24bc0c,_0x1b2a19,_0x242651,_0x52b4c5,void 0x0):_0x1b2a19?_0x599413[_0x24f628(0x128)](_e,_0x18c4a9,_0x24bc0c,_0x1b2a19,_0x52b4c5):_0x242651[_0x24f628(0x30c)]?_0x599413[_0x24f628(0x128)](re,_0x18c4a9,_0x24bc0c,_0x242651,_0x52b4c5):_0x599413[_0x24f628(0x128)](ye,_0x18c4a9,_0x24bc0c,_0x52b4c5);}var Bs=Object[_0x3647a5(0x34d)],wt=(_0x1a26cd,_0x1321a2,_0x57d25e,_0x2c586f)=>{var _0x3146eb=_0x3647a5;for(var _0x227203=_0x2c586f>0x1?void 0x0:_0x2c586f?Bs(_0x1321a2,_0x57d25e):_0x1321a2,_0x5d9f09=_0x1a26cd[_0x3146eb(0x30c)]-0x1,_0x2427a3;_0x5d9f09>=0x0;_0x5d9f09--)(_0x2427a3=_0x1a26cd[_0x5d9f09])&&(_0x227203=_0x2427a3(_0x227203)||_0x227203);return _0x227203;},H=(_0x211301,_0x474316)=>(_0x7e0d33,_0x545b45)=>_0x474316(_0x7e0d33,_0x545b45,_0x211301);let st=class extends _0x1a30db{constructor(_0x4aa87c,_0x2b6b43,_0x47ed9e,_0x309f4d,_0x49905e,_0x3d1217,_0x34305c,_0x1cefa3,_0x2208c3,_0xf85e92,_0x30675e,_0x4fe2fd,_0x24bd44){var _0x4cbadf=_0x3647a5;super(),N(this,'_state$',new _0x2ebbac(null)),N(this,'state$',this['_state$'][_0x4cbadf(0x12d)]()),N(this,'_state'),N(this,'_collaborationPaused',!0x1),N(this,'_changesetSessionId',''),N(this,_0x4cbadf(0x357),0x0),N(this,_0x4cbadf(0x181),this[_0x4cbadf(0x257)][_0x4cbadf(0x2ce)](_0x27023f(_0x175d29=>_0x175d29?_0x175d29[_0x4cbadf(0x19d)]:Ei[_0x4cbadf(0x301)]),_0x3902b9(0x1))),N(this,_0x4cbadf(0x1e9),!0x1),N(this,_0x4cbadf(0x2de),[]),(this[_0x4cbadf(0x1ee)]=_0x4aa87c,this[_0x4cbadf(0x1a6)]=_0x2b6b43,this['_type']=_0x47ed9e,this[_0x4cbadf(0x324)]=_0x309f4d,this['_compressMutationService']=_0x49905e,this['_localeService']=_0x3d1217,this['_revisionService']=_0x34305c,this[_0x4cbadf(0x2dd)]=_0x1cefa3,this[_0x4cbadf(0xaf)]=_0x2208c3,this[_0x4cbadf(0x153)]=_0xf85e92,this[_0x4cbadf(0x31c)]=_0x30675e,this[_0x4cbadf(0x216)]=_0x4fe2fd,this[_0x4cbadf(0x270)]=_0x24bd44);}get[_0x3647a5(0x118)](){return this['_state'];}async[_0x3647a5(0x1d8)](){var _0x1c33d3=_0x3647a5;if(this[_0x1c33d3(0x118)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x1c33d3(0x157)]();}[_0x3647a5(0x185)](){var _0x41aff2=_0x3647a5;return this[_0x41aff2(0x364)]=!0x0,_0x425599(()=>{var _0x6abf62=_0x41aff2;this[_0x6abf62(0x364)]=!0x1,this[_0x6abf62(0x16a)]();});}[_0x3647a5(0x349)](_0x29b2f4){var _0x24841d=_0x3647a5;this[_0x24841d(0x2d4)](_0x29b2f4);}['_updateState'](_0xdc27ec){var _0x399862=_0x3647a5;this['_state']=_0xdc27ec,this[_0x399862(0x36c)][_0x399862(0x337)](_0xdc27ec);}async[_0x3647a5(0x157)](){var _0x461930=_0x3647a5,_0x2bc5f8;this[_0x461930(0xee)](await this[_0x461930(0x194)]()),this[_0x461930(0x216)]&&((_0x2bc5f8=this[_0x461930(0x216)])==null||_0x2bc5f8[_0x461930(0x250)](this['unitID']),this[_0x461930(0x71)](this[_0x461930(0x216)][_0x461930(0x1d1)](this[_0x461930(0x1ee)])[_0x461930(0x34e)](_0x2ab1de=>{var _0x49a209=_0x461930;this[_0x49a209(0xaf)][_0x49a209(0x1be)]('[CollaborationEntity]',_0x49a209(0x2c0),_0x2ab1de),_0x2ab1de===gi[_0x49a209(0x335)]?(this[_0x49a209(0x2dd)][_0x49a209(0x94)]({'id':ne['OTHER_CLIENT_EDITING']}),this[_0x49a209(0x31c)][_0x49a209(0x246)](new _0x261381(this[_0x49a209(0x1ee)])['id'],!0x1),this[_0x49a209(0x31c)][_0x49a209(0x12a)](!0x1)):(this[_0x49a209(0x31c)]['updatePermissionPoint'](new _0x261381(this[_0x49a209(0x1ee)])['id'],!0x0),this[_0x49a209(0x31c)][_0x49a209(0x12a)](!0x0));})));let _0x526dcd=!0x1;return this[_0x461930(0x71)](this[_0x461930(0x1a6)][_0x461930(0x2b7)][_0x461930(0x34e)](_0x57886f=>{var _0x35ac4d=_0x461930;_0x57886f===ge['ONLINE']?this[_0x35ac4d(0xd9)](_0x526dcd):_0x57886f===ge[_0x35ac4d(0x301)]&&(_0x526dcd=!0x0,this[_0x35ac4d(0x1c4)]());})),this[_0x461930(0x71)](this[_0x461930(0x1a6)][_0x461930(0x77)][_0x461930(0x34e)](_0x5ab8d1=>{var _0x6e8664=_0x461930;try{switch(_0x5ab8d1[_0x6e8664(0x295)]){case _0x1f1e32[_0x6e8664(0x33d)]:{this[_0x6e8664(0x13f)](_0x3bd55e(_0x5ab8d1[_0x6e8664(0x2cc)]));break;}case _0x1f1e32[_0x6e8664(0xdf)]:{this[_0x6e8664(0x32c)](_0x5ab8d1[_0x6e8664(0x2cc)]);break;}case _0x1f1e32[_0x6e8664(0x2d2)]:{this[_0x6e8664(0x2ac)]();break;}case _0x1f1e32[_0x6e8664(0xe7)]:{this[_0x6e8664(0x1c9)](_0x5ab8d1[_0x6e8664(0x2cc)]);break;}case _0x1f1e32[_0x6e8664(0xb1)]:{this[_0x6e8664(0xcf)](_0x5ab8d1['data'][_0x6e8664(0x1ac)][_0x6e8664(0x139)](_0x335ccb=>_0x3bd55e(_0x335ccb)));break;}case _0x1f1e32['PERMISSION_REJ']:{this[_0x6e8664(0x2ac)]({'isPermissionRej':!0x0});break;}case _0x1f1e32[_0x6e8664(0x2a9)]:break;}}catch(_0x117891){throw console['error'](_0x6e8664(0x339),_0x117891),_0x117891;}})),this[_0x461930(0xa8)];}[_0x3647a5(0x240)](){var _0x539d53=_0x3647a5;this[_0x539d53(0x1e9)]=!0x1;}[_0x3647a5(0xc7)](){var _0x36a57c=_0x3647a5;if(this[_0x36a57c(0x1e9)])throw new Error(_0x36a57c(0x359));this['_transitionLocked']=!0x0;}[_0x3647a5(0x2d4)](_0x37dade){var _0x2529a3=_0x3647a5;this[_0x2529a3(0xc7)](),this[_0x2529a3(0xee)](this['_state']['appendMutation'](_0x37dade)),this[_0x2529a3(0x240)]();}[_0x3647a5(0x13f)](_0x18dbb5){var _0x41e8e2=_0x3647a5;if(!(_0x18dbb5[_0x41e8e2(0x227)]<=this[_0x41e8e2(0x174)][_0x41e8e2(0x236)](this[_0x41e8e2(0x1ee)]))){if(this[_0x41e8e2(0x364)]){this[_0x41e8e2(0x2de)][_0x41e8e2(0x109)](_0x18dbb5);return;}this[_0x41e8e2(0x1d9)](_0x18dbb5);}}[_0x3647a5(0x16a)](){var _0x89aa89=_0x3647a5;this[_0x89aa89(0x2de)][_0x89aa89(0x1a5)](_0x2fa446=>this['_applyRemoteChangeset'](_0x2fa446)),this[_0x89aa89(0x2de)]=[];}[_0x3647a5(0x1d9)](_0x1f2bf4){var _0x56e6e2=_0x3647a5;const _0xf2c1b0=this[_0x56e6e2(0x305)][_0x56e6e2(0x7a)][_0x56e6e2(0x114)](this['_compressMutationService'][_0x56e6e2(0x7a)][_0x56e6e2(0x251)]()[_0x56e6e2(0x365)])(_0x1f2bf4[_0x56e6e2(0x7e)],null)||_0x1f2bf4[_0x56e6e2(0x7e)],_0x3f8249={..._0x1f2bf4,'mutations':_0xf2c1b0};this[_0x56e6e2(0xc7)](),this['_updateState'](this[_0x56e6e2(0xa8)][_0x56e6e2(0x75)](_0x3f8249)),this[_0x56e6e2(0x240)]();}[_0x3647a5(0x32c)](_0x3e5f85){var _0x506ef4=_0x3647a5;this[_0x506ef4(0xc7)](),this[_0x506ef4(0xee)](this[_0x506ef4(0xa8)]['onRemoteAck'](_0x3e5f85)),this[_0x506ef4(0x240)]();}['_onRemoteRejected'](_0x588923){var _0x427dae=_0x3647a5;this[_0x427dae(0xc7)](),this[_0x427dae(0xee)](this['_state']['onRemoteRej'](_0x588923)),this['_unlockTransition']();}[_0x3647a5(0x1c9)](_0x4e83bb){var _0x563812=_0x3647a5;this[_0x563812(0xc7)](),this[_0x563812(0xee)](this[_0x563812(0xa8)][_0x563812(0x6e)](_0x4e83bb)),this[_0x563812(0x240)]();}['_onFetchMissResult'](_0x2ec9ce){var _0x451a34=_0x3647a5;if(!(this['_state']instanceof Q))throw new TypeError(_0x451a34(0x1fe));const _0x4b32f3=_0x2ec9ce['map'](_0x11a09f=>{var _0x5ab799=_0x451a34;const _0x359ca2=this['_compressMutationService'][_0x5ab799(0x7a)][_0x5ab799(0x114)](this[_0x5ab799(0x305)][_0x5ab799(0x7a)][_0x5ab799(0x251)]()[_0x5ab799(0x365)])(_0x11a09f[_0x5ab799(0x7e)],null)||_0x11a09f[_0x5ab799(0x7e)];return{..._0x11a09f,'mutations':_0x359ca2};});this[_0x451a34(0xc7)](),this[_0x451a34(0xee)](this[_0x451a34(0xa8)]['onMissedChangesetFetched'](_0x4b32f3)),this['_unlockTransition']();}[_0x3647a5(0x1c4)](){var _0x55b640=_0x3647a5;this[_0x55b640(0xc7)](),this[_0x55b640(0xee)](this[_0x55b640(0xa8)][_0x55b640(0xb5)]()),this['_unlockTransition']();}[_0x3647a5(0xd9)](_0x3979c8=!0x1){var _0x3a4bb0=_0x3647a5;this['_lockTransition'](),this[_0x3a4bb0(0xee)](this[_0x3a4bb0(0xa8)][_0x3a4bb0(0x2b8)]()),this[_0x3a4bb0(0x240)]();const _0xe39c75=this[_0x3a4bb0(0xa8)];_0x3979c8&&_0xe39c75 instanceof ye&&(this[_0x3a4bb0(0xc7)](),this[_0x3a4bb0(0xee)](_0xe39c75[_0x3a4bb0(0xa7)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0xdbe7f8=>{var _0xbd3ff6=_0x75e3;this[_0xbd3ff6(0x1a6)][_0xbd3ff6(0x2b7)][_0xbd3ff6(0x2ce)](_0x35bc8e(0x1))[_0xbd3ff6(0x34e)](async _0xe10723=>{_0xdbe7f8(await this['_createInitialStateImpl'](_0xe10723===ge['ONLINE']));});});}[_0x3647a5(0x17c)](){var _0x3e40a4=_0x3647a5;const _0x2c5a68=this[_0x3e40a4(0x1ee)];return{'onStateChange':(_0x16602a,_0x368866)=>{var _0x3340bc=_0x3e40a4;if(_0x16602a!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x16602a[_0x3340bc(0x19d)]+'\x0aAfter:\x20'+_0x368866['status']+_0x3340bc(0x265)+this[_0x3340bc(0xa8)]['status']);this['_updateState'](_0x368866);},'onSendChangeset':_0x2aac6d=>{var _0x4ce14a=_0x3e40a4;_0x2aac6d['sid']||(_0x2aac6d[_0x4ce14a(0x344)]=this[_0x4ce14a(0xfc)],_0x2aac6d['reqId']=++this[_0x4ce14a(0x357)]);const _0x35a06c={'eventID':_0x1f1e32['SUBMIT_CHANGESET'],'data':{'unitID':_0x2aac6d[_0x4ce14a(0x1ee)],'unitType':this[_0x4ce14a(0x343)],'changeset':_0x2aac6d,'memberID':this[_0x4ce14a(0x1a6)]['getMemberID']()}};this[_0x4ce14a(0x1a6)]['send'](_0x35a06c,this['unitID']);},'onMissingChangesets':({from:_0x5f4329,to:_0x1df16e})=>{var _0x574110=_0x3e40a4;this[_0x574110(0xaf)][_0x574110(0x1be)]('[CollaborationEntity]',_0x574110(0x134)+_0x5f4329+_0x574110(0x121)+_0x1df16e);const _0x528c89={'eventID':_0x1f1e32[_0x574110(0x223)],'data':{'unitID':_0x2c5a68,'unitType':this[_0x574110(0x343)],'from':_0x5f4329,'to':_0x1df16e}};this[_0x574110(0x1a6)]['send'](_0x528c89,this[_0x574110(0x1ee)]);}};}async['_createInitialStateImpl'](_0x49866f){var _0x2ae57a=_0x3647a5,_0x2c5ea2,_0x3244fc,_0x5ee103;const _0x4f7e7d=await((_0x2c5ea2=this[_0x2ae57a(0x270)])==null?void 0x0:_0x2c5ea2['loadOfflineData'](this[_0x2ae57a(0x1ee)])),_0x6504db=(_0x3244fc=_0x4f7e7d==null?void 0x0:_0x4f7e7d[_0x2ae57a(0x7e)])!=null?_0x3244fc:[],_0x44b8c3=(_0x5ee103=_0x4f7e7d==null?void 0x0:_0x4f7e7d[_0x2ae57a(0x310)])!=null?_0x5ee103:null,_0x38514d=!!(_0x44b8c3!=null&&_0x44b8c3[_0x2ae57a(0x344)])&&!!(_0x44b8c3!=null&&_0x44b8c3[_0x2ae57a(0x14d)]);this['_changesetSessionId']=_0x38514d?_0x44b8c3['sid']:_0x3155d8(),this[_0x2ae57a(0x357)]=_0x38514d?_0x44b8c3[_0x2ae57a(0x14d)]:0x0;const _0x4e7d70=this[_0x2ae57a(0x1ee)];try{this[_0x2ae57a(0x306)](_0x44b8c3,_0x6504db);}catch(_0x458724){this['_logService'][_0x2ae57a(0x328)](_0x458724);}const _0x5461fb=this[_0x2ae57a(0x17c)]();if(_0x49866f){const _0x1d7400=Ti(this[_0x2ae57a(0x324)],_0x4e7d70,this[_0x2ae57a(0x343)],_0x44b8c3,_0x6504db,_0x5461fb);return _0x1d7400 instanceof re?_0x1d7400['_schedule']():(_0x1d7400 instanceof ae||_0x1d7400 instanceof _e)&&_0x1d7400[_0x2ae57a(0x24f)](),_0x1d7400;}return this[_0x2ae57a(0x324)][_0x2ae57a(0x128)](ue,_0x4e7d70,this[_0x2ae57a(0x343)],_0x44b8c3,_0x6504db,_0x5461fb);}[_0x3647a5(0x306)](_0x323cdf,_0x2a457f){var _0x94db7c=_0x3647a5,_0x8e954d,_0x49f5c4;const _0x34d31d=this[_0x94db7c(0x305)][_0x94db7c(0x7a)][_0x94db7c(0x114)](this[_0x94db7c(0x305)][_0x94db7c(0x7a)][_0x94db7c(0x251)]()[_0x94db7c(0x365)]);(_0x8e954d=_0x34d31d((_0x323cdf==null?void 0x0:_0x323cdf[_0x94db7c(0x7e)])||[],null))==null||_0x8e954d[_0x94db7c(0x1a5)](_0x425516=>this[_0x94db7c(0x153)][_0x94db7c(0x233)](_0x425516['id'],_0x425516[_0x94db7c(0x348)])),(_0x49f5c4=_0x34d31d(_0x2a457f||[],null))==null||_0x49f5c4[_0x94db7c(0x1a5)](_0x1e68c2=>this[_0x94db7c(0x153)][_0x94db7c(0x233)](_0x1e68c2['id'],_0x1e68c2['params']));}};st=wt([H(0x3,_0x1bcbe4(_0x1afca0)),H(0x4,_0x1bcbe4(_0x563328)),H(0x5,_0x1bcbe4(_0x164871)),H(0x6,_0x1bcbe4(_0x1d8cd1)),H(0x7,_0x1bcbe4(ve)),H(0x8,_0x2c4df3),H(0x9,_0x4de856),H(0xa,_0xfedac2),H(0xb,_0x39e56c(ht)),H(0xc,_0x39e56c(J))],st);let St=class extends st{constructor(_0x1e51fa,_0x41565f,_0x369aeb,_0x518893,_0x59af9c,_0x224fc5,_0x353ee1,_0x40a191,_0x522b47,_0x31a4f3,_0x54d029,_0x14e5ae,_0x1d6d8c){var _0x28e1d0=_0x3647a5;super(_0x1e51fa,_0x369aeb,_0x41565f,_0x518893,_0x59af9c,_0x224fc5,_0x353ee1,_0x40a191,_0x522b47,_0x31a4f3,_0x54d029,_0x14e5ae,_0x1d6d8c),N(this,_0x28e1d0(0x261),null),(this[_0x28e1d0(0x1ee)]=_0x1e51fa,this[_0x28e1d0(0x11a)]=_0x41565f);}[_0x3647a5(0x255)](_0x2befcc){var _0x455c57=_0x3647a5;this[_0x455c57(0x261)]=_0x2befcc;}['dispose'](){var _0x4c4b1e=_0x3647a5;this[_0x4c4b1e(0x261)]=null,super['dispose']();}[_0x3647a5(0x17c)](){var _0x27ae77=_0x3647a5;const _0x262b60=super[_0x27ae77(0x17c)]();return _0x262b60[_0x27ae77(0x178)]=_0x95e91d=>{var _0x208087=_0x27ae77,_0x4c3277,_0x16c881;return(_0x16c881=(_0x4c3277=this[_0x208087(0x261)])==null?void 0x0:_0x4c3277[_0x208087(0x178)])==null?void 0x0:_0x16c881[_0x208087(0x1c6)](_0x4c3277,_0x95e91d);},_0x262b60['onTransformState']=_0x5a1287=>{var _0x5943f2=_0x27ae77,_0x23fd48,_0x4b8d1e;return(_0x4b8d1e=(_0x23fd48=this['_handlerCallback'])==null?void 0x0:_0x23fd48['onTransformState'])==null?void 0x0:_0x4b8d1e[_0x5943f2(0x1c6)](_0x23fd48,_0x5a1287);},_0x262b60['onTransformSelections']=_0x34e45f=>{var _0x142a3c=_0x27ae77,_0x6dacba,_0x4efd5d;return(_0x4efd5d=(_0x6dacba=this[_0x142a3c(0x261)])==null?void 0x0:_0x6dacba['onTransformSelections'])==null?void 0x0:_0x4efd5d[_0x142a3c(0x1c6)](_0x6dacba,_0x34e45f);},_0x262b60['onSyncEditingCollabCursor']=_0x3acb63=>{var _0x2903cb=_0x27ae77,_0x51b117,_0xa7514;return(_0xa7514=(_0x51b117=this[_0x2903cb(0x261)])==null?void 0x0:_0x51b117[_0x2903cb(0x317)])==null?void 0x0:_0xa7514['call'](_0x51b117,_0x3acb63);},_0x262b60[_0x27ae77(0x35f)]=_0x38f007=>{var _0x990b9a=_0x27ae77,_0x5a66ce,_0x19bb61,_0x3fee80;if(!((_0x5a66ce=this['_handlerCallback'])!=null&&_0x5a66ce[_0x990b9a(0x35f)]))throw new Error(_0x990b9a(0x117));return(_0x3fee80=(_0x19bb61=this[_0x990b9a(0x261)])==null?void 0x0:_0x19bb61[_0x990b9a(0x35f)])==null?void 0x0:_0x3fee80[_0x990b9a(0x1c6)](_0x19bb61,_0x38f007);},_0x262b60[_0x27ae77(0x9b)]=_0x4f0a44=>{var _0x16c4c9=_0x27ae77,_0x71d933,_0x589d6b,_0x38e7e5;if(!((_0x71d933=this[_0x16c4c9(0x261)])!=null&&_0x71d933[_0x16c4c9(0x9b)]))throw new Error(_0x16c4c9(0x17a));return(_0x38e7e5=(_0x589d6b=this[_0x16c4c9(0x261)])==null?void 0x0:_0x589d6b[_0x16c4c9(0x9b)])==null?void 0x0:_0x38e7e5[_0x16c4c9(0x1c6)](_0x589d6b,_0x4f0a44);},_0x262b60;}async[_0x3647a5(0x157)](){var _0x2f7950=_0x3647a5;const _0x1716dd=await super[_0x2f7950(0x157)]();return this[_0x2f7950(0x71)](this[_0x2f7950(0x153)]['onCommandExecuted']((_0x502961,_0x295aa1)=>{var _0x56fb56=_0x2f7950;if(_0x502961[_0x56fb56(0x11a)]!==_0x1a88a8[_0x56fb56(0x258)]||_0x295aa1!=null&&_0x295aa1['fromCollab']||_0x295aa1!=null&&_0x295aa1[_0x56fb56(0x10d)]||_0x502961['id']===_0x59fc11['id'])return;const _0x3201a0=_0x502961['params'];if((_0x3201a0==null?void 0x0:_0x3201a0[_0x56fb56(0x142)])!==this[_0x56fb56(0x1ee)])return;const _0x1c9298=_0x502961,_0x5e0c59=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x56fb56(0x305)][_0x56fb56(0x7a)][_0x56fb56(0x251)]()[_0x56fb56(0x360)])([_0x1c9298],null)||[_0x1c9298];this['_onLocalMutation'](_0x5e0c59[0x0]);})),_0x1716dd;}};St=wt([H(0x3,_0x1bcbe4(_0x1afca0)),H(0x4,_0x1bcbe4(_0x563328)),H(0x5,_0x1bcbe4(_0x164871)),H(0x6,_0x1bcbe4(_0x1d8cd1)),H(0x7,_0x1bcbe4(ve)),H(0x8,_0x2c4df3),H(0x9,_0x4de856),H(0xa,_0xfedac2),H(0xb,_0x39e56c(ht)),H(0xc,_0x39e56c(J))],St);let Et=class extends st{constructor(_0x409c71,_0x1c4de6,_0x13ef31,_0x3142d3,_0x5cbb9c,_0x4f404f,_0x515619,_0x2cd286,_0xb02133,_0x9ee1b7,_0x5a54de,_0x5506ec,_0x520f89,_0x9e5965){var _0x5ad0c2=_0x3647a5;super(_0x409c71,_0x13ef31,_0x1c4de6,_0x3142d3,_0x5cbb9c,_0x4f404f,_0x515619,_0xb02133,_0x9ee1b7,_0x5a54de,_0x5506ec,_0x520f89,_0x9e5965),this[_0x5ad0c2(0x1ee)]=_0x409c71,this[_0x5ad0c2(0x11a)]=_0x1c4de6,this[_0x5ad0c2(0x2c8)]=_0x2cd286;}[_0x3647a5(0x17c)](){var _0x5a805a=_0x3647a5;const _0x2a8be1=super[_0x5a805a(0x17c)]();return _0x2a8be1[_0x5a805a(0xf3)]=_0x3c75ed=>this[_0x5a805a(0x2c8)][_0x5a805a(0x9f)](_0x3c75ed),_0x2a8be1;}async[_0x3647a5(0x157)](){var _0x344e34=_0x3647a5;const _0x4d4c1f=await super[_0x344e34(0x157)]();return this[_0x344e34(0x71)](this[_0x344e34(0x153)][_0x344e34(0x2bb)]((_0x52576f,_0x25827e)=>{var _0xae018f=_0x344e34;if(_0x52576f[_0xae018f(0x11a)]!==_0x1a88a8['MUTATION']||_0x25827e!=null&&_0x25827e[_0xae018f(0x2cb)]||_0x25827e!=null&&_0x25827e[_0xae018f(0x10d)])return;const _0x87fdf=_0x52576f['params'];if((_0x87fdf==null?void 0x0:_0x87fdf[_0xae018f(0x142)])!==this[_0xae018f(0x1ee)])return;const _0x4b0c2a=_0x52576f,_0xf27fbd=this[_0xae018f(0x305)]['interceptor'][_0xae018f(0x114)](this[_0xae018f(0x305)]['interceptor'][_0xae018f(0x251)]()['COMPRESS_MUTATION_SEND'])([_0x4b0c2a],null)||[_0x4b0c2a];this[_0xae018f(0x2d4)](_0xf27fbd[0x0]);})),_0x4d4c1f;}};Et=wt([H(0x3,_0x1bcbe4(_0x1afca0)),H(0x4,_0x1bcbe4(_0x563328)),H(0x5,_0x1bcbe4(_0x164871)),H(0x6,_0x1bcbe4(_0x1d8cd1)),H(0x7,_0x1bcbe4(it)),H(0x8,_0x1bcbe4(ve)),H(0x9,_0x2c4df3),H(0xa,_0x4de856),H(0xb,_0xfedac2),H(0xc,_0x39e56c(ht)),H(0xd,_0x39e56c(J))],Et);const js=_0x3aa624(_0x3647a5(0x165));function Fs(_0x47345f){var _0x2a6ab7=_0x3647a5,_0x45d786,_0x451f77,_0x513fae,_0x128e0a,_0x290776;const _0x1b86e1=_0x47345f[_0x2a6ab7(0x2cc)],_0x3ec883=JSON[_0x2a6ab7(0x20e)](_0x1b86e1);switch(_0x3ec883[_0x2a6ab7(0x1ad)]){case F[_0x2a6ab7(0x122)]:case F[_0x2a6ab7(0x85)]:{const _0x12a626=_0x3ec883['infoRsp'];return{..._0x3ec883,'data':_0x12a626,'cmd':_0x3ec883[_0x2a6ab7(0x1ad)]};}case F['JOIN']:{const _0x54b422=_0x3ec883[_0x2a6ab7(0x202)];return{..._0x3ec883,'data':_0x54b422,'cmd':_0x3ec883[_0x2a6ab7(0x1ad)]};}case F[_0x2a6ab7(0x13e)]:{const _0x11fac1=_0x3ec883[_0x2a6ab7(0x263)];switch(_0x11fac1[_0x2a6ab7(0x295)]){case _0x1f1e32['PERMISSION_REJ']:return{..._0x3ec883,'data':{..._0x11fac1,'data':(_0x45d786=_0x11fac1[_0x2a6ab7(0x2d8)])==null?void 0x0:_0x45d786['cs']},'cmd':_0x3ec883[_0x2a6ab7(0x1ad)]};case _0x1f1e32[_0x2a6ab7(0xdf)]:return{..._0x3ec883,'data':{..._0x11fac1,'data':(_0x451f77=_0x11fac1[_0x2a6ab7(0x309)])==null?void 0x0:_0x451f77['cs']},'cmd':_0x3ec883[_0x2a6ab7(0x1ad)]};case _0x1f1e32[_0x2a6ab7(0x33d)]:return{..._0x3ec883,'data':{..._0x11fac1,'data':(_0x513fae=_0x11fac1[_0x2a6ab7(0x355)])==null?void 0x0:_0x513fae['cs']},'cmd':_0x3ec883[_0x2a6ab7(0x1ad)]};case _0x1f1e32['CHANGESET_REJ']:return{..._0x3ec883,'data':{..._0x11fac1,'data':(_0x128e0a=_0x11fac1['csRejEvent'])==null?void 0x0:_0x128e0a['cs']},'cmd':_0x3ec883[_0x2a6ab7(0x1ad)]};case _0x1f1e32[_0x2a6ab7(0xe7)]:return{..._0x3ec883,'data':{..._0x11fac1,'data':(_0x290776=_0x11fac1[_0x2a6ab7(0x2ca)])==null?void 0x0:_0x290776['cs']},'cmd':_0x3ec883[_0x2a6ab7(0x1ad)]};case _0x1f1e32[_0x2a6ab7(0x1d2)]:return{..._0x3ec883,'data':{..._0x11fac1,'data':_0x11fac1[_0x2a6ab7(0x21a)]},'cmd':_0x3ec883[_0x2a6ab7(0x1ad)]};case _0x1f1e32['USERS_ENTER']:return{..._0x3ec883,'data':{..._0x11fac1,'data':_0x11fac1[_0x2a6ab7(0x262)]},'cmd':_0x3ec883[_0x2a6ab7(0x1ad)]};case _0x1f1e32[_0x2a6ab7(0xfe)]:return{..._0x3ec883,'data':{..._0x11fac1,'data':_0x11fac1['leaveEvent']},'cmd':_0x3ec883['cmd']};case _0x1f1e32[_0x2a6ab7(0x195)]:return{..._0x3ec883,'data':{..._0x11fac1,'data':_0x11fac1['liveShareNewHost']},'cmd':_0x3ec883['cmd']};case _0x1f1e32[_0x2a6ab7(0x2be)]:case _0x1f1e32['LIVESHARE_OPERATION']:return{..._0x3ec883,'data':{..._0x11fac1,'data':_0x11fac1['liveShareOperation']},'cmd':_0x3ec883[_0x2a6ab7(0x1ad)]};case _0x1f1e32[_0x2a6ab7(0x217)]:return{..._0x3ec883,'data':{..._0x11fac1,'data':_0x11fac1[_0x2a6ab7(0x2ec)]},'cmd':_0x3ec883[_0x2a6ab7(0x1ad)]};case _0x1f1e32['MSG_FOR_ERROR']:return{..._0x3ec883,'data':_0x11fac1,'cmd':_0x3ec883[_0x2a6ab7(0x1ad)]};case _0x1f1e32[_0x2a6ab7(0x150)]:return{..._0x3ec883,'data':{..._0x11fac1,'data':_0x11fac1[_0x2a6ab7(0x162)]},'cmd':_0x3ec883[_0x2a6ab7(0x1ad)]};case _0x1f1e32[_0x2a6ab7(0xf0)]:return{..._0x3ec883,'data':{..._0x11fac1,'data':_0x11fac1[_0x2a6ab7(0x1b5)]},'cmd':_0x3ec883[_0x2a6ab7(0x1ad)]};case _0x1f1e32[_0x2a6ab7(0x1ab)]:return{..._0x3ec883,'data':{..._0x11fac1,'data':_0x11fac1[_0x2a6ab7(0x29b)]},'cmd':_0x3ec883[_0x2a6ab7(0x1ad)]};case _0x1f1e32[_0x2a6ab7(0x2a9)]:return{..._0x3ec883,'data':{..._0x11fac1,'data':_0x11fac1['uniscriptRunEvent']},'cmd':_0x3ec883[_0x2a6ab7(0x1ad)]};default:return _0x3ec883;}}default:return _0x3ec883;}}function Vs(_0x20a7e4){var _0x546855=_0x3647a5;switch(_0x20a7e4[_0x546855(0x1ad)]){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0x546855(0x24c)]({'cmd':_0x20a7e4['cmd'],'routeKey':_0x20a7e4[_0x546855(0x143)]});case F['INGEST']:{let _0x39fa59;switch(_0x20a7e4[_0x546855(0x2cc)][_0x546855(0x295)]){case _0x1f1e32[_0x546855(0x1d2)]:{_0x39fa59={'eventID':_0x1f1e32['UPDATE_CURSOR'],'updateCursorEvent':_0x20a7e4[_0x546855(0x2cc)]['data']};break;}case _0x1f1e32[_0x546855(0xfe)]:{_0x39fa59={'eventID':_0x1f1e32[_0x546855(0xfe)],'leaveEvent':_0x20a7e4[_0x546855(0x2cc)]['data']};break;}case _0x1f1e32[_0x546855(0x9e)]:{_0x39fa59={'eventID':_0x1f1e32[_0x546855(0x9e)],'joinEvent':_0x20a7e4['data'][_0x546855(0x2cc)]};break;}case _0x1f1e32[_0x546855(0x195)]:{_0x39fa59={'eventID':_0x1f1e32[_0x546855(0x195)],'liveShareNewHost':_0x20a7e4[_0x546855(0x2cc)][_0x546855(0x2cc)]};break;}case _0x1f1e32[_0x546855(0x22f)]:{_0x39fa59={'eventID':_0x1f1e32[_0x546855(0x22f)],'liveShareOperation':_0x20a7e4['data'][_0x546855(0x2cc)]};break;}case _0x1f1e32[_0x546855(0x217)]:{_0x39fa59={'eventID':_0x1f1e32[_0x546855(0x217)],'liveShareTerminate':_0x20a7e4[_0x546855(0x2cc)][_0x546855(0x2cc)]};break;}case _0x1f1e32[_0x546855(0xc8)]:{_0x39fa59={'eventID':_0x1f1e32[_0x546855(0xc8)],'liveShareRequestHost':_0x20a7e4['data'][_0x546855(0x2cc)]};break;}case _0x1f1e32['LIVESHARE_FETCH_OPERATIONS']:{_0x39fa59={'eventID':_0x1f1e32[_0x546855(0x2be)]};break;}default:_0x39fa59={'eventID':_0x20a7e4[_0x546855(0x2cc)][_0x546855(0x295)]};}return JSON[_0x546855(0x24c)]({'cmd':_0x20a7e4[_0x546855(0x1ad)],'routeKey':_0x20a7e4['routeKey'],'collaMsg':_0x39fa59});}case F[_0x546855(0x11e)]:return JSON[_0x546855(0x24c)]({'cmd':_0x20a7e4[_0x546855(0x1ad)],'routeKey':_0x20a7e4[_0x546855(0x143)],'joinReq':_0x20a7e4['data']});case F[_0x546855(0x2f1)]:return JSON[_0x546855(0x24c)]({'cmd':_0x20a7e4[_0x546855(0x1ad)],'routeKey':_0x20a7e4[_0x546855(0x143)],'leaveReq':_0x20a7e4['data']});default:throw new Error(_0x546855(0xe5));}}var Ws=Object['getOwnPropertyDescriptor'],Gs=(_0x6f5142,_0x6500b1,_0x19ba44,_0x4bdf8d)=>{var _0x49c2f9=_0x3647a5;for(var _0x58e266=_0x4bdf8d>0x1?void 0x0:_0x4bdf8d?Ws(_0x6500b1,_0x19ba44):_0x6500b1,_0x527421=_0x6f5142[_0x49c2f9(0x30c)]-0x1,_0xb0e55;_0x527421>=0x0;_0x527421--)(_0xb0e55=_0x6f5142[_0x527421])&&(_0x58e266=_0xb0e55(_0x58e266)||_0x58e266);return _0x58e266;},De=(_0x15f039,_0x2b23d5)=>(_0x27872a,_0x57750a)=>_0x2b23d5(_0x27872a,_0x57750a,_0x15f039);const Ci=_0x3aa624(_0x3647a5(0x303));function Ys(_0x12face,_0xaae29,_0x1ee5b1){var _0x3fe1ba=_0x3647a5;return _0x12face+'/'+_0xaae29+_0x3fe1ba(0x2fd)+_0x1ee5b1+'/new_changes';}let Gt=class extends _0x5839c9{constructor(_0x3c7b35,_0x3dbdeb,_0x2fc1f7,_0x504ba3,_0x47f293){var _0x2ee6ac=_0x3647a5;super(),this[_0x2ee6ac(0x324)]=_0x3c7b35,this['_httpService']=_0x3dbdeb,this[_0x2ee6ac(0x2c9)]=_0x2fc1f7,this[_0x2ee6ac(0xaf)]=_0x504ba3,this[_0x2ee6ac(0x30b)]=_0x47f293;}[_0x3647a5(0x22a)](_0x160170){var _0x46bc12=_0x3647a5;const _0x381104=this[_0x46bc12(0x324)][_0x46bc12(0x267)](_0x323b22);if(!_0x381104)throw new Error(_0x46bc12(0x231));const _0x28d560=_0x381104['createSocket'](_0x160170);if(!_0x28d560)throw new Error(_0x46bc12(0x1f2));const _0x17a89a=new _0x52cce0(),_0x393bf8=new _0x101319();_0x17a89a[_0x46bc12(0xe4)](_0x28d560[_0x46bc12(0x271)]['subscribe'](_0x245b34=>_0x393bf8[_0x46bc12(0x337)](_0x245b34))),_0x17a89a['add'](_0x425599(()=>_0x393bf8[_0x46bc12(0xf8)]()));const _0x7fc24e=new _0x101319();_0x17a89a[_0x46bc12(0xe4)](_0x28d560[_0x46bc12(0x111)][_0x46bc12(0x34e)](_0x2e5c76=>_0x7fc24e[_0x46bc12(0x337)](_0x2e5c76))),_0x17a89a['add'](_0x425599(()=>_0x7fc24e[_0x46bc12(0xf8)]()));const _0x45dcef=new _0x101319();_0x17a89a[_0x46bc12(0xe4)](_0x28d560[_0x46bc12(0x334)][_0x46bc12(0x34e)](_0x5ccf31=>{const _0xa07b93=Fs(_0x5ccf31);_0x45dcef['next'](_0xa07b93);})),_0x17a89a[_0x46bc12(0xe4)](_0x425599(()=>_0x45dcef[_0x46bc12(0xf8)]()));let _0x3f4476;const _0x43500f=()=>{var _0x3c9243=_0x46bc12;_0x7fc24e['next'](new Event('connection\x20error')),_0x393bf8[_0x3c9243(0x337)](new Event(_0x3c9243(0x2f3))),_0x3f4476[_0x3c9243(0x6d)]();};return _0x3f4476={'memberID':'','close$':_0x393bf8['asObservable'](),'error$':_0x7fc24e[_0x46bc12(0x12d)](),'open$':_0x28d560[_0x46bc12(0x82)],'message$':_0x45dcef[_0x46bc12(0x12d)](),'send':_0x5bda31=>{var _0x6f1d8a=_0x46bc12;if(_0x5bda31[_0x6f1d8a(0x1ad)]===F[_0x6f1d8a(0x167)]){if(_0x5bda31[_0x6f1d8a(0x2cc)][_0x6f1d8a(0x295)]===_0x1f1e32[_0x6f1d8a(0x74)]){this['_submitChangeset'](_0x3f4476,_0x5bda31[_0x6f1d8a(0x2cc)])['catch'](_0x1bc1f2=>{var _0x8ca2c1=_0x6f1d8a;this[_0x8ca2c1(0xaf)]['error'](_0x1bc1f2),_0x43500f();});return;}if(_0x5bda31[_0x6f1d8a(0x2cc)][_0x6f1d8a(0x295)]===_0x1f1e32[_0x6f1d8a(0x223)]){const _0x1e3fe3=_0x5bda31['data'];this[_0x6f1d8a(0xd4)](_0x1e3fe3)['then'](_0x1ed477=>{var _0x484b9e=_0x6f1d8a;_0x45dcef[_0x484b9e(0x337)]({'cmd':F[_0x484b9e(0x13e)],'code':pe['OK'],'routeKey':_0x1e3fe3[_0x484b9e(0x2cc)][_0x484b9e(0x1ee)],'routeType':'','data':{'eventID':_0x1f1e32[_0x484b9e(0xb1)],'data':{'changesets':_0x1ed477}}});})[_0x6f1d8a(0xfb)](_0x91e63c=>{var _0x28371d=_0x6f1d8a;this[_0x28371d(0xaf)][_0x28371d(0x328)](_0x91e63c),_0x43500f();});return;}}_0x28d560['send'](Vs(_0x5bda31));},'close':()=>{var _0xdbe5cb=_0x46bc12;_0x28d560[_0xdbe5cb(0x6d)](),_0x17a89a[_0xdbe5cb(0x228)]();}},_0x3f4476;}async['_submitChangeset'](_0x167cb1,_0x48094f){var _0x37b9aa=_0x3647a5,_0x393623;const {unitType:_0x46301c,unitID:_0x25abcd,changeset:_0x219381}=_0x48094f[_0x37b9aa(0x2cc)],_0x254628={'unitID':_0x25abcd,'memberID':_0x167cb1[_0x37b9aa(0x368)],'type':_0x46301c,'changeset':_0x36a189(_0x219381)},_0x4d034d=this['_configService'][_0x37b9aa(0x1fc)](K),_0x12cae2=Ys((_0x393623=_0x4d034d==null?void 0x0:_0x4d034d[_0x37b9aa(0x184)])!=null?_0x393623:Cs,_0x46301c,_0x25abcd);try{await this['_httpService'][_0x37b9aa(0x125)](_0x12cae2,{'body':_0x254628});}catch(_0x1f9e6b){throw this[_0x37b9aa(0xaf)][_0x37b9aa(0x328)](_0x37b9aa(0x11f),_0x37b9aa(0x16d)),_0x1f9e6b;}}async[_0x3647a5(0xd4)](_0x1748a0){var _0x19b559=_0x3647a5;const {unitID:_0x5112c7,from:_0x3cd81a,to:_0x32c0a2,unitType:_0x4f634b}=_0x1748a0[_0x19b559(0x2cc)];return(await this[_0x19b559(0x30b)][_0x19b559(0x36a)]({'metadata':void 0x0},{'unitID':_0x5112c7,'type':_0x4f634b,'from':_0x3cd81a,'to':_0x32c0a2}))[_0x19b559(0x1ac)];}};Gt=Gs([De(0x0,_0x1bcbe4(_0x1afca0)),De(0x1,_0x1bcbe4(_0x471a60)),De(0x2,_0x1efea3),De(0x3,_0x2c4df3),De(0x4,_0x2cf370)],Gt);var Ks=Object[_0x3647a5(0x34d)],qs=(_0x258730,_0x55eeb4,_0x29d077,_0x5a5e3c)=>{var _0xd3823f=_0x3647a5;for(var _0x194d9c=_0x5a5e3c>0x1?void 0x0:_0x5a5e3c?Ks(_0x55eeb4,_0x29d077):_0x55eeb4,_0x3a8aa8=_0x258730[_0xd3823f(0x30c)]-0x1,_0xe60363;_0x3a8aa8>=0x0;_0x3a8aa8--)(_0xe60363=_0x258730[_0x3a8aa8])&&(_0x194d9c=_0xe60363(_0x194d9c)||_0x194d9c);return _0x194d9c;},Re=(_0x121e42,_0x427ac3)=>(_0x2cf6dd,_0x22d31d)=>_0x427ac3(_0x2cf6dd,_0x22d31d,_0x121e42);let Pe=class extends _0x5839c9{constructor(_0x409685,_0x7b6594,_0x5ebffe,_0x4d5785,_0xd4b63,_0x2b05c8){var _0x235fad=_0x3647a5;super(),N(this,'_socket$',new _0x2ebbac(void 0x0)),N(this,_0x235fad(0x1ec),this[_0x235fad(0x2c7)]['asObservable']()),N(this,_0x235fad(0x13b),null),N(this,_0x235fad(0x2b2),new Map()),N(this,'_status$',new _0x2ebbac(ge[_0x235fad(0x1e4)])),N(this,_0x235fad(0x181),this[_0x235fad(0x180)]['asObservable']()),N(this,_0x235fad(0x1f0),!0x1),N(this,_0x235fad(0x387)),N(this,_0x235fad(0x222),0x0),N(this,_0x235fad(0x26e)),N(this,_0x235fad(0xde)),(this['_injector']=_0x409685,this[_0x235fad(0xaf)]=_0x7b6594,this[_0x235fad(0x2c9)]=_0x5ebffe,this['_socketService']=_0x4d5785,this[_0x235fad(0x19f)]=_0xd4b63,this[_0x235fad(0xd6)]=_0x2b05c8,this[_0x235fad(0x23a)]());}get['_socket'](){var _0x229e88=_0x3647a5;return this[_0x229e88(0x2c7)][_0x229e88(0xdc)]();}[_0x3647a5(0x23a)](){var _0x1e885f=_0x3647a5;this[_0x1e885f(0xd6)]&&this[_0x1e885f(0x71)](this[_0x1e885f(0xd6)][_0x1e885f(0x2d7)][_0x1e885f(0x34e)](_0x1641ac=>{var _0x448269=_0x1e885f;_0x1641ac&&!this[_0x448269(0x155)]&&this['reconnect'](),_0x1641ac||this[_0x448269(0xdb)]();}));}[_0x3647a5(0x228)](){var _0x4bff81=_0x3647a5;super[_0x4bff81(0x228)](),this[_0x4bff81(0xe6)](),this[_0x4bff81(0x2d6)](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x4bff81(0x1a5)](_0x2d5975=>_0x2d5975[_0x4bff81(0x228)]()),this[_0x4bff81(0x2b2)]['clear'](),this[_0x4bff81(0x180)][_0x4bff81(0xf8)]();}async['requireSession'](_0x26d57a){var _0xe3d1ba=_0x3647a5;if(this[_0xe3d1ba(0x2b2)][_0xe3d1ba(0x193)](_0x26d57a))return this[_0xe3d1ba(0x2b2)][_0xe3d1ba(0x267)](_0x26d57a);this[_0xe3d1ba(0xc0)]();const _0x204478=this[_0xe3d1ba(0x324)][_0xe3d1ba(0x128)](gt,_0x26d57a,this['_socket$'][_0xe3d1ba(0x12d)]());return this['_sessions']['set'](_0x26d57a,_0x204478),_0x204478;}[_0x3647a5(0x25b)](_0x26b76e){var _0x4c6f57=_0x3647a5,_0x4641a8;const _0x3c620c=this['_sessions']['get'](_0x26b76e);_0x3c620c&&(this[_0x4c6f57(0x2b2)]['delete'](_0x26b76e),_0x3c620c[_0x4c6f57(0x6d)]()),this['_sessions']['size']||(_0x4641a8=this[_0x4c6f57(0x155)])==null||_0x4641a8[_0x4c6f57(0x6d)]();}['reconnect'](){var _0x15de8e=_0x3647a5;this[_0x15de8e(0x222)]=0x0,this[_0x15de8e(0xe6)](),this[_0x15de8e(0xd1)]();}[_0x3647a5(0xe6)](){var _0x1eaa6e=_0x3647a5;this[_0x1eaa6e(0x387)]!=null&&(clearTimeout(this[_0x1eaa6e(0x387)]),this[_0x1eaa6e(0x387)]=null);}async[_0x3647a5(0x23b)](){var _0x63f810=_0x3647a5,_0x50a84d;const _0x4d362c=this['_configService'][_0x63f810(0x1fc)](K),_0x3103a1=(_0x50a84d=_0x4d362c==null?void 0x0:_0x4d362c['collabWebSocketUrl'])!=null?_0x50a84d:ms,_0x2ce6ba=await this[_0x63f810(0x1a2)][_0x63f810(0xa6)](_0x3103a1);return this['_candidateSocket']=_0x2ce6ba,_0x2ce6ba;}async['_tryEnsureSocket'](){var _0x4f83ba=_0x3647a5,_0x1e7d34,_0x7b4115;try{const _0x52aea0=(_0x7b4115=(_0x1e7d34=this['_socket'])!=null?_0x1e7d34:this['_candidateSocket'])!=null?_0x7b4115:await this[_0x4f83ba(0x23b)]();if(_0x52aea0){const _0x44fe20=_0x52aea0[_0x4f83ba(0x1fa)];_0x52aea0[_0x4f83ba(0x1fa)]=_0x9dbb89=>(this[_0x4f83ba(0x311)](),_0x44fe20[_0x4f83ba(0x87)](_0x52aea0,[_0x9dbb89])),_0x52aea0[_0x4f83ba(0x334)][_0x4f83ba(0x34e)](_0x26c631=>this[_0x4f83ba(0x2f5)](_0x52aea0,_0x26c631)),_0x52aea0[_0x4f83ba(0x111)]['pipe'](_0x382a4d(0x1))[_0x4f83ba(0x34e)](_0x349b76=>this['_logService'][_0x4f83ba(0x328)](_0x4f83ba(0xc4),_0x349b76)),_0x52aea0['open$'][_0x4f83ba(0x2ce)](_0x382a4d(0x1))[_0x4f83ba(0x34e)](()=>{var _0xc2573b=_0x4f83ba;this[_0xc2573b(0x173)](_0x52aea0);}),_0x52aea0[_0x4f83ba(0x271)][_0x4f83ba(0x2ce)](_0x382a4d(0x1))['subscribe'](_0x10d505=>{var _0x59b792=_0x4f83ba;this[_0x59b792(0xaf)]['debug']('[CollaborationSessionService]',_0x59b792(0x19b),_0x10d505),this[_0x59b792(0x19e)]();});}}catch(_0x192e9b){this[_0x4f83ba(0xaf)][_0x4f83ba(0x328)](_0x192e9b),this[_0x4f83ba(0x19e)]();}}[_0x3647a5(0x173)](_0x346277){var _0x449acb=_0x3647a5;this[_0x449acb(0xaf)][_0x449acb(0x1be)]('[CollaborationSessionService]',_0x449acb(0x24b)),_0x346277[_0x449acb(0x1fa)]({'cmd':F[_0x449acb(0x85)]}),this[_0x449acb(0x311)]();}[_0x3647a5(0xdb)](){var _0x4a4059=_0x3647a5;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x4a4059(0x180)][_0x4a4059(0x337)](ge[_0x4a4059(0x301)]),this[_0x4a4059(0x2c7)][_0x4a4059(0x337)](null),this[_0x4a4059(0x2d6)](),this[_0x4a4059(0x27d)]();}[_0x3647a5(0x19e)](){var _0x1e5f50=_0x3647a5,_0x1f4959;this['_onOffline'](),this[_0x1e5f50(0x222)]<((_0x1f4959=this['_configService']['getConfig'](Is))!=null?_0x1f4959:Ts)?(this[_0x1e5f50(0x19f)][_0x1e5f50(0x94)]({'id':ne['SOCKET_FAILED_RETRY']}),this[_0x1e5f50(0xd1)]()):this[_0x1e5f50(0x19f)][_0x1e5f50(0x94)]({'id':ne[_0x1e5f50(0x1de)]});}[_0x3647a5(0xd1)](){var _0x1b3473=_0x3647a5,_0x428ab3;const _0x182b64=this[_0x1b3473(0x222)],_0x35b5b0=this[_0x1b3473(0x2c9)][_0x1b3473(0x1fc)](K),_0xf35149=_0x182b64===0x0?0x0:((_0x428ab3=_0x35b5b0==null?void 0x0:_0x35b5b0[_0x1b3473(0x161)])!=null?_0x428ab3:Es)*0x2**_0x182b64;this[_0x1b3473(0x387)]=setTimeout(()=>{var _0x21fa3e=_0x1b3473;clearTimeout(this[_0x21fa3e(0x387)]),this[_0x21fa3e(0x387)]=null,this[_0x21fa3e(0xc0)]();},_0xf35149),this[_0x1b3473(0x222)]+=0x1;}[_0x3647a5(0x2f5)](_0x30d149,_0x351fcb){var _0x411793=_0x3647a5;const {cmd:_0x309460}=_0x351fcb;_0x309460===F[_0x411793(0x85)]&&!this['_socketReady']&&(_0x30d149[_0x411793(0x368)]=_0x351fcb['data'][_0x411793(0x368)],this[_0x411793(0x2c7)][_0x411793(0x337)](_0x30d149),this[_0x411793(0x180)][_0x411793(0x337)](ge[_0x411793(0x14c)]),this[_0x411793(0x1f0)]=!0x0,this[_0x411793(0x13b)]=null),_0x309460===F[_0x411793(0x122)]&&this[_0x411793(0x2d6)](),this[_0x411793(0x311)]();}[_0x3647a5(0x311)](){var _0xa5825e=_0x3647a5,_0xbc6126;this[_0xa5825e(0x27d)](),this[_0xa5825e(0x26e)]=setTimeout(()=>this[_0xa5825e(0x1c5)](),(_0xbc6126=this[_0xa5825e(0x2c9)][_0xa5825e(0x1fc)](gs))!=null?_0xbc6126:Ss);}[_0x3647a5(0x1c5)](){var _0x5e0271=_0x3647a5;this[_0x5e0271(0x155)][_0x5e0271(0x1fa)]({'cmd':F[_0x5e0271(0x122)]}),this[_0x5e0271(0x16e)]();}[_0x3647a5(0x16e)](){var _0x457fdf=_0x3647a5,_0x2789a7;this[_0x457fdf(0xde)]=setTimeout(()=>this[_0x457fdf(0x19e)](),(_0x2789a7=this[_0x457fdf(0x2c9)][_0x457fdf(0x1fc)](di))!=null?_0x2789a7:fi);}[_0x3647a5(0x27d)](){var _0x32d41e=_0x3647a5;this[_0x32d41e(0x26e)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x32d41e(0x26e)]=null);}['_clearTimeoutTimer'](){var _0x8a8779=_0x3647a5;this[_0x8a8779(0xde)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x8a8779(0xde)]=null);}};Pe=qs([Re(0x0,_0x1bcbe4(_0x1afca0)),Re(0x1,_0x2c4df3),Re(0x2,_0x1efea3),Re(0x3,Ci),Re(0x4,_0x1bcbe4(ve)),Re(0x5,_0x39e56c(js))],Pe);var zs=Object[_0x3647a5(0x34d)],Js=(_0x154486,_0x52a8de,_0x6bb462,_0x260f69)=>{var _0x598f30=_0x3647a5;for(var _0x271d27=_0x260f69>0x1?void 0x0:_0x260f69?zs(_0x52a8de,_0x6bb462):_0x52a8de,_0x1e8dc3=_0x154486[_0x598f30(0x30c)]-0x1,_0x2f7c23;_0x1e8dc3>=0x0;_0x1e8dc3--)(_0x2f7c23=_0x154486[_0x1e8dc3])&&(_0x271d27=_0x2f7c23(_0x271d27)||_0x271d27);return _0x271d27;},Be=(_0x55046b,_0xd53f51)=>(_0x23290c,_0x255d11)=>_0xd53f51(_0x23290c,_0x255d11,_0x55046b);let nt=class extends _0x1a30db{constructor(_0x45f582,_0x518428,_0x36f048,_0x15d770){var _0x22607b=_0x3647a5,_0x33e5b3;super(),N(this,_0x22607b(0x276),new Map()),N(this,_0x22607b(0x351),new _0x101319()),N(this,_0x22607b(0x21f),this['_entityInit$'][_0x22607b(0x12d)]()),(this[_0x22607b(0x324)]=_0x45f582,this['_collabSessionService']=_0x518428,this[_0x22607b(0x2c9)]=_0x36f048,this[_0x22607b(0x27a)]=_0x15d770,((_0x33e5b3=this[_0x22607b(0x2c9)]['getConfig'](K))==null?void 0x0:_0x33e5b3[_0x22607b(0x2f8)])!==!0x1&&this[_0x22607b(0x157)]());}[_0x3647a5(0x228)](){var _0x9b24de=_0x3647a5;super[_0x9b24de(0x228)](),this[_0x9b24de(0x276)][_0x9b24de(0x1a5)](_0x3328c3=>_0x3328c3[_0x9b24de(0x228)]()),this['_entities'][_0x9b24de(0xbf)]();}[_0x3647a5(0x18e)](_0x55a03a){var _0x44eebb=_0x3647a5,_0x5efb53;return(_0x5efb53=this[_0x44eebb(0x276)][_0x44eebb(0x267)](_0x55a03a))!=null?_0x5efb53:null;}[_0x3647a5(0x369)](_0x185527){var _0x27c306=_0x3647a5;const _0x2986e5=this[_0x27c306(0x18e)](_0x185527);return _0x2986e5?_0x13244b(_0x2986e5):this[_0x27c306(0x351)][_0x27c306(0x2ce)](_0x5e6161(_0x46d302=>_0x46d302[_0x27c306(0x1ee)]===_0x185527));}[_0x3647a5(0xab)](_0x457fe4){var _0x1f215c=_0x3647a5;return _0x18e6b0(this[_0x1f215c(0x369)](_0x457fe4)['pipe'](_0x4ac341(()=>{})));}[_0x3647a5(0x157)](){var _0x110f1d=_0x3647a5;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x358be9[_0x110f1d(0x1cb)])['pipe'](_0x5b3e23(this[_0x110f1d(0x175)]),_0x17449f(0x10))[_0x110f1d(0x34e)](async _0x45b1bd=>{var _0x1a5bec=_0x110f1d;const _0x1390ed=_0x45b1bd[_0x1a5bec(0x17e)](),_0x920ddd=await this[_0x1a5bec(0x26d)](_0x1390ed,Z['UNIVER_SHEET']);this[_0x1a5bec(0x276)]['set'](_0x1390ed,_0x920ddd);}),this[_0x110f1d(0x27a)][_0x110f1d(0x353)](_0x358be9[_0x110f1d(0x93)])['pipe'](_0x5b3e23(this['dispose$']),_0x17449f(0x10))[_0x110f1d(0x2ce)](_0x5e6161(_0x536b58=>!_0x536b58[_0x110f1d(0x17e)]()[_0x110f1d(0x2af)]('__')))[_0x110f1d(0x34e)](async _0x27c4cb=>{var _0xb89c36=_0x110f1d;const _0x1c6cba=_0x27c4cb[_0xb89c36(0x17e)](),_0x2bbf94=await this[_0xb89c36(0x26d)](_0x1c6cba,Z[_0xb89c36(0x93)]);this[_0xb89c36(0x276)]['set'](_0x1c6cba,_0x2bbf94);}),_0x43fe12(this[_0x110f1d(0x27a)][_0x110f1d(0x156)](_0x358be9['UNIVER_SHEET']),this[_0x110f1d(0x27a)][_0x110f1d(0x156)](_0x358be9[_0x110f1d(0x93)]))['pipe'](_0x5b3e23(this['dispose$']))[_0x110f1d(0x34e)](_0x1b74ae=>{var _0xc53304=_0x110f1d;const _0x262055=_0x1b74ae['getUnitId'](),_0xa6936=this[_0xc53304(0x276)]['get'](_0x262055);_0xa6936&&(_0xa6936['dispose'](),this[_0xc53304(0x276)][_0xc53304(0xf6)](_0x262055));});}async[_0x3647a5(0x26d)](_0x4c7fec,_0x49ac53){var _0x12263c=_0x3647a5;const _0x39ce97=await this[_0x12263c(0x302)][_0x12263c(0x244)](_0x4c7fec),_0x4b13ef=this[_0x12263c(0x324)][_0x12263c(0x128)](this[_0x12263c(0x212)](_0x49ac53),_0x4c7fec,_0x49ac53,_0x39ce97);return await _0x4b13ef[_0x12263c(0x1d8)](),this[_0x12263c(0x351)]['next'](_0x4b13ef),_0x4b13ef;}[_0x3647a5(0x212)](_0x5bcd4d){var _0x4c1e1d=_0x3647a5;switch(_0x5bcd4d){case Z[_0x4c1e1d(0x93)]:return St;case Z[_0x4c1e1d(0x1cb)]:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x5bcd4d);}}};nt=Js([Be(0x0,_0x1bcbe4(_0x1afca0)),Be(0x1,_0x1bcbe4(Pe)),Be(0x2,_0x1efea3),Be(0x3,_0x407eef)],nt);var Xs=Object[_0x3647a5(0x34d)],Zs=(_0x3b1209,_0x374964,_0x292a1c,_0x1b57cc)=>{var _0x3be015=_0x3647a5;for(var _0x34cd80=_0x1b57cc>0x1?void 0x0:_0x1b57cc?Xs(_0x374964,_0x292a1c):_0x374964,_0x4ef0d4=_0x3b1209[_0x3be015(0x30c)]-0x1,_0x2ecb33;_0x4ef0d4>=0x0;_0x4ef0d4--)(_0x2ecb33=_0x3b1209[_0x4ef0d4])&&(_0x34cd80=_0x2ecb33(_0x34cd80)||_0x34cd80);return _0x34cd80;},Yt=(_0x51c293,_0x39be08)=>(_0xe6462e,_0x3de83f)=>_0x39be08(_0xe6462e,_0x3de83f,_0x51c293);const Qs=_0x3647a5(0x131),en='Univer';let It=class extends _0x5839c9{constructor(_0x259d14,_0x5f126c){var _0x3c0a54=_0x3647a5;super(),this[_0x3c0a54(0x27a)]=_0x259d14,this[_0x3c0a54(0x2c9)]=_0x5f126c,this[_0x3c0a54(0x157)]();}[_0x3647a5(0x157)](){var _0xcb8f55=_0x3647a5;this[_0xcb8f55(0x71)](this[_0xcb8f55(0x27a)][_0xcb8f55(0x201)][_0xcb8f55(0x34e)](()=>{var _0x1342ec=_0xcb8f55,_0x11a375;const _0x3fe0ef=this[_0x1342ec(0x27a)][_0x1342ec(0x320)]();let _0x39776d=(_0x11a375=this[_0x1342ec(0x2c9)][_0x1342ec(0x1fc)](Qs))!=null?_0x11a375:en;_0x3fe0ef instanceof _0x2de499&&(_0x39776d=_0x3fe0ef[_0x1342ec(0xba)]),document[_0x1342ec(0x208)]=_0x39776d;}));}};It=Zs([Yt(0x0,_0x407eef),Yt(0x1,_0x1efea3)],It);var tn=Object[_0x3647a5(0x34d)],sn=(_0x511840,_0x2f643a,_0x5a5f27,_0x5b56b7)=>{var _0x1dd1d9=_0x3647a5;for(var _0x36ca57=_0x5b56b7>0x1?void 0x0:_0x5b56b7?tn(_0x2f643a,_0x5a5f27):_0x2f643a,_0x75d64a=_0x511840[_0x1dd1d9(0x30c)]-0x1,_0x544002;_0x75d64a>=0x0;_0x75d64a--)(_0x544002=_0x511840[_0x75d64a])&&(_0x36ca57=_0x544002(_0x36ca57)||_0x36ca57);return _0x36ca57;},dt=(_0xd476e0,_0x5229df)=>(_0xed4d19,_0x2b01bf)=>_0x5229df(_0xed4d19,_0x2b01bf,_0xd476e0);let rt=class{constructor(_0x137aa6,_0x4217dc,_0x4301ab){var _0x529f48=_0x3647a5;this[_0x529f48(0x2c9)]=_0x137aa6,this[_0x529f48(0x304)]=_0x4217dc,this[_0x529f48(0x2fa)]=_0x4301ab,this[_0x529f48(0x1d8)]();}['init'](){var _0x3fa930=_0x3647a5;this['_httpService'][_0x3fa930(0x229)]({'priority':0x1,'interceptor':(_0x4e2336,_0x17739a)=>_0x17739a(_0x4e2336)['pipe'](_0x558bc8(async _0x5b1dc0=>{var _0x30fc7f=_0x3fa930;const _0x31b3a3=_0x5b1dc0;if(_0x31b3a3[_0x30fc7f(0x19d)]===0x191){if(typeof window>'u')throw new Error(_0x30fc7f(0x280));if(window[_0x30fc7f(0x34b)](this[_0x30fc7f(0x2fa)]['t'](_0x30fc7f(0x83)))){const _0x2ff507=window[_0x30fc7f(0x366)](window[_0x30fc7f(0x331)][_0x30fc7f(0x1dc)]);window['location'][_0x30fc7f(0x1dc)]=this[_0x30fc7f(0x249)]()+_0x30fc7f(0x1d6)+_0x2ff507;}}return _0x31b3a3;}))});}[_0x3647a5(0x249)](){var _0x2141a7=_0x3647a5,_0x30a683;const _0x1d7ccb=this['_configService'][_0x2141a7(0x1fc)](K);return(_0x30a683=_0x1d7ccb==null?void 0x0:_0x1d7ccb['loginUrlKey'])!=null?_0x30a683:Rs;}};rt=sn([dt(0x0,_0x1efea3),dt(0x1,_0x1bcbe4(_0x471a60)),dt(0x2,_0x1bcbe4(_0x164871))],rt);var nn=Object[_0x3647a5(0x34d)],rn=(_0x4ce8ca,_0x589878,_0x103594,_0x3d9433)=>{for(var _0x3c8a1f=_0x3d9433>0x1?void 0x0:_0x3d9433?nn(_0x589878,_0x103594):_0x589878,_0x21a46c=_0x4ce8ca['length']-0x1,_0x5c27de;_0x21a46c>=0x0;_0x21a46c--)(_0x5c27de=_0x4ce8ca[_0x21a46c])&&(_0x3c8a1f=_0x5c27de(_0x3c8a1f)||_0x3c8a1f);return _0x3c8a1f;},Kt=(_0x1a09e1,_0x541db0)=>(_0x31ce59,_0x43e13e)=>_0x541db0(_0x31ce59,_0x43e13e,_0x1a09e1);const an=_0x3647a5(0x29c);let Tt=class extends _0x5839c9{constructor(_0x2e58ba,_0x547f2f){var _0x2d0bc5=_0x3647a5;super(),this[_0x2d0bc5(0x346)]=_0x2e58ba,this[_0x2d0bc5(0x2c9)]=_0x547f2f,this[_0x2d0bc5(0x2bc)]();}[_0x3647a5(0x2bc)](){var _0xcd2206=_0x3647a5;const _0x1ea44=this;this['disposeWithMe'](this[_0xcd2206(0x346)][_0xcd2206(0x229)]({'priority':0x3e7,'interceptor':_0x38f6f8({'isMatch'(_0x300409){var _0x46c94b=_0xcd2206,_0x5332fa;if(_0x300409[_0x46c94b(0x135)]==='POST'&&((_0x5332fa=_0x300409[_0x46c94b(0x27e)])!=null&&_0x5332fa['body'])){const {objectID:_0x3575b0,objectType:_0x1e64b}=_0x300409[_0x46c94b(0x27e)][_0x46c94b(0x100)]||{};if(!_0x3575b0||_0x1e64b===void 0x0)return!0x1;const _0x211505=_0x1ea44[_0x46c94b(0x338)]()+'/'+_0x1e64b+_0x46c94b(0x286)+_0x3575b0+_0x46c94b(0xc5);if(_0x300409[_0x46c94b(0x1d7)]===_0x211505)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x429ecf){var _0x48f3eb=_0xcd2206,_0x49dbca;return(_0x49dbca=_0x429ecf[_0x48f3eb(0x27e)])==null?void 0x0:_0x49dbca[_0x48f3eb(0x100)];},'mergeParamsToRequest'(_0x103cbb,_0x454b48){var _0x5c6b3b=_0xcd2206;const _0x3215c5=_0x1ea44[_0x5c6b3b(0x338)]()+'/-/object/-/batch_allowed',_0x2afacf=_0x103cbb[_0x5c6b3b(0x97)]((_0x2d0ece,_0x4c9765)=>{var _0x3988f5=_0x5c6b3b;const {unitID:_0x235a47,objectID:_0x1238b1,objectType:_0x40bf40,actions:_0x2d28de}=_0x4c9765;return _0x2d0ece[_0x235a47]||(_0x2d0ece[_0x235a47]={}),_0x2d0ece[_0x235a47][_0x1238b1]||(_0x2d0ece[_0x235a47][_0x1238b1]={'objectID':_0x1238b1,'objectType':_0x40bf40,'actions':[]}),_0x2d0ece[_0x235a47][_0x1238b1][_0x3988f5(0x35d)][_0x3988f5(0x109)](..._0x2d28de),_0x2d0ece;},{}),_0x2e4cd1=[];for(const _0x367bb8 in _0x2afacf)for(const _0x2834ed in _0x2afacf[_0x367bb8]){const {actions:_0x1d0501,objectType:_0x51c79f}=_0x2afacf[_0x367bb8][_0x2834ed],_0x4e6840=[...new Set(_0x1d0501)];_0x2e4cd1[_0x5c6b3b(0x109)]({'unitID':_0x367bb8,'objectID':_0x2834ed,'objectType':_0x51c79f,'actions':_0x4e6840});}return new _0x120e15(_0x5c6b3b(0x32d),_0x3215c5,{'headers':_0x454b48[_0x5c6b3b(0x92)],'withCredentials':_0x454b48[_0x5c6b3b(0x22e)],'responseType':_0x454b48['responseType'],'body':{'requests':_0x2e4cd1}});}},{'distributeResult'(_0x3d8b10,_0x29b4df){const {objectActions:_0x1369f6}=_0x3d8b10;return _0x29b4df['map'](_0x4f1237=>{var _0x11207d=_0x75e3;const {unitID:_0x4f11f9,objectID:_0x460089,actions:_0x140b49}=_0x4f1237,_0x41d34f=_0x1369f6[_0x11207d(0x28e)](_0x5189ad=>_0x5189ad['unitID']===_0x4f11f9&&_0x5189ad['objectID']===_0x460089),_0x3152ea=_0x140b49[_0x11207d(0x139)](_0x802115=>_0x41d34f==null?void 0x0:_0x41d34f[_0x11207d(0x35d)][_0x11207d(0x28e)](_0x186f84=>_0x186f84[_0x11207d(0x254)]===_0x802115))[_0x11207d(0x1cc)](_0x224d4c=>!!_0x224d4c);return{'config':_0x4f1237,'result':{'actions':_0x3152ea,'error':_0x3d8b10['error']}};});}})}));}[_0x3647a5(0x338)](){var _0x3635ab=_0x3647a5,_0x4410b6;const _0x45d6db=this[_0x3635ab(0x2c9)][_0x3635ab(0x1fc)](K);return(_0x4410b6=_0x45d6db==null?void 0x0:_0x45d6db[_0x3635ab(0x17f)])!=null?_0x4410b6:an;}async[_0x3647a5(0xf1)](_0x16837e){var _0x3364a1=_0x3647a5;const _0x346812=this['_getAPIPrefixPath']()+'/'+_0x16837e['objectType']+_0x3364a1(0x2a0);return(await this[_0x3364a1(0x346)]['post'](_0x346812,{'body':_0x16837e}))[_0x3364a1(0x100)][_0x3364a1(0x1ae)]||'';}async[_0x3647a5(0xce)](_0x17686e){var _0x21733b=_0x3647a5;const _0x5eee95=this['_getAPIPrefixPath']()+_0x21733b(0x370);return(await this[_0x21733b(0x346)][_0x21733b(0x125)](_0x5eee95,{'body':_0x17686e}))['body'][_0x21733b(0x1db)];}async[_0x3647a5(0x218)](_0x2d4e3d){var _0x420891=_0x3647a5,_0x22e52d,_0xa38f0f;const _0x656a79=this[_0x420891(0x338)]()+'/'+_0x2d4e3d[_0x420891(0x136)]+_0x420891(0x286)+_0x2d4e3d[_0x420891(0x1ae)],_0x16ebed=await this[_0x420891(0x346)][_0x420891(0x126)](_0x656a79,{'body':_0x2d4e3d});if(((_0xa38f0f=(_0x22e52d=_0x16ebed==null?void 0x0:_0x16ebed[_0x420891(0x100)])==null?void 0x0:_0x22e52d[_0x420891(0x328)])==null?void 0x0:_0xa38f0f[_0x420891(0x230)])!==0x1)throw new Error(_0x420891(0x382));}async[_0x3647a5(0xea)](_0x4059f7){var _0x549f1b=_0x3647a5;const _0x37015c=this['_getAPIPrefixPath']()+'/'+_0x4059f7['objectType']+_0x549f1b(0x286)+_0x4059f7[_0x549f1b(0x1ae)]+'/allowed';return(await this[_0x549f1b(0x346)][_0x549f1b(0x125)](_0x37015c,{'body':_0x4059f7}))[_0x549f1b(0x100)][_0x549f1b(0x35d)];}async[_0x3647a5(0x25f)](_0x3d183a){var _0x5a6ff3=_0x3647a5;const _0x3a2524=this[_0x5a6ff3(0x338)]()+_0x5a6ff3(0x2ab);return(await this['_HTTPService']['post'](_0x3a2524,{'body':{'requests':_0x3d183a}}))[_0x5a6ff3(0x100)][_0x5a6ff3(0x1b1)];}async['listRoles'](_0x4f2ae5){var _0x217f7c=_0x3647a5;const _0x3f29fc=this[_0x217f7c(0x338)]()+'/'+_0x4f2ae5[_0x217f7c(0x136)]+'/role',_0x2fc1f6=await this[_0x217f7c(0x346)][_0x217f7c(0x125)](_0x3f29fc,{'body':_0x4f2ae5});return{'roles':_0x2fc1f6[_0x217f7c(0x100)][_0x217f7c(0x1b8)],'actions':_0x2fc1f6['body'][_0x217f7c(0x35d)]};}async[_0x3647a5(0x1cd)](_0x15b31a){var _0x52c47f=_0x3647a5;const _0x3e1563=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x52c47f(0x346)][_0x52c47f(0xf6)](_0x3e1563,{'params':{'collaboratorID':_0x15b31a[_0x52c47f(0x35c)],'objectID':_0x15b31a[_0x52c47f(0x1ae)],'unitID':_0x15b31a[_0x52c47f(0x1ee)]}});}async[_0x3647a5(0x1c2)](_0x3ff391){var _0xf842de=_0x3647a5;const _0x161edb=this['_getAPIPrefixPath']()+'/collaborator';await this[_0xf842de(0x346)]['patch'](_0x161edb,{'body':_0x3ff391});}async[_0x3647a5(0x225)](_0x278c35){var _0x255ec7=_0x3647a5;const _0x5314bd=this[_0x255ec7(0x338)]()+_0x255ec7(0xb9);await this[_0x255ec7(0x346)][_0x255ec7(0x125)](_0x5314bd,{'body':_0x278c35});}async[_0x3647a5(0x1ce)](_0x227af0){var _0x38e1b1=_0x3647a5;const _0x39f400=this[_0x38e1b1(0x338)]()+_0x38e1b1(0xb9);return(await this[_0x38e1b1(0x346)][_0x38e1b1(0x267)](_0x39f400,{'params':{'objectID':_0x227af0[_0x38e1b1(0x1ae)],'unitID':_0x227af0[_0x38e1b1(0x1ee)]}}))['body'][_0x38e1b1(0x78)];}async[_0x3647a5(0x119)](_0x27d8dc){var _0x1fdd7c=_0x3647a5;const _0x7ebe76=this['_getAPIPrefixPath']()+_0x1fdd7c(0xb9);await this['_HTTPService'][_0x1fdd7c(0x126)](_0x7ebe76,{'body':_0x27d8dc});}};Tt=rn([Kt(0x0,_0x1bcbe4(_0x471a60)),Kt(0x1,_0x1bcbe4(_0x1efea3))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x231fee){var _0x2ac2cf=_0x3647a5;return _0x231fee&&_0x231fee[_0x2ac2cf(0xd3)]&&Object[_0x2ac2cf(0x1c8)][_0x2ac2cf(0x25d)][_0x2ac2cf(0x1c6)](_0x231fee,_0x2ac2cf(0x26b))?_0x231fee[_0x2ac2cf(0x26b)]:_0x231fee;}var Ve={'exports':{}};function on(_0x2815fd){var _0x2bf035=_0x3647a5;throw new Error(_0x2bf035(0x101)+_0x2815fd+_0x2bf035(0xda));}var We={'exports':{}},cn=We[_0x3647a5(0x376)],qt;function te(){var _0x263c69=_0x3647a5;return qt||(qt=0x1,function(_0x5a1ddd,_0x59da84){(function(_0x47c809,_0x14e2d3){_0x5a1ddd['exports']=_0x14e2d3();}(cn,function(){var _0x58ac67=_0x58ac67||function(_0x536387,_0x946139){var _0x104e7a=_0x75e3,_0x3ef319;if(typeof window<'u'&&window['crypto']&&(_0x3ef319=window[_0x104e7a(0x98)]),typeof self<'u'&&self[_0x104e7a(0x98)]&&(_0x3ef319=self[_0x104e7a(0x98)]),typeof globalThis<'u'&&globalThis[_0x104e7a(0x98)]&&(_0x3ef319=globalThis['crypto']),!_0x3ef319&&typeof window<'u'&&window['msCrypto']&&(_0x3ef319=window['msCrypto']),!_0x3ef319&&typeof ft<'u'&&ft[_0x104e7a(0x98)]&&(_0x3ef319=ft[_0x104e7a(0x98)]),!_0x3ef319&&typeof on==_0x104e7a(0xa5))try{_0x3ef319=require('crypto');}catch{}var _0x371f13=function(){var _0x481086=_0x104e7a;if(_0x3ef319){if(typeof _0x3ef319['getRandomValues']==_0x481086(0xa5))try{return _0x3ef319[_0x481086(0x18c)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3ef319[_0x481086(0x1f8)]==_0x481086(0xa5))try{return _0x3ef319['randomBytes'](0x4)[_0x481086(0x2cf)]();}catch{}}throw new Error(_0x481086(0x10b));},_0x5652ad=Object[_0x104e7a(0xf1)]||(function(){function _0x226ac4(){}return function(_0x210525){var _0x17ea4e=_0x75e3,_0x4390b1;return _0x226ac4['prototype']=_0x210525,_0x4390b1=new _0x226ac4(),_0x226ac4[_0x17ea4e(0x1c8)]=null,_0x4390b1;};}()),_0x7c0bee={},_0x3b59af=_0x7c0bee['lib']={},_0x52da1f=_0x3b59af[_0x104e7a(0xaa)]=(function(){return{'extend':function(_0x9e61d5){var _0x426459=_0x75e3,_0x1850aa=_0x5652ad(this);return _0x9e61d5&&_0x1850aa['mixIn'](_0x9e61d5),(!_0x1850aa[_0x426459(0x25d)]('init')||this[_0x426459(0x1d8)]===_0x1850aa['init'])&&(_0x1850aa['init']=function(){var _0xcfeb46=_0x426459;_0x1850aa[_0xcfeb46(0x34f)]['init'][_0xcfeb46(0x87)](this,arguments);}),_0x1850aa['init']['prototype']=_0x1850aa,_0x1850aa[_0x426459(0x34f)]=this,_0x1850aa;},'create':function(){var _0x59a044=_0x75e3,_0x227ca8=this['extend']();return _0x227ca8[_0x59a044(0x1d8)]['apply'](_0x227ca8,arguments),_0x227ca8;},'init':function(){},'mixIn':function(_0x35f79f){var _0x1104bd=_0x75e3;for(var _0x1bbbbe in _0x35f79f)_0x35f79f['hasOwnProperty'](_0x1bbbbe)&&(this[_0x1bbbbe]=_0x35f79f[_0x1bbbbe]);_0x35f79f['hasOwnProperty'](_0x1104bd(0x2fb))&&(this[_0x1104bd(0x2fb)]=_0x35f79f[_0x1104bd(0x2fb)]);},'clone':function(){var _0xb026c9=_0x75e3;return this[_0xb026c9(0x1d8)]['prototype'][_0xb026c9(0x34c)](this);}};}()),_0x125665=_0x3b59af['WordArray']=_0x52da1f[_0x104e7a(0x34c)]({'init':function(_0x25c7b5,_0x4c1ff4){var _0x1e31d4=_0x104e7a;_0x25c7b5=this[_0x1e31d4(0x24d)]=_0x25c7b5||[],_0x4c1ff4!=_0x946139?this[_0x1e31d4(0x8d)]=_0x4c1ff4:this[_0x1e31d4(0x8d)]=_0x25c7b5[_0x1e31d4(0x30c)]*0x4;},'toString':function(_0x5836b5){var _0x2c2264=_0x104e7a;return(_0x5836b5||_0x1a0d11)[_0x2c2264(0x24c)](this);},'concat':function(_0x119cad){var _0x27b908=_0x104e7a,_0x506e8c=this[_0x27b908(0x24d)],_0x5f9e5e=_0x119cad[_0x27b908(0x24d)],_0x296da5=this[_0x27b908(0x8d)],_0x1d30ae=_0x119cad[_0x27b908(0x8d)];if(this['clamp'](),_0x296da5%0x4)for(var _0x1859de=0x0;_0x1859de<_0x1d30ae;_0x1859de++){var _0x506daa=_0x5f9e5e[_0x1859de>>>0x2]>>>0x18-_0x1859de%0x4*0x8&0xff;_0x506e8c[_0x296da5+_0x1859de>>>0x2]|=_0x506daa<<0x18-(_0x296da5+_0x1859de)%0x4*0x8;}else{for(var _0xd9f459=0x0;_0xd9f459<_0x1d30ae;_0xd9f459+=0x4)_0x506e8c[_0x296da5+_0xd9f459>>>0x2]=_0x5f9e5e[_0xd9f459>>>0x2];}return this[_0x27b908(0x8d)]+=_0x1d30ae,this;},'clamp':function(){var _0x3eeb00=_0x104e7a,_0xc2a373=this[_0x3eeb00(0x24d)],_0x56b4cc=this[_0x3eeb00(0x8d)];_0xc2a373[_0x56b4cc>>>0x2]&=0xffffffff<<0x20-_0x56b4cc%0x4*0x8,_0xc2a373['length']=_0x536387[_0x3eeb00(0x2e3)](_0x56b4cc/0x4);},'clone':function(){var _0x2717ab=_0x104e7a,_0x8168f=_0x52da1f[_0x2717ab(0x140)][_0x2717ab(0x1c6)](this);return _0x8168f[_0x2717ab(0x24d)]=this[_0x2717ab(0x24d)]['slice'](0x0),_0x8168f;},'random':function(_0x11e886){var _0x5b2cd2=_0x104e7a;for(var _0x264a3c=[],_0x2ed647=0x0;_0x2ed647<_0x11e886;_0x2ed647+=0x4)_0x264a3c['push'](_0x371f13());return new _0x125665[(_0x5b2cd2(0x1d8))](_0x264a3c,_0x11e886);}}),_0x17d3fe=_0x7c0bee[_0x104e7a(0x1c0)]={},_0x1a0d11=_0x17d3fe[_0x104e7a(0x247)]={'stringify':function(_0x1781b8){var _0x586359=_0x104e7a;for(var _0x529b53=_0x1781b8[_0x586359(0x24d)],_0x32ff61=_0x1781b8[_0x586359(0x8d)],_0x430938=[],_0x1b2837=0x0;_0x1b2837<_0x32ff61;_0x1b2837++){var _0x2c9fc7=_0x529b53[_0x1b2837>>>0x2]>>>0x18-_0x1b2837%0x4*0x8&0xff;_0x430938[_0x586359(0x109)]((_0x2c9fc7>>>0x4)[_0x586359(0x2fb)](0x10)),_0x430938[_0x586359(0x109)]((_0x2c9fc7&0xf)['toString'](0x10));}return _0x430938[_0x586359(0x196)]('');},'parse':function(_0xab8e85){var _0x1d5556=_0x104e7a;for(var _0x565c1a=_0xab8e85['length'],_0x27328b=[],_0x3bda2c=0x0;_0x3bda2c<_0x565c1a;_0x3bda2c+=0x2)_0x27328b[_0x3bda2c>>>0x3]|=parseInt(_0xab8e85[_0x1d5556(0xfd)](_0x3bda2c,0x2),0x10)<<0x18-_0x3bda2c%0x8*0x4;return new _0x125665[(_0x1d5556(0x1d8))](_0x27328b,_0x565c1a/0x2);}},_0x407566=_0x17d3fe['Latin1']={'stringify':function(_0x3a664b){var _0x101991=_0x104e7a;for(var _0x3b006c=_0x3a664b[_0x101991(0x24d)],_0x51d558=_0x3a664b['sigBytes'],_0x52b519=[],_0xf3e1b0=0x0;_0xf3e1b0<_0x51d558;_0xf3e1b0++){var _0x38f73f=_0x3b006c[_0xf3e1b0>>>0x2]>>>0x18-_0xf3e1b0%0x4*0x8&0xff;_0x52b519[_0x101991(0x109)](String['fromCharCode'](_0x38f73f));}return _0x52b519[_0x101991(0x196)]('');},'parse':function(_0x43df8b){var _0x2a3cf6=_0x104e7a;for(var _0x177848=_0x43df8b[_0x2a3cf6(0x30c)],_0x10d56d=[],_0x908e9b=0x0;_0x908e9b<_0x177848;_0x908e9b++)_0x10d56d[_0x908e9b>>>0x2]|=(_0x43df8b['charCodeAt'](_0x908e9b)&0xff)<<0x18-_0x908e9b%0x4*0x8;return new _0x125665['init'](_0x10d56d,_0x177848);}},_0x5aba69=_0x17d3fe[_0x104e7a(0x224)]={'stringify':function(_0x44c2b9){var _0x4b34ab=_0x104e7a;try{return decodeURIComponent(escape(_0x407566[_0x4b34ab(0x24c)](_0x44c2b9)));}catch{throw new Error(_0x4b34ab(0x284));}},'parse':function(_0x1630c0){var _0x5c66d4=_0x104e7a;return _0x407566[_0x5c66d4(0x20e)](unescape(encodeURIComponent(_0x1630c0)));}},_0x4eadb2=_0x3b59af[_0x104e7a(0x30a)]=_0x52da1f['extend']({'reset':function(){var _0x348a4c=_0x104e7a;this[_0x348a4c(0x154)]=new _0x125665[(_0x348a4c(0x1d8))](),this['_nDataBytes']=0x0;},'_append':function(_0x17947d){var _0x41ca18=_0x104e7a;typeof _0x17947d=='string'&&(_0x17947d=_0x5aba69[_0x41ca18(0x20e)](_0x17947d)),this[_0x41ca18(0x154)][_0x41ca18(0x316)](_0x17947d),this[_0x41ca18(0x282)]+=_0x17947d[_0x41ca18(0x8d)];},'_process':function(_0x2e1b14){var _0x25e961=_0x104e7a,_0x3f249,_0x4864b7=this[_0x25e961(0x154)],_0x422cc9=_0x4864b7[_0x25e961(0x24d)],_0x5e73fd=_0x4864b7[_0x25e961(0x8d)],_0x28b611=this[_0x25e961(0x321)],_0x1fd01e=_0x28b611*0x4,_0x3b57d9=_0x5e73fd/_0x1fd01e;_0x2e1b14?_0x3b57d9=_0x536387[_0x25e961(0x2e3)](_0x3b57d9):_0x3b57d9=_0x536387[_0x25e961(0x21e)]((_0x3b57d9|0x0)-this['_minBufferSize'],0x0);var _0x51c990=_0x3b57d9*_0x28b611,_0x3f7d8c=_0x536387[_0x25e961(0x2e6)](_0x51c990*0x4,_0x5e73fd);if(_0x51c990){for(var _0x4dce43=0x0;_0x4dce43<_0x51c990;_0x4dce43+=_0x28b611)this[_0x25e961(0xcc)](_0x422cc9,_0x4dce43);_0x3f249=_0x422cc9['splice'](0x0,_0x51c990),_0x4864b7[_0x25e961(0x8d)]-=_0x3f7d8c;}return new _0x125665[(_0x25e961(0x1d8))](_0x3f249,_0x3f7d8c);},'clone':function(){var _0x3280a7=_0x104e7a,_0x4b1a8d=_0x52da1f['clone'][_0x3280a7(0x1c6)](this);return _0x4b1a8d[_0x3280a7(0x154)]=this[_0x3280a7(0x154)][_0x3280a7(0x140)](),_0x4b1a8d;},'_minBufferSize':0x0});_0x3b59af['Hasher']=_0x4eadb2[_0x104e7a(0x34c)]({'cfg':_0x52da1f['extend'](),'init':function(_0x4ee63a){var _0x219fe8=_0x104e7a;this[_0x219fe8(0x112)]=this['cfg'][_0x219fe8(0x34c)](_0x4ee63a),this[_0x219fe8(0x2b4)]();},'reset':function(){var _0x31fb2c=_0x104e7a;_0x4eadb2[_0x31fb2c(0x2b4)][_0x31fb2c(0x1c6)](this),this[_0x31fb2c(0x269)]();},'update':function(_0x15438a){var _0x279cd0=_0x104e7a;return this[_0x279cd0(0x110)](_0x15438a),this[_0x279cd0(0x106)](),this;},'finalize':function(_0x38c478){var _0x5b128f=_0x104e7a;_0x38c478&&this[_0x5b128f(0x110)](_0x38c478);var _0xa14265=this[_0x5b128f(0xe8)]();return _0xa14265;},'blockSize':0x10,'_createHelper':function(_0x257b56){return function(_0x4e454d,_0x820b8b){var _0x15739d=_0x75e3;return new _0x257b56['init'](_0x820b8b)[_0x15739d(0x2f7)](_0x4e454d);};},'_createHmacHelper':function(_0x313943){return function(_0x511ad1,_0x32f967){var _0x57b3b4=_0x75e3;return new _0x412ea7['HMAC'][(_0x57b3b4(0x1d8))](_0x313943,_0x32f967)[_0x57b3b4(0x2f7)](_0x511ad1);};}});var _0x412ea7=_0x7c0bee[_0x104e7a(0x23c)]={};return _0x7c0bee;}(Math);return _0x58ac67;}));}(We)),We[_0x263c69(0x376)];}var Ge={'exports':{}},hn=Ge[_0x3647a5(0x376)],zt;function _0x4bda(){var _0x4305e5=['_change$','SHOULD_CLOSE_CONN','changesets','cmd','objectID','compose','image/jpeg','objectActions','6901979fwWTZy','_createHmacHelper','/block/','updatePermissionObjEvent','MSG_FOR_ERROR','_stopTelemetryCollaborationNewChangeset','roles','YUUMI_NO_CUBOID_FOR_QUESTION','70ajdnCh','UUID','USER_NOT_INVITED_CODE','transformUndoRedo','debug','_schedule','enc','3794796eNjYbq','updateCollaborator','_transformIMECache','_toggleOffline','_sendHeartbeat','call','decrypt','prototype','_onRemoteRetry','BlockCipherMode','UNIVER_SHEET','filter','deleteCollaborator','listCollaborators','6ahgmyu','CONFLICT','getUnitStatus$','UPDATE_CURSOR','salt','conflict','_oKey','?url=','url','init','_applyRemoteChangeset','pad','objects','href','unitId\x20is\x20not\x20found','SOCKET_FAILED','_acknowledgedAwaitingChangeset','BlockCipher','appendMutation','INTERNAL_ERROR','getMemberID','IDLE','image/jpg','WordArray','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','NO_OTHER_CLIENTS_EDITING','_transitionLocked','CHANGESET_REVISION_CONFILICT','initWorkbookPermissionChange','socket$','sessionStatus','unitID','\x20-\x20','_socketReady','ALREADY_EXISTS','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','COMPLETION_FINISHED','localCacheService','_sender','image/bmp','_undoRedoService','randomBytes','synced','send','range','getConfig','UNAUTHENTICATED','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_awaitingChangeset','_instanceService','focused$','joinRsp','_registerDependencies','_onCombEvent','StreamCipher','ENSURE_SNAPSHOT_EXECUTION','NOT_COLLAB','title','string','_scheduleCollaborationTimeoutTimer','formatter','Decryptor','offline','parse','UserProfileImg','format','getCurrentSelections','_getCtorByUniverType','splice','/universer-api/snapshot/','getActiveSheet','_singleActiveUnitService','LIVESHARE_TERMINATE','update','equals','updateCursorEvent','getAllMembers','LICENSE_IMPORT_SIZE_EXCEEDED','_minBufferSize','max','entityInit$','setWaitCount','mixIn','_retryCount','FETCH_MISSING','Utf8','createCollaborator','refreshPermission','revision','dispose','registerHTTPInterceptor','_doCreateSocket','UNIVER_UNKNOWN','roomInfos','Undefined','withCredentials','LIVESHARE_OPERATION','code','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','?size=','executeCommand','SUCCUSS','transformMutationsWithChangeset','getCurrentRevOfUnit','_checkMissing','_sessionStatus$','hasher','_listenToNetworkCondition','_createSocket','algo','CLOSE_ROOM','_cipher','unitInfo$','_unlockTransition','YUUMI_SUBSCRIPTION_NOT_FOUND','/universer-api/file/{fileID}/sign-url','/fetchmissing?from=','requireSession','loadUnitOfRevision','updatePermissionPoint','Hex','CipherParams','_getLoginPath','transformStack\x20failed!','socket\x20open.','stringify','words','includes','resend','editingUnit','getInterceptPoints','_emitMembers','now','action','addHandlerCallback','PY_RUNTIME_SCRIPT_ERROR','state$','MUTATION','APPLY_REJECT','c1Prime','closeSession','_transformRemoteChangesetByStateCache','hasOwnProperty','getImageSourceCache','batchAllowed','readAsDataURL','_handlerCallback','joinEvent','collaMsg','HMAC','\x0aCurrent:\x20','_updateStatus','get','append','_doReset','EMAIL_HAS_BEEN_BOUND','default','_commentUpdate$','_startCollaboration','_sendHeartbeatTimer','[FetchMissState]','_localCacheService','close$','_substituteRedoStack','saveSnapshot','JOINING','PasswordBasedCipher','_entities','_onUserLeave','saveSheetBlock','onload','_univerInstanceService','commentUpdate$','__Key__','_clearHeartbeatTimer','requestParams','SNAPSHOT_HAS_BEEN_REMOVED','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','setCurrentUser','_nDataBytes','isPermissionRej','Malformed\x20UTF-8\x20data','_event$','/object/','updateOfflineData','getTime','_transformUndoredo','INVALID_ARGUMENT','ws://127.0.0.1:8000/universer-api/comb/connect','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','updateMember','find','session.room-cnt-exceeds','MOBILE_VERIFY_CODE_MISMATCH','createDecryptor','_iv','_DEC_XFORM_MODE','session.room-not-exists','eventID','_hash','padding','TOO_MANY_REQUESTS','OpenSSL','YUUMI_RATE_OVER_LIMIT','shouldCloseConn','/universer-api/authz','sin','JOIN_ROOM_NOT_EXISTS','_initDependencies','/object','[PendingState]:\x20unhandled\x20univer\x20type:\x20','Hasher','onSendChangeset','_ENC_XFORM_MODE','_onRecvEvent','EMAIL_VERIFY_CODE_MISMATCH','SNAPSHOT_URL_KEY','_scheduleCompleteTimestamp','UNISCRIPT_RUN','_keySchedule','/-/object/-/batch_allowed','_onRemoteRejected','onRemoteRej','YUUMI_CONNECTOR_URL_NOT_FOUND','startsWith','replace','setConfig','_sessions','_invKeySchedule','reset','collaboration_new_changeset','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','sessionStatus$','toggleOnline','PERMISSION_DENIED','SUBMIT_CHANGESET_TIMEOUT','onCommandExecuted','_initMergeInterceptor','subUnitId','LIVESHARE_FETCH_OPERATIONS','getCurrentUser','editing\x20status\x20changed\x20to','INVITE_CODE_HAS_BEEN_UES','saveChangeset','_removeRoom','originalMeta','_transformStack','/rev/','_socket$','_sheetTransformSelectionsService','_configService','csShouldRetryEvent','fromCollab','data','_getUploadFileURL','pipe','readInt32LE','_disableEditing','Pkcs7','CHANGESET_REJ','incrementRevOfUnit','_onLocalMutation','240935XUYYLg','_clearTimeoutTimer','online$','permissionRejEvent','WECHAT_HAS_BEEN_BOUND','APPLY_PERMISSION_DENIED','HEARTBEAT_TIMEOUT','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_eventService','_remoteChangesetQueue','_getDownloadEndpointURL','JOIN_ROOM_PERMISSION_DENIED','c2Prime','_syncEditingCollabCursor','ceil','onStateChange','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','min','YUUMI_ASYNCIO_CANCELLED','capture','_userManagerService','_unitInfo$','FAIL','liveShareNewHost','kdf','_onUserJoin','_reverseMap','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','LEAVE','indexOf','connection\x20error','_commentService','_onMessage','[PendingState]:\x20received\x20acknowledgement.','finalize','enableCollaboration','_shouldReportTelemetry','localeService','toString','ERROR_EXCEED_SIZE','/unit/','[DataLoaderService]','key','_telemetryService','OFFLINE','_collabSessionService','univer-pro.collaboration-client-socket-service','_httpService','_compressMutationService','_replayCachedMutations','_collaborationSessionService','unsubscribe','csAckEvent','BufferedBlockAlgorithm','_snapshotServerService','length','removeMember','_throwTelemetryCollaborationNewChangeset','MOBILE_HAS_BEEN_BOUND','awaitingChangeset','_rescheduleHeartbeat','_getSignURL','MD5','unknown','size','concat','onSyncEditingCollabCursor','INVITE_CODE_REQUIRED','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','YUUMI_URL_COL_OUT_OF_RANGE','684230CcNUtw','_permissionService','UNRECOGNIZED','_createHelper','set','getFocusedUnit','blockSize','OTHER_CLIENT_EDITING','_handler','_injector','/universer-api/snapshot','change$','/universer-api/stream/file/upload','error','uploadFileServerUrl','fromCharCode','getSheetBlock','_onRemoteACK','POST','createEncryptor','[UniverCollaborationClientPlugin]','findIndex','location','LICENSE_EXPORT_SIZE_EXCEEDED','35444pNAeyW','message$','OTHER_CLIENTS_EDITING','_initRequestHeader','next','_getAPIPrefixPath','Error\x20on\x20receiving\x20event','96cvRrhT','buffer','_prevBlock','NEW_CHANGESETS','loadDoc','SNAPSHOT_INVALID_SNAPSHOT','_queuedRemoteChangesets','avatar','_iKey','_type','sid','HttpExport','_HTTPService','disableLocalCache','params','onLocalMutation','_unitID','confirm','extend','getOwnPropertyDescriptor','subscribe','$super','YUUMI_UNABLE_LOAD_URL','_entityInit$','[PendingState]:\x20received\x20rejection.','getTypeOfUnitAdded$','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','newCsEvent','ciphertext','_changesetReqId','reject','[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.','sheets','ERROR_IMAGE','collaboratorID','actions','every','onTransformRemoteChangesetByIMECache','COMPRESS_MUTATION_SEND','_substituteUndoStack','Encryptor','AES','_collaborationPaused','COMPRESS_MUTATION_APPLY','encodeURIComponent','_executeRemoteChangeset','memberID','getCollabEntity$','fetchMissingChangesets','fetch_missing','_state$','[OfflineState]:\x20received\x20changeset.','[SyncedState]:\x20received\x20rejection.','subject','/-/object/list','_keyPriorReset','_members$','_resendTimeout','slice','save\x20fail\x20reason\x20is\x20','exports','FileId','defineProperty','_onJoinRoomEvent','_showConflictNotification','[CollaborationUndoRedoService]','_replaceFileID','session.room-full','_getAPIPrefix','_parse','loadOfflineData','SHA1','Failed\x20to\x20update\x20permission\x20point','Base64','AWAITING_WITH_PENDING','isArray','waitForRoom$','_retryConnectingTimer','_incrementRevisionNumber','close','onRemoteRetry','from','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','disposeWithMe','CONNECTOR_DATA_TOO_LARGE','processBlock','SUBMIT_CHANGESET','onRemoteChangeset','socketService','event$','collaborators','YUUMI_TABLE_NOT_FOUND_IN_UNIT','interceptor','/universer-api/uniscript','getMember','_clearUndo','mutations','rev','x-univer-host','image/png','open$','auth.needGotoLoginAlert','UNIVER_SLIDE','HELLO','charCodeAt','apply','JOIN_ROOM_FAILED','_updateLocalCache','UNIVER_PROJECT','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','session.join-failed','sigBytes','SerializableCipher','_mode','Cipher','_getSendChangesetTimeout','headers','UNIVER_DOC','emitEvent','_nRounds','_sendingTimer','reduce','crypto','LOCAL_CACHE_INTERVAL','_collaborationTimeoutTimer','onTransformRemoteChangesetByStateCache','GLOBAL_ROOMS_CNT_EXCEEDS','selections','USERS_ENTER','transformSelections','_imageSourceCache','_telemetryInfo','encryptBlock','2377251cQmPBy','reverse','function','createSocket','fetchMiss','_state','telemetry\x20info\x20is\x20not\x20initialized','Base','readyForCollab','random','_resendTimer','_initUnitPermissionChange','_logService','_pendingMutations','PSEUDO_FETCH_MISSING_RESULT','ERROR_IMAGE_TYPE','getRoom','loadUnit','toggleOffline','image/gif','JOIN_ROOM_FULL','iterations','/collaborator','name','mode','_hasher','awaiting','UnitEmbedded','clear','_tryEnsureSocket','_getRedoStack','YUUMI_ALL_TABLES_IS_INVALID','_getCurrentRevision','[CollaborationSessionService]:\x20socket\x20error','/allowed','not_collab','_lockTransition','LIVESHARE_REQUEST_HOST','enableOfflineEditing','unit-cache-','saveImage','_doProcessBlock','encrypt','list','_onFetchMissResult','{fileID}','_tryReconnect','workbook','__esModule','_fetchMissChangesets','_resendWithTimeout','_networkConditionService','getSnapshotAPIPath','origin','_toggleOnline','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_onOffline','getValue','&source=','_timeoutTimer','CHANGESET_ACK','getUnit','failed\x20to\x20apply\x20missed\x20changesets!','deepClone','APPLY_NON_SEQUENTIAL_REVISION','add','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_clearRetryConnectingTimer','CHANGESET_SHOULD_RETRY','_doFinalize','NOT_FOUND','allowed','downloadEndpointUrl','m2Prime','EvpKDF','_updateState','charAt','UPDATE_PERMISSION_OBJ','create','_clearCollaborationTimeoutTimer','onTransformSelections','loadSheet','SYNCED','delete','lib','complete','startTime','[OfflineState]:\x20received\x20acknowledgement.','catch','_changesetSessionId','substr','USERS_LEAVE','keySize','body','Could\x20not\x20dynamically\x20require\x20\x22','unpad','getUnitOnRev','getUnitType','_key','_process','OPTIONAL','_getUndoStack','push','HmacMD5','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_doCryptBlock','onlyLocal','UNKNOWN_CODE','encode','_append','error$','cfg','_clearLocalCache','fetchThroughInterceptors','_clearScheduledTask','textRanges','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','state','putCollaborators','type','ivSize','_localeService','_joinRoom','JOIN','[CollaborationSession]','src','\x20to\x20','HEARTBEAT','_map','APPLY_DUPLICATED','post','put','_onConflict','createInstance','_initCloseConn','setShowComponents','_members','SOCKET_FAILED_RETRY','asObservable','target','INVALID_INVITE_CODE','copyFileMeta','DEFAULT_FILE_NAME','UNDEFINED','2098568ZbWbnr','fetching\x20missing\x20changesets\x20from\x20','method','objectType','__creator','_clearRedo','map','getLatestCsReqIdBySid','_candidateSocket','LICENSE_DISTRO_REJECTED','_waitCount','RECV','_onRemoteChangeset','clone','_transformRemoteChangesetByIMECache','unitId','routeKey','UNKNOWN_CMD','floor','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNIVER_COLLABORATION_CLIENT_PLUGIN','members$','LOGIN_FAILED','compute','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','ONLINE','reqId','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_roomCreated$','COMMENT_UPDATE','onTransformState','onMissingChangesets','_commandService','_data','_socket','getTypeOfUnitDisposed$','_init','HttpImport','univer-pro.collaboration-client.single-active-unit-service','RETRY_CONNECTING_MAX_COUNT','_roomMembers','_redoStacks','onRemoteAck','stopTime','BASE64','getSheetId','retryConnectingInterval','commentUpdateEvent','getResourcesRequest','transformChangesets','univer-pro.collaboration-client.network-condition.service','_xformMode','INGEST','file','_startTelemetryCollaborationNewChangeset','_exhaustRemoteChangesetQueue','_transformSelections','getDeserializedSheetBlock','submit\x20changeset\x20error!','_waitForHeartbeatResponse','_isPermissionRej','getImage','/universer-api/user/session-ticket','LICENSE_MAX_UNITS_EXCEEDED','_onConnectionOpen','_revisionService','dispose$','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_config','onTransformIME','onCommentUpdate','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_transformService','_createHandler','_undoStacks','getUnitId','authzUrl','_status$','status$','HEARTBEAT_INTERVAL','clamp','collabSubmitChangesetUrl','pauseCollaboration','APPLY_REVISION_CONFILICT','resourceIDs','entries','values','PERSON','_memberService','getRandomValues','onStarting','getCollabEntity','CBC','_decreaseWaiting','INVITE_CODE_ALREADY_BOUND','pluginName','has','_createInitialState','LIVESHARE_NEW_HOST','join','enableSingleActiveInstanceLock','_snapshotService','collaboration-client.config','baseRev','socket\x20close','/universer-api/oidc/authpage','status','_onConnectionFailed','_collaborationUIEventService','execute','awaiting_with_pending','_socketService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','forEach','session','_transformStateCache','updateSnapshot','override'];_0x4bda=function(){return _0x4305e5;};return _0x4bda();}function Ri(){var _0x42203a=_0x3647a5;return zt||(zt=0x1,function(_0x16a178,_0x2351fc){(function(_0x1e5dc7,_0x24c74e){var _0x54bfd0=_0x75e3;_0x16a178[_0x54bfd0(0x376)]=_0x24c74e(te());}(hn,function(_0x176872){var _0x48a10d=_0x75e3;return(function(){var _0x1a0368=_0x75e3,_0x49460b=_0x176872,_0x2e5fc1=_0x49460b[_0x1a0368(0xf7)],_0x1d5019=_0x2e5fc1['WordArray'],_0x14a64b=_0x49460b['enc'];_0x14a64b['Base64']={'stringify':function(_0x1b960c){var _0x384df7=_0x1a0368,_0x1a05a7=_0x1b960c[_0x384df7(0x24d)],_0x16699a=_0x1b960c[_0x384df7(0x8d)],_0x1bb435=this[_0x384df7(0x123)];_0x1b960c[_0x384df7(0x183)]();for(var _0x4b3081=[],_0x4598d4=0x0;_0x4598d4<_0x16699a;_0x4598d4+=0x3)for(var _0xb73b12=_0x1a05a7[_0x4598d4>>>0x2]>>>0x18-_0x4598d4%0x4*0x8&0xff,_0x28f052=_0x1a05a7[_0x4598d4+0x1>>>0x2]>>>0x18-(_0x4598d4+0x1)%0x4*0x8&0xff,_0x3ba50a=_0x1a05a7[_0x4598d4+0x2>>>0x2]>>>0x18-(_0x4598d4+0x2)%0x4*0x8&0xff,_0x5f13b8=_0xb73b12<<0x10|_0x28f052<<0x8|_0x3ba50a,_0x1170cf=0x0;_0x1170cf<0x4&&_0x4598d4+_0x1170cf*0.75<_0x16699a;_0x1170cf++)_0x4b3081[_0x384df7(0x109)](_0x1bb435[_0x384df7(0xef)](_0x5f13b8>>>0x6*(0x3-_0x1170cf)&0x3f));var _0x11b177=_0x1bb435[_0x384df7(0xef)](0x40);if(_0x11b177){for(;_0x4b3081[_0x384df7(0x30c)]%0x4;)_0x4b3081[_0x384df7(0x109)](_0x11b177);}return _0x4b3081[_0x384df7(0x196)]('');},'parse':function(_0x2db51f){var _0x35bfff=_0x1a0368,_0x11cf10=_0x2db51f['length'],_0x5e2ccb=this[_0x35bfff(0x123)],_0x22fd1b=this['_reverseMap'];if(!_0x22fd1b){_0x22fd1b=this[_0x35bfff(0x2ef)]=[];for(var _0x158238=0x0;_0x158238<_0x5e2ccb[_0x35bfff(0x30c)];_0x158238++)_0x22fd1b[_0x5e2ccb['charCodeAt'](_0x158238)]=_0x158238;}var _0x127784=_0x5e2ccb[_0x35bfff(0xef)](0x40);if(_0x127784){var _0x2edf5e=_0x2db51f[_0x35bfff(0x2f2)](_0x127784);_0x2edf5e!==-0x1&&(_0x11cf10=_0x2edf5e);}return _0x26b9ca(_0x2db51f,_0x11cf10,_0x22fd1b);},'_map':_0x1a0368(0x14b)};function _0x26b9ca(_0x1902f0,_0xf7c73e,_0x3f10dc){var _0xd39ebb=_0x1a0368;for(var _0x9505ca=[],_0x4a30ca=0x0,_0x564617=0x0;_0x564617<_0xf7c73e;_0x564617++)if(_0x564617%0x4){var _0x54576e=_0x3f10dc[_0x1902f0[_0xd39ebb(0x86)](_0x564617-0x1)]<<_0x564617%0x4*0x2,_0x101495=_0x3f10dc[_0x1902f0[_0xd39ebb(0x86)](_0x564617)]>>>0x6-_0x564617%0x4*0x2,_0x3b25a1=_0x54576e|_0x101495;_0x9505ca[_0x4a30ca>>>0x2]|=_0x3b25a1<<0x18-_0x4a30ca%0x4*0x8,_0x4a30ca++;}return _0x1d5019[_0xd39ebb(0xf1)](_0x9505ca,_0x4a30ca);}}()),_0x176872[_0x48a10d(0x1c0)][_0x48a10d(0x383)];}));}(Ge)),Ge[_0x42203a(0x376)];}var Ye={'exports':{}},_n=Ye[_0x3647a5(0x376)],Jt;function ln(){var _0x27fcd3=_0x3647a5;return Jt||(Jt=0x1,function(_0x4f9e5d,_0x591866){(function(_0x1dd1fe,_0x14d135){var _0x2970d1=_0x75e3;_0x4f9e5d[_0x2970d1(0x376)]=_0x14d135(te());}(_n,function(_0x264b8f){var _0x46a565=_0x75e3;return function(_0x3aab74){var _0xe70c56=_0x75e3,_0x11bcbd=_0x264b8f,_0x394219=_0x11bcbd['lib'],_0x4bebec=_0x394219['WordArray'],_0x8f48dc=_0x394219[_0xe70c56(0x2a2)],_0x27788c=_0x11bcbd[_0xe70c56(0x23c)],_0x3f6000=[];(function(){var _0x512277=_0xe70c56;for(var _0xc66b2d=0x0;_0xc66b2d<0x40;_0xc66b2d++)_0x3f6000[_0xc66b2d]=_0x3aab74['abs'](_0x3aab74[_0x512277(0x29d)](_0xc66b2d+0x1))*0x100000000|0x0;}());var _0x24c437=_0x27788c[_0xe70c56(0x313)]=_0x8f48dc[_0xe70c56(0x34c)]({'_doReset':function(){var _0x549d47=_0xe70c56;this[_0x549d47(0x296)]=new _0x4bebec['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5846e9,_0x1901a0){var _0x442527=_0xe70c56;for(var _0x26a7be=0x0;_0x26a7be<0x10;_0x26a7be++){var _0x1e0049=_0x1901a0+_0x26a7be,_0x54ee01=_0x5846e9[_0x1e0049];_0x5846e9[_0x1e0049]=(_0x54ee01<<0x8|_0x54ee01>>>0x18)&0xff00ff|(_0x54ee01<<0x18|_0x54ee01>>>0x8)&0xff00ff00;}var _0x7925=this[_0x442527(0x296)]['words'],_0x5f5a28=_0x5846e9[_0x1901a0+0x0],_0x1d44c4=_0x5846e9[_0x1901a0+0x1],_0x339e4c=_0x5846e9[_0x1901a0+0x2],_0x351eef=_0x5846e9[_0x1901a0+0x3],_0x3ca9fe=_0x5846e9[_0x1901a0+0x4],_0x20c602=_0x5846e9[_0x1901a0+0x5],_0x215953=_0x5846e9[_0x1901a0+0x6],_0x4427cb=_0x5846e9[_0x1901a0+0x7],_0x2f5ca7=_0x5846e9[_0x1901a0+0x8],_0x494ca5=_0x5846e9[_0x1901a0+0x9],_0x53d682=_0x5846e9[_0x1901a0+0xa],_0x1a1bd6=_0x5846e9[_0x1901a0+0xb],_0x1fbbd5=_0x5846e9[_0x1901a0+0xc],_0x35a3ef=_0x5846e9[_0x1901a0+0xd],_0x1fa59e=_0x5846e9[_0x1901a0+0xe],_0x2ced8d=_0x5846e9[_0x1901a0+0xf],_0xf38127=_0x7925[0x0],_0xa87514=_0x7925[0x1],_0x22b43d=_0x7925[0x2],_0x2cf049=_0x7925[0x3];_0xf38127=_0x111b34(_0xf38127,_0xa87514,_0x22b43d,_0x2cf049,_0x5f5a28,0x7,_0x3f6000[0x0]),_0x2cf049=_0x111b34(_0x2cf049,_0xf38127,_0xa87514,_0x22b43d,_0x1d44c4,0xc,_0x3f6000[0x1]),_0x22b43d=_0x111b34(_0x22b43d,_0x2cf049,_0xf38127,_0xa87514,_0x339e4c,0x11,_0x3f6000[0x2]),_0xa87514=_0x111b34(_0xa87514,_0x22b43d,_0x2cf049,_0xf38127,_0x351eef,0x16,_0x3f6000[0x3]),_0xf38127=_0x111b34(_0xf38127,_0xa87514,_0x22b43d,_0x2cf049,_0x3ca9fe,0x7,_0x3f6000[0x4]),_0x2cf049=_0x111b34(_0x2cf049,_0xf38127,_0xa87514,_0x22b43d,_0x20c602,0xc,_0x3f6000[0x5]),_0x22b43d=_0x111b34(_0x22b43d,_0x2cf049,_0xf38127,_0xa87514,_0x215953,0x11,_0x3f6000[0x6]),_0xa87514=_0x111b34(_0xa87514,_0x22b43d,_0x2cf049,_0xf38127,_0x4427cb,0x16,_0x3f6000[0x7]),_0xf38127=_0x111b34(_0xf38127,_0xa87514,_0x22b43d,_0x2cf049,_0x2f5ca7,0x7,_0x3f6000[0x8]),_0x2cf049=_0x111b34(_0x2cf049,_0xf38127,_0xa87514,_0x22b43d,_0x494ca5,0xc,_0x3f6000[0x9]),_0x22b43d=_0x111b34(_0x22b43d,_0x2cf049,_0xf38127,_0xa87514,_0x53d682,0x11,_0x3f6000[0xa]),_0xa87514=_0x111b34(_0xa87514,_0x22b43d,_0x2cf049,_0xf38127,_0x1a1bd6,0x16,_0x3f6000[0xb]),_0xf38127=_0x111b34(_0xf38127,_0xa87514,_0x22b43d,_0x2cf049,_0x1fbbd5,0x7,_0x3f6000[0xc]),_0x2cf049=_0x111b34(_0x2cf049,_0xf38127,_0xa87514,_0x22b43d,_0x35a3ef,0xc,_0x3f6000[0xd]),_0x22b43d=_0x111b34(_0x22b43d,_0x2cf049,_0xf38127,_0xa87514,_0x1fa59e,0x11,_0x3f6000[0xe]),_0xa87514=_0x111b34(_0xa87514,_0x22b43d,_0x2cf049,_0xf38127,_0x2ced8d,0x16,_0x3f6000[0xf]),_0xf38127=_0x242e99(_0xf38127,_0xa87514,_0x22b43d,_0x2cf049,_0x1d44c4,0x5,_0x3f6000[0x10]),_0x2cf049=_0x242e99(_0x2cf049,_0xf38127,_0xa87514,_0x22b43d,_0x215953,0x9,_0x3f6000[0x11]),_0x22b43d=_0x242e99(_0x22b43d,_0x2cf049,_0xf38127,_0xa87514,_0x1a1bd6,0xe,_0x3f6000[0x12]),_0xa87514=_0x242e99(_0xa87514,_0x22b43d,_0x2cf049,_0xf38127,_0x5f5a28,0x14,_0x3f6000[0x13]),_0xf38127=_0x242e99(_0xf38127,_0xa87514,_0x22b43d,_0x2cf049,_0x20c602,0x5,_0x3f6000[0x14]),_0x2cf049=_0x242e99(_0x2cf049,_0xf38127,_0xa87514,_0x22b43d,_0x53d682,0x9,_0x3f6000[0x15]),_0x22b43d=_0x242e99(_0x22b43d,_0x2cf049,_0xf38127,_0xa87514,_0x2ced8d,0xe,_0x3f6000[0x16]),_0xa87514=_0x242e99(_0xa87514,_0x22b43d,_0x2cf049,_0xf38127,_0x3ca9fe,0x14,_0x3f6000[0x17]),_0xf38127=_0x242e99(_0xf38127,_0xa87514,_0x22b43d,_0x2cf049,_0x494ca5,0x5,_0x3f6000[0x18]),_0x2cf049=_0x242e99(_0x2cf049,_0xf38127,_0xa87514,_0x22b43d,_0x1fa59e,0x9,_0x3f6000[0x19]),_0x22b43d=_0x242e99(_0x22b43d,_0x2cf049,_0xf38127,_0xa87514,_0x351eef,0xe,_0x3f6000[0x1a]),_0xa87514=_0x242e99(_0xa87514,_0x22b43d,_0x2cf049,_0xf38127,_0x2f5ca7,0x14,_0x3f6000[0x1b]),_0xf38127=_0x242e99(_0xf38127,_0xa87514,_0x22b43d,_0x2cf049,_0x35a3ef,0x5,_0x3f6000[0x1c]),_0x2cf049=_0x242e99(_0x2cf049,_0xf38127,_0xa87514,_0x22b43d,_0x339e4c,0x9,_0x3f6000[0x1d]),_0x22b43d=_0x242e99(_0x22b43d,_0x2cf049,_0xf38127,_0xa87514,_0x4427cb,0xe,_0x3f6000[0x1e]),_0xa87514=_0x242e99(_0xa87514,_0x22b43d,_0x2cf049,_0xf38127,_0x1fbbd5,0x14,_0x3f6000[0x1f]),_0xf38127=_0x16dfd6(_0xf38127,_0xa87514,_0x22b43d,_0x2cf049,_0x20c602,0x4,_0x3f6000[0x20]),_0x2cf049=_0x16dfd6(_0x2cf049,_0xf38127,_0xa87514,_0x22b43d,_0x2f5ca7,0xb,_0x3f6000[0x21]),_0x22b43d=_0x16dfd6(_0x22b43d,_0x2cf049,_0xf38127,_0xa87514,_0x1a1bd6,0x10,_0x3f6000[0x22]),_0xa87514=_0x16dfd6(_0xa87514,_0x22b43d,_0x2cf049,_0xf38127,_0x1fa59e,0x17,_0x3f6000[0x23]),_0xf38127=_0x16dfd6(_0xf38127,_0xa87514,_0x22b43d,_0x2cf049,_0x1d44c4,0x4,_0x3f6000[0x24]),_0x2cf049=_0x16dfd6(_0x2cf049,_0xf38127,_0xa87514,_0x22b43d,_0x3ca9fe,0xb,_0x3f6000[0x25]),_0x22b43d=_0x16dfd6(_0x22b43d,_0x2cf049,_0xf38127,_0xa87514,_0x4427cb,0x10,_0x3f6000[0x26]),_0xa87514=_0x16dfd6(_0xa87514,_0x22b43d,_0x2cf049,_0xf38127,_0x53d682,0x17,_0x3f6000[0x27]),_0xf38127=_0x16dfd6(_0xf38127,_0xa87514,_0x22b43d,_0x2cf049,_0x35a3ef,0x4,_0x3f6000[0x28]),_0x2cf049=_0x16dfd6(_0x2cf049,_0xf38127,_0xa87514,_0x22b43d,_0x5f5a28,0xb,_0x3f6000[0x29]),_0x22b43d=_0x16dfd6(_0x22b43d,_0x2cf049,_0xf38127,_0xa87514,_0x351eef,0x10,_0x3f6000[0x2a]),_0xa87514=_0x16dfd6(_0xa87514,_0x22b43d,_0x2cf049,_0xf38127,_0x215953,0x17,_0x3f6000[0x2b]),_0xf38127=_0x16dfd6(_0xf38127,_0xa87514,_0x22b43d,_0x2cf049,_0x494ca5,0x4,_0x3f6000[0x2c]),_0x2cf049=_0x16dfd6(_0x2cf049,_0xf38127,_0xa87514,_0x22b43d,_0x1fbbd5,0xb,_0x3f6000[0x2d]),_0x22b43d=_0x16dfd6(_0x22b43d,_0x2cf049,_0xf38127,_0xa87514,_0x2ced8d,0x10,_0x3f6000[0x2e]),_0xa87514=_0x16dfd6(_0xa87514,_0x22b43d,_0x2cf049,_0xf38127,_0x339e4c,0x17,_0x3f6000[0x2f]),_0xf38127=_0x403b2b(_0xf38127,_0xa87514,_0x22b43d,_0x2cf049,_0x5f5a28,0x6,_0x3f6000[0x30]),_0x2cf049=_0x403b2b(_0x2cf049,_0xf38127,_0xa87514,_0x22b43d,_0x4427cb,0xa,_0x3f6000[0x31]),_0x22b43d=_0x403b2b(_0x22b43d,_0x2cf049,_0xf38127,_0xa87514,_0x1fa59e,0xf,_0x3f6000[0x32]),_0xa87514=_0x403b2b(_0xa87514,_0x22b43d,_0x2cf049,_0xf38127,_0x20c602,0x15,_0x3f6000[0x33]),_0xf38127=_0x403b2b(_0xf38127,_0xa87514,_0x22b43d,_0x2cf049,_0x1fbbd5,0x6,_0x3f6000[0x34]),_0x2cf049=_0x403b2b(_0x2cf049,_0xf38127,_0xa87514,_0x22b43d,_0x351eef,0xa,_0x3f6000[0x35]),_0x22b43d=_0x403b2b(_0x22b43d,_0x2cf049,_0xf38127,_0xa87514,_0x53d682,0xf,_0x3f6000[0x36]),_0xa87514=_0x403b2b(_0xa87514,_0x22b43d,_0x2cf049,_0xf38127,_0x1d44c4,0x15,_0x3f6000[0x37]),_0xf38127=_0x403b2b(_0xf38127,_0xa87514,_0x22b43d,_0x2cf049,_0x2f5ca7,0x6,_0x3f6000[0x38]),_0x2cf049=_0x403b2b(_0x2cf049,_0xf38127,_0xa87514,_0x22b43d,_0x2ced8d,0xa,_0x3f6000[0x39]),_0x22b43d=_0x403b2b(_0x22b43d,_0x2cf049,_0xf38127,_0xa87514,_0x215953,0xf,_0x3f6000[0x3a]),_0xa87514=_0x403b2b(_0xa87514,_0x22b43d,_0x2cf049,_0xf38127,_0x35a3ef,0x15,_0x3f6000[0x3b]),_0xf38127=_0x403b2b(_0xf38127,_0xa87514,_0x22b43d,_0x2cf049,_0x3ca9fe,0x6,_0x3f6000[0x3c]),_0x2cf049=_0x403b2b(_0x2cf049,_0xf38127,_0xa87514,_0x22b43d,_0x1a1bd6,0xa,_0x3f6000[0x3d]),_0x22b43d=_0x403b2b(_0x22b43d,_0x2cf049,_0xf38127,_0xa87514,_0x339e4c,0xf,_0x3f6000[0x3e]),_0xa87514=_0x403b2b(_0xa87514,_0x22b43d,_0x2cf049,_0xf38127,_0x494ca5,0x15,_0x3f6000[0x3f]),_0x7925[0x0]=_0x7925[0x0]+_0xf38127|0x0,_0x7925[0x1]=_0x7925[0x1]+_0xa87514|0x0,_0x7925[0x2]=_0x7925[0x2]+_0x22b43d|0x0,_0x7925[0x3]=_0x7925[0x3]+_0x2cf049|0x0;},'_doFinalize':function(){var _0x2ff2ac=_0xe70c56,_0x9538a8=this[_0x2ff2ac(0x154)],_0x723942=_0x9538a8[_0x2ff2ac(0x24d)],_0x188624=this[_0x2ff2ac(0x282)]*0x8,_0x5a0d31=_0x9538a8[_0x2ff2ac(0x8d)]*0x8;_0x723942[_0x5a0d31>>>0x5]|=0x80<<0x18-_0x5a0d31%0x20;var _0x2316f9=_0x3aab74[_0x2ff2ac(0x145)](_0x188624/0x100000000),_0x33a22a=_0x188624;_0x723942[(_0x5a0d31+0x40>>>0x9<<0x4)+0xf]=(_0x2316f9<<0x8|_0x2316f9>>>0x18)&0xff00ff|(_0x2316f9<<0x18|_0x2316f9>>>0x8)&0xff00ff00,_0x723942[(_0x5a0d31+0x40>>>0x9<<0x4)+0xe]=(_0x33a22a<<0x8|_0x33a22a>>>0x18)&0xff00ff|(_0x33a22a<<0x18|_0x33a22a>>>0x8)&0xff00ff00,_0x9538a8['sigBytes']=(_0x723942[_0x2ff2ac(0x30c)]+0x1)*0x4,this[_0x2ff2ac(0x106)]();for(var _0x5038bf=this[_0x2ff2ac(0x296)],_0x192344=_0x5038bf['words'],_0x4230ea=0x0;_0x4230ea<0x4;_0x4230ea++){var _0x5e9e7=_0x192344[_0x4230ea];_0x192344[_0x4230ea]=(_0x5e9e7<<0x8|_0x5e9e7>>>0x18)&0xff00ff|(_0x5e9e7<<0x18|_0x5e9e7>>>0x8)&0xff00ff00;}return _0x5038bf;},'clone':function(){var _0x4543e8=_0xe70c56,_0x21ece1=_0x8f48dc[_0x4543e8(0x140)]['call'](this);return _0x21ece1[_0x4543e8(0x296)]=this[_0x4543e8(0x296)][_0x4543e8(0x140)](),_0x21ece1;}});function _0x111b34(_0x327e16,_0x1e7d10,_0x1ef924,_0x24c5a4,_0x2cf1ed,_0x2a048e,_0x537017){var _0x43ca17=_0x327e16+(_0x1e7d10&_0x1ef924|~_0x1e7d10&_0x24c5a4)+_0x2cf1ed+_0x537017;return(_0x43ca17<<_0x2a048e|_0x43ca17>>>0x20-_0x2a048e)+_0x1e7d10;}function _0x242e99(_0x1fb49e,_0x4baab4,_0x16e0a6,_0x328fd1,_0x5e20ee,_0x1de56d,_0x154665){var _0x27e464=_0x1fb49e+(_0x4baab4&_0x328fd1|_0x16e0a6&~_0x328fd1)+_0x5e20ee+_0x154665;return(_0x27e464<<_0x1de56d|_0x27e464>>>0x20-_0x1de56d)+_0x4baab4;}function _0x16dfd6(_0x257aac,_0x588b9b,_0xd89bcb,_0x128a1b,_0x593f82,_0x4f67ba,_0x2f29f0){var _0x20e08b=_0x257aac+(_0x588b9b^_0xd89bcb^_0x128a1b)+_0x593f82+_0x2f29f0;return(_0x20e08b<<_0x4f67ba|_0x20e08b>>>0x20-_0x4f67ba)+_0x588b9b;}function _0x403b2b(_0x59a96f,_0x15aa11,_0x4b6dd7,_0x12b213,_0x1717bc,_0x4f8431,_0x3a771c){var _0xb14580=_0x59a96f+(_0x4b6dd7^(_0x15aa11|~_0x12b213))+_0x1717bc+_0x3a771c;return(_0xb14580<<_0x4f8431|_0xb14580>>>0x20-_0x4f8431)+_0x15aa11;}_0x11bcbd[_0xe70c56(0x313)]=_0x8f48dc[_0xe70c56(0x31e)](_0x24c437),_0x11bcbd[_0xe70c56(0x10a)]=_0x8f48dc['_createHmacHelper'](_0x24c437);}(Math),_0x264b8f[_0x46a565(0x313)];}));}(Ye)),Ye[_0x27fcd3(0x376)];}function _0x75e3(_0x16270d,_0x2883f9){var _0x4bda0f=_0x4bda();return _0x75e3=function(_0x75e3c8,_0x256ba){_0x75e3c8=_0x75e3c8-0x6c;var _0x4924d7=_0x4bda0f[_0x75e3c8];return _0x4924d7;},_0x75e3(_0x16270d,_0x2883f9);}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x3647a5(0x376)],Xt;function dn(){return Xt||(Xt=0x1,function(_0x1e6d90,_0x284eeb){(function(_0x2a865c,_0x3e11b5){var _0xcde2cf=_0x75e3;_0x1e6d90[_0xcde2cf(0x376)]=_0x3e11b5(te());}(un,function(_0x4dcd12){return(function(){var _0x25ad0a=_0x75e3,_0x358248=_0x4dcd12,_0x45618c=_0x358248[_0x25ad0a(0xf7)],_0x4dfa1f=_0x45618c[_0x25ad0a(0x1e6)],_0x387860=_0x45618c[_0x25ad0a(0x2a2)],_0x58b165=_0x358248[_0x25ad0a(0x23c)],_0x5da3b2=[],_0x35d1af=_0x58b165[_0x25ad0a(0x381)]=_0x387860['extend']({'_doReset':function(){var _0x19c019=_0x25ad0a;this[_0x19c019(0x296)]=new _0x4dfa1f[(_0x19c019(0x1d8))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x302087,_0x47b7de){var _0x14727d=_0x25ad0a;for(var _0x224512=this[_0x14727d(0x296)]['words'],_0x509a63=_0x224512[0x0],_0x3467cb=_0x224512[0x1],_0x43b3e1=_0x224512[0x2],_0x252114=_0x224512[0x3],_0x35cd70=_0x224512[0x4],_0xde77e8=0x0;_0xde77e8<0x50;_0xde77e8++){if(_0xde77e8<0x10)_0x5da3b2[_0xde77e8]=_0x302087[_0x47b7de+_0xde77e8]|0x0;else{var _0x4cbe29=_0x5da3b2[_0xde77e8-0x3]^_0x5da3b2[_0xde77e8-0x8]^_0x5da3b2[_0xde77e8-0xe]^_0x5da3b2[_0xde77e8-0x10];_0x5da3b2[_0xde77e8]=_0x4cbe29<<0x1|_0x4cbe29>>>0x1f;}var _0x31ce94=(_0x509a63<<0x5|_0x509a63>>>0x1b)+_0x35cd70+_0x5da3b2[_0xde77e8];_0xde77e8<0x14?_0x31ce94+=(_0x3467cb&_0x43b3e1|~_0x3467cb&_0x252114)+0x5a827999:_0xde77e8<0x28?_0x31ce94+=(_0x3467cb^_0x43b3e1^_0x252114)+0x6ed9eba1:_0xde77e8<0x3c?_0x31ce94+=(_0x3467cb&_0x43b3e1|_0x3467cb&_0x252114|_0x43b3e1&_0x252114)-0x70e44324:_0x31ce94+=(_0x3467cb^_0x43b3e1^_0x252114)-0x359d3e2a,_0x35cd70=_0x252114,_0x252114=_0x43b3e1,_0x43b3e1=_0x3467cb<<0x1e|_0x3467cb>>>0x2,_0x3467cb=_0x509a63,_0x509a63=_0x31ce94;}_0x224512[0x0]=_0x224512[0x0]+_0x509a63|0x0,_0x224512[0x1]=_0x224512[0x1]+_0x3467cb|0x0,_0x224512[0x2]=_0x224512[0x2]+_0x43b3e1|0x0,_0x224512[0x3]=_0x224512[0x3]+_0x252114|0x0,_0x224512[0x4]=_0x224512[0x4]+_0x35cd70|0x0;},'_doFinalize':function(){var _0x2ea3b2=_0x25ad0a,_0x577224=this[_0x2ea3b2(0x154)],_0x2e7a9b=_0x577224[_0x2ea3b2(0x24d)],_0x172a22=this[_0x2ea3b2(0x282)]*0x8,_0x11cb63=_0x577224[_0x2ea3b2(0x8d)]*0x8;return _0x2e7a9b[_0x11cb63>>>0x5]|=0x80<<0x18-_0x11cb63%0x20,_0x2e7a9b[(_0x11cb63+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x172a22/0x100000000),_0x2e7a9b[(_0x11cb63+0x40>>>0x9<<0x4)+0xf]=_0x172a22,_0x577224[_0x2ea3b2(0x8d)]=_0x2e7a9b[_0x2ea3b2(0x30c)]*0x4,this[_0x2ea3b2(0x106)](),this[_0x2ea3b2(0x296)];},'clone':function(){var _0x2205c5=_0x25ad0a,_0x5d301d=_0x387860[_0x2205c5(0x140)][_0x2205c5(0x1c6)](this);return _0x5d301d[_0x2205c5(0x296)]=this['_hash'][_0x2205c5(0x140)](),_0x5d301d;}});_0x358248[_0x25ad0a(0x381)]=_0x387860[_0x25ad0a(0x31e)](_0x35d1af),_0x358248['HmacSHA1']=_0x387860[_0x25ad0a(0x1b3)](_0x35d1af);}()),_0x4dcd12['SHA1'];}));}(qe)),qe['exports'];}var ze={'exports':{}},fn=ze[_0x3647a5(0x376)],Zt;function vn(){return Zt||(Zt=0x1,function(_0x89aea2,_0x378081){(function(_0x2409cf,_0x4abce2){var _0x26c3fb=_0x75e3;_0x89aea2[_0x26c3fb(0x376)]=_0x4abce2(te());}(fn,function(_0x3825e3){(function(){var _0x2bf76a=_0x75e3,_0x2ced68=_0x3825e3,_0x2b9015=_0x2ced68[_0x2bf76a(0xf7)],_0x3ccada=_0x2b9015[_0x2bf76a(0xaa)],_0x544de3=_0x2ced68[_0x2bf76a(0x1c0)],_0x229f71=_0x544de3[_0x2bf76a(0x224)],_0x192d99=_0x2ced68[_0x2bf76a(0x23c)];_0x192d99[_0x2bf76a(0x264)]=_0x3ccada['extend']({'init':function(_0x33d707,_0x47f42e){var _0x454e39=_0x2bf76a;_0x33d707=this[_0x454e39(0xbc)]=new _0x33d707[(_0x454e39(0x1d8))](),typeof _0x47f42e==_0x454e39(0x209)&&(_0x47f42e=_0x229f71['parse'](_0x47f42e));var _0x1116d8=_0x33d707['blockSize'],_0x242689=_0x1116d8*0x4;_0x47f42e[_0x454e39(0x8d)]>_0x242689&&(_0x47f42e=_0x33d707[_0x454e39(0x2f7)](_0x47f42e)),_0x47f42e[_0x454e39(0x183)]();for(var _0x36b235=this[_0x454e39(0x1d5)]=_0x47f42e[_0x454e39(0x140)](),_0x4930d5=this['_iKey']=_0x47f42e[_0x454e39(0x140)](),_0x53bae9=_0x36b235[_0x454e39(0x24d)],_0x366c9f=_0x4930d5[_0x454e39(0x24d)],_0xf63033=0x0;_0xf63033<_0x1116d8;_0xf63033++)_0x53bae9[_0xf63033]^=0x5c5c5c5c,_0x366c9f[_0xf63033]^=0x36363636;_0x36b235[_0x454e39(0x8d)]=_0x4930d5[_0x454e39(0x8d)]=_0x242689,this[_0x454e39(0x2b4)]();},'reset':function(){var _0x487945=_0x2bf76a,_0x256df4=this['_hasher'];_0x256df4['reset'](),_0x256df4['update'](this[_0x487945(0x342)]);},'update':function(_0x56923f){return this['_hasher']['update'](_0x56923f),this;},'finalize':function(_0x381f0b){var _0x11b63f=_0x2bf76a,_0x2755bf=this[_0x11b63f(0xbc)],_0x577720=_0x2755bf[_0x11b63f(0x2f7)](_0x381f0b);_0x2755bf[_0x11b63f(0x2b4)]();var _0xdc2ca7=_0x2755bf[_0x11b63f(0x2f7)](this[_0x11b63f(0x1d5)][_0x11b63f(0x140)]()[_0x11b63f(0x316)](_0x577720));return _0xdc2ca7;}});}());}));}(ze)),ze['exports'];}var pn=Ke[_0x3647a5(0x376)],Qt;function Oi(){return Qt||(Qt=0x1,function(_0xd101cb,_0x4a3c9f){(function(_0x8ea5f,_0x59c642,_0x355945){var _0x24b3fc=_0x75e3;_0xd101cb[_0x24b3fc(0x376)]=_0x59c642(te(),dn(),vn());}(pn,function(_0x2beccd){var _0x573788=_0x75e3;return(function(){var _0x38defd=_0x75e3,_0x151f58=_0x2beccd,_0x4a3b65=_0x151f58[_0x38defd(0xf7)],_0x40b534=_0x4a3b65[_0x38defd(0xaa)],_0x27ace0=_0x4a3b65[_0x38defd(0x1e6)],_0x1af88c=_0x151f58[_0x38defd(0x23c)],_0xbf7563=_0x1af88c[_0x38defd(0x313)],_0x22b73b=_0x1af88c[_0x38defd(0xed)]=_0x40b534[_0x38defd(0x34c)]({'cfg':_0x40b534[_0x38defd(0x34c)]({'keySize':0x80/0x20,'hasher':_0xbf7563,'iterations':0x1}),'init':function(_0x262bd2){var _0x30434b=_0x38defd;this[_0x30434b(0x112)]=this[_0x30434b(0x112)][_0x30434b(0x34c)](_0x262bd2);},'compute':function(_0x1ac2bd,_0x703acf){var _0x3541cb=_0x38defd;for(var _0x1548cf,_0xa9dcc1=this[_0x3541cb(0x112)],_0x2481ff=_0xa9dcc1[_0x3541cb(0x239)][_0x3541cb(0xf1)](),_0x1f1927=_0x27ace0[_0x3541cb(0xf1)](),_0x19df7d=_0x1f1927[_0x3541cb(0x24d)],_0x4f4f98=_0xa9dcc1[_0x3541cb(0xff)],_0x349380=_0xa9dcc1[_0x3541cb(0xb8)];_0x19df7d[_0x3541cb(0x30c)]<_0x4f4f98;){_0x1548cf&&_0x2481ff[_0x3541cb(0x218)](_0x1548cf),_0x1548cf=_0x2481ff[_0x3541cb(0x218)](_0x1ac2bd)[_0x3541cb(0x2f7)](_0x703acf),_0x2481ff[_0x3541cb(0x2b4)]();for(var _0x540433=0x1;_0x540433<_0x349380;_0x540433++)_0x1548cf=_0x2481ff[_0x3541cb(0x2f7)](_0x1548cf),_0x2481ff[_0x3541cb(0x2b4)]();_0x1f1927['concat'](_0x1548cf);}return _0x1f1927[_0x3541cb(0x8d)]=_0x4f4f98*0x4,_0x1f1927;}});_0x151f58[_0x38defd(0xed)]=function(_0x1c7976,_0x32433e,_0x573bab){var _0xc85c8=_0x38defd;return _0x22b73b['create'](_0x573bab)[_0xc85c8(0x14a)](_0x1c7976,_0x32433e);};}()),_0x2beccd[_0x573788(0xed)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},mn=Je[_0x3647a5(0x376)],ei;function bi(){var _0x12e52d=_0x3647a5;return ei||(ei=0x1,function(_0x5716de,_0x12d7ca){(function(_0x484010,_0x5bd666,_0x44a0cc){var _0x43ca9a=_0x75e3;_0x5716de[_0x43ca9a(0x376)]=_0x5bd666(te(),Oi());}(mn,function(_0x2c5d56){var _0x564ba4=_0x75e3;_0x2c5d56[_0x564ba4(0xf7)]['Cipher']||function(_0xcaa1cc){var _0x48209c=_0x564ba4,_0x4e193e=_0x2c5d56,_0x40549f=_0x4e193e[_0x48209c(0xf7)],_0x179986=_0x40549f[_0x48209c(0xaa)],_0xd6e01d=_0x40549f[_0x48209c(0x1e6)],_0x2789a0=_0x40549f['BufferedBlockAlgorithm'],_0x376a14=_0x4e193e[_0x48209c(0x1c0)];_0x376a14[_0x48209c(0x224)];var _0x210e06=_0x376a14[_0x48209c(0x383)],_0x4a2f9a=_0x4e193e['algo'],_0x3e872d=_0x4a2f9a[_0x48209c(0xed)],_0x15f879=_0x40549f[_0x48209c(0x90)]=_0x2789a0[_0x48209c(0x34c)]({'cfg':_0x179986[_0x48209c(0x34c)](),'createEncryptor':function(_0x1887c4,_0x179bff){var _0x2faa74=_0x48209c;return this[_0x2faa74(0xf1)](this['_ENC_XFORM_MODE'],_0x1887c4,_0x179bff);},'createDecryptor':function(_0x4e601e,_0x31dbc5){var _0x18441e=_0x48209c;return this[_0x18441e(0xf1)](this[_0x18441e(0x293)],_0x4e601e,_0x31dbc5);},'init':function(_0x352e4d,_0xda241,_0x4ffad9){var _0x9756df=_0x48209c;this[_0x9756df(0x112)]=this['cfg']['extend'](_0x4ffad9),this[_0x9756df(0x166)]=_0x352e4d,this[_0x9756df(0x105)]=_0xda241,this['reset']();},'reset':function(){var _0x5bbe08=_0x48209c;_0x2789a0[_0x5bbe08(0x2b4)][_0x5bbe08(0x1c6)](this),this['_doReset']();},'process':function(_0x554450){return this['_append'](_0x554450),this['_process']();},'finalize':function(_0x2bafeb){var _0x38a98f=_0x48209c;_0x2bafeb&&this[_0x38a98f(0x110)](_0x2bafeb);var _0x129fbf=this['_doFinalize']();return _0x129fbf;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3783f8(_0x59d99d){return typeof _0x59d99d=='string'?_0x381ecf:_0x48e833;}return function(_0x48ba08){return{'encrypt':function(_0x3817a7,_0x15788e,_0x52f5a1){return _0x3783f8(_0x15788e)['encrypt'](_0x48ba08,_0x3817a7,_0x15788e,_0x52f5a1);},'decrypt':function(_0x1b2c38,_0x4cff1e,_0x54ff18){return _0x3783f8(_0x4cff1e)['decrypt'](_0x48ba08,_0x1b2c38,_0x4cff1e,_0x54ff18);}};};}())});_0x40549f[_0x48209c(0x205)]=_0x15f879[_0x48209c(0x34c)]({'_doFinalize':function(){var _0x2b84cb=_0x48209c,_0x400dfd=this[_0x2b84cb(0x106)](!0x0);return _0x400dfd;},'blockSize':0x1});var _0x481533=_0x4e193e[_0x48209c(0xbb)]={},_0x1c40bf=_0x40549f[_0x48209c(0x1ca)]=_0x179986['extend']({'createEncryptor':function(_0x37c0f0,_0x37d65c){var _0x419dc7=_0x48209c;return this[_0x419dc7(0x362)][_0x419dc7(0xf1)](_0x37c0f0,_0x37d65c);},'createDecryptor':function(_0x313e15,_0x3b5cbe){var _0x1c266e=_0x48209c;return this[_0x1c266e(0x20c)][_0x1c266e(0xf1)](_0x313e15,_0x3b5cbe);},'init':function(_0x3c02e9,_0x1c8911){var _0x26f355=_0x48209c;this['_cipher']=_0x3c02e9,this[_0x26f355(0x292)]=_0x1c8911;}}),_0x4ff658=_0x481533[_0x48209c(0x18f)]=(function(){var _0x5dc963=_0x48209c,_0x1cc61e=_0x1c40bf[_0x5dc963(0x34c)]();_0x1cc61e[_0x5dc963(0x362)]=_0x1cc61e['extend']({'processBlock':function(_0x509392,_0x289c5a){var _0x47c7c6=_0x5dc963,_0x5b9bae=this[_0x47c7c6(0x23e)],_0x494e2d=_0x5b9bae[_0x47c7c6(0x321)];_0x580c77['call'](this,_0x509392,_0x289c5a,_0x494e2d),_0x5b9bae[_0x47c7c6(0xa2)](_0x509392,_0x289c5a),this[_0x47c7c6(0x33c)]=_0x509392['slice'](_0x289c5a,_0x289c5a+_0x494e2d);}}),_0x1cc61e[_0x5dc963(0x20c)]=_0x1cc61e[_0x5dc963(0x34c)]({'processBlock':function(_0x3d6d28,_0x440e80){var _0x1026eb=_0x5dc963,_0x24847d=this[_0x1026eb(0x23e)],_0xd7ceb0=_0x24847d[_0x1026eb(0x321)],_0x8cd93e=_0x3d6d28[_0x1026eb(0x374)](_0x440e80,_0x440e80+_0xd7ceb0);_0x24847d['decryptBlock'](_0x3d6d28,_0x440e80),_0x580c77[_0x1026eb(0x1c6)](this,_0x3d6d28,_0x440e80,_0xd7ceb0),this[_0x1026eb(0x33c)]=_0x8cd93e;}});function _0x580c77(_0x3c833e,_0x2a7c35,_0x405723){var _0x5b99c6=_0x5dc963,_0x3e54ca,_0x18f389=this['_iv'];_0x18f389?(_0x3e54ca=_0x18f389,this['_iv']=_0xcaa1cc):_0x3e54ca=this[_0x5b99c6(0x33c)];for(var _0x1d34b3=0x0;_0x1d34b3<_0x405723;_0x1d34b3++)_0x3c833e[_0x2a7c35+_0x1d34b3]^=_0x3e54ca[_0x1d34b3];}return _0x1cc61e;}()),_0x6166ee=_0x4e193e[_0x48209c(0x1da)]={},_0x1db06c=_0x6166ee[_0x48209c(0x2d1)]={'pad':function(_0x2904d8,_0x200b1d){var _0x2de350=_0x48209c;for(var _0x25bc62=_0x200b1d*0x4,_0x37bdaa=_0x25bc62-_0x2904d8[_0x2de350(0x8d)]%_0x25bc62,_0x355006=_0x37bdaa<<0x18|_0x37bdaa<<0x10|_0x37bdaa<<0x8|_0x37bdaa,_0x4c2ac7=[],_0x2a9781=0x0;_0x2a9781<_0x37bdaa;_0x2a9781+=0x4)_0x4c2ac7['push'](_0x355006);var _0x54f163=_0xd6e01d[_0x2de350(0xf1)](_0x4c2ac7,_0x37bdaa);_0x2904d8[_0x2de350(0x316)](_0x54f163);},'unpad':function(_0x18f91a){var _0x455871=_0x48209c,_0x16d5be=_0x18f91a[_0x455871(0x24d)][_0x18f91a[_0x455871(0x8d)]-0x1>>>0x2]&0xff;_0x18f91a['sigBytes']-=_0x16d5be;}};_0x40549f[_0x48209c(0x1e0)]=_0x15f879['extend']({'cfg':_0x15f879[_0x48209c(0x112)][_0x48209c(0x34c)]({'mode':_0x4ff658,'padding':_0x1db06c}),'reset':function(){var _0x4ae87b=_0x48209c,_0x43d121;_0x15f879[_0x4ae87b(0x2b4)][_0x4ae87b(0x1c6)](this);var _0x40e48d=this['cfg'],_0x283979=_0x40e48d['iv'],_0x2ffc40=_0x40e48d[_0x4ae87b(0xbb)];this[_0x4ae87b(0x166)]==this['_ENC_XFORM_MODE']?_0x43d121=_0x2ffc40[_0x4ae87b(0x32e)]:(_0x43d121=_0x2ffc40[_0x4ae87b(0x291)],this[_0x4ae87b(0x21d)]=0x1),this['_mode']&&this[_0x4ae87b(0x8f)][_0x4ae87b(0x137)]==_0x43d121?this[_0x4ae87b(0x8f)][_0x4ae87b(0x1d8)](this,_0x283979&&_0x283979[_0x4ae87b(0x24d)]):(this[_0x4ae87b(0x8f)]=_0x43d121['call'](_0x2ffc40,this,_0x283979&&_0x283979[_0x4ae87b(0x24d)]),this[_0x4ae87b(0x8f)]['__creator']=_0x43d121);},'_doProcessBlock':function(_0x1fede2,_0x198907){var _0x53a6e0=_0x48209c;this[_0x53a6e0(0x8f)][_0x53a6e0(0x73)](_0x1fede2,_0x198907);},'_doFinalize':function(){var _0x403c1c=_0x48209c,_0x14d6c0,_0x223569=this[_0x403c1c(0x112)][_0x403c1c(0x297)];return this[_0x403c1c(0x166)]==this[_0x403c1c(0x2a4)]?(_0x223569[_0x403c1c(0x1da)](this[_0x403c1c(0x154)],this['blockSize']),_0x14d6c0=this[_0x403c1c(0x106)](!0x0)):(_0x14d6c0=this[_0x403c1c(0x106)](!0x0),_0x223569[_0x403c1c(0x102)](_0x14d6c0)),_0x14d6c0;},'blockSize':0x80/0x20});var _0x13019c=_0x40549f[_0x48209c(0x248)]=_0x179986[_0x48209c(0x34c)]({'init':function(_0x5d20c8){var _0x571c0d=_0x48209c;this[_0x571c0d(0x221)](_0x5d20c8);},'toString':function(_0x23481d){var _0x3ca560=_0x48209c;return(_0x23481d||this[_0x3ca560(0x20b)])[_0x3ca560(0x24c)](this);}}),_0x30fad3=_0x4e193e[_0x48209c(0x210)]={},_0x1befab=_0x30fad3[_0x48209c(0x299)]={'stringify':function(_0x1b458a){var _0xb46e93=_0x48209c,_0x24e4fd,_0x240e37=_0x1b458a[_0xb46e93(0x356)],_0x4cc020=_0x1b458a[_0xb46e93(0x1d3)];return _0x4cc020?_0x24e4fd=_0xd6e01d[_0xb46e93(0xf1)]([0x53616c74,0x65645f5f])[_0xb46e93(0x316)](_0x4cc020)[_0xb46e93(0x316)](_0x240e37):_0x24e4fd=_0x240e37,_0x24e4fd[_0xb46e93(0x2fb)](_0x210e06);},'parse':function(_0x16fd34){var _0x501c66=_0x48209c,_0x1112a0,_0x2d1a5b=_0x210e06[_0x501c66(0x20e)](_0x16fd34),_0x5aa39a=_0x2d1a5b[_0x501c66(0x24d)];return _0x5aa39a[0x0]==0x53616c74&&_0x5aa39a[0x1]==0x65645f5f&&(_0x1112a0=_0xd6e01d[_0x501c66(0xf1)](_0x5aa39a['slice'](0x2,0x4)),_0x5aa39a[_0x501c66(0x213)](0x0,0x4),_0x2d1a5b[_0x501c66(0x8d)]-=0x10),_0x13019c[_0x501c66(0xf1)]({'ciphertext':_0x2d1a5b,'salt':_0x1112a0});}},_0x48e833=_0x40549f[_0x48209c(0x8e)]=_0x179986[_0x48209c(0x34c)]({'cfg':_0x179986[_0x48209c(0x34c)]({'format':_0x1befab}),'encrypt':function(_0x230846,_0x447e68,_0x2c80c3,_0x580e24){var _0x3610b0=_0x48209c;_0x580e24=this[_0x3610b0(0x112)]['extend'](_0x580e24);var _0x3828fc=_0x230846['createEncryptor'](_0x2c80c3,_0x580e24),_0x18bafe=_0x3828fc[_0x3610b0(0x2f7)](_0x447e68),_0x1ea914=_0x3828fc[_0x3610b0(0x112)];return _0x13019c[_0x3610b0(0xf1)]({'ciphertext':_0x18bafe,'key':_0x2c80c3,'iv':_0x1ea914['iv'],'algorithm':_0x230846,'mode':_0x1ea914[_0x3610b0(0xbb)],'padding':_0x1ea914[_0x3610b0(0x297)],'blockSize':_0x230846[_0x3610b0(0x321)],'formatter':_0x580e24[_0x3610b0(0x210)]});},'decrypt':function(_0x4f1024,_0x28d82a,_0x2db92d,_0x12836b){var _0x5c7294=_0x48209c;_0x12836b=this[_0x5c7294(0x112)][_0x5c7294(0x34c)](_0x12836b),_0x28d82a=this[_0x5c7294(0x37f)](_0x28d82a,_0x12836b[_0x5c7294(0x210)]);var _0x523e69=_0x4f1024[_0x5c7294(0x291)](_0x2db92d,_0x12836b)[_0x5c7294(0x2f7)](_0x28d82a[_0x5c7294(0x356)]);return _0x523e69;},'_parse':function(_0x78b1f3,_0x454ab3){var _0x2507b5=_0x48209c;return typeof _0x78b1f3==_0x2507b5(0x209)?_0x454ab3[_0x2507b5(0x20e)](_0x78b1f3,this):_0x78b1f3;}}),_0xdc558f=_0x4e193e['kdf']={},_0x3720cd=_0xdc558f[_0x48209c(0x299)]={'execute':function(_0x5ae9ef,_0xb2dda,_0xc954df,_0xc962e6,_0x13d83e){var _0x590e48=_0x48209c;if(_0xc962e6||(_0xc962e6=_0xd6e01d['random'](0x40/0x8)),_0x13d83e)var _0xa1b51d=_0x3e872d['create']({'keySize':_0xb2dda+_0xc954df,'hasher':_0x13d83e})[_0x590e48(0x14a)](_0x5ae9ef,_0xc962e6);else var _0xa1b51d=_0x3e872d['create']({'keySize':_0xb2dda+_0xc954df})[_0x590e48(0x14a)](_0x5ae9ef,_0xc962e6);var _0x11ef8f=_0xd6e01d[_0x590e48(0xf1)](_0xa1b51d[_0x590e48(0x24d)]['slice'](_0xb2dda),_0xc954df*0x4);return _0xa1b51d[_0x590e48(0x8d)]=_0xb2dda*0x4,_0x13019c['create']({'key':_0xa1b51d,'iv':_0x11ef8f,'salt':_0xc962e6});}},_0x381ecf=_0x40549f[_0x48209c(0x275)]=_0x48e833[_0x48209c(0x34c)]({'cfg':_0x48e833['cfg'][_0x48209c(0x34c)]({'kdf':_0x3720cd}),'encrypt':function(_0x233221,_0x4a5094,_0x229e48,_0x587a5f){var _0x453a40=_0x48209c;_0x587a5f=this[_0x453a40(0x112)]['extend'](_0x587a5f);var _0x4f379a=_0x587a5f[_0x453a40(0x2ed)][_0x453a40(0x1a0)](_0x229e48,_0x233221[_0x453a40(0xff)],_0x233221[_0x453a40(0x11b)],_0x587a5f['salt'],_0x587a5f[_0x453a40(0x239)]);_0x587a5f['iv']=_0x4f379a['iv'];var _0x368e63=_0x48e833[_0x453a40(0xcd)][_0x453a40(0x1c6)](this,_0x233221,_0x4a5094,_0x4f379a[_0x453a40(0x2ff)],_0x587a5f);return _0x368e63['mixIn'](_0x4f379a),_0x368e63;},'decrypt':function(_0x135aea,_0xe2bf5d,_0xf9d1f1,_0x1af8a8){var _0xe77464=_0x48209c;_0x1af8a8=this[_0xe77464(0x112)][_0xe77464(0x34c)](_0x1af8a8),_0xe2bf5d=this['_parse'](_0xe2bf5d,_0x1af8a8[_0xe77464(0x210)]);var _0x22585b=_0x1af8a8[_0xe77464(0x2ed)]['execute'](_0xf9d1f1,_0x135aea[_0xe77464(0xff)],_0x135aea[_0xe77464(0x11b)],_0xe2bf5d[_0xe77464(0x1d3)],_0x1af8a8[_0xe77464(0x239)]);_0x1af8a8['iv']=_0x22585b['iv'];var _0x507a26=_0x48e833[_0xe77464(0x1c7)][_0xe77464(0x1c6)](this,_0x135aea,_0xe2bf5d,_0x22585b[_0xe77464(0x2ff)],_0x1af8a8);return _0x507a26;}});}();}));}(Je)),Je[_0x12e52d(0x376)];}var gn=Ve['exports'],ti;function Sn(){var _0x242cec=_0x3647a5;return ti||(ti=0x1,function(_0x3dfcd4,_0x40a8e0){(function(_0x264837,_0x2fb775,_0x192efe){_0x3dfcd4['exports']=_0x2fb775(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x3df4e3){var _0x1d3939=_0x75e3;return(function(){var _0x338aab=_0x75e3,_0x270eb7=_0x3df4e3,_0x572cfc=_0x270eb7['lib'],_0x42b1e3=_0x572cfc['BlockCipher'],_0x361560=_0x270eb7['algo'],_0x31438b=[],_0x1729f7=[],_0x17c169=[],_0x3898a5=[],_0x2e7838=[],_0x7e0a=[],_0x2c76a2=[],_0x593e3b=[],_0x4274d6=[],_0x4598ba=[];(function(){for(var _0x1845ad=[],_0x40b3fd=0x0;_0x40b3fd<0x100;_0x40b3fd++)_0x40b3fd<0x80?_0x1845ad[_0x40b3fd]=_0x40b3fd<<0x1:_0x1845ad[_0x40b3fd]=_0x40b3fd<<0x1^0x11b;for(var _0x4eb077=0x0,_0x20d31f=0x0,_0x40b3fd=0x0;_0x40b3fd<0x100;_0x40b3fd++){var _0x5b8c25=_0x20d31f^_0x20d31f<<0x1^_0x20d31f<<0x2^_0x20d31f<<0x3^_0x20d31f<<0x4;_0x5b8c25=_0x5b8c25>>>0x8^_0x5b8c25&0xff^0x63,_0x31438b[_0x4eb077]=_0x5b8c25,_0x1729f7[_0x5b8c25]=_0x4eb077;var _0x242333=_0x1845ad[_0x4eb077],_0x443679=_0x1845ad[_0x242333],_0x2bf3c4=_0x1845ad[_0x443679],_0x38ee48=_0x1845ad[_0x5b8c25]*0x101^_0x5b8c25*0x1010100;_0x17c169[_0x4eb077]=_0x38ee48<<0x18|_0x38ee48>>>0x8,_0x3898a5[_0x4eb077]=_0x38ee48<<0x10|_0x38ee48>>>0x10,_0x2e7838[_0x4eb077]=_0x38ee48<<0x8|_0x38ee48>>>0x18,_0x7e0a[_0x4eb077]=_0x38ee48;var _0x38ee48=_0x2bf3c4*0x1010101^_0x443679*0x10001^_0x242333*0x101^_0x4eb077*0x1010100;_0x2c76a2[_0x5b8c25]=_0x38ee48<<0x18|_0x38ee48>>>0x8,_0x593e3b[_0x5b8c25]=_0x38ee48<<0x10|_0x38ee48>>>0x10,_0x4274d6[_0x5b8c25]=_0x38ee48<<0x8|_0x38ee48>>>0x18,_0x4598ba[_0x5b8c25]=_0x38ee48,_0x4eb077?(_0x4eb077=_0x242333^_0x1845ad[_0x1845ad[_0x1845ad[_0x2bf3c4^_0x242333]]],_0x20d31f^=_0x1845ad[_0x1845ad[_0x20d31f]]):_0x4eb077=_0x20d31f=0x1;}}());var _0x4529ba=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2a17b8=_0x361560[_0x338aab(0x363)]=_0x42b1e3[_0x338aab(0x34c)]({'_doReset':function(){var _0x6549ec=_0x338aab,_0x14e2ea;if(!(this[_0x6549ec(0x95)]&&this[_0x6549ec(0x371)]===this['_key'])){for(var _0x450a00=this[_0x6549ec(0x371)]=this['_key'],_0x456932=_0x450a00['words'],_0x297590=_0x450a00[_0x6549ec(0x8d)]/0x4,_0x3e050c=this[_0x6549ec(0x95)]=_0x297590+0x6,_0x4fda35=(_0x3e050c+0x1)*0x4,_0x5df93c=this[_0x6549ec(0x2aa)]=[],_0x31786e=0x0;_0x31786e<_0x4fda35;_0x31786e++)_0x31786e<_0x297590?_0x5df93c[_0x31786e]=_0x456932[_0x31786e]:(_0x14e2ea=_0x5df93c[_0x31786e-0x1],_0x31786e%_0x297590?_0x297590>0x6&&_0x31786e%_0x297590==0x4&&(_0x14e2ea=_0x31438b[_0x14e2ea>>>0x18]<<0x18|_0x31438b[_0x14e2ea>>>0x10&0xff]<<0x10|_0x31438b[_0x14e2ea>>>0x8&0xff]<<0x8|_0x31438b[_0x14e2ea&0xff]):(_0x14e2ea=_0x14e2ea<<0x8|_0x14e2ea>>>0x18,_0x14e2ea=_0x31438b[_0x14e2ea>>>0x18]<<0x18|_0x31438b[_0x14e2ea>>>0x10&0xff]<<0x10|_0x31438b[_0x14e2ea>>>0x8&0xff]<<0x8|_0x31438b[_0x14e2ea&0xff],_0x14e2ea^=_0x4529ba[_0x31786e/_0x297590|0x0]<<0x18),_0x5df93c[_0x31786e]=_0x5df93c[_0x31786e-_0x297590]^_0x14e2ea);for(var _0x68572b=this[_0x6549ec(0x2b3)]=[],_0x40ac44=0x0;_0x40ac44<_0x4fda35;_0x40ac44++){var _0x31786e=_0x4fda35-_0x40ac44;if(_0x40ac44%0x4)var _0x14e2ea=_0x5df93c[_0x31786e];else var _0x14e2ea=_0x5df93c[_0x31786e-0x4];_0x40ac44<0x4||_0x31786e<=0x4?_0x68572b[_0x40ac44]=_0x14e2ea:_0x68572b[_0x40ac44]=_0x2c76a2[_0x31438b[_0x14e2ea>>>0x18]]^_0x593e3b[_0x31438b[_0x14e2ea>>>0x10&0xff]]^_0x4274d6[_0x31438b[_0x14e2ea>>>0x8&0xff]]^_0x4598ba[_0x31438b[_0x14e2ea&0xff]];}}},'encryptBlock':function(_0x43bef6,_0x367d3f){var _0x51da1e=_0x338aab;this['_doCryptBlock'](_0x43bef6,_0x367d3f,this[_0x51da1e(0x2aa)],_0x17c169,_0x3898a5,_0x2e7838,_0x7e0a,_0x31438b);},'decryptBlock':function(_0x5345c4,_0x488fb1){var _0x585cd2=_0x338aab,_0x355e48=_0x5345c4[_0x488fb1+0x1];_0x5345c4[_0x488fb1+0x1]=_0x5345c4[_0x488fb1+0x3],_0x5345c4[_0x488fb1+0x3]=_0x355e48,this[_0x585cd2(0x10c)](_0x5345c4,_0x488fb1,this[_0x585cd2(0x2b3)],_0x2c76a2,_0x593e3b,_0x4274d6,_0x4598ba,_0x1729f7);var _0x355e48=_0x5345c4[_0x488fb1+0x1];_0x5345c4[_0x488fb1+0x1]=_0x5345c4[_0x488fb1+0x3],_0x5345c4[_0x488fb1+0x3]=_0x355e48;},'_doCryptBlock':function(_0x539ebe,_0x16f47d,_0x970978,_0x734ac3,_0x3e58b5,_0x2a020d,_0x1404a9,_0x17f747){var _0x55d370=_0x338aab;for(var _0x154966=this[_0x55d370(0x95)],_0x29b133=_0x539ebe[_0x16f47d]^_0x970978[0x0],_0x2a8fbc=_0x539ebe[_0x16f47d+0x1]^_0x970978[0x1],_0x40be72=_0x539ebe[_0x16f47d+0x2]^_0x970978[0x2],_0x58f3b7=_0x539ebe[_0x16f47d+0x3]^_0x970978[0x3],_0x4264bf=0x4,_0x42db8b=0x1;_0x42db8b<_0x154966;_0x42db8b++){var _0x176bdc=_0x734ac3[_0x29b133>>>0x18]^_0x3e58b5[_0x2a8fbc>>>0x10&0xff]^_0x2a020d[_0x40be72>>>0x8&0xff]^_0x1404a9[_0x58f3b7&0xff]^_0x970978[_0x4264bf++],_0x4d17d0=_0x734ac3[_0x2a8fbc>>>0x18]^_0x3e58b5[_0x40be72>>>0x10&0xff]^_0x2a020d[_0x58f3b7>>>0x8&0xff]^_0x1404a9[_0x29b133&0xff]^_0x970978[_0x4264bf++],_0x3d06bb=_0x734ac3[_0x40be72>>>0x18]^_0x3e58b5[_0x58f3b7>>>0x10&0xff]^_0x2a020d[_0x29b133>>>0x8&0xff]^_0x1404a9[_0x2a8fbc&0xff]^_0x970978[_0x4264bf++],_0x4ec215=_0x734ac3[_0x58f3b7>>>0x18]^_0x3e58b5[_0x29b133>>>0x10&0xff]^_0x2a020d[_0x2a8fbc>>>0x8&0xff]^_0x1404a9[_0x40be72&0xff]^_0x970978[_0x4264bf++];_0x29b133=_0x176bdc,_0x2a8fbc=_0x4d17d0,_0x40be72=_0x3d06bb,_0x58f3b7=_0x4ec215;}var _0x176bdc=(_0x17f747[_0x29b133>>>0x18]<<0x18|_0x17f747[_0x2a8fbc>>>0x10&0xff]<<0x10|_0x17f747[_0x40be72>>>0x8&0xff]<<0x8|_0x17f747[_0x58f3b7&0xff])^_0x970978[_0x4264bf++],_0x4d17d0=(_0x17f747[_0x2a8fbc>>>0x18]<<0x18|_0x17f747[_0x40be72>>>0x10&0xff]<<0x10|_0x17f747[_0x58f3b7>>>0x8&0xff]<<0x8|_0x17f747[_0x29b133&0xff])^_0x970978[_0x4264bf++],_0x3d06bb=(_0x17f747[_0x40be72>>>0x18]<<0x18|_0x17f747[_0x58f3b7>>>0x10&0xff]<<0x10|_0x17f747[_0x29b133>>>0x8&0xff]<<0x8|_0x17f747[_0x2a8fbc&0xff])^_0x970978[_0x4264bf++],_0x4ec215=(_0x17f747[_0x58f3b7>>>0x18]<<0x18|_0x17f747[_0x29b133>>>0x10&0xff]<<0x10|_0x17f747[_0x2a8fbc>>>0x8&0xff]<<0x8|_0x17f747[_0x40be72&0xff])^_0x970978[_0x4264bf++];_0x539ebe[_0x16f47d]=_0x176bdc,_0x539ebe[_0x16f47d+0x1]=_0x4d17d0,_0x539ebe[_0x16f47d+0x2]=_0x3d06bb,_0x539ebe[_0x16f47d+0x3]=_0x4ec215;},'keySize':0x100/0x20});_0x270eb7[_0x338aab(0x363)]=_0x42b1e3[_0x338aab(0x31e)](_0x2a17b8);}()),_0x3df4e3[_0x1d3939(0x363)];}));}(Ve)),Ve[_0x242cec(0x376)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x3647a5(0x376)],si;function Rn(){var _0x4a553c=_0x3647a5;return si||(si=0x1,function(_0x15a0fb,_0x3f8177){(function(_0x5fbae0,_0x5c2923){var _0x350705=_0x75e3;_0x15a0fb[_0x350705(0x376)]=_0x5c2923(te());}(Cn,function(_0x3472aa){var _0x4664b0=_0x75e3;return _0x3472aa[_0x4664b0(0x1c0)][_0x4664b0(0x224)];}));}(Xe)),Xe[_0x4a553c(0x376)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0x3647a5(0x376)],ni;function Nn(){var _0x2eea58=_0x3647a5;return ni||(ni=0x1,function(_0x29f99f,_0x2db25e){(function(_0x37330c,_0x4d9ab2){_0x29f99f['exports']=_0x4d9ab2(te());}(yn,function(_0xc6b505){return(function(){var _0x31a885=_0x75e3;if(typeof ArrayBuffer==_0x31a885(0xa5)){var _0x4046cd=_0xc6b505,_0x4372d5=_0x4046cd[_0x31a885(0xf7)],_0x545a68=_0x4372d5['WordArray'],_0x584fbb=_0x545a68[_0x31a885(0x1d8)],_0x13b05c=_0x545a68[_0x31a885(0x1d8)]=function(_0x2552cd){var _0x100e7d=_0x31a885;if(_0x2552cd instanceof ArrayBuffer&&(_0x2552cd=new Uint8Array(_0x2552cd)),(_0x2552cd instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2552cd instanceof Uint8ClampedArray||_0x2552cd instanceof Int16Array||_0x2552cd instanceof Uint16Array||_0x2552cd instanceof Int32Array||_0x2552cd instanceof Uint32Array||_0x2552cd instanceof Float32Array||_0x2552cd instanceof Float64Array)&&(_0x2552cd=new Uint8Array(_0x2552cd[_0x100e7d(0x33b)],_0x2552cd['byteOffset'],_0x2552cd['byteLength'])),_0x2552cd instanceof Uint8Array){for(var _0x27f38c=_0x2552cd['byteLength'],_0x1b61f7=[],_0x467395=0x0;_0x467395<_0x27f38c;_0x467395++)_0x1b61f7[_0x467395>>>0x2]|=_0x2552cd[_0x467395]<<0x18-_0x467395%0x4*0x8;_0x584fbb[_0x100e7d(0x1c6)](this,_0x1b61f7,_0x27f38c);}else _0x584fbb[_0x100e7d(0x87)](this,arguments);};_0x13b05c[_0x31a885(0x1c8)]=_0x545a68;}}()),_0xc6b505['lib']['WordArray'];}));}(Ze)),Ze[_0x2eea58(0x376)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0x3647a5(0x376)],ri;function wn(){return ri||(ri=0x1,function(_0xb291b,_0x58f8a7){(function(_0x1bd0c0,_0x5545ac,_0x5e5bf1){var _0x549800=_0x75e3;_0xb291b[_0x549800(0x376)]=_0x5545ac(te(),bi());}(An,function(_0x1f8c63){var _0xec51d7=_0x75e3;return _0x1f8c63[_0xec51d7(0x1da)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x1f8c63[_0xec51d7(0x1da)]['NoPadding'];}));}(Qe)),Qe['exports'];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x22df71,_0x18dac4){var _0xc51f2e=_0x3647a5;const _0x47cd2f=_0x18dac4-_0x22df71['length']%_0x18dac4,_0x43aa34=String[_0xc51f2e(0x32a)](_0x47cd2f)['repeat'](_0x47cd2f);return _0x22df71+_0x43aa34;}function xn(_0x35b51a,_0x31522d){var _0x47848d=_0x3647a5;const _0x31f8b1=Un[_0x47848d(0xac)](0x10),_0x3c8804=Ln(_0x35b51a,0x10),_0x5768f7=In['encrypt'](bn['parse'](_0x3c8804),ii[_0x47848d(0x20e)](_0x31522d),{'iv':_0x31f8b1,'padding':Mn});return _0x31f8b1[_0x47848d(0x316)](_0x5768f7[_0x47848d(0x356)])[_0x47848d(0x2fb)](ii);}function kn(){var _0x35e631=_0x3647a5;const _0x268400=_0xe15ce9()[_0x35e631(0x27c)];if(_0x268400){const _0x3bdadb={'time':Math[_0x35e631(0x145)](Date[_0x35e631(0x253)]()/0x3e8),'domain':location['hostname']};return xn(JSON[_0x35e631(0x24c)](_0x3bdadb),_0x268400);}}var $n=Object['getOwnPropertyDescriptor'],Hn=(_0x5b36c3,_0x57f066,_0x3722ab,_0x2ebbad)=>{for(var _0x224514=_0x2ebbad>0x1?void 0x0:_0x2ebbad?$n(_0x57f066,_0x3722ab):_0x57f066,_0x3f979d=_0x5b36c3['length']-0x1,_0x58fdb2;_0x3f979d>=0x0;_0x3f979d--)(_0x58fdb2=_0x5b36c3[_0x3f979d])&&(_0x224514=_0x58fdb2(_0x224514)||_0x224514);return _0x224514;},Bn=(_0x3f6ae6,_0x4a841a)=>(_0x5e089b,_0x27c363)=>_0x4a841a(_0x5e089b,_0x27c363,_0x3f6ae6);let at=class{constructor(_0x46223f){this['_httpService']=_0x46223f,this['_initRequestHeader']();}[_0x3647a5(0x336)](){var _0x40dd10=_0x3647a5;this[_0x40dd10(0x304)][_0x40dd10(0x229)]({'interceptor':(_0x547939,_0x32a990)=>{var _0x1645fa=_0x40dd10;const _0x14d16e=_0x547939['headers'],_0x521eab=kn();return _0x521eab&&_0x14d16e['set'](_0x1645fa(0x80),_0x521eab),_0x32a990(_0x547939);}});}};at=Hn([Bn(0x0,_0x1bcbe4(_0x471a60))],at);var jn=Object[_0x3647a5(0x34d)],Fn=(_0x30453c,_0x571de2,_0x389cf9,_0x3dee76)=>{var _0x1decf0=_0x3647a5;for(var _0xe66777=_0x3dee76>0x1?void 0x0:_0x3dee76?jn(_0x571de2,_0x389cf9):_0x571de2,_0x4e3081=_0x30453c[_0x1decf0(0x30c)]-0x1,_0x52b767;_0x4e3081>=0x0;_0x4e3081--)(_0x52b767=_0x30453c[_0x4e3081])&&(_0xe66777=_0x52b767(_0xe66777)||_0xe66777);return _0xe66777;},vt=(_0x151873,_0x3e8051)=>(_0x1915f7,_0x4b7d0d)=>_0x3e8051(_0x1915f7,_0x4b7d0d,_0x151873);let Ct=class extends _0x1a30db{constructor(_0x3540a1,_0x235685,_0x471ca9){var _0xc666e1=_0x3647a5;super(),N(this,_0xc666e1(0x2ea),new _0x2ebbac(null)),N(this,_0xc666e1(0x23f),this[_0xc666e1(0x2ea)]['asObservable']()),(this[_0xc666e1(0xaf)]=_0x3540a1,this[_0xc666e1(0x198)]=_0x235685,this[_0xc666e1(0x270)]=_0x471ca9);}async['loadUnitOfRevision'](_0x287d61,_0x233af7,_0x13cb54){var _0x223a58=_0x3647a5;this['_unitInfo$'][_0x223a58(0x337)]({'unitId':_0x287d61,'type':_0x233af7});let _0x3b5cb4=null;switch(_0x233af7){case Z[_0x223a58(0x1cb)]:{_0x3b5cb4=await this[_0x223a58(0x198)][_0x223a58(0xf4)](_0x287d61,_0x13cb54);break;}case Z['UNIVER_DOC']:{_0x3b5cb4=await this[_0x223a58(0x198)][_0x223a58(0x33e)](_0x287d61,_0x13cb54);break;}default:{this['_logService'][_0x223a58(0x328)](_0x223a58(0x2fe),_0x223a58(0x354));break;}}return _0x3b5cb4;}async[_0x3647a5(0xb4)](_0x295462,_0x215a60,_0x52d5f4){var _0x39fb70=_0x3647a5,_0x3a935b;this['_unitInfo$'][_0x39fb70(0x337)]({'unitId':_0x295462,'type':_0x215a60,'subUnitId':_0x52d5f4});let _0x280ebf=0x0;const _0x33f023=await((_0x3a935b=this[_0x39fb70(0x270)])==null?void 0x0:_0x3a935b[_0x39fb70(0x380)](_0x295462));return _0x33f023&&(_0x33f023[_0x39fb70(0x310)]||_0x33f023[_0x39fb70(0x7e)][_0x39fb70(0x30c)]!==0x0)&&(_0x280ebf=_0x33f023[_0x39fb70(0x7f)]),_0x280ebf===0x0&&this[_0x39fb70(0xaf)]['debug'](_0x39fb70(0x2fe),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x39fb70(0x245)](_0x295462,_0x215a60,_0x280ebf);}};Ct=Fn([vt(0x0,_0x2c4df3),vt(0x1,_0x1bcbe4(_0x368d05)),vt(0x2,_0x39e56c(J))],Ct);var Vn=Object[_0x3647a5(0x34d)],Wn=(_0x24f0f0,_0x18c39c,_0x49cfc2,_0x169606)=>{for(var _0x2f837e=_0x169606>0x1?void 0x0:_0x169606?Vn(_0x18c39c,_0x49cfc2):_0x18c39c,_0x54c76a=_0x24f0f0['length']-0x1,_0x410498;_0x54c76a>=0x0;_0x54c76a--)(_0x410498=_0x24f0f0[_0x54c76a])&&(_0x2f837e=_0x410498(_0x2f837e)||_0x2f837e);return _0x2f837e;},pt=(_0xf83919,_0x153aa7)=>(_0x17995e,_0x4f13fa)=>_0x153aa7(_0x17995e,_0x4f13fa,_0xf83919);const Gn=[_0x3647a5(0x81),_0x3647a5(0x1b0),_0x3647a5(0x1e5),_0x3647a5(0xb6),_0x3647a5(0x1f6)],Yn=0x5*0x400*0x400,Kn=_0x3647a5(0x327),qn=_0x3647a5(0x242);let Rt=class{constructor(_0x36d827,_0x5eaeb9,_0x44266c){var _0x26372b=_0x3647a5;N(this,_0x26372b(0x13d),0x0),N(this,_0x26372b(0x1aa),new _0x101319()),N(this,_0x26372b(0x326),this[_0x26372b(0x1aa)]),N(this,'_imageSourceCache',new Map()),(this[_0x26372b(0x304)]=_0x36d827,this[_0x26372b(0x2c9)]=_0x5eaeb9,this['_univerInstanceService']=_0x44266c);}[_0x3647a5(0x220)](_0x928fa3){var _0x35b352=_0x3647a5;this[_0x35b352(0x13d)]=_0x928fa3,this['_change$'][_0x35b352(0x337)](_0x928fa3);}[_0x3647a5(0x25e)](_0x264aff,_0x2ebb6a){var _0x274122=_0x3647a5;if(_0x2ebb6a===_0x49e526[_0x274122(0x15f)]){const _0x9e20e7=new Image();return _0x9e20e7[_0x274122(0x120)]=_0x264aff,_0x9e20e7;}return this[_0x274122(0xa0)][_0x274122(0x267)](_0x264aff);}['addImageSourceCache'](_0x9f0571,_0x30da7d,_0x5559cd){var _0x16f17a=_0x3647a5;_0x30da7d===_0x49e526[_0x16f17a(0x15f)]||_0x5559cd==null||this[_0x16f17a(0xa0)][_0x16f17a(0x31f)](_0x9f0571,_0x5559cd);}async[_0x3647a5(0x170)](_0x1ab99a){var _0x3964fa=_0x3647a5;try{const _0x381da6=this[_0x3964fa(0x37c)](this['_getSignURL'](),''+_0x1ab99a),_0x6d04dc=(await this[_0x3964fa(0x304)]['get'](_0x381da6))[_0x3964fa(0x100)];if(_0x6d04dc[_0x3964fa(0x328)]&&_0x6d04dc[_0x3964fa(0x328)][_0x3964fa(0x230)]===vi['OK']){const _0x36bea8=new URL(_0x6d04dc[_0x3964fa(0x1d7)],this[_0x3964fa(0x2df)]())[_0x3964fa(0x2fb)]();return Promise['resolve'](_0x36bea8);}return Promise[_0x3964fa(0x358)](_0x6d04dc[_0x3964fa(0x328)]);}catch(_0x28e072){return Promise[_0x3964fa(0x358)](_0x28e072);}}async[_0x3647a5(0xcb)](_0x343c47){var _0x29261a=_0x3647a5;let _0x37e38b='';if(!Gn[_0x29261a(0x24e)](_0x343c47['type']))return this[_0x29261a(0x190)](),Promise['reject'](new Error(_0x106dac[_0x29261a(0xb2)]));if(_0x343c47[_0x29261a(0x315)]>Yn)return this['_decreaseWaiting'](),Promise[_0x29261a(0x358)](new Error(_0x106dac[_0x29261a(0x2fc)]));try{const _0x49e4b7=new FormData();_0x49e4b7[_0x29261a(0x268)](_0x29261a(0x168),_0x343c47);const _0x6e96c4=this[_0x29261a(0x27a)][_0x29261a(0x320)](),_0x26e220=_0x6e96c4==null?void 0x0:_0x6e96c4[_0x29261a(0x17e)]();if(!_0x26e220)throw new Error(_0x29261a(0x1dd));const _0x51eec1=this[_0x29261a(0x2cd)]()+_0x29261a(0x232)+_0x343c47['size'][_0x29261a(0x2fb)]()+_0x29261a(0xdd)+pi[_0x29261a(0xbe)]+'&assign='+encodeURIComponent(_0x26e220),_0x230eb9={'body':_0x49e4b7},_0x1e0421=(await this[_0x29261a(0x304)][_0x29261a(0x125)](_0x51eec1,_0x230eb9))[_0x29261a(0x100)];if(typeof _0x1e0421[_0x29261a(0x377)]!='string')return this[_0x29261a(0x190)](),Promise['reject'](new Error(_0x106dac[_0x29261a(0x35b)]));_0x37e38b=_0x1e0421['FileId'];}catch{return this[_0x29261a(0x190)](),Promise[_0x29261a(0x358)](new Error(_0x106dac['ERROR_IMAGE']));}return new Promise((_0x2b36c4,_0x120665)=>{var _0x192c52=_0x29261a;const _0x401ba6=new FileReader();_0x401ba6[_0x192c52(0x260)](_0x343c47),_0x401ba6[_0x192c52(0x279)]=_0x58ad22=>{var _0x201cc5=_0x192c52,_0x2ddf58;const _0x3943e3=(_0x2ddf58=_0x58ad22[_0x201cc5(0x12e)])==null?void 0x0:_0x2ddf58['result'];if(_0x3943e3==null){this[_0x201cc5(0x190)](),_0x120665(new Error(_0x106dac[_0x201cc5(0x35b)]));return;}const _0x3abcc9=_0x1b569f(0x6);_0x2b36c4({'imageId':_0x3abcc9,'imageSourceType':_0x49e526[_0x201cc5(0x1bb)],'source':_0x37e38b,'base64Cache':_0x3943e3,'status':_0x106dac[_0x201cc5(0x234)]}),this['_decreaseWaiting']();};});}[_0x3647a5(0x2cd)](){var _0x1420f1=_0x3647a5,_0x4551c4;const _0x437052=this[_0x1420f1(0x2c9)][_0x1420f1(0x1fc)](K);return(_0x4551c4=_0x437052==null?void 0x0:_0x437052[_0x1420f1(0x329)])!=null?_0x4551c4:Kn;}[_0x3647a5(0x312)](){var _0x33ba28=_0x3647a5,_0x1b9ba4;const _0x514173=this['_configService'][_0x33ba28(0x1fc)](K);return(_0x1b9ba4=_0x514173==null?void 0x0:_0x514173['signUrlServerUrl'])!=null?_0x1b9ba4:qn;}[_0x3647a5(0x2df)](){var _0x54f6be=_0x3647a5,_0x32cc3c;const _0x559014=this[_0x54f6be(0x2c9)][_0x54f6be(0x1fc)](K);return(_0x32cc3c=_0x559014==null?void 0x0:_0x559014[_0x54f6be(0xeb)])!=null?_0x32cc3c:location[_0x54f6be(0xd8)];}[_0x3647a5(0x37c)](_0x2942fd,_0x26686e){var _0x28b1d7=_0x3647a5;return _0x2942fd[_0x28b1d7(0x2b0)](_0x28b1d7(0xd0),_0x26686e);}['_decreaseWaiting'](){var _0x1bf7c3=_0x3647a5;this[_0x1bf7c3(0x13d)]-=0x1,this[_0x1bf7c3(0x1aa)][_0x1bf7c3(0x337)](this['_waitCount']);}};Rt=Wn([pt(0x0,_0x1bcbe4(_0x471a60)),pt(0x1,_0x1efea3),pt(0x2,_0x1bcbe4(_0x407eef))],Rt);var zn=Object['getOwnPropertyDescriptor'],Jn=(_0x47f5a0,_0x513a58,_0x521c2c,_0x4548b6)=>{var _0x57e186=_0x3647a5;for(var _0x28aa5a=_0x4548b6>0x1?void 0x0:_0x4548b6?zn(_0x513a58,_0x521c2c):_0x513a58,_0x4186e7=_0x47f5a0[_0x57e186(0x30c)]-0x1,_0x1f6c3f;_0x4186e7>=0x0;_0x4186e7--)(_0x1f6c3f=_0x47f5a0[_0x4186e7])&&(_0x28aa5a=_0x1f6c3f(_0x28aa5a)||_0x28aa5a);return _0x28aa5a;},ai=(_0x44af4c,_0x174c91)=>(_0x2ab5f2,_0x1f1f19)=>_0x174c91(_0x2ab5f2,_0x1f1f19,_0x44af4c);const Xn='/universer-api/authz';let Ot=class{constructor(_0x3aee59,_0x560e40){var _0x55e4a2=_0x3647a5;this[_0x55e4a2(0x2c9)]=_0x3aee59,this['_HTTPService']=_0x560e40;}[_0x3647a5(0x338)](){var _0x2dd5ce=_0x3647a5,_0x340df6;const _0x40b484=this['_configService'][_0x2dd5ce(0x1fc)](K);return(_0x340df6=_0x40b484==null?void 0x0:_0x40b484['authzUrl'])!=null?_0x340df6:Xn;}async[_0x3647a5(0xce)](_0x17a29f){var _0x59c81b=_0x3647a5;const _0x26641c=this[_0x59c81b(0x338)]()+_0x59c81b(0xb9);return{'list':[{'title':'People','mentions':(await this[_0x59c81b(0x346)][_0x59c81b(0x267)](_0x26641c,{'params':{'objectID':_0x17a29f[_0x59c81b(0x142)],'unitID':_0x17a29f['unitId']}}))[_0x59c81b(0x100)]['collaborators'][_0x59c81b(0x139)](_0x53581e=>({'objectId':_0x53581e['id'],'name':_0x53581e['subject'][_0x59c81b(0xba)],'metadata':{'icon':_0x53581e[_0x59c81b(0x36f)][_0x59c81b(0x341)]},'label':_0x53581e[_0x59c81b(0x36f)][_0x59c81b(0xba)],'objectType':_0x1f86b3[_0x59c81b(0x18a)]})),'metadata':{},'type':_0x1f86b3[_0x59c81b(0x18a)]}]};}};Ot=Jn([ai(0x0,_0x1bcbe4(_0x1efea3)),ai(0x1,_0x1bcbe4(_0x471a60))],Ot);var Zn=Object[_0x3647a5(0x34d)],Qn=(_0x4a4493,_0x1debed,_0x49bedc,_0x305aee)=>{var _0x451cb6=_0x3647a5;for(var _0x3ee413=_0x305aee>0x1?void 0x0:_0x305aee?Zn(_0x1debed,_0x49bedc):_0x1debed,_0x5c6e53=_0x4a4493[_0x451cb6(0x30c)]-0x1,_0x40801d;_0x5c6e53>=0x0;_0x5c6e53--)(_0x40801d=_0x4a4493[_0x5c6e53])&&(_0x3ee413=_0x40801d(_0x3ee413)||_0x3ee413);return _0x3ee413;},Ue=(_0x4d814f,_0x902f17)=>(_0x1ed793,_0x38a445)=>_0x902f17(_0x1ed793,_0x38a445,_0x4d814f);let ot=class extends _0x1a30db{constructor(_0x3fb8c8,_0x5af53c,_0x7006b2,_0x33e2f7,_0x11bc4b){var _0x3e3d5c=_0x3647a5;super(),this['_injector']=_0x3fb8c8,this[_0x3e3d5c(0x27a)]=_0x5af53c,this[_0x3e3d5c(0x31c)]=_0x7006b2,this[_0x3e3d5c(0x307)]=_0x33e2f7,this['_collaborationUIEventService']=_0x11bc4b,this['_initUnitPermissionChange'](),this[_0x3e3d5c(0x129)]();}[_0x3647a5(0x129)](){var _0x5ac680=_0x3647a5;const _0x5b2d96=async _0x26cd7a=>{var _0x2db11a=_0x75e3;(await this[_0x2db11a(0x307)][_0x2db11a(0x244)](_0x26cd7a))[_0x2db11a(0x77)]['pipe'](_0x5e6161(_0x29bcf4=>_0x29bcf4[_0x2db11a(0x295)]===_0x1f1e32[_0x2db11a(0x1ab)]),_0xc842ad(this['dispose$']))[_0x2db11a(0x34e)](_0x41b8a7=>{var _0x55b711=_0x2db11a;const _0x361821=_0x41b8a7,{reason:_0x493fac}=_0x361821[_0x55b711(0x2cc)];this[_0x55b711(0x19f)][_0x55b711(0x94)]({'id':ne['CLOSE_ROOM'],'data':_0x493fac}),this[_0x55b711(0x31c)][_0x55b711(0x246)](new _0x261381(_0x26cd7a)['id'],!0x1),this[_0x55b711(0x307)][_0x55b711(0x25b)](_0x26cd7a);});};_0x43fe12(this[_0x5ac680(0x27a)]['getTypeOfUnitAdded$'](_0x358be9[_0x5ac680(0x1cb)]),this[_0x5ac680(0x27a)][_0x5ac680(0x353)](_0x358be9[_0x5ac680(0x93)]))['pipe'](_0x4ac341(_0x2eed6e=>_0x2eed6e['getUnitId']()),_0x5e6161(_0x4ff2f5=>!_0x3c3d37(_0x4ff2f5)),_0xc842ad(this[_0x5ac680(0x175)]))['subscribe'](_0xc71c0a=>{_0x5b2d96(_0xc71c0a);});}[_0x3647a5(0xae)](){var _0x384d94=_0x3647a5;const _0x1587f0=async _0x9b4610=>{var _0xb7da41=_0x75e3;const _0x3d5eca=await this[_0xb7da41(0x307)][_0xb7da41(0x244)](_0x9b4610),_0x3dc0e9=this[_0xb7da41(0x324)][_0xb7da41(0x267)](_0x312932);_0x3d5eca[_0xb7da41(0x77)][_0xb7da41(0x2ce)](_0x5e6161(_0x34a28a=>_0x34a28a[_0xb7da41(0x295)]===_0x1f1e32[_0xb7da41(0xf0)]),_0xc842ad(this['dispose$']))[_0xb7da41(0x34e)](_0x5cc887=>{var _0x421f5e=_0xb7da41;const _0x2452fc=_0x5cc887,{objectId:_0x2d1776}=_0x2452fc['data'];_0x2d1776===_0x9b4610?_0x3dc0e9[_0x421f5e(0x1eb)](_0x9b4610):_0x3dc0e9[_0x421f5e(0x226)](_0x9b4610,_0x2d1776);});};_0x43fe12(this[_0x384d94(0x27a)]['getTypeOfUnitAdded$'](_0x358be9[_0x384d94(0x1cb)]))[_0x384d94(0x2ce)](_0x4ac341(_0x2e08b4=>_0x2e08b4[_0x384d94(0x17e)]()),_0x5e6161(_0x20645=>!_0x3c3d37(_0x20645)),_0xc842ad(this['dispose$']))[_0x384d94(0x34e)](_0x3314a5=>{_0x1587f0(_0x3314a5);});}};ot=Qn([Ue(0x0,_0x1bcbe4(_0x1afca0)),Ue(0x1,_0x407eef),Ue(0x2,_0xfedac2),Ue(0x3,_0x1bcbe4(Pe)),Ue(0x4,_0x1bcbe4(ve))],ot);var er=Object[_0x3647a5(0x34d)],tr=(_0x151cac,_0x426449,_0x44d062,_0x5ee7c7)=>{var _0xfaf626=_0x3647a5;for(var _0x8a67e0=_0x5ee7c7>0x1?void 0x0:_0x5ee7c7?er(_0x426449,_0x44d062):_0x426449,_0x15d89f=_0x151cac[_0xfaf626(0x30c)]-0x1,_0x14e9b1;_0x15d89f>=0x0;_0x15d89f--)(_0x14e9b1=_0x151cac[_0x15d89f])&&(_0x8a67e0=_0x14e9b1(_0x8a67e0)||_0x8a67e0);return _0x8a67e0;},oi=(_0x430c45,_0x1d05ac)=>(_0x3d0e0d,_0x373dc4)=>_0x1d05ac(_0x3d0e0d,_0x373dc4,_0x430c45);let bt=class{constructor(_0x5040ee,_0x3190b2){var _0x2fe3ff=_0x3647a5;this[_0x2fe3ff(0x2c9)]=_0x5040ee,this[_0x2fe3ff(0x304)]=_0x3190b2;}async[_0x3647a5(0x103)](_0x36acce,_0xe751ca){var _0x57e69c=_0x3647a5,_0x17837e;const {unitID:_0x19a58d,type:_0x50788d,revision:_0x1e9b8c=0x0}=_0xe751ca,_0x43448c=this[_0x57e69c(0xd7)]()+'/'+_0x50788d+_0x57e69c(0x2fd)+_0x19a58d+_0x57e69c(0x2c6)+_0x1e9b8c,_0x58559f=(await this['_httpService'][_0x57e69c(0x267)](_0x43448c))[_0x57e69c(0x100)],_0x428c7a=(_0x17837e=_0x58559f['snapshot'])==null?void 0x0:_0x17837e[_0x57e69c(0xd2)];if(_0x428c7a){const _0x57adb3=_0x428c7a==null?void 0x0:_0x428c7a[_0x57e69c(0x2c4)],_0x5c66e8=_0x37fa7[_0x57e69c(0x10f)](_0x2414a2(_0x57adb3));_0x428c7a['originalMeta']=_0x5c66e8,Object[_0x57e69c(0x188)](_0x428c7a[_0x57e69c(0x35a)])[_0x57e69c(0x1a5)](([,_0x5060fe])=>{var _0x517dfe=_0x57e69c;const _0x4b943e=_0x5060fe[_0x517dfe(0x2c4)],_0x57a7a4=_0x37fa7['encode'](_0x2414a2(_0x4b943e));_0x5060fe[_0x517dfe(0x2c4)]=_0x57a7a4;});}return _0x58559f;}async[_0x3647a5(0x32b)](_0xc52c88,_0x70f72a){var _0x2d4aea=_0x3647a5;const {unitID:_0x5a0cdc,type:_0x7264bb,blockID:_0x38f8d0}=_0x70f72a,_0x1861aa=this[_0x2d4aea(0x37e)]()+'/'+_0x7264bb+_0x2d4aea(0x2fd)+_0x5a0cdc+'/block/'+_0x38f8d0;return(await this['_httpService']['get'](_0x1861aa))['body'];}async[_0x3647a5(0x16c)](_0x26946d,_0x144efa){var _0x45ec8f=_0x3647a5;const {unitID:_0x76a80e,type:_0x1e73dc,blockID:_0xccb3b1}=_0x144efa,_0x2911a2=this['_getAPIPrefix']()+_0x45ec8f(0x1b4)+_0x1e73dc+_0x45ec8f(0x2fd)+_0x76a80e+_0x45ec8f(0x1b4)+_0xccb3b1;return(await this['_httpService'][_0x45ec8f(0x267)](_0x2911a2))[_0x45ec8f(0x100)];}async['fetchMissingChangesets'](_0x21e75a,_0x3936a3){var _0x1752dc=_0x3647a5;const {unitID:_0x221c6e,type:_0x45b798,from:_0xa5858e,to:_0x1720ed}=_0x3936a3,_0x282230=this['_getAPIPrefix']()+'/'+_0x45b798+'/unit/'+_0x221c6e+_0x1752dc(0x243)+_0xa5858e+'&to='+_0x1720ed;return(await this['_httpService'][_0x1752dc(0x267)](_0x282230))[_0x1752dc(0x100)];}[_0x3647a5(0xd7)](){var _0x55c4b9=_0x3647a5,_0x41684c;return(_0x41684c=this[_0x55c4b9(0x2c9)]['getConfig'](vs))!=null?_0x41684c:this[_0x55c4b9(0x37e)]();}[_0x3647a5(0x37e)](){var _0x424697=_0x3647a5,_0x3a95f3;const _0x46e22c=this[_0x424697(0x2c9)][_0x424697(0x1fc)](K);return(_0x3a95f3=_0x46e22c==null?void 0x0:_0x46e22c['snapshotServerUrl'])!=null?_0x3a95f3:fs;}async[_0x3647a5(0x163)](_0xf21544,_0x56b1ee){var _0x428a27=_0x3647a5;const _0x3a6d72=_0x428a27(0x214)+_0x56b1ee[_0x428a27(0x11a)]+_0x428a27(0x2fd)+_0x56b1ee['unitID']+'/resources';return(await this['_httpService']['get'](_0x3a6d72,{'params':{'resourceId':JSON[_0x428a27(0x24c)](_0x56b1ee[_0x428a27(0x187)])}}))[_0x428a27(0x100)];}[_0x3647a5(0x273)](){var _0x1662c1=_0x3647a5;throw new Error(_0x1662c1(0x2f0));}[_0x3647a5(0x1a8)](){var _0x2dffed=_0x3647a5;throw new Error(_0x2dffed(0x2f0));}[_0x3647a5(0x278)](){var _0x86e640=_0x3647a5;throw new Error(_0x86e640(0x2f0));}[_0x3647a5(0x2c2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3647a5(0x130)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3647a5(0x13a)](){var _0x208fa2=_0x3647a5;throw new Error(_0x208fa2(0x2f0));}};bt=tr([oi(0x0,_0x1efea3),oi(0x1,_0x1bcbe4(_0x471a60))],bt);var ir=Object[_0x3647a5(0x34d)],sr=(_0x1ef8c2,_0x30b67b,_0x2cb440,_0x12ded5)=>{var _0x2f666a=_0x3647a5;for(var _0xfc492e=_0x12ded5>0x1?void 0x0:_0x12ded5?ir(_0x30b67b,_0x2cb440):_0x30b67b,_0x3df893=_0x1ef8c2[_0x2f666a(0x30c)]-0x1,_0x255af7;_0x3df893>=0x0;_0x3df893--)(_0x255af7=_0x1ef8c2[_0x3df893])&&(_0xfc492e=_0x255af7(_0xfc492e)||_0xfc492e);return _0xfc492e;},Ae=(_0x5979b8,_0xc1d487)=>(_0x16db32,_0x2450b4)=>_0xc1d487(_0x16db32,_0x2450b4,_0x5979b8);let yt=class extends _0x31cbd6{constructor(_0x51a088,_0x31f9aa,_0x1fec35,_0x432ed5,_0x137f9e){var _0x5367ec=_0x3647a5;super(_0x51a088,_0x31f9aa,_0x1fec35),this[_0x5367ec(0x17b)]=_0x432ed5,this[_0x5367ec(0xaf)]=_0x137f9e;}['transformUndoRedo'](_0x3eeb69,_0x578dda){var _0x1baa3e=_0x3647a5;const _0x2eef58=this[_0x1baa3e(0x108)](_0x3eeb69);if(_0x2eef58)try{const _0x1eadc2=this[_0x1baa3e(0x2c5)](_0x2eef58,_0x578dda);this[_0x1baa3e(0x361)](_0x3eeb69,_0x1eadc2);}catch(_0x5a1dc8){this[_0x1baa3e(0xaf)][_0x1baa3e(0x328)](_0x1baa3e(0x37b),_0x5a1dc8),this[_0x1baa3e(0x7d)](_0x3eeb69);}const _0x33e9e7=this[_0x1baa3e(0xc1)](_0x3eeb69);if(_0x33e9e7)try{const _0xa0079a=this[_0x1baa3e(0x2c5)](_0x33e9e7,_0x578dda);this[_0x1baa3e(0x272)](_0x3eeb69,_0xa0079a);}catch(_0x7d8dbc){this[_0x1baa3e(0xaf)]['error'](_0x7d8dbc),this[_0x1baa3e(0x138)](_0x3eeb69);}}[_0x3647a5(0x7d)](_0x409cdf){var _0x330c04=_0x3647a5;const _0x2244c7=this[_0x330c04(0x108)](_0x409cdf);_0x2244c7&&(_0x2244c7['length']=0x0,this[_0x330c04(0x266)]());}['_clearRedo'](_0x12c522){var _0x36f03b=_0x3647a5;const _0x19d590=this[_0x36f03b(0xc1)](_0x12c522);_0x19d590&&(_0x19d590[_0x36f03b(0x30c)]=0x0,this[_0x36f03b(0x266)]());}['_substituteUndoStack'](_0x283e54,_0x4ce690){var _0x5c2475=_0x3647a5;this[_0x5c2475(0x17d)][_0x5c2475(0x31f)](_0x283e54,_0x4ce690),this['_updateStatus']();}[_0x3647a5(0x272)](_0x28bd0b,_0x5df0db){var _0x5cac12=_0x3647a5;this[_0x5cac12(0x15c)][_0x5cac12(0x31f)](_0x28bd0b,_0x5df0db),this[_0x5cac12(0x266)]();}[_0x3647a5(0x2c5)](_0x227abc,_0x32e2e9){var _0x5b1d8b=_0x3647a5;const _0x2a9eac=[];let _0x3b9ece=_0x32e2e9,_0x3898e8=_0x32e2e9;for(let _0x448ba8=_0x227abc[_0x5b1d8b(0x30c)]-0x1;_0x448ba8>=0x0;_0x448ba8--){const {unitID:_0x271509,undoMutations:_0x21244b,redoMutations:_0x33ccb0}=_0x227abc[_0x448ba8],_0x436593=this[_0x5b1d8b(0x17b)][_0x5b1d8b(0x235)](_0x3b9ece,_0x21244b),_0x294d68=this[_0x5b1d8b(0x17b)][_0x5b1d8b(0x235)](_0x3898e8,_0x33ccb0);if(_0x3b0fb2(_0x436593)||_0x3b0fb2(_0x294d68)){this['_logService'][_0x5b1d8b(0x328)](_0x5b1d8b(0x37b),_0x5b1d8b(0x24a),_0x436593,_0x294d68);break;}_0x3b9ece=_0x436593[_0x5b1d8b(0x25a)],_0x3898e8=_0x294d68[_0x5b1d8b(0x25a)],_0x2a9eac[_0x5b1d8b(0x109)]({'unitID':_0x271509,'undoMutations':_0x436593[_0x5b1d8b(0xec)],'redoMutations':_0x294d68[_0x5b1d8b(0xec)]});}return _0x2a9eac[_0x5b1d8b(0xa4)]();}};yt=sr([Ae(0x0,_0x407eef),Ae(0x1,_0x4de856),Ae(0x2,_0x2a57ba),Ae(0x3,_0x2cd45e),Ae(0x4,_0x2c4df3)],yt);var nr=Object[_0x3647a5(0x378)],rr=Object[_0x3647a5(0x34d)],ar=(_0x43a001,_0x5620a8,_0x31d4b5)=>_0x5620a8 in _0x43a001?nr(_0x43a001,_0x5620a8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31d4b5}):_0x43a001[_0x5620a8]=_0x31d4b5,or=(_0x4ee163,_0x3cff0d,_0x4aa5f6,_0x47d0f8)=>{var _0x55c3bd=_0x3647a5;for(var _0xb054f1=_0x47d0f8>0x1?void 0x0:_0x47d0f8?rr(_0x3cff0d,_0x4aa5f6):_0x3cff0d,_0x537b6b=_0x4ee163[_0x55c3bd(0x30c)]-0x1,_0x5346b0;_0x537b6b>=0x0;_0x537b6b--)(_0x5346b0=_0x4ee163[_0x537b6b])&&(_0xb054f1=_0x5346b0(_0xb054f1)||_0xb054f1);return _0xb054f1;},mt=(_0x4ed24f,_0x442f2e)=>(_0x5c14be,_0xf08289)=>_0x442f2e(_0x5c14be,_0xf08289,_0x4ed24f),cr=(_0x3e77cd,_0x386e2d,_0xead83f)=>ar(_0x3e77cd,_0x386e2d+'',_0xead83f);const hr=_0x3647a5(0x147);let Nt=class extends _0x711c50{constructor(_0x3382a9,_0x4f0467,_0x355f06,_0x3271cb){var _0x5dec47=_0x3647a5;super(),N(this,_0x5dec47(0x177)),(this[_0x5dec47(0xaf)]=_0x4f0467,this[_0x5dec47(0x324)]=_0x355f06,this['_configService']=_0x3271cb);const {..._0x16680f}=_0xae5dcc({},Ls,_0x3382a9);if(!_0x16680f[_0x5dec47(0x76)])throw new Error(_0x5dec47(0x319));this[_0x5dec47(0x177)]=_0x16680f,this[_0x5dec47(0x2c9)][_0x5dec47(0x2b1)](K,_0x16680f);}[_0x3647a5(0x18d)](){var _0x8006b4=_0x3647a5;this[_0x8006b4(0x203)](),this[_0x8006b4(0x29f)]();}[_0x3647a5(0x203)](){var _0x4bcc55=_0x3647a5,_0x23812c,_0x2ad2a;this[_0x4bcc55(0x324)][_0x4bcc55(0x193)](_0x34fbdf)&&this['_logService'][_0x4bcc55(0x328)](_0x4bcc55(0x32f),_0x4bcc55(0x2dc));const _0x893115=_0x543372([[_0x34fbdf,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this[_0x4bcc55(0x177)]['socketService']}],[_0x2cf370,{'useClass':bt}],[_0x174431,{'useClass':Tt}],[_0x43ff71,{'useClass':Rt}],[_0x4f0037,{'useClass':Ot}],[nt],[It]],(_0x23812c=this[_0x4bcc55(0x177)])==null?void 0x0:_0x23812c[_0x4bcc55(0x1a9)]);if(!((_0x2ad2a=this[_0x4bcc55(0x177)])!=null&&_0x2ad2a[_0x4bcc55(0x197)])){const _0x360882=_0x893115[_0x4bcc55(0x330)](([_0x1c70c6])=>_0x1c70c6===ht);_0x360882!==-0x1&&_0x893115[_0x4bcc55(0x213)](_0x360882,0x1);}_0x97775d(this[_0x4bcc55(0x324)],_0x893115);}[_0x3647a5(0x29f)](){var _0x48e562=_0x3647a5,_0x4e5c5d,_0x43510d,_0x485476;this[_0x48e562(0x324)][_0x48e562(0x267)](_0x471a60)[_0x48e562(0x229)]({'priority':0x14,'interceptor':_0x43984e({'maxParallel':0x6})}),(_0x4e5c5d=this['_config'])!=null&&_0x4e5c5d[_0x48e562(0xc9)]||(_0x43510d=this['_injector']['get'](J,_0x4cca34[_0x48e562(0x107)]))==null||_0x43510d[_0x48e562(0x347)](),(_0x485476=this[_0x48e562(0x177)])!=null&&_0x485476['enableAuthServer']&&_0x2cd7f2(this[_0x48e562(0x324)],[[rt]]),_0x2cd7f2(this['_injector'],[[at],[nt],[ot]]);}};cr(Nt,_0x3647a5(0x192),hr),Nt=or([_0x399e79(_0x1c1392,_0xe39102),mt(0x1,_0x2c4df3),mt(0x2,_0x1bcbe4(_0x1afca0)),mt(0x3,_0x1efea3)],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};