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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +11 -11
package/lib/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 _0xe7476b=_0x33f0;(function(_0x374bc1,_0x5752fd){var _0x6aaa56=_0x33f0,_0x1cc136=_0x374bc1();while(!![]){try{var _0x1e3f45=-parseInt(_0x6aaa56(0x27e))/0x1+-parseInt(_0x6aaa56(0x305))/0x2*(parseInt(_0x6aaa56(0x1cd))/0x3)+-parseInt(_0x6aaa56(0x118))/0x4+parseInt(_0x6aaa56(0x13a))/0x5*(-parseInt(_0x6aaa56(0x17d))/0x6)+parseInt(_0x6aaa56(0x1f9))/0x7+parseInt(_0x6aaa56(0x36c))/0x8+parseInt(_0x6aaa56(0x2db))/0x9;if(_0x1e3f45===_0x5752fd)break;else _0x1cc136['push'](_0x1cc136['shift']());}catch(_0x195738){_0x1cc136['push'](_0x1cc136['shift']());}}}(_0x1da4,0xdcc91));var yi=Object[_0xe7476b(0x1ce)],Ni=(_0x4587de,_0x303975,_0x493371)=>_0x303975 in _0x4587de?yi(_0x4587de,_0x303975,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x493371}):_0x4587de[_0x303975]=_0x493371,N=(_0x1d4d62,_0x17dcf4,_0x4f8a06)=>Ni(_0x1d4d62,typeof _0x17dcf4!=_0xe7476b(0x1fd)?_0x17dcf4+'':_0x17dcf4,_0x4f8a06);import{CollaborationEvent as _0x15f20d,ITransformService as _0x2a49de,isTransformMutationsWithChangesetSuccess as _0x165956,mapDocumentTypeToUniverType as _0x1e4bd8,RevisionService as _0x243094,isTransformChangesetsSuccess as _0xbb04f0,CompressMutationService as _0x3608ab,parseProtocolChangeset as _0x1b8bd9,uuidv4 as _0x2e7a79,ISnapshotServerService as _0x380b92,parseChangesetToProtocol as _0x1f3cff,SnapshotService as _0x2d2417,textEncoder as _0x50903d,b64DecodeUnicode as _0x4bdb52,isTransformMutationsWithChangesetFailure as _0x5e2704,UniverCollaborationPlugin as _0x20a078}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x564314,Inject as _0x3ab451,UserManagerService as _0x23d811,Disposable as _0x1329fe,UniverInstanceType as _0x313508,ILogService as _0x5d58e7,IConfigService as _0x2c6e2,Optional as _0x101caa,RxDisposable as _0x596c5c,createIdentifier as _0x38fdf1,Injector as _0x494864,Tools as _0x2f6f0f,Rectangle as _0x107a0a,ICommandService as _0x22ca1b,JSONX as _0x4bc0b5,CommandType as _0x2b0c13,IUndoRedoService as _0x2a0c90,IPermissionService as _0x1752a3,LocaleService as _0x4edbc8,sequenceExecute as _0x38a18d,toDisposable as _0x3ea293,DisposableCollection as _0x510667,Workbook as _0x26990f,generateRandomId as _0x30b2a1,MentionType as _0x341eb8,isInternalEditorID as _0x52e864,LocalUndoRedoService as _0x2b53be,IContextService as _0x1c46df,DependentOn as _0x2da002,Plugin as _0x59bb00,merge as _0x20dfcc,mergeOverrideWithDependencies as _0xdaed4e,IAuthzIoService as _0x55cf05,IMentionIOService as _0x4b7cfb,registerDependencies as _0x1880c9,Quantity as _0x9ebfa8,touchDependencies as _0x50372c}from'@univerjs/core';import{RichTextEditingMutation as _0x2dc2b3}from'@univerjs/docs';import{SheetsSelectionsService as _0x57ea14,SetSelectionsOperation as _0x2ad600,InsertSheetMutation as _0x460f1d,EmptyMutation as _0xae98d1,WorkbookEditablePermission as _0x350486,SheetPermissionInitController as _0x6a2288}from'@univerjs/sheets';import{Subject as _0x22d8b5,merge as _0x114bec,of as _0x31c001,BehaviorSubject as _0x1c92f2,takeUntil as _0x1f2e28,ReplaySubject as _0x432924,take as _0x460f4a,map as _0x30b9d3,shareReplay as _0x5124cb,firstValueFrom as _0x2d9687,concatMap as _0x28237d}from'rxjs';import{ITelemetryService as _0x215c33}from'@univerjs/telemetry';import{map as _0x1263aa,take as _0x410a55,filter as _0x382e9a,delay as _0x4ee84d,takeUntil as _0x373daa}from'rxjs/operators';import{HTTPService as _0x5325d6,ISocketService as _0x169a24,MergeInterceptorFactory as _0x533f70,HTTPRequest as _0x215338,UniverNetworkPlugin as _0x347256,ThresholdInterceptorFactory as _0x220a88}from'@univerjs/network';import{ImageSourceType as _0x14a691,ImageUploadStatusType as _0x17f5be,IImageIoService as _0x13ce3f}from'@univerjs/drawing';import{getGlobalObject as _0x10e700}from'@univerjs-pro/license';const fs=_0xe7476b(0x2aa),vs='SNAPSHOT_URL_KEY',ps=0x7d0,ms=_0xe7476b(0x264),Ir='/universer-api/user/session-ticket',gs=_0xe7476b(0x233),Ss=0x7530,di=_0xe7476b(0x210),fi=0x4e20,Es=0x4e20,Is=_0xe7476b(0x19f),Ts=0x3,Tr=_0xe7476b(0x107),Cr=0x3e8,Cs='/universer-api/comb',Rs=_0xe7476b(0x27a),Rr=_0xe7476b(0x168),Or=_0xe7476b(0x179);var vi=(_0x1a708a=>(_0x1a708a[_0x1a708a[_0xe7476b(0x388)]=0x0]=_0xe7476b(0x388),_0x1a708a[_0x1a708a['OK']=0x1]='OK',_0x1a708a[_0x1a708a[_0xe7476b(0x395)]=0x2]='INTERNAL_ERROR',_0x1a708a[_0x1a708a[_0xe7476b(0x2ca)]=0x3]=_0xe7476b(0x2ca),_0x1a708a[_0x1a708a[_0xe7476b(0x1ae)]=0x4]=_0xe7476b(0x1ae),_0x1a708a[_0x1a708a['UNAUTHENTICATED']=0x5]=_0xe7476b(0x306),_0x1a708a[_0x1a708a[_0xe7476b(0x1f0)]=0x6]=_0xe7476b(0x1f0),_0x1a708a[_0x1a708a['INVALID_ARGUMENT']=0x7]=_0xe7476b(0x14b),_0x1a708a[_0x1a708a['TOO_MANY_REQUESTS']=0x8]=_0xe7476b(0x2a2),_0x1a708a[_0x1a708a['COMPLETION_FINISHED']=0x9]=_0xe7476b(0x1fe),_0x1a708a[_0x1a708a[_0xe7476b(0x235)]=0xa]=_0xe7476b(0x235),_0x1a708a[_0x1a708a[_0xe7476b(0x33b)]=0xb]=_0xe7476b(0x33b),_0x1a708a[_0x1a708a[_0xe7476b(0x2da)]=0xc]=_0xe7476b(0x2da),_0x1a708a[_0x1a708a[_0xe7476b(0x3c7)]=0xd]=_0xe7476b(0x3c7),_0x1a708a[_0x1a708a[_0xe7476b(0x162)]=0xe]=_0xe7476b(0x162),_0x1a708a[_0x1a708a[_0xe7476b(0x259)]=0x1389]=_0xe7476b(0x259),_0x1a708a[_0x1a708a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xe7476b(0x3dd),_0x1a708a[_0x1a708a[_0xe7476b(0x1c3)]=0x1772]=_0xe7476b(0x1c3),_0x1a708a[_0x1a708a[_0xe7476b(0x32b)]=0x1773]=_0xe7476b(0x32b),_0x1a708a[_0x1a708a[_0xe7476b(0x2fe)]=0x1b59]='APPLY_REJECT',_0x1a708a[_0x1a708a[_0xe7476b(0x29e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1a708a[_0x1a708a[_0xe7476b(0x275)]=0x1b5b]=_0xe7476b(0x275),_0x1a708a[_0x1a708a[_0xe7476b(0x1df)]=0x1b5c]=_0xe7476b(0x1df),_0x1a708a[_0x1a708a[_0xe7476b(0x399)]=0x1b5d]=_0xe7476b(0x399),_0x1a708a[_0x1a708a[_0xe7476b(0x183)]=0x1f41]=_0xe7476b(0x183),_0x1a708a[_0x1a708a[_0xe7476b(0x165)]=0x2329]=_0xe7476b(0x165),_0x1a708a[_0x1a708a[_0xe7476b(0x2f7)]=0x232a]=_0xe7476b(0x2f7),_0x1a708a[_0x1a708a[_0xe7476b(0x132)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1a708a[_0x1a708a[_0xe7476b(0x226)]=0x232c]=_0xe7476b(0x226),_0x1a708a[_0x1a708a[_0xe7476b(0x25b)]=0x232d]=_0xe7476b(0x25b),_0x1a708a[_0x1a708a[_0xe7476b(0x11a)]=0x2711]=_0xe7476b(0x11a),_0x1a708a[_0x1a708a[_0xe7476b(0x1a6)]=0x2712]=_0xe7476b(0x1a6),_0x1a708a[_0x1a708a[_0xe7476b(0x202)]=0x2713]=_0xe7476b(0x202),_0x1a708a[_0x1a708a[_0xe7476b(0x1dd)]=0x2714]=_0xe7476b(0x1dd),_0x1a708a[_0x1a708a[_0xe7476b(0x152)]=0x271a]=_0xe7476b(0x152),_0x1a708a[_0x1a708a[_0xe7476b(0x294)]=0x271b]=_0xe7476b(0x294),_0x1a708a[_0x1a708a[_0xe7476b(0x289)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1a708a[_0x1a708a[_0xe7476b(0x18a)]=0x271d]=_0xe7476b(0x18a),_0x1a708a[_0x1a708a[_0xe7476b(0xfd)]=0x271e]=_0xe7476b(0xfd),_0x1a708a[_0x1a708a[_0xe7476b(0x230)]=0x271f]=_0xe7476b(0x230),_0x1a708a[_0x1a708a[_0xe7476b(0x110)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x1a708a[_0x1a708a['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0xe7476b(0x1bc),_0x1a708a[_0x1a708a[_0xe7476b(0x171)]=0x2ee1]=_0xe7476b(0x171),_0x1a708a[_0x1a708a[_0xe7476b(0x33e)]=0x2ee2]='INVALID_INVITE_CODE',_0x1a708a[_0x1a708a[_0xe7476b(0x120)]=0x2ee3]=_0xe7476b(0x120),_0x1a708a[_0x1a708a['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x1a708a[_0x1a708a[_0xe7476b(0x31d)]=0x2ee5]=_0xe7476b(0x31d),_0x1a708a[_0x1a708a[_0xe7476b(0x206)]=0x32c9]=_0xe7476b(0x206),_0x1a708a[_0x1a708a[_0xe7476b(0x10f)]=0x32ca]=_0xe7476b(0x10f),_0x1a708a[_0x1a708a[_0xe7476b(0x282)]=0x32cb]=_0xe7476b(0x282),_0x1a708a[_0x1a708a['UNRECOGNIZED']=-0x1]=_0xe7476b(0x112),_0x1a708a))(vi||{}),Z=(_0x555ad2=>(_0x555ad2[_0x555ad2[_0xe7476b(0x28e)]=0x0]=_0xe7476b(0x28e),_0x555ad2[_0x555ad2['UNIVER_DOC']=0x1]=_0xe7476b(0x25f),_0x555ad2[_0x555ad2['UNIVER_SHEET']=0x2]=_0xe7476b(0x2f4),_0x555ad2[_0x555ad2[_0xe7476b(0x2c2)]=0x3]=_0xe7476b(0x2c2),_0x555ad2[_0x555ad2['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x555ad2[_0x555ad2[_0xe7476b(0x112)]=-0x1]='UNRECOGNIZED',_0x555ad2))(Z||{}),F=(_0x1b49ab=>(_0x1b49ab[_0x1b49ab[_0xe7476b(0x250)]=0x0]=_0xe7476b(0x250),_0x1b49ab[_0x1b49ab[_0xe7476b(0x166)]=0x1]=_0xe7476b(0x166),_0x1b49ab[_0x1b49ab[_0xe7476b(0x133)]=0x2]='JOIN',_0x1b49ab[_0x1b49ab[_0xe7476b(0x326)]=0x3]=_0xe7476b(0x326),_0x1b49ab[_0x1b49ab[_0xe7476b(0x31b)]=0x4]=_0xe7476b(0x31b),_0x1b49ab[_0x1b49ab[_0xe7476b(0x374)]=0x5]=_0xe7476b(0x374),_0x1b49ab[_0x1b49ab[_0xe7476b(0x39b)]=0x6]=_0xe7476b(0x39b),_0x1b49ab[_0x1b49ab[_0xe7476b(0x112)]=-0x1]='UNRECOGNIZED',_0x1b49ab))(F||{}),pe=(_0x3e855e=>(_0x3e855e[_0x3e855e['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x3e855e[_0x3e855e['OK']=0x1]='OK',_0x3e855e[_0x3e855e['FAIL']=0x2]=_0xe7476b(0x3b7),_0x3e855e[_0x3e855e['JOIN_ROOM_FULL']=0x3e9]=_0xe7476b(0x121),_0x3e855e[_0x3e855e[_0xe7476b(0x394)]=0x3ea]=_0xe7476b(0x394),_0x3e855e[_0x3e855e['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x3e855e[_0x3e855e[_0xe7476b(0x28b)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x3e855e[_0x3e855e[_0xe7476b(0x112)]=-0x1]='UNRECOGNIZED',_0x3e855e))(pe||{}),pi=(_0x1f4910=>(_0x1f4910[_0x1f4910[_0xe7476b(0x2b7)]=0x0]='Undefined',_0x1f4910[_0x1f4910[_0xe7476b(0x1ff)]=0x1]='HttpImport',_0x1f4910[_0x1f4910[_0xe7476b(0x1b1)]=0x2]='HttpExport',_0x1f4910[_0x1f4910['UnitEmbedded']=0x3]=_0xe7476b(0x334),_0x1f4910[_0x1f4910[_0xe7476b(0x3d8)]=0x4]=_0xe7476b(0x3d8),_0x1f4910[_0x1f4910['UserProfileImg']=0x5]=_0xe7476b(0x31f),_0x1f4910[_0x1f4910[_0xe7476b(0x112)]=-0x1]='UNRECOGNIZED',_0x1f4910))(pi||{});const Os=_0xe7476b(0x225);function bs(_0x49d304){var _0x5bed9b=_0xe7476b;return JSON[_0x5bed9b(0x2c7)](_0x49d304)[_0x5bed9b(0x295)];}var ne=(_0x4aa8e2=>(_0x4aa8e2[_0xe7476b(0x149)]=_0xe7476b(0x149),_0x4aa8e2[_0xe7476b(0x2ca)]=_0xe7476b(0x2ca),_0x4aa8e2[_0xe7476b(0x35f)]='CONFLICT',_0x4aa8e2['CLOSE_ROOM']=_0xe7476b(0x2c0),_0x4aa8e2[_0xe7476b(0x1e7)]=_0xe7476b(0x1e7),_0x4aa8e2['SOCKET_FAILED_RETRY']=_0xe7476b(0x239),_0x4aa8e2[_0xe7476b(0x371)]=_0xe7476b(0x371),_0x4aa8e2[_0xe7476b(0x324)]=_0xe7476b(0x324),_0x4aa8e2))(ne||{});class ve{constructor(){var _0xa6ac11=_0xe7476b;N(this,_0xa6ac11(0x3c2),new _0x22d8b5()),N(this,'event$',this['_event$']['asObservable']());}[_0xe7476b(0x385)](_0x1f8634){var _0x3bc3b=_0xe7476b;this[_0x3bc3b(0x3c2)]['next'](_0x1f8634);}}class mi{constructor(){var _0xcaf9e2=_0xe7476b;N(this,'_commentUpdate$',new _0x22d8b5()),N(this,_0xcaf9e2(0x252),this['_commentUpdate$']['asObservable']());}[_0xe7476b(0x2c5)](_0x48d4aa){var _0x41e565=_0xe7476b;this[_0x41e565(0x130)][_0x41e565(0x12c)](_0x48d4aa);}}var ys=Object[_0xe7476b(0x2af)],Ns=(_0x213e65,_0x13411f,_0x46e729,_0xe5e83e)=>{var _0x356fa7=_0xe7476b;for(var _0x44bf0c=_0xe5e83e>0x1?void 0x0:_0xe5e83e?ys(_0x13411f,_0x46e729):_0x13411f,_0x3c9223=_0x213e65[_0x356fa7(0x295)]-0x1,_0x30dd59;_0x3c9223>=0x0;_0x3c9223--)(_0x30dd59=_0x213e65[_0x3c9223])&&(_0x44bf0c=_0x30dd59(_0x44bf0c)||_0x44bf0c);return _0x44bf0c;},Ft=(_0x1d2004,_0x4e2011)=>(_0x5bceef,_0x1759c5)=>_0x4e2011(_0x5bceef,_0x1759c5,_0x1d2004);let we=class extends _0x1329fe{constructor(_0x218c75,_0x2ce378){var _0xac1ac4=_0xe7476b;super(),N(this,_0xac1ac4(0x330),new Map()),N(this,_0xac1ac4(0x344),new _0x22d8b5()),(this['_univerInstanceService']=_0x218c75,this[_0xac1ac4(0x16c)]=_0x2ce378,this['disposeWithMe'](_0x114bec(this[_0xac1ac4(0x257)][_0xac1ac4(0x134)](_0x313508[_0xac1ac4(0x2f4)])[_0xac1ac4(0x2d0)](_0x1263aa(_0x48ee5e=>_0x48ee5e[_0xac1ac4(0x109)]())),this[_0xac1ac4(0x257)]['getTypeOfUnitDisposed$'](_0x313508[_0xac1ac4(0x25f)])[_0xac1ac4(0x2d0)](_0x1263aa(_0x1676cf=>_0x1676cf[_0xac1ac4(0x109)]())),this[_0xac1ac4(0x257)]['getTypeOfUnitDisposed$'](_0x313508['UNIVER_SLIDE'])[_0xac1ac4(0x2d0)](_0x1263aa(_0x4202cd=>_0x4202cd['getUnitId']())))[_0xac1ac4(0x2b4)](_0x2b2593=>this['_removeRoom'](_0x2b2593))));}[_0xe7476b(0x15d)](_0x3c97f9){var _0x11c3b9=_0xe7476b;return this[_0x11c3b9(0x330)][_0x11c3b9(0x1a5)](_0x3c97f9)?_0x31c001(this[_0x11c3b9(0x330)][_0x11c3b9(0x174)](_0x3c97f9)):this[_0x11c3b9(0x344)][_0x11c3b9(0x2d0)](_0x1263aa(_0x7fb102=>{var _0x2190d4=_0x11c3b9;if(_0x7fb102===_0x3c97f9)return this[_0x2190d4(0x330)]['get'](_0x7fb102);}));}[_0xe7476b(0x304)](_0x16e024){var _0x5e6b15=_0xe7476b;this[_0x5e6b15(0x16c)]['setCurrentUser'](_0x16e024);}[_0xe7476b(0x36e)](){var _0x5b2981=_0xe7476b;return this[_0x5b2981(0x16c)][_0x5b2981(0x36e)]();}[_0xe7476b(0x368)](_0x4e6f47,_0xb60514){var _0x444a81=_0xe7476b;let _0x4f0143=this['_roomMembers']['get'](_0x4e6f47);_0x4f0143||(_0x4f0143=new Ds(),this['_roomMembers']['set'](_0x4e6f47,_0x4f0143),this[_0x444a81(0x344)][_0x444a81(0x12c)](_0x4e6f47)),_0x4f0143[_0x444a81(0x368)](_0xb60514);}[_0xe7476b(0x3e0)](_0x413bb0,_0x87ffb5){var _0x5e6972=_0xe7476b;const _0x4d0ab2=this[_0x5e6972(0x330)][_0x5e6972(0x174)](_0x413bb0);_0x4d0ab2&&_0x4d0ab2['removeMember'](_0x87ffb5);}['getRoom'](_0x1247f9){var _0x55ffe4=_0xe7476b;return this[_0x55ffe4(0x330)][_0x55ffe4(0x174)](_0x1247f9);}[_0xe7476b(0x32d)](_0x2da24d,_0x35d516){var _0x129075=_0xe7476b;const _0x17e1a1=this['_roomMembers'][_0x129075(0x174)](_0x2da24d);if(_0x17e1a1)return _0x17e1a1[_0x129075(0x32d)](_0x35d516);}[_0xe7476b(0x2bf)](_0x22aafa){var _0xf0a169=_0xe7476b;const _0x2159ef=this[_0xf0a169(0x330)][_0xf0a169(0x174)](_0x22aafa);_0x2159ef&&(_0x2159ef[_0xf0a169(0x322)](),this['_roomMembers']['delete'](_0x22aafa));}['dispose'](){var _0x185e44=_0xe7476b;this['_roomMembers']['forEach'](_0x31cee8=>_0x31cee8[_0x185e44(0x322)]()),this[_0x185e44(0x330)][_0x185e44(0x1be)](),this[_0x185e44(0x344)]['complete']();}};we=Ns([Ft(0x0,_0x564314),Ft(0x1,_0x3ab451(_0x23d811))],we);class Ds extends _0x1329fe{constructor(){var _0x4e5e5d=_0xe7476b;super(...arguments),N(this,'_members',new Map()),N(this,_0x4e5e5d(0x170),new _0x1c92f2(this[_0x4e5e5d(0x26f)])),N(this,'members$',this[_0x4e5e5d(0x170)]['asObservable']());}[_0xe7476b(0x322)](){var _0x276dbd=_0xe7476b;this[_0x276dbd(0x26f)][_0x276dbd(0x1be)]();}[_0xe7476b(0x368)](_0x15dbd3){var _0x36a960=_0xe7476b;this['_members'][_0x36a960(0x355)](_0x15dbd3[_0x36a960(0x224)],_0x15dbd3),this[_0x36a960(0xf9)]();}['removeMember'](_0x4faad2){var _0x1a24b1=_0xe7476b;this[_0x1a24b1(0x26f)][_0x1a24b1(0x333)](_0x4faad2);}['getMember'](_0x102b73){var _0x287445=_0xe7476b;return this['_members'][_0x287445(0x174)](_0x102b73);}[_0xe7476b(0x381)](){var _0x255a34=_0xe7476b;return Array[_0x255a34(0x200)](this[_0x255a34(0x26f)]['values']());}['_emitMembers'](){var _0x247b23=_0xe7476b;this[_0x247b23(0x170)][_0x247b23(0x12c)](this['_members']);}}var Us=Object['getOwnPropertyDescriptor'],As=(_0x3f10fd,_0x501899,_0x1575c4,_0x415f1f)=>{var _0x541be7=_0xe7476b;for(var _0x227681=_0x415f1f>0x1?void 0x0:_0x415f1f?Us(_0x501899,_0x1575c4):_0x501899,_0x82d744=_0x3f10fd[_0x541be7(0x295)]-0x1,_0x323542;_0x82d744>=0x0;_0x82d744--)(_0x323542=_0x3f10fd[_0x82d744])&&(_0x227681=_0x323542(_0x227681)||_0x227681);return _0x227681;},Ce=(_0x4e69be,_0x49ed07)=>(_0x337203,_0x463025)=>_0x49ed07(_0x337203,_0x463025,_0x4e69be),ge=(_0x2176da=>(_0x2176da[_0x2176da['IDLE']=0x0]='IDLE',_0x2176da[_0x2176da[_0xe7476b(0x36d)]=0x1]='JOINING',_0x2176da[_0x2176da[_0xe7476b(0x3ba)]=0x2]=_0xe7476b(0x3ba),_0x2176da[_0x2176da[_0xe7476b(0x38a)]=0x3]=_0xe7476b(0x38a),_0x2176da))(ge||{});const Vt={[pe[_0xe7476b(0x3b7)]]:_0xe7476b(0x29a),[pe[_0xe7476b(0x121)]]:_0xe7476b(0x3c3),[pe['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[pe[_0xe7476b(0x260)]]:_0xe7476b(0x213),[pe[_0xe7476b(0x28b)]]:'session.room-cnt-exceeds'};let gt=class extends _0x596c5c{constructor(_0x3a4860,_0x1211a4,_0x36f541,_0x33436f,_0x33bf09,_0x6e557a,_0x955d98,_0x3e1ac2){var _0x340a5c=_0xe7476b;super(),N(this,'_sessionStatus$',new _0x1c92f2(0x0)),N(this,_0x340a5c(0x15c),this['_sessionStatus$']['asObservable']()),N(this,'_event$',new _0x22d8b5()),N(this,_0x340a5c(0x1e3),this[_0x340a5c(0x3c2)]['asObservable']()),N(this,_0x340a5c(0xf7)),N(this,_0x340a5c(0x153)),N(this,_0x340a5c(0x1c2)),N(this,_0x340a5c(0x129),!0x1),N(this,_0x340a5c(0x1a1),null),(this[_0x340a5c(0x156)]=_0x3a4860,this[_0x340a5c(0x1e0)]=_0x36f541,this[_0x340a5c(0x29f)]=_0x33436f,this[_0x340a5c(0x3b9)]=_0x33bf09,this[_0x340a5c(0x140)]=_0x6e557a,this['_collaborationUIEventService']=_0x955d98,this[_0x340a5c(0x3cf)]=_0x3e1ac2,this[_0x340a5c(0x129)]=!!this[_0x340a5c(0x3cf)],_0x1211a4[_0x340a5c(0x2d0)](_0x1f2e28(this[_0x340a5c(0x265)]))[_0x340a5c(0x2b4)](_0x22ae5b=>{var _0x1adac4=_0x340a5c,_0x17c9f9;typeof _0x22ae5b>'u'||(this[_0x1adac4(0xf7)]=_0x22ae5b,_0x22ae5b?(this[_0x1adac4(0x3a2)](_0x22ae5b),this[_0x1adac4(0x153)]=_0x22ae5b['message$']['subscribe'](_0x5699d0=>{var _0x5a5084=_0x1adac4;_0x5699d0['routeKey']===this[_0x5a5084(0x156)]&&this[_0x5a5084(0x2eb)](_0x5699d0);})):(this[_0x1adac4(0x33d)](),this['_sessionStatus$'][_0x1adac4(0x12c)](0x2),(_0x17c9f9=this[_0x1adac4(0x153)])==null||_0x17c9f9[_0x1adac4(0x319)](),this[_0x1adac4(0x153)]=null));}));}get[_0xe7476b(0x207)](){var _0x2916bb=_0xe7476b;return this['_sessionStatus$'][_0x2916bb(0x3df)]();}[_0xe7476b(0x299)](){var _0x5f15d9=_0xe7476b,_0x34841c,_0x26e61c;return(_0x26e61c=(_0x34841c=this['_socket'])==null?void 0x0:_0x34841c[_0x5f15d9(0x224)])!=null?_0x26e61c:null;}[_0xe7476b(0x322)](){var _0x86fa3a=_0xe7476b;super[_0x86fa3a(0x322)](),this[_0x86fa3a(0x265)][_0x86fa3a(0x12c)](),this[_0x86fa3a(0x265)]['complete']();}['close'](){var _0x12651b=_0xe7476b,_0x4d32a5,_0x34a167;this[_0x12651b(0x33d)](),(_0x4d32a5=this[_0x12651b(0xf7)])==null||_0x4d32a5[_0x12651b(0x3c8)]({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x34a167=this[_0x12651b(0xf7)])==null||_0x34a167[_0x12651b(0x353)](),this[_0x12651b(0x3c2)]['complete'](),this[_0x12651b(0x116)]['complete'](),this[_0x12651b(0x322)]();}['_onCombEvent'](_0x3baedd){var _0x1811c1=_0xe7476b;_0x3baedd[_0x1811c1(0x2a8)]===F[_0x1811c1(0x133)]?this[_0x1811c1(0x2f2)](_0x3baedd):_0x3baedd[_0x1811c1(0x2a8)]===F[_0x1811c1(0x39b)]&&this[_0x1811c1(0x1b7)](_0x3baedd);}[_0xe7476b(0x3a2)](_0x41c31f){var _0x274607=_0xe7476b;this[_0x274607(0x116)][_0x274607(0x12c)](0x1),_0x41c31f['send']({'cmd':F[_0x274607(0x133)],'routeKey':this[_0x274607(0x156)],'routeType':'','data':{'rooms':[{'roomID':this[_0x274607(0x156)]}]}});}[_0xe7476b(0x2f2)](_0x867eb8){var _0x1727e4=_0xe7476b,_0x17597a;if(_0x867eb8[_0x1727e4(0x3a9)]in Vt){this['_collaborationUIEventService'][_0x1727e4(0x385)]({'id':ne['JOIN_ROOM_FAILED'],'data':Vt[_0x867eb8[_0x1727e4(0x3a9)]]}),this[_0x1727e4(0x116)]['next'](0x2);return;}this[_0x1727e4(0x116)][_0x1727e4(0x12c)](0x3);const _0x336c19=(_0x17597a=_0x867eb8['data']['roomInfos'][this[_0x1727e4(0x156)]])==null?void 0x0:_0x17597a[_0x1727e4(0x2a7)];_0x336c19&&_0x336c19[_0x1727e4(0x21a)](_0x3f3623=>this[_0x1727e4(0x3b9)][_0x1727e4(0x368)](this[_0x1727e4(0x156)],_0x3f3623));}[_0xe7476b(0x1b7)](_0x1e2364){var _0x5398e5=_0xe7476b;try{const _0x1fb0de=_0x1e2364[_0x5398e5(0x182)];switch(_0x1fb0de[_0x5398e5(0x36f)]){case _0x15f20d[_0x5398e5(0x3b3)]:this['_onUserJoin'](_0x1fb0de),this[_0x5398e5(0x3c2)][_0x5398e5(0x12c)](_0x1fb0de);break;case _0x15f20d['USERS_LEAVE']:this[_0x5398e5(0x19e)](_0x1fb0de),this[_0x5398e5(0x3c2)][_0x5398e5(0x12c)](_0x1fb0de);break;case _0x15f20d[_0x5398e5(0x15e)]:case _0x15f20d[_0x5398e5(0x173)]:this[_0x5398e5(0x3e4)](),this[_0x5398e5(0x39c)](),this[_0x5398e5(0x3c2)][_0x5398e5(0x12c)](_0x1fb0de);break;case _0x15f20d[_0x5398e5(0x2f6)]:this[_0x5398e5(0x1e0)][_0x5398e5(0x33f)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x5398e5(0x2c7)](_0x1fb0de)),this['_event$'][_0x5398e5(0x12c)](_0x1fb0de);break;case _0x15f20d[_0x5398e5(0x1d4)]:this['_commentService']['onCommentUpdate'](_0x1fb0de['data']),this[_0x5398e5(0x3c2)][_0x5398e5(0x12c)](_0x1fb0de);break;default:this[_0x5398e5(0x3c2)]['next'](_0x1fb0de);}}catch(_0x38d48d){this[_0x5398e5(0x1e0)][_0x5398e5(0x33f)](_0x38d48d,_0x1e2364);}}[_0xe7476b(0x24f)](_0x37367d){var _0x25fb95=_0xe7476b;this[_0x25fb95(0x3b9)][_0x25fb95(0x368)](this[_0x25fb95(0x156)],_0x37367d[_0x25fb95(0x182)]);}[_0xe7476b(0x19e)](_0x5b48d0){var _0x532166=_0xe7476b;this['_memberService'][_0x532166(0x3e0)](this['_unitID'],_0x5b48d0[_0x532166(0x182)][_0x532166(0x224)]);}async[_0xe7476b(0x3c8)](_0x3f3b34,_0x1fcba8){var _0x26ea6b=_0xe7476b;if(this[_0x26ea6b(0x207)]!==0x3||!this[_0x26ea6b(0xf7)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3f3b34[_0x26ea6b(0x36f)]===_0x15f20d[_0x26ea6b(0x2ce)]&&(this[_0x26ea6b(0x2f0)](),this['_startTelemetryCollaborationNewChangeset'](_0x3f3b34)),this[_0x26ea6b(0xf7)][_0x26ea6b(0x3c8)]({'cmd':F[_0x26ea6b(0x31b)],'routeKey':_0x1fcba8,'routeType':'','data':_0x3f3b34});}catch(_0x3429a6){this['_logService'][_0x26ea6b(0x33f)](_0x3429a6);}}['_scheduleCollaborationTimeoutTimer'](){var _0xd977a1=_0xe7476b,_0x43337e;this[_0xd977a1(0x1c2)]=setTimeout(()=>{var _0x2e795d=_0xd977a1;this['_collaborationTimeoutTimer']=null,this[_0x2e795d(0x34d)][_0x2e795d(0x385)]({'id':ne[_0x2e795d(0x324)]});},(_0x43337e=this[_0xd977a1(0x29f)][_0xd977a1(0x178)](di))!=null?_0x43337e:fi);}['_clearCollaborationTimeoutTimer'](){var _0x2ec1d3=_0xe7476b;this[_0x2ec1d3(0x1c2)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x2ec1d3(0x1c2)]=null);}[_0xe7476b(0x31a)](_0x19a7ee){var _0x536965=_0xe7476b;if(!this[_0x536965(0x129)])return;const {data:_0x109256}=_0x19a7ee,{unitID:_0x43c8ce,changeset:_0x533997}=_0x109256,{mutations:_0x2a811e,type:_0x4225ba}=_0x533997;this['_telemetryInfo']={'unitId':_0x43c8ce,'type':_0x4225ba,'startTime':performance[_0x536965(0x1ab)](),'stopTime':0x0,'duration':0x0,'size':bs(_0x2a811e)};}[_0xe7476b(0x3e4)](){var _0x43848d=_0xe7476b;if(this[_0x43848d(0x129)]){if(!this[_0x43848d(0x1a1)]){this['_logService'][_0x43848d(0x33f)](_0x43848d(0x1f2),_0x43848d(0x390));return;}this[_0x43848d(0x1a1)]['stopTime']=performance[_0x43848d(0x1ab)](),this[_0x43848d(0x1a1)][_0x43848d(0x37e)]=this[_0x43848d(0x1a1)]['stopTime']-this['_telemetryInfo'][_0x43848d(0x1cc)],this[_0x43848d(0x3cf)][_0x43848d(0x321)](Os,this[_0x43848d(0x1a1)]),this[_0x43848d(0x1a1)]=null;}}[_0xe7476b(0x33d)](){var _0x5e06d7=_0xe7476b;this[_0x5e06d7(0x1a1)]=null;}};gt=As([Ce(0x2,_0x5d58e7),Ce(0x3,_0x2c6e2),Ce(0x4,_0x3ab451(we)),Ce(0x5,_0x3ab451(mi)),Ce(0x6,_0x3ab451(ve)),Ce(0x7,_0x101caa(_0x215c33))],gt);const J=_0x38fdf1(_0xe7476b(0x131));function br(_0x3a7f4a){var _0x4f4aa2=_0xe7476b;return _0x4f4aa2(0x33c)+_0x3a7f4a;}var ws=Object['getOwnPropertyDescriptor'],Ps=(_0xf92916,_0x64f8e6,_0x3b2d73,_0x4f5c9a)=>{for(var _0x3177bc=_0x4f5c9a>0x1?void 0x0:_0x4f5c9a?ws(_0x64f8e6,_0x3b2d73):_0x64f8e6,_0x5ef489=_0xf92916['length']-0x1,_0x4bcfe3;_0x5ef489>=0x0;_0x5ef489--)(_0x4bcfe3=_0xf92916[_0x5ef489])&&(_0x3177bc=_0x4bcfe3(_0x3177bc)||_0x3177bc);return _0x3177bc;},ut=(_0x4b4477,_0xcc769b)=>(_0x9163b4,_0x318153)=>_0xcc769b(_0x9163b4,_0x318153,_0x4b4477);function Ms(_0xf7efac){var _0x27f663=_0xe7476b;const {unitID:_0xb59823,mutations:_0x1adeae}=_0xf7efac;return{'unitId':_0xb59823,'subUnitId':_0x1adeae[0x0][_0x27f663(0x1e2)][_0x27f663(0x38d)]};}let it=class{constructor(_0x1eef1d,_0x4c70da,_0x3aa27c){var _0x5c7f35=_0xe7476b;this[_0x5c7f35(0x284)]=_0x1eef1d,this[_0x5c7f35(0x277)]=_0x4c70da,this[_0x5c7f35(0x11c)]=_0x3aa27c;}[_0xe7476b(0x1c4)](_0x23540b){var _0x1ddfff=_0xe7476b,_0x3079dd,_0x1845f3,_0x58e7e8,_0x80c3c;const _0x49ddd3=this['_injector'][_0x1ddfff(0x174)](_0x57ea14),{unitId:_0x210951,subUnitId:_0x1d920d}=Ms(_0x23540b),_0x2e477b=_0x49ddd3==null?void 0x0:_0x49ddd3[_0x1ddfff(0x197)](_0x210951)[_0x1ddfff(0x336)](),_0x25b0b6=(_0x1845f3=(_0x3079dd=this[_0x1ddfff(0x11c)][_0x1ddfff(0x14f)](_0x210951))==null?void 0x0:_0x3079dd[_0x1ddfff(0x17a)]())==null?void 0x0:_0x1845f3['getSheetId']();if(_0x2e477b[_0x1ddfff(0x295)]===0x0||!_0x210951||!_0x1d920d)return;const _0x2b968d=[{'id':_0x2ad600['id'],'params':{'unitId':_0x210951,'subUnitId':_0x25b0b6,'selections':_0x2f6f0f['deepClone'](_0x2e477b)}}],_0x417453=this['_transformService']['transformMutationsWithChangeset'](_0x23540b,_0x2b968d);if(!_0x165956(_0x417453))throw _0x417453[_0x1ddfff(0x33f)];const _0x1f6ff5=(_0x80c3c=(_0x58e7e8=_0x417453['m2Prime'][0x0])==null?void 0x0:_0x58e7e8[_0x1ddfff(0x1e2)])==null?void 0x0:_0x80c3c[_0x1ddfff(0x16b)];if(Array[_0x1ddfff(0x1c6)](_0x1f6ff5)&&_0x1f6ff5[_0x1ddfff(0x295)]){if(_0x1f6ff5[_0x1ddfff(0x295)]===_0x2b968d[0x0][_0x1ddfff(0x1e2)][_0x1ddfff(0x16b)][_0x1ddfff(0x295)]&&_0x1f6ff5[_0x1ddfff(0x12a)]((_0x340bc2,_0x3ff647)=>_0x107a0a['equals'](_0x340bc2[_0x1ddfff(0x1ed)],_0x2b968d[0x0][_0x1ddfff(0x1e2)][_0x1ddfff(0x16b)][_0x3ff647][_0x1ddfff(0x1ed)])))return;this[_0x1ddfff(0x284)][_0x1ddfff(0x174)](_0x22ca1b)[_0x1ddfff(0x249)](_0x2ad600['id'],{'unitId':_0x210951,'subUnitId':_0x25b0b6,'selections':_0x1f6ff5});}}};it=Ps([ut(0x0,_0x3ab451(_0x494864)),ut(0x1,_0x2a49de),ut(0x2,_0x564314)],it);const ht=_0x38fdf1(_0xe7476b(0x19b));var gi=(_0x3da206=>(_0x3da206[_0x3da206['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3da206[_0x3da206[_0xe7476b(0x24b)]=0x1]=_0xe7476b(0x24b),_0x3da206))(gi||{});const K=_0xe7476b(0x3d0),Ls={},xs=new Set([_0x460f1d['id']]);function Wt(_0x35d595,_0x13e745,_0x4c8bbc,_0xef1a3,_0xd2a9ac){var _0x4e40fa=_0xe7476b,_0x20ddc7,_0x1263da,_0x4cb9d1,_0x29ff02;const _0x2c79c4=[];for(const _0x821a88 of _0x35d595)if(xs['has'](_0x821a88['id'])){if(_0x2c79c4[_0x4e40fa(0x295)]>0x0)break;_0x2c79c4['push'](_0x821a88);break;}else _0x2c79c4['push'](_0x821a88);const _0x1fddea=(_0x1263da=(_0x20ddc7=_0xd2a9ac['getCurrentUser']())==null?void 0x0:_0x20ddc7[_0x4e40fa(0x2f5)])!=null?_0x1263da:_0x4e40fa(0x22c),_0x5710ed=(_0x29ff02=(_0x4cb9d1=_0xd2a9ac[_0x4e40fa(0x36e)]())==null?void 0x0:_0x4cb9d1['memberID'])!=null?_0x29ff02:'unknown';return{'changeset':{'unitID':_0x13e745,'type':_0x1e4bd8(_0x4c8bbc[_0x4e40fa(0x167)](_0x13e745)),'baseRev':_0xef1a3[_0x4e40fa(0x348)](_0x13e745),'revision':0x0,'userID':_0x1fddea,'memberID':_0x5710ed,'mutations':_0x2c79c4},'pendingMutations':_0x35d595[_0x4e40fa(0x253)](_0x2c79c4['length'])};}function ks(_0x4f7980,_0x4e31b8,_0x4b3fe0,_0x3fadfb,_0x2a42ff){var _0xb2bfe1=_0xe7476b,_0x555eb9,_0x27f41b,_0x2770d9,_0x38c06a;const _0x2b0323=[_0x4f7980[_0xb2bfe1(0x2df)]((_0x30ea2e,_0x1e65ad)=>{var _0x4b6958=_0xb2bfe1,_0x455a05;const {id:_0x412b5e}=_0x30ea2e,{id:_0x54c2e0,type:_0x44208e}=_0x1e65ad,_0x12676e=(_0x455a05=_0x30ea2e[_0x4b6958(0x1e2)])!=null?_0x455a05:{'actions':null},_0x5b6187=_0x1e65ad[_0x4b6958(0x1e2)];if(_0x412b5e&&_0x412b5e!==_0x54c2e0)throw new Error(_0x4b6958(0x10b)+_0x412b5e+_0x4b6958(0x307)+_0x54c2e0+'.');return{..._0x30ea2e,'id':_0x54c2e0,'type':_0x44208e,'params':{'unitId':_0x5b6187['unitId'],'textRanges':_0x5b6187['textRanges'],'actions':_0x4bc0b5['compose'](_0x12676e[_0x4b6958(0x314)],_0x5b6187[_0x4b6958(0x314)])}};},{})],_0xbea28=(_0x27f41b=(_0x555eb9=_0x2a42ff['getCurrentUser']())==null?void 0x0:_0x555eb9[_0xb2bfe1(0x2f5)])!=null?_0x27f41b:_0xb2bfe1(0x22c),_0x27446d=(_0x38c06a=(_0x2770d9=_0x2a42ff['getCurrentUser']())==null?void 0x0:_0x2770d9['memberID'])!=null?_0x38c06a:_0xb2bfe1(0x22c);return{'changeset':{'unitID':_0x4e31b8,'type':_0x1e4bd8(_0x4b3fe0[_0xb2bfe1(0x167)](_0x4e31b8)),'baseRev':_0x3fadfb[_0xb2bfe1(0x348)](_0x4e31b8),'revision':0x0,'userID':_0xbea28,'memberID':_0x27446d,'mutations':_0x2b0323},'pendingMutations':[]};}function Si(_0x1c3910,_0x270817){var _0x6d921=_0xe7476b;const _0x4d4d32=new _0x432924(0x1);return setTimeout(()=>_0x4d4d32[_0x6d921(0x12c)](_0x270817),_0x1c3910),_0x4d4d32[_0x6d921(0x2be)]()[_0x6d921(0x2d0)](_0x460f4a(0x1));}const $s={'id':_0xae98d1['id'],'type':_0x2b0c13[_0xe7476b(0x193)],'params':{}};var Hs=Object[_0xe7476b(0x2af)],Ee=(_0x167770,_0x2da2de,_0x39e11b,_0x95789)=>{var _0x141ab2=_0xe7476b;for(var _0x17bddc=_0x95789>0x1?void 0x0:_0x95789?Hs(_0x2da2de,_0x39e11b):_0x2da2de,_0x120b57=_0x167770[_0x141ab2(0x295)]-0x1,_0x529c6e;_0x120b57>=0x0;_0x120b57--)(_0x529c6e=_0x167770[_0x120b57])&&(_0x17bddc=_0x529c6e(_0x17bddc)||_0x17bddc);return _0x17bddc;},P=(_0x36360d,_0xbaadb1)=>(_0x6413d7,_0x4f485d)=>_0xbaadb1(_0x6413d7,_0x4f485d,_0x36360d),Ei=(_0x4345de=>(_0x4345de['NOT_COLLAB']='not_collab',_0x4345de[_0xe7476b(0x21f)]='synced',_0x4345de[_0xe7476b(0x11b)]='pending',_0x4345de['AWAITING']=_0xe7476b(0x247),_0x4345de['AWAITING_WITH_PENDING']=_0xe7476b(0x274),_0x4345de[_0xe7476b(0x1f6)]=_0xe7476b(0x106),_0x4345de['CONFLICT']=_0xe7476b(0x2fd),_0x4345de[_0xe7476b(0x3ba)]=_0xe7476b(0x297),_0x4345de))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x4bb926,_0x4df93e,_0x277a5e,_0x5e1be6,_0x36a10a,_0x24b362,_0x2a6c35,_0x371086,_0x4609ae){var _0x186157=_0xe7476b;N(this,_0x186157(0x382),null),N(this,_0x186157(0x262),[]),(this[_0x186157(0x2a9)]=_0x4bb926,this[_0x186157(0x366)]=_0x4df93e,this[_0x186157(0x1d3)]=_0x36a10a,this[_0x186157(0x35b)]=_0x24b362,this[_0x186157(0x125)]=_0x2a6c35,this[_0x186157(0x331)]=_0x371086,this[_0x186157(0x316)]=_0x4609ae,this[_0x186157(0x382)]=_0x277a5e,this[_0x186157(0x262)]=_0x5e1be6);}[_0xe7476b(0xf6)](_0x578819){var _0x360d4b=_0xe7476b;const _0x45cfce=this[_0x360d4b(0x331)][_0x360d4b(0x348)](this['unitID']);return _0x578819['revision']>_0x45cfce+0x1?(this[_0x360d4b(0x1d3)][_0x360d4b(0x13f)]({'from':_0x45cfce,'to':_0x578819[_0x360d4b(0xf4)]-0x1}),!0x0):!0x1;}[_0xe7476b(0x329)](_0x4fa978){var _0x2fc22=_0xe7476b;this[_0x2fc22(0x125)][_0x2fc22(0x23b)](this[_0x2fc22(0x2a9)],_0x4fa978);}[_0xe7476b(0x338)](_0x1b1240){var _0x2d359c=_0xe7476b,_0xfe7445,_0xec359d;(_0xec359d=(_0xfe7445=this['_handler'])[_0x2d359c(0x3a1)])==null||_0xec359d[_0x2d359c(0x290)](_0xfe7445,_0x1b1240);}[_0xe7476b(0x160)](_0x5e1481){var _0x10e09f=_0xe7476b,_0xa6363e,_0x1b946d;return(_0x1b946d=(_0xa6363e=this[_0x10e09f(0x1d3)])[_0x10e09f(0x12b)])==null?void 0x0:_0x1b946d[_0x10e09f(0x290)](_0xa6363e,_0x5e1481);}['_transformStateCache'](_0x45b681){var _0x21b030=_0xe7476b,_0x418630,_0x54ec5e;return(_0x54ec5e=(_0x418630=this[_0x21b030(0x1d3)])[_0x21b030(0x1db)])==null?void 0x0:_0x54ec5e[_0x21b030(0x290)](_0x418630,_0x45b681);}[_0xe7476b(0x215)](_0x28a9e8){var _0x21f53d=_0xe7476b,_0x233c12,_0x52973a,_0x1f75a3;return(_0x1f75a3=(_0x52973a=(_0x233c12=this[_0x21f53d(0x1d3)])[_0x21f53d(0x3e2)])==null?void 0x0:_0x52973a[_0x21f53d(0x290)](_0x233c12,_0x28a9e8))!=null?_0x1f75a3:_0x28a9e8;}[_0xe7476b(0x3ad)](_0x23d8ef){var _0x35ecba=_0xe7476b,_0x48783f,_0x48c8ca,_0x13c246;return(_0x13c246=(_0x48c8ca=(_0x48783f=this[_0x35ecba(0x1d3)])[_0x35ecba(0x37c)])==null?void 0x0:_0x48c8ca[_0x35ecba(0x290)](_0x48783f,_0x23d8ef))!=null?_0x13c246:_0x23d8ef;}[_0xe7476b(0x20e)](_0x436b3e){var _0x50c123=_0xe7476b,_0x55834e,_0x41fcaa;if(this['type']===Z[_0x50c123(0x25f)]){const {unitID:_0xc5a8a,mutations:_0xdad39e,memberID:_0x51e379}=_0x436b3e,_0x353bac=_0xdad39e[0x0]['params'][_0x50c123(0x2e5)];Array[_0x50c123(0x1c6)](_0x353bac)&&_0x353bac[_0x50c123(0x295)]>0x0&&((_0x41fcaa=(_0x55834e=this[_0x50c123(0x1d3)])[_0x50c123(0x1d7)])==null||_0x41fcaa['call'](_0x55834e,{'unitID':_0xc5a8a,'memberID':_0x51e379,'textRanges':_0x353bac}));}}[_0xe7476b(0x39d)](){var _0x40a064=_0xe7476b,_0x4b77f2;(_0x4b77f2=this[_0x40a064(0x316)])==null||_0x4b77f2['updateOfflineData'](this[_0x40a064(0x2a9)],this[_0x40a064(0x366)],this['_awaitingChangeset'],this[_0x40a064(0x262)]);}['_getCurrentRevision'](){var _0xba0d38=_0xe7476b;return this[_0xba0d38(0x331)][_0xba0d38(0x348)](this[_0xba0d38(0x2a9)]);}[_0xe7476b(0x364)](){var _0x2f74e1=_0xe7476b;this[_0x2f74e1(0x331)][_0x2f74e1(0x1bb)](this['unitID']);}[_0xe7476b(0x1c5)](_0x209c90){var _0x709959=_0xe7476b,_0x20131f;let _0x27db54=this['_transformRemoteChangesetByIMECache'](_0x209c90);_0x27db54=this[_0x709959(0x3ad)](_0x27db54);const _0x473ee7=_0x38a18d(_0x27db54[_0x709959(0x23e)],this[_0x709959(0x35b)],{'fromCollab':!0x0});if(!_0x473ee7[_0x709959(0x2ab)])throw _0x473ee7[_0x709959(0x33f)]instanceof Error?_0x473ee7[_0x709959(0x33f)]:new Error((_0x20131f=_0x473ee7[_0x709959(0x33f)])!=null?_0x20131f:_0x709959(0x391));this['_transformIMECache'](_0x27db54),this['_transformStateCache'](_0x27db54),this[_0x709959(0x329)](_0x209c90),this['_transformSelections'](_0x27db54),this[_0x709959(0x20e)](_0x27db54),this['_incrementRevisionNumber']();}}let ye=class extends Ie{constructor(_0x8fe075,_0x15268c,_0xdaff78,_0x416bf0,_0x3f1630,_0x4dfda9,_0xe03ce6,_0xf7bb6,_0x463bcc,_0x4f4bf2){var _0x237d93=_0xe7476b;super(_0x8fe075,_0x15268c,null,[],_0xdaff78,_0xe03ce6,_0x4dfda9,_0x416bf0,_0x4f4bf2),N(this,_0x237d93(0x302),_0x237d93(0x276)),(this[_0x237d93(0x284)]=_0x3f1630,this[_0x237d93(0x1e0)]=_0xf7bb6,this[_0x237d93(0x277)]=_0x463bcc,this[_0x237d93(0x13e)]=_0x4f4bf2);}[_0xe7476b(0x1ba)](_0x15da3e){var _0x5960c3=_0xe7476b;const _0x2bcf68=this[_0x5960c3(0x284)][_0x5960c3(0x163)](re,this[_0x5960c3(0x2a9)],this[_0x5960c3(0x366)],[_0x15da3e],this[_0x5960c3(0x1d3)]);return _0x2bcf68[_0x5960c3(0x15f)](),_0x2bcf68[_0x5960c3(0x39d)](),_0x2bcf68;}['onRemoteChangeset'](_0x465f80){var _0x1992c7=_0xe7476b;if(this[_0x1992c7(0xf6)](_0x465f80))return this[_0x1992c7(0x284)][_0x1992c7(0x163)](Q,this[_0x1992c7(0x2a9)],this['type'],null,[],null,[_0x465f80],this['_handler']);try{const _0x14720c=this[_0x1992c7(0x277)][_0x1992c7(0x38f)](_0x465f80,[$s]);if(_0x165956(_0x14720c)){const {c1Prime:_0x156efd}=_0x14720c;return this[_0x1992c7(0x1c5)](_0x156efd),this;}throw _0x14720c[_0x1992c7(0x33f)];}catch(_0x163ed6){return this[_0x1992c7(0x1e0)]['error'](_0x163ed6),this[_0x1992c7(0x21e)](!0x1);}}[_0xe7476b(0x21e)](_0x8a568b){var _0x299a83=_0xe7476b;return this[_0x299a83(0x284)][_0x299a83(0x163)](le,this[_0x299a83(0x2a9)],this[_0x299a83(0x366)],null,[],this['_handler'],_0x8a568b);}['onRemoteAck'](){var _0x2d69ed=_0xe7476b;throw new Error(_0x2d69ed(0xf1));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0xe7476b(0x2f3)](){return this;}[_0xe7476b(0x38c)](){var _0x411c1b=_0xe7476b;return this['_injector'][_0x411c1b(0x163)](ue,this['unitID'],this['type'],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0xe7476b(0x31e)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xe7476b(0x26d)](){var _0x1904d3=_0xe7476b;const _0x223463=this[_0x1904d3(0x331)]['getCurrentRevOfUnit'](this[_0x1904d3(0x2a9)]);return this[_0x1904d3(0x1d3)][_0x1904d3(0x13f)]({'from':_0x223463,'to':0x0}),this[_0x1904d3(0x284)][_0x1904d3(0x163)](Q,this[_0x1904d3(0x2a9)],this[_0x1904d3(0x366)],null,[],null,[],this[_0x1904d3(0x1d3)]);}};ye=Ee([P(0x3,_0x3ab451(_0x243094)),P(0x4,_0x3ab451(_0x494864)),P(0x5,_0x2a0c90),P(0x6,_0x22ca1b),P(0x7,_0x5d58e7),P(0x8,_0x2a49de),P(0x9,_0x101caa(J))],ye);let re=class extends Ie{constructor(_0x6c7c91,_0x467d94,_0x1f17d,_0x19600a,_0x1434f1,_0x402a1b,_0x5db050,_0x1ad291,_0x2dffee,_0x5ab326,_0x71d0b9,_0x1c48fe,_0x216338,_0x4fe369){var _0x1c1546=_0xe7476b;super(_0x6c7c91,_0x467d94,null,_0x1f17d,_0x19600a,_0x2dffee,_0x216338,_0x402a1b,_0x4fe369),N(this,_0x1c1546(0x302),'pending'),N(this,_0x1c1546(0x386),null),N(this,_0x1c1546(0x288),null),(this[_0x1c1546(0x284)]=_0x1434f1,this[_0x1c1546(0x3b9)]=_0x5db050,this['_logService']=_0x1ad291,this[_0x1c1546(0x29f)]=_0x5ab326,this[_0x1c1546(0x277)]=_0x71d0b9,this['_univerInstanceService']=_0x1c48fe);}[_0xe7476b(0x1ba)](_0x431db9){var _0x46d282=_0xe7476b;return this[_0x46d282(0x262)]['push'](_0x431db9),this[_0x46d282(0x39d)](),this;}[_0xe7476b(0x11f)](_0x2456db){var _0x20b92b=_0xe7476b;if(this[_0x20b92b(0xf6)](_0x2456db))return this[_0x20b92b(0x311)](),this[_0x20b92b(0x284)][_0x20b92b(0x163)](Q,this[_0x20b92b(0x2a9)],this[_0x20b92b(0x366)],null,this['_pendingMutations'],null,[_0x2456db],this[_0x20b92b(0x1d3)]);try{const _0x37fb18=this[_0x20b92b(0x277)][_0x20b92b(0x38f)](_0x2456db,this[_0x20b92b(0x262)]);if(_0x165956(_0x37fb18)){const {c1Prime:_0x2f5d8a,m2Prime:_0x4aa69e}=_0x37fb18;this[_0x20b92b(0x1c5)](_0x2f5d8a);const _0x1d94d0=this[_0x20b92b(0x284)][_0x20b92b(0x163)](re,this[_0x20b92b(0x2a9)],this[_0x20b92b(0x366)],_0x4aa69e,this[_0x20b92b(0x1d3)]);this[_0x20b92b(0x311)]();const _0x8301fa=new Date()[_0x20b92b(0x2bd)](),_0x2081e5=this['_scheduleCompleteTimestamp']?Math[_0x20b92b(0x108)](this[_0x20b92b(0x386)]-_0x8301fa,0x0):this['_getSendChangesetTimeout']();return _0x1d94d0[_0x20b92b(0x15f)](_0x2081e5),_0x1d94d0;}throw _0x37fb18[_0x20b92b(0x33f)];}catch(_0x5da0bc){return this[_0x20b92b(0x1e0)][_0x20b92b(0x33f)](_0x5da0bc),this[_0x20b92b(0x21e)](!0x1);}}[_0xe7476b(0x372)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0xe7476b(0x2b0)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0xe7476b(0x38c)](){var _0x560f0c=_0xe7476b;return this[_0x560f0c(0x311)](),this[_0x560f0c(0x284)]['createInstance'](ue,this['unitID'],this[_0x560f0c(0x366)],null,this[_0x560f0c(0x262)],this[_0x560f0c(0x1d3)]);}[_0xe7476b(0x343)](){return this;}[_0xe7476b(0x15f)](_0xaaac9d){var _0x22685d=_0xe7476b;const _0x351711=_0xaaac9d!=null?_0xaaac9d:this[_0x22685d(0x143)]();this[_0x22685d(0x386)]=new Date()[_0x22685d(0x2bd)]()+_0x351711,this[_0x22685d(0x288)]=setTimeout(()=>{var _0xa0a7f0=_0x22685d;this[_0xa0a7f0(0x311)]();let _0x480a40=null;switch(this[_0xa0a7f0(0x366)]){case Z[_0xa0a7f0(0x2f4)]:{_0x480a40=Wt(this['_pendingMutations'],this[_0xa0a7f0(0x2a9)],this['_univerInstanceService'],this[_0xa0a7f0(0x331)],this[_0xa0a7f0(0x3b9)]);break;}case Z[_0xa0a7f0(0x25f)]:{this['_pendingMutations'][_0xa0a7f0(0x12a)](_0xb7db34=>_0xb7db34['id']===_0x2dc2b3['id'])?_0x480a40=ks(this[_0xa0a7f0(0x262)],this[_0xa0a7f0(0x2a9)],this[_0xa0a7f0(0x257)],this[_0xa0a7f0(0x331)],this['_memberService']):_0x480a40=Wt(this[_0xa0a7f0(0x262)],this['unitID'],this[_0xa0a7f0(0x257)],this['_revisionService'],this[_0xa0a7f0(0x3b9)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0xa0a7f0(0x366)]+_0xa0a7f0(0x208));}const {changeset:_0x3178cc,pendingMutations:_0x25f60c}=_0x480a40;this['_handler'][_0xa0a7f0(0x1b2)](_0x3178cc);const _0x54d0be=_0x25f60c[_0xa0a7f0(0x295)]?this[_0xa0a7f0(0x284)][_0xa0a7f0(0x163)](ae,this['unitID'],this[_0xa0a7f0(0x366)],_0x3178cc,_0x25f60c,this[_0xa0a7f0(0x1d3)],void 0x0):this[_0xa0a7f0(0x284)][_0xa0a7f0(0x163)](_e,this['unitID'],this[_0xa0a7f0(0x366)],_0x3178cc,this[_0xa0a7f0(0x1d3)]);_0x54d0be[_0xa0a7f0(0x39d)](),this[_0xa0a7f0(0x1d3)]['onStateChange'](this,_0x54d0be);},_0x351711);}[_0xe7476b(0x143)](){var _0xde3267=_0xe7476b,_0x50af11;const _0x3a4ee1=this['_configService'][_0xde3267(0x178)](K);return(_0x50af11=_0x3a4ee1==null?void 0x0:_0x3a4ee1['sendChangesetTimeout'])!=null?_0x50af11:ps;}[_0xe7476b(0x31e)](){var _0x3ba5be=_0xe7476b;throw new Error(_0x3ba5be(0x2d3));}[_0xe7476b(0x311)](){var _0x2392d6=_0xe7476b;this['_sendingTimer']!=null&&(clearTimeout(this[_0x2392d6(0x288)]),this[_0x2392d6(0x288)]=null);}[_0xe7476b(0x21e)](_0x252ab7){var _0xdefdef=_0xe7476b;return this[_0xdefdef(0x311)](),this['_injector'][_0xdefdef(0x163)](le,this[_0xdefdef(0x2a9)],this[_0xdefdef(0x366)],null,this[_0xdefdef(0x262)],this[_0xdefdef(0x1d3)],_0x252ab7);}};re=Ee([P(0x4,_0x3ab451(_0x494864)),P(0x5,_0x3ab451(_0x243094)),P(0x6,_0x3ab451(we)),P(0x7,_0x5d58e7),P(0x8,_0x22ca1b),P(0x9,_0x2c6e2),P(0xa,_0x2a49de),P(0xb,_0x564314),P(0xc,_0x2a0c90),P(0xd,_0x101caa(J))],re);let _e=class extends Ie{constructor(_0x2d5957,_0x41593a,_0x528cc0,_0x53fef4,_0x4e9880,_0x310f7d,_0x10fc22,_0x3e7e99,_0x1981fd,_0x1f85ef,_0x2e4505){var _0x2a9b80=_0xe7476b;super(_0x2d5957,_0x41593a,_0x528cc0,[],_0x53fef4,_0x10fc22,_0x1f85ef,_0x310f7d,_0x2e4505),N(this,_0x2a9b80(0x302),_0x2a9b80(0x247)),N(this,_0x2a9b80(0x3a8),0x0),N(this,'_resendTimer'),N(this,_0x2a9b80(0x3ca)),(this['_injector']=_0x4e9880,this[_0x2a9b80(0x1e0)]=_0x3e7e99,this[_0x2a9b80(0x277)]=_0x1981fd);}[_0xe7476b(0x1ba)](_0x463708){var _0x21a50a=_0xe7476b;this[_0x21a50a(0x311)]();const _0x18ff01=this[_0x21a50a(0x284)][_0x21a50a(0x163)](ae,this[_0x21a50a(0x2a9)],this[_0x21a50a(0x366)],this[_0x21a50a(0x382)],[_0x463708],this['_handler'],this[_0x21a50a(0x3c0)]);return _0x18ff01['_updateLocalCache'](),_0x18ff01;}[_0xe7476b(0x11f)](_0xefdd8d){var _0xfd0e34=_0xe7476b;if(this['_checkMissing'](_0xefdd8d))return this[_0xfd0e34(0x311)](),this[_0xfd0e34(0x284)][_0xfd0e34(0x163)](Q,this[_0xfd0e34(0x2a9)],this[_0xfd0e34(0x366)],this['_awaitingChangeset'],[],null,[_0xefdd8d],this['_handler']);try{const _0x1c2e1f=this[_0xfd0e34(0x277)]['transformChangesets']([_0xefdd8d],[this[_0xfd0e34(0x382)]],!0x1);if(_0xbb04f0(_0x1c2e1f)){const {c1Prime:_0x4a8ff7,c2Prime:_0x5609e1}=_0x1c2e1f;this[_0xfd0e34(0x1c5)](_0x4a8ff7[0x0]),_0x5609e1[0x0][_0xfd0e34(0x2dd)]=this[_0xfd0e34(0x3c6)](),this[_0xfd0e34(0x311)]();const _0x525a0d=this[_0xfd0e34(0x284)][_0xfd0e34(0x163)](_e,this['unitID'],this[_0xfd0e34(0x366)],_0x5609e1[0x0],this[_0xfd0e34(0x1d3)]);return _0x525a0d[_0xfd0e34(0x39d)](),_0x525a0d;}return this[_0xfd0e34(0x21e)](!0x1);}catch(_0x7b6e90){return this['_logService'][_0xfd0e34(0x33f)](_0x7b6e90),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x51b598){var _0x50537a=_0xe7476b;this[_0x50537a(0x311)]();const _0x559e0f=this['_revisionService']['getCurrentRevOfUnit'](this[_0x50537a(0x2a9)]);if(_0x51b598[_0x50537a(0xf4)]<_0x559e0f-0x1)return this;if(this['_checkMissing'](_0x51b598))return this[_0x50537a(0x284)]['createInstance'](Q,this[_0x50537a(0x2a9)],this['type'],null,[],this[_0x50537a(0x382)],[],this[_0x50537a(0x1d3)]);this['_incrementRevisionNumber']();const _0x3610c4=this[_0x50537a(0x284)]['createInstance'](ye,this[_0x50537a(0x2a9)],this[_0x50537a(0x366)],this[_0x50537a(0x1d3)]);return _0x3610c4[_0x50537a(0x39d)](),_0x3610c4;}[_0xe7476b(0x2b0)](_0x280e87){var _0x3f22d7=_0xe7476b;return this[_0x3f22d7(0x21e)](!!(_0x280e87!=null&&_0x280e87[_0x3f22d7(0x10a)]));}[_0xe7476b(0x2f3)](_0x3ccf67){var _0x46eb17=_0xe7476b;return this[_0x46eb17(0x3a8)]>Ii?this[_0x46eb17(0x38c)]():(this[_0x46eb17(0x3c0)]=Si(this[_0x46eb17(0x3a8)],{'timeout':this[_0x46eb17(0x3a8)],'reqId':_0x3ccf67['reqId']}),this[_0x46eb17(0x3ca)]=this[_0x46eb17(0x3c0)][_0x46eb17(0x2b4)](({reqId:_0x55751c,timeout:_0x583dc2})=>{var _0x218208=_0x46eb17;this[_0x218208(0x35c)](_0x55751c,_0x583dc2);}),this);}['toggleOffline'](){var _0x2251ff=_0xe7476b;return this['_clearScheduledTask'](),this[_0x2251ff(0x284)][_0x2251ff(0x163)](ue,this[_0x2251ff(0x2a9)],this['type'],this[_0x2251ff(0x382)],[],this['_handler']);}[_0xe7476b(0x343)](){return this;}[_0xe7476b(0x31e)](){var _0x41d3ae=_0xe7476b;this['_handler'][_0x41d3ae(0x1b2)](this[_0x41d3ae(0x382)]);}[_0xe7476b(0x21e)](_0x389b8c){var _0xfbd067=_0xe7476b;return this[_0xfbd067(0x311)](),this[_0xfbd067(0x284)][_0xfbd067(0x163)](le,this[_0xfbd067(0x2a9)],this[_0xfbd067(0x366)],this[_0xfbd067(0x382)],[],this['_handler'],_0x389b8c);}[_0xe7476b(0x35c)](_0x27b75f,_0x1f4220){var _0x20df07=_0xe7476b,_0x53f713;_0x27b75f===((_0x53f713=this[_0x20df07(0x382)])==null?void 0x0:_0x53f713[_0x20df07(0x14e)])&&(this[_0x20df07(0x31e)](),this[_0x20df07(0x3a8)]=_0x1f4220===0x0?0x3e8:_0x1f4220*0x2);}[_0xe7476b(0x311)](){var _0x1e800e=_0xe7476b,_0x760a5;(_0x760a5=this[_0x1e800e(0x3ca)])==null||_0x760a5[_0x1e800e(0x319)](),this[_0x1e800e(0x3a8)]=0x0;}};_e=Ee([P(0x4,_0x3ab451(_0x494864)),P(0x5,_0x3ab451(_0x243094)),P(0x6,_0x22ca1b),P(0x7,_0x5d58e7),P(0x8,_0x2a49de),P(0x9,_0x2a0c90),P(0xa,_0x101caa(J))],_e);let ae=class extends Ie{constructor(_0x4b4ac7,_0x3394a4,_0x37c6e5,_0x1ada6b,_0x38ecee,_0xee07ad,_0x498010,_0x1496cb,_0x1786c8,_0x1ffba8,_0x2caa7b,_0x25388f,_0x31e100){var _0x22c490=_0xe7476b;super(_0x4b4ac7,_0x3394a4,_0x37c6e5,_0x1ada6b,_0x38ecee,_0x1786c8,_0x25388f,_0x1496cb,_0x31e100),N(this,_0x22c490(0x302),_0x22c490(0x274)),N(this,_0x22c490(0x3a8),0x0),N(this,_0x22c490(0x3c0)),N(this,_0x22c490(0x3ca)),(this['_injector']=_0x498010,this['_logService']=_0x1ffba8,this[_0x22c490(0x277)]=_0x2caa7b,this[_0x22c490(0x13e)]=_0x31e100,_0xee07ad&&(this[_0x22c490(0x3c0)]=_0xee07ad,this[_0x22c490(0x3ca)]=this[_0x22c490(0x3c0)][_0x22c490(0x2b4)](({reqId:_0x2f9cc0,timeout:_0x5a12e8})=>{this['_resendWithTimeout'](_0x2f9cc0,_0x5a12e8);})));}['appendMutation'](_0x410299){var _0x33511a=_0xe7476b;return this[_0x33511a(0x262)][_0x33511a(0x146)](_0x410299),this;}[_0xe7476b(0x11f)](_0x32e9ce){var _0x25564d=_0xe7476b;if(this['_checkMissing'](_0x32e9ce))return this[_0x25564d(0x311)](),this[_0x25564d(0x284)]['createInstance'](Q,this[_0x25564d(0x2a9)],this[_0x25564d(0x366)],this[_0x25564d(0x382)],this[_0x25564d(0x262)],null,[_0x32e9ce],this[_0x25564d(0x1d3)]);try{const _0x1a2cf4=this[_0x25564d(0x277)][_0x25564d(0x1bd)]([_0x32e9ce],[this['_awaitingChangeset']],!0x1);if(_0xbb04f0(_0x1a2cf4)){const {c1Prime:_0x63579b,c2Prime:_0x12ba48}=_0x1a2cf4,_0x581e12=this[_0x25564d(0x277)][_0x25564d(0x38f)](_0x63579b[0x0],this[_0x25564d(0x262)]);if(_0x165956(_0x581e12)){const {c1Prime:_0x5ed140,m2Prime:_0x4293f1}=_0x581e12;return this[_0x25564d(0x1c5)](_0x5ed140),_0x12ba48[0x0][_0x25564d(0x2dd)]=this[_0x25564d(0x3c6)](),this[_0x25564d(0x311)](),this[_0x25564d(0x284)][_0x25564d(0x163)](ae,this[_0x25564d(0x2a9)],this[_0x25564d(0x366)],_0x12ba48[0x0],_0x4293f1,this[_0x25564d(0x1d3)],void 0x0);}throw _0x581e12['error'];}throw _0x1a2cf4[_0x25564d(0x33f)];}catch(_0x589d8d){return this[_0x25564d(0x1e0)][_0x25564d(0x33f)](_0x589d8d),this[_0x25564d(0x21e)](!0x1);}}[_0xe7476b(0x372)](_0x2ef138){var _0x259448=_0xe7476b;if(this[_0x259448(0x311)](),this['_checkMissing'](_0x2ef138))return this['_injector'][_0x259448(0x163)](Q,this[_0x259448(0x2a9)],this[_0x259448(0x366)],null,this[_0x259448(0x262)],this[_0x259448(0x382)],[],this[_0x259448(0x1d3)]);this[_0x259448(0x364)]();const _0x43074c=this[_0x259448(0x284)][_0x259448(0x163)](re,this['unitID'],this[_0x259448(0x366)],this[_0x259448(0x262)],this[_0x259448(0x1d3)]);return _0x43074c[_0x259448(0x15f)](),_0x43074c['_updateLocalCache'](),_0x43074c;}[_0xe7476b(0x2b0)](_0x269c81){var _0x5b643b=_0xe7476b;return this[_0x5b643b(0x21e)](!!(_0x269c81!=null&&_0x269c81['isPermissionRej']));}[_0xe7476b(0x2f3)](_0x48259d){var _0x2f6bba=_0xe7476b;return this[_0x2f6bba(0x3a8)]>Ii?this[_0x2f6bba(0x38c)]():(this[_0x2f6bba(0x3c0)]=Si(this[_0x2f6bba(0x3a8)],{'timeout':this[_0x2f6bba(0x3a8)],'reqId':_0x48259d[_0x2f6bba(0x14e)]}),this[_0x2f6bba(0x3ca)]=this['_resendTimer'][_0x2f6bba(0x2b4)](({reqId:_0x587813,timeout:_0x2106a7})=>{var _0x47ca34=_0x2f6bba;this[_0x47ca34(0x35c)](_0x587813,_0x2106a7);}),this);}[_0xe7476b(0x38c)](){var _0x213e35=_0xe7476b;return this[_0x213e35(0x311)](),this[_0x213e35(0x284)][_0x213e35(0x163)](ue,this[_0x213e35(0x2a9)],this[_0x213e35(0x366)],this['_awaitingChangeset'],this[_0x213e35(0x262)],this[_0x213e35(0x1d3)]);}[_0xe7476b(0x343)](){return this;}[_0xe7476b(0x31e)](){var _0x3ad3c9=_0xe7476b;this['_handler'][_0x3ad3c9(0x1b2)](this[_0x3ad3c9(0x382)]);}['_onConflict'](_0x54922b){var _0x53dd61=_0xe7476b;return this[_0x53dd61(0x311)](),this[_0x53dd61(0x284)][_0x53dd61(0x163)](le,this['unitID'],this['type'],null,this[_0x53dd61(0x262)],this[_0x53dd61(0x1d3)],_0x54922b);}[_0xe7476b(0x35c)](_0x2251fa,_0x5789e1){var _0x4ba4b7=_0xe7476b,_0x1774ee;_0x2251fa===((_0x1774ee=this[_0x4ba4b7(0x382)])==null?void 0x0:_0x1774ee[_0x4ba4b7(0x14e)])&&(this[_0x4ba4b7(0x31e)](),this['_resendTimeout']=_0x5789e1===0x0?0x3e8:_0x5789e1*0x2);}['_clearScheduledTask'](){var _0x32d1d9=_0xe7476b,_0x47de41;(_0x47de41=this['_sender'])==null||_0x47de41[_0x32d1d9(0x319)](),this['_resendTimeout']=0x0;}};ae=Ee([P(0x6,_0x3ab451(_0x494864)),P(0x7,_0x3ab451(_0x243094)),P(0x8,_0x22ca1b),P(0x9,_0x5d58e7),P(0xa,_0x2a49de),P(0xb,_0x2a0c90),P(0xc,_0x101caa(J))],ae);let le=class extends Ie{constructor(_0x419dce,_0x47f1b5,_0x51d6b7,_0x1afa6f,_0x2bb3f3,_0x43376d=!0x1,_0x421ed9,_0x318e3c,_0x22737f,_0x44ed3f,_0x2bc341,_0x37d783,_0x28bb70){var _0x539d8a=_0xe7476b;super(_0x419dce,_0x47f1b5,_0x51d6b7,_0x1afa6f,_0x2bb3f3,_0x318e3c,_0x22737f,_0x44ed3f,_0x28bb70),N(this,_0x539d8a(0x302),_0x539d8a(0x2fd)),(this[_0x539d8a(0x18c)]=_0x43376d,this['_permissionService']=_0x421ed9,this[_0x539d8a(0x126)]=_0x2bc341,this[_0x539d8a(0x34d)]=_0x37d783,this[_0x539d8a(0x13e)]=_0x28bb70,this[_0x539d8a(0x2e6)](),this[_0x539d8a(0x191)](),this[_0x539d8a(0x2ae)]());}[_0xe7476b(0x1ba)](){return this;}[_0xe7476b(0x11f)](){return this;}[_0xe7476b(0x372)](){return this;}[_0xe7476b(0x2b0)](){return this;}[_0xe7476b(0x2f3)](){return this;}[_0xe7476b(0x38c)](){return this;}[_0xe7476b(0x343)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xe7476b(0x191)](){var _0x3da3e4=_0xe7476b,_0x232327;(_0x232327=this['_localCacheService'])==null||_0x232327[_0x3da3e4(0x10d)](this[_0x3da3e4(0x2a9)],this[_0x3da3e4(0x366)],null,[]);}[_0xe7476b(0x2e6)](){var _0x38475a=_0xe7476b;this[_0x38475a(0x18c)]?this[_0x38475a(0x34d)][_0x38475a(0x385)]({'id':ne['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x38475a(0x385)]({'id':ne[_0x38475a(0x35f)]});}['_disableEditing'](){var _0x8442cd=_0xe7476b;this['_permissionService'][_0x8442cd(0xf0)](new _0x350486(this[_0x8442cd(0x2a9)])['id'],!0x1);}};le=Ee([P(0x6,_0x3ab451(_0x1752a3)),P(0x7,_0x22ca1b),P(0x8,_0x2a0c90),P(0x9,_0x3ab451(_0x243094)),P(0xa,_0x3ab451(_0x4edbc8)),P(0xb,_0x3ab451(ve)),P(0xc,_0x101caa(J))],le);let ue=class extends Ie{constructor(_0xf42e97,_0x2f4c8f,_0x1cfa7d,_0x101c75,_0x4c7833,_0x74b85,_0x4442ac,_0x1656cd,_0x223ef9,_0x5f5d40){var _0x1d5380=_0xe7476b;super(_0xf42e97,_0x2f4c8f,_0x1cfa7d,_0x101c75,_0x4c7833,_0x1656cd,_0x223ef9,_0x4442ac,_0x5f5d40),N(this,_0x1d5380(0x302),_0x1d5380(0x297)),this[_0x1d5380(0x284)]=_0x74b85;}[_0xe7476b(0x1ba)](_0x2794f5){var _0x431ba8=_0xe7476b;return this[_0x431ba8(0x262)][_0x431ba8(0x146)](_0x2794f5),this['_updateLocalCache'](),this;}[_0xe7476b(0x11f)](_0x58e280){var _0xaa3b9e=_0xe7476b;throw new Error(_0xaa3b9e(0x328));}['onRemoteAck'](){var _0x53a6be=_0xe7476b;throw new Error(_0x53a6be(0x398));}[_0xe7476b(0x2b0)](){var _0xe8f367=_0xe7476b;throw new Error(_0xe8f367(0x1b6));}[_0xe7476b(0x2f3)](){return this;}['toggleOffline'](){return this;}[_0xe7476b(0x343)](){var _0x2c1762=_0xe7476b;const {_injector:_0x2f3448,_pendingMutations:_0x434c60,_awaitingChangeset:_0x2d1288,unitID:_0x284482,_handler:_0x9ea6f0,type:_0x602ce8}=this,_0x2c9472=Ti(_0x2f3448,_0x284482,_0x602ce8,_0x2d1288,_0x434c60,_0x9ea6f0);return _0x2c9472 instanceof re?_0x2c9472[_0x2c1762(0x15f)]():(_0x2c9472 instanceof ae||_0x2c9472 instanceof _e)&&_0x2c9472[_0x2c1762(0x31e)](),_0x2c9472;}[_0xe7476b(0x31e)](){var _0x39f7a0=_0xe7476b;throw new Error(_0x39f7a0(0x19d));}};ue=Ee([P(0x5,_0x3ab451(_0x494864)),P(0x6,_0x3ab451(_0x243094)),P(0x7,_0x22ca1b),P(0x8,_0x2a0c90),P(0x9,_0x101caa(J))],ue);let Q=class extends Ie{constructor(_0x16a82b,_0x1180a3,_0x4619e6,_0x47de35,_0x129679,_0x2ae9c4,_0xb5982c,_0xf0f51,_0xc2ede1,_0x27c4f6,_0x2fd9ac,_0x5d4619,_0x4b663b,_0x10f355){var _0x26a9ba=_0xe7476b;super(_0x16a82b,_0x1180a3,_0x4619e6,_0x47de35,_0xb5982c,_0x2fd9ac,_0x5d4619,_0xc2ede1,_0x10f355),N(this,_0x26a9ba(0x302),_0x26a9ba(0x106)),(this['_acknowledgedAwaitingChangeset']=_0x129679,this[_0x26a9ba(0x14d)]=_0x2ae9c4,this[_0x26a9ba(0x284)]=_0xf0f51,this[_0x26a9ba(0x1e0)]=_0x27c4f6,this[_0x26a9ba(0x277)]=_0x4b663b,this[_0x26a9ba(0x13e)]=_0x10f355);}['onMissedChangesetFetched'](_0x22f2c9){var _0x1e20d9=_0xe7476b;try{const _0x3e6382=[..._0x22f2c9,...this['_queuedRemoteChangesets']],_0x382494=[this[_0x1e20d9(0x382)]||this[_0x1e20d9(0x325)]][_0x1e20d9(0x26a)](_0x5ed172=>!!_0x5ed172);let _0x2dbc9c,_0x5546f0;if(_0x382494['length']){const _0x3dc26a=this[_0x1e20d9(0x277)][_0x1e20d9(0x1bd)](_0x3e6382,_0x382494,!0x1);if(!_0xbb04f0(_0x3dc26a))throw _0x3dc26a['error'];_0x2dbc9c=_0x3dc26a['c1Prime'],_0x5546f0=_0x3dc26a['c2Prime'];}else _0x2dbc9c=_0x3e6382,_0x5546f0=[];let _0x31b3a7=this[_0x1e20d9(0x262)];_0x2dbc9c[_0x1e20d9(0x21a)](_0x4a880e=>{var _0x42b336=_0x1e20d9;let _0x389bf9;if(_0x31b3a7[_0x42b336(0x295)]){const _0x396a9e=this[_0x42b336(0x277)]['transformMutationsWithChangeset'](_0x4a880e,_0x31b3a7);if(!_0x165956(_0x396a9e))throw _0x396a9e[_0x42b336(0x33f)];_0x389bf9=_0x396a9e['c1Prime'],_0x31b3a7=_0x396a9e['m2Prime'];}else _0x389bf9=_0x4a880e;this[_0x42b336(0x1c5)](_0x389bf9);}),this[_0x1e20d9(0x325)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x5546f0[_0x1e20d9(0x295)]&&(_0x5546f0[0x0]['baseRev']=this['_getCurrentRevision']());let _0x36fdc0;if(this['_awaitingChangeset']&&_0x31b3a7[_0x1e20d9(0x295)]!==0x0)_0x36fdc0=this['_injector'][_0x1e20d9(0x163)](ae,this[_0x1e20d9(0x2a9)],this[_0x1e20d9(0x366)],_0x5546f0[0x0],_0x31b3a7,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x31b3a7[_0x1e20d9(0x295)]===0x0)_0x5546f0[0x0][_0x1e20d9(0x2dd)]=this['_getCurrentRevision'](),_0x36fdc0=this[_0x1e20d9(0x284)]['createInstance'](_e,this['unitID'],this['type'],_0x5546f0[0x0],this['_handler']);else{if(_0x31b3a7[_0x1e20d9(0x295)]!==0x0){const _0x5bf280=this[_0x1e20d9(0x284)]['createInstance'](re,this[_0x1e20d9(0x2a9)],this[_0x1e20d9(0x366)],_0x31b3a7,this[_0x1e20d9(0x1d3)]);_0x5bf280[_0x1e20d9(0x15f)](),_0x36fdc0=_0x5bf280;}else _0x36fdc0=this[_0x1e20d9(0x284)][_0x1e20d9(0x163)](ye,this[_0x1e20d9(0x2a9)],this[_0x1e20d9(0x366)],this[_0x1e20d9(0x1d3)]);}}return _0x36fdc0['_updateLocalCache'](),_0x36fdc0;}catch(_0x183fd8){return this['_logService'][_0x1e20d9(0x33f)](_0x1e20d9(0x1e8),_0x1e20d9(0x27b),_0x183fd8),this[_0x1e20d9(0x284)]['createInstance'](le,this[_0x1e20d9(0x2a9)],this['type'],this[_0x1e20d9(0x382)],this[_0x1e20d9(0x262)],this[_0x1e20d9(0x1d3)],!0x1);}}[_0xe7476b(0x31e)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xe7476b(0x1ba)](_0x3af72f){var _0x2671e8=_0xe7476b;return this[_0x2671e8(0x262)][_0x2671e8(0x146)](_0x3af72f),this;}['onRemoteChangeset'](_0x5bf9bb){var _0x3e9214=_0xe7476b;return this[_0x3e9214(0x14d)][_0x3e9214(0x146)](_0x5bf9bb),this;}[_0xe7476b(0x372)](_0x11792a){var _0x31cf97=_0xe7476b;if(this[_0x31cf97(0x382)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x31cf97(0x370));}[_0xe7476b(0x2b0)](_0x52581d){var _0x4d1d3a=_0xe7476b;return this[_0x4d1d3a(0x21e)](!!(_0x52581d!=null&&_0x52581d[_0x4d1d3a(0x10a)]));}[_0xe7476b(0x2f3)](){return this;}[_0xe7476b(0x38c)](){var _0x57b5a9=_0xe7476b;return this['_injector'][_0x57b5a9(0x163)](ue,this['unitID'],this[_0x57b5a9(0x366)],this[_0x57b5a9(0x382)],this[_0x57b5a9(0x262)],this[_0x57b5a9(0x1d3)]);}['toggleOnline'](){return this;}[_0xe7476b(0x21e)](_0x25b0a6){var _0x4c8989=_0xe7476b;return this[_0x4c8989(0x284)]['createInstance'](le,this[_0x4c8989(0x2a9)],this[_0x4c8989(0x366)],this[_0x4c8989(0x382)],this[_0x4c8989(0x262)],this[_0x4c8989(0x1d3)],_0x25b0a6);}};Q=Ee([P(0x7,_0x3ab451(_0x494864)),P(0x8,_0x3ab451(_0x243094)),P(0x9,_0x5d58e7),P(0xa,_0x22ca1b),P(0xb,_0x2a0c90),P(0xc,_0x2a49de),P(0xd,_0x101caa(J))],Q);function Ti(_0x22825e,_0x3d37f3,_0x554822,_0x15479c,_0x49db12,_0x34821f){var _0x3785fb=_0xe7476b;return _0x15479c&&_0x49db12[_0x3785fb(0x295)]?_0x22825e[_0x3785fb(0x163)](ae,_0x3d37f3,_0x554822,_0x15479c,_0x49db12,_0x34821f,void 0x0):_0x15479c?_0x22825e[_0x3785fb(0x163)](_e,_0x3d37f3,_0x554822,_0x15479c,_0x34821f):_0x49db12['length']?_0x22825e[_0x3785fb(0x163)](re,_0x3d37f3,_0x554822,_0x49db12,_0x34821f):_0x22825e[_0x3785fb(0x163)](ye,_0x3d37f3,_0x554822,_0x34821f);}var Bs=Object[_0xe7476b(0x2af)],wt=(_0x49a96d,_0xab67a,_0x17342d,_0x2aac55)=>{var _0x570cd1=_0xe7476b;for(var _0x2411b6=_0x2aac55>0x1?void 0x0:_0x2aac55?Bs(_0xab67a,_0x17342d):_0xab67a,_0x5c9684=_0x49a96d[_0x570cd1(0x295)]-0x1,_0x4a21b9;_0x5c9684>=0x0;_0x5c9684--)(_0x4a21b9=_0x49a96d[_0x5c9684])&&(_0x2411b6=_0x4a21b9(_0x2411b6)||_0x2411b6);return _0x2411b6;},H=(_0x102e85,_0x1c9212)=>(_0x30ea0c,_0x2ab8b0)=>_0x1c9212(_0x30ea0c,_0x2ab8b0,_0x102e85);let st=class extends _0x596c5c{constructor(_0x421b83,_0x1efb2a,_0x32a46f,_0x2ac9f9,_0x2bca4d,_0x3b2f08,_0x5b93d2,_0x54ffb3,_0x7ce390,_0x42d7ce,_0x43260b,_0x2d14a7,_0x1d8537){var _0xda259a=_0xe7476b;super(),N(this,_0xda259a(0x27d),new _0x1c92f2(null)),N(this,_0xda259a(0x3d3),this[_0xda259a(0x27d)][_0xda259a(0x2be)]()),N(this,_0xda259a(0x3de)),N(this,_0xda259a(0x1f1),!0x1),N(this,_0xda259a(0x27c),''),N(this,_0xda259a(0x270),0x0),N(this,_0xda259a(0x3b4),this[_0xda259a(0x3d3)][_0xda259a(0x2d0)](_0x30b9d3(_0xde06ac=>_0xde06ac?_0xde06ac[_0xda259a(0x302)]:Ei['OFFLINE']),_0x5124cb(0x1))),N(this,_0xda259a(0x2c4),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0xda259a(0x2a9)]=_0x421b83,this['session']=_0x1efb2a,this[_0xda259a(0x2a3)]=_0x32a46f,this[_0xda259a(0x284)]=_0x2ac9f9,this['_compressMutationService']=_0x2bca4d,this['_localeService']=_0x3b2f08,this['_revisionService']=_0x5b93d2,this['_eventService']=_0x54ffb3,this[_0xda259a(0x1e0)]=_0x7ce390,this[_0xda259a(0x35b)]=_0x42d7ce,this['_permissionService']=_0x43260b,this['_singleActiveUnitService']=_0x2d14a7,this[_0xda259a(0x316)]=_0x1d8537);}get[_0xe7476b(0x2d2)](){return this['_state'];}async[_0xe7476b(0x1a7)](){var _0x145daa=_0xe7476b;if(this[_0x145daa(0x2d2)])throw new Error(_0x145daa(0x151));await this[_0x145daa(0x2cb)]();}[_0xe7476b(0x3c4)](){return this['_collaborationPaused']=!0x0,_0x3ea293(()=>{var _0x388731=_0x33f0;this['_collaborationPaused']=!0x1,this[_0x388731(0x30e)]();});}[_0xe7476b(0x3e3)](_0xecb39d){this['_onLocalMutation'](_0xecb39d);}[_0xe7476b(0x205)](_0x257353){var _0x5594f4=_0xe7476b;this[_0x5594f4(0x3de)]=_0x257353,this[_0x5594f4(0x27d)][_0x5594f4(0x12c)](_0x257353);}async[_0xe7476b(0x2cb)](){var _0x472459=_0xe7476b,_0x55401e;this[_0x472459(0x205)](await this[_0x472459(0x28a)]()),this[_0x472459(0x34c)]&&((_0x55401e=this['_singleActiveUnitService'])==null||_0x55401e[_0x472459(0x2f8)](this[_0x472459(0x2a9)]),this[_0x472459(0x3a5)](this[_0x472459(0x34c)][_0x472459(0x359)](this['unitID'])[_0x472459(0x2b4)](_0x4dfa17=>{var _0x3a8d42=_0x472459;this[_0x3a8d42(0x1e0)][_0x3a8d42(0x2f1)](_0x3a8d42(0x31c),_0x3a8d42(0x1ac),_0x4dfa17),_0x4dfa17===gi['OTHER_CLIENTS_EDITING']?(this[_0x3a8d42(0x34f)]['emitEvent']({'id':ne['OTHER_CLIENT_EDITING']}),this[_0x3a8d42(0x2a4)][_0x3a8d42(0xf0)](new _0x350486(this[_0x3a8d42(0x2a9)])['id'],!0x1),this[_0x3a8d42(0x2a4)][_0x3a8d42(0x2c1)](!0x1)):(this[_0x3a8d42(0x2a4)][_0x3a8d42(0xf0)](new _0x350486(this[_0x3a8d42(0x2a9)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x2656b7=!0x1;return this['disposeWithMe'](this[_0x472459(0x1a4)][_0x472459(0x15c)]['subscribe'](_0x32c4ec=>{var _0x101dc3=_0x472459;_0x32c4ec===ge[_0x101dc3(0x38a)]?this['_toggleOnline'](_0x2656b7):_0x32c4ec===ge[_0x101dc3(0x3ba)]&&(_0x2656b7=!0x0,this['_toggleOffline']());})),this[_0x472459(0x3a5)](this[_0x472459(0x1a4)]['event$'][_0x472459(0x2b4)](_0x5331b0=>{var _0x256ead=_0x472459;try{switch(_0x5331b0[_0x256ead(0x36f)]){case _0x15f20d[_0x256ead(0x1c8)]:{this[_0x256ead(0x22b)](_0x1b8bd9(_0x5331b0[_0x256ead(0x182)]));break;}case _0x15f20d[_0x256ead(0x15e)]:{this[_0x256ead(0x3d4)](_0x5331b0['data']);break;}case _0x15f20d[_0x256ead(0x237)]:{this[_0x256ead(0xfa)]();break;}case _0x15f20d[_0x256ead(0x173)]:{this['_onRemoteRetry'](_0x5331b0[_0x256ead(0x182)]);break;}case _0x15f20d[_0x256ead(0x28d)]:{this[_0x256ead(0x2c3)](_0x5331b0[_0x256ead(0x182)][_0x256ead(0x2b2)][_0x256ead(0x267)](_0x4cb68b=>_0x1b8bd9(_0x4cb68b)));break;}case _0x15f20d['PERMISSION_REJ']:{this[_0x256ead(0xfa)]({'isPermissionRej':!0x0});break;}case _0x15f20d[_0x256ead(0x35e)]:break;}}catch(_0x260bb1){throw console[_0x256ead(0x33f)](_0x256ead(0x2cf),_0x260bb1),_0x260bb1;}})),this[_0x472459(0x3de)];}[_0xe7476b(0xf5)](){var _0x1b942f=_0xe7476b;this[_0x1b942f(0x2c4)]=!0x1;}['_lockTransition'](){var _0x16c61a=_0xe7476b;if(this[_0x16c61a(0x2c4)])throw new Error(_0x16c61a(0x1f8));this[_0x16c61a(0x2c4)]=!0x0;}['_onLocalMutation'](_0x3ce090){var _0x2eedf7=_0xe7476b;this[_0x2eedf7(0x15a)](),this['_updateState'](this['_state'][_0x2eedf7(0x1ba)](_0x3ce090)),this['_unlockTransition']();}[_0xe7476b(0x22b)](_0x505786){var _0x58e72a=_0xe7476b;if(!(_0x505786['revision']<=this[_0x58e72a(0x331)]['getCurrentRevOfUnit'](this[_0x58e72a(0x2a9)]))){if(this[_0x58e72a(0x1f1)]){this[_0x58e72a(0x30f)][_0x58e72a(0x146)](_0x505786);return;}this[_0x58e72a(0x3a4)](_0x505786);}}[_0xe7476b(0x30e)](){var _0x114113=_0xe7476b;this[_0x114113(0x30f)]['forEach'](_0x7235d2=>this['_applyRemoteChangeset'](_0x7235d2)),this[_0x114113(0x30f)]=[];}[_0xe7476b(0x3a4)](_0x508d78){var _0x234846=_0xe7476b;const _0x219fff=this[_0x234846(0x354)][_0x234846(0x138)]['fetchThroughInterceptors'](this[_0x234846(0x354)][_0x234846(0x138)][_0x234846(0xfe)]()['COMPRESS_MUTATION_APPLY'])(_0x508d78[_0x234846(0x23e)],null)||_0x508d78['mutations'],_0x2c63bc={..._0x508d78,'mutations':_0x219fff};this['_lockTransition'](),this[_0x234846(0x205)](this['_state'][_0x234846(0x11f)](_0x2c63bc)),this[_0x234846(0xf5)]();}[_0xe7476b(0x3d4)](_0x3ce6b7){var _0x580623=_0xe7476b;this['_lockTransition'](),this['_updateState'](this[_0x580623(0x3de)][_0x580623(0x372)](_0x3ce6b7)),this[_0x580623(0xf5)]();}[_0xe7476b(0xfa)](_0x3c5847){var _0x1be6ca=_0xe7476b;this[_0x1be6ca(0x15a)](),this[_0x1be6ca(0x205)](this[_0x1be6ca(0x3de)][_0x1be6ca(0x2b0)](_0x3c5847)),this[_0x1be6ca(0xf5)]();}[_0xe7476b(0x128)](_0x59737b){var _0x516a7a=_0xe7476b;this[_0x516a7a(0x15a)](),this['_updateState'](this[_0x516a7a(0x3de)][_0x516a7a(0x2f3)](_0x59737b)),this[_0x516a7a(0xf5)]();}[_0xe7476b(0x2c3)](_0x5c0e52){var _0x303163=_0xe7476b;if(!(this['_state']instanceof Q))throw new TypeError(_0x303163(0x2d9));const _0xff7704=_0x5c0e52['map'](_0xc55f04=>{var _0x87ef06=_0x303163;const _0xd01db7=this['_compressMutationService'][_0x87ef06(0x138)][_0x87ef06(0x1d5)](this[_0x87ef06(0x354)][_0x87ef06(0x138)]['getInterceptPoints']()[_0x87ef06(0x196)])(_0xc55f04[_0x87ef06(0x23e)],null)||_0xc55f04[_0x87ef06(0x23e)];return{..._0xc55f04,'mutations':_0xd01db7};});this['_lockTransition'](),this[_0x303163(0x205)](this[_0x303163(0x3de)][_0x303163(0x39a)](_0xff7704)),this[_0x303163(0xf5)]();}[_0xe7476b(0x379)](){var _0x59b71d=_0xe7476b;this[_0x59b71d(0x15a)](),this[_0x59b71d(0x205)](this[_0x59b71d(0x3de)]['toggleOffline']()),this['_unlockTransition']();}[_0xe7476b(0x2b1)](_0x464e75=!0x1){var _0x15d5e9=_0xe7476b;this[_0x15d5e9(0x15a)](),this[_0x15d5e9(0x205)](this[_0x15d5e9(0x3de)][_0x15d5e9(0x343)]()),this[_0x15d5e9(0xf5)]();const _0x2b1ac0=this[_0x15d5e9(0x3de)];_0x464e75&&_0x2b1ac0 instanceof ye&&(this[_0x15d5e9(0x15a)](),this[_0x15d5e9(0x205)](_0x2b1ac0[_0x15d5e9(0x26d)]()),this['_unlockTransition']());}async[_0xe7476b(0x28a)](){return new Promise(_0x393aec=>{var _0x2a2bcc=_0x33f0;this[_0x2a2bcc(0x1a4)][_0x2a2bcc(0x15c)][_0x2a2bcc(0x2d0)](_0x460f4a(0x1))['subscribe'](async _0x16a14e=>{var _0x5b2b5a=_0x2a2bcc;_0x393aec(await this[_0x5b2b5a(0x315)](_0x16a14e===ge[_0x5b2b5a(0x38a)]));});});}[_0xe7476b(0x357)](){const _0x44ea0e=this['unitID'];return{'onStateChange':(_0x3d190f,_0x1f2cfc)=>{var _0x166def=_0x33f0;if(_0x3d190f!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x3d190f[_0x166def(0x302)]+_0x166def(0x1b8)+_0x1f2cfc[_0x166def(0x302)]+'\x0aCurrent:\x20'+this[_0x166def(0x3de)][_0x166def(0x302)]);this[_0x166def(0x205)](_0x1f2cfc);},'onSendChangeset':_0x444f51=>{var _0x284085=_0x33f0;_0x444f51[_0x284085(0x2f9)]||(_0x444f51['sid']=this[_0x284085(0x27c)],_0x444f51[_0x284085(0x14e)]=++this[_0x284085(0x270)]);const _0x508d86={'eventID':_0x15f20d['SUBMIT_CHANGESET'],'data':{'unitID':_0x444f51[_0x284085(0x2a9)],'unitType':this[_0x284085(0x2a3)],'changeset':_0x444f51,'memberID':this[_0x284085(0x1a4)][_0x284085(0x299)]()}};this['session'][_0x284085(0x3c8)](_0x508d86,this[_0x284085(0x2a9)]);},'onMissingChangesets':({from:_0x2fdbe2,to:_0x468093})=>{var _0x2fc0f0=_0x33f0;this[_0x2fc0f0(0x1e0)]['debug']('[CollaborationEntity]',_0x2fc0f0(0x23d)+_0x2fdbe2+_0x2fc0f0(0x2cd)+_0x468093);const _0x307fca={'eventID':_0x15f20d[_0x2fc0f0(0x1d0)],'data':{'unitID':_0x44ea0e,'unitType':this[_0x2fc0f0(0x2a3)],'from':_0x2fdbe2,'to':_0x468093}};this[_0x2fc0f0(0x1a4)][_0x2fc0f0(0x3c8)](_0x307fca,this[_0x2fc0f0(0x2a9)]);}};}async[_0xe7476b(0x315)](_0x1e6a3b){var _0x44eed4=_0xe7476b,_0x24a926,_0x4e04d4,_0x27dd12;const _0x53c8fb=await((_0x24a926=this[_0x44eed4(0x316)])==null?void 0x0:_0x24a926[_0x44eed4(0x13b)](this[_0x44eed4(0x2a9)])),_0x590a00=(_0x4e04d4=_0x53c8fb==null?void 0x0:_0x53c8fb[_0x44eed4(0x23e)])!=null?_0x4e04d4:[],_0xb9f400=(_0x27dd12=_0x53c8fb==null?void 0x0:_0x53c8fb[_0x44eed4(0x320)])!=null?_0x27dd12:null,_0xe7365f=!!(_0xb9f400!=null&&_0xb9f400[_0x44eed4(0x2f9)])&&!!(_0xb9f400!=null&&_0xb9f400[_0x44eed4(0x14e)]);this['_changesetSessionId']=_0xe7365f?_0xb9f400[_0x44eed4(0x2f9)]:_0x2e7a79(),this[_0x44eed4(0x270)]=_0xe7365f?_0xb9f400[_0x44eed4(0x14e)]:0x0;const _0xdafa62=this[_0x44eed4(0x2a9)];try{this['_replayCachedMutations'](_0xb9f400,_0x590a00);}catch(_0x49c79d){this['_logService'][_0x44eed4(0x33f)](_0x49c79d);}const _0x398562=this[_0x44eed4(0x357)]();if(_0x1e6a3b){const _0x2f4f6e=Ti(this['_injector'],_0xdafa62,this[_0x44eed4(0x2a3)],_0xb9f400,_0x590a00,_0x398562);return _0x2f4f6e instanceof re?_0x2f4f6e[_0x44eed4(0x15f)]():(_0x2f4f6e instanceof ae||_0x2f4f6e instanceof _e)&&_0x2f4f6e[_0x44eed4(0x31e)](),_0x2f4f6e;}return this[_0x44eed4(0x284)][_0x44eed4(0x163)](ue,_0xdafa62,this['_type'],_0xb9f400,_0x590a00,_0x398562);}[_0xe7476b(0x175)](_0x4d9392,_0xa6af1){var _0x426b92=_0xe7476b,_0x4cb39f,_0x9d2051;const _0x6c3fde=this['_compressMutationService']['interceptor'][_0x426b92(0x1d5)](this['_compressMutationService'][_0x426b92(0x138)][_0x426b92(0xfe)]()[_0x426b92(0x196)]);(_0x4cb39f=_0x6c3fde((_0x4d9392==null?void 0x0:_0x4d9392[_0x426b92(0x23e)])||[],null))==null||_0x4cb39f[_0x426b92(0x21a)](_0xa27b4e=>this['_commandService'][_0x426b92(0x249)](_0xa27b4e['id'],_0xa27b4e['params'])),(_0x9d2051=_0x6c3fde(_0xa6af1||[],null))==null||_0x9d2051[_0x426b92(0x21a)](_0x447897=>this[_0x426b92(0x35b)]['executeCommand'](_0x447897['id'],_0x447897[_0x426b92(0x1e2)]));}};st=wt([H(0x3,_0x3ab451(_0x494864)),H(0x4,_0x3ab451(_0x3608ab)),H(0x5,_0x3ab451(_0x4edbc8)),H(0x6,_0x3ab451(_0x243094)),H(0x7,_0x3ab451(ve)),H(0x8,_0x5d58e7),H(0x9,_0x22ca1b),H(0xa,_0x1752a3),H(0xb,_0x101caa(ht)),H(0xc,_0x101caa(J))],st);let St=class extends st{constructor(_0x3bee06,_0x41f073,_0x2efc8b,_0x5b468f,_0x36d185,_0x5abec5,_0xe68b46,_0xa00853,_0x85f41a,_0x22d933,_0x2b4a36,_0x10e318,_0x520568){var _0x532379=_0xe7476b;super(_0x3bee06,_0x2efc8b,_0x41f073,_0x5b468f,_0x36d185,_0x5abec5,_0xe68b46,_0xa00853,_0x85f41a,_0x22d933,_0x2b4a36,_0x10e318,_0x520568),N(this,_0x532379(0x3d9),null),(this[_0x532379(0x2a9)]=_0x3bee06,this[_0x532379(0x366)]=_0x41f073);}['addHandlerCallback'](_0x1a91e1){var _0x48cd3d=_0xe7476b;this[_0x48cd3d(0x3d9)]=_0x1a91e1;}[_0xe7476b(0x322)](){var _0x4be293=_0xe7476b;this[_0x4be293(0x3d9)]=null,super[_0x4be293(0x322)]();}[_0xe7476b(0x357)](){var _0x70c722=_0xe7476b;const _0x59986b=super[_0x70c722(0x357)]();return _0x59986b[_0x70c722(0x12b)]=_0x226f54=>{var _0x484ff3=_0x70c722,_0x3dde2a,_0xa77ca5;return(_0xa77ca5=(_0x3dde2a=this['_handlerCallback'])==null?void 0x0:_0x3dde2a['onTransformIME'])==null?void 0x0:_0xa77ca5[_0x484ff3(0x290)](_0x3dde2a,_0x226f54);},_0x59986b[_0x70c722(0x1db)]=_0x12554e=>{var _0x50f710=_0x70c722,_0x3ae35c,_0x51c23d;return(_0x51c23d=(_0x3ae35c=this[_0x50f710(0x3d9)])==null?void 0x0:_0x3ae35c[_0x50f710(0x1db)])==null?void 0x0:_0x51c23d[_0x50f710(0x290)](_0x3ae35c,_0x12554e);},_0x59986b[_0x70c722(0x3a1)]=_0x32e08d=>{var _0xb1b64b=_0x70c722,_0x5e9792,_0x2ac063;return(_0x2ac063=(_0x5e9792=this[_0xb1b64b(0x3d9)])==null?void 0x0:_0x5e9792[_0xb1b64b(0x3a1)])==null?void 0x0:_0x2ac063['call'](_0x5e9792,_0x32e08d);},_0x59986b[_0x70c722(0x1d7)]=_0x2c65c8=>{var _0x354add=_0x70c722,_0xfc4100,_0x245a55;return(_0x245a55=(_0xfc4100=this[_0x354add(0x3d9)])==null?void 0x0:_0xfc4100[_0x354add(0x1d7)])==null?void 0x0:_0x245a55[_0x354add(0x290)](_0xfc4100,_0x2c65c8);},_0x59986b[_0x70c722(0x3e2)]=_0x4db45a=>{var _0x463f95=_0x70c722,_0x504419,_0x1fb485,_0x22ce15;if(!((_0x504419=this[_0x463f95(0x3d9)])!=null&&_0x504419[_0x463f95(0x3e2)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x22ce15=(_0x1fb485=this['_handlerCallback'])==null?void 0x0:_0x1fb485[_0x463f95(0x3e2)])==null?void 0x0:_0x22ce15[_0x463f95(0x290)](_0x1fb485,_0x4db45a);},_0x59986b[_0x70c722(0x37c)]=_0x4034b7=>{var _0x30e120=_0x70c722,_0x53432c,_0x204403,_0x599bff;if(!((_0x53432c=this[_0x30e120(0x3d9)])!=null&&_0x53432c[_0x30e120(0x37c)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x599bff=(_0x204403=this['_handlerCallback'])==null?void 0x0:_0x204403[_0x30e120(0x37c)])==null?void 0x0:_0x599bff[_0x30e120(0x290)](_0x204403,_0x4034b7);},_0x59986b;}async[_0xe7476b(0x2cb)](){var _0x213b56=_0xe7476b;const _0x3245b6=await super['_init']();return this[_0x213b56(0x3a5)](this['_commandService'][_0x213b56(0x248)]((_0x25c6ec,_0x19c336)=>{var _0x4ee1af=_0x213b56;if(_0x25c6ec[_0x4ee1af(0x366)]!==_0x2b0c13[_0x4ee1af(0x193)]||_0x19c336!=null&&_0x19c336[_0x4ee1af(0x30a)]||_0x19c336!=null&&_0x19c336[_0x4ee1af(0x1b0)]||_0x25c6ec['id']===_0x2dc2b3['id'])return;const _0xcb50e4=_0x25c6ec[_0x4ee1af(0x1e2)];if((_0xcb50e4==null?void 0x0:_0xcb50e4[_0x4ee1af(0x283)])!==this['unitID'])return;const _0x480c0d=_0x25c6ec,_0x3df352=this[_0x4ee1af(0x354)][_0x4ee1af(0x138)][_0x4ee1af(0x1d5)](this[_0x4ee1af(0x354)][_0x4ee1af(0x138)][_0x4ee1af(0xfe)]()[_0x4ee1af(0x19c)])([_0x480c0d],null)||[_0x480c0d];this[_0x4ee1af(0x32f)](_0x3df352[0x0]);})),_0x3245b6;}};St=wt([H(0x3,_0x3ab451(_0x494864)),H(0x4,_0x3ab451(_0x3608ab)),H(0x5,_0x3ab451(_0x4edbc8)),H(0x6,_0x3ab451(_0x243094)),H(0x7,_0x3ab451(ve)),H(0x8,_0x5d58e7),H(0x9,_0x22ca1b),H(0xa,_0x1752a3),H(0xb,_0x101caa(ht)),H(0xc,_0x101caa(J))],St);let Et=class extends st{constructor(_0x50f3c5,_0x12c06c,_0x24dcc5,_0x502fff,_0x53814b,_0x634fef,_0x2dab1f,_0x215dee,_0x3a466a,_0x6a4885,_0x4ea108,_0x57549a,_0x4bf12b,_0x13b795){var _0xface3=_0xe7476b;super(_0x50f3c5,_0x24dcc5,_0x12c06c,_0x502fff,_0x53814b,_0x634fef,_0x2dab1f,_0x3a466a,_0x6a4885,_0x4ea108,_0x57549a,_0x4bf12b,_0x13b795),this[_0xface3(0x2a9)]=_0x50f3c5,this[_0xface3(0x366)]=_0x12c06c,this[_0xface3(0x203)]=_0x215dee;}[_0xe7476b(0x357)](){var _0x32c2d9=_0xe7476b;const _0x5ceaf7=super[_0x32c2d9(0x357)]();return _0x5ceaf7[_0x32c2d9(0x3a1)]=_0x2aa84a=>this[_0x32c2d9(0x203)]['transformSelections'](_0x2aa84a),_0x5ceaf7;}async[_0xe7476b(0x2cb)](){var _0x2dbb82=_0xe7476b;const _0x8e4542=await super[_0x2dbb82(0x2cb)]();return this[_0x2dbb82(0x3a5)](this[_0x2dbb82(0x35b)][_0x2dbb82(0x248)]((_0x4c00d2,_0x2cb476)=>{var _0x1af850=_0x2dbb82;if(_0x4c00d2[_0x1af850(0x366)]!==_0x2b0c13['MUTATION']||_0x2cb476!=null&&_0x2cb476[_0x1af850(0x30a)]||_0x2cb476!=null&&_0x2cb476[_0x1af850(0x1b0)])return;const _0x115732=_0x4c00d2[_0x1af850(0x1e2)];if((_0x115732==null?void 0x0:_0x115732[_0x1af850(0x283)])!==this['unitID'])return;const _0x24ea6e=_0x4c00d2,_0x55d965=this[_0x1af850(0x354)]['interceptor'][_0x1af850(0x1d5)](this[_0x1af850(0x354)][_0x1af850(0x138)][_0x1af850(0xfe)]()[_0x1af850(0x19c)])([_0x24ea6e],null)||[_0x24ea6e];this[_0x1af850(0x32f)](_0x55d965[0x0]);})),_0x8e4542;}};Et=wt([H(0x3,_0x3ab451(_0x494864)),H(0x4,_0x3ab451(_0x3608ab)),H(0x5,_0x3ab451(_0x4edbc8)),H(0x6,_0x3ab451(_0x243094)),H(0x7,_0x3ab451(it)),H(0x8,_0x3ab451(ve)),H(0x9,_0x5d58e7),H(0xa,_0x22ca1b),H(0xb,_0x1752a3),H(0xc,_0x101caa(ht)),H(0xd,_0x101caa(J))],Et);const js=_0x38fdf1('univer-pro.collaboration-client.network-condition.service');function Fs(_0xf0bf86){var _0x13d792=_0xe7476b,_0x3578f6,_0x59b076,_0x2c4f29,_0x2cd4db,_0x396ad6;const _0x36e274=_0xf0bf86['data'],_0x5be017=JSON[_0x13d792(0x184)](_0x36e274);switch(_0x5be017['cmd']){case F[_0x13d792(0x374)]:case F['HELLO']:{const _0xd7ffc8=_0x5be017[_0x13d792(0x2ed)];return{..._0x5be017,'data':_0xd7ffc8,'cmd':_0x5be017['cmd']};}case F[_0x13d792(0x133)]:{const _0x460841=_0x5be017['joinRsp'];return{..._0x5be017,'data':_0x460841,'cmd':_0x5be017[_0x13d792(0x2a8)]};}case F[_0x13d792(0x39b)]:{const _0x30c32d=_0x5be017[_0x13d792(0x1aa)];switch(_0x30c32d[_0x13d792(0x36f)]){case _0x15f20d[_0x13d792(0x1af)]:return{..._0x5be017,'data':{..._0x30c32d,'data':(_0x3578f6=_0x30c32d[_0x13d792(0x281)])==null?void 0x0:_0x3578f6['cs']},'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d['CHANGESET_ACK']:return{..._0x5be017,'data':{..._0x30c32d,'data':(_0x59b076=_0x30c32d[_0x13d792(0x3b6)])==null?void 0x0:_0x59b076['cs']},'cmd':_0x5be017['cmd']};case _0x15f20d[_0x13d792(0x1c8)]:return{..._0x5be017,'data':{..._0x30c32d,'data':(_0x2c4f29=_0x30c32d['newCsEvent'])==null?void 0x0:_0x2c4f29['cs']},'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d[_0x13d792(0x237)]:return{..._0x5be017,'data':{..._0x30c32d,'data':(_0x2cd4db=_0x30c32d[_0x13d792(0x300)])==null?void 0x0:_0x2cd4db['cs']},'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d[_0x13d792(0x173)]:return{..._0x5be017,'data':{..._0x30c32d,'data':(_0x396ad6=_0x30c32d[_0x13d792(0x34e)])==null?void 0x0:_0x396ad6['cs']},'cmd':_0x5be017['cmd']};case _0x15f20d[_0x13d792(0x234)]:return{..._0x5be017,'data':{..._0x30c32d,'data':_0x30c32d['updateCursorEvent']},'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d['USERS_ENTER']:return{..._0x5be017,'data':{..._0x30c32d,'data':_0x30c32d['joinEvent']},'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d['USERS_LEAVE']:return{..._0x5be017,'data':{..._0x30c32d,'data':_0x30c32d[_0x13d792(0x2d4)]},'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d[_0x13d792(0x293)]:return{..._0x5be017,'data':{..._0x30c32d,'data':_0x30c32d[_0x13d792(0x18f)]},'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d['LIVESHARE_FETCH_OPERATIONS']:case _0x15f20d[_0x13d792(0x189)]:return{..._0x5be017,'data':{..._0x30c32d,'data':_0x30c32d[_0x13d792(0x2ac)]},'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d['LIVESHARE_TERMINATE']:return{..._0x5be017,'data':{..._0x30c32d,'data':_0x30c32d['liveShareNewHost']},'cmd':_0x5be017['cmd']};case _0x15f20d[_0x13d792(0x2f6)]:return{..._0x5be017,'data':_0x30c32d,'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d[_0x13d792(0x1d4)]:return{..._0x5be017,'data':{..._0x30c32d,'data':_0x30c32d['commentUpdateEvent']},'cmd':_0x5be017['cmd']};case _0x15f20d[_0x13d792(0x3b5)]:return{..._0x5be017,'data':{..._0x30c32d,'data':_0x30c32d[_0x13d792(0x159)]},'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d[_0x13d792(0x23a)]:return{..._0x5be017,'data':{..._0x30c32d,'data':_0x30c32d[_0x13d792(0x218)]},'cmd':_0x5be017[_0x13d792(0x2a8)]};case _0x15f20d[_0x13d792(0x35e)]:return{..._0x5be017,'data':{..._0x30c32d,'data':_0x30c32d['uniscriptRunEvent']},'cmd':_0x5be017['cmd']};default:return _0x5be017;}}default:return _0x5be017;}}function _0x33f0(_0x25df98,_0x3c0d56){var _0x1da457=_0x1da4();return _0x33f0=function(_0x33f061,_0xfd6308){_0x33f061=_0x33f061-0xee;var _0x468c6f=_0x1da457[_0x33f061];return _0x468c6f;},_0x33f0(_0x25df98,_0x3c0d56);}function Vs(_0x49b9a4){var _0xe50d6e=_0xe7476b;switch(_0x49b9a4[_0xe50d6e(0x2a8)]){case F[_0xe50d6e(0x374)]:case F[_0xe50d6e(0x166)]:return JSON[_0xe50d6e(0x2c7)]({'cmd':_0x49b9a4['cmd'],'routeKey':_0x49b9a4[_0xe50d6e(0x1da)]});case F[_0xe50d6e(0x31b)]:{let _0x8336b3;switch(_0x49b9a4[_0xe50d6e(0x182)][_0xe50d6e(0x36f)]){case _0x15f20d[_0xe50d6e(0x234)]:{_0x8336b3={'eventID':_0x15f20d['UPDATE_CURSOR'],'updateCursorEvent':_0x49b9a4[_0xe50d6e(0x182)]['data']};break;}case _0x15f20d[_0xe50d6e(0x3d2)]:{_0x8336b3={'eventID':_0x15f20d[_0xe50d6e(0x3d2)],'leaveEvent':_0x49b9a4[_0xe50d6e(0x182)]['data']};break;}case _0x15f20d[_0xe50d6e(0x3b3)]:{_0x8336b3={'eventID':_0x15f20d['USERS_ENTER'],'joinEvent':_0x49b9a4[_0xe50d6e(0x182)][_0xe50d6e(0x182)]};break;}case _0x15f20d['LIVESHARE_NEW_HOST']:{_0x8336b3={'eventID':_0x15f20d[_0xe50d6e(0x293)],'liveShareNewHost':_0x49b9a4[_0xe50d6e(0x182)][_0xe50d6e(0x182)]};break;}case _0x15f20d['LIVESHARE_OPERATION']:{_0x8336b3={'eventID':_0x15f20d[_0xe50d6e(0x189)],'liveShareOperation':_0x49b9a4['data'][_0xe50d6e(0x182)]};break;}case _0x15f20d[_0xe50d6e(0x1a8)]:{_0x8336b3={'eventID':_0x15f20d['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x49b9a4['data'][_0xe50d6e(0x182)]};break;}case _0x15f20d[_0xe50d6e(0x17f)]:{_0x8336b3={'eventID':_0x15f20d[_0xe50d6e(0x17f)],'liveShareRequestHost':_0x49b9a4[_0xe50d6e(0x182)]['data']};break;}case _0x15f20d['LIVESHARE_FETCH_OPERATIONS']:{_0x8336b3={'eventID':_0x15f20d[_0xe50d6e(0x318)]};break;}default:_0x8336b3={'eventID':_0x49b9a4[_0xe50d6e(0x182)]['eventID']};}return JSON[_0xe50d6e(0x2c7)]({'cmd':_0x49b9a4[_0xe50d6e(0x2a8)],'routeKey':_0x49b9a4[_0xe50d6e(0x1da)],'collaMsg':_0x8336b3});}case F[_0xe50d6e(0x133)]:return JSON[_0xe50d6e(0x2c7)]({'cmd':_0x49b9a4[_0xe50d6e(0x2a8)],'routeKey':_0x49b9a4[_0xe50d6e(0x1da)],'joinReq':_0x49b9a4[_0xe50d6e(0x182)]});case F[_0xe50d6e(0x326)]:return JSON['stringify']({'cmd':_0x49b9a4[_0xe50d6e(0x2a8)],'routeKey':_0x49b9a4[_0xe50d6e(0x1da)],'leaveReq':_0x49b9a4[_0xe50d6e(0x182)]});default:throw new Error(_0xe50d6e(0x1e9));}}var Ws=Object[_0xe7476b(0x2af)],Gs=(_0x453ade,_0x573bb8,_0x5cff1b,_0x58b507)=>{var _0xbf1384=_0xe7476b;for(var _0x45e4d1=_0x58b507>0x1?void 0x0:_0x58b507?Ws(_0x573bb8,_0x5cff1b):_0x573bb8,_0x460a5f=_0x453ade[_0xbf1384(0x295)]-0x1,_0x3e97bf;_0x460a5f>=0x0;_0x460a5f--)(_0x3e97bf=_0x453ade[_0x460a5f])&&(_0x45e4d1=_0x3e97bf(_0x45e4d1)||_0x45e4d1);return _0x45e4d1;},De=(_0x13de08,_0x31951a)=>(_0x4c49a6,_0x29f386)=>_0x31951a(_0x4c49a6,_0x29f386,_0x13de08);const Ci=_0x38fdf1('univer-pro.collaboration-client-socket-service');function Ys(_0xd6ea51,_0x446998,_0x59a522){var _0x309942=_0xe7476b;return _0xd6ea51+'/'+_0x446998+_0x309942(0x1ef)+_0x59a522+'/new_changes';}let Gt=class extends _0x1329fe{constructor(_0x38481f,_0x5d1ab3,_0x31e7cb,_0x23ac91,_0x3d722f){var _0x5c119e=_0xe7476b;super(),this[_0x5c119e(0x284)]=_0x38481f,this['_httpService']=_0x5d1ab3,this[_0x5c119e(0x29f)]=_0x31e7cb,this[_0x5c119e(0x1e0)]=_0x23ac91,this['_snapshotServerService']=_0x3d722f;}[_0xe7476b(0x2e1)](_0x2ccb59){var _0xc64f46=_0xe7476b;const _0x79f78a=this[_0xc64f46(0x284)][_0xc64f46(0x174)](_0x169a24);if(!_0x79f78a)throw new Error(_0xc64f46(0x26c));const _0x1a7843=_0x79f78a['createSocket'](_0x2ccb59);if(!_0x1a7843)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x3b629b=new _0x510667(),_0x361d17=new _0x22d8b5();_0x3b629b['add'](_0x1a7843['close$']['subscribe'](_0x2f73b1=>_0x361d17['next'](_0x2f73b1))),_0x3b629b['add'](_0x3ea293(()=>_0x361d17['complete']()));const _0x1c050f=new _0x22d8b5();_0x3b629b[_0xc64f46(0x102)](_0x1a7843[_0xc64f46(0x217)][_0xc64f46(0x2b4)](_0x1a2ca2=>_0x1c050f[_0xc64f46(0x12c)](_0x1a2ca2))),_0x3b629b['add'](_0x3ea293(()=>_0x1c050f['complete']()));const _0x50b576=new _0x22d8b5();_0x3b629b[_0xc64f46(0x102)](_0x1a7843[_0xc64f46(0x1b3)]['subscribe'](_0x3d1090=>{const _0x7500d8=Fs(_0x3d1090);_0x50b576['next'](_0x7500d8);})),_0x3b629b[_0xc64f46(0x102)](_0x3ea293(()=>_0x50b576[_0xc64f46(0x20b)]()));let _0x3d5a77;const _0x3c340f=()=>{var _0x24f4b4=_0xc64f46;_0x1c050f[_0x24f4b4(0x12c)](new Event(_0x24f4b4(0x232))),_0x361d17[_0x24f4b4(0x12c)](new Event(_0x24f4b4(0x232))),_0x3d5a77[_0x24f4b4(0x353)]();};return _0x3d5a77={'memberID':'','close$':_0x361d17[_0xc64f46(0x2be)](),'error$':_0x1c050f[_0xc64f46(0x2be)](),'open$':_0x1a7843[_0xc64f46(0x245)],'message$':_0x50b576[_0xc64f46(0x2be)](),'send':_0x57cb58=>{var _0x486c2a=_0xc64f46;if(_0x57cb58[_0x486c2a(0x2a8)]===F['INGEST']){if(_0x57cb58[_0x486c2a(0x182)][_0x486c2a(0x36f)]===_0x15f20d[_0x486c2a(0x2ce)]){this[_0x486c2a(0x251)](_0x3d5a77,_0x57cb58['data'])[_0x486c2a(0x3a3)](_0x10e64e=>{var _0x2332ae=_0x486c2a;this[_0x2332ae(0x1e0)][_0x2332ae(0x33f)](_0x10e64e),_0x3c340f();});return;}if(_0x57cb58[_0x486c2a(0x182)][_0x486c2a(0x36f)]===_0x15f20d[_0x486c2a(0x1d0)]){const _0x50e5ae=_0x57cb58[_0x486c2a(0x182)];this[_0x486c2a(0x188)](_0x50e5ae)[_0x486c2a(0x397)](_0x15bafb=>{var _0x47b998=_0x486c2a;_0x50b576[_0x47b998(0x12c)]({'cmd':F[_0x47b998(0x39b)],'code':pe['OK'],'routeKey':_0x50e5ae[_0x47b998(0x182)][_0x47b998(0x2a9)],'routeType':'','data':{'eventID':_0x15f20d[_0x47b998(0x28d)],'data':{'changesets':_0x15bafb}}});})['catch'](_0x585d7e=>{var _0x488579=_0x486c2a;this[_0x488579(0x1e0)]['error'](_0x585d7e),_0x3c340f();});return;}}_0x1a7843[_0x486c2a(0x3c8)](Vs(_0x57cb58));},'close':()=>{var _0x5b4965=_0xc64f46;_0x1a7843[_0x5b4965(0x353)](),_0x3b629b['dispose']();}},_0x3d5a77;}async[_0xe7476b(0x251)](_0x478781,_0x2aace1){var _0x589cd1=_0xe7476b,_0x242c2e;const {unitType:_0x2ab3c0,unitID:_0x4fc25a,changeset:_0x18a2e2}=_0x2aace1[_0x589cd1(0x182)],_0x3b7197={'unitID':_0x4fc25a,'memberID':_0x478781[_0x589cd1(0x224)],'type':_0x2ab3c0,'changeset':_0x1f3cff(_0x18a2e2)},_0x31d617=this[_0x589cd1(0x29f)]['getConfig'](K),_0x139cb8=Ys((_0x242c2e=_0x31d617==null?void 0x0:_0x31d617[_0x589cd1(0x339)])!=null?_0x242c2e:Cs,_0x2ab3c0,_0x4fc25a);try{await this[_0x589cd1(0x198)][_0x589cd1(0x2d7)](_0x139cb8,{'body':_0x3b7197});}catch(_0x50ca53){throw this[_0x589cd1(0x1e0)][_0x589cd1(0x33f)](_0x589cd1(0x1f2),_0x589cd1(0x238)),_0x50ca53;}}async[_0xe7476b(0x188)](_0x895396){var _0x2d2340=_0xe7476b;const {unitID:_0x28cee2,from:_0x5f3d78,to:_0x5ed97c,unitType:_0x4207ba}=_0x895396['data'];return(await this[_0x2d2340(0x222)][_0x2d2340(0x242)]({'metadata':void 0x0},{'unitID':_0x28cee2,'type':_0x4207ba,'from':_0x5f3d78,'to':_0x5ed97c}))[_0x2d2340(0x2b2)];}};Gt=Gs([De(0x0,_0x3ab451(_0x494864)),De(0x1,_0x3ab451(_0x5325d6)),De(0x2,_0x2c6e2),De(0x3,_0x5d58e7),De(0x4,_0x380b92)],Gt);var Ks=Object[_0xe7476b(0x2af)],qs=(_0x2db0c4,_0x2944c2,_0x1688c6,_0x24749c)=>{var _0x108982=_0xe7476b;for(var _0x343869=_0x24749c>0x1?void 0x0:_0x24749c?Ks(_0x2944c2,_0x1688c6):_0x2944c2,_0x5eec4b=_0x2db0c4[_0x108982(0x295)]-0x1,_0x534870;_0x5eec4b>=0x0;_0x5eec4b--)(_0x534870=_0x2db0c4[_0x5eec4b])&&(_0x343869=_0x534870(_0x343869)||_0x343869);return _0x343869;},Re=(_0x18656f,_0x16b17e)=>(_0x4f9db8,_0x203e63)=>_0x16b17e(_0x4f9db8,_0x203e63,_0x18656f);let Pe=class extends _0x1329fe{constructor(_0x39a523,_0x5ae673,_0x1f05fb,_0x2e1c28,_0xa3517c,_0x56870a){var _0xa0ab6a=_0xe7476b;super(),N(this,_0xa0ab6a(0x340),new _0x1c92f2(void 0x0)),N(this,'socket$',this[_0xa0ab6a(0x340)][_0xa0ab6a(0x2be)]()),N(this,'_candidateSocket',null),N(this,_0xa0ab6a(0x1dc),new Map()),N(this,'_status$',new _0x1c92f2(ge[_0xa0ab6a(0x12f)])),N(this,_0xa0ab6a(0x3b4),this[_0xa0ab6a(0x28f)]['asObservable']()),N(this,'_socketReady',!0x1),N(this,'_retryConnectingTimer'),N(this,_0xa0ab6a(0x135),0x0),N(this,_0xa0ab6a(0xf3)),N(this,_0xa0ab6a(0x3bd)),(this[_0xa0ab6a(0x284)]=_0x39a523,this[_0xa0ab6a(0x1e0)]=_0x5ae673,this['_configService']=_0x1f05fb,this[_0xa0ab6a(0x38e)]=_0x2e1c28,this['_collaborationUIEventService']=_0xa3517c,this['_networkConditionService']=_0x56870a,this['_listenToNetworkCondition']());}get['_socket'](){var _0xa4fcb2=_0xe7476b;return this[_0xa4fcb2(0x340)][_0xa4fcb2(0x3df)]();}[_0xe7476b(0x192)](){var _0x5e214d=_0xe7476b;this[_0x5e214d(0x104)]&&this[_0x5e214d(0x3a5)](this[_0x5e214d(0x104)]['online$'][_0x5e214d(0x2b4)](_0x41e51f=>{var _0x3f676a=_0x5e214d;_0x41e51f&&!this[_0x3f676a(0xf7)]&&this[_0x3f676a(0x136)](),_0x41e51f||this[_0x3f676a(0x155)]();}));}[_0xe7476b(0x322)](){var _0x4e8dc1=_0xe7476b;super['dispose'](),this[_0x4e8dc1(0x3cb)](),this[_0x4e8dc1(0x2c6)](),this[_0x4e8dc1(0x3b1)](),this['_sessions'][_0x4e8dc1(0x21a)](_0x1babf1=>_0x1babf1[_0x4e8dc1(0x322)]()),this[_0x4e8dc1(0x1dc)][_0x4e8dc1(0x1be)](),this[_0x4e8dc1(0x28f)]['complete']();}async['requireSession'](_0x8072c1){var _0x248d8b=_0xe7476b;if(this[_0x248d8b(0x1dc)][_0x248d8b(0x1a5)](_0x8072c1))return this[_0x248d8b(0x1dc)][_0x248d8b(0x174)](_0x8072c1);this[_0x248d8b(0x30d)]();const _0x1014c6=this['_injector'][_0x248d8b(0x163)](gt,_0x8072c1,this[_0x248d8b(0x340)][_0x248d8b(0x2be)]());return this['_sessions'][_0x248d8b(0x355)](_0x8072c1,_0x1014c6),_0x1014c6;}[_0xe7476b(0x22a)](_0x86c409){var _0x5436bd=_0xe7476b,_0x4c4ba6;const _0x457b4b=this[_0x5436bd(0x1dc)][_0x5436bd(0x174)](_0x86c409);_0x457b4b&&(this[_0x5436bd(0x1dc)][_0x5436bd(0x333)](_0x86c409),_0x457b4b[_0x5436bd(0x353)]()),this[_0x5436bd(0x1dc)][_0x5436bd(0x122)]||(_0x4c4ba6=this[_0x5436bd(0xf7)])==null||_0x4c4ba6[_0x5436bd(0x353)]();}[_0xe7476b(0x136)](){var _0x281452=_0xe7476b;this[_0x281452(0x135)]=0x0,this[_0x281452(0x3cb)](),this['_tryReconnect']();}[_0xe7476b(0x3cb)](){var _0x5655ec=_0xe7476b;this[_0x5655ec(0x3b2)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x5655ec(0x3b2)]=null);}async[_0xe7476b(0x14a)](){var _0x2fd081=_0xe7476b,_0x11173a;const _0x5eb9c7=this[_0x2fd081(0x29f)][_0x2fd081(0x178)](K),_0x1278d9=(_0x11173a=_0x5eb9c7==null?void 0x0:_0x5eb9c7['collabWebSocketUrl'])!=null?_0x11173a:ms,_0x3487e4=await this['_socketService']['createSocket'](_0x1278d9);return this[_0x2fd081(0x212)]=_0x3487e4,_0x3487e4;}async[_0xe7476b(0x30d)](){var _0x57b15e=_0xe7476b,_0x53affb,_0xc0bc9d;try{const _0x153e15=(_0xc0bc9d=(_0x53affb=this[_0x57b15e(0xf7)])!=null?_0x53affb:this[_0x57b15e(0x212)])!=null?_0xc0bc9d:await this[_0x57b15e(0x14a)]();if(_0x153e15){const _0x1072da=_0x153e15[_0x57b15e(0x3c8)];_0x153e15[_0x57b15e(0x3c8)]=_0x3e26cb=>(this['_rescheduleHeartbeat'](),_0x1072da[_0x57b15e(0x30c)](_0x153e15,[_0x3e26cb])),_0x153e15[_0x57b15e(0x1b3)][_0x57b15e(0x2b4)](_0x3a4320=>this['_onMessage'](_0x153e15,_0x3a4320)),_0x153e15['error$'][_0x57b15e(0x2d0)](_0x410a55(0x1))[_0x57b15e(0x2b4)](_0x274095=>this['_logService'][_0x57b15e(0x33f)](_0x57b15e(0x3af),_0x274095)),_0x153e15[_0x57b15e(0x245)][_0x57b15e(0x2d0)](_0x410a55(0x1))[_0x57b15e(0x2b4)](()=>{var _0x142069=_0x57b15e;this[_0x142069(0x375)](_0x153e15);}),_0x153e15[_0x57b15e(0x380)][_0x57b15e(0x2d0)](_0x410a55(0x1))[_0x57b15e(0x2b4)](_0xb37189=>{var _0x331d90=_0x57b15e;this[_0x331d90(0x1e0)][_0x331d90(0x2f1)]('[CollaborationSessionService]',_0x331d90(0x393),_0xb37189),this[_0x331d90(0x137)]();});}}catch(_0x35e72c){this[_0x57b15e(0x1e0)][_0x57b15e(0x33f)](_0x35e72c),this[_0x57b15e(0x137)]();}}[_0xe7476b(0x375)](_0x3b2fbe){var _0x2421b5=_0xe7476b;this['_logService']['debug'](_0x2421b5(0x241),_0x2421b5(0x18d)),_0x3b2fbe[_0x2421b5(0x3c8)]({'cmd':F['HELLO']}),this['_rescheduleHeartbeat']();}[_0xe7476b(0x155)](){var _0x270614=_0xe7476b;this['_socketReady']=!0x1,this[_0x270614(0x212)]=null,this[_0x270614(0x28f)]['next'](ge['OFFLINE']),this['_socket$']['next'](null),this[_0x270614(0x2c6)](),this[_0x270614(0x3b1)]();}[_0xe7476b(0x137)](){var _0x2d94d1=_0xe7476b,_0x44f938;this['_onOffline'](),this['_retryCount']<((_0x44f938=this['_configService'][_0x2d94d1(0x178)](Is))!=null?_0x44f938:Ts)?(this[_0x2d94d1(0x34d)][_0x2d94d1(0x385)]({'id':ne[_0x2d94d1(0x239)]}),this[_0x2d94d1(0x229)]()):this[_0x2d94d1(0x34d)][_0x2d94d1(0x385)]({'id':ne[_0x2d94d1(0x371)]});}[_0xe7476b(0x229)](){var _0x1ac32d=_0xe7476b,_0x1c4fc5;const _0x19bfd5=this[_0x1ac32d(0x135)],_0x445748=this[_0x1ac32d(0x29f)][_0x1ac32d(0x178)](K),_0xea9496=_0x19bfd5===0x0?0x0:((_0x1c4fc5=_0x445748==null?void 0x0:_0x445748[_0x1ac32d(0x11d)])!=null?_0x1c4fc5:Es)*0x2**_0x19bfd5;this[_0x1ac32d(0x3b2)]=setTimeout(()=>{var _0x243557=_0x1ac32d;clearTimeout(this[_0x243557(0x3b2)]),this[_0x243557(0x3b2)]=null,this['_tryEnsureSocket']();},_0xea9496),this[_0x1ac32d(0x135)]+=0x1;}[_0xe7476b(0x350)](_0x3a1513,_0xf7e8bd){var _0x43f371=_0xe7476b;const {cmd:_0x3bf08c}=_0xf7e8bd;_0x3bf08c===F[_0x43f371(0x166)]&&!this[_0x43f371(0x13d)]&&(_0x3a1513[_0x43f371(0x224)]=_0xf7e8bd['data']['memberID'],this[_0x43f371(0x340)][_0x43f371(0x12c)](_0x3a1513),this[_0x43f371(0x28f)]['next'](ge['ONLINE']),this[_0x43f371(0x13d)]=!0x0,this[_0x43f371(0x212)]=null),_0x3bf08c===F[_0x43f371(0x374)]&&this[_0x43f371(0x2c6)](),this[_0x43f371(0x2e3)]();}[_0xe7476b(0x2e3)](){var _0x348116=_0xe7476b,_0xbd1469;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x348116(0x32e)](),(_0xbd1469=this['_configService']['getConfig'](gs))!=null?_0xbd1469:Ss);}[_0xe7476b(0x32e)](){var _0x1877b8=_0xe7476b;this[_0x1877b8(0xf7)][_0x1877b8(0x3c8)]({'cmd':F[_0x1877b8(0x374)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x31c6a9=_0xe7476b,_0x5d35c3;this[_0x31c6a9(0x3bd)]=setTimeout(()=>this[_0x31c6a9(0x137)](),(_0x5d35c3=this[_0x31c6a9(0x29f)][_0x31c6a9(0x178)](di))!=null?_0x5d35c3:fi);}[_0xe7476b(0x3b1)](){var _0x490349=_0xe7476b;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x490349(0xf3)]),this['_sendHeartbeatTimer']=null);}[_0xe7476b(0x2c6)](){var _0x6eff5b=_0xe7476b;this[_0x6eff5b(0x3bd)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x6eff5b(0x3bd)]=null);}};Pe=qs([Re(0x0,_0x3ab451(_0x494864)),Re(0x1,_0x5d58e7),Re(0x2,_0x2c6e2),Re(0x3,Ci),Re(0x4,_0x3ab451(ve)),Re(0x5,_0x101caa(js))],Pe);var zs=Object[_0xe7476b(0x2af)],Js=(_0x263ef7,_0x2e1ea0,_0x50881f,_0x47ad5c)=>{for(var _0x2f445f=_0x47ad5c>0x1?void 0x0:_0x47ad5c?zs(_0x2e1ea0,_0x50881f):_0x2e1ea0,_0x3dad05=_0x263ef7['length']-0x1,_0x18500b;_0x3dad05>=0x0;_0x3dad05--)(_0x18500b=_0x263ef7[_0x3dad05])&&(_0x2f445f=_0x18500b(_0x2f445f)||_0x2f445f);return _0x2f445f;},Be=(_0x2f9f30,_0x108bf8)=>(_0x313b14,_0x1b9c86)=>_0x108bf8(_0x313b14,_0x1b9c86,_0x2f9f30);let nt=class extends _0x596c5c{constructor(_0x520fe4,_0x353aeb,_0x480c9a,_0x4c699a){var _0x4c1103=_0xe7476b,_0x47837f;super(),N(this,_0x4c1103(0x101),new Map()),N(this,'_entityInit$',new _0x22d8b5()),N(this,_0x4c1103(0x20f),this[_0x4c1103(0x335)][_0x4c1103(0x2be)]()),(this[_0x4c1103(0x284)]=_0x520fe4,this[_0x4c1103(0x111)]=_0x353aeb,this[_0x4c1103(0x29f)]=_0x480c9a,this[_0x4c1103(0x257)]=_0x4c699a,((_0x47837f=this[_0x4c1103(0x29f)][_0x4c1103(0x178)](K))==null?void 0x0:_0x47837f['enableCollaboration'])!==!0x1&&this[_0x4c1103(0x2cb)]());}['dispose'](){var _0x963f90=_0xe7476b;super[_0x963f90(0x322)](),this[_0x963f90(0x101)][_0x963f90(0x21a)](_0x54adc4=>_0x54adc4[_0x963f90(0x322)]()),this[_0x963f90(0x101)][_0x963f90(0x1be)]();}[_0xe7476b(0x2b9)](_0x115220){var _0x1e501e=_0xe7476b,_0x1bf601;return(_0x1bf601=this['_entities'][_0x1e501e(0x174)](_0x115220))!=null?_0x1bf601:null;}[_0xe7476b(0x296)](_0x1bfb39){var _0x4bd254=_0xe7476b;const _0x4b6453=this['getCollabEntity'](_0x1bfb39);return _0x4b6453?_0x31c001(_0x4b6453):this[_0x4bd254(0x335)][_0x4bd254(0x2d0)](_0x382e9a(_0x4a0509=>_0x4a0509['unitID']===_0x1bfb39));}[_0xe7476b(0x341)](_0x5e85e3){var _0x402c51=_0xe7476b;return _0x2d9687(this[_0x402c51(0x296)](_0x5e85e3)[_0x402c51(0x2d0)](_0x1263aa(()=>{})));}[_0xe7476b(0x2cb)](){var _0x15d0f9=_0xe7476b;this[_0x15d0f9(0x257)][_0x15d0f9(0x1ec)](_0x313508[_0x15d0f9(0x2f4)])['pipe'](_0x1f2e28(this[_0x15d0f9(0x265)]),_0x4ee84d(0x10))[_0x15d0f9(0x2b4)](async _0x14446b=>{var _0x2a382d=_0x15d0f9;const _0x43e3c1=_0x14446b[_0x2a382d(0x109)](),_0x5ac7d1=await this[_0x2a382d(0x3a6)](_0x43e3c1,Z[_0x2a382d(0x2f4)]);this[_0x2a382d(0x101)]['set'](_0x43e3c1,_0x5ac7d1);}),this['_univerInstanceService'][_0x15d0f9(0x1ec)](_0x313508['UNIVER_DOC'])['pipe'](_0x1f2e28(this[_0x15d0f9(0x265)]),_0x4ee84d(0x10))[_0x15d0f9(0x2d0)](_0x382e9a(_0x5161ec=>!_0x5161ec['getUnitId']()['startsWith']('__')))['subscribe'](async _0x5b4094=>{var _0x32a665=_0x15d0f9;const _0x3e5b17=_0x5b4094[_0x32a665(0x109)](),_0x531ebb=await this[_0x32a665(0x3a6)](_0x3e5b17,Z[_0x32a665(0x25f)]);this['_entities'][_0x32a665(0x355)](_0x3e5b17,_0x531ebb);}),_0x114bec(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x313508[_0x15d0f9(0x2f4)]),this['_univerInstanceService'][_0x15d0f9(0x134)](_0x313508[_0x15d0f9(0x25f)]))[_0x15d0f9(0x2d0)](_0x1f2e28(this[_0x15d0f9(0x265)]))[_0x15d0f9(0x2b4)](_0x9cff6c=>{var _0x5aea40=_0x15d0f9;const _0x4d501b=_0x9cff6c[_0x5aea40(0x109)](),_0x34fa1f=this[_0x5aea40(0x101)][_0x5aea40(0x174)](_0x4d501b);_0x34fa1f&&(_0x34fa1f[_0x5aea40(0x322)](),this[_0x5aea40(0x101)][_0x5aea40(0x333)](_0x4d501b));});}async[_0xe7476b(0x3a6)](_0x5b49bd,_0xfb13ad){var _0x13cd1d=_0xe7476b;const _0x131583=await this[_0x13cd1d(0x111)][_0x13cd1d(0x25c)](_0x5b49bd),_0x5c591e=this[_0x13cd1d(0x284)][_0x13cd1d(0x163)](this[_0x13cd1d(0x2e9)](_0xfb13ad),_0x5b49bd,_0xfb13ad,_0x131583);return await _0x5c591e[_0x13cd1d(0x1a7)](),this[_0x13cd1d(0x335)]['next'](_0x5c591e),_0x5c591e;}[_0xe7476b(0x2e9)](_0x3ad0e6){var _0x296048=_0xe7476b;switch(_0x3ad0e6){case Z[_0x296048(0x25f)]:return St;case Z[_0x296048(0x2f4)]:return Et;default:throw new Error(_0x296048(0x227)+_0x3ad0e6);}}};nt=Js([Be(0x0,_0x3ab451(_0x494864)),Be(0x1,_0x3ab451(Pe)),Be(0x2,_0x2c6e2),Be(0x3,_0x564314)],nt);var Xs=Object[_0xe7476b(0x2af)],Zs=(_0x520902,_0x52e6f,_0x2a8435,_0x55e80c)=>{var _0x31849f=_0xe7476b;for(var _0x30cc09=_0x55e80c>0x1?void 0x0:_0x55e80c?Xs(_0x52e6f,_0x2a8435):_0x52e6f,_0x4caadb=_0x520902[_0x31849f(0x295)]-0x1,_0x5d9be1;_0x4caadb>=0x0;_0x4caadb--)(_0x5d9be1=_0x520902[_0x4caadb])&&(_0x30cc09=_0x5d9be1(_0x30cc09)||_0x30cc09);return _0x30cc09;},Yt=(_0x54de5a,_0x1af4ab)=>(_0x44e7fa,_0x5f3732)=>_0x1af4ab(_0x44e7fa,_0x5f3732,_0x54de5a);const Qs=_0xe7476b(0x228),en=_0xe7476b(0x384);let It=class extends _0x1329fe{constructor(_0x2fbe89,_0x286dc3){var _0x423535=_0xe7476b;super(),this[_0x423535(0x257)]=_0x2fbe89,this[_0x423535(0x29f)]=_0x286dc3,this[_0x423535(0x2cb)]();}[_0xe7476b(0x2cb)](){var _0xa34869=_0xe7476b;this[_0xa34869(0x3a5)](this[_0xa34869(0x257)]['focused$']['subscribe'](()=>{var _0x3eeeb8=_0xa34869,_0x3554a5;const _0x67dfbf=this[_0x3eeeb8(0x257)]['getFocusedUnit']();let _0x498042=(_0x3554a5=this[_0x3eeeb8(0x29f)][_0x3eeeb8(0x178)](Qs))!=null?_0x3554a5:en;_0x67dfbf instanceof _0x26990f&&(_0x498042=_0x67dfbf['name']),document[_0x3eeeb8(0x127)]=_0x498042;}));}};It=Zs([Yt(0x0,_0x564314),Yt(0x1,_0x2c6e2)],It);var tn=Object[_0xe7476b(0x2af)],sn=(_0x3c2b71,_0xd5bb4a,_0x294492,_0x5b33d9)=>{var _0x112c79=_0xe7476b;for(var _0x26cc1c=_0x5b33d9>0x1?void 0x0:_0x5b33d9?tn(_0xd5bb4a,_0x294492):_0xd5bb4a,_0x35f0ec=_0x3c2b71[_0x112c79(0x295)]-0x1,_0x5e5681;_0x35f0ec>=0x0;_0x35f0ec--)(_0x5e5681=_0x3c2b71[_0x35f0ec])&&(_0x26cc1c=_0x5e5681(_0x26cc1c)||_0x26cc1c);return _0x26cc1c;},dt=(_0x49ec60,_0x5b2877)=>(_0x5eee75,_0x55ee61)=>_0x5b2877(_0x5eee75,_0x55ee61,_0x49ec60);let rt=class{constructor(_0x1678c7,_0x14351c,_0x4538fa){var _0x52c06c=_0xe7476b;this[_0x52c06c(0x29f)]=_0x1678c7,this[_0x52c06c(0x198)]=_0x14351c,this[_0x52c06c(0x383)]=_0x4538fa,this[_0x52c06c(0x1a7)]();}['init'](){var _0x16d2c4=_0xe7476b;this['_httpService'][_0x16d2c4(0x1cf)]({'priority':0x1,'interceptor':(_0x35d0d0,_0x4bdc8f)=>_0x4bdc8f(_0x35d0d0)[_0x16d2c4(0x2d0)](_0x28237d(async _0x284698=>{var _0x35ff1d=_0x16d2c4;const _0x5c372f=_0x284698;if(_0x5c372f['status']===0x191){if(typeof window>'u')throw new Error(_0x35ff1d(0x3d5));if(window[_0x35ff1d(0x187)](this[_0x35ff1d(0x383)]['t']('auth.needGotoLoginAlert'))){const _0x460b2c=window[_0x35ff1d(0x25e)](window[_0x35ff1d(0x3b8)]['href']);window[_0x35ff1d(0x3b8)]['href']=this['_getLoginPath']()+_0x35ff1d(0x313)+_0x460b2c;}}return _0x5c372f;}))});}[_0xe7476b(0x2e4)](){var _0x1078cf=_0xe7476b,_0x543e7d;const _0x37158f=this[_0x1078cf(0x29f)]['getConfig'](K);return(_0x543e7d=_0x37158f==null?void 0x0:_0x37158f[_0x1078cf(0x2bb)])!=null?_0x543e7d:Rs;}};rt=sn([dt(0x0,_0x2c6e2),dt(0x1,_0x3ab451(_0x5325d6)),dt(0x2,_0x3ab451(_0x4edbc8))],rt);var nn=Object[_0xe7476b(0x2af)],rn=(_0x5bc57b,_0x371f36,_0xa9bc01,_0xa62df2)=>{var _0x207d22=_0xe7476b;for(var _0x10e211=_0xa62df2>0x1?void 0x0:_0xa62df2?nn(_0x371f36,_0xa9bc01):_0x371f36,_0x145f2b=_0x5bc57b[_0x207d22(0x295)]-0x1,_0x3ee0f0;_0x145f2b>=0x0;_0x145f2b--)(_0x3ee0f0=_0x5bc57b[_0x145f2b])&&(_0x10e211=_0x3ee0f0(_0x10e211)||_0x10e211);return _0x10e211;},Kt=(_0x23c2e6,_0x194e10)=>(_0x592d1d,_0x46ca2f)=>_0x194e10(_0x592d1d,_0x46ca2f,_0x23c2e6);const an=_0xe7476b(0xee);let Tt=class extends _0x1329fe{constructor(_0x36ae46,_0x49a19b){var _0xe05644=_0xe7476b;super(),this[_0xe05644(0x1a2)]=_0x36ae46,this[_0xe05644(0x29f)]=_0x49a19b,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x2e50fa=_0xe7476b;const _0x23573f=this;this['disposeWithMe'](this['_HTTPService'][_0x2e50fa(0x1cf)]({'priority':0x3e7,'interceptor':_0x533f70({'isMatch'(_0x52a2b7){var _0x509ed9=_0x2e50fa,_0x1d8061;if(_0x52a2b7[_0x509ed9(0x345)]===_0x509ed9(0x3d6)&&((_0x1d8061=_0x52a2b7[_0x509ed9(0x3e1)])!=null&&_0x1d8061[_0x509ed9(0x2b5)])){const {objectID:_0x24cfab,objectType:_0x41a064}=_0x52a2b7[_0x509ed9(0x3e1)][_0x509ed9(0x2b5)]||{};if(!_0x24cfab||_0x41a064===void 0x0)return!0x1;const _0x2a1ee6=_0x23573f[_0x509ed9(0x17c)]()+'/'+_0x41a064+_0x509ed9(0x20c)+_0x24cfab+_0x509ed9(0x2ba);if(_0x52a2b7[_0x509ed9(0x2e8)]===_0x2a1ee6)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3a0ae6){var _0x740956=_0x2e50fa,_0x4c583f;return(_0x4c583f=_0x3a0ae6[_0x740956(0x3e1)])==null?void 0x0:_0x4c583f['body'];},'mergeParamsToRequest'(_0x227c5c,_0x1a6feb){var _0x1c6dda=_0x2e50fa;const _0x1b7054=_0x23573f[_0x1c6dda(0x17c)]()+_0x1c6dda(0x2c9),_0x255b12=_0x227c5c[_0x1c6dda(0x2df)]((_0xebd0ce,_0x3d1544)=>{var _0x35a036=_0x1c6dda;const {unitID:_0x21a868,objectID:_0x5e87fa,objectType:_0x10d512,actions:_0x4e8707}=_0x3d1544;return _0xebd0ce[_0x21a868]||(_0xebd0ce[_0x21a868]={}),_0xebd0ce[_0x21a868][_0x5e87fa]||(_0xebd0ce[_0x21a868][_0x5e87fa]={'objectID':_0x5e87fa,'objectType':_0x10d512,'actions':[]}),_0xebd0ce[_0x21a868][_0x5e87fa][_0x35a036(0x314)][_0x35a036(0x146)](..._0x4e8707),_0xebd0ce;},{}),_0x4315fe=[];for(const _0x499823 in _0x255b12)for(const _0xb062e1 in _0x255b12[_0x499823]){const {actions:_0x310a09,objectType:_0x22090d}=_0x255b12[_0x499823][_0xb062e1],_0x25b674=[...new Set(_0x310a09)];_0x4315fe[_0x1c6dda(0x146)]({'unitID':_0x499823,'objectID':_0xb062e1,'objectType':_0x22090d,'actions':_0x25b674});}return new _0x215338(_0x1c6dda(0x3d6),_0x1b7054,{'headers':_0x1a6feb[_0x1c6dda(0x261)],'withCredentials':_0x1a6feb[_0x1c6dda(0x1c0)],'responseType':_0x1a6feb['responseType'],'body':{'requests':_0x4315fe}});}},{'distributeResult'(_0x197573,_0x469e8e){var _0x4a40cb=_0x2e50fa;const {objectActions:_0x4e57d1}=_0x197573;return _0x469e8e[_0x4a40cb(0x267)](_0x3c56e9=>{var _0x248dd9=_0x4a40cb;const {unitID:_0x401830,objectID:_0x3400c3,actions:_0x5d44ee}=_0x3c56e9,_0x3d4cf2=_0x4e57d1['find'](_0x29c397=>_0x29c397[_0x248dd9(0x2a9)]===_0x401830&&_0x29c397[_0x248dd9(0x1ad)]===_0x3400c3),_0x45fa3d=_0x5d44ee['map'](_0x224956=>_0x3d4cf2==null?void 0x0:_0x3d4cf2[_0x248dd9(0x314)]['find'](_0x59d426=>_0x59d426['action']===_0x224956))[_0x248dd9(0x26a)](_0x35d3c8=>!!_0x35d3c8);return{'config':_0x3c56e9,'result':{'actions':_0x45fa3d,'error':_0x197573[_0x248dd9(0x33f)]}};});}})}));}[_0xe7476b(0x17c)](){var _0xc68075=_0xe7476b,_0x15a683;const _0x232657=this[_0xc68075(0x29f)][_0xc68075(0x178)](K);return(_0x15a683=_0x232657==null?void 0x0:_0x232657[_0xc68075(0x392)])!=null?_0x15a683:an;}async['create'](_0x2e337e){var _0x2457f5=_0xe7476b;const _0x4d0667=this[_0x2457f5(0x17c)]()+'/'+_0x2e337e[_0x2457f5(0x240)]+_0x2457f5(0x361);return(await this['_HTTPService']['post'](_0x4d0667,{'body':_0x2e337e}))['body'][_0x2457f5(0x1ad)]||'';}async[_0xe7476b(0x3c9)](_0x5b6570){var _0x4cb7b5=_0xe7476b;const _0x370072=this[_0x4cb7b5(0x17c)]()+'/-/object/list';return(await this[_0x4cb7b5(0x1a2)][_0x4cb7b5(0x2d7)](_0x370072,{'body':_0x5b6570}))[_0x4cb7b5(0x2b5)][_0x4cb7b5(0x142)];}async[_0xe7476b(0x3c1)](_0x478658){var _0x197e90=_0xe7476b,_0x1167dd,_0x3cf1f1;const _0xe9a1c4=this[_0x197e90(0x17c)]()+'/'+_0x478658['objectType']+_0x197e90(0x20c)+_0x478658[_0x197e90(0x1ad)],_0x1c9f27=await this[_0x197e90(0x1a2)][_0x197e90(0x3db)](_0xe9a1c4,{'body':_0x478658});if(((_0x3cf1f1=(_0x1167dd=_0x1c9f27==null?void 0x0:_0x1c9f27['body'])==null?void 0x0:_0x1167dd['error'])==null?void 0x0:_0x3cf1f1['code'])!==0x1)throw new Error(_0x197e90(0x256));}async[_0xe7476b(0x177)](_0xe529ac){var _0xcd3c9f=_0xe7476b;const _0x163f13=this['_getAPIPrefixPath']()+'/'+_0xe529ac[_0xcd3c9f(0x240)]+'/object/'+_0xe529ac[_0xcd3c9f(0x1ad)]+_0xcd3c9f(0x2ba);return(await this[_0xcd3c9f(0x1a2)][_0xcd3c9f(0x2d7)](_0x163f13,{'body':_0xe529ac}))[_0xcd3c9f(0x2b5)][_0xcd3c9f(0x314)];}async[_0xe7476b(0x39f)](_0x15f3af){var _0x531fe5=_0xe7476b;const _0x4ee7ce=this[_0x531fe5(0x17c)]()+_0x531fe5(0x2c9);return(await this[_0x531fe5(0x1a2)][_0x531fe5(0x2d7)](_0x4ee7ce,{'body':{'requests':_0x15f3af}}))['body']['objectActions'];}async[_0xe7476b(0x308)](_0x559460){var _0x247590=_0xe7476b;const _0x3c9515=this[_0x247590(0x17c)]()+'/'+_0x559460[_0x247590(0x240)]+_0x247590(0x181),_0x3d019f=await this[_0x247590(0x1a2)]['post'](_0x3c9515,{'body':_0x559460});return{'roles':_0x3d019f[_0x247590(0x2b5)][_0x247590(0x327)],'actions':_0x3d019f[_0x247590(0x2b5)][_0x247590(0x314)]};}async[_0xe7476b(0x119)](_0x3e5c6f){var _0x135308=_0xe7476b;const _0x404357=this[_0x135308(0x17c)]()+_0x135308(0x37b);await this[_0x135308(0x1a2)][_0x135308(0x333)](_0x404357,{'params':{'collaboratorID':_0x3e5c6f['collaboratorID'],'objectID':_0x3e5c6f[_0x135308(0x1ad)],'unitID':_0x3e5c6f['unitID']}});}async[_0xe7476b(0x2fc)](_0x15e050){var _0x1c1c9c=_0xe7476b;const _0xe5352c=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x1c1c9c(0x1a2)][_0x1c1c9c(0x2d6)](_0xe5352c,{'body':_0x15e050});}async[_0xe7476b(0x114)](_0x11afc0){var _0x3241d1=_0xe7476b;const _0x1ce1d7=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x3241d1(0x2d7)](_0x1ce1d7,{'body':_0x11afc0});}async[_0xe7476b(0x258)](_0x10b4fc){var _0x5a2b8b=_0xe7476b;const _0xa4b971=this[_0x5a2b8b(0x17c)]()+'/collaborator';return(await this[_0x5a2b8b(0x1a2)][_0x5a2b8b(0x174)](_0xa4b971,{'params':{'objectID':_0x10b4fc[_0x5a2b8b(0x1ad)],'unitID':_0x10b4fc[_0x5a2b8b(0x2a9)]}}))[_0x5a2b8b(0x2b5)]['collaborators'];}async[_0xe7476b(0x3c5)](_0x3a86e4){var _0x2cc31b=_0xe7476b;const _0x242b5e=this[_0x2cc31b(0x17c)]()+_0x2cc31b(0x37b);await this['_HTTPService'][_0x2cc31b(0x3db)](_0x242b5e,{'body':_0x3a86e4});}};Tt=rn([Kt(0x0,_0x3ab451(_0x5325d6)),Kt(0x1,_0x3ab451(_0x2c6e2))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x417466){var _0xb3a6a6=_0xe7476b;return _0x417466&&_0x417466[_0xb3a6a6(0x1ee)]&&Object['prototype'][_0xb3a6a6(0x24e)][_0xb3a6a6(0x290)](_0x417466,_0xb3a6a6(0x312))?_0x417466[_0xb3a6a6(0x312)]:_0x417466;}var Ve={'exports':{}};function on(_0x52d757){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x52d757+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var We={'exports':{}},cn=We[_0xe7476b(0x13c)],qt;function te(){var _0x5a4fbe=_0xe7476b;return qt||(qt=0x1,function(_0x3951df,_0x1c2718){(function(_0x575144,_0x259c6f){var _0x967ed3=_0x33f0;_0x3951df[_0x967ed3(0x13c)]=_0x259c6f();}(cn,function(){var _0x53869e=_0x53869e||function(_0x44b438,_0x215554){var _0xe40ca4=_0x33f0,_0x59809d;if(typeof window<'u'&&window[_0xe40ca4(0x3bb)]&&(_0x59809d=window[_0xe40ca4(0x3bb)]),typeof self<'u'&&self[_0xe40ca4(0x3bb)]&&(_0x59809d=self[_0xe40ca4(0x3bb)]),typeof globalThis<'u'&&globalThis[_0xe40ca4(0x3bb)]&&(_0x59809d=globalThis['crypto']),!_0x59809d&&typeof window<'u'&&window[_0xe40ca4(0x25a)]&&(_0x59809d=window[_0xe40ca4(0x25a)]),!_0x59809d&&typeof ft<'u'&&ft[_0xe40ca4(0x3bb)]&&(_0x59809d=ft[_0xe40ca4(0x3bb)]),!_0x59809d&&typeof on==_0xe40ca4(0x172))try{_0x59809d=require('crypto');}catch{}var _0x436b2c=function(){var _0x4ee622=_0xe40ca4;if(_0x59809d){if(typeof _0x59809d[_0x4ee622(0xf2)]==_0x4ee622(0x172))try{return _0x59809d[_0x4ee622(0xf2)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x59809d[_0x4ee622(0x194)]==_0x4ee622(0x172))try{return _0x59809d[_0x4ee622(0x194)](0x4)[_0x4ee622(0x3b0)]();}catch{}}throw new Error(_0x4ee622(0x10e));},_0x2c4062=Object[_0xe40ca4(0x2a6)]||(function(){function _0x544846(){}return function(_0x1e2f29){var _0x371895=_0x33f0,_0x58e887;return _0x544846[_0x371895(0x29c)]=_0x1e2f29,_0x58e887=new _0x544846(),_0x544846[_0x371895(0x29c)]=null,_0x58e887;};}()),_0x29ce1f={},_0x1ba9ea=_0x29ce1f[_0xe40ca4(0x16e)]={},_0x555175=_0x1ba9ea['Base']=(function(){return{'extend':function(_0xde8e43){var _0x36243c=_0x33f0,_0xe07be5=_0x2c4062(this);return _0xde8e43&&_0xe07be5[_0x36243c(0x1d6)](_0xde8e43),(!_0xe07be5['hasOwnProperty'](_0x36243c(0x1a7))||this['init']===_0xe07be5['init'])&&(_0xe07be5['init']=function(){var _0x21afc0=_0x36243c;_0xe07be5[_0x21afc0(0x2b8)][_0x21afc0(0x1a7)][_0x21afc0(0x30c)](this,arguments);}),_0xe07be5[_0x36243c(0x1a7)]['prototype']=_0xe07be5,_0xe07be5['$super']=this,_0xe07be5;},'create':function(){var _0x2d47da=_0x33f0,_0x595c77=this[_0x2d47da(0x124)]();return _0x595c77[_0x2d47da(0x1a7)][_0x2d47da(0x30c)](_0x595c77,arguments),_0x595c77;},'init':function(){},'mixIn':function(_0x59f335){var _0x2bba09=_0x33f0;for(var _0x114987 in _0x59f335)_0x59f335[_0x2bba09(0x24e)](_0x114987)&&(this[_0x114987]=_0x59f335[_0x114987]);_0x59f335[_0x2bba09(0x24e)](_0x2bba09(0x24d))&&(this[_0x2bba09(0x24d)]=_0x59f335[_0x2bba09(0x24d)]);},'clone':function(){var _0x4811f4=_0x33f0;return this[_0x4811f4(0x1a7)]['prototype'][_0x4811f4(0x124)](this);}};}()),_0x15282b=_0x1ba9ea['WordArray']=_0x555175[_0xe40ca4(0x124)]({'init':function(_0x47308c,_0x559328){var _0x495e1d=_0xe40ca4;_0x47308c=this[_0x495e1d(0x26e)]=_0x47308c||[],_0x559328!=_0x215554?this[_0x495e1d(0x1f5)]=_0x559328:this['sigBytes']=_0x47308c[_0x495e1d(0x295)]*0x4;},'toString':function(_0x6ea993){var _0x5d146c=_0xe40ca4;return(_0x6ea993||_0x44ec53)[_0x5d146c(0x2c7)](this);},'concat':function(_0x20d818){var _0x299fe1=_0xe40ca4,_0x2f8d58=this[_0x299fe1(0x26e)],_0xc4df59=_0x20d818['words'],_0x262b62=this['sigBytes'],_0x5cf861=_0x20d818[_0x299fe1(0x1f5)];if(this[_0x299fe1(0x34a)](),_0x262b62%0x4)for(var _0xd5d579=0x0;_0xd5d579<_0x5cf861;_0xd5d579++){var _0x8a2a12=_0xc4df59[_0xd5d579>>>0x2]>>>0x18-_0xd5d579%0x4*0x8&0xff;_0x2f8d58[_0x262b62+_0xd5d579>>>0x2]|=_0x8a2a12<<0x18-(_0x262b62+_0xd5d579)%0x4*0x8;}else{for(var _0x525145=0x0;_0x525145<_0x5cf861;_0x525145+=0x4)_0x2f8d58[_0x262b62+_0x525145>>>0x2]=_0xc4df59[_0x525145>>>0x2];}return this['sigBytes']+=_0x5cf861,this;},'clamp':function(){var _0x13323d=_0xe40ca4,_0x52b948=this[_0x13323d(0x26e)],_0x5568b2=this[_0x13323d(0x1f5)];_0x52b948[_0x5568b2>>>0x2]&=0xffffffff<<0x20-_0x5568b2%0x4*0x8,_0x52b948[_0x13323d(0x295)]=_0x44b438[_0x13323d(0x219)](_0x5568b2/0x4);},'clone':function(){var _0x40f391=_0xe40ca4,_0x27d37a=_0x555175[_0x40f391(0x3dc)][_0x40f391(0x290)](this);return _0x27d37a[_0x40f391(0x26e)]=this[_0x40f391(0x26e)][_0x40f391(0x253)](0x0),_0x27d37a;},'random':function(_0x311bbe){var _0x4ee38f=_0xe40ca4;for(var _0x579bd3=[],_0x253c0f=0x0;_0x253c0f<_0x311bbe;_0x253c0f+=0x4)_0x579bd3[_0x4ee38f(0x146)](_0x436b2c());return new _0x15282b[(_0x4ee38f(0x1a7))](_0x579bd3,_0x311bbe);}}),_0xfff041=_0x29ce1f['enc']={},_0x44ec53=_0xfff041[_0xe40ca4(0x1d8)]={'stringify':function(_0x480087){var _0x1023cb=_0xe40ca4;for(var _0x4767d1=_0x480087['words'],_0x3c2fe1=_0x480087['sigBytes'],_0x146dc0=[],_0x34b1fc=0x0;_0x34b1fc<_0x3c2fe1;_0x34b1fc++){var _0x4c9815=_0x4767d1[_0x34b1fc>>>0x2]>>>0x18-_0x34b1fc%0x4*0x8&0xff;_0x146dc0[_0x1023cb(0x146)]((_0x4c9815>>>0x4)[_0x1023cb(0x24d)](0x10)),_0x146dc0[_0x1023cb(0x146)]((_0x4c9815&0xf)[_0x1023cb(0x24d)](0x10));}return _0x146dc0['join']('');},'parse':function(_0x30d69f){var _0x476527=_0xe40ca4;for(var _0x3560ad=_0x30d69f[_0x476527(0x295)],_0x54b903=[],_0x384f05=0x0;_0x384f05<_0x3560ad;_0x384f05+=0x2)_0x54b903[_0x384f05>>>0x3]|=parseInt(_0x30d69f[_0x476527(0x2fb)](_0x384f05,0x2),0x10)<<0x18-_0x384f05%0x8*0x4;return new _0x15282b[(_0x476527(0x1a7))](_0x54b903,_0x3560ad/0x2);}},_0x51518d=_0xfff041[_0xe40ca4(0x360)]={'stringify':function(_0x120d2c){var _0x2870f6=_0xe40ca4;for(var _0x42ad06=_0x120d2c[_0x2870f6(0x26e)],_0xa9f4d0=_0x120d2c[_0x2870f6(0x1f5)],_0x36fefc=[],_0x256375=0x0;_0x256375<_0xa9f4d0;_0x256375++){var _0x5408e0=_0x42ad06[_0x256375>>>0x2]>>>0x18-_0x256375%0x4*0x8&0xff;_0x36fefc[_0x2870f6(0x146)](String[_0x2870f6(0x279)](_0x5408e0));}return _0x36fefc['join']('');},'parse':function(_0x2f6985){var _0x4a6de8=_0xe40ca4;for(var _0x5ed379=_0x2f6985[_0x4a6de8(0x295)],_0x20f327=[],_0x1b6291=0x0;_0x1b6291<_0x5ed379;_0x1b6291++)_0x20f327[_0x1b6291>>>0x2]|=(_0x2f6985[_0x4a6de8(0x1e6)](_0x1b6291)&0xff)<<0x18-_0x1b6291%0x4*0x8;return new _0x15282b['init'](_0x20f327,_0x5ed379);}},_0x1e4b71=_0xfff041['Utf8']={'stringify':function(_0x19ee33){var _0x5dd1b6=_0xe40ca4;try{return decodeURIComponent(escape(_0x51518d[_0x5dd1b6(0x2c7)](_0x19ee33)));}catch{throw new Error(_0x5dd1b6(0x356));}},'parse':function(_0x11990f){var _0x265d0d=_0xe40ca4;return _0x51518d[_0x265d0d(0x184)](unescape(encodeURIComponent(_0x11990f)));}},_0x597a13=_0x1ba9ea[_0xe40ca4(0x280)]=_0x555175[_0xe40ca4(0x124)]({'reset':function(){var _0x443650=_0xe40ca4;this[_0x443650(0x113)]=new _0x15282b[(_0x443650(0x1a7))](),this[_0x443650(0x1cb)]=0x0;},'_append':function(_0x3e5711){var _0x376593=_0xe40ca4;typeof _0x3e5711==_0x376593(0x180)&&(_0x3e5711=_0x1e4b71['parse'](_0x3e5711)),this['_data']['concat'](_0x3e5711),this[_0x376593(0x1cb)]+=_0x3e5711[_0x376593(0x1f5)];},'_process':function(_0x23a8db){var _0x2b57b2=_0xe40ca4,_0x2ba0e6,_0x4cd222=this[_0x2b57b2(0x113)],_0x31dfc0=_0x4cd222[_0x2b57b2(0x26e)],_0x2c6132=_0x4cd222[_0x2b57b2(0x1f5)],_0x1da534=this[_0x2b57b2(0x20d)],_0x4f2c36=_0x1da534*0x4,_0x56798a=_0x2c6132/_0x4f2c36;_0x23a8db?_0x56798a=_0x44b438['ceil'](_0x56798a):_0x56798a=_0x44b438[_0x2b57b2(0x108)]((_0x56798a|0x0)-this[_0x2b57b2(0x278)],0x0);var _0x30107e=_0x56798a*_0x1da534,_0x32399c=_0x44b438[_0x2b57b2(0x18e)](_0x30107e*0x4,_0x2c6132);if(_0x30107e){for(var _0x4d54b8=0x0;_0x4d54b8<_0x30107e;_0x4d54b8+=_0x1da534)this[_0x2b57b2(0x255)](_0x31dfc0,_0x4d54b8);_0x2ba0e6=_0x31dfc0['splice'](0x0,_0x30107e),_0x4cd222[_0x2b57b2(0x1f5)]-=_0x32399c;}return new _0x15282b[(_0x2b57b2(0x1a7))](_0x2ba0e6,_0x32399c);},'clone':function(){var _0x448c3f=_0xe40ca4,_0x358c00=_0x555175[_0x448c3f(0x3dc)]['call'](this);return _0x358c00[_0x448c3f(0x113)]=this[_0x448c3f(0x113)][_0x448c3f(0x3dc)](),_0x358c00;},'_minBufferSize':0x0});_0x1ba9ea[_0xe40ca4(0x1f7)]=_0x597a13[_0xe40ca4(0x124)]({'cfg':_0x555175[_0xe40ca4(0x124)](),'init':function(_0x48487a){var _0x3a28d1=_0xe40ca4;this['cfg']=this[_0x3a28d1(0x363)]['extend'](_0x48487a),this[_0x3a28d1(0x186)]();},'reset':function(){var _0x4a33b7=_0xe40ca4;_0x597a13[_0x4a33b7(0x186)][_0x4a33b7(0x290)](this),this[_0x4a33b7(0x195)]();},'update':function(_0x2a1f0d){var _0x38f163=_0xe40ca4;return this[_0x38f163(0x1c9)](_0x2a1f0d),this[_0x38f163(0x29b)](),this;},'finalize':function(_0x53f1fb){var _0x1ce14a=_0xe40ca4;_0x53f1fb&&this[_0x1ce14a(0x1c9)](_0x53f1fb);var _0x1b0e4c=this[_0x1ce14a(0x221)]();return _0x1b0e4c;},'blockSize':0x10,'_createHelper':function(_0x24a11a){return function(_0x29572e,_0x5da29f){var _0x5ba6c7=_0x33f0;return new _0x24a11a[(_0x5ba6c7(0x1a7))](_0x5da29f)[_0x5ba6c7(0x309)](_0x29572e);};},'_createHmacHelper':function(_0x2286d9){return function(_0x59b532,_0x46867f){var _0x3b42a4=_0x33f0;return new _0x4a14a5[(_0x3b42a4(0x209))][(_0x3b42a4(0x1a7))](_0x2286d9,_0x46867f)[_0x3b42a4(0x309)](_0x59b532);};}});var _0x4a14a5=_0x29ce1f['algo']={};return _0x29ce1f;}(Math);return _0x53869e;}));}(We)),We[_0x5a4fbe(0x13c)];}var Ge={'exports':{}},hn=Ge[_0xe7476b(0x13c)],zt;function Ri(){var _0x3290e5=_0xe7476b;return zt||(zt=0x1,function(_0x11fb1f,_0x3c9379){(function(_0xc4eb58,_0x3a8081){_0x11fb1f['exports']=_0x3a8081(te());}(hn,function(_0x2d7a21){var _0x49b705=_0x33f0;return(function(){var _0x530927=_0x33f0,_0x4e0790=_0x2d7a21,_0x15b81a=_0x4e0790[_0x530927(0x16e)],_0x5003bb=_0x15b81a['WordArray'],_0x5a6393=_0x4e0790['enc'];_0x5a6393[_0x530927(0x139)]={'stringify':function(_0x1221af){var _0x54874e=_0x530927,_0x25acdf=_0x1221af[_0x54874e(0x26e)],_0x3fd6f5=_0x1221af[_0x54874e(0x1f5)],_0x17d933=this[_0x54874e(0x1d1)];_0x1221af[_0x54874e(0x34a)]();for(var _0x522c96=[],_0xaf1e98=0x0;_0xaf1e98<_0x3fd6f5;_0xaf1e98+=0x3)for(var _0x577f17=_0x25acdf[_0xaf1e98>>>0x2]>>>0x18-_0xaf1e98%0x4*0x8&0xff,_0x3c962e=_0x25acdf[_0xaf1e98+0x1>>>0x2]>>>0x18-(_0xaf1e98+0x1)%0x4*0x8&0xff,_0x470c80=_0x25acdf[_0xaf1e98+0x2>>>0x2]>>>0x18-(_0xaf1e98+0x2)%0x4*0x8&0xff,_0x3e42c3=_0x577f17<<0x10|_0x3c962e<<0x8|_0x470c80,_0x12de3f=0x0;_0x12de3f<0x4&&_0xaf1e98+_0x12de3f*0.75<_0x3fd6f5;_0x12de3f++)_0x522c96[_0x54874e(0x146)](_0x17d933[_0x54874e(0x24a)](_0x3e42c3>>>0x6*(0x3-_0x12de3f)&0x3f));var _0x556f57=_0x17d933[_0x54874e(0x24a)](0x40);if(_0x556f57){for(;_0x522c96['length']%0x4;)_0x522c96['push'](_0x556f57);}return _0x522c96['join']('');},'parse':function(_0x4c88a0){var _0x53df3e=_0x530927,_0x8a1cfc=_0x4c88a0['length'],_0x64fc2=this[_0x53df3e(0x1d1)],_0x230797=this['_reverseMap'];if(!_0x230797){_0x230797=this['_reverseMap']=[];for(var _0x1759c3=0x0;_0x1759c3<_0x64fc2['length'];_0x1759c3++)_0x230797[_0x64fc2[_0x53df3e(0x1e6)](_0x1759c3)]=_0x1759c3;}var _0x4ab496=_0x64fc2['charAt'](0x40);if(_0x4ab496){var _0x1bce1e=_0x4c88a0['indexOf'](_0x4ab496);_0x1bce1e!==-0x1&&(_0x8a1cfc=_0x1bce1e);}return _0x2f2983(_0x4c88a0,_0x8a1cfc,_0x230797);},'_map':_0x530927(0x2b6)};function _0x2f2983(_0x20e2d7,_0x3d729b,_0x6b0856){var _0x459cfe=_0x530927;for(var _0x49e891=[],_0x98cee1=0x0,_0x1ed37e=0x0;_0x1ed37e<_0x3d729b;_0x1ed37e++)if(_0x1ed37e%0x4){var _0x36e590=_0x6b0856[_0x20e2d7[_0x459cfe(0x1e6)](_0x1ed37e-0x1)]<<_0x1ed37e%0x4*0x2,_0x1ae3f0=_0x6b0856[_0x20e2d7[_0x459cfe(0x1e6)](_0x1ed37e)]>>>0x6-_0x1ed37e%0x4*0x2,_0x521013=_0x36e590|_0x1ae3f0;_0x49e891[_0x98cee1>>>0x2]|=_0x521013<<0x18-_0x98cee1%0x4*0x8,_0x98cee1++;}return _0x5003bb[_0x459cfe(0x2a6)](_0x49e891,_0x98cee1);}}()),_0x2d7a21[_0x49b705(0x1fc)][_0x49b705(0x139)];}));}(Ge)),Ge[_0x3290e5(0x13c)];}var Ye={'exports':{}},_n=Ye['exports'],Jt;function ln(){var _0x263f60=_0xe7476b;return Jt||(Jt=0x1,function(_0x542bae,_0x37955e){(function(_0x35e908,_0x4b7025){var _0x311e31=_0x33f0;_0x542bae[_0x311e31(0x13c)]=_0x4b7025(te());}(_n,function(_0x4d8e62){var _0x421fe5=_0x33f0;return function(_0xbf8bb5){var _0x408999=_0x33f0,_0xbd20a7=_0x4d8e62,_0x15320c=_0xbd20a7[_0x408999(0x16e)],_0x326059=_0x15320c[_0x408999(0x1ca)],_0x4fe9e9=_0x15320c[_0x408999(0x1f7)],_0x3e5d8a=_0xbd20a7['algo'],_0x20d07a=[];(function(){var _0x1f9a23=_0x408999;for(var _0x36bb8c=0x0;_0x36bb8c<0x40;_0x36bb8c++)_0x20d07a[_0x36bb8c]=_0xbf8bb5['abs'](_0xbf8bb5[_0x1f9a23(0x204)](_0x36bb8c+0x1))*0x100000000|0x0;}());var _0x46a78c=_0x3e5d8a[_0x408999(0x147)]=_0x4fe9e9['extend']({'_doReset':function(){var _0xfc78e7=_0x408999;this[_0xfc78e7(0x34b)]=new _0x326059[(_0xfc78e7(0x1a7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x56d12d,_0x393813){var _0x178977=_0x408999;for(var _0x28c89b=0x0;_0x28c89b<0x10;_0x28c89b++){var _0x4ec7e1=_0x393813+_0x28c89b,_0x14cf98=_0x56d12d[_0x4ec7e1];_0x56d12d[_0x4ec7e1]=(_0x14cf98<<0x8|_0x14cf98>>>0x18)&0xff00ff|(_0x14cf98<<0x18|_0x14cf98>>>0x8)&0xff00ff00;}var _0x53c404=this[_0x178977(0x34b)][_0x178977(0x26e)],_0x141863=_0x56d12d[_0x393813+0x0],_0x373113=_0x56d12d[_0x393813+0x1],_0x43fd3a=_0x56d12d[_0x393813+0x2],_0xba829c=_0x56d12d[_0x393813+0x3],_0x270ba6=_0x56d12d[_0x393813+0x4],_0x236283=_0x56d12d[_0x393813+0x5],_0x5437bc=_0x56d12d[_0x393813+0x6],_0x204b1e=_0x56d12d[_0x393813+0x7],_0x109d15=_0x56d12d[_0x393813+0x8],_0x429a9d=_0x56d12d[_0x393813+0x9],_0x49d452=_0x56d12d[_0x393813+0xa],_0x263355=_0x56d12d[_0x393813+0xb],_0x150730=_0x56d12d[_0x393813+0xc],_0x1bc4ae=_0x56d12d[_0x393813+0xd],_0x20575d=_0x56d12d[_0x393813+0xe],_0x438f73=_0x56d12d[_0x393813+0xf],_0x4db581=_0x53c404[0x0],_0x279437=_0x53c404[0x1],_0x3d6fc9=_0x53c404[0x2],_0x27fb5c=_0x53c404[0x3];_0x4db581=_0x32a635(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x141863,0x7,_0x20d07a[0x0]),_0x27fb5c=_0x32a635(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x373113,0xc,_0x20d07a[0x1]),_0x3d6fc9=_0x32a635(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x43fd3a,0x11,_0x20d07a[0x2]),_0x279437=_0x32a635(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0xba829c,0x16,_0x20d07a[0x3]),_0x4db581=_0x32a635(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x270ba6,0x7,_0x20d07a[0x4]),_0x27fb5c=_0x32a635(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x236283,0xc,_0x20d07a[0x5]),_0x3d6fc9=_0x32a635(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x5437bc,0x11,_0x20d07a[0x6]),_0x279437=_0x32a635(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x204b1e,0x16,_0x20d07a[0x7]),_0x4db581=_0x32a635(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x109d15,0x7,_0x20d07a[0x8]),_0x27fb5c=_0x32a635(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x429a9d,0xc,_0x20d07a[0x9]),_0x3d6fc9=_0x32a635(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x49d452,0x11,_0x20d07a[0xa]),_0x279437=_0x32a635(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x263355,0x16,_0x20d07a[0xb]),_0x4db581=_0x32a635(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x150730,0x7,_0x20d07a[0xc]),_0x27fb5c=_0x32a635(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x1bc4ae,0xc,_0x20d07a[0xd]),_0x3d6fc9=_0x32a635(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x20575d,0x11,_0x20d07a[0xe]),_0x279437=_0x32a635(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x438f73,0x16,_0x20d07a[0xf]),_0x4db581=_0x557399(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x373113,0x5,_0x20d07a[0x10]),_0x27fb5c=_0x557399(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x5437bc,0x9,_0x20d07a[0x11]),_0x3d6fc9=_0x557399(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x263355,0xe,_0x20d07a[0x12]),_0x279437=_0x557399(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x141863,0x14,_0x20d07a[0x13]),_0x4db581=_0x557399(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x236283,0x5,_0x20d07a[0x14]),_0x27fb5c=_0x557399(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x49d452,0x9,_0x20d07a[0x15]),_0x3d6fc9=_0x557399(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x438f73,0xe,_0x20d07a[0x16]),_0x279437=_0x557399(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x270ba6,0x14,_0x20d07a[0x17]),_0x4db581=_0x557399(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x429a9d,0x5,_0x20d07a[0x18]),_0x27fb5c=_0x557399(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x20575d,0x9,_0x20d07a[0x19]),_0x3d6fc9=_0x557399(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0xba829c,0xe,_0x20d07a[0x1a]),_0x279437=_0x557399(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x109d15,0x14,_0x20d07a[0x1b]),_0x4db581=_0x557399(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x1bc4ae,0x5,_0x20d07a[0x1c]),_0x27fb5c=_0x557399(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x43fd3a,0x9,_0x20d07a[0x1d]),_0x3d6fc9=_0x557399(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x204b1e,0xe,_0x20d07a[0x1e]),_0x279437=_0x557399(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x150730,0x14,_0x20d07a[0x1f]),_0x4db581=_0x33ec54(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x236283,0x4,_0x20d07a[0x20]),_0x27fb5c=_0x33ec54(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x109d15,0xb,_0x20d07a[0x21]),_0x3d6fc9=_0x33ec54(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x263355,0x10,_0x20d07a[0x22]),_0x279437=_0x33ec54(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x20575d,0x17,_0x20d07a[0x23]),_0x4db581=_0x33ec54(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x373113,0x4,_0x20d07a[0x24]),_0x27fb5c=_0x33ec54(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x270ba6,0xb,_0x20d07a[0x25]),_0x3d6fc9=_0x33ec54(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x204b1e,0x10,_0x20d07a[0x26]),_0x279437=_0x33ec54(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x49d452,0x17,_0x20d07a[0x27]),_0x4db581=_0x33ec54(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x1bc4ae,0x4,_0x20d07a[0x28]),_0x27fb5c=_0x33ec54(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x141863,0xb,_0x20d07a[0x29]),_0x3d6fc9=_0x33ec54(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0xba829c,0x10,_0x20d07a[0x2a]),_0x279437=_0x33ec54(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x5437bc,0x17,_0x20d07a[0x2b]),_0x4db581=_0x33ec54(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x429a9d,0x4,_0x20d07a[0x2c]),_0x27fb5c=_0x33ec54(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x150730,0xb,_0x20d07a[0x2d]),_0x3d6fc9=_0x33ec54(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x438f73,0x10,_0x20d07a[0x2e]),_0x279437=_0x33ec54(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x43fd3a,0x17,_0x20d07a[0x2f]),_0x4db581=_0x19438a(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x141863,0x6,_0x20d07a[0x30]),_0x27fb5c=_0x19438a(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x204b1e,0xa,_0x20d07a[0x31]),_0x3d6fc9=_0x19438a(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x20575d,0xf,_0x20d07a[0x32]),_0x279437=_0x19438a(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x236283,0x15,_0x20d07a[0x33]),_0x4db581=_0x19438a(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x150730,0x6,_0x20d07a[0x34]),_0x27fb5c=_0x19438a(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0xba829c,0xa,_0x20d07a[0x35]),_0x3d6fc9=_0x19438a(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x49d452,0xf,_0x20d07a[0x36]),_0x279437=_0x19438a(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x373113,0x15,_0x20d07a[0x37]),_0x4db581=_0x19438a(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x109d15,0x6,_0x20d07a[0x38]),_0x27fb5c=_0x19438a(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x438f73,0xa,_0x20d07a[0x39]),_0x3d6fc9=_0x19438a(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x5437bc,0xf,_0x20d07a[0x3a]),_0x279437=_0x19438a(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x1bc4ae,0x15,_0x20d07a[0x3b]),_0x4db581=_0x19438a(_0x4db581,_0x279437,_0x3d6fc9,_0x27fb5c,_0x270ba6,0x6,_0x20d07a[0x3c]),_0x27fb5c=_0x19438a(_0x27fb5c,_0x4db581,_0x279437,_0x3d6fc9,_0x263355,0xa,_0x20d07a[0x3d]),_0x3d6fc9=_0x19438a(_0x3d6fc9,_0x27fb5c,_0x4db581,_0x279437,_0x43fd3a,0xf,_0x20d07a[0x3e]),_0x279437=_0x19438a(_0x279437,_0x3d6fc9,_0x27fb5c,_0x4db581,_0x429a9d,0x15,_0x20d07a[0x3f]),_0x53c404[0x0]=_0x53c404[0x0]+_0x4db581|0x0,_0x53c404[0x1]=_0x53c404[0x1]+_0x279437|0x0,_0x53c404[0x2]=_0x53c404[0x2]+_0x3d6fc9|0x0,_0x53c404[0x3]=_0x53c404[0x3]+_0x27fb5c|0x0;},'_doFinalize':function(){var _0x5a922a=_0x408999,_0x491219=this[_0x5a922a(0x113)],_0x3fbb14=_0x491219[_0x5a922a(0x26e)],_0xbc5ccc=this['_nDataBytes']*0x8,_0x315a77=_0x491219[_0x5a922a(0x1f5)]*0x8;_0x3fbb14[_0x315a77>>>0x5]|=0x80<<0x18-_0x315a77%0x20;var _0x5e0c1a=_0xbf8bb5[_0x5a922a(0x246)](_0xbc5ccc/0x100000000),_0x5bf08b=_0xbc5ccc;_0x3fbb14[(_0x315a77+0x40>>>0x9<<0x4)+0xf]=(_0x5e0c1a<<0x8|_0x5e0c1a>>>0x18)&0xff00ff|(_0x5e0c1a<<0x18|_0x5e0c1a>>>0x8)&0xff00ff00,_0x3fbb14[(_0x315a77+0x40>>>0x9<<0x4)+0xe]=(_0x5bf08b<<0x8|_0x5bf08b>>>0x18)&0xff00ff|(_0x5bf08b<<0x18|_0x5bf08b>>>0x8)&0xff00ff00,_0x491219[_0x5a922a(0x1f5)]=(_0x3fbb14[_0x5a922a(0x295)]+0x1)*0x4,this['_process']();for(var _0x2247a4=this['_hash'],_0x13da8e=_0x2247a4[_0x5a922a(0x26e)],_0x56bea2=0x0;_0x56bea2<0x4;_0x56bea2++){var _0x4f3b00=_0x13da8e[_0x56bea2];_0x13da8e[_0x56bea2]=(_0x4f3b00<<0x8|_0x4f3b00>>>0x18)&0xff00ff|(_0x4f3b00<<0x18|_0x4f3b00>>>0x8)&0xff00ff00;}return _0x2247a4;},'clone':function(){var _0xaab38c=_0x408999,_0x41b887=_0x4fe9e9['clone']['call'](this);return _0x41b887[_0xaab38c(0x34b)]=this[_0xaab38c(0x34b)]['clone'](),_0x41b887;}});function _0x32a635(_0x56eae2,_0x41e32a,_0x1298eb,_0x5a3a8a,_0x409153,_0x2d949a,_0x456f88){var _0x139967=_0x56eae2+(_0x41e32a&_0x1298eb|~_0x41e32a&_0x5a3a8a)+_0x409153+_0x456f88;return(_0x139967<<_0x2d949a|_0x139967>>>0x20-_0x2d949a)+_0x41e32a;}function _0x557399(_0x40c6b1,_0x13caf0,_0x426b93,_0x2259d1,_0x168a8a,_0x1dba2c,_0x5d3b44){var _0x5ea94e=_0x40c6b1+(_0x13caf0&_0x2259d1|_0x426b93&~_0x2259d1)+_0x168a8a+_0x5d3b44;return(_0x5ea94e<<_0x1dba2c|_0x5ea94e>>>0x20-_0x1dba2c)+_0x13caf0;}function _0x33ec54(_0x493022,_0x4f3ad9,_0x22fb9e,_0x4bcf8f,_0xc19188,_0x1b41c7,_0x4b4fd8){var _0x33b874=_0x493022+(_0x4f3ad9^_0x22fb9e^_0x4bcf8f)+_0xc19188+_0x4b4fd8;return(_0x33b874<<_0x1b41c7|_0x33b874>>>0x20-_0x1b41c7)+_0x4f3ad9;}function _0x19438a(_0x302a3e,_0x1a9eba,_0xa58a64,_0x19840b,_0x2b1508,_0x5a427d,_0x28a194){var _0x9c1141=_0x302a3e+(_0xa58a64^(_0x1a9eba|~_0x19840b))+_0x2b1508+_0x28a194;return(_0x9c1141<<_0x5a427d|_0x9c1141>>>0x20-_0x5a427d)+_0x1a9eba;}_0xbd20a7[_0x408999(0x147)]=_0x4fe9e9['_createHelper'](_0x46a78c),_0xbd20a7[_0x408999(0x32a)]=_0x4fe9e9[_0x408999(0x3ce)](_0x46a78c);}(Math),_0x4d8e62[_0x421fe5(0x147)];}));}(Ye)),Ye[_0x263f60(0x13c)];}var Ke={'exports':{}},qe={'exports':{}},un=qe['exports'],Xt;function dn(){return Xt||(Xt=0x1,function(_0x489f8b,_0x20842b){(function(_0x30f2ee,_0x15c4bf){_0x489f8b['exports']=_0x15c4bf(te());}(un,function(_0x44055e){var _0x580926=_0x33f0;return(function(){var _0x4c80ee=_0x33f0,_0x5d5769=_0x44055e,_0x15a3a0=_0x5d5769['lib'],_0x201b6f=_0x15a3a0[_0x4c80ee(0x1ca)],_0x38ca2b=_0x15a3a0[_0x4c80ee(0x1f7)],_0x2a71cc=_0x5d5769['algo'],_0x4452b8=[],_0x176e5e=_0x2a71cc[_0x4c80ee(0x158)]=_0x38ca2b[_0x4c80ee(0x124)]({'_doReset':function(){var _0x118ce6=_0x4c80ee;this['_hash']=new _0x201b6f[(_0x118ce6(0x1a7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x117eb0,_0x523be2){var _0x7a1826=_0x4c80ee;for(var _0x29a7cd=this[_0x7a1826(0x34b)][_0x7a1826(0x26e)],_0x1cfea3=_0x29a7cd[0x0],_0x44ee5f=_0x29a7cd[0x1],_0x3da47f=_0x29a7cd[0x2],_0x47a78c=_0x29a7cd[0x3],_0x3afc3a=_0x29a7cd[0x4],_0x3f2005=0x0;_0x3f2005<0x50;_0x3f2005++){if(_0x3f2005<0x10)_0x4452b8[_0x3f2005]=_0x117eb0[_0x523be2+_0x3f2005]|0x0;else{var _0x172057=_0x4452b8[_0x3f2005-0x3]^_0x4452b8[_0x3f2005-0x8]^_0x4452b8[_0x3f2005-0xe]^_0x4452b8[_0x3f2005-0x10];_0x4452b8[_0x3f2005]=_0x172057<<0x1|_0x172057>>>0x1f;}var _0xd2bd6a=(_0x1cfea3<<0x5|_0x1cfea3>>>0x1b)+_0x3afc3a+_0x4452b8[_0x3f2005];_0x3f2005<0x14?_0xd2bd6a+=(_0x44ee5f&_0x3da47f|~_0x44ee5f&_0x47a78c)+0x5a827999:_0x3f2005<0x28?_0xd2bd6a+=(_0x44ee5f^_0x3da47f^_0x47a78c)+0x6ed9eba1:_0x3f2005<0x3c?_0xd2bd6a+=(_0x44ee5f&_0x3da47f|_0x44ee5f&_0x47a78c|_0x3da47f&_0x47a78c)-0x70e44324:_0xd2bd6a+=(_0x44ee5f^_0x3da47f^_0x47a78c)-0x359d3e2a,_0x3afc3a=_0x47a78c,_0x47a78c=_0x3da47f,_0x3da47f=_0x44ee5f<<0x1e|_0x44ee5f>>>0x2,_0x44ee5f=_0x1cfea3,_0x1cfea3=_0xd2bd6a;}_0x29a7cd[0x0]=_0x29a7cd[0x0]+_0x1cfea3|0x0,_0x29a7cd[0x1]=_0x29a7cd[0x1]+_0x44ee5f|0x0,_0x29a7cd[0x2]=_0x29a7cd[0x2]+_0x3da47f|0x0,_0x29a7cd[0x3]=_0x29a7cd[0x3]+_0x47a78c|0x0,_0x29a7cd[0x4]=_0x29a7cd[0x4]+_0x3afc3a|0x0;},'_doFinalize':function(){var _0x2cc2d7=_0x4c80ee,_0x77db1=this[_0x2cc2d7(0x113)],_0x18d14a=_0x77db1[_0x2cc2d7(0x26e)],_0x3d7eec=this['_nDataBytes']*0x8,_0xd4d69a=_0x77db1[_0x2cc2d7(0x1f5)]*0x8;return _0x18d14a[_0xd4d69a>>>0x5]|=0x80<<0x18-_0xd4d69a%0x20,_0x18d14a[(_0xd4d69a+0x40>>>0x9<<0x4)+0xe]=Math[_0x2cc2d7(0x246)](_0x3d7eec/0x100000000),_0x18d14a[(_0xd4d69a+0x40>>>0x9<<0x4)+0xf]=_0x3d7eec,_0x77db1[_0x2cc2d7(0x1f5)]=_0x18d14a[_0x2cc2d7(0x295)]*0x4,this[_0x2cc2d7(0x29b)](),this[_0x2cc2d7(0x34b)];},'clone':function(){var _0x4dbcd2=_0x4c80ee,_0x7481aa=_0x38ca2b['clone'][_0x4dbcd2(0x290)](this);return _0x7481aa[_0x4dbcd2(0x34b)]=this['_hash'][_0x4dbcd2(0x3dc)](),_0x7481aa;}});_0x5d5769['SHA1']=_0x38ca2b[_0x4c80ee(0x1a3)](_0x176e5e),_0x5d5769[_0x4c80ee(0x16f)]=_0x38ca2b[_0x4c80ee(0x3ce)](_0x176e5e);}()),_0x44055e[_0x580926(0x158)];}));}(qe)),qe['exports'];}var ze={'exports':{}},fn=ze[_0xe7476b(0x13c)],Zt;function _0x1da4(){var _0x142da7=['_clearScheduledTask','default','?url=','actions','_createInitialStateImpl','_localCacheService','BlockCipherMode','LIVESHARE_FETCH_OPERATIONS','unsubscribe','_startTelemetryCollaborationNewChangeset','INGEST','[CollaborationEntity]','INVITE_CODE_ALREADY_BOUND','resend','UserProfileImg','awaitingChangeset','capture','dispose','splice','SUBMIT_CHANGESET_TIMEOUT','_acknowledgedAwaitingChangeset','LEAVE','roles','[OfflineState]:\x20received\x20changeset.','_transformUndoredo','HmacMD5','ENSURE_SNAPSHOT_EXECUTION','algo','getMember','_sendHeartbeat','_onLocalMutation','_roomMembers','_revisionService','_getUploadFileURL','delete','UnitEmbedded','_entityInit$','getCurrentSelections','originalMeta','_transformSelections','collabSubmitChangesetUrl','reject','MOBILE_VERIFY_CODE_MISMATCH','unit-cache-','_throwTelemetryCollaborationNewChangeset','INVALID_INVITE_CODE','error','_socket$','readyForCollab','hasher','toggleOnline','_roomCreated$','method','src','keySize','getCurrentRevOfUnit','_snapshotService','clamp','_hash','_singleActiveUnitService','_collaborationUIEventService','csShouldRetryEvent','_eventService','_onMessage','BlockCipher','Pkcs7','close','_compressMutationService','set','Malformed\x20UTF-8\x20data','_createHandler','_iKey','getUnitStatus$','_registerDependencies','_commandService','_resendWithTimeout','target','UNISCRIPT_RUN','CONFLICT','Latin1','/object','_updateStatus','cfg','_incrementRevisionNumber','BASE64','type','_initUnitPermissionChange','updateMember','pad','getImageSourceCache','append','2289768pBHjMt','JOINING','getCurrentUser','eventID','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','SOCKET_FAILED','onRemoteAck','EvpKDF','HEARTBEAT','_onConnectionOpen','enableAuthServer','ciphertext','_nRounds','_toggleOffline','_imageSourceCache','/collaborator','onTransformRemoteChangesetByStateCache','getDeserializedSheetBlock','duration','decryptBlock','close$','getAllMembers','_awaitingChangeset','localeService','Univer','emitEvent','_scheduleCompleteTimestamp','ERROR_EXCEED_SIZE','UNDEFINED','OPTIONAL','ONLINE','random','toggleOffline','subUnitId','_socketService','transformMutationsWithChangeset','telemetry\x20info\x20is\x20not\x20initialized','[CollaborationState]:\x20apply\x20error!','authzUrl','socket\x20close','JOIN_ROOM_NOT_EXISTS','INTERNAL_ERROR','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','then','[OfflineState]:\x20received\x20acknowledgement.','APPLY_DUPLICATED','onMissedChangesetFetched','RECV','_clearCollaborationTimeoutTimer','_updateLocalCache','unpad','batchAllowed','_clearUndo','onTransformSelections','_joinRoom','catch','_applyRemoteChangeset','disposeWithMe','_startCollaboration','/rev/','_resendTimeout','code','_iv','concat','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_transformRemoteChangesetByStateCache','saveImage','[CollaborationSessionService]:\x20socket\x20error','readInt32LE','_clearHeartbeatTimer','_retryConnectingTimer','USERS_ENTER','status$','UPDATE_PERMISSION_OBJ','csAckEvent','FAIL','location','_memberService','OFFLINE','crypto','downloadEndpointUrl','_timeoutTimer','_getDownloadEndpointURL','_hasher','_resendTimer','update','_event$','session.room-full','pauseCollaboration','putCollaborators','_getCurrentRevision','EMAIL_VERIFY_CODE_MISMATCH','send','list','_sender','_clearRetryConnectingTimer','buffer','__creator','_createHmacHelper','_telemetryService','collaboration-client.config','_getRedoStack','USERS_LEAVE','state$','_onRemoteACK','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','POST','processBlock','UnitSnapshot','_handlerCallback','m2Prime','put','clone','SNAPSHOT_INVALID_SNAPSHOT','_state','getValue','removeMember','requestParams','onTransformRemoteChangesetByIMECache','onLocalMutation','_stopTelemetryCollaborationNewChangeset','/universer-api/authz','_oKey','updatePermissionPoint','[SyncedState]:\x20received\x20acknowledgement.','getRandomValues','_sendHeartbeatTimer','revision','_unlockTransition','_checkMissing','_socket','loadSheet','_emitMembers','_onRemoteRejected','_ENC_XFORM_MODE','byteLength','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getInterceptPoints','OpenSSL','includes','_entities','add','name','_networkConditionService','SerializableCipher','fetch_missing','LOCAL_CACHE_INTERVAL','max','getUnitId','isPermissionRej','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','FileId','updateOfflineData','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','MOBILE_HAS_BEEN_BOUND','YUUMI_CONNECTOR_URL_NOT_FOUND','_collabSessionService','UNRECOGNIZED','_data','createCollaborator','c1Prime','_sessionStatus$','_unitInfo$','5742472IkHcCm','deleteCollaborator','YUUMI_UNABLE_LOAD_URL','PENDING','_instanceService','retryConnectingInterval','[UniverCollaborationClientPlugin]','onRemoteChangeset','INVITE_CODE_REQUIRED','JOIN_ROOM_FULL','size','_getAPIPrefix','extend','_undoRedoService','_localeService','title','_onRemoteRetry','_shouldReportTelemetry','every','onTransformIME','next','_config','repeat','IDLE','_commentUpdate$','collaboration-client.local-cache-service','LICENSE_IMPORT_SIZE_EXCEEDED','JOIN','getTypeOfUnitDisposed$','_retryCount','reconnect','_onConnectionFailed','interceptor','Base64','1551095fyfNil','loadOfflineData','exports','_socketReady','localCacheService','onMissingChangesets','_commentService','_transformStack','objects','_getSendChangesetTimeout','PERSON','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','push','MD5','_decreaseWaiting','OTHER_CLIENT_EDITING','_createSocket','INVALID_ARGUMENT','StreamCipher','_queuedRemoteChangesets','reqId','getUnit','{fileID}','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','YUUMI_NO_CUBOID_FOR_QUESTION','_socketMessageSubscription','ivSize','_onOffline','_unitID','createDecryptor','SHA1','updatePermissionObjEvent','_lockTransition','_parse','sessionStatus$','waitForRoom$','CHANGESET_ACK','_schedule','_transformIMECache','unitInfo$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','createInstance','initWorkbookPermissionChange','LICENSE_MAX_UNITS_EXCEEDED','HELLO','getUnitType','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Base','addImageSourceCache','selections','_userManagerService','origin','lib','HmacSHA1','_members$','INVITE_CODE_HAS_BEEN_UES','function','CHANGESET_SHOULD_RETRY','get','_replayCachedMutations','iterations','allowed','getConfig','/universer-api/uniscript','getActiveSheet','encode','_getAPIPrefixPath','18dMkcvD','_substituteUndoStack','LIVESHARE_REQUEST_HOST','string','/role','data','CONNECTOR_DATA_TOO_LARGE','parse','rev','reset','confirm','_fetchMissChangesets','LIVESHARE_OPERATION','YUUMI_ALL_TABLES_IS_INVALID','onload','_isPermissionRej','socket\x20open.','min','liveShareNewHost','/universer-api/stream/file/upload','_clearLocalCache','_listenToNetworkCondition','MUTATION','randomBytes','_doReset','COMPRESS_MUTATION_APPLY','getWorkbookSelections','_httpService','salt','pluginName','univer-pro.collaboration-client.single-active-unit-service','COMPRESS_MUTATION_SEND','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_onUserLeave','RETRY_CONNECTING_MAX_COUNT','Encryptor','_telemetryInfo','_HTTPService','_createHelper','session','has','YUUMI_URL_COL_OUT_OF_RANGE','init','LIVESHARE_TERMINATE','CBC','collaMsg','now','editing\x20status\x20changed\x20to','objectID','NOT_FOUND','PERMISSION_REJ','onlyLocal','HttpExport','onSendChangeset','message$','SUCCUSS','&assign=','[OfflineState]:\x20received\x20rejection.','_onRecvEvent','\x0aAfter:\x20','x-univer-host','appendMutation','incrementRevOfUnit','PY_RUNTIME_SCRIPT_ERROR','transformChangesets','clear','image/gif','withCredentials','key','_collaborationTimeoutTimer','SNAPSHOT_HAS_BEEN_REMOVED','transformSelections','_executeRemoteChangeset','isArray','&to=','NEW_CHANGESETS','_append','WordArray','_nDataBytes','startTime','153MHmxdr','defineProperty','registerHTTPInterceptor','FETCH_MISSING','_map','Utf8','_handler','COMMENT_UPDATE','fetchThroughInterceptors','mixIn','onSyncEditingCollabCursor','Hex','findIndex','routeKey','onTransformState','_sessions','YUUMI_SUBSCRIPTION_NOT_FOUND','subject','APPLY_PERMISSION_DENIED','_logService','mode','params','event$','disableLocalCache','_prevBlock','charCodeAt','JOIN_ROOM_FAILED','[FetchMissState]','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','createEncryptor','getSnapshotAPIPath','getTypeOfUnitAdded$','range','__esModule','/unit/','ALREADY_EXISTS','_collaborationPaused','[CollaborationSession]','socketService','[CollaborationUndoRedoService]','sigBytes','FETCH_MISS','Hasher','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','1942122qrWKeS','workbook','AES','enc','symbol','COMPLETION_FINISHED','HttpImport','from','ERROR_IMAGE','YUUMI_RATE_OVER_LIMIT','_sheetTransformSelectionsService','sin','_updateState','WECHAT_HAS_BEEN_BOUND','sessionStatus','\x20in\x20_schedule.','HMAC','__Key__','complete','/object/','blockSize','_syncEditingCollabCursor','entityInit$','HEARTBEAT_TIMEOUT','Decryptor','_candidateSocket','session.room-permission-denied','hostname','_transformRemoteChangesetByIMECache','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','error$','shouldCloseConn','ceil','forEach','onStarting','_undoStacks','getImage','_onConflict','SYNCED','override','_doFinalize','_snapshotServerService','padding','memberID','collaboration_new_changeset','LICENSE_EXPORT_SIZE_EXCEEDED','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','DEFAULT_FILE_NAME','_tryReconnect','closeSession','_onRemoteChangeset','unknown','uploadFileServerUrl','_key','_collaborationSessionService','YUUMI_AI_RUN_FAILED','collaborators','connection\x20error','HEARTBEAT_INTERVAL','UPDATE_CURSOR','LOGIN_FAILED','saveChangeset','CHANGESET_REJ','submit\x20changeset\x20error!','SOCKET_FAILED_RETRY','SHOULD_CLOSE_CONN','transformUndoRedo','_xformMode','fetching\x20missing\x20changesets\x20from\x20','mutations','_doCryptBlock','objectType','[CollaborationSessionService]','fetchMissingChangesets','encrypt','setWaitCount','open$','floor','awaiting','onCommandExecuted','executeCommand','charAt','OTHER_CLIENTS_EDITING','image/bmp','toString','hasOwnProperty','_onUserJoin','UNKNOWN_CMD','_submitChangeset','commentUpdate$','slice','UNIVER_COLLABORATION_CLIENT_PLUGIN','_doProcessBlock','Failed\x20to\x20update\x20permission\x20point','_univerInstanceService','listCollaborators','CHANGESET_REVISION_CONFILICT','msCrypto','LICENSE_DISTRO_REJECTED','requireSession','formatter','encodeURIComponent','UNIVER_DOC','JOIN_ROOM_PERMISSION_DENIED','headers','_pendingMutations','_initRequestHeader','ws://127.0.0.1:8000/universer-api/comb/connect','dispose$','kdf','map','_initCloseConn','getSheetBlock','filter','encryptBlock','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','fetchMiss','words','_members','_changesetReqId','?size=','_getUndoStack','_change$','awaiting_with_pending','APPLY_REVISION_CONFILICT','synced','_transformService','_minBufferSize','fromCharCode','/universer-api/oidc/authpage','failed\x20to\x20apply\x20missed\x20changesets!','_changesetSessionId','_state$','1755818ypvpTy','snapshot','BufferedBlockAlgorithm','permissionRejEvent','EMAIL_HAS_BEEN_BOUND','unitId','_injector','format','_getSignURL','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_sendingTimer','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_createInitialState','GLOBAL_ROOMS_CNT_EXCEEDS','_replaceFileID','PSEUDO_FETCH_MISSING_RESULT','UNIVER_UNKNOWN','_status$','call','unitId\x20is\x20not\x20found','_waitCount','LIVESHARE_NEW_HOST','YUUMI_ASYNCIO_CANCELLED','length','getCollabEntity$','offline','/resources','getMemberID','session.join-failed','_process','prototype','updateSnapshot','APPLY_NON_SEQUENTIAL_REVISION','_configService','NoPadding','image/jpg','TOO_MANY_REQUESTS','_type','_permissionService','compute','create','members','cmd','unitID','/universer-api/snapshot','result','liveShareOperation','[DataLoaderService]','_disableEditing','getOwnPropertyDescriptor','onRemoteRej','_toggleOnline','changesets','Cipher','subscribe','body','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','Undefined','$super','getCollabEntity','/allowed','loginUrlKey','loadUnitOfRevision','getTime','asObservable','_removeRoom','CLOSE_ROOM','setShowComponents','UNIVER_SLIDE','_onFetchMissResult','_transitionLocked','onCommentUpdate','_clearTimeoutTimer','stringify','enableSingleActiveInstanceLock','/-/object/-/batch_allowed','PERMISSION_DENIED','_init','/universer-api/file/{fileID}/sign-url','\x20to\x20','SUBMIT_CHANGESET','Error\x20on\x20receiving\x20event','pipe','/universer-api/snapshot/','state','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','leaveEvent','_DEC_XFORM_MODE','patch','post','image/png','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','43147908KBMUyC','_redoStacks','baseRev','execute','reduce','PasswordBasedCipher','_doCreateSocket','saveSheetBlock','_rescheduleHeartbeat','_getLoginPath','textRanges','_showConflictNotification','loadUnit','url','_getCtorByUniverType','setConfig','_onCombEvent','snapshotServerUrl','infoRsp','_mode','getUnitOnRev','_scheduleCollaborationTimeoutTimer','debug','_onJoinRoomEvent','onRemoteRetry','UNIVER_SHEET','userID','MSG_FOR_ERROR','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','editingUnit','sid','decrypt','substr','updateCollaborator','conflict','APPLY_REJECT','/block/','csRejEvent','reverse','status','getLatestCsReqIdBySid','setCurrentUser','12998gMZRCh','UNAUTHENTICATED','\x20-\x20','listRoles','finalize','fromCollab','_cipher','apply','_tryEnsureSocket','_exhaustRemoteChangesetQueue','_remoteChangesetQueue','_clearRedo'];_0x1da4=function(){return _0x142da7;};return _0x1da4();}function vn(){var _0x5c43d5=_0xe7476b;return Zt||(Zt=0x1,function(_0x398f08,_0x55fce3){(function(_0x54ef5b,_0x5921a0){var _0xfd39f8=_0x33f0;_0x398f08[_0xfd39f8(0x13c)]=_0x5921a0(te());}(fn,function(_0x640384){(function(){var _0x4b8046=_0x33f0,_0xc7878f=_0x640384,_0x4f9042=_0xc7878f['lib'],_0x36fb54=_0x4f9042['Base'],_0x1a1aff=_0xc7878f[_0x4b8046(0x1fc)],_0x93d731=_0x1a1aff[_0x4b8046(0x1d2)],_0x4ff127=_0xc7878f['algo'];_0x4ff127[_0x4b8046(0x209)]=_0x36fb54[_0x4b8046(0x124)]({'init':function(_0x5a9c9a,_0x31b724){var _0xdb0f1c=_0x4b8046;_0x5a9c9a=this[_0xdb0f1c(0x3bf)]=new _0x5a9c9a[(_0xdb0f1c(0x1a7))](),typeof _0x31b724==_0xdb0f1c(0x180)&&(_0x31b724=_0x93d731['parse'](_0x31b724));var _0x10f803=_0x5a9c9a[_0xdb0f1c(0x20d)],_0x375c75=_0x10f803*0x4;_0x31b724[_0xdb0f1c(0x1f5)]>_0x375c75&&(_0x31b724=_0x5a9c9a[_0xdb0f1c(0x309)](_0x31b724)),_0x31b724[_0xdb0f1c(0x34a)]();for(var _0x7dbf64=this[_0xdb0f1c(0xef)]=_0x31b724[_0xdb0f1c(0x3dc)](),_0x4c2399=this[_0xdb0f1c(0x358)]=_0x31b724[_0xdb0f1c(0x3dc)](),_0xf3643f=_0x7dbf64[_0xdb0f1c(0x26e)],_0x34b438=_0x4c2399[_0xdb0f1c(0x26e)],_0x5d2914=0x0;_0x5d2914<_0x10f803;_0x5d2914++)_0xf3643f[_0x5d2914]^=0x5c5c5c5c,_0x34b438[_0x5d2914]^=0x36363636;_0x7dbf64[_0xdb0f1c(0x1f5)]=_0x4c2399['sigBytes']=_0x375c75,this['reset']();},'reset':function(){var _0x3bb515=_0x4b8046,_0x5036e2=this['_hasher'];_0x5036e2[_0x3bb515(0x186)](),_0x5036e2[_0x3bb515(0x3c1)](this[_0x3bb515(0x358)]);},'update':function(_0xb83010){var _0x1d46f3=_0x4b8046;return this[_0x1d46f3(0x3bf)][_0x1d46f3(0x3c1)](_0xb83010),this;},'finalize':function(_0x29b96d){var _0x549387=_0x4b8046,_0x189066=this[_0x549387(0x3bf)],_0x2105d1=_0x189066[_0x549387(0x309)](_0x29b96d);_0x189066[_0x549387(0x186)]();var _0x3ae0c0=_0x189066['finalize'](this[_0x549387(0xef)][_0x549387(0x3dc)]()[_0x549387(0x3ab)](_0x2105d1));return _0x3ae0c0;}});}());}));}(ze)),ze[_0x5c43d5(0x13c)];}var pn=Ke[_0xe7476b(0x13c)],Qt;function Oi(){var _0x350b85=_0xe7476b;return Qt||(Qt=0x1,function(_0xd95c19,_0x5308d2){(function(_0x160553,_0x4b58b7,_0x2f696c){var _0x155e7e=_0x33f0;_0xd95c19[_0x155e7e(0x13c)]=_0x4b58b7(te(),dn(),vn());}(pn,function(_0x160c1b){var _0x366e7c=_0x33f0;return(function(){var _0x3c6282=_0x33f0,_0x4a5589=_0x160c1b,_0x24bbbe=_0x4a5589[_0x3c6282(0x16e)],_0x52bbdc=_0x24bbbe[_0x3c6282(0x169)],_0x28ef58=_0x24bbbe[_0x3c6282(0x1ca)],_0x4b0edb=_0x4a5589[_0x3c6282(0x32c)],_0x46d69b=_0x4b0edb[_0x3c6282(0x147)],_0x47f469=_0x4b0edb[_0x3c6282(0x373)]=_0x52bbdc[_0x3c6282(0x124)]({'cfg':_0x52bbdc['extend']({'keySize':0x80/0x20,'hasher':_0x46d69b,'iterations':0x1}),'init':function(_0x3f69eb){var _0x11ed39=_0x3c6282;this['cfg']=this[_0x11ed39(0x363)][_0x11ed39(0x124)](_0x3f69eb);},'compute':function(_0x4765d4,_0x411e06){var _0x1c38ea=_0x3c6282;for(var _0xc43a90,_0x13d888=this[_0x1c38ea(0x363)],_0x5e3285=_0x13d888['hasher'][_0x1c38ea(0x2a6)](),_0x307647=_0x28ef58[_0x1c38ea(0x2a6)](),_0x2a3b8a=_0x307647[_0x1c38ea(0x26e)],_0x34e75d=_0x13d888[_0x1c38ea(0x347)],_0xdc06db=_0x13d888[_0x1c38ea(0x176)];_0x2a3b8a[_0x1c38ea(0x295)]<_0x34e75d;){_0xc43a90&&_0x5e3285[_0x1c38ea(0x3c1)](_0xc43a90),_0xc43a90=_0x5e3285['update'](_0x4765d4)[_0x1c38ea(0x309)](_0x411e06),_0x5e3285[_0x1c38ea(0x186)]();for(var _0x5c314d=0x1;_0x5c314d<_0xdc06db;_0x5c314d++)_0xc43a90=_0x5e3285[_0x1c38ea(0x309)](_0xc43a90),_0x5e3285[_0x1c38ea(0x186)]();_0x307647[_0x1c38ea(0x3ab)](_0xc43a90);}return _0x307647['sigBytes']=_0x34e75d*0x4,_0x307647;}});_0x4a5589[_0x3c6282(0x373)]=function(_0x19e542,_0x5eb8d6,_0x40c6e3){var _0x4a3c52=_0x3c6282;return _0x47f469['create'](_0x40c6e3)[_0x4a3c52(0x2a5)](_0x19e542,_0x5eb8d6);};}()),_0x160c1b[_0x366e7c(0x373)];}));}(Ke)),Ke[_0x350b85(0x13c)];}var Je={'exports':{}},mn=Je[_0xe7476b(0x13c)],ei;function bi(){var _0x3ab344=_0xe7476b;return ei||(ei=0x1,function(_0x5b103f,_0x42d225){(function(_0x7e5896,_0x4f1258,_0x335481){var _0x41ff06=_0x33f0;_0x5b103f[_0x41ff06(0x13c)]=_0x4f1258(te(),Oi());}(mn,function(_0x4b7157){var _0x5c43cb=_0x33f0;_0x4b7157[_0x5c43cb(0x16e)]['Cipher']||function(_0x3871b7){var _0x177661=_0x5c43cb,_0x51c105=_0x4b7157,_0x5081be=_0x51c105['lib'],_0x6ff89c=_0x5081be[_0x177661(0x169)],_0x9b76ca=_0x5081be['WordArray'],_0x160b01=_0x5081be[_0x177661(0x280)],_0x3efa38=_0x51c105[_0x177661(0x1fc)];_0x3efa38[_0x177661(0x1d2)];var _0x2a3dd5=_0x3efa38[_0x177661(0x139)],_0x52b3d2=_0x51c105['algo'],_0x2c8e13=_0x52b3d2[_0x177661(0x373)],_0x49f58c=_0x5081be[_0x177661(0x2b3)]=_0x160b01[_0x177661(0x124)]({'cfg':_0x6ff89c[_0x177661(0x124)](),'createEncryptor':function(_0xd67b10,_0x3e11df){var _0x582139=_0x177661;return this[_0x582139(0x2a6)](this[_0x582139(0xfb)],_0xd67b10,_0x3e11df);},'createDecryptor':function(_0x3ffa94,_0x1ff97c){var _0x2e5ed1=_0x177661;return this[_0x2e5ed1(0x2a6)](this[_0x2e5ed1(0x2d5)],_0x3ffa94,_0x1ff97c);},'init':function(_0x4465ba,_0x227e2d,_0x18dfb2){var _0x357db5=_0x177661;this[_0x357db5(0x363)]=this['cfg'][_0x357db5(0x124)](_0x18dfb2),this[_0x357db5(0x23c)]=_0x4465ba,this[_0x357db5(0x22e)]=_0x227e2d,this[_0x357db5(0x186)]();},'reset':function(){var _0x17f4a8=_0x177661;_0x160b01[_0x17f4a8(0x186)][_0x17f4a8(0x290)](this),this[_0x17f4a8(0x195)]();},'process':function(_0x41e6a3){var _0x1331b1=_0x177661;return this[_0x1331b1(0x1c9)](_0x41e6a3),this['_process']();},'finalize':function(_0x43834d){var _0x322a60=_0x177661;_0x43834d&&this[_0x322a60(0x1c9)](_0x43834d);var _0x273d1b=this['_doFinalize']();return _0x273d1b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5d25d9(_0x443521){var _0x48d3ef=_0x33f0;return typeof _0x443521==_0x48d3ef(0x180)?_0x293b3e:_0x39f199;}return function(_0x44fd28){return{'encrypt':function(_0x5567f9,_0x6e97b5,_0x2d6315){return _0x5d25d9(_0x6e97b5)['encrypt'](_0x44fd28,_0x5567f9,_0x6e97b5,_0x2d6315);},'decrypt':function(_0xb37b3d,_0x266805,_0x1a5ecc){return _0x5d25d9(_0x266805)['decrypt'](_0x44fd28,_0xb37b3d,_0x266805,_0x1a5ecc);}};};}())});_0x5081be[_0x177661(0x14c)]=_0x49f58c[_0x177661(0x124)]({'_doFinalize':function(){var _0x1e43b0=this['_process'](!0x0);return _0x1e43b0;},'blockSize':0x1});var _0x206460=_0x51c105[_0x177661(0x1e1)]={},_0x55570a=_0x5081be[_0x177661(0x317)]=_0x6ff89c[_0x177661(0x124)]({'createEncryptor':function(_0x466420,_0x11b070){var _0x512647=_0x177661;return this[_0x512647(0x1a0)][_0x512647(0x2a6)](_0x466420,_0x11b070);},'createDecryptor':function(_0x2eadd6,_0x4ee457){var _0x294343=_0x177661;return this['Decryptor'][_0x294343(0x2a6)](_0x2eadd6,_0x4ee457);},'init':function(_0x7cf88e,_0x6c83f3){var _0xb1dc83=_0x177661;this[_0xb1dc83(0x30b)]=_0x7cf88e,this[_0xb1dc83(0x3aa)]=_0x6c83f3;}}),_0x3f4c58=_0x206460[_0x177661(0x1a9)]=(function(){var _0x4d9c82=_0x177661,_0x439f8a=_0x55570a['extend']();_0x439f8a[_0x4d9c82(0x1a0)]=_0x439f8a['extend']({'processBlock':function(_0x3d2309,_0x539339){var _0x270751=_0x4d9c82,_0x1ce5ac=this[_0x270751(0x30b)],_0x1fde98=_0x1ce5ac[_0x270751(0x20d)];_0x2200e7[_0x270751(0x290)](this,_0x3d2309,_0x539339,_0x1fde98),_0x1ce5ac[_0x270751(0x26b)](_0x3d2309,_0x539339),this[_0x270751(0x1e5)]=_0x3d2309[_0x270751(0x253)](_0x539339,_0x539339+_0x1fde98);}}),_0x439f8a[_0x4d9c82(0x211)]=_0x439f8a[_0x4d9c82(0x124)]({'processBlock':function(_0x591e62,_0x130cb8){var _0xf629d=_0x4d9c82,_0x81ecdb=this[_0xf629d(0x30b)],_0x25e807=_0x81ecdb['blockSize'],_0x1ed3ee=_0x591e62[_0xf629d(0x253)](_0x130cb8,_0x130cb8+_0x25e807);_0x81ecdb[_0xf629d(0x37f)](_0x591e62,_0x130cb8),_0x2200e7[_0xf629d(0x290)](this,_0x591e62,_0x130cb8,_0x25e807),this[_0xf629d(0x1e5)]=_0x1ed3ee;}});function _0x2200e7(_0x162d6b,_0x2e409a,_0x4d129f){var _0x75994e=_0x4d9c82,_0x426604,_0x327337=this[_0x75994e(0x3aa)];_0x327337?(_0x426604=_0x327337,this['_iv']=_0x3871b7):_0x426604=this[_0x75994e(0x1e5)];for(var _0x48dc02=0x0;_0x48dc02<_0x4d129f;_0x48dc02++)_0x162d6b[_0x2e409a+_0x48dc02]^=_0x426604[_0x48dc02];}return _0x439f8a;}()),_0x129a7d=_0x51c105[_0x177661(0x369)]={},_0x2284af=_0x129a7d[_0x177661(0x352)]={'pad':function(_0x3f636d,_0x39b7a4){var _0xc10e62=_0x177661;for(var _0x392947=_0x39b7a4*0x4,_0x282396=_0x392947-_0x3f636d[_0xc10e62(0x1f5)]%_0x392947,_0x136abb=_0x282396<<0x18|_0x282396<<0x10|_0x282396<<0x8|_0x282396,_0x3ac5b8=[],_0x3c3fc5=0x0;_0x3c3fc5<_0x282396;_0x3c3fc5+=0x4)_0x3ac5b8[_0xc10e62(0x146)](_0x136abb);var _0x4cec13=_0x9b76ca['create'](_0x3ac5b8,_0x282396);_0x3f636d['concat'](_0x4cec13);},'unpad':function(_0x3c2e3f){var _0x226b9d=_0x177661,_0x1b7f90=_0x3c2e3f[_0x226b9d(0x26e)][_0x3c2e3f[_0x226b9d(0x1f5)]-0x1>>>0x2]&0xff;_0x3c2e3f['sigBytes']-=_0x1b7f90;}};_0x5081be[_0x177661(0x351)]=_0x49f58c['extend']({'cfg':_0x49f58c['cfg'][_0x177661(0x124)]({'mode':_0x3f4c58,'padding':_0x2284af}),'reset':function(){var _0x3008c6=_0x177661,_0x3e97a3;_0x49f58c[_0x3008c6(0x186)][_0x3008c6(0x290)](this);var _0x350add=this[_0x3008c6(0x363)],_0xef6c98=_0x350add['iv'],_0x3ac904=_0x350add[_0x3008c6(0x1e1)];this[_0x3008c6(0x23c)]==this['_ENC_XFORM_MODE']?_0x3e97a3=_0x3ac904['createEncryptor']:(_0x3e97a3=_0x3ac904[_0x3008c6(0x157)],this[_0x3008c6(0x278)]=0x1),this[_0x3008c6(0x2ee)]&&this['_mode'][_0x3008c6(0x3cd)]==_0x3e97a3?this[_0x3008c6(0x2ee)][_0x3008c6(0x1a7)](this,_0xef6c98&&_0xef6c98[_0x3008c6(0x26e)]):(this['_mode']=_0x3e97a3[_0x3008c6(0x290)](_0x3ac904,this,_0xef6c98&&_0xef6c98[_0x3008c6(0x26e)]),this[_0x3008c6(0x2ee)][_0x3008c6(0x3cd)]=_0x3e97a3);},'_doProcessBlock':function(_0x3e098f,_0x2da134){var _0x37111f=_0x177661;this[_0x37111f(0x2ee)][_0x37111f(0x3d7)](_0x3e098f,_0x2da134);},'_doFinalize':function(){var _0x1a12de=_0x177661,_0x568c69,_0x40b881=this[_0x1a12de(0x363)][_0x1a12de(0x223)];return this[_0x1a12de(0x23c)]==this[_0x1a12de(0xfb)]?(_0x40b881[_0x1a12de(0x369)](this[_0x1a12de(0x113)],this[_0x1a12de(0x20d)]),_0x568c69=this[_0x1a12de(0x29b)](!0x0)):(_0x568c69=this['_process'](!0x0),_0x40b881[_0x1a12de(0x39e)](_0x568c69)),_0x568c69;},'blockSize':0x80/0x20});var _0x2dae5c=_0x5081be['CipherParams']=_0x6ff89c[_0x177661(0x124)]({'init':function(_0x4d4331){var _0x504b2b=_0x177661;this[_0x504b2b(0x1d6)](_0x4d4331);},'toString':function(_0x4285b7){var _0x36febb=_0x177661;return(_0x4285b7||this[_0x36febb(0x25d)])['stringify'](this);}}),_0x5da7f5=_0x51c105[_0x177661(0x285)]={},_0x28b083=_0x5da7f5['OpenSSL']={'stringify':function(_0x1355dd){var _0x2bf468=_0x177661,_0x41711b,_0x700095=_0x1355dd[_0x2bf468(0x377)],_0x19aaa0=_0x1355dd['salt'];return _0x19aaa0?_0x41711b=_0x9b76ca[_0x2bf468(0x2a6)]([0x53616c74,0x65645f5f])['concat'](_0x19aaa0)[_0x2bf468(0x3ab)](_0x700095):_0x41711b=_0x700095,_0x41711b[_0x2bf468(0x24d)](_0x2a3dd5);},'parse':function(_0x50bf93){var _0x1bb82d=_0x177661,_0x3e159f,_0x181834=_0x2a3dd5['parse'](_0x50bf93),_0x1bd8fc=_0x181834[_0x1bb82d(0x26e)];return _0x1bd8fc[0x0]==0x53616c74&&_0x1bd8fc[0x1]==0x65645f5f&&(_0x3e159f=_0x9b76ca[_0x1bb82d(0x2a6)](_0x1bd8fc[_0x1bb82d(0x253)](0x2,0x4)),_0x1bd8fc[_0x1bb82d(0x323)](0x0,0x4),_0x181834['sigBytes']-=0x10),_0x2dae5c[_0x1bb82d(0x2a6)]({'ciphertext':_0x181834,'salt':_0x3e159f});}},_0x39f199=_0x5081be[_0x177661(0x105)]=_0x6ff89c['extend']({'cfg':_0x6ff89c[_0x177661(0x124)]({'format':_0x28b083}),'encrypt':function(_0x306af0,_0x224af5,_0x156997,_0xb0e26a){var _0x506269=_0x177661;_0xb0e26a=this[_0x506269(0x363)][_0x506269(0x124)](_0xb0e26a);var _0xd85ad9=_0x306af0[_0x506269(0x1ea)](_0x156997,_0xb0e26a),_0x16c09b=_0xd85ad9[_0x506269(0x309)](_0x224af5),_0x5fda9c=_0xd85ad9[_0x506269(0x363)];return _0x2dae5c[_0x506269(0x2a6)]({'ciphertext':_0x16c09b,'key':_0x156997,'iv':_0x5fda9c['iv'],'algorithm':_0x306af0,'mode':_0x5fda9c[_0x506269(0x1e1)],'padding':_0x5fda9c[_0x506269(0x223)],'blockSize':_0x306af0[_0x506269(0x20d)],'formatter':_0xb0e26a[_0x506269(0x285)]});},'decrypt':function(_0x19ba22,_0x37efae,_0x569ed2,_0x51b658){var _0x42f7fe=_0x177661;_0x51b658=this['cfg'][_0x42f7fe(0x124)](_0x51b658),_0x37efae=this[_0x42f7fe(0x15b)](_0x37efae,_0x51b658[_0x42f7fe(0x285)]);var _0xf51ebe=_0x19ba22[_0x42f7fe(0x157)](_0x569ed2,_0x51b658)[_0x42f7fe(0x309)](_0x37efae['ciphertext']);return _0xf51ebe;},'_parse':function(_0x56542b,_0x3eefce){var _0xa7f8ee=_0x177661;return typeof _0x56542b==_0xa7f8ee(0x180)?_0x3eefce[_0xa7f8ee(0x184)](_0x56542b,this):_0x56542b;}}),_0x451fa3=_0x51c105['kdf']={},_0x54214b=_0x451fa3[_0x177661(0xff)]={'execute':function(_0x47ca80,_0x2a0218,_0x25c5ee,_0xf1ebe5,_0x41e1f4){var _0xc6a831=_0x177661;if(_0xf1ebe5||(_0xf1ebe5=_0x9b76ca[_0xc6a831(0x38b)](0x40/0x8)),_0x41e1f4)var _0x15a9c3=_0x2c8e13['create']({'keySize':_0x2a0218+_0x25c5ee,'hasher':_0x41e1f4})['compute'](_0x47ca80,_0xf1ebe5);else var _0x15a9c3=_0x2c8e13['create']({'keySize':_0x2a0218+_0x25c5ee})[_0xc6a831(0x2a5)](_0x47ca80,_0xf1ebe5);var _0x3671f4=_0x9b76ca['create'](_0x15a9c3[_0xc6a831(0x26e)][_0xc6a831(0x253)](_0x2a0218),_0x25c5ee*0x4);return _0x15a9c3[_0xc6a831(0x1f5)]=_0x2a0218*0x4,_0x2dae5c[_0xc6a831(0x2a6)]({'key':_0x15a9c3,'iv':_0x3671f4,'salt':_0xf1ebe5});}},_0x293b3e=_0x5081be[_0x177661(0x2e0)]=_0x39f199[_0x177661(0x124)]({'cfg':_0x39f199[_0x177661(0x363)]['extend']({'kdf':_0x54214b}),'encrypt':function(_0x103bde,_0x2fc82b,_0x4d1cb7,_0x1b5cac){var _0x1aa871=_0x177661;_0x1b5cac=this[_0x1aa871(0x363)][_0x1aa871(0x124)](_0x1b5cac);var _0x152a48=_0x1b5cac[_0x1aa871(0x266)][_0x1aa871(0x2de)](_0x4d1cb7,_0x103bde[_0x1aa871(0x347)],_0x103bde[_0x1aa871(0x154)],_0x1b5cac[_0x1aa871(0x199)],_0x1b5cac['hasher']);_0x1b5cac['iv']=_0x152a48['iv'];var _0x2d3beb=_0x39f199[_0x1aa871(0x243)]['call'](this,_0x103bde,_0x2fc82b,_0x152a48['key'],_0x1b5cac);return _0x2d3beb['mixIn'](_0x152a48),_0x2d3beb;},'decrypt':function(_0x2e1b09,_0x33b3a3,_0x30178c,_0x21f19f){var _0x2c4265=_0x177661;_0x21f19f=this[_0x2c4265(0x363)][_0x2c4265(0x124)](_0x21f19f),_0x33b3a3=this[_0x2c4265(0x15b)](_0x33b3a3,_0x21f19f[_0x2c4265(0x285)]);var _0x3ffc66=_0x21f19f['kdf'][_0x2c4265(0x2de)](_0x30178c,_0x2e1b09[_0x2c4265(0x347)],_0x2e1b09[_0x2c4265(0x154)],_0x33b3a3['salt'],_0x21f19f[_0x2c4265(0x342)]);_0x21f19f['iv']=_0x3ffc66['iv'];var _0x2d6baa=_0x39f199[_0x2c4265(0x2fa)]['call'](this,_0x2e1b09,_0x33b3a3,_0x3ffc66[_0x2c4265(0x1c1)],_0x21f19f);return _0x2d6baa;}});}();}));}(Je)),Je[_0x3ab344(0x13c)];}var gn=Ve[_0xe7476b(0x13c)],ti;function Sn(){var _0x49044a=_0xe7476b;return ti||(ti=0x1,function(_0x5bbf7a,_0x34cdec){(function(_0x5e84b8,_0x3eaf3f,_0x68ebbd){var _0x1734fd=_0x33f0;_0x5bbf7a[_0x1734fd(0x13c)]=_0x3eaf3f(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x282fcc){var _0x4e464d=_0x33f0;return(function(){var _0x11a3fb=_0x33f0,_0x4c0b9b=_0x282fcc,_0x79db62=_0x4c0b9b[_0x11a3fb(0x16e)],_0x2bb73d=_0x79db62['BlockCipher'],_0x23ca01=_0x4c0b9b[_0x11a3fb(0x32c)],_0x513024=[],_0x36706e=[],_0x995d67=[],_0xb796ab=[],_0x38a784=[],_0x5e4269=[],_0x5ad7b0=[],_0x40777c=[],_0x4895d7=[],_0x37a69a=[];(function(){for(var _0x501e14=[],_0x1e31f4=0x0;_0x1e31f4<0x100;_0x1e31f4++)_0x1e31f4<0x80?_0x501e14[_0x1e31f4]=_0x1e31f4<<0x1:_0x501e14[_0x1e31f4]=_0x1e31f4<<0x1^0x11b;for(var _0xe47572=0x0,_0x59a407=0x0,_0x1e31f4=0x0;_0x1e31f4<0x100;_0x1e31f4++){var _0x5b349=_0x59a407^_0x59a407<<0x1^_0x59a407<<0x2^_0x59a407<<0x3^_0x59a407<<0x4;_0x5b349=_0x5b349>>>0x8^_0x5b349&0xff^0x63,_0x513024[_0xe47572]=_0x5b349,_0x36706e[_0x5b349]=_0xe47572;var _0x28bb6e=_0x501e14[_0xe47572],_0x25e419=_0x501e14[_0x28bb6e],_0x3dcf6f=_0x501e14[_0x25e419],_0x87b60f=_0x501e14[_0x5b349]*0x101^_0x5b349*0x1010100;_0x995d67[_0xe47572]=_0x87b60f<<0x18|_0x87b60f>>>0x8,_0xb796ab[_0xe47572]=_0x87b60f<<0x10|_0x87b60f>>>0x10,_0x38a784[_0xe47572]=_0x87b60f<<0x8|_0x87b60f>>>0x18,_0x5e4269[_0xe47572]=_0x87b60f;var _0x87b60f=_0x3dcf6f*0x1010101^_0x25e419*0x10001^_0x28bb6e*0x101^_0xe47572*0x1010100;_0x5ad7b0[_0x5b349]=_0x87b60f<<0x18|_0x87b60f>>>0x8,_0x40777c[_0x5b349]=_0x87b60f<<0x10|_0x87b60f>>>0x10,_0x4895d7[_0x5b349]=_0x87b60f<<0x8|_0x87b60f>>>0x18,_0x37a69a[_0x5b349]=_0x87b60f,_0xe47572?(_0xe47572=_0x28bb6e^_0x501e14[_0x501e14[_0x501e14[_0x3dcf6f^_0x28bb6e]]],_0x59a407^=_0x501e14[_0x501e14[_0x59a407]]):_0xe47572=_0x59a407=0x1;}}());var _0x5766e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2fc5f2=_0x23ca01[_0x11a3fb(0x1fb)]=_0x2bb73d['extend']({'_doReset':function(){var _0x5ba342=_0x11a3fb,_0x3b2c0b;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x5ba342(0x22e)])){for(var _0x1addca=this['_keyPriorReset']=this['_key'],_0x408f11=_0x1addca[_0x5ba342(0x26e)],_0x10e87c=_0x1addca[_0x5ba342(0x1f5)]/0x4,_0x3de7b1=this[_0x5ba342(0x378)]=_0x10e87c+0x6,_0x5b0928=(_0x3de7b1+0x1)*0x4,_0x2d34be=this['_keySchedule']=[],_0x44a106=0x0;_0x44a106<_0x5b0928;_0x44a106++)_0x44a106<_0x10e87c?_0x2d34be[_0x44a106]=_0x408f11[_0x44a106]:(_0x3b2c0b=_0x2d34be[_0x44a106-0x1],_0x44a106%_0x10e87c?_0x10e87c>0x6&&_0x44a106%_0x10e87c==0x4&&(_0x3b2c0b=_0x513024[_0x3b2c0b>>>0x18]<<0x18|_0x513024[_0x3b2c0b>>>0x10&0xff]<<0x10|_0x513024[_0x3b2c0b>>>0x8&0xff]<<0x8|_0x513024[_0x3b2c0b&0xff]):(_0x3b2c0b=_0x3b2c0b<<0x8|_0x3b2c0b>>>0x18,_0x3b2c0b=_0x513024[_0x3b2c0b>>>0x18]<<0x18|_0x513024[_0x3b2c0b>>>0x10&0xff]<<0x10|_0x513024[_0x3b2c0b>>>0x8&0xff]<<0x8|_0x513024[_0x3b2c0b&0xff],_0x3b2c0b^=_0x5766e[_0x44a106/_0x10e87c|0x0]<<0x18),_0x2d34be[_0x44a106]=_0x2d34be[_0x44a106-_0x10e87c]^_0x3b2c0b);for(var _0x59e260=this['_invKeySchedule']=[],_0x394bc3=0x0;_0x394bc3<_0x5b0928;_0x394bc3++){var _0x44a106=_0x5b0928-_0x394bc3;if(_0x394bc3%0x4)var _0x3b2c0b=_0x2d34be[_0x44a106];else var _0x3b2c0b=_0x2d34be[_0x44a106-0x4];_0x394bc3<0x4||_0x44a106<=0x4?_0x59e260[_0x394bc3]=_0x3b2c0b:_0x59e260[_0x394bc3]=_0x5ad7b0[_0x513024[_0x3b2c0b>>>0x18]]^_0x40777c[_0x513024[_0x3b2c0b>>>0x10&0xff]]^_0x4895d7[_0x513024[_0x3b2c0b>>>0x8&0xff]]^_0x37a69a[_0x513024[_0x3b2c0b&0xff]];}}},'encryptBlock':function(_0x17ecd4,_0x103e1e){var _0x1d8eb7=_0x11a3fb;this[_0x1d8eb7(0x23f)](_0x17ecd4,_0x103e1e,this['_keySchedule'],_0x995d67,_0xb796ab,_0x38a784,_0x5e4269,_0x513024);},'decryptBlock':function(_0x5404fb,_0x3138a3){var _0x1ef96d=_0x5404fb[_0x3138a3+0x1];_0x5404fb[_0x3138a3+0x1]=_0x5404fb[_0x3138a3+0x3],_0x5404fb[_0x3138a3+0x3]=_0x1ef96d,this['_doCryptBlock'](_0x5404fb,_0x3138a3,this['_invKeySchedule'],_0x5ad7b0,_0x40777c,_0x4895d7,_0x37a69a,_0x36706e);var _0x1ef96d=_0x5404fb[_0x3138a3+0x1];_0x5404fb[_0x3138a3+0x1]=_0x5404fb[_0x3138a3+0x3],_0x5404fb[_0x3138a3+0x3]=_0x1ef96d;},'_doCryptBlock':function(_0x577c9a,_0x497d25,_0xa79ac5,_0x2f2be0,_0x51e75b,_0x6727ae,_0x28c388,_0x4d17f2){var _0x321f8c=_0x11a3fb;for(var _0x232adc=this[_0x321f8c(0x378)],_0x46717d=_0x577c9a[_0x497d25]^_0xa79ac5[0x0],_0x1674e8=_0x577c9a[_0x497d25+0x1]^_0xa79ac5[0x1],_0x287e40=_0x577c9a[_0x497d25+0x2]^_0xa79ac5[0x2],_0x387c89=_0x577c9a[_0x497d25+0x3]^_0xa79ac5[0x3],_0x2a3970=0x4,_0x565a04=0x1;_0x565a04<_0x232adc;_0x565a04++){var _0x5ce607=_0x2f2be0[_0x46717d>>>0x18]^_0x51e75b[_0x1674e8>>>0x10&0xff]^_0x6727ae[_0x287e40>>>0x8&0xff]^_0x28c388[_0x387c89&0xff]^_0xa79ac5[_0x2a3970++],_0x48bfb8=_0x2f2be0[_0x1674e8>>>0x18]^_0x51e75b[_0x287e40>>>0x10&0xff]^_0x6727ae[_0x387c89>>>0x8&0xff]^_0x28c388[_0x46717d&0xff]^_0xa79ac5[_0x2a3970++],_0x3671ee=_0x2f2be0[_0x287e40>>>0x18]^_0x51e75b[_0x387c89>>>0x10&0xff]^_0x6727ae[_0x46717d>>>0x8&0xff]^_0x28c388[_0x1674e8&0xff]^_0xa79ac5[_0x2a3970++],_0x3f95e3=_0x2f2be0[_0x387c89>>>0x18]^_0x51e75b[_0x46717d>>>0x10&0xff]^_0x6727ae[_0x1674e8>>>0x8&0xff]^_0x28c388[_0x287e40&0xff]^_0xa79ac5[_0x2a3970++];_0x46717d=_0x5ce607,_0x1674e8=_0x48bfb8,_0x287e40=_0x3671ee,_0x387c89=_0x3f95e3;}var _0x5ce607=(_0x4d17f2[_0x46717d>>>0x18]<<0x18|_0x4d17f2[_0x1674e8>>>0x10&0xff]<<0x10|_0x4d17f2[_0x287e40>>>0x8&0xff]<<0x8|_0x4d17f2[_0x387c89&0xff])^_0xa79ac5[_0x2a3970++],_0x48bfb8=(_0x4d17f2[_0x1674e8>>>0x18]<<0x18|_0x4d17f2[_0x287e40>>>0x10&0xff]<<0x10|_0x4d17f2[_0x387c89>>>0x8&0xff]<<0x8|_0x4d17f2[_0x46717d&0xff])^_0xa79ac5[_0x2a3970++],_0x3671ee=(_0x4d17f2[_0x287e40>>>0x18]<<0x18|_0x4d17f2[_0x387c89>>>0x10&0xff]<<0x10|_0x4d17f2[_0x46717d>>>0x8&0xff]<<0x8|_0x4d17f2[_0x1674e8&0xff])^_0xa79ac5[_0x2a3970++],_0x3f95e3=(_0x4d17f2[_0x387c89>>>0x18]<<0x18|_0x4d17f2[_0x46717d>>>0x10&0xff]<<0x10|_0x4d17f2[_0x1674e8>>>0x8&0xff]<<0x8|_0x4d17f2[_0x287e40&0xff])^_0xa79ac5[_0x2a3970++];_0x577c9a[_0x497d25]=_0x5ce607,_0x577c9a[_0x497d25+0x1]=_0x48bfb8,_0x577c9a[_0x497d25+0x2]=_0x3671ee,_0x577c9a[_0x497d25+0x3]=_0x3f95e3;},'keySize':0x100/0x20});_0x4c0b9b[_0x11a3fb(0x1fb)]=_0x2bb73d[_0x11a3fb(0x1a3)](_0x2fc5f2);}()),_0x282fcc[_0x4e464d(0x1fb)];}));}(Ve)),Ve[_0x49044a(0x13c)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0xe7476b(0x13c)],si;function Rn(){var _0x430f5f=_0xe7476b;return si||(si=0x1,function(_0x3551e6,_0x53c479){(function(_0x3d751c,_0x5bad21){var _0x481f52=_0x33f0;_0x3551e6[_0x481f52(0x13c)]=_0x5bad21(te());}(Cn,function(_0x89b38f){var _0x2f26dc=_0x33f0;return _0x89b38f[_0x2f26dc(0x1fc)]['Utf8'];}));}(Xe)),Xe[_0x430f5f(0x13c)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0xe7476b(0x13c)],ni;function Nn(){return ni||(ni=0x1,function(_0x535bfe,_0x261819){(function(_0x589514,_0x192ea3){var _0x2220f2=_0x33f0;_0x535bfe[_0x2220f2(0x13c)]=_0x192ea3(te());}(yn,function(_0xfd6e13){var _0x2ec7e1=_0x33f0;return(function(){var _0x3f657b=_0x33f0;if(typeof ArrayBuffer=='function'){var _0x4b0575=_0xfd6e13,_0x9df108=_0x4b0575[_0x3f657b(0x16e)],_0x388621=_0x9df108[_0x3f657b(0x1ca)],_0x2883c0=_0x388621[_0x3f657b(0x1a7)],_0xd1cb37=_0x388621[_0x3f657b(0x1a7)]=function(_0x2878d4){var _0x1c97bd=_0x3f657b;if(_0x2878d4 instanceof ArrayBuffer&&(_0x2878d4=new Uint8Array(_0x2878d4)),(_0x2878d4 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2878d4 instanceof Uint8ClampedArray||_0x2878d4 instanceof Int16Array||_0x2878d4 instanceof Uint16Array||_0x2878d4 instanceof Int32Array||_0x2878d4 instanceof Uint32Array||_0x2878d4 instanceof Float32Array||_0x2878d4 instanceof Float64Array)&&(_0x2878d4=new Uint8Array(_0x2878d4[_0x1c97bd(0x3cc)],_0x2878d4['byteOffset'],_0x2878d4[_0x1c97bd(0xfc)])),_0x2878d4 instanceof Uint8Array){for(var _0x4ccceb=_0x2878d4['byteLength'],_0x7aa665=[],_0x2798e9=0x0;_0x2798e9<_0x4ccceb;_0x2798e9++)_0x7aa665[_0x2798e9>>>0x2]|=_0x2878d4[_0x2798e9]<<0x18-_0x2798e9%0x4*0x8;_0x2883c0[_0x1c97bd(0x290)](this,_0x7aa665,_0x4ccceb);}else _0x2883c0[_0x1c97bd(0x30c)](this,arguments);};_0xd1cb37[_0x3f657b(0x29c)]=_0x388621;}}()),_0xfd6e13[_0x2ec7e1(0x16e)][_0x2ec7e1(0x1ca)];}));}(Ze)),Ze['exports'];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe['exports'],ri;function wn(){var _0x4b2ec2=_0xe7476b;return ri||(ri=0x1,function(_0x414d05,_0x4a0f33){(function(_0x174d34,_0x23f1c9,_0x5ab593){_0x414d05['exports']=_0x23f1c9(te(),bi());}(An,function(_0x3f64a8){var _0x23d799=_0x33f0;return _0x3f64a8[_0x23d799(0x369)][_0x23d799(0x2a0)]={'pad':function(){},'unpad':function(){}},_0x3f64a8[_0x23d799(0x369)][_0x23d799(0x2a0)];}));}(Qe)),Qe[_0x4b2ec2(0x13c)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x1707f8,_0x1bc459){var _0x591a5d=_0xe7476b;const _0x385d54=_0x1bc459-_0x1707f8['length']%_0x1bc459,_0x2b8180=String[_0x591a5d(0x279)](_0x385d54)[_0x591a5d(0x12e)](_0x385d54);return _0x1707f8+_0x2b8180;}function xn(_0x37268c,_0x441e52){var _0x4f34b8=_0xe7476b;const _0x1a0ba0=Un[_0x4f34b8(0x38b)](0x10),_0x250882=Ln(_0x37268c,0x10),_0x2a0172=In[_0x4f34b8(0x243)](bn[_0x4f34b8(0x184)](_0x250882),ii[_0x4f34b8(0x184)](_0x441e52),{'iv':_0x1a0ba0,'padding':Mn});return _0x1a0ba0[_0x4f34b8(0x3ab)](_0x2a0172[_0x4f34b8(0x377)])['toString'](ii);}function kn(){var _0x53b45e=_0xe7476b;const _0x49b2aa=_0x10e700()[_0x53b45e(0x20a)];if(_0x49b2aa){const _0xc576ef={'time':Math[_0x53b45e(0x246)](Date[_0x53b45e(0x1ab)]()/0x3e8),'domain':location[_0x53b45e(0x214)]};return xn(JSON[_0x53b45e(0x2c7)](_0xc576ef),_0x49b2aa);}}var $n=Object[_0xe7476b(0x2af)],Hn=(_0x5d943e,_0x1ae2ec,_0x553079,_0x5c071b)=>{var _0x2113a9=_0xe7476b;for(var _0xeea0c4=_0x5c071b>0x1?void 0x0:_0x5c071b?$n(_0x1ae2ec,_0x553079):_0x1ae2ec,_0x4476a6=_0x5d943e[_0x2113a9(0x295)]-0x1,_0x511406;_0x4476a6>=0x0;_0x4476a6--)(_0x511406=_0x5d943e[_0x4476a6])&&(_0xeea0c4=_0x511406(_0xeea0c4)||_0xeea0c4);return _0xeea0c4;},Bn=(_0x2b4b7e,_0x5cf058)=>(_0xcd4d79,_0x4f3708)=>_0x5cf058(_0xcd4d79,_0x4f3708,_0x2b4b7e);let at=class{constructor(_0x18f5b2){var _0x3783ec=_0xe7476b;this[_0x3783ec(0x198)]=_0x18f5b2,this[_0x3783ec(0x263)]();}[_0xe7476b(0x263)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x20b707,_0x49fa04)=>{var _0x4bf740=_0x33f0;const _0x47fd9a=_0x20b707[_0x4bf740(0x261)],_0x444279=kn();return _0x444279&&_0x47fd9a[_0x4bf740(0x355)](_0x4bf740(0x1b9),_0x444279),_0x49fa04(_0x20b707);}});}};at=Hn([Bn(0x0,_0x3ab451(_0x5325d6))],at);var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x5a232a,_0x42fd3d,_0x5ec75e,_0x232291)=>{var _0x342469=_0xe7476b;for(var _0x391c27=_0x232291>0x1?void 0x0:_0x232291?jn(_0x42fd3d,_0x5ec75e):_0x42fd3d,_0x2e6b0a=_0x5a232a[_0x342469(0x295)]-0x1,_0x5eabf5;_0x2e6b0a>=0x0;_0x2e6b0a--)(_0x5eabf5=_0x5a232a[_0x2e6b0a])&&(_0x391c27=_0x5eabf5(_0x391c27)||_0x391c27);return _0x391c27;},vt=(_0x433075,_0x4488f6)=>(_0x1f18a6,_0x39d1ef)=>_0x4488f6(_0x1f18a6,_0x39d1ef,_0x433075);let Ct=class extends _0x596c5c{constructor(_0x36c185,_0x4935bc,_0x157fba){var _0x48927f=_0xe7476b;super(),N(this,_0x48927f(0x117),new _0x1c92f2(null)),N(this,_0x48927f(0x161),this['_unitInfo$'][_0x48927f(0x2be)]()),(this[_0x48927f(0x1e0)]=_0x36c185,this[_0x48927f(0x349)]=_0x4935bc,this[_0x48927f(0x316)]=_0x157fba);}async[_0xe7476b(0x2bc)](_0x1d7bf9,_0x525660,_0x19e162){var _0x5bf5c6=_0xe7476b;this[_0x5bf5c6(0x117)][_0x5bf5c6(0x12c)]({'unitId':_0x1d7bf9,'type':_0x525660});let _0x4b791d=null;switch(_0x525660){case Z[_0x5bf5c6(0x2f4)]:{_0x4b791d=await this[_0x5bf5c6(0x349)][_0x5bf5c6(0xf8)](_0x1d7bf9,_0x19e162);break;}case Z[_0x5bf5c6(0x25f)]:{_0x4b791d=await this[_0x5bf5c6(0x349)]['loadDoc'](_0x1d7bf9,_0x19e162);break;}default:{this[_0x5bf5c6(0x1e0)][_0x5bf5c6(0x33f)](_0x5bf5c6(0x2ad),_0x5bf5c6(0x216));break;}}return _0x4b791d;}async[_0xe7476b(0x2e7)](_0x459909,_0x5ec0fc,_0x7a55b3){var _0x3a7caa=_0xe7476b,_0xd96a50;this['_unitInfo$']['next']({'unitId':_0x459909,'type':_0x5ec0fc,'subUnitId':_0x7a55b3});let _0x3fdcbb=0x0;const _0x305671=await((_0xd96a50=this[_0x3a7caa(0x316)])==null?void 0x0:_0xd96a50['loadOfflineData'](_0x459909));return _0x305671&&(_0x305671[_0x3a7caa(0x320)]||_0x305671[_0x3a7caa(0x23e)][_0x3a7caa(0x295)]!==0x0)&&(_0x3fdcbb=_0x305671[_0x3a7caa(0x185)]),_0x3fdcbb===0x0&&this[_0x3a7caa(0x1e0)]['debug']('[DataLoaderService]',_0x3a7caa(0x145)),this[_0x3a7caa(0x2bc)](_0x459909,_0x5ec0fc,_0x3fdcbb);}};Ct=Fn([vt(0x0,_0x5d58e7),vt(0x1,_0x3ab451(_0x2d2417)),vt(0x2,_0x101caa(J))],Ct);var Vn=Object['getOwnPropertyDescriptor'],Wn=(_0x1f1d03,_0x42b972,_0x3c7796,_0x1b28c7)=>{for(var _0x37691c=_0x1b28c7>0x1?void 0x0:_0x1b28c7?Vn(_0x42b972,_0x3c7796):_0x42b972,_0x2d39b2=_0x1f1d03['length']-0x1,_0x2f9edc;_0x2d39b2>=0x0;_0x2d39b2--)(_0x2f9edc=_0x1f1d03[_0x2d39b2])&&(_0x37691c=_0x2f9edc(_0x37691c)||_0x37691c);return _0x37691c;},pt=(_0x3e3fe7,_0x5df304)=>(_0x365d77,_0x3d7f00)=>_0x5df304(_0x365d77,_0x3d7f00,_0x3e3fe7);const Gn=[_0xe7476b(0x2d8),'image/jpeg',_0xe7476b(0x2a1),_0xe7476b(0x1bf),_0xe7476b(0x24c)],Yn=0x5*0x400*0x400,Kn=_0xe7476b(0x190),qn=_0xe7476b(0x2cc);let Rt=class{constructor(_0x418e71,_0x408b65,_0x384e39){var _0x37fa96=_0xe7476b;N(this,_0x37fa96(0x292),0x0),N(this,'_change$',new _0x22d8b5()),N(this,'change$',this['_change$']),N(this,_0x37fa96(0x37a),new Map()),(this['_httpService']=_0x418e71,this['_configService']=_0x408b65,this[_0x37fa96(0x257)]=_0x384e39);}[_0xe7476b(0x244)](_0x32ab01){var _0x5ead94=_0xe7476b;this[_0x5ead94(0x292)]=_0x32ab01,this[_0x5ead94(0x273)][_0x5ead94(0x12c)](_0x32ab01);}[_0xe7476b(0x36a)](_0x1d182a,_0x30612f){var _0x41e43e=_0xe7476b;if(_0x30612f===_0x14a691[_0x41e43e(0x365)]){const _0x33ea54=new Image();return _0x33ea54[_0x41e43e(0x346)]=_0x1d182a,_0x33ea54;}return this['_imageSourceCache']['get'](_0x1d182a);}[_0xe7476b(0x16a)](_0x3d4f93,_0x2057aa,_0x498cc8){var _0x2ea3ca=_0xe7476b;_0x2057aa===_0x14a691[_0x2ea3ca(0x365)]||_0x498cc8==null||this['_imageSourceCache']['set'](_0x3d4f93,_0x498cc8);}async[_0xe7476b(0x21d)](_0xddf902){var _0x58cd9a=_0xe7476b;try{const _0x432816=this[_0x58cd9a(0x28c)](this['_getSignURL'](),''+_0xddf902),_0x31ea26=(await this[_0x58cd9a(0x198)][_0x58cd9a(0x174)](_0x432816))[_0x58cd9a(0x2b5)];if(_0x31ea26[_0x58cd9a(0x33f)]&&_0x31ea26['error'][_0x58cd9a(0x3a9)]===vi['OK']){const _0xd23084=new URL(_0x31ea26['url'],this[_0x58cd9a(0x3be)]())[_0x58cd9a(0x24d)]();return Promise['resolve'](_0xd23084);}return Promise['reject'](_0x31ea26[_0x58cd9a(0x33f)]);}catch(_0x52ef61){return Promise['reject'](_0x52ef61);}}async[_0xe7476b(0x3ae)](_0x4895e4){var _0x4e936b=_0xe7476b;let _0x296dcf='';if(!Gn[_0x4e936b(0x100)](_0x4895e4[_0x4e936b(0x366)]))return this[_0x4e936b(0x148)](),Promise[_0x4e936b(0x33a)](new Error(_0x17f5be['ERROR_IMAGE_TYPE']));if(_0x4895e4[_0x4e936b(0x122)]>Yn)return this[_0x4e936b(0x148)](),Promise[_0x4e936b(0x33a)](new Error(_0x17f5be[_0x4e936b(0x387)]));try{const _0x30ce75=new FormData();_0x30ce75[_0x4e936b(0x36b)]('file',_0x4895e4);const _0x329d32=this['_univerInstanceService']['getFocusedUnit'](),_0x34ee12=_0x329d32==null?void 0x0:_0x329d32['getUnitId']();if(!_0x34ee12)throw new Error(_0x4e936b(0x291));const _0x27f27b=this['_getUploadFileURL']()+_0x4e936b(0x271)+_0x4895e4['size'][_0x4e936b(0x24d)]()+'&source='+pi[_0x4e936b(0x334)]+_0x4e936b(0x1b5)+encodeURIComponent(_0x34ee12),_0x111312={'body':_0x30ce75},_0x280634=(await this[_0x4e936b(0x198)][_0x4e936b(0x2d7)](_0x27f27b,_0x111312))[_0x4e936b(0x2b5)];if(typeof _0x280634[_0x4e936b(0x10c)]!=_0x4e936b(0x180))return this[_0x4e936b(0x148)](),Promise[_0x4e936b(0x33a)](new Error(_0x17f5be[_0x4e936b(0x201)]));_0x296dcf=_0x280634['FileId'];}catch{return this[_0x4e936b(0x148)](),Promise[_0x4e936b(0x33a)](new Error(_0x17f5be[_0x4e936b(0x201)]));}return new Promise((_0x590d50,_0x390df2)=>{var _0x37fb7f=_0x4e936b;const _0x257059=new FileReader();_0x257059['readAsDataURL'](_0x4895e4),_0x257059[_0x37fb7f(0x18b)]=_0x3fd32e=>{var _0x174f64=_0x37fb7f,_0x187ec9;const _0x274954=(_0x187ec9=_0x3fd32e[_0x174f64(0x35d)])==null?void 0x0:_0x187ec9[_0x174f64(0x2ab)];if(_0x274954==null){this[_0x174f64(0x148)](),_0x390df2(new Error(_0x17f5be[_0x174f64(0x201)]));return;}const _0x5355dd=_0x30b2a1(0x6);_0x590d50({'imageId':_0x5355dd,'imageSourceType':_0x14a691['UUID'],'source':_0x296dcf,'base64Cache':_0x274954,'status':_0x17f5be[_0x174f64(0x1b4)]}),this[_0x174f64(0x148)]();};});}[_0xe7476b(0x332)](){var _0x460d14=_0xe7476b,_0x15fc5a;const _0x2bdfb9=this[_0x460d14(0x29f)][_0x460d14(0x178)](K);return(_0x15fc5a=_0x2bdfb9==null?void 0x0:_0x2bdfb9[_0x460d14(0x22d)])!=null?_0x15fc5a:Kn;}[_0xe7476b(0x286)](){var _0x453e87=_0xe7476b,_0x572579;const _0x267132=this[_0x453e87(0x29f)][_0x453e87(0x178)](K);return(_0x572579=_0x267132==null?void 0x0:_0x267132['signUrlServerUrl'])!=null?_0x572579:qn;}[_0xe7476b(0x3be)](){var _0x4c978c=_0xe7476b,_0xaacf50;const _0x4a074f=this['_configService'][_0x4c978c(0x178)](K);return(_0xaacf50=_0x4a074f==null?void 0x0:_0x4a074f[_0x4c978c(0x3bc)])!=null?_0xaacf50:location[_0x4c978c(0x16d)];}[_0xe7476b(0x28c)](_0x2b1e11,_0x1b43e5){var _0x526cfa=_0xe7476b;return _0x2b1e11['replace'](_0x526cfa(0x150),_0x1b43e5);}['_decreaseWaiting'](){var _0x645053=_0xe7476b;this[_0x645053(0x292)]-=0x1,this[_0x645053(0x273)]['next'](this['_waitCount']);}};Rt=Wn([pt(0x0,_0x3ab451(_0x5325d6)),pt(0x1,_0x2c6e2),pt(0x2,_0x3ab451(_0x564314))],Rt);var zn=Object['getOwnPropertyDescriptor'],Jn=(_0x3a1f3f,_0x54af6e,_0x5664d1,_0x51db94)=>{for(var _0x56998b=_0x51db94>0x1?void 0x0:_0x51db94?zn(_0x54af6e,_0x5664d1):_0x54af6e,_0x65b4=_0x3a1f3f['length']-0x1,_0x5e6379;_0x65b4>=0x0;_0x65b4--)(_0x5e6379=_0x3a1f3f[_0x65b4])&&(_0x56998b=_0x5e6379(_0x56998b)||_0x56998b);return _0x56998b;},ai=(_0x4501c4,_0x15e6d2)=>(_0x14dab3,_0x5c4582)=>_0x15e6d2(_0x14dab3,_0x5c4582,_0x4501c4);const Xn=_0xe7476b(0xee);let Ot=class{constructor(_0x2875f0,_0x5c28e1){var _0x660969=_0xe7476b;this[_0x660969(0x29f)]=_0x2875f0,this[_0x660969(0x1a2)]=_0x5c28e1;}['_getAPIPrefixPath'](){var _0x33d32c=_0xe7476b,_0x2d6765;const _0x6d3b5f=this[_0x33d32c(0x29f)]['getConfig'](K);return(_0x2d6765=_0x6d3b5f==null?void 0x0:_0x6d3b5f[_0x33d32c(0x392)])!=null?_0x2d6765:Xn;}async['list'](_0x355a57){var _0x387df7=_0xe7476b;const _0xae7f93=this['_getAPIPrefixPath']()+_0x387df7(0x37b);return{'list':[{'title':'People','mentions':(await this[_0x387df7(0x1a2)][_0x387df7(0x174)](_0xae7f93,{'params':{'objectID':_0x355a57[_0x387df7(0x283)],'unitID':_0x355a57['unitId']}}))[_0x387df7(0x2b5)][_0x387df7(0x231)]['map'](_0x4fb55d=>({'objectId':_0x4fb55d['id'],'name':_0x4fb55d[_0x387df7(0x1de)][_0x387df7(0x103)],'metadata':{'icon':_0x4fb55d['subject']['avatar']},'label':_0x4fb55d[_0x387df7(0x1de)][_0x387df7(0x103)],'objectType':_0x341eb8[_0x387df7(0x144)]})),'metadata':{},'type':_0x341eb8[_0x387df7(0x144)]}]};}};Ot=Jn([ai(0x0,_0x3ab451(_0x2c6e2)),ai(0x1,_0x3ab451(_0x5325d6))],Ot);var Zn=Object[_0xe7476b(0x2af)],Qn=(_0x49cdcd,_0x5e2f52,_0x19df19,_0x55ec73)=>{var _0x3a02e3=_0xe7476b;for(var _0x3a59f7=_0x55ec73>0x1?void 0x0:_0x55ec73?Zn(_0x5e2f52,_0x19df19):_0x5e2f52,_0x33c739=_0x49cdcd[_0x3a02e3(0x295)]-0x1,_0x6e1102;_0x33c739>=0x0;_0x33c739--)(_0x6e1102=_0x49cdcd[_0x33c739])&&(_0x3a59f7=_0x6e1102(_0x3a59f7)||_0x3a59f7);return _0x3a59f7;},Ue=(_0x3b0c90,_0x3a9c9b)=>(_0x193599,_0x21d091)=>_0x3a9c9b(_0x193599,_0x21d091,_0x3b0c90);let ot=class extends _0x596c5c{constructor(_0xf65fea,_0x5100c4,_0x4e7bfd,_0x2e302f,_0x3c653b){var _0x55558=_0xe7476b;super(),this[_0x55558(0x284)]=_0xf65fea,this['_univerInstanceService']=_0x5100c4,this[_0x55558(0x2a4)]=_0x4e7bfd,this[_0x55558(0x22f)]=_0x2e302f,this[_0x55558(0x34d)]=_0x3c653b,this[_0x55558(0x367)](),this[_0x55558(0x268)]();}[_0xe7476b(0x268)](){var _0x46e67b=_0xe7476b;const _0x27ba55=async _0x3a574a=>{var _0x57086d=_0x33f0;(await this[_0x57086d(0x22f)][_0x57086d(0x25c)](_0x3a574a))[_0x57086d(0x1e3)][_0x57086d(0x2d0)](_0x382e9a(_0x1661bb=>_0x1661bb[_0x57086d(0x36f)]===_0x15f20d['SHOULD_CLOSE_CONN']),_0x373daa(this['dispose$']))[_0x57086d(0x2b4)](_0x443fbc=>{var _0x872fdb=_0x57086d;const _0x40f891=_0x443fbc,{reason:_0xdd07b}=_0x40f891[_0x872fdb(0x182)];this[_0x872fdb(0x34d)][_0x872fdb(0x385)]({'id':ne[_0x872fdb(0x2c0)],'data':_0xdd07b}),this[_0x872fdb(0x2a4)][_0x872fdb(0xf0)](new _0x350486(_0x3a574a)['id'],!0x1),this[_0x872fdb(0x22f)][_0x872fdb(0x22a)](_0x3a574a);});};_0x114bec(this[_0x46e67b(0x257)][_0x46e67b(0x1ec)](_0x313508['UNIVER_SHEET']),this[_0x46e67b(0x257)][_0x46e67b(0x1ec)](_0x313508[_0x46e67b(0x25f)]))['pipe'](_0x1263aa(_0x50ea8b=>_0x50ea8b[_0x46e67b(0x109)]()),_0x382e9a(_0x4c8291=>!_0x52e864(_0x4c8291)),_0x373daa(this['dispose$']))['subscribe'](_0x52ffa1=>{_0x27ba55(_0x52ffa1);});}[_0xe7476b(0x367)](){var _0x34e8c0=_0xe7476b;const _0x4c135c=async _0x373efb=>{var _0x31a528=_0x33f0;const _0x251e48=await this['_collaborationSessionService'][_0x31a528(0x25c)](_0x373efb),_0x556985=this[_0x31a528(0x284)][_0x31a528(0x174)](_0x6a2288);_0x251e48[_0x31a528(0x1e3)][_0x31a528(0x2d0)](_0x382e9a(_0x493487=>_0x493487[_0x31a528(0x36f)]===_0x15f20d[_0x31a528(0x3b5)]),_0x373daa(this[_0x31a528(0x265)]))[_0x31a528(0x2b4)](_0x123c78=>{var _0x37171b=_0x31a528;const _0x42dc29=_0x123c78,{objectId:_0x3fda71}=_0x42dc29['data'];_0x3fda71===_0x373efb?_0x556985[_0x37171b(0x164)](_0x373efb):_0x556985['refreshPermission'](_0x373efb,_0x3fda71);});};_0x114bec(this[_0x34e8c0(0x257)]['getTypeOfUnitAdded$'](_0x313508[_0x34e8c0(0x2f4)]))[_0x34e8c0(0x2d0)](_0x1263aa(_0x286309=>_0x286309[_0x34e8c0(0x109)]()),_0x382e9a(_0x474362=>!_0x52e864(_0x474362)),_0x373daa(this['dispose$']))[_0x34e8c0(0x2b4)](_0x4cd489=>{_0x4c135c(_0x4cd489);});}};ot=Qn([Ue(0x0,_0x3ab451(_0x494864)),Ue(0x1,_0x564314),Ue(0x2,_0x1752a3),Ue(0x3,_0x3ab451(Pe)),Ue(0x4,_0x3ab451(ve))],ot);var er=Object[_0xe7476b(0x2af)],tr=(_0x6fdf05,_0x45dd53,_0x275483,_0x3efb50)=>{for(var _0x454b52=_0x3efb50>0x1?void 0x0:_0x3efb50?er(_0x45dd53,_0x275483):_0x45dd53,_0x326637=_0x6fdf05['length']-0x1,_0x3d7050;_0x326637>=0x0;_0x326637--)(_0x3d7050=_0x6fdf05[_0x326637])&&(_0x454b52=_0x3d7050(_0x454b52)||_0x454b52);return _0x454b52;},oi=(_0x51420d,_0x1660b4)=>(_0x3c6a2c,_0x361537)=>_0x1660b4(_0x3c6a2c,_0x361537,_0x51420d);let bt=class{constructor(_0x331d7e,_0x1b8894){var _0x104303=_0xe7476b;this[_0x104303(0x29f)]=_0x331d7e,this[_0x104303(0x198)]=_0x1b8894;}async[_0xe7476b(0x2ef)](_0x13c6a5,_0x5c1aca){var _0x58bc42=_0xe7476b,_0x37a365;const {unitID:_0x40e594,type:_0xc87c40,revision:_0x5596c0=0x0}=_0x5c1aca,_0x361ab8=this[_0x58bc42(0x1eb)]()+'/'+_0xc87c40+_0x58bc42(0x1ef)+_0x40e594+_0x58bc42(0x3a7)+_0x5596c0,_0x1c73eb=(await this[_0x58bc42(0x198)][_0x58bc42(0x174)](_0x361ab8))['body'],_0xeefa92=(_0x37a365=_0x1c73eb[_0x58bc42(0x27f)])==null?void 0x0:_0x37a365[_0x58bc42(0x1fa)];if(_0xeefa92){const _0x2e518e=_0xeefa92==null?void 0x0:_0xeefa92[_0x58bc42(0x337)],_0x3f6941=_0x50903d[_0x58bc42(0x17b)](_0x4bdb52(_0x2e518e));_0xeefa92[_0x58bc42(0x337)]=_0x3f6941,Object['entries'](_0xeefa92['sheets'])['forEach'](([,_0x3d6590])=>{var _0x2d2031=_0x58bc42;const _0x1a82eb=_0x3d6590[_0x2d2031(0x337)],_0x1e6211=_0x50903d[_0x2d2031(0x17b)](_0x4bdb52(_0x1a82eb));_0x3d6590[_0x2d2031(0x337)]=_0x1e6211;});}return _0x1c73eb;}async[_0xe7476b(0x269)](_0x183e68,_0xbc9fba){var _0x8e18b=_0xe7476b;const {unitID:_0x46a143,type:_0x52cc26,blockID:_0x311ed1}=_0xbc9fba,_0xf03a38=this[_0x8e18b(0x123)]()+'/'+_0x52cc26+_0x8e18b(0x1ef)+_0x46a143+_0x8e18b(0x2ff)+_0x311ed1;return(await this[_0x8e18b(0x198)][_0x8e18b(0x174)](_0xf03a38))[_0x8e18b(0x2b5)];}async[_0xe7476b(0x37d)](_0x4f5f04,_0x3932ba){var _0x2f2afb=_0xe7476b;const {unitID:_0x4f79d3,type:_0x53e313,blockID:_0x239e5e}=_0x3932ba,_0x381182=this['_getAPIPrefix']()+'/block/'+_0x53e313+_0x2f2afb(0x1ef)+_0x4f79d3+_0x2f2afb(0x2ff)+_0x239e5e;return(await this['_httpService']['get'](_0x381182))[_0x2f2afb(0x2b5)];}async[_0xe7476b(0x242)](_0x28ca0d,_0x59b108){var _0x28947c=_0xe7476b;const {unitID:_0x54b8c7,type:_0x2e1c0d,from:_0x3e8d33,to:_0x36483b}=_0x59b108,_0x221d0a=this[_0x28947c(0x123)]()+'/'+_0x2e1c0d+'/unit/'+_0x54b8c7+'/fetchmissing?from='+_0x3e8d33+_0x28947c(0x1c7)+_0x36483b;return(await this[_0x28947c(0x198)]['get'](_0x221d0a))[_0x28947c(0x2b5)];}[_0xe7476b(0x1eb)](){var _0x81d619=_0xe7476b,_0x244eea;return(_0x244eea=this[_0x81d619(0x29f)][_0x81d619(0x178)](vs))!=null?_0x244eea:this[_0x81d619(0x123)]();}[_0xe7476b(0x123)](){var _0x1a37de=_0xe7476b,_0x169d13;const _0x5f1e49=this[_0x1a37de(0x29f)][_0x1a37de(0x178)](K);return(_0x169d13=_0x5f1e49==null?void 0x0:_0x5f1e49[_0x1a37de(0x2ec)])!=null?_0x169d13:fs;}async['getResourcesRequest'](_0x28cf4a,_0x1ecda0){var _0x14fafa=_0xe7476b;const _0x264b06=_0x14fafa(0x2d1)+_0x1ecda0[_0x14fafa(0x366)]+_0x14fafa(0x1ef)+_0x1ecda0[_0x14fafa(0x2a9)]+_0x14fafa(0x298);return(await this['_httpService'][_0x14fafa(0x174)](_0x264b06,{'params':{'resourceId':JSON[_0x14fafa(0x2c7)](_0x1ecda0['resourceIDs'])}}))[_0x14fafa(0x2b5)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xe7476b(0x29d)](){var _0x5e6653=_0xe7476b;throw new Error(_0x5e6653(0x287));}[_0xe7476b(0x2e2)](){var _0x2ab885=_0xe7476b;throw new Error(_0x2ab885(0x287));}[_0xe7476b(0x236)](){var _0x73710b=_0xe7476b;throw new Error(_0x73710b(0x287));}['copyFileMeta'](){var _0x381ea4=_0xe7476b;throw new Error(_0x381ea4(0x287));}[_0xe7476b(0x303)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};bt=tr([oi(0x0,_0x2c6e2),oi(0x1,_0x3ab451(_0x5325d6))],bt);var ir=Object[_0xe7476b(0x2af)],sr=(_0x27f279,_0x4cb460,_0x2247d8,_0x21bec3)=>{var _0x34bedd=_0xe7476b;for(var _0x5b2df6=_0x21bec3>0x1?void 0x0:_0x21bec3?ir(_0x4cb460,_0x2247d8):_0x4cb460,_0x23cf40=_0x27f279[_0x34bedd(0x295)]-0x1,_0x3a7886;_0x23cf40>=0x0;_0x23cf40--)(_0x3a7886=_0x27f279[_0x23cf40])&&(_0x5b2df6=_0x3a7886(_0x5b2df6)||_0x5b2df6);return _0x5b2df6;},Ae=(_0xe5fa8d,_0x4d8aea)=>(_0x33040e,_0x42574a)=>_0x4d8aea(_0x33040e,_0x42574a,_0xe5fa8d);let yt=class extends _0x2b53be{constructor(_0x26ab38,_0x57c175,_0x25472e,_0x5373fc,_0x303ad4){var _0x4bc48c=_0xe7476b;super(_0x26ab38,_0x57c175,_0x25472e),this[_0x4bc48c(0x277)]=_0x5373fc,this[_0x4bc48c(0x1e0)]=_0x303ad4;}[_0xe7476b(0x23b)](_0x5744ff,_0x41ed38){var _0x271df5=_0xe7476b;const _0x55486b=this[_0x271df5(0x272)](_0x5744ff);if(_0x55486b)try{const _0x4fb52b=this[_0x271df5(0x141)](_0x55486b,_0x41ed38);this[_0x271df5(0x17e)](_0x5744ff,_0x4fb52b);}catch(_0x24d692){this['_logService'][_0x271df5(0x33f)](_0x271df5(0x1f4),_0x24d692),this['_clearUndo'](_0x5744ff);}const _0x400e96=this['_getRedoStack'](_0x5744ff);if(_0x400e96)try{const _0x5393c5=this['_transformStack'](_0x400e96,_0x41ed38);this['_substituteRedoStack'](_0x5744ff,_0x5393c5);}catch(_0x131809){this['_logService']['error'](_0x131809),this[_0x271df5(0x310)](_0x5744ff);}}[_0xe7476b(0x3a0)](_0x442dbc){var _0x34ba77=_0xe7476b;const _0x5a204c=this['_getUndoStack'](_0x442dbc);_0x5a204c&&(_0x5a204c[_0x34ba77(0x295)]=0x0,this[_0x34ba77(0x362)]());}['_clearRedo'](_0x55eb43){var _0x52eb7b=_0xe7476b;const _0x3884df=this[_0x52eb7b(0x3d1)](_0x55eb43);_0x3884df&&(_0x3884df[_0x52eb7b(0x295)]=0x0,this[_0x52eb7b(0x362)]());}[_0xe7476b(0x17e)](_0x1261e9,_0x1c6671){var _0x1e4611=_0xe7476b;this[_0x1e4611(0x21c)]['set'](_0x1261e9,_0x1c6671),this[_0x1e4611(0x362)]();}['_substituteRedoStack'](_0x19da85,_0x2feb22){var _0x33393f=_0xe7476b;this[_0x33393f(0x2dc)][_0x33393f(0x355)](_0x19da85,_0x2feb22),this['_updateStatus']();}[_0xe7476b(0x141)](_0x5acbe1,_0x20e607){var _0x2ef490=_0xe7476b;const _0x3fedcc=[];let _0x2c6a09=_0x20e607,_0x1c178e=_0x20e607;for(let _0xd33f6=_0x5acbe1[_0x2ef490(0x295)]-0x1;_0xd33f6>=0x0;_0xd33f6--){const {unitID:_0x52910c,undoMutations:_0x1e1981,redoMutations:_0x1e5264}=_0x5acbe1[_0xd33f6],_0x54f5b7=this[_0x2ef490(0x277)]['transformMutationsWithChangeset'](_0x2c6a09,_0x1e1981),_0x15c09a=this['_transformService'][_0x2ef490(0x38f)](_0x1c178e,_0x1e5264);if(_0x5e2704(_0x54f5b7)||_0x5e2704(_0x15c09a)){this[_0x2ef490(0x1e0)][_0x2ef490(0x33f)](_0x2ef490(0x1f4),'transformStack\x20failed!',_0x54f5b7,_0x15c09a);break;}_0x2c6a09=_0x54f5b7[_0x2ef490(0x115)],_0x1c178e=_0x15c09a[_0x2ef490(0x115)],_0x3fedcc['push']({'unitID':_0x52910c,'undoMutations':_0x54f5b7[_0x2ef490(0x3da)],'redoMutations':_0x15c09a[_0x2ef490(0x3da)]});}return _0x3fedcc[_0x2ef490(0x301)]();}};yt=sr([Ae(0x0,_0x564314),Ae(0x1,_0x22ca1b),Ae(0x2,_0x1c46df),Ae(0x3,_0x2a49de),Ae(0x4,_0x5d58e7)],yt);var nr=Object[_0xe7476b(0x1ce)],rr=Object['getOwnPropertyDescriptor'],ar=(_0x2a2119,_0x386965,_0x515039)=>_0x386965 in _0x2a2119?nr(_0x2a2119,_0x386965,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x515039}):_0x2a2119[_0x386965]=_0x515039,or=(_0x3571c3,_0x182f49,_0x2559f3,_0x5e39ba)=>{var _0x410fe9=_0xe7476b;for(var _0x4a3be1=_0x5e39ba>0x1?void 0x0:_0x5e39ba?rr(_0x182f49,_0x2559f3):_0x182f49,_0x488bdf=_0x3571c3[_0x410fe9(0x295)]-0x1,_0x56fbd2;_0x488bdf>=0x0;_0x488bdf--)(_0x56fbd2=_0x3571c3[_0x488bdf])&&(_0x4a3be1=_0x56fbd2(_0x4a3be1)||_0x4a3be1);return _0x4a3be1;},mt=(_0x519868,_0x4e3f3b)=>(_0x4c1214,_0x132658)=>_0x4e3f3b(_0x4c1214,_0x132658,_0x519868),cr=(_0x22e03d,_0x577943,_0x4c8b78)=>ar(_0x22e03d,_0x577943+'',_0x4c8b78);const hr=_0xe7476b(0x254);let Nt=class extends _0x59bb00{constructor(_0x205dad,_0x709e17,_0x333b8c,_0x3aaf14){var _0x331b05=_0xe7476b;super(),N(this,'_config'),(this[_0x331b05(0x1e0)]=_0x709e17,this[_0x331b05(0x284)]=_0x333b8c,this[_0x331b05(0x29f)]=_0x3aaf14);const {..._0x5ad8ff}=_0x20dfcc({},Ls,_0x205dad);if(!_0x5ad8ff[_0x331b05(0x1f3)])throw new Error(_0x331b05(0x3ac));this['_config']=_0x5ad8ff,this[_0x331b05(0x29f)][_0x331b05(0x2ea)](K,_0x5ad8ff);}[_0xe7476b(0x21b)](){var _0x1e05ac=_0xe7476b;this[_0x1e05ac(0x35a)](),this['_initDependencies']();}['_registerDependencies'](){var _0x4d5f39=_0xe7476b,_0x4c8dab,_0x3fc002;this[_0x4d5f39(0x284)][_0x4d5f39(0x1a5)](_0x2a0c90)&&this[_0x4d5f39(0x1e0)]['error'](_0x4d5f39(0x11e),_0x4d5f39(0x396));const _0x385220=_0xdaed4e([[_0x2a0c90,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this[_0x4d5f39(0x12d)][_0x4d5f39(0x1f3)]}],[_0x380b92,{'useClass':bt}],[_0x55cf05,{'useClass':Tt}],[_0x13ce3f,{'useClass':Rt}],[_0x4b7cfb,{'useClass':Ot}],[nt],[It]],(_0x4c8dab=this[_0x4d5f39(0x12d)])==null?void 0x0:_0x4c8dab[_0x4d5f39(0x220)]);if(!((_0x3fc002=this['_config'])!=null&&_0x3fc002[_0x4d5f39(0x2c8)])){const _0x6848b9=_0x385220[_0x4d5f39(0x1d9)](([_0x5cc810])=>_0x5cc810===ht);_0x6848b9!==-0x1&&_0x385220['splice'](_0x6848b9,0x1);}_0x1880c9(this[_0x4d5f39(0x284)],_0x385220);}['_initDependencies'](){var _0x5c7d1b=_0xe7476b,_0x7028fe,_0x3edea4,_0x23ae25;this[_0x5c7d1b(0x284)]['get'](_0x5325d6)[_0x5c7d1b(0x1cf)]({'priority':0x14,'interceptor':_0x220a88({'maxParallel':0x6})}),(_0x7028fe=this[_0x5c7d1b(0x12d)])!=null&&_0x7028fe['enableOfflineEditing']||(_0x3edea4=this[_0x5c7d1b(0x284)][_0x5c7d1b(0x174)](J,_0x9ebfa8[_0x5c7d1b(0x389)]))==null||_0x3edea4[_0x5c7d1b(0x1e4)](),(_0x23ae25=this[_0x5c7d1b(0x12d)])!=null&&_0x23ae25[_0x5c7d1b(0x376)]&&_0x50372c(this[_0x5c7d1b(0x284)],[[rt]]),_0x50372c(this[_0x5c7d1b(0x284)],[[at],[nt],[ot]]);}};cr(Nt,_0xe7476b(0x19a),hr),Nt=or([_0x2da002(_0x20a078,_0x347256),mt(0x1,_0x5d58e7),mt(0x2,_0x3ab451(_0x494864)),mt(0x3,_0x2c6e2)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Gt as CollaborationSocketService,Ei as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,mi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,gi as UnitStatus,Nt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,br as getLocalCacheKey,Vs as serializeCombRequest};