@univerjs-pro/collaboration-client 0.6.0-nightly.202502121606 → 0.6.0-nightly.202502141606

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 (37) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ru-RU.js +1 -1
  7. package/lib/cjs/locale/vi-VN.js +1 -1
  8. package/lib/cjs/locale/zh-CN.js +1 -1
  9. package/lib/cjs/locale/zh-TW.js +1 -1
  10. package/lib/es/facade.js +1 -1
  11. package/lib/es/index.js +1 -1
  12. package/lib/es/locale/en-US.js +1 -1
  13. package/lib/es/locale/fa-IR.js +1 -1
  14. package/lib/es/locale/fr-FR.js +1 -1
  15. package/lib/es/locale/ru-RU.js +1 -1
  16. package/lib/es/locale/vi-VN.js +1 -1
  17. package/lib/es/locale/zh-CN.js +1 -1
  18. package/lib/es/locale/zh-TW.js +1 -1
  19. package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +1 -1
  20. package/lib/types/controllers/config.schema.d.ts +2 -2
  21. package/lib/types/facade/f-collaboration.d.ts +7 -3
  22. package/lib/types/facade/f-univer.d.ts +2 -2
  23. package/lib/types/index.d.ts +1 -1
  24. package/lib/types/plugin.d.ts +2 -2
  25. package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +1 -5
  26. package/lib/types/services/permission/permission.service.d.ts +2 -4
  27. package/lib/types/services/socket/collaboration-socket.service.d.ts +13 -6
  28. package/lib/umd/facade.js +1 -1
  29. package/lib/umd/index.js +1 -1
  30. package/lib/umd/locale/en-US.js +1 -1
  31. package/lib/umd/locale/fa-IR.js +1 -1
  32. package/lib/umd/locale/fr-FR.js +1 -1
  33. package/lib/umd/locale/ru-RU.js +1 -1
  34. package/lib/umd/locale/vi-VN.js +1 -1
  35. package/lib/umd/locale/zh-CN.js +1 -1
  36. package/lib/umd/locale/zh-TW.js +1 -1
  37. package/package.json +14 -14
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x57ea30=_0x30c3;(function(_0x6038b8,_0x4fe0a6){var _0x2ceb44=_0x30c3,_0x5341dc=_0x6038b8();while(!![]){try{var _0x701cd0=-parseInt(_0x2ceb44(0x339))/0x1*(parseInt(_0x2ceb44(0x467))/0x2)+parseInt(_0x2ceb44(0x453))/0x3*(parseInt(_0x2ceb44(0x189))/0x4)+parseInt(_0x2ceb44(0x1b4))/0x5+-parseInt(_0x2ceb44(0x1d0))/0x6*(parseInt(_0x2ceb44(0x201))/0x7)+-parseInt(_0x2ceb44(0x160))/0x8*(parseInt(_0x2ceb44(0x22d))/0x9)+parseInt(_0x2ceb44(0x1a7))/0xa*(-parseInt(_0x2ceb44(0x40c))/0xb)+-parseInt(_0x2ceb44(0x2f5))/0xc*(-parseInt(_0x2ceb44(0x322))/0xd);if(_0x701cd0===_0x4fe0a6)break;else _0x5341dc['push'](_0x5341dc['shift']());}catch(_0xe081a2){_0x5341dc['push'](_0x5341dc['shift']());}}}(_0x2a30,0x53290));var Li=Object[_0x57ea30(0x2ab)],Mi=(_0x2dfad2,_0x1169d9,_0x50f10d)=>_0x1169d9 in _0x2dfad2?Li(_0x2dfad2,_0x1169d9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50f10d}):_0x2dfad2[_0x1169d9]=_0x50f10d,N=(_0x131089,_0x231ff5,_0x791da3)=>Mi(_0x131089,typeof _0x231ff5!=_0x57ea30(0x468)?_0x231ff5+'':_0x231ff5,_0x791da3);import{createIdentifier as _0x7c5cb6,Inject as _0x121c70,Injector as _0x49358f,Disposable as _0x232634,DisposableCollection as _0x32c698,toDisposable as _0x3ab410,IConfigService as _0x5a8f33,ILogService as _0x410aea,UserManagerService as _0x38aba0,UniverInstanceType as _0x33b7bd,IUniverInstanceService as _0x3b1049,LocaleService as _0x5931b1,Optional as _0x1d8841,RxDisposable as _0x577131,Tools as _0xb8971a,Rectangle as _0x118fc4,ICommandService as _0x39c537,JSONX as _0x3b4f97,CommandType as _0x530150,IPermissionService as _0x8b7349,IUndoRedoService as _0x2cf6cb,sequenceExecute as _0x34ed06,Workbook as _0x5d02c2,MentionType as _0xce523b,IAuthzIoService as _0xce0ee1,isInternalEditorID as _0x213a90,LocalUndoRedoService as _0x4339c9,IContextService as _0x1b919b,DependentOn as _0x21b86b,Plugin as _0x802d0b,merge as _0x136c0d,mergeOverrideWithDependencies as _0x3795e4,IMentionIOService as _0x34756c,registerDependencies as _0xdc2135,Quantity as _0x2b20f2,touchDependencies as _0x571d99}from'@univerjs/core';import{Subject as _0x378d79,merge as _0x20f86f,of as _0x36584b,BehaviorSubject as _0x21aea0,takeUntil as _0x306370,ReplaySubject as _0x5c77e9,take as _0x3bfa1c,map as _0x3b1b76,shareReplay as _0x30f542,firstValueFrom as _0xfcf877,concatMap as _0x518cb9}from'rxjs';import{map as _0x18d76c,take as _0x1ef3e9,filter as _0x4d1c41,delay as _0x26959e,takeUntil as _0x5c07a4}from'rxjs/operators';import{HTTPService as _0x457bbb,ISocketService as _0xd47339,MergeInterceptorFactory as _0x522fe1,HTTPRequest as _0x109246,UniverNetworkPlugin as _0xf16f04,ThresholdInterceptorFactory as _0x2e84f0}from'@univerjs/network';import{CollaborationEvent as _0x50f10f,parseChangesetToProtocol as _0x2432a9,ISnapshotServerService as _0x1a1ac3,isTransformMutationsWithChangesetSuccess as _0x37c03b,ITransformService as _0x4877b5,mapDocumentTypeToUniverType as _0x36f9a0,RevisionService as _0x117310,isTransformChangesetsSuccess as _0x14716a,CompressMutationService as _0x17c2e2,parseProtocolChangeset as _0x40afb4,SnapshotService as _0x2a96f5,textEncoder as _0x29ae7b,b64DecodeUnicode as _0x4da21e,isTransformMutationsWithChangesetFailure as _0x2fe811,UniverCollaborationPlugin as _0x4b4955}from'@univerjs-pro/collaboration';import{ITelemetryService as _0xb3d731}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x36d8f7}from'@univerjs/docs';import{SheetsSelectionsService as _0x16b3f3,SetSelectionsOperation as _0x1de0ec,InsertSheetMutation as _0x15c4f3,EmptyMutation as _0x3a834d,WorkbookEditablePermission as _0x4f0669,SheetPermissionInitController as _0x50561b,UniverSheetsPlugin as _0x1ca7f4}from'@univerjs/sheets';import{ImageSourceType as _0x3aee31,ImageUploadStatusType as _0x57e7c3,IImageIoService as _0x1b3fb2}from'@univerjs/drawing';import{getGlobalObject as _0x27997a}from'@univerjs-pro/license';const En=_0x57ea30(0x40e),In=_0x57ea30(0x311),Tn='SNAPSHOT_URL_KEY',eo=_0x57ea30(0x2cb),Cn=0x7d0,Rn=_0x57ea30(0x249),bn=_0x57ea30(0x32a),On=_0x57ea30(0x1db),yn=_0x57ea30(0x3ef),Nn=0x7530,Si=_0x57ea30(0x178),Ei=0x4e20,Dn=0x4e20,Pn=_0x57ea30(0x2a5),wn=0x3,to='LOCAL_CACHE_INTERVAL',io=0x3e8,Un=_0x57ea30(0x412),An=_0x57ea30(0x27e),xn=_0x57ea30(0x1bc),Ln=_0x57ea30(0x3ff),no=_0x57ea30(0x1dc),ro='/universer-api/uniscript';var Ii=(_0x531e4b=>(_0x531e4b[_0x531e4b[_0x57ea30(0x3e9)]=0x0]=_0x57ea30(0x3e9),_0x531e4b[_0x531e4b['OK']=0x1]='OK',_0x531e4b[_0x531e4b['INTERNAL_ERROR']=0x2]=_0x57ea30(0x2f2),_0x531e4b[_0x531e4b[_0x57ea30(0x424)]=0x3]=_0x57ea30(0x424),_0x531e4b[_0x531e4b[_0x57ea30(0x46d)]=0x4]='NOT_FOUND',_0x531e4b[_0x531e4b[_0x57ea30(0x38c)]=0x5]=_0x57ea30(0x38c),_0x531e4b[_0x531e4b[_0x57ea30(0x38e)]=0x6]=_0x57ea30(0x38e),_0x531e4b[_0x531e4b[_0x57ea30(0x46a)]=0x7]=_0x57ea30(0x46a),_0x531e4b[_0x531e4b[_0x57ea30(0x167)]=0x8]=_0x57ea30(0x167),_0x531e4b[_0x531e4b[_0x57ea30(0x287)]=0x9]=_0x57ea30(0x287),_0x531e4b[_0x531e4b[_0x57ea30(0x452)]=0x1389]=_0x57ea30(0x452),_0x531e4b[_0x531e4b[_0x57ea30(0x2fa)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x531e4b[_0x531e4b[_0x57ea30(0x44f)]=0x1772]=_0x57ea30(0x44f),_0x531e4b[_0x531e4b[_0x57ea30(0x215)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x531e4b[_0x531e4b[_0x57ea30(0x1f1)]=0x1b59]=_0x57ea30(0x1f1),_0x531e4b[_0x531e4b[_0x57ea30(0x2f4)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x531e4b[_0x531e4b[_0x57ea30(0x1e0)]=0x1b5b]=_0x57ea30(0x1e0),_0x531e4b[_0x531e4b[_0x57ea30(0x422)]=0x1b5c]=_0x57ea30(0x422),_0x531e4b[_0x531e4b[_0x57ea30(0x440)]=0x1b5d]=_0x57ea30(0x440),_0x531e4b[_0x531e4b[_0x57ea30(0x2df)]=0x1f41]=_0x57ea30(0x2df),_0x531e4b[_0x531e4b[_0x57ea30(0x3f7)]=0x2329]=_0x57ea30(0x3f7),_0x531e4b[_0x531e4b[_0x57ea30(0x473)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x531e4b[_0x531e4b[_0x57ea30(0x27c)]=0x232b]=_0x57ea30(0x27c),_0x531e4b[_0x531e4b[_0x57ea30(0x31e)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x531e4b[_0x531e4b[_0x57ea30(0x1bf)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x531e4b[_0x531e4b[_0x57ea30(0x345)]=0x2711]=_0x57ea30(0x345),_0x531e4b[_0x531e4b['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x57ea30(0x2dc),_0x531e4b[_0x531e4b[_0x57ea30(0x3f3)]=0x2713]=_0x57ea30(0x3f3),_0x531e4b[_0x531e4b[_0x57ea30(0x404)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x531e4b[_0x531e4b['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x57ea30(0x24c),_0x531e4b[_0x531e4b[_0x57ea30(0x22f)]=-0x1]=_0x57ea30(0x22f),_0x531e4b))(Ii||{}),Q=(_0x8f19de=>(_0x8f19de[_0x8f19de[_0x57ea30(0x1e1)]=0x0]=_0x57ea30(0x1e1),_0x8f19de[_0x8f19de[_0x57ea30(0x44d)]=0x1]=_0x57ea30(0x44d),_0x8f19de[_0x8f19de['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x8f19de[_0x8f19de['UNIVER_SLIDE']=0x3]=_0x57ea30(0x34a),_0x8f19de[_0x8f19de['UNIVER_PROJECT']=0x4]=_0x57ea30(0x434),_0x8f19de[_0x8f19de[_0x57ea30(0x22f)]=-0x1]=_0x57ea30(0x22f),_0x8f19de))(Q||{}),F=(_0x521ceb=>(_0x521ceb[_0x521ceb[_0x57ea30(0x2bd)]=0x0]=_0x57ea30(0x2bd),_0x521ceb[_0x521ceb['HELLO']=0x1]='HELLO',_0x521ceb[_0x521ceb[_0x57ea30(0x3cc)]=0x2]=_0x57ea30(0x3cc),_0x521ceb[_0x521ceb[_0x57ea30(0x330)]=0x3]=_0x57ea30(0x330),_0x521ceb[_0x521ceb[_0x57ea30(0x24a)]=0x4]=_0x57ea30(0x24a),_0x521ceb[_0x521ceb[_0x57ea30(0x30e)]=0x5]=_0x57ea30(0x30e),_0x521ceb[_0x521ceb[_0x57ea30(0x240)]=0x6]='RECV',_0x521ceb[_0x521ceb[_0x57ea30(0x22f)]=-0x1]=_0x57ea30(0x22f),_0x521ceb))(F||{}),Ee=(_0x38c74f=>(_0x38c74f[_0x38c74f[_0x57ea30(0x210)]=0x0]=_0x57ea30(0x210),_0x38c74f[_0x38c74f['OK']=0x1]='OK',_0x38c74f[_0x38c74f['FAIL']=0x2]=_0x57ea30(0x3ba),_0x38c74f[_0x38c74f[_0x57ea30(0x224)]=0x3e9]='JOIN_ROOM_FULL',_0x38c74f[_0x38c74f[_0x57ea30(0x1ca)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x38c74f[_0x38c74f[_0x57ea30(0x227)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x38c74f[_0x38c74f[_0x57ea30(0x1f3)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x38c74f[_0x38c74f[_0x57ea30(0x22f)]=-0x1]=_0x57ea30(0x22f),_0x38c74f))(Ee||{}),Ti=(_0x387ae6=>(_0x387ae6[_0x387ae6[_0x57ea30(0x226)]=0x0]=_0x57ea30(0x226),_0x387ae6[_0x387ae6[_0x57ea30(0x277)]=0x1]=_0x57ea30(0x277),_0x387ae6[_0x387ae6[_0x57ea30(0x1eb)]=0x2]='HttpExport',_0x387ae6[_0x387ae6['UnitEmbedded']=0x3]=_0x57ea30(0x33e),_0x387ae6[_0x387ae6[_0x57ea30(0x22e)]=0x4]=_0x57ea30(0x22e),_0x387ae6[_0x387ae6['UNRECOGNIZED']=-0x1]=_0x57ea30(0x22f),_0x387ae6))(Ti||{});const q=_0x57ea30(0x354),Wt={};var se=(_0x5f102f=>(_0x5f102f[_0x57ea30(0x320)]=_0x57ea30(0x320),_0x5f102f[_0x57ea30(0x424)]=_0x57ea30(0x424),_0x5f102f[_0x57ea30(0x3ad)]='CONFLICT',_0x5f102f[_0x57ea30(0x2da)]=_0x57ea30(0x2da),_0x5f102f[_0x57ea30(0x3bf)]='JOIN_ROOM_FAILED',_0x5f102f['SOCKET_FAILED_RETRY']=_0x57ea30(0x3bd),_0x5f102f[_0x57ea30(0x2a2)]=_0x57ea30(0x2a2),_0x5f102f[_0x57ea30(0x225)]=_0x57ea30(0x225),_0x5f102f))(se||{});class pe{constructor(){var _0x26303c=_0x57ea30;N(this,_0x26303c(0x291),new _0x378d79()),N(this,'event$',this[_0x26303c(0x291)][_0x26303c(0x271)]());}[_0x57ea30(0x21a)](_0x54c629){var _0x3ee9f8=_0x57ea30;this['_event$'][_0x3ee9f8(0x205)](_0x54c629);}}const Mn=_0x7c5cb6(_0x57ea30(0x237));function $n(_0x35bc47){var _0x458908=_0x57ea30,_0x5e402f,_0x4b6022,_0xf6fa4d,_0x5dd189,_0x5ba141;const _0x1f26ff=_0x35bc47['data'],_0x4f4cfb=JSON['parse'](_0x1f26ff);switch(_0x4f4cfb[_0x458908(0x32d)]){case F[_0x458908(0x30e)]:case F[_0x458908(0x3d9)]:{const _0x56a95d=_0x4f4cfb[_0x458908(0x443)];return{..._0x4f4cfb,'data':_0x56a95d,'cmd':_0x4f4cfb[_0x458908(0x32d)]};}case F[_0x458908(0x3cc)]:{const _0x2d1dbe=_0x4f4cfb['joinRsp'];return{..._0x4f4cfb,'data':_0x2d1dbe,'cmd':_0x4f4cfb['cmd']};}case F['RECV']:{const _0x4e0100=_0x4f4cfb[_0x458908(0x3bc)];switch(_0x4e0100['eventID']){case _0x50f10f[_0x458908(0x43e)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':(_0x5e402f=_0x4e0100[_0x458908(0x37c)])==null?void 0x0:_0x5e402f['cs']},'cmd':_0x4f4cfb['cmd']};case _0x50f10f[_0x458908(0x458)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':(_0x4b6022=_0x4e0100[_0x458908(0x166)])==null?void 0x0:_0x4b6022['cs']},'cmd':_0x4f4cfb['cmd']};case _0x50f10f[_0x458908(0x414)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':(_0xf6fa4d=_0x4e0100[_0x458908(0x461)])==null?void 0x0:_0xf6fa4d['cs']},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f['CHANGESET_REJ']:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':(_0x5dd189=_0x4e0100['csRejEvent'])==null?void 0x0:_0x5dd189['cs']},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f[_0x458908(0x30b)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':(_0x5ba141=_0x4e0100[_0x458908(0x3cd)])==null?void 0x0:_0x5ba141['cs']},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f[_0x458908(0x30c)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100['updateCursorEvent']},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f['USERS_ENTER']:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x26e)]},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f['USERS_LEAVE']:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x421)]},'cmd':_0x4f4cfb['cmd']};case _0x50f10f['LIVESHARE_NEW_HOST']:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100['liveShareNewHost']},'cmd':_0x4f4cfb['cmd']};case _0x50f10f[_0x458908(0x3ab)]:case _0x50f10f[_0x458908(0x306)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x29f)]},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f[_0x458908(0x28c)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x2c1)]},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f[_0x458908(0x451)]:return{..._0x4f4cfb,'data':_0x4e0100,'cmd':_0x4f4cfb['cmd']};case _0x50f10f[_0x458908(0x31d)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x3da)]},'cmd':_0x4f4cfb['cmd']};case _0x50f10f[_0x458908(0x418)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x438)]},'cmd':_0x4f4cfb['cmd']};case _0x50f10f[_0x458908(0x3e1)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x1e5)]},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f[_0x458908(0x370)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x2d8)]},'cmd':_0x4f4cfb['cmd']};default:return _0x4f4cfb;}}default:return _0x4f4cfb;}}function Hn(_0x3be9ca){var _0x17dfad=_0x57ea30;switch(_0x3be9ca[_0x17dfad(0x32d)]){case F[_0x17dfad(0x30e)]:case F[_0x17dfad(0x3d9)]:return JSON[_0x17dfad(0x3ea)]({'cmd':_0x3be9ca[_0x17dfad(0x32d)],'routeKey':_0x3be9ca[_0x17dfad(0x419)]});case F['INGEST']:{let _0x553483;switch(_0x3be9ca['data'][_0x17dfad(0x2a1)]){case _0x50f10f[_0x17dfad(0x30c)]:{_0x553483={'eventID':_0x50f10f[_0x17dfad(0x30c)],'updateCursorEvent':_0x3be9ca['data'][_0x17dfad(0x34c)]};break;}case _0x50f10f['USERS_LEAVE']:{_0x553483={'eventID':_0x50f10f[_0x17dfad(0x470)],'leaveEvent':_0x3be9ca['data'][_0x17dfad(0x34c)]};break;}case _0x50f10f['USERS_ENTER']:{_0x553483={'eventID':_0x50f10f['USERS_ENTER'],'joinEvent':_0x3be9ca['data']['data']};break;}case _0x50f10f['LIVESHARE_NEW_HOST']:{_0x553483={'eventID':_0x50f10f['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x3be9ca['data'][_0x17dfad(0x34c)]};break;}case _0x50f10f['LIVESHARE_OPERATION']:{_0x553483={'eventID':_0x50f10f[_0x17dfad(0x306)],'liveShareOperation':_0x3be9ca[_0x17dfad(0x34c)][_0x17dfad(0x34c)]};break;}case _0x50f10f['LIVESHARE_TERMINATE']:{_0x553483={'eventID':_0x50f10f[_0x17dfad(0x28c)],'liveShareTerminate':_0x3be9ca[_0x17dfad(0x34c)][_0x17dfad(0x34c)]};break;}case _0x50f10f[_0x17dfad(0x40f)]:{_0x553483={'eventID':_0x50f10f[_0x17dfad(0x40f)],'liveShareRequestHost':_0x3be9ca[_0x17dfad(0x34c)][_0x17dfad(0x34c)]};break;}case _0x50f10f[_0x17dfad(0x3ab)]:{_0x553483={'eventID':_0x50f10f['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x553483={'eventID':_0x3be9ca[_0x17dfad(0x34c)][_0x17dfad(0x2a1)]};}return JSON[_0x17dfad(0x3ea)]({'cmd':_0x3be9ca[_0x17dfad(0x32d)],'routeKey':_0x3be9ca[_0x17dfad(0x419)],'collaMsg':_0x553483});}case F['JOIN']:return JSON['stringify']({'cmd':_0x3be9ca[_0x17dfad(0x32d)],'routeKey':_0x3be9ca[_0x17dfad(0x419)],'joinReq':_0x3be9ca[_0x17dfad(0x34c)]});case F[_0x17dfad(0x330)]:return JSON['stringify']({'cmd':_0x3be9ca[_0x17dfad(0x32d)],'routeKey':_0x3be9ca[_0x17dfad(0x419)],'leaveReq':_0x3be9ca[_0x17dfad(0x34c)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object[_0x57ea30(0x2ab)],jn=Object['getOwnPropertyDescriptor'],Bn=(_0x2e3c47,_0x2dfe3a,_0x265b72,_0x16fe15)=>{var _0x55be21=_0x57ea30;for(var _0x3859e6=_0x16fe15>0x1?void 0x0:_0x16fe15?jn(_0x2dfe3a,_0x265b72):_0x2dfe3a,_0x52c460=_0x2e3c47[_0x55be21(0x1d3)]-0x1,_0x3585a8;_0x52c460>=0x0;_0x52c460--)(_0x3585a8=_0x2e3c47[_0x52c460])&&(_0x3859e6=(_0x16fe15?_0x3585a8(_0x2dfe3a,_0x265b72,_0x3859e6):_0x3585a8(_0x3859e6))||_0x3859e6);return _0x16fe15&&_0x3859e6&&kn(_0x2dfe3a,_0x265b72,_0x3859e6),_0x3859e6;},Ue=(_0x433c69,_0x5d631a)=>(_0x20fc94,_0x39612a)=>_0x5d631a(_0x20fc94,_0x39612a,_0x433c69);const Ci=_0x7c5cb6(_0x57ea30(0x406));function Fn(_0x4d93fe,_0x2b3a3a,_0x475c33){var _0x131cbb=_0x57ea30;return _0x4d93fe+'/'+_0x2b3a3a+_0x131cbb(0x2e8)+_0x475c33+_0x131cbb(0x436);}let Et=class extends _0x232634{constructor(_0x36bf79,_0x462c2a,_0x5de746,_0x33a9a1,_0x32f1e9){var _0x48c804=_0x57ea30;super(),this[_0x48c804(0x3ec)]=_0x36bf79,this[_0x48c804(0x281)]=_0x462c2a,this[_0x48c804(0x276)]=_0x5de746,this[_0x48c804(0x26f)]=_0x33a9a1,this['_snapshotServerService']=_0x32f1e9;}[_0x57ea30(0x1ce)](_0x3e03cb){var _0x23f545=_0x57ea30;const _0x1fda63=this[_0x23f545(0x3ec)][_0x23f545(0x17b)](_0xd47339);if(!_0x1fda63)throw new Error(_0x23f545(0x2c0));const _0x177abc=_0x1fda63[_0x23f545(0x1ce)](_0x3e03cb);if(!_0x177abc)throw new Error(_0x23f545(0x1af));const _0x15694a=new _0x32c698(),_0x2d1df9=new _0x378d79();_0x15694a[_0x23f545(0x289)](_0x177abc[_0x23f545(0x3fd)][_0x23f545(0x179)](_0x52dbf4=>_0x2d1df9[_0x23f545(0x205)](_0x52dbf4))),_0x15694a[_0x23f545(0x289)](_0x3ab410(()=>_0x2d1df9[_0x23f545(0x46c)]()));const _0x4cc686=new _0x378d79();_0x15694a['add'](_0x177abc[_0x23f545(0x3bb)]['subscribe'](_0x47638e=>_0x4cc686[_0x23f545(0x205)](_0x47638e))),_0x15694a[_0x23f545(0x289)](_0x3ab410(()=>_0x4cc686['complete']()));const _0xbc15f7=new _0x378d79();_0x15694a[_0x23f545(0x289)](_0x177abc[_0x23f545(0x344)][_0x23f545(0x179)](_0x10350c=>{var _0x3023e5=_0x23f545;const _0x53aac8=$n(_0x10350c);_0xbc15f7[_0x3023e5(0x205)](_0x53aac8);})),_0x15694a[_0x23f545(0x289)](_0x3ab410(()=>_0xbc15f7[_0x23f545(0x46c)]()));let _0xe2ab19;const _0x5e1559=()=>{var _0x5c6300=_0x23f545;_0x4cc686[_0x5c6300(0x205)](new Event(_0x5c6300(0x32b))),_0x2d1df9[_0x5c6300(0x205)](new CloseEvent(_0x5c6300(0x32b))),_0xe2ab19['close']();};return _0xe2ab19={'memberID':'','close$':_0x2d1df9[_0x23f545(0x271)](),'error$':_0x4cc686['asObservable'](),'open$':_0x177abc[_0x23f545(0x2db)],'message$':_0xbc15f7['asObservable'](),'send':_0x5eb17d=>{var _0x2070e1=_0x23f545;if(_0x5eb17d['cmd']===F[_0x2070e1(0x24a)]){if(_0x5eb17d['data'][_0x2070e1(0x2a1)]===_0x50f10f[_0x2070e1(0x34e)]){this[_0x2070e1(0x2e9)](_0xe2ab19,_0x5eb17d[_0x2070e1(0x34c)])[_0x2070e1(0x268)](_0x2de131=>{var _0x59e89d=_0x2070e1;this[_0x59e89d(0x26f)][_0x59e89d(0x24b)](_0x2de131),_0x5e1559();});return;}if(_0x5eb17d[_0x2070e1(0x34c)][_0x2070e1(0x2a1)]===_0x50f10f[_0x2070e1(0x182)]){const _0xd95e7=_0x5eb17d['data'];this[_0x2070e1(0x36b)](_0xd95e7)[_0x2070e1(0x172)](_0x36bec9=>{var _0x20cc30=_0x2070e1;_0xbc15f7[_0x20cc30(0x205)]({'cmd':F[_0x20cc30(0x240)],'code':Ee['OK'],'routeKey':_0xd95e7[_0x20cc30(0x34c)][_0x20cc30(0x239)],'routeType':'','data':{'eventID':_0x50f10f[_0x20cc30(0x26c)],'data':{'changesets':_0x36bec9}}});})[_0x2070e1(0x268)](_0x315310=>{var _0x298454=_0x2070e1;this[_0x298454(0x26f)][_0x298454(0x24b)](_0x315310),_0x5e1559();});return;}}_0x177abc[_0x2070e1(0x36c)](Hn(_0x5eb17d));},'close':()=>{var _0x44e5bb=_0x23f545;_0x177abc['close'](),_0x15694a[_0x44e5bb(0x214)]();}},_0xe2ab19;}async[_0x57ea30(0x2e9)](_0x219817,_0x1b31ff){var _0x4c05af=_0x57ea30,_0x345516,_0x345b3e;const {unitType:_0x27979b,unitID:_0x114953,changeset:_0x109f76}=_0x1b31ff[_0x4c05af(0x34c)],_0xa6908d={'unitID':_0x114953,'memberID':_0x219817[_0x4c05af(0x19c)],'type':_0x27979b,'changeset':_0x2432a9(_0x109f76)},_0x59a1a0=this['_configService'][_0x4c05af(0x341)](Un),_0x21237c=this['_configService'][_0x4c05af(0x341)](q),_0x1a3d2e=Fn((_0x345b3e=(_0x345516=_0x21237c==null?void 0x0:_0x21237c[_0x4c05af(0x3b3)])!=null?_0x345516:_0x59a1a0)!=null?_0x345b3e:An,_0x27979b,_0x114953);try{await this[_0x4c05af(0x281)][_0x4c05af(0x405)](_0x1a3d2e,{'body':_0xa6908d});}catch(_0x50a5cf){throw this['_logService'][_0x4c05af(0x24b)](_0x4c05af(0x427),'submit\x20changeset\x20error!'),_0x50a5cf;}}async[_0x57ea30(0x36b)](_0x11e01d){var _0x147087=_0x57ea30;const {unitID:_0x4ec36b,from:_0x59641d,to:_0x52ce1a,unitType:_0x2112bc}=_0x11e01d[_0x147087(0x34c)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x4ec36b,'type':_0x2112bc,'from':_0x59641d,'to':_0x52ce1a}))[_0x147087(0x36d)];}};Et=Bn([Ue(0x0,_0x121c70(_0x49358f)),Ue(0x1,_0x121c70(_0x457bbb)),Ue(0x2,_0x5a8f33),Ue(0x3,_0x410aea),Ue(0x4,_0x1a1ac3)],Et);const Vn=_0x57ea30(0x35b);function Gn(_0x13df05){var _0xc5f1aa=_0x57ea30;return JSON[_0xc5f1aa(0x3ea)](_0x13df05)[_0xc5f1aa(0x1d3)];}class Ri{constructor(){var _0x1bcd8b=_0x57ea30;N(this,_0x1bcd8b(0x45a),new _0x378d79()),N(this,_0x1bcd8b(0x28a),this['_commentUpdate$']['asObservable']());}['onCommentUpdate'](_0x43e084){var _0x3556b2=_0x57ea30;this[_0x3556b2(0x45a)][_0x3556b2(0x205)](_0x43e084);}}var Wn=Object[_0x57ea30(0x2ab)],Kn=Object[_0x57ea30(0x457)],Yn=(_0x6ea946,_0x2ef6f1,_0xa13db7,_0x530270)=>{var _0x42a6fa=_0x57ea30;for(var _0x23b313=_0x530270>0x1?void 0x0:_0x530270?Kn(_0x2ef6f1,_0xa13db7):_0x2ef6f1,_0x441379=_0x6ea946[_0x42a6fa(0x1d3)]-0x1,_0x239176;_0x441379>=0x0;_0x441379--)(_0x239176=_0x6ea946[_0x441379])&&(_0x23b313=(_0x530270?_0x239176(_0x2ef6f1,_0xa13db7,_0x23b313):_0x239176(_0x23b313))||_0x23b313);return _0x530270&&_0x23b313&&Wn(_0x2ef6f1,_0xa13db7,_0x23b313),_0x23b313;},Kt=(_0x5e1035,_0x14a8cc)=>(_0x3dda4d,_0x46c583)=>_0x14a8cc(_0x3dda4d,_0x46c583,_0x5e1035);let xe=class extends _0x232634{constructor(_0x2c32eb,_0x554bc8){var _0x1cb8ff=_0x57ea30;super(),N(this,_0x1cb8ff(0x25a),new Map()),N(this,_0x1cb8ff(0x365),new _0x378d79()),(this[_0x1cb8ff(0x46f)]=_0x2c32eb,this[_0x1cb8ff(0x272)]=_0x554bc8,this[_0x1cb8ff(0x2fd)](_0x20f86f(this[_0x1cb8ff(0x46f)][_0x1cb8ff(0x383)](_0x33b7bd['UNIVER_SHEET'])['pipe'](_0x18d76c(_0x2433e8=>_0x2433e8[_0x1cb8ff(0x377)]())),this[_0x1cb8ff(0x46f)]['getTypeOfUnitDisposed$'](_0x33b7bd[_0x1cb8ff(0x44d)])[_0x1cb8ff(0x197)](_0x18d76c(_0xf65cd3=>_0xf65cd3[_0x1cb8ff(0x377)]())),this[_0x1cb8ff(0x46f)][_0x1cb8ff(0x383)](_0x33b7bd[_0x1cb8ff(0x34a)])[_0x1cb8ff(0x197)](_0x18d76c(_0x455c11=>_0x455c11['getUnitId']())))[_0x1cb8ff(0x179)](_0x9c41dd=>this[_0x1cb8ff(0x1f0)](_0x9c41dd))));}[_0x57ea30(0x340)](_0x34a282){var _0x3b67ff=_0x57ea30;return this[_0x3b67ff(0x25a)]['has'](_0x34a282)?_0x36584b(this[_0x3b67ff(0x25a)][_0x3b67ff(0x17b)](_0x34a282)):this['_roomCreated$'][_0x3b67ff(0x197)](_0x18d76c(_0x2bf615=>{var _0x1f4d4b=_0x3b67ff;if(_0x2bf615===_0x34a282)return this[_0x1f4d4b(0x25a)][_0x1f4d4b(0x17b)](_0x2bf615);}));}[_0x57ea30(0x213)](_0x232bce){var _0x3e8cce=_0x57ea30;this[_0x3e8cce(0x272)][_0x3e8cce(0x213)](_0x232bce);}['getCurrentUser'](){var _0x1dbe84=_0x57ea30;return this['_userManagerService'][_0x1dbe84(0x2ba)]();}[_0x57ea30(0x425)](_0xf9abe8,_0x4f98e1){var _0xc36f60=_0x57ea30;let _0x4f432a=this[_0xc36f60(0x25a)][_0xc36f60(0x17b)](_0xf9abe8);_0x4f432a||(_0x4f432a=new qn(),this[_0xc36f60(0x25a)][_0xc36f60(0x44b)](_0xf9abe8,_0x4f432a),this[_0xc36f60(0x365)][_0xc36f60(0x205)](_0xf9abe8)),_0x4f432a[_0xc36f60(0x425)](_0x4f98e1);}[_0x57ea30(0x270)](_0xb078c,_0x595210){var _0x4f1109=_0x57ea30;const _0x50369e=this[_0x4f1109(0x25a)][_0x4f1109(0x17b)](_0xb078c);_0x50369e&&_0x50369e[_0x4f1109(0x270)](_0x595210);}[_0x57ea30(0x356)](_0x21f8c5){var _0x59b3cc=_0x57ea30;return this[_0x59b3cc(0x25a)]['get'](_0x21f8c5);}[_0x57ea30(0x2dd)](_0x5e4108,_0x441753){var _0x4db69e=_0x57ea30;const _0x5f3c1=this[_0x4db69e(0x25a)]['get'](_0x5e4108);if(_0x5f3c1)return _0x5f3c1[_0x4db69e(0x2dd)](_0x441753);}[_0x57ea30(0x1f0)](_0x39ed7c){var _0x4ef4b8=_0x57ea30;const _0x3021f6=this[_0x4ef4b8(0x25a)]['get'](_0x39ed7c);_0x3021f6&&(_0x3021f6[_0x4ef4b8(0x214)](),this[_0x4ef4b8(0x25a)][_0x4ef4b8(0x2d3)](_0x39ed7c));}[_0x57ea30(0x214)](){var _0x54d05a=_0x57ea30;this['_roomMembers']['forEach'](_0x345bd6=>_0x345bd6['dispose']()),this[_0x54d05a(0x25a)][_0x54d05a(0x2fb)](),this[_0x54d05a(0x365)][_0x54d05a(0x46c)]();}};xe=Yn([Kt(0x0,_0x3b1049),Kt(0x1,_0x121c70(_0x38aba0))],xe);class qn extends _0x232634{constructor(){var _0x47c598=_0x57ea30;super(...arguments),N(this,_0x47c598(0x1e8),new Map()),N(this,'_members$',new _0x21aea0(this[_0x47c598(0x1e8)])),N(this,_0x47c598(0x2b9),this[_0x47c598(0x21e)][_0x47c598(0x271)]());}['dispose'](){var _0x2f89f0=_0x57ea30;this[_0x2f89f0(0x1e8)]['clear']();}[_0x57ea30(0x425)](_0xe00339){var _0x2e9d3c=_0x57ea30;this[_0x2e9d3c(0x1e8)]['set'](_0xe00339[_0x2e9d3c(0x19c)],_0xe00339),this[_0x2e9d3c(0x309)]();}[_0x57ea30(0x270)](_0x4c5de7){var _0xc3817d=_0x57ea30;this[_0xc3817d(0x1e8)][_0xc3817d(0x2d3)](_0x4c5de7);}[_0x57ea30(0x2dd)](_0x53800c){var _0x4366e0=_0x57ea30;return this[_0x4366e0(0x1e8)][_0x4366e0(0x17b)](_0x53800c);}[_0x57ea30(0x16c)](){var _0x29f1ac=_0x57ea30;return Array[_0x29f1ac(0x1de)](this[_0x29f1ac(0x1e8)][_0x29f1ac(0x181)]());}[_0x57ea30(0x309)](){var _0x52f722=_0x57ea30;this['_members$'][_0x52f722(0x205)](this[_0x52f722(0x1e8)]);}}var zn=Object['defineProperty'],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0x44b929,_0x2d3282,_0x38fa4c,_0x440c66)=>{var _0x23e44e=_0x57ea30;for(var _0x12a2ce=_0x440c66>0x1?void 0x0:_0x440c66?Jn(_0x2d3282,_0x38fa4c):_0x2d3282,_0x45a72f=_0x44b929[_0x23e44e(0x1d3)]-0x1,_0x539d18;_0x45a72f>=0x0;_0x45a72f--)(_0x539d18=_0x44b929[_0x45a72f])&&(_0x12a2ce=(_0x440c66?_0x539d18(_0x2d3282,_0x38fa4c,_0x12a2ce):_0x539d18(_0x12a2ce))||_0x12a2ce);return _0x440c66&&_0x12a2ce&&zn(_0x2d3282,_0x38fa4c,_0x12a2ce),_0x12a2ce;},me=(_0x8011da,_0x5468a0)=>(_0x50032c,_0x7e1eb1)=>_0x5468a0(_0x50032c,_0x7e1eb1,_0x8011da),Te=(_0x3f812f=>(_0x3f812f[_0x3f812f[_0x57ea30(0x3a4)]=0x0]=_0x57ea30(0x3a4),_0x3f812f[_0x3f812f[_0x57ea30(0x3a0)]=0x1]=_0x57ea30(0x3a0),_0x3f812f[_0x3f812f[_0x57ea30(0x349)]=0x2]=_0x57ea30(0x349),_0x3f812f[_0x3f812f[_0x57ea30(0x449)]=0x3]=_0x57ea30(0x449),_0x3f812f))(Te||{});const Yt={[Ee[_0x57ea30(0x3ba)]]:_0x57ea30(0x1bb),[Ee[_0x57ea30(0x224)]]:_0x57ea30(0x266),[Ee[_0x57ea30(0x1ca)]]:_0x57ea30(0x18a),[Ee[_0x57ea30(0x227)]]:_0x57ea30(0x283),[Ee[_0x57ea30(0x1f3)]]:_0x57ea30(0x3e6)};let It=class extends _0x577131{constructor(_0x159b27,_0x59f52e,_0x4bca88,_0x5820ad,_0x35bd13,_0x580cab,_0x65e6a6,_0x3f515,_0x1bc8de){var _0x50074c=_0x57ea30;super(),N(this,_0x50074c(0x41d),new _0x21aea0(0x0)),N(this,'sessionStatus$',this[_0x50074c(0x41d)][_0x50074c(0x271)]()),N(this,_0x50074c(0x291),new _0x378d79()),N(this,_0x50074c(0x2b3),this['_event$'][_0x50074c(0x271)]()),N(this,_0x50074c(0x39c)),N(this,_0x50074c(0x2a8)),N(this,'_collaborationTimeoutTimer'),N(this,_0x50074c(0x1d8),!0x1),N(this,_0x50074c(0x348),null),(this[_0x50074c(0x2ea)]=_0x159b27,this[_0x50074c(0x26f)]=_0x4bca88,this[_0x50074c(0x276)]=_0x5820ad,this[_0x50074c(0x3d3)]=_0x35bd13,this[_0x50074c(0x293)]=_0x580cab,this['_commentService']=_0x65e6a6,this[_0x50074c(0x41b)]=_0x3f515,this[_0x50074c(0x251)]=_0x1bc8de,this[_0x50074c(0x1d8)]=!!this[_0x50074c(0x251)],_0x59f52e[_0x50074c(0x197)](_0x306370(this[_0x50074c(0x1c4)]))[_0x50074c(0x179)](_0x60ca1b=>{var _0x28b85c=_0x50074c,_0x3491b6;typeof _0x60ca1b>'u'||(this[_0x28b85c(0x39c)]=_0x60ca1b,_0x60ca1b?(this[_0x28b85c(0x21c)](_0x60ca1b),this[_0x28b85c(0x2a8)]=_0x60ca1b[_0x28b85c(0x344)]['subscribe'](_0x1e13ca=>{var _0x4f201d=_0x28b85c;_0x1e13ca[_0x4f201d(0x419)]===this[_0x4f201d(0x2ea)]&&this[_0x4f201d(0x2e1)](_0x1e13ca);})):(this[_0x28b85c(0x29a)](),this[_0x28b85c(0x41d)][_0x28b85c(0x205)](0x2),(_0x3491b6=this['_socketMessageSubscription'])==null||_0x3491b6[_0x28b85c(0x46b)](),this[_0x28b85c(0x2a8)]=null));}));}get[_0x57ea30(0x28d)](){var _0x43e942=_0x57ea30;return this[_0x43e942(0x41d)]['getValue']();}['getMemberID'](){var _0x2f6bfb=_0x57ea30,_0x3cb0a6,_0x361eab;return(_0x361eab=(_0x3cb0a6=this[_0x2f6bfb(0x39c)])==null?void 0x0:_0x3cb0a6[_0x2f6bfb(0x19c)])!=null?_0x361eab:null;}[_0x57ea30(0x214)](){var _0x2b1cc3=_0x57ea30;super[_0x2b1cc3(0x214)](),this[_0x2b1cc3(0x1c4)][_0x2b1cc3(0x205)](),this[_0x2b1cc3(0x1c4)]['complete']();}[_0x57ea30(0x312)](){var _0x503ad6=_0x57ea30,_0x28cc6b,_0x354ba7;this[_0x503ad6(0x29a)](),(_0x28cc6b=this[_0x503ad6(0x39c)])==null||_0x28cc6b[_0x503ad6(0x36c)]({'cmd':F[_0x503ad6(0x330)],'data':{'roomID':this[_0x503ad6(0x2ea)]}}),(_0x354ba7=this['_socket'])==null||_0x354ba7['close'](),this[_0x503ad6(0x291)]['complete'](),this[_0x503ad6(0x41d)][_0x503ad6(0x46c)](),this[_0x503ad6(0x214)]();}[_0x57ea30(0x2e1)](_0x48a8bd){var _0xf29b11=_0x57ea30;_0x48a8bd[_0xf29b11(0x32d)]===F[_0xf29b11(0x3cc)]?this[_0xf29b11(0x3b6)](_0x48a8bd):_0x48a8bd['cmd']===F[_0xf29b11(0x240)]&&this[_0xf29b11(0x211)](_0x48a8bd);}[_0x57ea30(0x21c)](_0x4bfedd){var _0x316625=_0x57ea30;this[_0x316625(0x41d)][_0x316625(0x205)](0x1),_0x4bfedd[_0x316625(0x36c)]({'cmd':F[_0x316625(0x3cc)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x316625(0x2ea)]}]}});}['_onJoinRoomEvent'](_0x1d3c22){var _0x509478=_0x57ea30,_0x5b9c6b;if(_0x1d3c22[_0x509478(0x1d2)]in Yt){this[_0x509478(0x41b)][_0x509478(0x21a)]({'id':se[_0x509478(0x3bf)],'data':Yt[_0x1d3c22['code']]}),this[_0x509478(0x41d)]['next'](0x2);return;}this['_sessionStatus$'][_0x509478(0x205)](0x3);const _0x14c1e0=(_0x5b9c6b=_0x1d3c22['data'][_0x509478(0x463)][this[_0x509478(0x2ea)]])==null?void 0x0:_0x5b9c6b[_0x509478(0x403)];_0x14c1e0&&_0x14c1e0[_0x509478(0x337)](_0x538374=>this[_0x509478(0x293)][_0x509478(0x425)](this[_0x509478(0x2ea)],_0x538374));}[_0x57ea30(0x211)](_0x389bee){var _0x2b1c3e=_0x57ea30;try{const _0x46bbd7=_0x389bee[_0x2b1c3e(0x34c)];switch(_0x46bbd7[_0x2b1c3e(0x2a1)]){case _0x50f10f[_0x2b1c3e(0x2b7)]:this[_0x2b1c3e(0x3d8)](_0x46bbd7),this[_0x2b1c3e(0x291)][_0x2b1c3e(0x205)](_0x46bbd7);break;case _0x50f10f[_0x2b1c3e(0x470)]:this[_0x2b1c3e(0x2f7)](_0x46bbd7),this['_event$'][_0x2b1c3e(0x205)](_0x46bbd7);break;case _0x50f10f[_0x2b1c3e(0x458)]:case _0x50f10f[_0x2b1c3e(0x30b)]:this[_0x2b1c3e(0x388)](),this['_clearCollaborationTimeoutTimer'](),this[_0x2b1c3e(0x291)]['next'](_0x46bbd7);break;case _0x50f10f[_0x2b1c3e(0x451)]:this['_logService'][_0x2b1c3e(0x24b)](_0x2b1c3e(0x30a)+JSON[_0x2b1c3e(0x3ea)](_0x46bbd7)),this[_0x2b1c3e(0x291)][_0x2b1c3e(0x205)](_0x46bbd7);break;case _0x50f10f[_0x2b1c3e(0x31d)]:this[_0x2b1c3e(0x3b1)][_0x2b1c3e(0x2f6)](_0x46bbd7[_0x2b1c3e(0x34c)]),this[_0x2b1c3e(0x291)][_0x2b1c3e(0x205)](_0x46bbd7);break;default:this[_0x2b1c3e(0x291)][_0x2b1c3e(0x205)](_0x46bbd7);}}catch(_0x389e23){this['_logService'][_0x2b1c3e(0x24b)](_0x389e23,_0x389bee);}}[_0x57ea30(0x3d8)](_0x5095c0){var _0x56d74a=_0x57ea30;this['_memberService'][_0x56d74a(0x425)](this['_unitID'],_0x5095c0[_0x56d74a(0x34c)]);}[_0x57ea30(0x2f7)](_0x255deb){var _0xc826e7=_0x57ea30;this[_0xc826e7(0x293)][_0xc826e7(0x270)](this[_0xc826e7(0x2ea)],_0x255deb['data'][_0xc826e7(0x19c)]);}async['send'](_0x5b6aaa,_0x376aae){var _0x2a15f3=_0x57ea30;if(this['sessionStatus']!==0x3||!this[_0x2a15f3(0x39c)])throw new Error(_0x2a15f3(0x184));try{_0x5b6aaa[_0x2a15f3(0x2a1)]===_0x50f10f[_0x2a15f3(0x34e)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x2a15f3(0x460)](_0x5b6aaa)),this[_0x2a15f3(0x39c)]['send']({'cmd':F['INGEST'],'routeKey':_0x376aae,'routeType':'','data':_0x5b6aaa});}catch(_0x1d2bd5){this[_0x2a15f3(0x26f)]['error'](_0x1d2bd5);}}[_0x57ea30(0x3dd)](){var _0x173c53=_0x57ea30,_0xb4177a;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x19f40c=_0x30c3;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x19f40c(0x21a)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0xb4177a=this[_0x173c53(0x276)][_0x173c53(0x341)](Si))!=null?_0xb4177a:Ei);}[_0x57ea30(0x410)](){var _0x406ccc=_0x57ea30;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x406ccc(0x32c)]),this[_0x406ccc(0x32c)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x178a10){var _0x631044=_0x57ea30;if(!this[_0x631044(0x1d8)])return;const {data:_0x263f24}=_0x178a10,{unitID:_0x4edc09,changeset:_0x532ece}=_0x263f24,{mutations:_0x49d848,type:_0x211747}=_0x532ece;this['_telemetryInfo']={'unitId':_0x4edc09,'type':_0x211747,'startTime':performance[_0x631044(0x362)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x49d848)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x2f8970=_0x57ea30;if(this[_0x2f8970(0x1d8)]){if(!this[_0x2f8970(0x348)]){this['_logService'][_0x2f8970(0x24b)](_0x2f8970(0x427),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2f8970(0x348)][_0x2f8970(0x38b)]=performance[_0x2f8970(0x362)](),this[_0x2f8970(0x348)]['duration']=this[_0x2f8970(0x348)]['stopTime']-this['_telemetryInfo'][_0x2f8970(0x202)],this[_0x2f8970(0x251)][_0x2f8970(0x1d9)](Vn,this[_0x2f8970(0x348)]),this[_0x2f8970(0x348)]=null;}}[_0x57ea30(0x29a)](){var _0x439982=_0x57ea30;this[_0x439982(0x348)]=null;}};It=Xn([me(0x2,_0x410aea),me(0x3,_0x5a8f33),me(0x4,_0x121c70(_0x5931b1)),me(0x5,_0x121c70(xe)),me(0x6,_0x121c70(Ri)),me(0x7,_0x121c70(pe)),me(0x8,_0x1d8841(_0xb3d731))],It);var Zn=Object[_0x57ea30(0x2ab)],Qn=Object['getOwnPropertyDescriptor'],er=(_0x5300f3,_0x34045a,_0x4da03f,_0x18fffc)=>{var _0x2581e3=_0x57ea30;for(var _0x2dfb16=_0x18fffc>0x1?void 0x0:_0x18fffc?Qn(_0x34045a,_0x4da03f):_0x34045a,_0x34be21=_0x5300f3[_0x2581e3(0x1d3)]-0x1,_0x3fe2b8;_0x34be21>=0x0;_0x34be21--)(_0x3fe2b8=_0x5300f3[_0x34be21])&&(_0x2dfb16=(_0x18fffc?_0x3fe2b8(_0x34045a,_0x4da03f,_0x2dfb16):_0x3fe2b8(_0x2dfb16))||_0x2dfb16);return _0x18fffc&&_0x2dfb16&&Zn(_0x34045a,_0x4da03f,_0x2dfb16),_0x2dfb16;},ge=(_0x4dc98b,_0x1b7d88)=>(_0x33bd69,_0x23c828)=>_0x1b7d88(_0x33bd69,_0x23c828,_0x4dc98b);let Le=class extends _0x232634{constructor(_0x1b368c,_0x159c82,_0x14b9fb,_0x539fca,_0x5078c0,_0x366ff0,_0x1df2ac){var _0x4da4e7=_0x57ea30;super(),N(this,'_socket$',new _0x21aea0(void 0x0)),N(this,'socket$',this[_0x4da4e7(0x3be)][_0x4da4e7(0x271)]()),N(this,_0x4da4e7(0x231),null),N(this,_0x4da4e7(0x1d4),new Map()),N(this,'_status$',new _0x21aea0(Te[_0x4da4e7(0x3a4)])),N(this,_0x4da4e7(0x45d),this[_0x4da4e7(0x2f3)][_0x4da4e7(0x271)]()),N(this,_0x4da4e7(0x16f),!0x1),N(this,_0x4da4e7(0x2bb)),N(this,_0x4da4e7(0x358),0x0),N(this,_0x4da4e7(0x2c8)),N(this,_0x4da4e7(0x3ee)),(this[_0x4da4e7(0x3ec)]=_0x1b368c,this[_0x4da4e7(0x26f)]=_0x159c82,this[_0x4da4e7(0x276)]=_0x14b9fb,this[_0x4da4e7(0x22c)]=_0x539fca,this[_0x4da4e7(0x2ec)]=_0x5078c0,this[_0x4da4e7(0x41b)]=_0x366ff0,this['_networkConditionService']=_0x1df2ac,this[_0x4da4e7(0x355)]());}get[_0x57ea30(0x39c)](){var _0x35638b=_0x57ea30;return this[_0x35638b(0x3be)][_0x35638b(0x236)]();}['_listenToNetworkCondition'](){var _0x399f90=_0x57ea30;this[_0x399f90(0x301)]&&this[_0x399f90(0x2fd)](this['_networkConditionService']['online$'][_0x399f90(0x179)](_0x44aa20=>{var _0x4fca73=_0x399f90;_0x44aa20&&!this[_0x4fca73(0x39c)]&&this[_0x4fca73(0x3f0)](),_0x44aa20||this[_0x4fca73(0x2bf)]();}));}['dispose'](){var _0x508c4c=_0x57ea30;super[_0x508c4c(0x214)](),this[_0x508c4c(0x1d4)][_0x508c4c(0x337)](_0x8f93eb=>_0x8f93eb[_0x508c4c(0x214)]()),this[_0x508c4c(0x1d4)][_0x508c4c(0x2fb)](),this[_0x508c4c(0x2f3)]['complete']();}async['requireSession'](_0x400b62){var _0x1ae96b=_0x57ea30;if(this[_0x1ae96b(0x1d4)][_0x1ae96b(0x41c)](_0x400b62))return this[_0x1ae96b(0x1d4)][_0x1ae96b(0x17b)](_0x400b62);this[_0x1ae96b(0x3a5)]();const _0x348862=this['_injector'][_0x1ae96b(0x298)](It,_0x400b62,this['_socket$'][_0x1ae96b(0x271)]());return this[_0x1ae96b(0x1d4)][_0x1ae96b(0x44b)](_0x400b62,_0x348862),_0x348862;}[_0x57ea30(0x194)](_0x422a4f){var _0x2fbf1a=_0x57ea30,_0x571c47;const _0x5d289c=this[_0x2fbf1a(0x1d4)][_0x2fbf1a(0x17b)](_0x422a4f);_0x5d289c&&(this[_0x2fbf1a(0x1d4)][_0x2fbf1a(0x2d3)](_0x422a4f),_0x5d289c['close']()),this[_0x2fbf1a(0x1d4)][_0x2fbf1a(0x192)]||(_0x571c47=this[_0x2fbf1a(0x39c)])==null||_0x571c47['close']();}[_0x57ea30(0x3f0)](){var _0x23f018=_0x57ea30;this[_0x23f018(0x358)]=0x0,this[_0x23f018(0x2bb)]!=null&&(clearTimeout(this[_0x23f018(0x2bb)]),this[_0x23f018(0x2bb)]=null),this['_tryReconnect']();}async[_0x57ea30(0x1c7)](){var _0x2efa27=_0x57ea30,_0x56ba7b,_0x4f4cf9,_0x23fc36;const _0x315480=this[_0x2efa27(0x276)][_0x2efa27(0x341)](q),_0x1e1ab4=(_0x56ba7b=_0x315480==null?void 0x0:_0x315480[_0x2efa27(0x3b5)])!=null?_0x56ba7b:On;return(_0x23fc36=(_0x4f4cf9=(await this['_httpService'][_0x2efa27(0x17b)](_0x1e1ab4,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x4f4cf9['ticket'])!=null?_0x23fc36:'';}[_0x57ea30(0x3d4)](_0x412f34){var _0x2c4924=_0x57ea30,_0x249668,_0x3b68bf;const _0x572096=this[_0x2c4924(0x276)]['getConfig'](Rn),_0x10e6d9=this[_0x2c4924(0x276)][_0x2c4924(0x341)](q),_0x4d3251=(_0x3b68bf=(_0x249668=_0x10e6d9==null?void 0x0:_0x10e6d9[_0x2c4924(0x259)])!=null?_0x249668:_0x572096)!=null?_0x3b68bf:bn,_0x158880=typeof window>'u'?new URL(_0x4d3251):new URL(_0x4d3251,window[_0x2c4924(0x198)][_0x2c4924(0x29d)]);_0x158880[_0x2c4924(0x1fe)][_0x2c4924(0x44b)](_0x2c4924(0x1e3),_0x412f34);const _0x437794=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2c4924(0x407)]);return _0x437794[_0x2c4924(0x17b)](_0x2c4924(0x307))&&_0x158880[_0x2c4924(0x1fe)][_0x2c4924(0x44b)]('runId',_0x437794['get'](_0x2c4924(0x307))),_0x158880['toString']();}async[_0x57ea30(0x188)](){var _0x93ba8f=_0x57ea30;const _0xa1c8a=await this['_getSessionTicket'](),_0x4733a2=this[_0x93ba8f(0x3d4)](_0xa1c8a),_0x5e3d08=this['_socketService'][_0x93ba8f(0x1ce)](_0x4733a2);return this[_0x93ba8f(0x231)]=_0x5e3d08,_0x5e3d08;}async[_0x57ea30(0x3a5)](){var _0x16f7b1=_0x57ea30,_0xe1dd10,_0x184892;try{const _0x23d460=(_0x184892=(_0xe1dd10=this['_socket'])!=null?_0xe1dd10:this[_0x16f7b1(0x231)])!=null?_0x184892:await this[_0x16f7b1(0x188)]();if(_0x23d460){const _0x29d599=_0x23d460['send'];_0x23d460[_0x16f7b1(0x36c)]=_0xaa0933=>(this['_rescheduleHeartbeat'](),_0x29d599[_0x16f7b1(0x3a8)](_0x23d460,[_0xaa0933])),_0x23d460[_0x16f7b1(0x344)][_0x16f7b1(0x179)](_0x10d7b4=>this['_onMessage'](_0x23d460,_0x10d7b4)),_0x23d460['error$']['pipe'](_0x1ef3e9(0x1))['subscribe'](_0x5813cc=>this[_0x16f7b1(0x26f)][_0x16f7b1(0x24b)](_0x16f7b1(0x417),_0x5813cc)),_0x23d460[_0x16f7b1(0x2db)][_0x16f7b1(0x197)](_0x1ef3e9(0x1))['subscribe'](()=>{var _0x57b90b=_0x16f7b1;this[_0x57b90b(0x2a6)](_0x23d460);}),_0x23d460['close$'][_0x16f7b1(0x197)](_0x1ef3e9(0x1))['subscribe'](_0x7d7429=>{var _0x486c28=_0x16f7b1;this['_logService'][_0x486c28(0x243)](_0x486c28(0x176),_0x486c28(0x1c0),_0x7d7429),this[_0x486c28(0x2a4)]();});}}catch(_0x23d36c){this[_0x16f7b1(0x26f)][_0x16f7b1(0x24b)](_0x23d36c),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x2239c5){var _0x2b1ea0=_0x57ea30;this[_0x2b1ea0(0x26f)]['debug']('[CollaborationSessionService]','socket\x20open.'),_0x2239c5['send']({'cmd':F[_0x2b1ea0(0x3d9)]}),this[_0x2b1ea0(0x2d2)]();}[_0x57ea30(0x2bf)](){var _0x49dd8a=_0x57ea30;this[_0x49dd8a(0x16f)]=!0x1,this[_0x49dd8a(0x231)]=null,this[_0x49dd8a(0x2f3)][_0x49dd8a(0x205)](Te['OFFLINE']),this[_0x49dd8a(0x3be)][_0x49dd8a(0x205)](null),this['_clearTimeoutTimer'](),this[_0x49dd8a(0x428)]();}[_0x57ea30(0x2a4)](){var _0x4edab8=_0x57ea30,_0x1052d8;this[_0x4edab8(0x2bf)](),this[_0x4edab8(0x358)]<((_0x1052d8=this[_0x4edab8(0x276)]['getConfig'](Pn))!=null?_0x1052d8:wn)?(this[_0x4edab8(0x41b)]['emitEvent']({'id':se['SOCKET_FAILED_RETRY']}),this[_0x4edab8(0x238)]()):this[_0x4edab8(0x41b)][_0x4edab8(0x21a)]({'id':se['SOCKET_FAILED']});}[_0x57ea30(0x238)](){var _0x57f174=_0x57ea30,_0xf37c93;const _0x49f7d3=this[_0x57f174(0x358)],_0x313551=this['_configService'][_0x57f174(0x341)](q),_0x151185=_0x49f7d3===0x0?0x0:((_0xf37c93=_0x313551==null?void 0x0:_0x313551[_0x57f174(0x282)])!=null?_0xf37c93:Dn)*0x2**_0x49f7d3;this[_0x57f174(0x2bb)]=setTimeout(()=>{var _0x459c94=_0x57f174;clearTimeout(this[_0x459c94(0x2bb)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x151185),this[_0x57f174(0x358)]+=0x1;}['_onMessage'](_0x439c52,_0x3a8218){var _0x44773b=_0x57ea30;const {cmd:_0x43f920}=_0x3a8218;_0x43f920===F[_0x44773b(0x3d9)]&&!this[_0x44773b(0x16f)]&&(_0x439c52[_0x44773b(0x19c)]=_0x3a8218[_0x44773b(0x34c)]['memberID'],this['_socket$'][_0x44773b(0x205)](_0x439c52),this[_0x44773b(0x2f3)]['next'](Te[_0x44773b(0x449)]),this[_0x44773b(0x16f)]=!0x0,this[_0x44773b(0x231)]=null),_0x43f920===F['HEARTBEAT']&&this[_0x44773b(0x29e)](),this[_0x44773b(0x2d2)]();}[_0x57ea30(0x2d2)](){var _0x43f7bb=_0x57ea30,_0x432b0c;this['_clearHeartbeatTimer'](),this[_0x43f7bb(0x2c8)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x432b0c=this[_0x43f7bb(0x276)]['getConfig'](yn))!=null?_0x432b0c:Nn);}[_0x57ea30(0x212)](){var _0x1e64a6=_0x57ea30;this[_0x1e64a6(0x39c)]['send']({'cmd':F[_0x1e64a6(0x30e)]}),this['_waitForHeartbeatResponse']();}[_0x57ea30(0x1d1)](){var _0x3da2f3=_0x57ea30,_0x264142;this[_0x3da2f3(0x3ee)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x264142=this[_0x3da2f3(0x276)]['getConfig'](Si))!=null?_0x264142:Ei);}[_0x57ea30(0x428)](){var _0x42925a=_0x57ea30;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x42925a(0x2c8)]=null);}['_clearTimeoutTimer'](){var _0x4e8f54=_0x57ea30;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x4e8f54(0x3ee)]),this[_0x4e8f54(0x3ee)]=null);}};Le=er([ge(0x0,_0x121c70(_0x49358f)),ge(0x1,_0x410aea),ge(0x2,_0x5a8f33),ge(0x3,Ci),ge(0x4,_0x121c70(_0x457bbb)),ge(0x5,_0x121c70(pe)),ge(0x6,_0x1d8841(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x57ea30(0x1d7)]((n+0x100)[_0x57ea30(0x416)](0x10)[_0x57ea30(0x1b1)](0x1));function tr(_0x311b7b,_0x352ab7=0x0){var _0x372115=_0x57ea30;return(V[_0x311b7b[_0x352ab7+0x0]]+V[_0x311b7b[_0x352ab7+0x1]]+V[_0x311b7b[_0x352ab7+0x2]]+V[_0x311b7b[_0x352ab7+0x3]]+'-'+V[_0x311b7b[_0x352ab7+0x4]]+V[_0x311b7b[_0x352ab7+0x5]]+'-'+V[_0x311b7b[_0x352ab7+0x6]]+V[_0x311b7b[_0x352ab7+0x7]]+'-'+V[_0x311b7b[_0x352ab7+0x8]]+V[_0x311b7b[_0x352ab7+0x9]]+'-'+V[_0x311b7b[_0x352ab7+0xa]]+V[_0x311b7b[_0x352ab7+0xb]]+V[_0x311b7b[_0x352ab7+0xc]]+V[_0x311b7b[_0x352ab7+0xd]]+V[_0x311b7b[_0x352ab7+0xe]]+V[_0x311b7b[_0x352ab7+0xf]])[_0x372115(0x1a9)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x281126=_0x57ea30;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x281126(0x22b));ut=crypto['getRandomValues'][_0x281126(0x44e)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x57ea30(0x37f)]&&crypto[_0x57ea30(0x37f)][_0x57ea30(0x44e)](crypto),qt={'randomUUID':rr};function sr(_0x1a3fc8,_0x402a61,_0x382188){var _0x340824=_0x57ea30,_0x141b11,_0x103183,_0x11099f;if(qt[_0x340824(0x37f)]&&!_0x1a3fc8)return qt['randomUUID']();_0x1a3fc8=_0x1a3fc8||{};const _0x27541e=(_0x11099f=(_0x103183=_0x1a3fc8[_0x340824(0x32f)])!=null?_0x103183:(_0x141b11=_0x1a3fc8[_0x340824(0x26a)])==null?void 0x0:_0x141b11[_0x340824(0x209)](_0x1a3fc8))!=null?_0x11099f:nr();if(_0x27541e[_0x340824(0x1d3)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x27541e[0x6]=_0x27541e[0x6]&0xf|0x40,_0x27541e[0x8]=_0x27541e[0x8]&0x3f|0x80,tr(_0x27541e);}const J=_0x7c5cb6(_0x57ea30(0x295));function so(_0x3f7427){var _0x38dd98=_0x57ea30;return _0x38dd98(0x3d2)+_0x3f7427;}var or=Object[_0x57ea30(0x2ab)],ar=Object[_0x57ea30(0x457)],cr=(_0x27d356,_0x42c7bd,_0x206043,_0x36ad10)=>{var _0x998c69=_0x57ea30;for(var _0x941f80=_0x36ad10>0x1?void 0x0:_0x36ad10?ar(_0x42c7bd,_0x206043):_0x42c7bd,_0x24c3bb=_0x27d356[_0x998c69(0x1d3)]-0x1,_0x19cb87;_0x24c3bb>=0x0;_0x24c3bb--)(_0x19cb87=_0x27d356[_0x24c3bb])&&(_0x941f80=(_0x36ad10?_0x19cb87(_0x42c7bd,_0x206043,_0x941f80):_0x19cb87(_0x941f80))||_0x941f80);return _0x36ad10&&_0x941f80&&or(_0x42c7bd,_0x206043,_0x941f80),_0x941f80;},dt=(_0x4b4ad6,_0x55ba3c)=>(_0x3aa60e,_0x5b6e5d)=>_0x55ba3c(_0x3aa60e,_0x5b6e5d,_0x4b4ad6);function hr(_0x50a87b){var _0x507f03=_0x57ea30;const {unitID:_0x3f9a6e,mutations:_0x54c0a9}=_0x50a87b;return{'unitId':_0x3f9a6e,'subUnitId':_0x54c0a9[0x0][_0x507f03(0x302)][_0x507f03(0x376)]};}let it=class{constructor(_0x121f20,_0x4a09be,_0x5143cb){var _0x35f72c=_0x57ea30;this[_0x35f72c(0x3ec)]=_0x121f20,this[_0x35f72c(0x464)]=_0x4a09be,this[_0x35f72c(0x474)]=_0x5143cb;}[_0x57ea30(0x28e)](_0x16722e){var _0x5c5c54=_0x57ea30,_0x3985c5,_0x30d4d4,_0x4d9ad5,_0x491429;const _0xda573a=this['_injector'][_0x5c5c54(0x17b)](_0x16b3f3),{unitId:_0x49a188,subUnitId:_0x22c284}=hr(_0x16722e),_0x488015=_0xda573a==null?void 0x0:_0xda573a[_0x5c5c54(0x3ed)](_0x49a188)[_0x5c5c54(0x252)](),_0x36a578=(_0x30d4d4=(_0x3985c5=this[_0x5c5c54(0x474)][_0x5c5c54(0x41e)](_0x49a188))==null?void 0x0:_0x3985c5['getActiveSheet']())==null?void 0x0:_0x30d4d4['getSheetId']();if(_0x488015[_0x5c5c54(0x1d3)]===0x0||!_0x49a188||!_0x22c284)return;const _0x59fe62=[{'id':_0x1de0ec['id'],'params':{'unitId':_0x49a188,'subUnitId':_0x36a578,'selections':_0xb8971a[_0x5c5c54(0x274)](_0x488015)}}],_0x592e46=this[_0x5c5c54(0x464)]['transformMutationsWithChangeset'](_0x16722e,_0x59fe62);if(!_0x37c03b(_0x592e46))throw _0x592e46[_0x5c5c54(0x24b)];const _0x41980c=(_0x491429=(_0x4d9ad5=_0x592e46['m2Prime'][0x0])==null?void 0x0:_0x4d9ad5[_0x5c5c54(0x302)])==null?void 0x0:_0x491429[_0x5c5c54(0x20a)];if(Array['isArray'](_0x41980c)&&_0x41980c['length']){if(_0x41980c[_0x5c5c54(0x1d3)]===_0x59fe62[0x0]['params'][_0x5c5c54(0x20a)][_0x5c5c54(0x1d3)]&&_0x41980c[_0x5c5c54(0x3df)]((_0x1f1938,_0x3f9704)=>_0x118fc4[_0x5c5c54(0x203)](_0x1f1938[_0x5c5c54(0x273)],_0x59fe62[0x0][_0x5c5c54(0x302)][_0x5c5c54(0x20a)][_0x3f9704][_0x5c5c54(0x273)])))return;this[_0x5c5c54(0x3ec)][_0x5c5c54(0x17b)](_0x39c537)[_0x5c5c54(0x415)](_0x1de0ec['id'],{'unitId':_0x49a188,'subUnitId':_0x36a578,'selections':_0x41980c});}}};it=cr([dt(0x0,_0x121c70(_0x49358f)),dt(0x1,_0x4877b5),dt(0x2,_0x3b1049)],it);const ht=_0x7c5cb6(_0x57ea30(0x1a0));var bi=(_0x15f256=>(_0x15f256[_0x15f256['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x57ea30(0x41a),_0x15f256[_0x15f256['OTHER_CLIENTS_EDITING']=0x1]=_0x57ea30(0x15a),_0x15f256))(bi||{});const _r=new Set([_0x15c4f3['id']]);function zt(_0x5df467,_0x5a54ec,_0x18c8e0,_0x356584,_0x36db21){var _0x493316=_0x57ea30,_0x39fa39,_0x337286,_0x40ea23,_0x282408;const _0x523879=[];for(const _0x1a1bd1 of _0x5df467)if(_r[_0x493316(0x41c)](_0x1a1bd1['id'])){if(_0x523879['length']>0x0)break;_0x523879['push'](_0x1a1bd1);break;}else _0x523879[_0x493316(0x1d7)](_0x1a1bd1);const _0x5b35ed=(_0x337286=(_0x39fa39=_0x36db21['getCurrentUser']())==null?void 0x0:_0x39fa39['userID'])!=null?_0x337286:_0x493316(0x36f),_0x398b5a=(_0x282408=(_0x40ea23=_0x36db21[_0x493316(0x2ba)]())==null?void 0x0:_0x40ea23[_0x493316(0x19c)])!=null?_0x282408:'unknown';return{'changeset':{'unitID':_0x5a54ec,'type':_0x36f9a0(_0x18c8e0['getUnitType'](_0x5a54ec)),'baseRev':_0x356584[_0x493316(0x3f4)](_0x5a54ec),'revision':0x0,'userID':_0x5b35ed,'memberID':_0x398b5a,'mutations':_0x523879},'pendingMutations':_0x5df467[_0x493316(0x1b1)](_0x523879[_0x493316(0x1d3)])};}function lr(_0x57b643,_0x5f0bbe,_0x20bb51,_0x18967c,_0x11add5){var _0x40c4d7=_0x57ea30,_0x361db0,_0x1b09e7,_0x558d15,_0x458c33;const _0x48dacd=[_0x57b643['reduce']((_0x148340,_0x1dc474)=>{var _0x53bf8c=_0x30c3,_0x48f210;const {id:_0x3f0c78}=_0x148340,{id:_0x2d863b,type:_0x504d54}=_0x1dc474,_0x2a95dd=(_0x48f210=_0x148340['params'])!=null?_0x48f210:{'actions':null},_0x1e21d6=_0x1dc474[_0x53bf8c(0x302)];if(_0x3f0c78&&_0x3f0c78!==_0x2d863b)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x3f0c78+_0x53bf8c(0x40d)+_0x2d863b+'.');return{..._0x148340,'id':_0x2d863b,'type':_0x504d54,'params':{'unitId':_0x1e21d6[_0x53bf8c(0x288)],'textRanges':_0x1e21d6[_0x53bf8c(0x233)],'actions':_0x3b4f97[_0x53bf8c(0x1c2)](_0x2a95dd[_0x53bf8c(0x196)],_0x1e21d6['actions'])}};},{})],_0x2099df=(_0x1b09e7=(_0x361db0=_0x11add5[_0x40c4d7(0x2ba)]())==null?void 0x0:_0x361db0[_0x40c4d7(0x1b9)])!=null?_0x1b09e7:'unknown',_0x1a798e=(_0x458c33=(_0x558d15=_0x11add5[_0x40c4d7(0x2ba)]())==null?void 0x0:_0x558d15[_0x40c4d7(0x19c)])!=null?_0x458c33:'unknown';return{'changeset':{'unitID':_0x5f0bbe,'type':_0x36f9a0(_0x20bb51[_0x40c4d7(0x382)](_0x5f0bbe)),'baseRev':_0x18967c['getCurrentRevOfUnit'](_0x5f0bbe),'revision':0x0,'userID':_0x2099df,'memberID':_0x1a798e,'mutations':_0x48dacd},'pendingMutations':[]};}function Oi(_0x568722,_0x5458da){var _0x37d100=_0x57ea30;const _0x41903b=new _0x5c77e9(0x1);return setTimeout(()=>_0x41903b[_0x37d100(0x205)](_0x5458da),_0x568722),_0x41903b['asObservable']()['pipe'](_0x3bfa1c(0x1));}const ur={'id':_0x3a834d['id'],'type':_0x530150['MUTATION'],'params':{}};var dr=Object['defineProperty'],fr=Object['getOwnPropertyDescriptor'],Re=(_0x585af8,_0x473bdb,_0x1f193a,_0x2fc9ff)=>{var _0x2b8fba=_0x57ea30;for(var _0x37be82=_0x2fc9ff>0x1?void 0x0:_0x2fc9ff?fr(_0x473bdb,_0x1f193a):_0x473bdb,_0x3f064d=_0x585af8[_0x2b8fba(0x1d3)]-0x1,_0x34e628;_0x3f064d>=0x0;_0x3f064d--)(_0x34e628=_0x585af8[_0x3f064d])&&(_0x37be82=(_0x2fc9ff?_0x34e628(_0x473bdb,_0x1f193a,_0x37be82):_0x34e628(_0x37be82))||_0x37be82);return _0x2fc9ff&&_0x37be82&&dr(_0x473bdb,_0x1f193a,_0x37be82),_0x37be82;},A=(_0x32bcfa,_0x21f6ea)=>(_0x1e91c1,_0x1684b0)=>_0x21f6ea(_0x1e91c1,_0x1684b0,_0x32bcfa),yi=(_0x1046b5=>(_0x1046b5[_0x57ea30(0x30f)]=_0x57ea30(0x279),_0x1046b5[_0x57ea30(0x297)]=_0x57ea30(0x161),_0x1046b5['PENDING']=_0x57ea30(0x361),_0x1046b5[_0x57ea30(0x346)]=_0x57ea30(0x17c),_0x1046b5['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x1046b5[_0x57ea30(0x3fc)]=_0x57ea30(0x244),_0x1046b5['CONFLICT']='conflict',_0x1046b5[_0x57ea30(0x349)]='offline',_0x1046b5))(yi||{});const Ni=0xea60;class be{constructor(_0x1a61e6,_0x26c675,_0x431d9b,_0x59f702,_0x5104b4,_0x263a0a,_0x5c74b1,_0x1b593,_0x384414){var _0x59eafd=_0x57ea30;N(this,_0x59eafd(0x1ec),null),N(this,'_pendingMutations',[]),(this[_0x59eafd(0x239)]=_0x1a61e6,this['type']=_0x26c675,this['_handler']=_0x5104b4,this[_0x59eafd(0x336)]=_0x263a0a,this[_0x59eafd(0x25e)]=_0x5c74b1,this[_0x59eafd(0x31c)]=_0x1b593,this['_localCacheService']=_0x384414,this[_0x59eafd(0x1ec)]=_0x431d9b,this['_pendingMutations']=_0x59f702);}[_0x57ea30(0x31a)](_0x10d5a0){var _0x1de334=_0x57ea30;const _0x1066a5=this[_0x1de334(0x31c)]['getCurrentRevOfUnit'](this['unitID']);return _0x10d5a0[_0x1de334(0x35e)]>_0x1066a5+0x1?(this['_handler'][_0x1de334(0x229)]({'from':_0x1066a5,'to':_0x10d5a0[_0x1de334(0x35e)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1fba6c){var _0x41faaf=_0x57ea30;this[_0x41faaf(0x25e)]['transformUndoRedo'](this[_0x41faaf(0x239)],_0x1fba6c);}['_transformSelections'](_0x15feec){var _0x3711dc=_0x57ea30,_0x132545,_0x39b50a;(_0x39b50a=(_0x132545=this[_0x3711dc(0x359)])['onTransformSelections'])==null||_0x39b50a[_0x3711dc(0x209)](_0x132545,_0x15feec);}[_0x57ea30(0x3a1)](_0xae44be){var _0x3a8267=_0x57ea30,_0x5b5a11,_0x2bf3cc;return(_0x2bf3cc=(_0x5b5a11=this[_0x3a8267(0x359)])[_0x3a8267(0x258)])==null?void 0x0:_0x2bf3cc[_0x3a8267(0x209)](_0x5b5a11,_0xae44be);}['_transformStateCache'](_0x183e7b){var _0x361c89=_0x57ea30,_0x32084f,_0x4fec69;return(_0x4fec69=(_0x32084f=this[_0x361c89(0x359)])[_0x361c89(0x17d)])==null?void 0x0:_0x4fec69[_0x361c89(0x209)](_0x32084f,_0x183e7b);}[_0x57ea30(0x29c)](_0x9f4c41){var _0x113cf9=_0x57ea30,_0x2d55ad,_0x4198df,_0x41dbd3;return(_0x41dbd3=(_0x4198df=(_0x2d55ad=this[_0x113cf9(0x359)])[_0x113cf9(0x3f6)])==null?void 0x0:_0x4198df['call'](_0x2d55ad,_0x9f4c41))!=null?_0x41dbd3:_0x9f4c41;}[_0x57ea30(0x19d)](_0x480729){var _0x458dee=_0x57ea30,_0x6d2fb6,_0x45c6e5,_0x25f018;return(_0x25f018=(_0x45c6e5=(_0x6d2fb6=this[_0x458dee(0x359)])[_0x458dee(0x335)])==null?void 0x0:_0x45c6e5[_0x458dee(0x209)](_0x6d2fb6,_0x480729))!=null?_0x25f018:_0x480729;}['_syncEditingCollabCursor'](_0x9cfe91){var _0x4bc65f=_0x57ea30,_0xce1fca,_0x14e1f0;if(this['type']===Q[_0x4bc65f(0x44d)]){const {unitID:_0x2d7209,mutations:_0x286865,memberID:_0x44fd8a}=_0x9cfe91,_0xc861=_0x286865[0x0][_0x4bc65f(0x302)][_0x4bc65f(0x233)];Array[_0x4bc65f(0x33a)](_0xc861)&&_0xc861[_0x4bc65f(0x1d3)]>0x0&&((_0x14e1f0=(_0xce1fca=this['_handler'])[_0x4bc65f(0x1a4)])==null||_0x14e1f0[_0x4bc65f(0x209)](_0xce1fca,{'unitID':_0x2d7209,'memberID':_0x44fd8a,'textRanges':_0xc861}));}}[_0x57ea30(0x327)](){var _0x4e5406=_0x57ea30,_0x5361b8;(_0x5361b8=this[_0x4e5406(0x42d)])==null||_0x5361b8[_0x4e5406(0x456)](this[_0x4e5406(0x239)],this['type'],this['_awaitingChangeset'],this[_0x4e5406(0x278)]);}['_getCurrentRevision'](){var _0x40506b=_0x57ea30;return this[_0x40506b(0x31c)][_0x40506b(0x3f4)](this['unitID']);}['_incrementRevisionNumber'](){var _0x6ad665=_0x57ea30;this[_0x6ad665(0x31c)][_0x6ad665(0x1ba)](this[_0x6ad665(0x239)]);}[_0x57ea30(0x2b8)](_0x401453){var _0xd78c87=_0x57ea30,_0x2821d3;let _0x1e49b6=this[_0xd78c87(0x29c)](_0x401453);_0x1e49b6=this[_0xd78c87(0x19d)](_0x1e49b6);const _0x7e1010=_0x34ed06(_0x1e49b6[_0xd78c87(0x409)],this[_0xd78c87(0x336)],{'fromCollab':!0x0});if(!_0x7e1010[_0xd78c87(0x2e3)])throw _0x7e1010[_0xd78c87(0x24b)]instanceof Error?_0x7e1010['error']:new Error((_0x2821d3=_0x7e1010[_0xd78c87(0x24b)])!=null?_0x2821d3:_0xd78c87(0x2b5));this[_0xd78c87(0x3a1)](_0x1e49b6),this[_0xd78c87(0x41f)](_0x1e49b6),this[_0xd78c87(0x3fa)](_0x401453),this[_0xd78c87(0x20b)](_0x1e49b6),this[_0xd78c87(0x15b)](_0x1e49b6),this[_0xd78c87(0x42c)]();}}let De=class extends be{constructor(_0x17a783,_0x51401a,_0x4b3f49,_0x56c320,_0x34546b,_0xa70d79,_0x29a56c,_0x3d7929,_0x205b99,_0xf5c2b0){var _0xe40a3=_0x57ea30;super(_0x17a783,_0x51401a,null,[],_0x4b3f49,_0x29a56c,_0xa70d79,_0x56c320,_0xf5c2b0),N(this,_0xe40a3(0x1be),'synced'),(this[_0xe40a3(0x3ec)]=_0x34546b,this[_0xe40a3(0x26f)]=_0x3d7929,this[_0xe40a3(0x464)]=_0x205b99,this[_0xe40a3(0x26d)]=_0xf5c2b0);}['appendMutation'](_0x50297f){var _0x5820bb=_0x57ea30;const _0x8a5b5a=this[_0x5820bb(0x3ec)][_0x5820bb(0x298)](oe,this[_0x5820bb(0x239)],this[_0x5820bb(0x466)],[_0x50297f],this[_0x5820bb(0x359)]);return _0x8a5b5a[_0x5820bb(0x3e8)](),_0x8a5b5a['_updateLocalCache'](),_0x8a5b5a;}[_0x57ea30(0x269)](_0x1c466d){var _0x33c02b=_0x57ea30;if(this['_checkMissing'](_0x1c466d))return this[_0x33c02b(0x3ec)]['createInstance'](te,this[_0x33c02b(0x239)],this[_0x33c02b(0x466)],null,[],null,[_0x1c466d],this[_0x33c02b(0x359)]);try{const _0xcf4ca1=this[_0x33c02b(0x464)]['transformMutationsWithChangeset'](_0x1c466d,[ur]);if(_0x37c03b(_0xcf4ca1)){const {c1Prime:_0x4e8b66}=_0xcf4ca1;return this['_executeRemoteChangeset'](_0x4e8b66),this;}throw _0xcf4ca1[_0x33c02b(0x24b)];}catch(_0x2a9afb){return this[_0x33c02b(0x26f)][_0x33c02b(0x24b)](_0x2a9afb),this['_onConflict'](!0x1);}}['_onConflict'](_0x51ed28){var _0x57b7c5=_0x57ea30;return this['_injector'][_0x57b7c5(0x298)](de,this[_0x57b7c5(0x239)],this[_0x57b7c5(0x466)],null,[],this[_0x57b7c5(0x359)],_0x51ed28);}['onRemoteAck'](){var _0x428fbf=_0x57ea30;throw new Error(_0x428fbf(0x261));}[_0x57ea30(0x1ab)](){var _0x5bd8c9=_0x57ea30;throw new Error(_0x5bd8c9(0x308));}[_0x57ea30(0x20d)](){return this;}['toggleOffline'](){var _0x4089b2=_0x57ea30;return this[_0x4089b2(0x3ec)][_0x4089b2(0x298)](fe,this[_0x4089b2(0x239)],this[_0x4089b2(0x466)],null,[],this[_0x4089b2(0x359)]);}[_0x57ea30(0x420)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x57ea30(0x33b)](){var _0x1365e2=_0x57ea30;const _0x32602e=this[_0x1365e2(0x31c)][_0x1365e2(0x3f4)](this[_0x1365e2(0x239)]);return this['_handler'][_0x1365e2(0x229)]({'from':_0x32602e,'to':0x0}),this[_0x1365e2(0x3ec)][_0x1365e2(0x298)](te,this['unitID'],this[_0x1365e2(0x466)],null,[],null,[],this[_0x1365e2(0x359)]);}};De=Re([A(0x3,_0x121c70(_0x117310)),A(0x4,_0x121c70(_0x49358f)),A(0x5,_0x2cf6cb),A(0x6,_0x39c537),A(0x7,_0x410aea),A(0x8,_0x4877b5),A(0x9,_0x1d8841(J))],De);let oe=class extends be{constructor(_0x2943ee,_0x8fd51b,_0xe403b3,_0x413b44,_0x34d267,_0x2d251a,_0x47ec03,_0x30b80f,_0x352bc5,_0x26386c,_0x2a41ea,_0x5ae7a9,_0x384a42,_0x46e702){var _0x401ea6=_0x57ea30;super(_0x2943ee,_0x8fd51b,null,_0xe403b3,_0x413b44,_0x352bc5,_0x384a42,_0x2d251a,_0x46e702),N(this,_0x401ea6(0x1be),_0x401ea6(0x361)),N(this,_0x401ea6(0x2e0),null),N(this,_0x401ea6(0x328),null),(this[_0x401ea6(0x3ec)]=_0x34d267,this[_0x401ea6(0x293)]=_0x47ec03,this[_0x401ea6(0x26f)]=_0x30b80f,this[_0x401ea6(0x276)]=_0x26386c,this['_transformService']=_0x2a41ea,this[_0x401ea6(0x46f)]=_0x5ae7a9);}['appendMutation'](_0x5d80fc){var _0x4fe383=_0x57ea30;return this[_0x4fe383(0x278)][_0x4fe383(0x1d7)](_0x5d80fc),this[_0x4fe383(0x327)](),this;}[_0x57ea30(0x269)](_0x4ff23f){var _0xa81e77=_0x57ea30;if(this[_0xa81e77(0x31a)](_0x4ff23f))return this[_0xa81e77(0x27d)](),this[_0xa81e77(0x3ec)][_0xa81e77(0x298)](te,this[_0xa81e77(0x239)],this[_0xa81e77(0x466)],null,this[_0xa81e77(0x278)],null,[_0x4ff23f],this[_0xa81e77(0x359)]);try{const _0x372d88=this[_0xa81e77(0x464)]['transformMutationsWithChangeset'](_0x4ff23f,this['_pendingMutations']);if(_0x37c03b(_0x372d88)){const {c1Prime:_0x1d8ec6,m2Prime:_0x15d27d}=_0x372d88;this['_executeRemoteChangeset'](_0x1d8ec6);const _0x56c79a=this[_0xa81e77(0x3ec)][_0xa81e77(0x298)](oe,this['unitID'],this[_0xa81e77(0x466)],_0x15d27d,this['_handler']);this[_0xa81e77(0x27d)]();const _0x1e4afc=new Date()['getTime'](),_0x3dfff1=this[_0xa81e77(0x2e0)]?Math[_0xa81e77(0x217)](this['_scheduleCompleteTimestamp']-_0x1e4afc,0x0):this['_getSendChangesetTimeout']();return _0x56c79a[_0xa81e77(0x3e8)](_0x3dfff1),_0x56c79a;}throw _0x372d88['error'];}catch(_0x130218){return this[_0xa81e77(0x26f)][_0xa81e77(0x24b)](_0x130218),this[_0xa81e77(0x241)](!0x1);}}[_0x57ea30(0x162)](){var _0x1fc5a5=_0x57ea30;throw new Error(_0x1fc5a5(0x401));}['onRemoteRej'](){var _0x9643f7=_0x57ea30;throw new Error(_0x9643f7(0x27a));}['onRemoteRetry'](){return this;}[_0x57ea30(0x19e)](){var _0x46f9b1=_0x57ea30;return this[_0x46f9b1(0x27d)](),this[_0x46f9b1(0x3ec)][_0x46f9b1(0x298)](fe,this[_0x46f9b1(0x239)],this[_0x46f9b1(0x466)],null,this[_0x46f9b1(0x278)],this[_0x46f9b1(0x359)]);}[_0x57ea30(0x420)](){return this;}[_0x57ea30(0x3e8)](_0x5ed567){var _0x9bf825=_0x57ea30;const _0x49e10d=_0x5ed567!=null?_0x5ed567:this[_0x9bf825(0x23f)]();this[_0x9bf825(0x2e0)]=new Date()[_0x9bf825(0x381)]()+_0x49e10d,this[_0x9bf825(0x328)]=setTimeout(()=>{var _0x5c1e58=_0x9bf825;this[_0x5c1e58(0x27d)]();let _0x878b7f=null;switch(this['type']){case Q[_0x5c1e58(0x2d1)]:{_0x878b7f=zt(this[_0x5c1e58(0x278)],this['unitID'],this[_0x5c1e58(0x46f)],this['_revisionService'],this['_memberService']);break;}case Q[_0x5c1e58(0x44d)]:{this[_0x5c1e58(0x278)]['every'](_0x1051fb=>_0x1051fb['id']===_0x36d8f7['id'])?_0x878b7f=lr(this['_pendingMutations'],this[_0x5c1e58(0x239)],this[_0x5c1e58(0x46f)],this[_0x5c1e58(0x31c)],this[_0x5c1e58(0x293)]):_0x878b7f=zt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x5c1e58(0x31c)],this[_0x5c1e58(0x293)]);break;}default:throw new Error(_0x5c1e58(0x18d)+this[_0x5c1e58(0x466)]+_0x5c1e58(0x1df));}const {changeset:_0x30c499,pendingMutations:_0x588819}=_0x878b7f;this[_0x5c1e58(0x359)][_0x5c1e58(0x1c6)](_0x30c499);const _0xf93045=_0x588819['length']?this[_0x5c1e58(0x3ec)][_0x5c1e58(0x298)](ae,this[_0x5c1e58(0x239)],this['type'],_0x30c499,_0x588819,this['_handler'],void 0x0):this[_0x5c1e58(0x3ec)][_0x5c1e58(0x298)](ue,this[_0x5c1e58(0x239)],this[_0x5c1e58(0x466)],_0x30c499,this[_0x5c1e58(0x359)]);_0xf93045[_0x5c1e58(0x327)](),this[_0x5c1e58(0x359)]['onStateChange'](this,_0xf93045);},_0x49e10d);}[_0x57ea30(0x23f)](){var _0x17e351=_0x57ea30,_0x29338f;const _0x5e8227=this['_configService'][_0x17e351(0x341)](q);return(_0x29338f=_0x5e8227==null?void 0x0:_0x5e8227[_0x17e351(0x36e)])!=null?_0x29338f:Cn;}[_0x57ea30(0x286)](){var _0x592466=_0x57ea30;throw new Error(_0x592466(0x21d));}[_0x57ea30(0x27d)](){var _0x27bab1=_0x57ea30;this[_0x27bab1(0x328)]!=null&&(clearTimeout(this[_0x27bab1(0x328)]),this[_0x27bab1(0x328)]=null);}[_0x57ea30(0x241)](_0x46e8fd){var _0xdad78f=_0x57ea30;return this[_0xdad78f(0x27d)](),this[_0xdad78f(0x3ec)][_0xdad78f(0x298)](de,this[_0xdad78f(0x239)],this[_0xdad78f(0x466)],null,this['_pendingMutations'],this['_handler'],_0x46e8fd);}};oe=Re([A(0x4,_0x121c70(_0x49358f)),A(0x5,_0x121c70(_0x117310)),A(0x6,_0x121c70(xe)),A(0x7,_0x410aea),A(0x8,_0x39c537),A(0x9,_0x5a8f33),A(0xa,_0x4877b5),A(0xb,_0x3b1049),A(0xc,_0x2cf6cb),A(0xd,_0x1d8841(J))],oe);let ue=class extends be{constructor(_0x37d9cc,_0x27ff85,_0x2db4aa,_0x155f1a,_0x2910be,_0x255d8a,_0x223c12,_0x2674eb,_0x17c6c6,_0xe1262,_0x4f78ed){var _0x4860b5=_0x57ea30;super(_0x37d9cc,_0x27ff85,_0x2db4aa,[],_0x155f1a,_0x223c12,_0xe1262,_0x255d8a,_0x4f78ed),N(this,_0x4860b5(0x1be),_0x4860b5(0x17c)),N(this,_0x4860b5(0x472),0x0),N(this,_0x4860b5(0x25f)),N(this,_0x4860b5(0x2ca)),(this['_injector']=_0x2910be,this[_0x4860b5(0x26f)]=_0x2674eb,this[_0x4860b5(0x464)]=_0x17c6c6);}[_0x57ea30(0x1d6)](_0x4ac373){var _0x3d89ea=_0x57ea30;this[_0x3d89ea(0x27d)]();const _0x19ab14=this[_0x3d89ea(0x3ec)][_0x3d89ea(0x298)](ae,this[_0x3d89ea(0x239)],this[_0x3d89ea(0x466)],this[_0x3d89ea(0x1ec)],[_0x4ac373],this[_0x3d89ea(0x359)],this[_0x3d89ea(0x25f)]);return _0x19ab14[_0x3d89ea(0x327)](),_0x19ab14;}['onRemoteChangeset'](_0x6c5dde){var _0x962089=_0x57ea30;if(this[_0x962089(0x31a)](_0x6c5dde))return this['_clearScheduledTask'](),this[_0x962089(0x3ec)][_0x962089(0x298)](te,this[_0x962089(0x239)],this['type'],this['_awaitingChangeset'],[],null,[_0x6c5dde],this['_handler']);try{const _0x34366b=this['_transformService'][_0x962089(0x3f5)]([_0x6c5dde],[this[_0x962089(0x1ec)]],!0x1);if(_0x14716a(_0x34366b)){const {c1Prime:_0x2e489d,c2Prime:_0x15286f}=_0x34366b;this[_0x962089(0x2b8)](_0x2e489d[0x0]),_0x15286f[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x962089(0x27d)]();const _0x2ea48d=this[_0x962089(0x3ec)][_0x962089(0x298)](ue,this['unitID'],this[_0x962089(0x466)],_0x15286f[0x0],this['_handler']);return _0x2ea48d['_updateLocalCache'](),_0x2ea48d;}return this[_0x962089(0x241)](!0x1);}catch(_0x35a431){return this[_0x962089(0x26f)]['error'](_0x35a431),this[_0x962089(0x241)](!0x1);}}[_0x57ea30(0x162)](_0x12d25a){var _0x1cf97c=_0x57ea30;this['_clearScheduledTask']();const _0x126645=this['_revisionService']['getCurrentRevOfUnit'](this[_0x1cf97c(0x239)]);if(_0x12d25a[_0x1cf97c(0x35e)]<_0x126645-0x1)return this;if(this['_checkMissing'](_0x12d25a))return this[_0x1cf97c(0x3ec)][_0x1cf97c(0x298)](te,this[_0x1cf97c(0x239)],this[_0x1cf97c(0x466)],null,[],this[_0x1cf97c(0x1ec)],[],this[_0x1cf97c(0x359)]);this['_incrementRevisionNumber']();const _0x31e955=this[_0x1cf97c(0x3ec)][_0x1cf97c(0x298)](De,this[_0x1cf97c(0x239)],this[_0x1cf97c(0x466)],this[_0x1cf97c(0x359)]);return _0x31e955[_0x1cf97c(0x327)](),_0x31e955;}['onRemoteRej'](_0x4b8159){return this['_onConflict'](!!(_0x4b8159!=null&&_0x4b8159['isPermissionRej']));}['onRemoteRetry'](_0xff7b1d){var _0x416786=_0x57ea30;return this[_0x416786(0x472)]>Ni?this[_0x416786(0x19e)]():(this[_0x416786(0x25f)]=Oi(this['_resendTimeout'],{'timeout':this[_0x416786(0x472)],'reqId':_0xff7b1d[_0x416786(0x1b6)]}),this[_0x416786(0x2ca)]=this[_0x416786(0x25f)]['subscribe'](({reqId:_0xf9feee,timeout:_0x193679})=>{var _0x1033a8=_0x416786;this[_0x1033a8(0x2e4)](_0xf9feee,_0x193679);}),this);}[_0x57ea30(0x19e)](){var _0x5caebe=_0x57ea30;return this[_0x5caebe(0x27d)](),this[_0x5caebe(0x3ec)][_0x5caebe(0x298)](fe,this[_0x5caebe(0x239)],this['type'],this[_0x5caebe(0x1ec)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x57ea30(0x286)](){var _0x546ac6=_0x57ea30;this[_0x546ac6(0x359)][_0x546ac6(0x1c6)](this[_0x546ac6(0x1ec)]);}[_0x57ea30(0x241)](_0x3c1672){var _0x59cd3c=_0x57ea30;return this['_clearScheduledTask'](),this[_0x59cd3c(0x3ec)]['createInstance'](de,this['unitID'],this[_0x59cd3c(0x466)],this[_0x59cd3c(0x1ec)],[],this[_0x59cd3c(0x359)],_0x3c1672);}[_0x57ea30(0x2e4)](_0xe0a116,_0x4383ef){var _0x5b8728=_0x57ea30,_0x42051c;_0xe0a116===((_0x42051c=this[_0x5b8728(0x1ec)])==null?void 0x0:_0x42051c[_0x5b8728(0x1b6)])&&(this['resend'](),this[_0x5b8728(0x472)]=_0x4383ef===0x0?0x3e8:_0x4383ef*0x2);}[_0x57ea30(0x27d)](){var _0x8d22a2=_0x57ea30,_0x5d4176;(_0x5d4176=this['_sender'])==null||_0x5d4176[_0x8d22a2(0x46b)](),this[_0x8d22a2(0x472)]=0x0;}};ue=Re([A(0x4,_0x121c70(_0x49358f)),A(0x5,_0x121c70(_0x117310)),A(0x6,_0x39c537),A(0x7,_0x410aea),A(0x8,_0x4877b5),A(0x9,_0x2cf6cb),A(0xa,_0x1d8841(J))],ue);let ae=class extends be{constructor(_0x1b5c0c,_0x339772,_0x3f1193,_0x1d537f,_0x7a7b66,_0x1d0a2d,_0x88434c,_0x187eda,_0x305d2c,_0x3f3f56,_0x3a1a2f,_0x5ca726,_0xe8e25f){var _0x5b572e=_0x57ea30;super(_0x1b5c0c,_0x339772,_0x3f1193,_0x1d537f,_0x7a7b66,_0x305d2c,_0x5ca726,_0x187eda,_0xe8e25f),N(this,'status',_0x5b572e(0x3c7)),N(this,_0x5b572e(0x472),0x0),N(this,'_resendTimer'),N(this,_0x5b572e(0x2ca)),(this['_injector']=_0x88434c,this[_0x5b572e(0x26f)]=_0x3f3f56,this['_transformService']=_0x3a1a2f,this['localCacheService']=_0xe8e25f,_0x1d0a2d&&(this['_resendTimer']=_0x1d0a2d,this[_0x5b572e(0x2ca)]=this[_0x5b572e(0x25f)]['subscribe'](({reqId:_0x31c7c0,timeout:_0x372340})=>{var _0x1b457d=_0x5b572e;this[_0x1b457d(0x2e4)](_0x31c7c0,_0x372340);})));}[_0x57ea30(0x1d6)](_0xaed73c){var _0x204b33=_0x57ea30;return this[_0x204b33(0x278)]['push'](_0xaed73c),this;}[_0x57ea30(0x269)](_0x30888c){var _0x52d3c4=_0x57ea30;if(this[_0x52d3c4(0x31a)](_0x30888c))return this['_clearScheduledTask'](),this[_0x52d3c4(0x3ec)][_0x52d3c4(0x298)](te,this['unitID'],this[_0x52d3c4(0x466)],this['_awaitingChangeset'],this[_0x52d3c4(0x278)],null,[_0x30888c],this[_0x52d3c4(0x359)]);try{const _0x104761=this[_0x52d3c4(0x464)][_0x52d3c4(0x3f5)]([_0x30888c],[this[_0x52d3c4(0x1ec)]],!0x1);if(_0x14716a(_0x104761)){const {c1Prime:_0xe6151f,c2Prime:_0x6439ac}=_0x104761,_0x5ce626=this[_0x52d3c4(0x464)][_0x52d3c4(0x34d)](_0xe6151f[0x0],this['_pendingMutations']);if(_0x37c03b(_0x5ce626)){const {c1Prime:_0x5e949f,m2Prime:_0x57f659}=_0x5ce626;return this['_executeRemoteChangeset'](_0x5e949f),_0x6439ac[0x0][_0x52d3c4(0x1ae)]=this[_0x52d3c4(0x25d)](),this['_clearScheduledTask'](),this[_0x52d3c4(0x3ec)]['createInstance'](ae,this[_0x52d3c4(0x239)],this[_0x52d3c4(0x466)],_0x6439ac[0x0],_0x57f659,this[_0x52d3c4(0x359)],void 0x0);}throw _0x5ce626[_0x52d3c4(0x24b)];}throw _0x104761['error'];}catch(_0x586bb2){return this[_0x52d3c4(0x26f)][_0x52d3c4(0x24b)](_0x586bb2),this[_0x52d3c4(0x241)](!0x1);}}[_0x57ea30(0x162)](_0x8d04ac){var _0x4fc17e=_0x57ea30;if(this[_0x4fc17e(0x27d)](),this['_checkMissing'](_0x8d04ac))return this['_injector']['createInstance'](te,this[_0x4fc17e(0x239)],this[_0x4fc17e(0x466)],null,this[_0x4fc17e(0x278)],this[_0x4fc17e(0x1ec)],[],this[_0x4fc17e(0x359)]);this[_0x4fc17e(0x42c)]();const _0x56edac=this[_0x4fc17e(0x3ec)]['createInstance'](oe,this[_0x4fc17e(0x239)],this[_0x4fc17e(0x466)],this[_0x4fc17e(0x278)],this[_0x4fc17e(0x359)]);return _0x56edac[_0x4fc17e(0x3e8)](),_0x56edac['_updateLocalCache'](),_0x56edac;}[_0x57ea30(0x1ab)](_0x59cf04){var _0x393dc6=_0x57ea30;return this[_0x393dc6(0x241)](!!(_0x59cf04!=null&&_0x59cf04[_0x393dc6(0x3f8)]));}['onRemoteRetry'](_0x50705c){var _0x573816=_0x57ea30;return this[_0x573816(0x472)]>Ni?this[_0x573816(0x19e)]():(this[_0x573816(0x25f)]=Oi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x50705c[_0x573816(0x1b6)]}),this[_0x573816(0x2ca)]=this[_0x573816(0x25f)][_0x573816(0x179)](({reqId:_0x497eb0,timeout:_0x4b72a5})=>{var _0x1e0675=_0x573816;this[_0x1e0675(0x2e4)](_0x497eb0,_0x4b72a5);}),this);}[_0x57ea30(0x19e)](){var _0xc26f52=_0x57ea30;return this[_0xc26f52(0x27d)](),this[_0xc26f52(0x3ec)][_0xc26f52(0x298)](fe,this[_0xc26f52(0x239)],this[_0xc26f52(0x466)],this[_0xc26f52(0x1ec)],this[_0xc26f52(0x278)],this[_0xc26f52(0x359)]);}[_0x57ea30(0x420)](){return this;}[_0x57ea30(0x286)](){var _0x3f1c37=_0x57ea30;this['_handler']['onSendChangeset'](this[_0x3f1c37(0x1ec)]);}['_onConflict'](_0x31372b){var _0x48b28c=_0x57ea30;return this[_0x48b28c(0x27d)](),this[_0x48b28c(0x3ec)][_0x48b28c(0x298)](de,this['unitID'],this['type'],null,this[_0x48b28c(0x278)],this[_0x48b28c(0x359)],_0x31372b);}[_0x57ea30(0x2e4)](_0x23c504,_0x526321){var _0x4bed00=_0x57ea30,_0x5c96c8;_0x23c504===((_0x5c96c8=this[_0x4bed00(0x1ec)])==null?void 0x0:_0x5c96c8['reqId'])&&(this[_0x4bed00(0x286)](),this[_0x4bed00(0x472)]=_0x526321===0x0?0x3e8:_0x526321*0x2);}[_0x57ea30(0x27d)](){var _0xb1bcc0=_0x57ea30,_0x36971c;(_0x36971c=this['_sender'])==null||_0x36971c[_0xb1bcc0(0x46b)](),this[_0xb1bcc0(0x472)]=0x0;}};ae=Re([A(0x6,_0x121c70(_0x49358f)),A(0x7,_0x121c70(_0x117310)),A(0x8,_0x39c537),A(0x9,_0x410aea),A(0xa,_0x4877b5),A(0xb,_0x2cf6cb),A(0xc,_0x1d8841(J))],ae);let de=class extends be{constructor(_0x5921fa,_0x21237e,_0x4adebe,_0x4c72f1,_0xb18d23,_0x35941f=!0x1,_0x3adfaa,_0x2c632a,_0x2cd80e,_0x422417,_0x28dbee,_0x1904b9,_0x55a780){var _0x12cfd5=_0x57ea30;super(_0x5921fa,_0x21237e,_0x4adebe,_0x4c72f1,_0xb18d23,_0x2c632a,_0x2cd80e,_0x422417,_0x55a780),N(this,'status',_0x12cfd5(0x471)),(this[_0x12cfd5(0x3f9)]=_0x35941f,this[_0x12cfd5(0x1f5)]=_0x3adfaa,this['_localeService']=_0x28dbee,this[_0x12cfd5(0x41b)]=_0x1904b9,this[_0x12cfd5(0x26d)]=_0x55a780,this[_0x12cfd5(0x3cb)](),this[_0x12cfd5(0x19b)](),this[_0x12cfd5(0x32e)]());}[_0x57ea30(0x1d6)](){return this;}[_0x57ea30(0x269)](){return this;}[_0x57ea30(0x162)](){return this;}[_0x57ea30(0x1ab)](){return this;}['onRemoteRetry'](){return this;}[_0x57ea30(0x19e)](){return this;}[_0x57ea30(0x420)](){return this;}['resend'](){var _0x5ef84d=_0x57ea30;throw new Error(_0x5ef84d(0x2de));}[_0x57ea30(0x19b)](){var _0xf36335=_0x57ea30,_0x3c584e;(_0x3c584e=this[_0xf36335(0x42d)])==null||_0x3c584e[_0xf36335(0x456)](this[_0xf36335(0x239)],this[_0xf36335(0x466)],null,[]);}[_0x57ea30(0x3cb)](){var _0x2d08e7=_0x57ea30;this[_0x2d08e7(0x3f9)]?this['_collaborationUIEventService']['emitEvent']({'id':se['PERMISSION_DENIED']}):this[_0x2d08e7(0x41b)][_0x2d08e7(0x21a)]({'id':se['CONFLICT']});}[_0x57ea30(0x32e)](){var _0x3ea479=_0x57ea30;this[_0x3ea479(0x1f5)]['updatePermissionPoint'](new _0x4f0669(this[_0x3ea479(0x239)])['id'],!0x1);}};de=Re([A(0x6,_0x121c70(_0x8b7349)),A(0x7,_0x39c537),A(0x8,_0x2cf6cb),A(0x9,_0x121c70(_0x117310)),A(0xa,_0x121c70(_0x5931b1)),A(0xb,_0x121c70(pe)),A(0xc,_0x1d8841(J))],de);let fe=class extends be{constructor(_0x47602d,_0x4d3178,_0x12f68f,_0x47b884,_0xb9fc6d,_0x4a81b9,_0x45ded3,_0x4bda70,_0x5c54eb,_0x374145){var _0x49a774=_0x57ea30;super(_0x47602d,_0x4d3178,_0x12f68f,_0x47b884,_0xb9fc6d,_0x4bda70,_0x5c54eb,_0x45ded3,_0x374145),N(this,'status',_0x49a774(0x1ee)),this['_injector']=_0x4a81b9;}[_0x57ea30(0x1d6)](_0x1194b8){var _0x539888=_0x57ea30;return this[_0x539888(0x278)]['push'](_0x1194b8),this['_updateLocalCache'](),this;}[_0x57ea30(0x269)](_0x3829ec){var _0x4987f0=_0x57ea30;throw new Error(_0x4987f0(0x385));}['onRemoteAck'](){var _0x58f6e2=_0x57ea30;throw new Error(_0x58f6e2(0x2a7));}[_0x57ea30(0x1ab)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x57ea30(0x420)](){var _0x149c9a=_0x57ea30;const {_injector:_0x4abccb,_pendingMutations:_0x467b65,_awaitingChangeset:_0x678aa0,unitID:_0x164077,_handler:_0x5d1798,type:_0x52fce0}=this,_0x3f87c9=Di(_0x4abccb,_0x164077,_0x52fce0,_0x678aa0,_0x467b65,_0x5d1798);return _0x3f87c9 instanceof oe?_0x3f87c9[_0x149c9a(0x3e8)]():(_0x3f87c9 instanceof ae||_0x3f87c9 instanceof ue)&&_0x3f87c9['resend'](),_0x3f87c9;}[_0x57ea30(0x286)](){var _0x3ef61f=_0x57ea30;throw new Error(_0x3ef61f(0x1e7));}};fe=Re([A(0x5,_0x121c70(_0x49358f)),A(0x6,_0x121c70(_0x117310)),A(0x7,_0x39c537),A(0x8,_0x2cf6cb),A(0x9,_0x1d8841(J))],fe);let te=class extends be{constructor(_0x4c9f9c,_0xe9928,_0xca798d,_0x30acb1,_0x5948b1,_0x53742d,_0x1ac4f6,_0xf7e8b1,_0x547dab,_0x552165,_0xe9dc8e,_0x4c03c,_0x1d9b87,_0x547a2d){var _0x1141cd=_0x57ea30;super(_0x4c9f9c,_0xe9928,_0xca798d,_0x30acb1,_0x1ac4f6,_0xe9dc8e,_0x4c03c,_0x547dab,_0x547a2d),N(this,'status',_0x1141cd(0x244)),(this['_acknowledgedAwaitingChangeset']=_0x5948b1,this[_0x1141cd(0x1f2)]=_0x53742d,this[_0x1141cd(0x3ec)]=_0xf7e8b1,this['_logService']=_0x552165,this[_0x1141cd(0x464)]=_0x1d9b87,this[_0x1141cd(0x26d)]=_0x547a2d);}[_0x57ea30(0x1c3)](_0x25655f){var _0x568c89=_0x57ea30;try{const _0x3e49dc=[..._0x25655f,...this[_0x568c89(0x1f2)]],_0xc94f68=[this[_0x568c89(0x1ec)]||this['_acknowledgedAwaitingChangeset']][_0x568c89(0x1ed)](_0x4d7f66=>!!_0x4d7f66);let _0xb1c743,_0x1b3401;if(_0xc94f68['length']){const _0x295b74=this[_0x568c89(0x464)]['transformChangesets'](_0x3e49dc,_0xc94f68,!0x1);if(!_0x14716a(_0x295b74))throw _0x295b74[_0x568c89(0x24b)];_0xb1c743=_0x295b74[_0x568c89(0x190)],_0x1b3401=_0x295b74[_0x568c89(0x310)];}else _0xb1c743=_0x3e49dc,_0x1b3401=[];let _0x2299a0=this[_0x568c89(0x278)];_0xb1c743[_0x568c89(0x337)](_0x2f6f79=>{var _0xeb5291=_0x568c89;let _0x5b8c8d;if(_0x2299a0[_0xeb5291(0x1d3)]){const _0x1a6286=this['_transformService'][_0xeb5291(0x34d)](_0x2f6f79,_0x2299a0);if(!_0x37c03b(_0x1a6286))throw _0x1a6286['error'];_0x5b8c8d=_0x1a6286[_0xeb5291(0x190)],_0x2299a0=_0x1a6286[_0xeb5291(0x255)];}else _0x5b8c8d=_0x2f6f79;this[_0xeb5291(0x2b8)](_0x5b8c8d);}),this[_0x568c89(0x206)]&&this[_0x568c89(0x42c)](),this['_awaitingChangeset']&&_0x1b3401['length']&&(_0x1b3401[0x0][_0x568c89(0x1ae)]=this[_0x568c89(0x25d)]());let _0x127471;if(this['_awaitingChangeset']&&_0x2299a0[_0x568c89(0x1d3)]!==0x0)_0x127471=this[_0x568c89(0x3ec)][_0x568c89(0x298)](ae,this[_0x568c89(0x239)],this[_0x568c89(0x466)],_0x1b3401[0x0],_0x2299a0,this[_0x568c89(0x359)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2299a0[_0x568c89(0x1d3)]===0x0)_0x1b3401[0x0][_0x568c89(0x1ae)]=this[_0x568c89(0x25d)](),_0x127471=this['_injector']['createInstance'](ue,this[_0x568c89(0x239)],this[_0x568c89(0x466)],_0x1b3401[0x0],this[_0x568c89(0x359)]);else{if(_0x2299a0[_0x568c89(0x1d3)]!==0x0){const _0x492529=this['_injector'][_0x568c89(0x298)](oe,this[_0x568c89(0x239)],this[_0x568c89(0x466)],_0x2299a0,this[_0x568c89(0x359)]);_0x492529[_0x568c89(0x3e8)](),_0x127471=_0x492529;}else _0x127471=this[_0x568c89(0x3ec)][_0x568c89(0x298)](De,this[_0x568c89(0x239)],this['type'],this[_0x568c89(0x359)]);}}return _0x127471[_0x568c89(0x327)](),_0x127471;}catch(_0x5f116f){return this[_0x568c89(0x26f)][_0x568c89(0x24b)](_0x568c89(0x175),_0x568c89(0x15c),_0x5f116f),this[_0x568c89(0x3ec)][_0x568c89(0x298)](de,this[_0x568c89(0x239)],this['type'],this[_0x568c89(0x1ec)],this['_pendingMutations'],this[_0x568c89(0x359)],!0x1);}}['resend'](){var _0x9215d0=_0x57ea30;throw new Error(_0x9215d0(0x1e9));}[_0x57ea30(0x1d6)](_0x2f8b1e){var _0x52ce36=_0x57ea30;return this['_pendingMutations'][_0x52ce36(0x1d7)](_0x2f8b1e),this;}[_0x57ea30(0x269)](_0x10183d){var _0x3b1848=_0x57ea30;return this[_0x3b1848(0x1f2)][_0x3b1848(0x1d7)](_0x10183d),this;}['onRemoteAck'](_0x517af8){var _0x15ba02=_0x57ea30;if(this[_0x15ba02(0x1ec)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x15ba02(0x321));}[_0x57ea30(0x1ab)](_0x559bb4){var _0x24717a=_0x57ea30;return this[_0x24717a(0x241)](!!(_0x559bb4!=null&&_0x559bb4[_0x24717a(0x3f8)]));}['onRemoteRetry'](){return this;}[_0x57ea30(0x19e)](){var _0x17d0d0=_0x57ea30;return this[_0x17d0d0(0x3ec)][_0x17d0d0(0x298)](fe,this[_0x17d0d0(0x239)],this['type'],this[_0x17d0d0(0x1ec)],this[_0x17d0d0(0x278)],this[_0x17d0d0(0x359)]);}[_0x57ea30(0x420)](){return this;}['_onConflict'](_0x87d397){var _0x26c85d=_0x57ea30;return this['_injector']['createInstance'](de,this[_0x26c85d(0x239)],this[_0x26c85d(0x466)],this['_awaitingChangeset'],this[_0x26c85d(0x278)],this['_handler'],_0x87d397);}};te=Re([A(0x7,_0x121c70(_0x49358f)),A(0x8,_0x121c70(_0x117310)),A(0x9,_0x410aea),A(0xa,_0x39c537),A(0xb,_0x2cf6cb),A(0xc,_0x4877b5),A(0xd,_0x1d8841(J))],te);function Di(_0x15ffb8,_0x146bce,_0x1d5504,_0x5afb12,_0x171299,_0x130d2d){var _0x5bb720=_0x57ea30;return _0x5afb12&&_0x171299[_0x5bb720(0x1d3)]?_0x15ffb8[_0x5bb720(0x298)](ae,_0x146bce,_0x1d5504,_0x5afb12,_0x171299,_0x130d2d,void 0x0):_0x5afb12?_0x15ffb8[_0x5bb720(0x298)](ue,_0x146bce,_0x1d5504,_0x5afb12,_0x130d2d):_0x171299['length']?_0x15ffb8[_0x5bb720(0x298)](oe,_0x146bce,_0x1d5504,_0x171299,_0x130d2d):_0x15ffb8['createInstance'](De,_0x146bce,_0x1d5504,_0x130d2d);}var vr=Object[_0x57ea30(0x2ab)],pr=Object[_0x57ea30(0x457)],Lt=(_0x16e605,_0x53b2b5,_0x27b09e,_0x217e65)=>{var _0x55b266=_0x57ea30;for(var _0x1800ea=_0x217e65>0x1?void 0x0:_0x217e65?pr(_0x53b2b5,_0x27b09e):_0x53b2b5,_0xec9625=_0x16e605[_0x55b266(0x1d3)]-0x1,_0x4c538e;_0xec9625>=0x0;_0xec9625--)(_0x4c538e=_0x16e605[_0xec9625])&&(_0x1800ea=(_0x217e65?_0x4c538e(_0x53b2b5,_0x27b09e,_0x1800ea):_0x4c538e(_0x1800ea))||_0x1800ea);return _0x217e65&&_0x1800ea&&vr(_0x53b2b5,_0x27b09e,_0x1800ea),_0x1800ea;},k=(_0x4f7467,_0xb29187)=>(_0x3b1b18,_0x52ecb9)=>_0xb29187(_0x3b1b18,_0x52ecb9,_0x4f7467);let nt=class extends _0x577131{constructor(_0x11b53b,_0x2ff3d4,_0x5ba79a,_0x3fd3e2,_0x8c30e5,_0x5d4c52,_0x2c2d0e,_0xc3d05d,_0x2e48ba,_0x3840a2,_0x4cf10c,_0x225002,_0x41b08d){var _0x3c0d60=_0x57ea30;super(),N(this,_0x3c0d60(0x1f7),new _0x21aea0(null)),N(this,_0x3c0d60(0x333),this[_0x3c0d60(0x1f7)]['asObservable']()),N(this,_0x3c0d60(0x37b)),N(this,_0x3c0d60(0x3b4),!0x1),N(this,_0x3c0d60(0x3d1),''),N(this,_0x3c0d60(0x235),0x0),N(this,_0x3c0d60(0x45d),this[_0x3c0d60(0x333)][_0x3c0d60(0x197)](_0x3b1b76(_0x2d97ad=>_0x2d97ad?_0x2d97ad[_0x3c0d60(0x1be)]:yi[_0x3c0d60(0x349)]),_0x30f542(0x1))),N(this,_0x3c0d60(0x45e),!0x1),N(this,_0x3c0d60(0x285),[]),(this['unitID']=_0x11b53b,this[_0x3c0d60(0x159)]=_0x2ff3d4,this[_0x3c0d60(0x44c)]=_0x5ba79a,this[_0x3c0d60(0x3ec)]=_0x3fd3e2,this[_0x3c0d60(0x375)]=_0x8c30e5,this[_0x3c0d60(0x3d3)]=_0x5d4c52,this[_0x3c0d60(0x31c)]=_0x2c2d0e,this[_0x3c0d60(0x39f)]=_0xc3d05d,this[_0x3c0d60(0x26f)]=_0x2e48ba,this[_0x3c0d60(0x336)]=_0x3840a2,this['_permissionService']=_0x4cf10c,this['_singleActiveUnitService']=_0x225002,this['_localCacheService']=_0x41b08d);}get[_0x57ea30(0x40b)](){return this['_state'];}async[_0x57ea30(0x1b3)](){var _0x28967d=_0x57ea30;if(this[_0x28967d(0x40b)])throw new Error(_0x28967d(0x284));await this[_0x28967d(0x2e7)]();}[_0x57ea30(0x384)](){var _0x46ac08=_0x57ea30;return this[_0x46ac08(0x3b4)]=!0x0,_0x3ab410(()=>{var _0x5d9cb5=_0x46ac08;this['_collaborationPaused']=!0x1,this[_0x5d9cb5(0x1ac)]();});}[_0x57ea30(0x22a)](_0x38de90){this['_onLocalMutation'](_0x38de90);}[_0x57ea30(0x1aa)](_0x221ac2){var _0x133650=_0x57ea30;this[_0x133650(0x37b)]=_0x221ac2,this[_0x133650(0x1f7)][_0x133650(0x205)](_0x221ac2);}async[_0x57ea30(0x2e7)](){var _0x47fd59=_0x57ea30,_0x24d1a6;this[_0x47fd59(0x1aa)](await this['_createInitialState']()),this[_0x47fd59(0x314)]&&((_0x24d1a6=this['_singleActiveUnitService'])==null||_0x24d1a6[_0x47fd59(0x216)](this[_0x47fd59(0x239)]),this[_0x47fd59(0x2fd)](this[_0x47fd59(0x314)][_0x47fd59(0x1a2)](this[_0x47fd59(0x239)])['subscribe'](_0x5aabf8=>{var _0x374098=_0x47fd59;this[_0x374098(0x26f)]['debug']('[CollaborationEntity]',_0x374098(0x33f),_0x5aabf8),_0x5aabf8===bi['OTHER_CLIENTS_EDITING']?(this[_0x374098(0x39f)][_0x374098(0x21a)]({'id':se[_0x374098(0x320)]}),this['_permissionService'][_0x374098(0x39a)](new _0x4f0669(this['unitID'])['id'],!0x1),this[_0x374098(0x1f5)]['setShowComponents'](!0x1)):(this[_0x374098(0x1f5)][_0x374098(0x39a)](new _0x4f0669(this['unitID'])['id'],!0x0),this[_0x374098(0x1f5)][_0x374098(0x27f)](!0x0));})));let _0x50b33d=!0x1;return this['disposeWithMe'](this[_0x47fd59(0x159)][_0x47fd59(0x35d)][_0x47fd59(0x179)](_0x56465e=>{var _0x258635=_0x47fd59;_0x56465e===Te['ONLINE']?this[_0x258635(0x3c1)](_0x50b33d):_0x56465e===Te[_0x258635(0x349)]&&(_0x50b33d=!0x0,this[_0x258635(0x1f8)]());})),this[_0x47fd59(0x2fd)](this[_0x47fd59(0x159)][_0x47fd59(0x2b3)][_0x47fd59(0x179)](_0x1f01b6=>{var _0x134a70=_0x47fd59;try{switch(_0x1f01b6['eventID']){case _0x50f10f[_0x134a70(0x414)]:{this['_onRemoteChangeset'](_0x40afb4(_0x1f01b6[_0x134a70(0x34c)]));break;}case _0x50f10f['CHANGESET_ACK']:{this[_0x134a70(0x3e5)](_0x1f01b6[_0x134a70(0x34c)]);break;}case _0x50f10f[_0x134a70(0x23b)]:{this['_onRemoteRejected']();break;}case _0x50f10f[_0x134a70(0x30b)]:{this[_0x134a70(0x389)](_0x1f01b6[_0x134a70(0x34c)]);break;}case _0x50f10f[_0x134a70(0x26c)]:{this[_0x134a70(0x392)](_0x1f01b6[_0x134a70(0x34c)][_0x134a70(0x36d)]['map'](_0x5bafc3=>_0x40afb4(_0x5bafc3)));break;}case _0x50f10f[_0x134a70(0x43e)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x50f10f[_0x134a70(0x370)]:break;}}catch(_0x6fa379){throw console[_0x134a70(0x24b)]('Error\x20on\x20receiving\x20event',_0x6fa379),_0x6fa379;}})),this[_0x47fd59(0x37b)];}[_0x57ea30(0x462)](){var _0x30d569=_0x57ea30;this[_0x30d569(0x45e)]=!0x1;}[_0x57ea30(0x364)](){var _0x21ae79=_0x57ea30;if(this[_0x21ae79(0x45e)])throw new Error(_0x21ae79(0x45c));this[_0x21ae79(0x45e)]=!0x0;}['_onLocalMutation'](_0x50e819){var _0x19b73d=_0x57ea30;this[_0x19b73d(0x364)](),this[_0x19b73d(0x1aa)](this[_0x19b73d(0x37b)][_0x19b73d(0x1d6)](_0x50e819)),this['_unlockTransition']();}[_0x57ea30(0x207)](_0x2f516c){var _0x1a327f=_0x57ea30;if(!(_0x2f516c[_0x1a327f(0x35e)]<=this[_0x1a327f(0x31c)][_0x1a327f(0x3f4)](this[_0x1a327f(0x239)]))){if(this[_0x1a327f(0x3b4)]){this['_remoteChangesetQueue']['push'](_0x2f516c);return;}this[_0x1a327f(0x23a)](_0x2f516c);}}[_0x57ea30(0x1ac)](){var _0x4c7ffb=_0x57ea30;this['_remoteChangesetQueue'][_0x4c7ffb(0x337)](_0x2bb936=>this[_0x4c7ffb(0x23a)](_0x2bb936)),this[_0x4c7ffb(0x285)]=[];}[_0x57ea30(0x23a)](_0x973a70){var _0x38d68e=_0x57ea30;const _0x40a53c=this[_0x38d68e(0x375)][_0x38d68e(0x36a)][_0x38d68e(0x2f9)](this[_0x38d68e(0x375)][_0x38d68e(0x36a)]['getInterceptPoints']()[_0x38d68e(0x218)])(_0x973a70[_0x38d68e(0x409)],null)||_0x973a70[_0x38d68e(0x409)],_0x51ba8c={..._0x973a70,'mutations':_0x40a53c};this['_lockTransition'](),this[_0x38d68e(0x1aa)](this['_state'][_0x38d68e(0x269)](_0x51ba8c)),this[_0x38d68e(0x462)]();}[_0x57ea30(0x3e5)](_0x1d0582){var _0x4fa81a=_0x57ea30;this[_0x4fa81a(0x364)](),this[_0x4fa81a(0x1aa)](this[_0x4fa81a(0x37b)][_0x4fa81a(0x162)](_0x1d0582)),this[_0x4fa81a(0x462)]();}[_0x57ea30(0x445)](_0x161b62){var _0x3d32d0=_0x57ea30;this[_0x3d32d0(0x364)](),this[_0x3d32d0(0x1aa)](this['_state'][_0x3d32d0(0x1ab)](_0x161b62)),this[_0x3d32d0(0x462)]();}['_onRemoteRetry'](_0x20dace){var _0x1b95a2=_0x57ea30;this[_0x1b95a2(0x364)](),this[_0x1b95a2(0x1aa)](this[_0x1b95a2(0x37b)][_0x1b95a2(0x20d)](_0x20dace)),this[_0x1b95a2(0x462)]();}['_onFetchMissResult'](_0x6cc018){var _0x59094d=_0x57ea30;if(!(this[_0x59094d(0x37b)]instanceof te))throw new TypeError(_0x59094d(0x17f));const _0x3a020f=_0x6cc018[_0x59094d(0x2c9)](_0x5393ff=>{var _0x4a0b56=_0x59094d;const _0x361999=this[_0x4a0b56(0x375)][_0x4a0b56(0x36a)]['fetchThroughInterceptors'](this[_0x4a0b56(0x375)]['interceptor']['getInterceptPoints']()[_0x4a0b56(0x218)])(_0x5393ff[_0x4a0b56(0x409)],null)||_0x5393ff[_0x4a0b56(0x409)];return{..._0x5393ff,'mutations':_0x361999};});this[_0x59094d(0x364)](),this[_0x59094d(0x1aa)](this[_0x59094d(0x37b)]['onMissedChangesetFetched'](_0x3a020f)),this[_0x59094d(0x462)]();}['_toggleOffline'](){var _0x4ac1ff=_0x57ea30;this[_0x4ac1ff(0x364)](),this[_0x4ac1ff(0x1aa)](this[_0x4ac1ff(0x37b)][_0x4ac1ff(0x19e)]()),this[_0x4ac1ff(0x462)]();}['_toggleOnline'](_0x3d3ccf=!0x1){var _0x454fad=_0x57ea30;this['_lockTransition'](),this['_updateState'](this[_0x454fad(0x37b)][_0x454fad(0x420)]()),this[_0x454fad(0x462)]();const _0x16d4bf=this[_0x454fad(0x37b)];_0x3d3ccf&&_0x16d4bf instanceof De&&(this[_0x454fad(0x364)](),this[_0x454fad(0x1aa)](_0x16d4bf[_0x454fad(0x33b)]()),this['_unlockTransition']());}async[_0x57ea30(0x3ac)](){return new Promise(_0x41aad9=>{var _0x3f7d7e=_0x30c3;this[_0x3f7d7e(0x159)][_0x3f7d7e(0x35d)][_0x3f7d7e(0x197)](_0x3bfa1c(0x1))[_0x3f7d7e(0x179)](async _0x534662=>{var _0x43dea9=_0x3f7d7e;_0x41aad9(await this['_createInitialStateImpl'](_0x534662===Te[_0x43dea9(0x449)]));});});}[_0x57ea30(0x329)](){var _0x166395=_0x57ea30;const _0x4e5b97=this[_0x166395(0x239)];return{'onStateChange':(_0x175de5,_0x2e180b)=>{var _0x34510e=_0x166395;if(_0x175de5!==this[_0x34510e(0x37b)])throw new Error(_0x34510e(0x20c)+_0x175de5[_0x34510e(0x1be)]+_0x34510e(0x1ef)+_0x2e180b[_0x34510e(0x1be)]+'\x0aCurrent:\x20'+this[_0x34510e(0x37b)][_0x34510e(0x1be)]);this[_0x34510e(0x1aa)](_0x2e180b);},'onSendChangeset':_0x3e5704=>{var _0x432f31=_0x166395;_0x3e5704[_0x432f31(0x247)]||(_0x3e5704[_0x432f31(0x247)]=this[_0x432f31(0x3d1)],_0x3e5704[_0x432f31(0x1b6)]=++this[_0x432f31(0x235)]);const _0x4ac5ef={'eventID':_0x50f10f['SUBMIT_CHANGESET'],'data':{'unitID':_0x3e5704[_0x432f31(0x239)],'unitType':this['_type'],'changeset':_0x3e5704,'memberID':this[_0x432f31(0x159)][_0x432f31(0x3a7)]()}};this[_0x432f31(0x159)][_0x432f31(0x36c)](_0x4ac5ef,this[_0x432f31(0x239)]);},'onMissingChangesets':({from:_0x3afa9e,to:_0x448353})=>{var _0x4d710b=_0x166395;this[_0x4d710b(0x26f)][_0x4d710b(0x243)]('[CollaborationEntity]',_0x4d710b(0x260)+_0x3afa9e+_0x4d710b(0x391)+_0x448353);const _0xd6086d={'eventID':_0x50f10f[_0x4d710b(0x182)],'data':{'unitID':_0x4e5b97,'unitType':this[_0x4d710b(0x44c)],'from':_0x3afa9e,'to':_0x448353}};this[_0x4d710b(0x159)]['send'](_0xd6086d,this[_0x4d710b(0x239)]);}};}async[_0x57ea30(0x168)](_0x7b1153){var _0x5a32f6=_0x57ea30,_0x538ce0,_0x56e884,_0x249869;const _0x938593=await((_0x538ce0=this['_localCacheService'])==null?void 0x0:_0x538ce0[_0x5a32f6(0x323)](this['unitID'])),_0x165caf=(_0x56e884=_0x938593==null?void 0x0:_0x938593['mutations'])!=null?_0x56e884:[],_0xf2e221=(_0x249869=_0x938593==null?void 0x0:_0x938593['awaitingChangeset'])!=null?_0x249869:null,_0x21c2d9=!!(_0xf2e221!=null&&_0xf2e221['sid'])&&!!(_0xf2e221!=null&&_0xf2e221[_0x5a32f6(0x1b6)]);this[_0x5a32f6(0x3d1)]=_0x21c2d9?_0xf2e221['sid']:sr(),this[_0x5a32f6(0x235)]=_0x21c2d9?_0xf2e221[_0x5a32f6(0x1b6)]:0x0;const _0x367ea4=this[_0x5a32f6(0x239)];try{this[_0x5a32f6(0x18c)](_0xf2e221,_0x165caf);}catch(_0x5a9081){this[_0x5a32f6(0x26f)][_0x5a32f6(0x24b)](_0x5a9081);}const _0x5494db=this[_0x5a32f6(0x329)]();if(_0x7b1153){const _0x390caa=Di(this['_injector'],_0x367ea4,this[_0x5a32f6(0x44c)],_0xf2e221,_0x165caf,_0x5494db);return _0x390caa instanceof oe?_0x390caa[_0x5a32f6(0x3e8)]():(_0x390caa instanceof ae||_0x390caa instanceof ue)&&_0x390caa['resend'](),_0x390caa;}return this[_0x5a32f6(0x3ec)][_0x5a32f6(0x298)](fe,_0x367ea4,this[_0x5a32f6(0x44c)],_0xf2e221,_0x165caf,_0x5494db);}['_replayCachedMutations'](_0x7a8b04,_0x2d1f16){var _0x572565=_0x57ea30,_0x175a3b,_0x409991;const _0x76e0e=this['_compressMutationService']['interceptor'][_0x572565(0x2f9)](this[_0x572565(0x375)][_0x572565(0x36a)]['getInterceptPoints']()[_0x572565(0x218)]);(_0x175a3b=_0x76e0e((_0x7a8b04==null?void 0x0:_0x7a8b04[_0x572565(0x409)])||[],null))==null||_0x175a3b[_0x572565(0x337)](_0x3da758=>this[_0x572565(0x336)][_0x572565(0x415)](_0x3da758['id'],_0x3da758[_0x572565(0x302)])),(_0x409991=_0x76e0e(_0x2d1f16||[],null))==null||_0x409991[_0x572565(0x337)](_0x5644c2=>this[_0x572565(0x336)]['executeCommand'](_0x5644c2['id'],_0x5644c2[_0x572565(0x302)]));}};nt=Lt([k(0x3,_0x121c70(_0x49358f)),k(0x4,_0x121c70(_0x17c2e2)),k(0x5,_0x121c70(_0x5931b1)),k(0x6,_0x121c70(_0x117310)),k(0x7,_0x121c70(pe)),k(0x8,_0x410aea),k(0x9,_0x39c537),k(0xa,_0x8b7349),k(0xb,_0x1d8841(ht)),k(0xc,_0x1d8841(J))],nt);let Tt=class extends nt{constructor(_0x15cd10,_0x10d8e3,_0x297752,_0x1db944,_0x28588c,_0x520e5c,_0x3f6403,_0x2402d3,_0x29d65b,_0x3cbe0f,_0x288457,_0x2d4ec5,_0x538210){var _0x1dab40=_0x57ea30;super(_0x15cd10,_0x297752,_0x10d8e3,_0x1db944,_0x28588c,_0x520e5c,_0x3f6403,_0x2402d3,_0x29d65b,_0x3cbe0f,_0x288457,_0x2d4ec5,_0x538210),N(this,_0x1dab40(0x290),null),(this[_0x1dab40(0x239)]=_0x15cd10,this['type']=_0x10d8e3);}[_0x57ea30(0x2a3)](_0x105427){var _0xc57520=_0x57ea30;this[_0xc57520(0x290)]=_0x105427;}[_0x57ea30(0x214)](){var _0x5e5ba4=_0x57ea30;this[_0x5e5ba4(0x290)]=null,super[_0x5e5ba4(0x214)]();}[_0x57ea30(0x329)](){var _0x5dba09=_0x57ea30;const _0x2f4d8b=super[_0x5dba09(0x329)]();return _0x2f4d8b[_0x5dba09(0x258)]=_0x4d639c=>{var _0x3a33b8=_0x5dba09,_0x3051fd,_0x2d9d9a;return(_0x2d9d9a=(_0x3051fd=this[_0x3a33b8(0x290)])==null?void 0x0:_0x3051fd[_0x3a33b8(0x258)])==null?void 0x0:_0x2d9d9a[_0x3a33b8(0x209)](_0x3051fd,_0x4d639c);},_0x2f4d8b[_0x5dba09(0x17d)]=_0x39b0c8=>{var _0x3f6577=_0x5dba09,_0x32e3ce,_0x30d50b;return(_0x30d50b=(_0x32e3ce=this['_handlerCallback'])==null?void 0x0:_0x32e3ce[_0x3f6577(0x17d)])==null?void 0x0:_0x30d50b['call'](_0x32e3ce,_0x39b0c8);},_0x2f4d8b[_0x5dba09(0x2ac)]=_0x3c1825=>{var _0x21e28a=_0x5dba09,_0x2be3b2,_0x196dd8;return(_0x196dd8=(_0x2be3b2=this[_0x21e28a(0x290)])==null?void 0x0:_0x2be3b2['onTransformSelections'])==null?void 0x0:_0x196dd8[_0x21e28a(0x209)](_0x2be3b2,_0x3c1825);},_0x2f4d8b[_0x5dba09(0x1a4)]=_0x4c3c40=>{var _0x3e13d8=_0x5dba09,_0x1280f1,_0xa83b43;return(_0xa83b43=(_0x1280f1=this[_0x3e13d8(0x290)])==null?void 0x0:_0x1280f1[_0x3e13d8(0x1a4)])==null?void 0x0:_0xa83b43[_0x3e13d8(0x209)](_0x1280f1,_0x4c3c40);},_0x2f4d8b[_0x5dba09(0x3f6)]=_0x23a2c5=>{var _0x5d62bb=_0x5dba09,_0x12e67f,_0x2cfafc,_0x490698;if(!((_0x12e67f=this[_0x5d62bb(0x290)])!=null&&_0x12e67f[_0x5d62bb(0x3f6)]))throw new Error(_0x5d62bb(0x379));return(_0x490698=(_0x2cfafc=this[_0x5d62bb(0x290)])==null?void 0x0:_0x2cfafc['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x490698[_0x5d62bb(0x209)](_0x2cfafc,_0x23a2c5);},_0x2f4d8b[_0x5dba09(0x335)]=_0x49855f=>{var _0x453dee=_0x5dba09,_0x29a5e4,_0x46cd0b,_0x49f084;if(!((_0x29a5e4=this[_0x453dee(0x290)])!=null&&_0x29a5e4[_0x453dee(0x335)]))throw new Error(_0x453dee(0x408));return(_0x49f084=(_0x46cd0b=this[_0x453dee(0x290)])==null?void 0x0:_0x46cd0b[_0x453dee(0x335)])==null?void 0x0:_0x49f084[_0x453dee(0x209)](_0x46cd0b,_0x49855f);},_0x2f4d8b;}async[_0x57ea30(0x2e7)](){var _0x413c2b=_0x57ea30;const _0x49afaf=await super[_0x413c2b(0x2e7)]();return this[_0x413c2b(0x2fd)](this['_commandService'][_0x413c2b(0x2b0)]((_0x15bc43,_0x161d21)=>{var _0x34090c=_0x413c2b;if(_0x15bc43[_0x34090c(0x466)]!==_0x530150[_0x34090c(0x1b2)]||_0x161d21!=null&&_0x161d21[_0x34090c(0x2cf)]||_0x161d21!=null&&_0x161d21[_0x34090c(0x222)]||_0x15bc43['id']===_0x36d8f7['id'])return;const _0x558123=_0x15bc43[_0x34090c(0x302)];if((_0x558123==null?void 0x0:_0x558123[_0x34090c(0x288)])!==this[_0x34090c(0x239)])return;const _0x4172d6=_0x15bc43,_0x4102c6=this[_0x34090c(0x375)][_0x34090c(0x36a)][_0x34090c(0x2f9)](this['_compressMutationService'][_0x34090c(0x36a)][_0x34090c(0x165)]()[_0x34090c(0x3c8)])([_0x4172d6],null)||[_0x4172d6];this[_0x34090c(0x3fb)](_0x4102c6[0x0]);})),_0x49afaf;}};Tt=Lt([k(0x3,_0x121c70(_0x49358f)),k(0x4,_0x121c70(_0x17c2e2)),k(0x5,_0x121c70(_0x5931b1)),k(0x6,_0x121c70(_0x117310)),k(0x7,_0x121c70(pe)),k(0x8,_0x410aea),k(0x9,_0x39c537),k(0xa,_0x8b7349),k(0xb,_0x1d8841(ht)),k(0xc,_0x1d8841(J))],Tt);let Ct=class extends nt{constructor(_0x2489fe,_0x480b72,_0x3d12b5,_0x5f412d,_0x55d244,_0x43a188,_0x748da5,_0x56a7e3,_0x23419c,_0x53fb4c,_0x3bfca4,_0x3e5e12,_0x2e954d,_0x3e8aab){var _0x559330=_0x57ea30;super(_0x2489fe,_0x3d12b5,_0x480b72,_0x5f412d,_0x55d244,_0x43a188,_0x748da5,_0x23419c,_0x53fb4c,_0x3bfca4,_0x3e5e12,_0x2e954d,_0x3e8aab),this[_0x559330(0x239)]=_0x2489fe,this['type']=_0x480b72,this['_sheetTransformSelectionsService']=_0x56a7e3;}[_0x57ea30(0x329)](){var _0x297679=_0x57ea30;const _0x2089ba=super[_0x297679(0x329)]();return _0x2089ba[_0x297679(0x2ac)]=_0x141414=>this['_sheetTransformSelectionsService'][_0x297679(0x28e)](_0x141414),_0x2089ba;}async[_0x57ea30(0x2e7)](){var _0x40234c=_0x57ea30;const _0x16b053=await super[_0x40234c(0x2e7)]();return this[_0x40234c(0x2fd)](this[_0x40234c(0x336)]['onCommandExecuted']((_0x14168d,_0x18e81c)=>{var _0x54529d=_0x40234c;if(_0x14168d[_0x54529d(0x466)]!==_0x530150[_0x54529d(0x1b2)]||_0x18e81c!=null&&_0x18e81c['fromCollab']||_0x18e81c!=null&&_0x18e81c[_0x54529d(0x222)])return;const _0x42403d=_0x14168d[_0x54529d(0x302)];if((_0x42403d==null?void 0x0:_0x42403d[_0x54529d(0x288)])!==this['unitID'])return;const _0x16c923=_0x14168d,_0x1e8f96=this[_0x54529d(0x375)][_0x54529d(0x36a)]['fetchThroughInterceptors'](this[_0x54529d(0x375)][_0x54529d(0x36a)][_0x54529d(0x165)]()['COMPRESS_MUTATION_SEND'])([_0x16c923],null)||[_0x16c923];this['_onLocalMutation'](_0x1e8f96[0x0]);})),_0x16b053;}};Ct=Lt([k(0x3,_0x121c70(_0x49358f)),k(0x4,_0x121c70(_0x17c2e2)),k(0x5,_0x121c70(_0x5931b1)),k(0x6,_0x121c70(_0x117310)),k(0x7,_0x121c70(it)),k(0x8,_0x121c70(pe)),k(0x9,_0x410aea),k(0xa,_0x39c537),k(0xb,_0x8b7349),k(0xc,_0x1d8841(ht)),k(0xd,_0x1d8841(J))],Ct);var mr=Object[_0x57ea30(0x2ab)],gr=Object[_0x57ea30(0x457)],Sr=(_0x27c353,_0x517c05,_0x1da5a5,_0x42c6e3)=>{var _0x2f5767=_0x57ea30;for(var _0x201064=_0x42c6e3>0x1?void 0x0:_0x42c6e3?gr(_0x517c05,_0x1da5a5):_0x517c05,_0x239829=_0x27c353[_0x2f5767(0x1d3)]-0x1,_0x220048;_0x239829>=0x0;_0x239829--)(_0x220048=_0x27c353[_0x239829])&&(_0x201064=(_0x42c6e3?_0x220048(_0x517c05,_0x1da5a5,_0x201064):_0x220048(_0x201064))||_0x201064);return _0x42c6e3&&_0x201064&&mr(_0x517c05,_0x1da5a5,_0x201064),_0x201064;},ft=(_0x59226b,_0x38c2be)=>(_0x255cf0,_0xb92044)=>_0x38c2be(_0x255cf0,_0xb92044,_0x59226b);let rt=class extends _0x577131{constructor(_0x229a99,_0x32af91,_0x26d1ce){var _0xbba94d=_0x57ea30;super(),N(this,'_entities',new Map()),N(this,_0xbba94d(0x446),new _0x378d79()),N(this,'entityInit$',this['_entityInit$'][_0xbba94d(0x271)]()),(this[_0xbba94d(0x3ec)]=_0x229a99,this['_collabSessionService']=_0x32af91,this['_univerInstanceService']=_0x26d1ce,this[_0xbba94d(0x2e7)]());}['dispose'](){var _0x22a03a=_0x57ea30;super[_0x22a03a(0x214)](),this[_0x22a03a(0x315)][_0x22a03a(0x337)](_0x3cba6f=>_0x3cba6f['dispose']()),this[_0x22a03a(0x315)][_0x22a03a(0x2fb)]();}[_0x57ea30(0x455)](_0x447ca0){var _0xb7888c=_0x57ea30,_0x4ccf3c;return(_0x4ccf3c=this['_entities'][_0xb7888c(0x17b)](_0x447ca0))!=null?_0x4ccf3c:null;}[_0x57ea30(0x296)](_0x44b4da){var _0x4c4ef6=_0x57ea30;const _0x36cac0=this[_0x4c4ef6(0x455)](_0x44b4da);return _0x36cac0?_0x36584b(_0x36cac0):this[_0x4c4ef6(0x446)][_0x4c4ef6(0x197)](_0x4d1c41(_0x546311=>_0x546311['unitID']===_0x44b4da));}['readyForCollab'](_0x5ad2a0){var _0x124d3e=_0x57ea30;return _0xfcf877(this[_0x124d3e(0x296)](_0x5ad2a0)['pipe'](_0x18d76c(()=>{})));}[_0x57ea30(0x2e7)](){var _0x43646c=_0x57ea30;this[_0x43646c(0x46f)]['getTypeOfUnitAdded$'](_0x33b7bd['UNIVER_SHEET'])[_0x43646c(0x197)](_0x306370(this[_0x43646c(0x1c4)]),_0x26959e(0x10))['subscribe'](async _0x47627d=>{var _0x37c16b=_0x43646c;const _0x3df616=_0x47627d[_0x37c16b(0x377)](),_0x212eb4=await this[_0x37c16b(0x2d9)](_0x3df616,Q[_0x37c16b(0x2d1)]);this[_0x37c16b(0x315)][_0x37c16b(0x44b)](_0x3df616,_0x212eb4);}),this[_0x43646c(0x46f)][_0x43646c(0x3a3)](_0x33b7bd[_0x43646c(0x44d)])['pipe'](_0x306370(this['dispose$']),_0x26959e(0x10))[_0x43646c(0x197)](_0x4d1c41(_0x8308d4=>!_0x8308d4[_0x43646c(0x377)]()[_0x43646c(0x29b)]('__')))[_0x43646c(0x179)](async _0x55884c=>{var _0x436307=_0x43646c;const _0x4f87db=_0x55884c[_0x436307(0x377)](),_0x1fc439=await this[_0x436307(0x2d9)](_0x4f87db,Q[_0x436307(0x44d)]);this[_0x436307(0x315)][_0x436307(0x44b)](_0x4f87db,_0x1fc439);}),_0x20f86f(this[_0x43646c(0x46f)][_0x43646c(0x383)](_0x33b7bd[_0x43646c(0x2d1)]),this[_0x43646c(0x46f)][_0x43646c(0x383)](_0x33b7bd[_0x43646c(0x44d)]))['pipe'](_0x306370(this[_0x43646c(0x1c4)]))[_0x43646c(0x179)](_0x44d8b=>{var _0x7a45dd=_0x43646c;const _0x2d5a38=_0x44d8b[_0x7a45dd(0x377)](),_0x160ad5=this[_0x7a45dd(0x315)][_0x7a45dd(0x17b)](_0x2d5a38);_0x160ad5&&(_0x160ad5[_0x7a45dd(0x214)](),this[_0x7a45dd(0x315)][_0x7a45dd(0x2d3)](_0x2d5a38));});}async[_0x57ea30(0x2d9)](_0x4078e4,_0x797d8f){var _0x5362cd=_0x57ea30;const _0xec5687=await this['_collabSessionService']['requireSession'](_0x4078e4),_0x4dd77e=this[_0x5362cd(0x3ec)][_0x5362cd(0x298)](this[_0x5362cd(0x177)](_0x797d8f),_0x4078e4,_0x797d8f,_0xec5687);return await _0x4dd77e[_0x5362cd(0x1b3)](),this[_0x5362cd(0x446)][_0x5362cd(0x205)](_0x4dd77e),_0x4dd77e;}[_0x57ea30(0x177)](_0x103bf2){var _0x510b25=_0x57ea30;switch(_0x103bf2){case Q['UNIVER_DOC']:return Tt;case Q[_0x510b25(0x2d1)]:return Ct;default:throw new Error(_0x510b25(0x469)+_0x103bf2);}}};function _0x30c3(_0x3204f3,_0x3af440){var _0x2a3067=_0x2a30();return _0x30c3=function(_0x30c345,_0x3826e3){_0x30c345=_0x30c345-0x159;var _0x26fb8e=_0x2a3067[_0x30c345];return _0x26fb8e;},_0x30c3(_0x3204f3,_0x3af440);}rt=Sr([ft(0x0,_0x121c70(_0x49358f)),ft(0x1,_0x121c70(Le)),ft(0x2,_0x3b1049)],rt);var Er=Object[_0x57ea30(0x2ab)],Ir=Object[_0x57ea30(0x457)],Tr=(_0x4a1949,_0x52b92f,_0x3eaa35,_0x2c8873)=>{var _0x2dfc2b=_0x57ea30;for(var _0x15020e=_0x2c8873>0x1?void 0x0:_0x2c8873?Ir(_0x52b92f,_0x3eaa35):_0x52b92f,_0x1bdf62=_0x4a1949[_0x2dfc2b(0x1d3)]-0x1,_0x48c9b1;_0x1bdf62>=0x0;_0x1bdf62--)(_0x48c9b1=_0x4a1949[_0x1bdf62])&&(_0x15020e=(_0x2c8873?_0x48c9b1(_0x52b92f,_0x3eaa35,_0x15020e):_0x48c9b1(_0x15020e))||_0x15020e);return _0x2c8873&&_0x15020e&&Er(_0x52b92f,_0x3eaa35,_0x15020e),_0x15020e;},Jt=(_0x33751b,_0x46d36a)=>(_0x5a4361,_0x4b4f0c)=>_0x46d36a(_0x5a4361,_0x4b4f0c,_0x33751b);const Cr='DEFAULT_FILE_NAME',Rr='Univer';let Rt=class extends _0x232634{constructor(_0x5634c6,_0x409c9d){super(),this['_univerInstanceService']=_0x5634c6,this['_configService']=_0x409c9d,this['_init']();}[_0x57ea30(0x2e7)](){var _0x36fc5b=_0x57ea30;this[_0x36fc5b(0x2fd)](this[_0x36fc5b(0x46f)][_0x36fc5b(0x186)][_0x36fc5b(0x179)](()=>{var _0x1e5d1a=_0x36fc5b,_0x44969b;const _0x5f3c05=this['_univerInstanceService'][_0x1e5d1a(0x393)]();let _0x45bbb3=(_0x44969b=this[_0x1e5d1a(0x276)][_0x1e5d1a(0x341)](Cr))!=null?_0x44969b:Rr;_0x5f3c05 instanceof _0x5d02c2&&(_0x45bbb3=_0x5f3c05[_0x1e5d1a(0x2ce)]),document[_0x1e5d1a(0x3f1)]=_0x45bbb3;}));}};Rt=Tr([Jt(0x0,_0x3b1049),Jt(0x1,_0x5a8f33)],Rt);var br=Object[_0x57ea30(0x2ab)],Or=Object[_0x57ea30(0x457)],yr=(_0x1715cf,_0x25e937,_0x449354,_0x343806)=>{var _0x589e35=_0x57ea30;for(var _0x930e4d=_0x343806>0x1?void 0x0:_0x343806?Or(_0x25e937,_0x449354):_0x25e937,_0x4dc3e8=_0x1715cf[_0x589e35(0x1d3)]-0x1,_0xc90e25;_0x4dc3e8>=0x0;_0x4dc3e8--)(_0xc90e25=_0x1715cf[_0x4dc3e8])&&(_0x930e4d=(_0x343806?_0xc90e25(_0x25e937,_0x449354,_0x930e4d):_0xc90e25(_0x930e4d))||_0x930e4d);return _0x343806&&_0x930e4d&&br(_0x25e937,_0x449354,_0x930e4d),_0x930e4d;},vt=(_0x21e7d1,_0x56136e)=>(_0xc69f83,_0x5c37c3)=>_0x56136e(_0xc69f83,_0x5c37c3,_0x21e7d1);let st=class{constructor(_0x23d8b2,_0x413ebf,_0x14d573){var _0xcf0127=_0x57ea30;this['_configService']=_0x23d8b2,this[_0xcf0127(0x2ec)]=_0x413ebf,this[_0xcf0127(0x25b)]=_0x14d573,this[_0xcf0127(0x1b3)]();}['init'](){var _0x282d1e=_0x57ea30;this[_0x282d1e(0x2ec)][_0x282d1e(0x18f)]({'priority':0x1,'interceptor':(_0x9264c6,_0x15e244)=>_0x15e244(_0x9264c6)[_0x282d1e(0x197)](_0x518cb9(async _0x41333d=>{var _0x2e9310=_0x282d1e;const _0x24dfb7=_0x41333d;if(_0x24dfb7[_0x2e9310(0x1be)]===0x191){if(typeof window>'u')throw new Error(_0x2e9310(0x2c6));if(window[_0x2e9310(0x1c5)](this[_0x2e9310(0x25b)]['t'](_0x2e9310(0x342)))){const _0x55e02a=window['encodeURIComponent'](window['location']['href']);window[_0x2e9310(0x198)][_0x2e9310(0x3f2)]=this[_0x2e9310(0x1a8)]()+_0x2e9310(0x18e)+_0x55e02a;}}return _0x24dfb7;}))});}[_0x57ea30(0x1a8)](){var _0x1d2f4c=_0x57ea30,_0xef9ab1,_0x582a5e;const _0xe68cfc=this['_configService']['getConfig'](xn),_0x50ce26=this['_configService'][_0x1d2f4c(0x341)](q);return(_0x582a5e=(_0xef9ab1=_0x50ce26==null?void 0x0:_0x50ce26['loginUrlKey'])!=null?_0xef9ab1:_0xe68cfc)!=null?_0x582a5e:Ln;}};st=yr([vt(0x0,_0x5a8f33),vt(0x1,_0x121c70(_0x457bbb)),vt(0x2,_0x121c70(_0x5931b1))],st);var Nr=Object[_0x57ea30(0x2ab)],Dr=Object[_0x57ea30(0x457)],Pr=(_0x4b65dd,_0x5f2c2e,_0x26b374,_0x5f3de5)=>{var _0x57bb82=_0x57ea30;for(var _0xfbf5d2=_0x5f3de5>0x1?void 0x0:_0x5f3de5?Dr(_0x5f2c2e,_0x26b374):_0x5f2c2e,_0x515f37=_0x4b65dd[_0x57bb82(0x1d3)]-0x1,_0x38c5d7;_0x515f37>=0x0;_0x515f37--)(_0x38c5d7=_0x4b65dd[_0x515f37])&&(_0xfbf5d2=(_0x5f3de5?_0x38c5d7(_0x5f2c2e,_0x26b374,_0xfbf5d2):_0x38c5d7(_0xfbf5d2))||_0xfbf5d2);return _0x5f3de5&&_0xfbf5d2&&Nr(_0x5f2c2e,_0x26b374,_0xfbf5d2),_0xfbf5d2;},Xt=(_0x330fe8,_0x250f14)=>(_0x1bd651,_0x44e499)=>_0x250f14(_0x1bd651,_0x44e499,_0x330fe8);const Pi='AUTHZ_URL_KEY',wr=_0x57ea30(0x30d);let bt=class extends _0x232634{constructor(_0x4c0d70,_0x4c8136){var _0x19ddfe=_0x57ea30;super(),this['_HTTPService']=_0x4c0d70,this[_0x19ddfe(0x276)]=_0x4c8136,this['_initMergeInterceptor']();}[_0x57ea30(0x1a1)](){var _0x4535fc=_0x57ea30;const _0x34e9ef=this;this[_0x4535fc(0x2fd)](this[_0x4535fc(0x35c)][_0x4535fc(0x18f)]({'priority':0x3e7,'interceptor':_0x522fe1({'isMatch'(_0x5163fd){var _0x28f815=_0x4535fc,_0x4b6518;if(_0x5163fd[_0x28f815(0x2ff)]===_0x28f815(0x257)&&((_0x4b6518=_0x5163fd['requestParams'])!=null&&_0x4b6518[_0x28f815(0x3d6)])){const {objectID:_0x3c1601,objectType:_0x662f5}=_0x5163fd[_0x28f815(0x331)][_0x28f815(0x3d6)]||{};if(!_0x3c1601||_0x662f5===void 0x0)return!0x1;const _0x5f54f3=_0x34e9ef['_getAPIPrefixPath']()+'/'+_0x662f5+_0x28f815(0x1fb)+_0x3c1601+_0x28f815(0x2d0);if(_0x5163fd[_0x28f815(0x199)]===_0x5f54f3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x575144){var _0x186498=_0x4535fc,_0x311d4c;return(_0x311d4c=_0x575144[_0x186498(0x331)])==null?void 0x0:_0x311d4c[_0x186498(0x3d6)];},'mergeParamsToRequest'(_0x50cf7d,_0x5eb196){var _0x58d1f5=_0x4535fc;const _0x4721f8=_0x34e9ef[_0x58d1f5(0x256)]()+'/-/object/-/batch_allowed',_0x2dd9e6=_0x50cf7d[_0x58d1f5(0x398)]((_0x13cfba,_0x5e8590)=>{const {unitID:_0x2be708,objectID:_0x1584a1,objectType:_0x98d9c8,actions:_0x90b976}=_0x5e8590;return _0x13cfba[_0x2be708]||(_0x13cfba[_0x2be708]={}),_0x13cfba[_0x2be708][_0x1584a1]||(_0x13cfba[_0x2be708][_0x1584a1]={'objectID':_0x1584a1,'objectType':_0x98d9c8,'actions':[]}),_0x13cfba[_0x2be708][_0x1584a1]['actions']['push'](..._0x90b976),_0x13cfba;},{}),_0x3b68f8=[];for(const _0xacebcf in _0x2dd9e6)for(const _0x1beab8 in _0x2dd9e6[_0xacebcf]){const {actions:_0x5724cb,objectType:_0x4f811d}=_0x2dd9e6[_0xacebcf][_0x1beab8],_0xc469b8=[...new Set(_0x5724cb)];_0x3b68f8[_0x58d1f5(0x1d7)]({'unitID':_0xacebcf,'objectID':_0x1beab8,'objectType':_0x4f811d,'actions':_0xc469b8});}return new _0x109246(_0x58d1f5(0x257),_0x4721f8,{'headers':_0x5eb196['headers'],'withCredentials':_0x5eb196[_0x58d1f5(0x2c7)],'responseType':_0x5eb196['responseType'],'body':{'requests':_0x3b68f8}});}},{'distributeResult'(_0x2b0c54,_0x22ce9a){var _0x23974d=_0x4535fc;const {objectActions:_0x24c03f}=_0x2b0c54;return _0x22ce9a[_0x23974d(0x2c9)](_0x4e6bd6=>{var _0xa902f5=_0x23974d;const {unitID:_0x4071c2,objectID:_0x52c099,actions:_0x46deed}=_0x4e6bd6,_0x1a6ce9=_0x24c03f['find'](_0x4f963a=>_0x4f963a[_0xa902f5(0x239)]===_0x4071c2&&_0x4f963a['objectID']===_0x52c099),_0x2b5736=_0x46deed[_0xa902f5(0x2c9)](_0x1a23d5=>_0x1a6ce9==null?void 0x0:_0x1a6ce9[_0xa902f5(0x196)][_0xa902f5(0x369)](_0x1c39a8=>_0x1c39a8['action']===_0x1a23d5))[_0xa902f5(0x1ed)](_0x1d51f9=>!!_0x1d51f9);return{'config':_0x4e6bd6,'result':{'actions':_0x2b5736,'error':_0x2b0c54[_0xa902f5(0x24b)]}};});}})}));}[_0x57ea30(0x256)](){var _0x7918b5=_0x57ea30,_0x40c487,_0x2c5ad0;const _0x38cf98=this[_0x7918b5(0x276)][_0x7918b5(0x341)](Pi),_0x58c64e=this['_configService']['getConfig'](q);return(_0x2c5ad0=(_0x40c487=_0x58c64e==null?void 0x0:_0x58c64e[_0x7918b5(0x1e6)])!=null?_0x40c487:_0x38cf98)!=null?_0x2c5ad0:wr;}async[_0x57ea30(0x1ea)](_0x2bed0b){var _0x5eb745=_0x57ea30;const _0x5bf7ef=this[_0x5eb745(0x256)]()+'/'+_0x2bed0b['objectType']+_0x5eb745(0x3e2);return(await this[_0x5eb745(0x35c)]['post'](_0x5bf7ef,{'body':_0x2bed0b}))[_0x5eb745(0x3d6)][_0x5eb745(0x305)]||'';}async[_0x57ea30(0x386)](_0x218ceb){var _0x2f9a14=_0x57ea30;const _0x599ec7=this[_0x2f9a14(0x256)]()+_0x2f9a14(0x221);return(await this[_0x2f9a14(0x35c)][_0x2f9a14(0x405)](_0x599ec7,{'body':_0x218ceb}))[_0x2f9a14(0x3d6)][_0x2f9a14(0x2c4)];}async[_0x57ea30(0x16a)](_0x201ba2){var _0xf5076b=_0x57ea30;const _0x298268=this['_getAPIPrefixPath']()+'/'+_0x201ba2[_0xf5076b(0x448)]+_0xf5076b(0x1fb)+_0x201ba2[_0xf5076b(0x305)];await this['_HTTPService'][_0xf5076b(0x3c2)](_0x298268,{'body':_0x201ba2});}async[_0x57ea30(0x37a)](_0x228611){var _0x3e047e=_0x57ea30;const _0x59184a=this[_0x3e047e(0x256)]()+'/'+_0x228611['objectType']+_0x3e047e(0x1fb)+_0x228611[_0x3e047e(0x305)]+_0x3e047e(0x2d0);return(await this[_0x3e047e(0x35c)]['post'](_0x59184a,{'body':_0x228611}))[_0x3e047e(0x3d6)][_0x3e047e(0x196)];}async[_0x57ea30(0x350)](_0x546345){var _0x34a3e6=_0x57ea30;const _0x548365=this[_0x34a3e6(0x256)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x34a3e6(0x405)](_0x548365,{'body':{'requests':_0x546345}}))[_0x34a3e6(0x3d6)][_0x34a3e6(0x180)];}async[_0x57ea30(0x1bd)](_0x7a07e2){var _0x595710=_0x57ea30;const _0x3f77ed=this['_getAPIPrefixPath']()+'/'+_0x7a07e2[_0x595710(0x448)]+_0x595710(0x2e6),_0x3f2639=await this['_HTTPService']['post'](_0x3f77ed,{'body':_0x7a07e2});return{'roles':_0x3f2639['body'][_0x595710(0x1cc)],'actions':_0x3f2639['body'][_0x595710(0x196)]};}async[_0x57ea30(0x437)](_0xfa1c77){var _0x2106c4=_0x57ea30;const _0x5945e1=this[_0x2106c4(0x256)]()+_0x2106c4(0x45f);await this['_HTTPService'][_0x2106c4(0x2d3)](_0x5945e1,{'params':{'collaboratorID':_0xfa1c77['collaboratorID'],'objectID':_0xfa1c77[_0x2106c4(0x305)],'unitID':_0xfa1c77['unitID']}});}async[_0x57ea30(0x265)](_0x432094){var _0x2dd773=_0x57ea30;const _0x347f6a=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x2dd773(0x35c)][_0x2dd773(0x23e)](_0x347f6a,{'body':_0x432094});}async[_0x57ea30(0x3eb)](_0x571bbb){var _0x425032=_0x57ea30;const _0x194783=this[_0x425032(0x256)]()+_0x425032(0x45f);await this[_0x425032(0x35c)]['post'](_0x194783,{'body':_0x571bbb});}async[_0x57ea30(0x435)](_0x3be617){var _0x1437c5=_0x57ea30;const _0x146a50=this['_getAPIPrefixPath']()+'/collaborator';return(await this['_HTTPService'][_0x1437c5(0x17b)](_0x146a50,{'params':{'objectID':_0x3be617[_0x1437c5(0x305)],'unitID':_0x3be617['unitID']}}))[_0x1437c5(0x3d6)]['collaborators'];}async['putCollaborators'](_0x2bacdf){var _0x75a969=_0x57ea30;const _0x2f1dee=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x75a969(0x35c)][_0x75a969(0x3c2)](_0x2f1dee,{'body':_0x2bacdf});}};bt=Pr([Xt(0x0,_0x121c70(_0x457bbb)),Xt(0x1,_0x121c70(_0x5a8f33))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x96d740){var _0xc1343d=_0x57ea30;return _0x96d740&&_0x96d740['__esModule']&&Object[_0xc1343d(0x33d)][_0xc1343d(0x423)][_0xc1343d(0x209)](_0x96d740,_0xc1343d(0x23d))?_0x96d740[_0xc1343d(0x23d)]:_0x96d740;}var Ve={'exports':{}};function Ur(_0x20a703){var _0x727a7e=_0x57ea30;throw new Error(_0x727a7e(0x324)+_0x20a703+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ar=Ge[_0x57ea30(0x294)],Zt;function ne(){return Zt||(Zt=0x1,function(_0x30d24f,_0x35f334){(function(_0x2e1110,_0x4e0029){var _0x361e99=_0x30c3;_0x30d24f[_0x361e99(0x294)]=_0x4e0029();}(Ar,function(){var _0x416e6c=_0x416e6c||function(_0x3d5fd7,_0x466fa0){var _0x2ea687=_0x30c3,_0x2b2528;if(typeof window<'u'&&window['crypto']&&(_0x2b2528=window[_0x2ea687(0x3a9)]),typeof self<'u'&&self[_0x2ea687(0x3a9)]&&(_0x2b2528=self[_0x2ea687(0x3a9)]),typeof globalThis<'u'&&globalThis[_0x2ea687(0x3a9)]&&(_0x2b2528=globalThis[_0x2ea687(0x3a9)]),!_0x2b2528&&typeof window<'u'&&window[_0x2ea687(0x16d)]&&(_0x2b2528=window[_0x2ea687(0x16d)]),!_0x2b2528&&typeof pt<'u'&&pt[_0x2ea687(0x3a9)]&&(_0x2b2528=pt[_0x2ea687(0x3a9)]),!_0x2b2528&&typeof Ur==_0x2ea687(0x2d6))try{_0x2b2528=require('crypto');}catch{}var _0x50f489=function(){var _0x15416a=_0x2ea687;if(_0x2b2528){if(typeof _0x2b2528[_0x15416a(0x400)]=='function')try{return _0x2b2528['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2b2528[_0x15416a(0x26b)]==_0x15416a(0x2d6))try{return _0x2b2528[_0x15416a(0x26b)](0x4)[_0x15416a(0x2a9)]();}catch{}}throw new Error(_0x15416a(0x3b0));},_0x1bfbe0=Object[_0x2ea687(0x1ea)]||(function(){function _0xe688fd(){}return function(_0x58ddab){var _0x2019e9=_0x30c3,_0x4c2e2a;return _0xe688fd[_0x2019e9(0x33d)]=_0x58ddab,_0x4c2e2a=new _0xe688fd(),_0xe688fd[_0x2019e9(0x33d)]=null,_0x4c2e2a;};}()),_0x2694ac={},_0x44f9ee=_0x2694ac[_0x2ea687(0x1f4)]={},_0x30c857=_0x44f9ee[_0x2ea687(0x1c8)]=(function(){return{'extend':function(_0xcd66d0){var _0x5ba66c=_0x30c3,_0x41b57a=_0x1bfbe0(this);return _0xcd66d0&&_0x41b57a[_0x5ba66c(0x3b9)](_0xcd66d0),(!_0x41b57a[_0x5ba66c(0x423)](_0x5ba66c(0x1b3))||this['init']===_0x41b57a[_0x5ba66c(0x1b3)])&&(_0x41b57a['init']=function(){_0x41b57a['$super']['init']['apply'](this,arguments);}),_0x41b57a[_0x5ba66c(0x1b3)][_0x5ba66c(0x33d)]=_0x41b57a,_0x41b57a[_0x5ba66c(0x3c6)]=this,_0x41b57a;},'create':function(){var _0x18024d=_0x30c3,_0x5a9d4b=this[_0x18024d(0x1fa)]();return _0x5a9d4b[_0x18024d(0x1b3)]['apply'](_0x5a9d4b,arguments),_0x5a9d4b;},'init':function(){},'mixIn':function(_0x4a1dce){var _0x1a787f=_0x30c3;for(var _0x4a7f46 in _0x4a1dce)_0x4a1dce[_0x1a787f(0x423)](_0x4a7f46)&&(this[_0x4a7f46]=_0x4a1dce[_0x4a7f46]);_0x4a1dce['hasOwnProperty'](_0x1a787f(0x416))&&(this[_0x1a787f(0x416)]=_0x4a1dce['toString']);},'clone':function(){var _0x46370b=_0x30c3;return this[_0x46370b(0x1b3)][_0x46370b(0x33d)][_0x46370b(0x1fa)](this);}};}()),_0x3a671c=_0x44f9ee['WordArray']=_0x30c857['extend']({'init':function(_0x5d9b84,_0x46a857){var _0x9cf103=_0x2ea687;_0x5d9b84=this[_0x9cf103(0x164)]=_0x5d9b84||[],_0x46a857!=_0x466fa0?this['sigBytes']=_0x46a857:this[_0x9cf103(0x2be)]=_0x5d9b84[_0x9cf103(0x1d3)]*0x4;},'toString':function(_0x45d16b){var _0x65a0c0=_0x2ea687;return(_0x45d16b||_0x338dc7)[_0x65a0c0(0x3ea)](this);},'concat':function(_0x21f6ed){var _0x5cd03a=_0x2ea687,_0x4238ff=this[_0x5cd03a(0x164)],_0x2f3eb5=_0x21f6ed[_0x5cd03a(0x164)],_0x3b536b=this['sigBytes'],_0x15b87a=_0x21f6ed[_0x5cd03a(0x2be)];if(this['clamp'](),_0x3b536b%0x4)for(var _0xa7ff9a=0x0;_0xa7ff9a<_0x15b87a;_0xa7ff9a++){var _0x225eca=_0x2f3eb5[_0xa7ff9a>>>0x2]>>>0x18-_0xa7ff9a%0x4*0x8&0xff;_0x4238ff[_0x3b536b+_0xa7ff9a>>>0x2]|=_0x225eca<<0x18-(_0x3b536b+_0xa7ff9a)%0x4*0x8;}else{for(var _0x2d905b=0x0;_0x2d905b<_0x15b87a;_0x2d905b+=0x4)_0x4238ff[_0x3b536b+_0x2d905b>>>0x2]=_0x2f3eb5[_0x2d905b>>>0x2];}return this[_0x5cd03a(0x2be)]+=_0x15b87a,this;},'clamp':function(){var _0x4515f6=_0x2ea687,_0x4c080d=this['words'],_0x1fbf2a=this['sigBytes'];_0x4c080d[_0x1fbf2a>>>0x2]&=0xffffffff<<0x20-_0x1fbf2a%0x4*0x8,_0x4c080d[_0x4515f6(0x1d3)]=_0x3d5fd7[_0x4515f6(0x42e)](_0x1fbf2a/0x4);},'clone':function(){var _0x5144ef=_0x2ea687,_0x42b870=_0x30c857[_0x5144ef(0x426)]['call'](this);return _0x42b870[_0x5144ef(0x164)]=this[_0x5144ef(0x164)][_0x5144ef(0x1b1)](0x0),_0x42b870;},'random':function(_0x7e6e07){var _0x528cb2=_0x2ea687;for(var _0x54c0be=[],_0x3bb40b=0x0;_0x3bb40b<_0x7e6e07;_0x3bb40b+=0x4)_0x54c0be[_0x528cb2(0x1d7)](_0x50f489());return new _0x3a671c[(_0x528cb2(0x1b3))](_0x54c0be,_0x7e6e07);}}),_0x93a309=_0x2694ac[_0x2ea687(0x374)]={},_0x338dc7=_0x93a309[_0x2ea687(0x2bc)]={'stringify':function(_0x46c6be){var _0x3abd00=_0x2ea687;for(var _0x49e4c7=_0x46c6be[_0x3abd00(0x164)],_0x3107ef=_0x46c6be[_0x3abd00(0x2be)],_0x23830d=[],_0x168318=0x0;_0x168318<_0x3107ef;_0x168318++){var _0x195c12=_0x49e4c7[_0x168318>>>0x2]>>>0x18-_0x168318%0x4*0x8&0xff;_0x23830d[_0x3abd00(0x1d7)]((_0x195c12>>>0x4)[_0x3abd00(0x416)](0x10)),_0x23830d[_0x3abd00(0x1d7)]((_0x195c12&0xf)[_0x3abd00(0x416)](0x10));}return _0x23830d[_0x3abd00(0x31f)]('');},'parse':function(_0x3b6ef2){var _0x49acd9=_0x2ea687;for(var _0x5ae5d3=_0x3b6ef2[_0x49acd9(0x1d3)],_0x916dae=[],_0x16f1b3=0x0;_0x16f1b3<_0x5ae5d3;_0x16f1b3+=0x2)_0x916dae[_0x16f1b3>>>0x3]|=parseInt(_0x3b6ef2[_0x49acd9(0x25c)](_0x16f1b3,0x2),0x10)<<0x18-_0x16f1b3%0x8*0x4;return new _0x3a671c[(_0x49acd9(0x1b3))](_0x916dae,_0x5ae5d3/0x2);}},_0x51d43d=_0x93a309['Latin1']={'stringify':function(_0x3fcfb0){var _0x37eb25=_0x2ea687;for(var _0x3311a3=_0x3fcfb0[_0x37eb25(0x164)],_0x66bdef=_0x3fcfb0[_0x37eb25(0x2be)],_0x4571ff=[],_0x2c5d82=0x0;_0x2c5d82<_0x66bdef;_0x2c5d82++){var _0x3bab32=_0x3311a3[_0x2c5d82>>>0x2]>>>0x18-_0x2c5d82%0x4*0x8&0xff;_0x4571ff[_0x37eb25(0x1d7)](String[_0x37eb25(0x187)](_0x3bab32));}return _0x4571ff[_0x37eb25(0x31f)]('');},'parse':function(_0x13fdfa){var _0x14bcfe=_0x2ea687;for(var _0x77969e=_0x13fdfa[_0x14bcfe(0x1d3)],_0x58b78b=[],_0x2ed0b1=0x0;_0x2ed0b1<_0x77969e;_0x2ed0b1++)_0x58b78b[_0x2ed0b1>>>0x2]|=(_0x13fdfa[_0x14bcfe(0x318)](_0x2ed0b1)&0xff)<<0x18-_0x2ed0b1%0x4*0x8;return new _0x3a671c[(_0x14bcfe(0x1b3))](_0x58b78b,_0x77969e);}},_0x29c220=_0x93a309[_0x2ea687(0x3d0)]={'stringify':function(_0x476002){var _0x201739=_0x2ea687;try{return decodeURIComponent(escape(_0x51d43d[_0x201739(0x3ea)](_0x476002)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x5b4410){var _0x75446f=_0x2ea687;return _0x51d43d[_0x75446f(0x228)](unescape(encodeURIComponent(_0x5b4410)));}},_0x53a5a8=_0x44f9ee[_0x2ea687(0x2cc)]=_0x30c857[_0x2ea687(0x1fa)]({'reset':function(){var _0x27b602=_0x2ea687;this['_data']=new _0x3a671c[(_0x27b602(0x1b3))](),this[_0x27b602(0x459)]=0x0;},'_append':function(_0x7178ca){var _0x5a128d=_0x2ea687;typeof _0x7178ca==_0x5a128d(0x3e0)&&(_0x7178ca=_0x29c220[_0x5a128d(0x228)](_0x7178ca)),this[_0x5a128d(0x267)][_0x5a128d(0x397)](_0x7178ca),this[_0x5a128d(0x459)]+=_0x7178ca[_0x5a128d(0x2be)];},'_process':function(_0x5d85b8){var _0x4b66aa=_0x2ea687,_0x1c77a6,_0x356eb3=this[_0x4b66aa(0x267)],_0x10bbb2=_0x356eb3[_0x4b66aa(0x164)],_0x26f5e0=_0x356eb3[_0x4b66aa(0x2be)],_0x1e3ab4=this[_0x4b66aa(0x3d7)],_0x36aa60=_0x1e3ab4*0x4,_0x5ad20b=_0x26f5e0/_0x36aa60;_0x5d85b8?_0x5ad20b=_0x3d5fd7[_0x4b66aa(0x42e)](_0x5ad20b):_0x5ad20b=_0x3d5fd7[_0x4b66aa(0x217)]((_0x5ad20b|0x0)-this[_0x4b66aa(0x200)],0x0);var _0x519ee6=_0x5ad20b*_0x1e3ab4,_0x318f7f=_0x3d5fd7[_0x4b66aa(0x1ad)](_0x519ee6*0x4,_0x26f5e0);if(_0x519ee6){for(var _0x834cca=0x0;_0x834cca<_0x519ee6;_0x834cca+=_0x1e3ab4)this[_0x4b66aa(0x2e2)](_0x10bbb2,_0x834cca);_0x1c77a6=_0x10bbb2['splice'](0x0,_0x519ee6),_0x356eb3['sigBytes']-=_0x318f7f;}return new _0x3a671c[(_0x4b66aa(0x1b3))](_0x1c77a6,_0x318f7f);},'clone':function(){var _0x1bb5e9=_0x2ea687,_0x53adca=_0x30c857[_0x1bb5e9(0x426)][_0x1bb5e9(0x209)](this);return _0x53adca['_data']=this['_data'][_0x1bb5e9(0x426)](),_0x53adca;},'_minBufferSize':0x0});_0x44f9ee[_0x2ea687(0x2c2)]=_0x53a5a8[_0x2ea687(0x1fa)]({'cfg':_0x30c857[_0x2ea687(0x1fa)](),'init':function(_0x39aa62){var _0x460752=_0x2ea687;this[_0x460752(0x280)]=this[_0x460752(0x280)][_0x460752(0x1fa)](_0x39aa62),this[_0x460752(0x3c3)]();},'reset':function(){var _0x696b1a=_0x2ea687;_0x53a5a8['reset'][_0x696b1a(0x209)](this),this[_0x696b1a(0x357)]();},'update':function(_0x1fbd69){var _0x2f6e91=_0x2ea687;return this[_0x2f6e91(0x254)](_0x1fbd69),this['_process'](),this;},'finalize':function(_0x19cd4b){var _0x594142=_0x2ea687;_0x19cd4b&&this[_0x594142(0x254)](_0x19cd4b);var _0x59feb9=this[_0x594142(0x39d)]();return _0x59feb9;},'blockSize':0x10,'_createHelper':function(_0x5cfb7a){return function(_0x5df4da,_0x5a0c22){var _0x27fd24=_0x30c3;return new _0x5cfb7a[(_0x27fd24(0x1b3))](_0x5a0c22)[_0x27fd24(0x19a)](_0x5df4da);};},'_createHmacHelper':function(_0x255eca){return function(_0x111f37,_0x425328){var _0x3c9a27=_0x30c3;return new _0x28d12a[(_0x3c9a27(0x2b2))][(_0x3c9a27(0x1b3))](_0x255eca,_0x425328)[_0x3c9a27(0x19a)](_0x111f37);};}});var _0x28d12a=_0x2694ac[_0x2ea687(0x174)]={};return _0x2694ac;}(Math);return _0x416e6c;}));}(Ge)),Ge['exports'];}var We={'exports':{}},xr=We[_0x57ea30(0x294)],Qt;function wi(){var _0x20d6ce=_0x57ea30;return Qt||(Qt=0x1,function(_0x26a1be,_0x3734a1){(function(_0x32c966,_0x5c4020){var _0x51c4c0=_0x30c3;_0x26a1be[_0x51c4c0(0x294)]=_0x5c4020(ne());}(xr,function(_0x4b000c){var _0xaf2e11=_0x30c3;return(function(){var _0x4cad48=_0x30c3,_0x343403=_0x4b000c,_0x45a3a3=_0x343403['lib'],_0x444bb0=_0x45a3a3[_0x4cad48(0x2c3)],_0x2fc7b7=_0x343403[_0x4cad48(0x374)];_0x2fc7b7[_0x4cad48(0x373)]={'stringify':function(_0x476fae){var _0x29f90b=_0x4cad48,_0x5b4716=_0x476fae[_0x29f90b(0x164)],_0x2789ac=_0x476fae[_0x29f90b(0x2be)],_0x10a418=this[_0x29f90b(0x253)];_0x476fae[_0x29f90b(0x230)]();for(var _0x4a817b=[],_0x8b8452=0x0;_0x8b8452<_0x2789ac;_0x8b8452+=0x3)for(var _0x2375b4=_0x5b4716[_0x8b8452>>>0x2]>>>0x18-_0x8b8452%0x4*0x8&0xff,_0x539ec4=_0x5b4716[_0x8b8452+0x1>>>0x2]>>>0x18-(_0x8b8452+0x1)%0x4*0x8&0xff,_0x5b8dd6=_0x5b4716[_0x8b8452+0x2>>>0x2]>>>0x18-(_0x8b8452+0x2)%0x4*0x8&0xff,_0x33a994=_0x2375b4<<0x10|_0x539ec4<<0x8|_0x5b8dd6,_0x37ec90=0x0;_0x37ec90<0x4&&_0x8b8452+_0x37ec90*0.75<_0x2789ac;_0x37ec90++)_0x4a817b[_0x29f90b(0x1d7)](_0x10a418['charAt'](_0x33a994>>>0x6*(0x3-_0x37ec90)&0x3f));var _0x2fda10=_0x10a418[_0x29f90b(0x334)](0x40);if(_0x2fda10){for(;_0x4a817b[_0x29f90b(0x1d3)]%0x4;)_0x4a817b[_0x29f90b(0x1d7)](_0x2fda10);}return _0x4a817b[_0x29f90b(0x31f)]('');},'parse':function(_0x5e4205){var _0x3d12bd=_0x4cad48,_0x5a64c3=_0x5e4205[_0x3d12bd(0x1d3)],_0x1b8686=this[_0x3d12bd(0x253)],_0x500b3d=this[_0x3d12bd(0x17e)];if(!_0x500b3d){_0x500b3d=this[_0x3d12bd(0x17e)]=[];for(var _0x393e15=0x0;_0x393e15<_0x1b8686[_0x3d12bd(0x1d3)];_0x393e15++)_0x500b3d[_0x1b8686[_0x3d12bd(0x318)](_0x393e15)]=_0x393e15;}var _0x57853a=_0x1b8686[_0x3d12bd(0x334)](0x40);if(_0x57853a){var _0x2fe9b9=_0x5e4205[_0x3d12bd(0x450)](_0x57853a);_0x2fe9b9!==-0x1&&(_0x5a64c3=_0x2fe9b9);}return _0x15170b(_0x5e4205,_0x5a64c3,_0x500b3d);},'_map':_0x4cad48(0x402)};function _0x15170b(_0x32ce22,_0x77495a,_0x5400be){var _0x3425de=_0x4cad48;for(var _0x1ec0de=[],_0xc77bde=0x0,_0x12114c=0x0;_0x12114c<_0x77495a;_0x12114c++)if(_0x12114c%0x4){var _0xee4a29=_0x5400be[_0x32ce22[_0x3425de(0x318)](_0x12114c-0x1)]<<_0x12114c%0x4*0x2,_0x2dc5db=_0x5400be[_0x32ce22[_0x3425de(0x318)](_0x12114c)]>>>0x6-_0x12114c%0x4*0x2,_0x192856=_0xee4a29|_0x2dc5db;_0x1ec0de[_0xc77bde>>>0x2]|=_0x192856<<0x18-_0xc77bde%0x4*0x8,_0xc77bde++;}return _0x444bb0[_0x3425de(0x1ea)](_0x1ec0de,_0xc77bde);}}()),_0x4b000c[_0xaf2e11(0x374)][_0xaf2e11(0x373)];}));}(We)),We[_0x20d6ce(0x294)];}var Ke={'exports':{}},Lr=Ke[_0x57ea30(0x294)],ei;function Mr(){var _0x115903=_0x57ea30;return ei||(ei=0x1,function(_0x51e5fc,_0x200d85){(function(_0x336477,_0x373036){var _0x9f0e9b=_0x30c3;_0x51e5fc[_0x9f0e9b(0x294)]=_0x373036(ne());}(Lr,function(_0x2250ca){var _0x1e1dfa=_0x30c3;return function(_0x50c9e7){var _0xd08139=_0x30c3,_0x1600af=_0x2250ca,_0xc9d6df=_0x1600af[_0xd08139(0x1f4)],_0x223a3b=_0xc9d6df[_0xd08139(0x2c3)],_0x4c01bf=_0xc9d6df[_0xd08139(0x2c2)],_0x500c88=_0x1600af['algo'],_0x17c531=[];(function(){var _0x1d6747=_0xd08139;for(var _0x14541e=0x0;_0x14541e<0x40;_0x14541e++)_0x17c531[_0x14541e]=_0x50c9e7[_0x1d6747(0x234)](_0x50c9e7['sin'](_0x14541e+0x1))*0x100000000|0x0;}());var _0x390570=_0x500c88[_0xd08139(0x35f)]=_0x4c01bf[_0xd08139(0x1fa)]({'_doReset':function(){var _0x29f32c=_0xd08139;this[_0x29f32c(0x195)]=new _0x223a3b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4d26d7,_0x100115){var _0x512da6=_0xd08139;for(var _0x1c808d=0x0;_0x1c808d<0x10;_0x1c808d++){var _0x297ef0=_0x100115+_0x1c808d,_0x4b2a01=_0x4d26d7[_0x297ef0];_0x4d26d7[_0x297ef0]=(_0x4b2a01<<0x8|_0x4b2a01>>>0x18)&0xff00ff|(_0x4b2a01<<0x18|_0x4b2a01>>>0x8)&0xff00ff00;}var _0x391718=this[_0x512da6(0x195)][_0x512da6(0x164)],_0x3bb08b=_0x4d26d7[_0x100115+0x0],_0x5bbf37=_0x4d26d7[_0x100115+0x1],_0x298ccc=_0x4d26d7[_0x100115+0x2],_0x2531dd=_0x4d26d7[_0x100115+0x3],_0x34f9c0=_0x4d26d7[_0x100115+0x4],_0x26b3c4=_0x4d26d7[_0x100115+0x5],_0x1e2886=_0x4d26d7[_0x100115+0x6],_0x55ee2a=_0x4d26d7[_0x100115+0x7],_0x249b43=_0x4d26d7[_0x100115+0x8],_0x23d873=_0x4d26d7[_0x100115+0x9],_0x5e6541=_0x4d26d7[_0x100115+0xa],_0x2cfb94=_0x4d26d7[_0x100115+0xb],_0x584dbd=_0x4d26d7[_0x100115+0xc],_0x479b1e=_0x4d26d7[_0x100115+0xd],_0x17caad=_0x4d26d7[_0x100115+0xe],_0x542e96=_0x4d26d7[_0x100115+0xf],_0x59494f=_0x391718[0x0],_0x23e4b2=_0x391718[0x1],_0x260bea=_0x391718[0x2],_0x5ec29e=_0x391718[0x3];_0x59494f=_0xe41216(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x3bb08b,0x7,_0x17c531[0x0]),_0x5ec29e=_0xe41216(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x5bbf37,0xc,_0x17c531[0x1]),_0x260bea=_0xe41216(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x298ccc,0x11,_0x17c531[0x2]),_0x23e4b2=_0xe41216(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x2531dd,0x16,_0x17c531[0x3]),_0x59494f=_0xe41216(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x34f9c0,0x7,_0x17c531[0x4]),_0x5ec29e=_0xe41216(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x26b3c4,0xc,_0x17c531[0x5]),_0x260bea=_0xe41216(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x1e2886,0x11,_0x17c531[0x6]),_0x23e4b2=_0xe41216(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x55ee2a,0x16,_0x17c531[0x7]),_0x59494f=_0xe41216(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x249b43,0x7,_0x17c531[0x8]),_0x5ec29e=_0xe41216(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x23d873,0xc,_0x17c531[0x9]),_0x260bea=_0xe41216(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x5e6541,0x11,_0x17c531[0xa]),_0x23e4b2=_0xe41216(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x2cfb94,0x16,_0x17c531[0xb]),_0x59494f=_0xe41216(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x584dbd,0x7,_0x17c531[0xc]),_0x5ec29e=_0xe41216(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x479b1e,0xc,_0x17c531[0xd]),_0x260bea=_0xe41216(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x17caad,0x11,_0x17c531[0xe]),_0x23e4b2=_0xe41216(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x542e96,0x16,_0x17c531[0xf]),_0x59494f=_0x151243(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x5bbf37,0x5,_0x17c531[0x10]),_0x5ec29e=_0x151243(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x1e2886,0x9,_0x17c531[0x11]),_0x260bea=_0x151243(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x2cfb94,0xe,_0x17c531[0x12]),_0x23e4b2=_0x151243(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x3bb08b,0x14,_0x17c531[0x13]),_0x59494f=_0x151243(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x26b3c4,0x5,_0x17c531[0x14]),_0x5ec29e=_0x151243(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x5e6541,0x9,_0x17c531[0x15]),_0x260bea=_0x151243(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x542e96,0xe,_0x17c531[0x16]),_0x23e4b2=_0x151243(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x34f9c0,0x14,_0x17c531[0x17]),_0x59494f=_0x151243(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x23d873,0x5,_0x17c531[0x18]),_0x5ec29e=_0x151243(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x17caad,0x9,_0x17c531[0x19]),_0x260bea=_0x151243(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x2531dd,0xe,_0x17c531[0x1a]),_0x23e4b2=_0x151243(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x249b43,0x14,_0x17c531[0x1b]),_0x59494f=_0x151243(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x479b1e,0x5,_0x17c531[0x1c]),_0x5ec29e=_0x151243(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x298ccc,0x9,_0x17c531[0x1d]),_0x260bea=_0x151243(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x55ee2a,0xe,_0x17c531[0x1e]),_0x23e4b2=_0x151243(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x584dbd,0x14,_0x17c531[0x1f]),_0x59494f=_0x226869(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x26b3c4,0x4,_0x17c531[0x20]),_0x5ec29e=_0x226869(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x249b43,0xb,_0x17c531[0x21]),_0x260bea=_0x226869(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x2cfb94,0x10,_0x17c531[0x22]),_0x23e4b2=_0x226869(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x17caad,0x17,_0x17c531[0x23]),_0x59494f=_0x226869(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x5bbf37,0x4,_0x17c531[0x24]),_0x5ec29e=_0x226869(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x34f9c0,0xb,_0x17c531[0x25]),_0x260bea=_0x226869(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x55ee2a,0x10,_0x17c531[0x26]),_0x23e4b2=_0x226869(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x5e6541,0x17,_0x17c531[0x27]),_0x59494f=_0x226869(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x479b1e,0x4,_0x17c531[0x28]),_0x5ec29e=_0x226869(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x3bb08b,0xb,_0x17c531[0x29]),_0x260bea=_0x226869(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x2531dd,0x10,_0x17c531[0x2a]),_0x23e4b2=_0x226869(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x1e2886,0x17,_0x17c531[0x2b]),_0x59494f=_0x226869(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x23d873,0x4,_0x17c531[0x2c]),_0x5ec29e=_0x226869(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x584dbd,0xb,_0x17c531[0x2d]),_0x260bea=_0x226869(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x542e96,0x10,_0x17c531[0x2e]),_0x23e4b2=_0x226869(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x298ccc,0x17,_0x17c531[0x2f]),_0x59494f=_0xb2fd0e(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x3bb08b,0x6,_0x17c531[0x30]),_0x5ec29e=_0xb2fd0e(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x55ee2a,0xa,_0x17c531[0x31]),_0x260bea=_0xb2fd0e(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x17caad,0xf,_0x17c531[0x32]),_0x23e4b2=_0xb2fd0e(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x26b3c4,0x15,_0x17c531[0x33]),_0x59494f=_0xb2fd0e(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x584dbd,0x6,_0x17c531[0x34]),_0x5ec29e=_0xb2fd0e(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x2531dd,0xa,_0x17c531[0x35]),_0x260bea=_0xb2fd0e(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x5e6541,0xf,_0x17c531[0x36]),_0x23e4b2=_0xb2fd0e(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x5bbf37,0x15,_0x17c531[0x37]),_0x59494f=_0xb2fd0e(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x249b43,0x6,_0x17c531[0x38]),_0x5ec29e=_0xb2fd0e(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x542e96,0xa,_0x17c531[0x39]),_0x260bea=_0xb2fd0e(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x1e2886,0xf,_0x17c531[0x3a]),_0x23e4b2=_0xb2fd0e(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x479b1e,0x15,_0x17c531[0x3b]),_0x59494f=_0xb2fd0e(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x34f9c0,0x6,_0x17c531[0x3c]),_0x5ec29e=_0xb2fd0e(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x2cfb94,0xa,_0x17c531[0x3d]),_0x260bea=_0xb2fd0e(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x298ccc,0xf,_0x17c531[0x3e]),_0x23e4b2=_0xb2fd0e(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x23d873,0x15,_0x17c531[0x3f]),_0x391718[0x0]=_0x391718[0x0]+_0x59494f|0x0,_0x391718[0x1]=_0x391718[0x1]+_0x23e4b2|0x0,_0x391718[0x2]=_0x391718[0x2]+_0x260bea|0x0,_0x391718[0x3]=_0x391718[0x3]+_0x5ec29e|0x0;},'_doFinalize':function(){var _0x122987=_0xd08139,_0x5d0d39=this[_0x122987(0x267)],_0x3ca6d7=_0x5d0d39[_0x122987(0x164)],_0x559b1c=this[_0x122987(0x459)]*0x8,_0x47871f=_0x5d0d39[_0x122987(0x2be)]*0x8;_0x3ca6d7[_0x47871f>>>0x5]|=0x80<<0x18-_0x47871f%0x20;var _0x14fee6=_0x50c9e7[_0x122987(0x1f9)](_0x559b1c/0x100000000),_0x5d6821=_0x559b1c;_0x3ca6d7[(_0x47871f+0x40>>>0x9<<0x4)+0xf]=(_0x14fee6<<0x8|_0x14fee6>>>0x18)&0xff00ff|(_0x14fee6<<0x18|_0x14fee6>>>0x8)&0xff00ff00,_0x3ca6d7[(_0x47871f+0x40>>>0x9<<0x4)+0xe]=(_0x5d6821<<0x8|_0x5d6821>>>0x18)&0xff00ff|(_0x5d6821<<0x18|_0x5d6821>>>0x8)&0xff00ff00,_0x5d0d39[_0x122987(0x2be)]=(_0x3ca6d7['length']+0x1)*0x4,this[_0x122987(0x2b6)]();for(var _0x534fd4=this['_hash'],_0x1e73d7=_0x534fd4['words'],_0x13921b=0x0;_0x13921b<0x4;_0x13921b++){var _0x27ac50=_0x1e73d7[_0x13921b];_0x1e73d7[_0x13921b]=(_0x27ac50<<0x8|_0x27ac50>>>0x18)&0xff00ff|(_0x27ac50<<0x18|_0x27ac50>>>0x8)&0xff00ff00;}return _0x534fd4;},'clone':function(){var _0x944299=_0xd08139,_0x44a23b=_0x4c01bf[_0x944299(0x426)][_0x944299(0x209)](this);return _0x44a23b[_0x944299(0x195)]=this[_0x944299(0x195)]['clone'](),_0x44a23b;}});function _0xe41216(_0x2c2f9e,_0x5024ad,_0x3be956,_0x2fde95,_0x4afbf6,_0x5ac54d,_0x49d1ee){var _0x2389b6=_0x2c2f9e+(_0x5024ad&_0x3be956|~_0x5024ad&_0x2fde95)+_0x4afbf6+_0x49d1ee;return(_0x2389b6<<_0x5ac54d|_0x2389b6>>>0x20-_0x5ac54d)+_0x5024ad;}function _0x151243(_0x1310fc,_0x5b1497,_0x41cb48,_0x2e1b2e,_0xb94b96,_0x54107d,_0x21fee1){var _0x14cebf=_0x1310fc+(_0x5b1497&_0x2e1b2e|_0x41cb48&~_0x2e1b2e)+_0xb94b96+_0x21fee1;return(_0x14cebf<<_0x54107d|_0x14cebf>>>0x20-_0x54107d)+_0x5b1497;}function _0x226869(_0x11e4bd,_0xda20e,_0x194caa,_0x2df22f,_0x5011dd,_0x307c5f,_0x1260d3){var _0x187295=_0x11e4bd+(_0xda20e^_0x194caa^_0x2df22f)+_0x5011dd+_0x1260d3;return(_0x187295<<_0x307c5f|_0x187295>>>0x20-_0x307c5f)+_0xda20e;}function _0xb2fd0e(_0x2a2d56,_0x47adac,_0x31ec36,_0x4e5106,_0x11e69f,_0x564606,_0x3ac394){var _0x29ee17=_0x2a2d56+(_0x31ec36^(_0x47adac|~_0x4e5106))+_0x11e69f+_0x3ac394;return(_0x29ee17<<_0x564606|_0x29ee17>>>0x20-_0x564606)+_0x47adac;}_0x1600af[_0xd08139(0x35f)]=_0x4c01bf[_0xd08139(0x40a)](_0x390570),_0x1600af[_0xd08139(0x394)]=_0x4c01bf['_createHmacHelper'](_0x390570);}(Math),_0x2250ca[_0x1e1dfa(0x35f)];}));}(Ke)),Ke[_0x115903(0x294)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x57ea30(0x294)],ti;function Hr(){var _0xccd80f=_0x57ea30;return ti||(ti=0x1,function(_0x2e1426,_0x877e31){(function(_0x2efb7e,_0x1c6d6d){var _0x31247a=_0x30c3;_0x2e1426[_0x31247a(0x294)]=_0x1c6d6d(ne());}($r,function(_0x38a3e1){var _0x14cefb=_0x30c3;return(function(){var _0x132af6=_0x30c3,_0x712e5a=_0x38a3e1,_0x505d08=_0x712e5a[_0x132af6(0x1f4)],_0x30ee17=_0x505d08[_0x132af6(0x2c3)],_0x4f733c=_0x505d08[_0x132af6(0x2c2)],_0x3312be=_0x712e5a[_0x132af6(0x174)],_0x3f8443=[],_0x4dca57=_0x3312be['SHA1']=_0x4f733c[_0x132af6(0x1fa)]({'_doReset':function(){var _0x4e8c37=_0x132af6;this[_0x4e8c37(0x195)]=new _0x30ee17[(_0x4e8c37(0x1b3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2c459e,_0x281d6c){var _0x47dd2b=_0x132af6;for(var _0xa9854a=this['_hash'][_0x47dd2b(0x164)],_0x4690f1=_0xa9854a[0x0],_0x2d559d=_0xa9854a[0x1],_0x53c37b=_0xa9854a[0x2],_0xa3adea=_0xa9854a[0x3],_0x28e20a=_0xa9854a[0x4],_0x247d3d=0x0;_0x247d3d<0x50;_0x247d3d++){if(_0x247d3d<0x10)_0x3f8443[_0x247d3d]=_0x2c459e[_0x281d6c+_0x247d3d]|0x0;else{var _0x2305fb=_0x3f8443[_0x247d3d-0x3]^_0x3f8443[_0x247d3d-0x8]^_0x3f8443[_0x247d3d-0xe]^_0x3f8443[_0x247d3d-0x10];_0x3f8443[_0x247d3d]=_0x2305fb<<0x1|_0x2305fb>>>0x1f;}var _0xc511fa=(_0x4690f1<<0x5|_0x4690f1>>>0x1b)+_0x28e20a+_0x3f8443[_0x247d3d];_0x247d3d<0x14?_0xc511fa+=(_0x2d559d&_0x53c37b|~_0x2d559d&_0xa3adea)+0x5a827999:_0x247d3d<0x28?_0xc511fa+=(_0x2d559d^_0x53c37b^_0xa3adea)+0x6ed9eba1:_0x247d3d<0x3c?_0xc511fa+=(_0x2d559d&_0x53c37b|_0x2d559d&_0xa3adea|_0x53c37b&_0xa3adea)-0x70e44324:_0xc511fa+=(_0x2d559d^_0x53c37b^_0xa3adea)-0x359d3e2a,_0x28e20a=_0xa3adea,_0xa3adea=_0x53c37b,_0x53c37b=_0x2d559d<<0x1e|_0x2d559d>>>0x2,_0x2d559d=_0x4690f1,_0x4690f1=_0xc511fa;}_0xa9854a[0x0]=_0xa9854a[0x0]+_0x4690f1|0x0,_0xa9854a[0x1]=_0xa9854a[0x1]+_0x2d559d|0x0,_0xa9854a[0x2]=_0xa9854a[0x2]+_0x53c37b|0x0,_0xa9854a[0x3]=_0xa9854a[0x3]+_0xa3adea|0x0,_0xa9854a[0x4]=_0xa9854a[0x4]+_0x28e20a|0x0;},'_doFinalize':function(){var _0x4cbedc=_0x132af6,_0xa8df9f=this[_0x4cbedc(0x267)],_0x5360b1=_0xa8df9f[_0x4cbedc(0x164)],_0x3c3cff=this[_0x4cbedc(0x459)]*0x8,_0x147865=_0xa8df9f[_0x4cbedc(0x2be)]*0x8;return _0x5360b1[_0x147865>>>0x5]|=0x80<<0x18-_0x147865%0x20,_0x5360b1[(_0x147865+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x3c3cff/0x100000000),_0x5360b1[(_0x147865+0x40>>>0x9<<0x4)+0xf]=_0x3c3cff,_0xa8df9f[_0x4cbedc(0x2be)]=_0x5360b1[_0x4cbedc(0x1d3)]*0x4,this['_process'](),this[_0x4cbedc(0x195)];},'clone':function(){var _0x345e29=_0x132af6,_0x1686d5=_0x4f733c[_0x345e29(0x426)][_0x345e29(0x209)](this);return _0x1686d5[_0x345e29(0x195)]=this['_hash'][_0x345e29(0x426)](),_0x1686d5;}});_0x712e5a[_0x132af6(0x20f)]=_0x4f733c['_createHelper'](_0x4dca57),_0x712e5a[_0x132af6(0x263)]=_0x4f733c[_0x132af6(0x1b7)](_0x4dca57);}()),_0x38a3e1[_0x14cefb(0x20f)];}));}(qe)),qe[_0xccd80f(0x294)];}var ze={'exports':{}},kr=ze[_0x57ea30(0x294)],ii;function jr(){var _0x5b4fa2=_0x57ea30;return ii||(ii=0x1,function(_0x552e66,_0x58cf5c){(function(_0x35024c,_0x5a255d){var _0x27f354=_0x30c3;_0x552e66[_0x27f354(0x294)]=_0x5a255d(ne());}(kr,function(_0x5dca0c){(function(){var _0x568bf6=_0x30c3,_0xcdb7c7=_0x5dca0c,_0x23652d=_0xcdb7c7['lib'],_0x30495a=_0x23652d['Base'],_0x4abd72=_0xcdb7c7[_0x568bf6(0x374)],_0x36715d=_0x4abd72['Utf8'],_0x56d327=_0xcdb7c7[_0x568bf6(0x174)];_0x56d327['HMAC']=_0x30495a['extend']({'init':function(_0x197c60,_0xd1fbd){var _0x3108b3=_0x568bf6;_0x197c60=this[_0x3108b3(0x447)]=new _0x197c60[(_0x3108b3(0x1b3))](),typeof _0xd1fbd=='string'&&(_0xd1fbd=_0x36715d[_0x3108b3(0x228)](_0xd1fbd));var _0x1708c9=_0x197c60[_0x3108b3(0x3d7)],_0x1759a2=_0x1708c9*0x4;_0xd1fbd[_0x3108b3(0x2be)]>_0x1759a2&&(_0xd1fbd=_0x197c60[_0x3108b3(0x19a)](_0xd1fbd)),_0xd1fbd[_0x3108b3(0x230)]();for(var _0x2539f7=this[_0x3108b3(0x3cf)]=_0xd1fbd['clone'](),_0x543510=this['_iKey']=_0xd1fbd[_0x3108b3(0x426)](),_0x4ac8b0=_0x2539f7[_0x3108b3(0x164)],_0x17d10e=_0x543510[_0x3108b3(0x164)],_0x2465ec=0x0;_0x2465ec<_0x1708c9;_0x2465ec++)_0x4ac8b0[_0x2465ec]^=0x5c5c5c5c,_0x17d10e[_0x2465ec]^=0x36363636;_0x2539f7['sigBytes']=_0x543510[_0x3108b3(0x2be)]=_0x1759a2,this[_0x3108b3(0x3c3)]();},'reset':function(){var _0x32fe4b=_0x568bf6,_0x10e786=this[_0x32fe4b(0x447)];_0x10e786[_0x32fe4b(0x3c3)](),_0x10e786['update'](this[_0x32fe4b(0x2ee)]);},'update':function(_0x3a0235){var _0x8626c1=_0x568bf6;return this['_hasher'][_0x8626c1(0x16a)](_0x3a0235),this;},'finalize':function(_0x41a264){var _0x34f90a=_0x568bf6,_0x5eeeea=this['_hasher'],_0x2e9646=_0x5eeeea[_0x34f90a(0x19a)](_0x41a264);_0x5eeeea['reset']();var _0x390c21=_0x5eeeea[_0x34f90a(0x19a)](this[_0x34f90a(0x3cf)][_0x34f90a(0x426)]()['concat'](_0x2e9646));return _0x390c21;}});}());}));}(ze)),ze[_0x5b4fa2(0x294)];}var Br=Ye[_0x57ea30(0x294)],ni;function Ui(){var _0x153b57=_0x57ea30;return ni||(ni=0x1,function(_0x57d24c,_0x21e60e){(function(_0x1af515,_0x27b7df,_0x5f071a){_0x57d24c['exports']=_0x27b7df(ne(),Hr(),jr());}(Br,function(_0x162f1f){var _0x1f1af3=_0x30c3;return(function(){var _0x30aa42=_0x30c3,_0x56370f=_0x162f1f,_0x52634f=_0x56370f['lib'],_0x259932=_0x52634f['Base'],_0x34b461=_0x52634f['WordArray'],_0x2b550a=_0x56370f[_0x30aa42(0x174)],_0x497cb8=_0x2b550a[_0x30aa42(0x35f)],_0x3de2f7=_0x2b550a['EvpKDF']=_0x259932[_0x30aa42(0x1fa)]({'cfg':_0x259932['extend']({'keySize':0x80/0x20,'hasher':_0x497cb8,'iterations':0x1}),'init':function(_0xdcc9b9){var _0x35f773=_0x30aa42;this[_0x35f773(0x280)]=this[_0x35f773(0x280)]['extend'](_0xdcc9b9);},'compute':function(_0x33e286,_0x47d61a){var _0x247b23=_0x30aa42;for(var _0x26c7b0,_0x33a819=this[_0x247b23(0x280)],_0x1e2245=_0x33a819['hasher'][_0x247b23(0x1ea)](),_0x17ca05=_0x34b461['create'](),_0x514329=_0x17ca05[_0x247b23(0x164)],_0x1baf4c=_0x33a819[_0x247b23(0x429)],_0x35aa9f=_0x33a819[_0x247b23(0x304)];_0x514329[_0x247b23(0x1d3)]<_0x1baf4c;){_0x26c7b0&&_0x1e2245[_0x247b23(0x16a)](_0x26c7b0),_0x26c7b0=_0x1e2245[_0x247b23(0x16a)](_0x33e286)[_0x247b23(0x19a)](_0x47d61a),_0x1e2245[_0x247b23(0x3c3)]();for(var _0x339319=0x1;_0x339319<_0x35aa9f;_0x339319++)_0x26c7b0=_0x1e2245[_0x247b23(0x19a)](_0x26c7b0),_0x1e2245['reset']();_0x17ca05[_0x247b23(0x397)](_0x26c7b0);}return _0x17ca05['sigBytes']=_0x1baf4c*0x4,_0x17ca05;}});_0x56370f[_0x30aa42(0x31b)]=function(_0x52a128,_0x51cef5,_0x3afe9){var _0x2080d5=_0x30aa42;return _0x3de2f7[_0x2080d5(0x1ea)](_0x3afe9)[_0x2080d5(0x1e4)](_0x52a128,_0x51cef5);};}()),_0x162f1f[_0x1f1af3(0x31b)];}));}(Ye)),Ye[_0x153b57(0x294)];}var Je={'exports':{}},Fr=Je['exports'],ri;function Ai(){var _0x4ff1cb=_0x57ea30;return ri||(ri=0x1,function(_0x2dbf4e,_0x328db3){(function(_0xa4c310,_0x2b3c9a,_0x32c24b){_0x2dbf4e['exports']=_0x2b3c9a(ne(),Ui());}(Fr,function(_0x206321){var _0x39ebd4=_0x30c3;_0x206321[_0x39ebd4(0x1f4)]['Cipher']||function(_0x350d2d){var _0x3e7ac3=_0x39ebd4,_0xd6c5ea=_0x206321,_0x952988=_0xd6c5ea[_0x3e7ac3(0x1f4)],_0x35db50=_0x952988[_0x3e7ac3(0x1c8)],_0x5b4dc8=_0x952988['WordArray'],_0x6006fe=_0x952988[_0x3e7ac3(0x2cc)],_0x528530=_0xd6c5ea[_0x3e7ac3(0x374)];_0x528530[_0x3e7ac3(0x3d0)];var _0x59859a=_0x528530[_0x3e7ac3(0x373)],_0xb93b49=_0xd6c5ea[_0x3e7ac3(0x174)],_0x3aea00=_0xb93b49[_0x3e7ac3(0x31b)],_0xb3363e=_0x952988[_0x3e7ac3(0x185)]=_0x6006fe[_0x3e7ac3(0x1fa)]({'cfg':_0x35db50[_0x3e7ac3(0x1fa)](),'createEncryptor':function(_0x2aaff2,_0x195586){var _0x10f1e2=_0x3e7ac3;return this[_0x10f1e2(0x1ea)](this[_0x10f1e2(0x171)],_0x2aaff2,_0x195586);},'createDecryptor':function(_0x15585b,_0x335e3a){var _0x1d678f=_0x3e7ac3;return this[_0x1d678f(0x1ea)](this['_DEC_XFORM_MODE'],_0x15585b,_0x335e3a);},'init':function(_0x28cc5a,_0x535f91,_0x3d0e06){var _0x205ca6=_0x3e7ac3;this[_0x205ca6(0x280)]=this[_0x205ca6(0x280)][_0x205ca6(0x1fa)](_0x3d0e06),this['_xformMode']=_0x28cc5a,this['_key']=_0x535f91,this[_0x205ca6(0x3c3)]();},'reset':function(){var _0xf435b2=_0x3e7ac3;_0x6006fe[_0xf435b2(0x3c3)]['call'](this),this['_doReset']();},'process':function(_0x4f0339){return this['_append'](_0x4f0339),this['_process']();},'finalize':function(_0x56deb8){var _0x27f0fa=_0x3e7ac3;_0x56deb8&&this[_0x27f0fa(0x254)](_0x56deb8);var _0x5905b5=this[_0x27f0fa(0x39d)]();return _0x5905b5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x152aaa(_0x483813){var _0x1a0351=_0x30c3;return typeof _0x483813==_0x1a0351(0x3e0)?_0x3de0c2:_0x38206e;}return function(_0x493ed8){return{'encrypt':function(_0x18a168,_0xd52bf,_0x361843){return _0x152aaa(_0xd52bf)['encrypt'](_0x493ed8,_0x18a168,_0xd52bf,_0x361843);},'decrypt':function(_0x777f5,_0x5c1dd2,_0x26327c){return _0x152aaa(_0x5c1dd2)['decrypt'](_0x493ed8,_0x777f5,_0x5c1dd2,_0x26327c);}};};}())});_0x952988[_0x3e7ac3(0x34f)]=_0xb3363e['extend']({'_doFinalize':function(){var _0x252215=_0x3e7ac3,_0x41e525=this[_0x252215(0x2b6)](!0x0);return _0x41e525;},'blockSize':0x1});var _0x42759f=_0xd6c5ea[_0x3e7ac3(0x2aa)]={},_0x383f3d=_0x952988['BlockCipherMode']=_0x35db50[_0x3e7ac3(0x1fa)]({'createEncryptor':function(_0x3d61b8,_0x51c171){var _0x2c00f2=_0x3e7ac3;return this[_0x2c00f2(0x1a5)][_0x2c00f2(0x1ea)](_0x3d61b8,_0x51c171);},'createDecryptor':function(_0x27ace5,_0x5c8a6e){return this['Decryptor']['create'](_0x27ace5,_0x5c8a6e);},'init':function(_0x735cb5,_0x392c30){var _0x5d0e23=_0x3e7ac3;this[_0x5d0e23(0x2d7)]=_0x735cb5,this['_iv']=_0x392c30;}}),_0x149dad=_0x42759f[_0x3e7ac3(0x3aa)]=(function(){var _0x3079f2=_0x3e7ac3,_0x241024=_0x383f3d['extend']();_0x241024[_0x3079f2(0x1a5)]=_0x241024['extend']({'processBlock':function(_0x4995cb,_0x5cee44){var _0xd8342f=_0x3079f2,_0x10d728=this[_0xd8342f(0x2d7)],_0x16d6f6=_0x10d728[_0xd8342f(0x3d7)];_0x56fbca[_0xd8342f(0x209)](this,_0x4995cb,_0x5cee44,_0x16d6f6),_0x10d728[_0xd8342f(0x351)](_0x4995cb,_0x5cee44),this[_0xd8342f(0x16b)]=_0x4995cb[_0xd8342f(0x1b1)](_0x5cee44,_0x5cee44+_0x16d6f6);}}),_0x241024['Decryptor']=_0x241024[_0x3079f2(0x1fa)]({'processBlock':function(_0xbd2d80,_0x548a6a){var _0x33ae97=_0x3079f2,_0x4d82b5=this['_cipher'],_0x35af6e=_0x4d82b5[_0x33ae97(0x3d7)],_0x33ecf6=_0xbd2d80[_0x33ae97(0x1b1)](_0x548a6a,_0x548a6a+_0x35af6e);_0x4d82b5[_0x33ae97(0x24d)](_0xbd2d80,_0x548a6a),_0x56fbca[_0x33ae97(0x209)](this,_0xbd2d80,_0x548a6a,_0x35af6e),this[_0x33ae97(0x16b)]=_0x33ecf6;}});function _0x56fbca(_0x58bf40,_0x50cc35,_0x5d1ba0){var _0x1b3b32=_0x3079f2,_0x4f0549,_0x46b9bb=this[_0x1b3b32(0x220)];_0x46b9bb?(_0x4f0549=_0x46b9bb,this['_iv']=_0x350d2d):_0x4f0549=this[_0x1b3b32(0x16b)];for(var _0x2fbab5=0x0;_0x2fbab5<_0x5d1ba0;_0x2fbab5++)_0x58bf40[_0x50cc35+_0x2fbab5]^=_0x4f0549[_0x2fbab5];}return _0x241024;}()),_0x3f9f59=_0xd6c5ea[_0x3e7ac3(0x396)]={},_0x458dd1=_0x3f9f59[_0x3e7ac3(0x42a)]={'pad':function(_0x48537c,_0x3baea8){var _0x48eb01=_0x3e7ac3;for(var _0x1f5bf2=_0x3baea8*0x4,_0x2154dc=_0x1f5bf2-_0x48537c['sigBytes']%_0x1f5bf2,_0x4f834f=_0x2154dc<<0x18|_0x2154dc<<0x10|_0x2154dc<<0x8|_0x2154dc,_0xdae7d3=[],_0x59c30f=0x0;_0x59c30f<_0x2154dc;_0x59c30f+=0x4)_0xdae7d3[_0x48eb01(0x1d7)](_0x4f834f);var _0x200f36=_0x5b4dc8['create'](_0xdae7d3,_0x2154dc);_0x48537c['concat'](_0x200f36);},'unpad':function(_0x28e2ed){var _0x38f989=_0x3e7ac3,_0x5595a8=_0x28e2ed[_0x38f989(0x164)][_0x28e2ed[_0x38f989(0x2be)]-0x1>>>0x2]&0xff;_0x28e2ed['sigBytes']-=_0x5595a8;}};_0x952988[_0x3e7ac3(0x3b8)]=_0xb3363e['extend']({'cfg':_0xb3363e[_0x3e7ac3(0x280)]['extend']({'mode':_0x149dad,'padding':_0x458dd1}),'reset':function(){var _0x1659e5=_0x3e7ac3,_0x3b6c36;_0xb3363e[_0x1659e5(0x3c3)][_0x1659e5(0x209)](this);var _0xcbe973=this[_0x1659e5(0x280)],_0xa08b93=_0xcbe973['iv'],_0x58d6ca=_0xcbe973['mode'];this[_0x1659e5(0x316)]==this[_0x1659e5(0x171)]?_0x3b6c36=_0x58d6ca['createEncryptor']:(_0x3b6c36=_0x58d6ca[_0x1659e5(0x368)],this['_minBufferSize']=0x1),this[_0x1659e5(0x441)]&&this[_0x1659e5(0x441)][_0x1659e5(0x2d4)]==_0x3b6c36?this[_0x1659e5(0x441)]['init'](this,_0xa08b93&&_0xa08b93['words']):(this[_0x1659e5(0x441)]=_0x3b6c36[_0x1659e5(0x209)](_0x58d6ca,this,_0xa08b93&&_0xa08b93['words']),this[_0x1659e5(0x441)]['__creator']=_0x3b6c36);},'_doProcessBlock':function(_0x2e0c7a,_0xf20e27){var _0x5e64f3=_0x3e7ac3;this[_0x5e64f3(0x441)][_0x5e64f3(0x2cd)](_0x2e0c7a,_0xf20e27);},'_doFinalize':function(){var _0x81c40d=_0x3e7ac3,_0x51839f,_0x4de858=this[_0x81c40d(0x280)][_0x81c40d(0x303)];return this['_xformMode']==this[_0x81c40d(0x171)]?(_0x4de858[_0x81c40d(0x396)](this[_0x81c40d(0x267)],this[_0x81c40d(0x3d7)]),_0x51839f=this[_0x81c40d(0x2b6)](!0x0)):(_0x51839f=this[_0x81c40d(0x2b6)](!0x0),_0x4de858[_0x81c40d(0x319)](_0x51839f)),_0x51839f;},'blockSize':0x80/0x20});var _0x386fd7=_0x952988[_0x3e7ac3(0x24f)]=_0x35db50['extend']({'init':function(_0x13a2cc){var _0x125de0=_0x3e7ac3;this[_0x125de0(0x3b9)](_0x13a2cc);},'toString':function(_0x523bbb){var _0x1fcc85=_0x3e7ac3;return(_0x523bbb||this['formatter'])[_0x1fcc85(0x3ea)](this);}}),_0x14bdf5=_0xd6c5ea['format']={},_0x23f619=_0x14bdf5[_0x3e7ac3(0x246)]={'stringify':function(_0x305467){var _0x3f040e=_0x3e7ac3,_0x3d84a9,_0x2337cb=_0x305467[_0x3f040e(0x2d5)],_0x1eebbe=_0x305467[_0x3f040e(0x43c)];return _0x1eebbe?_0x3d84a9=_0x5b4dc8['create']([0x53616c74,0x65645f5f])[_0x3f040e(0x397)](_0x1eebbe)['concat'](_0x2337cb):_0x3d84a9=_0x2337cb,_0x3d84a9[_0x3f040e(0x416)](_0x59859a);},'parse':function(_0x185e62){var _0x5459c5=_0x3e7ac3,_0x1fd4c7,_0x51a764=_0x59859a[_0x5459c5(0x228)](_0x185e62),_0x4bd153=_0x51a764[_0x5459c5(0x164)];return _0x4bd153[0x0]==0x53616c74&&_0x4bd153[0x1]==0x65645f5f&&(_0x1fd4c7=_0x5b4dc8[_0x5459c5(0x1ea)](_0x4bd153[_0x5459c5(0x1b1)](0x2,0x4)),_0x4bd153[_0x5459c5(0x387)](0x0,0x4),_0x51a764[_0x5459c5(0x2be)]-=0x10),_0x386fd7['create']({'ciphertext':_0x51a764,'salt':_0x1fd4c7});}},_0x38206e=_0x952988['SerializableCipher']=_0x35db50[_0x3e7ac3(0x1fa)]({'cfg':_0x35db50[_0x3e7ac3(0x1fa)]({'format':_0x23f619}),'encrypt':function(_0x1edc93,_0x161c74,_0x42c8a9,_0x533c3b){var _0x8389ed=_0x3e7ac3;_0x533c3b=this['cfg']['extend'](_0x533c3b);var _0xe0a9b8=_0x1edc93[_0x8389ed(0x43f)](_0x42c8a9,_0x533c3b),_0x2b645d=_0xe0a9b8[_0x8389ed(0x19a)](_0x161c74),_0x169bcc=_0xe0a9b8[_0x8389ed(0x280)];return _0x386fd7[_0x8389ed(0x1ea)]({'ciphertext':_0x2b645d,'key':_0x42c8a9,'iv':_0x169bcc['iv'],'algorithm':_0x1edc93,'mode':_0x169bcc[_0x8389ed(0x2aa)],'padding':_0x169bcc[_0x8389ed(0x303)],'blockSize':_0x1edc93[_0x8389ed(0x3d7)],'formatter':_0x533c3b[_0x8389ed(0x432)]});},'decrypt':function(_0x1f2df6,_0x3febb4,_0x576575,_0x57bd7c){var _0x155c4e=_0x3e7ac3;_0x57bd7c=this[_0x155c4e(0x280)]['extend'](_0x57bd7c),_0x3febb4=this[_0x155c4e(0x413)](_0x3febb4,_0x57bd7c[_0x155c4e(0x432)]);var _0x1a0bf3=_0x1f2df6[_0x155c4e(0x368)](_0x576575,_0x57bd7c)[_0x155c4e(0x19a)](_0x3febb4[_0x155c4e(0x2d5)]);return _0x1a0bf3;},'_parse':function(_0x42b74e,_0x12667c){var _0x493974=_0x3e7ac3;return typeof _0x42b74e==_0x493974(0x3e0)?_0x12667c[_0x493974(0x228)](_0x42b74e,this):_0x42b74e;}}),_0x479690=_0xd6c5ea[_0x3e7ac3(0x38d)]={},_0x41bae4=_0x479690[_0x3e7ac3(0x246)]={'execute':function(_0x4ae0a8,_0x18f940,_0xf01f04,_0x152f05,_0x83c78a){var _0xb61f13=_0x3e7ac3;if(_0x152f05||(_0x152f05=_0x5b4dc8[_0xb61f13(0x32f)](0x40/0x8)),_0x83c78a)var _0x51d770=_0x3aea00[_0xb61f13(0x1ea)]({'keySize':_0x18f940+_0xf01f04,'hasher':_0x83c78a})[_0xb61f13(0x1e4)](_0x4ae0a8,_0x152f05);else var _0x51d770=_0x3aea00[_0xb61f13(0x1ea)]({'keySize':_0x18f940+_0xf01f04})[_0xb61f13(0x1e4)](_0x4ae0a8,_0x152f05);var _0x14b93b=_0x5b4dc8[_0xb61f13(0x1ea)](_0x51d770[_0xb61f13(0x164)][_0xb61f13(0x1b1)](_0x18f940),_0xf01f04*0x4);return _0x51d770[_0xb61f13(0x2be)]=_0x18f940*0x4,_0x386fd7[_0xb61f13(0x1ea)]({'key':_0x51d770,'iv':_0x14b93b,'salt':_0x152f05});}},_0x3de0c2=_0x952988['PasswordBasedCipher']=_0x38206e[_0x3e7ac3(0x1fa)]({'cfg':_0x38206e[_0x3e7ac3(0x280)]['extend']({'kdf':_0x41bae4}),'encrypt':function(_0x448ebc,_0x55608e,_0x86af25,_0x5bb4b2){var _0x3dab1d=_0x3e7ac3;_0x5bb4b2=this[_0x3dab1d(0x280)][_0x3dab1d(0x1fa)](_0x5bb4b2);var _0x218739=_0x5bb4b2[_0x3dab1d(0x38d)][_0x3dab1d(0x17a)](_0x86af25,_0x448ebc['keySize'],_0x448ebc[_0x3dab1d(0x232)],_0x5bb4b2[_0x3dab1d(0x43c)],_0x5bb4b2[_0x3dab1d(0x42b)]);_0x5bb4b2['iv']=_0x218739['iv'];var _0x256949=_0x38206e[_0x3dab1d(0x1c1)][_0x3dab1d(0x209)](this,_0x448ebc,_0x55608e,_0x218739[_0x3dab1d(0x275)],_0x5bb4b2);return _0x256949[_0x3dab1d(0x3b9)](_0x218739),_0x256949;},'decrypt':function(_0x2015cd,_0x2adcf0,_0x51877a,_0x433006){var _0x349fa1=_0x3e7ac3;_0x433006=this[_0x349fa1(0x280)][_0x349fa1(0x1fa)](_0x433006),_0x2adcf0=this[_0x349fa1(0x413)](_0x2adcf0,_0x433006[_0x349fa1(0x432)]);var _0x37628e=_0x433006[_0x349fa1(0x38d)]['execute'](_0x51877a,_0x2015cd['keySize'],_0x2015cd[_0x349fa1(0x232)],_0x2adcf0['salt'],_0x433006[_0x349fa1(0x42b)]);_0x433006['iv']=_0x37628e['iv'];var _0x2f20a5=_0x38206e[_0x349fa1(0x1cf)][_0x349fa1(0x209)](this,_0x2015cd,_0x2adcf0,_0x37628e[_0x349fa1(0x275)],_0x433006);return _0x2f20a5;}});}();}));}(Je)),Je[_0x4ff1cb(0x294)];}var Vr=Ve[_0x57ea30(0x294)],si;function Gr(){var _0x522583=_0x57ea30;return si||(si=0x1,function(_0x1d5cbe,_0x34059e){(function(_0xe95eee,_0x28cf7a,_0x5be5ee){var _0x415059=_0x30c3;_0x1d5cbe[_0x415059(0x294)]=_0x28cf7a(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x48a192){var _0x55d263=_0x30c3;return(function(){var _0x5eb22c=_0x30c3,_0x37fa4b=_0x48a192,_0x18620a=_0x37fa4b[_0x5eb22c(0x1f4)],_0x227fb3=_0x18620a[_0x5eb22c(0x3b8)],_0x5652b2=_0x37fa4b[_0x5eb22c(0x174)],_0x1d8196=[],_0x176665=[],_0xed3c80=[],_0x3c44f7=[],_0x260e08=[],_0x6e6208=[],_0x2d80fb=[],_0x4c808c=[],_0x2972b3=[],_0x3ccac2=[];(function(){for(var _0x586e15=[],_0x382741=0x0;_0x382741<0x100;_0x382741++)_0x382741<0x80?_0x586e15[_0x382741]=_0x382741<<0x1:_0x586e15[_0x382741]=_0x382741<<0x1^0x11b;for(var _0x1a91c8=0x0,_0x26398d=0x0,_0x382741=0x0;_0x382741<0x100;_0x382741++){var _0x3d3000=_0x26398d^_0x26398d<<0x1^_0x26398d<<0x2^_0x26398d<<0x3^_0x26398d<<0x4;_0x3d3000=_0x3d3000>>>0x8^_0x3d3000&0xff^0x63,_0x1d8196[_0x1a91c8]=_0x3d3000,_0x176665[_0x3d3000]=_0x1a91c8;var _0x2cbac4=_0x586e15[_0x1a91c8],_0x5572c1=_0x586e15[_0x2cbac4],_0x504dfa=_0x586e15[_0x5572c1],_0x340df7=_0x586e15[_0x3d3000]*0x101^_0x3d3000*0x1010100;_0xed3c80[_0x1a91c8]=_0x340df7<<0x18|_0x340df7>>>0x8,_0x3c44f7[_0x1a91c8]=_0x340df7<<0x10|_0x340df7>>>0x10,_0x260e08[_0x1a91c8]=_0x340df7<<0x8|_0x340df7>>>0x18,_0x6e6208[_0x1a91c8]=_0x340df7;var _0x340df7=_0x504dfa*0x1010101^_0x5572c1*0x10001^_0x2cbac4*0x101^_0x1a91c8*0x1010100;_0x2d80fb[_0x3d3000]=_0x340df7<<0x18|_0x340df7>>>0x8,_0x4c808c[_0x3d3000]=_0x340df7<<0x10|_0x340df7>>>0x10,_0x2972b3[_0x3d3000]=_0x340df7<<0x8|_0x340df7>>>0x18,_0x3ccac2[_0x3d3000]=_0x340df7,_0x1a91c8?(_0x1a91c8=_0x2cbac4^_0x586e15[_0x586e15[_0x586e15[_0x504dfa^_0x2cbac4]]],_0x26398d^=_0x586e15[_0x586e15[_0x26398d]]):_0x1a91c8=_0x26398d=0x1;}}());var _0x10470d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xf76294=_0x5652b2['AES']=_0x227fb3[_0x5eb22c(0x1fa)]({'_doReset':function(){var _0xf439a6=_0x5eb22c,_0x361d0a;if(!(this[_0xf439a6(0x245)]&&this[_0xf439a6(0x325)]===this[_0xf439a6(0x27b)])){for(var _0x3bb19c=this[_0xf439a6(0x325)]=this[_0xf439a6(0x27b)],_0x278e7f=_0x3bb19c[_0xf439a6(0x164)],_0x330621=_0x3bb19c[_0xf439a6(0x2be)]/0x4,_0x35cf97=this[_0xf439a6(0x245)]=_0x330621+0x6,_0x2fe6d6=(_0x35cf97+0x1)*0x4,_0x540594=this[_0xf439a6(0x21b)]=[],_0x463977=0x0;_0x463977<_0x2fe6d6;_0x463977++)_0x463977<_0x330621?_0x540594[_0x463977]=_0x278e7f[_0x463977]:(_0x361d0a=_0x540594[_0x463977-0x1],_0x463977%_0x330621?_0x330621>0x6&&_0x463977%_0x330621==0x4&&(_0x361d0a=_0x1d8196[_0x361d0a>>>0x18]<<0x18|_0x1d8196[_0x361d0a>>>0x10&0xff]<<0x10|_0x1d8196[_0x361d0a>>>0x8&0xff]<<0x8|_0x1d8196[_0x361d0a&0xff]):(_0x361d0a=_0x361d0a<<0x8|_0x361d0a>>>0x18,_0x361d0a=_0x1d8196[_0x361d0a>>>0x18]<<0x18|_0x1d8196[_0x361d0a>>>0x10&0xff]<<0x10|_0x1d8196[_0x361d0a>>>0x8&0xff]<<0x8|_0x1d8196[_0x361d0a&0xff],_0x361d0a^=_0x10470d[_0x463977/_0x330621|0x0]<<0x18),_0x540594[_0x463977]=_0x540594[_0x463977-_0x330621]^_0x361d0a);for(var _0x2f5078=this[_0xf439a6(0x3db)]=[],_0x1ee2be=0x0;_0x1ee2be<_0x2fe6d6;_0x1ee2be++){var _0x463977=_0x2fe6d6-_0x1ee2be;if(_0x1ee2be%0x4)var _0x361d0a=_0x540594[_0x463977];else var _0x361d0a=_0x540594[_0x463977-0x4];_0x1ee2be<0x4||_0x463977<=0x4?_0x2f5078[_0x1ee2be]=_0x361d0a:_0x2f5078[_0x1ee2be]=_0x2d80fb[_0x1d8196[_0x361d0a>>>0x18]]^_0x4c808c[_0x1d8196[_0x361d0a>>>0x10&0xff]]^_0x2972b3[_0x1d8196[_0x361d0a>>>0x8&0xff]]^_0x3ccac2[_0x1d8196[_0x361d0a&0xff]];}}},'encryptBlock':function(_0x21c274,_0x2b5f5e){var _0x52c4ba=_0x5eb22c;this['_doCryptBlock'](_0x21c274,_0x2b5f5e,this[_0x52c4ba(0x21b)],_0xed3c80,_0x3c44f7,_0x260e08,_0x6e6208,_0x1d8196);},'decryptBlock':function(_0x3ca4f4,_0x541ea1){var _0x26d164=_0x5eb22c,_0x3ee9e1=_0x3ca4f4[_0x541ea1+0x1];_0x3ca4f4[_0x541ea1+0x1]=_0x3ca4f4[_0x541ea1+0x3],_0x3ca4f4[_0x541ea1+0x3]=_0x3ee9e1,this[_0x26d164(0x2eb)](_0x3ca4f4,_0x541ea1,this[_0x26d164(0x3db)],_0x2d80fb,_0x4c808c,_0x2972b3,_0x3ccac2,_0x176665);var _0x3ee9e1=_0x3ca4f4[_0x541ea1+0x1];_0x3ca4f4[_0x541ea1+0x1]=_0x3ca4f4[_0x541ea1+0x3],_0x3ca4f4[_0x541ea1+0x3]=_0x3ee9e1;},'_doCryptBlock':function(_0x3751e5,_0x5e76ac,_0x5bd5c3,_0x287eef,_0x5bd8ee,_0x5c56fc,_0x31d1a4,_0x34cf63){var _0x33ec3d=_0x5eb22c;for(var _0x5d383a=this[_0x33ec3d(0x245)],_0x556323=_0x3751e5[_0x5e76ac]^_0x5bd5c3[0x0],_0x87e227=_0x3751e5[_0x5e76ac+0x1]^_0x5bd5c3[0x1],_0x3ceb9b=_0x3751e5[_0x5e76ac+0x2]^_0x5bd5c3[0x2],_0x5c26ee=_0x3751e5[_0x5e76ac+0x3]^_0x5bd5c3[0x3],_0x360a82=0x4,_0x4ff944=0x1;_0x4ff944<_0x5d383a;_0x4ff944++){var _0x514fd2=_0x287eef[_0x556323>>>0x18]^_0x5bd8ee[_0x87e227>>>0x10&0xff]^_0x5c56fc[_0x3ceb9b>>>0x8&0xff]^_0x31d1a4[_0x5c26ee&0xff]^_0x5bd5c3[_0x360a82++],_0xae1874=_0x287eef[_0x87e227>>>0x18]^_0x5bd8ee[_0x3ceb9b>>>0x10&0xff]^_0x5c56fc[_0x5c26ee>>>0x8&0xff]^_0x31d1a4[_0x556323&0xff]^_0x5bd5c3[_0x360a82++],_0x12604e=_0x287eef[_0x3ceb9b>>>0x18]^_0x5bd8ee[_0x5c26ee>>>0x10&0xff]^_0x5c56fc[_0x556323>>>0x8&0xff]^_0x31d1a4[_0x87e227&0xff]^_0x5bd5c3[_0x360a82++],_0x524db2=_0x287eef[_0x5c26ee>>>0x18]^_0x5bd8ee[_0x556323>>>0x10&0xff]^_0x5c56fc[_0x87e227>>>0x8&0xff]^_0x31d1a4[_0x3ceb9b&0xff]^_0x5bd5c3[_0x360a82++];_0x556323=_0x514fd2,_0x87e227=_0xae1874,_0x3ceb9b=_0x12604e,_0x5c26ee=_0x524db2;}var _0x514fd2=(_0x34cf63[_0x556323>>>0x18]<<0x18|_0x34cf63[_0x87e227>>>0x10&0xff]<<0x10|_0x34cf63[_0x3ceb9b>>>0x8&0xff]<<0x8|_0x34cf63[_0x5c26ee&0xff])^_0x5bd5c3[_0x360a82++],_0xae1874=(_0x34cf63[_0x87e227>>>0x18]<<0x18|_0x34cf63[_0x3ceb9b>>>0x10&0xff]<<0x10|_0x34cf63[_0x5c26ee>>>0x8&0xff]<<0x8|_0x34cf63[_0x556323&0xff])^_0x5bd5c3[_0x360a82++],_0x12604e=(_0x34cf63[_0x3ceb9b>>>0x18]<<0x18|_0x34cf63[_0x5c26ee>>>0x10&0xff]<<0x10|_0x34cf63[_0x556323>>>0x8&0xff]<<0x8|_0x34cf63[_0x87e227&0xff])^_0x5bd5c3[_0x360a82++],_0x524db2=(_0x34cf63[_0x5c26ee>>>0x18]<<0x18|_0x34cf63[_0x556323>>>0x10&0xff]<<0x10|_0x34cf63[_0x87e227>>>0x8&0xff]<<0x8|_0x34cf63[_0x3ceb9b&0xff])^_0x5bd5c3[_0x360a82++];_0x3751e5[_0x5e76ac]=_0x514fd2,_0x3751e5[_0x5e76ac+0x1]=_0xae1874,_0x3751e5[_0x5e76ac+0x2]=_0x12604e,_0x3751e5[_0x5e76ac+0x3]=_0x524db2;},'keySize':0x100/0x20});_0x37fa4b['AES']=_0x227fb3[_0x5eb22c(0x40a)](_0xf76294);}()),_0x48a192[_0x55d263(0x390)];}));}(Ve)),Ve[_0x522583(0x294)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x57ea30(0x294)],ai;function zr(){var _0x4090da=_0x57ea30;return ai||(ai=0x1,function(_0x2df0a3,_0x1f3996){(function(_0x4aa056,_0x42badf){var _0x50d0f8=_0x30c3;_0x2df0a3[_0x50d0f8(0x294)]=_0x42badf(ne());}(qr,function(_0xcaa399){var _0x85d15c=_0x30c3;return _0xcaa399[_0x85d15c(0x374)][_0x85d15c(0x3d0)];}));}(Xe)),Xe[_0x4090da(0x294)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze['exports'],ci;function Qr(){var _0x35be6b=_0x57ea30;return ci||(ci=0x1,function(_0x4c873a,_0x5cb069){(function(_0x4081f5,_0x337ca5){var _0x3a145c=_0x30c3;_0x4c873a[_0x3a145c(0x294)]=_0x337ca5(ne());}(Zr,function(_0x18a038){var _0x11451a=_0x30c3;return(function(){var _0x447ffe=_0x30c3;if(typeof ArrayBuffer==_0x447ffe(0x2d6)){var _0x1624ff=_0x18a038,_0x46f88c=_0x1624ff[_0x447ffe(0x1f4)],_0x4fca5d=_0x46f88c[_0x447ffe(0x2c3)],_0x373894=_0x4fca5d[_0x447ffe(0x1b3)],_0x960acd=_0x4fca5d['init']=function(_0x414107){var _0x486e75=_0x447ffe;if(_0x414107 instanceof ArrayBuffer&&(_0x414107=new Uint8Array(_0x414107)),(_0x414107 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x414107 instanceof Uint8ClampedArray||_0x414107 instanceof Int16Array||_0x414107 instanceof Uint16Array||_0x414107 instanceof Int32Array||_0x414107 instanceof Uint32Array||_0x414107 instanceof Float32Array||_0x414107 instanceof Float64Array)&&(_0x414107=new Uint8Array(_0x414107[_0x486e75(0x43d)],_0x414107[_0x486e75(0x1d5)],_0x414107[_0x486e75(0x1cb)])),_0x414107 instanceof Uint8Array){for(var _0x670779=_0x414107[_0x486e75(0x1cb)],_0x578cb6=[],_0x14cc78=0x0;_0x14cc78<_0x670779;_0x14cc78++)_0x578cb6[_0x14cc78>>>0x2]|=_0x414107[_0x14cc78]<<0x18-_0x14cc78%0x4*0x8;_0x373894[_0x486e75(0x209)](this,_0x578cb6,_0x670779);}else _0x373894['apply'](this,arguments);};_0x960acd[_0x447ffe(0x33d)]=_0x4fca5d;}}()),_0x18a038[_0x11451a(0x1f4)][_0x11451a(0x2c3)];}));}(Ze)),Ze[_0x35be6b(0x294)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x57ea30(0x294)],hi;function ns(){var _0x7ed198=_0x57ea30;return hi||(hi=0x1,function(_0x5cabce,_0x7b440e){(function(_0x37927a,_0x3b22b1,_0x53be73){var _0x57bd4d=_0x30c3;_0x5cabce[_0x57bd4d(0x294)]=_0x3b22b1(ne(),Ai());}(is,function(_0x20bc0e){var _0x3fa20a=_0x30c3;return _0x20bc0e[_0x3fa20a(0x396)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x20bc0e[_0x3fa20a(0x396)][_0x3fa20a(0x21f)];}));}(Qe)),Qe[_0x7ed198(0x294)];}var rs=ns();const ss=ke(rs);function os(_0x3e57ad,_0x201861){var _0x11c2de=_0x57ea30;const _0x1931dc=_0x201861-_0x3e57ad[_0x11c2de(0x1d3)]%_0x201861,_0x3150f8=String[_0x11c2de(0x187)](_0x1931dc)[_0x11c2de(0x378)](_0x1931dc);return _0x3e57ad+_0x3150f8;}function as(_0x25c005,_0x54bde7){var _0xc15db=_0x57ea30;const _0x10f795=ts[_0xc15db(0x32f)](0x10),_0x581b1f=os(_0x25c005,0x10),_0x32cc0f=Kr[_0xc15db(0x1c1)](Xr[_0xc15db(0x228)](_0x581b1f),oi[_0xc15db(0x228)](_0x54bde7),{'iv':_0x10f795,'padding':ss});return _0x10f795['concat'](_0x32cc0f[_0xc15db(0x2d5)])['toString'](oi);}function cs(){var _0x5c8aab=_0x57ea30;const _0x1a2520=_0x27997a()[_0x5c8aab(0x170)];if(_0x1a2520){const _0x561ab1={'time':Math[_0x5c8aab(0x1f9)](Date['now']()/0x3e8),'domain':location[_0x5c8aab(0x163)]};return as(JSON[_0x5c8aab(0x3ea)](_0x561ab1),_0x1a2520);}}var hs=Object[_0x57ea30(0x2ab)],_s=Object[_0x57ea30(0x457)],ls=(_0x2ceb30,_0x4b0a83,_0x411066,_0x92e341)=>{var _0x38d1d7=_0x57ea30;for(var _0xa67bc=_0x92e341>0x1?void 0x0:_0x92e341?_s(_0x4b0a83,_0x411066):_0x4b0a83,_0x3f1ecb=_0x2ceb30[_0x38d1d7(0x1d3)]-0x1,_0x477b6d;_0x3f1ecb>=0x0;_0x3f1ecb--)(_0x477b6d=_0x2ceb30[_0x3f1ecb])&&(_0xa67bc=(_0x92e341?_0x477b6d(_0x4b0a83,_0x411066,_0xa67bc):_0x477b6d(_0xa67bc))||_0xa67bc);return _0x92e341&&_0xa67bc&&hs(_0x4b0a83,_0x411066,_0xa67bc),_0xa67bc;},us=(_0x15ef62,_0x1e472a)=>(_0x10d898,_0x443f36)=>_0x1e472a(_0x10d898,_0x443f36,_0x15ef62);let ot=class{constructor(_0x36ec2a){var _0xdda260=_0x57ea30;this[_0xdda260(0x2ec)]=_0x36ec2a,this['_initRequestHeader']();}[_0x57ea30(0x1fd)](){var _0x375a80=_0x57ea30;this['_httpService'][_0x375a80(0x18f)]({'interceptor':(_0xd36374,_0x21b74b)=>{var _0x3e5edb=_0x375a80;const _0x167896=_0xd36374[_0x3e5edb(0x444)],_0x3da07f=cs();return _0x3da07f&&_0x167896[_0x3e5edb(0x44b)](_0x3e5edb(0x313),_0x3da07f),_0x21b74b(_0xd36374);}});}};ot=ls([us(0x0,_0x121c70(_0x457bbb))],ot);var ds=Object[_0x57ea30(0x2ab)],fs=Object[_0x57ea30(0x457)],vs=(_0x1abc06,_0x1f810c,_0x390d37,_0x1994a9)=>{for(var _0x260705=_0x1994a9>0x1?void 0x0:_0x1994a9?fs(_0x1f810c,_0x390d37):_0x1f810c,_0x2a7bc1=_0x1abc06['length']-0x1,_0x17305e;_0x2a7bc1>=0x0;_0x2a7bc1--)(_0x17305e=_0x1abc06[_0x2a7bc1])&&(_0x260705=(_0x1994a9?_0x17305e(_0x1f810c,_0x390d37,_0x260705):_0x17305e(_0x260705))||_0x260705);return _0x1994a9&&_0x260705&&ds(_0x1f810c,_0x390d37,_0x260705),_0x260705;},mt=(_0x52c57a,_0x12d007)=>(_0x2e3847,_0x3393bd)=>_0x12d007(_0x2e3847,_0x3393bd,_0x52c57a);let Ot=class extends _0x577131{constructor(_0x655f53,_0x40c5c5,_0xf05122){var _0x3c3f4b=_0x57ea30;super(),N(this,_0x3c3f4b(0x43a),new _0x21aea0(null)),N(this,_0x3c3f4b(0x2ae),this[_0x3c3f4b(0x43a)][_0x3c3f4b(0x271)]()),(this[_0x3c3f4b(0x26f)]=_0x655f53,this[_0x3c3f4b(0x38a)]=_0x40c5c5,this[_0x3c3f4b(0x42d)]=_0xf05122);}async[_0x57ea30(0x411)](_0x474ec3,_0x4e71d1,_0x249b95){var _0xc6d8b7=_0x57ea30;this['_unitInfo$'][_0xc6d8b7(0x205)]({'unitId':_0x474ec3,'type':_0x4e71d1,'subUnitId':_0x249b95});let _0x31c129=null;switch(_0x4e71d1){case Q[_0xc6d8b7(0x2d1)]:{_0x31c129=await this[_0xc6d8b7(0x34b)](_0x474ec3);break;}case Q[_0xc6d8b7(0x44d)]:{_0x31c129=await this[_0xc6d8b7(0x338)](_0x474ec3);break;}default:{this[_0xc6d8b7(0x26f)]['error'](_0xc6d8b7(0x352),_0xc6d8b7(0x42f));break;}}return _0x31c129;}async[_0x57ea30(0x34b)](_0x2bc8af){var _0x1ac279=_0x57ea30,_0x53370e;let _0x3fb610=0x0;const _0x31e39f=await((_0x53370e=this[_0x1ac279(0x42d)])==null?void 0x0:_0x53370e[_0x1ac279(0x323)](_0x2bc8af));return _0x31e39f&&(_0x31e39f[_0x1ac279(0x366)]||_0x31e39f[_0x1ac279(0x409)][_0x1ac279(0x1d3)]!==0x0)&&(_0x3fb610=_0x31e39f['rev']),_0x3fb610===0x0&&this[_0x1ac279(0x26f)]['debug'](_0x1ac279(0x352),_0x1ac279(0x3b7)),this[_0x1ac279(0x38a)][_0x1ac279(0x3e3)](_0x2bc8af,_0x3fb610);}async['_loadDoc'](_0x1c96c5){var _0x3dd5fc=_0x57ea30,_0x2ef512;let _0x3da2b6=0x0;const _0x4ba457=await((_0x2ef512=this['_localCacheService'])==null?void 0x0:_0x2ef512[_0x3dd5fc(0x323)](_0x1c96c5));return _0x4ba457&&(_0x4ba457['awaitingChangeset']||_0x4ba457[_0x3dd5fc(0x409)][_0x3dd5fc(0x1d3)]!==0x0)&&(_0x3da2b6=_0x4ba457['rev']),_0x3da2b6===0x0&&this[_0x3dd5fc(0x26f)][_0x3dd5fc(0x243)](_0x3dd5fc(0x352),_0x3dd5fc(0x3b7)),this['_snapshotService'][_0x3dd5fc(0x431)](_0x1c96c5,_0x3da2b6);}};Ot=vs([mt(0x0,_0x410aea),mt(0x1,_0x121c70(_0x2a96f5)),mt(0x2,_0x1d8841(J))],Ot);var ps=Object[_0x57ea30(0x2ab)],ms=Object[_0x57ea30(0x457)],gs=(_0xbb5666,_0x33d763,_0x1a4287,_0x3493cf)=>{var _0x10a924=_0x57ea30;for(var _0x20617f=_0x3493cf>0x1?void 0x0:_0x3493cf?ms(_0x33d763,_0x1a4287):_0x33d763,_0x367872=_0xbb5666[_0x10a924(0x1d3)]-0x1,_0x4820e8;_0x367872>=0x0;_0x367872--)(_0x4820e8=_0xbb5666[_0x367872])&&(_0x20617f=(_0x3493cf?_0x4820e8(_0x33d763,_0x1a4287,_0x20617f):_0x4820e8(_0x20617f))||_0x20617f);return _0x3493cf&&_0x20617f&&ps(_0x33d763,_0x1a4287,_0x20617f),_0x20617f;},gt=(_0x5ad240,_0x4a6f29)=>(_0x3e03e4,_0x2c6110)=>_0x4a6f29(_0x3e03e4,_0x2c6110,_0x5ad240);const Ss=[_0x57ea30(0x3de),_0x57ea30(0x332),_0x57ea30(0x3a2),_0x57ea30(0x16e),_0x57ea30(0x242)],Es=0x5*0x400*0x400,Is=_0x57ea30(0x3c5),Ts=_0x57ea30(0x2f0),Cs=_0x57ea30(0x1ff),Rs='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x314128,_0x1d9275,_0x56e20a){var _0xec4ccf=_0x57ea30;N(this,'_waitCount',0x0),N(this,_0xec4ccf(0x326),new _0x378d79()),N(this,_0xec4ccf(0x2c5),this[_0xec4ccf(0x326)]),N(this,_0xec4ccf(0x360),new Map()),(this['_httpService']=_0x314128,this[_0xec4ccf(0x276)]=_0x1d9275,this[_0xec4ccf(0x46f)]=_0x56e20a);}[_0x57ea30(0x23c)](_0x2054f5){var _0x51c7b8=_0x57ea30;this[_0x51c7b8(0x20e)]=_0x2054f5,this[_0x51c7b8(0x326)]['next'](_0x2054f5);}[_0x57ea30(0x454)](_0x56d71b,_0xfaf81){var _0x3a2a48=_0x57ea30;if(_0xfaf81===_0x3aee31['BASE64']){const _0x2af99e=new Image();return _0x2af99e[_0x3a2a48(0x37d)]=_0x56d71b,_0x2af99e;}return this[_0x3a2a48(0x360)]['get'](_0x56d71b);}[_0x57ea30(0x2fc)](_0x518858,_0x3f8ba0,_0x48ad81){var _0x4ddbf5=_0x57ea30;_0x3f8ba0===_0x3aee31['BASE64']||_0x48ad81==null||this[_0x4ddbf5(0x360)][_0x4ddbf5(0x44b)](_0x518858,_0x48ad81);}async[_0x57ea30(0x15f)](_0x2a895b){var _0x3e2b1b=_0x57ea30;try{const _0xa9e620=this[_0x3e2b1b(0x44a)](this[_0x3e2b1b(0x3ca)](),''+_0x2a895b),_0x4ce792=(await this[_0x3e2b1b(0x2ec)][_0x3e2b1b(0x17b)](_0xa9e620))[_0x3e2b1b(0x3d6)];if(_0x4ce792[_0x3e2b1b(0x24b)]&&_0x4ce792[_0x3e2b1b(0x24b)]['code']===Ii['OK']){const _0x35f490=new URL(_0x4ce792['url'],this[_0x3e2b1b(0x3e4)]())['toString']();return Promise[_0x3e2b1b(0x1c9)](_0x35f490);}return Promise['reject'](_0x4ce792['error']);}catch(_0xc1677d){return Promise[_0x3e2b1b(0x2ed)](_0xc1677d);}}async[_0x57ea30(0x173)](_0x211fa0){var _0x4383f9=_0x57ea30;let _0x236ada='';if(!Ss[_0x4383f9(0x39b)](_0x211fa0[_0x4383f9(0x466)]))return this[_0x4383f9(0x433)](),Promise[_0x4383f9(0x2ed)](new Error(_0x57e7c3['ERROR_IMAGE_TYPE']));if(_0x211fa0['size']>Es)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x57e7c3['ERROR_EXCEED_SIZE']));try{const _0x2d4713=new FormData();_0x2d4713['append'](_0x4383f9(0x299),_0x211fa0);const _0x3a5fe9=this[_0x4383f9(0x46f)][_0x4383f9(0x393)](),_0x265228=_0x3a5fe9==null?void 0x0:_0x3a5fe9[_0x4383f9(0x377)]();if(!_0x265228)throw new Error(_0x4383f9(0x3d5));const _0x4a3882=this[_0x4383f9(0x1da)]()+_0x4383f9(0x37e)+_0x211fa0['size'][_0x4383f9(0x416)]()+_0x4383f9(0x35a)+Ti[_0x4383f9(0x33e)]+_0x4383f9(0x292)+encodeURIComponent(_0x265228),_0x562137=await(await fetch(_0x4a3882,{'method':'POST','body':_0x2d4713}))[_0x4383f9(0x38f)]();if(typeof _0x562137[_0x4383f9(0x19f)]!=_0x4383f9(0x3e0))return this[_0x4383f9(0x433)](),Promise['reject'](new Error(_0x57e7c3[_0x4383f9(0x3af)]));_0x236ada=_0x562137['FileId'];}catch{return this[_0x4383f9(0x433)](),Promise[_0x4383f9(0x2ed)](new Error(_0x57e7c3[_0x4383f9(0x3af)]));}return new Promise((_0x3bf61e,_0xbfc3eb)=>{var _0x3071f6=_0x4383f9;const _0x3f3034=new FileReader();_0x3f3034['readAsDataURL'](_0x211fa0),_0x3f3034[_0x3071f6(0x3c9)]=_0x17afeb=>{var _0x4597f3=_0x3071f6,_0x5d1e14;const _0x4464ca=(_0x5d1e14=_0x17afeb[_0x4597f3(0x39e)])==null?void 0x0:_0x5d1e14[_0x4597f3(0x2e3)];if(_0x4464ca==null){this[_0x4597f3(0x433)](),_0xbfc3eb(new Error(_0x57e7c3[_0x4597f3(0x3af)]));return;}const _0x15853e=_0xb8971a[_0x4597f3(0x3ae)](0x6);_0x3bf61e({'imageId':_0x15853e,'imageSourceType':_0x3aee31[_0x4597f3(0x264)],'source':_0x236ada,'base64Cache':_0x4464ca,'status':_0x57e7c3[_0x4597f3(0x18b)]}),this[_0x4597f3(0x433)]();};});}['_getUploadFileURL'](){var _0x26ece1=_0x57ea30,_0x3638b3,_0x55b94b;const _0x544409=this[_0x26ece1(0x276)][_0x26ece1(0x341)](Is),_0x7b55da=this[_0x26ece1(0x276)][_0x26ece1(0x341)](q);return(_0x55b94b=(_0x3638b3=_0x7b55da==null?void 0x0:_0x7b55da[_0x26ece1(0x380)])!=null?_0x3638b3:_0x544409)!=null?_0x55b94b:Ts;}['_getSignURL'](){var _0x4d2ced=_0x57ea30,_0x320204,_0x255059;const _0x3a1ff5=this[_0x4d2ced(0x276)][_0x4d2ced(0x341)](Cs),_0x15b9e6=this[_0x4d2ced(0x276)][_0x4d2ced(0x341)](q);return(_0x255059=(_0x320204=_0x15b9e6==null?void 0x0:_0x15b9e6['signUrlServerUrl'])!=null?_0x320204:_0x3a1ff5)!=null?_0x255059:Rs;}[_0x57ea30(0x3e4)](){var _0x1fa135=_0x57ea30,_0xa3986d;const _0x70360e=this[_0x1fa135(0x276)][_0x1fa135(0x341)](q);return(_0xa3986d=_0x70360e==null?void 0x0:_0x70360e[_0x1fa135(0x208)])!=null?_0xa3986d:location['origin'];}['_replaceFileID'](_0x518ca1,_0x4dfd82){var _0x3d4bc6=_0x57ea30;return _0x518ca1[_0x3d4bc6(0x395)](_0x3d4bc6(0x3fe),_0x4dfd82);}[_0x57ea30(0x433)](){var _0x4bf470=_0x57ea30;this['_waitCount']-=0x1,this[_0x4bf470(0x326)]['next'](this[_0x4bf470(0x20e)]);}};function _0x2a30(){var _0x1a7081=['getCollabEntity$','SYNCED','createInstance','file','_throwTelemetryCollaborationNewChangeset','startsWith','_transformRemoteChangesetByIMECache','origin','_clearTimeoutTimer','liveShareOperation','disableLocalCache','eventID','SOCKET_FAILED','addHandlerCallback','_onConnectionFailed','RETRY_CONNECTING_MAX_COUNT','_onConnectionOpen','[OfflineState]:\x20received\x20acknowledgement.','_socketMessageSubscription','readInt32LE','mode','defineProperty','onTransformSelections','/fetchmissing?from=','unitInfo$','_substituteRedoStack','onCommandExecuted','enableOfflineEditing','HMAC','event$','PERSON','[CollaborationState]:\x20apply\x20error!','_process','USERS_ENTER','_executeRemoteChangeset','members$','getCurrentUser','_retryConnectingTimer','Hex','UNKNOWN_CMD','sigBytes','_onOffline','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','liveShareNewHost','Hasher','WordArray','objects','change$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','withCredentials','_sendHeartbeatTimer','map','_sender','SEND_CHANGESET_TIMEOUT','BufferedBlockAlgorithm','processBlock','name','fromCollab','/allowed','UNIVER_SHEET','_rescheduleHeartbeat','delete','__creator','ciphertext','function','_cipher','uniscriptRunEvent','_startCollaboration','CLOSE_ROOM','open$','YUUMI_URL_COL_OUT_OF_RANGE','getMember','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','CONNECTOR_DATA_TOO_LARGE','_scheduleCompleteTimestamp','_onCombEvent','_doProcessBlock','result','_resendWithTimeout','UNIVER_COLLABORATION_CLIENT_PLUGIN','/role','_init','/unit/','_submitChangeset','_unitID','_doCryptBlock','_httpService','reject','_iKey','_getAPIPrefix','/universer-api/stream/file/upload','getResourcesRequest','INTERNAL_ERROR','_status$','APPLY_NON_SEQUENTIAL_REVISION','1748436UByNzv','onCommentUpdate','_onUserLeave','/rev/','fetchThroughInterceptors','SNAPSHOT_INVALID_SNAPSHOT','clear','addImageSourceCache','disposeWithMe','collaborators','method','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_networkConditionService','params','padding','iterations','objectID','LIVESHARE_OPERATION','runId','[SyncedState]:\x20received\x20rejection.','_emitMembers','save\x20fail\x20reason\x20is\x20','CHANGESET_SHOULD_RETRY','UPDATE_CURSOR','/universer-api/authz','HEARTBEAT','NOT_COLLAB','c2Prime','/universer-api/snapshot','close','x-univer-host','_singleActiveUnitService','_entities','_xformMode','pluginName','charCodeAt','unpad','_checkMissing','EvpKDF','_revisionService','COMMENT_UPDATE','LICENSE_EXPORT_SIZE_EXCEEDED','join','OTHER_CLIENT_EDITING','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','195vUvXPo','loadOfflineData','Could\x20not\x20dynamically\x20require\x20\x22','_keyPriorReset','_change$','_updateLocalCache','_sendingTimer','_createHandler','ws://127.0.0.1:8000/universer-api/comb/connect','connection\x20error','_collaborationTimeoutTimer','cmd','_disableEditing','random','LEAVE','requestParams','image/jpeg','state$','charAt','onTransformRemoteChangesetByStateCache','_commandService','forEach','_loadDoc','62YlTjmP','isArray','fetchMiss','enableSingleActiveInstanceLock','prototype','UnitEmbedded','editing\x20status\x20changed\x20to','waitForRoom$','getConfig','auth.needGotoLoginAlert','getUnitOnRev','message$','YUUMI_UNABLE_LOAD_URL','AWAITING','_getUndoStack','_telemetryInfo','OFFLINE','UNIVER_SLIDE','_loadSheet','data','transformMutationsWithChangeset','SUBMIT_CHANGESET','StreamCipher','batchAllowed','encryptBlock','[DataLoaderService]','workbook','collaboration-client.config','_listenToNetworkCondition','getRoom','_doReset','_retryCount','_handler','&source=','collaboration_new_changeset','_HTTPService','sessionStatus$','revision','MD5','_imageSourceCache','pending','now','_clearRedo','_lockTransition','_roomCreated$','awaitingChangeset','_initDependencies','createDecryptor','find','interceptor','_fetchMissChangesets','send','changesets','sendChangesetTimeout','unknown','UNISCRIPT_RUN','onStarting','/universer-api/snapshot/','Base64','enc','_compressMutationService','subUnitId','getUnitId','repeat','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','allowed','_state','permissionRejEvent','src','?size=','randomUUID','uploadFileServerUrl','getTime','getUnitType','getTypeOfUnitDisposed$','pauseCollaboration','[OfflineState]:\x20received\x20changeset.','list','splice','_stopTelemetryCollaborationNewChangeset','_onRemoteRetry','_snapshotService','stopTime','UNAUTHENTICATED','kdf','ALREADY_EXISTS','json','AES','\x20to\x20','_onFetchMissResult','getFocusedUnit','HmacMD5','replace','pad','concat','reduce','originalMeta','updatePermissionPoint','includes','_socket','_doFinalize','target','_eventService','JOINING','_transformIMECache','image/jpg','getTypeOfUnitAdded$','IDLE','_tryEnsureSocket','snapshot','getMemberID','apply','crypto','CBC','LIVESHARE_FETCH_OPERATIONS','_createInitialState','CONFLICT','generateRandomId','ERROR_IMAGE','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_commentService','refreshPermission','collabSubmitChangesetUrl','_collaborationPaused','wsSessionTicketUrl','_onJoinRoomEvent','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','BlockCipher','mixIn','FAIL','error$','collaMsg','SOCKET_FAILED_RETRY','_socket$','JOIN_ROOM_FAILED','getSnapshotAPIPath','_toggleOnline','put','reset','_config','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','$super','awaiting_with_pending','COMPRESS_MUTATION_SEND','onload','_getSignURL','_showConflictNotification','JOIN','csShouldRetryEvent','socketService','_oKey','Utf8','_changesetSessionId','unit-cache-','_localeService','_createSocketURL','unitId\x20is\x20not\x20found','body','blockSize','_onUserJoin','HELLO','commentUpdateEvent','_invKeySchedule','saveSnapshot','_scheduleCollaborationTimeoutTimer','image/png','every','string','SHOULD_CLOSE_CONN','/object','loadSheet','_getDownloadEndpointURL','_onRemoteACK','session.room-cnt-exceeds','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_schedule','UNDEFINED','stringify','createCollaborator','_injector','getWorkbookSelections','_timeoutTimer','HEARTBEAT_INTERVAL','reconnect','title','href','YUUMI_RATE_OVER_LIMIT','getCurrentRevOfUnit','transformChangesets','onTransformRemoteChangesetByIMECache','LICENSE_MAX_UNITS_EXCEEDED','isPermissionRej','_isPermissionRej','_transformUndoredo','_onLocalMutation','FETCH_MISS','close$','{fileID}','/universer-api/oidc/authpage','getRandomValues','[PendingState]:\x20received\x20acknowledgement.','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','members','YUUMI_SUBSCRIPTION_NOT_FOUND','post','univer-pro.collaboration-client-socket-service','search','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','mutations','_createHelper','state','12848AKESkW','\x20-\x20','SNAPSHOT_SERVER_URL_KEY','LIVESHARE_REQUEST_HOST','_clearCollaborationTimeoutTimer','loadUnit','COLLAB_SUBMIT_CHANGESET_URL','_parse','NEW_CHANGESETS','executeCommand','toString','[CollaborationSessionService]:\x20socket\x20error','UPDATE_PERMISSION_OBJ','routeKey','NO_OTHER_CLIENTS_EDITING','_collaborationUIEventService','has','_sessionStatus$','getUnit','_transformStateCache','toggleOnline','leaveEvent','APPLY_PERMISSION_DENIED','hasOwnProperty','PERMISSION_DENIED','updateMember','clone','[CollaborationSession]','_clearHeartbeatTimer','keySize','Pkcs7','hasher','_incrementRevisionNumber','_localCacheService','ceil','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','requireSession','loadDoc','format','_decreaseWaiting','UNIVER_PROJECT','listCollaborators','/new_changes','deleteCollaborator','updatePermissionObjEvent','entries','_unitInfo$','_initCloseConn','salt','buffer','PERMISSION_REJ','createEncryptor','APPLY_DUPLICATED','_mode','encode','infoRsp','headers','_onRemoteRejected','_entityInit$','_hasher','objectType','ONLINE','_replaceFileID','set','_type','UNIVER_DOC','bind','SNAPSHOT_HAS_BEEN_REMOVED','indexOf','MSG_FOR_ERROR','CHANGESET_REVISION_CONFILICT','75RoWUzJ','getImageSourceCache','getCollabEntity','updateOfflineData','getOwnPropertyDescriptor','CHANGESET_ACK','_nDataBytes','_commentUpdate$','override','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','status$','_transitionLocked','/collaborator','_startTelemetryCollaborationNewChangeset','newCsEvent','_unlockTransition','roomInfos','_transformService','_authzIoService','type','19904mPzqeO','symbol','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','INVALID_ARGUMENT','unsubscribe','complete','NOT_FOUND','[UniverCollaborationClientPlugin]','_univerInstanceService','USERS_LEAVE','conflict','_resendTimeout','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_instanceService','session','OTHER_CLIENTS_EDITING','_syncEditingCollabCursor','failed\x20to\x20apply\x20missed\x20changesets!','_registerDependencies','transformStack\x20failed!','getImage','24saKQiB','synced','onRemoteAck','hostname','words','getInterceptPoints','csAckEvent','TOO_MANY_REQUESTS','_createInitialStateImpl','_transformStack','update','_prevBlock','getAllMembers','msCrypto','image/gif','_socketReady','__Key__','_ENC_XFORM_MODE','then','saveImage','algo','[FetchMissState]','[CollaborationSessionService]','_getCtorByUniverType','HEARTBEAT_TIMEOUT','subscribe','execute','get','awaiting','onTransformState','_reverseMap','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','objectActions','values','FETCH_MISSING','[CollaborationUndoRedoService]','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','Cipher','focused$','fromCharCode','_createSocket','45268wgXznV','session.room-not-exists','SUCCUSS','_replayCachedMutations','[PendingState]:\x20unhandled\x20univer\x20type:\x20','?url=','registerHTTPInterceptor','c1Prime','getSheetBlock','size','_redoStacks','closeSession','_hash','actions','pipe','location','url','finalize','_clearLocalCache','memberID','_transformRemoteChangesetByStateCache','toggleOffline','FileId','univer-pro.collaboration-client.single-active-unit-service','_initMergeInterceptor','getUnitStatus$','_clearUndo','onSyncEditingCollabCursor','Encryptor','/block/','5540YvuDVq','_getLoginPath','toLowerCase','_updateState','onRemoteRej','_exhaustRemoteChangesetQueue','min','baseRev','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','enableAuthServer','slice','MUTATION','init','469285hNKibq','_getRedoStack','reqId','_createHmacHelper','getDeserializedSheetBlock','userID','incrementRevOfUnit','session.join-failed','LOGIN_URL_KEY','listRoles','status','LICENSE_DISTRO_REJECTED','socket\x20close','encrypt','compose','onMissedChangesetFetched','dispose$','confirm','onSendChangeset','_getSessionTicket','Base','resolve','JOIN_ROOM_NOT_EXISTS','byteLength','roles','People','createSocket','decrypt','6GEJjfj','_waitForHeartbeatResponse','code','length','_sessions','byteOffset','appendMutation','push','_shouldReportTelemetry','capture','_getUploadFileURL','/universer-api/user/session-ticket','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_updateStatus','from','\x20in\x20_schedule.','APPLY_REVISION_CONFILICT','UNIVER_UNKNOWN','saveSheetBlock','sessionTicket','compute','shouldCloseConn','authzUrl','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_members','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','create','HttpExport','_awaitingChangeset','filter','offline','\x0aAfter:\x20','_removeRoom','APPLY_REJECT','_queuedRemoteChangesets','GLOBAL_ROOMS_CNT_EXCEEDS','lib','_permissionService','saveChangeset','_state$','_toggleOffline','floor','extend','/object/','&to=','_initRequestHeader','searchParams','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_minBufferSize','3831667lQDRjR','startTime','equals','_collaborationSessionService','next','_acknowledgedAwaitingChangeset','_onRemoteChangeset','downloadEndpointUrl','call','selections','_transformSelections','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','onRemoteRetry','_waitCount','SHA1','UNKNOWN_CODE','_onRecvEvent','_sendHeartbeat','setCurrentUser','dispose','ENSURE_SNAPSHOT_EXECUTION','editingUnit','max','COMPRESS_MUTATION_APPLY','getLatestCsReqIdBySid','emitEvent','_keySchedule','_joinRoom','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_members$','NoPadding','_iv','/-/object/list','onlyLocal','_substituteUndoStack','JOIN_ROOM_FULL','SUBMIT_CHANGESET_TIMEOUT','Undefined','JOIN_ROOM_PERMISSION_DENIED','parse','onMissingChangesets','onLocalMutation','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_socketService','1230678xUwlDL','UnitSnapshot','UNRECOGNIZED','clamp','_candidateSocket','ivSize','textRanges','abs','_changesetReqId','getValue','univer-pro.collaboration-client.network-condition.service','_tryReconnect','unitID','_applyRemoteChangeset','CHANGESET_REJ','setWaitCount','default','patch','_getSendChangesetTimeout','RECV','_onConflict','image/bmp','debug','fetch_missing','_nRounds','OpenSSL','sid','subject','COLLAB_WEB_SOCKET_URL','INGEST','error','PY_RUNTIME_SCRIPT_ERROR','decryptBlock','snapshotServerUrl','CipherParams','_initUnitPermissionChange','_telemetryService','getCurrentSelections','_map','_append','m2Prime','_getAPIPrefixPath','POST','onTransformIME','collabWebSocketUrl','_roomMembers','localeService','substr','_getCurrentRevision','_undoRedoService','_resendTimer','fetching\x20missing\x20changesets\x20from\x20','[SyncedState]:\x20received\x20acknowledgement.','resourceIDs','HmacSHA1','UUID','updateCollaborator','session.room-full','_data','catch','onRemoteChangeset','rng','randomBytes','PSEUDO_FETCH_MISSING_RESULT','localCacheService','joinEvent','_logService','removeMember','asObservable','_userManagerService','range','deepClone','key','_configService','HttpImport','_pendingMutations','not_collab','[PendingState]:\x20received\x20rejection.','_key','LICENSE_IMPORT_SIZE_EXCEEDED','_clearScheduledTask','/universer-api/comb','setShowComponents','cfg','_http','retryConnectingInterval','session.room-permission-denied','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_remoteChangesetQueue','resend','COMPLETION_FINISHED','unitId','add','commentUpdate$','avatar','LIVESHARE_TERMINATE','sessionStatus','transformSelections','fetchMissingChangesets','_handlerCallback','_event$','&assign=','_memberService','exports','collaboration-client.local-cache-service'];_0x2a30=function(){return _0x1a7081;};return _0x2a30();}yt=gs([gt(0x0,_0x121c70(_0x457bbb)),gt(0x1,_0x5a8f33),gt(0x2,_0x121c70(_0x3b1049))],yt);var bs=Object[_0x57ea30(0x2ab)],Os=Object[_0x57ea30(0x457)],ys=(_0x2cfc9a,_0x361039,_0x5da77d,_0x39008b)=>{var _0x4bc045=_0x57ea30;for(var _0x9edbdd=_0x39008b>0x1?void 0x0:_0x39008b?Os(_0x361039,_0x5da77d):_0x361039,_0x8493e0=_0x2cfc9a[_0x4bc045(0x1d3)]-0x1,_0x5cd991;_0x8493e0>=0x0;_0x8493e0--)(_0x5cd991=_0x2cfc9a[_0x8493e0])&&(_0x9edbdd=(_0x39008b?_0x5cd991(_0x361039,_0x5da77d,_0x9edbdd):_0x5cd991(_0x9edbdd))||_0x9edbdd);return _0x39008b&&_0x9edbdd&&bs(_0x361039,_0x5da77d,_0x9edbdd),_0x9edbdd;},_i=(_0x206d85,_0x2dc00c)=>(_0x252806,_0x50c96f)=>_0x2dc00c(_0x252806,_0x50c96f,_0x206d85);const Ns='/universer-api/authz';let Nt=class{constructor(_0x31f4f6,_0x2d7150){var _0x5cb769=_0x57ea30;this[_0x5cb769(0x276)]=_0x31f4f6,this[_0x5cb769(0x35c)]=_0x2d7150;}['_getAPIPrefixPath'](){var _0x2e7490=_0x57ea30,_0x52d30c,_0x50b71b;const _0x21e389=this[_0x2e7490(0x276)][_0x2e7490(0x341)](Pi),_0x5e0bd2=this[_0x2e7490(0x276)][_0x2e7490(0x341)](q);return(_0x50b71b=(_0x52d30c=_0x5e0bd2==null?void 0x0:_0x5e0bd2[_0x2e7490(0x1e6)])!=null?_0x52d30c:_0x21e389)!=null?_0x50b71b:Ns;}async[_0x57ea30(0x386)](_0xa3fbdc){var _0x4e77b1=_0x57ea30;const _0x2c6250=this['_getAPIPrefixPath']()+_0x4e77b1(0x45f);return{'list':[{'title':_0x4e77b1(0x1cd),'mentions':(await this[_0x4e77b1(0x35c)][_0x4e77b1(0x17b)](_0x2c6250,{'params':{'objectID':_0xa3fbdc[_0x4e77b1(0x288)],'unitID':_0xa3fbdc[_0x4e77b1(0x288)]}}))['body'][_0x4e77b1(0x2fe)][_0x4e77b1(0x2c9)](_0x2e6c75=>({'objectId':_0x2e6c75['id'],'name':_0x2e6c75[_0x4e77b1(0x248)][_0x4e77b1(0x2ce)],'metadata':{'icon':_0x2e6c75[_0x4e77b1(0x248)][_0x4e77b1(0x28b)]},'label':_0x2e6c75[_0x4e77b1(0x248)][_0x4e77b1(0x2ce)],'objectType':_0xce523b['PERSON']})),'metadata':{},'type':_0xce523b[_0x4e77b1(0x2b4)]}]};}};Nt=ys([_i(0x0,_0x121c70(_0x5a8f33)),_i(0x1,_0x121c70(_0x457bbb))],Nt);var Ds=Object['defineProperty'],Ps=Object[_0x57ea30(0x457)],ws=(_0x527ba2,_0x21eb19,_0x1a101e,_0x33b6fb)=>{for(var _0x18f7c3=_0x33b6fb>0x1?void 0x0:_0x33b6fb?Ps(_0x21eb19,_0x1a101e):_0x21eb19,_0x4bc380=_0x527ba2['length']-0x1,_0x1e129b;_0x4bc380>=0x0;_0x4bc380--)(_0x1e129b=_0x527ba2[_0x4bc380])&&(_0x18f7c3=(_0x33b6fb?_0x1e129b(_0x21eb19,_0x1a101e,_0x18f7c3):_0x1e129b(_0x18f7c3))||_0x18f7c3);return _0x33b6fb&&_0x18f7c3&&Ds(_0x21eb19,_0x1a101e,_0x18f7c3),_0x18f7c3;},Se=(_0x5d2951,_0x599151)=>(_0x48714a,_0x4ad88e)=>_0x599151(_0x48714a,_0x4ad88e,_0x5d2951);let at=class extends _0x577131{constructor(_0x58c8f9,_0x513403,_0x3a95c3,_0x11e320,_0xd4d968,_0x334b70,_0x7a5193){var _0x3097d7=_0x57ea30;super(),this[_0x3097d7(0x3ec)]=_0x58c8f9,this['_univerInstanceService']=_0x513403,this[_0x3097d7(0x1f5)]=_0x3a95c3,this[_0x3097d7(0x204)]=_0x11e320,this[_0x3097d7(0x41b)]=_0xd4d968,this[_0x3097d7(0x465)]=_0x334b70,this[_0x3097d7(0x25e)]=_0x7a5193,this[_0x3097d7(0x250)](),this['_initCloseConn']();}[_0x57ea30(0x43b)](){var _0x1802c1=_0x57ea30;const _0x3f3746=async _0x15d0b0=>{var _0x9bdef5=_0x30c3;(await this[_0x9bdef5(0x204)][_0x9bdef5(0x430)](_0x15d0b0))[_0x9bdef5(0x2b3)][_0x9bdef5(0x197)](_0x4d1c41(_0x453fbd=>_0x453fbd[_0x9bdef5(0x2a1)]===_0x50f10f['SHOULD_CLOSE_CONN']),_0x5c07a4(this[_0x9bdef5(0x1c4)]))[_0x9bdef5(0x179)](_0x119b60=>{var _0x4f61fb=_0x9bdef5;const _0x377f3a=_0x119b60,{reason:_0x4e3932}=_0x377f3a[_0x4f61fb(0x34c)];this['_collaborationUIEventService']['emitEvent']({'id':se[_0x4f61fb(0x2da)],'data':_0x4e3932}),this[_0x4f61fb(0x1f5)][_0x4f61fb(0x39a)](new _0x4f0669(_0x15d0b0)['id'],!0x1),this['_collaborationSessionService'][_0x4f61fb(0x194)](_0x15d0b0);});};_0x20f86f(this['_univerInstanceService'][_0x1802c1(0x3a3)](_0x33b7bd['UNIVER_SHEET']),this[_0x1802c1(0x46f)]['getTypeOfUnitAdded$'](_0x33b7bd[_0x1802c1(0x44d)]))[_0x1802c1(0x197)](_0x18d76c(_0x19355c=>_0x19355c[_0x1802c1(0x377)]()),_0x4d1c41(_0x5535fd=>!_0x213a90(_0x5535fd)),_0x5c07a4(this[_0x1802c1(0x1c4)]))[_0x1802c1(0x179)](_0x14dfc4=>{_0x3f3746(_0x14dfc4);});}[_0x57ea30(0x250)](){var _0x4c4353=_0x57ea30;const _0x244d38=async _0x27ad56=>{var _0x3f8661=_0x30c3;const _0x84c5f9=await this[_0x3f8661(0x204)][_0x3f8661(0x430)](_0x27ad56),_0x26a682=this[_0x3f8661(0x3ec)]['get'](_0x50561b);_0x84c5f9['event$'][_0x3f8661(0x197)](_0x4d1c41(_0x2f5feb=>_0x2f5feb['eventID']===_0x50f10f[_0x3f8661(0x418)]),_0x5c07a4(this[_0x3f8661(0x1c4)]))['subscribe'](_0x1b1652=>{var _0x3786e1=_0x3f8661;const _0x516d99=_0x1b1652,{objectId:_0x5399a2}=_0x516d99['data'];_0x5399a2===_0x27ad56?_0x26a682['initWorkbookPermissionChange'](_0x27ad56):_0x26a682[_0x3786e1(0x3b2)](_0x27ad56,_0x5399a2);});};_0x20f86f(this[_0x4c4353(0x46f)][_0x4c4353(0x3a3)](_0x33b7bd[_0x4c4353(0x2d1)]),this['_univerInstanceService'][_0x4c4353(0x3a3)](_0x33b7bd[_0x4c4353(0x44d)]))['pipe'](_0x18d76c(_0x3ec885=>_0x3ec885[_0x4c4353(0x377)]()),_0x4d1c41(_0x24180f=>!_0x213a90(_0x24180f)),_0x5c07a4(this['dispose$']))[_0x4c4353(0x179)](_0x16780b=>{_0x244d38(_0x16780b);});}};at=ws([Se(0x0,_0x121c70(_0x49358f)),Se(0x1,_0x3b1049),Se(0x2,_0x8b7349),Se(0x3,_0x121c70(Le)),Se(0x4,_0x121c70(pe)),Se(0x5,_0xce0ee1),Se(0x6,_0x2cf6cb)],at);var Us=Object[_0x57ea30(0x2ab)],As=Object[_0x57ea30(0x457)],xs=(_0x14205b,_0x390628,_0x49172c,_0x26b541)=>{var _0x1e7326=_0x57ea30;for(var _0x415b33=_0x26b541>0x1?void 0x0:_0x26b541?As(_0x390628,_0x49172c):_0x390628,_0x1c5bb0=_0x14205b[_0x1e7326(0x1d3)]-0x1,_0x3fd370;_0x1c5bb0>=0x0;_0x1c5bb0--)(_0x3fd370=_0x14205b[_0x1c5bb0])&&(_0x415b33=(_0x26b541?_0x3fd370(_0x390628,_0x49172c,_0x415b33):_0x3fd370(_0x415b33))||_0x415b33);return _0x26b541&&_0x415b33&&Us(_0x390628,_0x49172c,_0x415b33),_0x415b33;},li=(_0x32764b,_0x44226c)=>(_0x1ad8a3,_0x16f10d)=>_0x44226c(_0x1ad8a3,_0x16f10d,_0x32764b);let Dt=class{constructor(_0x258363,_0x5d8115){var _0x4fb48c=_0x57ea30;this[_0x4fb48c(0x276)]=_0x258363,this[_0x4fb48c(0x2ec)]=_0x5d8115;}async[_0x57ea30(0x343)](_0x30c4e7,_0x2877f1){var _0x5f0643=_0x57ea30,_0x3ec527;const {unitID:_0xc24fc4,type:_0x318c49,revision:_0x3d2185=0x0}=_0x2877f1,_0x27642d=this[_0x5f0643(0x3c0)]()+'/'+_0x318c49+_0x5f0643(0x2e8)+_0xc24fc4+_0x5f0643(0x2f8)+_0x3d2185,_0x354e37=(await this[_0x5f0643(0x2ec)]['get'](_0x27642d))[_0x5f0643(0x3d6)],_0x3e730e=(_0x3ec527=_0x354e37[_0x5f0643(0x3a6)])==null?void 0x0:_0x3ec527[_0x5f0643(0x353)];if(_0x3e730e){const _0x58a853=_0x3e730e==null?void 0x0:_0x3e730e['originalMeta'],_0x455b02=_0x29ae7b[_0x5f0643(0x442)](_0x4da21e(_0x58a853));_0x3e730e[_0x5f0643(0x399)]=_0x455b02,Object[_0x5f0643(0x439)](_0x3e730e['sheets'])['forEach'](([,_0x185877])=>{var _0x5ce745=_0x5f0643;const _0x371fa9=_0x185877['originalMeta'],_0x2f32c3=_0x29ae7b[_0x5ce745(0x442)](_0x4da21e(_0x371fa9));_0x185877[_0x5ce745(0x399)]=_0x2f32c3;});}return _0x354e37;}async[_0x57ea30(0x191)](_0x527d55,_0x4ee1dd){var _0x58e4ca=_0x57ea30;const {unitID:_0x175fa6,type:_0x113b91,blockID:_0x204639}=_0x4ee1dd,_0x490b6d=this[_0x58e4ca(0x2ef)]()+'/'+_0x113b91+_0x58e4ca(0x2e8)+_0x175fa6+_0x58e4ca(0x1a6)+_0x204639;return(await this['_httpService']['get'](_0x490b6d))['body'];}async[_0x57ea30(0x1b8)](_0x3120c7,_0x121940){var _0x4e5834=_0x57ea30;const {unitID:_0x51342b,type:_0x861706,blockID:_0x42ab43}=_0x121940,_0xbf47c7=this[_0x4e5834(0x2ef)]()+'/block/'+_0x861706+'/unit/'+_0x51342b+_0x4e5834(0x1a6)+_0x42ab43;return(await this[_0x4e5834(0x2ec)]['get'](_0xbf47c7))[_0x4e5834(0x3d6)];}async[_0x57ea30(0x28f)](_0x4ac70e,_0x2b6441){var _0x29b481=_0x57ea30;const {unitID:_0x1a3559,type:_0x58bf34,from:_0x5d5dd9,to:_0x136750}=_0x2b6441,_0x31dd10=this['_getAPIPrefix']()+'/'+_0x58bf34+_0x29b481(0x2e8)+_0x1a3559+_0x29b481(0x2ad)+_0x5d5dd9+_0x29b481(0x1fc)+_0x136750;return(await this[_0x29b481(0x2ec)][_0x29b481(0x17b)](_0x31dd10))[_0x29b481(0x3d6)];}['getSnapshotAPIPath'](){var _0x43676f=_0x57ea30,_0x1751be;return(_0x1751be=this['_configService'][_0x43676f(0x341)](Tn))!=null?_0x1751be:this[_0x43676f(0x2ef)]();}[_0x57ea30(0x2ef)](){var _0x194767=_0x57ea30,_0x4df49d,_0x292db7;const _0x56fa2d=this[_0x194767(0x276)][_0x194767(0x341)](En),_0x5d55d5=this[_0x194767(0x276)][_0x194767(0x341)](q);return(_0x292db7=(_0x4df49d=_0x5d55d5==null?void 0x0:_0x5d55d5[_0x194767(0x24e)])!=null?_0x4df49d:_0x56fa2d)!=null?_0x292db7:In;}async[_0x57ea30(0x2f1)](_0xaff98d,_0x2ef1b6){var _0x3e6a1b=_0x57ea30;const _0x1739c7=_0x3e6a1b(0x372)+_0x2ef1b6['type']+_0x3e6a1b(0x2e8)+_0x2ef1b6[_0x3e6a1b(0x239)]+'/resources';return(await this[_0x3e6a1b(0x2ec)]['get'](_0x1739c7,{'params':{'resourceId':JSON[_0x3e6a1b(0x3ea)](_0x2ef1b6[_0x3e6a1b(0x262)])}}))[_0x3e6a1b(0x3d6)];}[_0x57ea30(0x3dc)](){var _0x1acb9b=_0x57ea30;throw new Error(_0x1acb9b(0x3e7));}[_0x57ea30(0x1e2)](){var _0x686ee7=_0x57ea30;throw new Error(_0x686ee7(0x3e7));}[_0x57ea30(0x1f6)](){var _0x4c4097=_0x57ea30;throw new Error(_0x4c4097(0x3e7));}['copyFileMeta'](){var _0x5c279c=_0x57ea30;throw new Error(_0x5c279c(0x3e7));}[_0x57ea30(0x219)](){var _0x6c969c=_0x57ea30;throw new Error(_0x6c969c(0x3e7));}};Dt=xs([li(0x0,_0x5a8f33),li(0x1,_0x121c70(_0x457bbb))],Dt);var Ls=Object[_0x57ea30(0x2ab)],Ms=Object[_0x57ea30(0x457)],$s=(_0x1dca69,_0x34d851,_0x5c9a8f,_0x9bdda2)=>{var _0x41f480=_0x57ea30;for(var _0x5e5c0d=_0x9bdda2>0x1?void 0x0:_0x9bdda2?Ms(_0x34d851,_0x5c9a8f):_0x34d851,_0x20c5ed=_0x1dca69[_0x41f480(0x1d3)]-0x1,_0xc978a3;_0x20c5ed>=0x0;_0x20c5ed--)(_0xc978a3=_0x1dca69[_0x20c5ed])&&(_0x5e5c0d=(_0x9bdda2?_0xc978a3(_0x34d851,_0x5c9a8f,_0x5e5c0d):_0xc978a3(_0x5e5c0d))||_0x5e5c0d);return _0x9bdda2&&_0x5e5c0d&&Ls(_0x34d851,_0x5c9a8f,_0x5e5c0d),_0x5e5c0d;},Ae=(_0x56afa8,_0x181d4b)=>(_0xf951cf,_0x430c70)=>_0x181d4b(_0xf951cf,_0x430c70,_0x56afa8);let Pt=class extends _0x4339c9{constructor(_0x5e42e9,_0x2d1e50,_0x3c7031,_0x408881,_0x5a3e27){var _0x6f5ef5=_0x57ea30;super(_0x5e42e9,_0x2d1e50,_0x3c7031),this[_0x6f5ef5(0x464)]=_0x408881,this[_0x6f5ef5(0x26f)]=_0x5a3e27;}['transformUndoRedo'](_0x3bec32,_0x3a1347){var _0x28c4e6=_0x57ea30;const _0x28dbb5=this['_getUndoStack'](_0x3bec32);if(_0x28dbb5)try{const _0x4fd25c=this[_0x28c4e6(0x169)](_0x28dbb5,_0x3a1347);this['_substituteUndoStack'](_0x3bec32,_0x4fd25c);}catch(_0x118bfc){this['_logService']['error'](_0x28c4e6(0x183),_0x118bfc),this['_clearUndo'](_0x3bec32);}const _0x5e4d0d=this[_0x28c4e6(0x1b5)](_0x3bec32);if(_0x5e4d0d)try{const _0x5083f8=this[_0x28c4e6(0x169)](_0x5e4d0d,_0x3a1347);this[_0x28c4e6(0x2af)](_0x3bec32,_0x5083f8);}catch(_0x45441e){this[_0x28c4e6(0x26f)][_0x28c4e6(0x24b)](_0x45441e),this[_0x28c4e6(0x363)](_0x3bec32);}}[_0x57ea30(0x1a3)](_0x1d4ea7){var _0x12f433=_0x57ea30;const _0x4e37e5=this[_0x12f433(0x347)](_0x1d4ea7);_0x4e37e5&&(_0x4e37e5['length']=0x0,this[_0x12f433(0x1dd)]());}[_0x57ea30(0x363)](_0x537efd){var _0x1a9ad0=_0x57ea30;const _0x5c26c6=this[_0x1a9ad0(0x1b5)](_0x537efd);_0x5c26c6&&(_0x5c26c6['length']=0x0,this['_updateStatus']());}[_0x57ea30(0x223)](_0x34fa03,_0x151343){var _0x36a7b1=_0x57ea30;this['_undoStacks'][_0x36a7b1(0x44b)](_0x34fa03,_0x151343),this[_0x36a7b1(0x1dd)]();}[_0x57ea30(0x2af)](_0x4ab065,_0x184a52){var _0x1278a7=_0x57ea30;this[_0x1278a7(0x193)]['set'](_0x4ab065,_0x184a52),this[_0x1278a7(0x1dd)]();}[_0x57ea30(0x169)](_0x518616,_0x398fef){var _0x3585ca=_0x57ea30;const _0x532b28=[];let _0x5f3e08=_0x398fef,_0x422390=_0x398fef;for(let _0x45f915=_0x518616[_0x3585ca(0x1d3)]-0x1;_0x45f915>=0x0;_0x45f915--){const {unitID:_0xca7e05,undoMutations:_0x23409c,redoMutations:_0x1da53a}=_0x518616[_0x45f915],_0x424f5c=this[_0x3585ca(0x464)][_0x3585ca(0x34d)](_0x5f3e08,_0x23409c),_0x50b4f1=this[_0x3585ca(0x464)][_0x3585ca(0x34d)](_0x422390,_0x1da53a);if(_0x2fe811(_0x424f5c)||_0x2fe811(_0x50b4f1)){this[_0x3585ca(0x26f)][_0x3585ca(0x24b)](_0x3585ca(0x183),_0x3585ca(0x15e),_0x424f5c,_0x50b4f1);break;}_0x5f3e08=_0x424f5c[_0x3585ca(0x190)],_0x422390=_0x50b4f1['c1Prime'],_0x532b28[_0x3585ca(0x1d7)]({'unitID':_0xca7e05,'undoMutations':_0x424f5c[_0x3585ca(0x255)],'redoMutations':_0x50b4f1[_0x3585ca(0x255)]});}return _0x532b28['reverse']();}};Pt=$s([Ae(0x0,_0x3b1049),Ae(0x1,_0x39c537),Ae(0x2,_0x1b919b),Ae(0x3,_0x4877b5),Ae(0x4,_0x410aea)],Pt);var xi=Object[_0x57ea30(0x2ab)],Hs=Object[_0x57ea30(0x457)],ks=(_0x11e106,_0x19bd0c,_0x1138c5)=>_0x19bd0c in _0x11e106?xi(_0x11e106,_0x19bd0c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1138c5}):_0x11e106[_0x19bd0c]=_0x1138c5,js=(_0x37bec7,_0x3a0788,_0x3678a7,_0x6f0de8)=>{for(var _0xd575c1=_0x6f0de8>0x1?void 0x0:_0x6f0de8?Hs(_0x3a0788,_0x3678a7):_0x3a0788,_0x3b32aa=_0x37bec7['length']-0x1,_0x5820dc;_0x3b32aa>=0x0;_0x3b32aa--)(_0x5820dc=_0x37bec7[_0x3b32aa])&&(_0xd575c1=(_0x6f0de8?_0x5820dc(_0x3a0788,_0x3678a7,_0xd575c1):_0x5820dc(_0xd575c1))||_0xd575c1);return _0x6f0de8&&_0xd575c1&&xi(_0x3a0788,_0x3678a7,_0xd575c1),_0xd575c1;},St=(_0x20dc7a,_0x2bd821)=>(_0x40edd2,_0x14492a)=>_0x2bd821(_0x40edd2,_0x14492a,_0x20dc7a),Bs=(_0x1869d5,_0x51b32a,_0x10e8da)=>ks(_0x1869d5,_0x51b32a+'',_0x10e8da);const Fs=_0x57ea30(0x2e5);let wt=class extends _0x802d0b{constructor(_0x31d50e=Wt,_0x550719,_0x4cfbfd,_0x839f16){var _0x54c9dd=_0x57ea30;super(),this[_0x54c9dd(0x3c4)]=_0x31d50e,this[_0x54c9dd(0x26f)]=_0x550719,this[_0x54c9dd(0x3ec)]=_0x4cfbfd,this[_0x54c9dd(0x276)]=_0x839f16;const {..._0x5d0e3b}=_0x136c0d({},Wt,this[_0x54c9dd(0x3c4)]);this['_configService']['setConfig'](q,_0x5d0e3b);}[_0x57ea30(0x371)](){var _0x49beef=_0x57ea30;this[_0x49beef(0x15d)](),this[_0x49beef(0x367)]();}[_0x57ea30(0x15d)](){var _0x405d35=_0x57ea30,_0x323632,_0x1b5188,_0x4bf022,_0x137bd8;this[_0x405d35(0x3ec)][_0x405d35(0x41c)](_0x2cf6cb)&&this[_0x405d35(0x26f)]['error'](_0x405d35(0x46e),_0x405d35(0x300));const _0x2c5847=_0x3795e4([[_0x2cf6cb,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x1b5188=(_0x323632=this['_config'])==null?void 0x0:_0x323632[_0x405d35(0x3ce)])!=null?_0x1b5188:Et}],[_0x1a1ac3,{'useClass':Dt}],[_0xce0ee1,{'useClass':bt}],[_0x1b3fb2,{'useClass':yt}],[_0x34756c,{'useClass':Nt}],[rt],[Rt]],(_0x4bf022=this['_config'])==null?void 0x0:_0x4bf022[_0x405d35(0x45b)]);if(!((_0x137bd8=this['_config'])!=null&&_0x137bd8[_0x405d35(0x33c)])){const _0x1bfdfe=_0x2c5847['findIndex'](([_0x23fe0b])=>_0x23fe0b===ht);_0x1bfdfe!==-0x1&&_0x2c5847[_0x405d35(0x387)](_0x1bfdfe,0x1);}_0xdc2135(this[_0x405d35(0x3ec)],_0x2c5847);}['_initDependencies'](){var _0x4eb9b7=_0x57ea30,_0x21e536,_0x5b8de0,_0x26fd87;this[_0x4eb9b7(0x3ec)][_0x4eb9b7(0x17b)](_0x457bbb)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x2e84f0({'maxParallel':0x6})}),(_0x21e536=this[_0x4eb9b7(0x3c4)])!=null&&_0x21e536[_0x4eb9b7(0x2b1)]||(_0x5b8de0=this['_injector'][_0x4eb9b7(0x17b)](J,_0x2b20f2['OPTIONAL']))==null||_0x5b8de0[_0x4eb9b7(0x2a0)](),(_0x26fd87=this[_0x4eb9b7(0x3c4)])!=null&&_0x26fd87[_0x4eb9b7(0x1b0)]&&_0x571d99(this['_injector'],[[st]]),_0x571d99(this[_0x4eb9b7(0x3ec)],[[ot],[rt],[at]]);}};Bs(wt,_0x57ea30(0x317),Fs),wt=js([_0x21b86b(_0x4b4955,_0x1ca7f4,_0xf16f04),St(0x1,_0x410aea),St(0x2,_0x121c70(_0x49358f)),St(0x3,_0x5a8f33)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
1
+ var _0x41545e=_0x5230;(function(_0x1d3825,_0x3bdc23){var _0x561940=_0x5230,_0x348750=_0x1d3825();while(!![]){try{var _0x1839b0=parseInt(_0x561940(0x454))/0x1+-parseInt(_0x561940(0x3fe))/0x2*(parseInt(_0x561940(0x3a7))/0x3)+parseInt(_0x561940(0x1c4))/0x4+parseInt(_0x561940(0x35e))/0x5*(-parseInt(_0x561940(0x2dc))/0x6)+-parseInt(_0x561940(0x426))/0x7*(parseInt(_0x561940(0x471))/0x8)+parseInt(_0x561940(0x2c9))/0x9+parseInt(_0x561940(0x20b))/0xa;if(_0x1839b0===_0x3bdc23)break;else _0x348750['push'](_0x348750['shift']());}catch(_0x2c5424){_0x348750['push'](_0x348750['shift']());}}}(_0x5f23,0x915ce));var Ai=Object[_0x41545e(0x27b)],Pi=(_0x55c012,_0x559e11,_0x3d7a29)=>_0x559e11 in _0x55c012?Ai(_0x55c012,_0x559e11,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d7a29}):_0x55c012[_0x559e11]=_0x3d7a29,N=(_0x26a9f7,_0x3785cf,_0x196e33)=>Pi(_0x26a9f7,typeof _0x3785cf!=_0x41545e(0x215)?_0x3785cf+'':_0x3785cf,_0x196e33);import{createIdentifier as _0x40779a,Inject as _0x236453,Injector as _0x35ce09,IConfigService as _0x34fb67,ILogService as _0x5b92b1,Disposable as _0x4b1c46,DisposableCollection as _0x548497,toDisposable as _0x1a739e,IUniverInstanceService as _0x214b6f,UserManagerService as _0x5964dc,UniverInstanceType as _0x16fa42,LocaleService as _0xa17142,Optional as _0x1d0f46,RxDisposable as _0x433c2f,Tools as _0x4c19fa,Rectangle as _0x807e68,ICommandService as _0x2c92b5,JSONX as _0x2b4183,CommandType as _0x36bcfe,IUndoRedoService as _0x5a61a5,IPermissionService as _0x4da13f,sequenceExecute as _0xb3a7a3,Workbook as _0xa9a7e0,MentionType as _0x426e6f,isInternalEditorID as _0x3359f1,LocalUndoRedoService as _0x2e41ca,IContextService as _0x5afa9c,DependentOn as _0x189c14,Plugin as _0x4357a2,merge as _0x48c383,mergeOverrideWithDependencies as _0x226ccd,IAuthzIoService as _0x3ac908,IMentionIOService as _0x1f17af,registerDependencies as _0x56bf0d,Quantity as _0x248523,touchDependencies as _0x266d35}from'@univerjs/core';import{Subject as _0x5daeac,merge as _0x14bf95,of as _0x65e3ad,BehaviorSubject as _0x48d6f2,takeUntil as _0x515a44,ReplaySubject as _0x4225a9,take as _0x4774cb,map as _0x5c7050,shareReplay as _0x351670,firstValueFrom as _0x3a72d0,concatMap as _0x5a3729}from'rxjs';import{map as _0x5a18b9,take as _0x118750,filter as _0x1a0aae,delay as _0x3cb60d,takeUntil as _0x48cb79}from'rxjs/operators';import{CollaborationEvent as _0x5cfd61,ISnapshotServerService as _0x1cc5ae,parseChangesetToProtocol as _0x409719,ITransformService as _0x1335c8,isTransformMutationsWithChangesetSuccess as _0x191540,mapDocumentTypeToUniverType as _0x221d05,RevisionService as _0x4fea53,isTransformChangesetsSuccess as _0xab296d,CompressMutationService as _0x4c6f39,parseProtocolChangeset as _0x2cacbb,SnapshotService as _0x460d13,textEncoder as _0x4206cc,b64DecodeUnicode as _0x22f055,isTransformMutationsWithChangesetFailure as _0x5901b0,UniverCollaborationPlugin as _0xf3fa8c}from'@univerjs-pro/collaboration';import{HTTPService as _0x15df20,ISocketService as _0x388dee,MergeInterceptorFactory as _0xf3ee5b,HTTPRequest as _0xa6c8fe,UniverNetworkPlugin as _0xe8c0f4,ThresholdInterceptorFactory as _0x2226bf}from'@univerjs/network';import{ITelemetryService as _0x149af4}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x1ba331}from'@univerjs/docs';import{SheetsSelectionsService as _0xb5c7c4,SetSelectionsOperation as _0x341123,InsertSheetMutation as _0x18838c,EmptyMutation as _0x59316b,WorkbookEditablePermission as _0xeafda4,SheetPermissionInitController as _0x40e8ac}from'@univerjs/sheets';import{ImageSourceType as _0x27b5d1,ImageUploadStatusType as _0x3183f8,IImageIoService as _0x5bffa7}from'@univerjs/drawing';import{getGlobalObject as _0x759dcf}from'@univerjs-pro/license';const pr=_0x41545e(0x382),mr=_0x41545e(0x200),gr=_0x41545e(0x1f5),xs=_0x41545e(0x18f),Sr=0x7d0,Er=_0x41545e(0x21f),Ir=_0x41545e(0x36b),Ls=_0x41545e(0x209),Tr='HEARTBEAT_INTERVAL',Cr=0x7530,mi=_0x41545e(0x213),gi=0x4e20,Rr=0x4e20,br='RETRY_CONNECTING_MAX_COUNT',yr=0x3,Ms=_0x41545e(0x283),ks=0x3e8,Or=_0x41545e(0x37b),Nr=_0x41545e(0x23e),Dr='LOGIN_URL_KEY',wr=_0x41545e(0x1f2),$s='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Hs=_0x41545e(0x342);var Si=(_0x517c43=>(_0x517c43[_0x517c43[_0x41545e(0x371)]=0x0]=_0x41545e(0x371),_0x517c43[_0x517c43['OK']=0x1]='OK',_0x517c43[_0x517c43[_0x41545e(0x356)]=0x2]=_0x41545e(0x356),_0x517c43[_0x517c43[_0x41545e(0x2b0)]=0x3]=_0x41545e(0x2b0),_0x517c43[_0x517c43[_0x41545e(0x2cc)]=0x4]=_0x41545e(0x2cc),_0x517c43[_0x517c43[_0x41545e(0x1b6)]=0x5]='UNAUTHENTICATED',_0x517c43[_0x517c43[_0x41545e(0x409)]=0x6]='ALREADY_EXISTS',_0x517c43[_0x517c43[_0x41545e(0x45a)]=0x7]=_0x41545e(0x45a),_0x517c43[_0x517c43[_0x41545e(0x1ba)]=0x8]=_0x41545e(0x1ba),_0x517c43[_0x517c43[_0x41545e(0x1eb)]=0x9]='COMPLETION_FINISHED',_0x517c43[_0x517c43[_0x41545e(0x433)]=0x1389]=_0x41545e(0x433),_0x517c43[_0x517c43[_0x41545e(0x44e)]=0x1771]=_0x41545e(0x44e),_0x517c43[_0x517c43['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x517c43[_0x517c43[_0x41545e(0x457)]=0x1773]=_0x41545e(0x457),_0x517c43[_0x517c43['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x517c43[_0x517c43[_0x41545e(0x2da)]=0x1b5a]=_0x41545e(0x2da),_0x517c43[_0x517c43[_0x41545e(0x2a1)]=0x1b5b]=_0x41545e(0x2a1),_0x517c43[_0x517c43[_0x41545e(0x3cb)]=0x1b5c]=_0x41545e(0x3cb),_0x517c43[_0x517c43[_0x41545e(0x481)]=0x1b5d]=_0x41545e(0x481),_0x517c43[_0x517c43[_0x41545e(0x3c2)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x517c43[_0x517c43[_0x41545e(0x23d)]=0x2329]=_0x41545e(0x23d),_0x517c43[_0x517c43['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x41545e(0x1b9),_0x517c43[_0x517c43['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x517c43[_0x517c43['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x41545e(0x431),_0x517c43[_0x517c43['LICENSE_DISTRO_REJECTED']=0x232d]=_0x41545e(0x2ea),_0x517c43[_0x517c43[_0x41545e(0x2de)]=0x2711]=_0x41545e(0x2de),_0x517c43[_0x517c43[_0x41545e(0x248)]=0x2712]=_0x41545e(0x248),_0x517c43[_0x517c43[_0x41545e(0x2db)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x517c43[_0x517c43[_0x41545e(0x225)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x517c43[_0x517c43['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x517c43[_0x517c43[_0x41545e(0x28e)]=-0x1]=_0x41545e(0x28e),_0x517c43))(Si||{}),Q=(_0x4065f4=>(_0x4065f4[_0x4065f4[_0x41545e(0x33f)]=0x0]=_0x41545e(0x33f),_0x4065f4[_0x4065f4[_0x41545e(0x378)]=0x1]='UNIVER_DOC',_0x4065f4[_0x4065f4[_0x41545e(0x1af)]=0x2]=_0x41545e(0x1af),_0x4065f4[_0x4065f4['UNIVER_SLIDE']=0x3]=_0x41545e(0x301),_0x4065f4[_0x4065f4[_0x41545e(0x269)]=0x4]='UNIVER_PROJECT',_0x4065f4[_0x4065f4[_0x41545e(0x28e)]=-0x1]=_0x41545e(0x28e),_0x4065f4))(Q||{}),F=(_0x6e1f78=>(_0x6e1f78[_0x6e1f78[_0x41545e(0x3f8)]=0x0]=_0x41545e(0x3f8),_0x6e1f78[_0x6e1f78[_0x41545e(0x1d1)]=0x1]='HELLO',_0x6e1f78[_0x6e1f78[_0x41545e(0x270)]=0x2]=_0x41545e(0x270),_0x6e1f78[_0x6e1f78[_0x41545e(0x29b)]=0x3]=_0x41545e(0x29b),_0x6e1f78[_0x6e1f78['INGEST']=0x4]=_0x41545e(0x1b2),_0x6e1f78[_0x6e1f78['HEARTBEAT']=0x5]=_0x41545e(0x373),_0x6e1f78[_0x6e1f78[_0x41545e(0x229)]=0x6]=_0x41545e(0x229),_0x6e1f78[_0x6e1f78['UNRECOGNIZED']=-0x1]=_0x41545e(0x28e),_0x6e1f78))(F||{}),ge=(_0x33c588=>(_0x33c588[_0x33c588['UNKNOWN_CODE']=0x0]=_0x41545e(0x1ec),_0x33c588[_0x33c588['OK']=0x1]='OK',_0x33c588[_0x33c588[_0x41545e(0x3b9)]=0x2]=_0x41545e(0x3b9),_0x33c588[_0x33c588[_0x41545e(0x3fc)]=0x3e9]='JOIN_ROOM_FULL',_0x33c588[_0x33c588['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x41545e(0x2a4),_0x33c588[_0x33c588[_0x41545e(0x444)]=0x3eb]=_0x41545e(0x444),_0x33c588[_0x33c588[_0x41545e(0x3e3)]=0x3ec]=_0x41545e(0x3e3),_0x33c588[_0x33c588['UNRECOGNIZED']=-0x1]=_0x41545e(0x28e),_0x33c588))(ge||{}),Ei=(_0x153365=>(_0x153365[_0x153365[_0x41545e(0x20a)]=0x0]=_0x41545e(0x20a),_0x153365[_0x153365[_0x41545e(0x37a)]=0x1]=_0x41545e(0x37a),_0x153365[_0x153365[_0x41545e(0x456)]=0x2]=_0x41545e(0x456),_0x153365[_0x153365[_0x41545e(0x2a5)]=0x3]='UnitEmbedded',_0x153365[_0x153365[_0x41545e(0x245)]=0x4]=_0x41545e(0x245),_0x153365[_0x153365[_0x41545e(0x28e)]=-0x1]=_0x41545e(0x28e),_0x153365))(Ei||{});const q=_0x41545e(0x404),Ur={};var se=(_0x412664=>(_0x412664[_0x41545e(0x2fd)]='OTHER_CLIENT_EDITING',_0x412664[_0x41545e(0x2b0)]=_0x41545e(0x2b0),_0x412664[_0x41545e(0x2cb)]='CONFLICT',_0x412664[_0x41545e(0x3c1)]=_0x41545e(0x3c1),_0x412664[_0x41545e(0x203)]=_0x41545e(0x203),_0x412664[_0x41545e(0x327)]='SOCKET_FAILED_RETRY',_0x412664['SOCKET_FAILED']=_0x41545e(0x2ee),_0x412664[_0x41545e(0x37c)]=_0x41545e(0x37c),_0x412664))(se||{});class pe{constructor(){var _0x4245b0=_0x41545e;N(this,_0x4245b0(0x276),new _0x5daeac()),N(this,_0x4245b0(0x438),this[_0x4245b0(0x276)][_0x4245b0(0x38e)]());}[_0x41545e(0x24f)](_0x5cd50a){var _0x375257=_0x41545e;this[_0x375257(0x276)][_0x375257(0x25e)](_0x5cd50a);}}const Ar=_0x40779a('univer-pro.collaboration-client.network-condition.service');function Pr(_0x116eeb){var _0x321663=_0x41545e,_0xc989fd,_0x1adc8e,_0x132230,_0x5b13c7,_0x5021a0;const _0x3b1860=_0x116eeb[_0x321663(0x226)],_0x385717=JSON[_0x321663(0x3ce)](_0x3b1860);switch(_0x385717[_0x321663(0x3d7)]){case F[_0x321663(0x373)]:case F['HELLO']:{const _0x165e73=_0x385717[_0x321663(0x446)];return{..._0x385717,'data':_0x165e73,'cmd':_0x385717[_0x321663(0x3d7)]};}case F[_0x321663(0x270)]:{const _0x3b4fd0=_0x385717[_0x321663(0x348)];return{..._0x385717,'data':_0x3b4fd0,'cmd':_0x385717['cmd']};}case F[_0x321663(0x229)]:{const _0x502783=_0x385717[_0x321663(0x1d3)];switch(_0x502783['eventID']){case _0x5cfd61[_0x321663(0x255)]:return{..._0x385717,'data':{..._0x502783,'data':(_0xc989fd=_0x502783[_0x321663(0x45d)])==null?void 0x0:_0xc989fd['cs']},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x3df)]:return{..._0x385717,'data':{..._0x502783,'data':(_0x1adc8e=_0x502783[_0x321663(0x1e3)])==null?void 0x0:_0x1adc8e['cs']},'cmd':_0x385717['cmd']};case _0x5cfd61[_0x321663(0x33b)]:return{..._0x385717,'data':{..._0x502783,'data':(_0x132230=_0x502783[_0x321663(0x42d)])==null?void 0x0:_0x132230['cs']},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x3a6)]:return{..._0x385717,'data':{..._0x502783,'data':(_0x5b13c7=_0x502783['csRejEvent'])==null?void 0x0:_0x5b13c7['cs']},'cmd':_0x385717['cmd']};case _0x5cfd61[_0x321663(0x3bc)]:return{..._0x385717,'data':{..._0x502783,'data':(_0x5021a0=_0x502783[_0x321663(0x1bf)])==null?void 0x0:_0x5021a0['cs']},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x474)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x3d0)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61['USERS_ENTER']:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x3e6)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x218)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783['leaveEvent']},'cmd':_0x385717['cmd']};case _0x5cfd61[_0x321663(0x375)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x47d)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x2ca)]:case _0x5cfd61[_0x321663(0x3c3)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x467)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x463)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x47d)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x420)]:return{..._0x385717,'data':_0x502783,'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x315)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783['commentUpdateEvent']},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x306)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x193)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61['SHOULD_CLOSE_CONN']:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x389)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x1d4)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x47e)]},'cmd':_0x385717[_0x321663(0x3d7)]};default:return _0x385717;}}default:return _0x385717;}}function xr(_0xdb498c){var _0xcdef3a=_0x41545e;switch(_0xdb498c[_0xcdef3a(0x3d7)]){case F['HEARTBEAT']:case F[_0xcdef3a(0x1d1)]:return JSON[_0xcdef3a(0x2cf)]({'cmd':_0xdb498c['cmd'],'routeKey':_0xdb498c[_0xcdef3a(0x1fc)]});case F[_0xcdef3a(0x1b2)]:{let _0x5a7212;switch(_0xdb498c[_0xcdef3a(0x226)][_0xcdef3a(0x44a)]){case _0x5cfd61[_0xcdef3a(0x474)]:{_0x5a7212={'eventID':_0x5cfd61['UPDATE_CURSOR'],'updateCursorEvent':_0xdb498c[_0xcdef3a(0x226)][_0xcdef3a(0x226)]};break;}case _0x5cfd61[_0xcdef3a(0x218)]:{_0x5a7212={'eventID':_0x5cfd61[_0xcdef3a(0x218)],'leaveEvent':_0xdb498c['data'][_0xcdef3a(0x226)]};break;}case _0x5cfd61['USERS_ENTER']:{_0x5a7212={'eventID':_0x5cfd61['USERS_ENTER'],'joinEvent':_0xdb498c['data']['data']};break;}case _0x5cfd61[_0xcdef3a(0x375)]:{_0x5a7212={'eventID':_0x5cfd61[_0xcdef3a(0x375)],'liveShareNewHost':_0xdb498c[_0xcdef3a(0x226)][_0xcdef3a(0x226)]};break;}case _0x5cfd61[_0xcdef3a(0x3c3)]:{_0x5a7212={'eventID':_0x5cfd61[_0xcdef3a(0x3c3)],'liveShareOperation':_0xdb498c['data']['data']};break;}case _0x5cfd61['LIVESHARE_TERMINATE']:{_0x5a7212={'eventID':_0x5cfd61[_0xcdef3a(0x463)],'liveShareTerminate':_0xdb498c[_0xcdef3a(0x226)][_0xcdef3a(0x226)]};break;}case _0x5cfd61[_0xcdef3a(0x1ac)]:{_0x5a7212={'eventID':_0x5cfd61[_0xcdef3a(0x1ac)],'liveShareRequestHost':_0xdb498c[_0xcdef3a(0x226)][_0xcdef3a(0x226)]};break;}case _0x5cfd61[_0xcdef3a(0x2ca)]:{_0x5a7212={'eventID':_0x5cfd61['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x5a7212={'eventID':_0xdb498c[_0xcdef3a(0x226)]['eventID']};}return JSON['stringify']({'cmd':_0xdb498c['cmd'],'routeKey':_0xdb498c[_0xcdef3a(0x1fc)],'collaMsg':_0x5a7212});}case F[_0xcdef3a(0x270)]:return JSON[_0xcdef3a(0x2cf)]({'cmd':_0xdb498c[_0xcdef3a(0x3d7)],'routeKey':_0xdb498c[_0xcdef3a(0x1fc)],'joinReq':_0xdb498c[_0xcdef3a(0x226)]});case F[_0xcdef3a(0x29b)]:return JSON[_0xcdef3a(0x2cf)]({'cmd':_0xdb498c['cmd'],'routeKey':_0xdb498c[_0xcdef3a(0x1fc)],'leaveReq':_0xdb498c['data']});default:throw new Error(_0xcdef3a(0x224));}}var Lr=Object[_0x41545e(0x271)],Mr=(_0x253a30,_0x26bba4,_0x3b8fe7,_0x3c119c)=>{var _0x36e8a2=_0x41545e;for(var _0x1a453c=_0x3c119c>0x1?void 0x0:_0x3c119c?Lr(_0x26bba4,_0x3b8fe7):_0x26bba4,_0x5264fb=_0x253a30[_0x36e8a2(0x2fa)]-0x1,_0x8f7bb6;_0x5264fb>=0x0;_0x5264fb--)(_0x8f7bb6=_0x253a30[_0x5264fb])&&(_0x1a453c=_0x8f7bb6(_0x1a453c)||_0x1a453c);return _0x1a453c;},Ue=(_0xfdb062,_0x55decc)=>(_0x3f6e9a,_0x58edd2)=>_0x55decc(_0x3f6e9a,_0x58edd2,_0xfdb062);const Ii=_0x40779a(_0x41545e(0x3c7));function kr(_0x4d4f19,_0x3b7247,_0x617d39){var _0x5e24ec=_0x41545e;return _0x4d4f19+'/'+_0x3b7247+_0x5e24ec(0x410)+_0x617d39+_0x5e24ec(0x3e9);}let Vt=class extends _0x4b1c46{constructor(_0x39a154,_0x461e09,_0x4d86b5,_0x11b918,_0x155631){var _0x1fef6e=_0x41545e;super(),this['_injector']=_0x39a154,this[_0x1fef6e(0x365)]=_0x461e09,this['_configService']=_0x4d86b5,this[_0x1fef6e(0x398)]=_0x11b918,this[_0x1fef6e(0x2c4)]=_0x155631;}[_0x41545e(0x336)](_0x55ccee){var _0x4d6bbd=_0x41545e;const _0x27309b=this['_injector'][_0x4d6bbd(0x393)](_0x388dee);if(!_0x27309b)throw new Error(_0x4d6bbd(0x434));const _0x35ceda=_0x27309b[_0x4d6bbd(0x307)](_0x55ccee);if(!_0x35ceda)throw new Error(_0x4d6bbd(0x384));const _0x236043=new _0x548497(),_0x482d77=new _0x5daeac();_0x236043[_0x4d6bbd(0x190)](_0x35ceda[_0x4d6bbd(0x338)]['subscribe'](_0x7250f4=>_0x482d77['next'](_0x7250f4))),_0x236043[_0x4d6bbd(0x190)](_0x1a739e(()=>_0x482d77[_0x4d6bbd(0x1c5)]()));const _0x432b8c=new _0x5daeac();_0x236043[_0x4d6bbd(0x190)](_0x35ceda[_0x4d6bbd(0x31f)]['subscribe'](_0x1a5112=>_0x432b8c[_0x4d6bbd(0x25e)](_0x1a5112))),_0x236043[_0x4d6bbd(0x190)](_0x1a739e(()=>_0x432b8c['complete']()));const _0x165bd5=new _0x5daeac();_0x236043[_0x4d6bbd(0x190)](_0x35ceda['message$']['subscribe'](_0xb1ffbb=>{const _0x1ee18c=Pr(_0xb1ffbb);_0x165bd5['next'](_0x1ee18c);})),_0x236043['add'](_0x1a739e(()=>_0x165bd5[_0x4d6bbd(0x1c5)]()));let _0x2f74d9;const _0x3d7fb6=()=>{var _0x3fc297=_0x4d6bbd;_0x432b8c['next'](new Event(_0x3fc297(0x296))),_0x482d77[_0x3fc297(0x25e)](new Event(_0x3fc297(0x296))),_0x2f74d9[_0x3fc297(0x20d)]();};return _0x2f74d9={'memberID':'','close$':_0x482d77[_0x4d6bbd(0x38e)](),'error$':_0x432b8c['asObservable'](),'open$':_0x35ceda[_0x4d6bbd(0x3f3)],'message$':_0x165bd5[_0x4d6bbd(0x38e)](),'send':_0x1499ab=>{var _0x1175b1=_0x4d6bbd;if(_0x1499ab[_0x1175b1(0x3d7)]===F['INGEST']){if(_0x1499ab[_0x1175b1(0x226)][_0x1175b1(0x44a)]===_0x5cfd61[_0x1175b1(0x339)]){this[_0x1175b1(0x32e)](_0x2f74d9,_0x1499ab['data'])[_0x1175b1(0x196)](_0x5ad906=>{var _0x3afa2e=_0x1175b1;this[_0x3afa2e(0x398)][_0x3afa2e(0x353)](_0x5ad906),_0x3d7fb6();});return;}if(_0x1499ab[_0x1175b1(0x226)]['eventID']===_0x5cfd61[_0x1175b1(0x39c)]){const _0x1515e0=_0x1499ab[_0x1175b1(0x226)];this[_0x1175b1(0x1b7)](_0x1515e0)[_0x1175b1(0x2aa)](_0x2d3a24=>{var _0x4133c2=_0x1175b1;_0x165bd5['next']({'cmd':F[_0x4133c2(0x229)],'code':ge['OK'],'routeKey':_0x1515e0[_0x4133c2(0x226)][_0x4133c2(0x25a)],'routeType':'','data':{'eventID':_0x5cfd61[_0x4133c2(0x1d9)],'data':{'changesets':_0x2d3a24}}});})[_0x1175b1(0x196)](_0x133ff1=>{var _0x5f1c57=_0x1175b1;this[_0x5f1c57(0x398)][_0x5f1c57(0x353)](_0x133ff1),_0x3d7fb6();});return;}}_0x35ceda[_0x1175b1(0x24c)](xr(_0x1499ab));},'close':()=>{var _0x1bd2b5=_0x4d6bbd;_0x35ceda['close'](),_0x236043[_0x1bd2b5(0x293)]();}},_0x2f74d9;}async[_0x41545e(0x32e)](_0x5d6bb4,_0x3eecf6){var _0x4003b2=_0x41545e,_0x19790a,_0x5b6eac;const {unitType:_0x5563a8,unitID:_0x44aac0,changeset:_0x1fe888}=_0x3eecf6[_0x4003b2(0x226)],_0x16d0e5={'unitID':_0x44aac0,'memberID':_0x5d6bb4[_0x4003b2(0x381)],'type':_0x5563a8,'changeset':_0x409719(_0x1fe888)},_0x30480e=this[_0x4003b2(0x2f0)][_0x4003b2(0x222)](Or),_0x133375=this[_0x4003b2(0x2f0)]['getConfig'](q),_0x29d54f=kr((_0x5b6eac=(_0x19790a=_0x133375==null?void 0x0:_0x133375[_0x4003b2(0x1b5)])!=null?_0x19790a:_0x30480e)!=null?_0x5b6eac:Nr,_0x5563a8,_0x44aac0);try{await this[_0x4003b2(0x365)][_0x4003b2(0x3da)](_0x29d54f,{'body':_0x16d0e5});}catch(_0x16575e){throw this[_0x4003b2(0x398)][_0x4003b2(0x353)](_0x4003b2(0x20f),_0x4003b2(0x282)),_0x16575e;}}async['_fetchMissChangesets'](_0x8294d6){var _0x19f50b=_0x41545e;const {unitID:_0x1af665,from:_0x3c69be,to:_0x2459a1,unitType:_0x1cf496}=_0x8294d6[_0x19f50b(0x226)];return(await this[_0x19f50b(0x2c4)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x1af665,'type':_0x1cf496,'from':_0x3c69be,'to':_0x2459a1}))[_0x19f50b(0x40c)];}};Vt=Mr([Ue(0x0,_0x236453(_0x35ce09)),Ue(0x1,_0x236453(_0x15df20)),Ue(0x2,_0x34fb67),Ue(0x3,_0x5b92b1),Ue(0x4,_0x1cc5ae)],Vt);const $r='collaboration_new_changeset';function Hr(_0x568c59){var _0x10773f=_0x41545e;return JSON['stringify'](_0x568c59)[_0x10773f(0x2fa)];}class Ti{constructor(){var _0x2f6aa1=_0x41545e;N(this,'_commentUpdate$',new _0x5daeac()),N(this,_0x2f6aa1(0x21a),this[_0x2f6aa1(0x30e)][_0x2f6aa1(0x38e)]());}[_0x41545e(0x440)](_0x3a3ea0){var _0x32fe5e=_0x41545e;this[_0x32fe5e(0x30e)][_0x32fe5e(0x25e)](_0x3a3ea0);}}var Br=Object[_0x41545e(0x271)],jr=(_0x848e4d,_0x44ae5f,_0x1d4404,_0x260899)=>{var _0x57da4a=_0x41545e;for(var _0x305e60=_0x260899>0x1?void 0x0:_0x260899?Br(_0x44ae5f,_0x1d4404):_0x44ae5f,_0x3d7972=_0x848e4d[_0x57da4a(0x2fa)]-0x1,_0x37e0dd;_0x3d7972>=0x0;_0x3d7972--)(_0x37e0dd=_0x848e4d[_0x3d7972])&&(_0x305e60=_0x37e0dd(_0x305e60)||_0x305e60);return _0x305e60;},Wt=(_0x55aac9,_0x20b997)=>(_0x5cb49b,_0xe24043)=>_0x20b997(_0x5cb49b,_0xe24043,_0x55aac9);let xe=class extends _0x4b1c46{constructor(_0x4b8ed7,_0x588677){var _0x141466=_0x41545e;super(),N(this,'_roomMembers',new Map()),N(this,_0x141466(0x1a3),new _0x5daeac()),(this[_0x141466(0x1f6)]=_0x4b8ed7,this[_0x141466(0x1db)]=_0x588677,this[_0x141466(0x41a)](_0x14bf95(this[_0x141466(0x1f6)][_0x141466(0x18c)](_0x16fa42[_0x141466(0x1af)])['pipe'](_0x5a18b9(_0x47b86c=>_0x47b86c[_0x141466(0x32f)]())),this[_0x141466(0x1f6)][_0x141466(0x18c)](_0x16fa42[_0x141466(0x378)])[_0x141466(0x30b)](_0x5a18b9(_0x548cae=>_0x548cae[_0x141466(0x32f)]())),this['_univerInstanceService'][_0x141466(0x18c)](_0x16fa42[_0x141466(0x301)])['pipe'](_0x5a18b9(_0x2c23f2=>_0x2c23f2[_0x141466(0x32f)]())))[_0x141466(0x40b)](_0x450452=>this['_removeRoom'](_0x450452))));}[_0x41545e(0x2e8)](_0x4d017c){var _0x38a5d1=_0x41545e;return this[_0x38a5d1(0x458)][_0x38a5d1(0x46e)](_0x4d017c)?_0x65e3ad(this[_0x38a5d1(0x458)]['get'](_0x4d017c)):this[_0x38a5d1(0x1a3)][_0x38a5d1(0x30b)](_0x5a18b9(_0x4d4caa=>{var _0x44f52d=_0x38a5d1;if(_0x4d4caa===_0x4d017c)return this['_roomMembers'][_0x44f52d(0x393)](_0x4d4caa);}));}['setCurrentUser'](_0x29106d){var _0x197976=_0x41545e;this['_userManagerService'][_0x197976(0x1f8)](_0x29106d);}[_0x41545e(0x267)](){var _0x2174f4=_0x41545e;return this[_0x2174f4(0x1db)]['getCurrentUser']();}[_0x41545e(0x1a4)](_0x3526e1,_0x37aa5f){var _0x2c8c8a=_0x41545e;let _0x12fbc2=this['_roomMembers'][_0x2c8c8a(0x393)](_0x3526e1);_0x12fbc2||(_0x12fbc2=new Fr(),this[_0x2c8c8a(0x458)][_0x2c8c8a(0x3d2)](_0x3526e1,_0x12fbc2),this[_0x2c8c8a(0x1a3)]['next'](_0x3526e1)),_0x12fbc2[_0x2c8c8a(0x1a4)](_0x37aa5f);}[_0x41545e(0x388)](_0x590e1d,_0x32fea1){var _0x2a28cd=_0x41545e;const _0x320bbb=this[_0x2a28cd(0x458)][_0x2a28cd(0x393)](_0x590e1d);_0x320bbb&&_0x320bbb[_0x2a28cd(0x388)](_0x32fea1);}[_0x41545e(0x33c)](_0x4dfae1){var _0x5ca671=_0x41545e;return this[_0x5ca671(0x458)][_0x5ca671(0x393)](_0x4dfae1);}[_0x41545e(0x34b)](_0x4369b5,_0x2733fc){var _0x575310=_0x41545e;const _0x3483a9=this['_roomMembers'][_0x575310(0x393)](_0x4369b5);if(_0x3483a9)return _0x3483a9[_0x575310(0x34b)](_0x2733fc);}[_0x41545e(0x277)](_0x267219){var _0x2e54a4=_0x41545e;const _0x2a8165=this[_0x2e54a4(0x458)]['get'](_0x267219);_0x2a8165&&(_0x2a8165['dispose'](),this[_0x2e54a4(0x458)][_0x2e54a4(0x27a)](_0x267219));}[_0x41545e(0x293)](){var _0x90ae0b=_0x41545e;this[_0x90ae0b(0x458)][_0x90ae0b(0x1d8)](_0x4f9695=>_0x4f9695[_0x90ae0b(0x293)]()),this[_0x90ae0b(0x458)][_0x90ae0b(0x302)](),this[_0x90ae0b(0x1a3)][_0x90ae0b(0x1c5)]();}};xe=jr([Wt(0x0,_0x214b6f),Wt(0x1,_0x236453(_0x5964dc))],xe);class Fr extends _0x4b1c46{constructor(){var _0x232de1=_0x41545e;super(...arguments),N(this,_0x232de1(0x46d),new Map()),N(this,_0x232de1(0x337),new _0x48d6f2(this['_members'])),N(this,_0x232de1(0x18e),this[_0x232de1(0x337)][_0x232de1(0x38e)]());}[_0x41545e(0x293)](){var _0x103fa9=_0x41545e;this[_0x103fa9(0x46d)]['clear']();}[_0x41545e(0x1a4)](_0x33193d){var _0x5d831d=_0x41545e;this[_0x5d831d(0x46d)][_0x5d831d(0x3d2)](_0x33193d[_0x5d831d(0x381)],_0x33193d),this[_0x5d831d(0x2d6)]();}['removeMember'](_0x35441b){var _0x124546=_0x41545e;this[_0x124546(0x46d)][_0x124546(0x27a)](_0x35441b);}[_0x41545e(0x34b)](_0x1b2db6){var _0x4e147a=_0x41545e;return this[_0x4e147a(0x46d)][_0x4e147a(0x393)](_0x1b2db6);}[_0x41545e(0x476)](){var _0x80ab8c=_0x41545e;return Array[_0x80ab8c(0x22c)](this[_0x80ab8c(0x46d)][_0x80ab8c(0x305)]());}[_0x41545e(0x2d6)](){var _0xc3a4f5=_0x41545e;this[_0xc3a4f5(0x337)][_0xc3a4f5(0x25e)](this[_0xc3a4f5(0x46d)]);}}var Gr=Object[_0x41545e(0x271)],Vr=(_0x527b3e,_0x4ee5a4,_0x8c85d9,_0x1b5f16)=>{var _0x6c0456=_0x41545e;for(var _0x1a1e3a=_0x1b5f16>0x1?void 0x0:_0x1b5f16?Gr(_0x4ee5a4,_0x8c85d9):_0x4ee5a4,_0x350a51=_0x527b3e[_0x6c0456(0x2fa)]-0x1,_0x40742d;_0x350a51>=0x0;_0x350a51--)(_0x40742d=_0x527b3e[_0x350a51])&&(_0x1a1e3a=_0x40742d(_0x1a1e3a)||_0x1a1e3a);return _0x1a1e3a;},me=(_0x59d20b,_0x2eac77)=>(_0x10add9,_0x126357)=>_0x2eac77(_0x10add9,_0x126357,_0x59d20b),Ee=(_0x422958=>(_0x422958[_0x422958[_0x41545e(0x450)]=0x0]='IDLE',_0x422958[_0x422958['JOINING']=0x1]=_0x41545e(0x391),_0x422958[_0x422958[_0x41545e(0x1ed)]=0x2]=_0x41545e(0x1ed),_0x422958[_0x422958[_0x41545e(0x280)]=0x3]=_0x41545e(0x280),_0x422958))(Ee||{});const Kt={[ge[_0x41545e(0x3b9)]]:_0x41545e(0x425),[ge[_0x41545e(0x3fc)]]:_0x41545e(0x230),[ge[_0x41545e(0x2a4)]]:'session.room-not-exists',[ge['JOIN_ROOM_PERMISSION_DENIED']]:_0x41545e(0x2b6),[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x41545e(0x3eb)};let Et=class extends _0x433c2f{constructor(_0x369cc9,_0x49c0ea,_0x377dce,_0x54980d,_0x5820b6,_0x287c22,_0x3c99c9,_0xb51dbb,_0x2a7908){var _0x4c4f25=_0x41545e;super(),N(this,_0x4c4f25(0x247),new _0x48d6f2(0x0)),N(this,_0x4c4f25(0x1d2),this['_sessionStatus$'][_0x4c4f25(0x38e)]()),N(this,'_event$',new _0x5daeac()),N(this,_0x4c4f25(0x438),this[_0x4c4f25(0x276)][_0x4c4f25(0x38e)]()),N(this,_0x4c4f25(0x2eb)),N(this,_0x4c4f25(0x242)),N(this,_0x4c4f25(0x2b3)),N(this,_0x4c4f25(0x39f),!0x1),N(this,_0x4c4f25(0x2a8),null),(this[_0x4c4f25(0x399)]=_0x369cc9,this[_0x4c4f25(0x398)]=_0x377dce,this[_0x4c4f25(0x2f0)]=_0x54980d,this['_localeService']=_0x5820b6,this['_memberService']=_0x287c22,this[_0x4c4f25(0x475)]=_0x3c99c9,this[_0x4c4f25(0x1ae)]=_0xb51dbb,this[_0x4c4f25(0x2f7)]=_0x2a7908,this[_0x4c4f25(0x39f)]=!!this[_0x4c4f25(0x2f7)],_0x49c0ea[_0x4c4f25(0x30b)](_0x515a44(this[_0x4c4f25(0x423)]))['subscribe'](_0x2c81ad=>{var _0x31f372=_0x4c4f25,_0x1374d2;typeof _0x2c81ad>'u'||(this[_0x31f372(0x2eb)]=_0x2c81ad,_0x2c81ad?(this[_0x31f372(0x2e3)](_0x2c81ad),this[_0x31f372(0x242)]=_0x2c81ad[_0x31f372(0x3d4)][_0x31f372(0x40b)](_0x539a5e=>{var _0x1b2252=_0x31f372;_0x539a5e['routeKey']===this[_0x1b2252(0x399)]&&this[_0x1b2252(0x219)](_0x539a5e);})):(this[_0x31f372(0x452)](),this[_0x31f372(0x247)][_0x31f372(0x25e)](0x2),(_0x1374d2=this[_0x31f372(0x242)])==null||_0x1374d2['unsubscribe'](),this[_0x31f372(0x242)]=null));}));}get[_0x41545e(0x1fe)](){var _0x5190e1=_0x41545e;return this['_sessionStatus$'][_0x5190e1(0x370)]();}[_0x41545e(0x35b)](){var _0x48fd36=_0x41545e,_0x281c97,_0x31081e;return(_0x31081e=(_0x281c97=this[_0x48fd36(0x2eb)])==null?void 0x0:_0x281c97[_0x48fd36(0x381)])!=null?_0x31081e:null;}[_0x41545e(0x293)](){var _0x45e6b3=_0x41545e;super['dispose'](),this['dispose$'][_0x45e6b3(0x25e)](),this['dispose$'][_0x45e6b3(0x1c5)]();}[_0x41545e(0x20d)](){var _0x412c8a=_0x41545e,_0x2d8c47,_0x233361;this[_0x412c8a(0x452)](),(_0x2d8c47=this[_0x412c8a(0x2eb)])==null||_0x2d8c47[_0x412c8a(0x24c)]({'cmd':F[_0x412c8a(0x29b)],'data':{'roomID':this[_0x412c8a(0x399)]}}),(_0x233361=this[_0x412c8a(0x2eb)])==null||_0x233361[_0x412c8a(0x20d)](),this['_event$'][_0x412c8a(0x1c5)](),this['_sessionStatus$'][_0x412c8a(0x1c5)](),this[_0x412c8a(0x293)]();}[_0x41545e(0x219)](_0x41ce05){var _0x545f5a=_0x41545e;_0x41ce05[_0x545f5a(0x3d7)]===F[_0x545f5a(0x270)]?this[_0x545f5a(0x332)](_0x41ce05):_0x41ce05[_0x545f5a(0x3d7)]===F[_0x545f5a(0x229)]&&this[_0x545f5a(0x349)](_0x41ce05);}[_0x41545e(0x2e3)](_0x34112f){var _0xb85ef0=_0x41545e;this['_sessionStatus$'][_0xb85ef0(0x25e)](0x1),_0x34112f['send']({'cmd':F[_0xb85ef0(0x270)],'routeKey':this[_0xb85ef0(0x399)],'routeType':'','data':{'rooms':[{'roomID':this[_0xb85ef0(0x399)]}]}});}[_0x41545e(0x332)](_0x212565){var _0x436c25=_0x41545e,_0x5b74b7;if(_0x212565[_0x436c25(0x330)]in Kt){this[_0x436c25(0x1ae)][_0x436c25(0x24f)]({'id':se[_0x436c25(0x203)],'data':Kt[_0x212565[_0x436c25(0x330)]]}),this[_0x436c25(0x247)][_0x436c25(0x25e)](0x2);return;}this[_0x436c25(0x247)][_0x436c25(0x25e)](0x3);const _0x4426a5=(_0x5b74b7=_0x212565[_0x436c25(0x226)][_0x436c25(0x428)][this[_0x436c25(0x399)]])==null?void 0x0:_0x5b74b7[_0x436c25(0x197)];_0x4426a5&&_0x4426a5[_0x436c25(0x1d8)](_0x572fbb=>this['_memberService'][_0x436c25(0x1a4)](this[_0x436c25(0x399)],_0x572fbb));}[_0x41545e(0x349)](_0x4a24af){var _0x3c3a90=_0x41545e;try{const _0x4abcd2=_0x4a24af[_0x3c3a90(0x226)];switch(_0x4abcd2['eventID']){case _0x5cfd61[_0x3c3a90(0x3b6)]:this['_onUserJoin'](_0x4abcd2),this[_0x3c3a90(0x276)][_0x3c3a90(0x25e)](_0x4abcd2);break;case _0x5cfd61[_0x3c3a90(0x218)]:this['_onUserLeave'](_0x4abcd2),this[_0x3c3a90(0x276)][_0x3c3a90(0x25e)](_0x4abcd2);break;case _0x5cfd61[_0x3c3a90(0x3df)]:case _0x5cfd61[_0x3c3a90(0x3bc)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3c3a90(0x3f9)](),this[_0x3c3a90(0x276)]['next'](_0x4abcd2);break;case _0x5cfd61[_0x3c3a90(0x420)]:this[_0x3c3a90(0x398)][_0x3c3a90(0x353)](_0x3c3a90(0x39e)+JSON['stringify'](_0x4abcd2)),this['_event$']['next'](_0x4abcd2);break;case _0x5cfd61[_0x3c3a90(0x315)]:this[_0x3c3a90(0x475)]['onCommentUpdate'](_0x4abcd2[_0x3c3a90(0x226)]),this[_0x3c3a90(0x276)][_0x3c3a90(0x25e)](_0x4abcd2);break;default:this[_0x3c3a90(0x276)][_0x3c3a90(0x25e)](_0x4abcd2);}}catch(_0x16b68e){this['_logService'][_0x3c3a90(0x353)](_0x16b68e,_0x4a24af);}}[_0x41545e(0x383)](_0x57acbd){var _0x2ebe7d=_0x41545e;this[_0x2ebe7d(0x29a)][_0x2ebe7d(0x1a4)](this[_0x2ebe7d(0x399)],_0x57acbd[_0x2ebe7d(0x226)]);}['_onUserLeave'](_0x584af7){var _0x44a31d=_0x41545e;this[_0x44a31d(0x29a)]['removeMember'](this[_0x44a31d(0x399)],_0x584af7['data'][_0x44a31d(0x381)]);}async[_0x41545e(0x24c)](_0x56d256,_0x5f29e6){var _0x1a156a=_0x41545e;if(this[_0x1a156a(0x1fe)]!==0x3||!this[_0x1a156a(0x2eb)])throw new Error(_0x1a156a(0x443));try{_0x56d256['eventID']===_0x5cfd61[_0x1a156a(0x339)]&&(this[_0x1a156a(0x33d)](),this['_startTelemetryCollaborationNewChangeset'](_0x56d256)),this[_0x1a156a(0x2eb)]['send']({'cmd':F[_0x1a156a(0x1b2)],'routeKey':_0x5f29e6,'routeType':'','data':_0x56d256});}catch(_0x224186){this['_logService'][_0x1a156a(0x353)](_0x224186);}}['_scheduleCollaborationTimeoutTimer'](){var _0x4e5c6c=_0x41545e,_0x4ba440;this[_0x4e5c6c(0x2b3)]=setTimeout(()=>{var _0x8b4ec9=_0x4e5c6c;this[_0x8b4ec9(0x2b3)]=null,this[_0x8b4ec9(0x1ae)][_0x8b4ec9(0x24f)]({'id':se[_0x8b4ec9(0x37c)]});},(_0x4ba440=this[_0x4e5c6c(0x2f0)][_0x4e5c6c(0x222)](mi))!=null?_0x4ba440:gi);}[_0x41545e(0x3f9)](){var _0x2e92ad=_0x41545e;this[_0x2e92ad(0x2b3)]&&(clearTimeout(this[_0x2e92ad(0x2b3)]),this[_0x2e92ad(0x2b3)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x4025cc){var _0x4d43e0=_0x41545e;if(!this[_0x4d43e0(0x39f)])return;const {data:_0x27c686}=_0x4025cc,{unitID:_0x3bbacd,changeset:_0x12816f}=_0x27c686,{mutations:_0x15df3e,type:_0x177b42}=_0x12816f;this[_0x4d43e0(0x2a8)]={'unitId':_0x3bbacd,'type':_0x177b42,'startTime':performance[_0x4d43e0(0x2f8)](),'stopTime':0x0,'duration':0x0,'size':Hr(_0x15df3e)};}[_0x41545e(0x3e5)](){var _0x589d0e=_0x41545e;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this['_logService'][_0x589d0e(0x353)]('[CollaborationSession]',_0x589d0e(0x1ca));return;}this[_0x589d0e(0x2a8)][_0x589d0e(0x19b)]=performance[_0x589d0e(0x2f8)](),this[_0x589d0e(0x2a8)][_0x589d0e(0x1da)]=this['_telemetryInfo'][_0x589d0e(0x19b)]-this['_telemetryInfo'][_0x589d0e(0x3e7)],this[_0x589d0e(0x2f7)][_0x589d0e(0x28b)]($r,this['_telemetryInfo']),this[_0x589d0e(0x2a8)]=null;}}[_0x41545e(0x452)](){var _0x366bd9=_0x41545e;this[_0x366bd9(0x2a8)]=null;}};Et=Vr([me(0x2,_0x5b92b1),me(0x3,_0x34fb67),me(0x4,_0x236453(_0xa17142)),me(0x5,_0x236453(xe)),me(0x6,_0x236453(Ti)),me(0x7,_0x236453(pe)),me(0x8,_0x1d0f46(_0x149af4))],Et);var Wr=Object[_0x41545e(0x271)],Kr=(_0x485e24,_0x203efc,_0x458787,_0x9b92fb)=>{var _0x4fa448=_0x41545e;for(var _0x159dda=_0x9b92fb>0x1?void 0x0:_0x9b92fb?Wr(_0x203efc,_0x458787):_0x203efc,_0x3838bd=_0x485e24[_0x4fa448(0x2fa)]-0x1,_0x3ac896;_0x3838bd>=0x0;_0x3838bd--)(_0x3ac896=_0x485e24[_0x3838bd])&&(_0x159dda=_0x3ac896(_0x159dda)||_0x159dda);return _0x159dda;},be=(_0x30ba00,_0x31991c)=>(_0x39b627,_0x47bd98)=>_0x31991c(_0x39b627,_0x47bd98,_0x30ba00);let Le=class extends _0x4b1c46{constructor(_0x445435,_0x548b60,_0x4ce002,_0x40ac16,_0x19fe4a,_0x4cb766){var _0x2e06fa=_0x41545e;super(),N(this,_0x2e06fa(0x3b7),new _0x48d6f2(void 0x0)),N(this,_0x2e06fa(0x3e4),this[_0x2e06fa(0x3b7)][_0x2e06fa(0x38e)]()),N(this,_0x2e06fa(0x303),null),N(this,_0x2e06fa(0x19e),new Map()),N(this,_0x2e06fa(0x451),new _0x48d6f2(Ee['IDLE'])),N(this,'status$',this[_0x2e06fa(0x451)][_0x2e06fa(0x38e)]()),N(this,'_socketReady',!0x1),N(this,'_retryConnectingTimer'),N(this,_0x2e06fa(0x3b0),0x0),N(this,_0x2e06fa(0x449)),N(this,_0x2e06fa(0x194)),(this[_0x2e06fa(0x367)]=_0x445435,this[_0x2e06fa(0x398)]=_0x548b60,this[_0x2e06fa(0x2f0)]=_0x4ce002,this[_0x2e06fa(0x262)]=_0x40ac16,this[_0x2e06fa(0x1ae)]=_0x19fe4a,this[_0x2e06fa(0x312)]=_0x4cb766,this[_0x2e06fa(0x261)]());}get[_0x41545e(0x2eb)](){var _0x49fcca=_0x41545e;return this['_socket$'][_0x49fcca(0x370)]();}[_0x41545e(0x261)](){var _0x8128fc=_0x41545e;this[_0x8128fc(0x312)]&&this[_0x8128fc(0x41a)](this['_networkConditionService'][_0x8128fc(0x42c)]['subscribe'](_0x3a1315=>{var _0x5b8734=_0x8128fc;_0x3a1315&&!this['_socket']&&this[_0x5b8734(0x34e)](),_0x3a1315||this[_0x5b8734(0x355)]();}));}[_0x41545e(0x293)](){var _0x1a3eab=_0x41545e;super[_0x1a3eab(0x293)](),this[_0x1a3eab(0x19e)][_0x1a3eab(0x1d8)](_0x3b0e45=>_0x3b0e45[_0x1a3eab(0x293)]()),this[_0x1a3eab(0x19e)]['clear'](),this['_status$'][_0x1a3eab(0x1c5)]();}async['requireSession'](_0x4f1b67){var _0x317062=_0x41545e;if(this[_0x317062(0x19e)][_0x317062(0x46e)](_0x4f1b67))return this['_sessions'][_0x317062(0x393)](_0x4f1b67);this[_0x317062(0x2a3)]();const _0xe976a4=this[_0x317062(0x367)][_0x317062(0x34f)](Et,_0x4f1b67,this[_0x317062(0x3b7)]['asObservable']());return this[_0x317062(0x19e)]['set'](_0x4f1b67,_0xe976a4),_0xe976a4;}[_0x41545e(0x246)](_0x1d2e17){var _0x3438e1=_0x41545e,_0x219d81;const _0x29ab1d=this[_0x3438e1(0x19e)][_0x3438e1(0x393)](_0x1d2e17);_0x29ab1d&&(this[_0x3438e1(0x19e)][_0x3438e1(0x27a)](_0x1d2e17),_0x29ab1d[_0x3438e1(0x20d)]()),this[_0x3438e1(0x19e)][_0x3438e1(0x341)]||(_0x219d81=this[_0x3438e1(0x2eb)])==null||_0x219d81['close']();}[_0x41545e(0x34e)](){var _0x7f85bd=_0x41545e;this[_0x7f85bd(0x3b0)]=0x0,this[_0x7f85bd(0x1df)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x7f85bd(0x1df)]=null),this[_0x7f85bd(0x418)]();}async['_createSocket'](){var _0x321413=_0x41545e,_0x2bf69c,_0x37adfc;const _0x137005=this[_0x321413(0x2f0)][_0x321413(0x222)](Er),_0x45c06d=this[_0x321413(0x2f0)]['getConfig'](q),_0x2a37ab=(_0x37adfc=(_0x2bf69c=_0x45c06d==null?void 0x0:_0x45c06d[_0x321413(0x2d1)])!=null?_0x2bf69c:_0x137005)!=null?_0x37adfc:Ir,_0x202505=await this[_0x321413(0x262)][_0x321413(0x307)](_0x2a37ab);return this['_candidateSocket']=_0x202505,_0x202505;}async[_0x41545e(0x2a3)](){var _0x4ff478=_0x41545e,_0x465f1c,_0x3a5469;try{const _0x29229a=(_0x3a5469=(_0x465f1c=this[_0x4ff478(0x2eb)])!=null?_0x465f1c:this['_candidateSocket'])!=null?_0x3a5469:await this[_0x4ff478(0x25c)]();if(_0x29229a){const _0xd0b1f7=_0x29229a['send'];_0x29229a[_0x4ff478(0x24c)]=_0x48deca=>(this[_0x4ff478(0x3f6)](),_0xd0b1f7[_0x4ff478(0x264)](_0x29229a,[_0x48deca])),_0x29229a['message$'][_0x4ff478(0x40b)](_0x5e4153=>this[_0x4ff478(0x2ff)](_0x29229a,_0x5e4153)),_0x29229a['error$'][_0x4ff478(0x30b)](_0x118750(0x1))[_0x4ff478(0x40b)](_0x26f618=>this[_0x4ff478(0x398)][_0x4ff478(0x353)]('[CollaborationSessionService]:\x20socket\x20error',_0x26f618)),_0x29229a[_0x4ff478(0x3f3)][_0x4ff478(0x30b)](_0x118750(0x1))[_0x4ff478(0x40b)](()=>{this['_onConnectionOpen'](_0x29229a);}),_0x29229a[_0x4ff478(0x338)]['pipe'](_0x118750(0x1))[_0x4ff478(0x40b)](_0x4c13fb=>{var _0x3cb525=_0x4ff478;this[_0x3cb525(0x398)][_0x3cb525(0x3ab)](_0x3cb525(0x3b5),_0x3cb525(0x3ee),_0x4c13fb),this[_0x3cb525(0x387)]();});}}catch(_0x46a546){this['_logService'][_0x4ff478(0x353)](_0x46a546),this[_0x4ff478(0x387)]();}}[_0x41545e(0x299)](_0x23b66d){var _0x2de8f8=_0x41545e;this[_0x2de8f8(0x398)][_0x2de8f8(0x3ab)](_0x2de8f8(0x3b5),_0x2de8f8(0x31e)),_0x23b66d[_0x2de8f8(0x24c)]({'cmd':F[_0x2de8f8(0x1d1)]}),this[_0x2de8f8(0x3f6)]();}['_onOffline'](){var _0x133e53=_0x41545e;this[_0x133e53(0x3b8)]=!0x1,this[_0x133e53(0x303)]=null,this[_0x133e53(0x451)][_0x133e53(0x25e)](Ee[_0x133e53(0x1ed)]),this[_0x133e53(0x3b7)][_0x133e53(0x25e)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x41545e(0x387)](){var _0x118a6b=_0x41545e,_0x2de7fd;this[_0x118a6b(0x355)](),this[_0x118a6b(0x3b0)]<((_0x2de7fd=this[_0x118a6b(0x2f0)]['getConfig'](br))!=null?_0x2de7fd:yr)?(this[_0x118a6b(0x1ae)][_0x118a6b(0x24f)]({'id':se[_0x118a6b(0x327)]}),this[_0x118a6b(0x418)]()):this[_0x118a6b(0x1ae)][_0x118a6b(0x24f)]({'id':se[_0x118a6b(0x2ee)]});}[_0x41545e(0x418)](){var _0xe032b=_0x41545e,_0x4e56a0;const _0x185661=this[_0xe032b(0x3b0)],_0x495cb4=this[_0xe032b(0x2f0)][_0xe032b(0x222)](q),_0x5b5139=_0x185661===0x0?0x0:((_0x4e56a0=_0x495cb4==null?void 0x0:_0x495cb4['retryConnectingInterval'])!=null?_0x4e56a0:Rr)*0x2**_0x185661;this[_0xe032b(0x1df)]=setTimeout(()=>{var _0x18d81a=_0xe032b;clearTimeout(this['_retryConnectingTimer']),this[_0x18d81a(0x1df)]=null,this['_tryEnsureSocket']();},_0x5b5139),this[_0xe032b(0x3b0)]+=0x1;}[_0x41545e(0x2ff)](_0x30c816,_0x117d8d){var _0x3849b6=_0x41545e;const {cmd:_0x4ecfe6}=_0x117d8d;_0x4ecfe6===F[_0x3849b6(0x1d1)]&&!this[_0x3849b6(0x3b8)]&&(_0x30c816[_0x3849b6(0x381)]=_0x117d8d[_0x3849b6(0x226)][_0x3849b6(0x381)],this[_0x3849b6(0x3b7)][_0x3849b6(0x25e)](_0x30c816),this[_0x3849b6(0x451)][_0x3849b6(0x25e)](Ee[_0x3849b6(0x280)]),this[_0x3849b6(0x3b8)]=!0x0,this['_candidateSocket']=null),_0x4ecfe6===F['HEARTBEAT']&&this[_0x3849b6(0x1f0)](),this[_0x3849b6(0x3f6)]();}[_0x41545e(0x3f6)](){var _0x44b76f=_0x41545e,_0x175f85;this[_0x44b76f(0x3a2)](),this[_0x44b76f(0x449)]=setTimeout(()=>this[_0x44b76f(0x41f)](),(_0x175f85=this[_0x44b76f(0x2f0)]['getConfig'](Tr))!=null?_0x175f85:Cr);}[_0x41545e(0x41f)](){var _0x100755=_0x41545e;this['_socket'][_0x100755(0x24c)]({'cmd':F['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x41545e(0x1be)](){var _0x547803=_0x41545e,_0x19abbe;this[_0x547803(0x194)]=setTimeout(()=>this[_0x547803(0x387)](),(_0x19abbe=this[_0x547803(0x2f0)][_0x547803(0x222)](mi))!=null?_0x19abbe:gi);}[_0x41545e(0x3a2)](){var _0xb40fa8=_0x41545e;this[_0xb40fa8(0x449)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0xb40fa8(0x449)]=null);}[_0x41545e(0x1f0)](){var _0x1b20ef=_0x41545e;this[_0x1b20ef(0x194)]!=null&&(clearTimeout(this[_0x1b20ef(0x194)]),this[_0x1b20ef(0x194)]=null);}};Le=Kr([be(0x0,_0x236453(_0x35ce09)),be(0x1,_0x5b92b1),be(0x2,_0x34fb67),be(0x3,Ii),be(0x4,_0x236453(pe)),be(0x5,_0x1d0f46(Ar))],Le);const G=[];for(let i=0x0;i<0x100;++i)G['push']((i+0x100)['toString'](0x10)[_0x41545e(0x377)](0x1));function Yr(_0x2f41fe,_0x20fda4=0x0){var _0x360e29=_0x41545e;return(G[_0x2f41fe[_0x20fda4+0x0]]+G[_0x2f41fe[_0x20fda4+0x1]]+G[_0x2f41fe[_0x20fda4+0x2]]+G[_0x2f41fe[_0x20fda4+0x3]]+'-'+G[_0x2f41fe[_0x20fda4+0x4]]+G[_0x2f41fe[_0x20fda4+0x5]]+'-'+G[_0x2f41fe[_0x20fda4+0x6]]+G[_0x2f41fe[_0x20fda4+0x7]]+'-'+G[_0x2f41fe[_0x20fda4+0x8]]+G[_0x2f41fe[_0x20fda4+0x9]]+'-'+G[_0x2f41fe[_0x20fda4+0xa]]+G[_0x2f41fe[_0x20fda4+0xb]]+G[_0x2f41fe[_0x20fda4+0xc]]+G[_0x2f41fe[_0x20fda4+0xd]]+G[_0x2f41fe[_0x20fda4+0xe]]+G[_0x2f41fe[_0x20fda4+0xf]])[_0x360e29(0x1e7)]();}let ut;const qr=new Uint8Array(0x10);function zr(){var _0x4409af=_0x41545e;if(!ut){if(typeof crypto>'u'||!crypto[_0x4409af(0x1b1)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x4409af(0x1b1)][_0x4409af(0x46f)](crypto);}return ut(qr);}const Jr=typeof crypto<'u'&&crypto[_0x41545e(0x1e8)]&&crypto[_0x41545e(0x1e8)][_0x41545e(0x46f)](crypto),Yt={'randomUUID':Jr};function Xr(_0x54fdda,_0x242160,_0x5b268e){var _0x4f7bff=_0x41545e,_0xd33db5,_0x49ddae,_0x3243e8;if(Yt[_0x4f7bff(0x1e8)]&&!_0x54fdda)return Yt['randomUUID']();_0x54fdda=_0x54fdda||{};const _0x182ab1=(_0x3243e8=(_0x49ddae=_0x54fdda[_0x4f7bff(0x2f1)])!=null?_0x49ddae:(_0xd33db5=_0x54fdda[_0x4f7bff(0x411)])==null?void 0x0:_0xd33db5[_0x4f7bff(0x33e)](_0x54fdda))!=null?_0x3243e8:zr();if(_0x182ab1['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x182ab1[0x6]=_0x182ab1[0x6]&0xf|0x40,_0x182ab1[0x8]=_0x182ab1[0x8]&0x3f|0x80,Yr(_0x182ab1);}const J=_0x40779a('collaboration-client.local-cache-service');function Bs(_0x136256){var _0x52253d=_0x41545e;return _0x52253d(0x221)+_0x136256;}var Zr=Object[_0x41545e(0x271)],Qr=(_0x4d3d26,_0xe70aad,_0x49db4f,_0xe7f1fc)=>{for(var _0x6bd65c=_0xe7f1fc>0x1?void 0x0:_0xe7f1fc?Zr(_0xe70aad,_0x49db4f):_0xe70aad,_0x5d5c7f=_0x4d3d26['length']-0x1,_0x13aae3;_0x5d5c7f>=0x0;_0x5d5c7f--)(_0x13aae3=_0x4d3d26[_0x5d5c7f])&&(_0x6bd65c=_0x13aae3(_0x6bd65c)||_0x6bd65c);return _0x6bd65c;},dt=(_0x4017cb,_0x2f8294)=>(_0x538e66,_0x543ae6)=>_0x2f8294(_0x538e66,_0x543ae6,_0x4017cb);function en(_0x24b9e5){var _0x3ef42f=_0x41545e;const {unitID:_0x25f220,mutations:_0xe78c41}=_0x24b9e5;return{'unitId':_0x25f220,'subUnitId':_0xe78c41[0x0]['params'][_0x3ef42f(0x2f3)]};}let it=class{constructor(_0x1e5b5b,_0x12ba80,_0x27c187){var _0x3eb548=_0x41545e;this['_injector']=_0x1e5b5b,this[_0x3eb548(0x3ac)]=_0x12ba80,this[_0x3eb548(0x33a)]=_0x27c187;}[_0x41545e(0x188)](_0x451393){var _0x424f90=_0x41545e,_0x3d6be2,_0x5886b7,_0x47afb4,_0x515bff;const _0x306352=this['_injector'][_0x424f90(0x393)](_0xb5c7c4),{unitId:_0x19cf77,subUnitId:_0x28b43e}=en(_0x451393),_0x26f1c8=_0x306352==null?void 0x0:_0x306352[_0x424f90(0x466)](_0x19cf77)['getCurrentSelections'](),_0x38d741=(_0x5886b7=(_0x3d6be2=this[_0x424f90(0x33a)][_0x424f90(0x311)](_0x19cf77))==null?void 0x0:_0x3d6be2[_0x424f90(0x2a0)]())==null?void 0x0:_0x5886b7['getSheetId']();if(_0x26f1c8[_0x424f90(0x2fa)]===0x0||!_0x19cf77||!_0x28b43e)return;const _0x550a6e=[{'id':_0x341123['id'],'params':{'unitId':_0x19cf77,'subUnitId':_0x38d741,'selections':_0x4c19fa[_0x424f90(0x408)](_0x26f1c8)}}],_0x3134ba=this[_0x424f90(0x3ac)][_0x424f90(0x254)](_0x451393,_0x550a6e);if(!_0x191540(_0x3134ba))throw _0x3134ba[_0x424f90(0x353)];const _0x38f40c=(_0x515bff=(_0x47afb4=_0x3134ba['m2Prime'][0x0])==null?void 0x0:_0x47afb4[_0x424f90(0x436)])==null?void 0x0:_0x515bff[_0x424f90(0x407)];if(Array['isArray'](_0x38f40c)&&_0x38f40c[_0x424f90(0x2fa)]){if(_0x38f40c[_0x424f90(0x2fa)]===_0x550a6e[0x0][_0x424f90(0x436)]['selections']['length']&&_0x38f40c[_0x424f90(0x3d8)]((_0x34dd7e,_0x2e8759)=>_0x807e68['equals'](_0x34dd7e['range'],_0x550a6e[0x0][_0x424f90(0x436)][_0x424f90(0x407)][_0x2e8759][_0x424f90(0x42e)])))return;this[_0x424f90(0x367)][_0x424f90(0x393)](_0x2c92b5)['executeCommand'](_0x341123['id'],{'unitId':_0x19cf77,'subUnitId':_0x38d741,'selections':_0x38f40c});}}};it=Qr([dt(0x0,_0x236453(_0x35ce09)),dt(0x1,_0x1335c8),dt(0x2,_0x214b6f)],it);const ht=_0x40779a(_0x41545e(0x3ed));var Ci=(_0x2282d0=>(_0x2282d0[_0x2282d0[_0x41545e(0x278)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2282d0[_0x2282d0[_0x41545e(0x2c3)]=0x1]=_0x41545e(0x2c3),_0x2282d0))(Ci||{});const tn=new Set([_0x18838c['id']]);function qt(_0x34d845,_0x3214ee,_0x5887a5,_0x4a0bde,_0x313306){var _0x1f42cb=_0x41545e,_0x309ea2,_0x356635,_0x40414c,_0x208b49;const _0x1f2938=[];for(const _0x4f4190 of _0x34d845)if(tn['has'](_0x4f4190['id'])){if(_0x1f2938[_0x1f42cb(0x2fa)]>0x0)break;_0x1f2938[_0x1f42cb(0x22d)](_0x4f4190);break;}else _0x1f2938[_0x1f42cb(0x22d)](_0x4f4190);const _0xee9ce=(_0x356635=(_0x309ea2=_0x313306[_0x1f42cb(0x267)]())==null?void 0x0:_0x309ea2[_0x1f42cb(0x27d)])!=null?_0x356635:'unknown',_0x89bb40=(_0x208b49=(_0x40414c=_0x313306[_0x1f42cb(0x267)]())==null?void 0x0:_0x40414c[_0x1f42cb(0x381)])!=null?_0x208b49:'unknown';return{'changeset':{'unitID':_0x3214ee,'type':_0x221d05(_0x5887a5[_0x1f42cb(0x331)](_0x3214ee)),'baseRev':_0x4a0bde[_0x1f42cb(0x189)](_0x3214ee),'revision':0x0,'userID':_0xee9ce,'memberID':_0x89bb40,'mutations':_0x1f2938},'pendingMutations':_0x34d845['slice'](_0x1f2938[_0x1f42cb(0x2fa)])};}function rn(_0x167796,_0x594d74,_0x19326e,_0x273201,_0x586c36){var _0x3521fc=_0x41545e,_0x191f17,_0x2979ca,_0x543864,_0x3ecd80;const _0x3e9a0b=[_0x167796['reduce']((_0x4d00f6,_0x19f2ae)=>{var _0x5dc7a7=_0x5230,_0x2678da;const {id:_0x38c386}=_0x4d00f6,{id:_0x34f85f,type:_0xdfafe}=_0x19f2ae,_0x18bb7d=(_0x2678da=_0x4d00f6['params'])!=null?_0x2678da:{'actions':null},_0x51ee85=_0x19f2ae[_0x5dc7a7(0x436)];if(_0x38c386&&_0x38c386!==_0x34f85f)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x38c386+_0x5dc7a7(0x27e)+_0x34f85f+'.');return{..._0x4d00f6,'id':_0x34f85f,'type':_0xdfafe,'params':{'unitId':_0x51ee85[_0x5dc7a7(0x36d)],'textRanges':_0x51ee85[_0x5dc7a7(0x1cb)],'actions':_0x2b4183['compose'](_0x18bb7d[_0x5dc7a7(0x395)],_0x51ee85[_0x5dc7a7(0x395)])}};},{})],_0x118131=(_0x2979ca=(_0x191f17=_0x586c36['getCurrentUser']())==null?void 0x0:_0x191f17['userID'])!=null?_0x2979ca:'unknown',_0x1093f2=(_0x3ecd80=(_0x543864=_0x586c36[_0x3521fc(0x267)]())==null?void 0x0:_0x543864[_0x3521fc(0x381)])!=null?_0x3ecd80:_0x3521fc(0x462);return{'changeset':{'unitID':_0x594d74,'type':_0x221d05(_0x19326e['getUnitType'](_0x594d74)),'baseRev':_0x273201[_0x3521fc(0x189)](_0x594d74),'revision':0x0,'userID':_0x118131,'memberID':_0x1093f2,'mutations':_0x3e9a0b},'pendingMutations':[]};}function Ri(_0x15c45a,_0x4803a8){var _0x18cc4c=_0x41545e;const _0x36632e=new _0x4225a9(0x1);return setTimeout(()=>_0x36632e[_0x18cc4c(0x25e)](_0x4803a8),_0x15c45a),_0x36632e['asObservable']()[_0x18cc4c(0x30b)](_0x4774cb(0x1));}const nn={'id':_0x59316b['id'],'type':_0x36bcfe[_0x41545e(0x1fa)],'params':{}};var sn=Object['getOwnPropertyDescriptor'],Te=(_0x44d2fa,_0x4608d9,_0x439c56,_0x2de0ca)=>{var _0x4ce443=_0x41545e;for(var _0x2d7927=_0x2de0ca>0x1?void 0x0:_0x2de0ca?sn(_0x4608d9,_0x439c56):_0x4608d9,_0x1f3eb6=_0x44d2fa[_0x4ce443(0x2fa)]-0x1,_0x13b6f9;_0x1f3eb6>=0x0;_0x1f3eb6--)(_0x13b6f9=_0x44d2fa[_0x1f3eb6])&&(_0x2d7927=_0x13b6f9(_0x2d7927)||_0x2d7927);return _0x2d7927;},P=(_0x31c886,_0x47c082)=>(_0x41002d,_0x10228d)=>_0x47c082(_0x41002d,_0x10228d,_0x31c886),bi=(_0x40f609=>(_0x40f609[_0x41545e(0x195)]=_0x41545e(0x2ec),_0x40f609[_0x41545e(0x251)]=_0x41545e(0x260),_0x40f609['PENDING']=_0x41545e(0x38a),_0x40f609[_0x41545e(0x266)]=_0x41545e(0x3bb),_0x40f609[_0x41545e(0x34c)]=_0x41545e(0x42a),_0x40f609[_0x41545e(0x2dd)]=_0x41545e(0x346),_0x40f609[_0x41545e(0x2cb)]=_0x41545e(0x447),_0x40f609[_0x41545e(0x1ed)]='offline',_0x40f609))(bi||{});const yi=0xea60;class Ce{constructor(_0x210661,_0x18794d,_0x369e15,_0x838477,_0x1a6179,_0x4761c9,_0x362f17,_0x55eb81,_0x227feb){var _0x3690f4=_0x41545e;N(this,_0x3690f4(0x3bf),null),N(this,_0x3690f4(0x35a),[]),(this[_0x3690f4(0x25a)]=_0x210661,this['type']=_0x18794d,this['_handler']=_0x1a6179,this[_0x3690f4(0x396)]=_0x4761c9,this[_0x3690f4(0x253)]=_0x362f17,this['_revisionService']=_0x55eb81,this[_0x3690f4(0x3d9)]=_0x227feb,this[_0x3690f4(0x3bf)]=_0x369e15,this[_0x3690f4(0x35a)]=_0x838477);}[_0x41545e(0x211)](_0x2fda30){var _0x3b8a41=_0x41545e;const _0x31f9c3=this[_0x3b8a41(0x3ad)][_0x3b8a41(0x189)](this[_0x3b8a41(0x25a)]);return _0x2fda30[_0x3b8a41(0x2a2)]>_0x31f9c3+0x1?(this['_handler']['onMissingChangesets']({'from':_0x31f9c3,'to':_0x2fda30[_0x3b8a41(0x2a2)]-0x1}),!0x0):!0x1;}[_0x41545e(0x2c2)](_0x57e018){var _0x452043=_0x41545e;this['_undoRedoService'][_0x452043(0x29e)](this[_0x452043(0x25a)],_0x57e018);}[_0x41545e(0x43e)](_0x8bdaa9){var _0x2441b5=_0x41545e,_0x6d9a9c,_0x1968a6;(_0x1968a6=(_0x6d9a9c=this['_handler'])[_0x2441b5(0x2bc)])==null||_0x1968a6[_0x2441b5(0x33e)](_0x6d9a9c,_0x8bdaa9);}[_0x41545e(0x3de)](_0x14684b){var _0x41ad7a=_0x41545e,_0x124ec3,_0x15b2dc;return(_0x15b2dc=(_0x124ec3=this[_0x41ad7a(0x412)])['onTransformIME'])==null?void 0x0:_0x15b2dc[_0x41ad7a(0x33e)](_0x124ec3,_0x14684b);}['_transformStateCache'](_0x24857e){var _0x24a16d=_0x41545e,_0x4d4b5,_0x322337;return(_0x322337=(_0x4d4b5=this[_0x24a16d(0x412)])['onTransformState'])==null?void 0x0:_0x322337[_0x24a16d(0x33e)](_0x4d4b5,_0x24857e);}[_0x41545e(0x319)](_0x50e484){var _0x25a629=_0x41545e,_0x3bbdce,_0x8d1b56,_0x3585b4;return(_0x3585b4=(_0x8d1b56=(_0x3bbdce=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x8d1b56[_0x25a629(0x33e)](_0x3bbdce,_0x50e484))!=null?_0x3585b4:_0x50e484;}[_0x41545e(0x2e7)](_0x72d35){var _0x4ba9e1=_0x41545e,_0x2101e6,_0x5ddf52,_0x2208fb;return(_0x2208fb=(_0x5ddf52=(_0x2101e6=this[_0x4ba9e1(0x412)])[_0x4ba9e1(0x3f2)])==null?void 0x0:_0x5ddf52[_0x4ba9e1(0x33e)](_0x2101e6,_0x72d35))!=null?_0x2208fb:_0x72d35;}[_0x41545e(0x2fc)](_0x58fe2b){var _0xb09758=_0x41545e,_0x1280fa,_0x3f7bef;if(this[_0xb09758(0x1b3)]===Q[_0xb09758(0x378)]){const {unitID:_0x33d4f7,mutations:_0x5192b4,memberID:_0x45cbcf}=_0x58fe2b,_0x620dbe=_0x5192b4[0x0]['params'][_0xb09758(0x1cb)];Array[_0xb09758(0x394)](_0x620dbe)&&_0x620dbe['length']>0x0&&((_0x3f7bef=(_0x1280fa=this[_0xb09758(0x412)])[_0xb09758(0x369)])==null||_0x3f7bef['call'](_0x1280fa,{'unitID':_0x33d4f7,'memberID':_0x45cbcf,'textRanges':_0x620dbe}));}}[_0x41545e(0x3e0)](){var _0x499ac2=_0x41545e,_0x288cf9;(_0x288cf9=this[_0x499ac2(0x3d9)])==null||_0x288cf9[_0x499ac2(0x36f)](this['unitID'],this[_0x499ac2(0x1b3)],this[_0x499ac2(0x3bf)],this[_0x499ac2(0x35a)]);}[_0x41545e(0x314)](){var _0x35a219=_0x41545e;return this[_0x35a219(0x3ad)][_0x35a219(0x189)](this[_0x35a219(0x25a)]);}[_0x41545e(0x2f6)](){var _0x3b8c5c=_0x41545e;this[_0x3b8c5c(0x3ad)][_0x3b8c5c(0x424)](this[_0x3b8c5c(0x25a)]);}[_0x41545e(0x3a4)](_0x5d6d9c){var _0xd8228=_0x41545e,_0x4a0433;let _0x5ddcf5=this[_0xd8228(0x319)](_0x5d6d9c);_0x5ddcf5=this[_0xd8228(0x2e7)](_0x5ddcf5);const _0x1917f9=_0xb3a7a3(_0x5ddcf5[_0xd8228(0x292)],this[_0xd8228(0x396)],{'fromCollab':!0x0});if(!_0x1917f9[_0xd8228(0x361)])throw _0x1917f9[_0xd8228(0x353)]instanceof Error?_0x1917f9[_0xd8228(0x353)]:new Error((_0x4a0433=_0x1917f9[_0xd8228(0x353)])!=null?_0x4a0433:_0xd8228(0x18b));this[_0xd8228(0x3de)](_0x5ddcf5),this[_0xd8228(0x1de)](_0x5ddcf5),this['_transformUndoredo'](_0x5d6d9c),this[_0xd8228(0x43e)](_0x5ddcf5),this[_0xd8228(0x2fc)](_0x5ddcf5),this[_0xd8228(0x2f6)]();}}let Ne=class extends Ce{constructor(_0x3679ab,_0x353131,_0x9ff16,_0x525dd8,_0x17f5eb,_0x296fc4,_0x45f9ef,_0x5aeb82,_0x576384,_0xfda6ea){var _0xaa641f=_0x41545e;super(_0x3679ab,_0x353131,null,[],_0x9ff16,_0x45f9ef,_0x296fc4,_0x525dd8,_0xfda6ea),N(this,_0xaa641f(0x244),_0xaa641f(0x260)),(this[_0xaa641f(0x367)]=_0x17f5eb,this[_0xaa641f(0x398)]=_0x5aeb82,this[_0xaa641f(0x3ac)]=_0x576384,this[_0xaa641f(0x2d3)]=_0xfda6ea);}[_0x41545e(0x45f)](_0x529b27){var _0x2d09c7=_0x41545e;const _0x160892=this[_0x2d09c7(0x367)][_0x2d09c7(0x34f)](oe,this[_0x2d09c7(0x25a)],this['type'],[_0x529b27],this[_0x2d09c7(0x412)]);return _0x160892[_0x2d09c7(0x2b5)](),_0x160892['_updateLocalCache'](),_0x160892;}['onRemoteChangeset'](_0x3a8464){var _0x2be838=_0x41545e;if(this[_0x2be838(0x211)](_0x3a8464))return this[_0x2be838(0x367)][_0x2be838(0x34f)](ee,this[_0x2be838(0x25a)],this[_0x2be838(0x1b3)],null,[],null,[_0x3a8464],this[_0x2be838(0x412)]);try{const _0x2ce957=this['_transformService'][_0x2be838(0x254)](_0x3a8464,[nn]);if(_0x191540(_0x2ce957)){const {c1Prime:_0x4bd2af}=_0x2ce957;return this[_0x2be838(0x3a4)](_0x4bd2af),this;}throw _0x2ce957[_0x2be838(0x353)];}catch(_0x57b99f){return this[_0x2be838(0x398)]['error'](_0x57b99f),this[_0x2be838(0x47f)](!0x1);}}['_onConflict'](_0x3882f9){var _0x164a52=_0x41545e;return this[_0x164a52(0x367)]['createInstance'](ue,this['unitID'],this[_0x164a52(0x1b3)],null,[],this[_0x164a52(0x412)],_0x3882f9);}[_0x41545e(0x3bd)](){var _0x3e1829=_0x41545e;throw new Error(_0x3e1829(0x223));}[_0x41545e(0x439)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x41545e(0x2ab)](){return this;}['toggleOffline'](){var _0x43bf1f=_0x41545e;return this[_0x43bf1f(0x367)]['createInstance'](de,this[_0x43bf1f(0x25a)],this[_0x43bf1f(0x1b3)],null,[],this[_0x43bf1f(0x412)]);}['toggleOnline'](){return this;}[_0x41545e(0x468)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x41545e(0x3ff)](){var _0x44026a=_0x41545e;const _0x324a85=this[_0x44026a(0x3ad)][_0x44026a(0x189)](this['unitID']);return this[_0x44026a(0x412)][_0x44026a(0x1c7)]({'from':_0x324a85,'to':0x0}),this[_0x44026a(0x367)][_0x44026a(0x34f)](ee,this['unitID'],this[_0x44026a(0x1b3)],null,[],null,[],this['_handler']);}};Ne=Te([P(0x3,_0x236453(_0x4fea53)),P(0x4,_0x236453(_0x35ce09)),P(0x5,_0x5a61a5),P(0x6,_0x2c92b5),P(0x7,_0x5b92b1),P(0x8,_0x1335c8),P(0x9,_0x1d0f46(J))],Ne);let oe=class extends Ce{constructor(_0xbe8c55,_0x85e2e7,_0x411feb,_0x25a851,_0x4ec235,_0x199e0a,_0x13a237,_0x1c67f9,_0x364009,_0x2f8463,_0x113e43,_0x4e6cbc,_0x545b17,_0xf54904){var _0x4a95c5=_0x41545e;super(_0xbe8c55,_0x85e2e7,null,_0x411feb,_0x25a851,_0x364009,_0x545b17,_0x199e0a,_0xf54904),N(this,_0x4a95c5(0x244),_0x4a95c5(0x38a)),N(this,_0x4a95c5(0x1a9),null),N(this,_0x4a95c5(0x325),null),(this[_0x4a95c5(0x367)]=_0x4ec235,this['_memberService']=_0x13a237,this['_logService']=_0x1c67f9,this['_configService']=_0x2f8463,this['_transformService']=_0x113e43,this['_univerInstanceService']=_0x4e6cbc);}[_0x41545e(0x45f)](_0x155c41){var _0x17753d=_0x41545e;return this[_0x17753d(0x35a)]['push'](_0x155c41),this[_0x17753d(0x3e0)](),this;}['onRemoteChangeset'](_0x4bd393){var _0x25a99d=_0x41545e;if(this[_0x25a99d(0x211)](_0x4bd393))return this['_clearScheduledTask'](),this[_0x25a99d(0x367)]['createInstance'](ee,this[_0x25a99d(0x25a)],this['type'],null,this[_0x25a99d(0x35a)],null,[_0x4bd393],this[_0x25a99d(0x412)]);try{const _0x33f59d=this[_0x25a99d(0x3ac)][_0x25a99d(0x254)](_0x4bd393,this[_0x25a99d(0x35a)]);if(_0x191540(_0x33f59d)){const {c1Prime:_0x54ec93,m2Prime:_0x25cda2}=_0x33f59d;this[_0x25a99d(0x3a4)](_0x54ec93);const _0xc4ebca=this[_0x25a99d(0x367)][_0x25a99d(0x34f)](oe,this[_0x25a99d(0x25a)],this[_0x25a99d(0x1b3)],_0x25cda2,this[_0x25a99d(0x412)]);this[_0x25a99d(0x1bb)]();const _0x5a30cb=new Date()[_0x25a99d(0x414)](),_0x505505=this[_0x25a99d(0x1a9)]?Math[_0x25a99d(0x401)](this['_scheduleCompleteTimestamp']-_0x5a30cb,0x0):this[_0x25a99d(0x46b)]();return _0xc4ebca[_0x25a99d(0x2b5)](_0x505505),_0xc4ebca;}throw _0x33f59d[_0x25a99d(0x353)];}catch(_0x3fbad2){return this[_0x25a99d(0x398)][_0x25a99d(0x353)](_0x3fbad2),this[_0x25a99d(0x47f)](!0x1);}}[_0x41545e(0x3bd)](){var _0x1efba9=_0x41545e;throw new Error(_0x1efba9(0x41d));}[_0x41545e(0x439)](){var _0x26b442=_0x41545e;throw new Error(_0x26b442(0x437));}[_0x41545e(0x2ab)](){return this;}[_0x41545e(0x429)](){var _0x1a09f1=_0x41545e;return this[_0x1a09f1(0x1bb)](),this[_0x1a09f1(0x367)]['createInstance'](de,this[_0x1a09f1(0x25a)],this[_0x1a09f1(0x1b3)],null,this[_0x1a09f1(0x35a)],this[_0x1a09f1(0x412)]);}[_0x41545e(0x274)](){return this;}[_0x41545e(0x2b5)](_0x3be163){var _0x59b4c7=_0x41545e;const _0x227278=_0x3be163!=null?_0x3be163:this['_getSendChangesetTimeout']();this[_0x59b4c7(0x1a9)]=new Date()[_0x59b4c7(0x414)]()+_0x227278,this[_0x59b4c7(0x325)]=setTimeout(()=>{var _0x17214f=_0x59b4c7;this['_clearScheduledTask']();let _0x46c281=null;switch(this[_0x17214f(0x1b3)]){case Q[_0x17214f(0x1af)]:{_0x46c281=qt(this[_0x17214f(0x35a)],this[_0x17214f(0x25a)],this[_0x17214f(0x1f6)],this['_revisionService'],this['_memberService']);break;}case Q[_0x17214f(0x378)]:{this[_0x17214f(0x35a)]['every'](_0x5e45f7=>_0x5e45f7['id']===_0x1ba331['id'])?_0x46c281=rn(this[_0x17214f(0x35a)],this['unitID'],this[_0x17214f(0x1f6)],this[_0x17214f(0x3ad)],this['_memberService']):_0x46c281=qt(this['_pendingMutations'],this['unitID'],this[_0x17214f(0x1f6)],this[_0x17214f(0x3ad)],this[_0x17214f(0x29a)]);break;}default:throw new Error(_0x17214f(0x3f1)+this[_0x17214f(0x1b3)]+_0x17214f(0x45e));}const {changeset:_0x1e694b,pendingMutations:_0x19f0e5}=_0x46c281;this[_0x17214f(0x412)][_0x17214f(0x3c0)](_0x1e694b);const _0x1318a7=_0x19f0e5[_0x17214f(0x2fa)]?this[_0x17214f(0x367)][_0x17214f(0x34f)](ae,this[_0x17214f(0x25a)],this[_0x17214f(0x1b3)],_0x1e694b,_0x19f0e5,this['_handler'],void 0x0):this[_0x17214f(0x367)][_0x17214f(0x34f)](le,this[_0x17214f(0x25a)],this['type'],_0x1e694b,this[_0x17214f(0x412)]);_0x1318a7[_0x17214f(0x3e0)](),this[_0x17214f(0x412)][_0x17214f(0x364)](this,_0x1318a7);},_0x227278);}[_0x41545e(0x46b)](){var _0x10209e=_0x41545e,_0x1e7662;const _0x1af606=this['_configService'][_0x10209e(0x222)](q);return(_0x1e7662=_0x1af606==null?void 0x0:_0x1af606[_0x10209e(0x362)])!=null?_0x1e7662:Sr;}[_0x41545e(0x468)](){var _0x8b815e=_0x41545e;throw new Error(_0x8b815e(0x340));}[_0x41545e(0x1bb)](){var _0x905b07=_0x41545e;this[_0x905b07(0x325)]!=null&&(clearTimeout(this[_0x905b07(0x325)]),this[_0x905b07(0x325)]=null);}[_0x41545e(0x47f)](_0x39e1d6){var _0x5f410e=_0x41545e;return this[_0x5f410e(0x1bb)](),this[_0x5f410e(0x367)]['createInstance'](ue,this[_0x5f410e(0x25a)],this[_0x5f410e(0x1b3)],null,this[_0x5f410e(0x35a)],this[_0x5f410e(0x412)],_0x39e1d6);}};oe=Te([P(0x4,_0x236453(_0x35ce09)),P(0x5,_0x236453(_0x4fea53)),P(0x6,_0x236453(xe)),P(0x7,_0x5b92b1),P(0x8,_0x2c92b5),P(0x9,_0x34fb67),P(0xa,_0x1335c8),P(0xb,_0x214b6f),P(0xc,_0x5a61a5),P(0xd,_0x1d0f46(J))],oe);let le=class extends Ce{constructor(_0x2841ec,_0x419f24,_0x534c82,_0x539d94,_0x5a6153,_0x537c09,_0x3b1c6d,_0x1e7f63,_0x3a4f0a,_0x20af54,_0x6abeaf){var _0x5a95b4=_0x41545e;super(_0x2841ec,_0x419f24,_0x534c82,[],_0x539d94,_0x3b1c6d,_0x20af54,_0x537c09,_0x6abeaf),N(this,_0x5a95b4(0x244),_0x5a95b4(0x3bb)),N(this,_0x5a95b4(0x2d0),0x0),N(this,_0x5a95b4(0x2e1)),N(this,_0x5a95b4(0x227)),(this[_0x5a95b4(0x367)]=_0x5a6153,this[_0x5a95b4(0x398)]=_0x1e7f63,this[_0x5a95b4(0x3ac)]=_0x3a4f0a);}[_0x41545e(0x45f)](_0x234baf){var _0x3cb9bc=_0x41545e;this[_0x3cb9bc(0x1bb)]();const _0x333b95=this[_0x3cb9bc(0x367)]['createInstance'](ae,this[_0x3cb9bc(0x25a)],this[_0x3cb9bc(0x1b3)],this[_0x3cb9bc(0x3bf)],[_0x234baf],this[_0x3cb9bc(0x412)],this[_0x3cb9bc(0x2e1)]);return _0x333b95['_updateLocalCache'](),_0x333b95;}[_0x41545e(0x406)](_0x4f7e17){var _0x1dff99=_0x41545e;if(this[_0x1dff99(0x211)](_0x4f7e17))return this[_0x1dff99(0x1bb)](),this['_injector']['createInstance'](ee,this[_0x1dff99(0x25a)],this[_0x1dff99(0x1b3)],this[_0x1dff99(0x3bf)],[],null,[_0x4f7e17],this[_0x1dff99(0x412)]);try{const _0x47d1fe=this[_0x1dff99(0x3ac)][_0x1dff99(0x343)]([_0x4f7e17],[this[_0x1dff99(0x3bf)]],!0x1);if(_0xab296d(_0x47d1fe)){const {c1Prime:_0x19af60,c2Prime:_0x46b0c1}=_0x47d1fe;this[_0x1dff99(0x3a4)](_0x19af60[0x0]),_0x46b0c1[0x0][_0x1dff99(0x2b7)]=this[_0x1dff99(0x314)](),this[_0x1dff99(0x1bb)]();const _0x371e31=this[_0x1dff99(0x367)][_0x1dff99(0x34f)](le,this['unitID'],this['type'],_0x46b0c1[0x0],this[_0x1dff99(0x412)]);return _0x371e31['_updateLocalCache'](),_0x371e31;}return this['_onConflict'](!0x1);}catch(_0x3be83d){return this[_0x1dff99(0x398)][_0x1dff99(0x353)](_0x3be83d),this[_0x1dff99(0x47f)](!0x1);}}[_0x41545e(0x3bd)](_0xaf06b3){var _0x88bbef=_0x41545e;this[_0x88bbef(0x1bb)]();const _0xdd4015=this[_0x88bbef(0x3ad)][_0x88bbef(0x189)](this['unitID']);if(_0xaf06b3['revision']<_0xdd4015-0x1)return this;if(this[_0x88bbef(0x211)](_0xaf06b3))return this[_0x88bbef(0x367)][_0x88bbef(0x34f)](ee,this[_0x88bbef(0x25a)],this['type'],null,[],this[_0x88bbef(0x3bf)],[],this[_0x88bbef(0x412)]);this['_incrementRevisionNumber']();const _0x96b38e=this[_0x88bbef(0x367)]['createInstance'](Ne,this[_0x88bbef(0x25a)],this[_0x88bbef(0x1b3)],this[_0x88bbef(0x412)]);return _0x96b38e['_updateLocalCache'](),_0x96b38e;}[_0x41545e(0x439)](_0x56277b){var _0x229567=_0x41545e;return this[_0x229567(0x47f)](!!(_0x56277b!=null&&_0x56277b[_0x229567(0x3c5)]));}[_0x41545e(0x2ab)](_0x4ed98b){var _0x26e989=_0x41545e;return this['_resendTimeout']>yi?this[_0x26e989(0x429)]():(this[_0x26e989(0x2e1)]=Ri(this[_0x26e989(0x2d0)],{'timeout':this[_0x26e989(0x2d0)],'reqId':_0x4ed98b[_0x26e989(0x1e5)]}),this[_0x26e989(0x227)]=this['_resendTimer'][_0x26e989(0x40b)](({reqId:_0x256a29,timeout:_0x54d3dc})=>{var _0x32641c=_0x26e989;this[_0x32641c(0x294)](_0x256a29,_0x54d3dc);}),this);}['toggleOffline'](){var _0x3cc351=_0x41545e;return this['_clearScheduledTask'](),this[_0x3cc351(0x367)][_0x3cc351(0x34f)](de,this[_0x3cc351(0x25a)],this[_0x3cc351(0x1b3)],this['_awaitingChangeset'],[],this[_0x3cc351(0x412)]);}[_0x41545e(0x274)](){return this;}['resend'](){var _0x158097=_0x41545e;this['_handler'][_0x158097(0x3c0)](this[_0x158097(0x3bf)]);}[_0x41545e(0x47f)](_0x3e6f2e){var _0x7bcb4c=_0x41545e;return this[_0x7bcb4c(0x1bb)](),this[_0x7bcb4c(0x367)]['createInstance'](ue,this[_0x7bcb4c(0x25a)],this['type'],this[_0x7bcb4c(0x3bf)],[],this['_handler'],_0x3e6f2e);}['_resendWithTimeout'](_0x4312cb,_0x1c0c64){var _0x3889ce=_0x41545e,_0x1fe902;_0x4312cb===((_0x1fe902=this[_0x3889ce(0x3bf)])==null?void 0x0:_0x1fe902['reqId'])&&(this[_0x3889ce(0x468)](),this[_0x3889ce(0x2d0)]=_0x1c0c64===0x0?0x3e8:_0x1c0c64*0x2);}[_0x41545e(0x1bb)](){var _0x23c257=_0x41545e,_0x5b9dfb;(_0x5b9dfb=this[_0x23c257(0x227)])==null||_0x5b9dfb[_0x23c257(0x2ba)](),this[_0x23c257(0x2d0)]=0x0;}};le=Te([P(0x4,_0x236453(_0x35ce09)),P(0x5,_0x236453(_0x4fea53)),P(0x6,_0x2c92b5),P(0x7,_0x5b92b1),P(0x8,_0x1335c8),P(0x9,_0x5a61a5),P(0xa,_0x1d0f46(J))],le);let ae=class extends Ce{constructor(_0x128611,_0xb61717,_0x3c4c18,_0x406fd9,_0x39bed8,_0xb5fb03,_0x3fd19d,_0x34d1c4,_0x24cfab,_0xe54dc2,_0x2dabf6,_0x54c1f3,_0x1302f8){var _0x33907d=_0x41545e;super(_0x128611,_0xb61717,_0x3c4c18,_0x406fd9,_0x39bed8,_0x24cfab,_0x54c1f3,_0x34d1c4,_0x1302f8),N(this,_0x33907d(0x244),_0x33907d(0x42a)),N(this,_0x33907d(0x2d0),0x0),N(this,_0x33907d(0x2e1)),N(this,'_sender'),(this[_0x33907d(0x367)]=_0x3fd19d,this[_0x33907d(0x398)]=_0xe54dc2,this[_0x33907d(0x3ac)]=_0x2dabf6,this[_0x33907d(0x2d3)]=_0x1302f8,_0xb5fb03&&(this[_0x33907d(0x2e1)]=_0xb5fb03,this['_sender']=this['_resendTimer'][_0x33907d(0x40b)](({reqId:_0x3cea02,timeout:_0xb11ec6})=>{var _0x25384f=_0x33907d;this[_0x25384f(0x294)](_0x3cea02,_0xb11ec6);})));}[_0x41545e(0x45f)](_0x20ffd1){var _0x4d5832=_0x41545e;return this[_0x4d5832(0x35a)][_0x4d5832(0x22d)](_0x20ffd1),this;}['onRemoteChangeset'](_0x1bffb8){var _0x9dd06c=_0x41545e;if(this[_0x9dd06c(0x211)](_0x1bffb8))return this['_clearScheduledTask'](),this['_injector']['createInstance'](ee,this[_0x9dd06c(0x25a)],this[_0x9dd06c(0x1b3)],this[_0x9dd06c(0x3bf)],this[_0x9dd06c(0x35a)],null,[_0x1bffb8],this[_0x9dd06c(0x412)]);try{const _0x10fbfb=this['_transformService'][_0x9dd06c(0x343)]([_0x1bffb8],[this[_0x9dd06c(0x3bf)]],!0x1);if(_0xab296d(_0x10fbfb)){const {c1Prime:_0x428242,c2Prime:_0x3dfbb0}=_0x10fbfb,_0x1eedb8=this[_0x9dd06c(0x3ac)]['transformMutationsWithChangeset'](_0x428242[0x0],this[_0x9dd06c(0x35a)]);if(_0x191540(_0x1eedb8)){const {c1Prime:_0x3a8f2a,m2Prime:_0x3313de}=_0x1eedb8;return this[_0x9dd06c(0x3a4)](_0x3a8f2a),_0x3dfbb0[0x0][_0x9dd06c(0x2b7)]=this[_0x9dd06c(0x314)](),this[_0x9dd06c(0x1bb)](),this[_0x9dd06c(0x367)][_0x9dd06c(0x34f)](ae,this[_0x9dd06c(0x25a)],this[_0x9dd06c(0x1b3)],_0x3dfbb0[0x0],_0x3313de,this['_handler'],void 0x0);}throw _0x1eedb8[_0x9dd06c(0x353)];}throw _0x10fbfb[_0x9dd06c(0x353)];}catch(_0x22f66a){return this[_0x9dd06c(0x398)][_0x9dd06c(0x353)](_0x22f66a),this[_0x9dd06c(0x47f)](!0x1);}}[_0x41545e(0x3bd)](_0x3cce9d){var _0x1eb1a7=_0x41545e;if(this[_0x1eb1a7(0x1bb)](),this[_0x1eb1a7(0x211)](_0x3cce9d))return this[_0x1eb1a7(0x367)][_0x1eb1a7(0x34f)](ee,this[_0x1eb1a7(0x25a)],this[_0x1eb1a7(0x1b3)],null,this[_0x1eb1a7(0x35a)],this[_0x1eb1a7(0x3bf)],[],this[_0x1eb1a7(0x412)]);this['_incrementRevisionNumber']();const _0x5bdfbd=this[_0x1eb1a7(0x367)][_0x1eb1a7(0x34f)](oe,this[_0x1eb1a7(0x25a)],this[_0x1eb1a7(0x1b3)],this['_pendingMutations'],this[_0x1eb1a7(0x412)]);return _0x5bdfbd['_schedule'](),_0x5bdfbd[_0x1eb1a7(0x3e0)](),_0x5bdfbd;}[_0x41545e(0x439)](_0x271f5d){var _0x121c39=_0x41545e;return this['_onConflict'](!!(_0x271f5d!=null&&_0x271f5d[_0x121c39(0x3c5)]));}[_0x41545e(0x2ab)](_0x1651f6){var _0x51bf7c=_0x41545e;return this[_0x51bf7c(0x2d0)]>yi?this['toggleOffline']():(this[_0x51bf7c(0x2e1)]=Ri(this[_0x51bf7c(0x2d0)],{'timeout':this[_0x51bf7c(0x2d0)],'reqId':_0x1651f6['reqId']}),this['_sender']=this[_0x51bf7c(0x2e1)][_0x51bf7c(0x40b)](({reqId:_0x721291,timeout:_0x4ad0fe})=>{var _0x438d35=_0x51bf7c;this[_0x438d35(0x294)](_0x721291,_0x4ad0fe);}),this);}[_0x41545e(0x429)](){var _0x466217=_0x41545e;return this[_0x466217(0x1bb)](),this['_injector']['createInstance'](de,this['unitID'],this['type'],this[_0x466217(0x3bf)],this[_0x466217(0x35a)],this[_0x466217(0x412)]);}[_0x41545e(0x274)](){return this;}[_0x41545e(0x468)](){var _0x42582e=_0x41545e;this[_0x42582e(0x412)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x41545e(0x47f)](_0x43a90f){var _0x576c71=_0x41545e;return this['_clearScheduledTask'](),this[_0x576c71(0x367)][_0x576c71(0x34f)](ue,this[_0x576c71(0x25a)],this['type'],null,this[_0x576c71(0x35a)],this[_0x576c71(0x412)],_0x43a90f);}[_0x41545e(0x294)](_0x2342c3,_0x1040f1){var _0x4fde51=_0x41545e,_0x1a8829;_0x2342c3===((_0x1a8829=this['_awaitingChangeset'])==null?void 0x0:_0x1a8829['reqId'])&&(this[_0x4fde51(0x468)](),this['_resendTimeout']=_0x1040f1===0x0?0x3e8:_0x1040f1*0x2);}[_0x41545e(0x1bb)](){var _0x5b6d72=_0x41545e,_0x53b479;(_0x53b479=this[_0x5b6d72(0x227)])==null||_0x53b479['unsubscribe'](),this[_0x5b6d72(0x2d0)]=0x0;}};ae=Te([P(0x6,_0x236453(_0x35ce09)),P(0x7,_0x236453(_0x4fea53)),P(0x8,_0x2c92b5),P(0x9,_0x5b92b1),P(0xa,_0x1335c8),P(0xb,_0x5a61a5),P(0xc,_0x1d0f46(J))],ae);let ue=class extends Ce{constructor(_0x5bde95,_0x5083ec,_0x34eee9,_0x2423aa,_0x51e809,_0x3b4791=!0x1,_0x4c8eaf,_0x461dc9,_0x216fd5,_0x47a199,_0x3c3b5c,_0x13840f,_0x14052c){var _0x1a1168=_0x41545e;super(_0x5bde95,_0x5083ec,_0x34eee9,_0x2423aa,_0x51e809,_0x461dc9,_0x216fd5,_0x47a199,_0x14052c),N(this,_0x1a1168(0x244),_0x1a1168(0x447)),(this['_isPermissionRej']=_0x3b4791,this['_permissionService']=_0x4c8eaf,this[_0x1a1168(0x357)]=_0x3c3b5c,this[_0x1a1168(0x1ae)]=_0x13840f,this[_0x1a1168(0x2d3)]=_0x14052c,this[_0x1a1168(0x204)](),this[_0x1a1168(0x38f)](),this[_0x1a1168(0x44b)]());}['appendMutation'](){return this;}[_0x41545e(0x406)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x41545e(0x2ab)](){return this;}['toggleOffline'](){return this;}[_0x41545e(0x274)](){return this;}[_0x41545e(0x468)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x41545e(0x38f)](){var _0x1ec1f9=_0x41545e,_0x52c967;(_0x52c967=this[_0x1ec1f9(0x3d9)])==null||_0x52c967[_0x1ec1f9(0x36f)](this['unitID'],this[_0x1ec1f9(0x1b3)],null,[]);}['_showConflictNotification'](){var _0x422736=_0x41545e;this[_0x422736(0x1d5)]?this['_collaborationUIEventService'][_0x422736(0x24f)]({'id':se[_0x422736(0x2b0)]}):this[_0x422736(0x1ae)]['emitEvent']({'id':se[_0x422736(0x2cb)]});}[_0x41545e(0x44b)](){var _0x4380f4=_0x41545e;this[_0x4380f4(0x26c)][_0x4380f4(0x3e8)](new _0xeafda4(this[_0x4380f4(0x25a)])['id'],!0x1);}};ue=Te([P(0x6,_0x236453(_0x4da13f)),P(0x7,_0x2c92b5),P(0x8,_0x5a61a5),P(0x9,_0x236453(_0x4fea53)),P(0xa,_0x236453(_0xa17142)),P(0xb,_0x236453(pe)),P(0xc,_0x1d0f46(J))],ue);let de=class extends Ce{constructor(_0x2f5b6f,_0x47acd3,_0x497b88,_0x246ffb,_0x4025fb,_0x50bd44,_0xd215cb,_0x207e1a,_0x2e6c8a,_0x40ab80){var _0x40ec3a=_0x41545e;super(_0x2f5b6f,_0x47acd3,_0x497b88,_0x246ffb,_0x4025fb,_0x207e1a,_0x2e6c8a,_0xd215cb,_0x40ab80),N(this,_0x40ec3a(0x244),'offline'),this[_0x40ec3a(0x367)]=_0x50bd44;}[_0x41545e(0x45f)](_0x149c35){return this['_pendingMutations']['push'](_0x149c35),this['_updateLocalCache'](),this;}[_0x41545e(0x406)](_0x59d620){var _0x52c22a=_0x41545e;throw new Error(_0x52c22a(0x3be));}['onRemoteAck'](){var _0x1e97be=_0x41545e;throw new Error(_0x1e97be(0x47c));}[_0x41545e(0x439)](){var _0x434f2c=_0x41545e;throw new Error(_0x434f2c(0x1aa));}[_0x41545e(0x2ab)](){return this;}[_0x41545e(0x429)](){return this;}[_0x41545e(0x274)](){var _0x32d784=_0x41545e;const {_injector:_0xb8afb4,_pendingMutations:_0x6762c4,_awaitingChangeset:_0x213c39,unitID:_0x4155d9,_handler:_0x158d80,type:_0x23125d}=this,_0x4344e6=Oi(_0xb8afb4,_0x4155d9,_0x23125d,_0x213c39,_0x6762c4,_0x158d80);return _0x4344e6 instanceof oe?_0x4344e6[_0x32d784(0x2b5)]():(_0x4344e6 instanceof ae||_0x4344e6 instanceof le)&&_0x4344e6[_0x32d784(0x468)](),_0x4344e6;}[_0x41545e(0x468)](){var _0x4e9b1d=_0x41545e;throw new Error(_0x4e9b1d(0x35f));}};de=Te([P(0x5,_0x236453(_0x35ce09)),P(0x6,_0x236453(_0x4fea53)),P(0x7,_0x2c92b5),P(0x8,_0x5a61a5),P(0x9,_0x1d0f46(J))],de);let ee=class extends Ce{constructor(_0x3a4bc1,_0x49d0a0,_0x281dc0,_0x51cbce,_0x5bab83,_0x48ed4b,_0x90ec6e,_0x18456e,_0x55ecfb,_0x3595ff,_0x89ade2,_0x351df2,_0x37f892,_0x14526c){var _0x5b77cf=_0x41545e;super(_0x3a4bc1,_0x49d0a0,_0x281dc0,_0x51cbce,_0x90ec6e,_0x89ade2,_0x351df2,_0x55ecfb,_0x14526c),N(this,_0x5b77cf(0x244),_0x5b77cf(0x346)),(this['_acknowledgedAwaitingChangeset']=_0x5bab83,this['_queuedRemoteChangesets']=_0x48ed4b,this[_0x5b77cf(0x367)]=_0x18456e,this[_0x5b77cf(0x398)]=_0x3595ff,this[_0x5b77cf(0x3ac)]=_0x37f892,this[_0x5b77cf(0x2d3)]=_0x14526c);}[_0x41545e(0x252)](_0x3975a9){var _0x301856=_0x41545e;try{const _0x15bc81=[..._0x3975a9,...this[_0x301856(0x473)]],_0x51dee5=[this[_0x301856(0x3bf)]||this['_acknowledgedAwaitingChangeset']][_0x301856(0x38c)](_0x4b0044=>!!_0x4b0044);let _0x38fc38,_0x4307b3;if(_0x51dee5['length']){const _0x340572=this[_0x301856(0x3ac)][_0x301856(0x343)](_0x15bc81,_0x51dee5,!0x1);if(!_0xab296d(_0x340572))throw _0x340572['error'];_0x38fc38=_0x340572['c1Prime'],_0x4307b3=_0x340572[_0x301856(0x21b)];}else _0x38fc38=_0x15bc81,_0x4307b3=[];let _0x8b0481=this[_0x301856(0x35a)];_0x38fc38[_0x301856(0x1d8)](_0x4d8e97=>{var _0x1eeb3d=_0x301856;let _0xd27e74;if(_0x8b0481[_0x1eeb3d(0x2fa)]){const _0x5a839b=this[_0x1eeb3d(0x3ac)]['transformMutationsWithChangeset'](_0x4d8e97,_0x8b0481);if(!_0x191540(_0x5a839b))throw _0x5a839b['error'];_0xd27e74=_0x5a839b[_0x1eeb3d(0x3e1)],_0x8b0481=_0x5a839b[_0x1eeb3d(0x379)];}else _0xd27e74=_0x4d8e97;this[_0x1eeb3d(0x3a4)](_0xd27e74);}),this[_0x301856(0x187)]&&this[_0x301856(0x2f6)](),this[_0x301856(0x3bf)]&&_0x4307b3[_0x301856(0x2fa)]&&(_0x4307b3[0x0][_0x301856(0x2b7)]=this['_getCurrentRevision']());let _0x43f22f;if(this[_0x301856(0x3bf)]&&_0x8b0481[_0x301856(0x2fa)]!==0x0)_0x43f22f=this[_0x301856(0x367)][_0x301856(0x34f)](ae,this[_0x301856(0x25a)],this['type'],_0x4307b3[0x0],_0x8b0481,this[_0x301856(0x412)],void 0x0);else{if(this['_awaitingChangeset']&&_0x8b0481[_0x301856(0x2fa)]===0x0)_0x4307b3[0x0][_0x301856(0x2b7)]=this[_0x301856(0x314)](),_0x43f22f=this[_0x301856(0x367)][_0x301856(0x34f)](le,this[_0x301856(0x25a)],this[_0x301856(0x1b3)],_0x4307b3[0x0],this[_0x301856(0x412)]);else{if(_0x8b0481[_0x301856(0x2fa)]!==0x0){const _0x1e2e10=this['_injector'][_0x301856(0x34f)](oe,this[_0x301856(0x25a)],this[_0x301856(0x1b3)],_0x8b0481,this['_handler']);_0x1e2e10['_schedule'](),_0x43f22f=_0x1e2e10;}else _0x43f22f=this[_0x301856(0x367)][_0x301856(0x34f)](Ne,this[_0x301856(0x25a)],this['type'],this[_0x301856(0x412)]);}}return _0x43f22f[_0x301856(0x3e0)](),_0x43f22f;}catch(_0x420deb){return this['_logService'][_0x301856(0x353)](_0x301856(0x199),'failed\x20to\x20apply\x20missed\x20changesets!',_0x420deb),this['_injector'][_0x301856(0x34f)](ue,this[_0x301856(0x25a)],this[_0x301856(0x1b3)],this[_0x301856(0x3bf)],this[_0x301856(0x35a)],this['_handler'],!0x1);}}[_0x41545e(0x468)](){var _0x2b195f=_0x41545e;throw new Error(_0x2b195f(0x427));}[_0x41545e(0x45f)](_0x46452b){var _0x56d77f=_0x41545e;return this[_0x56d77f(0x35a)][_0x56d77f(0x22d)](_0x46452b),this;}['onRemoteChangeset'](_0x23174){var _0x3c1e5e=_0x41545e;return this[_0x3c1e5e(0x473)][_0x3c1e5e(0x22d)](_0x23174),this;}[_0x41545e(0x3bd)](_0x5c930f){var _0x3efbcf=_0x41545e;if(this[_0x3efbcf(0x3bf)])return this[_0x3efbcf(0x187)]=this[_0x3efbcf(0x3bf)],this['_awaitingChangeset']=null,this;throw new Error(_0x3efbcf(0x30c));}[_0x41545e(0x439)](_0x5c6151){var _0x1ba752=_0x41545e;return this[_0x1ba752(0x47f)](!!(_0x5c6151!=null&&_0x5c6151[_0x1ba752(0x3c5)]));}['onRemoteRetry'](){return this;}[_0x41545e(0x429)](){var _0x1d135c=_0x41545e;return this['_injector'][_0x1d135c(0x34f)](de,this[_0x1d135c(0x25a)],this[_0x1d135c(0x1b3)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1d135c(0x412)]);}[_0x41545e(0x274)](){return this;}[_0x41545e(0x47f)](_0x564646){var _0x5bef30=_0x41545e;return this[_0x5bef30(0x367)][_0x5bef30(0x34f)](ue,this[_0x5bef30(0x25a)],this['type'],this[_0x5bef30(0x3bf)],this[_0x5bef30(0x35a)],this['_handler'],_0x564646);}};ee=Te([P(0x7,_0x236453(_0x35ce09)),P(0x8,_0x236453(_0x4fea53)),P(0x9,_0x5b92b1),P(0xa,_0x2c92b5),P(0xb,_0x5a61a5),P(0xc,_0x1335c8),P(0xd,_0x1d0f46(J))],ee);function Oi(_0x1162e6,_0x5e53da,_0x299d51,_0x5bc1e4,_0x237a76,_0x9e9534){var _0x4587b3=_0x41545e;return _0x5bc1e4&&_0x237a76[_0x4587b3(0x2fa)]?_0x1162e6[_0x4587b3(0x34f)](ae,_0x5e53da,_0x299d51,_0x5bc1e4,_0x237a76,_0x9e9534,void 0x0):_0x5bc1e4?_0x1162e6['createInstance'](le,_0x5e53da,_0x299d51,_0x5bc1e4,_0x9e9534):_0x237a76[_0x4587b3(0x2fa)]?_0x1162e6[_0x4587b3(0x34f)](oe,_0x5e53da,_0x299d51,_0x237a76,_0x9e9534):_0x1162e6[_0x4587b3(0x34f)](Ne,_0x5e53da,_0x299d51,_0x9e9534);}var on=Object[_0x41545e(0x271)],xt=(_0x2b8fd0,_0x593a50,_0x498791,_0x2a0a55)=>{var _0x2c178f=_0x41545e;for(var _0x59b973=_0x2a0a55>0x1?void 0x0:_0x2a0a55?on(_0x593a50,_0x498791):_0x593a50,_0x46b67b=_0x2b8fd0[_0x2c178f(0x2fa)]-0x1,_0x239761;_0x46b67b>=0x0;_0x46b67b--)(_0x239761=_0x2b8fd0[_0x46b67b])&&(_0x59b973=_0x239761(_0x59b973)||_0x59b973);return _0x59b973;},H=(_0x15045f,_0x52d66a)=>(_0x2f68aa,_0x54ba7b)=>_0x52d66a(_0x2f68aa,_0x54ba7b,_0x15045f);let rt=class extends _0x433c2f{constructor(_0x2762a8,_0x424aeb,_0x48372e,_0x10187c,_0x2ed847,_0x475315,_0x395f0d,_0x548bfe,_0xea1ba8,_0x11a622,_0x28f7fc,_0xa32a08,_0x21bb83){var _0x3fe557=_0x41545e;super(),N(this,_0x3fe557(0x308),new _0x48d6f2(null)),N(this,_0x3fe557(0x31b),this['_state$'][_0x3fe557(0x38e)]()),N(this,_0x3fe557(0x465)),N(this,_0x3fe557(0x421),!0x1),N(this,_0x3fe557(0x1ff),''),N(this,_0x3fe557(0x1d6),0x0),N(this,'status$',this[_0x3fe557(0x31b)]['pipe'](_0x5c7050(_0x50cc01=>_0x50cc01?_0x50cc01[_0x3fe557(0x244)]:bi[_0x3fe557(0x1ed)]),_0x351670(0x1))),N(this,'_transitionLocked',!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x3fe557(0x25a)]=_0x2762a8,this['session']=_0x424aeb,this[_0x3fe557(0x3cf)]=_0x48372e,this[_0x3fe557(0x367)]=_0x10187c,this[_0x3fe557(0x2ad)]=_0x2ed847,this[_0x3fe557(0x357)]=_0x475315,this['_revisionService']=_0x395f0d,this[_0x3fe557(0x2f9)]=_0x548bfe,this[_0x3fe557(0x398)]=_0xea1ba8,this[_0x3fe557(0x396)]=_0x11a622,this['_permissionService']=_0x28f7fc,this[_0x3fe557(0x3b3)]=_0xa32a08,this[_0x3fe557(0x3d9)]=_0x21bb83);}get['state'](){var _0x560f33=_0x41545e;return this[_0x560f33(0x465)];}async['init'](){var _0x28597e=_0x41545e;if(this[_0x28597e(0x2a7)])throw new Error(_0x28597e(0x2be));await this['_init']();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x1a739e(()=>{var _0x2c9065=_0x5230;this['_collaborationPaused']=!0x1,this[_0x2c9065(0x2d7)]();});}['onLocalMutation'](_0x1e648a){var _0x3c01eb=_0x41545e;this[_0x3c01eb(0x3cc)](_0x1e648a);}['_updateState'](_0x2ce4cc){var _0x229796=_0x41545e;this[_0x229796(0x465)]=_0x2ce4cc,this['_state$'][_0x229796(0x25e)](_0x2ce4cc);}async[_0x41545e(0x397)](){var _0x3ab50c=_0x41545e,_0x54a1d1;this[_0x3ab50c(0x1dd)](await this[_0x3ab50c(0x24b)]()),this['_singleActiveUnitService']&&((_0x54a1d1=this[_0x3ab50c(0x3b3)])==null||_0x54a1d1['editingUnit'](this[_0x3ab50c(0x25a)]),this[_0x3ab50c(0x41a)](this[_0x3ab50c(0x3b3)][_0x3ab50c(0x31d)](this['unitID'])[_0x3ab50c(0x40b)](_0x5887c8=>{var _0x1e8651=_0x3ab50c;this['_logService']['debug'](_0x1e8651(0x354),_0x1e8651(0x3a0),_0x5887c8),_0x5887c8===Ci[_0x1e8651(0x2c3)]?(this[_0x1e8651(0x2f9)]['emitEvent']({'id':se['OTHER_CLIENT_EDITING']}),this[_0x1e8651(0x26c)][_0x1e8651(0x3e8)](new _0xeafda4(this[_0x1e8651(0x25a)])['id'],!0x1),this[_0x1e8651(0x26c)][_0x1e8651(0x28f)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0xeafda4(this[_0x1e8651(0x25a)])['id'],!0x0),this[_0x1e8651(0x26c)][_0x1e8651(0x28f)](!0x0));})));let _0x1df30b=!0x1;return this[_0x3ab50c(0x41a)](this[_0x3ab50c(0x1a6)][_0x3ab50c(0x1d2)][_0x3ab50c(0x40b)](_0x5df5ef=>{var _0x59f815=_0x3ab50c;_0x5df5ef===Ee[_0x59f815(0x280)]?this[_0x59f815(0x26a)](_0x1df30b):_0x5df5ef===Ee[_0x59f815(0x1ed)]&&(_0x1df30b=!0x0,this[_0x59f815(0x26b)]());})),this['disposeWithMe'](this[_0x3ab50c(0x1a6)]['event$'][_0x3ab50c(0x40b)](_0x1ad99f=>{var _0x25ade5=_0x3ab50c;try{switch(_0x1ad99f[_0x25ade5(0x44a)]){case _0x5cfd61[_0x25ade5(0x33b)]:{this['_onRemoteChangeset'](_0x2cacbb(_0x1ad99f[_0x25ade5(0x226)]));break;}case _0x5cfd61[_0x25ade5(0x3df)]:{this[_0x25ade5(0x1cc)](_0x1ad99f[_0x25ade5(0x226)]);break;}case _0x5cfd61[_0x25ade5(0x3a6)]:{this[_0x25ade5(0x22b)]();break;}case _0x5cfd61['CHANGESET_SHOULD_RETRY']:{this[_0x25ade5(0x3af)](_0x1ad99f[_0x25ade5(0x226)]);break;}case _0x5cfd61[_0x25ade5(0x1d9)]:{this['_onFetchMissResult'](_0x1ad99f['data']['changesets'][_0x25ade5(0x400)](_0x4f2138=>_0x2cacbb(_0x4f2138)));break;}case _0x5cfd61[_0x25ade5(0x255)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x5cfd61[_0x25ade5(0x1d4)]:break;}}catch(_0x10f840){throw console['error']('Error\x20on\x20receiving\x20event',_0x10f840),_0x10f840;}})),this[_0x3ab50c(0x465)];}[_0x41545e(0x2b8)](){var _0x14653e=_0x41545e;this[_0x14653e(0x417)]=!0x1;}['_lockTransition'](){var _0x2beee6=_0x41545e;if(this[_0x2beee6(0x417)])throw new Error(_0x2beee6(0x1f9));this[_0x2beee6(0x417)]=!0x0;}[_0x41545e(0x3cc)](_0x5b1566){var _0x520a3c=_0x41545e;this[_0x520a3c(0x217)](),this[_0x520a3c(0x1dd)](this[_0x520a3c(0x465)][_0x520a3c(0x45f)](_0x5b1566)),this[_0x520a3c(0x2b8)]();}[_0x41545e(0x445)](_0x382b23){var _0xac10d2=_0x41545e;if(!(_0x382b23[_0xac10d2(0x2a2)]<=this[_0xac10d2(0x3ad)]['getCurrentRevOfUnit'](this[_0xac10d2(0x25a)]))){if(this[_0xac10d2(0x421)]){this['_remoteChangesetQueue']['push'](_0x382b23);return;}this['_applyRemoteChangeset'](_0x382b23);}}[_0x41545e(0x2d7)](){var _0x72db=_0x41545e;this[_0x72db(0x37e)][_0x72db(0x1d8)](_0x55021d=>this[_0x72db(0x256)](_0x55021d)),this[_0x72db(0x37e)]=[];}[_0x41545e(0x256)](_0x1570c2){var _0x3ed476=_0x41545e;const _0x232443=this[_0x3ed476(0x2ad)][_0x3ed476(0x3b4)][_0x3ed476(0x419)](this[_0x3ed476(0x2ad)][_0x3ed476(0x3b4)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x1570c2[_0x3ed476(0x292)],null)||_0x1570c2[_0x3ed476(0x292)],_0x4b6aa7={..._0x1570c2,'mutations':_0x232443};this[_0x3ed476(0x217)](),this[_0x3ed476(0x1dd)](this['_state']['onRemoteChangeset'](_0x4b6aa7)),this['_unlockTransition']();}[_0x41545e(0x1cc)](_0x250371){var _0x6d1992=_0x41545e;this[_0x6d1992(0x217)](),this[_0x6d1992(0x1dd)](this[_0x6d1992(0x465)][_0x6d1992(0x3bd)](_0x250371)),this[_0x6d1992(0x2b8)]();}[_0x41545e(0x22b)](_0x2d11de){var _0x1f199d=_0x41545e;this[_0x1f199d(0x217)](),this['_updateState'](this[_0x1f199d(0x465)][_0x1f199d(0x439)](_0x2d11de)),this[_0x1f199d(0x2b8)]();}['_onRemoteRetry'](_0x2b23d9){var _0x1d2f55=_0x41545e;this[_0x1d2f55(0x217)](),this[_0x1d2f55(0x1dd)](this[_0x1d2f55(0x465)]['onRemoteRetry'](_0x2b23d9)),this[_0x1d2f55(0x2b8)]();}[_0x41545e(0x403)](_0x3e03e4){var _0x44cbb7=_0x41545e;if(!(this['_state']instanceof ee))throw new TypeError(_0x44cbb7(0x344));const _0x21ad04=_0x3e03e4[_0x44cbb7(0x400)](_0x307a0e=>{var _0x24a95f=_0x44cbb7;const _0x2c122e=this['_compressMutationService'][_0x24a95f(0x3b4)][_0x24a95f(0x419)](this[_0x24a95f(0x2ad)][_0x24a95f(0x3b4)][_0x24a95f(0x47a)]()[_0x24a95f(0x2d9)])(_0x307a0e[_0x24a95f(0x292)],null)||_0x307a0e[_0x24a95f(0x292)];return{..._0x307a0e,'mutations':_0x2c122e};});this[_0x44cbb7(0x217)](),this['_updateState'](this[_0x44cbb7(0x465)][_0x44cbb7(0x252)](_0x21ad04)),this[_0x44cbb7(0x2b8)]();}[_0x41545e(0x26b)](){var _0x1070ad=_0x41545e;this[_0x1070ad(0x217)](),this['_updateState'](this['_state'][_0x1070ad(0x429)]()),this[_0x1070ad(0x2b8)]();}[_0x41545e(0x26a)](_0x1b3b71=!0x1){var _0x2a2834=_0x41545e;this[_0x2a2834(0x217)](),this[_0x2a2834(0x1dd)](this[_0x2a2834(0x465)][_0x2a2834(0x274)]()),this[_0x2a2834(0x2b8)]();const _0xe99ba4=this[_0x2a2834(0x465)];_0x1b3b71&&_0xe99ba4 instanceof Ne&&(this[_0x2a2834(0x217)](),this['_updateState'](_0xe99ba4['fetchMiss']()),this[_0x2a2834(0x2b8)]());}async['_createInitialState'](){return new Promise(_0x1ff691=>{var _0x3994b6=_0x5230;this[_0x3994b6(0x1a6)][_0x3994b6(0x1d2)]['pipe'](_0x4774cb(0x1))[_0x3994b6(0x40b)](async _0x3354a9=>{var _0x3342c8=_0x3994b6;_0x1ff691(await this[_0x3342c8(0x1c2)](_0x3354a9===Ee[_0x3342c8(0x280)]));});});}[_0x41545e(0x448)](){const _0x4f3e1e=this['unitID'];return{'onStateChange':(_0x4607b5,_0x214d8f)=>{var _0x2d9392=_0x5230;if(_0x4607b5!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x4607b5[_0x2d9392(0x244)]+_0x2d9392(0x43d)+_0x214d8f[_0x2d9392(0x244)]+_0x2d9392(0x2cd)+this[_0x2d9392(0x465)][_0x2d9392(0x244)]);this['_updateState'](_0x214d8f);},'onSendChangeset':_0x31718d=>{var _0x44a6ab=_0x5230;_0x31718d['sid']||(_0x31718d[_0x44a6ab(0x363)]=this[_0x44a6ab(0x1ff)],_0x31718d['reqId']=++this[_0x44a6ab(0x1d6)]);const _0x4ee0eb={'eventID':_0x5cfd61[_0x44a6ab(0x339)],'data':{'unitID':_0x31718d[_0x44a6ab(0x25a)],'unitType':this['_type'],'changeset':_0x31718d,'memberID':this[_0x44a6ab(0x1a6)]['getMemberID']()}};this[_0x44a6ab(0x1a6)][_0x44a6ab(0x24c)](_0x4ee0eb,this[_0x44a6ab(0x25a)]);},'onMissingChangesets':({from:_0x4ee626,to:_0x31a1ef})=>{var _0xb7cae8=_0x5230;this['_logService']['debug'](_0xb7cae8(0x354),_0xb7cae8(0x477)+_0x4ee626+_0xb7cae8(0x40a)+_0x31a1ef);const _0x55f064={'eventID':_0x5cfd61[_0xb7cae8(0x39c)],'data':{'unitID':_0x4f3e1e,'unitType':this[_0xb7cae8(0x3cf)],'from':_0x4ee626,'to':_0x31a1ef}};this[_0xb7cae8(0x1a6)][_0xb7cae8(0x24c)](_0x55f064,this['unitID']);}};}async[_0x41545e(0x1c2)](_0xe733b4){var _0x11c8ef=_0x41545e,_0x2246b0,_0x578816,_0x48c387;const _0x3c9e6a=await((_0x2246b0=this['_localCacheService'])==null?void 0x0:_0x2246b0['loadOfflineData'](this[_0x11c8ef(0x25a)])),_0x13ab7d=(_0x578816=_0x3c9e6a==null?void 0x0:_0x3c9e6a['mutations'])!=null?_0x578816:[],_0xdb00c7=(_0x48c387=_0x3c9e6a==null?void 0x0:_0x3c9e6a[_0x11c8ef(0x279)])!=null?_0x48c387:null,_0x409467=!!(_0xdb00c7!=null&&_0xdb00c7[_0x11c8ef(0x363)])&&!!(_0xdb00c7!=null&&_0xdb00c7[_0x11c8ef(0x1e5)]);this['_changesetSessionId']=_0x409467?_0xdb00c7[_0x11c8ef(0x363)]:Xr(),this[_0x11c8ef(0x1d6)]=_0x409467?_0xdb00c7['reqId']:0x0;const _0x19ff0a=this[_0x11c8ef(0x25a)];try{this['_replayCachedMutations'](_0xdb00c7,_0x13ab7d);}catch(_0x3df08f){this[_0x11c8ef(0x398)][_0x11c8ef(0x353)](_0x3df08f);}const _0x19775b=this[_0x11c8ef(0x448)]();if(_0xe733b4){const _0x1ed19e=Oi(this[_0x11c8ef(0x367)],_0x19ff0a,this[_0x11c8ef(0x3cf)],_0xdb00c7,_0x13ab7d,_0x19775b);return _0x1ed19e instanceof oe?_0x1ed19e['_schedule']():(_0x1ed19e instanceof ae||_0x1ed19e instanceof le)&&_0x1ed19e[_0x11c8ef(0x468)](),_0x1ed19e;}return this[_0x11c8ef(0x367)]['createInstance'](de,_0x19ff0a,this[_0x11c8ef(0x3cf)],_0xdb00c7,_0x13ab7d,_0x19775b);}[_0x41545e(0x1c8)](_0x26a34e,_0x57d32a){var _0x32a6f3=_0x41545e,_0x302e8f,_0x2b9192;const _0x477e71=this[_0x32a6f3(0x2ad)][_0x32a6f3(0x3b4)][_0x32a6f3(0x419)](this[_0x32a6f3(0x2ad)][_0x32a6f3(0x3b4)][_0x32a6f3(0x47a)]()[_0x32a6f3(0x2d9)]);(_0x302e8f=_0x477e71((_0x26a34e==null?void 0x0:_0x26a34e['mutations'])||[],null))==null||_0x302e8f['forEach'](_0x1e78e4=>this[_0x32a6f3(0x396)][_0x32a6f3(0x20c)](_0x1e78e4['id'],_0x1e78e4[_0x32a6f3(0x436)])),(_0x2b9192=_0x477e71(_0x57d32a||[],null))==null||_0x2b9192[_0x32a6f3(0x1d8)](_0x32f0e1=>this[_0x32a6f3(0x396)][_0x32a6f3(0x20c)](_0x32f0e1['id'],_0x32f0e1[_0x32a6f3(0x436)]));}};rt=xt([H(0x3,_0x236453(_0x35ce09)),H(0x4,_0x236453(_0x4c6f39)),H(0x5,_0x236453(_0xa17142)),H(0x6,_0x236453(_0x4fea53)),H(0x7,_0x236453(pe)),H(0x8,_0x5b92b1),H(0x9,_0x2c92b5),H(0xa,_0x4da13f),H(0xb,_0x1d0f46(ht)),H(0xc,_0x1d0f46(J))],rt);let It=class extends rt{constructor(_0x19c2ef,_0x32bb22,_0x2f1a89,_0x58ee2c,_0x3171a6,_0xfc8061,_0x5454a0,_0x2ac914,_0x7564f4,_0x4b758d,_0x885d42,_0x499c16,_0x2fd881){var _0x59940a=_0x41545e;super(_0x19c2ef,_0x2f1a89,_0x32bb22,_0x58ee2c,_0x3171a6,_0xfc8061,_0x5454a0,_0x2ac914,_0x7564f4,_0x4b758d,_0x885d42,_0x499c16,_0x2fd881),N(this,_0x59940a(0x455),null),(this[_0x59940a(0x25a)]=_0x19c2ef,this[_0x59940a(0x1b3)]=_0x32bb22);}[_0x41545e(0x366)](_0xccdd3c){var _0x28e476=_0x41545e;this[_0x28e476(0x455)]=_0xccdd3c;}[_0x41545e(0x293)](){var _0x2c7fe1=_0x41545e;this[_0x2c7fe1(0x455)]=null,super['dispose']();}[_0x41545e(0x448)](){var _0x48b4f8=_0x41545e;const _0x427c33=super[_0x48b4f8(0x448)]();return _0x427c33[_0x48b4f8(0x3a1)]=_0x183b98=>{var _0x4433b8=_0x48b4f8,_0x44a599,_0x3e8117;return(_0x3e8117=(_0x44a599=this['_handlerCallback'])==null?void 0x0:_0x44a599[_0x4433b8(0x3a1)])==null?void 0x0:_0x3e8117['call'](_0x44a599,_0x183b98);},_0x427c33[_0x48b4f8(0x216)]=_0x7a3fa=>{var _0x1e025b=_0x48b4f8,_0x2813fe,_0x5cb171;return(_0x5cb171=(_0x2813fe=this[_0x1e025b(0x455)])==null?void 0x0:_0x2813fe[_0x1e025b(0x216)])==null?void 0x0:_0x5cb171[_0x1e025b(0x33e)](_0x2813fe,_0x7a3fa);},_0x427c33[_0x48b4f8(0x2bc)]=_0x52369a=>{var _0xffe352=_0x48b4f8,_0x3748ff,_0x27bffa;return(_0x27bffa=(_0x3748ff=this[_0xffe352(0x455)])==null?void 0x0:_0x3748ff['onTransformSelections'])==null?void 0x0:_0x27bffa[_0xffe352(0x33e)](_0x3748ff,_0x52369a);},_0x427c33[_0x48b4f8(0x369)]=_0x34d311=>{var _0x2ce79a=_0x48b4f8,_0x5610ff,_0x3ff190;return(_0x3ff190=(_0x5610ff=this[_0x2ce79a(0x455)])==null?void 0x0:_0x5610ff[_0x2ce79a(0x369)])==null?void 0x0:_0x3ff190[_0x2ce79a(0x33e)](_0x5610ff,_0x34d311);},_0x427c33[_0x48b4f8(0x272)]=_0x37ad6f=>{var _0x4b167e=_0x48b4f8,_0x417a23,_0x97cad7,_0xc9b723;if(!((_0x417a23=this[_0x4b167e(0x455)])!=null&&_0x417a23[_0x4b167e(0x272)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xc9b723=(_0x97cad7=this[_0x4b167e(0x455)])==null?void 0x0:_0x97cad7[_0x4b167e(0x272)])==null?void 0x0:_0xc9b723[_0x4b167e(0x33e)](_0x97cad7,_0x37ad6f);},_0x427c33['onTransformRemoteChangesetByStateCache']=_0xd0a0f5=>{var _0x5b8f22=_0x48b4f8,_0x6fcde4,_0x42d9b3,_0x327746;if(!((_0x6fcde4=this[_0x5b8f22(0x455)])!=null&&_0x6fcde4[_0x5b8f22(0x3f2)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x327746=(_0x42d9b3=this['_handlerCallback'])==null?void 0x0:_0x42d9b3[_0x5b8f22(0x3f2)])==null?void 0x0:_0x327746['call'](_0x42d9b3,_0xd0a0f5);},_0x427c33;}async[_0x41545e(0x397)](){var _0x7677dd=_0x41545e;const _0x1a8a60=await super[_0x7677dd(0x397)]();return this[_0x7677dd(0x41a)](this[_0x7677dd(0x396)]['onCommandExecuted']((_0x1cc5f5,_0x2b7694)=>{var _0x4cd93e=_0x7677dd;if(_0x1cc5f5['type']!==_0x36bcfe[_0x4cd93e(0x1fa)]||_0x2b7694!=null&&_0x2b7694[_0x4cd93e(0x1a7)]||_0x2b7694!=null&&_0x2b7694['onlyLocal']||_0x1cc5f5['id']===_0x1ba331['id'])return;const _0x4c5913=_0x1cc5f5[_0x4cd93e(0x436)];if((_0x4c5913==null?void 0x0:_0x4c5913[_0x4cd93e(0x36d)])!==this['unitID'])return;const _0x531ee5=_0x1cc5f5,_0x1e1846=this[_0x4cd93e(0x2ad)]['interceptor'][_0x4cd93e(0x419)](this[_0x4cd93e(0x2ad)]['interceptor'][_0x4cd93e(0x47a)]()['COMPRESS_MUTATION_SEND'])([_0x531ee5],null)||[_0x531ee5];this[_0x4cd93e(0x3cc)](_0x1e1846[0x0]);})),_0x1a8a60;}};It=xt([H(0x3,_0x236453(_0x35ce09)),H(0x4,_0x236453(_0x4c6f39)),H(0x5,_0x236453(_0xa17142)),H(0x6,_0x236453(_0x4fea53)),H(0x7,_0x236453(pe)),H(0x8,_0x5b92b1),H(0x9,_0x2c92b5),H(0xa,_0x4da13f),H(0xb,_0x1d0f46(ht)),H(0xc,_0x1d0f46(J))],It);let Tt=class extends rt{constructor(_0x66c8e9,_0x538651,_0x3871b9,_0x198010,_0xb735de,_0x390399,_0x2eede3,_0x536a62,_0x4b5547,_0x731672,_0x1f86da,_0x22e7b9,_0x5b6e7d,_0x359c98){var _0x586cd5=_0x41545e;super(_0x66c8e9,_0x3871b9,_0x538651,_0x198010,_0xb735de,_0x390399,_0x2eede3,_0x4b5547,_0x731672,_0x1f86da,_0x22e7b9,_0x5b6e7d,_0x359c98),this[_0x586cd5(0x25a)]=_0x66c8e9,this[_0x586cd5(0x1b3)]=_0x538651,this[_0x586cd5(0x3ca)]=_0x536a62;}[_0x41545e(0x448)](){var _0x50d777=_0x41545e;const _0xbdddb1=super[_0x50d777(0x448)]();return _0xbdddb1[_0x50d777(0x2bc)]=_0x75faba=>this[_0x50d777(0x3ca)]['transformSelections'](_0x75faba),_0xbdddb1;}async['_init'](){var _0x3d14b9=_0x41545e;const _0x2cb9a5=await super['_init']();return this[_0x3d14b9(0x41a)](this[_0x3d14b9(0x396)][_0x3d14b9(0x1c1)]((_0x104875,_0x3bff8b)=>{var _0x5f3a7b=_0x3d14b9;if(_0x104875['type']!==_0x36bcfe['MUTATION']||_0x3bff8b!=null&&_0x3bff8b[_0x5f3a7b(0x1a7)]||_0x3bff8b!=null&&_0x3bff8b[_0x5f3a7b(0x386)])return;const _0x40c9cf=_0x104875[_0x5f3a7b(0x436)];if((_0x40c9cf==null?void 0x0:_0x40c9cf[_0x5f3a7b(0x36d)])!==this[_0x5f3a7b(0x25a)])return;const _0xd97319=_0x104875,_0x11f74e=this[_0x5f3a7b(0x2ad)][_0x5f3a7b(0x3b4)][_0x5f3a7b(0x419)](this[_0x5f3a7b(0x2ad)][_0x5f3a7b(0x3b4)][_0x5f3a7b(0x47a)]()[_0x5f3a7b(0x228)])([_0xd97319],null)||[_0xd97319];this[_0x5f3a7b(0x3cc)](_0x11f74e[0x0]);})),_0x2cb9a5;}};Tt=xt([H(0x3,_0x236453(_0x35ce09)),H(0x4,_0x236453(_0x4c6f39)),H(0x5,_0x236453(_0xa17142)),H(0x6,_0x236453(_0x4fea53)),H(0x7,_0x236453(it)),H(0x8,_0x236453(pe)),H(0x9,_0x5b92b1),H(0xa,_0x2c92b5),H(0xb,_0x4da13f),H(0xc,_0x1d0f46(ht)),H(0xd,_0x1d0f46(J))],Tt);var an=Object[_0x41545e(0x271)],cn=(_0x5e2f5d,_0x42c243,_0x8bd62d,_0x30fc5e)=>{var _0x1651fb=_0x41545e;for(var _0x2ddfc0=_0x30fc5e>0x1?void 0x0:_0x30fc5e?an(_0x42c243,_0x8bd62d):_0x42c243,_0x9b41f8=_0x5e2f5d[_0x1651fb(0x2fa)]-0x1,_0x39520b;_0x9b41f8>=0x0;_0x9b41f8--)(_0x39520b=_0x5e2f5d[_0x9b41f8])&&(_0x2ddfc0=_0x39520b(_0x2ddfc0)||_0x2ddfc0);return _0x2ddfc0;},ft=(_0x31c1f4,_0x597010)=>(_0x3d9efe,_0x1111e9)=>_0x597010(_0x3d9efe,_0x1111e9,_0x31c1f4);let nt=class extends _0x433c2f{constructor(_0x4f17f1,_0x56d04e,_0x350631){var _0x492556=_0x41545e;super(),N(this,_0x492556(0x3b1),new Map()),N(this,_0x492556(0x422),new _0x5daeac()),N(this,_0x492556(0x27f),this[_0x492556(0x422)][_0x492556(0x38e)]()),(this[_0x492556(0x367)]=_0x4f17f1,this['_collabSessionService']=_0x56d04e,this[_0x492556(0x1f6)]=_0x350631,this[_0x492556(0x397)]());}[_0x41545e(0x293)](){var _0x1eb32e=_0x41545e;super[_0x1eb32e(0x293)](),this['_entities'][_0x1eb32e(0x1d8)](_0x329920=>_0x329920['dispose']()),this[_0x1eb32e(0x3b1)][_0x1eb32e(0x302)]();}[_0x41545e(0x19a)](_0x3742d4){var _0x200541=_0x41545e,_0xcbf11e;return(_0xcbf11e=this['_entities'][_0x200541(0x393)](_0x3742d4))!=null?_0xcbf11e:null;}[_0x41545e(0x416)](_0x3d2213){var _0x314f0c=_0x41545e;const _0x593bb1=this[_0x314f0c(0x19a)](_0x3d2213);return _0x593bb1?_0x65e3ad(_0x593bb1):this[_0x314f0c(0x422)][_0x314f0c(0x30b)](_0x1a0aae(_0x542f62=>_0x542f62[_0x314f0c(0x25a)]===_0x3d2213));}['readyForCollab'](_0x562672){var _0x5820c6=_0x41545e;return _0x3a72d0(this[_0x5820c6(0x416)](_0x562672)[_0x5820c6(0x30b)](_0x5a18b9(()=>{})));}[_0x41545e(0x397)](){var _0x4faecf=_0x41545e;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x16fa42[_0x4faecf(0x1af)])[_0x4faecf(0x30b)](_0x515a44(this[_0x4faecf(0x423)]),_0x3cb60d(0x10))['subscribe'](async _0x357f74=>{var _0x30f18d=_0x4faecf;const _0x3c29a8=_0x357f74[_0x30f18d(0x32f)](),_0x1842be=await this[_0x30f18d(0x32b)](_0x3c29a8,Q['UNIVER_SHEET']);this['_entities'][_0x30f18d(0x3d2)](_0x3c29a8,_0x1842be);}),this[_0x4faecf(0x1f6)][_0x4faecf(0x29d)](_0x16fa42[_0x4faecf(0x378)])[_0x4faecf(0x30b)](_0x515a44(this[_0x4faecf(0x423)]),_0x3cb60d(0x10))['pipe'](_0x1a0aae(_0x3c7db2=>!_0x3c7db2['getUnitId']()[_0x4faecf(0x3cd)]('__')))[_0x4faecf(0x40b)](async _0x3cd2bd=>{var _0x5d4bba=_0x4faecf;const _0x248b6b=_0x3cd2bd['getUnitId'](),_0x372f4f=await this[_0x5d4bba(0x32b)](_0x248b6b,Q[_0x5d4bba(0x378)]);this['_entities'][_0x5d4bba(0x3d2)](_0x248b6b,_0x372f4f);}),_0x14bf95(this[_0x4faecf(0x1f6)][_0x4faecf(0x18c)](_0x16fa42['UNIVER_SHEET']),this[_0x4faecf(0x1f6)][_0x4faecf(0x18c)](_0x16fa42[_0x4faecf(0x378)]))[_0x4faecf(0x30b)](_0x515a44(this['dispose$']))['subscribe'](_0xef7f66=>{var _0x43169b=_0x4faecf;const _0x2acd00=_0xef7f66[_0x43169b(0x32f)](),_0x27019a=this['_entities'][_0x43169b(0x393)](_0x2acd00);_0x27019a&&(_0x27019a[_0x43169b(0x293)](),this[_0x43169b(0x3b1)][_0x43169b(0x27a)](_0x2acd00));});}async['_startCollaboration'](_0x1cf97e,_0x509526){var _0x36d94b=_0x41545e;const _0x254a82=await this[_0x36d94b(0x442)][_0x36d94b(0x44c)](_0x1cf97e),_0x11e231=this['_injector'][_0x36d94b(0x34f)](this['_getCtorByUniverType'](_0x509526),_0x1cf97e,_0x509526,_0x254a82);return await _0x11e231[_0x36d94b(0x1b4)](),this['_entityInit$']['next'](_0x11e231),_0x11e231;}[_0x41545e(0x41e)](_0x526930){var _0x1f39ea=_0x41545e;switch(_0x526930){case Q[_0x1f39ea(0x378)]:return It;case Q[_0x1f39ea(0x1af)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x526930);}}};nt=cn([ft(0x0,_0x236453(_0x35ce09)),ft(0x1,_0x236453(Le)),ft(0x2,_0x214b6f)],nt);var hn=Object[_0x41545e(0x271)],_n=(_0xce486a,_0x1458c7,_0x2dff21,_0x54ca3a)=>{var _0xcb170=_0x41545e;for(var _0x3caa7b=_0x54ca3a>0x1?void 0x0:_0x54ca3a?hn(_0x1458c7,_0x2dff21):_0x1458c7,_0x16da0d=_0xce486a[_0xcb170(0x2fa)]-0x1,_0x230ba2;_0x16da0d>=0x0;_0x16da0d--)(_0x230ba2=_0xce486a[_0x16da0d])&&(_0x3caa7b=_0x230ba2(_0x3caa7b)||_0x3caa7b);return _0x3caa7b;},zt=(_0x445df1,_0x220108)=>(_0x4e569b,_0x343833)=>_0x220108(_0x4e569b,_0x343833,_0x445df1);const ln=_0x41545e(0x1f3),un=_0x41545e(0x380);let Ct=class extends _0x4b1c46{constructor(_0x54c40b,_0x4ca619){var _0x1d890a=_0x41545e;super(),this[_0x1d890a(0x1f6)]=_0x54c40b,this[_0x1d890a(0x2f0)]=_0x4ca619,this['_init']();}[_0x41545e(0x397)](){var _0x1e079a=_0x41545e;this['disposeWithMe'](this['_univerInstanceService'][_0x1e079a(0x25b)]['subscribe'](()=>{var _0x9d1cd4=_0x1e079a,_0x135038;const _0x43a470=this['_univerInstanceService'][_0x9d1cd4(0x3fb)]();let _0x48f73f=(_0x135038=this['_configService'][_0x9d1cd4(0x222)](ln))!=null?_0x135038:un;_0x43a470 instanceof _0xa9a7e0&&(_0x48f73f=_0x43a470[_0x9d1cd4(0x1a5)]),document[_0x9d1cd4(0x298)]=_0x48f73f;}));}};Ct=_n([zt(0x0,_0x214b6f),zt(0x1,_0x34fb67)],Ct);var dn=Object[_0x41545e(0x271)],fn=(_0x106c1d,_0x4bc79f,_0xa960c6,_0x165a34)=>{var _0x134411=_0x41545e;for(var _0x449df8=_0x165a34>0x1?void 0x0:_0x165a34?dn(_0x4bc79f,_0xa960c6):_0x4bc79f,_0x20ffbc=_0x106c1d[_0x134411(0x2fa)]-0x1,_0x4d3ed9;_0x20ffbc>=0x0;_0x20ffbc--)(_0x4d3ed9=_0x106c1d[_0x20ffbc])&&(_0x449df8=_0x4d3ed9(_0x449df8)||_0x449df8);return _0x449df8;},vt=(_0x4ab21f,_0x2414ac)=>(_0x9cac78,_0x1c8087)=>_0x2414ac(_0x9cac78,_0x1c8087,_0x4ab21f);let st=class{constructor(_0x5bbfa7,_0x498a48,_0x17afc2){var _0x3b36ca=_0x41545e;this[_0x3b36ca(0x2f0)]=_0x5bbfa7,this[_0x3b36ca(0x365)]=_0x498a48,this[_0x3b36ca(0x26f)]=_0x17afc2,this[_0x3b36ca(0x1b4)]();}[_0x41545e(0x1b4)](){var _0x3e74f4=_0x41545e;this[_0x3e74f4(0x365)][_0x3e74f4(0x1f4)]({'priority':0x1,'interceptor':(_0x40a9e1,_0x51b0e2)=>_0x51b0e2(_0x40a9e1)[_0x3e74f4(0x30b)](_0x5a3729(async _0x5113f8=>{var _0x3ea3f8=_0x3e74f4;const _0x279616=_0x5113f8;if(_0x279616[_0x3ea3f8(0x244)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x3ea3f8(0x26f)]['t'](_0x3ea3f8(0x3fd)))){const _0x19b900=window[_0x3ea3f8(0x2d4)](window[_0x3ea3f8(0x233)][_0x3ea3f8(0x2c1)]);window[_0x3ea3f8(0x233)][_0x3ea3f8(0x2c1)]=this[_0x3ea3f8(0x1d7)]()+_0x3ea3f8(0x43c)+_0x19b900;}}return _0x279616;}))});}[_0x41545e(0x1d7)](){var _0x4363cd=_0x41545e,_0x5c8f21,_0x45f542;const _0x4c4219=this[_0x4363cd(0x2f0)][_0x4363cd(0x222)](Dr),_0x41e6e1=this[_0x4363cd(0x2f0)][_0x4363cd(0x222)](q);return(_0x45f542=(_0x5c8f21=_0x41e6e1==null?void 0x0:_0x41e6e1[_0x4363cd(0x1e6)])!=null?_0x5c8f21:_0x4c4219)!=null?_0x45f542:wr;}};st=fn([vt(0x0,_0x34fb67),vt(0x1,_0x236453(_0x15df20)),vt(0x2,_0x236453(_0xa17142))],st);var vn=Object['getOwnPropertyDescriptor'],pn=(_0x239ec4,_0x24d791,_0x4482fa,_0x9bd1a2)=>{var _0xf5d84e=_0x41545e;for(var _0x5f2f86=_0x9bd1a2>0x1?void 0x0:_0x9bd1a2?vn(_0x24d791,_0x4482fa):_0x24d791,_0x51e6eb=_0x239ec4[_0xf5d84e(0x2fa)]-0x1,_0x253d27;_0x51e6eb>=0x0;_0x51e6eb--)(_0x253d27=_0x239ec4[_0x51e6eb])&&(_0x5f2f86=_0x253d27(_0x5f2f86)||_0x5f2f86);return _0x5f2f86;},Jt=(_0x178fe5,_0x41669b)=>(_0x23016a,_0x1ac4d4)=>_0x41669b(_0x23016a,_0x1ac4d4,_0x178fe5);const Ni='AUTHZ_URL_KEY',mn=_0x41545e(0x1d0);let Rt=class extends _0x4b1c46{constructor(_0x3950af,_0x1feb05){var _0x13a488=_0x41545e;super(),this[_0x13a488(0x25d)]=_0x3950af,this[_0x13a488(0x2f0)]=_0x1feb05,this[_0x13a488(0x2e2)]();}[_0x41545e(0x2e2)](){var _0x21f0d4=_0x41545e;const _0x5f8cae=this;this['disposeWithMe'](this[_0x21f0d4(0x25d)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0xf3ee5b({'isMatch'(_0xd30a0a){var _0x4cd32d=_0x21f0d4,_0x2131e2;if(_0xd30a0a[_0x4cd32d(0x478)]==='POST'&&((_0x2131e2=_0xd30a0a[_0x4cd32d(0x1bc)])!=null&&_0x2131e2['body'])){const {objectID:_0x453a27,objectType:_0x21ee67}=_0xd30a0a[_0x4cd32d(0x1bc)][_0x4cd32d(0x323)]||{};if(!_0x453a27||_0x21ee67===void 0x0)return!0x1;const _0xe37d95=_0x5f8cae[_0x4cd32d(0x28a)]()+'/'+_0x21ee67+_0x4cd32d(0x2bf)+_0x453a27+_0x4cd32d(0x310);if(_0xd30a0a[_0x4cd32d(0x35c)]===_0xe37d95)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x309c4f){var _0x425c93;return(_0x425c93=_0x309c4f['requestParams'])==null?void 0x0:_0x425c93['body'];},'mergeParamsToRequest'(_0x23dc72,_0x3a4ddf){var _0x1fe013=_0x21f0d4;const _0x2ea7ef=_0x5f8cae[_0x1fe013(0x28a)]()+'/-/object/-/batch_allowed',_0x333338=_0x23dc72[_0x1fe013(0x313)]((_0x5ee80d,_0x1c661f)=>{var _0x4dc5d4=_0x1fe013;const {unitID:_0x4103e8,objectID:_0x2895a7,objectType:_0x5a61c4,actions:_0x158cb9}=_0x1c661f;return _0x5ee80d[_0x4103e8]||(_0x5ee80d[_0x4103e8]={}),_0x5ee80d[_0x4103e8][_0x2895a7]||(_0x5ee80d[_0x4103e8][_0x2895a7]={'objectID':_0x2895a7,'objectType':_0x5a61c4,'actions':[]}),_0x5ee80d[_0x4103e8][_0x2895a7][_0x4dc5d4(0x395)][_0x4dc5d4(0x22d)](..._0x158cb9),_0x5ee80d;},{}),_0x494f48=[];for(const _0x3804e8 in _0x333338)for(const _0x4179ec in _0x333338[_0x3804e8]){const {actions:_0x38e3a3,objectType:_0x4c2c36}=_0x333338[_0x3804e8][_0x4179ec],_0x26795c=[...new Set(_0x38e3a3)];_0x494f48[_0x1fe013(0x22d)]({'unitID':_0x3804e8,'objectID':_0x4179ec,'objectType':_0x4c2c36,'actions':_0x26795c});}return new _0xa6c8fe(_0x1fe013(0x3d1),_0x2ea7ef,{'headers':_0x3a4ddf[_0x1fe013(0x257)],'withCredentials':_0x3a4ddf[_0x1fe013(0x27c)],'responseType':_0x3a4ddf[_0x1fe013(0x2af)],'body':{'requests':_0x494f48}});}},{'distributeResult'(_0x51da6e,_0x4a2773){var _0x3867f8=_0x21f0d4;const {objectActions:_0x356e06}=_0x51da6e;return _0x4a2773[_0x3867f8(0x400)](_0x4de115=>{var _0x209b12=_0x3867f8;const {unitID:_0x7d8afc,objectID:_0x8734a4,actions:_0x3e5d16}=_0x4de115,_0x4b10b8=_0x356e06[_0x209b12(0x286)](_0x46c0e5=>_0x46c0e5['unitID']===_0x7d8afc&&_0x46c0e5[_0x209b12(0x26d)]===_0x8734a4),_0x1ff12d=_0x3e5d16[_0x209b12(0x400)](_0x2f391c=>_0x4b10b8==null?void 0x0:_0x4b10b8[_0x209b12(0x395)][_0x209b12(0x286)](_0x12eb5a=>_0x12eb5a[_0x209b12(0x3d5)]===_0x2f391c))[_0x209b12(0x38c)](_0x1ad760=>!!_0x1ad760);return{'config':_0x4de115,'result':{'actions':_0x1ff12d,'error':_0x51da6e[_0x209b12(0x353)]}};});}})}));}['_getAPIPrefixPath'](){var _0x136fa8=_0x41545e,_0x392995,_0x5aba8a;const _0x11db39=this['_configService'][_0x136fa8(0x222)](Ni),_0x8cd2d=this[_0x136fa8(0x2f0)][_0x136fa8(0x222)](q);return(_0x5aba8a=(_0x392995=_0x8cd2d==null?void 0x0:_0x8cd2d['authzUrl'])!=null?_0x392995:_0x11db39)!=null?_0x5aba8a:mn;}async[_0x41545e(0x23c)](_0x15dcc4){var _0x305e81=_0x41545e;const _0x4bb9a4=this[_0x305e81(0x28a)]()+'/'+_0x15dcc4[_0x305e81(0x1ea)]+_0x305e81(0x1f7);return(await this[_0x305e81(0x25d)][_0x305e81(0x3da)](_0x4bb9a4,{'body':_0x15dcc4}))[_0x305e81(0x323)][_0x305e81(0x26d)]||'';}async['list'](_0x2c9994){var _0x481f78=_0x41545e;const _0x5c743e=this[_0x481f78(0x28a)]()+_0x481f78(0x1e0);return(await this[_0x481f78(0x25d)][_0x481f78(0x3da)](_0x5c743e,{'body':_0x2c9994}))[_0x481f78(0x323)]['objects'];}async[_0x41545e(0x3e2)](_0x5093c4){var _0x41c780=_0x41545e;const _0x32e87c=this[_0x41c780(0x28a)]()+'/'+_0x5093c4['objectType']+'/object/'+_0x5093c4[_0x41c780(0x26d)];await this[_0x41c780(0x25d)]['put'](_0x32e87c,{'body':_0x5093c4});}async['allowed'](_0x1e4a37){var _0x19b050=_0x41545e;const _0x2d8329=this[_0x19b050(0x28a)]()+'/'+_0x1e4a37['objectType']+'/object/'+_0x1e4a37[_0x19b050(0x26d)]+_0x19b050(0x310);return(await this[_0x19b050(0x25d)][_0x19b050(0x3da)](_0x2d8329,{'body':_0x1e4a37}))[_0x19b050(0x323)][_0x19b050(0x395)];}async[_0x41545e(0x1fd)](_0x529e4d){var _0x224def=_0x41545e;const _0x3638dc=this[_0x224def(0x28a)]()+_0x224def(0x1a8);return(await this[_0x224def(0x25d)]['post'](_0x3638dc,{'body':{'requests':_0x529e4d}}))[_0x224def(0x323)][_0x224def(0x390)];}async['listRoles'](_0x2d5be8){var _0x20ecd9=_0x41545e;const _0x59c203=this[_0x20ecd9(0x28a)]()+'/'+_0x2d5be8[_0x20ecd9(0x1ea)]+_0x20ecd9(0x212),_0x3e922e=await this['_HTTPService']['post'](_0x59c203,{'body':_0x2d5be8});return{'roles':_0x3e922e[_0x20ecd9(0x323)]['roles'],'actions':_0x3e922e[_0x20ecd9(0x323)][_0x20ecd9(0x395)]};}async['deleteCollaborator'](_0x7d720d){var _0x450fc2=_0x41545e;const _0x1f9928=this[_0x450fc2(0x28a)]()+_0x450fc2(0x1f1);await this['_HTTPService'][_0x450fc2(0x27a)](_0x1f9928,{'params':{'collaboratorID':_0x7d720d[_0x450fc2(0x18a)],'objectID':_0x7d720d[_0x450fc2(0x26d)],'unitID':_0x7d720d['unitID']}});}async[_0x41545e(0x316)](_0x5068b1){var _0x5cd115=_0x41545e;const _0x1d4c0b=this[_0x5cd115(0x28a)]()+_0x5cd115(0x1f1);await this['_HTTPService'][_0x5cd115(0x1e4)](_0x1d4c0b,{'body':_0x5068b1});}async[_0x41545e(0x2e0)](_0x4f5159){var _0x5ecf68=_0x41545e;const _0x213a53=this[_0x5ecf68(0x28a)]()+'/collaborator';await this[_0x5ecf68(0x25d)][_0x5ecf68(0x3da)](_0x213a53,{'body':_0x4f5159});}async[_0x41545e(0x41b)](_0x245bf8){var _0x5ac50f=_0x41545e;const _0x2bef85=this['_getAPIPrefixPath']()+_0x5ac50f(0x1f1);return(await this[_0x5ac50f(0x25d)][_0x5ac50f(0x393)](_0x2bef85,{'params':{'objectID':_0x245bf8[_0x5ac50f(0x26d)],'unitID':_0x245bf8[_0x5ac50f(0x25a)]}}))[_0x5ac50f(0x323)][_0x5ac50f(0x42b)];}async['putCollaborators'](_0x2528c2){var _0x26e01a=_0x41545e;const _0x30dac7=this['_getAPIPrefixPath']()+_0x26e01a(0x1f1);await this[_0x26e01a(0x25d)][_0x26e01a(0x232)](_0x30dac7,{'body':_0x2528c2});}};Rt=pn([Jt(0x0,_0x236453(_0x15df20)),Jt(0x1,_0x236453(_0x34fb67))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x4f9bb6){var _0x207d41=_0x41545e;return _0x4f9bb6&&_0x4f9bb6[_0x207d41(0x38b)]&&Object['prototype']['hasOwnProperty'][_0x207d41(0x33e)](_0x4f9bb6,_0x207d41(0x39b))?_0x4f9bb6['default']:_0x4f9bb6;}var Ge={'exports':{}};function gn(_0x1644fc){var _0x187cb3=_0x41545e;throw new Error(_0x187cb3(0x206)+_0x1644fc+_0x187cb3(0x210));}var Ve={'exports':{}},Sn=Ve[_0x41545e(0x1e1)],Xt;function ie(){var _0x395bc0=_0x41545e;return Xt||(Xt=0x1,function(_0x4f5176,_0x5f3e75){(function(_0x2bd5b3,_0x53befb){_0x4f5176['exports']=_0x53befb();}(Sn,function(){var _0x4fbad9=_0x4fbad9||function(_0x1a2490,_0x1a5d3d){var _0x43350f=_0x5230,_0x52a10e;if(typeof window<'u'&&window['crypto']&&(_0x52a10e=window[_0x43350f(0x3f5)]),typeof self<'u'&&self['crypto']&&(_0x52a10e=self['crypto']),typeof globalThis<'u'&&globalThis[_0x43350f(0x3f5)]&&(_0x52a10e=globalThis[_0x43350f(0x3f5)]),!_0x52a10e&&typeof window<'u'&&window[_0x43350f(0x2df)]&&(_0x52a10e=window['msCrypto']),!_0x52a10e&&typeof pt<'u'&&pt[_0x43350f(0x3f5)]&&(_0x52a10e=pt[_0x43350f(0x3f5)]),!_0x52a10e&&typeof gn=='function')try{_0x52a10e=require('crypto');}catch{}var _0x268afd=function(){var _0x2236bc=_0x43350f;if(_0x52a10e){if(typeof _0x52a10e['getRandomValues']==_0x2236bc(0x19c))try{return _0x52a10e['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x52a10e['randomBytes']==_0x2236bc(0x19c))try{return _0x52a10e[_0x2236bc(0x295)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x2236bc(0x1c6));},_0x444ada=Object[_0x43350f(0x23c)]||(function(){function _0x2b6caa(){}return function(_0x2607ff){var _0x563634=_0x5230,_0x11cf81;return _0x2b6caa[_0x563634(0x405)]=_0x2607ff,_0x11cf81=new _0x2b6caa(),_0x2b6caa[_0x563634(0x405)]=null,_0x11cf81;};}()),_0x9dcf43={},_0x1a51ea=_0x9dcf43[_0x43350f(0x3fa)]={},_0xd7d6b3=_0x1a51ea[_0x43350f(0x47b)]=(function(){return{'extend':function(_0x49083b){var _0xa9d5fd=_0x5230,_0x427671=_0x444ada(this);return _0x49083b&&_0x427671['mixIn'](_0x49083b),(!_0x427671[_0xa9d5fd(0x1a0)](_0xa9d5fd(0x1b4))||this[_0xa9d5fd(0x1b4)]===_0x427671['init'])&&(_0x427671['init']=function(){var _0x404b43=_0xa9d5fd;_0x427671[_0x404b43(0x464)]['init'][_0x404b43(0x264)](this,arguments);}),_0x427671['init']['prototype']=_0x427671,_0x427671[_0xa9d5fd(0x464)]=this,_0x427671;},'create':function(){var _0x404611=_0x5230,_0x57d870=this['extend']();return _0x57d870[_0x404611(0x1b4)][_0x404611(0x264)](_0x57d870,arguments),_0x57d870;},'init':function(){},'mixIn':function(_0x1956a4){var _0x439af6=_0x5230;for(var _0x349c44 in _0x1956a4)_0x1956a4[_0x439af6(0x1a0)](_0x349c44)&&(this[_0x349c44]=_0x1956a4[_0x349c44]);_0x1956a4[_0x439af6(0x1a0)](_0x439af6(0x273))&&(this[_0x439af6(0x273)]=_0x1956a4[_0x439af6(0x273)]);},'clone':function(){var _0x6cd396=_0x5230;return this['init'][_0x6cd396(0x405)][_0x6cd396(0x23a)](this);}};}()),_0x3e1c29=_0x1a51ea[_0x43350f(0x3a9)]=_0xd7d6b3[_0x43350f(0x23a)]({'init':function(_0x735e7d,_0x10da05){var _0x211913=_0x43350f;_0x735e7d=this[_0x211913(0x318)]=_0x735e7d||[],_0x10da05!=_0x1a5d3d?this[_0x211913(0x2b9)]=_0x10da05:this['sigBytes']=_0x735e7d['length']*0x4;},'toString':function(_0x1dd920){var _0x53557d=_0x43350f;return(_0x1dd920||_0x37f97c)[_0x53557d(0x2cf)](this);},'concat':function(_0x4ffeb0){var _0x28aef0=_0x43350f,_0x1d40dd=this[_0x28aef0(0x318)],_0x14572c=_0x4ffeb0[_0x28aef0(0x318)],_0x29b9fe=this[_0x28aef0(0x2b9)],_0x2bbe81=_0x4ffeb0[_0x28aef0(0x2b9)];if(this[_0x28aef0(0x243)](),_0x29b9fe%0x4)for(var _0x325040=0x0;_0x325040<_0x2bbe81;_0x325040++){var _0x1b3f4f=_0x14572c[_0x325040>>>0x2]>>>0x18-_0x325040%0x4*0x8&0xff;_0x1d40dd[_0x29b9fe+_0x325040>>>0x2]|=_0x1b3f4f<<0x18-(_0x29b9fe+_0x325040)%0x4*0x8;}else{for(var _0x3021b7=0x0;_0x3021b7<_0x2bbe81;_0x3021b7+=0x4)_0x1d40dd[_0x29b9fe+_0x3021b7>>>0x2]=_0x14572c[_0x3021b7>>>0x2];}return this[_0x28aef0(0x2b9)]+=_0x2bbe81,this;},'clamp':function(){var _0x19404c=_0x43350f,_0xc8cce3=this['words'],_0x178f54=this[_0x19404c(0x2b9)];_0xc8cce3[_0x178f54>>>0x2]&=0xffffffff<<0x20-_0x178f54%0x4*0x8,_0xc8cce3['length']=_0x1a2490['ceil'](_0x178f54/0x4);},'clone':function(){var _0x153c35=_0x43350f,_0x1c3213=_0xd7d6b3[_0x153c35(0x198)][_0x153c35(0x33e)](this);return _0x1c3213[_0x153c35(0x318)]=this[_0x153c35(0x318)][_0x153c35(0x377)](0x0),_0x1c3213;},'random':function(_0x32d1d8){var _0x2a8ff2=_0x43350f;for(var _0x4c5171=[],_0x5932c9=0x0;_0x5932c9<_0x32d1d8;_0x5932c9+=0x4)_0x4c5171[_0x2a8ff2(0x22d)](_0x268afd());return new _0x3e1c29['init'](_0x4c5171,_0x32d1d8);}}),_0x11d324=_0x9dcf43[_0x43350f(0x1cf)]={},_0x37f97c=_0x11d324['Hex']={'stringify':function(_0xc33dbd){var _0x1cf1a7=_0x43350f;for(var _0x2c0009=_0xc33dbd[_0x1cf1a7(0x318)],_0x825da2=_0xc33dbd['sigBytes'],_0x394d05=[],_0x5da1c2=0x0;_0x5da1c2<_0x825da2;_0x5da1c2++){var _0x1bcf28=_0x2c0009[_0x5da1c2>>>0x2]>>>0x18-_0x5da1c2%0x4*0x8&0xff;_0x394d05[_0x1cf1a7(0x22d)]((_0x1bcf28>>>0x4)['toString'](0x10)),_0x394d05[_0x1cf1a7(0x22d)]((_0x1bcf28&0xf)[_0x1cf1a7(0x273)](0x10));}return _0x394d05[_0x1cf1a7(0x205)]('');},'parse':function(_0x68949c){var _0x9c30a0=_0x43350f;for(var _0x3dc70a=_0x68949c['length'],_0x1d460e=[],_0x27965f=0x0;_0x27965f<_0x3dc70a;_0x27965f+=0x2)_0x1d460e[_0x27965f>>>0x3]|=parseInt(_0x68949c[_0x9c30a0(0x2f5)](_0x27965f,0x2),0x10)<<0x18-_0x27965f%0x8*0x4;return new _0x3e1c29[(_0x9c30a0(0x1b4))](_0x1d460e,_0x3dc70a/0x2);}},_0x51b49c=_0x11d324[_0x43350f(0x2b4)]={'stringify':function(_0x12f2d4){var _0x34dff2=_0x43350f;for(var _0x1bfc50=_0x12f2d4[_0x34dff2(0x318)],_0x4668ad=_0x12f2d4[_0x34dff2(0x2b9)],_0x1483dc=[],_0x43b0c1=0x0;_0x43b0c1<_0x4668ad;_0x43b0c1++){var _0x285cc1=_0x1bfc50[_0x43b0c1>>>0x2]>>>0x18-_0x43b0c1%0x4*0x8&0xff;_0x1483dc[_0x34dff2(0x22d)](String[_0x34dff2(0x29c)](_0x285cc1));}return _0x1483dc[_0x34dff2(0x205)]('');},'parse':function(_0x27c52f){var _0x18cc7b=_0x43350f;for(var _0x5b40d6=_0x27c52f[_0x18cc7b(0x2fa)],_0x543f00=[],_0x472d68=0x0;_0x472d68<_0x5b40d6;_0x472d68++)_0x543f00[_0x472d68>>>0x2]|=(_0x27c52f[_0x18cc7b(0x329)](_0x472d68)&0xff)<<0x18-_0x472d68%0x4*0x8;return new _0x3e1c29[(_0x18cc7b(0x1b4))](_0x543f00,_0x5b40d6);}},_0x557b25=_0x11d324[_0x43350f(0x22f)]={'stringify':function(_0x1bbd68){var _0x55b9ac=_0x43350f;try{return decodeURIComponent(escape(_0x51b49c[_0x55b9ac(0x2cf)](_0x1bbd68)));}catch{throw new Error(_0x55b9ac(0x201));}},'parse':function(_0x55637f){var _0x49d22e=_0x43350f;return _0x51b49c[_0x49d22e(0x3ce)](unescape(encodeURIComponent(_0x55637f)));}},_0x3cf461=_0x1a51ea[_0x43350f(0x1bd)]=_0xd7d6b3[_0x43350f(0x23a)]({'reset':function(){var _0xcfe34c=_0x43350f;this[_0xcfe34c(0x2c5)]=new _0x3e1c29['init'](),this[_0xcfe34c(0x304)]=0x0;},'_append':function(_0x57a96a){var _0x2fa8e0=_0x43350f;typeof _0x57a96a==_0x2fa8e0(0x2e4)&&(_0x57a96a=_0x557b25['parse'](_0x57a96a)),this['_data'][_0x2fa8e0(0x435)](_0x57a96a),this['_nDataBytes']+=_0x57a96a[_0x2fa8e0(0x2b9)];},'_process':function(_0x5d8ca7){var _0x4817ae=_0x43350f,_0x4307bf,_0x329937=this[_0x4817ae(0x2c5)],_0x526c34=_0x329937[_0x4817ae(0x318)],_0x3422c6=_0x329937[_0x4817ae(0x2b9)],_0xfa3706=this[_0x4817ae(0x3c8)],_0x35efdd=_0xfa3706*0x4,_0x31cb56=_0x3422c6/_0x35efdd;_0x5d8ca7?_0x31cb56=_0x1a2490[_0x4817ae(0x2ac)](_0x31cb56):_0x31cb56=_0x1a2490[_0x4817ae(0x401)]((_0x31cb56|0x0)-this[_0x4817ae(0x441)],0x0);var _0x19f87f=_0x31cb56*_0xfa3706,_0x223940=_0x1a2490['min'](_0x19f87f*0x4,_0x3422c6);if(_0x19f87f){for(var _0x4be823=0x0;_0x4be823<_0x19f87f;_0x4be823+=_0xfa3706)this[_0x4817ae(0x18d)](_0x526c34,_0x4be823);_0x4307bf=_0x526c34[_0x4817ae(0x300)](0x0,_0x19f87f),_0x329937['sigBytes']-=_0x223940;}return new _0x3e1c29[(_0x4817ae(0x1b4))](_0x4307bf,_0x223940);},'clone':function(){var _0xd17e9c=_0x43350f,_0x446295=_0xd7d6b3[_0xd17e9c(0x198)]['call'](this);return _0x446295[_0xd17e9c(0x2c5)]=this['_data'][_0xd17e9c(0x198)](),_0x446295;},'_minBufferSize':0x0});_0x1a51ea[_0x43350f(0x234)]=_0x3cf461[_0x43350f(0x23a)]({'cfg':_0xd7d6b3[_0x43350f(0x23a)](),'init':function(_0x21df07){var _0x1a78bd=_0x43350f;this['cfg']=this['cfg'][_0x1a78bd(0x23a)](_0x21df07),this[_0x1a78bd(0x25f)]();},'reset':function(){var _0x405df0=_0x43350f;_0x3cf461[_0x405df0(0x25f)]['call'](this),this[_0x405df0(0x46c)]();},'update':function(_0x374e72){var _0x53432e=_0x43350f;return this['_append'](_0x374e72),this[_0x53432e(0x2f4)](),this;},'finalize':function(_0x2f4772){var _0x365c6a=_0x43350f;_0x2f4772&&this[_0x365c6a(0x258)](_0x2f4772);var _0x26b582=this[_0x365c6a(0x28c)]();return _0x26b582;},'blockSize':0x10,'_createHelper':function(_0x8f5fa8){return function(_0x5d1550,_0x494f41){var _0x2541db=_0x5230;return new _0x8f5fa8['init'](_0x494f41)[_0x2541db(0x30a)](_0x5d1550);};},'_createHmacHelper':function(_0xfa3a42){return function(_0x3e18cf,_0x518028){var _0x2003ee=_0x5230;return new _0x148dc4[(_0x2003ee(0x43a))][(_0x2003ee(0x1b4))](_0xfa3a42,_0x518028)[_0x2003ee(0x30a)](_0x3e18cf);};}});var _0x148dc4=_0x9dcf43[_0x43350f(0x34d)]={};return _0x9dcf43;}(Math);return _0x4fbad9;}));}(Ve)),Ve[_0x395bc0(0x1e1)];}var We={'exports':{}},En=We[_0x41545e(0x1e1)],Zt;function Di(){var _0x1374b8=_0x41545e;return Zt||(Zt=0x1,function(_0x5cb41a,_0x53a108){(function(_0x31df4f,_0x2b8cee){var _0x2ff8c7=_0x5230;_0x5cb41a[_0x2ff8c7(0x1e1)]=_0x2b8cee(ie());}(En,function(_0x596b42){var _0x5ef0d7=_0x5230;return(function(){var _0x53b383=_0x5230,_0xad6de0=_0x596b42,_0x215c03=_0xad6de0[_0x53b383(0x3fa)],_0x4d2e8e=_0x215c03['WordArray'],_0x4da136=_0xad6de0['enc'];_0x4da136['Base64']={'stringify':function(_0x178d70){var _0xcf9e5e=_0x53b383,_0x696c8b=_0x178d70[_0xcf9e5e(0x318)],_0x448f7=_0x178d70[_0xcf9e5e(0x2b9)],_0x151644=this[_0xcf9e5e(0x385)];_0x178d70['clamp']();for(var _0x1ec1fb=[],_0x3bcff7=0x0;_0x3bcff7<_0x448f7;_0x3bcff7+=0x3)for(var _0x2f4710=_0x696c8b[_0x3bcff7>>>0x2]>>>0x18-_0x3bcff7%0x4*0x8&0xff,_0x122728=_0x696c8b[_0x3bcff7+0x1>>>0x2]>>>0x18-(_0x3bcff7+0x1)%0x4*0x8&0xff,_0x3f5776=_0x696c8b[_0x3bcff7+0x2>>>0x2]>>>0x18-(_0x3bcff7+0x2)%0x4*0x8&0xff,_0x24fcd3=_0x2f4710<<0x10|_0x122728<<0x8|_0x3f5776,_0x378fe0=0x0;_0x378fe0<0x4&&_0x3bcff7+_0x378fe0*0.75<_0x448f7;_0x378fe0++)_0x1ec1fb[_0xcf9e5e(0x22d)](_0x151644['charAt'](_0x24fcd3>>>0x6*(0x3-_0x378fe0)&0x3f));var _0x2f0e0d=_0x151644['charAt'](0x40);if(_0x2f0e0d){for(;_0x1ec1fb['length']%0x4;)_0x1ec1fb[_0xcf9e5e(0x22d)](_0x2f0e0d);}return _0x1ec1fb[_0xcf9e5e(0x205)]('');},'parse':function(_0x295c92){var _0x5d4b42=_0x53b383,_0x453ebc=_0x295c92[_0x5d4b42(0x2fa)],_0x114ce5=this['_map'],_0x851e9d=this[_0x5d4b42(0x3a3)];if(!_0x851e9d){_0x851e9d=this[_0x5d4b42(0x3a3)]=[];for(var _0xe2c3a0=0x0;_0xe2c3a0<_0x114ce5[_0x5d4b42(0x2fa)];_0xe2c3a0++)_0x851e9d[_0x114ce5[_0x5d4b42(0x329)](_0xe2c3a0)]=_0xe2c3a0;}var _0x3b30ca=_0x114ce5[_0x5d4b42(0x3ae)](0x40);if(_0x3b30ca){var _0x3253cc=_0x295c92[_0x5d4b42(0x430)](_0x3b30ca);_0x3253cc!==-0x1&&(_0x453ebc=_0x3253cc);}return _0x584b85(_0x295c92,_0x453ebc,_0x851e9d);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x584b85(_0x131604,_0x4791b1,_0x521817){var _0x1abbbc=_0x53b383;for(var _0x5b7756=[],_0x4800a0=0x0,_0x41b53b=0x0;_0x41b53b<_0x4791b1;_0x41b53b++)if(_0x41b53b%0x4){var _0x14da40=_0x521817[_0x131604[_0x1abbbc(0x329)](_0x41b53b-0x1)]<<_0x41b53b%0x4*0x2,_0x1784c8=_0x521817[_0x131604[_0x1abbbc(0x329)](_0x41b53b)]>>>0x6-_0x41b53b%0x4*0x2,_0x5d5946=_0x14da40|_0x1784c8;_0x5b7756[_0x4800a0>>>0x2]|=_0x5d5946<<0x18-_0x4800a0%0x4*0x8,_0x4800a0++;}return _0x4d2e8e[_0x1abbbc(0x23c)](_0x5b7756,_0x4800a0);}}()),_0x596b42[_0x5ef0d7(0x1cf)][_0x5ef0d7(0x44f)];}));}(We)),We[_0x1374b8(0x1e1)];}var Ke={'exports':{}},In=Ke['exports'],Qt;function Tn(){var _0x45fda3=_0x41545e;return Qt||(Qt=0x1,function(_0x280fcc,_0x5b0e12){(function(_0x4c10f7,_0x56654c){var _0x545242=_0x5230;_0x280fcc[_0x545242(0x1e1)]=_0x56654c(ie());}(In,function(_0x2e8891){var _0x4511d4=_0x5230;return function(_0x316325){var _0x3edb48=_0x5230,_0x1d92af=_0x2e8891,_0x4bf1b3=_0x1d92af[_0x3edb48(0x3fa)],_0x447507=_0x4bf1b3['WordArray'],_0x53dc63=_0x4bf1b3[_0x3edb48(0x234)],_0x378ab1=_0x1d92af[_0x3edb48(0x34d)],_0x959f8=[];(function(){var _0x56dac3=_0x3edb48;for(var _0x2154e0=0x0;_0x2154e0<0x40;_0x2154e0++)_0x959f8[_0x2154e0]=_0x316325['abs'](_0x316325[_0x56dac3(0x3c9)](_0x2154e0+0x1))*0x100000000|0x0;}());var _0x58bcc4=_0x378ab1[_0x3edb48(0x347)]=_0x53dc63[_0x3edb48(0x23a)]({'_doReset':function(){var _0x39a9dd=_0x3edb48;this[_0x39a9dd(0x2ef)]=new _0x447507[(_0x39a9dd(0x1b4))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1224bd,_0x3644b5){var _0x5b055e=_0x3edb48;for(var _0x5d8220=0x0;_0x5d8220<0x10;_0x5d8220++){var _0x44a072=_0x3644b5+_0x5d8220,_0xcaac5=_0x1224bd[_0x44a072];_0x1224bd[_0x44a072]=(_0xcaac5<<0x8|_0xcaac5>>>0x18)&0xff00ff|(_0xcaac5<<0x18|_0xcaac5>>>0x8)&0xff00ff00;}var _0x378205=this[_0x5b055e(0x2ef)][_0x5b055e(0x318)],_0x19a4b3=_0x1224bd[_0x3644b5+0x0],_0x437ef8=_0x1224bd[_0x3644b5+0x1],_0x48a8fc=_0x1224bd[_0x3644b5+0x2],_0x1d167b=_0x1224bd[_0x3644b5+0x3],_0x11ca6e=_0x1224bd[_0x3644b5+0x4],_0x37c056=_0x1224bd[_0x3644b5+0x5],_0x53d39d=_0x1224bd[_0x3644b5+0x6],_0x25ea65=_0x1224bd[_0x3644b5+0x7],_0x550de8=_0x1224bd[_0x3644b5+0x8],_0x357911=_0x1224bd[_0x3644b5+0x9],_0x11361f=_0x1224bd[_0x3644b5+0xa],_0x2931cd=_0x1224bd[_0x3644b5+0xb],_0x3c32df=_0x1224bd[_0x3644b5+0xc],_0x3ee4fe=_0x1224bd[_0x3644b5+0xd],_0x52427c=_0x1224bd[_0x3644b5+0xe],_0xf5157a=_0x1224bd[_0x3644b5+0xf],_0x51ed8b=_0x378205[0x0],_0xa97616=_0x378205[0x1],_0x5c5fe8=_0x378205[0x2],_0x8f06bc=_0x378205[0x3];_0x51ed8b=_0x90c342(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x19a4b3,0x7,_0x959f8[0x0]),_0x8f06bc=_0x90c342(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x437ef8,0xc,_0x959f8[0x1]),_0x5c5fe8=_0x90c342(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x48a8fc,0x11,_0x959f8[0x2]),_0xa97616=_0x90c342(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x1d167b,0x16,_0x959f8[0x3]),_0x51ed8b=_0x90c342(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x11ca6e,0x7,_0x959f8[0x4]),_0x8f06bc=_0x90c342(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x37c056,0xc,_0x959f8[0x5]),_0x5c5fe8=_0x90c342(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x53d39d,0x11,_0x959f8[0x6]),_0xa97616=_0x90c342(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x25ea65,0x16,_0x959f8[0x7]),_0x51ed8b=_0x90c342(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x550de8,0x7,_0x959f8[0x8]),_0x8f06bc=_0x90c342(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x357911,0xc,_0x959f8[0x9]),_0x5c5fe8=_0x90c342(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x11361f,0x11,_0x959f8[0xa]),_0xa97616=_0x90c342(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x2931cd,0x16,_0x959f8[0xb]),_0x51ed8b=_0x90c342(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x3c32df,0x7,_0x959f8[0xc]),_0x8f06bc=_0x90c342(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x3ee4fe,0xc,_0x959f8[0xd]),_0x5c5fe8=_0x90c342(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x52427c,0x11,_0x959f8[0xe]),_0xa97616=_0x90c342(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xf5157a,0x16,_0x959f8[0xf]),_0x51ed8b=_0x42de85(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x437ef8,0x5,_0x959f8[0x10]),_0x8f06bc=_0x42de85(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x53d39d,0x9,_0x959f8[0x11]),_0x5c5fe8=_0x42de85(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x2931cd,0xe,_0x959f8[0x12]),_0xa97616=_0x42de85(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x19a4b3,0x14,_0x959f8[0x13]),_0x51ed8b=_0x42de85(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x37c056,0x5,_0x959f8[0x14]),_0x8f06bc=_0x42de85(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x11361f,0x9,_0x959f8[0x15]),_0x5c5fe8=_0x42de85(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0xf5157a,0xe,_0x959f8[0x16]),_0xa97616=_0x42de85(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x11ca6e,0x14,_0x959f8[0x17]),_0x51ed8b=_0x42de85(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x357911,0x5,_0x959f8[0x18]),_0x8f06bc=_0x42de85(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x52427c,0x9,_0x959f8[0x19]),_0x5c5fe8=_0x42de85(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x1d167b,0xe,_0x959f8[0x1a]),_0xa97616=_0x42de85(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x550de8,0x14,_0x959f8[0x1b]),_0x51ed8b=_0x42de85(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x3ee4fe,0x5,_0x959f8[0x1c]),_0x8f06bc=_0x42de85(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x48a8fc,0x9,_0x959f8[0x1d]),_0x5c5fe8=_0x42de85(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x25ea65,0xe,_0x959f8[0x1e]),_0xa97616=_0x42de85(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x3c32df,0x14,_0x959f8[0x1f]),_0x51ed8b=_0x4e1ef6(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x37c056,0x4,_0x959f8[0x20]),_0x8f06bc=_0x4e1ef6(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x550de8,0xb,_0x959f8[0x21]),_0x5c5fe8=_0x4e1ef6(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x2931cd,0x10,_0x959f8[0x22]),_0xa97616=_0x4e1ef6(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x52427c,0x17,_0x959f8[0x23]),_0x51ed8b=_0x4e1ef6(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x437ef8,0x4,_0x959f8[0x24]),_0x8f06bc=_0x4e1ef6(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x11ca6e,0xb,_0x959f8[0x25]),_0x5c5fe8=_0x4e1ef6(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x25ea65,0x10,_0x959f8[0x26]),_0xa97616=_0x4e1ef6(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x11361f,0x17,_0x959f8[0x27]),_0x51ed8b=_0x4e1ef6(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x3ee4fe,0x4,_0x959f8[0x28]),_0x8f06bc=_0x4e1ef6(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x19a4b3,0xb,_0x959f8[0x29]),_0x5c5fe8=_0x4e1ef6(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x1d167b,0x10,_0x959f8[0x2a]),_0xa97616=_0x4e1ef6(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x53d39d,0x17,_0x959f8[0x2b]),_0x51ed8b=_0x4e1ef6(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x357911,0x4,_0x959f8[0x2c]),_0x8f06bc=_0x4e1ef6(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x3c32df,0xb,_0x959f8[0x2d]),_0x5c5fe8=_0x4e1ef6(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0xf5157a,0x10,_0x959f8[0x2e]),_0xa97616=_0x4e1ef6(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x48a8fc,0x17,_0x959f8[0x2f]),_0x51ed8b=_0x566c98(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x19a4b3,0x6,_0x959f8[0x30]),_0x8f06bc=_0x566c98(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x25ea65,0xa,_0x959f8[0x31]),_0x5c5fe8=_0x566c98(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x52427c,0xf,_0x959f8[0x32]),_0xa97616=_0x566c98(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x37c056,0x15,_0x959f8[0x33]),_0x51ed8b=_0x566c98(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x3c32df,0x6,_0x959f8[0x34]),_0x8f06bc=_0x566c98(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x1d167b,0xa,_0x959f8[0x35]),_0x5c5fe8=_0x566c98(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x11361f,0xf,_0x959f8[0x36]),_0xa97616=_0x566c98(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x437ef8,0x15,_0x959f8[0x37]),_0x51ed8b=_0x566c98(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x550de8,0x6,_0x959f8[0x38]),_0x8f06bc=_0x566c98(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0xf5157a,0xa,_0x959f8[0x39]),_0x5c5fe8=_0x566c98(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x53d39d,0xf,_0x959f8[0x3a]),_0xa97616=_0x566c98(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x3ee4fe,0x15,_0x959f8[0x3b]),_0x51ed8b=_0x566c98(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x11ca6e,0x6,_0x959f8[0x3c]),_0x8f06bc=_0x566c98(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x2931cd,0xa,_0x959f8[0x3d]),_0x5c5fe8=_0x566c98(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x48a8fc,0xf,_0x959f8[0x3e]),_0xa97616=_0x566c98(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x357911,0x15,_0x959f8[0x3f]),_0x378205[0x0]=_0x378205[0x0]+_0x51ed8b|0x0,_0x378205[0x1]=_0x378205[0x1]+_0xa97616|0x0,_0x378205[0x2]=_0x378205[0x2]+_0x5c5fe8|0x0,_0x378205[0x3]=_0x378205[0x3]+_0x8f06bc|0x0;},'_doFinalize':function(){var _0x4d19c6=_0x3edb48,_0x294471=this[_0x4d19c6(0x2c5)],_0x392f02=_0x294471['words'],_0x537d3c=this[_0x4d19c6(0x304)]*0x8,_0x18ddc4=_0x294471[_0x4d19c6(0x2b9)]*0x8;_0x392f02[_0x18ddc4>>>0x5]|=0x80<<0x18-_0x18ddc4%0x20;var _0x2e8511=_0x316325[_0x4d19c6(0x480)](_0x537d3c/0x100000000),_0x3b7154=_0x537d3c;_0x392f02[(_0x18ddc4+0x40>>>0x9<<0x4)+0xf]=(_0x2e8511<<0x8|_0x2e8511>>>0x18)&0xff00ff|(_0x2e8511<<0x18|_0x2e8511>>>0x8)&0xff00ff00,_0x392f02[(_0x18ddc4+0x40>>>0x9<<0x4)+0xe]=(_0x3b7154<<0x8|_0x3b7154>>>0x18)&0xff00ff|(_0x3b7154<<0x18|_0x3b7154>>>0x8)&0xff00ff00,_0x294471['sigBytes']=(_0x392f02[_0x4d19c6(0x2fa)]+0x1)*0x4,this[_0x4d19c6(0x2f4)]();for(var _0x2f7eb7=this['_hash'],_0x409a4a=_0x2f7eb7[_0x4d19c6(0x318)],_0x2a624b=0x0;_0x2a624b<0x4;_0x2a624b++){var _0x2d8df3=_0x409a4a[_0x2a624b];_0x409a4a[_0x2a624b]=(_0x2d8df3<<0x8|_0x2d8df3>>>0x18)&0xff00ff|(_0x2d8df3<<0x18|_0x2d8df3>>>0x8)&0xff00ff00;}return _0x2f7eb7;},'clone':function(){var _0x2bc511=_0x3edb48,_0x3c7e38=_0x53dc63[_0x2bc511(0x198)][_0x2bc511(0x33e)](this);return _0x3c7e38[_0x2bc511(0x2ef)]=this[_0x2bc511(0x2ef)]['clone'](),_0x3c7e38;}});function _0x90c342(_0x55750b,_0x43623e,_0x2b6371,_0x1b6e6,_0x29cb99,_0xea7220,_0x5203d6){var _0x590d62=_0x55750b+(_0x43623e&_0x2b6371|~_0x43623e&_0x1b6e6)+_0x29cb99+_0x5203d6;return(_0x590d62<<_0xea7220|_0x590d62>>>0x20-_0xea7220)+_0x43623e;}function _0x42de85(_0xca24ed,_0x10fc33,_0x2724cd,_0x5e1db7,_0x4be1e7,_0xd057dc,_0x386d0b){var _0x24585e=_0xca24ed+(_0x10fc33&_0x5e1db7|_0x2724cd&~_0x5e1db7)+_0x4be1e7+_0x386d0b;return(_0x24585e<<_0xd057dc|_0x24585e>>>0x20-_0xd057dc)+_0x10fc33;}function _0x4e1ef6(_0x3a925a,_0x1aad3f,_0x27af32,_0x332f97,_0xf21e99,_0x1a436d,_0x35e2f4){var _0xb7ad53=_0x3a925a+(_0x1aad3f^_0x27af32^_0x332f97)+_0xf21e99+_0x35e2f4;return(_0xb7ad53<<_0x1a436d|_0xb7ad53>>>0x20-_0x1a436d)+_0x1aad3f;}function _0x566c98(_0x5960e4,_0x5e0245,_0x3d1a5,_0x1bd9bf,_0x1fae51,_0x53e2db,_0x534591){var _0x5b6e71=_0x5960e4+(_0x3d1a5^(_0x5e0245|~_0x1bd9bf))+_0x1fae51+_0x534591;return(_0x5b6e71<<_0x53e2db|_0x5b6e71>>>0x20-_0x53e2db)+_0x5e0245;}_0x1d92af[_0x3edb48(0x347)]=_0x53dc63[_0x3edb48(0x2fb)](_0x58bcc4),_0x1d92af['HmacMD5']=_0x53dc63[_0x3edb48(0x37f)](_0x58bcc4);}(Math),_0x2e8891[_0x4511d4(0x347)];}));}(Ke)),Ke[_0x45fda3(0x1e1)];}var Ye={'exports':{}},qe={'exports':{}},Cn=qe[_0x41545e(0x1e1)],ei;function Rn(){var _0x596090=_0x41545e;return ei||(ei=0x1,function(_0x5af6b0,_0x291776){(function(_0x1d5df3,_0x303291){var _0x2e2d25=_0x5230;_0x5af6b0[_0x2e2d25(0x1e1)]=_0x303291(ie());}(Cn,function(_0x433e6a){var _0x44278e=_0x5230;return(function(){var _0x334e14=_0x5230,_0x537710=_0x433e6a,_0x325a2d=_0x537710[_0x334e14(0x3fa)],_0x5e532f=_0x325a2d[_0x334e14(0x3a9)],_0x55317f=_0x325a2d[_0x334e14(0x234)],_0x54f70d=_0x537710[_0x334e14(0x34d)],_0x3c63b4=[],_0x255435=_0x54f70d['SHA1']=_0x55317f[_0x334e14(0x23a)]({'_doReset':function(){var _0x5f5465=_0x334e14;this[_0x5f5465(0x2ef)]=new _0x5e532f['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1ed4c6,_0x8ca380){var _0x22a60d=_0x334e14;for(var _0x44d08d=this[_0x22a60d(0x2ef)]['words'],_0xf5f14=_0x44d08d[0x0],_0x51cb5f=_0x44d08d[0x1],_0xdab8e8=_0x44d08d[0x2],_0x58bc9a=_0x44d08d[0x3],_0xeda9c1=_0x44d08d[0x4],_0xefad6f=0x0;_0xefad6f<0x50;_0xefad6f++){if(_0xefad6f<0x10)_0x3c63b4[_0xefad6f]=_0x1ed4c6[_0x8ca380+_0xefad6f]|0x0;else{var _0x4116de=_0x3c63b4[_0xefad6f-0x3]^_0x3c63b4[_0xefad6f-0x8]^_0x3c63b4[_0xefad6f-0xe]^_0x3c63b4[_0xefad6f-0x10];_0x3c63b4[_0xefad6f]=_0x4116de<<0x1|_0x4116de>>>0x1f;}var _0x541a2c=(_0xf5f14<<0x5|_0xf5f14>>>0x1b)+_0xeda9c1+_0x3c63b4[_0xefad6f];_0xefad6f<0x14?_0x541a2c+=(_0x51cb5f&_0xdab8e8|~_0x51cb5f&_0x58bc9a)+0x5a827999:_0xefad6f<0x28?_0x541a2c+=(_0x51cb5f^_0xdab8e8^_0x58bc9a)+0x6ed9eba1:_0xefad6f<0x3c?_0x541a2c+=(_0x51cb5f&_0xdab8e8|_0x51cb5f&_0x58bc9a|_0xdab8e8&_0x58bc9a)-0x70e44324:_0x541a2c+=(_0x51cb5f^_0xdab8e8^_0x58bc9a)-0x359d3e2a,_0xeda9c1=_0x58bc9a,_0x58bc9a=_0xdab8e8,_0xdab8e8=_0x51cb5f<<0x1e|_0x51cb5f>>>0x2,_0x51cb5f=_0xf5f14,_0xf5f14=_0x541a2c;}_0x44d08d[0x0]=_0x44d08d[0x0]+_0xf5f14|0x0,_0x44d08d[0x1]=_0x44d08d[0x1]+_0x51cb5f|0x0,_0x44d08d[0x2]=_0x44d08d[0x2]+_0xdab8e8|0x0,_0x44d08d[0x3]=_0x44d08d[0x3]+_0x58bc9a|0x0,_0x44d08d[0x4]=_0x44d08d[0x4]+_0xeda9c1|0x0;},'_doFinalize':function(){var _0x3453bc=_0x334e14,_0x49ef79=this['_data'],_0x5ed673=_0x49ef79['words'],_0x4a1e83=this['_nDataBytes']*0x8,_0x5dfd0a=_0x49ef79['sigBytes']*0x8;return _0x5ed673[_0x5dfd0a>>>0x5]|=0x80<<0x18-_0x5dfd0a%0x20,_0x5ed673[(_0x5dfd0a+0x40>>>0x9<<0x4)+0xe]=Math[_0x3453bc(0x480)](_0x4a1e83/0x100000000),_0x5ed673[(_0x5dfd0a+0x40>>>0x9<<0x4)+0xf]=_0x4a1e83,_0x49ef79['sigBytes']=_0x5ed673[_0x3453bc(0x2fa)]*0x4,this[_0x3453bc(0x2f4)](),this[_0x3453bc(0x2ef)];},'clone':function(){var _0x9fdf05=_0x334e14,_0x564d48=_0x55317f[_0x9fdf05(0x198)]['call'](this);return _0x564d48[_0x9fdf05(0x2ef)]=this[_0x9fdf05(0x2ef)][_0x9fdf05(0x198)](),_0x564d48;}});_0x537710[_0x334e14(0x40f)]=_0x55317f[_0x334e14(0x2fb)](_0x255435),_0x537710[_0x334e14(0x350)]=_0x55317f['_createHmacHelper'](_0x255435);}()),_0x433e6a[_0x44278e(0x40f)];}));}(qe)),qe[_0x596090(0x1e1)];}var ze={'exports':{}},bn=ze[_0x41545e(0x1e1)],ti;function yn(){var _0x2ad6c4=_0x41545e;return ti||(ti=0x1,function(_0x564f1,_0x106a03){(function(_0x41533f,_0x100357){var _0x56c83e=_0x5230;_0x564f1[_0x56c83e(0x1e1)]=_0x100357(ie());}(bn,function(_0x57ce4b){(function(){var _0xdefe0f=_0x5230,_0x4745eb=_0x57ce4b,_0x3e4b26=_0x4745eb[_0xdefe0f(0x3fa)],_0x43fce1=_0x3e4b26['Base'],_0x457b72=_0x4745eb[_0xdefe0f(0x1cf)],_0x1fb897=_0x457b72[_0xdefe0f(0x22f)],_0xaa32b4=_0x4745eb[_0xdefe0f(0x34d)];_0xaa32b4[_0xdefe0f(0x43a)]=_0x43fce1[_0xdefe0f(0x23a)]({'init':function(_0x39e070,_0x1baee2){var _0x4ff181=_0xdefe0f;_0x39e070=this[_0x4ff181(0x40d)]=new _0x39e070[(_0x4ff181(0x1b4))](),typeof _0x1baee2==_0x4ff181(0x2e4)&&(_0x1baee2=_0x1fb897[_0x4ff181(0x3ce)](_0x1baee2));var _0x1cfc48=_0x39e070[_0x4ff181(0x3c8)],_0x13363e=_0x1cfc48*0x4;_0x1baee2[_0x4ff181(0x2b9)]>_0x13363e&&(_0x1baee2=_0x39e070[_0x4ff181(0x30a)](_0x1baee2)),_0x1baee2[_0x4ff181(0x243)]();for(var _0x547235=this[_0x4ff181(0x413)]=_0x1baee2['clone'](),_0x54f4a7=this['_iKey']=_0x1baee2[_0x4ff181(0x198)](),_0x3124da=_0x547235['words'],_0x5a4ddc=_0x54f4a7[_0x4ff181(0x318)],_0x56cfae=0x0;_0x56cfae<_0x1cfc48;_0x56cfae++)_0x3124da[_0x56cfae]^=0x5c5c5c5c,_0x5a4ddc[_0x56cfae]^=0x36363636;_0x547235['sigBytes']=_0x54f4a7[_0x4ff181(0x2b9)]=_0x13363e,this[_0x4ff181(0x25f)]();},'reset':function(){var _0x1de49f=_0xdefe0f,_0x4f4f5d=this[_0x1de49f(0x40d)];_0x4f4f5d[_0x1de49f(0x25f)](),_0x4f4f5d['update'](this[_0x1de49f(0x2a9)]);},'update':function(_0x1d736b){var _0x19b93d=_0xdefe0f;return this[_0x19b93d(0x40d)][_0x19b93d(0x3e2)](_0x1d736b),this;},'finalize':function(_0x9d64d9){var _0x2888d3=_0xdefe0f,_0x34d91c=this[_0x2888d3(0x40d)],_0xf70cfd=_0x34d91c[_0x2888d3(0x30a)](_0x9d64d9);_0x34d91c['reset']();var _0x52142a=_0x34d91c['finalize'](this[_0x2888d3(0x413)][_0x2888d3(0x198)]()[_0x2888d3(0x435)](_0xf70cfd));return _0x52142a;}});}());}));}(ze)),ze[_0x2ad6c4(0x1e1)];}var On=Ye[_0x41545e(0x1e1)],ii;function wi(){var _0x3b3531=_0x41545e;return ii||(ii=0x1,function(_0x1b583f,_0xaa3db4){(function(_0x5b45d5,_0x5d6500,_0x5b48b9){var _0x2d84c2=_0x5230;_0x1b583f[_0x2d84c2(0x1e1)]=_0x5d6500(ie(),Rn(),yn());}(On,function(_0x46d697){var _0x128406=_0x5230;return(function(){var _0x41db3=_0x5230,_0x125917=_0x46d697,_0x217c56=_0x125917[_0x41db3(0x3fa)],_0x1c584d=_0x217c56[_0x41db3(0x47b)],_0x61ebdd=_0x217c56[_0x41db3(0x3a9)],_0x159ad4=_0x125917[_0x41db3(0x34d)],_0x386db5=_0x159ad4['MD5'],_0x46757d=_0x159ad4[_0x41db3(0x352)]=_0x1c584d[_0x41db3(0x23a)]({'cfg':_0x1c584d[_0x41db3(0x23a)]({'keySize':0x80/0x20,'hasher':_0x386db5,'iterations':0x1}),'init':function(_0x3dda25){var _0x558b9d=_0x41db3;this[_0x558b9d(0x32c)]=this[_0x558b9d(0x32c)][_0x558b9d(0x23a)](_0x3dda25);},'compute':function(_0x288c16,_0x142a4b){var _0x559558=_0x41db3;for(var _0x4422c9,_0x2d9508=this['cfg'],_0x5e09b0=_0x2d9508[_0x559558(0x45c)][_0x559558(0x23c)](),_0x4c0dc2=_0x61ebdd['create'](),_0x2a6634=_0x4c0dc2[_0x559558(0x318)],_0x6a0ae0=_0x2d9508['keySize'],_0x4c5484=_0x2d9508[_0x559558(0x3f4)];_0x2a6634['length']<_0x6a0ae0;){_0x4422c9&&_0x5e09b0[_0x559558(0x3e2)](_0x4422c9),_0x4422c9=_0x5e09b0[_0x559558(0x3e2)](_0x288c16)[_0x559558(0x30a)](_0x142a4b),_0x5e09b0[_0x559558(0x25f)]();for(var _0x5f38ff=0x1;_0x5f38ff<_0x4c5484;_0x5f38ff++)_0x4422c9=_0x5e09b0[_0x559558(0x30a)](_0x4422c9),_0x5e09b0[_0x559558(0x25f)]();_0x4c0dc2[_0x559558(0x435)](_0x4422c9);}return _0x4c0dc2[_0x559558(0x2b9)]=_0x6a0ae0*0x4,_0x4c0dc2;}});_0x125917[_0x41db3(0x352)]=function(_0x489210,_0x38cfca,_0x25149e){var _0x46db9b=_0x41db3;return _0x46757d[_0x46db9b(0x23c)](_0x25149e)[_0x46db9b(0x250)](_0x489210,_0x38cfca);};}()),_0x46d697[_0x128406(0x352)];}));}(Ye)),Ye[_0x3b3531(0x1e1)];}var Je={'exports':{}},Nn=Je[_0x41545e(0x1e1)],ri;function Ui(){var _0x209641=_0x41545e;return ri||(ri=0x1,function(_0x51381b,_0x1ac0e1){(function(_0x46ae7c,_0x2d68ac,_0x3823f5){_0x51381b['exports']=_0x2d68ac(ie(),wi());}(Nn,function(_0x444b71){_0x444b71['lib']['Cipher']||function(_0x25acab){var _0x4457ba=_0x5230,_0x554c8a=_0x444b71,_0x48ced5=_0x554c8a[_0x4457ba(0x3fa)],_0x3bf036=_0x48ced5[_0x4457ba(0x47b)],_0x301f0c=_0x48ced5['WordArray'],_0x313f77=_0x48ced5['BufferedBlockAlgorithm'],_0x1e23e9=_0x554c8a[_0x4457ba(0x1cf)];_0x1e23e9['Utf8'];var _0x2f2267=_0x1e23e9[_0x4457ba(0x44f)],_0x3e9f8d=_0x554c8a[_0x4457ba(0x34d)],_0x10df95=_0x3e9f8d[_0x4457ba(0x352)],_0x11e0a9=_0x48ced5[_0x4457ba(0x220)]=_0x313f77[_0x4457ba(0x23a)]({'cfg':_0x3bf036[_0x4457ba(0x23a)](),'createEncryptor':function(_0x262481,_0x38b6bb){var _0x3c2f3a=_0x4457ba;return this[_0x3c2f3a(0x23c)](this[_0x3c2f3a(0x1fb)],_0x262481,_0x38b6bb);},'createDecryptor':function(_0x2a5462,_0x1ba840){var _0x3c9af1=_0x4457ba;return this['create'](this[_0x3c9af1(0x231)],_0x2a5462,_0x1ba840);},'init':function(_0x349bff,_0x19419b,_0x4e36bb){var _0x38e5d4=_0x4457ba;this[_0x38e5d4(0x32c)]=this[_0x38e5d4(0x32c)][_0x38e5d4(0x23a)](_0x4e36bb),this[_0x38e5d4(0x19f)]=_0x349bff,this[_0x38e5d4(0x30d)]=_0x19419b,this[_0x38e5d4(0x25f)]();},'reset':function(){var _0x1a303f=_0x4457ba;_0x313f77[_0x1a303f(0x25f)][_0x1a303f(0x33e)](this),this[_0x1a303f(0x46c)]();},'process':function(_0x39f5ea){var _0x5d34c1=_0x4457ba;return this[_0x5d34c1(0x258)](_0x39f5ea),this['_process']();},'finalize':function(_0x22107c){var _0x957c5=_0x4457ba;_0x22107c&&this[_0x957c5(0x258)](_0x22107c);var _0x3c4c51=this['_doFinalize']();return _0x3c4c51;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x6e0c92(_0x5810bb){var _0x5594a2=_0x5230;return typeof _0x5810bb==_0x5594a2(0x2e4)?_0x56134d:_0x209255;}return function(_0x5e2724){return{'encrypt':function(_0x1eaea8,_0x586ebb,_0x3750bc){var _0x4ccd92=_0x5230;return _0x6e0c92(_0x586ebb)[_0x4ccd92(0x237)](_0x5e2724,_0x1eaea8,_0x586ebb,_0x3750bc);},'decrypt':function(_0x4102f3,_0x143ef1,_0x149043){var _0x48ae93=_0x5230;return _0x6e0c92(_0x143ef1)[_0x48ae93(0x1a2)](_0x5e2724,_0x4102f3,_0x143ef1,_0x149043);}};};}())});_0x48ced5[_0x4457ba(0x265)]=_0x11e0a9['extend']({'_doFinalize':function(){var _0x4088d2=this['_process'](!0x0);return _0x4088d2;},'blockSize':0x1});var _0x258150=_0x554c8a[_0x4457ba(0x3c4)]={},_0xfa8b08=_0x48ced5['BlockCipherMode']=_0x3bf036[_0x4457ba(0x23a)]({'createEncryptor':function(_0x71d3e0,_0x225fd0){var _0x4f0d9c=_0x4457ba;return this[_0x4f0d9c(0x334)]['create'](_0x71d3e0,_0x225fd0);},'createDecryptor':function(_0x46482e,_0x2e6ac8){var _0x312706=_0x4457ba;return this['Decryptor'][_0x312706(0x23c)](_0x46482e,_0x2e6ac8);},'init':function(_0x108d6a,_0x499a4a){var _0x5819c9=_0x4457ba;this[_0x5819c9(0x291)]=_0x108d6a,this[_0x5819c9(0x479)]=_0x499a4a;}}),_0x54a027=_0x258150[_0x4457ba(0x2fe)]=(function(){var _0x36509b=_0x4457ba,_0x4ab17d=_0xfa8b08[_0x36509b(0x23a)]();_0x4ab17d[_0x36509b(0x334)]=_0x4ab17d[_0x36509b(0x23a)]({'processBlock':function(_0x4f5f8d,_0x34fab4){var _0x33bea6=_0x36509b,_0xbaecf=this['_cipher'],_0x182660=_0xbaecf[_0x33bea6(0x3c8)];_0x26bd95[_0x33bea6(0x33e)](this,_0x4f5f8d,_0x34fab4,_0x182660),_0xbaecf['encryptBlock'](_0x4f5f8d,_0x34fab4),this[_0x33bea6(0x469)]=_0x4f5f8d[_0x33bea6(0x377)](_0x34fab4,_0x34fab4+_0x182660);}}),_0x4ab17d[_0x36509b(0x275)]=_0x4ab17d[_0x36509b(0x23a)]({'processBlock':function(_0x22a414,_0x55f84f){var _0xe9643c=_0x36509b,_0x378cfe=this[_0xe9643c(0x291)],_0xd69ba2=_0x378cfe['blockSize'],_0x3205d4=_0x22a414['slice'](_0x55f84f,_0x55f84f+_0xd69ba2);_0x378cfe['decryptBlock'](_0x22a414,_0x55f84f),_0x26bd95[_0xe9643c(0x33e)](this,_0x22a414,_0x55f84f,_0xd69ba2),this[_0xe9643c(0x469)]=_0x3205d4;}});function _0x26bd95(_0x565bb7,_0x1e436e,_0x59dcdb){var _0x16ce1b=_0x36509b,_0x346969,_0x50d41b=this[_0x16ce1b(0x479)];_0x50d41b?(_0x346969=_0x50d41b,this[_0x16ce1b(0x479)]=_0x25acab):_0x346969=this[_0x16ce1b(0x469)];for(var _0x32300e=0x0;_0x32300e<_0x59dcdb;_0x32300e++)_0x565bb7[_0x1e436e+_0x32300e]^=_0x346969[_0x32300e];}return _0x4ab17d;}()),_0x55d3b8=_0x554c8a[_0x4457ba(0x402)]={},_0x3fa291=_0x55d3b8[_0x4457ba(0x345)]={'pad':function(_0x3722a1,_0x42fe0f){var _0x31d4e4=_0x4457ba;for(var _0x54519a=_0x42fe0f*0x4,_0x24c6f4=_0x54519a-_0x3722a1['sigBytes']%_0x54519a,_0x3bf9f0=_0x24c6f4<<0x18|_0x24c6f4<<0x10|_0x24c6f4<<0x8|_0x24c6f4,_0x16ffdf=[],_0x2b0158=0x0;_0x2b0158<_0x24c6f4;_0x2b0158+=0x4)_0x16ffdf[_0x31d4e4(0x22d)](_0x3bf9f0);var _0x10c94d=_0x301f0c[_0x31d4e4(0x23c)](_0x16ffdf,_0x24c6f4);_0x3722a1[_0x31d4e4(0x435)](_0x10c94d);},'unpad':function(_0x5e404a){var _0x11ad3d=_0x4457ba,_0x4c09e9=_0x5e404a['words'][_0x5e404a[_0x11ad3d(0x2b9)]-0x1>>>0x2]&0xff;_0x5e404a['sigBytes']-=_0x4c09e9;}};_0x48ced5[_0x4457ba(0x415)]=_0x11e0a9[_0x4457ba(0x23a)]({'cfg':_0x11e0a9[_0x4457ba(0x32c)][_0x4457ba(0x23a)]({'mode':_0x54a027,'padding':_0x3fa291}),'reset':function(){var _0x395818=_0x4457ba,_0x303dbc;_0x11e0a9[_0x395818(0x25f)][_0x395818(0x33e)](this);var _0x4790a1=this[_0x395818(0x32c)],_0x8e5c58=_0x4790a1['iv'],_0x40d379=_0x4790a1[_0x395818(0x3c4)];this[_0x395818(0x19f)]==this[_0x395818(0x1fb)]?_0x303dbc=_0x40d379[_0x395818(0x2b1)]:(_0x303dbc=_0x40d379[_0x395818(0x21e)],this[_0x395818(0x441)]=0x1),this[_0x395818(0x235)]&&this[_0x395818(0x235)][_0x395818(0x1cd)]==_0x303dbc?this[_0x395818(0x235)][_0x395818(0x1b4)](this,_0x8e5c58&&_0x8e5c58[_0x395818(0x318)]):(this[_0x395818(0x235)]=_0x303dbc[_0x395818(0x33e)](_0x40d379,this,_0x8e5c58&&_0x8e5c58['words']),this[_0x395818(0x235)][_0x395818(0x1cd)]=_0x303dbc);},'_doProcessBlock':function(_0x1da3aa,_0x4f3213){this['_mode']['processBlock'](_0x1da3aa,_0x4f3213);},'_doFinalize':function(){var _0x54d9fd=_0x4457ba,_0x5124b4,_0x1bc845=this[_0x54d9fd(0x32c)][_0x54d9fd(0x268)];return this[_0x54d9fd(0x19f)]==this['_ENC_XFORM_MODE']?(_0x1bc845[_0x54d9fd(0x402)](this[_0x54d9fd(0x2c5)],this[_0x54d9fd(0x3c8)]),_0x5124b4=this['_process'](!0x0)):(_0x5124b4=this[_0x54d9fd(0x2f4)](!0x0),_0x1bc845[_0x54d9fd(0x241)](_0x5124b4)),_0x5124b4;},'blockSize':0x80/0x20});var _0x263185=_0x48ced5[_0x4457ba(0x24a)]=_0x3bf036['extend']({'init':function(_0x53d7c6){var _0x3f2909=_0x4457ba;this[_0x3f2909(0x326)](_0x53d7c6);},'toString':function(_0x2762b6){var _0x36ad0c=_0x4457ba;return(_0x2762b6||this[_0x36ad0c(0x320)])[_0x36ad0c(0x2cf)](this);}}),_0x2bcbea=_0x554c8a[_0x4457ba(0x3d3)]={},_0x214f3c=_0x2bcbea['OpenSSL']={'stringify':function(_0x4c725f){var _0x3b7281=_0x4457ba,_0x99ee23,_0x23ee95=_0x4c725f['ciphertext'],_0x4afbc6=_0x4c725f['salt'];return _0x4afbc6?_0x99ee23=_0x301f0c[_0x3b7281(0x23c)]([0x53616c74,0x65645f5f])[_0x3b7281(0x435)](_0x4afbc6)[_0x3b7281(0x435)](_0x23ee95):_0x99ee23=_0x23ee95,_0x99ee23[_0x3b7281(0x273)](_0x2f2267);},'parse':function(_0x1a60a1){var _0x57753=_0x4457ba,_0x576d54,_0x44e82b=_0x2f2267['parse'](_0x1a60a1),_0x12dc2b=_0x44e82b[_0x57753(0x318)];return _0x12dc2b[0x0]==0x53616c74&&_0x12dc2b[0x1]==0x65645f5f&&(_0x576d54=_0x301f0c[_0x57753(0x23c)](_0x12dc2b[_0x57753(0x377)](0x2,0x4)),_0x12dc2b['splice'](0x0,0x4),_0x44e82b[_0x57753(0x2b9)]-=0x10),_0x263185[_0x57753(0x23c)]({'ciphertext':_0x44e82b,'salt':_0x576d54});}},_0x209255=_0x48ced5[_0x4457ba(0x3db)]=_0x3bf036[_0x4457ba(0x23a)]({'cfg':_0x3bf036[_0x4457ba(0x23a)]({'format':_0x214f3c}),'encrypt':function(_0x16f0e5,_0x455a4c,_0x284656,_0x522462){var _0x445a00=_0x4457ba;_0x522462=this[_0x445a00(0x32c)]['extend'](_0x522462);var _0x2a106f=_0x16f0e5[_0x445a00(0x2b1)](_0x284656,_0x522462),_0x32a0a0=_0x2a106f['finalize'](_0x455a4c),_0x37f085=_0x2a106f['cfg'];return _0x263185[_0x445a00(0x23c)]({'ciphertext':_0x32a0a0,'key':_0x284656,'iv':_0x37f085['iv'],'algorithm':_0x16f0e5,'mode':_0x37f085[_0x445a00(0x3c4)],'padding':_0x37f085['padding'],'blockSize':_0x16f0e5[_0x445a00(0x3c8)],'formatter':_0x522462['format']});},'decrypt':function(_0x1242a1,_0x1c0b51,_0x59d150,_0x48ac83){var _0x11c286=_0x4457ba;_0x48ac83=this[_0x11c286(0x32c)][_0x11c286(0x23a)](_0x48ac83),_0x1c0b51=this[_0x11c286(0x2c8)](_0x1c0b51,_0x48ac83[_0x11c286(0x3d3)]);var _0x3eae54=_0x1242a1[_0x11c286(0x21e)](_0x59d150,_0x48ac83)[_0x11c286(0x30a)](_0x1c0b51[_0x11c286(0x1dc)]);return _0x3eae54;},'_parse':function(_0x5ee569,_0xcf3b3a){var _0x1688dd=_0x4457ba;return typeof _0x5ee569==_0x1688dd(0x2e4)?_0xcf3b3a[_0x1688dd(0x3ce)](_0x5ee569,this):_0x5ee569;}}),_0x2ca3b2=_0x554c8a[_0x4457ba(0x1ad)]={},_0x48f6f6=_0x2ca3b2['OpenSSL']={'execute':function(_0x1467e2,_0x235ba9,_0x149050,_0x5b2cf1,_0x464467){var _0x58e24e=_0x4457ba;if(_0x5b2cf1||(_0x5b2cf1=_0x301f0c['random'](0x40/0x8)),_0x464467)var _0x3934ea=_0x10df95[_0x58e24e(0x23c)]({'keySize':_0x235ba9+_0x149050,'hasher':_0x464467})[_0x58e24e(0x250)](_0x1467e2,_0x5b2cf1);else var _0x3934ea=_0x10df95[_0x58e24e(0x23c)]({'keySize':_0x235ba9+_0x149050})['compute'](_0x1467e2,_0x5b2cf1);var _0x5aa018=_0x301f0c[_0x58e24e(0x23c)](_0x3934ea[_0x58e24e(0x318)][_0x58e24e(0x377)](_0x235ba9),_0x149050*0x4);return _0x3934ea[_0x58e24e(0x2b9)]=_0x235ba9*0x4,_0x263185['create']({'key':_0x3934ea,'iv':_0x5aa018,'salt':_0x5b2cf1});}},_0x56134d=_0x48ced5['PasswordBasedCipher']=_0x209255['extend']({'cfg':_0x209255[_0x4457ba(0x32c)][_0x4457ba(0x23a)]({'kdf':_0x48f6f6}),'encrypt':function(_0x3ca5d8,_0x451965,_0x746c55,_0x4fd460){var _0x33ec05=_0x4457ba;_0x4fd460=this[_0x33ec05(0x32c)]['extend'](_0x4fd460);var _0x5c45e0=_0x4fd460[_0x33ec05(0x1ad)][_0x33ec05(0x39d)](_0x746c55,_0x3ca5d8['keySize'],_0x3ca5d8[_0x33ec05(0x40e)],_0x4fd460['salt'],_0x4fd460['hasher']);_0x4fd460['iv']=_0x5c45e0['iv'];var _0x604ba=_0x209255[_0x33ec05(0x237)]['call'](this,_0x3ca5d8,_0x451965,_0x5c45e0[_0x33ec05(0x3aa)],_0x4fd460);return _0x604ba[_0x33ec05(0x326)](_0x5c45e0),_0x604ba;},'decrypt':function(_0x3d15ff,_0x2464be,_0x5ad333,_0x923d38){var _0xea81de=_0x4457ba;_0x923d38=this['cfg']['extend'](_0x923d38),_0x2464be=this['_parse'](_0x2464be,_0x923d38[_0xea81de(0x3d3)]);var _0x36ddae=_0x923d38['kdf']['execute'](_0x5ad333,_0x3d15ff[_0xea81de(0x249)],_0x3d15ff[_0xea81de(0x40e)],_0x2464be[_0xea81de(0x42f)],_0x923d38['hasher']);_0x923d38['iv']=_0x36ddae['iv'];var _0x39bf8a=_0x209255[_0xea81de(0x1a2)][_0xea81de(0x33e)](this,_0x3d15ff,_0x2464be,_0x36ddae[_0xea81de(0x3aa)],_0x923d38);return _0x39bf8a;}});}();}));}(Je)),Je[_0x209641(0x1e1)];}var Dn=Ge[_0x41545e(0x1e1)],ni;function wn(){return ni||(ni=0x1,function(_0x56b20e,_0x293635){(function(_0xaacb16,_0x36fde4,_0x146631){var _0x281a28=_0x5230;_0x56b20e[_0x281a28(0x1e1)]=_0x36fde4(ie(),Di(),Tn(),wi(),Ui());}(Dn,function(_0x5ac62d){var _0x4149fd=_0x5230;return(function(){var _0x59230a=_0x5230,_0xbd5f70=_0x5ac62d,_0x1f47ad=_0xbd5f70[_0x59230a(0x3fa)],_0x2319ed=_0x1f47ad[_0x59230a(0x415)],_0x295012=_0xbd5f70[_0x59230a(0x34d)],_0x4b2276=[],_0x29373f=[],_0x376864=[],_0x335f83=[],_0x4ad315=[],_0x2722a6=[],_0x4d43f5=[],_0x40c087=[],_0x18f76b=[],_0x148ec1=[];(function(){for(var _0x34fcb3=[],_0x57fa2a=0x0;_0x57fa2a<0x100;_0x57fa2a++)_0x57fa2a<0x80?_0x34fcb3[_0x57fa2a]=_0x57fa2a<<0x1:_0x34fcb3[_0x57fa2a]=_0x57fa2a<<0x1^0x11b;for(var _0x1d29c7=0x0,_0xccc119=0x0,_0x57fa2a=0x0;_0x57fa2a<0x100;_0x57fa2a++){var _0x58f6e2=_0xccc119^_0xccc119<<0x1^_0xccc119<<0x2^_0xccc119<<0x3^_0xccc119<<0x4;_0x58f6e2=_0x58f6e2>>>0x8^_0x58f6e2&0xff^0x63,_0x4b2276[_0x1d29c7]=_0x58f6e2,_0x29373f[_0x58f6e2]=_0x1d29c7;var _0x152889=_0x34fcb3[_0x1d29c7],_0x3c7c8a=_0x34fcb3[_0x152889],_0x153d70=_0x34fcb3[_0x3c7c8a],_0x3fc50b=_0x34fcb3[_0x58f6e2]*0x101^_0x58f6e2*0x1010100;_0x376864[_0x1d29c7]=_0x3fc50b<<0x18|_0x3fc50b>>>0x8,_0x335f83[_0x1d29c7]=_0x3fc50b<<0x10|_0x3fc50b>>>0x10,_0x4ad315[_0x1d29c7]=_0x3fc50b<<0x8|_0x3fc50b>>>0x18,_0x2722a6[_0x1d29c7]=_0x3fc50b;var _0x3fc50b=_0x153d70*0x1010101^_0x3c7c8a*0x10001^_0x152889*0x101^_0x1d29c7*0x1010100;_0x4d43f5[_0x58f6e2]=_0x3fc50b<<0x18|_0x3fc50b>>>0x8,_0x40c087[_0x58f6e2]=_0x3fc50b<<0x10|_0x3fc50b>>>0x10,_0x18f76b[_0x58f6e2]=_0x3fc50b<<0x8|_0x3fc50b>>>0x18,_0x148ec1[_0x58f6e2]=_0x3fc50b,_0x1d29c7?(_0x1d29c7=_0x152889^_0x34fcb3[_0x34fcb3[_0x34fcb3[_0x153d70^_0x152889]]],_0xccc119^=_0x34fcb3[_0x34fcb3[_0xccc119]]):_0x1d29c7=_0xccc119=0x1;}}());var _0x1a7b01=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x7970a7=_0x295012[_0x59230a(0x43b)]=_0x2319ed[_0x59230a(0x23a)]({'_doReset':function(){var _0x1ecede=_0x59230a,_0xf4ecbe;if(!(this[_0x1ecede(0x2b2)]&&this[_0x1ecede(0x2ae)]===this[_0x1ecede(0x30d)])){for(var _0x1316af=this[_0x1ecede(0x2ae)]=this[_0x1ecede(0x30d)],_0x1549fd=_0x1316af[_0x1ecede(0x318)],_0x5d1d44=_0x1316af[_0x1ecede(0x2b9)]/0x4,_0x2d7703=this[_0x1ecede(0x2b2)]=_0x5d1d44+0x6,_0x27c86d=(_0x2d7703+0x1)*0x4,_0x257008=this[_0x1ecede(0x3ec)]=[],_0x208ddb=0x0;_0x208ddb<_0x27c86d;_0x208ddb++)_0x208ddb<_0x5d1d44?_0x257008[_0x208ddb]=_0x1549fd[_0x208ddb]:(_0xf4ecbe=_0x257008[_0x208ddb-0x1],_0x208ddb%_0x5d1d44?_0x5d1d44>0x6&&_0x208ddb%_0x5d1d44==0x4&&(_0xf4ecbe=_0x4b2276[_0xf4ecbe>>>0x18]<<0x18|_0x4b2276[_0xf4ecbe>>>0x10&0xff]<<0x10|_0x4b2276[_0xf4ecbe>>>0x8&0xff]<<0x8|_0x4b2276[_0xf4ecbe&0xff]):(_0xf4ecbe=_0xf4ecbe<<0x8|_0xf4ecbe>>>0x18,_0xf4ecbe=_0x4b2276[_0xf4ecbe>>>0x18]<<0x18|_0x4b2276[_0xf4ecbe>>>0x10&0xff]<<0x10|_0x4b2276[_0xf4ecbe>>>0x8&0xff]<<0x8|_0x4b2276[_0xf4ecbe&0xff],_0xf4ecbe^=_0x1a7b01[_0x208ddb/_0x5d1d44|0x0]<<0x18),_0x257008[_0x208ddb]=_0x257008[_0x208ddb-_0x5d1d44]^_0xf4ecbe);for(var _0x43fdd7=this[_0x1ecede(0x22e)]=[],_0x5b83ae=0x0;_0x5b83ae<_0x27c86d;_0x5b83ae++){var _0x208ddb=_0x27c86d-_0x5b83ae;if(_0x5b83ae%0x4)var _0xf4ecbe=_0x257008[_0x208ddb];else var _0xf4ecbe=_0x257008[_0x208ddb-0x4];_0x5b83ae<0x4||_0x208ddb<=0x4?_0x43fdd7[_0x5b83ae]=_0xf4ecbe:_0x43fdd7[_0x5b83ae]=_0x4d43f5[_0x4b2276[_0xf4ecbe>>>0x18]]^_0x40c087[_0x4b2276[_0xf4ecbe>>>0x10&0xff]]^_0x18f76b[_0x4b2276[_0xf4ecbe>>>0x8&0xff]]^_0x148ec1[_0x4b2276[_0xf4ecbe&0xff]];}}},'encryptBlock':function(_0x379126,_0x4dad1b){var _0x5e3fb4=_0x59230a;this[_0x5e3fb4(0x285)](_0x379126,_0x4dad1b,this[_0x5e3fb4(0x3ec)],_0x376864,_0x335f83,_0x4ad315,_0x2722a6,_0x4b2276);},'decryptBlock':function(_0x49abe7,_0x5b37c2){var _0xa6f1cf=_0x59230a,_0x45f640=_0x49abe7[_0x5b37c2+0x1];_0x49abe7[_0x5b37c2+0x1]=_0x49abe7[_0x5b37c2+0x3],_0x49abe7[_0x5b37c2+0x3]=_0x45f640,this[_0xa6f1cf(0x285)](_0x49abe7,_0x5b37c2,this[_0xa6f1cf(0x22e)],_0x4d43f5,_0x40c087,_0x18f76b,_0x148ec1,_0x29373f);var _0x45f640=_0x49abe7[_0x5b37c2+0x1];_0x49abe7[_0x5b37c2+0x1]=_0x49abe7[_0x5b37c2+0x3],_0x49abe7[_0x5b37c2+0x3]=_0x45f640;},'_doCryptBlock':function(_0x2d40c9,_0x1fb104,_0x201f2e,_0x21b39d,_0x30c3bf,_0x5bca0b,_0x482cd4,_0x3451ed){var _0x226506=_0x59230a;for(var _0x4f49f2=this[_0x226506(0x2b2)],_0x2c7946=_0x2d40c9[_0x1fb104]^_0x201f2e[0x0],_0x163695=_0x2d40c9[_0x1fb104+0x1]^_0x201f2e[0x1],_0x28d73f=_0x2d40c9[_0x1fb104+0x2]^_0x201f2e[0x2],_0x5e6f14=_0x2d40c9[_0x1fb104+0x3]^_0x201f2e[0x3],_0x3f095f=0x4,_0x2cbcc0=0x1;_0x2cbcc0<_0x4f49f2;_0x2cbcc0++){var _0x450519=_0x21b39d[_0x2c7946>>>0x18]^_0x30c3bf[_0x163695>>>0x10&0xff]^_0x5bca0b[_0x28d73f>>>0x8&0xff]^_0x482cd4[_0x5e6f14&0xff]^_0x201f2e[_0x3f095f++],_0x5a7665=_0x21b39d[_0x163695>>>0x18]^_0x30c3bf[_0x28d73f>>>0x10&0xff]^_0x5bca0b[_0x5e6f14>>>0x8&0xff]^_0x482cd4[_0x2c7946&0xff]^_0x201f2e[_0x3f095f++],_0x30184e=_0x21b39d[_0x28d73f>>>0x18]^_0x30c3bf[_0x5e6f14>>>0x10&0xff]^_0x5bca0b[_0x2c7946>>>0x8&0xff]^_0x482cd4[_0x163695&0xff]^_0x201f2e[_0x3f095f++],_0xd14409=_0x21b39d[_0x5e6f14>>>0x18]^_0x30c3bf[_0x2c7946>>>0x10&0xff]^_0x5bca0b[_0x163695>>>0x8&0xff]^_0x482cd4[_0x28d73f&0xff]^_0x201f2e[_0x3f095f++];_0x2c7946=_0x450519,_0x163695=_0x5a7665,_0x28d73f=_0x30184e,_0x5e6f14=_0xd14409;}var _0x450519=(_0x3451ed[_0x2c7946>>>0x18]<<0x18|_0x3451ed[_0x163695>>>0x10&0xff]<<0x10|_0x3451ed[_0x28d73f>>>0x8&0xff]<<0x8|_0x3451ed[_0x5e6f14&0xff])^_0x201f2e[_0x3f095f++],_0x5a7665=(_0x3451ed[_0x163695>>>0x18]<<0x18|_0x3451ed[_0x28d73f>>>0x10&0xff]<<0x10|_0x3451ed[_0x5e6f14>>>0x8&0xff]<<0x8|_0x3451ed[_0x2c7946&0xff])^_0x201f2e[_0x3f095f++],_0x30184e=(_0x3451ed[_0x28d73f>>>0x18]<<0x18|_0x3451ed[_0x5e6f14>>>0x10&0xff]<<0x10|_0x3451ed[_0x2c7946>>>0x8&0xff]<<0x8|_0x3451ed[_0x163695&0xff])^_0x201f2e[_0x3f095f++],_0xd14409=(_0x3451ed[_0x5e6f14>>>0x18]<<0x18|_0x3451ed[_0x2c7946>>>0x10&0xff]<<0x10|_0x3451ed[_0x163695>>>0x8&0xff]<<0x8|_0x3451ed[_0x28d73f&0xff])^_0x201f2e[_0x3f095f++];_0x2d40c9[_0x1fb104]=_0x450519,_0x2d40c9[_0x1fb104+0x1]=_0x5a7665,_0x2d40c9[_0x1fb104+0x2]=_0x30184e,_0x2d40c9[_0x1fb104+0x3]=_0xd14409;},'keySize':0x100/0x20});_0xbd5f70[_0x59230a(0x43b)]=_0x2319ed[_0x59230a(0x2fb)](_0x7970a7);}()),_0x5ac62d[_0x4149fd(0x43b)];}));}(Ge)),Ge['exports'];}var Un=wn();const An=He(Un);var Pn=Di();function _0x5f23(){var _0x43d962=['_httpService','addHandlerCallback','_injector','onStarting','onSyncEditingCollabCursor','originalMeta','ws://127.0.0.1:8000/universer-api/comb/connect','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','unitId','onload','updateOfflineData','getValue','UNDEFINED','rev','HEARTBEAT','/block/','LIVESHARE_NEW_HOST','repeat','slice','UNIVER_DOC','m2Prime','HttpImport','COLLAB_SUBMIT_CHANGESET_URL','SUBMIT_CHANGESET_TIMEOUT','/universer-api/snapshot/','_remoteChangesetQueue','_createHmacHelper','Univer','memberID','SNAPSHOT_SERVER_URL_KEY','_onUserJoin','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_map','onlyLocal','_onConnectionFailed','removeMember','shouldCloseConn','pending','__esModule','filter','loadSheet','asObservable','_clearLocalCache','objectActions','JOINING','ERROR_EXCEED_SIZE','get','isArray','actions','_commandService','_init','_logService','_unitID','loadUnit','default','FETCH_MISSING','execute','save\x20fail\x20reason\x20is\x20','_shouldReportTelemetry','editing\x20status\x20changed\x20to','onTransformIME','_clearHeartbeatTimer','_reverseMap','_executeRemoteChangeset','fetchMissingChangesets','CHANGESET_REJ','189870NwWNRb','snapshotServerUrl','WordArray','key','debug','_transformService','_revisionService','charAt','_onRemoteRetry','_retryCount','_entities','_initDependencies','_singleActiveUnitService','interceptor','[CollaborationSessionService]','USERS_ENTER','_socket$','_socketReady','FAIL','encode','awaiting','CHANGESET_SHOULD_RETRY','onRemoteAck','[OfflineState]:\x20received\x20changeset.','_awaitingChangeset','onSendChangeset','CLOSE_ROOM','CONNECTOR_DATA_TOO_LARGE','LIVESHARE_OPERATION','mode','isPermissionRej','NoPadding','univer-pro.collaboration-client-socket-service','blockSize','sin','_sheetTransformSelectionsService','APPLY_PERMISSION_DENIED','_onLocalMutation','startsWith','parse','_type','updateCursorEvent','POST','set','format','message$','action','saveSheetBlock','cmd','every','_localCacheService','post','SerializableCipher','addImageSourceCache','[CollaborationUndoRedoService]','_transformIMECache','CHANGESET_ACK','_updateLocalCache','c1Prime','update','GLOBAL_ROOMS_CNT_EXCEEDS','socket$','_stopTelemetryCollaborationNewChangeset','joinEvent','startTime','updatePermissionPoint','/new_changes','PERSON','session.room-cnt-exceeds','_keySchedule','univer-pro.collaboration-client.single-active-unit-service','socket\x20close','_clearRedo','_getUploadFileURL','[PendingState]:\x20unhandled\x20univer\x20type:\x20','onTransformRemoteChangesetByStateCache','open$','iterations','crypto','_rescheduleHeartbeat','_replaceFileID','UNKNOWN_CMD','_clearCollaborationTimeoutTimer','lib','getFocusedUnit','JOIN_ROOM_FULL','auth.needGotoLoginAlert','6TxOhoO','fetchMiss','map','max','pad','_onFetchMissResult','collaboration-client.config','prototype','onRemoteChangeset','selections','deepClone','ALREADY_EXISTS','\x20to\x20','subscribe','changesets','_hasher','ivSize','SHA1','/unit/','rng','_handler','_oKey','getTime','BlockCipher','getCollabEntity$','_transitionLocked','_tryReconnect','fetchThroughInterceptors','disposeWithMe','listCollaborators','loadDoc','[PendingState]:\x20received\x20acknowledgement.','_getCtorByUniverType','_sendHeartbeat','MSG_FOR_ERROR','_collaborationPaused','_entityInit$','dispose$','incrementRevOfUnit','session.join-failed','21SjhuIU','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','roomInfos','toggleOffline','awaiting_with_pending','collaborators','online$','newCsEvent','range','salt','indexOf','LICENSE_EXPORT_SIZE_EXCEEDED','_getAPIPrefix','CHANGESET_REVISION_CONFILICT','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','concat','params','[PendingState]:\x20received\x20rejection.','event$','onRemoteRej','HMAC','AES','?url=','\x0aAfter:\x20','_transformSelections','_substituteRedoStack','onCommentUpdate','_minBufferSize','_collabSessionService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','JOIN_ROOM_PERMISSION_DENIED','_onRemoteChangeset','infoRsp','conflict','_createHandler','_sendHeartbeatTimer','eventID','_disableEditing','requireSession','_updateStatus','SNAPSHOT_INVALID_SNAPSHOT','Base64','IDLE','_status$','_throwTelemetryCollaborationNewChangeset','target','68481XiVlKB','_handlerCallback','HttpExport','ENSURE_SNAPSHOT_EXECUTION','_roomMembers','loadOfflineData','INVALID_ARGUMENT','sheets','hasher','permissionRejEvent','\x20in\x20_schedule.','appendMutation','_clearUndo','getImage','unknown','LIVESHARE_TERMINATE','$super','_state','getWorkbookSelections','liveShareOperation','resend','_prevBlock','_decreaseWaiting','_getSendChangesetTimeout','_doReset','_members','has','bind','_loadDoc','2741072Hzyhke','_redoStacks','_queuedRemoteChangesets','UPDATE_CURSOR','_commentService','getAllMembers','fetching\x20missing\x20changesets\x20from\x20','method','_iv','getInterceptPoints','Base','[OfflineState]:\x20received\x20acknowledgement.','liveShareNewHost','uniscriptRunEvent','_onConflict','floor','APPLY_DUPLICATED','image/bmp','_acknowledgedAwaitingChangeset','transformSelections','getCurrentRevOfUnit','collaboratorID','[CollaborationState]:\x20apply\x20error!','getTypeOfUnitDisposed$','_doProcessBlock','members$','SEND_CHANGESET_TIMEOUT','add','getSheetBlock','generateRandomId','updatePermissionObjEvent','_timeoutTimer','NOT_COLLAB','catch','members','clone','[FetchMissState]','getCollabEntity','stopTime','function','initWorkbookPermissionChange','_sessions','_xformMode','hasOwnProperty','_collaborationSessionService','decrypt','_roomCreated$','updateMember','name','session','fromCollab','/-/object/-/batch_allowed','_scheduleCompleteTimestamp','[OfflineState]:\x20received\x20rejection.','refreshPermission','LIVESHARE_REQUEST_HOST','kdf','_collaborationUIEventService','UNIVER_SHEET','/universer-api/stream/file/upload','getRandomValues','INGEST','type','init','collabSubmitChangesetUrl','UNAUTHENTICATED','_fetchMissChangesets','file','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','TOO_MANY_REQUESTS','_clearScheduledTask','requestParams','BufferedBlockAlgorithm','_waitForHeartbeatResponse','csShouldRetryEvent','buffer','onCommandExecuted','_createInitialStateImpl','_imageSourceCache','51748AHsXfc','complete','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','onMissingChangesets','_replayCachedMutations','_unitInfo$','telemetry\x20info\x20is\x20not\x20initialized','textRanges','_onRemoteACK','__creator','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','enc','/universer-api/authz','HELLO','sessionStatus$','collaMsg','UNISCRIPT_RUN','_isPermissionRej','_changesetReqId','_getLoginPath','forEach','PSEUDO_FETCH_MISSING_RESULT','duration','_userManagerService','ciphertext','_updateState','_transformStateCache','_retryConnectingTimer','/-/object/list','exports','findIndex','csAckEvent','patch','reqId','loginUrlKey','toLowerCase','randomUUID','_substituteUndoStack','objectType','COMPLETION_FINISHED','UNKNOWN_CODE','OFFLINE','UNIVER_COLLABORATION_CLIENT_PLUGIN','avatar','_clearTimeoutTimer','/collaborator','/universer-api/oidc/authpage','DEFAULT_FILE_NAME','registerHTTPInterceptor','SNAPSHOT_URL_KEY','_univerInstanceService','/object','setCurrentUser','[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.','MUTATION','_ENC_XFORM_MODE','routeKey','batchAllowed','sessionStatus','_changesetSessionId','/universer-api/snapshot','Malformed\x20UTF-8\x20data','_initCloseConn','JOIN_ROOM_FAILED','_showConflictNotification','join','Could\x20not\x20dynamically\x20require\x20\x22','setConfig','getSnapshotAPIPath','/universer-api/user/session-ticket','Undefined','13077340DvOcwf','executeCommand','close','_getSignURL','[CollaborationSession]','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_checkMissing','/role','HEARTBEAT_TIMEOUT','pluginName','symbol','onTransformState','_lockTransition','USERS_LEAVE','_onCombEvent','commentUpdate$','c2Prime','getImageSourceCache','[DataLoaderService]','createDecryptor','COLLAB_WEB_SOCKET_URL','Cipher','unit-cache-','getConfig','[SyncedState]:\x20received\x20acknowledgement.','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','YUUMI_SUBSCRIPTION_NOT_FOUND','data','_sender','COMPRESS_MUTATION_SEND','RECV','/universer-api/file/{fileID}/sign-url','_onRemoteRejected','from','push','_invKeySchedule','Utf8','session.room-full','_DEC_XFORM_MODE','put','location','Hasher','_mode','resolve','encrypt','enableSingleActiveInstanceLock','origin','extend','append','create','LICENSE_MAX_UNITS_EXCEEDED','/universer-api/comb','change$','reject','unpad','_socketMessageSubscription','clamp','status','UnitSnapshot','closeSession','_sessionStatus$','YUUMI_URL_COL_OUT_OF_RANGE','keySize','CipherParams','_createInitialState','send','_transformStack','getUnitOnRev','emitEvent','compute','SYNCED','onMissedChangesetFetched','_undoRedoService','transformMutationsWithChangeset','PERMISSION_REJ','_applyRemoteChangeset','headers','_append','_getUndoStack','unitID','focused$','_createSocket','_HTTPService','next','reset','synced','_listenToNetworkCondition','_socketService','signUrlServerUrl','apply','StreamCipher','AWAITING','getCurrentUser','padding','UNIVER_PROJECT','_toggleOnline','_toggleOffline','_permissionService','objectID','socketService','localeService','JOIN','getOwnPropertyDescriptor','onTransformRemoteChangesetByIMECache','toString','toggleOnline','Decryptor','_event$','_removeRoom','NO_OTHER_CLIENTS_EDITING','awaitingChangeset','delete','defineProperty','withCredentials','userID','\x20-\x20','entityInit$','ONLINE','transformStack\x20failed!','submit\x20changeset\x20error!','LOCAL_CACHE_INTERVAL','byteLength','_doCryptBlock','find','__Key__','_undoStacks','copyFileMeta','_getAPIPrefixPath','capture','_doFinalize','image/png','UNRECOGNIZED','setShowComponents','getDeserializedSheetBlock','_cipher','mutations','dispose','_resendWithTimeout','randomBytes','connection\x20error','image/jpg','title','_onConnectionOpen','_memberService','LEAVE','fromCharCode','getTypeOfUnitAdded$','transformUndoRedo','_registerDependencies','getActiveSheet','APPLY_REVISION_CONFILICT','revision','_tryEnsureSocket','JOIN_ROOM_NOT_EXISTS','UnitEmbedded','downloadEndpointUrl','state','_telemetryInfo','_iKey','then','onRemoteRetry','ceil','_compressMutationService','_keyPriorReset','responseType','PERMISSION_DENIED','createEncryptor','_nRounds','_collaborationTimeoutTimer','Latin1','_schedule','session.room-permission-denied','baseRev','_unlockTransition','sigBytes','unsubscribe','?size=','onTransformSelections','enableAuthServer','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','/object/','getResourcesRequest','href','_transformUndoredo','OTHER_CLIENTS_EDITING','_snapshotServerService','_data','json','/fetchmissing?from=','_parse','7471422ABomCU','LIVESHARE_FETCH_OPERATIONS','CONFLICT','NOT_FOUND','\x0aCurrent:\x20','workbook','stringify','_resendTimeout','collabWebSocketUrl','People','localCacheService','encodeURIComponent','_snapshotService','_emitMembers','_exhaustRemoteChangesetQueue','list','COMPRESS_MUTATION_APPLY','APPLY_NON_SEQUENTIAL_REVISION','YUUMI_RATE_OVER_LIMIT','609198WLRqhN','FETCH_MISS','YUUMI_UNABLE_LOAD_URL','msCrypto','createCollaborator','_resendTimer','_initMergeInterceptor','_joinRoom','string','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','enableOfflineEditing','_transformRemoteChangesetByStateCache','waitForRoom$','_initRequestHeader','LICENSE_DISTRO_REJECTED','_socket','not_collab','BASE64','SOCKET_FAILED','_hash','_configService','random','saveChangeset','subUnitId','_process','substr','_incrementRevisionNumber','_telemetryService','now','_eventService','length','_createHelper','_syncEditingCollabCursor','OTHER_CLIENT_EDITING','CBC','_onMessage','splice','UNIVER_SLIDE','clear','_candidateSocket','_nDataBytes','values','UPDATE_PERMISSION_OBJ','createSocket','_state$','SUCCUSS','finalize','pipe','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_key','_commentUpdate$','{fileID}','/allowed','getUnit','_networkConditionService','reduce','_getCurrentRevision','COMMENT_UPDATE','updateCollaborator','OPTIONAL','words','_transformRemoteChangesetByIMECache','src','state$','ERROR_IMAGE','getUnitStatus$','socket\x20open.','error$','formatter','unitId\x20is\x20not\x20found','_initUnitPermissionChange','body','hostname','_sendingTimer','mixIn','SOCKET_FAILED_RETRY','saveImage','charCodeAt','authzUrl','_startCollaboration','cfg','_getDownloadEndpointURL','_submitChangeset','getUnitId','code','getUnitType','_onJoinRoomEvent','FileId','Encryptor','_waitCount','_doCreateSocket','_members$','close$','SUBMIT_CHANGESET','_instanceService','NEW_CHANGESETS','getRoom','_scheduleCollaborationTimeoutTimer','call','UNIVER_UNKNOWN','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','size','/universer-api/uniscript','transformChangesets','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','Pkcs7','fetch_missing','MD5','joinRsp','_onRecvEvent','readAsDataURL','getMember','AWAITING_WITH_PENDING','algo','reconnect','createInstance','HmacSHA1','_getRedoStack','EvpKDF','error','[CollaborationEntity]','_onOffline','INTERNAL_ERROR','_localeService','_change$','disableLocalCache','_pendingMutations','getMemberID','url','_config','20RHdJVL','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','snapshot','result','sendChangesetTimeout','sid','onStateChange'];_0x5f23=function(){return _0x43d962;};return _0x5f23();}const si=He(Pn);var Xe={'exports':{}},xn=Xe[_0x41545e(0x1e1)],oi;function Ln(){var _0x436968=_0x41545e;return oi||(oi=0x1,function(_0x1fd50a,_0x164710){(function(_0x465791,_0xbae3d6){var _0x2acef5=_0x5230;_0x1fd50a[_0x2acef5(0x1e1)]=_0xbae3d6(ie());}(xn,function(_0xed0b17){var _0x1bd8ee=_0x5230;return _0xed0b17[_0x1bd8ee(0x1cf)][_0x1bd8ee(0x22f)];}));}(Xe)),Xe[_0x436968(0x1e1)];}var Mn=Ln();const kn=He(Mn);var Ze={'exports':{}},$n=Ze['exports'],ai;function Hn(){return ai||(ai=0x1,function(_0x5068b7,_0x2077e7){(function(_0x142697,_0x5db9fa){_0x5068b7['exports']=_0x5db9fa(ie());}($n,function(_0x10e506){var _0x29e447=_0x5230;return(function(){var _0x4efab7=_0x5230;if(typeof ArrayBuffer=='function'){var _0x527e98=_0x10e506,_0x4cdb3a=_0x527e98['lib'],_0x4264e1=_0x4cdb3a[_0x4efab7(0x3a9)],_0x361ba9=_0x4264e1['init'],_0x65defe=_0x4264e1[_0x4efab7(0x1b4)]=function(_0x1e1b7a){var _0x3638ba=_0x4efab7;if(_0x1e1b7a instanceof ArrayBuffer&&(_0x1e1b7a=new Uint8Array(_0x1e1b7a)),(_0x1e1b7a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1e1b7a instanceof Uint8ClampedArray||_0x1e1b7a instanceof Int16Array||_0x1e1b7a instanceof Uint16Array||_0x1e1b7a instanceof Int32Array||_0x1e1b7a instanceof Uint32Array||_0x1e1b7a instanceof Float32Array||_0x1e1b7a instanceof Float64Array)&&(_0x1e1b7a=new Uint8Array(_0x1e1b7a[_0x3638ba(0x1c0)],_0x1e1b7a['byteOffset'],_0x1e1b7a[_0x3638ba(0x284)])),_0x1e1b7a instanceof Uint8Array){for(var _0x3707e7=_0x1e1b7a['byteLength'],_0x160d9d=[],_0x912e7e=0x0;_0x912e7e<_0x3707e7;_0x912e7e++)_0x160d9d[_0x912e7e>>>0x2]|=_0x1e1b7a[_0x912e7e]<<0x18-_0x912e7e%0x4*0x8;_0x361ba9[_0x3638ba(0x33e)](this,_0x160d9d,_0x3707e7);}else _0x361ba9[_0x3638ba(0x264)](this,arguments);};_0x65defe['prototype']=_0x4264e1;}}()),_0x10e506['lib'][_0x29e447(0x3a9)];}));}(Ze)),Ze['exports'];}var Bn=Hn();const jn=He(Bn);var Qe={'exports':{}},Fn=Qe[_0x41545e(0x1e1)],ci;function Gn(){var _0x5b4a53=_0x41545e;return ci||(ci=0x1,function(_0x12fda3,_0x565bdf){(function(_0x5c91f6,_0x465490,_0x3f2891){_0x12fda3['exports']=_0x465490(ie(),Ui());}(Fn,function(_0x4bd803){var _0x45c6cb=_0x5230;return _0x4bd803[_0x45c6cb(0x402)][_0x45c6cb(0x3c6)]={'pad':function(){},'unpad':function(){}},_0x4bd803[_0x45c6cb(0x402)][_0x45c6cb(0x3c6)];}));}(Qe)),Qe[_0x5b4a53(0x1e1)];}var Vn=Gn();function _0x5230(_0x418b52,_0x5b5cbf){var _0x5f2325=_0x5f23();return _0x5230=function(_0x5230cb,_0x316be2){_0x5230cb=_0x5230cb-0x186;var _0x411e59=_0x5f2325[_0x5230cb];return _0x411e59;},_0x5230(_0x418b52,_0x5b5cbf);}const Wn=He(Vn);function Kn(_0x57fd07,_0x24eb43){var _0x2ea66a=_0x41545e;const _0x1ec29b=_0x24eb43-_0x57fd07[_0x2ea66a(0x2fa)]%_0x24eb43,_0x2feb60=String[_0x2ea66a(0x29c)](_0x1ec29b)[_0x2ea66a(0x376)](_0x1ec29b);return _0x57fd07+_0x2feb60;}function Yn(_0x6619d2,_0x173955){var _0x51228f=_0x41545e;const _0xa58ffe=jn['random'](0x10),_0x519e48=Kn(_0x6619d2,0x10),_0x5aa0a2=An[_0x51228f(0x237)](kn['parse'](_0x519e48),si[_0x51228f(0x3ce)](_0x173955),{'iv':_0xa58ffe,'padding':Wn});return _0xa58ffe[_0x51228f(0x435)](_0x5aa0a2[_0x51228f(0x1dc)])[_0x51228f(0x273)](si);}function qn(){var _0x5c40ca=_0x41545e;const _0x1f4426=_0x759dcf()[_0x5c40ca(0x287)];if(_0x1f4426){const _0x4bca3c={'time':Math[_0x5c40ca(0x480)](Date[_0x5c40ca(0x2f8)]()/0x3e8),'domain':location[_0x5c40ca(0x324)]};return Yn(JSON['stringify'](_0x4bca3c),_0x1f4426);}}var zn=Object[_0x41545e(0x271)],Jn=(_0x22e622,_0xacae23,_0x364a1e,_0x525980)=>{var _0x8a07be=_0x41545e;for(var _0x31966a=_0x525980>0x1?void 0x0:_0x525980?zn(_0xacae23,_0x364a1e):_0xacae23,_0x1a6707=_0x22e622[_0x8a07be(0x2fa)]-0x1,_0x4e89c5;_0x1a6707>=0x0;_0x1a6707--)(_0x4e89c5=_0x22e622[_0x1a6707])&&(_0x31966a=_0x4e89c5(_0x31966a)||_0x31966a);return _0x31966a;},Xn=(_0x1e2e1f,_0x41e981)=>(_0x3082d4,_0x284e59)=>_0x41e981(_0x3082d4,_0x284e59,_0x1e2e1f);let ot=class{constructor(_0x2b03f0){var _0x4b4cfb=_0x41545e;this[_0x4b4cfb(0x365)]=_0x2b03f0,this['_initRequestHeader']();}[_0x41545e(0x2e9)](){var _0x59c4ad=_0x41545e;this['_httpService'][_0x59c4ad(0x1f4)]({'interceptor':(_0x5594e3,_0x44c9d2)=>{var _0xfdc36c=_0x59c4ad;const _0x331161=_0x5594e3['headers'],_0x713896=qn();return _0x713896&&_0x331161[_0xfdc36c(0x3d2)]('x-univer-host',_0x713896),_0x44c9d2(_0x5594e3);}});}};ot=Jn([Xn(0x0,_0x236453(_0x15df20))],ot);var Zn=Object[_0x41545e(0x271)],Qn=(_0x4433a2,_0x39a7cf,_0x141ad0,_0x14cfd1)=>{var _0x2f265d=_0x41545e;for(var _0x26e3c9=_0x14cfd1>0x1?void 0x0:_0x14cfd1?Zn(_0x39a7cf,_0x141ad0):_0x39a7cf,_0x3ae8e6=_0x4433a2[_0x2f265d(0x2fa)]-0x1,_0xbcefb;_0x3ae8e6>=0x0;_0x3ae8e6--)(_0xbcefb=_0x4433a2[_0x3ae8e6])&&(_0x26e3c9=_0xbcefb(_0x26e3c9)||_0x26e3c9);return _0x26e3c9;},mt=(_0x4c2e0f,_0x456496)=>(_0x9e48c8,_0x4d8685)=>_0x456496(_0x9e48c8,_0x4d8685,_0x4c2e0f);let bt=class extends _0x433c2f{constructor(_0x4f6de8,_0x5c043c,_0x53acde){var _0x45a8d3=_0x41545e;super(),N(this,'_unitInfo$',new _0x48d6f2(null)),N(this,'unitInfo$',this['_unitInfo$'][_0x45a8d3(0x38e)]()),(this[_0x45a8d3(0x398)]=_0x4f6de8,this[_0x45a8d3(0x2d5)]=_0x5c043c,this[_0x45a8d3(0x3d9)]=_0x53acde);}async[_0x41545e(0x39a)](_0x30fc20,_0x3323fe,_0x2265db){var _0x591e0d=_0x41545e;this[_0x591e0d(0x1c9)][_0x591e0d(0x25e)]({'unitId':_0x30fc20,'type':_0x3323fe,'subUnitId':_0x2265db});let _0xcb438=null;switch(_0x3323fe){case Q[_0x591e0d(0x1af)]:{_0xcb438=await this['_loadSheet'](_0x30fc20);break;}case Q['UNIVER_DOC']:{_0xcb438=await this[_0x591e0d(0x470)](_0x30fc20);break;}default:{this[_0x591e0d(0x398)]['error'](_0x591e0d(0x21d),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0xcb438;}async['_loadSheet'](_0x2677ea){var _0x382cea=_0x41545e,_0x59bb4b;let _0x50aa8b=0x0;const _0xc1c4=await((_0x59bb4b=this[_0x382cea(0x3d9)])==null?void 0x0:_0x59bb4b[_0x382cea(0x459)](_0x2677ea));return _0xc1c4&&(_0xc1c4[_0x382cea(0x279)]||_0xc1c4['mutations'][_0x382cea(0x2fa)]!==0x0)&&(_0x50aa8b=_0xc1c4[_0x382cea(0x372)]),_0x50aa8b===0x0&&this[_0x382cea(0x398)][_0x382cea(0x3ab)](_0x382cea(0x21d),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x382cea(0x38d)](_0x2677ea,_0x50aa8b);}async[_0x41545e(0x470)](_0x575b74){var _0xc90565=_0x41545e,_0x2270a6;let _0x20d82e=0x0;const _0x25a739=await((_0x2270a6=this['_localCacheService'])==null?void 0x0:_0x2270a6[_0xc90565(0x459)](_0x575b74));return _0x25a739&&(_0x25a739[_0xc90565(0x279)]||_0x25a739[_0xc90565(0x292)]['length']!==0x0)&&(_0x20d82e=_0x25a739[_0xc90565(0x372)]),_0x20d82e===0x0&&this[_0xc90565(0x398)][_0xc90565(0x3ab)](_0xc90565(0x21d),_0xc90565(0x36c)),this['_snapshotService'][_0xc90565(0x41c)](_0x575b74,_0x20d82e);}};bt=Qn([mt(0x0,_0x5b92b1),mt(0x1,_0x236453(_0x460d13)),mt(0x2,_0x1d0f46(J))],bt);var es=Object[_0x41545e(0x271)],ts=(_0x45d38d,_0x442e42,_0xf5bb6a,_0x337b61)=>{var _0x1919c7=_0x41545e;for(var _0x3cc363=_0x337b61>0x1?void 0x0:_0x337b61?es(_0x442e42,_0xf5bb6a):_0x442e42,_0x5f56c7=_0x45d38d[_0x1919c7(0x2fa)]-0x1,_0x2f113c;_0x5f56c7>=0x0;_0x5f56c7--)(_0x2f113c=_0x45d38d[_0x5f56c7])&&(_0x3cc363=_0x2f113c(_0x3cc363)||_0x3cc363);return _0x3cc363;},gt=(_0x38154b,_0x51d9d8)=>(_0x566495,_0x310321)=>_0x51d9d8(_0x566495,_0x310321,_0x38154b);const is=[_0x41545e(0x28d),'image/jpeg',_0x41545e(0x297),'image/gif',_0x41545e(0x186)],rs=0x5*0x400*0x400,ns='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',ss=_0x41545e(0x1b0),os='EXCHANGE_SIGN_URL_SERVER_URL_KEY',as=_0x41545e(0x22a);let yt=class{constructor(_0x31edee,_0x4ac557,_0x5ac6cf){var _0x4481e1=_0x41545e;N(this,_0x4481e1(0x335),0x0),N(this,_0x4481e1(0x358),new _0x5daeac()),N(this,_0x4481e1(0x23f),this[_0x4481e1(0x358)]),N(this,_0x4481e1(0x1c3),new Map()),(this['_httpService']=_0x31edee,this[_0x4481e1(0x2f0)]=_0x4ac557,this[_0x4481e1(0x1f6)]=_0x5ac6cf);}['setWaitCount'](_0x52a873){this['_waitCount']=_0x52a873,this['_change$']['next'](_0x52a873);}[_0x41545e(0x21c)](_0x45a86d,_0x538be1){var _0x3772a2=_0x41545e;if(_0x538be1===_0x27b5d1[_0x3772a2(0x2ed)]){const _0x2d2a60=new Image();return _0x2d2a60[_0x3772a2(0x31a)]=_0x45a86d,_0x2d2a60;}return this['_imageSourceCache'][_0x3772a2(0x393)](_0x45a86d);}[_0x41545e(0x3dc)](_0x3edc57,_0x5371a8,_0x440d6e){var _0x35dac2=_0x41545e;_0x5371a8===_0x27b5d1[_0x35dac2(0x2ed)]||_0x440d6e==null||this['_imageSourceCache']['set'](_0x3edc57,_0x440d6e);}async[_0x41545e(0x461)](_0x58a985){var _0x5671c5=_0x41545e;try{const _0x451ff3=this[_0x5671c5(0x3f7)](this[_0x5671c5(0x20e)](),''+_0x58a985),_0x597f40=(await this['_httpService']['get'](_0x451ff3))[_0x5671c5(0x323)];if(_0x597f40[_0x5671c5(0x353)]&&_0x597f40['error'][_0x5671c5(0x330)]===Si['OK']){const _0x132007=new URL(_0x597f40[_0x5671c5(0x35c)],this[_0x5671c5(0x32d)]())[_0x5671c5(0x273)]();return Promise[_0x5671c5(0x236)](_0x132007);}return Promise[_0x5671c5(0x240)](_0x597f40['error']);}catch(_0x54c826){return Promise[_0x5671c5(0x240)](_0x54c826);}}async[_0x41545e(0x328)](_0x198ca1){var _0x2875e7=_0x41545e;let _0x1ca9f3='';if(!is['includes'](_0x198ca1[_0x2875e7(0x1b3)]))return this[_0x2875e7(0x46a)](),Promise[_0x2875e7(0x240)](new Error(_0x3183f8['ERROR_IMAGE_TYPE']));if(_0x198ca1['size']>rs)return this[_0x2875e7(0x46a)](),Promise['reject'](new Error(_0x3183f8[_0x2875e7(0x392)]));try{const _0x3aa317=new FormData();_0x3aa317[_0x2875e7(0x23b)](_0x2875e7(0x1b8),_0x198ca1);const _0x4c14e2=this[_0x2875e7(0x1f6)][_0x2875e7(0x3fb)](),_0x4ab372=_0x4c14e2==null?void 0x0:_0x4c14e2[_0x2875e7(0x32f)]();if(!_0x4ab372)throw new Error(_0x2875e7(0x321));const _0x293012=this['_getUploadFileURL']()+_0x2875e7(0x2bb)+_0x198ca1['size']['toString']()+'&source='+Ei[_0x2875e7(0x2a5)]+'&assign='+encodeURIComponent(_0x4ab372),_0x59c150=await(await fetch(_0x293012,{'method':_0x2875e7(0x3d1),'body':_0x3aa317}))[_0x2875e7(0x2c6)]();if(typeof _0x59c150[_0x2875e7(0x333)]!=_0x2875e7(0x2e4))return this[_0x2875e7(0x46a)](),Promise[_0x2875e7(0x240)](new Error(_0x3183f8[_0x2875e7(0x31c)]));_0x1ca9f3=_0x59c150[_0x2875e7(0x333)];}catch{return this[_0x2875e7(0x46a)](),Promise[_0x2875e7(0x240)](new Error(_0x3183f8[_0x2875e7(0x31c)]));}return new Promise((_0x4f1c77,_0x255f73)=>{var _0x39f3ad=_0x2875e7;const _0x530784=new FileReader();_0x530784[_0x39f3ad(0x34a)](_0x198ca1),_0x530784[_0x39f3ad(0x36e)]=_0x4ef886=>{var _0x1d895b=_0x39f3ad,_0x5381bc;const _0x53f250=(_0x5381bc=_0x4ef886[_0x1d895b(0x453)])==null?void 0x0:_0x5381bc[_0x1d895b(0x361)];if(_0x53f250==null){this[_0x1d895b(0x46a)](),_0x255f73(new Error(_0x3183f8[_0x1d895b(0x31c)]));return;}const _0x37be63=_0x4c19fa[_0x1d895b(0x192)](0x6);_0x4f1c77({'imageId':_0x37be63,'imageSourceType':_0x27b5d1['UUID'],'source':_0x1ca9f3,'base64Cache':_0x53f250,'status':_0x3183f8[_0x1d895b(0x309)]}),this['_decreaseWaiting']();};});}[_0x41545e(0x3f0)](){var _0x43caa8=_0x41545e,_0x4e9661,_0x302327;const _0x1ea01b=this[_0x43caa8(0x2f0)][_0x43caa8(0x222)](ns),_0x528b22=this[_0x43caa8(0x2f0)][_0x43caa8(0x222)](q);return(_0x302327=(_0x4e9661=_0x528b22==null?void 0x0:_0x528b22['uploadFileServerUrl'])!=null?_0x4e9661:_0x1ea01b)!=null?_0x302327:ss;}[_0x41545e(0x20e)](){var _0x467356=_0x41545e,_0x544cb6,_0x5d682a;const _0x4c2123=this[_0x467356(0x2f0)][_0x467356(0x222)](os),_0x3a037b=this[_0x467356(0x2f0)][_0x467356(0x222)](q);return(_0x5d682a=(_0x544cb6=_0x3a037b==null?void 0x0:_0x3a037b[_0x467356(0x263)])!=null?_0x544cb6:_0x4c2123)!=null?_0x5d682a:as;}[_0x41545e(0x32d)](){var _0x41a087=_0x41545e,_0x100555;const _0x547bc3=this[_0x41a087(0x2f0)]['getConfig'](q);return(_0x100555=_0x547bc3==null?void 0x0:_0x547bc3[_0x41a087(0x2a6)])!=null?_0x100555:location[_0x41a087(0x239)];}[_0x41545e(0x3f7)](_0x3442df,_0x5043d8){var _0x197ab8=_0x41545e;return _0x3442df['replace'](_0x197ab8(0x30f),_0x5043d8);}[_0x41545e(0x46a)](){var _0x1a2acf=_0x41545e;this[_0x1a2acf(0x335)]-=0x1,this['_change$'][_0x1a2acf(0x25e)](this[_0x1a2acf(0x335)]);}};yt=ts([gt(0x0,_0x236453(_0x15df20)),gt(0x1,_0x34fb67),gt(0x2,_0x236453(_0x214b6f))],yt);var cs=Object[_0x41545e(0x271)],hs=(_0x3ee556,_0x5439e4,_0x3dc281,_0x10ffe2)=>{for(var _0x42a80c=_0x10ffe2>0x1?void 0x0:_0x10ffe2?cs(_0x5439e4,_0x3dc281):_0x5439e4,_0x1c2321=_0x3ee556['length']-0x1,_0x13b675;_0x1c2321>=0x0;_0x1c2321--)(_0x13b675=_0x3ee556[_0x1c2321])&&(_0x42a80c=_0x13b675(_0x42a80c)||_0x42a80c);return _0x42a80c;},hi=(_0x277747,_0x5525bb)=>(_0x2ae171,_0x21f885)=>_0x5525bb(_0x2ae171,_0x21f885,_0x277747);const _s='/universer-api/authz';let Ot=class{constructor(_0x26d245,_0x35e328){var _0x5b2aac=_0x41545e;this['_configService']=_0x26d245,this[_0x5b2aac(0x25d)]=_0x35e328;}[_0x41545e(0x28a)](){var _0x256c16=_0x41545e,_0x514e05,_0x978865;const _0x55d5e2=this[_0x256c16(0x2f0)][_0x256c16(0x222)](Ni),_0x1c4eb7=this[_0x256c16(0x2f0)][_0x256c16(0x222)](q);return(_0x978865=(_0x514e05=_0x1c4eb7==null?void 0x0:_0x1c4eb7[_0x256c16(0x32a)])!=null?_0x514e05:_0x55d5e2)!=null?_0x978865:_s;}async[_0x41545e(0x2d8)](_0x13c84f){var _0x42fcb0=_0x41545e;const _0x1e1ab7=this[_0x42fcb0(0x28a)]()+'/collaborator';return{'list':[{'title':_0x42fcb0(0x2d2),'mentions':(await this[_0x42fcb0(0x25d)][_0x42fcb0(0x393)](_0x1e1ab7,{'params':{'objectID':_0x13c84f[_0x42fcb0(0x36d)],'unitID':_0x13c84f['unitId']}}))[_0x42fcb0(0x323)][_0x42fcb0(0x42b)][_0x42fcb0(0x400)](_0x33956a=>({'objectId':_0x33956a['id'],'name':_0x33956a['subject'][_0x42fcb0(0x1a5)],'metadata':{'icon':_0x33956a['subject'][_0x42fcb0(0x1ef)]},'label':_0x33956a['subject']['name'],'objectType':_0x426e6f[_0x42fcb0(0x3ea)]})),'metadata':{},'type':_0x426e6f[_0x42fcb0(0x3ea)]}]};}};Ot=hs([hi(0x0,_0x236453(_0x34fb67)),hi(0x1,_0x236453(_0x15df20))],Ot);var ls=Object[_0x41545e(0x271)],us=(_0x6c106d,_0x4fb73b,_0x29f605,_0x1b6a55)=>{var _0x48ca45=_0x41545e;for(var _0x408a50=_0x1b6a55>0x1?void 0x0:_0x1b6a55?ls(_0x4fb73b,_0x29f605):_0x4fb73b,_0x4a3770=_0x6c106d[_0x48ca45(0x2fa)]-0x1,_0x3b3abc;_0x4a3770>=0x0;_0x4a3770--)(_0x3b3abc=_0x6c106d[_0x4a3770])&&(_0x408a50=_0x3b3abc(_0x408a50)||_0x408a50);return _0x408a50;},Ae=(_0x58f731,_0x83d87f)=>(_0x4ab47a,_0x14ad40)=>_0x83d87f(_0x4ab47a,_0x14ad40,_0x58f731);let at=class extends _0x433c2f{constructor(_0x528e37,_0x1fd749,_0x474082,_0x329997,_0x1640f3){var _0x137125=_0x41545e;super(),this[_0x137125(0x367)]=_0x528e37,this['_univerInstanceService']=_0x1fd749,this['_permissionService']=_0x474082,this[_0x137125(0x1a1)]=_0x329997,this[_0x137125(0x1ae)]=_0x1640f3,this[_0x137125(0x322)](),this[_0x137125(0x202)]();}['_initCloseConn'](){var _0x3e7f93=_0x41545e;const _0x1de592=async _0x16f969=>{var _0x3c2da9=_0x5230;(await this[_0x3c2da9(0x1a1)][_0x3c2da9(0x44c)](_0x16f969))[_0x3c2da9(0x438)][_0x3c2da9(0x30b)](_0x1a0aae(_0x1824c9=>_0x1824c9['eventID']===_0x5cfd61['SHOULD_CLOSE_CONN']),_0x48cb79(this[_0x3c2da9(0x423)]))['subscribe'](_0x2c1a67=>{var _0x141dc6=_0x3c2da9;const _0x4972ba=_0x2c1a67,{reason:_0x5bcb9b}=_0x4972ba['data'];this['_collaborationUIEventService'][_0x141dc6(0x24f)]({'id':se[_0x141dc6(0x3c1)],'data':_0x5bcb9b}),this[_0x141dc6(0x26c)][_0x141dc6(0x3e8)](new _0xeafda4(_0x16f969)['id'],!0x1),this[_0x141dc6(0x1a1)]['closeSession'](_0x16f969);});};_0x14bf95(this['_univerInstanceService'][_0x3e7f93(0x29d)](_0x16fa42[_0x3e7f93(0x1af)]),this['_univerInstanceService'][_0x3e7f93(0x29d)](_0x16fa42[_0x3e7f93(0x378)]))[_0x3e7f93(0x30b)](_0x5a18b9(_0x57c2db=>_0x57c2db['getUnitId']()),_0x1a0aae(_0x553795=>!_0x3359f1(_0x553795)),_0x48cb79(this[_0x3e7f93(0x423)]))[_0x3e7f93(0x40b)](_0x335c51=>{_0x1de592(_0x335c51);});}[_0x41545e(0x322)](){var _0x110b47=_0x41545e;const _0x42dd81=async _0x1d2a63=>{var _0x5b7bfc=_0x5230;const _0x56e72c=await this['_collaborationSessionService'][_0x5b7bfc(0x44c)](_0x1d2a63),_0x4a672c=this[_0x5b7bfc(0x367)][_0x5b7bfc(0x393)](_0x40e8ac);_0x56e72c[_0x5b7bfc(0x438)][_0x5b7bfc(0x30b)](_0x1a0aae(_0x4801d6=>_0x4801d6[_0x5b7bfc(0x44a)]===_0x5cfd61[_0x5b7bfc(0x306)]),_0x48cb79(this[_0x5b7bfc(0x423)]))[_0x5b7bfc(0x40b)](_0x586e9c=>{var _0x15ecef=_0x5b7bfc;const _0x3003db=_0x586e9c,{objectId:_0x12f78d}=_0x3003db[_0x15ecef(0x226)];_0x12f78d===_0x1d2a63?_0x4a672c[_0x15ecef(0x19d)](_0x1d2a63):_0x4a672c[_0x15ecef(0x1ab)](_0x1d2a63,_0x12f78d);});};_0x14bf95(this[_0x110b47(0x1f6)][_0x110b47(0x29d)](_0x16fa42[_0x110b47(0x1af)]))[_0x110b47(0x30b)](_0x5a18b9(_0x4a9d72=>_0x4a9d72[_0x110b47(0x32f)]()),_0x1a0aae(_0x3fe46e=>!_0x3359f1(_0x3fe46e)),_0x48cb79(this[_0x110b47(0x423)]))[_0x110b47(0x40b)](_0x4b46e8=>{_0x42dd81(_0x4b46e8);});}};at=us([Ae(0x0,_0x236453(_0x35ce09)),Ae(0x1,_0x214b6f),Ae(0x2,_0x4da13f),Ae(0x3,_0x236453(Le)),Ae(0x4,_0x236453(pe))],at);var ds=Object[_0x41545e(0x271)],fs=(_0x218d18,_0x142779,_0x3d6652,_0x233cb0)=>{var _0xa8bdd7=_0x41545e;for(var _0x56fd16=_0x233cb0>0x1?void 0x0:_0x233cb0?ds(_0x142779,_0x3d6652):_0x142779,_0x47b397=_0x218d18[_0xa8bdd7(0x2fa)]-0x1,_0x49d7d5;_0x47b397>=0x0;_0x47b397--)(_0x49d7d5=_0x218d18[_0x47b397])&&(_0x56fd16=_0x49d7d5(_0x56fd16)||_0x56fd16);return _0x56fd16;},_i=(_0x28cd46,_0x5994e5)=>(_0xdbe801,_0x47f787)=>_0x5994e5(_0xdbe801,_0x47f787,_0x28cd46);let Nt=class{constructor(_0x384701,_0x5b48ef){var _0x32408c=_0x41545e;this[_0x32408c(0x2f0)]=_0x384701,this['_httpService']=_0x5b48ef;}async[_0x41545e(0x24e)](_0x1f9c15,_0x4415f5){var _0xed8dd9=_0x41545e,_0x163c2c;const {unitID:_0x42ffee,type:_0x9610b2,revision:_0x20235c=0x0}=_0x4415f5,_0x1900ee=this[_0xed8dd9(0x208)]()+'/'+_0x9610b2+_0xed8dd9(0x410)+_0x42ffee+'/rev/'+_0x20235c,_0xa5fece=(await this[_0xed8dd9(0x365)][_0xed8dd9(0x393)](_0x1900ee))[_0xed8dd9(0x323)],_0x12730a=(_0x163c2c=_0xa5fece[_0xed8dd9(0x360)])==null?void 0x0:_0x163c2c[_0xed8dd9(0x2ce)];if(_0x12730a){const _0x1e7d21=_0x12730a==null?void 0x0:_0x12730a['originalMeta'],_0x2e6641=_0x4206cc[_0xed8dd9(0x3ba)](_0x22f055(_0x1e7d21));_0x12730a[_0xed8dd9(0x36a)]=_0x2e6641,Object['entries'](_0x12730a[_0xed8dd9(0x45b)])['forEach'](([,_0x953221])=>{var _0x1bcc83=_0xed8dd9;const _0x345a0c=_0x953221['originalMeta'],_0xb27dee=_0x4206cc[_0x1bcc83(0x3ba)](_0x22f055(_0x345a0c));_0x953221[_0x1bcc83(0x36a)]=_0xb27dee;});}return _0xa5fece;}async[_0x41545e(0x191)](_0x19feff,_0x3c00a6){var _0x485883=_0x41545e;const {unitID:_0x313c9d,type:_0x586517,blockID:_0x453882}=_0x3c00a6,_0x267e60=this['_getAPIPrefix']()+'/'+_0x586517+_0x485883(0x410)+_0x313c9d+_0x485883(0x374)+_0x453882;return(await this[_0x485883(0x365)][_0x485883(0x393)](_0x267e60))['body'];}async[_0x41545e(0x290)](_0x1fb8f1,_0x58f76f){var _0x830e8f=_0x41545e;const {unitID:_0x490ad5,type:_0x2db9b3,blockID:_0x295af3}=_0x58f76f,_0xc75750=this[_0x830e8f(0x432)]()+_0x830e8f(0x374)+_0x2db9b3+_0x830e8f(0x410)+_0x490ad5+_0x830e8f(0x374)+_0x295af3;return(await this[_0x830e8f(0x365)]['get'](_0xc75750))[_0x830e8f(0x323)];}async[_0x41545e(0x3a5)](_0x34046b,_0x11105b){var _0x501b5b=_0x41545e;const {unitID:_0x24c028,type:_0x5bbb7c,from:_0x35d277,to:_0x4a6cbc}=_0x11105b,_0x1360b1=this[_0x501b5b(0x432)]()+'/'+_0x5bbb7c+'/unit/'+_0x24c028+_0x501b5b(0x2c7)+_0x35d277+'&to='+_0x4a6cbc;return(await this[_0x501b5b(0x365)][_0x501b5b(0x393)](_0x1360b1))['body'];}[_0x41545e(0x208)](){var _0x143233=_0x41545e,_0x152d95;return(_0x152d95=this[_0x143233(0x2f0)]['getConfig'](gr))!=null?_0x152d95:this[_0x143233(0x432)]();}['_getAPIPrefix'](){var _0x18f5de=_0x41545e,_0x5054fc,_0x5b3793;const _0x29e6de=this['_configService'][_0x18f5de(0x222)](pr),_0x558448=this['_configService'][_0x18f5de(0x222)](q);return(_0x5b3793=(_0x5054fc=_0x558448==null?void 0x0:_0x558448[_0x18f5de(0x3a8)])!=null?_0x5054fc:_0x29e6de)!=null?_0x5b3793:mr;}async[_0x41545e(0x2c0)](_0x546064,_0x2fb5a4){var _0x1ace7b=_0x41545e;const _0x50a9d7=_0x1ace7b(0x37d)+_0x2fb5a4[_0x1ace7b(0x1b3)]+_0x1ace7b(0x410)+_0x2fb5a4[_0x1ace7b(0x25a)]+'/resources';return(await this[_0x1ace7b(0x365)][_0x1ace7b(0x393)](_0x50a9d7,{'params':{'resourceId':JSON[_0x1ace7b(0x2cf)](_0x2fb5a4['resourceIDs'])}}))[_0x1ace7b(0x323)];}['saveSnapshot'](){var _0x2e1cb1=_0x41545e;throw new Error(_0x2e1cb1(0x2e5));}[_0x41545e(0x3d6)](){var _0x332e57=_0x41545e;throw new Error(_0x332e57(0x2e5));}[_0x41545e(0x2f2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x41545e(0x289)](){var _0x4bd225=_0x41545e;throw new Error(_0x4bd225(0x2e5));}['getLatestCsReqIdBySid'](){var _0x386343=_0x41545e;throw new Error(_0x386343(0x2e5));}};Nt=fs([_i(0x0,_0x34fb67),_i(0x1,_0x236453(_0x15df20))],Nt);var vs=Object[_0x41545e(0x271)],ps=(_0x2c8c25,_0x20c6d2,_0x40c9e8,_0x423993)=>{var _0x3bff30=_0x41545e;for(var _0x2834b6=_0x423993>0x1?void 0x0:_0x423993?vs(_0x20c6d2,_0x40c9e8):_0x20c6d2,_0x4bb3b6=_0x2c8c25[_0x3bff30(0x2fa)]-0x1,_0x3141db;_0x4bb3b6>=0x0;_0x4bb3b6--)(_0x3141db=_0x2c8c25[_0x4bb3b6])&&(_0x2834b6=_0x3141db(_0x2834b6)||_0x2834b6);return _0x2834b6;},Pe=(_0x341e2f,_0x34b7eb)=>(_0x1bf9b8,_0x416f41)=>_0x34b7eb(_0x1bf9b8,_0x416f41,_0x341e2f);let Dt=class extends _0x2e41ca{constructor(_0x3967bc,_0x4bce30,_0x135c5b,_0x2c6ffe,_0x2e161a){var _0x27e665=_0x41545e;super(_0x3967bc,_0x4bce30,_0x135c5b),this[_0x27e665(0x3ac)]=_0x2c6ffe,this[_0x27e665(0x398)]=_0x2e161a;}[_0x41545e(0x29e)](_0x88e054,_0x3dc7e2){var _0x2a4f18=_0x41545e;const _0x2ef399=this[_0x2a4f18(0x259)](_0x88e054);if(_0x2ef399)try{const _0x56f8ac=this[_0x2a4f18(0x24d)](_0x2ef399,_0x3dc7e2);this[_0x2a4f18(0x1e9)](_0x88e054,_0x56f8ac);}catch(_0x29dd3f){this[_0x2a4f18(0x398)][_0x2a4f18(0x353)](_0x2a4f18(0x3dd),_0x29dd3f),this[_0x2a4f18(0x460)](_0x88e054);}const _0x17a06a=this[_0x2a4f18(0x351)](_0x88e054);if(_0x17a06a)try{const _0x85bb37=this[_0x2a4f18(0x24d)](_0x17a06a,_0x3dc7e2);this[_0x2a4f18(0x43f)](_0x88e054,_0x85bb37);}catch(_0x29a373){this[_0x2a4f18(0x398)][_0x2a4f18(0x353)](_0x29a373),this[_0x2a4f18(0x3ef)](_0x88e054);}}[_0x41545e(0x460)](_0x4d8be1){var _0x1f4f00=_0x41545e;const _0x2549e3=this[_0x1f4f00(0x259)](_0x4d8be1);_0x2549e3&&(_0x2549e3[_0x1f4f00(0x2fa)]=0x0,this[_0x1f4f00(0x44d)]());}[_0x41545e(0x3ef)](_0x48a8a5){var _0x3b058b=_0x41545e;const _0x415f64=this[_0x3b058b(0x351)](_0x48a8a5);_0x415f64&&(_0x415f64['length']=0x0,this[_0x3b058b(0x44d)]());}[_0x41545e(0x1e9)](_0x4743dd,_0xe94f8){var _0xa7fb26=_0x41545e;this[_0xa7fb26(0x288)][_0xa7fb26(0x3d2)](_0x4743dd,_0xe94f8),this[_0xa7fb26(0x44d)]();}[_0x41545e(0x43f)](_0x5da9d9,_0x4d6ce0){var _0x2cefe8=_0x41545e;this[_0x2cefe8(0x472)][_0x2cefe8(0x3d2)](_0x5da9d9,_0x4d6ce0),this[_0x2cefe8(0x44d)]();}['_transformStack'](_0x4a81e6,_0x123b1d){var _0x2daa88=_0x41545e;const _0x3bd0af=[];let _0x2c61d5=_0x123b1d,_0x446117=_0x123b1d;for(let _0x810f09=_0x4a81e6[_0x2daa88(0x2fa)]-0x1;_0x810f09>=0x0;_0x810f09--){const {unitID:_0x5201f9,undoMutations:_0x5d4727,redoMutations:_0x322cf1}=_0x4a81e6[_0x810f09],_0x3386b6=this[_0x2daa88(0x3ac)][_0x2daa88(0x254)](_0x2c61d5,_0x5d4727),_0x17e895=this[_0x2daa88(0x3ac)][_0x2daa88(0x254)](_0x446117,_0x322cf1);if(_0x5901b0(_0x3386b6)||_0x5901b0(_0x17e895)){this[_0x2daa88(0x398)][_0x2daa88(0x353)](_0x2daa88(0x3dd),_0x2daa88(0x281),_0x3386b6,_0x17e895);break;}_0x2c61d5=_0x3386b6['c1Prime'],_0x446117=_0x17e895[_0x2daa88(0x3e1)],_0x3bd0af[_0x2daa88(0x22d)]({'unitID':_0x5201f9,'undoMutations':_0x3386b6[_0x2daa88(0x379)],'redoMutations':_0x17e895[_0x2daa88(0x379)]});}return _0x3bd0af['reverse']();}};Dt=ps([Pe(0x0,_0x214b6f),Pe(0x1,_0x2c92b5),Pe(0x2,_0x5afa9c),Pe(0x3,_0x1335c8),Pe(0x4,_0x5b92b1)],Dt);var ms=Object['defineProperty'],gs=Object[_0x41545e(0x271)],Ss=(_0x73e59f,_0x21c6e0,_0x5bbd2b)=>_0x21c6e0 in _0x73e59f?ms(_0x73e59f,_0x21c6e0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5bbd2b}):_0x73e59f[_0x21c6e0]=_0x5bbd2b,Es=(_0x5a3af4,_0x1e1ddd,_0x3fd386,_0x50de17)=>{var _0x448b75=_0x41545e;for(var _0x5a4993=_0x50de17>0x1?void 0x0:_0x50de17?gs(_0x1e1ddd,_0x3fd386):_0x1e1ddd,_0x4805fe=_0x5a3af4[_0x448b75(0x2fa)]-0x1,_0x5a6e56;_0x4805fe>=0x0;_0x4805fe--)(_0x5a6e56=_0x5a3af4[_0x4805fe])&&(_0x5a4993=_0x5a6e56(_0x5a4993)||_0x5a4993);return _0x5a4993;},St=(_0x47b334,_0x5ea69c)=>(_0x5dba48,_0x46de6a)=>_0x5ea69c(_0x5dba48,_0x46de6a,_0x47b334),Is=(_0x3340c9,_0x4eda8e,_0x1ba7d7)=>Ss(_0x3340c9,_0x4eda8e+'',_0x1ba7d7);const Ts=_0x41545e(0x1ee);let wt=class extends _0x4357a2{constructor(_0x5b29e9,_0x59f218,_0x2ff502,_0x89ca7f){var _0x23cce8=_0x41545e;super(),N(this,_0x23cce8(0x35d)),(this[_0x23cce8(0x398)]=_0x59f218,this[_0x23cce8(0x367)]=_0x2ff502,this[_0x23cce8(0x2f0)]=_0x89ca7f);const {..._0x48cdbe}=_0x48c383({},Ur,_0x5b29e9);if(!_0x48cdbe[_0x23cce8(0x26e)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x23cce8(0x35d)]=_0x48cdbe,this[_0x23cce8(0x2f0)][_0x23cce8(0x207)](q,_0x48cdbe);}[_0x41545e(0x368)](){var _0x17a602=_0x41545e;this[_0x17a602(0x29f)](),this['_initDependencies']();}[_0x41545e(0x29f)](){var _0x442d21=_0x41545e,_0x45b12d,_0x56c13a;this[_0x442d21(0x367)][_0x442d21(0x46e)](_0x5a61a5)&&this[_0x442d21(0x398)]['error']('[UniverCollaborationClientPlugin]',_0x442d21(0x1ce));const _0x1962a6=_0x226ccd([[_0x5a61a5,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[bt],[Ii,{'useClass':this[_0x442d21(0x35d)][_0x442d21(0x26e)]}],[_0x1cc5ae,{'useClass':Nt}],[_0x3ac908,{'useClass':Rt}],[_0x5bffa7,{'useClass':yt}],[_0x1f17af,{'useClass':Ot}],[nt],[Ct]],(_0x45b12d=this[_0x442d21(0x35d)])==null?void 0x0:_0x45b12d['override']);if(!((_0x56c13a=this['_config'])!=null&&_0x56c13a[_0x442d21(0x238)])){const _0x3f34e1=_0x1962a6[_0x442d21(0x1e2)](([_0x2eda13])=>_0x2eda13===ht);_0x3f34e1!==-0x1&&_0x1962a6['splice'](_0x3f34e1,0x1);}_0x56bf0d(this[_0x442d21(0x367)],_0x1962a6);}[_0x41545e(0x3b2)](){var _0x23ebec=_0x41545e,_0x306a7a,_0x535dc8,_0x21e78b;this['_injector'][_0x23ebec(0x393)](_0x15df20)[_0x23ebec(0x1f4)]({'priority':0x14,'interceptor':_0x2226bf({'maxParallel':0x6})}),(_0x306a7a=this[_0x23ebec(0x35d)])!=null&&_0x306a7a[_0x23ebec(0x2e6)]||(_0x535dc8=this[_0x23ebec(0x367)][_0x23ebec(0x393)](J,_0x248523[_0x23ebec(0x317)]))==null||_0x535dc8[_0x23ebec(0x359)](),(_0x21e78b=this['_config'])!=null&&_0x21e78b[_0x23ebec(0x2bd)]&&_0x266d35(this['_injector'],[[st]]),_0x266d35(this['_injector'],[[ot],[nt],[at]]);}};Is(wt,_0x41545e(0x214),Ts),wt=Es([_0x189c14(_0xf3fa8c,_0xe8c0f4),St(0x1,_0x5b92b1),St(0x2,_0x236453(_0x35ce09)),St(0x3,_0x34fb67)],wt);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Or as COLLAB_SUBMIT_CHANGESET_URL_KEY,Er as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,rt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Ir as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Tr as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Ar as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Dr as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,oe as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,br as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,pr as SNAPSHOT_SERVER_URL_KEY,gr as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,wt as UniverCollaborationClientPlugin,Pr as deserializeToCombResponse,Bs as getLocalCacheKey,xr as serializeCombRequest};