@univerjs-pro/collaboration-client 0.15.3-insiders.20260131-cbd5fac → 0.15.4

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 (57) 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/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/sk-SK.js +1 -1
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -1
  16. package/lib/es/index.js +1 -1
  17. package/lib/es/locale/ca-ES.js +1 -1
  18. package/lib/es/locale/en-US.js +1 -1
  19. package/lib/es/locale/es-ES.js +1 -1
  20. package/lib/es/locale/fa-IR.js +1 -1
  21. package/lib/es/locale/fr-FR.js +1 -1
  22. package/lib/es/locale/ja-JP.js +1 -1
  23. package/lib/es/locale/ko-KR.js +1 -1
  24. package/lib/es/locale/ru-RU.js +1 -1
  25. package/lib/es/locale/sk-SK.js +1 -1
  26. package/lib/es/locale/vi-VN.js +1 -1
  27. package/lib/es/locale/zh-CN.js +1 -1
  28. package/lib/es/locale/zh-TW.js +1 -1
  29. package/lib/facade.js +1 -1
  30. package/lib/index.js +1 -1
  31. package/lib/locale/ca-ES.js +1 -1
  32. package/lib/locale/en-US.js +1 -1
  33. package/lib/locale/es-ES.js +1 -1
  34. package/lib/locale/fa-IR.js +1 -1
  35. package/lib/locale/fr-FR.js +1 -1
  36. package/lib/locale/ja-JP.js +1 -1
  37. package/lib/locale/ko-KR.js +1 -1
  38. package/lib/locale/ru-RU.js +1 -1
  39. package/lib/locale/sk-SK.js +1 -1
  40. package/lib/locale/vi-VN.js +1 -1
  41. package/lib/locale/zh-CN.js +1 -1
  42. package/lib/locale/zh-TW.js +1 -1
  43. package/lib/umd/facade.js +1 -1
  44. package/lib/umd/index.js +1 -1
  45. package/lib/umd/locale/ca-ES.js +1 -1
  46. package/lib/umd/locale/en-US.js +1 -1
  47. package/lib/umd/locale/es-ES.js +1 -1
  48. package/lib/umd/locale/fa-IR.js +1 -1
  49. package/lib/umd/locale/fr-FR.js +1 -1
  50. package/lib/umd/locale/ja-JP.js +1 -1
  51. package/lib/umd/locale/ko-KR.js +1 -1
  52. package/lib/umd/locale/ru-RU.js +1 -1
  53. package/lib/umd/locale/sk-SK.js +1 -1
  54. package/lib/umd/locale/vi-VN.js +1 -1
  55. package/lib/umd/locale/zh-CN.js +1 -1
  56. package/lib/umd/locale/zh-TW.js +1 -1
  57. package/package.json +10 -10
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x23bef1=_0x161f;(function(_0x4b7371,_0x42f250){var _0x5a05e8=_0x161f,_0x3bd9e0=_0x4b7371();while(!![]){try{var _0x237b42=parseInt(_0x5a05e8(0x9a))/0x1*(-parseInt(_0x5a05e8(0x314))/0x2)+parseInt(_0x5a05e8(0x38d))/0x3*(-parseInt(_0x5a05e8(0x343))/0x4)+-parseInt(_0x5a05e8(0x289))/0x5+-parseInt(_0x5a05e8(0x2d0))/0x6*(parseInt(_0x5a05e8(0x26f))/0x7)+-parseInt(_0x5a05e8(0x174))/0x8*(-parseInt(_0x5a05e8(0x75))/0x9)+-parseInt(_0x5a05e8(0x269))/0xa*(parseInt(_0x5a05e8(0x25e))/0xb)+-parseInt(_0x5a05e8(0x123))/0xc*(-parseInt(_0x5a05e8(0x388))/0xd);if(_0x237b42===_0x42f250)break;else _0x3bd9e0['push'](_0x3bd9e0['shift']());}catch(_0x38401a){_0x3bd9e0['push'](_0x3bd9e0['shift']());}}}(_0x576f,0xe4e0a));var Di=Object['defineProperty'],yi=(_0x1e20e,_0x19bbba,_0xe4ca54)=>_0x19bbba in _0x1e20e?Di(_0x1e20e,_0x19bbba,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe4ca54}):_0x1e20e[_0x19bbba]=_0xe4ca54,D=(_0xb59a02,_0x3352a2,_0x829348)=>yi(_0xb59a02,typeof _0x3352a2!=_0x23bef1(0x2a4)?_0x3352a2+'':_0x3352a2,_0x829348);import{CollaborationEvent as _0x380110,isTransformMutationsWithChangesetSuccess as _0x47d387,ITransformService as _0x246601,mapDocumentTypeToUniverType as _0x23b113,RevisionService as _0x337829,isTransformChangesetsSuccess as _0x100cd6,EmptyMutationInfo as _0x3bb5bf,CompressMutationService as _0x4fb3b3,parseProtocolChangeset as _0x3d22ac,uuidv4 as _0x467eda,parseChangesetToProtocol as _0x525103,ISnapshotServerService as _0x188002,SnapshotService as _0x175d98,textEncoder as _0x52b43f,b64DecodeUnicode as _0x27c969,isTransformMutationsWithChangesetFailure as _0x229f85,UniverCollaborationPlugin as _0x2091d5}from'@univerjs-pro/collaboration';import{Inject as _0x5a63ce,UserManagerService as _0x4d273b,Disposable as _0x358c62,UniverInstanceType as _0x22b18a,IUniverInstanceService as _0x37df1d,Optional as _0x5e8b57,RxDisposable as _0x9a530,ILogService as _0x61abde,IConfigService as _0x33ef1e,createIdentifier as _0x112320,Injector as _0x34bd61,Tools as _0x4ac0ea,Rectangle as _0x3d0da4,ICommandService as _0x2e56fb,JSONX as _0x478588,IPermissionService as _0x1c07b9,LocaleService as _0xc18a09,sequenceExecute as _0xb75307,IUndoRedoService as _0x3a7a36,toDisposable as _0x98265e,CommandType as _0x50a316,DisposableCollection as _0x255c0e,Workbook as _0x53f3d8,resolveWithBasePath as _0x58469a,generateRandomId as _0x3ddce4,MentionType as _0x41d90e,isInternalEditorID as _0x358d70,LocalUndoRedoService as _0x222607,IContextService as _0x394e01,DependentOn as _0x5595a6,Plugin as _0x475fde,merge as _0x548d83,mergeOverrideWithDependencies as _0x12d433,IAuthzIoService as _0x54fa0d,IMentionIOService as _0x4667a6,registerDependencies as _0x3d6ee4,Quantity as _0x55435b,touchDependencies as _0x1d9225}from'@univerjs/core';import{RichTextEditingMutation as _0x348798}from'@univerjs/docs';import{SheetsSelectionsService as _0x57629b,SetSelectionsOperation as _0x502832,InsertSheetMutation as _0x4b095f,WorkbookEditablePermission as _0x4ea1ba,SheetPermissionInitController as _0x499b4b}from'@univerjs/sheets';import{Subject as _0x4d51e0,merge as _0x365f75,of as _0x567f70,BehaviorSubject as _0x2025e8,takeUntil as _0x4ba366,ReplaySubject as _0x2e54b8,take as _0x334ff4,map as _0x2e8185,shareReplay as _0x365ff8,firstValueFrom as _0x3c2d69,concatMap as _0x14a2ca}from'rxjs';import{ITelemetryService as _0x1d3475}from'@univerjs/telemetry';import{map as _0x12c64a,take as _0x47557b,filter as _0x26e4d6,delay as _0x2379ef,takeUntil as _0x5c3092}from'rxjs/operators';import{HTTPService as _0x2d4854,ISocketService as _0x2efba6,MergeInterceptorFactory as _0x87529e,HTTPRequest as _0xc542a7,UniverNetworkPlugin as _0x18a53c,ThresholdInterceptorFactory as _0x468b1f}from'@univerjs/network';function _0x161f(_0x44fb47,_0x59a59b){_0x44fb47=_0x44fb47-0x6b;var _0x576f0d=_0x576f();var _0x161fde=_0x576f0d[_0x44fb47];return _0x161fde;}import{getGlobalObject as _0x321d7a,UniverLicensePlugin as _0x5c41ba}from'@univerjs-pro/license';import{ImageSourceType as _0x578b22,ImageUploadStatusType as _0x3b2bb9,IImageIoService as _0x4db160}from'@univerjs/drawing';const ps=_0x23bef1(0x2f7),ms=_0x23bef1(0x1bf),Is=0x7d0,Ss=_0x23bef1(0x357),Rr='/universer-api/user/session-ticket',gs=_0x23bef1(0x22b),Ts=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Os=0x4e20,Rs=_0x23bef1(0x261),Ns=0x3,Nr=_0x23bef1(0x29e),Cr=0x3e8,Cs=_0x23bef1(0x193),bs='/universer-api/oidc/authpage',br=_0x23bef1(0x1e4),Dr=_0x23bef1(0x2c1);var vi=(_0x391a52=>(_0x391a52[_0x391a52[_0x23bef1(0x21b)]=0x0]=_0x23bef1(0x21b),_0x391a52[_0x391a52['OK']=0x1]='OK',_0x391a52[_0x391a52['INTERNAL_ERROR']=0x2]=_0x23bef1(0x307),_0x391a52[_0x391a52[_0x23bef1(0x29b)]=0x3]=_0x23bef1(0x29b),_0x391a52[_0x391a52[_0x23bef1(0x2c9)]=0x4]=_0x23bef1(0x2c9),_0x391a52[_0x391a52[_0x23bef1(0x92)]=0x5]='UNAUTHENTICATED',_0x391a52[_0x391a52[_0x23bef1(0x346)]=0x6]=_0x23bef1(0x346),_0x391a52[_0x391a52[_0x23bef1(0x1fd)]=0x7]=_0x23bef1(0x1fd),_0x391a52[_0x391a52['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x391a52[_0x391a52[_0x23bef1(0x13d)]=0x9]=_0x23bef1(0x13d),_0x391a52[_0x391a52[_0x23bef1(0x248)]=0xa]=_0x23bef1(0x248),_0x391a52[_0x391a52[_0x23bef1(0x1ba)]=0xb]=_0x23bef1(0x1ba),_0x391a52[_0x391a52[_0x23bef1(0x1ab)]=0xc]=_0x23bef1(0x1ab),_0x391a52[_0x391a52[_0x23bef1(0x315)]=0xd]=_0x23bef1(0x315),_0x391a52[_0x391a52['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x391a52[_0x391a52['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x23bef1(0x28e),_0x391a52[_0x391a52['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x23bef1(0x138),_0x391a52[_0x391a52[_0x23bef1(0xf5)]=0x64]=_0x23bef1(0xf5),_0x391a52[_0x391a52[_0x23bef1(0x367)]=0x65]=_0x23bef1(0x367),_0x391a52[_0x391a52[_0x23bef1(0x1c5)]=0xc9]='USER_NOT_FOUND',_0x391a52[_0x391a52[_0x23bef1(0x2bf)]=0xca]=_0x23bef1(0x2bf),_0x391a52[_0x391a52[_0x23bef1(0x15e)]=0x1389]=_0x23bef1(0x15e),_0x391a52[_0x391a52[_0x23bef1(0x1d0)]=0x1771]=_0x23bef1(0x1d0),_0x391a52[_0x391a52[_0x23bef1(0xeb)]=0x1772]=_0x23bef1(0xeb),_0x391a52[_0x391a52[_0x23bef1(0x384)]=0x1773]=_0x23bef1(0x384),_0x391a52[_0x391a52['APPLY_REJECT']=0x1b59]=_0x23bef1(0xdb),_0x391a52[_0x391a52[_0x23bef1(0x217)]=0x1b5a]=_0x23bef1(0x217),_0x391a52[_0x391a52[_0x23bef1(0x352)]=0x1b5b]=_0x23bef1(0x352),_0x391a52[_0x391a52[_0x23bef1(0x278)]=0x1b5c]=_0x23bef1(0x278),_0x391a52[_0x391a52[_0x23bef1(0x17d)]=0x1b5d]=_0x23bef1(0x17d),_0x391a52[_0x391a52[_0x23bef1(0x99)]=0x1f41]=_0x23bef1(0x99),_0x391a52[_0x391a52[_0x23bef1(0xe5)]=0x2329]=_0x23bef1(0xe5),_0x391a52[_0x391a52[_0x23bef1(0x133)]=0x232a]=_0x23bef1(0x133),_0x391a52[_0x391a52[_0x23bef1(0x2ad)]=0x232b]=_0x23bef1(0x2ad),_0x391a52[_0x391a52[_0x23bef1(0x20c)]=0x232c]=_0x23bef1(0x20c),_0x391a52[_0x391a52[_0x23bef1(0x23b)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x391a52[_0x391a52[_0x23bef1(0x9e)]=0x2711]=_0x23bef1(0x9e),_0x391a52[_0x391a52['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x391a52[_0x391a52[_0x23bef1(0xcc)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x391a52[_0x391a52[_0x23bef1(0x263)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x391a52[_0x391a52[_0x23bef1(0x30d)]=0x271a]=_0x23bef1(0x30d),_0x391a52[_0x391a52['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x23bef1(0x108),_0x391a52[_0x391a52[_0x23bef1(0x363)]=0x271c]=_0x23bef1(0x363),_0x391a52[_0x391a52[_0x23bef1(0xe3)]=0x271d]=_0x23bef1(0xe3),_0x391a52[_0x391a52[_0x23bef1(0x12d)]=0x271e]=_0x23bef1(0x12d),_0x391a52[_0x391a52[_0x23bef1(0x275)]=0x271f]=_0x23bef1(0x275),_0x391a52[_0x391a52[_0x23bef1(0x380)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x391a52[_0x391a52[_0x23bef1(0x152)]=0x2af9]=_0x23bef1(0x152),_0x391a52[_0x391a52['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x23bef1(0x1ef),_0x391a52[_0x391a52[_0x23bef1(0x26c)]=0x2ee2]='INVALID_INVITE_CODE',_0x391a52[_0x391a52['INVITE_CODE_REQUIRED']=0x2ee3]=_0x23bef1(0x294),_0x391a52[_0x391a52['USER_NOT_INVITED_CODE']=0x2ee4]=_0x23bef1(0x296),_0x391a52[_0x391a52[_0x23bef1(0x1fc)]=0x2ee5]=_0x23bef1(0x1fc),_0x391a52[_0x391a52['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x391a52[_0x391a52['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x23bef1(0x183),_0x391a52[_0x391a52[_0x23bef1(0x386)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x391a52[_0x391a52[_0x23bef1(0x1b8)]=0x36b1]=_0x23bef1(0x1b8),_0x391a52[_0x391a52[_0x23bef1(0x376)]=0x36b2]=_0x23bef1(0x376),_0x391a52[_0x391a52[_0x23bef1(0xa5)]=0x36b3]=_0x23bef1(0xa5),_0x391a52[_0x391a52[_0x23bef1(0x237)]=0x36b4]=_0x23bef1(0x237),_0x391a52[_0x391a52[_0x23bef1(0x359)]=0x36b5]=_0x23bef1(0x359),_0x391a52[_0x391a52[_0x23bef1(0x12a)]=0x36b6]=_0x23bef1(0x12a),_0x391a52[_0x391a52[_0x23bef1(0x31e)]=0x36b7]=_0x23bef1(0x31e),_0x391a52[_0x391a52['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x391a52[_0x391a52['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x23bef1(0x251),_0x391a52[_0x391a52[_0x23bef1(0x2c4)]=0x3716]=_0x23bef1(0x2c4),_0x391a52[_0x391a52[_0x23bef1(0x203)]=0x3717]=_0x23bef1(0x203),_0x391a52[_0x391a52[_0x23bef1(0xa4)]=0x37dd]=_0x23bef1(0xa4),_0x391a52[_0x391a52[_0x23bef1(0x22c)]=0x3a99]=_0x23bef1(0x22c),_0x391a52[_0x391a52['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x23bef1(0x2d8),_0x391a52[_0x391a52['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x23bef1(0x2f3),_0x391a52[_0x391a52[_0x23bef1(0x358)]=0x3a9c]=_0x23bef1(0x358),_0x391a52[_0x391a52[_0x23bef1(0x195)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x391a52[_0x391a52[_0x23bef1(0x389)]=0x3a9e]=_0x23bef1(0x389),_0x391a52[_0x391a52[_0x23bef1(0x354)]=0x3a9f]=_0x23bef1(0x354),_0x391a52[_0x391a52[_0x23bef1(0xac)]=0x3e81]=_0x23bef1(0xac),_0x391a52[_0x391a52[_0x23bef1(0x110)]=-0x1]=_0x23bef1(0x110),_0x391a52))(vi||{}),Q=(_0x13713e=>(_0x13713e[_0x13713e[_0x23bef1(0x23e)]=0x0]='UNIVER_UNKNOWN',_0x13713e[_0x13713e[_0x23bef1(0x128)]=0x1]=_0x23bef1(0x128),_0x13713e[_0x13713e[_0x23bef1(0xde)]=0x2]='UNIVER_SHEET',_0x13713e[_0x13713e[_0x23bef1(0x245)]=0x3]=_0x23bef1(0x245),_0x13713e[_0x13713e[_0x23bef1(0x15a)]=0x4]='UNIVER_PROJECT',_0x13713e[_0x13713e['UNRECOGNIZED']=-0x1]=_0x23bef1(0x110),_0x13713e))(Q||{}),j=(_0x531f84=>(_0x531f84[_0x531f84['UNKNOWN_CMD']=0x0]=_0x23bef1(0x290),_0x531f84[_0x531f84[_0x23bef1(0x1d7)]=0x1]=_0x23bef1(0x1d7),_0x531f84[_0x531f84[_0x23bef1(0x13c)]=0x2]=_0x23bef1(0x13c),_0x531f84[_0x531f84[_0x23bef1(0x32a)]=0x3]='LEAVE',_0x531f84[_0x531f84[_0x23bef1(0x2f4)]=0x4]=_0x23bef1(0x2f4),_0x531f84[_0x531f84[_0x23bef1(0x1b2)]=0x5]=_0x23bef1(0x1b2),_0x531f84[_0x531f84[_0x23bef1(0x2ed)]=0x6]=_0x23bef1(0x2ed),_0x531f84[_0x531f84[_0x23bef1(0x110)]=-0x1]='UNRECOGNIZED',_0x531f84))(j||{}),Ee=(_0x362634=>(_0x362634[_0x362634[_0x23bef1(0x74)]=0x0]=_0x23bef1(0x74),_0x362634[_0x362634['OK']=0x1]='OK',_0x362634[_0x362634[_0x23bef1(0xf4)]=0x2]=_0x23bef1(0xf4),_0x362634[_0x362634[_0x23bef1(0x132)]=0x3e9]=_0x23bef1(0x132),_0x362634[_0x362634['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x23bef1(0x35f),_0x362634[_0x362634[_0x23bef1(0x145)]=0x3eb]=_0x23bef1(0x145),_0x362634[_0x362634[_0x23bef1(0x125)]=0x3ec]=_0x23bef1(0x125),_0x362634[_0x362634['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x362634))(Ee||{}),Ei=(_0x984b58=>(_0x984b58[_0x984b58['Undefined']=0x0]='Undefined',_0x984b58[_0x984b58['HttpImport']=0x1]=_0x23bef1(0x1d4),_0x984b58[_0x984b58[_0x23bef1(0xfd)]=0x2]=_0x23bef1(0xfd),_0x984b58[_0x984b58[_0x23bef1(0x33a)]=0x3]=_0x23bef1(0x33a),_0x984b58[_0x984b58[_0x23bef1(0x1ed)]=0x4]=_0x23bef1(0x1ed),_0x984b58[_0x984b58[_0x23bef1(0x26d)]=0x5]=_0x23bef1(0x26d),_0x984b58[_0x984b58[_0x23bef1(0x295)]=0x6]=_0x23bef1(0x295),_0x984b58[_0x984b58[_0x23bef1(0x110)]=-0x1]='UNRECOGNIZED',_0x984b58))(Ei||{});const Ds=_0x23bef1(0x31f);function ys(_0x3e3f13){var _0x53f356=_0x23bef1;return JSON[_0x53f356(0x10a)](_0x3e3f13)[_0x53f356(0x17e)];}var re=(_0x292b73=>(_0x292b73[_0x23bef1(0xdd)]=_0x23bef1(0xdd),_0x292b73['PERMISSION_DENIED']=_0x23bef1(0x29b),_0x292b73[_0x23bef1(0x2ae)]='CONFLICT',_0x292b73['CLOSE_ROOM']='CLOSE_ROOM',_0x292b73['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x292b73['SOCKET_FAILED_RETRY']=_0x23bef1(0x34a),_0x292b73[_0x23bef1(0x137)]=_0x23bef1(0x137),_0x292b73[_0x23bef1(0x1a4)]=_0x23bef1(0x1a4),_0x292b73))(re||{});class ve{constructor(){var _0x1a1145=_0x23bef1;D(this,_0x1a1145(0x1f2),new _0x4d51e0()),D(this,'event$',this[_0x1a1145(0x1f2)][_0x1a1145(0x1aa)]());}[_0x23bef1(0x7e)](_0x4f61d4){var _0x5be31d=_0x23bef1;this[_0x5be31d(0x1f2)][_0x5be31d(0xb8)](_0x4f61d4);}}class pi{constructor(){var _0x393598=_0x23bef1;D(this,_0x393598(0x2e1),new _0x4d51e0()),D(this,'commentUpdate$',this[_0x393598(0x2e1)][_0x393598(0x1aa)]());}[_0x23bef1(0x304)](_0x2f5c01){var _0x18cd3=_0x23bef1;this[_0x18cd3(0x2e1)][_0x18cd3(0xb8)](_0x2f5c01);}}var Us=Object['getOwnPropertyDescriptor'],As=(_0x11be57,_0x110630,_0x5c55b1,_0x2bb0c0)=>{for(var _0x42287f=_0x2bb0c0>0x1?void 0x0:_0x2bb0c0?Us(_0x110630,_0x5c55b1):_0x110630,_0x242183=_0x11be57['length']-0x1,_0x334a6d;_0x242183>=0x0;_0x242183--)(_0x334a6d=_0x11be57[_0x242183])&&(_0x42287f=_0x334a6d(_0x42287f)||_0x42287f);return _0x42287f;},Ft=(_0xf31115,_0x296730)=>(_0x26eca5,_0x174de8)=>_0x296730(_0x26eca5,_0x174de8,_0xf31115);let Pe=class extends _0x358c62{constructor(_0x370c42,_0x1f7b9f){var _0xe96098=_0x23bef1;super(),D(this,_0xe96098(0x325),new Map()),D(this,_0xe96098(0x1dd),new _0x4d51e0()),(this['_univerInstanceService']=_0x370c42,this[_0xe96098(0x324)]=_0x1f7b9f,this[_0xe96098(0xf6)](_0x365f75(this['_univerInstanceService'][_0xe96098(0x282)](_0x22b18a[_0xe96098(0xde)])[_0xe96098(0x233)](_0x12c64a(_0x4b1851=>_0x4b1851['getUnitId']())),this[_0xe96098(0x9c)]['getTypeOfUnitDisposed$'](_0x22b18a[_0xe96098(0x128)])['pipe'](_0x12c64a(_0x45317d=>_0x45317d[_0xe96098(0xa0)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x22b18a['UNIVER_SLIDE'])[_0xe96098(0x233)](_0x12c64a(_0x574dcd=>_0x574dcd[_0xe96098(0xa0)]())))[_0xe96098(0x300)](_0x54d047=>this[_0xe96098(0x347)](_0x54d047))));}[_0x23bef1(0x11c)](_0x457b40){var _0x426b81=_0x23bef1;return this[_0x426b81(0x325)][_0x426b81(0x1ac)](_0x457b40)?_0x567f70(this[_0x426b81(0x325)][_0x426b81(0x90)](_0x457b40)):this['_roomCreated$'][_0x426b81(0x233)](_0x12c64a(_0x532064=>{var _0x275d5e=_0x426b81;if(_0x532064===_0x457b40)return this[_0x275d5e(0x325)][_0x275d5e(0x90)](_0x532064);}));}[_0x23bef1(0x29d)](_0x1c611d){var _0x3dddb8=_0x23bef1;this[_0x3dddb8(0x324)][_0x3dddb8(0x29d)](_0x1c611d);}[_0x23bef1(0x1b1)](){var _0x206f0=_0x23bef1;return this['_userManagerService'][_0x206f0(0x1b1)]();}['updateMember'](_0x3ac50b,_0x2fc939){var _0x34f033=_0x23bef1;let _0x1261bb=this[_0x34f033(0x325)]['get'](_0x3ac50b);_0x1261bb||(_0x1261bb=new Ps(),this[_0x34f033(0x325)][_0x34f033(0x2ab)](_0x3ac50b,_0x1261bb),this[_0x34f033(0x1dd)][_0x34f033(0xb8)](_0x3ac50b)),_0x1261bb[_0x34f033(0x1df)](_0x2fc939);}[_0x23bef1(0x371)](_0x40a9b6,_0x2f449a){var _0x4c55b2=_0x23bef1;const _0x35b55b=this[_0x4c55b2(0x325)][_0x4c55b2(0x90)](_0x40a9b6);_0x35b55b&&_0x35b55b[_0x4c55b2(0x371)](_0x2f449a);}[_0x23bef1(0x2d3)](_0x4fb258){var _0x56fc3f=_0x23bef1;return this[_0x56fc3f(0x325)]['get'](_0x4fb258);}[_0x23bef1(0x31a)](_0x492bea,_0x3f45cb){var _0x47262c=_0x23bef1;const _0x5af8b2=this[_0x47262c(0x325)][_0x47262c(0x90)](_0x492bea);if(_0x5af8b2)return _0x5af8b2[_0x47262c(0x31a)](_0x3f45cb);}[_0x23bef1(0x347)](_0x3356dc){var _0x1ea15f=_0x23bef1;const _0x747c58=this[_0x1ea15f(0x325)][_0x1ea15f(0x90)](_0x3356dc);_0x747c58&&(_0x747c58[_0x1ea15f(0x76)](),this[_0x1ea15f(0x325)]['delete'](_0x3356dc));}['dispose'](){var _0x36b4a6=_0x23bef1;this[_0x36b4a6(0x325)][_0x36b4a6(0x192)](_0x38aa06=>_0x38aa06['dispose']()),this['_roomMembers'][_0x36b4a6(0x227)](),this['_roomCreated$'][_0x36b4a6(0x250)]();}};Pe=As([Ft(0x0,_0x37df1d),Ft(0x1,_0x5a63ce(_0x4d273b))],Pe);class Ps extends _0x358c62{constructor(){var _0xf045a9=_0x23bef1;super(...arguments),D(this,'_members',new Map()),D(this,_0xf045a9(0x2d7),new _0x2025e8(this[_0xf045a9(0x22d)])),D(this,_0xf045a9(0x1dc),this[_0xf045a9(0x2d7)][_0xf045a9(0x1aa)]());}[_0x23bef1(0x76)](){var _0x16f7b8=_0x23bef1;this[_0x16f7b8(0x22d)][_0x16f7b8(0x227)]();}[_0x23bef1(0x1df)](_0x481c0f){var _0x4fc659=_0x23bef1;this['_members'][_0x4fc659(0x2ab)](_0x481c0f['memberID'],_0x481c0f),this[_0x4fc659(0x360)]();}[_0x23bef1(0x371)](_0x6bc004){this['_members']['delete'](_0x6bc004);}[_0x23bef1(0x31a)](_0x506a1d){var _0x2fdd1c=_0x23bef1;return this[_0x2fdd1c(0x22d)]['get'](_0x506a1d);}['getAllMembers'](){var _0x2050c3=_0x23bef1;return Array[_0x2050c3(0xe6)](this[_0x2050c3(0x22d)]['values']());}[_0x23bef1(0x360)](){var _0x693ec4=_0x23bef1;this['_members$']['next'](this[_0x693ec4(0x22d)]);}}var ws=Object[_0x23bef1(0x194)],Ls=(_0x3c370e,_0x37371d,_0xb91469,_0x54d006)=>{var _0x3329eb=_0x23bef1;for(var _0x26e9e0=_0x54d006>0x1?void 0x0:_0x54d006?ws(_0x37371d,_0xb91469):_0x37371d,_0x2e8040=_0x3c370e[_0x3329eb(0x17e)]-0x1,_0x17a3f0;_0x2e8040>=0x0;_0x2e8040--)(_0x17a3f0=_0x3c370e[_0x2e8040])&&(_0x26e9e0=_0x17a3f0(_0x26e9e0)||_0x26e9e0);return _0x26e9e0;},Oe=(_0x1cbbe1,_0x28dd41)=>(_0x24e61f,_0x1b994b)=>_0x28dd41(_0x24e61f,_0x1b994b,_0x1cbbe1),me=(_0x3c456d=>(_0x3c456d[_0x3c456d[_0x23bef1(0x104)]=0x0]='IDLE',_0x3c456d[_0x3c456d[_0x23bef1(0xc8)]=0x1]='JOINING',_0x3c456d[_0x3c456d['OFFLINE']=0x2]=_0x23bef1(0x2a5),_0x3c456d[_0x3c456d['ONLINE']=0x3]='ONLINE',_0x3c456d))(me||{});const jt={[Ee[_0x23bef1(0xf4)]]:'session.join-failed',[Ee[_0x23bef1(0x132)]]:_0x23bef1(0xb1),[Ee[_0x23bef1(0x35f)]]:_0x23bef1(0x38f),[Ee[_0x23bef1(0x145)]]:_0x23bef1(0x18d),[Ee[_0x23bef1(0x125)]]:_0x23bef1(0x14b)};let mt=class extends _0x9a530{constructor(_0x3523c6,_0x3fb47d,_0xb0a4cc,_0x290af7,_0x4d00c4,_0xdfe4a,_0xae13ae,_0x28d603){var _0x118325=_0x23bef1;super(),D(this,_0x118325(0xfe),new _0x2025e8(0x0)),D(this,_0x118325(0xae),this[_0x118325(0xfe)]['asObservable']()),D(this,_0x118325(0x1f2),new _0x4d51e0()),D(this,_0x118325(0x19e),this[_0x118325(0x1f2)][_0x118325(0x1aa)]()),D(this,'_socket'),D(this,_0x118325(0x156)),D(this,_0x118325(0x78)),D(this,_0x118325(0x320),!0x1),D(this,_0x118325(0x70),null),(this[_0x118325(0x323)]=_0x3523c6,this[_0x118325(0x170)]=_0xb0a4cc,this['_configService']=_0x290af7,this[_0x118325(0x1c9)]=_0x4d00c4,this[_0x118325(0xa2)]=_0xdfe4a,this['_collaborationUIEventService']=_0xae13ae,this['_telemetryService']=_0x28d603,this['_shouldReportTelemetry']=!!this[_0x118325(0x336)],_0x3fb47d[_0x118325(0x233)](_0x4ba366(this['dispose$']))[_0x118325(0x300)](_0x3092cf=>{var _0xde3d8a=_0x118325,_0x107ae0;typeof _0x3092cf>'u'||(this[_0xde3d8a(0x115)]=_0x3092cf,_0x3092cf?(this[_0xde3d8a(0xc9)](_0x3092cf),this['_socketMessageSubscription']=_0x3092cf[_0xde3d8a(0x218)][_0xde3d8a(0x300)](_0x88eb8b=>{var _0x125076=_0xde3d8a;_0x88eb8b[_0x125076(0xe4)]===this['_unitID']&&this[_0x125076(0xce)](_0x88eb8b);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0xde3d8a(0xfe)]['next'](0x2),(_0x107ae0=this[_0xde3d8a(0x156)])==null||_0x107ae0['unsubscribe'](),this[_0xde3d8a(0x156)]=null));}));}get[_0x23bef1(0x2b2)](){var _0x1b54cd=_0x23bef1;return this[_0x1b54cd(0xfe)][_0x1b54cd(0x383)]();}['getMemberID'](){var _0x2119bc,_0x4249cd;return(_0x4249cd=(_0x2119bc=this['_socket'])==null?void 0x0:_0x2119bc['memberID'])!=null?_0x4249cd:null;}[_0x23bef1(0x76)](){var _0x50300f=_0x23bef1;super['dispose'](),this[_0x50300f(0x10e)][_0x50300f(0xb8)](),this[_0x50300f(0x10e)][_0x50300f(0x250)]();}[_0x23bef1(0x1da)](){var _0x356249=_0x23bef1,_0x3a6483,_0x576d37;this[_0x356249(0x20d)](),(_0x3a6483=this[_0x356249(0x115)])==null||_0x3a6483['send']({'cmd':j[_0x356249(0x32a)],'data':{'roomID':this[_0x356249(0x323)]}}),(_0x576d37=this[_0x356249(0x115)])==null||_0x576d37['close'](),this[_0x356249(0x1f2)]['complete'](),this[_0x356249(0xfe)][_0x356249(0x250)](),this[_0x356249(0x76)]();}[_0x23bef1(0xce)](_0x44d8bb){var _0x76918d=_0x23bef1;_0x44d8bb[_0x76918d(0x378)]===j[_0x76918d(0x13c)]?this['_onJoinRoomEvent'](_0x44d8bb):_0x44d8bb[_0x76918d(0x378)]===j[_0x76918d(0x2ed)]&&this[_0x76918d(0x82)](_0x44d8bb);}[_0x23bef1(0xc9)](_0x4edfd0){var _0x36846e=_0x23bef1;this[_0x36846e(0xfe)][_0x36846e(0xb8)](0x1),_0x4edfd0[_0x36846e(0x274)]({'cmd':j[_0x36846e(0x13c)],'routeKey':this[_0x36846e(0x323)],'routeType':'','data':{'rooms':[{'roomID':this[_0x36846e(0x323)]}]}});}[_0x23bef1(0x214)](_0x2ee3ea){var _0x14f692=_0x23bef1,_0x26e4f8;if(_0x2ee3ea[_0x14f692(0x16b)]in jt){this[_0x14f692(0x1a6)][_0x14f692(0x7e)]({'id':re[_0x14f692(0x30b)],'data':jt[_0x2ee3ea['code']]}),this[_0x14f692(0xfe)][_0x14f692(0xb8)](0x2);return;}this['_sessionStatus$'][_0x14f692(0xb8)](0x3);const _0x23eaff=(_0x26e4f8=_0x2ee3ea[_0x14f692(0x369)][_0x14f692(0x1fe)][this[_0x14f692(0x323)]])==null?void 0x0:_0x26e4f8['members'];_0x23eaff&&_0x23eaff[_0x14f692(0x192)](_0x49ff82=>this[_0x14f692(0x1c9)][_0x14f692(0x1df)](this[_0x14f692(0x323)],_0x49ff82));}[_0x23bef1(0x82)](_0x35eb36){var _0x36eade=_0x23bef1;try{const _0x28ed07=_0x35eb36['data'];switch(_0x28ed07['eventID']){case _0x380110['USERS_ENTER']:this[_0x36eade(0x2e5)](_0x28ed07),this['_event$']['next'](_0x28ed07);break;case _0x380110['USERS_LEAVE']:this['_onUserLeave'](_0x28ed07),this[_0x36eade(0x1f2)][_0x36eade(0xb8)](_0x28ed07);break;case _0x380110[_0x36eade(0x2c6)]:case _0x380110[_0x36eade(0x229)]:this[_0x36eade(0x2ef)](),this['_clearCollaborationTimeoutTimer'](),this[_0x36eade(0x1f2)][_0x36eade(0xb8)](_0x28ed07);break;case _0x380110[_0x36eade(0x305)]:this[_0x36eade(0x170)][_0x36eade(0xc4)](_0x36eade(0x310)+JSON[_0x36eade(0x10a)](_0x28ed07)),this[_0x36eade(0x1f2)][_0x36eade(0xb8)](_0x28ed07);break;case _0x380110[_0x36eade(0x22a)]:this['_commentService'][_0x36eade(0x304)](_0x28ed07['data']),this[_0x36eade(0x1f2)][_0x36eade(0xb8)](_0x28ed07);break;default:this['_event$']['next'](_0x28ed07);}}catch(_0x5acaa7){this[_0x36eade(0x170)][_0x36eade(0xc4)](_0x5acaa7,_0x35eb36);}}[_0x23bef1(0x2e5)](_0x4761d7){var _0x37b94b=_0x23bef1;this[_0x37b94b(0x1c9)]['updateMember'](this[_0x37b94b(0x323)],_0x4761d7[_0x37b94b(0x369)]);}[_0x23bef1(0x280)](_0x71c320){var _0x394987=_0x23bef1;this[_0x394987(0x1c9)][_0x394987(0x371)](this[_0x394987(0x323)],_0x71c320[_0x394987(0x369)][_0x394987(0x19b)]);}async[_0x23bef1(0x274)](_0x3c6ace,_0x51c574){var _0x3ea07b=_0x23bef1;if(this[_0x3ea07b(0x2b2)]!==0x3||!this[_0x3ea07b(0x115)])throw new Error(_0x3ea07b(0x1f4));try{_0x3c6ace['eventID']===_0x380110[_0x3ea07b(0x379)]&&(this[_0x3ea07b(0x34d)](),this[_0x3ea07b(0xd6)](_0x3c6ace)),this[_0x3ea07b(0x115)]['send']({'cmd':j[_0x3ea07b(0x2f4)],'routeKey':_0x51c574,'routeType':'','data':_0x3c6ace});}catch(_0x342d91){this[_0x3ea07b(0x170)][_0x3ea07b(0xc4)](_0x342d91);}}[_0x23bef1(0x34d)](){var _0x3f1846=_0x23bef1,_0x2b0d30;this[_0x3f1846(0x78)]=setTimeout(()=>{var _0x1c4941=_0x3f1846;this['_collaborationTimeoutTimer']=null,this[_0x1c4941(0x1a6)]['emitEvent']({'id':re[_0x1c4941(0x1a4)]});},(_0x2b0d30=this['_configService'][_0x3f1846(0x200)](di))!=null?_0x2b0d30:fi);}['_clearCollaborationTimeoutTimer'](){var _0x31dc1b=_0x23bef1;this[_0x31dc1b(0x78)]&&(clearTimeout(this[_0x31dc1b(0x78)]),this[_0x31dc1b(0x78)]=null);}[_0x23bef1(0xd6)](_0x165544){var _0x413282=_0x23bef1;if(!this['_shouldReportTelemetry'])return;const {data:_0x370329}=_0x165544,{unitID:_0x12a1f6,changeset:_0x3f30b3}=_0x370329,{mutations:_0x5bbd03,type:_0x4f265d}=_0x3f30b3;this[_0x413282(0x70)]={'unitId':_0x12a1f6,'type':_0x4f265d,'startTime':performance[_0x413282(0x2ea)](),'stopTime':0x0,'duration':0x0,'size':ys(_0x5bbd03)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x17b77a=_0x23bef1;if(this[_0x17b77a(0x320)]){if(!this['_telemetryInfo']){this[_0x17b77a(0x170)]['error'](_0x17b77a(0x135),_0x17b77a(0x1a7));return;}this[_0x17b77a(0x70)]['stopTime']=performance[_0x17b77a(0x2ea)](),this[_0x17b77a(0x70)]['duration']=this[_0x17b77a(0x70)][_0x17b77a(0x301)]-this[_0x17b77a(0x70)][_0x17b77a(0x1e1)],this[_0x17b77a(0x336)][_0x17b77a(0x16c)](Ds,this[_0x17b77a(0x70)]),this[_0x17b77a(0x70)]=null;}}[_0x23bef1(0x20d)](){var _0x3a8c8d=_0x23bef1;this[_0x3a8c8d(0x70)]=null;}};mt=Ls([Oe(0x2,_0x61abde),Oe(0x3,_0x33ef1e),Oe(0x4,_0x5a63ce(Pe)),Oe(0x5,_0x5a63ce(pi)),Oe(0x6,_0x5a63ce(ve)),Oe(0x7,_0x5e8b57(_0x1d3475))],mt);const X=_0x112320(_0x23bef1(0x373));function yr(_0x5a2d2e){var _0x354a19=_0x23bef1;return _0x354a19(0x356)+_0x5a2d2e;}var Ms=Object[_0x23bef1(0x194)],xs=(_0x4ea299,_0x139a86,_0x5178e7,_0x568f84)=>{var _0x3ba425=_0x23bef1;for(var _0x535fc8=_0x568f84>0x1?void 0x0:_0x568f84?Ms(_0x139a86,_0x5178e7):_0x139a86,_0x3f8391=_0x4ea299[_0x3ba425(0x17e)]-0x1,_0x3196ca;_0x3f8391>=0x0;_0x3f8391--)(_0x3196ca=_0x4ea299[_0x3f8391])&&(_0x535fc8=_0x3196ca(_0x535fc8)||_0x535fc8);return _0x535fc8;},ut=(_0x5c1ea9,_0x3e7bda)=>(_0x4e253d,_0x26f63a)=>_0x3e7bda(_0x4e253d,_0x26f63a,_0x5c1ea9);function ks(_0x1783b7){var _0x46ce1b=_0x23bef1;const {unitID:_0x99fb10,mutations:_0x24022b}=_0x1783b7;return{'unitId':_0x99fb10,'subUnitId':_0x24022b[_0x46ce1b(0x17e)]>0x0?_0x24022b[0x0][_0x46ce1b(0x6d)]['subUnitId']:null};}let it=class{constructor(_0x3fde2d,_0x8a04b8,_0x48bdc7){var _0x4065c1=_0x23bef1;this[_0x4065c1(0x2ca)]=_0x3fde2d,this['_transformService']=_0x8a04b8,this[_0x4065c1(0x29a)]=_0x48bdc7;}['transformSelections'](_0x44a6b3){var _0x2ab354=_0x23bef1,_0x62cc81,_0x4b9b75,_0x20b99c,_0x3132b9;const _0x18dd9f=this[_0x2ab354(0x2ca)]['get'](_0x57629b),{unitId:_0x2cb463,subUnitId:_0x1a931c}=ks(_0x44a6b3),_0x2d0212=_0x18dd9f==null?void 0x0:_0x18dd9f[_0x2ab354(0x1f6)](_0x2cb463)[_0x2ab354(0x326)](),_0xc993e5=(_0x4b9b75=(_0x62cc81=this['_instanceService']['getUnit'](_0x2cb463))==null?void 0x0:_0x62cc81['getActiveSheet']())==null?void 0x0:_0x4b9b75[_0x2ab354(0xe8)]();if(_0x2d0212['length']===0x0||!_0x2cb463||!_0x1a931c)return;const _0x4803a8=[{'id':_0x502832['id'],'params':{'unitId':_0x2cb463,'subUnitId':_0xc993e5,'selections':_0x4ac0ea[_0x2ab354(0x35d)](_0x2d0212)}}],_0x2ed8f6=this[_0x2ab354(0x190)][_0x2ab354(0x26a)](_0x44a6b3,_0x4803a8);if(!_0x47d387(_0x2ed8f6))throw _0x2ed8f6[_0x2ab354(0xc4)];const _0x3dafbc=(_0x3132b9=(_0x20b99c=_0x2ed8f6['m2Prime'][0x0])==null?void 0x0:_0x20b99c[_0x2ab354(0x6d)])==null?void 0x0:_0x3132b9[_0x2ab354(0x21a)];if(Array[_0x2ab354(0x232)](_0x3dafbc)&&_0x3dafbc[_0x2ab354(0x17e)]){if(_0x3dafbc['length']===_0x4803a8[0x0][_0x2ab354(0x6d)][_0x2ab354(0x21a)]['length']&&_0x3dafbc['every']((_0x2d0c09,_0x340299)=>_0x3d0da4['equals'](_0x2d0c09[_0x2ab354(0x24c)],_0x4803a8[0x0]['params'][_0x2ab354(0x21a)][_0x340299][_0x2ab354(0x24c)])))return;this[_0x2ab354(0x2ca)][_0x2ab354(0x90)](_0x2e56fb)[_0x2ab354(0x2fd)](_0x502832['id'],{'unitId':_0x2cb463,'subUnitId':_0xc993e5,'selections':_0x3dafbc});}}};it=xs([ut(0x0,_0x5a63ce(_0x34bd61)),ut(0x1,_0x246601),ut(0x2,_0x37df1d)],it);const _t=_0x112320('univer-pro.collaboration-client.single-active-unit-service');var mi=(_0xa5ab4f=>(_0xa5ab4f[_0xa5ab4f[_0x23bef1(0x2c3)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0xa5ab4f[_0xa5ab4f[_0x23bef1(0xb2)]=0x1]=_0x23bef1(0xb2),_0xa5ab4f))(mi||{});const K=_0x23bef1(0x2a0),$s={};function Hs(_0x423724){var _0x4179b7=_0x23bef1,_0x5d8ba4;return!!((_0x5d8ba4=_0x423724['params'])!=null&&_0x5d8ba4[_0x4179b7(0x36c)]);}const Bs=new Set([_0x4b095f['id']]);function Vt(_0x8429bb,_0x1617a9,_0x298757,_0x4b484a,_0x2e0af6){var _0x447901=_0x23bef1,_0x14baad,_0x37dc41,_0x4f4edc,_0x531da0;const _0x3a3865=[];for(const _0x1c631f of _0x8429bb){if(Bs['has'](_0x1c631f['id'])){if(_0x3a3865[_0x447901(0x17e)]>0x0)break;_0x3a3865[_0x447901(0x14a)](_0x1c631f);break;}if(Hs(_0x1c631f)){if(_0x3a3865['length']>0x0)break;_0x3a3865['push'](_0x1c631f);break;}_0x3a3865['push'](_0x1c631f);}const _0x190853=(_0x37dc41=(_0x14baad=_0x2e0af6[_0x447901(0x1b1)]())==null?void 0x0:_0x14baad['userID'])!=null?_0x37dc41:_0x447901(0x6b),_0x13d99c=(_0x531da0=(_0x4f4edc=_0x2e0af6[_0x447901(0x1b1)]())==null?void 0x0:_0x4f4edc[_0x447901(0x19b)])!=null?_0x531da0:'unknown';return{'changeset':{'unitID':_0x1617a9,'type':_0x23b113(_0x298757['getUnitType'](_0x1617a9)),'baseRev':_0x4b484a['getCurrentRevOfUnit'](_0x1617a9),'revision':0x0,'userID':_0x190853,'memberID':_0x13d99c,'mutations':_0x3a3865},'pendingMutations':_0x8429bb['slice'](_0x3a3865[_0x447901(0x17e)])};}function Fs(_0x58287b,_0x1e7dd0,_0x58eeaf,_0xac68c4,_0x2fa600){var _0x350b95=_0x23bef1,_0x1fc3af,_0x1211ff,_0x261aa4,_0x4f7d12;const _0xda42c3=[_0x58287b[_0x350b95(0x10c)]((_0x348cc1,_0x1a7411)=>{var _0x376d40=_0x350b95,_0xc5ed2c;const {id:_0x49f568}=_0x348cc1,{id:_0x3153a2,type:_0x4a235c}=_0x1a7411,_0x5a5e85=(_0xc5ed2c=_0x348cc1[_0x376d40(0x6d)])!=null?_0xc5ed2c:{'actions':null},_0x506f60=_0x1a7411[_0x376d40(0x6d)];if(_0x49f568&&_0x49f568!==_0x3153a2)throw new Error(_0x376d40(0x27b)+_0x49f568+_0x376d40(0x139)+_0x3153a2+'.');return{..._0x348cc1,'id':_0x3153a2,'type':_0x4a235c,'params':{'unitId':_0x506f60['unitId'],'textRanges':_0x506f60[_0x376d40(0xd4)],'actions':_0x478588[_0x376d40(0x1a8)](_0x5a5e85[_0x376d40(0xca)],_0x506f60[_0x376d40(0xca)])}};},{})],_0x24c75c=(_0x1211ff=(_0x1fc3af=_0x2fa600[_0x350b95(0x1b1)]())==null?void 0x0:_0x1fc3af[_0x350b95(0x97)])!=null?_0x1211ff:_0x350b95(0x6b),_0x1fee94=(_0x4f7d12=(_0x261aa4=_0x2fa600[_0x350b95(0x1b1)]())==null?void 0x0:_0x261aa4['memberID'])!=null?_0x4f7d12:'unknown';return{'changeset':{'unitID':_0x1e7dd0,'type':_0x23b113(_0x58eeaf['getUnitType'](_0x1e7dd0)),'baseRev':_0xac68c4[_0x350b95(0x187)](_0x1e7dd0),'revision':0x0,'userID':_0x24c75c,'memberID':_0x1fee94,'mutations':_0xda42c3},'pendingMutations':[]};}function Ii(_0x12633e,_0xca69ce){var _0x1a7199=_0x23bef1;const _0x437d3f=new _0x2e54b8(0x1);return setTimeout(()=>_0x437d3f[_0x1a7199(0xb8)](_0xca69ce),_0x12633e),_0x437d3f[_0x1a7199(0x1aa)]()[_0x1a7199(0x233)](_0x334ff4(0x1));}var js=Object['getOwnPropertyDescriptor'],Se=(_0x36d05b,_0x2a694e,_0xf3d4cf,_0x25b436)=>{var _0x2ae010=_0x23bef1;for(var _0x4444b4=_0x25b436>0x1?void 0x0:_0x25b436?js(_0x2a694e,_0xf3d4cf):_0x2a694e,_0xe6639c=_0x36d05b[_0x2ae010(0x17e)]-0x1,_0x562a8c;_0xe6639c>=0x0;_0xe6639c--)(_0x562a8c=_0x36d05b[_0xe6639c])&&(_0x4444b4=_0x562a8c(_0x4444b4)||_0x4444b4);return _0x4444b4;},w=(_0x553395,_0x4f3b57)=>(_0x5670f0,_0x21d6b6)=>_0x4f3b57(_0x5670f0,_0x21d6b6,_0x553395),Si=(_0x250087=>(_0x250087[_0x23bef1(0x204)]=_0x23bef1(0x285),_0x250087[_0x23bef1(0x317)]='synced',_0x250087[_0x23bef1(0xab)]=_0x23bef1(0x244),_0x250087[_0x23bef1(0x339)]=_0x23bef1(0x94),_0x250087[_0x23bef1(0x2d5)]='awaiting_with_pending',_0x250087[_0x23bef1(0xd5)]=_0x23bef1(0x206),_0x250087[_0x23bef1(0x2ae)]='conflict',_0x250087[_0x23bef1(0x2a5)]=_0x23bef1(0x173),_0x250087))(Si||{});const gi=0x4e20,Ti=0x2bf20;class ge{constructor(_0x561bf0,_0x1af9c8,_0x5941b0,_0x6996aa,_0x38f603,_0x2f4fec,_0x3c1620,_0x241c53,_0x239d6a){var _0x1e7c1f=_0x23bef1;D(this,'_awaitingChangeset',null),D(this,_0x1e7c1f(0x169),[]),(this[_0x1e7c1f(0x299)]=_0x561bf0,this['type']=_0x1af9c8,this[_0x1e7c1f(0x1bb)]=_0x38f603,this[_0x1e7c1f(0x2fa)]=_0x2f4fec,this[_0x1e7c1f(0xcb)]=_0x3c1620,this[_0x1e7c1f(0xff)]=_0x241c53,this[_0x1e7c1f(0xcf)]=_0x239d6a,this[_0x1e7c1f(0x1c2)]=_0x5941b0,this['_pendingMutations']=_0x6996aa);}['_checkMissing'](_0x4a5e74){var _0x2561bf=_0x23bef1;const _0x1d100d=this['_revisionService'][_0x2561bf(0x187)](this[_0x2561bf(0x299)]);return _0x4a5e74[_0x2561bf(0x2bc)]>_0x1d100d+0x1?(this[_0x2561bf(0x1bb)]['onMissingChangesets']({'from':_0x1d100d,'to':_0x4a5e74[_0x2561bf(0x2bc)]-0x1}),!0x0):!0x1;}[_0x23bef1(0x38c)](_0x221609){var _0x30a4bd=_0x23bef1;this[_0x30a4bd(0xcb)][_0x30a4bd(0x228)](this['unitID'],_0x221609);}[_0x23bef1(0x365)](_0x3180d0){var _0x203755=_0x23bef1,_0xab703b,_0x11d473;(_0x11d473=(_0xab703b=this['_handler'])['onTransformSelections'])==null||_0x11d473[_0x203755(0x2aa)](_0xab703b,_0x3180d0);}['_transformIMECache'](_0x321650){var _0x5edb06=_0x23bef1,_0x16caaa,_0x2c902c;return(_0x2c902c=(_0x16caaa=this['_handler'])['onTransformIME'])==null?void 0x0:_0x2c902c[_0x5edb06(0x2aa)](_0x16caaa,_0x321650);}[_0x23bef1(0x1de)](_0x2e9d50){var _0xe131a1=_0x23bef1,_0x3f6b1d,_0x4875cb;return(_0x4875cb=(_0x3f6b1d=this[_0xe131a1(0x1bb)])[_0xe131a1(0x381)])==null?void 0x0:_0x4875cb[_0xe131a1(0x2aa)](_0x3f6b1d,_0x2e9d50);}[_0x23bef1(0x2a7)](_0x3721a8){var _0x346e0e=_0x23bef1,_0x36440c,_0x5ca89b,_0x395c2c;return(_0x395c2c=(_0x5ca89b=(_0x36440c=this[_0x346e0e(0x1bb)])[_0x346e0e(0xc0)])==null?void 0x0:_0x5ca89b[_0x346e0e(0x2aa)](_0x36440c,_0x3721a8))!=null?_0x395c2c:_0x3721a8;}[_0x23bef1(0x1f3)](_0x26aca6){var _0x5b52da=_0x23bef1,_0x8c5958,_0x14c717,_0x25884b;return(_0x25884b=(_0x14c717=(_0x8c5958=this[_0x5b52da(0x1bb)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x14c717['call'](_0x8c5958,_0x26aca6))!=null?_0x25884b:_0x26aca6;}['_syncEditingCollabCursor'](_0xff1639){var _0x5f295c=_0x23bef1,_0x1108dc,_0xd389e8;if(this[_0x5f295c(0x162)]===Q[_0x5f295c(0x128)]){const {unitID:_0x58df5f,mutations:_0x27a940,memberID:_0x5a6a4}=_0xff1639,_0x97393f=_0x27a940[_0x5f295c(0x17e)]>0x0?_0x27a940[0x0][_0x5f295c(0x6d)][_0x5f295c(0xd4)]:[];Array[_0x5f295c(0x232)](_0x97393f)&&_0x97393f[_0x5f295c(0x17e)]>0x0&&((_0xd389e8=(_0x1108dc=this[_0x5f295c(0x1bb)])[_0x5f295c(0x106)])==null||_0xd389e8[_0x5f295c(0x2aa)](_0x1108dc,{'unitID':_0x58df5f,'memberID':_0x5a6a4,'textRanges':_0x97393f}));}}[_0x23bef1(0x35c)](){var _0x855150=_0x23bef1,_0x40c625;(_0x40c625=this[_0x855150(0xcf)])==null||_0x40c625['updateOfflineData'](this['unitID'],this[_0x855150(0x162)],this[_0x855150(0x1c2)],this[_0x855150(0x169)]);}[_0x23bef1(0x224)](){var _0x452439=_0x23bef1;return this[_0x452439(0xff)][_0x452439(0x187)](this['unitID']);}['_incrementRevisionNumber'](){var _0x567031=_0x23bef1;this[_0x567031(0xff)][_0x567031(0x211)](this['unitID']);}['_executeRemoteChangeset'](_0x4783b1){var _0x592ba1=_0x23bef1,_0x48c6fe;let _0x428040=this[_0x592ba1(0x2a7)](_0x4783b1);_0x428040=this['_transformRemoteChangesetByStateCache'](_0x428040);const _0x110dc9=_0xb75307(_0x428040[_0x592ba1(0xb5)],this['_commandService'],{'fromCollab':!0x0});if(!_0x110dc9[_0x592ba1(0x242)])throw _0x110dc9['error']instanceof Error?_0x110dc9[_0x592ba1(0xc4)]:new Error((_0x48c6fe=_0x110dc9[_0x592ba1(0xc4)])!=null?_0x48c6fe:_0x592ba1(0x2eb));this[_0x592ba1(0x10d)](_0x428040),this[_0x592ba1(0x1de)](_0x428040),this['_transformUndoredo'](_0x4783b1),this[_0x592ba1(0x365)](_0x428040),this[_0x592ba1(0xb7)](_0x428040),this[_0x592ba1(0x109)]();}}let be=class extends ge{constructor(_0x17ad41,_0x1d3616,_0x573525,_0x250cb9,_0x511124,_0x5b6a79,_0x200419,_0x55ff52,_0x33a1da,_0x983eaf){var _0x43ba34=_0x23bef1;super(_0x17ad41,_0x1d3616,null,[],_0x573525,_0x200419,_0x5b6a79,_0x250cb9,_0x983eaf),D(this,'status',_0x43ba34(0x103)),(this[_0x43ba34(0x2ca)]=_0x511124,this[_0x43ba34(0x170)]=_0x55ff52,this[_0x43ba34(0x190)]=_0x33a1da,this['localCacheService']=_0x983eaf);}['appendMutation'](_0x7e9df8){var _0x64ee10=_0x23bef1;const _0x3bf750=this[_0x64ee10(0x2ca)]['createInstance'](ae,this[_0x64ee10(0x299)],this[_0x64ee10(0x162)],[_0x7e9df8],this[_0x64ee10(0x1bb)]);return _0x3bf750['_schedule'](),_0x3bf750[_0x64ee10(0x35c)](),_0x3bf750;}[_0x23bef1(0x143)](_0x52a7e0){var _0x538ac4=_0x23bef1;if(this['_checkMissing'](_0x52a7e0))return this['_injector'][_0x538ac4(0x1b0)](ee,this['unitID'],this[_0x538ac4(0x162)],null,[],null,[_0x52a7e0],this[_0x538ac4(0x1bb)]);try{const _0x398c53=this['_transformService'][_0x538ac4(0x26a)](_0x52a7e0,[_0x3bb5bf]);if(_0x47d387(_0x398c53)){const {c1Prime:_0x21d3d5}=_0x398c53;return this[_0x538ac4(0x23c)](_0x21d3d5),this;}throw _0x398c53['error'];}catch(_0x4a6d98){return this[_0x538ac4(0x170)][_0x538ac4(0xc4)](_0x4a6d98),this[_0x538ac4(0x258)](!0x1);}}[_0x23bef1(0x258)](_0x459f50){var _0x61c8f3=_0x23bef1;return this[_0x61c8f3(0x2ca)]['createInstance'](ue,this[_0x61c8f3(0x299)],this['type'],null,[],this[_0x61c8f3(0x1bb)],_0x459f50);}[_0x23bef1(0xc5)](){var _0x1c184d=_0x23bef1;throw new Error(_0x1c184d(0x26e));}[_0x23bef1(0x387)](){var _0x4567c4=_0x23bef1;throw new Error(_0x4567c4(0x18e));}[_0x23bef1(0x231)](){return this;}[_0x23bef1(0x20b)](){var _0x197d86=_0x23bef1;return this[_0x197d86(0x2ca)][_0x197d86(0x1b0)](de,this[_0x197d86(0x299)],this[_0x197d86(0x162)],null,[],this[_0x197d86(0x1bb)]);}[_0x23bef1(0x2fb)](){return this;}['resend'](){var _0x20b893=_0x23bef1;throw new Error(_0x20b893(0xee));}[_0x23bef1(0x154)](){var _0x53f0ed=_0x23bef1;const _0x1d59cd=this[_0x53f0ed(0xff)]['getCurrentRevOfUnit'](this[_0x53f0ed(0x299)]);return this[_0x53f0ed(0x1bb)][_0x53f0ed(0x168)]({'from':_0x1d59cd,'to':0x0}),this['_injector'][_0x53f0ed(0x1b0)](ee,this[_0x53f0ed(0x299)],this['type'],null,[],null,[],this[_0x53f0ed(0x1bb)]);}};be=Se([w(0x3,_0x5a63ce(_0x337829)),w(0x4,_0x5a63ce(_0x34bd61)),w(0x5,_0x3a7a36),w(0x6,_0x2e56fb),w(0x7,_0x61abde),w(0x8,_0x246601),w(0x9,_0x5e8b57(X))],be);let ae=class extends ge{constructor(_0x4004a0,_0x2b0192,_0x383019,_0x1b3b2f,_0x9271e2,_0x1617e1,_0x28cd71,_0x205317,_0x5edacd,_0x205e8d,_0x11b231,_0x1d1a2d,_0x19ead1,_0x12095f){var _0x59b135=_0x23bef1;super(_0x4004a0,_0x2b0192,null,_0x383019,_0x1b3b2f,_0x5edacd,_0x19ead1,_0x1617e1,_0x12095f),D(this,_0x59b135(0x28a),'pending'),D(this,'_scheduleCompleteTimestamp',null),D(this,_0x59b135(0x121),null),(this[_0x59b135(0x2ca)]=_0x9271e2,this[_0x59b135(0x1c9)]=_0x28cd71,this[_0x59b135(0x170)]=_0x205317,this[_0x59b135(0x32e)]=_0x205e8d,this[_0x59b135(0x190)]=_0x11b231,this[_0x59b135(0x9c)]=_0x1d1a2d);}[_0x23bef1(0x2be)](_0xf2917e){var _0x42f361=_0x23bef1;return this['_pendingMutations'][_0x42f361(0x14a)](_0xf2917e),this[_0x42f361(0x35c)](),this;}['onRemoteChangeset'](_0x3a3cba){var _0x2c5793=_0x23bef1;if(this[_0x2c5793(0x36e)](_0x3a3cba))return this['_clearScheduledTask'](),this[_0x2c5793(0x2ca)][_0x2c5793(0x1b0)](ee,this[_0x2c5793(0x299)],this[_0x2c5793(0x162)],null,this['_pendingMutations'],null,[_0x3a3cba],this[_0x2c5793(0x1bb)]);try{const _0x157657=this[_0x2c5793(0x190)]['transformMutationsWithChangeset'](_0x3a3cba,this['_pendingMutations']);if(_0x47d387(_0x157657)){const {c1Prime:_0x35ed7c,m2Prime:_0x59e869}=_0x157657;this[_0x2c5793(0x23c)](_0x35ed7c);const _0x238c4b=this[_0x2c5793(0x2ca)][_0x2c5793(0x1b0)](ae,this[_0x2c5793(0x299)],this[_0x2c5793(0x162)],_0x59e869,this[_0x2c5793(0x1bb)]);this['_clearScheduledTask']();const _0x419e57=new Date()[_0x2c5793(0x2df)](),_0x4d6bbe=this[_0x2c5793(0xda)]?Math[_0x2c5793(0x12f)](this[_0x2c5793(0xda)]-_0x419e57,0x0):this[_0x2c5793(0x179)]();return _0x238c4b['_schedule'](_0x4d6bbe),_0x238c4b;}throw _0x157657[_0x2c5793(0xc4)];}catch(_0x43c79d){return this[_0x2c5793(0x170)]['error'](_0x43c79d),this[_0x2c5793(0x258)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x20695a=_0x23bef1;throw new Error(_0x20695a(0x24f));}['onRemoteRetry'](){return this;}[_0x23bef1(0x20b)](){var _0x4c2ea5=_0x23bef1;return this['_clearScheduledTask'](),this[_0x4c2ea5(0x2ca)][_0x4c2ea5(0x1b0)](de,this[_0x4c2ea5(0x299)],this[_0x4c2ea5(0x162)],null,this[_0x4c2ea5(0x169)],this[_0x4c2ea5(0x1bb)]);}['toggleOnline'](){return this;}[_0x23bef1(0x32f)](_0x781060){var _0x5f08b2=_0x23bef1;const _0x454939=_0x781060!=null?_0x781060:this[_0x5f08b2(0x179)]();this[_0x5f08b2(0xda)]=new Date()[_0x5f08b2(0x2df)]()+_0x454939,this['_sendingTimer']=setTimeout(()=>{var _0x59fb0c=_0x5f08b2;this[_0x59fb0c(0x34e)]();let _0x246dbd=null;switch(this[_0x59fb0c(0x162)]){case Q['UNIVER_SHEET']:{_0x246dbd=Vt(this[_0x59fb0c(0x169)],this[_0x59fb0c(0x299)],this[_0x59fb0c(0x9c)],this[_0x59fb0c(0xff)],this[_0x59fb0c(0x1c9)]);break;}case Q[_0x59fb0c(0x128)]:{this[_0x59fb0c(0x169)]['every'](_0x20a5e1=>_0x20a5e1['id']===_0x348798['id'])?_0x246dbd=Fs(this[_0x59fb0c(0x169)],this[_0x59fb0c(0x299)],this['_univerInstanceService'],this[_0x59fb0c(0xff)],this[_0x59fb0c(0x1c9)]):_0x246dbd=Vt(this['_pendingMutations'],this[_0x59fb0c(0x299)],this[_0x59fb0c(0x9c)],this['_revisionService'],this[_0x59fb0c(0x1c9)]);break;}default:throw new Error(_0x59fb0c(0x155)+this[_0x59fb0c(0x162)]+_0x59fb0c(0x116));}const {changeset:_0x557cee,pendingMutations:_0x463b0a}=_0x246dbd;this[_0x59fb0c(0x1bb)][_0x59fb0c(0x2ec)](_0x557cee);const _0x42d980=_0x463b0a[_0x59fb0c(0x17e)]?this['_injector']['createInstance'](oe,this['unitID'],this['type'],_0x557cee,_0x463b0a,this['_handler'],void 0x0):this['_injector'][_0x59fb0c(0x1b0)](le,this['unitID'],this[_0x59fb0c(0x162)],_0x557cee,this[_0x59fb0c(0x1bb)]);_0x42d980['_updateLocalCache'](),this[_0x59fb0c(0x1bb)]['onStateChange'](this,_0x42d980);},_0x454939);}[_0x23bef1(0x179)](){var _0x33d792=_0x23bef1,_0x4fe5ea;const _0x1779d6=this[_0x33d792(0x32e)]['getConfig'](K);return(_0x4fe5ea=_0x1779d6==null?void 0x0:_0x1779d6[_0x33d792(0x2b4)])!=null?_0x4fe5ea:Is;}[_0x23bef1(0x2e7)](){var _0x4fc25e=_0x23bef1;throw new Error(_0x4fc25e(0x2fe));}['_clearScheduledTask'](){var _0x9f701f=_0x23bef1;this[_0x9f701f(0x121)]!=null&&(clearTimeout(this[_0x9f701f(0x121)]),this[_0x9f701f(0x121)]=null);}['_onConflict'](_0x42999f){var _0x59c55f=_0x23bef1;return this[_0x59c55f(0x34e)](),this[_0x59c55f(0x2ca)][_0x59c55f(0x1b0)](ue,this[_0x59c55f(0x299)],this[_0x59c55f(0x162)],null,this[_0x59c55f(0x169)],this[_0x59c55f(0x1bb)],_0x42999f);}};ae=Se([w(0x4,_0x5a63ce(_0x34bd61)),w(0x5,_0x5a63ce(_0x337829)),w(0x6,_0x5a63ce(Pe)),w(0x7,_0x61abde),w(0x8,_0x2e56fb),w(0x9,_0x33ef1e),w(0xa,_0x246601),w(0xb,_0x37df1d),w(0xc,_0x3a7a36),w(0xd,_0x5e8b57(X))],ae);let le=class extends ge{constructor(_0x465bcc,_0x3d6966,_0x33b579,_0x54ec53,_0x54741b,_0x21cbc6,_0x1f888f,_0x78be80,_0x4e71e2,_0x45ac1d,_0x47566a){var _0x40f851=_0x23bef1;super(_0x465bcc,_0x3d6966,_0x33b579,[],_0x54ec53,_0x1f888f,_0x45ac1d,_0x21cbc6,_0x47566a),D(this,_0x40f851(0x28a),_0x40f851(0x94)),D(this,_0x40f851(0x17c),0x0),D(this,_0x40f851(0x23a),0x0),D(this,_0x40f851(0x1e0)),D(this,_0x40f851(0x33b)),(this[_0x40f851(0x2ca)]=_0x54741b,this[_0x40f851(0x170)]=_0x78be80,this[_0x40f851(0x190)]=_0x4e71e2);}[_0x23bef1(0x2be)](_0xd7f7d9){var _0x42f518=_0x23bef1;this[_0x42f518(0x34e)]();const _0x15fa91=this[_0x42f518(0x2ca)][_0x42f518(0x1b0)](oe,this[_0x42f518(0x299)],this['type'],this[_0x42f518(0x1c2)],[_0xd7f7d9],this['_handler'],this['_resendTimer']);return _0x15fa91[_0x42f518(0x35c)](),_0x15fa91;}['onRemoteChangeset'](_0x7643ec){var _0x59dae9=_0x23bef1;if(this['_checkMissing'](_0x7643ec))return this[_0x59dae9(0x34e)](),this['_injector'][_0x59dae9(0x1b0)](ee,this[_0x59dae9(0x299)],this[_0x59dae9(0x162)],this[_0x59dae9(0x1c2)],[],null,[_0x7643ec],this[_0x59dae9(0x1bb)]);try{const _0x56ee33=this['_transformService'][_0x59dae9(0x30f)]([_0x7643ec],[this['_awaitingChangeset']],!0x1);if(_0x100cd6(_0x56ee33)){const {c1Prime:_0x350583,c2Prime:_0x54473c}=_0x56ee33;this['_executeRemoteChangeset'](_0x350583[0x0]),_0x54473c[0x0][_0x59dae9(0x184)]=this[_0x59dae9(0x224)](),this[_0x59dae9(0x34e)]();const _0x5d3858=this[_0x59dae9(0x2ca)]['createInstance'](le,this[_0x59dae9(0x299)],this['type'],_0x54473c[0x0],this['_handler']);return _0x5d3858[_0x59dae9(0x35c)](),_0x5d3858;}return this[_0x59dae9(0x258)](!0x1);}catch(_0x5b6c52){return this[_0x59dae9(0x170)][_0x59dae9(0xc4)](_0x5b6c52),this[_0x59dae9(0x258)](!0x1);}}[_0x23bef1(0xc5)](_0x39922f){var _0x58050c=_0x23bef1;this[_0x58050c(0x34e)]();const _0x5e83e0=this[_0x58050c(0xff)][_0x58050c(0x187)](this[_0x58050c(0x299)]);if(_0x39922f[_0x58050c(0x2bc)]<_0x5e83e0-0x1)return this;if(this['_checkMissing'](_0x39922f))return this[_0x58050c(0x2ca)][_0x58050c(0x1b0)](ee,this[_0x58050c(0x299)],this[_0x58050c(0x162)],null,[],this[_0x58050c(0x1c2)],[],this[_0x58050c(0x1bb)]);this['_incrementRevisionNumber']();const _0x22c32c=this[_0x58050c(0x2ca)][_0x58050c(0x1b0)](be,this[_0x58050c(0x299)],this['type'],this[_0x58050c(0x1bb)]);return _0x22c32c['_updateLocalCache'](),_0x22c32c;}[_0x23bef1(0x387)](_0x2d806c){var _0x392ea4=_0x23bef1;return this[_0x392ea4(0x258)](!!(_0x2d806c!=null&&_0x2d806c[_0x392ea4(0x30e)]));}['onRemoteRetry'](_0x2e82fb){var _0x2e74b7=_0x23bef1;return this[_0x2e74b7(0x23a)]>Ti?this['toggleOffline']():(this[_0x2e74b7(0x1e0)]=Ii(this['_resendTimeout'],{'timeout':this[_0x2e74b7(0x17c)],'reqId':_0x2e82fb[_0x2e74b7(0xef)]}),this[_0x2e74b7(0x33b)]=this[_0x2e74b7(0x1e0)][_0x2e74b7(0x300)](({reqId:_0x35df28,timeout:_0x40e027})=>{var _0x548b48=_0x2e74b7;this[_0x548b48(0x318)](_0x35df28,_0x40e027);}),this);}['toggleOffline'](){var _0x12eb00=_0x23bef1;return this[_0x12eb00(0x34e)](),this['_injector'][_0x12eb00(0x1b0)](de,this['unitID'],this['type'],this['_awaitingChangeset'],[],this['_handler']);}[_0x23bef1(0x2fb)](){return this;}[_0x23bef1(0x2e7)](){var _0x2560b9=_0x23bef1;this[_0x2560b9(0x1bb)][_0x2560b9(0x2ec)](this[_0x2560b9(0x1c2)]);}['_onConflict'](_0xc48c2a){var _0xf708ae=_0x23bef1;return this[_0xf708ae(0x34e)](),this[_0xf708ae(0x2ca)][_0xf708ae(0x1b0)](ue,this[_0xf708ae(0x299)],this['type'],this[_0xf708ae(0x1c2)],[],this[_0xf708ae(0x1bb)],_0xc48c2a);}[_0x23bef1(0x318)](_0x1688ce,_0x16c023){var _0x466b57=_0x23bef1,_0x1c96dd;_0x1688ce===((_0x1c96dd=this[_0x466b57(0x1c2)])==null?void 0x0:_0x1c96dd[_0x466b57(0xef)])&&(this[_0x466b57(0x2e7)](),this[_0x466b57(0x17c)]=_0x16c023===0x0?0x3e8:Math[_0x466b57(0x344)](_0x16c023*0x2,gi),this[_0x466b57(0x23a)]+=this['_resendTimeout']);}[_0x23bef1(0x34e)](){var _0x4baa63=_0x23bef1,_0x3250a3;(_0x3250a3=this[_0x4baa63(0x33b)])==null||_0x3250a3[_0x4baa63(0x1e9)](),this[_0x4baa63(0x17c)]=0x0,this[_0x4baa63(0x23a)]=0x0;}};le=Se([w(0x4,_0x5a63ce(_0x34bd61)),w(0x5,_0x5a63ce(_0x337829)),w(0x6,_0x2e56fb),w(0x7,_0x61abde),w(0x8,_0x246601),w(0x9,_0x3a7a36),w(0xa,_0x5e8b57(X))],le);let oe=class extends ge{constructor(_0x44ea7d,_0x1b7978,_0x21d09c,_0xf458d2,_0x5685a2,_0x1f36e1,_0x372440,_0x55131f,_0xd83ca2,_0x5d4d60,_0x436bb5,_0x4e904b,_0x2ff5b7){var _0x5a06dc=_0x23bef1;super(_0x44ea7d,_0x1b7978,_0x21d09c,_0xf458d2,_0x5685a2,_0xd83ca2,_0x4e904b,_0x55131f,_0x2ff5b7),D(this,'status',_0x5a06dc(0x12e)),D(this,_0x5a06dc(0x17c),0x0),D(this,_0x5a06dc(0x23a),0x0),D(this,_0x5a06dc(0x1e0)),D(this,_0x5a06dc(0x33b)),(this[_0x5a06dc(0x2ca)]=_0x372440,this[_0x5a06dc(0x170)]=_0x5d4d60,this[_0x5a06dc(0x190)]=_0x436bb5,this[_0x5a06dc(0x1e7)]=_0x2ff5b7,_0x1f36e1&&(this[_0x5a06dc(0x1e0)]=_0x1f36e1,this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x4ec685,timeout:_0x3082f1})=>{var _0x25117d=_0x5a06dc;this[_0x25117d(0x318)](_0x4ec685,_0x3082f1);})));}[_0x23bef1(0x2be)](_0x5460f3){var _0x377010=_0x23bef1;return this[_0x377010(0x169)][_0x377010(0x14a)](_0x5460f3),this;}[_0x23bef1(0x143)](_0x438730){var _0x2a10ee=_0x23bef1;if(this[_0x2a10ee(0x36e)](_0x438730))return this[_0x2a10ee(0x34e)](),this[_0x2a10ee(0x2ca)]['createInstance'](ee,this[_0x2a10ee(0x299)],this[_0x2a10ee(0x162)],this['_awaitingChangeset'],this[_0x2a10ee(0x169)],null,[_0x438730],this[_0x2a10ee(0x1bb)]);try{const _0x3408f7=this['_transformService']['transformChangesets']([_0x438730],[this[_0x2a10ee(0x1c2)]],!0x1);if(_0x100cd6(_0x3408f7)){const {c1Prime:_0x5e6003,c2Prime:_0x3cab82}=_0x3408f7,_0x2b9a78=this['_transformService'][_0x2a10ee(0x26a)](_0x5e6003[0x0],this[_0x2a10ee(0x169)]);if(_0x47d387(_0x2b9a78)){const {c1Prime:_0xc301a2,m2Prime:_0x3f1276}=_0x2b9a78;return this[_0x2a10ee(0x23c)](_0xc301a2),_0x3cab82[0x0][_0x2a10ee(0x184)]=this[_0x2a10ee(0x224)](),this[_0x2a10ee(0x34e)](),this[_0x2a10ee(0x2ca)][_0x2a10ee(0x1b0)](oe,this[_0x2a10ee(0x299)],this[_0x2a10ee(0x162)],_0x3cab82[0x0],_0x3f1276,this[_0x2a10ee(0x1bb)],void 0x0);}throw _0x2b9a78['error'];}throw _0x3408f7['error'];}catch(_0x24fafa){return this[_0x2a10ee(0x170)][_0x2a10ee(0xc4)](_0x24fafa),this['_onConflict'](!0x1);}}[_0x23bef1(0xc5)](_0xfbd964){var _0x418411=_0x23bef1;if(this[_0x418411(0x34e)](),this[_0x418411(0x36e)](_0xfbd964))return this[_0x418411(0x2ca)]['createInstance'](ee,this[_0x418411(0x299)],this[_0x418411(0x162)],null,this[_0x418411(0x169)],this[_0x418411(0x1c2)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x27ba76=this['_injector'][_0x418411(0x1b0)](ae,this['unitID'],this[_0x418411(0x162)],this[_0x418411(0x169)],this[_0x418411(0x1bb)]);return _0x27ba76['_schedule'](),_0x27ba76[_0x418411(0x35c)](),_0x27ba76;}[_0x23bef1(0x387)](_0x34a02b){var _0x2164fb=_0x23bef1;return this[_0x2164fb(0x258)](!!(_0x34a02b!=null&&_0x34a02b[_0x2164fb(0x30e)]));}['onRemoteRetry'](_0xc7a261){var _0x51c2b2=_0x23bef1;return this[_0x51c2b2(0x23a)]>Ti?this[_0x51c2b2(0x20b)]():(this['_resendTimer']=Ii(this['_resendTimeout'],{'timeout':this[_0x51c2b2(0x17c)],'reqId':_0xc7a261['reqId']}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x596c30,timeout:_0x27234d})=>{var _0x2f88b7=_0x51c2b2;this[_0x2f88b7(0x318)](_0x596c30,_0x27234d);}),this);}['toggleOffline'](){var _0x5a197c=_0x23bef1;return this[_0x5a197c(0x34e)](),this[_0x5a197c(0x2ca)][_0x5a197c(0x1b0)](de,this[_0x5a197c(0x299)],this[_0x5a197c(0x162)],this[_0x5a197c(0x1c2)],this['_pendingMutations'],this[_0x5a197c(0x1bb)]);}[_0x23bef1(0x2fb)](){return this;}['resend'](){var _0x20a934=_0x23bef1;this[_0x20a934(0x1bb)]['onSendChangeset'](this[_0x20a934(0x1c2)]);}[_0x23bef1(0x258)](_0x354a39){var _0x4391ca=_0x23bef1;return this[_0x4391ca(0x34e)](),this[_0x4391ca(0x2ca)][_0x4391ca(0x1b0)](ue,this[_0x4391ca(0x299)],this['type'],null,this[_0x4391ca(0x169)],this[_0x4391ca(0x1bb)],_0x354a39);}[_0x23bef1(0x318)](_0x134d27,_0x424ffd){var _0x45daa2=_0x23bef1,_0x4205d9;_0x134d27===((_0x4205d9=this[_0x45daa2(0x1c2)])==null?void 0x0:_0x4205d9[_0x45daa2(0xef)])&&(this[_0x45daa2(0x2e7)](),this[_0x45daa2(0x17c)]=_0x424ffd===0x0?0x3e8:Math[_0x45daa2(0x344)](_0x424ffd*0x2,gi),this[_0x45daa2(0x23a)]+=this[_0x45daa2(0x17c)]);}['_clearScheduledTask'](){var _0x2f5ed4=_0x23bef1,_0x1edd7b;(_0x1edd7b=this[_0x2f5ed4(0x33b)])==null||_0x1edd7b['unsubscribe'](),this[_0x2f5ed4(0x17c)]=0x0,this[_0x2f5ed4(0x23a)]=0x0;}};oe=Se([w(0x6,_0x5a63ce(_0x34bd61)),w(0x7,_0x5a63ce(_0x337829)),w(0x8,_0x2e56fb),w(0x9,_0x61abde),w(0xa,_0x246601),w(0xb,_0x3a7a36),w(0xc,_0x5e8b57(X))],oe);let ue=class extends ge{constructor(_0x3d3dea,_0x36a3a6,_0x58ae3f,_0x1d9ed9,_0x56a361,_0x29176d=!0x1,_0x5d9079,_0x5f59d1,_0x3e56df,_0x112d53,_0x301bbe,_0x48a074,_0x37f15f){var _0x5dc809=_0x23bef1;super(_0x3d3dea,_0x36a3a6,_0x58ae3f,_0x1d9ed9,_0x56a361,_0x5f59d1,_0x3e56df,_0x112d53,_0x37f15f),D(this,'status',_0x5dc809(0x2e8)),(this['_isPermissionRej']=_0x29176d,this[_0x5dc809(0x14c)]=_0x5d9079,this[_0x5dc809(0x11a)]=_0x301bbe,this['_collaborationUIEventService']=_0x48a074,this[_0x5dc809(0x1e7)]=_0x37f15f,this['_showConflictNotification'](),this[_0x5dc809(0x10f)](),this['_disableEditing']());}[_0x23bef1(0x2be)](){return this;}[_0x23bef1(0x143)](){return this;}[_0x23bef1(0xc5)](){return this;}[_0x23bef1(0x387)](){return this;}[_0x23bef1(0x231)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x23bef1(0x2e7)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x1e7864=_0x23bef1,_0x31982f;(_0x31982f=this[_0x1e7864(0xcf)])==null||_0x31982f[_0x1e7864(0x21f)](this[_0x1e7864(0x299)],this[_0x1e7864(0x162)],null,[]);}[_0x23bef1(0x124)](){var _0x5c67f8=_0x23bef1;this[_0x5c67f8(0x1d1)]?this[_0x5c67f8(0x1a6)][_0x5c67f8(0x7e)]({'id':re['PERMISSION_DENIED']}):this[_0x5c67f8(0x1a6)][_0x5c67f8(0x7e)]({'id':re[_0x5c67f8(0x2ae)]});}[_0x23bef1(0x28b)](){var _0x1c8747=_0x23bef1;this[_0x1c8747(0x14c)][_0x1c8747(0x131)](new _0x4ea1ba(this[_0x1c8747(0x299)])['id'],!0x1);}};ue=Se([w(0x6,_0x5a63ce(_0x1c07b9)),w(0x7,_0x2e56fb),w(0x8,_0x3a7a36),w(0x9,_0x5a63ce(_0x337829)),w(0xa,_0x5a63ce(_0xc18a09)),w(0xb,_0x5a63ce(ve)),w(0xc,_0x5e8b57(X))],ue);let de=class extends ge{constructor(_0x2f5cda,_0x8f2f07,_0x583eff,_0x3c3979,_0x5cdca6,_0x43e786,_0x44adf3,_0x13e4f3,_0x39a0c3,_0x38142e){var _0x18dfc4=_0x23bef1;super(_0x2f5cda,_0x8f2f07,_0x583eff,_0x3c3979,_0x5cdca6,_0x13e4f3,_0x39a0c3,_0x44adf3,_0x38142e),D(this,'status','offline'),this[_0x18dfc4(0x2ca)]=_0x43e786;}[_0x23bef1(0x2be)](_0x15611f){var _0x246126=_0x23bef1;return this[_0x246126(0x169)][_0x246126(0x14a)](_0x15611f),this[_0x246126(0x35c)](),this;}[_0x23bef1(0x143)](_0x2e21d3){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x23bef1(0xc5)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x23bef1(0x387)](){var _0x2ef336=_0x23bef1;throw new Error(_0x2ef336(0x243));}[_0x23bef1(0x231)](){return this;}[_0x23bef1(0x20b)](){return this;}['toggleOnline'](){var _0x235fc9=_0x23bef1;const {_injector:_0x4d4d19,_pendingMutations:_0x425cc8,_awaitingChangeset:_0x1db63d,unitID:_0x1de704,_handler:_0x3d8327,type:_0x28fdba}=this,_0x48af48=Oi(_0x4d4d19,_0x1de704,_0x28fdba,_0x1db63d,_0x425cc8,_0x3d8327);return _0x48af48 instanceof ae?_0x48af48[_0x235fc9(0x32f)]():(_0x48af48 instanceof oe||_0x48af48 instanceof le)&&_0x48af48['resend'](),_0x48af48;}[_0x23bef1(0x2e7)](){var _0x4a8607=_0x23bef1;throw new Error(_0x4a8607(0x8a));}};de=Se([w(0x5,_0x5a63ce(_0x34bd61)),w(0x6,_0x5a63ce(_0x337829)),w(0x7,_0x2e56fb),w(0x8,_0x3a7a36),w(0x9,_0x5e8b57(X))],de);let ee=class extends ge{constructor(_0x1189a9,_0x2a0cb0,_0x578ec3,_0x5470d9,_0x48cc57,_0x9330ab,_0x170bb9,_0x39ecd6,_0x5a794d,_0x364fd2,_0x315757,_0x41847f,_0x14a2f5,_0x4853da){var _0x3064e7=_0x23bef1;super(_0x1189a9,_0x2a0cb0,_0x578ec3,_0x5470d9,_0x170bb9,_0x315757,_0x41847f,_0x5a794d,_0x4853da),D(this,_0x3064e7(0x28a),_0x3064e7(0x206)),(this['_acknowledgedAwaitingChangeset']=_0x48cc57,this[_0x3064e7(0x35b)]=_0x9330ab,this[_0x3064e7(0x2ca)]=_0x39ecd6,this[_0x3064e7(0x170)]=_0x364fd2,this[_0x3064e7(0x190)]=_0x14a2f5,this[_0x3064e7(0x1e7)]=_0x4853da);}['onMissedChangesetFetched'](_0xfff0ea){var _0x2ab1fd=_0x23bef1;try{const _0xce2d4e=[..._0xfff0ea,...this[_0x2ab1fd(0x35b)]],_0xfc7543=[this[_0x2ab1fd(0x1c2)]||this[_0x2ab1fd(0x148)]]['filter'](_0x164824=>!!_0x164824);let _0x4e02d2,_0x2569e6;if(_0xfc7543['length']){const _0x4f3f6c=this[_0x2ab1fd(0x190)][_0x2ab1fd(0x30f)](_0xce2d4e,_0xfc7543,!0x1);if(!_0x100cd6(_0x4f3f6c))throw _0x4f3f6c['error'];_0x4e02d2=_0x4f3f6c['c1Prime'],_0x2569e6=_0x4f3f6c['c2Prime'];}else _0x4e02d2=_0xce2d4e,_0x2569e6=[];let _0x2dd9d2=this[_0x2ab1fd(0x169)];_0x4e02d2[_0x2ab1fd(0x192)](_0x3e6936=>{var _0x3ec853=_0x2ab1fd;let _0x34903a;if(_0x2dd9d2['length']){const _0x46b63f=this['_transformService'][_0x3ec853(0x26a)](_0x3e6936,_0x2dd9d2);if(!_0x47d387(_0x46b63f))throw _0x46b63f[_0x3ec853(0xc4)];_0x34903a=_0x46b63f[_0x3ec853(0x220)],_0x2dd9d2=_0x46b63f[_0x3ec853(0xb6)];}else _0x34903a=_0x3e6936;this[_0x3ec853(0x23c)](_0x34903a);}),this[_0x2ab1fd(0x148)]&&this[_0x2ab1fd(0x109)](),this[_0x2ab1fd(0x1c2)]&&_0x2569e6['length']&&(_0x2569e6[0x0][_0x2ab1fd(0x184)]=this[_0x2ab1fd(0x224)]());let _0xfcaafc;if(this[_0x2ab1fd(0x1c2)]&&_0x2dd9d2[_0x2ab1fd(0x17e)]!==0x0)_0xfcaafc=this[_0x2ab1fd(0x2ca)][_0x2ab1fd(0x1b0)](oe,this[_0x2ab1fd(0x299)],this[_0x2ab1fd(0x162)],_0x2569e6[0x0],_0x2dd9d2,this['_handler'],void 0x0);else{if(this[_0x2ab1fd(0x1c2)]&&_0x2dd9d2[_0x2ab1fd(0x17e)]===0x0)_0x2569e6[0x0][_0x2ab1fd(0x184)]=this[_0x2ab1fd(0x224)](),_0xfcaafc=this['_injector']['createInstance'](le,this[_0x2ab1fd(0x299)],this['type'],_0x2569e6[0x0],this[_0x2ab1fd(0x1bb)]);else{if(_0x2dd9d2['length']!==0x0){const _0x2f7c5c=this[_0x2ab1fd(0x2ca)][_0x2ab1fd(0x1b0)](ae,this['unitID'],this['type'],_0x2dd9d2,this[_0x2ab1fd(0x1bb)]);_0x2f7c5c[_0x2ab1fd(0x32f)](),_0xfcaafc=_0x2f7c5c;}else _0xfcaafc=this[_0x2ab1fd(0x2ca)][_0x2ab1fd(0x1b0)](be,this[_0x2ab1fd(0x299)],this[_0x2ab1fd(0x162)],this[_0x2ab1fd(0x1bb)]);}}return _0xfcaafc[_0x2ab1fd(0x35c)](),_0xfcaafc;}catch(_0x16eb01){return this[_0x2ab1fd(0x170)][_0x2ab1fd(0xc4)]('[FetchMissState]',_0x2ab1fd(0x238),_0x16eb01),this[_0x2ab1fd(0x2ca)][_0x2ab1fd(0x1b0)](ue,this[_0x2ab1fd(0x299)],this[_0x2ab1fd(0x162)],this[_0x2ab1fd(0x1c2)],this[_0x2ab1fd(0x169)],this[_0x2ab1fd(0x1bb)],!0x1);}}[_0x23bef1(0x2e7)](){var _0x2346fe=_0x23bef1;throw new Error(_0x2346fe(0x37f));}[_0x23bef1(0x2be)](_0x36b4d6){var _0x54b8ac=_0x23bef1;return this[_0x54b8ac(0x169)]['push'](_0x36b4d6),this;}['onRemoteChangeset'](_0x335bc8){var _0x5b243c=_0x23bef1;return this[_0x5b243c(0x35b)]['push'](_0x335bc8),this;}[_0x23bef1(0xc5)](_0x185dbf){var _0x2b2e5e=_0x23bef1;if(this[_0x2b2e5e(0x1c2)])return this[_0x2b2e5e(0x148)]=this[_0x2b2e5e(0x1c2)],this[_0x2b2e5e(0x1c2)]=null,this;throw new Error(_0x2b2e5e(0x1a0));}[_0x23bef1(0x387)](_0x14159e){var _0x5c8aae=_0x23bef1;return this[_0x5c8aae(0x258)](!!(_0x14159e!=null&&_0x14159e[_0x5c8aae(0x30e)]));}[_0x23bef1(0x231)](){return this;}[_0x23bef1(0x20b)](){var _0x1cf2b3=_0x23bef1;return this[_0x1cf2b3(0x2ca)][_0x1cf2b3(0x1b0)](de,this[_0x1cf2b3(0x299)],this[_0x1cf2b3(0x162)],this[_0x1cf2b3(0x1c2)],this['_pendingMutations'],this['_handler']);}[_0x23bef1(0x2fb)](){return this;}['_onConflict'](_0x1a8a7d){var _0x44c4de=_0x23bef1;return this[_0x44c4de(0x2ca)][_0x44c4de(0x1b0)](ue,this[_0x44c4de(0x299)],this[_0x44c4de(0x162)],this[_0x44c4de(0x1c2)],this[_0x44c4de(0x169)],this['_handler'],_0x1a8a7d);}};ee=Se([w(0x7,_0x5a63ce(_0x34bd61)),w(0x8,_0x5a63ce(_0x337829)),w(0x9,_0x61abde),w(0xa,_0x2e56fb),w(0xb,_0x3a7a36),w(0xc,_0x246601),w(0xd,_0x5e8b57(X))],ee);function Oi(_0x352448,_0x496c3b,_0x24df45,_0x3280ab,_0x5f3a3e,_0x3b06e1){var _0x889053=_0x23bef1;return _0x3280ab&&_0x5f3a3e[_0x889053(0x17e)]?_0x352448[_0x889053(0x1b0)](oe,_0x496c3b,_0x24df45,_0x3280ab,_0x5f3a3e,_0x3b06e1,void 0x0):_0x3280ab?_0x352448[_0x889053(0x1b0)](le,_0x496c3b,_0x24df45,_0x3280ab,_0x3b06e1):_0x5f3a3e[_0x889053(0x17e)]?_0x352448[_0x889053(0x1b0)](ae,_0x496c3b,_0x24df45,_0x5f3a3e,_0x3b06e1):_0x352448['createInstance'](be,_0x496c3b,_0x24df45,_0x3b06e1);}var Vs=Object[_0x23bef1(0x194)],At=(_0x295826,_0x2807bb,_0x1d89d3,_0x3d1886)=>{var _0x51ad79=_0x23bef1;for(var _0x5ef0b0=_0x3d1886>0x1?void 0x0:_0x3d1886?Vs(_0x2807bb,_0x1d89d3):_0x2807bb,_0x534a1e=_0x295826[_0x51ad79(0x17e)]-0x1,_0x36c04f;_0x534a1e>=0x0;_0x534a1e--)(_0x36c04f=_0x295826[_0x534a1e])&&(_0x5ef0b0=_0x36c04f(_0x5ef0b0)||_0x5ef0b0);return _0x5ef0b0;},$=(_0x95e09b,_0x3e9e5c)=>(_0x34acf8,_0x3ba9eb)=>_0x3e9e5c(_0x34acf8,_0x3ba9eb,_0x95e09b);let st=class extends _0x9a530{constructor(_0x3ef2a1,_0xb9470,_0x304c2b,_0x5c60a8,_0x39d15a,_0x2d347f,_0xfadd1d,_0x15097b,_0x477881,_0x19ed81,_0x949b53,_0x270ef7,_0x3c968e,_0x1f3c15){var _0x4d1562=_0x23bef1;super(),D(this,_0x4d1562(0x247),new _0x2025e8(null)),D(this,_0x4d1562(0xc6),this['_state$'][_0x4d1562(0x1aa)]()),D(this,_0x4d1562(0x2bd)),D(this,_0x4d1562(0xea),!0x1),D(this,_0x4d1562(0xa6),''),D(this,_0x4d1562(0x21e),0x0),D(this,_0x4d1562(0x14e),this[_0x4d1562(0xc6)]['pipe'](_0x2e8185(_0x39b4a5=>_0x39b4a5?_0x39b4a5['status']:Si[_0x4d1562(0x2a5)]),_0x365ff8(0x1))),D(this,_0x4d1562(0x6f),!0x1),D(this,_0x4d1562(0x96),[]),(this[_0x4d1562(0x299)]=_0x3ef2a1,this[_0x4d1562(0x15f)]=_0xb9470,this['_type']=_0x304c2b,this['_injector']=_0x5c60a8,this[_0x4d1562(0xed)]=_0x39d15a,this[_0x4d1562(0x11a)]=_0x2d347f,this[_0x4d1562(0xff)]=_0xfadd1d,this[_0x4d1562(0x201)]=_0x15097b,this['_univerInstanceService']=_0x477881,this[_0x4d1562(0x170)]=_0x19ed81,this[_0x4d1562(0x2fa)]=_0x949b53,this[_0x4d1562(0x14c)]=_0x270ef7,this[_0x4d1562(0x262)]=_0x3c968e,this[_0x4d1562(0xcf)]=_0x1f3c15);}get[_0x23bef1(0x2b6)](){var _0x3153e0=_0x23bef1;return this[_0x3153e0(0x2bd)];}async[_0x23bef1(0x2ce)](){var _0x4a38cd=_0x23bef1;if(this[_0x4a38cd(0x2b6)])throw new Error(_0x4a38cd(0x15d));await this[_0x4a38cd(0x322)]();}[_0x23bef1(0xc7)](){var _0x1e2f5b=_0x23bef1;return this[_0x1e2f5b(0xea)]=!0x0,_0x98265e(()=>{var _0x4a97ca=_0x1e2f5b;this[_0x4a97ca(0xea)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x23bef1(0x20e)](_0xd8392b){var _0xd45878=_0x23bef1;this[_0xd45878(0x1d9)](_0xd8392b);}[_0x23bef1(0x35a)](_0x420bb2){var _0x2134c5=_0x23bef1;this[_0x2134c5(0x2bd)]=_0x420bb2,this[_0x2134c5(0x247)][_0x2134c5(0xb8)](_0x420bb2);}async['_init'](){var _0x13ce7b=_0x23bef1,_0x18c794;this[_0x13ce7b(0x35a)](await this[_0x13ce7b(0x16a)]()),this[_0x13ce7b(0x262)]&&((_0x18c794=this[_0x13ce7b(0x262)])==null||_0x18c794[_0x13ce7b(0x2db)](this['unitID']),this[_0x13ce7b(0xf6)](this[_0x13ce7b(0x262)]['getUnitStatus$'](this['unitID'])[_0x13ce7b(0x300)](_0x53053d=>{var _0x3886e9=_0x13ce7b;this[_0x3886e9(0x170)][_0x3886e9(0x1ce)](_0x3886e9(0xd1),'editing\x20status\x20changed\x20to',_0x53053d),_0x53053d===mi[_0x3886e9(0xb2)]?(this['_eventService'][_0x3886e9(0x7e)]({'id':re[_0x3886e9(0xdd)]}),this['_permissionService'][_0x3886e9(0x131)](new _0x4ea1ba(this[_0x3886e9(0x299)])['id'],!0x1),this[_0x3886e9(0x14c)][_0x3886e9(0x80)](!0x1)):(this[_0x3886e9(0x14c)][_0x3886e9(0x131)](new _0x4ea1ba(this[_0x3886e9(0x299)])['id'],!0x0),this['_permissionService'][_0x3886e9(0x80)](!0x0));})));let _0x10b994=!0x1;return this['disposeWithMe'](this[_0x13ce7b(0x15f)][_0x13ce7b(0xae)][_0x13ce7b(0x300)](_0x3b85ed=>{var _0x5d7702=_0x13ce7b;_0x3b85ed===me[_0x5d7702(0x32c)]?this[_0x5d7702(0x2a2)](_0x10b994):_0x3b85ed===me['OFFLINE']&&(_0x10b994=!0x0,this['_toggleOffline']());})),this[_0x13ce7b(0xf6)](this['session'][_0x13ce7b(0x19e)]['subscribe'](_0x34400a=>{var _0xda1445=_0x13ce7b;try{switch(_0x34400a[_0xda1445(0x141)]){case _0x380110[_0xda1445(0xf9)]:{this[_0xda1445(0x95)](_0x3d22ac(_0x34400a[_0xda1445(0x369)]));break;}case _0x380110[_0xda1445(0x2c6)]:{this['_onRemoteACK'](_0x34400a[_0xda1445(0x369)]);break;}case _0x380110['CHANGESET_REJ']:{this[_0xda1445(0x2a8)]();break;}case _0x380110[_0xda1445(0x229)]:{this[_0xda1445(0x1cf)](_0x34400a[_0xda1445(0x369)]);break;}case _0x380110[_0xda1445(0x83)]:{this[_0xda1445(0x159)](_0x34400a['data'][_0xda1445(0x313)]['map'](_0x39fa00=>_0x3d22ac(_0x39fa00)));break;}case _0x380110[_0xda1445(0x20a)]:{this[_0xda1445(0x2a8)]({'isPermissionRej':!0x0});break;}case _0x380110['UNISCRIPT_RUN']:break;}}catch(_0x2e2dd9){throw console[_0xda1445(0xc4)](_0xda1445(0x2e3),_0x2e2dd9),_0x2e2dd9;}})),this['_state'];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x23bef1(0x28f)](){var _0x52840e=_0x23bef1;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x52840e(0x6f)]=!0x0;}[_0x23bef1(0x1d9)](_0x2faa62){var _0x364932=_0x23bef1;this[_0x364932(0x28f)](),this[_0x364932(0x35a)](this[_0x364932(0x2bd)]['appendMutation'](_0x2faa62)),this[_0x364932(0x345)]();}[_0x23bef1(0x95)](_0x53cf56){var _0x444ad1=_0x23bef1;if(!(_0x53cf56[_0x444ad1(0x2bc)]<=this[_0x444ad1(0xff)][_0x444ad1(0x187)](this['unitID']))){if(this['_collaborationPaused']){this[_0x444ad1(0x96)][_0x444ad1(0x14a)](_0x53cf56);return;}this[_0x444ad1(0x16d)](_0x53cf56);}}['_exhaustRemoteChangesetQueue'](){var _0x11646b=_0x23bef1;this[_0x11646b(0x96)]['forEach'](_0x533db7=>this['_applyRemoteChangeset'](_0x533db7)),this[_0x11646b(0x96)]=[];}[_0x23bef1(0x16d)](_0x1aa25d){var _0x41d685=_0x23bef1;const _0x5804f0=this[_0x41d685(0xed)]['interceptor'][_0x41d685(0x1a3)](this[_0x41d685(0xed)]['interceptor'][_0x41d685(0x8e)]()[_0x41d685(0x334)])(_0x1aa25d['mutations'],null)||_0x1aa25d[_0x41d685(0xb5)],_0x13deb5={..._0x1aa25d,'mutations':_0x5804f0};this['_lockTransition'](),this[_0x41d685(0x35a)](this[_0x41d685(0x2bd)][_0x41d685(0x143)](_0x13deb5)),this[_0x41d685(0x345)]();}[_0x23bef1(0x119)](_0x4c95b1){var _0x57fa9f=_0x23bef1;this['_lockTransition'](),this[_0x57fa9f(0x35a)](this[_0x57fa9f(0x2bd)][_0x57fa9f(0xc5)](_0x4c95b1)),this['_unlockTransition']();}[_0x23bef1(0x2a8)](_0x567540){var _0x5a1de8=_0x23bef1;this[_0x5a1de8(0x28f)](),this[_0x5a1de8(0x35a)](this[_0x5a1de8(0x2bd)][_0x5a1de8(0x387)](_0x567540)),this[_0x5a1de8(0x345)]();}['_onRemoteRetry'](_0x4dc997){var _0x24c765=_0x23bef1;this[_0x24c765(0x28f)](),this[_0x24c765(0x35a)](this[_0x24c765(0x2bd)][_0x24c765(0x231)](_0x4dc997)),this['_unlockTransition']();}[_0x23bef1(0x159)](_0x40a0d3){var _0x33664b=_0x23bef1;if(!(this[_0x33664b(0x2bd)]instanceof ee))throw new TypeError(_0x33664b(0x122));const _0x56abf8=_0x40a0d3[_0x33664b(0x257)](_0x5d2920=>{var _0x421a60=_0x33664b;const _0x4b85a3=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x421a60(0xed)]['interceptor'][_0x421a60(0x8e)]()[_0x421a60(0x334)])(_0x5d2920[_0x421a60(0xb5)],null)||_0x5d2920['mutations'];return{..._0x5d2920,'mutations':_0x4b85a3};});this[_0x33664b(0x28f)](),this['_updateState'](this[_0x33664b(0x2bd)]['onMissedChangesetFetched'](_0x56abf8)),this[_0x33664b(0x345)]();}[_0x23bef1(0xad)](){var _0x503782=_0x23bef1;this[_0x503782(0x28f)](),this[_0x503782(0x35a)](this['_state'][_0x503782(0x20b)]()),this[_0x503782(0x345)]();}[_0x23bef1(0x2a2)](_0x410866=!0x1){var _0x40f6a7=_0x23bef1;this[_0x40f6a7(0x28f)](),this[_0x40f6a7(0x35a)](this[_0x40f6a7(0x2bd)][_0x40f6a7(0x2fb)]()),this['_unlockTransition']();const _0x230f4a=this[_0x40f6a7(0x2bd)];_0x410866&&_0x230f4a instanceof be&&(this[_0x40f6a7(0x28f)](),this[_0x40f6a7(0x35a)](_0x230f4a[_0x40f6a7(0x154)]()),this[_0x40f6a7(0x345)]());}async[_0x23bef1(0x16a)](){return new Promise(_0x37e1fd=>{var _0x291ce3=_0x161f;this[_0x291ce3(0x15f)][_0x291ce3(0xae)]['pipe'](_0x334ff4(0x1))[_0x291ce3(0x300)](async _0x3185ac=>{var _0x2f853d=_0x291ce3;_0x37e1fd(await this[_0x2f853d(0x205)](_0x3185ac===me[_0x2f853d(0x32c)]));});});}[_0x23bef1(0x2b9)](){const _0x21104a=this['unitID'];return{'onStateChange':(_0x45f96d,_0x5e11b3)=>{var _0x3315b8=_0x161f;if(_0x45f96d!==this[_0x3315b8(0x2bd)])throw new Error(_0x3315b8(0xf8)+_0x45f96d[_0x3315b8(0x28a)]+_0x3315b8(0x8f)+_0x5e11b3[_0x3315b8(0x28a)]+_0x3315b8(0x36d)+this['_state'][_0x3315b8(0x28a)]);this[_0x3315b8(0x35a)](_0x5e11b3);},'onSendChangeset':_0x58263e=>{var _0x17670c=_0x161f;_0x58263e[_0x17670c(0x19a)]||(_0x58263e[_0x17670c(0x19a)]=this[_0x17670c(0xa6)],_0x58263e[_0x17670c(0xef)]=++this[_0x17670c(0x21e)]);const _0x1c9485={'eventID':_0x380110[_0x17670c(0x379)],'data':{'unitID':_0x58263e[_0x17670c(0x299)],'unitType':this[_0x17670c(0x2e6)],'changeset':_0x58263e,'memberID':this[_0x17670c(0x15f)]['getMemberID']()}};this[_0x17670c(0x15f)]['send'](_0x1c9485,this['unitID']);},'onMissingChangesets':({from:_0x544494,to:_0xb05c91})=>{var _0x22d813=_0x161f;this[_0x22d813(0x170)][_0x22d813(0x1ce)]('[CollaborationEntity]',_0x22d813(0x14f)+_0x544494+_0x22d813(0x27d)+_0xb05c91);const _0x1a7a72={'eventID':_0x380110['FETCH_MISSING'],'data':{'unitID':_0x21104a,'unitType':this[_0x22d813(0x2e6)],'from':_0x544494,'to':_0xb05c91}};this[_0x22d813(0x15f)]['send'](_0x1a7a72,this['unitID']);}};}async[_0x23bef1(0x205)](_0x55ceda){var _0x89820a=_0x23bef1,_0x1f2694,_0x406b2f,_0x2dca99;const _0x4aaa13=await((_0x1f2694=this[_0x89820a(0xcf)])==null?void 0x0:_0x1f2694[_0x89820a(0x178)](this[_0x89820a(0x299)])),_0x1758f7=(_0x406b2f=_0x4aaa13==null?void 0x0:_0x4aaa13[_0x89820a(0xb5)])!=null?_0x406b2f:[],_0x54887f=(_0x2dca99=_0x4aaa13==null?void 0x0:_0x4aaa13[_0x89820a(0x107)])!=null?_0x2dca99:null,_0x478eed=!!(_0x54887f!=null&&_0x54887f['sid'])&&!!(_0x54887f!=null&&_0x54887f['reqId']);this[_0x89820a(0xa6)]=_0x478eed?_0x54887f[_0x89820a(0x19a)]:_0x467eda(),this[_0x89820a(0x21e)]=_0x478eed?_0x54887f[_0x89820a(0xef)]:0x0;const _0x41f680=this[_0x89820a(0x299)];try{this['_replayCachedMutations'](_0x54887f,_0x1758f7);}catch(_0x290e3c){this[_0x89820a(0x170)]['error'](_0x290e3c);}const _0x462e54=this[_0x89820a(0x2b9)]();if(_0x55ceda){const _0x6143a0=Oi(this[_0x89820a(0x2ca)],_0x41f680,this[_0x89820a(0x2e6)],_0x54887f,_0x1758f7,_0x462e54);return _0x6143a0 instanceof ae?_0x6143a0[_0x89820a(0x32f)]():(_0x6143a0 instanceof oe||_0x6143a0 instanceof le)&&_0x6143a0[_0x89820a(0x2e7)](),_0x6143a0;}return this[_0x89820a(0x2ca)][_0x89820a(0x1b0)](de,_0x41f680,this[_0x89820a(0x2e6)],_0x54887f,_0x1758f7,_0x462e54);}[_0x23bef1(0x118)](_0x1ad8da,_0x5a83e8){var _0x1d6f23=_0x23bef1,_0xef0d88,_0x4af4c7;const _0x512968=this[_0x1d6f23(0xed)][_0x1d6f23(0x161)][_0x1d6f23(0x1a3)](this[_0x1d6f23(0xed)][_0x1d6f23(0x161)][_0x1d6f23(0x8e)]()['COMPRESS_MUTATION_APPLY']);(_0xef0d88=_0x512968((_0x1ad8da==null?void 0x0:_0x1ad8da[_0x1d6f23(0xb5)])||[],null))==null||_0xef0d88['forEach'](_0x19aa76=>this['_commandService'][_0x1d6f23(0x2fd)](_0x19aa76['id'],_0x19aa76[_0x1d6f23(0x6d)])),(_0x4af4c7=_0x512968(_0x5a83e8||[],null))==null||_0x4af4c7[_0x1d6f23(0x192)](_0xd1368e=>this[_0x1d6f23(0x2fa)][_0x1d6f23(0x2fd)](_0xd1368e['id'],_0xd1368e[_0x1d6f23(0x6d)]));}};st=At([$(0x3,_0x5a63ce(_0x34bd61)),$(0x4,_0x5a63ce(_0x4fb3b3)),$(0x5,_0x5a63ce(_0xc18a09)),$(0x6,_0x5a63ce(_0x337829)),$(0x7,_0x5a63ce(ve)),$(0x8,_0x37df1d),$(0x9,_0x61abde),$(0xa,_0x2e56fb),$(0xb,_0x1c07b9),$(0xc,_0x5e8b57(_t)),$(0xd,_0x5e8b57(X))],st);let It=class extends st{constructor(_0x16e8e0,_0x5f3da6,_0x4b7499,_0x44fc34,_0x24053b,_0x56410d,_0xc38a1a,_0x4544a2,_0x3f6941,_0x10b744,_0x29ec70,_0x2d58fa,_0xe88098,_0x7c25a8){var _0x2d909c=_0x23bef1;super(_0x16e8e0,_0x4b7499,_0x5f3da6,_0x44fc34,_0x24053b,_0x56410d,_0xc38a1a,_0x4544a2,_0x3f6941,_0x10b744,_0x29ec70,_0x2d58fa,_0xe88098,_0x7c25a8),D(this,_0x2d909c(0x2a6),null),(this[_0x2d909c(0x299)]=_0x16e8e0,this[_0x2d909c(0x162)]=_0x5f3da6);}[_0x23bef1(0x160)](_0x1ae1cf){var _0x3df977=_0x23bef1;this[_0x3df977(0x2a6)]=_0x1ae1cf;}[_0x23bef1(0x76)](){var _0x4f3fe2=_0x23bef1;this[_0x4f3fe2(0x2a6)]=null,super[_0x4f3fe2(0x76)]();}[_0x23bef1(0x2b9)](){var _0x1eb528=_0x23bef1;const _0x4c3dde=super[_0x1eb528(0x2b9)]();return _0x4c3dde[_0x1eb528(0xa3)]=_0x4f3580=>{var _0x298e7d=_0x1eb528,_0x4ef902,_0x3733dd;return(_0x3733dd=(_0x4ef902=this[_0x298e7d(0x2a6)])==null?void 0x0:_0x4ef902[_0x298e7d(0xa3)])==null?void 0x0:_0x3733dd[_0x298e7d(0x2aa)](_0x4ef902,_0x4f3580);},_0x4c3dde['onTransformState']=_0x2a2bee=>{var _0x5779c2=_0x1eb528,_0x1c68fe,_0x58814b;return(_0x58814b=(_0x1c68fe=this[_0x5779c2(0x2a6)])==null?void 0x0:_0x1c68fe[_0x5779c2(0x381)])==null?void 0x0:_0x58814b['call'](_0x1c68fe,_0x2a2bee);},_0x4c3dde[_0x1eb528(0x180)]=_0x11c465=>{var _0x17b637=_0x1eb528,_0x476ab5,_0xcfed3f;return(_0xcfed3f=(_0x476ab5=this['_handlerCallback'])==null?void 0x0:_0x476ab5[_0x17b637(0x180)])==null?void 0x0:_0xcfed3f['call'](_0x476ab5,_0x11c465);},_0x4c3dde[_0x1eb528(0x106)]=_0x1da2c1=>{var _0x3dfe8a=_0x1eb528,_0x1b1ae0,_0x3c45bc;return(_0x3c45bc=(_0x1b1ae0=this[_0x3dfe8a(0x2a6)])==null?void 0x0:_0x1b1ae0[_0x3dfe8a(0x106)])==null?void 0x0:_0x3c45bc['call'](_0x1b1ae0,_0x1da2c1);},_0x4c3dde[_0x1eb528(0xc0)]=_0x978b29=>{var _0x40a773=_0x1eb528,_0x5bfa3a,_0x497c63,_0x1ce768;if(!((_0x5bfa3a=this[_0x40a773(0x2a6)])!=null&&_0x5bfa3a['onTransformRemoteChangesetByIMECache']))throw new Error(_0x40a773(0x21d));return(_0x1ce768=(_0x497c63=this['_handlerCallback'])==null?void 0x0:_0x497c63[_0x40a773(0xc0)])==null?void 0x0:_0x1ce768[_0x40a773(0x2aa)](_0x497c63,_0x978b29);},_0x4c3dde['onTransformRemoteChangesetByStateCache']=_0xd13f20=>{var _0x2976f7=_0x1eb528,_0x30b211,_0x2d5705,_0x3429ae;if(!((_0x30b211=this[_0x2976f7(0x2a6)])!=null&&_0x30b211[_0x2976f7(0x2b1)]))throw new Error(_0x2976f7(0x207));return(_0x3429ae=(_0x2d5705=this['_handlerCallback'])==null?void 0x0:_0x2d5705[_0x2976f7(0x2b1)])==null?void 0x0:_0x3429ae[_0x2976f7(0x2aa)](_0x2d5705,_0xd13f20);},_0x4c3dde;}async[_0x23bef1(0x322)](){var _0x1f6398=_0x23bef1;const _0x4956b9=await super[_0x1f6398(0x322)]();return this[_0x1f6398(0xf6)](this['_commandService']['onMutationExecutedForCollab']((_0x380d9,_0x56ba39)=>{var _0x41067f=_0x1f6398;if(_0x380d9['type']!==_0x50a316[_0x41067f(0x77)]||_0x56ba39!=null&&_0x56ba39['fromCollab']||_0x56ba39!=null&&_0x56ba39[_0x41067f(0x1e2)]||_0x380d9['id']===_0x348798['id'])return;const _0x2b6c5f=_0x380d9[_0x41067f(0x6d)];if((_0x2b6c5f==null?void 0x0:_0x2b6c5f[_0x41067f(0x1ff)])!==this[_0x41067f(0x299)])return;const _0x353c19=_0x380d9,_0x4dfdc0=this[_0x41067f(0xed)]['interceptor'][_0x41067f(0x1a3)](this[_0x41067f(0xed)]['interceptor'][_0x41067f(0x8e)]()[_0x41067f(0x2c8)])([_0x353c19],this[_0x41067f(0x9c)])||[_0x353c19];this[_0x41067f(0x1d9)](_0x4dfdc0[0x0]);})),_0x4956b9;}};It=At([$(0x3,_0x5a63ce(_0x34bd61)),$(0x4,_0x5a63ce(_0x4fb3b3)),$(0x5,_0x5a63ce(_0xc18a09)),$(0x6,_0x5a63ce(_0x337829)),$(0x7,_0x5a63ce(ve)),$(0x8,_0x37df1d),$(0x9,_0x61abde),$(0xa,_0x2e56fb),$(0xb,_0x1c07b9),$(0xc,_0x5e8b57(_t)),$(0xd,_0x5e8b57(X))],It);let St=class extends st{constructor(_0x3d44d6,_0x2fce86,_0x5e2bb4,_0x56e8c7,_0x213ffd,_0x77abda,_0x4bce8f,_0x34219f,_0x4525b2,_0x38f983,_0x1798f8,_0x545592,_0x289e4d,_0x322041,_0x10d9bb){var _0x3f95cb=_0x23bef1;super(_0x3d44d6,_0x5e2bb4,_0x2fce86,_0x56e8c7,_0x213ffd,_0x77abda,_0x4bce8f,_0x4525b2,_0x38f983,_0x1798f8,_0x545592,_0x289e4d,_0x322041,_0x10d9bb),this[_0x3f95cb(0x299)]=_0x3d44d6,this['type']=_0x2fce86,this[_0x3f95cb(0x166)]=_0x34219f;}['_createHandler'](){var _0xf7727b=_0x23bef1;const _0x2b11cb=super['_createHandler']();return _0x2b11cb[_0xf7727b(0x180)]=_0x15d5df=>this['_sheetTransformSelectionsService'][_0xf7727b(0x150)](_0x15d5df),_0x2b11cb;}async[_0x23bef1(0x322)](){var _0x5ed454=_0x23bef1;const _0xe8f85=await super['_init']();return this[_0x5ed454(0xf6)](this['_commandService'][_0x5ed454(0x2cf)]((_0x344fb8,_0x34e5d8)=>{var _0x1b8d86=_0x5ed454;if(_0x344fb8[_0x1b8d86(0x162)]!==_0x50a316['MUTATION']||_0x34e5d8!=null&&_0x34e5d8[_0x1b8d86(0xd8)]||_0x34e5d8!=null&&_0x34e5d8[_0x1b8d86(0x1e2)])return;const _0x5b99fc=_0x344fb8['params'];if((_0x5b99fc==null?void 0x0:_0x5b99fc['unitId'])!==this['unitID'])return;const _0x24fc51=_0x344fb8,_0x324107=this[_0x1b8d86(0xed)][_0x1b8d86(0x161)]['fetchThroughInterceptors'](this[_0x1b8d86(0xed)][_0x1b8d86(0x161)][_0x1b8d86(0x8e)]()[_0x1b8d86(0x2c8)])([_0x24fc51],this['_univerInstanceService'])||[_0x24fc51];this[_0x1b8d86(0x1d9)](_0x324107[0x0]);})),_0xe8f85;}};St=At([$(0x3,_0x5a63ce(_0x34bd61)),$(0x4,_0x5a63ce(_0x4fb3b3)),$(0x5,_0x5a63ce(_0xc18a09)),$(0x6,_0x5a63ce(_0x337829)),$(0x7,_0x5a63ce(it)),$(0x8,_0x5a63ce(ve)),$(0x9,_0x37df1d),$(0xa,_0x61abde),$(0xb,_0x2e56fb),$(0xc,_0x1c07b9),$(0xd,_0x5e8b57(_t)),$(0xe,_0x5e8b57(X))],St);const Gs=_0x112320(_0x23bef1(0x2d9));function Ws(_0x546edd){var _0x168b88=_0x23bef1,_0x1188f9,_0x43153b,_0x443f33,_0x23b491,_0x51e761;const _0xeef0f4=_0x546edd[_0x168b88(0x369)],_0x49f156=JSON[_0x168b88(0x226)](_0xeef0f4);switch(_0x49f156[_0x168b88(0x378)]){case j[_0x168b88(0x1b2)]:case j[_0x168b88(0x1d7)]:{const _0x5c0969=_0x49f156[_0x168b88(0x25c)];return{..._0x49f156,'data':_0x5c0969,'cmd':_0x49f156[_0x168b88(0x378)]};}case j[_0x168b88(0x13c)]:{const _0x13e917=_0x49f156[_0x168b88(0x112)];return{..._0x49f156,'data':_0x13e917,'cmd':_0x49f156[_0x168b88(0x378)]};}case j[_0x168b88(0x2ed)]:{const _0x19ee79=_0x49f156[_0x168b88(0x24b)];switch(_0x19ee79[_0x168b88(0x141)]){case _0x380110['PERMISSION_REJ']:return{..._0x49f156,'data':{..._0x19ee79,'data':(_0x1188f9=_0x19ee79[_0x168b88(0x312)])==null?void 0x0:_0x1188f9['cs']},'cmd':_0x49f156[_0x168b88(0x378)]};case _0x380110[_0x168b88(0x2c6)]:return{..._0x49f156,'data':{..._0x19ee79,'data':(_0x43153b=_0x19ee79[_0x168b88(0xe0)])==null?void 0x0:_0x43153b['cs']},'cmd':_0x49f156[_0x168b88(0x378)]};case _0x380110[_0x168b88(0xf9)]:return{..._0x49f156,'data':{..._0x19ee79,'data':(_0x443f33=_0x19ee79[_0x168b88(0x177)])==null?void 0x0:_0x443f33['cs']},'cmd':_0x49f156[_0x168b88(0x378)]};case _0x380110[_0x168b88(0x2de)]:return{..._0x49f156,'data':{..._0x19ee79,'data':(_0x23b491=_0x19ee79[_0x168b88(0x281)])==null?void 0x0:_0x23b491['cs']},'cmd':_0x49f156[_0x168b88(0x378)]};case _0x380110[_0x168b88(0x229)]:return{..._0x49f156,'data':{..._0x19ee79,'data':(_0x51e761=_0x19ee79[_0x168b88(0x129)])==null?void 0x0:_0x51e761['cs']},'cmd':_0x49f156[_0x168b88(0x378)]};case _0x380110[_0x168b88(0x210)]:return{..._0x49f156,'data':{..._0x19ee79,'data':_0x19ee79[_0x168b88(0x14d)]},'cmd':_0x49f156[_0x168b88(0x378)]};case _0x380110[_0x168b88(0xa8)]:return{..._0x49f156,'data':{..._0x19ee79,'data':_0x19ee79[_0x168b88(0x89)]},'cmd':_0x49f156['cmd']};case _0x380110[_0x168b88(0x2c0)]:return{..._0x49f156,'data':{..._0x19ee79,'data':_0x19ee79['leaveEvent']},'cmd':_0x49f156[_0x168b88(0x378)]};case _0x380110[_0x168b88(0x2fc)]:return{..._0x49f156,'data':{..._0x19ee79,'data':_0x19ee79[_0x168b88(0xa7)]},'cmd':_0x49f156['cmd']};case _0x380110[_0x168b88(0x24d)]:case _0x380110[_0x168b88(0x1f9)]:return{..._0x49f156,'data':{..._0x19ee79,'data':_0x19ee79[_0x168b88(0x19f)]},'cmd':_0x49f156[_0x168b88(0x378)]};case _0x380110[_0x168b88(0x25d)]:return{..._0x49f156,'data':{..._0x19ee79,'data':_0x19ee79['liveShareNewHost']},'cmd':_0x49f156[_0x168b88(0x378)]};case _0x380110[_0x168b88(0x305)]:return{..._0x49f156,'data':_0x19ee79,'cmd':_0x49f156[_0x168b88(0x378)]};case _0x380110[_0x168b88(0x22a)]:return{..._0x49f156,'data':{..._0x19ee79,'data':_0x19ee79[_0x168b88(0x1ad)]},'cmd':_0x49f156[_0x168b88(0x378)]};case _0x380110['UPDATE_PERMISSION_OBJ']:return{..._0x49f156,'data':{..._0x19ee79,'data':_0x19ee79['updatePermissionObjEvent']},'cmd':_0x49f156[_0x168b88(0x378)]};case _0x380110[_0x168b88(0x7c)]:return{..._0x49f156,'data':{..._0x19ee79,'data':_0x19ee79[_0x168b88(0x127)]},'cmd':_0x49f156['cmd']};case _0x380110['UNISCRIPT_RUN']:return{..._0x49f156,'data':{..._0x19ee79,'data':_0x19ee79[_0x168b88(0xe2)]},'cmd':_0x49f156['cmd']};default:return _0x49f156;}}default:return _0x49f156;}}function Ys(_0x2974ee){var _0x598cc9=_0x23bef1;switch(_0x2974ee['cmd']){case j[_0x598cc9(0x1b2)]:case j[_0x598cc9(0x1d7)]:return JSON[_0x598cc9(0x10a)]({'cmd':_0x2974ee[_0x598cc9(0x378)],'routeKey':_0x2974ee[_0x598cc9(0xe4)]});case j['INGEST']:{let _0x582e36;switch(_0x2974ee[_0x598cc9(0x369)]['eventID']){case _0x380110[_0x598cc9(0x210)]:{_0x582e36={'eventID':_0x380110[_0x598cc9(0x210)],'updateCursorEvent':_0x2974ee[_0x598cc9(0x369)][_0x598cc9(0x369)]};break;}case _0x380110['USERS_LEAVE']:{_0x582e36={'eventID':_0x380110[_0x598cc9(0x2c0)],'leaveEvent':_0x2974ee[_0x598cc9(0x369)]['data']};break;}case _0x380110[_0x598cc9(0xa8)]:{_0x582e36={'eventID':_0x380110[_0x598cc9(0xa8)],'joinEvent':_0x2974ee['data']['data']};break;}case _0x380110['LIVESHARE_NEW_HOST']:{_0x582e36={'eventID':_0x380110[_0x598cc9(0x2fc)],'liveShareNewHost':_0x2974ee[_0x598cc9(0x369)][_0x598cc9(0x369)]};break;}case _0x380110[_0x598cc9(0x1f9)]:{_0x582e36={'eventID':_0x380110[_0x598cc9(0x1f9)],'liveShareOperation':_0x2974ee[_0x598cc9(0x369)][_0x598cc9(0x369)]};break;}case _0x380110[_0x598cc9(0x25d)]:{_0x582e36={'eventID':_0x380110['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x2974ee['data'][_0x598cc9(0x369)]};break;}case _0x380110[_0x598cc9(0x134)]:{_0x582e36={'eventID':_0x380110[_0x598cc9(0x134)],'liveShareRequestHost':_0x2974ee[_0x598cc9(0x369)][_0x598cc9(0x369)]};break;}case _0x380110[_0x598cc9(0x24d)]:{_0x582e36={'eventID':_0x380110[_0x598cc9(0x24d)]};break;}default:_0x582e36={'eventID':_0x2974ee[_0x598cc9(0x369)][_0x598cc9(0x141)]};}return JSON[_0x598cc9(0x10a)]({'cmd':_0x2974ee[_0x598cc9(0x378)],'routeKey':_0x2974ee[_0x598cc9(0xe4)],'collaMsg':_0x582e36});}case j[_0x598cc9(0x13c)]:return JSON['stringify']({'cmd':_0x2974ee[_0x598cc9(0x378)],'routeKey':_0x2974ee[_0x598cc9(0xe4)],'joinReq':_0x2974ee[_0x598cc9(0x369)]});case j[_0x598cc9(0x32a)]:return JSON['stringify']({'cmd':_0x2974ee[_0x598cc9(0x378)],'routeKey':_0x2974ee[_0x598cc9(0xe4)],'leaveReq':_0x2974ee['data']});default:throw new Error(_0x598cc9(0x1b7));}}var Ks=Object['getOwnPropertyDescriptor'],qs=(_0x575749,_0x82906,_0x1c6184,_0x263a92)=>{var _0x302d22=_0x23bef1;for(var _0x53c9b9=_0x263a92>0x1?void 0x0:_0x263a92?Ks(_0x82906,_0x1c6184):_0x82906,_0x4ef290=_0x575749[_0x302d22(0x17e)]-0x1,_0x4e0611;_0x4ef290>=0x0;_0x4ef290--)(_0x4e0611=_0x575749[_0x4ef290])&&(_0x53c9b9=_0x4e0611(_0x53c9b9)||_0x53c9b9);return _0x53c9b9;},ye=(_0x4bfa02,_0x49a634)=>(_0x33f3d6,_0x5c6aaa)=>_0x49a634(_0x33f3d6,_0x5c6aaa,_0x4bfa02);const Ri=_0x112320(_0x23bef1(0x87));function zs(_0x227039,_0x30e1c5,_0x597a2c){var _0x2dd368=_0x23bef1;return _0x227039+'/'+_0x30e1c5+'/unit/'+_0x597a2c+_0x2dd368(0xf1);}let Gt=class extends _0x358c62{constructor(_0x4e3a04,_0x323b4f,_0x464568,_0x104b11,_0x4d802f){var _0x449b2b=_0x23bef1;super(),this[_0x449b2b(0x2ca)]=_0x4e3a04,this[_0x449b2b(0x1c3)]=_0x323b4f,this[_0x449b2b(0x32e)]=_0x464568,this[_0x449b2b(0x170)]=_0x104b11,this['_snapshotServerService']=_0x4d802f;}[_0x23bef1(0x2ee)](_0x24bd15){var _0x1c509e=_0x23bef1;const _0xeb79e6=this[_0x1c509e(0x2ca)][_0x1c509e(0x90)](_0x2efba6);if(!_0xeb79e6)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x486e58=_0xeb79e6[_0x1c509e(0x2f5)](_0x24bd15);if(!_0x486e58)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x10cefa=new _0x255c0e(),_0x3806f5=new _0x4d51e0();_0x10cefa[_0x1c509e(0x279)](_0x486e58[_0x1c509e(0x1d8)]['subscribe'](_0x564f64=>_0x3806f5['next'](_0x564f64))),_0x10cefa[_0x1c509e(0x279)](_0x98265e(()=>_0x3806f5[_0x1c509e(0x250)]()));const _0x464ba0=new _0x4d51e0();_0x10cefa[_0x1c509e(0x279)](_0x486e58[_0x1c509e(0x25b)][_0x1c509e(0x300)](_0x1f550e=>_0x464ba0[_0x1c509e(0xb8)](_0x1f550e))),_0x10cefa[_0x1c509e(0x279)](_0x98265e(()=>_0x464ba0[_0x1c509e(0x250)]()));const _0x2213f7=new _0x4d51e0();_0x10cefa[_0x1c509e(0x279)](_0x486e58[_0x1c509e(0x218)][_0x1c509e(0x300)](_0x39d696=>{const _0x5f5370=Ws(_0x39d696);_0x2213f7['next'](_0x5f5370);})),_0x10cefa[_0x1c509e(0x279)](_0x98265e(()=>_0x2213f7['complete']()));let _0x53302b;const _0x4d93aa=()=>{var _0x4a9dfc=_0x1c509e;_0x464ba0[_0x4a9dfc(0xb8)](new Event('connection\x20error')),_0x3806f5[_0x4a9dfc(0xb8)](new Event('connection\x20error')),_0x53302b[_0x4a9dfc(0x1da)]();};return _0x53302b={'memberID':'','close$':_0x3806f5[_0x1c509e(0x1aa)](),'error$':_0x464ba0[_0x1c509e(0x1aa)](),'open$':_0x486e58[_0x1c509e(0x11f)],'message$':_0x2213f7[_0x1c509e(0x1aa)](),'send':_0x5aa758=>{var _0x28326c=_0x1c509e;if(_0x5aa758['cmd']===j[_0x28326c(0x2f4)]){if(_0x5aa758[_0x28326c(0x369)]['eventID']===_0x380110['SUBMIT_CHANGESET']){this[_0x28326c(0x102)](_0x53302b,_0x5aa758[_0x28326c(0x369)])[_0x28326c(0x9d)](_0xcdad7b=>{var _0x5f4def=_0x28326c;this['_logService'][_0x5f4def(0xc4)](_0xcdad7b),_0x4d93aa();});return;}if(_0x5aa758[_0x28326c(0x369)][_0x28326c(0x141)]===_0x380110[_0x28326c(0x1c1)]){const _0xfe8aa2=_0x5aa758[_0x28326c(0x369)];this['_fetchMissChangesets'](_0xfe8aa2)[_0x28326c(0x2e2)](_0x5c823d=>{var _0x2d75dd=_0x28326c;_0x2213f7[_0x2d75dd(0xb8)]({'cmd':j['RECV'],'code':Ee['OK'],'routeKey':_0xfe8aa2[_0x2d75dd(0x369)][_0x2d75dd(0x299)],'routeType':'','data':{'eventID':_0x380110[_0x2d75dd(0x83)],'data':{'changesets':_0x5c823d}}});})['catch'](_0x15dd89=>{var _0x33a72e=_0x28326c;this[_0x33a72e(0x170)]['error'](_0x15dd89),_0x4d93aa();});return;}}_0x486e58[_0x28326c(0x274)](Ys(_0x5aa758));},'close':()=>{var _0x10b611=_0x1c509e;_0x486e58[_0x10b611(0x1da)](),_0x10cefa[_0x10b611(0x76)]();}},_0x53302b;}async[_0x23bef1(0x102)](_0x376d57,_0x5e08f9){var _0x65c713=_0x23bef1,_0x505c92;const {unitType:_0x803029,unitID:_0x1040ef,changeset:_0x28a9bc}=_0x5e08f9[_0x65c713(0x369)],_0x1facea={'unitID':_0x1040ef,'memberID':_0x376d57[_0x65c713(0x19b)],'type':_0x803029,'changeset':_0x525103(_0x28a9bc)},_0x19bb6f=this['_configService'][_0x65c713(0x200)](K),_0x1793e9=zs((_0x505c92=_0x19bb6f==null?void 0x0:_0x19bb6f[_0x65c713(0x288)])!=null?_0x505c92:Cs,_0x803029,_0x1040ef);try{await this[_0x65c713(0x1c3)][_0x65c713(0x2f6)](_0x1793e9,{'body':_0x1facea});}catch(_0x3da23e){throw this[_0x65c713(0x170)][_0x65c713(0xc4)](_0x65c713(0x135),_0x65c713(0x30a)),_0x3da23e;}}async[_0x23bef1(0x309)](_0x1654c0){var _0x4e1b94=_0x23bef1;const {unitID:_0x42b8a4,from:_0x3cbc4e,to:_0xf15466,unitType:_0x5437e2}=_0x1654c0[_0x4e1b94(0x369)];return(await this['_snapshotServerService'][_0x4e1b94(0x1a1)]({'metadata':void 0x0},{'unitID':_0x42b8a4,'type':_0x5437e2,'from':_0x3cbc4e,'to':_0xf15466}))[_0x4e1b94(0x313)][_0x4e1b94(0x257)](_0x48fa00=>((_0x48fa00[_0x4e1b94(0xb5)]===null||_0x48fa00['mutations']===void 0x0)&&(_0x48fa00[_0x4e1b94(0xb5)]=[]),_0x48fa00));}};Gt=qs([ye(0x0,_0x5a63ce(_0x34bd61)),ye(0x1,_0x5a63ce(_0x2d4854)),ye(0x2,_0x33ef1e),ye(0x3,_0x61abde),ye(0x4,_0x188002)],Gt);var Xs=Object[_0x23bef1(0x194)],Js=(_0x521334,_0xf1bb42,_0xbfc86d,_0x16862c)=>{var _0x5f1c95=_0x23bef1;for(var _0x3196a1=_0x16862c>0x1?void 0x0:_0x16862c?Xs(_0xf1bb42,_0xbfc86d):_0xf1bb42,_0x285e15=_0x521334[_0x5f1c95(0x17e)]-0x1,_0x164914;_0x285e15>=0x0;_0x285e15--)(_0x164914=_0x521334[_0x285e15])&&(_0x3196a1=_0x164914(_0x3196a1)||_0x3196a1);return _0x3196a1;},Re=(_0x10cdf0,_0xd753ab)=>(_0x2fef3a,_0x3942e3)=>_0xd753ab(_0x2fef3a,_0x3942e3,_0x10cdf0);let we=class extends _0x358c62{constructor(_0x22c628,_0x2600f0,_0x583534,_0xe62781,_0x316022,_0x446e18){var _0x4576ad=_0x23bef1;super(),D(this,'_socket$',new _0x2025e8(void 0x0)),D(this,'socket$',this['_socket$'][_0x4576ad(0x1aa)]()),D(this,_0x4576ad(0x2c5),null),D(this,_0x4576ad(0x24a),new Map()),D(this,_0x4576ad(0x297),new _0x2025e8(me[_0x4576ad(0x104)])),D(this,_0x4576ad(0x14e),this['_status$'][_0x4576ad(0x1aa)]()),D(this,_0x4576ad(0x6e),!0x1),D(this,_0x4576ad(0x265)),D(this,_0x4576ad(0xf2),0x0),D(this,_0x4576ad(0x213)),D(this,'_timeoutTimer'),(this[_0x4576ad(0x2ca)]=_0x22c628,this['_logService']=_0x2600f0,this[_0x4576ad(0x32e)]=_0x583534,this[_0x4576ad(0x27e)]=_0xe62781,this[_0x4576ad(0x1a6)]=_0x316022,this[_0x4576ad(0x350)]=_0x446e18,this[_0x4576ad(0x8d)]());}get[_0x23bef1(0x115)](){var _0x49fef0=_0x23bef1;return this[_0x49fef0(0x17b)][_0x49fef0(0x383)]();}[_0x23bef1(0x8d)](){var _0x253736=_0x23bef1;this[_0x253736(0x350)]&&this[_0x253736(0xf6)](this['_networkConditionService'][_0x253736(0x81)][_0x253736(0x300)](_0x20edf3=>{var _0x30b8bb=_0x253736;_0x20edf3&&!this[_0x30b8bb(0x115)]&&this[_0x30b8bb(0x283)](),_0x20edf3||this[_0x30b8bb(0xbc)]();}));}['dispose'](){var _0x2a9313=_0x23bef1;super['dispose'](),this[_0x2a9313(0x2d6)](),this[_0x2a9313(0x12c)](),this[_0x2a9313(0x15b)](),this[_0x2a9313(0x24a)][_0x2a9313(0x192)](_0x4210ab=>_0x4210ab['dispose']()),this[_0x2a9313(0x24a)][_0x2a9313(0x227)](),this[_0x2a9313(0x297)]['complete']();}async['requireSession'](_0x10eb9f){var _0x32d858=_0x23bef1;if(this['_sessions'][_0x32d858(0x1ac)](_0x10eb9f))return this[_0x32d858(0x24a)]['get'](_0x10eb9f);this[_0x32d858(0x147)]();const _0x396b4b=this['_injector'][_0x32d858(0x1b0)](mt,_0x10eb9f,this[_0x32d858(0x17b)]['asObservable']());return this[_0x32d858(0x24a)][_0x32d858(0x2ab)](_0x10eb9f,_0x396b4b),_0x396b4b;}[_0x23bef1(0x31b)](_0x361d47){var _0x19be9c=_0x23bef1,_0x22d392;const _0x50c421=this['_sessions'][_0x19be9c(0x90)](_0x361d47);_0x50c421&&(this[_0x19be9c(0x24a)][_0x19be9c(0x37c)](_0x361d47),_0x50c421[_0x19be9c(0x1da)]()),this['_sessions'][_0x19be9c(0x38b)]||(_0x22d392=this[_0x19be9c(0x115)])==null||_0x22d392[_0x19be9c(0x1da)]();}[_0x23bef1(0x283)](){var _0x1502f7=_0x23bef1;this[_0x1502f7(0xf2)]=0x0,this[_0x1502f7(0x2d6)](),this['_tryReconnect']();}[_0x23bef1(0x2d6)](){var _0x1ffc37=_0x23bef1;this[_0x1ffc37(0x265)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x1ffc37(0x265)]=null);}async['_createSocket'](){var _0x29f705=_0x23bef1,_0x27a0b8;const _0x26750c=this[_0x29f705(0x32e)][_0x29f705(0x200)](K),_0x49c92d=(_0x27a0b8=_0x26750c==null?void 0x0:_0x26750c[_0x29f705(0x37e)])!=null?_0x27a0b8:Ss,_0x405f5b=await this['_socketService']['createSocket'](_0x49c92d);return this[_0x29f705(0x2c5)]=_0x405f5b,_0x405f5b;}async[_0x23bef1(0x147)](){var _0x3213be=_0x23bef1,_0x24afff,_0x483fa8;try{const _0x58cce8=(_0x483fa8=(_0x24afff=this[_0x3213be(0x115)])!=null?_0x24afff:this[_0x3213be(0x2c5)])!=null?_0x483fa8:await this[_0x3213be(0x25a)]();if(_0x58cce8){const _0x25c833=_0x58cce8['send'];_0x58cce8[_0x3213be(0x274)]=_0x91ffb1=>(this[_0x3213be(0x30c)](),_0x25c833[_0x3213be(0x2a3)](_0x58cce8,[_0x91ffb1])),_0x58cce8[_0x3213be(0x218)]['subscribe'](_0x1c6fa2=>this[_0x3213be(0x13a)](_0x58cce8,_0x1c6fa2)),_0x58cce8[_0x3213be(0x25b)][_0x3213be(0x233)](_0x47557b(0x1))[_0x3213be(0x300)](_0x3a7c4b=>this[_0x3213be(0x170)][_0x3213be(0xc4)](_0x3213be(0x188),_0x3a7c4b)),_0x58cce8[_0x3213be(0x11f)][_0x3213be(0x233)](_0x47557b(0x1))['subscribe'](()=>{var _0x53fa57=_0x3213be;this[_0x53fa57(0x36b)](_0x58cce8);}),_0x58cce8[_0x3213be(0x1d8)][_0x3213be(0x233)](_0x47557b(0x1))[_0x3213be(0x300)](_0x57c609=>{var _0x12bac4=_0x3213be;this[_0x12bac4(0x170)]['debug'](_0x12bac4(0x2c7),_0x12bac4(0x2b5),_0x57c609),this[_0x12bac4(0x34f)]();});}}catch(_0x3a3e73){this[_0x3213be(0x170)][_0x3213be(0xc4)](_0x3a3e73),this[_0x3213be(0x34f)]();}}['_onConnectionOpen'](_0xdfa8c8){var _0xa99329=_0x23bef1;this[_0xa99329(0x170)][_0xa99329(0x1ce)](_0xa99329(0x2c7),_0xa99329(0x176)),_0xdfa8c8[_0xa99329(0x274)]({'cmd':j['HELLO']}),this[_0xa99329(0x30c)]();}['_onOffline'](){var _0x2c9676=_0x23bef1;this['_socketReady']=!0x1,this[_0x2c9676(0x2c5)]=null,this[_0x2c9676(0x297)]['next'](me[_0x2c9676(0x2a5)]),this[_0x2c9676(0x17b)][_0x2c9676(0xb8)](null),this['_clearTimeoutTimer'](),this[_0x2c9676(0x15b)]();}['_onConnectionFailed'](){var _0x3d09d6=_0x23bef1,_0x3fefb5;this[_0x3d09d6(0xbc)](),this[_0x3d09d6(0xf2)]<((_0x3fefb5=this[_0x3d09d6(0x32e)][_0x3d09d6(0x200)](Rs))!=null?_0x3fefb5:Ns)?(this[_0x3d09d6(0x1a6)]['emitEvent']({'id':re[_0x3d09d6(0x34a)]}),this[_0x3d09d6(0x234)]()):this[_0x3d09d6(0x1a6)][_0x3d09d6(0x7e)]({'id':re[_0x3d09d6(0x137)]});}[_0x23bef1(0x234)](){var _0x14f1ef=_0x23bef1,_0x2fff36;const _0x13678b=this[_0x14f1ef(0xf2)],_0x629369=this[_0x14f1ef(0x32e)][_0x14f1ef(0x200)](K),_0x61eaa4=_0x13678b===0x0?0x0:((_0x2fff36=_0x629369==null?void 0x0:_0x629369[_0x14f1ef(0x7a)])!=null?_0x2fff36:Os)*0x2**_0x13678b;this['_retryConnectingTimer']=setTimeout(()=>{var _0x436859=_0x14f1ef;clearTimeout(this['_retryConnectingTimer']),this[_0x436859(0x265)]=null,this[_0x436859(0x147)]();},_0x61eaa4),this[_0x14f1ef(0xf2)]+=0x1;}[_0x23bef1(0x13a)](_0x1e3d10,_0x340318){var _0x3e500c=_0x23bef1;const {cmd:_0x52da20}=_0x340318;_0x52da20===j[_0x3e500c(0x1d7)]&&!this[_0x3e500c(0x6e)]&&(_0x1e3d10['memberID']=_0x340318['data']['memberID'],this[_0x3e500c(0x17b)][_0x3e500c(0xb8)](_0x1e3d10),this[_0x3e500c(0x297)][_0x3e500c(0xb8)](me[_0x3e500c(0x32c)]),this[_0x3e500c(0x6e)]=!0x0,this[_0x3e500c(0x2c5)]=null),_0x52da20===j['HEARTBEAT']&&this[_0x3e500c(0x12c)](),this[_0x3e500c(0x30c)]();}[_0x23bef1(0x30c)](){var _0x1cf361=_0x23bef1,_0x20b890;this[_0x1cf361(0x15b)](),this[_0x1cf361(0x213)]=setTimeout(()=>this[_0x1cf361(0x333)](),(_0x20b890=this[_0x1cf361(0x32e)]['getConfig'](gs))!=null?_0x20b890:Ts);}[_0x23bef1(0x333)](){var _0x10388b=_0x23bef1;this[_0x10388b(0x115)][_0x10388b(0x274)]({'cmd':j[_0x10388b(0x1b2)]}),this[_0x10388b(0x8c)]();}[_0x23bef1(0x8c)](){var _0x463ec6=_0x23bef1,_0x28eb2b;this[_0x463ec6(0xf7)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x28eb2b=this[_0x463ec6(0x32e)][_0x463ec6(0x200)](di))!=null?_0x28eb2b:fi);}[_0x23bef1(0x15b)](){var _0x4eab5b=_0x23bef1;this[_0x4eab5b(0x213)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x4eab5b(0x213)]=null);}['_clearTimeoutTimer'](){this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};we=Js([Re(0x0,_0x5a63ce(_0x34bd61)),Re(0x1,_0x61abde),Re(0x2,_0x33ef1e),Re(0x3,Ri),Re(0x4,_0x5a63ce(ve)),Re(0x5,_0x5e8b57(Gs))],we);var Zs=Object[_0x23bef1(0x194)],Qs=(_0x4d61c6,_0x1a6dee,_0x493e82,_0x302c87)=>{var _0x17f7dc=_0x23bef1;for(var _0x33e021=_0x302c87>0x1?void 0x0:_0x302c87?Zs(_0x1a6dee,_0x493e82):_0x1a6dee,_0x56228a=_0x4d61c6[_0x17f7dc(0x17e)]-0x1,_0x3d2745;_0x56228a>=0x0;_0x56228a--)(_0x3d2745=_0x4d61c6[_0x56228a])&&(_0x33e021=_0x3d2745(_0x33e021)||_0x33e021);return _0x33e021;},Be=(_0x15c00f,_0x24dacb)=>(_0x5a9ca7,_0x43210e)=>_0x24dacb(_0x5a9ca7,_0x43210e,_0x15c00f);let nt=class extends _0x9a530{constructor(_0xe892cb,_0xb83e6f,_0x1dd3bd,_0x1b2a67){var _0x24f160=_0x23bef1,_0x3581e4;super(),D(this,_0x24f160(0x270),new Map()),D(this,_0x24f160(0x164),new _0x4d51e0()),D(this,_0x24f160(0x31c),this[_0x24f160(0x164)][_0x24f160(0x1aa)]()),(this['_injector']=_0xe892cb,this['_collabSessionService']=_0xb83e6f,this[_0x24f160(0x32e)]=_0x1dd3bd,this[_0x24f160(0x9c)]=_0x1b2a67,((_0x3581e4=this['_configService'][_0x24f160(0x200)](K))==null?void 0x0:_0x3581e4[_0x24f160(0x18c)])!==!0x1&&this[_0x24f160(0x322)]());}[_0x23bef1(0x76)](){var _0x56b94c=_0x23bef1;super[_0x56b94c(0x76)](),this[_0x56b94c(0x270)]['forEach'](_0x5a05d0=>_0x5a05d0[_0x56b94c(0x76)]()),this[_0x56b94c(0x270)][_0x56b94c(0x227)]();}[_0x23bef1(0x11b)](_0x1cd3a6){var _0x43bc36=_0x23bef1,_0x3b90f6;return(_0x3b90f6=this[_0x43bc36(0x270)][_0x43bc36(0x90)](_0x1cd3a6))!=null?_0x3b90f6:null;}[_0x23bef1(0x351)](_0x319043){var _0x5ba009=_0x23bef1;const _0x4b3f3b=this[_0x5ba009(0x11b)](_0x319043);return _0x4b3f3b?_0x567f70(_0x4b3f3b):this[_0x5ba009(0x164)][_0x5ba009(0x233)](_0x26e4d6(_0x5855f7=>_0x5855f7[_0x5ba009(0x299)]===_0x319043));}[_0x23bef1(0x291)](_0xc8f2f7){return _0x3c2d69(this['getCollabEntity$'](_0xc8f2f7)['pipe'](_0x12c64a(()=>{})));}[_0x23bef1(0x322)](){var _0x5e0538=_0x23bef1;this[_0x5e0538(0x9c)]['getTypeOfUnitAdded$'](_0x22b18a[_0x5e0538(0xde)])[_0x5e0538(0x233)](_0x4ba366(this['dispose$']),_0x2379ef(0x10))[_0x5e0538(0x300)](async _0x2a47c3=>{var _0x1cb67b=_0x5e0538;const _0x4f431f=_0x2a47c3['getUnitId'](),_0x4b5ff9=await this[_0x1cb67b(0x302)](_0x4f431f,Q['UNIVER_SHEET']);this[_0x1cb67b(0x270)][_0x1cb67b(0x2ab)](_0x4f431f,_0x4b5ff9);}),this['_univerInstanceService'][_0x5e0538(0xc2)](_0x22b18a[_0x5e0538(0x128)])[_0x5e0538(0x233)](_0x4ba366(this[_0x5e0538(0x10e)]),_0x2379ef(0x10))[_0x5e0538(0x233)](_0x26e4d6(_0x2f2898=>!_0x2f2898[_0x5e0538(0xa0)]()['startsWith']('__')))[_0x5e0538(0x300)](async _0x198152=>{var _0x10c62f=_0x5e0538;const _0x169ffb=_0x198152[_0x10c62f(0xa0)](),_0x4bb5b1=await this[_0x10c62f(0x302)](_0x169ffb,Q[_0x10c62f(0x128)]);this['_entities']['set'](_0x169ffb,_0x4bb5b1);}),_0x365f75(this[_0x5e0538(0x9c)][_0x5e0538(0x282)](_0x22b18a[_0x5e0538(0xde)]),this[_0x5e0538(0x9c)][_0x5e0538(0x282)](_0x22b18a[_0x5e0538(0x128)]))[_0x5e0538(0x233)](_0x4ba366(this[_0x5e0538(0x10e)]))[_0x5e0538(0x300)](_0x4e29e6=>{var _0x22a7b5=_0x5e0538;const _0x13490c=_0x4e29e6[_0x22a7b5(0xa0)](),_0x25da28=this[_0x22a7b5(0x270)]['get'](_0x13490c);_0x25da28&&(_0x25da28['dispose'](),this[_0x22a7b5(0x270)][_0x22a7b5(0x37c)](_0x13490c));});}async[_0x23bef1(0x302)](_0x174e1f,_0x1047f2){var _0x4442db=_0x23bef1;const _0x1405f4=await this['_collabSessionService'][_0x4442db(0xd7)](_0x174e1f),_0xd103cf=this[_0x4442db(0x2ca)][_0x4442db(0x1b0)](this[_0x4442db(0x126)](_0x1047f2),_0x174e1f,_0x1047f2,_0x1405f4);return await _0xd103cf[_0x4442db(0x2ce)](),this[_0x4442db(0x164)]['next'](_0xd103cf),_0xd103cf;}[_0x23bef1(0x126)](_0x55cce7){var _0x1724e6=_0x23bef1;switch(_0x55cce7){case Q[_0x1724e6(0x128)]:return It;case Q[_0x1724e6(0xde)]:return St;default:throw new Error(_0x1724e6(0x24e)+_0x55cce7);}}};nt=Qs([Be(0x0,_0x5a63ce(_0x34bd61)),Be(0x1,_0x5a63ce(we)),Be(0x2,_0x33ef1e),Be(0x3,_0x37df1d)],nt);var en=Object[_0x23bef1(0x194)],tn=(_0x4c8702,_0x50ac72,_0x9ef49b,_0x56d28c)=>{for(var _0x2d01dc=_0x56d28c>0x1?void 0x0:_0x56d28c?en(_0x50ac72,_0x9ef49b):_0x50ac72,_0x110100=_0x4c8702['length']-0x1,_0x236210;_0x110100>=0x0;_0x110100--)(_0x236210=_0x4c8702[_0x110100])&&(_0x2d01dc=_0x236210(_0x2d01dc)||_0x2d01dc);return _0x2d01dc;},Wt=(_0x1dab49,_0x4b4771)=>(_0x3c2e86,_0x534526)=>_0x4b4771(_0x3c2e86,_0x534526,_0x1dab49);const sn='DEFAULT_FILE_NAME',nn=_0x23bef1(0x130);let gt=class extends _0x358c62{constructor(_0x3aa556,_0x4a4c8c){var _0x11d7b7=_0x23bef1;super(),this['_univerInstanceService']=_0x3aa556,this[_0x11d7b7(0x32e)]=_0x4a4c8c,this[_0x11d7b7(0x322)]();}['_init'](){var _0x23a3d0=_0x23bef1;this[_0x23a3d0(0xf6)](this['_univerInstanceService'][_0x23a3d0(0x2ac)][_0x23a3d0(0x300)](()=>{var _0x31c0be=_0x23a3d0,_0x21e25d;const _0x401304=this[_0x31c0be(0x9c)]['getFocusedUnit']();let _0x433da2=(_0x21e25d=this['_configService']['getConfig'](sn))!=null?_0x21e25d:nn;_0x401304 instanceof _0x53f3d8&&(_0x433da2=_0x401304['name']),document[_0x31c0be(0xdc)]=_0x433da2;}));}};function _0x576f(){var _0x42a881=['loadUnit','setCurrentUser','LOCAL_CACHE_INTERVAL','__Key__','collaboration-client.config','exports','_toggleOnline','apply','symbol','OFFLINE','_handlerCallback','_transformRemoteChangesetByIMECache','_onRemoteRejected','objectID','call','set','focused$','LICENSE_IMPORT_SIZE_EXCEEDED','CONFLICT','onStarting','byteLength','onTransformRemoteChangesetByStateCache','sessionStatus','/resources','sendChangesetTimeout','socket\x20close','state','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','create','_createHandler','Malformed\x20UTF-8\x20data','fromCharCode','revision','_state','appendMutation','USER_IS_ANONYMOUS','USERS_LEAVE','/universer-api/uniscript','formatter','NO_OTHER_CLIENTS_EDITING','ENTITLE_REPORT_LIMIT_EXCEED','_candidateSocket','CHANGESET_ACK','[CollaborationSessionService]','COMPRESS_MUTATION_SEND','NOT_FOUND','_injector','default','avatar','decrypt','init','onMutationExecutedForCollab','60QVPGmj','mode','Failed\x20to\x20update\x20permission\x20point','getRoom','originalMeta','AWAITING_WITH_PENDING','_clearRetryConnectingTimer','_members$','REDEMPTION_CODE_INACTIVE','univer-pro.collaboration-client.network-condition.service','iterations','editingUnit','/allowed','_key','CHANGESET_REJ','getTime','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_commentUpdate$','then','Error\x20on\x20receiving\x20event','_doProcessBlock','_onUserJoin','_type','resend','conflict','saveChangeset','now','[CollaborationState]:\x20apply\x20error!','onSendChangeset','RECV','_doCreateSocket','_stopTelemetryCollaborationNewChangeset','loadDoc','downloadEndpointUrl','clone','REDEMPTION_CODE_FULLY_REDEEMED','INGEST','createSocket','post','/universer-api/snapshot','_doReset','_getLoginPath','_commandService','toggleOnline','LIVESHARE_NEW_HOST','executeCommand','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','responseType','subscribe','stopTime','_startCollaboration','_clearUndo','onCommentUpdate','MSG_FOR_ERROR','_map','INTERNAL_ERROR','_append','_fetchMissChangesets','submit\x20changeset\x20error!','JOIN_ROOM_FAILED','_rescheduleHeartbeat','YUUMI_NO_CUBOID_FOR_QUESTION','isPermissionRej','transformChangesets','save\x20fail\x20reason\x20is\x20','compute','permissionRejEvent','changesets','18YsUiZm','EMAIL_VERIFY_CODE_MISMATCH','_data','SYNCED','_resendWithTimeout','change$','getMember','closeSession','entityInit$','addImageSourceCache','ENTITLE_COUPON_USED_UP','collaboration_new_changeset','_shouldReportTelemetry','randomBytes','_init','_unitID','_userManagerService','_roomMembers','getCurrentSelections','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','/fetchmissing?from=','_cipher','LEAVE','Hasher','ONLINE','ciphertext','_configService','_schedule','kdf','_nRounds','execute','_sendHeartbeat','COMPRESS_MUTATION_APPLY','registerHTTPInterceptor','_telemetryService','saveSnapshot','Base','AWAITING','UnitEmbedded','_sender','ERROR_IMAGE','OpenSSL','/-/object/list','_change$','?size=','ERROR_IMAGE_TYPE','_initUnitPermissionChange','136XYHPHi','min','_unlockTransition','ALREADY_EXISTS','_removeRoom','copyFileMeta','readAsDataURL','SOCKET_FAILED_RETRY','enableSingleActiveInstanceLock','_transformStack','_scheduleCollaborationTimeoutTimer','_clearScheduledTask','_onConnectionFailed','_networkConditionService','getCollabEntity$','APPLY_REVISION_CONFILICT','headers','REDEMPTION_CODE_HAS_BEEN_CREATED','createDecryptor','unit-cache-','ws://127.0.0.1:8000/universer-api/comb/connect','REDEMPTION_CODE_NOT_STARTED','ENTITLE_INVALID_COUPON_CODE','_updateState','_queuedRemoteChangesets','_updateLocalCache','deepClone','saveSheetBlock','JOIN_ROOM_NOT_EXISTS','_emitMembers','/block/','_prevBlock','YUUMI_TABLE_NOT_FOUND_IN_UNIT','key','_transformSelections','_decreaseWaiting','ERROR_AGAIN','/universer-api/authz','data','algo','_onConnectionOpen','__splitChunk__','\x0aCurrent:\x20','_checkMissing','_keySchedule','join','removeMember','_iv','collaboration-client.local-cache-service','slice','splice','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','NoPadding','cmd','SUBMIT_CHANGESET','indexOf','getUnitOnRev','delete','defineProperty','collabWebSocketUrl','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','YUUMI_CONNECTOR_URL_NOT_FOUND','onTransformState','random','getValue','ENSURE_SNAPSHOT_EXECUTION','getSheetBlock','EMAIL_HAS_BEEN_BOUND','onRemoteRej','1846nZyQNd','REDEMPTION_USER_REDEEM_TIMES_EXCEED','prototype','size','_transformUndoredo','30969zpCafD','sigBytes','session.room-not-exists','image/gif','unknown','charCodeAt','params','_socketReady','_transitionLocked','_telemetryInfo','Pkcs7','Utf8','updateCollaborator','UNKNOWN_CODE','56061WzUPfN','dispose','MUTATION','_collaborationTimeoutTimer','/-/object/-/batch_allowed','retryConnectingInterval','MD5','SHOULD_CLOSE_CONN','FileId','emitEvent','/universer-api/file/{fileID}/sign-url','setShowComponents','online$','_onRecvEvent','PSEUDO_FETCH_MISSING_RESULT','disableLocalCache','/role','updateSnapshot','univer-pro.collaboration-client-socket-service','_imageSourceCache','joinEvent','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','buffer','_waitForHeartbeatResponse','_listenToNetworkCondition','getInterceptPoints','\x0aAfter:\x20','get','snapshot','UNAUTHENTICATED','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','awaiting','_onRemoteChangeset','_remoteChangesetQueue','userID','signUrlServerUrl','CONNECTOR_DATA_TOO_LARGE','136636KYMwdx','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_univerInstanceService','catch','YUUMI_UNABLE_LOAD_URL','ivSize','getUnitId','location','_commentService','onTransformIME','ENTITLE_NEED_BILLING_ADDRESS','ENTITLE_DUP_SUBSCRIPTION','_changesetSessionId','liveShareNewHost','USERS_ENTER','CipherParams','_DEC_XFORM_MODE','PENDING','DATA_SOURCE_TOO_LARGE','_toggleOffline','sessionStatus$','image/bmp','loadSheet','session.room-full','OTHER_CLIENTS_EDITING','substr','function','mutations','m2Prime','_syncEditingCollabCursor','next','requestParams','put','getSnapshotAPIPath','_onOffline','_invKeySchedule','UUID','enc','onTransformRemoteChangesetByIMECache','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','getTypeOfUnitAdded$','loginUrlKey','error','onRemoteAck','state$','pauseCollaboration','JOINING','_joinRoom','actions','_undoRedoService','YUUMI_RATE_OVER_LIMIT','subject','_onCombEvent','_localCacheService','_replaceFileID','[CollaborationEntity]','HmacMD5','createCollaborator','textRanges','FETCH_MISS','_startTelemetryCollaborationNewChangeset','requireSession','fromCollab','{fileID}','_scheduleCompleteTimestamp','APPLY_REJECT','title','OTHER_CLIENT_EDITING','UNIVER_SHEET','Cipher','csAckEvent','/collaborator','uniscriptRunEvent','YUUMI_ALL_TABLES_IS_INVALID','routeKey','LICENSE_MAX_UNITS_EXCEEDED','from','reverse','getSheetId','getResourcesRequest','_collaborationPaused','SNAPSHOT_HAS_BEEN_REMOVED','_nDataBytes','_compressMutationService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','reqId','reject','/new_changes','_retryCount','update','FAIL','CURRENT_STATUS_CANNOT_OPERATE','disposeWithMe','_timeoutTimer','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','NEW_CHANGESETS','transformStack\x20failed!','charAt','findIndex','HttpExport','_sessionStatus$','_revisionService','getImageSourceCache','keySize','_submitChangeset','synced','IDLE','Base64','onSyncEditingCollabCursor','awaitingChangeset','YUUMI_ASYNCIO_CANCELLED','_incrementRevisionNumber','stringify','_process','reduce','_transformIMECache','dispose$','_clearLocalCache','UNRECOGNIZED','_keyPriorReset','joinRsp','_minBufferSize','_ENC_XFORM_MODE','_socket','\x20in\x20_schedule.','refreshPermission','_replayCachedMutations','_onRemoteACK','_localeService','getCollabEntity','waitForRoom$','sheets','mixIn','open$','localeService','_sendingTimer','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','288912fAvUPh','_showConflictNotification','GLOBAL_ROOMS_CNT_EXCEEDS','_getCtorByUniverType','shouldCloseConn','UNIVER_DOC','csShouldRetryEvent','ENTITLE_COUPON_EXPIRED','finalize','_clearTimeoutTimer','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','awaiting_with_pending','max','Univer','updatePermissionPoint','JOIN_ROOM_FULL','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','LIVESHARE_REQUEST_HOST','[CollaborationSession]','_getUploadFileURL','SOCKET_FAILED','LOGIN_TOKEN_PROCESSING_FAILED','\x20-\x20','_onMessage','WordArray','JOIN','COMPLETION_FINISHED','includes','getLatestCsReqIdBySid','enableAuthServer','eventID','encode','onRemoteChangeset','objectActions','JOIN_ROOM_PERMISSION_DENIED','string','_tryEnsureSocket','_acknowledgedAwaitingChangeset','CLOSE_ROOM','push','session.room-cnt-exceeds','_permissionService','updateCursorEvent','status$','fetching\x20missing\x20changesets\x20from\x20','transformSelections','_initDependencies','PY_RUNTIME_SCRIPT_ERROR','_getAPIPrefixPath','fetchMiss','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_socketMessageSubscription','concat','_substituteRedoStack','_onFetchMissResult','UNIVER_PROJECT','_clearHeartbeatTimer','__creator','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','CHANGESET_REVISION_CONFILICT','session','addHandlerCallback','interceptor','type','url','_entityInit$','clamp','_sheetTransformSelectionsService','CBC','onMissingChangesets','_pendingMutations','_createInitialState','code','capture','_applyRemoteChangeset','/universer-api/stream/file/upload','__esModule','_logService','_getAPIPrefix','PERSON','offline','2168vCEunV','getDeserializedSheetBlock','socket\x20open.','newCsEvent','loadOfflineData','_getSendChangesetTimeout','_createHmacHelper','_socket$','_resendTimeout','APPLY_DUPLICATED','length','words','onTransformSelections','auth.needGotoLoginAlert','toString','MOBILE_HAS_BEEN_BOUND','baseRev','withCredentials','href','getCurrentRevOfUnit','[CollaborationSessionService]:\x20socket\x20error','_clearRedo','_config','blockSize','enableCollaboration','session.room-permission-denied','[SyncedState]:\x20received\x20rejection.','x-univer-host','_transformService','collaboratorID','forEach','/universer-api/comb','getOwnPropertyDescriptor','REDEMPTION_USER_NOT_ELIGIBLE','_waitCount','_getUndoStack','saveImage','_snapshotService','sid','memberID','setWaitCount','[DataLoaderService]','event$','liveShareOperation','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','fetchMissingChangesets','/rev/','fetchThroughInterceptors','SUBMIT_CHANGESET_TIMEOUT','SUCCUSS','_collaborationUIEventService','telemetry\x20info\x20is\x20not\x20initialized','compose','People','asObservable','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','has','commentUpdateEvent','_updateStatus','image/jpeg','createInstance','getCurrentUser','HEARTBEAT','hasher','encrypt','filter','msCrypto','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','ENTITLE_CAN_NOT_BUY_LOWER_OTP','BufferedBlockAlgorithm','MOBILE_VERIFY_CODE_MISMATCH','_handler','_getSignURL','byteOffset','listRoles','SNAPSHOT_URL_KEY','authzUrl','FETCH_MISSING','_awaitingChangeset','_httpService','BASE64','USER_NOT_FOUND','action','_reverseMap','HmacSHA1','_memberService','sin','_getDownloadEndpointURL','SerializableCipher','_initRequestHeader','debug','_onRemoteRetry','SNAPSHOT_INVALID_SNAPSHOT','_isPermissionRej','_doCryptBlock','/object/','HttpImport','ceil','EvpKDF','HELLO','close$','_onLocalMutation','close','processBlock','members$','_roomCreated$','_transformStateCache','updateMember','_resendTimer','startTime','onlyLocal','POST','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_initMergeInterceptor','repeat','localCacheService','crypto','unsubscribe','_HTTPService','OPTIONAL','Decryptor','UnitSnapshot','Encryptor','INVITE_CODE_HAS_BEEN_UES','format','BlockCipher','_event$','_transformRemoteChangesetByStateCache','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_createHelper','getWorkbookSelections','[CollaborationUndoRedoService]','createEncryptor','LIVESHARE_OPERATION','_hasher','unitId\x20is\x20not\x20found','INVITE_CODE_ALREADY_BOUND','INVALID_ARGUMENT','roomInfos','unitId','getConfig','_eventService','find','ENTITLE_INSUFFICIENT_QUOTA','NOT_COLLAB','_createInitialStateImpl','fetch_missing','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','list','uploadFileServerUrl','PERMISSION_REJ','toggleOffline','LICENSE_EXPORT_SIZE_EXCEEDED','_throwTelemetryCollaborationNewChangeset','onLocalMutation','socketService','UPDATE_CURSOR','incrementRevOfUnit','enableOfflineEditing','_sendHeartbeatTimer','_onJoinRoomEvent','abs','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','APPLY_NON_SEQUENTIAL_REVISION','message$','$super','selections','UNDEFINED','_unitInfo$','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_changesetReqId','updateOfflineData','c1Prime','hostname','BlockCipherMode','unpad','_getCurrentRevision','loadUnitOfRevision','parse','clear','transformUndoRedo','CHANGESET_SHOULD_RETRY','COMMENT_UPDATE','HEARTBEAT_INTERVAL','REDEMPTION_INVALID_CODE','_members','rev','lib','file','onRemoteRetry','isArray','pipe','_tryReconnect','_xformMode','/unit/','PAYMENT_CHANNEL_NOT_SUPPORT','failed\x20to\x20apply\x20missed\x20changesets!','image/jpg','_maxTotalRetryTimeout','LICENSE_DISTRO_REJECTED','_executeRemoteChangeset','_iKey','UNIVER_UNKNOWN','objects','image/png','SHA1','result','[OfflineState]:\x20received\x20rejection.','pending','UNIVER_SLIDE','unitInfo$','_state$','LOGIN_FAILED','AES','_sessions','collaMsg','range','LIVESHARE_FETCH_OPERATIONS','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[PendingState]:\x20received\x20rejection.','complete','ENTITLE_CHAT_LIMIT_EXCEED','readInt32LE','_undoStacks','_hash','floor','encryptBlock','map','_onConflict','_parse','_createSocket','error$','infoRsp','LIVESHARE_TERMINATE','451WbjTVz','body','append','RETRY_CONNECTING_MAX_COUNT','_singleActiveUnitService','YUUMI_SUBSCRIPTION_NOT_FOUND','_doFinalize','_retryConnectingTimer','reset','&source=','pad','236890rCjfBN','transformMutationsWithChangeset','_getRedoStack','INVALID_INVITE_CODE','UserProfileImg','[SyncedState]:\x20received\x20acknowledgement.','616140ERXHzg','_entities','objectType','_collaborationSessionService','resolve','send','YUUMI_AI_RUN_FAILED','_oKey','_initCloseConn','APPLY_PERMISSION_DENIED','add','hasOwnProperty','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','name','\x20to\x20','_socketService','_mode','_onUserLeave','csRejEvent','getTypeOfUnitDisposed$','reconnect','salt','not_collab','extend','getRandomValues','collabSubmitChangesetUrl','3686070UhbENT','status','_disableEditing','Could\x20not\x20dynamically\x20require\x20\x22','_substituteUndoStack','AUTHORIZE_CODE_ILLEGAL','_lockTransition','UNKNOWN_CMD','readyForCollab','collaborators','UPDATE_PERMISSION_OBJ','INVITE_CODE_REQUIRED','ClipsheetFragments','USER_NOT_INVITED_CODE','_status$','cfg','unitID','_instanceService','PERMISSION_DENIED'];_0x576f=function(){return _0x42a881;};return _0x576f();}gt=tn([Wt(0x0,_0x37df1d),Wt(0x1,_0x33ef1e)],gt);var rn=Object[_0x23bef1(0x194)],an=(_0x5e1d76,_0x58c954,_0x3eaa47,_0x5c6a52)=>{for(var _0x532b15=_0x5c6a52>0x1?void 0x0:_0x5c6a52?rn(_0x58c954,_0x3eaa47):_0x58c954,_0x174813=_0x5e1d76['length']-0x1,_0x5296b0;_0x174813>=0x0;_0x174813--)(_0x5296b0=_0x5e1d76[_0x174813])&&(_0x532b15=_0x5296b0(_0x532b15)||_0x532b15);return _0x532b15;},dt=(_0x33d2ef,_0x12b9cf)=>(_0x4601d6,_0x589362)=>_0x12b9cf(_0x4601d6,_0x589362,_0x33d2ef);let rt=class{constructor(_0x42d437,_0x211cca,_0x452ca4){var _0x2c7b3e=_0x23bef1;this[_0x2c7b3e(0x32e)]=_0x42d437,this['_httpService']=_0x211cca,this[_0x2c7b3e(0x120)]=_0x452ca4,this[_0x2c7b3e(0x2ce)]();}[_0x23bef1(0x2ce)](){var _0x1456b4=_0x23bef1;this['_httpService'][_0x1456b4(0x335)]({'priority':0x1,'interceptor':(_0x1c4f7c,_0x38be1e)=>_0x38be1e(_0x1c4f7c)[_0x1456b4(0x233)](_0x14a2ca(async _0xc0f7ae=>{var _0xe77646=_0x1456b4;const _0x4dd4b4=_0xc0f7ae;if(_0x4dd4b4[_0xe77646(0x28a)]===0x191){if(typeof window>'u')throw new Error(_0xe77646(0xc1));if(window['confirm'](this[_0xe77646(0x120)]['t'](_0xe77646(0x181)))){const _0x7a4656=window['encodeURIComponent'](window[_0xe77646(0xa1)]['href']);window['location'][_0xe77646(0x186)]=this['_getLoginPath']()+'?url='+_0x7a4656;}}return _0x4dd4b4;}))});}[_0x23bef1(0x2f9)](){var _0x1dba5b=_0x23bef1,_0x502b30;const _0x342296=this[_0x1dba5b(0x32e)][_0x1dba5b(0x200)](K);return(_0x502b30=_0x342296==null?void 0x0:_0x342296[_0x1dba5b(0xc3)])!=null?_0x502b30:bs;}};rt=an([dt(0x0,_0x33ef1e),dt(0x1,_0x5a63ce(_0x2d4854)),dt(0x2,_0x5a63ce(_0xc18a09))],rt);var on=Object['getOwnPropertyDescriptor'],cn=(_0x553854,_0x134060,_0x36f70f,_0x328ae7)=>{var _0x57279f=_0x23bef1;for(var _0x5c01a9=_0x328ae7>0x1?void 0x0:_0x328ae7?on(_0x134060,_0x36f70f):_0x134060,_0xe198b5=_0x553854[_0x57279f(0x17e)]-0x1,_0x671a67;_0xe198b5>=0x0;_0xe198b5--)(_0x671a67=_0x553854[_0xe198b5])&&(_0x5c01a9=_0x671a67(_0x5c01a9)||_0x5c01a9);return _0x5c01a9;},Yt=(_0x130bea,_0x3e301e)=>(_0x4722db,_0x50947c)=>_0x3e301e(_0x4722db,_0x50947c,_0x130bea);const _n='/universer-api/authz';let Tt=class extends _0x358c62{constructor(_0x1bd35d,_0x1626e6){var _0x2691f7=_0x23bef1;super(),this[_0x2691f7(0x1ea)]=_0x1bd35d,this[_0x2691f7(0x32e)]=_0x1626e6,this[_0x2691f7(0x1e5)]();}[_0x23bef1(0x1e5)](){var _0x20638=_0x23bef1;const _0x456215=this;this[_0x20638(0xf6)](this['_HTTPService'][_0x20638(0x335)]({'priority':0x3e7,'interceptor':_0x87529e({'isMatch'(_0x12a583){var _0x8a7700=_0x20638,_0xc53ab1;if(_0x12a583['method']==='POST'&&((_0xc53ab1=_0x12a583['requestParams'])!=null&&_0xc53ab1[_0x8a7700(0x25f)])){const {objectID:_0x53a42c,objectType:_0x24b7cf}=_0x12a583[_0x8a7700(0xb9)][_0x8a7700(0x25f)]||{};if(!_0x53a42c||_0x24b7cf===void 0x0)return!0x1;const _0x14c0c3=_0x456215['_getAPIPrefixPath']()+'/'+_0x24b7cf+_0x8a7700(0x1d3)+_0x53a42c+_0x8a7700(0x2dc);if(_0x12a583['url']===_0x14c0c3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x31646d){var _0xa66bfe;return(_0xa66bfe=_0x31646d['requestParams'])==null?void 0x0:_0xa66bfe['body'];},'mergeParamsToRequest'(_0x458098,_0x1e1b70){var _0x2f7fb6=_0x20638;const _0x4450e9=_0x456215[_0x2f7fb6(0x153)]()+'/-/object/-/batch_allowed',_0x522b76=_0x458098['reduce']((_0x3c6010,_0x50ff82)=>{var _0x42e146=_0x2f7fb6;const {unitID:_0x583109,objectID:_0x523d1b,objectType:_0x2bab45,actions:_0x27151c}=_0x50ff82;return _0x3c6010[_0x583109]||(_0x3c6010[_0x583109]={}),_0x3c6010[_0x583109][_0x523d1b]||(_0x3c6010[_0x583109][_0x523d1b]={'objectID':_0x523d1b,'objectType':_0x2bab45,'actions':[]}),_0x3c6010[_0x583109][_0x523d1b]['actions'][_0x42e146(0x14a)](..._0x27151c),_0x3c6010;},{}),_0x2dd4f0=[];for(const _0x1f739a in _0x522b76)for(const _0x262bac in _0x522b76[_0x1f739a]){const {actions:_0x38cef7,objectType:_0x41e83b}=_0x522b76[_0x1f739a][_0x262bac],_0x4eaae8=[...new Set(_0x38cef7)];_0x2dd4f0[_0x2f7fb6(0x14a)]({'unitID':_0x1f739a,'objectID':_0x262bac,'objectType':_0x41e83b,'actions':_0x4eaae8});}return new _0xc542a7(_0x2f7fb6(0x1e3),_0x4450e9,{'headers':_0x1e1b70[_0x2f7fb6(0x353)],'withCredentials':_0x1e1b70[_0x2f7fb6(0x185)],'responseType':_0x1e1b70[_0x2f7fb6(0x2ff)],'body':{'requests':_0x2dd4f0}});}},{'distributeResult'(_0x30def8,_0x10cb98){var _0x34a2e6=_0x20638;const {objectActions:_0x188b4f}=_0x30def8;return _0x10cb98[_0x34a2e6(0x257)](_0x1c1898=>{var _0x4bf162=_0x34a2e6;const {unitID:_0x5f0f01,objectID:_0x3b1f1a,actions:_0x6f496a}=_0x1c1898,_0x45f323=_0x188b4f[_0x4bf162(0x202)](_0x289d3f=>_0x289d3f['unitID']===_0x5f0f01&&_0x289d3f[_0x4bf162(0x2a9)]===_0x3b1f1a),_0x2cb894=_0x6f496a[_0x4bf162(0x257)](_0x39c539=>_0x45f323==null?void 0x0:_0x45f323[_0x4bf162(0xca)][_0x4bf162(0x202)](_0x12dac3=>_0x12dac3[_0x4bf162(0x1c6)]===_0x39c539))[_0x4bf162(0x1b5)](_0x4e0ac2=>!!_0x4e0ac2);return{'config':_0x1c1898,'result':{'actions':_0x2cb894,'error':_0x30def8[_0x4bf162(0xc4)]}};});}})}));}[_0x23bef1(0x153)](){var _0x4b24db=_0x23bef1,_0x47626f;const _0x1ba1bb=this[_0x4b24db(0x32e)][_0x4b24db(0x200)](K);return(_0x47626f=_0x1ba1bb==null?void 0x0:_0x1ba1bb[_0x4b24db(0x1c0)])!=null?_0x47626f:_n;}async[_0x23bef1(0x2b8)](_0x6be581){var _0x27f06a=_0x23bef1;const _0x393fdb=this[_0x27f06a(0x153)]()+'/'+_0x6be581[_0x27f06a(0x271)]+'/object';return(await this[_0x27f06a(0x1ea)][_0x27f06a(0x2f6)](_0x393fdb,{'body':_0x6be581}))[_0x27f06a(0x25f)][_0x27f06a(0x2a9)]||'';}async[_0x23bef1(0x208)](_0x40794e){var _0x360d8e=_0x23bef1;const _0x1d8dc1=this[_0x360d8e(0x153)]()+_0x360d8e(0x33e);return(await this[_0x360d8e(0x1ea)][_0x360d8e(0x2f6)](_0x1d8dc1,{'body':_0x40794e}))[_0x360d8e(0x25f)][_0x360d8e(0x23f)];}async['update'](_0x22fcf8){var _0x798b45=_0x23bef1,_0x592488,_0x56b715;const _0x2f79e2=this[_0x798b45(0x153)]()+'/'+_0x22fcf8[_0x798b45(0x271)]+_0x798b45(0x1d3)+_0x22fcf8[_0x798b45(0x2a9)],_0x2ef744=await this[_0x798b45(0x1ea)][_0x798b45(0xba)](_0x2f79e2,{'body':_0x22fcf8});if(((_0x56b715=(_0x592488=_0x2ef744==null?void 0x0:_0x2ef744[_0x798b45(0x25f)])==null?void 0x0:_0x592488['error'])==null?void 0x0:_0x56b715[_0x798b45(0x16b)])!==0x1)throw new Error(_0x798b45(0x2d2));}async['allowed'](_0x537109){var _0x1c7249=_0x23bef1;const _0x14f7d0=this[_0x1c7249(0x153)]()+'/'+_0x537109['objectType']+_0x1c7249(0x1d3)+_0x537109[_0x1c7249(0x2a9)]+_0x1c7249(0x2dc);return(await this[_0x1c7249(0x1ea)][_0x1c7249(0x2f6)](_0x14f7d0,{'body':_0x537109}))[_0x1c7249(0x25f)][_0x1c7249(0xca)];}async['batchAllowed'](_0x1b7a1e){var _0x20ff8d=_0x23bef1;const _0x3708b3=this[_0x20ff8d(0x153)]()+_0x20ff8d(0x79);return(await this[_0x20ff8d(0x1ea)][_0x20ff8d(0x2f6)](_0x3708b3,{'body':{'requests':_0x1b7a1e}}))[_0x20ff8d(0x25f)][_0x20ff8d(0x144)];}async[_0x23bef1(0x1be)](_0x18404b){var _0x13adce=_0x23bef1;const _0x24860a=this['_getAPIPrefixPath']()+'/'+_0x18404b[_0x13adce(0x271)]+_0x13adce(0x85),_0x2498c6=await this[_0x13adce(0x1ea)]['post'](_0x24860a,{'body':_0x18404b});return{'roles':_0x2498c6[_0x13adce(0x25f)]['roles'],'actions':_0x2498c6[_0x13adce(0x25f)][_0x13adce(0xca)]};}async['deleteCollaborator'](_0x5cb72f){var _0x2ad951=_0x23bef1;const _0x115145=this['_getAPIPrefixPath']()+_0x2ad951(0xe1);await this['_HTTPService']['delete'](_0x115145,{'params':{'collaboratorID':_0x5cb72f[_0x2ad951(0x191)],'objectID':_0x5cb72f['objectID'],'unitID':_0x5cb72f[_0x2ad951(0x299)]}});}async[_0x23bef1(0x73)](_0x197e21){var _0x26d00b=_0x23bef1;const _0x5ec9a3=this[_0x26d00b(0x153)]()+_0x26d00b(0xe1);await this['_HTTPService']['patch'](_0x5ec9a3,{'body':_0x197e21});}async[_0x23bef1(0xd3)](_0x4a9fab){var _0x2eee78=_0x23bef1;const _0x50bc5c=this[_0x2eee78(0x153)]()+_0x2eee78(0xe1);await this[_0x2eee78(0x1ea)][_0x2eee78(0x2f6)](_0x50bc5c,{'body':_0x4a9fab});}async['listCollaborators'](_0xe4bfd4){var _0x1ae18a=_0x23bef1;const _0x51726d=this[_0x1ae18a(0x153)]()+'/collaborator';return(await this['_HTTPService'][_0x1ae18a(0x90)](_0x51726d,{'params':{'objectID':_0xe4bfd4[_0x1ae18a(0x2a9)],'unitID':_0xe4bfd4['unitID']}}))[_0x1ae18a(0x25f)]['collaborators'];}async['putCollaborators'](_0xb862a4){var _0x3751e1=_0x23bef1;const _0x76db5e=this[_0x3751e1(0x153)]()+'/collaborator';await this[_0x3751e1(0x1ea)][_0x3751e1(0xba)](_0x76db5e,{'body':_0xb862a4});}};Tt=cn([Yt(0x0,_0x5a63ce(_0x2d4854)),Yt(0x1,_0x5a63ce(_0x33ef1e))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x1c71bb){var _0x1bed02=_0x23bef1;return _0x1c71bb&&_0x1c71bb[_0x1bed02(0x16f)]&&Object[_0x1bed02(0x38a)][_0x1bed02(0x27a)][_0x1bed02(0x2aa)](_0x1c71bb,_0x1bed02(0x2cb))?_0x1c71bb[_0x1bed02(0x2cb)]:_0x1c71bb;}var Ve={'exports':{}};function hn(_0x5b43f2){var _0x4cf317=_0x23bef1;throw new Error(_0x4cf317(0x28c)+_0x5b43f2+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},ln=Ge['exports'],Kt;function ie(){var _0x867e25=_0x23bef1;return Kt||(Kt=0x1,function(_0x1ab689,_0x15a7c1){(function(_0x4ef5ed,_0x3710f2){var _0x17328a=_0x161f;_0x1ab689[_0x17328a(0x2a1)]=_0x3710f2();}(ln,function(){var _0x93a685=_0x93a685||function(_0x59a2b0,_0x4e1470){var _0xa57407=_0x161f,_0x2e4e75;if(typeof window<'u'&&window[_0xa57407(0x1e8)]&&(_0x2e4e75=window[_0xa57407(0x1e8)]),typeof self<'u'&&self['crypto']&&(_0x2e4e75=self[_0xa57407(0x1e8)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2e4e75=globalThis['crypto']),!_0x2e4e75&&typeof window<'u'&&window[_0xa57407(0x1b6)]&&(_0x2e4e75=window['msCrypto']),!_0x2e4e75&&typeof ft<'u'&&ft[_0xa57407(0x1e8)]&&(_0x2e4e75=ft[_0xa57407(0x1e8)]),!_0x2e4e75&&typeof hn==_0xa57407(0xb4))try{_0x2e4e75=require('crypto');}catch{}var _0x2981b6=function(){var _0x45e79e=_0xa57407;if(_0x2e4e75){if(typeof _0x2e4e75[_0x45e79e(0x287)]=='function')try{return _0x2e4e75[_0x45e79e(0x287)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2e4e75[_0x45e79e(0x321)]=='function')try{return _0x2e4e75[_0x45e79e(0x321)](0x4)[_0x45e79e(0x252)]();}catch{}}throw new Error(_0x45e79e(0x327));},_0x41963f=Object[_0xa57407(0x2b8)]||(function(){function _0x2dc0e4(){}return function(_0x26b8c0){var _0x1fcbd6=_0x161f,_0x42b71b;return _0x2dc0e4[_0x1fcbd6(0x38a)]=_0x26b8c0,_0x42b71b=new _0x2dc0e4(),_0x2dc0e4[_0x1fcbd6(0x38a)]=null,_0x42b71b;};}()),_0x489f90={},_0x1b7f79=_0x489f90[_0xa57407(0x22f)]={},_0x17f4a5=_0x1b7f79[_0xa57407(0x338)]=(function(){return{'extend':function(_0x29474c){var _0x1ecf5a=_0x161f,_0x2199ea=_0x41963f(this);return _0x29474c&&_0x2199ea[_0x1ecf5a(0x11e)](_0x29474c),(!_0x2199ea[_0x1ecf5a(0x27a)](_0x1ecf5a(0x2ce))||this[_0x1ecf5a(0x2ce)]===_0x2199ea['init'])&&(_0x2199ea[_0x1ecf5a(0x2ce)]=function(){var _0x5e5eaf=_0x1ecf5a;_0x2199ea['$super'][_0x5e5eaf(0x2ce)][_0x5e5eaf(0x2a3)](this,arguments);}),_0x2199ea[_0x1ecf5a(0x2ce)][_0x1ecf5a(0x38a)]=_0x2199ea,_0x2199ea[_0x1ecf5a(0x219)]=this,_0x2199ea;},'create':function(){var _0x6f98da=_0x161f,_0x22bf82=this[_0x6f98da(0x286)]();return _0x22bf82[_0x6f98da(0x2ce)][_0x6f98da(0x2a3)](_0x22bf82,arguments),_0x22bf82;},'init':function(){},'mixIn':function(_0x132a84){var _0x4b124c=_0x161f;for(var _0x30aeb6 in _0x132a84)_0x132a84[_0x4b124c(0x27a)](_0x30aeb6)&&(this[_0x30aeb6]=_0x132a84[_0x30aeb6]);_0x132a84['hasOwnProperty'](_0x4b124c(0x182))&&(this[_0x4b124c(0x182)]=_0x132a84[_0x4b124c(0x182)]);},'clone':function(){var _0x410991=_0x161f;return this[_0x410991(0x2ce)][_0x410991(0x38a)]['extend'](this);}};}()),_0x53a510=_0x1b7f79[_0xa57407(0x13b)]=_0x17f4a5['extend']({'init':function(_0x295960,_0x1dac67){var _0x5e5020=_0xa57407;_0x295960=this[_0x5e5020(0x17f)]=_0x295960||[],_0x1dac67!=_0x4e1470?this[_0x5e5020(0x38e)]=_0x1dac67:this[_0x5e5020(0x38e)]=_0x295960[_0x5e5020(0x17e)]*0x4;},'toString':function(_0x83ff62){var _0x7f5185=_0xa57407;return(_0x83ff62||_0x5580d9)[_0x7f5185(0x10a)](this);},'concat':function(_0xc593be){var _0x519a8b=_0xa57407,_0x1cfeb3=this[_0x519a8b(0x17f)],_0x1c1b47=_0xc593be[_0x519a8b(0x17f)],_0x5e59a2=this[_0x519a8b(0x38e)],_0xd1e7e7=_0xc593be[_0x519a8b(0x38e)];if(this[_0x519a8b(0x165)](),_0x5e59a2%0x4)for(var _0x5a0aa4=0x0;_0x5a0aa4<_0xd1e7e7;_0x5a0aa4++){var _0x4dc5c7=_0x1c1b47[_0x5a0aa4>>>0x2]>>>0x18-_0x5a0aa4%0x4*0x8&0xff;_0x1cfeb3[_0x5e59a2+_0x5a0aa4>>>0x2]|=_0x4dc5c7<<0x18-(_0x5e59a2+_0x5a0aa4)%0x4*0x8;}else{for(var _0x49b2d6=0x0;_0x49b2d6<_0xd1e7e7;_0x49b2d6+=0x4)_0x1cfeb3[_0x5e59a2+_0x49b2d6>>>0x2]=_0x1c1b47[_0x49b2d6>>>0x2];}return this['sigBytes']+=_0xd1e7e7,this;},'clamp':function(){var _0x582c33=_0xa57407,_0x270f2e=this[_0x582c33(0x17f)],_0x3a7fcc=this[_0x582c33(0x38e)];_0x270f2e[_0x3a7fcc>>>0x2]&=0xffffffff<<0x20-_0x3a7fcc%0x4*0x8,_0x270f2e[_0x582c33(0x17e)]=_0x59a2b0[_0x582c33(0x1d5)](_0x3a7fcc/0x4);},'clone':function(){var _0x1dde25=_0xa57407,_0x42ec30=_0x17f4a5[_0x1dde25(0x2f2)][_0x1dde25(0x2aa)](this);return _0x42ec30[_0x1dde25(0x17f)]=this[_0x1dde25(0x17f)][_0x1dde25(0x374)](0x0),_0x42ec30;},'random':function(_0x39db9a){var _0x5cb393=_0xa57407;for(var _0xc0ed76=[],_0x16927a=0x0;_0x16927a<_0x39db9a;_0x16927a+=0x4)_0xc0ed76[_0x5cb393(0x14a)](_0x2981b6());return new _0x53a510[(_0x5cb393(0x2ce))](_0xc0ed76,_0x39db9a);}}),_0x4a80c2=_0x489f90[_0xa57407(0xbf)]={},_0x5580d9=_0x4a80c2['Hex']={'stringify':function(_0x25598c){var _0x552a98=_0xa57407;for(var _0x128260=_0x25598c[_0x552a98(0x17f)],_0x4c8500=_0x25598c[_0x552a98(0x38e)],_0x330ce8=[],_0x225532=0x0;_0x225532<_0x4c8500;_0x225532++){var _0x2714f4=_0x128260[_0x225532>>>0x2]>>>0x18-_0x225532%0x4*0x8&0xff;_0x330ce8[_0x552a98(0x14a)]((_0x2714f4>>>0x4)['toString'](0x10)),_0x330ce8['push']((_0x2714f4&0xf)[_0x552a98(0x182)](0x10));}return _0x330ce8[_0x552a98(0x370)]('');},'parse':function(_0x286657){var _0x5c9dae=_0xa57407;for(var _0x3b19ca=_0x286657[_0x5c9dae(0x17e)],_0x2371f7=[],_0x141313=0x0;_0x141313<_0x3b19ca;_0x141313+=0x2)_0x2371f7[_0x141313>>>0x3]|=parseInt(_0x286657[_0x5c9dae(0xb3)](_0x141313,0x2),0x10)<<0x18-_0x141313%0x8*0x4;return new _0x53a510[(_0x5c9dae(0x2ce))](_0x2371f7,_0x3b19ca/0x2);}},_0x554f2f=_0x4a80c2['Latin1']={'stringify':function(_0x417f29){var _0x2ec74f=_0xa57407;for(var _0x51d186=_0x417f29[_0x2ec74f(0x17f)],_0x1e27ed=_0x417f29[_0x2ec74f(0x38e)],_0x435589=[],_0x55b059=0x0;_0x55b059<_0x1e27ed;_0x55b059++){var _0xbc1e82=_0x51d186[_0x55b059>>>0x2]>>>0x18-_0x55b059%0x4*0x8&0xff;_0x435589[_0x2ec74f(0x14a)](String[_0x2ec74f(0x2bb)](_0xbc1e82));}return _0x435589['join']('');},'parse':function(_0x369b88){var _0x2023f9=_0xa57407;for(var _0x549f8d=_0x369b88[_0x2023f9(0x17e)],_0x3547ac=[],_0x5f240f=0x0;_0x5f240f<_0x549f8d;_0x5f240f++)_0x3547ac[_0x5f240f>>>0x2]|=(_0x369b88['charCodeAt'](_0x5f240f)&0xff)<<0x18-_0x5f240f%0x4*0x8;return new _0x53a510[(_0x2023f9(0x2ce))](_0x3547ac,_0x549f8d);}},_0x1eaa2b=_0x4a80c2[_0xa57407(0x72)]={'stringify':function(_0x18beed){var _0x233560=_0xa57407;try{return decodeURIComponent(escape(_0x554f2f[_0x233560(0x10a)](_0x18beed)));}catch{throw new Error(_0x233560(0x2ba));}},'parse':function(_0x43dd48){return _0x554f2f['parse'](unescape(encodeURIComponent(_0x43dd48)));}},_0x2cee5e=_0x1b7f79[_0xa57407(0x1b9)]=_0x17f4a5[_0xa57407(0x286)]({'reset':function(){var _0x56d6ae=_0xa57407;this[_0x56d6ae(0x316)]=new _0x53a510[(_0x56d6ae(0x2ce))](),this[_0x56d6ae(0xec)]=0x0;},'_append':function(_0x1097ae){var _0x128e7c=_0xa57407;typeof _0x1097ae=='string'&&(_0x1097ae=_0x1eaa2b[_0x128e7c(0x226)](_0x1097ae)),this[_0x128e7c(0x316)][_0x128e7c(0x157)](_0x1097ae),this[_0x128e7c(0xec)]+=_0x1097ae['sigBytes'];},'_process':function(_0x2e90ff){var _0x463ea0=_0xa57407,_0x3dc42e,_0x4fb799=this['_data'],_0x19200f=_0x4fb799[_0x463ea0(0x17f)],_0x552e5d=_0x4fb799[_0x463ea0(0x38e)],_0x31527f=this[_0x463ea0(0x18b)],_0xaf5109=_0x31527f*0x4,_0x2b3168=_0x552e5d/_0xaf5109;_0x2e90ff?_0x2b3168=_0x59a2b0['ceil'](_0x2b3168):_0x2b3168=_0x59a2b0[_0x463ea0(0x12f)]((_0x2b3168|0x0)-this[_0x463ea0(0x113)],0x0);var _0x48fb65=_0x2b3168*_0x31527f,_0x53a4f5=_0x59a2b0[_0x463ea0(0x344)](_0x48fb65*0x4,_0x552e5d);if(_0x48fb65){for(var _0x307d3b=0x0;_0x307d3b<_0x48fb65;_0x307d3b+=_0x31527f)this[_0x463ea0(0x2e4)](_0x19200f,_0x307d3b);_0x3dc42e=_0x19200f['splice'](0x0,_0x48fb65),_0x4fb799[_0x463ea0(0x38e)]-=_0x53a4f5;}return new _0x53a510['init'](_0x3dc42e,_0x53a4f5);},'clone':function(){var _0x5eeeff=_0xa57407,_0x3fbc0c=_0x17f4a5[_0x5eeeff(0x2f2)][_0x5eeeff(0x2aa)](this);return _0x3fbc0c[_0x5eeeff(0x316)]=this[_0x5eeeff(0x316)][_0x5eeeff(0x2f2)](),_0x3fbc0c;},'_minBufferSize':0x0});_0x1b7f79[_0xa57407(0x32b)]=_0x2cee5e['extend']({'cfg':_0x17f4a5[_0xa57407(0x286)](),'init':function(_0x27cc32){var _0x15b70a=_0xa57407;this[_0x15b70a(0x298)]=this[_0x15b70a(0x298)][_0x15b70a(0x286)](_0x27cc32),this[_0x15b70a(0x266)]();},'reset':function(){var _0x52d30a=_0xa57407;_0x2cee5e[_0x52d30a(0x266)][_0x52d30a(0x2aa)](this),this['_doReset']();},'update':function(_0x4a4855){var _0x27ce91=_0xa57407;return this[_0x27ce91(0x308)](_0x4a4855),this[_0x27ce91(0x10b)](),this;},'finalize':function(_0xcada3d){var _0x7e1cf7=_0xa57407;_0xcada3d&&this['_append'](_0xcada3d);var _0x4b5f59=this[_0x7e1cf7(0x264)]();return _0x4b5f59;},'blockSize':0x10,'_createHelper':function(_0x59fc23){return function(_0x660a79,_0x32df11){var _0x59fcef=_0x161f;return new _0x59fc23['init'](_0x32df11)[_0x59fcef(0x12b)](_0x660a79);};},'_createHmacHelper':function(_0x350e6e){return function(_0x2c50eb,_0x4f392f){var _0x5d0662=_0x161f;return new _0x3b8782['HMAC'][(_0x5d0662(0x2ce))](_0x350e6e,_0x4f392f)[_0x5d0662(0x12b)](_0x2c50eb);};}});var _0x3b8782=_0x489f90['algo']={};return _0x489f90;}(Math);return _0x93a685;}));}(Ge)),Ge[_0x867e25(0x2a1)];}var We={'exports':{}},un=We[_0x23bef1(0x2a1)],qt;function Ni(){var _0x596786=_0x23bef1;return qt||(qt=0x1,function(_0x236863,_0x5d0139){(function(_0x29eba2,_0x35321d){var _0x2aae21=_0x161f;_0x236863[_0x2aae21(0x2a1)]=_0x35321d(ie());}(un,function(_0x560042){var _0x4ff5a9=_0x161f;return(function(){var _0x5d5aef=_0x161f,_0x1db3c3=_0x560042,_0x395620=_0x1db3c3[_0x5d5aef(0x22f)],_0xf22eee=_0x395620[_0x5d5aef(0x13b)],_0x5e9177=_0x1db3c3[_0x5d5aef(0xbf)];_0x5e9177[_0x5d5aef(0x105)]={'stringify':function(_0x3f2e69){var _0x1451d0=_0x5d5aef,_0x319f0c=_0x3f2e69[_0x1451d0(0x17f)],_0x25d387=_0x3f2e69['sigBytes'],_0x2a3f2c=this[_0x1451d0(0x306)];_0x3f2e69[_0x1451d0(0x165)]();for(var _0x3e5912=[],_0x33c9fc=0x0;_0x33c9fc<_0x25d387;_0x33c9fc+=0x3)for(var _0x593df9=_0x319f0c[_0x33c9fc>>>0x2]>>>0x18-_0x33c9fc%0x4*0x8&0xff,_0x52a490=_0x319f0c[_0x33c9fc+0x1>>>0x2]>>>0x18-(_0x33c9fc+0x1)%0x4*0x8&0xff,_0x31d93a=_0x319f0c[_0x33c9fc+0x2>>>0x2]>>>0x18-(_0x33c9fc+0x2)%0x4*0x8&0xff,_0x484a75=_0x593df9<<0x10|_0x52a490<<0x8|_0x31d93a,_0x49da79=0x0;_0x49da79<0x4&&_0x33c9fc+_0x49da79*0.75<_0x25d387;_0x49da79++)_0x3e5912[_0x1451d0(0x14a)](_0x2a3f2c[_0x1451d0(0xfb)](_0x484a75>>>0x6*(0x3-_0x49da79)&0x3f));var _0x2680d0=_0x2a3f2c[_0x1451d0(0xfb)](0x40);if(_0x2680d0){for(;_0x3e5912[_0x1451d0(0x17e)]%0x4;)_0x3e5912[_0x1451d0(0x14a)](_0x2680d0);}return _0x3e5912['join']('');},'parse':function(_0x44caa6){var _0x35118d=_0x5d5aef,_0x2d3aa8=_0x44caa6[_0x35118d(0x17e)],_0x3bcf53=this[_0x35118d(0x306)],_0x180e69=this[_0x35118d(0x1c7)];if(!_0x180e69){_0x180e69=this[_0x35118d(0x1c7)]=[];for(var _0x608eab=0x0;_0x608eab<_0x3bcf53[_0x35118d(0x17e)];_0x608eab++)_0x180e69[_0x3bcf53[_0x35118d(0x6c)](_0x608eab)]=_0x608eab;}var _0x4a797a=_0x3bcf53[_0x35118d(0xfb)](0x40);if(_0x4a797a){var _0x504174=_0x44caa6[_0x35118d(0x37a)](_0x4a797a);_0x504174!==-0x1&&(_0x2d3aa8=_0x504174);}return _0x3094b8(_0x44caa6,_0x2d3aa8,_0x180e69);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x3094b8(_0x3ffbfd,_0x14ce21,_0x57cc1c){var _0xdc14ec=_0x5d5aef;for(var _0x4b5579=[],_0x4f9bfa=0x0,_0x30d3af=0x0;_0x30d3af<_0x14ce21;_0x30d3af++)if(_0x30d3af%0x4){var _0x5a8b5d=_0x57cc1c[_0x3ffbfd[_0xdc14ec(0x6c)](_0x30d3af-0x1)]<<_0x30d3af%0x4*0x2,_0x43f1d8=_0x57cc1c[_0x3ffbfd['charCodeAt'](_0x30d3af)]>>>0x6-_0x30d3af%0x4*0x2,_0x1a4197=_0x5a8b5d|_0x43f1d8;_0x4b5579[_0x4f9bfa>>>0x2]|=_0x1a4197<<0x18-_0x4f9bfa%0x4*0x8,_0x4f9bfa++;}return _0xf22eee[_0xdc14ec(0x2b8)](_0x4b5579,_0x4f9bfa);}}()),_0x560042[_0x4ff5a9(0xbf)][_0x4ff5a9(0x105)];}));}(We)),We[_0x596786(0x2a1)];}var Ye={'exports':{}},dn=Ye[_0x23bef1(0x2a1)],zt;function fn(){var _0x5d5dc8=_0x23bef1;return zt||(zt=0x1,function(_0x2d5c1f,_0x1e9eb4){(function(_0x273106,_0x30976f){var _0x479e88=_0x161f;_0x2d5c1f[_0x479e88(0x2a1)]=_0x30976f(ie());}(dn,function(_0x262612){return function(_0x8085c3){var _0xb87756=_0x161f,_0x649a46=_0x262612,_0x2a247f=_0x649a46[_0xb87756(0x22f)],_0x508389=_0x2a247f[_0xb87756(0x13b)],_0x511fbc=_0x2a247f[_0xb87756(0x32b)],_0x2594ea=_0x649a46[_0xb87756(0x36a)],_0x3642f3=[];(function(){var _0x4de8f4=_0xb87756;for(var _0x1b6032=0x0;_0x1b6032<0x40;_0x1b6032++)_0x3642f3[_0x1b6032]=_0x8085c3[_0x4de8f4(0x215)](_0x8085c3[_0x4de8f4(0x1ca)](_0x1b6032+0x1))*0x100000000|0x0;}());var _0x5c4d49=_0x2594ea['MD5']=_0x511fbc[_0xb87756(0x286)]({'_doReset':function(){var _0x45d294=_0xb87756;this[_0x45d294(0x254)]=new _0x508389[(_0x45d294(0x2ce))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1a594a,_0x2c9615){var _0x549f90=_0xb87756;for(var _0x2d9367=0x0;_0x2d9367<0x10;_0x2d9367++){var _0x3bc656=_0x2c9615+_0x2d9367,_0x3df73a=_0x1a594a[_0x3bc656];_0x1a594a[_0x3bc656]=(_0x3df73a<<0x8|_0x3df73a>>>0x18)&0xff00ff|(_0x3df73a<<0x18|_0x3df73a>>>0x8)&0xff00ff00;}var _0x332ac0=this['_hash'][_0x549f90(0x17f)],_0x42cfdc=_0x1a594a[_0x2c9615+0x0],_0x17d422=_0x1a594a[_0x2c9615+0x1],_0x60aa6d=_0x1a594a[_0x2c9615+0x2],_0x2e47f1=_0x1a594a[_0x2c9615+0x3],_0x985abd=_0x1a594a[_0x2c9615+0x4],_0x37c43b=_0x1a594a[_0x2c9615+0x5],_0x42a7be=_0x1a594a[_0x2c9615+0x6],_0x439118=_0x1a594a[_0x2c9615+0x7],_0x57b7dc=_0x1a594a[_0x2c9615+0x8],_0x1a4db2=_0x1a594a[_0x2c9615+0x9],_0x11a172=_0x1a594a[_0x2c9615+0xa],_0x510030=_0x1a594a[_0x2c9615+0xb],_0x302fbb=_0x1a594a[_0x2c9615+0xc],_0x3d167b=_0x1a594a[_0x2c9615+0xd],_0x8efe5a=_0x1a594a[_0x2c9615+0xe],_0x3f57ae=_0x1a594a[_0x2c9615+0xf],_0x5136bd=_0x332ac0[0x0],_0x1c7c9a=_0x332ac0[0x1],_0xd0d58b=_0x332ac0[0x2],_0x4297e0=_0x332ac0[0x3];_0x5136bd=_0x1e592b(_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x42cfdc,0x7,_0x3642f3[0x0]),_0x4297e0=_0x1e592b(_0x4297e0,_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x17d422,0xc,_0x3642f3[0x1]),_0xd0d58b=_0x1e592b(_0xd0d58b,_0x4297e0,_0x5136bd,_0x1c7c9a,_0x60aa6d,0x11,_0x3642f3[0x2]),_0x1c7c9a=_0x1e592b(_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x5136bd,_0x2e47f1,0x16,_0x3642f3[0x3]),_0x5136bd=_0x1e592b(_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x985abd,0x7,_0x3642f3[0x4]),_0x4297e0=_0x1e592b(_0x4297e0,_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x37c43b,0xc,_0x3642f3[0x5]),_0xd0d58b=_0x1e592b(_0xd0d58b,_0x4297e0,_0x5136bd,_0x1c7c9a,_0x42a7be,0x11,_0x3642f3[0x6]),_0x1c7c9a=_0x1e592b(_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x5136bd,_0x439118,0x16,_0x3642f3[0x7]),_0x5136bd=_0x1e592b(_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x57b7dc,0x7,_0x3642f3[0x8]),_0x4297e0=_0x1e592b(_0x4297e0,_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x1a4db2,0xc,_0x3642f3[0x9]),_0xd0d58b=_0x1e592b(_0xd0d58b,_0x4297e0,_0x5136bd,_0x1c7c9a,_0x11a172,0x11,_0x3642f3[0xa]),_0x1c7c9a=_0x1e592b(_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x5136bd,_0x510030,0x16,_0x3642f3[0xb]),_0x5136bd=_0x1e592b(_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x302fbb,0x7,_0x3642f3[0xc]),_0x4297e0=_0x1e592b(_0x4297e0,_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x3d167b,0xc,_0x3642f3[0xd]),_0xd0d58b=_0x1e592b(_0xd0d58b,_0x4297e0,_0x5136bd,_0x1c7c9a,_0x8efe5a,0x11,_0x3642f3[0xe]),_0x1c7c9a=_0x1e592b(_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x5136bd,_0x3f57ae,0x16,_0x3642f3[0xf]),_0x5136bd=_0x48070f(_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x17d422,0x5,_0x3642f3[0x10]),_0x4297e0=_0x48070f(_0x4297e0,_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x42a7be,0x9,_0x3642f3[0x11]),_0xd0d58b=_0x48070f(_0xd0d58b,_0x4297e0,_0x5136bd,_0x1c7c9a,_0x510030,0xe,_0x3642f3[0x12]),_0x1c7c9a=_0x48070f(_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x5136bd,_0x42cfdc,0x14,_0x3642f3[0x13]),_0x5136bd=_0x48070f(_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x37c43b,0x5,_0x3642f3[0x14]),_0x4297e0=_0x48070f(_0x4297e0,_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x11a172,0x9,_0x3642f3[0x15]),_0xd0d58b=_0x48070f(_0xd0d58b,_0x4297e0,_0x5136bd,_0x1c7c9a,_0x3f57ae,0xe,_0x3642f3[0x16]),_0x1c7c9a=_0x48070f(_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x5136bd,_0x985abd,0x14,_0x3642f3[0x17]),_0x5136bd=_0x48070f(_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x1a4db2,0x5,_0x3642f3[0x18]),_0x4297e0=_0x48070f(_0x4297e0,_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x8efe5a,0x9,_0x3642f3[0x19]),_0xd0d58b=_0x48070f(_0xd0d58b,_0x4297e0,_0x5136bd,_0x1c7c9a,_0x2e47f1,0xe,_0x3642f3[0x1a]),_0x1c7c9a=_0x48070f(_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x5136bd,_0x57b7dc,0x14,_0x3642f3[0x1b]),_0x5136bd=_0x48070f(_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x3d167b,0x5,_0x3642f3[0x1c]),_0x4297e0=_0x48070f(_0x4297e0,_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x60aa6d,0x9,_0x3642f3[0x1d]),_0xd0d58b=_0x48070f(_0xd0d58b,_0x4297e0,_0x5136bd,_0x1c7c9a,_0x439118,0xe,_0x3642f3[0x1e]),_0x1c7c9a=_0x48070f(_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x5136bd,_0x302fbb,0x14,_0x3642f3[0x1f]),_0x5136bd=_0x32d26c(_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x37c43b,0x4,_0x3642f3[0x20]),_0x4297e0=_0x32d26c(_0x4297e0,_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x57b7dc,0xb,_0x3642f3[0x21]),_0xd0d58b=_0x32d26c(_0xd0d58b,_0x4297e0,_0x5136bd,_0x1c7c9a,_0x510030,0x10,_0x3642f3[0x22]),_0x1c7c9a=_0x32d26c(_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x5136bd,_0x8efe5a,0x17,_0x3642f3[0x23]),_0x5136bd=_0x32d26c(_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x17d422,0x4,_0x3642f3[0x24]),_0x4297e0=_0x32d26c(_0x4297e0,_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x985abd,0xb,_0x3642f3[0x25]),_0xd0d58b=_0x32d26c(_0xd0d58b,_0x4297e0,_0x5136bd,_0x1c7c9a,_0x439118,0x10,_0x3642f3[0x26]),_0x1c7c9a=_0x32d26c(_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x5136bd,_0x11a172,0x17,_0x3642f3[0x27]),_0x5136bd=_0x32d26c(_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x3d167b,0x4,_0x3642f3[0x28]),_0x4297e0=_0x32d26c(_0x4297e0,_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x42cfdc,0xb,_0x3642f3[0x29]),_0xd0d58b=_0x32d26c(_0xd0d58b,_0x4297e0,_0x5136bd,_0x1c7c9a,_0x2e47f1,0x10,_0x3642f3[0x2a]),_0x1c7c9a=_0x32d26c(_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x5136bd,_0x42a7be,0x17,_0x3642f3[0x2b]),_0x5136bd=_0x32d26c(_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x1a4db2,0x4,_0x3642f3[0x2c]),_0x4297e0=_0x32d26c(_0x4297e0,_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x302fbb,0xb,_0x3642f3[0x2d]),_0xd0d58b=_0x32d26c(_0xd0d58b,_0x4297e0,_0x5136bd,_0x1c7c9a,_0x3f57ae,0x10,_0x3642f3[0x2e]),_0x1c7c9a=_0x32d26c(_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x5136bd,_0x60aa6d,0x17,_0x3642f3[0x2f]),_0x5136bd=_0x579736(_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x42cfdc,0x6,_0x3642f3[0x30]),_0x4297e0=_0x579736(_0x4297e0,_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x439118,0xa,_0x3642f3[0x31]),_0xd0d58b=_0x579736(_0xd0d58b,_0x4297e0,_0x5136bd,_0x1c7c9a,_0x8efe5a,0xf,_0x3642f3[0x32]),_0x1c7c9a=_0x579736(_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x5136bd,_0x37c43b,0x15,_0x3642f3[0x33]),_0x5136bd=_0x579736(_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x302fbb,0x6,_0x3642f3[0x34]),_0x4297e0=_0x579736(_0x4297e0,_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x2e47f1,0xa,_0x3642f3[0x35]),_0xd0d58b=_0x579736(_0xd0d58b,_0x4297e0,_0x5136bd,_0x1c7c9a,_0x11a172,0xf,_0x3642f3[0x36]),_0x1c7c9a=_0x579736(_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x5136bd,_0x17d422,0x15,_0x3642f3[0x37]),_0x5136bd=_0x579736(_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x57b7dc,0x6,_0x3642f3[0x38]),_0x4297e0=_0x579736(_0x4297e0,_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x3f57ae,0xa,_0x3642f3[0x39]),_0xd0d58b=_0x579736(_0xd0d58b,_0x4297e0,_0x5136bd,_0x1c7c9a,_0x42a7be,0xf,_0x3642f3[0x3a]),_0x1c7c9a=_0x579736(_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x5136bd,_0x3d167b,0x15,_0x3642f3[0x3b]),_0x5136bd=_0x579736(_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x985abd,0x6,_0x3642f3[0x3c]),_0x4297e0=_0x579736(_0x4297e0,_0x5136bd,_0x1c7c9a,_0xd0d58b,_0x510030,0xa,_0x3642f3[0x3d]),_0xd0d58b=_0x579736(_0xd0d58b,_0x4297e0,_0x5136bd,_0x1c7c9a,_0x60aa6d,0xf,_0x3642f3[0x3e]),_0x1c7c9a=_0x579736(_0x1c7c9a,_0xd0d58b,_0x4297e0,_0x5136bd,_0x1a4db2,0x15,_0x3642f3[0x3f]),_0x332ac0[0x0]=_0x332ac0[0x0]+_0x5136bd|0x0,_0x332ac0[0x1]=_0x332ac0[0x1]+_0x1c7c9a|0x0,_0x332ac0[0x2]=_0x332ac0[0x2]+_0xd0d58b|0x0,_0x332ac0[0x3]=_0x332ac0[0x3]+_0x4297e0|0x0;},'_doFinalize':function(){var _0x40bc56=_0xb87756,_0x53683b=this['_data'],_0x395d46=_0x53683b[_0x40bc56(0x17f)],_0x38a706=this[_0x40bc56(0xec)]*0x8,_0x1e751a=_0x53683b['sigBytes']*0x8;_0x395d46[_0x1e751a>>>0x5]|=0x80<<0x18-_0x1e751a%0x20;var _0x42ac96=_0x8085c3[_0x40bc56(0x255)](_0x38a706/0x100000000),_0x16c68e=_0x38a706;_0x395d46[(_0x1e751a+0x40>>>0x9<<0x4)+0xf]=(_0x42ac96<<0x8|_0x42ac96>>>0x18)&0xff00ff|(_0x42ac96<<0x18|_0x42ac96>>>0x8)&0xff00ff00,_0x395d46[(_0x1e751a+0x40>>>0x9<<0x4)+0xe]=(_0x16c68e<<0x8|_0x16c68e>>>0x18)&0xff00ff|(_0x16c68e<<0x18|_0x16c68e>>>0x8)&0xff00ff00,_0x53683b[_0x40bc56(0x38e)]=(_0x395d46[_0x40bc56(0x17e)]+0x1)*0x4,this[_0x40bc56(0x10b)]();for(var _0x31b0d4=this[_0x40bc56(0x254)],_0x549cc9=_0x31b0d4['words'],_0x42adfe=0x0;_0x42adfe<0x4;_0x42adfe++){var _0x28da6d=_0x549cc9[_0x42adfe];_0x549cc9[_0x42adfe]=(_0x28da6d<<0x8|_0x28da6d>>>0x18)&0xff00ff|(_0x28da6d<<0x18|_0x28da6d>>>0x8)&0xff00ff00;}return _0x31b0d4;},'clone':function(){var _0x8e2342=_0xb87756,_0x5643=_0x511fbc[_0x8e2342(0x2f2)][_0x8e2342(0x2aa)](this);return _0x5643[_0x8e2342(0x254)]=this[_0x8e2342(0x254)]['clone'](),_0x5643;}});function _0x1e592b(_0x8a6ce8,_0x39f170,_0x193481,_0x11329a,_0x52652d,_0x1534dc,_0x1ccb2d){var _0x5d8002=_0x8a6ce8+(_0x39f170&_0x193481|~_0x39f170&_0x11329a)+_0x52652d+_0x1ccb2d;return(_0x5d8002<<_0x1534dc|_0x5d8002>>>0x20-_0x1534dc)+_0x39f170;}function _0x48070f(_0x1462b1,_0x297647,_0x5ce38d,_0x4273bb,_0x36cbc5,_0x5335a9,_0x4106d0){var _0x15fbc3=_0x1462b1+(_0x297647&_0x4273bb|_0x5ce38d&~_0x4273bb)+_0x36cbc5+_0x4106d0;return(_0x15fbc3<<_0x5335a9|_0x15fbc3>>>0x20-_0x5335a9)+_0x297647;}function _0x32d26c(_0x43a36d,_0x1bc472,_0x5c86a7,_0x3ed9db,_0x3adb1e,_0xd17e4,_0x2fdabf){var _0x2082a4=_0x43a36d+(_0x1bc472^_0x5c86a7^_0x3ed9db)+_0x3adb1e+_0x2fdabf;return(_0x2082a4<<_0xd17e4|_0x2082a4>>>0x20-_0xd17e4)+_0x1bc472;}function _0x579736(_0x54bb6b,_0x316e4d,_0x2fcfb1,_0x5453db,_0x38ef5f,_0x2964a5,_0x2c450b){var _0x5a4f9b=_0x54bb6b+(_0x2fcfb1^(_0x316e4d|~_0x5453db))+_0x38ef5f+_0x2c450b;return(_0x5a4f9b<<_0x2964a5|_0x5a4f9b>>>0x20-_0x2964a5)+_0x316e4d;}_0x649a46[_0xb87756(0x7b)]=_0x511fbc[_0xb87756(0x1f5)](_0x5c4d49),_0x649a46[_0xb87756(0xd2)]=_0x511fbc[_0xb87756(0x17a)](_0x5c4d49);}(Math),_0x262612['MD5'];}));}(Ye)),Ye[_0x5d5dc8(0x2a1)];}var Ke={'exports':{}},qe={'exports':{}},vn=qe[_0x23bef1(0x2a1)],Xt;function En(){var _0x169266=_0x23bef1;return Xt||(Xt=0x1,function(_0x2a4231,_0x33765e){(function(_0xfc97d0,_0x468428){_0x2a4231['exports']=_0x468428(ie());}(vn,function(_0x5c8fe2){var _0x700ea1=_0x161f;return(function(){var _0x25bb91=_0x161f,_0x52b7b4=_0x5c8fe2,_0x2b259b=_0x52b7b4[_0x25bb91(0x22f)],_0x2d2e93=_0x2b259b['WordArray'],_0x57727b=_0x2b259b[_0x25bb91(0x32b)],_0x311793=_0x52b7b4[_0x25bb91(0x36a)],_0x48985f=[],_0x46e112=_0x311793[_0x25bb91(0x241)]=_0x57727b[_0x25bb91(0x286)]({'_doReset':function(){var _0x44ca90=_0x25bb91;this[_0x44ca90(0x254)]=new _0x2d2e93[(_0x44ca90(0x2ce))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5d0459,_0x535fe3){var _0x6aae9b=_0x25bb91;for(var _0xb00049=this[_0x6aae9b(0x254)][_0x6aae9b(0x17f)],_0x41b83f=_0xb00049[0x0],_0x2c3047=_0xb00049[0x1],_0x3ce336=_0xb00049[0x2],_0x1af00e=_0xb00049[0x3],_0x41d897=_0xb00049[0x4],_0x2890de=0x0;_0x2890de<0x50;_0x2890de++){if(_0x2890de<0x10)_0x48985f[_0x2890de]=_0x5d0459[_0x535fe3+_0x2890de]|0x0;else{var _0x54eb2f=_0x48985f[_0x2890de-0x3]^_0x48985f[_0x2890de-0x8]^_0x48985f[_0x2890de-0xe]^_0x48985f[_0x2890de-0x10];_0x48985f[_0x2890de]=_0x54eb2f<<0x1|_0x54eb2f>>>0x1f;}var _0x388cd6=(_0x41b83f<<0x5|_0x41b83f>>>0x1b)+_0x41d897+_0x48985f[_0x2890de];_0x2890de<0x14?_0x388cd6+=(_0x2c3047&_0x3ce336|~_0x2c3047&_0x1af00e)+0x5a827999:_0x2890de<0x28?_0x388cd6+=(_0x2c3047^_0x3ce336^_0x1af00e)+0x6ed9eba1:_0x2890de<0x3c?_0x388cd6+=(_0x2c3047&_0x3ce336|_0x2c3047&_0x1af00e|_0x3ce336&_0x1af00e)-0x70e44324:_0x388cd6+=(_0x2c3047^_0x3ce336^_0x1af00e)-0x359d3e2a,_0x41d897=_0x1af00e,_0x1af00e=_0x3ce336,_0x3ce336=_0x2c3047<<0x1e|_0x2c3047>>>0x2,_0x2c3047=_0x41b83f,_0x41b83f=_0x388cd6;}_0xb00049[0x0]=_0xb00049[0x0]+_0x41b83f|0x0,_0xb00049[0x1]=_0xb00049[0x1]+_0x2c3047|0x0,_0xb00049[0x2]=_0xb00049[0x2]+_0x3ce336|0x0,_0xb00049[0x3]=_0xb00049[0x3]+_0x1af00e|0x0,_0xb00049[0x4]=_0xb00049[0x4]+_0x41d897|0x0;},'_doFinalize':function(){var _0x3c78b3=_0x25bb91,_0x2adba8=this[_0x3c78b3(0x316)],_0x4ce143=_0x2adba8[_0x3c78b3(0x17f)],_0x33b4fd=this[_0x3c78b3(0xec)]*0x8,_0x3df72d=_0x2adba8[_0x3c78b3(0x38e)]*0x8;return _0x4ce143[_0x3df72d>>>0x5]|=0x80<<0x18-_0x3df72d%0x20,_0x4ce143[(_0x3df72d+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x33b4fd/0x100000000),_0x4ce143[(_0x3df72d+0x40>>>0x9<<0x4)+0xf]=_0x33b4fd,_0x2adba8['sigBytes']=_0x4ce143['length']*0x4,this[_0x3c78b3(0x10b)](),this[_0x3c78b3(0x254)];},'clone':function(){var _0x82c816=_0x25bb91,_0x1a73f0=_0x57727b[_0x82c816(0x2f2)]['call'](this);return _0x1a73f0['_hash']=this['_hash'][_0x82c816(0x2f2)](),_0x1a73f0;}});_0x52b7b4[_0x25bb91(0x241)]=_0x57727b[_0x25bb91(0x1f5)](_0x46e112),_0x52b7b4[_0x25bb91(0x1c8)]=_0x57727b['_createHmacHelper'](_0x46e112);}()),_0x5c8fe2[_0x700ea1(0x241)];}));}(qe)),qe[_0x169266(0x2a1)];}var ze={'exports':{}},pn=ze[_0x23bef1(0x2a1)],Jt;function mn(){var _0x58337d=_0x23bef1;return Jt||(Jt=0x1,function(_0x75c62d,_0x5d915){(function(_0x1f042c,_0x36c2dd){var _0x8f4339=_0x161f;_0x75c62d[_0x8f4339(0x2a1)]=_0x36c2dd(ie());}(pn,function(_0x3ee1d2){(function(){var _0x412fb6=_0x161f,_0x5a572e=_0x3ee1d2,_0x2057ff=_0x5a572e[_0x412fb6(0x22f)],_0x5cfc84=_0x2057ff[_0x412fb6(0x338)],_0x2f59d3=_0x5a572e[_0x412fb6(0xbf)],_0x1b9328=_0x2f59d3[_0x412fb6(0x72)],_0x5206d8=_0x5a572e[_0x412fb6(0x36a)];_0x5206d8['HMAC']=_0x5cfc84[_0x412fb6(0x286)]({'init':function(_0x67ee83,_0x4dab6a){var _0x4ed76b=_0x412fb6;_0x67ee83=this[_0x4ed76b(0x1fa)]=new _0x67ee83['init'](),typeof _0x4dab6a==_0x4ed76b(0x146)&&(_0x4dab6a=_0x1b9328[_0x4ed76b(0x226)](_0x4dab6a));var _0x54d91c=_0x67ee83[_0x4ed76b(0x18b)],_0xe9553b=_0x54d91c*0x4;_0x4dab6a['sigBytes']>_0xe9553b&&(_0x4dab6a=_0x67ee83[_0x4ed76b(0x12b)](_0x4dab6a)),_0x4dab6a[_0x4ed76b(0x165)]();for(var _0x344bb9=this[_0x4ed76b(0x276)]=_0x4dab6a['clone'](),_0x43e4c9=this[_0x4ed76b(0x23d)]=_0x4dab6a[_0x4ed76b(0x2f2)](),_0x26d99f=_0x344bb9[_0x4ed76b(0x17f)],_0x4e826b=_0x43e4c9[_0x4ed76b(0x17f)],_0x5d1b47=0x0;_0x5d1b47<_0x54d91c;_0x5d1b47++)_0x26d99f[_0x5d1b47]^=0x5c5c5c5c,_0x4e826b[_0x5d1b47]^=0x36363636;_0x344bb9[_0x4ed76b(0x38e)]=_0x43e4c9['sigBytes']=_0xe9553b,this[_0x4ed76b(0x266)]();},'reset':function(){var _0xe66373=_0x412fb6,_0x5c1d5e=this[_0xe66373(0x1fa)];_0x5c1d5e[_0xe66373(0x266)](),_0x5c1d5e[_0xe66373(0xf3)](this['_iKey']);},'update':function(_0x298442){var _0x2aeb1c=_0x412fb6;return this[_0x2aeb1c(0x1fa)][_0x2aeb1c(0xf3)](_0x298442),this;},'finalize':function(_0x450f91){var _0x2c454a=_0x412fb6,_0x14e6f5=this[_0x2c454a(0x1fa)],_0x4d891e=_0x14e6f5[_0x2c454a(0x12b)](_0x450f91);_0x14e6f5[_0x2c454a(0x266)]();var _0x13f6dc=_0x14e6f5[_0x2c454a(0x12b)](this[_0x2c454a(0x276)][_0x2c454a(0x2f2)]()[_0x2c454a(0x157)](_0x4d891e));return _0x13f6dc;}});}());}));}(ze)),ze[_0x58337d(0x2a1)];}var In=Ke[_0x23bef1(0x2a1)],Zt;function Ci(){var _0x2c30f1=_0x23bef1;return Zt||(Zt=0x1,function(_0x1cbe07,_0x3c5aa2){(function(_0x34b7ce,_0x4b0e37,_0x37fab8){var _0x5f1fc9=_0x161f;_0x1cbe07[_0x5f1fc9(0x2a1)]=_0x4b0e37(ie(),En(),mn());}(In,function(_0x5d1f0a){var _0x13f07d=_0x161f;return(function(){var _0x1badf8=_0x161f,_0x5120bd=_0x5d1f0a,_0x4011cd=_0x5120bd[_0x1badf8(0x22f)],_0x15117a=_0x4011cd[_0x1badf8(0x338)],_0x1379af=_0x4011cd[_0x1badf8(0x13b)],_0x4691cb=_0x5120bd[_0x1badf8(0x36a)],_0x40d972=_0x4691cb[_0x1badf8(0x7b)],_0x45f94e=_0x4691cb[_0x1badf8(0x1d6)]=_0x15117a[_0x1badf8(0x286)]({'cfg':_0x15117a[_0x1badf8(0x286)]({'keySize':0x80/0x20,'hasher':_0x40d972,'iterations':0x1}),'init':function(_0x17469c){var _0x188085=_0x1badf8;this['cfg']=this[_0x188085(0x298)]['extend'](_0x17469c);},'compute':function(_0x20e90a,_0x3f8d2c){var _0x14f5ff=_0x1badf8;for(var _0x169098,_0x31c1ef=this[_0x14f5ff(0x298)],_0x368724=_0x31c1ef[_0x14f5ff(0x1b3)][_0x14f5ff(0x2b8)](),_0x4e918f=_0x1379af['create'](),_0x42f18c=_0x4e918f[_0x14f5ff(0x17f)],_0x39f189=_0x31c1ef[_0x14f5ff(0x101)],_0xda3657=_0x31c1ef[_0x14f5ff(0x2da)];_0x42f18c[_0x14f5ff(0x17e)]<_0x39f189;){_0x169098&&_0x368724[_0x14f5ff(0xf3)](_0x169098),_0x169098=_0x368724['update'](_0x20e90a)[_0x14f5ff(0x12b)](_0x3f8d2c),_0x368724[_0x14f5ff(0x266)]();for(var _0x1e3da8=0x1;_0x1e3da8<_0xda3657;_0x1e3da8++)_0x169098=_0x368724['finalize'](_0x169098),_0x368724[_0x14f5ff(0x266)]();_0x4e918f[_0x14f5ff(0x157)](_0x169098);}return _0x4e918f['sigBytes']=_0x39f189*0x4,_0x4e918f;}});_0x5120bd[_0x1badf8(0x1d6)]=function(_0x4367c2,_0x6095c4,_0x1c8062){var _0x277e40=_0x1badf8;return _0x45f94e[_0x277e40(0x2b8)](_0x1c8062)[_0x277e40(0x311)](_0x4367c2,_0x6095c4);};}()),_0x5d1f0a[_0x13f07d(0x1d6)];}));}(Ke)),Ke[_0x2c30f1(0x2a1)];}var Xe={'exports':{}},Sn=Xe['exports'],Qt;function bi(){var _0x15ac3d=_0x23bef1;return Qt||(Qt=0x1,function(_0x3421e2,_0x43af4f){(function(_0x33807d,_0x508d86,_0x40da4b){var _0x7ac9a3=_0x161f;_0x3421e2[_0x7ac9a3(0x2a1)]=_0x508d86(ie(),Ci());}(Sn,function(_0x16a3e5){var _0x518b94=_0x161f;_0x16a3e5['lib'][_0x518b94(0xdf)]||function(_0x4d2638){var _0x5b58ce=_0x518b94,_0x36a9b6=_0x16a3e5,_0x136a38=_0x36a9b6['lib'],_0x49e699=_0x136a38[_0x5b58ce(0x338)],_0x1dfc44=_0x136a38[_0x5b58ce(0x13b)],_0x2e7ba=_0x136a38[_0x5b58ce(0x1b9)],_0xe35191=_0x36a9b6[_0x5b58ce(0xbf)];_0xe35191[_0x5b58ce(0x72)];var _0x13d628=_0xe35191[_0x5b58ce(0x105)],_0x128e95=_0x36a9b6[_0x5b58ce(0x36a)],_0x303159=_0x128e95[_0x5b58ce(0x1d6)],_0x5c6ec9=_0x136a38[_0x5b58ce(0xdf)]=_0x2e7ba['extend']({'cfg':_0x49e699[_0x5b58ce(0x286)](),'createEncryptor':function(_0x11336e,_0x1d1182){var _0x137d58=_0x5b58ce;return this[_0x137d58(0x2b8)](this[_0x137d58(0x114)],_0x11336e,_0x1d1182);},'createDecryptor':function(_0x29a56c,_0x6b0e3f){var _0x40c954=_0x5b58ce;return this[_0x40c954(0x2b8)](this[_0x40c954(0xaa)],_0x29a56c,_0x6b0e3f);},'init':function(_0x358835,_0x14269e,_0x20a0cf){var _0x21a6fd=_0x5b58ce;this[_0x21a6fd(0x298)]=this[_0x21a6fd(0x298)]['extend'](_0x20a0cf),this[_0x21a6fd(0x235)]=_0x358835,this['_key']=_0x14269e,this[_0x21a6fd(0x266)]();},'reset':function(){var _0x338834=_0x5b58ce;_0x2e7ba[_0x338834(0x266)]['call'](this),this[_0x338834(0x2f8)]();},'process':function(_0x45e96d){var _0x5c662c=_0x5b58ce;return this[_0x5c662c(0x308)](_0x45e96d),this['_process']();},'finalize':function(_0x33f762){var _0x212ee6=_0x5b58ce;_0x33f762&&this[_0x212ee6(0x308)](_0x33f762);var _0x2d5290=this['_doFinalize']();return _0x2d5290;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4b00e4(_0x379952){return typeof _0x379952=='string'?_0xa9a1b4:_0x1e7b68;}return function(_0x3c209a){return{'encrypt':function(_0x41e056,_0x4fa1e9,_0x34fe5c){var _0x454afa=_0x161f;return _0x4b00e4(_0x4fa1e9)[_0x454afa(0x1b4)](_0x3c209a,_0x41e056,_0x4fa1e9,_0x34fe5c);},'decrypt':function(_0x56b2d3,_0x218e9f,_0x8e3b34){var _0x1922c5=_0x161f;return _0x4b00e4(_0x218e9f)[_0x1922c5(0x2cd)](_0x3c209a,_0x56b2d3,_0x218e9f,_0x8e3b34);}};};}())});_0x136a38['StreamCipher']=_0x5c6ec9[_0x5b58ce(0x286)]({'_doFinalize':function(){var _0x1daa3f=_0x5b58ce,_0x2b1691=this[_0x1daa3f(0x10b)](!0x0);return _0x2b1691;},'blockSize':0x1});var _0xa1ce16=_0x36a9b6[_0x5b58ce(0x2d1)]={},_0x7c0693=_0x136a38[_0x5b58ce(0x222)]=_0x49e699[_0x5b58ce(0x286)]({'createEncryptor':function(_0x11ac48,_0x45b179){var _0x283873=_0x5b58ce;return this['Encryptor'][_0x283873(0x2b8)](_0x11ac48,_0x45b179);},'createDecryptor':function(_0x10d20f,_0x3142b2){var _0x16554c=_0x5b58ce;return this[_0x16554c(0x1ec)][_0x16554c(0x2b8)](_0x10d20f,_0x3142b2);},'init':function(_0x1194c9,_0x5e3224){var _0x768e5b=_0x5b58ce;this['_cipher']=_0x1194c9,this[_0x768e5b(0x372)]=_0x5e3224;}}),_0xa1fafe=_0xa1ce16[_0x5b58ce(0x167)]=(function(){var _0x367b92=_0x5b58ce,_0x1eb855=_0x7c0693[_0x367b92(0x286)]();_0x1eb855[_0x367b92(0x1ee)]=_0x1eb855[_0x367b92(0x286)]({'processBlock':function(_0x4d7f21,_0x579776){var _0x1b4c4e=_0x367b92,_0x1f761a=this[_0x1b4c4e(0x329)],_0x10b032=_0x1f761a[_0x1b4c4e(0x18b)];_0x5322e2[_0x1b4c4e(0x2aa)](this,_0x4d7f21,_0x579776,_0x10b032),_0x1f761a[_0x1b4c4e(0x256)](_0x4d7f21,_0x579776),this[_0x1b4c4e(0x362)]=_0x4d7f21[_0x1b4c4e(0x374)](_0x579776,_0x579776+_0x10b032);}}),_0x1eb855[_0x367b92(0x1ec)]=_0x1eb855[_0x367b92(0x286)]({'processBlock':function(_0x9912d9,_0x5943ac){var _0x300542=_0x367b92,_0x183b54=this[_0x300542(0x329)],_0x14c45c=_0x183b54[_0x300542(0x18b)],_0x1d92c3=_0x9912d9[_0x300542(0x374)](_0x5943ac,_0x5943ac+_0x14c45c);_0x183b54['decryptBlock'](_0x9912d9,_0x5943ac),_0x5322e2[_0x300542(0x2aa)](this,_0x9912d9,_0x5943ac,_0x14c45c),this[_0x300542(0x362)]=_0x1d92c3;}});function _0x5322e2(_0x52836c,_0x151c6b,_0x1e5857){var _0x49d293=_0x367b92,_0x236c63,_0x54db99=this[_0x49d293(0x372)];_0x54db99?(_0x236c63=_0x54db99,this[_0x49d293(0x372)]=_0x4d2638):_0x236c63=this[_0x49d293(0x362)];for(var _0x2e51f5=0x0;_0x2e51f5<_0x1e5857;_0x2e51f5++)_0x52836c[_0x151c6b+_0x2e51f5]^=_0x236c63[_0x2e51f5];}return _0x1eb855;}()),_0x30293f=_0x36a9b6['pad']={},_0x1fb146=_0x30293f[_0x5b58ce(0x71)]={'pad':function(_0x3739da,_0x5f2dd4){var _0x2163de=_0x5b58ce;for(var _0x8ca493=_0x5f2dd4*0x4,_0x3b5d24=_0x8ca493-_0x3739da['sigBytes']%_0x8ca493,_0x50be61=_0x3b5d24<<0x18|_0x3b5d24<<0x10|_0x3b5d24<<0x8|_0x3b5d24,_0x29d151=[],_0x2afa33=0x0;_0x2afa33<_0x3b5d24;_0x2afa33+=0x4)_0x29d151[_0x2163de(0x14a)](_0x50be61);var _0x42a803=_0x1dfc44['create'](_0x29d151,_0x3b5d24);_0x3739da[_0x2163de(0x157)](_0x42a803);},'unpad':function(_0x2f664e){var _0x557743=_0x5b58ce,_0x202ba9=_0x2f664e[_0x557743(0x17f)][_0x2f664e[_0x557743(0x38e)]-0x1>>>0x2]&0xff;_0x2f664e[_0x557743(0x38e)]-=_0x202ba9;}};_0x136a38[_0x5b58ce(0x1f1)]=_0x5c6ec9[_0x5b58ce(0x286)]({'cfg':_0x5c6ec9[_0x5b58ce(0x298)][_0x5b58ce(0x286)]({'mode':_0xa1fafe,'padding':_0x1fb146}),'reset':function(){var _0x4bce92=_0x5b58ce,_0xa18a15;_0x5c6ec9['reset']['call'](this);var _0x2ff0ea=this['cfg'],_0x57b04a=_0x2ff0ea['iv'],_0x215f0d=_0x2ff0ea['mode'];this[_0x4bce92(0x235)]==this[_0x4bce92(0x114)]?_0xa18a15=_0x215f0d[_0x4bce92(0x1f8)]:(_0xa18a15=_0x215f0d[_0x4bce92(0x355)],this[_0x4bce92(0x113)]=0x1),this[_0x4bce92(0x27f)]&&this[_0x4bce92(0x27f)][_0x4bce92(0x15c)]==_0xa18a15?this['_mode'][_0x4bce92(0x2ce)](this,_0x57b04a&&_0x57b04a[_0x4bce92(0x17f)]):(this[_0x4bce92(0x27f)]=_0xa18a15['call'](_0x215f0d,this,_0x57b04a&&_0x57b04a[_0x4bce92(0x17f)]),this['_mode'][_0x4bce92(0x15c)]=_0xa18a15);},'_doProcessBlock':function(_0x52aa4d,_0x1df0a0){var _0x301e8f=_0x5b58ce;this[_0x301e8f(0x27f)][_0x301e8f(0x1db)](_0x52aa4d,_0x1df0a0);},'_doFinalize':function(){var _0xd39887=_0x5b58ce,_0x512280,_0x29250a=this['cfg']['padding'];return this['_xformMode']==this[_0xd39887(0x114)]?(_0x29250a[_0xd39887(0x268)](this[_0xd39887(0x316)],this[_0xd39887(0x18b)]),_0x512280=this[_0xd39887(0x10b)](!0x0)):(_0x512280=this[_0xd39887(0x10b)](!0x0),_0x29250a[_0xd39887(0x223)](_0x512280)),_0x512280;},'blockSize':0x80/0x20});var _0x402907=_0x136a38[_0x5b58ce(0xa9)]=_0x49e699[_0x5b58ce(0x286)]({'init':function(_0x392b27){var _0x58d32c=_0x5b58ce;this[_0x58d32c(0x11e)](_0x392b27);},'toString':function(_0x32f697){var _0x12a5ca=_0x5b58ce;return(_0x32f697||this[_0x12a5ca(0x2c2)])[_0x12a5ca(0x10a)](this);}}),_0xbd88e0=_0x36a9b6[_0x5b58ce(0x1f0)]={},_0x4c1c64=_0xbd88e0[_0x5b58ce(0x33d)]={'stringify':function(_0x1df4ce){var _0x5cc3e5=_0x5b58ce,_0x22a787,_0x529bc=_0x1df4ce['ciphertext'],_0x50bb7e=_0x1df4ce['salt'];return _0x50bb7e?_0x22a787=_0x1dfc44['create']([0x53616c74,0x65645f5f])[_0x5cc3e5(0x157)](_0x50bb7e)['concat'](_0x529bc):_0x22a787=_0x529bc,_0x22a787['toString'](_0x13d628);},'parse':function(_0x3ddde3){var _0xc1231a=_0x5b58ce,_0x90b55a,_0x183f70=_0x13d628[_0xc1231a(0x226)](_0x3ddde3),_0x8277a1=_0x183f70[_0xc1231a(0x17f)];return _0x8277a1[0x0]==0x53616c74&&_0x8277a1[0x1]==0x65645f5f&&(_0x90b55a=_0x1dfc44['create'](_0x8277a1[_0xc1231a(0x374)](0x2,0x4)),_0x8277a1[_0xc1231a(0x375)](0x0,0x4),_0x183f70['sigBytes']-=0x10),_0x402907[_0xc1231a(0x2b8)]({'ciphertext':_0x183f70,'salt':_0x90b55a});}},_0x1e7b68=_0x136a38[_0x5b58ce(0x1cc)]=_0x49e699['extend']({'cfg':_0x49e699[_0x5b58ce(0x286)]({'format':_0x4c1c64}),'encrypt':function(_0x5b8fa5,_0x2108c0,_0x4c4107,_0x3cf952){var _0x55c81c=_0x5b58ce;_0x3cf952=this[_0x55c81c(0x298)]['extend'](_0x3cf952);var _0x395015=_0x5b8fa5[_0x55c81c(0x1f8)](_0x4c4107,_0x3cf952),_0x2c3dd7=_0x395015[_0x55c81c(0x12b)](_0x2108c0),_0x1668f7=_0x395015[_0x55c81c(0x298)];return _0x402907[_0x55c81c(0x2b8)]({'ciphertext':_0x2c3dd7,'key':_0x4c4107,'iv':_0x1668f7['iv'],'algorithm':_0x5b8fa5,'mode':_0x1668f7[_0x55c81c(0x2d1)],'padding':_0x1668f7['padding'],'blockSize':_0x5b8fa5[_0x55c81c(0x18b)],'formatter':_0x3cf952[_0x55c81c(0x1f0)]});},'decrypt':function(_0x1c86f0,_0x23b6e9,_0x276d10,_0x38f58b){var _0x537c24=_0x5b58ce;_0x38f58b=this[_0x537c24(0x298)][_0x537c24(0x286)](_0x38f58b),_0x23b6e9=this['_parse'](_0x23b6e9,_0x38f58b[_0x537c24(0x1f0)]);var _0x1c72b2=_0x1c86f0[_0x537c24(0x355)](_0x276d10,_0x38f58b)[_0x537c24(0x12b)](_0x23b6e9[_0x537c24(0x32d)]);return _0x1c72b2;},'_parse':function(_0x3b285d,_0x426740){var _0x9eabc4=_0x5b58ce;return typeof _0x3b285d==_0x9eabc4(0x146)?_0x426740[_0x9eabc4(0x226)](_0x3b285d,this):_0x3b285d;}}),_0x4e10fa=_0x36a9b6[_0x5b58ce(0x330)]={},_0x5c7edf=_0x4e10fa['OpenSSL']={'execute':function(_0x38782d,_0x33ebfe,_0x3fcc59,_0x499f0c,_0x2e8be7){var _0x1a4ed5=_0x5b58ce;if(_0x499f0c||(_0x499f0c=_0x1dfc44[_0x1a4ed5(0x382)](0x40/0x8)),_0x2e8be7)var _0x8161f=_0x303159[_0x1a4ed5(0x2b8)]({'keySize':_0x33ebfe+_0x3fcc59,'hasher':_0x2e8be7})['compute'](_0x38782d,_0x499f0c);else var _0x8161f=_0x303159[_0x1a4ed5(0x2b8)]({'keySize':_0x33ebfe+_0x3fcc59})[_0x1a4ed5(0x311)](_0x38782d,_0x499f0c);var _0x41ebe8=_0x1dfc44[_0x1a4ed5(0x2b8)](_0x8161f[_0x1a4ed5(0x17f)][_0x1a4ed5(0x374)](_0x33ebfe),_0x3fcc59*0x4);return _0x8161f['sigBytes']=_0x33ebfe*0x4,_0x402907['create']({'key':_0x8161f,'iv':_0x41ebe8,'salt':_0x499f0c});}},_0xa9a1b4=_0x136a38['PasswordBasedCipher']=_0x1e7b68[_0x5b58ce(0x286)]({'cfg':_0x1e7b68[_0x5b58ce(0x298)]['extend']({'kdf':_0x5c7edf}),'encrypt':function(_0x3f94f1,_0x499d72,_0x2742ec,_0x21d230){var _0xa2ee7=_0x5b58ce;_0x21d230=this[_0xa2ee7(0x298)]['extend'](_0x21d230);var _0x456b09=_0x21d230['kdf'][_0xa2ee7(0x332)](_0x2742ec,_0x3f94f1[_0xa2ee7(0x101)],_0x3f94f1[_0xa2ee7(0x9f)],_0x21d230[_0xa2ee7(0x284)],_0x21d230[_0xa2ee7(0x1b3)]);_0x21d230['iv']=_0x456b09['iv'];var _0x2e5d39=_0x1e7b68[_0xa2ee7(0x1b4)][_0xa2ee7(0x2aa)](this,_0x3f94f1,_0x499d72,_0x456b09[_0xa2ee7(0x364)],_0x21d230);return _0x2e5d39[_0xa2ee7(0x11e)](_0x456b09),_0x2e5d39;},'decrypt':function(_0x59e84e,_0x38e4f4,_0x35903a,_0x177399){var _0xd0f968=_0x5b58ce;_0x177399=this['cfg'][_0xd0f968(0x286)](_0x177399),_0x38e4f4=this[_0xd0f968(0x259)](_0x38e4f4,_0x177399['format']);var _0x480ab6=_0x177399[_0xd0f968(0x330)]['execute'](_0x35903a,_0x59e84e['keySize'],_0x59e84e['ivSize'],_0x38e4f4[_0xd0f968(0x284)],_0x177399[_0xd0f968(0x1b3)]);_0x177399['iv']=_0x480ab6['iv'];var _0x516627=_0x1e7b68[_0xd0f968(0x2cd)][_0xd0f968(0x2aa)](this,_0x59e84e,_0x38e4f4,_0x480ab6[_0xd0f968(0x364)],_0x177399);return _0x516627;}});}();}));}(Xe)),Xe[_0x15ac3d(0x2a1)];}var gn=Ve[_0x23bef1(0x2a1)],ei;function Tn(){var _0x96847d=_0x23bef1;return ei||(ei=0x1,function(_0x1329ce,_0x303f46){(function(_0xa5165f,_0xdaac57,_0x560ca7){var _0x1af5d=_0x161f;_0x1329ce[_0x1af5d(0x2a1)]=_0xdaac57(ie(),Ni(),fn(),Ci(),bi());}(gn,function(_0x5c10c5){var _0x19fe74=_0x161f;return(function(){var _0x2c65d8=_0x161f,_0x80db54=_0x5c10c5,_0x3fcab8=_0x80db54[_0x2c65d8(0x22f)],_0x2a0150=_0x3fcab8[_0x2c65d8(0x1f1)],_0x5386d3=_0x80db54[_0x2c65d8(0x36a)],_0x1c1d26=[],_0x386d5a=[],_0x10e328=[],_0x4b4b12=[],_0x48de38=[],_0x2439cc=[],_0x5894a0=[],_0x2f6d26=[],_0x1f1f13=[],_0x3dee4f=[];(function(){for(var _0x2ecf0a=[],_0x3a0a94=0x0;_0x3a0a94<0x100;_0x3a0a94++)_0x3a0a94<0x80?_0x2ecf0a[_0x3a0a94]=_0x3a0a94<<0x1:_0x2ecf0a[_0x3a0a94]=_0x3a0a94<<0x1^0x11b;for(var _0x24a51a=0x0,_0x436166=0x0,_0x3a0a94=0x0;_0x3a0a94<0x100;_0x3a0a94++){var _0x1c133b=_0x436166^_0x436166<<0x1^_0x436166<<0x2^_0x436166<<0x3^_0x436166<<0x4;_0x1c133b=_0x1c133b>>>0x8^_0x1c133b&0xff^0x63,_0x1c1d26[_0x24a51a]=_0x1c133b,_0x386d5a[_0x1c133b]=_0x24a51a;var _0x3c96a3=_0x2ecf0a[_0x24a51a],_0x13a67b=_0x2ecf0a[_0x3c96a3],_0x4cda81=_0x2ecf0a[_0x13a67b],_0x273db3=_0x2ecf0a[_0x1c133b]*0x101^_0x1c133b*0x1010100;_0x10e328[_0x24a51a]=_0x273db3<<0x18|_0x273db3>>>0x8,_0x4b4b12[_0x24a51a]=_0x273db3<<0x10|_0x273db3>>>0x10,_0x48de38[_0x24a51a]=_0x273db3<<0x8|_0x273db3>>>0x18,_0x2439cc[_0x24a51a]=_0x273db3;var _0x273db3=_0x4cda81*0x1010101^_0x13a67b*0x10001^_0x3c96a3*0x101^_0x24a51a*0x1010100;_0x5894a0[_0x1c133b]=_0x273db3<<0x18|_0x273db3>>>0x8,_0x2f6d26[_0x1c133b]=_0x273db3<<0x10|_0x273db3>>>0x10,_0x1f1f13[_0x1c133b]=_0x273db3<<0x8|_0x273db3>>>0x18,_0x3dee4f[_0x1c133b]=_0x273db3,_0x24a51a?(_0x24a51a=_0x3c96a3^_0x2ecf0a[_0x2ecf0a[_0x2ecf0a[_0x4cda81^_0x3c96a3]]],_0x436166^=_0x2ecf0a[_0x2ecf0a[_0x436166]]):_0x24a51a=_0x436166=0x1;}}());var _0x167097=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2a10f4=_0x5386d3[_0x2c65d8(0x249)]=_0x2a0150[_0x2c65d8(0x286)]({'_doReset':function(){var _0x1f8fd0=_0x2c65d8,_0x2a8d68;if(!(this[_0x1f8fd0(0x331)]&&this[_0x1f8fd0(0x111)]===this[_0x1f8fd0(0x2dd)])){for(var _0xf1e2de=this[_0x1f8fd0(0x111)]=this[_0x1f8fd0(0x2dd)],_0x22b606=_0xf1e2de['words'],_0x4653c3=_0xf1e2de['sigBytes']/0x4,_0x2f983d=this[_0x1f8fd0(0x331)]=_0x4653c3+0x6,_0x584ca6=(_0x2f983d+0x1)*0x4,_0x4eccd2=this[_0x1f8fd0(0x36f)]=[],_0x1b6208=0x0;_0x1b6208<_0x584ca6;_0x1b6208++)_0x1b6208<_0x4653c3?_0x4eccd2[_0x1b6208]=_0x22b606[_0x1b6208]:(_0x2a8d68=_0x4eccd2[_0x1b6208-0x1],_0x1b6208%_0x4653c3?_0x4653c3>0x6&&_0x1b6208%_0x4653c3==0x4&&(_0x2a8d68=_0x1c1d26[_0x2a8d68>>>0x18]<<0x18|_0x1c1d26[_0x2a8d68>>>0x10&0xff]<<0x10|_0x1c1d26[_0x2a8d68>>>0x8&0xff]<<0x8|_0x1c1d26[_0x2a8d68&0xff]):(_0x2a8d68=_0x2a8d68<<0x8|_0x2a8d68>>>0x18,_0x2a8d68=_0x1c1d26[_0x2a8d68>>>0x18]<<0x18|_0x1c1d26[_0x2a8d68>>>0x10&0xff]<<0x10|_0x1c1d26[_0x2a8d68>>>0x8&0xff]<<0x8|_0x1c1d26[_0x2a8d68&0xff],_0x2a8d68^=_0x167097[_0x1b6208/_0x4653c3|0x0]<<0x18),_0x4eccd2[_0x1b6208]=_0x4eccd2[_0x1b6208-_0x4653c3]^_0x2a8d68);for(var _0x18a130=this[_0x1f8fd0(0xbd)]=[],_0x1c6614=0x0;_0x1c6614<_0x584ca6;_0x1c6614++){var _0x1b6208=_0x584ca6-_0x1c6614;if(_0x1c6614%0x4)var _0x2a8d68=_0x4eccd2[_0x1b6208];else var _0x2a8d68=_0x4eccd2[_0x1b6208-0x4];_0x1c6614<0x4||_0x1b6208<=0x4?_0x18a130[_0x1c6614]=_0x2a8d68:_0x18a130[_0x1c6614]=_0x5894a0[_0x1c1d26[_0x2a8d68>>>0x18]]^_0x2f6d26[_0x1c1d26[_0x2a8d68>>>0x10&0xff]]^_0x1f1f13[_0x1c1d26[_0x2a8d68>>>0x8&0xff]]^_0x3dee4f[_0x1c1d26[_0x2a8d68&0xff]];}}},'encryptBlock':function(_0x2c76c2,_0x393092){var _0x10500e=_0x2c65d8;this[_0x10500e(0x1d2)](_0x2c76c2,_0x393092,this[_0x10500e(0x36f)],_0x10e328,_0x4b4b12,_0x48de38,_0x2439cc,_0x1c1d26);},'decryptBlock':function(_0x294a39,_0x588792){var _0xac0343=_0x2c65d8,_0x1c990b=_0x294a39[_0x588792+0x1];_0x294a39[_0x588792+0x1]=_0x294a39[_0x588792+0x3],_0x294a39[_0x588792+0x3]=_0x1c990b,this['_doCryptBlock'](_0x294a39,_0x588792,this[_0xac0343(0xbd)],_0x5894a0,_0x2f6d26,_0x1f1f13,_0x3dee4f,_0x386d5a);var _0x1c990b=_0x294a39[_0x588792+0x1];_0x294a39[_0x588792+0x1]=_0x294a39[_0x588792+0x3],_0x294a39[_0x588792+0x3]=_0x1c990b;},'_doCryptBlock':function(_0x26c270,_0x2e8df5,_0x16f2cd,_0x3a505c,_0x280292,_0x242ea5,_0x2ba08f,_0x52e7c2){for(var _0x75d782=this['_nRounds'],_0x1c94aa=_0x26c270[_0x2e8df5]^_0x16f2cd[0x0],_0x18a7bd=_0x26c270[_0x2e8df5+0x1]^_0x16f2cd[0x1],_0x5e4f33=_0x26c270[_0x2e8df5+0x2]^_0x16f2cd[0x2],_0x4bdf42=_0x26c270[_0x2e8df5+0x3]^_0x16f2cd[0x3],_0x1b0658=0x4,_0x7dc0a8=0x1;_0x7dc0a8<_0x75d782;_0x7dc0a8++){var _0x3c6b08=_0x3a505c[_0x1c94aa>>>0x18]^_0x280292[_0x18a7bd>>>0x10&0xff]^_0x242ea5[_0x5e4f33>>>0x8&0xff]^_0x2ba08f[_0x4bdf42&0xff]^_0x16f2cd[_0x1b0658++],_0x146c21=_0x3a505c[_0x18a7bd>>>0x18]^_0x280292[_0x5e4f33>>>0x10&0xff]^_0x242ea5[_0x4bdf42>>>0x8&0xff]^_0x2ba08f[_0x1c94aa&0xff]^_0x16f2cd[_0x1b0658++],_0x423a0b=_0x3a505c[_0x5e4f33>>>0x18]^_0x280292[_0x4bdf42>>>0x10&0xff]^_0x242ea5[_0x1c94aa>>>0x8&0xff]^_0x2ba08f[_0x18a7bd&0xff]^_0x16f2cd[_0x1b0658++],_0x59ee64=_0x3a505c[_0x4bdf42>>>0x18]^_0x280292[_0x1c94aa>>>0x10&0xff]^_0x242ea5[_0x18a7bd>>>0x8&0xff]^_0x2ba08f[_0x5e4f33&0xff]^_0x16f2cd[_0x1b0658++];_0x1c94aa=_0x3c6b08,_0x18a7bd=_0x146c21,_0x5e4f33=_0x423a0b,_0x4bdf42=_0x59ee64;}var _0x3c6b08=(_0x52e7c2[_0x1c94aa>>>0x18]<<0x18|_0x52e7c2[_0x18a7bd>>>0x10&0xff]<<0x10|_0x52e7c2[_0x5e4f33>>>0x8&0xff]<<0x8|_0x52e7c2[_0x4bdf42&0xff])^_0x16f2cd[_0x1b0658++],_0x146c21=(_0x52e7c2[_0x18a7bd>>>0x18]<<0x18|_0x52e7c2[_0x5e4f33>>>0x10&0xff]<<0x10|_0x52e7c2[_0x4bdf42>>>0x8&0xff]<<0x8|_0x52e7c2[_0x1c94aa&0xff])^_0x16f2cd[_0x1b0658++],_0x423a0b=(_0x52e7c2[_0x5e4f33>>>0x18]<<0x18|_0x52e7c2[_0x4bdf42>>>0x10&0xff]<<0x10|_0x52e7c2[_0x1c94aa>>>0x8&0xff]<<0x8|_0x52e7c2[_0x18a7bd&0xff])^_0x16f2cd[_0x1b0658++],_0x59ee64=(_0x52e7c2[_0x4bdf42>>>0x18]<<0x18|_0x52e7c2[_0x1c94aa>>>0x10&0xff]<<0x10|_0x52e7c2[_0x18a7bd>>>0x8&0xff]<<0x8|_0x52e7c2[_0x5e4f33&0xff])^_0x16f2cd[_0x1b0658++];_0x26c270[_0x2e8df5]=_0x3c6b08,_0x26c270[_0x2e8df5+0x1]=_0x146c21,_0x26c270[_0x2e8df5+0x2]=_0x423a0b,_0x26c270[_0x2e8df5+0x3]=_0x59ee64;},'keySize':0x100/0x20});_0x80db54[_0x2c65d8(0x249)]=_0x2a0150[_0x2c65d8(0x1f5)](_0x2a10f4);}()),_0x5c10c5[_0x19fe74(0x249)];}));}(Ve)),Ve[_0x96847d(0x2a1)];}var On=Tn();const Rn=$e(On);var Nn=Ni();const ti=$e(Nn);var Je={'exports':{}},Cn=Je[_0x23bef1(0x2a1)],ii;function bn(){var _0x189b54=_0x23bef1;return ii||(ii=0x1,function(_0x51c661,_0x29dbd2){(function(_0x242df8,_0xfbce56){var _0x18e30c=_0x161f;_0x51c661[_0x18e30c(0x2a1)]=_0xfbce56(ie());}(Cn,function(_0x2474ab){var _0x1263b6=_0x161f;return _0x2474ab['enc'][_0x1263b6(0x72)];}));}(Je)),Je[_0x189b54(0x2a1)];}var Dn=bn();const yn=$e(Dn);var Ze={'exports':{}},Un=Ze[_0x23bef1(0x2a1)],si;function An(){var _0x39ff08=_0x23bef1;return si||(si=0x1,function(_0x5d627e,_0x1b198b){(function(_0x3fcb76,_0x2afcf6){var _0x43874b=_0x161f;_0x5d627e[_0x43874b(0x2a1)]=_0x2afcf6(ie());}(Un,function(_0x4226fc){var _0x5429a7=_0x161f;return(function(){var _0x464a61=_0x161f;if(typeof ArrayBuffer==_0x464a61(0xb4)){var _0x1c54d8=_0x4226fc,_0x1bb454=_0x1c54d8[_0x464a61(0x22f)],_0x136fe3=_0x1bb454[_0x464a61(0x13b)],_0xc3ff7d=_0x136fe3[_0x464a61(0x2ce)],_0x35824a=_0x136fe3[_0x464a61(0x2ce)]=function(_0x195b82){var _0x40bf48=_0x464a61;if(_0x195b82 instanceof ArrayBuffer&&(_0x195b82=new Uint8Array(_0x195b82)),(_0x195b82 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x195b82 instanceof Uint8ClampedArray||_0x195b82 instanceof Int16Array||_0x195b82 instanceof Uint16Array||_0x195b82 instanceof Int32Array||_0x195b82 instanceof Uint32Array||_0x195b82 instanceof Float32Array||_0x195b82 instanceof Float64Array)&&(_0x195b82=new Uint8Array(_0x195b82[_0x40bf48(0x8b)],_0x195b82[_0x40bf48(0x1bd)],_0x195b82[_0x40bf48(0x2b0)])),_0x195b82 instanceof Uint8Array){for(var _0x5db2b7=_0x195b82[_0x40bf48(0x2b0)],_0x462d43=[],_0x8ab891=0x0;_0x8ab891<_0x5db2b7;_0x8ab891++)_0x462d43[_0x8ab891>>>0x2]|=_0x195b82[_0x8ab891]<<0x18-_0x8ab891%0x4*0x8;_0xc3ff7d[_0x40bf48(0x2aa)](this,_0x462d43,_0x5db2b7);}else _0xc3ff7d[_0x40bf48(0x2a3)](this,arguments);};_0x35824a[_0x464a61(0x38a)]=_0x136fe3;}}()),_0x4226fc[_0x5429a7(0x22f)][_0x5429a7(0x13b)];}));}(Ze)),Ze[_0x39ff08(0x2a1)];}var Pn=An();const wn=$e(Pn);var Qe={'exports':{}},Ln=Qe[_0x23bef1(0x2a1)],ni;function Mn(){return ni||(ni=0x1,function(_0xb0fc5f,_0xe177f){(function(_0x3b526e,_0x221b21,_0x538092){var _0x3c5fa4=_0x161f;_0xb0fc5f[_0x3c5fa4(0x2a1)]=_0x221b21(ie(),bi());}(Ln,function(_0x410401){var _0x447b49=_0x161f;return _0x410401['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x410401[_0x447b49(0x268)][_0x447b49(0x377)];}));}(Qe)),Qe['exports'];}var xn=Mn();const kn=$e(xn);function $n(_0x5b8815,_0x5736aa){var _0x30f7fa=_0x23bef1;const _0x1fc0b2=_0x5736aa-_0x5b8815[_0x30f7fa(0x17e)]%_0x5736aa,_0x11f124=String[_0x30f7fa(0x2bb)](_0x1fc0b2)[_0x30f7fa(0x1e6)](_0x1fc0b2);return _0x5b8815+_0x11f124;}function Hn(_0x3bd312,_0x28b883){var _0x4cd5b1=_0x23bef1;const _0x551f4f=wn[_0x4cd5b1(0x382)](0x10),_0x434307=$n(_0x3bd312,0x10),_0x5d4a81=Rn[_0x4cd5b1(0x1b4)](yn['parse'](_0x434307),ti['parse'](_0x28b883),{'iv':_0x551f4f,'padding':kn});return _0x551f4f[_0x4cd5b1(0x157)](_0x5d4a81[_0x4cd5b1(0x32d)])['toString'](ti);}function Bn(){var _0x2c01dd=_0x23bef1;const _0x32e732=_0x321d7a()[_0x2c01dd(0x29f)];if(typeof window<'u'&&typeof window[_0x2c01dd(0xa1)]<'u'&&_0x32e732){const _0x459673={'time':Math['floor'](Date[_0x2c01dd(0x2ea)]()/0x3e8),'domain':location[_0x2c01dd(0x221)]};return Hn(JSON[_0x2c01dd(0x10a)](_0x459673),_0x32e732);}}var Fn=Object[_0x23bef1(0x194)],jn=(_0xe0482f,_0x3291d6,_0x468824,_0x5afb1c)=>{var _0x110c93=_0x23bef1;for(var _0x53519a=_0x5afb1c>0x1?void 0x0:_0x5afb1c?Fn(_0x3291d6,_0x468824):_0x3291d6,_0x12c7f0=_0xe0482f[_0x110c93(0x17e)]-0x1,_0x164bc9;_0x12c7f0>=0x0;_0x12c7f0--)(_0x164bc9=_0xe0482f[_0x12c7f0])&&(_0x53519a=_0x164bc9(_0x53519a)||_0x53519a);return _0x53519a;},Vn=(_0x4eae70,_0xe8e6c6)=>(_0x5cf807,_0xecd6bf)=>_0xe8e6c6(_0x5cf807,_0xecd6bf,_0x4eae70);let at=class{constructor(_0x372e38){var _0x788b66=_0x23bef1;this['_httpService']=_0x372e38,this[_0x788b66(0x1cd)]();}[_0x23bef1(0x1cd)](){var _0x5e5db3=_0x23bef1;this[_0x5e5db3(0x1c3)][_0x5e5db3(0x335)]({'interceptor':(_0x57f8fe,_0xa9377)=>{var _0x562625=_0x5e5db3;const _0x1b897b=_0x57f8fe['headers'],_0x1ab3f1=Bn();return _0x1ab3f1&&_0x1b897b[_0x562625(0x2ab)](_0x562625(0x18f),_0x1ab3f1),_0xa9377(_0x57f8fe);}});}};at=jn([Vn(0x0,_0x5a63ce(_0x2d4854))],at);var Gn=Object[_0x23bef1(0x194)],Wn=(_0x542bff,_0x66b6d1,_0x439f6a,_0x545236)=>{var _0x3c73d7=_0x23bef1;for(var _0xe53020=_0x545236>0x1?void 0x0:_0x545236?Gn(_0x66b6d1,_0x439f6a):_0x66b6d1,_0x372460=_0x542bff[_0x3c73d7(0x17e)]-0x1,_0x47c566;_0x372460>=0x0;_0x372460--)(_0x47c566=_0x542bff[_0x372460])&&(_0xe53020=_0x47c566(_0xe53020)||_0xe53020);return _0xe53020;},vt=(_0x503776,_0x2fda31)=>(_0x1b8bc1,_0x3ad15d)=>_0x2fda31(_0x1b8bc1,_0x3ad15d,_0x503776);let Ot=class extends _0x9a530{constructor(_0x38ac80,_0x2b66a4,_0x15526d){var _0x3cdd70=_0x23bef1;super(),D(this,'_unitInfo$',new _0x2025e8(null)),D(this,_0x3cdd70(0x246),this[_0x3cdd70(0x21c)][_0x3cdd70(0x1aa)]()),(this[_0x3cdd70(0x170)]=_0x38ac80,this[_0x3cdd70(0x199)]=_0x2b66a4,this[_0x3cdd70(0xcf)]=_0x15526d);}async[_0x23bef1(0x225)](_0x26f6a5,_0x2e8fea,_0x5332b8){var _0x193cb8=_0x23bef1;this[_0x193cb8(0x21c)][_0x193cb8(0xb8)]({'unitId':_0x26f6a5,'type':_0x2e8fea});let _0x4890e8=null;switch(_0x2e8fea){case Q['UNIVER_SHEET']:{_0x4890e8=await this[_0x193cb8(0x199)][_0x193cb8(0xb0)](_0x26f6a5,_0x5332b8);break;}case Q[_0x193cb8(0x128)]:{_0x4890e8=await this[_0x193cb8(0x199)][_0x193cb8(0x2f0)](_0x26f6a5,_0x5332b8);break;}default:{this[_0x193cb8(0x170)]['error'](_0x193cb8(0x19d),_0x193cb8(0x2e0));break;}}return _0x4890e8;}async[_0x23bef1(0x29c)](_0x3d0992,_0x5d561f,_0x1c2cdb){var _0x495f21=_0x23bef1,_0x21baa0;this[_0x495f21(0x21c)][_0x495f21(0xb8)]({'unitId':_0x3d0992,'type':_0x5d561f,'subUnitId':_0x1c2cdb});let _0x31a322=0x0;const _0x6ae32b=await((_0x21baa0=this[_0x495f21(0xcf)])==null?void 0x0:_0x21baa0[_0x495f21(0x178)](_0x3d0992));return _0x6ae32b&&(_0x6ae32b[_0x495f21(0x107)]||_0x6ae32b[_0x495f21(0xb5)][_0x495f21(0x17e)]!==0x0)&&(_0x31a322=_0x6ae32b[_0x495f21(0x22e)]),_0x31a322===0x0&&this[_0x495f21(0x170)][_0x495f21(0x1ce)](_0x495f21(0x19d),_0x495f21(0x9b)),this[_0x495f21(0x225)](_0x3d0992,_0x5d561f,_0x31a322);}};Ot=Wn([vt(0x0,_0x61abde),vt(0x1,_0x5a63ce(_0x175d98)),vt(0x2,_0x5e8b57(X))],Ot);var Yn=Object[_0x23bef1(0x194)],Kn=(_0x2b4e4c,_0x44f1d3,_0x417dc1,_0x330713)=>{var _0x304746=_0x23bef1;for(var _0x4e9cd9=_0x330713>0x1?void 0x0:_0x330713?Yn(_0x44f1d3,_0x417dc1):_0x44f1d3,_0xc21df2=_0x2b4e4c[_0x304746(0x17e)]-0x1,_0x38d92a;_0xc21df2>=0x0;_0xc21df2--)(_0x38d92a=_0x2b4e4c[_0xc21df2])&&(_0x4e9cd9=_0x38d92a(_0x4e9cd9)||_0x4e9cd9);return _0x4e9cd9;},Et=(_0x3e2118,_0x14b7f2)=>(_0x1a9184,_0x359496)=>_0x14b7f2(_0x1a9184,_0x359496,_0x3e2118);const qn=[_0x23bef1(0x240),_0x23bef1(0x1af),_0x23bef1(0x239),_0x23bef1(0x390),_0x23bef1(0xaf)],zn=0x5*0x400*0x400,Xn=_0x23bef1(0x16e),Jn=_0x23bef1(0x7f);let Rt=class{constructor(_0x692f70,_0x1136b6,_0x30bbcb){var _0x28cb23=_0x23bef1;D(this,_0x28cb23(0x196),0x0),D(this,_0x28cb23(0x33f),new _0x4d51e0()),D(this,_0x28cb23(0x319),this[_0x28cb23(0x33f)]),D(this,_0x28cb23(0x88),new Map()),(this[_0x28cb23(0x1c3)]=_0x692f70,this['_configService']=_0x1136b6,this['_univerInstanceService']=_0x30bbcb);}[_0x23bef1(0x19c)](_0x4b48c8){var _0x1e6889=_0x23bef1;this[_0x1e6889(0x196)]=_0x4b48c8,this['_change$'][_0x1e6889(0xb8)](_0x4b48c8);}[_0x23bef1(0x100)](_0x265a0f,_0x3d4676){var _0x1d376c=_0x23bef1;if(_0x3d4676===_0x578b22[_0x1d376c(0x1c4)]){const _0x5e8390=new Image();return _0x5e8390['src']=_0x265a0f,_0x5e8390;}return this['_imageSourceCache'][_0x1d376c(0x90)](_0x265a0f);}[_0x23bef1(0x31d)](_0x5bac7,_0x2bb043,_0x5651ce){var _0x3af20b=_0x23bef1;_0x2bb043===_0x578b22[_0x3af20b(0x1c4)]||_0x5651ce==null||this[_0x3af20b(0x88)][_0x3af20b(0x2ab)](_0x5bac7,_0x5651ce);}async['getImage'](_0x16bd72){var _0x1dbe0f=_0x23bef1;try{const _0x9f44d0=this[_0x1dbe0f(0xd0)](this[_0x1dbe0f(0x1bc)](),''+_0x16bd72),_0x6a9a62=(await this[_0x1dbe0f(0x1c3)][_0x1dbe0f(0x90)](_0x9f44d0))[_0x1dbe0f(0x25f)];if(_0x6a9a62[_0x1dbe0f(0xc4)]&&_0x6a9a62[_0x1dbe0f(0xc4)][_0x1dbe0f(0x16b)]===vi['OK']){const _0x3b3a39=_0x58469a(_0x6a9a62[_0x1dbe0f(0x163)],this[_0x1dbe0f(0x1cb)]());return Promise[_0x1dbe0f(0x273)](_0x3b3a39);}return Promise[_0x1dbe0f(0xf0)](_0x6a9a62['error']);}catch(_0x52a736){return Promise[_0x1dbe0f(0xf0)](_0x52a736);}}async[_0x23bef1(0x198)](_0x11471a){var _0x1ed995=_0x23bef1;let _0x3c447a='';if(!qn[_0x1ed995(0x13e)](_0x11471a['type']))return this[_0x1ed995(0x366)](),Promise[_0x1ed995(0xf0)](new Error(_0x3b2bb9[_0x1ed995(0x341)]));if(_0x11471a[_0x1ed995(0x38b)]>zn)return this['_decreaseWaiting'](),Promise[_0x1ed995(0xf0)](new Error(_0x3b2bb9['ERROR_EXCEED_SIZE']));try{const _0x3c94c0=new FormData();_0x3c94c0[_0x1ed995(0x260)](_0x1ed995(0x230),_0x11471a);const _0x41746=this[_0x1ed995(0x9c)]['getFocusedUnit'](),_0x4d3e16=_0x41746==null?void 0x0:_0x41746['getUnitId']();if(!_0x4d3e16)throw new Error(_0x1ed995(0x1fb));const _0x18a7a7=this[_0x1ed995(0x136)]()+_0x1ed995(0x340)+_0x11471a[_0x1ed995(0x38b)]['toString']()+_0x1ed995(0x267)+Ei['UnitEmbedded']+'&assign='+encodeURIComponent(_0x4d3e16),_0x40af85={'body':_0x3c94c0},_0x9d3672=(await this[_0x1ed995(0x1c3)][_0x1ed995(0x2f6)](_0x18a7a7,_0x40af85))[_0x1ed995(0x25f)];if(typeof _0x9d3672[_0x1ed995(0x7d)]!='string')return this['_decreaseWaiting'](),Promise[_0x1ed995(0xf0)](new Error(_0x3b2bb9[_0x1ed995(0x33c)]));_0x3c447a=_0x9d3672[_0x1ed995(0x7d)];}catch{return this[_0x1ed995(0x366)](),Promise[_0x1ed995(0xf0)](new Error(_0x3b2bb9[_0x1ed995(0x33c)]));}return new Promise((_0x593aa4,_0x1ad407)=>{var _0x35e74c=_0x1ed995;const _0x490017=new FileReader();_0x490017[_0x35e74c(0x349)](_0x11471a),_0x490017['onload']=_0x113c6f=>{var _0x3af86e=_0x35e74c,_0x4ee494;const _0x487fdc=(_0x4ee494=_0x113c6f['target'])==null?void 0x0:_0x4ee494[_0x3af86e(0x242)];if(_0x487fdc==null){this[_0x3af86e(0x366)](),_0x1ad407(new Error(_0x3b2bb9[_0x3af86e(0x33c)]));return;}const _0x2e8170=_0x3ddce4(0x6);_0x593aa4({'imageId':_0x2e8170,'imageSourceType':_0x578b22[_0x3af86e(0xbe)],'source':_0x3c447a,'base64Cache':_0x487fdc,'status':_0x3b2bb9[_0x3af86e(0x1a5)]}),this[_0x3af86e(0x366)]();};});}[_0x23bef1(0x136)](){var _0x179da1=_0x23bef1,_0x239235;const _0x5bbf22=this[_0x179da1(0x32e)][_0x179da1(0x200)](K);return(_0x239235=_0x5bbf22==null?void 0x0:_0x5bbf22[_0x179da1(0x209)])!=null?_0x239235:Xn;}[_0x23bef1(0x1bc)](){var _0x18d209=_0x23bef1,_0x1f10d9;const _0x5adc33=this[_0x18d209(0x32e)][_0x18d209(0x200)](K);return(_0x1f10d9=_0x5adc33==null?void 0x0:_0x5adc33[_0x18d209(0x98)])!=null?_0x1f10d9:Jn;}[_0x23bef1(0x1cb)](){var _0x268012=_0x23bef1,_0x1080af;const _0x42f451=this[_0x268012(0x32e)][_0x268012(0x200)](K);return(_0x1080af=_0x42f451==null?void 0x0:_0x42f451[_0x268012(0x2f1)])!=null?_0x1080af:location['origin'];}['_replaceFileID'](_0x52150f,_0x11ab11){var _0xeef43f=_0x23bef1;return _0x52150f['replace'](_0xeef43f(0xd9),_0x11ab11);}[_0x23bef1(0x366)](){var _0x145941=_0x23bef1;this[_0x145941(0x196)]-=0x1,this['_change$'][_0x145941(0xb8)](this['_waitCount']);}};Rt=Kn([Et(0x0,_0x5a63ce(_0x2d4854)),Et(0x1,_0x33ef1e),Et(0x2,_0x5a63ce(_0x37df1d))],Rt);var Zn=Object[_0x23bef1(0x194)],Qn=(_0x5839a5,_0x177558,_0x3a267c,_0x2206f5)=>{for(var _0x1accaa=_0x2206f5>0x1?void 0x0:_0x2206f5?Zn(_0x177558,_0x3a267c):_0x177558,_0x5a646f=_0x5839a5['length']-0x1,_0x4c97cf;_0x5a646f>=0x0;_0x5a646f--)(_0x4c97cf=_0x5839a5[_0x5a646f])&&(_0x1accaa=_0x4c97cf(_0x1accaa)||_0x1accaa);return _0x1accaa;},ri=(_0x3f493f,_0x1632ad)=>(_0x2980fc,_0x1cb236)=>_0x1632ad(_0x2980fc,_0x1cb236,_0x3f493f);const er=_0x23bef1(0x368);let Nt=class{constructor(_0x3c69be,_0x533999){var _0x39dc77=_0x23bef1;this[_0x39dc77(0x32e)]=_0x3c69be,this[_0x39dc77(0x1ea)]=_0x533999;}['_getAPIPrefixPath'](){var _0x824ff3=_0x23bef1,_0x2edcaa;const _0x10f5aa=this[_0x824ff3(0x32e)][_0x824ff3(0x200)](K);return(_0x2edcaa=_0x10f5aa==null?void 0x0:_0x10f5aa['authzUrl'])!=null?_0x2edcaa:er;}async[_0x23bef1(0x208)](_0x5230b1){var _0x1dce1e=_0x23bef1;const _0x402b37=this['_getAPIPrefixPath']()+_0x1dce1e(0xe1);return{'list':[{'title':_0x1dce1e(0x1a9),'mentions':(await this['_HTTPService'][_0x1dce1e(0x90)](_0x402b37,{'params':{'objectID':_0x5230b1[_0x1dce1e(0x1ff)],'unitID':_0x5230b1[_0x1dce1e(0x1ff)]}}))[_0x1dce1e(0x25f)][_0x1dce1e(0x292)][_0x1dce1e(0x257)](_0x499aec=>({'objectId':_0x499aec['id'],'name':_0x499aec[_0x1dce1e(0xcd)]['name'],'metadata':{'icon':_0x499aec['subject'][_0x1dce1e(0x2cc)]},'label':_0x499aec[_0x1dce1e(0xcd)][_0x1dce1e(0x27c)],'objectType':_0x41d90e[_0x1dce1e(0x172)]})),'metadata':{},'type':_0x41d90e['PERSON']}]};}};Nt=Qn([ri(0x0,_0x5a63ce(_0x33ef1e)),ri(0x1,_0x5a63ce(_0x2d4854))],Nt);var tr=Object['getOwnPropertyDescriptor'],ir=(_0x45dd15,_0x7c62cf,_0x4e1fe0,_0x36bb69)=>{for(var _0x3b4c52=_0x36bb69>0x1?void 0x0:_0x36bb69?tr(_0x7c62cf,_0x4e1fe0):_0x7c62cf,_0x4936e0=_0x45dd15['length']-0x1,_0x410d34;_0x4936e0>=0x0;_0x4936e0--)(_0x410d34=_0x45dd15[_0x4936e0])&&(_0x3b4c52=_0x410d34(_0x3b4c52)||_0x3b4c52);return _0x3b4c52;},Ue=(_0x2108d5,_0x33c147)=>(_0x4583cb,_0x168626)=>_0x33c147(_0x4583cb,_0x168626,_0x2108d5);let ot=class extends _0x9a530{constructor(_0x2c7075,_0x339861,_0x4071fa,_0x3c66d3,_0x3270ea){var _0x59ffd2=_0x23bef1;super(),this[_0x59ffd2(0x2ca)]=_0x2c7075,this[_0x59ffd2(0x9c)]=_0x339861,this[_0x59ffd2(0x14c)]=_0x4071fa,this[_0x59ffd2(0x272)]=_0x3c66d3,this[_0x59ffd2(0x1a6)]=_0x3270ea,this[_0x59ffd2(0x342)](),this[_0x59ffd2(0x277)]();}[_0x23bef1(0x277)](){var _0xb64430=_0x23bef1;const _0x11d622=async _0x59eb61=>{var _0x5689da=_0x161f;(await this[_0x5689da(0x272)][_0x5689da(0xd7)](_0x59eb61))[_0x5689da(0x19e)][_0x5689da(0x233)](_0x26e4d6(_0xb589c9=>_0xb589c9[_0x5689da(0x141)]===_0x380110[_0x5689da(0x7c)]),_0x5c3092(this[_0x5689da(0x10e)]))[_0x5689da(0x300)](_0x1d7b85=>{var _0x367c51=_0x5689da;const _0x1ca442=_0x1d7b85,{reason:_0x3fb47c}=_0x1ca442['data'];this[_0x367c51(0x1a6)][_0x367c51(0x7e)]({'id':re[_0x367c51(0x149)],'data':_0x3fb47c}),this[_0x367c51(0x14c)][_0x367c51(0x131)](new _0x4ea1ba(_0x59eb61)['id'],!0x1),this['_collaborationSessionService'][_0x367c51(0x31b)](_0x59eb61);});};_0x365f75(this[_0xb64430(0x9c)][_0xb64430(0xc2)](_0x22b18a[_0xb64430(0xde)]),this[_0xb64430(0x9c)][_0xb64430(0xc2)](_0x22b18a[_0xb64430(0x128)]))[_0xb64430(0x233)](_0x12c64a(_0xc535b2=>_0xc535b2[_0xb64430(0xa0)]()),_0x26e4d6(_0xf00c8f=>!_0x358d70(_0xf00c8f)),_0x5c3092(this[_0xb64430(0x10e)]))[_0xb64430(0x300)](_0xbf396=>{_0x11d622(_0xbf396);});}[_0x23bef1(0x342)](){var _0xcd5329=_0x23bef1;const _0x7a2624=async _0x451329=>{var _0x400194=_0x161f;const _0x4e0996=await this['_collaborationSessionService'][_0x400194(0xd7)](_0x451329),_0xe2f68a=this[_0x400194(0x2ca)][_0x400194(0x90)](_0x499b4b);_0x4e0996[_0x400194(0x19e)][_0x400194(0x233)](_0x26e4d6(_0x48d5e3=>_0x48d5e3[_0x400194(0x141)]===_0x380110[_0x400194(0x293)]),_0x5c3092(this[_0x400194(0x10e)]))[_0x400194(0x300)](_0x3681e2=>{var _0x463746=_0x400194;const _0x441236=_0x3681e2,{objectId:_0x5f621a}=_0x441236[_0x463746(0x369)];_0x5f621a===_0x451329?_0xe2f68a['initWorkbookPermissionChange'](_0x451329):_0xe2f68a[_0x463746(0x117)](_0x451329,_0x5f621a);});};_0x365f75(this['_univerInstanceService'][_0xcd5329(0xc2)](_0x22b18a[_0xcd5329(0xde)]))[_0xcd5329(0x233)](_0x12c64a(_0x249c8d=>_0x249c8d[_0xcd5329(0xa0)]()),_0x26e4d6(_0x12153c=>!_0x358d70(_0x12153c)),_0x5c3092(this['dispose$']))[_0xcd5329(0x300)](_0x3277f0=>{_0x7a2624(_0x3277f0);});}};ot=ir([Ue(0x0,_0x5a63ce(_0x34bd61)),Ue(0x1,_0x37df1d),Ue(0x2,_0x1c07b9),Ue(0x3,_0x5a63ce(we)),Ue(0x4,_0x5a63ce(ve))],ot);var sr=Object['getOwnPropertyDescriptor'],nr=(_0x2f0595,_0x46c0f4,_0x2fce17,_0x1fd05d)=>{var _0x5eeeb5=_0x23bef1;for(var _0x1abdf2=_0x1fd05d>0x1?void 0x0:_0x1fd05d?sr(_0x46c0f4,_0x2fce17):_0x46c0f4,_0x1859d6=_0x2f0595[_0x5eeeb5(0x17e)]-0x1,_0x33262c;_0x1859d6>=0x0;_0x1859d6--)(_0x33262c=_0x2f0595[_0x1859d6])&&(_0x1abdf2=_0x33262c(_0x1abdf2)||_0x1abdf2);return _0x1abdf2;},ai=(_0x13f141,_0x605c40)=>(_0x296446,_0x101518)=>_0x605c40(_0x296446,_0x101518,_0x13f141);let Ct=class{constructor(_0xa1370,_0x515425){var _0xc5ba1b=_0x23bef1;this[_0xc5ba1b(0x32e)]=_0xa1370,this[_0xc5ba1b(0x1c3)]=_0x515425;}async[_0x23bef1(0x37b)](_0x295153,_0x2bec68){var _0x3cf65d=_0x23bef1,_0x3ddb24;const {unitID:_0x90ac14,type:_0x24db4a,revision:_0x229a69=0x0}=_0x2bec68,_0x249da8=this[_0x3cf65d(0xbb)]()+'/'+_0x24db4a+_0x3cf65d(0x236)+_0x90ac14+_0x3cf65d(0x1a2)+_0x229a69,_0x333f03=(await this['_httpService'][_0x3cf65d(0x90)](_0x249da8))[_0x3cf65d(0x25f)],_0x30632a=(_0x3ddb24=_0x333f03[_0x3cf65d(0x91)])==null?void 0x0:_0x3ddb24['workbook'];if(_0x30632a){const _0x137e5e=_0x30632a==null?void 0x0:_0x30632a[_0x3cf65d(0x2d4)],_0x547279=_0x52b43f['encode'](_0x27c969(_0x137e5e));_0x30632a[_0x3cf65d(0x2d4)]=_0x547279,Object['entries'](_0x30632a[_0x3cf65d(0x11d)])[_0x3cf65d(0x192)](([,_0x2abf1a])=>{var _0x164cab=_0x3cf65d;const _0x2cadbb=_0x2abf1a[_0x164cab(0x2d4)],_0x28d3c4=_0x52b43f[_0x164cab(0x142)](_0x27c969(_0x2cadbb));_0x2abf1a['originalMeta']=_0x28d3c4;});}return _0x333f03;}async[_0x23bef1(0x385)](_0x514387,_0x348bd5){var _0x1e3fc8=_0x23bef1;const {unitID:_0x2ad377,type:_0x4b9bec,blockID:_0x124018}=_0x348bd5,_0x359ce5=this['_getAPIPrefix']()+'/'+_0x4b9bec+_0x1e3fc8(0x236)+_0x2ad377+_0x1e3fc8(0x361)+_0x124018;return(await this[_0x1e3fc8(0x1c3)][_0x1e3fc8(0x90)](_0x359ce5))[_0x1e3fc8(0x25f)];}async[_0x23bef1(0x175)](_0x3e2bdb,_0x374778){var _0x3a59e1=_0x23bef1;const {unitID:_0x31074b,type:_0x1a51e5,blockID:_0x404f2d}=_0x374778,_0x558647=this[_0x3a59e1(0x171)]()+_0x3a59e1(0x361)+_0x1a51e5+_0x3a59e1(0x236)+_0x31074b+_0x3a59e1(0x361)+_0x404f2d;return(await this[_0x3a59e1(0x1c3)][_0x3a59e1(0x90)](_0x558647))['body'];}async['fetchMissingChangesets'](_0x5447d3,_0x5c2c35){var _0x258778=_0x23bef1;const {unitID:_0x300aec,type:_0x4eb343,from:_0xeb840d,to:_0x298e77}=_0x5c2c35,_0x3e4897=this[_0x258778(0x171)]()+'/'+_0x4eb343+_0x258778(0x236)+_0x300aec+_0x258778(0x328)+_0xeb840d+'&to='+_0x298e77;return(await this['_httpService'][_0x258778(0x90)](_0x3e4897))[_0x258778(0x25f)];}[_0x23bef1(0xbb)](){var _0x596091=_0x23bef1,_0x3d8b3e;return(_0x3d8b3e=this[_0x596091(0x32e)]['getConfig'](ms))!=null?_0x3d8b3e:this[_0x596091(0x171)]();}[_0x23bef1(0x171)](){var _0x2797bc=_0x23bef1,_0xf11a53;const _0x48a1af=this['_configService'][_0x2797bc(0x200)](K);return(_0xf11a53=_0x48a1af==null?void 0x0:_0x48a1af['snapshotServerUrl'])!=null?_0xf11a53:ps;}async[_0x23bef1(0xe9)](_0x4c060d,_0x19b79d){var _0xc8ae99=_0x23bef1;const _0x1e23ec='/universer-api/snapshot/'+_0x19b79d[_0xc8ae99(0x162)]+_0xc8ae99(0x236)+_0x19b79d[_0xc8ae99(0x299)]+_0xc8ae99(0x2b3);return(await this['_httpService']['get'](_0x1e23ec,{'params':{'resourceId':JSON[_0xc8ae99(0x10a)](_0x19b79d['resourceIDs'])}}))[_0xc8ae99(0x25f)];}[_0x23bef1(0x337)](){var _0x11fce8=_0x23bef1;throw new Error(_0x11fce8(0x93));}[_0x23bef1(0x86)](){var _0x3ca44d=_0x23bef1;throw new Error(_0x3ca44d(0x93));}[_0x23bef1(0x35e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x23bef1(0x2e9)](){var _0x2c3796=_0x23bef1;throw new Error(_0x2c3796(0x93));}[_0x23bef1(0x348)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x23bef1(0x13f)](){var _0xcee9e6=_0x23bef1;throw new Error(_0xcee9e6(0x93));}};Ct=nr([ai(0x0,_0x33ef1e),ai(0x1,_0x5a63ce(_0x2d4854))],Ct);var rr=Object[_0x23bef1(0x194)],ar=(_0xf032aa,_0x541729,_0x114f3a,_0x415c46)=>{var _0x2e8384=_0x23bef1;for(var _0x5c93bd=_0x415c46>0x1?void 0x0:_0x415c46?rr(_0x541729,_0x114f3a):_0x541729,_0x1dd02e=_0xf032aa[_0x2e8384(0x17e)]-0x1,_0xbc2f77;_0x1dd02e>=0x0;_0x1dd02e--)(_0xbc2f77=_0xf032aa[_0x1dd02e])&&(_0x5c93bd=_0xbc2f77(_0x5c93bd)||_0x5c93bd);return _0x5c93bd;},Ae=(_0x31d689,_0x5de75d)=>(_0x2f5624,_0x22f63b)=>_0x5de75d(_0x2f5624,_0x22f63b,_0x31d689);let bt=class extends _0x222607{constructor(_0x10be35,_0x7cf07a,_0x252c4d,_0x38f7f5,_0x37ef4f){var _0x2502c8=_0x23bef1;super(_0x10be35,_0x7cf07a,_0x252c4d),this[_0x2502c8(0x190)]=_0x38f7f5,this[_0x2502c8(0x170)]=_0x37ef4f;}[_0x23bef1(0x228)](_0x485ec6,_0xf05c60){var _0x29398e=_0x23bef1;const _0x4db733=this[_0x29398e(0x197)](_0x485ec6);if(_0x4db733)try{const _0x55f8a0=this[_0x29398e(0x34c)](_0x4db733,_0xf05c60);this[_0x29398e(0x28d)](_0x485ec6,_0x55f8a0);}catch(_0x276ae3){this[_0x29398e(0x170)]['error'](_0x29398e(0x1f7),_0x276ae3),this['_clearUndo'](_0x485ec6);}const _0x5f11b8=this[_0x29398e(0x26b)](_0x485ec6);if(_0x5f11b8)try{const _0x171ed1=this[_0x29398e(0x34c)](_0x5f11b8,_0xf05c60);this[_0x29398e(0x158)](_0x485ec6,_0x171ed1);}catch(_0x2e2880){this[_0x29398e(0x170)][_0x29398e(0xc4)](_0x2e2880),this['_clearRedo'](_0x485ec6);}}[_0x23bef1(0x303)](_0x248ba1){var _0x45fe0b=_0x23bef1;const _0x434c6e=this[_0x45fe0b(0x197)](_0x248ba1);_0x434c6e&&(_0x434c6e['length']=0x0,this[_0x45fe0b(0x1ae)]());}[_0x23bef1(0x189)](_0x557087){var _0xffb91c=_0x23bef1;const _0x2597cb=this[_0xffb91c(0x26b)](_0x557087);_0x2597cb&&(_0x2597cb['length']=0x0,this[_0xffb91c(0x1ae)]());}['_substituteUndoStack'](_0x601e94,_0x460f23){var _0x5a5d5d=_0x23bef1;this[_0x5a5d5d(0x253)][_0x5a5d5d(0x2ab)](_0x601e94,_0x460f23),this[_0x5a5d5d(0x1ae)]();}[_0x23bef1(0x158)](_0x20abea,_0x4e1d4f){var _0x435d71=_0x23bef1;this['_redoStacks'][_0x435d71(0x2ab)](_0x20abea,_0x4e1d4f),this[_0x435d71(0x1ae)]();}[_0x23bef1(0x34c)](_0x52fb48,_0x137c0e){var _0x3dba27=_0x23bef1;const _0x2bb608=[];let _0x10bcfa=_0x137c0e,_0x37b4a4=_0x137c0e;for(let _0x1a08b4=_0x52fb48[_0x3dba27(0x17e)]-0x1;_0x1a08b4>=0x0;_0x1a08b4--){const {unitID:_0x5605d4,undoMutations:_0x286500,redoMutations:_0x550155}=_0x52fb48[_0x1a08b4],_0x2c3cdf=this['_transformService'][_0x3dba27(0x26a)](_0x10bcfa,_0x286500),_0x3bbb4d=this[_0x3dba27(0x190)][_0x3dba27(0x26a)](_0x37b4a4,_0x550155);if(_0x229f85(_0x2c3cdf)||_0x229f85(_0x3bbb4d)){this[_0x3dba27(0x170)][_0x3dba27(0xc4)]('[CollaborationUndoRedoService]',_0x3dba27(0xfa),_0x2c3cdf,_0x3bbb4d);break;}_0x10bcfa=_0x2c3cdf[_0x3dba27(0x220)],_0x37b4a4=_0x3bbb4d['c1Prime'],_0x2bb608[_0x3dba27(0x14a)]({'unitID':_0x5605d4,'undoMutations':_0x2c3cdf[_0x3dba27(0xb6)],'redoMutations':_0x3bbb4d[_0x3dba27(0xb6)]});}return _0x2bb608[_0x3dba27(0xe7)]();}};bt=ar([Ae(0x0,_0x37df1d),Ae(0x1,_0x2e56fb),Ae(0x2,_0x394e01),Ae(0x3,_0x246601),Ae(0x4,_0x61abde)],bt);var or=Object[_0x23bef1(0x37d)],cr=Object[_0x23bef1(0x194)],_r=(_0x5ebb94,_0x17cbcf,_0x28c5b8)=>_0x17cbcf in _0x5ebb94?or(_0x5ebb94,_0x17cbcf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28c5b8}):_0x5ebb94[_0x17cbcf]=_0x28c5b8,hr=(_0x182253,_0x3de613,_0x1ba24d,_0x44ccde)=>{for(var _0x5bbd0d=_0x44ccde>0x1?void 0x0:_0x44ccde?cr(_0x3de613,_0x1ba24d):_0x3de613,_0x12f969=_0x182253['length']-0x1,_0x13c8f6;_0x12f969>=0x0;_0x12f969--)(_0x13c8f6=_0x182253[_0x12f969])&&(_0x5bbd0d=_0x13c8f6(_0x5bbd0d)||_0x5bbd0d);return _0x5bbd0d;},pt=(_0x2c92e9,_0x9082b9)=>(_0x1032c5,_0xb14c3f)=>_0x9082b9(_0x1032c5,_0xb14c3f,_0x2c92e9),lr=(_0x355725,_0x4277ad,_0x3e9a7c)=>_r(_0x355725,_0x4277ad+'',_0x3e9a7c);const ur='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Dt=class extends _0x475fde{constructor(_0x2160a8,_0x410210,_0x1ce932,_0xf5c728){var _0x177d97=_0x23bef1;super(),D(this,'_config'),(this[_0x177d97(0x170)]=_0x410210,this[_0x177d97(0x2ca)]=_0x1ce932,this[_0x177d97(0x32e)]=_0xf5c728);const {..._0x2f20cf}=_0x548d83({},$s,_0x2160a8);if(!_0x2f20cf[_0x177d97(0x20f)])throw new Error(_0x177d97(0x2b7));this[_0x177d97(0x18a)]=_0x2f20cf,this[_0x177d97(0x32e)]['setConfig'](K,_0x2f20cf);}[_0x23bef1(0x2af)](){var _0x4c62b9=_0x23bef1;this['_registerDependencies'](),this[_0x4c62b9(0x151)]();}['_registerDependencies'](){var _0x2eeefb=_0x23bef1,_0x5f30d0,_0x2e4e36;this[_0x2eeefb(0x2ca)]['has'](_0x3a7a36)&&this['_logService'][_0x2eeefb(0xc4)]('[UniverCollaborationClientPlugin]',_0x2eeefb(0x216));const _0x2119b6=_0x12d433([[_0x3a7a36,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this[_0x2eeefb(0x18a)][_0x2eeefb(0x20f)]}],[_0x188002,{'useClass':Ct}],[_0x54fa0d,{'useClass':Tt}],[_0x4db160,{'useClass':Rt}],[_0x4667a6,{'useClass':Nt}],[nt],[gt]],(_0x5f30d0=this[_0x2eeefb(0x18a)])==null?void 0x0:_0x5f30d0['override']);if(!((_0x2e4e36=this['_config'])!=null&&_0x2e4e36[_0x2eeefb(0x34b)])){const _0x18bef2=_0x2119b6[_0x2eeefb(0xfc)](([_0x4c0564])=>_0x4c0564===_t);_0x18bef2!==-0x1&&_0x2119b6[_0x2eeefb(0x375)](_0x18bef2,0x1);}_0x3d6ee4(this[_0x2eeefb(0x2ca)],_0x2119b6);}[_0x23bef1(0x151)](){var _0x21536f=_0x23bef1,_0x320ffe,_0xa8d965,_0xd29471;this[_0x21536f(0x2ca)][_0x21536f(0x90)](_0x2d4854)[_0x21536f(0x335)]({'priority':0x14,'interceptor':_0x468b1f({'maxParallel':0x6})}),(_0x320ffe=this['_config'])!=null&&_0x320ffe[_0x21536f(0x212)]||(_0xa8d965=this[_0x21536f(0x2ca)][_0x21536f(0x90)](X,_0x55435b[_0x21536f(0x1eb)]))==null||_0xa8d965[_0x21536f(0x84)](),(_0xd29471=this[_0x21536f(0x18a)])!=null&&_0xd29471[_0x21536f(0x140)]&&_0x1d9225(this[_0x21536f(0x2ca)],[[rt]]),_0x1d9225(this[_0x21536f(0x2ca)],[[at],[nt],[ot]]);}};lr(Dt,'pluginName',ur),Dt=hr([_0x5595a6(_0x5c41ba,_0x2091d5,_0x18a53c),pt(0x1,_0x61abde),pt(0x2,_0x5a63ce(_0x34bd61)),pt(0x3,_0x33ef1e)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,pi as CommentService,ue as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,Dr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Rr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Gs as INetworkConditionService,_t as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Nr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,br as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Rs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ct as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Ws as deserializeToCombResponse,yr as getLocalCacheKey,Ys as serializeCombRequest};
1
+ var _0x10928f=_0x5764;(function(_0x5e97c3,_0x37d0da){var _0x49846a=_0x5764,_0x12af6c=_0x5e97c3();while(!![]){try{var _0x596315=parseInt(_0x49846a(0x3e5))/0x1*(-parseInt(_0x49846a(0x2a9))/0x2)+-parseInt(_0x49846a(0x387))/0x3*(-parseInt(_0x49846a(0x4d9))/0x4)+-parseInt(_0x49846a(0x2cf))/0x5+-parseInt(_0x49846a(0x406))/0x6*(-parseInt(_0x49846a(0x261))/0x7)+parseInt(_0x49846a(0x2af))/0x8+-parseInt(_0x49846a(0x3a4))/0x9+parseInt(_0x49846a(0x472))/0xa;if(_0x596315===_0x37d0da)break;else _0x12af6c['push'](_0x12af6c['shift']());}catch(_0x5248f0){_0x12af6c['push'](_0x12af6c['shift']());}}}(_0x2f17,0xa641d));var Di=Object[_0x10928f(0x3be)],yi=(_0x2ca442,_0x52c105,_0x1c57e6)=>_0x52c105 in _0x2ca442?Di(_0x2ca442,_0x52c105,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c57e6}):_0x2ca442[_0x52c105]=_0x1c57e6,D=(_0x7aa6a5,_0x4a8f30,_0x1e425a)=>yi(_0x7aa6a5,typeof _0x4a8f30!=_0x10928f(0x369)?_0x4a8f30+'':_0x4a8f30,_0x1e425a);import{CollaborationEvent as _0x1f3ef0,isTransformMutationsWithChangesetSuccess as _0x5214af,ITransformService as _0x2c7d08,mapDocumentTypeToUniverType as _0x6d42e1,RevisionService as _0x5e0e93,isTransformChangesetsSuccess as _0xed144,EmptyMutationInfo as _0xc9ab7d,CompressMutationService as _0x1e899c,parseProtocolChangeset as _0x902fd2,uuidv4 as _0x3573f7,parseChangesetToProtocol as _0x36413c,ISnapshotServerService as _0x1ce4a1,SnapshotService as _0x386f85,textEncoder as _0x17dee2,b64DecodeUnicode as _0xa782b8,isTransformMutationsWithChangesetFailure as _0x34d9e2,UniverCollaborationPlugin as _0x4512a7}from'@univerjs-pro/collaboration';import{Inject as _0x20ebd0,UserManagerService as _0x5594c3,Disposable as _0x57261c,UniverInstanceType as _0x5417eb,IUniverInstanceService as _0x13ba10,Optional as _0xd62013,RxDisposable as _0x4154f8,ILogService as _0x5c483f,IConfigService as _0x1ed468,createIdentifier as _0x2351ee,Injector as _0x419a48,Tools as _0x203b3f,Rectangle as _0x16cc9b,ICommandService as _0x5583af,JSONX as _0x4ed291,IPermissionService as _0x58f210,LocaleService as _0x58e80c,sequenceExecute as _0x1e883d,IUndoRedoService as _0x15daea,toDisposable as _0x464744,CommandType as _0x47c0d8,DisposableCollection as _0x32c4e1,Workbook as _0x34b94a,resolveWithBasePath as _0x6a758,generateRandomId as _0x56967d,MentionType as _0x4294c0,isInternalEditorID as _0x357c9a,LocalUndoRedoService as _0x31455c,IContextService as _0x4a60fc,DependentOn as _0x1fec70,Plugin as _0x9a275b,merge as _0x26d278,mergeOverrideWithDependencies as _0x1de676,IAuthzIoService as _0x36c981,IMentionIOService as _0x50e0e5,registerDependencies as _0x1e3b24,Quantity as _0x409aee,touchDependencies as _0x1aabc6}from'@univerjs/core';import{RichTextEditingMutation as _0x3c2719}from'@univerjs/docs';import{SheetsSelectionsService as _0x11204a,SetSelectionsOperation as _0x62777e,InsertSheetMutation as _0x569b4e,WorkbookEditablePermission as _0x558844,SheetPermissionInitController as _0x18ef1a}from'@univerjs/sheets';import{Subject as _0x58c94b,merge as _0x5f3238,of as _0x2663ed,BehaviorSubject as _0x15a038,takeUntil as _0x1f822e,ReplaySubject as _0x744ea0,take as _0x31f42d,map as _0x5d95f9,shareReplay as _0x3d6a96,firstValueFrom as _0x1ecfb3,concatMap as _0x153ea2}from'rxjs';import{ITelemetryService as _0x2b4658}from'@univerjs/telemetry';import{map as _0x4b7ed6,take as _0xe45a10,filter as _0x3dc6e0,delay as _0x38a686,takeUntil as _0x3b4193}from'rxjs/operators';import{HTTPService as _0xce4c2c,ISocketService as _0x43ea27,MergeInterceptorFactory as _0x1fefe1,HTTPRequest as _0x18e0c6,UniverNetworkPlugin as _0xadc3e4,ThresholdInterceptorFactory as _0x3a2b80}from'@univerjs/network';import{getGlobalObject as _0x1603e0,UniverLicensePlugin as _0x354dcc}from'@univerjs-pro/license';import{ImageSourceType as _0x59a6ad,ImageUploadStatusType as _0x1d6325,IImageIoService as _0x1615ea}from'@univerjs/drawing';const ps=_0x10928f(0x260),ms=_0x10928f(0x2b8),Is=0x7d0,Ss=_0x10928f(0x3df),Rr=_0x10928f(0x4e2),gs=_0x10928f(0x1f0),Ts=0x7530,di=_0x10928f(0x20a),fi=0x4e20,Os=0x4e20,Rs='RETRY_CONNECTING_MAX_COUNT',Ns=0x3,Nr='LOCAL_CACHE_INTERVAL',Cr=0x3e8,Cs='/universer-api/comb',bs=_0x10928f(0x4e3),br='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Dr=_0x10928f(0x1ff);var vi=(_0x59b8c0=>(_0x59b8c0[_0x59b8c0['UNDEFINED']=0x0]=_0x10928f(0x1db),_0x59b8c0[_0x59b8c0['OK']=0x1]='OK',_0x59b8c0[_0x59b8c0['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x59b8c0[_0x59b8c0[_0x10928f(0x466)]=0x3]=_0x10928f(0x466),_0x59b8c0[_0x59b8c0[_0x10928f(0x21c)]=0x4]='NOT_FOUND',_0x59b8c0[_0x59b8c0[_0x10928f(0x2ac)]=0x5]='UNAUTHENTICATED',_0x59b8c0[_0x59b8c0[_0x10928f(0x3ed)]=0x6]=_0x10928f(0x3ed),_0x59b8c0[_0x59b8c0[_0x10928f(0x2de)]=0x7]=_0x10928f(0x2de),_0x59b8c0[_0x59b8c0[_0x10928f(0x3d2)]=0x8]=_0x10928f(0x3d2),_0x59b8c0[_0x59b8c0[_0x10928f(0x347)]=0x9]=_0x10928f(0x347),_0x59b8c0[_0x59b8c0[_0x10928f(0x27a)]=0xa]=_0x10928f(0x27a),_0x59b8c0[_0x59b8c0[_0x10928f(0x24e)]=0xb]=_0x10928f(0x24e),_0x59b8c0[_0x59b8c0[_0x10928f(0x2e8)]=0xc]=_0x10928f(0x2e8),_0x59b8c0[_0x59b8c0[_0x10928f(0x43f)]=0xd]=_0x10928f(0x43f),_0x59b8c0[_0x59b8c0[_0x10928f(0x428)]=0xe]=_0x10928f(0x428),_0x59b8c0[_0x59b8c0['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x10928f(0x35f),_0x59b8c0[_0x59b8c0[_0x10928f(0x368)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x59b8c0[_0x59b8c0[_0x10928f(0x31e)]=0x64]=_0x10928f(0x31e),_0x59b8c0[_0x59b8c0[_0x10928f(0x467)]=0x65]=_0x10928f(0x467),_0x59b8c0[_0x59b8c0[_0x10928f(0x3da)]=0xc9]='USER_NOT_FOUND',_0x59b8c0[_0x59b8c0[_0x10928f(0x2e4)]=0xca]='USER_IS_ANONYMOUS',_0x59b8c0[_0x59b8c0[_0x10928f(0x3c0)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x59b8c0[_0x59b8c0[_0x10928f(0x21f)]=0x1771]=_0x10928f(0x21f),_0x59b8c0[_0x59b8c0[_0x10928f(0x302)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x59b8c0[_0x59b8c0[_0x10928f(0x294)]=0x1773]=_0x10928f(0x294),_0x59b8c0[_0x59b8c0['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x59b8c0[_0x59b8c0[_0x10928f(0x1cd)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x59b8c0[_0x59b8c0[_0x10928f(0x2fb)]=0x1b5b]=_0x10928f(0x2fb),_0x59b8c0[_0x59b8c0[_0x10928f(0x28a)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x59b8c0[_0x59b8c0[_0x10928f(0x398)]=0x1b5d]=_0x10928f(0x398),_0x59b8c0[_0x59b8c0[_0x10928f(0x309)]=0x1f41]=_0x10928f(0x309),_0x59b8c0[_0x59b8c0[_0x10928f(0x41a)]=0x2329]=_0x10928f(0x41a),_0x59b8c0[_0x59b8c0[_0x10928f(0x342)]=0x232a]=_0x10928f(0x342),_0x59b8c0[_0x59b8c0[_0x10928f(0x3d8)]=0x232b]=_0x10928f(0x3d8),_0x59b8c0[_0x59b8c0[_0x10928f(0x49d)]=0x232c]=_0x10928f(0x49d),_0x59b8c0[_0x59b8c0[_0x10928f(0x239)]=0x232d]=_0x10928f(0x239),_0x59b8c0[_0x59b8c0['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x59b8c0[_0x59b8c0[_0x10928f(0x249)]=0x2712]=_0x10928f(0x249),_0x59b8c0[_0x59b8c0[_0x10928f(0x1d2)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x59b8c0[_0x59b8c0[_0x10928f(0x485)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x59b8c0[_0x59b8c0[_0x10928f(0x325)]=0x271a]=_0x10928f(0x325),_0x59b8c0[_0x59b8c0[_0x10928f(0x2ca)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x59b8c0[_0x59b8c0[_0x10928f(0x494)]=0x271c]=_0x10928f(0x494),_0x59b8c0[_0x59b8c0[_0x10928f(0x442)]=0x271d]=_0x10928f(0x442),_0x59b8c0[_0x59b8c0[_0x10928f(0x3c2)]=0x271e]=_0x10928f(0x3c2),_0x59b8c0[_0x59b8c0[_0x10928f(0x447)]=0x271f]=_0x10928f(0x447),_0x59b8c0[_0x59b8c0[_0x10928f(0x4cc)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x59b8c0[_0x59b8c0[_0x10928f(0x353)]=0x2af9]=_0x10928f(0x353),_0x59b8c0[_0x59b8c0[_0x10928f(0x446)]=0x2ee1]=_0x10928f(0x446),_0x59b8c0[_0x59b8c0[_0x10928f(0x471)]=0x2ee2]=_0x10928f(0x471),_0x59b8c0[_0x59b8c0[_0x10928f(0x3a5)]=0x2ee3]=_0x10928f(0x3a5),_0x59b8c0[_0x59b8c0['USER_NOT_INVITED_CODE']=0x2ee4]=_0x10928f(0x40e),_0x59b8c0[_0x59b8c0[_0x10928f(0x320)]=0x2ee5]=_0x10928f(0x320),_0x59b8c0[_0x59b8c0[_0x10928f(0x4da)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x59b8c0[_0x59b8c0[_0x10928f(0x2c2)]=0x32ca]=_0x10928f(0x2c2),_0x59b8c0[_0x59b8c0[_0x10928f(0x324)]=0x32cb]=_0x10928f(0x324),_0x59b8c0[_0x59b8c0[_0x10928f(0x25c)]=0x36b1]=_0x10928f(0x25c),_0x59b8c0[_0x59b8c0[_0x10928f(0x1d6)]=0x36b2]=_0x10928f(0x1d6),_0x59b8c0[_0x59b8c0[_0x10928f(0x3cc)]=0x36b3]=_0x10928f(0x3cc),_0x59b8c0[_0x59b8c0[_0x10928f(0x2f5)]=0x36b4]=_0x10928f(0x2f5),_0x59b8c0[_0x59b8c0[_0x10928f(0x1ed)]=0x36b5]=_0x10928f(0x1ed),_0x59b8c0[_0x59b8c0[_0x10928f(0x484)]=0x36b6]=_0x10928f(0x484),_0x59b8c0[_0x59b8c0[_0x10928f(0x288)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x59b8c0[_0x59b8c0[_0x10928f(0x4a1)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x59b8c0[_0x59b8c0['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x10928f(0x39b),_0x59b8c0[_0x59b8c0[_0x10928f(0x334)]=0x3716]=_0x10928f(0x334),_0x59b8c0[_0x59b8c0[_0x10928f(0x1fc)]=0x3717]=_0x10928f(0x1fc),_0x59b8c0[_0x59b8c0['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x10928f(0x41d),_0x59b8c0[_0x59b8c0[_0x10928f(0x423)]=0x3a99]=_0x10928f(0x423),_0x59b8c0[_0x59b8c0[_0x10928f(0x468)]=0x3a9a]=_0x10928f(0x468),_0x59b8c0[_0x59b8c0[_0x10928f(0x316)]=0x3a9b]=_0x10928f(0x316),_0x59b8c0[_0x59b8c0['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x10928f(0x1c4),_0x59b8c0[_0x59b8c0['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x10928f(0x3d6),_0x59b8c0[_0x59b8c0['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x10928f(0x373),_0x59b8c0[_0x59b8c0['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x10928f(0x411),_0x59b8c0[_0x59b8c0[_0x10928f(0x463)]=0x3e81]=_0x10928f(0x463),_0x59b8c0[_0x59b8c0[_0x10928f(0x4c2)]=-0x1]='UNRECOGNIZED',_0x59b8c0))(vi||{}),Q=(_0x45bdff=>(_0x45bdff[_0x45bdff['UNIVER_UNKNOWN']=0x0]=_0x10928f(0x3b1),_0x45bdff[_0x45bdff[_0x10928f(0x3a0)]=0x1]=_0x10928f(0x3a0),_0x45bdff[_0x45bdff[_0x10928f(0x465)]=0x2]=_0x10928f(0x465),_0x45bdff[_0x45bdff['UNIVER_SLIDE']=0x3]=_0x10928f(0x354),_0x45bdff[_0x45bdff[_0x10928f(0x42f)]=0x4]='UNIVER_PROJECT',_0x45bdff[_0x45bdff[_0x10928f(0x4c2)]=-0x1]=_0x10928f(0x4c2),_0x45bdff))(Q||{}),j=(_0x27ab21=>(_0x27ab21[_0x27ab21[_0x10928f(0x304)]=0x0]=_0x10928f(0x304),_0x27ab21[_0x27ab21[_0x10928f(0x3b9)]=0x1]=_0x10928f(0x3b9),_0x27ab21[_0x27ab21[_0x10928f(0x1e1)]=0x2]=_0x10928f(0x1e1),_0x27ab21[_0x27ab21['LEAVE']=0x3]='LEAVE',_0x27ab21[_0x27ab21[_0x10928f(0x4c7)]=0x4]=_0x10928f(0x4c7),_0x27ab21[_0x27ab21[_0x10928f(0x301)]=0x5]=_0x10928f(0x301),_0x27ab21[_0x27ab21[_0x10928f(0x310)]=0x6]=_0x10928f(0x310),_0x27ab21[_0x27ab21['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x27ab21))(j||{}),Ee=(_0x327c49=>(_0x327c49[_0x327c49[_0x10928f(0x23b)]=0x0]='UNKNOWN_CODE',_0x327c49[_0x327c49['OK']=0x1]='OK',_0x327c49[_0x327c49[_0x10928f(0x1de)]=0x2]=_0x10928f(0x1de),_0x327c49[_0x327c49[_0x10928f(0x481)]=0x3e9]=_0x10928f(0x481),_0x327c49[_0x327c49[_0x10928f(0x3de)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x327c49[_0x327c49[_0x10928f(0x27f)]=0x3eb]=_0x10928f(0x27f),_0x327c49[_0x327c49[_0x10928f(0x439)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x327c49[_0x327c49[_0x10928f(0x4c2)]=-0x1]=_0x10928f(0x4c2),_0x327c49))(Ee||{}),Ei=(_0x40a495=>(_0x40a495[_0x40a495['Undefined']=0x0]=_0x10928f(0x4d4),_0x40a495[_0x40a495['HttpImport']=0x1]=_0x10928f(0x4ae),_0x40a495[_0x40a495[_0x10928f(0x37e)]=0x2]='HttpExport',_0x40a495[_0x40a495['UnitEmbedded']=0x3]=_0x10928f(0x4d7),_0x40a495[_0x40a495[_0x10928f(0x23d)]=0x4]='UnitSnapshot',_0x40a495[_0x40a495['UserProfileImg']=0x5]=_0x10928f(0x343),_0x40a495[_0x40a495['ClipsheetFragments']=0x6]=_0x10928f(0x35b),_0x40a495[_0x40a495[_0x10928f(0x4c2)]=-0x1]='UNRECOGNIZED',_0x40a495))(Ei||{});const Ds=_0x10928f(0x211);function ys(_0x55455b){var _0x86d65=_0x10928f;return JSON[_0x86d65(0x4d1)](_0x55455b)[_0x86d65(0x22d)];}var re=(_0x485077=>(_0x485077[_0x10928f(0x298)]=_0x10928f(0x298),_0x485077[_0x10928f(0x466)]=_0x10928f(0x466),_0x485077[_0x10928f(0x254)]=_0x10928f(0x254),_0x485077[_0x10928f(0x470)]=_0x10928f(0x470),_0x485077[_0x10928f(0x395)]=_0x10928f(0x395),_0x485077[_0x10928f(0x4b4)]='SOCKET_FAILED_RETRY',_0x485077['SOCKET_FAILED']=_0x10928f(0x3c1),_0x485077[_0x10928f(0x43d)]=_0x10928f(0x43d),_0x485077))(re||{});class ve{constructor(){var _0x41aba3=_0x10928f;D(this,_0x41aba3(0x458),new _0x58c94b()),D(this,_0x41aba3(0x264),this['_event$'][_0x41aba3(0x4c1)]());}[_0x10928f(0x23f)](_0x24cedd){var _0x1d192d=_0x10928f;this[_0x1d192d(0x458)][_0x1d192d(0x3ea)](_0x24cedd);}}class pi{constructor(){var _0x22a877=_0x10928f;D(this,_0x22a877(0x4a6),new _0x58c94b()),D(this,_0x22a877(0x246),this[_0x22a877(0x4a6)]['asObservable']());}[_0x10928f(0x224)](_0x22e126){var _0x201751=_0x10928f;this[_0x201751(0x4a6)][_0x201751(0x3ea)](_0x22e126);}}var Us=Object['getOwnPropertyDescriptor'],As=(_0x4b3921,_0x153053,_0x5bd81e,_0x5e47ea)=>{for(var _0x302507=_0x5e47ea>0x1?void 0x0:_0x5e47ea?Us(_0x153053,_0x5bd81e):_0x153053,_0x5d836f=_0x4b3921['length']-0x1,_0x11ceef;_0x5d836f>=0x0;_0x5d836f--)(_0x11ceef=_0x4b3921[_0x5d836f])&&(_0x302507=_0x11ceef(_0x302507)||_0x302507);return _0x302507;},Ft=(_0x2aff0f,_0x4c9a68)=>(_0x1d40f6,_0x1ec100)=>_0x4c9a68(_0x1d40f6,_0x1ec100,_0x2aff0f);let Pe=class extends _0x57261c{constructor(_0x6318cb,_0x154ddb){var _0xa1e1ad=_0x10928f;super(),D(this,_0xa1e1ad(0x4b9),new Map()),D(this,_0xa1e1ad(0x1f4),new _0x58c94b()),(this[_0xa1e1ad(0x3b8)]=_0x6318cb,this[_0xa1e1ad(0x40c)]=_0x154ddb,this[_0xa1e1ad(0x21a)](_0x5f3238(this[_0xa1e1ad(0x3b8)][_0xa1e1ad(0x1e9)](_0x5417eb[_0xa1e1ad(0x465)])['pipe'](_0x4b7ed6(_0x3ae516=>_0x3ae516['getUnitId']())),this[_0xa1e1ad(0x3b8)][_0xa1e1ad(0x1e9)](_0x5417eb['UNIVER_DOC'])[_0xa1e1ad(0x392)](_0x4b7ed6(_0x7a7c4b=>_0x7a7c4b[_0xa1e1ad(0x202)]())),this[_0xa1e1ad(0x3b8)][_0xa1e1ad(0x1e9)](_0x5417eb[_0xa1e1ad(0x354)])[_0xa1e1ad(0x392)](_0x4b7ed6(_0x49fc96=>_0x49fc96[_0xa1e1ad(0x202)]())))[_0xa1e1ad(0x3cf)](_0x1635ea=>this[_0xa1e1ad(0x438)](_0x1635ea))));}[_0x10928f(0x329)](_0x26e046){var _0x4c455f=_0x10928f;return this[_0x4c455f(0x4b9)]['has'](_0x26e046)?_0x2663ed(this[_0x4c455f(0x4b9)][_0x4c455f(0x207)](_0x26e046)):this[_0x4c455f(0x1f4)][_0x4c455f(0x392)](_0x4b7ed6(_0x3c8a39=>{var _0x55ca5a=_0x4c455f;if(_0x3c8a39===_0x26e046)return this['_roomMembers'][_0x55ca5a(0x207)](_0x3c8a39);}));}[_0x10928f(0x444)](_0x20cc2e){var _0xec7545=_0x10928f;this[_0xec7545(0x40c)][_0xec7545(0x444)](_0x20cc2e);}[_0x10928f(0x2b7)](){var _0x1c6398=_0x10928f;return this[_0x1c6398(0x40c)][_0x1c6398(0x2b7)]();}[_0x10928f(0x3a3)](_0x1df506,_0x229e5b){var _0x1ed107=_0x10928f;let _0x49563a=this[_0x1ed107(0x4b9)][_0x1ed107(0x207)](_0x1df506);_0x49563a||(_0x49563a=new Ps(),this[_0x1ed107(0x4b9)][_0x1ed107(0x46d)](_0x1df506,_0x49563a),this[_0x1ed107(0x1f4)]['next'](_0x1df506)),_0x49563a[_0x1ed107(0x3a3)](_0x229e5b);}[_0x10928f(0x240)](_0x347ef0,_0x4de2cd){var _0xa63a0d=_0x10928f;const _0x191367=this['_roomMembers'][_0xa63a0d(0x207)](_0x347ef0);_0x191367&&_0x191367[_0xa63a0d(0x240)](_0x4de2cd);}[_0x10928f(0x22a)](_0x520487){var _0x213f43=_0x10928f;return this['_roomMembers'][_0x213f43(0x207)](_0x520487);}['getMember'](_0x4e453d,_0x46d64e){var _0x20cdd2=_0x10928f;const _0x3adaed=this['_roomMembers'][_0x20cdd2(0x207)](_0x4e453d);if(_0x3adaed)return _0x3adaed['getMember'](_0x46d64e);}[_0x10928f(0x438)](_0x49605d){var _0x3ed838=_0x10928f;const _0x3fb14a=this[_0x3ed838(0x4b9)][_0x3ed838(0x207)](_0x49605d);_0x3fb14a&&(_0x3fb14a[_0x3ed838(0x265)](),this[_0x3ed838(0x4b9)][_0x3ed838(0x1d0)](_0x49605d));}[_0x10928f(0x265)](){var _0x39933e=_0x10928f;this[_0x39933e(0x4b9)][_0x39933e(0x46e)](_0x16c5e3=>_0x16c5e3[_0x39933e(0x265)]()),this[_0x39933e(0x4b9)][_0x39933e(0x29c)](),this[_0x39933e(0x1f4)][_0x39933e(0x317)]();}};Pe=As([Ft(0x0,_0x13ba10),Ft(0x1,_0x20ebd0(_0x5594c3))],Pe);class Ps extends _0x57261c{constructor(){var _0x50c0ad=_0x10928f;super(...arguments),D(this,_0x50c0ad(0x3ee),new Map()),D(this,_0x50c0ad(0x1ee),new _0x15a038(this['_members'])),D(this,_0x50c0ad(0x253),this[_0x50c0ad(0x1ee)]['asObservable']());}['dispose'](){var _0x4b76df=_0x10928f;this[_0x4b76df(0x3ee)][_0x4b76df(0x29c)]();}[_0x10928f(0x3a3)](_0x4e7383){var _0xf74157=_0x10928f;this[_0xf74157(0x3ee)][_0xf74157(0x46d)](_0x4e7383[_0xf74157(0x2ae)],_0x4e7383),this[_0xf74157(0x2e2)]();}[_0x10928f(0x240)](_0x2ccf1c){var _0x374b68=_0x10928f;this['_members'][_0x374b68(0x1d0)](_0x2ccf1c);}['getMember'](_0x5a67bc){var _0x541466=_0x10928f;return this[_0x541466(0x3ee)][_0x541466(0x207)](_0x5a67bc);}['getAllMembers'](){var _0x540050=_0x10928f;return Array['from'](this[_0x540050(0x3ee)]['values']());}[_0x10928f(0x2e2)](){var _0x58d587=_0x10928f;this['_members$'][_0x58d587(0x3ea)](this[_0x58d587(0x3ee)]);}}var ws=Object[_0x10928f(0x413)],Ls=(_0x2e6fcb,_0x33c6a4,_0x32179a,_0x42b565)=>{var _0x1a76ed=_0x10928f;for(var _0x51f42d=_0x42b565>0x1?void 0x0:_0x42b565?ws(_0x33c6a4,_0x32179a):_0x33c6a4,_0x3575af=_0x2e6fcb[_0x1a76ed(0x22d)]-0x1,_0x298d6f;_0x3575af>=0x0;_0x3575af--)(_0x298d6f=_0x2e6fcb[_0x3575af])&&(_0x51f42d=_0x298d6f(_0x51f42d)||_0x51f42d);return _0x51f42d;},Oe=(_0x32c41b,_0x2a5943)=>(_0x3a372f,_0x21f055)=>_0x2a5943(_0x3a372f,_0x21f055,_0x32c41b),me=(_0x46596a=>(_0x46596a[_0x46596a[_0x10928f(0x251)]=0x0]=_0x10928f(0x251),_0x46596a[_0x46596a['JOINING']=0x1]='JOINING',_0x46596a[_0x46596a['OFFLINE']=0x2]=_0x10928f(0x41b),_0x46596a[_0x46596a[_0x10928f(0x491)]=0x3]=_0x10928f(0x491),_0x46596a))(me||{});const jt={[Ee[_0x10928f(0x1de)]]:_0x10928f(0x40f),[Ee[_0x10928f(0x481)]]:_0x10928f(0x32f),[Ee[_0x10928f(0x3de)]]:_0x10928f(0x27d),[Ee[_0x10928f(0x27f)]]:_0x10928f(0x45e),[Ee[_0x10928f(0x439)]]:_0x10928f(0x339)};let mt=class extends _0x4154f8{constructor(_0x2cff1d,_0x2d10b2,_0x1feaea,_0x528a10,_0x21dc6d,_0x490c5d,_0x33746f,_0x35126d){var _0x348884=_0x10928f;super(),D(this,_0x348884(0x25e),new _0x15a038(0x0)),D(this,_0x348884(0x208),this['_sessionStatus$'][_0x348884(0x4c1)]()),D(this,_0x348884(0x458),new _0x58c94b()),D(this,_0x348884(0x264),this[_0x348884(0x458)]['asObservable']()),D(this,_0x348884(0x49f)),D(this,_0x348884(0x3fc)),D(this,_0x348884(0x2b9)),D(this,_0x348884(0x415),!0x1),D(this,_0x348884(0x4a0),null),(this[_0x348884(0x276)]=_0x2cff1d,this[_0x348884(0x474)]=_0x1feaea,this['_configService']=_0x528a10,this[_0x348884(0x286)]=_0x21dc6d,this[_0x348884(0x366)]=_0x490c5d,this[_0x348884(0x2ce)]=_0x33746f,this[_0x348884(0x3f2)]=_0x35126d,this[_0x348884(0x415)]=!!this[_0x348884(0x3f2)],_0x2d10b2['pipe'](_0x1f822e(this[_0x348884(0x1e0)]))[_0x348884(0x3cf)](_0x91c19a=>{var _0x4b65c3=_0x348884,_0xc71499;typeof _0x91c19a>'u'||(this[_0x4b65c3(0x49f)]=_0x91c19a,_0x91c19a?(this[_0x4b65c3(0x490)](_0x91c19a),this[_0x4b65c3(0x3fc)]=_0x91c19a[_0x4b65c3(0x1e6)][_0x4b65c3(0x3cf)](_0x49dc35=>{var _0x28e700=_0x4b65c3;_0x49dc35[_0x28e700(0x346)]===this[_0x28e700(0x276)]&&this[_0x28e700(0x37c)](_0x49dc35);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x4b65c3(0x25e)][_0x4b65c3(0x3ea)](0x2),(_0xc71499=this[_0x4b65c3(0x3fc)])==null||_0xc71499['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x10928f(0x27e)](){var _0x311ab8=_0x10928f;return this[_0x311ab8(0x25e)][_0x311ab8(0x4ba)]();}['getMemberID'](){var _0x3c9da8=_0x10928f,_0x32e71b,_0x51c02a;return(_0x51c02a=(_0x32e71b=this[_0x3c9da8(0x49f)])==null?void 0x0:_0x32e71b[_0x3c9da8(0x2ae)])!=null?_0x51c02a:null;}[_0x10928f(0x265)](){var _0x58cf6e=_0x10928f;super[_0x58cf6e(0x265)](),this['dispose$'][_0x58cf6e(0x3ea)](),this[_0x58cf6e(0x1e0)][_0x58cf6e(0x317)]();}[_0x10928f(0x1f8)](){var _0x47e3c9=_0x10928f,_0x5e3328,_0x36d756;this[_0x47e3c9(0x3a6)](),(_0x5e3328=this[_0x47e3c9(0x49f)])==null||_0x5e3328[_0x47e3c9(0x37a)]({'cmd':j['LEAVE'],'data':{'roomID':this[_0x47e3c9(0x276)]}}),(_0x36d756=this['_socket'])==null||_0x36d756[_0x47e3c9(0x1f8)](),this[_0x47e3c9(0x458)][_0x47e3c9(0x317)](),this[_0x47e3c9(0x25e)][_0x47e3c9(0x317)](),this['dispose']();}[_0x10928f(0x37c)](_0x420b8b){var _0x4fa065=_0x10928f;_0x420b8b[_0x4fa065(0x2ed)]===j[_0x4fa065(0x1e1)]?this[_0x4fa065(0x41e)](_0x420b8b):_0x420b8b[_0x4fa065(0x2ed)]===j[_0x4fa065(0x310)]&&this[_0x4fa065(0x4e1)](_0x420b8b);}[_0x10928f(0x490)](_0x384d3e){var _0x2c1a00=_0x10928f;this[_0x2c1a00(0x25e)]['next'](0x1),_0x384d3e[_0x2c1a00(0x37a)]({'cmd':j['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x1310dc){var _0x47a540=_0x10928f,_0x285d5b;if(_0x1310dc[_0x47a540(0x39a)]in jt){this[_0x47a540(0x2ce)][_0x47a540(0x23f)]({'id':re['JOIN_ROOM_FAILED'],'data':jt[_0x1310dc[_0x47a540(0x39a)]]}),this[_0x47a540(0x25e)][_0x47a540(0x3ea)](0x2);return;}this[_0x47a540(0x25e)][_0x47a540(0x3ea)](0x3);const _0x41f3f3=(_0x285d5b=_0x1310dc[_0x47a540(0x34a)][_0x47a540(0x2ea)][this[_0x47a540(0x276)]])==null?void 0x0:_0x285d5b[_0x47a540(0x389)];_0x41f3f3&&_0x41f3f3[_0x47a540(0x46e)](_0x35ffed=>this[_0x47a540(0x286)][_0x47a540(0x3a3)](this['_unitID'],_0x35ffed));}[_0x10928f(0x4e1)](_0xfbd848){var _0x381943=_0x10928f;try{const _0x15c9ea=_0xfbd848[_0x381943(0x34a)];switch(_0x15c9ea[_0x381943(0x379)]){case _0x1f3ef0['USERS_ENTER']:this[_0x381943(0x29d)](_0x15c9ea),this['_event$'][_0x381943(0x3ea)](_0x15c9ea);break;case _0x1f3ef0[_0x381943(0x270)]:this['_onUserLeave'](_0x15c9ea),this['_event$'][_0x381943(0x3ea)](_0x15c9ea);break;case _0x1f3ef0['CHANGESET_ACK']:case _0x1f3ef0['CHANGESET_SHOULD_RETRY']:this[_0x381943(0x225)](),this[_0x381943(0x498)](),this['_event$'][_0x381943(0x3ea)](_0x15c9ea);break;case _0x1f3ef0[_0x381943(0x344)]:this[_0x381943(0x474)][_0x381943(0x2e0)](_0x381943(0x21d)+JSON['stringify'](_0x15c9ea)),this['_event$']['next'](_0x15c9ea);break;case _0x1f3ef0[_0x381943(0x44e)]:this['_commentService'][_0x381943(0x224)](_0x15c9ea[_0x381943(0x34a)]),this[_0x381943(0x458)][_0x381943(0x3ea)](_0x15c9ea);break;default:this['_event$'][_0x381943(0x3ea)](_0x15c9ea);}}catch(_0xc1ed1f){this[_0x381943(0x474)][_0x381943(0x2e0)](_0xc1ed1f,_0xfbd848);}}[_0x10928f(0x29d)](_0x119ddd){var _0x29f1e9=_0x10928f;this['_memberService'][_0x29f1e9(0x3a3)](this[_0x29f1e9(0x276)],_0x119ddd[_0x29f1e9(0x34a)]);}[_0x10928f(0x21e)](_0x50b706){var _0xfac8bd=_0x10928f;this['_memberService']['removeMember'](this[_0xfac8bd(0x276)],_0x50b706[_0xfac8bd(0x34a)][_0xfac8bd(0x2ae)]);}async[_0x10928f(0x37a)](_0x245f0f,_0x5d9c48){var _0x4e83c2=_0x10928f;if(this[_0x4e83c2(0x27e)]!==0x3||!this['_socket'])throw new Error(_0x4e83c2(0x20f));try{_0x245f0f[_0x4e83c2(0x379)]===_0x1f3ef0[_0x4e83c2(0x283)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x4e83c2(0x318)](_0x245f0f)),this[_0x4e83c2(0x49f)]['send']({'cmd':j[_0x4e83c2(0x4c7)],'routeKey':_0x5d9c48,'routeType':'','data':_0x245f0f});}catch(_0x837c0d){this[_0x4e83c2(0x474)][_0x4e83c2(0x2e0)](_0x837c0d);}}[_0x10928f(0x486)](){var _0x2e3ec4=_0x10928f,_0x11aec0;this[_0x2e3ec4(0x2b9)]=setTimeout(()=>{var _0x3b8106=_0x2e3ec4;this[_0x3b8106(0x2b9)]=null,this[_0x3b8106(0x2ce)][_0x3b8106(0x23f)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x11aec0=this[_0x2e3ec4(0x3b7)][_0x2e3ec4(0x3e6)](di))!=null?_0x11aec0:fi);}[_0x10928f(0x498)](){var _0x29b8a0=_0x10928f;this[_0x29b8a0(0x2b9)]&&(clearTimeout(this[_0x29b8a0(0x2b9)]),this['_collaborationTimeoutTimer']=null);}[_0x10928f(0x318)](_0x4b6535){var _0x305cc4=_0x10928f;if(!this[_0x305cc4(0x415)])return;const {data:_0x5c1eeb}=_0x4b6535,{unitID:_0x556adb,changeset:_0x207c87}=_0x5c1eeb,{mutations:_0x46542d,type:_0x1cf54f}=_0x207c87;this[_0x305cc4(0x4a0)]={'unitId':_0x556adb,'type':_0x1cf54f,'startTime':performance[_0x305cc4(0x335)](),'stopTime':0x0,'duration':0x0,'size':ys(_0x46542d)};}[_0x10928f(0x225)](){var _0x605585=_0x10928f;if(this[_0x605585(0x415)]){if(!this[_0x605585(0x4a0)]){this[_0x605585(0x474)]['error'](_0x605585(0x440),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x605585(0x455)]=performance[_0x605585(0x335)](),this[_0x605585(0x4a0)][_0x605585(0x35c)]=this[_0x605585(0x4a0)]['stopTime']-this['_telemetryInfo'][_0x605585(0x2bb)],this[_0x605585(0x3f2)]['capture'](Ds,this[_0x605585(0x4a0)]),this[_0x605585(0x4a0)]=null;}}[_0x10928f(0x3a6)](){this['_telemetryInfo']=null;}};mt=Ls([Oe(0x2,_0x5c483f),Oe(0x3,_0x1ed468),Oe(0x4,_0x20ebd0(Pe)),Oe(0x5,_0x20ebd0(pi)),Oe(0x6,_0x20ebd0(ve)),Oe(0x7,_0xd62013(_0x2b4658))],mt);const X=_0x2351ee(_0x10928f(0x352));function yr(_0x59f710){var _0x9836b1=_0x10928f;return _0x9836b1(0x4d6)+_0x59f710;}var Ms=Object[_0x10928f(0x413)],xs=(_0x1670ef,_0x330c82,_0x3acf34,_0x35e212)=>{var _0x33b4ed=_0x10928f;for(var _0x41b770=_0x35e212>0x1?void 0x0:_0x35e212?Ms(_0x330c82,_0x3acf34):_0x330c82,_0x8386=_0x1670ef[_0x33b4ed(0x22d)]-0x1,_0x410c84;_0x8386>=0x0;_0x8386--)(_0x410c84=_0x1670ef[_0x8386])&&(_0x41b770=_0x410c84(_0x41b770)||_0x41b770);return _0x41b770;},ut=(_0x28cc87,_0x96c9a8)=>(_0x19e90e,_0x2eb140)=>_0x96c9a8(_0x19e90e,_0x2eb140,_0x28cc87);function ks(_0x2dffe1){var _0x4d18db=_0x10928f;const {unitID:_0x5040de,mutations:_0x5aa5df}=_0x2dffe1;return{'unitId':_0x5040de,'subUnitId':_0x5aa5df[_0x4d18db(0x22d)]>0x0?_0x5aa5df[0x0][_0x4d18db(0x303)][_0x4d18db(0x483)]:null};}let it=class{constructor(_0x1a9016,_0x4c7732,_0x3499b5){var _0x342b39=_0x10928f;this[_0x342b39(0x493)]=_0x1a9016,this[_0x342b39(0x258)]=_0x4c7732,this[_0x342b39(0x41c)]=_0x3499b5;}[_0x10928f(0x236)](_0x6a9ef0){var _0x24fef1=_0x10928f,_0x3aa4a2,_0x4435b4,_0x6aa3f0,_0x202f0f;const _0x35f26b=this[_0x24fef1(0x493)]['get'](_0x11204a),{unitId:_0x3a16b9,subUnitId:_0x4c5842}=ks(_0x6a9ef0),_0x325ece=_0x35f26b==null?void 0x0:_0x35f26b[_0x24fef1(0x338)](_0x3a16b9)[_0x24fef1(0x1d8)](),_0x554f5a=(_0x4435b4=(_0x3aa4a2=this[_0x24fef1(0x41c)][_0x24fef1(0x2e7)](_0x3a16b9))==null?void 0x0:_0x3aa4a2[_0x24fef1(0x2d1)]())==null?void 0x0:_0x4435b4[_0x24fef1(0x2d8)]();if(_0x325ece[_0x24fef1(0x22d)]===0x0||!_0x3a16b9||!_0x4c5842)return;const _0x557fdf=[{'id':_0x62777e['id'],'params':{'unitId':_0x3a16b9,'subUnitId':_0x554f5a,'selections':_0x203b3f[_0x24fef1(0x495)](_0x325ece)}}],_0x589b8e=this[_0x24fef1(0x258)][_0x24fef1(0x29f)](_0x6a9ef0,_0x557fdf);if(!_0x5214af(_0x589b8e))throw _0x589b8e[_0x24fef1(0x2e0)];const _0x3e5eab=(_0x202f0f=(_0x6aa3f0=_0x589b8e['m2Prime'][0x0])==null?void 0x0:_0x6aa3f0[_0x24fef1(0x303)])==null?void 0x0:_0x202f0f['selections'];if(Array[_0x24fef1(0x1d3)](_0x3e5eab)&&_0x3e5eab['length']){if(_0x3e5eab['length']===_0x557fdf[0x0][_0x24fef1(0x303)][_0x24fef1(0x403)][_0x24fef1(0x22d)]&&_0x3e5eab[_0x24fef1(0x3ef)]((_0x1eb3ad,_0x4def6d)=>_0x16cc9b['equals'](_0x1eb3ad[_0x24fef1(0x20b)],_0x557fdf[0x0][_0x24fef1(0x303)]['selections'][_0x4def6d][_0x24fef1(0x20b)])))return;this[_0x24fef1(0x493)][_0x24fef1(0x207)](_0x5583af)['executeCommand'](_0x62777e['id'],{'unitId':_0x3a16b9,'subUnitId':_0x554f5a,'selections':_0x3e5eab});}}};it=xs([ut(0x0,_0x20ebd0(_0x419a48)),ut(0x1,_0x2c7d08),ut(0x2,_0x13ba10)],it);const _t=_0x2351ee(_0x10928f(0x4d3));var mi=(_0x534b9b=>(_0x534b9b[_0x534b9b[_0x10928f(0x453)]=0x0]=_0x10928f(0x453),_0x534b9b[_0x534b9b['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x534b9b))(mi||{});const K=_0x10928f(0x234),$s={};function Hs(_0x3313a9){var _0x132ed3=_0x10928f,_0x427dca;return!!((_0x427dca=_0x3313a9[_0x132ed3(0x303)])!=null&&_0x427dca[_0x132ed3(0x3aa)]);}const Bs=new Set([_0x569b4e['id']]);function Vt(_0x441421,_0x44760a,_0x59cc59,_0x31206f,_0x20eeff){var _0xe45430=_0x10928f,_0x6fe3bf,_0x4f16e2,_0x56f931,_0x3ea0c7;const _0x33f7ed=[];for(const _0x4e5de6 of _0x441421){if(Bs[_0xe45430(0x475)](_0x4e5de6['id'])){if(_0x33f7ed[_0xe45430(0x22d)]>0x0)break;_0x33f7ed['push'](_0x4e5de6);break;}if(Hs(_0x4e5de6)){if(_0x33f7ed[_0xe45430(0x22d)]>0x0)break;_0x33f7ed[_0xe45430(0x4b3)](_0x4e5de6);break;}_0x33f7ed[_0xe45430(0x4b3)](_0x4e5de6);}const _0x19c437=(_0x4f16e2=(_0x6fe3bf=_0x20eeff[_0xe45430(0x2b7)]())==null?void 0x0:_0x6fe3bf[_0xe45430(0x1c6)])!=null?_0x4f16e2:_0xe45430(0x3db),_0xa3e31=(_0x3ea0c7=(_0x56f931=_0x20eeff[_0xe45430(0x2b7)]())==null?void 0x0:_0x56f931[_0xe45430(0x2ae)])!=null?_0x3ea0c7:_0xe45430(0x3db);return{'changeset':{'unitID':_0x44760a,'type':_0x6d42e1(_0x59cc59['getUnitType'](_0x44760a)),'baseRev':_0x31206f[_0xe45430(0x321)](_0x44760a),'revision':0x0,'userID':_0x19c437,'memberID':_0xa3e31,'mutations':_0x33f7ed},'pendingMutations':_0x441421['slice'](_0x33f7ed['length'])};}function Fs(_0x283dff,_0x2e5294,_0x3d6adb,_0x373f2b,_0x1f9c29){var _0x192553=_0x10928f,_0x299925,_0x4092cf,_0x4efaec,_0x5c1d27;const _0x525c3b=[_0x283dff[_0x192553(0x4b5)]((_0x4b134c,_0x3fff74)=>{var _0x2c9ed8=_0x192553,_0x21e9bf;const {id:_0x2c9b42}=_0x4b134c,{id:_0x27852c,type:_0x5403c5}=_0x3fff74,_0x5f43bf=(_0x21e9bf=_0x4b134c['params'])!=null?_0x21e9bf:{'actions':null},_0x4031cb=_0x3fff74[_0x2c9ed8(0x303)];if(_0x2c9b42&&_0x2c9b42!==_0x27852c)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x2c9b42+_0x2c9ed8(0x2cd)+_0x27852c+'.');return{..._0x4b134c,'id':_0x27852c,'type':_0x5403c5,'params':{'unitId':_0x4031cb['unitId'],'textRanges':_0x4031cb[_0x2c9ed8(0x28d)],'actions':_0x4ed291[_0x2c9ed8(0x4c4)](_0x5f43bf[_0x2c9ed8(0x2c9)],_0x4031cb[_0x2c9ed8(0x2c9)])}};},{})],_0x3fa254=(_0x4092cf=(_0x299925=_0x1f9c29[_0x192553(0x2b7)]())==null?void 0x0:_0x299925[_0x192553(0x1c6)])!=null?_0x4092cf:_0x192553(0x3db),_0x514d0e=(_0x5c1d27=(_0x4efaec=_0x1f9c29['getCurrentUser']())==null?void 0x0:_0x4efaec[_0x192553(0x2ae)])!=null?_0x5c1d27:_0x192553(0x3db);return{'changeset':{'unitID':_0x2e5294,'type':_0x6d42e1(_0x3d6adb['getUnitType'](_0x2e5294)),'baseRev':_0x373f2b[_0x192553(0x321)](_0x2e5294),'revision':0x0,'userID':_0x3fa254,'memberID':_0x514d0e,'mutations':_0x525c3b},'pendingMutations':[]};}function Ii(_0x18183c,_0x14676d){var _0x24139c=_0x10928f;const _0x4b8a4c=new _0x744ea0(0x1);return setTimeout(()=>_0x4b8a4c[_0x24139c(0x3ea)](_0x14676d),_0x18183c),_0x4b8a4c[_0x24139c(0x4c1)]()[_0x24139c(0x392)](_0x31f42d(0x1));}var js=Object[_0x10928f(0x413)],Se=(_0x4bcbb5,_0x1c0a1e,_0x2692fd,_0x44b5fd)=>{var _0x14220b=_0x10928f;for(var _0x29093c=_0x44b5fd>0x1?void 0x0:_0x44b5fd?js(_0x1c0a1e,_0x2692fd):_0x1c0a1e,_0xc4d7a7=_0x4bcbb5[_0x14220b(0x22d)]-0x1,_0x29bbf0;_0xc4d7a7>=0x0;_0xc4d7a7--)(_0x29bbf0=_0x4bcbb5[_0xc4d7a7])&&(_0x29093c=_0x29bbf0(_0x29093c)||_0x29093c);return _0x29093c;},w=(_0x234183,_0x29375c)=>(_0x3c9d60,_0x51f887)=>_0x29375c(_0x3c9d60,_0x51f887,_0x234183),Si=(_0x156671=>(_0x156671[_0x10928f(0x3a1)]='not_collab',_0x156671[_0x10928f(0x34e)]=_0x10928f(0x23e),_0x156671[_0x10928f(0x445)]=_0x10928f(0x37b),_0x156671[_0x10928f(0x3b5)]=_0x10928f(0x3ca),_0x156671[_0x10928f(0x435)]=_0x10928f(0x4de),_0x156671[_0x10928f(0x391)]='fetch_missing',_0x156671[_0x10928f(0x254)]='conflict',_0x156671['OFFLINE']=_0x10928f(0x4c9),_0x156671))(Si||{});const gi=0x4e20,Ti=0x2bf20;class ge{constructor(_0x50b307,_0x554d11,_0x42d284,_0x3bf707,_0x19d7fd,_0x312118,_0xbd8c9e,_0x2ceb4e,_0x3f1f23){var _0x3705ad=_0x10928f;D(this,_0x3705ad(0x2c5),null),D(this,'_pendingMutations',[]),(this[_0x3705ad(0x4d2)]=_0x50b307,this[_0x3705ad(0x1e8)]=_0x554d11,this[_0x3705ad(0x221)]=_0x19d7fd,this[_0x3705ad(0x4b6)]=_0x312118,this['_undoRedoService']=_0xbd8c9e,this[_0x3705ad(0x2f2)]=_0x2ceb4e,this[_0x3705ad(0x377)]=_0x3f1f23,this['_awaitingChangeset']=_0x42d284,this[_0x3705ad(0x4b8)]=_0x3bf707);}[_0x10928f(0x2dd)](_0x3f7c5f){var _0x240390=_0x10928f;const _0x45516a=this[_0x240390(0x2f2)][_0x240390(0x321)](this[_0x240390(0x4d2)]);return _0x3f7c5f[_0x240390(0x4d5)]>_0x45516a+0x1?(this['_handler'][_0x240390(0x2a8)]({'from':_0x45516a,'to':_0x3f7c5f[_0x240390(0x4d5)]-0x1}),!0x0):!0x1;}[_0x10928f(0x39d)](_0x3cdd80){var _0x55064e=_0x10928f;this[_0x55064e(0x48b)][_0x55064e(0x248)](this[_0x55064e(0x4d2)],_0x3cdd80);}[_0x10928f(0x2fa)](_0x1f0db2){var _0x3daf0a=_0x10928f,_0x77bfd2,_0x243d94;(_0x243d94=(_0x77bfd2=this['_handler'])[_0x3daf0a(0x2b5)])==null||_0x243d94[_0x3daf0a(0x1ec)](_0x77bfd2,_0x1f0db2);}[_0x10928f(0x3e8)](_0x394a04){var _0x1fb00f=_0x10928f,_0x574bca,_0x297643;return(_0x297643=(_0x574bca=this[_0x1fb00f(0x221)])[_0x1fb00f(0x201)])==null?void 0x0:_0x297643['call'](_0x574bca,_0x394a04);}[_0x10928f(0x437)](_0x3601f4){var _0x39a5e1=_0x10928f,_0x34b0c0,_0x251d18;return(_0x251d18=(_0x34b0c0=this[_0x39a5e1(0x221)])[_0x39a5e1(0x407)])==null?void 0x0:_0x251d18[_0x39a5e1(0x1ec)](_0x34b0c0,_0x3601f4);}['_transformRemoteChangesetByIMECache'](_0x513d7e){var _0x2b53f9=_0x10928f,_0x3f4a9c,_0x3f3729,_0x300fdb;return(_0x300fdb=(_0x3f3729=(_0x3f4a9c=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3f3729[_0x2b53f9(0x1ec)](_0x3f4a9c,_0x513d7e))!=null?_0x300fdb:_0x513d7e;}[_0x10928f(0x2d9)](_0x305131){var _0x31e102=_0x10928f,_0x49bf87,_0x526dde,_0x1eb1c9;return(_0x1eb1c9=(_0x526dde=(_0x49bf87=this[_0x31e102(0x221)])[_0x31e102(0x2a6)])==null?void 0x0:_0x526dde[_0x31e102(0x1ec)](_0x49bf87,_0x305131))!=null?_0x1eb1c9:_0x305131;}[_0x10928f(0x28c)](_0x31852f){var _0x3f1bb4=_0x10928f,_0x33dc12,_0x378a1c;if(this['type']===Q[_0x3f1bb4(0x3a0)]){const {unitID:_0x31d5ed,mutations:_0x7743dc,memberID:_0x12728d}=_0x31852f,_0x146314=_0x7743dc[_0x3f1bb4(0x22d)]>0x0?_0x7743dc[0x0][_0x3f1bb4(0x303)][_0x3f1bb4(0x28d)]:[];Array['isArray'](_0x146314)&&_0x146314[_0x3f1bb4(0x22d)]>0x0&&((_0x378a1c=(_0x33dc12=this[_0x3f1bb4(0x221)])[_0x3f1bb4(0x1c8)])==null||_0x378a1c[_0x3f1bb4(0x1ec)](_0x33dc12,{'unitID':_0x31d5ed,'memberID':_0x12728d,'textRanges':_0x146314}));}}[_0x10928f(0x31b)](){var _0x180703=_0x10928f,_0xbc2cc8;(_0xbc2cc8=this[_0x180703(0x377)])==null||_0xbc2cc8[_0x180703(0x272)](this[_0x180703(0x4d2)],this[_0x180703(0x1e8)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x10928f(0x2ff)](){var _0xb20898=_0x10928f;return this[_0xb20898(0x2f2)][_0xb20898(0x321)](this[_0xb20898(0x4d2)]);}[_0x10928f(0x44a)](){var _0x115ecb=_0x10928f;this[_0x115ecb(0x2f2)][_0x115ecb(0x4dc)](this[_0x115ecb(0x4d2)]);}[_0x10928f(0x49b)](_0x23bf69){var _0x5b6825=_0x10928f,_0x315fea;let _0x419873=this['_transformRemoteChangesetByIMECache'](_0x23bf69);_0x419873=this[_0x5b6825(0x2d9)](_0x419873);const _0x1196ed=_0x1e883d(_0x419873[_0x5b6825(0x464)],this[_0x5b6825(0x4b6)],{'fromCollab':!0x0});if(!_0x1196ed[_0x5b6825(0x436)])throw _0x1196ed[_0x5b6825(0x2e0)]instanceof Error?_0x1196ed[_0x5b6825(0x2e0)]:new Error((_0x315fea=_0x1196ed['error'])!=null?_0x315fea:_0x5b6825(0x3d9));this['_transformIMECache'](_0x419873),this['_transformStateCache'](_0x419873),this['_transformUndoredo'](_0x23bf69),this[_0x5b6825(0x2fa)](_0x419873),this[_0x5b6825(0x28c)](_0x419873),this[_0x5b6825(0x44a)]();}}let be=class extends ge{constructor(_0x1835c7,_0x3e18be,_0x305457,_0x18f8c5,_0x23470b,_0x18a620,_0x2bd597,_0x306707,_0x1f8dc0,_0x1f6486){var _0x35abb5=_0x10928f;super(_0x1835c7,_0x3e18be,null,[],_0x305457,_0x2bd597,_0x18a620,_0x18f8c5,_0x1f6486),D(this,_0x35abb5(0x4bd),'synced'),(this[_0x35abb5(0x493)]=_0x23470b,this[_0x35abb5(0x474)]=_0x306707,this[_0x35abb5(0x258)]=_0x1f8dc0,this[_0x35abb5(0x36f)]=_0x1f6486);}['appendMutation'](_0x48c026){var _0x2bd2df=_0x10928f;const _0x1787d0=this[_0x2bd2df(0x493)][_0x2bd2df(0x314)](ae,this[_0x2bd2df(0x4d2)],this[_0x2bd2df(0x1e8)],[_0x48c026],this[_0x2bd2df(0x221)]);return _0x1787d0[_0x2bd2df(0x216)](),_0x1787d0[_0x2bd2df(0x31b)](),_0x1787d0;}['onRemoteChangeset'](_0x3ace03){var _0x441673=_0x10928f;if(this[_0x441673(0x2dd)](_0x3ace03))return this[_0x441673(0x493)][_0x441673(0x314)](ee,this[_0x441673(0x4d2)],this['type'],null,[],null,[_0x3ace03],this[_0x441673(0x221)]);try{const _0x4b7f4d=this[_0x441673(0x258)]['transformMutationsWithChangeset'](_0x3ace03,[_0xc9ab7d]);if(_0x5214af(_0x4b7f4d)){const {c1Prime:_0x2bb6fe}=_0x4b7f4d;return this[_0x441673(0x49b)](_0x2bb6fe),this;}throw _0x4b7f4d[_0x441673(0x2e0)];}catch(_0x18c9f0){return this['_logService'][_0x441673(0x2e0)](_0x18c9f0),this[_0x441673(0x296)](!0x1);}}[_0x10928f(0x296)](_0x2177c4){var _0x176852=_0x10928f;return this[_0x176852(0x493)][_0x176852(0x314)](ue,this[_0x176852(0x4d2)],this['type'],null,[],this['_handler'],_0x2177c4);}['onRemoteAck'](){var _0x406156=_0x10928f;throw new Error(_0x406156(0x48a));}[_0x10928f(0x496)](){var _0x43ece2=_0x10928f;throw new Error(_0x43ece2(0x222));}[_0x10928f(0x37d)](){return this;}[_0x10928f(0x3c9)](){var _0x286585=_0x10928f;return this['_injector'][_0x286585(0x314)](de,this['unitID'],this[_0x286585(0x1e8)],null,[],this[_0x286585(0x221)]);}[_0x10928f(0x36b)](){return this;}['resend'](){var _0x5b0d99=_0x10928f;throw new Error(_0x5b0d99(0x492));}[_0x10928f(0x237)](){var _0x4b209b=_0x10928f;const _0xe03d15=this[_0x4b209b(0x2f2)][_0x4b209b(0x321)](this[_0x4b209b(0x4d2)]);return this['_handler'][_0x4b209b(0x2a8)]({'from':_0xe03d15,'to':0x0}),this[_0x4b209b(0x493)][_0x4b209b(0x314)](ee,this[_0x4b209b(0x4d2)],this[_0x4b209b(0x1e8)],null,[],null,[],this[_0x4b209b(0x221)]);}};be=Se([w(0x3,_0x20ebd0(_0x5e0e93)),w(0x4,_0x20ebd0(_0x419a48)),w(0x5,_0x15daea),w(0x6,_0x5583af),w(0x7,_0x5c483f),w(0x8,_0x2c7d08),w(0x9,_0xd62013(X))],be);let ae=class extends ge{constructor(_0x4c2857,_0x215d26,_0x35accb,_0x35e806,_0x55144c,_0xc6c48e,_0x145e19,_0x29156b,_0xab1159,_0x305324,_0x517078,_0x5a299d,_0x2d1983,_0x1ae423){var _0x1b5014=_0x10928f;super(_0x4c2857,_0x215d26,null,_0x35accb,_0x35e806,_0xab1159,_0x2d1983,_0xc6c48e,_0x1ae423),D(this,_0x1b5014(0x4bd),_0x1b5014(0x37b)),D(this,_0x1b5014(0x2ef),null),D(this,_0x1b5014(0x2b1),null),(this[_0x1b5014(0x493)]=_0x55144c,this[_0x1b5014(0x286)]=_0x145e19,this['_logService']=_0x29156b,this[_0x1b5014(0x3b7)]=_0x305324,this['_transformService']=_0x517078,this['_univerInstanceService']=_0x5a299d);}[_0x10928f(0x384)](_0x1810c3){var _0x323154=_0x10928f;return this['_pendingMutations'][_0x323154(0x4b3)](_0x1810c3),this[_0x323154(0x31b)](),this;}['onRemoteChangeset'](_0x44f461){var _0x4f9f70=_0x10928f;if(this['_checkMissing'](_0x44f461))return this[_0x4f9f70(0x1c7)](),this[_0x4f9f70(0x493)]['createInstance'](ee,this[_0x4f9f70(0x4d2)],this['type'],null,this[_0x4f9f70(0x4b8)],null,[_0x44f461],this['_handler']);try{const _0x5db22=this[_0x4f9f70(0x258)][_0x4f9f70(0x29f)](_0x44f461,this[_0x4f9f70(0x4b8)]);if(_0x5214af(_0x5db22)){const {c1Prime:_0x273986,m2Prime:_0x218861}=_0x5db22;this[_0x4f9f70(0x49b)](_0x273986);const _0x4343e7=this[_0x4f9f70(0x493)]['createInstance'](ae,this[_0x4f9f70(0x4d2)],this[_0x4f9f70(0x1e8)],_0x218861,this[_0x4f9f70(0x221)]);this[_0x4f9f70(0x1c7)]();const _0xcb6147=new Date()[_0x4f9f70(0x1da)](),_0x5de373=this[_0x4f9f70(0x2ef)]?Math[_0x4f9f70(0x2c7)](this['_scheduleCompleteTimestamp']-_0xcb6147,0x0):this[_0x4f9f70(0x345)]();return _0x4343e7[_0x4f9f70(0x216)](_0x5de373),_0x4343e7;}throw _0x5db22[_0x4f9f70(0x2e0)];}catch(_0x36654b){return this[_0x4f9f70(0x474)][_0x4f9f70(0x2e0)](_0x36654b),this[_0x4f9f70(0x296)](!0x1);}}[_0x10928f(0x278)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x10928f(0x496)](){var _0x211b32=_0x10928f;throw new Error(_0x211b32(0x279));}[_0x10928f(0x37d)](){return this;}[_0x10928f(0x3c9)](){var _0x3642a0=_0x10928f;return this['_clearScheduledTask'](),this[_0x3642a0(0x493)][_0x3642a0(0x314)](de,this[_0x3642a0(0x4d2)],this[_0x3642a0(0x1e8)],null,this[_0x3642a0(0x4b8)],this[_0x3642a0(0x221)]);}[_0x10928f(0x36b)](){return this;}[_0x10928f(0x216)](_0x345d66){var _0x3a53db=_0x10928f;const _0x3a8fcc=_0x345d66!=null?_0x345d66:this[_0x3a53db(0x345)]();this[_0x3a53db(0x2ef)]=new Date()[_0x3a53db(0x1da)]()+_0x3a8fcc,this[_0x3a53db(0x2b1)]=setTimeout(()=>{var _0x497708=_0x3a53db;this[_0x497708(0x1c7)]();let _0x5a8425=null;switch(this[_0x497708(0x1e8)]){case Q[_0x497708(0x465)]:{_0x5a8425=Vt(this[_0x497708(0x4b8)],this[_0x497708(0x4d2)],this['_univerInstanceService'],this[_0x497708(0x2f2)],this[_0x497708(0x286)]);break;}case Q[_0x497708(0x3a0)]:{this[_0x497708(0x4b8)][_0x497708(0x3ef)](_0xb0912a=>_0xb0912a['id']===_0x3c2719['id'])?_0x5a8425=Fs(this[_0x497708(0x4b8)],this[_0x497708(0x4d2)],this[_0x497708(0x3b8)],this[_0x497708(0x2f2)],this[_0x497708(0x286)]):_0x5a8425=Vt(this['_pendingMutations'],this[_0x497708(0x4d2)],this['_univerInstanceService'],this[_0x497708(0x2f2)],this[_0x497708(0x286)]);break;}default:throw new Error(_0x497708(0x3c3)+this[_0x497708(0x1e8)]+'\x20in\x20_schedule.');}const {changeset:_0x19fde0,pendingMutations:_0x1ab75a}=_0x5a8425;this['_handler'][_0x497708(0x3e7)](_0x19fde0);const _0x299a59=_0x1ab75a[_0x497708(0x22d)]?this[_0x497708(0x493)][_0x497708(0x314)](oe,this[_0x497708(0x4d2)],this[_0x497708(0x1e8)],_0x19fde0,_0x1ab75a,this[_0x497708(0x221)],void 0x0):this[_0x497708(0x493)]['createInstance'](le,this[_0x497708(0x4d2)],this[_0x497708(0x1e8)],_0x19fde0,this[_0x497708(0x221)]);_0x299a59['_updateLocalCache'](),this[_0x497708(0x221)]['onStateChange'](this,_0x299a59);},_0x3a8fcc);}[_0x10928f(0x345)](){var _0x206a64=_0x10928f,_0x58d8b7;const _0x3046bb=this[_0x206a64(0x3b7)]['getConfig'](K);return(_0x58d8b7=_0x3046bb==null?void 0x0:_0x3046bb[_0x206a64(0x3b0)])!=null?_0x58d8b7:Is;}[_0x10928f(0x1d7)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x2b762f=_0x10928f;this['_sendingTimer']!=null&&(clearTimeout(this[_0x2b762f(0x2b1)]),this['_sendingTimer']=null);}[_0x10928f(0x296)](_0x10c9e9){var _0x24e8b9=_0x10928f;return this[_0x24e8b9(0x1c7)](),this['_injector'][_0x24e8b9(0x314)](ue,this[_0x24e8b9(0x4d2)],this['type'],null,this[_0x24e8b9(0x4b8)],this[_0x24e8b9(0x221)],_0x10c9e9);}};ae=Se([w(0x4,_0x20ebd0(_0x419a48)),w(0x5,_0x20ebd0(_0x5e0e93)),w(0x6,_0x20ebd0(Pe)),w(0x7,_0x5c483f),w(0x8,_0x5583af),w(0x9,_0x1ed468),w(0xa,_0x2c7d08),w(0xb,_0x13ba10),w(0xc,_0x15daea),w(0xd,_0xd62013(X))],ae);let le=class extends ge{constructor(_0x30d9da,_0xd4aaa5,_0x291099,_0x5519a9,_0x215a5b,_0x2485d3,_0x119c26,_0x1bab0a,_0x4c2ed2,_0x166f89,_0x526968){var _0x4487d8=_0x10928f;super(_0x30d9da,_0xd4aaa5,_0x291099,[],_0x5519a9,_0x119c26,_0x166f89,_0x2485d3,_0x526968),D(this,_0x4487d8(0x4bd),'awaiting'),D(this,'_resendTimeout',0x0),D(this,_0x4487d8(0x2fd),0x0),D(this,_0x4487d8(0x3e2)),D(this,_0x4487d8(0x34b)),(this[_0x4487d8(0x493)]=_0x215a5b,this['_logService']=_0x1bab0a,this[_0x4487d8(0x258)]=_0x4c2ed2);}[_0x10928f(0x384)](_0x1b5689){var _0x591a1c=_0x10928f;this['_clearScheduledTask']();const _0x58190f=this[_0x591a1c(0x493)][_0x591a1c(0x314)](oe,this['unitID'],this['type'],this[_0x591a1c(0x2c5)],[_0x1b5689],this[_0x591a1c(0x221)],this[_0x591a1c(0x3e2)]);return _0x58190f['_updateLocalCache'](),_0x58190f;}[_0x10928f(0x364)](_0x689d5c){var _0x18d31b=_0x10928f;if(this[_0x18d31b(0x2dd)](_0x689d5c))return this['_clearScheduledTask'](),this['_injector'][_0x18d31b(0x314)](ee,this[_0x18d31b(0x4d2)],this[_0x18d31b(0x1e8)],this[_0x18d31b(0x2c5)],[],null,[_0x689d5c],this[_0x18d31b(0x221)]);try{const _0x430ea8=this[_0x18d31b(0x258)][_0x18d31b(0x23c)]([_0x689d5c],[this[_0x18d31b(0x2c5)]],!0x1);if(_0xed144(_0x430ea8)){const {c1Prime:_0x1ac578,c2Prime:_0x2f8284}=_0x430ea8;this[_0x18d31b(0x49b)](_0x1ac578[0x0]),_0x2f8284[0x0][_0x18d31b(0x2eb)]=this[_0x18d31b(0x2ff)](),this[_0x18d31b(0x1c7)]();const _0x3f62c6=this[_0x18d31b(0x493)][_0x18d31b(0x314)](le,this[_0x18d31b(0x4d2)],this[_0x18d31b(0x1e8)],_0x2f8284[0x0],this[_0x18d31b(0x221)]);return _0x3f62c6['_updateLocalCache'](),_0x3f62c6;}return this[_0x18d31b(0x296)](!0x1);}catch(_0x298883){return this[_0x18d31b(0x474)][_0x18d31b(0x2e0)](_0x298883),this[_0x18d31b(0x296)](!0x1);}}[_0x10928f(0x278)](_0x4b7f12){var _0x1931cf=_0x10928f;this[_0x1931cf(0x1c7)]();const _0x1ef677=this[_0x1931cf(0x2f2)][_0x1931cf(0x321)](this['unitID']);if(_0x4b7f12[_0x1931cf(0x4d5)]<_0x1ef677-0x1)return this;if(this[_0x1931cf(0x2dd)](_0x4b7f12))return this[_0x1931cf(0x493)]['createInstance'](ee,this[_0x1931cf(0x4d2)],this[_0x1931cf(0x1e8)],null,[],this[_0x1931cf(0x2c5)],[],this[_0x1931cf(0x221)]);this[_0x1931cf(0x44a)]();const _0x1ec56b=this[_0x1931cf(0x493)][_0x1931cf(0x314)](be,this[_0x1931cf(0x4d2)],this['type'],this[_0x1931cf(0x221)]);return _0x1ec56b[_0x1931cf(0x31b)](),_0x1ec56b;}['onRemoteRej'](_0x82912b){var _0x1c62db=_0x10928f;return this[_0x1c62db(0x296)](!!(_0x82912b!=null&&_0x82912b[_0x1c62db(0x31d)]));}[_0x10928f(0x37d)](_0x3f1e2b){var _0x150644=_0x10928f;return this[_0x150644(0x2fd)]>Ti?this['toggleOffline']():(this[_0x150644(0x3e2)]=Ii(this['_resendTimeout'],{'timeout':this[_0x150644(0x3e1)],'reqId':_0x3f1e2b[_0x150644(0x2be)]}),this[_0x150644(0x34b)]=this[_0x150644(0x3e2)][_0x150644(0x3cf)](({reqId:_0x4c6656,timeout:_0x1f9473})=>{var _0x292b23=_0x150644;this[_0x292b23(0x3dc)](_0x4c6656,_0x1f9473);}),this);}['toggleOffline'](){var _0x310988=_0x10928f;return this[_0x310988(0x1c7)](),this['_injector'][_0x310988(0x314)](de,this['unitID'],this['type'],this[_0x310988(0x2c5)],[],this[_0x310988(0x221)]);}[_0x10928f(0x36b)](){return this;}[_0x10928f(0x1d7)](){var _0x22184a=_0x10928f;this[_0x22184a(0x221)][_0x22184a(0x3e7)](this[_0x22184a(0x2c5)]);}[_0x10928f(0x296)](_0x2eaf48){var _0x38c77f=_0x10928f;return this[_0x38c77f(0x1c7)](),this[_0x38c77f(0x493)]['createInstance'](ue,this[_0x38c77f(0x4d2)],this['type'],this[_0x38c77f(0x2c5)],[],this[_0x38c77f(0x221)],_0x2eaf48);}[_0x10928f(0x3dc)](_0x53a1bc,_0x28ad57){var _0x5390fe=_0x10928f,_0x35a885;_0x53a1bc===((_0x35a885=this[_0x5390fe(0x2c5)])==null?void 0x0:_0x35a885[_0x5390fe(0x2be)])&&(this[_0x5390fe(0x1d7)](),this['_resendTimeout']=_0x28ad57===0x0?0x3e8:Math[_0x5390fe(0x275)](_0x28ad57*0x2,gi),this[_0x5390fe(0x2fd)]+=this[_0x5390fe(0x3e1)]);}[_0x10928f(0x1c7)](){var _0x2229da=_0x10928f,_0x49568d;(_0x49568d=this['_sender'])==null||_0x49568d[_0x2229da(0x382)](),this[_0x2229da(0x3e1)]=0x0,this[_0x2229da(0x2fd)]=0x0;}};le=Se([w(0x4,_0x20ebd0(_0x419a48)),w(0x5,_0x20ebd0(_0x5e0e93)),w(0x6,_0x5583af),w(0x7,_0x5c483f),w(0x8,_0x2c7d08),w(0x9,_0x15daea),w(0xa,_0xd62013(X))],le);let oe=class extends ge{constructor(_0x5e449b,_0x23fe79,_0x314077,_0xb29176,_0x56a6a8,_0x2fad59,_0x5e0963,_0x5806f5,_0x2e6b02,_0xda06db,_0x39f431,_0x1a2c37,_0x3e9708){var _0x3a2b19=_0x10928f;super(_0x5e449b,_0x23fe79,_0x314077,_0xb29176,_0x56a6a8,_0x2e6b02,_0x1a2c37,_0x5806f5,_0x3e9708),D(this,'status',_0x3a2b19(0x4de)),D(this,'_resendTimeout',0x0),D(this,'_maxTotalRetryTimeout',0x0),D(this,_0x3a2b19(0x3e2)),D(this,_0x3a2b19(0x34b)),(this['_injector']=_0x5e0963,this[_0x3a2b19(0x474)]=_0xda06db,this[_0x3a2b19(0x258)]=_0x39f431,this['localCacheService']=_0x3e9708,_0x2fad59&&(this['_resendTimer']=_0x2fad59,this['_sender']=this[_0x3a2b19(0x3e2)][_0x3a2b19(0x3cf)](({reqId:_0xdf287d,timeout:_0x23246c})=>{this['_resendWithTimeout'](_0xdf287d,_0x23246c);})));}[_0x10928f(0x384)](_0x58f79e){var _0x3f4d41=_0x10928f;return this[_0x3f4d41(0x4b8)]['push'](_0x58f79e),this;}[_0x10928f(0x364)](_0x2b5e64){var _0x2cb070=_0x10928f;if(this[_0x2cb070(0x2dd)](_0x2b5e64))return this['_clearScheduledTask'](),this['_injector'][_0x2cb070(0x314)](ee,this['unitID'],this[_0x2cb070(0x1e8)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x2b5e64],this[_0x2cb070(0x221)]);try{const _0x20c923=this['_transformService'][_0x2cb070(0x23c)]([_0x2b5e64],[this[_0x2cb070(0x2c5)]],!0x1);if(_0xed144(_0x20c923)){const {c1Prime:_0x5b7258,c2Prime:_0x135951}=_0x20c923,_0x4edb36=this[_0x2cb070(0x258)][_0x2cb070(0x29f)](_0x5b7258[0x0],this[_0x2cb070(0x4b8)]);if(_0x5214af(_0x4edb36)){const {c1Prime:_0x40bdd1,m2Prime:_0x384011}=_0x4edb36;return this['_executeRemoteChangeset'](_0x40bdd1),_0x135951[0x0][_0x2cb070(0x2eb)]=this[_0x2cb070(0x2ff)](),this[_0x2cb070(0x1c7)](),this[_0x2cb070(0x493)]['createInstance'](oe,this[_0x2cb070(0x4d2)],this[_0x2cb070(0x1e8)],_0x135951[0x0],_0x384011,this[_0x2cb070(0x221)],void 0x0);}throw _0x4edb36[_0x2cb070(0x2e0)];}throw _0x20c923['error'];}catch(_0xd8a1b3){return this[_0x2cb070(0x474)][_0x2cb070(0x2e0)](_0xd8a1b3),this[_0x2cb070(0x296)](!0x1);}}['onRemoteAck'](_0xc985d2){var _0x5ab0d9=_0x10928f;if(this[_0x5ab0d9(0x1c7)](),this[_0x5ab0d9(0x2dd)](_0xc985d2))return this['_injector'][_0x5ab0d9(0x314)](ee,this[_0x5ab0d9(0x4d2)],this[_0x5ab0d9(0x1e8)],null,this[_0x5ab0d9(0x4b8)],this['_awaitingChangeset'],[],this[_0x5ab0d9(0x221)]);this['_incrementRevisionNumber']();const _0x5d55fd=this[_0x5ab0d9(0x493)][_0x5ab0d9(0x314)](ae,this[_0x5ab0d9(0x4d2)],this['type'],this[_0x5ab0d9(0x4b8)],this[_0x5ab0d9(0x221)]);return _0x5d55fd['_schedule'](),_0x5d55fd[_0x5ab0d9(0x31b)](),_0x5d55fd;}[_0x10928f(0x496)](_0x5a29a6){var _0x178a03=_0x10928f;return this[_0x178a03(0x296)](!!(_0x5a29a6!=null&&_0x5a29a6['isPermissionRej']));}[_0x10928f(0x37d)](_0x2ff3a8){var _0xc6a65b=_0x10928f;return this['_maxTotalRetryTimeout']>Ti?this[_0xc6a65b(0x3c9)]():(this[_0xc6a65b(0x3e2)]=Ii(this['_resendTimeout'],{'timeout':this[_0xc6a65b(0x3e1)],'reqId':_0x2ff3a8['reqId']}),this['_sender']=this['_resendTimer'][_0xc6a65b(0x3cf)](({reqId:_0x4add4f,timeout:_0x4b38fa})=>{this['_resendWithTimeout'](_0x4add4f,_0x4b38fa);}),this);}[_0x10928f(0x3c9)](){var _0x1e1bb0=_0x10928f;return this['_clearScheduledTask'](),this['_injector'][_0x1e1bb0(0x314)](de,this[_0x1e1bb0(0x4d2)],this['type'],this[_0x1e1bb0(0x2c5)],this[_0x1e1bb0(0x4b8)],this[_0x1e1bb0(0x221)]);}['toggleOnline'](){return this;}[_0x10928f(0x1d7)](){var _0x48e84a=_0x10928f;this['_handler']['onSendChangeset'](this[_0x48e84a(0x2c5)]);}[_0x10928f(0x296)](_0x13c163){var _0x5084a7=_0x10928f;return this[_0x5084a7(0x1c7)](),this['_injector']['createInstance'](ue,this[_0x5084a7(0x4d2)],this[_0x5084a7(0x1e8)],null,this['_pendingMutations'],this[_0x5084a7(0x221)],_0x13c163);}['_resendWithTimeout'](_0x3103d0,_0x39a8da){var _0x18991a=_0x10928f,_0x235e0a;_0x3103d0===((_0x235e0a=this[_0x18991a(0x2c5)])==null?void 0x0:_0x235e0a[_0x18991a(0x2be)])&&(this[_0x18991a(0x1d7)](),this['_resendTimeout']=_0x39a8da===0x0?0x3e8:Math[_0x18991a(0x275)](_0x39a8da*0x2,gi),this[_0x18991a(0x2fd)]+=this[_0x18991a(0x3e1)]);}[_0x10928f(0x1c7)](){var _0x375ad5=_0x10928f,_0x2f0246;(_0x2f0246=this[_0x375ad5(0x34b)])==null||_0x2f0246['unsubscribe'](),this[_0x375ad5(0x3e1)]=0x0,this[_0x375ad5(0x2fd)]=0x0;}};oe=Se([w(0x6,_0x20ebd0(_0x419a48)),w(0x7,_0x20ebd0(_0x5e0e93)),w(0x8,_0x5583af),w(0x9,_0x5c483f),w(0xa,_0x2c7d08),w(0xb,_0x15daea),w(0xc,_0xd62013(X))],oe);let ue=class extends ge{constructor(_0x472b5a,_0x30251a,_0xa4b169,_0x46a65c,_0x113515,_0x5a6bb4=!0x1,_0x5f51be,_0x522b39,_0x1b4882,_0x4977c3,_0x55aa5,_0x4f3137,_0x1ec730){var _0x5ae365=_0x10928f;super(_0x472b5a,_0x30251a,_0xa4b169,_0x46a65c,_0x113515,_0x522b39,_0x1b4882,_0x4977c3,_0x1ec730),D(this,_0x5ae365(0x4bd),'conflict'),(this[_0x5ae365(0x469)]=_0x5a6bb4,this[_0x5ae365(0x1f2)]=_0x5f51be,this['_localeService']=_0x55aa5,this[_0x5ae365(0x2ce)]=_0x4f3137,this[_0x5ae365(0x36f)]=_0x1ec730,this[_0x5ae365(0x32e)](),this[_0x5ae365(0x2f8)](),this[_0x5ae365(0x2ad)]());}['appendMutation'](){return this;}[_0x10928f(0x364)](){return this;}[_0x10928f(0x278)](){return this;}[_0x10928f(0x496)](){return this;}[_0x10928f(0x37d)](){return this;}[_0x10928f(0x3c9)](){return this;}['toggleOnline'](){return this;}['resend'](){var _0x5817a4=_0x10928f;throw new Error(_0x5817a4(0x2cc));}[_0x10928f(0x2f8)](){var _0xa0b091=_0x10928f,_0x5561c4;(_0x5561c4=this[_0xa0b091(0x377)])==null||_0x5561c4[_0xa0b091(0x272)](this[_0xa0b091(0x4d2)],this[_0xa0b091(0x1e8)],null,[]);}[_0x10928f(0x32e)](){var _0x428855=_0x10928f;this['_isPermissionRej']?this[_0x428855(0x2ce)][_0x428855(0x23f)]({'id':re[_0x428855(0x466)]}):this[_0x428855(0x2ce)][_0x428855(0x23f)]({'id':re['CONFLICT']});}[_0x10928f(0x2ad)](){var _0x5862cb=_0x10928f;this['_permissionService'][_0x5862cb(0x3bf)](new _0x558844(this[_0x5862cb(0x4d2)])['id'],!0x1);}};ue=Se([w(0x6,_0x20ebd0(_0x58f210)),w(0x7,_0x5583af),w(0x8,_0x15daea),w(0x9,_0x20ebd0(_0x5e0e93)),w(0xa,_0x20ebd0(_0x58e80c)),w(0xb,_0x20ebd0(ve)),w(0xc,_0xd62013(X))],ue);let de=class extends ge{constructor(_0x50beea,_0xfce491,_0xe47165,_0x420394,_0xa492d4,_0x3affed,_0x2562c3,_0x4376d3,_0x56d877,_0x10ccbe){var _0x4e8f87=_0x10928f;super(_0x50beea,_0xfce491,_0xe47165,_0x420394,_0xa492d4,_0x4376d3,_0x56d877,_0x2562c3,_0x10ccbe),D(this,_0x4e8f87(0x4bd),_0x4e8f87(0x4c9)),this[_0x4e8f87(0x493)]=_0x3affed;}[_0x10928f(0x384)](_0x4fd655){var _0x1784f4=_0x10928f;return this[_0x1784f4(0x4b8)]['push'](_0x4fd655),this[_0x1784f4(0x31b)](),this;}[_0x10928f(0x364)](_0xed8ea3){var _0x405efa=_0x10928f;throw new Error(_0x405efa(0x33c));}[_0x10928f(0x278)](){var _0x474339=_0x10928f;throw new Error(_0x474339(0x300));}[_0x10928f(0x496)](){var _0x21ef9c=_0x10928f;throw new Error(_0x21ef9c(0x39f));}[_0x10928f(0x37d)](){return this;}[_0x10928f(0x3c9)](){return this;}[_0x10928f(0x36b)](){var _0x57c32b=_0x10928f;const {_injector:_0x5562d4,_pendingMutations:_0x1fcd69,_awaitingChangeset:_0x1b56e6,unitID:_0x4523fa,_handler:_0x129fd2,type:_0x389e85}=this,_0x215279=Oi(_0x5562d4,_0x4523fa,_0x389e85,_0x1b56e6,_0x1fcd69,_0x129fd2);return _0x215279 instanceof ae?_0x215279[_0x57c32b(0x216)]():(_0x215279 instanceof oe||_0x215279 instanceof le)&&_0x215279['resend'](),_0x215279;}['resend'](){var _0x31a266=_0x10928f;throw new Error(_0x31a266(0x2f0));}};de=Se([w(0x5,_0x20ebd0(_0x419a48)),w(0x6,_0x20ebd0(_0x5e0e93)),w(0x7,_0x5583af),w(0x8,_0x15daea),w(0x9,_0xd62013(X))],de);let ee=class extends ge{constructor(_0xf6c59a,_0x1b47cf,_0x59af98,_0x3ac77,_0x32addf,_0x5ade4e,_0x38530b,_0x2b4187,_0x2f5ea5,_0x385864,_0x34558f,_0x1e915b,_0x1a84bd,_0x5c1ff0){var _0x4e1594=_0x10928f;super(_0xf6c59a,_0x1b47cf,_0x59af98,_0x3ac77,_0x38530b,_0x34558f,_0x1e915b,_0x2f5ea5,_0x5c1ff0),D(this,_0x4e1594(0x4bd),_0x4e1594(0x262)),(this[_0x4e1594(0x2bd)]=_0x32addf,this['_queuedRemoteChangesets']=_0x5ade4e,this[_0x4e1594(0x493)]=_0x2b4187,this[_0x4e1594(0x474)]=_0x385864,this[_0x4e1594(0x258)]=_0x1a84bd,this['localCacheService']=_0x5c1ff0);}[_0x10928f(0x3d7)](_0x1773e4){var _0x4500e3=_0x10928f;try{const _0x316639=[..._0x1773e4,...this['_queuedRemoteChangesets']],_0x5890e4=[this[_0x4500e3(0x2c5)]||this['_acknowledgedAwaitingChangeset']][_0x4500e3(0x4be)](_0x37f98d=>!!_0x37f98d);let _0x55dc5f,_0x4acd2b;if(_0x5890e4['length']){const _0x2d2c39=this[_0x4500e3(0x258)]['transformChangesets'](_0x316639,_0x5890e4,!0x1);if(!_0xed144(_0x2d2c39))throw _0x2d2c39['error'];_0x55dc5f=_0x2d2c39[_0x4500e3(0x3f8)],_0x4acd2b=_0x2d2c39[_0x4500e3(0x43a)];}else _0x55dc5f=_0x316639,_0x4acd2b=[];let _0x30453c=this[_0x4500e3(0x4b8)];_0x55dc5f[_0x4500e3(0x46e)](_0x5ba923=>{var _0xdc9985=_0x4500e3;let _0x29753b;if(_0x30453c[_0xdc9985(0x22d)]){const _0x4a816a=this[_0xdc9985(0x258)][_0xdc9985(0x29f)](_0x5ba923,_0x30453c);if(!_0x5214af(_0x4a816a))throw _0x4a816a[_0xdc9985(0x2e0)];_0x29753b=_0x4a816a[_0xdc9985(0x3f8)],_0x30453c=_0x4a816a[_0xdc9985(0x2f3)];}else _0x29753b=_0x5ba923;this[_0xdc9985(0x49b)](_0x29753b);}),this[_0x4500e3(0x2bd)]&&this[_0x4500e3(0x44a)](),this['_awaitingChangeset']&&_0x4acd2b['length']&&(_0x4acd2b[0x0][_0x4500e3(0x2eb)]=this[_0x4500e3(0x2ff)]());let _0x3cbb16;if(this['_awaitingChangeset']&&_0x30453c['length']!==0x0)_0x3cbb16=this[_0x4500e3(0x493)][_0x4500e3(0x314)](oe,this[_0x4500e3(0x4d2)],this[_0x4500e3(0x1e8)],_0x4acd2b[0x0],_0x30453c,this[_0x4500e3(0x221)],void 0x0);else{if(this[_0x4500e3(0x2c5)]&&_0x30453c[_0x4500e3(0x22d)]===0x0)_0x4acd2b[0x0][_0x4500e3(0x2eb)]=this['_getCurrentRevision'](),_0x3cbb16=this['_injector'][_0x4500e3(0x314)](le,this['unitID'],this['type'],_0x4acd2b[0x0],this[_0x4500e3(0x221)]);else{if(_0x30453c[_0x4500e3(0x22d)]!==0x0){const _0x485b8a=this[_0x4500e3(0x493)][_0x4500e3(0x314)](ae,this[_0x4500e3(0x4d2)],this[_0x4500e3(0x1e8)],_0x30453c,this[_0x4500e3(0x221)]);_0x485b8a['_schedule'](),_0x3cbb16=_0x485b8a;}else _0x3cbb16=this[_0x4500e3(0x493)][_0x4500e3(0x314)](be,this[_0x4500e3(0x4d2)],this[_0x4500e3(0x1e8)],this[_0x4500e3(0x221)]);}}return _0x3cbb16['_updateLocalCache'](),_0x3cbb16;}catch(_0x57628f){return this[_0x4500e3(0x474)][_0x4500e3(0x2e0)](_0x4500e3(0x21b),'failed\x20to\x20apply\x20missed\x20changesets!',_0x57628f),this[_0x4500e3(0x493)][_0x4500e3(0x314)](ue,this['unitID'],this[_0x4500e3(0x1e8)],this[_0x4500e3(0x2c5)],this[_0x4500e3(0x4b8)],this[_0x4500e3(0x221)],!0x1);}}[_0x10928f(0x1d7)](){var _0x3ec9d6=_0x10928f;throw new Error(_0x3ec9d6(0x1fd));}[_0x10928f(0x384)](_0x27125e){return this['_pendingMutations']['push'](_0x27125e),this;}['onRemoteChangeset'](_0x1469bf){var _0x3e70d8=_0x10928f;return this[_0x3e70d8(0x44b)][_0x3e70d8(0x4b3)](_0x1469bf),this;}[_0x10928f(0x278)](_0x2c4c67){var _0x2319e8=_0x10928f;if(this[_0x2319e8(0x2c5)])return this[_0x2319e8(0x2bd)]=this[_0x2319e8(0x2c5)],this[_0x2319e8(0x2c5)]=null,this;throw new Error(_0x2319e8(0x232));}[_0x10928f(0x496)](_0x128da0){var _0x399e52=_0x10928f;return this[_0x399e52(0x296)](!!(_0x128da0!=null&&_0x128da0[_0x399e52(0x31d)]));}[_0x10928f(0x37d)](){return this;}['toggleOffline'](){var _0x13c600=_0x10928f;return this[_0x13c600(0x493)][_0x13c600(0x314)](de,this[_0x13c600(0x4d2)],this[_0x13c600(0x1e8)],this[_0x13c600(0x2c5)],this[_0x13c600(0x4b8)],this[_0x13c600(0x221)]);}['toggleOnline'](){return this;}[_0x10928f(0x296)](_0x9e602e){var _0x15d80c=_0x10928f;return this[_0x15d80c(0x493)][_0x15d80c(0x314)](ue,this[_0x15d80c(0x4d2)],this['type'],this[_0x15d80c(0x2c5)],this[_0x15d80c(0x4b8)],this[_0x15d80c(0x221)],_0x9e602e);}};ee=Se([w(0x7,_0x20ebd0(_0x419a48)),w(0x8,_0x20ebd0(_0x5e0e93)),w(0x9,_0x5c483f),w(0xa,_0x5583af),w(0xb,_0x15daea),w(0xc,_0x2c7d08),w(0xd,_0xd62013(X))],ee);function Oi(_0x2c6ebc,_0x58b21e,_0x2622e5,_0x5c199b,_0x1301a2,_0x4e9bf2){var _0x4fbd4e=_0x10928f;return _0x5c199b&&_0x1301a2[_0x4fbd4e(0x22d)]?_0x2c6ebc[_0x4fbd4e(0x314)](oe,_0x58b21e,_0x2622e5,_0x5c199b,_0x1301a2,_0x4e9bf2,void 0x0):_0x5c199b?_0x2c6ebc[_0x4fbd4e(0x314)](le,_0x58b21e,_0x2622e5,_0x5c199b,_0x4e9bf2):_0x1301a2[_0x4fbd4e(0x22d)]?_0x2c6ebc[_0x4fbd4e(0x314)](ae,_0x58b21e,_0x2622e5,_0x1301a2,_0x4e9bf2):_0x2c6ebc[_0x4fbd4e(0x314)](be,_0x58b21e,_0x2622e5,_0x4e9bf2);}var Vs=Object[_0x10928f(0x413)],At=(_0x161f13,_0x238bd6,_0x4bbae9,_0xcd74b1)=>{var _0x2f3e71=_0x10928f;for(var _0x46a758=_0xcd74b1>0x1?void 0x0:_0xcd74b1?Vs(_0x238bd6,_0x4bbae9):_0x238bd6,_0x158cd6=_0x161f13[_0x2f3e71(0x22d)]-0x1,_0x384ce6;_0x158cd6>=0x0;_0x158cd6--)(_0x384ce6=_0x161f13[_0x158cd6])&&(_0x46a758=_0x384ce6(_0x46a758)||_0x46a758);return _0x46a758;},$=(_0x32a3f8,_0x171df8)=>(_0x24cc70,_0x9fa3df)=>_0x171df8(_0x24cc70,_0x9fa3df,_0x32a3f8);let st=class extends _0x4154f8{constructor(_0x179aed,_0x29439f,_0x6833ee,_0x1cdf3b,_0xf09199,_0x5310f7,_0x3821d8,_0x52eb92,_0x29b005,_0x1e3ed9,_0x16d7e8,_0x3c28aa,_0x598525,_0x668456){var _0x197a11=_0x10928f;super(),D(this,'_state$',new _0x15a038(null)),D(this,_0x197a11(0x393),this['_state$'][_0x197a11(0x4c1)]()),D(this,_0x197a11(0x3bb)),D(this,_0x197a11(0x499),!0x1),D(this,_0x197a11(0x20e),''),D(this,'_changesetReqId',0x0),D(this,_0x197a11(0x30a),this['state$'][_0x197a11(0x392)](_0x5d95f9(_0x294829=>_0x294829?_0x294829['status']:Si[_0x197a11(0x41b)]),_0x3d6a96(0x1))),D(this,_0x197a11(0x450),!0x1),D(this,_0x197a11(0x1c9),[]),(this['unitID']=_0x179aed,this[_0x197a11(0x449)]=_0x29439f,this[_0x197a11(0x3ff)]=_0x6833ee,this['_injector']=_0x1cdf3b,this['_compressMutationService']=_0xf09199,this[_0x197a11(0x3cd)]=_0x5310f7,this['_revisionService']=_0x3821d8,this[_0x197a11(0x4e0)]=_0x52eb92,this[_0x197a11(0x3b8)]=_0x29b005,this[_0x197a11(0x474)]=_0x1e3ed9,this['_commandService']=_0x16d7e8,this[_0x197a11(0x1f2)]=_0x3c28aa,this[_0x197a11(0x3e9)]=_0x598525,this['_localCacheService']=_0x668456);}get['state'](){var _0x445b04=_0x10928f;return this[_0x445b04(0x3bb)];}async[_0x10928f(0x49e)](){var _0x4ae77a=_0x10928f;if(this[_0x4ae77a(0x409)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x4ae77a(0x4d8)]();}[_0x10928f(0x323)](){var _0x5d9d25=_0x10928f;return this[_0x5d9d25(0x499)]=!0x0,_0x464744(()=>{var _0x2c253a=_0x5d9d25;this['_collaborationPaused']=!0x1,this[_0x2c253a(0x33f)]();});}[_0x10928f(0x473)](_0x1ae52c){var _0x2a62b5=_0x10928f;this[_0x2a62b5(0x307)](_0x1ae52c);}[_0x10928f(0x4c8)](_0x3b675c){var _0x631c87=_0x10928f;this[_0x631c87(0x3bb)]=_0x3b675c,this[_0x631c87(0x43e)][_0x631c87(0x3ea)](_0x3b675c);}async[_0x10928f(0x4d8)](){var _0x302965=_0x10928f,_0x4f6e2e;this[_0x302965(0x4c8)](await this[_0x302965(0x244)]()),this['_singleActiveUnitService']&&((_0x4f6e2e=this['_singleActiveUnitService'])==null||_0x4f6e2e[_0x302965(0x454)](this['unitID']),this['disposeWithMe'](this[_0x302965(0x3e9)][_0x302965(0x2d0)](this[_0x302965(0x4d2)])[_0x302965(0x3cf)](_0xe4ccd9=>{var _0xece7cc=_0x302965;this[_0xece7cc(0x474)]['debug'](_0xece7cc(0x289),_0xece7cc(0x30f),_0xe4ccd9),_0xe4ccd9===mi[_0xece7cc(0x460)]?(this[_0xece7cc(0x4e0)][_0xece7cc(0x23f)]({'id':re[_0xece7cc(0x298)]}),this[_0xece7cc(0x1f2)][_0xece7cc(0x3bf)](new _0x558844(this[_0xece7cc(0x4d2)])['id'],!0x1),this['_permissionService'][_0xece7cc(0x305)](!0x1)):(this[_0xece7cc(0x1f2)]['updatePermissionPoint'](new _0x558844(this[_0xece7cc(0x4d2)])['id'],!0x0),this[_0xece7cc(0x1f2)][_0xece7cc(0x305)](!0x0));})));let _0x1be4e8=!0x1;return this[_0x302965(0x21a)](this[_0x302965(0x449)][_0x302965(0x208)][_0x302965(0x3cf)](_0xe0ad95=>{var _0x4750f1=_0x302965;_0xe0ad95===me['ONLINE']?this[_0x4750f1(0x3a8)](_0x1be4e8):_0xe0ad95===me[_0x4750f1(0x41b)]&&(_0x1be4e8=!0x0,this[_0x4750f1(0x1dd)]());})),this[_0x302965(0x21a)](this[_0x302965(0x449)]['event$'][_0x302965(0x3cf)](_0x3aad4f=>{var _0xcf198e=_0x302965;try{switch(_0x3aad4f[_0xcf198e(0x379)]){case _0x1f3ef0[_0xcf198e(0x2c6)]:{this[_0xcf198e(0x266)](_0x902fd2(_0x3aad4f[_0xcf198e(0x34a)]));break;}case _0x1f3ef0[_0xcf198e(0x3bc)]:{this['_onRemoteACK'](_0x3aad4f['data']);break;}case _0x1f3ef0['CHANGESET_REJ']:{this[_0xcf198e(0x1df)]();break;}case _0x1f3ef0[_0xcf198e(0x22f)]:{this[_0xcf198e(0x1d9)](_0x3aad4f[_0xcf198e(0x34a)]);break;}case _0x1f3ef0[_0xcf198e(0x4c5)]:{this[_0xcf198e(0x1f9)](_0x3aad4f[_0xcf198e(0x34a)][_0xcf198e(0x4a2)][_0xcf198e(0x2d5)](_0x3d98e2=>_0x902fd2(_0x3d98e2)));break;}case _0x1f3ef0[_0xcf198e(0x38f)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x1f3ef0['UNISCRIPT_RUN']:break;}}catch(_0x6bd59c){throw console[_0xcf198e(0x2e0)](_0xcf198e(0x308),_0x6bd59c),_0x6bd59c;}})),this[_0x302965(0x3bb)];}[_0x10928f(0x3f7)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x8080e4=_0x10928f;if(this[_0x8080e4(0x450)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x10928f(0x307)](_0x422167){var _0x10289b=_0x10928f;this[_0x10289b(0x476)](),this[_0x10289b(0x4c8)](this[_0x10289b(0x3bb)][_0x10289b(0x384)](_0x422167)),this[_0x10289b(0x3f7)]();}[_0x10928f(0x266)](_0x172ac4){var _0x24f677=_0x10928f;if(!(_0x172ac4['revision']<=this[_0x24f677(0x2f2)]['getCurrentRevOfUnit'](this[_0x24f677(0x4d2)]))){if(this[_0x24f677(0x499)]){this[_0x24f677(0x1c9)][_0x24f677(0x4b3)](_0x172ac4);return;}this[_0x24f677(0x250)](_0x172ac4);}}[_0x10928f(0x33f)](){var _0x4bfbd6=_0x10928f;this[_0x4bfbd6(0x1c9)][_0x4bfbd6(0x46e)](_0x584afd=>this['_applyRemoteChangeset'](_0x584afd)),this[_0x4bfbd6(0x1c9)]=[];}[_0x10928f(0x250)](_0x2ab45d){var _0x1d7e82=_0x10928f;const _0x3d7072=this[_0x1d7e82(0x396)][_0x1d7e82(0x416)][_0x1d7e82(0x43b)](this[_0x1d7e82(0x396)][_0x1d7e82(0x416)]['getInterceptPoints']()[_0x1d7e82(0x3eb)])(_0x2ab45d[_0x1d7e82(0x464)],null)||_0x2ab45d[_0x1d7e82(0x464)],_0x5ce6fa={..._0x2ab45d,'mutations':_0x3d7072};this['_lockTransition'](),this[_0x1d7e82(0x4c8)](this[_0x1d7e82(0x3bb)][_0x1d7e82(0x364)](_0x5ce6fa)),this[_0x1d7e82(0x3f7)]();}[_0x10928f(0x2c3)](_0x166142){var _0x5e4531=_0x10928f;this[_0x5e4531(0x476)](),this[_0x5e4531(0x4c8)](this[_0x5e4531(0x3bb)][_0x5e4531(0x278)](_0x166142)),this[_0x5e4531(0x3f7)]();}[_0x10928f(0x1df)](_0x365712){var _0x42e9bb=_0x10928f;this[_0x42e9bb(0x476)](),this[_0x42e9bb(0x4c8)](this[_0x42e9bb(0x3bb)]['onRemoteRej'](_0x365712)),this['_unlockTransition']();}['_onRemoteRetry'](_0x313d29){var _0x18a77a=_0x10928f;this['_lockTransition'](),this['_updateState'](this[_0x18a77a(0x3bb)][_0x18a77a(0x37d)](_0x313d29)),this[_0x18a77a(0x3f7)]();}[_0x10928f(0x1f9)](_0x3a8479){var _0x4d7d25=_0x10928f;if(!(this[_0x4d7d25(0x3bb)]instanceof ee))throw new TypeError(_0x4d7d25(0x386));const _0x10dcc3=_0x3a8479[_0x4d7d25(0x2d5)](_0x45a4ad=>{var _0x3c56e6=_0x4d7d25;const _0xd349e2=this[_0x3c56e6(0x396)][_0x3c56e6(0x416)][_0x3c56e6(0x43b)](this[_0x3c56e6(0x396)]['interceptor'][_0x3c56e6(0x2c8)]()[_0x3c56e6(0x3eb)])(_0x45a4ad['mutations'],null)||_0x45a4ad[_0x3c56e6(0x464)];return{..._0x45a4ad,'mutations':_0xd349e2};});this[_0x4d7d25(0x476)](),this[_0x4d7d25(0x4c8)](this[_0x4d7d25(0x3bb)][_0x4d7d25(0x3d7)](_0x10dcc3)),this[_0x4d7d25(0x3f7)]();}['_toggleOffline'](){var _0x3b5611=_0x10928f;this['_lockTransition'](),this[_0x3b5611(0x4c8)](this['_state'][_0x3b5611(0x3c9)]()),this['_unlockTransition']();}[_0x10928f(0x3a8)](_0x229ba1=!0x1){var _0x2b4875=_0x10928f;this[_0x2b4875(0x476)](),this[_0x2b4875(0x4c8)](this[_0x2b4875(0x3bb)][_0x2b4875(0x36b)]()),this[_0x2b4875(0x3f7)]();const _0xa15a9d=this[_0x2b4875(0x3bb)];_0x229ba1&&_0xa15a9d instanceof be&&(this[_0x2b4875(0x476)](),this['_updateState'](_0xa15a9d[_0x2b4875(0x237)]()),this[_0x2b4875(0x3f7)]());}async[_0x10928f(0x244)](){return new Promise(_0x3d8444=>{var _0x4d4af0=_0x5764;this[_0x4d4af0(0x449)][_0x4d4af0(0x208)]['pipe'](_0x31f42d(0x1))[_0x4d4af0(0x3cf)](async _0x359029=>{var _0x1237d5=_0x4d4af0;_0x3d8444(await this[_0x1237d5(0x40a)](_0x359029===me[_0x1237d5(0x491)]));});});}[_0x10928f(0x48e)](){var _0xf1c04=_0x10928f;const _0x5243c8=this[_0xf1c04(0x4d2)];return{'onStateChange':(_0x558447,_0x21ac2e)=>{var _0x1feb2f=_0xf1c04;if(_0x558447!==this[_0x1feb2f(0x3bb)])throw new Error(_0x1feb2f(0x2ee)+_0x558447[_0x1feb2f(0x4bd)]+'\x0aAfter:\x20'+_0x21ac2e[_0x1feb2f(0x4bd)]+'\x0aCurrent:\x20'+this['_state'][_0x1feb2f(0x4bd)]);this[_0x1feb2f(0x4c8)](_0x21ac2e);},'onSendChangeset':_0x4fbe7d=>{var _0x3e86b2=_0xf1c04;_0x4fbe7d['sid']||(_0x4fbe7d['sid']=this[_0x3e86b2(0x20e)],_0x4fbe7d[_0x3e86b2(0x2be)]=++this['_changesetReqId']);const _0x448cd7={'eventID':_0x1f3ef0[_0x3e86b2(0x283)],'data':{'unitID':_0x4fbe7d[_0x3e86b2(0x4d2)],'unitType':this[_0x3e86b2(0x3ff)],'changeset':_0x4fbe7d,'memberID':this[_0x3e86b2(0x449)][_0x3e86b2(0x1d4)]()}};this['session'][_0x3e86b2(0x37a)](_0x448cd7,this['unitID']);},'onMissingChangesets':({from:_0x2ebf8a,to:_0x50c2b9})=>{var _0x216533=_0xf1c04;this[_0x216533(0x474)][_0x216533(0x238)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x2ebf8a+_0x216533(0x383)+_0x50c2b9);const _0x101eec={'eventID':_0x1f3ef0['FETCH_MISSING'],'data':{'unitID':_0x5243c8,'unitType':this['_type'],'from':_0x2ebf8a,'to':_0x50c2b9}};this[_0x216533(0x449)][_0x216533(0x37a)](_0x101eec,this[_0x216533(0x4d2)]);}};}async[_0x10928f(0x40a)](_0x4f8e5d){var _0xe27695=_0x10928f,_0x100711,_0x1c8543,_0x1fa8f9;const _0x31a9eb=await((_0x100711=this[_0xe27695(0x377)])==null?void 0x0:_0x100711[_0xe27695(0x3c6)](this[_0xe27695(0x4d2)])),_0x388608=(_0x1c8543=_0x31a9eb==null?void 0x0:_0x31a9eb[_0xe27695(0x464)])!=null?_0x1c8543:[],_0x5bbc4c=(_0x1fa8f9=_0x31a9eb==null?void 0x0:_0x31a9eb[_0xe27695(0x4ce)])!=null?_0x1fa8f9:null,_0x43da8e=!!(_0x5bbc4c!=null&&_0x5bbc4c[_0xe27695(0x20d)])&&!!(_0x5bbc4c!=null&&_0x5bbc4c[_0xe27695(0x2be)]);this[_0xe27695(0x20e)]=_0x43da8e?_0x5bbc4c[_0xe27695(0x20d)]:_0x3573f7(),this[_0xe27695(0x340)]=_0x43da8e?_0x5bbc4c['reqId']:0x0;const _0x354d6b=this[_0xe27695(0x4d2)];try{this[_0xe27695(0x4a5)](_0x5bbc4c,_0x388608);}catch(_0xfa3ee0){this['_logService'][_0xe27695(0x2e0)](_0xfa3ee0);}const _0x54f15b=this['_createHandler']();if(_0x4f8e5d){const _0x545ccd=Oi(this[_0xe27695(0x493)],_0x354d6b,this['_type'],_0x5bbc4c,_0x388608,_0x54f15b);return _0x545ccd instanceof ae?_0x545ccd['_schedule']():(_0x545ccd instanceof oe||_0x545ccd instanceof le)&&_0x545ccd[_0xe27695(0x1d7)](),_0x545ccd;}return this[_0xe27695(0x493)][_0xe27695(0x314)](de,_0x354d6b,this[_0xe27695(0x3ff)],_0x5bbc4c,_0x388608,_0x54f15b);}[_0x10928f(0x4a5)](_0x549880,_0x48a81d){var _0x5debbf=_0x10928f,_0x2fe139,_0x2a35e9;const _0x1abb94=this[_0x5debbf(0x396)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x5debbf(0x416)][_0x5debbf(0x2c8)]()['COMPRESS_MUTATION_APPLY']);(_0x2fe139=_0x1abb94((_0x549880==null?void 0x0:_0x549880['mutations'])||[],null))==null||_0x2fe139[_0x5debbf(0x46e)](_0x1dba66=>this[_0x5debbf(0x4b6)][_0x5debbf(0x3a9)](_0x1dba66['id'],_0x1dba66['params'])),(_0x2a35e9=_0x1abb94(_0x48a81d||[],null))==null||_0x2a35e9[_0x5debbf(0x46e)](_0x15164b=>this[_0x5debbf(0x4b6)][_0x5debbf(0x3a9)](_0x15164b['id'],_0x15164b[_0x5debbf(0x303)]));}};st=At([$(0x3,_0x20ebd0(_0x419a48)),$(0x4,_0x20ebd0(_0x1e899c)),$(0x5,_0x20ebd0(_0x58e80c)),$(0x6,_0x20ebd0(_0x5e0e93)),$(0x7,_0x20ebd0(ve)),$(0x8,_0x13ba10),$(0x9,_0x5c483f),$(0xa,_0x5583af),$(0xb,_0x58f210),$(0xc,_0xd62013(_t)),$(0xd,_0xd62013(X))],st);let It=class extends st{constructor(_0x9b8f5a,_0xd52f17,_0x8cb2b5,_0x3990b1,_0x222e71,_0x5074fe,_0x10eca4,_0x462f23,_0x3e487a,_0x4be0fe,_0x135413,_0x27ad39,_0x55886e,_0x2b8a05){super(_0x9b8f5a,_0x8cb2b5,_0xd52f17,_0x3990b1,_0x222e71,_0x5074fe,_0x10eca4,_0x462f23,_0x3e487a,_0x4be0fe,_0x135413,_0x27ad39,_0x55886e,_0x2b8a05),D(this,'_handlerCallback',null),(this['unitID']=_0x9b8f5a,this['type']=_0xd52f17);}[_0x10928f(0x431)](_0x4ed231){var _0x5b6f4b=_0x10928f;this[_0x5b6f4b(0x349)]=_0x4ed231;}['dispose'](){var _0xe972dc=_0x10928f;this[_0xe972dc(0x349)]=null,super['dispose']();}['_createHandler'](){var _0x13216d=_0x10928f;const _0x5c451b=super[_0x13216d(0x48e)]();return _0x5c451b[_0x13216d(0x201)]=_0x191833=>{var _0x42f0d4=_0x13216d,_0x4eb988,_0x4ffef8;return(_0x4ffef8=(_0x4eb988=this[_0x42f0d4(0x349)])==null?void 0x0:_0x4eb988[_0x42f0d4(0x201)])==null?void 0x0:_0x4ffef8['call'](_0x4eb988,_0x191833);},_0x5c451b[_0x13216d(0x407)]=_0x2247f0=>{var _0x32507e=_0x13216d,_0x5389aa,_0x2c9f2a;return(_0x2c9f2a=(_0x5389aa=this[_0x32507e(0x349)])==null?void 0x0:_0x5389aa[_0x32507e(0x407)])==null?void 0x0:_0x2c9f2a['call'](_0x5389aa,_0x2247f0);},_0x5c451b[_0x13216d(0x2b5)]=_0x556859=>{var _0x1eb5c5=_0x13216d,_0x4a219d,_0x1aec5b;return(_0x1aec5b=(_0x4a219d=this[_0x1eb5c5(0x349)])==null?void 0x0:_0x4a219d[_0x1eb5c5(0x2b5)])==null?void 0x0:_0x1aec5b[_0x1eb5c5(0x1ec)](_0x4a219d,_0x556859);},_0x5c451b['onSyncEditingCollabCursor']=_0x4e02bc=>{var _0x219483=_0x13216d,_0x3fa62d,_0x274287;return(_0x274287=(_0x3fa62d=this[_0x219483(0x349)])==null?void 0x0:_0x3fa62d[_0x219483(0x1c8)])==null?void 0x0:_0x274287['call'](_0x3fa62d,_0x4e02bc);},_0x5c451b[_0x13216d(0x1cc)]=_0x1c675b=>{var _0x42264b=_0x13216d,_0x5af9a5,_0x153e8f,_0xf174eb;if(!((_0x5af9a5=this[_0x42264b(0x349)])!=null&&_0x5af9a5[_0x42264b(0x1cc)]))throw new Error(_0x42264b(0x293));return(_0xf174eb=(_0x153e8f=this[_0x42264b(0x349)])==null?void 0x0:_0x153e8f[_0x42264b(0x1cc)])==null?void 0x0:_0xf174eb[_0x42264b(0x1ec)](_0x153e8f,_0x1c675b);},_0x5c451b[_0x13216d(0x2a6)]=_0x14d139=>{var _0x113f5b=_0x13216d,_0x1144f6,_0xc03bf4,_0x48a0c5;if(!((_0x1144f6=this[_0x113f5b(0x349)])!=null&&_0x1144f6[_0x113f5b(0x2a6)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x48a0c5=(_0xc03bf4=this[_0x113f5b(0x349)])==null?void 0x0:_0xc03bf4[_0x113f5b(0x2a6)])==null?void 0x0:_0x48a0c5[_0x113f5b(0x1ec)](_0xc03bf4,_0x14d139);},_0x5c451b;}async[_0x10928f(0x4d8)](){var _0x34d022=_0x10928f;const _0x5a8dd1=await super[_0x34d022(0x4d8)]();return this[_0x34d022(0x21a)](this[_0x34d022(0x4b6)][_0x34d022(0x331)]((_0x50beb1,_0x52969c)=>{var _0xf8a050=_0x34d022;if(_0x50beb1[_0xf8a050(0x1e8)]!==_0x47c0d8[_0xf8a050(0x209)]||_0x52969c!=null&&_0x52969c['fromCollab']||_0x52969c!=null&&_0x52969c['onlyLocal']||_0x50beb1['id']===_0x3c2719['id'])return;const _0x222bfb=_0x50beb1[_0xf8a050(0x303)];if((_0x222bfb==null?void 0x0:_0x222bfb['unitId'])!==this[_0xf8a050(0x4d2)])return;const _0x305232=_0x50beb1,_0x1dac06=this[_0xf8a050(0x396)][_0xf8a050(0x416)][_0xf8a050(0x43b)](this[_0xf8a050(0x396)][_0xf8a050(0x416)][_0xf8a050(0x2c8)]()['COMPRESS_MUTATION_SEND'])([_0x305232],this[_0xf8a050(0x3b8)])||[_0x305232];this[_0xf8a050(0x307)](_0x1dac06[0x0]);})),_0x5a8dd1;}};It=At([$(0x3,_0x20ebd0(_0x419a48)),$(0x4,_0x20ebd0(_0x1e899c)),$(0x5,_0x20ebd0(_0x58e80c)),$(0x6,_0x20ebd0(_0x5e0e93)),$(0x7,_0x20ebd0(ve)),$(0x8,_0x13ba10),$(0x9,_0x5c483f),$(0xa,_0x5583af),$(0xb,_0x58f210),$(0xc,_0xd62013(_t)),$(0xd,_0xd62013(X))],It);let St=class extends st{constructor(_0x189841,_0x43dc80,_0x151977,_0x23d69b,_0x51052c,_0x5320f6,_0x286f6e,_0x10794c,_0x8a393f,_0x40d0ea,_0x174ce0,_0x208e26,_0x5eff58,_0xae7330,_0x40d207){var _0x56d76c=_0x10928f;super(_0x189841,_0x151977,_0x43dc80,_0x23d69b,_0x51052c,_0x5320f6,_0x286f6e,_0x8a393f,_0x40d0ea,_0x174ce0,_0x208e26,_0x5eff58,_0xae7330,_0x40d207),this[_0x56d76c(0x4d2)]=_0x189841,this[_0x56d76c(0x1e8)]=_0x43dc80,this['_sheetTransformSelectionsService']=_0x10794c;}['_createHandler'](){var _0x1271f0=_0x10928f;const _0x56be63=super[_0x1271f0(0x48e)]();return _0x56be63[_0x1271f0(0x2b5)]=_0x395fde=>this[_0x1271f0(0x27c)][_0x1271f0(0x236)](_0x395fde),_0x56be63;}async['_init'](){var _0x2b6f3d=_0x10928f;const _0x4e3795=await super['_init']();return this[_0x2b6f3d(0x21a)](this['_commandService'][_0x2b6f3d(0x331)]((_0x5846a8,_0x5b22a3)=>{var _0x373f06=_0x2b6f3d;if(_0x5846a8[_0x373f06(0x1e8)]!==_0x47c0d8['MUTATION']||_0x5b22a3!=null&&_0x5b22a3[_0x373f06(0x2a7)]||_0x5b22a3!=null&&_0x5b22a3['onlyLocal'])return;const _0x5b8dde=_0x5846a8[_0x373f06(0x303)];if((_0x5b8dde==null?void 0x0:_0x5b8dde[_0x373f06(0x3f5)])!==this[_0x373f06(0x4d2)])return;const _0x1b86eb=_0x5846a8,_0x557377=this[_0x373f06(0x396)][_0x373f06(0x416)][_0x373f06(0x43b)](this[_0x373f06(0x396)][_0x373f06(0x416)][_0x373f06(0x2c8)]()[_0x373f06(0x26d)])([_0x1b86eb],this['_univerInstanceService'])||[_0x1b86eb];this[_0x373f06(0x307)](_0x557377[0x0]);})),_0x4e3795;}};St=At([$(0x3,_0x20ebd0(_0x419a48)),$(0x4,_0x20ebd0(_0x1e899c)),$(0x5,_0x20ebd0(_0x58e80c)),$(0x6,_0x20ebd0(_0x5e0e93)),$(0x7,_0x20ebd0(it)),$(0x8,_0x20ebd0(ve)),$(0x9,_0x13ba10),$(0xa,_0x5c483f),$(0xb,_0x5583af),$(0xc,_0x58f210),$(0xd,_0xd62013(_t)),$(0xe,_0xd62013(X))],St);const Gs=_0x2351ee(_0x10928f(0x4aa));function Ws(_0x176603){var _0x31da7e=_0x10928f,_0x459369,_0x1c37d8,_0x18989e,_0x22d128,_0x2de8a0;const _0x254179=_0x176603['data'],_0x3f3aa1=JSON[_0x31da7e(0x242)](_0x254179);switch(_0x3f3aa1[_0x31da7e(0x2ed)]){case j[_0x31da7e(0x301)]:case j[_0x31da7e(0x3b9)]:{const _0x2f1649=_0x3f3aa1[_0x31da7e(0x33d)];return{..._0x3f3aa1,'data':_0x2f1649,'cmd':_0x3f3aa1['cmd']};}case j[_0x31da7e(0x1e1)]:{const _0x4ae1db=_0x3f3aa1[_0x31da7e(0x38c)];return{..._0x3f3aa1,'data':_0x4ae1db,'cmd':_0x3f3aa1[_0x31da7e(0x2ed)]};}case j[_0x31da7e(0x310)]:{const _0x23c2fc=_0x3f3aa1[_0x31da7e(0x451)];switch(_0x23c2fc[_0x31da7e(0x379)]){case _0x1f3ef0[_0x31da7e(0x38f)]:return{..._0x3f3aa1,'data':{..._0x23c2fc,'data':(_0x459369=_0x23c2fc[_0x31da7e(0x49a)])==null?void 0x0:_0x459369['cs']},'cmd':_0x3f3aa1['cmd']};case _0x1f3ef0['CHANGESET_ACK']:return{..._0x3f3aa1,'data':{..._0x23c2fc,'data':(_0x1c37d8=_0x23c2fc[_0x31da7e(0x457)])==null?void 0x0:_0x1c37d8['cs']},'cmd':_0x3f3aa1['cmd']};case _0x1f3ef0['NEW_CHANGESETS']:return{..._0x3f3aa1,'data':{..._0x23c2fc,'data':(_0x18989e=_0x23c2fc[_0x31da7e(0x452)])==null?void 0x0:_0x18989e['cs']},'cmd':_0x3f3aa1[_0x31da7e(0x2ed)]};case _0x1f3ef0['CHANGESET_REJ']:return{..._0x3f3aa1,'data':{..._0x23c2fc,'data':(_0x22d128=_0x23c2fc[_0x31da7e(0x46c)])==null?void 0x0:_0x22d128['cs']},'cmd':_0x3f3aa1[_0x31da7e(0x2ed)]};case _0x1f3ef0[_0x31da7e(0x22f)]:return{..._0x3f3aa1,'data':{..._0x23c2fc,'data':(_0x2de8a0=_0x23c2fc[_0x31da7e(0x430)])==null?void 0x0:_0x2de8a0['cs']},'cmd':_0x3f3aa1['cmd']};case _0x1f3ef0[_0x31da7e(0x23a)]:return{..._0x3f3aa1,'data':{..._0x23c2fc,'data':_0x23c2fc['updateCursorEvent']},'cmd':_0x3f3aa1['cmd']};case _0x1f3ef0['USERS_ENTER']:return{..._0x3f3aa1,'data':{..._0x23c2fc,'data':_0x23c2fc[_0x31da7e(0x3d1)]},'cmd':_0x3f3aa1[_0x31da7e(0x2ed)]};case _0x1f3ef0[_0x31da7e(0x270)]:return{..._0x3f3aa1,'data':{..._0x23c2fc,'data':_0x23c2fc[_0x31da7e(0x4a9)]},'cmd':_0x3f3aa1[_0x31da7e(0x2ed)]};case _0x1f3ef0[_0x31da7e(0x36a)]:return{..._0x3f3aa1,'data':{..._0x23c2fc,'data':_0x23c2fc[_0x31da7e(0x365)]},'cmd':_0x3f3aa1['cmd']};case _0x1f3ef0['LIVESHARE_FETCH_OPERATIONS']:case _0x1f3ef0[_0x31da7e(0x402)]:return{..._0x3f3aa1,'data':{..._0x23c2fc,'data':_0x23c2fc[_0x31da7e(0x273)]},'cmd':_0x3f3aa1[_0x31da7e(0x2ed)]};case _0x1f3ef0['LIVESHARE_TERMINATE']:return{..._0x3f3aa1,'data':{..._0x23c2fc,'data':_0x23c2fc[_0x31da7e(0x365)]},'cmd':_0x3f3aa1['cmd']};case _0x1f3ef0[_0x31da7e(0x344)]:return{..._0x3f3aa1,'data':_0x23c2fc,'cmd':_0x3f3aa1[_0x31da7e(0x2ed)]};case _0x1f3ef0[_0x31da7e(0x44e)]:return{..._0x3f3aa1,'data':{..._0x23c2fc,'data':_0x23c2fc[_0x31da7e(0x376)]},'cmd':_0x3f3aa1[_0x31da7e(0x2ed)]};case _0x1f3ef0[_0x31da7e(0x482)]:return{..._0x3f3aa1,'data':{..._0x23c2fc,'data':_0x23c2fc['updatePermissionObjEvent']},'cmd':_0x3f3aa1['cmd']};case _0x1f3ef0[_0x31da7e(0x31a)]:return{..._0x3f3aa1,'data':{..._0x23c2fc,'data':_0x23c2fc[_0x31da7e(0x363)]},'cmd':_0x3f3aa1[_0x31da7e(0x2ed)]};case _0x1f3ef0[_0x31da7e(0x2b4)]:return{..._0x3f3aa1,'data':{..._0x23c2fc,'data':_0x23c2fc[_0x31da7e(0x2a5)]},'cmd':_0x3f3aa1['cmd']};default:return _0x3f3aa1;}}default:return _0x3f3aa1;}}function Ys(_0x5cb186){var _0x196d9f=_0x10928f;switch(_0x5cb186[_0x196d9f(0x2ed)]){case j['HEARTBEAT']:case j[_0x196d9f(0x3b9)]:return JSON[_0x196d9f(0x4d1)]({'cmd':_0x5cb186[_0x196d9f(0x2ed)],'routeKey':_0x5cb186[_0x196d9f(0x346)]});case j[_0x196d9f(0x4c7)]:{let _0x5024b2;switch(_0x5cb186[_0x196d9f(0x34a)][_0x196d9f(0x379)]){case _0x1f3ef0['UPDATE_CURSOR']:{_0x5024b2={'eventID':_0x1f3ef0[_0x196d9f(0x23a)],'updateCursorEvent':_0x5cb186['data'][_0x196d9f(0x34a)]};break;}case _0x1f3ef0[_0x196d9f(0x270)]:{_0x5024b2={'eventID':_0x1f3ef0[_0x196d9f(0x270)],'leaveEvent':_0x5cb186[_0x196d9f(0x34a)]['data']};break;}case _0x1f3ef0[_0x196d9f(0x230)]:{_0x5024b2={'eventID':_0x1f3ef0['USERS_ENTER'],'joinEvent':_0x5cb186[_0x196d9f(0x34a)][_0x196d9f(0x34a)]};break;}case _0x1f3ef0['LIVESHARE_NEW_HOST']:{_0x5024b2={'eventID':_0x1f3ef0[_0x196d9f(0x36a)],'liveShareNewHost':_0x5cb186['data'][_0x196d9f(0x34a)]};break;}case _0x1f3ef0['LIVESHARE_OPERATION']:{_0x5024b2={'eventID':_0x1f3ef0[_0x196d9f(0x402)],'liveShareOperation':_0x5cb186[_0x196d9f(0x34a)]['data']};break;}case _0x1f3ef0[_0x196d9f(0x37f)]:{_0x5024b2={'eventID':_0x1f3ef0[_0x196d9f(0x37f)],'liveShareTerminate':_0x5cb186[_0x196d9f(0x34a)][_0x196d9f(0x34a)]};break;}case _0x1f3ef0[_0x196d9f(0x1eb)]:{_0x5024b2={'eventID':_0x1f3ef0[_0x196d9f(0x1eb)],'liveShareRequestHost':_0x5cb186[_0x196d9f(0x34a)]['data']};break;}case _0x1f3ef0[_0x196d9f(0x2b2)]:{_0x5024b2={'eventID':_0x1f3ef0[_0x196d9f(0x2b2)]};break;}default:_0x5024b2={'eventID':_0x5cb186['data'][_0x196d9f(0x379)]};}return JSON[_0x196d9f(0x4d1)]({'cmd':_0x5cb186[_0x196d9f(0x2ed)],'routeKey':_0x5cb186['routeKey'],'collaMsg':_0x5024b2});}case j['JOIN']:return JSON[_0x196d9f(0x4d1)]({'cmd':_0x5cb186['cmd'],'routeKey':_0x5cb186[_0x196d9f(0x346)],'joinReq':_0x5cb186[_0x196d9f(0x34a)]});case j['LEAVE']:return JSON[_0x196d9f(0x4d1)]({'cmd':_0x5cb186['cmd'],'routeKey':_0x5cb186[_0x196d9f(0x346)],'leaveReq':_0x5cb186[_0x196d9f(0x34a)]});default:throw new Error(_0x196d9f(0x35a));}}var Ks=Object[_0x10928f(0x413)],qs=(_0x425962,_0x517e89,_0x4f73ef,_0x535704)=>{var _0x144352=_0x10928f;for(var _0x142bf9=_0x535704>0x1?void 0x0:_0x535704?Ks(_0x517e89,_0x4f73ef):_0x517e89,_0x2b4af8=_0x425962[_0x144352(0x22d)]-0x1,_0x221d7a;_0x2b4af8>=0x0;_0x2b4af8--)(_0x221d7a=_0x425962[_0x2b4af8])&&(_0x142bf9=_0x221d7a(_0x142bf9)||_0x142bf9);return _0x142bf9;},ye=(_0xa3caba,_0x5dd59c)=>(_0x56f776,_0x457e0e)=>_0x5dd59c(_0x56f776,_0x457e0e,_0xa3caba);const Ri=_0x2351ee(_0x10928f(0x337));function zs(_0x27b738,_0x45e331,_0x1b9ec8){var _0x169b78=_0x10928f;return _0x27b738+'/'+_0x45e331+_0x169b78(0x39e)+_0x1b9ec8+_0x169b78(0x2e6);}let Gt=class extends _0x57261c{constructor(_0x1c61fd,_0x3d5490,_0x3c9f8a,_0x4e65a9,_0x27aa0f){var _0x4be25c=_0x10928f;super(),this['_injector']=_0x1c61fd,this['_httpService']=_0x3d5490,this[_0x4be25c(0x3b7)]=_0x3c9f8a,this[_0x4be25c(0x474)]=_0x4e65a9,this['_snapshotServerService']=_0x27aa0f;}[_0x10928f(0x292)](_0x53d859){var _0x4caa9c=_0x10928f;const _0x33d194=this[_0x4caa9c(0x493)][_0x4caa9c(0x207)](_0x43ea27);if(!_0x33d194)throw new Error(_0x4caa9c(0x390));const _0x581541=_0x33d194[_0x4caa9c(0x4a8)](_0x53d859);if(!_0x581541)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x109889=new _0x32c4e1(),_0x52dda5=new _0x58c94b();_0x109889[_0x4caa9c(0x3a7)](_0x581541[_0x4caa9c(0x29a)]['subscribe'](_0x36188f=>_0x52dda5[_0x4caa9c(0x3ea)](_0x36188f))),_0x109889[_0x4caa9c(0x3a7)](_0x464744(()=>_0x52dda5['complete']()));const _0x2c2844=new _0x58c94b();_0x109889[_0x4caa9c(0x3a7)](_0x581541[_0x4caa9c(0x44c)][_0x4caa9c(0x3cf)](_0x208751=>_0x2c2844['next'](_0x208751))),_0x109889['add'](_0x464744(()=>_0x2c2844[_0x4caa9c(0x317)]()));const _0x2dfe21=new _0x58c94b();_0x109889[_0x4caa9c(0x3a7)](_0x581541[_0x4caa9c(0x1e6)][_0x4caa9c(0x3cf)](_0x45cff5=>{const _0xbd35ec=Ws(_0x45cff5);_0x2dfe21['next'](_0xbd35ec);})),_0x109889[_0x4caa9c(0x3a7)](_0x464744(()=>_0x2dfe21[_0x4caa9c(0x317)]()));let _0x3fad5d;const _0x31bc51=()=>{var _0x1ab9b3=_0x4caa9c;_0x2c2844['next'](new Event(_0x1ab9b3(0x34c))),_0x52dda5[_0x1ab9b3(0x3ea)](new Event('connection\x20error')),_0x3fad5d['close']();};return _0x3fad5d={'memberID':'','close$':_0x52dda5[_0x4caa9c(0x4c1)](),'error$':_0x2c2844[_0x4caa9c(0x4c1)](),'open$':_0x581541[_0x4caa9c(0x311)],'message$':_0x2dfe21[_0x4caa9c(0x4c1)](),'send':_0xcdfe9b=>{var _0x3ce5e1=_0x4caa9c;if(_0xcdfe9b[_0x3ce5e1(0x2ed)]===j[_0x3ce5e1(0x4c7)]){if(_0xcdfe9b['data'][_0x3ce5e1(0x379)]===_0x1f3ef0['SUBMIT_CHANGESET']){this[_0x3ce5e1(0x333)](_0x3fad5d,_0xcdfe9b['data'])['catch'](_0x3c766e=>{var _0xdf6ce6=_0x3ce5e1;this[_0xdf6ce6(0x474)][_0xdf6ce6(0x2e0)](_0x3c766e),_0x31bc51();});return;}if(_0xcdfe9b[_0x3ce5e1(0x34a)][_0x3ce5e1(0x379)]===_0x1f3ef0[_0x3ce5e1(0x3d3)]){const _0x27aa4f=_0xcdfe9b[_0x3ce5e1(0x34a)];this[_0x3ce5e1(0x30d)](_0x27aa4f)[_0x3ce5e1(0x2bf)](_0x5b2b53=>{var _0x544d7a=_0x3ce5e1;_0x2dfe21[_0x544d7a(0x3ea)]({'cmd':j[_0x544d7a(0x310)],'code':Ee['OK'],'routeKey':_0x27aa4f['data'][_0x544d7a(0x4d2)],'routeType':'','data':{'eventID':_0x1f3ef0[_0x544d7a(0x4c5)],'data':{'changesets':_0x5b2b53}}});})['catch'](_0x55ca9e=>{var _0x24576a=_0x3ce5e1;this[_0x24576a(0x474)][_0x24576a(0x2e0)](_0x55ca9e),_0x31bc51();});return;}}_0x581541[_0x3ce5e1(0x37a)](Ys(_0xcdfe9b));},'close':()=>{var _0x374dac=_0x4caa9c;_0x581541[_0x374dac(0x1f8)](),_0x109889['dispose']();}},_0x3fad5d;}async[_0x10928f(0x333)](_0x46177d,_0x1827ed){var _0x546952=_0x10928f,_0x462dcb;const {unitType:_0x247d48,unitID:_0x1a250e,changeset:_0x1b2a8a}=_0x1827ed[_0x546952(0x34a)],_0x5a7a23={'unitID':_0x1a250e,'memberID':_0x46177d[_0x546952(0x2ae)],'type':_0x247d48,'changeset':_0x36413c(_0x1b2a8a)},_0x2be101=this[_0x546952(0x3b7)]['getConfig'](K),_0x229819=zs((_0x462dcb=_0x2be101==null?void 0x0:_0x2be101[_0x546952(0x33e)])!=null?_0x462dcb:Cs,_0x247d48,_0x1a250e);try{await this[_0x546952(0x2a1)]['post'](_0x229819,{'body':_0x5a7a23});}catch(_0x42ef1b){throw this[_0x546952(0x474)][_0x546952(0x2e0)](_0x546952(0x440),_0x546952(0x1fa)),_0x42ef1b;}}async[_0x10928f(0x30d)](_0x2dfab9){var _0x1b042a=_0x10928f;const {unitID:_0x674330,from:_0x1cbb06,to:_0x795d7f,unitType:_0x3cbda7}=_0x2dfab9['data'];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x674330,'type':_0x3cbda7,'from':_0x1cbb06,'to':_0x795d7f}))[_0x1b042a(0x4a2)][_0x1b042a(0x2d5)](_0xb5c67b=>((_0xb5c67b[_0x1b042a(0x464)]===null||_0xb5c67b['mutations']===void 0x0)&&(_0xb5c67b['mutations']=[]),_0xb5c67b));}};Gt=qs([ye(0x0,_0x20ebd0(_0x419a48)),ye(0x1,_0x20ebd0(_0xce4c2c)),ye(0x2,_0x1ed468),ye(0x3,_0x5c483f),ye(0x4,_0x1ce4a1)],Gt);var Xs=Object[_0x10928f(0x413)],Js=(_0x44abbc,_0x57e33b,_0x3e5376,_0x28df1e)=>{var _0x2d4a74=_0x10928f;for(var _0xf480e=_0x28df1e>0x1?void 0x0:_0x28df1e?Xs(_0x57e33b,_0x3e5376):_0x57e33b,_0x1d7d3a=_0x44abbc[_0x2d4a74(0x22d)]-0x1,_0x440c3f;_0x1d7d3a>=0x0;_0x1d7d3a--)(_0x440c3f=_0x44abbc[_0x1d7d3a])&&(_0xf480e=_0x440c3f(_0xf480e)||_0xf480e);return _0xf480e;},Re=(_0x460ca5,_0x21fdd4)=>(_0x406207,_0x1728ce)=>_0x21fdd4(_0x406207,_0x1728ce,_0x460ca5);let we=class extends _0x57261c{constructor(_0x14680c,_0x1c17da,_0x304663,_0x3126c1,_0x5325c5,_0x5ab628){var _0x1a5e6c=_0x10928f;super(),D(this,_0x1a5e6c(0x1d1),new _0x15a038(void 0x0)),D(this,'socket$',this[_0x1a5e6c(0x1d1)][_0x1a5e6c(0x4c1)]()),D(this,_0x1a5e6c(0x235),null),D(this,'_sessions',new Map()),D(this,'_status$',new _0x15a038(me['IDLE'])),D(this,_0x1a5e6c(0x30a),this[_0x1a5e6c(0x227)]['asObservable']()),D(this,_0x1a5e6c(0x4df),!0x1),D(this,_0x1a5e6c(0x4cf)),D(this,'_retryCount',0x0),D(this,_0x1a5e6c(0x381)),D(this,_0x1a5e6c(0x405)),(this[_0x1a5e6c(0x493)]=_0x14680c,this[_0x1a5e6c(0x474)]=_0x1c17da,this[_0x1a5e6c(0x3b7)]=_0x304663,this[_0x1a5e6c(0x48d)]=_0x3126c1,this['_collaborationUIEventService']=_0x5325c5,this['_networkConditionService']=_0x5ab628,this[_0x1a5e6c(0x24c)]());}get[_0x10928f(0x49f)](){var _0x5ac889=_0x10928f;return this['_socket$'][_0x5ac889(0x4ba)]();}['_listenToNetworkCondition'](){var _0x2df4bd=_0x10928f;this[_0x2df4bd(0x45b)]&&this[_0x2df4bd(0x21a)](this[_0x2df4bd(0x45b)][_0x2df4bd(0x2c1)]['subscribe'](_0x426450=>{var _0x5c17f0=_0x2df4bd;_0x426450&&!this[_0x5c17f0(0x49f)]&&this[_0x5c17f0(0x4dd)](),_0x426450||this[_0x5c17f0(0x22e)]();}));}[_0x10928f(0x265)](){var _0xbe5988=_0x10928f;super['dispose'](),this[_0xbe5988(0x243)](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this['_sessions']['forEach'](_0x5d7954=>_0x5d7954[_0xbe5988(0x265)]()),this[_0xbe5988(0x362)][_0xbe5988(0x29c)](),this[_0xbe5988(0x227)]['complete']();}async[_0x10928f(0x422)](_0x10aa17){var _0x217575=_0x10928f;if(this[_0x217575(0x362)][_0x217575(0x475)](_0x10aa17))return this['_sessions'][_0x217575(0x207)](_0x10aa17);this[_0x217575(0x2a0)]();const _0x30da17=this[_0x217575(0x493)]['createInstance'](mt,_0x10aa17,this[_0x217575(0x1d1)][_0x217575(0x4c1)]());return this['_sessions'][_0x217575(0x46d)](_0x10aa17,_0x30da17),_0x30da17;}[_0x10928f(0x1f1)](_0x4f953c){var _0x34fa91=_0x10928f,_0x3d8435;const _0x1325e2=this[_0x34fa91(0x362)][_0x34fa91(0x207)](_0x4f953c);_0x1325e2&&(this[_0x34fa91(0x362)][_0x34fa91(0x1d0)](_0x4f953c),_0x1325e2['close']()),this[_0x34fa91(0x362)]['size']||(_0x3d8435=this[_0x34fa91(0x49f)])==null||_0x3d8435[_0x34fa91(0x1f8)]();}['reconnect'](){var _0x2736ca=_0x10928f;this[_0x2736ca(0x2e5)]=0x0,this[_0x2736ca(0x243)](),this[_0x2736ca(0x1cb)]();}['_clearRetryConnectingTimer'](){var _0xede975=_0x10928f;this[_0xede975(0x4cf)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0xede975(0x4cf)]=null);}async[_0x10928f(0x38e)](){var _0x4037f9=_0x10928f,_0x5b5273;const _0x120d09=this[_0x4037f9(0x3b7)][_0x4037f9(0x3e6)](K),_0x1da661=(_0x5b5273=_0x120d09==null?void 0x0:_0x120d09[_0x4037f9(0x3c7)])!=null?_0x5b5273:Ss,_0x895496=await this['_socketService'][_0x4037f9(0x4a8)](_0x1da661);return this[_0x4037f9(0x235)]=_0x895496,_0x895496;}async['_tryEnsureSocket'](){var _0x4e9336=_0x10928f,_0x5e509e,_0x42a17b;try{const _0x120fce=(_0x42a17b=(_0x5e509e=this['_socket'])!=null?_0x5e509e:this[_0x4e9336(0x235)])!=null?_0x42a17b:await this['_createSocket']();if(_0x120fce){const _0x1e8419=_0x120fce['send'];_0x120fce['send']=_0x44a838=>(this[_0x4e9336(0x25b)](),_0x1e8419[_0x4e9336(0x36d)](_0x120fce,[_0x44a838])),_0x120fce['message$']['subscribe'](_0x565fe2=>this[_0x4e9336(0x291)](_0x120fce,_0x565fe2)),_0x120fce[_0x4e9336(0x44c)][_0x4e9336(0x392)](_0xe45a10(0x1))[_0x4e9336(0x3cf)](_0x5c8f36=>this[_0x4e9336(0x474)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x5c8f36)),_0x120fce[_0x4e9336(0x311)][_0x4e9336(0x392)](_0xe45a10(0x1))[_0x4e9336(0x3cf)](()=>{var _0x492a21=_0x4e9336;this[_0x492a21(0x443)](_0x120fce);}),_0x120fce[_0x4e9336(0x29a)][_0x4e9336(0x392)](_0xe45a10(0x1))[_0x4e9336(0x3cf)](_0x59254b=>{var _0x194c3a=_0x4e9336;this[_0x194c3a(0x474)]['debug'](_0x194c3a(0x4ad),_0x194c3a(0x4c3),_0x59254b),this['_onConnectionFailed']();});}}catch(_0x2fe235){this[_0x4e9336(0x474)]['error'](_0x2fe235),this[_0x4e9336(0x256)]();}}[_0x10928f(0x443)](_0xbce2de){var _0x1541e9=_0x10928f;this['_logService']['debug'](_0x1541e9(0x4ad),_0x1541e9(0x3ce)),_0xbce2de['send']({'cmd':j[_0x1541e9(0x3b9)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x5a1d4d=_0x10928f;this[_0x5a1d4d(0x4df)]=!0x1,this[_0x5a1d4d(0x235)]=null,this[_0x5a1d4d(0x227)][_0x5a1d4d(0x3ea)](me[_0x5a1d4d(0x41b)]),this[_0x5a1d4d(0x1d1)]['next'](null),this[_0x5a1d4d(0x297)](),this['_clearHeartbeatTimer']();}[_0x10928f(0x256)](){var _0x4406e6=_0x10928f,_0x762bf0;this[_0x4406e6(0x22e)](),this['_retryCount']<((_0x762bf0=this[_0x4406e6(0x3b7)][_0x4406e6(0x3e6)](Rs))!=null?_0x762bf0:Ns)?(this[_0x4406e6(0x2ce)]['emitEvent']({'id':re[_0x4406e6(0x4b4)]}),this[_0x4406e6(0x1cb)]()):this[_0x4406e6(0x2ce)][_0x4406e6(0x23f)]({'id':re[_0x4406e6(0x3c1)]});}[_0x10928f(0x1cb)](){var _0x1e371f=_0x10928f,_0x44244e;const _0x3cad22=this[_0x1e371f(0x2e5)],_0x2214c6=this[_0x1e371f(0x3b7)][_0x1e371f(0x3e6)](K),_0x15975f=_0x3cad22===0x0?0x0:((_0x44244e=_0x2214c6==null?void 0x0:_0x2214c6[_0x1e371f(0x2d4)])!=null?_0x44244e:Os)*0x2**_0x3cad22;this[_0x1e371f(0x4cf)]=setTimeout(()=>{var _0x2770cc=_0x1e371f;clearTimeout(this['_retryConnectingTimer']),this[_0x2770cc(0x4cf)]=null,this[_0x2770cc(0x2a0)]();},_0x15975f),this[_0x1e371f(0x2e5)]+=0x1;}[_0x10928f(0x291)](_0x3f161c,_0x5a418b){var _0xc30b42=_0x10928f;const {cmd:_0x25825c}=_0x5a418b;_0x25825c===j[_0xc30b42(0x3b9)]&&!this[_0xc30b42(0x4df)]&&(_0x3f161c['memberID']=_0x5a418b[_0xc30b42(0x34a)]['memberID'],this['_socket$'][_0xc30b42(0x3ea)](_0x3f161c),this['_status$']['next'](me[_0xc30b42(0x491)]),this[_0xc30b42(0x4df)]=!0x0,this[_0xc30b42(0x235)]=null),_0x25825c===j[_0xc30b42(0x301)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x10928f(0x25b)](){var _0x285c8e=_0x10928f,_0x28e540;this[_0x285c8e(0x35e)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x285c8e(0x3fb)](),(_0x28e540=this['_configService'][_0x285c8e(0x3e6)](gs))!=null?_0x28e540:Ts);}[_0x10928f(0x3fb)](){var _0x49bcdc=_0x10928f;this[_0x49bcdc(0x49f)][_0x49bcdc(0x37a)]({'cmd':j[_0x49bcdc(0x301)]}),this[_0x49bcdc(0x214)]();}[_0x10928f(0x214)](){var _0x25aa8f=_0x10928f,_0x58dba5;this[_0x25aa8f(0x405)]=setTimeout(()=>this[_0x25aa8f(0x256)](),(_0x58dba5=this['_configService'][_0x25aa8f(0x3e6)](di))!=null?_0x58dba5:fi);}['_clearHeartbeatTimer'](){var _0x5322a7=_0x10928f;this[_0x5322a7(0x381)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x10928f(0x297)](){var _0x3d385b=_0x10928f;this[_0x3d385b(0x405)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x3d385b(0x405)]=null);}};we=Js([Re(0x0,_0x20ebd0(_0x419a48)),Re(0x1,_0x5c483f),Re(0x2,_0x1ed468),Re(0x3,Ri),Re(0x4,_0x20ebd0(ve)),Re(0x5,_0xd62013(Gs))],we);var Zs=Object[_0x10928f(0x413)],Qs=(_0x425682,_0x2af9d3,_0x4479f8,_0x7af4dc)=>{var _0x3faa0b=_0x10928f;for(var _0x418be2=_0x7af4dc>0x1?void 0x0:_0x7af4dc?Zs(_0x2af9d3,_0x4479f8):_0x2af9d3,_0x718dd=_0x425682[_0x3faa0b(0x22d)]-0x1,_0x29bd8a;_0x718dd>=0x0;_0x718dd--)(_0x29bd8a=_0x425682[_0x718dd])&&(_0x418be2=_0x29bd8a(_0x418be2)||_0x418be2);return _0x418be2;},Be=(_0x45f354,_0x44e277)=>(_0xd93e5e,_0x19148f)=>_0x44e277(_0xd93e5e,_0x19148f,_0x45f354);let nt=class extends _0x4154f8{constructor(_0x1f071a,_0x2975a7,_0x5868f6,_0xceb996){var _0x1aae44=_0x10928f,_0x4d6d68;super(),D(this,_0x1aae44(0x1fe),new Map()),D(this,'_entityInit$',new _0x58c94b()),D(this,_0x1aae44(0x371),this[_0x1aae44(0x1d5)]['asObservable']()),(this[_0x1aae44(0x493)]=_0x1f071a,this[_0x1aae44(0x33b)]=_0x2975a7,this[_0x1aae44(0x3b7)]=_0x5868f6,this[_0x1aae44(0x3b8)]=_0xceb996,((_0x4d6d68=this['_configService']['getConfig'](K))==null?void 0x0:_0x4d6d68[_0x1aae44(0x3ac)])!==!0x1&&this['_init']());}['dispose'](){var _0x263c24=_0x10928f;super['dispose'](),this[_0x263c24(0x1fe)][_0x263c24(0x46e)](_0x453a64=>_0x453a64[_0x263c24(0x265)]()),this[_0x263c24(0x1fe)][_0x263c24(0x29c)]();}[_0x10928f(0x32a)](_0x453f7d){var _0x575140=_0x10928f,_0x46d8bf;return(_0x46d8bf=this[_0x575140(0x1fe)][_0x575140(0x207)](_0x453f7d))!=null?_0x46d8bf:null;}[_0x10928f(0x25d)](_0x48050e){var _0x3aa2f6=_0x10928f;const _0x4d58e0=this[_0x3aa2f6(0x32a)](_0x48050e);return _0x4d58e0?_0x2663ed(_0x4d58e0):this[_0x3aa2f6(0x1d5)][_0x3aa2f6(0x392)](_0x3dc6e0(_0x4c83e1=>_0x4c83e1[_0x3aa2f6(0x4d2)]===_0x48050e));}[_0x10928f(0x47b)](_0x530b29){var _0x1c6b79=_0x10928f;return _0x1ecfb3(this['getCollabEntity$'](_0x530b29)[_0x1c6b79(0x392)](_0x4b7ed6(()=>{})));}['_init'](){var _0x4091c8=_0x10928f;this[_0x4091c8(0x3b8)][_0x4091c8(0x28e)](_0x5417eb[_0x4091c8(0x465)])[_0x4091c8(0x392)](_0x1f822e(this['dispose$']),_0x38a686(0x10))[_0x4091c8(0x3cf)](async _0x7045c=>{var _0x9e1852=_0x4091c8;const _0x411418=_0x7045c[_0x9e1852(0x202)](),_0x5d9853=await this['_startCollaboration'](_0x411418,Q[_0x9e1852(0x465)]);this['_entities'][_0x9e1852(0x46d)](_0x411418,_0x5d9853);}),this['_univerInstanceService'][_0x4091c8(0x28e)](_0x5417eb[_0x4091c8(0x3a0)])[_0x4091c8(0x392)](_0x1f822e(this['dispose$']),_0x38a686(0x10))[_0x4091c8(0x392)](_0x3dc6e0(_0x374fbf=>!_0x374fbf[_0x4091c8(0x202)]()[_0x4091c8(0x245)]('__')))[_0x4091c8(0x3cf)](async _0x48eb6b=>{var _0xfedcf=_0x4091c8;const _0x25d3e3=_0x48eb6b[_0xfedcf(0x202)](),_0x53461f=await this['_startCollaboration'](_0x25d3e3,Q[_0xfedcf(0x3a0)]);this[_0xfedcf(0x1fe)][_0xfedcf(0x46d)](_0x25d3e3,_0x53461f);}),_0x5f3238(this[_0x4091c8(0x3b8)][_0x4091c8(0x1e9)](_0x5417eb[_0x4091c8(0x465)]),this[_0x4091c8(0x3b8)][_0x4091c8(0x1e9)](_0x5417eb['UNIVER_DOC']))[_0x4091c8(0x392)](_0x1f822e(this[_0x4091c8(0x1e0)]))[_0x4091c8(0x3cf)](_0x5824ef=>{var _0x2cc9a8=_0x4091c8;const _0x11f382=_0x5824ef[_0x2cc9a8(0x202)](),_0x2f9c78=this[_0x2cc9a8(0x1fe)][_0x2cc9a8(0x207)](_0x11f382);_0x2f9c78&&(_0x2f9c78[_0x2cc9a8(0x265)](),this[_0x2cc9a8(0x1fe)]['delete'](_0x11f382));});}async[_0x10928f(0x326)](_0xb8e604,_0xb81af){var _0x167599=_0x10928f;const _0x41f73c=await this[_0x167599(0x33b)][_0x167599(0x422)](_0xb8e604),_0x59b9a5=this[_0x167599(0x493)][_0x167599(0x314)](this['_getCtorByUniverType'](_0xb81af),_0xb8e604,_0xb81af,_0x41f73c);return await _0x59b9a5[_0x167599(0x49e)](),this[_0x167599(0x1d5)][_0x167599(0x3ea)](_0x59b9a5),_0x59b9a5;}[_0x10928f(0x426)](_0xb29f51){var _0x2f0312=_0x10928f;switch(_0xb29f51){case Q[_0x2f0312(0x3a0)]:return It;case Q[_0x2f0312(0x465)]:return St;default:throw new Error(_0x2f0312(0x330)+_0xb29f51);}}};nt=Qs([Be(0x0,_0x20ebd0(_0x419a48)),Be(0x1,_0x20ebd0(we)),Be(0x2,_0x1ed468),Be(0x3,_0x13ba10)],nt);var en=Object[_0x10928f(0x413)],tn=(_0x5d87d3,_0x19e86a,_0x45a5c6,_0x444677)=>{var _0xd80ccf=_0x10928f;for(var _0x521128=_0x444677>0x1?void 0x0:_0x444677?en(_0x19e86a,_0x45a5c6):_0x19e86a,_0x3f8b81=_0x5d87d3[_0xd80ccf(0x22d)]-0x1,_0x30b4f5;_0x3f8b81>=0x0;_0x3f8b81--)(_0x30b4f5=_0x5d87d3[_0x3f8b81])&&(_0x521128=_0x30b4f5(_0x521128)||_0x521128);return _0x521128;},Wt=(_0x101178,_0x209d4d)=>(_0x5ddb56,_0x45573a)=>_0x209d4d(_0x5ddb56,_0x45573a,_0x101178);const sn=_0x10928f(0x3e0),nn='Univer';let gt=class extends _0x57261c{constructor(_0x1c90d1,_0xa6e9ca){var _0x353d90=_0x10928f;super(),this[_0x353d90(0x3b8)]=_0x1c90d1,this[_0x353d90(0x3b7)]=_0xa6e9ca,this[_0x353d90(0x4d8)]();}['_init'](){var _0x149131=_0x10928f;this[_0x149131(0x21a)](this[_0x149131(0x3b8)][_0x149131(0x44d)][_0x149131(0x3cf)](()=>{var _0x4e98f6=_0x149131,_0x15d9e4;const _0x5ea666=this[_0x4e98f6(0x3b8)][_0x4e98f6(0x3f0)]();let _0x1a00e6=(_0x15d9e4=this[_0x4e98f6(0x3b7)][_0x4e98f6(0x3e6)](sn))!=null?_0x15d9e4:nn;_0x5ea666 instanceof _0x34b94a&&(_0x1a00e6=_0x5ea666['name']),document[_0x4e98f6(0x271)]=_0x1a00e6;}));}};gt=tn([Wt(0x0,_0x13ba10),Wt(0x1,_0x1ed468)],gt);var rn=Object[_0x10928f(0x413)],an=(_0x4c3596,_0x3bcdca,_0x2eea30,_0x16090e)=>{for(var _0x482e9d=_0x16090e>0x1?void 0x0:_0x16090e?rn(_0x3bcdca,_0x2eea30):_0x3bcdca,_0x494cfa=_0x4c3596['length']-0x1,_0x39e8fb;_0x494cfa>=0x0;_0x494cfa--)(_0x39e8fb=_0x4c3596[_0x494cfa])&&(_0x482e9d=_0x39e8fb(_0x482e9d)||_0x482e9d);return _0x482e9d;},dt=(_0x412d2d,_0xee4a1d)=>(_0x4c1999,_0x4051a2)=>_0xee4a1d(_0x4c1999,_0x4051a2,_0x412d2d);let rt=class{constructor(_0x301829,_0x1354b5,_0x51f013){var _0x54e5f8=_0x10928f;this[_0x54e5f8(0x3b7)]=_0x301829,this[_0x54e5f8(0x2a1)]=_0x1354b5,this[_0x54e5f8(0x3ae)]=_0x51f013,this[_0x54e5f8(0x49e)]();}[_0x10928f(0x49e)](){var _0x507e0c=_0x10928f;this[_0x507e0c(0x2a1)][_0x507e0c(0x2ab)]({'priority':0x1,'interceptor':(_0x5e4070,_0x38990c)=>_0x38990c(_0x5e4070)['pipe'](_0x153ea2(async _0x3d12d2=>{var _0x1e4286=_0x507e0c;const _0x34cf60=_0x3d12d2;if(_0x34cf60['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x1e4286(0x306)](this[_0x1e4286(0x3ae)]['t']('auth.needGotoLoginAlert'))){const _0x1a7c4c=window[_0x1e4286(0x217)](window[_0x1e4286(0x3d5)][_0x1e4286(0x4b7)]);window[_0x1e4286(0x3d5)][_0x1e4286(0x4b7)]=this[_0x1e4286(0x429)]()+'?url='+_0x1a7c4c;}}return _0x34cf60;}))});}[_0x10928f(0x429)](){var _0x536273=_0x10928f,_0x5e7a13;const _0x10f63a=this['_configService'][_0x536273(0x3e6)](K);return(_0x5e7a13=_0x10f63a==null?void 0x0:_0x10f63a[_0x536273(0x400)])!=null?_0x5e7a13:bs;}};rt=an([dt(0x0,_0x1ed468),dt(0x1,_0x20ebd0(_0xce4c2c)),dt(0x2,_0x20ebd0(_0x58e80c))],rt);var on=Object['getOwnPropertyDescriptor'],cn=(_0x557fdc,_0x22151c,_0x2206e2,_0x5937e4)=>{for(var _0x413372=_0x5937e4>0x1?void 0x0:_0x5937e4?on(_0x22151c,_0x2206e2):_0x22151c,_0x27c646=_0x557fdc['length']-0x1,_0x5495a9;_0x27c646>=0x0;_0x27c646--)(_0x5495a9=_0x557fdc[_0x27c646])&&(_0x413372=_0x5495a9(_0x413372)||_0x413372);return _0x413372;},Yt=(_0x20f318,_0x155b03)=>(_0x510ee3,_0x1906be)=>_0x155b03(_0x510ee3,_0x1906be,_0x20f318);const _n=_0x10928f(0x408);let Tt=class extends _0x57261c{constructor(_0x3c0302,_0x2bc058){var _0x5b3c66=_0x10928f;super(),this[_0x5b3c66(0x281)]=_0x3c0302,this[_0x5b3c66(0x3b7)]=_0x2bc058,this[_0x5b3c66(0x25a)]();}[_0x10928f(0x25a)](){var _0x217e68=_0x10928f;const _0xc9832c=this;this[_0x217e68(0x21a)](this['_HTTPService'][_0x217e68(0x2ab)]({'priority':0x3e7,'interceptor':_0x1fefe1({'isMatch'(_0x4abbe0){var _0x291eae=_0x217e68,_0x18b69b;if(_0x4abbe0[_0x291eae(0x36c)]==='POST'&&((_0x18b69b=_0x4abbe0[_0x291eae(0x357)])!=null&&_0x18b69b[_0x291eae(0x45a)])){const {objectID:_0x59fb77,objectType:_0x420520}=_0x4abbe0[_0x291eae(0x357)][_0x291eae(0x45a)]||{};if(!_0x59fb77||_0x420520===void 0x0)return!0x1;const _0x5b1e2e=_0xc9832c['_getAPIPrefixPath']()+'/'+_0x420520+_0x291eae(0x2d6)+_0x59fb77+_0x291eae(0x47d);if(_0x4abbe0[_0x291eae(0x462)]===_0x5b1e2e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2246ea){var _0x58f39a=_0x217e68,_0x8d7335;return(_0x8d7335=_0x2246ea[_0x58f39a(0x357)])==null?void 0x0:_0x8d7335['body'];},'mergeParamsToRequest'(_0x399d24,_0x1726b5){var _0x48e0ae=_0x217e68;const _0x3490b5=_0xc9832c[_0x48e0ae(0x404)]()+_0x48e0ae(0x25f),_0x3a58b2=_0x399d24['reduce']((_0x44241f,_0x105671)=>{var _0x592c66=_0x48e0ae;const {unitID:_0x50e372,objectID:_0x13e5a9,objectType:_0x198b4c,actions:_0x1f2379}=_0x105671;return _0x44241f[_0x50e372]||(_0x44241f[_0x50e372]={}),_0x44241f[_0x50e372][_0x13e5a9]||(_0x44241f[_0x50e372][_0x13e5a9]={'objectID':_0x13e5a9,'objectType':_0x198b4c,'actions':[]}),_0x44241f[_0x50e372][_0x13e5a9][_0x592c66(0x2c9)][_0x592c66(0x4b3)](..._0x1f2379),_0x44241f;},{}),_0x2a2424=[];for(const _0x18ba06 in _0x3a58b2)for(const _0x5e3940 in _0x3a58b2[_0x18ba06]){const {actions:_0x3fec21,objectType:_0x5e2eb4}=_0x3a58b2[_0x18ba06][_0x5e3940],_0x29403e=[...new Set(_0x3fec21)];_0x2a2424[_0x48e0ae(0x4b3)]({'unitID':_0x18ba06,'objectID':_0x5e3940,'objectType':_0x5e2eb4,'actions':_0x29403e});}return new _0x18e0c6(_0x48e0ae(0x31f),_0x3490b5,{'headers':_0x1726b5[_0x48e0ae(0x3b2)],'withCredentials':_0x1726b5[_0x48e0ae(0x4bb)],'responseType':_0x1726b5['responseType'],'body':{'requests':_0x2a2424}});}},{'distributeResult'(_0x35bad7,_0x40c851){var _0x59b277=_0x217e68;const {objectActions:_0x4f2615}=_0x35bad7;return _0x40c851[_0x59b277(0x2d5)](_0x25c1c2=>{var _0x4c2223=_0x59b277;const {unitID:_0x5d92c1,objectID:_0x51f811,actions:_0x359913}=_0x25c1c2,_0x4f3e94=_0x4f2615[_0x4c2223(0x219)](_0x1a72c5=>_0x1a72c5['unitID']===_0x5d92c1&&_0x1a72c5[_0x4c2223(0x3fd)]===_0x51f811),_0x198e05=_0x359913['map'](_0x54bb24=>_0x4f3e94==null?void 0x0:_0x4f3e94[_0x4c2223(0x2c9)]['find'](_0x550f9a=>_0x550f9a[_0x4c2223(0x215)]===_0x54bb24))['filter'](_0x2033dc=>!!_0x2033dc);return{'config':_0x25c1c2,'result':{'actions':_0x198e05,'error':_0x35bad7[_0x4c2223(0x2e0)]}};});}})}));}[_0x10928f(0x404)](){var _0x3488c8=_0x10928f,_0x306b68;const _0x3fa4ad=this[_0x3488c8(0x3b7)][_0x3488c8(0x3e6)](K);return(_0x306b68=_0x3fa4ad==null?void 0x0:_0x3fa4ad['authzUrl'])!=null?_0x306b68:_n;}async[_0x10928f(0x28b)](_0x2cb0a8){var _0x14bd02=_0x10928f;const _0x30143f=this[_0x14bd02(0x404)]()+'/'+_0x2cb0a8[_0x14bd02(0x3f9)]+'/object';return(await this[_0x14bd02(0x281)][_0x14bd02(0x204)](_0x30143f,{'body':_0x2cb0a8}))[_0x14bd02(0x45a)][_0x14bd02(0x3fd)]||'';}async[_0x10928f(0x39c)](_0x3507d){var _0x643853=_0x10928f;const _0x3f7685=this[_0x643853(0x404)]()+_0x643853(0x4ac);return(await this[_0x643853(0x281)][_0x643853(0x204)](_0x3f7685,{'body':_0x3507d}))[_0x643853(0x45a)]['objects'];}async[_0x10928f(0x2df)](_0x52e115){var _0x3b86c3=_0x10928f,_0x377e95,_0x3c5668;const _0x5ddba5=this[_0x3b86c3(0x404)]()+'/'+_0x52e115[_0x3b86c3(0x3f9)]+'/object/'+_0x52e115['objectID'],_0x3fb369=await this[_0x3b86c3(0x281)][_0x3b86c3(0x424)](_0x5ddba5,{'body':_0x52e115});if(((_0x3c5668=(_0x377e95=_0x3fb369==null?void 0x0:_0x3fb369[_0x3b86c3(0x45a)])==null?void 0x0:_0x377e95[_0x3b86c3(0x2e0)])==null?void 0x0:_0x3c5668[_0x3b86c3(0x39a)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x10928f(0x3d4)](_0xe2e369){var _0x3ebff8=_0x10928f;const _0xf20a00=this[_0x3ebff8(0x404)]()+'/'+_0xe2e369[_0x3ebff8(0x3f9)]+_0x3ebff8(0x2d6)+_0xe2e369[_0x3ebff8(0x3fd)]+_0x3ebff8(0x47d);return(await this[_0x3ebff8(0x281)]['post'](_0xf20a00,{'body':_0xe2e369}))[_0x3ebff8(0x45a)][_0x3ebff8(0x2c9)];}async[_0x10928f(0x2da)](_0x4fc420){var _0x41def5=_0x10928f;const _0x52082a=this[_0x41def5(0x404)]()+_0x41def5(0x25f);return(await this[_0x41def5(0x281)][_0x41def5(0x204)](_0x52082a,{'body':{'requests':_0x4fc420}}))[_0x41def5(0x45a)][_0x41def5(0x3dd)];}async[_0x10928f(0x2f9)](_0x1aace3){var _0x5a4daf=_0x10928f;const _0x1c15f9=this[_0x5a4daf(0x404)]()+'/'+_0x1aace3[_0x5a4daf(0x3f9)]+_0x5a4daf(0x32d),_0x16e73f=await this[_0x5a4daf(0x281)][_0x5a4daf(0x204)](_0x1c15f9,{'body':_0x1aace3});return{'roles':_0x16e73f[_0x5a4daf(0x45a)]['roles'],'actions':_0x16e73f[_0x5a4daf(0x45a)]['actions']};}async[_0x10928f(0x257)](_0x1d8c3c){var _0x331cb5=_0x10928f;const _0x1f3f69=this['_getAPIPrefixPath']()+_0x331cb5(0x356);await this['_HTTPService'][_0x331cb5(0x1d0)](_0x1f3f69,{'params':{'collaboratorID':_0x1d8c3c[_0x331cb5(0x433)],'objectID':_0x1d8c3c[_0x331cb5(0x3fd)],'unitID':_0x1d8c3c[_0x331cb5(0x4d2)]}});}async[_0x10928f(0x4a3)](_0x198993){var _0x138761=_0x10928f;const _0xc3a855=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x138761(0x281)][_0x138761(0x1ef)](_0xc3a855,{'body':_0x198993});}async[_0x10928f(0x410)](_0x5e16ee){var _0x27d0f1=_0x10928f;const _0x53a63e=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x27d0f1(0x281)]['post'](_0x53a63e,{'body':_0x5e16ee});}async[_0x10928f(0x480)](_0x50845c){var _0xeb1e16=_0x10928f;const _0x1ab97d=this[_0xeb1e16(0x404)]()+'/collaborator';return(await this[_0xeb1e16(0x281)]['get'](_0x1ab97d,{'params':{'objectID':_0x50845c[_0xeb1e16(0x3fd)],'unitID':_0x50845c[_0xeb1e16(0x4d2)]}}))['body'][_0xeb1e16(0x441)];}async[_0x10928f(0x229)](_0x4cefdd){var _0x580d5b=_0x10928f;const _0x42f223=this[_0x580d5b(0x404)]()+'/collaborator';await this['_HTTPService'][_0x580d5b(0x424)](_0x42f223,{'body':_0x4cefdd});}};Tt=cn([Yt(0x0,_0x20ebd0(_0xce4c2c)),Yt(0x1,_0x20ebd0(_0x1ed468))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0xa82b88){var _0x341fab=_0x10928f;return _0xa82b88&&_0xa82b88[_0x341fab(0x26a)]&&Object[_0x341fab(0x2a2)]['hasOwnProperty'][_0x341fab(0x1ec)](_0xa82b88,_0x341fab(0x4c6))?_0xa82b88[_0x341fab(0x4c6)]:_0xa82b88;}var Ve={'exports':{}};function hn(_0x24ff63){var _0xcfb32d=_0x10928f;throw new Error(_0xcfb32d(0x42e)+_0x24ff63+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},ln=Ge[_0x10928f(0x417)],Kt;function _0x5764(_0x1ff919,_0x5a69fb){_0x1ff919=_0x1ff919-0x1c4;var _0x2f173f=_0x2f17();var _0x5764cd=_0x2f173f[_0x1ff919];return _0x5764cd;}function ie(){return Kt||(Kt=0x1,function(_0x5c9e20,_0x3d46bd){(function(_0x96139,_0x2bc760){var _0x3f9104=_0x5764;_0x5c9e20[_0x3f9104(0x417)]=_0x2bc760();}(ln,function(){var _0x445b1a=_0x445b1a||function(_0x8decb8,_0x167319){var _0x447ccc=_0x5764,_0x5c60da;if(typeof window<'u'&&window[_0x447ccc(0x1e7)]&&(_0x5c60da=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x5c60da=self[_0x447ccc(0x1e7)]),typeof globalThis<'u'&&globalThis[_0x447ccc(0x1e7)]&&(_0x5c60da=globalThis[_0x447ccc(0x1e7)]),!_0x5c60da&&typeof window<'u'&&window[_0x447ccc(0x319)]&&(_0x5c60da=window[_0x447ccc(0x319)]),!_0x5c60da&&typeof ft<'u'&&ft['crypto']&&(_0x5c60da=ft[_0x447ccc(0x1e7)]),!_0x5c60da&&typeof hn=='function')try{_0x5c60da=require('crypto');}catch{}var _0x4eec24=function(){var _0x7a78e6=_0x447ccc;if(_0x5c60da){if(typeof _0x5c60da[_0x7a78e6(0x4ab)]==_0x7a78e6(0x4cb))try{return _0x5c60da[_0x7a78e6(0x4ab)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5c60da['randomBytes']==_0x7a78e6(0x4cb))try{return _0x5c60da[_0x7a78e6(0x2bc)](0x4)[_0x7a78e6(0x290)]();}catch{}}throw new Error(_0x7a78e6(0x412));},_0x1178d8=Object[_0x447ccc(0x28b)]||(function(){function _0x2e9505(){}return function(_0x234c9e){var _0x23d114=_0x5764,_0x2c3f7b;return _0x2e9505['prototype']=_0x234c9e,_0x2c3f7b=new _0x2e9505(),_0x2e9505[_0x23d114(0x2a2)]=null,_0x2c3f7b;};}()),_0x2cfaae={},_0x38e086=_0x2cfaae[_0x447ccc(0x388)]={},_0x2d2187=_0x38e086[_0x447ccc(0x32c)]=(function(){return{'extend':function(_0x2eb9fc){var _0x17d1b7=_0x5764,_0x395344=_0x1178d8(this);return _0x2eb9fc&&_0x395344[_0x17d1b7(0x46f)](_0x2eb9fc),(!_0x395344[_0x17d1b7(0x4d0)](_0x17d1b7(0x49e))||this[_0x17d1b7(0x49e)]===_0x395344[_0x17d1b7(0x49e)])&&(_0x395344[_0x17d1b7(0x49e)]=function(){var _0x26da94=_0x17d1b7;_0x395344[_0x26da94(0x3b3)][_0x26da94(0x49e)][_0x26da94(0x36d)](this,arguments);}),_0x395344[_0x17d1b7(0x49e)][_0x17d1b7(0x2a2)]=_0x395344,_0x395344[_0x17d1b7(0x3b3)]=this,_0x395344;},'create':function(){var _0x30ac73=_0x5764,_0x4656b5=this[_0x30ac73(0x418)]();return _0x4656b5[_0x30ac73(0x49e)][_0x30ac73(0x36d)](_0x4656b5,arguments),_0x4656b5;},'init':function(){},'mixIn':function(_0x4c407c){var _0x51fee7=_0x5764;for(var _0x6760a6 in _0x4c407c)_0x4c407c[_0x51fee7(0x4d0)](_0x6760a6)&&(this[_0x6760a6]=_0x4c407c[_0x6760a6]);_0x4c407c[_0x51fee7(0x4d0)](_0x51fee7(0x313))&&(this[_0x51fee7(0x313)]=_0x4c407c[_0x51fee7(0x313)]);},'clone':function(){var _0xe8854=_0x5764;return this[_0xe8854(0x49e)]['prototype'][_0xe8854(0x418)](this);}};}()),_0x4c185b=_0x38e086[_0x447ccc(0x42c)]=_0x2d2187['extend']({'init':function(_0x121ec8,_0x234cbe){var _0x45463b=_0x447ccc;_0x121ec8=this['words']=_0x121ec8||[],_0x234cbe!=_0x167319?this['sigBytes']=_0x234cbe:this[_0x45463b(0x22b)]=_0x121ec8[_0x45463b(0x22d)]*0x4;},'toString':function(_0x56b2de){return(_0x56b2de||_0x46927e)['stringify'](this);},'concat':function(_0x3ca63a){var _0x32764e=_0x447ccc,_0x477276=this[_0x32764e(0x267)],_0xdf1174=_0x3ca63a['words'],_0x43d047=this[_0x32764e(0x22b)],_0x5791d2=_0x3ca63a['sigBytes'];if(this[_0x32764e(0x3bd)](),_0x43d047%0x4)for(var _0x5ce5fb=0x0;_0x5ce5fb<_0x5791d2;_0x5ce5fb++){var _0x506a5e=_0xdf1174[_0x5ce5fb>>>0x2]>>>0x18-_0x5ce5fb%0x4*0x8&0xff;_0x477276[_0x43d047+_0x5ce5fb>>>0x2]|=_0x506a5e<<0x18-(_0x43d047+_0x5ce5fb)%0x4*0x8;}else{for(var _0xa3f83e=0x0;_0xa3f83e<_0x5791d2;_0xa3f83e+=0x4)_0x477276[_0x43d047+_0xa3f83e>>>0x2]=_0xdf1174[_0xa3f83e>>>0x2];}return this[_0x32764e(0x22b)]+=_0x5791d2,this;},'clamp':function(){var _0x3bc32d=_0x447ccc,_0x173f9a=this[_0x3bc32d(0x267)],_0x22db79=this[_0x3bc32d(0x22b)];_0x173f9a[_0x22db79>>>0x2]&=0xffffffff<<0x20-_0x22db79%0x4*0x8,_0x173f9a[_0x3bc32d(0x22d)]=_0x8decb8[_0x3bc32d(0x3b4)](_0x22db79/0x4);},'clone':function(){var _0x2359d7=_0x447ccc,_0x3c0555=_0x2d2187['clone'][_0x2359d7(0x1ec)](this);return _0x3c0555[_0x2359d7(0x267)]=this[_0x2359d7(0x267)][_0x2359d7(0x421)](0x0),_0x3c0555;},'random':function(_0x10b9cc){var _0x7e3bf9=_0x447ccc;for(var _0x51cd40=[],_0x4e3355=0x0;_0x4e3355<_0x10b9cc;_0x4e3355+=0x4)_0x51cd40[_0x7e3bf9(0x4b3)](_0x4eec24());return new _0x4c185b[(_0x7e3bf9(0x49e))](_0x51cd40,_0x10b9cc);}}),_0x44b216=_0x2cfaae['enc']={},_0x46927e=_0x44b216['Hex']={'stringify':function(_0x1f0daa){var _0x3492f2=_0x447ccc;for(var _0x20c190=_0x1f0daa[_0x3492f2(0x267)],_0x1b01a4=_0x1f0daa[_0x3492f2(0x22b)],_0x471842=[],_0x4c4451=0x0;_0x4c4451<_0x1b01a4;_0x4c4451++){var _0x4c6891=_0x20c190[_0x4c4451>>>0x2]>>>0x18-_0x4c4451%0x4*0x8&0xff;_0x471842['push']((_0x4c6891>>>0x4)['toString'](0x10)),_0x471842[_0x3492f2(0x4b3)]((_0x4c6891&0xf)[_0x3492f2(0x313)](0x10));}return _0x471842[_0x3492f2(0x1e4)]('');},'parse':function(_0x27f328){var _0x27a85a=_0x447ccc;for(var _0x5bc19f=_0x27f328[_0x27a85a(0x22d)],_0x902ec5=[],_0x45a02b=0x0;_0x45a02b<_0x5bc19f;_0x45a02b+=0x2)_0x902ec5[_0x45a02b>>>0x3]|=parseInt(_0x27f328['substr'](_0x45a02b,0x2),0x10)<<0x18-_0x45a02b%0x8*0x4;return new _0x4c185b['init'](_0x902ec5,_0x5bc19f/0x2);}},_0x4d7936=_0x44b216['Latin1']={'stringify':function(_0x397ca3){var _0x1632f6=_0x447ccc;for(var _0x271bdb=_0x397ca3[_0x1632f6(0x267)],_0x4a6322=_0x397ca3[_0x1632f6(0x22b)],_0x1c43fc=[],_0x9ed284=0x0;_0x9ed284<_0x4a6322;_0x9ed284++){var _0x150dbd=_0x271bdb[_0x9ed284>>>0x2]>>>0x18-_0x9ed284%0x4*0x8&0xff;_0x1c43fc[_0x1632f6(0x4b3)](String[_0x1632f6(0x380)](_0x150dbd));}return _0x1c43fc['join']('');},'parse':function(_0x3b0a79){var _0x4ac223=_0x447ccc;for(var _0x3d7875=_0x3b0a79[_0x4ac223(0x22d)],_0x531ceb=[],_0xfe8886=0x0;_0xfe8886<_0x3d7875;_0xfe8886++)_0x531ceb[_0xfe8886>>>0x2]|=(_0x3b0a79[_0x4ac223(0x20c)](_0xfe8886)&0xff)<<0x18-_0xfe8886%0x4*0x8;return new _0x4c185b[(_0x4ac223(0x49e))](_0x531ceb,_0x3d7875);}},_0x40a9f8=_0x44b216[_0x447ccc(0x2d7)]={'stringify':function(_0x307f2b){var _0x41ea2d=_0x447ccc;try{return decodeURIComponent(escape(_0x4d7936[_0x41ea2d(0x4d1)](_0x307f2b)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x2ebe0f){return _0x4d7936['parse'](unescape(encodeURIComponent(_0x2ebe0f)));}},_0x8f8ee8=_0x38e086[_0x447ccc(0x4bf)]=_0x2d2187[_0x447ccc(0x418)]({'reset':function(){var _0x2cb0b3=_0x447ccc;this[_0x2cb0b3(0x2e3)]=new _0x4c185b['init'](),this[_0x2cb0b3(0x4a4)]=0x0;},'_append':function(_0xff064a){var _0x306af7=_0x447ccc;typeof _0xff064a=='string'&&(_0xff064a=_0x40a9f8['parse'](_0xff064a)),this[_0x306af7(0x2e3)][_0x306af7(0x212)](_0xff064a),this[_0x306af7(0x4a4)]+=_0xff064a[_0x306af7(0x22b)];},'_process':function(_0x581bac){var _0x5e3886=_0x447ccc,_0x42ca7d,_0x434b0b=this[_0x5e3886(0x2e3)],_0x2a7035=_0x434b0b['words'],_0x4e1807=_0x434b0b[_0x5e3886(0x22b)],_0x279964=this['blockSize'],_0x53e550=_0x279964*0x4,_0x28c62f=_0x4e1807/_0x53e550;_0x581bac?_0x28c62f=_0x8decb8[_0x5e3886(0x3b4)](_0x28c62f):_0x28c62f=_0x8decb8['max']((_0x28c62f|0x0)-this[_0x5e3886(0x48f)],0x0);var _0x5bae9a=_0x28c62f*_0x279964,_0x3c7178=_0x8decb8[_0x5e3886(0x275)](_0x5bae9a*0x4,_0x4e1807);if(_0x5bae9a){for(var _0x5eddb2=0x0;_0x5eddb2<_0x5bae9a;_0x5eddb2+=_0x279964)this['_doProcessBlock'](_0x2a7035,_0x5eddb2);_0x42ca7d=_0x2a7035[_0x5e3886(0x299)](0x0,_0x5bae9a),_0x434b0b[_0x5e3886(0x22b)]-=_0x3c7178;}return new _0x4c185b[(_0x5e3886(0x49e))](_0x42ca7d,_0x3c7178);},'clone':function(){var _0x2ccc2c=_0x447ccc,_0x18c7f0=_0x2d2187['clone']['call'](this);return _0x18c7f0[_0x2ccc2c(0x2e3)]=this[_0x2ccc2c(0x2e3)]['clone'](),_0x18c7f0;},'_minBufferSize':0x0});_0x38e086[_0x447ccc(0x43c)]=_0x8f8ee8[_0x447ccc(0x418)]({'cfg':_0x2d2187[_0x447ccc(0x418)](),'init':function(_0xc0236){var _0x333781=_0x447ccc;this[_0x333781(0x33a)]=this[_0x333781(0x33a)][_0x333781(0x418)](_0xc0236),this[_0x333781(0x1f6)]();},'reset':function(){var _0xa2094=_0x447ccc;_0x8f8ee8['reset']['call'](this),this[_0xa2094(0x360)]();},'update':function(_0x16ec3){var _0x191607=_0x447ccc;return this[_0x191607(0x2b3)](_0x16ec3),this[_0x191607(0x45c)](),this;},'finalize':function(_0x4970e5){var _0x4fce4b=_0x447ccc;_0x4970e5&&this['_append'](_0x4970e5);var _0x36ae7c=this[_0x4fce4b(0x3fe)]();return _0x36ae7c;},'blockSize':0x10,'_createHelper':function(_0x14b795){return function(_0x1e3eae,_0x3df1fa){var _0x205db1=_0x5764;return new _0x14b795['init'](_0x3df1fa)[_0x205db1(0x1f3)](_0x1e3eae);};},'_createHmacHelper':function(_0x4513fb){return function(_0x16267e,_0x19c13d){var _0x30222c=_0x5764;return new _0x2c3a69[(_0x30222c(0x3af))]['init'](_0x4513fb,_0x19c13d)[_0x30222c(0x1f3)](_0x16267e);};}});var _0x2c3a69=_0x2cfaae[_0x447ccc(0x44f)]={};return _0x2cfaae;}(Math);return _0x445b1a;}));}(Ge)),Ge['exports'];}var We={'exports':{}},un=We[_0x10928f(0x417)],qt;function Ni(){return qt||(qt=0x1,function(_0x18bf0a,_0x24c298){(function(_0xfa37f5,_0x32420e){_0x18bf0a['exports']=_0x32420e(ie());}(un,function(_0x24399){var _0x25dd7d=_0x5764;return(function(){var _0x24c186=_0x5764,_0x212ea3=_0x24399,_0x49f840=_0x212ea3['lib'],_0x1587c8=_0x49f840[_0x24c186(0x42c)],_0x169e0a=_0x212ea3[_0x24c186(0x31c)];_0x169e0a['Base64']={'stringify':function(_0x3e24eb){var _0x5dd33c=_0x24c186,_0x3b7e65=_0x3e24eb[_0x5dd33c(0x267)],_0x51365f=_0x3e24eb[_0x5dd33c(0x22b)],_0x33b5a5=this[_0x5dd33c(0x2d2)];_0x3e24eb[_0x5dd33c(0x3bd)]();for(var _0x2ea1cc=[],_0x2b5315=0x0;_0x2b5315<_0x51365f;_0x2b5315+=0x3)for(var _0x2476ec=_0x3b7e65[_0x2b5315>>>0x2]>>>0x18-_0x2b5315%0x4*0x8&0xff,_0x6f2eb4=_0x3b7e65[_0x2b5315+0x1>>>0x2]>>>0x18-(_0x2b5315+0x1)%0x4*0x8&0xff,_0x4a3c7e=_0x3b7e65[_0x2b5315+0x2>>>0x2]>>>0x18-(_0x2b5315+0x2)%0x4*0x8&0xff,_0x3ad52c=_0x2476ec<<0x10|_0x6f2eb4<<0x8|_0x4a3c7e,_0x13dbb8=0x0;_0x13dbb8<0x4&&_0x2b5315+_0x13dbb8*0.75<_0x51365f;_0x13dbb8++)_0x2ea1cc[_0x5dd33c(0x4b3)](_0x33b5a5[_0x5dd33c(0x3fa)](_0x3ad52c>>>0x6*(0x3-_0x13dbb8)&0x3f));var _0x1f6f6e=_0x33b5a5['charAt'](0x40);if(_0x1f6f6e){for(;_0x2ea1cc[_0x5dd33c(0x22d)]%0x4;)_0x2ea1cc[_0x5dd33c(0x4b3)](_0x1f6f6e);}return _0x2ea1cc[_0x5dd33c(0x1e4)]('');},'parse':function(_0x488ca7){var _0x3bd2b8=_0x24c186,_0x14f342=_0x488ca7['length'],_0x4e1e69=this['_map'],_0x3737dc=this[_0x3bd2b8(0x24a)];if(!_0x3737dc){_0x3737dc=this[_0x3bd2b8(0x24a)]=[];for(var _0x537f07=0x0;_0x537f07<_0x4e1e69[_0x3bd2b8(0x22d)];_0x537f07++)_0x3737dc[_0x4e1e69[_0x3bd2b8(0x20c)](_0x537f07)]=_0x537f07;}var _0x56f9b6=_0x4e1e69[_0x3bd2b8(0x3fa)](0x40);if(_0x56f9b6){var _0x324a41=_0x488ca7[_0x3bd2b8(0x47e)](_0x56f9b6);_0x324a41!==-0x1&&(_0x14f342=_0x324a41);}return _0x1a39b8(_0x488ca7,_0x14f342,_0x3737dc);},'_map':_0x24c186(0x30e)};function _0x1a39b8(_0x591c0d,_0x2b3102,_0x327358){var _0x3396e0=_0x24c186;for(var _0x100379=[],_0x3ac1df=0x0,_0x50c2f1=0x0;_0x50c2f1<_0x2b3102;_0x50c2f1++)if(_0x50c2f1%0x4){var _0xf6484=_0x327358[_0x591c0d[_0x3396e0(0x20c)](_0x50c2f1-0x1)]<<_0x50c2f1%0x4*0x2,_0x6905f6=_0x327358[_0x591c0d['charCodeAt'](_0x50c2f1)]>>>0x6-_0x50c2f1%0x4*0x2,_0x293b34=_0xf6484|_0x6905f6;_0x100379[_0x3ac1df>>>0x2]|=_0x293b34<<0x18-_0x3ac1df%0x4*0x8,_0x3ac1df++;}return _0x1587c8[_0x3396e0(0x28b)](_0x100379,_0x3ac1df);}}()),_0x24399[_0x25dd7d(0x31c)][_0x25dd7d(0x268)];}));}(We)),We['exports'];}function _0x2f17(){var _0x27a487=['555bFJlHZ','lib','members','disableLocalCache','execute','joinRsp','image/bmp','_createSocket','PERMISSION_REJ','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','FETCH_MISS','pipe','state$','_change$','JOIN_ROOM_FAILED','_compressMutationService','_decreaseWaiting','APPLY_DUPLICATED','setConfig','code','ENTITLE_CHAT_LIMIT_EXCEED','list','_transformUndoredo','/unit/','[OfflineState]:\x20received\x20rejection.','UNIVER_DOC','NOT_COLLAB','_createHelper','updateMember','9496773LajUGu','INVITE_CODE_REQUIRED','_throwTelemetryCollaborationNewChangeset','add','_toggleOnline','executeCommand','__splitChunk__','_imageSourceCache','enableCollaboration','buffer','localeService','HMAC','sendChangesetTimeout','UNIVER_UNKNOWN','headers','$super','ceil','AWAITING','enableOfflineEditing','_configService','_univerInstanceService','HELLO','override','_state','CHANGESET_ACK','clamp','defineProperty','updatePermissionPoint','CHANGESET_REVISION_CONFILICT','SOCKET_FAILED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','[PendingState]:\x20unhandled\x20univer\x20type:\x20','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','Cipher','loadOfflineData','collabWebSocketUrl','BlockCipherMode','toggleOffline','awaiting','_keySchedule','ENTITLE_DUP_SUBSCRIPTION','_localeService','socket\x20open.','subscribe','enableSingleActiveInstanceLock','joinEvent','TOO_MANY_REQUESTS','FETCH_MISSING','allowed','location','REDEMPTION_USER_NOT_ELIGIBLE','onMissedChangesetFetched','LICENSE_IMPORT_SIZE_EXCEEDED','[CollaborationState]:\x20apply\x20error!','USER_NOT_FOUND','unknown','_resendWithTimeout','objectActions','JOIN_ROOM_NOT_EXISTS','ws://127.0.0.1:8000/universer-api/comb/connect','DEFAULT_FILE_NAME','_resendTimeout','_resendTimer','abs','Encryptor','17797EfKaay','getConfig','onSendChangeset','_transformIMECache','_singleActiveUnitService','next','COMPRESS_MUTATION_APPLY','format','ALREADY_EXISTS','_members','every','getFocusedUnit','unpad','_telemetryService','_nRounds','resolve','unitId','processBlock','_unlockTransition','c1Prime','objectType','charAt','_sendHeartbeat','_socketMessageSubscription','objectID','_doFinalize','_type','loginUrlKey','HmacSHA1','LIVESHARE_OPERATION','selections','_getAPIPrefixPath','_timeoutTimer','6cycDbW','onTransformState','/universer-api/authz','state','_createInitialStateImpl','target','_userManagerService','EvpKDF','USER_NOT_INVITED_CODE','session.join-failed','createCollaborator','REDEMPTION_CODE_HAS_BEEN_CREATED','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','getOwnPropertyDescriptor','SHA1','_shouldReportTelemetry','interceptor','exports','extend','getLatestCsReqIdBySid','LICENSE_MAX_UNITS_EXCEEDED','OFFLINE','_instanceService','ENTITLE_NEED_BILLING_ADDRESS','_onJoinRoomEvent','findIndex','_key','slice','requireSession','REDEMPTION_INVALID_CODE','put','ERROR_EXCEED_SIZE','_getCtorByUniverType','compute','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_getLoginPath','blockSize','getImage','WordArray','BlockCipher','Could\x20not\x20dynamically\x20require\x20\x22','UNIVER_PROJECT','csShouldRetryEvent','addHandlerCallback','PasswordBasedCipher','collaboratorID','saveChangeset','AWAITING_WITH_PENDING','result','_transformStateCache','_removeRoom','GLOBAL_ROOMS_CNT_EXCEEDS','c2Prime','fetchThroughInterceptors','Hasher','SUBMIT_CHANGESET_TIMEOUT','_state$','EMAIL_VERIFY_CODE_MISMATCH','[CollaborationSession]','collaborators','YUUMI_ALL_TABLES_IS_INVALID','_onConnectionOpen','setCurrentUser','PENDING','INVITE_CODE_HAS_BEEN_UES','YUUMI_AI_RUN_FAILED','setWaitCount','session','_incrementRevisionNumber','_queuedRemoteChangesets','error$','focused$','COMMENT_UPDATE','algo','_transitionLocked','collaMsg','newCsEvent','NO_OTHER_CLIENTS_EDITING','editingUnit','stopTime','origin','csAckEvent','_event$','[UniverCollaborationClientPlugin]','body','_networkConditionService','_process','_getSignURL','session.room-permission-denied','reverse','OTHER_CLIENTS_EDITING','{fileID}','url','DATA_SOURCE_TOO_LARGE','mutations','UNIVER_SHEET','PERMISSION_DENIED','ERROR_AGAIN','REDEMPTION_CODE_INACTIVE','_isPermissionRej','_initUnitPermissionChange','loadUnitOfRevision','csRejEvent','set','forEach','mixIn','CLOSE_ROOM','INVALID_INVITE_CODE','14205280WfDPzK','onLocalMutation','_logService','has','_lockTransition','SerializableCipher','_unitInfo$','getImageSourceCache','decryptBlock','readyForCollab','_transformStack','/allowed','indexOf','FileId','listCollaborators','JOIN_ROOM_FULL','UPDATE_PERMISSION_OBJ','subUnitId','ENTITLE_COUPON_EXPIRED','YUUMI_SUBSCRIPTION_NOT_FOUND','_scheduleCollaborationTimeoutTimer','_getAPIPrefix','name','byteLength','[SyncedState]:\x20received\x20acknowledgement.','_undoRedoService','clone','_socketService','_createHandler','_minBufferSize','_joinRoom','ONLINE','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_injector','YUUMI_TABLE_NOT_FOUND_IN_UNIT','deepClone','onRemoteRej','unitInfo$','_clearCollaborationTimeoutTimer','_collaborationPaused','permissionRejEvent','_executeRemoteChangeset','_getRedoStack','LICENSE_EXPORT_SIZE_EXCEEDED','init','_socket','_telemetryInfo','ENTITLE_USE_COUPON_NOT_1ST_TRADE','changesets','updateCollaborator','_nDataBytes','_replayCachedMutations','_commentUpdate$','uploadFileServerUrl','createSocket','leaveEvent','univer-pro.collaboration-client.network-condition.service','getRandomValues','/-/object/list','[CollaborationSessionService]','HttpImport','_iKey','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','__creator','push','SOCKET_FAILED_RETRY','reduce','_commandService','href','_pendingMutations','_roomMembers','getValue','withCredentials','ciphertext','status','filter','BufferedBlockAlgorithm','_waitCount','asObservable','UNRECOGNIZED','socket\x20close','compose','PSEUDO_FETCH_MISSING_RESULT','default','INGEST','_updateState','offline','kdf','function','YUUMI_CONNECTOR_URL_NOT_FOUND','Pkcs7','awaitingChangeset','_retryConnectingTimer','hasOwnProperty','stringify','unitID','univer-pro.collaboration-client.single-active-unit-service','Undefined','revision','unit-cache-','UnitEmbedded','_init','7512LXZYKT','WECHAT_HAS_BEEN_BOUND','_createHmacHelper','incrementRevOfUnit','reconnect','awaiting_with_pending','_socketReady','_eventService','_onRecvEvent','/universer-api/user/session-ticket','/universer-api/oidc/authpage','REDEMPTION_CODE_NOT_STARTED','repeat','userID','_clearScheduledTask','onSyncEditingCollabCursor','_remoteChangesetQueue','authzUrl','_tryReconnect','onTransformRemoteChangesetByIMECache','APPLY_NON_SEQUENTIAL_REVISION','sheets','&to=','delete','_socket$','YUUMI_RATE_OVER_LIMIT','isArray','getMemberID','_entityInit$','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','resend','getCurrentSelections','_onRemoteRetry','getTime','UNDEFINED','updateSnapshot','_toggleOffline','FAIL','_onRemoteRejected','dispose$','JOIN','saveImage','_snapshotService','join','_getUndoStack','message$','crypto','type','getTypeOfUnitDisposed$','_clearUndo','LIVESHARE_REQUEST_HOST','call','ENTITLE_INVALID_COUPON_CODE','_members$','patch','HEARTBEAT_INTERVAL','closeSession','_permissionService','finalize','_roomCreated$','_keyPriorReset','reset','workbook','close','_onFetchMissResult','submit\x20changeset\x20error!','_undoStacks','ENTITLE_INSUFFICIENT_QUOTA','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_entities','/universer-api/uniscript','_xformMode','onTransformIME','getUnitId','getSnapshotAPIPath','post','size','floor','get','sessionStatus$','MUTATION','HEARTBEAT_TIMEOUT','range','charCodeAt','sid','_changesetSessionId','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','ERROR_IMAGE','collaboration_new_changeset','concat','_substituteUndoStack','_waitForHeartbeatResponse','action','_schedule','encodeURIComponent','_registerDependencies','find','disposeWithMe','[FetchMissState]','NOT_FOUND','save\x20fail\x20reason\x20is\x20','_onUserLeave','SNAPSHOT_INVALID_SNAPSHOT','[CollaborationUndoRedoService]','_handler','[SyncedState]:\x20received\x20rejection.','socketService','onCommentUpdate','_stopTelemetryCollaborationNewChangeset','_ENC_XFORM_MODE','_status$','_initCloseConn','putCollaborators','getRoom','sigBytes','_clearRedo','length','_onOffline','CHANGESET_SHOULD_RETRY','USERS_ENTER','NoPadding','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_mode','collaboration-client.config','_candidateSocket','transformSelections','fetchMiss','debug','LICENSE_DISTRO_REJECTED','UPDATE_CURSOR','UNKNOWN_CODE','transformChangesets','UnitSnapshot','synced','emitEvent','removeMember','pad','parse','_clearRetryConnectingTimer','_createInitialState','startsWith','commentUpdate$','_hasher','transformUndoRedo','YUUMI_URL_COL_OUT_OF_RANGE','_reverseMap','includes','_listenToNetworkCondition','_doCryptBlock','MOBILE_VERIFY_CODE_MISMATCH','OpenSSL','_applyRemoteChangeset','IDLE','&source=','members$','CONFLICT','random','_onConnectionFailed','deleteCollaborator','_transformService','loadDoc','_initMergeInterceptor','_rescheduleHeartbeat','ENTITLE_CAN_NOT_BUY_LOWER_OTP','getCollabEntity$','_sessionStatus$','/-/object/-/batch_allowed','/universer-api/snapshot','1086757yxUQPm','fetch_missing','sin','event$','dispose','_onRemoteChangeset','words','Base64','replace','__esModule','hasher','_parse','COMPRESS_MUTATION_SEND','/block/','key','USERS_LEAVE','title','updateOfflineData','liveShareOperation','decrypt','min','_unitID','StreamCipher','onRemoteAck','[PendingState]:\x20received\x20rejection.','LOGIN_FAILED','BASE64','_sheetTransformSelectionsService','session.room-not-exists','sessionStatus','JOIN_ROOM_PERMISSION_DENIED','unitId\x20is\x20not\x20found','_HTTPService','padding','SUBMIT_CHANGESET','reject','enableAuthServer','_memberService','_initDependencies','ENTITLE_COUPON_USED_UP','[CollaborationEntity]','APPLY_PERMISSION_DENIED','create','_syncEditingCollabCursor','textRanges','getTypeOfUnitAdded$','resourceIDs','readInt32LE','_onMessage','_doCreateSocket','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','ENSURE_SNAPSHOT_EXECUTION','_hash','_onConflict','_clearTimeoutTimer','OTHER_CLIENT_EDITING','splice','close$','getUnitOnRev','clear','_onUserJoin','createDecryptor','transformMutationsWithChangeset','_tryEnsureSocket','_httpService','prototype','encrypt','_replaceFileID','uniscriptRunEvent','onTransformRemoteChangesetByStateCache','fromCollab','onMissingChangesets','106UwUKki','image/gif','registerHTTPInterceptor','UNAUTHENTICATED','_disableEditing','memberID','6800944JXqUhZ','originalMeta','_sendingTimer','LIVESHARE_FETCH_OPERATIONS','_append','UNISCRIPT_RUN','onTransformSelections','/resources','getCurrentUser','SNAPSHOT_URL_KEY','_collaborationTimeoutTimer','addImageSourceCache','startTime','randomBytes','_acknowledgedAwaitingChangeset','reqId','then','getDeserializedSheetBlock','online$','MOBILE_HAS_BEEN_BOUND','_onRemoteACK','UNIVER_COLLABORATION_CLIENT_PLUGIN','_awaitingChangeset','NEW_CHANGESETS','max','getInterceptPoints','actions','YUUMI_ASYNCIO_CANCELLED','/fetchmissing?from=','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','\x20-\x20','_collaborationUIEventService','469500YsLvwF','getUnitStatus$','getActiveSheet','_map','[DataLoaderService]','retryConnectingInterval','map','/object/','Utf8','getSheetId','_transformRemoteChangesetByStateCache','batchAllowed','fetchMissingChangesets','getSheetBlock','_checkMissing','INVALID_ARGUMENT','update','error','Decryptor','_emitMembers','_data','USER_IS_ANONYMOUS','_retryCount','/new_changes','getUnit','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformStack\x20failed!','roomInfos','baseRev','MD5','cmd','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_scheduleCompleteTimestamp','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_getDownloadEndpointURL','_revisionService','m2Prime','image/jpeg','PAYMENT_CHANNEL_NOT_SUPPORT','/universer-api/stream/file/upload','_cipher','_clearLocalCache','listRoles','_transformSelections','APPLY_REVISION_CONFILICT','encryptBlock','_maxTotalRetryTimeout','salt','_getCurrentRevision','[OfflineState]:\x20received\x20acknowledgement.','HEARTBEAT','SNAPSHOT_HAS_BEEN_REMOVED','params','UNKNOWN_CMD','setShowComponents','confirm','_onLocalMutation','Error\x20on\x20receiving\x20event','CONNECTOR_DATA_TOO_LARGE','status$','AES','ERROR_IMAGE_TYPE','_fetchMissChangesets','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','editing\x20status\x20changed\x20to','RECV','open$','/rev/','toString','createInstance','/universer-api/snapshot/','REDEMPTION_CODE_FULLY_REDEEMED','complete','_startTelemetryCollaborationNewChangeset','msCrypto','SHOULD_CLOSE_CONN','_updateLocalCache','enc','isPermissionRej','CURRENT_STATUS_CANNOT_OPERATE','POST','INVITE_CODE_ALREADY_BOUND','getCurrentRevOfUnit','OPTIONAL','pauseCollaboration','EMAIL_HAS_BEEN_BOUND','YUUMI_NO_CUBOID_FOR_QUESTION','_startCollaboration','string','_collaborationSessionService','waitForRoom$','getCollabEntity','ivSize','Base','/role','_showConflictNotification','session.room-full','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','onMutationExecutedForCollab','_initRequestHeader','_submitChangeset','ENTITLE_REPORT_LIMIT_EXCEED','now','_invKeySchedule','univer-pro.collaboration-client-socket-service','getWorkbookSelections','session.room-cnt-exceeds','cfg','_collabSessionService','[OfflineState]:\x20received\x20changeset.','infoRsp','collabSubmitChangesetUrl','_exhaustRemoteChangesetQueue','_changesetReqId','_prevBlock','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UserProfileImg','MSG_FOR_ERROR','_getSendChangesetTimeout','routeKey','COMPLETION_FINISHED','iterations','_handlerCallback','data','_sender','connection\x20error','mode','SYNCED','avatar','_config','_updateStatus','collaboration-client.local-cache-service','PY_RUNTIME_SCRIPT_ERROR','UNIVER_SLIDE','_substituteRedoStack','/collaborator','requestParams','hostname','onStarting','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','ClipsheetFragments','duration','subject','_clearHeartbeatTimer','AUTHORIZE_CODE_ILLEGAL','_doReset','_iv','_sessions','shouldCloseConn','onRemoteChangeset','liveShareNewHost','_commentService','signUrlServerUrl','LOGIN_TOKEN_PROCESSING_FAILED','symbol','LIVESHARE_NEW_HOST','toggleOnline','method','apply','saveSnapshot','localCacheService','&assign=','entityInit$','CBC','REDEMPTION_USER_REDEEM_TIMES_EXCEED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_getUploadFileURL','commentUpdateEvent','_localCacheService','_oKey','eventID','send','pending','_onCombEvent','onRemoteRetry','HttpExport','LIVESHARE_TERMINATE','fromCharCode','_sendHeartbeatTimer','unsubscribe','\x20to\x20','appendMutation','_DEC_XFORM_MODE','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!'];_0x2f17=function(){return _0x27a487;};return _0x2f17();}var Ye={'exports':{}},dn=Ye[_0x10928f(0x417)],zt;function fn(){var _0xc7ae13=_0x10928f;return zt||(zt=0x1,function(_0xd5aae7,_0x4db692){(function(_0x15caf5,_0x1b41c9){var _0x212d45=_0x5764;_0xd5aae7[_0x212d45(0x417)]=_0x1b41c9(ie());}(dn,function(_0xc46292){return function(_0x28345e){var _0x1090e5=_0x5764,_0xcf480a=_0xc46292,_0xb809e0=_0xcf480a[_0x1090e5(0x388)],_0x2cdc56=_0xb809e0['WordArray'],_0x126400=_0xb809e0[_0x1090e5(0x43c)],_0x3476b6=_0xcf480a['algo'],_0x24b64b=[];(function(){var _0x32d96f=_0x1090e5;for(var _0xa82b10=0x0;_0xa82b10<0x40;_0xa82b10++)_0x24b64b[_0xa82b10]=_0x28345e[_0x32d96f(0x3e3)](_0x28345e[_0x32d96f(0x263)](_0xa82b10+0x1))*0x100000000|0x0;}());var _0x210110=_0x3476b6[_0x1090e5(0x2ec)]=_0x126400[_0x1090e5(0x418)]({'_doReset':function(){var _0x1f7b05=_0x1090e5;this[_0x1f7b05(0x295)]=new _0x2cdc56[(_0x1f7b05(0x49e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x54cd88,_0x3bbd24){var _0x27a26f=_0x1090e5;for(var _0x5a980e=0x0;_0x5a980e<0x10;_0x5a980e++){var _0x17f89c=_0x3bbd24+_0x5a980e,_0x4a01d4=_0x54cd88[_0x17f89c];_0x54cd88[_0x17f89c]=(_0x4a01d4<<0x8|_0x4a01d4>>>0x18)&0xff00ff|(_0x4a01d4<<0x18|_0x4a01d4>>>0x8)&0xff00ff00;}var _0x2872d5=this[_0x27a26f(0x295)][_0x27a26f(0x267)],_0x32100b=_0x54cd88[_0x3bbd24+0x0],_0x1ce733=_0x54cd88[_0x3bbd24+0x1],_0x596b9a=_0x54cd88[_0x3bbd24+0x2],_0x34b32c=_0x54cd88[_0x3bbd24+0x3],_0x161846=_0x54cd88[_0x3bbd24+0x4],_0x5b8bee=_0x54cd88[_0x3bbd24+0x5],_0x403b7e=_0x54cd88[_0x3bbd24+0x6],_0x14f9ef=_0x54cd88[_0x3bbd24+0x7],_0xbee041=_0x54cd88[_0x3bbd24+0x8],_0x36a6ee=_0x54cd88[_0x3bbd24+0x9],_0x2aafc0=_0x54cd88[_0x3bbd24+0xa],_0x6725d0=_0x54cd88[_0x3bbd24+0xb],_0x2a8661=_0x54cd88[_0x3bbd24+0xc],_0x283dad=_0x54cd88[_0x3bbd24+0xd],_0x30f594=_0x54cd88[_0x3bbd24+0xe],_0x2ea422=_0x54cd88[_0x3bbd24+0xf],_0x527964=_0x2872d5[0x0],_0x196b65=_0x2872d5[0x1],_0x567f53=_0x2872d5[0x2],_0x2a89bb=_0x2872d5[0x3];_0x527964=_0x2a3a25(_0x527964,_0x196b65,_0x567f53,_0x2a89bb,_0x32100b,0x7,_0x24b64b[0x0]),_0x2a89bb=_0x2a3a25(_0x2a89bb,_0x527964,_0x196b65,_0x567f53,_0x1ce733,0xc,_0x24b64b[0x1]),_0x567f53=_0x2a3a25(_0x567f53,_0x2a89bb,_0x527964,_0x196b65,_0x596b9a,0x11,_0x24b64b[0x2]),_0x196b65=_0x2a3a25(_0x196b65,_0x567f53,_0x2a89bb,_0x527964,_0x34b32c,0x16,_0x24b64b[0x3]),_0x527964=_0x2a3a25(_0x527964,_0x196b65,_0x567f53,_0x2a89bb,_0x161846,0x7,_0x24b64b[0x4]),_0x2a89bb=_0x2a3a25(_0x2a89bb,_0x527964,_0x196b65,_0x567f53,_0x5b8bee,0xc,_0x24b64b[0x5]),_0x567f53=_0x2a3a25(_0x567f53,_0x2a89bb,_0x527964,_0x196b65,_0x403b7e,0x11,_0x24b64b[0x6]),_0x196b65=_0x2a3a25(_0x196b65,_0x567f53,_0x2a89bb,_0x527964,_0x14f9ef,0x16,_0x24b64b[0x7]),_0x527964=_0x2a3a25(_0x527964,_0x196b65,_0x567f53,_0x2a89bb,_0xbee041,0x7,_0x24b64b[0x8]),_0x2a89bb=_0x2a3a25(_0x2a89bb,_0x527964,_0x196b65,_0x567f53,_0x36a6ee,0xc,_0x24b64b[0x9]),_0x567f53=_0x2a3a25(_0x567f53,_0x2a89bb,_0x527964,_0x196b65,_0x2aafc0,0x11,_0x24b64b[0xa]),_0x196b65=_0x2a3a25(_0x196b65,_0x567f53,_0x2a89bb,_0x527964,_0x6725d0,0x16,_0x24b64b[0xb]),_0x527964=_0x2a3a25(_0x527964,_0x196b65,_0x567f53,_0x2a89bb,_0x2a8661,0x7,_0x24b64b[0xc]),_0x2a89bb=_0x2a3a25(_0x2a89bb,_0x527964,_0x196b65,_0x567f53,_0x283dad,0xc,_0x24b64b[0xd]),_0x567f53=_0x2a3a25(_0x567f53,_0x2a89bb,_0x527964,_0x196b65,_0x30f594,0x11,_0x24b64b[0xe]),_0x196b65=_0x2a3a25(_0x196b65,_0x567f53,_0x2a89bb,_0x527964,_0x2ea422,0x16,_0x24b64b[0xf]),_0x527964=_0x47292f(_0x527964,_0x196b65,_0x567f53,_0x2a89bb,_0x1ce733,0x5,_0x24b64b[0x10]),_0x2a89bb=_0x47292f(_0x2a89bb,_0x527964,_0x196b65,_0x567f53,_0x403b7e,0x9,_0x24b64b[0x11]),_0x567f53=_0x47292f(_0x567f53,_0x2a89bb,_0x527964,_0x196b65,_0x6725d0,0xe,_0x24b64b[0x12]),_0x196b65=_0x47292f(_0x196b65,_0x567f53,_0x2a89bb,_0x527964,_0x32100b,0x14,_0x24b64b[0x13]),_0x527964=_0x47292f(_0x527964,_0x196b65,_0x567f53,_0x2a89bb,_0x5b8bee,0x5,_0x24b64b[0x14]),_0x2a89bb=_0x47292f(_0x2a89bb,_0x527964,_0x196b65,_0x567f53,_0x2aafc0,0x9,_0x24b64b[0x15]),_0x567f53=_0x47292f(_0x567f53,_0x2a89bb,_0x527964,_0x196b65,_0x2ea422,0xe,_0x24b64b[0x16]),_0x196b65=_0x47292f(_0x196b65,_0x567f53,_0x2a89bb,_0x527964,_0x161846,0x14,_0x24b64b[0x17]),_0x527964=_0x47292f(_0x527964,_0x196b65,_0x567f53,_0x2a89bb,_0x36a6ee,0x5,_0x24b64b[0x18]),_0x2a89bb=_0x47292f(_0x2a89bb,_0x527964,_0x196b65,_0x567f53,_0x30f594,0x9,_0x24b64b[0x19]),_0x567f53=_0x47292f(_0x567f53,_0x2a89bb,_0x527964,_0x196b65,_0x34b32c,0xe,_0x24b64b[0x1a]),_0x196b65=_0x47292f(_0x196b65,_0x567f53,_0x2a89bb,_0x527964,_0xbee041,0x14,_0x24b64b[0x1b]),_0x527964=_0x47292f(_0x527964,_0x196b65,_0x567f53,_0x2a89bb,_0x283dad,0x5,_0x24b64b[0x1c]),_0x2a89bb=_0x47292f(_0x2a89bb,_0x527964,_0x196b65,_0x567f53,_0x596b9a,0x9,_0x24b64b[0x1d]),_0x567f53=_0x47292f(_0x567f53,_0x2a89bb,_0x527964,_0x196b65,_0x14f9ef,0xe,_0x24b64b[0x1e]),_0x196b65=_0x47292f(_0x196b65,_0x567f53,_0x2a89bb,_0x527964,_0x2a8661,0x14,_0x24b64b[0x1f]),_0x527964=_0x307196(_0x527964,_0x196b65,_0x567f53,_0x2a89bb,_0x5b8bee,0x4,_0x24b64b[0x20]),_0x2a89bb=_0x307196(_0x2a89bb,_0x527964,_0x196b65,_0x567f53,_0xbee041,0xb,_0x24b64b[0x21]),_0x567f53=_0x307196(_0x567f53,_0x2a89bb,_0x527964,_0x196b65,_0x6725d0,0x10,_0x24b64b[0x22]),_0x196b65=_0x307196(_0x196b65,_0x567f53,_0x2a89bb,_0x527964,_0x30f594,0x17,_0x24b64b[0x23]),_0x527964=_0x307196(_0x527964,_0x196b65,_0x567f53,_0x2a89bb,_0x1ce733,0x4,_0x24b64b[0x24]),_0x2a89bb=_0x307196(_0x2a89bb,_0x527964,_0x196b65,_0x567f53,_0x161846,0xb,_0x24b64b[0x25]),_0x567f53=_0x307196(_0x567f53,_0x2a89bb,_0x527964,_0x196b65,_0x14f9ef,0x10,_0x24b64b[0x26]),_0x196b65=_0x307196(_0x196b65,_0x567f53,_0x2a89bb,_0x527964,_0x2aafc0,0x17,_0x24b64b[0x27]),_0x527964=_0x307196(_0x527964,_0x196b65,_0x567f53,_0x2a89bb,_0x283dad,0x4,_0x24b64b[0x28]),_0x2a89bb=_0x307196(_0x2a89bb,_0x527964,_0x196b65,_0x567f53,_0x32100b,0xb,_0x24b64b[0x29]),_0x567f53=_0x307196(_0x567f53,_0x2a89bb,_0x527964,_0x196b65,_0x34b32c,0x10,_0x24b64b[0x2a]),_0x196b65=_0x307196(_0x196b65,_0x567f53,_0x2a89bb,_0x527964,_0x403b7e,0x17,_0x24b64b[0x2b]),_0x527964=_0x307196(_0x527964,_0x196b65,_0x567f53,_0x2a89bb,_0x36a6ee,0x4,_0x24b64b[0x2c]),_0x2a89bb=_0x307196(_0x2a89bb,_0x527964,_0x196b65,_0x567f53,_0x2a8661,0xb,_0x24b64b[0x2d]),_0x567f53=_0x307196(_0x567f53,_0x2a89bb,_0x527964,_0x196b65,_0x2ea422,0x10,_0x24b64b[0x2e]),_0x196b65=_0x307196(_0x196b65,_0x567f53,_0x2a89bb,_0x527964,_0x596b9a,0x17,_0x24b64b[0x2f]),_0x527964=_0xec14ea(_0x527964,_0x196b65,_0x567f53,_0x2a89bb,_0x32100b,0x6,_0x24b64b[0x30]),_0x2a89bb=_0xec14ea(_0x2a89bb,_0x527964,_0x196b65,_0x567f53,_0x14f9ef,0xa,_0x24b64b[0x31]),_0x567f53=_0xec14ea(_0x567f53,_0x2a89bb,_0x527964,_0x196b65,_0x30f594,0xf,_0x24b64b[0x32]),_0x196b65=_0xec14ea(_0x196b65,_0x567f53,_0x2a89bb,_0x527964,_0x5b8bee,0x15,_0x24b64b[0x33]),_0x527964=_0xec14ea(_0x527964,_0x196b65,_0x567f53,_0x2a89bb,_0x2a8661,0x6,_0x24b64b[0x34]),_0x2a89bb=_0xec14ea(_0x2a89bb,_0x527964,_0x196b65,_0x567f53,_0x34b32c,0xa,_0x24b64b[0x35]),_0x567f53=_0xec14ea(_0x567f53,_0x2a89bb,_0x527964,_0x196b65,_0x2aafc0,0xf,_0x24b64b[0x36]),_0x196b65=_0xec14ea(_0x196b65,_0x567f53,_0x2a89bb,_0x527964,_0x1ce733,0x15,_0x24b64b[0x37]),_0x527964=_0xec14ea(_0x527964,_0x196b65,_0x567f53,_0x2a89bb,_0xbee041,0x6,_0x24b64b[0x38]),_0x2a89bb=_0xec14ea(_0x2a89bb,_0x527964,_0x196b65,_0x567f53,_0x2ea422,0xa,_0x24b64b[0x39]),_0x567f53=_0xec14ea(_0x567f53,_0x2a89bb,_0x527964,_0x196b65,_0x403b7e,0xf,_0x24b64b[0x3a]),_0x196b65=_0xec14ea(_0x196b65,_0x567f53,_0x2a89bb,_0x527964,_0x283dad,0x15,_0x24b64b[0x3b]),_0x527964=_0xec14ea(_0x527964,_0x196b65,_0x567f53,_0x2a89bb,_0x161846,0x6,_0x24b64b[0x3c]),_0x2a89bb=_0xec14ea(_0x2a89bb,_0x527964,_0x196b65,_0x567f53,_0x6725d0,0xa,_0x24b64b[0x3d]),_0x567f53=_0xec14ea(_0x567f53,_0x2a89bb,_0x527964,_0x196b65,_0x596b9a,0xf,_0x24b64b[0x3e]),_0x196b65=_0xec14ea(_0x196b65,_0x567f53,_0x2a89bb,_0x527964,_0x36a6ee,0x15,_0x24b64b[0x3f]),_0x2872d5[0x0]=_0x2872d5[0x0]+_0x527964|0x0,_0x2872d5[0x1]=_0x2872d5[0x1]+_0x196b65|0x0,_0x2872d5[0x2]=_0x2872d5[0x2]+_0x567f53|0x0,_0x2872d5[0x3]=_0x2872d5[0x3]+_0x2a89bb|0x0;},'_doFinalize':function(){var _0x328e32=_0x1090e5,_0x121621=this[_0x328e32(0x2e3)],_0x5328d0=_0x121621['words'],_0x2e4336=this[_0x328e32(0x4a4)]*0x8,_0x4f89fc=_0x121621['sigBytes']*0x8;_0x5328d0[_0x4f89fc>>>0x5]|=0x80<<0x18-_0x4f89fc%0x20;var _0x23452c=_0x28345e[_0x328e32(0x206)](_0x2e4336/0x100000000),_0x17ecce=_0x2e4336;_0x5328d0[(_0x4f89fc+0x40>>>0x9<<0x4)+0xf]=(_0x23452c<<0x8|_0x23452c>>>0x18)&0xff00ff|(_0x23452c<<0x18|_0x23452c>>>0x8)&0xff00ff00,_0x5328d0[(_0x4f89fc+0x40>>>0x9<<0x4)+0xe]=(_0x17ecce<<0x8|_0x17ecce>>>0x18)&0xff00ff|(_0x17ecce<<0x18|_0x17ecce>>>0x8)&0xff00ff00,_0x121621[_0x328e32(0x22b)]=(_0x5328d0[_0x328e32(0x22d)]+0x1)*0x4,this[_0x328e32(0x45c)]();for(var _0x54710b=this['_hash'],_0x3693d5=_0x54710b[_0x328e32(0x267)],_0x1ae6f4=0x0;_0x1ae6f4<0x4;_0x1ae6f4++){var _0x1cdcb1=_0x3693d5[_0x1ae6f4];_0x3693d5[_0x1ae6f4]=(_0x1cdcb1<<0x8|_0x1cdcb1>>>0x18)&0xff00ff|(_0x1cdcb1<<0x18|_0x1cdcb1>>>0x8)&0xff00ff00;}return _0x54710b;},'clone':function(){var _0x219662=_0x1090e5,_0x8913a0=_0x126400[_0x219662(0x48c)][_0x219662(0x1ec)](this);return _0x8913a0[_0x219662(0x295)]=this['_hash'][_0x219662(0x48c)](),_0x8913a0;}});function _0x2a3a25(_0x50210c,_0x1d19a6,_0x5f07f7,_0x27763f,_0x41f31f,_0x4b060a,_0x58739f){var _0x3ed8da=_0x50210c+(_0x1d19a6&_0x5f07f7|~_0x1d19a6&_0x27763f)+_0x41f31f+_0x58739f;return(_0x3ed8da<<_0x4b060a|_0x3ed8da>>>0x20-_0x4b060a)+_0x1d19a6;}function _0x47292f(_0x3cbb69,_0x55f287,_0x4fc0e0,_0x6f3448,_0x4cb979,_0x3836a7,_0x3b1f87){var _0x5a1e62=_0x3cbb69+(_0x55f287&_0x6f3448|_0x4fc0e0&~_0x6f3448)+_0x4cb979+_0x3b1f87;return(_0x5a1e62<<_0x3836a7|_0x5a1e62>>>0x20-_0x3836a7)+_0x55f287;}function _0x307196(_0x10f984,_0x397fa4,_0x41f835,_0x2e8715,_0xcd83dd,_0x9f31eb,_0x291cfc){var _0x48dd59=_0x10f984+(_0x397fa4^_0x41f835^_0x2e8715)+_0xcd83dd+_0x291cfc;return(_0x48dd59<<_0x9f31eb|_0x48dd59>>>0x20-_0x9f31eb)+_0x397fa4;}function _0xec14ea(_0x2f1f1b,_0x1badce,_0x459699,_0x291843,_0x3bf691,_0x88aeb,_0x46cdc3){var _0x1c8bdc=_0x2f1f1b+(_0x459699^(_0x1badce|~_0x291843))+_0x3bf691+_0x46cdc3;return(_0x1c8bdc<<_0x88aeb|_0x1c8bdc>>>0x20-_0x88aeb)+_0x1badce;}_0xcf480a['MD5']=_0x126400[_0x1090e5(0x3a2)](_0x210110),_0xcf480a['HmacMD5']=_0x126400[_0x1090e5(0x4db)](_0x210110);}(Math),_0xc46292['MD5'];}));}(Ye)),Ye[_0xc7ae13(0x417)];}var Ke={'exports':{}},qe={'exports':{}},vn=qe[_0x10928f(0x417)],Xt;function En(){var _0xf73b3d=_0x10928f;return Xt||(Xt=0x1,function(_0x3790f0,_0xe544e7){(function(_0x284447,_0x2f5e65){var _0x110f24=_0x5764;_0x3790f0[_0x110f24(0x417)]=_0x2f5e65(ie());}(vn,function(_0x12c9ed){var _0x38aeed=_0x5764;return(function(){var _0x4e40cf=_0x5764,_0x12cb51=_0x12c9ed,_0x4097f2=_0x12cb51[_0x4e40cf(0x388)],_0x46fc38=_0x4097f2[_0x4e40cf(0x42c)],_0x1e0b87=_0x4097f2[_0x4e40cf(0x43c)],_0x27bd4d=_0x12cb51['algo'],_0x4ba5a8=[],_0x5b4e9d=_0x27bd4d['SHA1']=_0x1e0b87[_0x4e40cf(0x418)]({'_doReset':function(){var _0x1438b9=_0x4e40cf;this[_0x1438b9(0x295)]=new _0x46fc38[(_0x1438b9(0x49e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x51ec55,_0x1edec5){var _0x49a47e=_0x4e40cf;for(var _0x118f7c=this[_0x49a47e(0x295)][_0x49a47e(0x267)],_0xff72a6=_0x118f7c[0x0],_0x3ef099=_0x118f7c[0x1],_0x5ad78b=_0x118f7c[0x2],_0x53d36b=_0x118f7c[0x3],_0x2f7d35=_0x118f7c[0x4],_0x30f9a3=0x0;_0x30f9a3<0x50;_0x30f9a3++){if(_0x30f9a3<0x10)_0x4ba5a8[_0x30f9a3]=_0x51ec55[_0x1edec5+_0x30f9a3]|0x0;else{var _0x2ab88f=_0x4ba5a8[_0x30f9a3-0x3]^_0x4ba5a8[_0x30f9a3-0x8]^_0x4ba5a8[_0x30f9a3-0xe]^_0x4ba5a8[_0x30f9a3-0x10];_0x4ba5a8[_0x30f9a3]=_0x2ab88f<<0x1|_0x2ab88f>>>0x1f;}var _0x233d92=(_0xff72a6<<0x5|_0xff72a6>>>0x1b)+_0x2f7d35+_0x4ba5a8[_0x30f9a3];_0x30f9a3<0x14?_0x233d92+=(_0x3ef099&_0x5ad78b|~_0x3ef099&_0x53d36b)+0x5a827999:_0x30f9a3<0x28?_0x233d92+=(_0x3ef099^_0x5ad78b^_0x53d36b)+0x6ed9eba1:_0x30f9a3<0x3c?_0x233d92+=(_0x3ef099&_0x5ad78b|_0x3ef099&_0x53d36b|_0x5ad78b&_0x53d36b)-0x70e44324:_0x233d92+=(_0x3ef099^_0x5ad78b^_0x53d36b)-0x359d3e2a,_0x2f7d35=_0x53d36b,_0x53d36b=_0x5ad78b,_0x5ad78b=_0x3ef099<<0x1e|_0x3ef099>>>0x2,_0x3ef099=_0xff72a6,_0xff72a6=_0x233d92;}_0x118f7c[0x0]=_0x118f7c[0x0]+_0xff72a6|0x0,_0x118f7c[0x1]=_0x118f7c[0x1]+_0x3ef099|0x0,_0x118f7c[0x2]=_0x118f7c[0x2]+_0x5ad78b|0x0,_0x118f7c[0x3]=_0x118f7c[0x3]+_0x53d36b|0x0,_0x118f7c[0x4]=_0x118f7c[0x4]+_0x2f7d35|0x0;},'_doFinalize':function(){var _0x481bb2=_0x4e40cf,_0x4092e4=this[_0x481bb2(0x2e3)],_0x257ac0=_0x4092e4['words'],_0x2178a0=this[_0x481bb2(0x4a4)]*0x8,_0x4896c8=_0x4092e4['sigBytes']*0x8;return _0x257ac0[_0x4896c8>>>0x5]|=0x80<<0x18-_0x4896c8%0x20,_0x257ac0[(_0x4896c8+0x40>>>0x9<<0x4)+0xe]=Math[_0x481bb2(0x206)](_0x2178a0/0x100000000),_0x257ac0[(_0x4896c8+0x40>>>0x9<<0x4)+0xf]=_0x2178a0,_0x4092e4[_0x481bb2(0x22b)]=_0x257ac0[_0x481bb2(0x22d)]*0x4,this[_0x481bb2(0x45c)](),this['_hash'];},'clone':function(){var _0x2cab21=_0x4e40cf,_0x237f78=_0x1e0b87[_0x2cab21(0x48c)][_0x2cab21(0x1ec)](this);return _0x237f78[_0x2cab21(0x295)]=this['_hash'][_0x2cab21(0x48c)](),_0x237f78;}});_0x12cb51['SHA1']=_0x1e0b87[_0x4e40cf(0x3a2)](_0x5b4e9d),_0x12cb51[_0x4e40cf(0x401)]=_0x1e0b87[_0x4e40cf(0x4db)](_0x5b4e9d);}()),_0x12c9ed[_0x38aeed(0x414)];}));}(qe)),qe[_0xf73b3d(0x417)];}var ze={'exports':{}},pn=ze[_0x10928f(0x417)],Jt;function mn(){var _0x189190=_0x10928f;return Jt||(Jt=0x1,function(_0x384529,_0x5bc1ce){(function(_0x4ffbc3,_0xd6e125){_0x384529['exports']=_0xd6e125(ie());}(pn,function(_0x3abad8){(function(){var _0x2eb62a=_0x5764,_0x595158=_0x3abad8,_0x34ac1e=_0x595158[_0x2eb62a(0x388)],_0x4751d4=_0x34ac1e[_0x2eb62a(0x32c)],_0x59e131=_0x595158[_0x2eb62a(0x31c)],_0x3f682e=_0x59e131[_0x2eb62a(0x2d7)],_0x1af910=_0x595158[_0x2eb62a(0x44f)];_0x1af910[_0x2eb62a(0x3af)]=_0x4751d4['extend']({'init':function(_0x437ac8,_0x28da9b){var _0x1f9410=_0x2eb62a;_0x437ac8=this[_0x1f9410(0x247)]=new _0x437ac8[(_0x1f9410(0x49e))](),typeof _0x28da9b==_0x1f9410(0x327)&&(_0x28da9b=_0x3f682e['parse'](_0x28da9b));var _0xf494ea=_0x437ac8[_0x1f9410(0x42a)],_0x56ab14=_0xf494ea*0x4;_0x28da9b[_0x1f9410(0x22b)]>_0x56ab14&&(_0x28da9b=_0x437ac8[_0x1f9410(0x1f3)](_0x28da9b)),_0x28da9b[_0x1f9410(0x3bd)]();for(var _0x5ab98e=this[_0x1f9410(0x378)]=_0x28da9b[_0x1f9410(0x48c)](),_0x491857=this[_0x1f9410(0x4af)]=_0x28da9b[_0x1f9410(0x48c)](),_0x2f2f8c=_0x5ab98e[_0x1f9410(0x267)],_0x51548a=_0x491857[_0x1f9410(0x267)],_0x34d114=0x0;_0x34d114<_0xf494ea;_0x34d114++)_0x2f2f8c[_0x34d114]^=0x5c5c5c5c,_0x51548a[_0x34d114]^=0x36363636;_0x5ab98e[_0x1f9410(0x22b)]=_0x491857['sigBytes']=_0x56ab14,this[_0x1f9410(0x1f6)]();},'reset':function(){var _0x41bf7d=_0x2eb62a,_0xd801df=this[_0x41bf7d(0x247)];_0xd801df[_0x41bf7d(0x1f6)](),_0xd801df[_0x41bf7d(0x2df)](this[_0x41bf7d(0x4af)]);},'update':function(_0x2a8df9){var _0x4f214e=_0x2eb62a;return this[_0x4f214e(0x247)][_0x4f214e(0x2df)](_0x2a8df9),this;},'finalize':function(_0x330218){var _0x5f0954=_0x2eb62a,_0x5d9788=this['_hasher'],_0x43a83d=_0x5d9788[_0x5f0954(0x1f3)](_0x330218);_0x5d9788['reset']();var _0x1de754=_0x5d9788[_0x5f0954(0x1f3)](this[_0x5f0954(0x378)][_0x5f0954(0x48c)]()[_0x5f0954(0x212)](_0x43a83d));return _0x1de754;}});}());}));}(ze)),ze[_0x189190(0x417)];}var In=Ke['exports'],Zt;function Ci(){var _0x65a6bf=_0x10928f;return Zt||(Zt=0x1,function(_0x548321,_0x24c154){(function(_0x3c9f6d,_0xf544cf,_0x530215){var _0x150c57=_0x5764;_0x548321[_0x150c57(0x417)]=_0xf544cf(ie(),En(),mn());}(In,function(_0x16b4ac){var _0x5116c7=_0x5764;return(function(){var _0x1a3513=_0x5764,_0x14bdfd=_0x16b4ac,_0x54348d=_0x14bdfd[_0x1a3513(0x388)],_0x24252a=_0x54348d['Base'],_0x2c897a=_0x54348d[_0x1a3513(0x42c)],_0x38c4bc=_0x14bdfd['algo'],_0x1f6378=_0x38c4bc[_0x1a3513(0x2ec)],_0x27b912=_0x38c4bc[_0x1a3513(0x40d)]=_0x24252a[_0x1a3513(0x418)]({'cfg':_0x24252a['extend']({'keySize':0x80/0x20,'hasher':_0x1f6378,'iterations':0x1}),'init':function(_0x3c274e){var _0x4aacc2=_0x1a3513;this[_0x4aacc2(0x33a)]=this[_0x4aacc2(0x33a)][_0x4aacc2(0x418)](_0x3c274e);},'compute':function(_0x298d85,_0x5628e0){var _0x565ff9=_0x1a3513;for(var _0x984f36,_0x693987=this[_0x565ff9(0x33a)],_0x134aa9=_0x693987[_0x565ff9(0x26b)][_0x565ff9(0x28b)](),_0x571d60=_0x2c897a[_0x565ff9(0x28b)](),_0x4bc0f2=_0x571d60['words'],_0x23551e=_0x693987['keySize'],_0x20854c=_0x693987[_0x565ff9(0x348)];_0x4bc0f2[_0x565ff9(0x22d)]<_0x23551e;){_0x984f36&&_0x134aa9[_0x565ff9(0x2df)](_0x984f36),_0x984f36=_0x134aa9[_0x565ff9(0x2df)](_0x298d85)[_0x565ff9(0x1f3)](_0x5628e0),_0x134aa9[_0x565ff9(0x1f6)]();for(var _0x2e7527=0x1;_0x2e7527<_0x20854c;_0x2e7527++)_0x984f36=_0x134aa9[_0x565ff9(0x1f3)](_0x984f36),_0x134aa9[_0x565ff9(0x1f6)]();_0x571d60[_0x565ff9(0x212)](_0x984f36);}return _0x571d60[_0x565ff9(0x22b)]=_0x23551e*0x4,_0x571d60;}});_0x14bdfd[_0x1a3513(0x40d)]=function(_0x2e2aaa,_0x4de6ee,_0xfdaec1){var _0x5dcd4c=_0x1a3513;return _0x27b912[_0x5dcd4c(0x28b)](_0xfdaec1)['compute'](_0x2e2aaa,_0x4de6ee);};}()),_0x16b4ac[_0x5116c7(0x40d)];}));}(Ke)),Ke[_0x65a6bf(0x417)];}var Xe={'exports':{}},Sn=Xe[_0x10928f(0x417)],Qt;function bi(){var _0x255c4c=_0x10928f;return Qt||(Qt=0x1,function(_0x2fa560,_0x26f525){(function(_0x1dd223,_0x55855b,_0x2bd6dc){var _0x5d1360=_0x5764;_0x2fa560[_0x5d1360(0x417)]=_0x55855b(ie(),Ci());}(Sn,function(_0x2cdec8){_0x2cdec8['lib']['Cipher']||function(_0x3fc0ab){var _0x462acd=_0x5764,_0x22ec08=_0x2cdec8,_0x250414=_0x22ec08['lib'],_0x40b829=_0x250414[_0x462acd(0x32c)],_0x2a7567=_0x250414[_0x462acd(0x42c)],_0x50e1da=_0x250414[_0x462acd(0x4bf)],_0x3a5379=_0x22ec08[_0x462acd(0x31c)];_0x3a5379[_0x462acd(0x2d7)];var _0x475e0b=_0x3a5379[_0x462acd(0x268)],_0x57030b=_0x22ec08[_0x462acd(0x44f)],_0x3158de=_0x57030b[_0x462acd(0x40d)],_0x2fb248=_0x250414[_0x462acd(0x3c5)]=_0x50e1da[_0x462acd(0x418)]({'cfg':_0x40b829[_0x462acd(0x418)](),'createEncryptor':function(_0x309008,_0x5175ca){var _0x1a12dd=_0x462acd;return this[_0x1a12dd(0x28b)](this['_ENC_XFORM_MODE'],_0x309008,_0x5175ca);},'createDecryptor':function(_0xaac595,_0x2c7945){var _0x189d6d=_0x462acd;return this[_0x189d6d(0x28b)](this[_0x189d6d(0x385)],_0xaac595,_0x2c7945);},'init':function(_0x1307d0,_0x467e09,_0x351c9c){var _0x5e3d61=_0x462acd;this[_0x5e3d61(0x33a)]=this[_0x5e3d61(0x33a)][_0x5e3d61(0x418)](_0x351c9c),this['_xformMode']=_0x1307d0,this[_0x5e3d61(0x420)]=_0x467e09,this[_0x5e3d61(0x1f6)]();},'reset':function(){var _0x15024b=_0x462acd;_0x50e1da[_0x15024b(0x1f6)][_0x15024b(0x1ec)](this),this[_0x15024b(0x360)]();},'process':function(_0x4ec008){var _0x440c1b=_0x462acd;return this[_0x440c1b(0x2b3)](_0x4ec008),this[_0x440c1b(0x45c)]();},'finalize':function(_0x50fe03){var _0x1a0bc0=_0x462acd;_0x50fe03&&this[_0x1a0bc0(0x2b3)](_0x50fe03);var _0x39c348=this[_0x1a0bc0(0x3fe)]();return _0x39c348;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xefb9f9(_0x34ce30){return typeof _0x34ce30=='string'?_0x2e7daf:_0x1cd9a7;}return function(_0xe3e91c){return{'encrypt':function(_0xfea96b,_0x24cf38,_0x2cef26){var _0x39c7d4=_0x5764;return _0xefb9f9(_0x24cf38)[_0x39c7d4(0x2a3)](_0xe3e91c,_0xfea96b,_0x24cf38,_0x2cef26);},'decrypt':function(_0x5badb1,_0x6ab316,_0x2807ba){return _0xefb9f9(_0x6ab316)['decrypt'](_0xe3e91c,_0x5badb1,_0x6ab316,_0x2807ba);}};};}())});_0x250414[_0x462acd(0x277)]=_0x2fb248[_0x462acd(0x418)]({'_doFinalize':function(){var _0x44a281=_0x462acd,_0x11aecf=this[_0x44a281(0x45c)](!0x0);return _0x11aecf;},'blockSize':0x1});var _0x576c74=_0x22ec08[_0x462acd(0x34d)]={},_0x53a371=_0x250414[_0x462acd(0x3c8)]=_0x40b829[_0x462acd(0x418)]({'createEncryptor':function(_0xaee770,_0x49c49f){var _0x168553=_0x462acd;return this[_0x168553(0x3e4)]['create'](_0xaee770,_0x49c49f);},'createDecryptor':function(_0x2695fe,_0x455c40){var _0xcf03a5=_0x462acd;return this[_0xcf03a5(0x2e1)][_0xcf03a5(0x28b)](_0x2695fe,_0x455c40);},'init':function(_0x23ef7b,_0x27049d){var _0x2982e3=_0x462acd;this[_0x2982e3(0x2f7)]=_0x23ef7b,this[_0x2982e3(0x361)]=_0x27049d;}}),_0x20a73d=_0x576c74[_0x462acd(0x372)]=(function(){var _0x211d46=_0x462acd,_0x509f74=_0x53a371[_0x211d46(0x418)]();_0x509f74[_0x211d46(0x3e4)]=_0x509f74[_0x211d46(0x418)]({'processBlock':function(_0x3d748f,_0x5cc3a0){var _0x3c65fb=_0x211d46,_0x3bb81c=this['_cipher'],_0x190f11=_0x3bb81c[_0x3c65fb(0x42a)];_0x3abac6[_0x3c65fb(0x1ec)](this,_0x3d748f,_0x5cc3a0,_0x190f11),_0x3bb81c[_0x3c65fb(0x2fc)](_0x3d748f,_0x5cc3a0),this['_prevBlock']=_0x3d748f['slice'](_0x5cc3a0,_0x5cc3a0+_0x190f11);}}),_0x509f74['Decryptor']=_0x509f74[_0x211d46(0x418)]({'processBlock':function(_0x449b48,_0x3f49b1){var _0x44d7ff=_0x211d46,_0x343158=this[_0x44d7ff(0x2f7)],_0x5d3a20=_0x343158[_0x44d7ff(0x42a)],_0x1f7659=_0x449b48['slice'](_0x3f49b1,_0x3f49b1+_0x5d3a20);_0x343158[_0x44d7ff(0x47a)](_0x449b48,_0x3f49b1),_0x3abac6[_0x44d7ff(0x1ec)](this,_0x449b48,_0x3f49b1,_0x5d3a20),this['_prevBlock']=_0x1f7659;}});function _0x3abac6(_0x5b5108,_0xc4232a,_0x335c3f){var _0x15d14d=_0x211d46,_0x16215a,_0x301406=this[_0x15d14d(0x361)];_0x301406?(_0x16215a=_0x301406,this[_0x15d14d(0x361)]=_0x3fc0ab):_0x16215a=this[_0x15d14d(0x341)];for(var _0x1a3aa8=0x0;_0x1a3aa8<_0x335c3f;_0x1a3aa8++)_0x5b5108[_0xc4232a+_0x1a3aa8]^=_0x16215a[_0x1a3aa8];}return _0x509f74;}()),_0x126863=_0x22ec08[_0x462acd(0x241)]={},_0x1403ff=_0x126863[_0x462acd(0x4cd)]={'pad':function(_0x2815bd,_0x461bce){var _0x33d503=_0x462acd;for(var _0x46aeab=_0x461bce*0x4,_0x16859e=_0x46aeab-_0x2815bd[_0x33d503(0x22b)]%_0x46aeab,_0x53dbf1=_0x16859e<<0x18|_0x16859e<<0x10|_0x16859e<<0x8|_0x16859e,_0x57b860=[],_0xe3ad66=0x0;_0xe3ad66<_0x16859e;_0xe3ad66+=0x4)_0x57b860[_0x33d503(0x4b3)](_0x53dbf1);var _0x56b414=_0x2a7567[_0x33d503(0x28b)](_0x57b860,_0x16859e);_0x2815bd[_0x33d503(0x212)](_0x56b414);},'unpad':function(_0x3a3363){var _0x2cfde4=_0x462acd,_0x3c23f0=_0x3a3363['words'][_0x3a3363[_0x2cfde4(0x22b)]-0x1>>>0x2]&0xff;_0x3a3363[_0x2cfde4(0x22b)]-=_0x3c23f0;}};_0x250414[_0x462acd(0x42d)]=_0x2fb248[_0x462acd(0x418)]({'cfg':_0x2fb248[_0x462acd(0x33a)][_0x462acd(0x418)]({'mode':_0x20a73d,'padding':_0x1403ff}),'reset':function(){var _0x247020=_0x462acd,_0x55654f;_0x2fb248[_0x247020(0x1f6)][_0x247020(0x1ec)](this);var _0x1c2955=this[_0x247020(0x33a)],_0x5a140a=_0x1c2955['iv'],_0x151021=_0x1c2955[_0x247020(0x34d)];this[_0x247020(0x200)]==this[_0x247020(0x226)]?_0x55654f=_0x151021['createEncryptor']:(_0x55654f=_0x151021[_0x247020(0x29e)],this[_0x247020(0x48f)]=0x1),this[_0x247020(0x233)]&&this['_mode'][_0x247020(0x4b2)]==_0x55654f?this[_0x247020(0x233)]['init'](this,_0x5a140a&&_0x5a140a[_0x247020(0x267)]):(this['_mode']=_0x55654f[_0x247020(0x1ec)](_0x151021,this,_0x5a140a&&_0x5a140a[_0x247020(0x267)]),this[_0x247020(0x233)][_0x247020(0x4b2)]=_0x55654f);},'_doProcessBlock':function(_0x542f54,_0x3ae45a){var _0x5bd053=_0x462acd;this[_0x5bd053(0x233)][_0x5bd053(0x3f6)](_0x542f54,_0x3ae45a);},'_doFinalize':function(){var _0x4eb19c=_0x462acd,_0x15ca5,_0x4589b3=this[_0x4eb19c(0x33a)][_0x4eb19c(0x282)];return this[_0x4eb19c(0x200)]==this['_ENC_XFORM_MODE']?(_0x4589b3[_0x4eb19c(0x241)](this['_data'],this[_0x4eb19c(0x42a)]),_0x15ca5=this[_0x4eb19c(0x45c)](!0x0)):(_0x15ca5=this['_process'](!0x0),_0x4589b3[_0x4eb19c(0x3f1)](_0x15ca5)),_0x15ca5;},'blockSize':0x80/0x20});var _0x1b2a9f=_0x250414['CipherParams']=_0x40b829['extend']({'init':function(_0x196c47){var _0x4d782a=_0x462acd;this[_0x4d782a(0x46f)](_0x196c47);},'toString':function(_0x55f8fb){var _0x4089c8=_0x462acd;return(_0x55f8fb||this['formatter'])[_0x4089c8(0x4d1)](this);}}),_0x3e8b78=_0x22ec08[_0x462acd(0x3ec)]={},_0x402958=_0x3e8b78[_0x462acd(0x24f)]={'stringify':function(_0x7d5440){var _0x4b179f=_0x462acd,_0x2de71c,_0x3cceec=_0x7d5440[_0x4b179f(0x4bc)],_0x495713=_0x7d5440['salt'];return _0x495713?_0x2de71c=_0x2a7567[_0x4b179f(0x28b)]([0x53616c74,0x65645f5f])[_0x4b179f(0x212)](_0x495713)[_0x4b179f(0x212)](_0x3cceec):_0x2de71c=_0x3cceec,_0x2de71c[_0x4b179f(0x313)](_0x475e0b);},'parse':function(_0xe0b849){var _0xa8b711=_0x462acd,_0x4b157f,_0x17b52e=_0x475e0b[_0xa8b711(0x242)](_0xe0b849),_0x13c26a=_0x17b52e['words'];return _0x13c26a[0x0]==0x53616c74&&_0x13c26a[0x1]==0x65645f5f&&(_0x4b157f=_0x2a7567[_0xa8b711(0x28b)](_0x13c26a['slice'](0x2,0x4)),_0x13c26a[_0xa8b711(0x299)](0x0,0x4),_0x17b52e[_0xa8b711(0x22b)]-=0x10),_0x1b2a9f['create']({'ciphertext':_0x17b52e,'salt':_0x4b157f});}},_0x1cd9a7=_0x250414[_0x462acd(0x477)]=_0x40b829[_0x462acd(0x418)]({'cfg':_0x40b829[_0x462acd(0x418)]({'format':_0x402958}),'encrypt':function(_0xfe7e03,_0x294b5e,_0x4414cb,_0x79c9b7){var _0x18a1fa=_0x462acd;_0x79c9b7=this[_0x18a1fa(0x33a)][_0x18a1fa(0x418)](_0x79c9b7);var _0xb1bf1e=_0xfe7e03['createEncryptor'](_0x4414cb,_0x79c9b7),_0x3f2403=_0xb1bf1e[_0x18a1fa(0x1f3)](_0x294b5e),_0x230f3c=_0xb1bf1e['cfg'];return _0x1b2a9f[_0x18a1fa(0x28b)]({'ciphertext':_0x3f2403,'key':_0x4414cb,'iv':_0x230f3c['iv'],'algorithm':_0xfe7e03,'mode':_0x230f3c['mode'],'padding':_0x230f3c['padding'],'blockSize':_0xfe7e03[_0x18a1fa(0x42a)],'formatter':_0x79c9b7[_0x18a1fa(0x3ec)]});},'decrypt':function(_0xf1b4a7,_0x1df35c,_0x1299fa,_0x50bea6){var _0x236579=_0x462acd;_0x50bea6=this[_0x236579(0x33a)][_0x236579(0x418)](_0x50bea6),_0x1df35c=this['_parse'](_0x1df35c,_0x50bea6[_0x236579(0x3ec)]);var _0x12a0f9=_0xf1b4a7[_0x236579(0x29e)](_0x1299fa,_0x50bea6)['finalize'](_0x1df35c[_0x236579(0x4bc)]);return _0x12a0f9;},'_parse':function(_0x894b48,_0x34dd63){var _0x5bb3ec=_0x462acd;return typeof _0x894b48==_0x5bb3ec(0x327)?_0x34dd63[_0x5bb3ec(0x242)](_0x894b48,this):_0x894b48;}}),_0xb92373=_0x22ec08['kdf']={},_0x2ceea7=_0xb92373['OpenSSL']={'execute':function(_0x19888a,_0x4b97af,_0x43263d,_0x2359f6,_0xa35c3a){var _0xd37bdf=_0x462acd;if(_0x2359f6||(_0x2359f6=_0x2a7567['random'](0x40/0x8)),_0xa35c3a)var _0x348610=_0x3158de[_0xd37bdf(0x28b)]({'keySize':_0x4b97af+_0x43263d,'hasher':_0xa35c3a})[_0xd37bdf(0x427)](_0x19888a,_0x2359f6);else var _0x348610=_0x3158de[_0xd37bdf(0x28b)]({'keySize':_0x4b97af+_0x43263d})[_0xd37bdf(0x427)](_0x19888a,_0x2359f6);var _0xf541fa=_0x2a7567['create'](_0x348610[_0xd37bdf(0x267)][_0xd37bdf(0x421)](_0x4b97af),_0x43263d*0x4);return _0x348610[_0xd37bdf(0x22b)]=_0x4b97af*0x4,_0x1b2a9f[_0xd37bdf(0x28b)]({'key':_0x348610,'iv':_0xf541fa,'salt':_0x2359f6});}},_0x2e7daf=_0x250414[_0x462acd(0x432)]=_0x1cd9a7[_0x462acd(0x418)]({'cfg':_0x1cd9a7[_0x462acd(0x33a)]['extend']({'kdf':_0x2ceea7}),'encrypt':function(_0xa9a27f,_0x2a179b,_0x2f5ba5,_0x1031cf){var _0x4ac923=_0x462acd;_0x1031cf=this[_0x4ac923(0x33a)][_0x4ac923(0x418)](_0x1031cf);var _0x408371=_0x1031cf[_0x4ac923(0x4ca)][_0x4ac923(0x38b)](_0x2f5ba5,_0xa9a27f['keySize'],_0xa9a27f[_0x4ac923(0x32b)],_0x1031cf[_0x4ac923(0x2fe)],_0x1031cf[_0x4ac923(0x26b)]);_0x1031cf['iv']=_0x408371['iv'];var _0xeb4d0=_0x1cd9a7[_0x4ac923(0x2a3)][_0x4ac923(0x1ec)](this,_0xa9a27f,_0x2a179b,_0x408371[_0x4ac923(0x26f)],_0x1031cf);return _0xeb4d0[_0x4ac923(0x46f)](_0x408371),_0xeb4d0;},'decrypt':function(_0x37ce4e,_0x364a6c,_0x419136,_0x1af3a9){var _0x3fea3a=_0x462acd;_0x1af3a9=this[_0x3fea3a(0x33a)][_0x3fea3a(0x418)](_0x1af3a9),_0x364a6c=this[_0x3fea3a(0x26c)](_0x364a6c,_0x1af3a9[_0x3fea3a(0x3ec)]);var _0x124ecd=_0x1af3a9[_0x3fea3a(0x4ca)]['execute'](_0x419136,_0x37ce4e['keySize'],_0x37ce4e[_0x3fea3a(0x32b)],_0x364a6c['salt'],_0x1af3a9['hasher']);_0x1af3a9['iv']=_0x124ecd['iv'];var _0x106a36=_0x1cd9a7[_0x3fea3a(0x274)]['call'](this,_0x37ce4e,_0x364a6c,_0x124ecd['key'],_0x1af3a9);return _0x106a36;}});}();}));}(Xe)),Xe[_0x255c4c(0x417)];}var gn=Ve['exports'],ei;function Tn(){var _0x5c8624=_0x10928f;return ei||(ei=0x1,function(_0x25c6d8,_0x5e7fb8){(function(_0x39236d,_0x2fde0d,_0x5a46a2){_0x25c6d8['exports']=_0x2fde0d(ie(),Ni(),fn(),Ci(),bi());}(gn,function(_0xe5e75f){var _0x3ce460=_0x5764;return(function(){var _0x9de35a=_0x5764,_0x1c7393=_0xe5e75f,_0x3d0099=_0x1c7393[_0x9de35a(0x388)],_0x1216c6=_0x3d0099[_0x9de35a(0x42d)],_0x23fde6=_0x1c7393['algo'],_0x2f266e=[],_0x392767=[],_0x1d7ebc=[],_0x5c4fff=[],_0x4489a4=[],_0x262561=[],_0x508ede=[],_0x54c2e9=[],_0x323dd6=[],_0x32ae70=[];(function(){for(var _0x5a63c9=[],_0x16c8d9=0x0;_0x16c8d9<0x100;_0x16c8d9++)_0x16c8d9<0x80?_0x5a63c9[_0x16c8d9]=_0x16c8d9<<0x1:_0x5a63c9[_0x16c8d9]=_0x16c8d9<<0x1^0x11b;for(var _0x22f0f5=0x0,_0x4df83c=0x0,_0x16c8d9=0x0;_0x16c8d9<0x100;_0x16c8d9++){var _0xc90e3=_0x4df83c^_0x4df83c<<0x1^_0x4df83c<<0x2^_0x4df83c<<0x3^_0x4df83c<<0x4;_0xc90e3=_0xc90e3>>>0x8^_0xc90e3&0xff^0x63,_0x2f266e[_0x22f0f5]=_0xc90e3,_0x392767[_0xc90e3]=_0x22f0f5;var _0x6d3edb=_0x5a63c9[_0x22f0f5],_0x1a21e6=_0x5a63c9[_0x6d3edb],_0x6ee623=_0x5a63c9[_0x1a21e6],_0x34c315=_0x5a63c9[_0xc90e3]*0x101^_0xc90e3*0x1010100;_0x1d7ebc[_0x22f0f5]=_0x34c315<<0x18|_0x34c315>>>0x8,_0x5c4fff[_0x22f0f5]=_0x34c315<<0x10|_0x34c315>>>0x10,_0x4489a4[_0x22f0f5]=_0x34c315<<0x8|_0x34c315>>>0x18,_0x262561[_0x22f0f5]=_0x34c315;var _0x34c315=_0x6ee623*0x1010101^_0x1a21e6*0x10001^_0x6d3edb*0x101^_0x22f0f5*0x1010100;_0x508ede[_0xc90e3]=_0x34c315<<0x18|_0x34c315>>>0x8,_0x54c2e9[_0xc90e3]=_0x34c315<<0x10|_0x34c315>>>0x10,_0x323dd6[_0xc90e3]=_0x34c315<<0x8|_0x34c315>>>0x18,_0x32ae70[_0xc90e3]=_0x34c315,_0x22f0f5?(_0x22f0f5=_0x6d3edb^_0x5a63c9[_0x5a63c9[_0x5a63c9[_0x6ee623^_0x6d3edb]]],_0x4df83c^=_0x5a63c9[_0x5a63c9[_0x4df83c]]):_0x22f0f5=_0x4df83c=0x1;}}());var _0x217fc2=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3d6ea0=_0x23fde6[_0x9de35a(0x30b)]=_0x1216c6[_0x9de35a(0x418)]({'_doReset':function(){var _0x25835a=_0x9de35a,_0x1b79dc;if(!(this[_0x25835a(0x3f3)]&&this['_keyPriorReset']===this['_key'])){for(var _0x5753b8=this[_0x25835a(0x1f5)]=this[_0x25835a(0x420)],_0x3a0aff=_0x5753b8[_0x25835a(0x267)],_0x325ab4=_0x5753b8[_0x25835a(0x22b)]/0x4,_0x475beb=this['_nRounds']=_0x325ab4+0x6,_0x3d974d=(_0x475beb+0x1)*0x4,_0x5d7349=this[_0x25835a(0x3cb)]=[],_0x182564=0x0;_0x182564<_0x3d974d;_0x182564++)_0x182564<_0x325ab4?_0x5d7349[_0x182564]=_0x3a0aff[_0x182564]:(_0x1b79dc=_0x5d7349[_0x182564-0x1],_0x182564%_0x325ab4?_0x325ab4>0x6&&_0x182564%_0x325ab4==0x4&&(_0x1b79dc=_0x2f266e[_0x1b79dc>>>0x18]<<0x18|_0x2f266e[_0x1b79dc>>>0x10&0xff]<<0x10|_0x2f266e[_0x1b79dc>>>0x8&0xff]<<0x8|_0x2f266e[_0x1b79dc&0xff]):(_0x1b79dc=_0x1b79dc<<0x8|_0x1b79dc>>>0x18,_0x1b79dc=_0x2f266e[_0x1b79dc>>>0x18]<<0x18|_0x2f266e[_0x1b79dc>>>0x10&0xff]<<0x10|_0x2f266e[_0x1b79dc>>>0x8&0xff]<<0x8|_0x2f266e[_0x1b79dc&0xff],_0x1b79dc^=_0x217fc2[_0x182564/_0x325ab4|0x0]<<0x18),_0x5d7349[_0x182564]=_0x5d7349[_0x182564-_0x325ab4]^_0x1b79dc);for(var _0x4676a5=this[_0x25835a(0x336)]=[],_0x4e9e30=0x0;_0x4e9e30<_0x3d974d;_0x4e9e30++){var _0x182564=_0x3d974d-_0x4e9e30;if(_0x4e9e30%0x4)var _0x1b79dc=_0x5d7349[_0x182564];else var _0x1b79dc=_0x5d7349[_0x182564-0x4];_0x4e9e30<0x4||_0x182564<=0x4?_0x4676a5[_0x4e9e30]=_0x1b79dc:_0x4676a5[_0x4e9e30]=_0x508ede[_0x2f266e[_0x1b79dc>>>0x18]]^_0x54c2e9[_0x2f266e[_0x1b79dc>>>0x10&0xff]]^_0x323dd6[_0x2f266e[_0x1b79dc>>>0x8&0xff]]^_0x32ae70[_0x2f266e[_0x1b79dc&0xff]];}}},'encryptBlock':function(_0x3b2487,_0x2b920a){var _0x255ed5=_0x9de35a;this[_0x255ed5(0x24d)](_0x3b2487,_0x2b920a,this['_keySchedule'],_0x1d7ebc,_0x5c4fff,_0x4489a4,_0x262561,_0x2f266e);},'decryptBlock':function(_0x18862f,_0x2b37ea){var _0x526c3f=_0x9de35a,_0x1b1b62=_0x18862f[_0x2b37ea+0x1];_0x18862f[_0x2b37ea+0x1]=_0x18862f[_0x2b37ea+0x3],_0x18862f[_0x2b37ea+0x3]=_0x1b1b62,this[_0x526c3f(0x24d)](_0x18862f,_0x2b37ea,this[_0x526c3f(0x336)],_0x508ede,_0x54c2e9,_0x323dd6,_0x32ae70,_0x392767);var _0x1b1b62=_0x18862f[_0x2b37ea+0x1];_0x18862f[_0x2b37ea+0x1]=_0x18862f[_0x2b37ea+0x3],_0x18862f[_0x2b37ea+0x3]=_0x1b1b62;},'_doCryptBlock':function(_0x180a29,_0x2c9de3,_0x498c20,_0x18844d,_0x572eb4,_0x17dfb2,_0x3b71a2,_0x9d321a){var _0x34262e=_0x9de35a;for(var _0x12b852=this[_0x34262e(0x3f3)],_0x14b75c=_0x180a29[_0x2c9de3]^_0x498c20[0x0],_0x580e36=_0x180a29[_0x2c9de3+0x1]^_0x498c20[0x1],_0x4c3bde=_0x180a29[_0x2c9de3+0x2]^_0x498c20[0x2],_0x4719bd=_0x180a29[_0x2c9de3+0x3]^_0x498c20[0x3],_0x2ae719=0x4,_0x5a58d3=0x1;_0x5a58d3<_0x12b852;_0x5a58d3++){var _0x4e937e=_0x18844d[_0x14b75c>>>0x18]^_0x572eb4[_0x580e36>>>0x10&0xff]^_0x17dfb2[_0x4c3bde>>>0x8&0xff]^_0x3b71a2[_0x4719bd&0xff]^_0x498c20[_0x2ae719++],_0x32ad8d=_0x18844d[_0x580e36>>>0x18]^_0x572eb4[_0x4c3bde>>>0x10&0xff]^_0x17dfb2[_0x4719bd>>>0x8&0xff]^_0x3b71a2[_0x14b75c&0xff]^_0x498c20[_0x2ae719++],_0x589799=_0x18844d[_0x4c3bde>>>0x18]^_0x572eb4[_0x4719bd>>>0x10&0xff]^_0x17dfb2[_0x14b75c>>>0x8&0xff]^_0x3b71a2[_0x580e36&0xff]^_0x498c20[_0x2ae719++],_0x15e59a=_0x18844d[_0x4719bd>>>0x18]^_0x572eb4[_0x14b75c>>>0x10&0xff]^_0x17dfb2[_0x580e36>>>0x8&0xff]^_0x3b71a2[_0x4c3bde&0xff]^_0x498c20[_0x2ae719++];_0x14b75c=_0x4e937e,_0x580e36=_0x32ad8d,_0x4c3bde=_0x589799,_0x4719bd=_0x15e59a;}var _0x4e937e=(_0x9d321a[_0x14b75c>>>0x18]<<0x18|_0x9d321a[_0x580e36>>>0x10&0xff]<<0x10|_0x9d321a[_0x4c3bde>>>0x8&0xff]<<0x8|_0x9d321a[_0x4719bd&0xff])^_0x498c20[_0x2ae719++],_0x32ad8d=(_0x9d321a[_0x580e36>>>0x18]<<0x18|_0x9d321a[_0x4c3bde>>>0x10&0xff]<<0x10|_0x9d321a[_0x4719bd>>>0x8&0xff]<<0x8|_0x9d321a[_0x14b75c&0xff])^_0x498c20[_0x2ae719++],_0x589799=(_0x9d321a[_0x4c3bde>>>0x18]<<0x18|_0x9d321a[_0x4719bd>>>0x10&0xff]<<0x10|_0x9d321a[_0x14b75c>>>0x8&0xff]<<0x8|_0x9d321a[_0x580e36&0xff])^_0x498c20[_0x2ae719++],_0x15e59a=(_0x9d321a[_0x4719bd>>>0x18]<<0x18|_0x9d321a[_0x14b75c>>>0x10&0xff]<<0x10|_0x9d321a[_0x580e36>>>0x8&0xff]<<0x8|_0x9d321a[_0x4c3bde&0xff])^_0x498c20[_0x2ae719++];_0x180a29[_0x2c9de3]=_0x4e937e,_0x180a29[_0x2c9de3+0x1]=_0x32ad8d,_0x180a29[_0x2c9de3+0x2]=_0x589799,_0x180a29[_0x2c9de3+0x3]=_0x15e59a;},'keySize':0x100/0x20});_0x1c7393[_0x9de35a(0x30b)]=_0x1216c6[_0x9de35a(0x3a2)](_0x3d6ea0);}()),_0xe5e75f[_0x3ce460(0x30b)];}));}(Ve)),Ve[_0x5c8624(0x417)];}var On=Tn();const Rn=$e(On);var Nn=Ni();const ti=$e(Nn);var Je={'exports':{}},Cn=Je[_0x10928f(0x417)],ii;function bn(){var _0x527a73=_0x10928f;return ii||(ii=0x1,function(_0x4708d9,_0x493be4){(function(_0x3e0055,_0xc2f345){var _0x9f760b=_0x5764;_0x4708d9[_0x9f760b(0x417)]=_0xc2f345(ie());}(Cn,function(_0x1d8aba){var _0x1b0b50=_0x5764;return _0x1d8aba[_0x1b0b50(0x31c)]['Utf8'];}));}(Je)),Je[_0x527a73(0x417)];}var Dn=bn();const yn=$e(Dn);var Ze={'exports':{}},Un=Ze[_0x10928f(0x417)],si;function An(){return si||(si=0x1,function(_0x5aac21,_0x339d86){(function(_0x57d5bc,_0x16a445){var _0x39ca12=_0x5764;_0x5aac21[_0x39ca12(0x417)]=_0x16a445(ie());}(Un,function(_0x446ce1){var _0x5357d7=_0x5764;return(function(){var _0x1ed735=_0x5764;if(typeof ArrayBuffer=='function'){var _0x1ae089=_0x446ce1,_0xb853bb=_0x1ae089['lib'],_0x553ee1=_0xb853bb[_0x1ed735(0x42c)],_0x46b950=_0x553ee1[_0x1ed735(0x49e)],_0xa50d=_0x553ee1[_0x1ed735(0x49e)]=function(_0x47e75d){var _0x2042c4=_0x1ed735;if(_0x47e75d instanceof ArrayBuffer&&(_0x47e75d=new Uint8Array(_0x47e75d)),(_0x47e75d instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x47e75d instanceof Uint8ClampedArray||_0x47e75d instanceof Int16Array||_0x47e75d instanceof Uint16Array||_0x47e75d instanceof Int32Array||_0x47e75d instanceof Uint32Array||_0x47e75d instanceof Float32Array||_0x47e75d instanceof Float64Array)&&(_0x47e75d=new Uint8Array(_0x47e75d[_0x2042c4(0x3ad)],_0x47e75d['byteOffset'],_0x47e75d[_0x2042c4(0x489)])),_0x47e75d instanceof Uint8Array){for(var _0x572dfe=_0x47e75d[_0x2042c4(0x489)],_0x1cf583=[],_0x573a69=0x0;_0x573a69<_0x572dfe;_0x573a69++)_0x1cf583[_0x573a69>>>0x2]|=_0x47e75d[_0x573a69]<<0x18-_0x573a69%0x4*0x8;_0x46b950['call'](this,_0x1cf583,_0x572dfe);}else _0x46b950['apply'](this,arguments);};_0xa50d[_0x1ed735(0x2a2)]=_0x553ee1;}}()),_0x446ce1[_0x5357d7(0x388)]['WordArray'];}));}(Ze)),Ze['exports'];}var Pn=An();const wn=$e(Pn);var Qe={'exports':{}},Ln=Qe[_0x10928f(0x417)],ni;function Mn(){return ni||(ni=0x1,function(_0x4071dd,_0x3224c8){(function(_0x10d211,_0x2bf626,_0x357f20){var _0xa726e6=_0x5764;_0x4071dd[_0xa726e6(0x417)]=_0x2bf626(ie(),bi());}(Ln,function(_0x366f29){var _0x135957=_0x5764;return _0x366f29[_0x135957(0x241)][_0x135957(0x231)]={'pad':function(){},'unpad':function(){}},_0x366f29[_0x135957(0x241)][_0x135957(0x231)];}));}(Qe)),Qe['exports'];}var xn=Mn();const kn=$e(xn);function $n(_0x50e0cf,_0x3e0f3c){var _0x358d57=_0x10928f;const _0x337b69=_0x3e0f3c-_0x50e0cf[_0x358d57(0x22d)]%_0x3e0f3c,_0x12dc66=String[_0x358d57(0x380)](_0x337b69)[_0x358d57(0x1c5)](_0x337b69);return _0x50e0cf+_0x12dc66;}function Hn(_0x302b6d,_0x20d8b3){var _0x193546=_0x10928f;const _0x155258=wn[_0x193546(0x255)](0x10),_0x50d8df=$n(_0x302b6d,0x10),_0x2028e0=Rn[_0x193546(0x2a3)](yn[_0x193546(0x242)](_0x50d8df),ti['parse'](_0x20d8b3),{'iv':_0x155258,'padding':kn});return _0x155258[_0x193546(0x212)](_0x2028e0[_0x193546(0x4bc)])['toString'](ti);}function Bn(){var _0x296882=_0x10928f;const _0x458a1a=_0x1603e0()['__Key__'];if(typeof window<'u'&&typeof window[_0x296882(0x3d5)]<'u'&&_0x458a1a){const _0xab5856={'time':Math[_0x296882(0x206)](Date[_0x296882(0x335)]()/0x3e8),'domain':location[_0x296882(0x358)]};return Hn(JSON[_0x296882(0x4d1)](_0xab5856),_0x458a1a);}}var Fn=Object[_0x10928f(0x413)],jn=(_0x3cddf6,_0x4877d8,_0x532096,_0x2ee6a8)=>{var _0x27e843=_0x10928f;for(var _0x4e8988=_0x2ee6a8>0x1?void 0x0:_0x2ee6a8?Fn(_0x4877d8,_0x532096):_0x4877d8,_0x355825=_0x3cddf6[_0x27e843(0x22d)]-0x1,_0x5a73c4;_0x355825>=0x0;_0x355825--)(_0x5a73c4=_0x3cddf6[_0x355825])&&(_0x4e8988=_0x5a73c4(_0x4e8988)||_0x4e8988);return _0x4e8988;},Vn=(_0x4aad2c,_0x13d3dc)=>(_0xabc78a,_0x1e5460)=>_0x13d3dc(_0xabc78a,_0x1e5460,_0x4aad2c);let at=class{constructor(_0x1dc562){var _0xe679dd=_0x10928f;this[_0xe679dd(0x2a1)]=_0x1dc562,this[_0xe679dd(0x332)]();}['_initRequestHeader'](){var _0x37aeed=_0x10928f;this[_0x37aeed(0x2a1)]['registerHTTPInterceptor']({'interceptor':(_0x3f6ceb,_0x39bf6a)=>{var _0x6ed875=_0x37aeed;const _0x280cbc=_0x3f6ceb[_0x6ed875(0x3b2)],_0x483ada=Bn();return _0x483ada&&_0x280cbc[_0x6ed875(0x46d)]('x-univer-host',_0x483ada),_0x39bf6a(_0x3f6ceb);}});}};at=jn([Vn(0x0,_0x20ebd0(_0xce4c2c))],at);var Gn=Object[_0x10928f(0x413)],Wn=(_0x402d27,_0x2866ac,_0x2b9d8c,_0x1551ed)=>{var _0x4b26f2=_0x10928f;for(var _0x104ca8=_0x1551ed>0x1?void 0x0:_0x1551ed?Gn(_0x2866ac,_0x2b9d8c):_0x2866ac,_0x1fc369=_0x402d27[_0x4b26f2(0x22d)]-0x1,_0x147874;_0x1fc369>=0x0;_0x1fc369--)(_0x147874=_0x402d27[_0x1fc369])&&(_0x104ca8=_0x147874(_0x104ca8)||_0x104ca8);return _0x104ca8;},vt=(_0x5d4f90,_0x10baff)=>(_0xbda97a,_0x42aa96)=>_0x10baff(_0xbda97a,_0x42aa96,_0x5d4f90);let Ot=class extends _0x4154f8{constructor(_0x1ab29d,_0x55101b,_0x456ec3){var _0x1e5784=_0x10928f;super(),D(this,_0x1e5784(0x478),new _0x15a038(null)),D(this,_0x1e5784(0x497),this[_0x1e5784(0x478)][_0x1e5784(0x4c1)]()),(this['_logService']=_0x1ab29d,this[_0x1e5784(0x1e3)]=_0x55101b,this[_0x1e5784(0x377)]=_0x456ec3);}async['loadUnitOfRevision'](_0x1a3412,_0x864dde,_0x2ffe37){var _0x15e194=_0x10928f;this[_0x15e194(0x478)][_0x15e194(0x3ea)]({'unitId':_0x1a3412,'type':_0x864dde});let _0x1214c8=null;switch(_0x864dde){case Q[_0x15e194(0x465)]:{_0x1214c8=await this[_0x15e194(0x1e3)]['loadSheet'](_0x1a3412,_0x2ffe37);break;}case Q[_0x15e194(0x3a0)]:{_0x1214c8=await this[_0x15e194(0x1e3)][_0x15e194(0x259)](_0x1a3412,_0x2ffe37);break;}default:{this[_0x15e194(0x474)][_0x15e194(0x2e0)](_0x15e194(0x2d3),_0x15e194(0x4b1));break;}}return _0x1214c8;}async['loadUnit'](_0x3a5533,_0x2c1ade,_0x4b2086){var _0x5f14a3=_0x10928f,_0x1a87e6;this[_0x5f14a3(0x478)][_0x5f14a3(0x3ea)]({'unitId':_0x3a5533,'type':_0x2c1ade,'subUnitId':_0x4b2086});let _0x179947=0x0;const _0x59805b=await((_0x1a87e6=this[_0x5f14a3(0x377)])==null?void 0x0:_0x1a87e6['loadOfflineData'](_0x3a5533));return _0x59805b&&(_0x59805b[_0x5f14a3(0x4ce)]||_0x59805b[_0x5f14a3(0x464)][_0x5f14a3(0x22d)]!==0x0)&&(_0x179947=_0x59805b['rev']),_0x179947===0x0&&this[_0x5f14a3(0x474)]['debug']('[DataLoaderService]',_0x5f14a3(0x3c4)),this[_0x5f14a3(0x46b)](_0x3a5533,_0x2c1ade,_0x179947);}};Ot=Wn([vt(0x0,_0x5c483f),vt(0x1,_0x20ebd0(_0x386f85)),vt(0x2,_0xd62013(X))],Ot);var Yn=Object['getOwnPropertyDescriptor'],Kn=(_0x1b66d9,_0x2580c8,_0x526cab,_0x5dca2d)=>{var _0x5de503=_0x10928f;for(var _0x554ce1=_0x5dca2d>0x1?void 0x0:_0x5dca2d?Yn(_0x2580c8,_0x526cab):_0x2580c8,_0x30f779=_0x1b66d9[_0x5de503(0x22d)]-0x1,_0x16252c;_0x30f779>=0x0;_0x30f779--)(_0x16252c=_0x1b66d9[_0x30f779])&&(_0x554ce1=_0x16252c(_0x554ce1)||_0x554ce1);return _0x554ce1;},Et=(_0x2d4d57,_0x106214)=>(_0x5493f2,_0x2da73c)=>_0x106214(_0x5493f2,_0x2da73c,_0x2d4d57);const qn=['image/png',_0x10928f(0x2f4),'image/jpg',_0x10928f(0x2aa),_0x10928f(0x38d)],zn=0x5*0x400*0x400,Xn=_0x10928f(0x2f6),Jn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x503d54,_0x9cc074,_0x400690){var _0x396598=_0x10928f;D(this,_0x396598(0x4c0),0x0),D(this,_0x396598(0x394),new _0x58c94b()),D(this,'change$',this[_0x396598(0x394)]),D(this,_0x396598(0x3ab),new Map()),(this[_0x396598(0x2a1)]=_0x503d54,this[_0x396598(0x3b7)]=_0x9cc074,this['_univerInstanceService']=_0x400690);}[_0x10928f(0x448)](_0x3055fd){var _0x371221=_0x10928f;this['_waitCount']=_0x3055fd,this[_0x371221(0x394)][_0x371221(0x3ea)](_0x3055fd);}[_0x10928f(0x479)](_0x577edb,_0x220efd){var _0xb67c3=_0x10928f;if(_0x220efd===_0x59a6ad[_0xb67c3(0x27b)]){const _0xe75b45=new Image();return _0xe75b45['src']=_0x577edb,_0xe75b45;}return this[_0xb67c3(0x3ab)][_0xb67c3(0x207)](_0x577edb);}[_0x10928f(0x2ba)](_0x281949,_0x329c81,_0x380eb8){var _0x27fb57=_0x10928f;_0x329c81===_0x59a6ad[_0x27fb57(0x27b)]||_0x380eb8==null||this[_0x27fb57(0x3ab)][_0x27fb57(0x46d)](_0x281949,_0x380eb8);}async[_0x10928f(0x42b)](_0x1c77b9){var _0x4d3de2=_0x10928f;try{const _0x5c9290=this[_0x4d3de2(0x2a4)](this[_0x4d3de2(0x45d)](),''+_0x1c77b9),_0xc83a9d=(await this[_0x4d3de2(0x2a1)]['get'](_0x5c9290))['body'];if(_0xc83a9d[_0x4d3de2(0x2e0)]&&_0xc83a9d[_0x4d3de2(0x2e0)][_0x4d3de2(0x39a)]===vi['OK']){const _0x412955=_0x6a758(_0xc83a9d[_0x4d3de2(0x462)],this[_0x4d3de2(0x2f1)]());return Promise[_0x4d3de2(0x3f4)](_0x412955);}return Promise[_0x4d3de2(0x284)](_0xc83a9d[_0x4d3de2(0x2e0)]);}catch(_0x575cde){return Promise['reject'](_0x575cde);}}async[_0x10928f(0x1e2)](_0x480055){var _0x85b6b=_0x10928f;let _0x278344='';if(!qn[_0x85b6b(0x24b)](_0x480055[_0x85b6b(0x1e8)]))return this[_0x85b6b(0x397)](),Promise[_0x85b6b(0x284)](new Error(_0x1d6325[_0x85b6b(0x30c)]));if(_0x480055['size']>zn)return this['_decreaseWaiting'](),Promise[_0x85b6b(0x284)](new Error(_0x1d6325[_0x85b6b(0x425)]));try{const _0xf70b5=new FormData();_0xf70b5['append']('file',_0x480055);const _0x26157a=this[_0x85b6b(0x3b8)][_0x85b6b(0x3f0)](),_0x5e9526=_0x26157a==null?void 0x0:_0x26157a[_0x85b6b(0x202)]();if(!_0x5e9526)throw new Error(_0x85b6b(0x280));const _0x395fb4=this[_0x85b6b(0x375)]()+'?size='+_0x480055[_0x85b6b(0x205)]['toString']()+_0x85b6b(0x252)+Ei['UnitEmbedded']+_0x85b6b(0x370)+encodeURIComponent(_0x5e9526),_0x433c56={'body':_0xf70b5},_0x5902ae=(await this[_0x85b6b(0x2a1)]['post'](_0x395fb4,_0x433c56))[_0x85b6b(0x45a)];if(typeof _0x5902ae[_0x85b6b(0x47f)]!=_0x85b6b(0x327))return this[_0x85b6b(0x397)](),Promise[_0x85b6b(0x284)](new Error(_0x1d6325[_0x85b6b(0x210)]));_0x278344=_0x5902ae[_0x85b6b(0x47f)];}catch{return this[_0x85b6b(0x397)](),Promise[_0x85b6b(0x284)](new Error(_0x1d6325[_0x85b6b(0x210)]));}return new Promise((_0x4f0396,_0x58e924)=>{const _0x998289=new FileReader();_0x998289['readAsDataURL'](_0x480055),_0x998289['onload']=_0x5ee5de=>{var _0x59604a=_0x5764,_0x39a54f;const _0x52ed0d=(_0x39a54f=_0x5ee5de[_0x59604a(0x40b)])==null?void 0x0:_0x39a54f[_0x59604a(0x436)];if(_0x52ed0d==null){this[_0x59604a(0x397)](),_0x58e924(new Error(_0x1d6325[_0x59604a(0x210)]));return;}const _0x54136f=_0x56967d(0x6);_0x4f0396({'imageId':_0x54136f,'imageSourceType':_0x59a6ad['UUID'],'source':_0x278344,'base64Cache':_0x52ed0d,'status':_0x1d6325['SUCCUSS']}),this[_0x59604a(0x397)]();};});}['_getUploadFileURL'](){var _0x349ed3=_0x10928f,_0x200293;const _0x331201=this[_0x349ed3(0x3b7)][_0x349ed3(0x3e6)](K);return(_0x200293=_0x331201==null?void 0x0:_0x331201[_0x349ed3(0x4a7)])!=null?_0x200293:Xn;}['_getSignURL'](){var _0x25bac4=_0x10928f,_0x58b264;const _0x57011d=this[_0x25bac4(0x3b7)][_0x25bac4(0x3e6)](K);return(_0x58b264=_0x57011d==null?void 0x0:_0x57011d[_0x25bac4(0x367)])!=null?_0x58b264:Jn;}[_0x10928f(0x2f1)](){var _0x595ecb=_0x10928f,_0x4c5804;const _0x4f5872=this[_0x595ecb(0x3b7)][_0x595ecb(0x3e6)](K);return(_0x4c5804=_0x4f5872==null?void 0x0:_0x4f5872['downloadEndpointUrl'])!=null?_0x4c5804:location[_0x595ecb(0x456)];}[_0x10928f(0x2a4)](_0x430bee,_0x51dcd3){var _0x1d3011=_0x10928f;return _0x430bee[_0x1d3011(0x269)](_0x1d3011(0x461),_0x51dcd3);}['_decreaseWaiting'](){var _0x378962=_0x10928f;this[_0x378962(0x4c0)]-=0x1,this[_0x378962(0x394)][_0x378962(0x3ea)](this[_0x378962(0x4c0)]);}};Rt=Kn([Et(0x0,_0x20ebd0(_0xce4c2c)),Et(0x1,_0x1ed468),Et(0x2,_0x20ebd0(_0x13ba10))],Rt);var Zn=Object['getOwnPropertyDescriptor'],Qn=(_0x361eb0,_0x23cd26,_0x26191a,_0x374ed3)=>{var _0x2317ed=_0x10928f;for(var _0x1bfd63=_0x374ed3>0x1?void 0x0:_0x374ed3?Zn(_0x23cd26,_0x26191a):_0x23cd26,_0x39f2cd=_0x361eb0[_0x2317ed(0x22d)]-0x1,_0xc7ab7c;_0x39f2cd>=0x0;_0x39f2cd--)(_0xc7ab7c=_0x361eb0[_0x39f2cd])&&(_0x1bfd63=_0xc7ab7c(_0x1bfd63)||_0x1bfd63);return _0x1bfd63;},ri=(_0x4fab6b,_0x3498b7)=>(_0x8f073d,_0xdf30f1)=>_0x3498b7(_0x8f073d,_0xdf30f1,_0x4fab6b);const er='/universer-api/authz';let Nt=class{constructor(_0x43a7d4,_0x1b40b6){var _0x4fad98=_0x10928f;this[_0x4fad98(0x3b7)]=_0x43a7d4,this[_0x4fad98(0x281)]=_0x1b40b6;}[_0x10928f(0x404)](){var _0x5bb6dd=_0x10928f,_0x38ff3e;const _0x17ad5=this[_0x5bb6dd(0x3b7)][_0x5bb6dd(0x3e6)](K);return(_0x38ff3e=_0x17ad5==null?void 0x0:_0x17ad5[_0x5bb6dd(0x1ca)])!=null?_0x38ff3e:er;}async['list'](_0x18d8da){var _0x8e8507=_0x10928f;const _0x27cea1=this[_0x8e8507(0x404)]()+_0x8e8507(0x356);return{'list':[{'title':'People','mentions':(await this[_0x8e8507(0x281)]['get'](_0x27cea1,{'params':{'objectID':_0x18d8da[_0x8e8507(0x3f5)],'unitID':_0x18d8da[_0x8e8507(0x3f5)]}}))['body'][_0x8e8507(0x441)][_0x8e8507(0x2d5)](_0x43edfe=>({'objectId':_0x43edfe['id'],'name':_0x43edfe[_0x8e8507(0x35d)][_0x8e8507(0x488)],'metadata':{'icon':_0x43edfe['subject'][_0x8e8507(0x34f)]},'label':_0x43edfe['subject'][_0x8e8507(0x488)],'objectType':_0x4294c0['PERSON']})),'metadata':{},'type':_0x4294c0['PERSON']}]};}};Nt=Qn([ri(0x0,_0x20ebd0(_0x1ed468)),ri(0x1,_0x20ebd0(_0xce4c2c))],Nt);var tr=Object[_0x10928f(0x413)],ir=(_0xeab81,_0x1d7f1b,_0x4b9c7c,_0x33342c)=>{var _0x9e1c59=_0x10928f;for(var _0x416b6b=_0x33342c>0x1?void 0x0:_0x33342c?tr(_0x1d7f1b,_0x4b9c7c):_0x1d7f1b,_0x95c255=_0xeab81[_0x9e1c59(0x22d)]-0x1,_0x1c410c;_0x95c255>=0x0;_0x95c255--)(_0x1c410c=_0xeab81[_0x95c255])&&(_0x416b6b=_0x1c410c(_0x416b6b)||_0x416b6b);return _0x416b6b;},Ue=(_0x4548c1,_0x146c01)=>(_0x3f35bd,_0x1d20ef)=>_0x146c01(_0x3f35bd,_0x1d20ef,_0x4548c1);let ot=class extends _0x4154f8{constructor(_0xafae2d,_0x3e08c0,_0x3ce586,_0x228bc6,_0x533ec9){var _0x2ee746=_0x10928f;super(),this[_0x2ee746(0x493)]=_0xafae2d,this[_0x2ee746(0x3b8)]=_0x3e08c0,this['_permissionService']=_0x3ce586,this[_0x2ee746(0x328)]=_0x228bc6,this[_0x2ee746(0x2ce)]=_0x533ec9,this[_0x2ee746(0x46a)](),this[_0x2ee746(0x228)]();}['_initCloseConn'](){var _0x28bea0=_0x10928f;const _0x5a6d43=async _0x538024=>{var _0x52a636=_0x5764;(await this[_0x52a636(0x328)][_0x52a636(0x422)](_0x538024))[_0x52a636(0x264)][_0x52a636(0x392)](_0x3dc6e0(_0x5c86bf=>_0x5c86bf[_0x52a636(0x379)]===_0x1f3ef0[_0x52a636(0x31a)]),_0x3b4193(this[_0x52a636(0x1e0)]))[_0x52a636(0x3cf)](_0x1c8d5f=>{var _0x78ea88=_0x52a636;const _0x4b714e=_0x1c8d5f,{reason:_0x11af3c}=_0x4b714e['data'];this[_0x78ea88(0x2ce)][_0x78ea88(0x23f)]({'id':re[_0x78ea88(0x470)],'data':_0x11af3c}),this[_0x78ea88(0x1f2)][_0x78ea88(0x3bf)](new _0x558844(_0x538024)['id'],!0x1),this[_0x78ea88(0x328)][_0x78ea88(0x1f1)](_0x538024);});};_0x5f3238(this[_0x28bea0(0x3b8)][_0x28bea0(0x28e)](_0x5417eb['UNIVER_SHEET']),this[_0x28bea0(0x3b8)][_0x28bea0(0x28e)](_0x5417eb['UNIVER_DOC']))['pipe'](_0x4b7ed6(_0x4907f8=>_0x4907f8[_0x28bea0(0x202)]()),_0x3dc6e0(_0xfa9091=>!_0x357c9a(_0xfa9091)),_0x3b4193(this[_0x28bea0(0x1e0)]))[_0x28bea0(0x3cf)](_0x1e753f=>{_0x5a6d43(_0x1e753f);});}['_initUnitPermissionChange'](){var _0x5d7d02=_0x10928f;const _0x30439=async _0x2d0168=>{var _0x8640e1=_0x5764;const _0x37bc73=await this[_0x8640e1(0x328)][_0x8640e1(0x422)](_0x2d0168),_0x435624=this[_0x8640e1(0x493)]['get'](_0x18ef1a);_0x37bc73[_0x8640e1(0x264)][_0x8640e1(0x392)](_0x3dc6e0(_0x4d9e25=>_0x4d9e25[_0x8640e1(0x379)]===_0x1f3ef0[_0x8640e1(0x482)]),_0x3b4193(this[_0x8640e1(0x1e0)]))[_0x8640e1(0x3cf)](_0x2dd118=>{var _0x32faa0=_0x8640e1;const _0x48ae84=_0x2dd118,{objectId:_0x5d6a53}=_0x48ae84[_0x32faa0(0x34a)];_0x5d6a53===_0x2d0168?_0x435624['initWorkbookPermissionChange'](_0x2d0168):_0x435624['refreshPermission'](_0x2d0168,_0x5d6a53);});};_0x5f3238(this[_0x5d7d02(0x3b8)][_0x5d7d02(0x28e)](_0x5417eb[_0x5d7d02(0x465)]))[_0x5d7d02(0x392)](_0x4b7ed6(_0x3af7a5=>_0x3af7a5[_0x5d7d02(0x202)]()),_0x3dc6e0(_0x4c6a6c=>!_0x357c9a(_0x4c6a6c)),_0x3b4193(this[_0x5d7d02(0x1e0)]))[_0x5d7d02(0x3cf)](_0x17a8f2=>{_0x30439(_0x17a8f2);});}};ot=ir([Ue(0x0,_0x20ebd0(_0x419a48)),Ue(0x1,_0x13ba10),Ue(0x2,_0x58f210),Ue(0x3,_0x20ebd0(we)),Ue(0x4,_0x20ebd0(ve))],ot);var sr=Object[_0x10928f(0x413)],nr=(_0x4cf1db,_0xd4e90f,_0x13b177,_0x28e799)=>{var _0x2eb6f2=_0x10928f;for(var _0x572c16=_0x28e799>0x1?void 0x0:_0x28e799?sr(_0xd4e90f,_0x13b177):_0xd4e90f,_0x4b608c=_0x4cf1db[_0x2eb6f2(0x22d)]-0x1,_0x507edf;_0x4b608c>=0x0;_0x4b608c--)(_0x507edf=_0x4cf1db[_0x4b608c])&&(_0x572c16=_0x507edf(_0x572c16)||_0x572c16);return _0x572c16;},ai=(_0x269a39,_0x17301c)=>(_0xb08b4a,_0x538628)=>_0x17301c(_0xb08b4a,_0x538628,_0x269a39);let Ct=class{constructor(_0x57110f,_0x550a97){var _0x25c13e=_0x10928f;this[_0x25c13e(0x3b7)]=_0x57110f,this[_0x25c13e(0x2a1)]=_0x550a97;}async[_0x10928f(0x29b)](_0x4f269e,_0x3f63a1){var _0x26ea36=_0x10928f,_0x1250dc;const {unitID:_0x1952d1,type:_0x4f64a5,revision:_0x445e3e=0x0}=_0x3f63a1,_0x4faee9=this[_0x26ea36(0x203)]()+'/'+_0x4f64a5+'/unit/'+_0x1952d1+_0x26ea36(0x312)+_0x445e3e,_0x5d5821=(await this[_0x26ea36(0x2a1)][_0x26ea36(0x207)](_0x4faee9))[_0x26ea36(0x45a)],_0x217f27=(_0x1250dc=_0x5d5821['snapshot'])==null?void 0x0:_0x1250dc[_0x26ea36(0x1f7)];if(_0x217f27){const _0x68538d=_0x217f27==null?void 0x0:_0x217f27[_0x26ea36(0x2b0)],_0x5a7a97=_0x17dee2['encode'](_0xa782b8(_0x68538d));_0x217f27[_0x26ea36(0x2b0)]=_0x5a7a97,Object['entries'](_0x217f27[_0x26ea36(0x1ce)])['forEach'](([,_0x36928a])=>{var _0x1ac926=_0x26ea36;const _0xeb53bf=_0x36928a[_0x1ac926(0x2b0)],_0x4954cb=_0x17dee2['encode'](_0xa782b8(_0xeb53bf));_0x36928a[_0x1ac926(0x2b0)]=_0x4954cb;});}return _0x5d5821;}async[_0x10928f(0x2dc)](_0x10e20f,_0x3f1c2e){var _0x3eef95=_0x10928f;const {unitID:_0x219e79,type:_0x2b295b,blockID:_0xd8b192}=_0x3f1c2e,_0x440ea2=this[_0x3eef95(0x487)]()+'/'+_0x2b295b+_0x3eef95(0x39e)+_0x219e79+_0x3eef95(0x26e)+_0xd8b192;return(await this['_httpService']['get'](_0x440ea2))['body'];}async[_0x10928f(0x2c0)](_0x28e139,_0x297b59){var _0x31e9bb=_0x10928f;const {unitID:_0x21311e,type:_0x33deda,blockID:_0x4f9f0e}=_0x297b59,_0x19e70e=this[_0x31e9bb(0x487)]()+_0x31e9bb(0x26e)+_0x33deda+'/unit/'+_0x21311e+'/block/'+_0x4f9f0e;return(await this['_httpService'][_0x31e9bb(0x207)](_0x19e70e))['body'];}async[_0x10928f(0x2db)](_0x34f426,_0x2b68f9){var _0xee199c=_0x10928f;const {unitID:_0x13747e,type:_0xcd3b3a,from:_0x62510e,to:_0x498f02}=_0x2b68f9,_0x25c959=this['_getAPIPrefix']()+'/'+_0xcd3b3a+_0xee199c(0x39e)+_0x13747e+_0xee199c(0x2cb)+_0x62510e+_0xee199c(0x1cf)+_0x498f02;return(await this['_httpService'][_0xee199c(0x207)](_0x25c959))[_0xee199c(0x45a)];}[_0x10928f(0x203)](){var _0x3afe6=_0x10928f,_0x51ba2d;return(_0x51ba2d=this[_0x3afe6(0x3b7)][_0x3afe6(0x3e6)](ms))!=null?_0x51ba2d:this[_0x3afe6(0x487)]();}[_0x10928f(0x487)](){var _0x2afa2f=_0x10928f,_0x5becc7;const _0xdb403a=this[_0x2afa2f(0x3b7)][_0x2afa2f(0x3e6)](K);return(_0x5becc7=_0xdb403a==null?void 0x0:_0xdb403a['snapshotServerUrl'])!=null?_0x5becc7:ps;}async['getResourcesRequest'](_0x3a2b57,_0x2d5882){var _0x2f2d5e=_0x10928f;const _0x3caf7f=_0x2f2d5e(0x315)+_0x2d5882[_0x2f2d5e(0x1e8)]+'/unit/'+_0x2d5882[_0x2f2d5e(0x4d2)]+_0x2f2d5e(0x2b6);return(await this[_0x2f2d5e(0x2a1)]['get'](_0x3caf7f,{'params':{'resourceId':JSON[_0x2f2d5e(0x4d1)](_0x2d5882[_0x2f2d5e(0x28f)])}}))[_0x2f2d5e(0x45a)];}[_0x10928f(0x36e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x10928f(0x1dc)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x1e4520=_0x10928f;throw new Error(_0x1e4520(0x4b0));}[_0x10928f(0x434)](){var _0x36fba9=_0x10928f;throw new Error(_0x36fba9(0x4b0));}['copyFileMeta'](){var _0x44d09e=_0x10928f;throw new Error(_0x44d09e(0x4b0));}[_0x10928f(0x419)](){var _0x211773=_0x10928f;throw new Error(_0x211773(0x4b0));}};Ct=nr([ai(0x0,_0x1ed468),ai(0x1,_0x20ebd0(_0xce4c2c))],Ct);var rr=Object[_0x10928f(0x413)],ar=(_0x14b581,_0x9ee26,_0x57bb6a,_0x49ca58)=>{var _0x38c350=_0x10928f;for(var _0x25d230=_0x49ca58>0x1?void 0x0:_0x49ca58?rr(_0x9ee26,_0x57bb6a):_0x9ee26,_0x22ac9d=_0x14b581[_0x38c350(0x22d)]-0x1,_0x36a86d;_0x22ac9d>=0x0;_0x22ac9d--)(_0x36a86d=_0x14b581[_0x22ac9d])&&(_0x25d230=_0x36a86d(_0x25d230)||_0x25d230);return _0x25d230;},Ae=(_0x5cc433,_0x23537a)=>(_0x4755de,_0x3fffec)=>_0x23537a(_0x4755de,_0x3fffec,_0x5cc433);let bt=class extends _0x31455c{constructor(_0x59ba7d,_0x149566,_0x46ce50,_0x14d309,_0xd1c2c7){var _0xcccd37=_0x10928f;super(_0x59ba7d,_0x149566,_0x46ce50),this[_0xcccd37(0x258)]=_0x14d309,this[_0xcccd37(0x474)]=_0xd1c2c7;}[_0x10928f(0x248)](_0xa7ede6,_0xb78c7c){var _0xe12ee3=_0x10928f;const _0xdc15ce=this['_getUndoStack'](_0xa7ede6);if(_0xdc15ce)try{const _0xbe6382=this[_0xe12ee3(0x47c)](_0xdc15ce,_0xb78c7c);this[_0xe12ee3(0x213)](_0xa7ede6,_0xbe6382);}catch(_0x77ab6b){this[_0xe12ee3(0x474)][_0xe12ee3(0x2e0)](_0xe12ee3(0x220),_0x77ab6b),this[_0xe12ee3(0x1ea)](_0xa7ede6);}const _0x1234c7=this['_getRedoStack'](_0xa7ede6);if(_0x1234c7)try{const _0x5e0141=this['_transformStack'](_0x1234c7,_0xb78c7c);this['_substituteRedoStack'](_0xa7ede6,_0x5e0141);}catch(_0xd7caa){this['_logService'][_0xe12ee3(0x2e0)](_0xd7caa),this[_0xe12ee3(0x22c)](_0xa7ede6);}}[_0x10928f(0x1ea)](_0x76384e){var _0x16a82f=_0x10928f;const _0x328c7b=this[_0x16a82f(0x1e5)](_0x76384e);_0x328c7b&&(_0x328c7b['length']=0x0,this[_0x16a82f(0x351)]());}[_0x10928f(0x22c)](_0x357b99){var _0x56523a=_0x10928f;const _0x28e0a2=this[_0x56523a(0x49c)](_0x357b99);_0x28e0a2&&(_0x28e0a2[_0x56523a(0x22d)]=0x0,this[_0x56523a(0x351)]());}[_0x10928f(0x213)](_0x3803b8,_0xe5a1c3){var _0x79dc60=_0x10928f;this[_0x79dc60(0x1fb)]['set'](_0x3803b8,_0xe5a1c3),this['_updateStatus']();}[_0x10928f(0x355)](_0x116567,_0x5aaca){var _0x4bbcc8=_0x10928f;this['_redoStacks']['set'](_0x116567,_0x5aaca),this[_0x4bbcc8(0x351)]();}[_0x10928f(0x47c)](_0x26a0d4,_0x550430){var _0x1a0e74=_0x10928f;const _0x3fb275=[];let _0x1b2e1b=_0x550430,_0x336edb=_0x550430;for(let _0x1c3f57=_0x26a0d4[_0x1a0e74(0x22d)]-0x1;_0x1c3f57>=0x0;_0x1c3f57--){const {unitID:_0x42bfeb,undoMutations:_0x2d3a06,redoMutations:_0x52a62c}=_0x26a0d4[_0x1c3f57],_0x310941=this[_0x1a0e74(0x258)][_0x1a0e74(0x29f)](_0x1b2e1b,_0x2d3a06),_0x57c1fe=this['_transformService']['transformMutationsWithChangeset'](_0x336edb,_0x52a62c);if(_0x34d9e2(_0x310941)||_0x34d9e2(_0x57c1fe)){this['_logService'][_0x1a0e74(0x2e0)](_0x1a0e74(0x220),_0x1a0e74(0x2e9),_0x310941,_0x57c1fe);break;}_0x1b2e1b=_0x310941[_0x1a0e74(0x3f8)],_0x336edb=_0x57c1fe[_0x1a0e74(0x3f8)],_0x3fb275[_0x1a0e74(0x4b3)]({'unitID':_0x42bfeb,'undoMutations':_0x310941[_0x1a0e74(0x2f3)],'redoMutations':_0x57c1fe[_0x1a0e74(0x2f3)]});}return _0x3fb275[_0x1a0e74(0x45f)]();}};bt=ar([Ae(0x0,_0x13ba10),Ae(0x1,_0x5583af),Ae(0x2,_0x4a60fc),Ae(0x3,_0x2c7d08),Ae(0x4,_0x5c483f)],bt);var or=Object['defineProperty'],cr=Object[_0x10928f(0x413)],_r=(_0x13d9f9,_0x293351,_0x1b2da9)=>_0x293351 in _0x13d9f9?or(_0x13d9f9,_0x293351,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b2da9}):_0x13d9f9[_0x293351]=_0x1b2da9,hr=(_0x4bc6ae,_0x6d985a,_0x2f0fed,_0x3abbdb)=>{var _0x53cb2c=_0x10928f;for(var _0x36eeb9=_0x3abbdb>0x1?void 0x0:_0x3abbdb?cr(_0x6d985a,_0x2f0fed):_0x6d985a,_0x594c2a=_0x4bc6ae[_0x53cb2c(0x22d)]-0x1,_0x360dce;_0x594c2a>=0x0;_0x594c2a--)(_0x360dce=_0x4bc6ae[_0x594c2a])&&(_0x36eeb9=_0x360dce(_0x36eeb9)||_0x36eeb9);return _0x36eeb9;},pt=(_0x139f6a,_0x1dbc90)=>(_0x563a6a,_0x100615)=>_0x1dbc90(_0x563a6a,_0x100615,_0x139f6a),lr=(_0x1e52b1,_0x4b7811,_0x5caad1)=>_r(_0x1e52b1,_0x4b7811+'',_0x5caad1);const ur=_0x10928f(0x2c4);let Dt=class extends _0x9a275b{constructor(_0xfb560,_0x307790,_0x3d018f,_0x380ea0){var _0x6084d3=_0x10928f;super(),D(this,_0x6084d3(0x350)),(this['_logService']=_0x307790,this[_0x6084d3(0x493)]=_0x3d018f,this[_0x6084d3(0x3b7)]=_0x380ea0);const {..._0x1b53e6}=_0x26d278({},$s,_0xfb560);if(!_0x1b53e6[_0x6084d3(0x223)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x6084d3(0x350)]=_0x1b53e6,this[_0x6084d3(0x3b7)][_0x6084d3(0x399)](K,_0x1b53e6);}[_0x10928f(0x359)](){var _0x559060=_0x10928f;this[_0x559060(0x218)](),this[_0x559060(0x287)]();}['_registerDependencies'](){var _0x419168=_0x10928f,_0x572dea,_0x18d4e0;this[_0x419168(0x493)]['has'](_0x15daea)&&this['_logService'][_0x419168(0x2e0)](_0x419168(0x459),_0x419168(0x374));const _0x53d550=_0x1de676([[_0x15daea,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this['_config'][_0x419168(0x223)]}],[_0x1ce4a1,{'useClass':Ct}],[_0x36c981,{'useClass':Tt}],[_0x1615ea,{'useClass':Rt}],[_0x50e0e5,{'useClass':Nt}],[nt],[gt]],(_0x572dea=this[_0x419168(0x350)])==null?void 0x0:_0x572dea[_0x419168(0x3ba)]);if(!((_0x18d4e0=this['_config'])!=null&&_0x18d4e0[_0x419168(0x3d0)])){const _0x301361=_0x53d550[_0x419168(0x41f)](([_0x103837])=>_0x103837===_t);_0x301361!==-0x1&&_0x53d550[_0x419168(0x299)](_0x301361,0x1);}_0x1e3b24(this[_0x419168(0x493)],_0x53d550);}[_0x10928f(0x287)](){var _0x2c8b62=_0x10928f,_0x505382,_0x3554dd,_0x3a47bb;this['_injector'][_0x2c8b62(0x207)](_0xce4c2c)[_0x2c8b62(0x2ab)]({'priority':0x14,'interceptor':_0x3a2b80({'maxParallel':0x6})}),(_0x505382=this[_0x2c8b62(0x350)])!=null&&_0x505382[_0x2c8b62(0x3b6)]||(_0x3554dd=this['_injector'][_0x2c8b62(0x207)](X,_0x409aee[_0x2c8b62(0x322)]))==null||_0x3554dd[_0x2c8b62(0x38a)](),(_0x3a47bb=this[_0x2c8b62(0x350)])!=null&&_0x3a47bb[_0x2c8b62(0x285)]&&_0x1aabc6(this[_0x2c8b62(0x493)],[[rt]]),_0x1aabc6(this[_0x2c8b62(0x493)],[[at],[nt],[ot]]);}};lr(Dt,'pluginName',ur),Dt=hr([_0x1fec70(_0x354dcc,_0x4512a7,_0xadc3e4),pt(0x1,_0x5c483f),pt(0x2,_0x20ebd0(_0x419a48)),pt(0x3,_0x1ed468)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,pi as CommentService,ue as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,Dr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Rr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Gs as INetworkConditionService,_t as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Nr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,br as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Rs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ct as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Ws as deserializeToCombResponse,yr as getLocalCacheKey,Ys as serializeCombRequest};