@univerjs-pro/collaboration-client 0.10.7 → 0.10.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +10 -10
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0xc984d6=_0x4af8;(function(_0x56057a,_0x3eeb78){var _0x5094a1=_0x4af8,_0x269fb1=_0x56057a();while(!![]){try{var _0x223a83=-parseInt(_0x5094a1(0x2ad))/0x1+parseInt(_0x5094a1(0x347))/0x2*(-parseInt(_0x5094a1(0x1ac))/0x3)+parseInt(_0x5094a1(0x37a))/0x4*(parseInt(_0x5094a1(0x31a))/0x5)+parseInt(_0x5094a1(0x203))/0x6*(-parseInt(_0x5094a1(0x376))/0x7)+-parseInt(_0x5094a1(0x2a3))/0x8*(parseInt(_0x5094a1(0x2f5))/0x9)+-parseInt(_0x5094a1(0x26c))/0xa+parseInt(_0x5094a1(0xd7))/0xb;if(_0x223a83===_0x3eeb78)break;else _0x269fb1['push'](_0x269fb1['shift']());}catch(_0x262321){_0x269fb1['push'](_0x269fb1['shift']());}}}(_0x5596,0x4044e));var yi=Object[_0xc984d6(0x123)],Ni=(_0x327ea4,_0x42140e,_0x282a2b)=>_0x42140e in _0x327ea4?yi(_0x327ea4,_0x42140e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x282a2b}):_0x327ea4[_0x42140e]=_0x282a2b,N=(_0x5016b8,_0x8f34c6,_0x35aa14)=>Ni(_0x5016b8,typeof _0x8f34c6!=_0xc984d6(0x38d)?_0x8f34c6+'':_0x8f34c6,_0x35aa14);import{CollaborationEvent as _0x550a0b,ITransformService as _0x40fdb3,isTransformMutationsWithChangesetSuccess as _0x7c477d,mapDocumentTypeToUniverType as _0x146f2c,RevisionService as _0x580293,isTransformChangesetsSuccess as _0x4dd8e9,CompressMutationService as _0x4b68b6,parseProtocolChangeset as _0x267314,uuidv4 as _0x1c84c2,ISnapshotServerService as _0x2d60fe,parseChangesetToProtocol as _0x1c38f3,SnapshotService as _0x117fb2,textEncoder as _0x39ac9f,b64DecodeUnicode as _0x290c0b,isTransformMutationsWithChangesetFailure as _0x5d02ca,UniverCollaborationPlugin as _0x8275ad}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x1efe71,Inject as _0x1b33f7,UserManagerService as _0x317ce9,Disposable as _0x222444,UniverInstanceType as _0x469fed,ILogService as _0x1e0842,IConfigService as _0x3d5ea3,Optional as _0x136b0d,RxDisposable as _0x34821a,createIdentifier as _0x1189b4,Injector as _0x557b98,Tools as _0x5c1c62,Rectangle as _0x172af2,ICommandService as _0x43550f,JSONX as _0x1a3501,CommandType as _0x1b6150,IUndoRedoService as _0x57ee34,IPermissionService as _0x5beaef,LocaleService as _0x5c4924,sequenceExecute as _0x42f5e5,toDisposable as _0x2a79a1,DisposableCollection as _0xafc8bd,Workbook as _0x4a3caf,generateRandomId as _0x73bcd1,MentionType as _0x4886d3,isInternalEditorID as _0x1765c6,LocalUndoRedoService as _0x2e0c79,IContextService as _0x28f905,DependentOn as _0x44ea2f,Plugin as _0xb0e5e2,merge as _0x408e08,mergeOverrideWithDependencies as _0x147d51,IAuthzIoService as _0x5bb508,IMentionIOService as _0x1efa0e,registerDependencies as _0x525cbc,Quantity as _0x50ee7f,touchDependencies as _0x395ea4}from'@univerjs/core';import{RichTextEditingMutation as _0x2c4da8}from'@univerjs/docs';import{SheetsSelectionsService as _0x5b61c7,SetSelectionsOperation as _0x1b6aa5,InsertSheetMutation as _0x2f4aa0,EmptyMutation as _0x1c225d,WorkbookEditablePermission as _0x215711,SheetPermissionInitController as _0x52682f}from'@univerjs/sheets';import{Subject as _0x8a6cf2,merge as _0x35ac37,of as _0x307eda,BehaviorSubject as _0x20ba1f,takeUntil as _0x28638b,ReplaySubject as _0x1e2d6e,take as _0x3c26f3,map as _0x478e87,shareReplay as _0x4f198a,firstValueFrom as _0x2017c7,concatMap as _0x655e4e}from'rxjs';import{ITelemetryService as _0x142465}from'@univerjs/telemetry';import{map as _0x30a7a0,take as _0xd761d7,filter as _0x35447e,delay as _0x49be20,takeUntil as _0x7a27c7}from'rxjs/operators';import{HTTPService as _0x1c46bb,ISocketService as _0x5ee649,MergeInterceptorFactory as _0x2f24ee,HTTPRequest as _0x35748a,UniverNetworkPlugin as _0xb342f1,ThresholdInterceptorFactory as _0x1844b5}from'@univerjs/network';import{ImageSourceType as _0xd83d2b,ImageUploadStatusType as _0x37691c,IImageIoService as _0x2a3c0e}from'@univerjs/drawing';import{getGlobalObject as _0x2ad30c}from'@univerjs-pro/license';const fs=_0xc984d6(0x3bb),vs=_0xc984d6(0xdd),ps=0x7d0,ms='ws://127.0.0.1:8000/universer-api/comb/connect',Ir='/universer-api/user/session-ticket',gs=_0xc984d6(0x35a),Ss=0x7530,di=_0xc984d6(0x30d),fi=0x4e20,Es=0x4e20,Is=_0xc984d6(0x297),Ts=0x3,Tr='LOCAL_CACHE_INTERVAL',Cr=0x3e8,Cs='/universer-api/comb',Rs=_0xc984d6(0x374),Rr=_0xc984d6(0xd3),Or='/universer-api/uniscript';var vi=(_0x1fa9f4=>(_0x1fa9f4[_0x1fa9f4['UNDEFINED']=0x0]=_0xc984d6(0x151),_0x1fa9f4[_0x1fa9f4['OK']=0x1]='OK',_0x1fa9f4[_0x1fa9f4['INTERNAL_ERROR']=0x2]=_0xc984d6(0x13e),_0x1fa9f4[_0x1fa9f4['PERMISSION_DENIED']=0x3]=_0xc984d6(0x109),_0x1fa9f4[_0x1fa9f4['NOT_FOUND']=0x4]=_0xc984d6(0x361),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x289)]=0x5]=_0xc984d6(0x289),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x21a)]=0x6]=_0xc984d6(0x21a),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0xd8)]=0x7]=_0xc984d6(0xd8),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x34b)]=0x8]=_0xc984d6(0x34b),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0xfc)]=0x9]=_0xc984d6(0xfc),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x33d)]=0xa]=_0xc984d6(0x33d),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x296)]=0xb]=_0xc984d6(0x296),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x204)]=0xc]=_0xc984d6(0x204),_0x1fa9f4[_0x1fa9f4['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x1fa9f4[_0x1fa9f4['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xc984d6(0x2d5),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x398)]=0x1389]=_0xc984d6(0x398),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x3c4)]=0x1771]=_0xc984d6(0x3c4),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x3ba)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1fa9f4[_0x1fa9f4['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xc984d6(0x3b2),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x2e3)]=0x1b59]=_0xc984d6(0x2e3),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x314)]=0x1b5a]=_0xc984d6(0x314),_0x1fa9f4[_0x1fa9f4['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xc984d6(0x1c6),_0x1fa9f4[_0x1fa9f4['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xc984d6(0x39f),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x209)]=0x1b5d]=_0xc984d6(0x209),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x198)]=0x1f41]=_0xc984d6(0x198),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x2bc)]=0x2329]=_0xc984d6(0x2bc),_0x1fa9f4[_0x1fa9f4['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xc984d6(0x1ab),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x264)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1fa9f4[_0x1fa9f4[_0xc984d6(0xe5)]=0x232c]=_0xc984d6(0xe5),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x180)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x20d)]=0x2711]=_0xc984d6(0x20d),_0x1fa9f4[_0x1fa9f4['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xc984d6(0x306),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x2fa)]=0x2713]=_0xc984d6(0x2fa),_0x1fa9f4[_0x1fa9f4['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xc984d6(0x127),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x101)]=0x271a]=_0xc984d6(0x101),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x1e7)]=0x271b]=_0xc984d6(0x1e7),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x10e)]=0x271c]=_0xc984d6(0x10e),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x3b0)]=0x271d]=_0xc984d6(0x3b0),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x15a)]=0x271e]=_0xc984d6(0x15a),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x39a)]=0x271f]=_0xc984d6(0x39a),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x2d8)]=0x2720]=_0xc984d6(0x2d8),_0x1fa9f4[_0x1fa9f4['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0xc984d6(0x2aa),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x34d)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x1e9)]=0x2ee2]=_0xc984d6(0x1e9),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0xc7)]=0x2ee3]=_0xc984d6(0xc7),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x145)]=0x2ee4]=_0xc984d6(0x145),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x2f1)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x2b7)]=0x32c9]=_0xc984d6(0x2b7),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x2c7)]=0x32ca]=_0xc984d6(0x2c7),_0x1fa9f4[_0x1fa9f4[_0xc984d6(0x163)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x1fa9f4[_0x1fa9f4['UNRECOGNIZED']=-0x1]=_0xc984d6(0xf4),_0x1fa9f4))(vi||{}),Z=(_0x33cb4c=>(_0x33cb4c[_0x33cb4c[_0xc984d6(0x137)]=0x0]=_0xc984d6(0x137),_0x33cb4c[_0x33cb4c[_0xc984d6(0x18d)]=0x1]=_0xc984d6(0x18d),_0x33cb4c[_0x33cb4c[_0xc984d6(0x1dd)]=0x2]=_0xc984d6(0x1dd),_0x33cb4c[_0x33cb4c[_0xc984d6(0x343)]=0x3]=_0xc984d6(0x343),_0x33cb4c[_0x33cb4c[_0xc984d6(0x200)]=0x4]=_0xc984d6(0x200),_0x33cb4c[_0x33cb4c['UNRECOGNIZED']=-0x1]=_0xc984d6(0xf4),_0x33cb4c))(Z||{}),F=(_0xe235b4=>(_0xe235b4[_0xe235b4[_0xc984d6(0x3a4)]=0x0]=_0xc984d6(0x3a4),_0xe235b4[_0xe235b4[_0xc984d6(0xed)]=0x1]=_0xc984d6(0xed),_0xe235b4[_0xe235b4[_0xc984d6(0x33c)]=0x2]='JOIN',_0xe235b4[_0xe235b4['LEAVE']=0x3]=_0xc984d6(0x25e),_0xe235b4[_0xe235b4[_0xc984d6(0xde)]=0x4]='INGEST',_0xe235b4[_0xe235b4[_0xc984d6(0x1dc)]=0x5]=_0xc984d6(0x1dc),_0xe235b4[_0xe235b4[_0xc984d6(0x157)]=0x6]=_0xc984d6(0x157),_0xe235b4[_0xe235b4[_0xc984d6(0xf4)]=-0x1]=_0xc984d6(0xf4),_0xe235b4))(F||{}),pe=(_0x1d2e9b=>(_0x1d2e9b[_0x1d2e9b[_0xc984d6(0x260)]=0x0]=_0xc984d6(0x260),_0x1d2e9b[_0x1d2e9b['OK']=0x1]='OK',_0x1d2e9b[_0x1d2e9b['FAIL']=0x2]='FAIL',_0x1d2e9b[_0x1d2e9b[_0xc984d6(0x177)]=0x3e9]='JOIN_ROOM_FULL',_0x1d2e9b[_0x1d2e9b[_0xc984d6(0x2ed)]=0x3ea]=_0xc984d6(0x2ed),_0x1d2e9b[_0x1d2e9b['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0xc984d6(0x2fd),_0x1d2e9b[_0x1d2e9b[_0xc984d6(0x2c4)]=0x3ec]=_0xc984d6(0x2c4),_0x1d2e9b[_0x1d2e9b[_0xc984d6(0xf4)]=-0x1]=_0xc984d6(0xf4),_0x1d2e9b))(pe||{}),pi=(_0xac9526=>(_0xac9526[_0xac9526[_0xc984d6(0x372)]=0x0]='Undefined',_0xac9526[_0xac9526[_0xc984d6(0x2bd)]=0x1]=_0xc984d6(0x2bd),_0xac9526[_0xac9526[_0xc984d6(0x1f8)]=0x2]='HttpExport',_0xac9526[_0xac9526['UnitEmbedded']=0x3]='UnitEmbedded',_0xac9526[_0xac9526[_0xc984d6(0x366)]=0x4]=_0xc984d6(0x366),_0xac9526[_0xac9526[_0xc984d6(0x1d9)]=0x5]=_0xc984d6(0x1d9),_0xac9526[_0xac9526[_0xc984d6(0xf4)]=-0x1]=_0xc984d6(0xf4),_0xac9526))(pi||{});const Os=_0xc984d6(0x11f);function bs(_0x2c01ee){var _0x1ac919=_0xc984d6;return JSON[_0x1ac919(0x320)](_0x2c01ee)[_0x1ac919(0xfb)];}var ne=(_0x8bb3cc=>(_0x8bb3cc[_0xc984d6(0x16f)]='OTHER_CLIENT_EDITING',_0x8bb3cc[_0xc984d6(0x109)]=_0xc984d6(0x109),_0x8bb3cc['CONFLICT']=_0xc984d6(0x311),_0x8bb3cc['CLOSE_ROOM']=_0xc984d6(0x188),_0x8bb3cc['JOIN_ROOM_FAILED']=_0xc984d6(0x1b6),_0x8bb3cc[_0xc984d6(0x1ae)]=_0xc984d6(0x1ae),_0x8bb3cc['SOCKET_FAILED']=_0xc984d6(0x19a),_0x8bb3cc[_0xc984d6(0x38f)]=_0xc984d6(0x38f),_0x8bb3cc))(ne||{});class ve{constructor(){var _0x246158=_0xc984d6;N(this,'_event$',new _0x8a6cf2()),N(this,_0x246158(0x1c3),this[_0x246158(0x35e)][_0x246158(0x195)]());}['emitEvent'](_0x50d92e){var _0x1c3963=_0xc984d6;this[_0x1c3963(0x35e)][_0x1c3963(0x317)](_0x50d92e);}}class mi{constructor(){var _0x1f90f4=_0xc984d6;N(this,_0x1f90f4(0x1ca),new _0x8a6cf2()),N(this,_0x1f90f4(0x258),this[_0x1f90f4(0x1ca)]['asObservable']());}[_0xc984d6(0x1d3)](_0x4db3d3){var _0x205b8f=_0xc984d6;this['_commentUpdate$'][_0x205b8f(0x317)](_0x4db3d3);}}var ys=Object[_0xc984d6(0x132)],Ns=(_0x3fc907,_0xb4a916,_0x2441f6,_0x55b0dd)=>{var _0x3633e2=_0xc984d6;for(var _0x4ce754=_0x55b0dd>0x1?void 0x0:_0x55b0dd?ys(_0xb4a916,_0x2441f6):_0xb4a916,_0x49fe53=_0x3fc907[_0x3633e2(0xfb)]-0x1,_0x5106c7;_0x49fe53>=0x0;_0x49fe53--)(_0x5106c7=_0x3fc907[_0x49fe53])&&(_0x4ce754=_0x5106c7(_0x4ce754)||_0x4ce754);return _0x4ce754;},Ft=(_0x72370c,_0x4335b2)=>(_0x5e8d00,_0x4f203b)=>_0x4335b2(_0x5e8d00,_0x4f203b,_0x72370c);let we=class extends _0x222444{constructor(_0x5130bf,_0x1f1a84){var _0x11cb48=_0xc984d6;super(),N(this,_0x11cb48(0x1b4),new Map()),N(this,_0x11cb48(0x138),new _0x8a6cf2()),(this[_0x11cb48(0x392)]=_0x5130bf,this['_userManagerService']=_0x1f1a84,this[_0x11cb48(0x1f7)](_0x35ac37(this[_0x11cb48(0x392)][_0x11cb48(0x225)](_0x469fed[_0x11cb48(0x1dd)])['pipe'](_0x30a7a0(_0x2c3bf7=>_0x2c3bf7['getUnitId']())),this[_0x11cb48(0x392)][_0x11cb48(0x225)](_0x469fed[_0x11cb48(0x18d)])[_0x11cb48(0x186)](_0x30a7a0(_0x27843f=>_0x27843f[_0x11cb48(0x37f)]())),this[_0x11cb48(0x392)][_0x11cb48(0x225)](_0x469fed[_0x11cb48(0x343)])['pipe'](_0x30a7a0(_0x32d5b2=>_0x32d5b2[_0x11cb48(0x37f)]())))[_0x11cb48(0xf3)](_0x155822=>this[_0x11cb48(0x3b3)](_0x155822))));}[_0xc984d6(0x236)](_0x1f6cc9){var _0x569cce=_0xc984d6;return this[_0x569cce(0x1b4)][_0x569cce(0x340)](_0x1f6cc9)?_0x307eda(this[_0x569cce(0x1b4)][_0x569cce(0x231)](_0x1f6cc9)):this[_0x569cce(0x138)][_0x569cce(0x186)](_0x30a7a0(_0x306648=>{var _0x1acdee=_0x569cce;if(_0x306648===_0x1f6cc9)return this[_0x1acdee(0x1b4)][_0x1acdee(0x231)](_0x306648);}));}[_0xc984d6(0x1a4)](_0x13ad8c){var _0x5a50cc=_0xc984d6;this[_0x5a50cc(0x147)][_0x5a50cc(0x1a4)](_0x13ad8c);}[_0xc984d6(0x15f)](){var _0x5dfc4a=_0xc984d6;return this[_0x5dfc4a(0x147)][_0x5dfc4a(0x15f)]();}['updateMember'](_0x4166df,_0xe5749e){var _0x7561d2=_0xc984d6;let _0xb11583=this[_0x7561d2(0x1b4)][_0x7561d2(0x231)](_0x4166df);_0xb11583||(_0xb11583=new Ds(),this[_0x7561d2(0x1b4)][_0x7561d2(0x173)](_0x4166df,_0xb11583),this[_0x7561d2(0x138)][_0x7561d2(0x317)](_0x4166df)),_0xb11583[_0x7561d2(0x223)](_0xe5749e);}[_0xc984d6(0x171)](_0x1457b6,_0x15880f){var _0x5490b0=_0xc984d6;const _0x4f1bda=this[_0x5490b0(0x1b4)][_0x5490b0(0x231)](_0x1457b6);_0x4f1bda&&_0x4f1bda[_0x5490b0(0x171)](_0x15880f);}[_0xc984d6(0x1cc)](_0x102384){var _0x16989d=_0xc984d6;return this['_roomMembers'][_0x16989d(0x231)](_0x102384);}[_0xc984d6(0x3b4)](_0x276025,_0x1d1231){var _0x560c53=_0xc984d6;const _0x10043c=this['_roomMembers'][_0x560c53(0x231)](_0x276025);if(_0x10043c)return _0x10043c['getMember'](_0x1d1231);}[_0xc984d6(0x3b3)](_0x7a6f18){var _0x1c7ce2=_0xc984d6;const _0x2ac951=this[_0x1c7ce2(0x1b4)][_0x1c7ce2(0x231)](_0x7a6f18);_0x2ac951&&(_0x2ac951[_0x1c7ce2(0x2a4)](),this[_0x1c7ce2(0x1b4)][_0x1c7ce2(0x1eb)](_0x7a6f18));}[_0xc984d6(0x2a4)](){var _0x148f31=_0xc984d6;this[_0x148f31(0x1b4)][_0x148f31(0x35c)](_0x209a9a=>_0x209a9a[_0x148f31(0x2a4)]()),this[_0x148f31(0x1b4)][_0x148f31(0x182)](),this[_0x148f31(0x138)][_0x148f31(0x33b)]();}};we=Ns([Ft(0x0,_0x1efe71),Ft(0x1,_0x1b33f7(_0x317ce9))],we);class Ds extends _0x222444{constructor(){var _0x561c51=_0xc984d6;super(...arguments),N(this,_0x561c51(0x1ed),new Map()),N(this,'_members$',new _0x20ba1f(this['_members'])),N(this,'members$',this[_0x561c51(0xe3)][_0x561c51(0x195)]());}[_0xc984d6(0x2a4)](){this['_members']['clear']();}[_0xc984d6(0x223)](_0x1f152c){var _0x7849e3=_0xc984d6;this[_0x7849e3(0x1ed)]['set'](_0x1f152c[_0x7849e3(0x17f)],_0x1f152c),this[_0x7849e3(0x238)]();}[_0xc984d6(0x171)](_0x46a01d){var _0x3b7c1a=_0xc984d6;this[_0x3b7c1a(0x1ed)][_0x3b7c1a(0x1eb)](_0x46a01d);}[_0xc984d6(0x3b4)](_0x59d347){var _0x5eebbf=_0xc984d6;return this[_0x5eebbf(0x1ed)]['get'](_0x59d347);}['getAllMembers'](){var _0x23c9d2=_0xc984d6;return Array[_0x23c9d2(0x1a1)](this[_0x23c9d2(0x1ed)][_0x23c9d2(0x2dd)]());}['_emitMembers'](){var _0x256830=_0xc984d6;this[_0x256830(0xe3)][_0x256830(0x317)](this[_0x256830(0x1ed)]);}}var Us=Object[_0xc984d6(0x132)],As=(_0x2f2f6a,_0x53c37f,_0x222603,_0x2497cd)=>{var _0x1bd3c5=_0xc984d6;for(var _0x3ca5af=_0x2497cd>0x1?void 0x0:_0x2497cd?Us(_0x53c37f,_0x222603):_0x53c37f,_0x472456=_0x2f2f6a[_0x1bd3c5(0xfb)]-0x1,_0x51e364;_0x472456>=0x0;_0x472456--)(_0x51e364=_0x2f2f6a[_0x472456])&&(_0x3ca5af=_0x51e364(_0x3ca5af)||_0x3ca5af);return _0x3ca5af;},Ce=(_0x496530,_0xf7ec73)=>(_0x3bcdca,_0x31cacd)=>_0xf7ec73(_0x3bcdca,_0x31cacd,_0x496530),ge=(_0xb69ccf=>(_0xb69ccf[_0xb69ccf[_0xc984d6(0x3a5)]=0x0]=_0xc984d6(0x3a5),_0xb69ccf[_0xb69ccf[_0xc984d6(0x194)]=0x1]='JOINING',_0xb69ccf[_0xb69ccf['OFFLINE']=0x2]=_0xc984d6(0x110),_0xb69ccf[_0xb69ccf['ONLINE']=0x3]=_0xc984d6(0x2b5),_0xb69ccf))(ge||{});const Vt={[pe['FAIL']]:_0xc984d6(0x22c),[pe[_0xc984d6(0x177)]]:_0xc984d6(0x14a),[pe[_0xc984d6(0x2ed)]]:'session.room-not-exists',[pe['JOIN_ROOM_PERMISSION_DENIED']]:_0xc984d6(0x135),[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0xc984d6(0x152)};let gt=class extends _0x34821a{constructor(_0x5a681d,_0x2fb2d8,_0x4cefa5,_0x347c1f,_0x3aaf68,_0x3ef055,_0x77c22,_0x441b2e){var _0x67a4f7=_0xc984d6;super(),N(this,_0x67a4f7(0x2cc),new _0x20ba1f(0x0)),N(this,'sessionStatus$',this[_0x67a4f7(0x2cc)]['asObservable']()),N(this,_0x67a4f7(0x35e),new _0x8a6cf2()),N(this,_0x67a4f7(0x1c3),this[_0x67a4f7(0x35e)][_0x67a4f7(0x195)]()),N(this,'_socket'),N(this,_0x67a4f7(0x27c)),N(this,_0x67a4f7(0x23f)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x67a4f7(0x3a9),null),(this['_unitID']=_0x5a681d,this[_0x67a4f7(0x13a)]=_0x4cefa5,this[_0x67a4f7(0x2c3)]=_0x347c1f,this[_0x67a4f7(0x31d)]=_0x3aaf68,this[_0x67a4f7(0x1aa)]=_0x3ef055,this['_collaborationUIEventService']=_0x77c22,this[_0x67a4f7(0x2d1)]=_0x441b2e,this['_shouldReportTelemetry']=!!this[_0x67a4f7(0x2d1)],_0x2fb2d8['pipe'](_0x28638b(this[_0x67a4f7(0x20c)]))['subscribe'](_0x12fc34=>{var _0x326919=_0x67a4f7,_0x44f029;typeof _0x12fc34>'u'||(this[_0x326919(0x103)]=_0x12fc34,_0x12fc34?(this[_0x326919(0x21c)](_0x12fc34),this[_0x326919(0x27c)]=_0x12fc34[_0x326919(0x265)][_0x326919(0xf3)](_0x1a3ac6=>{var _0x230c1d=_0x326919;_0x1a3ac6[_0x230c1d(0x387)]===this[_0x230c1d(0x2ba)]&&this[_0x230c1d(0x21e)](_0x1a3ac6);})):(this[_0x326919(0x25d)](),this[_0x326919(0x2cc)]['next'](0x2),(_0x44f029=this[_0x326919(0x27c)])==null||_0x44f029['unsubscribe'](),this[_0x326919(0x27c)]=null));}));}get[_0xc984d6(0x307)](){var _0x1f1d69=_0xc984d6;return this['_sessionStatus$'][_0x1f1d69(0x129)]();}['getMemberID'](){var _0x334579=_0xc984d6,_0x19be87,_0x26b76d;return(_0x26b76d=(_0x19be87=this[_0x334579(0x103)])==null?void 0x0:_0x19be87[_0x334579(0x17f)])!=null?_0x26b76d:null;}['dispose'](){var _0x5abff8=_0xc984d6;super[_0x5abff8(0x2a4)](),this[_0x5abff8(0x20c)][_0x5abff8(0x317)](),this['dispose$'][_0x5abff8(0x33b)]();}['close'](){var _0x40c441=_0xc984d6,_0x2a4fdc,_0x23bfef;this[_0x40c441(0x25d)](),(_0x2a4fdc=this[_0x40c441(0x103)])==null||_0x2a4fdc['send']({'cmd':F[_0x40c441(0x25e)],'data':{'roomID':this[_0x40c441(0x2ba)]}}),(_0x23bfef=this['_socket'])==null||_0x23bfef['close'](),this['_event$'][_0x40c441(0x33b)](),this[_0x40c441(0x2cc)][_0x40c441(0x33b)](),this[_0x40c441(0x2a4)]();}['_onCombEvent'](_0x1d5470){var _0x1b16e9=_0xc984d6;_0x1d5470[_0x1b16e9(0x26e)]===F['JOIN']?this[_0x1b16e9(0x2a8)](_0x1d5470):_0x1d5470['cmd']===F[_0x1b16e9(0x157)]&&this[_0x1b16e9(0x346)](_0x1d5470);}[_0xc984d6(0x21c)](_0x4ab8da){var _0x4c02dc=_0xc984d6;this[_0x4c02dc(0x2cc)][_0x4c02dc(0x317)](0x1),_0x4ab8da[_0x4c02dc(0x119)]({'cmd':F[_0x4c02dc(0x33c)],'routeKey':this[_0x4c02dc(0x2ba)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4c02dc(0x2ba)]}]}});}['_onJoinRoomEvent'](_0x5655ae){var _0x243426=_0xc984d6,_0x32a89f;if(_0x5655ae['code']in Vt){this['_collaborationUIEventService'][_0x243426(0x2bf)]({'id':ne[_0x243426(0x1b6)],'data':Vt[_0x5655ae['code']]}),this[_0x243426(0x2cc)][_0x243426(0x317)](0x2);return;}this[_0x243426(0x2cc)][_0x243426(0x317)](0x3);const _0x489756=(_0x32a89f=_0x5655ae[_0x243426(0x185)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x32a89f[_0x243426(0x10b)];_0x489756&&_0x489756[_0x243426(0x35c)](_0x1885fe=>this[_0x243426(0x31d)][_0x243426(0x223)](this[_0x243426(0x2ba)],_0x1885fe));}['_onRecvEvent'](_0x84a818){var _0x40eceb=_0xc984d6;try{const _0x62dca4=_0x84a818['data'];switch(_0x62dca4['eventID']){case _0x550a0b[_0x40eceb(0xf1)]:this[_0x40eceb(0x2cf)](_0x62dca4),this[_0x40eceb(0x35e)][_0x40eceb(0x317)](_0x62dca4);break;case _0x550a0b[_0x40eceb(0x187)]:this[_0x40eceb(0x39c)](_0x62dca4),this[_0x40eceb(0x35e)][_0x40eceb(0x317)](_0x62dca4);break;case _0x550a0b[_0x40eceb(0x316)]:case _0x550a0b[_0x40eceb(0x2c9)]:this[_0x40eceb(0xfa)](),this[_0x40eceb(0x22e)](),this['_event$']['next'](_0x62dca4);break;case _0x550a0b[_0x40eceb(0x351)]:this['_logService'][_0x40eceb(0x31e)](_0x40eceb(0x19c)+JSON['stringify'](_0x62dca4)),this[_0x40eceb(0x35e)][_0x40eceb(0x317)](_0x62dca4);break;case _0x550a0b[_0x40eceb(0x1e5)]:this[_0x40eceb(0x1aa)][_0x40eceb(0x1d3)](_0x62dca4[_0x40eceb(0x185)]),this['_event$'][_0x40eceb(0x317)](_0x62dca4);break;default:this[_0x40eceb(0x35e)][_0x40eceb(0x317)](_0x62dca4);}}catch(_0x56febb){this[_0x40eceb(0x13a)][_0x40eceb(0x31e)](_0x56febb,_0x84a818);}}[_0xc984d6(0x2cf)](_0x26d42f){var _0x8b803=_0xc984d6;this[_0x8b803(0x31d)][_0x8b803(0x223)](this[_0x8b803(0x2ba)],_0x26d42f[_0x8b803(0x185)]);}['_onUserLeave'](_0x190bb8){var _0x56a6e9=_0xc984d6;this['_memberService'][_0x56a6e9(0x171)](this[_0x56a6e9(0x2ba)],_0x190bb8[_0x56a6e9(0x185)][_0x56a6e9(0x17f)]);}async['send'](_0x2a028f,_0x36d602){var _0x4d9e25=_0xc984d6;if(this[_0x4d9e25(0x307)]!==0x3||!this[_0x4d9e25(0x103)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2a028f[_0x4d9e25(0x217)]===_0x550a0b[_0x4d9e25(0x175)]&&(this[_0x4d9e25(0x15d)](),this[_0x4d9e25(0x36f)](_0x2a028f)),this[_0x4d9e25(0x103)][_0x4d9e25(0x119)]({'cmd':F[_0x4d9e25(0xde)],'routeKey':_0x36d602,'routeType':'','data':_0x2a028f});}catch(_0x2a5066){this[_0x4d9e25(0x13a)]['error'](_0x2a5066);}}[_0xc984d6(0x15d)](){var _0x1ad309=_0xc984d6,_0x298c18;this[_0x1ad309(0x23f)]=setTimeout(()=>{var _0x147df8=_0x1ad309;this[_0x147df8(0x23f)]=null,this[_0x147df8(0x179)]['emitEvent']({'id':ne[_0x147df8(0x38f)]});},(_0x298c18=this[_0x1ad309(0x2c3)][_0x1ad309(0x184)](di))!=null?_0x298c18:fi);}[_0xc984d6(0x22e)](){var _0x5aef7e=_0xc984d6;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x5aef7e(0x23f)]=null);}[_0xc984d6(0x36f)](_0x5a8d1b){var _0x3762c8=_0xc984d6;if(!this[_0x3762c8(0x111)])return;const {data:_0x3ab439}=_0x5a8d1b,{unitID:_0xcacce0,changeset:_0x5893a1}=_0x3ab439,{mutations:_0x1c3298,type:_0x48f525}=_0x5893a1;this[_0x3762c8(0x3a9)]={'unitId':_0xcacce0,'type':_0x48f525,'startTime':performance[_0x3762c8(0x2f9)](),'stopTime':0x0,'duration':0x0,'size':bs(_0x1c3298)};}[_0xc984d6(0xfa)](){var _0x52c0bc=_0xc984d6;if(this['_shouldReportTelemetry']){if(!this[_0x52c0bc(0x3a9)]){this['_logService']['error'](_0x52c0bc(0x26a),_0x52c0bc(0x165));return;}this[_0x52c0bc(0x3a9)][_0x52c0bc(0x174)]=performance[_0x52c0bc(0x2f9)](),this[_0x52c0bc(0x3a9)]['duration']=this[_0x52c0bc(0x3a9)][_0x52c0bc(0x174)]-this[_0x52c0bc(0x3a9)]['startTime'],this[_0x52c0bc(0x2d1)][_0x52c0bc(0x208)](Os,this[_0x52c0bc(0x3a9)]),this['_telemetryInfo']=null;}}[_0xc984d6(0x25d)](){var _0x317d4e=_0xc984d6;this[_0x317d4e(0x3a9)]=null;}};gt=As([Ce(0x2,_0x1e0842),Ce(0x3,_0x3d5ea3),Ce(0x4,_0x1b33f7(we)),Ce(0x5,_0x1b33f7(mi)),Ce(0x6,_0x1b33f7(ve)),Ce(0x7,_0x136b0d(_0x142465))],gt);const J=_0x1189b4('collaboration-client.local-cache-service');function br(_0x16b474){return'unit-cache-'+_0x16b474;}var ws=Object[_0xc984d6(0x132)],Ps=(_0x3050aa,_0x3c1990,_0x3072a9,_0x354336)=>{var _0x3b17e2=_0xc984d6;for(var _0x49eeec=_0x354336>0x1?void 0x0:_0x354336?ws(_0x3c1990,_0x3072a9):_0x3c1990,_0x4e832b=_0x3050aa[_0x3b17e2(0xfb)]-0x1,_0x49596b;_0x4e832b>=0x0;_0x4e832b--)(_0x49596b=_0x3050aa[_0x4e832b])&&(_0x49eeec=_0x49596b(_0x49eeec)||_0x49eeec);return _0x49eeec;},ut=(_0x80b737,_0x503b2a)=>(_0x40b44c,_0x344687)=>_0x503b2a(_0x40b44c,_0x344687,_0x80b737);function Ms(_0x362a57){var _0x8cfb3e=_0xc984d6;const {unitID:_0x25616d,mutations:_0x5e2ca3}=_0x362a57;return{'unitId':_0x25616d,'subUnitId':_0x5e2ca3[0x0][_0x8cfb3e(0x120)][_0x8cfb3e(0x359)]};}let it=class{constructor(_0x3de4a0,_0x2ac45b,_0x35a1f5){var _0x443d65=_0xc984d6;this[_0x443d65(0x32f)]=_0x3de4a0,this['_transformService']=_0x2ac45b,this[_0x443d65(0x30c)]=_0x35a1f5;}[_0xc984d6(0x1fa)](_0x42393c){var _0x413281=_0xc984d6,_0x57f38b,_0x581235,_0x472427,_0x5e9881;const _0x5375d2=this[_0x413281(0x32f)][_0x413281(0x231)](_0x5b61c7),{unitId:_0x2471b8,subUnitId:_0x34a9db}=Ms(_0x42393c),_0x85fec4=_0x5375d2==null?void 0x0:_0x5375d2[_0x413281(0x1d5)](_0x2471b8)[_0x413281(0x192)](),_0x27b770=(_0x581235=(_0x57f38b=this[_0x413281(0x30c)][_0x413281(0x33a)](_0x2471b8))==null?void 0x0:_0x57f38b[_0x413281(0x246)]())==null?void 0x0:_0x581235['getSheetId']();if(_0x85fec4[_0x413281(0xfb)]===0x0||!_0x2471b8||!_0x34a9db)return;const _0xc63235=[{'id':_0x1b6aa5['id'],'params':{'unitId':_0x2471b8,'subUnitId':_0x27b770,'selections':_0x5c1c62[_0x413281(0x107)](_0x85fec4)}}],_0x36e952=this[_0x413281(0x1db)][_0x413281(0x294)](_0x42393c,_0xc63235);if(!_0x7c477d(_0x36e952))throw _0x36e952['error'];const _0x4f50ba=(_0x5e9881=(_0x472427=_0x36e952[_0x413281(0x19b)][0x0])==null?void 0x0:_0x472427[_0x413281(0x120)])==null?void 0x0:_0x5e9881[_0x413281(0x22f)];if(Array[_0x413281(0x337)](_0x4f50ba)&&_0x4f50ba[_0x413281(0xfb)]){if(_0x4f50ba[_0x413281(0xfb)]===_0xc63235[0x0]['params'][_0x413281(0x22f)][_0x413281(0xfb)]&&_0x4f50ba[_0x413281(0x29a)]((_0x47de81,_0x4c2881)=>_0x172af2[_0x413281(0x279)](_0x47de81[_0x413281(0x14d)],_0xc63235[0x0][_0x413281(0x120)][_0x413281(0x22f)][_0x4c2881][_0x413281(0x14d)])))return;this['_injector']['get'](_0x43550f)[_0x413281(0x1b5)](_0x1b6aa5['id'],{'unitId':_0x2471b8,'subUnitId':_0x27b770,'selections':_0x4f50ba});}}};it=Ps([ut(0x0,_0x1b33f7(_0x557b98)),ut(0x1,_0x40fdb3),ut(0x2,_0x1efe71)],it);const ht=_0x1189b4('univer-pro.collaboration-client.single-active-unit-service');var gi=(_0x5a98a1=>(_0x5a98a1[_0x5a98a1[_0xc984d6(0x1bf)]=0x0]=_0xc984d6(0x1bf),_0x5a98a1[_0x5a98a1[_0xc984d6(0x1cd)]=0x1]=_0xc984d6(0x1cd),_0x5a98a1))(gi||{});const K='collaboration-client.config',Ls={},xs=new Set([_0x2f4aa0['id']]);function Wt(_0x59f24,_0x218709,_0x656ae0,_0x57f386,_0x349de1){var _0x51c4a8=_0xc984d6,_0x57a249,_0x45d84c,_0x38e940,_0x404bbc;const _0x4bbb28=[];for(const _0x4ec7e9 of _0x59f24)if(xs[_0x51c4a8(0x340)](_0x4ec7e9['id'])){if(_0x4bbb28[_0x51c4a8(0xfb)]>0x0)break;_0x4bbb28['push'](_0x4ec7e9);break;}else _0x4bbb28[_0x51c4a8(0x12e)](_0x4ec7e9);const _0x2e416e=(_0x45d84c=(_0x57a249=_0x349de1[_0x51c4a8(0x15f)]())==null?void 0x0:_0x57a249[_0x51c4a8(0xec)])!=null?_0x45d84c:_0x51c4a8(0x28b),_0x9bb9=(_0x404bbc=(_0x38e940=_0x349de1[_0x51c4a8(0x15f)]())==null?void 0x0:_0x38e940[_0x51c4a8(0x17f)])!=null?_0x404bbc:'unknown';return{'changeset':{'unitID':_0x218709,'type':_0x146f2c(_0x656ae0['getUnitType'](_0x218709)),'baseRev':_0x57f386[_0x51c4a8(0xf0)](_0x218709),'revision':0x0,'userID':_0x2e416e,'memberID':_0x9bb9,'mutations':_0x4bbb28},'pendingMutations':_0x59f24['slice'](_0x4bbb28[_0x51c4a8(0xfb)])};}function ks(_0x570f72,_0x38c284,_0x308a97,_0x376584,_0x93ef79){var _0xd2a84f=_0xc984d6,_0x3d6d1c,_0x593075,_0x4948eb,_0x1faf63;const _0x14a79a=[_0x570f72['reduce']((_0x4eb5ef,_0x7c6767)=>{var _0x14b377=_0x4af8,_0x3d7e72;const {id:_0x4263d4}=_0x4eb5ef,{id:_0x18e40e,type:_0x413f99}=_0x7c6767,_0x43d1fe=(_0x3d7e72=_0x4eb5ef[_0x14b377(0x120)])!=null?_0x3d7e72:{'actions':null},_0xf452ab=_0x7c6767[_0x14b377(0x120)];if(_0x4263d4&&_0x4263d4!==_0x18e40e)throw new Error(_0x14b377(0x1a2)+_0x4263d4+'\x20-\x20'+_0x18e40e+'.');return{..._0x4eb5ef,'id':_0x18e40e,'type':_0x413f99,'params':{'unitId':_0xf452ab[_0x14b377(0x2a1)],'textRanges':_0xf452ab[_0x14b377(0x3a7)],'actions':_0x1a3501[_0x14b377(0x2f4)](_0x43d1fe['actions'],_0xf452ab[_0x14b377(0x2a5)])}};},{})],_0x18aff5=(_0x593075=(_0x3d6d1c=_0x93ef79[_0xd2a84f(0x15f)]())==null?void 0x0:_0x3d6d1c[_0xd2a84f(0xec)])!=null?_0x593075:_0xd2a84f(0x28b),_0x1ae89e=(_0x1faf63=(_0x4948eb=_0x93ef79[_0xd2a84f(0x15f)]())==null?void 0x0:_0x4948eb['memberID'])!=null?_0x1faf63:_0xd2a84f(0x28b);return{'changeset':{'unitID':_0x38c284,'type':_0x146f2c(_0x308a97[_0xd2a84f(0xd0)](_0x38c284)),'baseRev':_0x376584[_0xd2a84f(0xf0)](_0x38c284),'revision':0x0,'userID':_0x18aff5,'memberID':_0x1ae89e,'mutations':_0x14a79a},'pendingMutations':[]};}function Si(_0x5716e3,_0x43066e){var _0x473172=_0xc984d6;const _0x3c5b92=new _0x1e2d6e(0x1);return setTimeout(()=>_0x3c5b92['next'](_0x43066e),_0x5716e3),_0x3c5b92[_0x473172(0x195)]()[_0x473172(0x186)](_0x3c26f3(0x1));}const $s={'id':_0x1c225d['id'],'type':_0x1b6150[_0xc984d6(0x2be)],'params':{}};var Hs=Object[_0xc984d6(0x132)],Ee=(_0x24f8f1,_0x3bd657,_0x5ad107,_0x8dbb8e)=>{for(var _0x2ff9b4=_0x8dbb8e>0x1?void 0x0:_0x8dbb8e?Hs(_0x3bd657,_0x5ad107):_0x3bd657,_0x270243=_0x24f8f1['length']-0x1,_0x281f45;_0x270243>=0x0;_0x270243--)(_0x281f45=_0x24f8f1[_0x270243])&&(_0x2ff9b4=_0x281f45(_0x2ff9b4)||_0x2ff9b4);return _0x2ff9b4;},P=(_0x4c4dfc,_0x446293)=>(_0x41985,_0x16dd0c)=>_0x446293(_0x41985,_0x16dd0c,_0x4c4dfc),Ei=(_0x11cb2e=>(_0x11cb2e[_0xc984d6(0x1d4)]=_0xc984d6(0x241),_0x11cb2e[_0xc984d6(0xf9)]=_0xc984d6(0x100),_0x11cb2e['PENDING']=_0xc984d6(0x2dc),_0x11cb2e[_0xc984d6(0x341)]=_0xc984d6(0x388),_0x11cb2e[_0xc984d6(0x234)]=_0xc984d6(0x35d),_0x11cb2e[_0xc984d6(0x33f)]=_0xc984d6(0x39e),_0x11cb2e[_0xc984d6(0x311)]=_0xc984d6(0x20f),_0x11cb2e['OFFLINE']='offline',_0x11cb2e))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x186dac,_0x2aeeac,_0x2686cf,_0x5a6859,_0x53e8f3,_0x240f3d,_0x3399c6,_0x2f4f3a,_0x3b3633){var _0x24711b=_0xc984d6;N(this,_0x24711b(0x10a),null),N(this,_0x24711b(0x248),[]),(this['unitID']=_0x186dac,this[_0x24711b(0x15c)]=_0x2aeeac,this[_0x24711b(0x292)]=_0x53e8f3,this[_0x24711b(0x3c0)]=_0x240f3d,this['_undoRedoService']=_0x3399c6,this[_0x24711b(0x196)]=_0x2f4f3a,this[_0x24711b(0x1f5)]=_0x3b3633,this[_0x24711b(0x10a)]=_0x2686cf,this[_0x24711b(0x248)]=_0x5a6859);}[_0xc984d6(0x2fb)](_0xd2e9be){var _0x35dcb5=_0xc984d6;const _0x21d199=this['_revisionService'][_0x35dcb5(0xf0)](this[_0x35dcb5(0x2ca)]);return _0xd2e9be[_0x35dcb5(0x1f0)]>_0x21d199+0x1?(this['_handler']['onMissingChangesets']({'from':_0x21d199,'to':_0xd2e9be[_0x35dcb5(0x1f0)]-0x1}),!0x0):!0x1;}[_0xc984d6(0x267)](_0x1f69c8){var _0x356c1c=_0xc984d6;this[_0x356c1c(0xf2)][_0x356c1c(0x300)](this[_0x356c1c(0x2ca)],_0x1f69c8);}[_0xc984d6(0x1c7)](_0x9eadf8){var _0x44405c=_0xc984d6,_0x1ebf53,_0x56ee2f;(_0x56ee2f=(_0x1ebf53=this[_0x44405c(0x292)])[_0x44405c(0x26b)])==null||_0x56ee2f[_0x44405c(0x2d0)](_0x1ebf53,_0x9eadf8);}['_transformIMECache'](_0x1a2cba){var _0x19c8fe=_0xc984d6,_0x14f670,_0x1ae063;return(_0x1ae063=(_0x14f670=this[_0x19c8fe(0x292)])['onTransformIME'])==null?void 0x0:_0x1ae063[_0x19c8fe(0x2d0)](_0x14f670,_0x1a2cba);}[_0xc984d6(0x262)](_0x5bc8d2){var _0x1ef40b=_0xc984d6,_0xd0ad48,_0x18bfac;return(_0x18bfac=(_0xd0ad48=this[_0x1ef40b(0x292)])[_0x1ef40b(0x226)])==null?void 0x0:_0x18bfac[_0x1ef40b(0x2d0)](_0xd0ad48,_0x5bc8d2);}[_0xc984d6(0x36e)](_0x5d7de9){var _0x62f746=_0xc984d6,_0x69ca4d,_0x46e8c1,_0x16fe7b;return(_0x16fe7b=(_0x46e8c1=(_0x69ca4d=this['_handler'])[_0x62f746(0x309)])==null?void 0x0:_0x46e8c1[_0x62f746(0x2d0)](_0x69ca4d,_0x5d7de9))!=null?_0x16fe7b:_0x5d7de9;}[_0xc984d6(0x29d)](_0x4b507d){var _0x208e94=_0xc984d6,_0x5d6a04,_0x4b826d,_0x434604;return(_0x434604=(_0x4b826d=(_0x5d6a04=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4b826d[_0x208e94(0x2d0)](_0x5d6a04,_0x4b507d))!=null?_0x434604:_0x4b507d;}['_syncEditingCollabCursor'](_0x5ae08){var _0x23fb52=_0xc984d6,_0x5267a7,_0x1f05e1;if(this['type']===Z['UNIVER_DOC']){const {unitID:_0x474937,mutations:_0x346a8b,memberID:_0xa0886a}=_0x5ae08,_0x3ebc1c=_0x346a8b[0x0][_0x23fb52(0x120)][_0x23fb52(0x3a7)];Array['isArray'](_0x3ebc1c)&&_0x3ebc1c[_0x23fb52(0xfb)]>0x0&&((_0x1f05e1=(_0x5267a7=this['_handler'])[_0x23fb52(0x216)])==null||_0x1f05e1[_0x23fb52(0x2d0)](_0x5267a7,{'unitID':_0x474937,'memberID':_0xa0886a,'textRanges':_0x3ebc1c}));}}['_updateLocalCache'](){var _0x559af5=_0xc984d6,_0x56acca;(_0x56acca=this[_0x559af5(0x1f5)])==null||_0x56acca[_0x559af5(0x2af)](this[_0x559af5(0x2ca)],this[_0x559af5(0x15c)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0xc984d6(0x244)](){var _0x15029d=_0xc984d6;return this[_0x15029d(0x196)][_0x15029d(0xf0)](this[_0x15029d(0x2ca)]);}[_0xc984d6(0x2e4)](){var _0x5065c1=_0xc984d6;this['_revisionService'][_0x5065c1(0x375)](this[_0x5065c1(0x2ca)]);}[_0xc984d6(0x28a)](_0xb4eaee){var _0x2143f1=_0xc984d6,_0xecb654;let _0x42706e=this['_transformRemoteChangesetByIMECache'](_0xb4eaee);_0x42706e=this[_0x2143f1(0x29d)](_0x42706e);const _0x215088=_0x42f5e5(_0x42706e['mutations'],this[_0x2143f1(0x3c0)],{'fromCollab':!0x0});if(!_0x215088[_0x2143f1(0x35f)])throw _0x215088['error']instanceof Error?_0x215088[_0x2143f1(0x31e)]:new Error((_0xecb654=_0x215088[_0x2143f1(0x31e)])!=null?_0xecb654:'[CollaborationState]:\x20apply\x20error!');this[_0x2143f1(0x242)](_0x42706e),this['_transformStateCache'](_0x42706e),this['_transformUndoredo'](_0xb4eaee),this[_0x2143f1(0x1c7)](_0x42706e),this[_0x2143f1(0x1e6)](_0x42706e),this['_incrementRevisionNumber']();}}let ye=class extends Ie{constructor(_0x1e3465,_0x254b3d,_0x538bf9,_0x70923a,_0x4a2860,_0xaa7b26,_0x29c2f3,_0x500f10,_0x52e917,_0x3ca193){var _0x26f75a=_0xc984d6;super(_0x1e3465,_0x254b3d,null,[],_0x538bf9,_0x29c2f3,_0xaa7b26,_0x70923a,_0x3ca193),N(this,'status','synced'),(this[_0x26f75a(0x32f)]=_0x4a2860,this[_0x26f75a(0x13a)]=_0x500f10,this['_transformService']=_0x52e917,this[_0x26f75a(0x1f6)]=_0x3ca193);}[_0xc984d6(0x1d7)](_0xc95f4e){var _0x19339f=_0xc984d6;const _0x3c3b7a=this['_injector'][_0x19339f(0x30f)](re,this['unitID'],this['type'],[_0xc95f4e],this[_0x19339f(0x292)]);return _0x3c3b7a['_schedule'](),_0x3c3b7a[_0x19339f(0x2ac)](),_0x3c3b7a;}[_0xc984d6(0x108)](_0x567b85){var _0x34a01c=_0xc984d6;if(this[_0x34a01c(0x2fb)](_0x567b85))return this[_0x34a01c(0x32f)][_0x34a01c(0x30f)](Q,this['unitID'],this[_0x34a01c(0x15c)],null,[],null,[_0x567b85],this[_0x34a01c(0x292)]);try{const _0x178bdb=this['_transformService'][_0x34a01c(0x294)](_0x567b85,[$s]);if(_0x7c477d(_0x178bdb)){const {c1Prime:_0xe08a20}=_0x178bdb;return this[_0x34a01c(0x28a)](_0xe08a20),this;}throw _0x178bdb['error'];}catch(_0x4c120e){return this[_0x34a01c(0x13a)]['error'](_0x4c120e),this[_0x34a01c(0x2e6)](!0x1);}}[_0xc984d6(0x2e6)](_0x4957c3){var _0x3107d6=_0xc984d6;return this[_0x3107d6(0x32f)][_0x3107d6(0x30f)](le,this[_0x3107d6(0x2ca)],this[_0x3107d6(0x15c)],null,[],this[_0x3107d6(0x292)],_0x4957c3);}[_0xc984d6(0x2e2)](){var _0x47f36d=_0xc984d6;throw new Error(_0x47f36d(0x2c2));}[_0xc984d6(0x290)](){var _0x17d643=_0xc984d6;throw new Error(_0x17d643(0x128));}[_0xc984d6(0x144)](){return this;}['toggleOffline'](){var _0x5dc32d=_0xc984d6;return this[_0x5dc32d(0x32f)][_0x5dc32d(0x30f)](ue,this[_0x5dc32d(0x2ca)],this[_0x5dc32d(0x15c)],null,[],this['_handler']);}[_0xc984d6(0xe2)](){return this;}[_0xc984d6(0x2d6)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x1962c6=_0xc984d6;const _0x2c77d2=this[_0x1962c6(0x196)]['getCurrentRevOfUnit'](this[_0x1962c6(0x2ca)]);return this[_0x1962c6(0x292)][_0x1962c6(0xff)]({'from':_0x2c77d2,'to':0x0}),this['_injector'][_0x1962c6(0x30f)](Q,this[_0x1962c6(0x2ca)],this[_0x1962c6(0x15c)],null,[],null,[],this[_0x1962c6(0x292)]);}};ye=Ee([P(0x3,_0x1b33f7(_0x580293)),P(0x4,_0x1b33f7(_0x557b98)),P(0x5,_0x57ee34),P(0x6,_0x43550f),P(0x7,_0x1e0842),P(0x8,_0x40fdb3),P(0x9,_0x136b0d(J))],ye);let re=class extends Ie{constructor(_0x123677,_0x117f6b,_0x1f3b4f,_0x3af0cf,_0x3037e1,_0x3a328c,_0x46c425,_0x19ff87,_0x33c8ba,_0x1cc596,_0x138a30,_0x2595bc,_0x26283e,_0x5163d6){var _0x106d36=_0xc984d6;super(_0x123677,_0x117f6b,null,_0x1f3b4f,_0x3af0cf,_0x33c8ba,_0x26283e,_0x3a328c,_0x5163d6),N(this,_0x106d36(0x391),_0x106d36(0x2dc)),N(this,_0x106d36(0x139),null),N(this,_0x106d36(0x278),null),(this['_injector']=_0x3037e1,this[_0x106d36(0x31d)]=_0x46c425,this[_0x106d36(0x13a)]=_0x19ff87,this[_0x106d36(0x2c3)]=_0x1cc596,this[_0x106d36(0x1db)]=_0x138a30,this[_0x106d36(0x392)]=_0x2595bc);}[_0xc984d6(0x1d7)](_0xae459f){var _0x1593f5=_0xc984d6;return this[_0x1593f5(0x248)][_0x1593f5(0x12e)](_0xae459f),this[_0x1593f5(0x2ac)](),this;}['onRemoteChangeset'](_0x599fbd){var _0x50b278=_0xc984d6;if(this[_0x50b278(0x2fb)](_0x599fbd))return this[_0x50b278(0x13b)](),this[_0x50b278(0x32f)]['createInstance'](Q,this[_0x50b278(0x2ca)],this['type'],null,this['_pendingMutations'],null,[_0x599fbd],this[_0x50b278(0x292)]);try{const _0x566be7=this['_transformService'][_0x50b278(0x294)](_0x599fbd,this[_0x50b278(0x248)]);if(_0x7c477d(_0x566be7)){const {c1Prime:_0x1cd768,m2Prime:_0x29f003}=_0x566be7;this[_0x50b278(0x28a)](_0x1cd768);const _0x54594b=this[_0x50b278(0x32f)][_0x50b278(0x30f)](re,this[_0x50b278(0x2ca)],this[_0x50b278(0x15c)],_0x29f003,this[_0x50b278(0x292)]);this['_clearScheduledTask']();const _0x3a6df3=new Date()[_0x50b278(0x1a9)](),_0x319035=this[_0x50b278(0x139)]?Math['max'](this[_0x50b278(0x139)]-_0x3a6df3,0x0):this['_getSendChangesetTimeout']();return _0x54594b[_0x50b278(0x34a)](_0x319035),_0x54594b;}throw _0x566be7[_0x50b278(0x31e)];}catch(_0x11f2df){return this[_0x50b278(0x13a)]['error'](_0x11f2df),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x1c6388=_0xc984d6;throw new Error(_0x1c6388(0x229));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0xc984d6(0x144)](){return this;}[_0xc984d6(0x24a)](){var _0x3bdfe9=_0xc984d6;return this[_0x3bdfe9(0x13b)](),this['_injector'][_0x3bdfe9(0x30f)](ue,this['unitID'],this[_0x3bdfe9(0x15c)],null,this['_pendingMutations'],this[_0x3bdfe9(0x292)]);}[_0xc984d6(0xe2)](){return this;}[_0xc984d6(0x34a)](_0x36559f){var _0x1dff86=_0xc984d6;const _0x1a4164=_0x36559f!=null?_0x36559f:this[_0x1dff86(0x210)]();this[_0x1dff86(0x139)]=new Date()[_0x1dff86(0x1a9)]()+_0x1a4164,this[_0x1dff86(0x278)]=setTimeout(()=>{var _0x19e376=_0x1dff86;this[_0x19e376(0x13b)]();let _0xcd2b0c=null;switch(this[_0x19e376(0x15c)]){case Z[_0x19e376(0x1dd)]:{_0xcd2b0c=Wt(this[_0x19e376(0x248)],this[_0x19e376(0x2ca)],this[_0x19e376(0x392)],this['_revisionService'],this[_0x19e376(0x31d)]);break;}case Z['UNIVER_DOC']:{this['_pendingMutations'][_0x19e376(0x29a)](_0x11de76=>_0x11de76['id']===_0x2c4da8['id'])?_0xcd2b0c=ks(this[_0x19e376(0x248)],this[_0x19e376(0x2ca)],this[_0x19e376(0x392)],this[_0x19e376(0x196)],this[_0x19e376(0x31d)]):_0xcd2b0c=Wt(this[_0x19e376(0x248)],this[_0x19e376(0x2ca)],this[_0x19e376(0x392)],this[_0x19e376(0x196)],this[_0x19e376(0x31d)]);break;}default:throw new Error(_0x19e376(0x19f)+this[_0x19e376(0x15c)]+_0x19e376(0x2b9));}const {changeset:_0x270f7e,pendingMutations:_0x17d77d}=_0xcd2b0c;this['_handler'][_0x19e376(0xe0)](_0x270f7e);const _0x2a8ead=_0x17d77d['length']?this['_injector'][_0x19e376(0x30f)](ae,this[_0x19e376(0x2ca)],this['type'],_0x270f7e,_0x17d77d,this[_0x19e376(0x292)],void 0x0):this[_0x19e376(0x32f)][_0x19e376(0x30f)](_e,this['unitID'],this[_0x19e376(0x15c)],_0x270f7e,this['_handler']);_0x2a8ead[_0x19e376(0x2ac)](),this[_0x19e376(0x292)][_0x19e376(0xdb)](this,_0x2a8ead);},_0x1a4164);}[_0xc984d6(0x210)](){var _0x16c0b9=_0xc984d6,_0x187029;const _0x4d3fef=this[_0x16c0b9(0x2c3)][_0x16c0b9(0x184)](K);return(_0x187029=_0x4d3fef==null?void 0x0:_0x4d3fef[_0x16c0b9(0x2d2)])!=null?_0x187029:ps;}[_0xc984d6(0x2d6)](){var _0x27c929=_0xc984d6;throw new Error(_0x27c929(0x21d));}[_0xc984d6(0x13b)](){var _0x4856b8=_0xc984d6;this[_0x4856b8(0x278)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x4856b8(0x278)]=null);}[_0xc984d6(0x2e6)](_0x7fa257){var _0x568559=_0xc984d6;return this['_clearScheduledTask'](),this[_0x568559(0x32f)][_0x568559(0x30f)](le,this[_0x568559(0x2ca)],this[_0x568559(0x15c)],null,this['_pendingMutations'],this[_0x568559(0x292)],_0x7fa257);}};re=Ee([P(0x4,_0x1b33f7(_0x557b98)),P(0x5,_0x1b33f7(_0x580293)),P(0x6,_0x1b33f7(we)),P(0x7,_0x1e0842),P(0x8,_0x43550f),P(0x9,_0x3d5ea3),P(0xa,_0x40fdb3),P(0xb,_0x1efe71),P(0xc,_0x57ee34),P(0xd,_0x136b0d(J))],re);let _e=class extends Ie{constructor(_0x5eb876,_0x267154,_0x58e123,_0x4af51a,_0x2a3311,_0x547563,_0x5030ad,_0x223325,_0x19803d,_0x300f09,_0x2a1f5f){var _0x56ebb8=_0xc984d6;super(_0x5eb876,_0x267154,_0x58e123,[],_0x4af51a,_0x5030ad,_0x300f09,_0x547563,_0x2a1f5f),N(this,_0x56ebb8(0x391),_0x56ebb8(0x388)),N(this,_0x56ebb8(0x349),0x0),N(this,_0x56ebb8(0x1e4)),N(this,_0x56ebb8(0x1de)),(this[_0x56ebb8(0x32f)]=_0x2a3311,this[_0x56ebb8(0x13a)]=_0x223325,this[_0x56ebb8(0x1db)]=_0x19803d);}[_0xc984d6(0x1d7)](_0x23b638){var _0x459277=_0xc984d6;this[_0x459277(0x13b)]();const _0x28b903=this[_0x459277(0x32f)][_0x459277(0x30f)](ae,this[_0x459277(0x2ca)],this[_0x459277(0x15c)],this['_awaitingChangeset'],[_0x23b638],this[_0x459277(0x292)],this['_resendTimer']);return _0x28b903[_0x459277(0x2ac)](),_0x28b903;}['onRemoteChangeset'](_0x2d743d){var _0x12c856=_0xc984d6;if(this[_0x12c856(0x2fb)](_0x2d743d))return this[_0x12c856(0x13b)](),this['_injector'][_0x12c856(0x30f)](Q,this[_0x12c856(0x2ca)],this[_0x12c856(0x15c)],this['_awaitingChangeset'],[],null,[_0x2d743d],this['_handler']);try{const _0x461477=this['_transformService']['transformChangesets']([_0x2d743d],[this[_0x12c856(0x10a)]],!0x1);if(_0x4dd8e9(_0x461477)){const {c1Prime:_0x4967ae,c2Prime:_0x1874b5}=_0x461477;this['_executeRemoteChangeset'](_0x4967ae[0x0]),_0x1874b5[0x0][_0x12c856(0x1f1)]=this[_0x12c856(0x244)](),this['_clearScheduledTask']();const _0x310ef0=this[_0x12c856(0x32f)][_0x12c856(0x30f)](_e,this[_0x12c856(0x2ca)],this[_0x12c856(0x15c)],_0x1874b5[0x0],this[_0x12c856(0x292)]);return _0x310ef0['_updateLocalCache'](),_0x310ef0;}return this['_onConflict'](!0x1);}catch(_0x1e6a70){return this[_0x12c856(0x13a)][_0x12c856(0x31e)](_0x1e6a70),this['_onConflict'](!0x1);}}[_0xc984d6(0x2e2)](_0x3b7dfd){var _0x33fd45=_0xc984d6;this['_clearScheduledTask']();const _0x33e0b1=this[_0x33fd45(0x196)]['getCurrentRevOfUnit'](this[_0x33fd45(0x2ca)]);if(_0x3b7dfd[_0x33fd45(0x1f0)]<_0x33e0b1-0x1)return this;if(this[_0x33fd45(0x2fb)](_0x3b7dfd))return this[_0x33fd45(0x32f)][_0x33fd45(0x30f)](Q,this[_0x33fd45(0x2ca)],this['type'],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x33fd45(0x2e4)]();const _0x38dcbe=this[_0x33fd45(0x32f)][_0x33fd45(0x30f)](ye,this[_0x33fd45(0x2ca)],this[_0x33fd45(0x15c)],this[_0x33fd45(0x292)]);return _0x38dcbe['_updateLocalCache'](),_0x38dcbe;}[_0xc984d6(0x290)](_0x750483){var _0x23c53a=_0xc984d6;return this[_0x23c53a(0x2e6)](!!(_0x750483!=null&&_0x750483[_0x23c53a(0x17a)]));}['onRemoteRetry'](_0x3e4726){var _0xc8610f=_0xc984d6;return this[_0xc8610f(0x349)]>Ii?this[_0xc8610f(0x24a)]():(this[_0xc8610f(0x1e4)]=Si(this[_0xc8610f(0x349)],{'timeout':this['_resendTimeout'],'reqId':_0x3e4726[_0xc8610f(0x12f)]}),this[_0xc8610f(0x1de)]=this[_0xc8610f(0x1e4)][_0xc8610f(0xf3)](({reqId:_0x355b57,timeout:_0x474793})=>{var _0x1b5446=_0xc8610f;this[_0x1b5446(0x276)](_0x355b57,_0x474793);}),this);}[_0xc984d6(0x24a)](){var _0x2f210d=_0xc984d6;return this[_0x2f210d(0x13b)](),this[_0x2f210d(0x32f)][_0x2f210d(0x30f)](ue,this[_0x2f210d(0x2ca)],this[_0x2f210d(0x15c)],this[_0x2f210d(0x10a)],[],this[_0x2f210d(0x292)]);}[_0xc984d6(0xe2)](){return this;}[_0xc984d6(0x2d6)](){var _0x1f12cb=_0xc984d6;this[_0x1f12cb(0x292)][_0x1f12cb(0xe0)](this[_0x1f12cb(0x10a)]);}[_0xc984d6(0x2e6)](_0xe66e6a){var _0x3f87ac=_0xc984d6;return this[_0x3f87ac(0x13b)](),this[_0x3f87ac(0x32f)][_0x3f87ac(0x30f)](le,this[_0x3f87ac(0x2ca)],this[_0x3f87ac(0x15c)],this['_awaitingChangeset'],[],this[_0x3f87ac(0x292)],_0xe66e6a);}['_resendWithTimeout'](_0x29c5ba,_0x8662d9){var _0x532c52=_0xc984d6,_0x2d0056;_0x29c5ba===((_0x2d0056=this['_awaitingChangeset'])==null?void 0x0:_0x2d0056[_0x532c52(0x12f)])&&(this[_0x532c52(0x2d6)](),this[_0x532c52(0x349)]=_0x8662d9===0x0?0x3e8:_0x8662d9*0x2);}[_0xc984d6(0x13b)](){var _0x1c6829=_0xc984d6,_0x1b09fc;(_0x1b09fc=this['_sender'])==null||_0x1b09fc['unsubscribe'](),this[_0x1c6829(0x349)]=0x0;}};_e=Ee([P(0x4,_0x1b33f7(_0x557b98)),P(0x5,_0x1b33f7(_0x580293)),P(0x6,_0x43550f),P(0x7,_0x1e0842),P(0x8,_0x40fdb3),P(0x9,_0x57ee34),P(0xa,_0x136b0d(J))],_e);let ae=class extends Ie{constructor(_0x4d65ed,_0xc0d3ee,_0x5f40b7,_0x237e5a,_0x546627,_0x502b1e,_0x2a7766,_0x2f38f1,_0x425f51,_0x5007c5,_0x221a0f,_0x56a42c,_0xbbce6b){var _0x108258=_0xc984d6;super(_0x4d65ed,_0xc0d3ee,_0x5f40b7,_0x237e5a,_0x546627,_0x425f51,_0x56a42c,_0x2f38f1,_0xbbce6b),N(this,_0x108258(0x391),_0x108258(0x35d)),N(this,_0x108258(0x349),0x0),N(this,_0x108258(0x1e4)),N(this,'_sender'),(this[_0x108258(0x32f)]=_0x2a7766,this['_logService']=_0x5007c5,this[_0x108258(0x1db)]=_0x221a0f,this[_0x108258(0x1f6)]=_0xbbce6b,_0x502b1e&&(this[_0x108258(0x1e4)]=_0x502b1e,this['_sender']=this[_0x108258(0x1e4)][_0x108258(0xf3)](({reqId:_0x5de337,timeout:_0x242ab6})=>{var _0x3fb2b4=_0x108258;this[_0x3fb2b4(0x276)](_0x5de337,_0x242ab6);})));}['appendMutation'](_0x5c49db){var _0x1323ba=_0xc984d6;return this[_0x1323ba(0x248)][_0x1323ba(0x12e)](_0x5c49db),this;}['onRemoteChangeset'](_0x5be338){var _0x4a74d3=_0xc984d6;if(this['_checkMissing'](_0x5be338))return this['_clearScheduledTask'](),this[_0x4a74d3(0x32f)][_0x4a74d3(0x30f)](Q,this[_0x4a74d3(0x2ca)],this[_0x4a74d3(0x15c)],this[_0x4a74d3(0x10a)],this[_0x4a74d3(0x248)],null,[_0x5be338],this[_0x4a74d3(0x292)]);try{const _0x3aaaca=this[_0x4a74d3(0x1db)]['transformChangesets']([_0x5be338],[this[_0x4a74d3(0x10a)]],!0x1);if(_0x4dd8e9(_0x3aaaca)){const {c1Prime:_0x198f78,c2Prime:_0x2fbfcb}=_0x3aaaca,_0x1d45df=this[_0x4a74d3(0x1db)]['transformMutationsWithChangeset'](_0x198f78[0x0],this['_pendingMutations']);if(_0x7c477d(_0x1d45df)){const {c1Prime:_0x472ec7,m2Prime:_0x578608}=_0x1d45df;return this['_executeRemoteChangeset'](_0x472ec7),_0x2fbfcb[0x0]['baseRev']=this[_0x4a74d3(0x244)](),this['_clearScheduledTask'](),this['_injector'][_0x4a74d3(0x30f)](ae,this[_0x4a74d3(0x2ca)],this['type'],_0x2fbfcb[0x0],_0x578608,this[_0x4a74d3(0x292)],void 0x0);}throw _0x1d45df[_0x4a74d3(0x31e)];}throw _0x3aaaca[_0x4a74d3(0x31e)];}catch(_0x44d123){return this[_0x4a74d3(0x13a)]['error'](_0x44d123),this['_onConflict'](!0x1);}}[_0xc984d6(0x2e2)](_0x34b5ad){var _0x379099=_0xc984d6;if(this['_clearScheduledTask'](),this[_0x379099(0x2fb)](_0x34b5ad))return this['_injector'][_0x379099(0x30f)](Q,this[_0x379099(0x2ca)],this[_0x379099(0x15c)],null,this['_pendingMutations'],this[_0x379099(0x10a)],[],this[_0x379099(0x292)]);this[_0x379099(0x2e4)]();const _0x337694=this[_0x379099(0x32f)][_0x379099(0x30f)](re,this[_0x379099(0x2ca)],this[_0x379099(0x15c)],this[_0x379099(0x248)],this['_handler']);return _0x337694['_schedule'](),_0x337694[_0x379099(0x2ac)](),_0x337694;}['onRemoteRej'](_0x240c59){var _0x308034=_0xc984d6;return this[_0x308034(0x2e6)](!!(_0x240c59!=null&&_0x240c59[_0x308034(0x17a)]));}['onRemoteRetry'](_0xe6408b){var _0x34d1ea=_0xc984d6;return this[_0x34d1ea(0x349)]>Ii?this[_0x34d1ea(0x24a)]():(this['_resendTimer']=Si(this[_0x34d1ea(0x349)],{'timeout':this[_0x34d1ea(0x349)],'reqId':_0xe6408b[_0x34d1ea(0x12f)]}),this['_sender']=this[_0x34d1ea(0x1e4)][_0x34d1ea(0xf3)](({reqId:_0x1d904b,timeout:_0x191d96})=>{var _0x37615=_0x34d1ea;this[_0x37615(0x276)](_0x1d904b,_0x191d96);}),this);}[_0xc984d6(0x24a)](){var _0x8fdc18=_0xc984d6;return this[_0x8fdc18(0x13b)](),this['_injector'][_0x8fdc18(0x30f)](ue,this[_0x8fdc18(0x2ca)],this[_0x8fdc18(0x15c)],this[_0x8fdc18(0x10a)],this[_0x8fdc18(0x248)],this['_handler']);}[_0xc984d6(0xe2)](){return this;}[_0xc984d6(0x2d6)](){var _0x2004f6=_0xc984d6;this['_handler'][_0x2004f6(0xe0)](this[_0x2004f6(0x10a)]);}['_onConflict'](_0x4ca080){var _0x72ead3=_0xc984d6;return this[_0x72ead3(0x13b)](),this['_injector'][_0x72ead3(0x30f)](le,this[_0x72ead3(0x2ca)],this[_0x72ead3(0x15c)],null,this[_0x72ead3(0x248)],this[_0x72ead3(0x292)],_0x4ca080);}[_0xc984d6(0x276)](_0x1d4097,_0x1b6222){var _0x4e61a4=_0xc984d6,_0x11e235;_0x1d4097===((_0x11e235=this['_awaitingChangeset'])==null?void 0x0:_0x11e235['reqId'])&&(this[_0x4e61a4(0x2d6)](),this[_0x4e61a4(0x349)]=_0x1b6222===0x0?0x3e8:_0x1b6222*0x2);}[_0xc984d6(0x13b)](){var _0x1ac641=_0xc984d6,_0x950189;(_0x950189=this[_0x1ac641(0x1de)])==null||_0x950189[_0x1ac641(0x342)](),this[_0x1ac641(0x349)]=0x0;}};ae=Ee([P(0x6,_0x1b33f7(_0x557b98)),P(0x7,_0x1b33f7(_0x580293)),P(0x8,_0x43550f),P(0x9,_0x1e0842),P(0xa,_0x40fdb3),P(0xb,_0x57ee34),P(0xc,_0x136b0d(J))],ae);let le=class extends Ie{constructor(_0x2fae3d,_0x4b6c7d,_0x2bbeef,_0x5ccd39,_0x293c5d,_0x57cc46=!0x1,_0x4edbcf,_0x18f89a,_0x2bf2d9,_0x30a233,_0x47fb4b,_0x392541,_0x407352){var _0x25362c=_0xc984d6;super(_0x2fae3d,_0x4b6c7d,_0x2bbeef,_0x5ccd39,_0x293c5d,_0x18f89a,_0x2bf2d9,_0x30a233,_0x407352),N(this,_0x25362c(0x391),_0x25362c(0x20f)),(this[_0x25362c(0x319)]=_0x57cc46,this[_0x25362c(0x283)]=_0x4edbcf,this['_localeService']=_0x47fb4b,this[_0x25362c(0x179)]=_0x392541,this[_0x25362c(0x1f6)]=_0x407352,this['_showConflictNotification'](),this[_0x25362c(0x102)](),this[_0x25362c(0x1b8)]());}[_0xc984d6(0x1d7)](){return this;}[_0xc984d6(0x108)](){return this;}[_0xc984d6(0x2e2)](){return this;}['onRemoteRej'](){return this;}[_0xc984d6(0x144)](){return this;}['toggleOffline'](){return this;}[_0xc984d6(0xe2)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xc984d6(0x102)](){var _0x49ba0b=_0xc984d6,_0x24973b;(_0x24973b=this[_0x49ba0b(0x1f5)])==null||_0x24973b['updateOfflineData'](this[_0x49ba0b(0x2ca)],this[_0x49ba0b(0x15c)],null,[]);}[_0xc984d6(0xd5)](){var _0x4ae50e=_0xc984d6;this[_0x4ae50e(0x319)]?this['_collaborationUIEventService'][_0x4ae50e(0x2bf)]({'id':ne[_0x4ae50e(0x109)]}):this[_0x4ae50e(0x179)]['emitEvent']({'id':ne[_0x4ae50e(0x311)]});}[_0xc984d6(0x1b8)](){var _0x3b89d5=_0xc984d6;this[_0x3b89d5(0x283)]['updatePermissionPoint'](new _0x215711(this['unitID'])['id'],!0x1);}};le=Ee([P(0x6,_0x1b33f7(_0x5beaef)),P(0x7,_0x43550f),P(0x8,_0x57ee34),P(0x9,_0x1b33f7(_0x580293)),P(0xa,_0x1b33f7(_0x5c4924)),P(0xb,_0x1b33f7(ve)),P(0xc,_0x136b0d(J))],le);let ue=class extends Ie{constructor(_0x4d7831,_0x2a7a74,_0x2ea66a,_0xd3ed47,_0x5761e4,_0x2a23f7,_0x584dc6,_0x1a2567,_0x187d97,_0x2582af){var _0x2a262c=_0xc984d6;super(_0x4d7831,_0x2a7a74,_0x2ea66a,_0xd3ed47,_0x5761e4,_0x1a2567,_0x187d97,_0x584dc6,_0x2582af),N(this,_0x2a262c(0x391),_0x2a262c(0x19d)),this[_0x2a262c(0x32f)]=_0x2a23f7;}['appendMutation'](_0x4b510c){var _0x4bbe84=_0xc984d6;return this[_0x4bbe84(0x248)][_0x4bbe84(0x12e)](_0x4b510c),this[_0x4bbe84(0x2ac)](),this;}[_0xc984d6(0x108)](_0x41910b){var _0x1603ef=_0xc984d6;throw new Error(_0x1603ef(0x2b8));}[_0xc984d6(0x2e2)](){var _0x222915=_0xc984d6;throw new Error(_0x222915(0x213));}[_0xc984d6(0x290)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0xc984d6(0x144)](){return this;}[_0xc984d6(0x24a)](){return this;}['toggleOnline'](){var _0x57d68c=_0xc984d6;const {_injector:_0x2c1b92,_pendingMutations:_0x1eb2e1,_awaitingChangeset:_0x39de26,unitID:_0x3cfb07,_handler:_0x5a038a,type:_0x52ef32}=this,_0x373428=Ti(_0x2c1b92,_0x3cfb07,_0x52ef32,_0x39de26,_0x1eb2e1,_0x5a038a);return _0x373428 instanceof re?_0x373428[_0x57d68c(0x34a)]():(_0x373428 instanceof ae||_0x373428 instanceof _e)&&_0x373428[_0x57d68c(0x2d6)](),_0x373428;}[_0xc984d6(0x2d6)](){var _0x2d8dfd=_0xc984d6;throw new Error(_0x2d8dfd(0x1a6));}};ue=Ee([P(0x5,_0x1b33f7(_0x557b98)),P(0x6,_0x1b33f7(_0x580293)),P(0x7,_0x43550f),P(0x8,_0x57ee34),P(0x9,_0x136b0d(J))],ue);let Q=class extends Ie{constructor(_0x244eb8,_0x78b220,_0xbd7882,_0xca6fb7,_0xc3b754,_0x5e7a50,_0x413489,_0x2b9f49,_0x36ad52,_0x125f0a,_0x30137b,_0x4bf93e,_0xc79c6c,_0x1bd985){var _0x2410cb=_0xc984d6;super(_0x244eb8,_0x78b220,_0xbd7882,_0xca6fb7,_0x413489,_0x30137b,_0x4bf93e,_0x36ad52,_0x1bd985),N(this,_0x2410cb(0x391),_0x2410cb(0x39e)),(this[_0x2410cb(0x22b)]=_0xc3b754,this['_queuedRemoteChangesets']=_0x5e7a50,this['_injector']=_0x2b9f49,this[_0x2410cb(0x13a)]=_0x125f0a,this[_0x2410cb(0x1db)]=_0xc79c6c,this['localCacheService']=_0x1bd985);}[_0xc984d6(0x16c)](_0x49cbe6){var _0x2d38d0=_0xc984d6;try{const _0x3910a9=[..._0x49cbe6,...this[_0x2d38d0(0x221)]],_0x3fe310=[this[_0x2d38d0(0x10a)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x8cb329=>!!_0x8cb329);let _0x526761,_0x523f4b;if(_0x3fe310[_0x2d38d0(0xfb)]){const _0x1e3098=this[_0x2d38d0(0x1db)]['transformChangesets'](_0x3910a9,_0x3fe310,!0x1);if(!_0x4dd8e9(_0x1e3098))throw _0x1e3098[_0x2d38d0(0x31e)];_0x526761=_0x1e3098[_0x2d38d0(0x3b5)],_0x523f4b=_0x1e3098[_0x2d38d0(0x34e)];}else _0x526761=_0x3910a9,_0x523f4b=[];let _0x4822e6=this[_0x2d38d0(0x248)];_0x526761['forEach'](_0x2fd249=>{var _0x298878=_0x2d38d0;let _0x5ec89b;if(_0x4822e6[_0x298878(0xfb)]){const _0x72c4ec=this[_0x298878(0x1db)]['transformMutationsWithChangeset'](_0x2fd249,_0x4822e6);if(!_0x7c477d(_0x72c4ec))throw _0x72c4ec[_0x298878(0x31e)];_0x5ec89b=_0x72c4ec['c1Prime'],_0x4822e6=_0x72c4ec[_0x298878(0x19b)];}else _0x5ec89b=_0x2fd249;this[_0x298878(0x28a)](_0x5ec89b);}),this[_0x2d38d0(0x22b)]&&this['_incrementRevisionNumber'](),this[_0x2d38d0(0x10a)]&&_0x523f4b[_0x2d38d0(0xfb)]&&(_0x523f4b[0x0]['baseRev']=this[_0x2d38d0(0x244)]());let _0x5b2ca8;if(this[_0x2d38d0(0x10a)]&&_0x4822e6[_0x2d38d0(0xfb)]!==0x0)_0x5b2ca8=this[_0x2d38d0(0x32f)]['createInstance'](ae,this['unitID'],this[_0x2d38d0(0x15c)],_0x523f4b[0x0],_0x4822e6,this[_0x2d38d0(0x292)],void 0x0);else{if(this[_0x2d38d0(0x10a)]&&_0x4822e6[_0x2d38d0(0xfb)]===0x0)_0x523f4b[0x0][_0x2d38d0(0x1f1)]=this['_getCurrentRevision'](),_0x5b2ca8=this['_injector'][_0x2d38d0(0x30f)](_e,this['unitID'],this[_0x2d38d0(0x15c)],_0x523f4b[0x0],this[_0x2d38d0(0x292)]);else{if(_0x4822e6[_0x2d38d0(0xfb)]!==0x0){const _0x45455f=this[_0x2d38d0(0x32f)][_0x2d38d0(0x30f)](re,this[_0x2d38d0(0x2ca)],this[_0x2d38d0(0x15c)],_0x4822e6,this[_0x2d38d0(0x292)]);_0x45455f[_0x2d38d0(0x34a)](),_0x5b2ca8=_0x45455f;}else _0x5b2ca8=this[_0x2d38d0(0x32f)]['createInstance'](ye,this[_0x2d38d0(0x2ca)],this[_0x2d38d0(0x15c)],this[_0x2d38d0(0x292)]);}}return _0x5b2ca8[_0x2d38d0(0x2ac)](),_0x5b2ca8;}catch(_0x101c3c){return this[_0x2d38d0(0x13a)]['error']('[FetchMissState]',_0x2d38d0(0x25b),_0x101c3c),this[_0x2d38d0(0x32f)][_0x2d38d0(0x30f)](le,this[_0x2d38d0(0x2ca)],this[_0x2d38d0(0x15c)],this[_0x2d38d0(0x10a)],this[_0x2d38d0(0x248)],this[_0x2d38d0(0x292)],!0x1);}}[_0xc984d6(0x2d6)](){var _0x22df23=_0xc984d6;throw new Error(_0x22df23(0x24e));}[_0xc984d6(0x1d7)](_0x557550){var _0x115a67=_0xc984d6;return this[_0x115a67(0x248)]['push'](_0x557550),this;}[_0xc984d6(0x108)](_0x11a0b8){var _0x3bbdbd=_0xc984d6;return this[_0x3bbdbd(0x221)][_0x3bbdbd(0x12e)](_0x11a0b8),this;}['onRemoteAck'](_0x42f191){var _0x39d434=_0xc984d6;if(this[_0x39d434(0x10a)])return this[_0x39d434(0x22b)]=this[_0x39d434(0x10a)],this['_awaitingChangeset']=null,this;throw new Error(_0x39d434(0x183));}[_0xc984d6(0x290)](_0x37f066){var _0x19dc11=_0xc984d6;return this[_0x19dc11(0x2e6)](!!(_0x37f066!=null&&_0x37f066[_0x19dc11(0x17a)]));}[_0xc984d6(0x144)](){return this;}[_0xc984d6(0x24a)](){var _0x14424f=_0xc984d6;return this[_0x14424f(0x32f)][_0x14424f(0x30f)](ue,this['unitID'],this[_0x14424f(0x15c)],this['_awaitingChangeset'],this[_0x14424f(0x248)],this[_0x14424f(0x292)]);}[_0xc984d6(0xe2)](){return this;}[_0xc984d6(0x2e6)](_0x1a4902){var _0x769cea=_0xc984d6;return this[_0x769cea(0x32f)][_0x769cea(0x30f)](le,this[_0x769cea(0x2ca)],this[_0x769cea(0x15c)],this[_0x769cea(0x10a)],this['_pendingMutations'],this[_0x769cea(0x292)],_0x1a4902);}};Q=Ee([P(0x7,_0x1b33f7(_0x557b98)),P(0x8,_0x1b33f7(_0x580293)),P(0x9,_0x1e0842),P(0xa,_0x43550f),P(0xb,_0x57ee34),P(0xc,_0x40fdb3),P(0xd,_0x136b0d(J))],Q);function Ti(_0x54e0ea,_0x2f6f01,_0x336d2b,_0x4df1c0,_0x4672cb,_0x49434e){var _0x18c17f=_0xc984d6;return _0x4df1c0&&_0x4672cb[_0x18c17f(0xfb)]?_0x54e0ea[_0x18c17f(0x30f)](ae,_0x2f6f01,_0x336d2b,_0x4df1c0,_0x4672cb,_0x49434e,void 0x0):_0x4df1c0?_0x54e0ea[_0x18c17f(0x30f)](_e,_0x2f6f01,_0x336d2b,_0x4df1c0,_0x49434e):_0x4672cb['length']?_0x54e0ea['createInstance'](re,_0x2f6f01,_0x336d2b,_0x4672cb,_0x49434e):_0x54e0ea[_0x18c17f(0x30f)](ye,_0x2f6f01,_0x336d2b,_0x49434e);}var Bs=Object[_0xc984d6(0x132)],wt=(_0x411c10,_0x4ed220,_0x3c65c6,_0x4a8d65)=>{var _0x14dd92=_0xc984d6;for(var _0x68d8b2=_0x4a8d65>0x1?void 0x0:_0x4a8d65?Bs(_0x4ed220,_0x3c65c6):_0x4ed220,_0x16538d=_0x411c10[_0x14dd92(0xfb)]-0x1,_0x3cbd30;_0x16538d>=0x0;_0x16538d--)(_0x3cbd30=_0x411c10[_0x16538d])&&(_0x68d8b2=_0x3cbd30(_0x68d8b2)||_0x68d8b2);return _0x68d8b2;},H=(_0xa811b3,_0x46cbd9)=>(_0x2d94fa,_0x307613)=>_0x46cbd9(_0x2d94fa,_0x307613,_0xa811b3);let st=class extends _0x34821a{constructor(_0x2577d4,_0x21f423,_0xf30262,_0x3c8251,_0x1729f9,_0x57ffbf,_0x745e09,_0x41b8d3,_0x29a1ca,_0x21960a,_0x197378,_0x3049e7,_0x36aea2){var _0x5814f8=_0xc984d6;super(),N(this,_0x5814f8(0x140),new _0x20ba1f(null)),N(this,_0x5814f8(0x133),this['_state$']['asObservable']()),N(this,'_state'),N(this,'_collaborationPaused',!0x1),N(this,'_changesetSessionId',''),N(this,_0x5814f8(0x336),0x0),N(this,'status$',this[_0x5814f8(0x133)][_0x5814f8(0x186)](_0x478e87(_0x3c99c6=>_0x3c99c6?_0x3c99c6[_0x5814f8(0x391)]:Ei[_0x5814f8(0x110)]),_0x4f198a(0x1))),N(this,_0x5814f8(0x2d4),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x5814f8(0x2ca)]=_0x2577d4,this['session']=_0x21f423,this[_0x5814f8(0xcb)]=_0xf30262,this[_0x5814f8(0x32f)]=_0x3c8251,this[_0x5814f8(0x28c)]=_0x1729f9,this[_0x5814f8(0x2d7)]=_0x57ffbf,this[_0x5814f8(0x196)]=_0x745e09,this[_0x5814f8(0x3ab)]=_0x41b8d3,this[_0x5814f8(0x13a)]=_0x29a1ca,this[_0x5814f8(0x3c0)]=_0x21960a,this[_0x5814f8(0x283)]=_0x197378,this[_0x5814f8(0xea)]=_0x3049e7,this['_localCacheService']=_0x36aea2);}get[_0xc984d6(0x34f)](){var _0x5c8384=_0xc984d6;return this[_0x5c8384(0x205)];}async[_0xc984d6(0x150)](){var _0x41cefb=_0xc984d6;if(this[_0x41cefb(0x34f)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x41cefb(0x325)]();}[_0xc984d6(0x2e5)](){var _0x24c730=_0xc984d6;return this[_0x24c730(0x23e)]=!0x0,_0x2a79a1(()=>{var _0x172fc8=_0x24c730;this['_collaborationPaused']=!0x1,this[_0x172fc8(0x377)]();});}['onLocalMutation'](_0x425ecb){var _0x5d97bc=_0xc984d6;this[_0x5d97bc(0x28d)](_0x425ecb);}[_0xc984d6(0x253)](_0x29aa59){var _0x3f3ae4=_0xc984d6;this[_0x3f3ae4(0x205)]=_0x29aa59,this['_state$']['next'](_0x29aa59);}async[_0xc984d6(0x325)](){var _0x20f419=_0xc984d6,_0x486d3a;this['_updateState'](await this[_0x20f419(0x1a7)]()),this[_0x20f419(0xea)]&&((_0x486d3a=this[_0x20f419(0xea)])==null||_0x486d3a[_0x20f419(0xd2)](this[_0x20f419(0x2ca)]),this[_0x20f419(0x1f7)](this['_singleActiveUnitService'][_0x20f419(0x254)](this['unitID'])[_0x20f419(0xf3)](_0x2db77e=>{var _0x1d1556=_0x20f419;this[_0x1d1556(0x13a)][_0x1d1556(0x166)]('[CollaborationEntity]',_0x1d1556(0x2a0),_0x2db77e),_0x2db77e===gi['OTHER_CLIENTS_EDITING']?(this[_0x1d1556(0x3ab)][_0x1d1556(0x2bf)]({'id':ne[_0x1d1556(0x16f)]}),this['_permissionService']['updatePermissionPoint'](new _0x215711(this['unitID'])['id'],!0x1),this[_0x1d1556(0x283)][_0x1d1556(0x371)](!0x1)):(this[_0x1d1556(0x283)][_0x1d1556(0x368)](new _0x215711(this[_0x1d1556(0x2ca)])['id'],!0x0),this[_0x1d1556(0x283)][_0x1d1556(0x371)](!0x0));})));let _0xd670f2=!0x1;return this[_0x20f419(0x1f7)](this[_0x20f419(0x24d)]['sessionStatus$']['subscribe'](_0x49e59a=>{var _0x5e95a6=_0x20f419;_0x49e59a===ge[_0x5e95a6(0x2b5)]?this['_toggleOnline'](_0xd670f2):_0x49e59a===ge['OFFLINE']&&(_0xd670f2=!0x0,this[_0x5e95a6(0xe7)]());})),this[_0x20f419(0x1f7)](this['session'][_0x20f419(0x1c3)]['subscribe'](_0x2bd63e=>{var _0x1140ab=_0x20f419;try{switch(_0x2bd63e['eventID']){case _0x550a0b[_0x1140ab(0x169)]:{this[_0x1140ab(0x27b)](_0x267314(_0x2bd63e[_0x1140ab(0x185)]));break;}case _0x550a0b[_0x1140ab(0x316)]:{this[_0x1140ab(0x25c)](_0x2bd63e[_0x1140ab(0x185)]);break;}case _0x550a0b['CHANGESET_REJ']:{this[_0x1140ab(0x10f)]();break;}case _0x550a0b[_0x1140ab(0x2c9)]:{this[_0x1140ab(0x1b1)](_0x2bd63e[_0x1140ab(0x185)]);break;}case _0x550a0b[_0x1140ab(0x2bb)]:{this[_0x1140ab(0x3a3)](_0x2bd63e[_0x1140ab(0x185)][_0x1140ab(0x32c)][_0x1140ab(0x2b0)](_0x2bf42d=>_0x267314(_0x2bf42d)));break;}case _0x550a0b[_0x1140ab(0x2fe)]:{this[_0x1140ab(0x10f)]({'isPermissionRej':!0x0});break;}case _0x550a0b[_0x1140ab(0x299)]:break;}}catch(_0x1da274){throw console[_0x1140ab(0x31e)](_0x1140ab(0x106),_0x1da274),_0x1da274;}})),this[_0x20f419(0x205)];}[_0xc984d6(0x21f)](){var _0xb925f=_0xc984d6;this[_0xb925f(0x2d4)]=!0x1;}[_0xc984d6(0x170)](){var _0x1ab527=_0xc984d6;if(this[_0x1ab527(0x2d4)])throw new Error(_0x1ab527(0x2cd));this[_0x1ab527(0x2d4)]=!0x0;}['_onLocalMutation'](_0x4763f6){var _0x543f48=_0xc984d6;this[_0x543f48(0x170)](),this['_updateState'](this[_0x543f48(0x205)][_0x543f48(0x1d7)](_0x4763f6)),this[_0x543f48(0x21f)]();}['_onRemoteChangeset'](_0x4f2a91){var _0x39e2d3=_0xc984d6;if(!(_0x4f2a91[_0x39e2d3(0x1f0)]<=this[_0x39e2d3(0x196)][_0x39e2d3(0xf0)](this[_0x39e2d3(0x2ca)]))){if(this[_0x39e2d3(0x23e)]){this[_0x39e2d3(0x245)][_0x39e2d3(0x12e)](_0x4f2a91);return;}this[_0x39e2d3(0x274)](_0x4f2a91);}}[_0xc984d6(0x377)](){var _0x501118=_0xc984d6;this['_remoteChangesetQueue'][_0x501118(0x35c)](_0x39aa9f=>this[_0x501118(0x274)](_0x39aa9f)),this['_remoteChangesetQueue']=[];}[_0xc984d6(0x274)](_0x4242b4){var _0x5df270=_0xc984d6;const _0x1b6f70=this[_0x5df270(0x28c)][_0x5df270(0x273)][_0x5df270(0x345)](this[_0x5df270(0x28c)][_0x5df270(0x273)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x4242b4['mutations'],null)||_0x4242b4[_0x5df270(0x1fb)],_0x429416={..._0x4242b4,'mutations':_0x1b6f70};this['_lockTransition'](),this[_0x5df270(0x253)](this['_state'][_0x5df270(0x108)](_0x429416)),this[_0x5df270(0x21f)]();}[_0xc984d6(0x25c)](_0x2133ec){var _0x504456=_0xc984d6;this[_0x504456(0x170)](),this[_0x504456(0x253)](this['_state'][_0x504456(0x2e2)](_0x2133ec)),this[_0x504456(0x21f)]();}[_0xc984d6(0x10f)](_0x5c2c72){var _0x35951d=_0xc984d6;this[_0x35951d(0x170)](),this[_0x35951d(0x253)](this[_0x35951d(0x205)][_0x35951d(0x290)](_0x5c2c72)),this['_unlockTransition']();}[_0xc984d6(0x1b1)](_0x3c7382){var _0x12cc8e=_0xc984d6;this['_lockTransition'](),this['_updateState'](this[_0x12cc8e(0x205)]['onRemoteRetry'](_0x3c7382)),this['_unlockTransition']();}[_0xc984d6(0x3a3)](_0xab7641){var _0x39d709=_0xc984d6;if(!(this[_0x39d709(0x205)]instanceof Q))throw new TypeError(_0x39d709(0x38b));const _0x531789=_0xab7641[_0x39d709(0x2b0)](_0x5cf034=>{var _0x429b0b=_0x39d709;const _0x452bd0=this[_0x429b0b(0x28c)][_0x429b0b(0x273)][_0x429b0b(0x345)](this[_0x429b0b(0x28c)]['interceptor'][_0x429b0b(0xce)]()[_0x429b0b(0x2f3)])(_0x5cf034[_0x429b0b(0x1fb)],null)||_0x5cf034[_0x429b0b(0x1fb)];return{..._0x5cf034,'mutations':_0x452bd0};});this[_0x39d709(0x170)](),this[_0x39d709(0x253)](this[_0x39d709(0x205)][_0x39d709(0x16c)](_0x531789)),this[_0x39d709(0x21f)]();}[_0xc984d6(0xe7)](){var _0x3ac365=_0xc984d6;this[_0x3ac365(0x170)](),this[_0x3ac365(0x253)](this[_0x3ac365(0x205)][_0x3ac365(0x24a)]()),this[_0x3ac365(0x21f)]();}['_toggleOnline'](_0x4c84f3=!0x1){var _0x20de23=_0xc984d6;this[_0x20de23(0x170)](),this['_updateState'](this[_0x20de23(0x205)]['toggleOnline']()),this['_unlockTransition']();const _0x2d0e63=this[_0x20de23(0x205)];_0x4c84f3&&_0x2d0e63 instanceof ye&&(this[_0x20de23(0x170)](),this[_0x20de23(0x253)](_0x2d0e63['fetchMiss']()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x520ad2=>{var _0x275c86=_0x4af8;this[_0x275c86(0x24d)]['sessionStatus$'][_0x275c86(0x186)](_0x3c26f3(0x1))[_0x275c86(0xf3)](async _0x3ad8ba=>{var _0x27c3e2=_0x275c86;_0x520ad2(await this[_0x27c3e2(0x257)](_0x3ad8ba===ge[_0x27c3e2(0x2b5)]));});});}[_0xc984d6(0x315)](){var _0x38d85c=_0xc984d6;const _0x59af3a=this[_0x38d85c(0x2ca)];return{'onStateChange':(_0x11a3ae,_0x57eef1)=>{var _0x57d4f7=_0x38d85c;if(_0x11a3ae!==this[_0x57d4f7(0x205)])throw new Error(_0x57d4f7(0x3ac)+_0x11a3ae[_0x57d4f7(0x391)]+'\x0aAfter:\x20'+_0x57eef1[_0x57d4f7(0x391)]+_0x57d4f7(0xd1)+this[_0x57d4f7(0x205)]['status']);this[_0x57d4f7(0x253)](_0x57eef1);},'onSendChangeset':_0x5e8d5e=>{var _0x2f7cc1=_0x38d85c;_0x5e8d5e['sid']||(_0x5e8d5e[_0x2f7cc1(0x21b)]=this[_0x2f7cc1(0x2ee)],_0x5e8d5e[_0x2f7cc1(0x12f)]=++this[_0x2f7cc1(0x336)]);const _0x4b740c={'eventID':_0x550a0b[_0x2f7cc1(0x175)],'data':{'unitID':_0x5e8d5e['unitID'],'unitType':this['_type'],'changeset':_0x5e8d5e,'memberID':this[_0x2f7cc1(0x24d)][_0x2f7cc1(0x16a)]()}};this['session']['send'](_0x4b740c,this[_0x2f7cc1(0x2ca)]);},'onMissingChangesets':({from:_0xc41d3a,to:_0x58c7bc})=>{var _0x29b8dd=_0x38d85c;this['_logService'][_0x29b8dd(0x166)](_0x29b8dd(0x3a1),'fetching\x20missing\x20changesets\x20from\x20'+_0xc41d3a+_0x29b8dd(0x318)+_0x58c7bc);const _0x11053c={'eventID':_0x550a0b['FETCH_MISSING'],'data':{'unitID':_0x59af3a,'unitType':this[_0x29b8dd(0xcb)],'from':_0xc41d3a,'to':_0x58c7bc}};this[_0x29b8dd(0x24d)][_0x29b8dd(0x119)](_0x11053c,this['unitID']);}};}async[_0xc984d6(0x257)](_0x1a718a){var _0x5a9611=_0xc984d6,_0x42d9c7,_0x1124e7,_0x22e023;const _0x3e8de2=await((_0x42d9c7=this[_0x5a9611(0x1f5)])==null?void 0x0:_0x42d9c7['loadOfflineData'](this[_0x5a9611(0x2ca)])),_0x5fe140=(_0x1124e7=_0x3e8de2==null?void 0x0:_0x3e8de2[_0x5a9611(0x1fb)])!=null?_0x1124e7:[],_0x15b3d2=(_0x22e023=_0x3e8de2==null?void 0x0:_0x3e8de2[_0x5a9611(0x114)])!=null?_0x22e023:null,_0x3abaa6=!!(_0x15b3d2!=null&&_0x15b3d2[_0x5a9611(0x21b)])&&!!(_0x15b3d2!=null&&_0x15b3d2['reqId']);this[_0x5a9611(0x2ee)]=_0x3abaa6?_0x15b3d2['sid']:_0x1c84c2(),this[_0x5a9611(0x336)]=_0x3abaa6?_0x15b3d2['reqId']:0x0;const _0x32b81f=this[_0x5a9611(0x2ca)];try{this[_0x5a9611(0x10d)](_0x15b3d2,_0x5fe140);}catch(_0x24f7a0){this[_0x5a9611(0x13a)]['error'](_0x24f7a0);}const _0xa848b6=this[_0x5a9611(0x315)]();if(_0x1a718a){const _0x3c123e=Ti(this[_0x5a9611(0x32f)],_0x32b81f,this[_0x5a9611(0xcb)],_0x15b3d2,_0x5fe140,_0xa848b6);return _0x3c123e instanceof re?_0x3c123e[_0x5a9611(0x34a)]():(_0x3c123e instanceof ae||_0x3c123e instanceof _e)&&_0x3c123e[_0x5a9611(0x2d6)](),_0x3c123e;}return this[_0x5a9611(0x32f)][_0x5a9611(0x30f)](ue,_0x32b81f,this[_0x5a9611(0xcb)],_0x15b3d2,_0x5fe140,_0xa848b6);}[_0xc984d6(0x10d)](_0x3daa52,_0x19e03b){var _0xafbf34=_0xc984d6,_0xf2d695,_0x5223d0;const _0x2a0d06=this[_0xafbf34(0x28c)][_0xafbf34(0x273)][_0xafbf34(0x345)](this[_0xafbf34(0x28c)]['interceptor']['getInterceptPoints']()[_0xafbf34(0x2f3)]);(_0xf2d695=_0x2a0d06((_0x3daa52==null?void 0x0:_0x3daa52[_0xafbf34(0x1fb)])||[],null))==null||_0xf2d695[_0xafbf34(0x35c)](_0x1cffae=>this['_commandService'][_0xafbf34(0x1b5)](_0x1cffae['id'],_0x1cffae[_0xafbf34(0x120)])),(_0x5223d0=_0x2a0d06(_0x19e03b||[],null))==null||_0x5223d0['forEach'](_0x4de9bd=>this[_0xafbf34(0x3c0)][_0xafbf34(0x1b5)](_0x4de9bd['id'],_0x4de9bd[_0xafbf34(0x120)]));}};st=wt([H(0x3,_0x1b33f7(_0x557b98)),H(0x4,_0x1b33f7(_0x4b68b6)),H(0x5,_0x1b33f7(_0x5c4924)),H(0x6,_0x1b33f7(_0x580293)),H(0x7,_0x1b33f7(ve)),H(0x8,_0x1e0842),H(0x9,_0x43550f),H(0xa,_0x5beaef),H(0xb,_0x136b0d(ht)),H(0xc,_0x136b0d(J))],st);let St=class extends st{constructor(_0x20a43c,_0x29e600,_0x4ebf88,_0x18c1bb,_0x38ee42,_0x97f1c,_0x3b1609,_0x4eb298,_0x2f4bff,_0x3d4a2a,_0x5bf88a,_0x845b5d,_0x5d9e21){var _0x538c89=_0xc984d6;super(_0x20a43c,_0x4ebf88,_0x29e600,_0x18c1bb,_0x38ee42,_0x97f1c,_0x3b1609,_0x4eb298,_0x2f4bff,_0x3d4a2a,_0x5bf88a,_0x845b5d,_0x5d9e21),N(this,_0x538c89(0x14f),null),(this[_0x538c89(0x2ca)]=_0x20a43c,this[_0x538c89(0x15c)]=_0x29e600);}[_0xc984d6(0x295)](_0x395849){this['_handlerCallback']=_0x395849;}[_0xc984d6(0x2a4)](){var _0x584e67=_0xc984d6;this['_handlerCallback']=null,super[_0x584e67(0x2a4)]();}[_0xc984d6(0x315)](){var _0x5a594b=_0xc984d6;const _0x573e00=super[_0x5a594b(0x315)]();return _0x573e00[_0x5a594b(0x30b)]=_0x46f704=>{var _0x296497=_0x5a594b,_0x1c0976,_0x4a56bf;return(_0x4a56bf=(_0x1c0976=this[_0x296497(0x14f)])==null?void 0x0:_0x1c0976[_0x296497(0x30b)])==null?void 0x0:_0x4a56bf['call'](_0x1c0976,_0x46f704);},_0x573e00[_0x5a594b(0x226)]=_0x30b54d=>{var _0x57f117=_0x5a594b,_0x4bc0c3,_0x2a02d5;return(_0x2a02d5=(_0x4bc0c3=this[_0x57f117(0x14f)])==null?void 0x0:_0x4bc0c3[_0x57f117(0x226)])==null?void 0x0:_0x2a02d5['call'](_0x4bc0c3,_0x30b54d);},_0x573e00[_0x5a594b(0x26b)]=_0x3b23d1=>{var _0x53da18=_0x5a594b,_0x587135,_0x2fc6d3;return(_0x2fc6d3=(_0x587135=this[_0x53da18(0x14f)])==null?void 0x0:_0x587135['onTransformSelections'])==null?void 0x0:_0x2fc6d3[_0x53da18(0x2d0)](_0x587135,_0x3b23d1);},_0x573e00[_0x5a594b(0x216)]=_0x576f20=>{var _0x298c78=_0x5a594b,_0x908f83,_0x5b9c0c;return(_0x5b9c0c=(_0x908f83=this[_0x298c78(0x14f)])==null?void 0x0:_0x908f83[_0x298c78(0x216)])==null?void 0x0:_0x5b9c0c[_0x298c78(0x2d0)](_0x908f83,_0x576f20);},_0x573e00['onTransformRemoteChangesetByIMECache']=_0x3f393e=>{var _0x31bd49=_0x5a594b,_0x7916a1,_0x124e64,_0x58801a;if(!((_0x7916a1=this[_0x31bd49(0x14f)])!=null&&_0x7916a1[_0x31bd49(0x309)]))throw new Error(_0x31bd49(0x37d));return(_0x58801a=(_0x124e64=this['_handlerCallback'])==null?void 0x0:_0x124e64[_0x31bd49(0x309)])==null?void 0x0:_0x58801a[_0x31bd49(0x2d0)](_0x124e64,_0x3f393e);},_0x573e00[_0x5a594b(0x2b1)]=_0x5af762=>{var _0x5910ab=_0x5a594b,_0x2ac5b5,_0x6ffc59,_0x537d90;if(!((_0x2ac5b5=this['_handlerCallback'])!=null&&_0x2ac5b5[_0x5910ab(0x2b1)]))throw new Error(_0x5910ab(0x380));return(_0x537d90=(_0x6ffc59=this['_handlerCallback'])==null?void 0x0:_0x6ffc59[_0x5910ab(0x2b1)])==null?void 0x0:_0x537d90[_0x5910ab(0x2d0)](_0x6ffc59,_0x5af762);},_0x573e00;}async['_init'](){var _0x3a60d2=_0xc984d6;const _0x13ebd2=await super[_0x3a60d2(0x325)]();return this[_0x3a60d2(0x1f7)](this[_0x3a60d2(0x3c0)][_0x3a60d2(0x22d)]((_0xf8fc7e,_0x2c1b54)=>{var _0xd07145=_0x3a60d2;if(_0xf8fc7e[_0xd07145(0x15c)]!==_0x1b6150[_0xd07145(0x2be)]||_0x2c1b54!=null&&_0x2c1b54['fromCollab']||_0x2c1b54!=null&&_0x2c1b54['onlyLocal']||_0xf8fc7e['id']===_0x2c4da8['id'])return;const _0x4c0e7d=_0xf8fc7e['params'];if((_0x4c0e7d==null?void 0x0:_0x4c0e7d['unitId'])!==this[_0xd07145(0x2ca)])return;const _0x152860=_0xf8fc7e,_0x459ce0=this[_0xd07145(0x28c)][_0xd07145(0x273)]['fetchThroughInterceptors'](this[_0xd07145(0x28c)]['interceptor'][_0xd07145(0xce)]()[_0xd07145(0x313)])([_0x152860],null)||[_0x152860];this[_0xd07145(0x28d)](_0x459ce0[0x0]);})),_0x13ebd2;}};St=wt([H(0x3,_0x1b33f7(_0x557b98)),H(0x4,_0x1b33f7(_0x4b68b6)),H(0x5,_0x1b33f7(_0x5c4924)),H(0x6,_0x1b33f7(_0x580293)),H(0x7,_0x1b33f7(ve)),H(0x8,_0x1e0842),H(0x9,_0x43550f),H(0xa,_0x5beaef),H(0xb,_0x136b0d(ht)),H(0xc,_0x136b0d(J))],St);let Et=class extends st{constructor(_0x42e2bd,_0x59e10d,_0x26e963,_0x50cdd,_0x509655,_0x58e4da,_0x42a819,_0x3f9c1b,_0x493b9a,_0x2e7610,_0x42c79b,_0x1b65db,_0x4b38dc,_0x2ab24e){var _0x2020e4=_0xc984d6;super(_0x42e2bd,_0x26e963,_0x59e10d,_0x50cdd,_0x509655,_0x58e4da,_0x42a819,_0x493b9a,_0x2e7610,_0x42c79b,_0x1b65db,_0x4b38dc,_0x2ab24e),this[_0x2020e4(0x2ca)]=_0x42e2bd,this[_0x2020e4(0x15c)]=_0x59e10d,this[_0x2020e4(0x2db)]=_0x3f9c1b;}[_0xc984d6(0x315)](){var _0x519956=_0xc984d6;const _0x357cd3=super[_0x519956(0x315)]();return _0x357cd3[_0x519956(0x26b)]=_0x1ca267=>this[_0x519956(0x2db)]['transformSelections'](_0x1ca267),_0x357cd3;}async[_0xc984d6(0x325)](){var _0x247d82=_0xc984d6;const _0x5d76c4=await super[_0x247d82(0x325)]();return this['disposeWithMe'](this[_0x247d82(0x3c0)][_0x247d82(0x22d)]((_0x35253d,_0x52d416)=>{var _0x55c731=_0x247d82;if(_0x35253d[_0x55c731(0x15c)]!==_0x1b6150[_0x55c731(0x2be)]||_0x52d416!=null&&_0x52d416[_0x55c731(0x3c2)]||_0x52d416!=null&&_0x52d416['onlyLocal'])return;const _0x233ec2=_0x35253d[_0x55c731(0x120)];if((_0x233ec2==null?void 0x0:_0x233ec2[_0x55c731(0x2a1)])!==this[_0x55c731(0x2ca)])return;const _0x23e6c5=_0x35253d,_0x1ffab1=this[_0x55c731(0x28c)][_0x55c731(0x273)][_0x55c731(0x345)](this[_0x55c731(0x28c)]['interceptor']['getInterceptPoints']()[_0x55c731(0x313)])([_0x23e6c5],null)||[_0x23e6c5];this[_0x55c731(0x28d)](_0x1ffab1[0x0]);})),_0x5d76c4;}};Et=wt([H(0x3,_0x1b33f7(_0x557b98)),H(0x4,_0x1b33f7(_0x4b68b6)),H(0x5,_0x1b33f7(_0x5c4924)),H(0x6,_0x1b33f7(_0x580293)),H(0x7,_0x1b33f7(it)),H(0x8,_0x1b33f7(ve)),H(0x9,_0x1e0842),H(0xa,_0x43550f),H(0xb,_0x5beaef),H(0xc,_0x136b0d(ht)),H(0xd,_0x136b0d(J))],Et);const js=_0x1189b4(_0xc984d6(0x24c));function Fs(_0x41748a){var _0x225420=_0xc984d6,_0x4a46d0,_0x52a01b,_0x2baadc,_0x4ae55f,_0x1fd086;const _0x2d8ac1=_0x41748a[_0x225420(0x185)],_0x4ea776=JSON[_0x225420(0x11e)](_0x2d8ac1);switch(_0x4ea776[_0x225420(0x26e)]){case F[_0x225420(0x1dc)]:case F[_0x225420(0xed)]:{const _0xa5d129=_0x4ea776[_0x225420(0x1cb)];return{..._0x4ea776,'data':_0xa5d129,'cmd':_0x4ea776[_0x225420(0x26e)]};}case F[_0x225420(0x33c)]:{const _0x40aedf=_0x4ea776[_0x225420(0x2b6)];return{..._0x4ea776,'data':_0x40aedf,'cmd':_0x4ea776[_0x225420(0x26e)]};}case F[_0x225420(0x157)]:{const _0x4ce95a=_0x4ea776['collaMsg'];switch(_0x4ce95a['eventID']){case _0x550a0b[_0x225420(0x2fe)]:return{..._0x4ea776,'data':{..._0x4ce95a,'data':(_0x4a46d0=_0x4ce95a[_0x225420(0x287)])==null?void 0x0:_0x4a46d0['cs']},'cmd':_0x4ea776['cmd']};case _0x550a0b[_0x225420(0x316)]:return{..._0x4ea776,'data':{..._0x4ce95a,'data':(_0x52a01b=_0x4ce95a[_0x225420(0x3b8)])==null?void 0x0:_0x52a01b['cs']},'cmd':_0x4ea776['cmd']};case _0x550a0b[_0x225420(0x169)]:return{..._0x4ea776,'data':{..._0x4ce95a,'data':(_0x2baadc=_0x4ce95a[_0x225420(0x1ee)])==null?void 0x0:_0x2baadc['cs']},'cmd':_0x4ea776[_0x225420(0x26e)]};case _0x550a0b['CHANGESET_REJ']:return{..._0x4ea776,'data':{..._0x4ce95a,'data':(_0x4ae55f=_0x4ce95a['csRejEvent'])==null?void 0x0:_0x4ae55f['cs']},'cmd':_0x4ea776[_0x225420(0x26e)]};case _0x550a0b[_0x225420(0x2c9)]:return{..._0x4ea776,'data':{..._0x4ce95a,'data':(_0x1fd086=_0x4ce95a['csShouldRetryEvent'])==null?void 0x0:_0x1fd086['cs']},'cmd':_0x4ea776['cmd']};case _0x550a0b['UPDATE_CURSOR']:return{..._0x4ea776,'data':{..._0x4ce95a,'data':_0x4ce95a['updateCursorEvent']},'cmd':_0x4ea776[_0x225420(0x26e)]};case _0x550a0b['USERS_ENTER']:return{..._0x4ea776,'data':{..._0x4ce95a,'data':_0x4ce95a[_0x225420(0x158)]},'cmd':_0x4ea776[_0x225420(0x26e)]};case _0x550a0b[_0x225420(0x187)]:return{..._0x4ea776,'data':{..._0x4ce95a,'data':_0x4ce95a[_0x225420(0x12b)]},'cmd':_0x4ea776[_0x225420(0x26e)]};case _0x550a0b[_0x225420(0x239)]:return{..._0x4ea776,'data':{..._0x4ce95a,'data':_0x4ce95a['liveShareNewHost']},'cmd':_0x4ea776[_0x225420(0x26e)]};case _0x550a0b[_0x225420(0x1c8)]:case _0x550a0b['LIVESHARE_OPERATION']:return{..._0x4ea776,'data':{..._0x4ce95a,'data':_0x4ce95a[_0x225420(0x18a)]},'cmd':_0x4ea776[_0x225420(0x26e)]};case _0x550a0b['LIVESHARE_TERMINATE']:return{..._0x4ea776,'data':{..._0x4ce95a,'data':_0x4ce95a[_0x225420(0x17c)]},'cmd':_0x4ea776[_0x225420(0x26e)]};case _0x550a0b[_0x225420(0x351)]:return{..._0x4ea776,'data':_0x4ce95a,'cmd':_0x4ea776[_0x225420(0x26e)]};case _0x550a0b[_0x225420(0x1e5)]:return{..._0x4ea776,'data':{..._0x4ce95a,'data':_0x4ce95a[_0x225420(0x1b7)]},'cmd':_0x4ea776['cmd']};case _0x550a0b[_0x225420(0x237)]:return{..._0x4ea776,'data':{..._0x4ce95a,'data':_0x4ce95a[_0x225420(0x1b3)]},'cmd':_0x4ea776[_0x225420(0x26e)]};case _0x550a0b['SHOULD_CLOSE_CONN']:return{..._0x4ea776,'data':{..._0x4ce95a,'data':_0x4ce95a['shouldCloseConn']},'cmd':_0x4ea776[_0x225420(0x26e)]};case _0x550a0b[_0x225420(0x299)]:return{..._0x4ea776,'data':{..._0x4ce95a,'data':_0x4ce95a[_0x225420(0x193)]},'cmd':_0x4ea776[_0x225420(0x26e)]};default:return _0x4ea776;}}default:return _0x4ea776;}}function Vs(_0x141851){var _0x12259a=_0xc984d6;switch(_0x141851[_0x12259a(0x26e)]){case F[_0x12259a(0x1dc)]:case F['HELLO']:return JSON[_0x12259a(0x320)]({'cmd':_0x141851['cmd'],'routeKey':_0x141851[_0x12259a(0x387)]});case F['INGEST']:{let _0x57acae;switch(_0x141851[_0x12259a(0x185)]['eventID']){case _0x550a0b[_0x12259a(0x105)]:{_0x57acae={'eventID':_0x550a0b[_0x12259a(0x105)],'updateCursorEvent':_0x141851['data'][_0x12259a(0x185)]};break;}case _0x550a0b[_0x12259a(0x187)]:{_0x57acae={'eventID':_0x550a0b[_0x12259a(0x187)],'leaveEvent':_0x141851[_0x12259a(0x185)][_0x12259a(0x185)]};break;}case _0x550a0b[_0x12259a(0xf1)]:{_0x57acae={'eventID':_0x550a0b['USERS_ENTER'],'joinEvent':_0x141851['data'][_0x12259a(0x185)]};break;}case _0x550a0b[_0x12259a(0x239)]:{_0x57acae={'eventID':_0x550a0b[_0x12259a(0x239)],'liveShareNewHost':_0x141851['data']['data']};break;}case _0x550a0b[_0x12259a(0x327)]:{_0x57acae={'eventID':_0x550a0b[_0x12259a(0x327)],'liveShareOperation':_0x141851[_0x12259a(0x185)][_0x12259a(0x185)]};break;}case _0x550a0b[_0x12259a(0x206)]:{_0x57acae={'eventID':_0x550a0b[_0x12259a(0x206)],'liveShareTerminate':_0x141851[_0x12259a(0x185)][_0x12259a(0x185)]};break;}case _0x550a0b[_0x12259a(0x3a0)]:{_0x57acae={'eventID':_0x550a0b[_0x12259a(0x3a0)],'liveShareRequestHost':_0x141851[_0x12259a(0x185)]['data']};break;}case _0x550a0b[_0x12259a(0x1c8)]:{_0x57acae={'eventID':_0x550a0b[_0x12259a(0x1c8)]};break;}default:_0x57acae={'eventID':_0x141851['data'][_0x12259a(0x217)]};}return JSON['stringify']({'cmd':_0x141851[_0x12259a(0x26e)],'routeKey':_0x141851[_0x12259a(0x387)],'collaMsg':_0x57acae});}case F['JOIN']:return JSON[_0x12259a(0x320)]({'cmd':_0x141851[_0x12259a(0x26e)],'routeKey':_0x141851['routeKey'],'joinReq':_0x141851[_0x12259a(0x185)]});case F['LEAVE']:return JSON[_0x12259a(0x320)]({'cmd':_0x141851[_0x12259a(0x26e)],'routeKey':_0x141851['routeKey'],'leaveReq':_0x141851['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ws=Object[_0xc984d6(0x132)],Gs=(_0x212935,_0x16f6af,_0x476636,_0x32a9b1)=>{var _0x530e74=_0xc984d6;for(var _0x7c5e63=_0x32a9b1>0x1?void 0x0:_0x32a9b1?Ws(_0x16f6af,_0x476636):_0x16f6af,_0x52d618=_0x212935[_0x530e74(0xfb)]-0x1,_0x50ac64;_0x52d618>=0x0;_0x52d618--)(_0x50ac64=_0x212935[_0x52d618])&&(_0x7c5e63=_0x50ac64(_0x7c5e63)||_0x7c5e63);return _0x7c5e63;},De=(_0x2784c7,_0xa8a0cf)=>(_0x446087,_0x561684)=>_0xa8a0cf(_0x446087,_0x561684,_0x2784c7);function _0x5596(){var _0x40e467=['YUUMI_RATE_OVER_LIMIT','_checkMissing','clone','JOIN_ROOM_PERMISSION_DENIED','PERMISSION_REJ','_reverseMap','transformUndoRedo','key','/new_changes','prototype','iterations','_snapshotService','YUUMI_URL_COL_OUT_OF_RANGE','sessionStatus','url','onTransformRemoteChangesetByIMECache','getLatestCsReqIdBySid','onTransformIME','_instanceService','HEARTBEAT_TIMEOUT','/-/object/-/batch_allowed','createInstance','close$','CONFLICT','enableOfflineEditing','COMPRESS_MUTATION_SEND','APPLY_NON_SEQUENTIAL_REVISION','_createHandler','CHANGESET_ACK','next','\x20to\x20','_isPermissionRej','17785LrsoEf','unpad','_socketReady','_memberService','error','close','stringify','loadUnit','lib','encode','Hasher','_init','splice','LIVESHARE_OPERATION','_retryConnectingTimer','_getUploadFileURL','/resources','buffer','changesets','body','extend','_injector','&to=','_decreaseWaiting','replace','_invKeySchedule','_status$','_httpService','_changesetReqId','isArray','error$','_prevBlock','getUnit','complete','JOIN','LOGIN_FAILED','POST','FETCH_MISS','has','AWAITING','unsubscribe','UNIVER_SLIDE','CBC','fetchThroughInterceptors','_onRecvEvent','17354BmmggJ','find','_resendTimeout','_schedule','TOO_MANY_REQUESTS','_doReset','INVITE_CODE_HAS_BEEN_UES','c2Prime','state','floor','MSG_FOR_ERROR','_nDataBytes','reject','setWaitCount','getImageSourceCache','HmacMD5','_onConnectionFailed','override','subUnitId','HEARTBEAT_INTERVAL','MD5','forEach','awaiting_with_pending','_event$','result','_key','NOT_FOUND','?url=','_redoStacks','focused$','saveSheetBlock','UnitSnapshot','PasswordBasedCipher','updatePermissionPoint','cfg','_replaceFileID','fetchMissingChangesets','_getAPIPrefix','_getAPIPrefixPath','_transformRemoteChangesetByIMECache','_startTelemetryCollaborationNewChangeset','Latin1','setShowComponents','Undefined','loadDoc','/universer-api/oidc/authpage','incrementRevOfUnit','583380lrNwzX','_exhaustRemoteChangesetQueue','entries','_getSignURL','148rGaaLn','getTypeOfUnitAdded$','hasOwnProperty','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','title','getUnitId','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','BlockCipher','WordArray','ERROR_IMAGE_TYPE','_ENC_XFORM_MODE','/collaborator','_updateStatus','routeKey','awaiting','_fetchMissChangesets','_tryEnsureSocket','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','closeSession','symbol','createDecryptor','SUBMIT_CHANGESET_TIMEOUT','downloadEndpointUrl','status','_univerInstanceService','fromCharCode','OPTIONAL','_createSocket','sin','decryptBlock','CHANGESET_REVISION_CONFILICT','salt','YUUMI_AI_RUN_FAILED','_clearHeartbeatTimer','_onUserLeave','requireSession','fetch_missing','APPLY_PERMISSION_DENIED','LIVESHARE_REQUEST_HOST','[CollaborationEntity]','objectType','_onFetchMissResult','UNKNOWN_CMD','IDLE','loginUrlKey','textRanges','AES','_telemetryInfo','hasher','_eventService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','addImageSourceCache','_onConnectionOpen','msCrypto','YUUMI_ALL_TABLES_IS_INVALID','_change$','ENSURE_SNAPSHOT_EXECUTION','_removeRoom','getMember','c1Prime','_initUnitPermissionChange','&assign=','csAckEvent','_sendHeartbeat','SNAPSHOT_HAS_BEEN_REMOVED','/universer-api/snapshot','saveImage','listRoles','slice','SUCCUSS','_commandService','withCredentials','fromCollab','saveSnapshot','SNAPSHOT_INVALID_SNAPSHOT','INVITE_CODE_REQUIRED','_clearTimeoutTimer','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','socket\x20close','_type','People','collabWebSocketUrl','getInterceptPoints','localeService','getUnitType','\x0aCurrent:\x20','editingUnit','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_hasher','_showConflictNotification','onStarting','15704865EYThFJ','INVALID_ARGUMENT','readInt32LE','list','onStateChange','decrypt','SNAPSHOT_URL_KEY','INGEST','_waitForHeartbeatResponse','onSendChangeset','_socketService','toggleOnline','_members$','{fileID}','LICENSE_EXPORT_SIZE_EXCEEDED','string','_toggleOffline','loadOfflineData','_getLoginPath','_singleActiveUnitService','_append','userID','HELLO','[DataLoaderService]','change$','getCurrentRevOfUnit','USERS_ENTER','_undoRedoService','subscribe','UNRECOGNIZED','_hash','headers','[CollaborationSessionService]:\x20socket\x20error','_waitCount','SYNCED','_stopTelemetryCollaborationNewChangeset','length','COMPLETION_FINISHED','connection\x20error','/object/','onMissingChangesets','synced','YUUMI_NO_CUBOID_FOR_QUESTION','_clearLocalCache','_socket','/universer-api/file/{fileID}/sign-url','UPDATE_CURSOR','Error\x20on\x20receiving\x20event','deepClone','onRemoteChangeset','PERMISSION_DENIED','_awaitingChangeset','members','execute','_replayCachedMutations','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_onRemoteRejected','OFFLINE','_shouldReportTelemetry','/rev/','loadUnitOfRevision','awaitingChangeset','catch','includes','create','Base','send','random','batchAllowed','originalMeta','abs','parse','collaboration_new_changeset','params','_registerDependencies','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','defineProperty','updateCollaborator','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','method','YUUMI_SUBSCRIPTION_NOT_FOUND','[SyncedState]:\x20received\x20rejection.','getValue','listCollaborators','leaveEvent','_oKey','createCollaborator','push','reqId','target','clamp','getOwnPropertyDescriptor','state$','UUID','session.room-permission-denied','socket\x20open.','UNIVER_UNKNOWN','_roomCreated$','_scheduleCompleteTimestamp','_logService','_clearScheduledTask','Cipher','objectID','INTERNAL_ERROR','loadSheet','_state$','Encryptor','substr','_getUndoStack','onRemoteRetry','USER_NOT_INVITED_CODE','socketService','_userManagerService','/block/','_HTTPService','session.room-full','_unitInfo$','_getRedoStack','range','format','_handlerCallback','init','UNDEFINED','session.room-cnt-exceeds','__creator','_config','responseType','EvpKDF','RECV','joinEvent','size','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','online$','type','_scheduleCollaborationTimeoutTimer','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getCurrentUser','saveChangeset','compute','Decryptor','EMAIL_HAS_BEEN_BOUND','updateSnapshot','telemetry\x20info\x20is\x20not\x20initialized','debug','post','_parse','NEW_CHANGESETS','getMemberID','_tryReconnect','onMissedChangesetFetched','ERROR_EXCEED_SIZE','unitId\x20is\x20not\x20found','OTHER_CLIENT_EDITING','_lockTransition','removeMember','allowed','set','stopTime','SUBMIT_CHANGESET','_data','JOIN_ROOM_FULL','_doCreateSocket','_collaborationUIEventService','isPermissionRej','DEFAULT_FILE_NAME','liveShareNewHost','/unit/','_createHelper','memberID','LICENSE_DISTRO_REJECTED','BlockCipherMode','clear','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getConfig','data','pipe','USERS_LEAVE','CLOSE_ROOM','byteOffset','liveShareOperation','ceil','encrypt','UNIVER_DOC','Pkcs7','/-/object/list','getCollabEntity$','kdf','getCurrentSelections','uniscriptRunEvent','JOINING','asObservable','_revisionService','_onMessage','CONNECTOR_DATA_TOO_LARGE','name','SOCKET_FAILED','m2Prime','save\x20fail\x20reason\x20is\x20','offline','getDeserializedSheetBlock','[PendingState]:\x20unhandled\x20univer\x20type:\x20','NoPadding','from','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','disableLocalCache','setCurrentUser','crypto','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_createInitialState','_doFinalize','getTime','_commentService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','33qjiZMV','_keyPriorReset','SOCKET_FAILED_RETRY','_submitChangeset','_iKey','_onRemoteRetry','HmacSHA1','updatePermissionObjEvent','_roomMembers','executeCommand','JOIN_ROOM_FAILED','commentUpdateEvent','_disableEditing','_entities','_initRequestHeader','max','CipherParams','pad','x-univer-host','NO_OTHER_CLIENTS_EDITING','charAt','Malformed\x20UTF-8\x20data','SHA1','event$','_nRounds','_collabSessionService','APPLY_REVISION_CONFILICT','_transformSelections','LIVESHARE_FETCH_OPERATIONS','image/jpeg','_commentUpdate$','infoRsp','getRoom','OTHER_CLIENTS_EDITING','getSheetBlock','$super','_minBufferSize','reconnect','enc','onCommentUpdate','NOT_COLLAB','getWorkbookSelections','OpenSSL','appendMutation','_mode','UserProfileImg','enableSingleActiveInstanceLock','_transformService','HEARTBEAT','UNIVER_SHEET','_sender','/role','_sendHeartbeatTimer','_getCtorByUniverType','_getDownloadEndpointURL','charCodeAt','_resendTimer','COMMENT_UPDATE','_syncEditingCollabCursor','YUUMI_ASYNCIO_CANCELLED','getUnitOnRev','INVALID_INVITE_CODE','byteLength','delete','authzUrl','_members','newCsEvent','concat','revision','baseRev','image/jpg','href','getCollabEntity','_localCacheService','localCacheService','disposeWithMe','HttpExport','join','transformSelections','mutations','ERROR_IMAGE','hostname','getRandomValues','getSnapshotAPIPath','UNIVER_PROJECT','[CollaborationUndoRedoService]','[CollaborationSessionService]','24NbGAAK','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_state','LIVESHARE_TERMINATE','_cipher','capture','APPLY_DUPLICATED','words','_doCryptBlock','dispose$','YUUMI_UNABLE_LOAD_URL','action','conflict','_getSendChangesetTimeout','roles','_initMergeInterceptor','[OfflineState]:\x20received\x20acknowledgement.','status$','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','onSyncEditingCollabCursor','eventID','_iv','HMAC','ALREADY_EXISTS','sid','_joinRoom','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_onCombEvent','_unlockTransition','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_queuedRemoteChangesets','FileId','updateMember','exports','getTypeOfUnitDisposed$','onTransformState','toString','Base64','[PendingState]:\x20received\x20acknowledgement.','/universer-api/authz','_acknowledgedAwaitingChangeset','session.join-failed','onCommandExecuted','_clearCollaborationTimeoutTimer','selections','open$','get','_entityInit$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','AWAITING_WITH_PENDING','code','waitForRoom$','UPDATE_PERMISSION_OBJ','_emitMembers','LIVESHARE_NEW_HOST','_clearUndo','sigBytes','_candidateSocket','ivSize','_collaborationPaused','_collaborationTimeoutTimer','_timeoutTimer','not_collab','_transformIMECache','randomBytes','_getCurrentRevision','_remoteChangesetQueue','getActiveSheet','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_pendingMutations','filter','toggleOffline','_keySchedule','univer-pro.collaboration-client.network-condition.service','session','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','/allowed','/fetchmissing?from=','Could\x20not\x20dynamically\x20require\x20\x22','copyFileMeta','_updateState','getUnitStatus$','putCollaborators','initWorkbookPermissionChange','_createInitialStateImpl','commentUpdate$','startsWith','Failed\x20to\x20update\x20permission\x20point','failed\x20to\x20apply\x20missed\x20changesets!','_onRemoteACK','_throwTelemetryCollaborationNewChangeset','LEAVE','unitInfo$','UNKNOWN_CODE','univer-pro.collaboration-client-socket-service','_transformStateCache','reset','LICENSE_IMPORT_SIZE_EXCEEDED','message$','_undoStacks','_transformUndoredo','_clearRedo','mixIn','[CollaborationSession]','onTransformSelections','1899840NIlSfw','objectActions','cmd','reverse','add','update','_substituteUndoStack','interceptor','_applyRemoteChangeset','algo','_resendWithTimeout','_snapshotServerService','_sendingTimer','equals','finalize','_onRemoteChangeset','_socketMessageSubscription','getImage','snapshot','createEncryptor','image/gif','_map','subject','_permissionService','_onOffline','createSocket','_rescheduleHeartbeat','permissionRejEvent','_sessions','UNAUTHENTICATED','_executeRemoteChangeset','unknown','_compressMutationService','_onLocalMutation','mode','_transformStack','onRemoteRej','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_handler','_substituteRedoStack','transformMutationsWithChangeset','addHandlerCallback','MOBILE_VERIFY_CODE_MISMATCH','RETRY_CONNECTING_MAX_COUNT','_clearRetryConnectingTimer','UNISCRIPT_RUN','every','apply','_retryCount','_transformRemoteChangesetByStateCache','objects','BASE64','editing\x20status\x20changed\x20to','unitId','_imageSourceCache','1592RtsLjc','dispose','actions','requestParams','ciphertext','_onJoinRoomEvent','_xformMode','PY_RUNTIME_SCRIPT_ERROR','file','_updateLocalCache','337196iRQSsA','_DEC_XFORM_MODE','updateOfflineData','map','onTransformRemoteChangesetByStateCache','rev','_createHmacHelper','default','ONLINE','joinRsp','WECHAT_HAS_BEEN_BOUND','[OfflineState]:\x20received\x20changeset.','\x20in\x20_schedule.','_unitID','PSEUDO_FETCH_MISSING_RESULT','LICENSE_MAX_UNITS_EXCEEDED','HttpImport','MUTATION','emitEvent','put','_initDependencies','[SyncedState]:\x20received\x20acknowledgement.','_configService','GLOBAL_ROOMS_CNT_EXCEEDS','function','StreamCipher','MOBILE_HAS_BEEN_BOUND','entityInit$','CHANGESET_SHOULD_RETRY','unitID','_process','_sessionStatus$','[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.','keySize','_onUserJoin','call','_telemetryService','sendChangesetTimeout','padding','_transitionLocked','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','resend','_localeService','YUUMI_CONNECTOR_URL_NOT_FOUND','enableCollaboration','getFocusedUnit','_sheetTransformSelectionsService','pending','values','registerHTTPInterceptor','_collaborationSessionService','append','workbook','onRemoteAck','APPLY_REJECT','_incrementRevisionNumber','pauseCollaboration','_onConflict','BufferedBlockAlgorithm','repeat','_startCollaboration','pluginName','Utf8','_listenToNetworkCondition','JOIN_ROOM_NOT_EXISTS','_changesetSessionId','UNIVER_COLLABORATION_CLIENT_PLUGIN','blockSize','INVITE_CODE_ALREADY_BOUND','_socket$','COMPRESS_MUTATION_APPLY','compose','15381kxOBbk','confirm','_initCloseConn','sheets','now'];_0x5596=function(){return _0x40e467;};return _0x5596();}const Ci=_0x1189b4(_0xc984d6(0x261));function Ys(_0x1bcc24,_0x375171,_0x18f22f){var _0x474f15=_0xc984d6;return _0x1bcc24+'/'+_0x375171+'/unit/'+_0x18f22f+_0x474f15(0x302);}let Gt=class extends _0x222444{constructor(_0x12edf3,_0x232023,_0x3d0c1b,_0x42e478,_0x44ac8a){var _0x2dd5b1=_0xc984d6;super(),this[_0x2dd5b1(0x32f)]=_0x12edf3,this[_0x2dd5b1(0x335)]=_0x232023,this[_0x2dd5b1(0x2c3)]=_0x3d0c1b,this['_logService']=_0x42e478,this[_0x2dd5b1(0x277)]=_0x44ac8a;}[_0xc984d6(0x178)](_0x4a9904){var _0x48a9ea=_0xc984d6;const _0x299697=this[_0x48a9ea(0x32f)][_0x48a9ea(0x231)](_0x5ee649);if(!_0x299697)throw new Error(_0x48a9ea(0x122));const _0x30c611=_0x299697[_0x48a9ea(0x285)](_0x4a9904);if(!_0x30c611)throw new Error(_0x48a9ea(0x247));const _0x51a198=new _0xafc8bd(),_0x1dc5f6=new _0x8a6cf2();_0x51a198['add'](_0x30c611[_0x48a9ea(0x310)][_0x48a9ea(0xf3)](_0x26cdb2=>_0x1dc5f6['next'](_0x26cdb2))),_0x51a198[_0x48a9ea(0x270)](_0x2a79a1(()=>_0x1dc5f6[_0x48a9ea(0x33b)]()));const _0x216177=new _0x8a6cf2();_0x51a198['add'](_0x30c611[_0x48a9ea(0x338)][_0x48a9ea(0xf3)](_0x61476b=>_0x216177['next'](_0x61476b))),_0x51a198[_0x48a9ea(0x270)](_0x2a79a1(()=>_0x216177[_0x48a9ea(0x33b)]()));const _0x385c1d=new _0x8a6cf2();_0x51a198['add'](_0x30c611[_0x48a9ea(0x265)][_0x48a9ea(0xf3)](_0xf2787f=>{var _0x350de3=_0x48a9ea;const _0xc498c7=Fs(_0xf2787f);_0x385c1d[_0x350de3(0x317)](_0xc498c7);})),_0x51a198[_0x48a9ea(0x270)](_0x2a79a1(()=>_0x385c1d[_0x48a9ea(0x33b)]()));let _0x32ed22;const _0xdcbe97=()=>{var _0x37ee8b=_0x48a9ea;_0x216177[_0x37ee8b(0x317)](new Event(_0x37ee8b(0xfd))),_0x1dc5f6['next'](new Event(_0x37ee8b(0xfd))),_0x32ed22[_0x37ee8b(0x31f)]();};return _0x32ed22={'memberID':'','close$':_0x1dc5f6[_0x48a9ea(0x195)](),'error$':_0x216177['asObservable'](),'open$':_0x30c611[_0x48a9ea(0x230)],'message$':_0x385c1d[_0x48a9ea(0x195)](),'send':_0x1c908e=>{var _0x42ee7c=_0x48a9ea;if(_0x1c908e['cmd']===F[_0x42ee7c(0xde)]){if(_0x1c908e[_0x42ee7c(0x185)][_0x42ee7c(0x217)]===_0x550a0b[_0x42ee7c(0x175)]){this['_submitChangeset'](_0x32ed22,_0x1c908e['data'])[_0x42ee7c(0x115)](_0x5d7436=>{var _0x517907=_0x42ee7c;this[_0x517907(0x13a)]['error'](_0x5d7436),_0xdcbe97();});return;}if(_0x1c908e[_0x42ee7c(0x185)][_0x42ee7c(0x217)]===_0x550a0b['FETCH_MISSING']){const _0x3f249b=_0x1c908e[_0x42ee7c(0x185)];this[_0x42ee7c(0x389)](_0x3f249b)['then'](_0x2da176=>{var _0x381128=_0x42ee7c;_0x385c1d[_0x381128(0x317)]({'cmd':F['RECV'],'code':pe['OK'],'routeKey':_0x3f249b[_0x381128(0x185)]['unitID'],'routeType':'','data':{'eventID':_0x550a0b[_0x381128(0x2bb)],'data':{'changesets':_0x2da176}}});})[_0x42ee7c(0x115)](_0x13c8ed=>{var _0xf96545=_0x42ee7c;this[_0xf96545(0x13a)][_0xf96545(0x31e)](_0x13c8ed),_0xdcbe97();});return;}}_0x30c611[_0x42ee7c(0x119)](Vs(_0x1c908e));},'close':()=>{var _0x88c974=_0x48a9ea;_0x30c611[_0x88c974(0x31f)](),_0x51a198[_0x88c974(0x2a4)]();}},_0x32ed22;}async[_0xc984d6(0x1af)](_0x2a5088,_0x5b9485){var _0x4b78c0=_0xc984d6,_0x1a2c05;const {unitType:_0x20518b,unitID:_0x5b72a5,changeset:_0x17cab8}=_0x5b9485[_0x4b78c0(0x185)],_0x188a1b={'unitID':_0x5b72a5,'memberID':_0x2a5088['memberID'],'type':_0x20518b,'changeset':_0x1c38f3(_0x17cab8)},_0x264991=this[_0x4b78c0(0x2c3)][_0x4b78c0(0x184)](K),_0x1b7046=Ys((_0x1a2c05=_0x264991==null?void 0x0:_0x264991['collabSubmitChangesetUrl'])!=null?_0x1a2c05:Cs,_0x20518b,_0x5b72a5);try{await this[_0x4b78c0(0x335)][_0x4b78c0(0x167)](_0x1b7046,{'body':_0x188a1b});}catch(_0x23a534){throw this[_0x4b78c0(0x13a)][_0x4b78c0(0x31e)](_0x4b78c0(0x26a),'submit\x20changeset\x20error!'),_0x23a534;}}async[_0xc984d6(0x389)](_0x3781f6){var _0x334196=_0xc984d6;const {unitID:_0x20e9fb,from:_0x4e1f72,to:_0x3aa47f,unitType:_0x43c4ea}=_0x3781f6[_0x334196(0x185)];return(await this[_0x334196(0x277)][_0x334196(0x36b)]({'metadata':void 0x0},{'unitID':_0x20e9fb,'type':_0x43c4ea,'from':_0x4e1f72,'to':_0x3aa47f}))[_0x334196(0x32c)];}};Gt=Gs([De(0x0,_0x1b33f7(_0x557b98)),De(0x1,_0x1b33f7(_0x1c46bb)),De(0x2,_0x3d5ea3),De(0x3,_0x1e0842),De(0x4,_0x2d60fe)],Gt);var Ks=Object[_0xc984d6(0x132)],qs=(_0x5c456f,_0x110ff3,_0x1ca85e,_0x3e4d1b)=>{var _0x1ec74c=_0xc984d6;for(var _0x58e03d=_0x3e4d1b>0x1?void 0x0:_0x3e4d1b?Ks(_0x110ff3,_0x1ca85e):_0x110ff3,_0x598c17=_0x5c456f[_0x1ec74c(0xfb)]-0x1,_0x10a7f9;_0x598c17>=0x0;_0x598c17--)(_0x10a7f9=_0x5c456f[_0x598c17])&&(_0x58e03d=_0x10a7f9(_0x58e03d)||_0x58e03d);return _0x58e03d;},Re=(_0x5507f8,_0x2fae36)=>(_0xe1b720,_0x5488f4)=>_0x2fae36(_0xe1b720,_0x5488f4,_0x5507f8);let Pe=class extends _0x222444{constructor(_0x9901d9,_0x2b5c44,_0x6929c1,_0x51def5,_0x9b1dbe,_0x1908bc){var _0xd8d1b8=_0xc984d6;super(),N(this,_0xd8d1b8(0x2f2),new _0x20ba1f(void 0x0)),N(this,'socket$',this[_0xd8d1b8(0x2f2)]['asObservable']()),N(this,_0xd8d1b8(0x23c),null),N(this,_0xd8d1b8(0x288),new Map()),N(this,_0xd8d1b8(0x334),new _0x20ba1f(ge[_0xd8d1b8(0x3a5)])),N(this,_0xd8d1b8(0x214),this[_0xd8d1b8(0x334)][_0xd8d1b8(0x195)]()),N(this,_0xd8d1b8(0x31c),!0x1),N(this,_0xd8d1b8(0x328)),N(this,_0xd8d1b8(0x29c),0x0),N(this,_0xd8d1b8(0x1e0)),N(this,_0xd8d1b8(0x240)),(this[_0xd8d1b8(0x32f)]=_0x9901d9,this[_0xd8d1b8(0x13a)]=_0x2b5c44,this[_0xd8d1b8(0x2c3)]=_0x6929c1,this[_0xd8d1b8(0xe1)]=_0x51def5,this[_0xd8d1b8(0x179)]=_0x9b1dbe,this['_networkConditionService']=_0x1908bc,this[_0xd8d1b8(0x2ec)]());}get[_0xc984d6(0x103)](){var _0x5c45bc=_0xc984d6;return this[_0x5c45bc(0x2f2)]['getValue']();}[_0xc984d6(0x2ec)](){var _0x1779cf=_0xc984d6;this['_networkConditionService']&&this[_0x1779cf(0x1f7)](this['_networkConditionService'][_0x1779cf(0x15b)][_0x1779cf(0xf3)](_0x53d213=>{var _0x4c4bfb=_0x1779cf;_0x53d213&&!this[_0x4c4bfb(0x103)]&&this[_0x4c4bfb(0x1d1)](),_0x53d213||this[_0x4c4bfb(0x284)]();}));}[_0xc984d6(0x2a4)](){var _0xc321c5=_0xc984d6;super[_0xc321c5(0x2a4)](),this[_0xc321c5(0x298)](),this['_clearTimeoutTimer'](),this[_0xc321c5(0x39b)](),this[_0xc321c5(0x288)][_0xc321c5(0x35c)](_0x55f431=>_0x55f431[_0xc321c5(0x2a4)]()),this[_0xc321c5(0x288)]['clear'](),this[_0xc321c5(0x334)][_0xc321c5(0x33b)]();}async['requireSession'](_0x2bf3ed){var _0x547e5a=_0xc984d6;if(this[_0x547e5a(0x288)][_0x547e5a(0x340)](_0x2bf3ed))return this['_sessions'][_0x547e5a(0x231)](_0x2bf3ed);this[_0x547e5a(0x38a)]();const _0x485ea5=this[_0x547e5a(0x32f)][_0x547e5a(0x30f)](gt,_0x2bf3ed,this[_0x547e5a(0x2f2)][_0x547e5a(0x195)]());return this[_0x547e5a(0x288)][_0x547e5a(0x173)](_0x2bf3ed,_0x485ea5),_0x485ea5;}[_0xc984d6(0x38c)](_0x204dd1){var _0x383920=_0xc984d6,_0x153db5;const _0x5d73f4=this[_0x383920(0x288)][_0x383920(0x231)](_0x204dd1);_0x5d73f4&&(this[_0x383920(0x288)][_0x383920(0x1eb)](_0x204dd1),_0x5d73f4[_0x383920(0x31f)]()),this[_0x383920(0x288)][_0x383920(0x159)]||(_0x153db5=this[_0x383920(0x103)])==null||_0x153db5[_0x383920(0x31f)]();}[_0xc984d6(0x1d1)](){var _0x5db191=_0xc984d6;this[_0x5db191(0x29c)]=0x0,this[_0x5db191(0x298)](),this['_tryReconnect']();}[_0xc984d6(0x298)](){var _0x3667c8=_0xc984d6;this[_0x3667c8(0x328)]!=null&&(clearTimeout(this[_0x3667c8(0x328)]),this[_0x3667c8(0x328)]=null);}async['_createSocket'](){var _0x4f7c80=_0xc984d6,_0x433502;const _0x4e0c1a=this[_0x4f7c80(0x2c3)][_0x4f7c80(0x184)](K),_0xe04e95=(_0x433502=_0x4e0c1a==null?void 0x0:_0x4e0c1a[_0x4f7c80(0xcd)])!=null?_0x433502:ms,_0x3b270d=await this[_0x4f7c80(0xe1)][_0x4f7c80(0x285)](_0xe04e95);return this['_candidateSocket']=_0x3b270d,_0x3b270d;}async[_0xc984d6(0x38a)](){var _0x2b4c73=_0xc984d6,_0x5da2e6,_0x3a1435;try{const _0x2244b7=(_0x3a1435=(_0x5da2e6=this['_socket'])!=null?_0x5da2e6:this[_0x2b4c73(0x23c)])!=null?_0x3a1435:await this[_0x2b4c73(0x395)]();if(_0x2244b7){const _0x423fdb=_0x2244b7[_0x2b4c73(0x119)];_0x2244b7[_0x2b4c73(0x119)]=_0x34b3b7=>(this[_0x2b4c73(0x286)](),_0x423fdb[_0x2b4c73(0x29b)](_0x2244b7,[_0x34b3b7])),_0x2244b7[_0x2b4c73(0x265)][_0x2b4c73(0xf3)](_0x37252a=>this[_0x2b4c73(0x197)](_0x2244b7,_0x37252a)),_0x2244b7[_0x2b4c73(0x338)][_0x2b4c73(0x186)](_0xd761d7(0x1))['subscribe'](_0x398e62=>this[_0x2b4c73(0x13a)][_0x2b4c73(0x31e)](_0x2b4c73(0xf7),_0x398e62)),_0x2244b7[_0x2b4c73(0x230)]['pipe'](_0xd761d7(0x1))[_0x2b4c73(0xf3)](()=>{var _0x2f4c5f=_0x2b4c73;this[_0x2f4c5f(0x3ae)](_0x2244b7);}),_0x2244b7[_0x2b4c73(0x310)][_0x2b4c73(0x186)](_0xd761d7(0x1))[_0x2b4c73(0xf3)](_0x15dba6=>{var _0x38e221=_0x2b4c73;this[_0x38e221(0x13a)][_0x38e221(0x166)]('[CollaborationSessionService]',_0x38e221(0xca),_0x15dba6),this[_0x38e221(0x357)]();});}}catch(_0x1c73d3){this[_0x2b4c73(0x13a)][_0x2b4c73(0x31e)](_0x1c73d3),this[_0x2b4c73(0x357)]();}}['_onConnectionOpen'](_0x41ecb3){var _0x30203d=_0xc984d6;this[_0x30203d(0x13a)]['debug'](_0x30203d(0x202),_0x30203d(0x136)),_0x41ecb3['send']({'cmd':F[_0x30203d(0xed)]}),this[_0x30203d(0x286)]();}[_0xc984d6(0x284)](){var _0x380d3f=_0xc984d6;this[_0x380d3f(0x31c)]=!0x1,this[_0x380d3f(0x23c)]=null,this[_0x380d3f(0x334)][_0x380d3f(0x317)](ge['OFFLINE']),this['_socket$']['next'](null),this['_clearTimeoutTimer'](),this[_0x380d3f(0x39b)]();}[_0xc984d6(0x357)](){var _0x1b4516=_0xc984d6,_0x231815;this[_0x1b4516(0x284)](),this[_0x1b4516(0x29c)]<((_0x231815=this[_0x1b4516(0x2c3)][_0x1b4516(0x184)](Is))!=null?_0x231815:Ts)?(this[_0x1b4516(0x179)][_0x1b4516(0x2bf)]({'id':ne[_0x1b4516(0x1ae)]}),this['_tryReconnect']()):this[_0x1b4516(0x179)]['emitEvent']({'id':ne[_0x1b4516(0x19a)]});}[_0xc984d6(0x16b)](){var _0x41cc67=_0xc984d6,_0xb59641;const _0xb7de5d=this[_0x41cc67(0x29c)],_0x2284e9=this['_configService'][_0x41cc67(0x184)](K),_0x2a8b67=_0xb7de5d===0x0?0x0:((_0xb59641=_0x2284e9==null?void 0x0:_0x2284e9['retryConnectingInterval'])!=null?_0xb59641:Es)*0x2**_0xb7de5d;this[_0x41cc67(0x328)]=setTimeout(()=>{var _0x366f94=_0x41cc67;clearTimeout(this[_0x366f94(0x328)]),this[_0x366f94(0x328)]=null,this[_0x366f94(0x38a)]();},_0x2a8b67),this[_0x41cc67(0x29c)]+=0x1;}['_onMessage'](_0x5c41a6,_0x1b1935){var _0x42df21=_0xc984d6;const {cmd:_0x229801}=_0x1b1935;_0x229801===F['HELLO']&&!this[_0x42df21(0x31c)]&&(_0x5c41a6[_0x42df21(0x17f)]=_0x1b1935['data'][_0x42df21(0x17f)],this[_0x42df21(0x2f2)][_0x42df21(0x317)](_0x5c41a6),this['_status$'][_0x42df21(0x317)](ge[_0x42df21(0x2b5)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x229801===F[_0x42df21(0x1dc)]&&this[_0x42df21(0xc8)](),this['_rescheduleHeartbeat']();}[_0xc984d6(0x286)](){var _0x415f6b=_0xc984d6,_0xb91731;this[_0x415f6b(0x39b)](),this[_0x415f6b(0x1e0)]=setTimeout(()=>this[_0x415f6b(0x3b9)](),(_0xb91731=this[_0x415f6b(0x2c3)]['getConfig'](gs))!=null?_0xb91731:Ss);}[_0xc984d6(0x3b9)](){var _0x409166=_0xc984d6;this['_socket'][_0x409166(0x119)]({'cmd':F['HEARTBEAT']}),this[_0x409166(0xdf)]();}[_0xc984d6(0xdf)](){var _0x440bd2=_0xc984d6,_0xfe2ef6;this['_timeoutTimer']=setTimeout(()=>this[_0x440bd2(0x357)](),(_0xfe2ef6=this[_0x440bd2(0x2c3)]['getConfig'](di))!=null?_0xfe2ef6:fi);}[_0xc984d6(0x39b)](){var _0x1af45d=_0xc984d6;this[_0x1af45d(0x1e0)]!=null&&(clearTimeout(this[_0x1af45d(0x1e0)]),this['_sendHeartbeatTimer']=null);}[_0xc984d6(0xc8)](){var _0x47b82a=_0xc984d6;this[_0x47b82a(0x240)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x47b82a(0x240)]=null);}};Pe=qs([Re(0x0,_0x1b33f7(_0x557b98)),Re(0x1,_0x1e0842),Re(0x2,_0x3d5ea3),Re(0x3,Ci),Re(0x4,_0x1b33f7(ve)),Re(0x5,_0x136b0d(js))],Pe);var zs=Object[_0xc984d6(0x132)],Js=(_0x4e5232,_0x57b517,_0x5a1559,_0x1b9779)=>{for(var _0x10ebe6=_0x1b9779>0x1?void 0x0:_0x1b9779?zs(_0x57b517,_0x5a1559):_0x57b517,_0x1fe376=_0x4e5232['length']-0x1,_0x40fcd1;_0x1fe376>=0x0;_0x1fe376--)(_0x40fcd1=_0x4e5232[_0x1fe376])&&(_0x10ebe6=_0x40fcd1(_0x10ebe6)||_0x10ebe6);return _0x10ebe6;},Be=(_0x3a5bc4,_0x14bee3)=>(_0x708aeb,_0x18ea80)=>_0x14bee3(_0x708aeb,_0x18ea80,_0x3a5bc4);let nt=class extends _0x34821a{constructor(_0x5152e1,_0x47132b,_0x137cb8,_0xa0e94c){var _0x1db838=_0xc984d6,_0x441936;super(),N(this,'_entities',new Map()),N(this,_0x1db838(0x232),new _0x8a6cf2()),N(this,_0x1db838(0x2c8),this[_0x1db838(0x232)][_0x1db838(0x195)]()),(this['_injector']=_0x5152e1,this[_0x1db838(0x1c5)]=_0x47132b,this[_0x1db838(0x2c3)]=_0x137cb8,this[_0x1db838(0x392)]=_0xa0e94c,((_0x441936=this[_0x1db838(0x2c3)][_0x1db838(0x184)](K))==null?void 0x0:_0x441936[_0x1db838(0x2d9)])!==!0x1&&this['_init']());}[_0xc984d6(0x2a4)](){var _0x2424bd=_0xc984d6;super[_0x2424bd(0x2a4)](),this[_0x2424bd(0x1b9)][_0x2424bd(0x35c)](_0x1eb379=>_0x1eb379['dispose']()),this['_entities'][_0x2424bd(0x182)]();}[_0xc984d6(0x1f4)](_0x43d001){var _0x54d417=_0xc984d6,_0x3c105c;return(_0x3c105c=this[_0x54d417(0x1b9)][_0x54d417(0x231)](_0x43d001))!=null?_0x3c105c:null;}[_0xc984d6(0x190)](_0x8234f8){var _0x98f0e8=_0xc984d6;const _0x5c5518=this['getCollabEntity'](_0x8234f8);return _0x5c5518?_0x307eda(_0x5c5518):this[_0x98f0e8(0x232)]['pipe'](_0x35447e(_0x53b50e=>_0x53b50e['unitID']===_0x8234f8));}['readyForCollab'](_0x54c542){var _0x3e13b7=_0xc984d6;return _0x2017c7(this[_0x3e13b7(0x190)](_0x54c542)['pipe'](_0x30a7a0(()=>{})));}['_init'](){var _0x360479=_0xc984d6;this[_0x360479(0x392)][_0x360479(0x37b)](_0x469fed[_0x360479(0x1dd)])[_0x360479(0x186)](_0x28638b(this[_0x360479(0x20c)]),_0x49be20(0x10))['subscribe'](async _0x11ce4c=>{var _0x17c5ae=_0x360479;const _0x4178a3=_0x11ce4c[_0x17c5ae(0x37f)](),_0x243f38=await this[_0x17c5ae(0x2e9)](_0x4178a3,Z[_0x17c5ae(0x1dd)]);this[_0x17c5ae(0x1b9)][_0x17c5ae(0x173)](_0x4178a3,_0x243f38);}),this['_univerInstanceService'][_0x360479(0x37b)](_0x469fed[_0x360479(0x18d)])[_0x360479(0x186)](_0x28638b(this[_0x360479(0x20c)]),_0x49be20(0x10))[_0x360479(0x186)](_0x35447e(_0x5ce4aa=>!_0x5ce4aa[_0x360479(0x37f)]()[_0x360479(0x259)]('__')))[_0x360479(0xf3)](async _0x55b244=>{var _0x2cd459=_0x360479;const _0x268bf2=_0x55b244['getUnitId'](),_0x344374=await this[_0x2cd459(0x2e9)](_0x268bf2,Z['UNIVER_DOC']);this[_0x2cd459(0x1b9)][_0x2cd459(0x173)](_0x268bf2,_0x344374);}),_0x35ac37(this[_0x360479(0x392)][_0x360479(0x225)](_0x469fed[_0x360479(0x1dd)]),this[_0x360479(0x392)][_0x360479(0x225)](_0x469fed[_0x360479(0x18d)]))[_0x360479(0x186)](_0x28638b(this[_0x360479(0x20c)]))['subscribe'](_0x4d61e4=>{var _0x187fcb=_0x360479;const _0x19f684=_0x4d61e4['getUnitId'](),_0x38f50d=this[_0x187fcb(0x1b9)]['get'](_0x19f684);_0x38f50d&&(_0x38f50d[_0x187fcb(0x2a4)](),this[_0x187fcb(0x1b9)]['delete'](_0x19f684));});}async[_0xc984d6(0x2e9)](_0x48eb17,_0x44fb6f){var _0x153253=_0xc984d6;const _0x5bb418=await this['_collabSessionService'][_0x153253(0x39d)](_0x48eb17),_0x171212=this[_0x153253(0x32f)][_0x153253(0x30f)](this[_0x153253(0x1e1)](_0x44fb6f),_0x48eb17,_0x44fb6f,_0x5bb418);return await _0x171212[_0x153253(0x150)](),this['_entityInit$'][_0x153253(0x317)](_0x171212),_0x171212;}[_0xc984d6(0x1e1)](_0x9022b2){var _0x3ef250=_0xc984d6;switch(_0x9022b2){case Z[_0x3ef250(0x18d)]:return St;case Z[_0x3ef250(0x1dd)]:return Et;default:throw new Error(_0x3ef250(0xc9)+_0x9022b2);}}};nt=Js([Be(0x0,_0x1b33f7(_0x557b98)),Be(0x1,_0x1b33f7(Pe)),Be(0x2,_0x3d5ea3),Be(0x3,_0x1efe71)],nt);var Xs=Object[_0xc984d6(0x132)],Zs=(_0x9c701e,_0xc61cec,_0x571e40,_0x44ef2a)=>{for(var _0x307ca8=_0x44ef2a>0x1?void 0x0:_0x44ef2a?Xs(_0xc61cec,_0x571e40):_0xc61cec,_0x566653=_0x9c701e['length']-0x1,_0x385c51;_0x566653>=0x0;_0x566653--)(_0x385c51=_0x9c701e[_0x566653])&&(_0x307ca8=_0x385c51(_0x307ca8)||_0x307ca8);return _0x307ca8;},Yt=(_0x18a5fe,_0x5c21da)=>(_0x22cbf1,_0xa72005)=>_0x5c21da(_0x22cbf1,_0xa72005,_0x18a5fe);const Qs=_0xc984d6(0x17b),en='Univer';let It=class extends _0x222444{constructor(_0x3cebbe,_0x19b288){var _0x38b874=_0xc984d6;super(),this[_0x38b874(0x392)]=_0x3cebbe,this[_0x38b874(0x2c3)]=_0x19b288,this[_0x38b874(0x325)]();}['_init'](){var _0x115d1d=_0xc984d6;this[_0x115d1d(0x1f7)](this[_0x115d1d(0x392)][_0x115d1d(0x364)][_0x115d1d(0xf3)](()=>{var _0x554ba8=_0x115d1d,_0xd6dfbe;const _0x28aab4=this[_0x554ba8(0x392)][_0x554ba8(0x2da)]();let _0x849b27=(_0xd6dfbe=this['_configService']['getConfig'](Qs))!=null?_0xd6dfbe:en;_0x28aab4 instanceof _0x4a3caf&&(_0x849b27=_0x28aab4[_0x554ba8(0x199)]),document[_0x554ba8(0x37e)]=_0x849b27;}));}};It=Zs([Yt(0x0,_0x1efe71),Yt(0x1,_0x3d5ea3)],It);var tn=Object[_0xc984d6(0x132)],sn=(_0x113b4a,_0x12cc4f,_0x38d87c,_0x42d583)=>{var _0x4a68c9=_0xc984d6;for(var _0x28befb=_0x42d583>0x1?void 0x0:_0x42d583?tn(_0x12cc4f,_0x38d87c):_0x12cc4f,_0x3fb1af=_0x113b4a[_0x4a68c9(0xfb)]-0x1,_0x5cd1b1;_0x3fb1af>=0x0;_0x3fb1af--)(_0x5cd1b1=_0x113b4a[_0x3fb1af])&&(_0x28befb=_0x5cd1b1(_0x28befb)||_0x28befb);return _0x28befb;},dt=(_0x23b293,_0x35bd37)=>(_0x2383c5,_0x5c5da7)=>_0x35bd37(_0x2383c5,_0x5c5da7,_0x23b293);let rt=class{constructor(_0x592414,_0x3931a0,_0x479553){var _0x5d5260=_0xc984d6;this['_configService']=_0x592414,this[_0x5d5260(0x335)]=_0x3931a0,this['localeService']=_0x479553,this[_0x5d5260(0x150)]();}['init'](){var _0x30190f=_0xc984d6;this[_0x30190f(0x335)][_0x30190f(0x2de)]({'priority':0x1,'interceptor':(_0xc70b20,_0x99650e)=>_0x99650e(_0xc70b20)[_0x30190f(0x186)](_0x655e4e(async _0x2a1235=>{var _0x4c8742=_0x30190f;const _0x3dee33=_0x2a1235;if(_0x3dee33[_0x4c8742(0x391)]===0x191){if(typeof window>'u')throw new Error(_0x4c8742(0x291));if(window[_0x4c8742(0x2f6)](this[_0x4c8742(0xcf)]['t']('auth.needGotoLoginAlert'))){const _0x168866=window['encodeURIComponent'](window['location']['href']);window['location'][_0x4c8742(0x1f3)]=this['_getLoginPath']()+_0x4c8742(0x362)+_0x168866;}}return _0x3dee33;}))});}[_0xc984d6(0xe9)](){var _0x1a2b9e=_0xc984d6,_0x3fdc81;const _0x1351e8=this[_0x1a2b9e(0x2c3)][_0x1a2b9e(0x184)](K);return(_0x3fdc81=_0x1351e8==null?void 0x0:_0x1351e8[_0x1a2b9e(0x3a6)])!=null?_0x3fdc81:Rs;}};rt=sn([dt(0x0,_0x3d5ea3),dt(0x1,_0x1b33f7(_0x1c46bb)),dt(0x2,_0x1b33f7(_0x5c4924))],rt);var nn=Object[_0xc984d6(0x132)],rn=(_0x285af4,_0x363aae,_0x5c6ca7,_0x5744a8)=>{for(var _0x36d930=_0x5744a8>0x1?void 0x0:_0x5744a8?nn(_0x363aae,_0x5c6ca7):_0x363aae,_0x50bded=_0x285af4['length']-0x1,_0x216a8b;_0x50bded>=0x0;_0x50bded--)(_0x216a8b=_0x285af4[_0x50bded])&&(_0x36d930=_0x216a8b(_0x36d930)||_0x36d930);return _0x36d930;},Kt=(_0x1e65ff,_0x28c352)=>(_0x372f40,_0xbaa32a)=>_0x28c352(_0x372f40,_0xbaa32a,_0x1e65ff);const an=_0xc984d6(0x22a);let Tt=class extends _0x222444{constructor(_0x476520,_0x13d052){var _0x4228c3=_0xc984d6;super(),this[_0x4228c3(0x149)]=_0x476520,this[_0x4228c3(0x2c3)]=_0x13d052,this[_0x4228c3(0x212)]();}[_0xc984d6(0x212)](){var _0x34f028=_0xc984d6;const _0x13d129=this;this[_0x34f028(0x1f7)](this[_0x34f028(0x149)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2f24ee({'isMatch'(_0x33246f){var _0xf63aa=_0x34f028,_0x46b447;if(_0x33246f[_0xf63aa(0x126)]==='POST'&&((_0x46b447=_0x33246f['requestParams'])!=null&&_0x46b447[_0xf63aa(0x32d)])){const {objectID:_0x406595,objectType:_0x2d5780}=_0x33246f[_0xf63aa(0x2a6)][_0xf63aa(0x32d)]||{};if(!_0x406595||_0x2d5780===void 0x0)return!0x1;const _0x597ae2=_0x13d129[_0xf63aa(0x36d)]()+'/'+_0x2d5780+_0xf63aa(0xfe)+_0x406595+_0xf63aa(0x24f);if(_0x33246f[_0xf63aa(0x308)]===_0x597ae2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x481ae4){var _0x1a3a3c=_0x34f028,_0x2024b1;return(_0x2024b1=_0x481ae4['requestParams'])==null?void 0x0:_0x2024b1[_0x1a3a3c(0x32d)];},'mergeParamsToRequest'(_0x1809be,_0x4a075e){var _0x350816=_0x34f028;const _0x567b23=_0x13d129['_getAPIPrefixPath']()+_0x350816(0x30e),_0x21acd4=_0x1809be['reduce']((_0x40a64e,_0x58bb14)=>{var _0x32bff9=_0x350816;const {unitID:_0x23a49c,objectID:_0x22e8dc,objectType:_0x1918ba,actions:_0x4ba883}=_0x58bb14;return _0x40a64e[_0x23a49c]||(_0x40a64e[_0x23a49c]={}),_0x40a64e[_0x23a49c][_0x22e8dc]||(_0x40a64e[_0x23a49c][_0x22e8dc]={'objectID':_0x22e8dc,'objectType':_0x1918ba,'actions':[]}),_0x40a64e[_0x23a49c][_0x22e8dc][_0x32bff9(0x2a5)][_0x32bff9(0x12e)](..._0x4ba883),_0x40a64e;},{}),_0xd3656c=[];for(const _0x5bee50 in _0x21acd4)for(const _0x5378e5 in _0x21acd4[_0x5bee50]){const {actions:_0x473d0d,objectType:_0xc147a9}=_0x21acd4[_0x5bee50][_0x5378e5],_0x2e0aa7=[...new Set(_0x473d0d)];_0xd3656c[_0x350816(0x12e)]({'unitID':_0x5bee50,'objectID':_0x5378e5,'objectType':_0xc147a9,'actions':_0x2e0aa7});}return new _0x35748a(_0x350816(0x33e),_0x567b23,{'headers':_0x4a075e['headers'],'withCredentials':_0x4a075e[_0x350816(0x3c1)],'responseType':_0x4a075e[_0x350816(0x155)],'body':{'requests':_0xd3656c}});}},{'distributeResult'(_0x37b373,_0x7130a6){var _0x4882fb=_0x34f028;const {objectActions:_0x5470ab}=_0x37b373;return _0x7130a6[_0x4882fb(0x2b0)](_0x3f9750=>{var _0x4b8cfa=_0x4882fb;const {unitID:_0x22d530,objectID:_0x961798,actions:_0x132f39}=_0x3f9750,_0x3f24fd=_0x5470ab[_0x4b8cfa(0x348)](_0x3d0ecf=>_0x3d0ecf[_0x4b8cfa(0x2ca)]===_0x22d530&&_0x3d0ecf['objectID']===_0x961798),_0x254692=_0x132f39[_0x4b8cfa(0x2b0)](_0x90787b=>_0x3f24fd==null?void 0x0:_0x3f24fd[_0x4b8cfa(0x2a5)][_0x4b8cfa(0x348)](_0x4ee5a9=>_0x4ee5a9[_0x4b8cfa(0x20e)]===_0x90787b))[_0x4b8cfa(0x249)](_0x53386e=>!!_0x53386e);return{'config':_0x3f9750,'result':{'actions':_0x254692,'error':_0x37b373[_0x4b8cfa(0x31e)]}};});}})}));}[_0xc984d6(0x36d)](){var _0x30b0c6=_0xc984d6,_0x33e99e;const _0x499853=this['_configService'][_0x30b0c6(0x184)](K);return(_0x33e99e=_0x499853==null?void 0x0:_0x499853['authzUrl'])!=null?_0x33e99e:an;}async['create'](_0x322e0a){var _0x5c7e4a=_0xc984d6;const _0x4e0c04=this[_0x5c7e4a(0x36d)]()+'/'+_0x322e0a[_0x5c7e4a(0x3a2)]+'/object';return(await this[_0x5c7e4a(0x149)][_0x5c7e4a(0x167)](_0x4e0c04,{'body':_0x322e0a}))[_0x5c7e4a(0x32d)][_0x5c7e4a(0x13d)]||'';}async['list'](_0x1688ed){var _0x2ef344=_0xc984d6;const _0x544d8c=this[_0x2ef344(0x36d)]()+_0x2ef344(0x18f);return(await this['_HTTPService'][_0x2ef344(0x167)](_0x544d8c,{'body':_0x1688ed}))[_0x2ef344(0x32d)][_0x2ef344(0x29e)];}async[_0xc984d6(0x271)](_0x543564){var _0x1deee5=_0xc984d6,_0x1ff170,_0x10d47e;const _0x1604f1=this[_0x1deee5(0x36d)]()+'/'+_0x543564['objectType']+_0x1deee5(0xfe)+_0x543564[_0x1deee5(0x13d)],_0x4def02=await this[_0x1deee5(0x149)][_0x1deee5(0x2c0)](_0x1604f1,{'body':_0x543564});if(((_0x10d47e=(_0x1ff170=_0x4def02==null?void 0x0:_0x4def02[_0x1deee5(0x32d)])==null?void 0x0:_0x1ff170[_0x1deee5(0x31e)])==null?void 0x0:_0x10d47e[_0x1deee5(0x235)])!==0x1)throw new Error(_0x1deee5(0x25a));}async[_0xc984d6(0x172)](_0x4ff7b1){var _0x5b01d0=_0xc984d6;const _0x2d9dbc=this[_0x5b01d0(0x36d)]()+'/'+_0x4ff7b1[_0x5b01d0(0x3a2)]+'/object/'+_0x4ff7b1[_0x5b01d0(0x13d)]+_0x5b01d0(0x24f);return(await this['_HTTPService'][_0x5b01d0(0x167)](_0x2d9dbc,{'body':_0x4ff7b1}))[_0x5b01d0(0x32d)][_0x5b01d0(0x2a5)];}async[_0xc984d6(0x11b)](_0x56f2f5){var _0xa6d52e=_0xc984d6;const _0x1f84dd=this[_0xa6d52e(0x36d)]()+_0xa6d52e(0x30e);return(await this[_0xa6d52e(0x149)][_0xa6d52e(0x167)](_0x1f84dd,{'body':{'requests':_0x56f2f5}}))[_0xa6d52e(0x32d)][_0xa6d52e(0x26d)];}async[_0xc984d6(0x3bd)](_0x17c442){var _0x4c5ad9=_0xc984d6;const _0x3c0d1e=this[_0x4c5ad9(0x36d)]()+'/'+_0x17c442[_0x4c5ad9(0x3a2)]+_0x4c5ad9(0x1df),_0x2fcd21=await this[_0x4c5ad9(0x149)]['post'](_0x3c0d1e,{'body':_0x17c442});return{'roles':_0x2fcd21[_0x4c5ad9(0x32d)][_0x4c5ad9(0x211)],'actions':_0x2fcd21[_0x4c5ad9(0x32d)]['actions']};}async['deleteCollaborator'](_0x590542){var _0x31a82f=_0xc984d6;const _0x194f19=this['_getAPIPrefixPath']()+_0x31a82f(0x385);await this[_0x31a82f(0x149)][_0x31a82f(0x1eb)](_0x194f19,{'params':{'collaboratorID':_0x590542['collaboratorID'],'objectID':_0x590542[_0x31a82f(0x13d)],'unitID':_0x590542[_0x31a82f(0x2ca)]}});}async[_0xc984d6(0x124)](_0x491e2){var _0x33c353=_0xc984d6;const _0x1c3082=this[_0x33c353(0x36d)]()+'/collaborator';await this[_0x33c353(0x149)]['patch'](_0x1c3082,{'body':_0x491e2});}async[_0xc984d6(0x12d)](_0x60c701){var _0xdcc0b9=_0xc984d6;const _0x5c2a7e=this[_0xdcc0b9(0x36d)]()+_0xdcc0b9(0x385);await this[_0xdcc0b9(0x149)][_0xdcc0b9(0x167)](_0x5c2a7e,{'body':_0x60c701});}async[_0xc984d6(0x12a)](_0x51606a){var _0x1cfe36=_0xc984d6;const _0x2bcb9d=this[_0x1cfe36(0x36d)]()+_0x1cfe36(0x385);return(await this[_0x1cfe36(0x149)][_0x1cfe36(0x231)](_0x2bcb9d,{'params':{'objectID':_0x51606a[_0x1cfe36(0x13d)],'unitID':_0x51606a[_0x1cfe36(0x2ca)]}}))[_0x1cfe36(0x32d)]['collaborators'];}async[_0xc984d6(0x255)](_0x352183){var _0x148802=_0xc984d6;const _0x1012cd=this[_0x148802(0x36d)]()+_0x148802(0x385);await this[_0x148802(0x149)][_0x148802(0x2c0)](_0x1012cd,{'body':_0x352183});}};Tt=rn([Kt(0x0,_0x1b33f7(_0x1c46bb)),Kt(0x1,_0x1b33f7(_0x3d5ea3))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x4dd482){var _0x112d16=_0xc984d6;return _0x4dd482&&_0x4dd482['__esModule']&&Object['prototype'][_0x112d16(0x37c)][_0x112d16(0x2d0)](_0x4dd482,_0x112d16(0x2b4))?_0x4dd482[_0x112d16(0x2b4)]:_0x4dd482;}var Ve={'exports':{}};function on(_0x8e3df5){var _0x21eb8b=_0xc984d6;throw new Error(_0x21eb8b(0x251)+_0x8e3df5+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var We={'exports':{}},cn=We[_0xc984d6(0x224)],qt;function te(){return qt||(qt=0x1,function(_0x589715,_0x5a7790){(function(_0x330327,_0x4f5fe8){var _0x12277f=_0x4af8;_0x589715[_0x12277f(0x224)]=_0x4f5fe8();}(cn,function(){var _0x1c3a6d=_0x1c3a6d||function(_0x490a11,_0x1523f8){var _0x3f5978=_0x4af8,_0x5be5dc;if(typeof window<'u'&&window['crypto']&&(_0x5be5dc=window[_0x3f5978(0x1a5)]),typeof self<'u'&&self[_0x3f5978(0x1a5)]&&(_0x5be5dc=self[_0x3f5978(0x1a5)]),typeof globalThis<'u'&&globalThis[_0x3f5978(0x1a5)]&&(_0x5be5dc=globalThis[_0x3f5978(0x1a5)]),!_0x5be5dc&&typeof window<'u'&&window['msCrypto']&&(_0x5be5dc=window[_0x3f5978(0x3af)]),!_0x5be5dc&&typeof ft<'u'&&ft[_0x3f5978(0x1a5)]&&(_0x5be5dc=ft[_0x3f5978(0x1a5)]),!_0x5be5dc&&typeof on==_0x3f5978(0x2c5))try{_0x5be5dc=require('crypto');}catch{}var _0x398a79=function(){var _0x4e5381=_0x3f5978;if(_0x5be5dc){if(typeof _0x5be5dc[_0x4e5381(0x1fe)]==_0x4e5381(0x2c5))try{return _0x5be5dc[_0x4e5381(0x1fe)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5be5dc[_0x4e5381(0x243)]==_0x4e5381(0x2c5))try{return _0x5be5dc[_0x4e5381(0x243)](0x4)[_0x4e5381(0xd9)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x49a1db=Object[_0x3f5978(0x117)]||(function(){function _0x571064(){}return function(_0x5d5746){var _0x283609=_0x4af8,_0xb5e9d0;return _0x571064['prototype']=_0x5d5746,_0xb5e9d0=new _0x571064(),_0x571064[_0x283609(0x303)]=null,_0xb5e9d0;};}()),_0x15198d={},_0x28a1d2=_0x15198d[_0x3f5978(0x322)]={},_0x34414d=_0x28a1d2[_0x3f5978(0x118)]=(function(){return{'extend':function(_0x4aa5fd){var _0x4df31d=_0x4af8,_0x5464e2=_0x49a1db(this);return _0x4aa5fd&&_0x5464e2[_0x4df31d(0x269)](_0x4aa5fd),(!_0x5464e2[_0x4df31d(0x37c)]('init')||this[_0x4df31d(0x150)]===_0x5464e2[_0x4df31d(0x150)])&&(_0x5464e2[_0x4df31d(0x150)]=function(){var _0x532b69=_0x4df31d;_0x5464e2[_0x532b69(0x1cf)][_0x532b69(0x150)][_0x532b69(0x29b)](this,arguments);}),_0x5464e2['init'][_0x4df31d(0x303)]=_0x5464e2,_0x5464e2['$super']=this,_0x5464e2;},'create':function(){var _0x3c8649=_0x4af8,_0x7a5b16=this[_0x3c8649(0x32e)]();return _0x7a5b16[_0x3c8649(0x150)][_0x3c8649(0x29b)](_0x7a5b16,arguments),_0x7a5b16;},'init':function(){},'mixIn':function(_0x30be10){var _0x14ccf6=_0x4af8;for(var _0xc44016 in _0x30be10)_0x30be10[_0x14ccf6(0x37c)](_0xc44016)&&(this[_0xc44016]=_0x30be10[_0xc44016]);_0x30be10[_0x14ccf6(0x37c)](_0x14ccf6(0x227))&&(this['toString']=_0x30be10[_0x14ccf6(0x227)]);},'clone':function(){var _0xdf65b7=_0x4af8;return this[_0xdf65b7(0x150)][_0xdf65b7(0x303)][_0xdf65b7(0x32e)](this);}};}()),_0x26d467=_0x28a1d2[_0x3f5978(0x382)]=_0x34414d['extend']({'init':function(_0x24fa7e,_0x157178){var _0x585d52=_0x3f5978;_0x24fa7e=this['words']=_0x24fa7e||[],_0x157178!=_0x1523f8?this[_0x585d52(0x23b)]=_0x157178:this[_0x585d52(0x23b)]=_0x24fa7e['length']*0x4;},'toString':function(_0x2e39f9){var _0x5f5d71=_0x3f5978;return(_0x2e39f9||_0x5f69c2)[_0x5f5d71(0x320)](this);},'concat':function(_0x53f767){var _0x2c30e5=_0x3f5978,_0x3f33c7=this[_0x2c30e5(0x20a)],_0x9d688=_0x53f767[_0x2c30e5(0x20a)],_0x63210b=this[_0x2c30e5(0x23b)],_0x4aea22=_0x53f767[_0x2c30e5(0x23b)];if(this[_0x2c30e5(0x131)](),_0x63210b%0x4)for(var _0x299906=0x0;_0x299906<_0x4aea22;_0x299906++){var _0x668f04=_0x9d688[_0x299906>>>0x2]>>>0x18-_0x299906%0x4*0x8&0xff;_0x3f33c7[_0x63210b+_0x299906>>>0x2]|=_0x668f04<<0x18-(_0x63210b+_0x299906)%0x4*0x8;}else{for(var _0x2ff8c1=0x0;_0x2ff8c1<_0x4aea22;_0x2ff8c1+=0x4)_0x3f33c7[_0x63210b+_0x2ff8c1>>>0x2]=_0x9d688[_0x2ff8c1>>>0x2];}return this[_0x2c30e5(0x23b)]+=_0x4aea22,this;},'clamp':function(){var _0x15b1a4=_0x3f5978,_0x17d0fc=this[_0x15b1a4(0x20a)],_0x329cd5=this[_0x15b1a4(0x23b)];_0x17d0fc[_0x329cd5>>>0x2]&=0xffffffff<<0x20-_0x329cd5%0x4*0x8,_0x17d0fc[_0x15b1a4(0xfb)]=_0x490a11[_0x15b1a4(0x18b)](_0x329cd5/0x4);},'clone':function(){var _0x4f565f=_0x3f5978,_0x4c0649=_0x34414d['clone'][_0x4f565f(0x2d0)](this);return _0x4c0649[_0x4f565f(0x20a)]=this[_0x4f565f(0x20a)][_0x4f565f(0x3be)](0x0),_0x4c0649;},'random':function(_0x25278c){var _0x17ebac=_0x3f5978;for(var _0x2b4e33=[],_0x1c384d=0x0;_0x1c384d<_0x25278c;_0x1c384d+=0x4)_0x2b4e33[_0x17ebac(0x12e)](_0x398a79());return new _0x26d467[(_0x17ebac(0x150))](_0x2b4e33,_0x25278c);}}),_0x2b425b=_0x15198d[_0x3f5978(0x1d2)]={},_0x5f69c2=_0x2b425b['Hex']={'stringify':function(_0xc4c5e4){var _0x1333e5=_0x3f5978;for(var _0x5e592e=_0xc4c5e4[_0x1333e5(0x20a)],_0xe981f=_0xc4c5e4[_0x1333e5(0x23b)],_0x1e58c2=[],_0x5ac779=0x0;_0x5ac779<_0xe981f;_0x5ac779++){var _0x3592dd=_0x5e592e[_0x5ac779>>>0x2]>>>0x18-_0x5ac779%0x4*0x8&0xff;_0x1e58c2[_0x1333e5(0x12e)]((_0x3592dd>>>0x4)[_0x1333e5(0x227)](0x10)),_0x1e58c2[_0x1333e5(0x12e)]((_0x3592dd&0xf)[_0x1333e5(0x227)](0x10));}return _0x1e58c2['join']('');},'parse':function(_0x1d0457){var _0x1bc38a=_0x3f5978;for(var _0x163307=_0x1d0457[_0x1bc38a(0xfb)],_0x485fd9=[],_0x3f9bac=0x0;_0x3f9bac<_0x163307;_0x3f9bac+=0x2)_0x485fd9[_0x3f9bac>>>0x3]|=parseInt(_0x1d0457[_0x1bc38a(0x142)](_0x3f9bac,0x2),0x10)<<0x18-_0x3f9bac%0x8*0x4;return new _0x26d467[(_0x1bc38a(0x150))](_0x485fd9,_0x163307/0x2);}},_0x21d0db=_0x2b425b[_0x3f5978(0x370)]={'stringify':function(_0x277682){var _0x40abb0=_0x3f5978;for(var _0xfb8045=_0x277682[_0x40abb0(0x20a)],_0x3f1834=_0x277682[_0x40abb0(0x23b)],_0x2ee44c=[],_0x1cbbc1=0x0;_0x1cbbc1<_0x3f1834;_0x1cbbc1++){var _0x33845e=_0xfb8045[_0x1cbbc1>>>0x2]>>>0x18-_0x1cbbc1%0x4*0x8&0xff;_0x2ee44c[_0x40abb0(0x12e)](String[_0x40abb0(0x393)](_0x33845e));}return _0x2ee44c[_0x40abb0(0x1f9)]('');},'parse':function(_0x22336e){var _0x1078c3=_0x3f5978;for(var _0xe5e812=_0x22336e['length'],_0x3a0ec2=[],_0x5ddff0=0x0;_0x5ddff0<_0xe5e812;_0x5ddff0++)_0x3a0ec2[_0x5ddff0>>>0x2]|=(_0x22336e[_0x1078c3(0x1e3)](_0x5ddff0)&0xff)<<0x18-_0x5ddff0%0x4*0x8;return new _0x26d467['init'](_0x3a0ec2,_0xe5e812);}},_0x41fd32=_0x2b425b[_0x3f5978(0x2eb)]={'stringify':function(_0x3e9637){var _0xb18a32=_0x3f5978;try{return decodeURIComponent(escape(_0x21d0db['stringify'](_0x3e9637)));}catch{throw new Error(_0xb18a32(0x1c1));}},'parse':function(_0x466714){var _0x4fb744=_0x3f5978;return _0x21d0db[_0x4fb744(0x11e)](unescape(encodeURIComponent(_0x466714)));}},_0x34d28b=_0x28a1d2[_0x3f5978(0x2e7)]=_0x34414d[_0x3f5978(0x32e)]({'reset':function(){var _0x107db3=_0x3f5978;this['_data']=new _0x26d467[(_0x107db3(0x150))](),this[_0x107db3(0x352)]=0x0;},'_append':function(_0x12e2ef){var _0x5a400b=_0x3f5978;typeof _0x12e2ef==_0x5a400b(0xe6)&&(_0x12e2ef=_0x41fd32['parse'](_0x12e2ef)),this['_data'][_0x5a400b(0x1ef)](_0x12e2ef),this[_0x5a400b(0x352)]+=_0x12e2ef[_0x5a400b(0x23b)];},'_process':function(_0x23cd1a){var _0x239a69=_0x3f5978,_0x4a62d5,_0x145846=this['_data'],_0x3e6981=_0x145846[_0x239a69(0x20a)],_0x4b1837=_0x145846[_0x239a69(0x23b)],_0x4e793c=this[_0x239a69(0x2f0)],_0x2045d5=_0x4e793c*0x4,_0x5ef870=_0x4b1837/_0x2045d5;_0x23cd1a?_0x5ef870=_0x490a11[_0x239a69(0x18b)](_0x5ef870):_0x5ef870=_0x490a11[_0x239a69(0x1bb)]((_0x5ef870|0x0)-this[_0x239a69(0x1d0)],0x0);var _0x1b89c9=_0x5ef870*_0x4e793c,_0x2a5e32=_0x490a11['min'](_0x1b89c9*0x4,_0x4b1837);if(_0x1b89c9){for(var _0x246630=0x0;_0x246630<_0x1b89c9;_0x246630+=_0x4e793c)this['_doProcessBlock'](_0x3e6981,_0x246630);_0x4a62d5=_0x3e6981[_0x239a69(0x326)](0x0,_0x1b89c9),_0x145846[_0x239a69(0x23b)]-=_0x2a5e32;}return new _0x26d467[(_0x239a69(0x150))](_0x4a62d5,_0x2a5e32);},'clone':function(){var _0x2d5a0c=_0x3f5978,_0x31266f=_0x34414d[_0x2d5a0c(0x2fc)][_0x2d5a0c(0x2d0)](this);return _0x31266f[_0x2d5a0c(0x176)]=this[_0x2d5a0c(0x176)][_0x2d5a0c(0x2fc)](),_0x31266f;},'_minBufferSize':0x0});_0x28a1d2[_0x3f5978(0x324)]=_0x34d28b[_0x3f5978(0x32e)]({'cfg':_0x34414d['extend'](),'init':function(_0x3168e5){var _0x18e1c3=_0x3f5978;this[_0x18e1c3(0x369)]=this[_0x18e1c3(0x369)][_0x18e1c3(0x32e)](_0x3168e5),this[_0x18e1c3(0x263)]();},'reset':function(){var _0x5d0bb5=_0x3f5978;_0x34d28b[_0x5d0bb5(0x263)][_0x5d0bb5(0x2d0)](this),this[_0x5d0bb5(0x34c)]();},'update':function(_0x3c3072){var _0x28864e=_0x3f5978;return this[_0x28864e(0xeb)](_0x3c3072),this[_0x28864e(0x2cb)](),this;},'finalize':function(_0xf4cecc){var _0x40e29e=_0x3f5978;_0xf4cecc&&this['_append'](_0xf4cecc);var _0x2388a4=this[_0x40e29e(0x1a8)]();return _0x2388a4;},'blockSize':0x10,'_createHelper':function(_0x15097f){return function(_0x38831c,_0x26ea11){var _0x1a4fd5=_0x4af8;return new _0x15097f[(_0x1a4fd5(0x150))](_0x26ea11)[_0x1a4fd5(0x27a)](_0x38831c);};},'_createHmacHelper':function(_0x5762c8){return function(_0x1781c9,_0x8d8487){var _0x27af27=_0x4af8;return new _0x2dc0d3[(_0x27af27(0x219))][(_0x27af27(0x150))](_0x5762c8,_0x8d8487)['finalize'](_0x1781c9);};}});var _0x2dc0d3=_0x15198d[_0x3f5978(0x275)]={};return _0x15198d;}(Math);return _0x1c3a6d;}));}(We)),We['exports'];}var Ge={'exports':{}},hn=Ge['exports'],zt;function Ri(){var _0xd22518=_0xc984d6;return zt||(zt=0x1,function(_0x26a46c,_0x2e23ad){(function(_0x143a29,_0x478ecc){_0x26a46c['exports']=_0x478ecc(te());}(hn,function(_0x435981){var _0x443faa=_0x4af8;return(function(){var _0x553284=_0x4af8,_0x2a9fd8=_0x435981,_0x490058=_0x2a9fd8['lib'],_0x5663e8=_0x490058[_0x553284(0x382)],_0x3edec4=_0x2a9fd8[_0x553284(0x1d2)];_0x3edec4[_0x553284(0x228)]={'stringify':function(_0x437e8b){var _0x474244=_0x553284,_0x55a1a3=_0x437e8b['words'],_0xd7c3d0=_0x437e8b[_0x474244(0x23b)],_0x2f03c8=this[_0x474244(0x281)];_0x437e8b[_0x474244(0x131)]();for(var _0xf6d632=[],_0x51b515=0x0;_0x51b515<_0xd7c3d0;_0x51b515+=0x3)for(var _0x5adca4=_0x55a1a3[_0x51b515>>>0x2]>>>0x18-_0x51b515%0x4*0x8&0xff,_0x5c8258=_0x55a1a3[_0x51b515+0x1>>>0x2]>>>0x18-(_0x51b515+0x1)%0x4*0x8&0xff,_0x203894=_0x55a1a3[_0x51b515+0x2>>>0x2]>>>0x18-(_0x51b515+0x2)%0x4*0x8&0xff,_0x211790=_0x5adca4<<0x10|_0x5c8258<<0x8|_0x203894,_0x261426=0x0;_0x261426<0x4&&_0x51b515+_0x261426*0.75<_0xd7c3d0;_0x261426++)_0xf6d632[_0x474244(0x12e)](_0x2f03c8[_0x474244(0x1c0)](_0x211790>>>0x6*(0x3-_0x261426)&0x3f));var _0x51cbfa=_0x2f03c8[_0x474244(0x1c0)](0x40);if(_0x51cbfa){for(;_0xf6d632[_0x474244(0xfb)]%0x4;)_0xf6d632[_0x474244(0x12e)](_0x51cbfa);}return _0xf6d632['join']('');},'parse':function(_0x221e98){var _0x40d4bd=_0x553284,_0x166c91=_0x221e98[_0x40d4bd(0xfb)],_0x1c2f6d=this['_map'],_0x3a91e3=this[_0x40d4bd(0x2ff)];if(!_0x3a91e3){_0x3a91e3=this['_reverseMap']=[];for(var _0x49d318=0x0;_0x49d318<_0x1c2f6d['length'];_0x49d318++)_0x3a91e3[_0x1c2f6d['charCodeAt'](_0x49d318)]=_0x49d318;}var _0x133561=_0x1c2f6d[_0x40d4bd(0x1c0)](0x40);if(_0x133561){var _0x24758f=_0x221e98['indexOf'](_0x133561);_0x24758f!==-0x1&&(_0x166c91=_0x24758f);}return _0x252e4f(_0x221e98,_0x166c91,_0x3a91e3);},'_map':_0x553284(0x215)};function _0x252e4f(_0x5da98c,_0x3ad413,_0x1ac8d3){var _0x4d873a=_0x553284;for(var _0x3888ef=[],_0x41da1a=0x0,_0x112389=0x0;_0x112389<_0x3ad413;_0x112389++)if(_0x112389%0x4){var _0x4b6006=_0x1ac8d3[_0x5da98c[_0x4d873a(0x1e3)](_0x112389-0x1)]<<_0x112389%0x4*0x2,_0x1bfdb0=_0x1ac8d3[_0x5da98c[_0x4d873a(0x1e3)](_0x112389)]>>>0x6-_0x112389%0x4*0x2,_0x396fe6=_0x4b6006|_0x1bfdb0;_0x3888ef[_0x41da1a>>>0x2]|=_0x396fe6<<0x18-_0x41da1a%0x4*0x8,_0x41da1a++;}return _0x5663e8[_0x4d873a(0x117)](_0x3888ef,_0x41da1a);}}()),_0x435981[_0x443faa(0x1d2)][_0x443faa(0x228)];}));}(Ge)),Ge[_0xd22518(0x224)];}var Ye={'exports':{}},_n=Ye[_0xc984d6(0x224)],Jt;function ln(){var _0x5c2ba1=_0xc984d6;return Jt||(Jt=0x1,function(_0xee4c56,_0x3ca00a){(function(_0x240b11,_0x545b32){_0xee4c56['exports']=_0x545b32(te());}(_n,function(_0x2ffc29){var _0x9865d6=_0x4af8;return function(_0x18a987){var _0x455e5a=_0x4af8,_0x1f2d69=_0x2ffc29,_0x7aba16=_0x1f2d69[_0x455e5a(0x322)],_0x5f27a4=_0x7aba16[_0x455e5a(0x382)],_0x293c42=_0x7aba16[_0x455e5a(0x324)],_0x406440=_0x1f2d69[_0x455e5a(0x275)],_0x2a8acf=[];(function(){var _0x65e22c=_0x455e5a;for(var _0x420755=0x0;_0x420755<0x40;_0x420755++)_0x2a8acf[_0x420755]=_0x18a987[_0x65e22c(0x11d)](_0x18a987[_0x65e22c(0x396)](_0x420755+0x1))*0x100000000|0x0;}());var _0x1b9516=_0x406440['MD5']=_0x293c42[_0x455e5a(0x32e)]({'_doReset':function(){var _0x4a7133=_0x455e5a;this[_0x4a7133(0xf5)]=new _0x5f27a4[(_0x4a7133(0x150))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x18decb,_0x962287){var _0x1a9452=_0x455e5a;for(var _0x267ad1=0x0;_0x267ad1<0x10;_0x267ad1++){var _0x3d9d8f=_0x962287+_0x267ad1,_0x3a7410=_0x18decb[_0x3d9d8f];_0x18decb[_0x3d9d8f]=(_0x3a7410<<0x8|_0x3a7410>>>0x18)&0xff00ff|(_0x3a7410<<0x18|_0x3a7410>>>0x8)&0xff00ff00;}var _0x41077c=this['_hash'][_0x1a9452(0x20a)],_0x23f68e=_0x18decb[_0x962287+0x0],_0x220c99=_0x18decb[_0x962287+0x1],_0x316dec=_0x18decb[_0x962287+0x2],_0x299712=_0x18decb[_0x962287+0x3],_0x37d2ac=_0x18decb[_0x962287+0x4],_0x2b0b95=_0x18decb[_0x962287+0x5],_0x32271e=_0x18decb[_0x962287+0x6],_0x19de2a=_0x18decb[_0x962287+0x7],_0x6b8bd2=_0x18decb[_0x962287+0x8],_0x45f0a2=_0x18decb[_0x962287+0x9],_0x338e17=_0x18decb[_0x962287+0xa],_0x4c8f37=_0x18decb[_0x962287+0xb],_0x376f64=_0x18decb[_0x962287+0xc],_0x3415e5=_0x18decb[_0x962287+0xd],_0x10cc6e=_0x18decb[_0x962287+0xe],_0x2c7ce2=_0x18decb[_0x962287+0xf],_0x21c53e=_0x41077c[0x0],_0x28cddf=_0x41077c[0x1],_0x5cbcf2=_0x41077c[0x2],_0x537126=_0x41077c[0x3];_0x21c53e=_0x24f5f8(_0x21c53e,_0x28cddf,_0x5cbcf2,_0x537126,_0x23f68e,0x7,_0x2a8acf[0x0]),_0x537126=_0x24f5f8(_0x537126,_0x21c53e,_0x28cddf,_0x5cbcf2,_0x220c99,0xc,_0x2a8acf[0x1]),_0x5cbcf2=_0x24f5f8(_0x5cbcf2,_0x537126,_0x21c53e,_0x28cddf,_0x316dec,0x11,_0x2a8acf[0x2]),_0x28cddf=_0x24f5f8(_0x28cddf,_0x5cbcf2,_0x537126,_0x21c53e,_0x299712,0x16,_0x2a8acf[0x3]),_0x21c53e=_0x24f5f8(_0x21c53e,_0x28cddf,_0x5cbcf2,_0x537126,_0x37d2ac,0x7,_0x2a8acf[0x4]),_0x537126=_0x24f5f8(_0x537126,_0x21c53e,_0x28cddf,_0x5cbcf2,_0x2b0b95,0xc,_0x2a8acf[0x5]),_0x5cbcf2=_0x24f5f8(_0x5cbcf2,_0x537126,_0x21c53e,_0x28cddf,_0x32271e,0x11,_0x2a8acf[0x6]),_0x28cddf=_0x24f5f8(_0x28cddf,_0x5cbcf2,_0x537126,_0x21c53e,_0x19de2a,0x16,_0x2a8acf[0x7]),_0x21c53e=_0x24f5f8(_0x21c53e,_0x28cddf,_0x5cbcf2,_0x537126,_0x6b8bd2,0x7,_0x2a8acf[0x8]),_0x537126=_0x24f5f8(_0x537126,_0x21c53e,_0x28cddf,_0x5cbcf2,_0x45f0a2,0xc,_0x2a8acf[0x9]),_0x5cbcf2=_0x24f5f8(_0x5cbcf2,_0x537126,_0x21c53e,_0x28cddf,_0x338e17,0x11,_0x2a8acf[0xa]),_0x28cddf=_0x24f5f8(_0x28cddf,_0x5cbcf2,_0x537126,_0x21c53e,_0x4c8f37,0x16,_0x2a8acf[0xb]),_0x21c53e=_0x24f5f8(_0x21c53e,_0x28cddf,_0x5cbcf2,_0x537126,_0x376f64,0x7,_0x2a8acf[0xc]),_0x537126=_0x24f5f8(_0x537126,_0x21c53e,_0x28cddf,_0x5cbcf2,_0x3415e5,0xc,_0x2a8acf[0xd]),_0x5cbcf2=_0x24f5f8(_0x5cbcf2,_0x537126,_0x21c53e,_0x28cddf,_0x10cc6e,0x11,_0x2a8acf[0xe]),_0x28cddf=_0x24f5f8(_0x28cddf,_0x5cbcf2,_0x537126,_0x21c53e,_0x2c7ce2,0x16,_0x2a8acf[0xf]),_0x21c53e=_0x25ebd5(_0x21c53e,_0x28cddf,_0x5cbcf2,_0x537126,_0x220c99,0x5,_0x2a8acf[0x10]),_0x537126=_0x25ebd5(_0x537126,_0x21c53e,_0x28cddf,_0x5cbcf2,_0x32271e,0x9,_0x2a8acf[0x11]),_0x5cbcf2=_0x25ebd5(_0x5cbcf2,_0x537126,_0x21c53e,_0x28cddf,_0x4c8f37,0xe,_0x2a8acf[0x12]),_0x28cddf=_0x25ebd5(_0x28cddf,_0x5cbcf2,_0x537126,_0x21c53e,_0x23f68e,0x14,_0x2a8acf[0x13]),_0x21c53e=_0x25ebd5(_0x21c53e,_0x28cddf,_0x5cbcf2,_0x537126,_0x2b0b95,0x5,_0x2a8acf[0x14]),_0x537126=_0x25ebd5(_0x537126,_0x21c53e,_0x28cddf,_0x5cbcf2,_0x338e17,0x9,_0x2a8acf[0x15]),_0x5cbcf2=_0x25ebd5(_0x5cbcf2,_0x537126,_0x21c53e,_0x28cddf,_0x2c7ce2,0xe,_0x2a8acf[0x16]),_0x28cddf=_0x25ebd5(_0x28cddf,_0x5cbcf2,_0x537126,_0x21c53e,_0x37d2ac,0x14,_0x2a8acf[0x17]),_0x21c53e=_0x25ebd5(_0x21c53e,_0x28cddf,_0x5cbcf2,_0x537126,_0x45f0a2,0x5,_0x2a8acf[0x18]),_0x537126=_0x25ebd5(_0x537126,_0x21c53e,_0x28cddf,_0x5cbcf2,_0x10cc6e,0x9,_0x2a8acf[0x19]),_0x5cbcf2=_0x25ebd5(_0x5cbcf2,_0x537126,_0x21c53e,_0x28cddf,_0x299712,0xe,_0x2a8acf[0x1a]),_0x28cddf=_0x25ebd5(_0x28cddf,_0x5cbcf2,_0x537126,_0x21c53e,_0x6b8bd2,0x14,_0x2a8acf[0x1b]),_0x21c53e=_0x25ebd5(_0x21c53e,_0x28cddf,_0x5cbcf2,_0x537126,_0x3415e5,0x5,_0x2a8acf[0x1c]),_0x537126=_0x25ebd5(_0x537126,_0x21c53e,_0x28cddf,_0x5cbcf2,_0x316dec,0x9,_0x2a8acf[0x1d]),_0x5cbcf2=_0x25ebd5(_0x5cbcf2,_0x537126,_0x21c53e,_0x28cddf,_0x19de2a,0xe,_0x2a8acf[0x1e]),_0x28cddf=_0x25ebd5(_0x28cddf,_0x5cbcf2,_0x537126,_0x21c53e,_0x376f64,0x14,_0x2a8acf[0x1f]),_0x21c53e=_0x242725(_0x21c53e,_0x28cddf,_0x5cbcf2,_0x537126,_0x2b0b95,0x4,_0x2a8acf[0x20]),_0x537126=_0x242725(_0x537126,_0x21c53e,_0x28cddf,_0x5cbcf2,_0x6b8bd2,0xb,_0x2a8acf[0x21]),_0x5cbcf2=_0x242725(_0x5cbcf2,_0x537126,_0x21c53e,_0x28cddf,_0x4c8f37,0x10,_0x2a8acf[0x22]),_0x28cddf=_0x242725(_0x28cddf,_0x5cbcf2,_0x537126,_0x21c53e,_0x10cc6e,0x17,_0x2a8acf[0x23]),_0x21c53e=_0x242725(_0x21c53e,_0x28cddf,_0x5cbcf2,_0x537126,_0x220c99,0x4,_0x2a8acf[0x24]),_0x537126=_0x242725(_0x537126,_0x21c53e,_0x28cddf,_0x5cbcf2,_0x37d2ac,0xb,_0x2a8acf[0x25]),_0x5cbcf2=_0x242725(_0x5cbcf2,_0x537126,_0x21c53e,_0x28cddf,_0x19de2a,0x10,_0x2a8acf[0x26]),_0x28cddf=_0x242725(_0x28cddf,_0x5cbcf2,_0x537126,_0x21c53e,_0x338e17,0x17,_0x2a8acf[0x27]),_0x21c53e=_0x242725(_0x21c53e,_0x28cddf,_0x5cbcf2,_0x537126,_0x3415e5,0x4,_0x2a8acf[0x28]),_0x537126=_0x242725(_0x537126,_0x21c53e,_0x28cddf,_0x5cbcf2,_0x23f68e,0xb,_0x2a8acf[0x29]),_0x5cbcf2=_0x242725(_0x5cbcf2,_0x537126,_0x21c53e,_0x28cddf,_0x299712,0x10,_0x2a8acf[0x2a]),_0x28cddf=_0x242725(_0x28cddf,_0x5cbcf2,_0x537126,_0x21c53e,_0x32271e,0x17,_0x2a8acf[0x2b]),_0x21c53e=_0x242725(_0x21c53e,_0x28cddf,_0x5cbcf2,_0x537126,_0x45f0a2,0x4,_0x2a8acf[0x2c]),_0x537126=_0x242725(_0x537126,_0x21c53e,_0x28cddf,_0x5cbcf2,_0x376f64,0xb,_0x2a8acf[0x2d]),_0x5cbcf2=_0x242725(_0x5cbcf2,_0x537126,_0x21c53e,_0x28cddf,_0x2c7ce2,0x10,_0x2a8acf[0x2e]),_0x28cddf=_0x242725(_0x28cddf,_0x5cbcf2,_0x537126,_0x21c53e,_0x316dec,0x17,_0x2a8acf[0x2f]),_0x21c53e=_0x44bc3f(_0x21c53e,_0x28cddf,_0x5cbcf2,_0x537126,_0x23f68e,0x6,_0x2a8acf[0x30]),_0x537126=_0x44bc3f(_0x537126,_0x21c53e,_0x28cddf,_0x5cbcf2,_0x19de2a,0xa,_0x2a8acf[0x31]),_0x5cbcf2=_0x44bc3f(_0x5cbcf2,_0x537126,_0x21c53e,_0x28cddf,_0x10cc6e,0xf,_0x2a8acf[0x32]),_0x28cddf=_0x44bc3f(_0x28cddf,_0x5cbcf2,_0x537126,_0x21c53e,_0x2b0b95,0x15,_0x2a8acf[0x33]),_0x21c53e=_0x44bc3f(_0x21c53e,_0x28cddf,_0x5cbcf2,_0x537126,_0x376f64,0x6,_0x2a8acf[0x34]),_0x537126=_0x44bc3f(_0x537126,_0x21c53e,_0x28cddf,_0x5cbcf2,_0x299712,0xa,_0x2a8acf[0x35]),_0x5cbcf2=_0x44bc3f(_0x5cbcf2,_0x537126,_0x21c53e,_0x28cddf,_0x338e17,0xf,_0x2a8acf[0x36]),_0x28cddf=_0x44bc3f(_0x28cddf,_0x5cbcf2,_0x537126,_0x21c53e,_0x220c99,0x15,_0x2a8acf[0x37]),_0x21c53e=_0x44bc3f(_0x21c53e,_0x28cddf,_0x5cbcf2,_0x537126,_0x6b8bd2,0x6,_0x2a8acf[0x38]),_0x537126=_0x44bc3f(_0x537126,_0x21c53e,_0x28cddf,_0x5cbcf2,_0x2c7ce2,0xa,_0x2a8acf[0x39]),_0x5cbcf2=_0x44bc3f(_0x5cbcf2,_0x537126,_0x21c53e,_0x28cddf,_0x32271e,0xf,_0x2a8acf[0x3a]),_0x28cddf=_0x44bc3f(_0x28cddf,_0x5cbcf2,_0x537126,_0x21c53e,_0x3415e5,0x15,_0x2a8acf[0x3b]),_0x21c53e=_0x44bc3f(_0x21c53e,_0x28cddf,_0x5cbcf2,_0x537126,_0x37d2ac,0x6,_0x2a8acf[0x3c]),_0x537126=_0x44bc3f(_0x537126,_0x21c53e,_0x28cddf,_0x5cbcf2,_0x4c8f37,0xa,_0x2a8acf[0x3d]),_0x5cbcf2=_0x44bc3f(_0x5cbcf2,_0x537126,_0x21c53e,_0x28cddf,_0x316dec,0xf,_0x2a8acf[0x3e]),_0x28cddf=_0x44bc3f(_0x28cddf,_0x5cbcf2,_0x537126,_0x21c53e,_0x45f0a2,0x15,_0x2a8acf[0x3f]),_0x41077c[0x0]=_0x41077c[0x0]+_0x21c53e|0x0,_0x41077c[0x1]=_0x41077c[0x1]+_0x28cddf|0x0,_0x41077c[0x2]=_0x41077c[0x2]+_0x5cbcf2|0x0,_0x41077c[0x3]=_0x41077c[0x3]+_0x537126|0x0;},'_doFinalize':function(){var _0x45e5fa=_0x455e5a,_0x217580=this[_0x45e5fa(0x176)],_0x1b37ce=_0x217580[_0x45e5fa(0x20a)],_0x50565b=this[_0x45e5fa(0x352)]*0x8,_0x530b5d=_0x217580[_0x45e5fa(0x23b)]*0x8;_0x1b37ce[_0x530b5d>>>0x5]|=0x80<<0x18-_0x530b5d%0x20;var _0x3882ae=_0x18a987['floor'](_0x50565b/0x100000000),_0x3c3f64=_0x50565b;_0x1b37ce[(_0x530b5d+0x40>>>0x9<<0x4)+0xf]=(_0x3882ae<<0x8|_0x3882ae>>>0x18)&0xff00ff|(_0x3882ae<<0x18|_0x3882ae>>>0x8)&0xff00ff00,_0x1b37ce[(_0x530b5d+0x40>>>0x9<<0x4)+0xe]=(_0x3c3f64<<0x8|_0x3c3f64>>>0x18)&0xff00ff|(_0x3c3f64<<0x18|_0x3c3f64>>>0x8)&0xff00ff00,_0x217580['sigBytes']=(_0x1b37ce[_0x45e5fa(0xfb)]+0x1)*0x4,this[_0x45e5fa(0x2cb)]();for(var _0x37bc20=this[_0x45e5fa(0xf5)],_0xa7b93a=_0x37bc20[_0x45e5fa(0x20a)],_0xac4120=0x0;_0xac4120<0x4;_0xac4120++){var _0x303188=_0xa7b93a[_0xac4120];_0xa7b93a[_0xac4120]=(_0x303188<<0x8|_0x303188>>>0x18)&0xff00ff|(_0x303188<<0x18|_0x303188>>>0x8)&0xff00ff00;}return _0x37bc20;},'clone':function(){var _0x401889=_0x455e5a,_0x1e1268=_0x293c42[_0x401889(0x2fc)][_0x401889(0x2d0)](this);return _0x1e1268[_0x401889(0xf5)]=this['_hash'][_0x401889(0x2fc)](),_0x1e1268;}});function _0x24f5f8(_0x1d3660,_0x20fffe,_0x2cc30c,_0x36636a,_0x21fa13,_0x4081fc,_0x1f2c90){var _0x433fad=_0x1d3660+(_0x20fffe&_0x2cc30c|~_0x20fffe&_0x36636a)+_0x21fa13+_0x1f2c90;return(_0x433fad<<_0x4081fc|_0x433fad>>>0x20-_0x4081fc)+_0x20fffe;}function _0x25ebd5(_0x310ca3,_0x58bfcf,_0x2dbb3f,_0x3c40fe,_0x40226c,_0x11cd5b,_0x23233b){var _0x396c6c=_0x310ca3+(_0x58bfcf&_0x3c40fe|_0x2dbb3f&~_0x3c40fe)+_0x40226c+_0x23233b;return(_0x396c6c<<_0x11cd5b|_0x396c6c>>>0x20-_0x11cd5b)+_0x58bfcf;}function _0x242725(_0x4c46d7,_0x3c9bdb,_0x26b3f0,_0x341a09,_0x4b4aa4,_0x271324,_0x4223b0){var _0x4a5bf9=_0x4c46d7+(_0x3c9bdb^_0x26b3f0^_0x341a09)+_0x4b4aa4+_0x4223b0;return(_0x4a5bf9<<_0x271324|_0x4a5bf9>>>0x20-_0x271324)+_0x3c9bdb;}function _0x44bc3f(_0xa60778,_0x15891,_0x49cd6c,_0x335840,_0x271a33,_0x2592d2,_0x27d216){var _0x33fd84=_0xa60778+(_0x49cd6c^(_0x15891|~_0x335840))+_0x271a33+_0x27d216;return(_0x33fd84<<_0x2592d2|_0x33fd84>>>0x20-_0x2592d2)+_0x15891;}_0x1f2d69[_0x455e5a(0x35b)]=_0x293c42[_0x455e5a(0x17e)](_0x1b9516),_0x1f2d69[_0x455e5a(0x356)]=_0x293c42[_0x455e5a(0x2b3)](_0x1b9516);}(Math),_0x2ffc29[_0x9865d6(0x35b)];}));}(Ye)),Ye[_0x5c2ba1(0x224)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0xc984d6(0x224)],Xt;function dn(){var _0x64973b=_0xc984d6;return Xt||(Xt=0x1,function(_0x30db71,_0x35159b){(function(_0x4d13df,_0x236845){_0x30db71['exports']=_0x236845(te());}(un,function(_0x50773e){var _0x369e84=_0x4af8;return(function(){var _0x5949ac=_0x4af8,_0x44fef0=_0x50773e,_0xea0649=_0x44fef0[_0x5949ac(0x322)],_0x56818f=_0xea0649[_0x5949ac(0x382)],_0x15b739=_0xea0649[_0x5949ac(0x324)],_0x3b0d56=_0x44fef0[_0x5949ac(0x275)],_0x57b3bb=[],_0x1a5c91=_0x3b0d56[_0x5949ac(0x1c2)]=_0x15b739[_0x5949ac(0x32e)]({'_doReset':function(){var _0x3eea58=_0x5949ac;this[_0x3eea58(0xf5)]=new _0x56818f[(_0x3eea58(0x150))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x401359,_0x465802){var _0x81f798=_0x5949ac;for(var _0x76c9c4=this[_0x81f798(0xf5)][_0x81f798(0x20a)],_0x229dca=_0x76c9c4[0x0],_0x218579=_0x76c9c4[0x1],_0x22c46e=_0x76c9c4[0x2],_0x4802f8=_0x76c9c4[0x3],_0x32a15b=_0x76c9c4[0x4],_0x54e7ed=0x0;_0x54e7ed<0x50;_0x54e7ed++){if(_0x54e7ed<0x10)_0x57b3bb[_0x54e7ed]=_0x401359[_0x465802+_0x54e7ed]|0x0;else{var _0x49e0d2=_0x57b3bb[_0x54e7ed-0x3]^_0x57b3bb[_0x54e7ed-0x8]^_0x57b3bb[_0x54e7ed-0xe]^_0x57b3bb[_0x54e7ed-0x10];_0x57b3bb[_0x54e7ed]=_0x49e0d2<<0x1|_0x49e0d2>>>0x1f;}var _0x320651=(_0x229dca<<0x5|_0x229dca>>>0x1b)+_0x32a15b+_0x57b3bb[_0x54e7ed];_0x54e7ed<0x14?_0x320651+=(_0x218579&_0x22c46e|~_0x218579&_0x4802f8)+0x5a827999:_0x54e7ed<0x28?_0x320651+=(_0x218579^_0x22c46e^_0x4802f8)+0x6ed9eba1:_0x54e7ed<0x3c?_0x320651+=(_0x218579&_0x22c46e|_0x218579&_0x4802f8|_0x22c46e&_0x4802f8)-0x70e44324:_0x320651+=(_0x218579^_0x22c46e^_0x4802f8)-0x359d3e2a,_0x32a15b=_0x4802f8,_0x4802f8=_0x22c46e,_0x22c46e=_0x218579<<0x1e|_0x218579>>>0x2,_0x218579=_0x229dca,_0x229dca=_0x320651;}_0x76c9c4[0x0]=_0x76c9c4[0x0]+_0x229dca|0x0,_0x76c9c4[0x1]=_0x76c9c4[0x1]+_0x218579|0x0,_0x76c9c4[0x2]=_0x76c9c4[0x2]+_0x22c46e|0x0,_0x76c9c4[0x3]=_0x76c9c4[0x3]+_0x4802f8|0x0,_0x76c9c4[0x4]=_0x76c9c4[0x4]+_0x32a15b|0x0;},'_doFinalize':function(){var _0xec9068=_0x5949ac,_0x8eec43=this[_0xec9068(0x176)],_0x56463e=_0x8eec43[_0xec9068(0x20a)],_0x44c7bd=this[_0xec9068(0x352)]*0x8,_0x41e3b1=_0x8eec43[_0xec9068(0x23b)]*0x8;return _0x56463e[_0x41e3b1>>>0x5]|=0x80<<0x18-_0x41e3b1%0x20,_0x56463e[(_0x41e3b1+0x40>>>0x9<<0x4)+0xe]=Math[_0xec9068(0x350)](_0x44c7bd/0x100000000),_0x56463e[(_0x41e3b1+0x40>>>0x9<<0x4)+0xf]=_0x44c7bd,_0x8eec43['sigBytes']=_0x56463e['length']*0x4,this[_0xec9068(0x2cb)](),this[_0xec9068(0xf5)];},'clone':function(){var _0x313619=_0x5949ac,_0x8799c2=_0x15b739[_0x313619(0x2fc)][_0x313619(0x2d0)](this);return _0x8799c2[_0x313619(0xf5)]=this[_0x313619(0xf5)]['clone'](),_0x8799c2;}});_0x44fef0[_0x5949ac(0x1c2)]=_0x15b739[_0x5949ac(0x17e)](_0x1a5c91),_0x44fef0[_0x5949ac(0x1b2)]=_0x15b739[_0x5949ac(0x2b3)](_0x1a5c91);}()),_0x50773e[_0x369e84(0x1c2)];}));}(qe)),qe[_0x64973b(0x224)];}var ze={'exports':{}},fn=ze[_0xc984d6(0x224)],Zt;function vn(){var _0x5981cb=_0xc984d6;return Zt||(Zt=0x1,function(_0x3c8136,_0x4922a3){(function(_0x1ce390,_0x389e34){var _0x2a1a27=_0x4af8;_0x3c8136[_0x2a1a27(0x224)]=_0x389e34(te());}(fn,function(_0x527457){(function(){var _0x168357=_0x4af8,_0xb85002=_0x527457,_0x3ccac3=_0xb85002[_0x168357(0x322)],_0x2c1ed8=_0x3ccac3['Base'],_0x2ba4d1=_0xb85002['enc'],_0x409085=_0x2ba4d1[_0x168357(0x2eb)],_0x2f823e=_0xb85002[_0x168357(0x275)];_0x2f823e['HMAC']=_0x2c1ed8[_0x168357(0x32e)]({'init':function(_0x30b5b1,_0x5834db){var _0xe5b0b9=_0x168357;_0x30b5b1=this[_0xe5b0b9(0xd4)]=new _0x30b5b1['init'](),typeof _0x5834db=='string'&&(_0x5834db=_0x409085[_0xe5b0b9(0x11e)](_0x5834db));var _0x541e2c=_0x30b5b1[_0xe5b0b9(0x2f0)],_0x5249d5=_0x541e2c*0x4;_0x5834db[_0xe5b0b9(0x23b)]>_0x5249d5&&(_0x5834db=_0x30b5b1[_0xe5b0b9(0x27a)](_0x5834db)),_0x5834db['clamp']();for(var _0x50a884=this[_0xe5b0b9(0x12c)]=_0x5834db[_0xe5b0b9(0x2fc)](),_0x564c05=this[_0xe5b0b9(0x1b0)]=_0x5834db['clone'](),_0x410ae2=_0x50a884[_0xe5b0b9(0x20a)],_0x7ca968=_0x564c05[_0xe5b0b9(0x20a)],_0x465366=0x0;_0x465366<_0x541e2c;_0x465366++)_0x410ae2[_0x465366]^=0x5c5c5c5c,_0x7ca968[_0x465366]^=0x36363636;_0x50a884[_0xe5b0b9(0x23b)]=_0x564c05[_0xe5b0b9(0x23b)]=_0x5249d5,this[_0xe5b0b9(0x263)]();},'reset':function(){var _0x22f0eb=_0x168357,_0x593038=this['_hasher'];_0x593038[_0x22f0eb(0x263)](),_0x593038[_0x22f0eb(0x271)](this[_0x22f0eb(0x1b0)]);},'update':function(_0x1cad9b){var _0x4d4043=_0x168357;return this['_hasher'][_0x4d4043(0x271)](_0x1cad9b),this;},'finalize':function(_0x16898e){var _0x20319d=_0x168357,_0x23aec6=this[_0x20319d(0xd4)],_0x53e96e=_0x23aec6[_0x20319d(0x27a)](_0x16898e);_0x23aec6[_0x20319d(0x263)]();var _0x51e12b=_0x23aec6[_0x20319d(0x27a)](this[_0x20319d(0x12c)][_0x20319d(0x2fc)]()[_0x20319d(0x1ef)](_0x53e96e));return _0x51e12b;}});}());}));}(ze)),ze[_0x5981cb(0x224)];}var pn=Ke[_0xc984d6(0x224)],Qt;function Oi(){return Qt||(Qt=0x1,function(_0x3d6824,_0xee89f5){(function(_0x34bdee,_0xff89f9,_0x2e8128){var _0x4ecdb3=_0x4af8;_0x3d6824[_0x4ecdb3(0x224)]=_0xff89f9(te(),dn(),vn());}(pn,function(_0x5b7f80){var _0x5b1374=_0x4af8;return(function(){var _0x4f6c4e=_0x4af8,_0x41aabf=_0x5b7f80,_0x3d05bc=_0x41aabf[_0x4f6c4e(0x322)],_0x13a0cb=_0x3d05bc[_0x4f6c4e(0x118)],_0x863c43=_0x3d05bc[_0x4f6c4e(0x382)],_0x2ba73d=_0x41aabf[_0x4f6c4e(0x275)],_0x2de154=_0x2ba73d[_0x4f6c4e(0x35b)],_0x3ce006=_0x2ba73d[_0x4f6c4e(0x156)]=_0x13a0cb[_0x4f6c4e(0x32e)]({'cfg':_0x13a0cb[_0x4f6c4e(0x32e)]({'keySize':0x80/0x20,'hasher':_0x2de154,'iterations':0x1}),'init':function(_0x37389e){var _0x101373=_0x4f6c4e;this[_0x101373(0x369)]=this['cfg']['extend'](_0x37389e);},'compute':function(_0x53c4b3,_0x181c9d){var _0x2ebb1a=_0x4f6c4e;for(var _0x550e07,_0x251a26=this['cfg'],_0x5e0835=_0x251a26[_0x2ebb1a(0x3aa)][_0x2ebb1a(0x117)](),_0xa98694=_0x863c43[_0x2ebb1a(0x117)](),_0xb32e29=_0xa98694[_0x2ebb1a(0x20a)],_0xa9b535=_0x251a26['keySize'],_0x536d87=_0x251a26[_0x2ebb1a(0x304)];_0xb32e29['length']<_0xa9b535;){_0x550e07&&_0x5e0835[_0x2ebb1a(0x271)](_0x550e07),_0x550e07=_0x5e0835[_0x2ebb1a(0x271)](_0x53c4b3)[_0x2ebb1a(0x27a)](_0x181c9d),_0x5e0835[_0x2ebb1a(0x263)]();for(var _0x1ab80f=0x1;_0x1ab80f<_0x536d87;_0x1ab80f++)_0x550e07=_0x5e0835[_0x2ebb1a(0x27a)](_0x550e07),_0x5e0835[_0x2ebb1a(0x263)]();_0xa98694['concat'](_0x550e07);}return _0xa98694['sigBytes']=_0xa9b535*0x4,_0xa98694;}});_0x41aabf[_0x4f6c4e(0x156)]=function(_0x59c12e,_0x46c960,_0x4429e4){var _0x164898=_0x4f6c4e;return _0x3ce006[_0x164898(0x117)](_0x4429e4)[_0x164898(0x161)](_0x59c12e,_0x46c960);};}()),_0x5b7f80[_0x5b1374(0x156)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},mn=Je[_0xc984d6(0x224)],ei;function bi(){var _0x423ca5=_0xc984d6;return ei||(ei=0x1,function(_0x13c655,_0x5053f5){(function(_0x147494,_0x56d399,_0x331e5f){var _0x53634b=_0x4af8;_0x13c655[_0x53634b(0x224)]=_0x56d399(te(),Oi());}(mn,function(_0x4cceac){var _0x365062=_0x4af8;_0x4cceac[_0x365062(0x322)][_0x365062(0x13c)]||function(_0x33fd41){var _0x550ccb=_0x365062,_0x3c3f2f=_0x4cceac,_0xa6145=_0x3c3f2f[_0x550ccb(0x322)],_0xf4e3ec=_0xa6145[_0x550ccb(0x118)],_0x27619c=_0xa6145[_0x550ccb(0x382)],_0x9ffc71=_0xa6145[_0x550ccb(0x2e7)],_0x197e39=_0x3c3f2f[_0x550ccb(0x1d2)];_0x197e39[_0x550ccb(0x2eb)];var _0x57d7d3=_0x197e39[_0x550ccb(0x228)],_0x3f2c97=_0x3c3f2f[_0x550ccb(0x275)],_0x5be274=_0x3f2c97['EvpKDF'],_0xf0cf29=_0xa6145[_0x550ccb(0x13c)]=_0x9ffc71[_0x550ccb(0x32e)]({'cfg':_0xf4e3ec[_0x550ccb(0x32e)](),'createEncryptor':function(_0x38bb04,_0x4fc1d4){return this['create'](this['_ENC_XFORM_MODE'],_0x38bb04,_0x4fc1d4);},'createDecryptor':function(_0x585751,_0x3befa6){var _0x2e96e1=_0x550ccb;return this[_0x2e96e1(0x117)](this[_0x2e96e1(0x2ae)],_0x585751,_0x3befa6);},'init':function(_0x197a73,_0x535a85,_0x10c483){var _0x20d018=_0x550ccb;this[_0x20d018(0x369)]=this[_0x20d018(0x369)][_0x20d018(0x32e)](_0x10c483),this[_0x20d018(0x2a9)]=_0x197a73,this[_0x20d018(0x360)]=_0x535a85,this[_0x20d018(0x263)]();},'reset':function(){var _0x2d3a0c=_0x550ccb;_0x9ffc71['reset'][_0x2d3a0c(0x2d0)](this),this[_0x2d3a0c(0x34c)]();},'process':function(_0x55daa1){var _0x528f57=_0x550ccb;return this[_0x528f57(0xeb)](_0x55daa1),this['_process']();},'finalize':function(_0x5887b1){var _0x44c66b=_0x550ccb;_0x5887b1&&this[_0x44c66b(0xeb)](_0x5887b1);var _0x487309=this['_doFinalize']();return _0x487309;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4a55b3(_0x3757d7){return typeof _0x3757d7=='string'?_0x3a37eb:_0x15903a;}return function(_0x249788){return{'encrypt':function(_0x3874f4,_0xd39e7e,_0x31e54a){var _0x4177a2=_0x4af8;return _0x4a55b3(_0xd39e7e)[_0x4177a2(0x18c)](_0x249788,_0x3874f4,_0xd39e7e,_0x31e54a);},'decrypt':function(_0x49082a,_0x2c80f1,_0x275f34){var _0x21f9e8=_0x4af8;return _0x4a55b3(_0x2c80f1)[_0x21f9e8(0xdc)](_0x249788,_0x49082a,_0x2c80f1,_0x275f34);}};};}())});_0xa6145[_0x550ccb(0x2c6)]=_0xf0cf29[_0x550ccb(0x32e)]({'_doFinalize':function(){var _0x4592ff=_0x550ccb,_0x1e576=this[_0x4592ff(0x2cb)](!0x0);return _0x1e576;},'blockSize':0x1});var _0x5544f4=_0x3c3f2f[_0x550ccb(0x28e)]={},_0x246a3f=_0xa6145[_0x550ccb(0x181)]=_0xf4e3ec[_0x550ccb(0x32e)]({'createEncryptor':function(_0x26da62,_0x3767f3){var _0xcb7a35=_0x550ccb;return this[_0xcb7a35(0x141)][_0xcb7a35(0x117)](_0x26da62,_0x3767f3);},'createDecryptor':function(_0xa8c040,_0x410fd7){var _0x2b266e=_0x550ccb;return this['Decryptor'][_0x2b266e(0x117)](_0xa8c040,_0x410fd7);},'init':function(_0x212d8a,_0x9be9e7){var _0x1d9b16=_0x550ccb;this['_cipher']=_0x212d8a,this[_0x1d9b16(0x218)]=_0x9be9e7;}}),_0x22ba6b=_0x5544f4[_0x550ccb(0x344)]=(function(){var _0x39d8ae=_0x550ccb,_0x15f924=_0x246a3f[_0x39d8ae(0x32e)]();_0x15f924[_0x39d8ae(0x141)]=_0x15f924[_0x39d8ae(0x32e)]({'processBlock':function(_0x142570,_0x5b8b5b){var _0x547040=_0x39d8ae,_0x39e9a4=this[_0x547040(0x207)],_0x141831=_0x39e9a4['blockSize'];_0x1bd70a['call'](this,_0x142570,_0x5b8b5b,_0x141831),_0x39e9a4['encryptBlock'](_0x142570,_0x5b8b5b),this[_0x547040(0x339)]=_0x142570[_0x547040(0x3be)](_0x5b8b5b,_0x5b8b5b+_0x141831);}}),_0x15f924[_0x39d8ae(0x162)]=_0x15f924[_0x39d8ae(0x32e)]({'processBlock':function(_0x27ffa6,_0x22d0ba){var _0x3e0c1b=_0x39d8ae,_0x4c5c8a=this[_0x3e0c1b(0x207)],_0x5caeea=_0x4c5c8a[_0x3e0c1b(0x2f0)],_0x30d866=_0x27ffa6[_0x3e0c1b(0x3be)](_0x22d0ba,_0x22d0ba+_0x5caeea);_0x4c5c8a[_0x3e0c1b(0x397)](_0x27ffa6,_0x22d0ba),_0x1bd70a[_0x3e0c1b(0x2d0)](this,_0x27ffa6,_0x22d0ba,_0x5caeea),this[_0x3e0c1b(0x339)]=_0x30d866;}});function _0x1bd70a(_0x113d68,_0x221a49,_0x448114){var _0x3756be=_0x39d8ae,_0x289987,_0x534b8=this['_iv'];_0x534b8?(_0x289987=_0x534b8,this['_iv']=_0x33fd41):_0x289987=this[_0x3756be(0x339)];for(var _0x3b085f=0x0;_0x3b085f<_0x448114;_0x3b085f++)_0x113d68[_0x221a49+_0x3b085f]^=_0x289987[_0x3b085f];}return _0x15f924;}()),_0x547479=_0x3c3f2f[_0x550ccb(0x1bd)]={},_0x194462=_0x547479[_0x550ccb(0x18e)]={'pad':function(_0x354b9e,_0x5dea04){var _0x59dda7=_0x550ccb;for(var _0x542cf9=_0x5dea04*0x4,_0x52aecb=_0x542cf9-_0x354b9e[_0x59dda7(0x23b)]%_0x542cf9,_0x1fb983=_0x52aecb<<0x18|_0x52aecb<<0x10|_0x52aecb<<0x8|_0x52aecb,_0x458f11=[],_0x32829b=0x0;_0x32829b<_0x52aecb;_0x32829b+=0x4)_0x458f11[_0x59dda7(0x12e)](_0x1fb983);var _0x2fda9b=_0x27619c[_0x59dda7(0x117)](_0x458f11,_0x52aecb);_0x354b9e[_0x59dda7(0x1ef)](_0x2fda9b);},'unpad':function(_0x10cc2b){var _0x535419=_0x550ccb,_0x3746a6=_0x10cc2b[_0x535419(0x20a)][_0x10cc2b[_0x535419(0x23b)]-0x1>>>0x2]&0xff;_0x10cc2b[_0x535419(0x23b)]-=_0x3746a6;}};_0xa6145['BlockCipher']=_0xf0cf29[_0x550ccb(0x32e)]({'cfg':_0xf0cf29[_0x550ccb(0x369)][_0x550ccb(0x32e)]({'mode':_0x22ba6b,'padding':_0x194462}),'reset':function(){var _0x19a1a6=_0x550ccb,_0x9b65f3;_0xf0cf29['reset']['call'](this);var _0x3aef9a=this[_0x19a1a6(0x369)],_0xe0bb43=_0x3aef9a['iv'],_0x586ab7=_0x3aef9a[_0x19a1a6(0x28e)];this[_0x19a1a6(0x2a9)]==this[_0x19a1a6(0x384)]?_0x9b65f3=_0x586ab7['createEncryptor']:(_0x9b65f3=_0x586ab7[_0x19a1a6(0x38e)],this[_0x19a1a6(0x1d0)]=0x1),this[_0x19a1a6(0x1d8)]&&this[_0x19a1a6(0x1d8)][_0x19a1a6(0x153)]==_0x9b65f3?this['_mode'][_0x19a1a6(0x150)](this,_0xe0bb43&&_0xe0bb43['words']):(this[_0x19a1a6(0x1d8)]=_0x9b65f3[_0x19a1a6(0x2d0)](_0x586ab7,this,_0xe0bb43&&_0xe0bb43[_0x19a1a6(0x20a)]),this[_0x19a1a6(0x1d8)][_0x19a1a6(0x153)]=_0x9b65f3);},'_doProcessBlock':function(_0x2fefad,_0x4b8256){var _0x4406dd=_0x550ccb;this[_0x4406dd(0x1d8)]['processBlock'](_0x2fefad,_0x4b8256);},'_doFinalize':function(){var _0x5000d9=_0x550ccb,_0x475be6,_0x4f46e1=this[_0x5000d9(0x369)][_0x5000d9(0x2d3)];return this[_0x5000d9(0x2a9)]==this[_0x5000d9(0x384)]?(_0x4f46e1['pad'](this['_data'],this[_0x5000d9(0x2f0)]),_0x475be6=this[_0x5000d9(0x2cb)](!0x0)):(_0x475be6=this['_process'](!0x0),_0x4f46e1[_0x5000d9(0x31b)](_0x475be6)),_0x475be6;},'blockSize':0x80/0x20});var _0x23edff=_0xa6145[_0x550ccb(0x1bc)]=_0xf4e3ec[_0x550ccb(0x32e)]({'init':function(_0xdb27aa){var _0x4c4011=_0x550ccb;this[_0x4c4011(0x269)](_0xdb27aa);},'toString':function(_0x58fd86){var _0x4655f1=_0x550ccb;return(_0x58fd86||this['formatter'])[_0x4655f1(0x320)](this);}}),_0x4ed2ca=_0x3c3f2f[_0x550ccb(0x14e)]={},_0x2007c2=_0x4ed2ca['OpenSSL']={'stringify':function(_0x22d767){var _0x2bfcf7=_0x550ccb,_0x410345,_0x38cea5=_0x22d767['ciphertext'],_0x2f9693=_0x22d767[_0x2bfcf7(0x399)];return _0x2f9693?_0x410345=_0x27619c['create']([0x53616c74,0x65645f5f])[_0x2bfcf7(0x1ef)](_0x2f9693)['concat'](_0x38cea5):_0x410345=_0x38cea5,_0x410345[_0x2bfcf7(0x227)](_0x57d7d3);},'parse':function(_0x147368){var _0x47497c=_0x550ccb,_0x58143e,_0x43ba64=_0x57d7d3[_0x47497c(0x11e)](_0x147368),_0x485c72=_0x43ba64['words'];return _0x485c72[0x0]==0x53616c74&&_0x485c72[0x1]==0x65645f5f&&(_0x58143e=_0x27619c['create'](_0x485c72[_0x47497c(0x3be)](0x2,0x4)),_0x485c72[_0x47497c(0x326)](0x0,0x4),_0x43ba64[_0x47497c(0x23b)]-=0x10),_0x23edff[_0x47497c(0x117)]({'ciphertext':_0x43ba64,'salt':_0x58143e});}},_0x15903a=_0xa6145['SerializableCipher']=_0xf4e3ec[_0x550ccb(0x32e)]({'cfg':_0xf4e3ec[_0x550ccb(0x32e)]({'format':_0x2007c2}),'encrypt':function(_0x31a23e,_0x823e79,_0x43f072,_0x4757a1){var _0x55c691=_0x550ccb;_0x4757a1=this['cfg'][_0x55c691(0x32e)](_0x4757a1);var _0x4ebe28=_0x31a23e[_0x55c691(0x27f)](_0x43f072,_0x4757a1),_0x363d61=_0x4ebe28['finalize'](_0x823e79),_0x5347ba=_0x4ebe28['cfg'];return _0x23edff[_0x55c691(0x117)]({'ciphertext':_0x363d61,'key':_0x43f072,'iv':_0x5347ba['iv'],'algorithm':_0x31a23e,'mode':_0x5347ba['mode'],'padding':_0x5347ba[_0x55c691(0x2d3)],'blockSize':_0x31a23e[_0x55c691(0x2f0)],'formatter':_0x4757a1[_0x55c691(0x14e)]});},'decrypt':function(_0x41b610,_0x357b3d,_0x2f7627,_0x5e4b78){var _0x267c23=_0x550ccb;_0x5e4b78=this['cfg']['extend'](_0x5e4b78),_0x357b3d=this[_0x267c23(0x168)](_0x357b3d,_0x5e4b78[_0x267c23(0x14e)]);var _0x1bb207=_0x41b610['createDecryptor'](_0x2f7627,_0x5e4b78)[_0x267c23(0x27a)](_0x357b3d['ciphertext']);return _0x1bb207;},'_parse':function(_0x4daeae,_0xd0d9c0){var _0x646991=_0x550ccb;return typeof _0x4daeae==_0x646991(0xe6)?_0xd0d9c0['parse'](_0x4daeae,this):_0x4daeae;}}),_0x23f754=_0x3c3f2f[_0x550ccb(0x191)]={},_0x1fa937=_0x23f754[_0x550ccb(0x1d6)]={'execute':function(_0x3e7dfe,_0xa8ed82,_0x56fa55,_0x32943c,_0x5cb0c7){var _0x2a598d=_0x550ccb;if(_0x32943c||(_0x32943c=_0x27619c[_0x2a598d(0x11a)](0x40/0x8)),_0x5cb0c7)var _0x5134c1=_0x5be274[_0x2a598d(0x117)]({'keySize':_0xa8ed82+_0x56fa55,'hasher':_0x5cb0c7})[_0x2a598d(0x161)](_0x3e7dfe,_0x32943c);else var _0x5134c1=_0x5be274[_0x2a598d(0x117)]({'keySize':_0xa8ed82+_0x56fa55})[_0x2a598d(0x161)](_0x3e7dfe,_0x32943c);var _0x33464b=_0x27619c[_0x2a598d(0x117)](_0x5134c1[_0x2a598d(0x20a)]['slice'](_0xa8ed82),_0x56fa55*0x4);return _0x5134c1['sigBytes']=_0xa8ed82*0x4,_0x23edff[_0x2a598d(0x117)]({'key':_0x5134c1,'iv':_0x33464b,'salt':_0x32943c});}},_0x3a37eb=_0xa6145[_0x550ccb(0x367)]=_0x15903a[_0x550ccb(0x32e)]({'cfg':_0x15903a['cfg'][_0x550ccb(0x32e)]({'kdf':_0x1fa937}),'encrypt':function(_0x3b51f7,_0x25a04b,_0xaedb70,_0x3c827c){var _0x10ef05=_0x550ccb;_0x3c827c=this['cfg'][_0x10ef05(0x32e)](_0x3c827c);var _0x4f6990=_0x3c827c[_0x10ef05(0x191)][_0x10ef05(0x10c)](_0xaedb70,_0x3b51f7[_0x10ef05(0x2ce)],_0x3b51f7[_0x10ef05(0x23d)],_0x3c827c[_0x10ef05(0x399)],_0x3c827c[_0x10ef05(0x3aa)]);_0x3c827c['iv']=_0x4f6990['iv'];var _0x386060=_0x15903a[_0x10ef05(0x18c)][_0x10ef05(0x2d0)](this,_0x3b51f7,_0x25a04b,_0x4f6990['key'],_0x3c827c);return _0x386060[_0x10ef05(0x269)](_0x4f6990),_0x386060;},'decrypt':function(_0x4b4629,_0x214f22,_0x3947c0,_0x435407){var _0x342790=_0x550ccb;_0x435407=this[_0x342790(0x369)][_0x342790(0x32e)](_0x435407),_0x214f22=this[_0x342790(0x168)](_0x214f22,_0x435407[_0x342790(0x14e)]);var _0x479a99=_0x435407[_0x342790(0x191)][_0x342790(0x10c)](_0x3947c0,_0x4b4629[_0x342790(0x2ce)],_0x4b4629[_0x342790(0x23d)],_0x214f22[_0x342790(0x399)],_0x435407[_0x342790(0x3aa)]);_0x435407['iv']=_0x479a99['iv'];var _0x36fdbe=_0x15903a['decrypt'][_0x342790(0x2d0)](this,_0x4b4629,_0x214f22,_0x479a99[_0x342790(0x301)],_0x435407);return _0x36fdbe;}});}();}));}(Je)),Je[_0x423ca5(0x224)];}var gn=Ve['exports'],ti;function Sn(){var _0x279cb5=_0xc984d6;return ti||(ti=0x1,function(_0x255361,_0x56d600){(function(_0x43fa40,_0x328f41,_0x5c28d2){_0x255361['exports']=_0x328f41(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x382db4){var _0x334c7d=_0x4af8;return(function(){var _0x2a40c8=_0x4af8,_0x285f63=_0x382db4,_0x159483=_0x285f63[_0x2a40c8(0x322)],_0xee11df=_0x159483[_0x2a40c8(0x381)],_0x547453=_0x285f63[_0x2a40c8(0x275)],_0x1b3930=[],_0x1840d0=[],_0x2c6909=[],_0x33fedc=[],_0x4ae6f9=[],_0x3963ff=[],_0x5ebc68=[],_0x23a90a=[],_0x450c68=[],_0xe965a3=[];(function(){for(var _0x444af8=[],_0x2efc94=0x0;_0x2efc94<0x100;_0x2efc94++)_0x2efc94<0x80?_0x444af8[_0x2efc94]=_0x2efc94<<0x1:_0x444af8[_0x2efc94]=_0x2efc94<<0x1^0x11b;for(var _0x2990c6=0x0,_0x218771=0x0,_0x2efc94=0x0;_0x2efc94<0x100;_0x2efc94++){var _0xb50fb0=_0x218771^_0x218771<<0x1^_0x218771<<0x2^_0x218771<<0x3^_0x218771<<0x4;_0xb50fb0=_0xb50fb0>>>0x8^_0xb50fb0&0xff^0x63,_0x1b3930[_0x2990c6]=_0xb50fb0,_0x1840d0[_0xb50fb0]=_0x2990c6;var _0x2dbbe3=_0x444af8[_0x2990c6],_0x2740b8=_0x444af8[_0x2dbbe3],_0x19fbd4=_0x444af8[_0x2740b8],_0x3f18c9=_0x444af8[_0xb50fb0]*0x101^_0xb50fb0*0x1010100;_0x2c6909[_0x2990c6]=_0x3f18c9<<0x18|_0x3f18c9>>>0x8,_0x33fedc[_0x2990c6]=_0x3f18c9<<0x10|_0x3f18c9>>>0x10,_0x4ae6f9[_0x2990c6]=_0x3f18c9<<0x8|_0x3f18c9>>>0x18,_0x3963ff[_0x2990c6]=_0x3f18c9;var _0x3f18c9=_0x19fbd4*0x1010101^_0x2740b8*0x10001^_0x2dbbe3*0x101^_0x2990c6*0x1010100;_0x5ebc68[_0xb50fb0]=_0x3f18c9<<0x18|_0x3f18c9>>>0x8,_0x23a90a[_0xb50fb0]=_0x3f18c9<<0x10|_0x3f18c9>>>0x10,_0x450c68[_0xb50fb0]=_0x3f18c9<<0x8|_0x3f18c9>>>0x18,_0xe965a3[_0xb50fb0]=_0x3f18c9,_0x2990c6?(_0x2990c6=_0x2dbbe3^_0x444af8[_0x444af8[_0x444af8[_0x19fbd4^_0x2dbbe3]]],_0x218771^=_0x444af8[_0x444af8[_0x218771]]):_0x2990c6=_0x218771=0x1;}}());var _0x374e31=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x27fcd2=_0x547453['AES']=_0xee11df[_0x2a40c8(0x32e)]({'_doReset':function(){var _0x507093=_0x2a40c8,_0x51077e;if(!(this['_nRounds']&&this[_0x507093(0x1ad)]===this['_key'])){for(var _0x4722fc=this[_0x507093(0x1ad)]=this['_key'],_0x75b45e=_0x4722fc[_0x507093(0x20a)],_0x56d7c0=_0x4722fc['sigBytes']/0x4,_0x5d497a=this[_0x507093(0x1c4)]=_0x56d7c0+0x6,_0x1f9518=(_0x5d497a+0x1)*0x4,_0x1679a8=this['_keySchedule']=[],_0x391749=0x0;_0x391749<_0x1f9518;_0x391749++)_0x391749<_0x56d7c0?_0x1679a8[_0x391749]=_0x75b45e[_0x391749]:(_0x51077e=_0x1679a8[_0x391749-0x1],_0x391749%_0x56d7c0?_0x56d7c0>0x6&&_0x391749%_0x56d7c0==0x4&&(_0x51077e=_0x1b3930[_0x51077e>>>0x18]<<0x18|_0x1b3930[_0x51077e>>>0x10&0xff]<<0x10|_0x1b3930[_0x51077e>>>0x8&0xff]<<0x8|_0x1b3930[_0x51077e&0xff]):(_0x51077e=_0x51077e<<0x8|_0x51077e>>>0x18,_0x51077e=_0x1b3930[_0x51077e>>>0x18]<<0x18|_0x1b3930[_0x51077e>>>0x10&0xff]<<0x10|_0x1b3930[_0x51077e>>>0x8&0xff]<<0x8|_0x1b3930[_0x51077e&0xff],_0x51077e^=_0x374e31[_0x391749/_0x56d7c0|0x0]<<0x18),_0x1679a8[_0x391749]=_0x1679a8[_0x391749-_0x56d7c0]^_0x51077e);for(var _0x4b3924=this[_0x507093(0x333)]=[],_0x53707c=0x0;_0x53707c<_0x1f9518;_0x53707c++){var _0x391749=_0x1f9518-_0x53707c;if(_0x53707c%0x4)var _0x51077e=_0x1679a8[_0x391749];else var _0x51077e=_0x1679a8[_0x391749-0x4];_0x53707c<0x4||_0x391749<=0x4?_0x4b3924[_0x53707c]=_0x51077e:_0x4b3924[_0x53707c]=_0x5ebc68[_0x1b3930[_0x51077e>>>0x18]]^_0x23a90a[_0x1b3930[_0x51077e>>>0x10&0xff]]^_0x450c68[_0x1b3930[_0x51077e>>>0x8&0xff]]^_0xe965a3[_0x1b3930[_0x51077e&0xff]];}}},'encryptBlock':function(_0x7c1a20,_0x104664){var _0x656ad3=_0x2a40c8;this[_0x656ad3(0x20b)](_0x7c1a20,_0x104664,this[_0x656ad3(0x24b)],_0x2c6909,_0x33fedc,_0x4ae6f9,_0x3963ff,_0x1b3930);},'decryptBlock':function(_0x13ab21,_0x365c67){var _0x4584aa=_0x2a40c8,_0x41c2fb=_0x13ab21[_0x365c67+0x1];_0x13ab21[_0x365c67+0x1]=_0x13ab21[_0x365c67+0x3],_0x13ab21[_0x365c67+0x3]=_0x41c2fb,this['_doCryptBlock'](_0x13ab21,_0x365c67,this[_0x4584aa(0x333)],_0x5ebc68,_0x23a90a,_0x450c68,_0xe965a3,_0x1840d0);var _0x41c2fb=_0x13ab21[_0x365c67+0x1];_0x13ab21[_0x365c67+0x1]=_0x13ab21[_0x365c67+0x3],_0x13ab21[_0x365c67+0x3]=_0x41c2fb;},'_doCryptBlock':function(_0x292abf,_0x2b1290,_0x5979ad,_0x1097dd,_0x3b5f8a,_0x3d78b9,_0xe58d93,_0x5861a1){var _0x2e3fa9=_0x2a40c8;for(var _0x2c784f=this[_0x2e3fa9(0x1c4)],_0x394c8d=_0x292abf[_0x2b1290]^_0x5979ad[0x0],_0x4dd9af=_0x292abf[_0x2b1290+0x1]^_0x5979ad[0x1],_0xbddae3=_0x292abf[_0x2b1290+0x2]^_0x5979ad[0x2],_0x4800fe=_0x292abf[_0x2b1290+0x3]^_0x5979ad[0x3],_0x588700=0x4,_0x1aac16=0x1;_0x1aac16<_0x2c784f;_0x1aac16++){var _0x798c7e=_0x1097dd[_0x394c8d>>>0x18]^_0x3b5f8a[_0x4dd9af>>>0x10&0xff]^_0x3d78b9[_0xbddae3>>>0x8&0xff]^_0xe58d93[_0x4800fe&0xff]^_0x5979ad[_0x588700++],_0x2740b9=_0x1097dd[_0x4dd9af>>>0x18]^_0x3b5f8a[_0xbddae3>>>0x10&0xff]^_0x3d78b9[_0x4800fe>>>0x8&0xff]^_0xe58d93[_0x394c8d&0xff]^_0x5979ad[_0x588700++],_0x20abe0=_0x1097dd[_0xbddae3>>>0x18]^_0x3b5f8a[_0x4800fe>>>0x10&0xff]^_0x3d78b9[_0x394c8d>>>0x8&0xff]^_0xe58d93[_0x4dd9af&0xff]^_0x5979ad[_0x588700++],_0x5718db=_0x1097dd[_0x4800fe>>>0x18]^_0x3b5f8a[_0x394c8d>>>0x10&0xff]^_0x3d78b9[_0x4dd9af>>>0x8&0xff]^_0xe58d93[_0xbddae3&0xff]^_0x5979ad[_0x588700++];_0x394c8d=_0x798c7e,_0x4dd9af=_0x2740b9,_0xbddae3=_0x20abe0,_0x4800fe=_0x5718db;}var _0x798c7e=(_0x5861a1[_0x394c8d>>>0x18]<<0x18|_0x5861a1[_0x4dd9af>>>0x10&0xff]<<0x10|_0x5861a1[_0xbddae3>>>0x8&0xff]<<0x8|_0x5861a1[_0x4800fe&0xff])^_0x5979ad[_0x588700++],_0x2740b9=(_0x5861a1[_0x4dd9af>>>0x18]<<0x18|_0x5861a1[_0xbddae3>>>0x10&0xff]<<0x10|_0x5861a1[_0x4800fe>>>0x8&0xff]<<0x8|_0x5861a1[_0x394c8d&0xff])^_0x5979ad[_0x588700++],_0x20abe0=(_0x5861a1[_0xbddae3>>>0x18]<<0x18|_0x5861a1[_0x4800fe>>>0x10&0xff]<<0x10|_0x5861a1[_0x394c8d>>>0x8&0xff]<<0x8|_0x5861a1[_0x4dd9af&0xff])^_0x5979ad[_0x588700++],_0x5718db=(_0x5861a1[_0x4800fe>>>0x18]<<0x18|_0x5861a1[_0x394c8d>>>0x10&0xff]<<0x10|_0x5861a1[_0x4dd9af>>>0x8&0xff]<<0x8|_0x5861a1[_0xbddae3&0xff])^_0x5979ad[_0x588700++];_0x292abf[_0x2b1290]=_0x798c7e,_0x292abf[_0x2b1290+0x1]=_0x2740b9,_0x292abf[_0x2b1290+0x2]=_0x20abe0,_0x292abf[_0x2b1290+0x3]=_0x5718db;},'keySize':0x100/0x20});_0x285f63['AES']=_0xee11df[_0x2a40c8(0x17e)](_0x27fcd2);}()),_0x382db4[_0x334c7d(0x3a8)];}));}(Ve)),Ve[_0x279cb5(0x224)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe['exports'],si;function Rn(){return si||(si=0x1,function(_0x452e9e,_0x465ba8){(function(_0x437b53,_0x943d7b){var _0x13225e=_0x4af8;_0x452e9e[_0x13225e(0x224)]=_0x943d7b(te());}(Cn,function(_0x128afd){var _0x44357e=_0x4af8;return _0x128afd['enc'][_0x44357e(0x2eb)];}));}(Xe)),Xe['exports'];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0xc984d6(0x224)],ni;function Nn(){var _0x3076fc=_0xc984d6;return ni||(ni=0x1,function(_0x120fe9,_0x2c8de9){(function(_0x441042,_0x2614ff){var _0x300522=_0x4af8;_0x120fe9[_0x300522(0x224)]=_0x2614ff(te());}(yn,function(_0x428291){return(function(){var _0x969e07=_0x4af8;if(typeof ArrayBuffer==_0x969e07(0x2c5)){var _0x27f1ac=_0x428291,_0x23d19f=_0x27f1ac[_0x969e07(0x322)],_0xecfc3d=_0x23d19f[_0x969e07(0x382)],_0x5f4236=_0xecfc3d[_0x969e07(0x150)],_0x4a580d=_0xecfc3d[_0x969e07(0x150)]=function(_0x39ff1a){var _0x5f4edc=_0x969e07;if(_0x39ff1a instanceof ArrayBuffer&&(_0x39ff1a=new Uint8Array(_0x39ff1a)),(_0x39ff1a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x39ff1a instanceof Uint8ClampedArray||_0x39ff1a instanceof Int16Array||_0x39ff1a instanceof Uint16Array||_0x39ff1a instanceof Int32Array||_0x39ff1a instanceof Uint32Array||_0x39ff1a instanceof Float32Array||_0x39ff1a instanceof Float64Array)&&(_0x39ff1a=new Uint8Array(_0x39ff1a[_0x5f4edc(0x32b)],_0x39ff1a[_0x5f4edc(0x189)],_0x39ff1a['byteLength'])),_0x39ff1a instanceof Uint8Array){for(var _0x2b6478=_0x39ff1a[_0x5f4edc(0x1ea)],_0x1a7cf0=[],_0x29dd31=0x0;_0x29dd31<_0x2b6478;_0x29dd31++)_0x1a7cf0[_0x29dd31>>>0x2]|=_0x39ff1a[_0x29dd31]<<0x18-_0x29dd31%0x4*0x8;_0x5f4236['call'](this,_0x1a7cf0,_0x2b6478);}else _0x5f4236[_0x5f4edc(0x29b)](this,arguments);};_0x4a580d['prototype']=_0xecfc3d;}}()),_0x428291['lib']['WordArray'];}));}(Ze)),Ze[_0x3076fc(0x224)];}var Dn=Nn();const Un=$e(Dn);function _0x4af8(_0x2e74f6,_0x1b02b5){var _0x5596ba=_0x5596();return _0x4af8=function(_0x4af8e0,_0x3959b0){_0x4af8e0=_0x4af8e0-0xc7;var _0x422044=_0x5596ba[_0x4af8e0];return _0x422044;},_0x4af8(_0x2e74f6,_0x1b02b5);}var Qe={'exports':{}},An=Qe[_0xc984d6(0x224)],ri;function wn(){var _0x326634=_0xc984d6;return ri||(ri=0x1,function(_0x1f84a9,_0x14b613){(function(_0x324279,_0x59a5da,_0x3e0fa8){var _0x12579a=_0x4af8;_0x1f84a9[_0x12579a(0x224)]=_0x59a5da(te(),bi());}(An,function(_0x2d8f7a){var _0x14b9a0=_0x4af8;return _0x2d8f7a[_0x14b9a0(0x1bd)][_0x14b9a0(0x1a0)]={'pad':function(){},'unpad':function(){}},_0x2d8f7a['pad'][_0x14b9a0(0x1a0)];}));}(Qe)),Qe[_0x326634(0x224)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x3d319f,_0x48b447){var _0x171b42=_0xc984d6;const _0x2cdb65=_0x48b447-_0x3d319f[_0x171b42(0xfb)]%_0x48b447,_0xd4849c=String[_0x171b42(0x393)](_0x2cdb65)[_0x171b42(0x2e8)](_0x2cdb65);return _0x3d319f+_0xd4849c;}function xn(_0x5b4af4,_0x96d250){var _0x1310e3=_0xc984d6;const _0x289590=Un['random'](0x10),_0x489b06=Ln(_0x5b4af4,0x10),_0x450262=In[_0x1310e3(0x18c)](bn[_0x1310e3(0x11e)](_0x489b06),ii[_0x1310e3(0x11e)](_0x96d250),{'iv':_0x289590,'padding':Mn});return _0x289590[_0x1310e3(0x1ef)](_0x450262[_0x1310e3(0x2a7)])['toString'](ii);}function kn(){var _0x2b87b0=_0xc984d6;const _0x289cb5=_0x2ad30c()['__Key__'];if(_0x289cb5){const _0x3d4444={'time':Math[_0x2b87b0(0x350)](Date['now']()/0x3e8),'domain':location[_0x2b87b0(0x1fd)]};return xn(JSON[_0x2b87b0(0x320)](_0x3d4444),_0x289cb5);}}var $n=Object['getOwnPropertyDescriptor'],Hn=(_0x2d82e0,_0x4cc33b,_0x5c332a,_0x4a3abc)=>{for(var _0x2ff6ec=_0x4a3abc>0x1?void 0x0:_0x4a3abc?$n(_0x4cc33b,_0x5c332a):_0x4cc33b,_0x3b6258=_0x2d82e0['length']-0x1,_0x505db1;_0x3b6258>=0x0;_0x3b6258--)(_0x505db1=_0x2d82e0[_0x3b6258])&&(_0x2ff6ec=_0x505db1(_0x2ff6ec)||_0x2ff6ec);return _0x2ff6ec;},Bn=(_0x19f735,_0x1aee3a)=>(_0x2beb68,_0x2a216f)=>_0x1aee3a(_0x2beb68,_0x2a216f,_0x19f735);let at=class{constructor(_0x33ed78){var _0x2bbf79=_0xc984d6;this[_0x2bbf79(0x335)]=_0x33ed78,this[_0x2bbf79(0x1ba)]();}[_0xc984d6(0x1ba)](){var _0x4e722e=_0xc984d6;this[_0x4e722e(0x335)][_0x4e722e(0x2de)]({'interceptor':(_0x5bb4e8,_0x2adcef)=>{var _0x1e3fb6=_0x4e722e;const _0x1718a1=_0x5bb4e8[_0x1e3fb6(0xf6)],_0x3414a0=kn();return _0x3414a0&&_0x1718a1['set'](_0x1e3fb6(0x1be),_0x3414a0),_0x2adcef(_0x5bb4e8);}});}};at=Hn([Bn(0x0,_0x1b33f7(_0x1c46bb))],at);var jn=Object[_0xc984d6(0x132)],Fn=(_0x32305c,_0x233301,_0x28e41e,_0x3b57c5)=>{for(var _0x11c570=_0x3b57c5>0x1?void 0x0:_0x3b57c5?jn(_0x233301,_0x28e41e):_0x233301,_0x4bfb2e=_0x32305c['length']-0x1,_0x3183ee;_0x4bfb2e>=0x0;_0x4bfb2e--)(_0x3183ee=_0x32305c[_0x4bfb2e])&&(_0x11c570=_0x3183ee(_0x11c570)||_0x11c570);return _0x11c570;},vt=(_0x49c0be,_0x7fa76c)=>(_0x3e5633,_0x44a0f3)=>_0x7fa76c(_0x3e5633,_0x44a0f3,_0x49c0be);let Ct=class extends _0x34821a{constructor(_0x188285,_0xfc5f89,_0x2e8d7f){var _0x4b5a46=_0xc984d6;super(),N(this,_0x4b5a46(0x14b),new _0x20ba1f(null)),N(this,_0x4b5a46(0x25f),this[_0x4b5a46(0x14b)][_0x4b5a46(0x195)]()),(this[_0x4b5a46(0x13a)]=_0x188285,this[_0x4b5a46(0x305)]=_0xfc5f89,this[_0x4b5a46(0x1f5)]=_0x2e8d7f);}async['loadUnitOfRevision'](_0x834ff4,_0x458484,_0x15013c){var _0x17186a=_0xc984d6;this[_0x17186a(0x14b)][_0x17186a(0x317)]({'unitId':_0x834ff4,'type':_0x458484});let _0x37039b=null;switch(_0x458484){case Z[_0x17186a(0x1dd)]:{_0x37039b=await this['_snapshotService'][_0x17186a(0x13f)](_0x834ff4,_0x15013c);break;}case Z[_0x17186a(0x18d)]:{_0x37039b=await this[_0x17186a(0x305)][_0x17186a(0x373)](_0x834ff4,_0x15013c);break;}default:{this['_logService']['error'](_0x17186a(0xee),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x37039b;}async[_0xc984d6(0x321)](_0x5e9977,_0xdbd92d,_0x171851){var _0x2b904b=_0xc984d6,_0x38ef7e;this[_0x2b904b(0x14b)][_0x2b904b(0x317)]({'unitId':_0x5e9977,'type':_0xdbd92d,'subUnitId':_0x171851});let _0x34815d=0x0;const _0x4df3f8=await((_0x38ef7e=this[_0x2b904b(0x1f5)])==null?void 0x0:_0x38ef7e[_0x2b904b(0xe8)](_0x5e9977));return _0x4df3f8&&(_0x4df3f8[_0x2b904b(0x114)]||_0x4df3f8[_0x2b904b(0x1fb)][_0x2b904b(0xfb)]!==0x0)&&(_0x34815d=_0x4df3f8[_0x2b904b(0x2b2)]),_0x34815d===0x0&&this[_0x2b904b(0x13a)][_0x2b904b(0x166)](_0x2b904b(0xee),_0x2b904b(0x233)),this[_0x2b904b(0x113)](_0x5e9977,_0xdbd92d,_0x34815d);}};Ct=Fn([vt(0x0,_0x1e0842),vt(0x1,_0x1b33f7(_0x117fb2)),vt(0x2,_0x136b0d(J))],Ct);var Vn=Object[_0xc984d6(0x132)],Wn=(_0xc4fa17,_0x5f6720,_0xef2c4a,_0x4d0a9f)=>{var _0x5016af=_0xc984d6;for(var _0xd51504=_0x4d0a9f>0x1?void 0x0:_0x4d0a9f?Vn(_0x5f6720,_0xef2c4a):_0x5f6720,_0x53eec3=_0xc4fa17[_0x5016af(0xfb)]-0x1,_0x20e526;_0x53eec3>=0x0;_0x53eec3--)(_0x20e526=_0xc4fa17[_0x53eec3])&&(_0xd51504=_0x20e526(_0xd51504)||_0xd51504);return _0xd51504;},pt=(_0x277b22,_0x16ee91)=>(_0x211b34,_0x2f947c)=>_0x16ee91(_0x211b34,_0x2f947c,_0x277b22);const Gn=['image/png',_0xc984d6(0x1c9),_0xc984d6(0x1f2),_0xc984d6(0x280),'image/bmp'],Yn=0x5*0x400*0x400,Kn='/universer-api/stream/file/upload',qn=_0xc984d6(0x104);let Rt=class{constructor(_0x28c68e,_0x394bcf,_0x1f8e3c){var _0x63ccab=_0xc984d6;N(this,_0x63ccab(0xf8),0x0),N(this,_0x63ccab(0x3b1),new _0x8a6cf2()),N(this,_0x63ccab(0xef),this[_0x63ccab(0x3b1)]),N(this,_0x63ccab(0x2a2),new Map()),(this[_0x63ccab(0x335)]=_0x28c68e,this[_0x63ccab(0x2c3)]=_0x394bcf,this['_univerInstanceService']=_0x1f8e3c);}[_0xc984d6(0x354)](_0x285a08){var _0x2bb078=_0xc984d6;this['_waitCount']=_0x285a08,this[_0x2bb078(0x3b1)][_0x2bb078(0x317)](_0x285a08);}[_0xc984d6(0x355)](_0xa5aaec,_0x509fc2){var _0x11957d=_0xc984d6;if(_0x509fc2===_0xd83d2b[_0x11957d(0x29f)]){const _0x47edde=new Image();return _0x47edde['src']=_0xa5aaec,_0x47edde;}return this[_0x11957d(0x2a2)][_0x11957d(0x231)](_0xa5aaec);}[_0xc984d6(0x3ad)](_0x5b9d67,_0x3a39e6,_0xcf4c0c){var _0x2c2769=_0xc984d6;_0x3a39e6===_0xd83d2b[_0x2c2769(0x29f)]||_0xcf4c0c==null||this[_0x2c2769(0x2a2)][_0x2c2769(0x173)](_0x5b9d67,_0xcf4c0c);}async[_0xc984d6(0x27d)](_0x263b03){var _0x2f8c0c=_0xc984d6;try{const _0x5a574b=this[_0x2f8c0c(0x36a)](this[_0x2f8c0c(0x379)](),''+_0x263b03),_0x347169=(await this['_httpService']['get'](_0x5a574b))[_0x2f8c0c(0x32d)];if(_0x347169['error']&&_0x347169[_0x2f8c0c(0x31e)][_0x2f8c0c(0x235)]===vi['OK']){const _0x1a1676=new URL(_0x347169['url'],this[_0x2f8c0c(0x1e2)]())['toString']();return Promise['resolve'](_0x1a1676);}return Promise[_0x2f8c0c(0x353)](_0x347169[_0x2f8c0c(0x31e)]);}catch(_0x181599){return Promise[_0x2f8c0c(0x353)](_0x181599);}}async[_0xc984d6(0x3bc)](_0x5a78ef){var _0x3eb1c4=_0xc984d6;let _0x154341='';if(!Gn[_0x3eb1c4(0x116)](_0x5a78ef['type']))return this[_0x3eb1c4(0x331)](),Promise[_0x3eb1c4(0x353)](new Error(_0x37691c[_0x3eb1c4(0x383)]));if(_0x5a78ef[_0x3eb1c4(0x159)]>Yn)return this[_0x3eb1c4(0x331)](),Promise[_0x3eb1c4(0x353)](new Error(_0x37691c[_0x3eb1c4(0x16d)]));try{const _0x5478e6=new FormData();_0x5478e6[_0x3eb1c4(0x2e0)](_0x3eb1c4(0x2ab),_0x5a78ef);const _0x23e858=this[_0x3eb1c4(0x392)][_0x3eb1c4(0x2da)](),_0x41e87d=_0x23e858==null?void 0x0:_0x23e858['getUnitId']();if(!_0x41e87d)throw new Error(_0x3eb1c4(0x16e));const _0x370144=this[_0x3eb1c4(0x329)]()+'?size='+_0x5a78ef['size'][_0x3eb1c4(0x227)]()+'&source='+pi['UnitEmbedded']+_0x3eb1c4(0x3b7)+encodeURIComponent(_0x41e87d),_0x954cc={'body':_0x5478e6},_0x12e7a0=(await this['_httpService'][_0x3eb1c4(0x167)](_0x370144,_0x954cc))[_0x3eb1c4(0x32d)];if(typeof _0x12e7a0[_0x3eb1c4(0x222)]!=_0x3eb1c4(0xe6))return this[_0x3eb1c4(0x331)](),Promise[_0x3eb1c4(0x353)](new Error(_0x37691c[_0x3eb1c4(0x1fc)]));_0x154341=_0x12e7a0[_0x3eb1c4(0x222)];}catch{return this[_0x3eb1c4(0x331)](),Promise['reject'](new Error(_0x37691c[_0x3eb1c4(0x1fc)]));}return new Promise((_0x5aa776,_0x4fbe60)=>{const _0x27e21f=new FileReader();_0x27e21f['readAsDataURL'](_0x5a78ef),_0x27e21f['onload']=_0x28dcdf=>{var _0x57b737=_0x4af8,_0x32c768;const _0x337b21=(_0x32c768=_0x28dcdf[_0x57b737(0x130)])==null?void 0x0:_0x32c768[_0x57b737(0x35f)];if(_0x337b21==null){this['_decreaseWaiting'](),_0x4fbe60(new Error(_0x37691c[_0x57b737(0x1fc)]));return;}const _0x50d173=_0x73bcd1(0x6);_0x5aa776({'imageId':_0x50d173,'imageSourceType':_0xd83d2b[_0x57b737(0x134)],'source':_0x154341,'base64Cache':_0x337b21,'status':_0x37691c[_0x57b737(0x3bf)]}),this[_0x57b737(0x331)]();};});}[_0xc984d6(0x329)](){var _0x307953;const _0x400220=this['_configService']['getConfig'](K);return(_0x307953=_0x400220==null?void 0x0:_0x400220['uploadFileServerUrl'])!=null?_0x307953:Kn;}[_0xc984d6(0x379)](){var _0x31ac3c=_0xc984d6,_0x161a7b;const _0x4b7788=this[_0x31ac3c(0x2c3)][_0x31ac3c(0x184)](K);return(_0x161a7b=_0x4b7788==null?void 0x0:_0x4b7788['signUrlServerUrl'])!=null?_0x161a7b:qn;}[_0xc984d6(0x1e2)](){var _0x3e16c4=_0xc984d6,_0x289875;const _0x59131b=this[_0x3e16c4(0x2c3)][_0x3e16c4(0x184)](K);return(_0x289875=_0x59131b==null?void 0x0:_0x59131b[_0x3e16c4(0x390)])!=null?_0x289875:location['origin'];}[_0xc984d6(0x36a)](_0x256ecc,_0x2daa74){var _0x190acf=_0xc984d6;return _0x256ecc[_0x190acf(0x332)](_0x190acf(0xe4),_0x2daa74);}[_0xc984d6(0x331)](){var _0x3e4ddf=_0xc984d6;this[_0x3e4ddf(0xf8)]-=0x1,this[_0x3e4ddf(0x3b1)][_0x3e4ddf(0x317)](this[_0x3e4ddf(0xf8)]);}};Rt=Wn([pt(0x0,_0x1b33f7(_0x1c46bb)),pt(0x1,_0x3d5ea3),pt(0x2,_0x1b33f7(_0x1efe71))],Rt);var zn=Object[_0xc984d6(0x132)],Jn=(_0x3d387b,_0x1e6d42,_0x1ed2dd,_0x34c651)=>{var _0x37526f=_0xc984d6;for(var _0x556a26=_0x34c651>0x1?void 0x0:_0x34c651?zn(_0x1e6d42,_0x1ed2dd):_0x1e6d42,_0x169dd7=_0x3d387b[_0x37526f(0xfb)]-0x1,_0x25c40b;_0x169dd7>=0x0;_0x169dd7--)(_0x25c40b=_0x3d387b[_0x169dd7])&&(_0x556a26=_0x25c40b(_0x556a26)||_0x556a26);return _0x556a26;},ai=(_0x3f1498,_0x14ffaa)=>(_0x3e3d9d,_0x360208)=>_0x14ffaa(_0x3e3d9d,_0x360208,_0x3f1498);const Xn=_0xc984d6(0x22a);let Ot=class{constructor(_0x22e81b,_0x11ca54){var _0x25634e=_0xc984d6;this[_0x25634e(0x2c3)]=_0x22e81b,this['_HTTPService']=_0x11ca54;}[_0xc984d6(0x36d)](){var _0x38d52c=_0xc984d6,_0x301ad9;const _0x456f2c=this[_0x38d52c(0x2c3)][_0x38d52c(0x184)](K);return(_0x301ad9=_0x456f2c==null?void 0x0:_0x456f2c[_0x38d52c(0x1ec)])!=null?_0x301ad9:Xn;}async[_0xc984d6(0xda)](_0x4cd9a9){var _0x27083b=_0xc984d6;const _0x3126fd=this[_0x27083b(0x36d)]()+'/collaborator';return{'list':[{'title':_0x27083b(0xcc),'mentions':(await this[_0x27083b(0x149)][_0x27083b(0x231)](_0x3126fd,{'params':{'objectID':_0x4cd9a9[_0x27083b(0x2a1)],'unitID':_0x4cd9a9[_0x27083b(0x2a1)]}}))['body']['collaborators'][_0x27083b(0x2b0)](_0x1804f7=>({'objectId':_0x1804f7['id'],'name':_0x1804f7[_0x27083b(0x282)][_0x27083b(0x199)],'metadata':{'icon':_0x1804f7[_0x27083b(0x282)]['avatar']},'label':_0x1804f7[_0x27083b(0x282)][_0x27083b(0x199)],'objectType':_0x4886d3['PERSON']})),'metadata':{},'type':_0x4886d3['PERSON']}]};}};Ot=Jn([ai(0x0,_0x1b33f7(_0x3d5ea3)),ai(0x1,_0x1b33f7(_0x1c46bb))],Ot);var Zn=Object['getOwnPropertyDescriptor'],Qn=(_0x475106,_0x2b778c,_0x21026d,_0x2cf16e)=>{var _0x3a059a=_0xc984d6;for(var _0x2e81b6=_0x2cf16e>0x1?void 0x0:_0x2cf16e?Zn(_0x2b778c,_0x21026d):_0x2b778c,_0x51c43f=_0x475106[_0x3a059a(0xfb)]-0x1,_0x1a4140;_0x51c43f>=0x0;_0x51c43f--)(_0x1a4140=_0x475106[_0x51c43f])&&(_0x2e81b6=_0x1a4140(_0x2e81b6)||_0x2e81b6);return _0x2e81b6;},Ue=(_0x4bce6d,_0x36dae1)=>(_0x21974c,_0x239410)=>_0x36dae1(_0x21974c,_0x239410,_0x4bce6d);let ot=class extends _0x34821a{constructor(_0x24de56,_0x8e0217,_0x844342,_0x275c56,_0x45a7dd){var _0x5de969=_0xc984d6;super(),this[_0x5de969(0x32f)]=_0x24de56,this['_univerInstanceService']=_0x8e0217,this['_permissionService']=_0x844342,this['_collaborationSessionService']=_0x275c56,this[_0x5de969(0x179)]=_0x45a7dd,this[_0x5de969(0x3b6)](),this[_0x5de969(0x2f7)]();}['_initCloseConn'](){var _0x3978da=_0xc984d6;const _0xa6164e=async _0x272077=>{var _0x4d2af4=_0x4af8;(await this[_0x4d2af4(0x2df)]['requireSession'](_0x272077))[_0x4d2af4(0x1c3)][_0x4d2af4(0x186)](_0x35447e(_0x53f85e=>_0x53f85e['eventID']===_0x550a0b['SHOULD_CLOSE_CONN']),_0x7a27c7(this['dispose$']))[_0x4d2af4(0xf3)](_0x1d0ba7=>{var _0x131bfc=_0x4d2af4;const _0x26a609=_0x1d0ba7,{reason:_0x32c06c}=_0x26a609[_0x131bfc(0x185)];this[_0x131bfc(0x179)][_0x131bfc(0x2bf)]({'id':ne[_0x131bfc(0x188)],'data':_0x32c06c}),this[_0x131bfc(0x283)][_0x131bfc(0x368)](new _0x215711(_0x272077)['id'],!0x1),this[_0x131bfc(0x2df)][_0x131bfc(0x38c)](_0x272077);});};_0x35ac37(this[_0x3978da(0x392)][_0x3978da(0x37b)](_0x469fed['UNIVER_SHEET']),this[_0x3978da(0x392)][_0x3978da(0x37b)](_0x469fed[_0x3978da(0x18d)]))[_0x3978da(0x186)](_0x30a7a0(_0x1c030a=>_0x1c030a[_0x3978da(0x37f)]()),_0x35447e(_0x36c6cd=>!_0x1765c6(_0x36c6cd)),_0x7a27c7(this[_0x3978da(0x20c)]))['subscribe'](_0x6c9bfb=>{_0xa6164e(_0x6c9bfb);});}[_0xc984d6(0x3b6)](){var _0x37a97e=_0xc984d6;const _0x355dcd=async _0xf701df=>{var _0x4f2dfd=_0x4af8;const _0xde7717=await this[_0x4f2dfd(0x2df)][_0x4f2dfd(0x39d)](_0xf701df),_0x174f3a=this[_0x4f2dfd(0x32f)]['get'](_0x52682f);_0xde7717[_0x4f2dfd(0x1c3)]['pipe'](_0x35447e(_0x53e345=>_0x53e345[_0x4f2dfd(0x217)]===_0x550a0b[_0x4f2dfd(0x237)]),_0x7a27c7(this[_0x4f2dfd(0x20c)]))['subscribe'](_0xe8ea56=>{var _0x110ada=_0x4f2dfd;const _0x9e6511=_0xe8ea56,{objectId:_0x5db6fd}=_0x9e6511[_0x110ada(0x185)];_0x5db6fd===_0xf701df?_0x174f3a[_0x110ada(0x256)](_0xf701df):_0x174f3a['refreshPermission'](_0xf701df,_0x5db6fd);});};_0x35ac37(this['_univerInstanceService'][_0x37a97e(0x37b)](_0x469fed[_0x37a97e(0x1dd)]))[_0x37a97e(0x186)](_0x30a7a0(_0x3981a3=>_0x3981a3[_0x37a97e(0x37f)]()),_0x35447e(_0x1f56a0=>!_0x1765c6(_0x1f56a0)),_0x7a27c7(this[_0x37a97e(0x20c)]))[_0x37a97e(0xf3)](_0x5e7503=>{_0x355dcd(_0x5e7503);});}};ot=Qn([Ue(0x0,_0x1b33f7(_0x557b98)),Ue(0x1,_0x1efe71),Ue(0x2,_0x5beaef),Ue(0x3,_0x1b33f7(Pe)),Ue(0x4,_0x1b33f7(ve))],ot);var er=Object[_0xc984d6(0x132)],tr=(_0x54504e,_0x31db9a,_0x4d313d,_0x15f8a6)=>{var _0x14a454=_0xc984d6;for(var _0x569c1b=_0x15f8a6>0x1?void 0x0:_0x15f8a6?er(_0x31db9a,_0x4d313d):_0x31db9a,_0x2163e3=_0x54504e[_0x14a454(0xfb)]-0x1,_0x3c9071;_0x2163e3>=0x0;_0x2163e3--)(_0x3c9071=_0x54504e[_0x2163e3])&&(_0x569c1b=_0x3c9071(_0x569c1b)||_0x569c1b);return _0x569c1b;},oi=(_0x36ccc3,_0x53459b)=>(_0x146eb5,_0x5b8392)=>_0x53459b(_0x146eb5,_0x5b8392,_0x36ccc3);let bt=class{constructor(_0x639529,_0x2c75f6){this['_configService']=_0x639529,this['_httpService']=_0x2c75f6;}async[_0xc984d6(0x1e8)](_0x373ef4,_0x64177){var _0x3bc284=_0xc984d6,_0x1675ba;const {unitID:_0x2d2a23,type:_0x9a4cb5,revision:_0x5acb0c=0x0}=_0x64177,_0x474c46=this['getSnapshotAPIPath']()+'/'+_0x9a4cb5+'/unit/'+_0x2d2a23+_0x3bc284(0x112)+_0x5acb0c,_0xbb8eb3=(await this['_httpService'][_0x3bc284(0x231)](_0x474c46))[_0x3bc284(0x32d)],_0x37bb74=(_0x1675ba=_0xbb8eb3[_0x3bc284(0x27e)])==null?void 0x0:_0x1675ba[_0x3bc284(0x2e1)];if(_0x37bb74){const _0x3f7ff7=_0x37bb74==null?void 0x0:_0x37bb74['originalMeta'],_0x11029c=_0x39ac9f[_0x3bc284(0x323)](_0x290c0b(_0x3f7ff7));_0x37bb74[_0x3bc284(0x11c)]=_0x11029c,Object[_0x3bc284(0x378)](_0x37bb74[_0x3bc284(0x2f8)])[_0x3bc284(0x35c)](([,_0x5c0975])=>{var _0xe9f541=_0x3bc284;const _0x15e7af=_0x5c0975[_0xe9f541(0x11c)],_0x286820=_0x39ac9f[_0xe9f541(0x323)](_0x290c0b(_0x15e7af));_0x5c0975[_0xe9f541(0x11c)]=_0x286820;});}return _0xbb8eb3;}async[_0xc984d6(0x1ce)](_0x42cea0,_0x59c1ea){var _0x1db202=_0xc984d6;const {unitID:_0x2885d4,type:_0xfd983d,blockID:_0x102153}=_0x59c1ea,_0x9bbf82=this[_0x1db202(0x36c)]()+'/'+_0xfd983d+_0x1db202(0x17d)+_0x2885d4+_0x1db202(0x148)+_0x102153;return(await this['_httpService'][_0x1db202(0x231)](_0x9bbf82))[_0x1db202(0x32d)];}async[_0xc984d6(0x19e)](_0x1b1301,_0x5b8717){var _0x3f832e=_0xc984d6;const {unitID:_0x5c1795,type:_0x30cf3d,blockID:_0xea1d63}=_0x5b8717,_0x1a3cea=this[_0x3f832e(0x36c)]()+_0x3f832e(0x148)+_0x30cf3d+_0x3f832e(0x17d)+_0x5c1795+_0x3f832e(0x148)+_0xea1d63;return(await this[_0x3f832e(0x335)][_0x3f832e(0x231)](_0x1a3cea))[_0x3f832e(0x32d)];}async[_0xc984d6(0x36b)](_0x19baa3,_0x3a7650){var _0x4f6359=_0xc984d6;const {unitID:_0x47ea28,type:_0x1e4245,from:_0x1377ae,to:_0x405055}=_0x3a7650,_0x1af327=this[_0x4f6359(0x36c)]()+'/'+_0x1e4245+_0x4f6359(0x17d)+_0x47ea28+_0x4f6359(0x250)+_0x1377ae+_0x4f6359(0x330)+_0x405055;return(await this[_0x4f6359(0x335)]['get'](_0x1af327))[_0x4f6359(0x32d)];}[_0xc984d6(0x1ff)](){var _0x7c394b=_0xc984d6,_0x56f7bd;return(_0x56f7bd=this[_0x7c394b(0x2c3)][_0x7c394b(0x184)](vs))!=null?_0x56f7bd:this[_0x7c394b(0x36c)]();}[_0xc984d6(0x36c)](){var _0x35b93f=_0xc984d6,_0x58148f;const _0x457192=this[_0x35b93f(0x2c3)][_0x35b93f(0x184)](K);return(_0x58148f=_0x457192==null?void 0x0:_0x457192['snapshotServerUrl'])!=null?_0x58148f:fs;}async['getResourcesRequest'](_0x51e863,_0x5be85f){var _0x2cf87c=_0xc984d6;const _0x482772='/universer-api/snapshot/'+_0x5be85f[_0x2cf87c(0x15c)]+_0x2cf87c(0x17d)+_0x5be85f[_0x2cf87c(0x2ca)]+_0x2cf87c(0x32a);return(await this[_0x2cf87c(0x335)]['get'](_0x482772,{'params':{'resourceId':JSON[_0x2cf87c(0x320)](_0x5be85f['resourceIDs'])}}))[_0x2cf87c(0x32d)];}[_0xc984d6(0x3c3)](){var _0x2d1439=_0xc984d6;throw new Error(_0x2d1439(0x125));}[_0xc984d6(0x164)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xc984d6(0x365)](){var _0x259c01=_0xc984d6;throw new Error(_0x259c01(0x125));}[_0xc984d6(0x160)](){var _0x487716=_0xc984d6;throw new Error(_0x487716(0x125));}[_0xc984d6(0x252)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xc984d6(0x30a)](){var _0x647340=_0xc984d6;throw new Error(_0x647340(0x125));}};bt=tr([oi(0x0,_0x3d5ea3),oi(0x1,_0x1b33f7(_0x1c46bb))],bt);var ir=Object[_0xc984d6(0x132)],sr=(_0x51bd0d,_0x3746b0,_0x5642a1,_0x12de86)=>{var _0x13a1d3=_0xc984d6;for(var _0x4372e0=_0x12de86>0x1?void 0x0:_0x12de86?ir(_0x3746b0,_0x5642a1):_0x3746b0,_0x20d256=_0x51bd0d[_0x13a1d3(0xfb)]-0x1,_0x454fea;_0x20d256>=0x0;_0x20d256--)(_0x454fea=_0x51bd0d[_0x20d256])&&(_0x4372e0=_0x454fea(_0x4372e0)||_0x4372e0);return _0x4372e0;},Ae=(_0x1577da,_0x1a91cb)=>(_0x2c945e,_0x3fdb12)=>_0x1a91cb(_0x2c945e,_0x3fdb12,_0x1577da);let yt=class extends _0x2e0c79{constructor(_0x24b3ac,_0x47abaa,_0x3fef39,_0x5a25b2,_0xe3fccd){var _0x1d5b1c=_0xc984d6;super(_0x24b3ac,_0x47abaa,_0x3fef39),this[_0x1d5b1c(0x1db)]=_0x5a25b2,this['_logService']=_0xe3fccd;}['transformUndoRedo'](_0x3d9066,_0x22f130){var _0xd2494a=_0xc984d6;const _0x552e26=this[_0xd2494a(0x143)](_0x3d9066);if(_0x552e26)try{const _0x5e5a4e=this[_0xd2494a(0x28f)](_0x552e26,_0x22f130);this[_0xd2494a(0x272)](_0x3d9066,_0x5e5a4e);}catch(_0x1027d8){this[_0xd2494a(0x13a)][_0xd2494a(0x31e)]('[CollaborationUndoRedoService]',_0x1027d8),this[_0xd2494a(0x23a)](_0x3d9066);}const _0x1ac4ef=this['_getRedoStack'](_0x3d9066);if(_0x1ac4ef)try{const _0x3c97eb=this[_0xd2494a(0x28f)](_0x1ac4ef,_0x22f130);this[_0xd2494a(0x293)](_0x3d9066,_0x3c97eb);}catch(_0x31af52){this[_0xd2494a(0x13a)][_0xd2494a(0x31e)](_0x31af52),this[_0xd2494a(0x268)](_0x3d9066);}}[_0xc984d6(0x23a)](_0x56f599){var _0x4aa2d5=_0xc984d6;const _0x2238da=this[_0x4aa2d5(0x143)](_0x56f599);_0x2238da&&(_0x2238da[_0x4aa2d5(0xfb)]=0x0,this[_0x4aa2d5(0x386)]());}[_0xc984d6(0x268)](_0xb5a619){var _0xfecb2b=_0xc984d6;const _0x506418=this[_0xfecb2b(0x14c)](_0xb5a619);_0x506418&&(_0x506418[_0xfecb2b(0xfb)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x3f6fd9,_0x361147){var _0x2724d2=_0xc984d6;this[_0x2724d2(0x266)][_0x2724d2(0x173)](_0x3f6fd9,_0x361147),this[_0x2724d2(0x386)]();}['_substituteRedoStack'](_0x1df01b,_0x1c143f){var _0x45608a=_0xc984d6;this[_0x45608a(0x363)][_0x45608a(0x173)](_0x1df01b,_0x1c143f),this[_0x45608a(0x386)]();}[_0xc984d6(0x28f)](_0x28fa93,_0x1dfe0b){var _0x297829=_0xc984d6;const _0x5c8ceb=[];let _0x2eb644=_0x1dfe0b,_0xf8d5f1=_0x1dfe0b;for(let _0x223633=_0x28fa93[_0x297829(0xfb)]-0x1;_0x223633>=0x0;_0x223633--){const {unitID:_0x206776,undoMutations:_0x5f296b,redoMutations:_0x1894e8}=_0x28fa93[_0x223633],_0x538a47=this[_0x297829(0x1db)]['transformMutationsWithChangeset'](_0x2eb644,_0x5f296b),_0x1263c6=this[_0x297829(0x1db)][_0x297829(0x294)](_0xf8d5f1,_0x1894e8);if(_0x5d02ca(_0x538a47)||_0x5d02ca(_0x1263c6)){this[_0x297829(0x13a)]['error'](_0x297829(0x201),'transformStack\x20failed!',_0x538a47,_0x1263c6);break;}_0x2eb644=_0x538a47['c1Prime'],_0xf8d5f1=_0x1263c6[_0x297829(0x3b5)],_0x5c8ceb[_0x297829(0x12e)]({'unitID':_0x206776,'undoMutations':_0x538a47[_0x297829(0x19b)],'redoMutations':_0x1263c6[_0x297829(0x19b)]});}return _0x5c8ceb[_0x297829(0x26f)]();}};yt=sr([Ae(0x0,_0x1efe71),Ae(0x1,_0x43550f),Ae(0x2,_0x28f905),Ae(0x3,_0x40fdb3),Ae(0x4,_0x1e0842)],yt);var nr=Object['defineProperty'],rr=Object[_0xc984d6(0x132)],ar=(_0x47e7e8,_0x45b749,_0x36ebe0)=>_0x45b749 in _0x47e7e8?nr(_0x47e7e8,_0x45b749,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36ebe0}):_0x47e7e8[_0x45b749]=_0x36ebe0,or=(_0x1ccb57,_0x580243,_0x209fd6,_0x187f10)=>{var _0x1f126b=_0xc984d6;for(var _0x4608f6=_0x187f10>0x1?void 0x0:_0x187f10?rr(_0x580243,_0x209fd6):_0x580243,_0x4af7aa=_0x1ccb57[_0x1f126b(0xfb)]-0x1,_0x14607e;_0x4af7aa>=0x0;_0x4af7aa--)(_0x14607e=_0x1ccb57[_0x4af7aa])&&(_0x4608f6=_0x14607e(_0x4608f6)||_0x4608f6);return _0x4608f6;},mt=(_0x30059e,_0x192388)=>(_0x1ddfd7,_0x1a2724)=>_0x192388(_0x1ddfd7,_0x1a2724,_0x30059e),cr=(_0x20e31e,_0x233228,_0x38d54f)=>ar(_0x20e31e,_0x233228+'',_0x38d54f);const hr=_0xc984d6(0x2ef);let Nt=class extends _0xb0e5e2{constructor(_0x3a7f6b,_0x3b0339,_0x1e1dbe,_0x14d773){var _0x3c3e71=_0xc984d6;super(),N(this,_0x3c3e71(0x154)),(this[_0x3c3e71(0x13a)]=_0x3b0339,this[_0x3c3e71(0x32f)]=_0x1e1dbe,this['_configService']=_0x14d773);const {..._0x2b1894}=_0x408e08({},Ls,_0x3a7f6b);if(!_0x2b1894[_0x3c3e71(0x146)])throw new Error(_0x3c3e71(0x220));this[_0x3c3e71(0x154)]=_0x2b1894,this[_0x3c3e71(0x2c3)]['setConfig'](K,_0x2b1894);}[_0xc984d6(0xd6)](){var _0x4053bd=_0xc984d6;this[_0x4053bd(0x121)](),this[_0x4053bd(0x2c1)]();}[_0xc984d6(0x121)](){var _0x41eabd=_0xc984d6,_0x4ee8f9,_0x274e37;this[_0x41eabd(0x32f)]['has'](_0x57ee34)&&this[_0x41eabd(0x13a)][_0x41eabd(0x31e)]('[UniverCollaborationClientPlugin]',_0x41eabd(0x15e));const _0x1b91df=_0x147d51([[_0x57ee34,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this[_0x41eabd(0x154)][_0x41eabd(0x146)]}],[_0x2d60fe,{'useClass':bt}],[_0x5bb508,{'useClass':Tt}],[_0x2a3c0e,{'useClass':Rt}],[_0x1efa0e,{'useClass':Ot}],[nt],[It]],(_0x4ee8f9=this['_config'])==null?void 0x0:_0x4ee8f9[_0x41eabd(0x358)]);if(!((_0x274e37=this[_0x41eabd(0x154)])!=null&&_0x274e37[_0x41eabd(0x1da)])){const _0x3c0349=_0x1b91df['findIndex'](([_0x5c613b])=>_0x5c613b===ht);_0x3c0349!==-0x1&&_0x1b91df[_0x41eabd(0x326)](_0x3c0349,0x1);}_0x525cbc(this[_0x41eabd(0x32f)],_0x1b91df);}[_0xc984d6(0x2c1)](){var _0x48b750=_0xc984d6,_0x5e5014,_0x58574d,_0x5b4bd7;this[_0x48b750(0x32f)][_0x48b750(0x231)](_0x1c46bb)[_0x48b750(0x2de)]({'priority':0x14,'interceptor':_0x1844b5({'maxParallel':0x6})}),(_0x5e5014=this['_config'])!=null&&_0x5e5014[_0x48b750(0x312)]||(_0x58574d=this[_0x48b750(0x32f)][_0x48b750(0x231)](J,_0x50ee7f[_0x48b750(0x394)]))==null||_0x58574d[_0x48b750(0x1a3)](),(_0x5b4bd7=this[_0x48b750(0x154)])!=null&&_0x5b4bd7['enableAuthServer']&&_0x395ea4(this[_0x48b750(0x32f)],[[rt]]),_0x395ea4(this[_0x48b750(0x32f)],[[at],[nt],[ot]]);}};cr(Nt,_0xc984d6(0x2ea),hr),Nt=or([_0x44ea2f(_0x8275ad,_0xb342f1),mt(0x1,_0x1e0842),mt(0x2,_0x1b33f7(_0x557b98)),mt(0x3,_0x3d5ea3)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Gt as CollaborationSocketService,Ei as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,mi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,gi as UnitStatus,Nt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,br as getLocalCacheKey,Vs as serializeCombRequest};
1
+ var _0x24eaf7=_0x4e9c;(function(_0xf39817,_0x3c05aa){var _0x4f632f=_0x4e9c,_0x222e20=_0xf39817();while(!![]){try{var _0x4f1ed9=parseInt(_0x4f632f(0x202))/0x1+-parseInt(_0x4f632f(0x356))/0x2+-parseInt(_0x4f632f(0x40c))/0x3*(parseInt(_0x4f632f(0x3b3))/0x4)+parseInt(_0x4f632f(0x2ea))/0x5+-parseInt(_0x4f632f(0x1fa))/0x6+parseInt(_0x4f632f(0x48c))/0x7*(parseInt(_0x4f632f(0x49c))/0x8)+-parseInt(_0x4f632f(0x2df))/0x9*(-parseInt(_0x4f632f(0x295))/0xa);if(_0x4f1ed9===_0x3c05aa)break;else _0x222e20['push'](_0x222e20['shift']());}catch(_0x5b5a6b){_0x222e20['push'](_0x222e20['shift']());}}}(_0x2b94,0x37578));var yi=Object['defineProperty'],Ni=(_0x141ce9,_0x3c4acd,_0x318d44)=>_0x3c4acd in _0x141ce9?yi(_0x141ce9,_0x3c4acd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x318d44}):_0x141ce9[_0x3c4acd]=_0x318d44,N=(_0x5acaeb,_0x5549f3,_0x1b22da)=>Ni(_0x5acaeb,typeof _0x5549f3!=_0x24eaf7(0x246)?_0x5549f3+'':_0x5549f3,_0x1b22da);import{CollaborationEvent as _0x27484d,ITransformService as _0x3cd486,isTransformMutationsWithChangesetSuccess as _0x33dd3c,mapDocumentTypeToUniverType as _0x220f1a,RevisionService as _0x2e4803,isTransformChangesetsSuccess as _0x365f58,CompressMutationService as _0x1ff420,parseProtocolChangeset as _0x1af8d0,uuidv4 as _0x2389a9,ISnapshotServerService as _0xbd7791,parseChangesetToProtocol as _0x4a0bbc,SnapshotService as _0x3e6bda,textEncoder as _0x310b71,b64DecodeUnicode as _0x2e08bd,isTransformMutationsWithChangesetFailure as _0x260eb7,UniverCollaborationPlugin as _0x13d031}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x3b585e,Inject as _0x9aa2f,UserManagerService as _0x579500,Disposable as _0x27bd64,UniverInstanceType as _0x1ba39b,ILogService as _0x1b7032,IConfigService as _0x7e8cbd,Optional as _0x2bef5d,RxDisposable as _0x249e4b,createIdentifier as _0x4546b5,Injector as _0x1476f5,Tools as _0x4699e8,Rectangle as _0x1c90fe,ICommandService as _0x671f23,JSONX as _0x439857,CommandType as _0x30f9a2,IUndoRedoService as _0x593fd4,IPermissionService as _0x333e7c,LocaleService as _0x154b35,sequenceExecute as _0x22011a,toDisposable as _0x3c5dcf,DisposableCollection as _0x32bc82,Workbook as _0x599e43,generateRandomId as _0x5f531b,MentionType as _0x5adef5,isInternalEditorID as _0x4d19a1,LocalUndoRedoService as _0x1ac7a5,IContextService as _0x5273c9,DependentOn as _0xa37e78,Plugin as _0x4b47ca,merge as _0x2aeb96,mergeOverrideWithDependencies as _0x383a65,IAuthzIoService as _0x368a60,IMentionIOService as _0x3542e3,registerDependencies as _0x1bd1e4,Quantity as _0x476841,touchDependencies as _0x34c3c2}from'@univerjs/core';import{RichTextEditingMutation as _0x1d6823}from'@univerjs/docs';import{SheetsSelectionsService as _0x3805b0,SetSelectionsOperation as _0x564e24,InsertSheetMutation as _0x47613b,EmptyMutation as _0x53d71c,WorkbookEditablePermission as _0x2cbff5,SheetPermissionInitController as _0x23b299}from'@univerjs/sheets';import{Subject as _0x54f9ff,merge as _0x201bac,of as _0x42cacc,BehaviorSubject as _0x59a042,takeUntil as _0x12bc4a,ReplaySubject as _0x456bb9,take as _0x25e472,map as _0x2e2f28,shareReplay as _0x1ed8b0,firstValueFrom as _0xdc1286,concatMap as _0x111127}from'rxjs';import{ITelemetryService as _0x548174}from'@univerjs/telemetry';import{map as _0x3eecf4,take as _0x6bf7ba,filter as _0x392eb8,delay as _0x2b26e1,takeUntil as _0x469d9f}from'rxjs/operators';import{HTTPService as _0x25bf02,ISocketService as _0x13b70e,MergeInterceptorFactory as _0x13adc1,HTTPRequest as _0x4f4473,UniverNetworkPlugin as _0x510989,ThresholdInterceptorFactory as _0x1915db}from'@univerjs/network';import{ImageSourceType as _0x122ab3,ImageUploadStatusType as _0x4fe5bb,IImageIoService as _0x45767e}from'@univerjs/drawing';import{getGlobalObject as _0x1ac094}from'@univerjs-pro/license';const fs=_0x24eaf7(0x340),vs='SNAPSHOT_URL_KEY',ps=0x7d0,ms=_0x24eaf7(0x491),Ir=_0x24eaf7(0x4c2),gs='HEARTBEAT_INTERVAL',Ss=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Es=0x4e20,Is=_0x24eaf7(0x2a2),Ts=0x3,Tr=_0x24eaf7(0x489),Cr=0x3e8,Cs=_0x24eaf7(0x482),Rs=_0x24eaf7(0x289),Rr=_0x24eaf7(0x2ba),Or='/universer-api/uniscript';var vi=(_0x5d54aa=>(_0x5d54aa[_0x5d54aa[_0x24eaf7(0x2fb)]=0x0]=_0x24eaf7(0x2fb),_0x5d54aa[_0x5d54aa['OK']=0x1]='OK',_0x5d54aa[_0x5d54aa[_0x24eaf7(0x27e)]=0x2]=_0x24eaf7(0x27e),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x1f4)]=0x3]=_0x24eaf7(0x1f4),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x49d)]=0x4]=_0x24eaf7(0x49d),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x2b0)]=0x5]=_0x24eaf7(0x2b0),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x1e6)]=0x6]=_0x24eaf7(0x1e6),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x4d5)]=0x7]='INVALID_ARGUMENT',_0x5d54aa[_0x5d54aa[_0x24eaf7(0x274)]=0x8]=_0x24eaf7(0x274),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x4e2)]=0x9]=_0x24eaf7(0x4e2),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x2c3)]=0xa]='LOGIN_FAILED',_0x5d54aa[_0x5d54aa[_0x24eaf7(0x409)]=0xb]=_0x24eaf7(0x409),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x2f9)]=0xc]=_0x24eaf7(0x2f9),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x214)]=0xd]=_0x24eaf7(0x214),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x3cb)]=0xe]=_0x24eaf7(0x3cb),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x418)]=0x1389]=_0x24eaf7(0x418),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x4b0)]=0x1771]=_0x24eaf7(0x4b0),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x460)]=0x1772]=_0x24eaf7(0x460),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x31f)]=0x1773]=_0x24eaf7(0x31f),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x43c)]=0x1b59]=_0x24eaf7(0x43c),_0x5d54aa[_0x5d54aa['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x24eaf7(0x355),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x3ab)]=0x1b5b]=_0x24eaf7(0x3ab),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x24c)]=0x1b5c]=_0x24eaf7(0x24c),_0x5d54aa[_0x5d54aa['APPLY_DUPLICATED']=0x1b5d]=_0x24eaf7(0x3b6),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x281)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5d54aa[_0x5d54aa[_0x24eaf7(0x27c)]=0x2329]=_0x24eaf7(0x27c),_0x5d54aa[_0x5d54aa['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5d54aa[_0x5d54aa[_0x24eaf7(0x4b9)]=0x232b]=_0x24eaf7(0x4b9),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x40f)]=0x232c]=_0x24eaf7(0x40f),_0x5d54aa[_0x5d54aa['LICENSE_DISTRO_REJECTED']=0x232d]=_0x24eaf7(0x371),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x41f)]=0x2711]=_0x24eaf7(0x41f),_0x5d54aa[_0x5d54aa['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5d54aa[_0x5d54aa['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x24eaf7(0x348),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x315)]=0x2714]=_0x24eaf7(0x315),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x4d6)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5d54aa[_0x5d54aa[_0x24eaf7(0x4da)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5d54aa[_0x5d54aa[_0x24eaf7(0x2bd)]=0x271c]=_0x24eaf7(0x2bd),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x492)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5d54aa[_0x5d54aa[_0x24eaf7(0x2fe)]=0x271e]=_0x24eaf7(0x2fe),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x47f)]=0x271f]=_0x24eaf7(0x47f),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x426)]=0x2720]=_0x24eaf7(0x426),_0x5d54aa[_0x5d54aa['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x24eaf7(0x34b),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x38d)]=0x2ee1]=_0x24eaf7(0x38d),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x227)]=0x2ee2]=_0x24eaf7(0x227),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x3e4)]=0x2ee3]=_0x24eaf7(0x3e4),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x291)]=0x2ee4]=_0x24eaf7(0x291),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x48d)]=0x2ee5]=_0x24eaf7(0x48d),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x44e)]=0x32c9]=_0x24eaf7(0x44e),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x372)]=0x32ca]=_0x24eaf7(0x372),_0x5d54aa[_0x5d54aa['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x24eaf7(0x2e1),_0x5d54aa[_0x5d54aa[_0x24eaf7(0x437)]=-0x1]='UNRECOGNIZED',_0x5d54aa))(vi||{}),Z=(_0x84f0f0=>(_0x84f0f0[_0x84f0f0[_0x24eaf7(0x472)]=0x0]='UNIVER_UNKNOWN',_0x84f0f0[_0x84f0f0[_0x24eaf7(0x28c)]=0x1]='UNIVER_DOC',_0x84f0f0[_0x84f0f0[_0x24eaf7(0x493)]=0x2]=_0x24eaf7(0x493),_0x84f0f0[_0x84f0f0[_0x24eaf7(0x23c)]=0x3]='UNIVER_SLIDE',_0x84f0f0[_0x84f0f0[_0x24eaf7(0x201)]=0x4]=_0x24eaf7(0x201),_0x84f0f0[_0x84f0f0['UNRECOGNIZED']=-0x1]=_0x24eaf7(0x437),_0x84f0f0))(Z||{}),F=(_0x1283e8=>(_0x1283e8[_0x1283e8[_0x24eaf7(0x239)]=0x0]=_0x24eaf7(0x239),_0x1283e8[_0x1283e8[_0x24eaf7(0x3fd)]=0x1]=_0x24eaf7(0x3fd),_0x1283e8[_0x1283e8['JOIN']=0x2]='JOIN',_0x1283e8[_0x1283e8[_0x24eaf7(0x48b)]=0x3]='LEAVE',_0x1283e8[_0x1283e8[_0x24eaf7(0x362)]=0x4]=_0x24eaf7(0x362),_0x1283e8[_0x1283e8[_0x24eaf7(0x3ec)]=0x5]=_0x24eaf7(0x3ec),_0x1283e8[_0x1283e8['RECV']=0x6]=_0x24eaf7(0x3b7),_0x1283e8[_0x1283e8[_0x24eaf7(0x437)]=-0x1]='UNRECOGNIZED',_0x1283e8))(F||{}),pe=(_0x3f25d2=>(_0x3f25d2[_0x3f25d2['UNKNOWN_CODE']=0x0]=_0x24eaf7(0x40d),_0x3f25d2[_0x3f25d2['OK']=0x1]='OK',_0x3f25d2[_0x3f25d2[_0x24eaf7(0x3ca)]=0x2]=_0x24eaf7(0x3ca),_0x3f25d2[_0x3f25d2[_0x24eaf7(0x207)]=0x3e9]=_0x24eaf7(0x207),_0x3f25d2[_0x3f25d2[_0x24eaf7(0x481)]=0x3ea]=_0x24eaf7(0x481),_0x3f25d2[_0x3f25d2[_0x24eaf7(0x235)]=0x3eb]=_0x24eaf7(0x235),_0x3f25d2[_0x3f25d2[_0x24eaf7(0x4d9)]=0x3ec]=_0x24eaf7(0x4d9),_0x3f25d2[_0x3f25d2[_0x24eaf7(0x437)]=-0x1]=_0x24eaf7(0x437),_0x3f25d2))(pe||{}),pi=(_0x459b61=>(_0x459b61[_0x459b61['Undefined']=0x0]='Undefined',_0x459b61[_0x459b61[_0x24eaf7(0x363)]=0x1]=_0x24eaf7(0x363),_0x459b61[_0x459b61[_0x24eaf7(0x27d)]=0x2]=_0x24eaf7(0x27d),_0x459b61[_0x459b61[_0x24eaf7(0x254)]=0x3]=_0x24eaf7(0x254),_0x459b61[_0x459b61[_0x24eaf7(0x4bc)]=0x4]='UnitSnapshot',_0x459b61[_0x459b61[_0x24eaf7(0x421)]=0x5]='UserProfileImg',_0x459b61[_0x459b61[_0x24eaf7(0x437)]=-0x1]=_0x24eaf7(0x437),_0x459b61))(pi||{});const Os=_0x24eaf7(0x2a8);function bs(_0x61408f){var _0x28e4c4=_0x24eaf7;return JSON[_0x28e4c4(0x4c4)](_0x61408f)['length'];}var ne=(_0x1185db=>(_0x1185db['OTHER_CLIENT_EDITING']=_0x24eaf7(0x236),_0x1185db[_0x24eaf7(0x1f4)]=_0x24eaf7(0x1f4),_0x1185db[_0x24eaf7(0x42e)]=_0x24eaf7(0x42e),_0x1185db[_0x24eaf7(0x38f)]='CLOSE_ROOM',_0x1185db[_0x24eaf7(0x414)]='JOIN_ROOM_FAILED',_0x1185db[_0x24eaf7(0x449)]=_0x24eaf7(0x449),_0x1185db[_0x24eaf7(0x234)]='SOCKET_FAILED',_0x1185db[_0x24eaf7(0x42d)]='SUBMIT_CHANGESET_TIMEOUT',_0x1185db))(ne||{});class ve{constructor(){var _0x2d8712=_0x24eaf7;N(this,_0x2d8712(0x20c),new _0x54f9ff()),N(this,_0x2d8712(0x488),this[_0x2d8712(0x20c)][_0x2d8712(0x2e2)]());}[_0x24eaf7(0x30e)](_0x373b30){var _0x514cf2=_0x24eaf7;this[_0x514cf2(0x20c)]['next'](_0x373b30);}}class mi{constructor(){var _0x22441d=_0x24eaf7;N(this,_0x22441d(0x3e8),new _0x54f9ff()),N(this,_0x22441d(0x255),this['_commentUpdate$'][_0x22441d(0x2e2)]());}[_0x24eaf7(0x30d)](_0x24c5e9){var _0x56793e=_0x24eaf7;this[_0x56793e(0x3e8)][_0x56793e(0x3b5)](_0x24c5e9);}}var ys=Object['getOwnPropertyDescriptor'],Ns=(_0x187ef3,_0x40f054,_0x2e54e8,_0x114cbf)=>{var _0xd13b93=_0x24eaf7;for(var _0x133155=_0x114cbf>0x1?void 0x0:_0x114cbf?ys(_0x40f054,_0x2e54e8):_0x40f054,_0x3aa1ba=_0x187ef3[_0xd13b93(0x3a8)]-0x1,_0x3c81f4;_0x3aa1ba>=0x0;_0x3aa1ba--)(_0x3c81f4=_0x187ef3[_0x3aa1ba])&&(_0x133155=_0x3c81f4(_0x133155)||_0x133155);return _0x133155;},Ft=(_0x6df223,_0x50cf1a)=>(_0x5ecfac,_0x3a5049)=>_0x50cf1a(_0x5ecfac,_0x3a5049,_0x6df223);let we=class extends _0x27bd64{constructor(_0x5321ec,_0x2c0215){var _0x2c654a=_0x24eaf7;super(),N(this,_0x2c654a(0x4aa),new Map()),N(this,'_roomCreated$',new _0x54f9ff()),(this[_0x2c654a(0x331)]=_0x5321ec,this[_0x2c654a(0x2fc)]=_0x2c0215,this[_0x2c654a(0x36f)](_0x201bac(this[_0x2c654a(0x331)][_0x2c654a(0x323)](_0x1ba39b[_0x2c654a(0x493)])[_0x2c654a(0x474)](_0x3eecf4(_0x2040d7=>_0x2040d7[_0x2c654a(0x46f)]())),this[_0x2c654a(0x331)]['getTypeOfUnitDisposed$'](_0x1ba39b[_0x2c654a(0x28c)])['pipe'](_0x3eecf4(_0x2f16f6=>_0x2f16f6['getUnitId']())),this[_0x2c654a(0x331)]['getTypeOfUnitDisposed$'](_0x1ba39b[_0x2c654a(0x23c)])[_0x2c654a(0x474)](_0x3eecf4(_0x398559=>_0x398559['getUnitId']())))[_0x2c654a(0x3d6)](_0x31ebb3=>this['_removeRoom'](_0x31ebb3))));}[_0x24eaf7(0x2d1)](_0x11b1f9){var _0x4c3859=_0x24eaf7;return this[_0x4c3859(0x4aa)]['has'](_0x11b1f9)?_0x42cacc(this[_0x4c3859(0x4aa)][_0x4c3859(0x42f)](_0x11b1f9)):this['_roomCreated$'][_0x4c3859(0x474)](_0x3eecf4(_0xedcca5=>{var _0xbc7897=_0x4c3859;if(_0xedcca5===_0x11b1f9)return this[_0xbc7897(0x4aa)]['get'](_0xedcca5);}));}[_0x24eaf7(0x429)](_0x21f723){var _0x6b0a1a=_0x24eaf7;this[_0x6b0a1a(0x2fc)]['setCurrentUser'](_0x21f723);}[_0x24eaf7(0x28b)](){var _0x54592c=_0x24eaf7;return this[_0x54592c(0x2fc)][_0x54592c(0x28b)]();}['updateMember'](_0x50e530,_0x29d320){var _0x28048a=_0x24eaf7;let _0x580508=this[_0x28048a(0x4aa)][_0x28048a(0x42f)](_0x50e530);_0x580508||(_0x580508=new Ds(),this[_0x28048a(0x4aa)][_0x28048a(0x347)](_0x50e530,_0x580508),this[_0x28048a(0x2aa)]['next'](_0x50e530)),_0x580508['updateMember'](_0x29d320);}[_0x24eaf7(0x32a)](_0x1b4101,_0x311e44){var _0x346aa7=_0x24eaf7;const _0x333766=this['_roomMembers'][_0x346aa7(0x42f)](_0x1b4101);_0x333766&&_0x333766[_0x346aa7(0x32a)](_0x311e44);}['getRoom'](_0x24d9e2){var _0x2b0485=_0x24eaf7;return this[_0x2b0485(0x4aa)][_0x2b0485(0x42f)](_0x24d9e2);}[_0x24eaf7(0x4b4)](_0x11e0d9,_0x8e16f6){var _0x275c30=_0x24eaf7;const _0x36ad60=this[_0x275c30(0x4aa)][_0x275c30(0x42f)](_0x11e0d9);if(_0x36ad60)return _0x36ad60[_0x275c30(0x4b4)](_0x8e16f6);}[_0x24eaf7(0x4dd)](_0x1ab029){var _0x2301f4=_0x24eaf7;const _0x4c0983=this[_0x2301f4(0x4aa)][_0x2301f4(0x42f)](_0x1ab029);_0x4c0983&&(_0x4c0983[_0x2301f4(0x22d)](),this[_0x2301f4(0x4aa)][_0x2301f4(0x467)](_0x1ab029));}[_0x24eaf7(0x22d)](){var _0x5d2383=_0x24eaf7;this[_0x5d2383(0x4aa)][_0x5d2383(0x3c2)](_0x3cc339=>_0x3cc339['dispose']()),this[_0x5d2383(0x4aa)][_0x5d2383(0x22b)](),this['_roomCreated$'][_0x5d2383(0x4ac)]();}};we=Ns([Ft(0x0,_0x3b585e),Ft(0x1,_0x9aa2f(_0x579500))],we);class Ds extends _0x27bd64{constructor(){var _0xdb4a84=_0x24eaf7;super(...arguments),N(this,_0xdb4a84(0x3ef),new Map()),N(this,'_members$',new _0x59a042(this['_members'])),N(this,_0xdb4a84(0x35f),this['_members$'][_0xdb4a84(0x2e2)]());}[_0x24eaf7(0x22d)](){var _0x859db6=_0x24eaf7;this['_members'][_0x859db6(0x22b)]();}[_0x24eaf7(0x3ad)](_0x222568){var _0xbf0ebd=_0x24eaf7;this[_0xbf0ebd(0x3ef)][_0xbf0ebd(0x347)](_0x222568[_0xbf0ebd(0x451)],_0x222568),this[_0xbf0ebd(0x3c0)]();}[_0x24eaf7(0x32a)](_0x4dd3b8){var _0x456037=_0x24eaf7;this[_0x456037(0x3ef)]['delete'](_0x4dd3b8);}[_0x24eaf7(0x4b4)](_0x15df02){var _0x1a1d3b=_0x24eaf7;return this[_0x1a1d3b(0x3ef)][_0x1a1d3b(0x42f)](_0x15df02);}[_0x24eaf7(0x28d)](){var _0x7921bd=_0x24eaf7;return Array['from'](this[_0x7921bd(0x3ef)][_0x7921bd(0x256)]());}['_emitMembers'](){var _0x3e37c4=_0x24eaf7;this[_0x3e37c4(0x25e)][_0x3e37c4(0x3b5)](this[_0x3e37c4(0x3ef)]);}}var Us=Object['getOwnPropertyDescriptor'],As=(_0x59f437,_0x265ccb,_0x1b03db,_0xebf01a)=>{var _0x30740f=_0x24eaf7;for(var _0x3020e7=_0xebf01a>0x1?void 0x0:_0xebf01a?Us(_0x265ccb,_0x1b03db):_0x265ccb,_0x192360=_0x59f437[_0x30740f(0x3a8)]-0x1,_0x3ee094;_0x192360>=0x0;_0x192360--)(_0x3ee094=_0x59f437[_0x192360])&&(_0x3020e7=_0x3ee094(_0x3020e7)||_0x3020e7);return _0x3020e7;},Ce=(_0x4b4af0,_0x13dcf2)=>(_0x38ae34,_0x21d63a)=>_0x13dcf2(_0x38ae34,_0x21d63a,_0x4b4af0),ge=(_0x1449dc=>(_0x1449dc[_0x1449dc['IDLE']=0x0]=_0x24eaf7(0x26b),_0x1449dc[_0x1449dc[_0x24eaf7(0x471)]=0x1]=_0x24eaf7(0x471),_0x1449dc[_0x1449dc[_0x24eaf7(0x4a8)]=0x2]=_0x24eaf7(0x4a8),_0x1449dc[_0x1449dc[_0x24eaf7(0x3fa)]=0x3]=_0x24eaf7(0x3fa),_0x1449dc))(ge||{});const Vt={[pe['FAIL']]:_0x24eaf7(0x2f1),[pe['JOIN_ROOM_FULL']]:_0x24eaf7(0x4c6),[pe[_0x24eaf7(0x481)]]:'session.room-not-exists',[pe[_0x24eaf7(0x235)]]:_0x24eaf7(0x271),[pe[_0x24eaf7(0x4d9)]]:_0x24eaf7(0x3e9)};let gt=class extends _0x249e4b{constructor(_0x5aa3a6,_0x470108,_0x4dd8a8,_0x42d718,_0x1d9cb0,_0x4e628b,_0x31e955,_0x4495fb){var _0x290dfd=_0x24eaf7;super(),N(this,_0x290dfd(0x3d8),new _0x59a042(0x0)),N(this,'sessionStatus$',this['_sessionStatus$'][_0x290dfd(0x2e2)]()),N(this,_0x290dfd(0x20c),new _0x54f9ff()),N(this,_0x290dfd(0x488),this[_0x290dfd(0x20c)][_0x290dfd(0x2e2)]()),N(this,_0x290dfd(0x33e)),N(this,_0x290dfd(0x397)),N(this,_0x290dfd(0x26e)),N(this,_0x290dfd(0x382),!0x1),N(this,_0x290dfd(0x2d0),null),(this[_0x290dfd(0x38a)]=_0x5aa3a6,this[_0x290dfd(0x40e)]=_0x4dd8a8,this[_0x290dfd(0x2c5)]=_0x42d718,this[_0x290dfd(0x2c2)]=_0x1d9cb0,this[_0x290dfd(0x27a)]=_0x4e628b,this[_0x290dfd(0x29a)]=_0x31e955,this['_telemetryService']=_0x4495fb,this['_shouldReportTelemetry']=!!this[_0x290dfd(0x2d3)],_0x470108['pipe'](_0x12bc4a(this[_0x290dfd(0x375)]))['subscribe'](_0x3217c2=>{var _0x261662=_0x290dfd,_0x426973;typeof _0x3217c2>'u'||(this[_0x261662(0x33e)]=_0x3217c2,_0x3217c2?(this['_joinRoom'](_0x3217c2),this[_0x261662(0x397)]=_0x3217c2[_0x261662(0x4bf)][_0x261662(0x3d6)](_0x4425e9=>{var _0x38d5de=_0x261662;_0x4425e9[_0x38d5de(0x3a3)]===this['_unitID']&&this[_0x38d5de(0x432)](_0x4425e9);})):(this[_0x261662(0x4db)](),this[_0x261662(0x3d8)][_0x261662(0x3b5)](0x2),(_0x426973=this[_0x261662(0x397)])==null||_0x426973[_0x261662(0x1ff)](),this['_socketMessageSubscription']=null));}));}get[_0x24eaf7(0x498)](){var _0x4fd5fb=_0x24eaf7;return this[_0x4fd5fb(0x3d8)][_0x4fd5fb(0x422)]();}[_0x24eaf7(0x3cf)](){var _0x22d272=_0x24eaf7,_0x356181,_0x15f2cc;return(_0x15f2cc=(_0x356181=this[_0x22d272(0x33e)])==null?void 0x0:_0x356181[_0x22d272(0x451)])!=null?_0x15f2cc:null;}[_0x24eaf7(0x22d)](){var _0x34c935=_0x24eaf7;super['dispose'](),this[_0x34c935(0x375)]['next'](),this['dispose$'][_0x34c935(0x4ac)]();}['close'](){var _0x3a845b=_0x24eaf7,_0x6b18c3,_0x5efe46;this[_0x3a845b(0x4db)](),(_0x6b18c3=this[_0x3a845b(0x33e)])==null||_0x6b18c3[_0x3a845b(0x353)]({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x5efe46=this[_0x3a845b(0x33e)])==null||_0x5efe46[_0x3a845b(0x3e1)](),this[_0x3a845b(0x20c)][_0x3a845b(0x4ac)](),this[_0x3a845b(0x3d8)][_0x3a845b(0x4ac)](),this['dispose']();}['_onCombEvent'](_0x205f88){var _0x4b310f=_0x24eaf7;_0x205f88['cmd']===F[_0x4b310f(0x477)]?this[_0x4b310f(0x1ee)](_0x205f88):_0x205f88[_0x4b310f(0x4bd)]===F[_0x4b310f(0x3b7)]&&this['_onRecvEvent'](_0x205f88);}[_0x24eaf7(0x3d0)](_0x463ee8){var _0x528336=_0x24eaf7;this[_0x528336(0x3d8)][_0x528336(0x3b5)](0x1),_0x463ee8[_0x528336(0x353)]({'cmd':F[_0x528336(0x477)],'routeKey':this[_0x528336(0x38a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x528336(0x38a)]}]}});}[_0x24eaf7(0x1ee)](_0x1b2827){var _0x38a512=_0x24eaf7,_0x1ed8eb;if(_0x1b2827[_0x38a512(0x35c)]in Vt){this[_0x38a512(0x29a)][_0x38a512(0x30e)]({'id':ne[_0x38a512(0x414)],'data':Vt[_0x1b2827[_0x38a512(0x35c)]]}),this[_0x38a512(0x3d8)][_0x38a512(0x3b5)](0x2);return;}this[_0x38a512(0x3d8)][_0x38a512(0x3b5)](0x3);const _0x8fd508=(_0x1ed8eb=_0x1b2827[_0x38a512(0x438)]['roomInfos'][this[_0x38a512(0x38a)]])==null?void 0x0:_0x1ed8eb[_0x38a512(0x465)];_0x8fd508&&_0x8fd508['forEach'](_0x576b33=>this['_memberService'][_0x38a512(0x3ad)](this[_0x38a512(0x38a)],_0x576b33));}[_0x24eaf7(0x2e4)](_0x1d0e3a){var _0x2af59d=_0x24eaf7;try{const _0x58f634=_0x1d0e3a[_0x2af59d(0x438)];switch(_0x58f634['eventID']){case _0x27484d[_0x2af59d(0x374)]:this['_onUserJoin'](_0x58f634),this[_0x2af59d(0x20c)][_0x2af59d(0x3b5)](_0x58f634);break;case _0x27484d[_0x2af59d(0x21b)]:this[_0x2af59d(0x384)](_0x58f634),this[_0x2af59d(0x20c)][_0x2af59d(0x3b5)](_0x58f634);break;case _0x27484d[_0x2af59d(0x37d)]:case _0x27484d[_0x2af59d(0x358)]:this[_0x2af59d(0x46d)](),this[_0x2af59d(0x4a3)](),this['_event$']['next'](_0x58f634);break;case _0x27484d['MSG_FOR_ERROR']:this[_0x2af59d(0x40e)]['error'](_0x2af59d(0x4d7)+JSON[_0x2af59d(0x4c4)](_0x58f634)),this[_0x2af59d(0x20c)][_0x2af59d(0x3b5)](_0x58f634);break;case _0x27484d['COMMENT_UPDATE']:this[_0x2af59d(0x27a)][_0x2af59d(0x30d)](_0x58f634['data']),this['_event$']['next'](_0x58f634);break;default:this[_0x2af59d(0x20c)][_0x2af59d(0x3b5)](_0x58f634);}}catch(_0x3bd7ec){this[_0x2af59d(0x40e)]['error'](_0x3bd7ec,_0x1d0e3a);}}[_0x24eaf7(0x30a)](_0x9044ea){var _0x15437e=_0x24eaf7;this[_0x15437e(0x2c2)][_0x15437e(0x3ad)](this['_unitID'],_0x9044ea[_0x15437e(0x438)]);}[_0x24eaf7(0x384)](_0x33209f){var _0x50d13f=_0x24eaf7;this[_0x50d13f(0x2c2)]['removeMember'](this[_0x50d13f(0x38a)],_0x33209f[_0x50d13f(0x438)][_0x50d13f(0x451)]);}async[_0x24eaf7(0x353)](_0x48f35b,_0x562b30){var _0x3aeb98=_0x24eaf7;if(this[_0x3aeb98(0x498)]!==0x3||!this['_socket'])throw new Error(_0x3aeb98(0x35e));try{_0x48f35b[_0x3aeb98(0x387)]===_0x27484d[_0x3aeb98(0x2db)]&&(this[_0x3aeb98(0x2ab)](),this['_startTelemetryCollaborationNewChangeset'](_0x48f35b)),this['_socket']['send']({'cmd':F[_0x3aeb98(0x362)],'routeKey':_0x562b30,'routeType':'','data':_0x48f35b});}catch(_0x2ed217){this[_0x3aeb98(0x40e)][_0x3aeb98(0x2a4)](_0x2ed217);}}[_0x24eaf7(0x2ab)](){var _0x5603c2=_0x24eaf7,_0x54a72d;this[_0x5603c2(0x26e)]=setTimeout(()=>{var _0xc3d65c=_0x5603c2;this[_0xc3d65c(0x26e)]=null,this[_0xc3d65c(0x29a)][_0xc3d65c(0x30e)]({'id':ne[_0xc3d65c(0x42d)]});},(_0x54a72d=this[_0x5603c2(0x2c5)][_0x5603c2(0x379)](di))!=null?_0x54a72d:fi);}[_0x24eaf7(0x4a3)](){var _0x56f05d=_0x24eaf7;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x56f05d(0x26e)]),this['_collaborationTimeoutTimer']=null);}[_0x24eaf7(0x327)](_0xac4fbd){var _0x52868f=_0x24eaf7;if(!this['_shouldReportTelemetry'])return;const {data:_0x11450b}=_0xac4fbd,{unitID:_0x33b451,changeset:_0xd530c9}=_0x11450b,{mutations:_0x56df88,type:_0x26c986}=_0xd530c9;this['_telemetryInfo']={'unitId':_0x33b451,'type':_0x26c986,'startTime':performance[_0x52868f(0x211)](),'stopTime':0x0,'duration':0x0,'size':bs(_0x56df88)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x4038d8=_0x24eaf7;if(this[_0x4038d8(0x382)]){if(!this[_0x4038d8(0x2d0)]){this['_logService'][_0x4038d8(0x2a4)](_0x4038d8(0x3dd),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4038d8(0x2d0)][_0x4038d8(0x3e6)]=performance[_0x4038d8(0x211)](),this[_0x4038d8(0x2d0)][_0x4038d8(0x2d4)]=this[_0x4038d8(0x2d0)][_0x4038d8(0x3e6)]-this['_telemetryInfo'][_0x4038d8(0x402)],this[_0x4038d8(0x2d3)]['capture'](Os,this[_0x4038d8(0x2d0)]),this['_telemetryInfo']=null;}}[_0x24eaf7(0x4db)](){var _0x2dba26=_0x24eaf7;this[_0x2dba26(0x2d0)]=null;}};gt=As([Ce(0x2,_0x1b7032),Ce(0x3,_0x7e8cbd),Ce(0x4,_0x9aa2f(we)),Ce(0x5,_0x9aa2f(mi)),Ce(0x6,_0x9aa2f(ve)),Ce(0x7,_0x2bef5d(_0x548174))],gt);const J=_0x4546b5('collaboration-client.local-cache-service');function br(_0x393d39){var _0x4e03d9=_0x24eaf7;return _0x4e03d9(0x3dc)+_0x393d39;}function _0x4e9c(_0x4d6cdb,_0x177fa6){var _0x2b94e4=_0x2b94();return _0x4e9c=function(_0x4e9c87,_0xfb39fb){_0x4e9c87=_0x4e9c87-0x1e6;var _0x583148=_0x2b94e4[_0x4e9c87];return _0x583148;},_0x4e9c(_0x4d6cdb,_0x177fa6);}var ws=Object[_0x24eaf7(0x346)],Ps=(_0x58dfa8,_0x50c8b7,_0x534478,_0x2d335f)=>{var _0x37c2b6=_0x24eaf7;for(var _0x2529aa=_0x2d335f>0x1?void 0x0:_0x2d335f?ws(_0x50c8b7,_0x534478):_0x50c8b7,_0x2c1d8d=_0x58dfa8[_0x37c2b6(0x3a8)]-0x1,_0x55d663;_0x2c1d8d>=0x0;_0x2c1d8d--)(_0x55d663=_0x58dfa8[_0x2c1d8d])&&(_0x2529aa=_0x55d663(_0x2529aa)||_0x2529aa);return _0x2529aa;},ut=(_0x3c7730,_0x33f96b)=>(_0x2515a8,_0x37b6c2)=>_0x33f96b(_0x2515a8,_0x37b6c2,_0x3c7730);function Ms(_0x249b01){var _0x405b87=_0x24eaf7;const {unitID:_0x5065a0,mutations:_0x2504c3}=_0x249b01;return{'unitId':_0x5065a0,'subUnitId':_0x2504c3[0x0]['params'][_0x405b87(0x486)]};}let it=class{constructor(_0x2b43bc,_0x100251,_0x3699fc){var _0x4a7511=_0x24eaf7;this['_injector']=_0x2b43bc,this[_0x4a7511(0x2ce)]=_0x100251,this[_0x4a7511(0x32c)]=_0x3699fc;}[_0x24eaf7(0x4c1)](_0x76cec8){var _0x472cf1=_0x24eaf7,_0x409db5,_0x3e3a9b,_0x2ff8be,_0x163768;const _0x2f2475=this[_0x472cf1(0x333)][_0x472cf1(0x42f)](_0x3805b0),{unitId:_0x59a1c8,subUnitId:_0x19134a}=Ms(_0x76cec8),_0x48cc55=_0x2f2475==null?void 0x0:_0x2f2475[_0x472cf1(0x3ed)](_0x59a1c8)[_0x472cf1(0x3d9)](),_0x3ca247=(_0x3e3a9b=(_0x409db5=this[_0x472cf1(0x32c)]['getUnit'](_0x59a1c8))==null?void 0x0:_0x409db5['getActiveSheet']())==null?void 0x0:_0x3e3a9b[_0x472cf1(0x385)]();if(_0x48cc55[_0x472cf1(0x3a8)]===0x0||!_0x59a1c8||!_0x19134a)return;const _0x204f09=[{'id':_0x564e24['id'],'params':{'unitId':_0x59a1c8,'subUnitId':_0x3ca247,'selections':_0x4699e8[_0x472cf1(0x4c8)](_0x48cc55)}}],_0x298dc4=this[_0x472cf1(0x2ce)]['transformMutationsWithChangeset'](_0x76cec8,_0x204f09);if(!_0x33dd3c(_0x298dc4))throw _0x298dc4[_0x472cf1(0x2a4)];const _0x45682b=(_0x163768=(_0x2ff8be=_0x298dc4[_0x472cf1(0x354)][0x0])==null?void 0x0:_0x2ff8be[_0x472cf1(0x2b7)])==null?void 0x0:_0x163768[_0x472cf1(0x4d1)];if(Array[_0x472cf1(0x259)](_0x45682b)&&_0x45682b['length']){if(_0x45682b[_0x472cf1(0x3a8)]===_0x204f09[0x0]['params'][_0x472cf1(0x4d1)][_0x472cf1(0x3a8)]&&_0x45682b[_0x472cf1(0x21d)]((_0x39c5bf,_0xb5e256)=>_0x1c90fe[_0x472cf1(0x3fb)](_0x39c5bf[_0x472cf1(0x25f)],_0x204f09[0x0][_0x472cf1(0x2b7)]['selections'][_0xb5e256][_0x472cf1(0x25f)])))return;this[_0x472cf1(0x333)][_0x472cf1(0x42f)](_0x671f23)[_0x472cf1(0x215)](_0x564e24['id'],{'unitId':_0x59a1c8,'subUnitId':_0x3ca247,'selections':_0x45682b});}}};it=Ps([ut(0x0,_0x9aa2f(_0x1476f5)),ut(0x1,_0x3cd486),ut(0x2,_0x3b585e)],it);const ht=_0x4546b5(_0x24eaf7(0x4ce));var gi=(_0x463d85=>(_0x463d85[_0x463d85[_0x24eaf7(0x313)]=0x0]=_0x24eaf7(0x313),_0x463d85[_0x463d85[_0x24eaf7(0x36e)]=0x1]=_0x24eaf7(0x36e),_0x463d85))(gi||{});const K=_0x24eaf7(0x298),Ls={},xs=new Set([_0x47613b['id']]);function Wt(_0x18ee20,_0x49a045,_0x526e09,_0x21d4c6,_0x2559ca){var _0x5b9c27=_0x24eaf7,_0x3c2ba7,_0x229fa3,_0x1fb277,_0x293425;const _0x32eba5=[];for(const _0x5ee93f of _0x18ee20)if(xs[_0x5b9c27(0x458)](_0x5ee93f['id'])){if(_0x32eba5['length']>0x0)break;_0x32eba5[_0x5b9c27(0x3b0)](_0x5ee93f);break;}else _0x32eba5['push'](_0x5ee93f);const _0x20b5ff=(_0x229fa3=(_0x3c2ba7=_0x2559ca['getCurrentUser']())==null?void 0x0:_0x3c2ba7[_0x5b9c27(0x41c)])!=null?_0x229fa3:'unknown',_0x27ca82=(_0x293425=(_0x1fb277=_0x2559ca[_0x5b9c27(0x28b)]())==null?void 0x0:_0x1fb277[_0x5b9c27(0x451)])!=null?_0x293425:_0x5b9c27(0x475);return{'changeset':{'unitID':_0x49a045,'type':_0x220f1a(_0x526e09[_0x5b9c27(0x27b)](_0x49a045)),'baseRev':_0x21d4c6[_0x5b9c27(0x249)](_0x49a045),'revision':0x0,'userID':_0x20b5ff,'memberID':_0x27ca82,'mutations':_0x32eba5},'pendingMutations':_0x18ee20['slice'](_0x32eba5[_0x5b9c27(0x3a8)])};}function ks(_0x313198,_0x37437d,_0x17c6fc,_0x120769,_0x5d3f03){var _0x324c2a=_0x24eaf7,_0x5e3e26,_0x55e7ac,_0x2e4207,_0x3fb7a4;const _0x38b5f3=[_0x313198[_0x324c2a(0x237)]((_0x5c2901,_0x2923e6)=>{var _0x43b231=_0x324c2a,_0x30df23;const {id:_0x32cd84}=_0x5c2901,{id:_0x3b7f32,type:_0x590275}=_0x2923e6,_0x56c8a4=(_0x30df23=_0x5c2901[_0x43b231(0x2b7)])!=null?_0x30df23:{'actions':null},_0x4a296a=_0x2923e6[_0x43b231(0x2b7)];if(_0x32cd84&&_0x32cd84!==_0x3b7f32)throw new Error(_0x43b231(0x312)+_0x32cd84+_0x43b231(0x2fd)+_0x3b7f32+'.');return{..._0x5c2901,'id':_0x3b7f32,'type':_0x590275,'params':{'unitId':_0x4a296a[_0x43b231(0x476)],'textRanges':_0x4a296a[_0x43b231(0x3d4)],'actions':_0x439857['compose'](_0x56c8a4[_0x43b231(0x21a)],_0x4a296a[_0x43b231(0x21a)])}};},{})],_0x2aa39c=(_0x55e7ac=(_0x5e3e26=_0x5d3f03[_0x324c2a(0x28b)]())==null?void 0x0:_0x5e3e26[_0x324c2a(0x41c)])!=null?_0x55e7ac:_0x324c2a(0x475),_0x4f8753=(_0x3fb7a4=(_0x2e4207=_0x5d3f03[_0x324c2a(0x28b)]())==null?void 0x0:_0x2e4207[_0x324c2a(0x451)])!=null?_0x3fb7a4:_0x324c2a(0x475);return{'changeset':{'unitID':_0x37437d,'type':_0x220f1a(_0x17c6fc[_0x324c2a(0x27b)](_0x37437d)),'baseRev':_0x120769[_0x324c2a(0x249)](_0x37437d),'revision':0x0,'userID':_0x2aa39c,'memberID':_0x4f8753,'mutations':_0x38b5f3},'pendingMutations':[]};}function _0x2b94(){var _0x36d906=['size','_schedule','ERROR_IMAGE','updateSnapshot','collaborators','_tryReconnect','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','offline','UNDEFINED','_userManagerService','\x20-\x20','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','saveChangeset','awaiting','socket\x20close','_registerDependencies','_updateState','byteOffset','EvpKDF','find','_reverseMap','[DataLoaderService]','key','_onUserJoin','LIVESHARE_OPERATION','loadOfflineData','onCommentUpdate','emitEvent','_startCollaboration','_initDependencies','createDecryptor','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','NO_OTHER_CLIENTS_EDITING','_httpService','YUUMI_SUBSCRIPTION_NOT_FOUND','_onOffline','sigBytes','_createHmacHelper','lib','msCrypto','_redoStacks','interceptor','LIVESHARE_TERMINATE','[CollaborationEntity]','ENSURE_SNAPSHOT_EXECUTION','objects','COMPRESS_MUTATION_APPLY','loadUnitOfRevision','getTypeOfUnitDisposed$','fetchMiss','pad','refreshPermission','_startTelemetryCollaborationNewChangeset','initWorkbookPermissionChange','slice','removeMember','headers','_instanceService','Error\x20on\x20receiving\x20event','_transformUndoredo','/resources','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_univerInstanceService','_replayCachedMutations','_injector','status$','buffer','string','sessionStatus$','originalMeta','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','toString','rev','fetchThroughInterceptors','baseRev','_socket','_initCloseConn','/universer-api/snapshot','_replaceFileID','ciphertext','_onMessage','sid','call','getOwnPropertyDescriptor','set','YUUMI_RATE_OVER_LIMIT','?size=','NoPadding','PY_RUNTIME_SCRIPT_ERROR','transformStack\x20failed!','authzUrl','fetching\x20missing\x20changesets\x20from\x20','\x20in\x20_schedule.','_onConnectionFailed','HmacMD5','_updateLocalCache','send','m2Prime','APPLY_NON_SEQUENTIAL_REVISION','531220LtGJLg','NEW_CHANGESETS','CHANGESET_SHOULD_RETRY','objectID','_nRounds','_process','code','entries','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','members$','getResourcesRequest','_transformStack','INGEST','HttpImport','collaboratorID','\x0aAfter:\x20','_getLoginPath','onTransformRemoteChangesetByStateCache','AES','appendMutation','isPermissionRej','registerHTTPInterceptor','debug','transformMutationsWithChangeset','OTHER_CLIENTS_EDITING','disposeWithMe','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','LICENSE_DISTRO_REJECTED','MOBILE_HAS_BEEN_BOUND','ivSize','USERS_ENTER','dispose$','Base','_singleActiveUnitService','_acknowledgedAwaitingChangeset','getConfig','_sender','_status$','_onLocalMutation','CHANGESET_ACK','getTypeOfUnitAdded$','[PendingState]:\x20received\x20acknowledgement.','_entityInit$','connection\x20error','_shouldReportTelemetry','_resendTimeout','_onUserLeave','getSheetId','findIndex','eventID','_transformRemoteChangesetByIMECache','getSheetBlock','_unitID','_substituteRedoStack','_submitChangeset','INVITE_CODE_HAS_BEEN_UES','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','CLOSE_ROOM','[CollaborationSessionService]','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','csShouldRetryEvent','_createHandler','fromCharCode','status','parse','_socketMessageSubscription','readyForCollab','UPDATE_CURSOR','Utf8','[FetchMissState]','permissionRejEvent','_changesetReqId','getUnitOnRev','SYNCED','UPDATE_PERMISSION_OBJ','/fetchmissing?from=','liveShareOperation','routeKey','indexOf','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_entities','toggleOnline','length','_updateStatus','revision','APPLY_REVISION_CONFILICT','close$','updateMember','addImageSourceCache','_getSignURL','push','src','url','164VPGoHF','CipherParams','next','APPLY_DUPLICATED','RECV','_toggleOnline','_xformMode','_createInitialState','/-/object/list','onRemoteRetry','padding','init','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_emitMembers','hasher','forEach','/universer-api/stream/file/upload','compute','LIVESHARE_NEW_HOST','onMissedChangesetFetched','UNISCRIPT_RUN','format','saveSheetBlock','FAIL','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','/object/','UUID','editingUnit','getMemberID','_joinRoom','_collaborationSessionService','updateCollaborator','leaveEvent','textRanges','onLocalMutation','subscribe','_oKey','_sessionStatus$','getCurrentSelections','change$','getCollabEntity','unit-cache-','[CollaborationSession]','function','_toggleOffline','saveSnapshot','close','_clearLocalCache','_tryEnsureSocket','INVITE_CODE_REQUIRED','onSendChangeset','stopTime','_timeoutTimer','_commentUpdate$','session.room-cnt-exceeds','max','catch','HEARTBEAT','getWorkbookSelections','closeSession','_members','loadSheet','[PendingState]:\x20unhandled\x20univer\x20type:\x20','/unit/','byteLength','_resendTimer','_clearRedo','setConfig','_clearTimeoutTimer','charCodeAt','reqId','ONLINE','equals','/universer-api/authz','HELLO','_snapshotService','onRemoteAck','SUCCUSS','_localCacheService','startTime','put','WordArray','reverse','awaitingChangeset','AWAITING_WITH_PENDING','_socketService','MOBILE_VERIFY_CODE_MISMATCH','requestParams','ERROR_IMAGE_TYPE','16473PyWTJr','UNKNOWN_CODE','_logService','LICENSE_EXPORT_SIZE_EXCEEDED','_getUndoStack','_listenToNetworkCondition','_getAPIPrefix','_type','JOIN_ROOM_FAILED','roles','POST','_sheetTransformSelectionsService','CHANGESET_REVISION_CONFILICT','\x0aCurrent:\x20','SHOULD_CLOSE_CONN','enableAuthServer','userID','localCacheService','getUnitStatus$','YUUMI_UNABLE_LOAD_URL','pending','UserProfileImg','getValue','PERSON','iterations','_syncEditingCollabCursor','YUUMI_CONNECTOR_URL_NOT_FOUND','_imageSourceCache','getFocusedUnit','setCurrentUser','\x20to\x20','post','_resendWithTimeout','SUBMIT_CHANGESET_TIMEOUT','CONFLICT','get','execute','keySize','_onCombEvent','_iKey','_getDownloadEndpointURL','getCollabEntity$','onMissingChangesets','UNRECOGNIZED','data','onSyncEditingCollabCursor','Decryptor','_key','APPLY_REJECT','sheets','[SyncedState]:\x20received\x20acknowledgement.','onTransformIME','_transitionLocked','submit\x20changeset\x20error!','exports','/block/','_lockTransition','_clearUndo','title','startsWith','onTransformRemoteChangesetByIMECache','SOCKET_FAILED_RETRY','onRemoteChangeset','ceil','_transformSelections','_getSendChangesetTimeout','WECHAT_HAS_BEEN_BOUND','toggleOffline','words','memberID','updatePermissionPoint','getInterceptPoints','_scheduleCompleteTimestamp','localeService','_queuedRemoteChangesets','_onConnectionOpen','has','enableSingleActiveInstanceLock','unitID','getTime','_state$','reconnect','_decreaseWaiting','BufferedBlockAlgorithm','SNAPSHOT_HAS_BEEN_REMOVED','default','_transformIMECache','open$','deleteCollaborator','members','Cipher','delete','crypto','_doCryptBlock','_config','_doCreateSocket','_invKeySchedule','_stopTelemetryCollaborationNewChangeset','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','getUnitId','awaiting_with_pending','JOINING','UNIVER_UNKNOWN','concat','pipe','unknown','unitId','JOIN','_getCtorByUniverType','c1Prime','OpenSSL','collabSubmitChangesetUrl','_executeRemoteChangeset','_undoRedoService','FETCH_MISS','YUUMI_AI_RUN_FAILED','x-univer-host','JOIN_ROOM_NOT_EXISTS','/universer-api/comb','shouldCloseConn','_initUnitPermissionChange','_hasher','subUnitId','onCommandExecuted','event$','LOCAL_CACHE_INTERVAL','repeat','LEAVE','9884utHMqp','INVITE_CODE_ALREADY_BOUND','_revisionService','entityInit$','[CollaborationUndoRedoService]','ws://127.0.0.1:8000/universer-api/comb/connect','YUUMI_ALL_TABLES_IS_INVALID','UNIVER_SHEET','listCollaborators','Hasher','createInstance','joinEvent','sessionStatus','PENDING','pauseCollaboration','COMMENT_UPDATE','336WhJmME','NOT_FOUND','method','editing\x20status\x20changed\x20to','_waitForHeartbeatResponse','_clearHeartbeatTimer','_retryConnectingTimer','_clearCollaborationTimeoutTimer','_clearRetryConnectingTimer','createCollaborator','location','prototype','OFFLINE','_initRequestHeader','_roomMembers','FETCH_MISSING','complete','action','_cipher','BlockCipher','SNAPSHOT_INVALID_SNAPSHOT','_onConflict','list','_sendHeartbeatTimer','getMember','_handler','processBlock','kdf','setShowComponents','LICENSE_IMPORT_SIZE_EXCEEDED','/allowed','create','UnitSnapshot','cmd','encrypt','message$','finalize','transformSelections','/universer-api/user/session-ticket','_nDataBytes','stringify','[PendingState]:\x20received\x20rejection.','session.room-full','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','deepClone','not_collab','Latin1','online$','onTransformState','_append','univer-pro.collaboration-client.single-active-unit-service','batchAllowed','NOT_COLLAB','selections','encode','_getCurrentRevision','_mode','INVALID_ARGUMENT','YUUMI_NO_CUBOID_FOR_QUESTION','save\x20fail\x20reason\x20is\x20','Base64','GLOBAL_ROOMS_CNT_EXCEEDS','YUUMI_ASYNCIO_CANCELLED','_throwTelemetryCollaborationNewChangeset','onRemoteRej','_removeRoom','_awaitingChangeset','_checkMissing','image/jpeg','cfg','COMPLETION_FINISHED','uniscriptRunEvent','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','ALREADY_EXISTS','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_ENC_XFORM_MODE','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','encryptBlock','onStateChange','[SyncedState]:\x20received\x20rejection.','_onJoinRoomEvent','_socketReady','Univer','_rescheduleHeartbeat','saveImage','blockSize','PERMISSION_DENIED','mutations','_change$','replace','confirm','apply','1626834xmnbbT','floor','random','error$','sendChangesetTimeout','unsubscribe','SerializableCipher','UNIVER_PROJECT','388499GswMTp','_permissionService','/rev/','salt','requireSession','JOIN_ROOM_FULL','map','image/jpg','state$','resourceIDs','_event$','transformUndoRedo','update','incrementRevOfUnit','objectActions','now','joinRsp','_doFinalize','EMAIL_VERIFY_CODE_MISMATCH','executeCommand','SHA1','randomBytes','image/bmp','_handlerCallback','actions','USERS_LEAVE','uploadFileServerUrl','every','putCollaborators','synced','_onFetchMissResult','/-/object/-/batch_allowed','fetch_missing','_unitInfo$','subject','HMAC','_onRemoteRejected','INVALID_INVITE_CODE','_onRemoteRetry','&source=','_prevBlock','clear','_sendHeartbeat','dispose','Pkcs7','liveShareNewHost','_retryCount','_sessions','LIVESHARE_FETCH_OPERATIONS','__creator','SOCKET_FAILED','JOIN_ROOM_PERMISSION_DENIED','OTHER_CLIENT_EDITING','reduce','readAsDataURL','UNKNOWN_CMD','_transformRemoteChangesetByStateCache','_getAPIPrefixPath','UNIVER_SLIDE','_sendingTimer','Malformed\x20UTF-8\x20data','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','clamp','listRoles','charAt','add','_changesetSessionId','_pendingMutations','symbol','extend','_data','getCurrentRevOfUnit','_commandService','_keySchedule','APPLY_PERMISSION_DENIED','MD5','MUTATION','getSnapshotAPIPath','_parse','_socket$','commentUpdateEvent','_substituteUndoStack','UnitEmbedded','commentUpdate$','values','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','[OfflineState]:\x20received\x20rejection.','isArray','PSEUDO_FETCH_MISSING_RESULT','sin','focused$','_doProcessBlock','_members$','range','_exhaustRemoteChangesetQueue','onStarting','snapshot','CBC','BlockCipherMode','enableOfflineEditing','filter','objectType','resend','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','state','IDLE','_clearScheduledTask','signUrlServerUrl','_collaborationTimeoutTimer','newCsEvent','_compressMutationService','session.room-permission-denied','updateOfflineData','PERMISSION_REJ','TOO_MANY_REQUESTS','__esModule','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','changesets','splice','HmacSHA1','_commentService','getUnitType','LICENSE_MAX_UNITS_EXCEEDED','HttpExport','INTERNAL_ERROR','_localeService','algo','CONNECTOR_DATA_TOO_LARGE','then','onload','hasOwnProperty','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_getUploadFileURL','univer-pro.collaboration-client-socket-service','unpad','/universer-api/oidc/authpage','file','getCurrentUser','UNIVER_DOC','getAllMembers','includes','_networkConditionService','mixIn','USER_NOT_INVITED_CODE','abs','join','_applyRemoteChangeset','852820wQXtvz','[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.','[OfflineState]:\x20received\x20changeset.','collaboration-client.config','substr','_collaborationUIEventService','patch','_collaborationPaused','snapshotServerUrl','type','Encryptor','getRandomValues','_init','RETRY_CONNECTING_MAX_COUNT','unitId\x20is\x20not\x20found','error','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_HTTPService','FileId','collaboration_new_changeset','result','_roomCreated$','_scheduleCollaborationTimeoutTimer','fromCollab','_waitCount','_undoStacks','href','UNAUTHENTICATED','_isPermissionRej','mode','_createHelper','_map','name','_transformStateCache','params','CHANGESET_REJ','?url=','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','target','_minBufferSize','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_keyPriorReset','clone','conflict','_showConflictNotification','_memberService','LOGIN_FAILED','createSocket','_configService','_candidateSocket','_state','failed\x20to\x20apply\x20missed\x20changesets!','fetchMissingChangesets','readInt32LE','_createSocket','reset','_getRedoStack','_transformService','/collaborator','_telemetryInfo','waitForRoom$','infoRsp','_telemetryService','duration','{fileID}','loadDoc','_unlockTransition','reject','_snapshotServerService','copyFileMeta','SUBMIT_CHANGESET','updatePermissionObjEvent','transformChangesets','Could\x20not\x20dynamically\x20require\x20\x22','18dKuBme','enc','EMAIL_HAS_BEEN_BOUND','asObservable','session','_onRecvEvent','BASE64','onlyLocal','auth.needGotoLoginAlert','_remoteChangesetQueue','_incrementRevisionNumber','1850965xpdDub','[CollaborationSessionService]:\x20socket\x20error','pluginName','_hash','_onRemoteACK','body','onTransformSelections','session.join-failed','createEncryptor'];_0x2b94=function(){return _0x36d906;};return _0x2b94();}function Si(_0x19a7cf,_0x47cfb8){var _0x1f9a41=_0x24eaf7;const _0x2156c8=new _0x456bb9(0x1);return setTimeout(()=>_0x2156c8['next'](_0x47cfb8),_0x19a7cf),_0x2156c8[_0x1f9a41(0x2e2)]()[_0x1f9a41(0x474)](_0x25e472(0x1));}const $s={'id':_0x53d71c['id'],'type':_0x30f9a2['MUTATION'],'params':{}};var Hs=Object[_0x24eaf7(0x346)],Ee=(_0x57edbe,_0x54e152,_0x47ced5,_0x4847fe)=>{var _0xc35703=_0x24eaf7;for(var _0x570d68=_0x4847fe>0x1?void 0x0:_0x4847fe?Hs(_0x54e152,_0x47ced5):_0x54e152,_0x4ce045=_0x57edbe[_0xc35703(0x3a8)]-0x1,_0xae7fa3;_0x4ce045>=0x0;_0x4ce045--)(_0xae7fa3=_0x57edbe[_0x4ce045])&&(_0x570d68=_0xae7fa3(_0x570d68)||_0x570d68);return _0x570d68;},P=(_0x452b44,_0x394c7a)=>(_0x4ad35e,_0x44e321)=>_0x394c7a(_0x4ad35e,_0x44e321,_0x452b44),Ei=(_0x48f7a6=>(_0x48f7a6[_0x24eaf7(0x4d0)]=_0x24eaf7(0x4c9),_0x48f7a6[_0x24eaf7(0x39f)]=_0x24eaf7(0x21f),_0x48f7a6[_0x24eaf7(0x499)]=_0x24eaf7(0x420),_0x48f7a6['AWAITING']=_0x24eaf7(0x300),_0x48f7a6[_0x24eaf7(0x407)]=_0x24eaf7(0x470),_0x48f7a6[_0x24eaf7(0x47e)]=_0x24eaf7(0x222),_0x48f7a6[_0x24eaf7(0x42e)]=_0x24eaf7(0x2c0),_0x48f7a6[_0x24eaf7(0x4a8)]=_0x24eaf7(0x2fa),_0x48f7a6))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x41b3e3,_0x2666fc,_0x3cd9f6,_0x35a61c,_0x252686,_0x48b906,_0x4a73be,_0x4d8a69,_0x499cec){var _0x1b4594=_0x24eaf7;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this['unitID']=_0x41b3e3,this['type']=_0x2666fc,this[_0x1b4594(0x4b5)]=_0x252686,this[_0x1b4594(0x24a)]=_0x48b906,this[_0x1b4594(0x47d)]=_0x4a73be,this[_0x1b4594(0x48e)]=_0x4d8a69,this[_0x1b4594(0x401)]=_0x499cec,this[_0x1b4594(0x4de)]=_0x3cd9f6,this[_0x1b4594(0x245)]=_0x35a61c);}['_checkMissing'](_0x414f8b){var _0x2d600b=_0x24eaf7;const _0x17b210=this[_0x2d600b(0x48e)][_0x2d600b(0x249)](this['unitID']);return _0x414f8b[_0x2d600b(0x3aa)]>_0x17b210+0x1?(this['_handler'][_0x2d600b(0x436)]({'from':_0x17b210,'to':_0x414f8b[_0x2d600b(0x3aa)]-0x1}),!0x0):!0x1;}[_0x24eaf7(0x32e)](_0x28c1ac){var _0x452804=_0x24eaf7;this['_undoRedoService'][_0x452804(0x20d)](this[_0x452804(0x45a)],_0x28c1ac);}[_0x24eaf7(0x44c)](_0x37a2a8){var _0x37307f=_0x24eaf7,_0xa9edff,_0x42d4bc;(_0x42d4bc=(_0xa9edff=this[_0x37307f(0x4b5)])[_0x37307f(0x2f0)])==null||_0x42d4bc[_0x37307f(0x345)](_0xa9edff,_0x37a2a8);}[_0x24eaf7(0x462)](_0x14637d){var _0x595e40=_0x24eaf7,_0x1cecc4,_0x2489ad;return(_0x2489ad=(_0x1cecc4=this[_0x595e40(0x4b5)])['onTransformIME'])==null?void 0x0:_0x2489ad[_0x595e40(0x345)](_0x1cecc4,_0x14637d);}[_0x24eaf7(0x2b6)](_0x26b98d){var _0x2729eb=_0x24eaf7,_0x97c3dc,_0x5d29d8;return(_0x5d29d8=(_0x97c3dc=this[_0x2729eb(0x4b5)])[_0x2729eb(0x4cc)])==null?void 0x0:_0x5d29d8[_0x2729eb(0x345)](_0x97c3dc,_0x26b98d);}[_0x24eaf7(0x388)](_0xfcb6b8){var _0x2b4ef3=_0x24eaf7,_0x4faa34,_0x53fcae,_0x1067a8;return(_0x1067a8=(_0x53fcae=(_0x4faa34=this[_0x2b4ef3(0x4b5)])[_0x2b4ef3(0x448)])==null?void 0x0:_0x53fcae[_0x2b4ef3(0x345)](_0x4faa34,_0xfcb6b8))!=null?_0x1067a8:_0xfcb6b8;}[_0x24eaf7(0x23a)](_0x2d53fa){var _0xf494ab=_0x24eaf7,_0x265d51,_0x2ec032,_0x1b32f0;return(_0x1b32f0=(_0x2ec032=(_0x265d51=this['_handler'])[_0xf494ab(0x367)])==null?void 0x0:_0x2ec032[_0xf494ab(0x345)](_0x265d51,_0x2d53fa))!=null?_0x1b32f0:_0x2d53fa;}[_0x24eaf7(0x425)](_0x2fcccf){var _0x16c93d=_0x24eaf7,_0xb29e90,_0x218daf;if(this[_0x16c93d(0x29e)]===Z[_0x16c93d(0x28c)]){const {unitID:_0x2234aa,mutations:_0xbdf858,memberID:_0x242198}=_0x2fcccf,_0x59c1c8=_0xbdf858[0x0][_0x16c93d(0x2b7)][_0x16c93d(0x3d4)];Array[_0x16c93d(0x259)](_0x59c1c8)&&_0x59c1c8[_0x16c93d(0x3a8)]>0x0&&((_0x218daf=(_0xb29e90=this[_0x16c93d(0x4b5)])[_0x16c93d(0x439)])==null||_0x218daf[_0x16c93d(0x345)](_0xb29e90,{'unitID':_0x2234aa,'memberID':_0x242198,'textRanges':_0x59c1c8}));}}[_0x24eaf7(0x352)](){var _0x4a4a08=_0x24eaf7,_0x48c6e9;(_0x48c6e9=this['_localCacheService'])==null||_0x48c6e9[_0x4a4a08(0x272)](this[_0x4a4a08(0x45a)],this['type'],this[_0x4a4a08(0x4de)],this[_0x4a4a08(0x245)]);}[_0x24eaf7(0x4d3)](){var _0x596a51=_0x24eaf7;return this[_0x596a51(0x48e)][_0x596a51(0x249)](this[_0x596a51(0x45a)]);}['_incrementRevisionNumber'](){var _0x483728=_0x24eaf7;this[_0x483728(0x48e)][_0x483728(0x20f)](this[_0x483728(0x45a)]);}[_0x24eaf7(0x47c)](_0x253956){var _0x5015e4=_0x24eaf7,_0x2a8247;let _0x330eb7=this[_0x5015e4(0x388)](_0x253956);_0x330eb7=this[_0x5015e4(0x23a)](_0x330eb7);const _0x237a34=_0x22011a(_0x330eb7[_0x5015e4(0x1f5)],this[_0x5015e4(0x24a)],{'fromCollab':!0x0});if(!_0x237a34[_0x5015e4(0x2a9)])throw _0x237a34[_0x5015e4(0x2a4)]instanceof Error?_0x237a34[_0x5015e4(0x2a4)]:new Error((_0x2a8247=_0x237a34[_0x5015e4(0x2a4)])!=null?_0x2a8247:'[CollaborationState]:\x20apply\x20error!');this[_0x5015e4(0x462)](_0x330eb7),this[_0x5015e4(0x2b6)](_0x330eb7),this['_transformUndoredo'](_0x253956),this['_transformSelections'](_0x330eb7),this['_syncEditingCollabCursor'](_0x330eb7),this[_0x5015e4(0x2e9)]();}}let ye=class extends Ie{constructor(_0x2b8178,_0x514e19,_0x3c80fc,_0x9a4775,_0x151fd3,_0x494137,_0x1da1d2,_0x17a334,_0x3d6477,_0x1e8923){var _0x283e66=_0x24eaf7;super(_0x2b8178,_0x514e19,null,[],_0x3c80fc,_0x1da1d2,_0x494137,_0x9a4775,_0x1e8923),N(this,_0x283e66(0x395),_0x283e66(0x21f)),(this[_0x283e66(0x333)]=_0x151fd3,this[_0x283e66(0x40e)]=_0x17a334,this[_0x283e66(0x2ce)]=_0x3d6477,this[_0x283e66(0x41d)]=_0x1e8923);}['appendMutation'](_0x509678){var _0x208e07=_0x24eaf7;const _0x54423e=this['_injector'][_0x208e07(0x496)](re,this[_0x208e07(0x45a)],this[_0x208e07(0x29e)],[_0x509678],this[_0x208e07(0x4b5)]);return _0x54423e[_0x208e07(0x2f4)](),_0x54423e[_0x208e07(0x352)](),_0x54423e;}[_0x24eaf7(0x44a)](_0x1b09b0){var _0x13a5a7=_0x24eaf7;if(this['_checkMissing'](_0x1b09b0))return this['_injector'][_0x13a5a7(0x496)](Q,this[_0x13a5a7(0x45a)],this[_0x13a5a7(0x29e)],null,[],null,[_0x1b09b0],this[_0x13a5a7(0x4b5)]);try{const _0x357b2f=this['_transformService'][_0x13a5a7(0x36d)](_0x1b09b0,[$s]);if(_0x33dd3c(_0x357b2f)){const {c1Prime:_0x311a78}=_0x357b2f;return this[_0x13a5a7(0x47c)](_0x311a78),this;}throw _0x357b2f['error'];}catch(_0x10f62e){return this[_0x13a5a7(0x40e)][_0x13a5a7(0x2a4)](_0x10f62e),this[_0x13a5a7(0x4b1)](!0x1);}}[_0x24eaf7(0x4b1)](_0x3e395b){var _0x3a985c=_0x24eaf7;return this[_0x3a985c(0x333)][_0x3a985c(0x496)](le,this[_0x3a985c(0x45a)],this[_0x3a985c(0x29e)],null,[],this[_0x3a985c(0x4b5)],_0x3e395b);}[_0x24eaf7(0x3ff)](){var _0x4f7411=_0x24eaf7;throw new Error(_0x4f7411(0x43e));}[_0x24eaf7(0x4dc)](){var _0x16cebd=_0x24eaf7;throw new Error(_0x16cebd(0x1ed));}[_0x24eaf7(0x3bc)](){return this;}[_0x24eaf7(0x44f)](){var _0x344e01=_0x24eaf7;return this[_0x344e01(0x333)][_0x344e01(0x496)](ue,this['unitID'],this['type'],null,[],this[_0x344e01(0x4b5)]);}['toggleOnline'](){return this;}['resend'](){var _0xc847f0=_0x24eaf7;throw new Error(_0xc847f0(0x370));}[_0x24eaf7(0x324)](){var _0x2ef0ae=_0x24eaf7;const _0x26b98f=this[_0x2ef0ae(0x48e)][_0x2ef0ae(0x249)](this['unitID']);return this[_0x2ef0ae(0x4b5)][_0x2ef0ae(0x436)]({'from':_0x26b98f,'to':0x0}),this['_injector'][_0x2ef0ae(0x496)](Q,this['unitID'],this[_0x2ef0ae(0x29e)],null,[],null,[],this[_0x2ef0ae(0x4b5)]);}};ye=Ee([P(0x3,_0x9aa2f(_0x2e4803)),P(0x4,_0x9aa2f(_0x1476f5)),P(0x5,_0x593fd4),P(0x6,_0x671f23),P(0x7,_0x1b7032),P(0x8,_0x3cd486),P(0x9,_0x2bef5d(J))],ye);let re=class extends Ie{constructor(_0x49f4ed,_0x2fc0dd,_0x3a8a74,_0x390a09,_0x5d2cbf,_0x41e5b8,_0x4099ef,_0x1b0b87,_0x2e16f6,_0x38ab05,_0x550178,_0x27c922,_0x5d074d,_0xdd4a9a){var _0x9bcfa1=_0x24eaf7;super(_0x49f4ed,_0x2fc0dd,null,_0x3a8a74,_0x390a09,_0x2e16f6,_0x5d074d,_0x41e5b8,_0xdd4a9a),N(this,_0x9bcfa1(0x395),_0x9bcfa1(0x420)),N(this,_0x9bcfa1(0x454),null),N(this,_0x9bcfa1(0x23d),null),(this[_0x9bcfa1(0x333)]=_0x5d2cbf,this['_memberService']=_0x4099ef,this[_0x9bcfa1(0x40e)]=_0x1b0b87,this[_0x9bcfa1(0x2c5)]=_0x38ab05,this['_transformService']=_0x550178,this['_univerInstanceService']=_0x27c922);}['appendMutation'](_0x5ffb12){var _0x11923a=_0x24eaf7;return this['_pendingMutations'][_0x11923a(0x3b0)](_0x5ffb12),this[_0x11923a(0x352)](),this;}[_0x24eaf7(0x44a)](_0x1976b0){var _0x26114a=_0x24eaf7;if(this['_checkMissing'](_0x1976b0))return this[_0x26114a(0x26c)](),this[_0x26114a(0x333)][_0x26114a(0x496)](Q,this[_0x26114a(0x45a)],this['type'],null,this[_0x26114a(0x245)],null,[_0x1976b0],this[_0x26114a(0x4b5)]);try{const _0x1e7a2d=this[_0x26114a(0x2ce)]['transformMutationsWithChangeset'](_0x1976b0,this[_0x26114a(0x245)]);if(_0x33dd3c(_0x1e7a2d)){const {c1Prime:_0x1c548f,m2Prime:_0x33ea2b}=_0x1e7a2d;this[_0x26114a(0x47c)](_0x1c548f);const _0x1095c0=this[_0x26114a(0x333)][_0x26114a(0x496)](re,this[_0x26114a(0x45a)],this[_0x26114a(0x29e)],_0x33ea2b,this['_handler']);this['_clearScheduledTask']();const _0x16e7b1=new Date()[_0x26114a(0x45b)](),_0x574a6d=this[_0x26114a(0x454)]?Math[_0x26114a(0x3ea)](this['_scheduleCompleteTimestamp']-_0x16e7b1,0x0):this['_getSendChangesetTimeout']();return _0x1095c0['_schedule'](_0x574a6d),_0x1095c0;}throw _0x1e7a2d[_0x26114a(0x2a4)];}catch(_0x1d810f){return this['_logService']['error'](_0x1d810f),this[_0x26114a(0x4b1)](!0x1);}}[_0x24eaf7(0x3ff)](){var _0x263ef3=_0x24eaf7;throw new Error(_0x263ef3(0x37f));}[_0x24eaf7(0x4dc)](){var _0x5ecd3e=_0x24eaf7;throw new Error(_0x5ecd3e(0x4c5));}['onRemoteRetry'](){return this;}[_0x24eaf7(0x44f)](){var _0x2f7e03=_0x24eaf7;return this['_clearScheduledTask'](),this[_0x2f7e03(0x333)][_0x2f7e03(0x496)](ue,this[_0x2f7e03(0x45a)],this[_0x2f7e03(0x29e)],null,this[_0x2f7e03(0x245)],this[_0x2f7e03(0x4b5)]);}[_0x24eaf7(0x3a7)](){return this;}['_schedule'](_0x5008b3){var _0x335177=_0x24eaf7;const _0x1b3433=_0x5008b3!=null?_0x5008b3:this[_0x335177(0x44d)]();this['_scheduleCompleteTimestamp']=new Date()[_0x335177(0x45b)]()+_0x1b3433,this[_0x335177(0x23d)]=setTimeout(()=>{var _0x3c0ebf=_0x335177;this[_0x3c0ebf(0x26c)]();let _0x209a03=null;switch(this[_0x3c0ebf(0x29e)]){case Z[_0x3c0ebf(0x493)]:{_0x209a03=Wt(this['_pendingMutations'],this[_0x3c0ebf(0x45a)],this[_0x3c0ebf(0x331)],this['_revisionService'],this[_0x3c0ebf(0x2c2)]);break;}case Z[_0x3c0ebf(0x28c)]:{this[_0x3c0ebf(0x245)][_0x3c0ebf(0x21d)](_0x34c163=>_0x34c163['id']===_0x1d6823['id'])?_0x209a03=ks(this['_pendingMutations'],this[_0x3c0ebf(0x45a)],this[_0x3c0ebf(0x331)],this[_0x3c0ebf(0x48e)],this['_memberService']):_0x209a03=Wt(this['_pendingMutations'],this['unitID'],this[_0x3c0ebf(0x331)],this[_0x3c0ebf(0x48e)],this[_0x3c0ebf(0x2c2)]);break;}default:throw new Error(_0x3c0ebf(0x3f1)+this[_0x3c0ebf(0x29e)]+_0x3c0ebf(0x34f));}const {changeset:_0x29e0bc,pendingMutations:_0x2a8df6}=_0x209a03;this[_0x3c0ebf(0x4b5)][_0x3c0ebf(0x3e5)](_0x29e0bc);const _0x5e8505=_0x2a8df6[_0x3c0ebf(0x3a8)]?this[_0x3c0ebf(0x333)]['createInstance'](ae,this['unitID'],this[_0x3c0ebf(0x29e)],_0x29e0bc,_0x2a8df6,this[_0x3c0ebf(0x4b5)],void 0x0):this[_0x3c0ebf(0x333)][_0x3c0ebf(0x496)](_e,this[_0x3c0ebf(0x45a)],this[_0x3c0ebf(0x29e)],_0x29e0bc,this[_0x3c0ebf(0x4b5)]);_0x5e8505[_0x3c0ebf(0x352)](),this[_0x3c0ebf(0x4b5)][_0x3c0ebf(0x1ec)](this,_0x5e8505);},_0x1b3433);}[_0x24eaf7(0x44d)](){var _0x1d51cc=_0x24eaf7,_0x2ce39c;const _0x1d3bbb=this[_0x1d51cc(0x2c5)]['getConfig'](K);return(_0x2ce39c=_0x1d3bbb==null?void 0x0:_0x1d3bbb[_0x1d51cc(0x1fe)])!=null?_0x2ce39c:ps;}[_0x24eaf7(0x268)](){var _0x37e774=_0x24eaf7;throw new Error(_0x37e774(0x2a5));}[_0x24eaf7(0x26c)](){var _0xf35844=_0x24eaf7;this[_0xf35844(0x23d)]!=null&&(clearTimeout(this[_0xf35844(0x23d)]),this[_0xf35844(0x23d)]=null);}[_0x24eaf7(0x4b1)](_0x100cec){var _0x13d94d=_0x24eaf7;return this[_0x13d94d(0x26c)](),this['_injector'][_0x13d94d(0x496)](le,this[_0x13d94d(0x45a)],this[_0x13d94d(0x29e)],null,this[_0x13d94d(0x245)],this[_0x13d94d(0x4b5)],_0x100cec);}};re=Ee([P(0x4,_0x9aa2f(_0x1476f5)),P(0x5,_0x9aa2f(_0x2e4803)),P(0x6,_0x9aa2f(we)),P(0x7,_0x1b7032),P(0x8,_0x671f23),P(0x9,_0x7e8cbd),P(0xa,_0x3cd486),P(0xb,_0x3b585e),P(0xc,_0x593fd4),P(0xd,_0x2bef5d(J))],re);let _e=class extends Ie{constructor(_0x54a9be,_0x2af9d5,_0x26ddc4,_0x1c8977,_0x1f3c0b,_0x1d14ac,_0x2592a2,_0x20fdd9,_0x49ba52,_0x3bd04e,_0x339f40){var _0x41865c=_0x24eaf7;super(_0x54a9be,_0x2af9d5,_0x26ddc4,[],_0x1c8977,_0x2592a2,_0x3bd04e,_0x1d14ac,_0x339f40),N(this,_0x41865c(0x395),'awaiting'),N(this,_0x41865c(0x383),0x0),N(this,_0x41865c(0x3f4)),N(this,_0x41865c(0x37a)),(this[_0x41865c(0x333)]=_0x1f3c0b,this[_0x41865c(0x40e)]=_0x20fdd9,this['_transformService']=_0x49ba52);}[_0x24eaf7(0x369)](_0x27cb99){var _0x5d0010=_0x24eaf7;this[_0x5d0010(0x26c)]();const _0x2f419b=this[_0x5d0010(0x333)][_0x5d0010(0x496)](ae,this[_0x5d0010(0x45a)],this[_0x5d0010(0x29e)],this[_0x5d0010(0x4de)],[_0x27cb99],this[_0x5d0010(0x4b5)],this[_0x5d0010(0x3f4)]);return _0x2f419b[_0x5d0010(0x352)](),_0x2f419b;}[_0x24eaf7(0x44a)](_0x85d457){var _0x752121=_0x24eaf7;if(this[_0x752121(0x4df)](_0x85d457))return this['_clearScheduledTask'](),this[_0x752121(0x333)][_0x752121(0x496)](Q,this[_0x752121(0x45a)],this[_0x752121(0x29e)],this[_0x752121(0x4de)],[],null,[_0x85d457],this['_handler']);try{const _0x40ca55=this[_0x752121(0x2ce)]['transformChangesets']([_0x85d457],[this[_0x752121(0x4de)]],!0x1);if(_0x365f58(_0x40ca55)){const {c1Prime:_0x40eb58,c2Prime:_0x3e1918}=_0x40ca55;this['_executeRemoteChangeset'](_0x40eb58[0x0]),_0x3e1918[0x0][_0x752121(0x33d)]=this[_0x752121(0x4d3)](),this[_0x752121(0x26c)]();const _0x1fd321=this[_0x752121(0x333)][_0x752121(0x496)](_e,this[_0x752121(0x45a)],this[_0x752121(0x29e)],_0x3e1918[0x0],this[_0x752121(0x4b5)]);return _0x1fd321[_0x752121(0x352)](),_0x1fd321;}return this['_onConflict'](!0x1);}catch(_0x1bd1ca){return this['_logService']['error'](_0x1bd1ca),this[_0x752121(0x4b1)](!0x1);}}[_0x24eaf7(0x3ff)](_0x3b2b32){var _0x2e7592=_0x24eaf7;this[_0x2e7592(0x26c)]();const _0x204536=this[_0x2e7592(0x48e)][_0x2e7592(0x249)](this[_0x2e7592(0x45a)]);if(_0x3b2b32[_0x2e7592(0x3aa)]<_0x204536-0x1)return this;if(this['_checkMissing'](_0x3b2b32))return this['_injector'][_0x2e7592(0x496)](Q,this['unitID'],this[_0x2e7592(0x29e)],null,[],this[_0x2e7592(0x4de)],[],this['_handler']);this[_0x2e7592(0x2e9)]();const _0x2cb23e=this[_0x2e7592(0x333)][_0x2e7592(0x496)](ye,this[_0x2e7592(0x45a)],this['type'],this['_handler']);return _0x2cb23e[_0x2e7592(0x352)](),_0x2cb23e;}['onRemoteRej'](_0x17d1bb){var _0x31b7e7=_0x24eaf7;return this[_0x31b7e7(0x4b1)](!!(_0x17d1bb!=null&&_0x17d1bb[_0x31b7e7(0x36a)]));}[_0x24eaf7(0x3bc)](_0xa6e677){var _0x4ff7d5=_0x24eaf7;return this[_0x4ff7d5(0x383)]>Ii?this[_0x4ff7d5(0x44f)]():(this[_0x4ff7d5(0x3f4)]=Si(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0xa6e677['reqId']}),this['_sender']=this['_resendTimer'][_0x4ff7d5(0x3d6)](({reqId:_0x353238,timeout:_0x5e385b})=>{var _0x1fafa3=_0x4ff7d5;this[_0x1fafa3(0x42c)](_0x353238,_0x5e385b);}),this);}[_0x24eaf7(0x44f)](){var _0x1691ee=_0x24eaf7;return this[_0x1691ee(0x26c)](),this['_injector']['createInstance'](ue,this[_0x1691ee(0x45a)],this[_0x1691ee(0x29e)],this[_0x1691ee(0x4de)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x24eaf7(0x268)](){var _0x1594c7=_0x24eaf7;this[_0x1594c7(0x4b5)][_0x1594c7(0x3e5)](this[_0x1594c7(0x4de)]);}[_0x24eaf7(0x4b1)](_0x443fc4){var _0xba3b30=_0x24eaf7;return this[_0xba3b30(0x26c)](),this[_0xba3b30(0x333)][_0xba3b30(0x496)](le,this[_0xba3b30(0x45a)],this[_0xba3b30(0x29e)],this[_0xba3b30(0x4de)],[],this[_0xba3b30(0x4b5)],_0x443fc4);}[_0x24eaf7(0x42c)](_0x2e399f,_0x1a501d){var _0x230dd4=_0x24eaf7,_0x577d55;_0x2e399f===((_0x577d55=this['_awaitingChangeset'])==null?void 0x0:_0x577d55['reqId'])&&(this[_0x230dd4(0x268)](),this[_0x230dd4(0x383)]=_0x1a501d===0x0?0x3e8:_0x1a501d*0x2);}['_clearScheduledTask'](){var _0x1e0772=_0x24eaf7,_0x3f68b4;(_0x3f68b4=this[_0x1e0772(0x37a)])==null||_0x3f68b4[_0x1e0772(0x1ff)](),this['_resendTimeout']=0x0;}};_e=Ee([P(0x4,_0x9aa2f(_0x1476f5)),P(0x5,_0x9aa2f(_0x2e4803)),P(0x6,_0x671f23),P(0x7,_0x1b7032),P(0x8,_0x3cd486),P(0x9,_0x593fd4),P(0xa,_0x2bef5d(J))],_e);let ae=class extends Ie{constructor(_0x3f75e4,_0x34e57c,_0xbcb219,_0x64e5c6,_0x407a99,_0x185e17,_0x996b0a,_0x532fd3,_0x4b78b1,_0x53bfc6,_0x428d81,_0xe3f88a,_0xc48c68){var _0x5721c7=_0x24eaf7;super(_0x3f75e4,_0x34e57c,_0xbcb219,_0x64e5c6,_0x407a99,_0x4b78b1,_0xe3f88a,_0x532fd3,_0xc48c68),N(this,_0x5721c7(0x395),_0x5721c7(0x470)),N(this,_0x5721c7(0x383),0x0),N(this,'_resendTimer'),N(this,_0x5721c7(0x37a)),(this[_0x5721c7(0x333)]=_0x996b0a,this[_0x5721c7(0x40e)]=_0x53bfc6,this[_0x5721c7(0x2ce)]=_0x428d81,this[_0x5721c7(0x41d)]=_0xc48c68,_0x185e17&&(this[_0x5721c7(0x3f4)]=_0x185e17,this[_0x5721c7(0x37a)]=this[_0x5721c7(0x3f4)][_0x5721c7(0x3d6)](({reqId:_0x22fd19,timeout:_0x13c714})=>{var _0x1dc9ae=_0x5721c7;this[_0x1dc9ae(0x42c)](_0x22fd19,_0x13c714);})));}[_0x24eaf7(0x369)](_0x32df33){var _0xc8d8f6=_0x24eaf7;return this[_0xc8d8f6(0x245)][_0xc8d8f6(0x3b0)](_0x32df33),this;}[_0x24eaf7(0x44a)](_0x4550f1){var _0x40425b=_0x24eaf7;if(this[_0x40425b(0x4df)](_0x4550f1))return this[_0x40425b(0x26c)](),this[_0x40425b(0x333)][_0x40425b(0x496)](Q,this[_0x40425b(0x45a)],this['type'],this[_0x40425b(0x4de)],this[_0x40425b(0x245)],null,[_0x4550f1],this['_handler']);try{const _0xabba19=this['_transformService'][_0x40425b(0x2dd)]([_0x4550f1],[this[_0x40425b(0x4de)]],!0x1);if(_0x365f58(_0xabba19)){const {c1Prime:_0x1e6fbb,c2Prime:_0x388620}=_0xabba19,_0x21f64b=this['_transformService']['transformMutationsWithChangeset'](_0x1e6fbb[0x0],this[_0x40425b(0x245)]);if(_0x33dd3c(_0x21f64b)){const {c1Prime:_0x572e72,m2Prime:_0x57feb}=_0x21f64b;return this[_0x40425b(0x47c)](_0x572e72),_0x388620[0x0][_0x40425b(0x33d)]=this[_0x40425b(0x4d3)](),this[_0x40425b(0x26c)](),this[_0x40425b(0x333)][_0x40425b(0x496)](ae,this[_0x40425b(0x45a)],this[_0x40425b(0x29e)],_0x388620[0x0],_0x57feb,this[_0x40425b(0x4b5)],void 0x0);}throw _0x21f64b[_0x40425b(0x2a4)];}throw _0xabba19[_0x40425b(0x2a4)];}catch(_0x5e3a9d){return this[_0x40425b(0x40e)][_0x40425b(0x2a4)](_0x5e3a9d),this['_onConflict'](!0x1);}}[_0x24eaf7(0x3ff)](_0x1c4e5e){var _0x155fe3=_0x24eaf7;if(this[_0x155fe3(0x26c)](),this[_0x155fe3(0x4df)](_0x1c4e5e))return this[_0x155fe3(0x333)][_0x155fe3(0x496)](Q,this['unitID'],this['type'],null,this[_0x155fe3(0x245)],this[_0x155fe3(0x4de)],[],this[_0x155fe3(0x4b5)]);this[_0x155fe3(0x2e9)]();const _0xc25d1f=this[_0x155fe3(0x333)][_0x155fe3(0x496)](re,this[_0x155fe3(0x45a)],this[_0x155fe3(0x29e)],this[_0x155fe3(0x245)],this[_0x155fe3(0x4b5)]);return _0xc25d1f['_schedule'](),_0xc25d1f[_0x155fe3(0x352)](),_0xc25d1f;}['onRemoteRej'](_0x2ef26a){var _0x3d048b=_0x24eaf7;return this[_0x3d048b(0x4b1)](!!(_0x2ef26a!=null&&_0x2ef26a[_0x3d048b(0x36a)]));}[_0x24eaf7(0x3bc)](_0x28363d){var _0x1a01db=_0x24eaf7;return this[_0x1a01db(0x383)]>Ii?this['toggleOffline']():(this['_resendTimer']=Si(this[_0x1a01db(0x383)],{'timeout':this[_0x1a01db(0x383)],'reqId':_0x28363d[_0x1a01db(0x3f9)]}),this[_0x1a01db(0x37a)]=this['_resendTimer'][_0x1a01db(0x3d6)](({reqId:_0x487627,timeout:_0x10a91a})=>{this['_resendWithTimeout'](_0x487627,_0x10a91a);}),this);}['toggleOffline'](){var _0xd6d1e0=_0x24eaf7;return this[_0xd6d1e0(0x26c)](),this[_0xd6d1e0(0x333)][_0xd6d1e0(0x496)](ue,this[_0xd6d1e0(0x45a)],this[_0xd6d1e0(0x29e)],this[_0xd6d1e0(0x4de)],this[_0xd6d1e0(0x245)],this['_handler']);}[_0x24eaf7(0x3a7)](){return this;}['resend'](){var _0x5d578a=_0x24eaf7;this[_0x5d578a(0x4b5)]['onSendChangeset'](this[_0x5d578a(0x4de)]);}[_0x24eaf7(0x4b1)](_0x1d5dfc){var _0x3ef971=_0x24eaf7;return this['_clearScheduledTask'](),this['_injector']['createInstance'](le,this[_0x3ef971(0x45a)],this[_0x3ef971(0x29e)],null,this[_0x3ef971(0x245)],this[_0x3ef971(0x4b5)],_0x1d5dfc);}['_resendWithTimeout'](_0x503e10,_0x2fd983){var _0x5b88d5=_0x24eaf7,_0x2ae4bc;_0x503e10===((_0x2ae4bc=this['_awaitingChangeset'])==null?void 0x0:_0x2ae4bc[_0x5b88d5(0x3f9)])&&(this['resend'](),this[_0x5b88d5(0x383)]=_0x2fd983===0x0?0x3e8:_0x2fd983*0x2);}[_0x24eaf7(0x26c)](){var _0x3fa72f=_0x24eaf7,_0x24eaa8;(_0x24eaa8=this[_0x3fa72f(0x37a)])==null||_0x24eaa8[_0x3fa72f(0x1ff)](),this[_0x3fa72f(0x383)]=0x0;}};ae=Ee([P(0x6,_0x9aa2f(_0x1476f5)),P(0x7,_0x9aa2f(_0x2e4803)),P(0x8,_0x671f23),P(0x9,_0x1b7032),P(0xa,_0x3cd486),P(0xb,_0x593fd4),P(0xc,_0x2bef5d(J))],ae);let le=class extends Ie{constructor(_0x478d2e,_0x10afaf,_0x4bf26d,_0x32f2b3,_0x63510a,_0x4413e3=!0x1,_0x3b16e3,_0x39a3c7,_0x198f63,_0x4a154b,_0x190d18,_0xccba15,_0x876697){var _0x1ea5ea=_0x24eaf7;super(_0x478d2e,_0x10afaf,_0x4bf26d,_0x32f2b3,_0x63510a,_0x39a3c7,_0x198f63,_0x4a154b,_0x876697),N(this,'status',_0x1ea5ea(0x2c0)),(this[_0x1ea5ea(0x2b1)]=_0x4413e3,this['_permissionService']=_0x3b16e3,this[_0x1ea5ea(0x27f)]=_0x190d18,this[_0x1ea5ea(0x29a)]=_0xccba15,this['localCacheService']=_0x876697,this[_0x1ea5ea(0x2c1)](),this[_0x1ea5ea(0x3e2)](),this['_disableEditing']());}[_0x24eaf7(0x369)](){return this;}[_0x24eaf7(0x44a)](){return this;}[_0x24eaf7(0x3ff)](){return this;}[_0x24eaf7(0x4dc)](){return this;}[_0x24eaf7(0x3bc)](){return this;}[_0x24eaf7(0x44f)](){return this;}[_0x24eaf7(0x3a7)](){return this;}[_0x24eaf7(0x268)](){var _0x2182df=_0x24eaf7;throw new Error(_0x2182df(0x257));}[_0x24eaf7(0x3e2)](){var _0x255793=_0x24eaf7,_0x50eb01;(_0x50eb01=this[_0x255793(0x401)])==null||_0x50eb01[_0x255793(0x272)](this[_0x255793(0x45a)],this[_0x255793(0x29e)],null,[]);}['_showConflictNotification'](){var _0x920fbb=_0x24eaf7;this[_0x920fbb(0x2b1)]?this[_0x920fbb(0x29a)][_0x920fbb(0x30e)]({'id':ne[_0x920fbb(0x1f4)]}):this[_0x920fbb(0x29a)]['emitEvent']({'id':ne[_0x920fbb(0x42e)]});}['_disableEditing'](){var _0x1c4399=_0x24eaf7;this[_0x1c4399(0x203)][_0x1c4399(0x452)](new _0x2cbff5(this[_0x1c4399(0x45a)])['id'],!0x1);}};le=Ee([P(0x6,_0x9aa2f(_0x333e7c)),P(0x7,_0x671f23),P(0x8,_0x593fd4),P(0x9,_0x9aa2f(_0x2e4803)),P(0xa,_0x9aa2f(_0x154b35)),P(0xb,_0x9aa2f(ve)),P(0xc,_0x2bef5d(J))],le);let ue=class extends Ie{constructor(_0x39a5a2,_0x5f1592,_0x458c20,_0x93cf4d,_0x2b1bd6,_0x1d9298,_0x22c978,_0x35e483,_0x4ee0bb,_0x762b6c){var _0x31f158=_0x24eaf7;super(_0x39a5a2,_0x5f1592,_0x458c20,_0x93cf4d,_0x2b1bd6,_0x35e483,_0x4ee0bb,_0x22c978,_0x762b6c),N(this,_0x31f158(0x395),_0x31f158(0x2fa)),this[_0x31f158(0x333)]=_0x1d9298;}[_0x24eaf7(0x369)](_0x1a0b60){var _0xedc7b3=_0x24eaf7;return this['_pendingMutations']['push'](_0x1a0b60),this[_0xedc7b3(0x352)](),this;}[_0x24eaf7(0x44a)](_0x3092ce){var _0x1e406e=_0x24eaf7;throw new Error(_0x1e406e(0x297));}[_0x24eaf7(0x3ff)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0xb6c63f=_0x24eaf7;throw new Error(_0xb6c63f(0x258));}[_0x24eaf7(0x3bc)](){return this;}[_0x24eaf7(0x44f)](){return this;}[_0x24eaf7(0x3a7)](){var _0x4f07ea=_0x24eaf7;const {_injector:_0x441e71,_pendingMutations:_0x133bee,_awaitingChangeset:_0x21789f,unitID:_0x987e7,_handler:_0x3bbcdf,type:_0x496512}=this,_0x4485b8=Ti(_0x441e71,_0x987e7,_0x496512,_0x21789f,_0x133bee,_0x3bbcdf);return _0x4485b8 instanceof re?_0x4485b8[_0x4f07ea(0x2f4)]():(_0x4485b8 instanceof ae||_0x4485b8 instanceof _e)&&_0x4485b8[_0x4f07ea(0x268)](),_0x4485b8;}[_0x24eaf7(0x268)](){var _0x305e99=_0x24eaf7;throw new Error(_0x305e99(0x285));}};ue=Ee([P(0x5,_0x9aa2f(_0x1476f5)),P(0x6,_0x9aa2f(_0x2e4803)),P(0x7,_0x671f23),P(0x8,_0x593fd4),P(0x9,_0x2bef5d(J))],ue);let Q=class extends Ie{constructor(_0x3185ea,_0x3c0526,_0x4d89b2,_0x215658,_0x5237b2,_0x90b116,_0x373e76,_0x2fffd4,_0x7b540f,_0x3adbe6,_0x53d9ff,_0x85d810,_0x5b4abf,_0x323716){var _0x44c832=_0x24eaf7;super(_0x3185ea,_0x3c0526,_0x4d89b2,_0x215658,_0x373e76,_0x53d9ff,_0x85d810,_0x7b540f,_0x323716),N(this,_0x44c832(0x395),'fetch_missing'),(this[_0x44c832(0x378)]=_0x5237b2,this[_0x44c832(0x456)]=_0x90b116,this[_0x44c832(0x333)]=_0x2fffd4,this[_0x44c832(0x40e)]=_0x3adbe6,this[_0x44c832(0x2ce)]=_0x5b4abf,this[_0x44c832(0x41d)]=_0x323716);}[_0x24eaf7(0x3c6)](_0x261231){var _0x2e500b=_0x24eaf7;try{const _0x53f357=[..._0x261231,...this[_0x2e500b(0x456)]],_0x1236dc=[this['_awaitingChangeset']||this[_0x2e500b(0x378)]][_0x2e500b(0x266)](_0x24ea1c=>!!_0x24ea1c);let _0x562f68,_0x2f5ca9;if(_0x1236dc[_0x2e500b(0x3a8)]){const _0x2cf436=this[_0x2e500b(0x2ce)][_0x2e500b(0x2dd)](_0x53f357,_0x1236dc,!0x1);if(!_0x365f58(_0x2cf436))throw _0x2cf436[_0x2e500b(0x2a4)];_0x562f68=_0x2cf436[_0x2e500b(0x479)],_0x2f5ca9=_0x2cf436['c2Prime'];}else _0x562f68=_0x53f357,_0x2f5ca9=[];let _0x6ccc0b=this['_pendingMutations'];_0x562f68[_0x2e500b(0x3c2)](_0x2f9828=>{var _0x20353c=_0x2e500b;let _0x55a142;if(_0x6ccc0b['length']){const _0x20ec0b=this['_transformService'][_0x20353c(0x36d)](_0x2f9828,_0x6ccc0b);if(!_0x33dd3c(_0x20ec0b))throw _0x20ec0b[_0x20353c(0x2a4)];_0x55a142=_0x20ec0b[_0x20353c(0x479)],_0x6ccc0b=_0x20ec0b[_0x20353c(0x354)];}else _0x55a142=_0x2f9828;this[_0x20353c(0x47c)](_0x55a142);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x2e500b(0x4de)]&&_0x2f5ca9[_0x2e500b(0x3a8)]&&(_0x2f5ca9[0x0]['baseRev']=this[_0x2e500b(0x4d3)]());let _0x3f460d;if(this[_0x2e500b(0x4de)]&&_0x6ccc0b[_0x2e500b(0x3a8)]!==0x0)_0x3f460d=this['_injector'][_0x2e500b(0x496)](ae,this['unitID'],this[_0x2e500b(0x29e)],_0x2f5ca9[0x0],_0x6ccc0b,this[_0x2e500b(0x4b5)],void 0x0);else{if(this[_0x2e500b(0x4de)]&&_0x6ccc0b[_0x2e500b(0x3a8)]===0x0)_0x2f5ca9[0x0][_0x2e500b(0x33d)]=this[_0x2e500b(0x4d3)](),_0x3f460d=this[_0x2e500b(0x333)][_0x2e500b(0x496)](_e,this[_0x2e500b(0x45a)],this['type'],_0x2f5ca9[0x0],this[_0x2e500b(0x4b5)]);else{if(_0x6ccc0b[_0x2e500b(0x3a8)]!==0x0){const _0x52737d=this[_0x2e500b(0x333)][_0x2e500b(0x496)](re,this[_0x2e500b(0x45a)],this[_0x2e500b(0x29e)],_0x6ccc0b,this['_handler']);_0x52737d[_0x2e500b(0x2f4)](),_0x3f460d=_0x52737d;}else _0x3f460d=this['_injector'][_0x2e500b(0x496)](ye,this[_0x2e500b(0x45a)],this[_0x2e500b(0x29e)],this[_0x2e500b(0x4b5)]);}}return _0x3f460d[_0x2e500b(0x352)](),_0x3f460d;}catch(_0x315411){return this['_logService'][_0x2e500b(0x2a4)](_0x2e500b(0x39b),_0x2e500b(0x2c8),_0x315411),this['_injector'][_0x2e500b(0x496)](le,this[_0x2e500b(0x45a)],this[_0x2e500b(0x29e)],this[_0x2e500b(0x4de)],this['_pendingMutations'],this[_0x2e500b(0x4b5)],!0x1);}}[_0x24eaf7(0x268)](){var _0xb81804=_0x24eaf7;throw new Error(_0xb81804(0x339));}[_0x24eaf7(0x369)](_0x571eb6){var _0xfb0e44=_0x24eaf7;return this[_0xfb0e44(0x245)][_0xfb0e44(0x3b0)](_0x571eb6),this;}[_0x24eaf7(0x44a)](_0x34d585){var _0x1c04bf=_0x24eaf7;return this[_0x1c04bf(0x456)][_0x1c04bf(0x3b0)](_0x34d585),this;}[_0x24eaf7(0x3ff)](_0x53750c){var _0x3be638=_0x24eaf7;if(this[_0x3be638(0x4de)])return this[_0x3be638(0x378)]=this[_0x3be638(0x4de)],this[_0x3be638(0x4de)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x24eaf7(0x4dc)](_0x2bbea3){var _0x440918=_0x24eaf7;return this[_0x440918(0x4b1)](!!(_0x2bbea3!=null&&_0x2bbea3[_0x440918(0x36a)]));}[_0x24eaf7(0x3bc)](){return this;}[_0x24eaf7(0x44f)](){var _0x1ae054=_0x24eaf7;return this[_0x1ae054(0x333)]['createInstance'](ue,this['unitID'],this[_0x1ae054(0x29e)],this[_0x1ae054(0x4de)],this[_0x1ae054(0x245)],this[_0x1ae054(0x4b5)]);}[_0x24eaf7(0x3a7)](){return this;}[_0x24eaf7(0x4b1)](_0x33f844){var _0x477381=_0x24eaf7;return this[_0x477381(0x333)]['createInstance'](le,this[_0x477381(0x45a)],this[_0x477381(0x29e)],this[_0x477381(0x4de)],this[_0x477381(0x245)],this[_0x477381(0x4b5)],_0x33f844);}};Q=Ee([P(0x7,_0x9aa2f(_0x1476f5)),P(0x8,_0x9aa2f(_0x2e4803)),P(0x9,_0x1b7032),P(0xa,_0x671f23),P(0xb,_0x593fd4),P(0xc,_0x3cd486),P(0xd,_0x2bef5d(J))],Q);function Ti(_0x282e36,_0x4b7d90,_0x2a2a1f,_0x2dd474,_0x2bfbb2,_0x3cb83c){var _0xba6991=_0x24eaf7;return _0x2dd474&&_0x2bfbb2[_0xba6991(0x3a8)]?_0x282e36[_0xba6991(0x496)](ae,_0x4b7d90,_0x2a2a1f,_0x2dd474,_0x2bfbb2,_0x3cb83c,void 0x0):_0x2dd474?_0x282e36[_0xba6991(0x496)](_e,_0x4b7d90,_0x2a2a1f,_0x2dd474,_0x3cb83c):_0x2bfbb2['length']?_0x282e36[_0xba6991(0x496)](re,_0x4b7d90,_0x2a2a1f,_0x2bfbb2,_0x3cb83c):_0x282e36[_0xba6991(0x496)](ye,_0x4b7d90,_0x2a2a1f,_0x3cb83c);}var Bs=Object[_0x24eaf7(0x346)],wt=(_0x1d11ed,_0x2909c2,_0x16af43,_0x2c980d)=>{var _0x22e1a7=_0x24eaf7;for(var _0x126877=_0x2c980d>0x1?void 0x0:_0x2c980d?Bs(_0x2909c2,_0x16af43):_0x2909c2,_0x3a4786=_0x1d11ed[_0x22e1a7(0x3a8)]-0x1,_0x4c7d2c;_0x3a4786>=0x0;_0x3a4786--)(_0x4c7d2c=_0x1d11ed[_0x3a4786])&&(_0x126877=_0x4c7d2c(_0x126877)||_0x126877);return _0x126877;},H=(_0x5caa01,_0x4c5956)=>(_0x1ad681,_0x370454)=>_0x4c5956(_0x1ad681,_0x370454,_0x5caa01);let st=class extends _0x249e4b{constructor(_0x1b9daa,_0x1b11b8,_0x2470af,_0x3159fa,_0x2df1e5,_0x2ce32a,_0x141cea,_0x22d561,_0x48e7b0,_0x4d90a1,_0x10aaf5,_0x40dbc0,_0x2d86dd){var _0x126d83=_0x24eaf7;super(),N(this,'_state$',new _0x59a042(null)),N(this,_0x126d83(0x20a),this[_0x126d83(0x45c)]['asObservable']()),N(this,_0x126d83(0x2c7)),N(this,'_collaborationPaused',!0x1),N(this,_0x126d83(0x244),''),N(this,_0x126d83(0x39d),0x0),N(this,_0x126d83(0x334),this[_0x126d83(0x20a)][_0x126d83(0x474)](_0x2e2f28(_0x5aee65=>_0x5aee65?_0x5aee65['status']:Ei['OFFLINE']),_0x1ed8b0(0x1))),N(this,_0x126d83(0x440),!0x1),N(this,_0x126d83(0x2e8),[]),(this['unitID']=_0x1b9daa,this[_0x126d83(0x2e3)]=_0x1b11b8,this['_type']=_0x2470af,this[_0x126d83(0x333)]=_0x3159fa,this[_0x126d83(0x270)]=_0x2df1e5,this[_0x126d83(0x27f)]=_0x2ce32a,this[_0x126d83(0x48e)]=_0x141cea,this['_eventService']=_0x22d561,this[_0x126d83(0x40e)]=_0x48e7b0,this['_commandService']=_0x4d90a1,this[_0x126d83(0x203)]=_0x10aaf5,this[_0x126d83(0x377)]=_0x40dbc0,this[_0x126d83(0x401)]=_0x2d86dd);}get[_0x24eaf7(0x26a)](){var _0x44701d=_0x24eaf7;return this[_0x44701d(0x2c7)];}async[_0x24eaf7(0x3be)](){var _0x3d26ba=_0x24eaf7;if(this['state'])throw new Error(_0x3d26ba(0x38e));await this[_0x3d26ba(0x2a1)]();}[_0x24eaf7(0x49a)](){var _0x56b887=_0x24eaf7;return this[_0x56b887(0x29c)]=!0x0,_0x3c5dcf(()=>{var _0x4184fc=_0x56b887;this[_0x4184fc(0x29c)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x24eaf7(0x3d5)](_0xd055ff){var _0x814b50=_0x24eaf7;this[_0x814b50(0x37c)](_0xd055ff);}[_0x24eaf7(0x303)](_0xab5aa0){var _0x55bf32=_0x24eaf7;this[_0x55bf32(0x2c7)]=_0xab5aa0,this[_0x55bf32(0x45c)][_0x55bf32(0x3b5)](_0xab5aa0);}async['_init'](){var _0x3e952c=_0x24eaf7,_0x470774;this[_0x3e952c(0x303)](await this[_0x3e952c(0x3ba)]()),this[_0x3e952c(0x377)]&&((_0x470774=this[_0x3e952c(0x377)])==null||_0x470774[_0x3e952c(0x3ce)](this[_0x3e952c(0x45a)]),this[_0x3e952c(0x36f)](this[_0x3e952c(0x377)][_0x3e952c(0x41e)](this[_0x3e952c(0x45a)])[_0x3e952c(0x3d6)](_0x45a80b=>{var _0x4edb14=_0x3e952c;this[_0x4edb14(0x40e)]['debug'](_0x4edb14(0x31e),_0x4edb14(0x49f),_0x45a80b),_0x45a80b===gi[_0x4edb14(0x36e)]?(this['_eventService'][_0x4edb14(0x30e)]({'id':ne[_0x4edb14(0x236)]}),this[_0x4edb14(0x203)][_0x4edb14(0x452)](new _0x2cbff5(this['unitID'])['id'],!0x1),this[_0x4edb14(0x203)]['setShowComponents'](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x2cbff5(this[_0x4edb14(0x45a)])['id'],!0x0),this[_0x4edb14(0x203)][_0x4edb14(0x4b8)](!0x0));})));let _0x1b3152=!0x1;return this[_0x3e952c(0x36f)](this[_0x3e952c(0x2e3)]['sessionStatus$'][_0x3e952c(0x3d6)](_0x1f9401=>{var _0x9acf34=_0x3e952c;_0x1f9401===ge['ONLINE']?this[_0x9acf34(0x3b8)](_0x1b3152):_0x1f9401===ge[_0x9acf34(0x4a8)]&&(_0x1b3152=!0x0,this[_0x9acf34(0x3df)]());})),this[_0x3e952c(0x36f)](this['session'][_0x3e952c(0x488)][_0x3e952c(0x3d6)](_0x1011bf=>{var _0x294b81=_0x3e952c;try{switch(_0x1011bf[_0x294b81(0x387)]){case _0x27484d[_0x294b81(0x357)]:{this['_onRemoteChangeset'](_0x1af8d0(_0x1011bf[_0x294b81(0x438)]));break;}case _0x27484d['CHANGESET_ACK']:{this[_0x294b81(0x2ee)](_0x1011bf['data']);break;}case _0x27484d['CHANGESET_REJ']:{this[_0x294b81(0x226)]();break;}case _0x27484d['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x1011bf[_0x294b81(0x438)]);break;}case _0x27484d[_0x294b81(0x25a)]:{this[_0x294b81(0x220)](_0x1011bf[_0x294b81(0x438)][_0x294b81(0x277)]['map'](_0x192649=>_0x1af8d0(_0x192649)));break;}case _0x27484d[_0x294b81(0x273)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x27484d[_0x294b81(0x3c7)]:break;}}catch(_0x5cc7e4){throw console[_0x294b81(0x2a4)](_0x294b81(0x32d),_0x5cc7e4),_0x5cc7e4;}})),this[_0x3e952c(0x2c7)];}['_unlockTransition'](){var _0x418017=_0x24eaf7;this[_0x418017(0x440)]=!0x1;}['_lockTransition'](){var _0x454538=_0x24eaf7;if(this[_0x454538(0x440)])throw new Error(_0x454538(0x296));this[_0x454538(0x440)]=!0x0;}[_0x24eaf7(0x37c)](_0x5f35c3){var _0x375093=_0x24eaf7;this[_0x375093(0x444)](),this['_updateState'](this[_0x375093(0x2c7)]['appendMutation'](_0x5f35c3)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x3a35c2){var _0x366e43=_0x24eaf7;if(!(_0x3a35c2[_0x366e43(0x3aa)]<=this[_0x366e43(0x48e)][_0x366e43(0x249)](this['unitID']))){if(this['_collaborationPaused']){this[_0x366e43(0x2e8)][_0x366e43(0x3b0)](_0x3a35c2);return;}this[_0x366e43(0x294)](_0x3a35c2);}}[_0x24eaf7(0x260)](){var _0x408d40=_0x24eaf7;this[_0x408d40(0x2e8)]['forEach'](_0x1b3540=>this['_applyRemoteChangeset'](_0x1b3540)),this[_0x408d40(0x2e8)]=[];}['_applyRemoteChangeset'](_0x4833aa){var _0xd0f0e6=_0x24eaf7;const _0x3d3339=this[_0xd0f0e6(0x270)][_0xd0f0e6(0x31c)][_0xd0f0e6(0x33c)](this['_compressMutationService'][_0xd0f0e6(0x31c)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x4833aa[_0xd0f0e6(0x1f5)],null)||_0x4833aa['mutations'],_0x511f8f={..._0x4833aa,'mutations':_0x3d3339};this[_0xd0f0e6(0x444)](),this[_0xd0f0e6(0x303)](this[_0xd0f0e6(0x2c7)]['onRemoteChangeset'](_0x511f8f)),this[_0xd0f0e6(0x2d7)]();}[_0x24eaf7(0x2ee)](_0x2f79e8){var _0x5cf567=_0x24eaf7;this['_lockTransition'](),this[_0x5cf567(0x303)](this[_0x5cf567(0x2c7)][_0x5cf567(0x3ff)](_0x2f79e8)),this['_unlockTransition']();}[_0x24eaf7(0x226)](_0x1e1934){var _0x3561ca=_0x24eaf7;this[_0x3561ca(0x444)](),this[_0x3561ca(0x303)](this[_0x3561ca(0x2c7)][_0x3561ca(0x4dc)](_0x1e1934)),this['_unlockTransition']();}[_0x24eaf7(0x228)](_0x54c280){var _0x25cee1=_0x24eaf7;this[_0x25cee1(0x444)](),this['_updateState'](this['_state'][_0x25cee1(0x3bc)](_0x54c280)),this[_0x25cee1(0x2d7)]();}[_0x24eaf7(0x220)](_0x5be8cd){var _0x51da79=_0x24eaf7;if(!(this[_0x51da79(0x2c7)]instanceof Q))throw new TypeError(_0x51da79(0x1e7));const _0x3e4a70=_0x5be8cd[_0x51da79(0x208)](_0x20d88f=>{var _0x5485d8=_0x51da79;const _0x254b5b=this[_0x5485d8(0x270)][_0x5485d8(0x31c)][_0x5485d8(0x33c)](this[_0x5485d8(0x270)][_0x5485d8(0x31c)]['getInterceptPoints']()[_0x5485d8(0x321)])(_0x20d88f[_0x5485d8(0x1f5)],null)||_0x20d88f[_0x5485d8(0x1f5)];return{..._0x20d88f,'mutations':_0x254b5b};});this[_0x51da79(0x444)](),this[_0x51da79(0x303)](this[_0x51da79(0x2c7)]['onMissedChangesetFetched'](_0x3e4a70)),this['_unlockTransition']();}[_0x24eaf7(0x3df)](){var _0x44c41a=_0x24eaf7;this[_0x44c41a(0x444)](),this['_updateState'](this[_0x44c41a(0x2c7)][_0x44c41a(0x44f)]()),this[_0x44c41a(0x2d7)]();}[_0x24eaf7(0x3b8)](_0x1c239e=!0x1){var _0x105f8a=_0x24eaf7;this[_0x105f8a(0x444)](),this['_updateState'](this['_state'][_0x105f8a(0x3a7)]()),this[_0x105f8a(0x2d7)]();const _0x5c5ea5=this[_0x105f8a(0x2c7)];_0x1c239e&&_0x5c5ea5 instanceof ye&&(this[_0x105f8a(0x444)](),this[_0x105f8a(0x303)](_0x5c5ea5['fetchMiss']()),this[_0x105f8a(0x2d7)]());}async['_createInitialState'](){return new Promise(_0x2c2be4=>{var _0xe33be2=_0x4e9c;this[_0xe33be2(0x2e3)][_0xe33be2(0x337)]['pipe'](_0x25e472(0x1))['subscribe'](async _0x268936=>{var _0x97e487=_0xe33be2;_0x2c2be4(await this['_createInitialStateImpl'](_0x268936===ge[_0x97e487(0x3fa)]));});});}['_createHandler'](){var _0x2123f0=_0x24eaf7;const _0x553f8e=this[_0x2123f0(0x45a)];return{'onStateChange':(_0x2e492c,_0x4cf462)=>{var _0x5829a2=_0x2123f0;if(_0x2e492c!==this[_0x5829a2(0x2c7)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2e492c[_0x5829a2(0x395)]+_0x5829a2(0x365)+_0x4cf462[_0x5829a2(0x395)]+_0x5829a2(0x419)+this['_state']['status']);this['_updateState'](_0x4cf462);},'onSendChangeset':_0x29a742=>{var _0x1d1ae7=_0x2123f0;_0x29a742[_0x1d1ae7(0x344)]||(_0x29a742[_0x1d1ae7(0x344)]=this[_0x1d1ae7(0x244)],_0x29a742['reqId']=++this[_0x1d1ae7(0x39d)]);const _0x5f2232={'eventID':_0x27484d[_0x1d1ae7(0x2db)],'data':{'unitID':_0x29a742[_0x1d1ae7(0x45a)],'unitType':this[_0x1d1ae7(0x413)],'changeset':_0x29a742,'memberID':this[_0x1d1ae7(0x2e3)][_0x1d1ae7(0x3cf)]()}};this['session'][_0x1d1ae7(0x353)](_0x5f2232,this[_0x1d1ae7(0x45a)]);},'onMissingChangesets':({from:_0x30f2f9,to:_0x2460a6})=>{var _0x174389=_0x2123f0;this['_logService'][_0x174389(0x36c)]('[CollaborationEntity]',_0x174389(0x34e)+_0x30f2f9+_0x174389(0x42a)+_0x2460a6);const _0x324e15={'eventID':_0x27484d[_0x174389(0x4ab)],'data':{'unitID':_0x553f8e,'unitType':this[_0x174389(0x413)],'from':_0x30f2f9,'to':_0x2460a6}};this['session'][_0x174389(0x353)](_0x324e15,this['unitID']);}};}async['_createInitialStateImpl'](_0x412665){var _0x4acdd8=_0x24eaf7,_0x15d61a,_0x4ac16f,_0x56689e;const _0x3c7f0e=await((_0x15d61a=this['_localCacheService'])==null?void 0x0:_0x15d61a['loadOfflineData'](this[_0x4acdd8(0x45a)])),_0x3e89b8=(_0x4ac16f=_0x3c7f0e==null?void 0x0:_0x3c7f0e['mutations'])!=null?_0x4ac16f:[],_0x5e9b82=(_0x56689e=_0x3c7f0e==null?void 0x0:_0x3c7f0e[_0x4acdd8(0x406)])!=null?_0x56689e:null,_0x4b6944=!!(_0x5e9b82!=null&&_0x5e9b82['sid'])&&!!(_0x5e9b82!=null&&_0x5e9b82[_0x4acdd8(0x3f9)]);this[_0x4acdd8(0x244)]=_0x4b6944?_0x5e9b82['sid']:_0x2389a9(),this[_0x4acdd8(0x39d)]=_0x4b6944?_0x5e9b82[_0x4acdd8(0x3f9)]:0x0;const _0x1a76fd=this[_0x4acdd8(0x45a)];try{this['_replayCachedMutations'](_0x5e9b82,_0x3e89b8);}catch(_0x1da496){this[_0x4acdd8(0x40e)]['error'](_0x1da496);}const _0x45d8fb=this[_0x4acdd8(0x393)]();if(_0x412665){const _0x368f9f=Ti(this['_injector'],_0x1a76fd,this[_0x4acdd8(0x413)],_0x5e9b82,_0x3e89b8,_0x45d8fb);return _0x368f9f instanceof re?_0x368f9f[_0x4acdd8(0x2f4)]():(_0x368f9f instanceof ae||_0x368f9f instanceof _e)&&_0x368f9f['resend'](),_0x368f9f;}return this[_0x4acdd8(0x333)][_0x4acdd8(0x496)](ue,_0x1a76fd,this[_0x4acdd8(0x413)],_0x5e9b82,_0x3e89b8,_0x45d8fb);}[_0x24eaf7(0x332)](_0x262321,_0xb0afd0){var _0x28b3fc=_0x24eaf7,_0x148da4,_0x2c1b5a;const _0x3eb808=this['_compressMutationService'][_0x28b3fc(0x31c)][_0x28b3fc(0x33c)](this['_compressMutationService'][_0x28b3fc(0x31c)]['getInterceptPoints']()[_0x28b3fc(0x321)]);(_0x148da4=_0x3eb808((_0x262321==null?void 0x0:_0x262321[_0x28b3fc(0x1f5)])||[],null))==null||_0x148da4[_0x28b3fc(0x3c2)](_0x4bbcfb=>this[_0x28b3fc(0x24a)]['executeCommand'](_0x4bbcfb['id'],_0x4bbcfb['params'])),(_0x2c1b5a=_0x3eb808(_0xb0afd0||[],null))==null||_0x2c1b5a[_0x28b3fc(0x3c2)](_0x350eb9=>this[_0x28b3fc(0x24a)][_0x28b3fc(0x215)](_0x350eb9['id'],_0x350eb9['params']));}};st=wt([H(0x3,_0x9aa2f(_0x1476f5)),H(0x4,_0x9aa2f(_0x1ff420)),H(0x5,_0x9aa2f(_0x154b35)),H(0x6,_0x9aa2f(_0x2e4803)),H(0x7,_0x9aa2f(ve)),H(0x8,_0x1b7032),H(0x9,_0x671f23),H(0xa,_0x333e7c),H(0xb,_0x2bef5d(ht)),H(0xc,_0x2bef5d(J))],st);let St=class extends st{constructor(_0x3946aa,_0x2ba56f,_0xba2465,_0x29be73,_0x59eb1b,_0x296344,_0xd8eb5d,_0x19a05b,_0x444445,_0x506a1e,_0x5061dc,_0x1aad98,_0x28999e){var _0x7e1a99=_0x24eaf7;super(_0x3946aa,_0xba2465,_0x2ba56f,_0x29be73,_0x59eb1b,_0x296344,_0xd8eb5d,_0x19a05b,_0x444445,_0x506a1e,_0x5061dc,_0x1aad98,_0x28999e),N(this,_0x7e1a99(0x219),null),(this[_0x7e1a99(0x45a)]=_0x3946aa,this['type']=_0x2ba56f);}['addHandlerCallback'](_0x4e9227){var _0x4cfc1f=_0x24eaf7;this[_0x4cfc1f(0x219)]=_0x4e9227;}[_0x24eaf7(0x22d)](){var _0x20522f=_0x24eaf7;this[_0x20522f(0x219)]=null,super[_0x20522f(0x22d)]();}[_0x24eaf7(0x393)](){var _0x1992c0=_0x24eaf7;const _0x227148=super['_createHandler']();return _0x227148[_0x1992c0(0x43f)]=_0x472767=>{var _0x291ca8=_0x1992c0,_0x6b1f44,_0x18a623;return(_0x18a623=(_0x6b1f44=this[_0x291ca8(0x219)])==null?void 0x0:_0x6b1f44[_0x291ca8(0x43f)])==null?void 0x0:_0x18a623['call'](_0x6b1f44,_0x472767);},_0x227148[_0x1992c0(0x4cc)]=_0x3977b7=>{var _0x279570=_0x1992c0,_0x214c48,_0x5a436;return(_0x5a436=(_0x214c48=this[_0x279570(0x219)])==null?void 0x0:_0x214c48[_0x279570(0x4cc)])==null?void 0x0:_0x5a436[_0x279570(0x345)](_0x214c48,_0x3977b7);},_0x227148[_0x1992c0(0x2f0)]=_0x4a65a8=>{var _0x213eb9=_0x1992c0,_0x1531e1,_0x118d77;return(_0x118d77=(_0x1531e1=this[_0x213eb9(0x219)])==null?void 0x0:_0x1531e1['onTransformSelections'])==null?void 0x0:_0x118d77[_0x213eb9(0x345)](_0x1531e1,_0x4a65a8);},_0x227148[_0x1992c0(0x439)]=_0x5bd360=>{var _0x13a9cf=_0x1992c0,_0x1dd25d,_0x31a30f;return(_0x31a30f=(_0x1dd25d=this[_0x13a9cf(0x219)])==null?void 0x0:_0x1dd25d[_0x13a9cf(0x439)])==null?void 0x0:_0x31a30f[_0x13a9cf(0x345)](_0x1dd25d,_0x5bd360);},_0x227148['onTransformRemoteChangesetByIMECache']=_0x2461b0=>{var _0x154897=_0x1992c0,_0x2d6b39,_0x4abdcb,_0x22ec4c;if(!((_0x2d6b39=this[_0x154897(0x219)])!=null&&_0x2d6b39[_0x154897(0x448)]))throw new Error(_0x154897(0x4e4));return(_0x22ec4c=(_0x4abdcb=this[_0x154897(0x219)])==null?void 0x0:_0x4abdcb[_0x154897(0x448)])==null?void 0x0:_0x22ec4c[_0x154897(0x345)](_0x4abdcb,_0x2461b0);},_0x227148['onTransformRemoteChangesetByStateCache']=_0x5f21d3=>{var _0x52a40e=_0x1992c0,_0x1f0629,_0x3b430e,_0x73bfeb;if(!((_0x1f0629=this['_handlerCallback'])!=null&&_0x1f0629[_0x52a40e(0x367)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x73bfeb=(_0x3b430e=this['_handlerCallback'])==null?void 0x0:_0x3b430e[_0x52a40e(0x367)])==null?void 0x0:_0x73bfeb[_0x52a40e(0x345)](_0x3b430e,_0x5f21d3);},_0x227148;}async['_init'](){var _0x5e7633=_0x24eaf7;const _0x4fe5e6=await super[_0x5e7633(0x2a1)]();return this[_0x5e7633(0x36f)](this[_0x5e7633(0x24a)][_0x5e7633(0x487)]((_0x42c9cb,_0x3a14b5)=>{var _0x110911=_0x5e7633;if(_0x42c9cb[_0x110911(0x29e)]!==_0x30f9a2[_0x110911(0x24e)]||_0x3a14b5!=null&&_0x3a14b5[_0x110911(0x2ac)]||_0x3a14b5!=null&&_0x3a14b5['onlyLocal']||_0x42c9cb['id']===_0x1d6823['id'])return;const _0x4d8d17=_0x42c9cb['params'];if((_0x4d8d17==null?void 0x0:_0x4d8d17[_0x110911(0x476)])!==this[_0x110911(0x45a)])return;const _0x3b3d2c=_0x42c9cb,_0x1fb997=this[_0x110911(0x270)][_0x110911(0x31c)][_0x110911(0x33c)](this[_0x110911(0x270)][_0x110911(0x31c)][_0x110911(0x453)]()['COMPRESS_MUTATION_SEND'])([_0x3b3d2c],null)||[_0x3b3d2c];this[_0x110911(0x37c)](_0x1fb997[0x0]);})),_0x4fe5e6;}};St=wt([H(0x3,_0x9aa2f(_0x1476f5)),H(0x4,_0x9aa2f(_0x1ff420)),H(0x5,_0x9aa2f(_0x154b35)),H(0x6,_0x9aa2f(_0x2e4803)),H(0x7,_0x9aa2f(ve)),H(0x8,_0x1b7032),H(0x9,_0x671f23),H(0xa,_0x333e7c),H(0xb,_0x2bef5d(ht)),H(0xc,_0x2bef5d(J))],St);let Et=class extends st{constructor(_0x2bb121,_0x157972,_0x208560,_0x682d32,_0xeaee73,_0x5b119c,_0x232ed4,_0x1e5ad8,_0x22b2f3,_0x5ebfe0,_0x54ea87,_0x1a2255,_0x1b1c89,_0x20f346){var _0x4da538=_0x24eaf7;super(_0x2bb121,_0x208560,_0x157972,_0x682d32,_0xeaee73,_0x5b119c,_0x232ed4,_0x22b2f3,_0x5ebfe0,_0x54ea87,_0x1a2255,_0x1b1c89,_0x20f346),this[_0x4da538(0x45a)]=_0x2bb121,this[_0x4da538(0x29e)]=_0x157972,this[_0x4da538(0x417)]=_0x1e5ad8;}[_0x24eaf7(0x393)](){var _0x537cc3=_0x24eaf7;const _0x4fab1c=super[_0x537cc3(0x393)]();return _0x4fab1c[_0x537cc3(0x2f0)]=_0x212d28=>this[_0x537cc3(0x417)]['transformSelections'](_0x212d28),_0x4fab1c;}async[_0x24eaf7(0x2a1)](){var _0x392126=_0x24eaf7;const _0x2dd608=await super[_0x392126(0x2a1)]();return this['disposeWithMe'](this[_0x392126(0x24a)][_0x392126(0x487)]((_0x53489c,_0x3d3526)=>{var _0x49952d=_0x392126;if(_0x53489c[_0x49952d(0x29e)]!==_0x30f9a2[_0x49952d(0x24e)]||_0x3d3526!=null&&_0x3d3526[_0x49952d(0x2ac)]||_0x3d3526!=null&&_0x3d3526[_0x49952d(0x2e6)])return;const _0x227593=_0x53489c[_0x49952d(0x2b7)];if((_0x227593==null?void 0x0:_0x227593['unitId'])!==this[_0x49952d(0x45a)])return;const _0x394ad5=_0x53489c,_0x188df3=this['_compressMutationService'][_0x49952d(0x31c)][_0x49952d(0x33c)](this[_0x49952d(0x270)][_0x49952d(0x31c)][_0x49952d(0x453)]()['COMPRESS_MUTATION_SEND'])([_0x394ad5],null)||[_0x394ad5];this[_0x49952d(0x37c)](_0x188df3[0x0]);})),_0x2dd608;}};Et=wt([H(0x3,_0x9aa2f(_0x1476f5)),H(0x4,_0x9aa2f(_0x1ff420)),H(0x5,_0x9aa2f(_0x154b35)),H(0x6,_0x9aa2f(_0x2e4803)),H(0x7,_0x9aa2f(it)),H(0x8,_0x9aa2f(ve)),H(0x9,_0x1b7032),H(0xa,_0x671f23),H(0xb,_0x333e7c),H(0xc,_0x2bef5d(ht)),H(0xd,_0x2bef5d(J))],Et);const js=_0x4546b5('univer-pro.collaboration-client.network-condition.service');function Fs(_0x134bd9){var _0xe05c6e=_0x24eaf7,_0x4cc04f,_0x30d80a,_0xf349c6,_0x147aab,_0x26ffcf;const _0x53bdd9=_0x134bd9[_0xe05c6e(0x438)],_0x5d3116=JSON[_0xe05c6e(0x396)](_0x53bdd9);switch(_0x5d3116[_0xe05c6e(0x4bd)]){case F[_0xe05c6e(0x3ec)]:case F['HELLO']:{const _0x28fe71=_0x5d3116[_0xe05c6e(0x2d2)];return{..._0x5d3116,'data':_0x28fe71,'cmd':_0x5d3116[_0xe05c6e(0x4bd)]};}case F[_0xe05c6e(0x477)]:{const _0xf69446=_0x5d3116[_0xe05c6e(0x212)];return{..._0x5d3116,'data':_0xf69446,'cmd':_0x5d3116['cmd']};}case F[_0xe05c6e(0x3b7)]:{const _0xd53357=_0x5d3116['collaMsg'];switch(_0xd53357[_0xe05c6e(0x387)]){case _0x27484d['PERMISSION_REJ']:return{..._0x5d3116,'data':{..._0xd53357,'data':(_0x4cc04f=_0xd53357[_0xe05c6e(0x39c)])==null?void 0x0:_0x4cc04f['cs']},'cmd':_0x5d3116['cmd']};case _0x27484d['CHANGESET_ACK']:return{..._0x5d3116,'data':{..._0xd53357,'data':(_0x30d80a=_0xd53357['csAckEvent'])==null?void 0x0:_0x30d80a['cs']},'cmd':_0x5d3116['cmd']};case _0x27484d[_0xe05c6e(0x357)]:return{..._0x5d3116,'data':{..._0xd53357,'data':(_0xf349c6=_0xd53357[_0xe05c6e(0x26f)])==null?void 0x0:_0xf349c6['cs']},'cmd':_0x5d3116[_0xe05c6e(0x4bd)]};case _0x27484d[_0xe05c6e(0x2b8)]:return{..._0x5d3116,'data':{..._0xd53357,'data':(_0x147aab=_0xd53357['csRejEvent'])==null?void 0x0:_0x147aab['cs']},'cmd':_0x5d3116[_0xe05c6e(0x4bd)]};case _0x27484d[_0xe05c6e(0x358)]:return{..._0x5d3116,'data':{..._0xd53357,'data':(_0x26ffcf=_0xd53357[_0xe05c6e(0x392)])==null?void 0x0:_0x26ffcf['cs']},'cmd':_0x5d3116['cmd']};case _0x27484d[_0xe05c6e(0x399)]:return{..._0x5d3116,'data':{..._0xd53357,'data':_0xd53357['updateCursorEvent']},'cmd':_0x5d3116['cmd']};case _0x27484d[_0xe05c6e(0x374)]:return{..._0x5d3116,'data':{..._0xd53357,'data':_0xd53357[_0xe05c6e(0x497)]},'cmd':_0x5d3116['cmd']};case _0x27484d['USERS_LEAVE']:return{..._0x5d3116,'data':{..._0xd53357,'data':_0xd53357[_0xe05c6e(0x3d3)]},'cmd':_0x5d3116[_0xe05c6e(0x4bd)]};case _0x27484d[_0xe05c6e(0x3c5)]:return{..._0x5d3116,'data':{..._0xd53357,'data':_0xd53357[_0xe05c6e(0x22f)]},'cmd':_0x5d3116[_0xe05c6e(0x4bd)]};case _0x27484d['LIVESHARE_FETCH_OPERATIONS']:case _0x27484d['LIVESHARE_OPERATION']:return{..._0x5d3116,'data':{..._0xd53357,'data':_0xd53357[_0xe05c6e(0x3a2)]},'cmd':_0x5d3116[_0xe05c6e(0x4bd)]};case _0x27484d[_0xe05c6e(0x31d)]:return{..._0x5d3116,'data':{..._0xd53357,'data':_0xd53357[_0xe05c6e(0x22f)]},'cmd':_0x5d3116['cmd']};case _0x27484d['MSG_FOR_ERROR']:return{..._0x5d3116,'data':_0xd53357,'cmd':_0x5d3116[_0xe05c6e(0x4bd)]};case _0x27484d[_0xe05c6e(0x49b)]:return{..._0x5d3116,'data':{..._0xd53357,'data':_0xd53357[_0xe05c6e(0x252)]},'cmd':_0x5d3116['cmd']};case _0x27484d[_0xe05c6e(0x3a0)]:return{..._0x5d3116,'data':{..._0xd53357,'data':_0xd53357[_0xe05c6e(0x2dc)]},'cmd':_0x5d3116[_0xe05c6e(0x4bd)]};case _0x27484d[_0xe05c6e(0x41a)]:return{..._0x5d3116,'data':{..._0xd53357,'data':_0xd53357[_0xe05c6e(0x483)]},'cmd':_0x5d3116['cmd']};case _0x27484d['UNISCRIPT_RUN']:return{..._0x5d3116,'data':{..._0xd53357,'data':_0xd53357[_0xe05c6e(0x4e3)]},'cmd':_0x5d3116[_0xe05c6e(0x4bd)]};default:return _0x5d3116;}}default:return _0x5d3116;}}function Vs(_0x37170e){var _0x22dc35=_0x24eaf7;switch(_0x37170e[_0x22dc35(0x4bd)]){case F[_0x22dc35(0x3ec)]:case F[_0x22dc35(0x3fd)]:return JSON[_0x22dc35(0x4c4)]({'cmd':_0x37170e['cmd'],'routeKey':_0x37170e[_0x22dc35(0x3a3)]});case F[_0x22dc35(0x362)]:{let _0xc3ea36;switch(_0x37170e['data'][_0x22dc35(0x387)]){case _0x27484d[_0x22dc35(0x399)]:{_0xc3ea36={'eventID':_0x27484d[_0x22dc35(0x399)],'updateCursorEvent':_0x37170e[_0x22dc35(0x438)]['data']};break;}case _0x27484d[_0x22dc35(0x21b)]:{_0xc3ea36={'eventID':_0x27484d[_0x22dc35(0x21b)],'leaveEvent':_0x37170e[_0x22dc35(0x438)]['data']};break;}case _0x27484d['USERS_ENTER']:{_0xc3ea36={'eventID':_0x27484d[_0x22dc35(0x374)],'joinEvent':_0x37170e['data'][_0x22dc35(0x438)]};break;}case _0x27484d[_0x22dc35(0x3c5)]:{_0xc3ea36={'eventID':_0x27484d[_0x22dc35(0x3c5)],'liveShareNewHost':_0x37170e['data'][_0x22dc35(0x438)]};break;}case _0x27484d['LIVESHARE_OPERATION']:{_0xc3ea36={'eventID':_0x27484d[_0x22dc35(0x30b)],'liveShareOperation':_0x37170e['data'][_0x22dc35(0x438)]};break;}case _0x27484d[_0x22dc35(0x31d)]:{_0xc3ea36={'eventID':_0x27484d[_0x22dc35(0x31d)],'liveShareTerminate':_0x37170e['data'][_0x22dc35(0x438)]};break;}case _0x27484d['LIVESHARE_REQUEST_HOST']:{_0xc3ea36={'eventID':_0x27484d['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x37170e[_0x22dc35(0x438)][_0x22dc35(0x438)]};break;}case _0x27484d[_0x22dc35(0x232)]:{_0xc3ea36={'eventID':_0x27484d[_0x22dc35(0x232)]};break;}default:_0xc3ea36={'eventID':_0x37170e[_0x22dc35(0x438)]['eventID']};}return JSON['stringify']({'cmd':_0x37170e[_0x22dc35(0x4bd)],'routeKey':_0x37170e[_0x22dc35(0x3a3)],'collaMsg':_0xc3ea36});}case F[_0x22dc35(0x477)]:return JSON[_0x22dc35(0x4c4)]({'cmd':_0x37170e[_0x22dc35(0x4bd)],'routeKey':_0x37170e['routeKey'],'joinReq':_0x37170e[_0x22dc35(0x438)]});case F['LEAVE']:return JSON[_0x22dc35(0x4c4)]({'cmd':_0x37170e[_0x22dc35(0x4bd)],'routeKey':_0x37170e['routeKey'],'leaveReq':_0x37170e[_0x22dc35(0x438)]});default:throw new Error(_0x22dc35(0x269));}}var Ws=Object[_0x24eaf7(0x346)],Gs=(_0x406a14,_0x4ee4f7,_0x996169,_0x3f7f13)=>{var _0x57ff9d=_0x24eaf7;for(var _0x48256e=_0x3f7f13>0x1?void 0x0:_0x3f7f13?Ws(_0x4ee4f7,_0x996169):_0x4ee4f7,_0x4a8c24=_0x406a14[_0x57ff9d(0x3a8)]-0x1,_0x3e8ed5;_0x4a8c24>=0x0;_0x4a8c24--)(_0x3e8ed5=_0x406a14[_0x4a8c24])&&(_0x48256e=_0x3e8ed5(_0x48256e)||_0x48256e);return _0x48256e;},De=(_0x2452c4,_0x43e1e0)=>(_0x469516,_0x3a990f)=>_0x43e1e0(_0x469516,_0x3a990f,_0x2452c4);const Ci=_0x4546b5(_0x24eaf7(0x287));function Ys(_0x2e0c5f,_0x112f52,_0x2d0725){return _0x2e0c5f+'/'+_0x112f52+'/unit/'+_0x2d0725+'/new_changes';}let Gt=class extends _0x27bd64{constructor(_0x201ee3,_0x3cbaaa,_0xb2442b,_0x36b1b2,_0x17f16d){var _0x108726=_0x24eaf7;super(),this[_0x108726(0x333)]=_0x201ee3,this[_0x108726(0x314)]=_0x3cbaaa,this['_configService']=_0xb2442b,this['_logService']=_0x36b1b2,this[_0x108726(0x2d9)]=_0x17f16d;}[_0x24eaf7(0x46b)](_0x531628){var _0x169ff6=_0x24eaf7;const _0x1298ef=this['_injector'][_0x169ff6(0x42f)](_0x13b70e);if(!_0x1298ef)throw new Error(_0x169ff6(0x46e));const _0x1717c5=_0x1298ef['createSocket'](_0x531628);if(!_0x1717c5)throw new Error(_0x169ff6(0x3bf));const _0x5a2564=new _0x32bc82(),_0x2fc6ab=new _0x54f9ff();_0x5a2564[_0x169ff6(0x243)](_0x1717c5[_0x169ff6(0x3ac)]['subscribe'](_0x5d6b1a=>_0x2fc6ab[_0x169ff6(0x3b5)](_0x5d6b1a))),_0x5a2564['add'](_0x3c5dcf(()=>_0x2fc6ab[_0x169ff6(0x4ac)]()));const _0x1f8ca8=new _0x54f9ff();_0x5a2564[_0x169ff6(0x243)](_0x1717c5[_0x169ff6(0x1fd)][_0x169ff6(0x3d6)](_0x336247=>_0x1f8ca8[_0x169ff6(0x3b5)](_0x336247))),_0x5a2564[_0x169ff6(0x243)](_0x3c5dcf(()=>_0x1f8ca8[_0x169ff6(0x4ac)]()));const _0x260876=new _0x54f9ff();_0x5a2564[_0x169ff6(0x243)](_0x1717c5[_0x169ff6(0x4bf)]['subscribe'](_0x4a1634=>{var _0x15db8f=_0x169ff6;const _0x3e7019=Fs(_0x4a1634);_0x260876[_0x15db8f(0x3b5)](_0x3e7019);})),_0x5a2564[_0x169ff6(0x243)](_0x3c5dcf(()=>_0x260876[_0x169ff6(0x4ac)]()));let _0x537cfe;const _0x5e3b89=()=>{var _0x38334b=_0x169ff6;_0x1f8ca8[_0x38334b(0x3b5)](new Event('connection\x20error')),_0x2fc6ab['next'](new Event(_0x38334b(0x381))),_0x537cfe[_0x38334b(0x3e1)]();};return _0x537cfe={'memberID':'','close$':_0x2fc6ab['asObservable'](),'error$':_0x1f8ca8[_0x169ff6(0x2e2)](),'open$':_0x1717c5[_0x169ff6(0x463)],'message$':_0x260876['asObservable'](),'send':_0x57a60b=>{var _0x5cfa18=_0x169ff6;if(_0x57a60b['cmd']===F[_0x5cfa18(0x362)]){if(_0x57a60b[_0x5cfa18(0x438)]['eventID']===_0x27484d['SUBMIT_CHANGESET']){this[_0x5cfa18(0x38c)](_0x537cfe,_0x57a60b[_0x5cfa18(0x438)])[_0x5cfa18(0x3eb)](_0x3632a6=>{var _0x15a42e=_0x5cfa18;this[_0x15a42e(0x40e)][_0x15a42e(0x2a4)](_0x3632a6),_0x5e3b89();});return;}if(_0x57a60b['data'][_0x5cfa18(0x387)]===_0x27484d[_0x5cfa18(0x4ab)]){const _0xae667c=_0x57a60b[_0x5cfa18(0x438)];this['_fetchMissChangesets'](_0xae667c)[_0x5cfa18(0x282)](_0x3cbb98=>{var _0x44b1f8=_0x5cfa18;_0x260876['next']({'cmd':F['RECV'],'code':pe['OK'],'routeKey':_0xae667c[_0x44b1f8(0x438)][_0x44b1f8(0x45a)],'routeType':'','data':{'eventID':_0x27484d[_0x44b1f8(0x25a)],'data':{'changesets':_0x3cbb98}}});})[_0x5cfa18(0x3eb)](_0x373557=>{var _0x216ad6=_0x5cfa18;this[_0x216ad6(0x40e)][_0x216ad6(0x2a4)](_0x373557),_0x5e3b89();});return;}}_0x1717c5[_0x5cfa18(0x353)](Vs(_0x57a60b));},'close':()=>{var _0x2e227f=_0x169ff6;_0x1717c5[_0x2e227f(0x3e1)](),_0x5a2564[_0x2e227f(0x22d)]();}},_0x537cfe;}async[_0x24eaf7(0x38c)](_0x201d79,_0x21c36a){var _0x42d824=_0x24eaf7,_0x31b8bb;const {unitType:_0x3b9e33,unitID:_0x4d791e,changeset:_0x1baf94}=_0x21c36a[_0x42d824(0x438)],_0x1f1a6f={'unitID':_0x4d791e,'memberID':_0x201d79[_0x42d824(0x451)],'type':_0x3b9e33,'changeset':_0x4a0bbc(_0x1baf94)},_0x158393=this['_configService']['getConfig'](K),_0x230ecc=Ys((_0x31b8bb=_0x158393==null?void 0x0:_0x158393[_0x42d824(0x47b)])!=null?_0x31b8bb:Cs,_0x3b9e33,_0x4d791e);try{await this[_0x42d824(0x314)][_0x42d824(0x42b)](_0x230ecc,{'body':_0x1f1a6f});}catch(_0x3ed639){throw this[_0x42d824(0x40e)]['error'](_0x42d824(0x3dd),_0x42d824(0x441)),_0x3ed639;}}async['_fetchMissChangesets'](_0x493673){var _0x259d4f=_0x24eaf7;const {unitID:_0x187725,from:_0x34ce8b,to:_0xb4f583,unitType:_0x48b1af}=_0x493673[_0x259d4f(0x438)];return(await this['_snapshotServerService'][_0x259d4f(0x2c9)]({'metadata':void 0x0},{'unitID':_0x187725,'type':_0x48b1af,'from':_0x34ce8b,'to':_0xb4f583}))['changesets'];}};Gt=Gs([De(0x0,_0x9aa2f(_0x1476f5)),De(0x1,_0x9aa2f(_0x25bf02)),De(0x2,_0x7e8cbd),De(0x3,_0x1b7032),De(0x4,_0xbd7791)],Gt);var Ks=Object[_0x24eaf7(0x346)],qs=(_0x300f9d,_0x2d9caf,_0x3d2021,_0x488aba)=>{var _0x26a296=_0x24eaf7;for(var _0xc13ae9=_0x488aba>0x1?void 0x0:_0x488aba?Ks(_0x2d9caf,_0x3d2021):_0x2d9caf,_0x215146=_0x300f9d[_0x26a296(0x3a8)]-0x1,_0x336505;_0x215146>=0x0;_0x215146--)(_0x336505=_0x300f9d[_0x215146])&&(_0xc13ae9=_0x336505(_0xc13ae9)||_0xc13ae9);return _0xc13ae9;},Re=(_0x2c09f5,_0x2b3d68)=>(_0x3cbba3,_0x1d3caa)=>_0x2b3d68(_0x3cbba3,_0x1d3caa,_0x2c09f5);let Pe=class extends _0x27bd64{constructor(_0x48b103,_0x5a41ce,_0x1aff41,_0x271ee2,_0x9234ff,_0x3430fe){var _0x13b98d=_0x24eaf7;super(),N(this,_0x13b98d(0x251),new _0x59a042(void 0x0)),N(this,'socket$',this[_0x13b98d(0x251)][_0x13b98d(0x2e2)]()),N(this,_0x13b98d(0x2c6),null),N(this,_0x13b98d(0x231),new Map()),N(this,_0x13b98d(0x37b),new _0x59a042(ge[_0x13b98d(0x26b)])),N(this,'status$',this[_0x13b98d(0x37b)]['asObservable']()),N(this,'_socketReady',!0x1),N(this,_0x13b98d(0x4a2)),N(this,_0x13b98d(0x230),0x0),N(this,_0x13b98d(0x4b3)),N(this,_0x13b98d(0x3e7)),(this[_0x13b98d(0x333)]=_0x48b103,this[_0x13b98d(0x40e)]=_0x5a41ce,this[_0x13b98d(0x2c5)]=_0x1aff41,this[_0x13b98d(0x408)]=_0x271ee2,this[_0x13b98d(0x29a)]=_0x9234ff,this[_0x13b98d(0x28f)]=_0x3430fe,this[_0x13b98d(0x411)]());}get[_0x24eaf7(0x33e)](){var _0x240e63=_0x24eaf7;return this[_0x240e63(0x251)]['getValue']();}[_0x24eaf7(0x411)](){var _0x377ced=_0x24eaf7;this['_networkConditionService']&&this['disposeWithMe'](this['_networkConditionService'][_0x377ced(0x4cb)][_0x377ced(0x3d6)](_0x2e119c=>{var _0x883e37=_0x377ced;_0x2e119c&&!this[_0x883e37(0x33e)]&&this[_0x883e37(0x45d)](),_0x2e119c||this[_0x883e37(0x316)]();}));}['dispose'](){var _0x4d62b5=_0x24eaf7;super['dispose'](),this[_0x4d62b5(0x4a4)](),this[_0x4d62b5(0x3f7)](),this[_0x4d62b5(0x4a1)](),this[_0x4d62b5(0x231)][_0x4d62b5(0x3c2)](_0x3d773d=>_0x3d773d['dispose']()),this['_sessions']['clear'](),this[_0x4d62b5(0x37b)]['complete']();}async[_0x24eaf7(0x206)](_0x5eb3e8){var _0x1ce2c7=_0x24eaf7;if(this[_0x1ce2c7(0x231)][_0x1ce2c7(0x458)](_0x5eb3e8))return this[_0x1ce2c7(0x231)][_0x1ce2c7(0x42f)](_0x5eb3e8);this[_0x1ce2c7(0x3e3)]();const _0xcdd71a=this[_0x1ce2c7(0x333)][_0x1ce2c7(0x496)](gt,_0x5eb3e8,this[_0x1ce2c7(0x251)][_0x1ce2c7(0x2e2)]());return this['_sessions'][_0x1ce2c7(0x347)](_0x5eb3e8,_0xcdd71a),_0xcdd71a;}[_0x24eaf7(0x3ee)](_0x5cef9e){var _0x1b544a=_0x24eaf7,_0x4ada9f;const _0x2ad539=this['_sessions'][_0x1b544a(0x42f)](_0x5cef9e);_0x2ad539&&(this[_0x1b544a(0x231)][_0x1b544a(0x467)](_0x5cef9e),_0x2ad539[_0x1b544a(0x3e1)]()),this['_sessions'][_0x1b544a(0x2f3)]||(_0x4ada9f=this[_0x1b544a(0x33e)])==null||_0x4ada9f[_0x1b544a(0x3e1)]();}[_0x24eaf7(0x45d)](){var _0x58d9a9=_0x24eaf7;this[_0x58d9a9(0x230)]=0x0,this[_0x58d9a9(0x4a4)](),this[_0x58d9a9(0x2f8)]();}[_0x24eaf7(0x4a4)](){var _0x2c1766=_0x24eaf7;this[_0x2c1766(0x4a2)]!=null&&(clearTimeout(this[_0x2c1766(0x4a2)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x59f10f=_0x24eaf7,_0xc0576d;const _0x2c978f=this[_0x59f10f(0x2c5)][_0x59f10f(0x379)](K),_0x333dcc=(_0xc0576d=_0x2c978f==null?void 0x0:_0x2c978f['collabWebSocketUrl'])!=null?_0xc0576d:ms,_0x3cbbcd=await this[_0x59f10f(0x408)][_0x59f10f(0x2c4)](_0x333dcc);return this[_0x59f10f(0x2c6)]=_0x3cbbcd,_0x3cbbcd;}async[_0x24eaf7(0x3e3)](){var _0x57e3df=_0x24eaf7,_0x53a7e7,_0x35ac88;try{const _0x6c8aad=(_0x35ac88=(_0x53a7e7=this[_0x57e3df(0x33e)])!=null?_0x53a7e7:this[_0x57e3df(0x2c6)])!=null?_0x35ac88:await this[_0x57e3df(0x2cb)]();if(_0x6c8aad){const _0x2fd75e=_0x6c8aad[_0x57e3df(0x353)];_0x6c8aad[_0x57e3df(0x353)]=_0x3abd98=>(this[_0x57e3df(0x1f1)](),_0x2fd75e[_0x57e3df(0x1f9)](_0x6c8aad,[_0x3abd98])),_0x6c8aad[_0x57e3df(0x4bf)]['subscribe'](_0x2cbd55=>this[_0x57e3df(0x343)](_0x6c8aad,_0x2cbd55)),_0x6c8aad[_0x57e3df(0x1fd)][_0x57e3df(0x474)](_0x6bf7ba(0x1))['subscribe'](_0x1caf96=>this[_0x57e3df(0x40e)]['error'](_0x57e3df(0x2eb),_0x1caf96)),_0x6c8aad[_0x57e3df(0x463)][_0x57e3df(0x474)](_0x6bf7ba(0x1))[_0x57e3df(0x3d6)](()=>{var _0x2c67ae=_0x57e3df;this[_0x2c67ae(0x457)](_0x6c8aad);}),_0x6c8aad['close$']['pipe'](_0x6bf7ba(0x1))['subscribe'](_0x88d6e3=>{var _0x369d4f=_0x57e3df;this[_0x369d4f(0x40e)][_0x369d4f(0x36c)](_0x369d4f(0x390),_0x369d4f(0x301),_0x88d6e3),this[_0x369d4f(0x350)]();});}}catch(_0x2258a7){this['_logService'][_0x57e3df(0x2a4)](_0x2258a7),this[_0x57e3df(0x350)]();}}[_0x24eaf7(0x457)](_0x6e86ce){var _0x42ed3a=_0x24eaf7;this['_logService'][_0x42ed3a(0x36c)](_0x42ed3a(0x390),'socket\x20open.'),_0x6e86ce[_0x42ed3a(0x353)]({'cmd':F['HELLO']}),this[_0x42ed3a(0x1f1)]();}[_0x24eaf7(0x316)](){var _0x1caef6=_0x24eaf7;this[_0x1caef6(0x1ef)]=!0x1,this['_candidateSocket']=null,this[_0x1caef6(0x37b)][_0x1caef6(0x3b5)](ge[_0x1caef6(0x4a8)]),this['_socket$'][_0x1caef6(0x3b5)](null),this[_0x1caef6(0x3f7)](),this['_clearHeartbeatTimer']();}[_0x24eaf7(0x350)](){var _0x2d94c9=_0x24eaf7,_0x2a5936;this['_onOffline'](),this['_retryCount']<((_0x2a5936=this[_0x2d94c9(0x2c5)]['getConfig'](Is))!=null?_0x2a5936:Ts)?(this[_0x2d94c9(0x29a)][_0x2d94c9(0x30e)]({'id':ne[_0x2d94c9(0x449)]}),this[_0x2d94c9(0x2f8)]()):this['_collaborationUIEventService'][_0x2d94c9(0x30e)]({'id':ne['SOCKET_FAILED']});}['_tryReconnect'](){var _0x48c35d=_0x24eaf7,_0x19caf5;const _0xc10379=this['_retryCount'],_0x2ea2f8=this['_configService']['getConfig'](K),_0xa40a35=_0xc10379===0x0?0x0:((_0x19caf5=_0x2ea2f8==null?void 0x0:_0x2ea2f8['retryConnectingInterval'])!=null?_0x19caf5:Es)*0x2**_0xc10379;this['_retryConnectingTimer']=setTimeout(()=>{var _0x5ee3e5=_0x4e9c;clearTimeout(this[_0x5ee3e5(0x4a2)]),this[_0x5ee3e5(0x4a2)]=null,this['_tryEnsureSocket']();},_0xa40a35),this[_0x48c35d(0x230)]+=0x1;}[_0x24eaf7(0x343)](_0x17c07c,_0x3f1df8){var _0xd1c984=_0x24eaf7;const {cmd:_0x39d672}=_0x3f1df8;_0x39d672===F[_0xd1c984(0x3fd)]&&!this[_0xd1c984(0x1ef)]&&(_0x17c07c[_0xd1c984(0x451)]=_0x3f1df8['data'][_0xd1c984(0x451)],this[_0xd1c984(0x251)]['next'](_0x17c07c),this[_0xd1c984(0x37b)]['next'](ge[_0xd1c984(0x3fa)]),this[_0xd1c984(0x1ef)]=!0x0,this[_0xd1c984(0x2c6)]=null),_0x39d672===F[_0xd1c984(0x3ec)]&&this[_0xd1c984(0x3f7)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x5e5bf6=_0x24eaf7,_0x23b0c;this[_0x5e5bf6(0x4a1)](),this[_0x5e5bf6(0x4b3)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x23b0c=this[_0x5e5bf6(0x2c5)][_0x5e5bf6(0x379)](gs))!=null?_0x23b0c:Ss);}[_0x24eaf7(0x22c)](){var _0x157fd3=_0x24eaf7;this[_0x157fd3(0x33e)][_0x157fd3(0x353)]({'cmd':F['HEARTBEAT']}),this[_0x157fd3(0x4a0)]();}[_0x24eaf7(0x4a0)](){var _0x2476b8=_0x24eaf7,_0x1cd8f9;this[_0x2476b8(0x3e7)]=setTimeout(()=>this[_0x2476b8(0x350)](),(_0x1cd8f9=this[_0x2476b8(0x2c5)]['getConfig'](di))!=null?_0x1cd8f9:fi);}[_0x24eaf7(0x4a1)](){var _0x6a3645=_0x24eaf7;this[_0x6a3645(0x4b3)]!=null&&(clearTimeout(this[_0x6a3645(0x4b3)]),this[_0x6a3645(0x4b3)]=null);}[_0x24eaf7(0x3f7)](){var _0x14960c=_0x24eaf7;this[_0x14960c(0x3e7)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x14960c(0x3e7)]=null);}};Pe=qs([Re(0x0,_0x9aa2f(_0x1476f5)),Re(0x1,_0x1b7032),Re(0x2,_0x7e8cbd),Re(0x3,Ci),Re(0x4,_0x9aa2f(ve)),Re(0x5,_0x2bef5d(js))],Pe);var zs=Object['getOwnPropertyDescriptor'],Js=(_0x3c65c7,_0x3afc7d,_0x91b4d2,_0x142315)=>{var _0x4aa1e4=_0x24eaf7;for(var _0x3f54be=_0x142315>0x1?void 0x0:_0x142315?zs(_0x3afc7d,_0x91b4d2):_0x3afc7d,_0x104402=_0x3c65c7[_0x4aa1e4(0x3a8)]-0x1,_0x133179;_0x104402>=0x0;_0x104402--)(_0x133179=_0x3c65c7[_0x104402])&&(_0x3f54be=_0x133179(_0x3f54be)||_0x3f54be);return _0x3f54be;},Be=(_0xe25364,_0x3bb8c3)=>(_0x374f12,_0x59dace)=>_0x3bb8c3(_0x374f12,_0x59dace,_0xe25364);let nt=class extends _0x249e4b{constructor(_0xaecacf,_0x490579,_0x49f261,_0x1e3460){var _0x47a1ee=_0x24eaf7,_0x45f31f;super(),N(this,_0x47a1ee(0x3a6),new Map()),N(this,_0x47a1ee(0x380),new _0x54f9ff()),N(this,_0x47a1ee(0x48f),this['_entityInit$']['asObservable']()),(this[_0x47a1ee(0x333)]=_0xaecacf,this['_collabSessionService']=_0x490579,this[_0x47a1ee(0x2c5)]=_0x49f261,this['_univerInstanceService']=_0x1e3460,((_0x45f31f=this[_0x47a1ee(0x2c5)]['getConfig'](K))==null?void 0x0:_0x45f31f['enableCollaboration'])!==!0x1&&this[_0x47a1ee(0x2a1)]());}[_0x24eaf7(0x22d)](){var _0x343d44=_0x24eaf7;super[_0x343d44(0x22d)](),this[_0x343d44(0x3a6)][_0x343d44(0x3c2)](_0x4209f8=>_0x4209f8[_0x343d44(0x22d)]()),this[_0x343d44(0x3a6)]['clear']();}[_0x24eaf7(0x3db)](_0xbf0478){var _0x553555=_0x24eaf7,_0x56488d;return(_0x56488d=this[_0x553555(0x3a6)][_0x553555(0x42f)](_0xbf0478))!=null?_0x56488d:null;}[_0x24eaf7(0x435)](_0x4085a1){var _0x202258=_0x24eaf7;const _0x473d1e=this[_0x202258(0x3db)](_0x4085a1);return _0x473d1e?_0x42cacc(_0x473d1e):this[_0x202258(0x380)][_0x202258(0x474)](_0x392eb8(_0x4976af=>_0x4976af[_0x202258(0x45a)]===_0x4085a1));}[_0x24eaf7(0x398)](_0x49cadd){var _0x5f312e=_0x24eaf7;return _0xdc1286(this['getCollabEntity$'](_0x49cadd)[_0x5f312e(0x474)](_0x3eecf4(()=>{})));}['_init'](){var _0x1268e3=_0x24eaf7;this[_0x1268e3(0x331)][_0x1268e3(0x37e)](_0x1ba39b[_0x1268e3(0x493)])[_0x1268e3(0x474)](_0x12bc4a(this[_0x1268e3(0x375)]),_0x2b26e1(0x10))[_0x1268e3(0x3d6)](async _0x2e305c=>{var _0x2b76aa=_0x1268e3;const _0x5daed7=_0x2e305c[_0x2b76aa(0x46f)](),_0x5685df=await this[_0x2b76aa(0x30f)](_0x5daed7,Z['UNIVER_SHEET']);this['_entities'][_0x2b76aa(0x347)](_0x5daed7,_0x5685df);}),this['_univerInstanceService'][_0x1268e3(0x37e)](_0x1ba39b[_0x1268e3(0x28c)])[_0x1268e3(0x474)](_0x12bc4a(this['dispose$']),_0x2b26e1(0x10))['pipe'](_0x392eb8(_0x40d45b=>!_0x40d45b[_0x1268e3(0x46f)]()[_0x1268e3(0x447)]('__')))[_0x1268e3(0x3d6)](async _0x55e865=>{var _0x2bf991=_0x1268e3;const _0x2af4de=_0x55e865['getUnitId'](),_0x20f191=await this[_0x2bf991(0x30f)](_0x2af4de,Z[_0x2bf991(0x28c)]);this['_entities']['set'](_0x2af4de,_0x20f191);}),_0x201bac(this[_0x1268e3(0x331)][_0x1268e3(0x323)](_0x1ba39b[_0x1268e3(0x493)]),this['_univerInstanceService'][_0x1268e3(0x323)](_0x1ba39b[_0x1268e3(0x28c)]))['pipe'](_0x12bc4a(this[_0x1268e3(0x375)]))[_0x1268e3(0x3d6)](_0x5e6cfe=>{var _0x3051bb=_0x1268e3;const _0x1fed7f=_0x5e6cfe[_0x3051bb(0x46f)](),_0x27edfb=this['_entities'][_0x3051bb(0x42f)](_0x1fed7f);_0x27edfb&&(_0x27edfb['dispose'](),this[_0x3051bb(0x3a6)][_0x3051bb(0x467)](_0x1fed7f));});}async[_0x24eaf7(0x30f)](_0x540574,_0x2a6d08){var _0x265077=_0x24eaf7;const _0xb1cfd9=await this['_collabSessionService'][_0x265077(0x206)](_0x540574),_0x49b5a4=this[_0x265077(0x333)]['createInstance'](this[_0x265077(0x478)](_0x2a6d08),_0x540574,_0x2a6d08,_0xb1cfd9);return await _0x49b5a4['init'](),this[_0x265077(0x380)][_0x265077(0x3b5)](_0x49b5a4),_0x49b5a4;}['_getCtorByUniverType'](_0x2476f1){var _0x4716db=_0x24eaf7;switch(_0x2476f1){case Z[_0x4716db(0x28c)]:return St;case Z[_0x4716db(0x493)]:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2476f1);}}};nt=Js([Be(0x0,_0x9aa2f(_0x1476f5)),Be(0x1,_0x9aa2f(Pe)),Be(0x2,_0x7e8cbd),Be(0x3,_0x3b585e)],nt);var Xs=Object[_0x24eaf7(0x346)],Zs=(_0x1ad26a,_0x4e8e98,_0x5e1a71,_0x2516ce)=>{var _0x5564a6=_0x24eaf7;for(var _0x28fdd5=_0x2516ce>0x1?void 0x0:_0x2516ce?Xs(_0x4e8e98,_0x5e1a71):_0x4e8e98,_0x6806bb=_0x1ad26a[_0x5564a6(0x3a8)]-0x1,_0x3934a6;_0x6806bb>=0x0;_0x6806bb--)(_0x3934a6=_0x1ad26a[_0x6806bb])&&(_0x28fdd5=_0x3934a6(_0x28fdd5)||_0x28fdd5);return _0x28fdd5;},Yt=(_0x3a6f9e,_0x2984a5)=>(_0x26c080,_0x24310c)=>_0x2984a5(_0x26c080,_0x24310c,_0x3a6f9e);const Qs='DEFAULT_FILE_NAME',en=_0x24eaf7(0x1f0);let It=class extends _0x27bd64{constructor(_0x1334b6,_0x1e7dfb){var _0x33d94b=_0x24eaf7;super(),this[_0x33d94b(0x331)]=_0x1334b6,this['_configService']=_0x1e7dfb,this[_0x33d94b(0x2a1)]();}[_0x24eaf7(0x2a1)](){var _0x55b118=_0x24eaf7;this[_0x55b118(0x36f)](this['_univerInstanceService'][_0x55b118(0x25c)]['subscribe'](()=>{var _0xd409fc=_0x55b118,_0x419141;const _0x3ec1e7=this['_univerInstanceService'][_0xd409fc(0x428)]();let _0x5c6177=(_0x419141=this['_configService']['getConfig'](Qs))!=null?_0x419141:en;_0x3ec1e7 instanceof _0x599e43&&(_0x5c6177=_0x3ec1e7['name']),document[_0xd409fc(0x446)]=_0x5c6177;}));}};It=Zs([Yt(0x0,_0x3b585e),Yt(0x1,_0x7e8cbd)],It);var tn=Object[_0x24eaf7(0x346)],sn=(_0x56679e,_0x5a1937,_0x4a6ee2,_0x4fac4d)=>{var _0x254c9f=_0x24eaf7;for(var _0xfeccfb=_0x4fac4d>0x1?void 0x0:_0x4fac4d?tn(_0x5a1937,_0x4a6ee2):_0x5a1937,_0x5d7971=_0x56679e[_0x254c9f(0x3a8)]-0x1,_0x5cfb72;_0x5d7971>=0x0;_0x5d7971--)(_0x5cfb72=_0x56679e[_0x5d7971])&&(_0xfeccfb=_0x5cfb72(_0xfeccfb)||_0xfeccfb);return _0xfeccfb;},dt=(_0x124d3e,_0x1d4126)=>(_0x20f402,_0x3c7623)=>_0x1d4126(_0x20f402,_0x3c7623,_0x124d3e);let rt=class{constructor(_0x2c739f,_0x2bfcbb,_0x38da9b){var _0x48abf9=_0x24eaf7;this['_configService']=_0x2c739f,this[_0x48abf9(0x314)]=_0x2bfcbb,this[_0x48abf9(0x455)]=_0x38da9b,this['init']();}[_0x24eaf7(0x3be)](){var _0x3476e2=_0x24eaf7;this[_0x3476e2(0x314)][_0x3476e2(0x36b)]({'priority':0x1,'interceptor':(_0x26a17d,_0x1dbfda)=>_0x1dbfda(_0x26a17d)[_0x3476e2(0x474)](_0x111127(async _0x32eaa5=>{var _0x51e694=_0x3476e2;const _0x4cca91=_0x32eaa5;if(_0x4cca91['status']===0x191){if(typeof window>'u')throw new Error(_0x51e694(0x1ea));if(window[_0x51e694(0x1f8)](this[_0x51e694(0x455)]['t'](_0x51e694(0x2e7)))){const _0x4efe31=window['encodeURIComponent'](window['location'][_0x51e694(0x2af)]);window[_0x51e694(0x4a6)][_0x51e694(0x2af)]=this[_0x51e694(0x366)]()+_0x51e694(0x2b9)+_0x4efe31;}}return _0x4cca91;}))});}[_0x24eaf7(0x366)](){var _0x2d14cc=_0x24eaf7,_0x4584ef;const _0x3ccf44=this[_0x2d14cc(0x2c5)][_0x2d14cc(0x379)](K);return(_0x4584ef=_0x3ccf44==null?void 0x0:_0x3ccf44['loginUrlKey'])!=null?_0x4584ef:Rs;}};rt=sn([dt(0x0,_0x7e8cbd),dt(0x1,_0x9aa2f(_0x25bf02)),dt(0x2,_0x9aa2f(_0x154b35))],rt);var nn=Object[_0x24eaf7(0x346)],rn=(_0x2bc6a8,_0x183ef0,_0x332142,_0x5ee791)=>{var _0x354819=_0x24eaf7;for(var _0x247229=_0x5ee791>0x1?void 0x0:_0x5ee791?nn(_0x183ef0,_0x332142):_0x183ef0,_0x329006=_0x2bc6a8[_0x354819(0x3a8)]-0x1,_0x2791af;_0x329006>=0x0;_0x329006--)(_0x2791af=_0x2bc6a8[_0x329006])&&(_0x247229=_0x2791af(_0x247229)||_0x247229);return _0x247229;},Kt=(_0x5e61fe,_0x3bb96f)=>(_0x4ec765,_0x4955dd)=>_0x3bb96f(_0x4ec765,_0x4955dd,_0x5e61fe);const an=_0x24eaf7(0x3fc);let Tt=class extends _0x27bd64{constructor(_0x127e98,_0x26c51d){var _0x45118c=_0x24eaf7;super(),this[_0x45118c(0x2a6)]=_0x127e98,this[_0x45118c(0x2c5)]=_0x26c51d,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x2a0844=_0x24eaf7;const _0x1ab570=this;this[_0x2a0844(0x36f)](this[_0x2a0844(0x2a6)][_0x2a0844(0x36b)]({'priority':0x3e7,'interceptor':_0x13adc1({'isMatch'(_0x40997c){var _0x2e3b08=_0x2a0844,_0x2f3189;if(_0x40997c[_0x2e3b08(0x49e)]==='POST'&&((_0x2f3189=_0x40997c[_0x2e3b08(0x40a)])!=null&&_0x2f3189['body'])){const {objectID:_0x5143da,objectType:_0x4e8351}=_0x40997c[_0x2e3b08(0x40a)][_0x2e3b08(0x2ef)]||{};if(!_0x5143da||_0x4e8351===void 0x0)return!0x1;const _0x4732d9=_0x1ab570['_getAPIPrefixPath']()+'/'+_0x4e8351+'/object/'+_0x5143da+_0x2e3b08(0x4ba);if(_0x40997c['url']===_0x4732d9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1e7ef1){var _0x151054=_0x2a0844,_0x4a3cf1;return(_0x4a3cf1=_0x1e7ef1[_0x151054(0x40a)])==null?void 0x0:_0x4a3cf1[_0x151054(0x2ef)];},'mergeParamsToRequest'(_0x19fe26,_0x5736d6){var _0x3d26fe=_0x2a0844;const _0x231c9d=_0x1ab570[_0x3d26fe(0x23b)]()+_0x3d26fe(0x221),_0x3589fb=_0x19fe26[_0x3d26fe(0x237)]((_0x491cf7,_0x4d8b50)=>{var _0x279377=_0x3d26fe;const {unitID:_0x54d325,objectID:_0x1a2656,objectType:_0x10fec0,actions:_0x4a22a6}=_0x4d8b50;return _0x491cf7[_0x54d325]||(_0x491cf7[_0x54d325]={}),_0x491cf7[_0x54d325][_0x1a2656]||(_0x491cf7[_0x54d325][_0x1a2656]={'objectID':_0x1a2656,'objectType':_0x10fec0,'actions':[]}),_0x491cf7[_0x54d325][_0x1a2656][_0x279377(0x21a)]['push'](..._0x4a22a6),_0x491cf7;},{}),_0x5cf340=[];for(const _0x14a8db in _0x3589fb)for(const _0xd36e30 in _0x3589fb[_0x14a8db]){const {actions:_0x3e9457,objectType:_0x140705}=_0x3589fb[_0x14a8db][_0xd36e30],_0x3f1c13=[...new Set(_0x3e9457)];_0x5cf340['push']({'unitID':_0x14a8db,'objectID':_0xd36e30,'objectType':_0x140705,'actions':_0x3f1c13});}return new _0x4f4473(_0x3d26fe(0x416),_0x231c9d,{'headers':_0x5736d6['headers'],'withCredentials':_0x5736d6['withCredentials'],'responseType':_0x5736d6['responseType'],'body':{'requests':_0x5cf340}});}},{'distributeResult'(_0x234f00,_0x1f2e92){var _0xae1aa9=_0x2a0844;const {objectActions:_0x51d4ae}=_0x234f00;return _0x1f2e92[_0xae1aa9(0x208)](_0x208313=>{var _0x243011=_0xae1aa9;const {unitID:_0x563a10,objectID:_0x36b6a3,actions:_0x5e29a6}=_0x208313,_0x227da8=_0x51d4ae[_0x243011(0x306)](_0x491678=>_0x491678['unitID']===_0x563a10&&_0x491678[_0x243011(0x359)]===_0x36b6a3),_0x443678=_0x5e29a6[_0x243011(0x208)](_0x417e4d=>_0x227da8==null?void 0x0:_0x227da8[_0x243011(0x21a)][_0x243011(0x306)](_0x17b3af=>_0x17b3af[_0x243011(0x4ad)]===_0x417e4d))[_0x243011(0x266)](_0x519316=>!!_0x519316);return{'config':_0x208313,'result':{'actions':_0x443678,'error':_0x234f00[_0x243011(0x2a4)]}};});}})}));}[_0x24eaf7(0x23b)](){var _0x3aa0f0=_0x24eaf7,_0x238094;const _0x557b6c=this[_0x3aa0f0(0x2c5)][_0x3aa0f0(0x379)](K);return(_0x238094=_0x557b6c==null?void 0x0:_0x557b6c[_0x3aa0f0(0x34d)])!=null?_0x238094:an;}async['create'](_0x2888ba){var _0x30731e=_0x24eaf7;const _0xeb1140=this['_getAPIPrefixPath']()+'/'+_0x2888ba[_0x30731e(0x267)]+'/object';return(await this[_0x30731e(0x2a6)][_0x30731e(0x42b)](_0xeb1140,{'body':_0x2888ba}))[_0x30731e(0x2ef)]['objectID']||'';}async['list'](_0x5c943f){var _0x5d51de=_0x24eaf7;const _0x49021c=this['_getAPIPrefixPath']()+_0x5d51de(0x3bb);return(await this[_0x5d51de(0x2a6)][_0x5d51de(0x42b)](_0x49021c,{'body':_0x5c943f}))[_0x5d51de(0x2ef)][_0x5d51de(0x320)];}async['update'](_0x4bd1e7){var _0x17e107=_0x24eaf7,_0x358d48,_0x48e90e;const _0x72b1f4=this['_getAPIPrefixPath']()+'/'+_0x4bd1e7['objectType']+_0x17e107(0x3cc)+_0x4bd1e7['objectID'],_0x3661dd=await this['_HTTPService'][_0x17e107(0x403)](_0x72b1f4,{'body':_0x4bd1e7});if(((_0x48e90e=(_0x358d48=_0x3661dd==null?void 0x0:_0x3661dd[_0x17e107(0x2ef)])==null?void 0x0:_0x358d48['error'])==null?void 0x0:_0x48e90e[_0x17e107(0x35c)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async['allowed'](_0x31cfcb){var _0x450974=_0x24eaf7;const _0x1c9127=this[_0x450974(0x23b)]()+'/'+_0x31cfcb['objectType']+_0x450974(0x3cc)+_0x31cfcb[_0x450974(0x359)]+_0x450974(0x4ba);return(await this['_HTTPService'][_0x450974(0x42b)](_0x1c9127,{'body':_0x31cfcb}))[_0x450974(0x2ef)][_0x450974(0x21a)];}async[_0x24eaf7(0x4cf)](_0x20460e){var _0x2d876e=_0x24eaf7;const _0x3a4969=this[_0x2d876e(0x23b)]()+_0x2d876e(0x221);return(await this['_HTTPService'][_0x2d876e(0x42b)](_0x3a4969,{'body':{'requests':_0x20460e}}))[_0x2d876e(0x2ef)][_0x2d876e(0x210)];}async[_0x24eaf7(0x241)](_0x221946){var _0x383290=_0x24eaf7;const _0x2b5d73=this['_getAPIPrefixPath']()+'/'+_0x221946[_0x383290(0x267)]+'/role',_0x422dd2=await this[_0x383290(0x2a6)][_0x383290(0x42b)](_0x2b5d73,{'body':_0x221946});return{'roles':_0x422dd2[_0x383290(0x2ef)][_0x383290(0x415)],'actions':_0x422dd2[_0x383290(0x2ef)][_0x383290(0x21a)]};}async[_0x24eaf7(0x464)](_0x1cb9fe){var _0x3d67af=_0x24eaf7;const _0xbeddc8=this[_0x3d67af(0x23b)]()+_0x3d67af(0x2cf);await this[_0x3d67af(0x2a6)][_0x3d67af(0x467)](_0xbeddc8,{'params':{'collaboratorID':_0x1cb9fe[_0x3d67af(0x364)],'objectID':_0x1cb9fe['objectID'],'unitID':_0x1cb9fe['unitID']}});}async[_0x24eaf7(0x3d2)](_0x558c36){var _0x38f50d=_0x24eaf7;const _0x1970ab=this[_0x38f50d(0x23b)]()+'/collaborator';await this['_HTTPService'][_0x38f50d(0x29b)](_0x1970ab,{'body':_0x558c36});}async[_0x24eaf7(0x4a5)](_0x2bd65a){var _0x714fa5=_0x24eaf7;const _0x34e933=this[_0x714fa5(0x23b)]()+_0x714fa5(0x2cf);await this[_0x714fa5(0x2a6)][_0x714fa5(0x42b)](_0x34e933,{'body':_0x2bd65a});}async[_0x24eaf7(0x494)](_0xd3ca4){var _0x3232bf=_0x24eaf7;const _0x5ee932=this['_getAPIPrefixPath']()+'/collaborator';return(await this['_HTTPService'][_0x3232bf(0x42f)](_0x5ee932,{'params':{'objectID':_0xd3ca4[_0x3232bf(0x359)],'unitID':_0xd3ca4[_0x3232bf(0x45a)]}}))[_0x3232bf(0x2ef)][_0x3232bf(0x2f7)];}async[_0x24eaf7(0x21e)](_0x1e235d){var _0x52e50b=_0x24eaf7;const _0x4e918b=this[_0x52e50b(0x23b)]()+'/collaborator';await this[_0x52e50b(0x2a6)][_0x52e50b(0x403)](_0x4e918b,{'body':_0x1e235d});}};Tt=rn([Kt(0x0,_0x9aa2f(_0x25bf02)),Kt(0x1,_0x9aa2f(_0x7e8cbd))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x12495b){var _0x2d4911=_0x24eaf7;return _0x12495b&&_0x12495b[_0x2d4911(0x275)]&&Object['prototype'][_0x2d4911(0x284)][_0x2d4911(0x345)](_0x12495b,_0x2d4911(0x461))?_0x12495b[_0x2d4911(0x461)]:_0x12495b;}var Ve={'exports':{}};function on(_0x138f69){var _0x36f289=_0x24eaf7;throw new Error(_0x36f289(0x2de)+_0x138f69+_0x36f289(0x4c7));}var We={'exports':{}},cn=We[_0x24eaf7(0x442)],qt;function te(){var _0x111198=_0x24eaf7;return qt||(qt=0x1,function(_0x3733ed,_0x524226){(function(_0x277408,_0x5422e1){var _0x976be0=_0x4e9c;_0x3733ed[_0x976be0(0x442)]=_0x5422e1();}(cn,function(){var _0x55cd3a=_0x55cd3a||function(_0x544bab,_0x3b33c5){var _0x4bec44=_0x4e9c,_0x2913fe;if(typeof window<'u'&&window['crypto']&&(_0x2913fe=window[_0x4bec44(0x468)]),typeof self<'u'&&self[_0x4bec44(0x468)]&&(_0x2913fe=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2913fe=globalThis['crypto']),!_0x2913fe&&typeof window<'u'&&window[_0x4bec44(0x31a)]&&(_0x2913fe=window[_0x4bec44(0x31a)]),!_0x2913fe&&typeof ft<'u'&&ft['crypto']&&(_0x2913fe=ft[_0x4bec44(0x468)]),!_0x2913fe&&typeof on==_0x4bec44(0x3de))try{_0x2913fe=require('crypto');}catch{}var _0x455e67=function(){var _0x3d726c=_0x4bec44;if(_0x2913fe){if(typeof _0x2913fe[_0x3d726c(0x2a0)]=='function')try{return _0x2913fe[_0x3d726c(0x2a0)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2913fe[_0x3d726c(0x217)]==_0x3d726c(0x3de))try{return _0x2913fe[_0x3d726c(0x217)](0x4)[_0x3d726c(0x2ca)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x2777f6=Object[_0x4bec44(0x4bb)]||(function(){function _0x519e86(){}return function(_0x46d6d6){var _0x4322ef=_0x4e9c,_0x269b7e;return _0x519e86[_0x4322ef(0x4a7)]=_0x46d6d6,_0x269b7e=new _0x519e86(),_0x519e86[_0x4322ef(0x4a7)]=null,_0x269b7e;};}()),_0x233914={},_0xed9902=_0x233914['lib']={},_0x5711bd=_0xed9902[_0x4bec44(0x376)]=(function(){return{'extend':function(_0x1ff393){var _0x47780c=_0x4e9c,_0x2e9451=_0x2777f6(this);return _0x1ff393&&_0x2e9451['mixIn'](_0x1ff393),(!_0x2e9451[_0x47780c(0x284)](_0x47780c(0x3be))||this['init']===_0x2e9451[_0x47780c(0x3be)])&&(_0x2e9451[_0x47780c(0x3be)]=function(){var _0x1b81a3=_0x47780c;_0x2e9451['$super']['init'][_0x1b81a3(0x1f9)](this,arguments);}),_0x2e9451[_0x47780c(0x3be)]['prototype']=_0x2e9451,_0x2e9451['$super']=this,_0x2e9451;},'create':function(){var _0x189250=_0x4e9c,_0x3d0d73=this['extend']();return _0x3d0d73[_0x189250(0x3be)][_0x189250(0x1f9)](_0x3d0d73,arguments),_0x3d0d73;},'init':function(){},'mixIn':function(_0x43f8a5){var _0x2ccb5d=_0x4e9c;for(var _0x23f25f in _0x43f8a5)_0x43f8a5['hasOwnProperty'](_0x23f25f)&&(this[_0x23f25f]=_0x43f8a5[_0x23f25f]);_0x43f8a5[_0x2ccb5d(0x284)](_0x2ccb5d(0x33a))&&(this['toString']=_0x43f8a5[_0x2ccb5d(0x33a)]);},'clone':function(){var _0xc52c98=_0x4e9c;return this['init'][_0xc52c98(0x4a7)]['extend'](this);}};}()),_0x59338a=_0xed9902[_0x4bec44(0x404)]=_0x5711bd[_0x4bec44(0x247)]({'init':function(_0x460749,_0xaacc9c){var _0x4e99cc=_0x4bec44;_0x460749=this[_0x4e99cc(0x450)]=_0x460749||[],_0xaacc9c!=_0x3b33c5?this[_0x4e99cc(0x317)]=_0xaacc9c:this[_0x4e99cc(0x317)]=_0x460749[_0x4e99cc(0x3a8)]*0x4;},'toString':function(_0x398309){var _0x3df922=_0x4bec44;return(_0x398309||_0x18d2ca)[_0x3df922(0x4c4)](this);},'concat':function(_0x5d0fa7){var _0x3dcadd=_0x4bec44,_0x1ba5d0=this[_0x3dcadd(0x450)],_0x264339=_0x5d0fa7[_0x3dcadd(0x450)],_0x17b4be=this[_0x3dcadd(0x317)],_0x15cd40=_0x5d0fa7[_0x3dcadd(0x317)];if(this['clamp'](),_0x17b4be%0x4)for(var _0x2f52c2=0x0;_0x2f52c2<_0x15cd40;_0x2f52c2++){var _0x2db627=_0x264339[_0x2f52c2>>>0x2]>>>0x18-_0x2f52c2%0x4*0x8&0xff;_0x1ba5d0[_0x17b4be+_0x2f52c2>>>0x2]|=_0x2db627<<0x18-(_0x17b4be+_0x2f52c2)%0x4*0x8;}else{for(var _0x330b54=0x0;_0x330b54<_0x15cd40;_0x330b54+=0x4)_0x1ba5d0[_0x17b4be+_0x330b54>>>0x2]=_0x264339[_0x330b54>>>0x2];}return this['sigBytes']+=_0x15cd40,this;},'clamp':function(){var _0x12b687=_0x4bec44,_0x5ad4d1=this[_0x12b687(0x450)],_0x5bf146=this[_0x12b687(0x317)];_0x5ad4d1[_0x5bf146>>>0x2]&=0xffffffff<<0x20-_0x5bf146%0x4*0x8,_0x5ad4d1['length']=_0x544bab[_0x12b687(0x44b)](_0x5bf146/0x4);},'clone':function(){var _0x48c3ef=_0x4bec44,_0x42f029=_0x5711bd['clone'][_0x48c3ef(0x345)](this);return _0x42f029['words']=this['words'][_0x48c3ef(0x329)](0x0),_0x42f029;},'random':function(_0x5a9890){var _0x172c5e=_0x4bec44;for(var _0x5d699a=[],_0x5323e9=0x0;_0x5323e9<_0x5a9890;_0x5323e9+=0x4)_0x5d699a[_0x172c5e(0x3b0)](_0x455e67());return new _0x59338a[(_0x172c5e(0x3be))](_0x5d699a,_0x5a9890);}}),_0x29a293=_0x233914[_0x4bec44(0x2e0)]={},_0x18d2ca=_0x29a293['Hex']={'stringify':function(_0x4a4a68){var _0x37b447=_0x4bec44;for(var _0x15fcf6=_0x4a4a68[_0x37b447(0x450)],_0x4de8d5=_0x4a4a68[_0x37b447(0x317)],_0x1d1518=[],_0x44f4d3=0x0;_0x44f4d3<_0x4de8d5;_0x44f4d3++){var _0x2d2232=_0x15fcf6[_0x44f4d3>>>0x2]>>>0x18-_0x44f4d3%0x4*0x8&0xff;_0x1d1518[_0x37b447(0x3b0)]((_0x2d2232>>>0x4)[_0x37b447(0x33a)](0x10)),_0x1d1518[_0x37b447(0x3b0)]((_0x2d2232&0xf)[_0x37b447(0x33a)](0x10));}return _0x1d1518[_0x37b447(0x293)]('');},'parse':function(_0x56ac47){var _0x1fc78f=_0x4bec44;for(var _0x376577=_0x56ac47[_0x1fc78f(0x3a8)],_0x138df2=[],_0x4ba0af=0x0;_0x4ba0af<_0x376577;_0x4ba0af+=0x2)_0x138df2[_0x4ba0af>>>0x3]|=parseInt(_0x56ac47[_0x1fc78f(0x299)](_0x4ba0af,0x2),0x10)<<0x18-_0x4ba0af%0x8*0x4;return new _0x59338a[(_0x1fc78f(0x3be))](_0x138df2,_0x376577/0x2);}},_0x46b397=_0x29a293[_0x4bec44(0x4ca)]={'stringify':function(_0x3a93d9){var _0x45bce9=_0x4bec44;for(var _0x56c478=_0x3a93d9[_0x45bce9(0x450)],_0x57061f=_0x3a93d9[_0x45bce9(0x317)],_0x3b97cd=[],_0x4f2549=0x0;_0x4f2549<_0x57061f;_0x4f2549++){var _0x141a5f=_0x56c478[_0x4f2549>>>0x2]>>>0x18-_0x4f2549%0x4*0x8&0xff;_0x3b97cd[_0x45bce9(0x3b0)](String['fromCharCode'](_0x141a5f));}return _0x3b97cd[_0x45bce9(0x293)]('');},'parse':function(_0xee18ef){var _0x230fb3=_0x4bec44;for(var _0x18756c=_0xee18ef[_0x230fb3(0x3a8)],_0x5b093b=[],_0x49eb4a=0x0;_0x49eb4a<_0x18756c;_0x49eb4a++)_0x5b093b[_0x49eb4a>>>0x2]|=(_0xee18ef['charCodeAt'](_0x49eb4a)&0xff)<<0x18-_0x49eb4a%0x4*0x8;return new _0x59338a[(_0x230fb3(0x3be))](_0x5b093b,_0x18756c);}},_0x1fb01d=_0x29a293[_0x4bec44(0x39a)]={'stringify':function(_0x53cd13){var _0x331981=_0x4bec44;try{return decodeURIComponent(escape(_0x46b397['stringify'](_0x53cd13)));}catch{throw new Error(_0x331981(0x23e));}},'parse':function(_0x291a1b){var _0x1e78fc=_0x4bec44;return _0x46b397[_0x1e78fc(0x396)](unescape(encodeURIComponent(_0x291a1b)));}},_0x273aaa=_0xed9902[_0x4bec44(0x45f)]=_0x5711bd[_0x4bec44(0x247)]({'reset':function(){var _0xf70338=_0x4bec44;this[_0xf70338(0x248)]=new _0x59338a['init'](),this[_0xf70338(0x4c3)]=0x0;},'_append':function(_0x436980){var _0x59c4bb=_0x4bec44;typeof _0x436980==_0x59c4bb(0x336)&&(_0x436980=_0x1fb01d[_0x59c4bb(0x396)](_0x436980)),this[_0x59c4bb(0x248)][_0x59c4bb(0x473)](_0x436980),this[_0x59c4bb(0x4c3)]+=_0x436980[_0x59c4bb(0x317)];},'_process':function(_0x1167e4){var _0x1e960e=_0x4bec44,_0x1e3329,_0x50172f=this[_0x1e960e(0x248)],_0x31d055=_0x50172f[_0x1e960e(0x450)],_0x365c06=_0x50172f[_0x1e960e(0x317)],_0x1ad7ea=this['blockSize'],_0x3ca81b=_0x1ad7ea*0x4,_0x30b3c1=_0x365c06/_0x3ca81b;_0x1167e4?_0x30b3c1=_0x544bab['ceil'](_0x30b3c1):_0x30b3c1=_0x544bab[_0x1e960e(0x3ea)]((_0x30b3c1|0x0)-this[_0x1e960e(0x2bc)],0x0);var _0x535c84=_0x30b3c1*_0x1ad7ea,_0x156c52=_0x544bab['min'](_0x535c84*0x4,_0x365c06);if(_0x535c84){for(var _0x493070=0x0;_0x493070<_0x535c84;_0x493070+=_0x1ad7ea)this[_0x1e960e(0x25d)](_0x31d055,_0x493070);_0x1e3329=_0x31d055['splice'](0x0,_0x535c84),_0x50172f[_0x1e960e(0x317)]-=_0x156c52;}return new _0x59338a[(_0x1e960e(0x3be))](_0x1e3329,_0x156c52);},'clone':function(){var _0x3b1901=_0x4bec44,_0x5791e5=_0x5711bd['clone'][_0x3b1901(0x345)](this);return _0x5791e5['_data']=this[_0x3b1901(0x248)][_0x3b1901(0x2bf)](),_0x5791e5;},'_minBufferSize':0x0});_0xed9902[_0x4bec44(0x495)]=_0x273aaa[_0x4bec44(0x247)]({'cfg':_0x5711bd[_0x4bec44(0x247)](),'init':function(_0x133828){var _0x2df45c=_0x4bec44;this['cfg']=this[_0x2df45c(0x4e1)]['extend'](_0x133828),this[_0x2df45c(0x2cc)]();},'reset':function(){var _0x4ad196=_0x4bec44;_0x273aaa[_0x4ad196(0x2cc)][_0x4ad196(0x345)](this),this['_doReset']();},'update':function(_0x193aa9){var _0x56a4a7=_0x4bec44;return this[_0x56a4a7(0x4cd)](_0x193aa9),this[_0x56a4a7(0x35b)](),this;},'finalize':function(_0x37b4ed){var _0x42c70c=_0x4bec44;_0x37b4ed&&this[_0x42c70c(0x4cd)](_0x37b4ed);var _0x4936b0=this[_0x42c70c(0x213)]();return _0x4936b0;},'blockSize':0x10,'_createHelper':function(_0x1858a7){return function(_0xe65ac5,_0x41b568){var _0x30f247=_0x4e9c;return new _0x1858a7[(_0x30f247(0x3be))](_0x41b568)[_0x30f247(0x4c0)](_0xe65ac5);};},'_createHmacHelper':function(_0x5445d8){return function(_0x53a940,_0x536385){var _0xd9f281=_0x4e9c;return new _0x24dfdd['HMAC']['init'](_0x5445d8,_0x536385)[_0xd9f281(0x4c0)](_0x53a940);};}});var _0x24dfdd=_0x233914[_0x4bec44(0x280)]={};return _0x233914;}(Math);return _0x55cd3a;}));}(We)),We[_0x111198(0x442)];}var Ge={'exports':{}},hn=Ge[_0x24eaf7(0x442)],zt;function Ri(){var _0x3e12d6=_0x24eaf7;return zt||(zt=0x1,function(_0x463277,_0xb2a7f1){(function(_0x2ab21f,_0x23a9c7){var _0xea6088=_0x4e9c;_0x463277[_0xea6088(0x442)]=_0x23a9c7(te());}(hn,function(_0x18fdd8){var _0xc49b59=_0x4e9c;return(function(){var _0x45dce0=_0x4e9c,_0x349dd1=_0x18fdd8,_0x2a8c2e=_0x349dd1['lib'],_0x351713=_0x2a8c2e[_0x45dce0(0x404)],_0x219d71=_0x349dd1[_0x45dce0(0x2e0)];_0x219d71[_0x45dce0(0x4d8)]={'stringify':function(_0x22e648){var _0x4a5ca4=_0x45dce0,_0x1a87f2=_0x22e648['words'],_0x176768=_0x22e648[_0x4a5ca4(0x317)],_0x388f50=this['_map'];_0x22e648[_0x4a5ca4(0x240)]();for(var _0x18568d=[],_0x41902c=0x0;_0x41902c<_0x176768;_0x41902c+=0x3)for(var _0x415ddd=_0x1a87f2[_0x41902c>>>0x2]>>>0x18-_0x41902c%0x4*0x8&0xff,_0x575985=_0x1a87f2[_0x41902c+0x1>>>0x2]>>>0x18-(_0x41902c+0x1)%0x4*0x8&0xff,_0x296ad3=_0x1a87f2[_0x41902c+0x2>>>0x2]>>>0x18-(_0x41902c+0x2)%0x4*0x8&0xff,_0x5e6c31=_0x415ddd<<0x10|_0x575985<<0x8|_0x296ad3,_0x80a3e7=0x0;_0x80a3e7<0x4&&_0x41902c+_0x80a3e7*0.75<_0x176768;_0x80a3e7++)_0x18568d[_0x4a5ca4(0x3b0)](_0x388f50[_0x4a5ca4(0x242)](_0x5e6c31>>>0x6*(0x3-_0x80a3e7)&0x3f));var _0x262017=_0x388f50['charAt'](0x40);if(_0x262017){for(;_0x18568d['length']%0x4;)_0x18568d[_0x4a5ca4(0x3b0)](_0x262017);}return _0x18568d[_0x4a5ca4(0x293)]('');},'parse':function(_0x2f2104){var _0x4a9121=_0x45dce0,_0x40cdcf=_0x2f2104[_0x4a9121(0x3a8)],_0x338b34=this[_0x4a9121(0x2b4)],_0x4d9870=this[_0x4a9121(0x307)];if(!_0x4d9870){_0x4d9870=this[_0x4a9121(0x307)]=[];for(var _0x40ce88=0x0;_0x40ce88<_0x338b34[_0x4a9121(0x3a8)];_0x40ce88++)_0x4d9870[_0x338b34[_0x4a9121(0x3f8)](_0x40ce88)]=_0x40ce88;}var _0x3bcf57=_0x338b34[_0x4a9121(0x242)](0x40);if(_0x3bcf57){var _0x26ab92=_0x2f2104[_0x4a9121(0x3a4)](_0x3bcf57);_0x26ab92!==-0x1&&(_0x40cdcf=_0x26ab92);}return _0x11484a(_0x2f2104,_0x40cdcf,_0x4d9870);},'_map':_0x45dce0(0x391)};function _0x11484a(_0x5d9504,_0x19492,_0x50ec20){var _0x32e99c=_0x45dce0;for(var _0x2cf36d=[],_0x414e1f=0x0,_0x4c8b9a=0x0;_0x4c8b9a<_0x19492;_0x4c8b9a++)if(_0x4c8b9a%0x4){var _0x598f7e=_0x50ec20[_0x5d9504[_0x32e99c(0x3f8)](_0x4c8b9a-0x1)]<<_0x4c8b9a%0x4*0x2,_0x1b4f92=_0x50ec20[_0x5d9504[_0x32e99c(0x3f8)](_0x4c8b9a)]>>>0x6-_0x4c8b9a%0x4*0x2,_0x4ce515=_0x598f7e|_0x1b4f92;_0x2cf36d[_0x414e1f>>>0x2]|=_0x4ce515<<0x18-_0x414e1f%0x4*0x8,_0x414e1f++;}return _0x351713[_0x32e99c(0x4bb)](_0x2cf36d,_0x414e1f);}}()),_0x18fdd8[_0xc49b59(0x2e0)]['Base64'];}));}(Ge)),Ge[_0x3e12d6(0x442)];}var Ye={'exports':{}},_n=Ye[_0x24eaf7(0x442)],Jt;function ln(){var _0x3d626f=_0x24eaf7;return Jt||(Jt=0x1,function(_0x246c1e,_0x4ebd0f){(function(_0x2597ce,_0x52f83d){var _0x4cac53=_0x4e9c;_0x246c1e[_0x4cac53(0x442)]=_0x52f83d(te());}(_n,function(_0x20d991){var _0x414f1e=_0x4e9c;return function(_0x2f74bf){var _0x397abe=_0x4e9c,_0x2acded=_0x20d991,_0x196807=_0x2acded['lib'],_0x305be4=_0x196807[_0x397abe(0x404)],_0x1db071=_0x196807[_0x397abe(0x495)],_0x4b23f9=_0x2acded['algo'],_0x8744d7=[];(function(){var _0x1b185b=_0x397abe;for(var _0x508a8a=0x0;_0x508a8a<0x40;_0x508a8a++)_0x8744d7[_0x508a8a]=_0x2f74bf[_0x1b185b(0x292)](_0x2f74bf[_0x1b185b(0x25b)](_0x508a8a+0x1))*0x100000000|0x0;}());var _0x31c1f9=_0x4b23f9[_0x397abe(0x24d)]=_0x1db071['extend']({'_doReset':function(){var _0x3a9e03=_0x397abe;this[_0x3a9e03(0x2ed)]=new _0x305be4[(_0x3a9e03(0x3be))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x175b7d,_0x507d0b){var _0x5116d7=_0x397abe;for(var _0x2741f8=0x0;_0x2741f8<0x10;_0x2741f8++){var _0x2db062=_0x507d0b+_0x2741f8,_0x50d905=_0x175b7d[_0x2db062];_0x175b7d[_0x2db062]=(_0x50d905<<0x8|_0x50d905>>>0x18)&0xff00ff|(_0x50d905<<0x18|_0x50d905>>>0x8)&0xff00ff00;}var _0x37c8e9=this[_0x5116d7(0x2ed)][_0x5116d7(0x450)],_0x39364a=_0x175b7d[_0x507d0b+0x0],_0x2c057e=_0x175b7d[_0x507d0b+0x1],_0x551245=_0x175b7d[_0x507d0b+0x2],_0x158da0=_0x175b7d[_0x507d0b+0x3],_0x26ff2c=_0x175b7d[_0x507d0b+0x4],_0x490787=_0x175b7d[_0x507d0b+0x5],_0x134756=_0x175b7d[_0x507d0b+0x6],_0x2312e1=_0x175b7d[_0x507d0b+0x7],_0x21c5b4=_0x175b7d[_0x507d0b+0x8],_0x58a83b=_0x175b7d[_0x507d0b+0x9],_0x4c31a7=_0x175b7d[_0x507d0b+0xa],_0x2ff1fb=_0x175b7d[_0x507d0b+0xb],_0x3c6a40=_0x175b7d[_0x507d0b+0xc],_0x349969=_0x175b7d[_0x507d0b+0xd],_0x1de818=_0x175b7d[_0x507d0b+0xe],_0x1288e5=_0x175b7d[_0x507d0b+0xf],_0x3d345b=_0x37c8e9[0x0],_0xdf1d9f=_0x37c8e9[0x1],_0x53a171=_0x37c8e9[0x2],_0x54cd06=_0x37c8e9[0x3];_0x3d345b=_0xa6f905(_0x3d345b,_0xdf1d9f,_0x53a171,_0x54cd06,_0x39364a,0x7,_0x8744d7[0x0]),_0x54cd06=_0xa6f905(_0x54cd06,_0x3d345b,_0xdf1d9f,_0x53a171,_0x2c057e,0xc,_0x8744d7[0x1]),_0x53a171=_0xa6f905(_0x53a171,_0x54cd06,_0x3d345b,_0xdf1d9f,_0x551245,0x11,_0x8744d7[0x2]),_0xdf1d9f=_0xa6f905(_0xdf1d9f,_0x53a171,_0x54cd06,_0x3d345b,_0x158da0,0x16,_0x8744d7[0x3]),_0x3d345b=_0xa6f905(_0x3d345b,_0xdf1d9f,_0x53a171,_0x54cd06,_0x26ff2c,0x7,_0x8744d7[0x4]),_0x54cd06=_0xa6f905(_0x54cd06,_0x3d345b,_0xdf1d9f,_0x53a171,_0x490787,0xc,_0x8744d7[0x5]),_0x53a171=_0xa6f905(_0x53a171,_0x54cd06,_0x3d345b,_0xdf1d9f,_0x134756,0x11,_0x8744d7[0x6]),_0xdf1d9f=_0xa6f905(_0xdf1d9f,_0x53a171,_0x54cd06,_0x3d345b,_0x2312e1,0x16,_0x8744d7[0x7]),_0x3d345b=_0xa6f905(_0x3d345b,_0xdf1d9f,_0x53a171,_0x54cd06,_0x21c5b4,0x7,_0x8744d7[0x8]),_0x54cd06=_0xa6f905(_0x54cd06,_0x3d345b,_0xdf1d9f,_0x53a171,_0x58a83b,0xc,_0x8744d7[0x9]),_0x53a171=_0xa6f905(_0x53a171,_0x54cd06,_0x3d345b,_0xdf1d9f,_0x4c31a7,0x11,_0x8744d7[0xa]),_0xdf1d9f=_0xa6f905(_0xdf1d9f,_0x53a171,_0x54cd06,_0x3d345b,_0x2ff1fb,0x16,_0x8744d7[0xb]),_0x3d345b=_0xa6f905(_0x3d345b,_0xdf1d9f,_0x53a171,_0x54cd06,_0x3c6a40,0x7,_0x8744d7[0xc]),_0x54cd06=_0xa6f905(_0x54cd06,_0x3d345b,_0xdf1d9f,_0x53a171,_0x349969,0xc,_0x8744d7[0xd]),_0x53a171=_0xa6f905(_0x53a171,_0x54cd06,_0x3d345b,_0xdf1d9f,_0x1de818,0x11,_0x8744d7[0xe]),_0xdf1d9f=_0xa6f905(_0xdf1d9f,_0x53a171,_0x54cd06,_0x3d345b,_0x1288e5,0x16,_0x8744d7[0xf]),_0x3d345b=_0x457757(_0x3d345b,_0xdf1d9f,_0x53a171,_0x54cd06,_0x2c057e,0x5,_0x8744d7[0x10]),_0x54cd06=_0x457757(_0x54cd06,_0x3d345b,_0xdf1d9f,_0x53a171,_0x134756,0x9,_0x8744d7[0x11]),_0x53a171=_0x457757(_0x53a171,_0x54cd06,_0x3d345b,_0xdf1d9f,_0x2ff1fb,0xe,_0x8744d7[0x12]),_0xdf1d9f=_0x457757(_0xdf1d9f,_0x53a171,_0x54cd06,_0x3d345b,_0x39364a,0x14,_0x8744d7[0x13]),_0x3d345b=_0x457757(_0x3d345b,_0xdf1d9f,_0x53a171,_0x54cd06,_0x490787,0x5,_0x8744d7[0x14]),_0x54cd06=_0x457757(_0x54cd06,_0x3d345b,_0xdf1d9f,_0x53a171,_0x4c31a7,0x9,_0x8744d7[0x15]),_0x53a171=_0x457757(_0x53a171,_0x54cd06,_0x3d345b,_0xdf1d9f,_0x1288e5,0xe,_0x8744d7[0x16]),_0xdf1d9f=_0x457757(_0xdf1d9f,_0x53a171,_0x54cd06,_0x3d345b,_0x26ff2c,0x14,_0x8744d7[0x17]),_0x3d345b=_0x457757(_0x3d345b,_0xdf1d9f,_0x53a171,_0x54cd06,_0x58a83b,0x5,_0x8744d7[0x18]),_0x54cd06=_0x457757(_0x54cd06,_0x3d345b,_0xdf1d9f,_0x53a171,_0x1de818,0x9,_0x8744d7[0x19]),_0x53a171=_0x457757(_0x53a171,_0x54cd06,_0x3d345b,_0xdf1d9f,_0x158da0,0xe,_0x8744d7[0x1a]),_0xdf1d9f=_0x457757(_0xdf1d9f,_0x53a171,_0x54cd06,_0x3d345b,_0x21c5b4,0x14,_0x8744d7[0x1b]),_0x3d345b=_0x457757(_0x3d345b,_0xdf1d9f,_0x53a171,_0x54cd06,_0x349969,0x5,_0x8744d7[0x1c]),_0x54cd06=_0x457757(_0x54cd06,_0x3d345b,_0xdf1d9f,_0x53a171,_0x551245,0x9,_0x8744d7[0x1d]),_0x53a171=_0x457757(_0x53a171,_0x54cd06,_0x3d345b,_0xdf1d9f,_0x2312e1,0xe,_0x8744d7[0x1e]),_0xdf1d9f=_0x457757(_0xdf1d9f,_0x53a171,_0x54cd06,_0x3d345b,_0x3c6a40,0x14,_0x8744d7[0x1f]),_0x3d345b=_0x55dc1a(_0x3d345b,_0xdf1d9f,_0x53a171,_0x54cd06,_0x490787,0x4,_0x8744d7[0x20]),_0x54cd06=_0x55dc1a(_0x54cd06,_0x3d345b,_0xdf1d9f,_0x53a171,_0x21c5b4,0xb,_0x8744d7[0x21]),_0x53a171=_0x55dc1a(_0x53a171,_0x54cd06,_0x3d345b,_0xdf1d9f,_0x2ff1fb,0x10,_0x8744d7[0x22]),_0xdf1d9f=_0x55dc1a(_0xdf1d9f,_0x53a171,_0x54cd06,_0x3d345b,_0x1de818,0x17,_0x8744d7[0x23]),_0x3d345b=_0x55dc1a(_0x3d345b,_0xdf1d9f,_0x53a171,_0x54cd06,_0x2c057e,0x4,_0x8744d7[0x24]),_0x54cd06=_0x55dc1a(_0x54cd06,_0x3d345b,_0xdf1d9f,_0x53a171,_0x26ff2c,0xb,_0x8744d7[0x25]),_0x53a171=_0x55dc1a(_0x53a171,_0x54cd06,_0x3d345b,_0xdf1d9f,_0x2312e1,0x10,_0x8744d7[0x26]),_0xdf1d9f=_0x55dc1a(_0xdf1d9f,_0x53a171,_0x54cd06,_0x3d345b,_0x4c31a7,0x17,_0x8744d7[0x27]),_0x3d345b=_0x55dc1a(_0x3d345b,_0xdf1d9f,_0x53a171,_0x54cd06,_0x349969,0x4,_0x8744d7[0x28]),_0x54cd06=_0x55dc1a(_0x54cd06,_0x3d345b,_0xdf1d9f,_0x53a171,_0x39364a,0xb,_0x8744d7[0x29]),_0x53a171=_0x55dc1a(_0x53a171,_0x54cd06,_0x3d345b,_0xdf1d9f,_0x158da0,0x10,_0x8744d7[0x2a]),_0xdf1d9f=_0x55dc1a(_0xdf1d9f,_0x53a171,_0x54cd06,_0x3d345b,_0x134756,0x17,_0x8744d7[0x2b]),_0x3d345b=_0x55dc1a(_0x3d345b,_0xdf1d9f,_0x53a171,_0x54cd06,_0x58a83b,0x4,_0x8744d7[0x2c]),_0x54cd06=_0x55dc1a(_0x54cd06,_0x3d345b,_0xdf1d9f,_0x53a171,_0x3c6a40,0xb,_0x8744d7[0x2d]),_0x53a171=_0x55dc1a(_0x53a171,_0x54cd06,_0x3d345b,_0xdf1d9f,_0x1288e5,0x10,_0x8744d7[0x2e]),_0xdf1d9f=_0x55dc1a(_0xdf1d9f,_0x53a171,_0x54cd06,_0x3d345b,_0x551245,0x17,_0x8744d7[0x2f]),_0x3d345b=_0xeca854(_0x3d345b,_0xdf1d9f,_0x53a171,_0x54cd06,_0x39364a,0x6,_0x8744d7[0x30]),_0x54cd06=_0xeca854(_0x54cd06,_0x3d345b,_0xdf1d9f,_0x53a171,_0x2312e1,0xa,_0x8744d7[0x31]),_0x53a171=_0xeca854(_0x53a171,_0x54cd06,_0x3d345b,_0xdf1d9f,_0x1de818,0xf,_0x8744d7[0x32]),_0xdf1d9f=_0xeca854(_0xdf1d9f,_0x53a171,_0x54cd06,_0x3d345b,_0x490787,0x15,_0x8744d7[0x33]),_0x3d345b=_0xeca854(_0x3d345b,_0xdf1d9f,_0x53a171,_0x54cd06,_0x3c6a40,0x6,_0x8744d7[0x34]),_0x54cd06=_0xeca854(_0x54cd06,_0x3d345b,_0xdf1d9f,_0x53a171,_0x158da0,0xa,_0x8744d7[0x35]),_0x53a171=_0xeca854(_0x53a171,_0x54cd06,_0x3d345b,_0xdf1d9f,_0x4c31a7,0xf,_0x8744d7[0x36]),_0xdf1d9f=_0xeca854(_0xdf1d9f,_0x53a171,_0x54cd06,_0x3d345b,_0x2c057e,0x15,_0x8744d7[0x37]),_0x3d345b=_0xeca854(_0x3d345b,_0xdf1d9f,_0x53a171,_0x54cd06,_0x21c5b4,0x6,_0x8744d7[0x38]),_0x54cd06=_0xeca854(_0x54cd06,_0x3d345b,_0xdf1d9f,_0x53a171,_0x1288e5,0xa,_0x8744d7[0x39]),_0x53a171=_0xeca854(_0x53a171,_0x54cd06,_0x3d345b,_0xdf1d9f,_0x134756,0xf,_0x8744d7[0x3a]),_0xdf1d9f=_0xeca854(_0xdf1d9f,_0x53a171,_0x54cd06,_0x3d345b,_0x349969,0x15,_0x8744d7[0x3b]),_0x3d345b=_0xeca854(_0x3d345b,_0xdf1d9f,_0x53a171,_0x54cd06,_0x26ff2c,0x6,_0x8744d7[0x3c]),_0x54cd06=_0xeca854(_0x54cd06,_0x3d345b,_0xdf1d9f,_0x53a171,_0x2ff1fb,0xa,_0x8744d7[0x3d]),_0x53a171=_0xeca854(_0x53a171,_0x54cd06,_0x3d345b,_0xdf1d9f,_0x551245,0xf,_0x8744d7[0x3e]),_0xdf1d9f=_0xeca854(_0xdf1d9f,_0x53a171,_0x54cd06,_0x3d345b,_0x58a83b,0x15,_0x8744d7[0x3f]),_0x37c8e9[0x0]=_0x37c8e9[0x0]+_0x3d345b|0x0,_0x37c8e9[0x1]=_0x37c8e9[0x1]+_0xdf1d9f|0x0,_0x37c8e9[0x2]=_0x37c8e9[0x2]+_0x53a171|0x0,_0x37c8e9[0x3]=_0x37c8e9[0x3]+_0x54cd06|0x0;},'_doFinalize':function(){var _0x441107=_0x397abe,_0x345912=this[_0x441107(0x248)],_0x2891ca=_0x345912[_0x441107(0x450)],_0x2cedcf=this[_0x441107(0x4c3)]*0x8,_0x138aa7=_0x345912['sigBytes']*0x8;_0x2891ca[_0x138aa7>>>0x5]|=0x80<<0x18-_0x138aa7%0x20;var _0x537d07=_0x2f74bf['floor'](_0x2cedcf/0x100000000),_0x579dbd=_0x2cedcf;_0x2891ca[(_0x138aa7+0x40>>>0x9<<0x4)+0xf]=(_0x537d07<<0x8|_0x537d07>>>0x18)&0xff00ff|(_0x537d07<<0x18|_0x537d07>>>0x8)&0xff00ff00,_0x2891ca[(_0x138aa7+0x40>>>0x9<<0x4)+0xe]=(_0x579dbd<<0x8|_0x579dbd>>>0x18)&0xff00ff|(_0x579dbd<<0x18|_0x579dbd>>>0x8)&0xff00ff00,_0x345912[_0x441107(0x317)]=(_0x2891ca[_0x441107(0x3a8)]+0x1)*0x4,this[_0x441107(0x35b)]();for(var _0x4eb3e0=this[_0x441107(0x2ed)],_0x589fa3=_0x4eb3e0[_0x441107(0x450)],_0x183e52=0x0;_0x183e52<0x4;_0x183e52++){var _0x6fb886=_0x589fa3[_0x183e52];_0x589fa3[_0x183e52]=(_0x6fb886<<0x8|_0x6fb886>>>0x18)&0xff00ff|(_0x6fb886<<0x18|_0x6fb886>>>0x8)&0xff00ff00;}return _0x4eb3e0;},'clone':function(){var _0x12a6ad=_0x397abe,_0x142ddd=_0x1db071[_0x12a6ad(0x2bf)][_0x12a6ad(0x345)](this);return _0x142ddd['_hash']=this['_hash'][_0x12a6ad(0x2bf)](),_0x142ddd;}});function _0xa6f905(_0x4bba21,_0x48b1a2,_0x53376b,_0x15d951,_0x1fd1e6,_0x42091d,_0x4783f3){var _0x535724=_0x4bba21+(_0x48b1a2&_0x53376b|~_0x48b1a2&_0x15d951)+_0x1fd1e6+_0x4783f3;return(_0x535724<<_0x42091d|_0x535724>>>0x20-_0x42091d)+_0x48b1a2;}function _0x457757(_0x4c8f6f,_0x12099b,_0x58252b,_0x2f593,_0x5d6229,_0x22bbf7,_0x57a0a5){var _0x4bb178=_0x4c8f6f+(_0x12099b&_0x2f593|_0x58252b&~_0x2f593)+_0x5d6229+_0x57a0a5;return(_0x4bb178<<_0x22bbf7|_0x4bb178>>>0x20-_0x22bbf7)+_0x12099b;}function _0x55dc1a(_0x37e529,_0x45f127,_0x1585d4,_0x3f1e61,_0x1e67db,_0xef0865,_0x37bb07){var _0x2082d7=_0x37e529+(_0x45f127^_0x1585d4^_0x3f1e61)+_0x1e67db+_0x37bb07;return(_0x2082d7<<_0xef0865|_0x2082d7>>>0x20-_0xef0865)+_0x45f127;}function _0xeca854(_0x8fa23e,_0x2aad97,_0x2ee221,_0x2258d1,_0x26a4e1,_0x67c81a,_0x28834c){var _0x2b5386=_0x8fa23e+(_0x2ee221^(_0x2aad97|~_0x2258d1))+_0x26a4e1+_0x28834c;return(_0x2b5386<<_0x67c81a|_0x2b5386>>>0x20-_0x67c81a)+_0x2aad97;}_0x2acded[_0x397abe(0x24d)]=_0x1db071[_0x397abe(0x2b3)](_0x31c1f9),_0x2acded[_0x397abe(0x351)]=_0x1db071[_0x397abe(0x318)](_0x31c1f9);}(Math),_0x20d991[_0x414f1e(0x24d)];}));}(Ye)),Ye[_0x3d626f(0x442)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x24eaf7(0x442)],Xt;function dn(){var _0x54d163=_0x24eaf7;return Xt||(Xt=0x1,function(_0x546f9c,_0x12dfc3){(function(_0x5a16bc,_0xa1af67){var _0x50927f=_0x4e9c;_0x546f9c[_0x50927f(0x442)]=_0xa1af67(te());}(un,function(_0x5987bb){var _0x29d6e4=_0x4e9c;return(function(){var _0x21a772=_0x4e9c,_0x5ecd52=_0x5987bb,_0x3062cb=_0x5ecd52['lib'],_0x35ebeb=_0x3062cb['WordArray'],_0x1ccfa0=_0x3062cb[_0x21a772(0x495)],_0x3fc6ca=_0x5ecd52[_0x21a772(0x280)],_0x26e907=[],_0x1cf132=_0x3fc6ca[_0x21a772(0x216)]=_0x1ccfa0['extend']({'_doReset':function(){var _0x4d4973=_0x21a772;this[_0x4d4973(0x2ed)]=new _0x35ebeb[(_0x4d4973(0x3be))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x31405a,_0x21458f){var _0x130a2f=_0x21a772;for(var _0x57e50a=this[_0x130a2f(0x2ed)][_0x130a2f(0x450)],_0x57b66d=_0x57e50a[0x0],_0x19dc8b=_0x57e50a[0x1],_0x3db11=_0x57e50a[0x2],_0x1b3185=_0x57e50a[0x3],_0x38b6ec=_0x57e50a[0x4],_0x32eb13=0x0;_0x32eb13<0x50;_0x32eb13++){if(_0x32eb13<0x10)_0x26e907[_0x32eb13]=_0x31405a[_0x21458f+_0x32eb13]|0x0;else{var _0x5d2eac=_0x26e907[_0x32eb13-0x3]^_0x26e907[_0x32eb13-0x8]^_0x26e907[_0x32eb13-0xe]^_0x26e907[_0x32eb13-0x10];_0x26e907[_0x32eb13]=_0x5d2eac<<0x1|_0x5d2eac>>>0x1f;}var _0x3e203e=(_0x57b66d<<0x5|_0x57b66d>>>0x1b)+_0x38b6ec+_0x26e907[_0x32eb13];_0x32eb13<0x14?_0x3e203e+=(_0x19dc8b&_0x3db11|~_0x19dc8b&_0x1b3185)+0x5a827999:_0x32eb13<0x28?_0x3e203e+=(_0x19dc8b^_0x3db11^_0x1b3185)+0x6ed9eba1:_0x32eb13<0x3c?_0x3e203e+=(_0x19dc8b&_0x3db11|_0x19dc8b&_0x1b3185|_0x3db11&_0x1b3185)-0x70e44324:_0x3e203e+=(_0x19dc8b^_0x3db11^_0x1b3185)-0x359d3e2a,_0x38b6ec=_0x1b3185,_0x1b3185=_0x3db11,_0x3db11=_0x19dc8b<<0x1e|_0x19dc8b>>>0x2,_0x19dc8b=_0x57b66d,_0x57b66d=_0x3e203e;}_0x57e50a[0x0]=_0x57e50a[0x0]+_0x57b66d|0x0,_0x57e50a[0x1]=_0x57e50a[0x1]+_0x19dc8b|0x0,_0x57e50a[0x2]=_0x57e50a[0x2]+_0x3db11|0x0,_0x57e50a[0x3]=_0x57e50a[0x3]+_0x1b3185|0x0,_0x57e50a[0x4]=_0x57e50a[0x4]+_0x38b6ec|0x0;},'_doFinalize':function(){var _0x4a4c5b=_0x21a772,_0x236ba7=this[_0x4a4c5b(0x248)],_0x1b63b0=_0x236ba7[_0x4a4c5b(0x450)],_0x4e3a35=this[_0x4a4c5b(0x4c3)]*0x8,_0x32f3df=_0x236ba7[_0x4a4c5b(0x317)]*0x8;return _0x1b63b0[_0x32f3df>>>0x5]|=0x80<<0x18-_0x32f3df%0x20,_0x1b63b0[(_0x32f3df+0x40>>>0x9<<0x4)+0xe]=Math[_0x4a4c5b(0x1fb)](_0x4e3a35/0x100000000),_0x1b63b0[(_0x32f3df+0x40>>>0x9<<0x4)+0xf]=_0x4e3a35,_0x236ba7[_0x4a4c5b(0x317)]=_0x1b63b0[_0x4a4c5b(0x3a8)]*0x4,this['_process'](),this[_0x4a4c5b(0x2ed)];},'clone':function(){var _0x3b5731=_0x21a772,_0x188752=_0x1ccfa0['clone'][_0x3b5731(0x345)](this);return _0x188752[_0x3b5731(0x2ed)]=this[_0x3b5731(0x2ed)][_0x3b5731(0x2bf)](),_0x188752;}});_0x5ecd52[_0x21a772(0x216)]=_0x1ccfa0[_0x21a772(0x2b3)](_0x1cf132),_0x5ecd52[_0x21a772(0x279)]=_0x1ccfa0['_createHmacHelper'](_0x1cf132);}()),_0x5987bb[_0x29d6e4(0x216)];}));}(qe)),qe[_0x54d163(0x442)];}var ze={'exports':{}},fn=ze[_0x24eaf7(0x442)],Zt;function vn(){return Zt||(Zt=0x1,function(_0x57d89c,_0x4c022c){(function(_0x2c4670,_0x273b3b){_0x57d89c['exports']=_0x273b3b(te());}(fn,function(_0x3ce756){(function(){var _0x5af9eb=_0x4e9c,_0x49efca=_0x3ce756,_0x5b1242=_0x49efca['lib'],_0x4b02b1=_0x5b1242[_0x5af9eb(0x376)],_0x32219b=_0x49efca[_0x5af9eb(0x2e0)],_0x1c35d2=_0x32219b[_0x5af9eb(0x39a)],_0x5b73e0=_0x49efca[_0x5af9eb(0x280)];_0x5b73e0[_0x5af9eb(0x225)]=_0x4b02b1['extend']({'init':function(_0x133055,_0x26593e){var _0x389cce=_0x5af9eb;_0x133055=this[_0x389cce(0x485)]=new _0x133055['init'](),typeof _0x26593e=='string'&&(_0x26593e=_0x1c35d2[_0x389cce(0x396)](_0x26593e));var _0x287c40=_0x133055[_0x389cce(0x1f3)],_0x34939b=_0x287c40*0x4;_0x26593e[_0x389cce(0x317)]>_0x34939b&&(_0x26593e=_0x133055[_0x389cce(0x4c0)](_0x26593e)),_0x26593e[_0x389cce(0x240)]();for(var _0x338c63=this[_0x389cce(0x3d7)]=_0x26593e['clone'](),_0x456e96=this[_0x389cce(0x433)]=_0x26593e[_0x389cce(0x2bf)](),_0x21f9fc=_0x338c63['words'],_0x2f9b88=_0x456e96[_0x389cce(0x450)],_0x585844=0x0;_0x585844<_0x287c40;_0x585844++)_0x21f9fc[_0x585844]^=0x5c5c5c5c,_0x2f9b88[_0x585844]^=0x36363636;_0x338c63['sigBytes']=_0x456e96['sigBytes']=_0x34939b,this[_0x389cce(0x2cc)]();},'reset':function(){var _0x5153df=_0x5af9eb,_0x46cbdf=this['_hasher'];_0x46cbdf['reset'](),_0x46cbdf[_0x5153df(0x20e)](this[_0x5153df(0x433)]);},'update':function(_0x5c5fff){var _0x56294f=_0x5af9eb;return this[_0x56294f(0x485)]['update'](_0x5c5fff),this;},'finalize':function(_0x58b3bc){var _0x41d0e9=_0x5af9eb,_0x5aa651=this['_hasher'],_0xda6122=_0x5aa651[_0x41d0e9(0x4c0)](_0x58b3bc);_0x5aa651[_0x41d0e9(0x2cc)]();var _0x4d7407=_0x5aa651[_0x41d0e9(0x4c0)](this[_0x41d0e9(0x3d7)][_0x41d0e9(0x2bf)]()[_0x41d0e9(0x473)](_0xda6122));return _0x4d7407;}});}());}));}(ze)),ze['exports'];}var pn=Ke[_0x24eaf7(0x442)],Qt;function Oi(){var _0x405b0f=_0x24eaf7;return Qt||(Qt=0x1,function(_0x20ba29,_0x5a8098){(function(_0x4229ce,_0x2fc490,_0x26ae86){var _0x3d23a2=_0x4e9c;_0x20ba29[_0x3d23a2(0x442)]=_0x2fc490(te(),dn(),vn());}(pn,function(_0x585a2f){var _0x10701f=_0x4e9c;return(function(){var _0x5089ce=_0x4e9c,_0x593b2a=_0x585a2f,_0x99acb2=_0x593b2a[_0x5089ce(0x319)],_0x3f69d8=_0x99acb2[_0x5089ce(0x376)],_0x9ee475=_0x99acb2[_0x5089ce(0x404)],_0x5145a5=_0x593b2a[_0x5089ce(0x280)],_0x318f9b=_0x5145a5[_0x5089ce(0x24d)],_0x3edba2=_0x5145a5[_0x5089ce(0x305)]=_0x3f69d8['extend']({'cfg':_0x3f69d8[_0x5089ce(0x247)]({'keySize':0x80/0x20,'hasher':_0x318f9b,'iterations':0x1}),'init':function(_0x10cabf){var _0x31a6fa=_0x5089ce;this[_0x31a6fa(0x4e1)]=this[_0x31a6fa(0x4e1)][_0x31a6fa(0x247)](_0x10cabf);},'compute':function(_0xab737d,_0x17341e){var _0x23ac65=_0x5089ce;for(var _0x1943a7,_0x222139=this[_0x23ac65(0x4e1)],_0x35baea=_0x222139[_0x23ac65(0x3c1)][_0x23ac65(0x4bb)](),_0x3ff003=_0x9ee475['create'](),_0xf3af1f=_0x3ff003[_0x23ac65(0x450)],_0x1a062b=_0x222139[_0x23ac65(0x431)],_0x15a50d=_0x222139[_0x23ac65(0x424)];_0xf3af1f[_0x23ac65(0x3a8)]<_0x1a062b;){_0x1943a7&&_0x35baea[_0x23ac65(0x20e)](_0x1943a7),_0x1943a7=_0x35baea[_0x23ac65(0x20e)](_0xab737d)['finalize'](_0x17341e),_0x35baea[_0x23ac65(0x2cc)]();for(var _0x4918c3=0x1;_0x4918c3<_0x15a50d;_0x4918c3++)_0x1943a7=_0x35baea[_0x23ac65(0x4c0)](_0x1943a7),_0x35baea['reset']();_0x3ff003[_0x23ac65(0x473)](_0x1943a7);}return _0x3ff003[_0x23ac65(0x317)]=_0x1a062b*0x4,_0x3ff003;}});_0x593b2a[_0x5089ce(0x305)]=function(_0x381c0d,_0x203e91,_0x4b0dfb){var _0x51458d=_0x5089ce;return _0x3edba2[_0x51458d(0x4bb)](_0x4b0dfb)[_0x51458d(0x3c4)](_0x381c0d,_0x203e91);};}()),_0x585a2f[_0x10701f(0x305)];}));}(Ke)),Ke[_0x405b0f(0x442)];}var Je={'exports':{}},mn=Je[_0x24eaf7(0x442)],ei;function bi(){var _0x1f4f7e=_0x24eaf7;return ei||(ei=0x1,function(_0x13968a,_0x1bfc83){(function(_0x279e9d,_0x21b593,_0x179f8b){_0x13968a['exports']=_0x21b593(te(),Oi());}(mn,function(_0x4f0dea){var _0x2cecb9=_0x4e9c;_0x4f0dea[_0x2cecb9(0x319)][_0x2cecb9(0x466)]||function(_0x2b4268){var _0x1197df=_0x2cecb9,_0x148bd1=_0x4f0dea,_0x5ab58a=_0x148bd1[_0x1197df(0x319)],_0x543db5=_0x5ab58a['Base'],_0x1a5dad=_0x5ab58a[_0x1197df(0x404)],_0x4886ab=_0x5ab58a[_0x1197df(0x45f)],_0x4888a3=_0x148bd1[_0x1197df(0x2e0)];_0x4888a3[_0x1197df(0x39a)];var _0x4cf5a3=_0x4888a3[_0x1197df(0x4d8)],_0x4a16a5=_0x148bd1[_0x1197df(0x280)],_0x1725ba=_0x4a16a5[_0x1197df(0x305)],_0x2c2310=_0x5ab58a[_0x1197df(0x466)]=_0x4886ab[_0x1197df(0x247)]({'cfg':_0x543db5[_0x1197df(0x247)](),'createEncryptor':function(_0x72b929,_0x1bef37){var _0x7df12b=_0x1197df;return this[_0x7df12b(0x4bb)](this[_0x7df12b(0x1e8)],_0x72b929,_0x1bef37);},'createDecryptor':function(_0x1531c1,_0x3a9f70){var _0x47472f=_0x1197df;return this[_0x47472f(0x4bb)](this['_DEC_XFORM_MODE'],_0x1531c1,_0x3a9f70);},'init':function(_0x328a43,_0x5eede9,_0x3e08bd){var _0x8e4dcd=_0x1197df;this[_0x8e4dcd(0x4e1)]=this[_0x8e4dcd(0x4e1)][_0x8e4dcd(0x247)](_0x3e08bd),this['_xformMode']=_0x328a43,this[_0x8e4dcd(0x43b)]=_0x5eede9,this[_0x8e4dcd(0x2cc)]();},'reset':function(){var _0x17842a=_0x1197df;_0x4886ab[_0x17842a(0x2cc)][_0x17842a(0x345)](this),this['_doReset']();},'process':function(_0x3fbcce){var _0x2674ed=_0x1197df;return this[_0x2674ed(0x4cd)](_0x3fbcce),this[_0x2674ed(0x35b)]();},'finalize':function(_0x45528b){var _0x2998cc=_0x1197df;_0x45528b&&this[_0x2998cc(0x4cd)](_0x45528b);var _0x5c1f45=this[_0x2998cc(0x213)]();return _0x5c1f45;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xbfebd4(_0x18c0d6){var _0x1b8264=_0x4e9c;return typeof _0x18c0d6==_0x1b8264(0x336)?_0x590607:_0x213525;}return function(_0x5489d0){return{'encrypt':function(_0x3552da,_0x3928c1,_0x5a216c){return _0xbfebd4(_0x3928c1)['encrypt'](_0x5489d0,_0x3552da,_0x3928c1,_0x5a216c);},'decrypt':function(_0x3f3af2,_0xc2a187,_0x525b18){return _0xbfebd4(_0xc2a187)['decrypt'](_0x5489d0,_0x3f3af2,_0xc2a187,_0x525b18);}};};}())});_0x5ab58a['StreamCipher']=_0x2c2310[_0x1197df(0x247)]({'_doFinalize':function(){var _0x321def=_0x1197df,_0x3eaeeb=this[_0x321def(0x35b)](!0x0);return _0x3eaeeb;},'blockSize':0x1});var _0x94ac68=_0x148bd1['mode']={},_0x61e08f=_0x5ab58a[_0x1197df(0x264)]=_0x543db5[_0x1197df(0x247)]({'createEncryptor':function(_0xafc7c,_0x558f5f){var _0x3fafac=_0x1197df;return this['Encryptor'][_0x3fafac(0x4bb)](_0xafc7c,_0x558f5f);},'createDecryptor':function(_0x31051a,_0x4d5a38){var _0x3b784b=_0x1197df;return this[_0x3b784b(0x43a)][_0x3b784b(0x4bb)](_0x31051a,_0x4d5a38);},'init':function(_0xe344ad,_0x4f404b){var _0x205fb9=_0x1197df;this[_0x205fb9(0x4ae)]=_0xe344ad,this['_iv']=_0x4f404b;}}),_0xf5d64b=_0x94ac68[_0x1197df(0x263)]=(function(){var _0x25ba8d=_0x1197df,_0x2e82de=_0x61e08f[_0x25ba8d(0x247)]();_0x2e82de[_0x25ba8d(0x29f)]=_0x2e82de['extend']({'processBlock':function(_0x36f3db,_0x2bbdb4){var _0x5770c2=_0x25ba8d,_0x36a919=this['_cipher'],_0x5db59d=_0x36a919['blockSize'];_0xb7d08a[_0x5770c2(0x345)](this,_0x36f3db,_0x2bbdb4,_0x5db59d),_0x36a919[_0x5770c2(0x1eb)](_0x36f3db,_0x2bbdb4),this[_0x5770c2(0x22a)]=_0x36f3db[_0x5770c2(0x329)](_0x2bbdb4,_0x2bbdb4+_0x5db59d);}}),_0x2e82de[_0x25ba8d(0x43a)]=_0x2e82de['extend']({'processBlock':function(_0x2e5cda,_0x376098){var _0x3ad226=_0x25ba8d,_0x49304b=this['_cipher'],_0x185ebe=_0x49304b[_0x3ad226(0x1f3)],_0x4a1474=_0x2e5cda[_0x3ad226(0x329)](_0x376098,_0x376098+_0x185ebe);_0x49304b['decryptBlock'](_0x2e5cda,_0x376098),_0xb7d08a[_0x3ad226(0x345)](this,_0x2e5cda,_0x376098,_0x185ebe),this[_0x3ad226(0x22a)]=_0x4a1474;}});function _0xb7d08a(_0x188a2e,_0x45f21b,_0x18324d){var _0x163a1b=_0x25ba8d,_0x39dc58,_0x4501d5=this['_iv'];_0x4501d5?(_0x39dc58=_0x4501d5,this['_iv']=_0x2b4268):_0x39dc58=this[_0x163a1b(0x22a)];for(var _0x11d270=0x0;_0x11d270<_0x18324d;_0x11d270++)_0x188a2e[_0x45f21b+_0x11d270]^=_0x39dc58[_0x11d270];}return _0x2e82de;}()),_0xbc234=_0x148bd1['pad']={},_0xeec7d=_0xbc234[_0x1197df(0x22e)]={'pad':function(_0x4a0f39,_0x1829dd){var _0x5d96b0=_0x1197df;for(var _0x198cfd=_0x1829dd*0x4,_0x168899=_0x198cfd-_0x4a0f39['sigBytes']%_0x198cfd,_0x3f1584=_0x168899<<0x18|_0x168899<<0x10|_0x168899<<0x8|_0x168899,_0x330018=[],_0x19b914=0x0;_0x19b914<_0x168899;_0x19b914+=0x4)_0x330018[_0x5d96b0(0x3b0)](_0x3f1584);var _0x25be39=_0x1a5dad[_0x5d96b0(0x4bb)](_0x330018,_0x168899);_0x4a0f39['concat'](_0x25be39);},'unpad':function(_0x576ecc){var _0x403c4b=_0x1197df,_0x2c6faf=_0x576ecc['words'][_0x576ecc[_0x403c4b(0x317)]-0x1>>>0x2]&0xff;_0x576ecc[_0x403c4b(0x317)]-=_0x2c6faf;}};_0x5ab58a[_0x1197df(0x4af)]=_0x2c2310['extend']({'cfg':_0x2c2310['cfg']['extend']({'mode':_0xf5d64b,'padding':_0xeec7d}),'reset':function(){var _0xc03f9c=_0x1197df,_0x52dfeb;_0x2c2310[_0xc03f9c(0x2cc)][_0xc03f9c(0x345)](this);var _0x5df7a1=this[_0xc03f9c(0x4e1)],_0x332181=_0x5df7a1['iv'],_0x13d831=_0x5df7a1[_0xc03f9c(0x2b2)];this[_0xc03f9c(0x3b9)]==this[_0xc03f9c(0x1e8)]?_0x52dfeb=_0x13d831[_0xc03f9c(0x2f2)]:(_0x52dfeb=_0x13d831['createDecryptor'],this['_minBufferSize']=0x1),this['_mode']&&this[_0xc03f9c(0x4d4)][_0xc03f9c(0x233)]==_0x52dfeb?this[_0xc03f9c(0x4d4)][_0xc03f9c(0x3be)](this,_0x332181&&_0x332181['words']):(this[_0xc03f9c(0x4d4)]=_0x52dfeb[_0xc03f9c(0x345)](_0x13d831,this,_0x332181&&_0x332181[_0xc03f9c(0x450)]),this[_0xc03f9c(0x4d4)][_0xc03f9c(0x233)]=_0x52dfeb);},'_doProcessBlock':function(_0x2724aa,_0x222873){var _0xab3627=_0x1197df;this['_mode'][_0xab3627(0x4b6)](_0x2724aa,_0x222873);},'_doFinalize':function(){var _0x251d57=_0x1197df,_0x19e570,_0x4f9b8f=this['cfg'][_0x251d57(0x3bd)];return this[_0x251d57(0x3b9)]==this[_0x251d57(0x1e8)]?(_0x4f9b8f['pad'](this[_0x251d57(0x248)],this[_0x251d57(0x1f3)]),_0x19e570=this[_0x251d57(0x35b)](!0x0)):(_0x19e570=this[_0x251d57(0x35b)](!0x0),_0x4f9b8f[_0x251d57(0x288)](_0x19e570)),_0x19e570;},'blockSize':0x80/0x20});var _0xd67f05=_0x5ab58a[_0x1197df(0x3b4)]=_0x543db5[_0x1197df(0x247)]({'init':function(_0x6aedf9){this['mixIn'](_0x6aedf9);},'toString':function(_0x535122){var _0x1ebc4c=_0x1197df;return(_0x535122||this['formatter'])[_0x1ebc4c(0x4c4)](this);}}),_0x3d2dc4=_0x148bd1[_0x1197df(0x3c8)]={},_0x5696a0=_0x3d2dc4[_0x1197df(0x47a)]={'stringify':function(_0x21ae34){var _0x45e917=_0x1197df,_0x4e6999,_0xcd14dc=_0x21ae34[_0x45e917(0x342)],_0x303632=_0x21ae34[_0x45e917(0x205)];return _0x303632?_0x4e6999=_0x1a5dad[_0x45e917(0x4bb)]([0x53616c74,0x65645f5f])[_0x45e917(0x473)](_0x303632)[_0x45e917(0x473)](_0xcd14dc):_0x4e6999=_0xcd14dc,_0x4e6999[_0x45e917(0x33a)](_0x4cf5a3);},'parse':function(_0x592554){var _0x20def1=_0x1197df,_0x3f7f04,_0x4ce496=_0x4cf5a3[_0x20def1(0x396)](_0x592554),_0x29a775=_0x4ce496[_0x20def1(0x450)];return _0x29a775[0x0]==0x53616c74&&_0x29a775[0x1]==0x65645f5f&&(_0x3f7f04=_0x1a5dad[_0x20def1(0x4bb)](_0x29a775[_0x20def1(0x329)](0x2,0x4)),_0x29a775['splice'](0x0,0x4),_0x4ce496[_0x20def1(0x317)]-=0x10),_0xd67f05[_0x20def1(0x4bb)]({'ciphertext':_0x4ce496,'salt':_0x3f7f04});}},_0x213525=_0x5ab58a[_0x1197df(0x200)]=_0x543db5[_0x1197df(0x247)]({'cfg':_0x543db5[_0x1197df(0x247)]({'format':_0x5696a0}),'encrypt':function(_0x234f58,_0x31a9f8,_0x308975,_0x125ad1){var _0x103790=_0x1197df;_0x125ad1=this[_0x103790(0x4e1)][_0x103790(0x247)](_0x125ad1);var _0x4fcc02=_0x234f58[_0x103790(0x2f2)](_0x308975,_0x125ad1),_0x526913=_0x4fcc02[_0x103790(0x4c0)](_0x31a9f8),_0x389306=_0x4fcc02[_0x103790(0x4e1)];return _0xd67f05[_0x103790(0x4bb)]({'ciphertext':_0x526913,'key':_0x308975,'iv':_0x389306['iv'],'algorithm':_0x234f58,'mode':_0x389306[_0x103790(0x2b2)],'padding':_0x389306['padding'],'blockSize':_0x234f58['blockSize'],'formatter':_0x125ad1[_0x103790(0x3c8)]});},'decrypt':function(_0x40846e,_0x5e61ac,_0x150cb2,_0x2f8387){var _0x40083e=_0x1197df;_0x2f8387=this['cfg'][_0x40083e(0x247)](_0x2f8387),_0x5e61ac=this[_0x40083e(0x250)](_0x5e61ac,_0x2f8387[_0x40083e(0x3c8)]);var _0x368878=_0x40846e[_0x40083e(0x311)](_0x150cb2,_0x2f8387)['finalize'](_0x5e61ac[_0x40083e(0x342)]);return _0x368878;},'_parse':function(_0x533144,_0x114394){var _0x4761d6=_0x1197df;return typeof _0x533144==_0x4761d6(0x336)?_0x114394[_0x4761d6(0x396)](_0x533144,this):_0x533144;}}),_0x205ddf=_0x148bd1['kdf']={},_0x552dfe=_0x205ddf[_0x1197df(0x47a)]={'execute':function(_0x94ba21,_0x49f4df,_0x23d7a3,_0x4dcd81,_0x1e8601){var _0x264b76=_0x1197df;if(_0x4dcd81||(_0x4dcd81=_0x1a5dad['random'](0x40/0x8)),_0x1e8601)var _0x49e0bf=_0x1725ba[_0x264b76(0x4bb)]({'keySize':_0x49f4df+_0x23d7a3,'hasher':_0x1e8601})[_0x264b76(0x3c4)](_0x94ba21,_0x4dcd81);else var _0x49e0bf=_0x1725ba[_0x264b76(0x4bb)]({'keySize':_0x49f4df+_0x23d7a3})['compute'](_0x94ba21,_0x4dcd81);var _0x3be59c=_0x1a5dad[_0x264b76(0x4bb)](_0x49e0bf[_0x264b76(0x450)]['slice'](_0x49f4df),_0x23d7a3*0x4);return _0x49e0bf[_0x264b76(0x317)]=_0x49f4df*0x4,_0xd67f05[_0x264b76(0x4bb)]({'key':_0x49e0bf,'iv':_0x3be59c,'salt':_0x4dcd81});}},_0x590607=_0x5ab58a['PasswordBasedCipher']=_0x213525[_0x1197df(0x247)]({'cfg':_0x213525[_0x1197df(0x4e1)][_0x1197df(0x247)]({'kdf':_0x552dfe}),'encrypt':function(_0x24aea3,_0x2780e0,_0x4a6829,_0x60d4c3){var _0x4df3f9=_0x1197df;_0x60d4c3=this['cfg']['extend'](_0x60d4c3);var _0xcf718=_0x60d4c3[_0x4df3f9(0x4b7)][_0x4df3f9(0x430)](_0x4a6829,_0x24aea3[_0x4df3f9(0x431)],_0x24aea3[_0x4df3f9(0x373)],_0x60d4c3[_0x4df3f9(0x205)],_0x60d4c3[_0x4df3f9(0x3c1)]);_0x60d4c3['iv']=_0xcf718['iv'];var _0x290de1=_0x213525[_0x4df3f9(0x4be)][_0x4df3f9(0x345)](this,_0x24aea3,_0x2780e0,_0xcf718['key'],_0x60d4c3);return _0x290de1[_0x4df3f9(0x290)](_0xcf718),_0x290de1;},'decrypt':function(_0x5ea9ca,_0x41a89a,_0x3b1748,_0x39fbcb){var _0xf1cb28=_0x1197df;_0x39fbcb=this[_0xf1cb28(0x4e1)][_0xf1cb28(0x247)](_0x39fbcb),_0x41a89a=this[_0xf1cb28(0x250)](_0x41a89a,_0x39fbcb[_0xf1cb28(0x3c8)]);var _0x3d2b80=_0x39fbcb[_0xf1cb28(0x4b7)][_0xf1cb28(0x430)](_0x3b1748,_0x5ea9ca[_0xf1cb28(0x431)],_0x5ea9ca[_0xf1cb28(0x373)],_0x41a89a[_0xf1cb28(0x205)],_0x39fbcb[_0xf1cb28(0x3c1)]);_0x39fbcb['iv']=_0x3d2b80['iv'];var _0x2186fd=_0x213525['decrypt'][_0xf1cb28(0x345)](this,_0x5ea9ca,_0x41a89a,_0x3d2b80[_0xf1cb28(0x309)],_0x39fbcb);return _0x2186fd;}});}();}));}(Je)),Je[_0x1f4f7e(0x442)];}var gn=Ve['exports'],ti;function Sn(){return ti||(ti=0x1,function(_0x4a6fa2,_0x15bc41){(function(_0x52f74b,_0x549850,_0x2df53e){var _0x569bf5=_0x4e9c;_0x4a6fa2[_0x569bf5(0x442)]=_0x549850(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x16fdc1){var _0x35fdc3=_0x4e9c;return(function(){var _0xc7ca10=_0x4e9c,_0x188c99=_0x16fdc1,_0x33b71b=_0x188c99[_0xc7ca10(0x319)],_0x3aea41=_0x33b71b[_0xc7ca10(0x4af)],_0x215cf7=_0x188c99['algo'],_0x369022=[],_0x3f4439=[],_0x59acf8=[],_0x34976a=[],_0x26cbc9=[],_0x3e963c=[],_0x96935a=[],_0x31fdf9=[],_0x33ee4e=[],_0x3f9408=[];(function(){for(var _0x24d12b=[],_0xdbf0f3=0x0;_0xdbf0f3<0x100;_0xdbf0f3++)_0xdbf0f3<0x80?_0x24d12b[_0xdbf0f3]=_0xdbf0f3<<0x1:_0x24d12b[_0xdbf0f3]=_0xdbf0f3<<0x1^0x11b;for(var _0xfd5aeb=0x0,_0x46800f=0x0,_0xdbf0f3=0x0;_0xdbf0f3<0x100;_0xdbf0f3++){var _0xb1b5d9=_0x46800f^_0x46800f<<0x1^_0x46800f<<0x2^_0x46800f<<0x3^_0x46800f<<0x4;_0xb1b5d9=_0xb1b5d9>>>0x8^_0xb1b5d9&0xff^0x63,_0x369022[_0xfd5aeb]=_0xb1b5d9,_0x3f4439[_0xb1b5d9]=_0xfd5aeb;var _0x47d5ef=_0x24d12b[_0xfd5aeb],_0x145069=_0x24d12b[_0x47d5ef],_0x53a8eb=_0x24d12b[_0x145069],_0x26135d=_0x24d12b[_0xb1b5d9]*0x101^_0xb1b5d9*0x1010100;_0x59acf8[_0xfd5aeb]=_0x26135d<<0x18|_0x26135d>>>0x8,_0x34976a[_0xfd5aeb]=_0x26135d<<0x10|_0x26135d>>>0x10,_0x26cbc9[_0xfd5aeb]=_0x26135d<<0x8|_0x26135d>>>0x18,_0x3e963c[_0xfd5aeb]=_0x26135d;var _0x26135d=_0x53a8eb*0x1010101^_0x145069*0x10001^_0x47d5ef*0x101^_0xfd5aeb*0x1010100;_0x96935a[_0xb1b5d9]=_0x26135d<<0x18|_0x26135d>>>0x8,_0x31fdf9[_0xb1b5d9]=_0x26135d<<0x10|_0x26135d>>>0x10,_0x33ee4e[_0xb1b5d9]=_0x26135d<<0x8|_0x26135d>>>0x18,_0x3f9408[_0xb1b5d9]=_0x26135d,_0xfd5aeb?(_0xfd5aeb=_0x47d5ef^_0x24d12b[_0x24d12b[_0x24d12b[_0x53a8eb^_0x47d5ef]]],_0x46800f^=_0x24d12b[_0x24d12b[_0x46800f]]):_0xfd5aeb=_0x46800f=0x1;}}());var _0x3d8170=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x58e21a=_0x215cf7[_0xc7ca10(0x368)]=_0x3aea41[_0xc7ca10(0x247)]({'_doReset':function(){var _0x36ebdd=_0xc7ca10,_0x18b90b;if(!(this[_0x36ebdd(0x35a)]&&this[_0x36ebdd(0x2be)]===this['_key'])){for(var _0x341a8e=this[_0x36ebdd(0x2be)]=this[_0x36ebdd(0x43b)],_0x4d85e2=_0x341a8e[_0x36ebdd(0x450)],_0x2abce5=_0x341a8e[_0x36ebdd(0x317)]/0x4,_0x2ba0bd=this[_0x36ebdd(0x35a)]=_0x2abce5+0x6,_0x1f1d72=(_0x2ba0bd+0x1)*0x4,_0x4d392d=this[_0x36ebdd(0x24b)]=[],_0xe30006=0x0;_0xe30006<_0x1f1d72;_0xe30006++)_0xe30006<_0x2abce5?_0x4d392d[_0xe30006]=_0x4d85e2[_0xe30006]:(_0x18b90b=_0x4d392d[_0xe30006-0x1],_0xe30006%_0x2abce5?_0x2abce5>0x6&&_0xe30006%_0x2abce5==0x4&&(_0x18b90b=_0x369022[_0x18b90b>>>0x18]<<0x18|_0x369022[_0x18b90b>>>0x10&0xff]<<0x10|_0x369022[_0x18b90b>>>0x8&0xff]<<0x8|_0x369022[_0x18b90b&0xff]):(_0x18b90b=_0x18b90b<<0x8|_0x18b90b>>>0x18,_0x18b90b=_0x369022[_0x18b90b>>>0x18]<<0x18|_0x369022[_0x18b90b>>>0x10&0xff]<<0x10|_0x369022[_0x18b90b>>>0x8&0xff]<<0x8|_0x369022[_0x18b90b&0xff],_0x18b90b^=_0x3d8170[_0xe30006/_0x2abce5|0x0]<<0x18),_0x4d392d[_0xe30006]=_0x4d392d[_0xe30006-_0x2abce5]^_0x18b90b);for(var _0x2198f6=this['_invKeySchedule']=[],_0x3202ca=0x0;_0x3202ca<_0x1f1d72;_0x3202ca++){var _0xe30006=_0x1f1d72-_0x3202ca;if(_0x3202ca%0x4)var _0x18b90b=_0x4d392d[_0xe30006];else var _0x18b90b=_0x4d392d[_0xe30006-0x4];_0x3202ca<0x4||_0xe30006<=0x4?_0x2198f6[_0x3202ca]=_0x18b90b:_0x2198f6[_0x3202ca]=_0x96935a[_0x369022[_0x18b90b>>>0x18]]^_0x31fdf9[_0x369022[_0x18b90b>>>0x10&0xff]]^_0x33ee4e[_0x369022[_0x18b90b>>>0x8&0xff]]^_0x3f9408[_0x369022[_0x18b90b&0xff]];}}},'encryptBlock':function(_0x5ae8d8,_0x2e83c6){var _0x23877f=_0xc7ca10;this[_0x23877f(0x469)](_0x5ae8d8,_0x2e83c6,this[_0x23877f(0x24b)],_0x59acf8,_0x34976a,_0x26cbc9,_0x3e963c,_0x369022);},'decryptBlock':function(_0xb2b844,_0x3f7900){var _0x5c2525=_0xc7ca10,_0x2ec5f6=_0xb2b844[_0x3f7900+0x1];_0xb2b844[_0x3f7900+0x1]=_0xb2b844[_0x3f7900+0x3],_0xb2b844[_0x3f7900+0x3]=_0x2ec5f6,this[_0x5c2525(0x469)](_0xb2b844,_0x3f7900,this[_0x5c2525(0x46c)],_0x96935a,_0x31fdf9,_0x33ee4e,_0x3f9408,_0x3f4439);var _0x2ec5f6=_0xb2b844[_0x3f7900+0x1];_0xb2b844[_0x3f7900+0x1]=_0xb2b844[_0x3f7900+0x3],_0xb2b844[_0x3f7900+0x3]=_0x2ec5f6;},'_doCryptBlock':function(_0x47780f,_0x2fa161,_0x192219,_0x5ed7fe,_0x1ab39e,_0x27e288,_0x87cfa4,_0x4ba966){var _0x3bf510=_0xc7ca10;for(var _0x2c3eae=this[_0x3bf510(0x35a)],_0x577d3c=_0x47780f[_0x2fa161]^_0x192219[0x0],_0x30c07c=_0x47780f[_0x2fa161+0x1]^_0x192219[0x1],_0x496082=_0x47780f[_0x2fa161+0x2]^_0x192219[0x2],_0x326b47=_0x47780f[_0x2fa161+0x3]^_0x192219[0x3],_0xb05d7c=0x4,_0x411997=0x1;_0x411997<_0x2c3eae;_0x411997++){var _0x2177ff=_0x5ed7fe[_0x577d3c>>>0x18]^_0x1ab39e[_0x30c07c>>>0x10&0xff]^_0x27e288[_0x496082>>>0x8&0xff]^_0x87cfa4[_0x326b47&0xff]^_0x192219[_0xb05d7c++],_0x2cc7d1=_0x5ed7fe[_0x30c07c>>>0x18]^_0x1ab39e[_0x496082>>>0x10&0xff]^_0x27e288[_0x326b47>>>0x8&0xff]^_0x87cfa4[_0x577d3c&0xff]^_0x192219[_0xb05d7c++],_0x147de9=_0x5ed7fe[_0x496082>>>0x18]^_0x1ab39e[_0x326b47>>>0x10&0xff]^_0x27e288[_0x577d3c>>>0x8&0xff]^_0x87cfa4[_0x30c07c&0xff]^_0x192219[_0xb05d7c++],_0x3726e5=_0x5ed7fe[_0x326b47>>>0x18]^_0x1ab39e[_0x577d3c>>>0x10&0xff]^_0x27e288[_0x30c07c>>>0x8&0xff]^_0x87cfa4[_0x496082&0xff]^_0x192219[_0xb05d7c++];_0x577d3c=_0x2177ff,_0x30c07c=_0x2cc7d1,_0x496082=_0x147de9,_0x326b47=_0x3726e5;}var _0x2177ff=(_0x4ba966[_0x577d3c>>>0x18]<<0x18|_0x4ba966[_0x30c07c>>>0x10&0xff]<<0x10|_0x4ba966[_0x496082>>>0x8&0xff]<<0x8|_0x4ba966[_0x326b47&0xff])^_0x192219[_0xb05d7c++],_0x2cc7d1=(_0x4ba966[_0x30c07c>>>0x18]<<0x18|_0x4ba966[_0x496082>>>0x10&0xff]<<0x10|_0x4ba966[_0x326b47>>>0x8&0xff]<<0x8|_0x4ba966[_0x577d3c&0xff])^_0x192219[_0xb05d7c++],_0x147de9=(_0x4ba966[_0x496082>>>0x18]<<0x18|_0x4ba966[_0x326b47>>>0x10&0xff]<<0x10|_0x4ba966[_0x577d3c>>>0x8&0xff]<<0x8|_0x4ba966[_0x30c07c&0xff])^_0x192219[_0xb05d7c++],_0x3726e5=(_0x4ba966[_0x326b47>>>0x18]<<0x18|_0x4ba966[_0x577d3c>>>0x10&0xff]<<0x10|_0x4ba966[_0x30c07c>>>0x8&0xff]<<0x8|_0x4ba966[_0x496082&0xff])^_0x192219[_0xb05d7c++];_0x47780f[_0x2fa161]=_0x2177ff,_0x47780f[_0x2fa161+0x1]=_0x2cc7d1,_0x47780f[_0x2fa161+0x2]=_0x147de9,_0x47780f[_0x2fa161+0x3]=_0x3726e5;},'keySize':0x100/0x20});_0x188c99[_0xc7ca10(0x368)]=_0x3aea41[_0xc7ca10(0x2b3)](_0x58e21a);}()),_0x16fdc1[_0x35fdc3(0x368)];}));}(Ve)),Ve['exports'];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x24eaf7(0x442)],si;function Rn(){var _0x60ad3c=_0x24eaf7;return si||(si=0x1,function(_0xeb0a5f,_0x8114de){(function(_0x3a9725,_0x121173){_0xeb0a5f['exports']=_0x121173(te());}(Cn,function(_0x20f12d){var _0xabfd71=_0x4e9c;return _0x20f12d[_0xabfd71(0x2e0)][_0xabfd71(0x39a)];}));}(Xe)),Xe[_0x60ad3c(0x442)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze['exports'],ni;function Nn(){var _0x26a1ad=_0x24eaf7;return ni||(ni=0x1,function(_0xad4261,_0x3f3495){(function(_0x4eafb5,_0x578566){_0xad4261['exports']=_0x578566(te());}(yn,function(_0x59b627){var _0x2e28ca=_0x4e9c;return(function(){var _0x47ef0e=_0x4e9c;if(typeof ArrayBuffer=='function'){var _0x3980d9=_0x59b627,_0x2aed45=_0x3980d9[_0x47ef0e(0x319)],_0x2df0f6=_0x2aed45[_0x47ef0e(0x404)],_0x528933=_0x2df0f6['init'],_0x184049=_0x2df0f6['init']=function(_0x18d0c4){var _0x306cd9=_0x47ef0e;if(_0x18d0c4 instanceof ArrayBuffer&&(_0x18d0c4=new Uint8Array(_0x18d0c4)),(_0x18d0c4 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x18d0c4 instanceof Uint8ClampedArray||_0x18d0c4 instanceof Int16Array||_0x18d0c4 instanceof Uint16Array||_0x18d0c4 instanceof Int32Array||_0x18d0c4 instanceof Uint32Array||_0x18d0c4 instanceof Float32Array||_0x18d0c4 instanceof Float64Array)&&(_0x18d0c4=new Uint8Array(_0x18d0c4[_0x306cd9(0x335)],_0x18d0c4[_0x306cd9(0x304)],_0x18d0c4['byteLength'])),_0x18d0c4 instanceof Uint8Array){for(var _0x3f850c=_0x18d0c4[_0x306cd9(0x3f3)],_0x5ed4ab=[],_0x30cafe=0x0;_0x30cafe<_0x3f850c;_0x30cafe++)_0x5ed4ab[_0x30cafe>>>0x2]|=_0x18d0c4[_0x30cafe]<<0x18-_0x30cafe%0x4*0x8;_0x528933[_0x306cd9(0x345)](this,_0x5ed4ab,_0x3f850c);}else _0x528933[_0x306cd9(0x1f9)](this,arguments);};_0x184049[_0x47ef0e(0x4a7)]=_0x2df0f6;}}()),_0x59b627[_0x2e28ca(0x319)][_0x2e28ca(0x404)];}));}(Ze)),Ze[_0x26a1ad(0x442)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0x24eaf7(0x442)],ri;function wn(){var _0x54ef1a=_0x24eaf7;return ri||(ri=0x1,function(_0x291618,_0x57966b){(function(_0xb925f8,_0x1cffac,_0x4310d0){var _0x52ccdc=_0x4e9c;_0x291618[_0x52ccdc(0x442)]=_0x1cffac(te(),bi());}(An,function(_0x2d9162){var _0x301f95=_0x4e9c;return _0x2d9162[_0x301f95(0x325)][_0x301f95(0x34a)]={'pad':function(){},'unpad':function(){}},_0x2d9162[_0x301f95(0x325)]['NoPadding'];}));}(Qe)),Qe[_0x54ef1a(0x442)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x5d4ef3,_0x12791d){var _0x324c19=_0x24eaf7;const _0x1412a2=_0x12791d-_0x5d4ef3[_0x324c19(0x3a8)]%_0x12791d,_0x4c0ed6=String[_0x324c19(0x394)](_0x1412a2)[_0x324c19(0x48a)](_0x1412a2);return _0x5d4ef3+_0x4c0ed6;}function xn(_0x41ff87,_0x124ecc){var _0x38148b=_0x24eaf7;const _0x3617a9=Un[_0x38148b(0x1fc)](0x10),_0x849fe4=Ln(_0x41ff87,0x10),_0x2c54e1=In[_0x38148b(0x4be)](bn[_0x38148b(0x396)](_0x849fe4),ii[_0x38148b(0x396)](_0x124ecc),{'iv':_0x3617a9,'padding':Mn});return _0x3617a9[_0x38148b(0x473)](_0x2c54e1[_0x38148b(0x342)])[_0x38148b(0x33a)](ii);}function kn(){var _0x4181a5=_0x24eaf7;const _0x4fb02c=_0x1ac094()['__Key__'];if(_0x4fb02c){const _0x3d2dda={'time':Math[_0x4181a5(0x1fb)](Date[_0x4181a5(0x211)]()/0x3e8),'domain':location['hostname']};return xn(JSON['stringify'](_0x3d2dda),_0x4fb02c);}}var $n=Object[_0x24eaf7(0x346)],Hn=(_0x4d72fb,_0x58d3c8,_0x49b2f3,_0x32c5ac)=>{var _0x27e3dd=_0x24eaf7;for(var _0x307b70=_0x32c5ac>0x1?void 0x0:_0x32c5ac?$n(_0x58d3c8,_0x49b2f3):_0x58d3c8,_0x15828c=_0x4d72fb[_0x27e3dd(0x3a8)]-0x1,_0x4b8a80;_0x15828c>=0x0;_0x15828c--)(_0x4b8a80=_0x4d72fb[_0x15828c])&&(_0x307b70=_0x4b8a80(_0x307b70)||_0x307b70);return _0x307b70;},Bn=(_0x323541,_0x45f6ed)=>(_0x1de663,_0x3f3b77)=>_0x45f6ed(_0x1de663,_0x3f3b77,_0x323541);let at=class{constructor(_0x1cfdd8){var _0x13cab9=_0x24eaf7;this['_httpService']=_0x1cfdd8,this[_0x13cab9(0x4a9)]();}[_0x24eaf7(0x4a9)](){var _0x33bd2a=_0x24eaf7;this['_httpService'][_0x33bd2a(0x36b)]({'interceptor':(_0x5df3f0,_0x32506b)=>{var _0x506185=_0x33bd2a;const _0x254d15=_0x5df3f0[_0x506185(0x32b)],_0x2ece46=kn();return _0x2ece46&&_0x254d15[_0x506185(0x347)](_0x506185(0x480),_0x2ece46),_0x32506b(_0x5df3f0);}});}};at=Hn([Bn(0x0,_0x9aa2f(_0x25bf02))],at);var jn=Object[_0x24eaf7(0x346)],Fn=(_0x488d5f,_0x255f3d,_0x4626fd,_0x3c4013)=>{for(var _0x41a8c4=_0x3c4013>0x1?void 0x0:_0x3c4013?jn(_0x255f3d,_0x4626fd):_0x255f3d,_0x2c77ba=_0x488d5f['length']-0x1,_0x1dd1e8;_0x2c77ba>=0x0;_0x2c77ba--)(_0x1dd1e8=_0x488d5f[_0x2c77ba])&&(_0x41a8c4=_0x1dd1e8(_0x41a8c4)||_0x41a8c4);return _0x41a8c4;},vt=(_0x3006cb,_0x3bcfef)=>(_0x495221,_0x2a8f40)=>_0x3bcfef(_0x495221,_0x2a8f40,_0x3006cb);let Ct=class extends _0x249e4b{constructor(_0x1ab4cb,_0x1b5248,_0x333a0e){var _0x1eb917=_0x24eaf7;super(),N(this,_0x1eb917(0x223),new _0x59a042(null)),N(this,'unitInfo$',this[_0x1eb917(0x223)][_0x1eb917(0x2e2)]()),(this[_0x1eb917(0x40e)]=_0x1ab4cb,this['_snapshotService']=_0x1b5248,this['_localCacheService']=_0x333a0e);}async[_0x24eaf7(0x322)](_0x223b4d,_0x42da7b,_0x30f868){var _0x870e38=_0x24eaf7;this['_unitInfo$'][_0x870e38(0x3b5)]({'unitId':_0x223b4d,'type':_0x42da7b});let _0x52b68e=null;switch(_0x42da7b){case Z['UNIVER_SHEET']:{_0x52b68e=await this['_snapshotService'][_0x870e38(0x3f0)](_0x223b4d,_0x30f868);break;}case Z[_0x870e38(0x28c)]:{_0x52b68e=await this[_0x870e38(0x3fe)][_0x870e38(0x2d6)](_0x223b4d,_0x30f868);break;}default:{this[_0x870e38(0x40e)][_0x870e38(0x2a4)](_0x870e38(0x308),_0x870e38(0x330));break;}}return _0x52b68e;}async['loadUnit'](_0x537b2f,_0x57eab4,_0x372d7e){var _0x5b7bbf=_0x24eaf7,_0x4d485c;this[_0x5b7bbf(0x223)][_0x5b7bbf(0x3b5)]({'unitId':_0x537b2f,'type':_0x57eab4,'subUnitId':_0x372d7e});let _0x4bb341=0x0;const _0x407510=await((_0x4d485c=this[_0x5b7bbf(0x401)])==null?void 0x0:_0x4d485c[_0x5b7bbf(0x30c)](_0x537b2f));return _0x407510&&(_0x407510[_0x5b7bbf(0x406)]||_0x407510[_0x5b7bbf(0x1f5)][_0x5b7bbf(0x3a8)]!==0x0)&&(_0x4bb341=_0x407510[_0x5b7bbf(0x33b)]),_0x4bb341===0x0&&this['_logService'][_0x5b7bbf(0x36c)](_0x5b7bbf(0x308),_0x5b7bbf(0x3a5)),this[_0x5b7bbf(0x322)](_0x537b2f,_0x57eab4,_0x4bb341);}};Ct=Fn([vt(0x0,_0x1b7032),vt(0x1,_0x9aa2f(_0x3e6bda)),vt(0x2,_0x2bef5d(J))],Ct);var Vn=Object[_0x24eaf7(0x346)],Wn=(_0x37c70d,_0x544e94,_0x31a757,_0x378699)=>{var _0x50f975=_0x24eaf7;for(var _0x71cc88=_0x378699>0x1?void 0x0:_0x378699?Vn(_0x544e94,_0x31a757):_0x544e94,_0x5affb8=_0x37c70d[_0x50f975(0x3a8)]-0x1,_0x198c36;_0x5affb8>=0x0;_0x5affb8--)(_0x198c36=_0x37c70d[_0x5affb8])&&(_0x71cc88=_0x198c36(_0x71cc88)||_0x71cc88);return _0x71cc88;},pt=(_0x144c3a,_0x584378)=>(_0x2712de,_0x2c9b93)=>_0x584378(_0x2712de,_0x2c9b93,_0x144c3a);const Gn=['image/png',_0x24eaf7(0x4e0),_0x24eaf7(0x209),'image/gif',_0x24eaf7(0x218)],Yn=0x5*0x400*0x400,Kn=_0x24eaf7(0x3c3),qn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x40e359,_0x441cdb,_0x2aca48){var _0x465660=_0x24eaf7;N(this,'_waitCount',0x0),N(this,_0x465660(0x1f6),new _0x54f9ff()),N(this,_0x465660(0x3da),this['_change$']),N(this,_0x465660(0x427),new Map()),(this[_0x465660(0x314)]=_0x40e359,this[_0x465660(0x2c5)]=_0x441cdb,this[_0x465660(0x331)]=_0x2aca48);}['setWaitCount'](_0x1b0824){var _0x2af70b=_0x24eaf7;this[_0x2af70b(0x2ad)]=_0x1b0824,this[_0x2af70b(0x1f6)]['next'](_0x1b0824);}['getImageSourceCache'](_0x5dcbe3,_0x2376e3){var _0x224b45=_0x24eaf7;if(_0x2376e3===_0x122ab3[_0x224b45(0x2e5)]){const _0x569093=new Image();return _0x569093[_0x224b45(0x3b1)]=_0x5dcbe3,_0x569093;}return this[_0x224b45(0x427)][_0x224b45(0x42f)](_0x5dcbe3);}[_0x24eaf7(0x3ae)](_0x2ef263,_0x691bd6,_0x507835){var _0x7736b7=_0x24eaf7;_0x691bd6===_0x122ab3[_0x7736b7(0x2e5)]||_0x507835==null||this[_0x7736b7(0x427)][_0x7736b7(0x347)](_0x2ef263,_0x507835);}async['getImage'](_0x32b0ab){var _0x340e54=_0x24eaf7;try{const _0x1612e8=this[_0x340e54(0x341)](this[_0x340e54(0x3af)](),''+_0x32b0ab),_0x46c352=(await this[_0x340e54(0x314)][_0x340e54(0x42f)](_0x1612e8))[_0x340e54(0x2ef)];if(_0x46c352[_0x340e54(0x2a4)]&&_0x46c352['error'][_0x340e54(0x35c)]===vi['OK']){const _0x4157bc=new URL(_0x46c352[_0x340e54(0x3b2)],this[_0x340e54(0x434)]())[_0x340e54(0x33a)]();return Promise['resolve'](_0x4157bc);}return Promise[_0x340e54(0x2d8)](_0x46c352[_0x340e54(0x2a4)]);}catch(_0x30a828){return Promise[_0x340e54(0x2d8)](_0x30a828);}}async[_0x24eaf7(0x1f2)](_0x424402){var _0x13ef16=_0x24eaf7;let _0x5f20a4='';if(!Gn[_0x13ef16(0x28e)](_0x424402[_0x13ef16(0x29e)]))return this[_0x13ef16(0x45e)](),Promise['reject'](new Error(_0x4fe5bb[_0x13ef16(0x40b)]));if(_0x424402[_0x13ef16(0x2f3)]>Yn)return this[_0x13ef16(0x45e)](),Promise[_0x13ef16(0x2d8)](new Error(_0x4fe5bb['ERROR_EXCEED_SIZE']));try{const _0xda1c14=new FormData();_0xda1c14['append'](_0x13ef16(0x28a),_0x424402);const _0x29990e=this[_0x13ef16(0x331)][_0x13ef16(0x428)](),_0xf40ff5=_0x29990e==null?void 0x0:_0x29990e[_0x13ef16(0x46f)]();if(!_0xf40ff5)throw new Error(_0x13ef16(0x2a3));const _0x45c4db=this[_0x13ef16(0x286)]()+_0x13ef16(0x349)+_0x424402[_0x13ef16(0x2f3)]['toString']()+_0x13ef16(0x229)+pi[_0x13ef16(0x254)]+'&assign='+encodeURIComponent(_0xf40ff5),_0x2420c7={'body':_0xda1c14},_0x45119d=(await this[_0x13ef16(0x314)][_0x13ef16(0x42b)](_0x45c4db,_0x2420c7))[_0x13ef16(0x2ef)];if(typeof _0x45119d[_0x13ef16(0x2a7)]!=_0x13ef16(0x336))return this[_0x13ef16(0x45e)](),Promise['reject'](new Error(_0x4fe5bb['ERROR_IMAGE']));_0x5f20a4=_0x45119d[_0x13ef16(0x2a7)];}catch{return this[_0x13ef16(0x45e)](),Promise[_0x13ef16(0x2d8)](new Error(_0x4fe5bb[_0x13ef16(0x2f5)]));}return new Promise((_0x3ec307,_0x5b7a93)=>{var _0x16a2bf=_0x13ef16;const _0x1aae4c=new FileReader();_0x1aae4c[_0x16a2bf(0x238)](_0x424402),_0x1aae4c[_0x16a2bf(0x283)]=_0x4606c5=>{var _0x4af08d=_0x16a2bf,_0x963e46;const _0x1d398e=(_0x963e46=_0x4606c5[_0x4af08d(0x2bb)])==null?void 0x0:_0x963e46['result'];if(_0x1d398e==null){this[_0x4af08d(0x45e)](),_0x5b7a93(new Error(_0x4fe5bb[_0x4af08d(0x2f5)]));return;}const _0xffbef7=_0x5f531b(0x6);_0x3ec307({'imageId':_0xffbef7,'imageSourceType':_0x122ab3[_0x4af08d(0x3cd)],'source':_0x5f20a4,'base64Cache':_0x1d398e,'status':_0x4fe5bb[_0x4af08d(0x400)]}),this[_0x4af08d(0x45e)]();};});}[_0x24eaf7(0x286)](){var _0x31b050=_0x24eaf7,_0x14c10e;const _0x26ceea=this['_configService'][_0x31b050(0x379)](K);return(_0x14c10e=_0x26ceea==null?void 0x0:_0x26ceea[_0x31b050(0x21c)])!=null?_0x14c10e:Kn;}[_0x24eaf7(0x3af)](){var _0x2083ac=_0x24eaf7,_0x3d233b;const _0x2e8fa4=this[_0x2083ac(0x2c5)]['getConfig'](K);return(_0x3d233b=_0x2e8fa4==null?void 0x0:_0x2e8fa4[_0x2083ac(0x26d)])!=null?_0x3d233b:qn;}[_0x24eaf7(0x434)](){var _0x27f7d8=_0x24eaf7,_0x1fdd5b;const _0x3020ac=this[_0x27f7d8(0x2c5)][_0x27f7d8(0x379)](K);return(_0x1fdd5b=_0x3020ac==null?void 0x0:_0x3020ac['downloadEndpointUrl'])!=null?_0x1fdd5b:location['origin'];}[_0x24eaf7(0x341)](_0x2451d1,_0x3a9658){var _0x3cfd91=_0x24eaf7;return _0x2451d1[_0x3cfd91(0x1f7)](_0x3cfd91(0x2d5),_0x3a9658);}[_0x24eaf7(0x45e)](){var _0x271036=_0x24eaf7;this[_0x271036(0x2ad)]-=0x1,this[_0x271036(0x1f6)][_0x271036(0x3b5)](this['_waitCount']);}};Rt=Wn([pt(0x0,_0x9aa2f(_0x25bf02)),pt(0x1,_0x7e8cbd),pt(0x2,_0x9aa2f(_0x3b585e))],Rt);var zn=Object[_0x24eaf7(0x346)],Jn=(_0x2332b3,_0x541dd9,_0x1cfa39,_0x12175f)=>{var _0x28897f=_0x24eaf7;for(var _0xa4ba2e=_0x12175f>0x1?void 0x0:_0x12175f?zn(_0x541dd9,_0x1cfa39):_0x541dd9,_0x24a568=_0x2332b3[_0x28897f(0x3a8)]-0x1,_0x20fd56;_0x24a568>=0x0;_0x24a568--)(_0x20fd56=_0x2332b3[_0x24a568])&&(_0xa4ba2e=_0x20fd56(_0xa4ba2e)||_0xa4ba2e);return _0xa4ba2e;},ai=(_0x30673f,_0x28c570)=>(_0x5e56be,_0x505d76)=>_0x28c570(_0x5e56be,_0x505d76,_0x30673f);const Xn=_0x24eaf7(0x3fc);let Ot=class{constructor(_0x5e4ca4,_0x4771e0){var _0x17eedb=_0x24eaf7;this[_0x17eedb(0x2c5)]=_0x5e4ca4,this['_HTTPService']=_0x4771e0;}['_getAPIPrefixPath'](){var _0x5b2a31=_0x24eaf7,_0x555263;const _0x4542f0=this[_0x5b2a31(0x2c5)][_0x5b2a31(0x379)](K);return(_0x555263=_0x4542f0==null?void 0x0:_0x4542f0[_0x5b2a31(0x34d)])!=null?_0x555263:Xn;}async[_0x24eaf7(0x4b2)](_0x58e8b7){var _0x2f3d92=_0x24eaf7;const _0x1d5e04=this[_0x2f3d92(0x23b)]()+_0x2f3d92(0x2cf);return{'list':[{'title':'People','mentions':(await this[_0x2f3d92(0x2a6)][_0x2f3d92(0x42f)](_0x1d5e04,{'params':{'objectID':_0x58e8b7['unitId'],'unitID':_0x58e8b7['unitId']}}))[_0x2f3d92(0x2ef)]['collaborators'][_0x2f3d92(0x208)](_0x138d55=>({'objectId':_0x138d55['id'],'name':_0x138d55[_0x2f3d92(0x224)][_0x2f3d92(0x2b5)],'metadata':{'icon':_0x138d55[_0x2f3d92(0x224)]['avatar']},'label':_0x138d55[_0x2f3d92(0x224)][_0x2f3d92(0x2b5)],'objectType':_0x5adef5[_0x2f3d92(0x423)]})),'metadata':{},'type':_0x5adef5[_0x2f3d92(0x423)]}]};}};Ot=Jn([ai(0x0,_0x9aa2f(_0x7e8cbd)),ai(0x1,_0x9aa2f(_0x25bf02))],Ot);var Zn=Object[_0x24eaf7(0x346)],Qn=(_0x5f166c,_0x5837a0,_0xc10f1,_0x42dac4)=>{var _0x3571d5=_0x24eaf7;for(var _0x448a8a=_0x42dac4>0x1?void 0x0:_0x42dac4?Zn(_0x5837a0,_0xc10f1):_0x5837a0,_0xd9ce32=_0x5f166c[_0x3571d5(0x3a8)]-0x1,_0x32add6;_0xd9ce32>=0x0;_0xd9ce32--)(_0x32add6=_0x5f166c[_0xd9ce32])&&(_0x448a8a=_0x32add6(_0x448a8a)||_0x448a8a);return _0x448a8a;},Ue=(_0x4640f8,_0xc20bb1)=>(_0x497bd0,_0x84ca6d)=>_0xc20bb1(_0x497bd0,_0x84ca6d,_0x4640f8);let ot=class extends _0x249e4b{constructor(_0x16e3ff,_0x3a0b88,_0x23b757,_0x57c896,_0x34d816){var _0x22780c=_0x24eaf7;super(),this['_injector']=_0x16e3ff,this[_0x22780c(0x331)]=_0x3a0b88,this[_0x22780c(0x203)]=_0x23b757,this['_collaborationSessionService']=_0x57c896,this[_0x22780c(0x29a)]=_0x34d816,this[_0x22780c(0x484)](),this[_0x22780c(0x33f)]();}[_0x24eaf7(0x33f)](){var _0x4ff770=_0x24eaf7;const _0x18537c=async _0x1c21d8=>{var _0x29e39a=_0x4e9c;(await this[_0x29e39a(0x3d1)][_0x29e39a(0x206)](_0x1c21d8))[_0x29e39a(0x488)][_0x29e39a(0x474)](_0x392eb8(_0x1692d9=>_0x1692d9[_0x29e39a(0x387)]===_0x27484d[_0x29e39a(0x41a)]),_0x469d9f(this[_0x29e39a(0x375)]))[_0x29e39a(0x3d6)](_0x56cec2=>{var _0x47bf0e=_0x29e39a;const _0x246472=_0x56cec2,{reason:_0x1695ba}=_0x246472[_0x47bf0e(0x438)];this['_collaborationUIEventService'][_0x47bf0e(0x30e)]({'id':ne['CLOSE_ROOM'],'data':_0x1695ba}),this[_0x47bf0e(0x203)][_0x47bf0e(0x452)](new _0x2cbff5(_0x1c21d8)['id'],!0x1),this['_collaborationSessionService'][_0x47bf0e(0x3ee)](_0x1c21d8);});};_0x201bac(this['_univerInstanceService'][_0x4ff770(0x37e)](_0x1ba39b[_0x4ff770(0x493)]),this[_0x4ff770(0x331)]['getTypeOfUnitAdded$'](_0x1ba39b[_0x4ff770(0x28c)]))[_0x4ff770(0x474)](_0x3eecf4(_0x288d31=>_0x288d31[_0x4ff770(0x46f)]()),_0x392eb8(_0x3e8c93=>!_0x4d19a1(_0x3e8c93)),_0x469d9f(this[_0x4ff770(0x375)]))[_0x4ff770(0x3d6)](_0x3907ff=>{_0x18537c(_0x3907ff);});}['_initUnitPermissionChange'](){var _0x5238d7=_0x24eaf7;const _0x399527=async _0xd0d6f3=>{var _0x125734=_0x4e9c;const _0x583de8=await this['_collaborationSessionService'][_0x125734(0x206)](_0xd0d6f3),_0x16f47b=this[_0x125734(0x333)][_0x125734(0x42f)](_0x23b299);_0x583de8['event$'][_0x125734(0x474)](_0x392eb8(_0x5245df=>_0x5245df[_0x125734(0x387)]===_0x27484d[_0x125734(0x3a0)]),_0x469d9f(this[_0x125734(0x375)]))['subscribe'](_0x5cd985=>{var _0x987366=_0x125734;const _0x4cdc83=_0x5cd985,{objectId:_0x23e5f1}=_0x4cdc83['data'];_0x23e5f1===_0xd0d6f3?_0x16f47b[_0x987366(0x328)](_0xd0d6f3):_0x16f47b[_0x987366(0x326)](_0xd0d6f3,_0x23e5f1);});};_0x201bac(this[_0x5238d7(0x331)][_0x5238d7(0x37e)](_0x1ba39b[_0x5238d7(0x493)]))[_0x5238d7(0x474)](_0x3eecf4(_0x49656d=>_0x49656d[_0x5238d7(0x46f)]()),_0x392eb8(_0x591986=>!_0x4d19a1(_0x591986)),_0x469d9f(this[_0x5238d7(0x375)]))[_0x5238d7(0x3d6)](_0x45c3be=>{_0x399527(_0x45c3be);});}};ot=Qn([Ue(0x0,_0x9aa2f(_0x1476f5)),Ue(0x1,_0x3b585e),Ue(0x2,_0x333e7c),Ue(0x3,_0x9aa2f(Pe)),Ue(0x4,_0x9aa2f(ve))],ot);var er=Object['getOwnPropertyDescriptor'],tr=(_0x37a45a,_0xf63dd1,_0x352e30,_0x48c3f0)=>{for(var _0x15c5c5=_0x48c3f0>0x1?void 0x0:_0x48c3f0?er(_0xf63dd1,_0x352e30):_0xf63dd1,_0x972df6=_0x37a45a['length']-0x1,_0x49c9a;_0x972df6>=0x0;_0x972df6--)(_0x49c9a=_0x37a45a[_0x972df6])&&(_0x15c5c5=_0x49c9a(_0x15c5c5)||_0x15c5c5);return _0x15c5c5;},oi=(_0x4814c8,_0x1663bc)=>(_0xa1a151,_0xb7f1a4)=>_0x1663bc(_0xa1a151,_0xb7f1a4,_0x4814c8);let bt=class{constructor(_0x1fbf7b,_0x4183ec){var _0x1b02bf=_0x24eaf7;this[_0x1b02bf(0x2c5)]=_0x1fbf7b,this[_0x1b02bf(0x314)]=_0x4183ec;}async[_0x24eaf7(0x39e)](_0x326cad,_0x49b91f){var _0x4384f8=_0x24eaf7,_0x1759ed;const {unitID:_0x4f84f7,type:_0x2b3ab6,revision:_0x5c6007=0x0}=_0x49b91f,_0x32c95e=this['getSnapshotAPIPath']()+'/'+_0x2b3ab6+'/unit/'+_0x4f84f7+_0x4384f8(0x204)+_0x5c6007,_0xf07897=(await this[_0x4384f8(0x314)][_0x4384f8(0x42f)](_0x32c95e))[_0x4384f8(0x2ef)],_0x4ba1cc=(_0x1759ed=_0xf07897[_0x4384f8(0x262)])==null?void 0x0:_0x1759ed['workbook'];if(_0x4ba1cc){const _0x1b7749=_0x4ba1cc==null?void 0x0:_0x4ba1cc[_0x4384f8(0x338)],_0x155610=_0x310b71[_0x4384f8(0x4d2)](_0x2e08bd(_0x1b7749));_0x4ba1cc['originalMeta']=_0x155610,Object[_0x4384f8(0x35d)](_0x4ba1cc[_0x4384f8(0x43d)])[_0x4384f8(0x3c2)](([,_0x56073a])=>{var _0x1a4657=_0x4384f8;const _0x4b84ef=_0x56073a[_0x1a4657(0x338)],_0x2afa27=_0x310b71['encode'](_0x2e08bd(_0x4b84ef));_0x56073a[_0x1a4657(0x338)]=_0x2afa27;});}return _0xf07897;}async[_0x24eaf7(0x389)](_0x3d2acf,_0x5d0d28){var _0x5516f7=_0x24eaf7;const {unitID:_0x416654,type:_0x5c3415,blockID:_0x2fcd9f}=_0x5d0d28,_0x3a6c17=this['_getAPIPrefix']()+'/'+_0x5c3415+_0x5516f7(0x3f2)+_0x416654+_0x5516f7(0x443)+_0x2fcd9f;return(await this['_httpService'][_0x5516f7(0x42f)](_0x3a6c17))['body'];}async['getDeserializedSheetBlock'](_0x3a9648,_0x4f774b){var _0x4d3828=_0x24eaf7;const {unitID:_0x394ddc,type:_0x5bdeb5,blockID:_0x3687b5}=_0x4f774b,_0x2aa96d=this[_0x4d3828(0x412)]()+_0x4d3828(0x443)+_0x5bdeb5+'/unit/'+_0x394ddc+_0x4d3828(0x443)+_0x3687b5;return(await this['_httpService'][_0x4d3828(0x42f)](_0x2aa96d))[_0x4d3828(0x2ef)];}async[_0x24eaf7(0x2c9)](_0x4e5e8f,_0x53acca){var _0x2be2ac=_0x24eaf7;const {unitID:_0x4e0c56,type:_0x2bd9e1,from:_0x1839bd,to:_0x566bba}=_0x53acca,_0x14995e=this['_getAPIPrefix']()+'/'+_0x2bd9e1+'/unit/'+_0x4e0c56+_0x2be2ac(0x3a1)+_0x1839bd+'&to='+_0x566bba;return(await this['_httpService'][_0x2be2ac(0x42f)](_0x14995e))['body'];}[_0x24eaf7(0x24f)](){var _0x1fc33f=_0x24eaf7,_0x2630c5;return(_0x2630c5=this[_0x1fc33f(0x2c5)]['getConfig'](vs))!=null?_0x2630c5:this[_0x1fc33f(0x412)]();}[_0x24eaf7(0x412)](){var _0x19a1f8=_0x24eaf7,_0x46df9d;const _0x5e088e=this['_configService']['getConfig'](K);return(_0x46df9d=_0x5e088e==null?void 0x0:_0x5e088e[_0x19a1f8(0x29d)])!=null?_0x46df9d:fs;}async[_0x24eaf7(0x360)](_0x570be8,_0x254296){var _0x2e841d=_0x24eaf7;const _0x3c1741='/universer-api/snapshot/'+_0x254296[_0x2e841d(0x29e)]+_0x2e841d(0x3f2)+_0x254296[_0x2e841d(0x45a)]+_0x2e841d(0x32f);return(await this['_httpService'][_0x2e841d(0x42f)](_0x3c1741,{'params':{'resourceId':JSON[_0x2e841d(0x4c4)](_0x254296[_0x2e841d(0x20b)])}}))[_0x2e841d(0x2ef)];}[_0x24eaf7(0x3e0)](){var _0x3e4560=_0x24eaf7;throw new Error(_0x3e4560(0x1e9));}[_0x24eaf7(0x2f6)](){var _0x3d1b9d=_0x24eaf7;throw new Error(_0x3d1b9d(0x1e9));}[_0x24eaf7(0x3c9)](){var _0xdedea2=_0x24eaf7;throw new Error(_0xdedea2(0x1e9));}[_0x24eaf7(0x2ff)](){var _0x20f065=_0x24eaf7;throw new Error(_0x20f065(0x1e9));}[_0x24eaf7(0x2da)](){var _0x9bc5aa=_0x24eaf7;throw new Error(_0x9bc5aa(0x1e9));}['getLatestCsReqIdBySid'](){var _0x13abea=_0x24eaf7;throw new Error(_0x13abea(0x1e9));}};bt=tr([oi(0x0,_0x7e8cbd),oi(0x1,_0x9aa2f(_0x25bf02))],bt);var ir=Object[_0x24eaf7(0x346)],sr=(_0x1e32ca,_0x133d27,_0x186bf2,_0xc8107c)=>{var _0x1b57d8=_0x24eaf7;for(var _0x40f65c=_0xc8107c>0x1?void 0x0:_0xc8107c?ir(_0x133d27,_0x186bf2):_0x133d27,_0x1ec9ac=_0x1e32ca[_0x1b57d8(0x3a8)]-0x1,_0x13222a;_0x1ec9ac>=0x0;_0x1ec9ac--)(_0x13222a=_0x1e32ca[_0x1ec9ac])&&(_0x40f65c=_0x13222a(_0x40f65c)||_0x40f65c);return _0x40f65c;},Ae=(_0x570d07,_0x505219)=>(_0x1a01c1,_0x2a2122)=>_0x505219(_0x1a01c1,_0x2a2122,_0x570d07);let yt=class extends _0x1ac7a5{constructor(_0x5282e2,_0x2b863e,_0x4a9a9b,_0x9af757,_0xa345ac){var _0x4d4dfd=_0x24eaf7;super(_0x5282e2,_0x2b863e,_0x4a9a9b),this['_transformService']=_0x9af757,this[_0x4d4dfd(0x40e)]=_0xa345ac;}[_0x24eaf7(0x20d)](_0x35f703,_0x146cea){var _0x2a2674=_0x24eaf7;const _0x5f8af2=this['_getUndoStack'](_0x35f703);if(_0x5f8af2)try{const _0x5a06d5=this[_0x2a2674(0x361)](_0x5f8af2,_0x146cea);this[_0x2a2674(0x253)](_0x35f703,_0x5a06d5);}catch(_0x3b27da){this[_0x2a2674(0x40e)]['error'](_0x2a2674(0x490),_0x3b27da),this[_0x2a2674(0x445)](_0x35f703);}const _0x527eec=this[_0x2a2674(0x2cd)](_0x35f703);if(_0x527eec)try{const _0x389959=this['_transformStack'](_0x527eec,_0x146cea);this['_substituteRedoStack'](_0x35f703,_0x389959);}catch(_0x97e2aa){this[_0x2a2674(0x40e)]['error'](_0x97e2aa),this['_clearRedo'](_0x35f703);}}[_0x24eaf7(0x445)](_0x197143){var _0x418103=_0x24eaf7;const _0x17f7c0=this[_0x418103(0x410)](_0x197143);_0x17f7c0&&(_0x17f7c0['length']=0x0,this[_0x418103(0x3a9)]());}[_0x24eaf7(0x3f5)](_0x5507ff){var _0x42b5af=_0x24eaf7;const _0xbf9cd9=this[_0x42b5af(0x2cd)](_0x5507ff);_0xbf9cd9&&(_0xbf9cd9['length']=0x0,this[_0x42b5af(0x3a9)]());}[_0x24eaf7(0x253)](_0x515f35,_0x1c7c59){var _0x3332b6=_0x24eaf7;this[_0x3332b6(0x2ae)][_0x3332b6(0x347)](_0x515f35,_0x1c7c59),this[_0x3332b6(0x3a9)]();}[_0x24eaf7(0x38b)](_0x3d1075,_0x58e672){var _0x16f8f4=_0x24eaf7;this[_0x16f8f4(0x31b)][_0x16f8f4(0x347)](_0x3d1075,_0x58e672),this['_updateStatus']();}[_0x24eaf7(0x361)](_0x550e06,_0x15aba6){var _0x382740=_0x24eaf7;const _0x22130c=[];let _0x224d3c=_0x15aba6,_0x3913f9=_0x15aba6;for(let _0x197b8b=_0x550e06[_0x382740(0x3a8)]-0x1;_0x197b8b>=0x0;_0x197b8b--){const {unitID:_0x5d797a,undoMutations:_0x4f9f93,redoMutations:_0x11c15f}=_0x550e06[_0x197b8b],_0x2db01f=this[_0x382740(0x2ce)][_0x382740(0x36d)](_0x224d3c,_0x4f9f93),_0x488a76=this[_0x382740(0x2ce)][_0x382740(0x36d)](_0x3913f9,_0x11c15f);if(_0x260eb7(_0x2db01f)||_0x260eb7(_0x488a76)){this[_0x382740(0x40e)][_0x382740(0x2a4)](_0x382740(0x490),_0x382740(0x34c),_0x2db01f,_0x488a76);break;}_0x224d3c=_0x2db01f[_0x382740(0x479)],_0x3913f9=_0x488a76['c1Prime'],_0x22130c[_0x382740(0x3b0)]({'unitID':_0x5d797a,'undoMutations':_0x2db01f[_0x382740(0x354)],'redoMutations':_0x488a76[_0x382740(0x354)]});}return _0x22130c[_0x382740(0x405)]();}};yt=sr([Ae(0x0,_0x3b585e),Ae(0x1,_0x671f23),Ae(0x2,_0x5273c9),Ae(0x3,_0x3cd486),Ae(0x4,_0x1b7032)],yt);var nr=Object['defineProperty'],rr=Object[_0x24eaf7(0x346)],ar=(_0x2e1669,_0x409724,_0x4f3187)=>_0x409724 in _0x2e1669?nr(_0x2e1669,_0x409724,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f3187}):_0x2e1669[_0x409724]=_0x4f3187,or=(_0x45ae4d,_0xaf5057,_0x8252b7,_0x38a359)=>{var _0x5ba971=_0x24eaf7;for(var _0x4649de=_0x38a359>0x1?void 0x0:_0x38a359?rr(_0xaf5057,_0x8252b7):_0xaf5057,_0x5f494c=_0x45ae4d[_0x5ba971(0x3a8)]-0x1,_0x234acd;_0x5f494c>=0x0;_0x5f494c--)(_0x234acd=_0x45ae4d[_0x5f494c])&&(_0x4649de=_0x234acd(_0x4649de)||_0x4649de);return _0x4649de;},mt=(_0x397441,_0x9c7902)=>(_0xedc3ee,_0x155ce4)=>_0x9c7902(_0xedc3ee,_0x155ce4,_0x397441),cr=(_0x2901ae,_0x5c6df8,_0x28c679)=>ar(_0x2901ae,_0x5c6df8+'',_0x28c679);const hr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Nt=class extends _0x4b47ca{constructor(_0x3f2d3e,_0x338a09,_0x16028b,_0x2d95b5){var _0x39d610=_0x24eaf7;super(),N(this,'_config'),(this[_0x39d610(0x40e)]=_0x338a09,this['_injector']=_0x16028b,this['_configService']=_0x2d95b5);const {..._0x179913}=_0x2aeb96({},Ls,_0x3f2d3e);if(!_0x179913['socketService'])throw new Error(_0x39d610(0x23f));this[_0x39d610(0x46a)]=_0x179913,this['_configService'][_0x39d610(0x3f6)](K,_0x179913);}[_0x24eaf7(0x261)](){var _0x16e1d8=_0x24eaf7;this[_0x16e1d8(0x302)](),this[_0x16e1d8(0x310)]();}[_0x24eaf7(0x302)](){var _0x145540=_0x24eaf7,_0x3a6693,_0xb78e60;this['_injector']['has'](_0x593fd4)&&this[_0x145540(0x40e)][_0x145540(0x2a4)]('[UniverCollaborationClientPlugin]',_0x145540(0x276));const _0x3cc57d=_0x383a65([[_0x593fd4,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this[_0x145540(0x46a)]['socketService']}],[_0xbd7791,{'useClass':bt}],[_0x368a60,{'useClass':Tt}],[_0x45767e,{'useClass':Rt}],[_0x3542e3,{'useClass':Ot}],[nt],[It]],(_0x3a6693=this[_0x145540(0x46a)])==null?void 0x0:_0x3a6693['override']);if(!((_0xb78e60=this[_0x145540(0x46a)])!=null&&_0xb78e60[_0x145540(0x459)])){const _0xe556cd=_0x3cc57d[_0x145540(0x386)](([_0x339ecd])=>_0x339ecd===ht);_0xe556cd!==-0x1&&_0x3cc57d[_0x145540(0x278)](_0xe556cd,0x1);}_0x1bd1e4(this['_injector'],_0x3cc57d);}[_0x24eaf7(0x310)](){var _0x9b2a81=_0x24eaf7,_0x518901,_0x4351b8,_0x182d2f;this['_injector'][_0x9b2a81(0x42f)](_0x25bf02)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x1915db({'maxParallel':0x6})}),(_0x518901=this['_config'])!=null&&_0x518901[_0x9b2a81(0x265)]||(_0x4351b8=this[_0x9b2a81(0x333)][_0x9b2a81(0x42f)](J,_0x476841['OPTIONAL']))==null||_0x4351b8['disableLocalCache'](),(_0x182d2f=this[_0x9b2a81(0x46a)])!=null&&_0x182d2f[_0x9b2a81(0x41b)]&&_0x34c3c2(this[_0x9b2a81(0x333)],[[rt]]),_0x34c3c2(this[_0x9b2a81(0x333)],[[at],[nt],[ot]]);}};cr(Nt,_0x24eaf7(0x2ec),hr),Nt=or([_0xa37e78(_0x13d031,_0x510989),mt(0x1,_0x1b7032),mt(0x2,_0x9aa2f(_0x1476f5)),mt(0x3,_0x7e8cbd)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Gt as CollaborationSocketService,Ei as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,mi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,gi as UnitStatus,Nt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,br as getLocalCacheKey,Vs as serializeCombRequest};