@univerjs-pro/collaboration-client 0.10.7-nightly.202509130703 → 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 _0x1b0175=_0x33ac;(function(_0x392251,_0x497a56){var _0x9c9d44=_0x33ac,_0x559132=_0x392251();while(!![]){try{var _0x365f36=-parseInt(_0x9c9d44(0x183))/0x1*(-parseInt(_0x9c9d44(0x438))/0x2)+-parseInt(_0x9c9d44(0x429))/0x3*(parseInt(_0x9c9d44(0x1b2))/0x4)+parseInt(_0x9c9d44(0x477))/0x5+-parseInt(_0x9c9d44(0x27a))/0x6+parseInt(_0x9c9d44(0x441))/0x7+-parseInt(_0x9c9d44(0x433))/0x8+-parseInt(_0x9c9d44(0x20e))/0x9;if(_0x365f36===_0x497a56)break;else _0x559132['push'](_0x559132['shift']());}catch(_0x40504d){_0x559132['push'](_0x559132['shift']());}}}(_0x1090,0xb7c2e));var yi=Object['defineProperty'],Ni=(_0xf8425d,_0x2d72f2,_0x428800)=>_0x2d72f2 in _0xf8425d?yi(_0xf8425d,_0x2d72f2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x428800}):_0xf8425d[_0x2d72f2]=_0x428800,N=(_0xc8eebc,_0x227a33,_0x2dec71)=>Ni(_0xc8eebc,typeof _0x227a33!='symbol'?_0x227a33+'':_0x227a33,_0x2dec71);import{CollaborationEvent as _0x270543,ITransformService as _0x21e51c,isTransformMutationsWithChangesetSuccess as _0x125d13,mapDocumentTypeToUniverType as _0x50b966,RevisionService as _0x1b2f89,isTransformChangesetsSuccess as _0x23e1df,CompressMutationService as _0x4c718f,parseProtocolChangeset as _0x43ca57,uuidv4 as _0x3cf683,ISnapshotServerService as _0x44dcd2,parseChangesetToProtocol as _0x5ac210,SnapshotService as _0x15d8ca,textEncoder as _0x540dd0,b64DecodeUnicode as _0x9670fd,isTransformMutationsWithChangesetFailure as _0x189a65,UniverCollaborationPlugin as _0x41e863}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x1465c0,Inject as _0x2350f5,UserManagerService as _0x19ee4a,Disposable as _0x5b6ec2,UniverInstanceType as _0x4db1c1,ILogService as _0x27c895,IConfigService as _0x39ec1e,Optional as _0x364642,RxDisposable as _0x1947f8,createIdentifier as _0x2c3a23,Injector as _0x4fef0a,Tools as _0x48f3be,Rectangle as _0xb4aff,ICommandService as _0x5c1e8c,JSONX as _0x20ee78,CommandType as _0x4f80e7,IUndoRedoService as _0x2c5918,IPermissionService as _0x33cf07,LocaleService as _0x167f10,sequenceExecute as _0x3751f6,toDisposable as _0x3a0139,DisposableCollection as _0x1eec7b,Workbook as _0x255f9c,generateRandomId as _0x92a8ec,MentionType as _0x213571,isInternalEditorID as _0x4600f9,LocalUndoRedoService as _0x2cd083,IContextService as _0x1f12bc,DependentOn as _0x35f593,Plugin as _0x5b0e47,merge as _0x43e317,mergeOverrideWithDependencies as _0x4120aa,IAuthzIoService as _0x36006a,IMentionIOService as _0x4a24b9,registerDependencies as _0x443c1e,Quantity as _0x5c2b5c,touchDependencies as _0x43a5c9}from'@univerjs/core';import{RichTextEditingMutation as _0x1d8c39}from'@univerjs/docs';import{SheetsSelectionsService as _0x44ba87,SetSelectionsOperation as _0x2bcc14,InsertSheetMutation as _0x55805a,EmptyMutation as _0x39779e,WorkbookEditablePermission as _0x1e11ff,SheetPermissionInitController as _0x31e8a6}from'@univerjs/sheets';import{Subject as _0xbd57ee,merge as _0x3ec2c8,of as _0x2cf37a,BehaviorSubject as _0x1babcb,takeUntil as _0x43488c,ReplaySubject as _0x5b3914,take as _0x1ebb68,map as _0x546cc8,shareReplay as _0x405424,firstValueFrom as _0x47678f,concatMap as _0xfc20c9}from'rxjs';import{ITelemetryService as _0x4a9116}from'@univerjs/telemetry';import{map as _0x2af321,take as _0x2bb393,filter as _0x4ecac2,delay as _0x119bcd,takeUntil as _0x51df8f}from'rxjs/operators';import{HTTPService as _0x3d8309,ISocketService as _0x5dfa6a,MergeInterceptorFactory as _0x1e4518,HTTPRequest as _0x244645,UniverNetworkPlugin as _0x27dfbb,ThresholdInterceptorFactory as _0x18420d}from'@univerjs/network';import{ImageSourceType as _0x49a779,ImageUploadStatusType as _0x26d4ad,IImageIoService as _0x108855}from'@univerjs/drawing';import{getGlobalObject as _0x449230}from'@univerjs-pro/license';const fs=_0x1b0175(0x1ed),vs=_0x1b0175(0x416),ps=0x7d0,ms=_0x1b0175(0x2df),Ir=_0x1b0175(0x43b),gs=_0x1b0175(0x2dc),Ss=0x7530,di=_0x1b0175(0x1d9),fi=0x4e20,Es=0x4e20,Is=_0x1b0175(0x305),Ts=0x3,Tr=_0x1b0175(0x3e1),Cr=0x3e8,Cs='/universer-api/comb',Rs=_0x1b0175(0x415),Rr='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Or=_0x1b0175(0x3ad);var vi=(_0x166839=>(_0x166839[_0x166839['UNDEFINED']=0x0]='UNDEFINED',_0x166839[_0x166839['OK']=0x1]='OK',_0x166839[_0x166839[_0x1b0175(0x3a1)]=0x2]=_0x1b0175(0x3a1),_0x166839[_0x166839[_0x1b0175(0x38b)]=0x3]=_0x1b0175(0x38b),_0x166839[_0x166839[_0x1b0175(0x32b)]=0x4]=_0x1b0175(0x32b),_0x166839[_0x166839[_0x1b0175(0x1c3)]=0x5]='UNAUTHENTICATED',_0x166839[_0x166839[_0x1b0175(0x23e)]=0x6]=_0x1b0175(0x23e),_0x166839[_0x166839[_0x1b0175(0x3c9)]=0x7]='INVALID_ARGUMENT',_0x166839[_0x166839[_0x1b0175(0x3fd)]=0x8]='TOO_MANY_REQUESTS',_0x166839[_0x166839['COMPLETION_FINISHED']=0x9]=_0x1b0175(0x18e),_0x166839[_0x166839['LOGIN_FAILED']=0xa]=_0x1b0175(0x264),_0x166839[_0x166839['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x166839[_0x166839['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x166839[_0x166839['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x1b0175(0x317),_0x166839[_0x166839[_0x1b0175(0x42f)]=0xe]=_0x1b0175(0x42f),_0x166839[_0x166839['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x166839[_0x166839['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1b0175(0x1a4),_0x166839[_0x166839[_0x1b0175(0x2ce)]=0x1772]=_0x1b0175(0x2ce),_0x166839[_0x166839[_0x1b0175(0x2fb)]=0x1773]=_0x1b0175(0x2fb),_0x166839[_0x166839[_0x1b0175(0x452)]=0x1b59]=_0x1b0175(0x452),_0x166839[_0x166839[_0x1b0175(0x298)]=0x1b5a]=_0x1b0175(0x298),_0x166839[_0x166839[_0x1b0175(0x1c6)]=0x1b5b]=_0x1b0175(0x1c6),_0x166839[_0x166839[_0x1b0175(0x45a)]=0x1b5c]=_0x1b0175(0x45a),_0x166839[_0x166839['APPLY_DUPLICATED']=0x1b5d]=_0x1b0175(0x376),_0x166839[_0x166839[_0x1b0175(0x3d6)]=0x1f41]=_0x1b0175(0x3d6),_0x166839[_0x166839['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1b0175(0x1c8),_0x166839[_0x166839[_0x1b0175(0x1a3)]=0x232a]=_0x1b0175(0x1a3),_0x166839[_0x166839['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x166839[_0x166839[_0x1b0175(0x3b9)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x166839[_0x166839['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1b0175(0x239),_0x166839[_0x166839[_0x1b0175(0x339)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x166839[_0x166839['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1b0175(0x284),_0x166839[_0x166839[_0x1b0175(0x465)]=0x2713]=_0x1b0175(0x465),_0x166839[_0x166839['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1b0175(0x44b),_0x166839[_0x166839[_0x1b0175(0x3a9)]=0x271a]=_0x1b0175(0x3a9),_0x166839[_0x166839[_0x1b0175(0x42e)]=0x271b]=_0x1b0175(0x42e),_0x166839[_0x166839[_0x1b0175(0x41b)]=0x271c]=_0x1b0175(0x41b),_0x166839[_0x166839[_0x1b0175(0x430)]=0x271d]=_0x1b0175(0x430),_0x166839[_0x166839[_0x1b0175(0x190)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x166839[_0x166839[_0x1b0175(0x3ba)]=0x271f]=_0x1b0175(0x3ba),_0x166839[_0x166839[_0x1b0175(0x35e)]=0x2720]=_0x1b0175(0x35e),_0x166839[_0x166839[_0x1b0175(0x3e3)]=0x2af9]=_0x1b0175(0x3e3),_0x166839[_0x166839[_0x1b0175(0x27f)]=0x2ee1]=_0x1b0175(0x27f),_0x166839[_0x166839[_0x1b0175(0x408)]=0x2ee2]=_0x1b0175(0x408),_0x166839[_0x166839[_0x1b0175(0x3fa)]=0x2ee3]=_0x1b0175(0x3fa),_0x166839[_0x166839[_0x1b0175(0x353)]=0x2ee4]=_0x1b0175(0x353),_0x166839[_0x166839[_0x1b0175(0x1b1)]=0x2ee5]=_0x1b0175(0x1b1),_0x166839[_0x166839['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x1b0175(0x3f5),_0x166839[_0x166839[_0x1b0175(0x1dd)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x166839[_0x166839[_0x1b0175(0x1f5)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x166839[_0x166839[_0x1b0175(0x282)]=-0x1]='UNRECOGNIZED',_0x166839))(vi||{}),Z=(_0x146968=>(_0x146968[_0x146968[_0x1b0175(0x2f4)]=0x0]=_0x1b0175(0x2f4),_0x146968[_0x146968[_0x1b0175(0x293)]=0x1]=_0x1b0175(0x293),_0x146968[_0x146968[_0x1b0175(0x245)]=0x2]=_0x1b0175(0x245),_0x146968[_0x146968['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x146968[_0x146968[_0x1b0175(0x201)]=0x4]=_0x1b0175(0x201),_0x146968[_0x146968['UNRECOGNIZED']=-0x1]=_0x1b0175(0x282),_0x146968))(Z||{}),F=(_0x27a044=>(_0x27a044[_0x27a044['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x27a044[_0x27a044['HELLO']=0x1]=_0x1b0175(0x2cb),_0x27a044[_0x27a044['JOIN']=0x2]=_0x1b0175(0x229),_0x27a044[_0x27a044['LEAVE']=0x3]=_0x1b0175(0x1b9),_0x27a044[_0x27a044[_0x1b0175(0x170)]=0x4]=_0x1b0175(0x170),_0x27a044[_0x27a044['HEARTBEAT']=0x5]='HEARTBEAT',_0x27a044[_0x27a044[_0x1b0175(0x368)]=0x6]=_0x1b0175(0x368),_0x27a044[_0x27a044[_0x1b0175(0x282)]=-0x1]='UNRECOGNIZED',_0x27a044))(F||{}),pe=(_0x424923=>(_0x424923[_0x424923[_0x1b0175(0x431)]=0x0]=_0x1b0175(0x431),_0x424923[_0x424923['OK']=0x1]='OK',_0x424923[_0x424923[_0x1b0175(0x3be)]=0x2]='FAIL',_0x424923[_0x424923[_0x1b0175(0x249)]=0x3e9]=_0x1b0175(0x249),_0x424923[_0x424923[_0x1b0175(0x367)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x424923[_0x424923['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x1b0175(0x1d2),_0x424923[_0x424923[_0x1b0175(0x1ae)]=0x3ec]=_0x1b0175(0x1ae),_0x424923[_0x424923['UNRECOGNIZED']=-0x1]=_0x1b0175(0x282),_0x424923))(pe||{}),pi=(_0x1d0efd=>(_0x1d0efd[_0x1d0efd['Undefined']=0x0]=_0x1b0175(0x1b3),_0x1d0efd[_0x1d0efd[_0x1b0175(0x3f7)]=0x1]=_0x1b0175(0x3f7),_0x1d0efd[_0x1d0efd['HttpExport']=0x2]=_0x1b0175(0x2b6),_0x1d0efd[_0x1d0efd[_0x1b0175(0x1b4)]=0x3]=_0x1b0175(0x1b4),_0x1d0efd[_0x1d0efd[_0x1b0175(0x40a)]=0x4]=_0x1b0175(0x40a),_0x1d0efd[_0x1d0efd[_0x1b0175(0x1e6)]=0x5]=_0x1b0175(0x1e6),_0x1d0efd[_0x1d0efd[_0x1b0175(0x282)]=-0x1]=_0x1b0175(0x282),_0x1d0efd))(pi||{});const Os=_0x1b0175(0x2a8);function bs(_0xf238df){var _0x13ac53=_0x1b0175;return JSON[_0x13ac53(0x445)](_0xf238df)[_0x13ac53(0x32a)];}var ne=(_0x27fd00=>(_0x27fd00[_0x1b0175(0x20d)]=_0x1b0175(0x20d),_0x27fd00[_0x1b0175(0x38b)]=_0x1b0175(0x38b),_0x27fd00['CONFLICT']='CONFLICT',_0x27fd00['CLOSE_ROOM']=_0x1b0175(0x2b2),_0x27fd00['JOIN_ROOM_FAILED']=_0x1b0175(0x32c),_0x27fd00[_0x1b0175(0x3d0)]=_0x1b0175(0x3d0),_0x27fd00[_0x1b0175(0x418)]='SOCKET_FAILED',_0x27fd00['SUBMIT_CHANGESET_TIMEOUT']=_0x1b0175(0x2d1),_0x27fd00))(ne||{});class ve{constructor(){var _0x23fb4f=_0x1b0175;N(this,_0x23fb4f(0x26f),new _0xbd57ee()),N(this,_0x23fb4f(0x207),this[_0x23fb4f(0x26f)][_0x23fb4f(0x28c)]());}['emitEvent'](_0x33d4f2){var _0x5c7fb9=_0x1b0175;this['_event$'][_0x5c7fb9(0x377)](_0x33d4f2);}}class mi{constructor(){var _0x1e980e=_0x1b0175;N(this,_0x1e980e(0x3ee),new _0xbd57ee()),N(this,'commentUpdate$',this['_commentUpdate$'][_0x1e980e(0x28c)]());}[_0x1b0175(0x3ac)](_0x141dac){var _0x24b58c=_0x1b0175;this[_0x24b58c(0x3ee)][_0x24b58c(0x377)](_0x141dac);}}var ys=Object[_0x1b0175(0x469)],Ns=(_0x625917,_0x3bf1c5,_0x2494b6,_0x160a98)=>{for(var _0x49010f=_0x160a98>0x1?void 0x0:_0x160a98?ys(_0x3bf1c5,_0x2494b6):_0x3bf1c5,_0x15dea0=_0x625917['length']-0x1,_0x3dbf4e;_0x15dea0>=0x0;_0x15dea0--)(_0x3dbf4e=_0x625917[_0x15dea0])&&(_0x49010f=_0x3dbf4e(_0x49010f)||_0x49010f);return _0x49010f;},Ft=(_0x5205fd,_0x29514e)=>(_0x29d305,_0x3861d5)=>_0x29514e(_0x29d305,_0x3861d5,_0x5205fd);let we=class extends _0x5b6ec2{constructor(_0x15b4d4,_0x5d270f){var _0x5ad07c=_0x1b0175;super(),N(this,_0x5ad07c(0x2be),new Map()),N(this,_0x5ad07c(0x3a7),new _0xbd57ee()),(this[_0x5ad07c(0x1cf)]=_0x15b4d4,this[_0x5ad07c(0x223)]=_0x5d270f,this[_0x5ad07c(0x188)](_0x3ec2c8(this[_0x5ad07c(0x1cf)][_0x5ad07c(0x436)](_0x4db1c1[_0x5ad07c(0x245)])[_0x5ad07c(0x3f2)](_0x2af321(_0x467a77=>_0x467a77[_0x5ad07c(0x3e5)]())),this['_univerInstanceService'][_0x5ad07c(0x436)](_0x4db1c1[_0x5ad07c(0x293)])[_0x5ad07c(0x3f2)](_0x2af321(_0x132db0=>_0x132db0[_0x5ad07c(0x3e5)]())),this['_univerInstanceService'][_0x5ad07c(0x436)](_0x4db1c1[_0x5ad07c(0x28b)])[_0x5ad07c(0x3f2)](_0x2af321(_0xc365fe=>_0xc365fe[_0x5ad07c(0x3e5)]())))[_0x5ad07c(0x17c)](_0x1b7d71=>this[_0x5ad07c(0x2ec)](_0x1b7d71))));}[_0x1b0175(0x464)](_0x2904a9){var _0x224336=_0x1b0175;return this[_0x224336(0x2be)][_0x224336(0x378)](_0x2904a9)?_0x2cf37a(this[_0x224336(0x2be)][_0x224336(0x41d)](_0x2904a9)):this[_0x224336(0x3a7)][_0x224336(0x3f2)](_0x2af321(_0x4b8740=>{var _0x1a893c=_0x224336;if(_0x4b8740===_0x2904a9)return this[_0x1a893c(0x2be)][_0x1a893c(0x41d)](_0x4b8740);}));}[_0x1b0175(0x28a)](_0xd671ac){var _0x381f29=_0x1b0175;this[_0x381f29(0x223)][_0x381f29(0x28a)](_0xd671ac);}[_0x1b0175(0x1f0)](){var _0x28b221=_0x1b0175;return this[_0x28b221(0x223)]['getCurrentUser']();}[_0x1b0175(0x44d)](_0x7b8bb3,_0x5d278d){var _0x50c5f9=_0x1b0175;let _0x2befcc=this[_0x50c5f9(0x2be)][_0x50c5f9(0x41d)](_0x7b8bb3);_0x2befcc||(_0x2befcc=new Ds(),this['_roomMembers'][_0x50c5f9(0x392)](_0x7b8bb3,_0x2befcc),this[_0x50c5f9(0x3a7)][_0x50c5f9(0x377)](_0x7b8bb3)),_0x2befcc[_0x50c5f9(0x44d)](_0x5d278d);}[_0x1b0175(0x261)](_0x4a7204,_0x24ed3f){var _0x12c263=_0x1b0175;const _0x479dee=this[_0x12c263(0x2be)][_0x12c263(0x41d)](_0x4a7204);_0x479dee&&_0x479dee[_0x12c263(0x261)](_0x24ed3f);}['getRoom'](_0x50dcf4){var _0x1a0881=_0x1b0175;return this[_0x1a0881(0x2be)]['get'](_0x50dcf4);}[_0x1b0175(0x23f)](_0x31d00d,_0x3a5ceb){var _0x294e85=_0x1b0175;const _0x2c0dfc=this[_0x294e85(0x2be)]['get'](_0x31d00d);if(_0x2c0dfc)return _0x2c0dfc[_0x294e85(0x23f)](_0x3a5ceb);}[_0x1b0175(0x2ec)](_0x25c775){var _0x317037=_0x1b0175;const _0x8cd556=this['_roomMembers'][_0x317037(0x41d)](_0x25c775);_0x8cd556&&(_0x8cd556[_0x317037(0x45c)](),this[_0x317037(0x2be)][_0x317037(0x1d1)](_0x25c775));}[_0x1b0175(0x45c)](){var _0xff9817=_0x1b0175;this[_0xff9817(0x2be)][_0xff9817(0x2c3)](_0x17b307=>_0x17b307['dispose']()),this[_0xff9817(0x2be)]['clear'](),this['_roomCreated$'][_0xff9817(0x374)]();}};we=Ns([Ft(0x0,_0x1465c0),Ft(0x1,_0x2350f5(_0x19ee4a))],we);class Ds extends _0x5b6ec2{constructor(){var _0x6a3b8=_0x1b0175;super(...arguments),N(this,_0x6a3b8(0x20c),new Map()),N(this,_0x6a3b8(0x34c),new _0x1babcb(this[_0x6a3b8(0x20c)])),N(this,_0x6a3b8(0x472),this['_members$'][_0x6a3b8(0x28c)]());}[_0x1b0175(0x45c)](){var _0x67a0f3=_0x1b0175;this[_0x67a0f3(0x20c)][_0x67a0f3(0x1bc)]();}['updateMember'](_0x542e9b){var _0x15a944=_0x1b0175;this[_0x15a944(0x20c)]['set'](_0x542e9b[_0x15a944(0x2de)],_0x542e9b),this[_0x15a944(0x19b)]();}[_0x1b0175(0x261)](_0x1a2765){var _0x44e110=_0x1b0175;this[_0x44e110(0x20c)][_0x44e110(0x1d1)](_0x1a2765);}[_0x1b0175(0x23f)](_0x5b6241){var _0x210c32=_0x1b0175;return this[_0x210c32(0x20c)][_0x210c32(0x41d)](_0x5b6241);}[_0x1b0175(0x311)](){var _0x5356c4=_0x1b0175;return Array[_0x5356c4(0x21f)](this[_0x5356c4(0x20c)][_0x5356c4(0x3d4)]());}[_0x1b0175(0x19b)](){var _0xa4272c=_0x1b0175;this['_members$'][_0xa4272c(0x377)](this[_0xa4272c(0x20c)]);}}var Us=Object[_0x1b0175(0x469)],As=(_0x5c6b86,_0x282de8,_0x2f8fb0,_0x339a94)=>{var _0x5837fd=_0x1b0175;for(var _0x5285a9=_0x339a94>0x1?void 0x0:_0x339a94?Us(_0x282de8,_0x2f8fb0):_0x282de8,_0x146f76=_0x5c6b86[_0x5837fd(0x32a)]-0x1,_0x3d55bb;_0x146f76>=0x0;_0x146f76--)(_0x3d55bb=_0x5c6b86[_0x146f76])&&(_0x5285a9=_0x3d55bb(_0x5285a9)||_0x5285a9);return _0x5285a9;},Ce=(_0x52bb68,_0x5a865f)=>(_0x12c8dd,_0x1d29fd)=>_0x5a865f(_0x12c8dd,_0x1d29fd,_0x52bb68),ge=(_0x3f8547=>(_0x3f8547[_0x3f8547[_0x1b0175(0x459)]=0x0]=_0x1b0175(0x459),_0x3f8547[_0x3f8547[_0x1b0175(0x3e7)]=0x1]=_0x1b0175(0x3e7),_0x3f8547[_0x3f8547[_0x1b0175(0x286)]=0x2]='OFFLINE',_0x3f8547[_0x3f8547[_0x1b0175(0x1bf)]=0x3]=_0x1b0175(0x1bf),_0x3f8547))(ge||{});const Vt={[pe['FAIL']]:_0x1b0175(0x1cc),[pe[_0x1b0175(0x249)]]:'session.room-full',[pe[_0x1b0175(0x367)]]:_0x1b0175(0x33c),[pe['JOIN_ROOM_PERMISSION_DENIED']]:_0x1b0175(0x38d),[pe[_0x1b0175(0x1ae)]]:_0x1b0175(0x450)};let gt=class extends _0x1947f8{constructor(_0x2b5594,_0x15e4e1,_0xfa06d3,_0xc53c9f,_0x34b218,_0xaa7347,_0x216a0c,_0x549bda){var _0x77a736=_0x1b0175;super(),N(this,_0x77a736(0x283),new _0x1babcb(0x0)),N(this,_0x77a736(0x334),this[_0x77a736(0x283)][_0x77a736(0x28c)]()),N(this,_0x77a736(0x26f),new _0xbd57ee()),N(this,_0x77a736(0x207),this[_0x77a736(0x26f)][_0x77a736(0x28c)]()),N(this,_0x77a736(0x1a1)),N(this,_0x77a736(0x214)),N(this,_0x77a736(0x3fc)),N(this,_0x77a736(0x22c),!0x1),N(this,'_telemetryInfo',null),(this[_0x77a736(0x292)]=_0x2b5594,this[_0x77a736(0x362)]=_0xfa06d3,this[_0x77a736(0x3d9)]=_0xc53c9f,this[_0x77a736(0x251)]=_0x34b218,this['_commentService']=_0xaa7347,this[_0x77a736(0x38f)]=_0x216a0c,this['_telemetryService']=_0x549bda,this[_0x77a736(0x22c)]=!!this[_0x77a736(0x3c1)],_0x15e4e1[_0x77a736(0x3f2)](_0x43488c(this[_0x77a736(0x185)]))[_0x77a736(0x17c)](_0x5f0e68=>{var _0x28b33f=_0x77a736,_0x37ad61;typeof _0x5f0e68>'u'||(this[_0x28b33f(0x1a1)]=_0x5f0e68,_0x5f0e68?(this[_0x28b33f(0x1dc)](_0x5f0e68),this[_0x28b33f(0x214)]=_0x5f0e68[_0x28b33f(0x220)][_0x28b33f(0x17c)](_0xe78cb9=>{var _0x5a2d07=_0x28b33f;_0xe78cb9[_0x5a2d07(0x1d7)]===this[_0x5a2d07(0x292)]&&this['_onCombEvent'](_0xe78cb9);})):(this[_0x28b33f(0x202)](),this[_0x28b33f(0x283)]['next'](0x2),(_0x37ad61=this[_0x28b33f(0x214)])==null||_0x37ad61[_0x28b33f(0x417)](),this[_0x28b33f(0x214)]=null));}));}get['sessionStatus'](){var _0x279962=_0x1b0175;return this[_0x279962(0x283)][_0x279962(0x3f4)]();}[_0x1b0175(0x318)](){var _0x2f1537=_0x1b0175,_0x10fb53,_0x426680;return(_0x426680=(_0x10fb53=this[_0x2f1537(0x1a1)])==null?void 0x0:_0x10fb53['memberID'])!=null?_0x426680:null;}['dispose'](){var _0x4a7730=_0x1b0175;super[_0x4a7730(0x45c)](),this['dispose$'][_0x4a7730(0x377)](),this[_0x4a7730(0x185)][_0x4a7730(0x374)]();}[_0x1b0175(0x3fe)](){var _0x519ed8=_0x1b0175,_0x1b9e50,_0x3d6ed8;this[_0x519ed8(0x202)](),(_0x1b9e50=this[_0x519ed8(0x1a1)])==null||_0x1b9e50[_0x519ed8(0x2a5)]({'cmd':F[_0x519ed8(0x1b9)],'data':{'roomID':this['_unitID']}}),(_0x3d6ed8=this['_socket'])==null||_0x3d6ed8[_0x519ed8(0x3fe)](),this['_event$'][_0x519ed8(0x374)](),this[_0x519ed8(0x283)][_0x519ed8(0x374)](),this['dispose']();}[_0x1b0175(0x1a5)](_0x2027fd){var _0x3e08d6=_0x1b0175;_0x2027fd[_0x3e08d6(0x342)]===F[_0x3e08d6(0x229)]?this[_0x3e08d6(0x2ab)](_0x2027fd):_0x2027fd['cmd']===F[_0x3e08d6(0x368)]&&this[_0x3e08d6(0x263)](_0x2027fd);}['_joinRoom'](_0x1e87df){var _0x2ab6ed=_0x1b0175;this[_0x2ab6ed(0x283)][_0x2ab6ed(0x377)](0x1),_0x1e87df[_0x2ab6ed(0x2a5)]({'cmd':F['JOIN'],'routeKey':this[_0x2ab6ed(0x292)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2ab6ed(0x292)]}]}});}[_0x1b0175(0x2ab)](_0x5873de){var _0x589f28=_0x1b0175,_0x29c38b;if(_0x5873de[_0x589f28(0x1fe)]in Vt){this[_0x589f28(0x38f)][_0x589f28(0x29e)]({'id':ne[_0x589f28(0x32c)],'data':Vt[_0x5873de['code']]}),this[_0x589f28(0x283)][_0x589f28(0x377)](0x2);return;}this[_0x589f28(0x283)][_0x589f28(0x377)](0x3);const _0x2e10c9=(_0x29c38b=_0x5873de[_0x589f28(0x219)][_0x589f28(0x2c9)][this[_0x589f28(0x292)]])==null?void 0x0:_0x29c38b[_0x589f28(0x328)];_0x2e10c9&&_0x2e10c9[_0x589f28(0x2c3)](_0x530c79=>this[_0x589f28(0x251)][_0x589f28(0x44d)](this[_0x589f28(0x292)],_0x530c79));}['_onRecvEvent'](_0x2e76a4){var _0x4a3721=_0x1b0175;try{const _0x1ac9ab=_0x2e76a4[_0x4a3721(0x219)];switch(_0x1ac9ab[_0x4a3721(0x2d6)]){case _0x270543[_0x4a3721(0x240)]:this['_onUserJoin'](_0x1ac9ab),this['_event$']['next'](_0x1ac9ab);break;case _0x270543[_0x4a3721(0x300)]:this[_0x4a3721(0x2ca)](_0x1ac9ab),this[_0x4a3721(0x26f)][_0x4a3721(0x377)](_0x1ac9ab);break;case _0x270543[_0x4a3721(0x326)]:case _0x270543[_0x4a3721(0x461)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x4a3721(0x280)](),this[_0x4a3721(0x26f)][_0x4a3721(0x377)](_0x1ac9ab);break;case _0x270543['MSG_FOR_ERROR']:this[_0x4a3721(0x362)][_0x4a3721(0x31f)](_0x4a3721(0x2b4)+JSON[_0x4a3721(0x445)](_0x1ac9ab)),this['_event$'][_0x4a3721(0x377)](_0x1ac9ab);break;case _0x270543[_0x4a3721(0x226)]:this[_0x4a3721(0x228)][_0x4a3721(0x3ac)](_0x1ac9ab[_0x4a3721(0x219)]),this[_0x4a3721(0x26f)][_0x4a3721(0x377)](_0x1ac9ab);break;default:this[_0x4a3721(0x26f)]['next'](_0x1ac9ab);}}catch(_0x80c70f){this[_0x4a3721(0x362)][_0x4a3721(0x31f)](_0x80c70f,_0x2e76a4);}}[_0x1b0175(0x405)](_0x3fc688){var _0x44f1a1=_0x1b0175;this[_0x44f1a1(0x251)][_0x44f1a1(0x44d)](this[_0x44f1a1(0x292)],_0x3fc688[_0x44f1a1(0x219)]);}[_0x1b0175(0x2ca)](_0x20fc62){var _0x9d9cd7=_0x1b0175;this[_0x9d9cd7(0x251)][_0x9d9cd7(0x261)](this['_unitID'],_0x20fc62[_0x9d9cd7(0x219)][_0x9d9cd7(0x2de)]);}async['send'](_0x30a57d,_0x2017a7){var _0x2e8b57=_0x1b0175;if(this[_0x2e8b57(0x2bd)]!==0x3||!this[_0x2e8b57(0x1a1)])throw new Error(_0x2e8b57(0x21a));try{_0x30a57d[_0x2e8b57(0x2d6)]===_0x270543['SUBMIT_CHANGESET']&&(this[_0x2e8b57(0x312)](),this[_0x2e8b57(0x2d5)](_0x30a57d)),this[_0x2e8b57(0x1a1)][_0x2e8b57(0x2a5)]({'cmd':F[_0x2e8b57(0x170)],'routeKey':_0x2017a7,'routeType':'','data':_0x30a57d});}catch(_0x5c086f){this[_0x2e8b57(0x362)][_0x2e8b57(0x31f)](_0x5c086f);}}[_0x1b0175(0x312)](){var _0x489872=_0x1b0175,_0x306a94;this[_0x489872(0x3fc)]=setTimeout(()=>{var _0x401c91=_0x489872;this['_collaborationTimeoutTimer']=null,this[_0x401c91(0x38f)][_0x401c91(0x29e)]({'id':ne[_0x401c91(0x2d1)]});},(_0x306a94=this[_0x489872(0x3d9)][_0x489872(0x2d4)](di))!=null?_0x306a94:fi);}[_0x1b0175(0x280)](){var _0x87205c=_0x1b0175;this[_0x87205c(0x3fc)]&&(clearTimeout(this[_0x87205c(0x3fc)]),this[_0x87205c(0x3fc)]=null);}[_0x1b0175(0x2d5)](_0x121791){var _0x494fa5=_0x1b0175;if(!this[_0x494fa5(0x22c)])return;const {data:_0x1bf18f}=_0x121791,{unitID:_0x26420f,changeset:_0x407ead}=_0x1bf18f,{mutations:_0x9c7d4f,type:_0x281faa}=_0x407ead;this[_0x494fa5(0x23b)]={'unitId':_0x26420f,'type':_0x281faa,'startTime':performance[_0x494fa5(0x1f4)](),'stopTime':0x0,'duration':0x0,'size':bs(_0x9c7d4f)};}[_0x1b0175(0x222)](){var _0x223f33=_0x1b0175;if(this[_0x223f33(0x22c)]){if(!this['_telemetryInfo']){this['_logService'][_0x223f33(0x31f)](_0x223f33(0x2c1),_0x223f33(0x444));return;}this[_0x223f33(0x23b)]['stopTime']=performance[_0x223f33(0x1f4)](),this[_0x223f33(0x23b)][_0x223f33(0x38a)]=this[_0x223f33(0x23b)][_0x223f33(0x449)]-this['_telemetryInfo'][_0x223f33(0x1db)],this[_0x223f33(0x3c1)][_0x223f33(0x241)](Os,this[_0x223f33(0x23b)]),this[_0x223f33(0x23b)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x2d51ce=_0x1b0175;this[_0x2d51ce(0x23b)]=null;}};gt=As([Ce(0x2,_0x27c895),Ce(0x3,_0x39ec1e),Ce(0x4,_0x2350f5(we)),Ce(0x5,_0x2350f5(mi)),Ce(0x6,_0x2350f5(ve)),Ce(0x7,_0x364642(_0x4a9116))],gt);const J=_0x2c3a23(_0x1b0175(0x34f));function br(_0xde80e9){var _0x14f6d8=_0x1b0175;return _0x14f6d8(0x2fc)+_0xde80e9;}var ws=Object[_0x1b0175(0x469)],Ps=(_0x1b6631,_0x12f03c,_0x27baac,_0x4fbc23)=>{for(var _0x385727=_0x4fbc23>0x1?void 0x0:_0x4fbc23?ws(_0x12f03c,_0x27baac):_0x12f03c,_0x42dc0f=_0x1b6631['length']-0x1,_0x261725;_0x42dc0f>=0x0;_0x42dc0f--)(_0x261725=_0x1b6631[_0x42dc0f])&&(_0x385727=_0x261725(_0x385727)||_0x385727);return _0x385727;},ut=(_0x166947,_0x14183d)=>(_0x297b5a,_0x4fe805)=>_0x14183d(_0x297b5a,_0x4fe805,_0x166947);function Ms(_0x3106f4){var _0x4041c8=_0x1b0175;const {unitID:_0x504de0,mutations:_0x7fc59c}=_0x3106f4;return{'unitId':_0x504de0,'subUnitId':_0x7fc59c[0x0]['params'][_0x4041c8(0x233)]};}let it=class{constructor(_0x3a76e9,_0xbce8,_0x350621){var _0x59b9e6=_0x1b0175;this[_0x59b9e6(0x295)]=_0x3a76e9,this[_0x59b9e6(0x3ab)]=_0xbce8,this[_0x59b9e6(0x301)]=_0x350621;}[_0x1b0175(0x356)](_0x525683){var _0x45cf70=_0x1b0175,_0x94837a,_0x10db4b,_0x45f63c,_0x205971;const _0x351a9c=this[_0x45cf70(0x295)]['get'](_0x44ba87),{unitId:_0x26d4cf,subUnitId:_0x24269e}=Ms(_0x525683),_0x46c35d=_0x351a9c==null?void 0x0:_0x351a9c[_0x45cf70(0x3ce)](_0x26d4cf)[_0x45cf70(0x277)](),_0x20b257=(_0x10db4b=(_0x94837a=this[_0x45cf70(0x301)][_0x45cf70(0x2f3)](_0x26d4cf))==null?void 0x0:_0x94837a['getActiveSheet']())==null?void 0x0:_0x10db4b['getSheetId']();if(_0x46c35d[_0x45cf70(0x32a)]===0x0||!_0x26d4cf||!_0x24269e)return;const _0x5408de=[{'id':_0x2bcc14['id'],'params':{'unitId':_0x26d4cf,'subUnitId':_0x20b257,'selections':_0x48f3be[_0x45cf70(0x3bb)](_0x46c35d)}}],_0x2659b5=this[_0x45cf70(0x3ab)]['transformMutationsWithChangeset'](_0x525683,_0x5408de);if(!_0x125d13(_0x2659b5))throw _0x2659b5[_0x45cf70(0x31f)];const _0x1f198e=(_0x205971=(_0x45f63c=_0x2659b5[_0x45cf70(0x3c4)][0x0])==null?void 0x0:_0x45f63c[_0x45cf70(0x2e9)])==null?void 0x0:_0x205971['selections'];if(Array[_0x45cf70(0x1f3)](_0x1f198e)&&_0x1f198e[_0x45cf70(0x32a)]){if(_0x1f198e[_0x45cf70(0x32a)]===_0x5408de[0x0][_0x45cf70(0x2e9)][_0x45cf70(0x460)][_0x45cf70(0x32a)]&&_0x1f198e[_0x45cf70(0x1bd)]((_0x48029e,_0x365b8d)=>_0xb4aff[_0x45cf70(0x2db)](_0x48029e[_0x45cf70(0x373)],_0x5408de[0x0]['params']['selections'][_0x365b8d]['range'])))return;this['_injector'][_0x45cf70(0x41d)](_0x5c1e8c)[_0x45cf70(0x384)](_0x2bcc14['id'],{'unitId':_0x26d4cf,'subUnitId':_0x20b257,'selections':_0x1f198e});}}};it=Ps([ut(0x0,_0x2350f5(_0x4fef0a)),ut(0x1,_0x21e51c),ut(0x2,_0x1465c0)],it);const ht=_0x2c3a23(_0x1b0175(0x43d));var gi=(_0x2f9e63=>(_0x2f9e63[_0x2f9e63[_0x1b0175(0x478)]=0x0]=_0x1b0175(0x478),_0x2f9e63[_0x2f9e63[_0x1b0175(0x29d)]=0x1]=_0x1b0175(0x29d),_0x2f9e63))(gi||{});const K='collaboration-client.config',Ls={},xs=new Set([_0x55805a['id']]);function Wt(_0x2105e6,_0x4cd864,_0x5bfbfe,_0x479710,_0xa6aa47){var _0x297de7=_0x1b0175,_0x495cfa,_0x8245aa,_0x45624a,_0x921b58;const _0x3ae7ad=[];for(const _0x410513 of _0x2105e6)if(xs['has'](_0x410513['id'])){if(_0x3ae7ad[_0x297de7(0x32a)]>0x0)break;_0x3ae7ad['push'](_0x410513);break;}else _0x3ae7ad[_0x297de7(0x1ac)](_0x410513);const _0x10ec5b=(_0x8245aa=(_0x495cfa=_0xa6aa47[_0x297de7(0x1f0)]())==null?void 0x0:_0x495cfa[_0x297de7(0x262)])!=null?_0x8245aa:_0x297de7(0x3bd),_0x5e0a77=(_0x921b58=(_0x45624a=_0xa6aa47['getCurrentUser']())==null?void 0x0:_0x45624a[_0x297de7(0x2de)])!=null?_0x921b58:_0x297de7(0x3bd);return{'changeset':{'unitID':_0x4cd864,'type':_0x50b966(_0x5bfbfe['getUnitType'](_0x4cd864)),'baseRev':_0x479710['getCurrentRevOfUnit'](_0x4cd864),'revision':0x0,'userID':_0x10ec5b,'memberID':_0x5e0a77,'mutations':_0x3ae7ad},'pendingMutations':_0x2105e6['slice'](_0x3ae7ad[_0x297de7(0x32a)])};}function ks(_0x2c1313,_0x18dfab,_0x392b2d,_0x23e5d6,_0x1ff9d5){var _0x274c33=_0x1b0175,_0x48ddc6,_0x5164e3,_0x27656c,_0x42fcfc;const _0x497aef=[_0x2c1313['reduce']((_0x3d3fdb,_0x54b2a1)=>{var _0x24720a=_0x33ac,_0x5b2ca2;const {id:_0x1c9ce5}=_0x3d3fdb,{id:_0x5524d4,type:_0x4f2dcb}=_0x54b2a1,_0x4a302d=(_0x5b2ca2=_0x3d3fdb[_0x24720a(0x2e9)])!=null?_0x5b2ca2:{'actions':null},_0x5b7436=_0x54b2a1['params'];if(_0x1c9ce5&&_0x1c9ce5!==_0x5524d4)throw new Error(_0x24720a(0x473)+_0x1c9ce5+'\x20-\x20'+_0x5524d4+'.');return{..._0x3d3fdb,'id':_0x5524d4,'type':_0x4f2dcb,'params':{'unitId':_0x5b7436[_0x24720a(0x359)],'textRanges':_0x5b7436[_0x24720a(0x18f)],'actions':_0x20ee78[_0x24720a(0x2a4)](_0x4a302d['actions'],_0x5b7436[_0x24720a(0x24d)])}};},{})],_0x2b297d=(_0x5164e3=(_0x48ddc6=_0x1ff9d5[_0x274c33(0x1f0)]())==null?void 0x0:_0x48ddc6[_0x274c33(0x262)])!=null?_0x5164e3:'unknown',_0x21dfee=(_0x42fcfc=(_0x27656c=_0x1ff9d5[_0x274c33(0x1f0)]())==null?void 0x0:_0x27656c[_0x274c33(0x2de)])!=null?_0x42fcfc:'unknown';return{'changeset':{'unitID':_0x18dfab,'type':_0x50b966(_0x392b2d[_0x274c33(0x38c)](_0x18dfab)),'baseRev':_0x23e5d6[_0x274c33(0x1ea)](_0x18dfab),'revision':0x0,'userID':_0x2b297d,'memberID':_0x21dfee,'mutations':_0x497aef},'pendingMutations':[]};}function Si(_0xde90f1,_0x2e1b08){var _0x377655=_0x1b0175;const _0x37783d=new _0x5b3914(0x1);return setTimeout(()=>_0x37783d[_0x377655(0x377)](_0x2e1b08),_0xde90f1),_0x37783d['asObservable']()[_0x377655(0x3f2)](_0x1ebb68(0x1));}const $s={'id':_0x39779e['id'],'type':_0x4f80e7[_0x1b0175(0x177)],'params':{}};var Hs=Object[_0x1b0175(0x469)],Ee=(_0xccbc7d,_0x5dccdc,_0x570dc7,_0x22fa4d)=>{var _0xf3f523=_0x1b0175;for(var _0x55cd9b=_0x22fa4d>0x1?void 0x0:_0x22fa4d?Hs(_0x5dccdc,_0x570dc7):_0x5dccdc,_0x567573=_0xccbc7d[_0xf3f523(0x32a)]-0x1,_0x41cd49;_0x567573>=0x0;_0x567573--)(_0x41cd49=_0xccbc7d[_0x567573])&&(_0x55cd9b=_0x41cd49(_0x55cd9b)||_0x55cd9b);return _0x55cd9b;},P=(_0x520185,_0x3b7def)=>(_0x591b23,_0x8cab3b)=>_0x3b7def(_0x591b23,_0x8cab3b,_0x520185),Ei=(_0x514d7c=>(_0x514d7c[_0x1b0175(0x258)]='not_collab',_0x514d7c[_0x1b0175(0x1ca)]=_0x1b0175(0x2ff),_0x514d7c[_0x1b0175(0x1ec)]=_0x1b0175(0x1e5),_0x514d7c[_0x1b0175(0x40c)]=_0x1b0175(0x320),_0x514d7c['AWAITING_WITH_PENDING']=_0x1b0175(0x1f1),_0x514d7c[_0x1b0175(0x289)]=_0x1b0175(0x410),_0x514d7c[_0x1b0175(0x1a7)]=_0x1b0175(0x173),_0x514d7c[_0x1b0175(0x286)]=_0x1b0175(0x3b3),_0x514d7c))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x52a54e,_0x471a8e,_0x112947,_0x514d13,_0x23cb85,_0x1c25e0,_0x2dfdcc,_0x23e967,_0x51a701){var _0x44338=_0x1b0175;N(this,_0x44338(0x307),null),N(this,_0x44338(0x456),[]),(this[_0x44338(0x2a9)]=_0x52a54e,this[_0x44338(0x279)]=_0x471a8e,this['_handler']=_0x23cb85,this[_0x44338(0x371)]=_0x1c25e0,this[_0x44338(0x46a)]=_0x2dfdcc,this['_revisionService']=_0x23e967,this[_0x44338(0x32d)]=_0x51a701,this[_0x44338(0x307)]=_0x112947,this[_0x44338(0x456)]=_0x514d13);}[_0x1b0175(0x1c2)](_0x2386b9){var _0x4a9ec8=_0x1b0175;const _0x2998fd=this[_0x4a9ec8(0x30c)]['getCurrentRevOfUnit'](this[_0x4a9ec8(0x2a9)]);return _0x2386b9[_0x4a9ec8(0x2b5)]>_0x2998fd+0x1?(this[_0x4a9ec8(0x3d8)][_0x4a9ec8(0x3d2)]({'from':_0x2998fd,'to':_0x2386b9[_0x4a9ec8(0x2b5)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x463208){var _0xfb24ab=_0x1b0175;this['_undoRedoService'][_0xfb24ab(0x3c7)](this[_0xfb24ab(0x2a9)],_0x463208);}[_0x1b0175(0x1ce)](_0x229e5b){var _0x2dc011=_0x1b0175,_0x516590,_0x2bf03f;(_0x2bf03f=(_0x516590=this['_handler'])[_0x2dc011(0x265)])==null||_0x2bf03f[_0x2dc011(0x21d)](_0x516590,_0x229e5b);}['_transformIMECache'](_0x394178){var _0xe6a75a=_0x1b0175,_0xb58815,_0x42065f;return(_0x42065f=(_0xb58815=this[_0xe6a75a(0x3d8)])[_0xe6a75a(0x448)])==null?void 0x0:_0x42065f[_0xe6a75a(0x21d)](_0xb58815,_0x394178);}['_transformStateCache'](_0x26dd1b){var _0x42652c=_0x1b0175,_0x40f6a1,_0x50e853;return(_0x50e853=(_0x40f6a1=this[_0x42652c(0x3d8)])[_0x42652c(0x455)])==null?void 0x0:_0x50e853[_0x42652c(0x21d)](_0x40f6a1,_0x26dd1b);}[_0x1b0175(0x2d3)](_0x204608){var _0x2e2ff0=_0x1b0175,_0xc2b8,_0x1c363e,_0x37ed16;return(_0x37ed16=(_0x1c363e=(_0xc2b8=this['_handler'])[_0x2e2ff0(0x466)])==null?void 0x0:_0x1c363e[_0x2e2ff0(0x21d)](_0xc2b8,_0x204608))!=null?_0x37ed16:_0x204608;}['_transformRemoteChangesetByStateCache'](_0x2a5688){var _0x56aa73=_0x1b0175,_0x24c2df,_0x71f235,_0x3d8f9b;return(_0x3d8f9b=(_0x71f235=(_0x24c2df=this[_0x56aa73(0x3d8)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x71f235[_0x56aa73(0x21d)](_0x24c2df,_0x2a5688))!=null?_0x3d8f9b:_0x2a5688;}[_0x1b0175(0x451)](_0x5b1a4d){var _0x2754be=_0x1b0175,_0x5ca6a2,_0x115d78;if(this[_0x2754be(0x279)]===Z['UNIVER_DOC']){const {unitID:_0xe5c985,mutations:_0x589efd,memberID:_0x2da1eb}=_0x5b1a4d,_0x215984=_0x589efd[0x0][_0x2754be(0x2e9)][_0x2754be(0x18f)];Array[_0x2754be(0x1f3)](_0x215984)&&_0x215984['length']>0x0&&((_0x115d78=(_0x5ca6a2=this[_0x2754be(0x3d8)])[_0x2754be(0x33a)])==null||_0x115d78[_0x2754be(0x21d)](_0x5ca6a2,{'unitID':_0xe5c985,'memberID':_0x2da1eb,'textRanges':_0x215984}));}}['_updateLocalCache'](){var _0x30f19a=_0x1b0175,_0x497b04;(_0x497b04=this['_localCacheService'])==null||_0x497b04[_0x30f19a(0x267)](this[_0x30f19a(0x2a9)],this[_0x30f19a(0x279)],this[_0x30f19a(0x307)],this[_0x30f19a(0x456)]);}[_0x1b0175(0x411)](){var _0x5085f9=_0x1b0175;return this[_0x5085f9(0x30c)][_0x5085f9(0x1ea)](this['unitID']);}[_0x1b0175(0x36b)](){var _0x585f6d=_0x1b0175;this[_0x585f6d(0x30c)][_0x585f6d(0x322)](this[_0x585f6d(0x2a9)]);}[_0x1b0175(0x2e0)](_0x5bf3cc){var _0x126ae2=_0x1b0175,_0x14749f;let _0x2d091b=this[_0x126ae2(0x2d3)](_0x5bf3cc);_0x2d091b=this[_0x126ae2(0x3c5)](_0x2d091b);const _0x555579=_0x3751f6(_0x2d091b['mutations'],this[_0x126ae2(0x371)],{'fromCollab':!0x0});if(!_0x555579[_0x126ae2(0x1ad)])throw _0x555579[_0x126ae2(0x31f)]instanceof Error?_0x555579[_0x126ae2(0x31f)]:new Error((_0x14749f=_0x555579[_0x126ae2(0x31f)])!=null?_0x14749f:_0x126ae2(0x35b));this[_0x126ae2(0x3b2)](_0x2d091b),this[_0x126ae2(0x2af)](_0x2d091b),this[_0x126ae2(0x355)](_0x5bf3cc),this[_0x126ae2(0x1ce)](_0x2d091b),this[_0x126ae2(0x451)](_0x2d091b),this[_0x126ae2(0x36b)]();}}let ye=class extends Ie{constructor(_0x4f563b,_0x2adabc,_0x52d184,_0x381c3d,_0xfe0489,_0x39608a,_0x58f315,_0x24cccf,_0x40ddbb,_0x198960){var _0x1c84ea=_0x1b0175;super(_0x4f563b,_0x2adabc,null,[],_0x52d184,_0x58f315,_0x39608a,_0x381c3d,_0x198960),N(this,_0x1c84ea(0x27c),_0x1c84ea(0x2ff)),(this[_0x1c84ea(0x295)]=_0xfe0489,this[_0x1c84ea(0x362)]=_0x24cccf,this[_0x1c84ea(0x3ab)]=_0x40ddbb,this[_0x1c84ea(0x1a6)]=_0x198960);}[_0x1b0175(0x3cb)](_0x3d64c3){var _0x1d9f8a=_0x1b0175;const _0x2e5547=this[_0x1d9f8a(0x295)][_0x1d9f8a(0x209)](re,this[_0x1d9f8a(0x2a9)],this[_0x1d9f8a(0x279)],[_0x3d64c3],this[_0x1d9f8a(0x3d8)]);return _0x2e5547[_0x1d9f8a(0x266)](),_0x2e5547[_0x1d9f8a(0x2c5)](),_0x2e5547;}[_0x1b0175(0x2e3)](_0x3d71a5){var _0x464a8d=_0x1b0175;if(this['_checkMissing'](_0x3d71a5))return this[_0x464a8d(0x295)]['createInstance'](Q,this[_0x464a8d(0x2a9)],this[_0x464a8d(0x279)],null,[],null,[_0x3d71a5],this['_handler']);try{const _0x13e93c=this['_transformService'][_0x464a8d(0x244)](_0x3d71a5,[$s]);if(_0x125d13(_0x13e93c)){const {c1Prime:_0x201121}=_0x13e93c;return this[_0x464a8d(0x2e0)](_0x201121),this;}throw _0x13e93c[_0x464a8d(0x31f)];}catch(_0x2526b1){return this[_0x464a8d(0x362)]['error'](_0x2526b1),this[_0x464a8d(0x179)](!0x1);}}['_onConflict'](_0x535981){var _0x550c74=_0x1b0175;return this[_0x550c74(0x295)]['createInstance'](le,this[_0x550c74(0x2a9)],this[_0x550c74(0x279)],null,[],this['_handler'],_0x535981);}[_0x1b0175(0x352)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x34831c=_0x1b0175;throw new Error(_0x34831c(0x1d5));}[_0x1b0175(0x2c4)](){return this;}['toggleOffline'](){var _0x1c70dd=_0x1b0175;return this[_0x1c70dd(0x295)]['createInstance'](ue,this[_0x1c70dd(0x2a9)],this['type'],null,[],this[_0x1c70dd(0x3d8)]);}[_0x1b0175(0x365)](){return this;}['resend'](){var _0x1cae85=_0x1b0175;throw new Error(_0x1cae85(0x330));}['fetchMiss'](){var _0x440aee=_0x1b0175;const _0x3de897=this['_revisionService'][_0x440aee(0x1ea)](this['unitID']);return this[_0x440aee(0x3d8)][_0x440aee(0x3d2)]({'from':_0x3de897,'to':0x0}),this['_injector'][_0x440aee(0x209)](Q,this[_0x440aee(0x2a9)],this['type'],null,[],null,[],this[_0x440aee(0x3d8)]);}};ye=Ee([P(0x3,_0x2350f5(_0x1b2f89)),P(0x4,_0x2350f5(_0x4fef0a)),P(0x5,_0x2c5918),P(0x6,_0x5c1e8c),P(0x7,_0x27c895),P(0x8,_0x21e51c),P(0x9,_0x364642(J))],ye);let re=class extends Ie{constructor(_0x3fcb1c,_0x9282fd,_0x196dfb,_0x570403,_0x5e4c13,_0x5aca5c,_0x3a5e6f,_0x584851,_0x11661f,_0x3f2aeb,_0x1a1ce2,_0x2a3f59,_0x4ce70d,_0x3781e7){var _0x388e99=_0x1b0175;super(_0x3fcb1c,_0x9282fd,null,_0x196dfb,_0x570403,_0x11661f,_0x4ce70d,_0x5aca5c,_0x3781e7),N(this,_0x388e99(0x27c),_0x388e99(0x1e5)),N(this,_0x388e99(0x3b4),null),N(this,'_sendingTimer',null),(this[_0x388e99(0x295)]=_0x5e4c13,this[_0x388e99(0x251)]=_0x3a5e6f,this['_logService']=_0x584851,this[_0x388e99(0x3d9)]=_0x3f2aeb,this['_transformService']=_0x1a1ce2,this[_0x388e99(0x1cf)]=_0x2a3f59);}[_0x1b0175(0x3cb)](_0x30f89e){var _0x5d85d8=_0x1b0175;return this[_0x5d85d8(0x456)][_0x5d85d8(0x1ac)](_0x30f89e),this[_0x5d85d8(0x2c5)](),this;}[_0x1b0175(0x2e3)](_0x4b7afb){var _0x11cf0f=_0x1b0175;if(this[_0x11cf0f(0x1c2)](_0x4b7afb))return this[_0x11cf0f(0x3b6)](),this[_0x11cf0f(0x295)]['createInstance'](Q,this[_0x11cf0f(0x2a9)],this['type'],null,this[_0x11cf0f(0x456)],null,[_0x4b7afb],this[_0x11cf0f(0x3d8)]);try{const _0x490ab2=this['_transformService']['transformMutationsWithChangeset'](_0x4b7afb,this[_0x11cf0f(0x456)]);if(_0x125d13(_0x490ab2)){const {c1Prime:_0xb24b7,m2Prime:_0x2439e0}=_0x490ab2;this[_0x11cf0f(0x2e0)](_0xb24b7);const _0x1b7fab=this['_injector']['createInstance'](re,this[_0x11cf0f(0x2a9)],this[_0x11cf0f(0x279)],_0x2439e0,this[_0x11cf0f(0x3d8)]);this[_0x11cf0f(0x3b6)]();const _0x4ec638=new Date()[_0x11cf0f(0x400)](),_0x3498d9=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x11cf0f(0x3b4)]-_0x4ec638,0x0):this['_getSendChangesetTimeout']();return _0x1b7fab[_0x11cf0f(0x266)](_0x3498d9),_0x1b7fab;}throw _0x490ab2[_0x11cf0f(0x31f)];}catch(_0x529c13){return this[_0x11cf0f(0x362)][_0x11cf0f(0x31f)](_0x529c13),this[_0x11cf0f(0x179)](!0x1);}}[_0x1b0175(0x352)](){var _0x493a31=_0x1b0175;throw new Error(_0x493a31(0x28d));}[_0x1b0175(0x395)](){var _0x493b12=_0x1b0175;throw new Error(_0x493b12(0x231));}[_0x1b0175(0x2c4)](){return this;}[_0x1b0175(0x215)](){var _0xbe0cf8=_0x1b0175;return this[_0xbe0cf8(0x3b6)](),this[_0xbe0cf8(0x295)][_0xbe0cf8(0x209)](ue,this['unitID'],this[_0xbe0cf8(0x279)],null,this[_0xbe0cf8(0x456)],this[_0xbe0cf8(0x3d8)]);}[_0x1b0175(0x365)](){return this;}[_0x1b0175(0x266)](_0x366706){var _0x455723=_0x1b0175;const _0xa662c8=_0x366706!=null?_0x366706:this['_getSendChangesetTimeout']();this[_0x455723(0x3b4)]=new Date()[_0x455723(0x400)]()+_0xa662c8,this[_0x455723(0x2f2)]=setTimeout(()=>{var _0x43f774=_0x455723;this[_0x43f774(0x3b6)]();let _0x2d628a=null;switch(this[_0x43f774(0x279)]){case Z[_0x43f774(0x245)]:{_0x2d628a=Wt(this[_0x43f774(0x456)],this[_0x43f774(0x2a9)],this['_univerInstanceService'],this['_revisionService'],this[_0x43f774(0x251)]);break;}case Z[_0x43f774(0x293)]:{this[_0x43f774(0x456)][_0x43f774(0x1bd)](_0x217aba=>_0x217aba['id']===_0x1d8c39['id'])?_0x2d628a=ks(this[_0x43f774(0x456)],this[_0x43f774(0x2a9)],this[_0x43f774(0x1cf)],this['_revisionService'],this[_0x43f774(0x251)]):_0x2d628a=Wt(this[_0x43f774(0x456)],this['unitID'],this['_univerInstanceService'],this[_0x43f774(0x30c)],this[_0x43f774(0x251)]);break;}default:throw new Error(_0x43f774(0x2b1)+this[_0x43f774(0x279)]+_0x43f774(0x3a3));}const {changeset:_0x2b34c6,pendingMutations:_0x6b095a}=_0x2d628a;this[_0x43f774(0x3d8)][_0x43f774(0x2f9)](_0x2b34c6);const _0x3783c2=_0x6b095a['length']?this[_0x43f774(0x295)]['createInstance'](ae,this[_0x43f774(0x2a9)],this[_0x43f774(0x279)],_0x2b34c6,_0x6b095a,this[_0x43f774(0x3d8)],void 0x0):this[_0x43f774(0x295)][_0x43f774(0x209)](_e,this['unitID'],this[_0x43f774(0x279)],_0x2b34c6,this[_0x43f774(0x3d8)]);_0x3783c2[_0x43f774(0x2c5)](),this[_0x43f774(0x3d8)][_0x43f774(0x1c1)](this,_0x3783c2);},_0xa662c8);}[_0x1b0175(0x3e2)](){var _0x328504=_0x1b0175,_0x636fea;const _0x34e965=this[_0x328504(0x3d9)][_0x328504(0x2d4)](K);return(_0x636fea=_0x34e965==null?void 0x0:_0x34e965[_0x328504(0x45f)])!=null?_0x636fea:ps;}[_0x1b0175(0x195)](){var _0xa7394b=_0x1b0175;throw new Error(_0xa7394b(0x348));}[_0x1b0175(0x3b6)](){var _0x4754c6=_0x1b0175;this[_0x4754c6(0x2f2)]!=null&&(clearTimeout(this[_0x4754c6(0x2f2)]),this['_sendingTimer']=null);}['_onConflict'](_0x374bf0){var _0x591bb4=_0x1b0175;return this[_0x591bb4(0x3b6)](),this['_injector']['createInstance'](le,this['unitID'],this['type'],null,this[_0x591bb4(0x456)],this[_0x591bb4(0x3d8)],_0x374bf0);}};re=Ee([P(0x4,_0x2350f5(_0x4fef0a)),P(0x5,_0x2350f5(_0x1b2f89)),P(0x6,_0x2350f5(we)),P(0x7,_0x27c895),P(0x8,_0x5c1e8c),P(0x9,_0x39ec1e),P(0xa,_0x21e51c),P(0xb,_0x1465c0),P(0xc,_0x2c5918),P(0xd,_0x364642(J))],re);let _e=class extends Ie{constructor(_0x149c09,_0x368a94,_0x201071,_0x3b9c83,_0x841417,_0x45077f,_0x4e91ea,_0x175054,_0x21898c,_0xba4f9e,_0x4c1e29){var _0x431f23=_0x1b0175;super(_0x149c09,_0x368a94,_0x201071,[],_0x3b9c83,_0x4e91ea,_0xba4f9e,_0x45077f,_0x4c1e29),N(this,_0x431f23(0x27c),_0x431f23(0x320)),N(this,'_resendTimeout',0x0),N(this,_0x431f23(0x453)),N(this,_0x431f23(0x39d)),(this[_0x431f23(0x295)]=_0x841417,this[_0x431f23(0x362)]=_0x175054,this[_0x431f23(0x3ab)]=_0x21898c);}[_0x1b0175(0x3cb)](_0x2f1876){var _0x25b644=_0x1b0175;this['_clearScheduledTask']();const _0x2b4585=this[_0x25b644(0x295)][_0x25b644(0x209)](ae,this['unitID'],this['type'],this[_0x25b644(0x307)],[_0x2f1876],this[_0x25b644(0x3d8)],this[_0x25b644(0x453)]);return _0x2b4585[_0x25b644(0x2c5)](),_0x2b4585;}[_0x1b0175(0x2e3)](_0x1a2de1){var _0xd80402=_0x1b0175;if(this['_checkMissing'](_0x1a2de1))return this[_0xd80402(0x3b6)](),this[_0xd80402(0x295)]['createInstance'](Q,this[_0xd80402(0x2a9)],this[_0xd80402(0x279)],this['_awaitingChangeset'],[],null,[_0x1a2de1],this[_0xd80402(0x3d8)]);try{const _0x5db8f9=this[_0xd80402(0x3ab)]['transformChangesets']([_0x1a2de1],[this[_0xd80402(0x307)]],!0x1);if(_0x23e1df(_0x5db8f9)){const {c1Prime:_0x27868b,c2Prime:_0x1b513f}=_0x5db8f9;this['_executeRemoteChangeset'](_0x27868b[0x0]),_0x1b513f[0x0][_0xd80402(0x1c9)]=this[_0xd80402(0x411)](),this[_0xd80402(0x3b6)]();const _0xd509fe=this['_injector'][_0xd80402(0x209)](_e,this[_0xd80402(0x2a9)],this[_0xd80402(0x279)],_0x1b513f[0x0],this[_0xd80402(0x3d8)]);return _0xd509fe['_updateLocalCache'](),_0xd509fe;}return this[_0xd80402(0x179)](!0x1);}catch(_0x378fe8){return this[_0xd80402(0x362)][_0xd80402(0x31f)](_0x378fe8),this[_0xd80402(0x179)](!0x1);}}[_0x1b0175(0x352)](_0x296c20){var _0x2bd61e=_0x1b0175;this[_0x2bd61e(0x3b6)]();const _0x19cfb8=this[_0x2bd61e(0x30c)][_0x2bd61e(0x1ea)](this['unitID']);if(_0x296c20[_0x2bd61e(0x2b5)]<_0x19cfb8-0x1)return this;if(this[_0x2bd61e(0x1c2)](_0x296c20))return this['_injector'][_0x2bd61e(0x209)](Q,this[_0x2bd61e(0x2a9)],this[_0x2bd61e(0x279)],null,[],this[_0x2bd61e(0x307)],[],this[_0x2bd61e(0x3d8)]);this['_incrementRevisionNumber']();const _0x28e676=this[_0x2bd61e(0x295)][_0x2bd61e(0x209)](ye,this[_0x2bd61e(0x2a9)],this['type'],this[_0x2bd61e(0x3d8)]);return _0x28e676[_0x2bd61e(0x2c5)](),_0x28e676;}['onRemoteRej'](_0x9514ab){var _0x301244=_0x1b0175;return this[_0x301244(0x179)](!!(_0x9514ab!=null&&_0x9514ab[_0x301244(0x1cb)]));}[_0x1b0175(0x2c4)](_0x58d646){var _0x508b35=_0x1b0175;return this[_0x508b35(0x288)]>Ii?this[_0x508b35(0x215)]():(this[_0x508b35(0x453)]=Si(this[_0x508b35(0x288)],{'timeout':this[_0x508b35(0x288)],'reqId':_0x58d646[_0x508b35(0x3ca)]}),this[_0x508b35(0x39d)]=this[_0x508b35(0x453)][_0x508b35(0x17c)](({reqId:_0x427e28,timeout:_0x4f7fe4})=>{var _0x3acaf2=_0x508b35;this[_0x3acaf2(0x25c)](_0x427e28,_0x4f7fe4);}),this);}['toggleOffline'](){var _0x50b105=_0x1b0175;return this[_0x50b105(0x3b6)](),this['_injector'][_0x50b105(0x209)](ue,this['unitID'],this[_0x50b105(0x279)],this[_0x50b105(0x307)],[],this[_0x50b105(0x3d8)]);}[_0x1b0175(0x365)](){return this;}[_0x1b0175(0x195)](){var _0x5a3c6f=_0x1b0175;this[_0x5a3c6f(0x3d8)][_0x5a3c6f(0x2f9)](this[_0x5a3c6f(0x307)]);}[_0x1b0175(0x179)](_0x5c4903){var _0x1d1f9f=_0x1b0175;return this[_0x1d1f9f(0x3b6)](),this[_0x1d1f9f(0x295)][_0x1d1f9f(0x209)](le,this[_0x1d1f9f(0x2a9)],this[_0x1d1f9f(0x279)],this['_awaitingChangeset'],[],this[_0x1d1f9f(0x3d8)],_0x5c4903);}['_resendWithTimeout'](_0x383773,_0x3e1778){var _0x462efb=_0x1b0175,_0x1731d1;_0x383773===((_0x1731d1=this[_0x462efb(0x307)])==null?void 0x0:_0x1731d1['reqId'])&&(this[_0x462efb(0x195)](),this['_resendTimeout']=_0x3e1778===0x0?0x3e8:_0x3e1778*0x2);}[_0x1b0175(0x3b6)](){var _0x5c9cca=_0x1b0175,_0x7099b7;(_0x7099b7=this[_0x5c9cca(0x39d)])==null||_0x7099b7[_0x5c9cca(0x417)](),this[_0x5c9cca(0x288)]=0x0;}};_e=Ee([P(0x4,_0x2350f5(_0x4fef0a)),P(0x5,_0x2350f5(_0x1b2f89)),P(0x6,_0x5c1e8c),P(0x7,_0x27c895),P(0x8,_0x21e51c),P(0x9,_0x2c5918),P(0xa,_0x364642(J))],_e);let ae=class extends Ie{constructor(_0x3a8542,_0x1f6477,_0x5745e8,_0x3baf59,_0x20da37,_0x150c4e,_0x180d84,_0x11c606,_0x1c6a7c,_0x1621b8,_0x4e5f0a,_0x317c90,_0x12ffad){var _0x25a14b=_0x1b0175;super(_0x3a8542,_0x1f6477,_0x5745e8,_0x3baf59,_0x20da37,_0x1c6a7c,_0x317c90,_0x11c606,_0x12ffad),N(this,'status',_0x25a14b(0x1f1)),N(this,_0x25a14b(0x288),0x0),N(this,_0x25a14b(0x453)),N(this,'_sender'),(this[_0x25a14b(0x295)]=_0x180d84,this[_0x25a14b(0x362)]=_0x1621b8,this[_0x25a14b(0x3ab)]=_0x4e5f0a,this[_0x25a14b(0x1a6)]=_0x12ffad,_0x150c4e&&(this[_0x25a14b(0x453)]=_0x150c4e,this[_0x25a14b(0x39d)]=this[_0x25a14b(0x453)][_0x25a14b(0x17c)](({reqId:_0x2cfd9f,timeout:_0x58a86e})=>{var _0x5298b9=_0x25a14b;this[_0x5298b9(0x25c)](_0x2cfd9f,_0x58a86e);})));}[_0x1b0175(0x3cb)](_0x5619de){var _0x7fb44e=_0x1b0175;return this[_0x7fb44e(0x456)]['push'](_0x5619de),this;}['onRemoteChangeset'](_0x342cfa){var _0x43da05=_0x1b0175;if(this[_0x43da05(0x1c2)](_0x342cfa))return this[_0x43da05(0x3b6)](),this[_0x43da05(0x295)][_0x43da05(0x209)](Q,this[_0x43da05(0x2a9)],this[_0x43da05(0x279)],this[_0x43da05(0x307)],this['_pendingMutations'],null,[_0x342cfa],this[_0x43da05(0x3d8)]);try{const _0x14324c=this[_0x43da05(0x3ab)][_0x43da05(0x37a)]([_0x342cfa],[this[_0x43da05(0x307)]],!0x1);if(_0x23e1df(_0x14324c)){const {c1Prime:_0x21196a,c2Prime:_0x354ab7}=_0x14324c,_0x537264=this[_0x43da05(0x3ab)][_0x43da05(0x244)](_0x21196a[0x0],this[_0x43da05(0x456)]);if(_0x125d13(_0x537264)){const {c1Prime:_0x465d1d,m2Prime:_0x4fb6fa}=_0x537264;return this['_executeRemoteChangeset'](_0x465d1d),_0x354ab7[0x0][_0x43da05(0x1c9)]=this['_getCurrentRevision'](),this[_0x43da05(0x3b6)](),this[_0x43da05(0x295)][_0x43da05(0x209)](ae,this[_0x43da05(0x2a9)],this['type'],_0x354ab7[0x0],_0x4fb6fa,this[_0x43da05(0x3d8)],void 0x0);}throw _0x537264['error'];}throw _0x14324c['error'];}catch(_0x1fe3e3){return this['_logService']['error'](_0x1fe3e3),this[_0x43da05(0x179)](!0x1);}}[_0x1b0175(0x352)](_0x16ef03){var _0x600179=_0x1b0175;if(this[_0x600179(0x3b6)](),this[_0x600179(0x1c2)](_0x16ef03))return this[_0x600179(0x295)][_0x600179(0x209)](Q,this[_0x600179(0x2a9)],this[_0x600179(0x279)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x600179(0x3d8)]);this['_incrementRevisionNumber']();const _0x46b023=this[_0x600179(0x295)]['createInstance'](re,this[_0x600179(0x2a9)],this['type'],this[_0x600179(0x456)],this[_0x600179(0x3d8)]);return _0x46b023[_0x600179(0x266)](),_0x46b023[_0x600179(0x2c5)](),_0x46b023;}[_0x1b0175(0x395)](_0x3b3588){var _0x3b58a0=_0x1b0175;return this['_onConflict'](!!(_0x3b3588!=null&&_0x3b3588[_0x3b58a0(0x1cb)]));}[_0x1b0175(0x2c4)](_0x515f87){var _0x2d7452=_0x1b0175;return this['_resendTimeout']>Ii?this['toggleOffline']():(this[_0x2d7452(0x453)]=Si(this[_0x2d7452(0x288)],{'timeout':this[_0x2d7452(0x288)],'reqId':_0x515f87['reqId']}),this['_sender']=this['_resendTimer'][_0x2d7452(0x17c)](({reqId:_0x30bb77,timeout:_0x49331a})=>{var _0x510974=_0x2d7452;this[_0x510974(0x25c)](_0x30bb77,_0x49331a);}),this);}[_0x1b0175(0x215)](){var _0x2d4aed=_0x1b0175;return this[_0x2d4aed(0x3b6)](),this[_0x2d4aed(0x295)][_0x2d4aed(0x209)](ue,this['unitID'],this[_0x2d4aed(0x279)],this['_awaitingChangeset'],this[_0x2d4aed(0x456)],this[_0x2d4aed(0x3d8)]);}[_0x1b0175(0x365)](){return this;}[_0x1b0175(0x195)](){var _0x2a5ffc=_0x1b0175;this[_0x2a5ffc(0x3d8)][_0x2a5ffc(0x2f9)](this[_0x2a5ffc(0x307)]);}['_onConflict'](_0x58e54a){var _0x170531=_0x1b0175;return this[_0x170531(0x3b6)](),this[_0x170531(0x295)]['createInstance'](le,this['unitID'],this['type'],null,this[_0x170531(0x456)],this[_0x170531(0x3d8)],_0x58e54a);}['_resendWithTimeout'](_0x3cf07a,_0x43f68f){var _0x39f16a=_0x1b0175,_0x3c3a33;_0x3cf07a===((_0x3c3a33=this[_0x39f16a(0x307)])==null?void 0x0:_0x3c3a33[_0x39f16a(0x3ca)])&&(this[_0x39f16a(0x195)](),this[_0x39f16a(0x288)]=_0x43f68f===0x0?0x3e8:_0x43f68f*0x2);}[_0x1b0175(0x3b6)](){var _0x49d09d=_0x1b0175,_0xdca516;(_0xdca516=this[_0x49d09d(0x39d)])==null||_0xdca516[_0x49d09d(0x417)](),this['_resendTimeout']=0x0;}};ae=Ee([P(0x6,_0x2350f5(_0x4fef0a)),P(0x7,_0x2350f5(_0x1b2f89)),P(0x8,_0x5c1e8c),P(0x9,_0x27c895),P(0xa,_0x21e51c),P(0xb,_0x2c5918),P(0xc,_0x364642(J))],ae);let le=class extends Ie{constructor(_0x52657b,_0x1349b4,_0x150d85,_0x8c2f61,_0x491ec0,_0x2b1393=!0x1,_0x114be7,_0x146611,_0x1354e7,_0x576c13,_0x3a77a0,_0xfd67f4,_0x3fc8fd){var _0x22a0c3=_0x1b0175;super(_0x52657b,_0x1349b4,_0x150d85,_0x8c2f61,_0x491ec0,_0x146611,_0x1354e7,_0x576c13,_0x3fc8fd),N(this,'status','conflict'),(this[_0x22a0c3(0x1ff)]=_0x2b1393,this['_permissionService']=_0x114be7,this['_localeService']=_0x3a77a0,this['_collaborationUIEventService']=_0xfd67f4,this['localCacheService']=_0x3fc8fd,this[_0x22a0c3(0x412)](),this[_0x22a0c3(0x1cd)](),this[_0x22a0c3(0x349)]());}[_0x1b0175(0x3cb)](){return this;}[_0x1b0175(0x2e3)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x1b0175(0x2c4)](){return this;}[_0x1b0175(0x215)](){return this;}[_0x1b0175(0x365)](){return this;}[_0x1b0175(0x195)](){var _0x3c3d61=_0x1b0175;throw new Error(_0x3c3d61(0x210));}[_0x1b0175(0x1cd)](){var _0x526f92=_0x1b0175,_0x417f61;(_0x417f61=this['_localCacheService'])==null||_0x417f61[_0x526f92(0x267)](this[_0x526f92(0x2a9)],this[_0x526f92(0x279)],null,[]);}[_0x1b0175(0x412)](){var _0x4a6ba6=_0x1b0175;this[_0x4a6ba6(0x1ff)]?this[_0x4a6ba6(0x38f)]['emitEvent']({'id':ne[_0x4a6ba6(0x38b)]}):this[_0x4a6ba6(0x38f)]['emitEvent']({'id':ne[_0x4a6ba6(0x1a7)]});}[_0x1b0175(0x349)](){var _0x33ca8d=_0x1b0175;this[_0x33ca8d(0x2ed)][_0x33ca8d(0x20b)](new _0x1e11ff(this[_0x33ca8d(0x2a9)])['id'],!0x1);}};le=Ee([P(0x6,_0x2350f5(_0x33cf07)),P(0x7,_0x5c1e8c),P(0x8,_0x2c5918),P(0x9,_0x2350f5(_0x1b2f89)),P(0xa,_0x2350f5(_0x167f10)),P(0xb,_0x2350f5(ve)),P(0xc,_0x364642(J))],le);let ue=class extends Ie{constructor(_0x3e73e7,_0x19865c,_0x2772a8,_0x479cc2,_0x421e6c,_0x1cacec,_0x57131c,_0x18a3a1,_0xd7e600,_0x3f9026){var _0x26fb47=_0x1b0175;super(_0x3e73e7,_0x19865c,_0x2772a8,_0x479cc2,_0x421e6c,_0x18a3a1,_0xd7e600,_0x57131c,_0x3f9026),N(this,_0x26fb47(0x27c),'offline'),this[_0x26fb47(0x295)]=_0x1cacec;}['appendMutation'](_0x368b08){var _0x52769c=_0x1b0175;return this['_pendingMutations'][_0x52769c(0x1ac)](_0x368b08),this[_0x52769c(0x2c5)](),this;}[_0x1b0175(0x2e3)](_0x23e483){var _0x366ab0=_0x1b0175;throw new Error(_0x366ab0(0x3b8));}[_0x1b0175(0x352)](){var _0x24f0b4=_0x1b0175;throw new Error(_0x24f0b4(0x1ab));}[_0x1b0175(0x395)](){var _0x345312=_0x1b0175;throw new Error(_0x345312(0x3a5));}[_0x1b0175(0x2c4)](){return this;}[_0x1b0175(0x215)](){return this;}[_0x1b0175(0x365)](){var _0x2c3151=_0x1b0175;const {_injector:_0xbde47,_pendingMutations:_0x183450,_awaitingChangeset:_0xd6c9b3,unitID:_0x10f564,_handler:_0x18d899,type:_0x4f92b0}=this,_0x4b0f6c=Ti(_0xbde47,_0x10f564,_0x4f92b0,_0xd6c9b3,_0x183450,_0x18d899);return _0x4b0f6c instanceof re?_0x4b0f6c[_0x2c3151(0x266)]():(_0x4b0f6c instanceof ae||_0x4b0f6c instanceof _e)&&_0x4b0f6c['resend'](),_0x4b0f6c;}[_0x1b0175(0x195)](){var _0x5c19c5=_0x1b0175;throw new Error(_0x5c19c5(0x2cc));}};ue=Ee([P(0x5,_0x2350f5(_0x4fef0a)),P(0x6,_0x2350f5(_0x1b2f89)),P(0x7,_0x5c1e8c),P(0x8,_0x2c5918),P(0x9,_0x364642(J))],ue);let Q=class extends Ie{constructor(_0xdccb96,_0x2e87bb,_0x51ea9c,_0x5f4523,_0x2105a6,_0x28b827,_0x3a92d3,_0x28760a,_0x1999f1,_0x351b80,_0x49058d,_0x4de78c,_0x3efa02,_0x3b0199){var _0x4a8ed4=_0x1b0175;super(_0xdccb96,_0x2e87bb,_0x51ea9c,_0x5f4523,_0x3a92d3,_0x49058d,_0x4de78c,_0x1999f1,_0x3b0199),N(this,'status',_0x4a8ed4(0x410)),(this[_0x4a8ed4(0x243)]=_0x2105a6,this[_0x4a8ed4(0x30a)]=_0x28b827,this[_0x4a8ed4(0x295)]=_0x28760a,this[_0x4a8ed4(0x362)]=_0x351b80,this[_0x4a8ed4(0x3ab)]=_0x3efa02,this[_0x4a8ed4(0x1a6)]=_0x3b0199);}[_0x1b0175(0x2e7)](_0x316f4a){var _0x146f5d=_0x1b0175;try{const _0x57fcd9=[..._0x316f4a,...this[_0x146f5d(0x30a)]],_0x30d774=[this[_0x146f5d(0x307)]||this[_0x146f5d(0x243)]][_0x146f5d(0x354)](_0x31734b=>!!_0x31734b);let _0x1eace7,_0x1a4e66;if(_0x30d774['length']){const _0xa33322=this[_0x146f5d(0x3ab)]['transformChangesets'](_0x57fcd9,_0x30d774,!0x1);if(!_0x23e1df(_0xa33322))throw _0xa33322[_0x146f5d(0x31f)];_0x1eace7=_0xa33322[_0x146f5d(0x19a)],_0x1a4e66=_0xa33322[_0x146f5d(0x413)];}else _0x1eace7=_0x57fcd9,_0x1a4e66=[];let _0x158de9=this[_0x146f5d(0x456)];_0x1eace7[_0x146f5d(0x2c3)](_0x311c0d=>{var _0x3330cf=_0x146f5d;let _0xde2764;if(_0x158de9['length']){const _0x9bcc44=this[_0x3330cf(0x3ab)][_0x3330cf(0x244)](_0x311c0d,_0x158de9);if(!_0x125d13(_0x9bcc44))throw _0x9bcc44['error'];_0xde2764=_0x9bcc44[_0x3330cf(0x19a)],_0x158de9=_0x9bcc44[_0x3330cf(0x3c4)];}else _0xde2764=_0x311c0d;this[_0x3330cf(0x2e0)](_0xde2764);}),this[_0x146f5d(0x243)]&&this['_incrementRevisionNumber'](),this[_0x146f5d(0x307)]&&_0x1a4e66[_0x146f5d(0x32a)]&&(_0x1a4e66[0x0][_0x146f5d(0x1c9)]=this['_getCurrentRevision']());let _0x42ea4e;if(this[_0x146f5d(0x307)]&&_0x158de9[_0x146f5d(0x32a)]!==0x0)_0x42ea4e=this['_injector'][_0x146f5d(0x209)](ae,this[_0x146f5d(0x2a9)],this[_0x146f5d(0x279)],_0x1a4e66[0x0],_0x158de9,this['_handler'],void 0x0);else{if(this[_0x146f5d(0x307)]&&_0x158de9['length']===0x0)_0x1a4e66[0x0]['baseRev']=this['_getCurrentRevision'](),_0x42ea4e=this['_injector']['createInstance'](_e,this[_0x146f5d(0x2a9)],this[_0x146f5d(0x279)],_0x1a4e66[0x0],this[_0x146f5d(0x3d8)]);else{if(_0x158de9[_0x146f5d(0x32a)]!==0x0){const _0x5a7fc1=this[_0x146f5d(0x295)][_0x146f5d(0x209)](re,this[_0x146f5d(0x2a9)],this[_0x146f5d(0x279)],_0x158de9,this[_0x146f5d(0x3d8)]);_0x5a7fc1[_0x146f5d(0x266)](),_0x42ea4e=_0x5a7fc1;}else _0x42ea4e=this[_0x146f5d(0x295)]['createInstance'](ye,this['unitID'],this['type'],this[_0x146f5d(0x3d8)]);}}return _0x42ea4e[_0x146f5d(0x2c5)](),_0x42ea4e;}catch(_0x48b1c8){return this['_logService'][_0x146f5d(0x31f)](_0x146f5d(0x1b0),_0x146f5d(0x421),_0x48b1c8),this['_injector']['createInstance'](le,this[_0x146f5d(0x2a9)],this[_0x146f5d(0x279)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x146f5d(0x3d8)],!0x1);}}[_0x1b0175(0x195)](){var _0x11aa08=_0x1b0175;throw new Error(_0x11aa08(0x35f));}['appendMutation'](_0x4ba9bb){return this['_pendingMutations']['push'](_0x4ba9bb),this;}[_0x1b0175(0x2e3)](_0x372bb0){var _0x223aaf=_0x1b0175;return this[_0x223aaf(0x30a)][_0x223aaf(0x1ac)](_0x372bb0),this;}[_0x1b0175(0x352)](_0x53d60e){var _0x3bf825=_0x1b0175;if(this[_0x3bf825(0x307)])return this[_0x3bf825(0x243)]=this['_awaitingChangeset'],this[_0x3bf825(0x307)]=null,this;throw new Error(_0x3bf825(0x33f));}[_0x1b0175(0x395)](_0x1fc9e9){var _0x1fb846=_0x1b0175;return this['_onConflict'](!!(_0x1fc9e9!=null&&_0x1fc9e9[_0x1fb846(0x1cb)]));}[_0x1b0175(0x2c4)](){return this;}[_0x1b0175(0x215)](){var _0x22c272=_0x1b0175;return this[_0x22c272(0x295)]['createInstance'](ue,this[_0x22c272(0x2a9)],this['type'],this[_0x22c272(0x307)],this[_0x22c272(0x456)],this[_0x22c272(0x3d8)]);}[_0x1b0175(0x365)](){return this;}[_0x1b0175(0x179)](_0x5cf6ff){var _0xff9b29=_0x1b0175;return this[_0xff9b29(0x295)][_0xff9b29(0x209)](le,this['unitID'],this['type'],this[_0xff9b29(0x307)],this[_0xff9b29(0x456)],this[_0xff9b29(0x3d8)],_0x5cf6ff);}};function _0x1090(){var _0x432864=['fetchMissingChangesets','_transformService','onCommentUpdate','/universer-api/uniscript','COMPRESS_MUTATION_SEND','$super','x-univer-host','debug','_transformIMECache','offline','_scheduleCompleteTimestamp','_tryEnsureSocket','_clearScheduledTask','_retryConnectingTimer','[OfflineState]:\x20received\x20changeset.','LICENSE_EXPORT_SIZE_EXCEEDED','YUUMI_AI_RUN_FAILED','deepClone','_lockTransition','unknown','FAIL','objectID','ERROR_EXCEED_SIZE','_telemetryService','LIVESHARE_OPERATION','onlyLocal','m2Prime','_transformRemoteChangesetByStateCache','_listenToNetworkCondition','transformUndoRedo','BufferedBlockAlgorithm','INVALID_ARGUMENT','reqId','appendMutation','_updateStatus','sigBytes','getWorkbookSelections','state$','SOCKET_FAILED_RETRY','image/bmp','onMissingChangesets','list','values','enc','CONNECTOR_DATA_TOO_LARGE','newCsEvent','_handler','_configService','Pkcs7','_singleActiveUnitService','location','put','_clearUndo','createCollaborator','/universer-api/authz','LOCAL_CACHE_INTERVAL','_getSendChangesetTimeout','PY_RUNTIME_SCRIPT_ERROR','_decreaseWaiting','getUnitId','Utf8','JOINING','init','_networkConditionService','COMPRESS_MUTATION_APPLY','_startCollaboration','UNISCRIPT_RUN','_applyRemoteChangeset','_commentUpdate$','default','setConfig','_reverseMap','pipe','FETCH_MISSING','getValue','WECHAT_HAS_BEEN_BOUND','href','HttpImport','ivSize','_replayCachedMutations','INVITE_CODE_REQUIRED','_submitChangeset','_collaborationTimeoutTimer','TOO_MANY_REQUESTS','close','connection\x20error','getTime','_toggleOffline','socket\x20close','status$','getImageSourceCache','_onUserJoin','_exhaustRemoteChangesetQueue','socket\x20open.','INVALID_INVITE_CODE','/universer-api/snapshot/','UnitSnapshot','crypto','AWAITING','sid','hasher','_eventService','fetch_missing','_getCurrentRevision','_showConflictNotification','c2Prime','_xformMode','/universer-api/oidc/authpage','SNAPSHOT_URL_KEY','unsubscribe','SOCKET_FAILED','awaitingChangeset','requestParams','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_map','get','state','_entities','/object','failed\x20to\x20apply\x20missed\x20changesets!','processBlock','collabSubmitChangesetUrl','blockSize','WordArray','_process','_cipher','_onRemoteRetry','3RaVURK','_clearRedo','findIndex','kdf','cfg','YUUMI_ASYNCIO_CANCELLED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_ALL_TABLES_IS_INVALID','UNKNOWN_CODE','objectType','792640vmRBxQ','size','hasOwnProperty','getTypeOfUnitDisposed$','_HTTPService','2768494Djdnib','substr','CBC','/universer-api/user/session-ticket','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','univer-pro.collaboration-client.single-active-unit-service','_onRemoteACK','ciphertext','[DataLoaderService]','9718121aaAoCN','origin','auth.needGotoLoginAlert','telemetry\x20info\x20is\x20not\x20initialized','stringify','_getCtorByUniverType','OPTIONAL','onTransformIME','stopTime','_timeoutTimer','YUUMI_SUBSCRIPTION_NOT_FOUND','exports','updateMember','PSEUDO_FETCH_MISSING_RESULT','target','session.room-cnt-exceeds','_syncEditingCollabCursor','APPLY_REJECT','_resendTimer','keySize','onTransformState','_pendingMutations','_status$','_getRedoStack','IDLE','APPLY_PERMISSION_DENIED','localeService','dispose','objects','_mode','sendChangesetTimeout','selections','CHANGESET_SHOULD_RETRY','prototype','_undoStacks','waitForRoom$','YUUMI_RATE_OVER_LIMIT','onTransformRemoteChangesetByIMECache','readAsDataURL','Hasher','getOwnPropertyDescriptor','_undoRedoService','_snapshotService','authzUrl','ERROR_IMAGE','formatter','collaborators','url','listCollaborators','members$','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_key','_transitionLocked','changesets','4567295KoduxH','NO_OTHER_CLIENTS_EDITING','_onFetchMissResult','BASE64','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_hasher','&source=','join','INGEST','clone','objectActions','conflict','[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.','DEFAULT_FILE_NAME','getUnitOnRev','MUTATION','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_onConflict','/collaborator','pauseCollaboration','subscribe','UNIVER_COLLABORATION_CLIENT_PLUGIN','_sendHeartbeatTimer','_getUploadFileURL','People','encodeURIComponent','startsWith','1pYEjGL','floor','dispose$','_createHmacHelper','online$','disposeWithMe','_unlockTransition','encode','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','toString','UPDATE_CURSOR','COMPLETION_FINISHED','textRanges','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Encryptor','univer-pro.collaboration-client-socket-service','loadUnit','_hash','resend','session','commentUpdateEvent','action','_fetchMissChangesets','c1Prime','_emitMembers','_localeService','charCodeAt','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','entityInit$','uniscriptRunEvent','_socket','MD5','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SNAPSHOT_INVALID_SNAPSHOT','_onCombEvent','localCacheService','CONFLICT','createDecryptor','[CollaborationUndoRedoService]','headers','[OfflineState]:\x20received\x20acknowledgement.','push','result','GLOBAL_ROOMS_CNT_EXCEEDS','compute','[FetchMissState]','INVITE_CODE_ALREADY_BOUND','364420zKkUAu','Undefined','UnitEmbedded','byteLength','ERROR_IMAGE_TYPE','Decryptor','/allowed','LEAVE','reject','getCollabEntity$','clear','every','SerializableCipher','ONLINE','?url=','onStateChange','_checkMissing','UNAUTHENTICATED','roles','words','APPLY_REVISION_CONFILICT','_clearTimeoutTimer','LICENSE_MAX_UNITS_EXCEEDED','baseRev','SYNCED','isPermissionRej','session.join-failed','_clearLocalCache','_transformSelections','_univerInstanceService','_getSignURL','delete','JOIN_ROOM_PERMISSION_DENIED','lib','_onRemoteRejected','[SyncedState]:\x20received\x20rejection.','append','routeKey','_initUnitPermissionChange','HEARTBEAT_TIMEOUT','concat','startTime','_joinRoom','MOBILE_HAS_BEEN_BOUND','_changesetReqId','format','_doProcessBlock','_snapshotServerService','_oKey','HmacSHA1','_initRequestHeader','pending','UserProfileImg','clamp','encrypt','_substituteUndoStack','getCurrentRevOfUnit','Hex','PENDING','/universer-api/snapshot','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','Cipher','getCurrentUser','awaiting_with_pending','\x0aCurrent:\x20','isArray','now','EMAIL_HAS_BEEN_BOUND','responseType','{fileID}','csAckEvent','snapshotServerUrl','socketService','_httpService','[CollaborationSessionService]:\x20socket\x20error','getInterceptPoints','code','_isPermissionRej','_onConnectionOpen','UNIVER_PROJECT','_throwTelemetryCollaborationNewChangeset','getUnitStatus$','getLatestCsReqIdBySid','getCollabEntity','error$','event$','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','createInstance','OpenSSL','updatePermissionPoint','_members','OTHER_CLIENT_EDITING','17064792hRNdOg','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','MSG_FOR_ERROR','_collaborationPaused','_sheetTransformSelectionsService','_socketMessageSubscription','toggleOffline','_doCryptBlock','_createInitialState','csRejEvent','data','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','resourceIDs','Base64','call','hostname','from','message$','_createHandler','_stopTelemetryCollaborationNewChangeset','_userManagerService','addImageSourceCache','string','COMMENT_UPDATE','pad','_commentService','JOIN','UPDATE_PERMISSION_OBJ','_sessions','_shouldReportTelemetry','BlockCipher','onStarting','_compressMutationService','apply','[PendingState]:\x20received\x20rejection.','update','subUnitId','LIVESHARE_REQUEST_HOST','EvpKDF','addHandlerCallback','enableAuthServer','finalize','LICENSE_DISTRO_REJECTED','buffer','_telemetryInfo','copyFileMeta','_tryReconnect','ALREADY_EXISTS','getMember','USERS_ENTER','capture','_invKeySchedule','_acknowledgedAwaitingChangeset','transformMutationsWithChangeset','UNIVER_SHEET','enableOfflineEditing','min','editing\x20status\x20changed\x20to','JOIN_ROOM_FULL','ceil','_type','function','actions','key','setWaitCount','confirm','_memberService','putCollaborators','loadSheet','batchAllowed','CipherParams','collaboratorID','_initDependencies','NOT_COLLAB','AES','?size=','originalMeta','_resendWithTimeout','reconnect','_getUndoStack','Malformed\x20UTF-8\x20data','loadUnitOfRevision','removeMember','userID','_onRecvEvent','LOGIN_FAILED','onTransformSelections','_schedule','updateOfflineData','getFocusedUnit','getTypeOfUnitAdded$','reduce','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_onConnectionFailed','_nRounds','_transformStack','_event$','src','slice','loadDoc','_imageSourceCache','[CollaborationEntity]','_updateState','PasswordBasedCipher','getCurrentSelections','_getDownloadEndpointURL','type','5082300vFqaZo','shouldCloseConn','status','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_collabSessionService','INVITE_CODE_HAS_BEEN_UES','_clearCollaborationTimeoutTimer','_collaborationSessionService','UNRECOGNIZED','_sessionStatus$','YUUMI_URL_COL_OUT_OF_RANGE','_iKey','OFFLINE','_minBufferSize','_resendTimeout','FETCH_MISS','setCurrentUser','UNIVER_SLIDE','asObservable','[PendingState]:\x20received\x20acknowledgement.','_state$','_substituteRedoStack','createEncryptor','image/jpg','_unitID','UNIVER_DOC','patch','_injector','requireSession','SHA1','APPLY_NON_SEQUENTIAL_REVISION','_onMessage','/unit/','/new_changes','_ENC_XFORM_MODE','OTHER_CLIENTS_EDITING','emitEvent','_retryCount','salt','post','_candidateSocket','_append','compose','send','retryConnectingInterval','listRoles','collaboration_new_changeset','unitID','submit\x20changeset\x20error!','_onJoinRoomEvent','random','decrypt','/-/object/list','_transformStateCache','entries','[PendingState]:\x20unhandled\x20univer\x20type:\x20','CLOSE_ROOM','_socketReady','save\x20fail\x20reason\x20is\x20','revision','HttpExport','setShowComponents','_waitForHeartbeatResponse','method','onTransformRemoteChangesetByStateCache','getRandomValues','charAt','sessionStatus','_roomMembers','mutations','LIVESHARE_NEW_HOST','[CollaborationSession]','csShouldRetryEvent','forEach','onRemoteRetry','_updateLocalCache','rev','__Key__','HMAC','roomInfos','_onUserLeave','HELLO','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','NEW_CHANGESETS','SNAPSHOT_HAS_BEEN_REMOVED','/object/','Latin1','SUBMIT_CHANGESET_TIMEOUT','registerHTTPInterceptor','_transformRemoteChangesetByIMECache','getConfig','_startTelemetryCollaborationNewChangeset','eventID','splice','PERSON','/resources','/-/object/-/batch_allowed','equals','HEARTBEAT_INTERVAL','getDeserializedSheetBlock','memberID','ws://127.0.0.1:8000/universer-api/comb/connect','_executeRemoteChangeset','name','SHOULD_CLOSE_CONN','onRemoteChangeset','add','onCommandExecuted','getSnapshotAPIPath','onMissedChangesetFetched','getSheetBlock','params','_initCloseConn','HEARTBEAT','_removeRoom','_permissionService','fetchThroughInterceptors','UUID','interceptor','_parse','_sendingTimer','getUnit','UNIVER_UNKNOWN','_doReset','getImage','HmacMD5','signUrlServerUrl','onSendChangeset','defineProperty','ENSURE_SNAPSHOT_EXECUTION','unit-cache-','_getLoginPath','LIVESHARE_TERMINATE','synced','USERS_LEAVE','_instanceService','_nDataBytes','allowed','algo','RETRY_CONNECTING_MAX_COUNT','change$','_awaitingChangeset','/block/','_createHelper','_queuedRemoteChangesets','_change$','_revisionService','refreshPermission','[UniverCollaborationClientPlugin]','collaMsg','fetching\x20missing\x20changesets\x20from\x20','getAllMembers','_scheduleCollaborationTimeoutTimer','Univer','_registerDependencies','transformStack\x20failed!','FileId','EMAIL_VERIFY_CODE_MISMATCH','getMemberID','_clearHeartbeatTimer','infoRsp','_remoteChangesetQueue','_config','univer-pro.collaboration-client.network-condition.service','SUBMIT_CHANGESET','error','awaiting','permissionRejEvent','incrementRevOfUnit','joinEvent','catch','unpad','CHANGESET_ACK','_initMergeInterceptor','members','[CollaborationSessionService]','length','NOT_FOUND','JOIN_ROOM_FAILED','_localCacheService','_createSocket','extend','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','randomBytes','__creator','parse','sessionStatus$','readInt32LE','_iv','_init','image/png','YUUMI_UNABLE_LOAD_URL','onSyncEditingCollabCursor','saveSnapshot','session.room-not-exists','_DEC_XFORM_MODE','map','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_sendHeartbeat','reverse','cmd','reset','_replaceFileID','_onLocalMutation','Base','NoPadding','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_disableEditing','closeSession','max','_members$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','Failed\x20to\x20update\x20permission\x20point','collaboration-client.local-cache-service','LIVESHARE_FETCH_OPERATIONS','POST','onRemoteAck','USER_NOT_INVITED_CODE','filter','_transformUndoredo','transformSelections','_data','repeat','unitId','liveShareNewHost','[CollaborationState]:\x20apply\x20error!','readyForCollab','byteOffset','YUUMI_CONNECTOR_URL_NOT_FOUND','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','create','msCrypto','_logService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_toggleOnline','toggleOnline','mode','JOIN_ROOM_NOT_EXISTS','RECV','/role','saveSheetBlock','_incrementRevisionNumber','subject','BlockCipherMode','unitInfo$','StreamCipher','_getAPIPrefix','_commandService','image/jpeg','range','complete','snapshot','APPLY_DUPLICATED','next','has','_createInitialStateImpl','transformChangesets','sheets','_getAPIPrefixPath','_socket$','_waitCount','fromCharCode','liveShareOperation','find','_rescheduleHeartbeat','padding','executeCommand','_unitInfo$','_keySchedule','_entityInit$','PERMISSION_REJ','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','duration','PERMISSION_DENIED','getUnitType','session.room-permission-denied','_keyPriorReset','_collaborationUIEventService','mixIn','open$','set','_prevBlock','_clearRetryConnectingTimer','onRemoteRej','_state','close$','_changesetSessionId','_onRemoteChangeset','pluginName','replace','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_sender','\x20to\x20','_handlerCallback','loginUrlKey','INTERNAL_ERROR','/rev/','\x20in\x20_schedule.','_onOffline','[OfflineState]:\x20received\x20rejection.','body','_roomCreated$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','YUUMI_NO_CUBOID_FOR_QUESTION'];_0x1090=function(){return _0x432864;};return _0x1090();}Q=Ee([P(0x7,_0x2350f5(_0x4fef0a)),P(0x8,_0x2350f5(_0x1b2f89)),P(0x9,_0x27c895),P(0xa,_0x5c1e8c),P(0xb,_0x2c5918),P(0xc,_0x21e51c),P(0xd,_0x364642(J))],Q);function Ti(_0x3d971a,_0x1a1a17,_0x43c368,_0x367657,_0x162623,_0x597683){var _0x206999=_0x1b0175;return _0x367657&&_0x162623[_0x206999(0x32a)]?_0x3d971a['createInstance'](ae,_0x1a1a17,_0x43c368,_0x367657,_0x162623,_0x597683,void 0x0):_0x367657?_0x3d971a[_0x206999(0x209)](_e,_0x1a1a17,_0x43c368,_0x367657,_0x597683):_0x162623['length']?_0x3d971a['createInstance'](re,_0x1a1a17,_0x43c368,_0x162623,_0x597683):_0x3d971a[_0x206999(0x209)](ye,_0x1a1a17,_0x43c368,_0x597683);}var Bs=Object[_0x1b0175(0x469)],wt=(_0x586e35,_0x5d5ecd,_0x13849d,_0x2bb161)=>{var _0x2809c6=_0x1b0175;for(var _0x289ab2=_0x2bb161>0x1?void 0x0:_0x2bb161?Bs(_0x5d5ecd,_0x13849d):_0x5d5ecd,_0xf2b3be=_0x586e35[_0x2809c6(0x32a)]-0x1,_0x37a9c5;_0xf2b3be>=0x0;_0xf2b3be--)(_0x37a9c5=_0x586e35[_0xf2b3be])&&(_0x289ab2=_0x37a9c5(_0x289ab2)||_0x289ab2);return _0x289ab2;},H=(_0x1c63e6,_0x430bb6)=>(_0x8433a3,_0x232628)=>_0x430bb6(_0x8433a3,_0x232628,_0x1c63e6);let st=class extends _0x1947f8{constructor(_0x19cd58,_0x261bff,_0x4fb528,_0x59f67b,_0x3703a1,_0xf011f3,_0x5b9944,_0x799c6d,_0x2cf659,_0xa0267b,_0x16c8ac,_0x5af5b8,_0x50cbb1){var _0x50dadc=_0x1b0175;super(),N(this,_0x50dadc(0x28e),new _0x1babcb(null)),N(this,'state$',this[_0x50dadc(0x28e)][_0x50dadc(0x28c)]()),N(this,_0x50dadc(0x396)),N(this,_0x50dadc(0x212),!0x1),N(this,'_changesetSessionId',''),N(this,_0x50dadc(0x1de),0x0),N(this,_0x50dadc(0x403),this[_0x50dadc(0x3cf)]['pipe'](_0x546cc8(_0x242686=>_0x242686?_0x242686['status']:Ei[_0x50dadc(0x286)]),_0x405424(0x1))),N(this,_0x50dadc(0x475),!0x1),N(this,_0x50dadc(0x31b),[]),(this[_0x50dadc(0x2a9)]=_0x19cd58,this[_0x50dadc(0x196)]=_0x261bff,this['_type']=_0x4fb528,this['_injector']=_0x59f67b,this['_compressMutationService']=_0x3703a1,this[_0x50dadc(0x19c)]=_0xf011f3,this[_0x50dadc(0x30c)]=_0x5b9944,this[_0x50dadc(0x40f)]=_0x799c6d,this['_logService']=_0x2cf659,this[_0x50dadc(0x371)]=_0xa0267b,this[_0x50dadc(0x2ed)]=_0x16c8ac,this[_0x50dadc(0x3db)]=_0x5af5b8,this[_0x50dadc(0x32d)]=_0x50cbb1);}get[_0x1b0175(0x41e)](){var _0x1a9d25=_0x1b0175;return this[_0x1a9d25(0x396)];}async[_0x1b0175(0x3e8)](){var _0x4c6950=_0x1b0175;if(this[_0x4c6950(0x41e)])throw new Error(_0x4c6950(0x43c));await this[_0x4c6950(0x337)]();}[_0x1b0175(0x17b)](){var _0xb0904=_0x1b0175;return this[_0xb0904(0x212)]=!0x0,_0x3a0139(()=>{var _0xc2b4a3=_0xb0904;this[_0xc2b4a3(0x212)]=!0x1,this[_0xc2b4a3(0x406)]();});}['onLocalMutation'](_0x4980a9){var _0x3387af=_0x1b0175;this[_0x3387af(0x345)](_0x4980a9);}['_updateState'](_0x4af5f6){var _0x426e90=_0x1b0175;this[_0x426e90(0x396)]=_0x4af5f6,this[_0x426e90(0x28e)][_0x426e90(0x377)](_0x4af5f6);}async['_init'](){var _0x4bbfc9=_0x1b0175,_0xdfccd1;this[_0x4bbfc9(0x275)](await this[_0x4bbfc9(0x217)]()),this[_0x4bbfc9(0x3db)]&&((_0xdfccd1=this[_0x4bbfc9(0x3db)])==null||_0xdfccd1['editingUnit'](this[_0x4bbfc9(0x2a9)]),this[_0x4bbfc9(0x188)](this['_singleActiveUnitService'][_0x4bbfc9(0x203)](this[_0x4bbfc9(0x2a9)])['subscribe'](_0x366033=>{var _0x20dcac=_0x4bbfc9;this[_0x20dcac(0x362)][_0x20dcac(0x3b1)](_0x20dcac(0x274),_0x20dcac(0x248),_0x366033),_0x366033===gi[_0x20dcac(0x29d)]?(this[_0x20dcac(0x40f)][_0x20dcac(0x29e)]({'id':ne[_0x20dcac(0x20d)]}),this[_0x20dcac(0x2ed)][_0x20dcac(0x20b)](new _0x1e11ff(this[_0x20dcac(0x2a9)])['id'],!0x1),this['_permissionService'][_0x20dcac(0x2b7)](!0x1)):(this[_0x20dcac(0x2ed)][_0x20dcac(0x20b)](new _0x1e11ff(this['unitID'])['id'],!0x0),this[_0x20dcac(0x2ed)][_0x20dcac(0x2b7)](!0x0));})));let _0x4ec038=!0x1;return this[_0x4bbfc9(0x188)](this['session'][_0x4bbfc9(0x334)][_0x4bbfc9(0x17c)](_0x29c55d=>{var _0x3ede6d=_0x4bbfc9;_0x29c55d===ge['ONLINE']?this[_0x3ede6d(0x364)](_0x4ec038):_0x29c55d===ge[_0x3ede6d(0x286)]&&(_0x4ec038=!0x0,this[_0x3ede6d(0x401)]());})),this[_0x4bbfc9(0x188)](this[_0x4bbfc9(0x196)][_0x4bbfc9(0x207)][_0x4bbfc9(0x17c)](_0x583352=>{var _0x708b41=_0x4bbfc9;try{switch(_0x583352[_0x708b41(0x2d6)]){case _0x270543[_0x708b41(0x2cd)]:{this[_0x708b41(0x399)](_0x43ca57(_0x583352[_0x708b41(0x219)]));break;}case _0x270543[_0x708b41(0x326)]:{this[_0x708b41(0x43e)](_0x583352[_0x708b41(0x219)]);break;}case _0x270543['CHANGESET_REJ']:{this[_0x708b41(0x1d4)]();break;}case _0x270543[_0x708b41(0x461)]:{this[_0x708b41(0x428)](_0x583352[_0x708b41(0x219)]);break;}case _0x270543[_0x708b41(0x44e)]:{this[_0x708b41(0x479)](_0x583352[_0x708b41(0x219)][_0x708b41(0x476)]['map'](_0x35c84a=>_0x43ca57(_0x35c84a)));break;}case _0x270543['PERMISSION_REJ']:{this[_0x708b41(0x1d4)]({'isPermissionRej':!0x0});break;}case _0x270543[_0x708b41(0x3ec)]:break;}}catch(_0x261abe){throw console[_0x708b41(0x31f)]('Error\x20on\x20receiving\x20event',_0x261abe),_0x261abe;}})),this['_state'];}[_0x1b0175(0x189)](){var _0x29107e=_0x1b0175;this[_0x29107e(0x475)]=!0x1;}['_lockTransition'](){var _0x5e1b63=_0x1b0175;if(this[_0x5e1b63(0x475)])throw new Error(_0x5e1b63(0x174));this[_0x5e1b63(0x475)]=!0x0;}[_0x1b0175(0x345)](_0x215635){var _0x546d42=_0x1b0175;this[_0x546d42(0x3bc)](),this['_updateState'](this[_0x546d42(0x396)]['appendMutation'](_0x215635)),this[_0x546d42(0x189)]();}[_0x1b0175(0x399)](_0x5cb9e3){var _0xf15f4d=_0x1b0175;if(!(_0x5cb9e3[_0xf15f4d(0x2b5)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0xf15f4d(0x2a9)]))){if(this[_0xf15f4d(0x212)]){this[_0xf15f4d(0x31b)][_0xf15f4d(0x1ac)](_0x5cb9e3);return;}this[_0xf15f4d(0x3ed)](_0x5cb9e3);}}[_0x1b0175(0x406)](){var _0x1c5c07=_0x1b0175;this[_0x1c5c07(0x31b)][_0x1c5c07(0x2c3)](_0x2f3ec5=>this['_applyRemoteChangeset'](_0x2f3ec5)),this['_remoteChangesetQueue']=[];}[_0x1b0175(0x3ed)](_0x5206d1){var _0x5351e9=_0x1b0175;const _0x175fc7=this[_0x5351e9(0x22f)][_0x5351e9(0x2f0)][_0x5351e9(0x2ee)](this[_0x5351e9(0x22f)][_0x5351e9(0x2f0)][_0x5351e9(0x1fd)]()['COMPRESS_MUTATION_APPLY'])(_0x5206d1[_0x5351e9(0x2bf)],null)||_0x5206d1['mutations'],_0x437670={..._0x5206d1,'mutations':_0x175fc7};this[_0x5351e9(0x3bc)](),this['_updateState'](this[_0x5351e9(0x396)][_0x5351e9(0x2e3)](_0x437670)),this[_0x5351e9(0x189)]();}[_0x1b0175(0x43e)](_0x79bcd0){var _0x323580=_0x1b0175;this['_lockTransition'](),this[_0x323580(0x275)](this[_0x323580(0x396)][_0x323580(0x352)](_0x79bcd0)),this[_0x323580(0x189)]();}[_0x1b0175(0x1d4)](_0x289b6d){var _0x1ed9d8=_0x1b0175;this[_0x1ed9d8(0x3bc)](),this[_0x1ed9d8(0x275)](this[_0x1ed9d8(0x396)][_0x1ed9d8(0x395)](_0x289b6d)),this['_unlockTransition']();}[_0x1b0175(0x428)](_0x1bb05e){var _0x498ee9=_0x1b0175;this[_0x498ee9(0x3bc)](),this[_0x498ee9(0x275)](this[_0x498ee9(0x396)][_0x498ee9(0x2c4)](_0x1bb05e)),this[_0x498ee9(0x189)]();}[_0x1b0175(0x479)](_0x155871){var _0x246071=_0x1b0175;if(!(this[_0x246071(0x396)]instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x61d4e8=_0x155871[_0x246071(0x33e)](_0x171528=>{var _0x4922e3=_0x246071;const _0x5bb064=this[_0x4922e3(0x22f)][_0x4922e3(0x2f0)][_0x4922e3(0x2ee)](this[_0x4922e3(0x22f)][_0x4922e3(0x2f0)][_0x4922e3(0x1fd)]()[_0x4922e3(0x3ea)])(_0x171528[_0x4922e3(0x2bf)],null)||_0x171528['mutations'];return{..._0x171528,'mutations':_0x5bb064};});this['_lockTransition'](),this[_0x246071(0x275)](this[_0x246071(0x396)][_0x246071(0x2e7)](_0x61d4e8)),this[_0x246071(0x189)]();}[_0x1b0175(0x401)](){var _0xb33ebb=_0x1b0175;this[_0xb33ebb(0x3bc)](),this[_0xb33ebb(0x275)](this[_0xb33ebb(0x396)][_0xb33ebb(0x215)]()),this['_unlockTransition']();}['_toggleOnline'](_0x1fbeb6=!0x1){var _0x5dcc8c=_0x1b0175;this[_0x5dcc8c(0x3bc)](),this[_0x5dcc8c(0x275)](this['_state'][_0x5dcc8c(0x365)]()),this[_0x5dcc8c(0x189)]();const _0x11364e=this[_0x5dcc8c(0x396)];_0x1fbeb6&&_0x11364e instanceof ye&&(this['_lockTransition'](),this['_updateState'](_0x11364e['fetchMiss']()),this[_0x5dcc8c(0x189)]());}async[_0x1b0175(0x217)](){return new Promise(_0x1e27f9=>{var _0x277913=_0x33ac;this[_0x277913(0x196)]['sessionStatus$'][_0x277913(0x3f2)](_0x1ebb68(0x1))[_0x277913(0x17c)](async _0x4a2f05=>{var _0x8316b=_0x277913;_0x1e27f9(await this['_createInitialStateImpl'](_0x4a2f05===ge[_0x8316b(0x1bf)]));});});}[_0x1b0175(0x221)](){var _0x1b8e7f=_0x1b0175;const _0x2b0d86=this[_0x1b8e7f(0x2a9)];return{'onStateChange':(_0x15ec0e,_0x5af8af)=>{var _0x6b09a4=_0x1b8e7f;if(_0x15ec0e!==this[_0x6b09a4(0x396)])throw new Error(_0x6b09a4(0x3a8)+_0x15ec0e[_0x6b09a4(0x27c)]+'\x0aAfter:\x20'+_0x5af8af[_0x6b09a4(0x27c)]+_0x6b09a4(0x1f2)+this['_state']['status']);this['_updateState'](_0x5af8af);},'onSendChangeset':_0x142d29=>{var _0x23f3c1=_0x1b8e7f;_0x142d29[_0x23f3c1(0x40d)]||(_0x142d29[_0x23f3c1(0x40d)]=this['_changesetSessionId'],_0x142d29[_0x23f3c1(0x3ca)]=++this['_changesetReqId']);const _0x4bf9a2={'eventID':_0x270543[_0x23f3c1(0x31e)],'data':{'unitID':_0x142d29[_0x23f3c1(0x2a9)],'unitType':this['_type'],'changeset':_0x142d29,'memberID':this[_0x23f3c1(0x196)][_0x23f3c1(0x318)]()}};this[_0x23f3c1(0x196)][_0x23f3c1(0x2a5)](_0x4bf9a2,this['unitID']);},'onMissingChangesets':({from:_0x30c61f,to:_0x1cc091})=>{var _0x1b211c=_0x1b8e7f;this[_0x1b211c(0x362)]['debug'](_0x1b211c(0x274),_0x1b211c(0x310)+_0x30c61f+_0x1b211c(0x39e)+_0x1cc091);const _0x312d4a={'eventID':_0x270543[_0x1b211c(0x3f3)],'data':{'unitID':_0x2b0d86,'unitType':this['_type'],'from':_0x30c61f,'to':_0x1cc091}};this[_0x1b211c(0x196)][_0x1b211c(0x2a5)](_0x312d4a,this[_0x1b211c(0x2a9)]);}};}async[_0x1b0175(0x379)](_0x22228b){var _0x539daa=_0x1b0175,_0x4246ba,_0x582dae,_0x927c68;const _0x4cbf60=await((_0x4246ba=this['_localCacheService'])==null?void 0x0:_0x4246ba['loadOfflineData'](this[_0x539daa(0x2a9)])),_0x2e3528=(_0x582dae=_0x4cbf60==null?void 0x0:_0x4cbf60[_0x539daa(0x2bf)])!=null?_0x582dae:[],_0x5344ed=(_0x927c68=_0x4cbf60==null?void 0x0:_0x4cbf60[_0x539daa(0x419)])!=null?_0x927c68:null,_0x162cd9=!!(_0x5344ed!=null&&_0x5344ed[_0x539daa(0x40d)])&&!!(_0x5344ed!=null&&_0x5344ed[_0x539daa(0x3ca)]);this[_0x539daa(0x398)]=_0x162cd9?_0x5344ed[_0x539daa(0x40d)]:_0x3cf683(),this[_0x539daa(0x1de)]=_0x162cd9?_0x5344ed[_0x539daa(0x3ca)]:0x0;const _0x1a37d3=this[_0x539daa(0x2a9)];try{this['_replayCachedMutations'](_0x5344ed,_0x2e3528);}catch(_0x8133fb){this[_0x539daa(0x362)]['error'](_0x8133fb);}const _0x5e6812=this[_0x539daa(0x221)]();if(_0x22228b){const _0x1572ed=Ti(this['_injector'],_0x1a37d3,this['_type'],_0x5344ed,_0x2e3528,_0x5e6812);return _0x1572ed instanceof re?_0x1572ed[_0x539daa(0x266)]():(_0x1572ed instanceof ae||_0x1572ed instanceof _e)&&_0x1572ed['resend'](),_0x1572ed;}return this[_0x539daa(0x295)][_0x539daa(0x209)](ue,_0x1a37d3,this[_0x539daa(0x24b)],_0x5344ed,_0x2e3528,_0x5e6812);}[_0x1b0175(0x3f9)](_0x436d87,_0x5d0f5f){var _0x157361=_0x1b0175,_0x56b93f,_0x86a379;const _0x428935=this[_0x157361(0x22f)]['interceptor'][_0x157361(0x2ee)](this[_0x157361(0x22f)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x56b93f=_0x428935((_0x436d87==null?void 0x0:_0x436d87[_0x157361(0x2bf)])||[],null))==null||_0x56b93f[_0x157361(0x2c3)](_0x2e7383=>this[_0x157361(0x371)][_0x157361(0x384)](_0x2e7383['id'],_0x2e7383[_0x157361(0x2e9)])),(_0x86a379=_0x428935(_0x5d0f5f||[],null))==null||_0x86a379[_0x157361(0x2c3)](_0xdbe81=>this['_commandService']['executeCommand'](_0xdbe81['id'],_0xdbe81['params']));}};st=wt([H(0x3,_0x2350f5(_0x4fef0a)),H(0x4,_0x2350f5(_0x4c718f)),H(0x5,_0x2350f5(_0x167f10)),H(0x6,_0x2350f5(_0x1b2f89)),H(0x7,_0x2350f5(ve)),H(0x8,_0x27c895),H(0x9,_0x5c1e8c),H(0xa,_0x33cf07),H(0xb,_0x364642(ht)),H(0xc,_0x364642(J))],st);function _0x33ac(_0x5a2f3f,_0x106996){var _0x10906f=_0x1090();return _0x33ac=function(_0x33acbd,_0x36a618){_0x33acbd=_0x33acbd-0x16f;var _0x281552=_0x10906f[_0x33acbd];return _0x281552;},_0x33ac(_0x5a2f3f,_0x106996);}let St=class extends st{constructor(_0x326491,_0x4aac77,_0x4a8e47,_0x2e6e15,_0x1280fe,_0x485155,_0x5a455c,_0x395d87,_0x2dccf5,_0x2322a4,_0x472204,_0x367c2e,_0x3b08b3){var _0x256fca=_0x1b0175;super(_0x326491,_0x4a8e47,_0x4aac77,_0x2e6e15,_0x1280fe,_0x485155,_0x5a455c,_0x395d87,_0x2dccf5,_0x2322a4,_0x472204,_0x367c2e,_0x3b08b3),N(this,_0x256fca(0x39f),null),(this[_0x256fca(0x2a9)]=_0x326491,this['type']=_0x4aac77);}[_0x1b0175(0x236)](_0x2fe1d5){var _0x56ad3b=_0x1b0175;this[_0x56ad3b(0x39f)]=_0x2fe1d5;}[_0x1b0175(0x45c)](){var _0x1347be=_0x1b0175;this[_0x1347be(0x39f)]=null,super[_0x1347be(0x45c)]();}['_createHandler'](){var _0x2818b5=_0x1b0175;const _0x1f3e23=super['_createHandler']();return _0x1f3e23[_0x2818b5(0x448)]=_0x48f148=>{var _0xfac8d=_0x2818b5,_0x54a969,_0x37a0d8;return(_0x37a0d8=(_0x54a969=this['_handlerCallback'])==null?void 0x0:_0x54a969[_0xfac8d(0x448)])==null?void 0x0:_0x37a0d8[_0xfac8d(0x21d)](_0x54a969,_0x48f148);},_0x1f3e23[_0x2818b5(0x455)]=_0x47a57c=>{var _0x2250c6=_0x2818b5,_0x620f25,_0x3654f9;return(_0x3654f9=(_0x620f25=this[_0x2250c6(0x39f)])==null?void 0x0:_0x620f25['onTransformState'])==null?void 0x0:_0x3654f9[_0x2250c6(0x21d)](_0x620f25,_0x47a57c);},_0x1f3e23[_0x2818b5(0x265)]=_0x44a916=>{var _0x5928d3=_0x2818b5,_0xbe2a7b,_0x6d4eb9;return(_0x6d4eb9=(_0xbe2a7b=this[_0x5928d3(0x39f)])==null?void 0x0:_0xbe2a7b[_0x5928d3(0x265)])==null?void 0x0:_0x6d4eb9[_0x5928d3(0x21d)](_0xbe2a7b,_0x44a916);},_0x1f3e23['onSyncEditingCollabCursor']=_0x6a6e33=>{var _0x428887=_0x2818b5,_0x29a807,_0x40d4fe;return(_0x40d4fe=(_0x29a807=this[_0x428887(0x39f)])==null?void 0x0:_0x29a807[_0x428887(0x33a)])==null?void 0x0:_0x40d4fe[_0x428887(0x21d)](_0x29a807,_0x6a6e33);},_0x1f3e23[_0x2818b5(0x466)]=_0x30ddfe=>{var _0x12e300=_0x2818b5,_0x2ef80c,_0x4618cf,_0x59f338;if(!((_0x2ef80c=this[_0x12e300(0x39f)])!=null&&_0x2ef80c[_0x12e300(0x466)]))throw new Error(_0x12e300(0x208));return(_0x59f338=(_0x4618cf=this[_0x12e300(0x39f)])==null?void 0x0:_0x4618cf[_0x12e300(0x466)])==null?void 0x0:_0x59f338[_0x12e300(0x21d)](_0x4618cf,_0x30ddfe);},_0x1f3e23[_0x2818b5(0x2ba)]=_0x2cc488=>{var _0x53e3ea=_0x2818b5,_0x4f38b0,_0x3c5499,_0x342db5;if(!((_0x4f38b0=this['_handlerCallback'])!=null&&_0x4f38b0[_0x53e3ea(0x2ba)]))throw new Error(_0x53e3ea(0x27d));return(_0x342db5=(_0x3c5499=this['_handlerCallback'])==null?void 0x0:_0x3c5499[_0x53e3ea(0x2ba)])==null?void 0x0:_0x342db5[_0x53e3ea(0x21d)](_0x3c5499,_0x2cc488);},_0x1f3e23;}async[_0x1b0175(0x337)](){var _0x177ed9=_0x1b0175;const _0x3d3324=await super[_0x177ed9(0x337)]();return this[_0x177ed9(0x188)](this['_commandService'][_0x177ed9(0x2e5)]((_0x58032f,_0x196f47)=>{var _0x2671a3=_0x177ed9;if(_0x58032f['type']!==_0x4f80e7[_0x2671a3(0x177)]||_0x196f47!=null&&_0x196f47['fromCollab']||_0x196f47!=null&&_0x196f47['onlyLocal']||_0x58032f['id']===_0x1d8c39['id'])return;const _0x14a59e=_0x58032f[_0x2671a3(0x2e9)];if((_0x14a59e==null?void 0x0:_0x14a59e[_0x2671a3(0x359)])!==this[_0x2671a3(0x2a9)])return;const _0x36f101=_0x58032f,_0x1c30cf=this[_0x2671a3(0x22f)][_0x2671a3(0x2f0)][_0x2671a3(0x2ee)](this[_0x2671a3(0x22f)]['interceptor'][_0x2671a3(0x1fd)]()[_0x2671a3(0x3ae)])([_0x36f101],null)||[_0x36f101];this[_0x2671a3(0x345)](_0x1c30cf[0x0]);})),_0x3d3324;}};St=wt([H(0x3,_0x2350f5(_0x4fef0a)),H(0x4,_0x2350f5(_0x4c718f)),H(0x5,_0x2350f5(_0x167f10)),H(0x6,_0x2350f5(_0x1b2f89)),H(0x7,_0x2350f5(ve)),H(0x8,_0x27c895),H(0x9,_0x5c1e8c),H(0xa,_0x33cf07),H(0xb,_0x364642(ht)),H(0xc,_0x364642(J))],St);let Et=class extends st{constructor(_0x40535c,_0x2a2006,_0x4d335b,_0x2add3a,_0x1b5458,_0x34a596,_0x314ed5,_0x241a23,_0x3941b1,_0x59507f,_0x36dbb0,_0x137a3d,_0x2c4891,_0xd959d0){var _0x28fc4a=_0x1b0175;super(_0x40535c,_0x4d335b,_0x2a2006,_0x2add3a,_0x1b5458,_0x34a596,_0x314ed5,_0x3941b1,_0x59507f,_0x36dbb0,_0x137a3d,_0x2c4891,_0xd959d0),this[_0x28fc4a(0x2a9)]=_0x40535c,this[_0x28fc4a(0x279)]=_0x2a2006,this[_0x28fc4a(0x213)]=_0x241a23;}[_0x1b0175(0x221)](){var _0x182fd6=_0x1b0175;const _0x511a2b=super[_0x182fd6(0x221)]();return _0x511a2b[_0x182fd6(0x265)]=_0x4ab4f5=>this[_0x182fd6(0x213)][_0x182fd6(0x356)](_0x4ab4f5),_0x511a2b;}async[_0x1b0175(0x337)](){var _0x516f77=_0x1b0175;const _0x134fd4=await super[_0x516f77(0x337)]();return this[_0x516f77(0x188)](this[_0x516f77(0x371)]['onCommandExecuted']((_0x1d56d0,_0x8980bd)=>{var _0x3bac82=_0x516f77;if(_0x1d56d0[_0x3bac82(0x279)]!==_0x4f80e7[_0x3bac82(0x177)]||_0x8980bd!=null&&_0x8980bd['fromCollab']||_0x8980bd!=null&&_0x8980bd[_0x3bac82(0x3c3)])return;const _0x2db4bf=_0x1d56d0[_0x3bac82(0x2e9)];if((_0x2db4bf==null?void 0x0:_0x2db4bf[_0x3bac82(0x359)])!==this[_0x3bac82(0x2a9)])return;const _0x23933e=_0x1d56d0,_0x32fbdd=this[_0x3bac82(0x22f)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x3bac82(0x2f0)][_0x3bac82(0x1fd)]()[_0x3bac82(0x3ae)])([_0x23933e],null)||[_0x23933e];this[_0x3bac82(0x345)](_0x32fbdd[0x0]);})),_0x134fd4;}};Et=wt([H(0x3,_0x2350f5(_0x4fef0a)),H(0x4,_0x2350f5(_0x4c718f)),H(0x5,_0x2350f5(_0x167f10)),H(0x6,_0x2350f5(_0x1b2f89)),H(0x7,_0x2350f5(it)),H(0x8,_0x2350f5(ve)),H(0x9,_0x27c895),H(0xa,_0x5c1e8c),H(0xb,_0x33cf07),H(0xc,_0x364642(ht)),H(0xd,_0x364642(J))],Et);const js=_0x2c3a23(_0x1b0175(0x31d));function Fs(_0x746fba){var _0x538fb5=_0x1b0175,_0x4a7734,_0x22ee61,_0x23ed64,_0xcbb1a7,_0x3951dd;const _0x1dad7d=_0x746fba[_0x538fb5(0x219)],_0xa49e4b=JSON[_0x538fb5(0x333)](_0x1dad7d);switch(_0xa49e4b[_0x538fb5(0x342)]){case F[_0x538fb5(0x2eb)]:case F['HELLO']:{const _0x336656=_0xa49e4b[_0x538fb5(0x31a)];return{..._0xa49e4b,'data':_0x336656,'cmd':_0xa49e4b['cmd']};}case F[_0x538fb5(0x229)]:{const _0x171e7b=_0xa49e4b['joinRsp'];return{..._0xa49e4b,'data':_0x171e7b,'cmd':_0xa49e4b[_0x538fb5(0x342)]};}case F[_0x538fb5(0x368)]:{const _0x3825bd=_0xa49e4b[_0x538fb5(0x30f)];switch(_0x3825bd[_0x538fb5(0x2d6)]){case _0x270543[_0x538fb5(0x388)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':(_0x4a7734=_0x3825bd[_0x538fb5(0x321)])==null?void 0x0:_0x4a7734['cs']},'cmd':_0xa49e4b['cmd']};case _0x270543['CHANGESET_ACK']:return{..._0xa49e4b,'data':{..._0x3825bd,'data':(_0x22ee61=_0x3825bd[_0x538fb5(0x1f8)])==null?void 0x0:_0x22ee61['cs']},'cmd':_0xa49e4b['cmd']};case _0x270543[_0x538fb5(0x2cd)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':(_0x23ed64=_0x3825bd[_0x538fb5(0x3d7)])==null?void 0x0:_0x23ed64['cs']},'cmd':_0xa49e4b['cmd']};case _0x270543['CHANGESET_REJ']:return{..._0xa49e4b,'data':{..._0x3825bd,'data':(_0xcbb1a7=_0x3825bd[_0x538fb5(0x218)])==null?void 0x0:_0xcbb1a7['cs']},'cmd':_0xa49e4b[_0x538fb5(0x342)]};case _0x270543['CHANGESET_SHOULD_RETRY']:return{..._0xa49e4b,'data':{..._0x3825bd,'data':(_0x3951dd=_0x3825bd[_0x538fb5(0x2c2)])==null?void 0x0:_0x3951dd['cs']},'cmd':_0xa49e4b[_0x538fb5(0x342)]};case _0x270543['UPDATE_CURSOR']:return{..._0xa49e4b,'data':{..._0x3825bd,'data':_0x3825bd['updateCursorEvent']},'cmd':_0xa49e4b[_0x538fb5(0x342)]};case _0x270543[_0x538fb5(0x240)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':_0x3825bd[_0x538fb5(0x323)]},'cmd':_0xa49e4b['cmd']};case _0x270543[_0x538fb5(0x300)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':_0x3825bd['leaveEvent']},'cmd':_0xa49e4b[_0x538fb5(0x342)]};case _0x270543[_0x538fb5(0x2c0)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':_0x3825bd[_0x538fb5(0x35a)]},'cmd':_0xa49e4b['cmd']};case _0x270543['LIVESHARE_FETCH_OPERATIONS']:case _0x270543[_0x538fb5(0x3c2)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':_0x3825bd[_0x538fb5(0x380)]},'cmd':_0xa49e4b['cmd']};case _0x270543[_0x538fb5(0x2fe)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':_0x3825bd[_0x538fb5(0x35a)]},'cmd':_0xa49e4b[_0x538fb5(0x342)]};case _0x270543[_0x538fb5(0x211)]:return{..._0xa49e4b,'data':_0x3825bd,'cmd':_0xa49e4b[_0x538fb5(0x342)]};case _0x270543[_0x538fb5(0x226)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':_0x3825bd[_0x538fb5(0x197)]},'cmd':_0xa49e4b['cmd']};case _0x270543[_0x538fb5(0x22a)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':_0x3825bd['updatePermissionObjEvent']},'cmd':_0xa49e4b[_0x538fb5(0x342)]};case _0x270543[_0x538fb5(0x2e2)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':_0x3825bd[_0x538fb5(0x27b)]},'cmd':_0xa49e4b['cmd']};case _0x270543[_0x538fb5(0x3ec)]:return{..._0xa49e4b,'data':{..._0x3825bd,'data':_0x3825bd[_0x538fb5(0x1a0)]},'cmd':_0xa49e4b[_0x538fb5(0x342)]};default:return _0xa49e4b;}}default:return _0xa49e4b;}}function Vs(_0x592490){var _0x2bfff4=_0x1b0175;switch(_0x592490['cmd']){case F['HEARTBEAT']:case F[_0x2bfff4(0x2cb)]:return JSON[_0x2bfff4(0x445)]({'cmd':_0x592490[_0x2bfff4(0x342)],'routeKey':_0x592490[_0x2bfff4(0x1d7)]});case F[_0x2bfff4(0x170)]:{let _0x2dba0d;switch(_0x592490[_0x2bfff4(0x219)][_0x2bfff4(0x2d6)]){case _0x270543['UPDATE_CURSOR']:{_0x2dba0d={'eventID':_0x270543[_0x2bfff4(0x18d)],'updateCursorEvent':_0x592490[_0x2bfff4(0x219)][_0x2bfff4(0x219)]};break;}case _0x270543[_0x2bfff4(0x300)]:{_0x2dba0d={'eventID':_0x270543[_0x2bfff4(0x300)],'leaveEvent':_0x592490[_0x2bfff4(0x219)][_0x2bfff4(0x219)]};break;}case _0x270543[_0x2bfff4(0x240)]:{_0x2dba0d={'eventID':_0x270543[_0x2bfff4(0x240)],'joinEvent':_0x592490['data']['data']};break;}case _0x270543['LIVESHARE_NEW_HOST']:{_0x2dba0d={'eventID':_0x270543[_0x2bfff4(0x2c0)],'liveShareNewHost':_0x592490[_0x2bfff4(0x219)][_0x2bfff4(0x219)]};break;}case _0x270543[_0x2bfff4(0x3c2)]:{_0x2dba0d={'eventID':_0x270543[_0x2bfff4(0x3c2)],'liveShareOperation':_0x592490[_0x2bfff4(0x219)][_0x2bfff4(0x219)]};break;}case _0x270543[_0x2bfff4(0x2fe)]:{_0x2dba0d={'eventID':_0x270543['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x592490['data']['data']};break;}case _0x270543[_0x2bfff4(0x234)]:{_0x2dba0d={'eventID':_0x270543['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x592490[_0x2bfff4(0x219)]['data']};break;}case _0x270543[_0x2bfff4(0x350)]:{_0x2dba0d={'eventID':_0x270543[_0x2bfff4(0x350)]};break;}default:_0x2dba0d={'eventID':_0x592490['data'][_0x2bfff4(0x2d6)]};}return JSON[_0x2bfff4(0x445)]({'cmd':_0x592490['cmd'],'routeKey':_0x592490[_0x2bfff4(0x1d7)],'collaMsg':_0x2dba0d});}case F['JOIN']:return JSON[_0x2bfff4(0x445)]({'cmd':_0x592490[_0x2bfff4(0x342)],'routeKey':_0x592490['routeKey'],'joinReq':_0x592490[_0x2bfff4(0x219)]});case F['LEAVE']:return JSON[_0x2bfff4(0x445)]({'cmd':_0x592490[_0x2bfff4(0x342)],'routeKey':_0x592490['routeKey'],'leaveReq':_0x592490[_0x2bfff4(0x219)]});default:throw new Error(_0x2bfff4(0x34d));}}var Ws=Object[_0x1b0175(0x469)],Gs=(_0x44b8fe,_0x23a5f0,_0x1dd264,_0x5393fa)=>{var _0x5a9aaf=_0x1b0175;for(var _0x3f7eca=_0x5393fa>0x1?void 0x0:_0x5393fa?Ws(_0x23a5f0,_0x1dd264):_0x23a5f0,_0xb0d4a9=_0x44b8fe[_0x5a9aaf(0x32a)]-0x1,_0x3913e9;_0xb0d4a9>=0x0;_0xb0d4a9--)(_0x3913e9=_0x44b8fe[_0xb0d4a9])&&(_0x3f7eca=_0x3913e9(_0x3f7eca)||_0x3f7eca);return _0x3f7eca;},De=(_0x54239a,_0x4d6216)=>(_0x3f592c,_0x41378a)=>_0x4d6216(_0x3f592c,_0x41378a,_0x54239a);const Ci=_0x2c3a23(_0x1b0175(0x192));function Ys(_0x431267,_0x502a22,_0x189ce4){var _0x222c99=_0x1b0175;return _0x431267+'/'+_0x502a22+_0x222c99(0x29a)+_0x189ce4+_0x222c99(0x29b);}let Gt=class extends _0x5b6ec2{constructor(_0x425eec,_0x541fdb,_0x4bf9e4,_0x1cff42,_0x35fa1f){var _0x3660ce=_0x1b0175;super(),this[_0x3660ce(0x295)]=_0x425eec,this['_httpService']=_0x541fdb,this['_configService']=_0x4bf9e4,this['_logService']=_0x1cff42,this[_0x3660ce(0x1e1)]=_0x35fa1f;}['_doCreateSocket'](_0x995a0b){var _0x432339=_0x1b0175;const _0x117939=this[_0x432339(0x295)]['get'](_0x5dfa6a);if(!_0x117939)throw new Error(_0x432339(0x47b));const _0x24ff17=_0x117939['createSocket'](_0x995a0b);if(!_0x24ff17)throw new Error(_0x432339(0x1ee));const _0x251a98=new _0x1eec7b(),_0x2a99aa=new _0xbd57ee();_0x251a98[_0x432339(0x2e4)](_0x24ff17['close$'][_0x432339(0x17c)](_0x19a6a2=>_0x2a99aa[_0x432339(0x377)](_0x19a6a2))),_0x251a98[_0x432339(0x2e4)](_0x3a0139(()=>_0x2a99aa[_0x432339(0x374)]()));const _0x59c553=new _0xbd57ee();_0x251a98[_0x432339(0x2e4)](_0x24ff17[_0x432339(0x206)][_0x432339(0x17c)](_0x7479df=>_0x59c553[_0x432339(0x377)](_0x7479df))),_0x251a98[_0x432339(0x2e4)](_0x3a0139(()=>_0x59c553[_0x432339(0x374)]()));const _0x39804e=new _0xbd57ee();_0x251a98['add'](_0x24ff17[_0x432339(0x220)][_0x432339(0x17c)](_0x2997f0=>{var _0x5e9fa9=_0x432339;const _0x4e362f=Fs(_0x2997f0);_0x39804e[_0x5e9fa9(0x377)](_0x4e362f);})),_0x251a98['add'](_0x3a0139(()=>_0x39804e[_0x432339(0x374)]()));let _0x43e928;const _0x521c0e=()=>{var _0x492709=_0x432339;_0x59c553[_0x492709(0x377)](new Event(_0x492709(0x3ff))),_0x2a99aa[_0x492709(0x377)](new Event(_0x492709(0x3ff))),_0x43e928[_0x492709(0x3fe)]();};return _0x43e928={'memberID':'','close$':_0x2a99aa['asObservable'](),'error$':_0x59c553[_0x432339(0x28c)](),'open$':_0x24ff17[_0x432339(0x391)],'message$':_0x39804e[_0x432339(0x28c)](),'send':_0x355427=>{var _0x3ecf26=_0x432339;if(_0x355427[_0x3ecf26(0x342)]===F[_0x3ecf26(0x170)]){if(_0x355427[_0x3ecf26(0x219)][_0x3ecf26(0x2d6)]===_0x270543[_0x3ecf26(0x31e)]){this[_0x3ecf26(0x3fb)](_0x43e928,_0x355427['data'])['catch'](_0xca1069=>{var _0x2c9046=_0x3ecf26;this['_logService'][_0x2c9046(0x31f)](_0xca1069),_0x521c0e();});return;}if(_0x355427[_0x3ecf26(0x219)][_0x3ecf26(0x2d6)]===_0x270543[_0x3ecf26(0x3f3)]){const _0x180918=_0x355427['data'];this[_0x3ecf26(0x199)](_0x180918)['then'](_0x5d6674=>{var _0x368ee6=_0x3ecf26;_0x39804e[_0x368ee6(0x377)]({'cmd':F['RECV'],'code':pe['OK'],'routeKey':_0x180918[_0x368ee6(0x219)][_0x368ee6(0x2a9)],'routeType':'','data':{'eventID':_0x270543[_0x368ee6(0x44e)],'data':{'changesets':_0x5d6674}}});})[_0x3ecf26(0x324)](_0x582d93=>{var _0x151e9e=_0x3ecf26;this['_logService'][_0x151e9e(0x31f)](_0x582d93),_0x521c0e();});return;}}_0x24ff17['send'](Vs(_0x355427));},'close':()=>{var _0x3744ba=_0x432339;_0x24ff17[_0x3744ba(0x3fe)](),_0x251a98[_0x3744ba(0x45c)]();}},_0x43e928;}async[_0x1b0175(0x3fb)](_0x13ca31,_0x1c5428){var _0x834038=_0x1b0175,_0x2db188;const {unitType:_0x5e9fc7,unitID:_0x3b8238,changeset:_0x349e1f}=_0x1c5428[_0x834038(0x219)],_0x37d5c4={'unitID':_0x3b8238,'memberID':_0x13ca31[_0x834038(0x2de)],'type':_0x5e9fc7,'changeset':_0x5ac210(_0x349e1f)},_0x3bc053=this['_configService'][_0x834038(0x2d4)](K),_0x4d68db=Ys((_0x2db188=_0x3bc053==null?void 0x0:_0x3bc053[_0x834038(0x423)])!=null?_0x2db188:Cs,_0x5e9fc7,_0x3b8238);try{await this[_0x834038(0x1fb)][_0x834038(0x2a1)](_0x4d68db,{'body':_0x37d5c4});}catch(_0x270a76){throw this[_0x834038(0x362)][_0x834038(0x31f)](_0x834038(0x2c1),_0x834038(0x2aa)),_0x270a76;}}async[_0x1b0175(0x199)](_0x2203ae){var _0x3f1669=_0x1b0175;const {unitID:_0x3c80e1,from:_0x252730,to:_0x40a3b0,unitType:_0x20c7f3}=_0x2203ae[_0x3f1669(0x219)];return(await this['_snapshotServerService'][_0x3f1669(0x3aa)]({'metadata':void 0x0},{'unitID':_0x3c80e1,'type':_0x20c7f3,'from':_0x252730,'to':_0x40a3b0}))[_0x3f1669(0x476)];}};Gt=Gs([De(0x0,_0x2350f5(_0x4fef0a)),De(0x1,_0x2350f5(_0x3d8309)),De(0x2,_0x39ec1e),De(0x3,_0x27c895),De(0x4,_0x44dcd2)],Gt);var Ks=Object[_0x1b0175(0x469)],qs=(_0x51ddf8,_0x5073a1,_0x33c039,_0x238b6a)=>{var _0x33d145=_0x1b0175;for(var _0x9fd83c=_0x238b6a>0x1?void 0x0:_0x238b6a?Ks(_0x5073a1,_0x33c039):_0x5073a1,_0x2eb043=_0x51ddf8[_0x33d145(0x32a)]-0x1,_0x5dc242;_0x2eb043>=0x0;_0x2eb043--)(_0x5dc242=_0x51ddf8[_0x2eb043])&&(_0x9fd83c=_0x5dc242(_0x9fd83c)||_0x9fd83c);return _0x9fd83c;},Re=(_0x21ca7b,_0x34c8fa)=>(_0x4d21ad,_0x12a2b0)=>_0x34c8fa(_0x4d21ad,_0x12a2b0,_0x21ca7b);let Pe=class extends _0x5b6ec2{constructor(_0x73e12a,_0x12c104,_0x4d47b9,_0x5b51b9,_0x471918,_0x245297){var _0x237c9b=_0x1b0175;super(),N(this,_0x237c9b(0x37d),new _0x1babcb(void 0x0)),N(this,'socket$',this['_socket$'][_0x237c9b(0x28c)]()),N(this,_0x237c9b(0x2a2),null),N(this,'_sessions',new Map()),N(this,_0x237c9b(0x457),new _0x1babcb(ge[_0x237c9b(0x459)])),N(this,_0x237c9b(0x403),this['_status$'][_0x237c9b(0x28c)]()),N(this,_0x237c9b(0x2b3),!0x1),N(this,_0x237c9b(0x3b7)),N(this,_0x237c9b(0x29f),0x0),N(this,_0x237c9b(0x17e)),N(this,'_timeoutTimer'),(this[_0x237c9b(0x295)]=_0x73e12a,this[_0x237c9b(0x362)]=_0x12c104,this['_configService']=_0x4d47b9,this['_socketService']=_0x5b51b9,this[_0x237c9b(0x38f)]=_0x471918,this['_networkConditionService']=_0x245297,this['_listenToNetworkCondition']());}get[_0x1b0175(0x1a1)](){var _0x2f7bd3=_0x1b0175;return this['_socket$'][_0x2f7bd3(0x3f4)]();}[_0x1b0175(0x3c6)](){var _0x91cefe=_0x1b0175;this['_networkConditionService']&&this['disposeWithMe'](this[_0x91cefe(0x3e9)][_0x91cefe(0x187)][_0x91cefe(0x17c)](_0x221ed9=>{_0x221ed9&&!this['_socket']&&this['reconnect'](),_0x221ed9||this['_onOffline']();}));}[_0x1b0175(0x45c)](){var _0x43683f=_0x1b0175;super[_0x43683f(0x45c)](),this[_0x43683f(0x394)](),this[_0x43683f(0x1c7)](),this[_0x43683f(0x319)](),this['_sessions'][_0x43683f(0x2c3)](_0x4e1cd0=>_0x4e1cd0[_0x43683f(0x45c)]()),this[_0x43683f(0x22b)][_0x43683f(0x1bc)](),this[_0x43683f(0x457)][_0x43683f(0x374)]();}async[_0x1b0175(0x296)](_0x3b5611){var _0x120a39=_0x1b0175;if(this['_sessions'][_0x120a39(0x378)](_0x3b5611))return this[_0x120a39(0x22b)]['get'](_0x3b5611);this[_0x120a39(0x3b5)]();const _0x122d9c=this[_0x120a39(0x295)]['createInstance'](gt,_0x3b5611,this[_0x120a39(0x37d)][_0x120a39(0x28c)]());return this['_sessions']['set'](_0x3b5611,_0x122d9c),_0x122d9c;}[_0x1b0175(0x34a)](_0xfd15a3){var _0x1d08ac=_0x1b0175,_0x53a4ac;const _0x15ff5b=this[_0x1d08ac(0x22b)][_0x1d08ac(0x41d)](_0xfd15a3);_0x15ff5b&&(this[_0x1d08ac(0x22b)]['delete'](_0xfd15a3),_0x15ff5b['close']()),this['_sessions'][_0x1d08ac(0x434)]||(_0x53a4ac=this[_0x1d08ac(0x1a1)])==null||_0x53a4ac[_0x1d08ac(0x3fe)]();}[_0x1b0175(0x25d)](){var _0x1d39a2=_0x1b0175;this['_retryCount']=0x0,this[_0x1d39a2(0x394)](),this['_tryReconnect']();}[_0x1b0175(0x394)](){var _0xfcca37=_0x1b0175;this[_0xfcca37(0x3b7)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0xfcca37(0x3b7)]=null);}async[_0x1b0175(0x32e)](){var _0x3a66da=_0x1b0175,_0x39119e;const _0x35e90a=this[_0x3a66da(0x3d9)]['getConfig'](K),_0x165ada=(_0x39119e=_0x35e90a==null?void 0x0:_0x35e90a['collabWebSocketUrl'])!=null?_0x39119e:ms,_0x3a26b5=await this['_socketService']['createSocket'](_0x165ada);return this[_0x3a66da(0x2a2)]=_0x3a26b5,_0x3a26b5;}async[_0x1b0175(0x3b5)](){var _0x64c95d=_0x1b0175,_0x52b9d8,_0x4a9402;try{const _0xe59b7a=(_0x4a9402=(_0x52b9d8=this[_0x64c95d(0x1a1)])!=null?_0x52b9d8:this[_0x64c95d(0x2a2)])!=null?_0x4a9402:await this[_0x64c95d(0x32e)]();if(_0xe59b7a){const _0x2766be=_0xe59b7a[_0x64c95d(0x2a5)];_0xe59b7a[_0x64c95d(0x2a5)]=_0x5dcea0=>(this[_0x64c95d(0x382)](),_0x2766be[_0x64c95d(0x230)](_0xe59b7a,[_0x5dcea0])),_0xe59b7a[_0x64c95d(0x220)][_0x64c95d(0x17c)](_0x3705e7=>this[_0x64c95d(0x299)](_0xe59b7a,_0x3705e7)),_0xe59b7a[_0x64c95d(0x206)][_0x64c95d(0x3f2)](_0x2bb393(0x1))[_0x64c95d(0x17c)](_0x3a165b=>this[_0x64c95d(0x362)][_0x64c95d(0x31f)](_0x64c95d(0x1fc),_0x3a165b)),_0xe59b7a['open$'][_0x64c95d(0x3f2)](_0x2bb393(0x1))[_0x64c95d(0x17c)](()=>{var _0x1cbd5b=_0x64c95d;this[_0x1cbd5b(0x200)](_0xe59b7a);}),_0xe59b7a[_0x64c95d(0x397)][_0x64c95d(0x3f2)](_0x2bb393(0x1))[_0x64c95d(0x17c)](_0x1f0ef4=>{var _0x5b8427=_0x64c95d;this[_0x5b8427(0x362)][_0x5b8427(0x3b1)](_0x5b8427(0x329),_0x5b8427(0x402),_0x1f0ef4),this[_0x5b8427(0x26c)]();});}}catch(_0x100a3b){this[_0x64c95d(0x362)][_0x64c95d(0x31f)](_0x100a3b),this[_0x64c95d(0x26c)]();}}[_0x1b0175(0x200)](_0x39fcb4){var _0x3f62c2=_0x1b0175;this['_logService']['debug'](_0x3f62c2(0x329),_0x3f62c2(0x407)),_0x39fcb4[_0x3f62c2(0x2a5)]({'cmd':F[_0x3f62c2(0x2cb)]}),this[_0x3f62c2(0x382)]();}[_0x1b0175(0x3a4)](){var _0x4c85a3=_0x1b0175;this[_0x4c85a3(0x2b3)]=!0x1,this[_0x4c85a3(0x2a2)]=null,this[_0x4c85a3(0x457)][_0x4c85a3(0x377)](ge[_0x4c85a3(0x286)]),this[_0x4c85a3(0x37d)][_0x4c85a3(0x377)](null),this['_clearTimeoutTimer'](),this[_0x4c85a3(0x319)]();}[_0x1b0175(0x26c)](){var _0xd269e5=_0x1b0175,_0x40bee4;this[_0xd269e5(0x3a4)](),this['_retryCount']<((_0x40bee4=this[_0xd269e5(0x3d9)][_0xd269e5(0x2d4)](Is))!=null?_0x40bee4:Ts)?(this[_0xd269e5(0x38f)]['emitEvent']({'id':ne[_0xd269e5(0x3d0)]}),this[_0xd269e5(0x23d)]()):this['_collaborationUIEventService'][_0xd269e5(0x29e)]({'id':ne[_0xd269e5(0x418)]});}[_0x1b0175(0x23d)](){var _0x253d00=_0x1b0175,_0x50bea4;const _0x1bf43e=this[_0x253d00(0x29f)],_0x1f3e3d=this[_0x253d00(0x3d9)][_0x253d00(0x2d4)](K),_0x214063=_0x1bf43e===0x0?0x0:((_0x50bea4=_0x1f3e3d==null?void 0x0:_0x1f3e3d[_0x253d00(0x2a6)])!=null?_0x50bea4:Es)*0x2**_0x1bf43e;this[_0x253d00(0x3b7)]=setTimeout(()=>{var _0x3482da=_0x253d00;clearTimeout(this[_0x3482da(0x3b7)]),this['_retryConnectingTimer']=null,this[_0x3482da(0x3b5)]();},_0x214063),this['_retryCount']+=0x1;}[_0x1b0175(0x299)](_0x45e975,_0x5b75b4){var _0x4c91e4=_0x1b0175;const {cmd:_0x2a7547}=_0x5b75b4;_0x2a7547===F[_0x4c91e4(0x2cb)]&&!this['_socketReady']&&(_0x45e975['memberID']=_0x5b75b4[_0x4c91e4(0x219)][_0x4c91e4(0x2de)],this['_socket$'][_0x4c91e4(0x377)](_0x45e975),this[_0x4c91e4(0x457)][_0x4c91e4(0x377)](ge['ONLINE']),this[_0x4c91e4(0x2b3)]=!0x0,this[_0x4c91e4(0x2a2)]=null),_0x2a7547===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x4c91e4(0x382)]();}[_0x1b0175(0x382)](){var _0x49982b=_0x1b0175,_0x502d33;this['_clearHeartbeatTimer'](),this[_0x49982b(0x17e)]=setTimeout(()=>this[_0x49982b(0x340)](),(_0x502d33=this[_0x49982b(0x3d9)]['getConfig'](gs))!=null?_0x502d33:Ss);}[_0x1b0175(0x340)](){var _0x22e03a=_0x1b0175;this['_socket']['send']({'cmd':F[_0x22e03a(0x2eb)]}),this[_0x22e03a(0x2b8)]();}[_0x1b0175(0x2b8)](){var _0x53cc08=_0x1b0175,_0x4523f5;this[_0x53cc08(0x44a)]=setTimeout(()=>this[_0x53cc08(0x26c)](),(_0x4523f5=this['_configService'][_0x53cc08(0x2d4)](di))!=null?_0x4523f5:fi);}[_0x1b0175(0x319)](){var _0x27be0a=_0x1b0175;this[_0x27be0a(0x17e)]!=null&&(clearTimeout(this[_0x27be0a(0x17e)]),this[_0x27be0a(0x17e)]=null);}[_0x1b0175(0x1c7)](){var _0x3ac0f5=_0x1b0175;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x3ac0f5(0x44a)]),this[_0x3ac0f5(0x44a)]=null);}};Pe=qs([Re(0x0,_0x2350f5(_0x4fef0a)),Re(0x1,_0x27c895),Re(0x2,_0x39ec1e),Re(0x3,Ci),Re(0x4,_0x2350f5(ve)),Re(0x5,_0x364642(js))],Pe);var zs=Object[_0x1b0175(0x469)],Js=(_0x537f1e,_0x145322,_0x51e91b,_0x449e43)=>{var _0x69e41=_0x1b0175;for(var _0x4b0aa9=_0x449e43>0x1?void 0x0:_0x449e43?zs(_0x145322,_0x51e91b):_0x145322,_0x7cbd6e=_0x537f1e[_0x69e41(0x32a)]-0x1,_0x294a2a;_0x7cbd6e>=0x0;_0x7cbd6e--)(_0x294a2a=_0x537f1e[_0x7cbd6e])&&(_0x4b0aa9=_0x294a2a(_0x4b0aa9)||_0x4b0aa9);return _0x4b0aa9;},Be=(_0x560a12,_0x30acad)=>(_0x3a62cd,_0x6b518f)=>_0x30acad(_0x3a62cd,_0x6b518f,_0x560a12);let nt=class extends _0x1947f8{constructor(_0x43477c,_0x299ec3,_0x6aa104,_0x403a1c){var _0x361a08=_0x1b0175,_0x24d4c0;super(),N(this,_0x361a08(0x41f),new Map()),N(this,'_entityInit$',new _0xbd57ee()),N(this,_0x361a08(0x19f),this[_0x361a08(0x387)][_0x361a08(0x28c)]()),(this[_0x361a08(0x295)]=_0x43477c,this[_0x361a08(0x27e)]=_0x299ec3,this[_0x361a08(0x3d9)]=_0x6aa104,this['_univerInstanceService']=_0x403a1c,((_0x24d4c0=this[_0x361a08(0x3d9)][_0x361a08(0x2d4)](K))==null?void 0x0:_0x24d4c0['enableCollaboration'])!==!0x1&&this['_init']());}['dispose'](){var _0x173b8c=_0x1b0175;super['dispose'](),this['_entities'][_0x173b8c(0x2c3)](_0x5643f9=>_0x5643f9[_0x173b8c(0x45c)]()),this[_0x173b8c(0x41f)][_0x173b8c(0x1bc)]();}[_0x1b0175(0x205)](_0x3068b3){var _0x5cfa4f=_0x1b0175,_0x419ecf;return(_0x419ecf=this[_0x5cfa4f(0x41f)][_0x5cfa4f(0x41d)](_0x3068b3))!=null?_0x419ecf:null;}[_0x1b0175(0x1bb)](_0x46c35b){var _0x36cef4=_0x1b0175;const _0x4370a9=this['getCollabEntity'](_0x46c35b);return _0x4370a9?_0x2cf37a(_0x4370a9):this[_0x36cef4(0x387)][_0x36cef4(0x3f2)](_0x4ecac2(_0x40f853=>_0x40f853[_0x36cef4(0x2a9)]===_0x46c35b));}[_0x1b0175(0x35c)](_0x301e8f){var _0x137aba=_0x1b0175;return _0x47678f(this[_0x137aba(0x1bb)](_0x301e8f)[_0x137aba(0x3f2)](_0x2af321(()=>{})));}[_0x1b0175(0x337)](){var _0x5873fe=_0x1b0175;this[_0x5873fe(0x1cf)][_0x5873fe(0x269)](_0x4db1c1[_0x5873fe(0x245)])[_0x5873fe(0x3f2)](_0x43488c(this[_0x5873fe(0x185)]),_0x119bcd(0x10))['subscribe'](async _0xbb07de=>{var _0x3800a5=_0x5873fe;const _0x1d54b0=_0xbb07de['getUnitId'](),_0x18914a=await this[_0x3800a5(0x3eb)](_0x1d54b0,Z[_0x3800a5(0x245)]);this[_0x3800a5(0x41f)][_0x3800a5(0x392)](_0x1d54b0,_0x18914a);}),this[_0x5873fe(0x1cf)][_0x5873fe(0x269)](_0x4db1c1[_0x5873fe(0x293)])['pipe'](_0x43488c(this[_0x5873fe(0x185)]),_0x119bcd(0x10))[_0x5873fe(0x3f2)](_0x4ecac2(_0x1d45eb=>!_0x1d45eb[_0x5873fe(0x3e5)]()[_0x5873fe(0x182)]('__')))['subscribe'](async _0x1af954=>{var _0x812be3=_0x5873fe;const _0x29c7d2=_0x1af954['getUnitId'](),_0x129fa3=await this[_0x812be3(0x3eb)](_0x29c7d2,Z[_0x812be3(0x293)]);this[_0x812be3(0x41f)][_0x812be3(0x392)](_0x29c7d2,_0x129fa3);}),_0x3ec2c8(this[_0x5873fe(0x1cf)]['getTypeOfUnitDisposed$'](_0x4db1c1['UNIVER_SHEET']),this[_0x5873fe(0x1cf)][_0x5873fe(0x436)](_0x4db1c1[_0x5873fe(0x293)]))[_0x5873fe(0x3f2)](_0x43488c(this[_0x5873fe(0x185)]))[_0x5873fe(0x17c)](_0x189f73=>{var _0x297a1a=_0x5873fe;const _0x2f14f4=_0x189f73['getUnitId'](),_0x4f9d8c=this[_0x297a1a(0x41f)][_0x297a1a(0x41d)](_0x2f14f4);_0x4f9d8c&&(_0x4f9d8c[_0x297a1a(0x45c)](),this[_0x297a1a(0x41f)][_0x297a1a(0x1d1)](_0x2f14f4));});}async[_0x1b0175(0x3eb)](_0x11c3d9,_0x536631){var _0x4c0261=_0x1b0175;const _0x2d85f0=await this[_0x4c0261(0x27e)][_0x4c0261(0x296)](_0x11c3d9),_0x293ad4=this[_0x4c0261(0x295)]['createInstance'](this[_0x4c0261(0x446)](_0x536631),_0x11c3d9,_0x536631,_0x2d85f0);return await _0x293ad4[_0x4c0261(0x3e8)](),this[_0x4c0261(0x387)][_0x4c0261(0x377)](_0x293ad4),_0x293ad4;}['_getCtorByUniverType'](_0x1e9443){var _0xc4b049=_0x1b0175;switch(_0x1e9443){case Z[_0xc4b049(0x293)]:return St;case Z[_0xc4b049(0x245)]:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x1e9443);}}};nt=Js([Be(0x0,_0x2350f5(_0x4fef0a)),Be(0x1,_0x2350f5(Pe)),Be(0x2,_0x39ec1e),Be(0x3,_0x1465c0)],nt);var Xs=Object['getOwnPropertyDescriptor'],Zs=(_0x498483,_0x456d27,_0x5a4944,_0x47c48e)=>{var _0x553506=_0x1b0175;for(var _0x28cfb9=_0x47c48e>0x1?void 0x0:_0x47c48e?Xs(_0x456d27,_0x5a4944):_0x456d27,_0x3d850b=_0x498483[_0x553506(0x32a)]-0x1,_0x47fa1a;_0x3d850b>=0x0;_0x3d850b--)(_0x47fa1a=_0x498483[_0x3d850b])&&(_0x28cfb9=_0x47fa1a(_0x28cfb9)||_0x28cfb9);return _0x28cfb9;},Yt=(_0x17c74a,_0x9b86b9)=>(_0x2a1823,_0x540b45)=>_0x9b86b9(_0x2a1823,_0x540b45,_0x17c74a);const Qs=_0x1b0175(0x175),en=_0x1b0175(0x313);let It=class extends _0x5b6ec2{constructor(_0x3c5b1a,_0x582f53){var _0x35f69b=_0x1b0175;super(),this[_0x35f69b(0x1cf)]=_0x3c5b1a,this['_configService']=_0x582f53,this[_0x35f69b(0x337)]();}['_init'](){var _0x8a635d=_0x1b0175;this['disposeWithMe'](this[_0x8a635d(0x1cf)]['focused$'][_0x8a635d(0x17c)](()=>{var _0x37572c=_0x8a635d,_0x3740b6;const _0x16838e=this['_univerInstanceService'][_0x37572c(0x268)]();let _0x36dc0b=(_0x3740b6=this[_0x37572c(0x3d9)][_0x37572c(0x2d4)](Qs))!=null?_0x3740b6:en;_0x16838e instanceof _0x255f9c&&(_0x36dc0b=_0x16838e[_0x37572c(0x2e1)]),document['title']=_0x36dc0b;}));}};It=Zs([Yt(0x0,_0x1465c0),Yt(0x1,_0x39ec1e)],It);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x385528,_0x40d421,_0x21057c,_0x645ee2)=>{for(var _0x204df1=_0x645ee2>0x1?void 0x0:_0x645ee2?tn(_0x40d421,_0x21057c):_0x40d421,_0x310eef=_0x385528['length']-0x1,_0x59b146;_0x310eef>=0x0;_0x310eef--)(_0x59b146=_0x385528[_0x310eef])&&(_0x204df1=_0x59b146(_0x204df1)||_0x204df1);return _0x204df1;},dt=(_0x4db183,_0x2726f6)=>(_0x54d259,_0x2177ee)=>_0x2726f6(_0x54d259,_0x2177ee,_0x4db183);let rt=class{constructor(_0xb346af,_0x29ceb5,_0x31a6ea){var _0xe05120=_0x1b0175;this[_0xe05120(0x3d9)]=_0xb346af,this[_0xe05120(0x1fb)]=_0x29ceb5,this[_0xe05120(0x45b)]=_0x31a6ea,this[_0xe05120(0x3e8)]();}[_0x1b0175(0x3e8)](){var _0x149bec=_0x1b0175;this[_0x149bec(0x1fb)][_0x149bec(0x2d2)]({'priority':0x1,'interceptor':(_0x2b990b,_0xc631e0)=>_0xc631e0(_0x2b990b)['pipe'](_0xfc20c9(async _0x172131=>{var _0x48e692=_0x149bec;const _0x319a7c=_0x172131;if(_0x319a7c[_0x48e692(0x27c)]===0x191){if(typeof window>'u')throw new Error(_0x48e692(0x20f));if(window[_0x48e692(0x250)](this[_0x48e692(0x45b)]['t'](_0x48e692(0x443)))){const _0x3fe42d=window[_0x48e692(0x181)](window['location'][_0x48e692(0x3f6)]);window[_0x48e692(0x3dc)][_0x48e692(0x3f6)]=this[_0x48e692(0x2fd)]()+_0x48e692(0x1c0)+_0x3fe42d;}}return _0x319a7c;}))});}[_0x1b0175(0x2fd)](){var _0x4171d8=_0x1b0175,_0x38dcfe;const _0x14468f=this[_0x4171d8(0x3d9)]['getConfig'](K);return(_0x38dcfe=_0x14468f==null?void 0x0:_0x14468f[_0x4171d8(0x3a0)])!=null?_0x38dcfe:Rs;}};rt=sn([dt(0x0,_0x39ec1e),dt(0x1,_0x2350f5(_0x3d8309)),dt(0x2,_0x2350f5(_0x167f10))],rt);var nn=Object[_0x1b0175(0x469)],rn=(_0x21b30d,_0x5bb5e0,_0x421d7f,_0x45ce05)=>{var _0x44cef6=_0x1b0175;for(var _0x3cf9e8=_0x45ce05>0x1?void 0x0:_0x45ce05?nn(_0x5bb5e0,_0x421d7f):_0x5bb5e0,_0x4f5b60=_0x21b30d[_0x44cef6(0x32a)]-0x1,_0x1ba2ce;_0x4f5b60>=0x0;_0x4f5b60--)(_0x1ba2ce=_0x21b30d[_0x4f5b60])&&(_0x3cf9e8=_0x1ba2ce(_0x3cf9e8)||_0x3cf9e8);return _0x3cf9e8;},Kt=(_0x5143c9,_0x8ef6d3)=>(_0x16953e,_0x573c16)=>_0x8ef6d3(_0x16953e,_0x573c16,_0x5143c9);const an=_0x1b0175(0x3e0);let Tt=class extends _0x5b6ec2{constructor(_0x4a37aa,_0x4577c0){var _0x2de3ed=_0x1b0175;super(),this[_0x2de3ed(0x437)]=_0x4a37aa,this[_0x2de3ed(0x3d9)]=_0x4577c0,this['_initMergeInterceptor']();}[_0x1b0175(0x327)](){var _0x35cf74=_0x1b0175;const _0x39fe71=this;this['disposeWithMe'](this[_0x35cf74(0x437)][_0x35cf74(0x2d2)]({'priority':0x3e7,'interceptor':_0x1e4518({'isMatch'(_0xb12948){var _0xea71aa=_0x35cf74,_0x3ec69;if(_0xb12948[_0xea71aa(0x2b9)]==='POST'&&((_0x3ec69=_0xb12948['requestParams'])!=null&&_0x3ec69[_0xea71aa(0x3a6)])){const {objectID:_0x1029eb,objectType:_0x666dd9}=_0xb12948['requestParams'][_0xea71aa(0x3a6)]||{};if(!_0x1029eb||_0x666dd9===void 0x0)return!0x1;const _0x481636=_0x39fe71[_0xea71aa(0x37c)]()+'/'+_0x666dd9+_0xea71aa(0x2cf)+_0x1029eb+_0xea71aa(0x1b8);if(_0xb12948[_0xea71aa(0x470)]===_0x481636)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x53532b){var _0x18d2db=_0x35cf74,_0x58dfbb;return(_0x58dfbb=_0x53532b[_0x18d2db(0x41a)])==null?void 0x0:_0x58dfbb[_0x18d2db(0x3a6)];},'mergeParamsToRequest'(_0x291367,_0x51b501){var _0x3498b2=_0x35cf74;const _0x581703=_0x39fe71[_0x3498b2(0x37c)]()+_0x3498b2(0x2da),_0x25939e=_0x291367[_0x3498b2(0x26a)]((_0xfbd88c,_0x388ff3)=>{var _0x171610=_0x3498b2;const {unitID:_0x546993,objectID:_0x4dc6ef,objectType:_0x12fc43,actions:_0x30ab2b}=_0x388ff3;return _0xfbd88c[_0x546993]||(_0xfbd88c[_0x546993]={}),_0xfbd88c[_0x546993][_0x4dc6ef]||(_0xfbd88c[_0x546993][_0x4dc6ef]={'objectID':_0x4dc6ef,'objectType':_0x12fc43,'actions':[]}),_0xfbd88c[_0x546993][_0x4dc6ef]['actions'][_0x171610(0x1ac)](..._0x30ab2b),_0xfbd88c;},{}),_0x49ff7b=[];for(const _0x347584 in _0x25939e)for(const _0x5c9a2b in _0x25939e[_0x347584]){const {actions:_0x80ad50,objectType:_0x453587}=_0x25939e[_0x347584][_0x5c9a2b],_0x4fd55d=[...new Set(_0x80ad50)];_0x49ff7b[_0x3498b2(0x1ac)]({'unitID':_0x347584,'objectID':_0x5c9a2b,'objectType':_0x453587,'actions':_0x4fd55d});}return new _0x244645(_0x3498b2(0x351),_0x581703,{'headers':_0x51b501[_0x3498b2(0x1aa)],'withCredentials':_0x51b501['withCredentials'],'responseType':_0x51b501[_0x3498b2(0x1f6)],'body':{'requests':_0x49ff7b}});}},{'distributeResult'(_0xdec381,_0x4b0e3e){var _0xf28d3=_0x35cf74;const {objectActions:_0x5f3807}=_0xdec381;return _0x4b0e3e[_0xf28d3(0x33e)](_0x110a9a=>{var _0x5aee2c=_0xf28d3;const {unitID:_0x465400,objectID:_0x393338,actions:_0x4aa179}=_0x110a9a,_0x567c40=_0x5f3807[_0x5aee2c(0x381)](_0x3fcb19=>_0x3fcb19['unitID']===_0x465400&&_0x3fcb19[_0x5aee2c(0x3bf)]===_0x393338),_0x5f242c=_0x4aa179['map'](_0x4b9f84=>_0x567c40==null?void 0x0:_0x567c40[_0x5aee2c(0x24d)]['find'](_0x440af1=>_0x440af1[_0x5aee2c(0x198)]===_0x4b9f84))[_0x5aee2c(0x354)](_0x4715c4=>!!_0x4715c4);return{'config':_0x110a9a,'result':{'actions':_0x5f242c,'error':_0xdec381['error']}};});}})}));}[_0x1b0175(0x37c)](){var _0x4f4163=_0x1b0175,_0x1625d0;const _0x309fb4=this[_0x4f4163(0x3d9)][_0x4f4163(0x2d4)](K);return(_0x1625d0=_0x309fb4==null?void 0x0:_0x309fb4[_0x4f4163(0x46c)])!=null?_0x1625d0:an;}async[_0x1b0175(0x360)](_0x27aec1){var _0x3b82ce=_0x1b0175;const _0x2e5c19=this[_0x3b82ce(0x37c)]()+'/'+_0x27aec1[_0x3b82ce(0x432)]+_0x3b82ce(0x420);return(await this[_0x3b82ce(0x437)][_0x3b82ce(0x2a1)](_0x2e5c19,{'body':_0x27aec1}))[_0x3b82ce(0x3a6)][_0x3b82ce(0x3bf)]||'';}async[_0x1b0175(0x3d3)](_0x4638fb){var _0x6254d=_0x1b0175;const _0x2a6397=this[_0x6254d(0x37c)]()+_0x6254d(0x2ae);return(await this[_0x6254d(0x437)][_0x6254d(0x2a1)](_0x2a6397,{'body':_0x4638fb}))['body'][_0x6254d(0x45d)];}async['update'](_0x417faa){var _0x4ebc6f=_0x1b0175,_0x153a5e,_0x5d7464;const _0x5f57af=this['_getAPIPrefixPath']()+'/'+_0x417faa[_0x4ebc6f(0x432)]+_0x4ebc6f(0x2cf)+_0x417faa['objectID'],_0x4d67ec=await this['_HTTPService'][_0x4ebc6f(0x3dd)](_0x5f57af,{'body':_0x417faa});if(((_0x5d7464=(_0x153a5e=_0x4d67ec==null?void 0x0:_0x4d67ec[_0x4ebc6f(0x3a6)])==null?void 0x0:_0x153a5e[_0x4ebc6f(0x31f)])==null?void 0x0:_0x5d7464[_0x4ebc6f(0x1fe)])!==0x1)throw new Error(_0x4ebc6f(0x34e));}async[_0x1b0175(0x303)](_0x561584){var _0x373b92=_0x1b0175;const _0x1932de=this['_getAPIPrefixPath']()+'/'+_0x561584['objectType']+'/object/'+_0x561584[_0x373b92(0x3bf)]+_0x373b92(0x1b8);return(await this[_0x373b92(0x437)][_0x373b92(0x2a1)](_0x1932de,{'body':_0x561584}))[_0x373b92(0x3a6)]['actions'];}async[_0x1b0175(0x254)](_0x4689dd){var _0xbd3ae2=_0x1b0175;const _0xed1f6d=this[_0xbd3ae2(0x37c)]()+_0xbd3ae2(0x2da);return(await this['_HTTPService'][_0xbd3ae2(0x2a1)](_0xed1f6d,{'body':{'requests':_0x4689dd}}))[_0xbd3ae2(0x3a6)][_0xbd3ae2(0x172)];}async[_0x1b0175(0x2a7)](_0x2c0bb9){var _0x2845b1=_0x1b0175;const _0x888803=this[_0x2845b1(0x37c)]()+'/'+_0x2c0bb9[_0x2845b1(0x432)]+_0x2845b1(0x369),_0x1563a8=await this['_HTTPService']['post'](_0x888803,{'body':_0x2c0bb9});return{'roles':_0x1563a8[_0x2845b1(0x3a6)][_0x2845b1(0x1c4)],'actions':_0x1563a8[_0x2845b1(0x3a6)][_0x2845b1(0x24d)]};}async['deleteCollaborator'](_0x364436){var _0x26c32a=_0x1b0175;const _0x55f433=this[_0x26c32a(0x37c)]()+'/collaborator';await this[_0x26c32a(0x437)][_0x26c32a(0x1d1)](_0x55f433,{'params':{'collaboratorID':_0x364436[_0x26c32a(0x256)],'objectID':_0x364436[_0x26c32a(0x3bf)],'unitID':_0x364436[_0x26c32a(0x2a9)]}});}async['updateCollaborator'](_0x2ced28){var _0x37ebda=_0x1b0175;const _0x883cb2=this[_0x37ebda(0x37c)]()+'/collaborator';await this[_0x37ebda(0x437)][_0x37ebda(0x294)](_0x883cb2,{'body':_0x2ced28});}async[_0x1b0175(0x3df)](_0x1e211e){var _0x1b63b5=_0x1b0175;const _0x1de43b=this['_getAPIPrefixPath']()+_0x1b63b5(0x17a);await this['_HTTPService'][_0x1b63b5(0x2a1)](_0x1de43b,{'body':_0x1e211e});}async[_0x1b0175(0x471)](_0x569b4c){var _0x3ed7c0=_0x1b0175;const _0x599839=this[_0x3ed7c0(0x37c)]()+'/collaborator';return(await this[_0x3ed7c0(0x437)][_0x3ed7c0(0x41d)](_0x599839,{'params':{'objectID':_0x569b4c[_0x3ed7c0(0x3bf)],'unitID':_0x569b4c[_0x3ed7c0(0x2a9)]}}))[_0x3ed7c0(0x3a6)][_0x3ed7c0(0x46f)];}async[_0x1b0175(0x252)](_0x23c2be){var _0x11842e=_0x1b0175;const _0x5d2799=this[_0x11842e(0x37c)]()+_0x11842e(0x17a);await this[_0x11842e(0x437)]['put'](_0x5d2799,{'body':_0x23c2be});}};Tt=rn([Kt(0x0,_0x2350f5(_0x3d8309)),Kt(0x1,_0x2350f5(_0x39ec1e))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x558301){var _0x24e9ba=_0x1b0175;return _0x558301&&_0x558301['__esModule']&&Object[_0x24e9ba(0x462)][_0x24e9ba(0x435)][_0x24e9ba(0x21d)](_0x558301,_0x24e9ba(0x3ef))?_0x558301[_0x24e9ba(0x3ef)]:_0x558301;}var Ve={'exports':{}};function on(_0x280703){var _0x452563=_0x1b0175;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x280703+_0x452563(0x39c));}var We={'exports':{}},cn=We[_0x1b0175(0x44c)],qt;function te(){var _0x4d9ed5=_0x1b0175;return qt||(qt=0x1,function(_0x9252b8,_0x1143d7){(function(_0x401c2d,_0x30e01e){_0x9252b8['exports']=_0x30e01e();}(cn,function(){var _0x2cb28b=_0x2cb28b||function(_0x1695c3,_0x152e2b){var _0x5d55cc=_0x33ac,_0x4ba99c;if(typeof window<'u'&&window[_0x5d55cc(0x40b)]&&(_0x4ba99c=window[_0x5d55cc(0x40b)]),typeof self<'u'&&self[_0x5d55cc(0x40b)]&&(_0x4ba99c=self[_0x5d55cc(0x40b)]),typeof globalThis<'u'&&globalThis[_0x5d55cc(0x40b)]&&(_0x4ba99c=globalThis[_0x5d55cc(0x40b)]),!_0x4ba99c&&typeof window<'u'&&window[_0x5d55cc(0x361)]&&(_0x4ba99c=window[_0x5d55cc(0x361)]),!_0x4ba99c&&typeof ft<'u'&&ft[_0x5d55cc(0x40b)]&&(_0x4ba99c=ft[_0x5d55cc(0x40b)]),!_0x4ba99c&&typeof on==_0x5d55cc(0x24c))try{_0x4ba99c=require('crypto');}catch{}var _0xc774cb=function(){var _0x406dca=_0x5d55cc;if(_0x4ba99c){if(typeof _0x4ba99c[_0x406dca(0x2bb)]=='function')try{return _0x4ba99c[_0x406dca(0x2bb)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4ba99c[_0x406dca(0x331)]==_0x406dca(0x24c))try{return _0x4ba99c[_0x406dca(0x331)](0x4)[_0x406dca(0x335)]();}catch{}}throw new Error(_0x406dca(0x178));},_0x326827=Object['create']||(function(){function _0x104163(){}return function(_0x281383){var _0x4eaf1d=_0x33ac,_0x4ffd2c;return _0x104163[_0x4eaf1d(0x462)]=_0x281383,_0x4ffd2c=new _0x104163(),_0x104163['prototype']=null,_0x4ffd2c;};}()),_0x4fa344={},_0x15849e=_0x4fa344['lib']={},_0x293dfa=_0x15849e[_0x5d55cc(0x346)]=(function(){return{'extend':function(_0x57d7fb){var _0x5ca41e=_0x33ac,_0xfd7331=_0x326827(this);return _0x57d7fb&&_0xfd7331[_0x5ca41e(0x390)](_0x57d7fb),(!_0xfd7331[_0x5ca41e(0x435)]('init')||this[_0x5ca41e(0x3e8)]===_0xfd7331[_0x5ca41e(0x3e8)])&&(_0xfd7331[_0x5ca41e(0x3e8)]=function(){var _0x4dadf4=_0x5ca41e;_0xfd7331[_0x4dadf4(0x3af)][_0x4dadf4(0x3e8)][_0x4dadf4(0x230)](this,arguments);}),_0xfd7331[_0x5ca41e(0x3e8)][_0x5ca41e(0x462)]=_0xfd7331,_0xfd7331['$super']=this,_0xfd7331;},'create':function(){var _0x23b96d=_0x33ac,_0x105d4f=this['extend']();return _0x105d4f['init'][_0x23b96d(0x230)](_0x105d4f,arguments),_0x105d4f;},'init':function(){},'mixIn':function(_0x52334c){var _0x43aee8=_0x33ac;for(var _0x2ea745 in _0x52334c)_0x52334c[_0x43aee8(0x435)](_0x2ea745)&&(this[_0x2ea745]=_0x52334c[_0x2ea745]);_0x52334c[_0x43aee8(0x435)](_0x43aee8(0x18c))&&(this[_0x43aee8(0x18c)]=_0x52334c[_0x43aee8(0x18c)]);},'clone':function(){var _0x212a73=_0x33ac;return this['init'][_0x212a73(0x462)][_0x212a73(0x32f)](this);}};}()),_0x36482d=_0x15849e[_0x5d55cc(0x425)]=_0x293dfa['extend']({'init':function(_0x3d0d9a,_0x5e1f43){var _0x576558=_0x5d55cc;_0x3d0d9a=this['words']=_0x3d0d9a||[],_0x5e1f43!=_0x152e2b?this[_0x576558(0x3cd)]=_0x5e1f43:this[_0x576558(0x3cd)]=_0x3d0d9a[_0x576558(0x32a)]*0x4;},'toString':function(_0x1497b8){return(_0x1497b8||_0x2233e7)['stringify'](this);},'concat':function(_0x3405ae){var _0x11c5f3=_0x5d55cc,_0x51498=this[_0x11c5f3(0x1c5)],_0x12dcd6=_0x3405ae['words'],_0x28a324=this[_0x11c5f3(0x3cd)],_0x153138=_0x3405ae[_0x11c5f3(0x3cd)];if(this[_0x11c5f3(0x1e7)](),_0x28a324%0x4)for(var _0x2069b8=0x0;_0x2069b8<_0x153138;_0x2069b8++){var _0x38a94c=_0x12dcd6[_0x2069b8>>>0x2]>>>0x18-_0x2069b8%0x4*0x8&0xff;_0x51498[_0x28a324+_0x2069b8>>>0x2]|=_0x38a94c<<0x18-(_0x28a324+_0x2069b8)%0x4*0x8;}else{for(var _0x18e0ce=0x0;_0x18e0ce<_0x153138;_0x18e0ce+=0x4)_0x51498[_0x28a324+_0x18e0ce>>>0x2]=_0x12dcd6[_0x18e0ce>>>0x2];}return this[_0x11c5f3(0x3cd)]+=_0x153138,this;},'clamp':function(){var _0x32b4f4=_0x5d55cc,_0x540bf6=this['words'],_0x53e5fb=this['sigBytes'];_0x540bf6[_0x53e5fb>>>0x2]&=0xffffffff<<0x20-_0x53e5fb%0x4*0x8,_0x540bf6[_0x32b4f4(0x32a)]=_0x1695c3[_0x32b4f4(0x24a)](_0x53e5fb/0x4);},'clone':function(){var _0x2ab343=_0x5d55cc,_0xc046b=_0x293dfa[_0x2ab343(0x171)][_0x2ab343(0x21d)](this);return _0xc046b[_0x2ab343(0x1c5)]=this[_0x2ab343(0x1c5)][_0x2ab343(0x271)](0x0),_0xc046b;},'random':function(_0x24855b){var _0x4e6a68=_0x5d55cc;for(var _0x52cb43=[],_0x5d6a7a=0x0;_0x5d6a7a<_0x24855b;_0x5d6a7a+=0x4)_0x52cb43['push'](_0xc774cb());return new _0x36482d[(_0x4e6a68(0x3e8))](_0x52cb43,_0x24855b);}}),_0x5c6f2e=_0x4fa344[_0x5d55cc(0x3d5)]={},_0x2233e7=_0x5c6f2e[_0x5d55cc(0x1eb)]={'stringify':function(_0x1a25d0){var _0x41058b=_0x5d55cc;for(var _0x9af6b3=_0x1a25d0[_0x41058b(0x1c5)],_0x2843f4=_0x1a25d0[_0x41058b(0x3cd)],_0x4c5406=[],_0xa899d=0x0;_0xa899d<_0x2843f4;_0xa899d++){var _0x16659d=_0x9af6b3[_0xa899d>>>0x2]>>>0x18-_0xa899d%0x4*0x8&0xff;_0x4c5406[_0x41058b(0x1ac)]((_0x16659d>>>0x4)[_0x41058b(0x18c)](0x10)),_0x4c5406[_0x41058b(0x1ac)]((_0x16659d&0xf)[_0x41058b(0x18c)](0x10));}return _0x4c5406[_0x41058b(0x16f)]('');},'parse':function(_0x1dbfe0){var _0x2edabb=_0x5d55cc;for(var _0x116e56=_0x1dbfe0[_0x2edabb(0x32a)],_0x549716=[],_0x1ca96a=0x0;_0x1ca96a<_0x116e56;_0x1ca96a+=0x2)_0x549716[_0x1ca96a>>>0x3]|=parseInt(_0x1dbfe0[_0x2edabb(0x439)](_0x1ca96a,0x2),0x10)<<0x18-_0x1ca96a%0x8*0x4;return new _0x36482d['init'](_0x549716,_0x116e56/0x2);}},_0x37f749=_0x5c6f2e[_0x5d55cc(0x2d0)]={'stringify':function(_0x167a59){var _0x1966b4=_0x5d55cc;for(var _0x25576b=_0x167a59[_0x1966b4(0x1c5)],_0x40212a=_0x167a59[_0x1966b4(0x3cd)],_0x8bc516=[],_0x4090b1=0x0;_0x4090b1<_0x40212a;_0x4090b1++){var _0xfce4b0=_0x25576b[_0x4090b1>>>0x2]>>>0x18-_0x4090b1%0x4*0x8&0xff;_0x8bc516['push'](String[_0x1966b4(0x37f)](_0xfce4b0));}return _0x8bc516[_0x1966b4(0x16f)]('');},'parse':function(_0x24cd3d){var _0x58bcf5=_0x5d55cc;for(var _0x34b60c=_0x24cd3d[_0x58bcf5(0x32a)],_0x3c575d=[],_0xa635f7=0x0;_0xa635f7<_0x34b60c;_0xa635f7++)_0x3c575d[_0xa635f7>>>0x2]|=(_0x24cd3d[_0x58bcf5(0x19d)](_0xa635f7)&0xff)<<0x18-_0xa635f7%0x4*0x8;return new _0x36482d[(_0x58bcf5(0x3e8))](_0x3c575d,_0x34b60c);}},_0x24932e=_0x5c6f2e[_0x5d55cc(0x3e6)]={'stringify':function(_0x34b427){var _0x53caa5=_0x5d55cc;try{return decodeURIComponent(escape(_0x37f749['stringify'](_0x34b427)));}catch{throw new Error(_0x53caa5(0x25f));}},'parse':function(_0x322a90){var _0x25a4d2=_0x5d55cc;return _0x37f749[_0x25a4d2(0x333)](unescape(encodeURIComponent(_0x322a90)));}},_0xbad2fc=_0x15849e['BufferedBlockAlgorithm']=_0x293dfa[_0x5d55cc(0x32f)]({'reset':function(){var _0x3a4b69=_0x5d55cc;this[_0x3a4b69(0x357)]=new _0x36482d['init'](),this[_0x3a4b69(0x302)]=0x0;},'_append':function(_0x476b8b){var _0x16ab19=_0x5d55cc;typeof _0x476b8b==_0x16ab19(0x225)&&(_0x476b8b=_0x24932e[_0x16ab19(0x333)](_0x476b8b)),this[_0x16ab19(0x357)]['concat'](_0x476b8b),this[_0x16ab19(0x302)]+=_0x476b8b[_0x16ab19(0x3cd)];},'_process':function(_0x5cf2e7){var _0x35b1a0=_0x5d55cc,_0x54be8e,_0x3dbfdf=this[_0x35b1a0(0x357)],_0x2d17a4=_0x3dbfdf[_0x35b1a0(0x1c5)],_0x3b102a=_0x3dbfdf[_0x35b1a0(0x3cd)],_0x1e4965=this['blockSize'],_0x360726=_0x1e4965*0x4,_0x495efa=_0x3b102a/_0x360726;_0x5cf2e7?_0x495efa=_0x1695c3[_0x35b1a0(0x24a)](_0x495efa):_0x495efa=_0x1695c3[_0x35b1a0(0x34b)]((_0x495efa|0x0)-this['_minBufferSize'],0x0);var _0x620fcc=_0x495efa*_0x1e4965,_0x4940ac=_0x1695c3[_0x35b1a0(0x247)](_0x620fcc*0x4,_0x3b102a);if(_0x620fcc){for(var _0x399ab6=0x0;_0x399ab6<_0x620fcc;_0x399ab6+=_0x1e4965)this[_0x35b1a0(0x1e0)](_0x2d17a4,_0x399ab6);_0x54be8e=_0x2d17a4[_0x35b1a0(0x2d7)](0x0,_0x620fcc),_0x3dbfdf[_0x35b1a0(0x3cd)]-=_0x4940ac;}return new _0x36482d[(_0x35b1a0(0x3e8))](_0x54be8e,_0x4940ac);},'clone':function(){var _0x40b8b1=_0x5d55cc,_0x467f7e=_0x293dfa['clone'][_0x40b8b1(0x21d)](this);return _0x467f7e['_data']=this[_0x40b8b1(0x357)][_0x40b8b1(0x171)](),_0x467f7e;},'_minBufferSize':0x0});_0x15849e[_0x5d55cc(0x468)]=_0xbad2fc[_0x5d55cc(0x32f)]({'cfg':_0x293dfa[_0x5d55cc(0x32f)](),'init':function(_0x2e1ce1){var _0x227b8d=_0x5d55cc;this[_0x227b8d(0x42d)]=this[_0x227b8d(0x42d)][_0x227b8d(0x32f)](_0x2e1ce1),this[_0x227b8d(0x343)]();},'reset':function(){_0xbad2fc['reset']['call'](this),this['_doReset']();},'update':function(_0x1d68e6){var _0x4eed29=_0x5d55cc;return this['_append'](_0x1d68e6),this[_0x4eed29(0x426)](),this;},'finalize':function(_0x25148b){var _0x22bb25=_0x5d55cc;_0x25148b&&this[_0x22bb25(0x2a3)](_0x25148b);var _0x404b22=this['_doFinalize']();return _0x404b22;},'blockSize':0x10,'_createHelper':function(_0x13cf53){return function(_0x24ad96,_0x237def){var _0x14d860=_0x33ac;return new _0x13cf53[(_0x14d860(0x3e8))](_0x237def)[_0x14d860(0x238)](_0x24ad96);};},'_createHmacHelper':function(_0x5d8598){return function(_0x15e442,_0x423705){var _0xf52c90=_0x33ac;return new _0x54600a[(_0xf52c90(0x2c8))]['init'](_0x5d8598,_0x423705)[_0xf52c90(0x238)](_0x15e442);};}});var _0x54600a=_0x4fa344[_0x5d55cc(0x304)]={};return _0x4fa344;}(Math);return _0x2cb28b;}));}(We)),We[_0x4d9ed5(0x44c)];}var Ge={'exports':{}},hn=Ge['exports'],zt;function Ri(){var _0x472a52=_0x1b0175;return zt||(zt=0x1,function(_0x1ee2b9,_0x4a187d){(function(_0x3e1413,_0xdd245e){var _0x3f525a=_0x33ac;_0x1ee2b9[_0x3f525a(0x44c)]=_0xdd245e(te());}(hn,function(_0x25476c){var _0x1c0f00=_0x33ac;return(function(){var _0x2f241d=_0x33ac,_0x285a48=_0x25476c,_0xa992a7=_0x285a48['lib'],_0x1613e8=_0xa992a7[_0x2f241d(0x425)],_0x36a8ab=_0x285a48[_0x2f241d(0x3d5)];_0x36a8ab[_0x2f241d(0x21c)]={'stringify':function(_0x4273e4){var _0x4d090f=_0x2f241d,_0xa45d08=_0x4273e4[_0x4d090f(0x1c5)],_0x5690a7=_0x4273e4[_0x4d090f(0x3cd)],_0x20d393=this[_0x4d090f(0x41c)];_0x4273e4[_0x4d090f(0x1e7)]();for(var _0x42aea0=[],_0x4abb32=0x0;_0x4abb32<_0x5690a7;_0x4abb32+=0x3)for(var _0x1ce177=_0xa45d08[_0x4abb32>>>0x2]>>>0x18-_0x4abb32%0x4*0x8&0xff,_0x4c60c1=_0xa45d08[_0x4abb32+0x1>>>0x2]>>>0x18-(_0x4abb32+0x1)%0x4*0x8&0xff,_0x1ae472=_0xa45d08[_0x4abb32+0x2>>>0x2]>>>0x18-(_0x4abb32+0x2)%0x4*0x8&0xff,_0x3c82d4=_0x1ce177<<0x10|_0x4c60c1<<0x8|_0x1ae472,_0x3c9b8f=0x0;_0x3c9b8f<0x4&&_0x4abb32+_0x3c9b8f*0.75<_0x5690a7;_0x3c9b8f++)_0x42aea0['push'](_0x20d393[_0x4d090f(0x2bc)](_0x3c82d4>>>0x6*(0x3-_0x3c9b8f)&0x3f));var _0x206d31=_0x20d393['charAt'](0x40);if(_0x206d31){for(;_0x42aea0[_0x4d090f(0x32a)]%0x4;)_0x42aea0[_0x4d090f(0x1ac)](_0x206d31);}return _0x42aea0[_0x4d090f(0x16f)]('');},'parse':function(_0x278b5d){var _0x2382fd=_0x2f241d,_0x3c9d93=_0x278b5d[_0x2382fd(0x32a)],_0x6330ad=this[_0x2382fd(0x41c)],_0x45cdd0=this[_0x2382fd(0x3f1)];if(!_0x45cdd0){_0x45cdd0=this['_reverseMap']=[];for(var _0x4d07a7=0x0;_0x4d07a7<_0x6330ad['length'];_0x4d07a7++)_0x45cdd0[_0x6330ad[_0x2382fd(0x19d)](_0x4d07a7)]=_0x4d07a7;}var _0x8ef80f=_0x6330ad[_0x2382fd(0x2bc)](0x40);if(_0x8ef80f){var _0x39166c=_0x278b5d['indexOf'](_0x8ef80f);_0x39166c!==-0x1&&(_0x3c9d93=_0x39166c);}return _0xa07756(_0x278b5d,_0x3c9d93,_0x45cdd0);},'_map':_0x2f241d(0x363)};function _0xa07756(_0x2c5284,_0x426322,_0x30797c){var _0x585726=_0x2f241d;for(var _0x33c541=[],_0x3d808f=0x0,_0xc590b7=0x0;_0xc590b7<_0x426322;_0xc590b7++)if(_0xc590b7%0x4){var _0x31d388=_0x30797c[_0x2c5284[_0x585726(0x19d)](_0xc590b7-0x1)]<<_0xc590b7%0x4*0x2,_0x24ebe0=_0x30797c[_0x2c5284[_0x585726(0x19d)](_0xc590b7)]>>>0x6-_0xc590b7%0x4*0x2,_0x1c37ef=_0x31d388|_0x24ebe0;_0x33c541[_0x3d808f>>>0x2]|=_0x1c37ef<<0x18-_0x3d808f%0x4*0x8,_0x3d808f++;}return _0x1613e8[_0x585726(0x360)](_0x33c541,_0x3d808f);}}()),_0x25476c[_0x1c0f00(0x3d5)]['Base64'];}));}(Ge)),Ge[_0x472a52(0x44c)];}var Ye={'exports':{}},_n=Ye[_0x1b0175(0x44c)],Jt;function ln(){var _0xd89c6a=_0x1b0175;return Jt||(Jt=0x1,function(_0x4eb163,_0x1c49a2){(function(_0x453a49,_0x2b7d09){var _0x27ffcc=_0x33ac;_0x4eb163[_0x27ffcc(0x44c)]=_0x2b7d09(te());}(_n,function(_0x380315){var _0x5993f1=_0x33ac;return function(_0x348c6f){var _0x5ae7f8=_0x33ac,_0x3f71d1=_0x380315,_0x51520e=_0x3f71d1[_0x5ae7f8(0x1d3)],_0x10e1d4=_0x51520e[_0x5ae7f8(0x425)],_0x3aa300=_0x51520e[_0x5ae7f8(0x468)],_0x1fec92=_0x3f71d1['algo'],_0xd68b8d=[];(function(){for(var _0x1440e5=0x0;_0x1440e5<0x40;_0x1440e5++)_0xd68b8d[_0x1440e5]=_0x348c6f['abs'](_0x348c6f['sin'](_0x1440e5+0x1))*0x100000000|0x0;}());var _0x3e163b=_0x1fec92[_0x5ae7f8(0x1a2)]=_0x3aa300[_0x5ae7f8(0x32f)]({'_doReset':function(){var _0x4a4bfb=_0x5ae7f8;this[_0x4a4bfb(0x194)]=new _0x10e1d4[(_0x4a4bfb(0x3e8))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x29d54b,_0x29a0fb){var _0x5f2a32=_0x5ae7f8;for(var _0x4b3edf=0x0;_0x4b3edf<0x10;_0x4b3edf++){var _0x3f5a9b=_0x29a0fb+_0x4b3edf,_0x53f859=_0x29d54b[_0x3f5a9b];_0x29d54b[_0x3f5a9b]=(_0x53f859<<0x8|_0x53f859>>>0x18)&0xff00ff|(_0x53f859<<0x18|_0x53f859>>>0x8)&0xff00ff00;}var _0x29f7a6=this['_hash'][_0x5f2a32(0x1c5)],_0x4664d6=_0x29d54b[_0x29a0fb+0x0],_0x20c2b7=_0x29d54b[_0x29a0fb+0x1],_0x1104ab=_0x29d54b[_0x29a0fb+0x2],_0x5bf306=_0x29d54b[_0x29a0fb+0x3],_0x15572f=_0x29d54b[_0x29a0fb+0x4],_0x10a111=_0x29d54b[_0x29a0fb+0x5],_0x5a7901=_0x29d54b[_0x29a0fb+0x6],_0x11bfe6=_0x29d54b[_0x29a0fb+0x7],_0x18af47=_0x29d54b[_0x29a0fb+0x8],_0x24b8af=_0x29d54b[_0x29a0fb+0x9],_0x4435b9=_0x29d54b[_0x29a0fb+0xa],_0xf6408=_0x29d54b[_0x29a0fb+0xb],_0x605a43=_0x29d54b[_0x29a0fb+0xc],_0x177de0=_0x29d54b[_0x29a0fb+0xd],_0x1fb936=_0x29d54b[_0x29a0fb+0xe],_0x34a87e=_0x29d54b[_0x29a0fb+0xf],_0x464728=_0x29f7a6[0x0],_0x4f6466=_0x29f7a6[0x1],_0x1689ea=_0x29f7a6[0x2],_0x4322dd=_0x29f7a6[0x3];_0x464728=_0x555e8b(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x4664d6,0x7,_0xd68b8d[0x0]),_0x4322dd=_0x555e8b(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x20c2b7,0xc,_0xd68b8d[0x1]),_0x1689ea=_0x555e8b(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x1104ab,0x11,_0xd68b8d[0x2]),_0x4f6466=_0x555e8b(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x5bf306,0x16,_0xd68b8d[0x3]),_0x464728=_0x555e8b(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x15572f,0x7,_0xd68b8d[0x4]),_0x4322dd=_0x555e8b(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x10a111,0xc,_0xd68b8d[0x5]),_0x1689ea=_0x555e8b(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x5a7901,0x11,_0xd68b8d[0x6]),_0x4f6466=_0x555e8b(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x11bfe6,0x16,_0xd68b8d[0x7]),_0x464728=_0x555e8b(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x18af47,0x7,_0xd68b8d[0x8]),_0x4322dd=_0x555e8b(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x24b8af,0xc,_0xd68b8d[0x9]),_0x1689ea=_0x555e8b(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x4435b9,0x11,_0xd68b8d[0xa]),_0x4f6466=_0x555e8b(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0xf6408,0x16,_0xd68b8d[0xb]),_0x464728=_0x555e8b(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x605a43,0x7,_0xd68b8d[0xc]),_0x4322dd=_0x555e8b(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x177de0,0xc,_0xd68b8d[0xd]),_0x1689ea=_0x555e8b(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x1fb936,0x11,_0xd68b8d[0xe]),_0x4f6466=_0x555e8b(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x34a87e,0x16,_0xd68b8d[0xf]),_0x464728=_0x145a9a(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x20c2b7,0x5,_0xd68b8d[0x10]),_0x4322dd=_0x145a9a(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x5a7901,0x9,_0xd68b8d[0x11]),_0x1689ea=_0x145a9a(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0xf6408,0xe,_0xd68b8d[0x12]),_0x4f6466=_0x145a9a(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x4664d6,0x14,_0xd68b8d[0x13]),_0x464728=_0x145a9a(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x10a111,0x5,_0xd68b8d[0x14]),_0x4322dd=_0x145a9a(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x4435b9,0x9,_0xd68b8d[0x15]),_0x1689ea=_0x145a9a(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x34a87e,0xe,_0xd68b8d[0x16]),_0x4f6466=_0x145a9a(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x15572f,0x14,_0xd68b8d[0x17]),_0x464728=_0x145a9a(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x24b8af,0x5,_0xd68b8d[0x18]),_0x4322dd=_0x145a9a(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x1fb936,0x9,_0xd68b8d[0x19]),_0x1689ea=_0x145a9a(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x5bf306,0xe,_0xd68b8d[0x1a]),_0x4f6466=_0x145a9a(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x18af47,0x14,_0xd68b8d[0x1b]),_0x464728=_0x145a9a(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x177de0,0x5,_0xd68b8d[0x1c]),_0x4322dd=_0x145a9a(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x1104ab,0x9,_0xd68b8d[0x1d]),_0x1689ea=_0x145a9a(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x11bfe6,0xe,_0xd68b8d[0x1e]),_0x4f6466=_0x145a9a(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x605a43,0x14,_0xd68b8d[0x1f]),_0x464728=_0x108783(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x10a111,0x4,_0xd68b8d[0x20]),_0x4322dd=_0x108783(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x18af47,0xb,_0xd68b8d[0x21]),_0x1689ea=_0x108783(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0xf6408,0x10,_0xd68b8d[0x22]),_0x4f6466=_0x108783(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x1fb936,0x17,_0xd68b8d[0x23]),_0x464728=_0x108783(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x20c2b7,0x4,_0xd68b8d[0x24]),_0x4322dd=_0x108783(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x15572f,0xb,_0xd68b8d[0x25]),_0x1689ea=_0x108783(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x11bfe6,0x10,_0xd68b8d[0x26]),_0x4f6466=_0x108783(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x4435b9,0x17,_0xd68b8d[0x27]),_0x464728=_0x108783(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x177de0,0x4,_0xd68b8d[0x28]),_0x4322dd=_0x108783(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x4664d6,0xb,_0xd68b8d[0x29]),_0x1689ea=_0x108783(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x5bf306,0x10,_0xd68b8d[0x2a]),_0x4f6466=_0x108783(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x5a7901,0x17,_0xd68b8d[0x2b]),_0x464728=_0x108783(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x24b8af,0x4,_0xd68b8d[0x2c]),_0x4322dd=_0x108783(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x605a43,0xb,_0xd68b8d[0x2d]),_0x1689ea=_0x108783(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x34a87e,0x10,_0xd68b8d[0x2e]),_0x4f6466=_0x108783(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x1104ab,0x17,_0xd68b8d[0x2f]),_0x464728=_0x37f483(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x4664d6,0x6,_0xd68b8d[0x30]),_0x4322dd=_0x37f483(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x11bfe6,0xa,_0xd68b8d[0x31]),_0x1689ea=_0x37f483(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x1fb936,0xf,_0xd68b8d[0x32]),_0x4f6466=_0x37f483(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x10a111,0x15,_0xd68b8d[0x33]),_0x464728=_0x37f483(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x605a43,0x6,_0xd68b8d[0x34]),_0x4322dd=_0x37f483(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x5bf306,0xa,_0xd68b8d[0x35]),_0x1689ea=_0x37f483(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x4435b9,0xf,_0xd68b8d[0x36]),_0x4f6466=_0x37f483(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x20c2b7,0x15,_0xd68b8d[0x37]),_0x464728=_0x37f483(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x18af47,0x6,_0xd68b8d[0x38]),_0x4322dd=_0x37f483(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0x34a87e,0xa,_0xd68b8d[0x39]),_0x1689ea=_0x37f483(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x5a7901,0xf,_0xd68b8d[0x3a]),_0x4f6466=_0x37f483(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x177de0,0x15,_0xd68b8d[0x3b]),_0x464728=_0x37f483(_0x464728,_0x4f6466,_0x1689ea,_0x4322dd,_0x15572f,0x6,_0xd68b8d[0x3c]),_0x4322dd=_0x37f483(_0x4322dd,_0x464728,_0x4f6466,_0x1689ea,_0xf6408,0xa,_0xd68b8d[0x3d]),_0x1689ea=_0x37f483(_0x1689ea,_0x4322dd,_0x464728,_0x4f6466,_0x1104ab,0xf,_0xd68b8d[0x3e]),_0x4f6466=_0x37f483(_0x4f6466,_0x1689ea,_0x4322dd,_0x464728,_0x24b8af,0x15,_0xd68b8d[0x3f]),_0x29f7a6[0x0]=_0x29f7a6[0x0]+_0x464728|0x0,_0x29f7a6[0x1]=_0x29f7a6[0x1]+_0x4f6466|0x0,_0x29f7a6[0x2]=_0x29f7a6[0x2]+_0x1689ea|0x0,_0x29f7a6[0x3]=_0x29f7a6[0x3]+_0x4322dd|0x0;},'_doFinalize':function(){var _0x7bf325=_0x5ae7f8,_0x114dc1=this[_0x7bf325(0x357)],_0x1875c2=_0x114dc1[_0x7bf325(0x1c5)],_0x5330e1=this[_0x7bf325(0x302)]*0x8,_0x588a00=_0x114dc1[_0x7bf325(0x3cd)]*0x8;_0x1875c2[_0x588a00>>>0x5]|=0x80<<0x18-_0x588a00%0x20;var _0x1878c3=_0x348c6f[_0x7bf325(0x184)](_0x5330e1/0x100000000),_0x802ddb=_0x5330e1;_0x1875c2[(_0x588a00+0x40>>>0x9<<0x4)+0xf]=(_0x1878c3<<0x8|_0x1878c3>>>0x18)&0xff00ff|(_0x1878c3<<0x18|_0x1878c3>>>0x8)&0xff00ff00,_0x1875c2[(_0x588a00+0x40>>>0x9<<0x4)+0xe]=(_0x802ddb<<0x8|_0x802ddb>>>0x18)&0xff00ff|(_0x802ddb<<0x18|_0x802ddb>>>0x8)&0xff00ff00,_0x114dc1['sigBytes']=(_0x1875c2[_0x7bf325(0x32a)]+0x1)*0x4,this[_0x7bf325(0x426)]();for(var _0x45d2ad=this[_0x7bf325(0x194)],_0xd06949=_0x45d2ad[_0x7bf325(0x1c5)],_0x400a48=0x0;_0x400a48<0x4;_0x400a48++){var _0x3cfb01=_0xd06949[_0x400a48];_0xd06949[_0x400a48]=(_0x3cfb01<<0x8|_0x3cfb01>>>0x18)&0xff00ff|(_0x3cfb01<<0x18|_0x3cfb01>>>0x8)&0xff00ff00;}return _0x45d2ad;},'clone':function(){var _0x3cc98e=_0x5ae7f8,_0x776eb3=_0x3aa300['clone'][_0x3cc98e(0x21d)](this);return _0x776eb3['_hash']=this[_0x3cc98e(0x194)]['clone'](),_0x776eb3;}});function _0x555e8b(_0x473d11,_0x54ce6a,_0xf971ab,_0x4cd562,_0x22a4ac,_0x28598f,_0x12abc3){var _0x4bc451=_0x473d11+(_0x54ce6a&_0xf971ab|~_0x54ce6a&_0x4cd562)+_0x22a4ac+_0x12abc3;return(_0x4bc451<<_0x28598f|_0x4bc451>>>0x20-_0x28598f)+_0x54ce6a;}function _0x145a9a(_0x425722,_0x34dc37,_0x555e71,_0x1190dc,_0x511ac5,_0x34d094,_0x1ba612){var _0x10c8d2=_0x425722+(_0x34dc37&_0x1190dc|_0x555e71&~_0x1190dc)+_0x511ac5+_0x1ba612;return(_0x10c8d2<<_0x34d094|_0x10c8d2>>>0x20-_0x34d094)+_0x34dc37;}function _0x108783(_0x457609,_0x587f58,_0x247d6e,_0x4463ad,_0x859c93,_0x8b8d92,_0x197e79){var _0xb4737a=_0x457609+(_0x587f58^_0x247d6e^_0x4463ad)+_0x859c93+_0x197e79;return(_0xb4737a<<_0x8b8d92|_0xb4737a>>>0x20-_0x8b8d92)+_0x587f58;}function _0x37f483(_0x5d2924,_0x2493d7,_0x2b8199,_0x2a023a,_0x5bc142,_0x1230af,_0x36e3e5){var _0x26f99b=_0x5d2924+(_0x2b8199^(_0x2493d7|~_0x2a023a))+_0x5bc142+_0x36e3e5;return(_0x26f99b<<_0x1230af|_0x26f99b>>>0x20-_0x1230af)+_0x2493d7;}_0x3f71d1[_0x5ae7f8(0x1a2)]=_0x3aa300[_0x5ae7f8(0x309)](_0x3e163b),_0x3f71d1[_0x5ae7f8(0x2f7)]=_0x3aa300[_0x5ae7f8(0x186)](_0x3e163b);}(Math),_0x380315[_0x5993f1(0x1a2)];}));}(Ye)),Ye[_0xd89c6a(0x44c)];}var Ke={'exports':{}},qe={'exports':{}},un=qe['exports'],Xt;function dn(){var _0x35e184=_0x1b0175;return Xt||(Xt=0x1,function(_0x492870,_0x28caed){(function(_0x17bb2c,_0x2144b3){_0x492870['exports']=_0x2144b3(te());}(un,function(_0x1cc959){var _0x416bb5=_0x33ac;return(function(){var _0x35a430=_0x33ac,_0x3692f6=_0x1cc959,_0x4255a9=_0x3692f6[_0x35a430(0x1d3)],_0x275bdc=_0x4255a9[_0x35a430(0x425)],_0x14c0b3=_0x4255a9[_0x35a430(0x468)],_0x1dc888=_0x3692f6[_0x35a430(0x304)],_0x479203=[],_0x598084=_0x1dc888['SHA1']=_0x14c0b3[_0x35a430(0x32f)]({'_doReset':function(){var _0x52ab71=_0x35a430;this['_hash']=new _0x275bdc[(_0x52ab71(0x3e8))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x46206a,_0x51b483){var _0x19d08f=_0x35a430;for(var _0x2c15d5=this[_0x19d08f(0x194)][_0x19d08f(0x1c5)],_0x1aa94e=_0x2c15d5[0x0],_0x53a869=_0x2c15d5[0x1],_0x4c0037=_0x2c15d5[0x2],_0x7f07cf=_0x2c15d5[0x3],_0x3359f8=_0x2c15d5[0x4],_0x41182f=0x0;_0x41182f<0x50;_0x41182f++){if(_0x41182f<0x10)_0x479203[_0x41182f]=_0x46206a[_0x51b483+_0x41182f]|0x0;else{var _0x57a9a1=_0x479203[_0x41182f-0x3]^_0x479203[_0x41182f-0x8]^_0x479203[_0x41182f-0xe]^_0x479203[_0x41182f-0x10];_0x479203[_0x41182f]=_0x57a9a1<<0x1|_0x57a9a1>>>0x1f;}var _0x19c264=(_0x1aa94e<<0x5|_0x1aa94e>>>0x1b)+_0x3359f8+_0x479203[_0x41182f];_0x41182f<0x14?_0x19c264+=(_0x53a869&_0x4c0037|~_0x53a869&_0x7f07cf)+0x5a827999:_0x41182f<0x28?_0x19c264+=(_0x53a869^_0x4c0037^_0x7f07cf)+0x6ed9eba1:_0x41182f<0x3c?_0x19c264+=(_0x53a869&_0x4c0037|_0x53a869&_0x7f07cf|_0x4c0037&_0x7f07cf)-0x70e44324:_0x19c264+=(_0x53a869^_0x4c0037^_0x7f07cf)-0x359d3e2a,_0x3359f8=_0x7f07cf,_0x7f07cf=_0x4c0037,_0x4c0037=_0x53a869<<0x1e|_0x53a869>>>0x2,_0x53a869=_0x1aa94e,_0x1aa94e=_0x19c264;}_0x2c15d5[0x0]=_0x2c15d5[0x0]+_0x1aa94e|0x0,_0x2c15d5[0x1]=_0x2c15d5[0x1]+_0x53a869|0x0,_0x2c15d5[0x2]=_0x2c15d5[0x2]+_0x4c0037|0x0,_0x2c15d5[0x3]=_0x2c15d5[0x3]+_0x7f07cf|0x0,_0x2c15d5[0x4]=_0x2c15d5[0x4]+_0x3359f8|0x0;},'_doFinalize':function(){var _0x5d6a63=_0x35a430,_0x489063=this['_data'],_0x2f6e0c=_0x489063[_0x5d6a63(0x1c5)],_0x5497e8=this[_0x5d6a63(0x302)]*0x8,_0x2f2604=_0x489063[_0x5d6a63(0x3cd)]*0x8;return _0x2f6e0c[_0x2f2604>>>0x5]|=0x80<<0x18-_0x2f2604%0x20,_0x2f6e0c[(_0x2f2604+0x40>>>0x9<<0x4)+0xe]=Math[_0x5d6a63(0x184)](_0x5497e8/0x100000000),_0x2f6e0c[(_0x2f2604+0x40>>>0x9<<0x4)+0xf]=_0x5497e8,_0x489063[_0x5d6a63(0x3cd)]=_0x2f6e0c[_0x5d6a63(0x32a)]*0x4,this[_0x5d6a63(0x426)](),this[_0x5d6a63(0x194)];},'clone':function(){var _0x33addf=_0x35a430,_0x3f2ea2=_0x14c0b3[_0x33addf(0x171)]['call'](this);return _0x3f2ea2['_hash']=this[_0x33addf(0x194)][_0x33addf(0x171)](),_0x3f2ea2;}});_0x3692f6[_0x35a430(0x297)]=_0x14c0b3[_0x35a430(0x309)](_0x598084),_0x3692f6[_0x35a430(0x1e3)]=_0x14c0b3['_createHmacHelper'](_0x598084);}()),_0x1cc959[_0x416bb5(0x297)];}));}(qe)),qe[_0x35e184(0x44c)];}var ze={'exports':{}},fn=ze[_0x1b0175(0x44c)],Zt;function vn(){var _0x57458c=_0x1b0175;return Zt||(Zt=0x1,function(_0xadefb2,_0x1dc8cf){(function(_0x1ad07f,_0x46298e){var _0x524049=_0x33ac;_0xadefb2[_0x524049(0x44c)]=_0x46298e(te());}(fn,function(_0x3b48f2){(function(){var _0x3d3b3d=_0x33ac,_0x5b6314=_0x3b48f2,_0x4d4945=_0x5b6314[_0x3d3b3d(0x1d3)],_0x1e5622=_0x4d4945[_0x3d3b3d(0x346)],_0x403f88=_0x5b6314['enc'],_0x5ed4f3=_0x403f88[_0x3d3b3d(0x3e6)],_0x421c67=_0x5b6314[_0x3d3b3d(0x304)];_0x421c67[_0x3d3b3d(0x2c8)]=_0x1e5622[_0x3d3b3d(0x32f)]({'init':function(_0x4f8e65,_0x468408){var _0x58824e=_0x3d3b3d;_0x4f8e65=this[_0x58824e(0x47c)]=new _0x4f8e65['init'](),typeof _0x468408==_0x58824e(0x225)&&(_0x468408=_0x5ed4f3['parse'](_0x468408));var _0x359e2e=_0x4f8e65[_0x58824e(0x424)],_0x130543=_0x359e2e*0x4;_0x468408[_0x58824e(0x3cd)]>_0x130543&&(_0x468408=_0x4f8e65[_0x58824e(0x238)](_0x468408)),_0x468408[_0x58824e(0x1e7)]();for(var _0x843184=this[_0x58824e(0x1e2)]=_0x468408[_0x58824e(0x171)](),_0x4d37a1=this[_0x58824e(0x285)]=_0x468408['clone'](),_0x2fb86d=_0x843184[_0x58824e(0x1c5)],_0x5076a8=_0x4d37a1[_0x58824e(0x1c5)],_0x4784e6=0x0;_0x4784e6<_0x359e2e;_0x4784e6++)_0x2fb86d[_0x4784e6]^=0x5c5c5c5c,_0x5076a8[_0x4784e6]^=0x36363636;_0x843184[_0x58824e(0x3cd)]=_0x4d37a1[_0x58824e(0x3cd)]=_0x130543,this['reset']();},'reset':function(){var _0x32d778=_0x3d3b3d,_0xebceb8=this[_0x32d778(0x47c)];_0xebceb8[_0x32d778(0x343)](),_0xebceb8[_0x32d778(0x232)](this[_0x32d778(0x285)]);},'update':function(_0x18a0f0){var _0x742f64=_0x3d3b3d;return this[_0x742f64(0x47c)][_0x742f64(0x232)](_0x18a0f0),this;},'finalize':function(_0x17034e){var _0x27b767=_0x3d3b3d,_0x21f9ea=this[_0x27b767(0x47c)],_0x36cdeb=_0x21f9ea[_0x27b767(0x238)](_0x17034e);_0x21f9ea[_0x27b767(0x343)]();var _0x1e2c3=_0x21f9ea[_0x27b767(0x238)](this[_0x27b767(0x1e2)][_0x27b767(0x171)]()[_0x27b767(0x1da)](_0x36cdeb));return _0x1e2c3;}});}());}));}(ze)),ze[_0x57458c(0x44c)];}var pn=Ke[_0x1b0175(0x44c)],Qt;function Oi(){var _0x594b5e=_0x1b0175;return Qt||(Qt=0x1,function(_0xcce868,_0x2d67aa){(function(_0x22aec2,_0x304664,_0x403280){_0xcce868['exports']=_0x304664(te(),dn(),vn());}(pn,function(_0xc0690e){var _0x3d1be0=_0x33ac;return(function(){var _0x209d03=_0x33ac,_0x1c65bb=_0xc0690e,_0x3be429=_0x1c65bb['lib'],_0x67d8b8=_0x3be429['Base'],_0x50515d=_0x3be429[_0x209d03(0x425)],_0x22497b=_0x1c65bb['algo'],_0x3c9cde=_0x22497b[_0x209d03(0x1a2)],_0x15a987=_0x22497b[_0x209d03(0x235)]=_0x67d8b8[_0x209d03(0x32f)]({'cfg':_0x67d8b8['extend']({'keySize':0x80/0x20,'hasher':_0x3c9cde,'iterations':0x1}),'init':function(_0x4b1991){var _0x3450d3=_0x209d03;this[_0x3450d3(0x42d)]=this[_0x3450d3(0x42d)][_0x3450d3(0x32f)](_0x4b1991);},'compute':function(_0x27d049,_0x1b5e85){var _0x39491e=_0x209d03;for(var _0x193a7f,_0x20d4a8=this[_0x39491e(0x42d)],_0x23c907=_0x20d4a8[_0x39491e(0x40e)]['create'](),_0x3f9786=_0x50515d[_0x39491e(0x360)](),_0x2e7fbe=_0x3f9786[_0x39491e(0x1c5)],_0x5a7386=_0x20d4a8[_0x39491e(0x454)],_0x2bf9d5=_0x20d4a8['iterations'];_0x2e7fbe[_0x39491e(0x32a)]<_0x5a7386;){_0x193a7f&&_0x23c907[_0x39491e(0x232)](_0x193a7f),_0x193a7f=_0x23c907[_0x39491e(0x232)](_0x27d049)['finalize'](_0x1b5e85),_0x23c907[_0x39491e(0x343)]();for(var _0x5eee20=0x1;_0x5eee20<_0x2bf9d5;_0x5eee20++)_0x193a7f=_0x23c907[_0x39491e(0x238)](_0x193a7f),_0x23c907[_0x39491e(0x343)]();_0x3f9786['concat'](_0x193a7f);}return _0x3f9786['sigBytes']=_0x5a7386*0x4,_0x3f9786;}});_0x1c65bb[_0x209d03(0x235)]=function(_0x522288,_0x2b74ab,_0x27840b){var _0x547c4b=_0x209d03;return _0x15a987['create'](_0x27840b)[_0x547c4b(0x1af)](_0x522288,_0x2b74ab);};}()),_0xc0690e[_0x3d1be0(0x235)];}));}(Ke)),Ke[_0x594b5e(0x44c)];}var Je={'exports':{}},mn=Je[_0x1b0175(0x44c)],ei;function bi(){var _0xc8184c=_0x1b0175;return ei||(ei=0x1,function(_0x1991f1,_0x49516b){(function(_0x5a70fa,_0x54a342,_0x2aa03d){var _0x4cd854=_0x33ac;_0x1991f1[_0x4cd854(0x44c)]=_0x54a342(te(),Oi());}(mn,function(_0x3dd015){var _0x44a2ef=_0x33ac;_0x3dd015['lib'][_0x44a2ef(0x1ef)]||function(_0x5c73af){var _0x8bb5d5=_0x44a2ef,_0x3c2b36=_0x3dd015,_0x18a4e8=_0x3c2b36[_0x8bb5d5(0x1d3)],_0x24d81a=_0x18a4e8[_0x8bb5d5(0x346)],_0x5d364d=_0x18a4e8[_0x8bb5d5(0x425)],_0x538209=_0x18a4e8[_0x8bb5d5(0x3c8)],_0x33c924=_0x3c2b36[_0x8bb5d5(0x3d5)];_0x33c924[_0x8bb5d5(0x3e6)];var _0x4669e1=_0x33c924[_0x8bb5d5(0x21c)],_0x36d4d7=_0x3c2b36[_0x8bb5d5(0x304)],_0x4c6e05=_0x36d4d7['EvpKDF'],_0x42d618=_0x18a4e8['Cipher']=_0x538209[_0x8bb5d5(0x32f)]({'cfg':_0x24d81a['extend'](),'createEncryptor':function(_0x127034,_0x3161c9){var _0x1c88b1=_0x8bb5d5;return this[_0x1c88b1(0x360)](this[_0x1c88b1(0x29c)],_0x127034,_0x3161c9);},'createDecryptor':function(_0xa9817d,_0x419a44){var _0x5be0f5=_0x8bb5d5;return this[_0x5be0f5(0x360)](this[_0x5be0f5(0x33d)],_0xa9817d,_0x419a44);},'init':function(_0x2e74a2,_0x41b12d,_0x249252){var _0x5adec6=_0x8bb5d5;this[_0x5adec6(0x42d)]=this['cfg']['extend'](_0x249252),this[_0x5adec6(0x414)]=_0x2e74a2,this['_key']=_0x41b12d,this[_0x5adec6(0x343)]();},'reset':function(){var _0x50faa2=_0x8bb5d5;_0x538209[_0x50faa2(0x343)]['call'](this),this[_0x50faa2(0x2f5)]();},'process':function(_0x4caa0a){var _0x3674fc=_0x8bb5d5;return this[_0x3674fc(0x2a3)](_0x4caa0a),this[_0x3674fc(0x426)]();},'finalize':function(_0x2faaa6){_0x2faaa6&&this['_append'](_0x2faaa6);var _0x2eed1f=this['_doFinalize']();return _0x2eed1f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x54f52d(_0x5ece29){var _0x40491c=_0x33ac;return typeof _0x5ece29==_0x40491c(0x225)?_0x1efcd9:_0x2e07ac;}return function(_0x2aef4b){return{'encrypt':function(_0x3c406b,_0x45ecb9,_0x521312){var _0x683957=_0x33ac;return _0x54f52d(_0x45ecb9)[_0x683957(0x1e8)](_0x2aef4b,_0x3c406b,_0x45ecb9,_0x521312);},'decrypt':function(_0x3f9708,_0x57c5d1,_0x289fe0){var _0x42a633=_0x33ac;return _0x54f52d(_0x57c5d1)[_0x42a633(0x2ad)](_0x2aef4b,_0x3f9708,_0x57c5d1,_0x289fe0);}};};}())});_0x18a4e8[_0x8bb5d5(0x36f)]=_0x42d618['extend']({'_doFinalize':function(){var _0x2b0e9d=_0x8bb5d5,_0x14cb55=this[_0x2b0e9d(0x426)](!0x0);return _0x14cb55;},'blockSize':0x1});var _0x3474d2=_0x3c2b36[_0x8bb5d5(0x366)]={},_0x338b42=_0x18a4e8[_0x8bb5d5(0x36d)]=_0x24d81a[_0x8bb5d5(0x32f)]({'createEncryptor':function(_0x4bbff4,_0x4c2f2f){return this['Encryptor']['create'](_0x4bbff4,_0x4c2f2f);},'createDecryptor':function(_0x3b2296,_0x5078e8){var _0x3d9ff7=_0x8bb5d5;return this[_0x3d9ff7(0x1b7)][_0x3d9ff7(0x360)](_0x3b2296,_0x5078e8);},'init':function(_0x418a84,_0x4654ea){var _0xe7e70f=_0x8bb5d5;this[_0xe7e70f(0x427)]=_0x418a84,this[_0xe7e70f(0x336)]=_0x4654ea;}}),_0x23992c=_0x3474d2[_0x8bb5d5(0x43a)]=(function(){var _0x34dfff=_0x8bb5d5,_0x3f1d32=_0x338b42[_0x34dfff(0x32f)]();_0x3f1d32[_0x34dfff(0x191)]=_0x3f1d32[_0x34dfff(0x32f)]({'processBlock':function(_0x5920d2,_0x457fdf){var _0x30eb7b=_0x34dfff,_0x25fb9a=this['_cipher'],_0x494c02=_0x25fb9a[_0x30eb7b(0x424)];_0x687c46[_0x30eb7b(0x21d)](this,_0x5920d2,_0x457fdf,_0x494c02),_0x25fb9a['encryptBlock'](_0x5920d2,_0x457fdf),this[_0x30eb7b(0x393)]=_0x5920d2['slice'](_0x457fdf,_0x457fdf+_0x494c02);}}),_0x3f1d32[_0x34dfff(0x1b7)]=_0x3f1d32[_0x34dfff(0x32f)]({'processBlock':function(_0x44b50d,_0x410a81){var _0x149e28=_0x34dfff,_0x3f2357=this[_0x149e28(0x427)],_0x31263c=_0x3f2357[_0x149e28(0x424)],_0x428c8e=_0x44b50d[_0x149e28(0x271)](_0x410a81,_0x410a81+_0x31263c);_0x3f2357['decryptBlock'](_0x44b50d,_0x410a81),_0x687c46[_0x149e28(0x21d)](this,_0x44b50d,_0x410a81,_0x31263c),this[_0x149e28(0x393)]=_0x428c8e;}});function _0x687c46(_0x42ba98,_0x4191b4,_0x959dce){var _0x39108b=_0x34dfff,_0xe498bd,_0xcde4b0=this['_iv'];_0xcde4b0?(_0xe498bd=_0xcde4b0,this[_0x39108b(0x336)]=_0x5c73af):_0xe498bd=this[_0x39108b(0x393)];for(var _0xc42ed0=0x0;_0xc42ed0<_0x959dce;_0xc42ed0++)_0x42ba98[_0x4191b4+_0xc42ed0]^=_0xe498bd[_0xc42ed0];}return _0x3f1d32;}()),_0x3e9e09=_0x3c2b36[_0x8bb5d5(0x227)]={},_0x48d065=_0x3e9e09[_0x8bb5d5(0x3da)]={'pad':function(_0x45c21a,_0x5209ff){var _0x2ee897=_0x8bb5d5;for(var _0x4c67f2=_0x5209ff*0x4,_0x17f838=_0x4c67f2-_0x45c21a[_0x2ee897(0x3cd)]%_0x4c67f2,_0x1b7478=_0x17f838<<0x18|_0x17f838<<0x10|_0x17f838<<0x8|_0x17f838,_0x2a8f8c=[],_0x368242=0x0;_0x368242<_0x17f838;_0x368242+=0x4)_0x2a8f8c[_0x2ee897(0x1ac)](_0x1b7478);var _0xda068f=_0x5d364d[_0x2ee897(0x360)](_0x2a8f8c,_0x17f838);_0x45c21a[_0x2ee897(0x1da)](_0xda068f);},'unpad':function(_0x450767){var _0x3c3346=_0x8bb5d5,_0x3f90e6=_0x450767[_0x3c3346(0x1c5)][_0x450767['sigBytes']-0x1>>>0x2]&0xff;_0x450767[_0x3c3346(0x3cd)]-=_0x3f90e6;}};_0x18a4e8[_0x8bb5d5(0x22d)]=_0x42d618['extend']({'cfg':_0x42d618[_0x8bb5d5(0x42d)][_0x8bb5d5(0x32f)]({'mode':_0x23992c,'padding':_0x48d065}),'reset':function(){var _0x593be0=_0x8bb5d5,_0x41e91c;_0x42d618[_0x593be0(0x343)][_0x593be0(0x21d)](this);var _0x2930d6=this[_0x593be0(0x42d)],_0x3f38c1=_0x2930d6['iv'],_0x125469=_0x2930d6['mode'];this[_0x593be0(0x414)]==this[_0x593be0(0x29c)]?_0x41e91c=_0x125469['createEncryptor']:(_0x41e91c=_0x125469[_0x593be0(0x1a8)],this[_0x593be0(0x287)]=0x1),this[_0x593be0(0x45e)]&&this['_mode'][_0x593be0(0x332)]==_0x41e91c?this[_0x593be0(0x45e)]['init'](this,_0x3f38c1&&_0x3f38c1[_0x593be0(0x1c5)]):(this[_0x593be0(0x45e)]=_0x41e91c['call'](_0x125469,this,_0x3f38c1&&_0x3f38c1['words']),this[_0x593be0(0x45e)][_0x593be0(0x332)]=_0x41e91c);},'_doProcessBlock':function(_0x3e4262,_0x5d43fe){var _0xbd8d57=_0x8bb5d5;this[_0xbd8d57(0x45e)][_0xbd8d57(0x422)](_0x3e4262,_0x5d43fe);},'_doFinalize':function(){var _0x3a4d25=_0x8bb5d5,_0x4ba87a,_0xf8f674=this[_0x3a4d25(0x42d)][_0x3a4d25(0x383)];return this[_0x3a4d25(0x414)]==this[_0x3a4d25(0x29c)]?(_0xf8f674[_0x3a4d25(0x227)](this[_0x3a4d25(0x357)],this['blockSize']),_0x4ba87a=this[_0x3a4d25(0x426)](!0x0)):(_0x4ba87a=this['_process'](!0x0),_0xf8f674[_0x3a4d25(0x325)](_0x4ba87a)),_0x4ba87a;},'blockSize':0x80/0x20});var _0x5e2b38=_0x18a4e8[_0x8bb5d5(0x255)]=_0x24d81a['extend']({'init':function(_0x14acc0){this['mixIn'](_0x14acc0);},'toString':function(_0x9f2307){var _0x32abf6=_0x8bb5d5;return(_0x9f2307||this[_0x32abf6(0x46e)])[_0x32abf6(0x445)](this);}}),_0x3ba3eb=_0x3c2b36[_0x8bb5d5(0x1df)]={},_0x451f6d=_0x3ba3eb[_0x8bb5d5(0x20a)]={'stringify':function(_0xbc5cb7){var _0x117448=_0x8bb5d5,_0x46768f,_0x5e70b1=_0xbc5cb7[_0x117448(0x43f)],_0x5ab1a3=_0xbc5cb7[_0x117448(0x2a0)];return _0x5ab1a3?_0x46768f=_0x5d364d[_0x117448(0x360)]([0x53616c74,0x65645f5f])[_0x117448(0x1da)](_0x5ab1a3)['concat'](_0x5e70b1):_0x46768f=_0x5e70b1,_0x46768f[_0x117448(0x18c)](_0x4669e1);},'parse':function(_0x93a335){var _0x468218=_0x8bb5d5,_0x53116c,_0xb9c3f6=_0x4669e1[_0x468218(0x333)](_0x93a335),_0xaa100b=_0xb9c3f6[_0x468218(0x1c5)];return _0xaa100b[0x0]==0x53616c74&&_0xaa100b[0x1]==0x65645f5f&&(_0x53116c=_0x5d364d['create'](_0xaa100b[_0x468218(0x271)](0x2,0x4)),_0xaa100b[_0x468218(0x2d7)](0x0,0x4),_0xb9c3f6[_0x468218(0x3cd)]-=0x10),_0x5e2b38['create']({'ciphertext':_0xb9c3f6,'salt':_0x53116c});}},_0x2e07ac=_0x18a4e8[_0x8bb5d5(0x1be)]=_0x24d81a[_0x8bb5d5(0x32f)]({'cfg':_0x24d81a[_0x8bb5d5(0x32f)]({'format':_0x451f6d}),'encrypt':function(_0x34daca,_0x385112,_0x38606f,_0x42c981){var _0x3df4ff=_0x8bb5d5;_0x42c981=this[_0x3df4ff(0x42d)]['extend'](_0x42c981);var _0x5ab0d7=_0x34daca[_0x3df4ff(0x290)](_0x38606f,_0x42c981),_0x555f13=_0x5ab0d7[_0x3df4ff(0x238)](_0x385112),_0x5c5177=_0x5ab0d7['cfg'];return _0x5e2b38[_0x3df4ff(0x360)]({'ciphertext':_0x555f13,'key':_0x38606f,'iv':_0x5c5177['iv'],'algorithm':_0x34daca,'mode':_0x5c5177[_0x3df4ff(0x366)],'padding':_0x5c5177[_0x3df4ff(0x383)],'blockSize':_0x34daca[_0x3df4ff(0x424)],'formatter':_0x42c981[_0x3df4ff(0x1df)]});},'decrypt':function(_0x52310d,_0x58ef11,_0x4e8545,_0xe95a9){var _0x345b9f=_0x8bb5d5;_0xe95a9=this[_0x345b9f(0x42d)]['extend'](_0xe95a9),_0x58ef11=this['_parse'](_0x58ef11,_0xe95a9[_0x345b9f(0x1df)]);var _0x5dc2c1=_0x52310d[_0x345b9f(0x1a8)](_0x4e8545,_0xe95a9)[_0x345b9f(0x238)](_0x58ef11[_0x345b9f(0x43f)]);return _0x5dc2c1;},'_parse':function(_0x570fcd,_0x1b12e7){var _0xe20a51=_0x8bb5d5;return typeof _0x570fcd=='string'?_0x1b12e7[_0xe20a51(0x333)](_0x570fcd,this):_0x570fcd;}}),_0x287f1f=_0x3c2b36[_0x8bb5d5(0x42c)]={},_0x19d242=_0x287f1f[_0x8bb5d5(0x20a)]={'execute':function(_0x4797c6,_0x14b03e,_0x19c173,_0x1d61c5,_0x423f09){var _0x2bfc02=_0x8bb5d5;if(_0x1d61c5||(_0x1d61c5=_0x5d364d[_0x2bfc02(0x2ac)](0x40/0x8)),_0x423f09)var _0x41d80d=_0x4c6e05[_0x2bfc02(0x360)]({'keySize':_0x14b03e+_0x19c173,'hasher':_0x423f09})[_0x2bfc02(0x1af)](_0x4797c6,_0x1d61c5);else var _0x41d80d=_0x4c6e05[_0x2bfc02(0x360)]({'keySize':_0x14b03e+_0x19c173})[_0x2bfc02(0x1af)](_0x4797c6,_0x1d61c5);var _0x5e238f=_0x5d364d['create'](_0x41d80d['words'][_0x2bfc02(0x271)](_0x14b03e),_0x19c173*0x4);return _0x41d80d[_0x2bfc02(0x3cd)]=_0x14b03e*0x4,_0x5e2b38[_0x2bfc02(0x360)]({'key':_0x41d80d,'iv':_0x5e238f,'salt':_0x1d61c5});}},_0x1efcd9=_0x18a4e8[_0x8bb5d5(0x276)]=_0x2e07ac['extend']({'cfg':_0x2e07ac['cfg'][_0x8bb5d5(0x32f)]({'kdf':_0x19d242}),'encrypt':function(_0x1425f2,_0x2244e8,_0x1bbf90,_0x1402ac){var _0x2ea4fb=_0x8bb5d5;_0x1402ac=this[_0x2ea4fb(0x42d)]['extend'](_0x1402ac);var _0x5db97f=_0x1402ac['kdf']['execute'](_0x1bbf90,_0x1425f2[_0x2ea4fb(0x454)],_0x1425f2['ivSize'],_0x1402ac['salt'],_0x1402ac[_0x2ea4fb(0x40e)]);_0x1402ac['iv']=_0x5db97f['iv'];var _0x1d0b6e=_0x2e07ac[_0x2ea4fb(0x1e8)][_0x2ea4fb(0x21d)](this,_0x1425f2,_0x2244e8,_0x5db97f['key'],_0x1402ac);return _0x1d0b6e['mixIn'](_0x5db97f),_0x1d0b6e;},'decrypt':function(_0x2f7f72,_0x59e4c5,_0x49cb36,_0x53fa38){var _0x52fa60=_0x8bb5d5;_0x53fa38=this[_0x52fa60(0x42d)][_0x52fa60(0x32f)](_0x53fa38),_0x59e4c5=this[_0x52fa60(0x2f1)](_0x59e4c5,_0x53fa38[_0x52fa60(0x1df)]);var _0x433368=_0x53fa38[_0x52fa60(0x42c)]['execute'](_0x49cb36,_0x2f7f72[_0x52fa60(0x454)],_0x2f7f72[_0x52fa60(0x3f8)],_0x59e4c5['salt'],_0x53fa38[_0x52fa60(0x40e)]);_0x53fa38['iv']=_0x433368['iv'];var _0x1f6e68=_0x2e07ac[_0x52fa60(0x2ad)][_0x52fa60(0x21d)](this,_0x2f7f72,_0x59e4c5,_0x433368[_0x52fa60(0x24e)],_0x53fa38);return _0x1f6e68;}});}();}));}(Je)),Je[_0xc8184c(0x44c)];}var gn=Ve['exports'],ti;function Sn(){var _0x44a3ed=_0x1b0175;return ti||(ti=0x1,function(_0x4eb018,_0x20aad5){(function(_0xb9c2ea,_0x105d2d,_0x8742ef){var _0x20a5a0=_0x33ac;_0x4eb018[_0x20a5a0(0x44c)]=_0x105d2d(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x75426a){return(function(){var _0x4b0046=_0x33ac,_0x3d6647=_0x75426a,_0x224a2a=_0x3d6647[_0x4b0046(0x1d3)],_0xa5e88=_0x224a2a['BlockCipher'],_0xd423a9=_0x3d6647[_0x4b0046(0x304)],_0x4b0767=[],_0x375df0=[],_0x90ce03=[],_0x580889=[],_0x5405a0=[],_0x49cb31=[],_0x4fe1ef=[],_0x224ef8=[],_0xf51b0f=[],_0x26b67e=[];(function(){for(var _0x47b63e=[],_0x11424f=0x0;_0x11424f<0x100;_0x11424f++)_0x11424f<0x80?_0x47b63e[_0x11424f]=_0x11424f<<0x1:_0x47b63e[_0x11424f]=_0x11424f<<0x1^0x11b;for(var _0x40f385=0x0,_0x2bc7a1=0x0,_0x11424f=0x0;_0x11424f<0x100;_0x11424f++){var _0xeb742b=_0x2bc7a1^_0x2bc7a1<<0x1^_0x2bc7a1<<0x2^_0x2bc7a1<<0x3^_0x2bc7a1<<0x4;_0xeb742b=_0xeb742b>>>0x8^_0xeb742b&0xff^0x63,_0x4b0767[_0x40f385]=_0xeb742b,_0x375df0[_0xeb742b]=_0x40f385;var _0xaacc4f=_0x47b63e[_0x40f385],_0xcc55d9=_0x47b63e[_0xaacc4f],_0x514ae4=_0x47b63e[_0xcc55d9],_0x18ee93=_0x47b63e[_0xeb742b]*0x101^_0xeb742b*0x1010100;_0x90ce03[_0x40f385]=_0x18ee93<<0x18|_0x18ee93>>>0x8,_0x580889[_0x40f385]=_0x18ee93<<0x10|_0x18ee93>>>0x10,_0x5405a0[_0x40f385]=_0x18ee93<<0x8|_0x18ee93>>>0x18,_0x49cb31[_0x40f385]=_0x18ee93;var _0x18ee93=_0x514ae4*0x1010101^_0xcc55d9*0x10001^_0xaacc4f*0x101^_0x40f385*0x1010100;_0x4fe1ef[_0xeb742b]=_0x18ee93<<0x18|_0x18ee93>>>0x8,_0x224ef8[_0xeb742b]=_0x18ee93<<0x10|_0x18ee93>>>0x10,_0xf51b0f[_0xeb742b]=_0x18ee93<<0x8|_0x18ee93>>>0x18,_0x26b67e[_0xeb742b]=_0x18ee93,_0x40f385?(_0x40f385=_0xaacc4f^_0x47b63e[_0x47b63e[_0x47b63e[_0x514ae4^_0xaacc4f]]],_0x2bc7a1^=_0x47b63e[_0x47b63e[_0x2bc7a1]]):_0x40f385=_0x2bc7a1=0x1;}}());var _0x2df6bc=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x230706=_0xd423a9[_0x4b0046(0x259)]=_0xa5e88[_0x4b0046(0x32f)]({'_doReset':function(){var _0x16ce68=_0x4b0046,_0x3caaa5;if(!(this[_0x16ce68(0x26d)]&&this['_keyPriorReset']===this[_0x16ce68(0x474)])){for(var _0x2626d8=this[_0x16ce68(0x38e)]=this[_0x16ce68(0x474)],_0x2a32ee=_0x2626d8['words'],_0x512fcb=_0x2626d8[_0x16ce68(0x3cd)]/0x4,_0x33b993=this[_0x16ce68(0x26d)]=_0x512fcb+0x6,_0x37f686=(_0x33b993+0x1)*0x4,_0x5f4063=this[_0x16ce68(0x386)]=[],_0x3e262d=0x0;_0x3e262d<_0x37f686;_0x3e262d++)_0x3e262d<_0x512fcb?_0x5f4063[_0x3e262d]=_0x2a32ee[_0x3e262d]:(_0x3caaa5=_0x5f4063[_0x3e262d-0x1],_0x3e262d%_0x512fcb?_0x512fcb>0x6&&_0x3e262d%_0x512fcb==0x4&&(_0x3caaa5=_0x4b0767[_0x3caaa5>>>0x18]<<0x18|_0x4b0767[_0x3caaa5>>>0x10&0xff]<<0x10|_0x4b0767[_0x3caaa5>>>0x8&0xff]<<0x8|_0x4b0767[_0x3caaa5&0xff]):(_0x3caaa5=_0x3caaa5<<0x8|_0x3caaa5>>>0x18,_0x3caaa5=_0x4b0767[_0x3caaa5>>>0x18]<<0x18|_0x4b0767[_0x3caaa5>>>0x10&0xff]<<0x10|_0x4b0767[_0x3caaa5>>>0x8&0xff]<<0x8|_0x4b0767[_0x3caaa5&0xff],_0x3caaa5^=_0x2df6bc[_0x3e262d/_0x512fcb|0x0]<<0x18),_0x5f4063[_0x3e262d]=_0x5f4063[_0x3e262d-_0x512fcb]^_0x3caaa5);for(var _0x1649c8=this[_0x16ce68(0x242)]=[],_0x4791f6=0x0;_0x4791f6<_0x37f686;_0x4791f6++){var _0x3e262d=_0x37f686-_0x4791f6;if(_0x4791f6%0x4)var _0x3caaa5=_0x5f4063[_0x3e262d];else var _0x3caaa5=_0x5f4063[_0x3e262d-0x4];_0x4791f6<0x4||_0x3e262d<=0x4?_0x1649c8[_0x4791f6]=_0x3caaa5:_0x1649c8[_0x4791f6]=_0x4fe1ef[_0x4b0767[_0x3caaa5>>>0x18]]^_0x224ef8[_0x4b0767[_0x3caaa5>>>0x10&0xff]]^_0xf51b0f[_0x4b0767[_0x3caaa5>>>0x8&0xff]]^_0x26b67e[_0x4b0767[_0x3caaa5&0xff]];}}},'encryptBlock':function(_0x634b98,_0x4355c3){var _0x108004=_0x4b0046;this['_doCryptBlock'](_0x634b98,_0x4355c3,this[_0x108004(0x386)],_0x90ce03,_0x580889,_0x5405a0,_0x49cb31,_0x4b0767);},'decryptBlock':function(_0x3c5e76,_0x32d55d){var _0x2f922d=_0x4b0046,_0x538449=_0x3c5e76[_0x32d55d+0x1];_0x3c5e76[_0x32d55d+0x1]=_0x3c5e76[_0x32d55d+0x3],_0x3c5e76[_0x32d55d+0x3]=_0x538449,this[_0x2f922d(0x216)](_0x3c5e76,_0x32d55d,this['_invKeySchedule'],_0x4fe1ef,_0x224ef8,_0xf51b0f,_0x26b67e,_0x375df0);var _0x538449=_0x3c5e76[_0x32d55d+0x1];_0x3c5e76[_0x32d55d+0x1]=_0x3c5e76[_0x32d55d+0x3],_0x3c5e76[_0x32d55d+0x3]=_0x538449;},'_doCryptBlock':function(_0x5063bc,_0x4d6460,_0x4bf2f7,_0x3adaf5,_0x298a99,_0x3001bb,_0xfb2aef,_0x576aec){var _0x5b7190=_0x4b0046;for(var _0x380ad5=this[_0x5b7190(0x26d)],_0xae3a99=_0x5063bc[_0x4d6460]^_0x4bf2f7[0x0],_0x1b3bcf=_0x5063bc[_0x4d6460+0x1]^_0x4bf2f7[0x1],_0x5bccc0=_0x5063bc[_0x4d6460+0x2]^_0x4bf2f7[0x2],_0x117c84=_0x5063bc[_0x4d6460+0x3]^_0x4bf2f7[0x3],_0x1428f0=0x4,_0xcad0c4=0x1;_0xcad0c4<_0x380ad5;_0xcad0c4++){var _0x2ee300=_0x3adaf5[_0xae3a99>>>0x18]^_0x298a99[_0x1b3bcf>>>0x10&0xff]^_0x3001bb[_0x5bccc0>>>0x8&0xff]^_0xfb2aef[_0x117c84&0xff]^_0x4bf2f7[_0x1428f0++],_0x3c18ef=_0x3adaf5[_0x1b3bcf>>>0x18]^_0x298a99[_0x5bccc0>>>0x10&0xff]^_0x3001bb[_0x117c84>>>0x8&0xff]^_0xfb2aef[_0xae3a99&0xff]^_0x4bf2f7[_0x1428f0++],_0x400b70=_0x3adaf5[_0x5bccc0>>>0x18]^_0x298a99[_0x117c84>>>0x10&0xff]^_0x3001bb[_0xae3a99>>>0x8&0xff]^_0xfb2aef[_0x1b3bcf&0xff]^_0x4bf2f7[_0x1428f0++],_0x4ca7b7=_0x3adaf5[_0x117c84>>>0x18]^_0x298a99[_0xae3a99>>>0x10&0xff]^_0x3001bb[_0x1b3bcf>>>0x8&0xff]^_0xfb2aef[_0x5bccc0&0xff]^_0x4bf2f7[_0x1428f0++];_0xae3a99=_0x2ee300,_0x1b3bcf=_0x3c18ef,_0x5bccc0=_0x400b70,_0x117c84=_0x4ca7b7;}var _0x2ee300=(_0x576aec[_0xae3a99>>>0x18]<<0x18|_0x576aec[_0x1b3bcf>>>0x10&0xff]<<0x10|_0x576aec[_0x5bccc0>>>0x8&0xff]<<0x8|_0x576aec[_0x117c84&0xff])^_0x4bf2f7[_0x1428f0++],_0x3c18ef=(_0x576aec[_0x1b3bcf>>>0x18]<<0x18|_0x576aec[_0x5bccc0>>>0x10&0xff]<<0x10|_0x576aec[_0x117c84>>>0x8&0xff]<<0x8|_0x576aec[_0xae3a99&0xff])^_0x4bf2f7[_0x1428f0++],_0x400b70=(_0x576aec[_0x5bccc0>>>0x18]<<0x18|_0x576aec[_0x117c84>>>0x10&0xff]<<0x10|_0x576aec[_0xae3a99>>>0x8&0xff]<<0x8|_0x576aec[_0x1b3bcf&0xff])^_0x4bf2f7[_0x1428f0++],_0x4ca7b7=(_0x576aec[_0x117c84>>>0x18]<<0x18|_0x576aec[_0xae3a99>>>0x10&0xff]<<0x10|_0x576aec[_0x1b3bcf>>>0x8&0xff]<<0x8|_0x576aec[_0x5bccc0&0xff])^_0x4bf2f7[_0x1428f0++];_0x5063bc[_0x4d6460]=_0x2ee300,_0x5063bc[_0x4d6460+0x1]=_0x3c18ef,_0x5063bc[_0x4d6460+0x2]=_0x400b70,_0x5063bc[_0x4d6460+0x3]=_0x4ca7b7;},'keySize':0x100/0x20});_0x3d6647['AES']=_0xa5e88[_0x4b0046(0x309)](_0x230706);}()),_0x75426a['AES'];}));}(Ve)),Ve[_0x44a3ed(0x44c)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe['exports'],si;function Rn(){var _0x2b154b=_0x1b0175;return si||(si=0x1,function(_0x5b7235,_0x410f4b){(function(_0x19cbd9,_0x3bde27){var _0x421061=_0x33ac;_0x5b7235[_0x421061(0x44c)]=_0x3bde27(te());}(Cn,function(_0x1b4cbf){var _0x452dac=_0x33ac;return _0x1b4cbf[_0x452dac(0x3d5)][_0x452dac(0x3e6)];}));}(Xe)),Xe[_0x2b154b(0x44c)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0x1b0175(0x44c)],ni;function Nn(){var _0x2179a2=_0x1b0175;return ni||(ni=0x1,function(_0x25f0f9,_0x5b9669){(function(_0x22780f,_0x18dad6){var _0x2c4178=_0x33ac;_0x25f0f9[_0x2c4178(0x44c)]=_0x18dad6(te());}(yn,function(_0xb75e04){var _0x157b9a=_0x33ac;return(function(){var _0x2b40f3=_0x33ac;if(typeof ArrayBuffer==_0x2b40f3(0x24c)){var _0x4b588d=_0xb75e04,_0x4881b3=_0x4b588d[_0x2b40f3(0x1d3)],_0x1adbc2=_0x4881b3['WordArray'],_0x549626=_0x1adbc2[_0x2b40f3(0x3e8)],_0x5a10f3=_0x1adbc2[_0x2b40f3(0x3e8)]=function(_0x588206){var _0x462dba=_0x2b40f3;if(_0x588206 instanceof ArrayBuffer&&(_0x588206=new Uint8Array(_0x588206)),(_0x588206 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x588206 instanceof Uint8ClampedArray||_0x588206 instanceof Int16Array||_0x588206 instanceof Uint16Array||_0x588206 instanceof Int32Array||_0x588206 instanceof Uint32Array||_0x588206 instanceof Float32Array||_0x588206 instanceof Float64Array)&&(_0x588206=new Uint8Array(_0x588206[_0x462dba(0x23a)],_0x588206[_0x462dba(0x35d)],_0x588206[_0x462dba(0x1b5)])),_0x588206 instanceof Uint8Array){for(var _0x3758de=_0x588206[_0x462dba(0x1b5)],_0x484ca2=[],_0x52dd9f=0x0;_0x52dd9f<_0x3758de;_0x52dd9f++)_0x484ca2[_0x52dd9f>>>0x2]|=_0x588206[_0x52dd9f]<<0x18-_0x52dd9f%0x4*0x8;_0x549626[_0x462dba(0x21d)](this,_0x484ca2,_0x3758de);}else _0x549626[_0x462dba(0x230)](this,arguments);};_0x5a10f3[_0x2b40f3(0x462)]=_0x1adbc2;}}()),_0xb75e04[_0x157b9a(0x1d3)][_0x157b9a(0x425)];}));}(Ze)),Ze[_0x2179a2(0x44c)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0x1b0175(0x44c)],ri;function wn(){var _0x114aba=_0x1b0175;return ri||(ri=0x1,function(_0x5e9258,_0x4c53c2){(function(_0x11f013,_0x4e5f8a,_0xc20131){var _0x112b3d=_0x33ac;_0x5e9258[_0x112b3d(0x44c)]=_0x4e5f8a(te(),bi());}(An,function(_0x4c2047){var _0x46661f=_0x33ac;return _0x4c2047[_0x46661f(0x227)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x4c2047[_0x46661f(0x227)][_0x46661f(0x347)];}));}(Qe)),Qe[_0x114aba(0x44c)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x54300e,_0x42c9a6){var _0x2087d0=_0x1b0175;const _0x190981=_0x42c9a6-_0x54300e[_0x2087d0(0x32a)]%_0x42c9a6,_0x3cc9b3=String[_0x2087d0(0x37f)](_0x190981)[_0x2087d0(0x358)](_0x190981);return _0x54300e+_0x3cc9b3;}function xn(_0x4736a6,_0x31cbc8){var _0x3386fc=_0x1b0175;const _0x20a84d=Un[_0x3386fc(0x2ac)](0x10),_0x576830=Ln(_0x4736a6,0x10),_0x39ce22=In[_0x3386fc(0x1e8)](bn[_0x3386fc(0x333)](_0x576830),ii['parse'](_0x31cbc8),{'iv':_0x20a84d,'padding':Mn});return _0x20a84d[_0x3386fc(0x1da)](_0x39ce22[_0x3386fc(0x43f)])[_0x3386fc(0x18c)](ii);}function kn(){var _0x20eda5=_0x1b0175;const _0x5a7852=_0x449230()[_0x20eda5(0x2c7)];if(_0x5a7852){const _0x5d0258={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x20eda5(0x21e)]};return xn(JSON[_0x20eda5(0x445)](_0x5d0258),_0x5a7852);}}var $n=Object['getOwnPropertyDescriptor'],Hn=(_0x1e011a,_0x1b74c5,_0x22db78,_0x36b56f)=>{var _0x5a0c16=_0x1b0175;for(var _0x7525d3=_0x36b56f>0x1?void 0x0:_0x36b56f?$n(_0x1b74c5,_0x22db78):_0x1b74c5,_0xf43841=_0x1e011a[_0x5a0c16(0x32a)]-0x1,_0x5e9134;_0xf43841>=0x0;_0xf43841--)(_0x5e9134=_0x1e011a[_0xf43841])&&(_0x7525d3=_0x5e9134(_0x7525d3)||_0x7525d3);return _0x7525d3;},Bn=(_0x3874d6,_0x47ab54)=>(_0x380551,_0x5cdf30)=>_0x47ab54(_0x380551,_0x5cdf30,_0x3874d6);let at=class{constructor(_0x2e733d){var _0x1e04c1=_0x1b0175;this[_0x1e04c1(0x1fb)]=_0x2e733d,this[_0x1e04c1(0x1e4)]();}[_0x1b0175(0x1e4)](){var _0x251dd4=_0x1b0175;this[_0x251dd4(0x1fb)]['registerHTTPInterceptor']({'interceptor':(_0x357f89,_0x53392b)=>{var _0x1ff119=_0x251dd4;const _0x3b305b=_0x357f89['headers'],_0xecd208=kn();return _0xecd208&&_0x3b305b[_0x1ff119(0x392)](_0x1ff119(0x3b0),_0xecd208),_0x53392b(_0x357f89);}});}};at=Hn([Bn(0x0,_0x2350f5(_0x3d8309))],at);var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x3ddf3e,_0xde8eda,_0x346d44,_0x6ff61e)=>{var _0x433752=_0x1b0175;for(var _0xe811a=_0x6ff61e>0x1?void 0x0:_0x6ff61e?jn(_0xde8eda,_0x346d44):_0xde8eda,_0x31662e=_0x3ddf3e[_0x433752(0x32a)]-0x1,_0xb0dbdc;_0x31662e>=0x0;_0x31662e--)(_0xb0dbdc=_0x3ddf3e[_0x31662e])&&(_0xe811a=_0xb0dbdc(_0xe811a)||_0xe811a);return _0xe811a;},vt=(_0x84bb2e,_0x3e76b8)=>(_0x3d5dba,_0x58a4bd)=>_0x3e76b8(_0x3d5dba,_0x58a4bd,_0x84bb2e);let Ct=class extends _0x1947f8{constructor(_0x3f2512,_0x447131,_0x2b5ce4){var _0x1e568c=_0x1b0175;super(),N(this,_0x1e568c(0x385),new _0x1babcb(null)),N(this,_0x1e568c(0x36e),this['_unitInfo$'][_0x1e568c(0x28c)]()),(this[_0x1e568c(0x362)]=_0x3f2512,this[_0x1e568c(0x46b)]=_0x447131,this['_localCacheService']=_0x2b5ce4);}async[_0x1b0175(0x260)](_0x3d3cac,_0xec8ae1,_0x29a483){var _0x21b56f=_0x1b0175;this['_unitInfo$']['next']({'unitId':_0x3d3cac,'type':_0xec8ae1});let _0x34a6e7=null;switch(_0xec8ae1){case Z[_0x21b56f(0x245)]:{_0x34a6e7=await this[_0x21b56f(0x46b)][_0x21b56f(0x253)](_0x3d3cac,_0x29a483);break;}case Z['UNIVER_DOC']:{_0x34a6e7=await this[_0x21b56f(0x46b)][_0x21b56f(0x272)](_0x3d3cac,_0x29a483);break;}default:{this[_0x21b56f(0x362)][_0x21b56f(0x31f)](_0x21b56f(0x440),_0x21b56f(0x389));break;}}return _0x34a6e7;}async[_0x1b0175(0x193)](_0x29f62d,_0x1054e9,_0x3812c2){var _0x6b153b=_0x1b0175,_0x1f9cc3;this[_0x6b153b(0x385)][_0x6b153b(0x377)]({'unitId':_0x29f62d,'type':_0x1054e9,'subUnitId':_0x3812c2});let _0x1ef84c=0x0;const _0x22becb=await((_0x1f9cc3=this[_0x6b153b(0x32d)])==null?void 0x0:_0x1f9cc3['loadOfflineData'](_0x29f62d));return _0x22becb&&(_0x22becb['awaitingChangeset']||_0x22becb[_0x6b153b(0x2bf)][_0x6b153b(0x32a)]!==0x0)&&(_0x1ef84c=_0x22becb[_0x6b153b(0x2c6)]),_0x1ef84c===0x0&&this[_0x6b153b(0x362)][_0x6b153b(0x3b1)](_0x6b153b(0x440),_0x6b153b(0x26b)),this['loadUnitOfRevision'](_0x29f62d,_0x1054e9,_0x1ef84c);}};Ct=Fn([vt(0x0,_0x27c895),vt(0x1,_0x2350f5(_0x15d8ca)),vt(0x2,_0x364642(J))],Ct);var Vn=Object['getOwnPropertyDescriptor'],Wn=(_0xb74bc8,_0x1b92c7,_0x39b698,_0x1ee763)=>{for(var _0x1337d0=_0x1ee763>0x1?void 0x0:_0x1ee763?Vn(_0x1b92c7,_0x39b698):_0x1b92c7,_0x5743e1=_0xb74bc8['length']-0x1,_0x511a15;_0x5743e1>=0x0;_0x5743e1--)(_0x511a15=_0xb74bc8[_0x5743e1])&&(_0x1337d0=_0x511a15(_0x1337d0)||_0x1337d0);return _0x1337d0;},pt=(_0x5086f8,_0xd5a789)=>(_0x5ad64f,_0x2a3705)=>_0xd5a789(_0x5ad64f,_0x2a3705,_0x5086f8);const Gn=[_0x1b0175(0x338),_0x1b0175(0x372),_0x1b0175(0x291),'image/gif',_0x1b0175(0x3d1)],Yn=0x5*0x400*0x400,Kn='/universer-api/stream/file/upload',qn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x4697e0,_0x343a5c,_0x20ccf0){var _0x27c831=_0x1b0175;N(this,_0x27c831(0x37e),0x0),N(this,'_change$',new _0xbd57ee()),N(this,_0x27c831(0x306),this[_0x27c831(0x30b)]),N(this,_0x27c831(0x273),new Map()),(this['_httpService']=_0x4697e0,this['_configService']=_0x343a5c,this[_0x27c831(0x1cf)]=_0x20ccf0);}[_0x1b0175(0x24f)](_0x1ef3e5){var _0x373f9b=_0x1b0175;this['_waitCount']=_0x1ef3e5,this[_0x373f9b(0x30b)]['next'](_0x1ef3e5);}[_0x1b0175(0x404)](_0x12ba42,_0x174842){var _0x4aeefb=_0x1b0175;if(_0x174842===_0x49a779[_0x4aeefb(0x47a)]){const _0x12c248=new Image();return _0x12c248[_0x4aeefb(0x270)]=_0x12ba42,_0x12c248;}return this[_0x4aeefb(0x273)]['get'](_0x12ba42);}[_0x1b0175(0x224)](_0x4b4afa,_0x36edc8,_0x49d70e){var _0x51f6fd=_0x1b0175;_0x36edc8===_0x49a779[_0x51f6fd(0x47a)]||_0x49d70e==null||this[_0x51f6fd(0x273)][_0x51f6fd(0x392)](_0x4b4afa,_0x49d70e);}async[_0x1b0175(0x2f6)](_0x35e1e4){var _0x57417e=_0x1b0175;try{const _0x654ed2=this[_0x57417e(0x344)](this[_0x57417e(0x1d0)](),''+_0x35e1e4),_0x257e36=(await this[_0x57417e(0x1fb)][_0x57417e(0x41d)](_0x654ed2))[_0x57417e(0x3a6)];if(_0x257e36[_0x57417e(0x31f)]&&_0x257e36[_0x57417e(0x31f)][_0x57417e(0x1fe)]===vi['OK']){const _0x329393=new URL(_0x257e36[_0x57417e(0x470)],this['_getDownloadEndpointURL']())['toString']();return Promise['resolve'](_0x329393);}return Promise[_0x57417e(0x1ba)](_0x257e36['error']);}catch(_0x5f17ac){return Promise[_0x57417e(0x1ba)](_0x5f17ac);}}async['saveImage'](_0x550de8){var _0x14d889=_0x1b0175;let _0x33d57f='';if(!Gn['includes'](_0x550de8[_0x14d889(0x279)]))return this[_0x14d889(0x3e4)](),Promise[_0x14d889(0x1ba)](new Error(_0x26d4ad[_0x14d889(0x1b6)]));if(_0x550de8[_0x14d889(0x434)]>Yn)return this[_0x14d889(0x3e4)](),Promise['reject'](new Error(_0x26d4ad[_0x14d889(0x3c0)]));try{const _0xb55290=new FormData();_0xb55290[_0x14d889(0x1d6)]('file',_0x550de8);const _0x440ce5=this['_univerInstanceService'][_0x14d889(0x268)](),_0x204ef4=_0x440ce5==null?void 0x0:_0x440ce5[_0x14d889(0x3e5)]();if(!_0x204ef4)throw new Error('unitId\x20is\x20not\x20found');const _0x52a8c9=this[_0x14d889(0x17f)]()+_0x14d889(0x25a)+_0x550de8[_0x14d889(0x434)][_0x14d889(0x18c)]()+_0x14d889(0x47d)+pi['UnitEmbedded']+'&assign='+encodeURIComponent(_0x204ef4),_0x54d095={'body':_0xb55290},_0x4616c8=(await this[_0x14d889(0x1fb)]['post'](_0x52a8c9,_0x54d095))[_0x14d889(0x3a6)];if(typeof _0x4616c8[_0x14d889(0x316)]!=_0x14d889(0x225))return this[_0x14d889(0x3e4)](),Promise['reject'](new Error(_0x26d4ad[_0x14d889(0x46d)]));_0x33d57f=_0x4616c8[_0x14d889(0x316)];}catch{return this[_0x14d889(0x3e4)](),Promise[_0x14d889(0x1ba)](new Error(_0x26d4ad[_0x14d889(0x46d)]));}return new Promise((_0x47d4f8,_0x5f39d7)=>{var _0x4d6404=_0x14d889;const _0x301b96=new FileReader();_0x301b96[_0x4d6404(0x467)](_0x550de8),_0x301b96['onload']=_0x509ab2=>{var _0x2523c0=_0x4d6404,_0x4fc881;const _0x4a9435=(_0x4fc881=_0x509ab2[_0x2523c0(0x44f)])==null?void 0x0:_0x4fc881[_0x2523c0(0x1ad)];if(_0x4a9435==null){this[_0x2523c0(0x3e4)](),_0x5f39d7(new Error(_0x26d4ad[_0x2523c0(0x46d)]));return;}const _0x16e215=_0x92a8ec(0x6);_0x47d4f8({'imageId':_0x16e215,'imageSourceType':_0x49a779[_0x2523c0(0x2ef)],'source':_0x33d57f,'base64Cache':_0x4a9435,'status':_0x26d4ad['SUCCUSS']}),this[_0x2523c0(0x3e4)]();};});}[_0x1b0175(0x17f)](){var _0x52dd0a=_0x1b0175,_0x105a95;const _0x47fc45=this[_0x52dd0a(0x3d9)][_0x52dd0a(0x2d4)](K);return(_0x105a95=_0x47fc45==null?void 0x0:_0x47fc45['uploadFileServerUrl'])!=null?_0x105a95:Kn;}[_0x1b0175(0x1d0)](){var _0x471d4b=_0x1b0175,_0x87edcb;const _0x32cd19=this[_0x471d4b(0x3d9)][_0x471d4b(0x2d4)](K);return(_0x87edcb=_0x32cd19==null?void 0x0:_0x32cd19[_0x471d4b(0x2f8)])!=null?_0x87edcb:qn;}[_0x1b0175(0x278)](){var _0x273c97=_0x1b0175,_0x150178;const _0x1fa78b=this[_0x273c97(0x3d9)][_0x273c97(0x2d4)](K);return(_0x150178=_0x1fa78b==null?void 0x0:_0x1fa78b['downloadEndpointUrl'])!=null?_0x150178:location[_0x273c97(0x442)];}['_replaceFileID'](_0x4e65ce,_0x596176){var _0x408f91=_0x1b0175;return _0x4e65ce[_0x408f91(0x39b)](_0x408f91(0x1f7),_0x596176);}[_0x1b0175(0x3e4)](){var _0x43b50d=_0x1b0175;this['_waitCount']-=0x1,this[_0x43b50d(0x30b)][_0x43b50d(0x377)](this[_0x43b50d(0x37e)]);}};Rt=Wn([pt(0x0,_0x2350f5(_0x3d8309)),pt(0x1,_0x39ec1e),pt(0x2,_0x2350f5(_0x1465c0))],Rt);var zn=Object['getOwnPropertyDescriptor'],Jn=(_0x4e125a,_0x27bff2,_0x5cf4df,_0x14e20e)=>{for(var _0xa16a2a=_0x14e20e>0x1?void 0x0:_0x14e20e?zn(_0x27bff2,_0x5cf4df):_0x27bff2,_0x53d0ea=_0x4e125a['length']-0x1,_0x27031c;_0x53d0ea>=0x0;_0x53d0ea--)(_0x27031c=_0x4e125a[_0x53d0ea])&&(_0xa16a2a=_0x27031c(_0xa16a2a)||_0xa16a2a);return _0xa16a2a;},ai=(_0x13b696,_0x5f1bc5)=>(_0x48ec57,_0x1e513f)=>_0x5f1bc5(_0x48ec57,_0x1e513f,_0x13b696);const Xn=_0x1b0175(0x3e0);let Ot=class{constructor(_0x50e0d5,_0x4a420c){var _0x4acbce=_0x1b0175;this['_configService']=_0x50e0d5,this[_0x4acbce(0x437)]=_0x4a420c;}[_0x1b0175(0x37c)](){var _0x107c8d=_0x1b0175,_0x372713;const _0x222d0c=this[_0x107c8d(0x3d9)][_0x107c8d(0x2d4)](K);return(_0x372713=_0x222d0c==null?void 0x0:_0x222d0c[_0x107c8d(0x46c)])!=null?_0x372713:Xn;}async['list'](_0x59091a){var _0x205619=_0x1b0175;const _0x48a3d3=this['_getAPIPrefixPath']()+_0x205619(0x17a);return{'list':[{'title':_0x205619(0x180),'mentions':(await this[_0x205619(0x437)][_0x205619(0x41d)](_0x48a3d3,{'params':{'objectID':_0x59091a['unitId'],'unitID':_0x59091a[_0x205619(0x359)]}}))['body'][_0x205619(0x46f)][_0x205619(0x33e)](_0x1b7450=>({'objectId':_0x1b7450['id'],'name':_0x1b7450[_0x205619(0x36c)][_0x205619(0x2e1)],'metadata':{'icon':_0x1b7450['subject']['avatar']},'label':_0x1b7450[_0x205619(0x36c)][_0x205619(0x2e1)],'objectType':_0x213571[_0x205619(0x2d8)]})),'metadata':{},'type':_0x213571['PERSON']}]};}};Ot=Jn([ai(0x0,_0x2350f5(_0x39ec1e)),ai(0x1,_0x2350f5(_0x3d8309))],Ot);var Zn=Object[_0x1b0175(0x469)],Qn=(_0x2c7ffd,_0x1cd5bf,_0x2f5fe1,_0x15944f)=>{for(var _0x22044a=_0x15944f>0x1?void 0x0:_0x15944f?Zn(_0x1cd5bf,_0x2f5fe1):_0x1cd5bf,_0x1b80bf=_0x2c7ffd['length']-0x1,_0x71434d;_0x1b80bf>=0x0;_0x1b80bf--)(_0x71434d=_0x2c7ffd[_0x1b80bf])&&(_0x22044a=_0x71434d(_0x22044a)||_0x22044a);return _0x22044a;},Ue=(_0x2de5e0,_0x233582)=>(_0x194a1f,_0xfe897c)=>_0x233582(_0x194a1f,_0xfe897c,_0x2de5e0);let ot=class extends _0x1947f8{constructor(_0x183faa,_0x3cd057,_0x6fe3a3,_0x313d18,_0x1ba8b6){var _0xea5b8c=_0x1b0175;super(),this[_0xea5b8c(0x295)]=_0x183faa,this[_0xea5b8c(0x1cf)]=_0x3cd057,this[_0xea5b8c(0x2ed)]=_0x6fe3a3,this[_0xea5b8c(0x281)]=_0x313d18,this[_0xea5b8c(0x38f)]=_0x1ba8b6,this['_initUnitPermissionChange'](),this[_0xea5b8c(0x2ea)]();}[_0x1b0175(0x2ea)](){var _0x4b1a0c=_0x1b0175;const _0x4b0f19=async _0x4ff7e8=>{var _0x24e457=_0x33ac;(await this[_0x24e457(0x281)][_0x24e457(0x296)](_0x4ff7e8))[_0x24e457(0x207)][_0x24e457(0x3f2)](_0x4ecac2(_0x5beac3=>_0x5beac3[_0x24e457(0x2d6)]===_0x270543['SHOULD_CLOSE_CONN']),_0x51df8f(this[_0x24e457(0x185)]))[_0x24e457(0x17c)](_0x2e3995=>{var _0x804132=_0x24e457;const _0x1fb050=_0x2e3995,{reason:_0x2c49af}=_0x1fb050['data'];this[_0x804132(0x38f)][_0x804132(0x29e)]({'id':ne[_0x804132(0x2b2)],'data':_0x2c49af}),this[_0x804132(0x2ed)][_0x804132(0x20b)](new _0x1e11ff(_0x4ff7e8)['id'],!0x1),this[_0x804132(0x281)][_0x804132(0x34a)](_0x4ff7e8);});};_0x3ec2c8(this[_0x4b1a0c(0x1cf)]['getTypeOfUnitAdded$'](_0x4db1c1[_0x4b1a0c(0x245)]),this['_univerInstanceService'][_0x4b1a0c(0x269)](_0x4db1c1['UNIVER_DOC']))[_0x4b1a0c(0x3f2)](_0x2af321(_0x9916ca=>_0x9916ca['getUnitId']()),_0x4ecac2(_0x89419d=>!_0x4600f9(_0x89419d)),_0x51df8f(this[_0x4b1a0c(0x185)]))['subscribe'](_0x3d0988=>{_0x4b0f19(_0x3d0988);});}[_0x1b0175(0x1d8)](){var _0x5962d7=_0x1b0175;const _0x5670b6=async _0x36d8bd=>{var _0x47ae0f=_0x33ac;const _0x47635e=await this[_0x47ae0f(0x281)][_0x47ae0f(0x296)](_0x36d8bd),_0x373b06=this['_injector'][_0x47ae0f(0x41d)](_0x31e8a6);_0x47635e['event$'][_0x47ae0f(0x3f2)](_0x4ecac2(_0x2f6c0c=>_0x2f6c0c[_0x47ae0f(0x2d6)]===_0x270543[_0x47ae0f(0x22a)]),_0x51df8f(this[_0x47ae0f(0x185)]))[_0x47ae0f(0x17c)](_0xfc2a46=>{var _0x5cf6cb=_0x47ae0f;const _0x4ce09b=_0xfc2a46,{objectId:_0x4dfec0}=_0x4ce09b[_0x5cf6cb(0x219)];_0x4dfec0===_0x36d8bd?_0x373b06['initWorkbookPermissionChange'](_0x36d8bd):_0x373b06[_0x5cf6cb(0x30d)](_0x36d8bd,_0x4dfec0);});};_0x3ec2c8(this[_0x5962d7(0x1cf)][_0x5962d7(0x269)](_0x4db1c1[_0x5962d7(0x245)]))['pipe'](_0x2af321(_0x5c5474=>_0x5c5474[_0x5962d7(0x3e5)]()),_0x4ecac2(_0x500f09=>!_0x4600f9(_0x500f09)),_0x51df8f(this['dispose$']))[_0x5962d7(0x17c)](_0x4e3a90=>{_0x5670b6(_0x4e3a90);});}};ot=Qn([Ue(0x0,_0x2350f5(_0x4fef0a)),Ue(0x1,_0x1465c0),Ue(0x2,_0x33cf07),Ue(0x3,_0x2350f5(Pe)),Ue(0x4,_0x2350f5(ve))],ot);var er=Object[_0x1b0175(0x469)],tr=(_0x14866b,_0x37f0b5,_0x525f16,_0x5ebb3a)=>{for(var _0x500d3e=_0x5ebb3a>0x1?void 0x0:_0x5ebb3a?er(_0x37f0b5,_0x525f16):_0x37f0b5,_0x75bbe=_0x14866b['length']-0x1,_0x4ebc55;_0x75bbe>=0x0;_0x75bbe--)(_0x4ebc55=_0x14866b[_0x75bbe])&&(_0x500d3e=_0x4ebc55(_0x500d3e)||_0x500d3e);return _0x500d3e;},oi=(_0x5d41f4,_0x593613)=>(_0x2b2542,_0x2bcfcc)=>_0x593613(_0x2b2542,_0x2bcfcc,_0x5d41f4);let bt=class{constructor(_0x33b3a2,_0x340682){var _0x5b2f59=_0x1b0175;this[_0x5b2f59(0x3d9)]=_0x33b3a2,this[_0x5b2f59(0x1fb)]=_0x340682;}async[_0x1b0175(0x176)](_0x5af04e,_0x132b1e){var _0x54b994=_0x1b0175,_0x1f0592;const {unitID:_0x35cf83,type:_0x440ec4,revision:_0x101844=0x0}=_0x132b1e,_0x4ee017=this[_0x54b994(0x2e6)]()+'/'+_0x440ec4+_0x54b994(0x29a)+_0x35cf83+_0x54b994(0x3a2)+_0x101844,_0x34f6ae=(await this[_0x54b994(0x1fb)][_0x54b994(0x41d)](_0x4ee017))[_0x54b994(0x3a6)],_0x2b89e1=(_0x1f0592=_0x34f6ae[_0x54b994(0x375)])==null?void 0x0:_0x1f0592['workbook'];if(_0x2b89e1){const _0x48104a=_0x2b89e1==null?void 0x0:_0x2b89e1[_0x54b994(0x25b)],_0x5d72c3=_0x540dd0[_0x54b994(0x18a)](_0x9670fd(_0x48104a));_0x2b89e1[_0x54b994(0x25b)]=_0x5d72c3,Object[_0x54b994(0x2b0)](_0x2b89e1[_0x54b994(0x37b)])[_0x54b994(0x2c3)](([,_0x580597])=>{var _0x245950=_0x54b994;const _0x28e9dd=_0x580597['originalMeta'],_0x5ef3bb=_0x540dd0[_0x245950(0x18a)](_0x9670fd(_0x28e9dd));_0x580597[_0x245950(0x25b)]=_0x5ef3bb;});}return _0x34f6ae;}async[_0x1b0175(0x2e8)](_0x30678f,_0x258554){var _0x574107=_0x1b0175;const {unitID:_0x51112b,type:_0xc09549,blockID:_0x3e19a0}=_0x258554,_0x5c2c7f=this[_0x574107(0x370)]()+'/'+_0xc09549+_0x574107(0x29a)+_0x51112b+'/block/'+_0x3e19a0;return(await this['_httpService']['get'](_0x5c2c7f))[_0x574107(0x3a6)];}async[_0x1b0175(0x2dd)](_0x30aad7,_0x40442e){var _0x137163=_0x1b0175;const {unitID:_0x343aeb,type:_0x103abf,blockID:_0x5abbbb}=_0x40442e,_0x334afc=this['_getAPIPrefix']()+_0x137163(0x308)+_0x103abf+_0x137163(0x29a)+_0x343aeb+_0x137163(0x308)+_0x5abbbb;return(await this[_0x137163(0x1fb)]['get'](_0x334afc))['body'];}async[_0x1b0175(0x3aa)](_0x252a74,_0x538cd4){var _0x2d4f2f=_0x1b0175;const {unitID:_0x319a60,type:_0x1d97fa,from:_0x5c672d,to:_0x4998e5}=_0x538cd4,_0x4d32fd=this[_0x2d4f2f(0x370)]()+'/'+_0x1d97fa+'/unit/'+_0x319a60+'/fetchmissing?from='+_0x5c672d+'&to='+_0x4998e5;return(await this[_0x2d4f2f(0x1fb)][_0x2d4f2f(0x41d)](_0x4d32fd))[_0x2d4f2f(0x3a6)];}['getSnapshotAPIPath'](){var _0x81232f=_0x1b0175,_0x491b7b;return(_0x491b7b=this[_0x81232f(0x3d9)][_0x81232f(0x2d4)](vs))!=null?_0x491b7b:this[_0x81232f(0x370)]();}[_0x1b0175(0x370)](){var _0x422fcb=_0x1b0175,_0x2e56a7;const _0x4cd894=this[_0x422fcb(0x3d9)]['getConfig'](K);return(_0x2e56a7=_0x4cd894==null?void 0x0:_0x4cd894[_0x422fcb(0x1f9)])!=null?_0x2e56a7:fs;}async['getResourcesRequest'](_0x29c1d4,_0x5bf8fd){var _0x30b38d=_0x1b0175;const _0x5e9138=_0x30b38d(0x409)+_0x5bf8fd[_0x30b38d(0x279)]+_0x30b38d(0x29a)+_0x5bf8fd[_0x30b38d(0x2a9)]+_0x30b38d(0x2d9);return(await this[_0x30b38d(0x1fb)][_0x30b38d(0x41d)](_0x5e9138,{'params':{'resourceId':JSON[_0x30b38d(0x445)](_0x5bf8fd[_0x30b38d(0x21b)])}}))[_0x30b38d(0x3a6)];}[_0x1b0175(0x33b)](){var _0x320d0c=_0x1b0175;throw new Error(_0x320d0c(0x19e));}['updateSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1b0175(0x36a)](){var _0x1ba1ad=_0x1b0175;throw new Error(_0x1ba1ad(0x19e));}['saveChangeset'](){var _0x1cd2c3=_0x1b0175;throw new Error(_0x1cd2c3(0x19e));}[_0x1b0175(0x23c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1b0175(0x204)](){var _0x298fc6=_0x1b0175;throw new Error(_0x298fc6(0x19e));}};bt=tr([oi(0x0,_0x39ec1e),oi(0x1,_0x2350f5(_0x3d8309))],bt);var ir=Object[_0x1b0175(0x469)],sr=(_0x4873fc,_0x45e806,_0x26c44c,_0x52f11f)=>{for(var _0x1e01c7=_0x52f11f>0x1?void 0x0:_0x52f11f?ir(_0x45e806,_0x26c44c):_0x45e806,_0x8a4823=_0x4873fc['length']-0x1,_0x1e2834;_0x8a4823>=0x0;_0x8a4823--)(_0x1e2834=_0x4873fc[_0x8a4823])&&(_0x1e01c7=_0x1e2834(_0x1e01c7)||_0x1e01c7);return _0x1e01c7;},Ae=(_0x2d8674,_0x20f852)=>(_0x4597d4,_0x128ea0)=>_0x20f852(_0x4597d4,_0x128ea0,_0x2d8674);let yt=class extends _0x2cd083{constructor(_0x4b5741,_0x35c9a0,_0x1fc8cc,_0xc970dd,_0x4ec060){var _0xd1ff22=_0x1b0175;super(_0x4b5741,_0x35c9a0,_0x1fc8cc),this[_0xd1ff22(0x3ab)]=_0xc970dd,this[_0xd1ff22(0x362)]=_0x4ec060;}[_0x1b0175(0x3c7)](_0x36c6ab,_0x1d3ce8){var _0x1be652=_0x1b0175;const _0x3e168d=this[_0x1be652(0x25e)](_0x36c6ab);if(_0x3e168d)try{const _0x27a329=this[_0x1be652(0x26e)](_0x3e168d,_0x1d3ce8);this[_0x1be652(0x1e9)](_0x36c6ab,_0x27a329);}catch(_0x5d2a34){this['_logService'][_0x1be652(0x31f)](_0x1be652(0x1a9),_0x5d2a34),this[_0x1be652(0x3de)](_0x36c6ab);}const _0x1f4c0a=this[_0x1be652(0x458)](_0x36c6ab);if(_0x1f4c0a)try{const _0x460d08=this['_transformStack'](_0x1f4c0a,_0x1d3ce8);this[_0x1be652(0x28f)](_0x36c6ab,_0x460d08);}catch(_0x5f4ea4){this['_logService'][_0x1be652(0x31f)](_0x5f4ea4),this[_0x1be652(0x42a)](_0x36c6ab);}}[_0x1b0175(0x3de)](_0x105434){var _0x1ca436=_0x1b0175;const _0x3e326e=this[_0x1ca436(0x25e)](_0x105434);_0x3e326e&&(_0x3e326e['length']=0x0,this['_updateStatus']());}[_0x1b0175(0x42a)](_0x4aeb84){var _0x458b92=_0x1b0175;const _0x119d03=this[_0x458b92(0x458)](_0x4aeb84);_0x119d03&&(_0x119d03[_0x458b92(0x32a)]=0x0,this['_updateStatus']());}[_0x1b0175(0x1e9)](_0x4e5da0,_0x187f4d){var _0x4dfa81=_0x1b0175;this[_0x4dfa81(0x463)][_0x4dfa81(0x392)](_0x4e5da0,_0x187f4d),this[_0x4dfa81(0x3cc)]();}[_0x1b0175(0x28f)](_0xa65191,_0x5abfa7){var _0x3229e6=_0x1b0175;this['_redoStacks'][_0x3229e6(0x392)](_0xa65191,_0x5abfa7),this[_0x3229e6(0x3cc)]();}[_0x1b0175(0x26e)](_0x348556,_0x45b46c){var _0x1e5da2=_0x1b0175;const _0x545667=[];let _0x20fd15=_0x45b46c,_0x50b90e=_0x45b46c;for(let _0x23b27f=_0x348556[_0x1e5da2(0x32a)]-0x1;_0x23b27f>=0x0;_0x23b27f--){const {unitID:_0x115e5b,undoMutations:_0x56220c,redoMutations:_0x326f11}=_0x348556[_0x23b27f],_0x52122e=this[_0x1e5da2(0x3ab)]['transformMutationsWithChangeset'](_0x20fd15,_0x56220c),_0x398d6b=this[_0x1e5da2(0x3ab)]['transformMutationsWithChangeset'](_0x50b90e,_0x326f11);if(_0x189a65(_0x52122e)||_0x189a65(_0x398d6b)){this[_0x1e5da2(0x362)][_0x1e5da2(0x31f)]('[CollaborationUndoRedoService]',_0x1e5da2(0x315),_0x52122e,_0x398d6b);break;}_0x20fd15=_0x52122e['c1Prime'],_0x50b90e=_0x398d6b[_0x1e5da2(0x19a)],_0x545667[_0x1e5da2(0x1ac)]({'unitID':_0x115e5b,'undoMutations':_0x52122e[_0x1e5da2(0x3c4)],'redoMutations':_0x398d6b[_0x1e5da2(0x3c4)]});}return _0x545667[_0x1e5da2(0x341)]();}};yt=sr([Ae(0x0,_0x1465c0),Ae(0x1,_0x5c1e8c),Ae(0x2,_0x1f12bc),Ae(0x3,_0x21e51c),Ae(0x4,_0x27c895)],yt);var nr=Object[_0x1b0175(0x2fa)],rr=Object[_0x1b0175(0x469)],ar=(_0x4636d4,_0x250dc9,_0x34e0c8)=>_0x250dc9 in _0x4636d4?nr(_0x4636d4,_0x250dc9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34e0c8}):_0x4636d4[_0x250dc9]=_0x34e0c8,or=(_0x34ef4b,_0x135840,_0x28eaef,_0x40e63f)=>{var _0x4a1fab=_0x1b0175;for(var _0x2c0d52=_0x40e63f>0x1?void 0x0:_0x40e63f?rr(_0x135840,_0x28eaef):_0x135840,_0x181e43=_0x34ef4b[_0x4a1fab(0x32a)]-0x1,_0x5b5710;_0x181e43>=0x0;_0x181e43--)(_0x5b5710=_0x34ef4b[_0x181e43])&&(_0x2c0d52=_0x5b5710(_0x2c0d52)||_0x2c0d52);return _0x2c0d52;},mt=(_0x17b6d6,_0x2732e2)=>(_0x5c3954,_0xeba372)=>_0x2732e2(_0x5c3954,_0xeba372,_0x17b6d6),cr=(_0x39f302,_0x259cc5,_0x18a0c1)=>ar(_0x39f302,_0x259cc5+'',_0x18a0c1);const hr=_0x1b0175(0x17d);let Nt=class extends _0x5b0e47{constructor(_0x21a3b8,_0xc4b237,_0xc58983,_0x3752c0){var _0x11f6fd=_0x1b0175;super(),N(this,_0x11f6fd(0x31c)),(this[_0x11f6fd(0x362)]=_0xc4b237,this[_0x11f6fd(0x295)]=_0xc58983,this[_0x11f6fd(0x3d9)]=_0x3752c0);const {..._0x3e0816}=_0x43e317({},Ls,_0x21a3b8);if(!_0x3e0816[_0x11f6fd(0x1fa)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x3e0816,this['_configService'][_0x11f6fd(0x3f0)](K,_0x3e0816);}[_0x1b0175(0x22e)](){var _0x460bec=_0x1b0175;this[_0x460bec(0x314)](),this[_0x460bec(0x257)]();}['_registerDependencies'](){var _0xd5fd78=_0x1b0175,_0x3592ae,_0x4ae5f8;this[_0xd5fd78(0x295)][_0xd5fd78(0x378)](_0x2c5918)&&this[_0xd5fd78(0x362)][_0xd5fd78(0x31f)](_0xd5fd78(0x30e),_0xd5fd78(0x18b));const _0x36933d=_0x4120aa([[_0x2c5918,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this['_config'][_0xd5fd78(0x1fa)]}],[_0x44dcd2,{'useClass':bt}],[_0x36006a,{'useClass':Tt}],[_0x108855,{'useClass':Rt}],[_0x4a24b9,{'useClass':Ot}],[nt],[It]],(_0x3592ae=this[_0xd5fd78(0x31c)])==null?void 0x0:_0x3592ae['override']);if(!((_0x4ae5f8=this[_0xd5fd78(0x31c)])!=null&&_0x4ae5f8['enableSingleActiveInstanceLock'])){const _0x1ac2ec=_0x36933d[_0xd5fd78(0x42b)](([_0x626d0e])=>_0x626d0e===ht);_0x1ac2ec!==-0x1&&_0x36933d[_0xd5fd78(0x2d7)](_0x1ac2ec,0x1);}_0x443c1e(this[_0xd5fd78(0x295)],_0x36933d);}[_0x1b0175(0x257)](){var _0x3c5a61=_0x1b0175,_0x39a5c6,_0xfddf4a,_0x25aacf;this['_injector'][_0x3c5a61(0x41d)](_0x3d8309)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x18420d({'maxParallel':0x6})}),(_0x39a5c6=this['_config'])!=null&&_0x39a5c6[_0x3c5a61(0x246)]||(_0xfddf4a=this[_0x3c5a61(0x295)][_0x3c5a61(0x41d)](J,_0x5c2b5c[_0x3c5a61(0x447)]))==null||_0xfddf4a['disableLocalCache'](),(_0x25aacf=this['_config'])!=null&&_0x25aacf[_0x3c5a61(0x237)]&&_0x43a5c9(this[_0x3c5a61(0x295)],[[rt]]),_0x43a5c9(this[_0x3c5a61(0x295)],[[at],[nt],[ot]]);}};cr(Nt,_0x1b0175(0x39a),hr),Nt=or([_0x35f593(_0x41e863,_0x27dfbb),mt(0x1,_0x27c895),mt(0x2,_0x2350f5(_0x4fef0a)),mt(0x3,_0x39ec1e)],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};